From 9800017b028d1882d3b696da7b68491288c5ebf9 Mon Sep 17 00:00:00 2001 From: enigmarikki Date: Tue, 28 Jan 2025 01:08:21 +0000 Subject: [PATCH 1/7] "wip : removed indexer" --- pyinjective/async_client.py | 1292 ++--------------- .../client/chain/grpc/chain_grpc_auth_api.py | 2 +- .../client/chain/grpc/chain_grpc_authz_api.py | 2 +- .../client/chain/grpc/chain_grpc_bank_api.py | 2 +- .../chain/grpc/chain_grpc_distribution_api.py | 2 +- .../chain/grpc/chain_grpc_exchange_api.py | 2 +- .../client/chain/grpc/chain_grpc_wasm_api.py | 2 +- .../client/chain/grpc_stream/__init__.py | 50 + .../grpc_stream/chain_grpc_chain_stream.py | 50 - pyinjective/client/indexer/__init__.py | 0 pyinjective/client/indexer/grpc/__init__.py | 0 .../indexer/grpc/indexer_grpc_account_api.py | 108 -- .../indexer/grpc/indexer_grpc_auction_api.py | 31 - .../grpc/indexer_grpc_derivative_api.py | 348 ----- .../indexer/grpc/indexer_grpc_explorer_api.py | 330 ----- .../grpc/indexer_grpc_insurance_api.py | 40 - .../indexer/grpc/indexer_grpc_meta_api.py | 38 - .../indexer/grpc/indexer_grpc_oracle_api.py | 42 - .../grpc/indexer_grpc_portfolio_api.py | 31 - .../indexer/grpc/indexer_grpc_spot_api.py | 241 --- .../client/indexer/grpc_stream/__init__.py | 0 .../indexer_grpc_account_stream.py | 37 - .../indexer_grpc_auction_stream.py | 32 - .../indexer_grpc_derivative_stream.py | 236 --- .../indexer_grpc_explorer_stream.py | 48 - .../grpc_stream/indexer_grpc_meta_stream.py | 32 - .../grpc_stream/indexer_grpc_oracle_stream.py | 58 - .../indexer_grpc_portfolio_stream.py | 39 - .../grpc_stream/indexer_grpc_spot_stream.py | 214 --- pyinjective/client/model/__init__.py | 70 + pyinjective/client/model/pagination.py | 70 - pyinjective/core/ibc/channel/grpc/__init__.py | 170 +++ .../ibc/channel/grpc/ibc_channel_grpc_api.py | 170 --- pyinjective/core/ibc/client/grpc/__init__.py | 96 ++ .../ibc/client/grpc/ibc_client_grpc_api.py | 96 -- .../core/ibc/connection/grpc/__init__.py | 67 + .../grpc/ibc_connection_grpc_api.py | 67 - .../core/ibc/transfer/grpc/__init__.py | 58 + .../transfer/grpc/ibc_transfer_grpc_api.py | 58 - pyinjective/core/network.py | 64 - pyinjective/core/tendermint/grpc/__init__.py | 70 + .../tendermint/grpc/tendermint_grpc_api.py | 70 - pyinjective/core/tx/grpc/__init__.py | 34 + pyinjective/core/tx/grpc/tx_grpc_api.py | 34 - .../proto/exchange/event_provider_api_pb2.py | 67 - .../exchange/event_provider_api_pb2_grpc.py | 257 ---- pyinjective/proto/exchange/health_pb2.py | 33 - pyinjective/proto/exchange/health_pb2_grpc.py | 81 -- .../exchange/injective_accounts_rpc_pb2.py | 119 -- .../injective_accounts_rpc_pb2_grpc.py | 479 ------ .../exchange/injective_archiver_rpc_pb2.py | 45 - .../injective_archiver_rpc_pb2_grpc.py | 169 --- .../exchange/injective_auction_rpc_pb2.py | 45 - .../injective_auction_rpc_pb2_grpc.py | 169 --- .../exchange/injective_campaign_rpc_pb2.py | 67 - .../injective_campaign_rpc_pb2_grpc.py | 301 ---- .../injective_derivative_exchange_rpc_pb2.py | 167 --- ...ective_derivative_exchange_rpc_pb2_grpc.py | 1142 --------------- .../exchange/injective_exchange_rpc_pb2.py | 57 - .../injective_exchange_rpc_pb2_grpc.py | 301 ---- .../exchange/injective_explorer_rpc_pb2.py | 179 --- .../injective_explorer_rpc_pb2_grpc.py | 1009 ------------- .../exchange/injective_insurance_rpc_pb2.py | 45 - .../injective_insurance_rpc_pb2_grpc.py | 169 --- .../proto/exchange/injective_meta_rpc_pb2.py | 57 - .../exchange/injective_meta_rpc_pb2_grpc.py | 258 ---- .../exchange/injective_oracle_rpc_pb2.py | 45 - .../exchange/injective_oracle_rpc_pb2_grpc.py | 214 --- .../exchange/injective_portfolio_rpc_pb2.py | 59 - .../injective_portfolio_rpc_pb2_grpc.py | 213 --- .../injective_spot_exchange_rpc_pb2.py | 125 -- .../injective_spot_exchange_rpc_pb2_grpc.py | 829 ----------- .../exchange/injective_trading_rpc_pb2.py | 37 - .../injective_trading_rpc_pb2_grpc.py | 84 -- 74 files changed, 741 insertions(+), 10584 deletions(-) delete mode 100644 pyinjective/client/chain/grpc_stream/chain_grpc_chain_stream.py delete mode 100644 pyinjective/client/indexer/__init__.py delete mode 100644 pyinjective/client/indexer/grpc/__init__.py delete mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_account_api.py delete mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_auction_api.py delete mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_derivative_api.py delete mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_explorer_api.py delete mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_insurance_api.py delete mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_meta_api.py delete mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_oracle_api.py delete mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_portfolio_api.py delete mode 100644 pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py delete mode 100644 pyinjective/client/indexer/grpc_stream/__init__.py delete mode 100644 pyinjective/client/indexer/grpc_stream/indexer_grpc_account_stream.py delete mode 100644 pyinjective/client/indexer/grpc_stream/indexer_grpc_auction_stream.py delete mode 100644 pyinjective/client/indexer/grpc_stream/indexer_grpc_derivative_stream.py delete mode 100644 pyinjective/client/indexer/grpc_stream/indexer_grpc_explorer_stream.py delete mode 100644 pyinjective/client/indexer/grpc_stream/indexer_grpc_meta_stream.py delete mode 100644 pyinjective/client/indexer/grpc_stream/indexer_grpc_oracle_stream.py delete mode 100644 pyinjective/client/indexer/grpc_stream/indexer_grpc_portfolio_stream.py delete mode 100644 pyinjective/client/indexer/grpc_stream/indexer_grpc_spot_stream.py delete mode 100644 pyinjective/client/model/pagination.py delete mode 100644 pyinjective/core/ibc/channel/grpc/ibc_channel_grpc_api.py delete mode 100644 pyinjective/core/ibc/client/grpc/ibc_client_grpc_api.py delete mode 100644 pyinjective/core/ibc/connection/grpc/ibc_connection_grpc_api.py delete mode 100644 pyinjective/core/ibc/transfer/grpc/ibc_transfer_grpc_api.py delete mode 100644 pyinjective/core/tendermint/grpc/tendermint_grpc_api.py delete mode 100644 pyinjective/core/tx/grpc/tx_grpc_api.py delete mode 100644 pyinjective/proto/exchange/event_provider_api_pb2.py delete mode 100644 pyinjective/proto/exchange/event_provider_api_pb2_grpc.py delete mode 100644 pyinjective/proto/exchange/health_pb2.py delete mode 100644 pyinjective/proto/exchange/health_pb2_grpc.py delete mode 100644 pyinjective/proto/exchange/injective_accounts_rpc_pb2.py delete mode 100644 pyinjective/proto/exchange/injective_accounts_rpc_pb2_grpc.py delete mode 100644 pyinjective/proto/exchange/injective_archiver_rpc_pb2.py delete mode 100644 pyinjective/proto/exchange/injective_archiver_rpc_pb2_grpc.py delete mode 100644 pyinjective/proto/exchange/injective_auction_rpc_pb2.py delete mode 100644 pyinjective/proto/exchange/injective_auction_rpc_pb2_grpc.py delete mode 100644 pyinjective/proto/exchange/injective_campaign_rpc_pb2.py delete mode 100644 pyinjective/proto/exchange/injective_campaign_rpc_pb2_grpc.py delete mode 100644 pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py delete mode 100644 pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2_grpc.py delete mode 100644 pyinjective/proto/exchange/injective_exchange_rpc_pb2.py delete mode 100644 pyinjective/proto/exchange/injective_exchange_rpc_pb2_grpc.py delete mode 100644 pyinjective/proto/exchange/injective_explorer_rpc_pb2.py delete mode 100644 pyinjective/proto/exchange/injective_explorer_rpc_pb2_grpc.py delete mode 100644 pyinjective/proto/exchange/injective_insurance_rpc_pb2.py delete mode 100644 pyinjective/proto/exchange/injective_insurance_rpc_pb2_grpc.py delete mode 100644 pyinjective/proto/exchange/injective_meta_rpc_pb2.py delete mode 100644 pyinjective/proto/exchange/injective_meta_rpc_pb2_grpc.py delete mode 100644 pyinjective/proto/exchange/injective_oracle_rpc_pb2.py delete mode 100644 pyinjective/proto/exchange/injective_oracle_rpc_pb2_grpc.py delete mode 100644 pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py delete mode 100644 pyinjective/proto/exchange/injective_portfolio_rpc_pb2_grpc.py delete mode 100644 pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py delete mode 100644 pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2_grpc.py delete mode 100644 pyinjective/proto/exchange/injective_trading_rpc_pb2.py delete mode 100644 pyinjective/proto/exchange/injective_trading_rpc_pb2_grpc.py diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index ea12cb1d..24c83006 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -16,36 +16,19 @@ from pyinjective.client.chain.grpc.chain_grpc_permissions_api import ChainGrpcPermissionsApi from pyinjective.client.chain.grpc.chain_grpc_token_factory_api import ChainGrpcTokenFactoryApi from pyinjective.client.chain.grpc.chain_grpc_wasm_api import ChainGrpcWasmApi -from pyinjective.client.chain.grpc_stream.chain_grpc_chain_stream import ChainGrpcChainStream -from pyinjective.client.indexer.grpc.indexer_grpc_account_api import IndexerGrpcAccountApi -from pyinjective.client.indexer.grpc.indexer_grpc_auction_api import IndexerGrpcAuctionApi -from pyinjective.client.indexer.grpc.indexer_grpc_derivative_api import IndexerGrpcDerivativeApi -from pyinjective.client.indexer.grpc.indexer_grpc_explorer_api import IndexerGrpcExplorerApi -from pyinjective.client.indexer.grpc.indexer_grpc_insurance_api import IndexerGrpcInsuranceApi -from pyinjective.client.indexer.grpc.indexer_grpc_meta_api import IndexerGrpcMetaApi -from pyinjective.client.indexer.grpc.indexer_grpc_oracle_api import IndexerGrpcOracleApi -from pyinjective.client.indexer.grpc.indexer_grpc_portfolio_api import IndexerGrpcPortfolioApi -from pyinjective.client.indexer.grpc.indexer_grpc_spot_api import IndexerGrpcSpotApi -from pyinjective.client.indexer.grpc_stream.indexer_grpc_account_stream import IndexerGrpcAccountStream -from pyinjective.client.indexer.grpc_stream.indexer_grpc_auction_stream import IndexerGrpcAuctionStream -from pyinjective.client.indexer.grpc_stream.indexer_grpc_derivative_stream import IndexerGrpcDerivativeStream -from pyinjective.client.indexer.grpc_stream.indexer_grpc_explorer_stream import IndexerGrpcExplorerStream -from pyinjective.client.indexer.grpc_stream.indexer_grpc_meta_stream import IndexerGrpcMetaStream -from pyinjective.client.indexer.grpc_stream.indexer_grpc_oracle_stream import IndexerGrpcOracleStream -from pyinjective.client.indexer.grpc_stream.indexer_grpc_portfolio_stream import IndexerGrpcPortfolioStream -from pyinjective.client.indexer.grpc_stream.indexer_grpc_spot_stream import IndexerGrpcSpotStream -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.chain.grpc_stream import ChainGrpcChainStream +from pyinjective.client.model import PaginationOption from pyinjective.composer import Composer -from pyinjective.core.ibc.channel.grpc.ibc_channel_grpc_api import IBCChannelGrpcApi -from pyinjective.core.ibc.client.grpc.ibc_client_grpc_api import IBCClientGrpcApi -from pyinjective.core.ibc.connection.grpc.ibc_connection_grpc_api import IBCConnectionGrpcApi -from pyinjective.core.ibc.transfer.grpc.ibc_transfer_grpc_api import IBCTransferGrpcApi +from pyinjective.core.ibc.channel.grpc import IBCChannelGrpcApi +from pyinjective.core.ibc.client.grpc import IBCClientGrpcApi +from pyinjective.core.ibc.connection.grpc import IBCConnectionGrpcApi +from pyinjective.core.ibc.transfer.grpc import IBCTransferGrpcApi from pyinjective.core.market import BinaryOptionMarket, DerivativeMarket, SpotMarket from pyinjective.core.network import Network -from pyinjective.core.tendermint.grpc.tendermint_grpc_api import TendermintGrpcApi +from pyinjective.core.tendermint.grpc import TendermintGrpcApi from pyinjective.core.token import Token from pyinjective.core.tokens_file_loader import TokensFileLoader -from pyinjective.core.tx.grpc.tx_grpc_api import TxGrpcApi +from pyinjective.core.tx.grpc import TxGrpcApi from pyinjective.exceptions import NotFoundError from pyinjective.proto.cosmos.auth.v1beta1 import query_pb2 as auth_query, query_pb2_grpc as auth_query_grpc from pyinjective.proto.cosmos.authz.v1beta1 import query_pb2 as authz_query, query_pb2_grpc as authz_query_grpc @@ -57,26 +40,7 @@ ) from pyinjective.proto.cosmos.crypto.ed25519 import keys_pb2 as ed25519_keys # noqa: F401 for validator set responses from pyinjective.proto.cosmos.tx.v1beta1 import service_pb2 as tx_service, service_pb2_grpc as tx_service_grpc -from pyinjective.proto.exchange import ( - injective_accounts_rpc_pb2 as exchange_accounts_rpc_pb, - injective_accounts_rpc_pb2_grpc as exchange_accounts_rpc_grpc, - injective_auction_rpc_pb2 as auction_rpc_pb, - injective_auction_rpc_pb2_grpc as auction_rpc_grpc, - injective_derivative_exchange_rpc_pb2 as derivative_exchange_rpc_pb, - injective_derivative_exchange_rpc_pb2_grpc as derivative_exchange_rpc_grpc, - injective_explorer_rpc_pb2 as explorer_rpc_pb, - injective_explorer_rpc_pb2_grpc as explorer_rpc_grpc, - injective_insurance_rpc_pb2 as insurance_rpc_pb, - injective_insurance_rpc_pb2_grpc as insurance_rpc_grpc, - injective_meta_rpc_pb2 as exchange_meta_rpc_pb, - injective_meta_rpc_pb2_grpc as exchange_meta_rpc_grpc, - injective_oracle_rpc_pb2 as oracle_rpc_pb, - injective_oracle_rpc_pb2_grpc as oracle_rpc_grpc, - injective_portfolio_rpc_pb2 as portfolio_rpc_pb, - injective_portfolio_rpc_pb2_grpc as portfolio_rpc_grpc, - injective_spot_exchange_rpc_pb2 as spot_exchange_rpc_pb, - injective_spot_exchange_rpc_pb2_grpc as spot_exchange_rpc_grpc, -) + from pyinjective.proto.ibc.lightclients.tendermint.v1 import ( # noqa: F401 for validator set responses tendermint_pb2 as ibc_tendermint, ) @@ -146,9 +110,6 @@ def __init__( self.stubAuction = auction_rpc_grpc.InjectiveAuctionRPCStub(self.exchange_channel) self.stubPortfolio = portfolio_rpc_grpc.InjectivePortfolioRPCStub(self.exchange_channel) - # explorer stubs - self.explorer_channel = self.network.create_explorer_grpc_channel() - self.stubExplorer = explorer_rpc_grpc.InjectiveExplorerRPCStub(self.explorer_channel) self.chain_stream_channel = self.network.create_chain_stream_grpc_channel() self.chain_stream_stub = stream_rpc_grpc.StreamStub(channel=self.chain_stream_channel) @@ -225,76 +186,67 @@ def __init__( cookie_assistant=network.chain_cookie_assistant, ) - self.exchange_account_api = IndexerGrpcAccountApi( - channel=self.exchange_channel, - cookie_assistant=network.exchange_cookie_assistant, - ) - self.exchange_auction_api = IndexerGrpcAuctionApi( - channel=self.exchange_channel, - cookie_assistant=network.exchange_cookie_assistant, - ) - self.exchange_derivative_api = IndexerGrpcDerivativeApi( - channel=self.exchange_channel, - cookie_assistant=network.exchange_cookie_assistant, - ) - self.exchange_insurance_api = IndexerGrpcInsuranceApi( - channel=self.exchange_channel, - cookie_assistant=network.exchange_cookie_assistant, - ) - self.exchange_meta_api = IndexerGrpcMetaApi( - channel=self.exchange_channel, - cookie_assistant=network.exchange_cookie_assistant, - ) - self.exchange_oracle_api = IndexerGrpcOracleApi( - channel=self.exchange_channel, - cookie_assistant=network.exchange_cookie_assistant, - ) - self.exchange_portfolio_api = IndexerGrpcPortfolioApi( - channel=self.exchange_channel, - cookie_assistant=network.exchange_cookie_assistant, - ) - self.exchange_spot_api = IndexerGrpcSpotApi( - channel=self.exchange_channel, - cookie_assistant=network.exchange_cookie_assistant, - ) - - self.exchange_account_stream_api = IndexerGrpcAccountStream( - channel=self.exchange_channel, - cookie_assistant=network.exchange_cookie_assistant, - ) - self.exchange_auction_stream_api = IndexerGrpcAuctionStream( - channel=self.exchange_channel, - cookie_assistant=network.exchange_cookie_assistant, - ) - self.exchange_derivative_stream_api = IndexerGrpcDerivativeStream( - channel=self.exchange_channel, - cookie_assistant=network.exchange_cookie_assistant, - ) - self.exchange_meta_stream_api = IndexerGrpcMetaStream( - channel=self.exchange_channel, - cookie_assistant=network.exchange_cookie_assistant, - ) - self.exchange_oracle_stream_api = IndexerGrpcOracleStream( - channel=self.exchange_channel, - cookie_assistant=network.exchange_cookie_assistant, - ) - self.exchange_portfolio_stream_api = IndexerGrpcPortfolioStream( - channel=self.exchange_channel, - cookie_assistant=network.exchange_cookie_assistant, - ) - self.exchange_spot_stream_api = IndexerGrpcSpotStream( - channel=self.exchange_channel, - cookie_assistant=network.exchange_cookie_assistant, - ) - - self.exchange_explorer_api = IndexerGrpcExplorerApi( - channel=self.explorer_channel, - cookie_assistant=network.explorer_cookie_assistant, - ) - self.exchange_explorer_stream_api = IndexerGrpcExplorerStream( - channel=self.explorer_channel, - cookie_assistant=network.explorer_cookie_assistant, - ) + # self.exchange_account_api = IndexerGrpcAccountApi( + # channel=self.exchange_channel, + # cookie_assistant=network.exchange_cookie_assistant, + # ) + # self.exchange_auction_api = IndexerGrpcAuctionApi( + # channel=self.exchange_channel, + # cookie_assistant=network.exchange_cookie_assistant, + # ) + # self.exchange_derivative_api = IndexerGrpcDerivativeApi( + # channel=self.exchange_channel, + # cookie_assistant=network.exchange_cookie_assistant, + # ) + # self.exchange_insurance_api = IndexerGrpcInsuranceApi( + # channel=self.exchange_channel, + # cookie_assistant=network.exchange_cookie_assistant, + # ) + # self.exchange_meta_api = IndexerGrpcMetaApi( + # channel=self.exchange_channel, + # cookie_assistant=network.exchange_cookie_assistant, + # ) + # self.exchange_oracle_api = IndexerGrpcOracleApi( + # channel=self.exchange_channel, + # cookie_assistant=network.exchange_cookie_assistant, + # ) + # self.exchange_portfolio_api = IndexerGrpcPortfolioApi( + # channel=self.exchange_channel, + # cookie_assistant=network.exchange_cookie_assistant, + # ) + # self.exchange_spot_api = IndexerGrpcSpotApi( + # channel=self.exchange_channel, + # cookie_assistant=network.exchange_cookie_assistant, + # ) +# + # self.exchange_account_stream_api = IndexerGrpcAccountStream( + # channel=self.exchange_channel, + # cookie_assistant=network.exchange_cookie_assistant, + # ) + # self.exchange_auction_stream_api = IndexerGrpcAuctionStream( + # channel=self.exchange_channel, + # cookie_assistant=network.exchange_cookie_assistant, + # ) + # self.exchange_derivative_stream_api = IndexerGrpcDerivativeStream( + # channel=self.exchange_channel, + # cookie_assistant=network.exchange_cookie_assistant, + # ) + # self.exchange_meta_stream_api = IndexerGrpcMetaStream( + # channel=self.exchange_channel, + # cookie_assistant=network.exchange_cookie_assistant, + # ) + # self.exchange_oracle_stream_api = IndexerGrpcOracleStream( + # channel=self.exchange_channel, + # cookie_assistant=network.exchange_cookie_assistant, + # ) + # self.exchange_portfolio_stream_api = IndexerGrpcPortfolioStream( + # channel=self.exchange_channel, + # cookie_assistant=network.exchange_cookie_assistant, + # ) + # self.exchange_spot_stream_api = IndexerGrpcSpotStream( + # channel=self.exchange_channel, + # cookie_assistant=network.exchange_cookie_assistant, + # ) async def all_tokens(self) -> Dict[str, Token]: if self._tokens_by_symbol is None: @@ -1234,254 +1186,6 @@ async def abci_query( # ------------------------------ # Explorer RPC - - async def get_tx_by_hash(self, tx_hash: str): - """ - This method is deprecated and will be removed soon. Please use `fetch_tx_by_tx_hash` instead - """ - warn("This method is deprecated. Use fetch_tx_by_tx_hash instead", DeprecationWarning, stacklevel=2) - - req = explorer_rpc_pb.GetTxByTxHashRequest(hash=tx_hash) - return await self.stubExplorer.GetTxByTxHash(req) - - async def fetch_tx_by_tx_hash(self, tx_hash: str) -> Dict[str, Any]: - return await self.exchange_explorer_api.fetch_tx_by_tx_hash(tx_hash=tx_hash) - - async def get_account_txs(self, address: str, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_account_txs` instead - """ - warn("This method is deprecated. Use fetch_account_txs instead", DeprecationWarning, stacklevel=2) - req = explorer_rpc_pb.GetAccountTxsRequest( - address=address, - before=kwargs.get("before"), - after=kwargs.get("after"), - limit=kwargs.get("limit"), - skip=kwargs.get("skip"), - type=kwargs.get("type"), - module=kwargs.get("module"), - ) - return await self.stubExplorer.GetAccountTxs(req) - - async def fetch_account_txs( - self, - address: str, - before: Optional[int] = None, - after: Optional[int] = None, - message_type: Optional[str] = None, - module: Optional[str] = None, - from_number: Optional[int] = None, - to_number: Optional[int] = None, - status: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_explorer_api.fetch_account_txs( - address=address, - before=before, - after=after, - message_type=message_type, - module=module, - from_number=from_number, - to_number=to_number, - status=status, - pagination=pagination, - ) - - async def get_blocks(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_blocks` instead - """ - warn("This method is deprecated. Use fetch_blocks instead", DeprecationWarning, stacklevel=2) - req = explorer_rpc_pb.GetBlocksRequest( - before=kwargs.get("before"), - after=kwargs.get("after"), - limit=kwargs.get("limit"), - ) - return await self.stubExplorer.GetBlocks(req) - - async def fetch_blocks( - self, - before: Optional[int] = None, - after: Optional[int] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_explorer_api.fetch_blocks(before=before, after=after, pagination=pagination) - - async def get_block(self, block_height: str): - """ - This method is deprecated and will be removed soon. Please use `fetch_block` instead - """ - warn("This method is deprecated. Use fetch_block instead", DeprecationWarning, stacklevel=2) - req = explorer_rpc_pb.GetBlockRequest(id=block_height) - return await self.stubExplorer.GetBlock(req) - - async def fetch_block(self, block_id: str) -> Dict[str, Any]: - return await self.exchange_explorer_api.fetch_block(block_id=block_id) - - async def get_txs(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_txs` instead - """ - warn("This method is deprecated. Use fetch_txs instead", DeprecationWarning, stacklevel=2) - req = explorer_rpc_pb.GetTxsRequest( - before=kwargs.get("before"), - after=kwargs.get("after"), - limit=kwargs.get("limit"), - skip=kwargs.get("skip"), - type=kwargs.get("type"), - module=kwargs.get("module"), - ) - return await self.stubExplorer.GetTxs(req) - - async def fetch_txs( - self, - before: Optional[int] = None, - after: Optional[int] = None, - message_type: Optional[str] = None, - module: Optional[str] = None, - from_number: Optional[int] = None, - to_number: Optional[int] = None, - status: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_explorer_api.fetch_txs( - before=before, - after=after, - message_type=message_type, - module=module, - from_number=from_number, - to_number=to_number, - status=status, - pagination=pagination, - ) - - async def stream_txs(self): - """ - This method is deprecated and will be removed soon. Please use `listen_txs_updates` instead - """ - warn("This method is deprecated. Use listen_txs_updates instead", DeprecationWarning, stacklevel=2) - req = explorer_rpc_pb.StreamTxsRequest() - return self.stubExplorer.StreamTxs(req) - - async def listen_txs_updates( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - ): - await self.exchange_explorer_stream_api.stream_txs( - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_blocks(self): - """ - This method is deprecated and will be removed soon. Please use `listen_blocks_updates` instead - """ - warn("This method is deprecated. Use listen_blocks_updates instead", DeprecationWarning, stacklevel=2) - req = explorer_rpc_pb.StreamBlocksRequest() - return self.stubExplorer.StreamBlocks(req) - - async def listen_blocks_updates( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - ): - await self.exchange_explorer_stream_api.stream_blocks( - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def get_peggy_deposits(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_peggy_deposit_txs` instead - """ - warn("This method is deprecated. Use fetch_peggy_deposit_txs instead", DeprecationWarning, stacklevel=2) - req = explorer_rpc_pb.GetPeggyDepositTxsRequest( - sender=kwargs.get("sender"), - receiver=kwargs.get("receiver"), - limit=kwargs.get("limit"), - skip=kwargs.get("skip"), - ) - return await self.stubExplorer.GetPeggyDepositTxs(req) - - async def fetch_peggy_deposit_txs( - self, - sender: Optional[str] = None, - receiver: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_explorer_api.fetch_peggy_deposit_txs( - sender=sender, - receiver=receiver, - pagination=pagination, - ) - - async def get_peggy_withdrawals(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_peggy_withdrawal_txs` instead - """ - warn("This method is deprecated. Use fetch_peggy_withdrawal_txs instead", DeprecationWarning, stacklevel=2) - req = explorer_rpc_pb.GetPeggyWithdrawalTxsRequest( - sender=kwargs.get("sender"), - receiver=kwargs.get("receiver"), - limit=kwargs.get("limit"), - skip=kwargs.get("skip"), - ) - return await self.stubExplorer.GetPeggyWithdrawalTxs(req) - - async def fetch_peggy_withdrawal_txs( - self, - sender: Optional[str] = None, - receiver: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_explorer_api.fetch_peggy_withdrawal_txs( - sender=sender, - receiver=receiver, - pagination=pagination, - ) - - async def get_ibc_transfers(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_ibc_transfer_txs` instead - """ - warn("This method is deprecated. Use fetch_ibc_transfer_txs instead", DeprecationWarning, stacklevel=2) - req = explorer_rpc_pb.GetIBCTransferTxsRequest( - sender=kwargs.get("sender"), - receiver=kwargs.get("receiver"), - src_channel=kwargs.get("src_channel"), - src_port=kwargs.get("src_port"), - dest_channel=kwargs.get("dest_channel"), - dest_port=kwargs.get("dest_port"), - limit=kwargs.get("limit"), - skip=kwargs.get("skip"), - ) - return await self.stubExplorer.GetIBCTransferTxs(req) - - async def fetch_ibc_transfer_txs( - self, - sender: Optional[str] = None, - receiver: Optional[str] = None, - src_channel: Optional[str] = None, - src_port: Optional[str] = None, - dest_channel: Optional[str] = None, - dest_port: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_explorer_api.fetch_ibc_transfer_txs( - sender=sender, - receiver=receiver, - src_channel=src_channel, - src_port=src_port, - dest_channel=dest_channel, - dest_port=dest_port, - pagination=pagination, - ) - # AccountsRPC async def stream_subaccount_balance(self, subaccount_id: str, **kwargs): @@ -1512,144 +1216,6 @@ async def listen_subaccount_balance_updates( denoms=denoms, ) - async def get_subaccount_balance(self, subaccount_id: str, denom: str): - """ - This method is deprecated and will be removed soon. Please use `fetch_subaccount_balance` instead - """ - warn("This method is deprecated. Use fetch_subaccount_balance instead", DeprecationWarning, stacklevel=2) - req = exchange_accounts_rpc_pb.SubaccountBalanceEndpointRequest(subaccount_id=subaccount_id, denom=denom) - return await self.stubExchangeAccount.SubaccountBalanceEndpoint(req) - - async def fetch_subaccount_balance(self, subaccount_id: str, denom: str) -> Dict[str, Any]: - return await self.exchange_account_api.fetch_subaccount_balance(subaccount_id=subaccount_id, denom=denom) - - async def get_subaccount_list(self, account_address: str): - """ - This method is deprecated and will be removed soon. Please use `fetch_subaccounts_list` instead - """ - warn("This method is deprecated. Use fetch_subaccounts_list instead", DeprecationWarning, stacklevel=2) - req = exchange_accounts_rpc_pb.SubaccountsListRequest(account_address=account_address) - return await self.stubExchangeAccount.SubaccountsList(req) - - async def fetch_subaccounts_list(self, address: str) -> Dict[str, Any]: - return await self.exchange_account_api.fetch_subaccounts_list(address=address) - - async def get_subaccount_balances_list(self, subaccount_id: str, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_subaccount_balances_list` instead - """ - warn("This method is deprecated. Use fetch_subaccount_balances_list instead", DeprecationWarning, stacklevel=2) - req = exchange_accounts_rpc_pb.SubaccountBalancesListRequest( - subaccount_id=subaccount_id, denoms=kwargs.get("denoms") - ) - return await self.stubExchangeAccount.SubaccountBalancesList(req) - - async def fetch_subaccount_balances_list( - self, subaccount_id: str, denoms: Optional[List[str]] = None - ) -> Dict[str, Any]: - return await self.exchange_account_api.fetch_subaccount_balances_list( - subaccount_id=subaccount_id, denoms=denoms - ) - - async def get_subaccount_history(self, subaccount_id: str, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_subaccount_history` instead - """ - warn("This method is deprecated. Use fetch_subaccount_history instead", DeprecationWarning, stacklevel=2) - req = exchange_accounts_rpc_pb.SubaccountHistoryRequest( - subaccount_id=subaccount_id, - denom=kwargs.get("denom"), - transfer_types=kwargs.get("transfer_types"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - end_time=kwargs.get("end_time"), - ) - return await self.stubExchangeAccount.SubaccountHistory(req) - - async def fetch_subaccount_history( - self, - subaccount_id: str, - denom: Optional[str] = None, - transfer_types: Optional[List[str]] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_account_api.fetch_subaccount_history( - subaccount_id=subaccount_id, - denom=denom, - transfer_types=transfer_types, - pagination=pagination, - ) - - async def get_subaccount_order_summary(self, subaccount_id: str, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_subaccount_order_summary` instead - """ - warn("This method is deprecated. Use fetch_subaccount_order_summary instead", DeprecationWarning, stacklevel=2) - req = exchange_accounts_rpc_pb.SubaccountOrderSummaryRequest( - subaccount_id=subaccount_id, - order_direction=kwargs.get("order_direction"), - market_id=kwargs.get("market_id"), - ) - return await self.stubExchangeAccount.SubaccountOrderSummary(req) - - async def fetch_subaccount_order_summary( - self, - subaccount_id: str, - market_id: Optional[str] = None, - order_direction: Optional[str] = None, - ) -> Dict[str, Any]: - return await self.exchange_account_api.fetch_subaccount_order_summary( - subaccount_id=subaccount_id, - market_id=market_id, - order_direction=order_direction, - ) - - async def get_order_states(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_order_states` instead - """ - warn("This method is deprecated. Use fetch_order_states instead", DeprecationWarning, stacklevel=2) - req = exchange_accounts_rpc_pb.OrderStatesRequest( - spot_order_hashes=kwargs.get("spot_order_hashes"), - derivative_order_hashes=kwargs.get("derivative_order_hashes"), - ) - return await self.stubExchangeAccount.OrderStates(req) - - async def fetch_order_states( - self, - spot_order_hashes: Optional[List[str]] = None, - derivative_order_hashes: Optional[List[str]] = None, - ) -> Dict[str, Any]: - return await self.exchange_account_api.fetch_order_states( - spot_order_hashes=spot_order_hashes, - derivative_order_hashes=derivative_order_hashes, - ) - - async def get_portfolio(self, account_address: str): - """ - This method is deprecated and will be removed soon. Please use `fetch_portfolio` instead - """ - warn("This method is deprecated. Use fetch_portfolio instead", DeprecationWarning, stacklevel=2) - - req = exchange_accounts_rpc_pb.PortfolioRequest(account_address=account_address) - return await self.stubExchangeAccount.Portfolio(req) - - async def fetch_portfolio(self, account_address: str) -> Dict[str, Any]: - return await self.exchange_account_api.fetch_portfolio(account_address=account_address) - - async def get_rewards(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_rewards` instead - """ - warn("This method is deprecated. Use fetch_rewards instead", DeprecationWarning, stacklevel=2) - req = exchange_accounts_rpc_pb.RewardsRequest( - account_address=kwargs.get("account_address"), epoch=kwargs.get("epoch") - ) - return await self.stubExchangeAccount.Rewards(req) - - async def fetch_rewards(self, account_address: Optional[str] = None, epoch: Optional[int] = None) -> Dict[str, Any]: - return await self.exchange_account_api.fetch_rewards(account_address=account_address, epoch=epoch) - # OracleRPC async def stream_oracle_prices(self, base_symbol: str, quote_symbol: str, oracle_type: str): @@ -1762,29 +1328,8 @@ async def fetch_redemptions( ) # SpotRPC - - async def get_spot_market(self, market_id: str): - """ - This method is deprecated and will be removed soon. Please use `fetch_spot_market` instead - """ - warn("This method is deprecated. Use fetch_spot_market instead", DeprecationWarning, stacklevel=2) - req = spot_exchange_rpc_pb.MarketRequest(market_id=market_id) - return await self.stubSpotExchange.Market(req) - async def fetch_spot_market(self, market_id: str) -> Dict[str, Any]: - return await self.exchange_spot_api.fetch_market(market_id=market_id) - - async def get_spot_markets(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_spot_markets` instead - """ - warn("This method is deprecated. Use fetch_spot_markets instead", DeprecationWarning, stacklevel=2) - req = spot_exchange_rpc_pb.MarketsRequest( - market_status=kwargs.get("market_status"), - base_denom=kwargs.get("base_denom"), - quote_denom=kwargs.get("quote_denom"), - ) - return await self.stubSpotExchange.Markets(req) + return await self.chain_exchange_api.fetch_market(market_id=market_id) async def fetch_spot_markets( self, @@ -1792,523 +1337,40 @@ async def fetch_spot_markets( base_denom: Optional[str] = None, quote_denom: Optional[str] = None, ) -> Dict[str, Any]: - return await self.exchange_spot_api.fetch_markets( + return await self.chain_exchange_api.fetch_markets( market_statuses=market_statuses, base_denom=base_denom, quote_denom=quote_denom ) - async def stream_spot_markets(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `listen_spot_markets_updates` instead - """ - warn("This method is deprecated. Use listen_spot_markets_updates instead", DeprecationWarning, stacklevel=2) - - req = spot_exchange_rpc_pb.StreamMarketsRequest(market_ids=kwargs.get("market_ids")) - metadata = self.network.exchange_cookie_assistant.metadata() - return self.stubSpotExchange.StreamMarkets(request=req, metadata=metadata) + async def fetch_spot_orderbook(self, market_id: str) -> Dict[str, Any]: + return await self.chain_exchange_api.fetch_orderbook_v2(market_id=market_id) - async def listen_spot_markets_updates( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - market_ids: Optional[List[str]] = None, - ): - await self.exchange_spot_stream_api.stream_markets( - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - market_ids=market_ids, - ) - async def get_spot_orderbookV2(self, market_id: str): - """ - This method is deprecated and will be removed soon. Please use `fetch_spot_orderbook_v2` instead - """ - warn("This method is deprecated. Use fetch_spot_orderbook_v2 instead", DeprecationWarning, stacklevel=2) - req = spot_exchange_rpc_pb.OrderbookV2Request(market_id=market_id) - return await self.stubSpotExchange.OrderbookV2(req) - async def fetch_spot_orderbook_v2(self, market_id: str) -> Dict[str, Any]: - return await self.exchange_spot_api.fetch_orderbook_v2(market_id=market_id) + # DerivativeRPC - async def get_spot_orderbooksV2(self, market_ids: List): + async def get_derivative_market(self, market_id: str): """ - This method is deprecated and will be removed soon. Please use `fetch_spot_orderbooks_v2` instead + This method is deprecated and will be removed soon. Please use `fetch_derivative_market` instead """ - warn("This method is deprecated. Use fetch_spot_orderbooks_v2 instead", DeprecationWarning, stacklevel=2) - req = spot_exchange_rpc_pb.OrderbooksV2Request(market_ids=market_ids) - return await self.stubSpotExchange.OrderbooksV2(req) + warn("This method is deprecated. Use fetch_derivative_market instead", DeprecationWarning, stacklevel=2) + req = derivative_exchange_rpc_pb.MarketRequest(market_id=market_id) + return await self.stubDerivativeExchange.Market(req) - async def fetch_spot_orderbooks_v2(self, market_ids: List[str]) -> Dict[str, Any]: - return await self.exchange_spot_api.fetch_orderbooks_v2(market_ids=market_ids) + async def fetch_derivative_market(self, market_id: str) -> Dict[str, Any]: + return await self.exchange_derivative_api.fetch_market(market_id=market_id) - async def get_spot_orders(self, market_id: str, **kwargs): + async def get_derivative_markets(self, **kwargs): """ - This method is deprecated and will be removed soon. Please use `fetch_spot_orders` instead + This method is deprecated and will be removed soon. Please use `fetch_derivative_markets` instead """ - warn("This method is deprecated. Use fetch_spot_orders instead", DeprecationWarning, stacklevel=2) - req = spot_exchange_rpc_pb.OrdersRequest( - market_id=market_id, - order_side=kwargs.get("order_side"), - subaccount_id=kwargs.get("subaccount_id"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - start_time=kwargs.get("start_time"), - end_time=kwargs.get("end_time"), - market_ids=kwargs.get("market_ids"), - include_inactive=kwargs.get("include_inactive"), - subaccount_total_orders=kwargs.get("subaccount_total_orders"), - trade_id=kwargs.get("trade_id"), - cid=kwargs.get("cid"), + warn("This method is deprecated. Use fetch_derivative_markets instead", DeprecationWarning, stacklevel=2) + req = derivative_exchange_rpc_pb.MarketsRequest( + market_status=kwargs.get("market_status"), + quote_denom=kwargs.get("quote_denom"), ) - return await self.stubSpotExchange.Orders(req) + return await self.stubDerivativeExchange.Markets(req) - async def fetch_spot_orders( - self, - market_ids: Optional[List[str]] = None, - order_side: Optional[str] = None, - subaccount_id: Optional[str] = None, - include_inactive: Optional[bool] = None, - subaccount_total_orders: Optional[bool] = None, - trade_id: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_spot_api.fetch_orders( - market_ids=market_ids, - order_side=order_side, - subaccount_id=subaccount_id, - include_inactive=include_inactive, - subaccount_total_orders=subaccount_total_orders, - trade_id=trade_id, - cid=cid, - pagination=pagination, - ) - - async def get_historical_spot_orders(self, market_id: Optional[str] = None, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_spot_orders_history` instead - """ - warn("This method is deprecated. Use fetch_spot_orders_history instead", DeprecationWarning, stacklevel=2) - market_ids = kwargs.get("market_ids", []) - if market_id is not None: - market_ids.append(market_id) - order_types = kwargs.get("order_types", []) - order_type = kwargs.get("order_type") - if order_type is not None: - order_types.append(market_id) - req = spot_exchange_rpc_pb.OrdersHistoryRequest( - subaccount_id=kwargs.get("subaccount_id"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - order_types=order_types, - direction=kwargs.get("direction"), - start_time=kwargs.get("start_time"), - end_time=kwargs.get("end_time"), - state=kwargs.get("state"), - execution_types=kwargs.get("execution_types", []), - market_ids=market_ids, - trade_id=kwargs.get("trade_id"), - active_markets_only=kwargs.get("active_markets_only"), - cid=kwargs.get("cid"), - ) - return await self.stubSpotExchange.OrdersHistory(req) - - async def fetch_spot_orders_history( - self, - subaccount_id: Optional[str] = None, - market_ids: Optional[List[str]] = None, - order_types: Optional[List[str]] = None, - direction: Optional[str] = None, - state: Optional[str] = None, - execution_types: Optional[List[str]] = None, - trade_id: Optional[str] = None, - active_markets_only: Optional[bool] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_spot_api.fetch_orders_history( - subaccount_id=subaccount_id, - market_ids=market_ids, - order_types=order_types, - direction=direction, - state=state, - execution_types=execution_types, - trade_id=trade_id, - active_markets_only=active_markets_only, - cid=cid, - pagination=pagination, - ) - - async def get_spot_trades(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_spot_trades` instead - """ - warn("This method is deprecated. Use fetch_spot_trades instead", DeprecationWarning, stacklevel=2) - req = spot_exchange_rpc_pb.TradesRequest( - market_id=kwargs.get("market_id"), - execution_side=kwargs.get("execution_side"), - direction=kwargs.get("direction"), - subaccount_id=kwargs.get("subaccount_id"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - start_time=kwargs.get("start_time"), - end_time=kwargs.get("end_time"), - market_ids=kwargs.get("market_ids"), - subaccount_ids=kwargs.get("subaccount_ids"), - execution_types=kwargs.get("execution_types"), - trade_id=kwargs.get("trade_id"), - account_address=kwargs.get("account_address"), - cid=kwargs.get("cid"), - ) - return await self.stubSpotExchange.Trades(req) - - async def fetch_spot_trades( - self, - market_ids: Optional[List[str]] = None, - subaccount_ids: Optional[List[str]] = None, - execution_side: Optional[str] = None, - direction: Optional[str] = None, - execution_types: Optional[List[str]] = None, - trade_id: Optional[str] = None, - account_address: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_spot_api.fetch_trades_v2( - market_ids=market_ids, - subaccount_ids=subaccount_ids, - execution_side=execution_side, - direction=direction, - execution_types=execution_types, - trade_id=trade_id, - account_address=account_address, - cid=cid, - pagination=pagination, - ) - - async def stream_spot_orderbook_snapshot(self, market_ids: List[str]): - """ - This method is deprecated and will be removed soon. Please use `listen_spot_orderbook_snapshots` instead - """ - warn("This method is deprecated. Use listen_spot_orderbook_snapshots instead", DeprecationWarning, stacklevel=2) - req = spot_exchange_rpc_pb.StreamOrderbookV2Request(market_ids=market_ids) - metadata = self.network.exchange_cookie_assistant.metadata() - return self.stubSpotExchange.StreamOrderbookV2(request=req, metadata=metadata) - - async def listen_spot_orderbook_snapshots( - self, - market_ids: List[str], - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - ): - await self.exchange_spot_stream_api.stream_orderbook_v2( - market_ids=market_ids, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_spot_orderbook_update(self, market_ids: List[str]): - """ - This method is deprecated and will be removed soon. Please use `listen_spot_orderbook_updates` instead - """ - warn("This method is deprecated. Use listen_spot_orderbook_updates instead", DeprecationWarning, stacklevel=2) - req = spot_exchange_rpc_pb.StreamOrderbookUpdateRequest(market_ids=market_ids) - metadata = self.network.exchange_cookie_assistant.metadata() - return self.stubSpotExchange.StreamOrderbookUpdate(request=req, metadata=metadata) - - async def listen_spot_orderbook_updates( - self, - market_ids: List[str], - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - ): - await self.exchange_spot_stream_api.stream_orderbook_update( - market_ids=market_ids, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_spot_orders(self, market_id: str, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `listen_spot_orders_updates` instead - """ - warn("This method is deprecated. Use listen_spot_orders_updates instead", DeprecationWarning, stacklevel=2) - req = spot_exchange_rpc_pb.StreamOrdersRequest( - market_id=market_id, - order_side=kwargs.get("order_side"), - subaccount_id=kwargs.get("subaccount_id"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - start_time=kwargs.get("start_time"), - end_time=kwargs.get("end_time"), - market_ids=kwargs.get("market_ids"), - include_inactive=kwargs.get("include_inactive"), - subaccount_total_orders=kwargs.get("subaccount_total_orders"), - trade_id=kwargs.get("trade_id"), - cid=kwargs.get("cid"), - ) - metadata = self.network.exchange_cookie_assistant.metadata() - return self.stubSpotExchange.StreamOrders(request=req, metadata=metadata) - - async def listen_spot_orders_updates( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - market_ids: Optional[List[str]] = None, - order_side: Optional[str] = None, - subaccount_id: Optional[PaginationOption] = None, - include_inactive: Optional[bool] = None, - subaccount_total_orders: Optional[bool] = None, - trade_id: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ): - await self.exchange_spot_stream_api.stream_orders( - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - market_ids=market_ids, - order_side=order_side, - subaccount_id=subaccount_id, - include_inactive=include_inactive, - subaccount_total_orders=subaccount_total_orders, - trade_id=trade_id, - cid=cid, - pagination=pagination, - ) - - async def stream_historical_spot_orders(self, market_id: str, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `listen_spot_orders_history_updates` instead - """ - warn( - "This method is deprecated. Use listen_spot_orders_history_updates instead", - DeprecationWarning, - stacklevel=2, - ) - req = spot_exchange_rpc_pb.StreamOrdersHistoryRequest( - market_id=market_id, - direction=kwargs.get("direction"), - subaccount_id=kwargs.get("subaccount_id"), - order_types=kwargs.get("order_types"), - state=kwargs.get("state"), - execution_types=kwargs.get("execution_types"), - ) - metadata = self.network.exchange_cookie_assistant.metadata() - return self.stubSpotExchange.StreamOrdersHistory(request=req, metadata=metadata) - - async def listen_spot_orders_history_updates( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - subaccount_id: Optional[str] = None, - market_id: Optional[str] = None, - order_types: Optional[List[str]] = None, - direction: Optional[str] = None, - state: Optional[str] = None, - execution_types: Optional[List[str]] = None, - ): - await self.exchange_spot_stream_api.stream_orders_history( - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - subaccount_id=subaccount_id, - market_id=market_id, - order_types=order_types, - direction=direction, - state=state, - execution_types=execution_types, - ) - - async def stream_historical_derivative_orders(self, market_id: str, **kwargs): - """ - This method is deprecated and will be removed soon. - Please use `listen_derivative_orders_history_updates` instead - """ - warn( - "This method is deprecated. Use listen_derivative_orders_history_updates instead", - DeprecationWarning, - stacklevel=2, - ) - req = derivative_exchange_rpc_pb.StreamOrdersHistoryRequest( - market_id=market_id, - direction=kwargs.get("direction"), - subaccount_id=kwargs.get("subaccount_id"), - order_types=kwargs.get("order_types"), - state=kwargs.get("state"), - execution_types=kwargs.get("execution_types"), - ) - metadata = self.network.exchange_cookie_assistant.metadata() - return self.stubDerivativeExchange.StreamOrdersHistory(request=req, metadata=metadata) - - async def listen_derivative_orders_history_updates( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - subaccount_id: Optional[str] = None, - market_id: Optional[str] = None, - order_types: Optional[List[str]] = None, - direction: Optional[str] = None, - state: Optional[str] = None, - execution_types: Optional[List[str]] = None, - ): - await self.exchange_derivative_stream_api.stream_orders_history( - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - subaccount_id=subaccount_id, - market_id=market_id, - order_types=order_types, - direction=direction, - state=state, - execution_types=execution_types, - ) - - async def stream_spot_trades(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `listen_spot_trades_updates` instead - """ - warn("This method is deprecated. Use listen_spot_trades_updates instead", DeprecationWarning, stacklevel=2) - req = spot_exchange_rpc_pb.StreamTradesRequest( - market_id=kwargs.get("market_id"), - execution_side=kwargs.get("execution_side"), - direction=kwargs.get("direction"), - subaccount_id=kwargs.get("subaccount_id"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - start_time=kwargs.get("start_time"), - end_time=kwargs.get("end_time"), - market_ids=kwargs.get("market_ids"), - subaccount_ids=kwargs.get("subaccount_ids"), - execution_types=kwargs.get("execution_types"), - trade_id=kwargs.get("trade_id"), - account_address=kwargs.get("account_address"), - cid=kwargs.get("cid"), - ) - metadata = self.network.exchange_cookie_assistant.metadata() - return self.stubSpotExchange.StreamTrades(request=req, metadata=metadata) - - async def listen_spot_trades_updates( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - market_ids: Optional[List[str]] = None, - subaccount_ids: Optional[List[str]] = None, - execution_side: Optional[str] = None, - direction: Optional[str] = None, - execution_types: Optional[List[str]] = None, - trade_id: Optional[str] = None, - account_address: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ): - await self.exchange_spot_stream_api.stream_trades_v2( - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - market_ids=market_ids, - subaccount_ids=subaccount_ids, - execution_side=execution_side, - direction=direction, - execution_types=execution_types, - trade_id=trade_id, - account_address=account_address, - cid=cid, - pagination=pagination, - ) - - async def get_spot_subaccount_orders(self, subaccount_id: str, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_spot_subaccount_orders_list` instead - """ - warn( - "This method is deprecated. Use fetch_spot_subaccount_orders_list instead", DeprecationWarning, stacklevel=2 - ) - req = spot_exchange_rpc_pb.SubaccountOrdersListRequest( - subaccount_id=subaccount_id, - market_id=kwargs.get("market_id"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - ) - return await self.stubSpotExchange.SubaccountOrdersList(req) - - async def fetch_spot_subaccount_orders_list( - self, - subaccount_id: str, - market_id: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_spot_api.fetch_subaccount_orders_list( - subaccount_id=subaccount_id, market_id=market_id, pagination=pagination - ) - - async def get_spot_subaccount_trades(self, subaccount_id: str, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_spot_subaccount_trades_list` instead - """ - warn( - "This method is deprecated. Use fetch_spot_subaccount_trades_list instead", DeprecationWarning, stacklevel=2 - ) - req = spot_exchange_rpc_pb.SubaccountTradesListRequest( - subaccount_id=subaccount_id, - market_id=kwargs.get("market_id"), - execution_type=kwargs.get("execution_type"), - direction=kwargs.get("direction"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - ) - return await self.stubSpotExchange.SubaccountTradesList(req) - - async def fetch_spot_subaccount_trades_list( - self, - subaccount_id: str, - market_id: Optional[str] = None, - execution_type: Optional[str] = None, - direction: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_spot_api.fetch_subaccount_trades_list( - subaccount_id=subaccount_id, - market_id=market_id, - execution_type=execution_type, - direction=direction, - pagination=pagination, - ) - - # DerivativeRPC - - async def get_derivative_market(self, market_id: str): - """ - This method is deprecated and will be removed soon. Please use `fetch_derivative_market` instead - """ - warn("This method is deprecated. Use fetch_derivative_market instead", DeprecationWarning, stacklevel=2) - req = derivative_exchange_rpc_pb.MarketRequest(market_id=market_id) - return await self.stubDerivativeExchange.Market(req) - - async def fetch_derivative_market(self, market_id: str) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_market(market_id=market_id) - - async def get_derivative_markets(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_derivative_markets` instead - """ - warn("This method is deprecated. Use fetch_derivative_markets instead", DeprecationWarning, stacklevel=2) - req = derivative_exchange_rpc_pb.MarketsRequest( - market_status=kwargs.get("market_status"), - quote_denom=kwargs.get("quote_denom"), - ) - return await self.stubDerivativeExchange.Markets(req) - - async def fetch_derivative_markets( + async def fetch_derivative_markets( self, market_statuses: Optional[List[str]] = None, quote_denom: Optional[str] = None, @@ -2329,19 +1391,6 @@ async def stream_derivative_markets(self, **kwargs): metadata = self.network.exchange_cookie_assistant.metadata() return self.stubDerivativeExchange.StreamMarket(request=req, metadata=metadata) - async def listen_derivative_market_updates( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - market_ids: Optional[List[str]] = None, - ): - await self.exchange_derivative_stream_api.stream_market( - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - market_ids=market_ids, - ) async def get_derivative_orderbook(self, market_id: str): """ @@ -2532,20 +1581,7 @@ async def stream_derivative_orderbook_snapshot(self, market_ids: List[str]): metadata = self.network.exchange_cookie_assistant.metadata() return self.stubDerivativeExchange.StreamOrderbookV2(request=req, metadata=metadata) - async def listen_derivative_orderbook_snapshots( - self, - market_ids: List[str], - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - ): - await self.exchange_derivative_stream_api.stream_orderbook_v2( - market_ids=market_ids, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - + async def stream_derivative_orderbook_update(self, market_ids: List[str]): """ This method is deprecated and will be removed soon. Please use `listen_derivative_orderbook_updates` instead @@ -2559,20 +1595,7 @@ async def stream_derivative_orderbook_update(self, market_ids: List[str]): metadata = self.network.exchange_cookie_assistant.metadata() return self.stubDerivativeExchange.StreamOrderbookUpdate(request=req, metadata=metadata) - async def listen_derivative_orderbook_updates( - self, - market_ids: List[str], - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - ): - await self.exchange_derivative_stream_api.stream_orderbook_update( - market_ids=market_ids, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - + async def stream_derivative_orders(self, market_id: str, **kwargs): """ This method is deprecated and will be removed soon. Please use `listen_derivative_orders_updates` instead @@ -2599,38 +1622,7 @@ async def stream_derivative_orders(self, market_id: str, **kwargs): metadata = self.network.exchange_cookie_assistant.metadata() return self.stubDerivativeExchange.StreamOrders(request=req, metadata=metadata) - async def listen_derivative_orders_updates( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - market_ids: Optional[List[str]] = None, - order_side: Optional[str] = None, - subaccount_id: Optional[PaginationOption] = None, - is_conditional: Optional[str] = None, - order_type: Optional[str] = None, - include_inactive: Optional[bool] = None, - subaccount_total_orders: Optional[bool] = None, - trade_id: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ): - await self.exchange_derivative_stream_api.stream_orders( - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - market_ids=market_ids, - order_side=order_side, - subaccount_id=subaccount_id, - is_conditional=is_conditional, - order_type=order_type, - include_inactive=include_inactive, - subaccount_total_orders=subaccount_total_orders, - trade_id=trade_id, - cid=cid, - pagination=pagination, - ) - + async def stream_derivative_trades(self, **kwargs): """ This method is deprecated and will be removed soon. Please use `listen_derivative_trades_updates` instead @@ -2657,36 +1649,7 @@ async def stream_derivative_trades(self, **kwargs): metadata = self.network.exchange_cookie_assistant.metadata() return self.stubDerivativeExchange.StreamTrades(request=req, metadata=metadata) - async def listen_derivative_trades_updates( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - market_ids: Optional[List[str]] = None, - execution_side: Optional[str] = None, - direction: Optional[str] = None, - subaccount_ids: Optional[List[str]] = None, - execution_types: Optional[List[str]] = None, - trade_id: Optional[str] = None, - account_address: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ): - return await self.exchange_derivative_stream_api.stream_trades_v2( - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - market_ids=market_ids, - subaccount_ids=subaccount_ids, - execution_side=execution_side, - direction=direction, - execution_types=execution_types, - trade_id=trade_id, - account_address=account_address, - cid=cid, - pagination=pagination, - ) - + async def get_derivative_positions(self, **kwargs): """ This method is deprecated and will be removed soon. Please use `fetch_derivative_positions_v2` instead @@ -2737,47 +1700,32 @@ async def stream_derivative_positions(self, **kwargs): metadata = self.network.exchange_cookie_assistant.metadata() return self.stubDerivativeExchange.StreamPositions(request=req, metadata=metadata) - async def listen_derivative_positions_updates( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - market_ids: Optional[List[str]] = None, - subaccount_ids: Optional[List[str]] = None, - ): - await self.exchange_derivative_stream_api.stream_positions( - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - market_ids=market_ids, - subaccount_ids=subaccount_ids, - ) - - async def get_derivative_liquidable_positions(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_derivative_liquidable_positions` instead - """ - warn( - "This method is deprecated. Use fetch_derivative_liquidable_positions instead", - DeprecationWarning, - stacklevel=2, - ) - req = derivative_exchange_rpc_pb.LiquidablePositionsRequest( - market_id=kwargs.get("market_id"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - ) - return await self.stubDerivativeExchange.LiquidablePositions(req) - - async def fetch_derivative_liquidable_positions( - self, - market_id: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_liquidable_positions( - market_id=market_id, - pagination=pagination, - ) + ####MASSIVE TODO : NEED TO WRITE A LIQUIDABLE POSITIONS WATCHER####### + #async def get_derivative_liquidable_positions(self, **kwargs): + # """ + # This method is deprecated and will be removed soon. Please use `fetch_derivative_liquidable_positions` instead + # """ + # warn( + # "This method is deprecated. Use fetch_derivative_liquidable_positions instead", + # DeprecationWarning, + # stacklevel=2, + # ) + # req = derivative_exchange_rpc_pb.LiquidablePositionsRequest( + # market_id=kwargs.get("market_id"), + # skip=kwargs.get("skip"), + # limit=kwargs.get("limit"), + # ) + # return await self.stubDerivativeExchange.LiquidablePositions(req) + + #async def fetch_derivative_liquidable_positions( + # self, + # market_id: Optional[str] = None, + # pagination: Optional[PaginationOption] = None, + #) -> Dict[str, Any]: + # return await self.exchange_derivative_api.fetch_liquidable_positions( + # market_id=market_id, + # pagination=pagination, + # ) async def get_derivative_subaccount_orders(self, subaccount_id: str, **kwargs): """ diff --git a/pyinjective/client/chain/grpc/chain_grpc_auth_api.py b/pyinjective/client/chain/grpc/chain_grpc_auth_api.py index 6980369a..55f8ce39 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_auth_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_auth_api.py @@ -2,7 +2,7 @@ from grpc.aio import Channel -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import CookieAssistant from pyinjective.proto.cosmos.auth.v1beta1 import query_pb2 as auth_query_pb, query_pb2_grpc as auth_query_grpc from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant diff --git a/pyinjective/client/chain/grpc/chain_grpc_authz_api.py b/pyinjective/client/chain/grpc/chain_grpc_authz_api.py index d06b4e8c..5d181942 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_authz_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_authz_api.py @@ -2,7 +2,7 @@ from grpc.aio import Channel -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import CookieAssistant from pyinjective.proto.cosmos.authz.v1beta1 import query_pb2 as authz_query, query_pb2_grpc as authz_query_grpc from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant diff --git a/pyinjective/client/chain/grpc/chain_grpc_bank_api.py b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py index cdbd3f1b..1baeb0d1 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_bank_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_bank_api.py @@ -2,7 +2,7 @@ from grpc.aio import Channel -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import CookieAssistant from pyinjective.proto.cosmos.bank.v1beta1 import query_pb2 as bank_query_pb, query_pb2_grpc as bank_query_grpc from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant diff --git a/pyinjective/client/chain/grpc/chain_grpc_distribution_api.py b/pyinjective/client/chain/grpc/chain_grpc_distribution_api.py index 7e201a42..a99ecc5e 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_distribution_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_distribution_api.py @@ -2,7 +2,7 @@ from grpc.aio import Channel -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import CookieAssistant from pyinjective.proto.cosmos.distribution.v1beta1 import ( query_pb2 as distribution_query_pb, diff --git a/pyinjective/client/chain/grpc/chain_grpc_exchange_api.py b/pyinjective/client/chain/grpc/chain_grpc_exchange_api.py index 6ac66a67..0abc6d2d 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_exchange_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_exchange_api.py @@ -2,7 +2,7 @@ from grpc.aio import Channel -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import CookieAssistant from pyinjective.proto.injective.exchange.v1beta1 import ( query_pb2 as exchange_query_pb, diff --git a/pyinjective/client/chain/grpc/chain_grpc_wasm_api.py b/pyinjective/client/chain/grpc/chain_grpc_wasm_api.py index adc65e88..c616fd89 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_wasm_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_wasm_api.py @@ -2,7 +2,7 @@ from grpc.aio import Channel -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import CookieAssistant from pyinjective.proto.cosmwasm.wasm.v1 import query_pb2 as wasm_query_pb, query_pb2_grpc as wasm_query_grpc from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant diff --git a/pyinjective/client/chain/grpc_stream/__init__.py b/pyinjective/client/chain/grpc_stream/__init__.py index e69de29b..019ecc31 100644 --- a/pyinjective/client/chain/grpc_stream/__init__.py +++ b/pyinjective/client/chain/grpc_stream/__init__.py @@ -0,0 +1,50 @@ +from typing import Callable, Optional + +from grpc.aio import Channel + +from pyinjective.core.network import CookieAssistant +from pyinjective.proto.injective.stream.v1beta1 import query_pb2 as chain_stream_pb, query_pb2_grpc as chain_stream_grpc +from pyinjective.utils.grpc_api_stream_assistant import GrpcApiStreamAssistant + + +class ChainGrpcChainStream: + def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): + self._stub = self._stub = chain_stream_grpc.StreamStub(channel) + self._assistant = GrpcApiStreamAssistant(cookie_assistant=cookie_assistant) + + async def stream( + self, + callback: Callable, + on_end_callback: Optional[Callable] = None, + on_status_callback: Optional[Callable] = None, + bank_balances_filter: Optional[chain_stream_pb.BankBalancesFilter] = None, + subaccount_deposits_filter: Optional[chain_stream_pb.SubaccountDepositsFilter] = None, + spot_trades_filter: Optional[chain_stream_pb.TradesFilter] = None, + derivative_trades_filter: Optional[chain_stream_pb.TradesFilter] = None, + spot_orders_filter: Optional[chain_stream_pb.OrdersFilter] = None, + derivative_orders_filter: Optional[chain_stream_pb.OrdersFilter] = None, + spot_orderbooks_filter: Optional[chain_stream_pb.OrderbookFilter] = None, + derivative_orderbooks_filter: Optional[chain_stream_pb.OrderbookFilter] = None, + positions_filter: Optional[chain_stream_pb.PositionsFilter] = None, + oracle_price_filter: Optional[chain_stream_pb.OraclePriceFilter] = None, + ): + request = chain_stream_pb.StreamRequest( + bank_balances_filter=bank_balances_filter, + subaccount_deposits_filter=subaccount_deposits_filter, + spot_trades_filter=spot_trades_filter, + derivative_trades_filter=derivative_trades_filter, + spot_orders_filter=spot_orders_filter, + derivative_orders_filter=derivative_orders_filter, + spot_orderbooks_filter=spot_orderbooks_filter, + derivative_orderbooks_filter=derivative_orderbooks_filter, + positions_filter=positions_filter, + oracle_price_filter=oracle_price_filter, + ) + + await self._assistant.listen_stream( + call=self._stub.Stream, + request=request, + callback=callback, + on_end_callback=on_end_callback, + on_status_callback=on_status_callback, + ) diff --git a/pyinjective/client/chain/grpc_stream/chain_grpc_chain_stream.py b/pyinjective/client/chain/grpc_stream/chain_grpc_chain_stream.py deleted file mode 100644 index 019ecc31..00000000 --- a/pyinjective/client/chain/grpc_stream/chain_grpc_chain_stream.py +++ /dev/null @@ -1,50 +0,0 @@ -from typing import Callable, Optional - -from grpc.aio import Channel - -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.injective.stream.v1beta1 import query_pb2 as chain_stream_pb, query_pb2_grpc as chain_stream_grpc -from pyinjective.utils.grpc_api_stream_assistant import GrpcApiStreamAssistant - - -class ChainGrpcChainStream: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = chain_stream_grpc.StreamStub(channel) - self._assistant = GrpcApiStreamAssistant(cookie_assistant=cookie_assistant) - - async def stream( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - bank_balances_filter: Optional[chain_stream_pb.BankBalancesFilter] = None, - subaccount_deposits_filter: Optional[chain_stream_pb.SubaccountDepositsFilter] = None, - spot_trades_filter: Optional[chain_stream_pb.TradesFilter] = None, - derivative_trades_filter: Optional[chain_stream_pb.TradesFilter] = None, - spot_orders_filter: Optional[chain_stream_pb.OrdersFilter] = None, - derivative_orders_filter: Optional[chain_stream_pb.OrdersFilter] = None, - spot_orderbooks_filter: Optional[chain_stream_pb.OrderbookFilter] = None, - derivative_orderbooks_filter: Optional[chain_stream_pb.OrderbookFilter] = None, - positions_filter: Optional[chain_stream_pb.PositionsFilter] = None, - oracle_price_filter: Optional[chain_stream_pb.OraclePriceFilter] = None, - ): - request = chain_stream_pb.StreamRequest( - bank_balances_filter=bank_balances_filter, - subaccount_deposits_filter=subaccount_deposits_filter, - spot_trades_filter=spot_trades_filter, - derivative_trades_filter=derivative_trades_filter, - spot_orders_filter=spot_orders_filter, - derivative_orders_filter=derivative_orders_filter, - spot_orderbooks_filter=spot_orderbooks_filter, - derivative_orderbooks_filter=derivative_orderbooks_filter, - positions_filter=positions_filter, - oracle_price_filter=oracle_price_filter, - ) - - await self._assistant.listen_stream( - call=self._stub.Stream, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) diff --git a/pyinjective/client/indexer/__init__.py b/pyinjective/client/indexer/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/pyinjective/client/indexer/grpc/__init__.py b/pyinjective/client/indexer/grpc/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_account_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_account_api.py deleted file mode 100644 index 3d985595..00000000 --- a/pyinjective/client/indexer/grpc/indexer_grpc_account_api.py +++ /dev/null @@ -1,108 +0,0 @@ -from typing import Any, Callable, Dict, List, Optional - -from grpc.aio import Channel - -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_accounts_rpc_pb2 as exchange_accounts_pb, - injective_accounts_rpc_pb2_grpc as exchange_accounts_grpc, -) -from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant - - -class IndexerGrpcAccountApi: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_accounts_grpc.InjectiveAccountsRPCStub(channel) - self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) - - async def fetch_portfolio(self, account_address: str) -> Dict[str, Any]: - request = exchange_accounts_pb.PortfolioRequest(account_address=account_address) - response = await self._execute_call(call=self._stub.Portfolio, request=request) - - return response - - async def fetch_order_states( - self, - spot_order_hashes: Optional[List[str]] = None, - derivative_order_hashes: Optional[List[str]] = None, - ) -> Dict[str, Any]: - spot_order_hashes = spot_order_hashes or [] - derivative_order_hashes = derivative_order_hashes or [] - - request = exchange_accounts_pb.OrderStatesRequest( - spot_order_hashes=spot_order_hashes, derivative_order_hashes=derivative_order_hashes - ) - response = await self._execute_call(call=self._stub.OrderStates, request=request) - - return response - - async def fetch_subaccounts_list(self, address: str) -> Dict[str, Any]: - request = exchange_accounts_pb.SubaccountsListRequest(account_address=address) - response = await self._execute_call(call=self._stub.SubaccountsList, request=request) - - return response - - async def fetch_subaccount_balances_list( - self, subaccount_id: str, denoms: Optional[List[str]] = None - ) -> Dict[str, Any]: - request = exchange_accounts_pb.SubaccountBalancesListRequest( - subaccount_id=subaccount_id, - denoms=denoms, - ) - response = await self._execute_call(call=self._stub.SubaccountBalancesList, request=request) - - return response - - async def fetch_subaccount_balance(self, subaccount_id: str, denom: str) -> Dict[str, Any]: - request = exchange_accounts_pb.SubaccountBalanceEndpointRequest( - subaccount_id=subaccount_id, - denom=denom, - ) - response = await self._execute_call(call=self._stub.SubaccountBalanceEndpoint, request=request) - - return response - - async def fetch_subaccount_history( - self, - subaccount_id: str, - denom: Optional[str] = None, - transfer_types: Optional[List[str]] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_accounts_pb.SubaccountHistoryRequest( - subaccount_id=subaccount_id, - denom=denom, - transfer_types=transfer_types, - skip=pagination.skip, - limit=pagination.limit, - end_time=pagination.end_time, - ) - response = await self._execute_call(call=self._stub.SubaccountHistory, request=request) - - return response - - async def fetch_subaccount_order_summary( - self, - subaccount_id: str, - market_id: Optional[str] = None, - order_direction: Optional[str] = None, - ) -> Dict[str, Any]: - request = exchange_accounts_pb.SubaccountOrderSummaryRequest( - subaccount_id=subaccount_id, - market_id=market_id, - order_direction=order_direction, - ) - response = await self._execute_call(call=self._stub.SubaccountOrderSummary, request=request) - - return response - - async def fetch_rewards(self, account_address: Optional[str] = None, epoch: Optional[int] = None) -> Dict[str, Any]: - request = exchange_accounts_pb.RewardsRequest(account_address=account_address, epoch=epoch) - response = await self._execute_call(call=self._stub.Rewards, request=request) - - return response - - async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: - return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_auction_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_auction_api.py deleted file mode 100644 index e543d16e..00000000 --- a/pyinjective/client/indexer/grpc/indexer_grpc_auction_api.py +++ /dev/null @@ -1,31 +0,0 @@ -from typing import Any, Callable, Dict - -from grpc.aio import Channel - -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_auction_rpc_pb2 as exchange_auction_pb, - injective_auction_rpc_pb2_grpc as exchange_auction_grpc, -) -from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant - - -class IndexerGrpcAuctionApi: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_auction_grpc.InjectiveAuctionRPCStub(channel) - self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) - - async def fetch_auction(self, round: int) -> Dict[str, Any]: - request = exchange_auction_pb.AuctionEndpointRequest(round=round) - response = await self._execute_call(call=self._stub.AuctionEndpoint, request=request) - - return response - - async def fetch_auctions(self) -> Dict[str, Any]: - request = exchange_auction_pb.AuctionsRequest() - response = await self._execute_call(call=self._stub.Auctions, request=request) - - return response - - async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: - return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_derivative_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_derivative_api.py deleted file mode 100644 index 1d0220ee..00000000 --- a/pyinjective/client/indexer/grpc/indexer_grpc_derivative_api.py +++ /dev/null @@ -1,348 +0,0 @@ -from typing import Any, Callable, Dict, List, Optional - -from grpc.aio import Channel - -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_derivative_exchange_rpc_pb2 as exchange_derivative_pb, - injective_derivative_exchange_rpc_pb2_grpc as exchange_derivative_grpc, -) -from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant - - -class IndexerGrpcDerivativeApi: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_derivative_grpc.InjectiveDerivativeExchangeRPCStub(channel) - self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) - - async def fetch_markets( - self, - market_statuses: Optional[List[str]] = None, - quote_denom: Optional[str] = None, - ) -> Dict[str, Any]: - request = exchange_derivative_pb.MarketsRequest( - market_statuses=market_statuses, - quote_denom=quote_denom, - ) - response = await self._execute_call(call=self._stub.Markets, request=request) - - return response - - async def fetch_market(self, market_id: str) -> Dict[str, Any]: - request = exchange_derivative_pb.MarketRequest(market_id=market_id) - response = await self._execute_call(call=self._stub.Market, request=request) - - return response - - async def fetch_binary_options_markets( - self, - market_status: Optional[str] = None, - quote_denom: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_derivative_pb.BinaryOptionsMarketsRequest( - market_status=market_status, - quote_denom=quote_denom, - skip=pagination.skip, - limit=pagination.limit, - ) - response = await self._execute_call(call=self._stub.BinaryOptionsMarkets, request=request) - - return response - - async def fetch_binary_options_market(self, market_id: str) -> Dict[str, Any]: - request = exchange_derivative_pb.BinaryOptionsMarketRequest(market_id=market_id) - response = await self._execute_call(call=self._stub.BinaryOptionsMarket, request=request) - - return response - - async def fetch_orderbook_v2(self, market_id: str) -> Dict[str, Any]: - request = exchange_derivative_pb.OrderbookV2Request(market_id=market_id) - response = await self._execute_call(call=self._stub.OrderbookV2, request=request) - - return response - - async def fetch_orderbooks_v2(self, market_ids: List[str]) -> Dict[str, Any]: - request = exchange_derivative_pb.OrderbooksV2Request(market_ids=market_ids) - response = await self._execute_call(call=self._stub.OrderbooksV2, request=request) - - return response - - async def fetch_orders( - self, - market_ids: Optional[List[str]] = None, - order_side: Optional[str] = None, - subaccount_id: Optional[str] = None, - is_conditional: Optional[str] = None, - order_type: Optional[str] = None, - include_inactive: Optional[bool] = None, - subaccount_total_orders: Optional[bool] = None, - trade_id: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_derivative_pb.OrdersRequest( - market_ids=market_ids, - order_side=order_side, - subaccount_id=subaccount_id, - skip=pagination.skip, - limit=pagination.limit, - start_time=pagination.start_time, - end_time=pagination.end_time, - is_conditional=is_conditional, - order_type=order_type, - include_inactive=include_inactive, - subaccount_total_orders=subaccount_total_orders, - trade_id=trade_id, - cid=cid, - ) - - response = await self._execute_call(call=self._stub.Orders, request=request) - - return response - - async def fetch_positions( - self, - market_ids: Optional[List[str]] = None, - subaccount_id: Optional[str] = None, - direction: Optional[str] = None, - subaccount_total_positions: Optional[bool] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_derivative_pb.PositionsRequest( - market_ids=market_ids, - subaccount_id=subaccount_id, - skip=pagination.skip, - limit=pagination.limit, - start_time=pagination.start_time, - end_time=pagination.end_time, - direction=direction, - subaccount_total_positions=subaccount_total_positions, - ) - - response = await self._execute_call(call=self._stub.Positions, request=request) - - return response - - async def fetch_positions_v2( - self, - market_ids: Optional[List[str]] = None, - subaccount_id: Optional[str] = None, - direction: Optional[str] = None, - subaccount_total_positions: Optional[bool] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_derivative_pb.PositionsV2Request( - market_ids=market_ids, - subaccount_id=subaccount_id, - skip=pagination.skip, - limit=pagination.limit, - start_time=pagination.start_time, - end_time=pagination.end_time, - direction=direction, - subaccount_total_positions=subaccount_total_positions, - ) - - response = await self._execute_call(call=self._stub.PositionsV2, request=request) - - return response - - async def fetch_liquidable_positions( - self, - market_id: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_derivative_pb.LiquidablePositionsRequest( - market_id=market_id, - skip=pagination.skip, - limit=pagination.limit, - ) - - response = await self._execute_call(call=self._stub.LiquidablePositions, request=request) - - return response - - async def fetch_funding_payments( - self, - market_ids: Optional[List[str]] = None, - subaccount_id: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_derivative_pb.FundingPaymentsRequest( - market_ids=market_ids, - subaccount_id=subaccount_id, - skip=pagination.skip, - limit=pagination.limit, - end_time=pagination.end_time, - ) - - response = await self._execute_call(call=self._stub.FundingPayments, request=request) - - return response - - async def fetch_funding_rates( - self, - market_id: str, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_derivative_pb.FundingRatesRequest( - market_id=market_id, - skip=pagination.skip, - limit=pagination.limit, - end_time=pagination.end_time, - ) - - response = await self._execute_call(call=self._stub.FundingRates, request=request) - - return response - - async def fetch_trades( - self, - market_ids: Optional[List[str]] = None, - subaccount_ids: Optional[List[str]] = None, - execution_side: Optional[str] = None, - direction: Optional[str] = None, - execution_types: Optional[List[str]] = None, - trade_id: Optional[str] = None, - account_address: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_derivative_pb.TradesRequest( - market_ids=market_ids, - subaccount_ids=subaccount_ids, - execution_side=execution_side, - direction=direction, - skip=pagination.skip, - limit=pagination.limit, - start_time=pagination.start_time, - end_time=pagination.end_time, - execution_types=execution_types, - trade_id=trade_id, - account_address=account_address, - cid=cid, - ) - - response = await self._execute_call(call=self._stub.Trades, request=request) - - return response - - async def fetch_subaccount_orders_list( - self, - subaccount_id: str, - market_id: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_derivative_pb.SubaccountOrdersListRequest( - subaccount_id=subaccount_id, - market_id=market_id, - skip=pagination.skip, - limit=pagination.limit, - ) - - response = await self._execute_call(call=self._stub.SubaccountOrdersList, request=request) - - return response - - async def fetch_subaccount_trades_list( - self, - subaccount_id: str, - market_id: Optional[str] = None, - execution_type: Optional[str] = None, - direction: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_derivative_pb.SubaccountTradesListRequest( - subaccount_id=subaccount_id, - market_id=market_id, - execution_type=execution_type, - direction=direction, - skip=pagination.skip, - limit=pagination.limit, - ) - - response = await self._execute_call(call=self._stub.SubaccountTradesList, request=request) - - return response - - async def fetch_orders_history( - self, - subaccount_id: Optional[str] = None, - market_ids: Optional[List[str]] = None, - order_types: Optional[List[str]] = None, - direction: Optional[str] = None, - is_conditional: Optional[str] = None, - state: Optional[str] = None, - execution_types: Optional[List[str]] = None, - trade_id: Optional[str] = None, - active_markets_only: Optional[bool] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_derivative_pb.OrdersHistoryRequest( - subaccount_id=subaccount_id, - skip=pagination.skip, - limit=pagination.limit, - order_types=order_types, - direction=direction, - start_time=pagination.start_time, - end_time=pagination.end_time, - is_conditional=is_conditional, - state=state, - execution_types=execution_types, - market_ids=market_ids, - trade_id=trade_id, - active_markets_only=active_markets_only, - cid=cid, - ) - - response = await self._execute_call(call=self._stub.OrdersHistory, request=request) - - return response - - async def fetch_trades_v2( - self, - market_ids: Optional[List[str]] = None, - subaccount_ids: Optional[List[str]] = None, - execution_side: Optional[str] = None, - direction: Optional[str] = None, - execution_types: Optional[List[str]] = None, - trade_id: Optional[str] = None, - account_address: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_derivative_pb.TradesV2Request( - market_ids=market_ids, - subaccount_ids=subaccount_ids, - execution_side=execution_side, - direction=direction, - skip=pagination.skip, - limit=pagination.limit, - start_time=pagination.start_time, - end_time=pagination.end_time, - execution_types=execution_types, - trade_id=trade_id, - account_address=account_address, - cid=cid, - ) - - response = await self._execute_call(call=self._stub.TradesV2, request=request) - - return response - - async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: - return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_explorer_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_explorer_api.py deleted file mode 100644 index b08f5390..00000000 --- a/pyinjective/client/indexer/grpc/indexer_grpc_explorer_api.py +++ /dev/null @@ -1,330 +0,0 @@ -from typing import Any, Callable, Dict, List, Optional - -from grpc.aio import Channel - -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_explorer_rpc_pb2 as exchange_explorer_pb, - injective_explorer_rpc_pb2_grpc as exchange_explorer_grpc, -) -from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant - - -class IndexerGrpcExplorerApi: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_explorer_grpc.InjectiveExplorerRPCStub(channel) - self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) - - async def fetch_account_txs( - self, - address: str, - before: Optional[int] = None, - after: Optional[int] = None, - message_type: Optional[str] = None, - module: Optional[str] = None, - from_number: Optional[int] = None, - to_number: Optional[int] = None, - status: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_explorer_pb.GetAccountTxsRequest( - address=address, - before=before, - after=after, - limit=pagination.limit, - skip=pagination.skip, - type=message_type, - module=module, - from_number=from_number, - to_number=to_number, - start_time=pagination.start_time, - end_time=pagination.end_time, - status=status, - ) - - response = await self._execute_call(call=self._stub.GetAccountTxs, request=request) - - return response - - async def fetch_contract_txs( - self, - address: str, - from_number: Optional[int] = None, - to_number: Optional[int] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_explorer_pb.GetAccountTxsRequest( - address=address, - limit=pagination.limit, - skip=pagination.skip, - from_number=from_number, - to_number=to_number, - ) - - response = await self._execute_call(call=self._stub.GetContractTxs, request=request) - - return response - - async def fetch_blocks( - self, - before: Optional[int] = None, - after: Optional[int] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_explorer_pb.GetBlocksRequest( - before=before, - after=after, - limit=pagination.limit, - ) - - response = await self._execute_call(call=self._stub.GetBlocks, request=request) - - return response - - async def fetch_block(self, block_id: str) -> Dict[str, Any]: - request = exchange_explorer_pb.GetBlockRequest(id=block_id) - - response = await self._execute_call(call=self._stub.GetBlock, request=request) - - return response - - async def fetch_validators(self) -> Dict[str, Any]: - request = exchange_explorer_pb.GetValidatorsRequest() - - response = await self._execute_call(call=self._stub.GetValidators, request=request) - - return response - - async def fetch_validator(self, address: str) -> Dict[str, Any]: - request = exchange_explorer_pb.GetValidatorRequest(address=address) - - response = await self._execute_call(call=self._stub.GetValidator, request=request) - - return response - - async def fetch_validator_uptime(self, address: str) -> Dict[str, Any]: - request = exchange_explorer_pb.GetValidatorUptimeRequest(address=address) - - response = await self._execute_call(call=self._stub.GetValidatorUptime, request=request) - - return response - - async def fetch_txs( - self, - before: Optional[int] = None, - after: Optional[int] = None, - message_type: Optional[str] = None, - module: Optional[str] = None, - from_number: Optional[int] = None, - to_number: Optional[int] = None, - status: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_explorer_pb.GetTxsRequest( - before=before, - after=after, - limit=pagination.limit, - skip=pagination.skip, - type=message_type, - module=module, - from_number=from_number, - to_number=to_number, - start_time=pagination.start_time, - end_time=pagination.end_time, - status=status, - ) - - response = await self._execute_call(call=self._stub.GetTxs, request=request) - - return response - - async def fetch_tx_by_tx_hash(self, tx_hash: str) -> Dict[str, Any]: - request = exchange_explorer_pb.GetTxByTxHashRequest(hash=tx_hash) - - response = await self._execute_call(call=self._stub.GetTxByTxHash, request=request) - - return response - - async def fetch_peggy_deposit_txs( - self, - sender: Optional[str] = None, - receiver: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_explorer_pb.GetPeggyDepositTxsRequest( - sender=sender, - receiver=receiver, - limit=pagination.limit, - skip=pagination.skip, - ) - - response = await self._execute_call(call=self._stub.GetPeggyDepositTxs, request=request) - - return response - - async def fetch_peggy_withdrawal_txs( - self, - sender: Optional[str] = None, - receiver: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_explorer_pb.GetPeggyWithdrawalTxsRequest( - sender=sender, - receiver=receiver, - limit=pagination.limit, - skip=pagination.skip, - ) - - response = await self._execute_call(call=self._stub.GetPeggyWithdrawalTxs, request=request) - - return response - - async def fetch_ibc_transfer_txs( - self, - sender: Optional[str] = None, - receiver: Optional[str] = None, - src_channel: Optional[str] = None, - src_port: Optional[str] = None, - dest_channel: Optional[str] = None, - dest_port: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_explorer_pb.GetIBCTransferTxsRequest( - sender=sender, - receiver=receiver, - src_channel=src_channel, - src_port=src_port, - dest_channel=dest_channel, - dest_port=dest_port, - limit=pagination.limit, - skip=pagination.skip, - ) - - response = await self._execute_call(call=self._stub.GetIBCTransferTxs, request=request) - - return response - - async def fetch_wasm_codes( - self, - from_number: Optional[int] = None, - to_number: Optional[int] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_explorer_pb.GetWasmCodesRequest( - limit=pagination.limit, - from_number=from_number, - to_number=to_number, - ) - - response = await self._execute_call(call=self._stub.GetWasmCodes, request=request) - - return response - - async def fetch_wasm_code_by_id( - self, - code_id: int, - ) -> Dict[str, Any]: - request = exchange_explorer_pb.GetWasmCodeByIDRequest(code_id=code_id) - - response = await self._execute_call(call=self._stub.GetWasmCodeByID, request=request) - - return response - - async def fetch_wasm_contracts( - self, - code_id: Optional[int] = None, - from_number: Optional[int] = None, - to_number: Optional[int] = None, - assets_only: Optional[bool] = None, - label: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_explorer_pb.GetWasmContractsRequest( - limit=pagination.limit, - code_id=code_id, - from_number=from_number, - to_number=to_number, - assets_only=assets_only, - skip=pagination.skip, - label=label, - ) - - response = await self._execute_call(call=self._stub.GetWasmContracts, request=request) - - return response - - async def fetch_wasm_contract_by_address( - self, - address: str, - ) -> Dict[str, Any]: - request = exchange_explorer_pb.GetWasmContractByAddressRequest(contract_address=address) - - response = await self._execute_call(call=self._stub.GetWasmContractByAddress, request=request) - - return response - - async def fetch_cw20_balance( - self, - address: str, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_explorer_pb.GetCw20BalanceRequest( - address=address, - limit=pagination.limit, - ) - - response = await self._execute_call(call=self._stub.GetCw20Balance, request=request) - - return response - - async def fetch_relayers( - self, - market_ids: Optional[List[str]] = None, - ) -> Dict[str, Any]: - request = exchange_explorer_pb.RelayersRequest(market_i_ds=market_ids) - - response = await self._execute_call(call=self._stub.Relayers, request=request) - - return response - - async def fetch_bank_transfers( - self, - senders: Optional[List[str]] = None, - recipients: Optional[List[str]] = None, - is_community_pool_related: Optional[bool] = None, - address: Optional[List[str]] = None, - per_page: Optional[int] = None, - token: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_explorer_pb.GetBankTransfersRequest( - senders=senders, - recipients=recipients, - is_community_pool_related=is_community_pool_related, - limit=pagination.limit, - skip=pagination.skip, - start_time=pagination.start_time, - end_time=pagination.end_time, - address=address, - per_page=per_page, - token=token, - ) - - response = await self._execute_call(call=self._stub.GetBankTransfers, request=request) - - return response - - async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: - return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_insurance_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_insurance_api.py deleted file mode 100644 index ea658bda..00000000 --- a/pyinjective/client/indexer/grpc/indexer_grpc_insurance_api.py +++ /dev/null @@ -1,40 +0,0 @@ -from typing import Any, Callable, Dict, Optional - -from grpc.aio import Channel - -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_insurance_rpc_pb2 as exchange_insurance_pb, - injective_insurance_rpc_pb2_grpc as exchange_insurance_grpc, -) -from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant - - -class IndexerGrpcInsuranceApi: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_insurance_grpc.InjectiveInsuranceRPCStub(channel) - self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) - - async def fetch_insurance_funds(self) -> Dict[str, Any]: - request = exchange_insurance_pb.FundsRequest() - response = await self._execute_call(call=self._stub.Funds, request=request) - - return response - - async def fetch_redemptions( - self, - address: Optional[str] = None, - denom: Optional[str] = None, - status: Optional[str] = None, - ) -> Dict[str, Any]: - request = exchange_insurance_pb.RedemptionsRequest( - redeemer=address, - redemption_denom=denom, - status=status, - ) - response = await self._execute_call(call=self._stub.Redemptions, request=request) - - return response - - async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: - return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_meta_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_meta_api.py deleted file mode 100644 index 0d06f884..00000000 --- a/pyinjective/client/indexer/grpc/indexer_grpc_meta_api.py +++ /dev/null @@ -1,38 +0,0 @@ -import time -from typing import Any, Callable, Dict - -from grpc.aio import Channel - -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_meta_rpc_pb2 as exchange_meta_pb, - injective_meta_rpc_pb2_grpc as exchange_meta_grpc, -) -from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant - - -class IndexerGrpcMetaApi: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_meta_grpc.InjectiveMetaRPCStub(channel) - self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) - - async def fetch_ping(self) -> Dict[str, Any]: - request = exchange_meta_pb.PingRequest() - response = await self._execute_call(call=self._stub.Ping, request=request) - - return response - - async def fetch_version(self) -> Dict[str, Any]: - request = exchange_meta_pb.VersionRequest() - response = await self._execute_call(call=self._stub.Version, request=request) - - return response - - async def fetch_info(self) -> Dict[str, Any]: - request = exchange_meta_pb.InfoRequest(timestamp=int(time.time() * 1000)) - response = await self._execute_call(call=self._stub.Info, request=request) - - return response - - async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: - return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_oracle_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_oracle_api.py deleted file mode 100644 index ccf16ee9..00000000 --- a/pyinjective/client/indexer/grpc/indexer_grpc_oracle_api.py +++ /dev/null @@ -1,42 +0,0 @@ -from typing import Any, Callable, Dict, Optional - -from grpc.aio import Channel - -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_oracle_rpc_pb2 as exchange_oracle_pb, - injective_oracle_rpc_pb2_grpc as exchange_oracle_grpc, -) -from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant - - -class IndexerGrpcOracleApi: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_oracle_grpc.InjectiveOracleRPCStub(channel) - self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) - - async def fetch_oracle_list(self) -> Dict[str, Any]: - request = exchange_oracle_pb.OracleListRequest() - response = await self._execute_call(call=self._stub.OracleList, request=request) - - return response - - async def fetch_oracle_price( - self, - base_symbol: Optional[str] = None, - quote_symbol: Optional[str] = None, - oracle_type: Optional[str] = None, - oracle_scale_factor: Optional[int] = None, - ) -> Dict[str, Any]: - request = exchange_oracle_pb.PriceRequest( - base_symbol=base_symbol, - quote_symbol=quote_symbol, - oracle_type=oracle_type, - oracle_scale_factor=oracle_scale_factor, - ) - response = await self._execute_call(call=self._stub.Price, request=request) - - return response - - async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: - return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_portfolio_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_portfolio_api.py deleted file mode 100644 index d9d7460c..00000000 --- a/pyinjective/client/indexer/grpc/indexer_grpc_portfolio_api.py +++ /dev/null @@ -1,31 +0,0 @@ -from typing import Any, Callable, Dict - -from grpc.aio import Channel - -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_portfolio_rpc_pb2 as exchange_portfolio_pb, - injective_portfolio_rpc_pb2_grpc as exchange_portfolio_grpc, -) -from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant - - -class IndexerGrpcPortfolioApi: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_portfolio_grpc.InjectivePortfolioRPCStub(channel) - self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) - - async def fetch_account_portfolio(self, account_address: str) -> Dict[str, Any]: - request = exchange_portfolio_pb.AccountPortfolioRequest(account_address=account_address) - response = await self._execute_call(call=self._stub.AccountPortfolio, request=request) - - return response - - async def fetch_account_portfolio_balances(self, account_address: str) -> Dict[str, Any]: - request = exchange_portfolio_pb.AccountPortfolioBalancesRequest(account_address=account_address) - response = await self._execute_call(call=self._stub.AccountPortfolioBalances, request=request) - - return response - - async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: - return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py b/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py deleted file mode 100644 index f91ecaf8..00000000 --- a/pyinjective/client/indexer/grpc/indexer_grpc_spot_api.py +++ /dev/null @@ -1,241 +0,0 @@ -from typing import Any, Callable, Dict, List, Optional - -from grpc.aio import Channel - -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_spot_exchange_rpc_pb2 as exchange_spot_pb, - injective_spot_exchange_rpc_pb2_grpc as exchange_spot_grpc, -) -from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant - - -class IndexerGrpcSpotApi: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_spot_grpc.InjectiveSpotExchangeRPCStub(channel) - self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) - - async def fetch_markets( - self, - market_statuses: Optional[List[str]] = None, - base_denom: Optional[str] = None, - quote_denom: Optional[str] = None, - ) -> Dict[str, Any]: - request = exchange_spot_pb.MarketsRequest( - market_statuses=market_statuses, - base_denom=base_denom, - quote_denom=quote_denom, - ) - response = await self._execute_call(call=self._stub.Markets, request=request) - - return response - - async def fetch_market(self, market_id: str) -> Dict[str, Any]: - request = exchange_spot_pb.MarketRequest(market_id=market_id) - response = await self._execute_call(call=self._stub.Market, request=request) - - return response - - async def fetch_orderbook_v2(self, market_id: str) -> Dict[str, Any]: - request = exchange_spot_pb.OrderbookV2Request(market_id=market_id) - response = await self._execute_call(call=self._stub.OrderbookV2, request=request) - - return response - - async def fetch_orderbooks_v2(self, market_ids: List[str]) -> Dict[str, Any]: - request = exchange_spot_pb.OrderbooksV2Request(market_ids=market_ids) - response = await self._execute_call(call=self._stub.OrderbooksV2, request=request) - - return response - - async def fetch_orders( - self, - market_ids: Optional[List[str]] = None, - order_side: Optional[str] = None, - subaccount_id: Optional[str] = None, - include_inactive: Optional[bool] = None, - subaccount_total_orders: Optional[bool] = None, - trade_id: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_spot_pb.OrdersRequest( - market_ids=market_ids, - order_side=order_side, - subaccount_id=subaccount_id, - skip=pagination.skip, - limit=pagination.limit, - start_time=pagination.start_time, - end_time=pagination.end_time, - include_inactive=include_inactive, - subaccount_total_orders=subaccount_total_orders, - trade_id=trade_id, - cid=cid, - ) - - response = await self._execute_call(call=self._stub.Orders, request=request) - - return response - - async def fetch_trades( - self, - market_ids: Optional[List[str]] = None, - subaccount_ids: Optional[List[str]] = None, - execution_side: Optional[str] = None, - direction: Optional[str] = None, - execution_types: Optional[List[str]] = None, - trade_id: Optional[str] = None, - account_address: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_spot_pb.TradesRequest( - market_ids=market_ids, - subaccount_ids=subaccount_ids, - execution_side=execution_side, - direction=direction, - skip=pagination.skip, - limit=pagination.limit, - start_time=pagination.start_time, - end_time=pagination.end_time, - execution_types=execution_types, - trade_id=trade_id, - account_address=account_address, - cid=cid, - ) - - response = await self._execute_call(call=self._stub.Trades, request=request) - - return response - - async def fetch_subaccount_orders_list( - self, - subaccount_id: str, - market_id: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_spot_pb.SubaccountOrdersListRequest( - subaccount_id=subaccount_id, - market_id=market_id, - skip=pagination.skip, - limit=pagination.limit, - ) - - response = await self._execute_call(call=self._stub.SubaccountOrdersList, request=request) - - return response - - async def fetch_subaccount_trades_list( - self, - subaccount_id: str, - market_id: Optional[str] = None, - execution_type: Optional[str] = None, - direction: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_spot_pb.SubaccountTradesListRequest( - subaccount_id=subaccount_id, - market_id=market_id, - execution_type=execution_type, - direction=direction, - skip=pagination.skip, - limit=pagination.limit, - ) - - response = await self._execute_call(call=self._stub.SubaccountTradesList, request=request) - - return response - - async def fetch_orders_history( - self, - subaccount_id: Optional[str] = None, - market_ids: Optional[List[str]] = None, - order_types: Optional[List[str]] = None, - direction: Optional[str] = None, - state: Optional[str] = None, - execution_types: Optional[List[str]] = None, - trade_id: Optional[str] = None, - active_markets_only: Optional[bool] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_spot_pb.OrdersHistoryRequest( - subaccount_id=subaccount_id, - market_ids=market_ids, - skip=pagination.skip, - limit=pagination.limit, - order_types=order_types, - direction=direction, - start_time=pagination.start_time, - end_time=pagination.end_time, - state=state, - execution_types=execution_types, - trade_id=trade_id, - active_markets_only=active_markets_only, - cid=cid, - ) - - response = await self._execute_call(call=self._stub.OrdersHistory, request=request) - - return response - - async def fetch_atomic_swap_history( - self, - address: str, - contract_address: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_spot_pb.AtomicSwapHistoryRequest( - address=address, - contract_address=contract_address, - skip=pagination.skip, - limit=pagination.limit, - from_number=pagination.from_number, - to_number=pagination.to_number, - ) - - response = await self._execute_call(call=self._stub.AtomicSwapHistory, request=request) - - return response - - async def fetch_trades_v2( - self, - market_ids: Optional[List[str]] = None, - subaccount_ids: Optional[List[str]] = None, - execution_side: Optional[str] = None, - direction: Optional[str] = None, - execution_types: Optional[List[str]] = None, - trade_id: Optional[str] = None, - account_address: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - pagination = pagination or PaginationOption() - request = exchange_spot_pb.TradesV2Request( - market_ids=market_ids, - subaccount_ids=subaccount_ids, - execution_side=execution_side, - direction=direction, - skip=pagination.skip, - limit=pagination.limit, - start_time=pagination.start_time, - end_time=pagination.end_time, - execution_types=execution_types, - trade_id=trade_id, - account_address=account_address, - cid=cid, - ) - - response = await self._execute_call(call=self._stub.TradesV2, request=request) - - return response - - async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: - return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/client/indexer/grpc_stream/__init__.py b/pyinjective/client/indexer/grpc_stream/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/pyinjective/client/indexer/grpc_stream/indexer_grpc_account_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_account_stream.py deleted file mode 100644 index 6fcaf1c8..00000000 --- a/pyinjective/client/indexer/grpc_stream/indexer_grpc_account_stream.py +++ /dev/null @@ -1,37 +0,0 @@ -from typing import Callable, List, Optional - -from grpc.aio import Channel - -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_accounts_rpc_pb2 as exchange_accounts_pb, - injective_accounts_rpc_pb2_grpc as exchange_accounts_grpc, -) -from pyinjective.utils.grpc_api_stream_assistant import GrpcApiStreamAssistant - - -class IndexerGrpcAccountStream: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_accounts_grpc.InjectiveAccountsRPCStub(channel) - self._assistant = GrpcApiStreamAssistant(cookie_assistant=cookie_assistant) - - async def stream_subaccount_balance( - self, - subaccount_id: str, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - denoms: Optional[List[str]] = None, - ): - request = exchange_accounts_pb.StreamSubaccountBalanceRequest( - subaccount_id=subaccount_id, - denoms=denoms, - ) - - await self._assistant.listen_stream( - call=self._stub.StreamSubaccountBalance, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) diff --git a/pyinjective/client/indexer/grpc_stream/indexer_grpc_auction_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_auction_stream.py deleted file mode 100644 index f2477c82..00000000 --- a/pyinjective/client/indexer/grpc_stream/indexer_grpc_auction_stream.py +++ /dev/null @@ -1,32 +0,0 @@ -from typing import Callable, Optional - -from grpc.aio import Channel - -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_auction_rpc_pb2 as exchange_auction_pb, - injective_auction_rpc_pb2_grpc as exchange_auction_grpc, -) -from pyinjective.utils.grpc_api_stream_assistant import GrpcApiStreamAssistant - - -class IndexerGrpcAuctionStream: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_auction_grpc.InjectiveAuctionRPCStub(channel) - self._assistant = GrpcApiStreamAssistant(cookie_assistant=cookie_assistant) - - async def stream_bids( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - ): - request = exchange_auction_pb.StreamBidsRequest() - - await self._assistant.listen_stream( - call=self._stub.StreamBids, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) diff --git a/pyinjective/client/indexer/grpc_stream/indexer_grpc_derivative_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_derivative_stream.py deleted file mode 100644 index 2759e6a5..00000000 --- a/pyinjective/client/indexer/grpc_stream/indexer_grpc_derivative_stream.py +++ /dev/null @@ -1,236 +0,0 @@ -from typing import Callable, List, Optional - -from grpc.aio import Channel - -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_derivative_exchange_rpc_pb2 as exchange_derivative_pb, - injective_derivative_exchange_rpc_pb2_grpc as exchange_derivative_grpc, -) -from pyinjective.utils.grpc_api_stream_assistant import GrpcApiStreamAssistant - - -class IndexerGrpcDerivativeStream: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_derivative_grpc.InjectiveDerivativeExchangeRPCStub(channel) - self._assistant = GrpcApiStreamAssistant(cookie_assistant=cookie_assistant) - - async def stream_market( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - market_ids: Optional[List[str]] = None, - ): - request = exchange_derivative_pb.StreamMarketRequest( - market_ids=market_ids, - ) - - await self._assistant.listen_stream( - call=self._stub.StreamMarket, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_orderbook_v2( - self, - market_ids: List[str], - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - ): - request = exchange_derivative_pb.StreamOrderbookV2Request(market_ids=market_ids) - - await self._assistant.listen_stream( - call=self._stub.StreamOrderbookV2, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_orderbook_update( - self, - market_ids: List[str], - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - ): - request = exchange_derivative_pb.StreamOrderbookUpdateRequest(market_ids=market_ids) - - await self._assistant.listen_stream( - call=self._stub.StreamOrderbookUpdate, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_positions( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - market_ids: Optional[List[str]] = None, - subaccount_ids: Optional[List[str]] = None, - ): - request = exchange_derivative_pb.StreamPositionsRequest(market_ids=market_ids, subaccount_ids=subaccount_ids) - - await self._assistant.listen_stream( - call=self._stub.StreamPositions, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_orders( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - market_ids: Optional[List[str]] = None, - order_side: Optional[str] = None, - subaccount_id: Optional[PaginationOption] = None, - is_conditional: Optional[str] = None, - order_type: Optional[str] = None, - include_inactive: Optional[bool] = None, - subaccount_total_orders: Optional[bool] = None, - trade_id: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ): - pagination = pagination or PaginationOption() - request = exchange_derivative_pb.StreamOrdersRequest( - market_ids=market_ids, - order_side=order_side, - subaccount_id=subaccount_id, - skip=pagination.skip, - limit=pagination.limit, - start_time=pagination.start_time, - end_time=pagination.end_time, - is_conditional=is_conditional, - order_type=order_type, - include_inactive=include_inactive, - subaccount_total_orders=subaccount_total_orders, - trade_id=trade_id, - cid=cid, - ) - - await self._assistant.listen_stream( - call=self._stub.StreamOrders, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_trades( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - market_ids: Optional[List[str]] = None, - execution_side: Optional[str] = None, - direction: Optional[str] = None, - subaccount_ids: Optional[List[str]] = None, - execution_types: Optional[List[str]] = None, - trade_id: Optional[str] = None, - account_address: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ): - pagination = pagination or PaginationOption() - request = exchange_derivative_pb.StreamTradesRequest( - execution_side=execution_side, - direction=direction, - skip=pagination.skip, - limit=pagination.limit, - start_time=pagination.start_time, - end_time=pagination.end_time, - market_ids=market_ids, - subaccount_ids=subaccount_ids, - execution_types=execution_types, - trade_id=trade_id, - account_address=account_address, - cid=cid, - ) - - await self._assistant.listen_stream( - call=self._stub.StreamTrades, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_orders_history( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - subaccount_id: Optional[str] = None, - market_id: Optional[str] = None, - order_types: Optional[List[str]] = None, - direction: Optional[str] = None, - state: Optional[str] = None, - execution_types: Optional[List[str]] = None, - ): - request = exchange_derivative_pb.StreamOrdersHistoryRequest( - subaccount_id=subaccount_id, - market_id=market_id, - order_types=order_types, - direction=direction, - state=state, - execution_types=execution_types, - ) - - await self._assistant.listen_stream( - call=self._stub.StreamOrdersHistory, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_trades_v2( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - market_ids: Optional[List[str]] = None, - execution_side: Optional[str] = None, - direction: Optional[str] = None, - subaccount_ids: Optional[List[str]] = None, - execution_types: Optional[List[str]] = None, - trade_id: Optional[str] = None, - account_address: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ): - pagination = pagination or PaginationOption() - request = exchange_derivative_pb.StreamTradesV2Request( - execution_side=execution_side, - direction=direction, - skip=pagination.skip, - limit=pagination.limit, - start_time=pagination.start_time, - end_time=pagination.end_time, - market_ids=market_ids, - subaccount_ids=subaccount_ids, - execution_types=execution_types, - trade_id=trade_id, - account_address=account_address, - cid=cid, - ) - - await self._assistant.listen_stream( - call=self._stub.StreamTradesV2, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) diff --git a/pyinjective/client/indexer/grpc_stream/indexer_grpc_explorer_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_explorer_stream.py deleted file mode 100644 index faf96647..00000000 --- a/pyinjective/client/indexer/grpc_stream/indexer_grpc_explorer_stream.py +++ /dev/null @@ -1,48 +0,0 @@ -from typing import Callable, Optional - -from grpc.aio import Channel - -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_explorer_rpc_pb2 as exchange_explorer_pb, - injective_explorer_rpc_pb2_grpc as exchange_explorer_grpc, -) -from pyinjective.utils.grpc_api_stream_assistant import GrpcApiStreamAssistant - - -class IndexerGrpcExplorerStream: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_explorer_grpc.InjectiveExplorerRPCStub(channel) - self._assistant = GrpcApiStreamAssistant(cookie_assistant=cookie_assistant) - - async def stream_txs( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - ): - request = exchange_explorer_pb.StreamTxsRequest() - - await self._assistant.listen_stream( - call=self._stub.StreamTxs, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_blocks( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - ): - request = exchange_explorer_pb.StreamBlocksRequest() - - await self._assistant.listen_stream( - call=self._stub.StreamBlocks, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) diff --git a/pyinjective/client/indexer/grpc_stream/indexer_grpc_meta_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_meta_stream.py deleted file mode 100644 index bc2a9a7c..00000000 --- a/pyinjective/client/indexer/grpc_stream/indexer_grpc_meta_stream.py +++ /dev/null @@ -1,32 +0,0 @@ -from typing import Callable, Optional - -from grpc.aio import Channel - -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_meta_rpc_pb2 as exchange_meta_pb, - injective_meta_rpc_pb2_grpc as exchange_meta_grpc, -) -from pyinjective.utils.grpc_api_stream_assistant import GrpcApiStreamAssistant - - -class IndexerGrpcMetaStream: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_meta_grpc.InjectiveMetaRPCStub(channel) - self._assistant = GrpcApiStreamAssistant(cookie_assistant=cookie_assistant) - - async def stream_keepalive( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - ): - request = exchange_meta_pb.StreamKeepaliveRequest() - - await self._assistant.listen_stream( - call=self._stub.StreamKeepalive, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) diff --git a/pyinjective/client/indexer/grpc_stream/indexer_grpc_oracle_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_oracle_stream.py deleted file mode 100644 index 5ff2e4d5..00000000 --- a/pyinjective/client/indexer/grpc_stream/indexer_grpc_oracle_stream.py +++ /dev/null @@ -1,58 +0,0 @@ -from typing import Callable, List, Optional - -from grpc.aio import Channel - -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_oracle_rpc_pb2 as exchange_oracle_pb, - injective_oracle_rpc_pb2_grpc as exchange_oracle_grpc, -) -from pyinjective.utils.grpc_api_stream_assistant import GrpcApiStreamAssistant - - -class IndexerGrpcOracleStream: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_oracle_grpc.InjectiveOracleRPCStub(channel) - self._assistant = GrpcApiStreamAssistant(cookie_assistant=cookie_assistant) - - async def stream_oracle_prices( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - base_symbol: Optional[str] = None, - quote_symbol: Optional[str] = None, - oracle_type: Optional[str] = None, - ): - request = exchange_oracle_pb.StreamPricesRequest( - base_symbol=base_symbol, - quote_symbol=quote_symbol, - oracle_type=oracle_type, - ) - - await self._assistant.listen_stream( - call=self._stub.StreamPrices, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_oracle_prices_by_markets( - self, - market_ids: List[str], - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - ): - request = exchange_oracle_pb.StreamPricesByMarketsRequest( - market_ids=market_ids, - ) - - await self._assistant.listen_stream( - call=self._stub.StreamPricesByMarkets, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) diff --git a/pyinjective/client/indexer/grpc_stream/indexer_grpc_portfolio_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_portfolio_stream.py deleted file mode 100644 index e1c202d2..00000000 --- a/pyinjective/client/indexer/grpc_stream/indexer_grpc_portfolio_stream.py +++ /dev/null @@ -1,39 +0,0 @@ -from typing import Callable, Optional - -from grpc.aio import Channel - -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_portfolio_rpc_pb2 as exchange_portfolio_pb, - injective_portfolio_rpc_pb2_grpc as exchange_portfolio_grpc, -) -from pyinjective.utils.grpc_api_stream_assistant import GrpcApiStreamAssistant - - -class IndexerGrpcPortfolioStream: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_portfolio_grpc.InjectivePortfolioRPCStub(channel) - self._assistant = GrpcApiStreamAssistant(cookie_assistant=cookie_assistant) - - async def stream_account_portfolio( - self, - account_address: str, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - subaccount_id: Optional[str] = None, - update_type: Optional[str] = None, - ): - request = exchange_portfolio_pb.StreamAccountPortfolioRequest( - account_address=account_address, - subaccount_id=subaccount_id, - type=update_type, - ) - - await self._assistant.listen_stream( - call=self._stub.StreamAccountPortfolio, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) diff --git a/pyinjective/client/indexer/grpc_stream/indexer_grpc_spot_stream.py b/pyinjective/client/indexer/grpc_stream/indexer_grpc_spot_stream.py deleted file mode 100644 index 0d7f32c9..00000000 --- a/pyinjective/client/indexer/grpc_stream/indexer_grpc_spot_stream.py +++ /dev/null @@ -1,214 +0,0 @@ -from typing import Callable, List, Optional - -from grpc.aio import Channel - -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.exchange import ( - injective_spot_exchange_rpc_pb2 as exchange_spot_pb, - injective_spot_exchange_rpc_pb2_grpc as exchange_spot_grpc, -) -from pyinjective.utils.grpc_api_stream_assistant import GrpcApiStreamAssistant - - -class IndexerGrpcSpotStream: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = self._stub = exchange_spot_grpc.InjectiveSpotExchangeRPCStub(channel) - self._assistant = GrpcApiStreamAssistant(cookie_assistant=cookie_assistant) - - async def stream_markets( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - market_ids: Optional[List[str]] = None, - ): - request = exchange_spot_pb.StreamMarketsRequest( - market_ids=market_ids, - ) - - await self._assistant.listen_stream( - call=self._stub.StreamMarkets, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_orderbook_v2( - self, - market_ids: List[str], - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - ): - request = exchange_spot_pb.StreamOrderbookV2Request(market_ids=market_ids) - - await self._assistant.listen_stream( - call=self._stub.StreamOrderbookV2, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_orderbook_update( - self, - market_ids: List[str], - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - ): - request = exchange_spot_pb.StreamOrderbookUpdateRequest(market_ids=market_ids) - - await self._assistant.listen_stream( - call=self._stub.StreamOrderbookUpdate, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_orders( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - market_ids: Optional[List[str]] = None, - order_side: Optional[str] = None, - subaccount_id: Optional[PaginationOption] = None, - include_inactive: Optional[bool] = None, - subaccount_total_orders: Optional[bool] = None, - trade_id: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ): - pagination = pagination or PaginationOption() - request = exchange_spot_pb.StreamOrdersRequest( - market_ids=market_ids, - order_side=order_side, - subaccount_id=subaccount_id, - skip=pagination.skip, - limit=pagination.limit, - start_time=pagination.start_time, - end_time=pagination.end_time, - include_inactive=include_inactive, - subaccount_total_orders=subaccount_total_orders, - trade_id=trade_id, - cid=cid, - ) - - await self._assistant.listen_stream( - call=self._stub.StreamOrders, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_trades( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - market_ids: Optional[List[str]] = None, - subaccount_ids: Optional[List[str]] = None, - execution_side: Optional[str] = None, - direction: Optional[str] = None, - execution_types: Optional[List[str]] = None, - trade_id: Optional[str] = None, - account_address: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ): - pagination = pagination or PaginationOption() - request = exchange_spot_pb.StreamTradesRequest( - execution_side=execution_side, - direction=direction, - skip=pagination.skip, - limit=pagination.limit, - start_time=pagination.start_time, - end_time=pagination.end_time, - market_ids=market_ids, - subaccount_ids=subaccount_ids, - execution_types=execution_types, - trade_id=trade_id, - account_address=account_address, - cid=cid, - ) - - await self._assistant.listen_stream( - call=self._stub.StreamTrades, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_orders_history( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - subaccount_id: Optional[str] = None, - market_id: Optional[str] = None, - order_types: Optional[List[str]] = None, - direction: Optional[str] = None, - state: Optional[str] = None, - execution_types: Optional[List[str]] = None, - ): - request = exchange_spot_pb.StreamOrdersHistoryRequest( - subaccount_id=subaccount_id, - market_id=market_id, - order_types=order_types, - direction=direction, - state=state, - execution_types=execution_types, - ) - - await self._assistant.listen_stream( - call=self._stub.StreamOrdersHistory, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) - - async def stream_trades_v2( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - market_ids: Optional[List[str]] = None, - subaccount_ids: Optional[List[str]] = None, - execution_side: Optional[str] = None, - direction: Optional[str] = None, - execution_types: Optional[List[str]] = None, - trade_id: Optional[str] = None, - account_address: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ): - pagination = pagination or PaginationOption() - request = exchange_spot_pb.StreamTradesV2Request( - execution_side=execution_side, - direction=direction, - skip=pagination.skip, - limit=pagination.limit, - start_time=pagination.start_time, - end_time=pagination.end_time, - market_ids=market_ids, - subaccount_ids=subaccount_ids, - execution_types=execution_types, - trade_id=trade_id, - account_address=account_address, - cid=cid, - ) - - await self._assistant.listen_stream( - call=self._stub.StreamTradesV2, - request=request, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - ) diff --git a/pyinjective/client/model/__init__.py b/pyinjective/client/model/__init__.py index e69de29b..eb5fa24e 100644 --- a/pyinjective/client/model/__init__.py +++ b/pyinjective/client/model/__init__.py @@ -0,0 +1,70 @@ +import base64 +from typing import Optional + +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb + + +class PaginationOption: + def __init__( + self, + encoded_page_key: Optional[str] = None, + skip: Optional[int] = None, + limit: Optional[int] = None, + start_time: Optional[int] = None, + end_time: Optional[int] = None, + reverse: Optional[bool] = None, + count_total: Optional[bool] = None, + from_number: Optional[int] = None, + to_number: Optional[int] = None, + ): + super().__init__() + self.encoded_page_key = encoded_page_key + self.skip = skip + self.limit = limit + self.start_time = start_time + self.end_time = end_time + self.reverse = reverse + self.count_total = count_total + self.from_number = from_number + self.to_number = to_number + + def create_pagination_request(self) -> pagination_pb.PageRequest: + page_request = pagination_pb.PageRequest() + + if self.encoded_page_key is not None and self.encoded_page_key != "": + page_key = base64.b64decode(self.encoded_page_key) + page_request.key = page_key + if self.skip is not None: + page_request.offset = self.skip + if self.limit is not None: + page_request.limit = self.limit + if self.reverse is not None: + page_request.reverse = self.reverse + if self.count_total is not None: + page_request.count_total = self.count_total + + return page_request + + +class Pagination: + def __init__( + self, + next: Optional[str] = None, + total: Optional[int] = None, + ): + super().__init__() + self.next = next + self.total = total + + @classmethod + def from_proto(cls, proto_pagination: pagination_pb.PageResponse): + next = None + + if proto_pagination.next_key is not None: + next = f"0x{proto_pagination.next_key.hex()}" + total = proto_pagination.total + + return cls( + next=next, + total=total, + ) diff --git a/pyinjective/client/model/pagination.py b/pyinjective/client/model/pagination.py deleted file mode 100644 index eb5fa24e..00000000 --- a/pyinjective/client/model/pagination.py +++ /dev/null @@ -1,70 +0,0 @@ -import base64 -from typing import Optional - -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb - - -class PaginationOption: - def __init__( - self, - encoded_page_key: Optional[str] = None, - skip: Optional[int] = None, - limit: Optional[int] = None, - start_time: Optional[int] = None, - end_time: Optional[int] = None, - reverse: Optional[bool] = None, - count_total: Optional[bool] = None, - from_number: Optional[int] = None, - to_number: Optional[int] = None, - ): - super().__init__() - self.encoded_page_key = encoded_page_key - self.skip = skip - self.limit = limit - self.start_time = start_time - self.end_time = end_time - self.reverse = reverse - self.count_total = count_total - self.from_number = from_number - self.to_number = to_number - - def create_pagination_request(self) -> pagination_pb.PageRequest: - page_request = pagination_pb.PageRequest() - - if self.encoded_page_key is not None and self.encoded_page_key != "": - page_key = base64.b64decode(self.encoded_page_key) - page_request.key = page_key - if self.skip is not None: - page_request.offset = self.skip - if self.limit is not None: - page_request.limit = self.limit - if self.reverse is not None: - page_request.reverse = self.reverse - if self.count_total is not None: - page_request.count_total = self.count_total - - return page_request - - -class Pagination: - def __init__( - self, - next: Optional[str] = None, - total: Optional[int] = None, - ): - super().__init__() - self.next = next - self.total = total - - @classmethod - def from_proto(cls, proto_pagination: pagination_pb.PageResponse): - next = None - - if proto_pagination.next_key is not None: - next = f"0x{proto_pagination.next_key.hex()}" - total = proto_pagination.total - - return cls( - next=next, - total=total, - ) diff --git a/pyinjective/core/ibc/channel/grpc/__init__.py b/pyinjective/core/ibc/channel/grpc/__init__.py index e69de29b..362e67e2 100644 --- a/pyinjective/core/ibc/channel/grpc/__init__.py +++ b/pyinjective/core/ibc/channel/grpc/__init__.py @@ -0,0 +1,170 @@ +from typing import Any, Callable, Dict, List, Optional + +from grpc import Channel + +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import CookieAssistant +from pyinjective.proto.ibc.core.channel.v1 import ( + query_pb2 as ibc_channel_query, + query_pb2_grpc as ibc_channel_query_grpc, +) +from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant + + +class IBCChannelGrpcApi: + def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): + self._stub = ibc_channel_query_grpc.QueryStub(channel) + self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) + + async def fetch_channel(self, port_id: str, channel_id: str) -> Dict[str, Any]: + request = ibc_channel_query.QueryChannelRequest(port_id=port_id, channel_id=channel_id) + response = await self._execute_call(call=self._stub.Channel, request=request) + + return response + + async def fetch_channels(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + if pagination is None: + pagination = PaginationOption() + request = ibc_channel_query.QueryChannelsRequest(pagination=pagination.create_pagination_request()) + response = await self._execute_call(call=self._stub.Channels, request=request) + + return response + + async def fetch_connection_channels( + self, connection: str, pagination: Optional[PaginationOption] = None + ) -> Dict[str, Any]: + if pagination is None: + pagination = PaginationOption() + request = ibc_channel_query.QueryConnectionChannelsRequest( + connection=connection, pagination=pagination.create_pagination_request() + ) + response = await self._execute_call(call=self._stub.ConnectionChannels, request=request) + + return response + + async def fetch_channel_client_state( + self, + port_id: str, + channel_id: str, + ) -> Dict[str, Any]: + request = ibc_channel_query.QueryChannelClientStateRequest( + port_id=port_id, + channel_id=channel_id, + ) + response = await self._execute_call(call=self._stub.ChannelClientState, request=request) + + return response + + async def fetch_channel_consensus_state( + self, + port_id: str, + channel_id: str, + revision_number: int, + revision_height: int, + ) -> Dict[str, Any]: + request = ibc_channel_query.QueryChannelConsensusStateRequest( + port_id=port_id, + channel_id=channel_id, + revision_number=revision_number, + revision_height=revision_height, + ) + response = await self._execute_call(call=self._stub.ChannelConsensusState, request=request) + + return response + + async def fetch_packet_commitment( + self, + port_id: str, + channel_id: str, + sequence: int, + ) -> Dict[str, Any]: + request = ibc_channel_query.QueryPacketCommitmentRequest( + port_id=port_id, + channel_id=channel_id, + sequence=sequence, + ) + response = await self._execute_call(call=self._stub.PacketCommitment, request=request) + + return response + + async def fetch_packet_commitments( + self, port_id: str, channel_id: str, pagination: Optional[PaginationOption] = None + ) -> Dict[str, Any]: + if pagination is None: + pagination = PaginationOption() + request = ibc_channel_query.QueryPacketCommitmentsRequest( + port_id=port_id, channel_id=channel_id, pagination=pagination.create_pagination_request() + ) + response = await self._execute_call(call=self._stub.PacketCommitments, request=request) + + return response + + async def fetch_packet_receipt(self, port_id: str, channel_id: str, sequence: int) -> Dict[str, Any]: + request = ibc_channel_query.QueryPacketReceiptRequest(port_id=port_id, channel_id=channel_id, sequence=sequence) + response = await self._execute_call(call=self._stub.PacketReceipt, request=request) + + return response + + async def fetch_packet_acknowledgement(self, port_id: str, channel_id: str, sequence: int) -> Dict[str, Any]: + request = ibc_channel_query.QueryPacketAcknowledgementRequest( + port_id=port_id, channel_id=channel_id, sequence=sequence + ) + response = await self._execute_call(call=self._stub.PacketAcknowledgement, request=request) + + return response + + async def fetch_packet_acknowledgements( + self, + port_id: str, + channel_id: str, + packet_commitment_sequences: Optional[List[int]] = None, + pagination: Optional[PaginationOption] = None, + ) -> Dict[str, Any]: + if pagination is None: + pagination = PaginationOption() + + request = ibc_channel_query.QueryPacketAcknowledgementsRequest( + port_id=port_id, + channel_id=channel_id, + packet_commitment_sequences=packet_commitment_sequences, + pagination=pagination.create_pagination_request(), + ) + response = await self._execute_call(call=self._stub.PacketAcknowledgements, request=request) + + return response + + async def fetch_unreceived_packets( + self, port_id: str, channel_id: str, packet_commitment_sequences: Optional[List[int]] = None + ) -> Dict[str, Any]: + request = ibc_channel_query.QueryUnreceivedPacketsRequest( + port_id=port_id, + channel_id=channel_id, + packet_commitment_sequences=packet_commitment_sequences, + ) + response = await self._execute_call(call=self._stub.UnreceivedPackets, request=request) + + return response + + async def fetch_unreceived_acks( + self, port_id: str, channel_id: str, packet_ack_sequences: Optional[List[int]] = None + ) -> Dict[str, Any]: + request = ibc_channel_query.QueryUnreceivedAcksRequest( + port_id=port_id, + channel_id=channel_id, + packet_ack_sequences=packet_ack_sequences, + ) + response = await self._execute_call(call=self._stub.UnreceivedAcks, request=request) + + return response + + async def fetch_next_sequence_receive(self, port_id: str, channel_id: str) -> Dict[str, Any]: + request = ibc_channel_query.QueryNextSequenceReceiveRequest( + port_id=port_id, + channel_id=channel_id, + ) + response = await self._execute_call(call=self._stub.NextSequenceReceive, request=request) + + return response + + async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: + return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/core/ibc/channel/grpc/ibc_channel_grpc_api.py b/pyinjective/core/ibc/channel/grpc/ibc_channel_grpc_api.py deleted file mode 100644 index 362e67e2..00000000 --- a/pyinjective/core/ibc/channel/grpc/ibc_channel_grpc_api.py +++ /dev/null @@ -1,170 +0,0 @@ -from typing import Any, Callable, Dict, List, Optional - -from grpc import Channel - -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.ibc.core.channel.v1 import ( - query_pb2 as ibc_channel_query, - query_pb2_grpc as ibc_channel_query_grpc, -) -from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant - - -class IBCChannelGrpcApi: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = ibc_channel_query_grpc.QueryStub(channel) - self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) - - async def fetch_channel(self, port_id: str, channel_id: str) -> Dict[str, Any]: - request = ibc_channel_query.QueryChannelRequest(port_id=port_id, channel_id=channel_id) - response = await self._execute_call(call=self._stub.Channel, request=request) - - return response - - async def fetch_channels(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: - if pagination is None: - pagination = PaginationOption() - request = ibc_channel_query.QueryChannelsRequest(pagination=pagination.create_pagination_request()) - response = await self._execute_call(call=self._stub.Channels, request=request) - - return response - - async def fetch_connection_channels( - self, connection: str, pagination: Optional[PaginationOption] = None - ) -> Dict[str, Any]: - if pagination is None: - pagination = PaginationOption() - request = ibc_channel_query.QueryConnectionChannelsRequest( - connection=connection, pagination=pagination.create_pagination_request() - ) - response = await self._execute_call(call=self._stub.ConnectionChannels, request=request) - - return response - - async def fetch_channel_client_state( - self, - port_id: str, - channel_id: str, - ) -> Dict[str, Any]: - request = ibc_channel_query.QueryChannelClientStateRequest( - port_id=port_id, - channel_id=channel_id, - ) - response = await self._execute_call(call=self._stub.ChannelClientState, request=request) - - return response - - async def fetch_channel_consensus_state( - self, - port_id: str, - channel_id: str, - revision_number: int, - revision_height: int, - ) -> Dict[str, Any]: - request = ibc_channel_query.QueryChannelConsensusStateRequest( - port_id=port_id, - channel_id=channel_id, - revision_number=revision_number, - revision_height=revision_height, - ) - response = await self._execute_call(call=self._stub.ChannelConsensusState, request=request) - - return response - - async def fetch_packet_commitment( - self, - port_id: str, - channel_id: str, - sequence: int, - ) -> Dict[str, Any]: - request = ibc_channel_query.QueryPacketCommitmentRequest( - port_id=port_id, - channel_id=channel_id, - sequence=sequence, - ) - response = await self._execute_call(call=self._stub.PacketCommitment, request=request) - - return response - - async def fetch_packet_commitments( - self, port_id: str, channel_id: str, pagination: Optional[PaginationOption] = None - ) -> Dict[str, Any]: - if pagination is None: - pagination = PaginationOption() - request = ibc_channel_query.QueryPacketCommitmentsRequest( - port_id=port_id, channel_id=channel_id, pagination=pagination.create_pagination_request() - ) - response = await self._execute_call(call=self._stub.PacketCommitments, request=request) - - return response - - async def fetch_packet_receipt(self, port_id: str, channel_id: str, sequence: int) -> Dict[str, Any]: - request = ibc_channel_query.QueryPacketReceiptRequest(port_id=port_id, channel_id=channel_id, sequence=sequence) - response = await self._execute_call(call=self._stub.PacketReceipt, request=request) - - return response - - async def fetch_packet_acknowledgement(self, port_id: str, channel_id: str, sequence: int) -> Dict[str, Any]: - request = ibc_channel_query.QueryPacketAcknowledgementRequest( - port_id=port_id, channel_id=channel_id, sequence=sequence - ) - response = await self._execute_call(call=self._stub.PacketAcknowledgement, request=request) - - return response - - async def fetch_packet_acknowledgements( - self, - port_id: str, - channel_id: str, - packet_commitment_sequences: Optional[List[int]] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - if pagination is None: - pagination = PaginationOption() - - request = ibc_channel_query.QueryPacketAcknowledgementsRequest( - port_id=port_id, - channel_id=channel_id, - packet_commitment_sequences=packet_commitment_sequences, - pagination=pagination.create_pagination_request(), - ) - response = await self._execute_call(call=self._stub.PacketAcknowledgements, request=request) - - return response - - async def fetch_unreceived_packets( - self, port_id: str, channel_id: str, packet_commitment_sequences: Optional[List[int]] = None - ) -> Dict[str, Any]: - request = ibc_channel_query.QueryUnreceivedPacketsRequest( - port_id=port_id, - channel_id=channel_id, - packet_commitment_sequences=packet_commitment_sequences, - ) - response = await self._execute_call(call=self._stub.UnreceivedPackets, request=request) - - return response - - async def fetch_unreceived_acks( - self, port_id: str, channel_id: str, packet_ack_sequences: Optional[List[int]] = None - ) -> Dict[str, Any]: - request = ibc_channel_query.QueryUnreceivedAcksRequest( - port_id=port_id, - channel_id=channel_id, - packet_ack_sequences=packet_ack_sequences, - ) - response = await self._execute_call(call=self._stub.UnreceivedAcks, request=request) - - return response - - async def fetch_next_sequence_receive(self, port_id: str, channel_id: str) -> Dict[str, Any]: - request = ibc_channel_query.QueryNextSequenceReceiveRequest( - port_id=port_id, - channel_id=channel_id, - ) - response = await self._execute_call(call=self._stub.NextSequenceReceive, request=request) - - return response - - async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: - return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/core/ibc/client/grpc/__init__.py b/pyinjective/core/ibc/client/grpc/__init__.py index e69de29b..084dfd89 100644 --- a/pyinjective/core/ibc/client/grpc/__init__.py +++ b/pyinjective/core/ibc/client/grpc/__init__.py @@ -0,0 +1,96 @@ +from typing import Any, Callable, Dict, Optional + +from grpc import Channel + +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import CookieAssistant +from pyinjective.proto.ibc.core.client.v1 import query_pb2 as ibc_client_query, query_pb2_grpc as ibc_client_query_grpc +from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant + + +class IBCClientGrpcApi: + def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): + self._stub = ibc_client_query_grpc.QueryStub(channel) + self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) + + async def fetch_client_state(self, client_id: str) -> Dict[str, Any]: + request = ibc_client_query.QueryClientStateRequest(client_id=client_id) + response = await self._execute_call(call=self._stub.ClientState, request=request) + + return response + + async def fetch_client_states(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + if pagination is None: + pagination = PaginationOption() + request = ibc_client_query.QueryClientStatesRequest(pagination=pagination.create_pagination_request()) + response = await self._execute_call(call=self._stub.ClientStates, request=request) + + return response + + async def fetch_consensus_state( + self, + client_id: str, + revision_number: int, + revision_height: int, + latest_height: Optional[bool] = None, + ) -> Dict[str, Any]: + request = ibc_client_query.QueryConsensusStateRequest( + client_id=client_id, + revision_number=revision_number, + revision_height=revision_height, + latest_height=latest_height, + ) + response = await self._execute_call(call=self._stub.ConsensusState, request=request) + + return response + + async def fetch_consensus_states( + self, client_id: str, pagination: Optional[PaginationOption] = None + ) -> Dict[str, Any]: + if pagination is None: + pagination = PaginationOption() + request = ibc_client_query.QueryConsensusStatesRequest( + client_id=client_id, pagination=pagination.create_pagination_request() + ) + response = await self._execute_call(call=self._stub.ConsensusStates, request=request) + + return response + + async def fetch_consensus_state_heights( + self, client_id: str, pagination: Optional[PaginationOption] = None + ) -> Dict[str, Any]: + if pagination is None: + pagination = PaginationOption() + request = ibc_client_query.QueryConsensusStateHeightsRequest( + client_id=client_id, pagination=pagination.create_pagination_request() + ) + response = await self._execute_call(call=self._stub.ConsensusStateHeights, request=request) + + return response + + async def fetch_client_status(self, client_id: str) -> Dict[str, Any]: + request = ibc_client_query.QueryClientStatusRequest(client_id=client_id) + response = await self._execute_call(call=self._stub.ClientStatus, request=request) + + return response + + async def fetch_client_params(self) -> Dict[str, Any]: + request = ibc_client_query.QueryClientParamsRequest() + response = await self._execute_call(call=self._stub.ClientParams, request=request) + + return response + + async def fetch_upgraded_client_state(self) -> Dict[str, Any]: + request = ibc_client_query.QueryUpgradedClientStateRequest() + response = await self._execute_call(call=self._stub.UpgradedClientState, request=request) + + return response + + async def fetch_upgraded_consensus_state(self) -> Dict[str, Any]: + request = ibc_client_query.QueryUpgradedConsensusStateRequest() + response = await self._execute_call(call=self._stub.UpgradedConsensusState, request=request) + + return response + + async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: + return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/core/ibc/client/grpc/ibc_client_grpc_api.py b/pyinjective/core/ibc/client/grpc/ibc_client_grpc_api.py deleted file mode 100644 index 084dfd89..00000000 --- a/pyinjective/core/ibc/client/grpc/ibc_client_grpc_api.py +++ /dev/null @@ -1,96 +0,0 @@ -from typing import Any, Callable, Dict, Optional - -from grpc import Channel - -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.ibc.core.client.v1 import query_pb2 as ibc_client_query, query_pb2_grpc as ibc_client_query_grpc -from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant - - -class IBCClientGrpcApi: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = ibc_client_query_grpc.QueryStub(channel) - self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) - - async def fetch_client_state(self, client_id: str) -> Dict[str, Any]: - request = ibc_client_query.QueryClientStateRequest(client_id=client_id) - response = await self._execute_call(call=self._stub.ClientState, request=request) - - return response - - async def fetch_client_states(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: - if pagination is None: - pagination = PaginationOption() - request = ibc_client_query.QueryClientStatesRequest(pagination=pagination.create_pagination_request()) - response = await self._execute_call(call=self._stub.ClientStates, request=request) - - return response - - async def fetch_consensus_state( - self, - client_id: str, - revision_number: int, - revision_height: int, - latest_height: Optional[bool] = None, - ) -> Dict[str, Any]: - request = ibc_client_query.QueryConsensusStateRequest( - client_id=client_id, - revision_number=revision_number, - revision_height=revision_height, - latest_height=latest_height, - ) - response = await self._execute_call(call=self._stub.ConsensusState, request=request) - - return response - - async def fetch_consensus_states( - self, client_id: str, pagination: Optional[PaginationOption] = None - ) -> Dict[str, Any]: - if pagination is None: - pagination = PaginationOption() - request = ibc_client_query.QueryConsensusStatesRequest( - client_id=client_id, pagination=pagination.create_pagination_request() - ) - response = await self._execute_call(call=self._stub.ConsensusStates, request=request) - - return response - - async def fetch_consensus_state_heights( - self, client_id: str, pagination: Optional[PaginationOption] = None - ) -> Dict[str, Any]: - if pagination is None: - pagination = PaginationOption() - request = ibc_client_query.QueryConsensusStateHeightsRequest( - client_id=client_id, pagination=pagination.create_pagination_request() - ) - response = await self._execute_call(call=self._stub.ConsensusStateHeights, request=request) - - return response - - async def fetch_client_status(self, client_id: str) -> Dict[str, Any]: - request = ibc_client_query.QueryClientStatusRequest(client_id=client_id) - response = await self._execute_call(call=self._stub.ClientStatus, request=request) - - return response - - async def fetch_client_params(self) -> Dict[str, Any]: - request = ibc_client_query.QueryClientParamsRequest() - response = await self._execute_call(call=self._stub.ClientParams, request=request) - - return response - - async def fetch_upgraded_client_state(self) -> Dict[str, Any]: - request = ibc_client_query.QueryUpgradedClientStateRequest() - response = await self._execute_call(call=self._stub.UpgradedClientState, request=request) - - return response - - async def fetch_upgraded_consensus_state(self) -> Dict[str, Any]: - request = ibc_client_query.QueryUpgradedConsensusStateRequest() - response = await self._execute_call(call=self._stub.UpgradedConsensusState, request=request) - - return response - - async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: - return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/core/ibc/connection/grpc/__init__.py b/pyinjective/core/ibc/connection/grpc/__init__.py index e69de29b..ab6d852e 100644 --- a/pyinjective/core/ibc/connection/grpc/__init__.py +++ b/pyinjective/core/ibc/connection/grpc/__init__.py @@ -0,0 +1,67 @@ +from typing import Any, Callable, Dict, Optional + +from grpc import Channel + +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import CookieAssistant +from pyinjective.proto.ibc.core.connection.v1 import ( + query_pb2 as ibc_connection_query, + query_pb2_grpc as ibc_connection_query_grpc, +) +from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant + + +class IBCConnectionGrpcApi: + def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): + self._stub = ibc_connection_query_grpc.QueryStub(channel) + self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) + + async def fetch_connection(self, connection_id: str) -> Dict[str, Any]: + request = ibc_connection_query.QueryConnectionRequest(connection_id=connection_id) + response = await self._execute_call(call=self._stub.Connection, request=request) + + return response + + async def fetch_connections(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + if pagination is None: + pagination = PaginationOption() + request = ibc_connection_query.QueryConnectionsRequest(pagination=pagination.create_pagination_request()) + response = await self._execute_call(call=self._stub.Connections, request=request) + + return response + + async def fetch_client_connections(self, client_id: str) -> Dict[str, Any]: + request = ibc_connection_query.QueryClientConnectionsRequest(client_id=client_id) + response = await self._execute_call(call=self._stub.ClientConnections, request=request) + + return response + + async def fetch_connection_client_state(self, connection_id: str) -> Dict[str, Any]: + request = ibc_connection_query.QueryConnectionClientStateRequest(connection_id=connection_id) + response = await self._execute_call(call=self._stub.ConnectionClientState, request=request) + + return response + + async def fetch_connection_consensus_state( + self, + connection_id: str, + revision_number: int, + revision_height: int, + ) -> Dict[str, Any]: + request = ibc_connection_query.QueryConnectionConsensusStateRequest( + connection_id=connection_id, + revision_number=revision_number, + revision_height=revision_height, + ) + response = await self._execute_call(call=self._stub.ConnectionConsensusState, request=request) + + return response + + async def fetch_connection_params(self) -> Dict[str, Any]: + request = ibc_connection_query.QueryConnectionParamsRequest() + response = await self._execute_call(call=self._stub.ConnectionParams, request=request) + + return response + + async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: + return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/core/ibc/connection/grpc/ibc_connection_grpc_api.py b/pyinjective/core/ibc/connection/grpc/ibc_connection_grpc_api.py deleted file mode 100644 index ab6d852e..00000000 --- a/pyinjective/core/ibc/connection/grpc/ibc_connection_grpc_api.py +++ /dev/null @@ -1,67 +0,0 @@ -from typing import Any, Callable, Dict, Optional - -from grpc import Channel - -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.ibc.core.connection.v1 import ( - query_pb2 as ibc_connection_query, - query_pb2_grpc as ibc_connection_query_grpc, -) -from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant - - -class IBCConnectionGrpcApi: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = ibc_connection_query_grpc.QueryStub(channel) - self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) - - async def fetch_connection(self, connection_id: str) -> Dict[str, Any]: - request = ibc_connection_query.QueryConnectionRequest(connection_id=connection_id) - response = await self._execute_call(call=self._stub.Connection, request=request) - - return response - - async def fetch_connections(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: - if pagination is None: - pagination = PaginationOption() - request = ibc_connection_query.QueryConnectionsRequest(pagination=pagination.create_pagination_request()) - response = await self._execute_call(call=self._stub.Connections, request=request) - - return response - - async def fetch_client_connections(self, client_id: str) -> Dict[str, Any]: - request = ibc_connection_query.QueryClientConnectionsRequest(client_id=client_id) - response = await self._execute_call(call=self._stub.ClientConnections, request=request) - - return response - - async def fetch_connection_client_state(self, connection_id: str) -> Dict[str, Any]: - request = ibc_connection_query.QueryConnectionClientStateRequest(connection_id=connection_id) - response = await self._execute_call(call=self._stub.ConnectionClientState, request=request) - - return response - - async def fetch_connection_consensus_state( - self, - connection_id: str, - revision_number: int, - revision_height: int, - ) -> Dict[str, Any]: - request = ibc_connection_query.QueryConnectionConsensusStateRequest( - connection_id=connection_id, - revision_number=revision_number, - revision_height=revision_height, - ) - response = await self._execute_call(call=self._stub.ConnectionConsensusState, request=request) - - return response - - async def fetch_connection_params(self) -> Dict[str, Any]: - request = ibc_connection_query.QueryConnectionParamsRequest() - response = await self._execute_call(call=self._stub.ConnectionParams, request=request) - - return response - - async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: - return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/core/ibc/transfer/grpc/__init__.py b/pyinjective/core/ibc/transfer/grpc/__init__.py index e69de29b..c2e5fa38 100644 --- a/pyinjective/core/ibc/transfer/grpc/__init__.py +++ b/pyinjective/core/ibc/transfer/grpc/__init__.py @@ -0,0 +1,58 @@ +from typing import Any, Callable, Dict, Optional + +from grpc.aio import Channel + +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import CookieAssistant +from pyinjective.proto.ibc.applications.transfer.v1 import ( + query_pb2 as ibc_transfer_query, + query_pb2_grpc as ibc_transfer_query_grpc, +) +from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant + + +class IBCTransferGrpcApi: + def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): + self._stub = ibc_transfer_query_grpc.QueryStub(channel) + self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) + + async def fetch_params(self) -> Dict[str, Any]: + request = ibc_transfer_query.QueryParamsRequest() + response = await self._execute_call(call=self._stub.Params, request=request) + + return response + + async def fetch_denom_trace(self, hash: str) -> Dict[str, Any]: + request = ibc_transfer_query.QueryDenomTraceRequest(hash=hash) + response = await self._execute_call(call=self._stub.DenomTrace, request=request) + + return response + + async def fetch_denom_traces(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: + if pagination is None: + pagination = PaginationOption() + request = ibc_transfer_query.QueryDenomTracesRequest(pagination=pagination.create_pagination_request()) + response = await self._execute_call(call=self._stub.DenomTraces, request=request) + + return response + + async def fetch_denom_hash(self, trace: str) -> Dict[str, Any]: + request = ibc_transfer_query.QueryDenomHashRequest(trace=trace) + response = await self._execute_call(call=self._stub.DenomHash, request=request) + + return response + + async def fetch_escrow_address(self, port_id: str, channel_id: str) -> Dict[str, Any]: + request = ibc_transfer_query.QueryEscrowAddressRequest(port_id=port_id, channel_id=channel_id) + response = await self._execute_call(call=self._stub.EscrowAddress, request=request) + + return response + + async def fetch_total_escrow_for_denom(self, denom: str) -> Dict[str, Any]: + request = ibc_transfer_query.QueryTotalEscrowForDenomRequest(denom=denom) + response = await self._execute_call(call=self._stub.TotalEscrowForDenom, request=request) + + return response + + async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: + return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/core/ibc/transfer/grpc/ibc_transfer_grpc_api.py b/pyinjective/core/ibc/transfer/grpc/ibc_transfer_grpc_api.py deleted file mode 100644 index c2e5fa38..00000000 --- a/pyinjective/core/ibc/transfer/grpc/ibc_transfer_grpc_api.py +++ /dev/null @@ -1,58 +0,0 @@ -from typing import Any, Callable, Dict, Optional - -from grpc.aio import Channel - -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.ibc.applications.transfer.v1 import ( - query_pb2 as ibc_transfer_query, - query_pb2_grpc as ibc_transfer_query_grpc, -) -from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant - - -class IBCTransferGrpcApi: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = ibc_transfer_query_grpc.QueryStub(channel) - self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) - - async def fetch_params(self) -> Dict[str, Any]: - request = ibc_transfer_query.QueryParamsRequest() - response = await self._execute_call(call=self._stub.Params, request=request) - - return response - - async def fetch_denom_trace(self, hash: str) -> Dict[str, Any]: - request = ibc_transfer_query.QueryDenomTraceRequest(hash=hash) - response = await self._execute_call(call=self._stub.DenomTrace, request=request) - - return response - - async def fetch_denom_traces(self, pagination: Optional[PaginationOption] = None) -> Dict[str, Any]: - if pagination is None: - pagination = PaginationOption() - request = ibc_transfer_query.QueryDenomTracesRequest(pagination=pagination.create_pagination_request()) - response = await self._execute_call(call=self._stub.DenomTraces, request=request) - - return response - - async def fetch_denom_hash(self, trace: str) -> Dict[str, Any]: - request = ibc_transfer_query.QueryDenomHashRequest(trace=trace) - response = await self._execute_call(call=self._stub.DenomHash, request=request) - - return response - - async def fetch_escrow_address(self, port_id: str, channel_id: str) -> Dict[str, Any]: - request = ibc_transfer_query.QueryEscrowAddressRequest(port_id=port_id, channel_id=channel_id) - response = await self._execute_call(call=self._stub.EscrowAddress, request=request) - - return response - - async def fetch_total_escrow_for_denom(self, denom: str) -> Dict[str, Any]: - request = ibc_transfer_query.QueryTotalEscrowForDenomRequest(denom=denom) - response = await self._execute_call(call=self._stub.TotalEscrowForDenom, request=request) - - return response - - async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: - return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/core/network.py b/pyinjective/core/network.py index 2fdf91fe..7ffd7e96 100644 --- a/pyinjective/core/network.py +++ b/pyinjective/core/network.py @@ -109,8 +109,6 @@ def __init__( lcd_endpoint: str, tm_websocket_endpoint: str, grpc_endpoint: str, - grpc_exchange_endpoint: str, - grpc_explorer_endpoint: str, chain_stream_endpoint: str, chain_id: str, fee_denom: str, @@ -136,8 +134,6 @@ def __init__( self.lcd_endpoint = lcd_endpoint self.tm_websocket_endpoint = tm_websocket_endpoint self.grpc_endpoint = grpc_endpoint - self.grpc_exchange_endpoint = grpc_exchange_endpoint - self.grpc_explorer_endpoint = grpc_explorer_endpoint self.chain_stream_endpoint = chain_stream_endpoint self.chain_id = chain_id self.fee_denom = fee_denom @@ -147,8 +143,6 @@ def __init__( self.explorer_cookie_assistant = explorer_cookie_assistant self.official_tokens_list_url = official_tokens_list_url self.grpc_channel_credentials = grpc_channel_credentials - self.grpc_exchange_channel_credentials = grpc_exchange_channel_credentials - self.grpc_explorer_channel_credentials = grpc_explorer_channel_credentials self.chain_stream_channel_credentials = chain_stream_channel_credentials @classmethod @@ -157,15 +151,11 @@ def devnet(cls): lcd_endpoint="https://devnet.lcd.injective.dev", tm_websocket_endpoint="wss://devnet.tm.injective.dev/websocket", grpc_endpoint="devnet.injective.dev:9900", - grpc_exchange_endpoint="devnet.injective.dev:9910", - grpc_explorer_endpoint="devnet.injective.dev:9911", chain_stream_endpoint="devnet.injective.dev:9999", chain_id="injective-777", fee_denom="inj", env="devnet", chain_cookie_assistant=DisabledCookieAssistant(), - exchange_cookie_assistant=DisabledCookieAssistant(), - explorer_cookie_assistant=DisabledCookieAssistant(), official_tokens_list_url="https://github.com/InjectiveLabs/injective-lists/raw/master/tokens/devnet.json", ) @@ -179,47 +169,31 @@ def testnet(cls, node="lb"): raise ValueError("Must be one of {}".format(nodes)) grpc_channel_credentials = grpc.ssl_channel_credentials() - grpc_exchange_channel_credentials = grpc.ssl_channel_credentials() - grpc_explorer_channel_credentials = grpc.ssl_channel_credentials() chain_stream_channel_credentials = grpc.ssl_channel_credentials() if node == "lb": lcd_endpoint = "https://testnet.sentry.lcd.injective.network:443" tm_websocket_endpoint = "wss://testnet.sentry.tm.injective.network:443/websocket" grpc_endpoint = "testnet.sentry.chain.grpc.injective.network:443" - grpc_exchange_endpoint = "testnet.sentry.exchange.grpc.injective.network:443" - grpc_explorer_endpoint = "testnet.sentry.explorer.grpc.injective.network:443" chain_stream_endpoint = "testnet.sentry.chain.stream.injective.network:443" chain_cookie_assistant = BareMetalLoadBalancedCookieAssistant() - exchange_cookie_assistant = BareMetalLoadBalancedCookieAssistant() - explorer_cookie_assistant = BareMetalLoadBalancedCookieAssistant() else: lcd_endpoint = "https://testnet.lcd.injective.network:443" tm_websocket_endpoint = "wss://testnet.tm.injective.network:443/websocket" grpc_endpoint = "testnet.chain.grpc.injective.network:443" - grpc_exchange_endpoint = "testnet.exchange.grpc.injective.network:443" - grpc_explorer_endpoint = "testnet.explorer.grpc.injective.network:443" chain_stream_endpoint = "testnet.chain.stream.injective.network:443" chain_cookie_assistant = DisabledCookieAssistant() - exchange_cookie_assistant = DisabledCookieAssistant() - explorer_cookie_assistant = DisabledCookieAssistant() return cls( lcd_endpoint=lcd_endpoint, tm_websocket_endpoint=tm_websocket_endpoint, grpc_endpoint=grpc_endpoint, - grpc_exchange_endpoint=grpc_exchange_endpoint, - grpc_explorer_endpoint=grpc_explorer_endpoint, chain_stream_endpoint=chain_stream_endpoint, chain_id="injective-888", fee_denom="inj", env="testnet", chain_cookie_assistant=chain_cookie_assistant, - exchange_cookie_assistant=exchange_cookie_assistant, - explorer_cookie_assistant=explorer_cookie_assistant, grpc_channel_credentials=grpc_channel_credentials, - grpc_exchange_channel_credentials=grpc_exchange_channel_credentials, - grpc_explorer_channel_credentials=grpc_explorer_channel_credentials, chain_stream_channel_credentials=chain_stream_channel_credentials, official_tokens_list_url="https://github.com/InjectiveLabs/injective-lists/raw/master/tokens/testnet.json", ) @@ -235,33 +209,21 @@ def mainnet(cls, node="lb"): lcd_endpoint = "https://sentry.lcd.injective.network:443" tm_websocket_endpoint = "wss://sentry.tm.injective.network:443/websocket" grpc_endpoint = "sentry.chain.grpc.injective.network:443" - grpc_exchange_endpoint = "sentry.exchange.grpc.injective.network:443" - grpc_explorer_endpoint = "sentry.explorer.grpc.injective.network:443" chain_stream_endpoint = "sentry.chain.stream.injective.network:443" chain_cookie_assistant = BareMetalLoadBalancedCookieAssistant() - exchange_cookie_assistant = BareMetalLoadBalancedCookieAssistant() - explorer_cookie_assistant = BareMetalLoadBalancedCookieAssistant() grpc_channel_credentials = grpc.ssl_channel_credentials() - grpc_exchange_channel_credentials = grpc.ssl_channel_credentials() - grpc_explorer_channel_credentials = grpc.ssl_channel_credentials() chain_stream_channel_credentials = grpc.ssl_channel_credentials() return cls( lcd_endpoint=lcd_endpoint, tm_websocket_endpoint=tm_websocket_endpoint, grpc_endpoint=grpc_endpoint, - grpc_exchange_endpoint=grpc_exchange_endpoint, - grpc_explorer_endpoint=grpc_explorer_endpoint, chain_stream_endpoint=chain_stream_endpoint, chain_id="injective-1", fee_denom="inj", env="mainnet", chain_cookie_assistant=chain_cookie_assistant, - exchange_cookie_assistant=exchange_cookie_assistant, - explorer_cookie_assistant=explorer_cookie_assistant, grpc_channel_credentials=grpc_channel_credentials, - grpc_exchange_channel_credentials=grpc_exchange_channel_credentials, - grpc_explorer_channel_credentials=grpc_explorer_channel_credentials, chain_stream_channel_credentials=chain_stream_channel_credentials, official_tokens_list_url="https://github.com/InjectiveLabs/injective-lists/raw/master/tokens/mainnet.json", ) @@ -290,19 +252,13 @@ def custom( lcd_endpoint, tm_websocket_endpoint, grpc_endpoint, - grpc_exchange_endpoint, - grpc_explorer_endpoint, chain_stream_endpoint, chain_id, env, official_tokens_list_url: str, chain_cookie_assistant: Optional[CookieAssistant] = None, - exchange_cookie_assistant: Optional[CookieAssistant] = None, - explorer_cookie_assistant: Optional[CookieAssistant] = None, use_secure_connection: Optional[bool] = None, grpc_channel_credentials: Optional[ChannelCredentials] = None, - grpc_exchange_channel_credentials: Optional[ChannelCredentials] = None, - grpc_explorer_channel_credentials: Optional[ChannelCredentials] = None, chain_stream_channel_credentials: Optional[ChannelCredentials] = None, ): # the `use_secure_connection` parameter is ignored and will be deprecated soon. @@ -314,25 +270,17 @@ def custom( ) chain_assistant = chain_cookie_assistant or DisabledCookieAssistant() - exchange_assistant = exchange_cookie_assistant or DisabledCookieAssistant() - explorer_assistant = explorer_cookie_assistant or DisabledCookieAssistant() return cls( lcd_endpoint=lcd_endpoint, tm_websocket_endpoint=tm_websocket_endpoint, grpc_endpoint=grpc_endpoint, - grpc_exchange_endpoint=grpc_exchange_endpoint, - grpc_explorer_endpoint=grpc_explorer_endpoint, chain_stream_endpoint=chain_stream_endpoint, chain_id=chain_id, fee_denom="inj", env=env, chain_cookie_assistant=chain_assistant, - exchange_cookie_assistant=exchange_assistant, - explorer_cookie_assistant=explorer_assistant, official_tokens_list_url=official_tokens_list_url, grpc_channel_credentials=grpc_channel_credentials, - grpc_exchange_channel_credentials=grpc_exchange_channel_credentials, - grpc_explorer_channel_credentials=grpc_explorer_channel_credentials, chain_stream_channel_credentials=chain_stream_channel_credentials, ) @@ -351,18 +299,12 @@ def custom_chain_and_public_indexer_mainnet( lcd_endpoint=lcd_endpoint, tm_websocket_endpoint=tm_websocket_endpoint, grpc_endpoint=grpc_endpoint, - grpc_exchange_endpoint=mainnet_network.grpc_exchange_endpoint, - grpc_explorer_endpoint=mainnet_network.grpc_explorer_endpoint, chain_stream_endpoint=chain_stream_endpoint, chain_id="injective-1", env="mainnet", chain_cookie_assistant=chain_cookie_assistant or DisabledCookieAssistant(), - exchange_cookie_assistant=mainnet_network.exchange_cookie_assistant, - explorer_cookie_assistant=mainnet_network.explorer_cookie_assistant, official_tokens_list_url=mainnet_network.official_tokens_list_url, grpc_channel_credentials=None, - grpc_exchange_channel_credentials=mainnet_network.grpc_exchange_channel_credentials, - grpc_explorer_channel_credentials=mainnet_network.grpc_explorer_channel_credentials, chain_stream_channel_credentials=None, ) @@ -372,12 +314,6 @@ def string(self): def create_chain_grpc_channel(self) -> grpc.Channel: return self._create_grpc_channel(self.grpc_endpoint, self.grpc_channel_credentials) - def create_exchange_grpc_channel(self) -> grpc.Channel: - return self._create_grpc_channel(self.grpc_exchange_endpoint, self.grpc_exchange_channel_credentials) - - def create_explorer_grpc_channel(self) -> grpc.Channel: - return self._create_grpc_channel(self.grpc_explorer_endpoint, self.grpc_explorer_channel_credentials) - def create_chain_stream_grpc_channel(self) -> grpc.Channel: return self._create_grpc_channel(self.chain_stream_endpoint, self.chain_stream_channel_credentials) diff --git a/pyinjective/core/tendermint/grpc/__init__.py b/pyinjective/core/tendermint/grpc/__init__.py index e69de29b..352f98c4 100644 --- a/pyinjective/core/tendermint/grpc/__init__.py +++ b/pyinjective/core/tendermint/grpc/__init__.py @@ -0,0 +1,70 @@ +from typing import Any, Callable, Dict, Optional + +from grpc.aio import Channel + +from pyinjective.client.model.pagination import PaginationOption +from pyinjective.core.network import CookieAssistant +from pyinjective.proto.cosmos.base.tendermint.v1beta1 import ( + query_pb2 as tendermint_query, + query_pb2_grpc as tendermint_query_grpc, +) +from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant + + +class TendermintGrpcApi: + def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): + self._stub = tendermint_query_grpc.ServiceStub(channel) + self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) + + async def fetch_node_info(self) -> Dict[str, Any]: + request = tendermint_query.GetNodeInfoRequest() + response = await self._execute_call(call=self._stub.GetNodeInfo, request=request) + + return response + + async def fetch_syncing(self) -> Dict[str, Any]: + request = tendermint_query.GetSyncingRequest() + response = await self._execute_call(call=self._stub.GetSyncing, request=request) + + return response + + async def fetch_latest_block(self) -> Dict[str, Any]: + request = tendermint_query.GetLatestBlockRequest() + response = await self._execute_call(call=self._stub.GetLatestBlock, request=request) + + return response + + async def fetch_block_by_height(self, height: int) -> Dict[str, Any]: + request = tendermint_query.GetBlockByHeightRequest(height=height) + response = await self._execute_call(call=self._stub.GetBlockByHeight, request=request) + + return response + + async def fetch_latest_validator_set(self) -> Dict[str, Any]: + request = tendermint_query.GetLatestValidatorSetRequest() + response = await self._execute_call(call=self._stub.GetLatestValidatorSet, request=request) + + return response + + async def fetch_validator_set_by_height( + self, height: int, pagination: Optional[PaginationOption] = None + ) -> Dict[str, Any]: + if pagination is None: + pagination = PaginationOption() + request = tendermint_query.GetValidatorSetByHeightRequest( + height=height, pagination=pagination.create_pagination_request() + ) + response = await self._execute_call(call=self._stub.GetValidatorSetByHeight, request=request) + + return response + + async def abci_query( + self, path: str, data: Optional[bytes] = None, height: Optional[int] = None, prove: bool = False + ) -> Dict[str, Any]: + request = tendermint_query.ABCIQueryRequest(path=path, data=data, height=height, prove=prove) + response = await self._execute_call(call=self._stub.ABCIQuery, request=request) + + return response + + async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: + return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/core/tendermint/grpc/tendermint_grpc_api.py b/pyinjective/core/tendermint/grpc/tendermint_grpc_api.py deleted file mode 100644 index 352f98c4..00000000 --- a/pyinjective/core/tendermint/grpc/tendermint_grpc_api.py +++ /dev/null @@ -1,70 +0,0 @@ -from typing import Any, Callable, Dict, Optional - -from grpc.aio import Channel - -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.cosmos.base.tendermint.v1beta1 import ( - query_pb2 as tendermint_query, - query_pb2_grpc as tendermint_query_grpc, -) -from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant - - -class TendermintGrpcApi: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = tendermint_query_grpc.ServiceStub(channel) - self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) - - async def fetch_node_info(self) -> Dict[str, Any]: - request = tendermint_query.GetNodeInfoRequest() - response = await self._execute_call(call=self._stub.GetNodeInfo, request=request) - - return response - - async def fetch_syncing(self) -> Dict[str, Any]: - request = tendermint_query.GetSyncingRequest() - response = await self._execute_call(call=self._stub.GetSyncing, request=request) - - return response - - async def fetch_latest_block(self) -> Dict[str, Any]: - request = tendermint_query.GetLatestBlockRequest() - response = await self._execute_call(call=self._stub.GetLatestBlock, request=request) - - return response - - async def fetch_block_by_height(self, height: int) -> Dict[str, Any]: - request = tendermint_query.GetBlockByHeightRequest(height=height) - response = await self._execute_call(call=self._stub.GetBlockByHeight, request=request) - - return response - - async def fetch_latest_validator_set(self) -> Dict[str, Any]: - request = tendermint_query.GetLatestValidatorSetRequest() - response = await self._execute_call(call=self._stub.GetLatestValidatorSet, request=request) - - return response - - async def fetch_validator_set_by_height( - self, height: int, pagination: Optional[PaginationOption] = None - ) -> Dict[str, Any]: - if pagination is None: - pagination = PaginationOption() - request = tendermint_query.GetValidatorSetByHeightRequest( - height=height, pagination=pagination.create_pagination_request() - ) - response = await self._execute_call(call=self._stub.GetValidatorSetByHeight, request=request) - - return response - - async def abci_query( - self, path: str, data: Optional[bytes] = None, height: Optional[int] = None, prove: bool = False - ) -> Dict[str, Any]: - request = tendermint_query.ABCIQueryRequest(path=path, data=data, height=height, prove=prove) - response = await self._execute_call(call=self._stub.ABCIQuery, request=request) - - return response - - async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: - return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/core/tx/grpc/__init__.py b/pyinjective/core/tx/grpc/__init__.py index e69de29b..28cd7feb 100644 --- a/pyinjective/core/tx/grpc/__init__.py +++ b/pyinjective/core/tx/grpc/__init__.py @@ -0,0 +1,34 @@ +from typing import Any, Callable, Dict + +from grpc.aio import Channel + +from pyinjective.core.network import CookieAssistant +from pyinjective.proto.cosmos.tx.v1beta1 import service_pb2 as tx_service, service_pb2_grpc as tx_service_grpc +from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant + + +class TxGrpcApi: + def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): + self._stub = tx_service_grpc.ServiceStub(channel) + self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) + + async def simulate(self, tx_bytes: bytes) -> Dict[str, Any]: + request = tx_service.SimulateRequest(tx_bytes=tx_bytes) + response = await self._execute_call(call=self._stub.Simulate, request=request) + + return response + + async def fetch_tx(self, hash: str) -> Dict[str, Any]: + request = tx_service.GetTxRequest(hash=hash) + response = await self._execute_call(call=self._stub.GetTx, request=request) + + return response + + async def broadcast(self, tx_bytes: bytes, mode: int = tx_service.BROADCAST_MODE_ASYNC) -> Dict[str, Any]: + request = tx_service.BroadcastTxRequest(tx_bytes=tx_bytes, mode=mode) + response = await self._execute_call(call=self._stub.BroadcastTx, request=request) + + return response + + async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: + return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/core/tx/grpc/tx_grpc_api.py b/pyinjective/core/tx/grpc/tx_grpc_api.py deleted file mode 100644 index 28cd7feb..00000000 --- a/pyinjective/core/tx/grpc/tx_grpc_api.py +++ /dev/null @@ -1,34 +0,0 @@ -from typing import Any, Callable, Dict - -from grpc.aio import Channel - -from pyinjective.core.network import CookieAssistant -from pyinjective.proto.cosmos.tx.v1beta1 import service_pb2 as tx_service, service_pb2_grpc as tx_service_grpc -from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant - - -class TxGrpcApi: - def __init__(self, channel: Channel, cookie_assistant: CookieAssistant): - self._stub = tx_service_grpc.ServiceStub(channel) - self._assistant = GrpcApiRequestAssistant(cookie_assistant=cookie_assistant) - - async def simulate(self, tx_bytes: bytes) -> Dict[str, Any]: - request = tx_service.SimulateRequest(tx_bytes=tx_bytes) - response = await self._execute_call(call=self._stub.Simulate, request=request) - - return response - - async def fetch_tx(self, hash: str) -> Dict[str, Any]: - request = tx_service.GetTxRequest(hash=hash) - response = await self._execute_call(call=self._stub.GetTx, request=request) - - return response - - async def broadcast(self, tx_bytes: bytes, mode: int = tx_service.BROADCAST_MODE_ASYNC) -> Dict[str, Any]: - request = tx_service.BroadcastTxRequest(tx_bytes=tx_bytes, mode=mode) - response = await self._execute_call(call=self._stub.BroadcastTx, request=request) - - return response - - async def _execute_call(self, call: Callable, request) -> Dict[str, Any]: - return await self._assistant.execute_call(call=call, request=request) diff --git a/pyinjective/proto/exchange/event_provider_api_pb2.py b/pyinjective/proto/exchange/event_provider_api_pb2.py deleted file mode 100644 index 5e0afd0b..00000000 --- a/pyinjective/proto/exchange/event_provider_api_pb2.py +++ /dev/null @@ -1,67 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: exchange/event_provider_api.proto -# Protobuf Python Version: 5.26.1 -"""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!exchange/event_provider_api.proto\x12\x12\x65vent_provider_api\"\x18\n\x16GetLatestHeightRequest\"~\n\x17GetLatestHeightResponse\x12\x0c\n\x01v\x18\x01 \x01(\tR\x01v\x12\x0c\n\x01s\x18\x02 \x01(\tR\x01s\x12\x0c\n\x01\x65\x18\x03 \x01(\tR\x01\x65\x12\x39\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32%.event_provider_api.LatestBlockHeightR\x04\x64\x61ta\"+\n\x11LatestBlockHeight\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\"L\n\x18StreamBlockEventsRequest\x12\x18\n\x07\x62\x61\x63kend\x18\x01 \x01(\tR\x07\x62\x61\x63kend\x12\x16\n\x06height\x18\x02 \x01(\x11R\x06height\"N\n\x19StreamBlockEventsResponse\x12\x31\n\x06\x62locks\x18\x01 \x03(\x0b\x32\x19.event_provider_api.BlockR\x06\x62locks\"\x8a\x01\n\x05\x42lock\x12\x16\n\x06height\x18\x01 \x01(\x12R\x06height\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12\x36\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x1e.event_provider_api.BlockEventR\x06\x65vents\x12\x17\n\x07in_sync\x18\x04 \x01(\x08R\x06inSync\"V\n\nBlockEvent\x12\x19\n\x08type_url\x18\x01 \x01(\tR\x07typeUrl\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12\x17\n\x07tx_hash\x18\x03 \x01(\x0cR\x06txHash\"L\n\x18GetBlockEventsRPCRequest\x12\x18\n\x07\x62\x61\x63kend\x18\x01 \x01(\tR\x07\x62\x61\x63kend\x12\x16\n\x06height\x18\x02 \x01(\x11R\x06height\"}\n\x19GetBlockEventsRPCResponse\x12\x0c\n\x01v\x18\x01 \x01(\tR\x01v\x12\x0c\n\x01s\x18\x02 \x01(\tR\x01s\x12\x0c\n\x01\x65\x18\x03 \x01(\tR\x01\x65\x12\x36\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPCR\x04\x64\x61ta\"\xca\x01\n\x0e\x42lockEventsRPC\x12\x14\n\x05types\x18\x01 \x03(\tR\x05types\x12\x16\n\x06\x65vents\x18\x02 \x03(\x0cR\x06\x65vents\x12M\n\ttx_hashes\x18\x03 \x03(\x0b\x32\x30.event_provider_api.BlockEventsRPC.TxHashesEntryR\x08txHashes\x1a;\n\rTxHashesEntry\x12\x10\n\x03key\x18\x01 \x01(\x11R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value:\x02\x38\x01\"e\n\x19GetCustomEventsRPCRequest\x12\x18\n\x07\x62\x61\x63kend\x18\x01 \x01(\tR\x07\x62\x61\x63kend\x12\x16\n\x06height\x18\x02 \x01(\x11R\x06height\x12\x16\n\x06\x65vents\x18\x03 \x01(\tR\x06\x65vents\"~\n\x1aGetCustomEventsRPCResponse\x12\x0c\n\x01v\x18\x01 \x01(\tR\x01v\x12\x0c\n\x01s\x18\x02 \x01(\tR\x01s\x12\x0c\n\x01\x65\x18\x03 \x01(\tR\x01\x65\x12\x36\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\".event_provider_api.BlockEventsRPCR\x04\x64\x61ta\"T\n\x19GetABCIBlockEventsRequest\x12\x16\n\x06height\x18\x01 \x01(\x11R\x06height\x12\x1f\n\x0b\x65vent_types\x18\x02 \x03(\tR\neventTypes\"\x81\x01\n\x1aGetABCIBlockEventsResponse\x12\x0c\n\x01v\x18\x01 \x01(\tR\x01v\x12\x0c\n\x01s\x18\x02 \x01(\tR\x01s\x12\x0c\n\x01\x65\x18\x03 \x01(\tR\x01\x65\x12\x39\n\traw_block\x18\x04 \x01(\x0b\x32\x1c.event_provider_api.RawBlockR\x08rawBlock\"\xcc\x02\n\x08RawBlock\x12\x16\n\x06height\x18\x01 \x01(\x12R\x06height\x12\x1d\n\nblock_time\x18\x05 \x01(\tR\tblockTime\x12\'\n\x0f\x62lock_timestamp\x18\x06 \x01(\x12R\x0e\x62lockTimestamp\x12J\n\x0btxs_results\x18\x02 \x03(\x0b\x32).event_provider_api.ABCIResponseDeliverTxR\ntxsResults\x12K\n\x12\x62\x65gin_block_events\x18\x03 \x03(\x0b\x32\x1d.event_provider_api.ABCIEventR\x10\x62\x65ginBlockEvents\x12G\n\x10\x65nd_block_events\x18\x04 \x03(\x0b\x32\x1d.event_provider_api.ABCIEventR\x0e\x65ndBlockEvents\"\xf9\x01\n\x15\x41\x42\x43IResponseDeliverTx\x12\x12\n\x04\x63ode\x18\x01 \x01(\x11R\x04\x63ode\x12\x10\n\x03log\x18\x02 \x01(\tR\x03log\x12\x12\n\x04info\x18\x03 \x01(\tR\x04info\x12\x1d\n\ngas_wanted\x18\x04 \x01(\x12R\tgasWanted\x12\x19\n\x08gas_used\x18\x05 \x01(\x12R\x07gasUsed\x12\x35\n\x06\x65vents\x18\x06 \x03(\x0b\x32\x1d.event_provider_api.ABCIEventR\x06\x65vents\x12\x1c\n\tcodespace\x18\x07 \x01(\tR\tcodespace\x12\x17\n\x07tx_hash\x18\x08 \x01(\x0cR\x06txHash\"b\n\tABCIEvent\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x41\n\nattributes\x18\x02 \x03(\x0b\x32!.event_provider_api.ABCIAttributeR\nattributes\"7\n\rABCIAttribute\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value2\xce\x04\n\x10\x45ventProviderAPI\x12j\n\x0fGetLatestHeight\x12*.event_provider_api.GetLatestHeightRequest\x1a+.event_provider_api.GetLatestHeightResponse\x12r\n\x11StreamBlockEvents\x12,.event_provider_api.StreamBlockEventsRequest\x1a-.event_provider_api.StreamBlockEventsResponse0\x01\x12p\n\x11GetBlockEventsRPC\x12,.event_provider_api.GetBlockEventsRPCRequest\x1a-.event_provider_api.GetBlockEventsRPCResponse\x12s\n\x12GetCustomEventsRPC\x12-.event_provider_api.GetCustomEventsRPCRequest\x1a..event_provider_api.GetCustomEventsRPCResponse\x12s\n\x12GetABCIBlockEvents\x12-.event_provider_api.GetABCIBlockEventsRequest\x1a..event_provider_api.GetABCIBlockEventsResponseB\xa6\x01\n\x16\x63om.event_provider_apiB\x15\x45ventProviderApiProtoP\x01Z\x15/event_provider_apipb\xa2\x02\x03\x45XX\xaa\x02\x10\x45ventProviderApi\xca\x02\x10\x45ventProviderApi\xe2\x02\x1c\x45ventProviderApi\\GPBMetadata\xea\x02\x10\x45ventProviderApib\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.event_provider_api_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.event_provider_apiB\025EventProviderApiProtoP\001Z\025/event_provider_apipb\242\002\003EXX\252\002\020EventProviderApi\312\002\020EventProviderApi\342\002\034EventProviderApi\\GPBMetadata\352\002\020EventProviderApi' - _globals['_BLOCKEVENTSRPC_TXHASHESENTRY']._loaded_options = None - _globals['_BLOCKEVENTSRPC_TXHASHESENTRY']._serialized_options = b'8\001' - _globals['_GETLATESTHEIGHTREQUEST']._serialized_start=57 - _globals['_GETLATESTHEIGHTREQUEST']._serialized_end=81 - _globals['_GETLATESTHEIGHTRESPONSE']._serialized_start=83 - _globals['_GETLATESTHEIGHTRESPONSE']._serialized_end=209 - _globals['_LATESTBLOCKHEIGHT']._serialized_start=211 - _globals['_LATESTBLOCKHEIGHT']._serialized_end=254 - _globals['_STREAMBLOCKEVENTSREQUEST']._serialized_start=256 - _globals['_STREAMBLOCKEVENTSREQUEST']._serialized_end=332 - _globals['_STREAMBLOCKEVENTSRESPONSE']._serialized_start=334 - _globals['_STREAMBLOCKEVENTSRESPONSE']._serialized_end=412 - _globals['_BLOCK']._serialized_start=415 - _globals['_BLOCK']._serialized_end=553 - _globals['_BLOCKEVENT']._serialized_start=555 - _globals['_BLOCKEVENT']._serialized_end=641 - _globals['_GETBLOCKEVENTSRPCREQUEST']._serialized_start=643 - _globals['_GETBLOCKEVENTSRPCREQUEST']._serialized_end=719 - _globals['_GETBLOCKEVENTSRPCRESPONSE']._serialized_start=721 - _globals['_GETBLOCKEVENTSRPCRESPONSE']._serialized_end=846 - _globals['_BLOCKEVENTSRPC']._serialized_start=849 - _globals['_BLOCKEVENTSRPC']._serialized_end=1051 - _globals['_BLOCKEVENTSRPC_TXHASHESENTRY']._serialized_start=992 - _globals['_BLOCKEVENTSRPC_TXHASHESENTRY']._serialized_end=1051 - _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_start=1053 - _globals['_GETCUSTOMEVENTSRPCREQUEST']._serialized_end=1154 - _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_start=1156 - _globals['_GETCUSTOMEVENTSRPCRESPONSE']._serialized_end=1282 - _globals['_GETABCIBLOCKEVENTSREQUEST']._serialized_start=1284 - _globals['_GETABCIBLOCKEVENTSREQUEST']._serialized_end=1368 - _globals['_GETABCIBLOCKEVENTSRESPONSE']._serialized_start=1371 - _globals['_GETABCIBLOCKEVENTSRESPONSE']._serialized_end=1500 - _globals['_RAWBLOCK']._serialized_start=1503 - _globals['_RAWBLOCK']._serialized_end=1835 - _globals['_ABCIRESPONSEDELIVERTX']._serialized_start=1838 - _globals['_ABCIRESPONSEDELIVERTX']._serialized_end=2087 - _globals['_ABCIEVENT']._serialized_start=2089 - _globals['_ABCIEVENT']._serialized_end=2187 - _globals['_ABCIATTRIBUTE']._serialized_start=2189 - _globals['_ABCIATTRIBUTE']._serialized_end=2244 - _globals['_EVENTPROVIDERAPI']._serialized_start=2247 - _globals['_EVENTPROVIDERAPI']._serialized_end=2837 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/event_provider_api_pb2_grpc.py b/pyinjective/proto/exchange/event_provider_api_pb2_grpc.py deleted file mode 100644 index 7a17ca12..00000000 --- a/pyinjective/proto/exchange/event_provider_api_pb2_grpc.py +++ /dev/null @@ -1,257 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.exchange import event_provider_api_pb2 as exchange_dot_event__provider__api__pb2 - - -class EventProviderAPIStub(object): - """EventProviderAPI provides processed block events for different backends. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetLatestHeight = channel.unary_unary( - '/event_provider_api.EventProviderAPI/GetLatestHeight', - request_serializer=exchange_dot_event__provider__api__pb2.GetLatestHeightRequest.SerializeToString, - response_deserializer=exchange_dot_event__provider__api__pb2.GetLatestHeightResponse.FromString, - _registered_method=True) - self.StreamBlockEvents = channel.unary_stream( - '/event_provider_api.EventProviderAPI/StreamBlockEvents', - request_serializer=exchange_dot_event__provider__api__pb2.StreamBlockEventsRequest.SerializeToString, - response_deserializer=exchange_dot_event__provider__api__pb2.StreamBlockEventsResponse.FromString, - _registered_method=True) - self.GetBlockEventsRPC = channel.unary_unary( - '/event_provider_api.EventProviderAPI/GetBlockEventsRPC', - request_serializer=exchange_dot_event__provider__api__pb2.GetBlockEventsRPCRequest.SerializeToString, - response_deserializer=exchange_dot_event__provider__api__pb2.GetBlockEventsRPCResponse.FromString, - _registered_method=True) - self.GetCustomEventsRPC = channel.unary_unary( - '/event_provider_api.EventProviderAPI/GetCustomEventsRPC', - request_serializer=exchange_dot_event__provider__api__pb2.GetCustomEventsRPCRequest.SerializeToString, - response_deserializer=exchange_dot_event__provider__api__pb2.GetCustomEventsRPCResponse.FromString, - _registered_method=True) - self.GetABCIBlockEvents = channel.unary_unary( - '/event_provider_api.EventProviderAPI/GetABCIBlockEvents', - request_serializer=exchange_dot_event__provider__api__pb2.GetABCIBlockEventsRequest.SerializeToString, - response_deserializer=exchange_dot_event__provider__api__pb2.GetABCIBlockEventsResponse.FromString, - _registered_method=True) - - -class EventProviderAPIServicer(object): - """EventProviderAPI provides processed block events for different backends. - """ - - def GetLatestHeight(self, request, context): - """Get latest block from event provider - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamBlockEvents(self, request, context): - """Stream processed block events for selected backend - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBlockEventsRPC(self, request, context): - """Get processed block events for selected backend - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetCustomEventsRPC(self, request, context): - """Get custom processed block events for selected backend - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetABCIBlockEvents(self, request, context): - """Get raw block events for selected height - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_EventProviderAPIServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GetLatestHeight': grpc.unary_unary_rpc_method_handler( - servicer.GetLatestHeight, - request_deserializer=exchange_dot_event__provider__api__pb2.GetLatestHeightRequest.FromString, - response_serializer=exchange_dot_event__provider__api__pb2.GetLatestHeightResponse.SerializeToString, - ), - 'StreamBlockEvents': grpc.unary_stream_rpc_method_handler( - servicer.StreamBlockEvents, - request_deserializer=exchange_dot_event__provider__api__pb2.StreamBlockEventsRequest.FromString, - response_serializer=exchange_dot_event__provider__api__pb2.StreamBlockEventsResponse.SerializeToString, - ), - 'GetBlockEventsRPC': grpc.unary_unary_rpc_method_handler( - servicer.GetBlockEventsRPC, - request_deserializer=exchange_dot_event__provider__api__pb2.GetBlockEventsRPCRequest.FromString, - response_serializer=exchange_dot_event__provider__api__pb2.GetBlockEventsRPCResponse.SerializeToString, - ), - 'GetCustomEventsRPC': grpc.unary_unary_rpc_method_handler( - servicer.GetCustomEventsRPC, - request_deserializer=exchange_dot_event__provider__api__pb2.GetCustomEventsRPCRequest.FromString, - response_serializer=exchange_dot_event__provider__api__pb2.GetCustomEventsRPCResponse.SerializeToString, - ), - 'GetABCIBlockEvents': grpc.unary_unary_rpc_method_handler( - servicer.GetABCIBlockEvents, - request_deserializer=exchange_dot_event__provider__api__pb2.GetABCIBlockEventsRequest.FromString, - response_serializer=exchange_dot_event__provider__api__pb2.GetABCIBlockEventsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'event_provider_api.EventProviderAPI', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('event_provider_api.EventProviderAPI', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class EventProviderAPI(object): - """EventProviderAPI provides processed block events for different backends. - """ - - @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_unary( - request, - target, - '/event_provider_api.EventProviderAPI/GetLatestHeight', - exchange_dot_event__provider__api__pb2.GetLatestHeightRequest.SerializeToString, - exchange_dot_event__provider__api__pb2.GetLatestHeightResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamBlockEvents(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, - '/event_provider_api.EventProviderAPI/StreamBlockEvents', - exchange_dot_event__provider__api__pb2.StreamBlockEventsRequest.SerializeToString, - exchange_dot_event__provider__api__pb2.StreamBlockEventsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetBlockEventsRPC(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, - '/event_provider_api.EventProviderAPI/GetBlockEventsRPC', - exchange_dot_event__provider__api__pb2.GetBlockEventsRPCRequest.SerializeToString, - exchange_dot_event__provider__api__pb2.GetBlockEventsRPCResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetCustomEventsRPC(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, - '/event_provider_api.EventProviderAPI/GetCustomEventsRPC', - exchange_dot_event__provider__api__pb2.GetCustomEventsRPCRequest.SerializeToString, - exchange_dot_event__provider__api__pb2.GetCustomEventsRPCResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetABCIBlockEvents(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, - '/event_provider_api.EventProviderAPI/GetABCIBlockEvents', - exchange_dot_event__provider__api__pb2.GetABCIBlockEventsRequest.SerializeToString, - exchange_dot_event__provider__api__pb2.GetABCIBlockEventsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/exchange/health_pb2.py b/pyinjective/proto/exchange/health_pb2.py deleted file mode 100644 index 3f98a12d..00000000 --- a/pyinjective/proto/exchange/health_pb2.py +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: exchange/health.proto -# Protobuf Python Version: 5.26.1 -"""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\x15\x65xchange/health.proto\x12\x06\x61pi.v1\"\x12\n\x10GetStatusRequest\"{\n\x11GetStatusResponse\x12\x0c\n\x01s\x18\x01 \x01(\tR\x01s\x12\x16\n\x06\x65rrmsg\x18\x02 \x01(\tR\x06\x65rrmsg\x12(\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x14.api.v1.HealthStatusR\x04\x64\x61ta\x12\x16\n\x06status\x18\x04 \x01(\tR\x06status\"\xae\x01\n\x0cHealthStatus\x12!\n\x0clocal_height\x18\x01 \x01(\x11R\x0blocalHeight\x12\'\n\x0flocal_timestamp\x18\x02 \x01(\x11R\x0elocalTimestamp\x12%\n\x0ehoracle_height\x18\x03 \x01(\x11R\rhoracleHeight\x12+\n\x11horacle_timestamp\x18\x04 \x01(\x11R\x10horacleTimestamp2J\n\x06Health\x12@\n\tGetStatus\x12\x18.api.v1.GetStatusRequest\x1a\x19.api.v1.GetStatusResponseB]\n\ncom.api.v1B\x0bHealthProtoP\x01Z\t/api.v1pb\xa2\x02\x03\x41XX\xaa\x02\x06\x41pi.V1\xca\x02\x06\x41pi\\V1\xe2\x02\x12\x41pi\\V1\\GPBMetadata\xea\x02\x07\x41pi::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.health_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\ncom.api.v1B\013HealthProtoP\001Z\t/api.v1pb\242\002\003AXX\252\002\006Api.V1\312\002\006Api\\V1\342\002\022Api\\V1\\GPBMetadata\352\002\007Api::V1' - _globals['_GETSTATUSREQUEST']._serialized_start=33 - _globals['_GETSTATUSREQUEST']._serialized_end=51 - _globals['_GETSTATUSRESPONSE']._serialized_start=53 - _globals['_GETSTATUSRESPONSE']._serialized_end=176 - _globals['_HEALTHSTATUS']._serialized_start=179 - _globals['_HEALTHSTATUS']._serialized_end=353 - _globals['_HEALTH']._serialized_start=355 - _globals['_HEALTH']._serialized_end=429 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/health_pb2_grpc.py b/pyinjective/proto/exchange/health_pb2_grpc.py deleted file mode 100644 index f83f04db..00000000 --- a/pyinjective/proto/exchange/health_pb2_grpc.py +++ /dev/null @@ -1,81 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.exchange import health_pb2 as exchange_dot_health__pb2 - - -class HealthStub(object): - """HealthAPI allows to check if backend data is up-to-date and reliable or not. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetStatus = channel.unary_unary( - '/api.v1.Health/GetStatus', - request_serializer=exchange_dot_health__pb2.GetStatusRequest.SerializeToString, - response_deserializer=exchange_dot_health__pb2.GetStatusResponse.FromString, - _registered_method=True) - - -class HealthServicer(object): - """HealthAPI allows to check if backend data is up-to-date and reliable or not. - """ - - def GetStatus(self, request, context): - """Get current backend health status - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_HealthServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GetStatus': grpc.unary_unary_rpc_method_handler( - servicer.GetStatus, - request_deserializer=exchange_dot_health__pb2.GetStatusRequest.FromString, - response_serializer=exchange_dot_health__pb2.GetStatusResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'api.v1.Health', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('api.v1.Health', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Health(object): - """HealthAPI allows to check if backend data is up-to-date and reliable or not. - """ - - @staticmethod - def GetStatus(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, - '/api.v1.Health/GetStatus', - exchange_dot_health__pb2.GetStatusRequest.SerializeToString, - exchange_dot_health__pb2.GetStatusResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py b/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py deleted file mode 100644 index c393e7af..00000000 --- a/pyinjective/proto/exchange/injective_accounts_rpc_pb2.py +++ /dev/null @@ -1,119 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: exchange/injective_accounts_rpc.proto -# Protobuf Python Version: 5.26.1 -"""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%exchange/injective_accounts_rpc.proto\x12\x16injective_accounts_rpc\";\n\x10PortfolioRequest\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\"[\n\x11PortfolioResponse\x12\x46\n\tportfolio\x18\x01 \x01(\x0b\x32(.injective_accounts_rpc.AccountPortfolioR\tportfolio\"\x85\x02\n\x10\x41\x63\x63ountPortfolio\x12\'\n\x0fportfolio_value\x18\x01 \x01(\tR\x0eportfolioValue\x12+\n\x11\x61vailable_balance\x18\x02 \x01(\tR\x10\x61vailableBalance\x12%\n\x0elocked_balance\x18\x03 \x01(\tR\rlockedBalance\x12%\n\x0eunrealized_pnl\x18\x04 \x01(\tR\runrealizedPnl\x12M\n\x0bsubaccounts\x18\x05 \x03(\x0b\x32+.injective_accounts_rpc.SubaccountPortfolioR\x0bsubaccounts\"\xb5\x01\n\x13SubaccountPortfolio\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12+\n\x11\x61vailable_balance\x18\x02 \x01(\tR\x10\x61vailableBalance\x12%\n\x0elocked_balance\x18\x03 \x01(\tR\rlockedBalance\x12%\n\x0eunrealized_pnl\x18\x04 \x01(\tR\runrealizedPnl\"x\n\x12OrderStatesRequest\x12*\n\x11spot_order_hashes\x18\x01 \x03(\tR\x0fspotOrderHashes\x12\x36\n\x17\x64\x65rivative_order_hashes\x18\x02 \x03(\tR\x15\x64\x65rivativeOrderHashes\"\xcd\x01\n\x13OrderStatesResponse\x12T\n\x11spot_order_states\x18\x01 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecordR\x0fspotOrderStates\x12`\n\x17\x64\x65rivative_order_states\x18\x02 \x03(\x0b\x32(.injective_accounts_rpc.OrderStateRecordR\x15\x64\x65rivativeOrderStates\"\x8b\x03\n\x10OrderStateRecord\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x1d\n\norder_type\x18\x04 \x01(\tR\torderType\x12\x1d\n\norder_side\x18\x05 \x01(\tR\torderSide\x12\x14\n\x05state\x18\x06 \x01(\tR\x05state\x12\'\n\x0fquantity_filled\x18\x07 \x01(\tR\x0equantityFilled\x12-\n\x12quantity_remaining\x18\x08 \x01(\tR\x11quantityRemaining\x12\x1d\n\ncreated_at\x18\t \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\n \x01(\x12R\tupdatedAt\x12\x14\n\x05price\x18\x0b \x01(\tR\x05price\x12\x16\n\x06margin\x18\x0c \x01(\tR\x06margin\"A\n\x16SubaccountsListRequest\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\";\n\x17SubaccountsListResponse\x12 \n\x0bsubaccounts\x18\x01 \x03(\tR\x0bsubaccounts\"\\\n\x1dSubaccountBalancesListRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x16\n\x06\x64\x65noms\x18\x02 \x03(\tR\x06\x64\x65noms\"g\n\x1eSubaccountBalancesListResponse\x12\x45\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32).injective_accounts_rpc.SubaccountBalanceR\x08\x62\x61lances\"\xbc\x01\n\x11SubaccountBalance\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x14\n\x05\x64\x65nom\x18\x03 \x01(\tR\x05\x64\x65nom\x12\x43\n\x07\x64\x65posit\x18\x04 \x01(\x0b\x32).injective_accounts_rpc.SubaccountDepositR\x07\x64\x65posit\"e\n\x11SubaccountDeposit\x12#\n\rtotal_balance\x18\x01 \x01(\tR\x0ctotalBalance\x12+\n\x11\x61vailable_balance\x18\x02 \x01(\tR\x10\x61vailableBalance\"]\n SubaccountBalanceEndpointRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\"h\n!SubaccountBalanceEndpointResponse\x12\x43\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalanceR\x07\x62\x61lance\"]\n\x1eStreamSubaccountBalanceRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x16\n\x06\x64\x65noms\x18\x02 \x03(\tR\x06\x64\x65noms\"\x84\x01\n\x1fStreamSubaccountBalanceResponse\x12\x43\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalanceR\x07\x62\x61lance\x12\x1c\n\ttimestamp\x18\x02 \x01(\x12R\ttimestamp\"\xc1\x01\n\x18SubaccountHistoryRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12%\n\x0etransfer_types\x18\x03 \x03(\tR\rtransferTypes\x12\x12\n\x04skip\x18\x04 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x05 \x01(\x11R\x05limit\x12\x19\n\x08\x65nd_time\x18\x06 \x01(\x12R\x07\x65ndTime\"\xa4\x01\n\x19SubaccountHistoryResponse\x12O\n\ttransfers\x18\x01 \x03(\x0b\x32\x31.injective_accounts_rpc.SubaccountBalanceTransferR\ttransfers\x12\x36\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_accounts_rpc.PagingR\x06paging\"\xd5\x02\n\x19SubaccountBalanceTransfer\x12#\n\rtransfer_type\x18\x01 \x01(\tR\x0ctransferType\x12*\n\x11src_subaccount_id\x18\x02 \x01(\tR\x0fsrcSubaccountId\x12.\n\x13src_account_address\x18\x03 \x01(\tR\x11srcAccountAddress\x12*\n\x11\x64st_subaccount_id\x18\x04 \x01(\tR\x0f\x64stSubaccountId\x12.\n\x13\x64st_account_address\x18\x05 \x01(\tR\x11\x64stAccountAddress\x12:\n\x06\x61mount\x18\x06 \x01(\x0b\x32\".injective_accounts_rpc.CosmosCoinR\x06\x61mount\x12\x1f\n\x0b\x65xecuted_at\x18\x07 \x01(\x12R\nexecutedAt\":\n\nCosmosCoin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"\x86\x01\n\x06Paging\x12\x14\n\x05total\x18\x01 \x01(\x12R\x05total\x12\x12\n\x04\x66rom\x18\x02 \x01(\x11R\x04\x66rom\x12\x0e\n\x02to\x18\x03 \x01(\x11R\x02to\x12.\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12R\x11\x63ountBySubaccount\x12\x12\n\x04next\x18\x05 \x03(\tR\x04next\"\x8a\x01\n\x1dSubaccountOrderSummaryRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\'\n\x0forder_direction\x18\x03 \x01(\tR\x0eorderDirection\"\x84\x01\n\x1eSubaccountOrderSummaryResponse\x12*\n\x11spot_orders_total\x18\x01 \x01(\x12R\x0fspotOrdersTotal\x12\x36\n\x17\x64\x65rivative_orders_total\x18\x02 \x01(\x12R\x15\x64\x65rivativeOrdersTotal\"O\n\x0eRewardsRequest\x12\x14\n\x05\x65poch\x18\x01 \x01(\x12R\x05\x65poch\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"K\n\x0fRewardsResponse\x12\x38\n\x07rewards\x18\x01 \x03(\x0b\x32\x1e.injective_accounts_rpc.RewardR\x07rewards\"\x90\x01\n\x06Reward\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x36\n\x07rewards\x18\x02 \x03(\x0b\x32\x1c.injective_accounts_rpc.CoinR\x07rewards\x12%\n\x0e\x64istributed_at\x18\x03 \x01(\x12R\rdistributedAt\"4\n\x04\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"C\n\x18StreamAccountDataRequest\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\"\xde\x03\n\x19StreamAccountDataResponse\x12^\n\x12subaccount_balance\x18\x01 \x01(\x0b\x32/.injective_accounts_rpc.SubaccountBalanceResultR\x11subaccountBalance\x12\x43\n\x08position\x18\x02 \x01(\x0b\x32\'.injective_accounts_rpc.PositionsResultR\x08position\x12\x39\n\x05trade\x18\x03 \x01(\x0b\x32#.injective_accounts_rpc.TradeResultR\x05trade\x12\x39\n\x05order\x18\x04 \x01(\x0b\x32#.injective_accounts_rpc.OrderResultR\x05order\x12O\n\rorder_history\x18\x05 \x01(\x0b\x32*.injective_accounts_rpc.OrderHistoryResultR\x0corderHistory\x12U\n\x0f\x66unding_payment\x18\x06 \x01(\x0b\x32,.injective_accounts_rpc.FundingPaymentResultR\x0e\x66undingPayment\"|\n\x17SubaccountBalanceResult\x12\x43\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32).injective_accounts_rpc.SubaccountBalanceR\x07\x62\x61lance\x12\x1c\n\ttimestamp\x18\x02 \x01(\x12R\ttimestamp\"m\n\x0fPositionsResult\x12<\n\x08position\x18\x01 \x01(\x0b\x32 .injective_accounts_rpc.PositionR\x08position\x12\x1c\n\ttimestamp\x18\x02 \x01(\x12R\ttimestamp\"\xe1\x02\n\x08Position\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1c\n\tdirection\x18\x04 \x01(\tR\tdirection\x12\x1a\n\x08quantity\x18\x05 \x01(\tR\x08quantity\x12\x1f\n\x0b\x65ntry_price\x18\x06 \x01(\tR\nentryPrice\x12\x16\n\x06margin\x18\x07 \x01(\tR\x06margin\x12+\n\x11liquidation_price\x18\x08 \x01(\tR\x10liquidationPrice\x12\x1d\n\nmark_price\x18\t \x01(\tR\tmarkPrice\x12\x1d\n\nupdated_at\x18\n \x01(\x12R\tupdatedAt\x12\x1d\n\ncreated_at\x18\x0b \x01(\x12R\tcreatedAt\"\xf5\x01\n\x0bTradeResult\x12\x42\n\nspot_trade\x18\x01 \x01(\x0b\x32!.injective_accounts_rpc.SpotTradeH\x00R\tspotTrade\x12T\n\x10\x64\x65rivative_trade\x18\x02 \x01(\x0b\x32\'.injective_accounts_rpc.DerivativeTradeH\x00R\x0f\x64\x65rivativeTrade\x12%\n\x0eoperation_type\x18\x03 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x04 \x01(\x12R\ttimestampB\x07\n\x05trade\"\xad\x03\n\tSpotTrade\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x30\n\x14trade_execution_type\x18\x04 \x01(\tR\x12tradeExecutionType\x12\'\n\x0ftrade_direction\x18\x05 \x01(\tR\x0etradeDirection\x12\x38\n\x05price\x18\x06 \x01(\x0b\x32\".injective_accounts_rpc.PriceLevelR\x05price\x12\x10\n\x03\x66\x65\x65\x18\x07 \x01(\tR\x03\x66\x65\x65\x12\x1f\n\x0b\x65xecuted_at\x18\x08 \x01(\x12R\nexecutedAt\x12#\n\rfee_recipient\x18\t \x01(\tR\x0c\x66\x65\x65Recipient\x12\x19\n\x08trade_id\x18\n \x01(\tR\x07tradeId\x12%\n\x0e\x65xecution_side\x18\x0b \x01(\tR\rexecutionSide\x12\x10\n\x03\x63id\x18\x0c \x01(\tR\x03\x63id\"\\\n\nPriceLevel\x12\x14\n\x05price\x18\x01 \x01(\tR\x05price\x12\x1a\n\x08quantity\x18\x02 \x01(\tR\x08quantity\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\xdd\x03\n\x0f\x44\x65rivativeTrade\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x30\n\x14trade_execution_type\x18\x04 \x01(\tR\x12tradeExecutionType\x12%\n\x0eis_liquidation\x18\x05 \x01(\x08R\risLiquidation\x12L\n\x0eposition_delta\x18\x06 \x01(\x0b\x32%.injective_accounts_rpc.PositionDeltaR\rpositionDelta\x12\x16\n\x06payout\x18\x07 \x01(\tR\x06payout\x12\x10\n\x03\x66\x65\x65\x18\x08 \x01(\tR\x03\x66\x65\x65\x12\x1f\n\x0b\x65xecuted_at\x18\t \x01(\x12R\nexecutedAt\x12#\n\rfee_recipient\x18\n \x01(\tR\x0c\x66\x65\x65Recipient\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\x12%\n\x0e\x65xecution_side\x18\x0c \x01(\tR\rexecutionSide\x12\x10\n\x03\x63id\x18\r \x01(\tR\x03\x63id\"\xbb\x01\n\rPositionDelta\x12\'\n\x0ftrade_direction\x18\x01 \x01(\tR\x0etradeDirection\x12\'\n\x0f\x65xecution_price\x18\x02 \x01(\tR\x0e\x65xecutionPrice\x12-\n\x12\x65xecution_quantity\x18\x03 \x01(\tR\x11\x65xecutionQuantity\x12)\n\x10\x65xecution_margin\x18\x04 \x01(\tR\x0f\x65xecutionMargin\"\xff\x01\n\x0bOrderResult\x12G\n\nspot_order\x18\x01 \x01(\x0b\x32&.injective_accounts_rpc.SpotLimitOrderH\x00R\tspotOrder\x12Y\n\x10\x64\x65rivative_order\x18\x02 \x01(\x0b\x32,.injective_accounts_rpc.DerivativeLimitOrderH\x00R\x0f\x64\x65rivativeOrder\x12%\n\x0eoperation_type\x18\x03 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x04 \x01(\x12R\ttimestampB\x07\n\x05order\"\xb8\x03\n\x0eSpotLimitOrder\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x1d\n\norder_side\x18\x02 \x01(\tR\torderSide\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12\x14\n\x05price\x18\x05 \x01(\tR\x05price\x12\x1a\n\x08quantity\x18\x06 \x01(\tR\x08quantity\x12+\n\x11unfilled_quantity\x18\x07 \x01(\tR\x10unfilledQuantity\x12#\n\rtrigger_price\x18\x08 \x01(\tR\x0ctriggerPrice\x12#\n\rfee_recipient\x18\t \x01(\tR\x0c\x66\x65\x65Recipient\x12\x14\n\x05state\x18\n \x01(\tR\x05state\x12\x1d\n\ncreated_at\x18\x0b \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x0c \x01(\x12R\tupdatedAt\x12\x17\n\x07tx_hash\x18\r \x01(\tR\x06txHash\x12\x10\n\x03\x63id\x18\x0e \x01(\tR\x03\x63id\"\xd7\x05\n\x14\x44\x65rivativeLimitOrder\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x1d\n\norder_side\x18\x02 \x01(\tR\torderSide\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12$\n\x0eis_reduce_only\x18\x05 \x01(\x08R\x0cisReduceOnly\x12\x16\n\x06margin\x18\x06 \x01(\tR\x06margin\x12\x14\n\x05price\x18\x07 \x01(\tR\x05price\x12\x1a\n\x08quantity\x18\x08 \x01(\tR\x08quantity\x12+\n\x11unfilled_quantity\x18\t \x01(\tR\x10unfilledQuantity\x12#\n\rtrigger_price\x18\n \x01(\tR\x0ctriggerPrice\x12#\n\rfee_recipient\x18\x0b \x01(\tR\x0c\x66\x65\x65Recipient\x12\x14\n\x05state\x18\x0c \x01(\tR\x05state\x12\x1d\n\ncreated_at\x18\r \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x0e \x01(\x12R\tupdatedAt\x12!\n\x0corder_number\x18\x0f \x01(\x12R\x0borderNumber\x12\x1d\n\norder_type\x18\x10 \x01(\tR\torderType\x12%\n\x0eis_conditional\x18\x11 \x01(\x08R\risConditional\x12\x1d\n\ntrigger_at\x18\x12 \x01(\x04R\ttriggerAt\x12*\n\x11placed_order_hash\x18\x13 \x01(\tR\x0fplacedOrderHash\x12%\n\x0e\x65xecution_type\x18\x14 \x01(\tR\rexecutionType\x12\x17\n\x07tx_hash\x18\x15 \x01(\tR\x06txHash\x12\x10\n\x03\x63id\x18\x16 \x01(\tR\x03\x63id\"\xb0\x02\n\x12OrderHistoryResult\x12X\n\x12spot_order_history\x18\x01 \x01(\x0b\x32(.injective_accounts_rpc.SpotOrderHistoryH\x00R\x10spotOrderHistory\x12j\n\x18\x64\x65rivative_order_history\x18\x02 \x01(\x0b\x32..injective_accounts_rpc.DerivativeOrderHistoryH\x00R\x16\x64\x65rivativeOrderHistory\x12%\n\x0eoperation_type\x18\x03 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x04 \x01(\x12R\ttimestampB\x0f\n\rorder_history\"\xf3\x03\n\x10SpotOrderHistory\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1b\n\tis_active\x18\x03 \x01(\x08R\x08isActive\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12%\n\x0e\x65xecution_type\x18\x05 \x01(\tR\rexecutionType\x12\x1d\n\norder_type\x18\x06 \x01(\tR\torderType\x12\x14\n\x05price\x18\x07 \x01(\tR\x05price\x12#\n\rtrigger_price\x18\x08 \x01(\tR\x0ctriggerPrice\x12\x1a\n\x08quantity\x18\t \x01(\tR\x08quantity\x12\'\n\x0f\x66illed_quantity\x18\n \x01(\tR\x0e\x66illedQuantity\x12\x14\n\x05state\x18\x0b \x01(\tR\x05state\x12\x1d\n\ncreated_at\x18\x0c \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\r \x01(\x12R\tupdatedAt\x12\x1c\n\tdirection\x18\x0e \x01(\tR\tdirection\x12\x17\n\x07tx_hash\x18\x0f \x01(\tR\x06txHash\x12\x10\n\x03\x63id\x18\x10 \x01(\tR\x03\x63id\"\xa9\x05\n\x16\x44\x65rivativeOrderHistory\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1b\n\tis_active\x18\x03 \x01(\x08R\x08isActive\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12%\n\x0e\x65xecution_type\x18\x05 \x01(\tR\rexecutionType\x12\x1d\n\norder_type\x18\x06 \x01(\tR\torderType\x12\x14\n\x05price\x18\x07 \x01(\tR\x05price\x12#\n\rtrigger_price\x18\x08 \x01(\tR\x0ctriggerPrice\x12\x1a\n\x08quantity\x18\t \x01(\tR\x08quantity\x12\'\n\x0f\x66illed_quantity\x18\n \x01(\tR\x0e\x66illedQuantity\x12\x14\n\x05state\x18\x0b \x01(\tR\x05state\x12\x1d\n\ncreated_at\x18\x0c \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\r \x01(\x12R\tupdatedAt\x12$\n\x0eis_reduce_only\x18\x0e \x01(\x08R\x0cisReduceOnly\x12\x1c\n\tdirection\x18\x0f \x01(\tR\tdirection\x12%\n\x0eis_conditional\x18\x10 \x01(\x08R\risConditional\x12\x1d\n\ntrigger_at\x18\x11 \x01(\x04R\ttriggerAt\x12*\n\x11placed_order_hash\x18\x12 \x01(\tR\x0fplacedOrderHash\x12\x16\n\x06margin\x18\x13 \x01(\tR\x06margin\x12\x17\n\x07tx_hash\x18\x14 \x01(\tR\x06txHash\x12\x10\n\x03\x63id\x18\x15 \x01(\tR\x03\x63id\"\xae\x01\n\x14\x46undingPaymentResult\x12Q\n\x10\x66unding_payments\x18\x01 \x01(\x0b\x32&.injective_accounts_rpc.FundingPaymentR\x0f\x66undingPayments\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x04 \x01(\x12R\ttimestamp\"\x88\x01\n\x0e\x46undingPayment\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x16\n\x06\x61mount\x18\x03 \x01(\tR\x06\x61mount\x12\x1c\n\ttimestamp\x18\x04 \x01(\x12R\ttimestamp2\xdc\t\n\x14InjectiveAccountsRPC\x12`\n\tPortfolio\x12(.injective_accounts_rpc.PortfolioRequest\x1a).injective_accounts_rpc.PortfolioResponse\x12\x66\n\x0bOrderStates\x12*.injective_accounts_rpc.OrderStatesRequest\x1a+.injective_accounts_rpc.OrderStatesResponse\x12r\n\x0fSubaccountsList\x12..injective_accounts_rpc.SubaccountsListRequest\x1a/.injective_accounts_rpc.SubaccountsListResponse\x12\x87\x01\n\x16SubaccountBalancesList\x12\x35.injective_accounts_rpc.SubaccountBalancesListRequest\x1a\x36.injective_accounts_rpc.SubaccountBalancesListResponse\x12\x90\x01\n\x19SubaccountBalanceEndpoint\x12\x38.injective_accounts_rpc.SubaccountBalanceEndpointRequest\x1a\x39.injective_accounts_rpc.SubaccountBalanceEndpointResponse\x12\x8c\x01\n\x17StreamSubaccountBalance\x12\x36.injective_accounts_rpc.StreamSubaccountBalanceRequest\x1a\x37.injective_accounts_rpc.StreamSubaccountBalanceResponse0\x01\x12x\n\x11SubaccountHistory\x12\x30.injective_accounts_rpc.SubaccountHistoryRequest\x1a\x31.injective_accounts_rpc.SubaccountHistoryResponse\x12\x87\x01\n\x16SubaccountOrderSummary\x12\x35.injective_accounts_rpc.SubaccountOrderSummaryRequest\x1a\x36.injective_accounts_rpc.SubaccountOrderSummaryResponse\x12Z\n\x07Rewards\x12&.injective_accounts_rpc.RewardsRequest\x1a\'.injective_accounts_rpc.RewardsResponse\x12z\n\x11StreamAccountData\x12\x30.injective_accounts_rpc.StreamAccountDataRequest\x1a\x31.injective_accounts_rpc.StreamAccountDataResponse0\x01\x42\xc2\x01\n\x1a\x63om.injective_accounts_rpcB\x19InjectiveAccountsRpcProtoP\x01Z\x19/injective_accounts_rpcpb\xa2\x02\x03IXX\xaa\x02\x14InjectiveAccountsRpc\xca\x02\x14InjectiveAccountsRpc\xe2\x02 InjectiveAccountsRpc\\GPBMetadata\xea\x02\x14InjectiveAccountsRpcb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_accounts_rpc_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.injective_accounts_rpcB\031InjectiveAccountsRpcProtoP\001Z\031/injective_accounts_rpcpb\242\002\003IXX\252\002\024InjectiveAccountsRpc\312\002\024InjectiveAccountsRpc\342\002 InjectiveAccountsRpc\\GPBMetadata\352\002\024InjectiveAccountsRpc' - _globals['_PORTFOLIOREQUEST']._serialized_start=65 - _globals['_PORTFOLIOREQUEST']._serialized_end=124 - _globals['_PORTFOLIORESPONSE']._serialized_start=126 - _globals['_PORTFOLIORESPONSE']._serialized_end=217 - _globals['_ACCOUNTPORTFOLIO']._serialized_start=220 - _globals['_ACCOUNTPORTFOLIO']._serialized_end=481 - _globals['_SUBACCOUNTPORTFOLIO']._serialized_start=484 - _globals['_SUBACCOUNTPORTFOLIO']._serialized_end=665 - _globals['_ORDERSTATESREQUEST']._serialized_start=667 - _globals['_ORDERSTATESREQUEST']._serialized_end=787 - _globals['_ORDERSTATESRESPONSE']._serialized_start=790 - _globals['_ORDERSTATESRESPONSE']._serialized_end=995 - _globals['_ORDERSTATERECORD']._serialized_start=998 - _globals['_ORDERSTATERECORD']._serialized_end=1393 - _globals['_SUBACCOUNTSLISTREQUEST']._serialized_start=1395 - _globals['_SUBACCOUNTSLISTREQUEST']._serialized_end=1460 - _globals['_SUBACCOUNTSLISTRESPONSE']._serialized_start=1462 - _globals['_SUBACCOUNTSLISTRESPONSE']._serialized_end=1521 - _globals['_SUBACCOUNTBALANCESLISTREQUEST']._serialized_start=1523 - _globals['_SUBACCOUNTBALANCESLISTREQUEST']._serialized_end=1615 - _globals['_SUBACCOUNTBALANCESLISTRESPONSE']._serialized_start=1617 - _globals['_SUBACCOUNTBALANCESLISTRESPONSE']._serialized_end=1720 - _globals['_SUBACCOUNTBALANCE']._serialized_start=1723 - _globals['_SUBACCOUNTBALANCE']._serialized_end=1911 - _globals['_SUBACCOUNTDEPOSIT']._serialized_start=1913 - _globals['_SUBACCOUNTDEPOSIT']._serialized_end=2014 - _globals['_SUBACCOUNTBALANCEENDPOINTREQUEST']._serialized_start=2016 - _globals['_SUBACCOUNTBALANCEENDPOINTREQUEST']._serialized_end=2109 - _globals['_SUBACCOUNTBALANCEENDPOINTRESPONSE']._serialized_start=2111 - _globals['_SUBACCOUNTBALANCEENDPOINTRESPONSE']._serialized_end=2215 - _globals['_STREAMSUBACCOUNTBALANCEREQUEST']._serialized_start=2217 - _globals['_STREAMSUBACCOUNTBALANCEREQUEST']._serialized_end=2310 - _globals['_STREAMSUBACCOUNTBALANCERESPONSE']._serialized_start=2313 - _globals['_STREAMSUBACCOUNTBALANCERESPONSE']._serialized_end=2445 - _globals['_SUBACCOUNTHISTORYREQUEST']._serialized_start=2448 - _globals['_SUBACCOUNTHISTORYREQUEST']._serialized_end=2641 - _globals['_SUBACCOUNTHISTORYRESPONSE']._serialized_start=2644 - _globals['_SUBACCOUNTHISTORYRESPONSE']._serialized_end=2808 - _globals['_SUBACCOUNTBALANCETRANSFER']._serialized_start=2811 - _globals['_SUBACCOUNTBALANCETRANSFER']._serialized_end=3152 - _globals['_COSMOSCOIN']._serialized_start=3154 - _globals['_COSMOSCOIN']._serialized_end=3212 - _globals['_PAGING']._serialized_start=3215 - _globals['_PAGING']._serialized_end=3349 - _globals['_SUBACCOUNTORDERSUMMARYREQUEST']._serialized_start=3352 - _globals['_SUBACCOUNTORDERSUMMARYREQUEST']._serialized_end=3490 - _globals['_SUBACCOUNTORDERSUMMARYRESPONSE']._serialized_start=3493 - _globals['_SUBACCOUNTORDERSUMMARYRESPONSE']._serialized_end=3625 - _globals['_REWARDSREQUEST']._serialized_start=3627 - _globals['_REWARDSREQUEST']._serialized_end=3706 - _globals['_REWARDSRESPONSE']._serialized_start=3708 - _globals['_REWARDSRESPONSE']._serialized_end=3783 - _globals['_REWARD']._serialized_start=3786 - _globals['_REWARD']._serialized_end=3930 - _globals['_COIN']._serialized_start=3932 - _globals['_COIN']._serialized_end=3984 - _globals['_STREAMACCOUNTDATAREQUEST']._serialized_start=3986 - _globals['_STREAMACCOUNTDATAREQUEST']._serialized_end=4053 - _globals['_STREAMACCOUNTDATARESPONSE']._serialized_start=4056 - _globals['_STREAMACCOUNTDATARESPONSE']._serialized_end=4534 - _globals['_SUBACCOUNTBALANCERESULT']._serialized_start=4536 - _globals['_SUBACCOUNTBALANCERESULT']._serialized_end=4660 - _globals['_POSITIONSRESULT']._serialized_start=4662 - _globals['_POSITIONSRESULT']._serialized_end=4771 - _globals['_POSITION']._serialized_start=4774 - _globals['_POSITION']._serialized_end=5127 - _globals['_TRADERESULT']._serialized_start=5130 - _globals['_TRADERESULT']._serialized_end=5375 - _globals['_SPOTTRADE']._serialized_start=5378 - _globals['_SPOTTRADE']._serialized_end=5807 - _globals['_PRICELEVEL']._serialized_start=5809 - _globals['_PRICELEVEL']._serialized_end=5901 - _globals['_DERIVATIVETRADE']._serialized_start=5904 - _globals['_DERIVATIVETRADE']._serialized_end=6381 - _globals['_POSITIONDELTA']._serialized_start=6384 - _globals['_POSITIONDELTA']._serialized_end=6571 - _globals['_ORDERRESULT']._serialized_start=6574 - _globals['_ORDERRESULT']._serialized_end=6829 - _globals['_SPOTLIMITORDER']._serialized_start=6832 - _globals['_SPOTLIMITORDER']._serialized_end=7272 - _globals['_DERIVATIVELIMITORDER']._serialized_start=7275 - _globals['_DERIVATIVELIMITORDER']._serialized_end=8002 - _globals['_ORDERHISTORYRESULT']._serialized_start=8005 - _globals['_ORDERHISTORYRESULT']._serialized_end=8309 - _globals['_SPOTORDERHISTORY']._serialized_start=8312 - _globals['_SPOTORDERHISTORY']._serialized_end=8811 - _globals['_DERIVATIVEORDERHISTORY']._serialized_start=8814 - _globals['_DERIVATIVEORDERHISTORY']._serialized_end=9495 - _globals['_FUNDINGPAYMENTRESULT']._serialized_start=9498 - _globals['_FUNDINGPAYMENTRESULT']._serialized_end=9672 - _globals['_FUNDINGPAYMENT']._serialized_start=9675 - _globals['_FUNDINGPAYMENT']._serialized_end=9811 - _globals['_INJECTIVEACCOUNTSRPC']._serialized_start=9814 - _globals['_INJECTIVEACCOUNTSRPC']._serialized_end=11058 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_accounts_rpc_pb2_grpc.py b/pyinjective/proto/exchange/injective_accounts_rpc_pb2_grpc.py deleted file mode 100644 index 7289d020..00000000 --- a/pyinjective/proto/exchange/injective_accounts_rpc_pb2_grpc.py +++ /dev/null @@ -1,479 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.exchange import injective_accounts_rpc_pb2 as exchange_dot_injective__accounts__rpc__pb2 - - -class InjectiveAccountsRPCStub(object): - """InjectiveAccountsRPC defines API of Exchange Accounts provider. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Portfolio = channel.unary_unary( - '/injective_accounts_rpc.InjectiveAccountsRPC/Portfolio', - request_serializer=exchange_dot_injective__accounts__rpc__pb2.PortfolioRequest.SerializeToString, - response_deserializer=exchange_dot_injective__accounts__rpc__pb2.PortfolioResponse.FromString, - _registered_method=True) - self.OrderStates = channel.unary_unary( - '/injective_accounts_rpc.InjectiveAccountsRPC/OrderStates', - request_serializer=exchange_dot_injective__accounts__rpc__pb2.OrderStatesRequest.SerializeToString, - response_deserializer=exchange_dot_injective__accounts__rpc__pb2.OrderStatesResponse.FromString, - _registered_method=True) - self.SubaccountsList = channel.unary_unary( - '/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountsList', - request_serializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountsListRequest.SerializeToString, - response_deserializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountsListResponse.FromString, - _registered_method=True) - self.SubaccountBalancesList = channel.unary_unary( - '/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalancesList', - request_serializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalancesListRequest.SerializeToString, - response_deserializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalancesListResponse.FromString, - _registered_method=True) - self.SubaccountBalanceEndpoint = channel.unary_unary( - '/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalanceEndpoint', - request_serializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceEndpointRequest.SerializeToString, - response_deserializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceEndpointResponse.FromString, - _registered_method=True) - self.StreamSubaccountBalance = channel.unary_stream( - '/injective_accounts_rpc.InjectiveAccountsRPC/StreamSubaccountBalance', - request_serializer=exchange_dot_injective__accounts__rpc__pb2.StreamSubaccountBalanceRequest.SerializeToString, - response_deserializer=exchange_dot_injective__accounts__rpc__pb2.StreamSubaccountBalanceResponse.FromString, - _registered_method=True) - self.SubaccountHistory = channel.unary_unary( - '/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountHistory', - request_serializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountHistoryRequest.SerializeToString, - response_deserializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountHistoryResponse.FromString, - _registered_method=True) - self.SubaccountOrderSummary = channel.unary_unary( - '/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountOrderSummary', - request_serializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountOrderSummaryRequest.SerializeToString, - response_deserializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountOrderSummaryResponse.FromString, - _registered_method=True) - self.Rewards = channel.unary_unary( - '/injective_accounts_rpc.InjectiveAccountsRPC/Rewards', - request_serializer=exchange_dot_injective__accounts__rpc__pb2.RewardsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__accounts__rpc__pb2.RewardsResponse.FromString, - _registered_method=True) - self.StreamAccountData = channel.unary_stream( - '/injective_accounts_rpc.InjectiveAccountsRPC/StreamAccountData', - request_serializer=exchange_dot_injective__accounts__rpc__pb2.StreamAccountDataRequest.SerializeToString, - response_deserializer=exchange_dot_injective__accounts__rpc__pb2.StreamAccountDataResponse.FromString, - _registered_method=True) - - -class InjectiveAccountsRPCServicer(object): - """InjectiveAccountsRPC defines API of Exchange Accounts provider. - """ - - def Portfolio(self, request, context): - """Provide the account's portfolio value in USD. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def OrderStates(self, request, context): - """List order states by order hashes - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubaccountsList(self, request, context): - """List all subaccounts IDs of an account address - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubaccountBalancesList(self, request, context): - """List subaccount balances for the provided denoms. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubaccountBalanceEndpoint(self, request, context): - """Gets a balance for specific coin denom - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamSubaccountBalance(self, request, context): - """StreamSubaccountBalance streams new balance changes for a specified - subaccount and denoms. If no denoms are provided, all denom changes are - streamed. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubaccountHistory(self, request, context): - """Get subaccount's deposits and withdrawals history - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubaccountOrderSummary(self, request, context): - """Get subaccount's orders summary - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Rewards(self, request, context): - """Provide historical trading rewards - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamAccountData(self, request, context): - """Stream live data for an account and respective data - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_InjectiveAccountsRPCServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Portfolio': grpc.unary_unary_rpc_method_handler( - servicer.Portfolio, - request_deserializer=exchange_dot_injective__accounts__rpc__pb2.PortfolioRequest.FromString, - response_serializer=exchange_dot_injective__accounts__rpc__pb2.PortfolioResponse.SerializeToString, - ), - 'OrderStates': grpc.unary_unary_rpc_method_handler( - servicer.OrderStates, - request_deserializer=exchange_dot_injective__accounts__rpc__pb2.OrderStatesRequest.FromString, - response_serializer=exchange_dot_injective__accounts__rpc__pb2.OrderStatesResponse.SerializeToString, - ), - 'SubaccountsList': grpc.unary_unary_rpc_method_handler( - servicer.SubaccountsList, - request_deserializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountsListRequest.FromString, - response_serializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountsListResponse.SerializeToString, - ), - 'SubaccountBalancesList': grpc.unary_unary_rpc_method_handler( - servicer.SubaccountBalancesList, - request_deserializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalancesListRequest.FromString, - response_serializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalancesListResponse.SerializeToString, - ), - 'SubaccountBalanceEndpoint': grpc.unary_unary_rpc_method_handler( - servicer.SubaccountBalanceEndpoint, - request_deserializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceEndpointRequest.FromString, - response_serializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceEndpointResponse.SerializeToString, - ), - 'StreamSubaccountBalance': grpc.unary_stream_rpc_method_handler( - servicer.StreamSubaccountBalance, - request_deserializer=exchange_dot_injective__accounts__rpc__pb2.StreamSubaccountBalanceRequest.FromString, - response_serializer=exchange_dot_injective__accounts__rpc__pb2.StreamSubaccountBalanceResponse.SerializeToString, - ), - 'SubaccountHistory': grpc.unary_unary_rpc_method_handler( - servicer.SubaccountHistory, - request_deserializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountHistoryRequest.FromString, - response_serializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountHistoryResponse.SerializeToString, - ), - 'SubaccountOrderSummary': grpc.unary_unary_rpc_method_handler( - servicer.SubaccountOrderSummary, - request_deserializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountOrderSummaryRequest.FromString, - response_serializer=exchange_dot_injective__accounts__rpc__pb2.SubaccountOrderSummaryResponse.SerializeToString, - ), - 'Rewards': grpc.unary_unary_rpc_method_handler( - servicer.Rewards, - request_deserializer=exchange_dot_injective__accounts__rpc__pb2.RewardsRequest.FromString, - response_serializer=exchange_dot_injective__accounts__rpc__pb2.RewardsResponse.SerializeToString, - ), - 'StreamAccountData': grpc.unary_stream_rpc_method_handler( - servicer.StreamAccountData, - request_deserializer=exchange_dot_injective__accounts__rpc__pb2.StreamAccountDataRequest.FromString, - response_serializer=exchange_dot_injective__accounts__rpc__pb2.StreamAccountDataResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective_accounts_rpc.InjectiveAccountsRPC', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective_accounts_rpc.InjectiveAccountsRPC', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class InjectiveAccountsRPC(object): - """InjectiveAccountsRPC defines API of Exchange Accounts provider. - """ - - @staticmethod - def Portfolio(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_accounts_rpc.InjectiveAccountsRPC/Portfolio', - exchange_dot_injective__accounts__rpc__pb2.PortfolioRequest.SerializeToString, - exchange_dot_injective__accounts__rpc__pb2.PortfolioResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def OrderStates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_accounts_rpc.InjectiveAccountsRPC/OrderStates', - exchange_dot_injective__accounts__rpc__pb2.OrderStatesRequest.SerializeToString, - exchange_dot_injective__accounts__rpc__pb2.OrderStatesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SubaccountsList(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountsList', - exchange_dot_injective__accounts__rpc__pb2.SubaccountsListRequest.SerializeToString, - exchange_dot_injective__accounts__rpc__pb2.SubaccountsListResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SubaccountBalancesList(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalancesList', - exchange_dot_injective__accounts__rpc__pb2.SubaccountBalancesListRequest.SerializeToString, - exchange_dot_injective__accounts__rpc__pb2.SubaccountBalancesListResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SubaccountBalanceEndpoint(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalanceEndpoint', - exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceEndpointRequest.SerializeToString, - exchange_dot_injective__accounts__rpc__pb2.SubaccountBalanceEndpointResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamSubaccountBalance(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, - '/injective_accounts_rpc.InjectiveAccountsRPC/StreamSubaccountBalance', - exchange_dot_injective__accounts__rpc__pb2.StreamSubaccountBalanceRequest.SerializeToString, - exchange_dot_injective__accounts__rpc__pb2.StreamSubaccountBalanceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SubaccountHistory(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountHistory', - exchange_dot_injective__accounts__rpc__pb2.SubaccountHistoryRequest.SerializeToString, - exchange_dot_injective__accounts__rpc__pb2.SubaccountHistoryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SubaccountOrderSummary(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountOrderSummary', - exchange_dot_injective__accounts__rpc__pb2.SubaccountOrderSummaryRequest.SerializeToString, - exchange_dot_injective__accounts__rpc__pb2.SubaccountOrderSummaryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Rewards(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_accounts_rpc.InjectiveAccountsRPC/Rewards', - exchange_dot_injective__accounts__rpc__pb2.RewardsRequest.SerializeToString, - exchange_dot_injective__accounts__rpc__pb2.RewardsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamAccountData(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, - '/injective_accounts_rpc.InjectiveAccountsRPC/StreamAccountData', - exchange_dot_injective__accounts__rpc__pb2.StreamAccountDataRequest.SerializeToString, - exchange_dot_injective__accounts__rpc__pb2.StreamAccountDataResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/exchange/injective_archiver_rpc_pb2.py b/pyinjective/proto/exchange/injective_archiver_rpc_pb2.py deleted file mode 100644 index 73c52b43..00000000 --- a/pyinjective/proto/exchange/injective_archiver_rpc_pb2.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: exchange/injective_archiver_rpc.proto -# Protobuf Python Version: 5.26.1 -"""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%exchange/injective_archiver_rpc.proto\x12\x16injective_archiver_rpc\"J\n\x0e\x42\x61lanceRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x1e\n\nresolution\x18\x02 \x01(\tR\nresolution\"k\n\x0f\x42\x61lanceResponse\x12X\n\x12historical_balance\x18\x01 \x01(\x0b\x32).injective_archiver_rpc.HistoricalBalanceR\x11historicalBalance\"/\n\x11HistoricalBalance\x12\x0c\n\x01t\x18\x01 \x03(\x11R\x01t\x12\x0c\n\x01v\x18\x02 \x03(\x01R\x01v\"G\n\x0bRpnlRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x1e\n\nresolution\x18\x02 \x01(\tR\nresolution\"_\n\x0cRpnlResponse\x12O\n\x0fhistorical_rpnl\x18\x01 \x01(\x0b\x32&.injective_archiver_rpc.HistoricalRPNLR\x0ehistoricalRpnl\",\n\x0eHistoricalRPNL\x12\x0c\n\x01t\x18\x01 \x03(\x11R\x01t\x12\x0c\n\x01v\x18\x02 \x03(\x01R\x01v\"J\n\x0eVolumesRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x1e\n\nresolution\x18\x02 \x01(\tR\nresolution\"k\n\x0fVolumesResponse\x12X\n\x12historical_volumes\x18\x01 \x01(\x0b\x32).injective_archiver_rpc.HistoricalVolumesR\x11historicalVolumes\"/\n\x11HistoricalVolumes\x12\x0c\n\x01t\x18\x01 \x03(\x11R\x01t\x12\x0c\n\x01v\x18\x02 \x03(\x01R\x01v2\xa1\x02\n\x14InjectiveArchiverRPC\x12Z\n\x07\x42\x61lance\x12&.injective_archiver_rpc.BalanceRequest\x1a\'.injective_archiver_rpc.BalanceResponse\x12Q\n\x04Rpnl\x12#.injective_archiver_rpc.RpnlRequest\x1a$.injective_archiver_rpc.RpnlResponse\x12Z\n\x07Volumes\x12&.injective_archiver_rpc.VolumesRequest\x1a\'.injective_archiver_rpc.VolumesResponseB\xc2\x01\n\x1a\x63om.injective_archiver_rpcB\x19InjectiveArchiverRpcProtoP\x01Z\x19/injective_archiver_rpcpb\xa2\x02\x03IXX\xaa\x02\x14InjectiveArchiverRpc\xca\x02\x14InjectiveArchiverRpc\xe2\x02 InjectiveArchiverRpc\\GPBMetadata\xea\x02\x14InjectiveArchiverRpcb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_archiver_rpc_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.injective_archiver_rpcB\031InjectiveArchiverRpcProtoP\001Z\031/injective_archiver_rpcpb\242\002\003IXX\252\002\024InjectiveArchiverRpc\312\002\024InjectiveArchiverRpc\342\002 InjectiveArchiverRpc\\GPBMetadata\352\002\024InjectiveArchiverRpc' - _globals['_BALANCEREQUEST']._serialized_start=65 - _globals['_BALANCEREQUEST']._serialized_end=139 - _globals['_BALANCERESPONSE']._serialized_start=141 - _globals['_BALANCERESPONSE']._serialized_end=248 - _globals['_HISTORICALBALANCE']._serialized_start=250 - _globals['_HISTORICALBALANCE']._serialized_end=297 - _globals['_RPNLREQUEST']._serialized_start=299 - _globals['_RPNLREQUEST']._serialized_end=370 - _globals['_RPNLRESPONSE']._serialized_start=372 - _globals['_RPNLRESPONSE']._serialized_end=467 - _globals['_HISTORICALRPNL']._serialized_start=469 - _globals['_HISTORICALRPNL']._serialized_end=513 - _globals['_VOLUMESREQUEST']._serialized_start=515 - _globals['_VOLUMESREQUEST']._serialized_end=589 - _globals['_VOLUMESRESPONSE']._serialized_start=591 - _globals['_VOLUMESRESPONSE']._serialized_end=698 - _globals['_HISTORICALVOLUMES']._serialized_start=700 - _globals['_HISTORICALVOLUMES']._serialized_end=747 - _globals['_INJECTIVEARCHIVERRPC']._serialized_start=750 - _globals['_INJECTIVEARCHIVERRPC']._serialized_end=1039 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_archiver_rpc_pb2_grpc.py b/pyinjective/proto/exchange/injective_archiver_rpc_pb2_grpc.py deleted file mode 100644 index 5e23e919..00000000 --- a/pyinjective/proto/exchange/injective_archiver_rpc_pb2_grpc.py +++ /dev/null @@ -1,169 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.exchange import injective_archiver_rpc_pb2 as exchange_dot_injective__archiver__rpc__pb2 - - -class InjectiveArchiverRPCStub(object): - """InjectiveArchiverRPC defines gRPC API of Archiver provider. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Balance = channel.unary_unary( - '/injective_archiver_rpc.InjectiveArchiverRPC/Balance', - request_serializer=exchange_dot_injective__archiver__rpc__pb2.BalanceRequest.SerializeToString, - response_deserializer=exchange_dot_injective__archiver__rpc__pb2.BalanceResponse.FromString, - _registered_method=True) - self.Rpnl = channel.unary_unary( - '/injective_archiver_rpc.InjectiveArchiverRPC/Rpnl', - request_serializer=exchange_dot_injective__archiver__rpc__pb2.RpnlRequest.SerializeToString, - response_deserializer=exchange_dot_injective__archiver__rpc__pb2.RpnlResponse.FromString, - _registered_method=True) - self.Volumes = channel.unary_unary( - '/injective_archiver_rpc.InjectiveArchiverRPC/Volumes', - request_serializer=exchange_dot_injective__archiver__rpc__pb2.VolumesRequest.SerializeToString, - response_deserializer=exchange_dot_injective__archiver__rpc__pb2.VolumesResponse.FromString, - _registered_method=True) - - -class InjectiveArchiverRPCServicer(object): - """InjectiveArchiverRPC defines gRPC API of Archiver provider. - """ - - def Balance(self, request, context): - """Provide historical balance data for a given account address. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Rpnl(self, request, context): - """Provide historical realized profit and loss data for a given account address. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Volumes(self, request, context): - """Provide historical volumes for a given account address. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_InjectiveArchiverRPCServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Balance': grpc.unary_unary_rpc_method_handler( - servicer.Balance, - request_deserializer=exchange_dot_injective__archiver__rpc__pb2.BalanceRequest.FromString, - response_serializer=exchange_dot_injective__archiver__rpc__pb2.BalanceResponse.SerializeToString, - ), - 'Rpnl': grpc.unary_unary_rpc_method_handler( - servicer.Rpnl, - request_deserializer=exchange_dot_injective__archiver__rpc__pb2.RpnlRequest.FromString, - response_serializer=exchange_dot_injective__archiver__rpc__pb2.RpnlResponse.SerializeToString, - ), - 'Volumes': grpc.unary_unary_rpc_method_handler( - servicer.Volumes, - request_deserializer=exchange_dot_injective__archiver__rpc__pb2.VolumesRequest.FromString, - response_serializer=exchange_dot_injective__archiver__rpc__pb2.VolumesResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective_archiver_rpc.InjectiveArchiverRPC', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective_archiver_rpc.InjectiveArchiverRPC', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class InjectiveArchiverRPC(object): - """InjectiveArchiverRPC defines gRPC API of Archiver provider. - """ - - @staticmethod - def Balance(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_archiver_rpc.InjectiveArchiverRPC/Balance', - exchange_dot_injective__archiver__rpc__pb2.BalanceRequest.SerializeToString, - exchange_dot_injective__archiver__rpc__pb2.BalanceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Rpnl(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_archiver_rpc.InjectiveArchiverRPC/Rpnl', - exchange_dot_injective__archiver__rpc__pb2.RpnlRequest.SerializeToString, - exchange_dot_injective__archiver__rpc__pb2.RpnlResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Volumes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_archiver_rpc.InjectiveArchiverRPC/Volumes', - exchange_dot_injective__archiver__rpc__pb2.VolumesRequest.SerializeToString, - exchange_dot_injective__archiver__rpc__pb2.VolumesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/exchange/injective_auction_rpc_pb2.py b/pyinjective/proto/exchange/injective_auction_rpc_pb2.py deleted file mode 100644 index 0ec3dabb..00000000 --- a/pyinjective/proto/exchange/injective_auction_rpc_pb2.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: exchange/injective_auction_rpc.proto -# Protobuf Python Version: 5.26.1 -"""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$exchange/injective_auction_rpc.proto\x12\x15injective_auction_rpc\".\n\x16\x41uctionEndpointRequest\x12\x14\n\x05round\x18\x01 \x01(\x12R\x05round\"\x83\x01\n\x17\x41uctionEndpointResponse\x12\x38\n\x07\x61uction\x18\x01 \x01(\x0b\x32\x1e.injective_auction_rpc.AuctionR\x07\x61uction\x12.\n\x04\x62ids\x18\x02 \x03(\x0b\x32\x1a.injective_auction_rpc.BidR\x04\x62ids\"\xde\x01\n\x07\x41uction\x12\x16\n\x06winner\x18\x01 \x01(\tR\x06winner\x12\x33\n\x06\x62\x61sket\x18\x02 \x03(\x0b\x32\x1b.injective_auction_rpc.CoinR\x06\x62\x61sket\x12,\n\x12winning_bid_amount\x18\x03 \x01(\tR\x10winningBidAmount\x12\x14\n\x05round\x18\x04 \x01(\x04R\x05round\x12#\n\rend_timestamp\x18\x05 \x01(\x12R\x0c\x65ndTimestamp\x12\x1d\n\nupdated_at\x18\x06 \x01(\x12R\tupdatedAt\"4\n\x04\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"S\n\x03\x42id\x12\x16\n\x06\x62idder\x18\x01 \x01(\tR\x06\x62idder\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\x11\n\x0f\x41uctionsRequest\"N\n\x10\x41uctionsResponse\x12:\n\x08\x61uctions\x18\x01 \x03(\x0b\x32\x1e.injective_auction_rpc.AuctionR\x08\x61uctions\"\x13\n\x11StreamBidsRequest\"\x7f\n\x12StreamBidsResponse\x12\x16\n\x06\x62idder\x18\x01 \x01(\tR\x06\x62idder\x12\x1d\n\nbid_amount\x18\x02 \x01(\tR\tbidAmount\x12\x14\n\x05round\x18\x03 \x01(\x04R\x05round\x12\x1c\n\ttimestamp\x18\x04 \x01(\x12R\ttimestamp2\xc9\x02\n\x13InjectiveAuctionRPC\x12p\n\x0f\x41uctionEndpoint\x12-.injective_auction_rpc.AuctionEndpointRequest\x1a..injective_auction_rpc.AuctionEndpointResponse\x12[\n\x08\x41uctions\x12&.injective_auction_rpc.AuctionsRequest\x1a\'.injective_auction_rpc.AuctionsResponse\x12\x63\n\nStreamBids\x12(.injective_auction_rpc.StreamBidsRequest\x1a).injective_auction_rpc.StreamBidsResponse0\x01\x42\xbb\x01\n\x19\x63om.injective_auction_rpcB\x18InjectiveAuctionRpcProtoP\x01Z\x18/injective_auction_rpcpb\xa2\x02\x03IXX\xaa\x02\x13InjectiveAuctionRpc\xca\x02\x13InjectiveAuctionRpc\xe2\x02\x1fInjectiveAuctionRpc\\GPBMetadata\xea\x02\x13InjectiveAuctionRpcb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_auction_rpc_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.injective_auction_rpcB\030InjectiveAuctionRpcProtoP\001Z\030/injective_auction_rpcpb\242\002\003IXX\252\002\023InjectiveAuctionRpc\312\002\023InjectiveAuctionRpc\342\002\037InjectiveAuctionRpc\\GPBMetadata\352\002\023InjectiveAuctionRpc' - _globals['_AUCTIONENDPOINTREQUEST']._serialized_start=63 - _globals['_AUCTIONENDPOINTREQUEST']._serialized_end=109 - _globals['_AUCTIONENDPOINTRESPONSE']._serialized_start=112 - _globals['_AUCTIONENDPOINTRESPONSE']._serialized_end=243 - _globals['_AUCTION']._serialized_start=246 - _globals['_AUCTION']._serialized_end=468 - _globals['_COIN']._serialized_start=470 - _globals['_COIN']._serialized_end=522 - _globals['_BID']._serialized_start=524 - _globals['_BID']._serialized_end=607 - _globals['_AUCTIONSREQUEST']._serialized_start=609 - _globals['_AUCTIONSREQUEST']._serialized_end=626 - _globals['_AUCTIONSRESPONSE']._serialized_start=628 - _globals['_AUCTIONSRESPONSE']._serialized_end=706 - _globals['_STREAMBIDSREQUEST']._serialized_start=708 - _globals['_STREAMBIDSREQUEST']._serialized_end=727 - _globals['_STREAMBIDSRESPONSE']._serialized_start=729 - _globals['_STREAMBIDSRESPONSE']._serialized_end=856 - _globals['_INJECTIVEAUCTIONRPC']._serialized_start=859 - _globals['_INJECTIVEAUCTIONRPC']._serialized_end=1188 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_auction_rpc_pb2_grpc.py b/pyinjective/proto/exchange/injective_auction_rpc_pb2_grpc.py deleted file mode 100644 index d2492e84..00000000 --- a/pyinjective/proto/exchange/injective_auction_rpc_pb2_grpc.py +++ /dev/null @@ -1,169 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.exchange import injective_auction_rpc_pb2 as exchange_dot_injective__auction__rpc__pb2 - - -class InjectiveAuctionRPCStub(object): - """InjectiveAuctionRPC defines gRPC API of the Auction API. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.AuctionEndpoint = channel.unary_unary( - '/injective_auction_rpc.InjectiveAuctionRPC/AuctionEndpoint', - request_serializer=exchange_dot_injective__auction__rpc__pb2.AuctionEndpointRequest.SerializeToString, - response_deserializer=exchange_dot_injective__auction__rpc__pb2.AuctionEndpointResponse.FromString, - _registered_method=True) - self.Auctions = channel.unary_unary( - '/injective_auction_rpc.InjectiveAuctionRPC/Auctions', - request_serializer=exchange_dot_injective__auction__rpc__pb2.AuctionsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__auction__rpc__pb2.AuctionsResponse.FromString, - _registered_method=True) - self.StreamBids = channel.unary_stream( - '/injective_auction_rpc.InjectiveAuctionRPC/StreamBids', - request_serializer=exchange_dot_injective__auction__rpc__pb2.StreamBidsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__auction__rpc__pb2.StreamBidsResponse.FromString, - _registered_method=True) - - -class InjectiveAuctionRPCServicer(object): - """InjectiveAuctionRPC defines gRPC API of the Auction API. - """ - - def AuctionEndpoint(self, request, context): - """Provide historical auction info for a given auction - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Auctions(self, request, context): - """Provide the historical auctions info - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamBids(self, request, context): - """StreamBids streams new bids of an auction. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_InjectiveAuctionRPCServicer_to_server(servicer, server): - rpc_method_handlers = { - 'AuctionEndpoint': grpc.unary_unary_rpc_method_handler( - servicer.AuctionEndpoint, - request_deserializer=exchange_dot_injective__auction__rpc__pb2.AuctionEndpointRequest.FromString, - response_serializer=exchange_dot_injective__auction__rpc__pb2.AuctionEndpointResponse.SerializeToString, - ), - 'Auctions': grpc.unary_unary_rpc_method_handler( - servicer.Auctions, - request_deserializer=exchange_dot_injective__auction__rpc__pb2.AuctionsRequest.FromString, - response_serializer=exchange_dot_injective__auction__rpc__pb2.AuctionsResponse.SerializeToString, - ), - 'StreamBids': grpc.unary_stream_rpc_method_handler( - servicer.StreamBids, - request_deserializer=exchange_dot_injective__auction__rpc__pb2.StreamBidsRequest.FromString, - response_serializer=exchange_dot_injective__auction__rpc__pb2.StreamBidsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective_auction_rpc.InjectiveAuctionRPC', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective_auction_rpc.InjectiveAuctionRPC', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class InjectiveAuctionRPC(object): - """InjectiveAuctionRPC defines gRPC API of the Auction API. - """ - - @staticmethod - def AuctionEndpoint(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_auction_rpc.InjectiveAuctionRPC/AuctionEndpoint', - exchange_dot_injective__auction__rpc__pb2.AuctionEndpointRequest.SerializeToString, - exchange_dot_injective__auction__rpc__pb2.AuctionEndpointResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Auctions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_auction_rpc.InjectiveAuctionRPC/Auctions', - exchange_dot_injective__auction__rpc__pb2.AuctionsRequest.SerializeToString, - exchange_dot_injective__auction__rpc__pb2.AuctionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamBids(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, - '/injective_auction_rpc.InjectiveAuctionRPC/StreamBids', - exchange_dot_injective__auction__rpc__pb2.StreamBidsRequest.SerializeToString, - exchange_dot_injective__auction__rpc__pb2.StreamBidsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py b/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py deleted file mode 100644 index 05bc4062..00000000 --- a/pyinjective/proto/exchange/injective_campaign_rpc_pb2.py +++ /dev/null @@ -1,67 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: exchange/injective_campaign_rpc.proto -# Protobuf Python Version: 5.26.1 -"""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%exchange/injective_campaign_rpc.proto\x12\x16injective_campaign_rpc\"\xcc\x01\n\x0eRankingRequest\x12\x1f\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\tR\ncampaignId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x14\n\x05limit\x18\x04 \x01(\x11R\x05limit\x12\x12\n\x04skip\x18\x05 \x01(\x04R\x04skip\x12)\n\x10\x63ontract_address\x18\x06 \x01(\tR\x0f\x63ontractAddress\"\xc3\x01\n\x0fRankingResponse\x12<\n\x08\x63\x61mpaign\x18\x01 \x01(\x0b\x32 .injective_campaign_rpc.CampaignR\x08\x63\x61mpaign\x12:\n\x05users\x18\x02 \x03(\x0b\x32$.injective_campaign_rpc.CampaignUserR\x05users\x12\x36\n\x06paging\x18\x03 \x01(\x0b\x32\x1e.injective_campaign_rpc.PagingR\x06paging\"\xb2\x04\n\x08\x43\x61mpaign\x12\x1f\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\tR\ncampaignId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1f\n\x0btotal_score\x18\x04 \x01(\tR\ntotalScore\x12!\n\x0clast_updated\x18\x05 \x01(\x12R\x0blastUpdated\x12\x1d\n\nstart_date\x18\x06 \x01(\x12R\tstartDate\x12\x19\n\x08\x65nd_date\x18\x07 \x01(\x12R\x07\x65ndDate\x12!\n\x0cis_claimable\x18\x08 \x01(\x08R\x0bisClaimable\x12\x19\n\x08round_id\x18\t \x01(\x11R\x07roundId\x12)\n\x10manager_contract\x18\n \x01(\tR\x0fmanagerContract\x12\x36\n\x07rewards\x18\x0b \x03(\x0b\x32\x1c.injective_campaign_rpc.CoinR\x07rewards\x12\x1d\n\nuser_score\x18\x0c \x01(\tR\tuserScore\x12!\n\x0cuser_claimed\x18\r \x01(\x08R\x0buserClaimed\x12\x30\n\x14subaccount_id_suffix\x18\x0e \x01(\tR\x12subaccountIdSuffix\x12\'\n\x0freward_contract\x18\x0f \x01(\tR\x0erewardContract\x12\x18\n\x07version\x18\x10 \x01(\tR\x07version\x12\x12\n\x04type\x18\x11 \x01(\tR\x04type\"4\n\x04\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"\xef\x02\n\x0c\x43\x61mpaignUser\x12\x1f\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\tR\ncampaignId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x14\n\x05score\x18\x04 \x01(\tR\x05score\x12)\n\x10\x63ontract_updated\x18\x05 \x01(\x08R\x0f\x63ontractUpdated\x12!\n\x0c\x62lock_height\x18\x06 \x01(\x12R\x0b\x62lockHeight\x12\x1d\n\nblock_time\x18\x07 \x01(\x12R\tblockTime\x12)\n\x10purchased_amount\x18\x08 \x01(\tR\x0fpurchasedAmount\x12#\n\rgalxe_updated\x18\t \x01(\x08R\x0cgalxeUpdated\x12%\n\x0ereward_claimed\x18\n \x01(\x08R\rrewardClaimed\"\x86\x01\n\x06Paging\x12\x14\n\x05total\x18\x01 \x01(\x12R\x05total\x12\x12\n\x04\x66rom\x18\x02 \x01(\x11R\x04\x66rom\x12\x0e\n\x02to\x18\x03 \x01(\x11R\x02to\x12.\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12R\x11\x63ountBySubaccount\x12\x12\n\x04next\x18\x05 \x03(\tR\x04next\"\xb5\x01\n\x10\x43\x61mpaignsRequest\x12\x19\n\x08round_id\x18\x01 \x01(\x12R\x07roundId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x1e\n\x0bto_round_id\x18\x03 \x01(\x11R\ttoRoundId\x12)\n\x10\x63ontract_address\x18\x04 \x01(\tR\x0f\x63ontractAddress\x12\x12\n\x04type\x18\x05 \x01(\tR\x04type\"\xc5\x01\n\x11\x43\x61mpaignsResponse\x12>\n\tcampaigns\x18\x01 \x03(\x0b\x32 .injective_campaign_rpc.CampaignR\tcampaigns\x12M\n\x13\x61\x63\x63umulated_rewards\x18\x02 \x03(\x0b\x32\x1c.injective_campaign_rpc.CoinR\x12\x61\x63\x63umulatedRewards\x12!\n\x0creward_count\x18\x03 \x01(\x11R\x0brewardCount\"n\n\x12\x43\x61mpaignsV2Request\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x16\n\x06\x61\x63tive\x18\x02 \x01(\x08R\x06\x61\x63tive\x12\x14\n\x05limit\x18\x03 \x01(\x11R\x05limit\x12\x16\n\x06\x63ursor\x18\x04 \x01(\tR\x06\x63ursor\"o\n\x13\x43\x61mpaignsV2Response\x12@\n\tcampaigns\x18\x01 \x03(\x0b\x32\".injective_campaign_rpc.CampaignV2R\tcampaigns\x12\x16\n\x06\x63ursor\x18\x02 \x01(\tR\x06\x63ursor\"\xc3\x04\n\nCampaignV2\x12\x1f\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\tR\ncampaignId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1f\n\x0btotal_score\x18\x04 \x01(\tR\ntotalScore\x12\x1d\n\ncreated_at\x18\x05 \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x06 \x01(\x12R\tupdatedAt\x12\x1d\n\nstart_date\x18\x07 \x01(\x12R\tstartDate\x12\x19\n\x08\x65nd_date\x18\x08 \x01(\x12R\x07\x65ndDate\x12!\n\x0cis_claimable\x18\t \x01(\x08R\x0bisClaimable\x12\x19\n\x08round_id\x18\n \x01(\x11R\x07roundId\x12)\n\x10manager_contract\x18\x0b \x01(\tR\x0fmanagerContract\x12\x36\n\x07rewards\x18\x0c \x03(\x0b\x32\x1c.injective_campaign_rpc.CoinR\x07rewards\x12\x30\n\x14subaccount_id_suffix\x18\r \x01(\tR\x12subaccountIdSuffix\x12\'\n\x0freward_contract\x18\x0e \x01(\tR\x0erewardContract\x12\x12\n\x04type\x18\x0f \x01(\tR\x04type\x12\x18\n\x07version\x18\x10 \x01(\tR\x07version\x12\x12\n\x04name\x18\x11 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x12 \x01(\tR\x0b\x64\x65scription\"\x83\x01\n\x11ListGuildsRequest\x12+\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\tR\x10\x63\x61mpaignContract\x12\x14\n\x05limit\x18\x02 \x01(\x11R\x05limit\x12\x12\n\x04skip\x18\x03 \x01(\x11R\x04skip\x12\x17\n\x07sort_by\x18\x04 \x01(\tR\x06sortBy\"\xf6\x01\n\x12ListGuildsResponse\x12\x35\n\x06guilds\x18\x01 \x03(\x0b\x32\x1d.injective_campaign_rpc.GuildR\x06guilds\x12\x36\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_campaign_rpc.PagingR\x06paging\x12\x1d\n\nupdated_at\x18\x03 \x01(\x12R\tupdatedAt\x12R\n\x10\x63\x61mpaign_summary\x18\x04 \x01(\x0b\x32\'.injective_campaign_rpc.CampaignSummaryR\x0f\x63\x61mpaignSummary\"\xe5\x03\n\x05Guild\x12+\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\tR\x10\x63\x61mpaignContract\x12\x19\n\x08guild_id\x18\x02 \x01(\tR\x07guildId\x12%\n\x0emaster_address\x18\x03 \x01(\tR\rmasterAddress\x12\x1d\n\ncreated_at\x18\x04 \x01(\x12R\tcreatedAt\x12\x1b\n\ttvl_score\x18\x05 \x01(\tR\x08tvlScore\x12!\n\x0cvolume_score\x18\x06 \x01(\tR\x0bvolumeScore\x12$\n\x0erank_by_volume\x18\x07 \x01(\x11R\x0crankByVolume\x12\x1e\n\x0brank_by_tvl\x18\x08 \x01(\x11R\trankByTvl\x12\x12\n\x04logo\x18\t \x01(\tR\x04logo\x12\x1b\n\ttotal_tvl\x18\n \x01(\tR\x08totalTvl\x12\x1d\n\nupdated_at\x18\x0b \x01(\x12R\tupdatedAt\x12\x12\n\x04name\x18\x0e \x01(\tR\x04name\x12\x1b\n\tis_active\x18\r \x01(\x08R\x08isActive\x12%\n\x0emaster_balance\x18\x0f \x01(\tR\rmasterBalance\x12 \n\x0b\x64\x65scription\x18\x10 \x01(\tR\x0b\x64\x65scription\"\x82\x03\n\x0f\x43\x61mpaignSummary\x12\x1f\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\tR\ncampaignId\x12+\n\x11\x63\x61mpaign_contract\x18\x02 \x01(\tR\x10\x63\x61mpaignContract\x12,\n\x12total_guilds_count\x18\x03 \x01(\x11R\x10totalGuildsCount\x12\x1b\n\ttotal_tvl\x18\x04 \x01(\tR\x08totalTvl\x12*\n\x11total_average_tvl\x18\x05 \x01(\tR\x0ftotalAverageTvl\x12!\n\x0ctotal_volume\x18\x06 \x01(\tR\x0btotalVolume\x12\x1d\n\nupdated_at\x18\x07 \x01(\x12R\tupdatedAt\x12.\n\x13total_members_count\x18\x08 \x01(\x11R\x11totalMembersCount\x12\x1d\n\nstart_time\x18\t \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\n \x01(\x12R\x07\x65ndTime\"\xd2\x01\n\x17ListGuildMembersRequest\x12+\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\tR\x10\x63\x61mpaignContract\x12\x19\n\x08guild_id\x18\x02 \x01(\tR\x07guildId\x12\x14\n\x05limit\x18\x03 \x01(\x11R\x05limit\x12\x12\n\x04skip\x18\x04 \x01(\x11R\x04skip\x12,\n\x12include_guild_info\x18\x05 \x01(\x08R\x10includeGuildInfo\x12\x17\n\x07sort_by\x18\x06 \x01(\tR\x06sortBy\"\xcf\x01\n\x18ListGuildMembersResponse\x12=\n\x07members\x18\x01 \x03(\x0b\x32#.injective_campaign_rpc.GuildMemberR\x07members\x12\x36\n\x06paging\x18\x02 \x01(\x0b\x32\x1e.injective_campaign_rpc.PagingR\x06paging\x12<\n\nguild_info\x18\x03 \x01(\x0b\x32\x1d.injective_campaign_rpc.GuildR\tguildInfo\"\xd3\x03\n\x0bGuildMember\x12+\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\tR\x10\x63\x61mpaignContract\x12\x19\n\x08guild_id\x18\x02 \x01(\tR\x07guildId\x12\x18\n\x07\x61\x64\x64ress\x18\x03 \x01(\tR\x07\x61\x64\x64ress\x12\x1b\n\tjoined_at\x18\x04 \x01(\x12R\x08joinedAt\x12\x1b\n\ttvl_score\x18\x05 \x01(\tR\x08tvlScore\x12!\n\x0cvolume_score\x18\x06 \x01(\tR\x0bvolumeScore\x12\x1b\n\ttotal_tvl\x18\x07 \x01(\tR\x08totalTvl\x12\x36\n\x17volume_score_percentage\x18\x08 \x01(\x01R\x15volumeScorePercentage\x12\x30\n\x14tvl_score_percentage\x18\t \x01(\x01R\x12tvlScorePercentage\x12;\n\ntvl_reward\x18\n \x03(\x0b\x32\x1c.injective_campaign_rpc.CoinR\ttvlReward\x12\x41\n\rvolume_reward\x18\x0b \x03(\x0b\x32\x1c.injective_campaign_rpc.CoinR\x0cvolumeReward\"^\n\x15GetGuildMemberRequest\x12+\n\x11\x63\x61mpaign_contract\x18\x01 \x01(\tR\x10\x63\x61mpaignContract\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"Q\n\x16GetGuildMemberResponse\x12\x37\n\x04info\x18\x01 \x01(\x0b\x32#.injective_campaign_rpc.GuildMemberR\x04info2\x89\x05\n\x14InjectiveCampaignRPC\x12Z\n\x07Ranking\x12&.injective_campaign_rpc.RankingRequest\x1a\'.injective_campaign_rpc.RankingResponse\x12`\n\tCampaigns\x12(.injective_campaign_rpc.CampaignsRequest\x1a).injective_campaign_rpc.CampaignsResponse\x12\x66\n\x0b\x43\x61mpaignsV2\x12*.injective_campaign_rpc.CampaignsV2Request\x1a+.injective_campaign_rpc.CampaignsV2Response\x12\x63\n\nListGuilds\x12).injective_campaign_rpc.ListGuildsRequest\x1a*.injective_campaign_rpc.ListGuildsResponse\x12u\n\x10ListGuildMembers\x12/.injective_campaign_rpc.ListGuildMembersRequest\x1a\x30.injective_campaign_rpc.ListGuildMembersResponse\x12o\n\x0eGetGuildMember\x12-.injective_campaign_rpc.GetGuildMemberRequest\x1a..injective_campaign_rpc.GetGuildMemberResponseB\xc2\x01\n\x1a\x63om.injective_campaign_rpcB\x19InjectiveCampaignRpcProtoP\x01Z\x19/injective_campaign_rpcpb\xa2\x02\x03IXX\xaa\x02\x14InjectiveCampaignRpc\xca\x02\x14InjectiveCampaignRpc\xe2\x02 InjectiveCampaignRpc\\GPBMetadata\xea\x02\x14InjectiveCampaignRpcb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_campaign_rpc_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.injective_campaign_rpcB\031InjectiveCampaignRpcProtoP\001Z\031/injective_campaign_rpcpb\242\002\003IXX\252\002\024InjectiveCampaignRpc\312\002\024InjectiveCampaignRpc\342\002 InjectiveCampaignRpc\\GPBMetadata\352\002\024InjectiveCampaignRpc' - _globals['_RANKINGREQUEST']._serialized_start=66 - _globals['_RANKINGREQUEST']._serialized_end=270 - _globals['_RANKINGRESPONSE']._serialized_start=273 - _globals['_RANKINGRESPONSE']._serialized_end=468 - _globals['_CAMPAIGN']._serialized_start=471 - _globals['_CAMPAIGN']._serialized_end=1033 - _globals['_COIN']._serialized_start=1035 - _globals['_COIN']._serialized_end=1087 - _globals['_CAMPAIGNUSER']._serialized_start=1090 - _globals['_CAMPAIGNUSER']._serialized_end=1457 - _globals['_PAGING']._serialized_start=1460 - _globals['_PAGING']._serialized_end=1594 - _globals['_CAMPAIGNSREQUEST']._serialized_start=1597 - _globals['_CAMPAIGNSREQUEST']._serialized_end=1778 - _globals['_CAMPAIGNSRESPONSE']._serialized_start=1781 - _globals['_CAMPAIGNSRESPONSE']._serialized_end=1978 - _globals['_CAMPAIGNSV2REQUEST']._serialized_start=1980 - _globals['_CAMPAIGNSV2REQUEST']._serialized_end=2090 - _globals['_CAMPAIGNSV2RESPONSE']._serialized_start=2092 - _globals['_CAMPAIGNSV2RESPONSE']._serialized_end=2203 - _globals['_CAMPAIGNV2']._serialized_start=2206 - _globals['_CAMPAIGNV2']._serialized_end=2785 - _globals['_LISTGUILDSREQUEST']._serialized_start=2788 - _globals['_LISTGUILDSREQUEST']._serialized_end=2919 - _globals['_LISTGUILDSRESPONSE']._serialized_start=2922 - _globals['_LISTGUILDSRESPONSE']._serialized_end=3168 - _globals['_GUILD']._serialized_start=3171 - _globals['_GUILD']._serialized_end=3656 - _globals['_CAMPAIGNSUMMARY']._serialized_start=3659 - _globals['_CAMPAIGNSUMMARY']._serialized_end=4045 - _globals['_LISTGUILDMEMBERSREQUEST']._serialized_start=4048 - _globals['_LISTGUILDMEMBERSREQUEST']._serialized_end=4258 - _globals['_LISTGUILDMEMBERSRESPONSE']._serialized_start=4261 - _globals['_LISTGUILDMEMBERSRESPONSE']._serialized_end=4468 - _globals['_GUILDMEMBER']._serialized_start=4471 - _globals['_GUILDMEMBER']._serialized_end=4938 - _globals['_GETGUILDMEMBERREQUEST']._serialized_start=4940 - _globals['_GETGUILDMEMBERREQUEST']._serialized_end=5034 - _globals['_GETGUILDMEMBERRESPONSE']._serialized_start=5036 - _globals['_GETGUILDMEMBERRESPONSE']._serialized_end=5117 - _globals['_INJECTIVECAMPAIGNRPC']._serialized_start=5120 - _globals['_INJECTIVECAMPAIGNRPC']._serialized_end=5769 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_campaign_rpc_pb2_grpc.py b/pyinjective/proto/exchange/injective_campaign_rpc_pb2_grpc.py deleted file mode 100644 index bbd22099..00000000 --- a/pyinjective/proto/exchange/injective_campaign_rpc_pb2_grpc.py +++ /dev/null @@ -1,301 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.exchange import injective_campaign_rpc_pb2 as exchange_dot_injective__campaign__rpc__pb2 - - -class InjectiveCampaignRPCStub(object): - """InjectiveCampaignRPC defined a gRPC service for Injective Campaigns. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Ranking = channel.unary_unary( - '/injective_campaign_rpc.InjectiveCampaignRPC/Ranking', - request_serializer=exchange_dot_injective__campaign__rpc__pb2.RankingRequest.SerializeToString, - response_deserializer=exchange_dot_injective__campaign__rpc__pb2.RankingResponse.FromString, - _registered_method=True) - self.Campaigns = channel.unary_unary( - '/injective_campaign_rpc.InjectiveCampaignRPC/Campaigns', - request_serializer=exchange_dot_injective__campaign__rpc__pb2.CampaignsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__campaign__rpc__pb2.CampaignsResponse.FromString, - _registered_method=True) - self.CampaignsV2 = channel.unary_unary( - '/injective_campaign_rpc.InjectiveCampaignRPC/CampaignsV2', - request_serializer=exchange_dot_injective__campaign__rpc__pb2.CampaignsV2Request.SerializeToString, - response_deserializer=exchange_dot_injective__campaign__rpc__pb2.CampaignsV2Response.FromString, - _registered_method=True) - self.ListGuilds = channel.unary_unary( - '/injective_campaign_rpc.InjectiveCampaignRPC/ListGuilds', - request_serializer=exchange_dot_injective__campaign__rpc__pb2.ListGuildsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__campaign__rpc__pb2.ListGuildsResponse.FromString, - _registered_method=True) - self.ListGuildMembers = channel.unary_unary( - '/injective_campaign_rpc.InjectiveCampaignRPC/ListGuildMembers', - request_serializer=exchange_dot_injective__campaign__rpc__pb2.ListGuildMembersRequest.SerializeToString, - response_deserializer=exchange_dot_injective__campaign__rpc__pb2.ListGuildMembersResponse.FromString, - _registered_method=True) - self.GetGuildMember = channel.unary_unary( - '/injective_campaign_rpc.InjectiveCampaignRPC/GetGuildMember', - request_serializer=exchange_dot_injective__campaign__rpc__pb2.GetGuildMemberRequest.SerializeToString, - response_deserializer=exchange_dot_injective__campaign__rpc__pb2.GetGuildMemberResponse.FromString, - _registered_method=True) - - -class InjectiveCampaignRPCServicer(object): - """InjectiveCampaignRPC defined a gRPC service for Injective Campaigns. - """ - - def Ranking(self, request, context): - """Lists all participants in campaign - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Campaigns(self, request, context): - """List current round active campaigns - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CampaignsV2(self, request, context): - """List campaigns v2 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListGuilds(self, request, context): - """List guilds by campaign - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListGuildMembers(self, request, context): - """List guild members of given campaign and guildId - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetGuildMember(self, request, context): - """Get single member guild info - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_InjectiveCampaignRPCServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Ranking': grpc.unary_unary_rpc_method_handler( - servicer.Ranking, - request_deserializer=exchange_dot_injective__campaign__rpc__pb2.RankingRequest.FromString, - response_serializer=exchange_dot_injective__campaign__rpc__pb2.RankingResponse.SerializeToString, - ), - 'Campaigns': grpc.unary_unary_rpc_method_handler( - servicer.Campaigns, - request_deserializer=exchange_dot_injective__campaign__rpc__pb2.CampaignsRequest.FromString, - response_serializer=exchange_dot_injective__campaign__rpc__pb2.CampaignsResponse.SerializeToString, - ), - 'CampaignsV2': grpc.unary_unary_rpc_method_handler( - servicer.CampaignsV2, - request_deserializer=exchange_dot_injective__campaign__rpc__pb2.CampaignsV2Request.FromString, - response_serializer=exchange_dot_injective__campaign__rpc__pb2.CampaignsV2Response.SerializeToString, - ), - 'ListGuilds': grpc.unary_unary_rpc_method_handler( - servicer.ListGuilds, - request_deserializer=exchange_dot_injective__campaign__rpc__pb2.ListGuildsRequest.FromString, - response_serializer=exchange_dot_injective__campaign__rpc__pb2.ListGuildsResponse.SerializeToString, - ), - 'ListGuildMembers': grpc.unary_unary_rpc_method_handler( - servicer.ListGuildMembers, - request_deserializer=exchange_dot_injective__campaign__rpc__pb2.ListGuildMembersRequest.FromString, - response_serializer=exchange_dot_injective__campaign__rpc__pb2.ListGuildMembersResponse.SerializeToString, - ), - 'GetGuildMember': grpc.unary_unary_rpc_method_handler( - servicer.GetGuildMember, - request_deserializer=exchange_dot_injective__campaign__rpc__pb2.GetGuildMemberRequest.FromString, - response_serializer=exchange_dot_injective__campaign__rpc__pb2.GetGuildMemberResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective_campaign_rpc.InjectiveCampaignRPC', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective_campaign_rpc.InjectiveCampaignRPC', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class InjectiveCampaignRPC(object): - """InjectiveCampaignRPC defined a gRPC service for Injective Campaigns. - """ - - @staticmethod - def Ranking(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_campaign_rpc.InjectiveCampaignRPC/Ranking', - exchange_dot_injective__campaign__rpc__pb2.RankingRequest.SerializeToString, - exchange_dot_injective__campaign__rpc__pb2.RankingResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Campaigns(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_campaign_rpc.InjectiveCampaignRPC/Campaigns', - exchange_dot_injective__campaign__rpc__pb2.CampaignsRequest.SerializeToString, - exchange_dot_injective__campaign__rpc__pb2.CampaignsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CampaignsV2(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_campaign_rpc.InjectiveCampaignRPC/CampaignsV2', - exchange_dot_injective__campaign__rpc__pb2.CampaignsV2Request.SerializeToString, - exchange_dot_injective__campaign__rpc__pb2.CampaignsV2Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ListGuilds(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_campaign_rpc.InjectiveCampaignRPC/ListGuilds', - exchange_dot_injective__campaign__rpc__pb2.ListGuildsRequest.SerializeToString, - exchange_dot_injective__campaign__rpc__pb2.ListGuildsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ListGuildMembers(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_campaign_rpc.InjectiveCampaignRPC/ListGuildMembers', - exchange_dot_injective__campaign__rpc__pb2.ListGuildMembersRequest.SerializeToString, - exchange_dot_injective__campaign__rpc__pb2.ListGuildMembersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetGuildMember(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_campaign_rpc.InjectiveCampaignRPC/GetGuildMember', - exchange_dot_injective__campaign__rpc__pb2.GetGuildMemberRequest.SerializeToString, - exchange_dot_injective__campaign__rpc__pb2.GetGuildMemberResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py deleted file mode 100644 index 9d4e58e9..00000000 --- a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py +++ /dev/null @@ -1,167 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: exchange/injective_derivative_exchange_rpc.proto -# Protobuf Python Version: 5.26.1 -"""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'\n0exchange/injective_derivative_exchange_rpc.proto\x12!injective_derivative_exchange_rpc\"\x7f\n\x0eMarketsRequest\x12#\n\rmarket_status\x18\x01 \x01(\tR\x0cmarketStatus\x12\x1f\n\x0bquote_denom\x18\x02 \x01(\tR\nquoteDenom\x12\'\n\x0fmarket_statuses\x18\x03 \x03(\tR\x0emarketStatuses\"d\n\x0fMarketsResponse\x12Q\n\x07markets\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfoR\x07markets\"\xec\x08\n\x14\x44\x65rivativeMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rmarket_status\x18\x02 \x01(\tR\x0cmarketStatus\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12\x1f\n\x0boracle_type\x18\x06 \x01(\tR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x30\n\x14initial_margin_ratio\x18\x08 \x01(\tR\x12initialMarginRatio\x12\x38\n\x18maintenance_margin_ratio\x18\t \x01(\tR\x16maintenanceMarginRatio\x12\x1f\n\x0bquote_denom\x18\n \x01(\tR\nquoteDenom\x12V\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMetaR\x0equoteTokenMeta\x12$\n\x0emaker_fee_rate\x18\x0c \x01(\tR\x0cmakerFeeRate\x12$\n\x0etaker_fee_rate\x18\r \x01(\tR\x0ctakerFeeRate\x12\x30\n\x14service_provider_fee\x18\x0e \x01(\tR\x12serviceProviderFee\x12!\n\x0cis_perpetual\x18\x0f \x01(\x08R\x0bisPerpetual\x12-\n\x13min_price_tick_size\x18\x10 \x01(\tR\x10minPriceTickSize\x12\x33\n\x16min_quantity_tick_size\x18\x11 \x01(\tR\x13minQuantityTickSize\x12j\n\x15perpetual_market_info\x18\x12 \x01(\x0b\x32\x36.injective_derivative_exchange_rpc.PerpetualMarketInfoR\x13perpetualMarketInfo\x12s\n\x18perpetual_market_funding\x18\x13 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.PerpetualMarketFundingR\x16perpetualMarketFunding\x12w\n\x1a\x65xpiry_futures_market_info\x18\x14 \x01(\x0b\x32:.injective_derivative_exchange_rpc.ExpiryFuturesMarketInfoR\x17\x65xpiryFuturesMarketInfo\x12!\n\x0cmin_notional\x18\x15 \x01(\tR\x0bminNotional\"\xa0\x01\n\tTokenMeta\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\x12\x16\n\x06symbol\x18\x03 \x01(\tR\x06symbol\x12\x12\n\x04logo\x18\x04 \x01(\tR\x04logo\x12\x1a\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11R\x08\x64\x65\x63imals\x12\x1d\n\nupdated_at\x18\x06 \x01(\x12R\tupdatedAt\"\xdf\x01\n\x13PerpetualMarketInfo\x12\x35\n\x17hourly_funding_rate_cap\x18\x01 \x01(\tR\x14hourlyFundingRateCap\x12\x30\n\x14hourly_interest_rate\x18\x02 \x01(\tR\x12hourlyInterestRate\x12\x34\n\x16next_funding_timestamp\x18\x03 \x01(\x12R\x14nextFundingTimestamp\x12)\n\x10\x66unding_interval\x18\x04 \x01(\x12R\x0f\x66undingInterval\"\x99\x01\n\x16PerpetualMarketFunding\x12-\n\x12\x63umulative_funding\x18\x01 \x01(\tR\x11\x63umulativeFunding\x12)\n\x10\x63umulative_price\x18\x02 \x01(\tR\x0f\x63umulativePrice\x12%\n\x0elast_timestamp\x18\x03 \x01(\x12R\rlastTimestamp\"w\n\x17\x45xpiryFuturesMarketInfo\x12\x31\n\x14\x65xpiration_timestamp\x18\x01 \x01(\x12R\x13\x65xpirationTimestamp\x12)\n\x10settlement_price\x18\x02 \x01(\tR\x0fsettlementPrice\",\n\rMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"a\n\x0eMarketResponse\x12O\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfoR\x06market\"4\n\x13StreamMarketRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"\xac\x01\n\x14StreamMarketResponse\x12O\n\x06market\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeMarketInfoR\x06market\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\x8d\x01\n\x1b\x42inaryOptionsMarketsRequest\x12#\n\rmarket_status\x18\x01 \x01(\tR\x0cmarketStatus\x12\x1f\n\x0bquote_denom\x18\x02 \x01(\tR\nquoteDenom\x12\x12\n\x04skip\x18\x03 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x04 \x01(\x11R\x05limit\"\xb7\x01\n\x1c\x42inaryOptionsMarketsResponse\x12T\n\x07markets\x18\x01 \x03(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfoR\x07markets\x12\x41\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.PagingR\x06paging\"\xa1\x06\n\x17\x42inaryOptionsMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rmarket_status\x18\x02 \x01(\tR\x0cmarketStatus\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x04 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x05 \x01(\tR\x0eoracleProvider\x12\x1f\n\x0boracle_type\x18\x06 \x01(\tR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x12R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\t \x01(\x12R\x13settlementTimestamp\x12\x1f\n\x0bquote_denom\x18\n \x01(\tR\nquoteDenom\x12V\n\x10quote_token_meta\x18\x0b \x01(\x0b\x32,.injective_derivative_exchange_rpc.TokenMetaR\x0equoteTokenMeta\x12$\n\x0emaker_fee_rate\x18\x0c \x01(\tR\x0cmakerFeeRate\x12$\n\x0etaker_fee_rate\x18\r \x01(\tR\x0ctakerFeeRate\x12\x30\n\x14service_provider_fee\x18\x0e \x01(\tR\x12serviceProviderFee\x12-\n\x13min_price_tick_size\x18\x0f \x01(\tR\x10minPriceTickSize\x12\x33\n\x16min_quantity_tick_size\x18\x10 \x01(\tR\x13minQuantityTickSize\x12)\n\x10settlement_price\x18\x11 \x01(\tR\x0fsettlementPrice\x12!\n\x0cmin_notional\x18\x12 \x01(\tR\x0bminNotional\"\x86\x01\n\x06Paging\x12\x14\n\x05total\x18\x01 \x01(\x12R\x05total\x12\x12\n\x04\x66rom\x18\x02 \x01(\x11R\x04\x66rom\x12\x0e\n\x02to\x18\x03 \x01(\x11R\x02to\x12.\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12R\x11\x63ountBySubaccount\x12\x12\n\x04next\x18\x05 \x03(\tR\x04next\"9\n\x1a\x42inaryOptionsMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"q\n\x1b\x42inaryOptionsMarketResponse\x12R\n\x06market\x18\x01 \x01(\x0b\x32:.injective_derivative_exchange_rpc.BinaryOptionsMarketInfoR\x06market\"1\n\x12OrderbookV2Request\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"r\n\x13OrderbookV2Response\x12[\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2R\torderbook\"\xde\x01\n\x1a\x44\x65rivativeLimitOrderbookV2\x12\x41\n\x04\x62uys\x18\x01 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevelR\x04\x62uys\x12\x43\n\x05sells\x18\x02 \x03(\x0b\x32-.injective_derivative_exchange_rpc.PriceLevelR\x05sells\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x12\x1c\n\ttimestamp\x18\x04 \x01(\x12R\ttimestamp\"\\\n\nPriceLevel\x12\x14\n\x05price\x18\x01 \x01(\tR\x05price\x12\x1a\n\x08quantity\x18\x02 \x01(\tR\x08quantity\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"4\n\x13OrderbooksV2Request\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"{\n\x14OrderbooksV2Response\x12\x63\n\norderbooks\x18\x01 \x03(\x0b\x32\x43.injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2R\norderbooks\"\x9c\x01\n SingleDerivativeLimitOrderbookV2\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12[\n\torderbook\x18\x02 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2R\torderbook\"9\n\x18StreamOrderbookV2Request\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"\xda\x01\n\x19StreamOrderbookV2Response\x12[\n\torderbook\x18\x01 \x01(\x0b\x32=.injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2R\torderbook\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\"=\n\x1cStreamOrderbookUpdateRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"\xf3\x01\n\x1dStreamOrderbookUpdateResponse\x12p\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x38.injective_derivative_exchange_rpc.OrderbookLevelUpdatesR\x15orderbookLevelUpdates\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\"\x83\x02\n\x15OrderbookLevelUpdates\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1a\n\x08sequence\x18\x02 \x01(\x04R\x08sequence\x12G\n\x04\x62uys\x18\x03 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdateR\x04\x62uys\x12I\n\x05sells\x18\x04 \x03(\x0b\x32\x33.injective_derivative_exchange_rpc.PriceLevelUpdateR\x05sells\x12\x1d\n\nupdated_at\x18\x05 \x01(\x12R\tupdatedAt\"\x7f\n\x10PriceLevelUpdate\x12\x14\n\x05price\x18\x01 \x01(\tR\x05price\x12\x1a\n\x08quantity\x18\x02 \x01(\tR\x08quantity\x12\x1b\n\tis_active\x18\x03 \x01(\x08R\x08isActive\x12\x1c\n\ttimestamp\x18\x04 \x01(\x12R\ttimestamp\"\xc9\x03\n\rOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1d\n\norder_side\x18\x02 \x01(\tR\torderSide\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x12\n\x04skip\x18\x04 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x05 \x01(\x11R\x05limit\x12\x1d\n\nstart_time\x18\x06 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x07 \x01(\x12R\x07\x65ndTime\x12\x1d\n\nmarket_ids\x18\x08 \x03(\tR\tmarketIds\x12%\n\x0eis_conditional\x18\t \x01(\tR\risConditional\x12\x1d\n\norder_type\x18\n \x01(\tR\torderType\x12)\n\x10include_inactive\x18\x0b \x01(\x08R\x0fincludeInactive\x12\x36\n\x17subaccount_total_orders\x18\x0c \x01(\x08R\x15subaccountTotalOrders\x12\x19\n\x08trade_id\x18\r \x01(\tR\x07tradeId\x12\x10\n\x03\x63id\x18\x0e \x01(\tR\x03\x63id\"\xa4\x01\n\x0eOrdersResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrderR\x06orders\x12\x41\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.PagingR\x06paging\"\xd7\x05\n\x14\x44\x65rivativeLimitOrder\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x1d\n\norder_side\x18\x02 \x01(\tR\torderSide\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12$\n\x0eis_reduce_only\x18\x05 \x01(\x08R\x0cisReduceOnly\x12\x16\n\x06margin\x18\x06 \x01(\tR\x06margin\x12\x14\n\x05price\x18\x07 \x01(\tR\x05price\x12\x1a\n\x08quantity\x18\x08 \x01(\tR\x08quantity\x12+\n\x11unfilled_quantity\x18\t \x01(\tR\x10unfilledQuantity\x12#\n\rtrigger_price\x18\n \x01(\tR\x0ctriggerPrice\x12#\n\rfee_recipient\x18\x0b \x01(\tR\x0c\x66\x65\x65Recipient\x12\x14\n\x05state\x18\x0c \x01(\tR\x05state\x12\x1d\n\ncreated_at\x18\r \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x0e \x01(\x12R\tupdatedAt\x12!\n\x0corder_number\x18\x0f \x01(\x12R\x0borderNumber\x12\x1d\n\norder_type\x18\x10 \x01(\tR\torderType\x12%\n\x0eis_conditional\x18\x11 \x01(\x08R\risConditional\x12\x1d\n\ntrigger_at\x18\x12 \x01(\x04R\ttriggerAt\x12*\n\x11placed_order_hash\x18\x13 \x01(\tR\x0fplacedOrderHash\x12%\n\x0e\x65xecution_type\x18\x14 \x01(\tR\rexecutionType\x12\x17\n\x07tx_hash\x18\x15 \x01(\tR\x06txHash\x12\x10\n\x03\x63id\x18\x16 \x01(\tR\x03\x63id\"\xdc\x02\n\x10PositionsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x12\n\x04skip\x18\x03 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x04 \x01(\x11R\x05limit\x12\x1d\n\nstart_time\x18\x05 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x06 \x01(\x12R\x07\x65ndTime\x12\x1d\n\nmarket_ids\x18\x07 \x03(\tR\tmarketIds\x12\x1c\n\tdirection\x18\x08 \x01(\tR\tdirection\x12<\n\x1asubaccount_total_positions\x18\t \x01(\x08R\x18subaccountTotalPositions\x12\'\n\x0f\x61\x63\x63ount_address\x18\n \x01(\tR\x0e\x61\x63\x63ountAddress\"\xab\x01\n\x11PositionsResponse\x12S\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePositionR\tpositions\x12\x41\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.PagingR\x06paging\"\xb0\x03\n\x12\x44\x65rivativePosition\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1c\n\tdirection\x18\x04 \x01(\tR\tdirection\x12\x1a\n\x08quantity\x18\x05 \x01(\tR\x08quantity\x12\x1f\n\x0b\x65ntry_price\x18\x06 \x01(\tR\nentryPrice\x12\x16\n\x06margin\x18\x07 \x01(\tR\x06margin\x12+\n\x11liquidation_price\x18\x08 \x01(\tR\x10liquidationPrice\x12\x1d\n\nmark_price\x18\t \x01(\tR\tmarkPrice\x12\x43\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\tR\x1b\x61ggregateReduceOnlyQuantity\x12\x1d\n\nupdated_at\x18\x0c \x01(\x12R\tupdatedAt\x12\x1d\n\ncreated_at\x18\r \x01(\x12R\tcreatedAt\"\xde\x02\n\x12PositionsV2Request\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x12\n\x04skip\x18\x03 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x04 \x01(\x11R\x05limit\x12\x1d\n\nstart_time\x18\x05 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x06 \x01(\x12R\x07\x65ndTime\x12\x1d\n\nmarket_ids\x18\x07 \x03(\tR\tmarketIds\x12\x1c\n\tdirection\x18\x08 \x01(\tR\tdirection\x12<\n\x1asubaccount_total_positions\x18\t \x01(\x08R\x18subaccountTotalPositions\x12\'\n\x0f\x61\x63\x63ount_address\x18\n \x01(\tR\x0e\x61\x63\x63ountAddress\"\xaf\x01\n\x13PositionsV2Response\x12U\n\tpositions\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativePositionV2R\tpositions\x12\x41\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.PagingR\x06paging\"\xe4\x02\n\x14\x44\x65rivativePositionV2\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1c\n\tdirection\x18\x04 \x01(\tR\tdirection\x12\x1a\n\x08quantity\x18\x05 \x01(\tR\x08quantity\x12\x1f\n\x0b\x65ntry_price\x18\x06 \x01(\tR\nentryPrice\x12\x16\n\x06margin\x18\x07 \x01(\tR\x06margin\x12+\n\x11liquidation_price\x18\x08 \x01(\tR\x10liquidationPrice\x12\x1d\n\nmark_price\x18\t \x01(\tR\tmarkPrice\x12\x1d\n\nupdated_at\x18\x0b \x01(\x12R\tupdatedAt\x12\x14\n\x05\x64\x65nom\x18\x0c \x01(\tR\x05\x64\x65nom\"c\n\x1aLiquidablePositionsRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x12\n\x04skip\x18\x02 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x03 \x01(\x11R\x05limit\"r\n\x1bLiquidablePositionsResponse\x12S\n\tpositions\x18\x01 \x03(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePositionR\tpositions\"\xbe\x01\n\x16\x46undingPaymentsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x12\n\x04skip\x18\x03 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x04 \x01(\x11R\x05limit\x12\x19\n\x08\x65nd_time\x18\x05 \x01(\x12R\x07\x65ndTime\x12\x1d\n\nmarket_ids\x18\x06 \x03(\tR\tmarketIds\"\xab\x01\n\x17\x46undingPaymentsResponse\x12M\n\x08payments\x18\x01 \x03(\x0b\x32\x31.injective_derivative_exchange_rpc.FundingPaymentR\x08payments\x12\x41\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.PagingR\x06paging\"\x88\x01\n\x0e\x46undingPayment\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x16\n\x06\x61mount\x18\x03 \x01(\tR\x06\x61mount\x12\x1c\n\ttimestamp\x18\x04 \x01(\x12R\ttimestamp\"w\n\x13\x46undingRatesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x12\n\x04skip\x18\x02 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x03 \x01(\x11R\x05limit\x12\x19\n\x08\x65nd_time\x18\x04 \x01(\x12R\x07\x65ndTime\"\xae\x01\n\x14\x46undingRatesResponse\x12S\n\rfunding_rates\x18\x01 \x03(\x0b\x32..injective_derivative_exchange_rpc.FundingRateR\x0c\x66undingRates\x12\x41\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.PagingR\x06paging\"\\\n\x0b\x46undingRate\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x12\n\x04rate\x18\x02 \x01(\tR\x04rate\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\xc9\x01\n\x16StreamPositionsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1d\n\nmarket_ids\x18\x03 \x03(\tR\tmarketIds\x12%\n\x0esubaccount_ids\x18\x04 \x03(\tR\rsubaccountIds\x12\'\n\x0f\x61\x63\x63ount_address\x18\x05 \x01(\tR\x0e\x61\x63\x63ountAddress\"\x8a\x01\n\x17StreamPositionsResponse\x12Q\n\x08position\x18\x01 \x01(\x0b\x32\x35.injective_derivative_exchange_rpc.DerivativePositionR\x08position\x12\x1c\n\ttimestamp\x18\x02 \x01(\x12R\ttimestamp\"\xcf\x03\n\x13StreamOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1d\n\norder_side\x18\x02 \x01(\tR\torderSide\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x12\n\x04skip\x18\x04 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x05 \x01(\x11R\x05limit\x12\x1d\n\nstart_time\x18\x06 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x07 \x01(\x12R\x07\x65ndTime\x12\x1d\n\nmarket_ids\x18\x08 \x03(\tR\tmarketIds\x12%\n\x0eis_conditional\x18\t \x01(\tR\risConditional\x12\x1d\n\norder_type\x18\n \x01(\tR\torderType\x12)\n\x10include_inactive\x18\x0b \x01(\x08R\x0fincludeInactive\x12\x36\n\x17subaccount_total_orders\x18\x0c \x01(\x08R\x15subaccountTotalOrders\x12\x19\n\x08trade_id\x18\r \x01(\tR\x07tradeId\x12\x10\n\x03\x63id\x18\x0e \x01(\tR\x03\x63id\"\xaa\x01\n\x14StreamOrdersResponse\x12M\n\x05order\x18\x01 \x01(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrderR\x05order\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\xbf\x03\n\rTradesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12%\n\x0e\x65xecution_side\x18\x02 \x01(\tR\rexecutionSide\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12\x12\n\x04skip\x18\x05 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x06 \x01(\x11R\x05limit\x12\x1d\n\nstart_time\x18\x07 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x08 \x01(\x12R\x07\x65ndTime\x12\x1d\n\nmarket_ids\x18\t \x03(\tR\tmarketIds\x12%\n\x0esubaccount_ids\x18\n \x03(\tR\rsubaccountIds\x12\'\n\x0f\x65xecution_types\x18\x0b \x03(\tR\x0e\x65xecutionTypes\x12\x19\n\x08trade_id\x18\x0c \x01(\tR\x07tradeId\x12\'\n\x0f\x61\x63\x63ount_address\x18\r \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x10\n\x03\x63id\x18\x0e \x01(\tR\x03\x63id\"\x9f\x01\n\x0eTradesResponse\x12J\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTradeR\x06trades\x12\x41\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.PagingR\x06paging\"\xe8\x03\n\x0f\x44\x65rivativeTrade\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x30\n\x14trade_execution_type\x18\x04 \x01(\tR\x12tradeExecutionType\x12%\n\x0eis_liquidation\x18\x05 \x01(\x08R\risLiquidation\x12W\n\x0eposition_delta\x18\x06 \x01(\x0b\x32\x30.injective_derivative_exchange_rpc.PositionDeltaR\rpositionDelta\x12\x16\n\x06payout\x18\x07 \x01(\tR\x06payout\x12\x10\n\x03\x66\x65\x65\x18\x08 \x01(\tR\x03\x66\x65\x65\x12\x1f\n\x0b\x65xecuted_at\x18\t \x01(\x12R\nexecutedAt\x12#\n\rfee_recipient\x18\n \x01(\tR\x0c\x66\x65\x65Recipient\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\x12%\n\x0e\x65xecution_side\x18\x0c \x01(\tR\rexecutionSide\x12\x10\n\x03\x63id\x18\r \x01(\tR\x03\x63id\"\xbb\x01\n\rPositionDelta\x12\'\n\x0ftrade_direction\x18\x01 \x01(\tR\x0etradeDirection\x12\'\n\x0f\x65xecution_price\x18\x02 \x01(\tR\x0e\x65xecutionPrice\x12-\n\x12\x65xecution_quantity\x18\x03 \x01(\tR\x11\x65xecutionQuantity\x12)\n\x10\x65xecution_margin\x18\x04 \x01(\tR\x0f\x65xecutionMargin\"\xc1\x03\n\x0fTradesV2Request\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12%\n\x0e\x65xecution_side\x18\x02 \x01(\tR\rexecutionSide\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12\x12\n\x04skip\x18\x05 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x06 \x01(\x11R\x05limit\x12\x1d\n\nstart_time\x18\x07 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x08 \x01(\x12R\x07\x65ndTime\x12\x1d\n\nmarket_ids\x18\t \x03(\tR\tmarketIds\x12%\n\x0esubaccount_ids\x18\n \x03(\tR\rsubaccountIds\x12\'\n\x0f\x65xecution_types\x18\x0b \x03(\tR\x0e\x65xecutionTypes\x12\x19\n\x08trade_id\x18\x0c \x01(\tR\x07tradeId\x12\'\n\x0f\x61\x63\x63ount_address\x18\r \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x10\n\x03\x63id\x18\x0e \x01(\tR\x03\x63id\"\xa1\x01\n\x10TradesV2Response\x12J\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTradeR\x06trades\x12\x41\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.PagingR\x06paging\"\xc5\x03\n\x13StreamTradesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12%\n\x0e\x65xecution_side\x18\x02 \x01(\tR\rexecutionSide\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12\x12\n\x04skip\x18\x05 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x06 \x01(\x11R\x05limit\x12\x1d\n\nstart_time\x18\x07 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x08 \x01(\x12R\x07\x65ndTime\x12\x1d\n\nmarket_ids\x18\t \x03(\tR\tmarketIds\x12%\n\x0esubaccount_ids\x18\n \x03(\tR\rsubaccountIds\x12\'\n\x0f\x65xecution_types\x18\x0b \x03(\tR\x0e\x65xecutionTypes\x12\x19\n\x08trade_id\x18\x0c \x01(\tR\x07tradeId\x12\'\n\x0f\x61\x63\x63ount_address\x18\r \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x10\n\x03\x63id\x18\x0e \x01(\tR\x03\x63id\"\xa5\x01\n\x14StreamTradesResponse\x12H\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTradeR\x05trade\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\xc7\x03\n\x15StreamTradesV2Request\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12%\n\x0e\x65xecution_side\x18\x02 \x01(\tR\rexecutionSide\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12\x12\n\x04skip\x18\x05 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x06 \x01(\x11R\x05limit\x12\x1d\n\nstart_time\x18\x07 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x08 \x01(\x12R\x07\x65ndTime\x12\x1d\n\nmarket_ids\x18\t \x03(\tR\tmarketIds\x12%\n\x0esubaccount_ids\x18\n \x03(\tR\rsubaccountIds\x12\'\n\x0f\x65xecution_types\x18\x0b \x03(\tR\x0e\x65xecutionTypes\x12\x19\n\x08trade_id\x18\x0c \x01(\tR\x07tradeId\x12\'\n\x0f\x61\x63\x63ount_address\x18\r \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x10\n\x03\x63id\x18\x0e \x01(\tR\x03\x63id\"\xa7\x01\n\x16StreamTradesV2Response\x12H\n\x05trade\x18\x01 \x01(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTradeR\x05trade\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\x89\x01\n\x1bSubaccountOrdersListRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x12\n\x04skip\x18\x03 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x04 \x01(\x11R\x05limit\"\xb2\x01\n\x1cSubaccountOrdersListResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective_derivative_exchange_rpc.DerivativeLimitOrderR\x06orders\x12\x41\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.PagingR\x06paging\"\xce\x01\n\x1bSubaccountTradesListRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12%\n\x0e\x65xecution_type\x18\x03 \x01(\tR\rexecutionType\x12\x1c\n\tdirection\x18\x04 \x01(\tR\tdirection\x12\x12\n\x04skip\x18\x05 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x06 \x01(\x11R\x05limit\"j\n\x1cSubaccountTradesListResponse\x12J\n\x06trades\x18\x01 \x03(\x0b\x32\x32.injective_derivative_exchange_rpc.DerivativeTradeR\x06trades\"\xfc\x03\n\x14OrdersHistoryRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x12\n\x04skip\x18\x03 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x04 \x01(\x11R\x05limit\x12\x1f\n\x0border_types\x18\x05 \x03(\tR\norderTypes\x12\x1c\n\tdirection\x18\x06 \x01(\tR\tdirection\x12\x1d\n\nstart_time\x18\x07 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x08 \x01(\x12R\x07\x65ndTime\x12%\n\x0eis_conditional\x18\t \x01(\tR\risConditional\x12\x1d\n\norder_type\x18\n \x01(\tR\torderType\x12\x14\n\x05state\x18\x0b \x01(\tR\x05state\x12\'\n\x0f\x65xecution_types\x18\x0c \x03(\tR\x0e\x65xecutionTypes\x12\x1d\n\nmarket_ids\x18\r \x03(\tR\tmarketIds\x12\x19\n\x08trade_id\x18\x0e \x01(\tR\x07tradeId\x12.\n\x13\x61\x63tive_markets_only\x18\x0f \x01(\x08R\x11\x61\x63tiveMarketsOnly\x12\x10\n\x03\x63id\x18\x10 \x01(\tR\x03\x63id\"\xad\x01\n\x15OrdersHistoryResponse\x12Q\n\x06orders\x18\x01 \x03(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistoryR\x06orders\x12\x41\n\x06paging\x18\x02 \x01(\x0b\x32).injective_derivative_exchange_rpc.PagingR\x06paging\"\xa9\x05\n\x16\x44\x65rivativeOrderHistory\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1b\n\tis_active\x18\x03 \x01(\x08R\x08isActive\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12%\n\x0e\x65xecution_type\x18\x05 \x01(\tR\rexecutionType\x12\x1d\n\norder_type\x18\x06 \x01(\tR\torderType\x12\x14\n\x05price\x18\x07 \x01(\tR\x05price\x12#\n\rtrigger_price\x18\x08 \x01(\tR\x0ctriggerPrice\x12\x1a\n\x08quantity\x18\t \x01(\tR\x08quantity\x12\'\n\x0f\x66illed_quantity\x18\n \x01(\tR\x0e\x66illedQuantity\x12\x14\n\x05state\x18\x0b \x01(\tR\x05state\x12\x1d\n\ncreated_at\x18\x0c \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\r \x01(\x12R\tupdatedAt\x12$\n\x0eis_reduce_only\x18\x0e \x01(\x08R\x0cisReduceOnly\x12\x1c\n\tdirection\x18\x0f \x01(\tR\tdirection\x12%\n\x0eis_conditional\x18\x10 \x01(\x08R\risConditional\x12\x1d\n\ntrigger_at\x18\x11 \x01(\x04R\ttriggerAt\x12*\n\x11placed_order_hash\x18\x12 \x01(\tR\x0fplacedOrderHash\x12\x16\n\x06margin\x18\x13 \x01(\tR\x06margin\x12\x17\n\x07tx_hash\x18\x14 \x01(\tR\x06txHash\x12\x10\n\x03\x63id\x18\x15 \x01(\tR\x03\x63id\"\xdc\x01\n\x1aStreamOrdersHistoryRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1f\n\x0border_types\x18\x03 \x03(\tR\norderTypes\x12\x1c\n\tdirection\x18\x04 \x01(\tR\tdirection\x12\x14\n\x05state\x18\x05 \x01(\tR\x05state\x12\'\n\x0f\x65xecution_types\x18\x06 \x03(\tR\x0e\x65xecutionTypes\"\xb3\x01\n\x1bStreamOrdersHistoryResponse\x12O\n\x05order\x18\x01 \x01(\x0b\x32\x39.injective_derivative_exchange_rpc.DerivativeOrderHistoryR\x05order\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp2\xc4\x1a\n\x1eInjectiveDerivativeExchangeRPC\x12p\n\x07Markets\x12\x31.injective_derivative_exchange_rpc.MarketsRequest\x1a\x32.injective_derivative_exchange_rpc.MarketsResponse\x12m\n\x06Market\x12\x30.injective_derivative_exchange_rpc.MarketRequest\x1a\x31.injective_derivative_exchange_rpc.MarketResponse\x12\x81\x01\n\x0cStreamMarket\x12\x36.injective_derivative_exchange_rpc.StreamMarketRequest\x1a\x37.injective_derivative_exchange_rpc.StreamMarketResponse0\x01\x12\x97\x01\n\x14\x42inaryOptionsMarkets\x12>.injective_derivative_exchange_rpc.BinaryOptionsMarketsRequest\x1a?.injective_derivative_exchange_rpc.BinaryOptionsMarketsResponse\x12\x94\x01\n\x13\x42inaryOptionsMarket\x12=.injective_derivative_exchange_rpc.BinaryOptionsMarketRequest\x1a>.injective_derivative_exchange_rpc.BinaryOptionsMarketResponse\x12|\n\x0bOrderbookV2\x12\x35.injective_derivative_exchange_rpc.OrderbookV2Request\x1a\x36.injective_derivative_exchange_rpc.OrderbookV2Response\x12\x7f\n\x0cOrderbooksV2\x12\x36.injective_derivative_exchange_rpc.OrderbooksV2Request\x1a\x37.injective_derivative_exchange_rpc.OrderbooksV2Response\x12\x90\x01\n\x11StreamOrderbookV2\x12;.injective_derivative_exchange_rpc.StreamOrderbookV2Request\x1a<.injective_derivative_exchange_rpc.StreamOrderbookV2Response0\x01\x12\x9c\x01\n\x15StreamOrderbookUpdate\x12?.injective_derivative_exchange_rpc.StreamOrderbookUpdateRequest\x1a@.injective_derivative_exchange_rpc.StreamOrderbookUpdateResponse0\x01\x12m\n\x06Orders\x12\x30.injective_derivative_exchange_rpc.OrdersRequest\x1a\x31.injective_derivative_exchange_rpc.OrdersResponse\x12v\n\tPositions\x12\x33.injective_derivative_exchange_rpc.PositionsRequest\x1a\x34.injective_derivative_exchange_rpc.PositionsResponse\x12|\n\x0bPositionsV2\x12\x35.injective_derivative_exchange_rpc.PositionsV2Request\x1a\x36.injective_derivative_exchange_rpc.PositionsV2Response\x12\x94\x01\n\x13LiquidablePositions\x12=.injective_derivative_exchange_rpc.LiquidablePositionsRequest\x1a>.injective_derivative_exchange_rpc.LiquidablePositionsResponse\x12\x88\x01\n\x0f\x46undingPayments\x12\x39.injective_derivative_exchange_rpc.FundingPaymentsRequest\x1a:.injective_derivative_exchange_rpc.FundingPaymentsResponse\x12\x7f\n\x0c\x46undingRates\x12\x36.injective_derivative_exchange_rpc.FundingRatesRequest\x1a\x37.injective_derivative_exchange_rpc.FundingRatesResponse\x12\x8a\x01\n\x0fStreamPositions\x12\x39.injective_derivative_exchange_rpc.StreamPositionsRequest\x1a:.injective_derivative_exchange_rpc.StreamPositionsResponse0\x01\x12\x81\x01\n\x0cStreamOrders\x12\x36.injective_derivative_exchange_rpc.StreamOrdersRequest\x1a\x37.injective_derivative_exchange_rpc.StreamOrdersResponse0\x01\x12m\n\x06Trades\x12\x30.injective_derivative_exchange_rpc.TradesRequest\x1a\x31.injective_derivative_exchange_rpc.TradesResponse\x12s\n\x08TradesV2\x12\x32.injective_derivative_exchange_rpc.TradesV2Request\x1a\x33.injective_derivative_exchange_rpc.TradesV2Response\x12\x81\x01\n\x0cStreamTrades\x12\x36.injective_derivative_exchange_rpc.StreamTradesRequest\x1a\x37.injective_derivative_exchange_rpc.StreamTradesResponse0\x01\x12\x87\x01\n\x0eStreamTradesV2\x12\x38.injective_derivative_exchange_rpc.StreamTradesV2Request\x1a\x39.injective_derivative_exchange_rpc.StreamTradesV2Response0\x01\x12\x97\x01\n\x14SubaccountOrdersList\x12>.injective_derivative_exchange_rpc.SubaccountOrdersListRequest\x1a?.injective_derivative_exchange_rpc.SubaccountOrdersListResponse\x12\x97\x01\n\x14SubaccountTradesList\x12>.injective_derivative_exchange_rpc.SubaccountTradesListRequest\x1a?.injective_derivative_exchange_rpc.SubaccountTradesListResponse\x12\x82\x01\n\rOrdersHistory\x12\x37.injective_derivative_exchange_rpc.OrdersHistoryRequest\x1a\x38.injective_derivative_exchange_rpc.OrdersHistoryResponse\x12\x96\x01\n\x13StreamOrdersHistory\x12=.injective_derivative_exchange_rpc.StreamOrdersHistoryRequest\x1a>.injective_derivative_exchange_rpc.StreamOrdersHistoryResponse0\x01\x42\x8a\x02\n%com.injective_derivative_exchange_rpcB#InjectiveDerivativeExchangeRpcProtoP\x01Z$/injective_derivative_exchange_rpcpb\xa2\x02\x03IXX\xaa\x02\x1eInjectiveDerivativeExchangeRpc\xca\x02\x1eInjectiveDerivativeExchangeRpc\xe2\x02*InjectiveDerivativeExchangeRpc\\GPBMetadata\xea\x02\x1eInjectiveDerivativeExchangeRpcb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_derivative_exchange_rpc_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n%com.injective_derivative_exchange_rpcB#InjectiveDerivativeExchangeRpcProtoP\001Z$/injective_derivative_exchange_rpcpb\242\002\003IXX\252\002\036InjectiveDerivativeExchangeRpc\312\002\036InjectiveDerivativeExchangeRpc\342\002*InjectiveDerivativeExchangeRpc\\GPBMetadata\352\002\036InjectiveDerivativeExchangeRpc' - _globals['_MARKETSREQUEST']._serialized_start=87 - _globals['_MARKETSREQUEST']._serialized_end=214 - _globals['_MARKETSRESPONSE']._serialized_start=216 - _globals['_MARKETSRESPONSE']._serialized_end=316 - _globals['_DERIVATIVEMARKETINFO']._serialized_start=319 - _globals['_DERIVATIVEMARKETINFO']._serialized_end=1451 - _globals['_TOKENMETA']._serialized_start=1454 - _globals['_TOKENMETA']._serialized_end=1614 - _globals['_PERPETUALMARKETINFO']._serialized_start=1617 - _globals['_PERPETUALMARKETINFO']._serialized_end=1840 - _globals['_PERPETUALMARKETFUNDING']._serialized_start=1843 - _globals['_PERPETUALMARKETFUNDING']._serialized_end=1996 - _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=1998 - _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=2117 - _globals['_MARKETREQUEST']._serialized_start=2119 - _globals['_MARKETREQUEST']._serialized_end=2163 - _globals['_MARKETRESPONSE']._serialized_start=2165 - _globals['_MARKETRESPONSE']._serialized_end=2262 - _globals['_STREAMMARKETREQUEST']._serialized_start=2264 - _globals['_STREAMMARKETREQUEST']._serialized_end=2316 - _globals['_STREAMMARKETRESPONSE']._serialized_start=2319 - _globals['_STREAMMARKETRESPONSE']._serialized_end=2491 - _globals['_BINARYOPTIONSMARKETSREQUEST']._serialized_start=2494 - _globals['_BINARYOPTIONSMARKETSREQUEST']._serialized_end=2635 - _globals['_BINARYOPTIONSMARKETSRESPONSE']._serialized_start=2638 - _globals['_BINARYOPTIONSMARKETSRESPONSE']._serialized_end=2821 - _globals['_BINARYOPTIONSMARKETINFO']._serialized_start=2824 - _globals['_BINARYOPTIONSMARKETINFO']._serialized_end=3625 - _globals['_PAGING']._serialized_start=3628 - _globals['_PAGING']._serialized_end=3762 - _globals['_BINARYOPTIONSMARKETREQUEST']._serialized_start=3764 - _globals['_BINARYOPTIONSMARKETREQUEST']._serialized_end=3821 - _globals['_BINARYOPTIONSMARKETRESPONSE']._serialized_start=3823 - _globals['_BINARYOPTIONSMARKETRESPONSE']._serialized_end=3936 - _globals['_ORDERBOOKV2REQUEST']._serialized_start=3938 - _globals['_ORDERBOOKV2REQUEST']._serialized_end=3987 - _globals['_ORDERBOOKV2RESPONSE']._serialized_start=3989 - _globals['_ORDERBOOKV2RESPONSE']._serialized_end=4103 - _globals['_DERIVATIVELIMITORDERBOOKV2']._serialized_start=4106 - _globals['_DERIVATIVELIMITORDERBOOKV2']._serialized_end=4328 - _globals['_PRICELEVEL']._serialized_start=4330 - _globals['_PRICELEVEL']._serialized_end=4422 - _globals['_ORDERBOOKSV2REQUEST']._serialized_start=4424 - _globals['_ORDERBOOKSV2REQUEST']._serialized_end=4476 - _globals['_ORDERBOOKSV2RESPONSE']._serialized_start=4478 - _globals['_ORDERBOOKSV2RESPONSE']._serialized_end=4601 - _globals['_SINGLEDERIVATIVELIMITORDERBOOKV2']._serialized_start=4604 - _globals['_SINGLEDERIVATIVELIMITORDERBOOKV2']._serialized_end=4760 - _globals['_STREAMORDERBOOKV2REQUEST']._serialized_start=4762 - _globals['_STREAMORDERBOOKV2REQUEST']._serialized_end=4819 - _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_start=4822 - _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_end=5040 - _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_start=5042 - _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_end=5103 - _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_start=5106 - _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_end=5349 - _globals['_ORDERBOOKLEVELUPDATES']._serialized_start=5352 - _globals['_ORDERBOOKLEVELUPDATES']._serialized_end=5611 - _globals['_PRICELEVELUPDATE']._serialized_start=5613 - _globals['_PRICELEVELUPDATE']._serialized_end=5740 - _globals['_ORDERSREQUEST']._serialized_start=5743 - _globals['_ORDERSREQUEST']._serialized_end=6200 - _globals['_ORDERSRESPONSE']._serialized_start=6203 - _globals['_ORDERSRESPONSE']._serialized_end=6367 - _globals['_DERIVATIVELIMITORDER']._serialized_start=6370 - _globals['_DERIVATIVELIMITORDER']._serialized_end=7097 - _globals['_POSITIONSREQUEST']._serialized_start=7100 - _globals['_POSITIONSREQUEST']._serialized_end=7448 - _globals['_POSITIONSRESPONSE']._serialized_start=7451 - _globals['_POSITIONSRESPONSE']._serialized_end=7622 - _globals['_DERIVATIVEPOSITION']._serialized_start=7625 - _globals['_DERIVATIVEPOSITION']._serialized_end=8057 - _globals['_POSITIONSV2REQUEST']._serialized_start=8060 - _globals['_POSITIONSV2REQUEST']._serialized_end=8410 - _globals['_POSITIONSV2RESPONSE']._serialized_start=8413 - _globals['_POSITIONSV2RESPONSE']._serialized_end=8588 - _globals['_DERIVATIVEPOSITIONV2']._serialized_start=8591 - _globals['_DERIVATIVEPOSITIONV2']._serialized_end=8947 - _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_start=8949 - _globals['_LIQUIDABLEPOSITIONSREQUEST']._serialized_end=9048 - _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_start=9050 - _globals['_LIQUIDABLEPOSITIONSRESPONSE']._serialized_end=9164 - _globals['_FUNDINGPAYMENTSREQUEST']._serialized_start=9167 - _globals['_FUNDINGPAYMENTSREQUEST']._serialized_end=9357 - _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_start=9360 - _globals['_FUNDINGPAYMENTSRESPONSE']._serialized_end=9531 - _globals['_FUNDINGPAYMENT']._serialized_start=9534 - _globals['_FUNDINGPAYMENT']._serialized_end=9670 - _globals['_FUNDINGRATESREQUEST']._serialized_start=9672 - _globals['_FUNDINGRATESREQUEST']._serialized_end=9791 - _globals['_FUNDINGRATESRESPONSE']._serialized_start=9794 - _globals['_FUNDINGRATESRESPONSE']._serialized_end=9968 - _globals['_FUNDINGRATE']._serialized_start=9970 - _globals['_FUNDINGRATE']._serialized_end=10062 - _globals['_STREAMPOSITIONSREQUEST']._serialized_start=10065 - _globals['_STREAMPOSITIONSREQUEST']._serialized_end=10266 - _globals['_STREAMPOSITIONSRESPONSE']._serialized_start=10269 - _globals['_STREAMPOSITIONSRESPONSE']._serialized_end=10407 - _globals['_STREAMORDERSREQUEST']._serialized_start=10410 - _globals['_STREAMORDERSREQUEST']._serialized_end=10873 - _globals['_STREAMORDERSRESPONSE']._serialized_start=10876 - _globals['_STREAMORDERSRESPONSE']._serialized_end=11046 - _globals['_TRADESREQUEST']._serialized_start=11049 - _globals['_TRADESREQUEST']._serialized_end=11496 - _globals['_TRADESRESPONSE']._serialized_start=11499 - _globals['_TRADESRESPONSE']._serialized_end=11658 - _globals['_DERIVATIVETRADE']._serialized_start=11661 - _globals['_DERIVATIVETRADE']._serialized_end=12149 - _globals['_POSITIONDELTA']._serialized_start=12152 - _globals['_POSITIONDELTA']._serialized_end=12339 - _globals['_TRADESV2REQUEST']._serialized_start=12342 - _globals['_TRADESV2REQUEST']._serialized_end=12791 - _globals['_TRADESV2RESPONSE']._serialized_start=12794 - _globals['_TRADESV2RESPONSE']._serialized_end=12955 - _globals['_STREAMTRADESREQUEST']._serialized_start=12958 - _globals['_STREAMTRADESREQUEST']._serialized_end=13411 - _globals['_STREAMTRADESRESPONSE']._serialized_start=13414 - _globals['_STREAMTRADESRESPONSE']._serialized_end=13579 - _globals['_STREAMTRADESV2REQUEST']._serialized_start=13582 - _globals['_STREAMTRADESV2REQUEST']._serialized_end=14037 - _globals['_STREAMTRADESV2RESPONSE']._serialized_start=14040 - _globals['_STREAMTRADESV2RESPONSE']._serialized_end=14207 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=14210 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=14347 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=14350 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=14528 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=14531 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=14737 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=14739 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=14845 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=14848 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=15356 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=15359 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=15532 - _globals['_DERIVATIVEORDERHISTORY']._serialized_start=15535 - _globals['_DERIVATIVEORDERHISTORY']._serialized_end=16216 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=16219 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=16439 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=16442 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=16621 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_start=16624 - _globals['_INJECTIVEDERIVATIVEEXCHANGERPC']._serialized_end=20020 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2_grpc.py b/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2_grpc.py deleted file mode 100644 index fd5d2b43..00000000 --- a/pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2_grpc.py +++ /dev/null @@ -1,1142 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.exchange import injective_derivative_exchange_rpc_pb2 as exchange_dot_injective__derivative__exchange__rpc__pb2 - - -class InjectiveDerivativeExchangeRPCStub(object): - """InjectiveDerivativeExchangeRPC defines gRPC API of Derivative Markets - provider. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Markets = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Markets', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.MarketsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.MarketsResponse.FromString, - _registered_method=True) - self.Market = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Market', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.MarketRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.MarketResponse.FromString, - _registered_method=True) - self.StreamMarket = channel.unary_stream( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamMarket', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamMarketRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamMarketResponse.FromString, - _registered_method=True) - self.BinaryOptionsMarkets = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarkets', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketsResponse.FromString, - _registered_method=True) - self.BinaryOptionsMarket = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarket', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketResponse.FromString, - _registered_method=True) - self.OrderbookV2 = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbookV2', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookV2Request.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookV2Response.FromString, - _registered_method=True) - self.OrderbooksV2 = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbooksV2', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksV2Request.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksV2Response.FromString, - _registered_method=True) - self.StreamOrderbookV2 = channel.unary_stream( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookV2', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookV2Request.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookV2Response.FromString, - _registered_method=True) - self.StreamOrderbookUpdate = channel.unary_stream( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookUpdate', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookUpdateRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookUpdateResponse.FromString, - _registered_method=True) - self.Orders = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orders', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrdersRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrdersResponse.FromString, - _registered_method=True) - self.Positions = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Positions', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.PositionsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.PositionsResponse.FromString, - _registered_method=True) - self.PositionsV2 = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/PositionsV2', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.PositionsV2Request.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.PositionsV2Response.FromString, - _registered_method=True) - self.LiquidablePositions = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/LiquidablePositions', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.LiquidablePositionsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.LiquidablePositionsResponse.FromString, - _registered_method=True) - self.FundingPayments = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingPayments', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.FundingPaymentsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.FundingPaymentsResponse.FromString, - _registered_method=True) - self.FundingRates = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingRates', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.FundingRatesRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.FundingRatesResponse.FromString, - _registered_method=True) - self.StreamPositions = channel.unary_stream( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamPositions', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamPositionsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamPositionsResponse.FromString, - _registered_method=True) - self.StreamOrders = channel.unary_stream( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrders', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrdersRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrdersResponse.FromString, - _registered_method=True) - self.Trades = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Trades', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.TradesRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.TradesResponse.FromString, - _registered_method=True) - self.TradesV2 = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/TradesV2', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.TradesV2Request.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.TradesV2Response.FromString, - _registered_method=True) - self.StreamTrades = channel.unary_stream( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamTrades', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamTradesRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamTradesResponse.FromString, - _registered_method=True) - self.StreamTradesV2 = channel.unary_stream( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamTradesV2', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamTradesV2Request.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamTradesV2Response.FromString, - _registered_method=True) - self.SubaccountOrdersList = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountOrdersList', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.SubaccountOrdersListRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.SubaccountOrdersListResponse.FromString, - _registered_method=True) - self.SubaccountTradesList = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountTradesList', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.SubaccountTradesListRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.SubaccountTradesListResponse.FromString, - _registered_method=True) - self.OrdersHistory = channel.unary_unary( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrdersHistory', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrdersHistoryRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrdersHistoryResponse.FromString, - _registered_method=True) - self.StreamOrdersHistory = channel.unary_stream( - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrdersHistory', - request_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrdersHistoryRequest.SerializeToString, - response_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrdersHistoryResponse.FromString, - _registered_method=True) - - -class InjectiveDerivativeExchangeRPCServicer(object): - """InjectiveDerivativeExchangeRPC defines gRPC API of Derivative Markets - provider. - """ - - def Markets(self, request, context): - """Markets gets a list of Derivative Markets - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Market(self, request, context): - """Market gets details of a single derivative market - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamMarket(self, request, context): - """StreamMarket streams live updates of selected derivative markets - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BinaryOptionsMarkets(self, request, context): - """BinaryOptionsMarkets gets a list of Binary Options Markets - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BinaryOptionsMarket(self, request, context): - """BinaryOptionMarket gets details of a single binary options market - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def OrderbookV2(self, request, context): - """Orderbook gets the Orderbook of a Derivative Market - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def OrderbooksV2(self, request, context): - """Orderbooks gets the Orderbooks of requested derivative markets - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamOrderbookV2(self, request, context): - """Stream live snapshot updates of selected derivative market orderbook - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamOrderbookUpdate(self, request, context): - """Stream live level updates of selected derivative market orderbook - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Orders(self, request, context): - """DerivativeLimitOrders gets the limit orders of a derivative Market. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Positions(self, request, context): - """Positions gets the positions for a trader. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PositionsV2(self, request, context): - """Positions gets the positions for a trader. V2 removed some redundant fields - and had performance improvements - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def LiquidablePositions(self, request, context): - """LiquidablePositions gets all the liquidable positions. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def FundingPayments(self, request, context): - """FundingPayments gets the funding payments for a trader. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def FundingRates(self, request, context): - """FundingRates gets the historical funding rates for a market. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamPositions(self, request, context): - """StreamPositions streams derivatives position updates. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamOrders(self, request, context): - """StreamOrders streams updates to individual orders of a Derivative Market. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Trades(self, request, context): - """Trades gets the trades of a Derivative Market. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TradesV2(self, request, context): - """Trades gets the trades of a Derivative Market. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamTrades(self, request, context): - """StreamTrades streams newly executed trades from Derivative Market. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamTradesV2(self, request, context): - """StreamTrades streams newly executed trades from Derivative Market. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubaccountOrdersList(self, request, context): - """SubaccountOrdersList lists orders posted from this subaccount. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubaccountTradesList(self, request, context): - """SubaccountTradesList gets a list of derivatives trades executed by this - subaccount. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def OrdersHistory(self, request, context): - """Lists history orders posted from a subaccount - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamOrdersHistory(self, request, context): - """Stream updates to historical orders of a derivative Market - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_InjectiveDerivativeExchangeRPCServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Markets': grpc.unary_unary_rpc_method_handler( - servicer.Markets, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.MarketsRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.MarketsResponse.SerializeToString, - ), - 'Market': grpc.unary_unary_rpc_method_handler( - servicer.Market, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.MarketRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.MarketResponse.SerializeToString, - ), - 'StreamMarket': grpc.unary_stream_rpc_method_handler( - servicer.StreamMarket, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamMarketRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamMarketResponse.SerializeToString, - ), - 'BinaryOptionsMarkets': grpc.unary_unary_rpc_method_handler( - servicer.BinaryOptionsMarkets, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketsRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketsResponse.SerializeToString, - ), - 'BinaryOptionsMarket': grpc.unary_unary_rpc_method_handler( - servicer.BinaryOptionsMarket, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketResponse.SerializeToString, - ), - 'OrderbookV2': grpc.unary_unary_rpc_method_handler( - servicer.OrderbookV2, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookV2Request.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookV2Response.SerializeToString, - ), - 'OrderbooksV2': grpc.unary_unary_rpc_method_handler( - servicer.OrderbooksV2, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksV2Request.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksV2Response.SerializeToString, - ), - 'StreamOrderbookV2': grpc.unary_stream_rpc_method_handler( - servicer.StreamOrderbookV2, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookV2Request.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookV2Response.SerializeToString, - ), - 'StreamOrderbookUpdate': grpc.unary_stream_rpc_method_handler( - servicer.StreamOrderbookUpdate, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookUpdateRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookUpdateResponse.SerializeToString, - ), - 'Orders': grpc.unary_unary_rpc_method_handler( - servicer.Orders, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrdersRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrdersResponse.SerializeToString, - ), - 'Positions': grpc.unary_unary_rpc_method_handler( - servicer.Positions, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.PositionsRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.PositionsResponse.SerializeToString, - ), - 'PositionsV2': grpc.unary_unary_rpc_method_handler( - servicer.PositionsV2, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.PositionsV2Request.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.PositionsV2Response.SerializeToString, - ), - 'LiquidablePositions': grpc.unary_unary_rpc_method_handler( - servicer.LiquidablePositions, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.LiquidablePositionsRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.LiquidablePositionsResponse.SerializeToString, - ), - 'FundingPayments': grpc.unary_unary_rpc_method_handler( - servicer.FundingPayments, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.FundingPaymentsRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.FundingPaymentsResponse.SerializeToString, - ), - 'FundingRates': grpc.unary_unary_rpc_method_handler( - servicer.FundingRates, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.FundingRatesRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.FundingRatesResponse.SerializeToString, - ), - 'StreamPositions': grpc.unary_stream_rpc_method_handler( - servicer.StreamPositions, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamPositionsRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamPositionsResponse.SerializeToString, - ), - 'StreamOrders': grpc.unary_stream_rpc_method_handler( - servicer.StreamOrders, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrdersRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrdersResponse.SerializeToString, - ), - 'Trades': grpc.unary_unary_rpc_method_handler( - servicer.Trades, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.TradesRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.TradesResponse.SerializeToString, - ), - 'TradesV2': grpc.unary_unary_rpc_method_handler( - servicer.TradesV2, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.TradesV2Request.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.TradesV2Response.SerializeToString, - ), - 'StreamTrades': grpc.unary_stream_rpc_method_handler( - servicer.StreamTrades, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamTradesRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamTradesResponse.SerializeToString, - ), - 'StreamTradesV2': grpc.unary_stream_rpc_method_handler( - servicer.StreamTradesV2, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamTradesV2Request.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamTradesV2Response.SerializeToString, - ), - 'SubaccountOrdersList': grpc.unary_unary_rpc_method_handler( - servicer.SubaccountOrdersList, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.SubaccountOrdersListRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.SubaccountOrdersListResponse.SerializeToString, - ), - 'SubaccountTradesList': grpc.unary_unary_rpc_method_handler( - servicer.SubaccountTradesList, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.SubaccountTradesListRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.SubaccountTradesListResponse.SerializeToString, - ), - 'OrdersHistory': grpc.unary_unary_rpc_method_handler( - servicer.OrdersHistory, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrdersHistoryRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.OrdersHistoryResponse.SerializeToString, - ), - 'StreamOrdersHistory': grpc.unary_stream_rpc_method_handler( - servicer.StreamOrdersHistory, - request_deserializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrdersHistoryRequest.FromString, - response_serializer=exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrdersHistoryResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class InjectiveDerivativeExchangeRPC(object): - """InjectiveDerivativeExchangeRPC defines gRPC API of Derivative Markets - provider. - """ - - @staticmethod - def Markets(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Markets', - exchange_dot_injective__derivative__exchange__rpc__pb2.MarketsRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.MarketsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Market(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Market', - exchange_dot_injective__derivative__exchange__rpc__pb2.MarketRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.MarketResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamMarket(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, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamMarket', - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamMarketRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamMarketResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BinaryOptionsMarkets(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarkets', - exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketsRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BinaryOptionsMarket(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarket', - exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.BinaryOptionsMarketResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def OrderbookV2(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbookV2', - exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookV2Request.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbookV2Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def OrderbooksV2(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbooksV2', - exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksV2Request.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.OrderbooksV2Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamOrderbookV2(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, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookV2', - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookV2Request.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookV2Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamOrderbookUpdate(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, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookUpdate', - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookUpdateRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrderbookUpdateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Orders(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orders', - exchange_dot_injective__derivative__exchange__rpc__pb2.OrdersRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.OrdersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Positions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Positions', - exchange_dot_injective__derivative__exchange__rpc__pb2.PositionsRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.PositionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PositionsV2(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/PositionsV2', - exchange_dot_injective__derivative__exchange__rpc__pb2.PositionsV2Request.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.PositionsV2Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def LiquidablePositions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/LiquidablePositions', - exchange_dot_injective__derivative__exchange__rpc__pb2.LiquidablePositionsRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.LiquidablePositionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def FundingPayments(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingPayments', - exchange_dot_injective__derivative__exchange__rpc__pb2.FundingPaymentsRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.FundingPaymentsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def FundingRates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingRates', - exchange_dot_injective__derivative__exchange__rpc__pb2.FundingRatesRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.FundingRatesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamPositions(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, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamPositions', - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamPositionsRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamPositionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamOrders(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, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrders', - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrdersRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrdersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Trades(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Trades', - exchange_dot_injective__derivative__exchange__rpc__pb2.TradesRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.TradesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def TradesV2(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/TradesV2', - exchange_dot_injective__derivative__exchange__rpc__pb2.TradesV2Request.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.TradesV2Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamTrades(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, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamTrades', - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamTradesRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamTradesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamTradesV2(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, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamTradesV2', - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamTradesV2Request.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamTradesV2Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SubaccountOrdersList(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountOrdersList', - exchange_dot_injective__derivative__exchange__rpc__pb2.SubaccountOrdersListRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.SubaccountOrdersListResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SubaccountTradesList(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountTradesList', - exchange_dot_injective__derivative__exchange__rpc__pb2.SubaccountTradesListRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.SubaccountTradesListResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def OrdersHistory(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrdersHistory', - exchange_dot_injective__derivative__exchange__rpc__pb2.OrdersHistoryRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.OrdersHistoryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamOrdersHistory(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, - '/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrdersHistory', - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrdersHistoryRequest.SerializeToString, - exchange_dot_injective__derivative__exchange__rpc__pb2.StreamOrdersHistoryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/exchange/injective_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_exchange_rpc_pb2.py deleted file mode 100644 index 8d515faa..00000000 --- a/pyinjective/proto/exchange/injective_exchange_rpc_pb2.py +++ /dev/null @@ -1,57 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: exchange/injective_exchange_rpc.proto -# Protobuf Python Version: 5.26.1 -"""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%exchange/injective_exchange_rpc.proto\x12\x16injective_exchange_rpc\"\"\n\x0cGetTxRequest\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\"\xd3\x01\n\rGetTxResponse\x12\x17\n\x07tx_hash\x18\x01 \x01(\tR\x06txHash\x12\x16\n\x06height\x18\x02 \x01(\x12R\x06height\x12\x14\n\x05index\x18\x03 \x01(\rR\x05index\x12\x1c\n\tcodespace\x18\x04 \x01(\tR\tcodespace\x12\x12\n\x04\x63ode\x18\x05 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x06 \x01(\x0cR\x04\x64\x61ta\x12\x17\n\x07raw_log\x18\x07 \x01(\tR\x06rawLog\x12\x1c\n\ttimestamp\x18\x08 \x01(\tR\ttimestamp\"\x9d\x02\n\x10PrepareTxRequest\x12\x19\n\x08\x63hain_id\x18\x01 \x01(\x04R\x07\x63hainId\x12%\n\x0esigner_address\x18\x02 \x01(\tR\rsignerAddress\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x12\x12\n\x04memo\x18\x04 \x01(\tR\x04memo\x12%\n\x0etimeout_height\x18\x05 \x01(\x04R\rtimeoutHeight\x12\x35\n\x03\x66\x65\x65\x18\x06 \x01(\x0b\x32#.injective_exchange_rpc.CosmosTxFeeR\x03\x66\x65\x65\x12\x12\n\x04msgs\x18\x07 \x03(\x0cR\x04msgs\x12%\n\x0e\x65ip712_wrapper\x18\x08 \x01(\tR\reip712Wrapper\"|\n\x0b\x43osmosTxFee\x12\x38\n\x05price\x18\x01 \x03(\x0b\x32\".injective_exchange_rpc.CosmosCoinR\x05price\x12\x10\n\x03gas\x18\x02 \x01(\x04R\x03gas\x12!\n\x0c\x64\x65legate_fee\x18\x03 \x01(\x08R\x0b\x64\x65legateFee\":\n\nCosmosCoin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"\xc3\x01\n\x11PrepareTxResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\tR\x04\x64\x61ta\x12\x1a\n\x08sequence\x18\x02 \x01(\x04R\x08sequence\x12\x1b\n\tsign_mode\x18\x03 \x01(\tR\x08signMode\x12 \n\x0cpub_key_type\x18\x04 \x01(\tR\npubKeyType\x12\x1b\n\tfee_payer\x18\x05 \x01(\tR\x08\x66\x65\x65Payer\x12\"\n\rfee_payer_sig\x18\x06 \x01(\tR\x0b\x66\x65\x65PayerSig\"\x85\x02\n\x12\x42roadcastTxRequest\x12\x19\n\x08\x63hain_id\x18\x01 \x01(\x04R\x07\x63hainId\x12\x0e\n\x02tx\x18\x02 \x01(\x0cR\x02tx\x12\x12\n\x04msgs\x18\x03 \x03(\x0cR\x04msgs\x12=\n\x07pub_key\x18\x04 \x01(\x0b\x32$.injective_exchange_rpc.CosmosPubKeyR\x06pubKey\x12\x1c\n\tsignature\x18\x05 \x01(\tR\tsignature\x12\x1b\n\tfee_payer\x18\x06 \x01(\tR\x08\x66\x65\x65Payer\x12\"\n\rfee_payer_sig\x18\x07 \x01(\tR\x0b\x66\x65\x65PayerSig\x12\x12\n\x04mode\x18\x08 \x01(\tR\x04mode\"4\n\x0c\x43osmosPubKey\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\"\xd9\x01\n\x13\x42roadcastTxResponse\x12\x17\n\x07tx_hash\x18\x01 \x01(\tR\x06txHash\x12\x16\n\x06height\x18\x02 \x01(\x12R\x06height\x12\x14\n\x05index\x18\x03 \x01(\rR\x05index\x12\x1c\n\tcodespace\x18\x04 \x01(\tR\tcodespace\x12\x12\n\x04\x63ode\x18\x05 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x06 \x01(\x0cR\x04\x64\x61ta\x12\x17\n\x07raw_log\x18\x07 \x01(\tR\x06rawLog\x12\x1c\n\ttimestamp\x18\x08 \x01(\tR\ttimestamp\"\xe0\x01\n\x16PrepareCosmosTxRequest\x12\x19\n\x08\x63hain_id\x18\x01 \x01(\x04R\x07\x63hainId\x12%\n\x0esender_address\x18\x02 \x01(\tR\rsenderAddress\x12\x12\n\x04memo\x18\x03 \x01(\tR\x04memo\x12%\n\x0etimeout_height\x18\x04 \x01(\x04R\rtimeoutHeight\x12\x35\n\x03\x66\x65\x65\x18\x05 \x01(\x0b\x32#.injective_exchange_rpc.CosmosTxFeeR\x03\x66\x65\x65\x12\x12\n\x04msgs\x18\x06 \x03(\x0cR\x04msgs\"\xfa\x01\n\x17PrepareCosmosTxResponse\x12\x0e\n\x02tx\x18\x01 \x01(\x0cR\x02tx\x12\x1b\n\tsign_mode\x18\x02 \x01(\tR\x08signMode\x12 \n\x0cpub_key_type\x18\x03 \x01(\tR\npubKeyType\x12\x1b\n\tfee_payer\x18\x04 \x01(\tR\x08\x66\x65\x65Payer\x12\"\n\rfee_payer_sig\x18\x05 \x01(\tR\x0b\x66\x65\x65PayerSig\x12O\n\x11\x66\x65\x65_payer_pub_key\x18\x06 \x01(\x0b\x32$.injective_exchange_rpc.CosmosPubKeyR\x0e\x66\x65\x65PayerPubKey\"\xae\x01\n\x18\x42roadcastCosmosTxRequest\x12\x0e\n\x02tx\x18\x01 \x01(\x0cR\x02tx\x12=\n\x07pub_key\x18\x02 \x01(\x0b\x32$.injective_exchange_rpc.CosmosPubKeyR\x06pubKey\x12\x1c\n\tsignature\x18\x03 \x01(\tR\tsignature\x12%\n\x0esender_address\x18\x04 \x01(\tR\rsenderAddress\"\xdf\x01\n\x19\x42roadcastCosmosTxResponse\x12\x17\n\x07tx_hash\x18\x01 \x01(\tR\x06txHash\x12\x16\n\x06height\x18\x02 \x01(\x12R\x06height\x12\x14\n\x05index\x18\x03 \x01(\rR\x05index\x12\x1c\n\tcodespace\x18\x04 \x01(\tR\tcodespace\x12\x12\n\x04\x63ode\x18\x05 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x06 \x01(\x0cR\x04\x64\x61ta\x12\x17\n\x07raw_log\x18\x07 \x01(\tR\x06rawLog\x12\x1c\n\ttimestamp\x18\x08 \x01(\tR\ttimestamp\"\x14\n\x12GetFeePayerRequest\"\x83\x01\n\x13GetFeePayerResponse\x12\x1b\n\tfee_payer\x18\x01 \x01(\tR\x08\x66\x65\x65Payer\x12O\n\x11\x66\x65\x65_payer_pub_key\x18\x02 \x01(\x0b\x32$.injective_exchange_rpc.CosmosPubKeyR\x0e\x66\x65\x65PayerPubKey2\x8c\x05\n\x14InjectiveExchangeRPC\x12T\n\x05GetTx\x12$.injective_exchange_rpc.GetTxRequest\x1a%.injective_exchange_rpc.GetTxResponse\x12`\n\tPrepareTx\x12(.injective_exchange_rpc.PrepareTxRequest\x1a).injective_exchange_rpc.PrepareTxResponse\x12\x66\n\x0b\x42roadcastTx\x12*.injective_exchange_rpc.BroadcastTxRequest\x1a+.injective_exchange_rpc.BroadcastTxResponse\x12r\n\x0fPrepareCosmosTx\x12..injective_exchange_rpc.PrepareCosmosTxRequest\x1a/.injective_exchange_rpc.PrepareCosmosTxResponse\x12x\n\x11\x42roadcastCosmosTx\x12\x30.injective_exchange_rpc.BroadcastCosmosTxRequest\x1a\x31.injective_exchange_rpc.BroadcastCosmosTxResponse\x12\x66\n\x0bGetFeePayer\x12*.injective_exchange_rpc.GetFeePayerRequest\x1a+.injective_exchange_rpc.GetFeePayerResponseB\xc2\x01\n\x1a\x63om.injective_exchange_rpcB\x19InjectiveExchangeRpcProtoP\x01Z\x19/injective_exchange_rpcpb\xa2\x02\x03IXX\xaa\x02\x14InjectiveExchangeRpc\xca\x02\x14InjectiveExchangeRpc\xe2\x02 InjectiveExchangeRpc\\GPBMetadata\xea\x02\x14InjectiveExchangeRpcb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_exchange_rpc_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.injective_exchange_rpcB\031InjectiveExchangeRpcProtoP\001Z\031/injective_exchange_rpcpb\242\002\003IXX\252\002\024InjectiveExchangeRpc\312\002\024InjectiveExchangeRpc\342\002 InjectiveExchangeRpc\\GPBMetadata\352\002\024InjectiveExchangeRpc' - _globals['_GETTXREQUEST']._serialized_start=65 - _globals['_GETTXREQUEST']._serialized_end=99 - _globals['_GETTXRESPONSE']._serialized_start=102 - _globals['_GETTXRESPONSE']._serialized_end=313 - _globals['_PREPARETXREQUEST']._serialized_start=316 - _globals['_PREPARETXREQUEST']._serialized_end=601 - _globals['_COSMOSTXFEE']._serialized_start=603 - _globals['_COSMOSTXFEE']._serialized_end=727 - _globals['_COSMOSCOIN']._serialized_start=729 - _globals['_COSMOSCOIN']._serialized_end=787 - _globals['_PREPARETXRESPONSE']._serialized_start=790 - _globals['_PREPARETXRESPONSE']._serialized_end=985 - _globals['_BROADCASTTXREQUEST']._serialized_start=988 - _globals['_BROADCASTTXREQUEST']._serialized_end=1249 - _globals['_COSMOSPUBKEY']._serialized_start=1251 - _globals['_COSMOSPUBKEY']._serialized_end=1303 - _globals['_BROADCASTTXRESPONSE']._serialized_start=1306 - _globals['_BROADCASTTXRESPONSE']._serialized_end=1523 - _globals['_PREPARECOSMOSTXREQUEST']._serialized_start=1526 - _globals['_PREPARECOSMOSTXREQUEST']._serialized_end=1750 - _globals['_PREPARECOSMOSTXRESPONSE']._serialized_start=1753 - _globals['_PREPARECOSMOSTXRESPONSE']._serialized_end=2003 - _globals['_BROADCASTCOSMOSTXREQUEST']._serialized_start=2006 - _globals['_BROADCASTCOSMOSTXREQUEST']._serialized_end=2180 - _globals['_BROADCASTCOSMOSTXRESPONSE']._serialized_start=2183 - _globals['_BROADCASTCOSMOSTXRESPONSE']._serialized_end=2406 - _globals['_GETFEEPAYERREQUEST']._serialized_start=2408 - _globals['_GETFEEPAYERREQUEST']._serialized_end=2428 - _globals['_GETFEEPAYERRESPONSE']._serialized_start=2431 - _globals['_GETFEEPAYERRESPONSE']._serialized_end=2562 - _globals['_INJECTIVEEXCHANGERPC']._serialized_start=2565 - _globals['_INJECTIVEEXCHANGERPC']._serialized_end=3217 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_exchange_rpc_pb2_grpc.py b/pyinjective/proto/exchange/injective_exchange_rpc_pb2_grpc.py deleted file mode 100644 index cddca5ba..00000000 --- a/pyinjective/proto/exchange/injective_exchange_rpc_pb2_grpc.py +++ /dev/null @@ -1,301 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.exchange import injective_exchange_rpc_pb2 as exchange_dot_injective__exchange__rpc__pb2 - - -class InjectiveExchangeRPCStub(object): - """InjectiveExchangeRPC defines gRPC API of an Injective Exchange service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetTx = channel.unary_unary( - '/injective_exchange_rpc.InjectiveExchangeRPC/GetTx', - request_serializer=exchange_dot_injective__exchange__rpc__pb2.GetTxRequest.SerializeToString, - response_deserializer=exchange_dot_injective__exchange__rpc__pb2.GetTxResponse.FromString, - _registered_method=True) - self.PrepareTx = channel.unary_unary( - '/injective_exchange_rpc.InjectiveExchangeRPC/PrepareTx', - request_serializer=exchange_dot_injective__exchange__rpc__pb2.PrepareTxRequest.SerializeToString, - response_deserializer=exchange_dot_injective__exchange__rpc__pb2.PrepareTxResponse.FromString, - _registered_method=True) - self.BroadcastTx = channel.unary_unary( - '/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastTx', - request_serializer=exchange_dot_injective__exchange__rpc__pb2.BroadcastTxRequest.SerializeToString, - response_deserializer=exchange_dot_injective__exchange__rpc__pb2.BroadcastTxResponse.FromString, - _registered_method=True) - self.PrepareCosmosTx = channel.unary_unary( - '/injective_exchange_rpc.InjectiveExchangeRPC/PrepareCosmosTx', - request_serializer=exchange_dot_injective__exchange__rpc__pb2.PrepareCosmosTxRequest.SerializeToString, - response_deserializer=exchange_dot_injective__exchange__rpc__pb2.PrepareCosmosTxResponse.FromString, - _registered_method=True) - self.BroadcastCosmosTx = channel.unary_unary( - '/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastCosmosTx', - request_serializer=exchange_dot_injective__exchange__rpc__pb2.BroadcastCosmosTxRequest.SerializeToString, - response_deserializer=exchange_dot_injective__exchange__rpc__pb2.BroadcastCosmosTxResponse.FromString, - _registered_method=True) - self.GetFeePayer = channel.unary_unary( - '/injective_exchange_rpc.InjectiveExchangeRPC/GetFeePayer', - request_serializer=exchange_dot_injective__exchange__rpc__pb2.GetFeePayerRequest.SerializeToString, - response_deserializer=exchange_dot_injective__exchange__rpc__pb2.GetFeePayerResponse.FromString, - _registered_method=True) - - -class InjectiveExchangeRPCServicer(object): - """InjectiveExchangeRPC defines gRPC API of an Injective Exchange service. - """ - - def GetTx(self, request, context): - """GetTx gets transaction details by hash. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PrepareTx(self, request, context): - """PrepareTx generates a Web3-signable body for a Cosmos transaction - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BroadcastTx(self, request, context): - """BroadcastTx broadcasts a signed Web3 transaction - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PrepareCosmosTx(self, request, context): - """PrepareCosmosTx generates a Web3-signable body for a Cosmos transaction - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BroadcastCosmosTx(self, request, context): - """BroadcastCosmosTx broadcasts a signed Web3 transaction - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetFeePayer(self, request, context): - """Return fee payer information's - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_InjectiveExchangeRPCServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GetTx': grpc.unary_unary_rpc_method_handler( - servicer.GetTx, - request_deserializer=exchange_dot_injective__exchange__rpc__pb2.GetTxRequest.FromString, - response_serializer=exchange_dot_injective__exchange__rpc__pb2.GetTxResponse.SerializeToString, - ), - 'PrepareTx': grpc.unary_unary_rpc_method_handler( - servicer.PrepareTx, - request_deserializer=exchange_dot_injective__exchange__rpc__pb2.PrepareTxRequest.FromString, - response_serializer=exchange_dot_injective__exchange__rpc__pb2.PrepareTxResponse.SerializeToString, - ), - 'BroadcastTx': grpc.unary_unary_rpc_method_handler( - servicer.BroadcastTx, - request_deserializer=exchange_dot_injective__exchange__rpc__pb2.BroadcastTxRequest.FromString, - response_serializer=exchange_dot_injective__exchange__rpc__pb2.BroadcastTxResponse.SerializeToString, - ), - 'PrepareCosmosTx': grpc.unary_unary_rpc_method_handler( - servicer.PrepareCosmosTx, - request_deserializer=exchange_dot_injective__exchange__rpc__pb2.PrepareCosmosTxRequest.FromString, - response_serializer=exchange_dot_injective__exchange__rpc__pb2.PrepareCosmosTxResponse.SerializeToString, - ), - 'BroadcastCosmosTx': grpc.unary_unary_rpc_method_handler( - servicer.BroadcastCosmosTx, - request_deserializer=exchange_dot_injective__exchange__rpc__pb2.BroadcastCosmosTxRequest.FromString, - response_serializer=exchange_dot_injective__exchange__rpc__pb2.BroadcastCosmosTxResponse.SerializeToString, - ), - 'GetFeePayer': grpc.unary_unary_rpc_method_handler( - servicer.GetFeePayer, - request_deserializer=exchange_dot_injective__exchange__rpc__pb2.GetFeePayerRequest.FromString, - response_serializer=exchange_dot_injective__exchange__rpc__pb2.GetFeePayerResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective_exchange_rpc.InjectiveExchangeRPC', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective_exchange_rpc.InjectiveExchangeRPC', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class InjectiveExchangeRPC(object): - """InjectiveExchangeRPC defines gRPC API of an Injective Exchange service. - """ - - @staticmethod - def GetTx(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_exchange_rpc.InjectiveExchangeRPC/GetTx', - exchange_dot_injective__exchange__rpc__pb2.GetTxRequest.SerializeToString, - exchange_dot_injective__exchange__rpc__pb2.GetTxResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PrepareTx(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_exchange_rpc.InjectiveExchangeRPC/PrepareTx', - exchange_dot_injective__exchange__rpc__pb2.PrepareTxRequest.SerializeToString, - exchange_dot_injective__exchange__rpc__pb2.PrepareTxResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BroadcastTx(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastTx', - exchange_dot_injective__exchange__rpc__pb2.BroadcastTxRequest.SerializeToString, - exchange_dot_injective__exchange__rpc__pb2.BroadcastTxResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PrepareCosmosTx(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_exchange_rpc.InjectiveExchangeRPC/PrepareCosmosTx', - exchange_dot_injective__exchange__rpc__pb2.PrepareCosmosTxRequest.SerializeToString, - exchange_dot_injective__exchange__rpc__pb2.PrepareCosmosTxResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BroadcastCosmosTx(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastCosmosTx', - exchange_dot_injective__exchange__rpc__pb2.BroadcastCosmosTxRequest.SerializeToString, - exchange_dot_injective__exchange__rpc__pb2.BroadcastCosmosTxResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetFeePayer(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_exchange_rpc.InjectiveExchangeRPC/GetFeePayer', - exchange_dot_injective__exchange__rpc__pb2.GetFeePayerRequest.SerializeToString, - exchange_dot_injective__exchange__rpc__pb2.GetFeePayerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/exchange/injective_explorer_rpc_pb2.py b/pyinjective/proto/exchange/injective_explorer_rpc_pb2.py deleted file mode 100644 index 7066998d..00000000 --- a/pyinjective/proto/exchange/injective_explorer_rpc_pb2.py +++ /dev/null @@ -1,179 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: exchange/injective_explorer_rpc.proto -# Protobuf Python Version: 5.26.1 -"""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%exchange/injective_explorer_rpc.proto\x12\x16injective_explorer_rpc\"\xc4\x02\n\x14GetAccountTxsRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12\x16\n\x06\x62\x65\x66ore\x18\x02 \x01(\x04R\x06\x62\x65\x66ore\x12\x14\n\x05\x61\x66ter\x18\x03 \x01(\x04R\x05\x61\x66ter\x12\x14\n\x05limit\x18\x04 \x01(\x11R\x05limit\x12\x12\n\x04skip\x18\x05 \x01(\x04R\x04skip\x12\x12\n\x04type\x18\x06 \x01(\tR\x04type\x12\x16\n\x06module\x18\x07 \x01(\tR\x06module\x12\x1f\n\x0b\x66rom_number\x18\x08 \x01(\x12R\nfromNumber\x12\x1b\n\tto_number\x18\t \x01(\x12R\x08toNumber\x12\x1d\n\nstart_time\x18\n \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x0b \x01(\x12R\x07\x65ndTime\x12\x16\n\x06status\x18\x0c \x01(\tR\x06status\"\x89\x01\n\x15GetAccountTxsResponse\x12\x36\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.PagingR\x06paging\x12\x38\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.TxDetailDataR\x04\x64\x61ta\"\x86\x01\n\x06Paging\x12\x14\n\x05total\x18\x01 \x01(\x12R\x05total\x12\x12\n\x04\x66rom\x18\x02 \x01(\x11R\x04\x66rom\x12\x0e\n\x02to\x18\x03 \x01(\x11R\x02to\x12.\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12R\x11\x63ountBySubaccount\x12\x12\n\x04next\x18\x05 \x03(\tR\x04next\"\xab\x05\n\x0cTxDetailData\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12!\n\x0c\x62lock_number\x18\x02 \x01(\x04R\x0b\x62lockNumber\x12\'\n\x0f\x62lock_timestamp\x18\x03 \x01(\tR\x0e\x62lockTimestamp\x12\x12\n\x04hash\x18\x04 \x01(\tR\x04hash\x12\x12\n\x04\x63ode\x18\x05 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x06 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04info\x18\x08 \x01(\tR\x04info\x12\x1d\n\ngas_wanted\x18\t \x01(\x12R\tgasWanted\x12\x19\n\x08gas_used\x18\n \x01(\x12R\x07gasUsed\x12\x37\n\x07gas_fee\x18\x0b \x01(\x0b\x32\x1e.injective_explorer_rpc.GasFeeR\x06gasFee\x12\x1c\n\tcodespace\x18\x0c \x01(\tR\tcodespace\x12\x35\n\x06\x65vents\x18\r \x03(\x0b\x32\x1d.injective_explorer_rpc.EventR\x06\x65vents\x12\x17\n\x07tx_type\x18\x0e \x01(\tR\x06txType\x12\x1a\n\x08messages\x18\x0f \x01(\x0cR\x08messages\x12\x41\n\nsignatures\x18\x10 \x03(\x0b\x32!.injective_explorer_rpc.SignatureR\nsignatures\x12\x12\n\x04memo\x18\x11 \x01(\tR\x04memo\x12\x1b\n\ttx_number\x18\x12 \x01(\x04R\x08txNumber\x12\x30\n\x14\x62lock_unix_timestamp\x18\x13 \x01(\x04R\x12\x62lockUnixTimestamp\x12\x1b\n\terror_log\x18\x14 \x01(\tR\x08\x65rrorLog\x12\x12\n\x04logs\x18\x15 \x01(\x0cR\x04logs\x12\x1b\n\tclaim_ids\x18\x16 \x03(\x12R\x08\x63laimIds\"\x91\x01\n\x06GasFee\x12:\n\x06\x61mount\x18\x01 \x03(\x0b\x32\".injective_explorer_rpc.CosmosCoinR\x06\x61mount\x12\x1b\n\tgas_limit\x18\x02 \x01(\x04R\x08gasLimit\x12\x14\n\x05payer\x18\x03 \x01(\tR\x05payer\x12\x18\n\x07granter\x18\x04 \x01(\tR\x07granter\":\n\nCosmosCoin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"\xa9\x01\n\x05\x45vent\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12M\n\nattributes\x18\x02 \x03(\x0b\x32-.injective_explorer_rpc.Event.AttributesEntryR\nattributes\x1a=\n\x0f\x41ttributesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"w\n\tSignature\x12\x16\n\x06pubkey\x18\x01 \x01(\tR\x06pubkey\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x12\x1c\n\tsignature\x18\x04 \x01(\tR\tsignature\"\x99\x01\n\x15GetContractTxsRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12\x14\n\x05limit\x18\x02 \x01(\x11R\x05limit\x12\x12\n\x04skip\x18\x03 \x01(\x04R\x04skip\x12\x1f\n\x0b\x66rom_number\x18\x04 \x01(\x12R\nfromNumber\x12\x1b\n\tto_number\x18\x05 \x01(\x12R\x08toNumber\"\x8a\x01\n\x16GetContractTxsResponse\x12\x36\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.PagingR\x06paging\x12\x38\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.TxDetailDataR\x04\x64\x61ta\"\x9b\x01\n\x17GetContractTxsV2Request\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12\x16\n\x06height\x18\x02 \x01(\x04R\x06height\x12\x12\n\x04\x66rom\x18\x03 \x01(\x12R\x04\x66rom\x12\x0e\n\x02to\x18\x04 \x01(\x12R\x02to\x12\x14\n\x05limit\x18\x05 \x01(\x11R\x05limit\x12\x14\n\x05token\x18\x06 \x01(\tR\x05token\"h\n\x18GetContractTxsV2Response\x12\x12\n\x04next\x18\x01 \x03(\tR\x04next\x12\x38\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.TxDetailDataR\x04\x64\x61ta\"z\n\x10GetBlocksRequest\x12\x16\n\x06\x62\x65\x66ore\x18\x01 \x01(\x04R\x06\x62\x65\x66ore\x12\x14\n\x05\x61\x66ter\x18\x02 \x01(\x04R\x05\x61\x66ter\x12\x14\n\x05limit\x18\x03 \x01(\x11R\x05limit\x12\x12\n\x04\x66rom\x18\x04 \x01(\x04R\x04\x66rom\x12\x0e\n\x02to\x18\x05 \x01(\x04R\x02to\"\x82\x01\n\x11GetBlocksResponse\x12\x36\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.PagingR\x06paging\x12\x35\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32!.injective_explorer_rpc.BlockInfoR\x04\x64\x61ta\"\xad\x02\n\tBlockInfo\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x1a\n\x08proposer\x18\x02 \x01(\tR\x08proposer\x12\x18\n\x07moniker\x18\x03 \x01(\tR\x07moniker\x12\x1d\n\nblock_hash\x18\x04 \x01(\tR\tblockHash\x12\x1f\n\x0bparent_hash\x18\x05 \x01(\tR\nparentHash\x12&\n\x0fnum_pre_commits\x18\x06 \x01(\x12R\rnumPreCommits\x12\x17\n\x07num_txs\x18\x07 \x01(\x12R\x06numTxs\x12\x33\n\x03txs\x18\x08 \x03(\x0b\x32!.injective_explorer_rpc.TxDataRPCR\x03txs\x12\x1c\n\ttimestamp\x18\t \x01(\tR\ttimestamp\"\xa0\x02\n\tTxDataRPC\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12!\n\x0c\x62lock_number\x18\x02 \x01(\x04R\x0b\x62lockNumber\x12\'\n\x0f\x62lock_timestamp\x18\x03 \x01(\tR\x0e\x62lockTimestamp\x12\x12\n\x04hash\x18\x04 \x01(\tR\x04hash\x12\x1c\n\tcodespace\x18\x05 \x01(\tR\tcodespace\x12\x1a\n\x08messages\x18\x06 \x01(\tR\x08messages\x12\x1b\n\ttx_number\x18\x07 \x01(\x04R\x08txNumber\x12\x1b\n\terror_log\x18\x08 \x01(\tR\x08\x65rrorLog\x12\x12\n\x04\x63ode\x18\t \x01(\rR\x04\x63ode\x12\x1b\n\tclaim_ids\x18\n \x03(\x12R\x08\x63laimIds\"!\n\x0fGetBlockRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"u\n\x10GetBlockResponse\x12\x0c\n\x01s\x18\x01 \x01(\tR\x01s\x12\x16\n\x06\x65rrmsg\x18\x02 \x01(\tR\x06\x65rrmsg\x12;\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\'.injective_explorer_rpc.BlockDetailInfoR\x04\x64\x61ta\"\xcd\x02\n\x0f\x42lockDetailInfo\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x1a\n\x08proposer\x18\x02 \x01(\tR\x08proposer\x12\x18\n\x07moniker\x18\x03 \x01(\tR\x07moniker\x12\x1d\n\nblock_hash\x18\x04 \x01(\tR\tblockHash\x12\x1f\n\x0bparent_hash\x18\x05 \x01(\tR\nparentHash\x12&\n\x0fnum_pre_commits\x18\x06 \x01(\x12R\rnumPreCommits\x12\x17\n\x07num_txs\x18\x07 \x01(\x12R\x06numTxs\x12\x1b\n\ttotal_txs\x18\x08 \x01(\x12R\x08totalTxs\x12\x30\n\x03txs\x18\t \x03(\x0b\x32\x1e.injective_explorer_rpc.TxDataR\x03txs\x12\x1c\n\ttimestamp\x18\n \x01(\tR\ttimestamp\"\xd3\x02\n\x06TxData\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12!\n\x0c\x62lock_number\x18\x02 \x01(\x04R\x0b\x62lockNumber\x12\'\n\x0f\x62lock_timestamp\x18\x03 \x01(\tR\x0e\x62lockTimestamp\x12\x12\n\x04hash\x18\x04 \x01(\tR\x04hash\x12\x1c\n\tcodespace\x18\x05 \x01(\tR\tcodespace\x12\x1a\n\x08messages\x18\x06 \x01(\x0cR\x08messages\x12\x1b\n\ttx_number\x18\x07 \x01(\x04R\x08txNumber\x12\x1b\n\terror_log\x18\x08 \x01(\tR\x08\x65rrorLog\x12\x12\n\x04\x63ode\x18\t \x01(\rR\x04\x63ode\x12 \n\x0ctx_msg_types\x18\n \x01(\x0cR\ntxMsgTypes\x12\x12\n\x04logs\x18\x0b \x01(\x0cR\x04logs\x12\x1b\n\tclaim_ids\x18\x0c \x03(\x12R\x08\x63laimIds\"\x16\n\x14GetValidatorsRequest\"t\n\x15GetValidatorsResponse\x12\x0c\n\x01s\x18\x01 \x01(\tR\x01s\x12\x16\n\x06\x65rrmsg\x18\x02 \x01(\tR\x06\x65rrmsg\x12\x35\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32!.injective_explorer_rpc.ValidatorR\x04\x64\x61ta\"\xb5\x07\n\tValidator\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n\x07moniker\x18\x02 \x01(\tR\x07moniker\x12)\n\x10operator_address\x18\x03 \x01(\tR\x0foperatorAddress\x12+\n\x11\x63onsensus_address\x18\x04 \x01(\tR\x10\x63onsensusAddress\x12\x16\n\x06jailed\x18\x05 \x01(\x08R\x06jailed\x12\x16\n\x06status\x18\x06 \x01(\x11R\x06status\x12\x16\n\x06tokens\x18\x07 \x01(\tR\x06tokens\x12)\n\x10\x64\x65legator_shares\x18\x08 \x01(\tR\x0f\x64\x65legatorShares\x12N\n\x0b\x64\x65scription\x18\t \x01(\x0b\x32,.injective_explorer_rpc.ValidatorDescriptionR\x0b\x64\x65scription\x12)\n\x10unbonding_height\x18\n \x01(\x12R\x0funbondingHeight\x12%\n\x0eunbonding_time\x18\x0b \x01(\tR\runbondingTime\x12\'\n\x0f\x63ommission_rate\x18\x0c \x01(\tR\x0e\x63ommissionRate\x12.\n\x13\x63ommission_max_rate\x18\r \x01(\tR\x11\x63ommissionMaxRate\x12;\n\x1a\x63ommission_max_change_rate\x18\x0e \x01(\tR\x17\x63ommissionMaxChangeRate\x12\x34\n\x16\x63ommission_update_time\x18\x0f \x01(\tR\x14\x63ommissionUpdateTime\x12\x1a\n\x08proposed\x18\x10 \x01(\x04R\x08proposed\x12\x16\n\x06signed\x18\x11 \x01(\x04R\x06signed\x12\x16\n\x06missed\x18\x12 \x01(\x04R\x06missed\x12\x1c\n\ttimestamp\x18\x13 \x01(\tR\ttimestamp\x12\x41\n\x07uptimes\x18\x14 \x03(\x0b\x32\'.injective_explorer_rpc.ValidatorUptimeR\x07uptimes\x12N\n\x0fslashing_events\x18\x15 \x03(\x0b\x32%.injective_explorer_rpc.SlashingEventR\x0eslashingEvents\x12+\n\x11uptime_percentage\x18\x16 \x01(\x01R\x10uptimePercentage\x12\x1b\n\timage_url\x18\x17 \x01(\tR\x08imageUrl\"\xc8\x01\n\x14ValidatorDescription\x12\x18\n\x07moniker\x18\x01 \x01(\tR\x07moniker\x12\x1a\n\x08identity\x18\x02 \x01(\tR\x08identity\x12\x18\n\x07website\x18\x03 \x01(\tR\x07website\x12)\n\x10security_contact\x18\x04 \x01(\tR\x0fsecurityContact\x12\x18\n\x07\x64\x65tails\x18\x05 \x01(\tR\x07\x64\x65tails\x12\x1b\n\timage_url\x18\x06 \x01(\tR\x08imageUrl\"L\n\x0fValidatorUptime\x12!\n\x0c\x62lock_number\x18\x01 \x01(\x04R\x0b\x62lockNumber\x12\x16\n\x06status\x18\x02 \x01(\tR\x06status\"\xe0\x01\n\rSlashingEvent\x12!\n\x0c\x62lock_number\x18\x01 \x01(\x04R\x0b\x62lockNumber\x12\'\n\x0f\x62lock_timestamp\x18\x02 \x01(\tR\x0e\x62lockTimestamp\x12\x18\n\x07\x61\x64\x64ress\x18\x03 \x01(\tR\x07\x61\x64\x64ress\x12\x14\n\x05power\x18\x04 \x01(\x04R\x05power\x12\x16\n\x06reason\x18\x05 \x01(\tR\x06reason\x12\x16\n\x06jailed\x18\x06 \x01(\tR\x06jailed\x12#\n\rmissed_blocks\x18\x07 \x01(\x04R\x0cmissedBlocks\"/\n\x13GetValidatorRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"s\n\x14GetValidatorResponse\x12\x0c\n\x01s\x18\x01 \x01(\tR\x01s\x12\x16\n\x06\x65rrmsg\x18\x02 \x01(\tR\x06\x65rrmsg\x12\x35\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32!.injective_explorer_rpc.ValidatorR\x04\x64\x61ta\"5\n\x19GetValidatorUptimeRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"\x7f\n\x1aGetValidatorUptimeResponse\x12\x0c\n\x01s\x18\x01 \x01(\tR\x01s\x12\x16\n\x06\x65rrmsg\x18\x02 \x01(\tR\x06\x65rrmsg\x12;\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\'.injective_explorer_rpc.ValidatorUptimeR\x04\x64\x61ta\"\xa3\x02\n\rGetTxsRequest\x12\x16\n\x06\x62\x65\x66ore\x18\x01 \x01(\x04R\x06\x62\x65\x66ore\x12\x14\n\x05\x61\x66ter\x18\x02 \x01(\x04R\x05\x61\x66ter\x12\x14\n\x05limit\x18\x03 \x01(\x11R\x05limit\x12\x12\n\x04skip\x18\x04 \x01(\x04R\x04skip\x12\x12\n\x04type\x18\x05 \x01(\tR\x04type\x12\x16\n\x06module\x18\x06 \x01(\tR\x06module\x12\x1f\n\x0b\x66rom_number\x18\x07 \x01(\x12R\nfromNumber\x12\x1b\n\tto_number\x18\x08 \x01(\x12R\x08toNumber\x12\x1d\n\nstart_time\x18\t \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\n \x01(\x12R\x07\x65ndTime\x12\x16\n\x06status\x18\x0b \x01(\tR\x06status\"|\n\x0eGetTxsResponse\x12\x36\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.PagingR\x06paging\x12\x32\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x1e.injective_explorer_rpc.TxDataR\x04\x64\x61ta\"*\n\x14GetTxByTxHashRequest\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\"w\n\x15GetTxByTxHashResponse\x12\x0c\n\x01s\x18\x01 \x01(\tR\x01s\x12\x16\n\x06\x65rrmsg\x18\x02 \x01(\tR\x06\x65rrmsg\x12\x38\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32$.injective_explorer_rpc.TxDetailDataR\x04\x64\x61ta\"y\n\x19GetPeggyDepositTxsRequest\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x02 \x01(\tR\x08receiver\x12\x14\n\x05limit\x18\x03 \x01(\x11R\x05limit\x12\x12\n\x04skip\x18\x04 \x01(\x04R\x04skip\"Z\n\x1aGetPeggyDepositTxsResponse\x12<\n\x05\x66ield\x18\x01 \x03(\x0b\x32&.injective_explorer_rpc.PeggyDepositTxR\x05\x66ield\"\xf9\x02\n\x0ePeggyDepositTx\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x02 \x01(\tR\x08receiver\x12\x1f\n\x0b\x65vent_nonce\x18\x03 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x04 \x01(\x04R\x0b\x65ventHeight\x12\x16\n\x06\x61mount\x18\x05 \x01(\tR\x06\x61mount\x12\x14\n\x05\x64\x65nom\x18\x06 \x01(\tR\x05\x64\x65nom\x12\x31\n\x14orchestrator_address\x18\x07 \x01(\tR\x13orchestratorAddress\x12\x14\n\x05state\x18\x08 \x01(\tR\x05state\x12\x1d\n\nclaim_type\x18\t \x01(\x11R\tclaimType\x12\x1b\n\ttx_hashes\x18\n \x03(\tR\x08txHashes\x12\x1d\n\ncreated_at\x18\x0b \x01(\tR\tcreatedAt\x12\x1d\n\nupdated_at\x18\x0c \x01(\tR\tupdatedAt\"|\n\x1cGetPeggyWithdrawalTxsRequest\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x02 \x01(\tR\x08receiver\x12\x14\n\x05limit\x18\x03 \x01(\x11R\x05limit\x12\x12\n\x04skip\x18\x04 \x01(\x04R\x04skip\"`\n\x1dGetPeggyWithdrawalTxsResponse\x12?\n\x05\x66ield\x18\x01 \x03(\x0b\x32).injective_explorer_rpc.PeggyWithdrawalTxR\x05\x66ield\"\x87\x04\n\x11PeggyWithdrawalTx\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x02 \x01(\tR\x08receiver\x12\x16\n\x06\x61mount\x18\x03 \x01(\tR\x06\x61mount\x12\x14\n\x05\x64\x65nom\x18\x04 \x01(\tR\x05\x64\x65nom\x12\x1d\n\nbridge_fee\x18\x05 \x01(\tR\tbridgeFee\x12$\n\x0eoutgoing_tx_id\x18\x06 \x01(\x04R\x0coutgoingTxId\x12#\n\rbatch_timeout\x18\x07 \x01(\x04R\x0c\x62\x61tchTimeout\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x08 \x01(\x04R\nbatchNonce\x12\x31\n\x14orchestrator_address\x18\t \x01(\tR\x13orchestratorAddress\x12\x1f\n\x0b\x65vent_nonce\x18\n \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x0b \x01(\x04R\x0b\x65ventHeight\x12\x14\n\x05state\x18\x0c \x01(\tR\x05state\x12\x1d\n\nclaim_type\x18\r \x01(\x11R\tclaimType\x12\x1b\n\ttx_hashes\x18\x0e \x03(\tR\x08txHashes\x12\x1d\n\ncreated_at\x18\x0f \x01(\tR\tcreatedAt\x12\x1d\n\nupdated_at\x18\x10 \x01(\tR\tupdatedAt\"\xf4\x01\n\x18GetIBCTransferTxsRequest\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x02 \x01(\tR\x08receiver\x12\x1f\n\x0bsrc_channel\x18\x03 \x01(\tR\nsrcChannel\x12\x19\n\x08src_port\x18\x04 \x01(\tR\x07srcPort\x12!\n\x0c\x64\x65st_channel\x18\x05 \x01(\tR\x0b\x64\x65stChannel\x12\x1b\n\tdest_port\x18\x06 \x01(\tR\x08\x64\x65stPort\x12\x14\n\x05limit\x18\x07 \x01(\x11R\x05limit\x12\x12\n\x04skip\x18\x08 \x01(\x04R\x04skip\"X\n\x19GetIBCTransferTxsResponse\x12;\n\x05\x66ield\x18\x01 \x03(\x0b\x32%.injective_explorer_rpc.IBCTransferTxR\x05\x66ield\"\x9e\x04\n\rIBCTransferTx\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x02 \x01(\tR\x08receiver\x12\x1f\n\x0bsource_port\x18\x03 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x04 \x01(\tR\rsourceChannel\x12)\n\x10\x64\x65stination_port\x18\x05 \x01(\tR\x0f\x64\x65stinationPort\x12/\n\x13\x64\x65stination_channel\x18\x06 \x01(\tR\x12\x64\x65stinationChannel\x12\x16\n\x06\x61mount\x18\x07 \x01(\tR\x06\x61mount\x12\x14\n\x05\x64\x65nom\x18\x08 \x01(\tR\x05\x64\x65nom\x12%\n\x0etimeout_height\x18\t \x01(\tR\rtimeoutHeight\x12+\n\x11timeout_timestamp\x18\n \x01(\x04R\x10timeoutTimestamp\x12\'\n\x0fpacket_sequence\x18\x0b \x01(\x04R\x0epacketSequence\x12\x19\n\x08\x64\x61ta_hex\x18\x0c \x01(\x0cR\x07\x64\x61taHex\x12\x14\n\x05state\x18\r \x01(\tR\x05state\x12\x1b\n\ttx_hashes\x18\x0e \x03(\tR\x08txHashes\x12\x1d\n\ncreated_at\x18\x0f \x01(\tR\tcreatedAt\x12\x1d\n\nupdated_at\x18\x10 \x01(\tR\tupdatedAt\"i\n\x13GetWasmCodesRequest\x12\x14\n\x05limit\x18\x01 \x01(\x11R\x05limit\x12\x1f\n\x0b\x66rom_number\x18\x02 \x01(\x12R\nfromNumber\x12\x1b\n\tto_number\x18\x03 \x01(\x12R\x08toNumber\"\x84\x01\n\x14GetWasmCodesResponse\x12\x36\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.PagingR\x06paging\x12\x34\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32 .injective_explorer_rpc.WasmCodeR\x04\x64\x61ta\"\xe2\x03\n\x08WasmCode\x12\x17\n\x07\x63ode_id\x18\x01 \x01(\x04R\x06\x63odeId\x12\x17\n\x07tx_hash\x18\x02 \x01(\tR\x06txHash\x12<\n\x08\x63hecksum\x18\x03 \x01(\x0b\x32 .injective_explorer_rpc.ChecksumR\x08\x63hecksum\x12\x1d\n\ncreated_at\x18\x04 \x01(\x04R\tcreatedAt\x12#\n\rcontract_type\x18\x05 \x01(\tR\x0c\x63ontractType\x12\x18\n\x07version\x18\x06 \x01(\tR\x07version\x12J\n\npermission\x18\x07 \x01(\x0b\x32*.injective_explorer_rpc.ContractPermissionR\npermission\x12\x1f\n\x0b\x63ode_schema\x18\x08 \x01(\tR\ncodeSchema\x12\x1b\n\tcode_view\x18\t \x01(\tR\x08\x63odeView\x12\"\n\x0cinstantiates\x18\n \x01(\x04R\x0cinstantiates\x12\x18\n\x07\x63reator\x18\x0b \x01(\tR\x07\x63reator\x12\x1f\n\x0b\x63ode_number\x18\x0c \x01(\x12R\ncodeNumber\x12\x1f\n\x0bproposal_id\x18\r \x01(\x12R\nproposalId\"<\n\x08\x43hecksum\x12\x1c\n\talgorithm\x18\x01 \x01(\tR\talgorithm\x12\x12\n\x04hash\x18\x02 \x01(\tR\x04hash\"O\n\x12\x43ontractPermission\x12\x1f\n\x0b\x61\x63\x63\x65ss_type\x18\x01 \x01(\x11R\naccessType\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"1\n\x16GetWasmCodeByIDRequest\x12\x17\n\x07\x63ode_id\x18\x01 \x01(\x12R\x06\x63odeId\"\xf1\x03\n\x17GetWasmCodeByIDResponse\x12\x17\n\x07\x63ode_id\x18\x01 \x01(\x04R\x06\x63odeId\x12\x17\n\x07tx_hash\x18\x02 \x01(\tR\x06txHash\x12<\n\x08\x63hecksum\x18\x03 \x01(\x0b\x32 .injective_explorer_rpc.ChecksumR\x08\x63hecksum\x12\x1d\n\ncreated_at\x18\x04 \x01(\x04R\tcreatedAt\x12#\n\rcontract_type\x18\x05 \x01(\tR\x0c\x63ontractType\x12\x18\n\x07version\x18\x06 \x01(\tR\x07version\x12J\n\npermission\x18\x07 \x01(\x0b\x32*.injective_explorer_rpc.ContractPermissionR\npermission\x12\x1f\n\x0b\x63ode_schema\x18\x08 \x01(\tR\ncodeSchema\x12\x1b\n\tcode_view\x18\t \x01(\tR\x08\x63odeView\x12\"\n\x0cinstantiates\x18\n \x01(\x04R\x0cinstantiates\x12\x18\n\x07\x63reator\x18\x0b \x01(\tR\x07\x63reator\x12\x1f\n\x0b\x63ode_number\x18\x0c \x01(\x12R\ncodeNumber\x12\x1f\n\x0bproposal_id\x18\r \x01(\x12R\nproposalId\"\xd1\x01\n\x17GetWasmContractsRequest\x12\x14\n\x05limit\x18\x01 \x01(\x11R\x05limit\x12\x17\n\x07\x63ode_id\x18\x02 \x01(\x12R\x06\x63odeId\x12\x1f\n\x0b\x66rom_number\x18\x03 \x01(\x12R\nfromNumber\x12\x1b\n\tto_number\x18\x04 \x01(\x12R\x08toNumber\x12\x1f\n\x0b\x61ssets_only\x18\x05 \x01(\x08R\nassetsOnly\x12\x12\n\x04skip\x18\x06 \x01(\x12R\x04skip\x12\x14\n\x05label\x18\x07 \x01(\tR\x05label\"\x8c\x01\n\x18GetWasmContractsResponse\x12\x36\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.PagingR\x06paging\x12\x38\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.WasmContractR\x04\x64\x61ta\"\xe9\x04\n\x0cWasmContract\x12\x14\n\x05label\x18\x01 \x01(\tR\x05label\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\x12\x17\n\x07tx_hash\x18\x03 \x01(\tR\x06txHash\x12\x18\n\x07\x63reator\x18\x04 \x01(\tR\x07\x63reator\x12\x1a\n\x08\x65xecutes\x18\x05 \x01(\x04R\x08\x65xecutes\x12\'\n\x0finstantiated_at\x18\x06 \x01(\x04R\x0einstantiatedAt\x12!\n\x0cinit_message\x18\x07 \x01(\tR\x0binitMessage\x12(\n\x10last_executed_at\x18\x08 \x01(\x04R\x0elastExecutedAt\x12:\n\x05\x66unds\x18\t \x03(\x0b\x32$.injective_explorer_rpc.ContractFundR\x05\x66unds\x12\x17\n\x07\x63ode_id\x18\n \x01(\x04R\x06\x63odeId\x12\x14\n\x05\x61\x64min\x18\x0b \x01(\tR\x05\x61\x64min\x12\x36\n\x17\x63urrent_migrate_message\x18\x0c \x01(\tR\x15\x63urrentMigrateMessage\x12\'\n\x0f\x63ontract_number\x18\r \x01(\x12R\x0e\x63ontractNumber\x12\x18\n\x07version\x18\x0e \x01(\tR\x07version\x12\x12\n\x04type\x18\x0f \x01(\tR\x04type\x12I\n\rcw20_metadata\x18\x10 \x01(\x0b\x32$.injective_explorer_rpc.Cw20MetadataR\x0c\x63w20Metadata\x12\x1f\n\x0bproposal_id\x18\x11 \x01(\x12R\nproposalId\"<\n\x0c\x43ontractFund\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"\xa6\x01\n\x0c\x43w20Metadata\x12\x44\n\ntoken_info\x18\x01 \x01(\x0b\x32%.injective_explorer_rpc.Cw20TokenInfoR\ttokenInfo\x12P\n\x0emarketing_info\x18\x02 \x01(\x0b\x32).injective_explorer_rpc.Cw20MarketingInfoR\rmarketingInfo\"z\n\rCw20TokenInfo\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\x12\x1a\n\x08\x64\x65\x63imals\x18\x03 \x01(\x12R\x08\x64\x65\x63imals\x12!\n\x0ctotal_supply\x18\x04 \x01(\tR\x0btotalSupply\"\x81\x01\n\x11\x43w20MarketingInfo\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04logo\x18\x03 \x01(\tR\x04logo\x12\x1c\n\tmarketing\x18\x04 \x01(\x0cR\tmarketing\"L\n\x1fGetWasmContractByAddressRequest\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\"\xfd\x04\n GetWasmContractByAddressResponse\x12\x14\n\x05label\x18\x01 \x01(\tR\x05label\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\x12\x17\n\x07tx_hash\x18\x03 \x01(\tR\x06txHash\x12\x18\n\x07\x63reator\x18\x04 \x01(\tR\x07\x63reator\x12\x1a\n\x08\x65xecutes\x18\x05 \x01(\x04R\x08\x65xecutes\x12\'\n\x0finstantiated_at\x18\x06 \x01(\x04R\x0einstantiatedAt\x12!\n\x0cinit_message\x18\x07 \x01(\tR\x0binitMessage\x12(\n\x10last_executed_at\x18\x08 \x01(\x04R\x0elastExecutedAt\x12:\n\x05\x66unds\x18\t \x03(\x0b\x32$.injective_explorer_rpc.ContractFundR\x05\x66unds\x12\x17\n\x07\x63ode_id\x18\n \x01(\x04R\x06\x63odeId\x12\x14\n\x05\x61\x64min\x18\x0b \x01(\tR\x05\x61\x64min\x12\x36\n\x17\x63urrent_migrate_message\x18\x0c \x01(\tR\x15\x63urrentMigrateMessage\x12\'\n\x0f\x63ontract_number\x18\r \x01(\x12R\x0e\x63ontractNumber\x12\x18\n\x07version\x18\x0e \x01(\tR\x07version\x12\x12\n\x04type\x18\x0f \x01(\tR\x04type\x12I\n\rcw20_metadata\x18\x10 \x01(\x0b\x32$.injective_explorer_rpc.Cw20MetadataR\x0c\x63w20Metadata\x12\x1f\n\x0bproposal_id\x18\x11 \x01(\x12R\nproposalId\"G\n\x15GetCw20BalanceRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12\x14\n\x05limit\x18\x02 \x01(\x11R\x05limit\"W\n\x16GetCw20BalanceResponse\x12=\n\x05\x66ield\x18\x01 \x03(\x0b\x32\'.injective_explorer_rpc.WasmCw20BalanceR\x05\x66ield\"\xda\x01\n\x0fWasmCw20Balance\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x18\n\x07\x61\x63\x63ount\x18\x02 \x01(\tR\x07\x61\x63\x63ount\x12\x18\n\x07\x62\x61lance\x18\x03 \x01(\tR\x07\x62\x61lance\x12\x1d\n\nupdated_at\x18\x04 \x01(\x12R\tupdatedAt\x12I\n\rcw20_metadata\x18\x05 \x01(\x0b\x32$.injective_explorer_rpc.Cw20MetadataR\x0c\x63w20Metadata\"1\n\x0fRelayersRequest\x12\x1e\n\x0bmarket_i_ds\x18\x01 \x03(\tR\tmarketIDs\"P\n\x10RelayersResponse\x12<\n\x05\x66ield\x18\x01 \x03(\x0b\x32&.injective_explorer_rpc.RelayerMarketsR\x05\x66ield\"j\n\x0eRelayerMarkets\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12;\n\x08relayers\x18\x02 \x03(\x0b\x32\x1f.injective_explorer_rpc.RelayerR\x08relayers\"/\n\x07Relayer\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x10\n\x03\x63ta\x18\x02 \x01(\tR\x03\x63ta\"\xbd\x02\n\x17GetBankTransfersRequest\x12\x18\n\x07senders\x18\x01 \x03(\tR\x07senders\x12\x1e\n\nrecipients\x18\x02 \x03(\tR\nrecipients\x12\x39\n\x19is_community_pool_related\x18\x03 \x01(\x08R\x16isCommunityPoolRelated\x12\x14\n\x05limit\x18\x04 \x01(\x11R\x05limit\x12\x12\n\x04skip\x18\x05 \x01(\x04R\x04skip\x12\x1d\n\nstart_time\x18\x06 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x07 \x01(\x12R\x07\x65ndTime\x12\x18\n\x07\x61\x64\x64ress\x18\x08 \x03(\tR\x07\x61\x64\x64ress\x12\x19\n\x08per_page\x18\t \x01(\x11R\x07perPage\x12\x14\n\x05token\x18\n \x01(\tR\x05token\"\x8c\x01\n\x18GetBankTransfersResponse\x12\x36\n\x06paging\x18\x01 \x01(\x0b\x32\x1e.injective_explorer_rpc.PagingR\x06paging\x12\x38\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32$.injective_explorer_rpc.BankTransferR\x04\x64\x61ta\"\xc8\x01\n\x0c\x42\x61nkTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1c\n\trecipient\x18\x02 \x01(\tR\trecipient\x12\x36\n\x07\x61mounts\x18\x03 \x03(\x0b\x32\x1c.injective_explorer_rpc.CoinR\x07\x61mounts\x12!\n\x0c\x62lock_number\x18\x04 \x01(\x04R\x0b\x62lockNumber\x12\'\n\x0f\x62lock_timestamp\x18\x05 \x01(\tR\x0e\x62lockTimestamp\"4\n\x04\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"\x12\n\x10StreamTxsRequest\"\xa8\x02\n\x11StreamTxsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12!\n\x0c\x62lock_number\x18\x02 \x01(\x04R\x0b\x62lockNumber\x12\'\n\x0f\x62lock_timestamp\x18\x03 \x01(\tR\x0e\x62lockTimestamp\x12\x12\n\x04hash\x18\x04 \x01(\tR\x04hash\x12\x1c\n\tcodespace\x18\x05 \x01(\tR\tcodespace\x12\x1a\n\x08messages\x18\x06 \x01(\tR\x08messages\x12\x1b\n\ttx_number\x18\x07 \x01(\x04R\x08txNumber\x12\x1b\n\terror_log\x18\x08 \x01(\tR\x08\x65rrorLog\x12\x12\n\x04\x63ode\x18\t \x01(\rR\x04\x63ode\x12\x1b\n\tclaim_ids\x18\n \x03(\x12R\x08\x63laimIds\"\x15\n\x13StreamBlocksRequest\"\xb8\x02\n\x14StreamBlocksResponse\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x1a\n\x08proposer\x18\x02 \x01(\tR\x08proposer\x12\x18\n\x07moniker\x18\x03 \x01(\tR\x07moniker\x12\x1d\n\nblock_hash\x18\x04 \x01(\tR\tblockHash\x12\x1f\n\x0bparent_hash\x18\x05 \x01(\tR\nparentHash\x12&\n\x0fnum_pre_commits\x18\x06 \x01(\x12R\rnumPreCommits\x12\x17\n\x07num_txs\x18\x07 \x01(\x12R\x06numTxs\x12\x33\n\x03txs\x18\x08 \x03(\x0b\x32!.injective_explorer_rpc.TxDataRPCR\x03txs\x12\x1c\n\ttimestamp\x18\t \x01(\tR\ttimestamp2\xc6\x13\n\x14InjectiveExplorerRPC\x12l\n\rGetAccountTxs\x12,.injective_explorer_rpc.GetAccountTxsRequest\x1a-.injective_explorer_rpc.GetAccountTxsResponse\x12o\n\x0eGetContractTxs\x12-.injective_explorer_rpc.GetContractTxsRequest\x1a..injective_explorer_rpc.GetContractTxsResponse\x12u\n\x10GetContractTxsV2\x12/.injective_explorer_rpc.GetContractTxsV2Request\x1a\x30.injective_explorer_rpc.GetContractTxsV2Response\x12`\n\tGetBlocks\x12(.injective_explorer_rpc.GetBlocksRequest\x1a).injective_explorer_rpc.GetBlocksResponse\x12]\n\x08GetBlock\x12\'.injective_explorer_rpc.GetBlockRequest\x1a(.injective_explorer_rpc.GetBlockResponse\x12l\n\rGetValidators\x12,.injective_explorer_rpc.GetValidatorsRequest\x1a-.injective_explorer_rpc.GetValidatorsResponse\x12i\n\x0cGetValidator\x12+.injective_explorer_rpc.GetValidatorRequest\x1a,.injective_explorer_rpc.GetValidatorResponse\x12{\n\x12GetValidatorUptime\x12\x31.injective_explorer_rpc.GetValidatorUptimeRequest\x1a\x32.injective_explorer_rpc.GetValidatorUptimeResponse\x12W\n\x06GetTxs\x12%.injective_explorer_rpc.GetTxsRequest\x1a&.injective_explorer_rpc.GetTxsResponse\x12l\n\rGetTxByTxHash\x12,.injective_explorer_rpc.GetTxByTxHashRequest\x1a-.injective_explorer_rpc.GetTxByTxHashResponse\x12{\n\x12GetPeggyDepositTxs\x12\x31.injective_explorer_rpc.GetPeggyDepositTxsRequest\x1a\x32.injective_explorer_rpc.GetPeggyDepositTxsResponse\x12\x84\x01\n\x15GetPeggyWithdrawalTxs\x12\x34.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest\x1a\x35.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse\x12x\n\x11GetIBCTransferTxs\x12\x30.injective_explorer_rpc.GetIBCTransferTxsRequest\x1a\x31.injective_explorer_rpc.GetIBCTransferTxsResponse\x12i\n\x0cGetWasmCodes\x12+.injective_explorer_rpc.GetWasmCodesRequest\x1a,.injective_explorer_rpc.GetWasmCodesResponse\x12r\n\x0fGetWasmCodeByID\x12..injective_explorer_rpc.GetWasmCodeByIDRequest\x1a/.injective_explorer_rpc.GetWasmCodeByIDResponse\x12u\n\x10GetWasmContracts\x12/.injective_explorer_rpc.GetWasmContractsRequest\x1a\x30.injective_explorer_rpc.GetWasmContractsResponse\x12\x8d\x01\n\x18GetWasmContractByAddress\x12\x37.injective_explorer_rpc.GetWasmContractByAddressRequest\x1a\x38.injective_explorer_rpc.GetWasmContractByAddressResponse\x12o\n\x0eGetCw20Balance\x12-.injective_explorer_rpc.GetCw20BalanceRequest\x1a..injective_explorer_rpc.GetCw20BalanceResponse\x12]\n\x08Relayers\x12\'.injective_explorer_rpc.RelayersRequest\x1a(.injective_explorer_rpc.RelayersResponse\x12u\n\x10GetBankTransfers\x12/.injective_explorer_rpc.GetBankTransfersRequest\x1a\x30.injective_explorer_rpc.GetBankTransfersResponse\x12\x62\n\tStreamTxs\x12(.injective_explorer_rpc.StreamTxsRequest\x1a).injective_explorer_rpc.StreamTxsResponse0\x01\x12k\n\x0cStreamBlocks\x12+.injective_explorer_rpc.StreamBlocksRequest\x1a,.injective_explorer_rpc.StreamBlocksResponse0\x01\x42\xc2\x01\n\x1a\x63om.injective_explorer_rpcB\x19InjectiveExplorerRpcProtoP\x01Z\x19/injective_explorer_rpcpb\xa2\x02\x03IXX\xaa\x02\x14InjectiveExplorerRpc\xca\x02\x14InjectiveExplorerRpc\xe2\x02 InjectiveExplorerRpc\\GPBMetadata\xea\x02\x14InjectiveExplorerRpcb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_explorer_rpc_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.injective_explorer_rpcB\031InjectiveExplorerRpcProtoP\001Z\031/injective_explorer_rpcpb\242\002\003IXX\252\002\024InjectiveExplorerRpc\312\002\024InjectiveExplorerRpc\342\002 InjectiveExplorerRpc\\GPBMetadata\352\002\024InjectiveExplorerRpc' - _globals['_EVENT_ATTRIBUTESENTRY']._loaded_options = None - _globals['_EVENT_ATTRIBUTESENTRY']._serialized_options = b'8\001' - _globals['_GETACCOUNTTXSREQUEST']._serialized_start=66 - _globals['_GETACCOUNTTXSREQUEST']._serialized_end=390 - _globals['_GETACCOUNTTXSRESPONSE']._serialized_start=393 - _globals['_GETACCOUNTTXSRESPONSE']._serialized_end=530 - _globals['_PAGING']._serialized_start=533 - _globals['_PAGING']._serialized_end=667 - _globals['_TXDETAILDATA']._serialized_start=670 - _globals['_TXDETAILDATA']._serialized_end=1353 - _globals['_GASFEE']._serialized_start=1356 - _globals['_GASFEE']._serialized_end=1501 - _globals['_COSMOSCOIN']._serialized_start=1503 - _globals['_COSMOSCOIN']._serialized_end=1561 - _globals['_EVENT']._serialized_start=1564 - _globals['_EVENT']._serialized_end=1733 - _globals['_EVENT_ATTRIBUTESENTRY']._serialized_start=1672 - _globals['_EVENT_ATTRIBUTESENTRY']._serialized_end=1733 - _globals['_SIGNATURE']._serialized_start=1735 - _globals['_SIGNATURE']._serialized_end=1854 - _globals['_GETCONTRACTTXSREQUEST']._serialized_start=1857 - _globals['_GETCONTRACTTXSREQUEST']._serialized_end=2010 - _globals['_GETCONTRACTTXSRESPONSE']._serialized_start=2013 - _globals['_GETCONTRACTTXSRESPONSE']._serialized_end=2151 - _globals['_GETCONTRACTTXSV2REQUEST']._serialized_start=2154 - _globals['_GETCONTRACTTXSV2REQUEST']._serialized_end=2309 - _globals['_GETCONTRACTTXSV2RESPONSE']._serialized_start=2311 - _globals['_GETCONTRACTTXSV2RESPONSE']._serialized_end=2415 - _globals['_GETBLOCKSREQUEST']._serialized_start=2417 - _globals['_GETBLOCKSREQUEST']._serialized_end=2539 - _globals['_GETBLOCKSRESPONSE']._serialized_start=2542 - _globals['_GETBLOCKSRESPONSE']._serialized_end=2672 - _globals['_BLOCKINFO']._serialized_start=2675 - _globals['_BLOCKINFO']._serialized_end=2976 - _globals['_TXDATARPC']._serialized_start=2979 - _globals['_TXDATARPC']._serialized_end=3267 - _globals['_GETBLOCKREQUEST']._serialized_start=3269 - _globals['_GETBLOCKREQUEST']._serialized_end=3302 - _globals['_GETBLOCKRESPONSE']._serialized_start=3304 - _globals['_GETBLOCKRESPONSE']._serialized_end=3421 - _globals['_BLOCKDETAILINFO']._serialized_start=3424 - _globals['_BLOCKDETAILINFO']._serialized_end=3757 - _globals['_TXDATA']._serialized_start=3760 - _globals['_TXDATA']._serialized_end=4099 - _globals['_GETVALIDATORSREQUEST']._serialized_start=4101 - _globals['_GETVALIDATORSREQUEST']._serialized_end=4123 - _globals['_GETVALIDATORSRESPONSE']._serialized_start=4125 - _globals['_GETVALIDATORSRESPONSE']._serialized_end=4241 - _globals['_VALIDATOR']._serialized_start=4244 - _globals['_VALIDATOR']._serialized_end=5193 - _globals['_VALIDATORDESCRIPTION']._serialized_start=5196 - _globals['_VALIDATORDESCRIPTION']._serialized_end=5396 - _globals['_VALIDATORUPTIME']._serialized_start=5398 - _globals['_VALIDATORUPTIME']._serialized_end=5474 - _globals['_SLASHINGEVENT']._serialized_start=5477 - _globals['_SLASHINGEVENT']._serialized_end=5701 - _globals['_GETVALIDATORREQUEST']._serialized_start=5703 - _globals['_GETVALIDATORREQUEST']._serialized_end=5750 - _globals['_GETVALIDATORRESPONSE']._serialized_start=5752 - _globals['_GETVALIDATORRESPONSE']._serialized_end=5867 - _globals['_GETVALIDATORUPTIMEREQUEST']._serialized_start=5869 - _globals['_GETVALIDATORUPTIMEREQUEST']._serialized_end=5922 - _globals['_GETVALIDATORUPTIMERESPONSE']._serialized_start=5924 - _globals['_GETVALIDATORUPTIMERESPONSE']._serialized_end=6051 - _globals['_GETTXSREQUEST']._serialized_start=6054 - _globals['_GETTXSREQUEST']._serialized_end=6345 - _globals['_GETTXSRESPONSE']._serialized_start=6347 - _globals['_GETTXSRESPONSE']._serialized_end=6471 - _globals['_GETTXBYTXHASHREQUEST']._serialized_start=6473 - _globals['_GETTXBYTXHASHREQUEST']._serialized_end=6515 - _globals['_GETTXBYTXHASHRESPONSE']._serialized_start=6517 - _globals['_GETTXBYTXHASHRESPONSE']._serialized_end=6636 - _globals['_GETPEGGYDEPOSITTXSREQUEST']._serialized_start=6638 - _globals['_GETPEGGYDEPOSITTXSREQUEST']._serialized_end=6759 - _globals['_GETPEGGYDEPOSITTXSRESPONSE']._serialized_start=6761 - _globals['_GETPEGGYDEPOSITTXSRESPONSE']._serialized_end=6851 - _globals['_PEGGYDEPOSITTX']._serialized_start=6854 - _globals['_PEGGYDEPOSITTX']._serialized_end=7231 - _globals['_GETPEGGYWITHDRAWALTXSREQUEST']._serialized_start=7233 - _globals['_GETPEGGYWITHDRAWALTXSREQUEST']._serialized_end=7357 - _globals['_GETPEGGYWITHDRAWALTXSRESPONSE']._serialized_start=7359 - _globals['_GETPEGGYWITHDRAWALTXSRESPONSE']._serialized_end=7455 - _globals['_PEGGYWITHDRAWALTX']._serialized_start=7458 - _globals['_PEGGYWITHDRAWALTX']._serialized_end=7977 - _globals['_GETIBCTRANSFERTXSREQUEST']._serialized_start=7980 - _globals['_GETIBCTRANSFERTXSREQUEST']._serialized_end=8224 - _globals['_GETIBCTRANSFERTXSRESPONSE']._serialized_start=8226 - _globals['_GETIBCTRANSFERTXSRESPONSE']._serialized_end=8314 - _globals['_IBCTRANSFERTX']._serialized_start=8317 - _globals['_IBCTRANSFERTX']._serialized_end=8859 - _globals['_GETWASMCODESREQUEST']._serialized_start=8861 - _globals['_GETWASMCODESREQUEST']._serialized_end=8966 - _globals['_GETWASMCODESRESPONSE']._serialized_start=8969 - _globals['_GETWASMCODESRESPONSE']._serialized_end=9101 - _globals['_WASMCODE']._serialized_start=9104 - _globals['_WASMCODE']._serialized_end=9586 - _globals['_CHECKSUM']._serialized_start=9588 - _globals['_CHECKSUM']._serialized_end=9648 - _globals['_CONTRACTPERMISSION']._serialized_start=9650 - _globals['_CONTRACTPERMISSION']._serialized_end=9729 - _globals['_GETWASMCODEBYIDREQUEST']._serialized_start=9731 - _globals['_GETWASMCODEBYIDREQUEST']._serialized_end=9780 - _globals['_GETWASMCODEBYIDRESPONSE']._serialized_start=9783 - _globals['_GETWASMCODEBYIDRESPONSE']._serialized_end=10280 - _globals['_GETWASMCONTRACTSREQUEST']._serialized_start=10283 - _globals['_GETWASMCONTRACTSREQUEST']._serialized_end=10492 - _globals['_GETWASMCONTRACTSRESPONSE']._serialized_start=10495 - _globals['_GETWASMCONTRACTSRESPONSE']._serialized_end=10635 - _globals['_WASMCONTRACT']._serialized_start=10638 - _globals['_WASMCONTRACT']._serialized_end=11255 - _globals['_CONTRACTFUND']._serialized_start=11257 - _globals['_CONTRACTFUND']._serialized_end=11317 - _globals['_CW20METADATA']._serialized_start=11320 - _globals['_CW20METADATA']._serialized_end=11486 - _globals['_CW20TOKENINFO']._serialized_start=11488 - _globals['_CW20TOKENINFO']._serialized_end=11610 - _globals['_CW20MARKETINGINFO']._serialized_start=11613 - _globals['_CW20MARKETINGINFO']._serialized_end=11742 - _globals['_GETWASMCONTRACTBYADDRESSREQUEST']._serialized_start=11744 - _globals['_GETWASMCONTRACTBYADDRESSREQUEST']._serialized_end=11820 - _globals['_GETWASMCONTRACTBYADDRESSRESPONSE']._serialized_start=11823 - _globals['_GETWASMCONTRACTBYADDRESSRESPONSE']._serialized_end=12460 - _globals['_GETCW20BALANCEREQUEST']._serialized_start=12462 - _globals['_GETCW20BALANCEREQUEST']._serialized_end=12533 - _globals['_GETCW20BALANCERESPONSE']._serialized_start=12535 - _globals['_GETCW20BALANCERESPONSE']._serialized_end=12622 - _globals['_WASMCW20BALANCE']._serialized_start=12625 - _globals['_WASMCW20BALANCE']._serialized_end=12843 - _globals['_RELAYERSREQUEST']._serialized_start=12845 - _globals['_RELAYERSREQUEST']._serialized_end=12894 - _globals['_RELAYERSRESPONSE']._serialized_start=12896 - _globals['_RELAYERSRESPONSE']._serialized_end=12976 - _globals['_RELAYERMARKETS']._serialized_start=12978 - _globals['_RELAYERMARKETS']._serialized_end=13084 - _globals['_RELAYER']._serialized_start=13086 - _globals['_RELAYER']._serialized_end=13133 - _globals['_GETBANKTRANSFERSREQUEST']._serialized_start=13136 - _globals['_GETBANKTRANSFERSREQUEST']._serialized_end=13453 - _globals['_GETBANKTRANSFERSRESPONSE']._serialized_start=13456 - _globals['_GETBANKTRANSFERSRESPONSE']._serialized_end=13596 - _globals['_BANKTRANSFER']._serialized_start=13599 - _globals['_BANKTRANSFER']._serialized_end=13799 - _globals['_COIN']._serialized_start=13801 - _globals['_COIN']._serialized_end=13853 - _globals['_STREAMTXSREQUEST']._serialized_start=13855 - _globals['_STREAMTXSREQUEST']._serialized_end=13873 - _globals['_STREAMTXSRESPONSE']._serialized_start=13876 - _globals['_STREAMTXSRESPONSE']._serialized_end=14172 - _globals['_STREAMBLOCKSREQUEST']._serialized_start=14174 - _globals['_STREAMBLOCKSREQUEST']._serialized_end=14195 - _globals['_STREAMBLOCKSRESPONSE']._serialized_start=14198 - _globals['_STREAMBLOCKSRESPONSE']._serialized_end=14510 - _globals['_INJECTIVEEXPLORERRPC']._serialized_start=14513 - _globals['_INJECTIVEEXPLORERRPC']._serialized_end=17015 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_explorer_rpc_pb2_grpc.py b/pyinjective/proto/exchange/injective_explorer_rpc_pb2_grpc.py deleted file mode 100644 index 24ce812f..00000000 --- a/pyinjective/proto/exchange/injective_explorer_rpc_pb2_grpc.py +++ /dev/null @@ -1,1009 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.exchange import injective_explorer_rpc_pb2 as exchange_dot_injective__explorer__rpc__pb2 - - -class InjectiveExplorerRPCStub(object): - """ExplorerAPI implements explorer data API for e.g. Blockchain Explorer - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetAccountTxs = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetAccountTxs', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetAccountTxsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetAccountTxsResponse.FromString, - _registered_method=True) - self.GetContractTxs = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetContractTxs', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetContractTxsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetContractTxsResponse.FromString, - _registered_method=True) - self.GetContractTxsV2 = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetContractTxsV2', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetContractTxsV2Request.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetContractTxsV2Response.FromString, - _registered_method=True) - self.GetBlocks = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetBlocks', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetBlocksRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetBlocksResponse.FromString, - _registered_method=True) - self.GetBlock = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetBlock', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetBlockRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetBlockResponse.FromString, - _registered_method=True) - self.GetValidators = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetValidators', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetValidatorsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetValidatorsResponse.FromString, - _registered_method=True) - self.GetValidator = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetValidator', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetValidatorRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetValidatorResponse.FromString, - _registered_method=True) - self.GetValidatorUptime = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetValidatorUptime', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetValidatorUptimeRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetValidatorUptimeResponse.FromString, - _registered_method=True) - self.GetTxs = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetTxs', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetTxsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetTxsResponse.FromString, - _registered_method=True) - self.GetTxByTxHash = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetTxByTxHash', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetTxByTxHashRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetTxByTxHashResponse.FromString, - _registered_method=True) - self.GetPeggyDepositTxs = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyDepositTxs', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetPeggyDepositTxsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetPeggyDepositTxsResponse.FromString, - _registered_method=True) - self.GetPeggyWithdrawalTxs = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyWithdrawalTxs', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetPeggyWithdrawalTxsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetPeggyWithdrawalTxsResponse.FromString, - _registered_method=True) - self.GetIBCTransferTxs = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetIBCTransferTxs', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetIBCTransferTxsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetIBCTransferTxsResponse.FromString, - _registered_method=True) - self.GetWasmCodes = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodes', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetWasmCodesRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetWasmCodesResponse.FromString, - _registered_method=True) - self.GetWasmCodeByID = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodeByID', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetWasmCodeByIDRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetWasmCodeByIDResponse.FromString, - _registered_method=True) - self.GetWasmContracts = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContracts', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetWasmContractsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetWasmContractsResponse.FromString, - _registered_method=True) - self.GetWasmContractByAddress = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContractByAddress', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetWasmContractByAddressRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetWasmContractByAddressResponse.FromString, - _registered_method=True) - self.GetCw20Balance = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetCw20Balance', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetCw20BalanceRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetCw20BalanceResponse.FromString, - _registered_method=True) - self.Relayers = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/Relayers', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.RelayersRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.RelayersResponse.FromString, - _registered_method=True) - self.GetBankTransfers = channel.unary_unary( - '/injective_explorer_rpc.InjectiveExplorerRPC/GetBankTransfers', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.GetBankTransfersRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetBankTransfersResponse.FromString, - _registered_method=True) - self.StreamTxs = channel.unary_stream( - '/injective_explorer_rpc.InjectiveExplorerRPC/StreamTxs', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.StreamTxsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.StreamTxsResponse.FromString, - _registered_method=True) - self.StreamBlocks = channel.unary_stream( - '/injective_explorer_rpc.InjectiveExplorerRPC/StreamBlocks', - request_serializer=exchange_dot_injective__explorer__rpc__pb2.StreamBlocksRequest.SerializeToString, - response_deserializer=exchange_dot_injective__explorer__rpc__pb2.StreamBlocksResponse.FromString, - _registered_method=True) - - -class InjectiveExplorerRPCServicer(object): - """ExplorerAPI implements explorer data API for e.g. Blockchain Explorer - """ - - def GetAccountTxs(self, request, context): - """GetAccountTxs returns tranctions involving in an account based upon params. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetContractTxs(self, request, context): - """GetContractTxs returns contract-related transactions - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetContractTxsV2(self, request, context): - """GetContractTxs returns contract-related transactions - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBlocks(self, request, context): - """GetBlocks returns blocks based upon the request params - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBlock(self, request, context): - """GetBlock returns block based upon the height or hash - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetValidators(self, request, context): - """GetValidators returns validators on the active chain - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetValidator(self, request, context): - """GetValidator returns validator information on the active chain - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetValidatorUptime(self, request, context): - """GetValidatorUptime returns validator uptime information on the active chain - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetTxs(self, request, context): - """GetTxs returns transactions based upon the request params - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetTxByTxHash(self, request, context): - """GetTxByTxHash returns certain transaction information by its tx hash. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPeggyDepositTxs(self, request, context): - """GetPeggyDepositTxs returns the peggy deposit transactions based upon the - request params - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPeggyWithdrawalTxs(self, request, context): - """GetPeggyWithdrawalTxs returns the peggy withdrawal transactions based upon - the request params - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetIBCTransferTxs(self, request, context): - """GetIBCTransferTxs returns the ibc transfer transactions based upon the - request params - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetWasmCodes(self, request, context): - """GetWasmCodes lists all stored code - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetWasmCodeByID(self, request, context): - """GetWasmCodeById list cosmwasm code infor by ID - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetWasmContracts(self, request, context): - """GetWasmContracts lists all contracts - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetWasmContractByAddress(self, request, context): - """GetWasmContractByAddress list cosmwasm contract info by its address - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetCw20Balance(self, request, context): - """GetCw20Balance lists all cw20 balances of an injective account - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Relayers(self, request, context): - """Request relayers infos by marketIDs. If no ids are provided, all market with - associated relayers are returned - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBankTransfers(self, request, context): - """GetBankTransfers returns bank transfers. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamTxs(self, request, context): - """StreamTxs returns transactions based upon the request params - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamBlocks(self, request, context): - """StreamBlocks returns the latest blocks - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_InjectiveExplorerRPCServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GetAccountTxs': grpc.unary_unary_rpc_method_handler( - servicer.GetAccountTxs, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetAccountTxsRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetAccountTxsResponse.SerializeToString, - ), - 'GetContractTxs': grpc.unary_unary_rpc_method_handler( - servicer.GetContractTxs, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetContractTxsRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetContractTxsResponse.SerializeToString, - ), - 'GetContractTxsV2': grpc.unary_unary_rpc_method_handler( - servicer.GetContractTxsV2, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetContractTxsV2Request.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetContractTxsV2Response.SerializeToString, - ), - 'GetBlocks': grpc.unary_unary_rpc_method_handler( - servicer.GetBlocks, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetBlocksRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetBlocksResponse.SerializeToString, - ), - 'GetBlock': grpc.unary_unary_rpc_method_handler( - servicer.GetBlock, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetBlockRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetBlockResponse.SerializeToString, - ), - 'GetValidators': grpc.unary_unary_rpc_method_handler( - servicer.GetValidators, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetValidatorsRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetValidatorsResponse.SerializeToString, - ), - 'GetValidator': grpc.unary_unary_rpc_method_handler( - servicer.GetValidator, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetValidatorRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetValidatorResponse.SerializeToString, - ), - 'GetValidatorUptime': grpc.unary_unary_rpc_method_handler( - servicer.GetValidatorUptime, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetValidatorUptimeRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetValidatorUptimeResponse.SerializeToString, - ), - 'GetTxs': grpc.unary_unary_rpc_method_handler( - servicer.GetTxs, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetTxsRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetTxsResponse.SerializeToString, - ), - 'GetTxByTxHash': grpc.unary_unary_rpc_method_handler( - servicer.GetTxByTxHash, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetTxByTxHashRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetTxByTxHashResponse.SerializeToString, - ), - 'GetPeggyDepositTxs': grpc.unary_unary_rpc_method_handler( - servicer.GetPeggyDepositTxs, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetPeggyDepositTxsRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetPeggyDepositTxsResponse.SerializeToString, - ), - 'GetPeggyWithdrawalTxs': grpc.unary_unary_rpc_method_handler( - servicer.GetPeggyWithdrawalTxs, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetPeggyWithdrawalTxsRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetPeggyWithdrawalTxsResponse.SerializeToString, - ), - 'GetIBCTransferTxs': grpc.unary_unary_rpc_method_handler( - servicer.GetIBCTransferTxs, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetIBCTransferTxsRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetIBCTransferTxsResponse.SerializeToString, - ), - 'GetWasmCodes': grpc.unary_unary_rpc_method_handler( - servicer.GetWasmCodes, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetWasmCodesRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetWasmCodesResponse.SerializeToString, - ), - 'GetWasmCodeByID': grpc.unary_unary_rpc_method_handler( - servicer.GetWasmCodeByID, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetWasmCodeByIDRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetWasmCodeByIDResponse.SerializeToString, - ), - 'GetWasmContracts': grpc.unary_unary_rpc_method_handler( - servicer.GetWasmContracts, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetWasmContractsRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetWasmContractsResponse.SerializeToString, - ), - 'GetWasmContractByAddress': grpc.unary_unary_rpc_method_handler( - servicer.GetWasmContractByAddress, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetWasmContractByAddressRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetWasmContractByAddressResponse.SerializeToString, - ), - 'GetCw20Balance': grpc.unary_unary_rpc_method_handler( - servicer.GetCw20Balance, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetCw20BalanceRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetCw20BalanceResponse.SerializeToString, - ), - 'Relayers': grpc.unary_unary_rpc_method_handler( - servicer.Relayers, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.RelayersRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.RelayersResponse.SerializeToString, - ), - 'GetBankTransfers': grpc.unary_unary_rpc_method_handler( - servicer.GetBankTransfers, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.GetBankTransfersRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.GetBankTransfersResponse.SerializeToString, - ), - 'StreamTxs': grpc.unary_stream_rpc_method_handler( - servicer.StreamTxs, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.StreamTxsRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.StreamTxsResponse.SerializeToString, - ), - 'StreamBlocks': grpc.unary_stream_rpc_method_handler( - servicer.StreamBlocks, - request_deserializer=exchange_dot_injective__explorer__rpc__pb2.StreamBlocksRequest.FromString, - response_serializer=exchange_dot_injective__explorer__rpc__pb2.StreamBlocksResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective_explorer_rpc.InjectiveExplorerRPC', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective_explorer_rpc.InjectiveExplorerRPC', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class InjectiveExplorerRPC(object): - """ExplorerAPI implements explorer data API for e.g. Blockchain Explorer - """ - - @staticmethod - def GetAccountTxs(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetAccountTxs', - exchange_dot_injective__explorer__rpc__pb2.GetAccountTxsRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetAccountTxsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetContractTxs(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetContractTxs', - exchange_dot_injective__explorer__rpc__pb2.GetContractTxsRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetContractTxsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetContractTxsV2(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetContractTxsV2', - exchange_dot_injective__explorer__rpc__pb2.GetContractTxsV2Request.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetContractTxsV2Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetBlocks(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetBlocks', - exchange_dot_injective__explorer__rpc__pb2.GetBlocksRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetBlocksResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetBlock(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetBlock', - exchange_dot_injective__explorer__rpc__pb2.GetBlockRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetBlockResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetValidators(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetValidators', - exchange_dot_injective__explorer__rpc__pb2.GetValidatorsRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetValidatorsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetValidator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetValidator', - exchange_dot_injective__explorer__rpc__pb2.GetValidatorRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetValidatorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetValidatorUptime(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetValidatorUptime', - exchange_dot_injective__explorer__rpc__pb2.GetValidatorUptimeRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetValidatorUptimeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetTxs(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetTxs', - exchange_dot_injective__explorer__rpc__pb2.GetTxsRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetTxsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetTxByTxHash(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetTxByTxHash', - exchange_dot_injective__explorer__rpc__pb2.GetTxByTxHashRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetTxByTxHashResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetPeggyDepositTxs(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyDepositTxs', - exchange_dot_injective__explorer__rpc__pb2.GetPeggyDepositTxsRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetPeggyDepositTxsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetPeggyWithdrawalTxs(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyWithdrawalTxs', - exchange_dot_injective__explorer__rpc__pb2.GetPeggyWithdrawalTxsRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetPeggyWithdrawalTxsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetIBCTransferTxs(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetIBCTransferTxs', - exchange_dot_injective__explorer__rpc__pb2.GetIBCTransferTxsRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetIBCTransferTxsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetWasmCodes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodes', - exchange_dot_injective__explorer__rpc__pb2.GetWasmCodesRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetWasmCodesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetWasmCodeByID(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodeByID', - exchange_dot_injective__explorer__rpc__pb2.GetWasmCodeByIDRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetWasmCodeByIDResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetWasmContracts(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContracts', - exchange_dot_injective__explorer__rpc__pb2.GetWasmContractsRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetWasmContractsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetWasmContractByAddress(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContractByAddress', - exchange_dot_injective__explorer__rpc__pb2.GetWasmContractByAddressRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetWasmContractByAddressResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetCw20Balance(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetCw20Balance', - exchange_dot_injective__explorer__rpc__pb2.GetCw20BalanceRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetCw20BalanceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Relayers(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/Relayers', - exchange_dot_injective__explorer__rpc__pb2.RelayersRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.RelayersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetBankTransfers(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_explorer_rpc.InjectiveExplorerRPC/GetBankTransfers', - exchange_dot_injective__explorer__rpc__pb2.GetBankTransfersRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.GetBankTransfersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamTxs(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, - '/injective_explorer_rpc.InjectiveExplorerRPC/StreamTxs', - exchange_dot_injective__explorer__rpc__pb2.StreamTxsRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.StreamTxsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamBlocks(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, - '/injective_explorer_rpc.InjectiveExplorerRPC/StreamBlocks', - exchange_dot_injective__explorer__rpc__pb2.StreamBlocksRequest.SerializeToString, - exchange_dot_injective__explorer__rpc__pb2.StreamBlocksResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/exchange/injective_insurance_rpc_pb2.py b/pyinjective/proto/exchange/injective_insurance_rpc_pb2.py deleted file mode 100644 index 4aace939..00000000 --- a/pyinjective/proto/exchange/injective_insurance_rpc_pb2.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: exchange/injective_insurance_rpc.proto -# Protobuf Python Version: 5.26.1 -"""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&exchange/injective_insurance_rpc.proto\x12\x17injective_insurance_rpc\"\x0e\n\x0c\x46undsRequest\"M\n\rFundsResponse\x12<\n\x05\x66unds\x18\x01 \x03(\x0b\x32&.injective_insurance_rpc.InsuranceFundR\x05\x66unds\"\xf5\x03\n\rInsuranceFund\x12#\n\rmarket_ticker\x18\x01 \x01(\tR\x0cmarketTicker\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rdeposit_denom\x18\x03 \x01(\tR\x0c\x64\x65positDenom\x12(\n\x10pool_token_denom\x18\x04 \x01(\tR\x0epoolTokenDenom\x12I\n!redemption_notice_period_duration\x18\x05 \x01(\x12R\x1eredemptionNoticePeriodDuration\x12\x18\n\x07\x62\x61lance\x18\x06 \x01(\tR\x07\x62\x61lance\x12\x1f\n\x0btotal_share\x18\x07 \x01(\tR\ntotalShare\x12\x1f\n\x0boracle_base\x18\x08 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\t \x01(\tR\x0boracleQuote\x12\x1f\n\x0boracle_type\x18\n \x01(\tR\noracleType\x12\x16\n\x06\x65xpiry\x18\x0b \x01(\x12R\x06\x65xpiry\x12P\n\x12\x64\x65posit_token_meta\x18\x0c \x01(\x0b\x32\".injective_insurance_rpc.TokenMetaR\x10\x64\x65positTokenMeta\"\xa0\x01\n\tTokenMeta\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\x12\x16\n\x06symbol\x18\x03 \x01(\tR\x06symbol\x12\x12\n\x04logo\x18\x04 \x01(\tR\x04logo\x12\x1a\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11R\x08\x64\x65\x63imals\x12\x1d\n\nupdated_at\x18\x06 \x01(\x12R\tupdatedAt\"#\n\x0b\x46undRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"J\n\x0c\x46undResponse\x12:\n\x04\x66und\x18\x01 \x01(\x0b\x32&.injective_insurance_rpc.InsuranceFundR\x04\x66und\"s\n\x12RedemptionsRequest\x12\x1a\n\x08redeemer\x18\x01 \x01(\tR\x08redeemer\x12)\n\x10redemption_denom\x18\x02 \x01(\tR\x0fredemptionDenom\x12\x16\n\x06status\x18\x03 \x01(\tR\x06status\"u\n\x13RedemptionsResponse\x12^\n\x14redemption_schedules\x18\x01 \x03(\x0b\x32+.injective_insurance_rpc.RedemptionScheduleR\x13redemptionSchedules\"\x9b\x03\n\x12RedemptionSchedule\x12#\n\rredemption_id\x18\x01 \x01(\x04R\x0credemptionId\x12\x16\n\x06status\x18\x02 \x01(\tR\x06status\x12\x1a\n\x08redeemer\x18\x03 \x01(\tR\x08redeemer\x12:\n\x19\x63laimable_redemption_time\x18\x04 \x01(\x12R\x17\x63laimableRedemptionTime\x12+\n\x11redemption_amount\x18\x05 \x01(\tR\x10redemptionAmount\x12)\n\x10redemption_denom\x18\x06 \x01(\tR\x0fredemptionDenom\x12!\n\x0crequested_at\x18\x07 \x01(\x12R\x0brequestedAt\x12)\n\x10\x64isbursed_amount\x18\x08 \x01(\tR\x0f\x64isbursedAmount\x12\'\n\x0f\x64isbursed_denom\x18\t \x01(\tR\x0e\x64isbursedDenom\x12!\n\x0c\x64isbursed_at\x18\n \x01(\x12R\x0b\x64isbursedAt2\xae\x02\n\x15InjectiveInsuranceRPC\x12V\n\x05\x46unds\x12%.injective_insurance_rpc.FundsRequest\x1a&.injective_insurance_rpc.FundsResponse\x12S\n\x04\x46und\x12$.injective_insurance_rpc.FundRequest\x1a%.injective_insurance_rpc.FundResponse\x12h\n\x0bRedemptions\x12+.injective_insurance_rpc.RedemptionsRequest\x1a,.injective_insurance_rpc.RedemptionsResponseB\xc9\x01\n\x1b\x63om.injective_insurance_rpcB\x1aInjectiveInsuranceRpcProtoP\x01Z\x1a/injective_insurance_rpcpb\xa2\x02\x03IXX\xaa\x02\x15InjectiveInsuranceRpc\xca\x02\x15InjectiveInsuranceRpc\xe2\x02!InjectiveInsuranceRpc\\GPBMetadata\xea\x02\x15InjectiveInsuranceRpcb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_insurance_rpc_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.injective_insurance_rpcB\032InjectiveInsuranceRpcProtoP\001Z\032/injective_insurance_rpcpb\242\002\003IXX\252\002\025InjectiveInsuranceRpc\312\002\025InjectiveInsuranceRpc\342\002!InjectiveInsuranceRpc\\GPBMetadata\352\002\025InjectiveInsuranceRpc' - _globals['_FUNDSREQUEST']._serialized_start=67 - _globals['_FUNDSREQUEST']._serialized_end=81 - _globals['_FUNDSRESPONSE']._serialized_start=83 - _globals['_FUNDSRESPONSE']._serialized_end=160 - _globals['_INSURANCEFUND']._serialized_start=163 - _globals['_INSURANCEFUND']._serialized_end=664 - _globals['_TOKENMETA']._serialized_start=667 - _globals['_TOKENMETA']._serialized_end=827 - _globals['_FUNDREQUEST']._serialized_start=829 - _globals['_FUNDREQUEST']._serialized_end=864 - _globals['_FUNDRESPONSE']._serialized_start=866 - _globals['_FUNDRESPONSE']._serialized_end=940 - _globals['_REDEMPTIONSREQUEST']._serialized_start=942 - _globals['_REDEMPTIONSREQUEST']._serialized_end=1057 - _globals['_REDEMPTIONSRESPONSE']._serialized_start=1059 - _globals['_REDEMPTIONSRESPONSE']._serialized_end=1176 - _globals['_REDEMPTIONSCHEDULE']._serialized_start=1179 - _globals['_REDEMPTIONSCHEDULE']._serialized_end=1590 - _globals['_INJECTIVEINSURANCERPC']._serialized_start=1593 - _globals['_INJECTIVEINSURANCERPC']._serialized_end=1895 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_insurance_rpc_pb2_grpc.py b/pyinjective/proto/exchange/injective_insurance_rpc_pb2_grpc.py deleted file mode 100644 index 1992ac88..00000000 --- a/pyinjective/proto/exchange/injective_insurance_rpc_pb2_grpc.py +++ /dev/null @@ -1,169 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.exchange import injective_insurance_rpc_pb2 as exchange_dot_injective__insurance__rpc__pb2 - - -class InjectiveInsuranceRPCStub(object): - """InjectiveInsuranceRPC defines gRPC API of Insurance provider. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Funds = channel.unary_unary( - '/injective_insurance_rpc.InjectiveInsuranceRPC/Funds', - request_serializer=exchange_dot_injective__insurance__rpc__pb2.FundsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__insurance__rpc__pb2.FundsResponse.FromString, - _registered_method=True) - self.Fund = channel.unary_unary( - '/injective_insurance_rpc.InjectiveInsuranceRPC/Fund', - request_serializer=exchange_dot_injective__insurance__rpc__pb2.FundRequest.SerializeToString, - response_deserializer=exchange_dot_injective__insurance__rpc__pb2.FundResponse.FromString, - _registered_method=True) - self.Redemptions = channel.unary_unary( - '/injective_insurance_rpc.InjectiveInsuranceRPC/Redemptions', - request_serializer=exchange_dot_injective__insurance__rpc__pb2.RedemptionsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__insurance__rpc__pb2.RedemptionsResponse.FromString, - _registered_method=True) - - -class InjectiveInsuranceRPCServicer(object): - """InjectiveInsuranceRPC defines gRPC API of Insurance provider. - """ - - def Funds(self, request, context): - """Funds lists all insurance funds. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Fund(self, request, context): - """Funds returns an insurance fund for a given insurance fund token denom. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Redemptions(self, request, context): - """PendingRedemptions lists all pending redemptions according to a filter - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_InjectiveInsuranceRPCServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Funds': grpc.unary_unary_rpc_method_handler( - servicer.Funds, - request_deserializer=exchange_dot_injective__insurance__rpc__pb2.FundsRequest.FromString, - response_serializer=exchange_dot_injective__insurance__rpc__pb2.FundsResponse.SerializeToString, - ), - 'Fund': grpc.unary_unary_rpc_method_handler( - servicer.Fund, - request_deserializer=exchange_dot_injective__insurance__rpc__pb2.FundRequest.FromString, - response_serializer=exchange_dot_injective__insurance__rpc__pb2.FundResponse.SerializeToString, - ), - 'Redemptions': grpc.unary_unary_rpc_method_handler( - servicer.Redemptions, - request_deserializer=exchange_dot_injective__insurance__rpc__pb2.RedemptionsRequest.FromString, - response_serializer=exchange_dot_injective__insurance__rpc__pb2.RedemptionsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective_insurance_rpc.InjectiveInsuranceRPC', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective_insurance_rpc.InjectiveInsuranceRPC', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class InjectiveInsuranceRPC(object): - """InjectiveInsuranceRPC defines gRPC API of Insurance provider. - """ - - @staticmethod - def Funds(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_insurance_rpc.InjectiveInsuranceRPC/Funds', - exchange_dot_injective__insurance__rpc__pb2.FundsRequest.SerializeToString, - exchange_dot_injective__insurance__rpc__pb2.FundsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Fund(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_insurance_rpc.InjectiveInsuranceRPC/Fund', - exchange_dot_injective__insurance__rpc__pb2.FundRequest.SerializeToString, - exchange_dot_injective__insurance__rpc__pb2.FundResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Redemptions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_insurance_rpc.InjectiveInsuranceRPC/Redemptions', - exchange_dot_injective__insurance__rpc__pb2.RedemptionsRequest.SerializeToString, - exchange_dot_injective__insurance__rpc__pb2.RedemptionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/exchange/injective_meta_rpc_pb2.py b/pyinjective/proto/exchange/injective_meta_rpc_pb2.py deleted file mode 100644 index 18ef3908..00000000 --- a/pyinjective/proto/exchange/injective_meta_rpc_pb2.py +++ /dev/null @@ -1,57 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: exchange/injective_meta_rpc.proto -# Protobuf Python Version: 5.26.1 -"""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!exchange/injective_meta_rpc.proto\x12\x12injective_meta_rpc\"\r\n\x0bPingRequest\"\x0e\n\x0cPingResponse\"\x10\n\x0eVersionRequest\"\xab\x01\n\x0fVersionResponse\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x44\n\x05\x62uild\x18\x02 \x03(\x0b\x32..injective_meta_rpc.VersionResponse.BuildEntryR\x05\x62uild\x1a\x38\n\nBuildEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"+\n\x0bInfoRequest\x12\x1c\n\ttimestamp\x18\x01 \x01(\x12R\ttimestamp\"\xfc\x01\n\x0cInfoResponse\x12\x1c\n\ttimestamp\x18\x01 \x01(\x12R\ttimestamp\x12\x1f\n\x0bserver_time\x18\x02 \x01(\x12R\nserverTime\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x41\n\x05\x62uild\x18\x04 \x03(\x0b\x32+.injective_meta_rpc.InfoResponse.BuildEntryR\x05\x62uild\x12\x16\n\x06region\x18\x05 \x01(\tR\x06region\x1a\x38\n\nBuildEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\x18\n\x16StreamKeepaliveRequest\"p\n\x17StreamKeepaliveResponse\x12\x14\n\x05\x65vent\x18\x01 \x01(\tR\x05\x65vent\x12!\n\x0cnew_endpoint\x18\x02 \x01(\tR\x0bnewEndpoint\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\".\n\x14TokenMetadataRequest\x12\x16\n\x06\x64\x65noms\x18\x01 \x03(\tR\x06\x64\x65noms\"Y\n\x15TokenMetadataResponse\x12@\n\x06tokens\x18\x01 \x03(\x0b\x32(.injective_meta_rpc.TokenMetadataElementR\x06tokens\"\xd6\x01\n\x14TokenMetadataElement\x12)\n\x10\x65thereum_address\x18\x01 \x01(\tR\x0f\x65thereumAddress\x12!\n\x0c\x63oingecko_id\x18\x02 \x01(\tR\x0b\x63oingeckoId\x12\x14\n\x05\x64\x65nom\x18\x03 \x01(\tR\x05\x64\x65nom\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x05 \x01(\tR\x06symbol\x12\x1a\n\x08\x64\x65\x63imals\x18\x06 \x01(\x11R\x08\x64\x65\x63imals\x12\x12\n\x04logo\x18\x07 \x01(\tR\x04logo2\xd0\x03\n\x10InjectiveMetaRPC\x12I\n\x04Ping\x12\x1f.injective_meta_rpc.PingRequest\x1a .injective_meta_rpc.PingResponse\x12R\n\x07Version\x12\".injective_meta_rpc.VersionRequest\x1a#.injective_meta_rpc.VersionResponse\x12I\n\x04Info\x12\x1f.injective_meta_rpc.InfoRequest\x1a .injective_meta_rpc.InfoResponse\x12l\n\x0fStreamKeepalive\x12*.injective_meta_rpc.StreamKeepaliveRequest\x1a+.injective_meta_rpc.StreamKeepaliveResponse0\x01\x12\x64\n\rTokenMetadata\x12(.injective_meta_rpc.TokenMetadataRequest\x1a).injective_meta_rpc.TokenMetadataResponseB\xa6\x01\n\x16\x63om.injective_meta_rpcB\x15InjectiveMetaRpcProtoP\x01Z\x15/injective_meta_rpcpb\xa2\x02\x03IXX\xaa\x02\x10InjectiveMetaRpc\xca\x02\x10InjectiveMetaRpc\xe2\x02\x1cInjectiveMetaRpc\\GPBMetadata\xea\x02\x10InjectiveMetaRpcb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_meta_rpc_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective_meta_rpcB\025InjectiveMetaRpcProtoP\001Z\025/injective_meta_rpcpb\242\002\003IXX\252\002\020InjectiveMetaRpc\312\002\020InjectiveMetaRpc\342\002\034InjectiveMetaRpc\\GPBMetadata\352\002\020InjectiveMetaRpc' - _globals['_VERSIONRESPONSE_BUILDENTRY']._loaded_options = None - _globals['_VERSIONRESPONSE_BUILDENTRY']._serialized_options = b'8\001' - _globals['_INFORESPONSE_BUILDENTRY']._loaded_options = None - _globals['_INFORESPONSE_BUILDENTRY']._serialized_options = b'8\001' - _globals['_PINGREQUEST']._serialized_start=57 - _globals['_PINGREQUEST']._serialized_end=70 - _globals['_PINGRESPONSE']._serialized_start=72 - _globals['_PINGRESPONSE']._serialized_end=86 - _globals['_VERSIONREQUEST']._serialized_start=88 - _globals['_VERSIONREQUEST']._serialized_end=104 - _globals['_VERSIONRESPONSE']._serialized_start=107 - _globals['_VERSIONRESPONSE']._serialized_end=278 - _globals['_VERSIONRESPONSE_BUILDENTRY']._serialized_start=222 - _globals['_VERSIONRESPONSE_BUILDENTRY']._serialized_end=278 - _globals['_INFOREQUEST']._serialized_start=280 - _globals['_INFOREQUEST']._serialized_end=323 - _globals['_INFORESPONSE']._serialized_start=326 - _globals['_INFORESPONSE']._serialized_end=578 - _globals['_INFORESPONSE_BUILDENTRY']._serialized_start=222 - _globals['_INFORESPONSE_BUILDENTRY']._serialized_end=278 - _globals['_STREAMKEEPALIVEREQUEST']._serialized_start=580 - _globals['_STREAMKEEPALIVEREQUEST']._serialized_end=604 - _globals['_STREAMKEEPALIVERESPONSE']._serialized_start=606 - _globals['_STREAMKEEPALIVERESPONSE']._serialized_end=718 - _globals['_TOKENMETADATAREQUEST']._serialized_start=720 - _globals['_TOKENMETADATAREQUEST']._serialized_end=766 - _globals['_TOKENMETADATARESPONSE']._serialized_start=768 - _globals['_TOKENMETADATARESPONSE']._serialized_end=857 - _globals['_TOKENMETADATAELEMENT']._serialized_start=860 - _globals['_TOKENMETADATAELEMENT']._serialized_end=1074 - _globals['_INJECTIVEMETARPC']._serialized_start=1077 - _globals['_INJECTIVEMETARPC']._serialized_end=1541 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_meta_rpc_pb2_grpc.py b/pyinjective/proto/exchange/injective_meta_rpc_pb2_grpc.py deleted file mode 100644 index 3939655c..00000000 --- a/pyinjective/proto/exchange/injective_meta_rpc_pb2_grpc.py +++ /dev/null @@ -1,258 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.exchange import injective_meta_rpc_pb2 as exchange_dot_injective__meta__rpc__pb2 - - -class InjectiveMetaRPCStub(object): - """InjectiveMetaRPC is a special API subset to get info about server. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Ping = channel.unary_unary( - '/injective_meta_rpc.InjectiveMetaRPC/Ping', - request_serializer=exchange_dot_injective__meta__rpc__pb2.PingRequest.SerializeToString, - response_deserializer=exchange_dot_injective__meta__rpc__pb2.PingResponse.FromString, - _registered_method=True) - self.Version = channel.unary_unary( - '/injective_meta_rpc.InjectiveMetaRPC/Version', - request_serializer=exchange_dot_injective__meta__rpc__pb2.VersionRequest.SerializeToString, - response_deserializer=exchange_dot_injective__meta__rpc__pb2.VersionResponse.FromString, - _registered_method=True) - self.Info = channel.unary_unary( - '/injective_meta_rpc.InjectiveMetaRPC/Info', - request_serializer=exchange_dot_injective__meta__rpc__pb2.InfoRequest.SerializeToString, - response_deserializer=exchange_dot_injective__meta__rpc__pb2.InfoResponse.FromString, - _registered_method=True) - self.StreamKeepalive = channel.unary_stream( - '/injective_meta_rpc.InjectiveMetaRPC/StreamKeepalive', - request_serializer=exchange_dot_injective__meta__rpc__pb2.StreamKeepaliveRequest.SerializeToString, - response_deserializer=exchange_dot_injective__meta__rpc__pb2.StreamKeepaliveResponse.FromString, - _registered_method=True) - self.TokenMetadata = channel.unary_unary( - '/injective_meta_rpc.InjectiveMetaRPC/TokenMetadata', - request_serializer=exchange_dot_injective__meta__rpc__pb2.TokenMetadataRequest.SerializeToString, - response_deserializer=exchange_dot_injective__meta__rpc__pb2.TokenMetadataResponse.FromString, - _registered_method=True) - - -class InjectiveMetaRPCServicer(object): - """InjectiveMetaRPC is a special API subset to get info about server. - """ - - def Ping(self, request, context): - """Endpoint for checking server health. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Version(self, request, context): - """Returns injective-exchange version. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Info(self, request, context): - """Gets connection info - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamKeepalive(self, request, context): - """Stream keepalive, if server exits, a shutdown event will be sent over this - channel. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TokenMetadata(self, request, context): - """Get tokens metadata. Can be filtered by denom - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_InjectiveMetaRPCServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Ping': grpc.unary_unary_rpc_method_handler( - servicer.Ping, - request_deserializer=exchange_dot_injective__meta__rpc__pb2.PingRequest.FromString, - response_serializer=exchange_dot_injective__meta__rpc__pb2.PingResponse.SerializeToString, - ), - 'Version': grpc.unary_unary_rpc_method_handler( - servicer.Version, - request_deserializer=exchange_dot_injective__meta__rpc__pb2.VersionRequest.FromString, - response_serializer=exchange_dot_injective__meta__rpc__pb2.VersionResponse.SerializeToString, - ), - 'Info': grpc.unary_unary_rpc_method_handler( - servicer.Info, - request_deserializer=exchange_dot_injective__meta__rpc__pb2.InfoRequest.FromString, - response_serializer=exchange_dot_injective__meta__rpc__pb2.InfoResponse.SerializeToString, - ), - 'StreamKeepalive': grpc.unary_stream_rpc_method_handler( - servicer.StreamKeepalive, - request_deserializer=exchange_dot_injective__meta__rpc__pb2.StreamKeepaliveRequest.FromString, - response_serializer=exchange_dot_injective__meta__rpc__pb2.StreamKeepaliveResponse.SerializeToString, - ), - 'TokenMetadata': grpc.unary_unary_rpc_method_handler( - servicer.TokenMetadata, - request_deserializer=exchange_dot_injective__meta__rpc__pb2.TokenMetadataRequest.FromString, - response_serializer=exchange_dot_injective__meta__rpc__pb2.TokenMetadataResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective_meta_rpc.InjectiveMetaRPC', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective_meta_rpc.InjectiveMetaRPC', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class InjectiveMetaRPC(object): - """InjectiveMetaRPC is a special API subset to get info about server. - """ - - @staticmethod - def Ping(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_meta_rpc.InjectiveMetaRPC/Ping', - exchange_dot_injective__meta__rpc__pb2.PingRequest.SerializeToString, - exchange_dot_injective__meta__rpc__pb2.PingResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Version(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_meta_rpc.InjectiveMetaRPC/Version', - exchange_dot_injective__meta__rpc__pb2.VersionRequest.SerializeToString, - exchange_dot_injective__meta__rpc__pb2.VersionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Info(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_meta_rpc.InjectiveMetaRPC/Info', - exchange_dot_injective__meta__rpc__pb2.InfoRequest.SerializeToString, - exchange_dot_injective__meta__rpc__pb2.InfoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamKeepalive(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, - '/injective_meta_rpc.InjectiveMetaRPC/StreamKeepalive', - exchange_dot_injective__meta__rpc__pb2.StreamKeepaliveRequest.SerializeToString, - exchange_dot_injective__meta__rpc__pb2.StreamKeepaliveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def TokenMetadata(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_meta_rpc.InjectiveMetaRPC/TokenMetadata', - exchange_dot_injective__meta__rpc__pb2.TokenMetadataRequest.SerializeToString, - exchange_dot_injective__meta__rpc__pb2.TokenMetadataResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/exchange/injective_oracle_rpc_pb2.py b/pyinjective/proto/exchange/injective_oracle_rpc_pb2.py deleted file mode 100644 index 1858d94e..00000000 --- a/pyinjective/proto/exchange/injective_oracle_rpc_pb2.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: exchange/injective_oracle_rpc.proto -# Protobuf Python Version: 5.26.1 -"""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#exchange/injective_oracle_rpc.proto\x12\x14injective_oracle_rpc\"\x13\n\x11OracleListRequest\"L\n\x12OracleListResponse\x12\x36\n\x07oracles\x18\x01 \x03(\x0b\x32\x1c.injective_oracle_rpc.OracleR\x07oracles\"\x9b\x01\n\x06Oracle\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x1f\n\x0b\x62\x61se_symbol\x18\x02 \x01(\tR\nbaseSymbol\x12!\n\x0cquote_symbol\x18\x03 \x01(\tR\x0bquoteSymbol\x12\x1f\n\x0boracle_type\x18\x04 \x01(\tR\noracleType\x12\x14\n\x05price\x18\x05 \x01(\tR\x05price\"\xa3\x01\n\x0cPriceRequest\x12\x1f\n\x0b\x62\x61se_symbol\x18\x01 \x01(\tR\nbaseSymbol\x12!\n\x0cquote_symbol\x18\x02 \x01(\tR\x0bquoteSymbol\x12\x1f\n\x0boracle_type\x18\x03 \x01(\tR\noracleType\x12.\n\x13oracle_scale_factor\x18\x04 \x01(\rR\x11oracleScaleFactor\"%\n\rPriceResponse\x12\x14\n\x05price\x18\x01 \x01(\tR\x05price\"z\n\x13StreamPricesRequest\x12\x1f\n\x0b\x62\x61se_symbol\x18\x01 \x01(\tR\nbaseSymbol\x12!\n\x0cquote_symbol\x18\x02 \x01(\tR\x0bquoteSymbol\x12\x1f\n\x0boracle_type\x18\x03 \x01(\tR\noracleType\"J\n\x14StreamPricesResponse\x12\x14\n\x05price\x18\x01 \x01(\tR\x05price\x12\x1c\n\ttimestamp\x18\x02 \x01(\x12R\ttimestamp\"=\n\x1cStreamPricesByMarketsRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"p\n\x1dStreamPricesByMarketsResponse\x12\x14\n\x05price\x18\x01 \x01(\tR\x05price\x12\x1c\n\ttimestamp\x18\x02 \x01(\x12R\ttimestamp\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId2\xb5\x03\n\x12InjectiveOracleRPC\x12_\n\nOracleList\x12\'.injective_oracle_rpc.OracleListRequest\x1a(.injective_oracle_rpc.OracleListResponse\x12P\n\x05Price\x12\".injective_oracle_rpc.PriceRequest\x1a#.injective_oracle_rpc.PriceResponse\x12g\n\x0cStreamPrices\x12).injective_oracle_rpc.StreamPricesRequest\x1a*.injective_oracle_rpc.StreamPricesResponse0\x01\x12\x82\x01\n\x15StreamPricesByMarkets\x12\x32.injective_oracle_rpc.StreamPricesByMarketsRequest\x1a\x33.injective_oracle_rpc.StreamPricesByMarketsResponse0\x01\x42\xb4\x01\n\x18\x63om.injective_oracle_rpcB\x17InjectiveOracleRpcProtoP\x01Z\x17/injective_oracle_rpcpb\xa2\x02\x03IXX\xaa\x02\x12InjectiveOracleRpc\xca\x02\x12InjectiveOracleRpc\xe2\x02\x1eInjectiveOracleRpc\\GPBMetadata\xea\x02\x12InjectiveOracleRpcb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_oracle_rpc_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.injective_oracle_rpcB\027InjectiveOracleRpcProtoP\001Z\027/injective_oracle_rpcpb\242\002\003IXX\252\002\022InjectiveOracleRpc\312\002\022InjectiveOracleRpc\342\002\036InjectiveOracleRpc\\GPBMetadata\352\002\022InjectiveOracleRpc' - _globals['_ORACLELISTREQUEST']._serialized_start=61 - _globals['_ORACLELISTREQUEST']._serialized_end=80 - _globals['_ORACLELISTRESPONSE']._serialized_start=82 - _globals['_ORACLELISTRESPONSE']._serialized_end=158 - _globals['_ORACLE']._serialized_start=161 - _globals['_ORACLE']._serialized_end=316 - _globals['_PRICEREQUEST']._serialized_start=319 - _globals['_PRICEREQUEST']._serialized_end=482 - _globals['_PRICERESPONSE']._serialized_start=484 - _globals['_PRICERESPONSE']._serialized_end=521 - _globals['_STREAMPRICESREQUEST']._serialized_start=523 - _globals['_STREAMPRICESREQUEST']._serialized_end=645 - _globals['_STREAMPRICESRESPONSE']._serialized_start=647 - _globals['_STREAMPRICESRESPONSE']._serialized_end=721 - _globals['_STREAMPRICESBYMARKETSREQUEST']._serialized_start=723 - _globals['_STREAMPRICESBYMARKETSREQUEST']._serialized_end=784 - _globals['_STREAMPRICESBYMARKETSRESPONSE']._serialized_start=786 - _globals['_STREAMPRICESBYMARKETSRESPONSE']._serialized_end=898 - _globals['_INJECTIVEORACLERPC']._serialized_start=901 - _globals['_INJECTIVEORACLERPC']._serialized_end=1338 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_oracle_rpc_pb2_grpc.py b/pyinjective/proto/exchange/injective_oracle_rpc_pb2_grpc.py deleted file mode 100644 index 9f317b59..00000000 --- a/pyinjective/proto/exchange/injective_oracle_rpc_pb2_grpc.py +++ /dev/null @@ -1,214 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.exchange import injective_oracle_rpc_pb2 as exchange_dot_injective__oracle__rpc__pb2 - - -class InjectiveOracleRPCStub(object): - """InjectiveOracleRPC defines gRPC API of Exchange Oracle provider. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.OracleList = channel.unary_unary( - '/injective_oracle_rpc.InjectiveOracleRPC/OracleList', - request_serializer=exchange_dot_injective__oracle__rpc__pb2.OracleListRequest.SerializeToString, - response_deserializer=exchange_dot_injective__oracle__rpc__pb2.OracleListResponse.FromString, - _registered_method=True) - self.Price = channel.unary_unary( - '/injective_oracle_rpc.InjectiveOracleRPC/Price', - request_serializer=exchange_dot_injective__oracle__rpc__pb2.PriceRequest.SerializeToString, - response_deserializer=exchange_dot_injective__oracle__rpc__pb2.PriceResponse.FromString, - _registered_method=True) - self.StreamPrices = channel.unary_stream( - '/injective_oracle_rpc.InjectiveOracleRPC/StreamPrices', - request_serializer=exchange_dot_injective__oracle__rpc__pb2.StreamPricesRequest.SerializeToString, - response_deserializer=exchange_dot_injective__oracle__rpc__pb2.StreamPricesResponse.FromString, - _registered_method=True) - self.StreamPricesByMarkets = channel.unary_stream( - '/injective_oracle_rpc.InjectiveOracleRPC/StreamPricesByMarkets', - request_serializer=exchange_dot_injective__oracle__rpc__pb2.StreamPricesByMarketsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__oracle__rpc__pb2.StreamPricesByMarketsResponse.FromString, - _registered_method=True) - - -class InjectiveOracleRPCServicer(object): - """InjectiveOracleRPC defines gRPC API of Exchange Oracle provider. - """ - - def OracleList(self, request, context): - """List all oracles - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Price(self, request, context): - """Gets the price of the oracle - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamPrices(self, request, context): - """StreamPrices streams new price changes for a specified oracle. If no oracles - are provided, all price changes are streamed. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamPricesByMarkets(self, request, context): - """StreamPrices streams new price changes markets - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_InjectiveOracleRPCServicer_to_server(servicer, server): - rpc_method_handlers = { - 'OracleList': grpc.unary_unary_rpc_method_handler( - servicer.OracleList, - request_deserializer=exchange_dot_injective__oracle__rpc__pb2.OracleListRequest.FromString, - response_serializer=exchange_dot_injective__oracle__rpc__pb2.OracleListResponse.SerializeToString, - ), - 'Price': grpc.unary_unary_rpc_method_handler( - servicer.Price, - request_deserializer=exchange_dot_injective__oracle__rpc__pb2.PriceRequest.FromString, - response_serializer=exchange_dot_injective__oracle__rpc__pb2.PriceResponse.SerializeToString, - ), - 'StreamPrices': grpc.unary_stream_rpc_method_handler( - servicer.StreamPrices, - request_deserializer=exchange_dot_injective__oracle__rpc__pb2.StreamPricesRequest.FromString, - response_serializer=exchange_dot_injective__oracle__rpc__pb2.StreamPricesResponse.SerializeToString, - ), - 'StreamPricesByMarkets': grpc.unary_stream_rpc_method_handler( - servicer.StreamPricesByMarkets, - request_deserializer=exchange_dot_injective__oracle__rpc__pb2.StreamPricesByMarketsRequest.FromString, - response_serializer=exchange_dot_injective__oracle__rpc__pb2.StreamPricesByMarketsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective_oracle_rpc.InjectiveOracleRPC', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective_oracle_rpc.InjectiveOracleRPC', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class InjectiveOracleRPC(object): - """InjectiveOracleRPC defines gRPC API of Exchange Oracle provider. - """ - - @staticmethod - def OracleList(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_oracle_rpc.InjectiveOracleRPC/OracleList', - exchange_dot_injective__oracle__rpc__pb2.OracleListRequest.SerializeToString, - exchange_dot_injective__oracle__rpc__pb2.OracleListResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Price(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_oracle_rpc.InjectiveOracleRPC/Price', - exchange_dot_injective__oracle__rpc__pb2.PriceRequest.SerializeToString, - exchange_dot_injective__oracle__rpc__pb2.PriceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamPrices(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, - '/injective_oracle_rpc.InjectiveOracleRPC/StreamPrices', - exchange_dot_injective__oracle__rpc__pb2.StreamPricesRequest.SerializeToString, - exchange_dot_injective__oracle__rpc__pb2.StreamPricesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamPricesByMarkets(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, - '/injective_oracle_rpc.InjectiveOracleRPC/StreamPricesByMarkets', - exchange_dot_injective__oracle__rpc__pb2.StreamPricesByMarketsRequest.SerializeToString, - exchange_dot_injective__oracle__rpc__pb2.StreamPricesByMarketsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py b/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py deleted file mode 100644 index 37dcb8f9..00000000 --- a/pyinjective/proto/exchange/injective_portfolio_rpc_pb2.py +++ /dev/null @@ -1,59 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: exchange/injective_portfolio_rpc.proto -# Protobuf Python Version: 5.26.1 -"""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&exchange/injective_portfolio_rpc.proto\x12\x17injective_portfolio_rpc\"Y\n\x13TokenHoldersRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x63ursor\x18\x02 \x01(\tR\x06\x63ursor\x12\x14\n\x05limit\x18\x03 \x01(\x11R\x05limit\"t\n\x14TokenHoldersResponse\x12\x39\n\x07holders\x18\x01 \x03(\x0b\x32\x1f.injective_portfolio_rpc.HolderR\x07holders\x12!\n\x0cnext_cursors\x18\x02 \x03(\tR\x0bnextCursors\"K\n\x06Holder\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x18\n\x07\x62\x61lance\x18\x02 \x01(\tR\x07\x62\x61lance\"B\n\x17\x41\x63\x63ountPortfolioRequest\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\"\\\n\x18\x41\x63\x63ountPortfolioResponse\x12@\n\tportfolio\x18\x01 \x01(\x0b\x32\".injective_portfolio_rpc.PortfolioR\tportfolio\"\xa4\x02\n\tPortfolio\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x42\n\rbank_balances\x18\x02 \x03(\x0b\x32\x1d.injective_portfolio_rpc.CoinR\x0c\x62\x61nkBalances\x12N\n\x0bsubaccounts\x18\x03 \x03(\x0b\x32,.injective_portfolio_rpc.SubaccountBalanceV2R\x0bsubaccounts\x12Z\n\x13positions_with_upnl\x18\x04 \x03(\x0b\x32*.injective_portfolio_rpc.PositionsWithUPNLR\x11positionsWithUpnl\"4\n\x04\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"\x96\x01\n\x13SubaccountBalanceV2\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x44\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32*.injective_portfolio_rpc.SubaccountDepositR\x07\x64\x65posit\"e\n\x11SubaccountDeposit\x12#\n\rtotal_balance\x18\x01 \x01(\tR\x0ctotalBalance\x12+\n\x11\x61vailable_balance\x18\x02 \x01(\tR\x10\x61vailableBalance\"\x83\x01\n\x11PositionsWithUPNL\x12G\n\x08position\x18\x01 \x01(\x0b\x32+.injective_portfolio_rpc.DerivativePositionR\x08position\x12%\n\x0eunrealized_pnl\x18\x02 \x01(\tR\runrealizedPnl\"\xb0\x03\n\x12\x44\x65rivativePosition\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1c\n\tdirection\x18\x04 \x01(\tR\tdirection\x12\x1a\n\x08quantity\x18\x05 \x01(\tR\x08quantity\x12\x1f\n\x0b\x65ntry_price\x18\x06 \x01(\tR\nentryPrice\x12\x16\n\x06margin\x18\x07 \x01(\tR\x06margin\x12+\n\x11liquidation_price\x18\x08 \x01(\tR\x10liquidationPrice\x12\x1d\n\nmark_price\x18\t \x01(\tR\tmarkPrice\x12\x43\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\tR\x1b\x61ggregateReduceOnlyQuantity\x12\x1d\n\nupdated_at\x18\x0c \x01(\x12R\tupdatedAt\x12\x1d\n\ncreated_at\x18\r \x01(\x12R\tcreatedAt\"J\n\x1f\x41\x63\x63ountPortfolioBalancesRequest\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\"l\n AccountPortfolioBalancesResponse\x12H\n\tportfolio\x18\x01 \x01(\x0b\x32*.injective_portfolio_rpc.PortfolioBalancesR\tportfolio\"\xd0\x01\n\x11PortfolioBalances\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x42\n\rbank_balances\x18\x02 \x03(\x0b\x32\x1d.injective_portfolio_rpc.CoinR\x0c\x62\x61nkBalances\x12N\n\x0bsubaccounts\x18\x03 \x03(\x0b\x32,.injective_portfolio_rpc.SubaccountBalanceV2R\x0bsubaccounts\"\x81\x01\n\x1dStreamAccountPortfolioRequest\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\"\xa5\x01\n\x1eStreamAccountPortfolioResponse\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x03 \x01(\tR\x06\x61mount\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12\x1c\n\ttimestamp\x18\x05 \x01(\x12R\ttimestamp2\x9d\x04\n\x15InjectivePortfolioRPC\x12k\n\x0cTokenHolders\x12,.injective_portfolio_rpc.TokenHoldersRequest\x1a-.injective_portfolio_rpc.TokenHoldersResponse\x12w\n\x10\x41\x63\x63ountPortfolio\x12\x30.injective_portfolio_rpc.AccountPortfolioRequest\x1a\x31.injective_portfolio_rpc.AccountPortfolioResponse\x12\x8f\x01\n\x18\x41\x63\x63ountPortfolioBalances\x12\x38.injective_portfolio_rpc.AccountPortfolioBalancesRequest\x1a\x39.injective_portfolio_rpc.AccountPortfolioBalancesResponse\x12\x8b\x01\n\x16StreamAccountPortfolio\x12\x36.injective_portfolio_rpc.StreamAccountPortfolioRequest\x1a\x37.injective_portfolio_rpc.StreamAccountPortfolioResponse0\x01\x42\xc9\x01\n\x1b\x63om.injective_portfolio_rpcB\x1aInjectivePortfolioRpcProtoP\x01Z\x1a/injective_portfolio_rpcpb\xa2\x02\x03IXX\xaa\x02\x15InjectivePortfolioRpc\xca\x02\x15InjectivePortfolioRpc\xe2\x02!InjectivePortfolioRpc\\GPBMetadata\xea\x02\x15InjectivePortfolioRpcb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_portfolio_rpc_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.injective_portfolio_rpcB\032InjectivePortfolioRpcProtoP\001Z\032/injective_portfolio_rpcpb\242\002\003IXX\252\002\025InjectivePortfolioRpc\312\002\025InjectivePortfolioRpc\342\002!InjectivePortfolioRpc\\GPBMetadata\352\002\025InjectivePortfolioRpc' - _globals['_TOKENHOLDERSREQUEST']._serialized_start=67 - _globals['_TOKENHOLDERSREQUEST']._serialized_end=156 - _globals['_TOKENHOLDERSRESPONSE']._serialized_start=158 - _globals['_TOKENHOLDERSRESPONSE']._serialized_end=274 - _globals['_HOLDER']._serialized_start=276 - _globals['_HOLDER']._serialized_end=351 - _globals['_ACCOUNTPORTFOLIOREQUEST']._serialized_start=353 - _globals['_ACCOUNTPORTFOLIOREQUEST']._serialized_end=419 - _globals['_ACCOUNTPORTFOLIORESPONSE']._serialized_start=421 - _globals['_ACCOUNTPORTFOLIORESPONSE']._serialized_end=513 - _globals['_PORTFOLIO']._serialized_start=516 - _globals['_PORTFOLIO']._serialized_end=808 - _globals['_COIN']._serialized_start=810 - _globals['_COIN']._serialized_end=862 - _globals['_SUBACCOUNTBALANCEV2']._serialized_start=865 - _globals['_SUBACCOUNTBALANCEV2']._serialized_end=1015 - _globals['_SUBACCOUNTDEPOSIT']._serialized_start=1017 - _globals['_SUBACCOUNTDEPOSIT']._serialized_end=1118 - _globals['_POSITIONSWITHUPNL']._serialized_start=1121 - _globals['_POSITIONSWITHUPNL']._serialized_end=1252 - _globals['_DERIVATIVEPOSITION']._serialized_start=1255 - _globals['_DERIVATIVEPOSITION']._serialized_end=1687 - _globals['_ACCOUNTPORTFOLIOBALANCESREQUEST']._serialized_start=1689 - _globals['_ACCOUNTPORTFOLIOBALANCESREQUEST']._serialized_end=1763 - _globals['_ACCOUNTPORTFOLIOBALANCESRESPONSE']._serialized_start=1765 - _globals['_ACCOUNTPORTFOLIOBALANCESRESPONSE']._serialized_end=1873 - _globals['_PORTFOLIOBALANCES']._serialized_start=1876 - _globals['_PORTFOLIOBALANCES']._serialized_end=2084 - _globals['_STREAMACCOUNTPORTFOLIOREQUEST']._serialized_start=2087 - _globals['_STREAMACCOUNTPORTFOLIOREQUEST']._serialized_end=2216 - _globals['_STREAMACCOUNTPORTFOLIORESPONSE']._serialized_start=2219 - _globals['_STREAMACCOUNTPORTFOLIORESPONSE']._serialized_end=2384 - _globals['_INJECTIVEPORTFOLIORPC']._serialized_start=2387 - _globals['_INJECTIVEPORTFOLIORPC']._serialized_end=2928 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_portfolio_rpc_pb2_grpc.py b/pyinjective/proto/exchange/injective_portfolio_rpc_pb2_grpc.py deleted file mode 100644 index dea15cb0..00000000 --- a/pyinjective/proto/exchange/injective_portfolio_rpc_pb2_grpc.py +++ /dev/null @@ -1,213 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.exchange import injective_portfolio_rpc_pb2 as exchange_dot_injective__portfolio__rpc__pb2 - - -class InjectivePortfolioRPCStub(object): - """InjectivePortfolioRPC defines gRPC API of Exchange Portfolio provider. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.TokenHolders = channel.unary_unary( - '/injective_portfolio_rpc.InjectivePortfolioRPC/TokenHolders', - request_serializer=exchange_dot_injective__portfolio__rpc__pb2.TokenHoldersRequest.SerializeToString, - response_deserializer=exchange_dot_injective__portfolio__rpc__pb2.TokenHoldersResponse.FromString, - _registered_method=True) - self.AccountPortfolio = channel.unary_unary( - '/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolio', - request_serializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioRequest.SerializeToString, - response_deserializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioResponse.FromString, - _registered_method=True) - self.AccountPortfolioBalances = channel.unary_unary( - '/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolioBalances', - request_serializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioBalancesRequest.SerializeToString, - response_deserializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioBalancesResponse.FromString, - _registered_method=True) - self.StreamAccountPortfolio = channel.unary_stream( - '/injective_portfolio_rpc.InjectivePortfolioRPC/StreamAccountPortfolio', - request_serializer=exchange_dot_injective__portfolio__rpc__pb2.StreamAccountPortfolioRequest.SerializeToString, - response_deserializer=exchange_dot_injective__portfolio__rpc__pb2.StreamAccountPortfolioResponse.FromString, - _registered_method=True) - - -class InjectivePortfolioRPCServicer(object): - """InjectivePortfolioRPC defines gRPC API of Exchange Portfolio provider. - """ - - def TokenHolders(self, request, context): - """Provide a list of addresses holding a specific token - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AccountPortfolio(self, request, context): - """Provide the account's portfolio - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AccountPortfolioBalances(self, request, context): - """Provide the account's portfolio balances - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamAccountPortfolio(self, request, context): - """Stream the account's portfolio - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_InjectivePortfolioRPCServicer_to_server(servicer, server): - rpc_method_handlers = { - 'TokenHolders': grpc.unary_unary_rpc_method_handler( - servicer.TokenHolders, - request_deserializer=exchange_dot_injective__portfolio__rpc__pb2.TokenHoldersRequest.FromString, - response_serializer=exchange_dot_injective__portfolio__rpc__pb2.TokenHoldersResponse.SerializeToString, - ), - 'AccountPortfolio': grpc.unary_unary_rpc_method_handler( - servicer.AccountPortfolio, - request_deserializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioRequest.FromString, - response_serializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioResponse.SerializeToString, - ), - 'AccountPortfolioBalances': grpc.unary_unary_rpc_method_handler( - servicer.AccountPortfolioBalances, - request_deserializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioBalancesRequest.FromString, - response_serializer=exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioBalancesResponse.SerializeToString, - ), - 'StreamAccountPortfolio': grpc.unary_stream_rpc_method_handler( - servicer.StreamAccountPortfolio, - request_deserializer=exchange_dot_injective__portfolio__rpc__pb2.StreamAccountPortfolioRequest.FromString, - response_serializer=exchange_dot_injective__portfolio__rpc__pb2.StreamAccountPortfolioResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective_portfolio_rpc.InjectivePortfolioRPC', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective_portfolio_rpc.InjectivePortfolioRPC', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class InjectivePortfolioRPC(object): - """InjectivePortfolioRPC defines gRPC API of Exchange Portfolio provider. - """ - - @staticmethod - def TokenHolders(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_portfolio_rpc.InjectivePortfolioRPC/TokenHolders', - exchange_dot_injective__portfolio__rpc__pb2.TokenHoldersRequest.SerializeToString, - exchange_dot_injective__portfolio__rpc__pb2.TokenHoldersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AccountPortfolio(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolio', - exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioRequest.SerializeToString, - exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AccountPortfolioBalances(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolioBalances', - exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioBalancesRequest.SerializeToString, - exchange_dot_injective__portfolio__rpc__pb2.AccountPortfolioBalancesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamAccountPortfolio(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, - '/injective_portfolio_rpc.InjectivePortfolioRPC/StreamAccountPortfolio', - exchange_dot_injective__portfolio__rpc__pb2.StreamAccountPortfolioRequest.SerializeToString, - exchange_dot_injective__portfolio__rpc__pb2.StreamAccountPortfolioResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py deleted file mode 100644 index 69db7106..00000000 --- a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2.py +++ /dev/null @@ -1,125 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: exchange/injective_spot_exchange_rpc.proto -# Protobuf Python Version: 5.26.1 -"""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*exchange/injective_spot_exchange_rpc.proto\x12\x1binjective_spot_exchange_rpc\"\x9e\x01\n\x0eMarketsRequest\x12#\n\rmarket_status\x18\x01 \x01(\tR\x0cmarketStatus\x12\x1d\n\nbase_denom\x18\x02 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\'\n\x0fmarket_statuses\x18\x04 \x03(\tR\x0emarketStatuses\"X\n\x0fMarketsResponse\x12\x45\n\x07markets\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfoR\x07markets\"\xd1\x04\n\x0eSpotMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rmarket_status\x18\x02 \x01(\tR\x0cmarketStatus\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x04 \x01(\tR\tbaseDenom\x12N\n\x0f\x62\x61se_token_meta\x18\x05 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMetaR\rbaseTokenMeta\x12\x1f\n\x0bquote_denom\x18\x06 \x01(\tR\nquoteDenom\x12P\n\x10quote_token_meta\x18\x07 \x01(\x0b\x32&.injective_spot_exchange_rpc.TokenMetaR\x0equoteTokenMeta\x12$\n\x0emaker_fee_rate\x18\x08 \x01(\tR\x0cmakerFeeRate\x12$\n\x0etaker_fee_rate\x18\t \x01(\tR\x0ctakerFeeRate\x12\x30\n\x14service_provider_fee\x18\n \x01(\tR\x12serviceProviderFee\x12-\n\x13min_price_tick_size\x18\x0b \x01(\tR\x10minPriceTickSize\x12\x33\n\x16min_quantity_tick_size\x18\x0c \x01(\tR\x13minQuantityTickSize\x12!\n\x0cmin_notional\x18\r \x01(\tR\x0bminNotional\"\xa0\x01\n\tTokenMeta\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\x12\x16\n\x06symbol\x18\x03 \x01(\tR\x06symbol\x12\x12\n\x04logo\x18\x04 \x01(\tR\x04logo\x12\x1a\n\x08\x64\x65\x63imals\x18\x05 \x01(\x11R\x08\x64\x65\x63imals\x12\x1d\n\nupdated_at\x18\x06 \x01(\x12R\tupdatedAt\",\n\rMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"U\n\x0eMarketResponse\x12\x43\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfoR\x06market\"5\n\x14StreamMarketsRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"\xa1\x01\n\x15StreamMarketsResponse\x12\x43\n\x06market\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotMarketInfoR\x06market\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"1\n\x12OrderbookV2Request\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"f\n\x13OrderbookV2Response\x12O\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2R\torderbook\"\xcc\x01\n\x14SpotLimitOrderbookV2\x12;\n\x04\x62uys\x18\x01 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevelR\x04\x62uys\x12=\n\x05sells\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevelR\x05sells\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x12\x1c\n\ttimestamp\x18\x04 \x01(\x12R\ttimestamp\"\\\n\nPriceLevel\x12\x14\n\x05price\x18\x01 \x01(\tR\x05price\x12\x1a\n\x08quantity\x18\x02 \x01(\tR\x08quantity\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"4\n\x13OrderbooksV2Request\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"o\n\x14OrderbooksV2Response\x12W\n\norderbooks\x18\x01 \x03(\x0b\x32\x37.injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2R\norderbooks\"\x8a\x01\n\x1aSingleSpotLimitOrderbookV2\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12O\n\torderbook\x18\x02 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2R\torderbook\"9\n\x18StreamOrderbookV2Request\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"\xce\x01\n\x19StreamOrderbookV2Response\x12O\n\torderbook\x18\x01 \x01(\x0b\x32\x31.injective_spot_exchange_rpc.SpotLimitOrderbookV2R\torderbook\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\"=\n\x1cStreamOrderbookUpdateRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"\xed\x01\n\x1dStreamOrderbookUpdateResponse\x12j\n\x17orderbook_level_updates\x18\x01 \x01(\x0b\x32\x32.injective_spot_exchange_rpc.OrderbookLevelUpdatesR\x15orderbookLevelUpdates\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\"\xf7\x01\n\x15OrderbookLevelUpdates\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1a\n\x08sequence\x18\x02 \x01(\x04R\x08sequence\x12\x41\n\x04\x62uys\x18\x03 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdateR\x04\x62uys\x12\x43\n\x05sells\x18\x04 \x03(\x0b\x32-.injective_spot_exchange_rpc.PriceLevelUpdateR\x05sells\x12\x1d\n\nupdated_at\x18\x05 \x01(\x12R\tupdatedAt\"\x7f\n\x10PriceLevelUpdate\x12\x14\n\x05price\x18\x01 \x01(\tR\x05price\x12\x1a\n\x08quantity\x18\x02 \x01(\tR\x08quantity\x12\x1b\n\tis_active\x18\x03 \x01(\x08R\x08isActive\x12\x1c\n\ttimestamp\x18\x04 \x01(\x12R\ttimestamp\"\x83\x03\n\rOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1d\n\norder_side\x18\x02 \x01(\tR\torderSide\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x12\n\x04skip\x18\x04 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x05 \x01(\x11R\x05limit\x12\x1d\n\nstart_time\x18\x06 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x07 \x01(\x12R\x07\x65ndTime\x12\x1d\n\nmarket_ids\x18\x08 \x03(\tR\tmarketIds\x12)\n\x10include_inactive\x18\t \x01(\x08R\x0fincludeInactive\x12\x36\n\x17subaccount_total_orders\x18\n \x01(\x08R\x15subaccountTotalOrders\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\x12\x10\n\x03\x63id\x18\x0c \x01(\tR\x03\x63id\"\x92\x01\n\x0eOrdersResponse\x12\x43\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrderR\x06orders\x12;\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.PagingR\x06paging\"\xb8\x03\n\x0eSpotLimitOrder\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x1d\n\norder_side\x18\x02 \x01(\tR\torderSide\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12\x14\n\x05price\x18\x05 \x01(\tR\x05price\x12\x1a\n\x08quantity\x18\x06 \x01(\tR\x08quantity\x12+\n\x11unfilled_quantity\x18\x07 \x01(\tR\x10unfilledQuantity\x12#\n\rtrigger_price\x18\x08 \x01(\tR\x0ctriggerPrice\x12#\n\rfee_recipient\x18\t \x01(\tR\x0c\x66\x65\x65Recipient\x12\x14\n\x05state\x18\n \x01(\tR\x05state\x12\x1d\n\ncreated_at\x18\x0b \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x0c \x01(\x12R\tupdatedAt\x12\x17\n\x07tx_hash\x18\r \x01(\tR\x06txHash\x12\x10\n\x03\x63id\x18\x0e \x01(\tR\x03\x63id\"\x86\x01\n\x06Paging\x12\x14\n\x05total\x18\x01 \x01(\x12R\x05total\x12\x12\n\x04\x66rom\x18\x02 \x01(\x11R\x04\x66rom\x12\x0e\n\x02to\x18\x03 \x01(\x11R\x02to\x12.\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12R\x11\x63ountBySubaccount\x12\x12\n\x04next\x18\x05 \x03(\tR\x04next\"\x89\x03\n\x13StreamOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1d\n\norder_side\x18\x02 \x01(\tR\torderSide\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x12\n\x04skip\x18\x04 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x05 \x01(\x11R\x05limit\x12\x1d\n\nstart_time\x18\x06 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x07 \x01(\x12R\x07\x65ndTime\x12\x1d\n\nmarket_ids\x18\x08 \x03(\tR\tmarketIds\x12)\n\x10include_inactive\x18\t \x01(\x08R\x0fincludeInactive\x12\x36\n\x17subaccount_total_orders\x18\n \x01(\x08R\x15subaccountTotalOrders\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\x12\x10\n\x03\x63id\x18\x0c \x01(\tR\x03\x63id\"\x9e\x01\n\x14StreamOrdersResponse\x12\x41\n\x05order\x18\x01 \x01(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrderR\x05order\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\xbf\x03\n\rTradesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12%\n\x0e\x65xecution_side\x18\x02 \x01(\tR\rexecutionSide\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12\x12\n\x04skip\x18\x05 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x06 \x01(\x11R\x05limit\x12\x1d\n\nstart_time\x18\x07 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x08 \x01(\x12R\x07\x65ndTime\x12\x1d\n\nmarket_ids\x18\t \x03(\tR\tmarketIds\x12%\n\x0esubaccount_ids\x18\n \x03(\tR\rsubaccountIds\x12\'\n\x0f\x65xecution_types\x18\x0b \x03(\tR\x0e\x65xecutionTypes\x12\x19\n\x08trade_id\x18\x0c \x01(\tR\x07tradeId\x12\'\n\x0f\x61\x63\x63ount_address\x18\r \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x10\n\x03\x63id\x18\x0e \x01(\tR\x03\x63id\"\x8d\x01\n\x0eTradesResponse\x12>\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTradeR\x06trades\x12;\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.PagingR\x06paging\"\xb2\x03\n\tSpotTrade\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x30\n\x14trade_execution_type\x18\x04 \x01(\tR\x12tradeExecutionType\x12\'\n\x0ftrade_direction\x18\x05 \x01(\tR\x0etradeDirection\x12=\n\x05price\x18\x06 \x01(\x0b\x32\'.injective_spot_exchange_rpc.PriceLevelR\x05price\x12\x10\n\x03\x66\x65\x65\x18\x07 \x01(\tR\x03\x66\x65\x65\x12\x1f\n\x0b\x65xecuted_at\x18\x08 \x01(\x12R\nexecutedAt\x12#\n\rfee_recipient\x18\t \x01(\tR\x0c\x66\x65\x65Recipient\x12\x19\n\x08trade_id\x18\n \x01(\tR\x07tradeId\x12%\n\x0e\x65xecution_side\x18\x0b \x01(\tR\rexecutionSide\x12\x10\n\x03\x63id\x18\x0c \x01(\tR\x03\x63id\"\xc5\x03\n\x13StreamTradesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12%\n\x0e\x65xecution_side\x18\x02 \x01(\tR\rexecutionSide\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12\x12\n\x04skip\x18\x05 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x06 \x01(\x11R\x05limit\x12\x1d\n\nstart_time\x18\x07 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x08 \x01(\x12R\x07\x65ndTime\x12\x1d\n\nmarket_ids\x18\t \x03(\tR\tmarketIds\x12%\n\x0esubaccount_ids\x18\n \x03(\tR\rsubaccountIds\x12\'\n\x0f\x65xecution_types\x18\x0b \x03(\tR\x0e\x65xecutionTypes\x12\x19\n\x08trade_id\x18\x0c \x01(\tR\x07tradeId\x12\'\n\x0f\x61\x63\x63ount_address\x18\r \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x10\n\x03\x63id\x18\x0e \x01(\tR\x03\x63id\"\x99\x01\n\x14StreamTradesResponse\x12<\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTradeR\x05trade\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\xc1\x03\n\x0fTradesV2Request\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12%\n\x0e\x65xecution_side\x18\x02 \x01(\tR\rexecutionSide\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12\x12\n\x04skip\x18\x05 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x06 \x01(\x11R\x05limit\x12\x1d\n\nstart_time\x18\x07 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x08 \x01(\x12R\x07\x65ndTime\x12\x1d\n\nmarket_ids\x18\t \x03(\tR\tmarketIds\x12%\n\x0esubaccount_ids\x18\n \x03(\tR\rsubaccountIds\x12\'\n\x0f\x65xecution_types\x18\x0b \x03(\tR\x0e\x65xecutionTypes\x12\x19\n\x08trade_id\x18\x0c \x01(\tR\x07tradeId\x12\'\n\x0f\x61\x63\x63ount_address\x18\r \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x10\n\x03\x63id\x18\x0e \x01(\tR\x03\x63id\"\x8f\x01\n\x10TradesV2Response\x12>\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTradeR\x06trades\x12;\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.PagingR\x06paging\"\xc7\x03\n\x15StreamTradesV2Request\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12%\n\x0e\x65xecution_side\x18\x02 \x01(\tR\rexecutionSide\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12\x12\n\x04skip\x18\x05 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x06 \x01(\x11R\x05limit\x12\x1d\n\nstart_time\x18\x07 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x08 \x01(\x12R\x07\x65ndTime\x12\x1d\n\nmarket_ids\x18\t \x03(\tR\tmarketIds\x12%\n\x0esubaccount_ids\x18\n \x03(\tR\rsubaccountIds\x12\'\n\x0f\x65xecution_types\x18\x0b \x03(\tR\x0e\x65xecutionTypes\x12\x19\n\x08trade_id\x18\x0c \x01(\tR\x07tradeId\x12\'\n\x0f\x61\x63\x63ount_address\x18\r \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x10\n\x03\x63id\x18\x0e \x01(\tR\x03\x63id\"\x9b\x01\n\x16StreamTradesV2Response\x12<\n\x05trade\x18\x01 \x01(\x0b\x32&.injective_spot_exchange_rpc.SpotTradeR\x05trade\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\x89\x01\n\x1bSubaccountOrdersListRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x12\n\x04skip\x18\x03 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x04 \x01(\x11R\x05limit\"\xa0\x01\n\x1cSubaccountOrdersListResponse\x12\x43\n\x06orders\x18\x01 \x03(\x0b\x32+.injective_spot_exchange_rpc.SpotLimitOrderR\x06orders\x12;\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.PagingR\x06paging\"\xce\x01\n\x1bSubaccountTradesListRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12%\n\x0e\x65xecution_type\x18\x03 \x01(\tR\rexecutionType\x12\x1c\n\tdirection\x18\x04 \x01(\tR\tdirection\x12\x12\n\x04skip\x18\x05 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x06 \x01(\x11R\x05limit\"^\n\x1cSubaccountTradesListResponse\x12>\n\x06trades\x18\x01 \x03(\x0b\x32&.injective_spot_exchange_rpc.SpotTradeR\x06trades\"\xb6\x03\n\x14OrdersHistoryRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x12\n\x04skip\x18\x03 \x01(\x04R\x04skip\x12\x14\n\x05limit\x18\x04 \x01(\x11R\x05limit\x12\x1f\n\x0border_types\x18\x05 \x03(\tR\norderTypes\x12\x1c\n\tdirection\x18\x06 \x01(\tR\tdirection\x12\x1d\n\nstart_time\x18\x07 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x08 \x01(\x12R\x07\x65ndTime\x12\x14\n\x05state\x18\t \x01(\tR\x05state\x12\'\n\x0f\x65xecution_types\x18\n \x03(\tR\x0e\x65xecutionTypes\x12\x1d\n\nmarket_ids\x18\x0b \x03(\tR\tmarketIds\x12\x19\n\x08trade_id\x18\x0c \x01(\tR\x07tradeId\x12.\n\x13\x61\x63tive_markets_only\x18\r \x01(\x08R\x11\x61\x63tiveMarketsOnly\x12\x10\n\x03\x63id\x18\x0e \x01(\tR\x03\x63id\"\x9b\x01\n\x15OrdersHistoryResponse\x12\x45\n\x06orders\x18\x01 \x03(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistoryR\x06orders\x12;\n\x06paging\x18\x02 \x01(\x0b\x32#.injective_spot_exchange_rpc.PagingR\x06paging\"\xf3\x03\n\x10SpotOrderHistory\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1b\n\tis_active\x18\x03 \x01(\x08R\x08isActive\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12%\n\x0e\x65xecution_type\x18\x05 \x01(\tR\rexecutionType\x12\x1d\n\norder_type\x18\x06 \x01(\tR\torderType\x12\x14\n\x05price\x18\x07 \x01(\tR\x05price\x12#\n\rtrigger_price\x18\x08 \x01(\tR\x0ctriggerPrice\x12\x1a\n\x08quantity\x18\t \x01(\tR\x08quantity\x12\'\n\x0f\x66illed_quantity\x18\n \x01(\tR\x0e\x66illedQuantity\x12\x14\n\x05state\x18\x0b \x01(\tR\x05state\x12\x1d\n\ncreated_at\x18\x0c \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\r \x01(\x12R\tupdatedAt\x12\x1c\n\tdirection\x18\x0e \x01(\tR\tdirection\x12\x17\n\x07tx_hash\x18\x0f \x01(\tR\x06txHash\x12\x10\n\x03\x63id\x18\x10 \x01(\tR\x03\x63id\"\xdc\x01\n\x1aStreamOrdersHistoryRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1f\n\x0border_types\x18\x03 \x03(\tR\norderTypes\x12\x1c\n\tdirection\x18\x04 \x01(\tR\tdirection\x12\x14\n\x05state\x18\x05 \x01(\tR\x05state\x12\'\n\x0f\x65xecution_types\x18\x06 \x03(\tR\x0e\x65xecutionTypes\"\xa7\x01\n\x1bStreamOrdersHistoryResponse\x12\x43\n\x05order\x18\x01 \x01(\x0b\x32-.injective_spot_exchange_rpc.SpotOrderHistoryR\x05order\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\xc7\x01\n\x18\x41tomicSwapHistoryRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12\x12\n\x04skip\x18\x03 \x01(\x11R\x04skip\x12\x14\n\x05limit\x18\x04 \x01(\x11R\x05limit\x12\x1f\n\x0b\x66rom_number\x18\x05 \x01(\x11R\nfromNumber\x12\x1b\n\tto_number\x18\x06 \x01(\x11R\x08toNumber\"\x95\x01\n\x19\x41tomicSwapHistoryResponse\x12;\n\x06paging\x18\x01 \x01(\x0b\x32#.injective_spot_exchange_rpc.PagingR\x06paging\x12;\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\'.injective_spot_exchange_rpc.AtomicSwapR\x04\x64\x61ta\"\xe0\x03\n\nAtomicSwap\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x14\n\x05route\x18\x02 \x01(\tR\x05route\x12\x42\n\x0bsource_coin\x18\x03 \x01(\x0b\x32!.injective_spot_exchange_rpc.CoinR\nsourceCoin\x12>\n\tdest_coin\x18\x04 \x01(\x0b\x32!.injective_spot_exchange_rpc.CoinR\x08\x64\x65stCoin\x12\x35\n\x04\x66\x65\x65s\x18\x05 \x03(\x0b\x32!.injective_spot_exchange_rpc.CoinR\x04\x66\x65\x65s\x12)\n\x10\x63ontract_address\x18\x06 \x01(\tR\x0f\x63ontractAddress\x12&\n\x0findex_by_sender\x18\x07 \x01(\x11R\rindexBySender\x12\x37\n\x18index_by_sender_contract\x18\x08 \x01(\x11R\x15indexBySenderContract\x12\x17\n\x07tx_hash\x18\t \x01(\tR\x06txHash\x12\x1f\n\x0b\x65xecuted_at\x18\n \x01(\x12R\nexecutedAt\x12#\n\rrefund_amount\x18\x0b \x01(\tR\x0crefundAmount\"4\n\x04\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount2\x9e\x11\n\x18InjectiveSpotExchangeRPC\x12\x64\n\x07Markets\x12+.injective_spot_exchange_rpc.MarketsRequest\x1a,.injective_spot_exchange_rpc.MarketsResponse\x12\x61\n\x06Market\x12*.injective_spot_exchange_rpc.MarketRequest\x1a+.injective_spot_exchange_rpc.MarketResponse\x12x\n\rStreamMarkets\x12\x31.injective_spot_exchange_rpc.StreamMarketsRequest\x1a\x32.injective_spot_exchange_rpc.StreamMarketsResponse0\x01\x12p\n\x0bOrderbookV2\x12/.injective_spot_exchange_rpc.OrderbookV2Request\x1a\x30.injective_spot_exchange_rpc.OrderbookV2Response\x12s\n\x0cOrderbooksV2\x12\x30.injective_spot_exchange_rpc.OrderbooksV2Request\x1a\x31.injective_spot_exchange_rpc.OrderbooksV2Response\x12\x84\x01\n\x11StreamOrderbookV2\x12\x35.injective_spot_exchange_rpc.StreamOrderbookV2Request\x1a\x36.injective_spot_exchange_rpc.StreamOrderbookV2Response0\x01\x12\x90\x01\n\x15StreamOrderbookUpdate\x12\x39.injective_spot_exchange_rpc.StreamOrderbookUpdateRequest\x1a:.injective_spot_exchange_rpc.StreamOrderbookUpdateResponse0\x01\x12\x61\n\x06Orders\x12*.injective_spot_exchange_rpc.OrdersRequest\x1a+.injective_spot_exchange_rpc.OrdersResponse\x12u\n\x0cStreamOrders\x12\x30.injective_spot_exchange_rpc.StreamOrdersRequest\x1a\x31.injective_spot_exchange_rpc.StreamOrdersResponse0\x01\x12\x61\n\x06Trades\x12*.injective_spot_exchange_rpc.TradesRequest\x1a+.injective_spot_exchange_rpc.TradesResponse\x12u\n\x0cStreamTrades\x12\x30.injective_spot_exchange_rpc.StreamTradesRequest\x1a\x31.injective_spot_exchange_rpc.StreamTradesResponse0\x01\x12g\n\x08TradesV2\x12,.injective_spot_exchange_rpc.TradesV2Request\x1a-.injective_spot_exchange_rpc.TradesV2Response\x12{\n\x0eStreamTradesV2\x12\x32.injective_spot_exchange_rpc.StreamTradesV2Request\x1a\x33.injective_spot_exchange_rpc.StreamTradesV2Response0\x01\x12\x8b\x01\n\x14SubaccountOrdersList\x12\x38.injective_spot_exchange_rpc.SubaccountOrdersListRequest\x1a\x39.injective_spot_exchange_rpc.SubaccountOrdersListResponse\x12\x8b\x01\n\x14SubaccountTradesList\x12\x38.injective_spot_exchange_rpc.SubaccountTradesListRequest\x1a\x39.injective_spot_exchange_rpc.SubaccountTradesListResponse\x12v\n\rOrdersHistory\x12\x31.injective_spot_exchange_rpc.OrdersHistoryRequest\x1a\x32.injective_spot_exchange_rpc.OrdersHistoryResponse\x12\x8a\x01\n\x13StreamOrdersHistory\x12\x37.injective_spot_exchange_rpc.StreamOrdersHistoryRequest\x1a\x38.injective_spot_exchange_rpc.StreamOrdersHistoryResponse0\x01\x12\x82\x01\n\x11\x41tomicSwapHistory\x12\x35.injective_spot_exchange_rpc.AtomicSwapHistoryRequest\x1a\x36.injective_spot_exchange_rpc.AtomicSwapHistoryResponseB\xe0\x01\n\x1f\x63om.injective_spot_exchange_rpcB\x1dInjectiveSpotExchangeRpcProtoP\x01Z\x1e/injective_spot_exchange_rpcpb\xa2\x02\x03IXX\xaa\x02\x18InjectiveSpotExchangeRpc\xca\x02\x18InjectiveSpotExchangeRpc\xe2\x02$InjectiveSpotExchangeRpc\\GPBMetadata\xea\x02\x18InjectiveSpotExchangeRpcb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_spot_exchange_rpc_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective_spot_exchange_rpcB\035InjectiveSpotExchangeRpcProtoP\001Z\036/injective_spot_exchange_rpcpb\242\002\003IXX\252\002\030InjectiveSpotExchangeRpc\312\002\030InjectiveSpotExchangeRpc\342\002$InjectiveSpotExchangeRpc\\GPBMetadata\352\002\030InjectiveSpotExchangeRpc' - _globals['_MARKETSREQUEST']._serialized_start=76 - _globals['_MARKETSREQUEST']._serialized_end=234 - _globals['_MARKETSRESPONSE']._serialized_start=236 - _globals['_MARKETSRESPONSE']._serialized_end=324 - _globals['_SPOTMARKETINFO']._serialized_start=327 - _globals['_SPOTMARKETINFO']._serialized_end=920 - _globals['_TOKENMETA']._serialized_start=923 - _globals['_TOKENMETA']._serialized_end=1083 - _globals['_MARKETREQUEST']._serialized_start=1085 - _globals['_MARKETREQUEST']._serialized_end=1129 - _globals['_MARKETRESPONSE']._serialized_start=1131 - _globals['_MARKETRESPONSE']._serialized_end=1216 - _globals['_STREAMMARKETSREQUEST']._serialized_start=1218 - _globals['_STREAMMARKETSREQUEST']._serialized_end=1271 - _globals['_STREAMMARKETSRESPONSE']._serialized_start=1274 - _globals['_STREAMMARKETSRESPONSE']._serialized_end=1435 - _globals['_ORDERBOOKV2REQUEST']._serialized_start=1437 - _globals['_ORDERBOOKV2REQUEST']._serialized_end=1486 - _globals['_ORDERBOOKV2RESPONSE']._serialized_start=1488 - _globals['_ORDERBOOKV2RESPONSE']._serialized_end=1590 - _globals['_SPOTLIMITORDERBOOKV2']._serialized_start=1593 - _globals['_SPOTLIMITORDERBOOKV2']._serialized_end=1797 - _globals['_PRICELEVEL']._serialized_start=1799 - _globals['_PRICELEVEL']._serialized_end=1891 - _globals['_ORDERBOOKSV2REQUEST']._serialized_start=1893 - _globals['_ORDERBOOKSV2REQUEST']._serialized_end=1945 - _globals['_ORDERBOOKSV2RESPONSE']._serialized_start=1947 - _globals['_ORDERBOOKSV2RESPONSE']._serialized_end=2058 - _globals['_SINGLESPOTLIMITORDERBOOKV2']._serialized_start=2061 - _globals['_SINGLESPOTLIMITORDERBOOKV2']._serialized_end=2199 - _globals['_STREAMORDERBOOKV2REQUEST']._serialized_start=2201 - _globals['_STREAMORDERBOOKV2REQUEST']._serialized_end=2258 - _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_start=2261 - _globals['_STREAMORDERBOOKV2RESPONSE']._serialized_end=2467 - _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_start=2469 - _globals['_STREAMORDERBOOKUPDATEREQUEST']._serialized_end=2530 - _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_start=2533 - _globals['_STREAMORDERBOOKUPDATERESPONSE']._serialized_end=2770 - _globals['_ORDERBOOKLEVELUPDATES']._serialized_start=2773 - _globals['_ORDERBOOKLEVELUPDATES']._serialized_end=3020 - _globals['_PRICELEVELUPDATE']._serialized_start=3022 - _globals['_PRICELEVELUPDATE']._serialized_end=3149 - _globals['_ORDERSREQUEST']._serialized_start=3152 - _globals['_ORDERSREQUEST']._serialized_end=3539 - _globals['_ORDERSRESPONSE']._serialized_start=3542 - _globals['_ORDERSRESPONSE']._serialized_end=3688 - _globals['_SPOTLIMITORDER']._serialized_start=3691 - _globals['_SPOTLIMITORDER']._serialized_end=4131 - _globals['_PAGING']._serialized_start=4134 - _globals['_PAGING']._serialized_end=4268 - _globals['_STREAMORDERSREQUEST']._serialized_start=4271 - _globals['_STREAMORDERSREQUEST']._serialized_end=4664 - _globals['_STREAMORDERSRESPONSE']._serialized_start=4667 - _globals['_STREAMORDERSRESPONSE']._serialized_end=4825 - _globals['_TRADESREQUEST']._serialized_start=4828 - _globals['_TRADESREQUEST']._serialized_end=5275 - _globals['_TRADESRESPONSE']._serialized_start=5278 - _globals['_TRADESRESPONSE']._serialized_end=5419 - _globals['_SPOTTRADE']._serialized_start=5422 - _globals['_SPOTTRADE']._serialized_end=5856 - _globals['_STREAMTRADESREQUEST']._serialized_start=5859 - _globals['_STREAMTRADESREQUEST']._serialized_end=6312 - _globals['_STREAMTRADESRESPONSE']._serialized_start=6315 - _globals['_STREAMTRADESRESPONSE']._serialized_end=6468 - _globals['_TRADESV2REQUEST']._serialized_start=6471 - _globals['_TRADESV2REQUEST']._serialized_end=6920 - _globals['_TRADESV2RESPONSE']._serialized_start=6923 - _globals['_TRADESV2RESPONSE']._serialized_end=7066 - _globals['_STREAMTRADESV2REQUEST']._serialized_start=7069 - _globals['_STREAMTRADESV2REQUEST']._serialized_end=7524 - _globals['_STREAMTRADESV2RESPONSE']._serialized_start=7527 - _globals['_STREAMTRADESV2RESPONSE']._serialized_end=7682 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_start=7685 - _globals['_SUBACCOUNTORDERSLISTREQUEST']._serialized_end=7822 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_start=7825 - _globals['_SUBACCOUNTORDERSLISTRESPONSE']._serialized_end=7985 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_start=7988 - _globals['_SUBACCOUNTTRADESLISTREQUEST']._serialized_end=8194 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_start=8196 - _globals['_SUBACCOUNTTRADESLISTRESPONSE']._serialized_end=8290 - _globals['_ORDERSHISTORYREQUEST']._serialized_start=8293 - _globals['_ORDERSHISTORYREQUEST']._serialized_end=8731 - _globals['_ORDERSHISTORYRESPONSE']._serialized_start=8734 - _globals['_ORDERSHISTORYRESPONSE']._serialized_end=8889 - _globals['_SPOTORDERHISTORY']._serialized_start=8892 - _globals['_SPOTORDERHISTORY']._serialized_end=9391 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_start=9394 - _globals['_STREAMORDERSHISTORYREQUEST']._serialized_end=9614 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_start=9617 - _globals['_STREAMORDERSHISTORYRESPONSE']._serialized_end=9784 - _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_start=9787 - _globals['_ATOMICSWAPHISTORYREQUEST']._serialized_end=9986 - _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_start=9989 - _globals['_ATOMICSWAPHISTORYRESPONSE']._serialized_end=10138 - _globals['_ATOMICSWAP']._serialized_start=10141 - _globals['_ATOMICSWAP']._serialized_end=10621 - _globals['_COIN']._serialized_start=10623 - _globals['_COIN']._serialized_end=10675 - _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_start=10678 - _globals['_INJECTIVESPOTEXCHANGERPC']._serialized_end=12884 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2_grpc.py b/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2_grpc.py deleted file mode 100644 index 5559f838..00000000 --- a/pyinjective/proto/exchange/injective_spot_exchange_rpc_pb2_grpc.py +++ /dev/null @@ -1,829 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.exchange import injective_spot_exchange_rpc_pb2 as exchange_dot_injective__spot__exchange__rpc__pb2 - - -class InjectiveSpotExchangeRPCStub(object): - """InjectiveSpotExchangeRPC defines gRPC API of Spot Exchange provider. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Markets = channel.unary_unary( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Markets', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.MarketsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.MarketsResponse.FromString, - _registered_method=True) - self.Market = channel.unary_unary( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Market', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.MarketRequest.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.MarketResponse.FromString, - _registered_method=True) - self.StreamMarkets = channel.unary_stream( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamMarkets', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamMarketsRequest.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamMarketsResponse.FromString, - _registered_method=True) - self.OrderbookV2 = channel.unary_unary( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbookV2', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookV2Request.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookV2Response.FromString, - _registered_method=True) - self.OrderbooksV2 = channel.unary_unary( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbooksV2', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksV2Request.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksV2Response.FromString, - _registered_method=True) - self.StreamOrderbookV2 = channel.unary_stream( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookV2', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookV2Request.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookV2Response.FromString, - _registered_method=True) - self.StreamOrderbookUpdate = channel.unary_stream( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookUpdate', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookUpdateRequest.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookUpdateResponse.FromString, - _registered_method=True) - self.Orders = channel.unary_unary( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orders', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrdersRequest.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrdersResponse.FromString, - _registered_method=True) - self.StreamOrders = channel.unary_stream( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrders', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersRequest.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersResponse.FromString, - _registered_method=True) - self.Trades = channel.unary_unary( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Trades', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.TradesRequest.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.TradesResponse.FromString, - _registered_method=True) - self.StreamTrades = channel.unary_stream( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamTrades', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamTradesRequest.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamTradesResponse.FromString, - _registered_method=True) - self.TradesV2 = channel.unary_unary( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/TradesV2', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.TradesV2Request.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.TradesV2Response.FromString, - _registered_method=True) - self.StreamTradesV2 = channel.unary_stream( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamTradesV2', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamTradesV2Request.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamTradesV2Response.FromString, - _registered_method=True) - self.SubaccountOrdersList = channel.unary_unary( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountOrdersList', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.SubaccountOrdersListRequest.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.SubaccountOrdersListResponse.FromString, - _registered_method=True) - self.SubaccountTradesList = channel.unary_unary( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountTradesList', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.SubaccountTradesListRequest.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.SubaccountTradesListResponse.FromString, - _registered_method=True) - self.OrdersHistory = channel.unary_unary( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrdersHistory', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrdersHistoryRequest.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrdersHistoryResponse.FromString, - _registered_method=True) - self.StreamOrdersHistory = channel.unary_stream( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrdersHistory', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersHistoryRequest.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersHistoryResponse.FromString, - _registered_method=True) - self.AtomicSwapHistory = channel.unary_unary( - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/AtomicSwapHistory', - request_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.AtomicSwapHistoryRequest.SerializeToString, - response_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.AtomicSwapHistoryResponse.FromString, - _registered_method=True) - - -class InjectiveSpotExchangeRPCServicer(object): - """InjectiveSpotExchangeRPC defines gRPC API of Spot Exchange provider. - """ - - def Markets(self, request, context): - """Get a list of Spot Markets - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Market(self, request, context): - """Get details of a single spot market - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamMarkets(self, request, context): - """Stream live updates of selected spot markets - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def OrderbookV2(self, request, context): - """Orderbook of a Spot Market - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def OrderbooksV2(self, request, context): - """Orderbook of Spot Markets - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamOrderbookV2(self, request, context): - """Stream live snapshot updates of selected spot market orderbook - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamOrderbookUpdate(self, request, context): - """Stream live level updates of selected spot market orderbook - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Orders(self, request, context): - """Orders of a Spot Market - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamOrders(self, request, context): - """Stream updates to individual orders of a Spot Market - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Trades(self, request, context): - """Trades of a Spot Market - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamTrades(self, request, context): - """Stream newly executed trades from Spot Market - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TradesV2(self, request, context): - """Trades of a Spot Market - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamTradesV2(self, request, context): - """Stream newly executed trades from Spot Market - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubaccountOrdersList(self, request, context): - """List orders posted from this subaccount - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubaccountTradesList(self, request, context): - """List trades executed by this subaccount - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def OrdersHistory(self, request, context): - """Lists history orders posted from this subaccount - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamOrdersHistory(self, request, context): - """Stream updates to historical orders of a spot Market - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AtomicSwapHistory(self, request, context): - """Get historical atomic swaps - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_InjectiveSpotExchangeRPCServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Markets': grpc.unary_unary_rpc_method_handler( - servicer.Markets, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.MarketsRequest.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.MarketsResponse.SerializeToString, - ), - 'Market': grpc.unary_unary_rpc_method_handler( - servicer.Market, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.MarketRequest.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.MarketResponse.SerializeToString, - ), - 'StreamMarkets': grpc.unary_stream_rpc_method_handler( - servicer.StreamMarkets, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamMarketsRequest.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamMarketsResponse.SerializeToString, - ), - 'OrderbookV2': grpc.unary_unary_rpc_method_handler( - servicer.OrderbookV2, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookV2Request.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookV2Response.SerializeToString, - ), - 'OrderbooksV2': grpc.unary_unary_rpc_method_handler( - servicer.OrderbooksV2, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksV2Request.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksV2Response.SerializeToString, - ), - 'StreamOrderbookV2': grpc.unary_stream_rpc_method_handler( - servicer.StreamOrderbookV2, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookV2Request.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookV2Response.SerializeToString, - ), - 'StreamOrderbookUpdate': grpc.unary_stream_rpc_method_handler( - servicer.StreamOrderbookUpdate, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookUpdateRequest.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookUpdateResponse.SerializeToString, - ), - 'Orders': grpc.unary_unary_rpc_method_handler( - servicer.Orders, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrdersRequest.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrdersResponse.SerializeToString, - ), - 'StreamOrders': grpc.unary_stream_rpc_method_handler( - servicer.StreamOrders, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersRequest.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersResponse.SerializeToString, - ), - 'Trades': grpc.unary_unary_rpc_method_handler( - servicer.Trades, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.TradesRequest.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.TradesResponse.SerializeToString, - ), - 'StreamTrades': grpc.unary_stream_rpc_method_handler( - servicer.StreamTrades, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamTradesRequest.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamTradesResponse.SerializeToString, - ), - 'TradesV2': grpc.unary_unary_rpc_method_handler( - servicer.TradesV2, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.TradesV2Request.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.TradesV2Response.SerializeToString, - ), - 'StreamTradesV2': grpc.unary_stream_rpc_method_handler( - servicer.StreamTradesV2, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamTradesV2Request.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamTradesV2Response.SerializeToString, - ), - 'SubaccountOrdersList': grpc.unary_unary_rpc_method_handler( - servicer.SubaccountOrdersList, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.SubaccountOrdersListRequest.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.SubaccountOrdersListResponse.SerializeToString, - ), - 'SubaccountTradesList': grpc.unary_unary_rpc_method_handler( - servicer.SubaccountTradesList, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.SubaccountTradesListRequest.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.SubaccountTradesListResponse.SerializeToString, - ), - 'OrdersHistory': grpc.unary_unary_rpc_method_handler( - servicer.OrdersHistory, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrdersHistoryRequest.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.OrdersHistoryResponse.SerializeToString, - ), - 'StreamOrdersHistory': grpc.unary_stream_rpc_method_handler( - servicer.StreamOrdersHistory, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersHistoryRequest.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersHistoryResponse.SerializeToString, - ), - 'AtomicSwapHistory': grpc.unary_unary_rpc_method_handler( - servicer.AtomicSwapHistory, - request_deserializer=exchange_dot_injective__spot__exchange__rpc__pb2.AtomicSwapHistoryRequest.FromString, - response_serializer=exchange_dot_injective__spot__exchange__rpc__pb2.AtomicSwapHistoryResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective_spot_exchange_rpc.InjectiveSpotExchangeRPC', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective_spot_exchange_rpc.InjectiveSpotExchangeRPC', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class InjectiveSpotExchangeRPC(object): - """InjectiveSpotExchangeRPC defines gRPC API of Spot Exchange provider. - """ - - @staticmethod - def Markets(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Markets', - exchange_dot_injective__spot__exchange__rpc__pb2.MarketsRequest.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.MarketsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Market(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Market', - exchange_dot_injective__spot__exchange__rpc__pb2.MarketRequest.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.MarketResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamMarkets(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, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamMarkets', - exchange_dot_injective__spot__exchange__rpc__pb2.StreamMarketsRequest.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.StreamMarketsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def OrderbookV2(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbookV2', - exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookV2Request.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.OrderbookV2Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def OrderbooksV2(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbooksV2', - exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksV2Request.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.OrderbooksV2Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamOrderbookV2(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, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookV2', - exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookV2Request.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookV2Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamOrderbookUpdate(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, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookUpdate', - exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookUpdateRequest.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrderbookUpdateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Orders(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orders', - exchange_dot_injective__spot__exchange__rpc__pb2.OrdersRequest.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.OrdersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamOrders(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, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrders', - exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersRequest.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Trades(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Trades', - exchange_dot_injective__spot__exchange__rpc__pb2.TradesRequest.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.TradesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamTrades(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, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamTrades', - exchange_dot_injective__spot__exchange__rpc__pb2.StreamTradesRequest.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.StreamTradesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def TradesV2(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/TradesV2', - exchange_dot_injective__spot__exchange__rpc__pb2.TradesV2Request.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.TradesV2Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamTradesV2(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, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamTradesV2', - exchange_dot_injective__spot__exchange__rpc__pb2.StreamTradesV2Request.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.StreamTradesV2Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SubaccountOrdersList(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountOrdersList', - exchange_dot_injective__spot__exchange__rpc__pb2.SubaccountOrdersListRequest.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.SubaccountOrdersListResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SubaccountTradesList(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountTradesList', - exchange_dot_injective__spot__exchange__rpc__pb2.SubaccountTradesListRequest.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.SubaccountTradesListResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def OrdersHistory(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrdersHistory', - exchange_dot_injective__spot__exchange__rpc__pb2.OrdersHistoryRequest.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.OrdersHistoryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StreamOrdersHistory(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, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrdersHistory', - exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersHistoryRequest.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.StreamOrdersHistoryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AtomicSwapHistory(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/AtomicSwapHistory', - exchange_dot_injective__spot__exchange__rpc__pb2.AtomicSwapHistoryRequest.SerializeToString, - exchange_dot_injective__spot__exchange__rpc__pb2.AtomicSwapHistoryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/exchange/injective_trading_rpc_pb2.py b/pyinjective/proto/exchange/injective_trading_rpc_pb2.py deleted file mode 100644 index 833b12d5..00000000 --- a/pyinjective/proto/exchange/injective_trading_rpc_pb2.py +++ /dev/null @@ -1,37 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: exchange/injective_trading_rpc.proto -# Protobuf Python Version: 5.26.1 -"""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$exchange/injective_trading_rpc.proto\x12\x15injective_trading_rpc\"\xf6\x02\n\x1cListTradingStrategiesRequest\x12\x14\n\x05state\x18\x01 \x01(\tR\x05state\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x04 \x01(\tR\x0e\x61\x63\x63ountAddress\x12+\n\x11pending_execution\x18\x05 \x01(\x08R\x10pendingExecution\x12\x1d\n\nstart_time\x18\x06 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\x07 \x01(\x12R\x07\x65ndTime\x12\x14\n\x05limit\x18\x08 \x01(\x11R\x05limit\x12\x12\n\x04skip\x18\t \x01(\x04R\x04skip\x12#\n\rstrategy_type\x18\n \x03(\tR\x0cstrategyType\x12\x1f\n\x0bmarket_type\x18\x0b \x01(\tR\nmarketType\"\x9e\x01\n\x1dListTradingStrategiesResponse\x12\x46\n\nstrategies\x18\x01 \x03(\x0b\x32&.injective_trading_rpc.TradingStrategyR\nstrategies\x12\x35\n\x06paging\x18\x02 \x01(\x0b\x32\x1d.injective_trading_rpc.PagingR\x06paging\"\xd9\n\n\x0fTradingStrategy\x12\x14\n\x05state\x18\x01 \x01(\tR\x05state\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x04 \x01(\tR\x0e\x61\x63\x63ountAddress\x12)\n\x10\x63ontract_address\x18\x05 \x01(\tR\x0f\x63ontractAddress\x12\'\n\x0f\x65xecution_price\x18\x06 \x01(\tR\x0e\x65xecutionPrice\x12#\n\rbase_quantity\x18\x07 \x01(\tR\x0c\x62\x61seQuantity\x12%\n\x0equote_quantity\x18\x14 \x01(\tR\rquoteQuantity\x12\x1f\n\x0blower_bound\x18\x08 \x01(\tR\nlowerBound\x12\x1f\n\x0bupper_bound\x18\t \x01(\tR\nupperBound\x12\x1b\n\tstop_loss\x18\n \x01(\tR\x08stopLoss\x12\x1f\n\x0btake_profit\x18\x0b \x01(\tR\ntakeProfit\x12\x19\n\x08swap_fee\x18\x0c \x01(\tR\x07swapFee\x12!\n\x0c\x62\x61se_deposit\x18\x11 \x01(\tR\x0b\x62\x61seDeposit\x12#\n\rquote_deposit\x18\x12 \x01(\tR\x0cquoteDeposit\x12(\n\x10market_mid_price\x18\x13 \x01(\tR\x0emarketMidPrice\x12>\n\x1bsubscription_quote_quantity\x18\x15 \x01(\tR\x19subscriptionQuoteQuantity\x12<\n\x1asubscription_base_quantity\x18\x16 \x01(\tR\x18subscriptionBaseQuantity\x12\x31\n\x15number_of_grid_levels\x18\x17 \x01(\tR\x12numberOfGridLevels\x12<\n\x1bshould_exit_with_quote_only\x18\x18 \x01(\x08R\x17shouldExitWithQuoteOnly\x12\x1f\n\x0bstop_reason\x18\x19 \x01(\tR\nstopReason\x12+\n\x11pending_execution\x18\x1a \x01(\x08R\x10pendingExecution\x12%\n\x0e\x63reated_height\x18\r \x01(\x12R\rcreatedHeight\x12%\n\x0eremoved_height\x18\x0e \x01(\x12R\rremovedHeight\x12\x1d\n\ncreated_at\x18\x0f \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x10 \x01(\x12R\tupdatedAt\x12\x1b\n\texit_type\x18\x1b \x01(\tR\x08\x65xitType\x12K\n\x10stop_loss_config\x18\x1c \x01(\x0b\x32!.injective_trading_rpc.ExitConfigR\x0estopLossConfig\x12O\n\x12take_profit_config\x18\x1d \x01(\x0b\x32!.injective_trading_rpc.ExitConfigR\x10takeProfitConfig\x12#\n\rstrategy_type\x18\x1e \x01(\tR\x0cstrategyType\x12)\n\x10\x63ontract_version\x18\x1f \x01(\tR\x0f\x63ontractVersion\x12#\n\rcontract_name\x18 \x01(\tR\x0c\x63ontractName\x12\x1f\n\x0bmarket_type\x18! \x01(\tR\nmarketType\"H\n\nExitConfig\x12\x1b\n\texit_type\x18\x01 \x01(\tR\x08\x65xitType\x12\x1d\n\nexit_price\x18\x02 \x01(\tR\texitPrice\"\x86\x01\n\x06Paging\x12\x14\n\x05total\x18\x01 \x01(\x12R\x05total\x12\x12\n\x04\x66rom\x18\x02 \x01(\x11R\x04\x66rom\x12\x0e\n\x02to\x18\x03 \x01(\x11R\x02to\x12.\n\x13\x63ount_by_subaccount\x18\x04 \x01(\x12R\x11\x63ountBySubaccount\x12\x12\n\x04next\x18\x05 \x03(\tR\x04next2\x9a\x01\n\x13InjectiveTradingRPC\x12\x82\x01\n\x15ListTradingStrategies\x12\x33.injective_trading_rpc.ListTradingStrategiesRequest\x1a\x34.injective_trading_rpc.ListTradingStrategiesResponseB\xbb\x01\n\x19\x63om.injective_trading_rpcB\x18InjectiveTradingRpcProtoP\x01Z\x18/injective_trading_rpcpb\xa2\x02\x03IXX\xaa\x02\x13InjectiveTradingRpc\xca\x02\x13InjectiveTradingRpc\xe2\x02\x1fInjectiveTradingRpc\\GPBMetadata\xea\x02\x13InjectiveTradingRpcb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'exchange.injective_trading_rpc_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.injective_trading_rpcB\030InjectiveTradingRpcProtoP\001Z\030/injective_trading_rpcpb\242\002\003IXX\252\002\023InjectiveTradingRpc\312\002\023InjectiveTradingRpc\342\002\037InjectiveTradingRpc\\GPBMetadata\352\002\023InjectiveTradingRpc' - _globals['_LISTTRADINGSTRATEGIESREQUEST']._serialized_start=64 - _globals['_LISTTRADINGSTRATEGIESREQUEST']._serialized_end=438 - _globals['_LISTTRADINGSTRATEGIESRESPONSE']._serialized_start=441 - _globals['_LISTTRADINGSTRATEGIESRESPONSE']._serialized_end=599 - _globals['_TRADINGSTRATEGY']._serialized_start=602 - _globals['_TRADINGSTRATEGY']._serialized_end=1971 - _globals['_EXITCONFIG']._serialized_start=1973 - _globals['_EXITCONFIG']._serialized_end=2045 - _globals['_PAGING']._serialized_start=2048 - _globals['_PAGING']._serialized_end=2182 - _globals['_INJECTIVETRADINGRPC']._serialized_start=2185 - _globals['_INJECTIVETRADINGRPC']._serialized_end=2339 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_trading_rpc_pb2_grpc.py b/pyinjective/proto/exchange/injective_trading_rpc_pb2_grpc.py deleted file mode 100644 index f0c3e8df..00000000 --- a/pyinjective/proto/exchange/injective_trading_rpc_pb2_grpc.py +++ /dev/null @@ -1,84 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.exchange import injective_trading_rpc_pb2 as exchange_dot_injective__trading__rpc__pb2 - - -class InjectiveTradingRPCStub(object): - """InjectiveTradingStrategiesRPC defined a gRPC service for Injective Trading - Strategies. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.ListTradingStrategies = channel.unary_unary( - '/injective_trading_rpc.InjectiveTradingRPC/ListTradingStrategies', - request_serializer=exchange_dot_injective__trading__rpc__pb2.ListTradingStrategiesRequest.SerializeToString, - response_deserializer=exchange_dot_injective__trading__rpc__pb2.ListTradingStrategiesResponse.FromString, - _registered_method=True) - - -class InjectiveTradingRPCServicer(object): - """InjectiveTradingStrategiesRPC defined a gRPC service for Injective Trading - Strategies. - """ - - def ListTradingStrategies(self, request, context): - """Lists all trading strategies - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_InjectiveTradingRPCServicer_to_server(servicer, server): - rpc_method_handlers = { - 'ListTradingStrategies': grpc.unary_unary_rpc_method_handler( - servicer.ListTradingStrategies, - request_deserializer=exchange_dot_injective__trading__rpc__pb2.ListTradingStrategiesRequest.FromString, - response_serializer=exchange_dot_injective__trading__rpc__pb2.ListTradingStrategiesResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective_trading_rpc.InjectiveTradingRPC', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective_trading_rpc.InjectiveTradingRPC', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class InjectiveTradingRPC(object): - """InjectiveTradingStrategiesRPC defined a gRPC service for Injective Trading - Strategies. - """ - - @staticmethod - def ListTradingStrategies(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_trading_rpc.InjectiveTradingRPC/ListTradingStrategies', - exchange_dot_injective__trading__rpc__pb2.ListTradingStrategiesRequest.SerializeToString, - exchange_dot_injective__trading__rpc__pb2.ListTradingStrategiesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) From ec27603d57c3a855c38d6f4007dd195b546a3f23 Mon Sep 17 00:00:00 2001 From: enigmarikki Date: Thu, 30 Jan 2025 16:33:16 +0000 Subject: [PATCH 2/7] "fix: removed indexer" --- pyinjective/async_client.py | 830 +----------------- pyinjective/composer.py | 19 - pyinjective/core/ibc/channel/grpc/__init__.py | 2 +- pyinjective/core/ibc/client/grpc/__init__.py | 2 +- .../core/ibc/connection/grpc/__init__.py | 2 +- .../core/ibc/transfer/grpc/__init__.py | 2 +- pyinjective/core/tendermint/grpc/__init__.py | 2 +- 7 files changed, 36 insertions(+), 823 deletions(-) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 24c83006..6a4322f9 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -98,19 +98,7 @@ def __init__( self.timeout_height = 1 # exchange stubs - self.exchange_channel = self.network.create_exchange_grpc_channel() - self.stubMeta = exchange_meta_rpc_grpc.InjectiveMetaRPCStub(self.exchange_channel) - self.stubExchangeAccount = exchange_accounts_rpc_grpc.InjectiveAccountsRPCStub(self.exchange_channel) - self.stubOracle = oracle_rpc_grpc.InjectiveOracleRPCStub(self.exchange_channel) - self.stubInsurance = insurance_rpc_grpc.InjectiveInsuranceRPCStub(self.exchange_channel) - self.stubSpotExchange = spot_exchange_rpc_grpc.InjectiveSpotExchangeRPCStub(self.exchange_channel) - self.stubDerivativeExchange = derivative_exchange_rpc_grpc.InjectiveDerivativeExchangeRPCStub( - self.exchange_channel - ) - self.stubAuction = auction_rpc_grpc.InjectiveAuctionRPCStub(self.exchange_channel) - self.stubPortfolio = portfolio_rpc_grpc.InjectivePortfolioRPCStub(self.exchange_channel) - - + self.chain_stream_channel = self.network.create_chain_stream_grpc_channel() self.chain_stream_stub = stream_rpc_grpc.StreamStub(channel=self.chain_stream_channel) @@ -218,7 +206,7 @@ def __init__( # channel=self.exchange_channel, # cookie_assistant=network.exchange_cookie_assistant, # ) -# + # # self.exchange_account_stream_api = IndexerGrpcAccountStream( # channel=self.exchange_channel, # cookie_assistant=network.exchange_cookie_assistant, @@ -630,7 +618,7 @@ async def fetch_denom_decimal(self, denom: str) -> Dict[str, Any]: async def fetch_denom_decimals(self, denoms: Optional[List[str]] = None) -> Dict[str, Any]: return await self.chain_exchange_api.fetch_denom_decimals(denoms=denoms) - async def fetch_chain_spot_markets( + async def fetch_spot_markets( self, status: Optional[str] = None, market_ids: Optional[List[str]] = None, @@ -640,7 +628,7 @@ async def fetch_chain_spot_markets( market_ids=market_ids, ) - async def fetch_chain_spot_market( + async def fetch_spot_market( self, market_id: str, ) -> Dict[str, Any]: @@ -648,7 +636,7 @@ async def fetch_chain_spot_market( market_id=market_id, ) - async def fetch_chain_full_spot_markets( + async def fetch_full_spot_markets( self, status: Optional[str] = None, market_ids: Optional[List[str]] = None, @@ -660,7 +648,7 @@ async def fetch_chain_full_spot_markets( with_mid_price_and_tob=with_mid_price_and_tob, ) - async def fetch_chain_full_spot_market( + async def fetch_full_spot_market( self, market_id: str, with_mid_price_and_tob: Optional[bool] = None, @@ -670,7 +658,7 @@ async def fetch_chain_full_spot_market( with_mid_price_and_tob=with_mid_price_and_tob, ) - async def fetch_chain_spot_orderbook( + async def fetch_spot_orderbook( self, market_id: str, order_side: Optional[str] = None, @@ -687,7 +675,7 @@ async def fetch_chain_spot_orderbook( pagination=pagination, ) - async def fetch_chain_trader_spot_orders( + async def fetch_trader_spot_orders( self, market_id: str, subaccount_id: str, @@ -697,7 +685,7 @@ async def fetch_chain_trader_spot_orders( subaccount_id=subaccount_id, ) - async def fetch_chain_account_address_spot_orders( + async def fetch_account_address_spot_orders( self, market_id: str, account_address: str, @@ -707,7 +695,7 @@ async def fetch_chain_account_address_spot_orders( account_address=account_address, ) - async def fetch_chain_spot_orders_by_hashes( + async def fetch_spot_orders_by_hashes( self, market_id: str, subaccount_id: str, @@ -719,7 +707,7 @@ async def fetch_chain_spot_orders_by_hashes( order_hashes=order_hashes, ) - async def fetch_chain_subaccount_orders( + async def fetch_subaccount_orders( self, subaccount_id: str, market_id: str, @@ -729,7 +717,7 @@ async def fetch_chain_subaccount_orders( market_id=market_id, ) - async def fetch_chain_trader_spot_transient_orders( + async def fetch_trader_spot_transient_orders( self, market_id: str, subaccount_id: str, @@ -755,7 +743,7 @@ async def fetch_derivative_mid_price_and_tob( market_id=market_id, ) - async def fetch_chain_derivative_orderbook( + async def fetch_derivative_orderbook( self, market_id: str, limit_cumulative_notional: Optional[str] = None, @@ -767,7 +755,7 @@ async def fetch_chain_derivative_orderbook( pagination=pagination, ) - async def fetch_chain_trader_derivative_orders( + async def fetch_trader_derivative_orders( self, market_id: str, subaccount_id: str, @@ -777,7 +765,7 @@ async def fetch_chain_trader_derivative_orders( subaccount_id=subaccount_id, ) - async def fetch_chain_account_address_derivative_orders( + async def fetch_account_address_derivative_orders( self, market_id: str, account_address: str, @@ -787,7 +775,7 @@ async def fetch_chain_account_address_derivative_orders( account_address=account_address, ) - async def fetch_chain_derivative_orders_by_hashes( + async def fetch_derivative_orders_by_hashes( self, market_id: str, subaccount_id: str, @@ -799,7 +787,7 @@ async def fetch_chain_derivative_orders_by_hashes( order_hashes=order_hashes, ) - async def fetch_chain_trader_derivative_transient_orders( + async def fetch_trader_derivative_transient_orders( self, market_id: str, subaccount_id: str, @@ -809,7 +797,7 @@ async def fetch_chain_trader_derivative_transient_orders( subaccount_id=subaccount_id, ) - async def fetch_chain_derivative_markets( + async def fetch_derivative_markets( self, status: Optional[str] = None, market_ids: Optional[List[str]] = None, @@ -821,7 +809,7 @@ async def fetch_chain_derivative_markets( with_mid_price_and_tob=with_mid_price_and_tob, ) - async def fetch_chain_derivative_market( + async def fetch_derivative_market( self, market_id: str, ) -> Dict[str, Any]: @@ -835,19 +823,19 @@ async def fetch_derivative_market_address(self, market_id: str) -> Dict[str, Any async def fetch_subaccount_trade_nonce(self, subaccount_id: str) -> Dict[str, Any]: return await self.chain_exchange_api.fetch_subaccount_trade_nonce(subaccount_id=subaccount_id) - async def fetch_chain_positions(self) -> Dict[str, Any]: + async def fetch_positions(self) -> Dict[str, Any]: return await self.chain_exchange_api.fetch_positions() - async def fetch_chain_subaccount_positions(self, subaccount_id: str) -> Dict[str, Any]: + async def fetch_subaccount_positions(self, subaccount_id: str) -> Dict[str, Any]: return await self.chain_exchange_api.fetch_subaccount_positions(subaccount_id=subaccount_id) - async def fetch_chain_subaccount_position_in_market(self, subaccount_id: str, market_id: str) -> Dict[str, Any]: + async def fetch_subaccount_position_in_market(self, subaccount_id: str, market_id: str) -> Dict[str, Any]: return await self.chain_exchange_api.fetch_subaccount_position_in_market( subaccount_id=subaccount_id, market_id=market_id, ) - async def fetch_chain_subaccount_effective_position_in_market( + async def fetch_subaccount_effective_position_in_market( self, subaccount_id: str, market_id: str ) -> Dict[str, Any]: return await self.chain_exchange_api.fetch_subaccount_effective_position_in_market( @@ -855,13 +843,13 @@ async def fetch_chain_subaccount_effective_position_in_market( market_id=market_id, ) - async def fetch_chain_perpetual_market_info(self, market_id: str) -> Dict[str, Any]: + async def fetch_perpetual_market_info(self, market_id: str) -> Dict[str, Any]: return await self.chain_exchange_api.fetch_perpetual_market_info(market_id=market_id) - async def fetch_chain_expiry_futures_market_info(self, market_id: str) -> Dict[str, Any]: + async def fetch_expiry_futures_market_info(self, market_id: str) -> Dict[str, Any]: return await self.chain_exchange_api.fetch_expiry_futures_market_info(market_id=market_id) - async def fetch_chain_perpetual_market_funding(self, market_id: str) -> Dict[str, Any]: + async def fetch_perpetual_market_funding(self, market_id: str) -> Dict[str, Any]: return await self.chain_exchange_api.fetch_perpetual_market_funding(market_id=market_id) async def fetch_subaccount_order_metadata(self, subaccount_id: str) -> Dict[str, Any]: @@ -936,7 +924,7 @@ async def fetch_market_volatility( include_metadata=include_metadata, ) - async def fetch_chain_binary_options_markets(self, status: Optional[str] = None) -> Dict[str, Any]: + async def fetch_binary_options_markets(self, status: Optional[str] = None) -> Dict[str, Any]: return await self.chain_exchange_api.fetch_binary_options_markets(status=status) async def fetch_trader_derivative_conditional_orders( @@ -959,38 +947,6 @@ async def fetch_market_atomic_execution_fee_multiplier( # Injective Exchange client methods - # Auction RPC - - async def get_auction(self, bid_round: int): - """ - This method is deprecated and will be removed soon. Please use `fetch_auction` instead - """ - warn("This method is deprecated. Use fetch_auction instead", DeprecationWarning, stacklevel=2) - req = auction_rpc_pb.AuctionEndpointRequest(round=bid_round) - return await self.stubAuction.AuctionEndpoint(req) - - async def fetch_auction(self, round: int) -> Dict[str, Any]: - return await self.exchange_auction_api.fetch_auction(round=round) - - async def get_auctions(self): - """ - This method is deprecated and will be removed soon. Please use `fetch_auctions` instead - """ - warn("This method is deprecated. Use fetch_auctions instead", DeprecationWarning, stacklevel=2) - req = auction_rpc_pb.AuctionsRequest() - return await self.stubAuction.Auctions(req) - - async def fetch_auctions(self) -> Dict[str, Any]: - return await self.exchange_auction_api.fetch_auctions() - - async def stream_bids(self): - """ - This method is deprecated and will be removed soon. Please use `listen_bids_updates` instead - """ - warn("This method is deprecated. Use listen_bids_updates instead", DeprecationWarning, stacklevel=2) - req = auction_rpc_pb.StreamBidsRequest() - return self.stubAuction.StreamBids(req) - async def listen_bids_updates( self, callback: Callable, @@ -1004,50 +960,6 @@ async def listen_bids_updates( ) # Meta RPC - - async def ping(self): - """ - This method is deprecated and will be removed soon. Please use `fetch_ping` instead - """ - warn("This method is deprecated. Use fetch_ping instead", DeprecationWarning, stacklevel=2) - req = exchange_meta_rpc_pb.PingRequest() - return await self.stubMeta.Ping(req) - - async def fetch_ping(self) -> Dict[str, Any]: - return await self.exchange_meta_api.fetch_ping() - - async def version(self): - """ - This method is deprecated and will be removed soon. Please use `fetch_version` instead - """ - warn("This method is deprecated. Use fetch_version instead", DeprecationWarning, stacklevel=2) - req = exchange_meta_rpc_pb.VersionRequest() - return await self.stubMeta.Version(req) - - async def fetch_version(self) -> Dict[str, Any]: - return await self.exchange_meta_api.fetch_version() - - async def info(self): - """ - This method is deprecated and will be removed soon. Please use `fetch_info` instead - """ - warn("This method is deprecated. Use fetch_info instead", DeprecationWarning, stacklevel=2) - req = exchange_meta_rpc_pb.InfoRequest( - timestamp=int(time.time() * 1000), - ) - return await self.stubMeta.Info(req) - - async def fetch_info(self) -> Dict[str, Any]: - return await self.exchange_meta_api.fetch_info() - - async def stream_keepalive(self): - """ - This method is deprecated and will be removed soon. Please use `listen_keepalive` instead - """ - warn("This method is deprecated. Use listen_keepalive instead", DeprecationWarning, stacklevel=2) - req = exchange_meta_rpc_pb.StreamKeepaliveRequest() - return self.stubMeta.StreamKeepalive(req) - async def listen_keepalive( self, callback: Callable, @@ -1187,146 +1099,8 @@ async def abci_query( # ------------------------------ # Explorer RPC # AccountsRPC - - async def stream_subaccount_balance(self, subaccount_id: str, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `listen_subaccount_balance_updates` instead - """ - warn( - "This method is deprecated. Use listen_subaccount_balance_updates instead", DeprecationWarning, stacklevel=2 - ) - req = exchange_accounts_rpc_pb.StreamSubaccountBalanceRequest( - subaccount_id=subaccount_id, denoms=kwargs.get("denoms") - ) - return self.stubExchangeAccount.StreamSubaccountBalance(req) - - async def listen_subaccount_balance_updates( - self, - subaccount_id: str, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - denoms: Optional[List[str]] = None, - ): - await self.exchange_account_stream_api.stream_subaccount_balance( - subaccount_id=subaccount_id, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - denoms=denoms, - ) - # OracleRPC - - async def stream_oracle_prices(self, base_symbol: str, quote_symbol: str, oracle_type: str): - """ - This method is deprecated and will be removed soon. Please use `listen_subaccount_balance_updates` instead - """ - warn("This method is deprecated. Use listen_oracle_prices_updates instead", DeprecationWarning, stacklevel=2) - req = oracle_rpc_pb.StreamPricesRequest( - base_symbol=base_symbol, quote_symbol=quote_symbol, oracle_type=oracle_type - ) - return self.stubOracle.StreamPrices(req) - - async def listen_oracle_prices_updates( - self, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - base_symbol: Optional[str] = None, - quote_symbol: Optional[str] = None, - oracle_type: Optional[str] = None, - ): - await self.exchange_oracle_stream_api.stream_oracle_prices( - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - base_symbol=base_symbol, - quote_symbol=quote_symbol, - oracle_type=oracle_type, - ) - - async def get_oracle_prices( - self, - base_symbol: str, - quote_symbol: str, - oracle_type: str, - oracle_scale_factor: int, - ): - """ - This method is deprecated and will be removed soon. Please use `fetch_oracle_price` instead - """ - warn("This method is deprecated. Use fetch_oracle_price instead", DeprecationWarning, stacklevel=2) - req = oracle_rpc_pb.PriceRequest( - base_symbol=base_symbol, - quote_symbol=quote_symbol, - oracle_type=oracle_type, - oracle_scale_factor=oracle_scale_factor, - ) - return await self.stubOracle.Price(req) - - async def fetch_oracle_price( - self, - base_symbol: Optional[str] = None, - quote_symbol: Optional[str] = None, - oracle_type: Optional[str] = None, - oracle_scale_factor: Optional[int] = None, - ) -> Dict[str, Any]: - return await self.exchange_oracle_api.fetch_oracle_price( - base_symbol=base_symbol, - quote_symbol=quote_symbol, - oracle_type=oracle_type, - oracle_scale_factor=oracle_scale_factor, - ) - - async def get_oracle_list(self): - """ - This method is deprecated and will be removed soon. Please use `fetch_oracle_list` instead - """ - warn("This method is deprecated. Use fetch_oracle_list instead", DeprecationWarning, stacklevel=2) - req = oracle_rpc_pb.OracleListRequest() - return await self.stubOracle.OracleList(req) - - async def fetch_oracle_list(self) -> Dict[str, Any]: - return await self.exchange_oracle_api.fetch_oracle_list() - # InsuranceRPC - - async def get_insurance_funds(self): - """ - This method is deprecated and will be removed soon. Please use `fetch_insurance_funds` instead - """ - warn("This method is deprecated. Use fetch_insurance_funds instead", DeprecationWarning, stacklevel=2) - req = insurance_rpc_pb.FundsRequest() - return await self.stubInsurance.Funds(req) - - async def fetch_insurance_funds(self) -> Dict[str, Any]: - return await self.exchange_insurance_api.fetch_insurance_funds() - - async def get_redemptions(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_redemptions` instead - """ - warn("This method is deprecated. Use fetch_redemptions instead", DeprecationWarning, stacklevel=2) - req = insurance_rpc_pb.RedemptionsRequest( - redeemer=kwargs.get("redeemer"), - redemption_denom=kwargs.get("redemption_denom"), - status=kwargs.get("status"), - ) - return await self.stubInsurance.Redemptions(req) - - async def fetch_redemptions( - self, - address: Optional[str] = None, - denom: Optional[str] = None, - status: Optional[str] = None, - ) -> Dict[str, Any]: - return await self.exchange_insurance_api.fetch_redemptions( - address=address, - denom=denom, - status=status, - ) - # SpotRPC async def fetch_spot_market(self, market_id: str) -> Dict[str, Any]: return await self.chain_exchange_api.fetch_market(market_id=market_id) @@ -1347,359 +1121,6 @@ async def fetch_spot_orderbook(self, market_id: str) -> Dict[str, Any]: # DerivativeRPC - - async def get_derivative_market(self, market_id: str): - """ - This method is deprecated and will be removed soon. Please use `fetch_derivative_market` instead - """ - warn("This method is deprecated. Use fetch_derivative_market instead", DeprecationWarning, stacklevel=2) - req = derivative_exchange_rpc_pb.MarketRequest(market_id=market_id) - return await self.stubDerivativeExchange.Market(req) - - async def fetch_derivative_market(self, market_id: str) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_market(market_id=market_id) - - async def get_derivative_markets(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_derivative_markets` instead - """ - warn("This method is deprecated. Use fetch_derivative_markets instead", DeprecationWarning, stacklevel=2) - req = derivative_exchange_rpc_pb.MarketsRequest( - market_status=kwargs.get("market_status"), - quote_denom=kwargs.get("quote_denom"), - ) - return await self.stubDerivativeExchange.Markets(req) - - async def fetch_derivative_markets( - self, - market_statuses: Optional[List[str]] = None, - quote_denom: Optional[str] = None, - ) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_markets( - market_statuses=market_statuses, - quote_denom=quote_denom, - ) - - async def stream_derivative_markets(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `listen_derivative_market_updates` instead - """ - warn( - "This method is deprecated. Use listen_derivative_market_updates instead", DeprecationWarning, stacklevel=2 - ) - req = derivative_exchange_rpc_pb.StreamMarketRequest(market_ids=kwargs.get("market_ids")) - metadata = self.network.exchange_cookie_assistant.metadata() - return self.stubDerivativeExchange.StreamMarket(request=req, metadata=metadata) - - - async def get_derivative_orderbook(self, market_id: str): - """ - This method is deprecated and will be removed soon. Please use `fetch_derivative_orderbook_v2` instead - """ - warn("This method is deprecated. Use fetch_derivative_orderbook_v2 instead", DeprecationWarning, stacklevel=2) - req = derivative_exchange_rpc_pb.OrderbookV2Request(market_id=market_id) - return await self.stubDerivativeExchange.OrderbookV2(req) - - async def fetch_derivative_orderbook_v2(self, market_id: str) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_orderbook_v2(market_id=market_id) - - async def get_derivative_orderbooksV2(self, market_ids: List[str]): - """ - This method is deprecated and will be removed soon. Please use `fetch_derivative_orderbooks_v2` instead - """ - warn("This method is deprecated. Use fetch_derivative_orderbooks_v2 instead", DeprecationWarning, stacklevel=2) - req = derivative_exchange_rpc_pb.OrderbooksV2Request(market_ids=market_ids) - return await self.stubDerivativeExchange.OrderbooksV2(req) - - async def fetch_derivative_orderbooks_v2(self, market_ids: List[str]) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_orderbooks_v2(market_ids=market_ids) - - async def get_derivative_orders(self, market_id: str, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_derivative_orders` instead - """ - warn("This method is deprecated. Use fetch_derivative_orders instead", DeprecationWarning, stacklevel=2) - req = derivative_exchange_rpc_pb.OrdersRequest( - market_id=market_id, - order_side=kwargs.get("order_side"), - subaccount_id=kwargs.get("subaccount_id"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - start_time=kwargs.get("start_time"), - end_time=kwargs.get("end_time"), - market_ids=kwargs.get("market_ids"), - is_conditional=kwargs.get("is_conditional"), - order_type=kwargs.get("order_type"), - include_inactive=kwargs.get("include_inactive"), - subaccount_total_orders=kwargs.get("subaccount_total_orders"), - trade_id=kwargs.get("trade_id"), - cid=kwargs.get("cid"), - ) - return await self.stubDerivativeExchange.Orders(req) - - async def fetch_derivative_orders( - self, - market_ids: Optional[List[str]] = None, - order_side: Optional[str] = None, - subaccount_id: Optional[str] = None, - is_conditional: Optional[str] = None, - order_type: Optional[str] = None, - include_inactive: Optional[bool] = None, - subaccount_total_orders: Optional[bool] = None, - trade_id: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_orders( - market_ids=market_ids, - order_side=order_side, - subaccount_id=subaccount_id, - is_conditional=is_conditional, - order_type=order_type, - include_inactive=include_inactive, - subaccount_total_orders=subaccount_total_orders, - trade_id=trade_id, - cid=cid, - pagination=pagination, - ) - - async def get_historical_derivative_orders(self, market_id: Optional[str] = None, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_derivative_orders_history` instead - """ - warn("This method is deprecated. Use fetch_derivative_orders_history instead", DeprecationWarning, stacklevel=2) - market_ids = kwargs.get("market_ids", []) - if market_id is not None: - market_ids.append(market_id) - order_types = kwargs.get("order_types", []) - order_type = kwargs.get("order_type") - if order_type is not None: - order_types.append(market_id) - req = derivative_exchange_rpc_pb.OrdersHistoryRequest( - subaccount_id=kwargs.get("subaccount_id"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - order_types=order_types, - direction=kwargs.get("direction"), - start_time=kwargs.get("start_time"), - end_time=kwargs.get("end_time"), - is_conditional=kwargs.get("is_conditional"), - state=kwargs.get("state"), - execution_types=kwargs.get("execution_types", []), - market_ids=market_ids, - trade_id=kwargs.get("trade_id"), - active_markets_only=kwargs.get("active_markets_only"), - cid=kwargs.get("cid"), - ) - return await self.stubDerivativeExchange.OrdersHistory(req) - - async def fetch_derivative_orders_history( - self, - subaccount_id: Optional[str] = None, - market_ids: Optional[List[str]] = None, - order_types: Optional[List[str]] = None, - direction: Optional[str] = None, - is_conditional: Optional[str] = None, - state: Optional[str] = None, - execution_types: Optional[List[str]] = None, - trade_id: Optional[str] = None, - active_markets_only: Optional[bool] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_orders_history( - subaccount_id=subaccount_id, - market_ids=market_ids, - order_types=order_types, - direction=direction, - is_conditional=is_conditional, - state=state, - execution_types=execution_types, - trade_id=trade_id, - active_markets_only=active_markets_only, - cid=cid, - pagination=pagination, - ) - - async def get_derivative_trades(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_derivative_trades` instead - """ - warn("This method is deprecated. Use fetch_derivative_trades instead", DeprecationWarning, stacklevel=2) - req = derivative_exchange_rpc_pb.TradesRequest( - market_id=kwargs.get("market_id"), - execution_side=kwargs.get("execution_side"), - direction=kwargs.get("direction"), - subaccount_id=kwargs.get("subaccount_id"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - start_time=kwargs.get("start_time"), - end_time=kwargs.get("end_time"), - market_ids=kwargs.get("market_ids"), - subaccount_ids=kwargs.get("subaccount_ids"), - execution_types=kwargs.get("execution_types"), - trade_id=kwargs.get("trade_id"), - account_address=kwargs.get("account_address"), - cid=kwargs.get("cid"), - ) - return await self.stubDerivativeExchange.Trades(req) - - async def fetch_derivative_trades( - self, - market_ids: Optional[List[str]] = None, - subaccount_ids: Optional[List[str]] = None, - execution_side: Optional[str] = None, - direction: Optional[str] = None, - execution_types: Optional[List[str]] = None, - trade_id: Optional[str] = None, - account_address: Optional[str] = None, - cid: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_trades_v2( - market_ids=market_ids, - subaccount_ids=subaccount_ids, - execution_side=execution_side, - direction=direction, - execution_types=execution_types, - trade_id=trade_id, - account_address=account_address, - cid=cid, - pagination=pagination, - ) - - async def stream_derivative_orderbook_snapshot(self, market_ids: List[str]): - """ - This method is deprecated and will be removed soon. Please use `listen_derivative_orderbook_snapshots` instead - """ - warn( - "This method is deprecated. Use listen_derivative_orderbook_snapshots instead", - DeprecationWarning, - stacklevel=2, - ) - req = derivative_exchange_rpc_pb.StreamOrderbookV2Request(market_ids=market_ids) - metadata = self.network.exchange_cookie_assistant.metadata() - return self.stubDerivativeExchange.StreamOrderbookV2(request=req, metadata=metadata) - - - async def stream_derivative_orderbook_update(self, market_ids: List[str]): - """ - This method is deprecated and will be removed soon. Please use `listen_derivative_orderbook_updates` instead - """ - warn( - "This method is deprecated. Use listen_derivative_orderbook_updates instead", - DeprecationWarning, - stacklevel=2, - ) - req = derivative_exchange_rpc_pb.StreamOrderbookUpdateRequest(market_ids=market_ids) - metadata = self.network.exchange_cookie_assistant.metadata() - return self.stubDerivativeExchange.StreamOrderbookUpdate(request=req, metadata=metadata) - - - async def stream_derivative_orders(self, market_id: str, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `listen_derivative_orders_updates` instead - """ - warn( - "This method is deprecated. Use listen_derivative_orders_updates instead", DeprecationWarning, stacklevel=2 - ) - req = derivative_exchange_rpc_pb.StreamOrdersRequest( - market_id=market_id, - order_side=kwargs.get("order_side"), - subaccount_id=kwargs.get("subaccount_id"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - start_time=kwargs.get("start_time"), - end_time=kwargs.get("end_time"), - market_ids=kwargs.get("market_ids"), - is_conditional=kwargs.get("is_conditional"), - order_type=kwargs.get("order_type"), - include_inactive=kwargs.get("include_inactive"), - subaccount_total_orders=kwargs.get("subaccount_total_orders"), - trade_id=kwargs.get("trade_id"), - cid=kwargs.get("cid"), - ) - metadata = self.network.exchange_cookie_assistant.metadata() - return self.stubDerivativeExchange.StreamOrders(request=req, metadata=metadata) - - - async def stream_derivative_trades(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `listen_derivative_trades_updates` instead - """ - warn( - "This method is deprecated. Use listen_derivative_trades_updates instead", DeprecationWarning, stacklevel=2 - ) - req = derivative_exchange_rpc_pb.StreamTradesRequest( - market_id=kwargs.get("market_id"), - execution_side=kwargs.get("execution_side"), - direction=kwargs.get("direction"), - subaccount_id=kwargs.get("subaccount_id"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - start_time=kwargs.get("start_time"), - end_time=kwargs.get("end_time"), - market_ids=kwargs.get("market_ids"), - subaccount_ids=kwargs.get("subaccount_ids"), - execution_types=kwargs.get("execution_types"), - trade_id=kwargs.get("trade_id"), - account_address=kwargs.get("account_address"), - cid=kwargs.get("cid"), - ) - metadata = self.network.exchange_cookie_assistant.metadata() - return self.stubDerivativeExchange.StreamTrades(request=req, metadata=metadata) - - - async def get_derivative_positions(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_derivative_positions_v2` instead - """ - warn("This method is deprecated. Use fetch_derivative_positions_v2 instead", DeprecationWarning, stacklevel=2) - req = derivative_exchange_rpc_pb.PositionsRequest( - market_id=kwargs.get("market_id"), - market_ids=kwargs.get("market_ids"), - subaccount_id=kwargs.get("subaccount_id"), - direction=kwargs.get("direction"), - subaccount_total_positions=kwargs.get("subaccount_total_positions"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - ) - return await self.stubDerivativeExchange.Positions(req) - - async def fetch_derivative_positions_v2( - self, - market_ids: Optional[List[str]] = None, - subaccount_id: Optional[str] = None, - direction: Optional[str] = None, - subaccount_total_positions: Optional[bool] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_positions_v2( - market_ids=market_ids, - subaccount_id=subaccount_id, - direction=direction, - subaccount_total_positions=subaccount_total_positions, - pagination=pagination, - ) - - async def stream_derivative_positions(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `listen_derivative_positions_updates` instead - """ - warn( - "This method is deprecated. Use listen_derivative_positions_updates instead", - DeprecationWarning, - stacklevel=2, - ) - req = derivative_exchange_rpc_pb.StreamPositionsRequest( - market_id=kwargs.get("market_id"), - market_ids=kwargs.get("market_ids"), - subaccount_id=kwargs.get("subaccount_id"), - subaccount_ids=kwargs.get("subaccount_ids"), - ) - metadata = self.network.exchange_cookie_assistant.metadata() - return self.stubDerivativeExchange.StreamPositions(request=req, metadata=metadata) - ####MASSIVE TODO : NEED TO WRITE A LIQUIDABLE POSITIONS WATCHER####### #async def get_derivative_liquidable_positions(self, **kwargs): # """ @@ -1726,196 +1147,7 @@ async def stream_derivative_positions(self, **kwargs): # market_id=market_id, # pagination=pagination, # ) - - async def get_derivative_subaccount_orders(self, subaccount_id: str, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_derivative_subaccount_orders` instead - """ - warn( - "This method is deprecated. Use fetch_derivative_subaccount_orders instead", - DeprecationWarning, - stacklevel=2, - ) - req = derivative_exchange_rpc_pb.SubaccountOrdersListRequest( - subaccount_id=subaccount_id, - market_id=kwargs.get("market_id"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - ) - return await self.stubDerivativeExchange.SubaccountOrdersList(req) - - async def fetch_subaccount_orders_list( - self, - subaccount_id: str, - market_id: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_subaccount_orders_list( - subaccount_id=subaccount_id, market_id=market_id, pagination=pagination - ) - - async def get_derivative_subaccount_trades(self, subaccount_id: str, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_derivative_subaccount_trades` instead - """ - warn( - "This method is deprecated. Use fetch_derivative_subaccount_trades instead", - DeprecationWarning, - stacklevel=2, - ) - req = derivative_exchange_rpc_pb.SubaccountTradesListRequest( - subaccount_id=subaccount_id, - market_id=kwargs.get("market_id"), - execution_type=kwargs.get("execution_type"), - direction=kwargs.get("direction"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - ) - return await self.stubDerivativeExchange.SubaccountTradesList(req) - - async def fetch_derivative_subaccount_trades_list( - self, - subaccount_id: str, - market_id: Optional[str] = None, - execution_type: Optional[str] = None, - direction: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_subaccount_trades_list( - subaccount_id=subaccount_id, - market_id=market_id, - execution_type=execution_type, - direction=direction, - pagination=pagination, - ) - - async def get_funding_payments(self, subaccount_id: str, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_funding_payments` instead - """ - warn("This method is deprecated. Use fetch_funding_payments instead", DeprecationWarning, stacklevel=2) - req = derivative_exchange_rpc_pb.FundingPaymentsRequest( - subaccount_id=subaccount_id, - market_id=kwargs.get("market_id"), - market_ids=kwargs.get("market_ids"), - skip=kwargs.get("skip"), - end_time=kwargs.get("end_time"), - limit=kwargs.get("limit"), - ) - return await self.stubDerivativeExchange.FundingPayments(req) - - async def fetch_funding_payments( - self, - market_ids: Optional[List[str]] = None, - subaccount_id: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_funding_payments( - market_ids=market_ids, subaccount_id=subaccount_id, pagination=pagination - ) - - async def get_funding_rates(self, market_id: str, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_funding_rates` instead - """ - warn("This method is deprecated. Use fetch_funding_rates instead", DeprecationWarning, stacklevel=2) - req = derivative_exchange_rpc_pb.FundingRatesRequest( - market_id=market_id, - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - end_time=kwargs.get("end_time"), - ) - return await self.stubDerivativeExchange.FundingRates(req) - - async def fetch_funding_rates( - self, - market_id: str, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_funding_rates(market_id=market_id, pagination=pagination) - - async def get_binary_options_markets(self, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `fetch_binary_options_markets` instead - """ - warn("This method is deprecated. Use fetch_binary_options_markets instead", DeprecationWarning, stacklevel=2) - req = derivative_exchange_rpc_pb.BinaryOptionsMarketsRequest( - market_status=kwargs.get("market_status"), - quote_denom=kwargs.get("quote_denom"), - skip=kwargs.get("skip"), - limit=kwargs.get("limit"), - ) - return await self.stubDerivativeExchange.BinaryOptionsMarkets(req) - - async def fetch_binary_options_markets( - self, - market_status: Optional[str] = None, - quote_denom: Optional[str] = None, - pagination: Optional[PaginationOption] = None, - ) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_binary_options_markets( - market_status=market_status, - quote_denom=quote_denom, - pagination=pagination, - ) - - async def get_binary_options_market(self, market_id: str): - """ - This method is deprecated and will be removed soon. Please use `fetch_binary_options_market` instead - """ - warn("This method is deprecated. Use fetch_binary_options_market instead", DeprecationWarning, stacklevel=2) - req = derivative_exchange_rpc_pb.BinaryOptionsMarketRequest(market_id=market_id) - return await self.stubDerivativeExchange.BinaryOptionsMarket(req) - - async def fetch_binary_options_market(self, market_id: str) -> Dict[str, Any]: - return await self.exchange_derivative_api.fetch_binary_options_market(market_id=market_id) - - # PortfolioRPC - - async def get_account_portfolio(self, account_address: str): - """ - This method is deprecated and will be removed soon. Please use `fetch_account_portfolio_balances` instead - """ - warn( - "This method is deprecated. Use fetch_account_portfolio_balances instead", DeprecationWarning, stacklevel=2 - ) - req = portfolio_rpc_pb.AccountPortfolioRequest(account_address=account_address) - return await self.stubPortfolio.AccountPortfolio(req) - - async def fetch_account_portfolio_balances(self, account_address: str) -> Dict[str, Any]: - return await self.exchange_portfolio_api.fetch_account_portfolio_balances(account_address=account_address) - - async def stream_account_portfolio(self, account_address: str, **kwargs): - """ - This method is deprecated and will be removed soon. Please use `listen_account_portfolio_updates` instead - """ - warn( - "This method is deprecated. Use listen_account_portfolio_updates instead", DeprecationWarning, stacklevel=2 - ) - req = portfolio_rpc_pb.StreamAccountPortfolioRequest( - account_address=account_address, subaccount_id=kwargs.get("subaccount_id"), type=kwargs.get("type") - ) - metadata = self.network.exchange_cookie_assistant.metadata() - return self.stubPortfolio.StreamAccountPortfolio(request=req, metadata=metadata) - - async def listen_account_portfolio_updates( - self, - account_address: str, - callback: Callable, - on_end_callback: Optional[Callable] = None, - on_status_callback: Optional[Callable] = None, - subaccount_id: Optional[str] = None, - update_type: Optional[str] = None, - ): - await self.exchange_portfolio_stream_api.stream_account_portfolio( - account_address=account_address, - callback=callback, - on_end_callback=on_end_callback, - on_status_callback=on_status_callback, - subaccount_id=subaccount_id, - update_type=update_type, - ) - + # PortfolioRPC async def chain_stream( self, bank_balances_filter: Optional[chain_stream_query.BankBalancesFilter] = None, @@ -2242,7 +1474,7 @@ async def _initialize_tokens_and_markets(self): self._tokens_by_denom.update(tokens_by_denom) self._tokens_by_symbol.update(tokens_by_symbol) - markets_info = (await self.fetch_chain_spot_markets(status="Active"))["markets"] + markets_info = (await self.fetch_spot_markets(status="Active"))["markets"] for market_info in markets_info: base_token = self._tokens_by_denom.get(market_info["baseDenom"]) quote_token = self._tokens_by_denom.get(market_info["quoteDenom"]) @@ -2269,7 +1501,7 @@ async def _initialize_tokens_and_markets(self): spot_markets[market.id] = market - markets_info = (await self.fetch_chain_derivative_markets(status="Active", with_mid_price_and_tob=False))[ + markets_info = (await self.fetch_derivative_markets(status="Active", with_mid_price_and_tob=False))[ "markets" ] for market_info in markets_info: @@ -2307,7 +1539,7 @@ async def _initialize_tokens_and_markets(self): derivative_markets[derivative_market.id] = derivative_market - markets_info = (await self.fetch_chain_binary_options_markets(status="Active"))["markets"] + markets_info = (await self.fetch_binary_options_markets(status="Active"))["markets"] for market_info in markets_info: quote_token = self._tokens_by_denom.get(market_info["quoteDenom"]) diff --git a/pyinjective/composer.py b/pyinjective/composer.py index 08e17021..94b24cee 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -20,7 +20,6 @@ from pyinjective.proto.cosmos.gov.v1beta1 import tx_pb2 as cosmos_gov_tx_pb from pyinjective.proto.cosmos.staking.v1beta1 import tx_pb2 as cosmos_staking_tx_pb from pyinjective.proto.cosmwasm.wasm.v1 import tx_pb2 as wasm_tx_pb -from pyinjective.proto.exchange import injective_explorer_rpc_pb2 as explorer_pb2 from pyinjective.proto.ibc.applications.transfer.v1 import tx_pb2 as ibc_transfer_tx_pb from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_core_client_pb from pyinjective.proto.injective.auction.v1beta1 import tx_pb2 as injective_auction_tx_pb @@ -2530,24 +2529,6 @@ def UnpackTransactionMessages(transaction): return msgs - @staticmethod - def unpack_transaction_messages(transaction_data: Dict[str, Any]) -> List[Dict[str, Any]]: - grpc_tx = explorer_pb2.TxDetailData() - json_format.ParseDict(js_dict=transaction_data, message=grpc_tx, ignore_unknown_fields=True) - meta_messages = json.loads(grpc_tx.messages.decode()) - msgs = [] - for msg in meta_messages: - msg_as_string_dict = json.dumps(msg["value"]) - grpc_message = json_format.Parse(msg_as_string_dict, GRPC_MESSAGE_TYPE_TO_CLASS_MAP[msg["type"]]()) - msgs.append( - { - "type": msg["type"], - "value": json_format.MessageToDict(message=grpc_message, always_print_fields_with_no_presence=True), - } - ) - - return msgs - def _order_mask(self, is_conditional: bool, is_buy: bool, is_market_order: bool) -> int: order_mask = 0 diff --git a/pyinjective/core/ibc/channel/grpc/__init__.py b/pyinjective/core/ibc/channel/grpc/__init__.py index 362e67e2..0698cf1a 100644 --- a/pyinjective/core/ibc/channel/grpc/__init__.py +++ b/pyinjective/core/ibc/channel/grpc/__init__.py @@ -2,7 +2,7 @@ from grpc import Channel -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import CookieAssistant from pyinjective.proto.ibc.core.channel.v1 import ( query_pb2 as ibc_channel_query, diff --git a/pyinjective/core/ibc/client/grpc/__init__.py b/pyinjective/core/ibc/client/grpc/__init__.py index 084dfd89..20ede57a 100644 --- a/pyinjective/core/ibc/client/grpc/__init__.py +++ b/pyinjective/core/ibc/client/grpc/__init__.py @@ -2,7 +2,7 @@ from grpc import Channel -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import CookieAssistant from pyinjective.proto.ibc.core.client.v1 import query_pb2 as ibc_client_query, query_pb2_grpc as ibc_client_query_grpc from pyinjective.utils.grpc_api_request_assistant import GrpcApiRequestAssistant diff --git a/pyinjective/core/ibc/connection/grpc/__init__.py b/pyinjective/core/ibc/connection/grpc/__init__.py index ab6d852e..6574f68a 100644 --- a/pyinjective/core/ibc/connection/grpc/__init__.py +++ b/pyinjective/core/ibc/connection/grpc/__init__.py @@ -2,7 +2,7 @@ from grpc import Channel -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import CookieAssistant from pyinjective.proto.ibc.core.connection.v1 import ( query_pb2 as ibc_connection_query, diff --git a/pyinjective/core/ibc/transfer/grpc/__init__.py b/pyinjective/core/ibc/transfer/grpc/__init__.py index c2e5fa38..773bf0b0 100644 --- a/pyinjective/core/ibc/transfer/grpc/__init__.py +++ b/pyinjective/core/ibc/transfer/grpc/__init__.py @@ -2,7 +2,7 @@ from grpc.aio import Channel -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import CookieAssistant from pyinjective.proto.ibc.applications.transfer.v1 import ( query_pb2 as ibc_transfer_query, diff --git a/pyinjective/core/tendermint/grpc/__init__.py b/pyinjective/core/tendermint/grpc/__init__.py index 352f98c4..53d32a7e 100644 --- a/pyinjective/core/tendermint/grpc/__init__.py +++ b/pyinjective/core/tendermint/grpc/__init__.py @@ -2,7 +2,7 @@ from grpc.aio import Channel -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import CookieAssistant from pyinjective.proto.cosmos.base.tendermint.v1beta1 import ( query_pb2 as tendermint_query, From e660d249477ca6fddfc5be759e4e6e253570af19 Mon Sep 17 00:00:00 2001 From: enigmarikki Date: Fri, 31 Jan 2025 19:15:57 +0000 Subject: [PATCH 3/7] "wip : change makefile + pull from betaTrading core" --- Makefile | 19 +- buf.gen.yaml | 2 +- pyinjective/async_client.py | 90 +- pyinjective/composer.py | 4 +- pyinjective/core/broadcaster.py | 15 +- pyinjective/core/gas_limit_estimator.py | 9 +- pyinjective/core/network.py | 6 +- pyinjective/proto/__init__.py | 0 pyinjective/proto/amino/amino_pb2.py | 26 - pyinjective/proto/amino/amino_pb2_grpc.py | 4 - .../proto/capability/v1/capability_pb2.py | 39 - .../capability/v1/capability_pb2_grpc.py | 4 - .../proto/capability/v1/genesis_pb2.py | 36 - .../proto/capability/v1/genesis_pb2_grpc.py | 4 - .../cosmos/app/runtime/v1alpha1/module_pb2.py | 32 - .../app/runtime/v1alpha1/module_pb2_grpc.py | 4 - .../proto/cosmos/app/v1alpha1/config_pb2.py | 32 - .../cosmos/app/v1alpha1/config_pb2_grpc.py | 4 - .../proto/cosmos/app/v1alpha1/module_pb2.py | 32 - .../cosmos/app/v1alpha1/module_pb2_grpc.py | 4 - .../proto/cosmos/app/v1alpha1/query_pb2.py | 32 - .../cosmos/app/v1alpha1/query_pb2_grpc.py | 81 - .../proto/cosmos/auth/module/v1/module_pb2.py | 32 - .../cosmos/auth/module/v1/module_pb2_grpc.py | 4 - .../proto/cosmos/auth/v1beta1/auth_pb2.py | 55 - .../cosmos/auth/v1beta1/auth_pb2_grpc.py | 4 - .../proto/cosmos/auth/v1beta1/genesis_pb2.py | 33 - .../cosmos/auth/v1beta1/genesis_pb2_grpc.py | 4 - .../proto/cosmos/auth/v1beta1/query_pb2.py | 114 - .../cosmos/auth/v1beta1/query_pb2_grpc.py | 494 --- .../proto/cosmos/auth/v1beta1/tx_pb2.py | 44 - .../proto/cosmos/auth/v1beta1/tx_pb2_grpc.py | 84 - .../cosmos/authz/module/v1/module_pb2.py | 30 - .../cosmos/authz/module/v1/module_pb2_grpc.py | 4 - .../proto/cosmos/authz/v1beta1/authz_pb2.py | 52 - .../cosmos/authz/v1beta1/authz_pb2_grpc.py | 4 - .../proto/cosmos/authz/v1beta1/event_pb2.py | 38 - .../cosmos/authz/v1beta1/event_pb2_grpc.py | 4 - .../proto/cosmos/authz/v1beta1/genesis_pb2.py | 32 - .../cosmos/authz/v1beta1/genesis_pb2_grpc.py | 4 - .../proto/cosmos/authz/v1beta1/query_pb2.py | 57 - .../cosmos/authz/v1beta1/query_pb2_grpc.py | 173 -- .../proto/cosmos/authz/v1beta1/tx_pb2.py | 75 - .../proto/cosmos/authz/v1beta1/tx_pb2_grpc.py | 219 -- .../proto/cosmos/autocli/v1/options_pb2.py | 43 - .../cosmos/autocli/v1/options_pb2_grpc.py | 4 - .../proto/cosmos/autocli/v1/query_pb2.py | 39 - .../proto/cosmos/autocli/v1/query_pb2_grpc.py | 84 - .../proto/cosmos/bank/module/v1/module_pb2.py | 30 - .../cosmos/bank/module/v1/module_pb2_grpc.py | 4 - .../proto/cosmos/bank/v1beta1/authz_pb2.py | 37 - .../cosmos/bank/v1beta1/authz_pb2_grpc.py | 4 - .../proto/cosmos/bank/v1beta1/bank_pb2.py | 70 - .../cosmos/bank/v1beta1/bank_pb2_grpc.py | 4 - .../proto/cosmos/bank/v1beta1/events_pb2.py | 34 - .../cosmos/bank/v1beta1/events_pb2_grpc.py | 4 - .../proto/cosmos/bank/v1beta1/genesis_pb2.py | 50 - .../cosmos/bank/v1beta1/genesis_pb2_grpc.py | 4 - .../proto/cosmos/bank/v1beta1/query_pb2.py | 153 - .../cosmos/bank/v1beta1/query_pb2_grpc.py | 646 ---- .../proto/cosmos/bank/v1beta1/tx_pb2.py | 75 - .../proto/cosmos/bank/v1beta1/tx_pb2_grpc.py | 221 -- .../cosmos/base/abci/v1beta1/abci_pb2.py | 87 - .../cosmos/base/abci/v1beta1/abci_pb2_grpc.py | 4 - .../cosmos/base/node/v1beta1/query_pb2.py | 44 - .../base/node/v1beta1/query_pb2_grpc.py | 125 - .../base/query/v1beta1/pagination_pb2.py | 29 - .../base/query/v1beta1/pagination_pb2_grpc.py | 4 - .../base/reflection/v1beta1/reflection_pb2.py | 40 - .../reflection/v1beta1/reflection_pb2_grpc.py | 127 - .../reflection/v2alpha1/reflection_pb2.py | 92 - .../v2alpha1/reflection_pb2_grpc.py | 303 -- .../base/tendermint/v1beta1/query_pb2.py | 93 - .../base/tendermint/v1beta1/query_pb2_grpc.py | 349 --- .../base/tendermint/v1beta1/types_pb2.py | 49 - .../base/tendermint/v1beta1/types_pb2_grpc.py | 4 - .../proto/cosmos/base/v1beta1/coin_pb2.py | 48 - .../cosmos/base/v1beta1/coin_pb2_grpc.py | 4 - .../cosmos/circuit/module/v1/module_pb2.py | 30 - .../circuit/module/v1/module_pb2_grpc.py | 4 - .../proto/cosmos/circuit/v1/query_pb2.py | 49 - .../proto/cosmos/circuit/v1/query_pb2_grpc.py | 169 -- pyinjective/proto/cosmos/circuit/v1/tx_pb2.py | 49 - .../proto/cosmos/circuit/v1/tx_pb2_grpc.py | 171 -- .../proto/cosmos/circuit/v1/types_pb2.py | 33 - .../proto/cosmos/circuit/v1/types_pb2_grpc.py | 4 - .../cosmos/consensus/module/v1/module_pb2.py | 30 - .../consensus/module/v1/module_pb2_grpc.py | 4 - .../proto/cosmos/consensus/v1/query_pb2.py | 35 - .../cosmos/consensus/v1/query_pb2_grpc.py | 81 - .../proto/cosmos/consensus/v1/tx_pb2.py | 41 - .../proto/cosmos/consensus/v1/tx_pb2_grpc.py | 84 - .../cosmos/crisis/module/v1/module_pb2.py | 30 - .../crisis/module/v1/module_pb2_grpc.py | 4 - .../cosmos/crisis/v1beta1/genesis_pb2.py | 32 - .../cosmos/crisis/v1beta1/genesis_pb2_grpc.py | 4 - .../proto/cosmos/crisis/v1beta1/tx_pb2.py | 52 - .../cosmos/crisis/v1beta1/tx_pb2_grpc.py | 128 - .../proto/cosmos/crypto/ed25519/keys_pb2.py | 39 - .../cosmos/crypto/ed25519/keys_pb2_grpc.py | 4 - .../proto/cosmos/crypto/hd/v1/hd_pb2.py | 31 - .../proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py | 4 - .../cosmos/crypto/keyring/v1/record_pb2.py | 38 - .../crypto/keyring/v1/record_pb2_grpc.py | 4 - .../proto/cosmos/crypto/multisig/keys_pb2.py | 34 - .../cosmos/crypto/multisig/keys_pb2_grpc.py | 4 - .../crypto/multisig/v1beta1/multisig_pb2.py | 34 - .../multisig/v1beta1/multisig_pb2_grpc.py | 4 - .../proto/cosmos/crypto/secp256k1/keys_pb2.py | 35 - .../cosmos/crypto/secp256k1/keys_pb2_grpc.py | 4 - .../proto/cosmos/crypto/secp256r1/keys_pb2.py | 34 - .../cosmos/crypto/secp256r1/keys_pb2_grpc.py | 4 - .../distribution/module/v1/module_pb2.py | 30 - .../distribution/module/v1/module_pb2_grpc.py | 4 - .../distribution/v1beta1/distribution_pb2.py | 91 - .../v1beta1/distribution_pb2_grpc.py | 4 - .../distribution/v1beta1/genesis_pb2.py | 112 - .../distribution/v1beta1/genesis_pb2_grpc.py | 4 - .../cosmos/distribution/v1beta1/query_pb2.py | 150 - .../distribution/v1beta1/query_pb2_grpc.py | 478 --- .../cosmos/distribution/v1beta1/tx_pb2.py | 109 - .../distribution/v1beta1/tx_pb2_grpc.py | 360 --- .../cosmos/evidence/module/v1/module_pb2.py | 30 - .../evidence/module/v1/module_pb2_grpc.py | 4 - .../cosmos/evidence/v1beta1/evidence_pb2.py | 37 - .../evidence/v1beta1/evidence_pb2_grpc.py | 4 - .../cosmos/evidence/v1beta1/genesis_pb2.py | 28 - .../evidence/v1beta1/genesis_pb2_grpc.py | 4 - .../cosmos/evidence/v1beta1/query_pb2.py | 44 - .../cosmos/evidence/v1beta1/query_pb2_grpc.py | 125 - .../proto/cosmos/evidence/v1beta1/tx_pb2.py | 44 - .../cosmos/evidence/v1beta1/tx_pb2_grpc.py | 82 - .../cosmos/feegrant/module/v1/module_pb2.py | 30 - .../feegrant/module/v1/module_pb2_grpc.py | 4 - .../cosmos/feegrant/v1beta1/feegrant_pb2.py | 68 - .../feegrant/v1beta1/feegrant_pb2_grpc.py | 4 - .../cosmos/feegrant/v1beta1/genesis_pb2.py | 32 - .../feegrant/v1beta1/genesis_pb2_grpc.py | 4 - .../cosmos/feegrant/v1beta1/query_pb2.py | 57 - .../cosmos/feegrant/v1beta1/query_pb2_grpc.py | 171 -- .../proto/cosmos/feegrant/v1beta1/tx_pb2.py | 63 - .../cosmos/feegrant/v1beta1/tx_pb2_grpc.py | 173 -- .../cosmos/genutil/module/v1/module_pb2.py | 30 - .../genutil/module/v1/module_pb2_grpc.py | 4 - .../cosmos/genutil/v1beta1/genesis_pb2.py | 31 - .../genutil/v1beta1/genesis_pb2_grpc.py | 4 - .../proto/cosmos/gov/module/v1/module_pb2.py | 30 - .../cosmos/gov/module/v1/module_pb2_grpc.py | 4 - .../proto/cosmos/gov/v1/genesis_pb2.py | 34 - .../proto/cosmos/gov/v1/genesis_pb2_grpc.py | 4 - pyinjective/proto/cosmos/gov/v1/gov_pb2.py | 126 - .../proto/cosmos/gov/v1/gov_pb2_grpc.py | 4 - pyinjective/proto/cosmos/gov/v1/query_pb2.py | 99 - .../proto/cosmos/gov/v1/query_pb2_grpc.py | 433 --- pyinjective/proto/cosmos/gov/v1/tx_pb2.py | 111 - .../proto/cosmos/gov/v1/tx_pb2_grpc.py | 351 --- .../proto/cosmos/gov/v1beta1/genesis_pb2.py | 42 - .../cosmos/gov/v1beta1/genesis_pb2_grpc.py | 4 - .../proto/cosmos/gov/v1beta1/gov_pb2.py | 138 - .../proto/cosmos/gov/v1beta1/gov_pb2_grpc.py | 4 - .../proto/cosmos/gov/v1beta1/query_pb2.py | 115 - .../cosmos/gov/v1beta1/query_pb2_grpc.py | 389 --- .../proto/cosmos/gov/v1beta1/tx_pb2.py | 82 - .../proto/cosmos/gov/v1beta1/tx_pb2_grpc.py | 215 -- .../cosmos/group/module/v1/module_pb2.py | 35 - .../cosmos/group/module/v1/module_pb2_grpc.py | 4 - .../proto/cosmos/group/v1/events_pb2.py | 53 - .../proto/cosmos/group/v1/events_pb2_grpc.py | 4 - .../proto/cosmos/group/v1/genesis_pb2.py | 28 - .../proto/cosmos/group/v1/genesis_pb2_grpc.py | 4 - .../proto/cosmos/group/v1/query_pb2.py | 133 - .../proto/cosmos/group/v1/query_pb2_grpc.py | 659 ---- pyinjective/proto/cosmos/group/v1/tx_pb2.py | 175 -- .../proto/cosmos/group/v1/tx_pb2_grpc.py | 653 ---- .../proto/cosmos/group/v1/types_pb2.py | 111 - .../proto/cosmos/group/v1/types_pb2_grpc.py | 4 - .../proto/cosmos/ics23/v1/proofs_pb2.py | 55 - .../proto/cosmos/ics23/v1/proofs_pb2_grpc.py | 4 - .../proto/cosmos/mint/module/v1/module_pb2.py | 30 - .../cosmos/mint/module/v1/module_pb2_grpc.py | 4 - .../proto/cosmos/mint/v1beta1/genesis_pb2.py | 34 - .../cosmos/mint/v1beta1/genesis_pb2_grpc.py | 4 - .../proto/cosmos/mint/v1beta1/mint_pb2.py | 46 - .../cosmos/mint/v1beta1/mint_pb2_grpc.py | 4 - .../proto/cosmos/mint/v1beta1/query_pb2.py | 56 - .../cosmos/mint/v1beta1/query_pb2_grpc.py | 169 -- .../proto/cosmos/mint/v1beta1/tx_pb2.py | 44 - .../proto/cosmos/mint/v1beta1/tx_pb2_grpc.py | 84 - .../cosmos/msg/textual/v1/textual_pb2.py | 26 - .../cosmos/msg/textual/v1/textual_pb2_grpc.py | 4 - pyinjective/proto/cosmos/msg/v1/msg_pb2.py | 26 - .../proto/cosmos/msg/v1/msg_pb2_grpc.py | 4 - .../proto/cosmos/nft/module/v1/module_pb2.py | 30 - .../cosmos/nft/module/v1/module_pb2_grpc.py | 4 - .../proto/cosmos/nft/v1beta1/event_pb2.py | 31 - .../cosmos/nft/v1beta1/event_pb2_grpc.py | 4 - .../proto/cosmos/nft/v1beta1/genesis_pb2.py | 30 - .../cosmos/nft/v1beta1/genesis_pb2_grpc.py | 4 - .../proto/cosmos/nft/v1beta1/nft_pb2.py | 30 - .../proto/cosmos/nft/v1beta1/nft_pb2_grpc.py | 4 - .../proto/cosmos/nft/v1beta1/query_pb2.py | 72 - .../cosmos/nft/v1beta1/query_pb2_grpc.py | 346 --- .../proto/cosmos/nft/v1beta1/tx_pb2.py | 41 - .../proto/cosmos/nft/v1beta1/tx_pb2_grpc.py | 81 - .../cosmos/orm/module/v1alpha1/module_pb2.py | 30 - .../orm/module/v1alpha1/module_pb2_grpc.py | 4 - .../cosmos/orm/query/v1alpha1/query_pb2.py | 45 - .../orm/query/v1alpha1/query_pb2_grpc.py | 125 - pyinjective/proto/cosmos/orm/v1/orm_pb2.py | 34 - .../proto/cosmos/orm/v1/orm_pb2_grpc.py | 4 - .../proto/cosmos/orm/v1alpha1/schema_pb2.py | 32 - .../cosmos/orm/v1alpha1/schema_pb2_grpc.py | 4 - .../cosmos/params/module/v1/module_pb2.py | 30 - .../params/module/v1/module_pb2_grpc.py | 4 - .../proto/cosmos/params/v1beta1/params_pb2.py | 36 - .../cosmos/params/v1beta1/params_pb2_grpc.py | 4 - .../proto/cosmos/params/v1beta1/query_pb2.py | 47 - .../cosmos/params/v1beta1/query_pb2_grpc.py | 128 - .../proto/cosmos/query/v1/query_pb2.py | 26 - .../proto/cosmos/query/v1/query_pb2_grpc.py | 4 - .../cosmos/reflection/v1/reflection_pb2.py | 35 - .../reflection/v1/reflection_pb2_grpc.py | 85 - .../cosmos/slashing/module/v1/module_pb2.py | 30 - .../slashing/module/v1/module_pb2_grpc.py | 4 - .../cosmos/slashing/v1beta1/genesis_pb2.py | 51 - .../slashing/v1beta1/genesis_pb2_grpc.py | 4 - .../cosmos/slashing/v1beta1/query_pb2.py | 59 - .../cosmos/slashing/v1beta1/query_pb2_grpc.py | 169 -- .../cosmos/slashing/v1beta1/slashing_pb2.py | 50 - .../slashing/v1beta1/slashing_pb2_grpc.py | 4 - .../proto/cosmos/slashing/v1beta1/tx_pb2.py | 52 - .../cosmos/slashing/v1beta1/tx_pb2_grpc.py | 130 - .../cosmos/staking/module/v1/module_pb2.py | 30 - .../staking/module/v1/module_pb2_grpc.py | 4 - .../proto/cosmos/staking/v1beta1/authz_pb2.py | 45 - .../cosmos/staking/v1beta1/authz_pb2_grpc.py | 4 - .../cosmos/staking/v1beta1/genesis_pb2.py | 51 - .../staking/v1beta1/genesis_pb2_grpc.py | 4 - .../proto/cosmos/staking/v1beta1/query_pb2.py | 186 -- .../cosmos/staking/v1beta1/query_pb2_grpc.py | 678 ----- .../cosmos/staking/v1beta1/staking_pb2.py | 222 -- .../staking/v1beta1/staking_pb2_grpc.py | 4 - .../proto/cosmos/staking/v1beta1/tx_pb2.py | 137 - .../cosmos/staking/v1beta1/tx_pb2_grpc.py | 353 --- .../store/internal/kv/v1beta1/kv_pb2.py | 32 - .../store/internal/kv/v1beta1/kv_pb2_grpc.py | 4 - .../cosmos/store/snapshots/v1/snapshot_pb2.py | 44 - .../store/snapshots/v1/snapshot_pb2_grpc.py | 4 - .../cosmos/store/streaming/abci/grpc_pb2.py | 37 - .../store/streaming/abci/grpc_pb2_grpc.py | 125 - .../cosmos/store/v1beta1/commit_info_pb2.py | 41 - .../store/v1beta1/commit_info_pb2_grpc.py | 4 - .../cosmos/store/v1beta1/listening_pb2.py | 30 - .../store/v1beta1/listening_pb2_grpc.py | 4 - .../proto/cosmos/tx/config/v1/config_pb2.py | 30 - .../cosmos/tx/config/v1/config_pb2_grpc.py | 4 - .../cosmos/tx/signing/v1beta1/signing_pb2.py | 39 - .../tx/signing/v1beta1/signing_pb2_grpc.py | 4 - .../proto/cosmos/tx/v1beta1/service_pb2.py | 101 - .../cosmos/tx/v1beta1/service_pb2_grpc.py | 443 --- pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py | 76 - .../proto/cosmos/tx/v1beta1/tx_pb2_grpc.py | 4 - .../cosmos/upgrade/module/v1/module_pb2.py | 30 - .../upgrade/module/v1/module_pb2_grpc.py | 4 - .../proto/cosmos/upgrade/v1beta1/query_pb2.py | 63 - .../cosmos/upgrade/v1beta1/query_pb2_grpc.py | 266 -- .../proto/cosmos/upgrade/v1beta1/tx_pb2.py | 52 - .../cosmos/upgrade/v1beta1/tx_pb2_grpc.py | 130 - .../cosmos/upgrade/v1beta1/upgrade_pb2.py | 52 - .../upgrade/v1beta1/upgrade_pb2_grpc.py | 4 - .../cosmos/vesting/module/v1/module_pb2.py | 30 - .../vesting/module/v1/module_pb2_grpc.py | 4 - .../proto/cosmos/vesting/v1beta1/tx_pb2.py | 67 - .../cosmos/vesting/v1beta1/tx_pb2_grpc.py | 176 -- .../cosmos/vesting/v1beta1/vesting_pb2.py | 71 - .../vesting/v1beta1/vesting_pb2_grpc.py | 4 - .../proto/cosmwasm/wasm/v1/authz_pb2.py | 89 - .../proto/cosmwasm/wasm/v1/authz_pb2_grpc.py | 4 - .../proto/cosmwasm/wasm/v1/genesis_pb2.py | 59 - .../cosmwasm/wasm/v1/genesis_pb2_grpc.py | 4 - pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py | 40 - .../proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py | 4 - .../cosmwasm/wasm/v1/proposal_legacy_pb2.py | 150 - .../wasm/v1/proposal_legacy_pb2_grpc.py | 4 - .../proto/cosmwasm/wasm/v1/query_pb2.py | 163 - .../proto/cosmwasm/wasm/v1/query_pb2_grpc.py | 565 ---- pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py | 247 -- .../proto/cosmwasm/wasm/v1/tx_pb2_grpc.py | 811 ----- .../proto/cosmwasm/wasm/v1/types_pb2.py | 128 - .../proto/cosmwasm/wasm/v1/types_pb2_grpc.py | 4 - .../proto/google/api/annotations_pb2.py | 2 +- pyinjective/proto/google/api/client_pb2.py | 84 +- .../google/api/expr/v1alpha1/checked_pb2.py | 2 +- .../google/api/expr/v1alpha1/eval_pb2.py | 2 +- .../google/api/expr/v1alpha1/explain_pb2.py | 2 +- .../proto/google/api/expr/v1beta1/decl_pb2.py | 2 +- .../proto/google/api/expr/v1beta1/eval_pb2.py | 2 +- .../proto/google/api/expr/v1beta1/expr_pb2.py | 2 +- pyinjective/proto/google/api/httpbody_pb2.py | 4 +- .../google/longrunning/operations_pb2.py | 8 +- .../google/longrunning/operations_pb2_grpc.py | 49 +- .../proto/google/rpc/error_details_pb2.py | 28 +- .../proto/ibc/applications/fee/v1/ack_pb2.py | 27 - .../ibc/applications/fee/v1/ack_pb2_grpc.py | 4 - .../proto/ibc/applications/fee/v1/fee_pb2.py | 54 - .../ibc/applications/fee/v1/fee_pb2_grpc.py | 4 - .../ibc/applications/fee/v1/genesis_pb2.py | 50 - .../applications/fee/v1/genesis_pb2_grpc.py | 4 - .../ibc/applications/fee/v1/metadata_pb2.py | 27 - .../applications/fee/v1/metadata_pb2_grpc.py | 4 - .../ibc/applications/fee/v1/query_pb2.py | 114 - .../ibc/applications/fee/v1/query_pb2_grpc.py | 477 --- .../proto/ibc/applications/fee/v1/tx_pb2.py | 64 - .../ibc/applications/fee/v1/tx_pb2_grpc.py | 227 -- .../controller/v1/controller_pb2.py | 27 - .../controller/v1/controller_pb2_grpc.py | 4 - .../controller/v1/query_pb2.py | 41 - .../controller/v1/query_pb2_grpc.py | 125 - .../controller/v1/tx_pb2.py | 60 - .../controller/v1/tx_pb2_grpc.py | 169 -- .../genesis/v1/genesis_pb2.py | 54 - .../genesis/v1/genesis_pb2_grpc.py | 4 - .../interchain_accounts/host/v1/host_pb2.py | 29 - .../host/v1/host_pb2_grpc.py | 4 - .../interchain_accounts/host/v1/query_pb2.py | 35 - .../host/v1/query_pb2_grpc.py | 81 - .../interchain_accounts/host/v1/tx_pb2.py | 46 - .../host/v1/tx_pb2_grpc.py | 125 - .../interchain_accounts/v1/account_pb2.py | 34 - .../v1/account_pb2_grpc.py | 4 - .../interchain_accounts/v1/metadata_pb2.py | 27 - .../v1/metadata_pb2_grpc.py | 4 - .../interchain_accounts/v1/packet_pb2.py | 39 - .../interchain_accounts/v1/packet_pb2_grpc.py | 4 - .../ibc/applications/transfer/v1/authz_pb2.py | 38 - .../transfer/v1/authz_pb2_grpc.py | 4 - .../applications/transfer/v1/genesis_pb2.py | 36 - .../transfer/v1/genesis_pb2_grpc.py | 4 - .../ibc/applications/transfer/v1/query_pb2.py | 72 - .../transfer/v1/query_pb2_grpc.py | 301 -- .../applications/transfer/v1/transfer_pb2.py | 29 - .../transfer/v1/transfer_pb2_grpc.py | 4 - .../ibc/applications/transfer/v1/tx_pb2.py | 55 - .../applications/transfer/v1/tx_pb2_grpc.py | 125 - .../applications/transfer/v2/packet_pb2.py | 27 - .../transfer/v2/packet_pb2_grpc.py | 4 - .../proto/ibc/core/channel/v1/channel_pb2.py | 95 - .../ibc/core/channel/v1/channel_pb2_grpc.py | 4 - .../proto/ibc/core/channel/v1/genesis_pb2.py | 47 - .../ibc/core/channel/v1/genesis_pb2_grpc.py | 4 - .../proto/ibc/core/channel/v1/query_pb2.py | 172 -- .../ibc/core/channel/v1/query_pb2_grpc.py | 793 ----- .../proto/ibc/core/channel/v1/tx_pb2.py | 240 -- .../proto/ibc/core/channel/v1/tx_pb2_grpc.py | 874 ------ .../proto/ibc/core/channel/v1/upgrade_pb2.py | 43 - .../ibc/core/channel/v1/upgrade_pb2_grpc.py | 4 - .../proto/ibc/core/client/v1/client_pb2.py | 61 - .../ibc/core/client/v1/client_pb2_grpc.py | 4 - .../proto/ibc/core/client/v1/genesis_pb2.py | 47 - .../ibc/core/client/v1/genesis_pb2_grpc.py | 4 - .../proto/ibc/core/client/v1/query_pb2.py | 108 - .../ibc/core/client/v1/query_pb2_grpc.py | 479 --- .../proto/ibc/core/client/v1/tx_pb2.py | 80 - .../proto/ibc/core/client/v1/tx_pb2_grpc.py | 345 --- .../ibc/core/commitment/v1/commitment_pb2.py | 37 - .../core/commitment/v1/commitment_pb2_grpc.py | 4 - .../ibc/core/connection/v1/connection_pb2.py | 67 - .../core/connection/v1/connection_pb2_grpc.py | 4 - .../ibc/core/connection/v1/genesis_pb2.py | 35 - .../core/connection/v1/genesis_pb2_grpc.py | 4 - .../proto/ibc/core/connection/v1/query_pb2.py | 79 - .../ibc/core/connection/v1/query_pb2_grpc.py | 304 -- .../proto/ibc/core/connection/v1/tx_pb2.py | 82 - .../ibc/core/connection/v1/tx_pb2_grpc.py | 259 -- .../proto/ibc/core/types/v1/genesis_pb2.py | 37 - .../ibc/core/types/v1/genesis_pb2_grpc.py | 4 - .../localhost/v2/localhost_pb2.py | 33 - .../localhost/v2/localhost_pb2_grpc.py | 4 - .../solomachine/v2/solomachine_pb2.py | 109 - .../solomachine/v2/solomachine_pb2_grpc.py | 4 - .../solomachine/v3/solomachine_pb2.py | 59 - .../solomachine/v3/solomachine_pb2_grpc.py | 4 - .../tendermint/v1/tendermint_pb2.py | 81 - .../tendermint/v1/tendermint_pb2_grpc.py | 4 - .../ibc/lightclients/wasm/v1/genesis_pb2.py | 34 - .../lightclients/wasm/v1/genesis_pb2_grpc.py | 4 - .../ibc/lightclients/wasm/v1/query_pb2.py | 41 - .../lightclients/wasm/v1/query_pb2_grpc.py | 125 - .../proto/ibc/lightclients/wasm/v1/tx_pb2.py | 48 - .../ibc/lightclients/wasm/v1/tx_pb2_grpc.py | 169 -- .../ibc/lightclients/wasm/v1/wasm_pb2.py | 45 - .../ibc/lightclients/wasm/v1/wasm_pb2_grpc.py | 4 - .../injective/auction/v1beta1/auction_pb2.py | 56 - .../auction/v1beta1/auction_pb2_grpc.py | 4 - .../injective/auction/v1beta1/genesis_pb2.py | 31 - .../auction/v1beta1/genesis_pb2_grpc.py | 4 - .../injective/auction/v1beta1/query_pb2.py | 62 - .../auction/v1beta1/query_pb2_grpc.py | 212 -- .../proto/injective/auction/v1beta1/tx_pb2.py | 53 - .../injective/auction/v1beta1/tx_pb2_grpc.py | 124 - .../crypto/v1beta1/ethsecp256k1/keys_pb2.py | 35 - .../v1beta1/ethsecp256k1/keys_pb2_grpc.py | 4 - .../injective/exchange/v1beta1/authz_pb2.py | 71 - .../exchange/v1beta1/authz_pb2_grpc.py | 4 - .../injective/exchange/v1beta1/events_pb2.py | 149 - .../exchange/v1beta1/events_pb2_grpc.py | 4 - .../exchange/v1beta1/exchange_pb2.py | 413 --- .../exchange/v1beta1/exchange_pb2_grpc.py | 4 - .../injective/exchange/v1beta1/genesis_pb2.py | 104 - .../exchange/v1beta1/genesis_pb2_grpc.py | 4 - .../exchange/v1beta1/proposal_pb2.py | 221 -- .../exchange/v1beta1/proposal_pb2_grpc.py | 4 - .../injective/exchange/v1beta1/query_pb2.py | 548 ---- .../exchange/v1beta1/query_pb2_grpc.py | 2681 ----------------- .../injective/exchange/v1beta1/tx_pb2.py | 439 --- .../injective/exchange/v1beta1/tx_pb2_grpc.py | 1595 ---------- .../injective/insurance/v1beta1/events_pb2.py | 46 - .../insurance/v1beta1/events_pb2_grpc.py | 4 - .../insurance/v1beta1/genesis_pb2.py | 35 - .../insurance/v1beta1/genesis_pb2_grpc.py | 4 - .../insurance/v1beta1/insurance_pb2.py | 51 - .../insurance/v1beta1/insurance_pb2_grpc.py | 4 - .../injective/insurance/v1beta1/query_pb2.py | 76 - .../insurance/v1beta1/query_pb2_grpc.py | 302 -- .../injective/insurance/v1beta1/tx_pb2.py | 70 - .../insurance/v1beta1/tx_pb2_grpc.py | 214 -- .../injective/ocr/v1beta1/genesis_pb2.py | 48 - .../injective/ocr/v1beta1/genesis_pb2_grpc.py | 4 - .../proto/injective/ocr/v1beta1/ocr_pb2.py | 114 - .../injective/ocr/v1beta1/ocr_pb2_grpc.py | 4 - .../proto/injective/ocr/v1beta1/query_pb2.py | 78 - .../injective/ocr/v1beta1/query_pb2_grpc.py | 345 --- .../proto/injective/ocr/v1beta1/tx_pb2.py | 101 - .../injective/ocr/v1beta1/tx_pb2_grpc.py | 436 --- .../injective/oracle/v1beta1/events_pb2.py | 62 - .../oracle/v1beta1/events_pb2_grpc.py | 4 - .../injective/oracle/v1beta1/genesis_pb2.py | 35 - .../oracle/v1beta1/genesis_pb2_grpc.py | 4 - .../injective/oracle/v1beta1/oracle_pb2.py | 124 - .../oracle/v1beta1/oracle_pb2_grpc.py | 4 - .../injective/oracle/v1beta1/proposal_pb2.py | 78 - .../oracle/v1beta1/proposal_pb2_grpc.py | 4 - .../injective/oracle/v1beta1/query_pb2.py | 155 - .../oracle/v1beta1/query_pb2_grpc.py | 781 ----- .../proto/injective/oracle/v1beta1/tx_pb2.py | 90 - .../injective/oracle/v1beta1/tx_pb2_grpc.py | 393 --- .../injective/peggy/v1/attestation_pb2.py | 47 - .../peggy/v1/attestation_pb2_grpc.py | 4 - .../proto/injective/peggy/v1/batch_pb2.py | 30 - .../injective/peggy/v1/batch_pb2_grpc.py | 4 - .../injective/peggy/v1/ethereum_signer_pb2.py | 30 - .../peggy/v1/ethereum_signer_pb2_grpc.py | 4 - .../proto/injective/peggy/v1/events_pb2.py | 72 - .../injective/peggy/v1/events_pb2_grpc.py | 4 - .../proto/injective/peggy/v1/genesis_pb2.py | 36 - .../injective/peggy/v1/genesis_pb2_grpc.py | 4 - .../proto/injective/peggy/v1/msgs_pb2.py | 156 - .../proto/injective/peggy/v1/msgs_pb2_grpc.py | 639 ---- .../proto/injective/peggy/v1/params_pb2.py | 44 - .../injective/peggy/v1/params_pb2_grpc.py | 4 - .../proto/injective/peggy/v1/pool_pb2.py | 32 - .../proto/injective/peggy/v1/pool_pb2_grpc.py | 4 - .../proto/injective/peggy/v1/query_pb2.py | 163 - .../injective/peggy/v1/query_pb2_grpc.py | 945 ------ .../proto/injective/peggy/v1/types_pb2.py | 38 - .../injective/peggy/v1/types_pb2_grpc.py | 4 - .../permissions/v1beta1/events_pb2.py | 32 - .../permissions/v1beta1/events_pb2_grpc.py | 4 - .../permissions/v1beta1/genesis_pb2.py | 34 - .../permissions/v1beta1/genesis_pb2_grpc.py | 4 - .../permissions/v1beta1/params_pb2.py | 33 - .../permissions/v1beta1/params_pb2_grpc.py | 4 - .../permissions/v1beta1/permissions_pb2.py | 43 - .../v1beta1/permissions_pb2_grpc.py | 4 - .../permissions/v1beta1/query_pb2.py | 74 - .../permissions/v1beta1/query_pb2_grpc.py | 308 -- .../injective/permissions/v1beta1/tx_pb2.py | 105 - .../permissions/v1beta1/tx_pb2_grpc.py | 338 --- .../injective/stream/v1beta1/query_pb2.py | 131 - .../stream/v1beta1/query_pb2_grpc.py | 80 - .../v1beta1/authorityMetadata_pb2.py | 33 - .../v1beta1/authorityMetadata_pb2_grpc.py | 4 - .../tokenfactory/v1beta1/events_pb2.py | 45 - .../tokenfactory/v1beta1/events_pb2_grpc.py | 4 - .../tokenfactory/v1beta1/genesis_pb2.py | 48 - .../tokenfactory/v1beta1/genesis_pb2_grpc.py | 4 - .../tokenfactory/v1beta1/params_pb2.py | 36 - .../tokenfactory/v1beta1/params_pb2_grpc.py | 4 - .../tokenfactory/v1beta1/query_pb2.py | 69 - .../tokenfactory/v1beta1/query_pb2_grpc.py | 216 -- .../injective/tokenfactory/v1beta1/tx_pb2.py | 106 - .../tokenfactory/v1beta1/tx_pb2_grpc.py | 295 -- .../injective/types/v1beta1/account_pb2.py | 36 - .../types/v1beta1/account_pb2_grpc.py | 4 - .../injective/types/v1beta1/tx_ext_pb2.py | 30 - .../types/v1beta1/tx_ext_pb2_grpc.py | 4 - .../types/v1beta1/tx_response_pb2.py | 29 - .../types/v1beta1/tx_response_pb2_grpc.py | 4 - .../proto/injective/wasmx/v1/events_pb2.py | 34 - .../injective/wasmx/v1/events_pb2_grpc.py | 4 - .../proto/injective/wasmx/v1/genesis_pb2.py | 35 - .../injective/wasmx/v1/genesis_pb2_grpc.py | 4 - .../proto/injective/wasmx/v1/proposal_pb2.py | 57 - .../injective/wasmx/v1/proposal_pb2_grpc.py | 4 - .../proto/injective/wasmx/v1/query_pb2.py | 51 - .../injective/wasmx/v1/query_pb2_grpc.py | 169 -- .../proto/injective/wasmx/v1/tx_pb2.py | 80 - .../proto/injective/wasmx/v1/tx_pb2_grpc.py | 295 -- .../proto/injective/wasmx/v1/wasmx_pb2.py | 45 - .../injective/wasmx/v1/wasmx_pb2_grpc.py | 4 - .../proto/tendermint/abci/types_pb2.py | 199 -- .../proto/tendermint/abci/types_pb2_grpc.py | 731 ----- .../proto/tendermint/crypto/keys_pb2.py | 30 - .../proto/tendermint/crypto/keys_pb2_grpc.py | 4 - .../proto/tendermint/crypto/proof_pb2.py | 38 - .../proto/tendermint/crypto/proof_pb2_grpc.py | 4 - .../proto/tendermint/libs/bits/types_pb2.py | 27 - .../tendermint/libs/bits/types_pb2_grpc.py | 4 - pyinjective/proto/tendermint/p2p/types_pb2.py | 48 - .../proto/tendermint/p2p/types_pb2_grpc.py | 4 - .../proto/tendermint/types/block_pb2.py | 36 - .../proto/tendermint/types/block_pb2_grpc.py | 4 - .../proto/tendermint/types/evidence_pb2.py | 43 - .../tendermint/types/evidence_pb2_grpc.py | 4 - .../proto/tendermint/types/params_pb2.py | 47 - .../proto/tendermint/types/params_pb2_grpc.py | 4 - .../proto/tendermint/types/types_pb2.py | 108 - .../proto/tendermint/types/types_pb2_grpc.py | 4 - .../proto/tendermint/types/validator_pb2.py | 47 - .../tendermint/types/validator_pb2_grpc.py | 4 - .../proto/tendermint/version/types_pb2.py | 32 - .../tendermint/version/types_pb2_grpc.py | 4 - 532 files changed, 124 insertions(+), 46146 deletions(-) delete mode 100644 pyinjective/proto/__init__.py delete mode 100644 pyinjective/proto/amino/amino_pb2.py delete mode 100644 pyinjective/proto/amino/amino_pb2_grpc.py delete mode 100644 pyinjective/proto/capability/v1/capability_pb2.py delete mode 100644 pyinjective/proto/capability/v1/capability_pb2_grpc.py delete mode 100644 pyinjective/proto/capability/v1/genesis_pb2.py delete mode 100644 pyinjective/proto/capability/v1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py delete mode 100644 pyinjective/proto/cosmos/app/v1alpha1/config_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/app/v1alpha1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/app/v1alpha1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/auth/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/auth/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py delete mode 100644 pyinjective/proto/cosmos/auth/v1beta1/auth_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/auth/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/auth/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/authz/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/authz/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py delete mode 100644 pyinjective/proto/cosmos/authz/v1beta1/authz_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py delete mode 100644 pyinjective/proto/cosmos/authz/v1beta1/event_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/authz/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/autocli/v1/options_pb2.py delete mode 100644 pyinjective/proto/cosmos/autocli/v1/options_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/autocli/v1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/autocli/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/bank/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/bank/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py delete mode 100644 pyinjective/proto/cosmos/bank/v1beta1/authz_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py delete mode 100644 pyinjective/proto/cosmos/bank/v1beta1/bank_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py delete mode 100644 pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/bank/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/bank/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py delete mode 100644 pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/base/node/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py delete mode 100644 pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py delete mode 100644 pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py delete mode 100644 pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py delete mode 100644 pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/base/v1beta1/coin_pb2.py delete mode 100644 pyinjective/proto/cosmos/base/v1beta1/coin_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/circuit/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/circuit/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/circuit/v1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/circuit/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/circuit/v1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/circuit/v1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/circuit/v1/types_pb2.py delete mode 100644 pyinjective/proto/cosmos/circuit/v1/types_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/consensus/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/consensus/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/consensus/v1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/consensus/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/consensus/v1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/consensus/v1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/crisis/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py delete mode 100644 pyinjective/proto/cosmos/crypto/ed25519/keys_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2.py delete mode 100644 pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2.py delete mode 100644 pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/crypto/multisig/keys_pb2.py delete mode 100644 pyinjective/proto/cosmos/crypto/multisig/keys_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py delete mode 100644 pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2.py delete mode 100644 pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2.py delete mode 100644 pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/distribution/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/distribution/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2.py delete mode 100644 pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/distribution/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/distribution/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/evidence/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2.py delete mode 100644 pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/evidence/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/evidence/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/feegrant/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2.py delete mode 100644 pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/genutil/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/gov/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/gov/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/gov/v1/genesis_pb2.py delete mode 100644 pyinjective/proto/cosmos/gov/v1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/gov/v1/gov_pb2.py delete mode 100644 pyinjective/proto/cosmos/gov/v1/gov_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/gov/v1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/gov/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/gov/v1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/gov/v1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/gov/v1beta1/gov_pb2.py delete mode 100644 pyinjective/proto/cosmos/gov/v1beta1/gov_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/gov/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/gov/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/gov/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/group/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/group/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/group/v1/events_pb2.py delete mode 100644 pyinjective/proto/cosmos/group/v1/events_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/group/v1/genesis_pb2.py delete mode 100644 pyinjective/proto/cosmos/group/v1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/group/v1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/group/v1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/group/v1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/group/v1/types_pb2.py delete mode 100644 pyinjective/proto/cosmos/group/v1/types_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py delete mode 100644 pyinjective/proto/cosmos/ics23/v1/proofs_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/mint/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/mint/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/mint/v1beta1/mint_pb2.py delete mode 100644 pyinjective/proto/cosmos/mint/v1beta1/mint_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/mint/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/mint/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/mint/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/msg/textual/v1/textual_pb2.py delete mode 100644 pyinjective/proto/cosmos/msg/textual/v1/textual_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/msg/v1/msg_pb2.py delete mode 100644 pyinjective/proto/cosmos/msg/v1/msg_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/nft/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/nft/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/nft/v1beta1/event_pb2.py delete mode 100644 pyinjective/proto/cosmos/nft/v1beta1/event_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/nft/v1beta1/nft_pb2.py delete mode 100644 pyinjective/proto/cosmos/nft/v1beta1/nft_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/nft/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/nft/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/nft/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/orm/v1/orm_pb2.py delete mode 100644 pyinjective/proto/cosmos/orm/v1/orm_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2.py delete mode 100644 pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/params/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/params/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/params/v1beta1/params_pb2.py delete mode 100644 pyinjective/proto/cosmos/params/v1beta1/params_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/params/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/params/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/query/v1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/query/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/reflection/v1/reflection_pb2.py delete mode 100644 pyinjective/proto/cosmos/reflection/v1/reflection_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/slashing/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/slashing/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/slashing/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py delete mode 100644 pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/staking/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/staking/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/staking/v1beta1/authz_pb2.py delete mode 100644 pyinjective/proto/cosmos/staking/v1beta1/authz_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/staking/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/staking/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py delete mode 100644 pyinjective/proto/cosmos/staking/v1beta1/staking_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/staking/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/staking/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2.py delete mode 100644 pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2.py delete mode 100644 pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2.py delete mode 100644 pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2.py delete mode 100644 pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/store/v1beta1/listening_pb2.py delete mode 100644 pyinjective/proto/cosmos/store/v1beta1/listening_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/tx/config/v1/config_pb2.py delete mode 100644 pyinjective/proto/cosmos/tx/config/v1/config_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py delete mode 100644 pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/tx/v1beta1/service_pb2.py delete mode 100644 pyinjective/proto/cosmos/tx/v1beta1/service_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/tx/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/upgrade/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/upgrade/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py delete mode 100644 pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/vesting/module/v1/module_pb2.py delete mode 100644 pyinjective/proto/cosmos/vesting/module/v1/module_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py delete mode 100644 pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/authz_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2.py delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py delete mode 100644 pyinjective/proto/cosmwasm/wasm/v1/types_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/fee/v1/ack_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/fee/v1/fee_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/fee/v1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/fee/v1/metadata_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/fee/v1/query_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/fee/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/fee/v1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/transfer/v1/authz_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py delete mode 100644 pyinjective/proto/ibc/applications/transfer/v2/packet_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/core/channel/v1/channel_pb2.py delete mode 100644 pyinjective/proto/ibc/core/channel/v1/channel_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py delete mode 100644 pyinjective/proto/ibc/core/channel/v1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/core/channel/v1/query_pb2.py delete mode 100644 pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/core/channel/v1/tx_pb2.py delete mode 100644 pyinjective/proto/ibc/core/channel/v1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/core/channel/v1/upgrade_pb2.py delete mode 100644 pyinjective/proto/ibc/core/channel/v1/upgrade_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/core/client/v1/client_pb2.py delete mode 100644 pyinjective/proto/ibc/core/client/v1/client_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/core/client/v1/genesis_pb2.py delete mode 100644 pyinjective/proto/ibc/core/client/v1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/core/client/v1/query_pb2.py delete mode 100644 pyinjective/proto/ibc/core/client/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/core/client/v1/tx_pb2.py delete mode 100644 pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py delete mode 100644 pyinjective/proto/ibc/core/commitment/v1/commitment_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/core/connection/v1/connection_pb2.py delete mode 100644 pyinjective/proto/ibc/core/connection/v1/connection_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/core/connection/v1/genesis_pb2.py delete mode 100644 pyinjective/proto/ibc/core/connection/v1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/core/connection/v1/query_pb2.py delete mode 100644 pyinjective/proto/ibc/core/connection/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/core/connection/v1/tx_pb2.py delete mode 100644 pyinjective/proto/ibc/core/connection/v1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/core/types/v1/genesis_pb2.py delete mode 100644 pyinjective/proto/ibc/core/types/v1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/lightclients/localhost/v2/localhost_pb2.py delete mode 100644 pyinjective/proto/ibc/lightclients/localhost/v2/localhost_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2.py delete mode 100644 pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py delete mode 100644 pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py delete mode 100644 pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/lightclients/wasm/v1/genesis_pb2.py delete mode 100644 pyinjective/proto/ibc/lightclients/wasm/v1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/lightclients/wasm/v1/query_pb2.py delete mode 100644 pyinjective/proto/ibc/lightclients/wasm/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/lightclients/wasm/v1/tx_pb2.py delete mode 100644 pyinjective/proto/ibc/lightclients/wasm/v1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/ibc/lightclients/wasm/v1/wasm_pb2.py delete mode 100644 pyinjective/proto/ibc/lightclients/wasm/v1/wasm_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/auction/v1beta1/auction_pb2.py delete mode 100644 pyinjective/proto/injective/auction/v1beta1/auction_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/auction/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/injective/auction/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/auction/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/injective/auction/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/auction/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/injective/auction/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py delete mode 100644 pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py delete mode 100644 pyinjective/proto/injective/exchange/v1beta1/authz_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/exchange/v1beta1/events_pb2.py delete mode 100644 pyinjective/proto/injective/exchange/v1beta1/events_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py delete mode 100644 pyinjective/proto/injective/exchange/v1beta1/exchange_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/injective/exchange/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py delete mode 100644 pyinjective/proto/injective/exchange/v1beta1/proposal_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/exchange/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/injective/exchange/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/insurance/v1beta1/events_pb2.py delete mode 100644 pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/injective/insurance/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py delete mode 100644 pyinjective/proto/injective/insurance/v1beta1/insurance_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/insurance/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/injective/insurance/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/injective/insurance/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/injective/ocr/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py delete mode 100644 pyinjective/proto/injective/ocr/v1beta1/ocr_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/ocr/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/injective/ocr/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/ocr/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/injective/ocr/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/oracle/v1beta1/events_pb2.py delete mode 100644 pyinjective/proto/injective/oracle/v1beta1/events_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/oracle/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/injective/oracle/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py delete mode 100644 pyinjective/proto/injective/oracle/v1beta1/oracle_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py delete mode 100644 pyinjective/proto/injective/oracle/v1beta1/proposal_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/oracle/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/injective/oracle/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/peggy/v1/attestation_pb2.py delete mode 100644 pyinjective/proto/injective/peggy/v1/attestation_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/peggy/v1/batch_pb2.py delete mode 100644 pyinjective/proto/injective/peggy/v1/batch_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py delete mode 100644 pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/peggy/v1/events_pb2.py delete mode 100644 pyinjective/proto/injective/peggy/v1/events_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/peggy/v1/genesis_pb2.py delete mode 100644 pyinjective/proto/injective/peggy/v1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/peggy/v1/msgs_pb2.py delete mode 100644 pyinjective/proto/injective/peggy/v1/msgs_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/peggy/v1/params_pb2.py delete mode 100644 pyinjective/proto/injective/peggy/v1/params_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/peggy/v1/pool_pb2.py delete mode 100644 pyinjective/proto/injective/peggy/v1/pool_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/peggy/v1/query_pb2.py delete mode 100644 pyinjective/proto/injective/peggy/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/peggy/v1/types_pb2.py delete mode 100644 pyinjective/proto/injective/peggy/v1/types_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/permissions/v1beta1/events_pb2.py delete mode 100644 pyinjective/proto/injective/permissions/v1beta1/events_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/permissions/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/injective/permissions/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/permissions/v1beta1/params_pb2.py delete mode 100644 pyinjective/proto/injective/permissions/v1beta1/params_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py delete mode 100644 pyinjective/proto/injective/permissions/v1beta1/permissions_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/permissions/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/stream/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py delete mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py delete mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py delete mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py delete mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py delete mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py delete mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/types/v1beta1/account_pb2.py delete mode 100644 pyinjective/proto/injective/types/v1beta1/account_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py delete mode 100644 pyinjective/proto/injective/types/v1beta1/tx_ext_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py delete mode 100644 pyinjective/proto/injective/types/v1beta1/tx_response_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/wasmx/v1/events_pb2.py delete mode 100644 pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/wasmx/v1/genesis_pb2.py delete mode 100644 pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/wasmx/v1/proposal_pb2.py delete mode 100644 pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/wasmx/v1/query_pb2.py delete mode 100644 pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/wasmx/v1/tx_pb2.py delete mode 100644 pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py delete mode 100644 pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py delete mode 100644 pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py delete mode 100644 pyinjective/proto/tendermint/abci/types_pb2.py delete mode 100644 pyinjective/proto/tendermint/abci/types_pb2_grpc.py delete mode 100644 pyinjective/proto/tendermint/crypto/keys_pb2.py delete mode 100644 pyinjective/proto/tendermint/crypto/keys_pb2_grpc.py delete mode 100644 pyinjective/proto/tendermint/crypto/proof_pb2.py delete mode 100644 pyinjective/proto/tendermint/crypto/proof_pb2_grpc.py delete mode 100644 pyinjective/proto/tendermint/libs/bits/types_pb2.py delete mode 100644 pyinjective/proto/tendermint/libs/bits/types_pb2_grpc.py delete mode 100644 pyinjective/proto/tendermint/p2p/types_pb2.py delete mode 100644 pyinjective/proto/tendermint/p2p/types_pb2_grpc.py delete mode 100644 pyinjective/proto/tendermint/types/block_pb2.py delete mode 100644 pyinjective/proto/tendermint/types/block_pb2_grpc.py delete mode 100644 pyinjective/proto/tendermint/types/evidence_pb2.py delete mode 100644 pyinjective/proto/tendermint/types/evidence_pb2_grpc.py delete mode 100644 pyinjective/proto/tendermint/types/params_pb2.py delete mode 100644 pyinjective/proto/tendermint/types/params_pb2_grpc.py delete mode 100644 pyinjective/proto/tendermint/types/types_pb2.py delete mode 100644 pyinjective/proto/tendermint/types/types_pb2_grpc.py delete mode 100644 pyinjective/proto/tendermint/types/validator_pb2.py delete mode 100644 pyinjective/proto/tendermint/types/validator_pb2_grpc.py delete mode 100644 pyinjective/proto/tendermint/version/types_pb2.py delete mode 100644 pyinjective/proto/tendermint/version/types_pb2_grpc.py diff --git a/Makefile b/Makefile index 76e8dbc6..61690e7a 100644 --- a/Makefile +++ b/Makefile @@ -2,14 +2,18 @@ all: gen: gen-client -gen-client: clone-all copy-proto +gen-client: + git clone --depth 1 --branch v1.13.2 https://github.com/InjectiveLabs/injective-core + mkdir -p proto + + cp -r injective-core/proto/* proto/ mkdir -p ./pyinjective/proto buf generate --template buf.gen.yaml rm -rf proto $(call clean_repos) $(MAKE) fix-generated-proto-imports -PROTO_MODULES := cosmwasm exchange gogoproto cosmos_proto cosmos testpb ibc amino tendermint injective +PROTO_MODULES := cosmwasm gogoproto cosmos_proto cosmos testpb ibc amino tendermint injective fix-generated-proto-imports: @touch pyinjective/proto/__init__.py @@ -29,17 +33,6 @@ endef clean-all: $(call clean_repos) - -clone-injective-indexer: - git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.13.4 --depth 1 --single-branch - -clone-all: clone-injective-indexer - -copy-proto: - rm -rf pyinjective/proto - mkdir -p proto/exchange - find ./injective-indexer/api/gen/grpc -type f -name "*.proto" -exec cp {} ./proto/exchange/ \; - tests: poetry run pytest -v diff --git a/buf.gen.yaml b/buf.gen.yaml index 82747c53..2f3f1cf2 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -21,7 +21,7 @@ inputs: # branch: v0.51.x-inj # subdir: proto - git_repo: https://github.com/InjectiveLabs/injective-core - tag: v1.13.0 + tag: v1.13.2 subdir: proto # - git_repo: https://github.com/InjectiveLabs/injective-core # branch: master diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 6a4322f9..5c7fad57 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -98,7 +98,7 @@ def __init__( self.timeout_height = 1 # exchange stubs - + self.chain_stream_channel = self.network.create_chain_stream_grpc_channel() self.chain_stream_stub = stream_rpc_grpc.StreamStub(channel=self.chain_stream_channel) @@ -174,68 +174,6 @@ def __init__( cookie_assistant=network.chain_cookie_assistant, ) - # self.exchange_account_api = IndexerGrpcAccountApi( - # channel=self.exchange_channel, - # cookie_assistant=network.exchange_cookie_assistant, - # ) - # self.exchange_auction_api = IndexerGrpcAuctionApi( - # channel=self.exchange_channel, - # cookie_assistant=network.exchange_cookie_assistant, - # ) - # self.exchange_derivative_api = IndexerGrpcDerivativeApi( - # channel=self.exchange_channel, - # cookie_assistant=network.exchange_cookie_assistant, - # ) - # self.exchange_insurance_api = IndexerGrpcInsuranceApi( - # channel=self.exchange_channel, - # cookie_assistant=network.exchange_cookie_assistant, - # ) - # self.exchange_meta_api = IndexerGrpcMetaApi( - # channel=self.exchange_channel, - # cookie_assistant=network.exchange_cookie_assistant, - # ) - # self.exchange_oracle_api = IndexerGrpcOracleApi( - # channel=self.exchange_channel, - # cookie_assistant=network.exchange_cookie_assistant, - # ) - # self.exchange_portfolio_api = IndexerGrpcPortfolioApi( - # channel=self.exchange_channel, - # cookie_assistant=network.exchange_cookie_assistant, - # ) - # self.exchange_spot_api = IndexerGrpcSpotApi( - # channel=self.exchange_channel, - # cookie_assistant=network.exchange_cookie_assistant, - # ) - # - # self.exchange_account_stream_api = IndexerGrpcAccountStream( - # channel=self.exchange_channel, - # cookie_assistant=network.exchange_cookie_assistant, - # ) - # self.exchange_auction_stream_api = IndexerGrpcAuctionStream( - # channel=self.exchange_channel, - # cookie_assistant=network.exchange_cookie_assistant, - # ) - # self.exchange_derivative_stream_api = IndexerGrpcDerivativeStream( - # channel=self.exchange_channel, - # cookie_assistant=network.exchange_cookie_assistant, - # ) - # self.exchange_meta_stream_api = IndexerGrpcMetaStream( - # channel=self.exchange_channel, - # cookie_assistant=network.exchange_cookie_assistant, - # ) - # self.exchange_oracle_stream_api = IndexerGrpcOracleStream( - # channel=self.exchange_channel, - # cookie_assistant=network.exchange_cookie_assistant, - # ) - # self.exchange_portfolio_stream_api = IndexerGrpcPortfolioStream( - # channel=self.exchange_channel, - # cookie_assistant=network.exchange_cookie_assistant, - # ) - # self.exchange_spot_stream_api = IndexerGrpcSpotStream( - # channel=self.exchange_channel, - # cookie_assistant=network.exchange_cookie_assistant, - # ) - async def all_tokens(self) -> Dict[str, Token]: if self._tokens_by_symbol is None: async with self._tokens_and_markets_initialization_lock: @@ -835,9 +773,7 @@ async def fetch_subaccount_position_in_market(self, subaccount_id: str, market_i market_id=market_id, ) - async def fetch_subaccount_effective_position_in_market( - self, subaccount_id: str, market_id: str - ) -> Dict[str, Any]: + async def fetch_subaccount_effective_position_in_market(self, subaccount_id: str, market_id: str) -> Dict[str, Any]: return await self.chain_exchange_api.fetch_subaccount_effective_position_in_market( subaccount_id=subaccount_id, market_id=market_id, @@ -1118,11 +1054,9 @@ async def fetch_spot_markets( async def fetch_spot_orderbook(self, market_id: str) -> Dict[str, Any]: return await self.chain_exchange_api.fetch_orderbook_v2(market_id=market_id) - - # DerivativeRPC ####MASSIVE TODO : NEED TO WRITE A LIQUIDABLE POSITIONS WATCHER####### - #async def get_derivative_liquidable_positions(self, **kwargs): + # async def get_derivative_liquidable_positions(self, **kwargs): # """ # This method is deprecated and will be removed soon. Please use `fetch_derivative_liquidable_positions` instead # """ @@ -1138,16 +1072,16 @@ async def fetch_spot_orderbook(self, market_id: str) -> Dict[str, Any]: # ) # return await self.stubDerivativeExchange.LiquidablePositions(req) - #async def fetch_derivative_liquidable_positions( + # async def fetch_derivative_liquidable_positions( # self, # market_id: Optional[str] = None, # pagination: Optional[PaginationOption] = None, - #) -> Dict[str, Any]: + # ) -> Dict[str, Any]: # return await self.exchange_derivative_api.fetch_liquidable_positions( # market_id=market_id, # pagination=pagination, # ) - # PortfolioRPC + # PortfolioRPC async def chain_stream( self, bank_balances_filter: Optional[chain_stream_query.BankBalancesFilter] = None, @@ -1501,9 +1435,7 @@ async def _initialize_tokens_and_markets(self): spot_markets[market.id] = market - markets_info = (await self.fetch_derivative_markets(status="Active", with_mid_price_and_tob=False))[ - "markets" - ] + markets_info = (await self.fetch_derivative_markets(status="Active", with_mid_price_and_tob=False))["markets"] for market_info in markets_info: market = market_info["market"] quote_token = self._tokens_by_denom.get(market["quoteDenom"]) @@ -1566,9 +1498,11 @@ async def _initialize_tokens_and_markets(self): Decimal(market_info["minQuantityTickSize"]) ), min_notional=Token.convert_value_from_extended_decimal_format(Decimal(market_info["minNotional"])), - settlement_price=None - if market_info["settlementPrice"] == "" - else Token.convert_value_from_extended_decimal_format(Decimal(market_info["settlementPrice"])), + settlement_price=( + None + if market_info["settlementPrice"] == "" + else Token.convert_value_from_extended_decimal_format(Decimal(market_info["settlementPrice"])) + ), ) binary_option_markets[market.id] = market diff --git a/pyinjective/composer.py b/pyinjective/composer.py index 94b24cee..698a7e33 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -937,7 +937,7 @@ def MsgPrivilegedExecuteContract( sender=sender, contract_address=contract, data=msg, - funds=kwargs.get("funds") # funds is a string of Coin strings, comma separated, + funds=kwargs.get("funds"), # funds is a string of Coin strings, comma separated, # e.g. 100000inj,20000000000usdt ) @@ -2105,7 +2105,7 @@ def MsgExecuteContract(self, sender: str, contract: str, msg: str, **kwargs): sender=sender, contract=contract, msg=bytes(msg, "utf-8"), - funds=kwargs.get("funds") # funds is a list of base_coin_pb.Coin. + funds=kwargs.get("funds"), # funds is a list of base_coin_pb.Coin. # The coins in the list must be sorted in alphabetical order by denoms. ) diff --git a/pyinjective/core/broadcaster.py b/pyinjective/core/broadcaster.py index 778bc4c9..68a1ed95 100644 --- a/pyinjective/core/broadcaster.py +++ b/pyinjective/core/broadcaster.py @@ -18,22 +18,18 @@ class BroadcasterAccountConfig(ABC): @property @abstractmethod - def trading_injective_address(self) -> str: - ... + def trading_injective_address(self) -> str: ... @property @abstractmethod - def trading_private_key(self) -> PrivateKey: - ... + def trading_private_key(self) -> PrivateKey: ... @property @abstractmethod - def trading_public_key(self) -> PublicKey: - ... + def trading_public_key(self) -> PublicKey: ... @abstractmethod - def messages_prepared_for_transaction(self, messages: List[any_pb2.Any]) -> List[any_pb2.Any]: - ... + def messages_prepared_for_transaction(self, messages: List[any_pb2.Any]) -> List[any_pb2.Any]: ... class TransactionFeeCalculator(ABC): @@ -45,8 +41,7 @@ async def configure_gas_fee_for_transaction( transaction: Transaction, private_key: PrivateKey, public_key: PublicKey, - ): - ... + ): ... class MsgBroadcasterWithPk: diff --git a/pyinjective/core/gas_limit_estimator.py b/pyinjective/core/gas_limit_estimator.py index 335af501..ba2f26a9 100644 --- a/pyinjective/core/gas_limit_estimator.py +++ b/pyinjective/core/gas_limit_estimator.py @@ -27,8 +27,7 @@ class GasLimitEstimator(ABC): @classmethod @abstractmethod - def applies_to(cls, message: any_pb2.Any) -> bool: - ... + def applies_to(cls, message: any_pb2.Any) -> bool: ... @classmethod def for_message(cls, message: any_pb2.Any): @@ -48,8 +47,7 @@ def for_message(cls, message: any_pb2.Any): return estimator @abstractmethod - def gas_limit(self) -> int: - ... + def gas_limit(self) -> int: ... @staticmethod def message_type(message: any_pb2.Any) -> str: @@ -60,8 +58,7 @@ def message_type(message: any_pb2.Any) -> str: return message_type @abstractmethod - def _message_class(self, message: any_pb2.Any): - ... + def _message_class(self, message: any_pb2.Any): ... def _parsed_message(self, message: any_pb2.Any) -> any_pb2.Any: if isinstance(message, any_pb2.Any): diff --git a/pyinjective/core/network.py b/pyinjective/core/network.py index 7ffd7e96..fb7bed25 100644 --- a/pyinjective/core/network.py +++ b/pyinjective/core/network.py @@ -11,12 +11,10 @@ class CookieAssistant(ABC): @abstractmethod - def cookie(self) -> Optional[str]: - ... + def cookie(self) -> Optional[str]: ... @abstractmethod - async def process_response_metadata(self, grpc_call: Call): - ... + async def process_response_metadata(self, grpc_call: Call): ... def metadata(self) -> Metadata: cookie = self.cookie() diff --git a/pyinjective/proto/__init__.py b/pyinjective/proto/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/pyinjective/proto/amino/amino_pb2.py b/pyinjective/proto/amino/amino_pb2.py deleted file mode 100644 index f4d639e0..00000000 --- a/pyinjective/proto/amino/amino_pb2.py +++ /dev/null @@ -1,26 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: amino/amino.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x61mino/amino.proto\x12\x05\x61mino\x1a google/protobuf/descriptor.proto:6\n\x04name\x12\x1f.google.protobuf.MessageOptions\x18\xf1\x8c\xa6\x05 \x01(\tR\x04name:M\n\x10message_encoding\x12\x1f.google.protobuf.MessageOptions\x18\xf2\x8c\xa6\x05 \x01(\tR\x0fmessageEncoding:<\n\x08\x65ncoding\x12\x1d.google.protobuf.FieldOptions\x18\xf3\x8c\xa6\x05 \x01(\tR\x08\x65ncoding:?\n\nfield_name\x12\x1d.google.protobuf.FieldOptions\x18\xf4\x8c\xa6\x05 \x01(\tR\tfieldName:G\n\x0e\x64ont_omitempty\x12\x1d.google.protobuf.FieldOptions\x18\xf5\x8c\xa6\x05 \x01(\x08R\rdontOmitempty:?\n\noneof_name\x12\x1d.google.protobuf.FieldOptions\x18\xf6\x8c\xa6\x05 \x01(\tR\toneofNameBx\n\tcom.aminoB\nAminoProtoP\x01Z+github.com/cosmos/cosmos-sdk/types/tx/amino\xa2\x02\x03\x41XX\xaa\x02\x05\x41mino\xca\x02\x05\x41mino\xe2\x02\x11\x41mino\\GPBMetadata\xea\x02\x05\x41minob\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'amino.amino_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\tcom.aminoB\nAminoProtoP\001Z+github.com/cosmos/cosmos-sdk/types/tx/amino\242\002\003AXX\252\002\005Amino\312\002\005Amino\342\002\021Amino\\GPBMetadata\352\002\005Amino' -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/amino/amino_pb2_grpc.py b/pyinjective/proto/amino/amino_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/amino/amino_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/capability/v1/capability_pb2.py b/pyinjective/proto/capability/v1/capability_pb2.py deleted file mode 100644 index bcb76116..00000000 --- a/pyinjective/proto/capability/v1/capability_pb2.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: capability/v1/capability.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63\x61pability/v1/capability.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"(\n\nCapability\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index:\x04\x98\xa0\x1f\x00\"=\n\x05Owner\x12\x16\n\x06module\x18\x01 \x01(\tR\x06module\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"K\n\x10\x43\x61pabilityOwners\x12\x37\n\x06owners\x18\x01 \x03(\x0b\x32\x14.capability.v1.OwnerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06ownersB\xac\x01\n\x11\x63om.capability.v1B\x0f\x43\x61pabilityProtoP\x01Z1github.com/cosmos/ibc-go/modules/capability/types\xa2\x02\x03\x43XX\xaa\x02\rCapability.V1\xca\x02\rCapability\\V1\xe2\x02\x19\x43\x61pability\\V1\\GPBMetadata\xea\x02\x0e\x43\x61pability::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.capability_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.capability.v1B\017CapabilityProtoP\001Z1github.com/cosmos/ibc-go/modules/capability/types\242\002\003CXX\252\002\rCapability.V1\312\002\rCapability\\V1\342\002\031Capability\\V1\\GPBMetadata\352\002\016Capability::V1' - _globals['_CAPABILITY']._loaded_options = None - _globals['_CAPABILITY']._serialized_options = b'\230\240\037\000' - _globals['_OWNER']._loaded_options = None - _globals['_OWNER']._serialized_options = b'\210\240\037\000\230\240\037\000' - _globals['_CAPABILITYOWNERS'].fields_by_name['owners']._loaded_options = None - _globals['_CAPABILITYOWNERS'].fields_by_name['owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CAPABILITY']._serialized_start=90 - _globals['_CAPABILITY']._serialized_end=130 - _globals['_OWNER']._serialized_start=132 - _globals['_OWNER']._serialized_end=193 - _globals['_CAPABILITYOWNERS']._serialized_start=195 - _globals['_CAPABILITYOWNERS']._serialized_end=270 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/capability_pb2_grpc.py b/pyinjective/proto/capability/v1/capability_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/capability/v1/capability_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/capability/v1/genesis_pb2.py b/pyinjective/proto/capability/v1/genesis_pb2.py deleted file mode 100644 index 5504049e..00000000 --- a/pyinjective/proto/capability/v1/genesis_pb2.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: capability/v1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from capability.v1 import capability_pb2 as capability_dot_v1_dot_capability__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63\x61pability/v1/genesis.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63\x61pability/v1/capability.proto\x1a\x11\x61mino/amino.proto\"t\n\rGenesisOwners\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index\x12M\n\x0cindex_owners\x18\x02 \x01(\x0b\x32\x1f.capability.v1.CapabilityOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0bindexOwners\"e\n\x0cGenesisState\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index\x12?\n\x06owners\x18\x02 \x03(\x0b\x32\x1c.capability.v1.GenesisOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06ownersB\xa9\x01\n\x11\x63om.capability.v1B\x0cGenesisProtoP\x01Z1github.com/cosmos/ibc-go/modules/capability/types\xa2\x02\x03\x43XX\xaa\x02\rCapability.V1\xca\x02\rCapability\\V1\xe2\x02\x19\x43\x61pability\\V1\\GPBMetadata\xea\x02\x0e\x43\x61pability::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.capability.v1B\014GenesisProtoP\001Z1github.com/cosmos/ibc-go/modules/capability/types\242\002\003CXX\252\002\rCapability.V1\312\002\rCapability\\V1\342\002\031Capability\\V1\\GPBMetadata\352\002\016Capability::V1' - _globals['_GENESISOWNERS'].fields_by_name['index_owners']._loaded_options = None - _globals['_GENESISOWNERS'].fields_by_name['index_owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['owners']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISOWNERS']._serialized_start=119 - _globals['_GENESISOWNERS']._serialized_end=235 - _globals['_GENESISSTATE']._serialized_start=237 - _globals['_GENESISSTATE']._serialized_end=338 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/genesis_pb2_grpc.py b/pyinjective/proto/capability/v1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/capability/v1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/app/runtime/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py deleted file mode 100644 index cd567873..00000000 --- a/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/app/runtime/v1alpha1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(cosmos/app/runtime/v1alpha1/module.proto\x12\x1b\x63osmos.app.runtime.v1alpha1\x1a cosmos/app/v1alpha1/module.proto\"\xdc\x03\n\x06Module\x12\x19\n\x08\x61pp_name\x18\x01 \x01(\tR\x07\x61ppName\x12%\n\x0e\x62\x65gin_blockers\x18\x02 \x03(\tR\rbeginBlockers\x12!\n\x0c\x65nd_blockers\x18\x03 \x03(\tR\x0b\x65ndBlockers\x12!\n\x0cinit_genesis\x18\x04 \x03(\tR\x0binitGenesis\x12%\n\x0e\x65xport_genesis\x18\x05 \x03(\tR\rexportGenesis\x12[\n\x13override_store_keys\x18\x06 \x03(\x0b\x32+.cosmos.app.runtime.v1alpha1.StoreKeyConfigR\x11overrideStoreKeys\x12)\n\x10order_migrations\x18\x07 \x03(\tR\x0forderMigrations\x12\"\n\x0cprecommiters\x18\x08 \x03(\tR\x0cprecommiters\x12\x32\n\x15prepare_check_staters\x18\t \x03(\tR\x13prepareCheckStaters:C\xba\xc0\x96\xda\x01=\n$github.com/cosmos/cosmos-sdk/runtime\x12\x15\n\x13\x63osmos.app.v1alpha1\"S\n\x0eStoreKeyConfig\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName\x12 \n\x0ckv_store_key\x18\x02 \x01(\tR\nkvStoreKeyB\xbd\x01\n\x1f\x63om.cosmos.app.runtime.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41R\xaa\x02\x1b\x43osmos.App.Runtime.V1alpha1\xca\x02\x1b\x43osmos\\App\\Runtime\\V1alpha1\xe2\x02\'Cosmos\\App\\Runtime\\V1alpha1\\GPBMetadata\xea\x02\x1e\x43osmos::App::Runtime::V1alpha1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.runtime.v1alpha1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.app.runtime.v1alpha1B\013ModuleProtoP\001\242\002\003CAR\252\002\033Cosmos.App.Runtime.V1alpha1\312\002\033Cosmos\\App\\Runtime\\V1alpha1\342\002\'Cosmos\\App\\Runtime\\V1alpha1\\GPBMetadata\352\002\036Cosmos::App::Runtime::V1alpha1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001=\n$github.com/cosmos/cosmos-sdk/runtime\022\025\n\023cosmos.app.v1alpha1' - _globals['_MODULE']._serialized_start=108 - _globals['_MODULE']._serialized_end=584 - _globals['_STOREKEYCONFIG']._serialized_start=586 - _globals['_STOREKEYCONFIG']._serialized_end=669 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/app/v1alpha1/config_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py deleted file mode 100644 index a86065bd..00000000 --- a/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/app/v1alpha1/config.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/app/v1alpha1/config.proto\x12\x13\x63osmos.app.v1alpha1\x1a\x19google/protobuf/any.proto\"\x92\x01\n\x06\x43onfig\x12;\n\x07modules\x18\x01 \x03(\x0b\x32!.cosmos.app.v1alpha1.ModuleConfigR\x07modules\x12K\n\x0fgolang_bindings\x18\x02 \x03(\x0b\x32\".cosmos.app.v1alpha1.GolangBindingR\x0egolangBindings\"\x9d\x01\n\x0cModuleConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12,\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06\x63onfig\x12K\n\x0fgolang_bindings\x18\x03 \x03(\x0b\x32\".cosmos.app.v1alpha1.GolangBindingR\x0egolangBindings\"^\n\rGolangBinding\x12%\n\x0einterface_type\x18\x01 \x01(\tR\rinterfaceType\x12&\n\x0eimplementation\x18\x02 \x01(\tR\x0eimplementationB\x94\x01\n\x17\x63om.cosmos.app.v1alpha1B\x0b\x43onfigProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.config_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.app.v1alpha1B\013ConfigProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1' - _globals['_CONFIG']._serialized_start=85 - _globals['_CONFIG']._serialized_end=231 - _globals['_MODULECONFIG']._serialized_start=234 - _globals['_MODULECONFIG']._serialized_end=391 - _globals['_GOLANGBINDING']._serialized_start=393 - _globals['_GOLANGBINDING']._serialized_end=487 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/v1alpha1/config_pb2_grpc.py b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/app/v1alpha1/config_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/app/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py deleted file mode 100644 index 05c39db9..00000000 --- a/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/app/v1alpha1/module.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/app/v1alpha1/module.proto\x12\x13\x63osmos.app.v1alpha1\x1a google/protobuf/descriptor.proto\"\xc7\x01\n\x10ModuleDescriptor\x12\x1b\n\tgo_import\x18\x01 \x01(\tR\x08goImport\x12\x46\n\x0buse_package\x18\x02 \x03(\x0b\x32%.cosmos.app.v1alpha1.PackageReferenceR\nusePackage\x12N\n\x10\x63\x61n_migrate_from\x18\x03 \x03(\x0b\x32$.cosmos.app.v1alpha1.MigrateFromInfoR\x0e\x63\x61nMigrateFrom\"B\n\x10PackageReference\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n\x08revision\x18\x02 \x01(\rR\x08revision\")\n\x0fMigrateFromInfo\x12\x16\n\x06module\x18\x01 \x01(\tR\x06module:a\n\x06module\x12\x1f.google.protobuf.MessageOptions\x18\x87\xe8\xa2\x1b \x01(\x0b\x32%.cosmos.app.v1alpha1.ModuleDescriptorR\x06moduleB\x94\x01\n\x17\x63om.cosmos.app.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.app.v1alpha1B\013ModuleProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1' - _globals['_MODULEDESCRIPTOR']._serialized_start=92 - _globals['_MODULEDESCRIPTOR']._serialized_end=291 - _globals['_PACKAGEREFERENCE']._serialized_start=293 - _globals['_PACKAGEREFERENCE']._serialized_end=359 - _globals['_MIGRATEFROMINFO']._serialized_start=361 - _globals['_MIGRATEFROMINFO']._serialized_end=402 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/v1alpha1/module_pb2_grpc.py b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/app/v1alpha1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/app/v1alpha1/query_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py deleted file mode 100644 index 448ab7c7..00000000 --- a/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/app/v1alpha1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import config_pb2 as cosmos_dot_app_dot_v1alpha1_dot_config__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/app/v1alpha1/query.proto\x12\x13\x63osmos.app.v1alpha1\x1a cosmos/app/v1alpha1/config.proto\"\x14\n\x12QueryConfigRequest\"J\n\x13QueryConfigResponse\x12\x33\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1b.cosmos.app.v1alpha1.ConfigR\x06\x63onfig2f\n\x05Query\x12]\n\x06\x43onfig\x12\'.cosmos.app.v1alpha1.QueryConfigRequest\x1a(.cosmos.app.v1alpha1.QueryConfigResponse\"\x00\x42\x93\x01\n\x17\x63om.cosmos.app.v1alpha1B\nQueryProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.app.v1alpha1B\nQueryProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1' - _globals['_QUERYCONFIGREQUEST']._serialized_start=90 - _globals['_QUERYCONFIGREQUEST']._serialized_end=110 - _globals['_QUERYCONFIGRESPONSE']._serialized_start=112 - _globals['_QUERYCONFIGRESPONSE']._serialized_end=186 - _globals['_QUERY']._serialized_start=188 - _globals['_QUERY']._serialized_end=290 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/v1alpha1/query_pb2_grpc.py b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2_grpc.py deleted file mode 100644 index 86f0b576..00000000 --- a/pyinjective/proto/cosmos/app/v1alpha1/query_pb2_grpc.py +++ /dev/null @@ -1,81 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.app.v1alpha1 import query_pb2 as cosmos_dot_app_dot_v1alpha1_dot_query__pb2 - - -class QueryStub(object): - """Query is the app module query service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Config = channel.unary_unary( - '/cosmos.app.v1alpha1.Query/Config', - request_serializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigRequest.SerializeToString, - response_deserializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query is the app module query service. - """ - - def Config(self, request, context): - """Config returns the current app config. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Config': grpc.unary_unary_rpc_method_handler( - servicer.Config, - request_deserializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigRequest.FromString, - response_serializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.app.v1alpha1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.app.v1alpha1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query is the app module query service. - """ - - @staticmethod - def Config(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.app.v1alpha1.Query/Config', - cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigRequest.SerializeToString, - cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py b/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py deleted file mode 100644 index 15c313d5..00000000 --- a/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/auth/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/auth/module/v1/module.proto\x12\x15\x63osmos.auth.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\xe6\x01\n\x06Module\x12#\n\rbech32_prefix\x18\x01 \x01(\tR\x0c\x62\x65\x63h32Prefix\x12l\n\x1amodule_account_permissions\x18\x02 \x03(\x0b\x32..cosmos.auth.module.v1.ModuleAccountPermissionR\x18moduleAccountPermissions\x12\x1c\n\tauthority\x18\x03 \x01(\tR\tauthority:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/auth\"U\n\x17ModuleAccountPermission\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12 \n\x0bpermissions\x18\x02 \x03(\tR\x0bpermissionsB\x9f\x01\n\x19\x63om.cosmos.auth.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41M\xaa\x02\x15\x43osmos.Auth.Module.V1\xca\x02\x15\x43osmos\\Auth\\Module\\V1\xe2\x02!Cosmos\\Auth\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Auth::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.auth.module.v1B\013ModuleProtoP\001\242\002\003CAM\252\002\025Cosmos.Auth.Module.V1\312\002\025Cosmos\\Auth\\Module\\V1\342\002!Cosmos\\Auth\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Auth::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/auth' - _globals['_MODULE']._serialized_start=96 - _globals['_MODULE']._serialized_end=326 - _globals['_MODULEACCOUNTPERMISSION']._serialized_start=328 - _globals['_MODULEACCOUNTPERMISSION']._serialized_end=413 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/auth/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/auth/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/auth/v1beta1/auth_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py deleted file mode 100644 index ab1b8bbc..00000000 --- a/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py +++ /dev/null @@ -1,55 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/auth/v1beta1/auth.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.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\x1e\x63osmos/auth/v1beta1/auth.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xa1\x02\n\x0b\x42\x61seAccount\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12V\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\'\xea\xde\x1f\x14public_key,omitempty\xa2\xe7\xb0*\npublic_keyR\x06pubKey\x12%\n\x0e\x61\x63\x63ount_number\x18\x03 \x01(\x04R\raccountNumber\x12\x1a\n\x08sequence\x18\x04 \x01(\x04R\x08sequence:C\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountI\x8a\xe7\xb0*\x16\x63osmos-sdk/BaseAccount\"\xec\x01\n\rModuleAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0bpermissions\x18\x03 \x03(\tR\x0bpermissions:Z\x88\xa0\x1f\x00\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountI\x8a\xe7\xb0*\x18\x63osmos-sdk/ModuleAccount\x92\xe7\xb0*\x0emodule_account\"\x84\x01\n\x10ModuleCredential\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName\x12\'\n\x0f\x64\x65rivation_keys\x18\x02 \x03(\x0cR\x0e\x64\x65rivationKeys:&\x8a\xe7\xb0*!cosmos-sdk/GroupAccountCredential\"\xd7\x02\n\x06Params\x12.\n\x13max_memo_characters\x18\x01 \x01(\x04R\x11maxMemoCharacters\x12 \n\x0ctx_sig_limit\x18\x02 \x01(\x04R\ntxSigLimit\x12\x30\n\x15tx_size_cost_per_byte\x18\x03 \x01(\x04R\x11txSizeCostPerByte\x12O\n\x17sig_verify_cost_ed25519\x18\x04 \x01(\x04\x42\x18\xe2\xde\x1f\x14SigVerifyCostED25519R\x14sigVerifyCostEd25519\x12U\n\x19sig_verify_cost_secp256k1\x18\x05 \x01(\x04\x42\x1a\xe2\xde\x1f\x16SigVerifyCostSecp256k1R\x16sigVerifyCostSecp256k1:!\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x18\x63osmos-sdk/x/auth/ParamsB\xbd\x01\n\x17\x63om.cosmos.auth.v1beta1B\tAuthProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.auth_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.auth.v1beta1B\tAuthProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1' - _globals['_BASEACCOUNT'].fields_by_name['address']._loaded_options = None - _globals['_BASEACCOUNT'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_BASEACCOUNT'].fields_by_name['pub_key']._loaded_options = None - _globals['_BASEACCOUNT'].fields_by_name['pub_key']._serialized_options = b'\352\336\037\024public_key,omitempty\242\347\260*\npublic_key' - _globals['_BASEACCOUNT']._loaded_options = None - _globals['_BASEACCOUNT']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\034cosmos.auth.v1beta1.AccountI\212\347\260*\026cosmos-sdk/BaseAccount' - _globals['_MODULEACCOUNT'].fields_by_name['base_account']._loaded_options = None - _globals['_MODULEACCOUNT'].fields_by_name['base_account']._serialized_options = b'\320\336\037\001' - _globals['_MODULEACCOUNT']._loaded_options = None - _globals['_MODULEACCOUNT']._serialized_options = b'\210\240\037\000\312\264-\"cosmos.auth.v1beta1.ModuleAccountI\212\347\260*\030cosmos-sdk/ModuleAccount\222\347\260*\016module_account' - _globals['_MODULECREDENTIAL']._loaded_options = None - _globals['_MODULECREDENTIAL']._serialized_options = b'\212\347\260*!cosmos-sdk/GroupAccountCredential' - _globals['_PARAMS'].fields_by_name['sig_verify_cost_ed25519']._loaded_options = None - _globals['_PARAMS'].fields_by_name['sig_verify_cost_ed25519']._serialized_options = b'\342\336\037\024SigVerifyCostED25519' - _globals['_PARAMS'].fields_by_name['sig_verify_cost_secp256k1']._loaded_options = None - _globals['_PARAMS'].fields_by_name['sig_verify_cost_secp256k1']._serialized_options = b'\342\336\037\026SigVerifyCostSecp256k1' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\030cosmos-sdk/x/auth/Params' - _globals['_BASEACCOUNT']._serialized_start=151 - _globals['_BASEACCOUNT']._serialized_end=440 - _globals['_MODULEACCOUNT']._serialized_start=443 - _globals['_MODULEACCOUNT']._serialized_end=679 - _globals['_MODULECREDENTIAL']._serialized_start=682 - _globals['_MODULECREDENTIAL']._serialized_end=814 - _globals['_PARAMS']._serialized_start=817 - _globals['_PARAMS']._serialized_end=1160 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2_grpc.py b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/auth/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py deleted file mode 100644 index 4d0f61bb..00000000 --- a/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/auth/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/auth/v1beta1/genesis.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x11\x61mino/amino.proto\"\x80\x01\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12\x30\n\x08\x61\x63\x63ounts\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x61\x63\x63ountsB\xc0\x01\n\x17\x63om.cosmos.auth.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.auth.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE']._serialized_start=159 - _globals['_GENESISSTATE']._serialized_end=287 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/auth/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py deleted file mode 100644 index 940dd371..00000000 --- a/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py +++ /dev/null @@ -1,114 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/auth/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/auth/v1beta1/query.proto\x12\x13\x63osmos.auth.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto\"^\n\x14QueryAccountsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb4\x01\n\x15QueryAccountsResponse\x12R\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB \xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIR\x08\x61\x63\x63ounts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"S\n\x13QueryAccountRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"h\n\x14QueryAccountResponse\x12P\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB \xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIR\x07\x61\x63\x63ount\"\x14\n\x12QueryParamsRequest\"P\n\x13QueryParamsResponse\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1c\n\x1aQueryModuleAccountsRequest\"w\n\x1bQueryModuleAccountsResponse\x12X\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountIR\x08\x61\x63\x63ounts\"5\n\x1fQueryModuleAccountByNameRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"z\n QueryModuleAccountByNameResponse\x12V\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountIR\x07\x61\x63\x63ount\"\x15\n\x13\x42\x65\x63h32PrefixRequest\";\n\x14\x42\x65\x63h32PrefixResponse\x12#\n\rbech32_prefix\x18\x01 \x01(\tR\x0c\x62\x65\x63h32Prefix\"B\n\x1b\x41\x64\x64ressBytesToStringRequest\x12#\n\raddress_bytes\x18\x01 \x01(\x0cR\x0c\x61\x64\x64ressBytes\"E\n\x1c\x41\x64\x64ressBytesToStringResponse\x12%\n\x0e\x61\x64\x64ress_string\x18\x01 \x01(\tR\raddressString\"D\n\x1b\x41\x64\x64ressStringToBytesRequest\x12%\n\x0e\x61\x64\x64ress_string\x18\x01 \x01(\tR\raddressString\"C\n\x1c\x41\x64\x64ressStringToBytesResponse\x12#\n\raddress_bytes\x18\x01 \x01(\x0cR\x0c\x61\x64\x64ressBytes\"S\n\x1eQueryAccountAddressByIDRequest\x12\x12\n\x02id\x18\x01 \x01(\x03\x42\x02\x18\x01R\x02id\x12\x1d\n\naccount_id\x18\x02 \x01(\x04R\taccountId\"d\n\x1fQueryAccountAddressByIDResponse\x12\x41\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x61\x63\x63ountAddress\"M\n\x17QueryAccountInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"P\n\x18QueryAccountInfoResponse\x12\x34\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountR\x04info2\xef\x0c\n\x05Query\x12\x8d\x01\n\x08\x41\x63\x63ounts\x12).cosmos.auth.v1beta1.QueryAccountsRequest\x1a*.cosmos.auth.v1beta1.QueryAccountsResponse\"*\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/auth/v1beta1/accounts\x12\x94\x01\n\x07\x41\x63\x63ount\x12(.cosmos.auth.v1beta1.QueryAccountRequest\x1a).cosmos.auth.v1beta1.QueryAccountResponse\"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/auth/v1beta1/accounts/{address}\x12\xb5\x01\n\x12\x41\x63\x63ountAddressByID\x12\x33.cosmos.auth.v1beta1.QueryAccountAddressByIDRequest\x1a\x34.cosmos.auth.v1beta1.QueryAccountAddressByIDResponse\"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/auth/v1beta1/address_by_id/{id}\x12\x85\x01\n\x06Params\x12\'.cosmos.auth.v1beta1.QueryParamsRequest\x1a(.cosmos.auth.v1beta1.QueryParamsResponse\"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/auth/v1beta1/params\x12\xa6\x01\n\x0eModuleAccounts\x12/.cosmos.auth.v1beta1.QueryModuleAccountsRequest\x1a\x30.cosmos.auth.v1beta1.QueryModuleAccountsResponse\"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/auth/v1beta1/module_accounts\x12\xbc\x01\n\x13ModuleAccountByName\x12\x34.cosmos.auth.v1beta1.QueryModuleAccountByNameRequest\x1a\x35.cosmos.auth.v1beta1.QueryModuleAccountByNameResponse\"8\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/module_accounts/{name}\x12\x88\x01\n\x0c\x42\x65\x63h32Prefix\x12(.cosmos.auth.v1beta1.Bech32PrefixRequest\x1a).cosmos.auth.v1beta1.Bech32PrefixResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/auth/v1beta1/bech32\x12\xb0\x01\n\x14\x41\x64\x64ressBytesToString\x12\x30.cosmos.auth.v1beta1.AddressBytesToStringRequest\x1a\x31.cosmos.auth.v1beta1.AddressBytesToStringResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/bech32/{address_bytes}\x12\xb1\x01\n\x14\x41\x64\x64ressStringToBytes\x12\x30.cosmos.auth.v1beta1.AddressStringToBytesRequest\x1a\x31.cosmos.auth.v1beta1.AddressStringToBytesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/auth/v1beta1/bech32/{address_string}\x12\xa4\x01\n\x0b\x41\x63\x63ountInfo\x12,.cosmos.auth.v1beta1.QueryAccountInfoRequest\x1a-.cosmos.auth.v1beta1.QueryAccountInfoResponse\"8\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/account_info/{address}B\xbe\x01\n\x17\x63om.cosmos.auth.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.auth.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1' - _globals['_QUERYACCOUNTSRESPONSE'].fields_by_name['accounts']._loaded_options = None - _globals['_QUERYACCOUNTSRESPONSE'].fields_by_name['accounts']._serialized_options = b'\312\264-\034cosmos.auth.v1beta1.AccountI' - _globals['_QUERYACCOUNTREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYACCOUNTREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYACCOUNTREQUEST']._loaded_options = None - _globals['_QUERYACCOUNTREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYACCOUNTRESPONSE'].fields_by_name['account']._loaded_options = None - _globals['_QUERYACCOUNTRESPONSE'].fields_by_name['account']._serialized_options = b'\312\264-\034cosmos.auth.v1beta1.AccountI' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_QUERYMODULEACCOUNTSRESPONSE'].fields_by_name['accounts']._loaded_options = None - _globals['_QUERYMODULEACCOUNTSRESPONSE'].fields_by_name['accounts']._serialized_options = b'\312\264-\"cosmos.auth.v1beta1.ModuleAccountI' - _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE'].fields_by_name['account']._loaded_options = None - _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE'].fields_by_name['account']._serialized_options = b'\312\264-\"cosmos.auth.v1beta1.ModuleAccountI' - _globals['_QUERYACCOUNTADDRESSBYIDREQUEST'].fields_by_name['id']._loaded_options = None - _globals['_QUERYACCOUNTADDRESSBYIDREQUEST'].fields_by_name['id']._serialized_options = b'\030\001' - _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE'].fields_by_name['account_address']._loaded_options = None - _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE'].fields_by_name['account_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYACCOUNTINFOREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYACCOUNTINFOREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERY'].methods_by_name['Accounts']._loaded_options = None - _globals['_QUERY'].methods_by_name['Accounts']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\037\022\035/cosmos/auth/v1beta1/accounts' - _globals['_QUERY'].methods_by_name['Account']._loaded_options = None - _globals['_QUERY'].methods_by_name['Account']._serialized_options = b'\210\347\260*\001\202\323\344\223\002)\022\'/cosmos/auth/v1beta1/accounts/{address}' - _globals['_QUERY'].methods_by_name['AccountAddressByID']._loaded_options = None - _globals['_QUERY'].methods_by_name['AccountAddressByID']._serialized_options = b'\210\347\260*\001\202\323\344\223\002)\022\'/cosmos/auth/v1beta1/address_by_id/{id}' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/auth/v1beta1/params' - _globals['_QUERY'].methods_by_name['ModuleAccounts']._loaded_options = None - _globals['_QUERY'].methods_by_name['ModuleAccounts']._serialized_options = b'\210\347\260*\001\202\323\344\223\002&\022$/cosmos/auth/v1beta1/module_accounts' - _globals['_QUERY'].methods_by_name['ModuleAccountByName']._loaded_options = None - _globals['_QUERY'].methods_by_name['ModuleAccountByName']._serialized_options = b'\210\347\260*\001\202\323\344\223\002-\022+/cosmos/auth/v1beta1/module_accounts/{name}' - _globals['_QUERY'].methods_by_name['Bech32Prefix']._loaded_options = None - _globals['_QUERY'].methods_by_name['Bech32Prefix']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/auth/v1beta1/bech32' - _globals['_QUERY'].methods_by_name['AddressBytesToString']._loaded_options = None - _globals['_QUERY'].methods_by_name['AddressBytesToString']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/auth/v1beta1/bech32/{address_bytes}' - _globals['_QUERY'].methods_by_name['AddressStringToBytes']._loaded_options = None - _globals['_QUERY'].methods_by_name['AddressStringToBytes']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/auth/v1beta1/bech32/{address_string}' - _globals['_QUERY'].methods_by_name['AccountInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['AccountInfo']._serialized_options = b'\210\347\260*\001\202\323\344\223\002-\022+/cosmos/auth/v1beta1/account_info/{address}' - _globals['_QUERYACCOUNTSREQUEST']._serialized_start=267 - _globals['_QUERYACCOUNTSREQUEST']._serialized_end=361 - _globals['_QUERYACCOUNTSRESPONSE']._serialized_start=364 - _globals['_QUERYACCOUNTSRESPONSE']._serialized_end=544 - _globals['_QUERYACCOUNTREQUEST']._serialized_start=546 - _globals['_QUERYACCOUNTREQUEST']._serialized_end=629 - _globals['_QUERYACCOUNTRESPONSE']._serialized_start=631 - _globals['_QUERYACCOUNTRESPONSE']._serialized_end=735 - _globals['_QUERYPARAMSREQUEST']._serialized_start=737 - _globals['_QUERYPARAMSREQUEST']._serialized_end=757 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=759 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=839 - _globals['_QUERYMODULEACCOUNTSREQUEST']._serialized_start=841 - _globals['_QUERYMODULEACCOUNTSREQUEST']._serialized_end=869 - _globals['_QUERYMODULEACCOUNTSRESPONSE']._serialized_start=871 - _globals['_QUERYMODULEACCOUNTSRESPONSE']._serialized_end=990 - _globals['_QUERYMODULEACCOUNTBYNAMEREQUEST']._serialized_start=992 - _globals['_QUERYMODULEACCOUNTBYNAMEREQUEST']._serialized_end=1045 - _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE']._serialized_start=1047 - _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE']._serialized_end=1169 - _globals['_BECH32PREFIXREQUEST']._serialized_start=1171 - _globals['_BECH32PREFIXREQUEST']._serialized_end=1192 - _globals['_BECH32PREFIXRESPONSE']._serialized_start=1194 - _globals['_BECH32PREFIXRESPONSE']._serialized_end=1253 - _globals['_ADDRESSBYTESTOSTRINGREQUEST']._serialized_start=1255 - _globals['_ADDRESSBYTESTOSTRINGREQUEST']._serialized_end=1321 - _globals['_ADDRESSBYTESTOSTRINGRESPONSE']._serialized_start=1323 - _globals['_ADDRESSBYTESTOSTRINGRESPONSE']._serialized_end=1392 - _globals['_ADDRESSSTRINGTOBYTESREQUEST']._serialized_start=1394 - _globals['_ADDRESSSTRINGTOBYTESREQUEST']._serialized_end=1462 - _globals['_ADDRESSSTRINGTOBYTESRESPONSE']._serialized_start=1464 - _globals['_ADDRESSSTRINGTOBYTESRESPONSE']._serialized_end=1531 - _globals['_QUERYACCOUNTADDRESSBYIDREQUEST']._serialized_start=1533 - _globals['_QUERYACCOUNTADDRESSBYIDREQUEST']._serialized_end=1616 - _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE']._serialized_start=1618 - _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE']._serialized_end=1718 - _globals['_QUERYACCOUNTINFOREQUEST']._serialized_start=1720 - _globals['_QUERYACCOUNTINFOREQUEST']._serialized_end=1797 - _globals['_QUERYACCOUNTINFORESPONSE']._serialized_start=1799 - _globals['_QUERYACCOUNTINFORESPONSE']._serialized_end=1879 - _globals['_QUERY']._serialized_start=1882 - _globals['_QUERY']._serialized_end=3529 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2_grpc.py deleted file mode 100644 index b8bcec08..00000000 --- a/pyinjective/proto/cosmos/auth/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,494 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.auth.v1beta1 import query_pb2 as cosmos_dot_auth_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Accounts = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/Accounts', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsResponse.FromString, - _registered_method=True) - self.Account = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/Account', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountResponse.FromString, - _registered_method=True) - self.AccountAddressByID = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/AccountAddressByID', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDResponse.FromString, - _registered_method=True) - self.Params = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/Params', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - self.ModuleAccounts = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/ModuleAccounts', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsResponse.FromString, - _registered_method=True) - self.ModuleAccountByName = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/ModuleAccountByName', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameResponse.FromString, - _registered_method=True) - self.Bech32Prefix = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/Bech32Prefix', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixResponse.FromString, - _registered_method=True) - self.AddressBytesToString = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/AddressBytesToString', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringResponse.FromString, - _registered_method=True) - self.AddressStringToBytes = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/AddressStringToBytes', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesResponse.FromString, - _registered_method=True) - self.AccountInfo = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/AccountInfo', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service. - """ - - def Accounts(self, request, context): - """Accounts returns all the existing accounts. - - When called from another module, this query might consume a high amount of - gas if the pagination field is incorrectly set. - - Since: cosmos-sdk 0.43 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Account(self, request, context): - """Account returns account details based on address. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AccountAddressByID(self, request, context): - """AccountAddressByID returns account address based on account number. - - Since: cosmos-sdk 0.46.2 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Params(self, request, context): - """Params queries all parameters. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ModuleAccounts(self, request, context): - """ModuleAccounts returns all the existing module accounts. - - Since: cosmos-sdk 0.46 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ModuleAccountByName(self, request, context): - """ModuleAccountByName returns the module account info by module name - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Bech32Prefix(self, request, context): - """Bech32Prefix queries bech32Prefix - - Since: cosmos-sdk 0.46 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AddressBytesToString(self, request, context): - """AddressBytesToString converts Account Address bytes to string - - Since: cosmos-sdk 0.46 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AddressStringToBytes(self, request, context): - """AddressStringToBytes converts Address string to bytes - - Since: cosmos-sdk 0.46 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AccountInfo(self, request, context): - """AccountInfo queries account info which is common to all account types. - - Since: cosmos-sdk 0.47 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Accounts': grpc.unary_unary_rpc_method_handler( - servicer.Accounts, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsResponse.SerializeToString, - ), - 'Account': grpc.unary_unary_rpc_method_handler( - servicer.Account, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountResponse.SerializeToString, - ), - 'AccountAddressByID': grpc.unary_unary_rpc_method_handler( - servicer.AccountAddressByID, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDResponse.SerializeToString, - ), - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'ModuleAccounts': grpc.unary_unary_rpc_method_handler( - servicer.ModuleAccounts, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsResponse.SerializeToString, - ), - 'ModuleAccountByName': grpc.unary_unary_rpc_method_handler( - servicer.ModuleAccountByName, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameResponse.SerializeToString, - ), - 'Bech32Prefix': grpc.unary_unary_rpc_method_handler( - servicer.Bech32Prefix, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixResponse.SerializeToString, - ), - 'AddressBytesToString': grpc.unary_unary_rpc_method_handler( - servicer.AddressBytesToString, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringResponse.SerializeToString, - ), - 'AddressStringToBytes': grpc.unary_unary_rpc_method_handler( - servicer.AddressStringToBytes, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesResponse.SerializeToString, - ), - 'AccountInfo': grpc.unary_unary_rpc_method_handler( - servicer.AccountInfo, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.auth.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.auth.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service. - """ - - @staticmethod - def Accounts(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.auth.v1beta1.Query/Accounts', - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsRequest.SerializeToString, - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Account(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.auth.v1beta1.Query/Account', - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountRequest.SerializeToString, - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AccountAddressByID(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.auth.v1beta1.Query/AccountAddressByID', - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDRequest.SerializeToString, - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.auth.v1beta1.Query/Params', - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ModuleAccounts(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.auth.v1beta1.Query/ModuleAccounts', - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsRequest.SerializeToString, - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ModuleAccountByName(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.auth.v1beta1.Query/ModuleAccountByName', - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameRequest.SerializeToString, - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Bech32Prefix(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.auth.v1beta1.Query/Bech32Prefix', - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixRequest.SerializeToString, - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AddressBytesToString(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.auth.v1beta1.Query/AddressBytesToString', - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringRequest.SerializeToString, - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AddressStringToBytes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.auth.v1beta1.Query/AddressStringToBytes', - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesRequest.SerializeToString, - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AccountInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.auth.v1beta1.Query/AccountInfo', - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoRequest.SerializeToString, - cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py deleted file mode 100644 index c6c92e0a..00000000 --- a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py +++ /dev/null @@ -1,44 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/auth/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/auth/v1beta1/tx.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/auth/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.auth.v1beta1.MsgUpdateParams\x1a,.cosmos.auth.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.auth.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.auth.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/auth/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGUPDATEPARAMS']._serialized_start=179 - _globals['_MSGUPDATEPARAMS']._serialized_end=370 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=372 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=397 - _globals['_MSG']._serialized_start=399 - _globals['_MSG']._serialized_end=511 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index 4c82c564..00000000 --- a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,84 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.auth.v1beta1 import tx_pb2 as cosmos_dot_auth_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the x/auth Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.UpdateParams = channel.unary_unary( - '/cosmos.auth.v1beta1.Msg/UpdateParams', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the x/auth Msg service. - """ - - def UpdateParams(self, request, context): - """UpdateParams defines a (governance) operation for updating the x/auth module - parameters. The authority defaults to the x/gov module account. - - Since: cosmos-sdk 0.47 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.auth.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.auth.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the x/auth Msg service. - """ - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.auth.v1beta1.Msg/UpdateParams', - cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py b/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py deleted file mode 100644 index 8a638957..00000000 --- a/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/authz/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/authz/module/v1/module.proto\x12\x16\x63osmos.authz.module.v1\x1a cosmos/app/v1alpha1/module.proto\"6\n\x06Module:,\xba\xc0\x96\xda\x01&\n$github.com/cosmos/cosmos-sdk/x/authzB\xa4\x01\n\x1a\x63om.cosmos.authz.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41M\xaa\x02\x16\x43osmos.Authz.Module.V1\xca\x02\x16\x43osmos\\Authz\\Module\\V1\xe2\x02\"Cosmos\\Authz\\Module\\V1\\GPBMetadata\xea\x02\x19\x43osmos::Authz::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.authz.module.v1B\013ModuleProtoP\001\242\002\003CAM\252\002\026Cosmos.Authz.Module.V1\312\002\026Cosmos\\Authz\\Module\\V1\342\002\"Cosmos\\Authz\\Module\\V1\\GPBMetadata\352\002\031Cosmos::Authz::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/authz' - _globals['_MODULE']._serialized_start=97 - _globals['_MODULE']._serialized_end=151 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/authz/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/authz/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/authz/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py deleted file mode 100644 index 8a24339f..00000000 --- a/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/authz/v1beta1/authz.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from pyinjective.proto.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 cosmos/authz/v1beta1/authz.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"t\n\x14GenericAuthorization\x12\x10\n\x03msg\x18\x01 \x01(\tR\x03msg:J\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1f\x63osmos-sdk/GenericAuthorization\"\xb1\x01\n\x05Grant\x12\x62\n\rauthorization\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationR\rauthorization\x12\x44\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x01\x90\xdf\x1f\x01R\nexpiration\"\xa2\x02\n\x12GrantAuthorization\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x62\n\rauthorization\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationR\rauthorization\x12@\n\nexpiration\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nexpiration\"4\n\x0eGrantQueueItem\x12\"\n\rmsg_type_urls\x18\x01 \x03(\tR\x0bmsgTypeUrlsB\xc2\x01\n\x18\x63om.cosmos.authz.v1beta1B\nAuthzProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.authz_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\nAuthzProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1\310\341\036\000' - _globals['_GENERICAUTHORIZATION']._loaded_options = None - _globals['_GENERICAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\037cosmos-sdk/GenericAuthorization' - _globals['_GRANT'].fields_by_name['authorization']._loaded_options = None - _globals['_GRANT'].fields_by_name['authorization']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' - _globals['_GRANT'].fields_by_name['expiration']._loaded_options = None - _globals['_GRANT'].fields_by_name['expiration']._serialized_options = b'\310\336\037\001\220\337\037\001' - _globals['_GRANTAUTHORIZATION'].fields_by_name['granter']._loaded_options = None - _globals['_GRANTAUTHORIZATION'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_GRANTAUTHORIZATION'].fields_by_name['grantee']._loaded_options = None - _globals['_GRANTAUTHORIZATION'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_GRANTAUTHORIZATION'].fields_by_name['authorization']._loaded_options = None - _globals['_GRANTAUTHORIZATION'].fields_by_name['authorization']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' - _globals['_GRANTAUTHORIZATION'].fields_by_name['expiration']._loaded_options = None - _globals['_GRANTAUTHORIZATION'].fields_by_name['expiration']._serialized_options = b'\220\337\037\001' - _globals['_GENERICAUTHORIZATION']._serialized_start=186 - _globals['_GENERICAUTHORIZATION']._serialized_end=302 - _globals['_GRANT']._serialized_start=305 - _globals['_GRANT']._serialized_end=482 - _globals['_GRANTAUTHORIZATION']._serialized_start=485 - _globals['_GRANTAUTHORIZATION']._serialized_end=775 - _globals['_GRANTQUEUEITEM']._serialized_start=777 - _globals['_GRANTQUEUEITEM']._serialized_end=829 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/authz/v1beta1/event_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py deleted file mode 100644 index 7034cc15..00000000 --- a/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py +++ /dev/null @@ -1,38 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/authz/v1beta1/event.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/authz/v1beta1/event.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\"\x96\x01\n\nEventGrant\x12 \n\x0cmsg_type_url\x18\x02 \x01(\tR\nmsgTypeUrl\x12\x32\n\x07granter\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\"\x97\x01\n\x0b\x45ventRevoke\x12 \n\x0cmsg_type_url\x18\x02 \x01(\tR\nmsgTypeUrl\x12\x32\n\x07granter\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granteeB\xbe\x01\n\x18\x63om.cosmos.authz.v1beta1B\nEventProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.event_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\nEventProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1' - _globals['_EVENTGRANT'].fields_by_name['granter']._loaded_options = None - _globals['_EVENTGRANT'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EVENTGRANT'].fields_by_name['grantee']._loaded_options = None - _globals['_EVENTGRANT'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EVENTREVOKE'].fields_by_name['granter']._loaded_options = None - _globals['_EVENTREVOKE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EVENTREVOKE'].fields_by_name['grantee']._loaded_options = None - _globals['_EVENTREVOKE'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EVENTGRANT']._serialized_start=86 - _globals['_EVENTGRANT']._serialized_end=236 - _globals['_EVENTREVOKE']._serialized_start=239 - _globals['_EVENTREVOKE']._serialized_end=390 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/event_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/authz/v1beta1/event_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/authz/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py deleted file mode 100644 index e287132a..00000000 --- a/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/authz/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.authz.v1beta1 import authz_pb2 as cosmos_dot_authz_dot_v1beta1_dot_authz__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/authz/v1beta1/genesis.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x14gogoproto/gogo.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x11\x61mino/amino.proto\"i\n\x0cGenesisState\x12Y\n\rauthorization\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rauthorizationB\xc0\x01\n\x18\x63om.cosmos.authz.v1beta1B\x0cGenesisProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\014GenesisProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['authorization']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['authorization']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE']._serialized_start=135 - _globals['_GENESISSTATE']._serialized_end=240 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/authz/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py deleted file mode 100644 index 50596cb8..00000000 --- a/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py +++ /dev/null @@ -1,57 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/authz/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.cosmos.authz.v1beta1 import authz_pb2 as cosmos_dot_authz_dot_v1beta1_dot_authz__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/authz/v1beta1/query.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xe6\x01\n\x12QueryGrantsRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12 \n\x0cmsg_type_url\x18\x03 \x01(\tR\nmsgTypeUrl\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x93\x01\n\x13QueryGrantsResponse\x12\x33\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x97\x01\n\x19QueryGranterGrantsRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa7\x01\n\x1aQueryGranterGrantsResponse\x12@\n\x06grants\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x97\x01\n\x19QueryGranteeGrantsRequest\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa7\x01\n\x1aQueryGranteeGrantsResponse\x12@\n\x06grants\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xe7\x03\n\x05Query\x12\x83\x01\n\x06Grants\x12(.cosmos.authz.v1beta1.QueryGrantsRequest\x1a).cosmos.authz.v1beta1.QueryGrantsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/cosmos/authz/v1beta1/grants\x12\xaa\x01\n\rGranterGrants\x12/.cosmos.authz.v1beta1.QueryGranterGrantsRequest\x1a\x30.cosmos.authz.v1beta1.QueryGranterGrantsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/authz/v1beta1/grants/granter/{granter}\x12\xaa\x01\n\rGranteeGrants\x12/.cosmos.authz.v1beta1.QueryGranteeGrantsRequest\x1a\x30.cosmos.authz.v1beta1.QueryGranteeGrantsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/authz/v1beta1/grants/grantee/{grantee}B\xbe\x01\n\x18\x63om.cosmos.authz.v1beta1B\nQueryProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\nQueryProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1' - _globals['_QUERYGRANTSREQUEST'].fields_by_name['granter']._loaded_options = None - _globals['_QUERYGRANTSREQUEST'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYGRANTSREQUEST'].fields_by_name['grantee']._loaded_options = None - _globals['_QUERYGRANTSREQUEST'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYGRANTERGRANTSREQUEST'].fields_by_name['granter']._loaded_options = None - _globals['_QUERYGRANTERGRANTSREQUEST'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYGRANTEEGRANTSREQUEST'].fields_by_name['grantee']._loaded_options = None - _globals['_QUERYGRANTEEGRANTSREQUEST'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERY'].methods_by_name['Grants']._loaded_options = None - _globals['_QUERY'].methods_by_name['Grants']._serialized_options = b'\202\323\344\223\002\036\022\034/cosmos/authz/v1beta1/grants' - _globals['_QUERY'].methods_by_name['GranterGrants']._loaded_options = None - _globals['_QUERY'].methods_by_name['GranterGrants']._serialized_options = b'\202\323\344\223\0020\022./cosmos/authz/v1beta1/grants/granter/{granter}' - _globals['_QUERY'].methods_by_name['GranteeGrants']._loaded_options = None - _globals['_QUERY'].methods_by_name['GranteeGrants']._serialized_options = b'\202\323\344\223\0020\022./cosmos/authz/v1beta1/grants/grantee/{grantee}' - _globals['_QUERYGRANTSREQUEST']._serialized_start=194 - _globals['_QUERYGRANTSREQUEST']._serialized_end=424 - _globals['_QUERYGRANTSRESPONSE']._serialized_start=427 - _globals['_QUERYGRANTSRESPONSE']._serialized_end=574 - _globals['_QUERYGRANTERGRANTSREQUEST']._serialized_start=577 - _globals['_QUERYGRANTERGRANTSREQUEST']._serialized_end=728 - _globals['_QUERYGRANTERGRANTSRESPONSE']._serialized_start=731 - _globals['_QUERYGRANTERGRANTSRESPONSE']._serialized_end=898 - _globals['_QUERYGRANTEEGRANTSREQUEST']._serialized_start=901 - _globals['_QUERYGRANTEEGRANTSREQUEST']._serialized_end=1052 - _globals['_QUERYGRANTEEGRANTSRESPONSE']._serialized_start=1055 - _globals['_QUERYGRANTEEGRANTSRESPONSE']._serialized_end=1222 - _globals['_QUERY']._serialized_start=1225 - _globals['_QUERY']._serialized_end=1712 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2_grpc.py deleted file mode 100644 index e75edd23..00000000 --- a/pyinjective/proto/cosmos/authz/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,173 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.authz.v1beta1 import query_pb2 as cosmos_dot_authz_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Grants = channel.unary_unary( - '/cosmos.authz.v1beta1.Query/Grants', - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsRequest.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsResponse.FromString, - _registered_method=True) - self.GranterGrants = channel.unary_unary( - '/cosmos.authz.v1beta1.Query/GranterGrants', - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsRequest.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsResponse.FromString, - _registered_method=True) - self.GranteeGrants = channel.unary_unary( - '/cosmos.authz.v1beta1.Query/GranteeGrants', - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsRequest.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service. - """ - - def Grants(self, request, context): - """Returns list of `Authorization`, granted to the grantee by the granter. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GranterGrants(self, request, context): - """GranterGrants returns list of `GrantAuthorization`, granted by granter. - - Since: cosmos-sdk 0.46 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GranteeGrants(self, request, context): - """GranteeGrants returns a list of `GrantAuthorization` by grantee. - - Since: cosmos-sdk 0.46 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Grants': grpc.unary_unary_rpc_method_handler( - servicer.Grants, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsRequest.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsResponse.SerializeToString, - ), - 'GranterGrants': grpc.unary_unary_rpc_method_handler( - servicer.GranterGrants, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsRequest.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsResponse.SerializeToString, - ), - 'GranteeGrants': grpc.unary_unary_rpc_method_handler( - servicer.GranteeGrants, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsRequest.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.authz.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.authz.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service. - """ - - @staticmethod - def Grants(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.authz.v1beta1.Query/Grants', - cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsRequest.SerializeToString, - cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GranterGrants(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.authz.v1beta1.Query/GranterGrants', - cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsRequest.SerializeToString, - cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GranteeGrants(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.authz.v1beta1.Query/GranteeGrants', - cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsRequest.SerializeToString, - cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py deleted file mode 100644 index b9448c92..00000000 --- a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py +++ /dev/null @@ -1,75 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/authz/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.cosmos.authz.v1beta1 import authz_pb2 as cosmos_dot_authz_dot_v1beta1_dot_authz__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/authz/v1beta1/tx.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xd6\x01\n\x08MsgGrant\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12<\n\x05grant\x18\x03 \x01(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05grant:$\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x13\x63osmos-sdk/MsgGrant\"\x12\n\x10MsgGrantResponse\"\xa9\x01\n\x07MsgExec\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x45\n\x04msgs\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x1b\xca\xb4-\x17\x63osmos.base.v1beta1.MsgR\x04msgs:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec\"+\n\x0fMsgExecResponse\x12\x18\n\x07results\x18\x01 \x03(\x0cR\x07results\"\xbc\x01\n\tMsgRevoke\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12 \n\x0cmsg_type_url\x18\x03 \x01(\tR\nmsgTypeUrl:%\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgRevoke\"\x13\n\x11MsgRevokeResponse\"1\n\x15MsgExecCompatResponse\x12\x18\n\x07results\x18\x01 \x03(\x0cR\x07results\"|\n\rMsgExecCompat\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x12\n\x04msgs\x18\x02 \x03(\tR\x04msgs:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec2\xdf\x02\n\x03Msg\x12O\n\x05Grant\x12\x1e.cosmos.authz.v1beta1.MsgGrant\x1a&.cosmos.authz.v1beta1.MsgGrantResponse\x12L\n\x04\x45xec\x12\x1d.cosmos.authz.v1beta1.MsgExec\x1a%.cosmos.authz.v1beta1.MsgExecResponse\x12R\n\x06Revoke\x12\x1f.cosmos.authz.v1beta1.MsgRevoke\x1a\'.cosmos.authz.v1beta1.MsgRevokeResponse\x12^\n\nExecCompat\x12#.cosmos.authz.v1beta1.MsgExecCompat\x1a+.cosmos.authz.v1beta1.MsgExecCompatResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbf\x01\n\x18\x63om.cosmos.authz.v1beta1B\x07TxProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\007TxProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1\310\341\036\000' - _globals['_MSGGRANT'].fields_by_name['granter']._loaded_options = None - _globals['_MSGGRANT'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGGRANT'].fields_by_name['grantee']._loaded_options = None - _globals['_MSGGRANT'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGGRANT'].fields_by_name['grant']._loaded_options = None - _globals['_MSGGRANT'].fields_by_name['grant']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGGRANT']._loaded_options = None - _globals['_MSGGRANT']._serialized_options = b'\202\347\260*\007granter\212\347\260*\023cosmos-sdk/MsgGrant' - _globals['_MSGEXEC'].fields_by_name['grantee']._loaded_options = None - _globals['_MSGEXEC'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGEXEC'].fields_by_name['msgs']._loaded_options = None - _globals['_MSGEXEC'].fields_by_name['msgs']._serialized_options = b'\312\264-\027cosmos.base.v1beta1.Msg' - _globals['_MSGEXEC']._loaded_options = None - _globals['_MSGEXEC']._serialized_options = b'\202\347\260*\007grantee\212\347\260*\022cosmos-sdk/MsgExec' - _globals['_MSGREVOKE'].fields_by_name['granter']._loaded_options = None - _globals['_MSGREVOKE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGREVOKE'].fields_by_name['grantee']._loaded_options = None - _globals['_MSGREVOKE'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGREVOKE']._loaded_options = None - _globals['_MSGREVOKE']._serialized_options = b'\202\347\260*\007granter\212\347\260*\024cosmos-sdk/MsgRevoke' - _globals['_MSGEXECCOMPAT'].fields_by_name['grantee']._loaded_options = None - _globals['_MSGEXECCOMPAT'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGEXECCOMPAT']._loaded_options = None - _globals['_MSGEXECCOMPAT']._serialized_options = b'\202\347\260*\007grantee\212\347\260*\022cosmos-sdk/MsgExec' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGGRANT']._serialized_start=210 - _globals['_MSGGRANT']._serialized_end=424 - _globals['_MSGGRANTRESPONSE']._serialized_start=426 - _globals['_MSGGRANTRESPONSE']._serialized_end=444 - _globals['_MSGEXEC']._serialized_start=447 - _globals['_MSGEXEC']._serialized_end=616 - _globals['_MSGEXECRESPONSE']._serialized_start=618 - _globals['_MSGEXECRESPONSE']._serialized_end=661 - _globals['_MSGREVOKE']._serialized_start=664 - _globals['_MSGREVOKE']._serialized_end=852 - _globals['_MSGREVOKERESPONSE']._serialized_start=854 - _globals['_MSGREVOKERESPONSE']._serialized_end=873 - _globals['_MSGEXECCOMPATRESPONSE']._serialized_start=875 - _globals['_MSGEXECCOMPATRESPONSE']._serialized_end=924 - _globals['_MSGEXECCOMPAT']._serialized_start=926 - _globals['_MSGEXECCOMPAT']._serialized_end=1050 - _globals['_MSG']._serialized_start=1053 - _globals['_MSG']._serialized_end=1404 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index 2a2458a1..00000000 --- a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,219 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.authz.v1beta1 import tx_pb2 as cosmos_dot_authz_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the authz Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Grant = channel.unary_unary( - '/cosmos.authz.v1beta1.Msg/Grant', - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrant.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrantResponse.FromString, - _registered_method=True) - self.Exec = channel.unary_unary( - '/cosmos.authz.v1beta1.Msg/Exec', - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExec.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecResponse.FromString, - _registered_method=True) - self.Revoke = channel.unary_unary( - '/cosmos.authz.v1beta1.Msg/Revoke', - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.FromString, - _registered_method=True) - self.ExecCompat = channel.unary_unary( - '/cosmos.authz.v1beta1.Msg/ExecCompat', - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the authz Msg service. - """ - - def Grant(self, request, context): - """Grant grants the provided authorization to the grantee on the granter's - account with the provided expiration time. If there is already a grant - for the given (granter, grantee, Authorization) triple, then the grant - will be overwritten. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Exec(self, request, context): - """Exec attempts to execute the provided messages using - authorizations granted to the grantee. Each message should have only - one signer corresponding to the granter of the authorization. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Revoke(self, request, context): - """Revoke revokes any authorization corresponding to the provided method name on the - granter's account that has been granted to the grantee. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ExecCompat(self, request, context): - """ExecCompat has same functionality as Exec but accepts array of json-encoded message string instead of []*Any - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Grant': grpc.unary_unary_rpc_method_handler( - servicer.Grant, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrant.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrantResponse.SerializeToString, - ), - 'Exec': grpc.unary_unary_rpc_method_handler( - servicer.Exec, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExec.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecResponse.SerializeToString, - ), - 'Revoke': grpc.unary_unary_rpc_method_handler( - servicer.Revoke, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.SerializeToString, - ), - 'ExecCompat': grpc.unary_unary_rpc_method_handler( - servicer.ExecCompat, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.authz.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.authz.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the authz Msg service. - """ - - @staticmethod - def Grant(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.authz.v1beta1.Msg/Grant', - cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrant.SerializeToString, - cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrantResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Exec(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.authz.v1beta1.Msg/Exec', - cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExec.SerializeToString, - cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Revoke(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.authz.v1beta1.Msg/Revoke', - cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.SerializeToString, - cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ExecCompat(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.authz.v1beta1.Msg/ExecCompat', - cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.SerializeToString, - cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/autocli/v1/options_pb2.py b/pyinjective/proto/cosmos/autocli/v1/options_pb2.py deleted file mode 100644 index aa7f36c8..00000000 --- a/pyinjective/proto/cosmos/autocli/v1/options_pb2.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/autocli/v1/options.proto -# Protobuf Python Version: 5.26.1 -"""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\x1f\x63osmos/autocli/v1/options.proto\x12\x11\x63osmos.autocli.v1\"\x8f\x01\n\rModuleOptions\x12;\n\x02tx\x18\x01 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x02tx\x12\x41\n\x05query\x18\x02 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x05query\"\xd8\x02\n\x18ServiceCommandDescriptor\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12T\n\x13rpc_command_options\x18\x02 \x03(\x0b\x32$.cosmos.autocli.v1.RpcCommandOptionsR\x11rpcCommandOptions\x12_\n\x0csub_commands\x18\x03 \x03(\x0b\x32<.cosmos.autocli.v1.ServiceCommandDescriptor.SubCommandsEntryR\x0bsubCommands\x1ak\n\x10SubCommandsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x05value:\x02\x38\x01\"\x9c\x04\n\x11RpcCommandOptions\x12\x1d\n\nrpc_method\x18\x01 \x01(\tR\trpcMethod\x12\x10\n\x03use\x18\x02 \x01(\tR\x03use\x12\x12\n\x04long\x18\x03 \x01(\tR\x04long\x12\x14\n\x05short\x18\x04 \x01(\tR\x05short\x12\x18\n\x07\x65xample\x18\x05 \x01(\tR\x07\x65xample\x12\x14\n\x05\x61lias\x18\x06 \x03(\tR\x05\x61lias\x12\x1f\n\x0bsuggest_for\x18\x07 \x03(\tR\nsuggestFor\x12\x1e\n\ndeprecated\x18\x08 \x01(\tR\ndeprecated\x12\x18\n\x07version\x18\t \x01(\tR\x07version\x12X\n\x0c\x66lag_options\x18\n \x03(\x0b\x32\x35.cosmos.autocli.v1.RpcCommandOptions.FlagOptionsEntryR\x0b\x66lagOptions\x12S\n\x0fpositional_args\x18\x0b \x03(\x0b\x32*.cosmos.autocli.v1.PositionalArgDescriptorR\x0epositionalArgs\x12\x12\n\x04skip\x18\x0c \x01(\x08R\x04skip\x1a^\n\x10\x46lagOptionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32\x1e.cosmos.autocli.v1.FlagOptionsR\x05value:\x02\x38\x01\"\xe5\x01\n\x0b\x46lagOptions\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n\tshorthand\x18\x02 \x01(\tR\tshorthand\x12\x14\n\x05usage\x18\x03 \x01(\tR\x05usage\x12#\n\rdefault_value\x18\x04 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x12\x1e\n\ndeprecated\x18\x06 \x01(\tR\ndeprecated\x12\x31\n\x14shorthand_deprecated\x18\x07 \x01(\tR\x13shorthandDeprecated\x12\x16\n\x06hidden\x18\x08 \x01(\x08R\x06hidden\"T\n\x17PositionalArgDescriptor\x12\x1f\n\x0bproto_field\x18\x01 \x01(\tR\nprotoField\x12\x18\n\x07varargs\x18\x02 \x01(\x08R\x07varargsB\xb6\x01\n\x15\x63om.cosmos.autocli.v1B\x0cOptionsProtoP\x01Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\xa2\x02\x03\x43\x41X\xaa\x02\x11\x43osmos.Autocli.V1\xca\x02\x11\x43osmos\\Autocli\\V1\xe2\x02\x1d\x43osmos\\Autocli\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Autocli::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.autocli.v1.options_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.autocli.v1B\014OptionsProtoP\001Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\242\002\003CAX\252\002\021Cosmos.Autocli.V1\312\002\021Cosmos\\Autocli\\V1\342\002\035Cosmos\\Autocli\\V1\\GPBMetadata\352\002\023Cosmos::Autocli::V1' - _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._loaded_options = None - _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._serialized_options = b'8\001' - _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._loaded_options = None - _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._serialized_options = b'8\001' - _globals['_MODULEOPTIONS']._serialized_start=55 - _globals['_MODULEOPTIONS']._serialized_end=198 - _globals['_SERVICECOMMANDDESCRIPTOR']._serialized_start=201 - _globals['_SERVICECOMMANDDESCRIPTOR']._serialized_end=545 - _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._serialized_start=438 - _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._serialized_end=545 - _globals['_RPCCOMMANDOPTIONS']._serialized_start=548 - _globals['_RPCCOMMANDOPTIONS']._serialized_end=1088 - _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._serialized_start=994 - _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._serialized_end=1088 - _globals['_FLAGOPTIONS']._serialized_start=1091 - _globals['_FLAGOPTIONS']._serialized_end=1320 - _globals['_POSITIONALARGDESCRIPTOR']._serialized_start=1322 - _globals['_POSITIONALARGDESCRIPTOR']._serialized_end=1406 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/autocli/v1/options_pb2_grpc.py b/pyinjective/proto/cosmos/autocli/v1/options_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/autocli/v1/options_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/autocli/v1/query_pb2.py b/pyinjective/proto/cosmos/autocli/v1/query_pb2.py deleted file mode 100644 index f0971981..00000000 --- a/pyinjective/proto/cosmos/autocli/v1/query_pb2.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/autocli/v1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.autocli.v1 import options_pb2 as cosmos_dot_autocli_dot_v1_dot_options__pb2 -from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/autocli/v1/query.proto\x12\x11\x63osmos.autocli.v1\x1a\x1f\x63osmos/autocli/v1/options.proto\x1a\x1b\x63osmos/query/v1/query.proto\"\x13\n\x11\x41ppOptionsRequest\"\xd9\x01\n\x12\x41ppOptionsResponse\x12_\n\x0emodule_options\x18\x01 \x03(\x0b\x32\x38.cosmos.autocli.v1.AppOptionsResponse.ModuleOptionsEntryR\rmoduleOptions\x1a\x62\n\x12ModuleOptionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32 .cosmos.autocli.v1.ModuleOptionsR\x05value:\x02\x38\x01\x32i\n\x05Query\x12`\n\nAppOptions\x12$.cosmos.autocli.v1.AppOptionsRequest\x1a%.cosmos.autocli.v1.AppOptionsResponse\"\x05\x88\xe7\xb0*\x00\x42\xb4\x01\n\x15\x63om.cosmos.autocli.v1B\nQueryProtoP\x01Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\xa2\x02\x03\x43\x41X\xaa\x02\x11\x43osmos.Autocli.V1\xca\x02\x11\x43osmos\\Autocli\\V1\xe2\x02\x1d\x43osmos\\Autocli\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Autocli::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.autocli.v1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.autocli.v1B\nQueryProtoP\001Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\242\002\003CAX\252\002\021Cosmos.Autocli.V1\312\002\021Cosmos\\Autocli\\V1\342\002\035Cosmos\\Autocli\\V1\\GPBMetadata\352\002\023Cosmos::Autocli::V1' - _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._loaded_options = None - _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._serialized_options = b'8\001' - _globals['_QUERY'].methods_by_name['AppOptions']._loaded_options = None - _globals['_QUERY'].methods_by_name['AppOptions']._serialized_options = b'\210\347\260*\000' - _globals['_APPOPTIONSREQUEST']._serialized_start=114 - _globals['_APPOPTIONSREQUEST']._serialized_end=133 - _globals['_APPOPTIONSRESPONSE']._serialized_start=136 - _globals['_APPOPTIONSRESPONSE']._serialized_end=353 - _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._serialized_start=255 - _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._serialized_end=353 - _globals['_QUERY']._serialized_start=355 - _globals['_QUERY']._serialized_end=460 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/autocli/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/autocli/v1/query_pb2_grpc.py deleted file mode 100644 index 989a8356..00000000 --- a/pyinjective/proto/cosmos/autocli/v1/query_pb2_grpc.py +++ /dev/null @@ -1,84 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.autocli.v1 import query_pb2 as cosmos_dot_autocli_dot_v1_dot_query__pb2 - - -class QueryStub(object): - """RemoteInfoService provides clients with the information they need - to build dynamically CLI clients for remote chains. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.AppOptions = channel.unary_unary( - '/cosmos.autocli.v1.Query/AppOptions', - request_serializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsRequest.SerializeToString, - response_deserializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """RemoteInfoService provides clients with the information they need - to build dynamically CLI clients for remote chains. - """ - - def AppOptions(self, request, context): - """AppOptions returns the autocli options for all of the modules in an app. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'AppOptions': grpc.unary_unary_rpc_method_handler( - servicer.AppOptions, - request_deserializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsRequest.FromString, - response_serializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.autocli.v1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.autocli.v1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """RemoteInfoService provides clients with the information they need - to build dynamically CLI clients for remote chains. - """ - - @staticmethod - def AppOptions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.autocli.v1.Query/AppOptions', - cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsRequest.SerializeToString, - cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py b/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py deleted file mode 100644 index 5032c046..00000000 --- a/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/bank/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/bank/module/v1/module.proto\x12\x15\x63osmos.bank.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\xcb\x01\n\x06Module\x12G\n blocked_module_accounts_override\x18\x01 \x03(\tR\x1d\x62lockedModuleAccountsOverride\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority\x12-\n\x12restrictions_order\x18\x03 \x03(\tR\x11restrictionsOrder:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/bankB\x9f\x01\n\x19\x63om.cosmos.bank.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x42M\xaa\x02\x15\x43osmos.Bank.Module.V1\xca\x02\x15\x43osmos\\Bank\\Module\\V1\xe2\x02!Cosmos\\Bank\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Bank::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.bank.module.v1B\013ModuleProtoP\001\242\002\003CBM\252\002\025Cosmos.Bank.Module.V1\312\002\025Cosmos\\Bank\\Module\\V1\342\002!Cosmos\\Bank\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Bank::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/bank' - _globals['_MODULE']._serialized_start=96 - _globals['_MODULE']._serialized_end=299 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/bank/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/bank/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/bank/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py deleted file mode 100644 index 328fbbfb..00000000 --- a/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py +++ /dev/null @@ -1,37 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/bank/v1beta1/authz.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/bank/v1beta1/authz.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x9a\x02\n\x11SendAuthorization\x12\x82\x01\n\x0bspend_limit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\nspendLimit\x12\x37\n\nallow_list\x18\x02 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tallowList:G\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1c\x63osmos-sdk/SendAuthorizationB\xbe\x01\n\x17\x63om.cosmos.bank.v1beta1B\nAuthzProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.authz_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\nAuthzProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' - _globals['_SENDAUTHORIZATION'].fields_by_name['spend_limit']._loaded_options = None - _globals['_SENDAUTHORIZATION'].fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_SENDAUTHORIZATION'].fields_by_name['allow_list']._loaded_options = None - _globals['_SENDAUTHORIZATION'].fields_by_name['allow_list']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_SENDAUTHORIZATION']._loaded_options = None - _globals['_SENDAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\034cosmos-sdk/SendAuthorization' - _globals['_SENDAUTHORIZATION']._serialized_start=157 - _globals['_SENDAUTHORIZATION']._serialized_end=439 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/bank/v1beta1/bank_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py deleted file mode 100644 index 2e124c79..00000000 --- a/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py +++ /dev/null @@ -1,70 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/bank/v1beta1/bank.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/bank/v1beta1/bank.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xa2\x01\n\x06Params\x12G\n\x0csend_enabled\x18\x01 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledB\x02\x18\x01R\x0bsendEnabled\x12\x30\n\x14\x64\x65\x66\x61ult_send_enabled\x18\x02 \x01(\x08R\x12\x64\x65\x66\x61ultSendEnabled:\x1d\x8a\xe7\xb0*\x18\x63osmos-sdk/x/bank/Params\"C\n\x0bSendEnabled\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x18\n\x07\x65nabled\x18\x02 \x01(\x08R\x07\x65nabled:\x04\xe8\xa0\x1f\x01\"\xca\x01\n\x05Input\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x14\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x07\x61\x64\x64ress\"\xbf\x01\n\x06Output\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xac\x01\n\x06Supply\x12w\n\x05total\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05total:)\x18\x01\x88\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1b\x63osmos.bank.v1beta1.SupplyI\"W\n\tDenomUnit\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1a\n\x08\x65xponent\x18\x02 \x01(\rR\x08\x65xponent\x12\x18\n\x07\x61liases\x18\x03 \x03(\tR\x07\x61liases\"\xa6\x02\n\x08Metadata\x12 \n\x0b\x64\x65scription\x18\x01 \x01(\tR\x0b\x64\x65scription\x12?\n\x0b\x64\x65nom_units\x18\x02 \x03(\x0b\x32\x1e.cosmos.bank.v1beta1.DenomUnitR\ndenomUnits\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x18\n\x07\x64isplay\x18\x04 \x01(\tR\x07\x64isplay\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x06 \x01(\tR\x06symbol\x12\x19\n\x03uri\x18\x07 \x01(\tB\x07\xe2\xde\x1f\x03URIR\x03uri\x12&\n\x08uri_hash\x18\x08 \x01(\tB\x0b\xe2\xde\x1f\x07URIHashR\x07uriHash\x12\x1a\n\x08\x64\x65\x63imals\x18\t \x01(\rR\x08\x64\x65\x63imalsB\xbd\x01\n\x17\x63om.cosmos.bank.v1beta1B\tBankProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.bank_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\tBankProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' - _globals['_PARAMS'].fields_by_name['send_enabled']._loaded_options = None - _globals['_PARAMS'].fields_by_name['send_enabled']._serialized_options = b'\030\001' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\212\347\260*\030cosmos-sdk/x/bank/Params' - _globals['_SENDENABLED']._loaded_options = None - _globals['_SENDENABLED']._serialized_options = b'\350\240\037\001' - _globals['_INPUT'].fields_by_name['address']._loaded_options = None - _globals['_INPUT'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_INPUT'].fields_by_name['coins']._loaded_options = None - _globals['_INPUT'].fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_INPUT']._loaded_options = None - _globals['_INPUT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\007address' - _globals['_OUTPUT'].fields_by_name['address']._loaded_options = None - _globals['_OUTPUT'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_OUTPUT'].fields_by_name['coins']._loaded_options = None - _globals['_OUTPUT'].fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_OUTPUT']._loaded_options = None - _globals['_OUTPUT']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_SUPPLY'].fields_by_name['total']._loaded_options = None - _globals['_SUPPLY'].fields_by_name['total']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_SUPPLY']._loaded_options = None - _globals['_SUPPLY']._serialized_options = b'\030\001\210\240\037\000\350\240\037\001\312\264-\033cosmos.bank.v1beta1.SupplyI' - _globals['_METADATA'].fields_by_name['uri']._loaded_options = None - _globals['_METADATA'].fields_by_name['uri']._serialized_options = b'\342\336\037\003URI' - _globals['_METADATA'].fields_by_name['uri_hash']._loaded_options = None - _globals['_METADATA'].fields_by_name['uri_hash']._serialized_options = b'\342\336\037\007URIHash' - _globals['_PARAMS']._serialized_start=181 - _globals['_PARAMS']._serialized_end=343 - _globals['_SENDENABLED']._serialized_start=345 - _globals['_SENDENABLED']._serialized_end=412 - _globals['_INPUT']._serialized_start=415 - _globals['_INPUT']._serialized_end=617 - _globals['_OUTPUT']._serialized_start=620 - _globals['_OUTPUT']._serialized_end=811 - _globals['_SUPPLY']._serialized_start=814 - _globals['_SUPPLY']._serialized_end=986 - _globals['_DENOMUNIT']._serialized_start=988 - _globals['_DENOMUNIT']._serialized_end=1075 - _globals['_METADATA']._serialized_start=1078 - _globals['_METADATA']._serialized_end=1372 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/bank/v1beta1/events_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py deleted file mode 100644 index 3dfa3a71..00000000 --- a/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/bank/v1beta1/events.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/bank/v1beta1/events.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"_\n\x10\x45ventSetBalances\x12K\n\x0f\x62\x61lance_updates\x18\x01 \x03(\x0b\x32\".cosmos.bank.v1beta1.BalanceUpdateR\x0e\x62\x61lanceUpdates\"}\n\rBalanceUpdate\x12\x12\n\x04\x61\x64\x64r\x18\x01 \x01(\x0cR\x04\x61\x64\x64r\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\x0cR\x05\x64\x65nom\x12\x42\n\x03\x61mt\x18\x03 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x03\x61mtB\xbf\x01\n\x17\x63om.cosmos.bank.v1beta1B\x0b\x45ventsProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.events_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\013EventsProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' - _globals['_BALANCEUPDATE'].fields_by_name['amt']._loaded_options = None - _globals['_BALANCEUPDATE'].fields_by_name['amt']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001' - _globals['_EVENTSETBALANCES']._serialized_start=125 - _globals['_EVENTSETBALANCES']._serialized_end=220 - _globals['_BALANCEUPDATE']._serialized_start=222 - _globals['_BALANCEUPDATE']._serialized_end=347 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/bank/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py deleted file mode 100644 index 9aae86fc..00000000 --- a/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/bank/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/bank/v1beta1/genesis.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xaf\x03\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12\x43\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x1c.cosmos.bank.v1beta1.BalanceB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12y\n\x06supply\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06supply\x12O\n\x0e\x64\x65nom_metadata\x18\x04 \x03(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdenomMetadata\x12N\n\x0csend_enabled\x18\x05 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0bsendEnabled\"\xc0\x01\n\x07\x42\x61lance\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xc0\x01\n\x17\x63om.cosmos.bank.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['balances']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['supply']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['supply']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['denom_metadata']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['denom_metadata']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['send_enabled']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['send_enabled']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_BALANCE'].fields_by_name['address']._loaded_options = None - _globals['_BALANCE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_BALANCE'].fields_by_name['coins']._loaded_options = None - _globals['_BALANCE'].fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_BALANCE']._loaded_options = None - _globals['_BALANCE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_GENESISSTATE']._serialized_start=191 - _globals['_GENESISSTATE']._serialized_end=622 - _globals['_BALANCE']._serialized_start=625 - _globals['_BALANCE']._serialized_end=817 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/bank/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py deleted file mode 100644 index 774ce07c..00000000 --- a/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py +++ /dev/null @@ -1,153 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/bank/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/bank/v1beta1/query.proto\x12\x13\x63osmos.bank.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x11\x61mino/amino.proto\"i\n\x13QueryBalanceRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"K\n\x14QueryBalanceResponse\x12\x33\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x07\x62\x61lance\"\xc4\x01\n\x17QueryAllBalancesRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12#\n\rresolve_denom\x18\x03 \x01(\x08R\x0cresolveDenom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe2\x01\n\x18QueryAllBalancesResponse\x12}\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xa5\x01\n\x1dQuerySpendableBalancesRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe8\x01\n\x1eQuerySpendableBalancesResponse\x12}\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"y\n#QuerySpendableBalanceByDenomRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"[\n$QuerySpendableBalanceByDenomResponse\x12\x33\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x07\x62\x61lance\"k\n\x17QueryTotalSupplyRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xde\x01\n\x18QueryTotalSupplyResponse\x12y\n\x06supply\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06supply\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\",\n\x14QuerySupplyOfRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"U\n\x15QuerySupplyOfResponse\x12<\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\"\x14\n\x12QueryParamsRequest\"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"d\n\x1aQueryDenomsMetadataRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xae\x01\n\x1bQueryDenomsMetadataResponse\x12\x46\n\tmetadatas\x18\x01 \x03(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tmetadatas\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"1\n\x19QueryDenomMetadataRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"b\n\x1aQueryDenomMetadataResponse\x12\x44\n\x08metadata\x18\x01 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08metadata\">\n&QueryDenomMetadataByQueryStringRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"o\n\'QueryDenomMetadataByQueryStringResponse\x12\x44\n\x08metadata\x18\x01 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08metadata\"w\n\x17QueryDenomOwnersRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x80\x01\n\nDenomOwner\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12>\n\x07\x62\x61lance\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x62\x61lance\"\xa7\x01\n\x18QueryDenomOwnersResponse\x12\x42\n\x0c\x64\x65nom_owners\x18\x01 \x03(\x0b\x32\x1f.cosmos.bank.v1beta1.DenomOwnerR\x0b\x64\x65nomOwners\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"~\n\x1eQueryDenomOwnersByQueryRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xae\x01\n\x1fQueryDenomOwnersByQueryResponse\x12\x42\n\x0c\x64\x65nom_owners\x18\x01 \x03(\x0b\x32\x1f.cosmos.bank.v1beta1.DenomOwnerR\x0b\x64\x65nomOwners\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"y\n\x17QuerySendEnabledRequest\x12\x16\n\x06\x64\x65noms\x18\x01 \x03(\tR\x06\x64\x65noms\x12\x46\n\npagination\x18\x63 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa8\x01\n\x18QuerySendEnabledResponse\x12\x43\n\x0csend_enabled\x18\x01 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledR\x0bsendEnabled\x12G\n\npagination\x18\x63 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xca\x11\n\x05Query\x12\x9d\x01\n\x07\x42\x61lance\x12(.cosmos.bank.v1beta1.QueryBalanceRequest\x1a).cosmos.bank.v1beta1.QueryBalanceResponse\"=\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/bank/v1beta1/balances/{address}/by_denom\x12\xa0\x01\n\x0b\x41llBalances\x12,.cosmos.bank.v1beta1.QueryAllBalancesRequest\x1a-.cosmos.bank.v1beta1.QueryAllBalancesResponse\"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/bank/v1beta1/balances/{address}\x12\xbc\x01\n\x11SpendableBalances\x12\x32.cosmos.bank.v1beta1.QuerySpendableBalancesRequest\x1a\x33.cosmos.bank.v1beta1.QuerySpendableBalancesResponse\">\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/bank/v1beta1/spendable_balances/{address}\x12\xd7\x01\n\x17SpendableBalanceByDenom\x12\x38.cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest\x1a\x39.cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse\"G\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02<\x12:/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom\x12\x94\x01\n\x0bTotalSupply\x12,.cosmos.bank.v1beta1.QueryTotalSupplyRequest\x1a-.cosmos.bank.v1beta1.QueryTotalSupplyResponse\"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/bank/v1beta1/supply\x12\x94\x01\n\x08SupplyOf\x12).cosmos.bank.v1beta1.QuerySupplyOfRequest\x1a*.cosmos.bank.v1beta1.QuerySupplyOfResponse\"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/bank/v1beta1/supply/by_denom\x12\x85\x01\n\x06Params\x12\'.cosmos.bank.v1beta1.QueryParamsRequest\x1a(.cosmos.bank.v1beta1.QueryParamsResponse\"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/bank/v1beta1/params\x12\xab\x01\n\rDenomMetadata\x12..cosmos.bank.v1beta1.QueryDenomMetadataRequest\x1a/.cosmos.bank.v1beta1.QueryDenomMetadataResponse\"9\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02.\x12,/cosmos/bank/v1beta1/denoms_metadata/{denom}\x12\xda\x01\n\x1a\x44\x65nomMetadataByQueryString\x12;.cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringRequest\x1a<.cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse\"A\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/bank/v1beta1/denoms_metadata_by_query_string\x12\xa6\x01\n\x0e\x44\x65nomsMetadata\x12/.cosmos.bank.v1beta1.QueryDenomsMetadataRequest\x1a\x30.cosmos.bank.v1beta1.QueryDenomsMetadataResponse\"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/bank/v1beta1/denoms_metadata\x12\xa2\x01\n\x0b\x44\x65nomOwners\x12,.cosmos.bank.v1beta1.QueryDenomOwnersRequest\x1a-.cosmos.bank.v1beta1.QueryDenomOwnersResponse\"6\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02+\x12)/cosmos/bank/v1beta1/denom_owners/{denom}\x12\xb8\x01\n\x12\x44\x65nomOwnersByQuery\x12\x33.cosmos.bank.v1beta1.QueryDenomOwnersByQueryRequest\x1a\x34.cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse\"7\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02,\x12*/cosmos/bank/v1beta1/denom_owners_by_query\x12\x9a\x01\n\x0bSendEnabled\x12,.cosmos.bank.v1beta1.QuerySendEnabledRequest\x1a-.cosmos.bank.v1beta1.QuerySendEnabledResponse\".\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02#\x12!/cosmos/bank/v1beta1/send_enabledB\xbe\x01\n\x17\x63om.cosmos.bank.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' - _globals['_QUERYBALANCEREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYBALANCEREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYBALANCEREQUEST']._loaded_options = None - _globals['_QUERYBALANCEREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYALLBALANCESREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYALLBALANCESREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYALLBALANCESREQUEST']._loaded_options = None - _globals['_QUERYALLBALANCESREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYALLBALANCESRESPONSE'].fields_by_name['balances']._loaded_options = None - _globals['_QUERYALLBALANCESRESPONSE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_QUERYSPENDABLEBALANCESREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYSPENDABLEBALANCESREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYSPENDABLEBALANCESREQUEST']._loaded_options = None - _globals['_QUERYSPENDABLEBALANCESREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYSPENDABLEBALANCESRESPONSE'].fields_by_name['balances']._loaded_options = None - _globals['_QUERYSPENDABLEBALANCESRESPONSE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._loaded_options = None - _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYTOTALSUPPLYREQUEST']._loaded_options = None - _globals['_QUERYTOTALSUPPLYREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYTOTALSUPPLYRESPONSE'].fields_by_name['supply']._loaded_options = None - _globals['_QUERYTOTALSUPPLYRESPONSE'].fields_by_name['supply']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_QUERYSUPPLYOFRESPONSE'].fields_by_name['amount']._loaded_options = None - _globals['_QUERYSUPPLYOFRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDENOMSMETADATARESPONSE'].fields_by_name['metadatas']._loaded_options = None - _globals['_QUERYDENOMSMETADATARESPONSE'].fields_by_name['metadatas']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDENOMMETADATARESPONSE'].fields_by_name['metadata']._loaded_options = None - _globals['_QUERYDENOMMETADATARESPONSE'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE'].fields_by_name['metadata']._loaded_options = None - _globals['_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_DENOMOWNER'].fields_by_name['address']._loaded_options = None - _globals['_DENOMOWNER'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DENOMOWNER'].fields_by_name['balance']._loaded_options = None - _globals['_DENOMOWNER'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERY'].methods_by_name['Balance']._loaded_options = None - _globals['_QUERY'].methods_by_name['Balance']._serialized_options = b'\210\347\260*\001\202\323\344\223\0022\0220/cosmos/bank/v1beta1/balances/{address}/by_denom' - _globals['_QUERY'].methods_by_name['AllBalances']._loaded_options = None - _globals['_QUERY'].methods_by_name['AllBalances']._serialized_options = b'\210\347\260*\001\202\323\344\223\002)\022\'/cosmos/bank/v1beta1/balances/{address}' - _globals['_QUERY'].methods_by_name['SpendableBalances']._loaded_options = None - _globals['_QUERY'].methods_by_name['SpendableBalances']._serialized_options = b'\210\347\260*\001\202\323\344\223\0023\0221/cosmos/bank/v1beta1/spendable_balances/{address}' - _globals['_QUERY'].methods_by_name['SpendableBalanceByDenom']._loaded_options = None - _globals['_QUERY'].methods_by_name['SpendableBalanceByDenom']._serialized_options = b'\210\347\260*\001\202\323\344\223\002<\022:/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom' - _globals['_QUERY'].methods_by_name['TotalSupply']._loaded_options = None - _globals['_QUERY'].methods_by_name['TotalSupply']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/bank/v1beta1/supply' - _globals['_QUERY'].methods_by_name['SupplyOf']._loaded_options = None - _globals['_QUERY'].methods_by_name['SupplyOf']._serialized_options = b'\210\347\260*\001\202\323\344\223\002&\022$/cosmos/bank/v1beta1/supply/by_denom' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/bank/v1beta1/params' - _globals['_QUERY'].methods_by_name['DenomMetadata']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomMetadata']._serialized_options = b'\210\347\260*\001\202\323\344\223\002.\022,/cosmos/bank/v1beta1/denoms_metadata/{denom}' - _globals['_QUERY'].methods_by_name['DenomMetadataByQueryString']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomMetadataByQueryString']._serialized_options = b'\210\347\260*\001\202\323\344\223\0026\0224/cosmos/bank/v1beta1/denoms_metadata_by_query_string' - _globals['_QUERY'].methods_by_name['DenomsMetadata']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomsMetadata']._serialized_options = b'\210\347\260*\001\202\323\344\223\002&\022$/cosmos/bank/v1beta1/denoms_metadata' - _globals['_QUERY'].methods_by_name['DenomOwners']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomOwners']._serialized_options = b'\210\347\260*\001\202\323\344\223\002+\022)/cosmos/bank/v1beta1/denom_owners/{denom}' - _globals['_QUERY'].methods_by_name['DenomOwnersByQuery']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomOwnersByQuery']._serialized_options = b'\210\347\260*\001\202\323\344\223\002,\022*/cosmos/bank/v1beta1/denom_owners_by_query' - _globals['_QUERY'].methods_by_name['SendEnabled']._loaded_options = None - _globals['_QUERY'].methods_by_name['SendEnabled']._serialized_options = b'\210\347\260*\001\202\323\344\223\002#\022!/cosmos/bank/v1beta1/send_enabled' - _globals['_QUERYBALANCEREQUEST']._serialized_start=291 - _globals['_QUERYBALANCEREQUEST']._serialized_end=396 - _globals['_QUERYBALANCERESPONSE']._serialized_start=398 - _globals['_QUERYBALANCERESPONSE']._serialized_end=473 - _globals['_QUERYALLBALANCESREQUEST']._serialized_start=476 - _globals['_QUERYALLBALANCESREQUEST']._serialized_end=672 - _globals['_QUERYALLBALANCESRESPONSE']._serialized_start=675 - _globals['_QUERYALLBALANCESRESPONSE']._serialized_end=901 - _globals['_QUERYSPENDABLEBALANCESREQUEST']._serialized_start=904 - _globals['_QUERYSPENDABLEBALANCESREQUEST']._serialized_end=1069 - _globals['_QUERYSPENDABLEBALANCESRESPONSE']._serialized_start=1072 - _globals['_QUERYSPENDABLEBALANCESRESPONSE']._serialized_end=1304 - _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._serialized_start=1306 - _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._serialized_end=1427 - _globals['_QUERYSPENDABLEBALANCEBYDENOMRESPONSE']._serialized_start=1429 - _globals['_QUERYSPENDABLEBALANCEBYDENOMRESPONSE']._serialized_end=1520 - _globals['_QUERYTOTALSUPPLYREQUEST']._serialized_start=1522 - _globals['_QUERYTOTALSUPPLYREQUEST']._serialized_end=1629 - _globals['_QUERYTOTALSUPPLYRESPONSE']._serialized_start=1632 - _globals['_QUERYTOTALSUPPLYRESPONSE']._serialized_end=1854 - _globals['_QUERYSUPPLYOFREQUEST']._serialized_start=1856 - _globals['_QUERYSUPPLYOFREQUEST']._serialized_end=1900 - _globals['_QUERYSUPPLYOFRESPONSE']._serialized_start=1902 - _globals['_QUERYSUPPLYOFRESPONSE']._serialized_end=1987 - _globals['_QUERYPARAMSREQUEST']._serialized_start=1989 - _globals['_QUERYPARAMSREQUEST']._serialized_end=2009 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=2011 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=2096 - _globals['_QUERYDENOMSMETADATAREQUEST']._serialized_start=2098 - _globals['_QUERYDENOMSMETADATAREQUEST']._serialized_end=2198 - _globals['_QUERYDENOMSMETADATARESPONSE']._serialized_start=2201 - _globals['_QUERYDENOMSMETADATARESPONSE']._serialized_end=2375 - _globals['_QUERYDENOMMETADATAREQUEST']._serialized_start=2377 - _globals['_QUERYDENOMMETADATAREQUEST']._serialized_end=2426 - _globals['_QUERYDENOMMETADATARESPONSE']._serialized_start=2428 - _globals['_QUERYDENOMMETADATARESPONSE']._serialized_end=2526 - _globals['_QUERYDENOMMETADATABYQUERYSTRINGREQUEST']._serialized_start=2528 - _globals['_QUERYDENOMMETADATABYQUERYSTRINGREQUEST']._serialized_end=2590 - _globals['_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE']._serialized_start=2592 - _globals['_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE']._serialized_end=2703 - _globals['_QUERYDENOMOWNERSREQUEST']._serialized_start=2705 - _globals['_QUERYDENOMOWNERSREQUEST']._serialized_end=2824 - _globals['_DENOMOWNER']._serialized_start=2827 - _globals['_DENOMOWNER']._serialized_end=2955 - _globals['_QUERYDENOMOWNERSRESPONSE']._serialized_start=2958 - _globals['_QUERYDENOMOWNERSRESPONSE']._serialized_end=3125 - _globals['_QUERYDENOMOWNERSBYQUERYREQUEST']._serialized_start=3127 - _globals['_QUERYDENOMOWNERSBYQUERYREQUEST']._serialized_end=3253 - _globals['_QUERYDENOMOWNERSBYQUERYRESPONSE']._serialized_start=3256 - _globals['_QUERYDENOMOWNERSBYQUERYRESPONSE']._serialized_end=3430 - _globals['_QUERYSENDENABLEDREQUEST']._serialized_start=3432 - _globals['_QUERYSENDENABLEDREQUEST']._serialized_end=3553 - _globals['_QUERYSENDENABLEDRESPONSE']._serialized_start=3556 - _globals['_QUERYSENDENABLEDRESPONSE']._serialized_end=3724 - _globals['_QUERY']._serialized_start=3727 - _globals['_QUERY']._serialized_end=5977 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2_grpc.py deleted file mode 100644 index 2318f271..00000000 --- a/pyinjective/proto/cosmos/bank/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,646 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.bank.v1beta1 import query_pb2 as cosmos_dot_bank_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Balance = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/Balance', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, - _registered_method=True) - self.AllBalances = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/AllBalances', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesResponse.FromString, - _registered_method=True) - self.SpendableBalances = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/SpendableBalances', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesResponse.FromString, - _registered_method=True) - self.SpendableBalanceByDenom = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/SpendableBalanceByDenom', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomResponse.FromString, - _registered_method=True) - self.TotalSupply = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/TotalSupply', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyResponse.FromString, - _registered_method=True) - self.SupplyOf = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/SupplyOf', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfResponse.FromString, - _registered_method=True) - self.Params = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/Params', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - self.DenomMetadata = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/DenomMetadata', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataResponse.FromString, - _registered_method=True) - self.DenomMetadataByQueryString = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/DenomMetadataByQueryString', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringResponse.FromString, - _registered_method=True) - self.DenomsMetadata = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/DenomsMetadata', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataResponse.FromString, - _registered_method=True) - self.DenomOwners = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/DenomOwners', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersResponse.FromString, - _registered_method=True) - self.DenomOwnersByQuery = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/DenomOwnersByQuery', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryResponse.FromString, - _registered_method=True) - self.SendEnabled = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/SendEnabled', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service. - """ - - def Balance(self, request, context): - """Balance queries the balance of a single coin for a single account. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AllBalances(self, request, context): - """AllBalances queries the balance of all coins for a single account. - - When called from another module, this query might consume a high amount of - gas if the pagination field is incorrectly set. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SpendableBalances(self, request, context): - """SpendableBalances queries the spendable balance of all coins for a single - account. - - When called from another module, this query might consume a high amount of - gas if the pagination field is incorrectly set. - - Since: cosmos-sdk 0.46 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SpendableBalanceByDenom(self, request, context): - """SpendableBalanceByDenom queries the spendable balance of a single denom for - a single account. - - When called from another module, this query might consume a high amount of - gas if the pagination field is incorrectly set. - - Since: cosmos-sdk 0.47 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TotalSupply(self, request, context): - """TotalSupply queries the total supply of all coins. - - When called from another module, this query might consume a high amount of - gas if the pagination field is incorrectly set. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SupplyOf(self, request, context): - """SupplyOf queries the supply of a single coin. - - When called from another module, this query might consume a high amount of - gas if the pagination field is incorrectly set. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Params(self, request, context): - """Params queries the parameters of x/bank module. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DenomMetadata(self, request, context): - """DenomMetadata queries the client metadata of a given coin denomination. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DenomMetadataByQueryString(self, request, context): - """DenomMetadataByQueryString queries the client metadata of a given coin denomination. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DenomsMetadata(self, request, context): - """DenomsMetadata queries the client metadata for all registered coin - denominations. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DenomOwners(self, request, context): - """DenomOwners queries for all account addresses that own a particular token - denomination. - - When called from another module, this query might consume a high amount of - gas if the pagination field is incorrectly set. - - Since: cosmos-sdk 0.46 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DenomOwnersByQuery(self, request, context): - """DenomOwnersByQuery queries for all account addresses that own a particular token - denomination. - - Since: cosmos-sdk 0.50.3 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SendEnabled(self, request, context): - """SendEnabled queries for SendEnabled entries. - - This query only returns denominations that have specific SendEnabled settings. - Any denomination that does not have a specific setting will use the default - params.default_send_enabled, and will not be returned by this query. - - Since: cosmos-sdk 0.47 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Balance': grpc.unary_unary_rpc_method_handler( - servicer.Balance, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.SerializeToString, - ), - 'AllBalances': grpc.unary_unary_rpc_method_handler( - servicer.AllBalances, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesResponse.SerializeToString, - ), - 'SpendableBalances': grpc.unary_unary_rpc_method_handler( - servicer.SpendableBalances, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesResponse.SerializeToString, - ), - 'SpendableBalanceByDenom': grpc.unary_unary_rpc_method_handler( - servicer.SpendableBalanceByDenom, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomResponse.SerializeToString, - ), - 'TotalSupply': grpc.unary_unary_rpc_method_handler( - servicer.TotalSupply, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyResponse.SerializeToString, - ), - 'SupplyOf': grpc.unary_unary_rpc_method_handler( - servicer.SupplyOf, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfResponse.SerializeToString, - ), - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'DenomMetadata': grpc.unary_unary_rpc_method_handler( - servicer.DenomMetadata, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataResponse.SerializeToString, - ), - 'DenomMetadataByQueryString': grpc.unary_unary_rpc_method_handler( - servicer.DenomMetadataByQueryString, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringResponse.SerializeToString, - ), - 'DenomsMetadata': grpc.unary_unary_rpc_method_handler( - servicer.DenomsMetadata, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataResponse.SerializeToString, - ), - 'DenomOwners': grpc.unary_unary_rpc_method_handler( - servicer.DenomOwners, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersResponse.SerializeToString, - ), - 'DenomOwnersByQuery': grpc.unary_unary_rpc_method_handler( - servicer.DenomOwnersByQuery, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryResponse.SerializeToString, - ), - 'SendEnabled': grpc.unary_unary_rpc_method_handler( - servicer.SendEnabled, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.bank.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.bank.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service. - """ - - @staticmethod - def Balance(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Query/Balance', - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AllBalances(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Query/AllBalances', - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesRequest.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SpendableBalances(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Query/SpendableBalances', - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesRequest.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SpendableBalanceByDenom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Query/SpendableBalanceByDenom', - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomRequest.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def TotalSupply(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Query/TotalSupply', - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyRequest.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SupplyOf(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Query/SupplyOf', - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfRequest.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Query/Params', - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DenomMetadata(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Query/DenomMetadata', - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataRequest.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DenomMetadataByQueryString(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Query/DenomMetadataByQueryString', - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringRequest.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DenomsMetadata(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Query/DenomsMetadata', - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataRequest.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DenomOwners(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Query/DenomOwners', - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersRequest.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DenomOwnersByQuery(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Query/DenomOwnersByQuery', - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryRequest.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SendEnabled(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Query/SendEnabled', - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledRequest.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py deleted file mode 100644 index eafe67c8..00000000 --- a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py +++ /dev/null @@ -1,75 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/bank/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/bank/v1beta1/tx.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xac\x02\n\x07MsgSend\x12;\n\x0c\x66rom_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0b\x66romAddress\x12\x37\n\nto_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:0\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgSend\"\x11\n\x0fMsgSendResponse\"\xbc\x01\n\x0cMsgMultiSend\x12=\n\x06inputs\x18\x01 \x03(\x0b\x32\x1a.cosmos.bank.v1beta1.InputB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06inputs\x12@\n\x07outputs\x18\x02 \x03(\x0b\x32\x1b.cosmos.bank.v1beta1.OutputB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07outputs:+\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06inputs\x8a\xe7\xb0*\x17\x63osmos-sdk/MsgMultiSend\"\x16\n\x14MsgMultiSendResponse\"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/bank/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xe9\x01\n\x11MsgSetSendEnabled\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x43\n\x0csend_enabled\x18\x02 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledR\x0bsendEnabled\x12&\n\x0fuse_default_for\x18\x03 \x03(\tR\ruseDefaultFor:/\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSetSendEnabled\"\x1b\n\x19MsgSetSendEnabledResponse2\x81\x03\n\x03Msg\x12J\n\x04Send\x12\x1c.cosmos.bank.v1beta1.MsgSend\x1a$.cosmos.bank.v1beta1.MsgSendResponse\x12Y\n\tMultiSend\x12!.cosmos.bank.v1beta1.MsgMultiSend\x1a).cosmos.bank.v1beta1.MsgMultiSendResponse\x12\x62\n\x0cUpdateParams\x12$.cosmos.bank.v1beta1.MsgUpdateParams\x1a,.cosmos.bank.v1beta1.MsgUpdateParamsResponse\x12h\n\x0eSetSendEnabled\x12&.cosmos.bank.v1beta1.MsgSetSendEnabled\x1a..cosmos.bank.v1beta1.MsgSetSendEnabledResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.bank.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' - _globals['_MSGSEND'].fields_by_name['from_address']._loaded_options = None - _globals['_MSGSEND'].fields_by_name['from_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSEND'].fields_by_name['to_address']._loaded_options = None - _globals['_MSGSEND'].fields_by_name['to_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSEND'].fields_by_name['amount']._loaded_options = None - _globals['_MSGSEND'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGSEND']._loaded_options = None - _globals['_MSGSEND']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\014from_address\212\347\260*\022cosmos-sdk/MsgSend' - _globals['_MSGMULTISEND'].fields_by_name['inputs']._loaded_options = None - _globals['_MSGMULTISEND'].fields_by_name['inputs']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGMULTISEND'].fields_by_name['outputs']._loaded_options = None - _globals['_MSGMULTISEND'].fields_by_name['outputs']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGMULTISEND']._loaded_options = None - _globals['_MSGMULTISEND']._serialized_options = b'\350\240\037\000\202\347\260*\006inputs\212\347\260*\027cosmos-sdk/MsgMultiSend' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/bank/MsgUpdateParams' - _globals['_MSGSETSENDENABLED'].fields_by_name['authority']._loaded_options = None - _globals['_MSGSETSENDENABLED'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSETSENDENABLED']._loaded_options = None - _globals['_MSGSETSENDENABLED']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\034cosmos-sdk/MsgSetSendEnabled' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGSEND']._serialized_start=211 - _globals['_MSGSEND']._serialized_end=511 - _globals['_MSGSENDRESPONSE']._serialized_start=513 - _globals['_MSGSENDRESPONSE']._serialized_end=530 - _globals['_MSGMULTISEND']._serialized_start=533 - _globals['_MSGMULTISEND']._serialized_end=721 - _globals['_MSGMULTISENDRESPONSE']._serialized_start=723 - _globals['_MSGMULTISENDRESPONSE']._serialized_end=745 - _globals['_MSGUPDATEPARAMS']._serialized_start=748 - _globals['_MSGUPDATEPARAMS']._serialized_end=939 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=941 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=966 - _globals['_MSGSETSENDENABLED']._serialized_start=969 - _globals['_MSGSETSENDENABLED']._serialized_end=1202 - _globals['_MSGSETSENDENABLEDRESPONSE']._serialized_start=1204 - _globals['_MSGSETSENDENABLEDRESPONSE']._serialized_end=1231 - _globals['_MSG']._serialized_start=1234 - _globals['_MSG']._serialized_end=1619 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index 1b438771..00000000 --- a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,221 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.bank.v1beta1 import tx_pb2 as cosmos_dot_bank_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the bank Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Send = channel.unary_unary( - '/cosmos.bank.v1beta1.Msg/Send', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, - _registered_method=True) - self.MultiSend = channel.unary_unary( - '/cosmos.bank.v1beta1.Msg/MultiSend', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSend.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSendResponse.FromString, - _registered_method=True) - self.UpdateParams = channel.unary_unary( - '/cosmos.bank.v1beta1.Msg/UpdateParams', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - self.SetSendEnabled = channel.unary_unary( - '/cosmos.bank.v1beta1.Msg/SetSendEnabled', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabled.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabledResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the bank Msg service. - """ - - def Send(self, request, context): - """Send defines a method for sending coins from one account to another account. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MultiSend(self, request, context): - """MultiSend defines a method for sending coins from some accounts to other accounts. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """UpdateParams defines a governance operation for updating the x/bank module parameters. - The authority is defined in the keeper. - - Since: cosmos-sdk 0.47 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SetSendEnabled(self, request, context): - """SetSendEnabled is a governance operation for setting the SendEnabled flag - on any number of Denoms. Only the entries to add or update should be - included. Entries that already exist in the store, but that aren't - included in this message, will be left unchanged. - - Since: cosmos-sdk 0.47 - """ - 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 = { - 'Send': grpc.unary_unary_rpc_method_handler( - servicer.Send, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSend.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSendResponse.SerializeToString, - ), - 'MultiSend': grpc.unary_unary_rpc_method_handler( - servicer.MultiSend, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSend.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSendResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'SetSendEnabled': grpc.unary_unary_rpc_method_handler( - servicer.SetSendEnabled, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabled.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabledResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.bank.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.bank.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the bank Msg service. - """ - - @staticmethod - def Send(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Msg/Send', - cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def MultiSend(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Msg/MultiSend', - cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSend.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSendResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Msg/UpdateParams', - cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SetSendEnabled(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.bank.v1beta1.Msg/SetSendEnabled', - cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabled.SerializeToString, - cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabledResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py deleted file mode 100644 index c1104257..00000000 --- a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py +++ /dev/null @@ -1,87 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/base/abci/v1beta1/abci.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 -from pyinjective.proto.tendermint.types import block_pb2 as tendermint_dot_types_dot_block__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/base/abci/v1beta1/abci.proto\x12\x18\x63osmos.base.abci.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1btendermint/abci/types.proto\x1a\x1ctendermint/types/block.proto\x1a\x19google/protobuf/any.proto\"\xcc\x03\n\nTxResponse\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\"\n\x06txhash\x18\x02 \x01(\tB\n\xe2\xde\x1f\x06TxHashR\x06txhash\x12\x1c\n\tcodespace\x18\x03 \x01(\tR\tcodespace\x12\x12\n\x04\x63ode\x18\x04 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x05 \x01(\tR\x04\x64\x61ta\x12\x17\n\x07raw_log\x18\x06 \x01(\tR\x06rawLog\x12U\n\x04logs\x18\x07 \x03(\x0b\x32(.cosmos.base.abci.v1beta1.ABCIMessageLogB\x17\xc8\xde\x1f\x00\xaa\xdf\x1f\x0f\x41\x42\x43IMessageLogsR\x04logs\x12\x12\n\x04info\x18\x08 \x01(\tR\x04info\x12\x1d\n\ngas_wanted\x18\t \x01(\x03R\tgasWanted\x12\x19\n\x08gas_used\x18\n \x01(\x03R\x07gasUsed\x12$\n\x02tx\x18\x0b \x01(\x0b\x32\x14.google.protobuf.AnyR\x02tx\x12\x1c\n\ttimestamp\x18\x0c \x01(\tR\ttimestamp\x12\x34\n\x06\x65vents\x18\r \x03(\x0b\x32\x16.tendermint.abci.EventB\x04\xc8\xde\x1f\x00R\x06\x65vents:\x04\x88\xa0\x1f\x00\"\xa9\x01\n\x0e\x41\x42\x43IMessageLog\x12*\n\tmsg_index\x18\x01 \x01(\rB\r\xea\xde\x1f\tmsg_indexR\x08msgIndex\x12\x10\n\x03log\x18\x02 \x01(\tR\x03log\x12S\n\x06\x65vents\x18\x03 \x03(\x0b\x32%.cosmos.base.abci.v1beta1.StringEventB\x14\xc8\xde\x1f\x00\xaa\xdf\x1f\x0cStringEventsR\x06\x65vents:\x04\x80\xdc \x01\"r\n\x0bStringEvent\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12I\n\nattributes\x18\x02 \x03(\x0b\x32#.cosmos.base.abci.v1beta1.AttributeB\x04\xc8\xde\x1f\x00R\nattributes:\x04\x80\xdc \x01\"3\n\tAttribute\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\"C\n\x07GasInfo\x12\x1d\n\ngas_wanted\x18\x01 \x01(\x04R\tgasWanted\x12\x19\n\x08gas_used\x18\x02 \x01(\x04R\x07gasUsed\"\xa9\x01\n\x06Result\x12\x16\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x02\x18\x01R\x04\x64\x61ta\x12\x10\n\x03log\x18\x02 \x01(\tR\x03log\x12\x34\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x04\xc8\xde\x1f\x00R\x06\x65vents\x12\x39\n\rmsg_responses\x18\x04 \x03(\x0b\x32\x14.google.protobuf.AnyR\x0cmsgResponses:\x04\x88\xa0\x1f\x00\"\x96\x01\n\x12SimulationResponse\x12\x46\n\x08gas_info\x18\x01 \x01(\x0b\x32!.cosmos.base.abci.v1beta1.GasInfoB\x08\xc8\xde\x1f\x00\xd0\xde\x1f\x01R\x07gasInfo\x12\x38\n\x06result\x18\x02 \x01(\x0b\x32 .cosmos.base.abci.v1beta1.ResultR\x06result\"@\n\x07MsgData\x12\x19\n\x08msg_type\x18\x01 \x01(\tR\x07msgType\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta:\x06\x18\x01\x80\xdc \x01\"\x87\x01\n\tTxMsgData\x12\x39\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32!.cosmos.base.abci.v1beta1.MsgDataB\x02\x18\x01R\x04\x64\x61ta\x12\x39\n\rmsg_responses\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x0cmsgResponses:\x04\x80\xdc \x01\"\xdc\x01\n\x0fSearchTxsResult\x12\x1f\n\x0btotal_count\x18\x01 \x01(\x04R\ntotalCount\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\x12\x1f\n\x0bpage_number\x18\x03 \x01(\x04R\npageNumber\x12\x1d\n\npage_total\x18\x04 \x01(\x04R\tpageTotal\x12\x14\n\x05limit\x18\x05 \x01(\x04R\x05limit\x12\x36\n\x03txs\x18\x06 \x03(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\x03txs:\x04\x80\xdc \x01\"\xd8\x01\n\x12SearchBlocksResult\x12\x1f\n\x0btotal_count\x18\x01 \x01(\x03R\ntotalCount\x12\x14\n\x05\x63ount\x18\x02 \x01(\x03R\x05\x63ount\x12\x1f\n\x0bpage_number\x18\x03 \x01(\x03R\npageNumber\x12\x1d\n\npage_total\x18\x04 \x01(\x03R\tpageTotal\x12\x14\n\x05limit\x18\x05 \x01(\x03R\x05limit\x12/\n\x06\x62locks\x18\x06 \x03(\x0b\x32\x17.tendermint.types.BlockR\x06\x62locks:\x04\x80\xdc \x01\x42\xd4\x01\n\x1c\x63om.cosmos.base.abci.v1beta1B\tAbciProtoP\x01Z\"github.com/cosmos/cosmos-sdk/types\xa2\x02\x03\x43\x42\x41\xaa\x02\x18\x43osmos.Base.Abci.V1beta1\xca\x02\x18\x43osmos\\Base\\Abci\\V1beta1\xe2\x02$Cosmos\\Base\\Abci\\V1beta1\\GPBMetadata\xea\x02\x1b\x43osmos::Base::Abci::V1beta1\xd8\xe1\x1e\x00\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.abci.v1beta1.abci_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.base.abci.v1beta1B\tAbciProtoP\001Z\"github.com/cosmos/cosmos-sdk/types\242\002\003CBA\252\002\030Cosmos.Base.Abci.V1beta1\312\002\030Cosmos\\Base\\Abci\\V1beta1\342\002$Cosmos\\Base\\Abci\\V1beta1\\GPBMetadata\352\002\033Cosmos::Base::Abci::V1beta1\330\341\036\000' - _globals['_TXRESPONSE'].fields_by_name['txhash']._loaded_options = None - _globals['_TXRESPONSE'].fields_by_name['txhash']._serialized_options = b'\342\336\037\006TxHash' - _globals['_TXRESPONSE'].fields_by_name['logs']._loaded_options = None - _globals['_TXRESPONSE'].fields_by_name['logs']._serialized_options = b'\310\336\037\000\252\337\037\017ABCIMessageLogs' - _globals['_TXRESPONSE'].fields_by_name['events']._loaded_options = None - _globals['_TXRESPONSE'].fields_by_name['events']._serialized_options = b'\310\336\037\000' - _globals['_TXRESPONSE']._loaded_options = None - _globals['_TXRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_ABCIMESSAGELOG'].fields_by_name['msg_index']._loaded_options = None - _globals['_ABCIMESSAGELOG'].fields_by_name['msg_index']._serialized_options = b'\352\336\037\tmsg_index' - _globals['_ABCIMESSAGELOG'].fields_by_name['events']._loaded_options = None - _globals['_ABCIMESSAGELOG'].fields_by_name['events']._serialized_options = b'\310\336\037\000\252\337\037\014StringEvents' - _globals['_ABCIMESSAGELOG']._loaded_options = None - _globals['_ABCIMESSAGELOG']._serialized_options = b'\200\334 \001' - _globals['_STRINGEVENT'].fields_by_name['attributes']._loaded_options = None - _globals['_STRINGEVENT'].fields_by_name['attributes']._serialized_options = b'\310\336\037\000' - _globals['_STRINGEVENT']._loaded_options = None - _globals['_STRINGEVENT']._serialized_options = b'\200\334 \001' - _globals['_RESULT'].fields_by_name['data']._loaded_options = None - _globals['_RESULT'].fields_by_name['data']._serialized_options = b'\030\001' - _globals['_RESULT'].fields_by_name['events']._loaded_options = None - _globals['_RESULT'].fields_by_name['events']._serialized_options = b'\310\336\037\000' - _globals['_RESULT']._loaded_options = None - _globals['_RESULT']._serialized_options = b'\210\240\037\000' - _globals['_SIMULATIONRESPONSE'].fields_by_name['gas_info']._loaded_options = None - _globals['_SIMULATIONRESPONSE'].fields_by_name['gas_info']._serialized_options = b'\310\336\037\000\320\336\037\001' - _globals['_MSGDATA']._loaded_options = None - _globals['_MSGDATA']._serialized_options = b'\030\001\200\334 \001' - _globals['_TXMSGDATA'].fields_by_name['data']._loaded_options = None - _globals['_TXMSGDATA'].fields_by_name['data']._serialized_options = b'\030\001' - _globals['_TXMSGDATA']._loaded_options = None - _globals['_TXMSGDATA']._serialized_options = b'\200\334 \001' - _globals['_SEARCHTXSRESULT']._loaded_options = None - _globals['_SEARCHTXSRESULT']._serialized_options = b'\200\334 \001' - _globals['_SEARCHBLOCKSRESULT']._loaded_options = None - _globals['_SEARCHBLOCKSRESULT']._serialized_options = b'\200\334 \001' - _globals['_TXRESPONSE']._serialized_start=174 - _globals['_TXRESPONSE']._serialized_end=634 - _globals['_ABCIMESSAGELOG']._serialized_start=637 - _globals['_ABCIMESSAGELOG']._serialized_end=806 - _globals['_STRINGEVENT']._serialized_start=808 - _globals['_STRINGEVENT']._serialized_end=922 - _globals['_ATTRIBUTE']._serialized_start=924 - _globals['_ATTRIBUTE']._serialized_end=975 - _globals['_GASINFO']._serialized_start=977 - _globals['_GASINFO']._serialized_end=1044 - _globals['_RESULT']._serialized_start=1047 - _globals['_RESULT']._serialized_end=1216 - _globals['_SIMULATIONRESPONSE']._serialized_start=1219 - _globals['_SIMULATIONRESPONSE']._serialized_end=1369 - _globals['_MSGDATA']._serialized_start=1371 - _globals['_MSGDATA']._serialized_end=1435 - _globals['_TXMSGDATA']._serialized_start=1438 - _globals['_TXMSGDATA']._serialized_end=1573 - _globals['_SEARCHTXSRESULT']._serialized_start=1576 - _globals['_SEARCHTXSRESULT']._serialized_end=1796 - _globals['_SEARCHBLOCKSRESULT']._serialized_start=1799 - _globals['_SEARCHBLOCKSRESULT']._serialized_end=2015 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2_grpc.py b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/base/node/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py deleted file mode 100644 index 4c3aa7b6..00000000 --- a/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py +++ /dev/null @@ -1,44 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/base/node/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/base/node/v1beta1/query.proto\x12\x18\x63osmos.base.node.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\"\x0f\n\rConfigRequest\"\xb8\x01\n\x0e\x43onfigResponse\x12*\n\x11minimum_gas_price\x18\x01 \x01(\tR\x0fminimumGasPrice\x12.\n\x13pruning_keep_recent\x18\x02 \x01(\tR\x11pruningKeepRecent\x12)\n\x10pruning_interval\x18\x03 \x01(\tR\x0fpruningInterval\x12\x1f\n\x0bhalt_height\x18\x04 \x01(\x04R\nhaltHeight\"\x0f\n\rStatusRequest\"\xde\x01\n\x0eStatusResponse\x12\x32\n\x15\x65\x61rliest_store_height\x18\x01 \x01(\x04R\x13\x65\x61rliestStoreHeight\x12\x16\n\x06height\x18\x02 \x01(\x04R\x06height\x12>\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\ttimestamp\x12\x19\n\x08\x61pp_hash\x18\x04 \x01(\x0cR\x07\x61ppHash\x12%\n\x0evalidator_hash\x18\x05 \x01(\x0cR\rvalidatorHash2\x99\x02\n\x07Service\x12\x85\x01\n\x06\x43onfig\x12\'.cosmos.base.node.v1beta1.ConfigRequest\x1a(.cosmos.base.node.v1beta1.ConfigResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmos/base/node/v1beta1/config\x12\x85\x01\n\x06Status\x12\'.cosmos.base.node.v1beta1.StatusRequest\x1a(.cosmos.base.node.v1beta1.StatusResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmos/base/node/v1beta1/statusB\xdc\x01\n\x1c\x63om.cosmos.base.node.v1beta1B\nQueryProtoP\x01Z-github.com/cosmos/cosmos-sdk/client/grpc/node\xa2\x02\x03\x43\x42N\xaa\x02\x18\x43osmos.Base.Node.V1beta1\xca\x02\x18\x43osmos\\Base\\Node\\V1beta1\xe2\x02$Cosmos\\Base\\Node\\V1beta1\\GPBMetadata\xea\x02\x1b\x43osmos::Base::Node::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.node.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.base.node.v1beta1B\nQueryProtoP\001Z-github.com/cosmos/cosmos-sdk/client/grpc/node\242\002\003CBN\252\002\030Cosmos.Base.Node.V1beta1\312\002\030Cosmos\\Base\\Node\\V1beta1\342\002$Cosmos\\Base\\Node\\V1beta1\\GPBMetadata\352\002\033Cosmos::Base::Node::V1beta1' - _globals['_STATUSRESPONSE'].fields_by_name['timestamp']._loaded_options = None - _globals['_STATUSRESPONSE'].fields_by_name['timestamp']._serialized_options = b'\220\337\037\001' - _globals['_SERVICE'].methods_by_name['Config']._loaded_options = None - _globals['_SERVICE'].methods_by_name['Config']._serialized_options = b'\202\323\344\223\002\"\022 /cosmos/base/node/v1beta1/config' - _globals['_SERVICE'].methods_by_name['Status']._loaded_options = None - _globals['_SERVICE'].methods_by_name['Status']._serialized_options = b'\202\323\344\223\002\"\022 /cosmos/base/node/v1beta1/status' - _globals['_CONFIGREQUEST']._serialized_start=151 - _globals['_CONFIGREQUEST']._serialized_end=166 - _globals['_CONFIGRESPONSE']._serialized_start=169 - _globals['_CONFIGRESPONSE']._serialized_end=353 - _globals['_STATUSREQUEST']._serialized_start=355 - _globals['_STATUSREQUEST']._serialized_end=370 - _globals['_STATUSRESPONSE']._serialized_start=373 - _globals['_STATUSRESPONSE']._serialized_end=595 - _globals['_SERVICE']._serialized_start=598 - _globals['_SERVICE']._serialized_end=879 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2_grpc.py deleted file mode 100644 index 3cc93343..00000000 --- a/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,125 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.base.node.v1beta1 import query_pb2 as cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2 - - -class ServiceStub(object): - """Service defines the gRPC querier service for node related queries. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Config = channel.unary_unary( - '/cosmos.base.node.v1beta1.Service/Config', - request_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigResponse.FromString, - _registered_method=True) - self.Status = channel.unary_unary( - '/cosmos.base.node.v1beta1.Service/Status', - request_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusResponse.FromString, - _registered_method=True) - - -class ServiceServicer(object): - """Service defines the gRPC querier service for node related queries. - """ - - def Config(self, request, context): - """Config queries for the operator configuration. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Status(self, request, context): - """Status queries for the node status. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_ServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Config': grpc.unary_unary_rpc_method_handler( - servicer.Config, - request_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigRequest.FromString, - response_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigResponse.SerializeToString, - ), - 'Status': grpc.unary_unary_rpc_method_handler( - servicer.Status, - request_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusRequest.FromString, - response_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.base.node.v1beta1.Service', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.base.node.v1beta1.Service', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Service(object): - """Service defines the gRPC querier service for node related queries. - """ - - @staticmethod - def Config(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.base.node.v1beta1.Service/Config', - cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigRequest.SerializeToString, - cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Status(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.base.node.v1beta1.Service/Status', - cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusRequest.SerializeToString, - cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py deleted file mode 100644 index 82ad6736..00000000 --- a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/base/query/v1beta1/pagination.proto -# Protobuf Python Version: 5.26.1 -"""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*cosmos/base/query/v1beta1/pagination.proto\x12\x19\x63osmos.base.query.v1beta1\"\x88\x01\n\x0bPageRequest\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x16\n\x06offset\x18\x02 \x01(\x04R\x06offset\x12\x14\n\x05limit\x18\x03 \x01(\x04R\x05limit\x12\x1f\n\x0b\x63ount_total\x18\x04 \x01(\x08R\ncountTotal\x12\x18\n\x07reverse\x18\x05 \x01(\x08R\x07reverse\"?\n\x0cPageResponse\x12\x19\n\x08next_key\x18\x01 \x01(\x0cR\x07nextKey\x12\x14\n\x05total\x18\x02 \x01(\x04R\x05totalB\xe1\x01\n\x1d\x63om.cosmos.base.query.v1beta1B\x0fPaginationProtoP\x01Z(github.com/cosmos/cosmos-sdk/types/query\xa2\x02\x03\x43\x42Q\xaa\x02\x19\x43osmos.Base.Query.V1beta1\xca\x02\x19\x43osmos\\Base\\Query\\V1beta1\xe2\x02%Cosmos\\Base\\Query\\V1beta1\\GPBMetadata\xea\x02\x1c\x43osmos::Base::Query::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.query.v1beta1.pagination_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.base.query.v1beta1B\017PaginationProtoP\001Z(github.com/cosmos/cosmos-sdk/types/query\242\002\003CBQ\252\002\031Cosmos.Base.Query.V1beta1\312\002\031Cosmos\\Base\\Query\\V1beta1\342\002%Cosmos\\Base\\Query\\V1beta1\\GPBMetadata\352\002\034Cosmos::Base::Query::V1beta1' - _globals['_PAGEREQUEST']._serialized_start=74 - _globals['_PAGEREQUEST']._serialized_end=210 - _globals['_PAGERESPONSE']._serialized_start=212 - _globals['_PAGERESPONSE']._serialized_end=275 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2_grpc.py b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/base/reflection/v1beta1/reflection_pb2.py b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py deleted file mode 100644 index 4a29ceba..00000000 --- a/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py +++ /dev/null @@ -1,40 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/base/reflection/v1beta1/reflection.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/cosmos/base/reflection/v1beta1/reflection.proto\x12\x1e\x63osmos.base.reflection.v1beta1\x1a\x1cgoogle/api/annotations.proto\"\x1a\n\x18ListAllInterfacesRequest\"D\n\x19ListAllInterfacesResponse\x12\'\n\x0finterface_names\x18\x01 \x03(\tR\x0einterfaceNames\"C\n\x1aListImplementationsRequest\x12%\n\x0einterface_name\x18\x01 \x01(\tR\rinterfaceName\"_\n\x1bListImplementationsResponse\x12@\n\x1cimplementation_message_names\x18\x01 \x03(\tR\x1aimplementationMessageNames2\xb8\x03\n\x11ReflectionService\x12\xbc\x01\n\x11ListAllInterfaces\x12\x38.cosmos.base.reflection.v1beta1.ListAllInterfacesRequest\x1a\x39.cosmos.base.reflection.v1beta1.ListAllInterfacesResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmos/base/reflection/v1beta1/interfaces\x12\xe3\x01\n\x13ListImplementations\x12:.cosmos.base.reflection.v1beta1.ListImplementationsRequest\x1a;.cosmos.base.reflection.v1beta1.ListImplementationsResponse\"S\x82\xd3\xe4\x93\x02M\x12K/cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementationsB\x85\x02\n\"com.cosmos.base.reflection.v1beta1B\x0fReflectionProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/reflection\xa2\x02\x03\x43\x42R\xaa\x02\x1e\x43osmos.Base.Reflection.V1beta1\xca\x02\x1e\x43osmos\\Base\\Reflection\\V1beta1\xe2\x02*Cosmos\\Base\\Reflection\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Reflection::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.reflection.v1beta1.reflection_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.cosmos.base.reflection.v1beta1B\017ReflectionProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/reflection\242\002\003CBR\252\002\036Cosmos.Base.Reflection.V1beta1\312\002\036Cosmos\\Base\\Reflection\\V1beta1\342\002*Cosmos\\Base\\Reflection\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Reflection::V1beta1' - _globals['_REFLECTIONSERVICE'].methods_by_name['ListAllInterfaces']._loaded_options = None - _globals['_REFLECTIONSERVICE'].methods_by_name['ListAllInterfaces']._serialized_options = b'\202\323\344\223\002,\022*/cosmos/base/reflection/v1beta1/interfaces' - _globals['_REFLECTIONSERVICE'].methods_by_name['ListImplementations']._loaded_options = None - _globals['_REFLECTIONSERVICE'].methods_by_name['ListImplementations']._serialized_options = b'\202\323\344\223\002M\022K/cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementations' - _globals['_LISTALLINTERFACESREQUEST']._serialized_start=113 - _globals['_LISTALLINTERFACESREQUEST']._serialized_end=139 - _globals['_LISTALLINTERFACESRESPONSE']._serialized_start=141 - _globals['_LISTALLINTERFACESRESPONSE']._serialized_end=209 - _globals['_LISTIMPLEMENTATIONSREQUEST']._serialized_start=211 - _globals['_LISTIMPLEMENTATIONSREQUEST']._serialized_end=278 - _globals['_LISTIMPLEMENTATIONSRESPONSE']._serialized_start=280 - _globals['_LISTIMPLEMENTATIONSRESPONSE']._serialized_end=375 - _globals['_REFLECTIONSERVICE']._serialized_start=378 - _globals['_REFLECTIONSERVICE']._serialized_end=818 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2_grpc.py b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2_grpc.py deleted file mode 100644 index 9a956494..00000000 --- a/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2_grpc.py +++ /dev/null @@ -1,127 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.base.reflection.v1beta1 import reflection_pb2 as cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2 - - -class ReflectionServiceStub(object): - """ReflectionService defines a service for interface reflection. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.ListAllInterfaces = channel.unary_unary( - '/cosmos.base.reflection.v1beta1.ReflectionService/ListAllInterfaces', - request_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesResponse.FromString, - _registered_method=True) - self.ListImplementations = channel.unary_unary( - '/cosmos.base.reflection.v1beta1.ReflectionService/ListImplementations', - request_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsResponse.FromString, - _registered_method=True) - - -class ReflectionServiceServicer(object): - """ReflectionService defines a service for interface reflection. - """ - - def ListAllInterfaces(self, request, context): - """ListAllInterfaces lists all the interfaces registered in the interface - registry. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListImplementations(self, request, context): - """ListImplementations list all the concrete types that implement a given - interface. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_ReflectionServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'ListAllInterfaces': grpc.unary_unary_rpc_method_handler( - servicer.ListAllInterfaces, - request_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesRequest.FromString, - response_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesResponse.SerializeToString, - ), - 'ListImplementations': grpc.unary_unary_rpc_method_handler( - servicer.ListImplementations, - request_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsRequest.FromString, - response_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.base.reflection.v1beta1.ReflectionService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.base.reflection.v1beta1.ReflectionService', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class ReflectionService(object): - """ReflectionService defines a service for interface reflection. - """ - - @staticmethod - def ListAllInterfaces(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.base.reflection.v1beta1.ReflectionService/ListAllInterfaces', - cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesRequest.SerializeToString, - cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ListImplementations(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.base.reflection.v1beta1.ReflectionService/ListImplementations', - cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsRequest.SerializeToString, - cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py b/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py deleted file mode 100644 index 9b23a168..00000000 --- a/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py +++ /dev/null @@ -1,92 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/base/reflection/v2alpha1/reflection.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0cosmos/base/reflection/v2alpha1/reflection.proto\x12\x1f\x63osmos.base.reflection.v2alpha1\x1a\x1cgoogle/api/annotations.proto\"\xe7\x03\n\rAppDescriptor\x12\x46\n\x05\x61uthn\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.AuthnDescriptorR\x05\x61uthn\x12\x46\n\x05\x63hain\x18\x02 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.ChainDescriptorR\x05\x63hain\x12\x46\n\x05\x63odec\x18\x03 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.CodecDescriptorR\x05\x63odec\x12^\n\rconfiguration\x18\x04 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.ConfigurationDescriptorR\rconfiguration\x12_\n\x0equery_services\x18\x05 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.QueryServicesDescriptorR\rqueryServices\x12=\n\x02tx\x18\x06 \x01(\x0b\x32-.cosmos.base.reflection.v2alpha1.TxDescriptorR\x02tx\"n\n\x0cTxDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x42\n\x04msgs\x18\x02 \x03(\x0b\x32..cosmos.base.reflection.v2alpha1.MsgDescriptorR\x04msgs\"h\n\x0f\x41uthnDescriptor\x12U\n\nsign_modes\x18\x01 \x03(\x0b\x32\x36.cosmos.base.reflection.v2alpha1.SigningModeDescriptorR\tsignModes\"\x91\x01\n\x15SigningModeDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n\x06number\x18\x02 \x01(\x05R\x06number\x12L\n#authn_info_provider_method_fullname\x18\x03 \x01(\tR\x1f\x61uthnInfoProviderMethodFullname\"!\n\x0f\x43hainDescriptor\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"g\n\x0f\x43odecDescriptor\x12T\n\ninterfaces\x18\x01 \x03(\x0b\x32\x34.cosmos.base.reflection.v2alpha1.InterfaceDescriptorR\ninterfaces\"\xb2\x02\n\x13InterfaceDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x86\x01\n\x1cinterface_accepting_messages\x18\x02 \x03(\x0b\x32\x44.cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptorR\x1ainterfaceAcceptingMessages\x12v\n\x16interface_implementers\x18\x03 \x03(\x0b\x32?.cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptorR\x15interfaceImplementers\"W\n\x1eInterfaceImplementerDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x19\n\x08type_url\x18\x02 \x01(\tR\x07typeUrl\"w\n#InterfaceAcceptingMessageDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x34\n\x16\x66ield_descriptor_names\x18\x02 \x03(\tR\x14\x66ieldDescriptorNames\"\\\n\x17\x43onfigurationDescriptor\x12\x41\n\x1d\x62\x65\x63h32_account_address_prefix\x18\x01 \x01(\tR\x1a\x62\x65\x63h32AccountAddressPrefix\"1\n\rMsgDescriptor\x12 \n\x0cmsg_type_url\x18\x01 \x01(\tR\nmsgTypeUrl\"\x1b\n\x19GetAuthnDescriptorRequest\"d\n\x1aGetAuthnDescriptorResponse\x12\x46\n\x05\x61uthn\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.AuthnDescriptorR\x05\x61uthn\"\x1b\n\x19GetChainDescriptorRequest\"d\n\x1aGetChainDescriptorResponse\x12\x46\n\x05\x63hain\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.ChainDescriptorR\x05\x63hain\"\x1b\n\x19GetCodecDescriptorRequest\"d\n\x1aGetCodecDescriptorResponse\x12\x46\n\x05\x63odec\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.CodecDescriptorR\x05\x63odec\"#\n!GetConfigurationDescriptorRequest\"v\n\"GetConfigurationDescriptorResponse\x12P\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.ConfigurationDescriptorR\x06\x63onfig\"#\n!GetQueryServicesDescriptorRequest\"x\n\"GetQueryServicesDescriptorResponse\x12R\n\x07queries\x18\x01 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.QueryServicesDescriptorR\x07queries\"\x18\n\x16GetTxDescriptorRequest\"X\n\x17GetTxDescriptorResponse\x12=\n\x02tx\x18\x01 \x01(\x0b\x32-.cosmos.base.reflection.v2alpha1.TxDescriptorR\x02tx\"y\n\x17QueryServicesDescriptor\x12^\n\x0equery_services\x18\x01 \x03(\x0b\x32\x37.cosmos.base.reflection.v2alpha1.QueryServiceDescriptorR\rqueryServices\"\xa3\x01\n\x16QueryServiceDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x1b\n\tis_module\x18\x02 \x01(\x08R\x08isModule\x12P\n\x07methods\x18\x03 \x03(\x0b\x32\x36.cosmos.base.reflection.v2alpha1.QueryMethodDescriptorR\x07methods\"S\n\x15QueryMethodDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12&\n\x0f\x66ull_query_path\x18\x02 \x01(\tR\rfullQueryPath2\xa7\n\n\x11ReflectionService\x12\xcb\x01\n\x12GetAuthnDescriptor\x12:.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest\x1a;.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/base/reflection/v1beta1/app_descriptor/authn\x12\xcb\x01\n\x12GetChainDescriptor\x12:.cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest\x1a;.cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/base/reflection/v1beta1/app_descriptor/chain\x12\xcb\x01\n\x12GetCodecDescriptor\x12:.cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest\x1a;.cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/base/reflection/v1beta1/app_descriptor/codec\x12\xeb\x01\n\x1aGetConfigurationDescriptor\x12\x42.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest\x1a\x43.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse\"D\x82\xd3\xe4\x93\x02>\x12\x12\022\022.cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest\x1a?.cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/cosmos/base/tendermint/v1beta1/validatorsets/{height}\x12\xa4\x01\n\tABCIQuery\x12\x30.cosmos.base.tendermint.v1beta1.ABCIQueryRequest\x1a\x31.cosmos.base.tendermint.v1beta1.ABCIQueryResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmos/base/tendermint/v1beta1/abci_queryB\x80\x02\n\"com.cosmos.base.tendermint.v1beta1B\nQueryProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\xa2\x02\x03\x43\x42T\xaa\x02\x1e\x43osmos.Base.Tendermint.V1beta1\xca\x02\x1e\x43osmos\\Base\\Tendermint\\V1beta1\xe2\x02*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Tendermint::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.tendermint.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.cosmos.base.tendermint.v1beta1B\nQueryProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\242\002\003CBT\252\002\036Cosmos.Base.Tendermint.V1beta1\312\002\036Cosmos\\Base\\Tendermint\\V1beta1\342\002*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Tendermint::V1beta1' - _globals['_VALIDATOR'].fields_by_name['address']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_PROOFOPS'].fields_by_name['ops']._loaded_options = None - _globals['_PROOFOPS'].fields_by_name['ops']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_SERVICE'].methods_by_name['GetNodeInfo']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetNodeInfo']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/base/tendermint/v1beta1/node_info' - _globals['_SERVICE'].methods_by_name['GetSyncing']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetSyncing']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/base/tendermint/v1beta1/syncing' - _globals['_SERVICE'].methods_by_name['GetLatestBlock']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetLatestBlock']._serialized_options = b'\202\323\344\223\002/\022-/cosmos/base/tendermint/v1beta1/blocks/latest' - _globals['_SERVICE'].methods_by_name['GetBlockByHeight']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetBlockByHeight']._serialized_options = b'\202\323\344\223\0021\022//cosmos/base/tendermint/v1beta1/blocks/{height}' - _globals['_SERVICE'].methods_by_name['GetLatestValidatorSet']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetLatestValidatorSet']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/base/tendermint/v1beta1/validatorsets/latest' - _globals['_SERVICE'].methods_by_name['GetValidatorSetByHeight']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetValidatorSetByHeight']._serialized_options = b'\202\323\344\223\0028\0226/cosmos/base/tendermint/v1beta1/validatorsets/{height}' - _globals['_SERVICE'].methods_by_name['ABCIQuery']._loaded_options = None - _globals['_SERVICE'].methods_by_name['ABCIQuery']._serialized_options = b'\202\323\344\223\002,\022*/cosmos/base/tendermint/v1beta1/abci_query' - _globals['_GETVALIDATORSETBYHEIGHTREQUEST']._serialized_start=380 - _globals['_GETVALIDATORSETBYHEIGHTREQUEST']._serialized_end=508 - _globals['_GETVALIDATORSETBYHEIGHTRESPONSE']._serialized_start=511 - _globals['_GETVALIDATORSETBYHEIGHTRESPONSE']._serialized_end=727 - _globals['_GETLATESTVALIDATORSETREQUEST']._serialized_start=729 - _globals['_GETLATESTVALIDATORSETREQUEST']._serialized_end=831 - _globals['_GETLATESTVALIDATORSETRESPONSE']._serialized_start=834 - _globals['_GETLATESTVALIDATORSETRESPONSE']._serialized_end=1048 - _globals['_VALIDATOR']._serialized_start=1051 - _globals['_VALIDATOR']._serialized_end=1241 - _globals['_GETBLOCKBYHEIGHTREQUEST']._serialized_start=1243 - _globals['_GETBLOCKBYHEIGHTREQUEST']._serialized_end=1292 - _globals['_GETBLOCKBYHEIGHTRESPONSE']._serialized_start=1295 - _globals['_GETBLOCKBYHEIGHTRESPONSE']._serialized_end=1490 - _globals['_GETLATESTBLOCKREQUEST']._serialized_start=1492 - _globals['_GETLATESTBLOCKREQUEST']._serialized_end=1515 - _globals['_GETLATESTBLOCKRESPONSE']._serialized_start=1518 - _globals['_GETLATESTBLOCKRESPONSE']._serialized_end=1711 - _globals['_GETSYNCINGREQUEST']._serialized_start=1713 - _globals['_GETSYNCINGREQUEST']._serialized_end=1732 - _globals['_GETSYNCINGRESPONSE']._serialized_start=1734 - _globals['_GETSYNCINGRESPONSE']._serialized_end=1780 - _globals['_GETNODEINFOREQUEST']._serialized_start=1782 - _globals['_GETNODEINFOREQUEST']._serialized_end=1802 - _globals['_GETNODEINFORESPONSE']._serialized_start=1805 - _globals['_GETNODEINFORESPONSE']._serialized_end=1997 - _globals['_VERSIONINFO']._serialized_start=2000 - _globals['_VERSIONINFO']._serialized_end=2296 - _globals['_MODULE']._serialized_start=2298 - _globals['_MODULE']._serialized_end=2370 - _globals['_ABCIQUERYREQUEST']._serialized_start=2372 - _globals['_ABCIQUERYREQUEST']._serialized_end=2476 - _globals['_ABCIQUERYRESPONSE']._serialized_start=2479 - _globals['_ABCIQUERYRESPONSE']._serialized_end=2749 - _globals['_PROOFOP']._serialized_start=2751 - _globals['_PROOFOP']._serialized_end=2818 - _globals['_PROOFOPS']._serialized_start=2820 - _globals['_PROOFOPS']._serialized_end=2900 - _globals['_SERVICE']._serialized_start=2903 - _globals['_SERVICE']._serialized_end=4230 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py deleted file mode 100644 index 30707ac1..00000000 --- a/pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,349 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.base.tendermint.v1beta1 import query_pb2 as cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2 - - -class ServiceStub(object): - """Service defines the gRPC querier service for tendermint queries. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetNodeInfo = channel.unary_unary( - '/cosmos.base.tendermint.v1beta1.Service/GetNodeInfo', - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoResponse.FromString, - _registered_method=True) - self.GetSyncing = channel.unary_unary( - '/cosmos.base.tendermint.v1beta1.Service/GetSyncing', - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingResponse.FromString, - _registered_method=True) - self.GetLatestBlock = channel.unary_unary( - '/cosmos.base.tendermint.v1beta1.Service/GetLatestBlock', - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockResponse.FromString, - _registered_method=True) - self.GetBlockByHeight = channel.unary_unary( - '/cosmos.base.tendermint.v1beta1.Service/GetBlockByHeight', - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightResponse.FromString, - _registered_method=True) - self.GetLatestValidatorSet = channel.unary_unary( - '/cosmos.base.tendermint.v1beta1.Service/GetLatestValidatorSet', - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetResponse.FromString, - _registered_method=True) - self.GetValidatorSetByHeight = channel.unary_unary( - '/cosmos.base.tendermint.v1beta1.Service/GetValidatorSetByHeight', - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightResponse.FromString, - _registered_method=True) - self.ABCIQuery = channel.unary_unary( - '/cosmos.base.tendermint.v1beta1.Service/ABCIQuery', - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryResponse.FromString, - _registered_method=True) - - -class ServiceServicer(object): - """Service defines the gRPC querier service for tendermint queries. - """ - - def GetNodeInfo(self, request, context): - """GetNodeInfo queries the current node info. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetSyncing(self, request, context): - """GetSyncing queries node syncing. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetLatestBlock(self, request, context): - """GetLatestBlock returns the latest block. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBlockByHeight(self, request, context): - """GetBlockByHeight queries block for given height. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetLatestValidatorSet(self, request, context): - """GetLatestValidatorSet queries latest validator-set. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetValidatorSetByHeight(self, request, context): - """GetValidatorSetByHeight queries validator-set at a given height. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ABCIQuery(self, request, context): - """ABCIQuery defines a query handler that supports ABCI queries directly to the - application, bypassing Tendermint completely. The ABCI query must contain - a valid and supported path, including app, custom, p2p, and store. - - Since: cosmos-sdk 0.46 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_ServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GetNodeInfo': grpc.unary_unary_rpc_method_handler( - servicer.GetNodeInfo, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoResponse.SerializeToString, - ), - 'GetSyncing': grpc.unary_unary_rpc_method_handler( - servicer.GetSyncing, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingResponse.SerializeToString, - ), - 'GetLatestBlock': grpc.unary_unary_rpc_method_handler( - servicer.GetLatestBlock, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockResponse.SerializeToString, - ), - 'GetBlockByHeight': grpc.unary_unary_rpc_method_handler( - servicer.GetBlockByHeight, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightResponse.SerializeToString, - ), - 'GetLatestValidatorSet': grpc.unary_unary_rpc_method_handler( - servicer.GetLatestValidatorSet, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetResponse.SerializeToString, - ), - 'GetValidatorSetByHeight': grpc.unary_unary_rpc_method_handler( - servicer.GetValidatorSetByHeight, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightResponse.SerializeToString, - ), - 'ABCIQuery': grpc.unary_unary_rpc_method_handler( - servicer.ABCIQuery, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.base.tendermint.v1beta1.Service', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.base.tendermint.v1beta1.Service', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Service(object): - """Service defines the gRPC querier service for tendermint queries. - """ - - @staticmethod - def GetNodeInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.base.tendermint.v1beta1.Service/GetNodeInfo', - cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoRequest.SerializeToString, - cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetSyncing(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.base.tendermint.v1beta1.Service/GetSyncing', - cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingRequest.SerializeToString, - cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetLatestBlock(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.base.tendermint.v1beta1.Service/GetLatestBlock', - cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockRequest.SerializeToString, - cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetBlockByHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.base.tendermint.v1beta1.Service/GetBlockByHeight', - cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightRequest.SerializeToString, - cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetLatestValidatorSet(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.base.tendermint.v1beta1.Service/GetLatestValidatorSet', - cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetRequest.SerializeToString, - cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetValidatorSetByHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.base.tendermint.v1beta1.Service/GetValidatorSetByHeight', - cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightRequest.SerializeToString, - cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ABCIQuery(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.base.tendermint.v1beta1.Service/ABCIQuery', - cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryRequest.SerializeToString, - cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py b/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py deleted file mode 100644 index ebfc1954..00000000 --- a/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py +++ /dev/null @@ -1,49 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/base/tendermint/v1beta1/types.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 -from pyinjective.proto.tendermint.types import evidence_pb2 as tendermint_dot_types_dot_evidence__pb2 -from pyinjective.proto.tendermint.version import types_pb2 as tendermint_dot_version_dot_types__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*cosmos/base/tendermint/v1beta1/types.proto\x12\x1e\x63osmos.base.tendermint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ftendermint/types/evidence.proto\x1a\x1etendermint/version/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x11\x61mino/amino.proto\"\x8b\x02\n\x05\x42lock\x12I\n\x06header\x18\x01 \x01(\x0b\x32&.cosmos.base.tendermint.v1beta1.HeaderB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06header\x12\x35\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04\x64\x61ta\x12\x45\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x65vidence\x12\x39\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.CommitR\nlastCommit\"\xf5\x04\n\x06Header\x12\x42\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07version\x12&\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDR\x07\x63hainId\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12=\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12H\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0blastBlockId\x12(\n\x10last_commit_hash\x18\x06 \x01(\x0cR\x0elastCommitHash\x12\x1b\n\tdata_hash\x18\x07 \x01(\x0cR\x08\x64\x61taHash\x12\'\n\x0fvalidators_hash\x18\x08 \x01(\x0cR\x0evalidatorsHash\x12\x30\n\x14next_validators_hash\x18\t \x01(\x0cR\x12nextValidatorsHash\x12%\n\x0e\x63onsensus_hash\x18\n \x01(\x0cR\rconsensusHash\x12\x19\n\x08\x61pp_hash\x18\x0b \x01(\x0cR\x07\x61ppHash\x12*\n\x11last_results_hash\x18\x0c \x01(\x0cR\x0flastResultsHash\x12#\n\revidence_hash\x18\r \x01(\x0cR\x0c\x65videnceHash\x12)\n\x10proposer_address\x18\x0e \x01(\tR\x0fproposerAddressB\x80\x02\n\"com.cosmos.base.tendermint.v1beta1B\nTypesProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\xa2\x02\x03\x43\x42T\xaa\x02\x1e\x43osmos.Base.Tendermint.V1beta1\xca\x02\x1e\x43osmos\\Base\\Tendermint\\V1beta1\xe2\x02*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Tendermint::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.tendermint.v1beta1.types_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.cosmos.base.tendermint.v1beta1B\nTypesProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\242\002\003CBT\252\002\036Cosmos.Base.Tendermint.V1beta1\312\002\036Cosmos\\Base\\Tendermint\\V1beta1\342\002*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Tendermint::V1beta1' - _globals['_BLOCK'].fields_by_name['header']._loaded_options = None - _globals['_BLOCK'].fields_by_name['header']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_BLOCK'].fields_by_name['data']._loaded_options = None - _globals['_BLOCK'].fields_by_name['data']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_BLOCK'].fields_by_name['evidence']._loaded_options = None - _globals['_BLOCK'].fields_by_name['evidence']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_HEADER'].fields_by_name['version']._loaded_options = None - _globals['_HEADER'].fields_by_name['version']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_HEADER'].fields_by_name['chain_id']._loaded_options = None - _globals['_HEADER'].fields_by_name['chain_id']._serialized_options = b'\342\336\037\007ChainID' - _globals['_HEADER'].fields_by_name['time']._loaded_options = None - _globals['_HEADER'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_HEADER'].fields_by_name['last_block_id']._loaded_options = None - _globals['_HEADER'].fields_by_name['last_block_id']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_BLOCK']._serialized_start=248 - _globals['_BLOCK']._serialized_end=515 - _globals['_HEADER']._serialized_start=518 - _globals['_HEADER']._serialized_end=1147 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2_grpc.py b/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/base/v1beta1/coin_pb2.py b/pyinjective/proto/cosmos/base/v1beta1/coin_pb2.py deleted file mode 100644 index 59353c09..00000000 --- a/pyinjective/proto/cosmos/base/v1beta1/coin_pb2.py +++ /dev/null @@ -1,48 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/base/v1beta1/coin.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/base/v1beta1/coin.proto\x12\x13\x63osmos.base.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"l\n\x04\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12H\n\x06\x61mount\x18\x02 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x06\x61mount:\x04\xe8\xa0\x1f\x01\"p\n\x07\x44\x65\x63\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12I\n\x06\x61mount\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x06\x61mount:\x04\xe8\xa0\x1f\x01\"I\n\x08IntProto\x12=\n\x03int\x18\x01 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x03int\"O\n\x08\x44\x65\x63Proto\x12\x43\n\x03\x64\x65\x63\x18\x01 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x03\x64\x65\x63\x42\xbe\x01\n\x17\x63om.cosmos.base.v1beta1B\tCoinProtoP\x01Z\"github.com/cosmos/cosmos-sdk/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Base.V1beta1\xca\x02\x13\x43osmos\\Base\\V1beta1\xe2\x02\x1f\x43osmos\\Base\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Base::V1beta1\xd8\xe1\x1e\x00\x80\xe2\x1e\x00\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.v1beta1.coin_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.base.v1beta1B\tCoinProtoP\001Z\"github.com/cosmos/cosmos-sdk/types\242\002\003CBX\252\002\023Cosmos.Base.V1beta1\312\002\023Cosmos\\Base\\V1beta1\342\002\037Cosmos\\Base\\V1beta1\\GPBMetadata\352\002\025Cosmos::Base::V1beta1\330\341\036\000\200\342\036\000' - _globals['_COIN'].fields_by_name['amount']._loaded_options = None - _globals['_COIN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001' - _globals['_COIN']._loaded_options = None - _globals['_COIN']._serialized_options = b'\350\240\037\001' - _globals['_DECCOIN'].fields_by_name['amount']._loaded_options = None - _globals['_DECCOIN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_DECCOIN']._loaded_options = None - _globals['_DECCOIN']._serialized_options = b'\350\240\037\001' - _globals['_INTPROTO'].fields_by_name['int']._loaded_options = None - _globals['_INTPROTO'].fields_by_name['int']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_DECPROTO'].fields_by_name['dec']._loaded_options = None - _globals['_DECPROTO'].fields_by_name['dec']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_COIN']._serialized_start=123 - _globals['_COIN']._serialized_end=231 - _globals['_DECCOIN']._serialized_start=233 - _globals['_DECCOIN']._serialized_end=345 - _globals['_INTPROTO']._serialized_start=347 - _globals['_INTPROTO']._serialized_end=420 - _globals['_DECPROTO']._serialized_start=422 - _globals['_DECPROTO']._serialized_end=501 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/v1beta1/coin_pb2_grpc.py b/pyinjective/proto/cosmos/base/v1beta1/coin_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/base/v1beta1/coin_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/circuit/module/v1/module_pb2.py b/pyinjective/proto/cosmos/circuit/module/v1/module_pb2.py deleted file mode 100644 index da033cd6..00000000 --- a/pyinjective/proto/cosmos/circuit/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/circuit/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/circuit/module/v1/module.proto\x12\x18\x63osmos.circuit.module.v1\x1a cosmos/app/v1alpha1/module.proto\"F\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:\x1e\xba\xc0\x96\xda\x01\x18\n\x16\x63osmossdk.io/x/circuitB\xae\x01\n\x1c\x63om.cosmos.circuit.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x18\x43osmos.Circuit.Module.V1\xca\x02\x18\x43osmos\\Circuit\\Module\\V1\xe2\x02$Cosmos\\Circuit\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Circuit::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.circuit.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.circuit.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\030Cosmos.Circuit.Module.V1\312\002\030Cosmos\\Circuit\\Module\\V1\342\002$Cosmos\\Circuit\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Circuit::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\030\n\026cosmossdk.io/x/circuit' - _globals['_MODULE']._serialized_start=101 - _globals['_MODULE']._serialized_end=171 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/circuit/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/circuit/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/circuit/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/circuit/v1/query_pb2.py b/pyinjective/proto/cosmos/circuit/v1/query_pb2.py deleted file mode 100644 index a4b77b8b..00000000 --- a/pyinjective/proto/cosmos/circuit/v1/query_pb2.py +++ /dev/null @@ -1,49 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/circuit/v1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.cosmos.circuit.v1 import types_pb2 as cosmos_dot_circuit_dot_v1_dot_types__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/circuit/v1/query.proto\x12\x11\x63osmos.circuit.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1d\x63osmos/circuit/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/query/v1/query.proto\"/\n\x13QueryAccountRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"Q\n\x0f\x41\x63\x63ountResponse\x12>\n\npermission\x18\x01 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\npermission\"^\n\x14QueryAccountsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa5\x01\n\x10\x41\x63\x63ountsResponse\x12H\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32,.cosmos.circuit.v1.GenesisAccountPermissionsR\x08\x61\x63\x63ounts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x1a\n\x18QueryDisabledListRequest\";\n\x14\x44isabledListResponse\x12#\n\rdisabled_list\x18\x01 \x03(\tR\x0c\x64isabledList2\xad\x03\n\x05Query\x12\x89\x01\n\x07\x41\x63\x63ount\x12&.cosmos.circuit.v1.QueryAccountRequest\x1a\".cosmos.circuit.v1.AccountResponse\"2\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\'\x12%/cosmos/circuit/v1/accounts/{address}\x12\x82\x01\n\x08\x41\x63\x63ounts\x12\'.cosmos.circuit.v1.QueryAccountsRequest\x1a#.cosmos.circuit.v1.AccountsResponse\"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/circuit/v1/accounts\x12\x92\x01\n\x0c\x44isabledList\x12+.cosmos.circuit.v1.QueryDisabledListRequest\x1a\'.cosmos.circuit.v1.DisabledListResponse\",\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02!\x12\x1f/cosmos/circuit/v1/disable_listB\xa7\x01\n\x15\x63om.cosmos.circuit.v1B\nQueryProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.circuit.v1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.circuit.v1B\nQueryProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1' - _globals['_QUERY'].methods_by_name['Account']._loaded_options = None - _globals['_QUERY'].methods_by_name['Account']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\'\022%/cosmos/circuit/v1/accounts/{address}' - _globals['_QUERY'].methods_by_name['Accounts']._loaded_options = None - _globals['_QUERY'].methods_by_name['Accounts']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/circuit/v1/accounts' - _globals['_QUERY'].methods_by_name['DisabledList']._loaded_options = None - _globals['_QUERY'].methods_by_name['DisabledList']._serialized_options = b'\210\347\260*\001\202\323\344\223\002!\022\037/cosmos/circuit/v1/disable_list' - _globals['_QUERYACCOUNTREQUEST']._serialized_start=186 - _globals['_QUERYACCOUNTREQUEST']._serialized_end=233 - _globals['_ACCOUNTRESPONSE']._serialized_start=235 - _globals['_ACCOUNTRESPONSE']._serialized_end=316 - _globals['_QUERYACCOUNTSREQUEST']._serialized_start=318 - _globals['_QUERYACCOUNTSREQUEST']._serialized_end=412 - _globals['_ACCOUNTSRESPONSE']._serialized_start=415 - _globals['_ACCOUNTSRESPONSE']._serialized_end=580 - _globals['_QUERYDISABLEDLISTREQUEST']._serialized_start=582 - _globals['_QUERYDISABLEDLISTREQUEST']._serialized_end=608 - _globals['_DISABLEDLISTRESPONSE']._serialized_start=610 - _globals['_DISABLEDLISTRESPONSE']._serialized_end=669 - _globals['_QUERY']._serialized_start=672 - _globals['_QUERY']._serialized_end=1101 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/circuit/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/circuit/v1/query_pb2_grpc.py deleted file mode 100644 index 677ccf27..00000000 --- a/pyinjective/proto/cosmos/circuit/v1/query_pb2_grpc.py +++ /dev/null @@ -1,169 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.circuit.v1 import query_pb2 as cosmos_dot_circuit_dot_v1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the circuit gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Account = channel.unary_unary( - '/cosmos.circuit.v1.Query/Account', - request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountRequest.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountResponse.FromString, - _registered_method=True) - self.Accounts = channel.unary_unary( - '/cosmos.circuit.v1.Query/Accounts', - request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountsRequest.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountsResponse.FromString, - _registered_method=True) - self.DisabledList = channel.unary_unary( - '/cosmos.circuit.v1.Query/DisabledList', - request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryDisabledListRequest.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.DisabledListResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the circuit gRPC querier service. - """ - - def Account(self, request, context): - """Account returns account permissions. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Accounts(self, request, context): - """Account returns account permissions. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DisabledList(self, request, context): - """DisabledList returns a list of disabled message urls - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Account': grpc.unary_unary_rpc_method_handler( - servicer.Account, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountRequest.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountResponse.SerializeToString, - ), - 'Accounts': grpc.unary_unary_rpc_method_handler( - servicer.Accounts, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountsRequest.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountsResponse.SerializeToString, - ), - 'DisabledList': grpc.unary_unary_rpc_method_handler( - servicer.DisabledList, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryDisabledListRequest.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.DisabledListResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.circuit.v1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.circuit.v1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the circuit gRPC querier service. - """ - - @staticmethod - def Account(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.circuit.v1.Query/Account', - cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountRequest.SerializeToString, - cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Accounts(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.circuit.v1.Query/Accounts', - cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountsRequest.SerializeToString, - cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DisabledList(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.circuit.v1.Query/DisabledList', - cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryDisabledListRequest.SerializeToString, - cosmos_dot_circuit_dot_v1_dot_query__pb2.DisabledListResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/circuit/v1/tx_pb2.py b/pyinjective/proto/cosmos/circuit/v1/tx_pb2.py deleted file mode 100644 index 931bde0e..00000000 --- a/pyinjective/proto/cosmos/circuit/v1/tx_pb2.py +++ /dev/null @@ -1,49 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/circuit/v1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.cosmos.circuit.v1 import types_pb2 as cosmos_dot_circuit_dot_v1_dot_types__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63osmos/circuit/v1/tx.proto\x12\x11\x63osmos.circuit.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1d\x63osmos/circuit/v1/types.proto\"\xa0\x01\n\x1aMsgAuthorizeCircuitBreaker\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x18\n\x07grantee\x18\x02 \x01(\tR\x07grantee\x12@\n\x0bpermissions\x18\x03 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\x0bpermissions:\x0c\x82\xe7\xb0*\x07granter\">\n\"MsgAuthorizeCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\"i\n\x15MsgTripCircuitBreaker\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12\"\n\rmsg_type_urls\x18\x02 \x03(\tR\x0bmsgTypeUrls:\x0e\x82\xe7\xb0*\tauthority\"9\n\x1dMsgTripCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\"j\n\x16MsgResetCircuitBreaker\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12\"\n\rmsg_type_urls\x18\x03 \x03(\tR\x0bmsgTypeUrls:\x0e\x82\xe7\xb0*\tauthority\":\n\x1eMsgResetCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success2\xf4\x02\n\x03Msg\x12\x7f\n\x17\x41uthorizeCircuitBreaker\x12-.cosmos.circuit.v1.MsgAuthorizeCircuitBreaker\x1a\x35.cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse\x12p\n\x12TripCircuitBreaker\x12(.cosmos.circuit.v1.MsgTripCircuitBreaker\x1a\x30.cosmos.circuit.v1.MsgTripCircuitBreakerResponse\x12s\n\x13ResetCircuitBreaker\x12).cosmos.circuit.v1.MsgResetCircuitBreaker\x1a\x31.cosmos.circuit.v1.MsgResetCircuitBreakerResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xa4\x01\n\x15\x63om.cosmos.circuit.v1B\x07TxProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.circuit.v1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.circuit.v1B\007TxProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1' - _globals['_MSGAUTHORIZECIRCUITBREAKER']._loaded_options = None - _globals['_MSGAUTHORIZECIRCUITBREAKER']._serialized_options = b'\202\347\260*\007granter' - _globals['_MSGTRIPCIRCUITBREAKER']._loaded_options = None - _globals['_MSGTRIPCIRCUITBREAKER']._serialized_options = b'\202\347\260*\tauthority' - _globals['_MSGRESETCIRCUITBREAKER']._loaded_options = None - _globals['_MSGRESETCIRCUITBREAKER']._serialized_options = b'\202\347\260*\tauthority' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGAUTHORIZECIRCUITBREAKER']._serialized_start=106 - _globals['_MSGAUTHORIZECIRCUITBREAKER']._serialized_end=266 - _globals['_MSGAUTHORIZECIRCUITBREAKERRESPONSE']._serialized_start=268 - _globals['_MSGAUTHORIZECIRCUITBREAKERRESPONSE']._serialized_end=330 - _globals['_MSGTRIPCIRCUITBREAKER']._serialized_start=332 - _globals['_MSGTRIPCIRCUITBREAKER']._serialized_end=437 - _globals['_MSGTRIPCIRCUITBREAKERRESPONSE']._serialized_start=439 - _globals['_MSGTRIPCIRCUITBREAKERRESPONSE']._serialized_end=496 - _globals['_MSGRESETCIRCUITBREAKER']._serialized_start=498 - _globals['_MSGRESETCIRCUITBREAKER']._serialized_end=604 - _globals['_MSGRESETCIRCUITBREAKERRESPONSE']._serialized_start=606 - _globals['_MSGRESETCIRCUITBREAKERRESPONSE']._serialized_end=664 - _globals['_MSG']._serialized_start=667 - _globals['_MSG']._serialized_end=1039 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/circuit/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/circuit/v1/tx_pb2_grpc.py deleted file mode 100644 index ab4dcc13..00000000 --- a/pyinjective/proto/cosmos/circuit/v1/tx_pb2_grpc.py +++ /dev/null @@ -1,171 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.circuit.v1 import tx_pb2 as cosmos_dot_circuit_dot_v1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the circuit Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.AuthorizeCircuitBreaker = channel.unary_unary( - '/cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker', - request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreaker.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreakerResponse.FromString, - _registered_method=True) - self.TripCircuitBreaker = channel.unary_unary( - '/cosmos.circuit.v1.Msg/TripCircuitBreaker', - request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreaker.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreakerResponse.FromString, - _registered_method=True) - self.ResetCircuitBreaker = channel.unary_unary( - '/cosmos.circuit.v1.Msg/ResetCircuitBreaker', - request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreaker.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreakerResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the circuit Msg service. - """ - - def AuthorizeCircuitBreaker(self, request, context): - """AuthorizeCircuitBreaker allows a super-admin to grant (or revoke) another - account's circuit breaker permissions. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TripCircuitBreaker(self, request, context): - """TripCircuitBreaker pauses processing of Msg's in the state machine. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ResetCircuitBreaker(self, request, context): - """ResetCircuitBreaker resumes processing of Msg's in the state machine that - have been been paused using TripCircuitBreaker. - """ - 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 = { - 'AuthorizeCircuitBreaker': grpc.unary_unary_rpc_method_handler( - servicer.AuthorizeCircuitBreaker, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreaker.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreakerResponse.SerializeToString, - ), - 'TripCircuitBreaker': grpc.unary_unary_rpc_method_handler( - servicer.TripCircuitBreaker, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreaker.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreakerResponse.SerializeToString, - ), - 'ResetCircuitBreaker': grpc.unary_unary_rpc_method_handler( - servicer.ResetCircuitBreaker, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreaker.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreakerResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.circuit.v1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.circuit.v1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the circuit Msg service. - """ - - @staticmethod - def AuthorizeCircuitBreaker(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker', - cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreaker.SerializeToString, - cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreakerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def TripCircuitBreaker(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.circuit.v1.Msg/TripCircuitBreaker', - cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreaker.SerializeToString, - cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreakerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ResetCircuitBreaker(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.circuit.v1.Msg/ResetCircuitBreaker', - cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreaker.SerializeToString, - cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreakerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/circuit/v1/types_pb2.py b/pyinjective/proto/cosmos/circuit/v1/types_pb2.py deleted file mode 100644 index 53f8703e..00000000 --- a/pyinjective/proto/cosmos/circuit/v1/types_pb2.py +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/circuit/v1/types.proto -# Protobuf Python Version: 5.26.1 -"""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\x1d\x63osmos/circuit/v1/types.proto\x12\x11\x63osmos.circuit.v1\"\xd6\x01\n\x0bPermissions\x12:\n\x05level\x18\x01 \x01(\x0e\x32$.cosmos.circuit.v1.Permissions.LevelR\x05level\x12&\n\x0flimit_type_urls\x18\x02 \x03(\tR\rlimitTypeUrls\"c\n\x05Level\x12\x1a\n\x16LEVEL_NONE_UNSPECIFIED\x10\x00\x12\x13\n\x0fLEVEL_SOME_MSGS\x10\x01\x12\x12\n\x0eLEVEL_ALL_MSGS\x10\x02\x12\x15\n\x11LEVEL_SUPER_ADMIN\x10\x03\"w\n\x19GenesisAccountPermissions\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\x0bpermissions\x18\x02 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\x0bpermissions\"\x9b\x01\n\x0cGenesisState\x12]\n\x13\x61\x63\x63ount_permissions\x18\x01 \x03(\x0b\x32,.cosmos.circuit.v1.GenesisAccountPermissionsR\x12\x61\x63\x63ountPermissions\x12,\n\x12\x64isabled_type_urls\x18\x02 \x03(\tR\x10\x64isabledTypeUrlsB\xa7\x01\n\x15\x63om.cosmos.circuit.v1B\nTypesProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.circuit.v1.types_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.circuit.v1B\nTypesProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1' - _globals['_PERMISSIONS']._serialized_start=53 - _globals['_PERMISSIONS']._serialized_end=267 - _globals['_PERMISSIONS_LEVEL']._serialized_start=168 - _globals['_PERMISSIONS_LEVEL']._serialized_end=267 - _globals['_GENESISACCOUNTPERMISSIONS']._serialized_start=269 - _globals['_GENESISACCOUNTPERMISSIONS']._serialized_end=388 - _globals['_GENESISSTATE']._serialized_start=391 - _globals['_GENESISSTATE']._serialized_end=546 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/circuit/v1/types_pb2_grpc.py b/pyinjective/proto/cosmos/circuit/v1/types_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/circuit/v1/types_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/consensus/module/v1/module_pb2.py b/pyinjective/proto/cosmos/consensus/module/v1/module_pb2.py deleted file mode 100644 index 723e1ebf..00000000 --- a/pyinjective/proto/cosmos/consensus/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/consensus/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/consensus/module/v1/module.proto\x12\x1a\x63osmos.consensus.module.v1\x1a cosmos/app/v1alpha1/module.proto\"X\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:0\xba\xc0\x96\xda\x01*\n(github.com/cosmos/cosmos-sdk/x/consensusB\xb8\x01\n\x1e\x63om.cosmos.consensus.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x1a\x43osmos.Consensus.Module.V1\xca\x02\x1a\x43osmos\\Consensus\\Module\\V1\xe2\x02&Cosmos\\Consensus\\Module\\V1\\GPBMetadata\xea\x02\x1d\x43osmos::Consensus::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.cosmos.consensus.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\032Cosmos.Consensus.Module.V1\312\002\032Cosmos\\Consensus\\Module\\V1\342\002&Cosmos\\Consensus\\Module\\V1\\GPBMetadata\352\002\035Cosmos::Consensus::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001*\n(github.com/cosmos/cosmos-sdk/x/consensus' - _globals['_MODULE']._serialized_start=105 - _globals['_MODULE']._serialized_end=193 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/consensus/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/consensus/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/consensus/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/consensus/v1/query_pb2.py b/pyinjective/proto/cosmos/consensus/v1/query_pb2.py deleted file mode 100644 index 32464859..00000000 --- a/pyinjective/proto/cosmos/consensus/v1/query_pb2.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/consensus/v1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/consensus/v1/query.proto\x12\x13\x63osmos.consensus.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dtendermint/types/params.proto\"\x14\n\x12QueryParamsRequest\"P\n\x13QueryParamsResponse\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x06params2\x8a\x01\n\x05Query\x12\x80\x01\n\x06Params\x12\'.cosmos.consensus.v1.QueryParamsRequest\x1a(.cosmos.consensus.v1.QueryParamsResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/consensus/v1/paramsB\xc3\x01\n\x17\x63om.cosmos.consensus.v1B\nQueryProtoP\x01Z.github.com/cosmos/cosmos-sdk/x/consensus/types\xa2\x02\x03\x43\x43X\xaa\x02\x13\x43osmos.Consensus.V1\xca\x02\x13\x43osmos\\Consensus\\V1\xe2\x02\x1f\x43osmos\\Consensus\\V1\\GPBMetadata\xea\x02\x15\x43osmos::Consensus::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.v1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.consensus.v1B\nQueryProtoP\001Z.github.com/cosmos/cosmos-sdk/x/consensus/types\242\002\003CCX\252\002\023Cosmos.Consensus.V1\312\002\023Cosmos\\Consensus\\V1\342\002\037Cosmos\\Consensus\\V1\\GPBMetadata\352\002\025Cosmos::Consensus::V1' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/consensus/v1/params' - _globals['_QUERYPARAMSREQUEST']._serialized_start=117 - _globals['_QUERYPARAMSREQUEST']._serialized_end=137 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=139 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=219 - _globals['_QUERY']._serialized_start=222 - _globals['_QUERY']._serialized_end=360 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/consensus/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/consensus/v1/query_pb2_grpc.py deleted file mode 100644 index b1a719b2..00000000 --- a/pyinjective/proto/cosmos/consensus/v1/query_pb2_grpc.py +++ /dev/null @@ -1,81 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.consensus.v1 import query_pb2 as cosmos_dot_consensus_dot_v1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Params = channel.unary_unary( - '/cosmos.consensus.v1.Query/Params', - request_serializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service. - """ - - def Params(self, request, context): - """Params queries the parameters of x/consensus module. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.consensus.v1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.consensus.v1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service. - """ - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.consensus.v1.Query/Params', - cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py b/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py deleted file mode 100644 index 584d4c38..00000000 --- a/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py +++ /dev/null @@ -1,41 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/consensus/v1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/consensus/v1/tx.proto\x12\x13\x63osmos.consensus.v1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1dtendermint/types/params.proto\"\xea\x02\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x33\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x1d.tendermint.types.BlockParamsR\x05\x62lock\x12<\n\x08\x65vidence\x18\x03 \x01(\x0b\x32 .tendermint.types.EvidenceParamsR\x08\x65vidence\x12?\n\tvalidator\x18\x04 \x01(\x0b\x32!.tendermint.types.ValidatorParamsR\tvalidator\x12\x30\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParamsR\x04\x61\x62\x63i:9\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*&cosmos-sdk/x/consensus/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.consensus.v1.MsgUpdateParams\x1a,.cosmos.consensus.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc0\x01\n\x17\x63om.cosmos.consensus.v1B\x07TxProtoP\x01Z.github.com/cosmos/cosmos-sdk/x/consensus/types\xa2\x02\x03\x43\x43X\xaa\x02\x13\x43osmos.Consensus.V1\xca\x02\x13\x43osmos\\Consensus\\V1\xe2\x02\x1f\x43osmos\\Consensus\\V1\\GPBMetadata\xea\x02\x15\x43osmos::Consensus::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.v1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.consensus.v1B\007TxProtoP\001Z.github.com/cosmos/cosmos-sdk/x/consensus/types\242\002\003CCX\252\002\023Cosmos.Consensus.V1\312\002\023Cosmos\\Consensus\\V1\342\002\037Cosmos\\Consensus\\V1\\GPBMetadata\352\002\025Cosmos::Consensus::V1' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*&cosmos-sdk/x/consensus/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGUPDATEPARAMS']._serialized_start=156 - _globals['_MSGUPDATEPARAMS']._serialized_end=518 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=520 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=545 - _globals['_MSG']._serialized_start=547 - _globals['_MSG']._serialized_end=659 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/consensus/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/consensus/v1/tx_pb2_grpc.py deleted file mode 100644 index da512ed6..00000000 --- a/pyinjective/proto/cosmos/consensus/v1/tx_pb2_grpc.py +++ /dev/null @@ -1,84 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.consensus.v1 import tx_pb2 as cosmos_dot_consensus_dot_v1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the consensus Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.UpdateParams = channel.unary_unary( - '/cosmos.consensus.v1.Msg/UpdateParams', - request_serializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the consensus Msg service. - """ - - def UpdateParams(self, request, context): - """UpdateParams defines a governance operation for updating the x/consensus module parameters. - The authority is defined in the keeper. - - Since: cosmos-sdk 0.47 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.consensus.v1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.consensus.v1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the consensus Msg service. - """ - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.consensus.v1.Msg/UpdateParams', - cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py b/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py deleted file mode 100644 index 2f26f291..00000000 --- a/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/crisis/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/crisis/module/v1/module.proto\x12\x17\x63osmos.crisis.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x83\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:-\xba\xc0\x96\xda\x01\'\n%github.com/cosmos/cosmos-sdk/x/crisisB\xa9\x01\n\x1b\x63om.cosmos.crisis.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x17\x43osmos.Crisis.Module.V1\xca\x02\x17\x43osmos\\Crisis\\Module\\V1\xe2\x02#Cosmos\\Crisis\\Module\\V1\\GPBMetadata\xea\x02\x1a\x43osmos::Crisis::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.crisis.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\027Cosmos.Crisis.Module.V1\312\002\027Cosmos\\Crisis\\Module\\V1\342\002#Cosmos\\Crisis\\Module\\V1\\GPBMetadata\352\002\032Cosmos::Crisis::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\'\n%github.com/cosmos/cosmos-sdk/x/crisis' - _globals['_MODULE']._serialized_start=100 - _globals['_MODULE']._serialized_end=231 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crisis/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/crisis/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/crisis/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/crisis/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2.py deleted file mode 100644 index e2a3ae8e..00000000 --- a/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/crisis/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/crisis/v1beta1/genesis.proto\x12\x15\x63osmos.crisis.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"W\n\x0cGenesisState\x12G\n\x0c\x63onstant_fee\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x63onstantFeeB\xcc\x01\n\x19\x63om.cosmos.crisis.v1beta1B\x0cGenesisProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/crisis/types\xa2\x02\x03\x43\x43X\xaa\x02\x15\x43osmos.Crisis.V1beta1\xca\x02\x15\x43osmos\\Crisis\\V1beta1\xe2\x02!Cosmos\\Crisis\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Crisis::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.crisis.v1beta1B\014GenesisProtoP\001Z+github.com/cosmos/cosmos-sdk/x/crisis/types\242\002\003CCX\252\002\025Cosmos.Crisis.V1beta1\312\002\025Cosmos\\Crisis\\V1beta1\342\002!Cosmos\\Crisis\\V1beta1\\GPBMetadata\352\002\027Cosmos::Crisis::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['constant_fee']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['constant_fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE']._serialized_start=135 - _globals['_GENESISSTATE']._serialized_end=222 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/crisis/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2.py deleted file mode 100644 index 534ad09d..00000000 --- a/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/crisis/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/crisis/v1beta1/tx.proto\x12\x15\x63osmos.crisis.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\xda\x01\n\x12MsgVerifyInvariant\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x32\n\x15invariant_module_name\x18\x02 \x01(\tR\x13invariantModuleName\x12\'\n\x0finvariant_route\x18\x03 \x01(\tR\x0einvariantRoute:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgVerifyInvariant\"\x1c\n\x1aMsgVerifyInvariantResponse\"\xca\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12G\n\x0c\x63onstant_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x63onstantFee:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#cosmos-sdk/x/crisis/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xe5\x01\n\x03Msg\x12o\n\x0fVerifyInvariant\x12).cosmos.crisis.v1beta1.MsgVerifyInvariant\x1a\x31.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse\x12\x66\n\x0cUpdateParams\x12&.cosmos.crisis.v1beta1.MsgUpdateParams\x1a..cosmos.crisis.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc7\x01\n\x19\x63om.cosmos.crisis.v1beta1B\x07TxProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/crisis/types\xa2\x02\x03\x43\x43X\xaa\x02\x15\x43osmos.Crisis.V1beta1\xca\x02\x15\x43osmos\\Crisis\\V1beta1\xe2\x02!Cosmos\\Crisis\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Crisis::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.crisis.v1beta1B\007TxProtoP\001Z+github.com/cosmos/cosmos-sdk/x/crisis/types\242\002\003CCX\252\002\025Cosmos.Crisis.V1beta1\312\002\025Cosmos\\Crisis\\V1beta1\342\002!Cosmos\\Crisis\\V1beta1\\GPBMetadata\352\002\027Cosmos::Crisis::V1beta1' - _globals['_MSGVERIFYINVARIANT'].fields_by_name['sender']._loaded_options = None - _globals['_MSGVERIFYINVARIANT'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGVERIFYINVARIANT']._loaded_options = None - _globals['_MSGVERIFYINVARIANT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035cosmos-sdk/MsgVerifyInvariant' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['constant_fee']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['constant_fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*#cosmos-sdk/x/crisis/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGVERIFYINVARIANT']._serialized_start=183 - _globals['_MSGVERIFYINVARIANT']._serialized_end=401 - _globals['_MSGVERIFYINVARIANTRESPONSE']._serialized_start=403 - _globals['_MSGVERIFYINVARIANTRESPONSE']._serialized_end=431 - _globals['_MSGUPDATEPARAMS']._serialized_start=434 - _globals['_MSGUPDATEPARAMS']._serialized_end=636 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=638 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=663 - _globals['_MSG']._serialized_start=666 - _globals['_MSG']._serialized_end=895 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index 1d15bace..00000000 --- a/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,128 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.crisis.v1beta1 import tx_pb2 as cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the bank Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.VerifyInvariant = channel.unary_unary( - '/cosmos.crisis.v1beta1.Msg/VerifyInvariant', - request_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariant.SerializeToString, - response_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariantResponse.FromString, - _registered_method=True) - self.UpdateParams = channel.unary_unary( - '/cosmos.crisis.v1beta1.Msg/UpdateParams', - request_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the bank Msg service. - """ - - def VerifyInvariant(self, request, context): - """VerifyInvariant defines a method to verify a particular invariant. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """UpdateParams defines a governance operation for updating the x/crisis module - parameters. The authority is defined in the keeper. - - Since: cosmos-sdk 0.47 - """ - 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 = { - 'VerifyInvariant': grpc.unary_unary_rpc_method_handler( - servicer.VerifyInvariant, - request_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariant.FromString, - response_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariantResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.crisis.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.crisis.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the bank Msg service. - """ - - @staticmethod - def VerifyInvariant(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.crisis.v1beta1.Msg/VerifyInvariant', - cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariant.SerializeToString, - cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariantResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.crisis.v1beta1.Msg/UpdateParams', - cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py b/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py deleted file mode 100644 index 2855e3ba..00000000 --- a/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/crypto/ed25519/keys.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/crypto/ed25519/keys.proto\x12\x15\x63osmos.crypto.ed25519\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\"i\n\x06PubKey\x12.\n\x03key\x18\x01 \x01(\x0c\x42\x1c\xfa\xde\x1f\x18\x63rypto/ed25519.PublicKeyR\x03key:/\x98\xa0\x1f\x00\x8a\xe7\xb0*\x18tendermint/PubKeyEd25519\x92\xe7\xb0*\tkey_field\"h\n\x07PrivKey\x12/\n\x03key\x18\x01 \x01(\x0c\x42\x1d\xfa\xde\x1f\x19\x63rypto/ed25519.PrivateKeyR\x03key:,\x8a\xe7\xb0*\x19tendermint/PrivKeyEd25519\x92\xe7\xb0*\tkey_fieldB\xce\x01\n\x19\x63om.cosmos.crypto.ed25519B\tKeysProtoP\x01Z0github.com/cosmos/cosmos-sdk/crypto/keys/ed25519\xa2\x02\x03\x43\x43\x45\xaa\x02\x15\x43osmos.Crypto.Ed25519\xca\x02\x15\x43osmos\\Crypto\\Ed25519\xe2\x02!Cosmos\\Crypto\\Ed25519\\GPBMetadata\xea\x02\x17\x43osmos::Crypto::Ed25519b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.ed25519.keys_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.crypto.ed25519B\tKeysProtoP\001Z0github.com/cosmos/cosmos-sdk/crypto/keys/ed25519\242\002\003CCE\252\002\025Cosmos.Crypto.Ed25519\312\002\025Cosmos\\Crypto\\Ed25519\342\002!Cosmos\\Crypto\\Ed25519\\GPBMetadata\352\002\027Cosmos::Crypto::Ed25519' - _globals['_PUBKEY'].fields_by_name['key']._loaded_options = None - _globals['_PUBKEY'].fields_by_name['key']._serialized_options = b'\372\336\037\030crypto/ed25519.PublicKey' - _globals['_PUBKEY']._loaded_options = None - _globals['_PUBKEY']._serialized_options = b'\230\240\037\000\212\347\260*\030tendermint/PubKeyEd25519\222\347\260*\tkey_field' - _globals['_PRIVKEY'].fields_by_name['key']._loaded_options = None - _globals['_PRIVKEY'].fields_by_name['key']._serialized_options = b'\372\336\037\031crypto/ed25519.PrivateKey' - _globals['_PRIVKEY']._loaded_options = None - _globals['_PRIVKEY']._serialized_options = b'\212\347\260*\031tendermint/PrivKeyEd25519\222\347\260*\tkey_field' - _globals['_PUBKEY']._serialized_start=100 - _globals['_PUBKEY']._serialized_end=205 - _globals['_PRIVKEY']._serialized_start=207 - _globals['_PRIVKEY']._serialized_end=311 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/crypto/hd/v1/hd_pb2.py b/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2.py deleted file mode 100644 index f6d78427..00000000 --- a/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/crypto/hd/v1/hd.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/crypto/hd/v1/hd.proto\x12\x13\x63osmos.crypto.hd.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\"\xc0\x01\n\x0b\x42IP44Params\x12\x18\n\x07purpose\x18\x01 \x01(\rR\x07purpose\x12\x1b\n\tcoin_type\x18\x02 \x01(\rR\x08\x63oinType\x12\x18\n\x07\x61\x63\x63ount\x18\x03 \x01(\rR\x07\x61\x63\x63ount\x12\x16\n\x06\x63hange\x18\x04 \x01(\x08R\x06\x63hange\x12#\n\raddress_index\x18\x05 \x01(\rR\x0c\x61\x64\x64ressIndex:#\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1a\x63rypto/keys/hd/BIP44ParamsB\xbd\x01\n\x17\x63om.cosmos.crypto.hd.v1B\x07HdProtoP\x01Z&github.com/cosmos/cosmos-sdk/crypto/hd\xa2\x02\x03\x43\x43H\xaa\x02\x13\x43osmos.Crypto.Hd.V1\xca\x02\x13\x43osmos\\Crypto\\Hd\\V1\xe2\x02\x1f\x43osmos\\Crypto\\Hd\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Crypto::Hd::V1\xc8\xe1\x1e\x00\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.hd.v1.hd_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.crypto.hd.v1B\007HdProtoP\001Z&github.com/cosmos/cosmos-sdk/crypto/hd\242\002\003CCH\252\002\023Cosmos.Crypto.Hd.V1\312\002\023Cosmos\\Crypto\\Hd\\V1\342\002\037Cosmos\\Crypto\\Hd\\V1\\GPBMetadata\352\002\026Cosmos::Crypto::Hd::V1\310\341\036\000' - _globals['_BIP44PARAMS']._loaded_options = None - _globals['_BIP44PARAMS']._serialized_options = b'\230\240\037\000\212\347\260*\032crypto/keys/hd/BIP44Params' - _globals['_BIP44PARAMS']._serialized_start=95 - _globals['_BIP44PARAMS']._serialized_end=287 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/crypto/keyring/v1/record_pb2.py b/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2.py deleted file mode 100644 index 3d06ef24..00000000 --- a/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2.py +++ /dev/null @@ -1,38 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/crypto/keyring/v1/record.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.cosmos.crypto.hd.v1 import hd_pb2 as cosmos_dot_crypto_dot_hd_dot_v1_dot_hd__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/crypto/keyring/v1/record.proto\x12\x18\x63osmos.crypto.keyring.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1c\x63osmos/crypto/hd/v1/hd.proto\"\xea\x03\n\x06Record\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06pubKey\x12>\n\x05local\x18\x03 \x01(\x0b\x32&.cosmos.crypto.keyring.v1.Record.LocalH\x00R\x05local\x12\x41\n\x06ledger\x18\x04 \x01(\x0b\x32\'.cosmos.crypto.keyring.v1.Record.LedgerH\x00R\x06ledger\x12>\n\x05multi\x18\x05 \x01(\x0b\x32&.cosmos.crypto.keyring.v1.Record.MultiH\x00R\x05multi\x12\x44\n\x07offline\x18\x06 \x01(\x0b\x32(.cosmos.crypto.keyring.v1.Record.OfflineH\x00R\x07offline\x1a\x38\n\x05Local\x12/\n\x08priv_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x07privKey\x1a>\n\x06Ledger\x12\x34\n\x04path\x18\x01 \x01(\x0b\x32 .cosmos.crypto.hd.v1.BIP44ParamsR\x04path\x1a\x07\n\x05Multi\x1a\t\n\x07OfflineB\x06\n\x04itemB\xe3\x01\n\x1c\x63om.cosmos.crypto.keyring.v1B\x0bRecordProtoP\x01Z+github.com/cosmos/cosmos-sdk/crypto/keyring\xa2\x02\x03\x43\x43K\xaa\x02\x18\x43osmos.Crypto.Keyring.V1\xca\x02\x18\x43osmos\\Crypto\\Keyring\\V1\xe2\x02$Cosmos\\Crypto\\Keyring\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Crypto::Keyring::V1\xc8\xe1\x1e\x00\x98\xe3\x1e\x00\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.keyring.v1.record_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.crypto.keyring.v1B\013RecordProtoP\001Z+github.com/cosmos/cosmos-sdk/crypto/keyring\242\002\003CCK\252\002\030Cosmos.Crypto.Keyring.V1\312\002\030Cosmos\\Crypto\\Keyring\\V1\342\002$Cosmos\\Crypto\\Keyring\\V1\\GPBMetadata\352\002\033Cosmos::Crypto::Keyring::V1\310\341\036\000\230\343\036\000' - _globals['_RECORD']._serialized_start=147 - _globals['_RECORD']._serialized_end=637 - _globals['_RECORD_LOCAL']._serialized_start=489 - _globals['_RECORD_LOCAL']._serialized_end=545 - _globals['_RECORD_LEDGER']._serialized_start=547 - _globals['_RECORD_LEDGER']._serialized_end=609 - _globals['_RECORD_MULTI']._serialized_start=611 - _globals['_RECORD_MULTI']._serialized_end=618 - _globals['_RECORD_OFFLINE']._serialized_start=620 - _globals['_RECORD_OFFLINE']._serialized_end=629 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/crypto/multisig/keys_pb2.py b/pyinjective/proto/cosmos/crypto/multisig/keys_pb2.py deleted file mode 100644 index 05f8c8e4..00000000 --- a/pyinjective/proto/cosmos/crypto/multisig/keys_pb2.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/crypto/multisig/keys.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/crypto/multisig/keys.proto\x12\x16\x63osmos.crypto.multisig\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xc3\x01\n\x11LegacyAminoPubKey\x12\x1c\n\tthreshold\x18\x01 \x01(\rR\tthreshold\x12N\n\x0bpublic_keys\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x17\xe2\xde\x1f\x07PubKeys\xa2\xe7\xb0*\x07pubkeysR\npublicKeys:@\x88\xa0\x1f\x00\x8a\xe7\xb0*\"tendermint/PubKeyMultisigThreshold\x92\xe7\xb0*\x10threshold_stringB\xd4\x01\n\x1a\x63om.cosmos.crypto.multisigB\tKeysProtoP\x01Z1github.com/cosmos/cosmos-sdk/crypto/keys/multisig\xa2\x02\x03\x43\x43M\xaa\x02\x16\x43osmos.Crypto.Multisig\xca\x02\x16\x43osmos\\Crypto\\Multisig\xe2\x02\"Cosmos\\Crypto\\Multisig\\GPBMetadata\xea\x02\x18\x43osmos::Crypto::Multisigb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.multisig.keys_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.crypto.multisigB\tKeysProtoP\001Z1github.com/cosmos/cosmos-sdk/crypto/keys/multisig\242\002\003CCM\252\002\026Cosmos.Crypto.Multisig\312\002\026Cosmos\\Crypto\\Multisig\342\002\"Cosmos\\Crypto\\Multisig\\GPBMetadata\352\002\030Cosmos::Crypto::Multisig' - _globals['_LEGACYAMINOPUBKEY'].fields_by_name['public_keys']._loaded_options = None - _globals['_LEGACYAMINOPUBKEY'].fields_by_name['public_keys']._serialized_options = b'\342\336\037\007PubKeys\242\347\260*\007pubkeys' - _globals['_LEGACYAMINOPUBKEY']._loaded_options = None - _globals['_LEGACYAMINOPUBKEY']._serialized_options = b'\210\240\037\000\212\347\260*\"tendermint/PubKeyMultisigThreshold\222\347\260*\020threshold_string' - _globals['_LEGACYAMINOPUBKEY']._serialized_start=130 - _globals['_LEGACYAMINOPUBKEY']._serialized_end=325 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/multisig/keys_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/multisig/keys_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/crypto/multisig/keys_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/crypto/multisig/v1beta1/multisig_pb2.py b/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py deleted file mode 100644 index 510661bf..00000000 --- a/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/crypto/multisig/v1beta1/multisig.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-cosmos/crypto/multisig/v1beta1/multisig.proto\x12\x1e\x63osmos.crypto.multisig.v1beta1\x1a\x14gogoproto/gogo.proto\"6\n\x0eMultiSignature\x12\x1e\n\nsignatures\x18\x01 \x03(\x0cR\nsignatures:\x04\xd0\xa1\x1f\x01\"Y\n\x0f\x43ompactBitArray\x12*\n\x11\x65xtra_bits_stored\x18\x01 \x01(\rR\x0f\x65xtraBitsStored\x12\x14\n\x05\x65lems\x18\x02 \x01(\x0cR\x05\x65lems:\x04\x98\xa0\x1f\x00\x42\xf9\x01\n\"com.cosmos.crypto.multisig.v1beta1B\rMultisigProtoP\x01Z)github.com/cosmos/cosmos-sdk/crypto/types\xa2\x02\x03\x43\x43M\xaa\x02\x1e\x43osmos.Crypto.Multisig.V1beta1\xca\x02\x1e\x43osmos\\Crypto\\Multisig\\V1beta1\xe2\x02*Cosmos\\Crypto\\Multisig\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Crypto::Multisig::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.multisig.v1beta1.multisig_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.cosmos.crypto.multisig.v1beta1B\rMultisigProtoP\001Z)github.com/cosmos/cosmos-sdk/crypto/types\242\002\003CCM\252\002\036Cosmos.Crypto.Multisig.V1beta1\312\002\036Cosmos\\Crypto\\Multisig\\V1beta1\342\002*Cosmos\\Crypto\\Multisig\\V1beta1\\GPBMetadata\352\002!Cosmos::Crypto::Multisig::V1beta1' - _globals['_MULTISIGNATURE']._loaded_options = None - _globals['_MULTISIGNATURE']._serialized_options = b'\320\241\037\001' - _globals['_COMPACTBITARRAY']._loaded_options = None - _globals['_COMPACTBITARRAY']._serialized_options = b'\230\240\037\000' - _globals['_MULTISIGNATURE']._serialized_start=103 - _globals['_MULTISIGNATURE']._serialized_end=157 - _globals['_COMPACTBITARRAY']._serialized_start=159 - _globals['_COMPACTBITARRAY']._serialized_end=248 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/crypto/secp256k1/keys_pb2.py b/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2.py deleted file mode 100644 index 2b2cf7e6..00000000 --- a/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/crypto/secp256k1/keys.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/crypto/secp256k1/keys.proto\x12\x17\x63osmos.crypto.secp256k1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\"M\n\x06PubKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:1\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1atendermint/PubKeySecp256k1\x92\xe7\xb0*\tkey_field\"K\n\x07PrivKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:.\x8a\xe7\xb0*\x1btendermint/PrivKeySecp256k1\x92\xe7\xb0*\tkey_fieldB\xda\x01\n\x1b\x63om.cosmos.crypto.secp256k1B\tKeysProtoP\x01Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1\xa2\x02\x03\x43\x43S\xaa\x02\x17\x43osmos.Crypto.Secp256k1\xca\x02\x17\x43osmos\\Crypto\\Secp256k1\xe2\x02#Cosmos\\Crypto\\Secp256k1\\GPBMetadata\xea\x02\x19\x43osmos::Crypto::Secp256k1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.secp256k1.keys_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.crypto.secp256k1B\tKeysProtoP\001Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1\242\002\003CCS\252\002\027Cosmos.Crypto.Secp256k1\312\002\027Cosmos\\Crypto\\Secp256k1\342\002#Cosmos\\Crypto\\Secp256k1\\GPBMetadata\352\002\031Cosmos::Crypto::Secp256k1' - _globals['_PUBKEY']._loaded_options = None - _globals['_PUBKEY']._serialized_options = b'\230\240\037\000\212\347\260*\032tendermint/PubKeySecp256k1\222\347\260*\tkey_field' - _globals['_PRIVKEY']._loaded_options = None - _globals['_PRIVKEY']._serialized_options = b'\212\347\260*\033tendermint/PrivKeySecp256k1\222\347\260*\tkey_field' - _globals['_PUBKEY']._serialized_start=104 - _globals['_PUBKEY']._serialized_end=181 - _globals['_PRIVKEY']._serialized_start=183 - _globals['_PRIVKEY']._serialized_end=258 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/crypto/secp256r1/keys_pb2.py b/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2.py deleted file mode 100644 index b708fc50..00000000 --- a/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/crypto/secp256r1/keys.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/crypto/secp256r1/keys.proto\x12\x17\x63osmos.crypto.secp256r1\x1a\x14gogoproto/gogo.proto\"\'\n\x06PubKey\x12\x1d\n\x03key\x18\x01 \x01(\x0c\x42\x0b\xda\xde\x1f\x07\x65\x63\x64saPKR\x03key\".\n\x07PrivKey\x12#\n\x06secret\x18\x01 \x01(\x0c\x42\x0b\xda\xde\x1f\x07\x65\x63\x64saSKR\x06secretB\xe6\x01\n\x1b\x63om.cosmos.crypto.secp256r1B\tKeysProtoP\x01Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1\xa2\x02\x03\x43\x43S\xaa\x02\x17\x43osmos.Crypto.Secp256r1\xca\x02\x17\x43osmos\\Crypto\\Secp256r1\xe2\x02#Cosmos\\Crypto\\Secp256r1\\GPBMetadata\xea\x02\x19\x43osmos::Crypto::Secp256r1\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xc8\xe3\x1e\x01\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.secp256r1.keys_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.crypto.secp256r1B\tKeysProtoP\001Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1\242\002\003CCS\252\002\027Cosmos.Crypto.Secp256r1\312\002\027Cosmos\\Crypto\\Secp256r1\342\002#Cosmos\\Crypto\\Secp256r1\\GPBMetadata\352\002\031Cosmos::Crypto::Secp256r1\310\341\036\000\330\341\036\000\310\343\036\001' - _globals['_PUBKEY'].fields_by_name['key']._loaded_options = None - _globals['_PUBKEY'].fields_by_name['key']._serialized_options = b'\332\336\037\007ecdsaPK' - _globals['_PRIVKEY'].fields_by_name['secret']._loaded_options = None - _globals['_PRIVKEY'].fields_by_name['secret']._serialized_options = b'\332\336\037\007ecdsaSK' - _globals['_PUBKEY']._serialized_start=85 - _globals['_PUBKEY']._serialized_end=124 - _globals['_PRIVKEY']._serialized_start=126 - _globals['_PRIVKEY']._serialized_end=172 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/distribution/module/v1/module_pb2.py b/pyinjective/proto/cosmos/distribution/module/v1/module_pb2.py deleted file mode 100644 index 98e66656..00000000 --- a/pyinjective/proto/cosmos/distribution/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/distribution/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*cosmos/distribution/module/v1/module.proto\x12\x1d\x63osmos.distribution.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x89\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:3\xba\xc0\x96\xda\x01-\n+github.com/cosmos/cosmos-sdk/x/distributionB\xc7\x01\n!com.cosmos.distribution.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x44M\xaa\x02\x1d\x43osmos.Distribution.Module.V1\xca\x02\x1d\x43osmos\\Distribution\\Module\\V1\xe2\x02)Cosmos\\Distribution\\Module\\V1\\GPBMetadata\xea\x02 Cosmos::Distribution::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n!com.cosmos.distribution.module.v1B\013ModuleProtoP\001\242\002\003CDM\252\002\035Cosmos.Distribution.Module.V1\312\002\035Cosmos\\Distribution\\Module\\V1\342\002)Cosmos\\Distribution\\Module\\V1\\GPBMetadata\352\002 Cosmos::Distribution::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001-\n+github.com/cosmos/cosmos-sdk/x/distribution' - _globals['_MODULE']._serialized_start=112 - _globals['_MODULE']._serialized_end=249 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/distribution/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/distribution/v1beta1/distribution_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2.py deleted file mode 100644 index db366a29..00000000 --- a/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2.py +++ /dev/null @@ -1,91 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/distribution/v1beta1/distribution.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.cosmos/distribution/v1beta1/distribution.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x9a\x03\n\x06Params\x12[\n\rcommunity_tax\x18\x01 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0c\x63ommunityTax\x12j\n\x14\x62\x61se_proposer_reward\x18\x02 \x01(\tB8\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x12\x62\x61seProposerReward\x12l\n\x15\x62onus_proposer_reward\x18\x03 \x01(\tB8\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x13\x62onusProposerReward\x12\x32\n\x15withdraw_addr_enabled\x18\x04 \x01(\x08R\x13withdrawAddrEnabled:%\x8a\xe7\xb0* cosmos-sdk/x/distribution/Params\"\xd6\x01\n\x1aValidatorHistoricalRewards\x12\x8e\x01\n\x17\x63umulative_reward_ratio\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x15\x63umulativeRewardRatio\x12\'\n\x0freference_count\x18\x02 \x01(\rR\x0ereferenceCount\"\xa3\x01\n\x17ValidatorCurrentRewards\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards\x12\x16\n\x06period\x18\x02 \x01(\x04R\x06period\"\x98\x01\n\x1eValidatorAccumulatedCommission\x12v\n\ncommission\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\ncommission\"\x8f\x01\n\x1bValidatorOutstandingRewards\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards\"\x8f\x01\n\x13ValidatorSlashEvent\x12)\n\x10validator_period\x18\x01 \x01(\x04R\x0fvalidatorPeriod\x12M\n\x08\x66raction\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x08\x66raction\"\x89\x01\n\x14ValidatorSlashEvents\x12q\n\x16validator_slash_events\x18\x01 \x03(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSlashEvents\"\x88\x01\n\x07\x46\x65\x65Pool\x12}\n\x0e\x63ommunity_pool\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\rcommunityPool\"\x97\x02\n\x1a\x43ommunityPoolSpendProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\trecipient\x18\x03 \x01(\tR\trecipient\x12y\n\x06\x61mount\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:(\x18\x01\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd4\x01\n\x15\x44\x65legatorStartingInfo\x12\'\n\x0fprevious_period\x18\x01 \x01(\x04R\x0epreviousPeriod\x12L\n\x05stake\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x05stake\x12\x44\n\x06height\x18\x03 \x01(\x04\x42,\xea\xde\x1f\x0f\x63reation_height\xa2\xe7\xb0*\x0f\x63reation_height\xa8\xe7\xb0*\x01R\x06height\"\xe1\x01\n\x19\x44\x65legationDelegatorReward\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12n\n\x06reward\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x06reward:\x04\x88\xa0\x1f\x00\"\xd3\x01\n%CommunityPoolSpendProposalWithDeposit\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\trecipient\x18\x03 \x01(\tR\trecipient\x12\x16\n\x06\x61mount\x18\x04 \x01(\tR\x06\x61mount\x12\x18\n\x07\x64\x65posit\x18\x05 \x01(\tR\x07\x64\x65posit:\"\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB\xf9\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x11\x44istributionProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.distribution_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.distribution.v1beta1B\021DistributionProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001' - _globals['_PARAMS'].fields_by_name['community_tax']._loaded_options = None - _globals['_PARAMS'].fields_by_name['community_tax']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['base_proposer_reward']._loaded_options = None - _globals['_PARAMS'].fields_by_name['base_proposer_reward']._serialized_options = b'\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['bonus_proposer_reward']._loaded_options = None - _globals['_PARAMS'].fields_by_name['bonus_proposer_reward']._serialized_options = b'\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\212\347\260* cosmos-sdk/x/distribution/Params' - _globals['_VALIDATORHISTORICALREWARDS'].fields_by_name['cumulative_reward_ratio']._loaded_options = None - _globals['_VALIDATORHISTORICALREWARDS'].fields_by_name['cumulative_reward_ratio']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_VALIDATORCURRENTREWARDS'].fields_by_name['rewards']._loaded_options = None - _globals['_VALIDATORCURRENTREWARDS'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_VALIDATORACCUMULATEDCOMMISSION'].fields_by_name['commission']._loaded_options = None - _globals['_VALIDATORACCUMULATEDCOMMISSION'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_VALIDATOROUTSTANDINGREWARDS'].fields_by_name['rewards']._loaded_options = None - _globals['_VALIDATOROUTSTANDINGREWARDS'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_VALIDATORSLASHEVENT'].fields_by_name['fraction']._loaded_options = None - _globals['_VALIDATORSLASHEVENT'].fields_by_name['fraction']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_VALIDATORSLASHEVENTS'].fields_by_name['validator_slash_events']._loaded_options = None - _globals['_VALIDATORSLASHEVENTS'].fields_by_name['validator_slash_events']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_FEEPOOL'].fields_by_name['community_pool']._loaded_options = None - _globals['_FEEPOOL'].fields_by_name['community_pool']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_COMMUNITYPOOLSPENDPROPOSAL'].fields_by_name['amount']._loaded_options = None - _globals['_COMMUNITYPOOLSPENDPROPOSAL'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_COMMUNITYPOOLSPENDPROPOSAL']._loaded_options = None - _globals['_COMMUNITYPOOLSPENDPROPOSAL']._serialized_options = b'\030\001\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_DELEGATORSTARTINGINFO'].fields_by_name['stake']._loaded_options = None - _globals['_DELEGATORSTARTINGINFO'].fields_by_name['stake']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_DELEGATORSTARTINGINFO'].fields_by_name['height']._loaded_options = None - _globals['_DELEGATORSTARTINGINFO'].fields_by_name['height']._serialized_options = b'\352\336\037\017creation_height\242\347\260*\017creation_height\250\347\260*\001' - _globals['_DELEGATIONDELEGATORREWARD'].fields_by_name['validator_address']._loaded_options = None - _globals['_DELEGATIONDELEGATORREWARD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_DELEGATIONDELEGATORREWARD'].fields_by_name['reward']._loaded_options = None - _globals['_DELEGATIONDELEGATORREWARD'].fields_by_name['reward']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_DELEGATIONDELEGATORREWARD']._loaded_options = None - _globals['_DELEGATIONDELEGATORREWARD']._serialized_options = b'\210\240\037\000' - _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._loaded_options = None - _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._serialized_options = b'\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_PARAMS']._serialized_start=180 - _globals['_PARAMS']._serialized_end=590 - _globals['_VALIDATORHISTORICALREWARDS']._serialized_start=593 - _globals['_VALIDATORHISTORICALREWARDS']._serialized_end=807 - _globals['_VALIDATORCURRENTREWARDS']._serialized_start=810 - _globals['_VALIDATORCURRENTREWARDS']._serialized_end=973 - _globals['_VALIDATORACCUMULATEDCOMMISSION']._serialized_start=976 - _globals['_VALIDATORACCUMULATEDCOMMISSION']._serialized_end=1128 - _globals['_VALIDATOROUTSTANDINGREWARDS']._serialized_start=1131 - _globals['_VALIDATOROUTSTANDINGREWARDS']._serialized_end=1274 - _globals['_VALIDATORSLASHEVENT']._serialized_start=1277 - _globals['_VALIDATORSLASHEVENT']._serialized_end=1420 - _globals['_VALIDATORSLASHEVENTS']._serialized_start=1423 - _globals['_VALIDATORSLASHEVENTS']._serialized_end=1560 - _globals['_FEEPOOL']._serialized_start=1563 - _globals['_FEEPOOL']._serialized_end=1699 - _globals['_COMMUNITYPOOLSPENDPROPOSAL']._serialized_start=1702 - _globals['_COMMUNITYPOOLSPENDPROPOSAL']._serialized_end=1981 - _globals['_DELEGATORSTARTINGINFO']._serialized_start=1984 - _globals['_DELEGATORSTARTINGINFO']._serialized_end=2196 - _globals['_DELEGATIONDELEGATORREWARD']._serialized_start=2199 - _globals['_DELEGATIONDELEGATORREWARD']._serialized_end=2424 - _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._serialized_start=2427 - _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._serialized_end=2638 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/distribution/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2.py deleted file mode 100644 index 49aaa896..00000000 --- a/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,112 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/distribution/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)cosmos/distribution/v1beta1/genesis.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xad\x01\n\x15\x44\x65legatorWithdrawInfo\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12\x43\n\x10withdraw_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x87\x02\n!ValidatorOutstandingRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x87\x01\n\x13outstanding_rewards\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x12outstandingRewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xea\x01\n$ValidatorAccumulatedCommissionRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12h\n\x0b\x61\x63\x63umulated\x18\x02 \x01(\x0b\x32;.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x61\x63\x63umulated:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf2\x01\n ValidatorHistoricalRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x16\n\x06period\x18\x02 \x01(\x04R\x06period\x12\\\n\x07rewards\x18\x03 \x01(\x0b\x32\x37.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd4\x01\n\x1dValidatorCurrentRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12Y\n\x07rewards\x18\x02 \x01(\x0b\x32\x34.cosmos.distribution.v1beta1.ValidatorCurrentRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa2\x02\n\x1b\x44\x65legatorStartingInfoRecord\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x62\n\rstarting_info\x18\x03 \x01(\x0b\x32\x32.cosmos.distribution.v1beta1.DelegatorStartingInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cstartingInfo:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x96\x02\n\x19ValidatorSlashEventRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x16\n\x06height\x18\x02 \x01(\x04R\x06height\x12\x16\n\x06period\x18\x03 \x01(\x04R\x06period\x12o\n\x15validator_slash_event\x18\x04 \x01(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13validatorSlashEvent:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8c\t\n\x0cGenesisState\x12\x46\n\x06params\x18\x01 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12J\n\x08\x66\x65\x65_pool\x18\x02 \x01(\x0b\x32$.cosmos.distribution.v1beta1.FeePoolB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x66\x65\x65Pool\x12w\n\x18\x64\x65legator_withdraw_infos\x18\x03 \x03(\x0b\x32\x32.cosmos.distribution.v1beta1.DelegatorWithdrawInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x16\x64\x65legatorWithdrawInfos\x12\x45\n\x11previous_proposer\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10previousProposer\x12z\n\x13outstanding_rewards\x18\x05 \x03(\x0b\x32>.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12outstandingRewards\x12\x98\x01\n!validator_accumulated_commissions\x18\x06 \x03(\x0b\x32\x41.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x1fvalidatorAccumulatedCommissions\x12\x8a\x01\n\x1cvalidator_historical_rewards\x18\x07 \x03(\x0b\x32=.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x1avalidatorHistoricalRewards\x12\x81\x01\n\x19validator_current_rewards\x18\x08 \x03(\x0b\x32:.cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x17validatorCurrentRewards\x12}\n\x18\x64\x65legator_starting_infos\x18\t \x03(\x0b\x32\x38.cosmos.distribution.v1beta1.DelegatorStartingInfoRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x16\x64\x65legatorStartingInfos\x12w\n\x16validator_slash_events\x18\n \x03(\x0b\x32\x36.cosmos.distribution.v1beta1.ValidatorSlashEventRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSlashEvents:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xf4\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x0cGenesisProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.distribution.v1beta1B\014GenesisProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001' - _globals['_DELEGATORWITHDRAWINFO'].fields_by_name['delegator_address']._loaded_options = None - _globals['_DELEGATORWITHDRAWINFO'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DELEGATORWITHDRAWINFO'].fields_by_name['withdraw_address']._loaded_options = None - _globals['_DELEGATORWITHDRAWINFO'].fields_by_name['withdraw_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DELEGATORWITHDRAWINFO']._loaded_options = None - _globals['_DELEGATORWITHDRAWINFO']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_VALIDATOROUTSTANDINGREWARDSRECORD'].fields_by_name['validator_address']._loaded_options = None - _globals['_VALIDATOROUTSTANDINGREWARDSRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_VALIDATOROUTSTANDINGREWARDSRECORD'].fields_by_name['outstanding_rewards']._loaded_options = None - _globals['_VALIDATOROUTSTANDINGREWARDSRECORD'].fields_by_name['outstanding_rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._loaded_options = None - _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD'].fields_by_name['validator_address']._loaded_options = None - _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD'].fields_by_name['accumulated']._loaded_options = None - _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD'].fields_by_name['accumulated']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._loaded_options = None - _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_VALIDATORHISTORICALREWARDSRECORD'].fields_by_name['validator_address']._loaded_options = None - _globals['_VALIDATORHISTORICALREWARDSRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_VALIDATORHISTORICALREWARDSRECORD'].fields_by_name['rewards']._loaded_options = None - _globals['_VALIDATORHISTORICALREWARDSRECORD'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_VALIDATORHISTORICALREWARDSRECORD']._loaded_options = None - _globals['_VALIDATORHISTORICALREWARDSRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_VALIDATORCURRENTREWARDSRECORD'].fields_by_name['validator_address']._loaded_options = None - _globals['_VALIDATORCURRENTREWARDSRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_VALIDATORCURRENTREWARDSRECORD'].fields_by_name['rewards']._loaded_options = None - _globals['_VALIDATORCURRENTREWARDSRECORD'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_VALIDATORCURRENTREWARDSRECORD']._loaded_options = None - _globals['_VALIDATORCURRENTREWARDSRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['delegator_address']._loaded_options = None - _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['validator_address']._loaded_options = None - _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['starting_info']._loaded_options = None - _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['starting_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_DELEGATORSTARTINGINFORECORD']._loaded_options = None - _globals['_DELEGATORSTARTINGINFORECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_VALIDATORSLASHEVENTRECORD'].fields_by_name['validator_address']._loaded_options = None - _globals['_VALIDATORSLASHEVENTRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_VALIDATORSLASHEVENTRECORD'].fields_by_name['validator_slash_event']._loaded_options = None - _globals['_VALIDATORSLASHEVENTRECORD'].fields_by_name['validator_slash_event']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_VALIDATORSLASHEVENTRECORD']._loaded_options = None - _globals['_VALIDATORSLASHEVENTRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['fee_pool']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['fee_pool']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['delegator_withdraw_infos']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['delegator_withdraw_infos']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['previous_proposer']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['previous_proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_GENESISSTATE'].fields_by_name['outstanding_rewards']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['outstanding_rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['validator_accumulated_commissions']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['validator_accumulated_commissions']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['validator_historical_rewards']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['validator_historical_rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['validator_current_rewards']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['validator_current_rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['delegator_starting_infos']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['delegator_starting_infos']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['validator_slash_events']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['validator_slash_events']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE']._loaded_options = None - _globals['_GENESISSTATE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_DELEGATORWITHDRAWINFO']._serialized_start=223 - _globals['_DELEGATORWITHDRAWINFO']._serialized_end=396 - _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._serialized_start=399 - _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._serialized_end=662 - _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._serialized_start=665 - _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._serialized_end=899 - _globals['_VALIDATORHISTORICALREWARDSRECORD']._serialized_start=902 - _globals['_VALIDATORHISTORICALREWARDSRECORD']._serialized_end=1144 - _globals['_VALIDATORCURRENTREWARDSRECORD']._serialized_start=1147 - _globals['_VALIDATORCURRENTREWARDSRECORD']._serialized_end=1359 - _globals['_DELEGATORSTARTINGINFORECORD']._serialized_start=1362 - _globals['_DELEGATORSTARTINGINFORECORD']._serialized_end=1652 - _globals['_VALIDATORSLASHEVENTRECORD']._serialized_start=1655 - _globals['_VALIDATORSLASHEVENTRECORD']._serialized_end=1933 - _globals['_GENESISSTATE']._serialized_start=1936 - _globals['_GENESISSTATE']._serialized_end=3100 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/distribution/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2.py deleted file mode 100644 index 0344a05c..00000000 --- a/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2.py +++ /dev/null @@ -1,150 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/distribution/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/distribution/v1beta1/query.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x14\n\x12QueryParamsRequest\"]\n\x13QueryParamsResponse\x12\x46\n\x06params\x18\x01 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"w\n%QueryValidatorDistributionInfoRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\"\xee\x02\n&QueryValidatorDistributionInfoResponse\x12L\n\x10operator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x0foperatorAddress\x12\x82\x01\n\x11self_bond_rewards\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x0fselfBondRewards\x12q\n\ncommission\x18\x03 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB3\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoinsR\ncommission\"y\n\'QueryValidatorOutstandingRewardsRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\"\x89\x01\n(QueryValidatorOutstandingRewardsResponse\x12]\n\x07rewards\x18\x01 \x01(\x0b\x32\x38.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards\"q\n\x1fQueryValidatorCommissionRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\"\x8a\x01\n QueryValidatorCommissionResponse\x12\x66\n\ncommission\x18\x01 \x01(\x0b\x32;.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission\"\x8a\x02\n\x1cQueryValidatorSlashesRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\'\n\x0fstarting_height\x18\x02 \x01(\x04R\x0estartingHeight\x12#\n\rending_height\x18\x03 \x01(\x04R\x0c\x65ndingHeight\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x04\x88\xa0\x1f\x00\"\xbf\x01\n\x1dQueryValidatorSlashesResponse\x12U\n\x07slashes\x18\x01 \x03(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07slashes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xc0\x01\n\x1dQueryDelegationRewardsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x92\x01\n\x1eQueryDelegationRewardsResponse\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards\"u\n\"QueryDelegationTotalRewardsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf0\x01\n#QueryDelegationTotalRewardsResponse\x12[\n\x07rewards\x18\x01 \x03(\x0b\x32\x36.cosmos.distribution.v1beta1.DelegationDelegatorRewardB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards\x12l\n\x05total\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x05total\"r\n\x1fQueryDelegatorValidatorsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"L\n QueryDelegatorValidatorsResponse\x12\x1e\n\nvalidators\x18\x01 \x03(\tR\nvalidators:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"w\n$QueryDelegatorWithdrawAddressRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"v\n%QueryDelegatorWithdrawAddressResponse\x12\x43\n\x10withdraw_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1b\n\x19QueryCommunityPoolRequest\"\x88\x01\n\x1aQueryCommunityPoolResponse\x12j\n\x04pool\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x04pool2\xc4\x11\n\x05Query\x12\x98\x01\n\x06Params\x12/.cosmos.distribution.v1beta1.QueryParamsRequest\x1a\x30.cosmos.distribution.v1beta1.QueryParamsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/cosmos/distribution/v1beta1/params\x12\xe9\x01\n\x19ValidatorDistributionInfo\x12\x42.cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest\x1a\x43.cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse\"C\x82\xd3\xe4\x93\x02=\x12;/cosmos/distribution/v1beta1/validators/{validator_address}\x12\x83\x02\n\x1bValidatorOutstandingRewards\x12\x44.cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest\x1a\x45.cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse\"W\x82\xd3\xe4\x93\x02Q\x12O/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards\x12\xe2\x01\n\x13ValidatorCommission\x12<.cosmos.distribution.v1beta1.QueryValidatorCommissionRequest\x1a=.cosmos.distribution.v1beta1.QueryValidatorCommissionResponse\"N\x82\xd3\xe4\x93\x02H\x12\x46/cosmos/distribution/v1beta1/validators/{validator_address}/commission\x12\xd6\x01\n\x10ValidatorSlashes\x12\x39.cosmos.distribution.v1beta1.QueryValidatorSlashesRequest\x1a:.cosmos.distribution.v1beta1.QueryValidatorSlashesResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/cosmos/distribution/v1beta1/validators/{validator_address}/slashes\x12\xed\x01\n\x11\x44\x65legationRewards\x12:.cosmos.distribution.v1beta1.QueryDelegationRewardsRequest\x1a;.cosmos.distribution.v1beta1.QueryDelegationRewardsResponse\"_\x82\xd3\xe4\x93\x02Y\x12W/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}\x12\xe8\x01\n\x16\x44\x65legationTotalRewards\x12?.cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest\x1a@.cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards\x12\xe2\x01\n\x13\x44\x65legatorValidators\x12<.cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest\x1a=.cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse\"N\x82\xd3\xe4\x93\x02H\x12\x46/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators\x12\xf7\x01\n\x18\x44\x65legatorWithdrawAddress\x12\x41.cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest\x1a\x42.cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse\"T\x82\xd3\xe4\x93\x02N\x12L/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address\x12\xb5\x01\n\rCommunityPool\x12\x36.cosmos.distribution.v1beta1.QueryCommunityPoolRequest\x1a\x37.cosmos.distribution.v1beta1.QueryCommunityPoolResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/distribution/v1beta1/community_poolB\xee\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\nQueryProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.distribution.v1beta1B\nQueryProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST'].fields_by_name['validator_address']._loaded_options = None - _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['operator_address']._loaded_options = None - _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['operator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['self_bond_rewards']._loaded_options = None - _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['self_bond_rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['commission']._loaded_options = None - _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins' - _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST'].fields_by_name['validator_address']._loaded_options = None - _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE'].fields_by_name['rewards']._loaded_options = None - _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYVALIDATORCOMMISSIONREQUEST'].fields_by_name['validator_address']._loaded_options = None - _globals['_QUERYVALIDATORCOMMISSIONREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYVALIDATORCOMMISSIONRESPONSE'].fields_by_name['commission']._loaded_options = None - _globals['_QUERYVALIDATORCOMMISSIONRESPONSE'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYVALIDATORSLASHESREQUEST'].fields_by_name['validator_address']._loaded_options = None - _globals['_QUERYVALIDATORSLASHESREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYVALIDATORSLASHESREQUEST']._loaded_options = None - _globals['_QUERYVALIDATORSLASHESREQUEST']._serialized_options = b'\210\240\037\000' - _globals['_QUERYVALIDATORSLASHESRESPONSE'].fields_by_name['slashes']._loaded_options = None - _globals['_QUERYVALIDATORSLASHESRESPONSE'].fields_by_name['slashes']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDELEGATIONREWARDSREQUEST'].fields_by_name['delegator_address']._loaded_options = None - _globals['_QUERYDELEGATIONREWARDSREQUEST'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATIONREWARDSREQUEST'].fields_by_name['validator_address']._loaded_options = None - _globals['_QUERYDELEGATIONREWARDSREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYDELEGATIONREWARDSREQUEST']._loaded_options = None - _globals['_QUERYDELEGATIONREWARDSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATIONREWARDSRESPONSE'].fields_by_name['rewards']._loaded_options = None - _globals['_QUERYDELEGATIONREWARDSRESPONSE'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST'].fields_by_name['delegator_address']._loaded_options = None - _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._loaded_options = None - _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE'].fields_by_name['rewards']._loaded_options = None - _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE'].fields_by_name['total']._loaded_options = None - _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE'].fields_by_name['total']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_QUERYDELEGATORVALIDATORSREQUEST'].fields_by_name['delegator_address']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORSREQUEST'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATORVALIDATORSREQUEST']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST'].fields_by_name['delegator_address']._loaded_options = None - _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._loaded_options = None - _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE'].fields_by_name['withdraw_address']._loaded_options = None - _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE'].fields_by_name['withdraw_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._loaded_options = None - _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYCOMMUNITYPOOLRESPONSE'].fields_by_name['pool']._loaded_options = None - _globals['_QUERYCOMMUNITYPOOLRESPONSE'].fields_by_name['pool']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002%\022#/cosmos/distribution/v1beta1/params' - _globals['_QUERY'].methods_by_name['ValidatorDistributionInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValidatorDistributionInfo']._serialized_options = b'\202\323\344\223\002=\022;/cosmos/distribution/v1beta1/validators/{validator_address}' - _globals['_QUERY'].methods_by_name['ValidatorOutstandingRewards']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValidatorOutstandingRewards']._serialized_options = b'\202\323\344\223\002Q\022O/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards' - _globals['_QUERY'].methods_by_name['ValidatorCommission']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValidatorCommission']._serialized_options = b'\202\323\344\223\002H\022F/cosmos/distribution/v1beta1/validators/{validator_address}/commission' - _globals['_QUERY'].methods_by_name['ValidatorSlashes']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValidatorSlashes']._serialized_options = b'\202\323\344\223\002E\022C/cosmos/distribution/v1beta1/validators/{validator_address}/slashes' - _globals['_QUERY'].methods_by_name['DelegationRewards']._loaded_options = None - _globals['_QUERY'].methods_by_name['DelegationRewards']._serialized_options = b'\202\323\344\223\002Y\022W/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}' - _globals['_QUERY'].methods_by_name['DelegationTotalRewards']._loaded_options = None - _globals['_QUERY'].methods_by_name['DelegationTotalRewards']._serialized_options = b'\202\323\344\223\002E\022C/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards' - _globals['_QUERY'].methods_by_name['DelegatorValidators']._loaded_options = None - _globals['_QUERY'].methods_by_name['DelegatorValidators']._serialized_options = b'\202\323\344\223\002H\022F/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators' - _globals['_QUERY'].methods_by_name['DelegatorWithdrawAddress']._loaded_options = None - _globals['_QUERY'].methods_by_name['DelegatorWithdrawAddress']._serialized_options = b'\202\323\344\223\002N\022L/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address' - _globals['_QUERY'].methods_by_name['CommunityPool']._loaded_options = None - _globals['_QUERY'].methods_by_name['CommunityPool']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/distribution/v1beta1/community_pool' - _globals['_QUERYPARAMSREQUEST']._serialized_start=294 - _globals['_QUERYPARAMSREQUEST']._serialized_end=314 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=316 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=409 - _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST']._serialized_start=411 - _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST']._serialized_end=530 - _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE']._serialized_start=533 - _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE']._serialized_end=899 - _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST']._serialized_start=901 - _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST']._serialized_end=1022 - _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE']._serialized_start=1025 - _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE']._serialized_end=1162 - _globals['_QUERYVALIDATORCOMMISSIONREQUEST']._serialized_start=1164 - _globals['_QUERYVALIDATORCOMMISSIONREQUEST']._serialized_end=1277 - _globals['_QUERYVALIDATORCOMMISSIONRESPONSE']._serialized_start=1280 - _globals['_QUERYVALIDATORCOMMISSIONRESPONSE']._serialized_end=1418 - _globals['_QUERYVALIDATORSLASHESREQUEST']._serialized_start=1421 - _globals['_QUERYVALIDATORSLASHESREQUEST']._serialized_end=1687 - _globals['_QUERYVALIDATORSLASHESRESPONSE']._serialized_start=1690 - _globals['_QUERYVALIDATORSLASHESRESPONSE']._serialized_end=1881 - _globals['_QUERYDELEGATIONREWARDSREQUEST']._serialized_start=1884 - _globals['_QUERYDELEGATIONREWARDSREQUEST']._serialized_end=2076 - _globals['_QUERYDELEGATIONREWARDSRESPONSE']._serialized_start=2079 - _globals['_QUERYDELEGATIONREWARDSRESPONSE']._serialized_end=2225 - _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._serialized_start=2227 - _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._serialized_end=2344 - _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE']._serialized_start=2347 - _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE']._serialized_end=2587 - _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_start=2589 - _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_end=2703 - _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_start=2705 - _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_end=2781 - _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._serialized_start=2783 - _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._serialized_end=2902 - _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._serialized_start=2904 - _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._serialized_end=3022 - _globals['_QUERYCOMMUNITYPOOLREQUEST']._serialized_start=3024 - _globals['_QUERYCOMMUNITYPOOLREQUEST']._serialized_end=3051 - _globals['_QUERYCOMMUNITYPOOLRESPONSE']._serialized_start=3054 - _globals['_QUERYCOMMUNITYPOOLRESPONSE']._serialized_end=3190 - _globals['_QUERY']._serialized_start=3193 - _globals['_QUERY']._serialized_end=5437 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2_grpc.py deleted file mode 100644 index 583d9bda..00000000 --- a/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,478 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.distribution.v1beta1 import query_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service for distribution module. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Params = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/Params', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - self.ValidatorDistributionInfo = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/ValidatorDistributionInfo', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoResponse.FromString, - _registered_method=True) - self.ValidatorOutstandingRewards = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/ValidatorOutstandingRewards', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsResponse.FromString, - _registered_method=True) - self.ValidatorCommission = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/ValidatorCommission', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionResponse.FromString, - _registered_method=True) - self.ValidatorSlashes = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/ValidatorSlashes', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesResponse.FromString, - _registered_method=True) - self.DelegationRewards = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/DelegationRewards', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsResponse.FromString, - _registered_method=True) - self.DelegationTotalRewards = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/DelegationTotalRewards', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsResponse.FromString, - _registered_method=True) - self.DelegatorValidators = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/DelegatorValidators', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, - _registered_method=True) - self.DelegatorWithdrawAddress = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/DelegatorWithdrawAddress', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressResponse.FromString, - _registered_method=True) - self.CommunityPool = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/CommunityPool', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service for distribution module. - """ - - def Params(self, request, context): - """Params queries params of the distribution module. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ValidatorDistributionInfo(self, request, context): - """ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ValidatorOutstandingRewards(self, request, context): - """ValidatorOutstandingRewards queries rewards of a validator address. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ValidatorCommission(self, request, context): - """ValidatorCommission queries accumulated commission for a validator. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ValidatorSlashes(self, request, context): - """ValidatorSlashes queries slash events of a validator. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DelegationRewards(self, request, context): - """DelegationRewards queries the total rewards accrued by a delegation. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DelegationTotalRewards(self, request, context): - """DelegationTotalRewards queries the total rewards accrued by each - validator. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DelegatorValidators(self, request, context): - """DelegatorValidators queries the validators of a delegator. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DelegatorWithdrawAddress(self, request, context): - """DelegatorWithdrawAddress queries withdraw address of a delegator. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CommunityPool(self, request, context): - """CommunityPool queries the community pool coins. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'ValidatorDistributionInfo': grpc.unary_unary_rpc_method_handler( - servicer.ValidatorDistributionInfo, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoResponse.SerializeToString, - ), - 'ValidatorOutstandingRewards': grpc.unary_unary_rpc_method_handler( - servicer.ValidatorOutstandingRewards, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsResponse.SerializeToString, - ), - 'ValidatorCommission': grpc.unary_unary_rpc_method_handler( - servicer.ValidatorCommission, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionResponse.SerializeToString, - ), - 'ValidatorSlashes': grpc.unary_unary_rpc_method_handler( - servicer.ValidatorSlashes, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesResponse.SerializeToString, - ), - 'DelegationRewards': grpc.unary_unary_rpc_method_handler( - servicer.DelegationRewards, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsResponse.SerializeToString, - ), - 'DelegationTotalRewards': grpc.unary_unary_rpc_method_handler( - servicer.DelegationTotalRewards, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsResponse.SerializeToString, - ), - 'DelegatorValidators': grpc.unary_unary_rpc_method_handler( - servicer.DelegatorValidators, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.SerializeToString, - ), - 'DelegatorWithdrawAddress': grpc.unary_unary_rpc_method_handler( - servicer.DelegatorWithdrawAddress, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressResponse.SerializeToString, - ), - 'CommunityPool': grpc.unary_unary_rpc_method_handler( - servicer.CommunityPool, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.distribution.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.distribution.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service for distribution module. - """ - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Query/Params', - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ValidatorDistributionInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Query/ValidatorDistributionInfo', - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoRequest.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ValidatorOutstandingRewards(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Query/ValidatorOutstandingRewards', - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsRequest.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ValidatorCommission(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Query/ValidatorCommission', - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionRequest.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ValidatorSlashes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Query/ValidatorSlashes', - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesRequest.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DelegationRewards(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Query/DelegationRewards', - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsRequest.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DelegationTotalRewards(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Query/DelegationTotalRewards', - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsRequest.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DelegatorValidators(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Query/DelegatorValidators', - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DelegatorWithdrawAddress(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Query/DelegatorWithdrawAddress', - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressRequest.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CommunityPool(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Query/CommunityPool', - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolRequest.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py deleted file mode 100644 index fc830db8..00000000 --- a/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py +++ /dev/null @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/distribution/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/distribution/v1beta1/tx.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\"\xeb\x01\n\x15MsgSetWithdrawAddress\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12\x43\n\x10withdraw_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:F\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*#cosmos-sdk/MsgModifyWithdrawAddress\"\x1f\n\x1dMsgSetWithdrawAddressResponse\"\xfe\x01\n\x1aMsgWithdrawDelegatorReward\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:I\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*&cosmos-sdk/MsgWithdrawDelegationReward\"\x9f\x01\n\"MsgWithdrawDelegatorRewardResponse\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\"\xb8\x01\n\x1eMsgWithdrawValidatorCommission\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:F\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*#cosmos-sdk/MsgWithdrawValCommission\"\xa3\x01\n&MsgWithdrawValidatorCommissionResponse\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\"\x85\x02\n\x14MsgFundCommunityPool\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor::\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgFundCommunityPool\"\x1e\n\x1cMsgFundCommunityPoolResponse\"\xcd\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x46\n\x06params\x18\x02 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'cosmos-sdk/distribution/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xa3\x02\n\x15MsgCommunityPoolSpend\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x1c\n\trecipient\x18\x02 \x01(\tR\trecipient\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:9\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*&cosmos-sdk/distr/MsgCommunityPoolSpend\"\x1f\n\x1dMsgCommunityPoolSpendResponse\"\xe5\x02\n\x1eMsgDepositValidatorRewardsPool\x12\x36\n\tdepositor\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*%cosmos-sdk/distr/MsgDepositValRewards\"(\n&MsgDepositValidatorRewardsPoolResponse2\xec\x07\n\x03Msg\x12\x84\x01\n\x12SetWithdrawAddress\x12\x32.cosmos.distribution.v1beta1.MsgSetWithdrawAddress\x1a:.cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse\x12\x93\x01\n\x17WithdrawDelegatorReward\x12\x37.cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward\x1a?.cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse\x12\x9f\x01\n\x1bWithdrawValidatorCommission\x12;.cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission\x1a\x43.cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse\x12\x81\x01\n\x11\x46undCommunityPool\x12\x31.cosmos.distribution.v1beta1.MsgFundCommunityPool\x1a\x39.cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse\x12r\n\x0cUpdateParams\x12,.cosmos.distribution.v1beta1.MsgUpdateParams\x1a\x34.cosmos.distribution.v1beta1.MsgUpdateParamsResponse\x12\x84\x01\n\x12\x43ommunityPoolSpend\x12\x32.cosmos.distribution.v1beta1.MsgCommunityPoolSpend\x1a:.cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse\x12\x9f\x01\n\x1b\x44\x65positValidatorRewardsPool\x12;.cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool\x1a\x43.cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xef\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x07TxProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.distribution.v1beta1B\007TxProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001' - _globals['_MSGSETWITHDRAWADDRESS'].fields_by_name['delegator_address']._loaded_options = None - _globals['_MSGSETWITHDRAWADDRESS'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSETWITHDRAWADDRESS'].fields_by_name['withdraw_address']._loaded_options = None - _globals['_MSGSETWITHDRAWADDRESS'].fields_by_name['withdraw_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSETWITHDRAWADDRESS']._loaded_options = None - _globals['_MSGSETWITHDRAWADDRESS']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*#cosmos-sdk/MsgModifyWithdrawAddress' - _globals['_MSGWITHDRAWDELEGATORREWARD'].fields_by_name['delegator_address']._loaded_options = None - _globals['_MSGWITHDRAWDELEGATORREWARD'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGWITHDRAWDELEGATORREWARD'].fields_by_name['validator_address']._loaded_options = None - _globals['_MSGWITHDRAWDELEGATORREWARD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGWITHDRAWDELEGATORREWARD']._loaded_options = None - _globals['_MSGWITHDRAWDELEGATORREWARD']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*&cosmos-sdk/MsgWithdrawDelegationReward' - _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE'].fields_by_name['amount']._loaded_options = None - _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGWITHDRAWVALIDATORCOMMISSION'].fields_by_name['validator_address']._loaded_options = None - _globals['_MSGWITHDRAWVALIDATORCOMMISSION'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._loaded_options = None - _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*#cosmos-sdk/MsgWithdrawValCommission' - _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE'].fields_by_name['amount']._loaded_options = None - _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGFUNDCOMMUNITYPOOL'].fields_by_name['amount']._loaded_options = None - _globals['_MSGFUNDCOMMUNITYPOOL'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGFUNDCOMMUNITYPOOL'].fields_by_name['depositor']._loaded_options = None - _globals['_MSGFUNDCOMMUNITYPOOL'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGFUNDCOMMUNITYPOOL']._loaded_options = None - _globals['_MSGFUNDCOMMUNITYPOOL']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\tdepositor\212\347\260*\037cosmos-sdk/MsgFundCommunityPool' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\'cosmos-sdk/distribution/MsgUpdateParams' - _globals['_MSGCOMMUNITYPOOLSPEND'].fields_by_name['authority']._loaded_options = None - _globals['_MSGCOMMUNITYPOOLSPEND'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCOMMUNITYPOOLSPEND'].fields_by_name['amount']._loaded_options = None - _globals['_MSGCOMMUNITYPOOLSPEND'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGCOMMUNITYPOOLSPEND']._loaded_options = None - _globals['_MSGCOMMUNITYPOOLSPEND']._serialized_options = b'\202\347\260*\tauthority\212\347\260*&cosmos-sdk/distr/MsgCommunityPoolSpend' - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['depositor']._loaded_options = None - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['validator_address']._loaded_options = None - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['amount']._loaded_options = None - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL']._loaded_options = None - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\tdepositor\212\347\260*%cosmos-sdk/distr/MsgDepositValRewards' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGSETWITHDRAWADDRESS']._serialized_start=243 - _globals['_MSGSETWITHDRAWADDRESS']._serialized_end=478 - _globals['_MSGSETWITHDRAWADDRESSRESPONSE']._serialized_start=480 - _globals['_MSGSETWITHDRAWADDRESSRESPONSE']._serialized_end=511 - _globals['_MSGWITHDRAWDELEGATORREWARD']._serialized_start=514 - _globals['_MSGWITHDRAWDELEGATORREWARD']._serialized_end=768 - _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE']._serialized_start=771 - _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE']._serialized_end=930 - _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._serialized_start=933 - _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._serialized_end=1117 - _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE']._serialized_start=1120 - _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE']._serialized_end=1283 - _globals['_MSGFUNDCOMMUNITYPOOL']._serialized_start=1286 - _globals['_MSGFUNDCOMMUNITYPOOL']._serialized_end=1547 - _globals['_MSGFUNDCOMMUNITYPOOLRESPONSE']._serialized_start=1549 - _globals['_MSGFUNDCOMMUNITYPOOLRESPONSE']._serialized_end=1579 - _globals['_MSGUPDATEPARAMS']._serialized_start=1582 - _globals['_MSGUPDATEPARAMS']._serialized_end=1787 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1789 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1814 - _globals['_MSGCOMMUNITYPOOLSPEND']._serialized_start=1817 - _globals['_MSGCOMMUNITYPOOLSPEND']._serialized_end=2108 - _globals['_MSGCOMMUNITYPOOLSPENDRESPONSE']._serialized_start=2110 - _globals['_MSGCOMMUNITYPOOLSPENDRESPONSE']._serialized_end=2141 - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL']._serialized_start=2144 - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL']._serialized_end=2501 - _globals['_MSGDEPOSITVALIDATORREWARDSPOOLRESPONSE']._serialized_start=2503 - _globals['_MSGDEPOSITVALIDATORREWARDSPOOLRESPONSE']._serialized_end=2543 - _globals['_MSG']._serialized_start=2546 - _globals['_MSG']._serialized_end=3550 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index 57ae313a..00000000 --- a/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,360 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.distribution.v1beta1 import tx_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the distribution Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.SetWithdrawAddress = channel.unary_unary( - '/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddress.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddressResponse.FromString, - _registered_method=True) - self.WithdrawDelegatorReward = channel.unary_unary( - '/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorReward.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorRewardResponse.FromString, - _registered_method=True) - self.WithdrawValidatorCommission = channel.unary_unary( - '/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommission.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommissionResponse.FromString, - _registered_method=True) - self.FundCommunityPool = channel.unary_unary( - '/cosmos.distribution.v1beta1.Msg/FundCommunityPool', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPool.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPoolResponse.FromString, - _registered_method=True) - self.UpdateParams = channel.unary_unary( - '/cosmos.distribution.v1beta1.Msg/UpdateParams', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - self.CommunityPoolSpend = channel.unary_unary( - '/cosmos.distribution.v1beta1.Msg/CommunityPoolSpend', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpend.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpendResponse.FromString, - _registered_method=True) - self.DepositValidatorRewardsPool = channel.unary_unary( - '/cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPool.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPoolResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the distribution Msg service. - """ - - def SetWithdrawAddress(self, request, context): - """SetWithdrawAddress defines a method to change the withdraw address - for a delegator (or validator self-delegation). - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def WithdrawDelegatorReward(self, request, context): - """WithdrawDelegatorReward defines a method to withdraw rewards of delegator - from a single validator. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def WithdrawValidatorCommission(self, request, context): - """WithdrawValidatorCommission defines a method to withdraw the - full commission to the validator address. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def FundCommunityPool(self, request, context): - """FundCommunityPool defines a method to allow an account to directly - fund the community pool. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """UpdateParams defines a governance operation for updating the x/distribution - module parameters. The authority is defined in the keeper. - - Since: cosmos-sdk 0.47 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CommunityPoolSpend(self, request, context): - """CommunityPoolSpend defines a governance operation for sending tokens from - the community pool in the x/distribution module to another account, which - could be the governance module itself. The authority is defined in the - keeper. - - Since: cosmos-sdk 0.47 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DepositValidatorRewardsPool(self, request, context): - """DepositValidatorRewardsPool defines a method to provide additional rewards - to delegators to a specific validator. - - Since: cosmos-sdk 0.50 - """ - 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 = { - 'SetWithdrawAddress': grpc.unary_unary_rpc_method_handler( - servicer.SetWithdrawAddress, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddress.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddressResponse.SerializeToString, - ), - 'WithdrawDelegatorReward': grpc.unary_unary_rpc_method_handler( - servicer.WithdrawDelegatorReward, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorReward.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorRewardResponse.SerializeToString, - ), - 'WithdrawValidatorCommission': grpc.unary_unary_rpc_method_handler( - servicer.WithdrawValidatorCommission, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommission.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommissionResponse.SerializeToString, - ), - 'FundCommunityPool': grpc.unary_unary_rpc_method_handler( - servicer.FundCommunityPool, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPool.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPoolResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'CommunityPoolSpend': grpc.unary_unary_rpc_method_handler( - servicer.CommunityPoolSpend, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpend.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpendResponse.SerializeToString, - ), - 'DepositValidatorRewardsPool': grpc.unary_unary_rpc_method_handler( - servicer.DepositValidatorRewardsPool, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPool.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPoolResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.distribution.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.distribution.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the distribution Msg service. - """ - - @staticmethod - def SetWithdrawAddress(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress', - cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddress.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddressResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def WithdrawDelegatorReward(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward', - cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorReward.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorRewardResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def WithdrawValidatorCommission(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission', - cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommission.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommissionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def FundCommunityPool(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Msg/FundCommunityPool', - cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPool.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPoolResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Msg/UpdateParams', - cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CommunityPoolSpend(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Msg/CommunityPoolSpend', - cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpend.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpendResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DepositValidatorRewardsPool(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool', - cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPool.SerializeToString, - cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPoolResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py b/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py deleted file mode 100644 index 8cf95a40..00000000 --- a/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/evidence/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/evidence/module/v1/module.proto\x12\x19\x63osmos.evidence.module.v1\x1a cosmos/app/v1alpha1/module.proto\")\n\x06Module:\x1f\xba\xc0\x96\xda\x01\x19\n\x17\x63osmossdk.io/x/evidenceB\xb3\x01\n\x1d\x63om.cosmos.evidence.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x45M\xaa\x02\x19\x43osmos.Evidence.Module.V1\xca\x02\x19\x43osmos\\Evidence\\Module\\V1\xe2\x02%Cosmos\\Evidence\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Evidence::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.evidence.module.v1B\013ModuleProtoP\001\242\002\003CEM\252\002\031Cosmos.Evidence.Module.V1\312\002\031Cosmos\\Evidence\\Module\\V1\342\002%Cosmos\\Evidence\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Evidence::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\031\n\027cosmossdk.io/x/evidence' - _globals['_MODULE']._serialized_start=103 - _globals['_MODULE']._serialized_end=144 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/evidence/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/evidence/v1beta1/evidence_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2.py deleted file mode 100644 index 69b76c34..00000000 --- a/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2.py +++ /dev/null @@ -1,37 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/evidence/v1beta1/evidence.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/evidence/v1beta1/evidence.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xe8\x01\n\x0c\x45quivocation\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12=\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12\x14\n\x05power\x18\x03 \x01(\x03R\x05power\x12\x45\n\x11\x63onsensus_address\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x63onsensusAddress:$\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x8a\xe7\xb0*\x17\x63osmos-sdk/EquivocationB\xcd\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\rEvidenceProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.evidence_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.evidence.v1beta1B\rEvidenceProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1\250\342\036\001' - _globals['_EQUIVOCATION'].fields_by_name['time']._loaded_options = None - _globals['_EQUIVOCATION'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_EQUIVOCATION'].fields_by_name['consensus_address']._loaded_options = None - _globals['_EQUIVOCATION'].fields_by_name['consensus_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EQUIVOCATION']._loaded_options = None - _globals['_EQUIVOCATION']._serialized_options = b'\210\240\037\000\350\240\037\000\212\347\260*\027cosmos-sdk/Equivocation' - _globals['_EQUIVOCATION']._serialized_start=169 - _globals['_EQUIVOCATION']._serialized_end=401 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/evidence/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2.py deleted file mode 100644 index 8e90b025..00000000 --- a/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,28 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/evidence/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/evidence/v1beta1/genesis.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x19google/protobuf/any.proto\"@\n\x0cGenesisState\x12\x30\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x65videnceB\xc8\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\x0cGenesisProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.evidence.v1beta1B\014GenesisProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1' - _globals['_GENESISSTATE']._serialized_start=93 - _globals['_GENESISSTATE']._serialized_end=157 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/evidence/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2.py deleted file mode 100644 index 1879ef40..00000000 --- a/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2.py +++ /dev/null @@ -1,44 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/evidence/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/evidence/v1beta1/query.proto\x12\x17\x63osmos.evidence.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\"S\n\x14QueryEvidenceRequest\x12\'\n\revidence_hash\x18\x01 \x01(\x0c\x42\x02\x18\x01R\x0c\x65videnceHash\x12\x12\n\x04hash\x18\x02 \x01(\tR\x04hash\"I\n\x15QueryEvidenceResponse\x12\x30\n\x08\x65vidence\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x08\x65vidence\"a\n\x17QueryAllEvidenceRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x95\x01\n\x18QueryAllEvidenceResponse\x12\x30\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x65vidence\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xc5\x02\n\x05Query\x12\x9b\x01\n\x08\x45vidence\x12-.cosmos.evidence.v1beta1.QueryEvidenceRequest\x1a..cosmos.evidence.v1beta1.QueryEvidenceResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/evidence/v1beta1/evidence/{hash}\x12\x9d\x01\n\x0b\x41llEvidence\x12\x30.cosmos.evidence.v1beta1.QueryAllEvidenceRequest\x1a\x31.cosmos.evidence.v1beta1.QueryAllEvidenceResponse\")\x82\xd3\xe4\x93\x02#\x12!/cosmos/evidence/v1beta1/evidenceB\xc6\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\nQueryProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.evidence.v1beta1B\nQueryProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1' - _globals['_QUERYEVIDENCEREQUEST'].fields_by_name['evidence_hash']._loaded_options = None - _globals['_QUERYEVIDENCEREQUEST'].fields_by_name['evidence_hash']._serialized_options = b'\030\001' - _globals['_QUERY'].methods_by_name['Evidence']._loaded_options = None - _globals['_QUERY'].methods_by_name['Evidence']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/evidence/v1beta1/evidence/{hash}' - _globals['_QUERY'].methods_by_name['AllEvidence']._loaded_options = None - _globals['_QUERY'].methods_by_name['AllEvidence']._serialized_options = b'\202\323\344\223\002#\022!/cosmos/evidence/v1beta1/evidence' - _globals['_QUERYEVIDENCEREQUEST']._serialized_start=165 - _globals['_QUERYEVIDENCEREQUEST']._serialized_end=248 - _globals['_QUERYEVIDENCERESPONSE']._serialized_start=250 - _globals['_QUERYEVIDENCERESPONSE']._serialized_end=323 - _globals['_QUERYALLEVIDENCEREQUEST']._serialized_start=325 - _globals['_QUERYALLEVIDENCEREQUEST']._serialized_end=422 - _globals['_QUERYALLEVIDENCERESPONSE']._serialized_start=425 - _globals['_QUERYALLEVIDENCERESPONSE']._serialized_end=574 - _globals['_QUERY']._serialized_start=577 - _globals['_QUERY']._serialized_end=902 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2_grpc.py deleted file mode 100644 index 879e2663..00000000 --- a/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,125 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.evidence.v1beta1 import query_pb2 as cosmos_dot_evidence_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Evidence = channel.unary_unary( - '/cosmos.evidence.v1beta1.Query/Evidence', - request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceRequest.SerializeToString, - response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceResponse.FromString, - _registered_method=True) - self.AllEvidence = channel.unary_unary( - '/cosmos.evidence.v1beta1.Query/AllEvidence', - request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceRequest.SerializeToString, - response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service. - """ - - def Evidence(self, request, context): - """Evidence queries evidence based on evidence hash. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AllEvidence(self, request, context): - """AllEvidence queries all evidence. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Evidence': grpc.unary_unary_rpc_method_handler( - servicer.Evidence, - request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceRequest.FromString, - response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceResponse.SerializeToString, - ), - 'AllEvidence': grpc.unary_unary_rpc_method_handler( - servicer.AllEvidence, - request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceRequest.FromString, - response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.evidence.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.evidence.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service. - """ - - @staticmethod - def Evidence(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.evidence.v1beta1.Query/Evidence', - cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceRequest.SerializeToString, - cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AllEvidence(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.evidence.v1beta1.Query/AllEvidence', - cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceRequest.SerializeToString, - cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py deleted file mode 100644 index 41809b0f..00000000 --- a/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py +++ /dev/null @@ -1,44 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/evidence/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/evidence/v1beta1/tx.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xdc\x01\n\x11MsgSubmitEvidence\x12\x36\n\tsubmitter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tsubmitter\x12V\n\x08\x65vidence\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB$\xca\xb4- cosmos.evidence.v1beta1.EvidenceR\x08\x65vidence:7\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tsubmitter\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSubmitEvidence\"/\n\x19MsgSubmitEvidenceResponse\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash2~\n\x03Msg\x12p\n\x0eSubmitEvidence\x12*.cosmos.evidence.v1beta1.MsgSubmitEvidence\x1a\x32.cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc7\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\x07TxProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.evidence.v1beta1B\007TxProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1\250\342\036\001' - _globals['_MSGSUBMITEVIDENCE'].fields_by_name['submitter']._loaded_options = None - _globals['_MSGSUBMITEVIDENCE'].fields_by_name['submitter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSUBMITEVIDENCE'].fields_by_name['evidence']._loaded_options = None - _globals['_MSGSUBMITEVIDENCE'].fields_by_name['evidence']._serialized_options = b'\312\264- cosmos.evidence.v1beta1.Evidence' - _globals['_MSGSUBMITEVIDENCE']._loaded_options = None - _globals['_MSGSUBMITEVIDENCE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\tsubmitter\212\347\260*\034cosmos-sdk/MsgSubmitEvidence' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGSUBMITEVIDENCE']._serialized_start=182 - _globals['_MSGSUBMITEVIDENCE']._serialized_end=402 - _globals['_MSGSUBMITEVIDENCERESPONSE']._serialized_start=404 - _globals['_MSGSUBMITEVIDENCERESPONSE']._serialized_end=451 - _globals['_MSG']._serialized_start=453 - _globals['_MSG']._serialized_end=579 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index 404c0f89..00000000 --- a/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,82 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.evidence.v1beta1 import tx_pb2 as cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the evidence Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.SubmitEvidence = channel.unary_unary( - '/cosmos.evidence.v1beta1.Msg/SubmitEvidence', - request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidence.SerializeToString, - response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidenceResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the evidence Msg service. - """ - - def SubmitEvidence(self, request, context): - """SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or - counterfactual signing. - """ - 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 = { - 'SubmitEvidence': grpc.unary_unary_rpc_method_handler( - servicer.SubmitEvidence, - request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidence.FromString, - response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidenceResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.evidence.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.evidence.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the evidence Msg service. - """ - - @staticmethod - def SubmitEvidence(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.evidence.v1beta1.Msg/SubmitEvidence', - cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidence.SerializeToString, - cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidenceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py b/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py deleted file mode 100644 index ea894938..00000000 --- a/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/feegrant/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/feegrant/module/v1/module.proto\x12\x19\x63osmos.feegrant.module.v1\x1a cosmos/app/v1alpha1/module.proto\")\n\x06Module:\x1f\xba\xc0\x96\xda\x01\x19\n\x17\x63osmossdk.io/x/feegrantB\xb3\x01\n\x1d\x63om.cosmos.feegrant.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x46M\xaa\x02\x19\x43osmos.Feegrant.Module.V1\xca\x02\x19\x43osmos\\Feegrant\\Module\\V1\xe2\x02%Cosmos\\Feegrant\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Feegrant::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.feegrant.module.v1B\013ModuleProtoP\001\242\002\003CFM\252\002\031Cosmos.Feegrant.Module.V1\312\002\031Cosmos\\Feegrant\\Module\\V1\342\002%Cosmos\\Feegrant\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Feegrant::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\031\n\027cosmossdk.io/x/feegrant' - _globals['_MODULE']._serialized_start=103 - _globals['_MODULE']._serialized_end=144 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/feegrant/v1beta1/feegrant_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2.py deleted file mode 100644 index 66be48b5..00000000 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2.py +++ /dev/null @@ -1,68 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/feegrant/v1beta1/feegrant.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/feegrant/v1beta1/feegrant.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\"\xa0\x02\n\x0e\x42\x61sicAllowance\x12\x82\x01\n\x0bspend_limit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\nspendLimit\x12@\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nexpiration:G\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x19\x63osmos-sdk/BasicAllowance\"\xd9\x04\n\x11PeriodicAllowance\x12H\n\x05\x62\x61sic\x18\x01 \x01(\x0b\x32\'.cosmos.feegrant.v1beta1.BasicAllowanceB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05\x62\x61sic\x12@\n\x06period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x06period\x12\x8f\x01\n\x12period_spend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x10periodSpendLimit\x12\x8b\x01\n\x10period_can_spend\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0eperiodCanSpend\x12L\n\x0cperiod_reset\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0bperiodReset:J\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x1c\x63osmos-sdk/PeriodicAllowance\"\xf1\x01\n\x13\x41llowedMsgAllowance\x12]\n\tallowance\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowance\x12)\n\x10\x61llowed_messages\x18\x02 \x03(\tR\x0f\x61llowedMessages:P\x88\xa0\x1f\x00\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x1e\x63osmos-sdk/AllowedMsgAllowance\"\xce\x01\n\x05Grant\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12]\n\tallowance\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowanceB\xc3\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\rFeegrantProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.feegrant_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.feegrant.v1beta1B\rFeegrantProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1' - _globals['_BASICALLOWANCE'].fields_by_name['spend_limit']._loaded_options = None - _globals['_BASICALLOWANCE'].fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_BASICALLOWANCE'].fields_by_name['expiration']._loaded_options = None - _globals['_BASICALLOWANCE'].fields_by_name['expiration']._serialized_options = b'\220\337\037\001' - _globals['_BASICALLOWANCE']._loaded_options = None - _globals['_BASICALLOWANCE']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\031cosmos-sdk/BasicAllowance' - _globals['_PERIODICALLOWANCE'].fields_by_name['basic']._loaded_options = None - _globals['_PERIODICALLOWANCE'].fields_by_name['basic']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PERIODICALLOWANCE'].fields_by_name['period']._loaded_options = None - _globals['_PERIODICALLOWANCE'].fields_by_name['period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' - _globals['_PERIODICALLOWANCE'].fields_by_name['period_spend_limit']._loaded_options = None - _globals['_PERIODICALLOWANCE'].fields_by_name['period_spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_PERIODICALLOWANCE'].fields_by_name['period_can_spend']._loaded_options = None - _globals['_PERIODICALLOWANCE'].fields_by_name['period_can_spend']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_PERIODICALLOWANCE'].fields_by_name['period_reset']._loaded_options = None - _globals['_PERIODICALLOWANCE'].fields_by_name['period_reset']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_PERIODICALLOWANCE']._loaded_options = None - _globals['_PERIODICALLOWANCE']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\034cosmos-sdk/PeriodicAllowance' - _globals['_ALLOWEDMSGALLOWANCE'].fields_by_name['allowance']._loaded_options = None - _globals['_ALLOWEDMSGALLOWANCE'].fields_by_name['allowance']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI' - _globals['_ALLOWEDMSGALLOWANCE']._loaded_options = None - _globals['_ALLOWEDMSGALLOWANCE']._serialized_options = b'\210\240\037\000\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\036cosmos-sdk/AllowedMsgAllowance' - _globals['_GRANT'].fields_by_name['granter']._loaded_options = None - _globals['_GRANT'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_GRANT'].fields_by_name['grantee']._loaded_options = None - _globals['_GRANT'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_GRANT'].fields_by_name['allowance']._loaded_options = None - _globals['_GRANT'].fields_by_name['allowance']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI' - _globals['_BASICALLOWANCE']._serialized_start=260 - _globals['_BASICALLOWANCE']._serialized_end=548 - _globals['_PERIODICALLOWANCE']._serialized_start=551 - _globals['_PERIODICALLOWANCE']._serialized_end=1152 - _globals['_ALLOWEDMSGALLOWANCE']._serialized_start=1155 - _globals['_ALLOWEDMSGALLOWANCE']._serialized_end=1396 - _globals['_GRANT']._serialized_start=1399 - _globals['_GRANT']._serialized_end=1605 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/feegrant/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2.py deleted file mode 100644 index 29d7e2ff..00000000 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/feegrant/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.feegrant.v1beta1 import feegrant_pb2 as cosmos_dot_feegrant_dot_v1beta1_dot_feegrant__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/feegrant/v1beta1/genesis.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/feegrant/v1beta1/feegrant.proto\x1a\x11\x61mino/amino.proto\"Y\n\x0cGenesisState\x12I\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nallowancesB\xc2\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\x0cGenesisProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.feegrant.v1beta1B\014GenesisProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['allowances']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['allowances']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE']._serialized_start=147 - _globals['_GENESISSTATE']._serialized_end=236 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/feegrant/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2.py deleted file mode 100644 index c81182e8..00000000 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2.py +++ /dev/null @@ -1,57 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/feegrant/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.feegrant.v1beta1 import feegrant_pb2 as cosmos_dot_feegrant_dot_v1beta1_dot_feegrant__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/feegrant/v1beta1/query.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a&cosmos/feegrant/v1beta1/feegrant.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x7f\n\x15QueryAllowanceRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\"V\n\x16QueryAllowanceResponse\x12<\n\tallowance\x18\x01 \x01(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\tallowance\"\x94\x01\n\x16QueryAllowancesRequest\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa2\x01\n\x17QueryAllowancesResponse\x12>\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\nallowances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x9d\x01\n\x1fQueryAllowancesByGranterRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xab\x01\n QueryAllowancesByGranterResponse\x12>\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\nallowances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\x9f\x04\n\x05Query\x12\xac\x01\n\tAllowance\x12..cosmos.feegrant.v1beta1.QueryAllowanceRequest\x1a/.cosmos.feegrant.v1beta1.QueryAllowanceResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}\x12\xa6\x01\n\nAllowances\x12/.cosmos.feegrant.v1beta1.QueryAllowancesRequest\x1a\x30.cosmos.feegrant.v1beta1.QueryAllowancesResponse\"5\x82\xd3\xe4\x93\x02/\x12-/cosmos/feegrant/v1beta1/allowances/{grantee}\x12\xbd\x01\n\x13\x41llowancesByGranter\x12\x38.cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest\x1a\x39.cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/feegrant/v1beta1/issued/{granter}B\xc0\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\nQueryProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.feegrant.v1beta1B\nQueryProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1' - _globals['_QUERYALLOWANCEREQUEST'].fields_by_name['granter']._loaded_options = None - _globals['_QUERYALLOWANCEREQUEST'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYALLOWANCEREQUEST'].fields_by_name['grantee']._loaded_options = None - _globals['_QUERYALLOWANCEREQUEST'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYALLOWANCESREQUEST'].fields_by_name['grantee']._loaded_options = None - _globals['_QUERYALLOWANCESREQUEST'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYALLOWANCESBYGRANTERREQUEST'].fields_by_name['granter']._loaded_options = None - _globals['_QUERYALLOWANCESBYGRANTERREQUEST'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERY'].methods_by_name['Allowance']._loaded_options = None - _globals['_QUERY'].methods_by_name['Allowance']._serialized_options = b'\202\323\344\223\0028\0226/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}' - _globals['_QUERY'].methods_by_name['Allowances']._loaded_options = None - _globals['_QUERY'].methods_by_name['Allowances']._serialized_options = b'\202\323\344\223\002/\022-/cosmos/feegrant/v1beta1/allowances/{grantee}' - _globals['_QUERY'].methods_by_name['AllowancesByGranter']._loaded_options = None - _globals['_QUERY'].methods_by_name['AllowancesByGranter']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/feegrant/v1beta1/issued/{granter}' - _globals['_QUERYALLOWANCEREQUEST']._serialized_start=205 - _globals['_QUERYALLOWANCEREQUEST']._serialized_end=332 - _globals['_QUERYALLOWANCERESPONSE']._serialized_start=334 - _globals['_QUERYALLOWANCERESPONSE']._serialized_end=420 - _globals['_QUERYALLOWANCESREQUEST']._serialized_start=423 - _globals['_QUERYALLOWANCESREQUEST']._serialized_end=571 - _globals['_QUERYALLOWANCESRESPONSE']._serialized_start=574 - _globals['_QUERYALLOWANCESRESPONSE']._serialized_end=736 - _globals['_QUERYALLOWANCESBYGRANTERREQUEST']._serialized_start=739 - _globals['_QUERYALLOWANCESBYGRANTERREQUEST']._serialized_end=896 - _globals['_QUERYALLOWANCESBYGRANTERRESPONSE']._serialized_start=899 - _globals['_QUERYALLOWANCESBYGRANTERRESPONSE']._serialized_end=1070 - _globals['_QUERY']._serialized_start=1073 - _globals['_QUERY']._serialized_end=1616 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2_grpc.py deleted file mode 100644 index e5f502ad..00000000 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,171 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.feegrant.v1beta1 import query_pb2 as cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Allowance = channel.unary_unary( - '/cosmos.feegrant.v1beta1.Query/Allowance', - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceRequest.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceResponse.FromString, - _registered_method=True) - self.Allowances = channel.unary_unary( - '/cosmos.feegrant.v1beta1.Query/Allowances', - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesRequest.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesResponse.FromString, - _registered_method=True) - self.AllowancesByGranter = channel.unary_unary( - '/cosmos.feegrant.v1beta1.Query/AllowancesByGranter', - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterRequest.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service. - """ - - def Allowance(self, request, context): - """Allowance returns granted allwance to the grantee by the granter. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Allowances(self, request, context): - """Allowances returns all the grants for the given grantee address. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AllowancesByGranter(self, request, context): - """AllowancesByGranter returns all the grants given by an address - - Since: cosmos-sdk 0.46 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Allowance': grpc.unary_unary_rpc_method_handler( - servicer.Allowance, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceRequest.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceResponse.SerializeToString, - ), - 'Allowances': grpc.unary_unary_rpc_method_handler( - servicer.Allowances, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesRequest.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesResponse.SerializeToString, - ), - 'AllowancesByGranter': grpc.unary_unary_rpc_method_handler( - servicer.AllowancesByGranter, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterRequest.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.feegrant.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.feegrant.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service. - """ - - @staticmethod - def Allowance(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.feegrant.v1beta1.Query/Allowance', - cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceRequest.SerializeToString, - cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Allowances(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.feegrant.v1beta1.Query/Allowances', - cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesRequest.SerializeToString, - cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AllowancesByGranter(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.feegrant.v1beta1.Query/AllowancesByGranter', - cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterRequest.SerializeToString, - cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py deleted file mode 100644 index d6d08cb8..00000000 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py +++ /dev/null @@ -1,63 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/feegrant/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/feegrant/v1beta1/tx.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\x89\x02\n\x11MsgGrantAllowance\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12]\n\tallowance\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowance:-\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgGrantAllowance\"\x1b\n\x19MsgGrantAllowanceResponse\"\xac\x01\n\x12MsgRevokeAllowance\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee:.\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgRevokeAllowance\"\x1c\n\x1aMsgRevokeAllowanceResponse\"S\n\x12MsgPruneAllowances\x12\x30\n\x06pruner\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06pruner:\x0b\x82\xe7\xb0*\x06pruner\"\x1c\n\x1aMsgPruneAllowancesResponse2\xe8\x02\n\x03Msg\x12p\n\x0eGrantAllowance\x12*.cosmos.feegrant.v1beta1.MsgGrantAllowance\x1a\x32.cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse\x12s\n\x0fRevokeAllowance\x12+.cosmos.feegrant.v1beta1.MsgRevokeAllowance\x1a\x33.cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse\x12s\n\x0fPruneAllowances\x12+.cosmos.feegrant.v1beta1.MsgPruneAllowances\x1a\x33.cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\x07TxProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.feegrant.v1beta1B\007TxProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1' - _globals['_MSGGRANTALLOWANCE'].fields_by_name['granter']._loaded_options = None - _globals['_MSGGRANTALLOWANCE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGGRANTALLOWANCE'].fields_by_name['grantee']._loaded_options = None - _globals['_MSGGRANTALLOWANCE'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGGRANTALLOWANCE'].fields_by_name['allowance']._loaded_options = None - _globals['_MSGGRANTALLOWANCE'].fields_by_name['allowance']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI' - _globals['_MSGGRANTALLOWANCE']._loaded_options = None - _globals['_MSGGRANTALLOWANCE']._serialized_options = b'\202\347\260*\007granter\212\347\260*\034cosmos-sdk/MsgGrantAllowance' - _globals['_MSGREVOKEALLOWANCE'].fields_by_name['granter']._loaded_options = None - _globals['_MSGREVOKEALLOWANCE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGREVOKEALLOWANCE'].fields_by_name['grantee']._loaded_options = None - _globals['_MSGREVOKEALLOWANCE'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGREVOKEALLOWANCE']._loaded_options = None - _globals['_MSGREVOKEALLOWANCE']._serialized_options = b'\202\347\260*\007granter\212\347\260*\035cosmos-sdk/MsgRevokeAllowance' - _globals['_MSGPRUNEALLOWANCES'].fields_by_name['pruner']._loaded_options = None - _globals['_MSGPRUNEALLOWANCES'].fields_by_name['pruner']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGPRUNEALLOWANCES']._loaded_options = None - _globals['_MSGPRUNEALLOWANCES']._serialized_options = b'\202\347\260*\006pruner' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGGRANTALLOWANCE']._serialized_start=160 - _globals['_MSGGRANTALLOWANCE']._serialized_end=425 - _globals['_MSGGRANTALLOWANCERESPONSE']._serialized_start=427 - _globals['_MSGGRANTALLOWANCERESPONSE']._serialized_end=454 - _globals['_MSGREVOKEALLOWANCE']._serialized_start=457 - _globals['_MSGREVOKEALLOWANCE']._serialized_end=629 - _globals['_MSGREVOKEALLOWANCERESPONSE']._serialized_start=631 - _globals['_MSGREVOKEALLOWANCERESPONSE']._serialized_end=659 - _globals['_MSGPRUNEALLOWANCES']._serialized_start=661 - _globals['_MSGPRUNEALLOWANCES']._serialized_end=744 - _globals['_MSGPRUNEALLOWANCESRESPONSE']._serialized_start=746 - _globals['_MSGPRUNEALLOWANCESRESPONSE']._serialized_end=774 - _globals['_MSG']._serialized_start=777 - _globals['_MSG']._serialized_end=1137 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index 86ab0ccc..00000000 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,173 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.feegrant.v1beta1 import tx_pb2 as cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the feegrant msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GrantAllowance = channel.unary_unary( - '/cosmos.feegrant.v1beta1.Msg/GrantAllowance', - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowance.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowanceResponse.FromString, - _registered_method=True) - self.RevokeAllowance = channel.unary_unary( - '/cosmos.feegrant.v1beta1.Msg/RevokeAllowance', - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowance.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowanceResponse.FromString, - _registered_method=True) - self.PruneAllowances = channel.unary_unary( - '/cosmos.feegrant.v1beta1.Msg/PruneAllowances', - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowances.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowancesResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the feegrant msg service. - """ - - def GrantAllowance(self, request, context): - """GrantAllowance grants fee allowance to the grantee on the granter's - account with the provided expiration time. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RevokeAllowance(self, request, context): - """RevokeAllowance revokes any fee allowance of granter's account that - has been granted to the grantee. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PruneAllowances(self, request, context): - """PruneAllowances prunes expired fee allowances, currently up to 75 at a time. - - Since cosmos-sdk 0.50 - """ - 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 = { - 'GrantAllowance': grpc.unary_unary_rpc_method_handler( - servicer.GrantAllowance, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowance.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowanceResponse.SerializeToString, - ), - 'RevokeAllowance': grpc.unary_unary_rpc_method_handler( - servicer.RevokeAllowance, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowance.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowanceResponse.SerializeToString, - ), - 'PruneAllowances': grpc.unary_unary_rpc_method_handler( - servicer.PruneAllowances, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowances.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowancesResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.feegrant.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.feegrant.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the feegrant msg service. - """ - - @staticmethod - def GrantAllowance(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.feegrant.v1beta1.Msg/GrantAllowance', - cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowance.SerializeToString, - cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowanceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def RevokeAllowance(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.feegrant.v1beta1.Msg/RevokeAllowance', - cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowance.SerializeToString, - cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowanceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PruneAllowances(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.feegrant.v1beta1.Msg/PruneAllowances', - cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowances.SerializeToString, - cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowancesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py b/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py deleted file mode 100644 index 35d5b23f..00000000 --- a/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/genutil/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/genutil/module/v1/module.proto\x12\x18\x63osmos.genutil.module.v1\x1a cosmos/app/v1alpha1/module.proto\"8\n\x06Module:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/genutilB\xae\x01\n\x1c\x63om.cosmos.genutil.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x18\x43osmos.Genutil.Module.V1\xca\x02\x18\x43osmos\\Genutil\\Module\\V1\xe2\x02$Cosmos\\Genutil\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Genutil::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.genutil.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.genutil.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\030Cosmos.Genutil.Module.V1\312\002\030Cosmos\\Genutil\\Module\\V1\342\002$Cosmos\\Genutil\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Genutil::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/genutil' - _globals['_MODULE']._serialized_start=101 - _globals['_MODULE']._serialized_end=157 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/genutil/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/genutil/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/genutil/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/genutil/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2.py deleted file mode 100644 index c9247007..00000000 --- a/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/genutil/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/genutil/v1beta1/genesis.proto\x12\x16\x63osmos.genutil.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"_\n\x0cGenesisState\x12O\n\x07gen_txs\x18\x01 \x03(\x0c\x42\x36\xea\xde\x1f\x06gentxs\xfa\xde\x1f\x18\x65ncoding/json.RawMessage\xa2\xe7\xb0*\x06gentxs\xa8\xe7\xb0*\x01R\x06genTxsB\xd2\x01\n\x1a\x63om.cosmos.genutil.v1beta1B\x0cGenesisProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/genutil/types\xa2\x02\x03\x43GX\xaa\x02\x16\x43osmos.Genutil.V1beta1\xca\x02\x16\x43osmos\\Genutil\\V1beta1\xe2\x02\"Cosmos\\Genutil\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Genutil::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.genutil.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.genutil.v1beta1B\014GenesisProtoP\001Z,github.com/cosmos/cosmos-sdk/x/genutil/types\242\002\003CGX\252\002\026Cosmos.Genutil.V1beta1\312\002\026Cosmos\\Genutil\\V1beta1\342\002\"Cosmos\\Genutil\\V1beta1\\GPBMetadata\352\002\030Cosmos::Genutil::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['gen_txs']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['gen_txs']._serialized_options = b'\352\336\037\006gentxs\372\336\037\030encoding/json.RawMessage\242\347\260*\006gentxs\250\347\260*\001' - _globals['_GENESISSTATE']._serialized_start=105 - _globals['_GENESISSTATE']._serialized_end=200 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/gov/module/v1/module_pb2.py b/pyinjective/proto/cosmos/gov/module/v1/module_pb2.py deleted file mode 100644 index 114e7982..00000000 --- a/pyinjective/proto/cosmos/gov/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/gov/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/gov/module/v1/module.proto\x12\x14\x63osmos.gov.module.v1\x1a cosmos/app/v1alpha1/module.proto\"|\n\x06Module\x12(\n\x10max_metadata_len\x18\x01 \x01(\x04R\x0emaxMetadataLen\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:*\xba\xc0\x96\xda\x01$\n\"github.com/cosmos/cosmos-sdk/x/govB\x9a\x01\n\x18\x63om.cosmos.gov.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x14\x43osmos.Gov.Module.V1\xca\x02\x14\x43osmos\\Gov\\Module\\V1\xe2\x02 Cosmos\\Gov\\Module\\V1\\GPBMetadata\xea\x02\x17\x43osmos::Gov::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.gov.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\024Cosmos.Gov.Module.V1\312\002\024Cosmos\\Gov\\Module\\V1\342\002 Cosmos\\Gov\\Module\\V1\\GPBMetadata\352\002\027Cosmos::Gov::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001$\n\"github.com/cosmos/cosmos-sdk/x/gov' - _globals['_MODULE']._serialized_start=93 - _globals['_MODULE']._serialized_end=217 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/gov/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/gov/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/gov/v1/genesis_pb2.py b/pyinjective/proto/cosmos/gov/v1/genesis_pb2.py deleted file mode 100644 index 72ccf1db..00000000 --- a/pyinjective/proto/cosmos/gov/v1/genesis_pb2.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/gov/v1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.gov.v1 import gov_pb2 as cosmos_dot_gov_dot_v1_dot_gov__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/gov/v1/genesis.proto\x12\rcosmos.gov.v1\x1a\x17\x63osmos/gov/v1/gov.proto\"\xfb\x03\n\x0cGenesisState\x12\x30\n\x14starting_proposal_id\x18\x01 \x01(\x04R\x12startingProposalId\x12\x32\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32\x16.cosmos.gov.v1.DepositR\x08\x64\x65posits\x12)\n\x05votes\x18\x03 \x03(\x0b\x32\x13.cosmos.gov.v1.VoteR\x05votes\x12\x35\n\tproposals\x18\x04 \x03(\x0b\x32\x17.cosmos.gov.v1.ProposalR\tproposals\x12G\n\x0e\x64\x65posit_params\x18\x05 \x01(\x0b\x32\x1c.cosmos.gov.v1.DepositParamsB\x02\x18\x01R\rdepositParams\x12\x44\n\rvoting_params\x18\x06 \x01(\x0b\x32\x1b.cosmos.gov.v1.VotingParamsB\x02\x18\x01R\x0cvotingParams\x12\x41\n\x0ctally_params\x18\x07 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyParamsB\x02\x18\x01R\x0btallyParams\x12-\n\x06params\x18\x08 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsR\x06params\x12\"\n\x0c\x63onstitution\x18\t \x01(\tR\x0c\x63onstitutionB\xa4\x01\n\x11\x63om.cosmos.gov.v1B\x0cGenesisProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.gov.v1B\014GenesisProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1' - _globals['_GENESISSTATE'].fields_by_name['deposit_params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['deposit_params']._serialized_options = b'\030\001' - _globals['_GENESISSTATE'].fields_by_name['voting_params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['voting_params']._serialized_options = b'\030\001' - _globals['_GENESISSTATE'].fields_by_name['tally_params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['tally_params']._serialized_options = b'\030\001' - _globals['_GENESISSTATE']._serialized_start=72 - _globals['_GENESISSTATE']._serialized_end=579 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/gov/v1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/gov/v1/gov_pb2.py b/pyinjective/proto/cosmos/gov/v1/gov_pb2.py deleted file mode 100644 index fe84d91f..00000000 --- a/pyinjective/proto/cosmos/gov/v1/gov_pb2.py +++ /dev/null @@ -1,126 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/gov/v1/gov.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63osmos/gov/v1/gov.proto\x12\rcosmos.gov.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"o\n\x12WeightedVoteOption\x12\x31\n\x06option\x18\x01 \x01(\x0e\x32\x19.cosmos.gov.v1.VoteOptionR\x06option\x12&\n\x06weight\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06weight\"\xa0\x01\n\x07\x44\x65posit\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12<\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\"\x84\x06\n\x08Proposal\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x30\n\x08messages\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x35\n\x06status\x18\x03 \x01(\x0e\x32\x1d.cosmos.gov.v1.ProposalStatusR\x06status\x12H\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyResultR\x10\x66inalTallyResult\x12\x41\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nsubmitTime\x12J\n\x10\x64\x65posit_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\x0e\x64\x65positEndTime\x12I\n\rtotal_deposit\x18\x07 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0ctotalDeposit\x12L\n\x11voting_start_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\x0fvotingStartTime\x12H\n\x0fvoting_end_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\rvotingEndTime\x12\x1a\n\x08metadata\x18\n \x01(\tR\x08metadata\x12\x14\n\x05title\x18\x0b \x01(\tR\x05title\x12\x18\n\x07summary\x18\x0c \x01(\tR\x07summary\x12\x34\n\x08proposer\x18\r \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer\x12\x1c\n\texpedited\x18\x0e \x01(\x08R\texpedited\x12#\n\rfailed_reason\x18\x0f \x01(\tR\x0c\x66\x61iledReason\"\xd7\x01\n\x0bTallyResult\x12+\n\tyes_count\x18\x01 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x08yesCount\x12\x33\n\rabstain_count\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x0c\x61\x62stainCount\x12)\n\x08no_count\x18\x03 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x07noCount\x12;\n\x12no_with_veto_count\x18\x04 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x0fnoWithVetoCount\"\xb6\x01\n\x04Vote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12;\n\x07options\x18\x04 \x03(\x0b\x32!.cosmos.gov.v1.WeightedVoteOptionR\x07options\x12\x1a\n\x08metadata\x18\x05 \x01(\tR\x08metadataJ\x04\x08\x03\x10\x04\"\xdd\x01\n\rDepositParams\x12Y\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x1d\xc8\xde\x1f\x00\xea\xde\x1f\x15min_deposit,omitemptyR\nminDeposit\x12m\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB$\xea\xde\x1f\x1cmax_deposit_period,omitempty\x98\xdf\x1f\x01R\x10maxDepositPeriod:\x02\x18\x01\"X\n\x0cVotingParams\x12\x44\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x0cvotingPeriod:\x02\x18\x01\"\x9e\x01\n\x0bTallyParams\x12&\n\x06quorum\x18\x01 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06quorum\x12,\n\tthreshold\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\tthreshold\x12\x35\n\x0eveto_threshold\x18\x03 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\rvetoThreshold:\x02\x18\x01\"\x8f\x08\n\x06Params\x12\x45\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nminDeposit\x12M\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x10maxDepositPeriod\x12\x44\n\rvoting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x0cvotingPeriod\x12&\n\x06quorum\x18\x04 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06quorum\x12,\n\tthreshold\x18\x05 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\tthreshold\x12\x35\n\x0eveto_threshold\x18\x06 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\rvetoThreshold\x12I\n\x19min_initial_deposit_ratio\x18\x07 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x16minInitialDepositRatio\x12\x42\n\x15proposal_cancel_ratio\x18\x08 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x13proposalCancelRatio\x12J\n\x14proposal_cancel_dest\x18\t \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12proposalCancelDest\x12W\n\x17\x65xpedited_voting_period\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x15\x65xpeditedVotingPeriod\x12?\n\x13\x65xpedited_threshold\x18\x0b \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x12\x65xpeditedThreshold\x12X\n\x15\x65xpedited_min_deposit\x18\x0c \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x65xpeditedMinDeposit\x12(\n\x10\x62urn_vote_quorum\x18\r \x01(\x08R\x0e\x62urnVoteQuorum\x12\x41\n\x1d\x62urn_proposal_deposit_prevote\x18\x0e \x01(\x08R\x1a\x62urnProposalDepositPrevote\x12$\n\x0e\x62urn_vote_veto\x18\x0f \x01(\x08R\x0c\x62urnVoteVeto\x12:\n\x11min_deposit_ratio\x18\x10 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x0fminDepositRatio*\x89\x01\n\nVoteOption\x12\x1b\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fVOTE_OPTION_YES\x10\x01\x12\x17\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x12\x12\n\x0eVOTE_OPTION_NO\x10\x03\x12\x1c\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04*\xce\x01\n\x0eProposalStatus\x12\x1f\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x12\"\n\x1ePROPOSAL_STATUS_DEPOSIT_PERIOD\x10\x01\x12!\n\x1dPROPOSAL_STATUS_VOTING_PERIOD\x10\x02\x12\x1a\n\x16PROPOSAL_STATUS_PASSED\x10\x03\x12\x1c\n\x18PROPOSAL_STATUS_REJECTED\x10\x04\x12\x1a\n\x16PROPOSAL_STATUS_FAILED\x10\x05\x42\xa0\x01\n\x11\x63om.cosmos.gov.v1B\x08GovProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.gov_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.gov.v1B\010GovProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1' - _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._loaded_options = None - _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_DEPOSIT'].fields_by_name['depositor']._loaded_options = None - _globals['_DEPOSIT'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DEPOSIT'].fields_by_name['amount']._loaded_options = None - _globals['_DEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['submit_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['submit_time']._serialized_options = b'\220\337\037\001' - _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._serialized_options = b'\220\337\037\001' - _globals['_PROPOSAL'].fields_by_name['total_deposit']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['total_deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['voting_start_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['voting_start_time']._serialized_options = b'\220\337\037\001' - _globals['_PROPOSAL'].fields_by_name['voting_end_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['voting_end_time']._serialized_options = b'\220\337\037\001' - _globals['_PROPOSAL'].fields_by_name['proposer']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_TALLYRESULT'].fields_by_name['yes_count']._loaded_options = None - _globals['_TALLYRESULT'].fields_by_name['yes_count']._serialized_options = b'\322\264-\ncosmos.Int' - _globals['_TALLYRESULT'].fields_by_name['abstain_count']._loaded_options = None - _globals['_TALLYRESULT'].fields_by_name['abstain_count']._serialized_options = b'\322\264-\ncosmos.Int' - _globals['_TALLYRESULT'].fields_by_name['no_count']._loaded_options = None - _globals['_TALLYRESULT'].fields_by_name['no_count']._serialized_options = b'\322\264-\ncosmos.Int' - _globals['_TALLYRESULT'].fields_by_name['no_with_veto_count']._loaded_options = None - _globals['_TALLYRESULT'].fields_by_name['no_with_veto_count']._serialized_options = b'\322\264-\ncosmos.Int' - _globals['_VOTE'].fields_by_name['voter']._loaded_options = None - _globals['_VOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._loaded_options = None - _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._serialized_options = b'\310\336\037\000\352\336\037\025min_deposit,omitempty' - _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._loaded_options = None - _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._serialized_options = b'\352\336\037\034max_deposit_period,omitempty\230\337\037\001' - _globals['_DEPOSITPARAMS']._loaded_options = None - _globals['_DEPOSITPARAMS']._serialized_options = b'\030\001' - _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._loaded_options = None - _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._serialized_options = b'\230\337\037\001' - _globals['_VOTINGPARAMS']._loaded_options = None - _globals['_VOTINGPARAMS']._serialized_options = b'\030\001' - _globals['_TALLYPARAMS'].fields_by_name['quorum']._loaded_options = None - _globals['_TALLYPARAMS'].fields_by_name['quorum']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_TALLYPARAMS'].fields_by_name['threshold']._loaded_options = None - _globals['_TALLYPARAMS'].fields_by_name['threshold']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._loaded_options = None - _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_TALLYPARAMS']._loaded_options = None - _globals['_TALLYPARAMS']._serialized_options = b'\030\001' - _globals['_PARAMS'].fields_by_name['min_deposit']._loaded_options = None - _globals['_PARAMS'].fields_by_name['min_deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['max_deposit_period']._loaded_options = None - _globals['_PARAMS'].fields_by_name['max_deposit_period']._serialized_options = b'\230\337\037\001' - _globals['_PARAMS'].fields_by_name['voting_period']._loaded_options = None - _globals['_PARAMS'].fields_by_name['voting_period']._serialized_options = b'\230\337\037\001' - _globals['_PARAMS'].fields_by_name['quorum']._loaded_options = None - _globals['_PARAMS'].fields_by_name['quorum']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_PARAMS'].fields_by_name['threshold']._loaded_options = None - _globals['_PARAMS'].fields_by_name['threshold']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_PARAMS'].fields_by_name['veto_threshold']._loaded_options = None - _globals['_PARAMS'].fields_by_name['veto_threshold']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_PARAMS'].fields_by_name['min_initial_deposit_ratio']._loaded_options = None - _globals['_PARAMS'].fields_by_name['min_initial_deposit_ratio']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_PARAMS'].fields_by_name['proposal_cancel_ratio']._loaded_options = None - _globals['_PARAMS'].fields_by_name['proposal_cancel_ratio']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_PARAMS'].fields_by_name['proposal_cancel_dest']._loaded_options = None - _globals['_PARAMS'].fields_by_name['proposal_cancel_dest']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_PARAMS'].fields_by_name['expedited_voting_period']._loaded_options = None - _globals['_PARAMS'].fields_by_name['expedited_voting_period']._serialized_options = b'\230\337\037\001' - _globals['_PARAMS'].fields_by_name['expedited_threshold']._loaded_options = None - _globals['_PARAMS'].fields_by_name['expedited_threshold']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_PARAMS'].fields_by_name['expedited_min_deposit']._loaded_options = None - _globals['_PARAMS'].fields_by_name['expedited_min_deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['min_deposit_ratio']._loaded_options = None - _globals['_PARAMS'].fields_by_name['min_deposit_ratio']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_VOTEOPTION']._serialized_start=3206 - _globals['_VOTEOPTION']._serialized_end=3343 - _globals['_PROPOSALSTATUS']._serialized_start=3346 - _globals['_PROPOSALSTATUS']._serialized_end=3552 - _globals['_WEIGHTEDVOTEOPTION']._serialized_start=234 - _globals['_WEIGHTEDVOTEOPTION']._serialized_end=345 - _globals['_DEPOSIT']._serialized_start=348 - _globals['_DEPOSIT']._serialized_end=508 - _globals['_PROPOSAL']._serialized_start=511 - _globals['_PROPOSAL']._serialized_end=1283 - _globals['_TALLYRESULT']._serialized_start=1286 - _globals['_TALLYRESULT']._serialized_end=1501 - _globals['_VOTE']._serialized_start=1504 - _globals['_VOTE']._serialized_end=1686 - _globals['_DEPOSITPARAMS']._serialized_start=1689 - _globals['_DEPOSITPARAMS']._serialized_end=1910 - _globals['_VOTINGPARAMS']._serialized_start=1912 - _globals['_VOTINGPARAMS']._serialized_end=2000 - _globals['_TALLYPARAMS']._serialized_start=2003 - _globals['_TALLYPARAMS']._serialized_end=2161 - _globals['_PARAMS']._serialized_start=2164 - _globals['_PARAMS']._serialized_end=3203 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/gov_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1/gov_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/gov/v1/gov_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/gov/v1/query_pb2.py b/pyinjective/proto/cosmos/gov/v1/query_pb2.py deleted file mode 100644 index 81093e6d..00000000 --- a/pyinjective/proto/cosmos/gov/v1/query_pb2.py +++ /dev/null @@ -1,99 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/gov/v1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.gov.v1 import gov_pb2 as cosmos_dot_gov_dot_v1_dot_gov__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmos/gov/v1/query.proto\x12\rcosmos.gov.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17\x63osmos/gov/v1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x1a\n\x18QueryConstitutionRequest\"?\n\x19QueryConstitutionResponse\x12\"\n\x0c\x63onstitution\x18\x01 \x01(\tR\x0c\x63onstitution\"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"L\n\x15QueryProposalResponse\x12\x33\n\x08proposal\x18\x01 \x01(\x0b\x32\x17.cosmos.gov.v1.ProposalR\x08proposal\"\x8f\x02\n\x15QueryProposalsRequest\x12\x46\n\x0fproposal_status\x18\x01 \x01(\x0e\x32\x1d.cosmos.gov.v1.ProposalStatusR\x0eproposalStatus\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\tdepositor\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x98\x01\n\x16QueryProposalsResponse\x12\x35\n\tproposals\x18\x01 \x03(\x0b\x32\x17.cosmos.gov.v1.ProposalR\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"c\n\x10QueryVoteRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\"<\n\x11QueryVoteResponse\x12\'\n\x04vote\x18\x01 \x01(\x0b\x32\x13.cosmos.gov.v1.VoteR\x04vote\"|\n\x11QueryVotesRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x88\x01\n\x12QueryVotesResponse\x12)\n\x05votes\x18\x01 \x03(\x0b\x32\x13.cosmos.gov.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"5\n\x12QueryParamsRequest\x12\x1f\n\x0bparams_type\x18\x01 \x01(\tR\nparamsType\"\x96\x02\n\x13QueryParamsResponse\x12\x44\n\rvoting_params\x18\x01 \x01(\x0b\x32\x1b.cosmos.gov.v1.VotingParamsB\x02\x18\x01R\x0cvotingParams\x12G\n\x0e\x64\x65posit_params\x18\x02 \x01(\x0b\x32\x1c.cosmos.gov.v1.DepositParamsB\x02\x18\x01R\rdepositParams\x12\x41\n\x0ctally_params\x18\x03 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyParamsB\x02\x18\x01R\x0btallyParams\x12-\n\x06params\x18\x04 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsR\x06params\"n\n\x13QueryDepositRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\"H\n\x14QueryDepositResponse\x12\x30\n\x07\x64\x65posit\x18\x01 \x01(\x0b\x32\x16.cosmos.gov.v1.DepositR\x07\x64\x65posit\"\x7f\n\x14QueryDepositsRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x94\x01\n\x15QueryDepositsResponse\x12\x32\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x16.cosmos.gov.v1.DepositR\x08\x64\x65posits\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"L\n\x18QueryTallyResultResponse\x12\x30\n\x05tally\x18\x01 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyResultR\x05tally2\xe3\t\n\x05Query\x12\x86\x01\n\x0c\x43onstitution\x12\'.cosmos.gov.v1.QueryConstitutionRequest\x1a(.cosmos.gov.v1.QueryConstitutionResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/gov/v1/constitution\x12\x85\x01\n\x08Proposal\x12#.cosmos.gov.v1.QueryProposalRequest\x1a$.cosmos.gov.v1.QueryProposalResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/gov/v1/proposals/{proposal_id}\x12z\n\tProposals\x12$.cosmos.gov.v1.QueryProposalsRequest\x1a%.cosmos.gov.v1.QueryProposalsResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cosmos/gov/v1/proposals\x12\x87\x01\n\x04Vote\x12\x1f.cosmos.gov.v1.QueryVoteRequest\x1a .cosmos.gov.v1.QueryVoteResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}\x12\x82\x01\n\x05Votes\x12 .cosmos.gov.v1.QueryVotesRequest\x1a!.cosmos.gov.v1.QueryVotesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/gov/v1/proposals/{proposal_id}/votes\x12|\n\x06Params\x12!.cosmos.gov.v1.QueryParamsRequest\x1a\".cosmos.gov.v1.QueryParamsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/cosmos/gov/v1/params/{params_type}\x12\x97\x01\n\x07\x44\x65posit\x12\".cosmos.gov.v1.QueryDepositRequest\x1a#.cosmos.gov.v1.QueryDepositResponse\"C\x82\xd3\xe4\x93\x02=\x12;/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}\x12\x8e\x01\n\x08\x44\x65posits\x12#.cosmos.gov.v1.QueryDepositsRequest\x1a$.cosmos.gov.v1.QueryDepositsResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//cosmos/gov/v1/proposals/{proposal_id}/deposits\x12\x94\x01\n\x0bTallyResult\x12&.cosmos.gov.v1.QueryTallyResultRequest\x1a\'.cosmos.gov.v1.QueryTallyResultResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/gov/v1/proposals/{proposal_id}/tallyB\xa2\x01\n\x11\x63om.cosmos.gov.v1B\nQueryProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.gov.v1B\nQueryProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1' - _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['voter']._loaded_options = None - _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['depositor']._loaded_options = None - _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYVOTEREQUEST'].fields_by_name['voter']._loaded_options = None - _globals['_QUERYVOTEREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['voting_params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['voting_params']._serialized_options = b'\030\001' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['deposit_params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['deposit_params']._serialized_options = b'\030\001' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['tally_params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['tally_params']._serialized_options = b'\030\001' - _globals['_QUERYDEPOSITREQUEST'].fields_by_name['depositor']._loaded_options = None - _globals['_QUERYDEPOSITREQUEST'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERY'].methods_by_name['Constitution']._loaded_options = None - _globals['_QUERY'].methods_by_name['Constitution']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/gov/v1/constitution' - _globals['_QUERY'].methods_by_name['Proposal']._loaded_options = None - _globals['_QUERY'].methods_by_name['Proposal']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/gov/v1/proposals/{proposal_id}' - _globals['_QUERY'].methods_by_name['Proposals']._loaded_options = None - _globals['_QUERY'].methods_by_name['Proposals']._serialized_options = b'\202\323\344\223\002\032\022\030/cosmos/gov/v1/proposals' - _globals['_QUERY'].methods_by_name['Vote']._loaded_options = None - _globals['_QUERY'].methods_by_name['Vote']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}' - _globals['_QUERY'].methods_by_name['Votes']._loaded_options = None - _globals['_QUERY'].methods_by_name['Votes']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/gov/v1/proposals/{proposal_id}/votes' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002%\022#/cosmos/gov/v1/params/{params_type}' - _globals['_QUERY'].methods_by_name['Deposit']._loaded_options = None - _globals['_QUERY'].methods_by_name['Deposit']._serialized_options = b'\202\323\344\223\002=\022;/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}' - _globals['_QUERY'].methods_by_name['Deposits']._loaded_options = None - _globals['_QUERY'].methods_by_name['Deposits']._serialized_options = b'\202\323\344\223\0021\022//cosmos/gov/v1/proposals/{proposal_id}/deposits' - _globals['_QUERY'].methods_by_name['TallyResult']._loaded_options = None - _globals['_QUERY'].methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/gov/v1/proposals/{proposal_id}/tally' - _globals['_QUERYCONSTITUTIONREQUEST']._serialized_start=170 - _globals['_QUERYCONSTITUTIONREQUEST']._serialized_end=196 - _globals['_QUERYCONSTITUTIONRESPONSE']._serialized_start=198 - _globals['_QUERYCONSTITUTIONRESPONSE']._serialized_end=261 - _globals['_QUERYPROPOSALREQUEST']._serialized_start=263 - _globals['_QUERYPROPOSALREQUEST']._serialized_end=318 - _globals['_QUERYPROPOSALRESPONSE']._serialized_start=320 - _globals['_QUERYPROPOSALRESPONSE']._serialized_end=396 - _globals['_QUERYPROPOSALSREQUEST']._serialized_start=399 - _globals['_QUERYPROPOSALSREQUEST']._serialized_end=670 - _globals['_QUERYPROPOSALSRESPONSE']._serialized_start=673 - _globals['_QUERYPROPOSALSRESPONSE']._serialized_end=825 - _globals['_QUERYVOTEREQUEST']._serialized_start=827 - _globals['_QUERYVOTEREQUEST']._serialized_end=926 - _globals['_QUERYVOTERESPONSE']._serialized_start=928 - _globals['_QUERYVOTERESPONSE']._serialized_end=988 - _globals['_QUERYVOTESREQUEST']._serialized_start=990 - _globals['_QUERYVOTESREQUEST']._serialized_end=1114 - _globals['_QUERYVOTESRESPONSE']._serialized_start=1117 - _globals['_QUERYVOTESRESPONSE']._serialized_end=1253 - _globals['_QUERYPARAMSREQUEST']._serialized_start=1255 - _globals['_QUERYPARAMSREQUEST']._serialized_end=1308 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=1311 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=1589 - _globals['_QUERYDEPOSITREQUEST']._serialized_start=1591 - _globals['_QUERYDEPOSITREQUEST']._serialized_end=1701 - _globals['_QUERYDEPOSITRESPONSE']._serialized_start=1703 - _globals['_QUERYDEPOSITRESPONSE']._serialized_end=1775 - _globals['_QUERYDEPOSITSREQUEST']._serialized_start=1777 - _globals['_QUERYDEPOSITSREQUEST']._serialized_end=1904 - _globals['_QUERYDEPOSITSRESPONSE']._serialized_start=1907 - _globals['_QUERYDEPOSITSRESPONSE']._serialized_end=2055 - _globals['_QUERYTALLYRESULTREQUEST']._serialized_start=2057 - _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=2115 - _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=2117 - _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=2193 - _globals['_QUERY']._serialized_start=2196 - _globals['_QUERY']._serialized_end=3447 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1/query_pb2_grpc.py deleted file mode 100644 index 4189082a..00000000 --- a/pyinjective/proto/cosmos/gov/v1/query_pb2_grpc.py +++ /dev/null @@ -1,433 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.gov.v1 import query_pb2 as cosmos_dot_gov_dot_v1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service for gov module - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Constitution = channel.unary_unary( - '/cosmos.gov.v1.Query/Constitution', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionResponse.FromString, - _registered_method=True) - self.Proposal = channel.unary_unary( - '/cosmos.gov.v1.Query/Proposal', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, - _registered_method=True) - self.Proposals = channel.unary_unary( - '/cosmos.gov.v1.Query/Proposals', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsResponse.FromString, - _registered_method=True) - self.Vote = channel.unary_unary( - '/cosmos.gov.v1.Query/Vote', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteResponse.FromString, - _registered_method=True) - self.Votes = channel.unary_unary( - '/cosmos.gov.v1.Query/Votes', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesResponse.FromString, - _registered_method=True) - self.Params = channel.unary_unary( - '/cosmos.gov.v1.Query/Params', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - self.Deposit = channel.unary_unary( - '/cosmos.gov.v1.Query/Deposit', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositResponse.FromString, - _registered_method=True) - self.Deposits = channel.unary_unary( - '/cosmos.gov.v1.Query/Deposits', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsResponse.FromString, - _registered_method=True) - self.TallyResult = channel.unary_unary( - '/cosmos.gov.v1.Query/TallyResult', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service for gov module - """ - - def Constitution(self, request, context): - """Constitution queries the chain's constitution. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Proposal(self, request, context): - """Proposal queries proposal details based on ProposalID. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Proposals(self, request, context): - """Proposals queries all proposals based on given status. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Vote(self, request, context): - """Vote queries voted information based on proposalID, voterAddr. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Votes(self, request, context): - """Votes queries votes of a given proposal. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Params(self, request, context): - """Params queries all parameters of the gov module. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Deposit(self, request, context): - """Deposit queries single deposit information based on proposalID, depositAddr. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Deposits(self, request, context): - """Deposits queries all deposits of a single proposal. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TallyResult(self, request, context): - """TallyResult queries the tally of a proposal vote. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Constitution': grpc.unary_unary_rpc_method_handler( - servicer.Constitution, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionResponse.SerializeToString, - ), - 'Proposal': grpc.unary_unary_rpc_method_handler( - servicer.Proposal, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalResponse.SerializeToString, - ), - 'Proposals': grpc.unary_unary_rpc_method_handler( - servicer.Proposals, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsResponse.SerializeToString, - ), - 'Vote': grpc.unary_unary_rpc_method_handler( - servicer.Vote, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteResponse.SerializeToString, - ), - 'Votes': grpc.unary_unary_rpc_method_handler( - servicer.Votes, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesResponse.SerializeToString, - ), - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'Deposit': grpc.unary_unary_rpc_method_handler( - servicer.Deposit, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositResponse.SerializeToString, - ), - 'Deposits': grpc.unary_unary_rpc_method_handler( - servicer.Deposits, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsResponse.SerializeToString, - ), - 'TallyResult': grpc.unary_unary_rpc_method_handler( - servicer.TallyResult, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.gov.v1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.gov.v1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service for gov module - """ - - @staticmethod - def Constitution(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1.Query/Constitution', - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionRequest.SerializeToString, - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Proposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1.Query/Proposal', - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Proposals(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1.Query/Proposals', - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsRequest.SerializeToString, - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Vote(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1.Query/Vote', - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteRequest.SerializeToString, - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Votes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1.Query/Votes', - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesRequest.SerializeToString, - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1.Query/Params', - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Deposit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1.Query/Deposit', - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositRequest.SerializeToString, - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Deposits(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1.Query/Deposits', - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsRequest.SerializeToString, - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def TallyResult(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1.Query/TallyResult', - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, - cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/gov/v1/tx_pb2.py b/pyinjective/proto/cosmos/gov/v1/tx_pb2.py deleted file mode 100644 index c2858275..00000000 --- a/pyinjective/proto/cosmos/gov/v1/tx_pb2.py +++ /dev/null @@ -1,111 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/gov/v1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.gov.v1 import gov_pb2 as cosmos_dot_gov_dot_v1_dot_gov__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x63osmos/gov/v1/tx.proto\x12\rcosmos.gov.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/gov/v1/gov.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa5\x03\n\x11MsgSubmitProposal\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x8a\x01\n\x0finitial_deposit\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0einitialDeposit\x12\x34\n\x08proposer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12\x14\n\x05title\x18\x05 \x01(\tR\x05title\x12\x18\n\x07summary\x18\x06 \x01(\tR\x07summary\x12\x1c\n\texpedited\x18\x07 \x01(\x08R\texpedited:1\x82\xe7\xb0*\x08proposer\x8a\xe7\xb0*\x1f\x63osmos-sdk/v1/MsgSubmitProposal\"<\n\x19MsgSubmitProposalResponse\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\xbb\x01\n\x14MsgExecLegacyContent\x12N\n\x07\x63ontent\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:5\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\"cosmos-sdk/v1/MsgExecLegacyContent\"\x1e\n\x1cMsgExecLegacyContentResponse\"\xe5\x01\n\x07MsgVote\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x31\n\x06option\x18\x03 \x01(\x0e\x32\x19.cosmos.gov.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata:$\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x15\x63osmos-sdk/v1/MsgVote\"\x11\n\x0fMsgVoteResponse\"\xff\x01\n\x0fMsgVoteWeighted\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12;\n\x07options\x18\x03 \x03(\x0b\x32!.cosmos.gov.v1.WeightedVoteOptionR\x07options\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata:,\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x1d\x63osmos-sdk/v1/MsgVoteWeighted\"\x19\n\x17MsgVoteWeightedResponse\"\xe6\x01\n\nMsgDeposit\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12<\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:+\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x18\x63osmos-sdk/v1/MsgDeposit\"\x14\n\x12MsgDepositResponse\"\xbb\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#cosmos-sdk/x/gov/v1/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\x8a\x01\n\x11MsgCancelProposal\x12\x30\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x0f\xea\xde\x1f\x0bproposal_idR\nproposalId\x12\x34\n\x08proposer\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer:\r\x82\xe7\xb0*\x08proposer\"\xc1\x01\n\x19MsgCancelProposalResponse\x12\x30\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x0f\xea\xde\x1f\x0bproposal_idR\nproposalId\x12I\n\rcanceled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x0c\x63\x61nceledTime\x12\'\n\x0f\x63\x61nceled_height\x18\x03 \x01(\x04R\x0e\x63\x61nceledHeight2\xe8\x04\n\x03Msg\x12\\\n\x0eSubmitProposal\x12 .cosmos.gov.v1.MsgSubmitProposal\x1a(.cosmos.gov.v1.MsgSubmitProposalResponse\x12\x65\n\x11\x45xecLegacyContent\x12#.cosmos.gov.v1.MsgExecLegacyContent\x1a+.cosmos.gov.v1.MsgExecLegacyContentResponse\x12>\n\x04Vote\x12\x16.cosmos.gov.v1.MsgVote\x1a\x1e.cosmos.gov.v1.MsgVoteResponse\x12V\n\x0cVoteWeighted\x12\x1e.cosmos.gov.v1.MsgVoteWeighted\x1a&.cosmos.gov.v1.MsgVoteWeightedResponse\x12G\n\x07\x44\x65posit\x12\x19.cosmos.gov.v1.MsgDeposit\x1a!.cosmos.gov.v1.MsgDepositResponse\x12V\n\x0cUpdateParams\x12\x1e.cosmos.gov.v1.MsgUpdateParams\x1a&.cosmos.gov.v1.MsgUpdateParamsResponse\x12\\\n\x0e\x43\x61ncelProposal\x12 .cosmos.gov.v1.MsgCancelProposal\x1a(.cosmos.gov.v1.MsgCancelProposalResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9f\x01\n\x11\x63om.cosmos.gov.v1B\x07TxProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.gov.v1B\007TxProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1' - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['initial_deposit']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['initial_deposit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['proposer']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSUBMITPROPOSAL']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL']._serialized_options = b'\202\347\260*\010proposer\212\347\260*\037cosmos-sdk/v1/MsgSubmitProposal' - _globals['_MSGEXECLEGACYCONTENT'].fields_by_name['content']._loaded_options = None - _globals['_MSGEXECLEGACYCONTENT'].fields_by_name['content']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_MSGEXECLEGACYCONTENT']._loaded_options = None - _globals['_MSGEXECLEGACYCONTENT']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\"cosmos-sdk/v1/MsgExecLegacyContent' - _globals['_MSGVOTE'].fields_by_name['proposal_id']._loaded_options = None - _globals['_MSGVOTE'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' - _globals['_MSGVOTE'].fields_by_name['voter']._loaded_options = None - _globals['_MSGVOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGVOTE']._loaded_options = None - _globals['_MSGVOTE']._serialized_options = b'\202\347\260*\005voter\212\347\260*\025cosmos-sdk/v1/MsgVote' - _globals['_MSGVOTEWEIGHTED'].fields_by_name['proposal_id']._loaded_options = None - _globals['_MSGVOTEWEIGHTED'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' - _globals['_MSGVOTEWEIGHTED'].fields_by_name['voter']._loaded_options = None - _globals['_MSGVOTEWEIGHTED'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGVOTEWEIGHTED']._loaded_options = None - _globals['_MSGVOTEWEIGHTED']._serialized_options = b'\202\347\260*\005voter\212\347\260*\035cosmos-sdk/v1/MsgVoteWeighted' - _globals['_MSGDEPOSIT'].fields_by_name['proposal_id']._loaded_options = None - _globals['_MSGDEPOSIT'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' - _globals['_MSGDEPOSIT'].fields_by_name['depositor']._loaded_options = None - _globals['_MSGDEPOSIT'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGDEPOSIT'].fields_by_name['amount']._loaded_options = None - _globals['_MSGDEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGDEPOSIT']._loaded_options = None - _globals['_MSGDEPOSIT']._serialized_options = b'\202\347\260*\tdepositor\212\347\260*\030cosmos-sdk/v1/MsgDeposit' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*#cosmos-sdk/x/gov/v1/MsgUpdateParams' - _globals['_MSGCANCELPROPOSAL'].fields_by_name['proposal_id']._loaded_options = None - _globals['_MSGCANCELPROPOSAL'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id' - _globals['_MSGCANCELPROPOSAL'].fields_by_name['proposer']._loaded_options = None - _globals['_MSGCANCELPROPOSAL'].fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCANCELPROPOSAL']._loaded_options = None - _globals['_MSGCANCELPROPOSAL']._serialized_options = b'\202\347\260*\010proposer' - _globals['_MSGCANCELPROPOSALRESPONSE'].fields_by_name['proposal_id']._loaded_options = None - _globals['_MSGCANCELPROPOSALRESPONSE'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id' - _globals['_MSGCANCELPROPOSALRESPONSE'].fields_by_name['canceled_time']._loaded_options = None - _globals['_MSGCANCELPROPOSALRESPONSE'].fields_by_name['canceled_time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGSUBMITPROPOSAL']._serialized_start=252 - _globals['_MSGSUBMITPROPOSAL']._serialized_end=673 - _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_start=675 - _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_end=735 - _globals['_MSGEXECLEGACYCONTENT']._serialized_start=738 - _globals['_MSGEXECLEGACYCONTENT']._serialized_end=925 - _globals['_MSGEXECLEGACYCONTENTRESPONSE']._serialized_start=927 - _globals['_MSGEXECLEGACYCONTENTRESPONSE']._serialized_end=957 - _globals['_MSGVOTE']._serialized_start=960 - _globals['_MSGVOTE']._serialized_end=1189 - _globals['_MSGVOTERESPONSE']._serialized_start=1191 - _globals['_MSGVOTERESPONSE']._serialized_end=1208 - _globals['_MSGVOTEWEIGHTED']._serialized_start=1211 - _globals['_MSGVOTEWEIGHTED']._serialized_end=1466 - _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_start=1468 - _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_end=1493 - _globals['_MSGDEPOSIT']._serialized_start=1496 - _globals['_MSGDEPOSIT']._serialized_end=1726 - _globals['_MSGDEPOSITRESPONSE']._serialized_start=1728 - _globals['_MSGDEPOSITRESPONSE']._serialized_end=1748 - _globals['_MSGUPDATEPARAMS']._serialized_start=1751 - _globals['_MSGUPDATEPARAMS']._serialized_end=1938 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1940 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1965 - _globals['_MSGCANCELPROPOSAL']._serialized_start=1968 - _globals['_MSGCANCELPROPOSAL']._serialized_end=2106 - _globals['_MSGCANCELPROPOSALRESPONSE']._serialized_start=2109 - _globals['_MSGCANCELPROPOSALRESPONSE']._serialized_end=2302 - _globals['_MSG']._serialized_start=2305 - _globals['_MSG']._serialized_end=2921 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1/tx_pb2_grpc.py deleted file mode 100644 index a1defed3..00000000 --- a/pyinjective/proto/cosmos/gov/v1/tx_pb2_grpc.py +++ /dev/null @@ -1,351 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.gov.v1 import tx_pb2 as cosmos_dot_gov_dot_v1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the gov Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.SubmitProposal = channel.unary_unary( - '/cosmos.gov.v1.Msg/SubmitProposal', - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, - _registered_method=True) - self.ExecLegacyContent = channel.unary_unary( - '/cosmos.gov.v1.Msg/ExecLegacyContent', - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContent.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContentResponse.FromString, - _registered_method=True) - self.Vote = channel.unary_unary( - '/cosmos.gov.v1.Msg/Vote', - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, - _registered_method=True) - self.VoteWeighted = channel.unary_unary( - '/cosmos.gov.v1.Msg/VoteWeighted', - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, - _registered_method=True) - self.Deposit = channel.unary_unary( - '/cosmos.gov.v1.Msg/Deposit', - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDeposit.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDepositResponse.FromString, - _registered_method=True) - self.UpdateParams = channel.unary_unary( - '/cosmos.gov.v1.Msg/UpdateParams', - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - self.CancelProposal = channel.unary_unary( - '/cosmos.gov.v1.Msg/CancelProposal', - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposal.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposalResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the gov Msg service. - """ - - def SubmitProposal(self, request, context): - """SubmitProposal defines a method to create new proposal given the messages. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ExecLegacyContent(self, request, context): - """ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal - to execute a legacy content-based proposal. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Vote(self, request, context): - """Vote defines a method to add a vote on a specific proposal. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def VoteWeighted(self, request, context): - """VoteWeighted defines a method to add a weighted vote on a specific proposal. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Deposit(self, request, context): - """Deposit defines a method to add deposit on a specific proposal. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """UpdateParams defines a governance operation for updating the x/gov module - parameters. The authority is defined in the keeper. - - Since: cosmos-sdk 0.47 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CancelProposal(self, request, context): - """CancelProposal defines a method to cancel governance proposal - - Since: cosmos-sdk 0.50 - """ - 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 = { - 'SubmitProposal': grpc.unary_unary_rpc_method_handler( - servicer.SubmitProposal, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposal.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, - ), - 'ExecLegacyContent': grpc.unary_unary_rpc_method_handler( - servicer.ExecLegacyContent, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContent.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContentResponse.SerializeToString, - ), - 'Vote': grpc.unary_unary_rpc_method_handler( - servicer.Vote, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVote.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteResponse.SerializeToString, - ), - 'VoteWeighted': grpc.unary_unary_rpc_method_handler( - servicer.VoteWeighted, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeighted.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeightedResponse.SerializeToString, - ), - 'Deposit': grpc.unary_unary_rpc_method_handler( - servicer.Deposit, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDeposit.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDepositResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'CancelProposal': grpc.unary_unary_rpc_method_handler( - servicer.CancelProposal, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposal.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposalResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.gov.v1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.gov.v1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the gov Msg service. - """ - - @staticmethod - def SubmitProposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1.Msg/SubmitProposal', - cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, - cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ExecLegacyContent(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1.Msg/ExecLegacyContent', - cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContent.SerializeToString, - cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContentResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Vote(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1.Msg/Vote', - cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, - cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def VoteWeighted(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1.Msg/VoteWeighted', - cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, - cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Deposit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1.Msg/Deposit', - cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDeposit.SerializeToString, - cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDepositResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1.Msg/UpdateParams', - cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CancelProposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1.Msg/CancelProposal', - cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposal.SerializeToString, - cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py deleted file mode 100644 index 6b20275e..00000000 --- a/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,42 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/gov/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.gov.v1beta1 import gov_pb2 as cosmos_dot_gov_dot_v1beta1_dot_gov__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/gov/v1beta1/genesis.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x11\x61mino/amino.proto\"\x9e\x04\n\x0cGenesisState\x12\x30\n\x14starting_proposal_id\x18\x01 \x01(\x04R\x12startingProposalId\x12N\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\x15\xc8\xde\x1f\x00\xaa\xdf\x1f\x08\x44\x65posits\xa8\xe7\xb0*\x01R\x08\x64\x65posits\x12\x42\n\x05votes\x18\x03 \x03(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\x12\xc8\xde\x1f\x00\xaa\xdf\x1f\x05Votes\xa8\xe7\xb0*\x01R\x05votes\x12R\n\tproposals\x18\x04 \x03(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\x16\xc8\xde\x1f\x00\xaa\xdf\x1f\tProposals\xa8\xe7\xb0*\x01R\tproposals\x12S\n\x0e\x64\x65posit_params\x18\x05 \x01(\x0b\x32!.cosmos.gov.v1beta1.DepositParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdepositParams\x12P\n\rvoting_params\x18\x06 \x01(\x0b\x32 .cosmos.gov.v1beta1.VotingParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cvotingParams\x12M\n\x0ctally_params\x18\x07 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0btallyParamsB\xc2\x01\n\x16\x63om.cosmos.gov.v1beta1B\x0cGenesisProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.gov.v1beta1B\014GenesisProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['deposits']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['deposits']._serialized_options = b'\310\336\037\000\252\337\037\010Deposits\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['votes']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['votes']._serialized_options = b'\310\336\037\000\252\337\037\005Votes\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['proposals']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['proposals']._serialized_options = b'\310\336\037\000\252\337\037\tProposals\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['deposit_params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['deposit_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['voting_params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['voting_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['tally_params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['tally_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE']._serialized_start=128 - _globals['_GENESISSTATE']._serialized_end=670 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/gov/v1beta1/gov_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2.py deleted file mode 100644 index 100d1d14..00000000 --- a/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2.py +++ /dev/null @@ -1,138 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/gov/v1beta1/gov.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/gov/v1beta1/gov.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x9c\x01\n\x12WeightedVoteOption\x12\x36\n\x06option\x18\x01 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionR\x06option\x12N\n\x06weight\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x06weight\"\x86\x01\n\x0cTextProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription:>\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17\x63osmos-sdk/TextProposal\"\xd6\x01\n\x07\x44\x65posit\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12h\n\x06\x61mount\x18\x03 \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*\x01R\x06\x61mount:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd9\x05\n\x08Proposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12N\n\x07\x63ontent\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12:\n\x06status\x18\x03 \x01(\x0e\x32\".cosmos.gov.v1beta1.ProposalStatusR\x06status\x12X\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x10\x66inalTallyResult\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime\x12S\n\x10\x64\x65posit_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x64\x65positEndTime\x12u\n\rtotal_deposit\x18\x07 \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*\x01R\x0ctotalDeposit\x12U\n\x11voting_start_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0fvotingStartTime\x12Q\n\x0fvoting_end_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\rvotingEndTime:\x04\xe8\xa0\x1f\x01\"\xa5\x02\n\x0bTallyResult\x12=\n\x03yes\x18\x01 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x03yes\x12\x45\n\x07\x61\x62stain\x18\x02 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x61\x62stain\x12;\n\x02no\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x02no\x12M\n\x0cno_with_veto\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\nnoWithVeto:\x04\xe8\xa0\x1f\x01\"\xfa\x01\n\x04Vote\x12\x33\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x12\xea\xde\x1f\x02id\xa2\xe7\xb0*\x02id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12:\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionB\x02\x18\x01R\x06option\x12K\n\x07options\x18\x04 \x03(\x0b\x32&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07options:\x04\xe8\xa0\x1f\x00\"\x8a\x02\n\rDepositParams\x12\x85\x01\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBI\xc8\xde\x1f\x00\xea\xde\x1f\x15min_deposit,omitempty\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\nminDeposit\x12q\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB(\xc8\xde\x1f\x00\xea\xde\x1f\x1cmax_deposit_period,omitempty\x98\xdf\x1f\x01R\x10maxDepositPeriod\"s\n\x0cVotingParams\x12\x63\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB#\xc8\xde\x1f\x00\xea\xde\x1f\x17voting_period,omitempty\x98\xdf\x1f\x01R\x0cvotingPeriod\"\xca\x02\n\x0bTallyParams\x12]\n\x06quorum\x18\x01 \x01(\x0c\x42\x45\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x10quorum,omitempty\xd2\xb4-\ncosmos.DecR\x06quorum\x12\x66\n\tthreshold\x18\x02 \x01(\x0c\x42H\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x13threshold,omitempty\xd2\xb4-\ncosmos.DecR\tthreshold\x12t\n\x0eveto_threshold\x18\x03 \x01(\x0c\x42M\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x18veto_threshold,omitempty\xd2\xb4-\ncosmos.DecR\rvetoThreshold*\xe6\x01\n\nVoteOption\x12,\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bOptionEmpty\x12\"\n\x0fVOTE_OPTION_YES\x10\x01\x1a\r\x8a\x9d \tOptionYes\x12*\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x1a\x11\x8a\x9d \rOptionAbstain\x12 \n\x0eVOTE_OPTION_NO\x10\x03\x1a\x0c\x8a\x9d \x08OptionNo\x12\x32\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04\x1a\x14\x8a\x9d \x10OptionNoWithVeto\x1a\x04\x88\xa3\x1e\x00*\xcc\x02\n\x0eProposalStatus\x12.\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x1a\r\x8a\x9d \tStatusNil\x12;\n\x1ePROPOSAL_STATUS_DEPOSIT_PERIOD\x10\x01\x1a\x17\x8a\x9d \x13StatusDepositPeriod\x12\x39\n\x1dPROPOSAL_STATUS_VOTING_PERIOD\x10\x02\x1a\x16\x8a\x9d \x12StatusVotingPeriod\x12,\n\x16PROPOSAL_STATUS_PASSED\x10\x03\x1a\x10\x8a\x9d \x0cStatusPassed\x12\x30\n\x18PROPOSAL_STATUS_REJECTED\x10\x04\x1a\x12\x8a\x9d \x0eStatusRejected\x12,\n\x16PROPOSAL_STATUS_FAILED\x10\x05\x1a\x10\x8a\x9d \x0cStatusFailed\x1a\x04\x88\xa3\x1e\x00\x42\xc2\x01\n\x16\x63om.cosmos.gov.v1beta1B\x08GovProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.gov_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.gov.v1beta1B\010GovProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1\310\341\036\000' - _globals['_VOTEOPTION']._loaded_options = None - _globals['_VOTEOPTION']._serialized_options = b'\210\243\036\000' - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_UNSPECIFIED"]._loaded_options = None - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_UNSPECIFIED"]._serialized_options = b'\212\235 \013OptionEmpty' - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_YES"]._loaded_options = None - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_YES"]._serialized_options = b'\212\235 \tOptionYes' - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_ABSTAIN"]._loaded_options = None - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_ABSTAIN"]._serialized_options = b'\212\235 \rOptionAbstain' - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_NO"]._loaded_options = None - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_NO"]._serialized_options = b'\212\235 \010OptionNo' - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_NO_WITH_VETO"]._loaded_options = None - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_NO_WITH_VETO"]._serialized_options = b'\212\235 \020OptionNoWithVeto' - _globals['_PROPOSALSTATUS']._loaded_options = None - _globals['_PROPOSALSTATUS']._serialized_options = b'\210\243\036\000' - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_UNSPECIFIED"]._loaded_options = None - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_UNSPECIFIED"]._serialized_options = b'\212\235 \tStatusNil' - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_DEPOSIT_PERIOD"]._loaded_options = None - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_DEPOSIT_PERIOD"]._serialized_options = b'\212\235 \023StatusDepositPeriod' - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_VOTING_PERIOD"]._loaded_options = None - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_VOTING_PERIOD"]._serialized_options = b'\212\235 \022StatusVotingPeriod' - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_PASSED"]._loaded_options = None - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_PASSED"]._serialized_options = b'\212\235 \014StatusPassed' - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_REJECTED"]._loaded_options = None - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_REJECTED"]._serialized_options = b'\212\235 \016StatusRejected' - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_FAILED"]._loaded_options = None - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_FAILED"]._serialized_options = b'\212\235 \014StatusFailed' - _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._loaded_options = None - _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_TEXTPROPOSAL']._loaded_options = None - _globals['_TEXTPROPOSAL']._serialized_options = b'\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027cosmos-sdk/TextProposal' - _globals['_DEPOSIT'].fields_by_name['depositor']._loaded_options = None - _globals['_DEPOSIT'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DEPOSIT'].fields_by_name['amount']._loaded_options = None - _globals['_DEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' - _globals['_DEPOSIT']._loaded_options = None - _globals['_DEPOSIT']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_PROPOSAL'].fields_by_name['content']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['content']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_PROPOSAL'].fields_by_name['final_tally_result']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['final_tally_result']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['submit_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['submit_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['total_deposit']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['total_deposit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['voting_start_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['voting_start_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['voting_end_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['voting_end_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_PROPOSAL']._loaded_options = None - _globals['_PROPOSAL']._serialized_options = b'\350\240\037\001' - _globals['_TALLYRESULT'].fields_by_name['yes']._loaded_options = None - _globals['_TALLYRESULT'].fields_by_name['yes']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_TALLYRESULT'].fields_by_name['abstain']._loaded_options = None - _globals['_TALLYRESULT'].fields_by_name['abstain']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_TALLYRESULT'].fields_by_name['no']._loaded_options = None - _globals['_TALLYRESULT'].fields_by_name['no']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_TALLYRESULT'].fields_by_name['no_with_veto']._loaded_options = None - _globals['_TALLYRESULT'].fields_by_name['no_with_veto']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_TALLYRESULT']._loaded_options = None - _globals['_TALLYRESULT']._serialized_options = b'\350\240\037\001' - _globals['_VOTE'].fields_by_name['proposal_id']._loaded_options = None - _globals['_VOTE'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\002id\242\347\260*\002id\250\347\260*\001' - _globals['_VOTE'].fields_by_name['voter']._loaded_options = None - _globals['_VOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_VOTE'].fields_by_name['option']._loaded_options = None - _globals['_VOTE'].fields_by_name['option']._serialized_options = b'\030\001' - _globals['_VOTE'].fields_by_name['options']._loaded_options = None - _globals['_VOTE'].fields_by_name['options']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_VOTE']._loaded_options = None - _globals['_VOTE']._serialized_options = b'\350\240\037\000' - _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._loaded_options = None - _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._serialized_options = b'\310\336\037\000\352\336\037\025min_deposit,omitempty\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._loaded_options = None - _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._serialized_options = b'\310\336\037\000\352\336\037\034max_deposit_period,omitempty\230\337\037\001' - _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._loaded_options = None - _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._serialized_options = b'\310\336\037\000\352\336\037\027voting_period,omitempty\230\337\037\001' - _globals['_TALLYPARAMS'].fields_by_name['quorum']._loaded_options = None - _globals['_TALLYPARAMS'].fields_by_name['quorum']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\020quorum,omitempty\322\264-\ncosmos.Dec' - _globals['_TALLYPARAMS'].fields_by_name['threshold']._loaded_options = None - _globals['_TALLYPARAMS'].fields_by_name['threshold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\023threshold,omitempty\322\264-\ncosmos.Dec' - _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._loaded_options = None - _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\030veto_threshold,omitempty\322\264-\ncosmos.Dec' - _globals['_VOTEOPTION']._serialized_start=2758 - _globals['_VOTEOPTION']._serialized_end=2988 - _globals['_PROPOSALSTATUS']._serialized_start=2991 - _globals['_PROPOSALSTATUS']._serialized_end=3323 - _globals['_WEIGHTEDVOTEOPTION']._serialized_start=245 - _globals['_WEIGHTEDVOTEOPTION']._serialized_end=401 - _globals['_TEXTPROPOSAL']._serialized_start=404 - _globals['_TEXTPROPOSAL']._serialized_end=538 - _globals['_DEPOSIT']._serialized_start=541 - _globals['_DEPOSIT']._serialized_end=755 - _globals['_PROPOSAL']._serialized_start=758 - _globals['_PROPOSAL']._serialized_end=1487 - _globals['_TALLYRESULT']._serialized_start=1490 - _globals['_TALLYRESULT']._serialized_end=1783 - _globals['_VOTE']._serialized_start=1786 - _globals['_VOTE']._serialized_end=2036 - _globals['_DEPOSITPARAMS']._serialized_start=2039 - _globals['_DEPOSITPARAMS']._serialized_end=2305 - _globals['_VOTINGPARAMS']._serialized_start=2307 - _globals['_VOTINGPARAMS']._serialized_end=2422 - _globals['_TALLYPARAMS']._serialized_start=2425 - _globals['_TALLYPARAMS']._serialized_end=2755 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/gov/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/query_pb2.py deleted file mode 100644 index 9435f6f4..00000000 --- a/pyinjective/proto/cosmos/gov/v1beta1/query_pb2.py +++ /dev/null @@ -1,115 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/gov/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.gov.v1beta1 import gov_pb2 as cosmos_dot_gov_dot_v1beta1_dot_gov__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/gov/v1beta1/query.proto\x12\x12\x63osmos.gov.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\\\n\x15QueryProposalResponse\x12\x43\n\x08proposal\x18\x01 \x01(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08proposal\"\x9e\x02\n\x15QueryProposalsRequest\x12K\n\x0fproposal_status\x18\x01 \x01(\x0e\x32\".cosmos.gov.v1beta1.ProposalStatusR\x0eproposalStatus\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\tdepositor\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa8\x01\n\x16QueryProposalsResponse\x12\x45\n\tproposals\x18\x01 \x03(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"m\n\x10QueryVoteRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"L\n\x11QueryVoteResponse\x12\x37\n\x04vote\x18\x01 \x01(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04vote\"|\n\x11QueryVotesRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x98\x01\n\x12QueryVotesResponse\x12\x39\n\x05votes\x18\x01 \x03(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"5\n\x12QueryParamsRequest\x12\x1f\n\x0bparams_type\x18\x01 \x01(\tR\nparamsType\"\x8b\x02\n\x13QueryParamsResponse\x12P\n\rvoting_params\x18\x01 \x01(\x0b\x32 .cosmos.gov.v1beta1.VotingParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cvotingParams\x12S\n\x0e\x64\x65posit_params\x18\x02 \x01(\x0b\x32!.cosmos.gov.v1beta1.DepositParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdepositParams\x12M\n\x0ctally_params\x18\x03 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0btallyParams\"x\n\x13QueryDepositRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"X\n\x14QueryDepositResponse\x12@\n\x07\x64\x65posit\x18\x01 \x01(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x64\x65posit\"\x7f\n\x14QueryDepositsRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa4\x01\n\x15QueryDepositsResponse\x12\x42\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x64\x65posits\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\\\n\x18QueryTallyResultResponse\x12@\n\x05tally\x18\x01 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05tally2\xd4\t\n\x05Query\x12\x94\x01\n\x08Proposal\x12(.cosmos.gov.v1beta1.QueryProposalRequest\x1a).cosmos.gov.v1beta1.QueryProposalResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/gov/v1beta1/proposals/{proposal_id}\x12\x89\x01\n\tProposals\x12).cosmos.gov.v1beta1.QueryProposalsRequest\x1a*.cosmos.gov.v1beta1.QueryProposalsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/gov/v1beta1/proposals\x12\x96\x01\n\x04Vote\x12$.cosmos.gov.v1beta1.QueryVoteRequest\x1a%.cosmos.gov.v1beta1.QueryVoteResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}\x12\x91\x01\n\x05Votes\x12%.cosmos.gov.v1beta1.QueryVotesRequest\x1a&.cosmos.gov.v1beta1.QueryVotesResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/gov/v1beta1/proposals/{proposal_id}/votes\x12\x8b\x01\n\x06Params\x12&.cosmos.gov.v1beta1.QueryParamsRequest\x1a\'.cosmos.gov.v1beta1.QueryParamsResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/gov/v1beta1/params/{params_type}\x12\xa6\x01\n\x07\x44\x65posit\x12\'.cosmos.gov.v1beta1.QueryDepositRequest\x1a(.cosmos.gov.v1beta1.QueryDepositResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}\x12\x9d\x01\n\x08\x44\x65posits\x12(.cosmos.gov.v1beta1.QueryDepositsRequest\x1a).cosmos.gov.v1beta1.QueryDepositsResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits\x12\xa3\x01\n\x0bTallyResult\x12+.cosmos.gov.v1beta1.QueryTallyResultRequest\x1a,.cosmos.gov.v1beta1.QueryTallyResultResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/gov/v1beta1/proposals/{proposal_id}/tallyB\xc0\x01\n\x16\x63om.cosmos.gov.v1beta1B\nQueryProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.gov.v1beta1B\nQueryProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1' - _globals['_QUERYPROPOSALRESPONSE'].fields_by_name['proposal']._loaded_options = None - _globals['_QUERYPROPOSALRESPONSE'].fields_by_name['proposal']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['voter']._loaded_options = None - _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['depositor']._loaded_options = None - _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYPROPOSALSREQUEST']._loaded_options = None - _globals['_QUERYPROPOSALSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYPROPOSALSRESPONSE'].fields_by_name['proposals']._loaded_options = None - _globals['_QUERYPROPOSALSRESPONSE'].fields_by_name['proposals']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYVOTEREQUEST'].fields_by_name['voter']._loaded_options = None - _globals['_QUERYVOTEREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYVOTEREQUEST']._loaded_options = None - _globals['_QUERYVOTEREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYVOTERESPONSE'].fields_by_name['vote']._loaded_options = None - _globals['_QUERYVOTERESPONSE'].fields_by_name['vote']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYVOTESRESPONSE'].fields_by_name['votes']._loaded_options = None - _globals['_QUERYVOTESRESPONSE'].fields_by_name['votes']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['voting_params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['voting_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['deposit_params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['deposit_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['tally_params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['tally_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDEPOSITREQUEST'].fields_by_name['depositor']._loaded_options = None - _globals['_QUERYDEPOSITREQUEST'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDEPOSITREQUEST']._loaded_options = None - _globals['_QUERYDEPOSITREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDEPOSITRESPONSE'].fields_by_name['deposit']._loaded_options = None - _globals['_QUERYDEPOSITRESPONSE'].fields_by_name['deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDEPOSITSRESPONSE'].fields_by_name['deposits']._loaded_options = None - _globals['_QUERYDEPOSITSRESPONSE'].fields_by_name['deposits']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYTALLYRESULTRESPONSE'].fields_by_name['tally']._loaded_options = None - _globals['_QUERYTALLYRESULTRESPONSE'].fields_by_name['tally']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERY'].methods_by_name['Proposal']._loaded_options = None - _globals['_QUERY'].methods_by_name['Proposal']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/gov/v1beta1/proposals/{proposal_id}' - _globals['_QUERY'].methods_by_name['Proposals']._loaded_options = None - _globals['_QUERY'].methods_by_name['Proposals']._serialized_options = b'\202\323\344\223\002\037\022\035/cosmos/gov/v1beta1/proposals' - _globals['_QUERY'].methods_by_name['Vote']._loaded_options = None - _globals['_QUERY'].methods_by_name['Vote']._serialized_options = b'\202\323\344\223\002;\0229/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}' - _globals['_QUERY'].methods_by_name['Votes']._loaded_options = None - _globals['_QUERY'].methods_by_name['Votes']._serialized_options = b'\202\323\344\223\0023\0221/cosmos/gov/v1beta1/proposals/{proposal_id}/votes' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/gov/v1beta1/params/{params_type}' - _globals['_QUERY'].methods_by_name['Deposit']._loaded_options = None - _globals['_QUERY'].methods_by_name['Deposit']._serialized_options = b'\202\323\344\223\002B\022@/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}' - _globals['_QUERY'].methods_by_name['Deposits']._loaded_options = None - _globals['_QUERY'].methods_by_name['Deposits']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits' - _globals['_QUERY'].methods_by_name['TallyResult']._loaded_options = None - _globals['_QUERY'].methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\0023\0221/cosmos/gov/v1beta1/proposals/{proposal_id}/tally' - _globals['_QUERYPROPOSALREQUEST']._serialized_start=226 - _globals['_QUERYPROPOSALREQUEST']._serialized_end=281 - _globals['_QUERYPROPOSALRESPONSE']._serialized_start=283 - _globals['_QUERYPROPOSALRESPONSE']._serialized_end=375 - _globals['_QUERYPROPOSALSREQUEST']._serialized_start=378 - _globals['_QUERYPROPOSALSREQUEST']._serialized_end=664 - _globals['_QUERYPROPOSALSRESPONSE']._serialized_start=667 - _globals['_QUERYPROPOSALSRESPONSE']._serialized_end=835 - _globals['_QUERYVOTEREQUEST']._serialized_start=837 - _globals['_QUERYVOTEREQUEST']._serialized_end=946 - _globals['_QUERYVOTERESPONSE']._serialized_start=948 - _globals['_QUERYVOTERESPONSE']._serialized_end=1024 - _globals['_QUERYVOTESREQUEST']._serialized_start=1026 - _globals['_QUERYVOTESREQUEST']._serialized_end=1150 - _globals['_QUERYVOTESRESPONSE']._serialized_start=1153 - _globals['_QUERYVOTESRESPONSE']._serialized_end=1305 - _globals['_QUERYPARAMSREQUEST']._serialized_start=1307 - _globals['_QUERYPARAMSREQUEST']._serialized_end=1360 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=1363 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=1630 - _globals['_QUERYDEPOSITREQUEST']._serialized_start=1632 - _globals['_QUERYDEPOSITREQUEST']._serialized_end=1752 - _globals['_QUERYDEPOSITRESPONSE']._serialized_start=1754 - _globals['_QUERYDEPOSITRESPONSE']._serialized_end=1842 - _globals['_QUERYDEPOSITSREQUEST']._serialized_start=1844 - _globals['_QUERYDEPOSITSREQUEST']._serialized_end=1971 - _globals['_QUERYDEPOSITSRESPONSE']._serialized_start=1974 - _globals['_QUERYDEPOSITSRESPONSE']._serialized_end=2138 - _globals['_QUERYTALLYRESULTREQUEST']._serialized_start=2140 - _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=2198 - _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=2200 - _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=2292 - _globals['_QUERY']._serialized_start=2295 - _globals['_QUERY']._serialized_end=3531 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1beta1/query_pb2_grpc.py deleted file mode 100644 index 1c268032..00000000 --- a/pyinjective/proto/cosmos/gov/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,389 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.gov.v1beta1 import query_pb2 as cosmos_dot_gov_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service for gov module - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Proposal = channel.unary_unary( - '/cosmos.gov.v1beta1.Query/Proposal', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalResponse.FromString, - _registered_method=True) - self.Proposals = channel.unary_unary( - '/cosmos.gov.v1beta1.Query/Proposals', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsResponse.FromString, - _registered_method=True) - self.Vote = channel.unary_unary( - '/cosmos.gov.v1beta1.Query/Vote', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteResponse.FromString, - _registered_method=True) - self.Votes = channel.unary_unary( - '/cosmos.gov.v1beta1.Query/Votes', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesResponse.FromString, - _registered_method=True) - self.Params = channel.unary_unary( - '/cosmos.gov.v1beta1.Query/Params', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - self.Deposit = channel.unary_unary( - '/cosmos.gov.v1beta1.Query/Deposit', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositResponse.FromString, - _registered_method=True) - self.Deposits = channel.unary_unary( - '/cosmos.gov.v1beta1.Query/Deposits', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsResponse.FromString, - _registered_method=True) - self.TallyResult = channel.unary_unary( - '/cosmos.gov.v1beta1.Query/TallyResult', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service for gov module - """ - - def Proposal(self, request, context): - """Proposal queries proposal details based on ProposalID. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Proposals(self, request, context): - """Proposals queries all proposals based on given status. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Vote(self, request, context): - """Vote queries voted information based on proposalID, voterAddr. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Votes(self, request, context): - """Votes queries votes of a given proposal. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Params(self, request, context): - """Params queries all parameters of the gov module. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Deposit(self, request, context): - """Deposit queries single deposit information based on proposalID, depositor address. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Deposits(self, request, context): - """Deposits queries all deposits of a single proposal. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TallyResult(self, request, context): - """TallyResult queries the tally of a proposal vote. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Proposal': grpc.unary_unary_rpc_method_handler( - servicer.Proposal, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalResponse.SerializeToString, - ), - 'Proposals': grpc.unary_unary_rpc_method_handler( - servicer.Proposals, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsResponse.SerializeToString, - ), - 'Vote': grpc.unary_unary_rpc_method_handler( - servicer.Vote, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteResponse.SerializeToString, - ), - 'Votes': grpc.unary_unary_rpc_method_handler( - servicer.Votes, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesResponse.SerializeToString, - ), - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'Deposit': grpc.unary_unary_rpc_method_handler( - servicer.Deposit, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositResponse.SerializeToString, - ), - 'Deposits': grpc.unary_unary_rpc_method_handler( - servicer.Deposits, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsResponse.SerializeToString, - ), - 'TallyResult': grpc.unary_unary_rpc_method_handler( - servicer.TallyResult, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.gov.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.gov.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service for gov module - """ - - @staticmethod - def Proposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1beta1.Query/Proposal', - cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalRequest.SerializeToString, - cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Proposals(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1beta1.Query/Proposals', - cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsRequest.SerializeToString, - cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Vote(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1beta1.Query/Vote', - cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteRequest.SerializeToString, - cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Votes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1beta1.Query/Votes', - cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesRequest.SerializeToString, - cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1beta1.Query/Params', - cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Deposit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1beta1.Query/Deposit', - cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositRequest.SerializeToString, - cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Deposits(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1beta1.Query/Deposits', - cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsRequest.SerializeToString, - cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def TallyResult(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1beta1.Query/TallyResult', - cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, - cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py deleted file mode 100644 index 9845faf0..00000000 --- a/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py +++ /dev/null @@ -1,82 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/gov/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.gov.v1beta1 import gov_pb2 as cosmos_dot_gov_dot_v1beta1_dot_gov__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/gov/v1beta1/tx.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xde\x02\n\x11MsgSubmitProposal\x12N\n\x07\x63ontent\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12\x8a\x01\n\x0finitial_deposit\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0einitialDeposit\x12\x34\n\x08proposer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer:6\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x08proposer\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSubmitProposal\"R\n\x19MsgSubmitProposalResponse\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\"\xbd\x01\n\x07MsgVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionR\x06option:)\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgVote\"\x11\n\x0fMsgVoteResponse\"\xf8\x01\n\x0fMsgVoteWeighted\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12K\n\x07options\x18\x03 \x03(\x0b\x32&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07options:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgVoteWeighted\"\x19\n\x17MsgVoteWeightedResponse\"\xac\x02\n\nMsgDeposit\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:4\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x80\xdc \x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x15\x63osmos-sdk/MsgDeposit\"\x14\n\x12MsgDepositResponse2\xf3\x02\n\x03Msg\x12\x66\n\x0eSubmitProposal\x12%.cosmos.gov.v1beta1.MsgSubmitProposal\x1a-.cosmos.gov.v1beta1.MsgSubmitProposalResponse\x12H\n\x04Vote\x12\x1b.cosmos.gov.v1beta1.MsgVote\x1a#.cosmos.gov.v1beta1.MsgVoteResponse\x12`\n\x0cVoteWeighted\x12#.cosmos.gov.v1beta1.MsgVoteWeighted\x1a+.cosmos.gov.v1beta1.MsgVoteWeightedResponse\x12Q\n\x07\x44\x65posit\x12\x1e.cosmos.gov.v1beta1.MsgDeposit\x1a&.cosmos.gov.v1beta1.MsgDepositResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x16\x63om.cosmos.gov.v1beta1B\x07TxProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.gov.v1beta1B\007TxProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1' - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['content']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['content']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['initial_deposit']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['initial_deposit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['proposer']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSUBMITPROPOSAL']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\010proposer\212\347\260*\034cosmos-sdk/MsgSubmitProposal' - _globals['_MSGSUBMITPROPOSALRESPONSE'].fields_by_name['proposal_id']._loaded_options = None - _globals['_MSGSUBMITPROPOSALRESPONSE'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' - _globals['_MSGVOTE'].fields_by_name['voter']._loaded_options = None - _globals['_MSGVOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGVOTE']._loaded_options = None - _globals['_MSGVOTE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\005voter\212\347\260*\022cosmos-sdk/MsgVote' - _globals['_MSGVOTEWEIGHTED'].fields_by_name['proposal_id']._loaded_options = None - _globals['_MSGVOTEWEIGHTED'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' - _globals['_MSGVOTEWEIGHTED'].fields_by_name['voter']._loaded_options = None - _globals['_MSGVOTEWEIGHTED'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGVOTEWEIGHTED'].fields_by_name['options']._loaded_options = None - _globals['_MSGVOTEWEIGHTED'].fields_by_name['options']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGVOTEWEIGHTED']._loaded_options = None - _globals['_MSGVOTEWEIGHTED']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\005voter\212\347\260*\032cosmos-sdk/MsgVoteWeighted' - _globals['_MSGDEPOSIT'].fields_by_name['proposal_id']._loaded_options = None - _globals['_MSGDEPOSIT'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' - _globals['_MSGDEPOSIT'].fields_by_name['depositor']._loaded_options = None - _globals['_MSGDEPOSIT'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGDEPOSIT'].fields_by_name['amount']._loaded_options = None - _globals['_MSGDEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGDEPOSIT']._loaded_options = None - _globals['_MSGDEPOSIT']._serialized_options = b'\210\240\037\000\350\240\037\000\200\334 \000\202\347\260*\tdepositor\212\347\260*\025cosmos-sdk/MsgDeposit' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGSUBMITPROPOSAL']._serialized_start=234 - _globals['_MSGSUBMITPROPOSAL']._serialized_end=584 - _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_start=586 - _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_end=668 - _globals['_MSGVOTE']._serialized_start=671 - _globals['_MSGVOTE']._serialized_end=860 - _globals['_MSGVOTERESPONSE']._serialized_start=862 - _globals['_MSGVOTERESPONSE']._serialized_end=879 - _globals['_MSGVOTEWEIGHTED']._serialized_start=882 - _globals['_MSGVOTEWEIGHTED']._serialized_end=1130 - _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_start=1132 - _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_end=1157 - _globals['_MSGDEPOSIT']._serialized_start=1160 - _globals['_MSGDEPOSIT']._serialized_end=1460 - _globals['_MSGDEPOSITRESPONSE']._serialized_start=1462 - _globals['_MSGDEPOSITRESPONSE']._serialized_end=1482 - _globals['_MSG']._serialized_start=1485 - _globals['_MSG']._serialized_end=1856 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index a8fbf803..00000000 --- a/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,215 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.gov.v1beta1 import tx_pb2 as cosmos_dot_gov_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the gov Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.SubmitProposal = channel.unary_unary( - '/cosmos.gov.v1beta1.Msg/SubmitProposal', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, - _registered_method=True) - self.Vote = channel.unary_unary( - '/cosmos.gov.v1beta1.Msg/Vote', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVote.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteResponse.FromString, - _registered_method=True) - self.VoteWeighted = channel.unary_unary( - '/cosmos.gov.v1beta1.Msg/VoteWeighted', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, - _registered_method=True) - self.Deposit = channel.unary_unary( - '/cosmos.gov.v1beta1.Msg/Deposit', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the gov Msg service. - """ - - def SubmitProposal(self, request, context): - """SubmitProposal defines a method to create new proposal given a content. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Vote(self, request, context): - """Vote defines a method to add a vote on a specific proposal. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def VoteWeighted(self, request, context): - """VoteWeighted defines a method to add a weighted vote on a specific proposal. - - Since: cosmos-sdk 0.43 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Deposit(self, request, context): - """Deposit defines a method to add deposit on a specific proposal. - """ - 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 = { - 'SubmitProposal': grpc.unary_unary_rpc_method_handler( - servicer.SubmitProposal, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposal.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, - ), - 'Vote': grpc.unary_unary_rpc_method_handler( - servicer.Vote, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVote.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteResponse.SerializeToString, - ), - 'VoteWeighted': grpc.unary_unary_rpc_method_handler( - servicer.VoteWeighted, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeighted.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeightedResponse.SerializeToString, - ), - 'Deposit': grpc.unary_unary_rpc_method_handler( - servicer.Deposit, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDeposit.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.gov.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.gov.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the gov Msg service. - """ - - @staticmethod - def SubmitProposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1beta1.Msg/SubmitProposal', - cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, - cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Vote(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1beta1.Msg/Vote', - cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVote.SerializeToString, - cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def VoteWeighted(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1beta1.Msg/VoteWeighted', - cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, - cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Deposit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.gov.v1beta1.Msg/Deposit', - cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, - cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/group/module/v1/module_pb2.py b/pyinjective/proto/cosmos/group/module/v1/module_pb2.py deleted file mode 100644 index 163f5e86..00000000 --- a/pyinjective/proto/cosmos/group/module/v1/module_pb2.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/group/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/group/module/v1/module.proto\x12\x16\x63osmos.group.module.v1\x1a cosmos/app/v1alpha1/module.proto\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x11\x61mino/amino.proto\"\xbc\x01\n\x06Module\x12Z\n\x14max_execution_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x12maxExecutionPeriod\x12(\n\x10max_metadata_len\x18\x02 \x01(\x04R\x0emaxMetadataLen:,\xba\xc0\x96\xda\x01&\n$github.com/cosmos/cosmos-sdk/x/groupB\xa4\x01\n\x1a\x63om.cosmos.group.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x16\x43osmos.Group.Module.V1\xca\x02\x16\x43osmos\\Group\\Module\\V1\xe2\x02\"Cosmos\\Group\\Module\\V1\\GPBMetadata\xea\x02\x19\x43osmos::Group::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.group.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\026Cosmos.Group.Module.V1\312\002\026Cosmos\\Group\\Module\\V1\342\002\"Cosmos\\Group\\Module\\V1\\GPBMetadata\352\002\031Cosmos::Group::Module::V1' - _globals['_MODULE'].fields_by_name['max_execution_period']._loaded_options = None - _globals['_MODULE'].fields_by_name['max_execution_period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/group' - _globals['_MODULE']._serialized_start=171 - _globals['_MODULE']._serialized_end=359 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/group/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/group/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/group/v1/events_pb2.py b/pyinjective/proto/cosmos/group/v1/events_pb2.py deleted file mode 100644 index 3d5129a1..00000000 --- a/pyinjective/proto/cosmos/group/v1/events_pb2.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/group/v1/events.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/group/v1/events.proto\x12\x0f\x63osmos.group.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/group/v1/types.proto\"-\n\x10\x45ventCreateGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\"-\n\x10\x45ventUpdateGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\"L\n\x16\x45ventCreateGroupPolicy\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"L\n\x16\x45ventUpdateGroupPolicy\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"6\n\x13\x45ventSubmitProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"8\n\x15\x45ventWithdrawProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\",\n\tEventVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\x81\x01\n\tEventExec\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12?\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x06result\x12\x12\n\x04logs\x18\x03 \x01(\tR\x04logs\"`\n\x0f\x45ventLeaveGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x32\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"\xb0\x01\n\x13\x45ventProposalPruned\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x37\n\x06status\x18\x02 \x01(\x0e\x32\x1f.cosmos.group.v1.ProposalStatusR\x06status\x12?\n\x0ctally_result\x18\x03 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultR\x0btallyResultB\xa6\x01\n\x13\x63om.cosmos.group.v1B\x0b\x45ventsProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.events_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\013EventsProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' - _globals['_EVENTCREATEGROUPPOLICY'].fields_by_name['address']._loaded_options = None - _globals['_EVENTCREATEGROUPPOLICY'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EVENTUPDATEGROUPPOLICY'].fields_by_name['address']._loaded_options = None - _globals['_EVENTUPDATEGROUPPOLICY'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EVENTLEAVEGROUP'].fields_by_name['address']._loaded_options = None - _globals['_EVENTLEAVEGROUP'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EVENTCREATEGROUP']._serialized_start=105 - _globals['_EVENTCREATEGROUP']._serialized_end=150 - _globals['_EVENTUPDATEGROUP']._serialized_start=152 - _globals['_EVENTUPDATEGROUP']._serialized_end=197 - _globals['_EVENTCREATEGROUPPOLICY']._serialized_start=199 - _globals['_EVENTCREATEGROUPPOLICY']._serialized_end=275 - _globals['_EVENTUPDATEGROUPPOLICY']._serialized_start=277 - _globals['_EVENTUPDATEGROUPPOLICY']._serialized_end=353 - _globals['_EVENTSUBMITPROPOSAL']._serialized_start=355 - _globals['_EVENTSUBMITPROPOSAL']._serialized_end=409 - _globals['_EVENTWITHDRAWPROPOSAL']._serialized_start=411 - _globals['_EVENTWITHDRAWPROPOSAL']._serialized_end=467 - _globals['_EVENTVOTE']._serialized_start=469 - _globals['_EVENTVOTE']._serialized_end=513 - _globals['_EVENTEXEC']._serialized_start=516 - _globals['_EVENTEXEC']._serialized_end=645 - _globals['_EVENTLEAVEGROUP']._serialized_start=647 - _globals['_EVENTLEAVEGROUP']._serialized_end=743 - _globals['_EVENTPROPOSALPRUNED']._serialized_start=746 - _globals['_EVENTPROPOSALPRUNED']._serialized_end=922 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/events_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/events_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/group/v1/events_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/group/v1/genesis_pb2.py b/pyinjective/proto/cosmos/group/v1/genesis_pb2.py deleted file mode 100644 index 1ebf5b48..00000000 --- a/pyinjective/proto/cosmos/group/v1/genesis_pb2.py +++ /dev/null @@ -1,28 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/group/v1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/group/v1/genesis.proto\x12\x0f\x63osmos.group.v1\x1a\x1b\x63osmos/group/v1/types.proto\"\x9e\x03\n\x0cGenesisState\x12\x1b\n\tgroup_seq\x18\x01 \x01(\x04R\x08groupSeq\x12\x32\n\x06groups\x18\x02 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12\x41\n\rgroup_members\x18\x03 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMemberR\x0cgroupMembers\x12(\n\x10group_policy_seq\x18\x04 \x01(\x04R\x0egroupPolicySeq\x12G\n\x0egroup_policies\x18\x05 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12!\n\x0cproposal_seq\x18\x06 \x01(\x04R\x0bproposalSeq\x12\x37\n\tproposals\x18\x07 \x03(\x0b\x32\x19.cosmos.group.v1.ProposalR\tproposals\x12+\n\x05votes\x18\x08 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votesB\xa7\x01\n\x13\x63om.cosmos.group.v1B\x0cGenesisProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\014GenesisProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' - _globals['_GENESISSTATE']._serialized_start=80 - _globals['_GENESISSTATE']._serialized_end=494 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/group/v1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/group/v1/query_pb2.py b/pyinjective/proto/cosmos/group/v1/query_pb2.py deleted file mode 100644 index a18e3520..00000000 --- a/pyinjective/proto/cosmos/group/v1/query_pb2.py +++ /dev/null @@ -1,133 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/group/v1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/group/v1/query.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"2\n\x15QueryGroupInfoRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\"H\n\x16QueryGroupInfoResponse\x12.\n\x04info\x18\x01 \x01(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x04info\"Q\n\x1bQueryGroupPolicyInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"T\n\x1cQueryGroupPolicyInfoResponse\x12\x34\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\x04info\"}\n\x18QueryGroupMembersRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x9c\x01\n\x19QueryGroupMembersResponse\x12\x36\n\x07members\x18\x01 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMemberR\x07members\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x93\x01\n\x19QueryGroupsByAdminRequest\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x99\x01\n\x1aQueryGroupsByAdminResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x85\x01\n QueryGroupPoliciesByGroupRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb5\x01\n!QueryGroupPoliciesByGroupResponse\x12G\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x9a\x01\n QueryGroupPoliciesByAdminRequest\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb5\x01\n!QueryGroupPoliciesByAdminResponse\x12G\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"N\n\x15QueryProposalResponse\x12\x35\n\x08proposal\x18\x01 \x01(\x0b\x32\x19.cosmos.group.v1.ProposalR\x08proposal\"\xa0\x01\n\"QueryProposalsByGroupPolicyRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa7\x01\n#QueryProposalsByGroupPolicyResponse\x12\x37\n\tproposals\x18\x01 \x03(\x0b\x32\x19.cosmos.group.v1.ProposalR\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"r\n\x1fQueryVoteByProposalVoterRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\"M\n QueryVoteByProposalVoterResponse\x12)\n\x04vote\x18\x01 \x01(\x0b\x32\x15.cosmos.group.v1.VoteR\x04vote\"\x86\x01\n\x1bQueryVotesByProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x94\x01\n\x1cQueryVotesByProposalResponse\x12+\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x92\x01\n\x18QueryVotesByVoterRequest\x12.\n\x05voter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x91\x01\n\x19QueryVotesByVoterResponse\x12+\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x98\x01\n\x1aQueryGroupsByMemberRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x9a\x01\n\x1bQueryGroupsByMemberResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"Y\n\x18QueryTallyResultResponse\x12=\n\x05tally\x18\x01 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05tally\"\\\n\x12QueryGroupsRequest\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x92\x01\n\x13QueryGroupsResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xfb\x11\n\x05Query\x12\x8c\x01\n\tGroupInfo\x12&.cosmos.group.v1.QueryGroupInfoRequest\x1a\'.cosmos.group.v1.QueryGroupInfoResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/group/v1/group_info/{group_id}\x12\xa4\x01\n\x0fGroupPolicyInfo\x12,.cosmos.group.v1.QueryGroupPolicyInfoRequest\x1a-.cosmos.group.v1.QueryGroupPolicyInfoResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/group/v1/group_policy_info/{address}\x12\x98\x01\n\x0cGroupMembers\x12).cosmos.group.v1.QueryGroupMembersRequest\x1a*.cosmos.group.v1.QueryGroupMembersResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/group/v1/group_members/{group_id}\x12\x9a\x01\n\rGroupsByAdmin\x12*.cosmos.group.v1.QueryGroupsByAdminRequest\x1a+.cosmos.group.v1.QueryGroupsByAdminResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/group/v1/groups_by_admin/{admin}\x12\xba\x01\n\x14GroupPoliciesByGroup\x12\x31.cosmos.group.v1.QueryGroupPoliciesByGroupRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByGroupResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/group/v1/group_policies_by_group/{group_id}\x12\xb7\x01\n\x14GroupPoliciesByAdmin\x12\x31.cosmos.group.v1.QueryGroupPoliciesByAdminRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByAdminResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/group_policies_by_admin/{admin}\x12\x8a\x01\n\x08Proposal\x12%.cosmos.group.v1.QueryProposalRequest\x1a&.cosmos.group.v1.QueryProposalResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/proposal/{proposal_id}\x12\xc1\x01\n\x16ProposalsByGroupPolicy\x12\x33.cosmos.group.v1.QueryProposalsByGroupPolicyRequest\x1a\x34.cosmos.group.v1.QueryProposalsByGroupPolicyResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/group/v1/proposals_by_group_policy/{address}\x12\xc1\x01\n\x13VoteByProposalVoter\x12\x30.cosmos.group.v1.QueryVoteByProposalVoterRequest\x1a\x31.cosmos.group.v1.QueryVoteByProposalVoterResponse\"E\x82\xd3\xe4\x93\x02?\x12=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}\x12\xa8\x01\n\x0fVotesByProposal\x12,.cosmos.group.v1.QueryVotesByProposalRequest\x1a-.cosmos.group.v1.QueryVotesByProposalResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/votes_by_proposal/{proposal_id}\x12\x96\x01\n\x0cVotesByVoter\x12).cosmos.group.v1.QueryVotesByVoterRequest\x1a*.cosmos.group.v1.QueryVotesByVoterResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/votes_by_voter/{voter}\x12\xa0\x01\n\x0eGroupsByMember\x12+.cosmos.group.v1.QueryGroupsByMemberRequest\x1a,.cosmos.group.v1.QueryGroupsByMemberResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/group/v1/groups_by_member/{address}\x12\x9a\x01\n\x0bTallyResult\x12(.cosmos.group.v1.QueryTallyResultRequest\x1a).cosmos.group.v1.QueryTallyResultResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/group/v1/proposals/{proposal_id}/tally\x12t\n\x06Groups\x12#.cosmos.group.v1.QueryGroupsRequest\x1a$.cosmos.group.v1.QueryGroupsResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cosmos/group/v1/groupsB\xa5\x01\n\x13\x63om.cosmos.group.v1B\nQueryProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\nQueryProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' - _globals['_QUERYGROUPPOLICYINFOREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYGROUPPOLICYINFOREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYGROUPSBYADMINREQUEST'].fields_by_name['admin']._loaded_options = None - _globals['_QUERYGROUPSBYADMINREQUEST'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYGROUPPOLICIESBYADMINREQUEST'].fields_by_name['admin']._loaded_options = None - _globals['_QUERYGROUPPOLICIESBYADMINREQUEST'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST'].fields_by_name['voter']._loaded_options = None - _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYVOTESBYVOTERREQUEST'].fields_by_name['voter']._loaded_options = None - _globals['_QUERYVOTESBYVOTERREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYGROUPSBYMEMBERREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYGROUPSBYMEMBERREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYTALLYRESULTRESPONSE'].fields_by_name['tally']._loaded_options = None - _globals['_QUERYTALLYRESULTRESPONSE'].fields_by_name['tally']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERY'].methods_by_name['GroupInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['GroupInfo']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/group/v1/group_info/{group_id}' - _globals['_QUERY'].methods_by_name['GroupPolicyInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['GroupPolicyInfo']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/group/v1/group_policy_info/{address}' - _globals['_QUERY'].methods_by_name['GroupMembers']._loaded_options = None - _globals['_QUERY'].methods_by_name['GroupMembers']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/group/v1/group_members/{group_id}' - _globals['_QUERY'].methods_by_name['GroupsByAdmin']._loaded_options = None - _globals['_QUERY'].methods_by_name['GroupsByAdmin']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/group/v1/groups_by_admin/{admin}' - _globals['_QUERY'].methods_by_name['GroupPoliciesByGroup']._loaded_options = None - _globals['_QUERY'].methods_by_name['GroupPoliciesByGroup']._serialized_options = b'\202\323\344\223\0025\0223/cosmos/group/v1/group_policies_by_group/{group_id}' - _globals['_QUERY'].methods_by_name['GroupPoliciesByAdmin']._loaded_options = None - _globals['_QUERY'].methods_by_name['GroupPoliciesByAdmin']._serialized_options = b'\202\323\344\223\0022\0220/cosmos/group/v1/group_policies_by_admin/{admin}' - _globals['_QUERY'].methods_by_name['Proposal']._loaded_options = None - _globals['_QUERY'].methods_by_name['Proposal']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/group/v1/proposal/{proposal_id}' - _globals['_QUERY'].methods_by_name['ProposalsByGroupPolicy']._loaded_options = None - _globals['_QUERY'].methods_by_name['ProposalsByGroupPolicy']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/group/v1/proposals_by_group_policy/{address}' - _globals['_QUERY'].methods_by_name['VoteByProposalVoter']._loaded_options = None - _globals['_QUERY'].methods_by_name['VoteByProposalVoter']._serialized_options = b'\202\323\344\223\002?\022=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}' - _globals['_QUERY'].methods_by_name['VotesByProposal']._loaded_options = None - _globals['_QUERY'].methods_by_name['VotesByProposal']._serialized_options = b'\202\323\344\223\0022\0220/cosmos/group/v1/votes_by_proposal/{proposal_id}' - _globals['_QUERY'].methods_by_name['VotesByVoter']._loaded_options = None - _globals['_QUERY'].methods_by_name['VotesByVoter']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/group/v1/votes_by_voter/{voter}' - _globals['_QUERY'].methods_by_name['GroupsByMember']._loaded_options = None - _globals['_QUERY'].methods_by_name['GroupsByMember']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/group/v1/groups_by_member/{address}' - _globals['_QUERY'].methods_by_name['TallyResult']._loaded_options = None - _globals['_QUERY'].methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\0020\022./cosmos/group/v1/proposals/{proposal_id}/tally' - _globals['_QUERY'].methods_by_name['Groups']._loaded_options = None - _globals['_QUERY'].methods_by_name['Groups']._serialized_options = b'\202\323\344\223\002\031\022\027/cosmos/group/v1/groups' - _globals['_QUERYGROUPINFOREQUEST']._serialized_start=219 - _globals['_QUERYGROUPINFOREQUEST']._serialized_end=269 - _globals['_QUERYGROUPINFORESPONSE']._serialized_start=271 - _globals['_QUERYGROUPINFORESPONSE']._serialized_end=343 - _globals['_QUERYGROUPPOLICYINFOREQUEST']._serialized_start=345 - _globals['_QUERYGROUPPOLICYINFOREQUEST']._serialized_end=426 - _globals['_QUERYGROUPPOLICYINFORESPONSE']._serialized_start=428 - _globals['_QUERYGROUPPOLICYINFORESPONSE']._serialized_end=512 - _globals['_QUERYGROUPMEMBERSREQUEST']._serialized_start=514 - _globals['_QUERYGROUPMEMBERSREQUEST']._serialized_end=639 - _globals['_QUERYGROUPMEMBERSRESPONSE']._serialized_start=642 - _globals['_QUERYGROUPMEMBERSRESPONSE']._serialized_end=798 - _globals['_QUERYGROUPSBYADMINREQUEST']._serialized_start=801 - _globals['_QUERYGROUPSBYADMINREQUEST']._serialized_end=948 - _globals['_QUERYGROUPSBYADMINRESPONSE']._serialized_start=951 - _globals['_QUERYGROUPSBYADMINRESPONSE']._serialized_end=1104 - _globals['_QUERYGROUPPOLICIESBYGROUPREQUEST']._serialized_start=1107 - _globals['_QUERYGROUPPOLICIESBYGROUPREQUEST']._serialized_end=1240 - _globals['_QUERYGROUPPOLICIESBYGROUPRESPONSE']._serialized_start=1243 - _globals['_QUERYGROUPPOLICIESBYGROUPRESPONSE']._serialized_end=1424 - _globals['_QUERYGROUPPOLICIESBYADMINREQUEST']._serialized_start=1427 - _globals['_QUERYGROUPPOLICIESBYADMINREQUEST']._serialized_end=1581 - _globals['_QUERYGROUPPOLICIESBYADMINRESPONSE']._serialized_start=1584 - _globals['_QUERYGROUPPOLICIESBYADMINRESPONSE']._serialized_end=1765 - _globals['_QUERYPROPOSALREQUEST']._serialized_start=1767 - _globals['_QUERYPROPOSALREQUEST']._serialized_end=1822 - _globals['_QUERYPROPOSALRESPONSE']._serialized_start=1824 - _globals['_QUERYPROPOSALRESPONSE']._serialized_end=1902 - _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST']._serialized_start=1905 - _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST']._serialized_end=2065 - _globals['_QUERYPROPOSALSBYGROUPPOLICYRESPONSE']._serialized_start=2068 - _globals['_QUERYPROPOSALSBYGROUPPOLICYRESPONSE']._serialized_end=2235 - _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST']._serialized_start=2237 - _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST']._serialized_end=2351 - _globals['_QUERYVOTEBYPROPOSALVOTERRESPONSE']._serialized_start=2353 - _globals['_QUERYVOTEBYPROPOSALVOTERRESPONSE']._serialized_end=2430 - _globals['_QUERYVOTESBYPROPOSALREQUEST']._serialized_start=2433 - _globals['_QUERYVOTESBYPROPOSALREQUEST']._serialized_end=2567 - _globals['_QUERYVOTESBYPROPOSALRESPONSE']._serialized_start=2570 - _globals['_QUERYVOTESBYPROPOSALRESPONSE']._serialized_end=2718 - _globals['_QUERYVOTESBYVOTERREQUEST']._serialized_start=2721 - _globals['_QUERYVOTESBYVOTERREQUEST']._serialized_end=2867 - _globals['_QUERYVOTESBYVOTERRESPONSE']._serialized_start=2870 - _globals['_QUERYVOTESBYVOTERRESPONSE']._serialized_end=3015 - _globals['_QUERYGROUPSBYMEMBERREQUEST']._serialized_start=3018 - _globals['_QUERYGROUPSBYMEMBERREQUEST']._serialized_end=3170 - _globals['_QUERYGROUPSBYMEMBERRESPONSE']._serialized_start=3173 - _globals['_QUERYGROUPSBYMEMBERRESPONSE']._serialized_end=3327 - _globals['_QUERYTALLYRESULTREQUEST']._serialized_start=3329 - _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=3387 - _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=3389 - _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=3478 - _globals['_QUERYGROUPSREQUEST']._serialized_start=3480 - _globals['_QUERYGROUPSREQUEST']._serialized_end=3572 - _globals['_QUERYGROUPSRESPONSE']._serialized_start=3575 - _globals['_QUERYGROUPSRESPONSE']._serialized_end=3721 - _globals['_QUERY']._serialized_start=3724 - _globals['_QUERY']._serialized_end=6023 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py deleted file mode 100644 index 3018bf10..00000000 --- a/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py +++ /dev/null @@ -1,659 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.group.v1 import query_pb2 as cosmos_dot_group_dot_v1_dot_query__pb2 - - -class QueryStub(object): - """Query is the cosmos.group.v1 Query service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GroupInfo = channel.unary_unary( - '/cosmos.group.v1.Query/GroupInfo', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoResponse.FromString, - _registered_method=True) - self.GroupPolicyInfo = channel.unary_unary( - '/cosmos.group.v1.Query/GroupPolicyInfo', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoResponse.FromString, - _registered_method=True) - self.GroupMembers = channel.unary_unary( - '/cosmos.group.v1.Query/GroupMembers', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersResponse.FromString, - _registered_method=True) - self.GroupsByAdmin = channel.unary_unary( - '/cosmos.group.v1.Query/GroupsByAdmin', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminResponse.FromString, - _registered_method=True) - self.GroupPoliciesByGroup = channel.unary_unary( - '/cosmos.group.v1.Query/GroupPoliciesByGroup', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupResponse.FromString, - _registered_method=True) - self.GroupPoliciesByAdmin = channel.unary_unary( - '/cosmos.group.v1.Query/GroupPoliciesByAdmin', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminResponse.FromString, - _registered_method=True) - self.Proposal = channel.unary_unary( - '/cosmos.group.v1.Query/Proposal', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, - _registered_method=True) - self.ProposalsByGroupPolicy = channel.unary_unary( - '/cosmos.group.v1.Query/ProposalsByGroupPolicy', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyResponse.FromString, - _registered_method=True) - self.VoteByProposalVoter = channel.unary_unary( - '/cosmos.group.v1.Query/VoteByProposalVoter', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterResponse.FromString, - _registered_method=True) - self.VotesByProposal = channel.unary_unary( - '/cosmos.group.v1.Query/VotesByProposal', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalResponse.FromString, - _registered_method=True) - self.VotesByVoter = channel.unary_unary( - '/cosmos.group.v1.Query/VotesByVoter', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterResponse.FromString, - _registered_method=True) - self.GroupsByMember = channel.unary_unary( - '/cosmos.group.v1.Query/GroupsByMember', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberResponse.FromString, - _registered_method=True) - self.TallyResult = channel.unary_unary( - '/cosmos.group.v1.Query/TallyResult', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, - _registered_method=True) - self.Groups = channel.unary_unary( - '/cosmos.group.v1.Query/Groups', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query is the cosmos.group.v1 Query service. - """ - - def GroupInfo(self, request, context): - """GroupInfo queries group info based on group id. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GroupPolicyInfo(self, request, context): - """GroupPolicyInfo queries group policy info based on account address of group policy. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GroupMembers(self, request, context): - """GroupMembers queries members of a group by group id. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GroupsByAdmin(self, request, context): - """GroupsByAdmin queries groups by admin address. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GroupPoliciesByGroup(self, request, context): - """GroupPoliciesByGroup queries group policies by group id. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GroupPoliciesByAdmin(self, request, context): - """GroupPoliciesByAdmin queries group policies by admin address. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Proposal(self, request, context): - """Proposal queries a proposal based on proposal id. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ProposalsByGroupPolicy(self, request, context): - """ProposalsByGroupPolicy queries proposals based on account address of group policy. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def VoteByProposalVoter(self, request, context): - """VoteByProposalVoter queries a vote by proposal id and voter. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def VotesByProposal(self, request, context): - """VotesByProposal queries a vote by proposal id. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def VotesByVoter(self, request, context): - """VotesByVoter queries a vote by voter. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GroupsByMember(self, request, context): - """GroupsByMember queries groups by member address. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TallyResult(self, request, context): - """TallyResult returns the tally result of a proposal. If the proposal is - still in voting period, then this query computes the current tally state, - which might not be final. On the other hand, if the proposal is final, - then it simply returns the `final_tally_result` state stored in the - proposal itself. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Groups(self, request, context): - """Groups queries all groups in state. - - Since: cosmos-sdk 0.47.1 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GroupInfo': grpc.unary_unary_rpc_method_handler( - servicer.GroupInfo, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoResponse.SerializeToString, - ), - 'GroupPolicyInfo': grpc.unary_unary_rpc_method_handler( - servicer.GroupPolicyInfo, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoResponse.SerializeToString, - ), - 'GroupMembers': grpc.unary_unary_rpc_method_handler( - servicer.GroupMembers, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersResponse.SerializeToString, - ), - 'GroupsByAdmin': grpc.unary_unary_rpc_method_handler( - servicer.GroupsByAdmin, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminResponse.SerializeToString, - ), - 'GroupPoliciesByGroup': grpc.unary_unary_rpc_method_handler( - servicer.GroupPoliciesByGroup, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupResponse.SerializeToString, - ), - 'GroupPoliciesByAdmin': grpc.unary_unary_rpc_method_handler( - servicer.GroupPoliciesByAdmin, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminResponse.SerializeToString, - ), - 'Proposal': grpc.unary_unary_rpc_method_handler( - servicer.Proposal, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalResponse.SerializeToString, - ), - 'ProposalsByGroupPolicy': grpc.unary_unary_rpc_method_handler( - servicer.ProposalsByGroupPolicy, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyResponse.SerializeToString, - ), - 'VoteByProposalVoter': grpc.unary_unary_rpc_method_handler( - servicer.VoteByProposalVoter, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterResponse.SerializeToString, - ), - 'VotesByProposal': grpc.unary_unary_rpc_method_handler( - servicer.VotesByProposal, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalResponse.SerializeToString, - ), - 'VotesByVoter': grpc.unary_unary_rpc_method_handler( - servicer.VotesByVoter, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterResponse.SerializeToString, - ), - 'GroupsByMember': grpc.unary_unary_rpc_method_handler( - servicer.GroupsByMember, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberResponse.SerializeToString, - ), - 'TallyResult': grpc.unary_unary_rpc_method_handler( - servicer.TallyResult, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, - ), - 'Groups': grpc.unary_unary_rpc_method_handler( - servicer.Groups, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.group.v1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.group.v1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query is the cosmos.group.v1 Query service. - """ - - @staticmethod - def GroupInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Query/GroupInfo', - cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoRequest.SerializeToString, - cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GroupPolicyInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Query/GroupPolicyInfo', - cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoRequest.SerializeToString, - cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GroupMembers(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Query/GroupMembers', - cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersRequest.SerializeToString, - cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GroupsByAdmin(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Query/GroupsByAdmin', - cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminRequest.SerializeToString, - cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GroupPoliciesByGroup(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Query/GroupPoliciesByGroup', - cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupRequest.SerializeToString, - cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GroupPoliciesByAdmin(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Query/GroupPoliciesByAdmin', - cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminRequest.SerializeToString, - cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Proposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Query/Proposal', - cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, - cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ProposalsByGroupPolicy(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Query/ProposalsByGroupPolicy', - cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyRequest.SerializeToString, - cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def VoteByProposalVoter(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Query/VoteByProposalVoter', - cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterRequest.SerializeToString, - cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def VotesByProposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Query/VotesByProposal', - cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalRequest.SerializeToString, - cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def VotesByVoter(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Query/VotesByVoter', - cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterRequest.SerializeToString, - cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GroupsByMember(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Query/GroupsByMember', - cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberRequest.SerializeToString, - cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def TallyResult(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Query/TallyResult', - cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, - cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Groups(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Query/Groups', - cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.SerializeToString, - cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/group/v1/tx_pb2.py b/pyinjective/proto/cosmos/group/v1/tx_pb2.py deleted file mode 100644 index be5d27d0..00000000 --- a/pyinjective/proto/cosmos/group/v1/tx_pb2.py +++ /dev/null @@ -1,175 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/group/v1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x63osmos/group/v1/tx.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xcb\x01\n\x0eMsgCreateGroup\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x43\n\x07members\x18\x02 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07members\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:(\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x19\x63osmos-sdk/MsgCreateGroup\"3\n\x16MsgCreateGroupResponse\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\"\xe5\x01\n\x15MsgUpdateGroupMembers\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12P\n\x0emember_updates\x18\x03 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rmemberUpdates:/\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0* cosmos-sdk/MsgUpdateGroupMembers\"\x1f\n\x1dMsgUpdateGroupMembersResponse\"\xc6\x01\n\x13MsgUpdateGroupAdmin\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x35\n\tnew_admin\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin:-\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1e\x63osmos-sdk/MsgUpdateGroupAdmin\"\x1d\n\x1bMsgUpdateGroupAdminResponse\"\xb1\x01\n\x16MsgUpdateGroupMetadata\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:0\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*!cosmos-sdk/MsgUpdateGroupMetadata\" \n\x1eMsgUpdateGroupMetadataResponse\"\x94\x02\n\x14MsgCreateGroupPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy:2\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgCreateGroupPolicy\"R\n\x1cMsgCreateGroupPolicyResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"\x83\x02\n\x19MsgUpdateGroupPolicyAdmin\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x35\n\tnew_admin\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin:3\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*$cosmos-sdk/MsgUpdateGroupPolicyAdmin\"#\n!MsgUpdateGroupPolicyAdminResponse\"\xb8\x03\n\x18MsgCreateGroupWithPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x43\n\x07members\x18\x02 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07members\x12%\n\x0egroup_metadata\x18\x03 \x01(\tR\rgroupMetadata\x12\x32\n\x15group_policy_metadata\x18\x04 \x01(\tR\x13groupPolicyMetadata\x12\x31\n\x15group_policy_as_admin\x18\x05 \x01(\x08R\x12groupPolicyAsAdmin\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy:6\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*#cosmos-sdk/MsgCreateGroupWithPolicy\"\x89\x01\n MsgCreateGroupWithPolicyResponse\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\"\xbf\x02\n\"MsgUpdateGroupPolicyDecisionPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy::\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\'cosmos-sdk/MsgUpdateGroupDecisionPolicy\",\n*MsgUpdateGroupPolicyDecisionPolicyResponse\"\xee\x01\n\x1cMsgUpdateGroupPolicyMetadata\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:6\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\'cosmos-sdk/MsgUpdateGroupPolicyMetadata\"&\n$MsgUpdateGroupPolicyMetadataResponse\"\xe1\x02\n\x11MsgSubmitProposal\x12J\n\x14group_policy_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1c\n\tproposers\x18\x02 \x03(\tR\tproposers\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x30\n\x08messages\x18\x04 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12)\n\x04\x65xec\x18\x05 \x01(\x0e\x32\x15.cosmos.group.v1.ExecR\x04\x65xec\x12\x14\n\x05title\x18\x06 \x01(\tR\x05title\x12\x18\n\x07summary\x18\x07 \x01(\tR\x07summary:9\x88\xa0\x1f\x00\x82\xe7\xb0*\tproposers\x8a\xe7\xb0*\"cosmos-sdk/group/MsgSubmitProposal\"<\n\x19MsgSubmitProposalResponse\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\xa1\x01\n\x13MsgWithdrawProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x32\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:5\x82\xe7\xb0*\x07\x61\x64\x64ress\x8a\xe7\xb0*$cosmos-sdk/group/MsgWithdrawProposal\"\x1d\n\x1bMsgWithdrawProposalResponse\"\xff\x01\n\x07MsgVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x33\n\x06option\x18\x03 \x01(\x0e\x32\x1b.cosmos.group.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12)\n\x04\x65xec\x18\x05 \x01(\x0e\x32\x15.cosmos.group.v1.ExecR\x04\x65xec:\'\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x18\x63osmos-sdk/group/MsgVote\"\x11\n\x0fMsgVoteResponse\"\x8c\x01\n\x07MsgExec\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x34\n\x08\x65xecutor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x65xecutor:*\x82\xe7\xb0*\x08\x65xecutor\x8a\xe7\xb0*\x18\x63osmos-sdk/group/MsgExec\"R\n\x0fMsgExecResponse\x12?\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x06result\"\x8f\x01\n\rMsgLeaveGroup\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId:/\x82\xe7\xb0*\x07\x61\x64\x64ress\x8a\xe7\xb0*\x1e\x63osmos-sdk/group/MsgLeaveGroup\"\x17\n\x15MsgLeaveGroupResponse**\n\x04\x45xec\x12\x14\n\x10\x45XEC_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45XEC_TRY\x10\x01\x32\xca\x0b\n\x03Msg\x12W\n\x0b\x43reateGroup\x12\x1f.cosmos.group.v1.MsgCreateGroup\x1a\'.cosmos.group.v1.MsgCreateGroupResponse\x12l\n\x12UpdateGroupMembers\x12&.cosmos.group.v1.MsgUpdateGroupMembers\x1a..cosmos.group.v1.MsgUpdateGroupMembersResponse\x12\x66\n\x10UpdateGroupAdmin\x12$.cosmos.group.v1.MsgUpdateGroupAdmin\x1a,.cosmos.group.v1.MsgUpdateGroupAdminResponse\x12o\n\x13UpdateGroupMetadata\x12\'.cosmos.group.v1.MsgUpdateGroupMetadata\x1a/.cosmos.group.v1.MsgUpdateGroupMetadataResponse\x12i\n\x11\x43reateGroupPolicy\x12%.cosmos.group.v1.MsgCreateGroupPolicy\x1a-.cosmos.group.v1.MsgCreateGroupPolicyResponse\x12u\n\x15\x43reateGroupWithPolicy\x12).cosmos.group.v1.MsgCreateGroupWithPolicy\x1a\x31.cosmos.group.v1.MsgCreateGroupWithPolicyResponse\x12x\n\x16UpdateGroupPolicyAdmin\x12*.cosmos.group.v1.MsgUpdateGroupPolicyAdmin\x1a\x32.cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse\x12\x93\x01\n\x1fUpdateGroupPolicyDecisionPolicy\x12\x33.cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy\x1a;.cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse\x12\x81\x01\n\x19UpdateGroupPolicyMetadata\x12-.cosmos.group.v1.MsgUpdateGroupPolicyMetadata\x1a\x35.cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse\x12`\n\x0eSubmitProposal\x12\".cosmos.group.v1.MsgSubmitProposal\x1a*.cosmos.group.v1.MsgSubmitProposalResponse\x12\x66\n\x10WithdrawProposal\x12$.cosmos.group.v1.MsgWithdrawProposal\x1a,.cosmos.group.v1.MsgWithdrawProposalResponse\x12\x42\n\x04Vote\x12\x18.cosmos.group.v1.MsgVote\x1a .cosmos.group.v1.MsgVoteResponse\x12\x42\n\x04\x45xec\x12\x18.cosmos.group.v1.MsgExec\x1a .cosmos.group.v1.MsgExecResponse\x12T\n\nLeaveGroup\x12\x1e.cosmos.group.v1.MsgLeaveGroup\x1a&.cosmos.group.v1.MsgLeaveGroupResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xa2\x01\n\x13\x63om.cosmos.group.v1B\x07TxProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\007TxProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' - _globals['_MSGCREATEGROUP'].fields_by_name['admin']._loaded_options = None - _globals['_MSGCREATEGROUP'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCREATEGROUP'].fields_by_name['members']._loaded_options = None - _globals['_MSGCREATEGROUP'].fields_by_name['members']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGCREATEGROUP']._loaded_options = None - _globals['_MSGCREATEGROUP']._serialized_options = b'\202\347\260*\005admin\212\347\260*\031cosmos-sdk/MsgCreateGroup' - _globals['_MSGUPDATEGROUPMEMBERS'].fields_by_name['admin']._loaded_options = None - _globals['_MSGUPDATEGROUPMEMBERS'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPMEMBERS'].fields_by_name['member_updates']._loaded_options = None - _globals['_MSGUPDATEGROUPMEMBERS'].fields_by_name['member_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEGROUPMEMBERS']._loaded_options = None - _globals['_MSGUPDATEGROUPMEMBERS']._serialized_options = b'\202\347\260*\005admin\212\347\260* cosmos-sdk/MsgUpdateGroupMembers' - _globals['_MSGUPDATEGROUPADMIN'].fields_by_name['admin']._loaded_options = None - _globals['_MSGUPDATEGROUPADMIN'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPADMIN'].fields_by_name['new_admin']._loaded_options = None - _globals['_MSGUPDATEGROUPADMIN'].fields_by_name['new_admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPADMIN']._loaded_options = None - _globals['_MSGUPDATEGROUPADMIN']._serialized_options = b'\202\347\260*\005admin\212\347\260*\036cosmos-sdk/MsgUpdateGroupAdmin' - _globals['_MSGUPDATEGROUPMETADATA'].fields_by_name['admin']._loaded_options = None - _globals['_MSGUPDATEGROUPMETADATA'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPMETADATA']._loaded_options = None - _globals['_MSGUPDATEGROUPMETADATA']._serialized_options = b'\202\347\260*\005admin\212\347\260*!cosmos-sdk/MsgUpdateGroupMetadata' - _globals['_MSGCREATEGROUPPOLICY'].fields_by_name['admin']._loaded_options = None - _globals['_MSGCREATEGROUPPOLICY'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCREATEGROUPPOLICY'].fields_by_name['decision_policy']._loaded_options = None - _globals['_MSGCREATEGROUPPOLICY'].fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' - _globals['_MSGCREATEGROUPPOLICY']._loaded_options = None - _globals['_MSGCREATEGROUPPOLICY']._serialized_options = b'\210\240\037\000\202\347\260*\005admin\212\347\260*\037cosmos-sdk/MsgCreateGroupPolicy' - _globals['_MSGCREATEGROUPPOLICYRESPONSE'].fields_by_name['address']._loaded_options = None - _globals['_MSGCREATEGROUPPOLICYRESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['admin']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['group_policy_address']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['new_admin']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['new_admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYADMIN']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYADMIN']._serialized_options = b'\202\347\260*\005admin\212\347\260*$cosmos-sdk/MsgUpdateGroupPolicyAdmin' - _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['admin']._loaded_options = None - _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['members']._loaded_options = None - _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['members']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['decision_policy']._loaded_options = None - _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' - _globals['_MSGCREATEGROUPWITHPOLICY']._loaded_options = None - _globals['_MSGCREATEGROUPWITHPOLICY']._serialized_options = b'\210\240\037\000\202\347\260*\005admin\212\347\260*#cosmos-sdk/MsgCreateGroupWithPolicy' - _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE'].fields_by_name['group_policy_address']._loaded_options = None - _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['admin']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['group_policy_address']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['decision_policy']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._serialized_options = b'\210\240\037\000\202\347\260*\005admin\212\347\260*\'cosmos-sdk/MsgUpdateGroupDecisionPolicy' - _globals['_MSGUPDATEGROUPPOLICYMETADATA'].fields_by_name['admin']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYMETADATA'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYMETADATA'].fields_by_name['group_policy_address']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYMETADATA'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYMETADATA']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYMETADATA']._serialized_options = b'\202\347\260*\005admin\212\347\260*\'cosmos-sdk/MsgUpdateGroupPolicyMetadata' - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['group_policy_address']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSUBMITPROPOSAL']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL']._serialized_options = b'\210\240\037\000\202\347\260*\tproposers\212\347\260*\"cosmos-sdk/group/MsgSubmitProposal' - _globals['_MSGWITHDRAWPROPOSAL'].fields_by_name['address']._loaded_options = None - _globals['_MSGWITHDRAWPROPOSAL'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGWITHDRAWPROPOSAL']._loaded_options = None - _globals['_MSGWITHDRAWPROPOSAL']._serialized_options = b'\202\347\260*\007address\212\347\260*$cosmos-sdk/group/MsgWithdrawProposal' - _globals['_MSGVOTE'].fields_by_name['voter']._loaded_options = None - _globals['_MSGVOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGVOTE']._loaded_options = None - _globals['_MSGVOTE']._serialized_options = b'\202\347\260*\005voter\212\347\260*\030cosmos-sdk/group/MsgVote' - _globals['_MSGEXEC'].fields_by_name['executor']._loaded_options = None - _globals['_MSGEXEC'].fields_by_name['executor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGEXEC']._loaded_options = None - _globals['_MSGEXEC']._serialized_options = b'\202\347\260*\010executor\212\347\260*\030cosmos-sdk/group/MsgExec' - _globals['_MSGLEAVEGROUP'].fields_by_name['address']._loaded_options = None - _globals['_MSGLEAVEGROUP'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGLEAVEGROUP']._loaded_options = None - _globals['_MSGLEAVEGROUP']._serialized_options = b'\202\347\260*\007address\212\347\260*\036cosmos-sdk/group/MsgLeaveGroup' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_EXEC']._serialized_start=4346 - _globals['_EXEC']._serialized_end=4388 - _globals['_MSGCREATEGROUP']._serialized_start=195 - _globals['_MSGCREATEGROUP']._serialized_end=398 - _globals['_MSGCREATEGROUPRESPONSE']._serialized_start=400 - _globals['_MSGCREATEGROUPRESPONSE']._serialized_end=451 - _globals['_MSGUPDATEGROUPMEMBERS']._serialized_start=454 - _globals['_MSGUPDATEGROUPMEMBERS']._serialized_end=683 - _globals['_MSGUPDATEGROUPMEMBERSRESPONSE']._serialized_start=685 - _globals['_MSGUPDATEGROUPMEMBERSRESPONSE']._serialized_end=716 - _globals['_MSGUPDATEGROUPADMIN']._serialized_start=719 - _globals['_MSGUPDATEGROUPADMIN']._serialized_end=917 - _globals['_MSGUPDATEGROUPADMINRESPONSE']._serialized_start=919 - _globals['_MSGUPDATEGROUPADMINRESPONSE']._serialized_end=948 - _globals['_MSGUPDATEGROUPMETADATA']._serialized_start=951 - _globals['_MSGUPDATEGROUPMETADATA']._serialized_end=1128 - _globals['_MSGUPDATEGROUPMETADATARESPONSE']._serialized_start=1130 - _globals['_MSGUPDATEGROUPMETADATARESPONSE']._serialized_end=1162 - _globals['_MSGCREATEGROUPPOLICY']._serialized_start=1165 - _globals['_MSGCREATEGROUPPOLICY']._serialized_end=1441 - _globals['_MSGCREATEGROUPPOLICYRESPONSE']._serialized_start=1443 - _globals['_MSGCREATEGROUPPOLICYRESPONSE']._serialized_end=1525 - _globals['_MSGUPDATEGROUPPOLICYADMIN']._serialized_start=1528 - _globals['_MSGUPDATEGROUPPOLICYADMIN']._serialized_end=1787 - _globals['_MSGUPDATEGROUPPOLICYADMINRESPONSE']._serialized_start=1789 - _globals['_MSGUPDATEGROUPPOLICYADMINRESPONSE']._serialized_end=1824 - _globals['_MSGCREATEGROUPWITHPOLICY']._serialized_start=1827 - _globals['_MSGCREATEGROUPWITHPOLICY']._serialized_end=2267 - _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE']._serialized_start=2270 - _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE']._serialized_end=2407 - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._serialized_start=2410 - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._serialized_end=2729 - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICYRESPONSE']._serialized_start=2731 - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICYRESPONSE']._serialized_end=2775 - _globals['_MSGUPDATEGROUPPOLICYMETADATA']._serialized_start=2778 - _globals['_MSGUPDATEGROUPPOLICYMETADATA']._serialized_end=3016 - _globals['_MSGUPDATEGROUPPOLICYMETADATARESPONSE']._serialized_start=3018 - _globals['_MSGUPDATEGROUPPOLICYMETADATARESPONSE']._serialized_end=3056 - _globals['_MSGSUBMITPROPOSAL']._serialized_start=3059 - _globals['_MSGSUBMITPROPOSAL']._serialized_end=3412 - _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_start=3414 - _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_end=3474 - _globals['_MSGWITHDRAWPROPOSAL']._serialized_start=3477 - _globals['_MSGWITHDRAWPROPOSAL']._serialized_end=3638 - _globals['_MSGWITHDRAWPROPOSALRESPONSE']._serialized_start=3640 - _globals['_MSGWITHDRAWPROPOSALRESPONSE']._serialized_end=3669 - _globals['_MSGVOTE']._serialized_start=3672 - _globals['_MSGVOTE']._serialized_end=3927 - _globals['_MSGVOTERESPONSE']._serialized_start=3929 - _globals['_MSGVOTERESPONSE']._serialized_end=3946 - _globals['_MSGEXEC']._serialized_start=3949 - _globals['_MSGEXEC']._serialized_end=4089 - _globals['_MSGEXECRESPONSE']._serialized_start=4091 - _globals['_MSGEXECRESPONSE']._serialized_end=4173 - _globals['_MSGLEAVEGROUP']._serialized_start=4176 - _globals['_MSGLEAVEGROUP']._serialized_end=4319 - _globals['_MSGLEAVEGROUPRESPONSE']._serialized_start=4321 - _globals['_MSGLEAVEGROUPRESPONSE']._serialized_end=4344 - _globals['_MSG']._serialized_start=4391 - _globals['_MSG']._serialized_end=5873 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/tx_pb2_grpc.py deleted file mode 100644 index 39d77388..00000000 --- a/pyinjective/proto/cosmos/group/v1/tx_pb2_grpc.py +++ /dev/null @@ -1,653 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.group.v1 import tx_pb2 as cosmos_dot_group_dot_v1_dot_tx__pb2 - - -class MsgStub(object): - """Msg is the cosmos.group.v1 Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateGroup = channel.unary_unary( - '/cosmos.group.v1.Msg/CreateGroup', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroup.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupResponse.FromString, - _registered_method=True) - self.UpdateGroupMembers = channel.unary_unary( - '/cosmos.group.v1.Msg/UpdateGroupMembers', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembers.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembersResponse.FromString, - _registered_method=True) - self.UpdateGroupAdmin = channel.unary_unary( - '/cosmos.group.v1.Msg/UpdateGroupAdmin', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdmin.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdminResponse.FromString, - _registered_method=True) - self.UpdateGroupMetadata = channel.unary_unary( - '/cosmos.group.v1.Msg/UpdateGroupMetadata', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadata.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadataResponse.FromString, - _registered_method=True) - self.CreateGroupPolicy = channel.unary_unary( - '/cosmos.group.v1.Msg/CreateGroupPolicy', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicy.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicyResponse.FromString, - _registered_method=True) - self.CreateGroupWithPolicy = channel.unary_unary( - '/cosmos.group.v1.Msg/CreateGroupWithPolicy', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicy.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicyResponse.FromString, - _registered_method=True) - self.UpdateGroupPolicyAdmin = channel.unary_unary( - '/cosmos.group.v1.Msg/UpdateGroupPolicyAdmin', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdmin.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdminResponse.FromString, - _registered_method=True) - self.UpdateGroupPolicyDecisionPolicy = channel.unary_unary( - '/cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicy.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicyResponse.FromString, - _registered_method=True) - self.UpdateGroupPolicyMetadata = channel.unary_unary( - '/cosmos.group.v1.Msg/UpdateGroupPolicyMetadata', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadata.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadataResponse.FromString, - _registered_method=True) - self.SubmitProposal = channel.unary_unary( - '/cosmos.group.v1.Msg/SubmitProposal', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, - _registered_method=True) - self.WithdrawProposal = channel.unary_unary( - '/cosmos.group.v1.Msg/WithdrawProposal', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposal.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposalResponse.FromString, - _registered_method=True) - self.Vote = channel.unary_unary( - '/cosmos.group.v1.Msg/Vote', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, - _registered_method=True) - self.Exec = channel.unary_unary( - '/cosmos.group.v1.Msg/Exec', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExec.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExecResponse.FromString, - _registered_method=True) - self.LeaveGroup = channel.unary_unary( - '/cosmos.group.v1.Msg/LeaveGroup', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroup.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroupResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg is the cosmos.group.v1 Msg service. - """ - - def CreateGroup(self, request, context): - """CreateGroup creates a new group with an admin account address, a list of members and some optional metadata. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateGroupMembers(self, request, context): - """UpdateGroupMembers updates the group members with given group id and admin address. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateGroupAdmin(self, request, context): - """UpdateGroupAdmin updates the group admin with given group id and previous admin address. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateGroupMetadata(self, request, context): - """UpdateGroupMetadata updates the group metadata with given group id and admin address. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateGroupPolicy(self, request, context): - """CreateGroupPolicy creates a new group policy using given DecisionPolicy. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateGroupWithPolicy(self, request, context): - """CreateGroupWithPolicy creates a new group with policy. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateGroupPolicyAdmin(self, request, context): - """UpdateGroupPolicyAdmin updates a group policy admin. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateGroupPolicyDecisionPolicy(self, request, context): - """UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateGroupPolicyMetadata(self, request, context): - """UpdateGroupPolicyMetadata updates a group policy metadata. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubmitProposal(self, request, context): - """SubmitProposal submits a new proposal. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def WithdrawProposal(self, request, context): - """WithdrawProposal withdraws a proposal. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Vote(self, request, context): - """Vote allows a voter to vote on a proposal. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Exec(self, request, context): - """Exec executes a proposal. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def LeaveGroup(self, request, context): - """LeaveGroup allows a group member to leave the group. - """ - 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 = { - 'CreateGroup': grpc.unary_unary_rpc_method_handler( - servicer.CreateGroup, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroup.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupResponse.SerializeToString, - ), - 'UpdateGroupMembers': grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupMembers, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembers.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembersResponse.SerializeToString, - ), - 'UpdateGroupAdmin': grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupAdmin, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdmin.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdminResponse.SerializeToString, - ), - 'UpdateGroupMetadata': grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupMetadata, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadata.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadataResponse.SerializeToString, - ), - 'CreateGroupPolicy': grpc.unary_unary_rpc_method_handler( - servicer.CreateGroupPolicy, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicy.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicyResponse.SerializeToString, - ), - 'CreateGroupWithPolicy': grpc.unary_unary_rpc_method_handler( - servicer.CreateGroupWithPolicy, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicy.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicyResponse.SerializeToString, - ), - 'UpdateGroupPolicyAdmin': grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupPolicyAdmin, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdmin.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdminResponse.SerializeToString, - ), - 'UpdateGroupPolicyDecisionPolicy': grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupPolicyDecisionPolicy, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicy.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicyResponse.SerializeToString, - ), - 'UpdateGroupPolicyMetadata': grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupPolicyMetadata, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadata.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadataResponse.SerializeToString, - ), - 'SubmitProposal': grpc.unary_unary_rpc_method_handler( - servicer.SubmitProposal, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposal.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, - ), - 'WithdrawProposal': grpc.unary_unary_rpc_method_handler( - servicer.WithdrawProposal, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposal.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposalResponse.SerializeToString, - ), - 'Vote': grpc.unary_unary_rpc_method_handler( - servicer.Vote, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVote.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVoteResponse.SerializeToString, - ), - 'Exec': grpc.unary_unary_rpc_method_handler( - servicer.Exec, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExec.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExecResponse.SerializeToString, - ), - 'LeaveGroup': grpc.unary_unary_rpc_method_handler( - servicer.LeaveGroup, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroup.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroupResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.group.v1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.group.v1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg is the cosmos.group.v1 Msg service. - """ - - @staticmethod - def CreateGroup(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Msg/CreateGroup', - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroup.SerializeToString, - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateGroupMembers(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Msg/UpdateGroupMembers', - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembers.SerializeToString, - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateGroupAdmin(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Msg/UpdateGroupAdmin', - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdmin.SerializeToString, - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdminResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateGroupMetadata(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Msg/UpdateGroupMetadata', - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadata.SerializeToString, - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadataResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CreateGroupPolicy(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Msg/CreateGroupPolicy', - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicy.SerializeToString, - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicyResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CreateGroupWithPolicy(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Msg/CreateGroupWithPolicy', - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicy.SerializeToString, - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicyResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateGroupPolicyAdmin(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Msg/UpdateGroupPolicyAdmin', - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdmin.SerializeToString, - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdminResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateGroupPolicyDecisionPolicy(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy', - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicy.SerializeToString, - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicyResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateGroupPolicyMetadata(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Msg/UpdateGroupPolicyMetadata', - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadata.SerializeToString, - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadataResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SubmitProposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Msg/SubmitProposal', - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def WithdrawProposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Msg/WithdrawProposal', - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposal.SerializeToString, - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Vote(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Msg/Vote', - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Exec(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Msg/Exec', - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExec.SerializeToString, - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExecResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def LeaveGroup(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.group.v1.Msg/LeaveGroup', - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroup.SerializeToString, - cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroupResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/group/v1/types_pb2.py b/pyinjective/proto/cosmos/group/v1/types_pb2.py deleted file mode 100644 index 103112b7..00000000 --- a/pyinjective/proto/cosmos/group/v1/types_pb2.py +++ /dev/null @@ -1,111 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/group/v1/types.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/group/v1/types.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xb6\x01\n\x06Member\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x16\n\x06weight\x18\x02 \x01(\tR\x06weight\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x44\n\x08\x61\x64\x64\x65\x64_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x07\x61\x64\x64\x65\x64\x41t\"w\n\rMemberRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x16\n\x06weight\x18\x02 \x01(\tR\x06weight\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\"\xc4\x01\n\x17ThresholdDecisionPolicy\x12\x1c\n\tthreshold\x18\x01 \x01(\tR\tthreshold\x12@\n\x07windows\x18\x02 \x01(\x0b\x32&.cosmos.group.v1.DecisionPolicyWindowsR\x07windows:I\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x8a\xe7\xb0*\"cosmos-sdk/ThresholdDecisionPolicy\"\xc8\x01\n\x18PercentageDecisionPolicy\x12\x1e\n\npercentage\x18\x01 \x01(\tR\npercentage\x12@\n\x07windows\x18\x02 \x01(\x0b\x32&.cosmos.group.v1.DecisionPolicyWindowsR\x07windows:J\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x8a\xe7\xb0*#cosmos-sdk/PercentageDecisionPolicy\"\xc2\x01\n\x15\x44\x65\x63isionPolicyWindows\x12M\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0cvotingPeriod\x12Z\n\x14min_execution_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x12minExecutionPeriod\"\xee\x01\n\tGroupInfo\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x18\n\x07version\x18\x04 \x01(\x04R\x07version\x12!\n\x0ctotal_weight\x18\x05 \x01(\tR\x0btotalWeight\x12H\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\tcreatedAt\"Y\n\x0bGroupMember\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12/\n\x06member\x18\x02 \x01(\x0b\x32\x17.cosmos.group.v1.MemberR\x06member\"\xfd\x02\n\x0fGroupPolicyInfo\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12.\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12\x18\n\x07version\x18\x05 \x01(\x04R\x07version\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy\x12H\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\tcreatedAt:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x01\"\xfe\x05\n\x08Proposal\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x36\n\tproposers\x18\x04 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tproposers\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime\x12#\n\rgroup_version\x18\x06 \x01(\x04R\x0cgroupVersion\x12\x30\n\x14group_policy_version\x18\x07 \x01(\x04R\x12groupPolicyVersion\x12\x37\n\x06status\x18\x08 \x01(\x0e\x32\x1f.cosmos.group.v1.ProposalStatusR\x06status\x12U\n\x12\x66inal_tally_result\x18\t \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x10\x66inalTallyResult\x12U\n\x11voting_period_end\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0fvotingPeriodEnd\x12P\n\x0f\x65xecutor_result\x18\x0b \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x0e\x65xecutorResult\x12\x30\n\x08messages\x18\x0c \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x14\n\x05title\x18\r \x01(\tR\x05title\x12\x18\n\x07summary\x18\x0e \x01(\tR\x07summary:\x04\x88\xa0\x1f\x00\"\x9d\x01\n\x0bTallyResult\x12\x1b\n\tyes_count\x18\x01 \x01(\tR\x08yesCount\x12#\n\rabstain_count\x18\x02 \x01(\tR\x0c\x61\x62stainCount\x12\x19\n\x08no_count\x18\x03 \x01(\tR\x07noCount\x12+\n\x12no_with_veto_count\x18\x04 \x01(\tR\x0fnoWithVetoCount:\x04\x88\xa0\x1f\x00\"\xf4\x01\n\x04Vote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x33\n\x06option\x18\x03 \x01(\x0e\x32\x1b.cosmos.group.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime*\x8f\x01\n\nVoteOption\x12\x1b\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fVOTE_OPTION_YES\x10\x01\x12\x17\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x12\x12\n\x0eVOTE_OPTION_NO\x10\x03\x12\x1c\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04\x1a\x04\x88\xa3\x1e\x00*\xce\x01\n\x0eProposalStatus\x12\x1f\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19PROPOSAL_STATUS_SUBMITTED\x10\x01\x12\x1c\n\x18PROPOSAL_STATUS_ACCEPTED\x10\x02\x12\x1c\n\x18PROPOSAL_STATUS_REJECTED\x10\x03\x12\x1b\n\x17PROPOSAL_STATUS_ABORTED\x10\x04\x12\x1d\n\x19PROPOSAL_STATUS_WITHDRAWN\x10\x05\x1a\x04\x88\xa3\x1e\x00*\xba\x01\n\x16ProposalExecutorResult\x12(\n$PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED\x10\x00\x12$\n PROPOSAL_EXECUTOR_RESULT_NOT_RUN\x10\x01\x12$\n PROPOSAL_EXECUTOR_RESULT_SUCCESS\x10\x02\x12$\n PROPOSAL_EXECUTOR_RESULT_FAILURE\x10\x03\x1a\x04\x88\xa3\x1e\x00\x42\xa5\x01\n\x13\x63om.cosmos.group.v1B\nTypesProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.types_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\nTypesProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' - _globals['_VOTEOPTION']._loaded_options = None - _globals['_VOTEOPTION']._serialized_options = b'\210\243\036\000' - _globals['_PROPOSALSTATUS']._loaded_options = None - _globals['_PROPOSALSTATUS']._serialized_options = b'\210\243\036\000' - _globals['_PROPOSALEXECUTORRESULT']._loaded_options = None - _globals['_PROPOSALEXECUTORRESULT']._serialized_options = b'\210\243\036\000' - _globals['_MEMBER'].fields_by_name['address']._loaded_options = None - _globals['_MEMBER'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MEMBER'].fields_by_name['added_at']._loaded_options = None - _globals['_MEMBER'].fields_by_name['added_at']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_MEMBERREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_MEMBERREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_THRESHOLDDECISIONPOLICY']._loaded_options = None - _globals['_THRESHOLDDECISIONPOLICY']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy\212\347\260*\"cosmos-sdk/ThresholdDecisionPolicy' - _globals['_PERCENTAGEDECISIONPOLICY']._loaded_options = None - _globals['_PERCENTAGEDECISIONPOLICY']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy\212\347\260*#cosmos-sdk/PercentageDecisionPolicy' - _globals['_DECISIONPOLICYWINDOWS'].fields_by_name['voting_period']._loaded_options = None - _globals['_DECISIONPOLICYWINDOWS'].fields_by_name['voting_period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' - _globals['_DECISIONPOLICYWINDOWS'].fields_by_name['min_execution_period']._loaded_options = None - _globals['_DECISIONPOLICYWINDOWS'].fields_by_name['min_execution_period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' - _globals['_GROUPINFO'].fields_by_name['admin']._loaded_options = None - _globals['_GROUPINFO'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_GROUPINFO'].fields_by_name['created_at']._loaded_options = None - _globals['_GROUPINFO'].fields_by_name['created_at']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_GROUPPOLICYINFO'].fields_by_name['address']._loaded_options = None - _globals['_GROUPPOLICYINFO'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_GROUPPOLICYINFO'].fields_by_name['admin']._loaded_options = None - _globals['_GROUPPOLICYINFO'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_GROUPPOLICYINFO'].fields_by_name['decision_policy']._loaded_options = None - _globals['_GROUPPOLICYINFO'].fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' - _globals['_GROUPPOLICYINFO'].fields_by_name['created_at']._loaded_options = None - _globals['_GROUPPOLICYINFO'].fields_by_name['created_at']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_GROUPPOLICYINFO']._loaded_options = None - _globals['_GROUPPOLICYINFO']._serialized_options = b'\210\240\037\000\350\240\037\001' - _globals['_PROPOSAL'].fields_by_name['group_policy_address']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_PROPOSAL'].fields_by_name['proposers']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['proposers']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_PROPOSAL'].fields_by_name['submit_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['submit_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['final_tally_result']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['final_tally_result']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['voting_period_end']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['voting_period_end']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_PROPOSAL']._loaded_options = None - _globals['_PROPOSAL']._serialized_options = b'\210\240\037\000' - _globals['_TALLYRESULT']._loaded_options = None - _globals['_TALLYRESULT']._serialized_options = b'\210\240\037\000' - _globals['_VOTE'].fields_by_name['voter']._loaded_options = None - _globals['_VOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_VOTE'].fields_by_name['submit_time']._loaded_options = None - _globals['_VOTE'].fields_by_name['submit_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_VOTEOPTION']._serialized_start=3006 - _globals['_VOTEOPTION']._serialized_end=3149 - _globals['_PROPOSALSTATUS']._serialized_start=3152 - _globals['_PROPOSALSTATUS']._serialized_end=3358 - _globals['_PROPOSALEXECUTORRESULT']._serialized_start=3361 - _globals['_PROPOSALEXECUTORRESULT']._serialized_end=3547 - _globals['_MEMBER']._serialized_start=209 - _globals['_MEMBER']._serialized_end=391 - _globals['_MEMBERREQUEST']._serialized_start=393 - _globals['_MEMBERREQUEST']._serialized_end=512 - _globals['_THRESHOLDDECISIONPOLICY']._serialized_start=515 - _globals['_THRESHOLDDECISIONPOLICY']._serialized_end=711 - _globals['_PERCENTAGEDECISIONPOLICY']._serialized_start=714 - _globals['_PERCENTAGEDECISIONPOLICY']._serialized_end=914 - _globals['_DECISIONPOLICYWINDOWS']._serialized_start=917 - _globals['_DECISIONPOLICYWINDOWS']._serialized_end=1111 - _globals['_GROUPINFO']._serialized_start=1114 - _globals['_GROUPINFO']._serialized_end=1352 - _globals['_GROUPMEMBER']._serialized_start=1354 - _globals['_GROUPMEMBER']._serialized_end=1443 - _globals['_GROUPPOLICYINFO']._serialized_start=1446 - _globals['_GROUPPOLICYINFO']._serialized_end=1827 - _globals['_PROPOSAL']._serialized_start=1830 - _globals['_PROPOSAL']._serialized_end=2596 - _globals['_TALLYRESULT']._serialized_start=2599 - _globals['_TALLYRESULT']._serialized_end=2756 - _globals['_VOTE']._serialized_start=2759 - _globals['_VOTE']._serialized_end=3003 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/types_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/types_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/group/v1/types_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/ics23/v1/proofs_pb2.py b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py deleted file mode 100644 index 10a01ca2..00000000 --- a/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py +++ /dev/null @@ -1,55 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/ics23/v1/proofs.proto -# Protobuf Python Version: 5.26.1 -"""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\x1c\x63osmos/ics23/v1/proofs.proto\x12\x0f\x63osmos.ics23.v1\"\x93\x01\n\x0e\x45xistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12+\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x04leaf\x12,\n\x04path\x18\x04 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOpR\x04path\"\x91\x01\n\x11NonExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x33\n\x04left\x18\x02 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofR\x04left\x12\x35\n\x05right\x18\x03 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofR\x05right\"\x93\x02\n\x0f\x43ommitmentProof\x12\x37\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00R\x05\x65xist\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00R\x08nonexist\x12\x33\n\x05\x62\x61tch\x18\x03 \x01(\x0b\x32\x1b.cosmos.ics23.v1.BatchProofH\x00R\x05\x62\x61tch\x12G\n\ncompressed\x18\x04 \x01(\x0b\x32%.cosmos.ics23.v1.CompressedBatchProofH\x00R\ncompressedB\x07\n\x05proof\"\xf8\x01\n\x06LeafOp\x12+\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash\x12\x38\n\x0bprehash_key\x18\x02 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\nprehashKey\x12<\n\rprehash_value\x18\x03 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x0cprehashValue\x12\x31\n\x06length\x18\x04 \x01(\x0e\x32\x19.cosmos.ics23.v1.LengthOpR\x06length\x12\x16\n\x06prefix\x18\x05 \x01(\x0cR\x06prefix\"f\n\x07InnerOp\x12+\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash\x12\x16\n\x06prefix\x18\x02 \x01(\x0cR\x06prefix\x12\x16\n\x06suffix\x18\x03 \x01(\x0cR\x06suffix\"\xf9\x01\n\tProofSpec\x12\x34\n\tleaf_spec\x18\x01 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x08leafSpec\x12\x39\n\ninner_spec\x18\x02 \x01(\x0b\x32\x1a.cosmos.ics23.v1.InnerSpecR\tinnerSpec\x12\x1b\n\tmax_depth\x18\x03 \x01(\x05R\x08maxDepth\x12\x1b\n\tmin_depth\x18\x04 \x01(\x05R\x08minDepth\x12\x41\n\x1dprehash_key_before_comparison\x18\x05 \x01(\x08R\x1aprehashKeyBeforeComparison\"\xf1\x01\n\tInnerSpec\x12\x1f\n\x0b\x63hild_order\x18\x01 \x03(\x05R\nchildOrder\x12\x1d\n\nchild_size\x18\x02 \x01(\x05R\tchildSize\x12*\n\x11min_prefix_length\x18\x03 \x01(\x05R\x0fminPrefixLength\x12*\n\x11max_prefix_length\x18\x04 \x01(\x05R\x0fmaxPrefixLength\x12\x1f\n\x0b\x65mpty_child\x18\x05 \x01(\x0cR\nemptyChild\x12+\n\x04hash\x18\x06 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash\"C\n\nBatchProof\x12\x35\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1b.cosmos.ics23.v1.BatchEntryR\x07\x65ntries\"\x90\x01\n\nBatchEntry\x12\x37\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00R\x05\x65xist\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00R\x08nonexistB\x07\n\x05proof\"\x96\x01\n\x14\x43ompressedBatchProof\x12?\n\x07\x65ntries\x18\x01 \x03(\x0b\x32%.cosmos.ics23.v1.CompressedBatchEntryR\x07\x65ntries\x12=\n\rlookup_inners\x18\x02 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOpR\x0clookupInners\"\xae\x01\n\x14\x43ompressedBatchEntry\x12\x41\n\x05\x65xist\x18\x01 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofH\x00R\x05\x65xist\x12J\n\x08nonexist\x18\x02 \x01(\x0b\x32,.cosmos.ics23.v1.CompressedNonExistenceProofH\x00R\x08nonexistB\x07\n\x05proof\"\x83\x01\n\x18\x43ompressedExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12+\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x04leaf\x12\x12\n\x04path\x18\x04 \x03(\x05R\x04path\"\xaf\x01\n\x1b\x43ompressedNonExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12=\n\x04left\x18\x02 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofR\x04left\x12?\n\x05right\x18\x03 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofR\x05right*\x96\x01\n\x06HashOp\x12\x0b\n\x07NO_HASH\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\n\n\x06SHA512\x10\x02\x12\r\n\tKECCAK256\x10\x03\x12\r\n\tRIPEMD160\x10\x04\x12\x0b\n\x07\x42ITCOIN\x10\x05\x12\x0e\n\nSHA512_256\x10\x06\x12\x0f\n\x0b\x42LAKE2B_512\x10\x07\x12\x0f\n\x0b\x42LAKE2S_256\x10\x08\x12\n\n\x06\x42LAKE3\x10\t*\xab\x01\n\x08LengthOp\x12\r\n\tNO_PREFIX\x10\x00\x12\r\n\tVAR_PROTO\x10\x01\x12\x0b\n\x07VAR_RLP\x10\x02\x12\x0f\n\x0b\x46IXED32_BIG\x10\x03\x12\x12\n\x0e\x46IXED32_LITTLE\x10\x04\x12\x0f\n\x0b\x46IXED64_BIG\x10\x05\x12\x12\n\x0e\x46IXED64_LITTLE\x10\x06\x12\x14\n\x10REQUIRE_32_BYTES\x10\x07\x12\x14\n\x10REQUIRE_64_BYTES\x10\x08\x42\xa2\x01\n\x13\x63om.cosmos.ics23.v1B\x0bProofsProtoP\x01Z github.com/cosmos/ics23/go;ics23\xa2\x02\x03\x43IX\xaa\x02\x0f\x43osmos.Ics23.V1\xca\x02\x0f\x43osmos\\Ics23\\V1\xe2\x02\x1b\x43osmos\\Ics23\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Ics23::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.ics23.v1.proofs_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.ics23.v1B\013ProofsProtoP\001Z github.com/cosmos/ics23/go;ics23\242\002\003CIX\252\002\017Cosmos.Ics23.V1\312\002\017Cosmos\\Ics23\\V1\342\002\033Cosmos\\Ics23\\V1\\GPBMetadata\352\002\021Cosmos::Ics23::V1' - _globals['_HASHOP']._serialized_start=2335 - _globals['_HASHOP']._serialized_end=2485 - _globals['_LENGTHOP']._serialized_start=2488 - _globals['_LENGTHOP']._serialized_end=2659 - _globals['_EXISTENCEPROOF']._serialized_start=50 - _globals['_EXISTENCEPROOF']._serialized_end=197 - _globals['_NONEXISTENCEPROOF']._serialized_start=200 - _globals['_NONEXISTENCEPROOF']._serialized_end=345 - _globals['_COMMITMENTPROOF']._serialized_start=348 - _globals['_COMMITMENTPROOF']._serialized_end=623 - _globals['_LEAFOP']._serialized_start=626 - _globals['_LEAFOP']._serialized_end=874 - _globals['_INNEROP']._serialized_start=876 - _globals['_INNEROP']._serialized_end=978 - _globals['_PROOFSPEC']._serialized_start=981 - _globals['_PROOFSPEC']._serialized_end=1230 - _globals['_INNERSPEC']._serialized_start=1233 - _globals['_INNERSPEC']._serialized_end=1474 - _globals['_BATCHPROOF']._serialized_start=1476 - _globals['_BATCHPROOF']._serialized_end=1543 - _globals['_BATCHENTRY']._serialized_start=1546 - _globals['_BATCHENTRY']._serialized_end=1690 - _globals['_COMPRESSEDBATCHPROOF']._serialized_start=1693 - _globals['_COMPRESSEDBATCHPROOF']._serialized_end=1843 - _globals['_COMPRESSEDBATCHENTRY']._serialized_start=1846 - _globals['_COMPRESSEDBATCHENTRY']._serialized_end=2020 - _globals['_COMPRESSEDEXISTENCEPROOF']._serialized_start=2023 - _globals['_COMPRESSEDEXISTENCEPROOF']._serialized_end=2154 - _globals['_COMPRESSEDNONEXISTENCEPROOF']._serialized_start=2157 - _globals['_COMPRESSEDNONEXISTENCEPROOF']._serialized_end=2332 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/ics23/v1/proofs_pb2_grpc.py b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/ics23/v1/proofs_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/mint/module/v1/module_pb2.py b/pyinjective/proto/cosmos/mint/module/v1/module_pb2.py deleted file mode 100644 index 0931d8c3..00000000 --- a/pyinjective/proto/cosmos/mint/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/mint/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/mint/module/v1/module.proto\x12\x15\x63osmos.mint.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x81\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/mintB\x9f\x01\n\x19\x63om.cosmos.mint.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43MM\xaa\x02\x15\x43osmos.Mint.Module.V1\xca\x02\x15\x43osmos\\Mint\\Module\\V1\xe2\x02!Cosmos\\Mint\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Mint::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.mint.module.v1B\013ModuleProtoP\001\242\002\003CMM\252\002\025Cosmos.Mint.Module.V1\312\002\025Cosmos\\Mint\\Module\\V1\342\002!Cosmos\\Mint\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Mint::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/mint' - _globals['_MODULE']._serialized_start=96 - _globals['_MODULE']._serialized_end=225 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/mint/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/mint/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/mint/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2.py deleted file mode 100644 index 09f9289d..00000000 --- a/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/mint/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.mint.v1beta1 import mint_pb2 as cosmos_dot_mint_dot_v1beta1_dot_mint__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/mint/v1beta1/genesis.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x11\x61mino/amino.proto\"\x8e\x01\n\x0cGenesisState\x12>\n\x06minter\x18\x01 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.MinterB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06minter\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06paramsB\xc0\x01\n\x17\x63om.cosmos.mint.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.mint.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['minter']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['minter']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE']._serialized_start=132 - _globals['_GENESISSTATE']._serialized_end=274 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/mint/v1beta1/mint_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2.py deleted file mode 100644 index 0c564108..00000000 --- a/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2.py +++ /dev/null @@ -1,46 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/mint/v1beta1/mint.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/mint/v1beta1/mint.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xb9\x01\n\x06Minter\x12O\n\tinflation\x18\x01 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\tinflation\x12^\n\x11\x61nnual_provisions\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x10\x61nnualProvisions\"\xed\x03\n\x06Params\x12\x1d\n\nmint_denom\x18\x01 \x01(\tR\tmintDenom\x12j\n\x15inflation_rate_change\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x13inflationRateChange\x12[\n\rinflation_max\x18\x03 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0cinflationMax\x12[\n\rinflation_min\x18\x04 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0cinflationMin\x12W\n\x0bgoal_bonded\x18\x05 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\ngoalBonded\x12&\n\x0f\x62locks_per_year\x18\x06 \x01(\x04R\rblocksPerYear:\x1d\x8a\xe7\xb0*\x18\x63osmos-sdk/x/mint/ParamsB\xbd\x01\n\x17\x63om.cosmos.mint.v1beta1B\tMintProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.mint_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.mint.v1beta1B\tMintProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1' - _globals['_MINTER'].fields_by_name['inflation']._loaded_options = None - _globals['_MINTER'].fields_by_name['inflation']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_MINTER'].fields_by_name['annual_provisions']._loaded_options = None - _globals['_MINTER'].fields_by_name['annual_provisions']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_PARAMS'].fields_by_name['inflation_rate_change']._loaded_options = None - _globals['_PARAMS'].fields_by_name['inflation_rate_change']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['inflation_max']._loaded_options = None - _globals['_PARAMS'].fields_by_name['inflation_max']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['inflation_min']._loaded_options = None - _globals['_PARAMS'].fields_by_name['inflation_min']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['goal_bonded']._loaded_options = None - _globals['_PARAMS'].fields_by_name['goal_bonded']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\212\347\260*\030cosmos-sdk/x/mint/Params' - _globals['_MINTER']._serialized_start=124 - _globals['_MINTER']._serialized_end=309 - _globals['_PARAMS']._serialized_start=312 - _globals['_PARAMS']._serialized_end=805 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2_grpc.py b/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/mint/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/query_pb2.py deleted file mode 100644 index 973b10f1..00000000 --- a/pyinjective/proto/cosmos/mint/v1beta1/query_pb2.py +++ /dev/null @@ -1,56 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/mint/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.mint.v1beta1 import mint_pb2 as cosmos_dot_mint_dot_v1beta1_dot_mint__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/mint/v1beta1/query.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x14\n\x12QueryParamsRequest\"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"\x17\n\x15QueryInflationRequest\"n\n\x16QueryInflationResponse\x12T\n\tinflation\x18\x01 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\tinflation\"\x1e\n\x1cQueryAnnualProvisionsRequest\"\x84\x01\n\x1dQueryAnnualProvisionsResponse\x12\x63\n\x11\x61nnual_provisions\x18\x01 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x10\x61nnualProvisions2\xc5\x03\n\x05Query\x12\x80\x01\n\x06Params\x12\'.cosmos.mint.v1beta1.QueryParamsRequest\x1a(.cosmos.mint.v1beta1.QueryParamsResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/mint/v1beta1/params\x12\x8c\x01\n\tInflation\x12*.cosmos.mint.v1beta1.QueryInflationRequest\x1a+.cosmos.mint.v1beta1.QueryInflationResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmos/mint/v1beta1/inflation\x12\xa9\x01\n\x10\x41nnualProvisions\x12\x31.cosmos.mint.v1beta1.QueryAnnualProvisionsRequest\x1a\x32.cosmos.mint.v1beta1.QueryAnnualProvisionsResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/mint/v1beta1/annual_provisionsB\xbe\x01\n\x17\x63om.cosmos.mint.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.mint.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYINFLATIONRESPONSE'].fields_by_name['inflation']._loaded_options = None - _globals['_QUERYINFLATIONRESPONSE'].fields_by_name['inflation']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_QUERYANNUALPROVISIONSRESPONSE'].fields_by_name['annual_provisions']._loaded_options = None - _globals['_QUERYANNUALPROVISIONSRESPONSE'].fields_by_name['annual_provisions']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/mint/v1beta1/params' - _globals['_QUERY'].methods_by_name['Inflation']._loaded_options = None - _globals['_QUERY'].methods_by_name['Inflation']._serialized_options = b'\202\323\344\223\002 \022\036/cosmos/mint/v1beta1/inflation' - _globals['_QUERY'].methods_by_name['AnnualProvisions']._loaded_options = None - _globals['_QUERY'].methods_by_name['AnnualProvisions']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/mint/v1beta1/annual_provisions' - _globals['_QUERYPARAMSREQUEST']._serialized_start=186 - _globals['_QUERYPARAMSREQUEST']._serialized_end=206 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=208 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=293 - _globals['_QUERYINFLATIONREQUEST']._serialized_start=295 - _globals['_QUERYINFLATIONREQUEST']._serialized_end=318 - _globals['_QUERYINFLATIONRESPONSE']._serialized_start=320 - _globals['_QUERYINFLATIONRESPONSE']._serialized_end=430 - _globals['_QUERYANNUALPROVISIONSREQUEST']._serialized_start=432 - _globals['_QUERYANNUALPROVISIONSREQUEST']._serialized_end=462 - _globals['_QUERYANNUALPROVISIONSRESPONSE']._serialized_start=465 - _globals['_QUERYANNUALPROVISIONSRESPONSE']._serialized_end=597 - _globals['_QUERY']._serialized_start=600 - _globals['_QUERY']._serialized_end=1053 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/mint/v1beta1/query_pb2_grpc.py deleted file mode 100644 index c9ec00cb..00000000 --- a/pyinjective/proto/cosmos/mint/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,169 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.mint.v1beta1 import query_pb2 as cosmos_dot_mint_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query provides defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Params = channel.unary_unary( - '/cosmos.mint.v1beta1.Query/Params', - request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - self.Inflation = channel.unary_unary( - '/cosmos.mint.v1beta1.Query/Inflation', - request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationRequest.SerializeToString, - response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationResponse.FromString, - _registered_method=True) - self.AnnualProvisions = channel.unary_unary( - '/cosmos.mint.v1beta1.Query/AnnualProvisions', - request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsRequest.SerializeToString, - response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query provides defines the gRPC querier service. - """ - - def Params(self, request, context): - """Params returns the total set of minting parameters. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Inflation(self, request, context): - """Inflation returns the current minting inflation value. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AnnualProvisions(self, request, context): - """AnnualProvisions current minting annual provisions value. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'Inflation': grpc.unary_unary_rpc_method_handler( - servicer.Inflation, - request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationRequest.FromString, - response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationResponse.SerializeToString, - ), - 'AnnualProvisions': grpc.unary_unary_rpc_method_handler( - servicer.AnnualProvisions, - request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsRequest.FromString, - response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.mint.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.mint.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query provides defines the gRPC querier service. - """ - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.mint.v1beta1.Query/Params', - cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Inflation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.mint.v1beta1.Query/Inflation', - cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationRequest.SerializeToString, - cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AnnualProvisions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.mint.v1beta1.Query/AnnualProvisions', - cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsRequest.SerializeToString, - cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py deleted file mode 100644 index 63e46787..00000000 --- a/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py +++ /dev/null @@ -1,44 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/mint/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.cosmos.mint.v1beta1 import mint_pb2 as cosmos_dot_mint_dot_v1beta1_dot_mint__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/mint/v1beta1/tx.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/mint/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.mint.v1beta1.MsgUpdateParams\x1a,.cosmos.mint.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.mint.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.mint.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/mint/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGUPDATEPARAMS']._serialized_start=179 - _globals['_MSGUPDATEPARAMS']._serialized_end=370 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=372 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=397 - _globals['_MSG']._serialized_start=399 - _globals['_MSG']._serialized_end=511 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index 0d6e1328..00000000 --- a/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,84 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.mint.v1beta1 import tx_pb2 as cosmos_dot_mint_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the x/mint Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.UpdateParams = channel.unary_unary( - '/cosmos.mint.v1beta1.Msg/UpdateParams', - request_serializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the x/mint Msg service. - """ - - def UpdateParams(self, request, context): - """UpdateParams defines a governance operation for updating the x/mint module - parameters. The authority is defaults to the x/gov module account. - - Since: cosmos-sdk 0.47 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.mint.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.mint.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the x/mint Msg service. - """ - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.mint.v1beta1.Msg/UpdateParams', - cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2.py b/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2.py deleted file mode 100644 index e85806b8..00000000 --- a/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2.py +++ /dev/null @@ -1,26 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/msg/textual/v1/textual.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/msg/textual/v1/textual.proto\x12\x15\x63osmos.msg.textual.v1\x1a google/protobuf/descriptor.proto:X\n\x16\x65xpert_custom_renderer\x12\x1f.google.protobuf.MessageOptions\x18\xf9\x8c\xa6\x05 \x01(\tR\x14\x65xpertCustomRendererB\xa0\x01\n\x19\x63om.cosmos.msg.textual.v1B\x0cTextualProtoP\x01\xa2\x02\x03\x43MT\xaa\x02\x15\x43osmos.Msg.Textual.V1\xca\x02\x15\x43osmos\\Msg\\Textual\\V1\xe2\x02!Cosmos\\Msg\\Textual\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Msg::Textual::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.msg.textual.v1.textual_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.msg.textual.v1B\014TextualProtoP\001\242\002\003CMT\252\002\025Cosmos.Msg.Textual.V1\312\002\025Cosmos\\Msg\\Textual\\V1\342\002!Cosmos\\Msg\\Textual\\V1\\GPBMetadata\352\002\030Cosmos::Msg::Textual::V1' -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2_grpc.py b/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/msg/v1/msg_pb2.py b/pyinjective/proto/cosmos/msg/v1/msg_pb2.py deleted file mode 100644 index 0964b24b..00000000 --- a/pyinjective/proto/cosmos/msg/v1/msg_pb2.py +++ /dev/null @@ -1,26 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/msg/v1/msg.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63osmos/msg/v1/msg.proto\x12\rcosmos.msg.v1\x1a google/protobuf/descriptor.proto:<\n\x07service\x12\x1f.google.protobuf.ServiceOptions\x18\xf0\x8c\xa6\x05 \x01(\x08R\x07service::\n\x06signer\x12\x1f.google.protobuf.MessageOptions\x18\xf0\x8c\xa6\x05 \x03(\tR\x06signerB\xa2\x01\n\x11\x63om.cosmos.msg.v1B\x08MsgProtoP\x01Z-github.com/cosmos/cosmos-sdk/types/msgservice\xa2\x02\x03\x43MX\xaa\x02\rCosmos.Msg.V1\xca\x02\rCosmos\\Msg\\V1\xe2\x02\x19\x43osmos\\Msg\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Msg::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.msg.v1.msg_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.msg.v1B\010MsgProtoP\001Z-github.com/cosmos/cosmos-sdk/types/msgservice\242\002\003CMX\252\002\rCosmos.Msg.V1\312\002\rCosmos\\Msg\\V1\342\002\031Cosmos\\Msg\\V1\\GPBMetadata\352\002\017Cosmos::Msg::V1' -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/msg/v1/msg_pb2_grpc.py b/pyinjective/proto/cosmos/msg/v1/msg_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/msg/v1/msg_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/nft/module/v1/module_pb2.py b/pyinjective/proto/cosmos/nft/module/v1/module_pb2.py deleted file mode 100644 index 79a1d5ec..00000000 --- a/pyinjective/proto/cosmos/nft/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/nft/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/nft/module/v1/module.proto\x12\x14\x63osmos.nft.module.v1\x1a cosmos/app/v1alpha1/module.proto\"$\n\x06Module:\x1a\xba\xc0\x96\xda\x01\x14\n\x12\x63osmossdk.io/x/nftB\x9a\x01\n\x18\x63om.cosmos.nft.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43NM\xaa\x02\x14\x43osmos.Nft.Module.V1\xca\x02\x14\x43osmos\\Nft\\Module\\V1\xe2\x02 Cosmos\\Nft\\Module\\V1\\GPBMetadata\xea\x02\x17\x43osmos::Nft::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.nft.module.v1B\013ModuleProtoP\001\242\002\003CNM\252\002\024Cosmos.Nft.Module.V1\312\002\024Cosmos\\Nft\\Module\\V1\342\002 Cosmos\\Nft\\Module\\V1\\GPBMetadata\352\002\027Cosmos::Nft::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\024\n\022cosmossdk.io/x/nft' - _globals['_MODULE']._serialized_start=93 - _globals['_MODULE']._serialized_end=129 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/nft/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/nft/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/nft/v1beta1/event_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/event_pb2.py deleted file mode 100644 index b714d392..00000000 --- a/pyinjective/proto/cosmos/nft/v1beta1/event_pb2.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/nft/v1beta1/event.proto -# Protobuf Python Version: 5.26.1 -"""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\x1e\x63osmos/nft/v1beta1/event.proto\x12\x12\x63osmos.nft.v1beta1\"j\n\tEventSend\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x04 \x01(\tR\x08receiver\"L\n\tEventMint\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05owner\"L\n\tEventBurn\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05ownerB\xa2\x01\n\x16\x63om.cosmos.nft.v1beta1B\nEventProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.event_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\nEventProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' - _globals['_EVENTSEND']._serialized_start=54 - _globals['_EVENTSEND']._serialized_end=160 - _globals['_EVENTMINT']._serialized_start=162 - _globals['_EVENTMINT']._serialized_end=238 - _globals['_EVENTBURN']._serialized_start=240 - _globals['_EVENTBURN']._serialized_end=316 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/event_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/event_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/nft/v1beta1/event_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/nft/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2.py deleted file mode 100644 index 437eefb6..00000000 --- a/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/nft/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.nft.v1beta1 import nft_pb2 as cosmos_dot_nft_dot_v1beta1_dot_nft__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/nft/v1beta1/genesis.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x1c\x63osmos/nft/v1beta1/nft.proto\"x\n\x0cGenesisState\x12\x33\n\x07\x63lasses\x18\x01 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x07\x63lasses\x12\x33\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.EntryR\x07\x65ntries\"J\n\x05\x45ntry\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12+\n\x04nfts\x18\x02 \x03(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x04nftsB\xa4\x01\n\x16\x63om.cosmos.nft.v1beta1B\x0cGenesisProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\014GenesisProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' - _globals['_GENESISSTATE']._serialized_start=86 - _globals['_GENESISSTATE']._serialized_end=206 - _globals['_ENTRY']._serialized_start=208 - _globals['_ENTRY']._serialized_end=282 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/nft/v1beta1/nft_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2.py deleted file mode 100644 index 6eab1d6b..00000000 --- a/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/nft/v1beta1/nft.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/nft/v1beta1/nft.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x19google/protobuf/any.proto\"\xbc\x01\n\x05\x43lass\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x03 \x01(\tR\x06symbol\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x10\n\x03uri\x18\x05 \x01(\tR\x03uri\x12\x19\n\x08uri_hash\x18\x06 \x01(\tR\x07uriHash\x12(\n\x04\x64\x61ta\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyR\x04\x64\x61ta\"\x87\x01\n\x03NFT\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x10\n\x03uri\x18\x03 \x01(\tR\x03uri\x12\x19\n\x08uri_hash\x18\x04 \x01(\tR\x07uriHash\x12(\n\x04\x64\x61ta\x18\n \x01(\x0b\x32\x14.google.protobuf.AnyR\x04\x64\x61taB\xa0\x01\n\x16\x63om.cosmos.nft.v1beta1B\x08NftProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.nft_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\010NftProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' - _globals['_CLASS']._serialized_start=80 - _globals['_CLASS']._serialized_end=268 - _globals['_NFT']._serialized_start=271 - _globals['_NFT']._serialized_end=406 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/nft/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/query_pb2.py deleted file mode 100644 index d9559994..00000000 --- a/pyinjective/proto/cosmos/nft/v1beta1/query_pb2.py +++ /dev/null @@ -1,72 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/nft/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.nft.v1beta1 import nft_pb2 as cosmos_dot_nft_dot_v1beta1_dot_nft__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/nft/v1beta1/query.proto\x12\x12\x63osmos.nft.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1c\x63osmos/nft/v1beta1/nft.proto\"F\n\x13QueryBalanceRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner\".\n\x14QueryBalanceResponse\x12\x16\n\x06\x61mount\x18\x01 \x01(\x04R\x06\x61mount\">\n\x11QueryOwnerRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\"*\n\x12QueryOwnerResponse\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\"/\n\x12QuerySupplyRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\"-\n\x13QuerySupplyResponse\x12\x16\n\x06\x61mount\x18\x01 \x01(\x04R\x06\x61mount\"\x8b\x01\n\x10QueryNFTsRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x89\x01\n\x11QueryNFTsResponse\x12+\n\x04nfts\x18\x01 \x03(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x04nfts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"<\n\x0fQueryNFTRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\"=\n\x10QueryNFTResponse\x12)\n\x03nft\x18\x01 \x01(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x03nft\".\n\x11QueryClassRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\"E\n\x12QueryClassResponse\x12/\n\x05\x63lass\x18\x01 \x01(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x05\x63lass\"]\n\x13QueryClassesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x94\x01\n\x14QueryClassesResponse\x12\x33\n\x07\x63lasses\x18\x01 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x07\x63lasses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xbe\x07\n\x05Query\x12\x94\x01\n\x07\x42\x61lance\x12\'.cosmos.nft.v1beta1.QueryBalanceRequest\x1a(.cosmos.nft.v1beta1.QueryBalanceResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/nft/v1beta1/balance/{owner}/{class_id}\x12\x89\x01\n\x05Owner\x12%.cosmos.nft.v1beta1.QueryOwnerRequest\x1a&.cosmos.nft.v1beta1.QueryOwnerResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/nft/v1beta1/owner/{class_id}/{id}\x12\x88\x01\n\x06Supply\x12&.cosmos.nft.v1beta1.QuerySupplyRequest\x1a\'.cosmos.nft.v1beta1.QuerySupplyResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/cosmos/nft/v1beta1/supply/{class_id}\x12u\n\x04NFTs\x12$.cosmos.nft.v1beta1.QueryNFTsRequest\x1a%.cosmos.nft.v1beta1.QueryNFTsResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cosmos/nft/v1beta1/nfts\x12\x82\x01\n\x03NFT\x12#.cosmos.nft.v1beta1.QueryNFTRequest\x1a$.cosmos.nft.v1beta1.QueryNFTResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/nft/v1beta1/nfts/{class_id}/{id}\x12\x86\x01\n\x05\x43lass\x12%.cosmos.nft.v1beta1.QueryClassRequest\x1a&.cosmos.nft.v1beta1.QueryClassResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/nft/v1beta1/classes/{class_id}\x12\x81\x01\n\x07\x43lasses\x12\'.cosmos.nft.v1beta1.QueryClassesRequest\x1a(.cosmos.nft.v1beta1.QueryClassesResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/nft/v1beta1/classesB\xa2\x01\n\x16\x63om.cosmos.nft.v1beta1B\nQueryProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\nQueryProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' - _globals['_QUERY'].methods_by_name['Balance']._loaded_options = None - _globals['_QUERY'].methods_by_name['Balance']._serialized_options = b'\202\323\344\223\0020\022./cosmos/nft/v1beta1/balance/{owner}/{class_id}' - _globals['_QUERY'].methods_by_name['Owner']._loaded_options = None - _globals['_QUERY'].methods_by_name['Owner']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/nft/v1beta1/owner/{class_id}/{id}' - _globals['_QUERY'].methods_by_name['Supply']._loaded_options = None - _globals['_QUERY'].methods_by_name['Supply']._serialized_options = b'\202\323\344\223\002\'\022%/cosmos/nft/v1beta1/supply/{class_id}' - _globals['_QUERY'].methods_by_name['NFTs']._loaded_options = None - _globals['_QUERY'].methods_by_name['NFTs']._serialized_options = b'\202\323\344\223\002\032\022\030/cosmos/nft/v1beta1/nfts' - _globals['_QUERY'].methods_by_name['NFT']._loaded_options = None - _globals['_QUERY'].methods_by_name['NFT']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/nft/v1beta1/nfts/{class_id}/{id}' - _globals['_QUERY'].methods_by_name['Class']._loaded_options = None - _globals['_QUERY'].methods_by_name['Class']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/nft/v1beta1/classes/{class_id}' - _globals['_QUERY'].methods_by_name['Classes']._loaded_options = None - _globals['_QUERY'].methods_by_name['Classes']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/nft/v1beta1/classes' - _globals['_QUERYBALANCEREQUEST']._serialized_start=158 - _globals['_QUERYBALANCEREQUEST']._serialized_end=228 - _globals['_QUERYBALANCERESPONSE']._serialized_start=230 - _globals['_QUERYBALANCERESPONSE']._serialized_end=276 - _globals['_QUERYOWNERREQUEST']._serialized_start=278 - _globals['_QUERYOWNERREQUEST']._serialized_end=340 - _globals['_QUERYOWNERRESPONSE']._serialized_start=342 - _globals['_QUERYOWNERRESPONSE']._serialized_end=384 - _globals['_QUERYSUPPLYREQUEST']._serialized_start=386 - _globals['_QUERYSUPPLYREQUEST']._serialized_end=433 - _globals['_QUERYSUPPLYRESPONSE']._serialized_start=435 - _globals['_QUERYSUPPLYRESPONSE']._serialized_end=480 - _globals['_QUERYNFTSREQUEST']._serialized_start=483 - _globals['_QUERYNFTSREQUEST']._serialized_end=622 - _globals['_QUERYNFTSRESPONSE']._serialized_start=625 - _globals['_QUERYNFTSRESPONSE']._serialized_end=762 - _globals['_QUERYNFTREQUEST']._serialized_start=764 - _globals['_QUERYNFTREQUEST']._serialized_end=824 - _globals['_QUERYNFTRESPONSE']._serialized_start=826 - _globals['_QUERYNFTRESPONSE']._serialized_end=887 - _globals['_QUERYCLASSREQUEST']._serialized_start=889 - _globals['_QUERYCLASSREQUEST']._serialized_end=935 - _globals['_QUERYCLASSRESPONSE']._serialized_start=937 - _globals['_QUERYCLASSRESPONSE']._serialized_end=1006 - _globals['_QUERYCLASSESREQUEST']._serialized_start=1008 - _globals['_QUERYCLASSESREQUEST']._serialized_end=1101 - _globals['_QUERYCLASSESRESPONSE']._serialized_start=1104 - _globals['_QUERYCLASSESRESPONSE']._serialized_end=1252 - _globals['_QUERY']._serialized_start=1255 - _globals['_QUERY']._serialized_end=2213 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/query_pb2_grpc.py deleted file mode 100644 index ab1f20be..00000000 --- a/pyinjective/proto/cosmos/nft/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,346 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.nft.v1beta1 import query_pb2 as cosmos_dot_nft_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Balance = channel.unary_unary( - '/cosmos.nft.v1beta1.Query/Balance', - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, - _registered_method=True) - self.Owner = channel.unary_unary( - '/cosmos.nft.v1beta1.Query/Owner', - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerResponse.FromString, - _registered_method=True) - self.Supply = channel.unary_unary( - '/cosmos.nft.v1beta1.Query/Supply', - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyResponse.FromString, - _registered_method=True) - self.NFTs = channel.unary_unary( - '/cosmos.nft.v1beta1.Query/NFTs', - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsResponse.FromString, - _registered_method=True) - self.NFT = channel.unary_unary( - '/cosmos.nft.v1beta1.Query/NFT', - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTResponse.FromString, - _registered_method=True) - self.Class = channel.unary_unary( - '/cosmos.nft.v1beta1.Query/Class', - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassResponse.FromString, - _registered_method=True) - self.Classes = channel.unary_unary( - '/cosmos.nft.v1beta1.Query/Classes', - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service. - """ - - def Balance(self, request, context): - """Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Owner(self, request, context): - """Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Supply(self, request, context): - """Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def NFTs(self, request, context): - """NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in - ERC721Enumerable - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def NFT(self, request, context): - """NFT queries an NFT based on its class and id. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Class(self, request, context): - """Class queries an NFT class based on its id - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Classes(self, request, context): - """Classes queries all NFT classes - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Balance': grpc.unary_unary_rpc_method_handler( - servicer.Balance, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.SerializeToString, - ), - 'Owner': grpc.unary_unary_rpc_method_handler( - servicer.Owner, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerResponse.SerializeToString, - ), - 'Supply': grpc.unary_unary_rpc_method_handler( - servicer.Supply, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyResponse.SerializeToString, - ), - 'NFTs': grpc.unary_unary_rpc_method_handler( - servicer.NFTs, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsResponse.SerializeToString, - ), - 'NFT': grpc.unary_unary_rpc_method_handler( - servicer.NFT, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTResponse.SerializeToString, - ), - 'Class': grpc.unary_unary_rpc_method_handler( - servicer.Class, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassResponse.SerializeToString, - ), - 'Classes': grpc.unary_unary_rpc_method_handler( - servicer.Classes, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.nft.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.nft.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service. - """ - - @staticmethod - def Balance(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.nft.v1beta1.Query/Balance', - cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, - cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Owner(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.nft.v1beta1.Query/Owner', - cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerRequest.SerializeToString, - cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Supply(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.nft.v1beta1.Query/Supply', - cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyRequest.SerializeToString, - cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def NFTs(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.nft.v1beta1.Query/NFTs', - cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsRequest.SerializeToString, - cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def NFT(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.nft.v1beta1.Query/NFT', - cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTRequest.SerializeToString, - cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Class(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.nft.v1beta1.Query/Class', - cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassRequest.SerializeToString, - cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Classes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.nft.v1beta1.Query/Classes', - cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesRequest.SerializeToString, - cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py deleted file mode 100644 index d1cfee9b..00000000 --- a/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py +++ /dev/null @@ -1,41 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/nft/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/nft/v1beta1/tx.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\xa9\x01\n\x07MsgSend\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x30\n\x06sender\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08receiver\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08receiver:\x0b\x82\xe7\xb0*\x06sender\"\x11\n\x0fMsgSendResponse2V\n\x03Msg\x12H\n\x04Send\x12\x1b.cosmos.nft.v1beta1.MsgSend\x1a#.cosmos.nft.v1beta1.MsgSendResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9f\x01\n\x16\x63om.cosmos.nft.v1beta1B\x07TxProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\007TxProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' - _globals['_MSGSEND'].fields_by_name['sender']._loaded_options = None - _globals['_MSGSEND'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSEND'].fields_by_name['receiver']._loaded_options = None - _globals['_MSGSEND'].fields_by_name['receiver']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSEND']._loaded_options = None - _globals['_MSGSEND']._serialized_options = b'\202\347\260*\006sender' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGSEND']._serialized_start=104 - _globals['_MSGSEND']._serialized_end=273 - _globals['_MSGSENDRESPONSE']._serialized_start=275 - _globals['_MSGSENDRESPONSE']._serialized_end=292 - _globals['_MSG']._serialized_start=294 - _globals['_MSG']._serialized_end=380 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index c932a6d7..00000000 --- a/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,81 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.nft.v1beta1 import tx_pb2 as cosmos_dot_nft_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the nft Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Send = channel.unary_unary( - '/cosmos.nft.v1beta1.Msg/Send', - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the nft Msg service. - """ - - def Send(self, request, context): - """Send defines a method to send a nft from one account to another account. - """ - 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 = { - 'Send': grpc.unary_unary_rpc_method_handler( - servicer.Send, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSend.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSendResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.nft.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.nft.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the nft Msg service. - """ - - @staticmethod - def Send(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.nft.v1beta1.Msg/Send', - cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, - cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py deleted file mode 100644 index 54f1b29a..00000000 --- a/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/orm/module/v1alpha1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/orm/module/v1alpha1/module.proto\x12\x1a\x63osmos.orm.module.v1alpha1\x1a cosmos/app/v1alpha1/module.proto\"\"\n\x06Module:\x18\xba\xc0\x96\xda\x01\x12\n\x10\x63osmossdk.io/ormB\xb8\x01\n\x1e\x63om.cosmos.orm.module.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43OM\xaa\x02\x1a\x43osmos.Orm.Module.V1alpha1\xca\x02\x1a\x43osmos\\Orm\\Module\\V1alpha1\xe2\x02&Cosmos\\Orm\\Module\\V1alpha1\\GPBMetadata\xea\x02\x1d\x43osmos::Orm::Module::V1alpha1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.module.v1alpha1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.cosmos.orm.module.v1alpha1B\013ModuleProtoP\001\242\002\003COM\252\002\032Cosmos.Orm.Module.V1alpha1\312\002\032Cosmos\\Orm\\Module\\V1alpha1\342\002&Cosmos\\Orm\\Module\\V1alpha1\\GPBMetadata\352\002\035Cosmos::Orm::Module::V1alpha1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\022\n\020cosmossdk.io/orm' - _globals['_MODULE']._serialized_start=105 - _globals['_MODULE']._serialized_end=139 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2_grpc.py b/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/orm/query/v1alpha1/query_pb2.py b/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2.py deleted file mode 100644 index 7765a8a1..00000000 --- a/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/orm/query/v1alpha1/query.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/orm/query/v1alpha1/query.proto\x12\x19\x63osmos.orm.query.v1alpha1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19google/protobuf/any.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\"\x84\x01\n\nGetRequest\x12!\n\x0cmessage_name\x18\x01 \x01(\tR\x0bmessageName\x12\x14\n\x05index\x18\x02 \x01(\tR\x05index\x12=\n\x06values\x18\x03 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x06values\";\n\x0bGetResponse\x12,\n\x06result\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06result\"\xee\x03\n\x0bListRequest\x12!\n\x0cmessage_name\x18\x01 \x01(\tR\x0bmessageName\x12\x14\n\x05index\x18\x02 \x01(\tR\x05index\x12G\n\x06prefix\x18\x03 \x01(\x0b\x32-.cosmos.orm.query.v1alpha1.ListRequest.PrefixH\x00R\x06prefix\x12\x44\n\x05range\x18\x04 \x01(\x0b\x32,.cosmos.orm.query.v1alpha1.ListRequest.RangeH\x00R\x05range\x12\x46\n\npagination\x18\x05 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x1aG\n\x06Prefix\x12=\n\x06values\x18\x01 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x06values\x1a}\n\x05Range\x12;\n\x05start\x18\x01 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x05start\x12\x37\n\x03\x65nd\x18\x02 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x03\x65ndB\x07\n\x05query\"\x87\x01\n\x0cListResponse\x12.\n\x07results\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x07results\x12G\n\npagination\x18\x05 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x8c\x02\n\nIndexValue\x12\x14\n\x04uint\x18\x01 \x01(\x04H\x00R\x04uint\x12\x12\n\x03int\x18\x02 \x01(\x03H\x00R\x03int\x12\x12\n\x03str\x18\x03 \x01(\tH\x00R\x03str\x12\x16\n\x05\x62ytes\x18\x04 \x01(\x0cH\x00R\x05\x62ytes\x12\x14\n\x04\x65num\x18\x05 \x01(\tH\x00R\x04\x65num\x12\x14\n\x04\x62ool\x18\x06 \x01(\x08H\x00R\x04\x62ool\x12:\n\ttimestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\ttimestamp\x12\x37\n\x08\x64uration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00R\x08\x64urationB\x07\n\x05value2\xb6\x01\n\x05Query\x12T\n\x03Get\x12%.cosmos.orm.query.v1alpha1.GetRequest\x1a&.cosmos.orm.query.v1alpha1.GetResponse\x12W\n\x04List\x12&.cosmos.orm.query.v1alpha1.ListRequest\x1a\'.cosmos.orm.query.v1alpha1.ListResponseB\xb2\x01\n\x1d\x63om.cosmos.orm.query.v1alpha1B\nQueryProtoP\x01\xa2\x02\x03\x43OQ\xaa\x02\x19\x43osmos.Orm.Query.V1alpha1\xca\x02\x19\x43osmos\\Orm\\Query\\V1alpha1\xe2\x02%Cosmos\\Orm\\Query\\V1alpha1\\GPBMetadata\xea\x02\x1c\x43osmos::Orm::Query::V1alpha1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.query.v1alpha1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.orm.query.v1alpha1B\nQueryProtoP\001\242\002\003COQ\252\002\031Cosmos.Orm.Query.V1alpha1\312\002\031Cosmos\\Orm\\Query\\V1alpha1\342\002%Cosmos\\Orm\\Query\\V1alpha1\\GPBMetadata\352\002\034Cosmos::Orm::Query::V1alpha1' - _globals['_GETREQUEST']._serialized_start=205 - _globals['_GETREQUEST']._serialized_end=337 - _globals['_GETRESPONSE']._serialized_start=339 - _globals['_GETRESPONSE']._serialized_end=398 - _globals['_LISTREQUEST']._serialized_start=401 - _globals['_LISTREQUEST']._serialized_end=895 - _globals['_LISTREQUEST_PREFIX']._serialized_start=688 - _globals['_LISTREQUEST_PREFIX']._serialized_end=759 - _globals['_LISTREQUEST_RANGE']._serialized_start=761 - _globals['_LISTREQUEST_RANGE']._serialized_end=886 - _globals['_LISTRESPONSE']._serialized_start=898 - _globals['_LISTRESPONSE']._serialized_end=1033 - _globals['_INDEXVALUE']._serialized_start=1036 - _globals['_INDEXVALUE']._serialized_end=1304 - _globals['_QUERY']._serialized_start=1307 - _globals['_QUERY']._serialized_end=1489 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2_grpc.py b/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2_grpc.py deleted file mode 100644 index fdcaaba1..00000000 --- a/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2_grpc.py +++ /dev/null @@ -1,125 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.orm.query.v1alpha1 import query_pb2 as cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2 - - -class QueryStub(object): - """Query is a generic gRPC service for querying ORM data. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Get = channel.unary_unary( - '/cosmos.orm.query.v1alpha1.Query/Get', - request_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetRequest.SerializeToString, - response_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetResponse.FromString, - _registered_method=True) - self.List = channel.unary_unary( - '/cosmos.orm.query.v1alpha1.Query/List', - request_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListRequest.SerializeToString, - response_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query is a generic gRPC service for querying ORM data. - """ - - def Get(self, request, context): - """Get queries an ORM table against an unique index. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def List(self, request, context): - """List queries an ORM table against an index. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Get': grpc.unary_unary_rpc_method_handler( - servicer.Get, - request_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetRequest.FromString, - response_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetResponse.SerializeToString, - ), - 'List': grpc.unary_unary_rpc_method_handler( - servicer.List, - request_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListRequest.FromString, - response_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.orm.query.v1alpha1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.orm.query.v1alpha1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query is a generic gRPC service for querying ORM data. - """ - - @staticmethod - def Get(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.orm.query.v1alpha1.Query/Get', - cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetRequest.SerializeToString, - cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def List(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.orm.query.v1alpha1.Query/List', - cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListRequest.SerializeToString, - cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/orm/v1/orm_pb2.py b/pyinjective/proto/cosmos/orm/v1/orm_pb2.py deleted file mode 100644 index cae563a1..00000000 --- a/pyinjective/proto/cosmos/orm/v1/orm_pb2.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/orm/v1/orm.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63osmos/orm/v1/orm.proto\x12\rcosmos.orm.v1\x1a google/protobuf/descriptor.proto\"\xa6\x01\n\x0fTableDescriptor\x12\x44\n\x0bprimary_key\x18\x01 \x01(\x0b\x32#.cosmos.orm.v1.PrimaryKeyDescriptorR\nprimaryKey\x12=\n\x05index\x18\x02 \x03(\x0b\x32\'.cosmos.orm.v1.SecondaryIndexDescriptorR\x05index\x12\x0e\n\x02id\x18\x03 \x01(\rR\x02id\"U\n\x14PrimaryKeyDescriptor\x12\x16\n\x06\x66ields\x18\x01 \x01(\tR\x06\x66ields\x12%\n\x0e\x61uto_increment\x18\x02 \x01(\x08R\rautoIncrement\"Z\n\x18SecondaryIndexDescriptor\x12\x16\n\x06\x66ields\x18\x01 \x01(\tR\x06\x66ields\x12\x0e\n\x02id\x18\x02 \x01(\rR\x02id\x12\x16\n\x06unique\x18\x03 \x01(\x08R\x06unique\"%\n\x13SingletonDescriptor\x12\x0e\n\x02id\x18\x01 \x01(\rR\x02id:X\n\x05table\x12\x1f.google.protobuf.MessageOptions\x18\xee\xb3\xea\x31 \x01(\x0b\x32\x1e.cosmos.orm.v1.TableDescriptorR\x05table:d\n\tsingleton\x12\x1f.google.protobuf.MessageOptions\x18\xef\xb3\xea\x31 \x01(\x0b\x32\".cosmos.orm.v1.SingletonDescriptorR\tsingletonBs\n\x11\x63om.cosmos.orm.v1B\x08OrmProtoP\x01\xa2\x02\x03\x43OX\xaa\x02\rCosmos.Orm.V1\xca\x02\rCosmos\\Orm\\V1\xe2\x02\x19\x43osmos\\Orm\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Orm::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.v1.orm_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.orm.v1B\010OrmProtoP\001\242\002\003COX\252\002\rCosmos.Orm.V1\312\002\rCosmos\\Orm\\V1\342\002\031Cosmos\\Orm\\V1\\GPBMetadata\352\002\017Cosmos::Orm::V1' - _globals['_TABLEDESCRIPTOR']._serialized_start=77 - _globals['_TABLEDESCRIPTOR']._serialized_end=243 - _globals['_PRIMARYKEYDESCRIPTOR']._serialized_start=245 - _globals['_PRIMARYKEYDESCRIPTOR']._serialized_end=330 - _globals['_SECONDARYINDEXDESCRIPTOR']._serialized_start=332 - _globals['_SECONDARYINDEXDESCRIPTOR']._serialized_end=422 - _globals['_SINGLETONDESCRIPTOR']._serialized_start=424 - _globals['_SINGLETONDESCRIPTOR']._serialized_end=461 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/v1/orm_pb2_grpc.py b/pyinjective/proto/cosmos/orm/v1/orm_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/orm/v1/orm_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/orm/v1alpha1/schema_pb2.py b/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2.py deleted file mode 100644 index 4f6e6666..00000000 --- a/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/orm/v1alpha1/schema.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/orm/v1alpha1/schema.proto\x12\x13\x63osmos.orm.v1alpha1\x1a google/protobuf/descriptor.proto\"\x93\x02\n\x16ModuleSchemaDescriptor\x12V\n\x0bschema_file\x18\x01 \x03(\x0b\x32\x35.cosmos.orm.v1alpha1.ModuleSchemaDescriptor.FileEntryR\nschemaFile\x12\x16\n\x06prefix\x18\x02 \x01(\x0cR\x06prefix\x1a\x88\x01\n\tFileEntry\x12\x0e\n\x02id\x18\x01 \x01(\rR\x02id\x12&\n\x0fproto_file_name\x18\x02 \x01(\tR\rprotoFileName\x12\x43\n\x0cstorage_type\x18\x03 \x01(\x0e\x32 .cosmos.orm.v1alpha1.StorageTypeR\x0bstorageType*h\n\x0bStorageType\x12$\n STORAGE_TYPE_DEFAULT_UNSPECIFIED\x10\x00\x12\x17\n\x13STORAGE_TYPE_MEMORY\x10\x01\x12\x1a\n\x16STORAGE_TYPE_TRANSIENT\x10\x02:t\n\rmodule_schema\x12\x1f.google.protobuf.MessageOptions\x18\xf0\xb3\xea\x31 \x01(\x0b\x32+.cosmos.orm.v1alpha1.ModuleSchemaDescriptorR\x0cmoduleSchemaB\x94\x01\n\x17\x63om.cosmos.orm.v1alpha1B\x0bSchemaProtoP\x01\xa2\x02\x03\x43OX\xaa\x02\x13\x43osmos.Orm.V1alpha1\xca\x02\x13\x43osmos\\Orm\\V1alpha1\xe2\x02\x1f\x43osmos\\Orm\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::Orm::V1alpha1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.v1alpha1.schema_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.orm.v1alpha1B\013SchemaProtoP\001\242\002\003COX\252\002\023Cosmos.Orm.V1alpha1\312\002\023Cosmos\\Orm\\V1alpha1\342\002\037Cosmos\\Orm\\V1alpha1\\GPBMetadata\352\002\025Cosmos::Orm::V1alpha1' - _globals['_STORAGETYPE']._serialized_start=369 - _globals['_STORAGETYPE']._serialized_end=473 - _globals['_MODULESCHEMADESCRIPTOR']._serialized_start=92 - _globals['_MODULESCHEMADESCRIPTOR']._serialized_end=367 - _globals['_MODULESCHEMADESCRIPTOR_FILEENTRY']._serialized_start=231 - _globals['_MODULESCHEMADESCRIPTOR_FILEENTRY']._serialized_end=367 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py b/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/params/module/v1/module_pb2.py b/pyinjective/proto/cosmos/params/module/v1/module_pb2.py deleted file mode 100644 index 19e51257..00000000 --- a/pyinjective/proto/cosmos/params/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/params/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/params/module/v1/module.proto\x12\x17\x63osmos.params.module.v1\x1a cosmos/app/v1alpha1/module.proto\"7\n\x06Module:-\xba\xc0\x96\xda\x01\'\n%github.com/cosmos/cosmos-sdk/x/paramsB\xa9\x01\n\x1b\x63om.cosmos.params.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43PM\xaa\x02\x17\x43osmos.Params.Module.V1\xca\x02\x17\x43osmos\\Params\\Module\\V1\xe2\x02#Cosmos\\Params\\Module\\V1\\GPBMetadata\xea\x02\x1a\x43osmos::Params::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.params.module.v1B\013ModuleProtoP\001\242\002\003CPM\252\002\027Cosmos.Params.Module.V1\312\002\027Cosmos\\Params\\Module\\V1\342\002#Cosmos\\Params\\Module\\V1\\GPBMetadata\352\002\032Cosmos::Params::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\'\n%github.com/cosmos/cosmos-sdk/x/params' - _globals['_MODULE']._serialized_start=99 - _globals['_MODULE']._serialized_end=154 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/params/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/params/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/params/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/params/v1beta1/params_pb2.py b/pyinjective/proto/cosmos/params/v1beta1/params_pb2.py deleted file mode 100644 index b53d4ca7..00000000 --- a/pyinjective/proto/cosmos/params/v1beta1/params_pb2.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/params/v1beta1/params.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/params/v1beta1/params.proto\x12\x15\x63osmos.params.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xe5\x01\n\x17ParameterChangeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12G\n\x07\x63hanges\x18\x03 \x03(\x0b\x32\".cosmos.params.v1beta1.ParamChangeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x63hanges:I\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\"cosmos-sdk/ParameterChangeProposal\"Q\n\x0bParamChange\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\x12\x14\n\x05value\x18\x03 \x01(\tR\x05valueB\xd8\x01\n\x19\x63om.cosmos.params.v1beta1B\x0bParamsProtoP\x01Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\xa2\x02\x03\x43PX\xaa\x02\x15\x43osmos.Params.V1beta1\xca\x02\x15\x43osmos\\Params\\V1beta1\xe2\x02!Cosmos\\Params\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Params::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.v1beta1.params_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.params.v1beta1B\013ParamsProtoP\001Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\242\002\003CPX\252\002\025Cosmos.Params.V1beta1\312\002\025Cosmos\\Params\\V1beta1\342\002!Cosmos\\Params\\V1beta1\\GPBMetadata\352\002\027Cosmos::Params::V1beta1\250\342\036\001' - _globals['_PARAMETERCHANGEPROPOSAL'].fields_by_name['changes']._loaded_options = None - _globals['_PARAMETERCHANGEPROPOSAL'].fields_by_name['changes']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PARAMETERCHANGEPROPOSAL']._loaded_options = None - _globals['_PARAMETERCHANGEPROPOSAL']._serialized_options = b'\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\"cosmos-sdk/ParameterChangeProposal' - _globals['_PARAMETERCHANGEPROPOSAL']._serialized_start=130 - _globals['_PARAMETERCHANGEPROPOSAL']._serialized_end=359 - _globals['_PARAMCHANGE']._serialized_start=361 - _globals['_PARAMCHANGE']._serialized_end=442 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/params/v1beta1/params_pb2_grpc.py b/pyinjective/proto/cosmos/params/v1beta1/params_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/params/v1beta1/params_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/params/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/params/v1beta1/query_pb2.py deleted file mode 100644 index 27bdcffa..00000000 --- a/pyinjective/proto/cosmos/params/v1beta1/query_pb2.py +++ /dev/null @@ -1,47 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/params/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.params.v1beta1 import params_pb2 as cosmos_dot_params_dot_v1beta1_dot_params__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/params/v1beta1/query.proto\x12\x15\x63osmos.params.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\"cosmos/params/v1beta1/params.proto\x1a\x11\x61mino/amino.proto\"B\n\x12QueryParamsRequest\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\"Z\n\x13QueryParamsResponse\x12\x43\n\x05param\x18\x01 \x01(\x0b\x32\".cosmos.params.v1beta1.ParamChangeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05param\"\x17\n\x15QuerySubspacesRequest\"W\n\x16QuerySubspacesResponse\x12=\n\tsubspaces\x18\x01 \x03(\x0b\x32\x1f.cosmos.params.v1beta1.SubspaceR\tsubspaces\":\n\x08Subspace\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x12\n\x04keys\x18\x02 \x03(\tR\x04keys2\xa5\x02\n\x05Query\x12\x86\x01\n\x06Params\x12).cosmos.params.v1beta1.QueryParamsRequest\x1a*.cosmos.params.v1beta1.QueryParamsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/params/v1beta1/params\x12\x92\x01\n\tSubspaces\x12,.cosmos.params.v1beta1.QuerySubspacesRequest\x1a-.cosmos.params.v1beta1.QuerySubspacesResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmos/params/v1beta1/subspacesB\xd3\x01\n\x19\x63om.cosmos.params.v1beta1B\nQueryProtoP\x01Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\xa2\x02\x03\x43PX\xaa\x02\x15\x43osmos.Params.V1beta1\xca\x02\x15\x43osmos\\Params\\V1beta1\xe2\x02!Cosmos\\Params\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Params::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.params.v1beta1B\nQueryProtoP\001Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\242\002\003CPX\252\002\025Cosmos.Params.V1beta1\312\002\025Cosmos\\Params\\V1beta1\342\002!Cosmos\\Params\\V1beta1\\GPBMetadata\352\002\027Cosmos::Params::V1beta1' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['param']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['param']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\037\022\035/cosmos/params/v1beta1/params' - _globals['_QUERY'].methods_by_name['Subspaces']._loaded_options = None - _globals['_QUERY'].methods_by_name['Subspaces']._serialized_options = b'\202\323\344\223\002\"\022 /cosmos/params/v1beta1/subspaces' - _globals['_QUERYPARAMSREQUEST']._serialized_start=167 - _globals['_QUERYPARAMSREQUEST']._serialized_end=233 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=235 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=325 - _globals['_QUERYSUBSPACESREQUEST']._serialized_start=327 - _globals['_QUERYSUBSPACESREQUEST']._serialized_end=350 - _globals['_QUERYSUBSPACESRESPONSE']._serialized_start=352 - _globals['_QUERYSUBSPACESRESPONSE']._serialized_end=439 - _globals['_SUBSPACE']._serialized_start=441 - _globals['_SUBSPACE']._serialized_end=499 - _globals['_QUERY']._serialized_start=502 - _globals['_QUERY']._serialized_end=795 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/params/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/params/v1beta1/query_pb2_grpc.py deleted file mode 100644 index b9ed1797..00000000 --- a/pyinjective/proto/cosmos/params/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,128 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.params.v1beta1 import query_pb2 as cosmos_dot_params_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Params = channel.unary_unary( - '/cosmos.params.v1beta1.Query/Params', - request_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - self.Subspaces = channel.unary_unary( - '/cosmos.params.v1beta1.Query/Subspaces', - request_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesRequest.SerializeToString, - response_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service. - """ - - def Params(self, request, context): - """Params queries a specific parameter of a module, given its subspace and - key. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Subspaces(self, request, context): - """Subspaces queries for all registered subspaces and all keys for a subspace. - - Since: cosmos-sdk 0.46 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'Subspaces': grpc.unary_unary_rpc_method_handler( - servicer.Subspaces, - request_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesRequest.FromString, - response_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.params.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.params.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service. - """ - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.params.v1beta1.Query/Params', - cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Subspaces(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.params.v1beta1.Query/Subspaces', - cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesRequest.SerializeToString, - cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/query/v1/query_pb2.py b/pyinjective/proto/cosmos/query/v1/query_pb2.py deleted file mode 100644 index 1911653d..00000000 --- a/pyinjective/proto/cosmos/query/v1/query_pb2.py +++ /dev/null @@ -1,26 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/query/v1/query.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/query/v1/query.proto\x12\x0f\x63osmos.query.v1\x1a google/protobuf/descriptor.proto:M\n\x11module_query_safe\x12\x1e.google.protobuf.MethodOptions\x18\xf1\x8c\xa6\x05 \x01(\x08R\x0fmoduleQuerySafeB\xa9\x01\n\x13\x63om.cosmos.query.v1B\nQueryProtoP\x01Z(github.com/cosmos/cosmos-sdk/types/query\xa2\x02\x03\x43QX\xaa\x02\x0f\x43osmos.Query.V1\xca\x02\x0f\x43osmos\\Query\\V1\xe2\x02\x1b\x43osmos\\Query\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Query::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.query.v1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.query.v1B\nQueryProtoP\001Z(github.com/cosmos/cosmos-sdk/types/query\242\002\003CQX\252\002\017Cosmos.Query.V1\312\002\017Cosmos\\Query\\V1\342\002\033Cosmos\\Query\\V1\\GPBMetadata\352\002\021Cosmos::Query::V1' -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/query/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/query/v1/query_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/query/v1/query_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/reflection/v1/reflection_pb2.py b/pyinjective/proto/cosmos/reflection/v1/reflection_pb2.py deleted file mode 100644 index 9608c2f9..00000000 --- a/pyinjective/proto/cosmos/reflection/v1/reflection_pb2.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/reflection/v1/reflection.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/reflection/v1/reflection.proto\x12\x14\x63osmos.reflection.v1\x1a google/protobuf/descriptor.proto\x1a\x1b\x63osmos/query/v1/query.proto\"\x18\n\x16\x46ileDescriptorsRequest\"U\n\x17\x46ileDescriptorsResponse\x12:\n\x05\x66iles\x18\x01 \x03(\x0b\x32$.google.protobuf.FileDescriptorProtoR\x05\x66iles2\x8a\x01\n\x11ReflectionService\x12u\n\x0f\x46ileDescriptors\x12,.cosmos.reflection.v1.FileDescriptorsRequest\x1a-.cosmos.reflection.v1.FileDescriptorsResponse\"\x05\x88\xe7\xb0*\x00\x42\x9d\x01\n\x18\x63om.cosmos.reflection.v1B\x0fReflectionProtoP\x01\xa2\x02\x03\x43RX\xaa\x02\x14\x43osmos.Reflection.V1\xca\x02\x14\x43osmos\\Reflection\\V1\xe2\x02 Cosmos\\Reflection\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Reflection::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.reflection.v1.reflection_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.reflection.v1B\017ReflectionProtoP\001\242\002\003CRX\252\002\024Cosmos.Reflection.V1\312\002\024Cosmos\\Reflection\\V1\342\002 Cosmos\\Reflection\\V1\\GPBMetadata\352\002\026Cosmos::Reflection::V1' - _globals['_REFLECTIONSERVICE'].methods_by_name['FileDescriptors']._loaded_options = None - _globals['_REFLECTIONSERVICE'].methods_by_name['FileDescriptors']._serialized_options = b'\210\347\260*\000' - _globals['_FILEDESCRIPTORSREQUEST']._serialized_start=126 - _globals['_FILEDESCRIPTORSREQUEST']._serialized_end=150 - _globals['_FILEDESCRIPTORSRESPONSE']._serialized_start=152 - _globals['_FILEDESCRIPTORSRESPONSE']._serialized_end=237 - _globals['_REFLECTIONSERVICE']._serialized_start=240 - _globals['_REFLECTIONSERVICE']._serialized_end=378 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/reflection/v1/reflection_pb2_grpc.py b/pyinjective/proto/cosmos/reflection/v1/reflection_pb2_grpc.py deleted file mode 100644 index 0c311309..00000000 --- a/pyinjective/proto/cosmos/reflection/v1/reflection_pb2_grpc.py +++ /dev/null @@ -1,85 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.reflection.v1 import reflection_pb2 as cosmos_dot_reflection_dot_v1_dot_reflection__pb2 - - -class ReflectionServiceStub(object): - """Package cosmos.reflection.v1 provides support for inspecting protobuf - file descriptors. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.FileDescriptors = channel.unary_unary( - '/cosmos.reflection.v1.ReflectionService/FileDescriptors', - request_serializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsRequest.SerializeToString, - response_deserializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsResponse.FromString, - _registered_method=True) - - -class ReflectionServiceServicer(object): - """Package cosmos.reflection.v1 provides support for inspecting protobuf - file descriptors. - """ - - def FileDescriptors(self, request, context): - """FileDescriptors queries all the file descriptors in the app in order - to enable easier generation of dynamic clients. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_ReflectionServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'FileDescriptors': grpc.unary_unary_rpc_method_handler( - servicer.FileDescriptors, - request_deserializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsRequest.FromString, - response_serializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.reflection.v1.ReflectionService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.reflection.v1.ReflectionService', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class ReflectionService(object): - """Package cosmos.reflection.v1 provides support for inspecting protobuf - file descriptors. - """ - - @staticmethod - def FileDescriptors(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.reflection.v1.ReflectionService/FileDescriptors', - cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsRequest.SerializeToString, - cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py b/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py deleted file mode 100644 index 3e5352da..00000000 --- a/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/slashing/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/slashing/module/v1/module.proto\x12\x19\x63osmos.slashing.module.v1\x1a cosmos/app/v1alpha1/module.proto\"W\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:/\xba\xc0\x96\xda\x01)\n\'github.com/cosmos/cosmos-sdk/x/slashingB\xb3\x01\n\x1d\x63om.cosmos.slashing.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43SM\xaa\x02\x19\x43osmos.Slashing.Module.V1\xca\x02\x19\x43osmos\\Slashing\\Module\\V1\xe2\x02%Cosmos\\Slashing\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Slashing::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.slashing.module.v1B\013ModuleProtoP\001\242\002\003CSM\252\002\031Cosmos.Slashing.Module.V1\312\002\031Cosmos\\Slashing\\Module\\V1\342\002%Cosmos\\Slashing\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Slashing::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001)\n\'github.com/cosmos/cosmos-sdk/x/slashing' - _globals['_MODULE']._serialized_start=103 - _globals['_MODULE']._serialized_end=190 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/slashing/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/slashing/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2.py deleted file mode 100644 index 76a206a8..00000000 --- a/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/slashing/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.slashing.v1beta1 import slashing_pb2 as cosmos_dot_slashing_dot_v1beta1_dot_slashing__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/slashing/v1beta1/genesis.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x88\x02\n\x0cGenesisState\x12\x42\n\x06params\x18\x01 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12T\n\rsigning_infos\x18\x02 \x03(\x0b\x32$.cosmos.slashing.v1beta1.SigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0csigningInfos\x12^\n\rmissed_blocks\x18\x03 \x03(\x0b\x32..cosmos.slashing.v1beta1.ValidatorMissedBlocksB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cmissedBlocks\"\xba\x01\n\x0bSigningInfo\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12n\n\x16validator_signing_info\x18\x02 \x01(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSigningInfo\"\xaa\x01\n\x15ValidatorMissedBlocks\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12T\n\rmissed_blocks\x18\x02 \x03(\x0b\x32$.cosmos.slashing.v1beta1.MissedBlockB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cmissedBlocks\";\n\x0bMissedBlock\x12\x14\n\x05index\x18\x01 \x01(\x03R\x05index\x12\x16\n\x06missed\x18\x02 \x01(\x08R\x06missedB\xd8\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\x0cGenesisProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.slashing.v1beta1B\014GenesisProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['signing_infos']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['signing_infos']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['missed_blocks']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['missed_blocks']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_SIGNINGINFO'].fields_by_name['address']._loaded_options = None - _globals['_SIGNINGINFO'].fields_by_name['address']._serialized_options = b'\322\264-\035cosmos.ConsensusAddressString' - _globals['_SIGNINGINFO'].fields_by_name['validator_signing_info']._loaded_options = None - _globals['_SIGNINGINFO'].fields_by_name['validator_signing_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_VALIDATORMISSEDBLOCKS'].fields_by_name['address']._loaded_options = None - _globals['_VALIDATORMISSEDBLOCKS'].fields_by_name['address']._serialized_options = b'\322\264-\035cosmos.ConsensusAddressString' - _globals['_VALIDATORMISSEDBLOCKS'].fields_by_name['missed_blocks']._loaded_options = None - _globals['_VALIDATORMISSEDBLOCKS'].fields_by_name['missed_blocks']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE']._serialized_start=175 - _globals['_GENESISSTATE']._serialized_end=439 - _globals['_SIGNINGINFO']._serialized_start=442 - _globals['_SIGNINGINFO']._serialized_end=628 - _globals['_VALIDATORMISSEDBLOCKS']._serialized_start=631 - _globals['_VALIDATORMISSEDBLOCKS']._serialized_end=801 - _globals['_MISSEDBLOCK']._serialized_start=803 - _globals['_MISSEDBLOCK']._serialized_end=862 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/slashing/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2.py deleted file mode 100644 index 6ada740b..00000000 --- a/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2.py +++ /dev/null @@ -1,59 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/slashing/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.slashing.v1beta1 import slashing_pb2 as cosmos_dot_slashing_dot_v1beta1_dot_slashing__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/slashing/v1beta1/query.proto\x12\x17\x63osmos.slashing.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x14\n\x12QueryParamsRequest\"Y\n\x13QueryParamsResponse\x12\x42\n\x06params\x18\x01 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"_\n\x17QuerySigningInfoRequest\x12\x44\n\x0c\x63ons_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x0b\x63onsAddress\"~\n\x18QuerySigningInfoResponse\x12\x62\n\x10val_signing_info\x18\x01 \x01(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evalSigningInfo\"b\n\x18QuerySigningInfosRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb2\x01\n\x19QuerySigningInfosResponse\x12L\n\x04info\x18\x01 \x03(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04info\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xf2\x03\n\x05Query\x12\x8c\x01\n\x06Params\x12+.cosmos.slashing.v1beta1.QueryParamsRequest\x1a,.cosmos.slashing.v1beta1.QueryParamsResponse\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/cosmos/slashing/v1beta1/params\x12\xb1\x01\n\x0bSigningInfo\x12\x30.cosmos.slashing.v1beta1.QuerySigningInfoRequest\x1a\x31.cosmos.slashing.v1beta1.QuerySigningInfoResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmos/slashing/v1beta1/signing_infos/{cons_address}\x12\xa5\x01\n\x0cSigningInfos\x12\x31.cosmos.slashing.v1beta1.QuerySigningInfosRequest\x1a\x32.cosmos.slashing.v1beta1.QuerySigningInfosResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/slashing/v1beta1/signing_infosB\xd6\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\nQueryProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.slashing.v1beta1B\nQueryProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYSIGNINGINFOREQUEST'].fields_by_name['cons_address']._loaded_options = None - _globals['_QUERYSIGNINGINFOREQUEST'].fields_by_name['cons_address']._serialized_options = b'\322\264-\035cosmos.ConsensusAddressString' - _globals['_QUERYSIGNINGINFORESPONSE'].fields_by_name['val_signing_info']._loaded_options = None - _globals['_QUERYSIGNINGINFORESPONSE'].fields_by_name['val_signing_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYSIGNINGINFOSRESPONSE'].fields_by_name['info']._loaded_options = None - _globals['_QUERYSIGNINGINFOSRESPONSE'].fields_by_name['info']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002!\022\037/cosmos/slashing/v1beta1/params' - _globals['_QUERY'].methods_by_name['SigningInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['SigningInfo']._serialized_options = b'\202\323\344\223\0027\0225/cosmos/slashing/v1beta1/signing_infos/{cons_address}' - _globals['_QUERY'].methods_by_name['SigningInfos']._loaded_options = None - _globals['_QUERY'].methods_by_name['SigningInfos']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/slashing/v1beta1/signing_infos' - _globals['_QUERYPARAMSREQUEST']._serialized_start=246 - _globals['_QUERYPARAMSREQUEST']._serialized_end=266 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=268 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=357 - _globals['_QUERYSIGNINGINFOREQUEST']._serialized_start=359 - _globals['_QUERYSIGNINGINFOREQUEST']._serialized_end=454 - _globals['_QUERYSIGNINGINFORESPONSE']._serialized_start=456 - _globals['_QUERYSIGNINGINFORESPONSE']._serialized_end=582 - _globals['_QUERYSIGNINGINFOSREQUEST']._serialized_start=584 - _globals['_QUERYSIGNINGINFOSREQUEST']._serialized_end=682 - _globals['_QUERYSIGNINGINFOSRESPONSE']._serialized_start=685 - _globals['_QUERYSIGNINGINFOSRESPONSE']._serialized_end=863 - _globals['_QUERY']._serialized_start=866 - _globals['_QUERY']._serialized_end=1364 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2_grpc.py deleted file mode 100644 index 69674eb7..00000000 --- a/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,169 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.slashing.v1beta1 import query_pb2 as cosmos_dot_slashing_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query provides defines the gRPC querier service - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Params = channel.unary_unary( - '/cosmos.slashing.v1beta1.Query/Params', - request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - self.SigningInfo = channel.unary_unary( - '/cosmos.slashing.v1beta1.Query/SigningInfo', - request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoResponse.FromString, - _registered_method=True) - self.SigningInfos = channel.unary_unary( - '/cosmos.slashing.v1beta1.Query/SigningInfos', - request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosRequest.SerializeToString, - response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query provides defines the gRPC querier service - """ - - def Params(self, request, context): - """Params queries the parameters of slashing module - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SigningInfo(self, request, context): - """SigningInfo queries the signing info of given cons address - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SigningInfos(self, request, context): - """SigningInfos queries signing info of all validators - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'SigningInfo': grpc.unary_unary_rpc_method_handler( - servicer.SigningInfo, - request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoRequest.FromString, - response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoResponse.SerializeToString, - ), - 'SigningInfos': grpc.unary_unary_rpc_method_handler( - servicer.SigningInfos, - request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosRequest.FromString, - response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.slashing.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.slashing.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query provides defines the gRPC querier service - """ - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.slashing.v1beta1.Query/Params', - cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SigningInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.slashing.v1beta1.Query/SigningInfo', - cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoRequest.SerializeToString, - cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SigningInfos(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.slashing.v1beta1.Query/SigningInfos', - cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosRequest.SerializeToString, - cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py deleted file mode 100644 index 112ce1a6..00000000 --- a/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/slashing/v1beta1/slashing.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/slashing/v1beta1/slashing.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xc1\x02\n\x14ValidatorSigningInfo\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12!\n\x0cstart_height\x18\x02 \x01(\x03R\x0bstartHeight\x12!\n\x0cindex_offset\x18\x03 \x01(\x03R\x0bindexOffset\x12L\n\x0cjailed_until\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0bjailedUntil\x12\x1e\n\ntombstoned\x18\x05 \x01(\x08R\ntombstoned\x12\x32\n\x15missed_blocks_counter\x18\x06 \x01(\x03R\x13missedBlocksCounter:\x04\xe8\xa0\x1f\x01\"\x8d\x04\n\x06Params\x12\x30\n\x14signed_blocks_window\x18\x01 \x01(\x03R\x12signedBlocksWindow\x12i\n\x15min_signed_per_window\x18\x02 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x12minSignedPerWindow\x12^\n\x16\x64owntime_jail_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x14\x64owntimeJailDuration\x12s\n\x1aslash_fraction_double_sign\x18\x04 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x17slashFractionDoubleSign\x12n\n\x17slash_fraction_downtime\x18\x05 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x15slashFractionDowntime:!\x8a\xe7\xb0*\x1c\x63osmos-sdk/x/slashing/ParamsB\xdd\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\rSlashingProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.slashing_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.slashing.v1beta1B\rSlashingProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1\250\342\036\001' - _globals['_VALIDATORSIGNINGINFO'].fields_by_name['address']._loaded_options = None - _globals['_VALIDATORSIGNINGINFO'].fields_by_name['address']._serialized_options = b'\322\264-\035cosmos.ConsensusAddressString' - _globals['_VALIDATORSIGNINGINFO'].fields_by_name['jailed_until']._loaded_options = None - _globals['_VALIDATORSIGNINGINFO'].fields_by_name['jailed_until']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_VALIDATORSIGNINGINFO']._loaded_options = None - _globals['_VALIDATORSIGNINGINFO']._serialized_options = b'\350\240\037\001' - _globals['_PARAMS'].fields_by_name['min_signed_per_window']._loaded_options = None - _globals['_PARAMS'].fields_by_name['min_signed_per_window']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['downtime_jail_duration']._loaded_options = None - _globals['_PARAMS'].fields_by_name['downtime_jail_duration']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['slash_fraction_double_sign']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_double_sign']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['slash_fraction_downtime']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_downtime']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\212\347\260*\034cosmos-sdk/x/slashing/Params' - _globals['_VALIDATORSIGNINGINFO']._serialized_start=201 - _globals['_VALIDATORSIGNINGINFO']._serialized_end=522 - _globals['_PARAMS']._serialized_start=525 - _globals['_PARAMS']._serialized_end=1050 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/slashing/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2.py deleted file mode 100644 index 2e825073..00000000 --- a/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/slashing/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.slashing.v1beta1 import slashing_pb2 as cosmos_dot_slashing_dot_v1beta1_dot_slashing__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/slashing/v1beta1/tx.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xa3\x01\n\tMsgUnjail\x12\x64\n\x0evalidator_addr\x18\x01 \x01(\tB=\xea\xde\x1f\x07\x61\x64\x64ress\xd2\xb4-\x1d\x63osmos.ValidatorAddressString\xa2\xe7\xb0*\x07\x61\x64\x64ress\xa8\xe7\xb0*\x01R\rvalidatorAddr:0\x88\xa0\x1f\x00\x82\xe7\xb0*\x0evalidator_addr\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgUnjail\"\x13\n\x11MsgUnjailResponse\"\xc7\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x42\n\x06params\x18\x02 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:8\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*%cosmos-sdk/x/slashing/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xd2\x01\n\x03Msg\x12X\n\x06Unjail\x12\".cosmos.slashing.v1beta1.MsgUnjail\x1a*.cosmos.slashing.v1beta1.MsgUnjailResponse\x12j\n\x0cUpdateParams\x12(.cosmos.slashing.v1beta1.MsgUpdateParams\x1a\x30.cosmos.slashing.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd7\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\x07TxProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.slashing.v1beta1B\007TxProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1\250\342\036\001' - _globals['_MSGUNJAIL'].fields_by_name['validator_addr']._loaded_options = None - _globals['_MSGUNJAIL'].fields_by_name['validator_addr']._serialized_options = b'\352\336\037\007address\322\264-\035cosmos.ValidatorAddressString\242\347\260*\007address\250\347\260*\001' - _globals['_MSGUNJAIL']._loaded_options = None - _globals['_MSGUNJAIL']._serialized_options = b'\210\240\037\000\202\347\260*\016validator_addr\212\347\260*\024cosmos-sdk/MsgUnjail' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*%cosmos-sdk/x/slashing/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGUNJAIL']._serialized_start=195 - _globals['_MSGUNJAIL']._serialized_end=358 - _globals['_MSGUNJAILRESPONSE']._serialized_start=360 - _globals['_MSGUNJAILRESPONSE']._serialized_end=379 - _globals['_MSGUPDATEPARAMS']._serialized_start=382 - _globals['_MSGUPDATEPARAMS']._serialized_end=581 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=583 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=608 - _globals['_MSG']._serialized_start=611 - _globals['_MSG']._serialized_end=821 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index 63fd5cdd..00000000 --- a/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,130 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.slashing.v1beta1 import tx_pb2 as cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the slashing Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Unjail = channel.unary_unary( - '/cosmos.slashing.v1beta1.Msg/Unjail', - request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjail.SerializeToString, - response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjailResponse.FromString, - _registered_method=True) - self.UpdateParams = channel.unary_unary( - '/cosmos.slashing.v1beta1.Msg/UpdateParams', - request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the slashing Msg service. - """ - - def Unjail(self, request, context): - """Unjail defines a method for unjailing a jailed validator, thus returning - them into the bonded validator set, so they can begin receiving provisions - and rewards again. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """UpdateParams defines a governance operation for updating the x/slashing module - parameters. The authority defaults to the x/gov module account. - - Since: cosmos-sdk 0.47 - """ - 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 = { - 'Unjail': grpc.unary_unary_rpc_method_handler( - servicer.Unjail, - request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjail.FromString, - response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjailResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.slashing.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.slashing.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the slashing Msg service. - """ - - @staticmethod - def Unjail(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.slashing.v1beta1.Msg/Unjail', - cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjail.SerializeToString, - cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjailResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.slashing.v1beta1.Msg/UpdateParams', - cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py b/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py deleted file mode 100644 index 6abb3c62..00000000 --- a/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/staking/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/staking/module/v1/module.proto\x12\x18\x63osmos.staking.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\xe7\x01\n\x06Module\x12\x1f\n\x0bhooks_order\x18\x01 \x03(\tR\nhooksOrder\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority\x12\x36\n\x17\x62\x65\x63h32_prefix_validator\x18\x03 \x01(\tR\x15\x62\x65\x63h32PrefixValidator\x12\x36\n\x17\x62\x65\x63h32_prefix_consensus\x18\x04 \x01(\tR\x15\x62\x65\x63h32PrefixConsensus:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/stakingB\xae\x01\n\x1c\x63om.cosmos.staking.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43SM\xaa\x02\x18\x43osmos.Staking.Module.V1\xca\x02\x18\x43osmos\\Staking\\Module\\V1\xe2\x02$Cosmos\\Staking\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Staking::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.staking.module.v1B\013ModuleProtoP\001\242\002\003CSM\252\002\030Cosmos.Staking.Module.V1\312\002\030Cosmos\\Staking\\Module\\V1\342\002$Cosmos\\Staking\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Staking::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/staking' - _globals['_MODULE']._serialized_start=102 - _globals['_MODULE']._serialized_end=333 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/staking/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/staking/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/staking/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2.py deleted file mode 100644 index 444597ee..00000000 --- a/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/staking/v1beta1/authz.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/staking/v1beta1/authz.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"\xfa\x04\n\x12StakeAuthorization\x12\x65\n\nmax_tokens\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB+\xaa\xdf\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\tmaxTokens\x12\x84\x01\n\nallow_list\x18\x02 \x01(\x0b\x32\x35.cosmos.staking.v1beta1.StakeAuthorization.ValidatorsB,\xb2\xe7\xb0*\'cosmos-sdk/StakeAuthorization/AllowListH\x00R\tallowList\x12\x81\x01\n\tdeny_list\x18\x03 \x01(\x0b\x32\x35.cosmos.staking.v1beta1.StakeAuthorization.ValidatorsB+\xb2\xe7\xb0*&cosmos-sdk/StakeAuthorization/DenyListH\x00R\x08\x64\x65nyList\x12X\n\x12\x61uthorization_type\x18\x04 \x01(\x0e\x32).cosmos.staking.v1beta1.AuthorizationTypeR\x11\x61uthorizationType\x1a@\n\nValidators\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:H\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1d\x63osmos-sdk/StakeAuthorizationB\x0c\n\nvalidators*\xd2\x01\n\x11\x41uthorizationType\x12\"\n\x1e\x41UTHORIZATION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x41UTHORIZATION_TYPE_DELEGATE\x10\x01\x12!\n\x1d\x41UTHORIZATION_TYPE_UNDELEGATE\x10\x02\x12!\n\x1d\x41UTHORIZATION_TYPE_REDELEGATE\x10\x03\x12\x32\n.AUTHORIZATION_TYPE_CANCEL_UNBONDING_DELEGATION\x10\x04\x42\xd0\x01\n\x1a\x63om.cosmos.staking.v1beta1B\nAuthzProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.authz_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\nAuthzProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' - _globals['_STAKEAUTHORIZATION_VALIDATORS'].fields_by_name['address']._loaded_options = None - _globals['_STAKEAUTHORIZATION_VALIDATORS'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_STAKEAUTHORIZATION'].fields_by_name['max_tokens']._loaded_options = None - _globals['_STAKEAUTHORIZATION'].fields_by_name['max_tokens']._serialized_options = b'\252\337\037\'github.com/cosmos/cosmos-sdk/types.Coin' - _globals['_STAKEAUTHORIZATION'].fields_by_name['allow_list']._loaded_options = None - _globals['_STAKEAUTHORIZATION'].fields_by_name['allow_list']._serialized_options = b'\262\347\260*\'cosmos-sdk/StakeAuthorization/AllowList' - _globals['_STAKEAUTHORIZATION'].fields_by_name['deny_list']._loaded_options = None - _globals['_STAKEAUTHORIZATION'].fields_by_name['deny_list']._serialized_options = b'\262\347\260*&cosmos-sdk/StakeAuthorization/DenyList' - _globals['_STAKEAUTHORIZATION']._loaded_options = None - _globals['_STAKEAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\035cosmos-sdk/StakeAuthorization' - _globals['_AUTHORIZATIONTYPE']._serialized_start=800 - _globals['_AUTHORIZATIONTYPE']._serialized_end=1010 - _globals['_STAKEAUTHORIZATION']._serialized_start=163 - _globals['_STAKEAUTHORIZATION']._serialized_end=797 - _globals['_STAKEAUTHORIZATION_VALIDATORS']._serialized_start=645 - _globals['_STAKEAUTHORIZATION_VALIDATORS']._serialized_end=709 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/staking/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2.py deleted file mode 100644 index 4186446e..00000000 --- a/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/staking/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.staking.v1beta1 import staking_pb2 as cosmos_dot_staking_dot_v1beta1_dot_staking__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/staking/v1beta1/genesis.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x97\x05\n\x0cGenesisState\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12Z\n\x10last_total_power\x18\x02 \x01(\x0c\x42\x30\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0elastTotalPower\x12i\n\x15last_validator_powers\x18\x03 \x03(\x0b\x32*.cosmos.staking.v1beta1.LastValidatorPowerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13lastValidatorPowers\x12L\n\nvalidators\x18\x04 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12O\n\x0b\x64\x65legations\x18\x05 \x03(\x0b\x32\".cosmos.staking.v1beta1.DelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65legations\x12k\n\x15unbonding_delegations\x18\x06 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14unbondingDelegations\x12U\n\rredelegations\x18\x07 \x03(\x0b\x32$.cosmos.staking.v1beta1.RedelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rredelegations\x12\x1a\n\x08\x65xported\x18\x08 \x01(\x08R\x08\x65xported\"h\n\x12LastValidatorPower\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05power\x18\x02 \x01(\x03R\x05power:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xd2\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x0cGenesisProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\014GenesisProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['last_total_power']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['last_total_power']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['last_validator_powers']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['last_validator_powers']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['validators']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['validators']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['delegations']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['delegations']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['unbonding_delegations']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['unbonding_delegations']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['redelegations']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['redelegations']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_LASTVALIDATORPOWER'].fields_by_name['address']._loaded_options = None - _globals['_LASTVALIDATORPOWER'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_LASTVALIDATORPOWER']._loaded_options = None - _globals['_LASTVALIDATORPOWER']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_GENESISSTATE']._serialized_start=171 - _globals['_GENESISSTATE']._serialized_end=834 - _globals['_LASTVALIDATORPOWER']._serialized_start=836 - _globals['_LASTVALIDATORPOWER']._serialized_end=940 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/staking/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/query_pb2.py deleted file mode 100644 index 971db76b..00000000 --- a/pyinjective/proto/cosmos/staking/v1beta1/query_pb2.py +++ /dev/null @@ -1,186 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/staking/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.staking.v1beta1 import staking_pb2 as cosmos_dot_staking_dot_v1beta1_dot_staking__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/staking/v1beta1/query.proto\x12\x16\x63osmos.staking.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x11\x61mino/amino.proto\"x\n\x16QueryValidatorsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb0\x01\n\x17QueryValidatorsResponse\x12L\n\nvalidators\x18\x01 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"a\n\x15QueryValidatorRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr\"d\n\x16QueryValidatorResponse\x12J\n\tvalidator\x18\x01 \x01(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tvalidator\"\xb4\x01\n QueryValidatorDelegationsRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xed\x01\n!QueryValidatorDelegationsResponse\x12\x7f\n\x14\x64\x65legation_responses\x18\x01 \x03(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseB \xc8\xde\x1f\x00\xaa\xdf\x1f\x13\x44\x65legationResponses\xa8\xe7\xb0*\x01R\x13\x64\x65legationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xbd\x01\n)QueryValidatorUnbondingDelegationsRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xde\x01\n*QueryValidatorUnbondingDelegationsResponse\x12g\n\x13unbonding_responses\x18\x01 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12unbondingResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xad\x01\n\x16QueryDelegationRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"v\n\x17QueryDelegationResponse\x12[\n\x13\x64\x65legation_response\x18\x01 \x01(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseR\x12\x64\x65legationResponse\"\xb6\x01\n\x1fQueryUnbondingDelegationRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"r\n QueryUnbondingDelegationResponse\x12N\n\x06unbond\x18\x01 \x01(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06unbond\"\xb5\x01\n QueryDelegatorDelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd6\x01\n!QueryDelegatorDelegationsResponse\x12h\n\x14\x64\x65legation_responses\x18\x01 \x03(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x64\x65legationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xbe\x01\n)QueryDelegatorUnbondingDelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xde\x01\n*QueryDelegatorUnbondingDelegationsResponse\x12g\n\x13unbonding_responses\x18\x01 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12unbondingResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xbe\x02\n\x19QueryRedelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\x12src_validator_addr\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10srcValidatorAddr\x12\x46\n\x12\x64st_validator_addr\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64stValidatorAddr\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd5\x01\n\x1aQueryRedelegationsResponse\x12n\n\x16redelegation_responses\x18\x01 \x03(\x0b\x32,.cosmos.staking.v1beta1.RedelegationResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15redelegationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xb4\x01\n\x1fQueryDelegatorValidatorsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb9\x01\n QueryDelegatorValidatorsResponse\x12L\n\nvalidators\x18\x01 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xb5\x01\n\x1eQueryDelegatorValidatorRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"m\n\x1fQueryDelegatorValidatorResponse\x12J\n\tvalidator\x18\x01 \x01(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tvalidator\"4\n\x1aQueryHistoricalInfoRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\"Y\n\x1bQueryHistoricalInfoResponse\x12:\n\x04hist\x18\x01 \x01(\x0b\x32&.cosmos.staking.v1beta1.HistoricalInfoR\x04hist\"\x12\n\x10QueryPoolRequest\"P\n\x11QueryPoolResponse\x12;\n\x04pool\x18\x01 \x01(\x0b\x32\x1c.cosmos.staking.v1beta1.PoolB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04pool\"\x14\n\x12QueryParamsRequest\"X\n\x13QueryParamsResponse\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params2\xb0\x16\n\x05Query\x12\x9e\x01\n\nValidators\x12..cosmos.staking.v1beta1.QueryValidatorsRequest\x1a/.cosmos.staking.v1beta1.QueryValidatorsResponse\"/\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02$\x12\"/cosmos/staking/v1beta1/validators\x12\xac\x01\n\tValidator\x12-.cosmos.staking.v1beta1.QueryValidatorRequest\x1a..cosmos.staking.v1beta1.QueryValidatorResponse\"@\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/staking/v1beta1/validators/{validator_addr}\x12\xd9\x01\n\x14ValidatorDelegations\x12\x38.cosmos.staking.v1beta1.QueryValidatorDelegationsRequest\x1a\x39.cosmos.staking.v1beta1.QueryValidatorDelegationsResponse\"L\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x41\x12?/cosmos/staking/v1beta1/validators/{validator_addr}/delegations\x12\xfe\x01\n\x1dValidatorUnbondingDelegations\x12\x41.cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest\x1a\x42.cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse\"V\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02K\x12I/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations\x12\xcc\x01\n\nDelegation\x12..cosmos.staking.v1beta1.QueryDelegationRequest\x1a/.cosmos.staking.v1beta1.QueryDelegationResponse\"]\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02R\x12P/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}\x12\xfc\x01\n\x13UnbondingDelegation\x12\x37.cosmos.staking.v1beta1.QueryUnbondingDelegationRequest\x1a\x38.cosmos.staking.v1beta1.QueryUnbondingDelegationResponse\"r\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02g\x12\x65/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation\x12\xce\x01\n\x14\x44\x65legatorDelegations\x12\x38.cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest\x1a\x39.cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse\"A\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/staking/v1beta1/delegations/{delegator_addr}\x12\xfe\x01\n\x1d\x44\x65legatorUnbondingDelegations\x12\x41.cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest\x1a\x42.cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse\"V\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02K\x12I/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations\x12\xc6\x01\n\rRedelegations\x12\x31.cosmos.staking.v1beta1.QueryRedelegationsRequest\x1a\x32.cosmos.staking.v1beta1.QueryRedelegationsResponse\"N\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x43\x12\x41/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations\x12\xd5\x01\n\x13\x44\x65legatorValidators\x12\x37.cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest\x1a\x38.cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse\"K\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02@\x12>/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators\x12\xe3\x01\n\x12\x44\x65legatorValidator\x12\x36.cosmos.staking.v1beta1.QueryDelegatorValidatorRequest\x1a\x37.cosmos.staking.v1beta1.QueryDelegatorValidatorResponse\"\\\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02Q\x12O/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}\x12\xb8\x01\n\x0eHistoricalInfo\x12\x32.cosmos.staking.v1beta1.QueryHistoricalInfoRequest\x1a\x33.cosmos.staking.v1beta1.QueryHistoricalInfoResponse\"=\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/staking/v1beta1/historical_info/{height}\x12\x86\x01\n\x04Pool\x12(.cosmos.staking.v1beta1.QueryPoolRequest\x1a).cosmos.staking.v1beta1.QueryPoolResponse\")\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1e\x12\x1c/cosmos/staking/v1beta1/pool\x12\x8e\x01\n\x06Params\x12*.cosmos.staking.v1beta1.QueryParamsRequest\x1a+.cosmos.staking.v1beta1.QueryParamsResponse\"+\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02 \x12\x1e/cosmos/staking/v1beta1/paramsB\xd0\x01\n\x1a\x63om.cosmos.staking.v1beta1B\nQueryProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\nQueryProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' - _globals['_QUERYVALIDATORSRESPONSE'].fields_by_name['validators']._loaded_options = None - _globals['_QUERYVALIDATORSRESPONSE'].fields_by_name['validators']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYVALIDATORREQUEST'].fields_by_name['validator_addr']._loaded_options = None - _globals['_QUERYVALIDATORREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYVALIDATORRESPONSE'].fields_by_name['validator']._loaded_options = None - _globals['_QUERYVALIDATORRESPONSE'].fields_by_name['validator']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYVALIDATORDELEGATIONSREQUEST'].fields_by_name['validator_addr']._loaded_options = None - _globals['_QUERYVALIDATORDELEGATIONSREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYVALIDATORDELEGATIONSRESPONSE'].fields_by_name['delegation_responses']._loaded_options = None - _globals['_QUERYVALIDATORDELEGATIONSRESPONSE'].fields_by_name['delegation_responses']._serialized_options = b'\310\336\037\000\252\337\037\023DelegationResponses\250\347\260*\001' - _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST'].fields_by_name['validator_addr']._loaded_options = None - _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE'].fields_by_name['unbonding_responses']._loaded_options = None - _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE'].fields_by_name['unbonding_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDELEGATIONREQUEST'].fields_by_name['delegator_addr']._loaded_options = None - _globals['_QUERYDELEGATIONREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATIONREQUEST'].fields_by_name['validator_addr']._loaded_options = None - _globals['_QUERYDELEGATIONREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYDELEGATIONREQUEST']._loaded_options = None - _globals['_QUERYDELEGATIONREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYUNBONDINGDELEGATIONREQUEST'].fields_by_name['delegator_addr']._loaded_options = None - _globals['_QUERYUNBONDINGDELEGATIONREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYUNBONDINGDELEGATIONREQUEST'].fields_by_name['validator_addr']._loaded_options = None - _globals['_QUERYUNBONDINGDELEGATIONREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._loaded_options = None - _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYUNBONDINGDELEGATIONRESPONSE'].fields_by_name['unbond']._loaded_options = None - _globals['_QUERYUNBONDINGDELEGATIONRESPONSE'].fields_by_name['unbond']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDELEGATORDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._loaded_options = None - _globals['_QUERYDELEGATORDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._loaded_options = None - _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATORDELEGATIONSRESPONSE'].fields_by_name['delegation_responses']._loaded_options = None - _globals['_QUERYDELEGATORDELEGATIONSRESPONSE'].fields_by_name['delegation_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._loaded_options = None - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._loaded_options = None - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE'].fields_by_name['unbonding_responses']._loaded_options = None - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE'].fields_by_name['unbonding_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._loaded_options = None - _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['src_validator_addr']._loaded_options = None - _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['src_validator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['dst_validator_addr']._loaded_options = None - _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['dst_validator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYREDELEGATIONSREQUEST']._loaded_options = None - _globals['_QUERYREDELEGATIONSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYREDELEGATIONSRESPONSE'].fields_by_name['redelegation_responses']._loaded_options = None - _globals['_QUERYREDELEGATIONSRESPONSE'].fields_by_name['redelegation_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDELEGATORVALIDATORSREQUEST'].fields_by_name['delegator_addr']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORSREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATORVALIDATORSREQUEST']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATORVALIDATORSRESPONSE'].fields_by_name['validators']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORSRESPONSE'].fields_by_name['validators']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDELEGATORVALIDATORREQUEST'].fields_by_name['delegator_addr']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATORVALIDATORREQUEST'].fields_by_name['validator_addr']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYDELEGATORVALIDATORREQUEST']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATORVALIDATORRESPONSE'].fields_by_name['validator']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORRESPONSE'].fields_by_name['validator']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYPOOLRESPONSE'].fields_by_name['pool']._loaded_options = None - _globals['_QUERYPOOLRESPONSE'].fields_by_name['pool']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERY'].methods_by_name['Validators']._loaded_options = None - _globals['_QUERY'].methods_by_name['Validators']._serialized_options = b'\210\347\260*\001\202\323\344\223\002$\022\"/cosmos/staking/v1beta1/validators' - _globals['_QUERY'].methods_by_name['Validator']._loaded_options = None - _globals['_QUERY'].methods_by_name['Validator']._serialized_options = b'\210\347\260*\001\202\323\344\223\0025\0223/cosmos/staking/v1beta1/validators/{validator_addr}' - _globals['_QUERY'].methods_by_name['ValidatorDelegations']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValidatorDelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\002A\022?/cosmos/staking/v1beta1/validators/{validator_addr}/delegations' - _globals['_QUERY'].methods_by_name['ValidatorUnbondingDelegations']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValidatorUnbondingDelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\002K\022I/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations' - _globals['_QUERY'].methods_by_name['Delegation']._loaded_options = None - _globals['_QUERY'].methods_by_name['Delegation']._serialized_options = b'\210\347\260*\001\202\323\344\223\002R\022P/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}' - _globals['_QUERY'].methods_by_name['UnbondingDelegation']._loaded_options = None - _globals['_QUERY'].methods_by_name['UnbondingDelegation']._serialized_options = b'\210\347\260*\001\202\323\344\223\002g\022e/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation' - _globals['_QUERY'].methods_by_name['DelegatorDelegations']._loaded_options = None - _globals['_QUERY'].methods_by_name['DelegatorDelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\0026\0224/cosmos/staking/v1beta1/delegations/{delegator_addr}' - _globals['_QUERY'].methods_by_name['DelegatorUnbondingDelegations']._loaded_options = None - _globals['_QUERY'].methods_by_name['DelegatorUnbondingDelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\002K\022I/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations' - _globals['_QUERY'].methods_by_name['Redelegations']._loaded_options = None - _globals['_QUERY'].methods_by_name['Redelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\002C\022A/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations' - _globals['_QUERY'].methods_by_name['DelegatorValidators']._loaded_options = None - _globals['_QUERY'].methods_by_name['DelegatorValidators']._serialized_options = b'\210\347\260*\001\202\323\344\223\002@\022>/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators' - _globals['_QUERY'].methods_by_name['DelegatorValidator']._loaded_options = None - _globals['_QUERY'].methods_by_name['DelegatorValidator']._serialized_options = b'\210\347\260*\001\202\323\344\223\002Q\022O/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}' - _globals['_QUERY'].methods_by_name['HistoricalInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['HistoricalInfo']._serialized_options = b'\210\347\260*\001\202\323\344\223\0022\0220/cosmos/staking/v1beta1/historical_info/{height}' - _globals['_QUERY'].methods_by_name['Pool']._loaded_options = None - _globals['_QUERY'].methods_by_name['Pool']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\036\022\034/cosmos/staking/v1beta1/pool' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\210\347\260*\001\202\323\344\223\002 \022\036/cosmos/staking/v1beta1/params' - _globals['_QUERYVALIDATORSREQUEST']._serialized_start=271 - _globals['_QUERYVALIDATORSREQUEST']._serialized_end=391 - _globals['_QUERYVALIDATORSRESPONSE']._serialized_start=394 - _globals['_QUERYVALIDATORSRESPONSE']._serialized_end=570 - _globals['_QUERYVALIDATORREQUEST']._serialized_start=572 - _globals['_QUERYVALIDATORREQUEST']._serialized_end=669 - _globals['_QUERYVALIDATORRESPONSE']._serialized_start=671 - _globals['_QUERYVALIDATORRESPONSE']._serialized_end=771 - _globals['_QUERYVALIDATORDELEGATIONSREQUEST']._serialized_start=774 - _globals['_QUERYVALIDATORDELEGATIONSREQUEST']._serialized_end=954 - _globals['_QUERYVALIDATORDELEGATIONSRESPONSE']._serialized_start=957 - _globals['_QUERYVALIDATORDELEGATIONSRESPONSE']._serialized_end=1194 - _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST']._serialized_start=1197 - _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST']._serialized_end=1386 - _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE']._serialized_start=1389 - _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE']._serialized_end=1611 - _globals['_QUERYDELEGATIONREQUEST']._serialized_start=1614 - _globals['_QUERYDELEGATIONREQUEST']._serialized_end=1787 - _globals['_QUERYDELEGATIONRESPONSE']._serialized_start=1789 - _globals['_QUERYDELEGATIONRESPONSE']._serialized_end=1907 - _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._serialized_start=1910 - _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._serialized_end=2092 - _globals['_QUERYUNBONDINGDELEGATIONRESPONSE']._serialized_start=2094 - _globals['_QUERYUNBONDINGDELEGATIONRESPONSE']._serialized_end=2208 - _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._serialized_start=2211 - _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._serialized_end=2392 - _globals['_QUERYDELEGATORDELEGATIONSRESPONSE']._serialized_start=2395 - _globals['_QUERYDELEGATORDELEGATIONSRESPONSE']._serialized_end=2609 - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._serialized_start=2612 - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._serialized_end=2802 - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE']._serialized_start=2805 - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE']._serialized_end=3027 - _globals['_QUERYREDELEGATIONSREQUEST']._serialized_start=3030 - _globals['_QUERYREDELEGATIONSREQUEST']._serialized_end=3348 - _globals['_QUERYREDELEGATIONSRESPONSE']._serialized_start=3351 - _globals['_QUERYREDELEGATIONSRESPONSE']._serialized_end=3564 - _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_start=3567 - _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_end=3747 - _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_start=3750 - _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_end=3935 - _globals['_QUERYDELEGATORVALIDATORREQUEST']._serialized_start=3938 - _globals['_QUERYDELEGATORVALIDATORREQUEST']._serialized_end=4119 - _globals['_QUERYDELEGATORVALIDATORRESPONSE']._serialized_start=4121 - _globals['_QUERYDELEGATORVALIDATORRESPONSE']._serialized_end=4230 - _globals['_QUERYHISTORICALINFOREQUEST']._serialized_start=4232 - _globals['_QUERYHISTORICALINFOREQUEST']._serialized_end=4284 - _globals['_QUERYHISTORICALINFORESPONSE']._serialized_start=4286 - _globals['_QUERYHISTORICALINFORESPONSE']._serialized_end=4375 - _globals['_QUERYPOOLREQUEST']._serialized_start=4377 - _globals['_QUERYPOOLREQUEST']._serialized_end=4395 - _globals['_QUERYPOOLRESPONSE']._serialized_start=4397 - _globals['_QUERYPOOLRESPONSE']._serialized_end=4477 - _globals['_QUERYPARAMSREQUEST']._serialized_start=4479 - _globals['_QUERYPARAMSREQUEST']._serialized_end=4499 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=4501 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=4589 - _globals['_QUERY']._serialized_start=4592 - _globals['_QUERY']._serialized_end=7456 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/query_pb2_grpc.py deleted file mode 100644 index 9ed468d7..00000000 --- a/pyinjective/proto/cosmos/staking/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,678 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.staking.v1beta1 import query_pb2 as cosmos_dot_staking_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Validators = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/Validators', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsResponse.FromString, - _registered_method=True) - self.Validator = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/Validator', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorResponse.FromString, - _registered_method=True) - self.ValidatorDelegations = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/ValidatorDelegations', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsResponse.FromString, - _registered_method=True) - self.ValidatorUnbondingDelegations = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/ValidatorUnbondingDelegations', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsResponse.FromString, - _registered_method=True) - self.Delegation = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/Delegation', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationResponse.FromString, - _registered_method=True) - self.UnbondingDelegation = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/UnbondingDelegation', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationResponse.FromString, - _registered_method=True) - self.DelegatorDelegations = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/DelegatorDelegations', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsResponse.FromString, - _registered_method=True) - self.DelegatorUnbondingDelegations = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/DelegatorUnbondingDelegations', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsResponse.FromString, - _registered_method=True) - self.Redelegations = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/Redelegations', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsResponse.FromString, - _registered_method=True) - self.DelegatorValidators = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/DelegatorValidators', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, - _registered_method=True) - self.DelegatorValidator = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/DelegatorValidator', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorResponse.FromString, - _registered_method=True) - self.HistoricalInfo = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/HistoricalInfo', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoResponse.FromString, - _registered_method=True) - self.Pool = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/Pool', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolResponse.FromString, - _registered_method=True) - self.Params = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/Params', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service. - """ - - def Validators(self, request, context): - """Validators queries all validators that match the given status. - - When called from another module, this query might consume a high amount of - gas if the pagination field is incorrectly set. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Validator(self, request, context): - """Validator queries validator info for given validator address. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ValidatorDelegations(self, request, context): - """ValidatorDelegations queries delegate info for given validator. - - When called from another module, this query might consume a high amount of - gas if the pagination field is incorrectly set. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ValidatorUnbondingDelegations(self, request, context): - """ValidatorUnbondingDelegations queries unbonding delegations of a validator. - - When called from another module, this query might consume a high amount of - gas if the pagination field is incorrectly set. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Delegation(self, request, context): - """Delegation queries delegate info for given validator delegator pair. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UnbondingDelegation(self, request, context): - """UnbondingDelegation queries unbonding info for given validator delegator - pair. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DelegatorDelegations(self, request, context): - """DelegatorDelegations queries all delegations of a given delegator address. - - When called from another module, this query might consume a high amount of - gas if the pagination field is incorrectly set. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DelegatorUnbondingDelegations(self, request, context): - """DelegatorUnbondingDelegations queries all unbonding delegations of a given - delegator address. - - When called from another module, this query might consume a high amount of - gas if the pagination field is incorrectly set. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Redelegations(self, request, context): - """Redelegations queries redelegations of given address. - - When called from another module, this query might consume a high amount of - gas if the pagination field is incorrectly set. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DelegatorValidators(self, request, context): - """DelegatorValidators queries all validators info for given delegator - address. - - When called from another module, this query might consume a high amount of - gas if the pagination field is incorrectly set. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DelegatorValidator(self, request, context): - """DelegatorValidator queries validator info for given delegator validator - pair. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def HistoricalInfo(self, request, context): - """HistoricalInfo queries the historical info for given height. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Pool(self, request, context): - """Pool queries the pool info. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Params(self, request, context): - """Parameters queries the staking parameters. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Validators': grpc.unary_unary_rpc_method_handler( - servicer.Validators, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsResponse.SerializeToString, - ), - 'Validator': grpc.unary_unary_rpc_method_handler( - servicer.Validator, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorResponse.SerializeToString, - ), - 'ValidatorDelegations': grpc.unary_unary_rpc_method_handler( - servicer.ValidatorDelegations, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsResponse.SerializeToString, - ), - 'ValidatorUnbondingDelegations': grpc.unary_unary_rpc_method_handler( - servicer.ValidatorUnbondingDelegations, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsResponse.SerializeToString, - ), - 'Delegation': grpc.unary_unary_rpc_method_handler( - servicer.Delegation, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationResponse.SerializeToString, - ), - 'UnbondingDelegation': grpc.unary_unary_rpc_method_handler( - servicer.UnbondingDelegation, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationResponse.SerializeToString, - ), - 'DelegatorDelegations': grpc.unary_unary_rpc_method_handler( - servicer.DelegatorDelegations, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsResponse.SerializeToString, - ), - 'DelegatorUnbondingDelegations': grpc.unary_unary_rpc_method_handler( - servicer.DelegatorUnbondingDelegations, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsResponse.SerializeToString, - ), - 'Redelegations': grpc.unary_unary_rpc_method_handler( - servicer.Redelegations, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsResponse.SerializeToString, - ), - 'DelegatorValidators': grpc.unary_unary_rpc_method_handler( - servicer.DelegatorValidators, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.SerializeToString, - ), - 'DelegatorValidator': grpc.unary_unary_rpc_method_handler( - servicer.DelegatorValidator, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorResponse.SerializeToString, - ), - 'HistoricalInfo': grpc.unary_unary_rpc_method_handler( - servicer.HistoricalInfo, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoResponse.SerializeToString, - ), - 'Pool': grpc.unary_unary_rpc_method_handler( - servicer.Pool, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolResponse.SerializeToString, - ), - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.staking.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.staking.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service. - """ - - @staticmethod - def Validators(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Query/Validators', - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsRequest.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Validator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Query/Validator', - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorRequest.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ValidatorDelegations(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Query/ValidatorDelegations', - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsRequest.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ValidatorUnbondingDelegations(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Query/ValidatorUnbondingDelegations', - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsRequest.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Delegation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Query/Delegation', - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationRequest.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UnbondingDelegation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Query/UnbondingDelegation', - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationRequest.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DelegatorDelegations(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Query/DelegatorDelegations', - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsRequest.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DelegatorUnbondingDelegations(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Query/DelegatorUnbondingDelegations', - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsRequest.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Redelegations(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Query/Redelegations', - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsRequest.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DelegatorValidators(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Query/DelegatorValidators', - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DelegatorValidator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Query/DelegatorValidator', - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorRequest.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def HistoricalInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Query/HistoricalInfo', - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoRequest.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Pool(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Query/Pool', - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolRequest.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Query/Params', - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py deleted file mode 100644 index 0183a45a..00000000 --- a/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py +++ /dev/null @@ -1,222 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/staking/v1beta1/staking.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 -from pyinjective.proto.tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/staking/v1beta1/staking.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\x1a\x1ctendermint/types/types.proto\x1a\x1btendermint/abci/types.proto\"\x93\x01\n\x0eHistoricalInfo\x12;\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06header\x12\x44\n\x06valset\x18\x02 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06valset\"\x96\x02\n\x0f\x43ommissionRates\x12J\n\x04rate\x18\x01 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x04rate\x12Q\n\x08max_rate\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x07maxRate\x12^\n\x0fmax_change_rate\x18\x03 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\rmaxChangeRate:\x04\xe8\xa0\x1f\x01\"\xc1\x01\n\nCommission\x12\x61\n\x10\x63ommission_rates\x18\x01 \x01(\x0b\x32\'.cosmos.staking.v1beta1.CommissionRatesB\r\xc8\xde\x1f\x00\xd0\xde\x1f\x01\xa8\xe7\xb0*\x01R\x0f\x63ommissionRates\x12J\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nupdateTime:\x04\xe8\xa0\x1f\x01\"\xa8\x01\n\x0b\x44\x65scription\x12\x18\n\x07moniker\x18\x01 \x01(\tR\x07moniker\x12\x1a\n\x08identity\x18\x02 \x01(\tR\x08identity\x12\x18\n\x07website\x18\x03 \x01(\tR\x07website\x12)\n\x10security_contact\x18\x04 \x01(\tR\x0fsecurityContact\x12\x18\n\x07\x64\x65tails\x18\x05 \x01(\tR\x07\x64\x65tails:\x04\xe8\xa0\x1f\x01\"\x8a\x07\n\tValidator\x12\x43\n\x10operator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0foperatorAddress\x12Y\n\x10\x63onsensus_pubkey\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x18\xca\xb4-\x14\x63osmos.crypto.PubKeyR\x0f\x63onsensusPubkey\x12\x16\n\x06jailed\x18\x03 \x01(\x08R\x06jailed\x12:\n\x06status\x18\x04 \x01(\x0e\x32\".cosmos.staking.v1beta1.BondStatusR\x06status\x12\x43\n\x06tokens\x18\x05 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x06tokens\x12\\\n\x10\x64\x65legator_shares\x18\x06 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x0f\x64\x65legatorShares\x12P\n\x0b\x64\x65scription\x18\x07 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12)\n\x10unbonding_height\x18\x08 \x01(\x03R\x0funbondingHeight\x12P\n\x0eunbonding_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\runbondingTime\x12M\n\ncommission\x18\n \x01(\x0b\x32\".cosmos.staking.v1beta1.CommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission\x12[\n\x13min_self_delegation\x18\x0b \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x11minSelfDelegation\x12<\n\x1bunbonding_on_hold_ref_count\x18\x0c \x01(\x03R\x17unbondingOnHoldRefCount\x12#\n\runbonding_ids\x18\r \x03(\x04R\x0cunbondingIds:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"F\n\x0cValAddresses\x12\x36\n\taddresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\taddresses\"\xa9\x01\n\x06\x44VPair\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"J\n\x07\x44VPairs\x12?\n\x05pairs\x18\x01 \x03(\x0b\x32\x1e.cosmos.staking.v1beta1.DVPairB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05pairs\"\x8b\x02\n\nDVVTriplet\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"X\n\x0b\x44VVTriplets\x12I\n\x08triplets\x18\x01 \x03(\x0b\x32\".cosmos.staking.v1beta1.DVVTripletB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08triplets\"\xf8\x01\n\nDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12I\n\x06shares\x18\x03 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x06shares:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8d\x02\n\x13UnbondingDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12U\n\x07\x65ntries\x18\x03 \x03(\x0b\x32\x30.cosmos.staking.v1beta1.UnbondingDelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x9b\x03\n\x18UnbondingDelegationEntry\x12\'\n\x0f\x63reation_height\x18\x01 \x01(\x03R\x0e\x63reationHeight\x12R\n\x0f\x63ompletion_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12T\n\x0finitial_balance\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x0einitialBalance\x12\x45\n\x07\x62\x61lance\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x62\x61lance\x12!\n\x0cunbonding_id\x18\x05 \x01(\x04R\x0bunbondingId\x12<\n\x1bunbonding_on_hold_ref_count\x18\x06 \x01(\x03R\x17unbondingOnHoldRefCount:\x04\xe8\xa0\x1f\x01\"\x9f\x03\n\x11RedelegationEntry\x12\'\n\x0f\x63reation_height\x18\x01 \x01(\x03R\x0e\x63reationHeight\x12R\n\x0f\x63ompletion_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12T\n\x0finitial_balance\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x0einitialBalance\x12P\n\nshares_dst\x18\x04 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\tsharesDst\x12!\n\x0cunbonding_id\x18\x05 \x01(\x04R\x0bunbondingId\x12<\n\x1bunbonding_on_hold_ref_count\x18\x06 \x01(\x03R\x17unbondingOnHoldRefCount:\x04\xe8\xa0\x1f\x01\"\xdd\x02\n\x0cRedelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress\x12N\n\x07\x65ntries\x18\x04 \x03(\x0b\x32).cosmos.staking.v1beta1.RedelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x9c\x03\n\x06Params\x12O\n\x0eunbonding_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\runbondingTime\x12%\n\x0emax_validators\x18\x02 \x01(\rR\rmaxValidators\x12\x1f\n\x0bmax_entries\x18\x03 \x01(\rR\nmaxEntries\x12-\n\x12historical_entries\x18\x04 \x01(\rR\x11historicalEntries\x12\x1d\n\nbond_denom\x18\x05 \x01(\tR\tbondDenom\x12\x84\x01\n\x13min_commission_rate\x18\x06 \x01(\tBT\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xf2\xde\x1f\x1ayaml:\"min_commission_rate\"\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x11minCommissionRate:$\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x1b\x63osmos-sdk/x/staking/Params\"\xa9\x01\n\x12\x44\x65legationResponse\x12M\n\ndelegation\x18\x01 \x01(\x0b\x32\".cosmos.staking.v1beta1.DelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ndelegation\x12>\n\x07\x62\x61lance\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x62\x61lance:\x04\xe8\xa0\x1f\x00\"\xcd\x01\n\x19RedelegationEntryResponse\x12\x63\n\x12redelegation_entry\x18\x01 \x01(\x0b\x32).cosmos.staking.v1beta1.RedelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x11redelegationEntry\x12\x45\n\x07\x62\x61lance\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x62\x61lance:\x04\xe8\xa0\x1f\x01\"\xc9\x01\n\x14RedelegationResponse\x12S\n\x0credelegation\x18\x01 \x01(\x0b\x32$.cosmos.staking.v1beta1.RedelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0credelegation\x12V\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x31.cosmos.staking.v1beta1.RedelegationEntryResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x04\xe8\xa0\x1f\x00\"\xeb\x01\n\x04Pool\x12q\n\x11not_bonded_tokens\x18\x01 \x01(\tBE\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xea\xde\x1f\x11not_bonded_tokens\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0fnotBondedTokens\x12\x66\n\rbonded_tokens\x18\x02 \x01(\tBA\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xea\xde\x1f\rbonded_tokens\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0c\x62ondedTokens:\x08\xe8\xa0\x1f\x01\xf0\xa0\x1f\x01\"Y\n\x10ValidatorUpdates\x12\x45\n\x07updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07updates*\xb6\x01\n\nBondStatus\x12,\n\x17\x42OND_STATUS_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUnspecified\x12&\n\x14\x42OND_STATUS_UNBONDED\x10\x01\x1a\x0c\x8a\x9d \x08Unbonded\x12(\n\x15\x42OND_STATUS_UNBONDING\x10\x02\x1a\r\x8a\x9d \tUnbonding\x12\"\n\x12\x42OND_STATUS_BONDED\x10\x03\x1a\n\x8a\x9d \x06\x42onded\x1a\x04\x88\xa3\x1e\x00*]\n\nInfraction\x12\x1a\n\x16INFRACTION_UNSPECIFIED\x10\x00\x12\x1a\n\x16INFRACTION_DOUBLE_SIGN\x10\x01\x12\x17\n\x13INFRACTION_DOWNTIME\x10\x02\x42\xd2\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x0cStakingProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.staking_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\014StakingProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' - _globals['_BONDSTATUS']._loaded_options = None - _globals['_BONDSTATUS']._serialized_options = b'\210\243\036\000' - _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNSPECIFIED"]._loaded_options = None - _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNSPECIFIED"]._serialized_options = b'\212\235 \013Unspecified' - _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNBONDED"]._loaded_options = None - _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNBONDED"]._serialized_options = b'\212\235 \010Unbonded' - _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNBONDING"]._loaded_options = None - _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNBONDING"]._serialized_options = b'\212\235 \tUnbonding' - _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_BONDED"]._loaded_options = None - _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_BONDED"]._serialized_options = b'\212\235 \006Bonded' - _globals['_HISTORICALINFO'].fields_by_name['header']._loaded_options = None - _globals['_HISTORICALINFO'].fields_by_name['header']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_HISTORICALINFO'].fields_by_name['valset']._loaded_options = None - _globals['_HISTORICALINFO'].fields_by_name['valset']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_COMMISSIONRATES'].fields_by_name['rate']._loaded_options = None - _globals['_COMMISSIONRATES'].fields_by_name['rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_COMMISSIONRATES'].fields_by_name['max_rate']._loaded_options = None - _globals['_COMMISSIONRATES'].fields_by_name['max_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_COMMISSIONRATES'].fields_by_name['max_change_rate']._loaded_options = None - _globals['_COMMISSIONRATES'].fields_by_name['max_change_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_COMMISSIONRATES']._loaded_options = None - _globals['_COMMISSIONRATES']._serialized_options = b'\350\240\037\001' - _globals['_COMMISSION'].fields_by_name['commission_rates']._loaded_options = None - _globals['_COMMISSION'].fields_by_name['commission_rates']._serialized_options = b'\310\336\037\000\320\336\037\001\250\347\260*\001' - _globals['_COMMISSION'].fields_by_name['update_time']._loaded_options = None - _globals['_COMMISSION'].fields_by_name['update_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_COMMISSION']._loaded_options = None - _globals['_COMMISSION']._serialized_options = b'\350\240\037\001' - _globals['_DESCRIPTION']._loaded_options = None - _globals['_DESCRIPTION']._serialized_options = b'\350\240\037\001' - _globals['_VALIDATOR'].fields_by_name['operator_address']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['operator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_VALIDATOR'].fields_by_name['consensus_pubkey']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['consensus_pubkey']._serialized_options = b'\312\264-\024cosmos.crypto.PubKey' - _globals['_VALIDATOR'].fields_by_name['tokens']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['tokens']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_VALIDATOR'].fields_by_name['delegator_shares']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['delegator_shares']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_VALIDATOR'].fields_by_name['description']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['description']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_VALIDATOR'].fields_by_name['unbonding_time']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['unbonding_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_VALIDATOR'].fields_by_name['commission']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_VALIDATOR'].fields_by_name['min_self_delegation']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['min_self_delegation']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_VALIDATOR']._loaded_options = None - _globals['_VALIDATOR']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_VALADDRESSES'].fields_by_name['addresses']._loaded_options = None - _globals['_VALADDRESSES'].fields_by_name['addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DVPAIR'].fields_by_name['delegator_address']._loaded_options = None - _globals['_DVPAIR'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DVPAIR'].fields_by_name['validator_address']._loaded_options = None - _globals['_DVPAIR'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_DVPAIR']._loaded_options = None - _globals['_DVPAIR']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_DVPAIRS'].fields_by_name['pairs']._loaded_options = None - _globals['_DVPAIRS'].fields_by_name['pairs']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_DVVTRIPLET'].fields_by_name['delegator_address']._loaded_options = None - _globals['_DVVTRIPLET'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DVVTRIPLET'].fields_by_name['validator_src_address']._loaded_options = None - _globals['_DVVTRIPLET'].fields_by_name['validator_src_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_DVVTRIPLET'].fields_by_name['validator_dst_address']._loaded_options = None - _globals['_DVVTRIPLET'].fields_by_name['validator_dst_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_DVVTRIPLET']._loaded_options = None - _globals['_DVVTRIPLET']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_DVVTRIPLETS'].fields_by_name['triplets']._loaded_options = None - _globals['_DVVTRIPLETS'].fields_by_name['triplets']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_DELEGATION'].fields_by_name['delegator_address']._loaded_options = None - _globals['_DELEGATION'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DELEGATION'].fields_by_name['validator_address']._loaded_options = None - _globals['_DELEGATION'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_DELEGATION'].fields_by_name['shares']._loaded_options = None - _globals['_DELEGATION'].fields_by_name['shares']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_DELEGATION']._loaded_options = None - _globals['_DELEGATION']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_UNBONDINGDELEGATION'].fields_by_name['delegator_address']._loaded_options = None - _globals['_UNBONDINGDELEGATION'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_UNBONDINGDELEGATION'].fields_by_name['validator_address']._loaded_options = None - _globals['_UNBONDINGDELEGATION'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_UNBONDINGDELEGATION'].fields_by_name['entries']._loaded_options = None - _globals['_UNBONDINGDELEGATION'].fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_UNBONDINGDELEGATION']._loaded_options = None - _globals['_UNBONDINGDELEGATION']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['completion_time']._loaded_options = None - _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['initial_balance']._loaded_options = None - _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['initial_balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['balance']._loaded_options = None - _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_UNBONDINGDELEGATIONENTRY']._loaded_options = None - _globals['_UNBONDINGDELEGATIONENTRY']._serialized_options = b'\350\240\037\001' - _globals['_REDELEGATIONENTRY'].fields_by_name['completion_time']._loaded_options = None - _globals['_REDELEGATIONENTRY'].fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_REDELEGATIONENTRY'].fields_by_name['initial_balance']._loaded_options = None - _globals['_REDELEGATIONENTRY'].fields_by_name['initial_balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_REDELEGATIONENTRY'].fields_by_name['shares_dst']._loaded_options = None - _globals['_REDELEGATIONENTRY'].fields_by_name['shares_dst']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_REDELEGATIONENTRY']._loaded_options = None - _globals['_REDELEGATIONENTRY']._serialized_options = b'\350\240\037\001' - _globals['_REDELEGATION'].fields_by_name['delegator_address']._loaded_options = None - _globals['_REDELEGATION'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_REDELEGATION'].fields_by_name['validator_src_address']._loaded_options = None - _globals['_REDELEGATION'].fields_by_name['validator_src_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_REDELEGATION'].fields_by_name['validator_dst_address']._loaded_options = None - _globals['_REDELEGATION'].fields_by_name['validator_dst_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_REDELEGATION'].fields_by_name['entries']._loaded_options = None - _globals['_REDELEGATION'].fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_REDELEGATION']._loaded_options = None - _globals['_REDELEGATION']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_PARAMS'].fields_by_name['unbonding_time']._loaded_options = None - _globals['_PARAMS'].fields_by_name['unbonding_time']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['min_commission_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['min_commission_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\362\336\037\032yaml:\"min_commission_rate\"\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\033cosmos-sdk/x/staking/Params' - _globals['_DELEGATIONRESPONSE'].fields_by_name['delegation']._loaded_options = None - _globals['_DELEGATIONRESPONSE'].fields_by_name['delegation']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_DELEGATIONRESPONSE'].fields_by_name['balance']._loaded_options = None - _globals['_DELEGATIONRESPONSE'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_DELEGATIONRESPONSE']._loaded_options = None - _globals['_DELEGATIONRESPONSE']._serialized_options = b'\350\240\037\000' - _globals['_REDELEGATIONENTRYRESPONSE'].fields_by_name['redelegation_entry']._loaded_options = None - _globals['_REDELEGATIONENTRYRESPONSE'].fields_by_name['redelegation_entry']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_REDELEGATIONENTRYRESPONSE'].fields_by_name['balance']._loaded_options = None - _globals['_REDELEGATIONENTRYRESPONSE'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_REDELEGATIONENTRYRESPONSE']._loaded_options = None - _globals['_REDELEGATIONENTRYRESPONSE']._serialized_options = b'\350\240\037\001' - _globals['_REDELEGATIONRESPONSE'].fields_by_name['redelegation']._loaded_options = None - _globals['_REDELEGATIONRESPONSE'].fields_by_name['redelegation']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_REDELEGATIONRESPONSE'].fields_by_name['entries']._loaded_options = None - _globals['_REDELEGATIONRESPONSE'].fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_REDELEGATIONRESPONSE']._loaded_options = None - _globals['_REDELEGATIONRESPONSE']._serialized_options = b'\350\240\037\000' - _globals['_POOL'].fields_by_name['not_bonded_tokens']._loaded_options = None - _globals['_POOL'].fields_by_name['not_bonded_tokens']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\352\336\037\021not_bonded_tokens\322\264-\ncosmos.Int\250\347\260*\001' - _globals['_POOL'].fields_by_name['bonded_tokens']._loaded_options = None - _globals['_POOL'].fields_by_name['bonded_tokens']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\352\336\037\rbonded_tokens\322\264-\ncosmos.Int\250\347\260*\001' - _globals['_POOL']._loaded_options = None - _globals['_POOL']._serialized_options = b'\350\240\037\001\360\240\037\001' - _globals['_VALIDATORUPDATES'].fields_by_name['updates']._loaded_options = None - _globals['_VALIDATORUPDATES'].fields_by_name['updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_BONDSTATUS']._serialized_start=5738 - _globals['_BONDSTATUS']._serialized_end=5920 - _globals['_INFRACTION']._serialized_start=5922 - _globals['_INFRACTION']._serialized_end=6015 - _globals['_HISTORICALINFO']._serialized_start=316 - _globals['_HISTORICALINFO']._serialized_end=463 - _globals['_COMMISSIONRATES']._serialized_start=466 - _globals['_COMMISSIONRATES']._serialized_end=744 - _globals['_COMMISSION']._serialized_start=747 - _globals['_COMMISSION']._serialized_end=940 - _globals['_DESCRIPTION']._serialized_start=943 - _globals['_DESCRIPTION']._serialized_end=1111 - _globals['_VALIDATOR']._serialized_start=1114 - _globals['_VALIDATOR']._serialized_end=2020 - _globals['_VALADDRESSES']._serialized_start=2022 - _globals['_VALADDRESSES']._serialized_end=2092 - _globals['_DVPAIR']._serialized_start=2095 - _globals['_DVPAIR']._serialized_end=2264 - _globals['_DVPAIRS']._serialized_start=2266 - _globals['_DVPAIRS']._serialized_end=2340 - _globals['_DVVTRIPLET']._serialized_start=2343 - _globals['_DVVTRIPLET']._serialized_end=2610 - _globals['_DVVTRIPLETS']._serialized_start=2612 - _globals['_DVVTRIPLETS']._serialized_end=2700 - _globals['_DELEGATION']._serialized_start=2703 - _globals['_DELEGATION']._serialized_end=2951 - _globals['_UNBONDINGDELEGATION']._serialized_start=2954 - _globals['_UNBONDINGDELEGATION']._serialized_end=3223 - _globals['_UNBONDINGDELEGATIONENTRY']._serialized_start=3226 - _globals['_UNBONDINGDELEGATIONENTRY']._serialized_end=3637 - _globals['_REDELEGATIONENTRY']._serialized_start=3640 - _globals['_REDELEGATIONENTRY']._serialized_end=4055 - _globals['_REDELEGATION']._serialized_start=4058 - _globals['_REDELEGATION']._serialized_end=4407 - _globals['_PARAMS']._serialized_start=4410 - _globals['_PARAMS']._serialized_end=4822 - _globals['_DELEGATIONRESPONSE']._serialized_start=4825 - _globals['_DELEGATIONRESPONSE']._serialized_end=4994 - _globals['_REDELEGATIONENTRYRESPONSE']._serialized_start=4997 - _globals['_REDELEGATIONENTRYRESPONSE']._serialized_end=5202 - _globals['_REDELEGATIONRESPONSE']._serialized_start=5205 - _globals['_REDELEGATIONRESPONSE']._serialized_end=5406 - _globals['_POOL']._serialized_start=5409 - _globals['_POOL']._serialized_end=5644 - _globals['_VALIDATORUPDATES']._serialized_start=5646 - _globals['_VALIDATORUPDATES']._serialized_end=5735 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/staking/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2.py deleted file mode 100644 index ecf2a7aa..00000000 --- a/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2.py +++ /dev/null @@ -1,137 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/staking/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.staking.v1beta1 import staking_pb2 as cosmos_dot_staking_dot_v1beta1_dot_staking__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/staking/v1beta1/tx.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xfb\x04\n\x12MsgCreateValidator\x12P\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12R\n\ncommission\x18\x02 \x01(\x0b\x32\'.cosmos.staking.v1beta1.CommissionRatesB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission\x12`\n\x13min_self_delegation\x18\x03 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x11minSelfDelegation\x12G\n\x11\x64\x65legator_address\x18\x04 \x01(\tB\x1a\x18\x01\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x05 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x46\n\x06pubkey\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\x18\xca\xb4-\x14\x63osmos.crypto.PubKeyR\x06pubkey\x12:\n\x05value\x18\x07 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05value:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgCreateValidator\"\x1c\n\x1aMsgCreateValidatorResponse\"\xa5\x03\n\x10MsgEditValidator\x12P\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12V\n\x0f\x63ommission_rate\x18\x03 \x01(\tB-\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x0e\x63ommissionRate\x12W\n\x13min_self_delegation\x18\x04 \x01(\tB\'\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x11minSelfDelegation:>\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgEditValidator\"\x1a\n\x18MsgEditValidatorResponse\"\x9d\x02\n\x0bMsgDelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgDelegate\"\x15\n\x13MsgDelegateResponse\"\x89\x03\n\x12MsgBeginRedelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress\x12<\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgBeginRedelegate\"p\n\x1aMsgBeginRedelegateResponse\x12R\n\x0f\x63ompletion_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\"\xa1\x02\n\rMsgUndelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x18\x63osmos-sdk/MsgUndelegate\"\xa9\x01\n\x15MsgUndelegateResponse\x12R\n\x0f\x63ompletion_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12<\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\"\xe8\x02\n\x1cMsgCancelUnbondingDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\x12\'\n\x0f\x63reation_height\x18\x04 \x01(\x03R\x0e\x63reationHeight:J\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\'cosmos-sdk/MsgCancelUnbondingDelegation\"&\n$MsgCancelUnbondingDelegationResponse\"\xc5\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x41\n\x06params\x18\x02 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$cosmos-sdk/x/staking/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\x9d\x06\n\x03Msg\x12q\n\x0f\x43reateValidator\x12*.cosmos.staking.v1beta1.MsgCreateValidator\x1a\x32.cosmos.staking.v1beta1.MsgCreateValidatorResponse\x12k\n\rEditValidator\x12(.cosmos.staking.v1beta1.MsgEditValidator\x1a\x30.cosmos.staking.v1beta1.MsgEditValidatorResponse\x12\\\n\x08\x44\x65legate\x12#.cosmos.staking.v1beta1.MsgDelegate\x1a+.cosmos.staking.v1beta1.MsgDelegateResponse\x12q\n\x0f\x42\x65ginRedelegate\x12*.cosmos.staking.v1beta1.MsgBeginRedelegate\x1a\x32.cosmos.staking.v1beta1.MsgBeginRedelegateResponse\x12\x62\n\nUndelegate\x12%.cosmos.staking.v1beta1.MsgUndelegate\x1a-.cosmos.staking.v1beta1.MsgUndelegateResponse\x12\x8f\x01\n\x19\x43\x61ncelUnbondingDelegation\x12\x34.cosmos.staking.v1beta1.MsgCancelUnbondingDelegation\x1a<.cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse\x12h\n\x0cUpdateParams\x12\'.cosmos.staking.v1beta1.MsgUpdateParams\x1a/.cosmos.staking.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xcd\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x07TxProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\007TxProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' - _globals['_MSGCREATEVALIDATOR'].fields_by_name['description']._loaded_options = None - _globals['_MSGCREATEVALIDATOR'].fields_by_name['description']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGCREATEVALIDATOR'].fields_by_name['commission']._loaded_options = None - _globals['_MSGCREATEVALIDATOR'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGCREATEVALIDATOR'].fields_by_name['min_self_delegation']._loaded_options = None - _globals['_MSGCREATEVALIDATOR'].fields_by_name['min_self_delegation']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001' - _globals['_MSGCREATEVALIDATOR'].fields_by_name['delegator_address']._loaded_options = None - _globals['_MSGCREATEVALIDATOR'].fields_by_name['delegator_address']._serialized_options = b'\030\001\322\264-\024cosmos.AddressString' - _globals['_MSGCREATEVALIDATOR'].fields_by_name['validator_address']._loaded_options = None - _globals['_MSGCREATEVALIDATOR'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGCREATEVALIDATOR'].fields_by_name['pubkey']._loaded_options = None - _globals['_MSGCREATEVALIDATOR'].fields_by_name['pubkey']._serialized_options = b'\312\264-\024cosmos.crypto.PubKey' - _globals['_MSGCREATEVALIDATOR'].fields_by_name['value']._loaded_options = None - _globals['_MSGCREATEVALIDATOR'].fields_by_name['value']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGCREATEVALIDATOR']._loaded_options = None - _globals['_MSGCREATEVALIDATOR']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*\035cosmos-sdk/MsgCreateValidator' - _globals['_MSGEDITVALIDATOR'].fields_by_name['description']._loaded_options = None - _globals['_MSGEDITVALIDATOR'].fields_by_name['description']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGEDITVALIDATOR'].fields_by_name['validator_address']._loaded_options = None - _globals['_MSGEDITVALIDATOR'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGEDITVALIDATOR'].fields_by_name['commission_rate']._loaded_options = None - _globals['_MSGEDITVALIDATOR'].fields_by_name['commission_rate']._serialized_options = b'\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_MSGEDITVALIDATOR'].fields_by_name['min_self_delegation']._loaded_options = None - _globals['_MSGEDITVALIDATOR'].fields_by_name['min_self_delegation']._serialized_options = b'\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_MSGEDITVALIDATOR']._loaded_options = None - _globals['_MSGEDITVALIDATOR']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*\033cosmos-sdk/MsgEditValidator' - _globals['_MSGDELEGATE'].fields_by_name['delegator_address']._loaded_options = None - _globals['_MSGDELEGATE'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGDELEGATE'].fields_by_name['validator_address']._loaded_options = None - _globals['_MSGDELEGATE'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGDELEGATE'].fields_by_name['amount']._loaded_options = None - _globals['_MSGDELEGATE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGDELEGATE']._loaded_options = None - _globals['_MSGDELEGATE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\026cosmos-sdk/MsgDelegate' - _globals['_MSGBEGINREDELEGATE'].fields_by_name['delegator_address']._loaded_options = None - _globals['_MSGBEGINREDELEGATE'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGBEGINREDELEGATE'].fields_by_name['validator_src_address']._loaded_options = None - _globals['_MSGBEGINREDELEGATE'].fields_by_name['validator_src_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGBEGINREDELEGATE'].fields_by_name['validator_dst_address']._loaded_options = None - _globals['_MSGBEGINREDELEGATE'].fields_by_name['validator_dst_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGBEGINREDELEGATE'].fields_by_name['amount']._loaded_options = None - _globals['_MSGBEGINREDELEGATE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGBEGINREDELEGATE']._loaded_options = None - _globals['_MSGBEGINREDELEGATE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\035cosmos-sdk/MsgBeginRedelegate' - _globals['_MSGBEGINREDELEGATERESPONSE'].fields_by_name['completion_time']._loaded_options = None - _globals['_MSGBEGINREDELEGATERESPONSE'].fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_MSGUNDELEGATE'].fields_by_name['delegator_address']._loaded_options = None - _globals['_MSGUNDELEGATE'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUNDELEGATE'].fields_by_name['validator_address']._loaded_options = None - _globals['_MSGUNDELEGATE'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGUNDELEGATE'].fields_by_name['amount']._loaded_options = None - _globals['_MSGUNDELEGATE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUNDELEGATE']._loaded_options = None - _globals['_MSGUNDELEGATE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\030cosmos-sdk/MsgUndelegate' - _globals['_MSGUNDELEGATERESPONSE'].fields_by_name['completion_time']._loaded_options = None - _globals['_MSGUNDELEGATERESPONSE'].fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_MSGUNDELEGATERESPONSE'].fields_by_name['amount']._loaded_options = None - _globals['_MSGUNDELEGATERESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['delegator_address']._loaded_options = None - _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['validator_address']._loaded_options = None - _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['amount']._loaded_options = None - _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGCANCELUNBONDINGDELEGATION']._loaded_options = None - _globals['_MSGCANCELUNBONDINGDELEGATION']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\'cosmos-sdk/MsgCancelUnbondingDelegation' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*$cosmos-sdk/x/staking/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGCREATEVALIDATOR']._serialized_start=283 - _globals['_MSGCREATEVALIDATOR']._serialized_end=918 - _globals['_MSGCREATEVALIDATORRESPONSE']._serialized_start=920 - _globals['_MSGCREATEVALIDATORRESPONSE']._serialized_end=948 - _globals['_MSGEDITVALIDATOR']._serialized_start=951 - _globals['_MSGEDITVALIDATOR']._serialized_end=1372 - _globals['_MSGEDITVALIDATORRESPONSE']._serialized_start=1374 - _globals['_MSGEDITVALIDATORRESPONSE']._serialized_end=1400 - _globals['_MSGDELEGATE']._serialized_start=1403 - _globals['_MSGDELEGATE']._serialized_end=1688 - _globals['_MSGDELEGATERESPONSE']._serialized_start=1690 - _globals['_MSGDELEGATERESPONSE']._serialized_end=1711 - _globals['_MSGBEGINREDELEGATE']._serialized_start=1714 - _globals['_MSGBEGINREDELEGATE']._serialized_end=2107 - _globals['_MSGBEGINREDELEGATERESPONSE']._serialized_start=2109 - _globals['_MSGBEGINREDELEGATERESPONSE']._serialized_end=2221 - _globals['_MSGUNDELEGATE']._serialized_start=2224 - _globals['_MSGUNDELEGATE']._serialized_end=2513 - _globals['_MSGUNDELEGATERESPONSE']._serialized_start=2516 - _globals['_MSGUNDELEGATERESPONSE']._serialized_end=2685 - _globals['_MSGCANCELUNBONDINGDELEGATION']._serialized_start=2688 - _globals['_MSGCANCELUNBONDINGDELEGATION']._serialized_end=3048 - _globals['_MSGCANCELUNBONDINGDELEGATIONRESPONSE']._serialized_start=3050 - _globals['_MSGCANCELUNBONDINGDELEGATIONRESPONSE']._serialized_end=3088 - _globals['_MSGUPDATEPARAMS']._serialized_start=3091 - _globals['_MSGUPDATEPARAMS']._serialized_end=3288 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=3290 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=3315 - _globals['_MSG']._serialized_start=3318 - _globals['_MSG']._serialized_end=4115 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index f4113b4b..00000000 --- a/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,353 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.staking.v1beta1 import tx_pb2 as cosmos_dot_staking_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the staking Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateValidator = channel.unary_unary( - '/cosmos.staking.v1beta1.Msg/CreateValidator', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidator.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidatorResponse.FromString, - _registered_method=True) - self.EditValidator = channel.unary_unary( - '/cosmos.staking.v1beta1.Msg/EditValidator', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidator.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidatorResponse.FromString, - _registered_method=True) - self.Delegate = channel.unary_unary( - '/cosmos.staking.v1beta1.Msg/Delegate', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegate.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegateResponse.FromString, - _registered_method=True) - self.BeginRedelegate = channel.unary_unary( - '/cosmos.staking.v1beta1.Msg/BeginRedelegate', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegate.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegateResponse.FromString, - _registered_method=True) - self.Undelegate = channel.unary_unary( - '/cosmos.staking.v1beta1.Msg/Undelegate', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegate.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegateResponse.FromString, - _registered_method=True) - self.CancelUnbondingDelegation = channel.unary_unary( - '/cosmos.staking.v1beta1.Msg/CancelUnbondingDelegation', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegation.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegationResponse.FromString, - _registered_method=True) - self.UpdateParams = channel.unary_unary( - '/cosmos.staking.v1beta1.Msg/UpdateParams', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the staking Msg service. - """ - - def CreateValidator(self, request, context): - """CreateValidator defines a method for creating a new validator. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def EditValidator(self, request, context): - """EditValidator defines a method for editing an existing validator. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Delegate(self, request, context): - """Delegate defines a method for performing a delegation of coins - from a delegator to a validator. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BeginRedelegate(self, request, context): - """BeginRedelegate defines a method for performing a redelegation - of coins from a delegator and source validator to a destination validator. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Undelegate(self, request, context): - """Undelegate defines a method for performing an undelegation from a - delegate and a validator. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CancelUnbondingDelegation(self, request, context): - """CancelUnbondingDelegation defines a method for performing canceling the unbonding delegation - and delegate back to previous validator. - - Since: cosmos-sdk 0.46 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """UpdateParams defines an operation for updating the x/staking module - parameters. - Since: cosmos-sdk 0.47 - """ - 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 = { - 'CreateValidator': grpc.unary_unary_rpc_method_handler( - servicer.CreateValidator, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidator.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidatorResponse.SerializeToString, - ), - 'EditValidator': grpc.unary_unary_rpc_method_handler( - servicer.EditValidator, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidator.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidatorResponse.SerializeToString, - ), - 'Delegate': grpc.unary_unary_rpc_method_handler( - servicer.Delegate, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegate.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegateResponse.SerializeToString, - ), - 'BeginRedelegate': grpc.unary_unary_rpc_method_handler( - servicer.BeginRedelegate, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegate.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegateResponse.SerializeToString, - ), - 'Undelegate': grpc.unary_unary_rpc_method_handler( - servicer.Undelegate, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegate.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegateResponse.SerializeToString, - ), - 'CancelUnbondingDelegation': grpc.unary_unary_rpc_method_handler( - servicer.CancelUnbondingDelegation, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegation.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegationResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.staking.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.staking.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the staking Msg service. - """ - - @staticmethod - def CreateValidator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Msg/CreateValidator', - cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidator.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidatorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def EditValidator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Msg/EditValidator', - cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidator.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidatorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Delegate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Msg/Delegate', - cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegate.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BeginRedelegate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Msg/BeginRedelegate', - cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegate.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Undelegate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Msg/Undelegate', - cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegate.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CancelUnbondingDelegation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Msg/CancelUnbondingDelegation', - cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegation.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.staking.v1beta1.Msg/UpdateParams', - cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2.py b/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2.py deleted file mode 100644 index 38edb1c1..00000000 --- a/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/store/internal/kv/v1beta1/kv.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)cosmos/store/internal/kv/v1beta1/kv.proto\x12 cosmos.store.internal.kv.v1beta1\x1a\x14gogoproto/gogo.proto\"K\n\x05Pairs\x12\x42\n\x05pairs\x18\x01 \x03(\x0b\x32&.cosmos.store.internal.kv.v1beta1.PairB\x04\xc8\xde\x1f\x00R\x05pairs\".\n\x04Pair\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05valueB\xf4\x01\n$com.cosmos.store.internal.kv.v1beta1B\x07KvProtoP\x01Z\x1e\x63osmossdk.io/store/internal/kv\xa2\x02\x04\x43SIK\xaa\x02 Cosmos.Store.Internal.Kv.V1beta1\xca\x02 Cosmos\\Store\\Internal\\Kv\\V1beta1\xe2\x02,Cosmos\\Store\\Internal\\Kv\\V1beta1\\GPBMetadata\xea\x02$Cosmos::Store::Internal::Kv::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.internal.kv.v1beta1.kv_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n$com.cosmos.store.internal.kv.v1beta1B\007KvProtoP\001Z\036cosmossdk.io/store/internal/kv\242\002\004CSIK\252\002 Cosmos.Store.Internal.Kv.V1beta1\312\002 Cosmos\\Store\\Internal\\Kv\\V1beta1\342\002,Cosmos\\Store\\Internal\\Kv\\V1beta1\\GPBMetadata\352\002$Cosmos::Store::Internal::Kv::V1beta1' - _globals['_PAIRS'].fields_by_name['pairs']._loaded_options = None - _globals['_PAIRS'].fields_by_name['pairs']._serialized_options = b'\310\336\037\000' - _globals['_PAIRS']._serialized_start=101 - _globals['_PAIRS']._serialized_end=176 - _globals['_PAIR']._serialized_start=178 - _globals['_PAIR']._serialized_end=224 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2_grpc.py b/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/store/snapshots/v1/snapshot_pb2.py b/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2.py deleted file mode 100644 index 82ec32df..00000000 --- a/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2.py +++ /dev/null @@ -1,44 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/store/snapshots/v1/snapshot.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(cosmos/store/snapshots/v1/snapshot.proto\x12\x19\x63osmos.store.snapshots.v1\x1a\x14gogoproto/gogo.proto\"\xad\x01\n\x08Snapshot\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x16\n\x06\x63hunks\x18\x03 \x01(\rR\x06\x63hunks\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x45\n\x08metadata\x18\x05 \x01(\x0b\x32#.cosmos.store.snapshots.v1.MetadataB\x04\xc8\xde\x1f\x00R\x08metadata\"-\n\x08Metadata\x12!\n\x0c\x63hunk_hashes\x18\x01 \x03(\x0cR\x0b\x63hunkHashes\"\xdf\x02\n\x0cSnapshotItem\x12\x44\n\x05store\x18\x01 \x01(\x0b\x32,.cosmos.store.snapshots.v1.SnapshotStoreItemH\x00R\x05store\x12K\n\x04iavl\x18\x02 \x01(\x0b\x32+.cosmos.store.snapshots.v1.SnapshotIAVLItemB\x08\xe2\xde\x1f\x04IAVLH\x00R\x04iavl\x12P\n\textension\x18\x03 \x01(\x0b\x32\x30.cosmos.store.snapshots.v1.SnapshotExtensionMetaH\x00R\textension\x12\x62\n\x11\x65xtension_payload\x18\x04 \x01(\x0b\x32\x33.cosmos.store.snapshots.v1.SnapshotExtensionPayloadH\x00R\x10\x65xtensionPayloadB\x06\n\x04item\"\'\n\x11SnapshotStoreItem\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"l\n\x10SnapshotIAVLItem\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12\x18\n\x07version\x18\x03 \x01(\x03R\x07version\x12\x16\n\x06height\x18\x04 \x01(\x05R\x06height\"C\n\x15SnapshotExtensionMeta\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\"4\n\x18SnapshotExtensionPayload\x12\x18\n\x07payload\x18\x01 \x01(\x0cR\x07payloadB\xd9\x01\n\x1d\x63om.cosmos.store.snapshots.v1B\rSnapshotProtoP\x01Z\"cosmossdk.io/store/snapshots/types\xa2\x02\x03\x43SS\xaa\x02\x19\x43osmos.Store.Snapshots.V1\xca\x02\x19\x43osmos\\Store\\Snapshots\\V1\xe2\x02%Cosmos\\Store\\Snapshots\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Store::Snapshots::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.snapshots.v1.snapshot_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.store.snapshots.v1B\rSnapshotProtoP\001Z\"cosmossdk.io/store/snapshots/types\242\002\003CSS\252\002\031Cosmos.Store.Snapshots.V1\312\002\031Cosmos\\Store\\Snapshots\\V1\342\002%Cosmos\\Store\\Snapshots\\V1\\GPBMetadata\352\002\034Cosmos::Store::Snapshots::V1' - _globals['_SNAPSHOT'].fields_by_name['metadata']._loaded_options = None - _globals['_SNAPSHOT'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000' - _globals['_SNAPSHOTITEM'].fields_by_name['iavl']._loaded_options = None - _globals['_SNAPSHOTITEM'].fields_by_name['iavl']._serialized_options = b'\342\336\037\004IAVL' - _globals['_SNAPSHOT']._serialized_start=94 - _globals['_SNAPSHOT']._serialized_end=267 - _globals['_METADATA']._serialized_start=269 - _globals['_METADATA']._serialized_end=314 - _globals['_SNAPSHOTITEM']._serialized_start=317 - _globals['_SNAPSHOTITEM']._serialized_end=668 - _globals['_SNAPSHOTSTOREITEM']._serialized_start=670 - _globals['_SNAPSHOTSTOREITEM']._serialized_end=709 - _globals['_SNAPSHOTIAVLITEM']._serialized_start=711 - _globals['_SNAPSHOTIAVLITEM']._serialized_end=819 - _globals['_SNAPSHOTEXTENSIONMETA']._serialized_start=821 - _globals['_SNAPSHOTEXTENSIONMETA']._serialized_end=888 - _globals['_SNAPSHOTEXTENSIONPAYLOAD']._serialized_start=890 - _globals['_SNAPSHOTEXTENSIONPAYLOAD']._serialized_end=942 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2_grpc.py b/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/store/streaming/abci/grpc_pb2.py b/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2.py deleted file mode 100644 index c1d7ec5c..00000000 --- a/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2.py +++ /dev/null @@ -1,37 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/store/streaming/abci/grpc.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 -from pyinjective.proto.cosmos.store.v1beta1 import listening_pb2 as cosmos_dot_store_dot_v1beta1_dot_listening__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/store/streaming/abci/grpc.proto\x12\x1b\x63osmos.store.streaming.abci\x1a\x1btendermint/abci/types.proto\x1a$cosmos/store/v1beta1/listening.proto\"\x8f\x01\n\x1aListenFinalizeBlockRequest\x12\x37\n\x03req\x18\x01 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockR\x03req\x12\x38\n\x03res\x18\x02 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockR\x03res\"\x1d\n\x1bListenFinalizeBlockResponse\"\xad\x01\n\x13ListenCommitRequest\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x03R\x0b\x62lockHeight\x12\x31\n\x03res\x18\x02 \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitR\x03res\x12@\n\nchange_set\x18\x03 \x03(\x0b\x32!.cosmos.store.v1beta1.StoreKVPairR\tchangeSet\"\x16\n\x14ListenCommitResponse2\x95\x02\n\x13\x41\x42\x43IListenerService\x12\x88\x01\n\x13ListenFinalizeBlock\x12\x37.cosmos.store.streaming.abci.ListenFinalizeBlockRequest\x1a\x38.cosmos.store.streaming.abci.ListenFinalizeBlockResponse\x12s\n\x0cListenCommit\x12\x30.cosmos.store.streaming.abci.ListenCommitRequest\x1a\x31.cosmos.store.streaming.abci.ListenCommitResponseB\xdf\x01\n\x1f\x63om.cosmos.store.streaming.abciB\tGrpcProtoP\x01Z!cosmossdk.io/store/streaming/abci\xa2\x02\x04\x43SSA\xaa\x02\x1b\x43osmos.Store.Streaming.Abci\xca\x02\x1b\x43osmos\\Store\\Streaming\\Abci\xe2\x02\'Cosmos\\Store\\Streaming\\Abci\\GPBMetadata\xea\x02\x1e\x43osmos::Store::Streaming::Abcib\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.streaming.abci.grpc_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.store.streaming.abciB\tGrpcProtoP\001Z!cosmossdk.io/store/streaming/abci\242\002\004CSSA\252\002\033Cosmos.Store.Streaming.Abci\312\002\033Cosmos\\Store\\Streaming\\Abci\342\002\'Cosmos\\Store\\Streaming\\Abci\\GPBMetadata\352\002\036Cosmos::Store::Streaming::Abci' - _globals['_LISTENFINALIZEBLOCKREQUEST']._serialized_start=139 - _globals['_LISTENFINALIZEBLOCKREQUEST']._serialized_end=282 - _globals['_LISTENFINALIZEBLOCKRESPONSE']._serialized_start=284 - _globals['_LISTENFINALIZEBLOCKRESPONSE']._serialized_end=313 - _globals['_LISTENCOMMITREQUEST']._serialized_start=316 - _globals['_LISTENCOMMITREQUEST']._serialized_end=489 - _globals['_LISTENCOMMITRESPONSE']._serialized_start=491 - _globals['_LISTENCOMMITRESPONSE']._serialized_end=513 - _globals['_ABCILISTENERSERVICE']._serialized_start=516 - _globals['_ABCILISTENERSERVICE']._serialized_end=793 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2_grpc.py b/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2_grpc.py deleted file mode 100644 index da99ee14..00000000 --- a/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2_grpc.py +++ /dev/null @@ -1,125 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.store.streaming.abci import grpc_pb2 as cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2 - - -class ABCIListenerServiceStub(object): - """ABCIListenerService is the service for the BaseApp ABCIListener interface - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.ListenFinalizeBlock = channel.unary_unary( - '/cosmos.store.streaming.abci.ABCIListenerService/ListenFinalizeBlock', - request_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockRequest.SerializeToString, - response_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockResponse.FromString, - _registered_method=True) - self.ListenCommit = channel.unary_unary( - '/cosmos.store.streaming.abci.ABCIListenerService/ListenCommit', - request_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitRequest.SerializeToString, - response_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitResponse.FromString, - _registered_method=True) - - -class ABCIListenerServiceServicer(object): - """ABCIListenerService is the service for the BaseApp ABCIListener interface - """ - - def ListenFinalizeBlock(self, request, context): - """ListenFinalizeBlock is the corresponding endpoint for ABCIListener.ListenEndBlock - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListenCommit(self, request, context): - """ListenCommit is the corresponding endpoint for ABCIListener.ListenCommit - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_ABCIListenerServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'ListenFinalizeBlock': grpc.unary_unary_rpc_method_handler( - servicer.ListenFinalizeBlock, - request_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockRequest.FromString, - response_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockResponse.SerializeToString, - ), - 'ListenCommit': grpc.unary_unary_rpc_method_handler( - servicer.ListenCommit, - request_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitRequest.FromString, - response_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.store.streaming.abci.ABCIListenerService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.store.streaming.abci.ABCIListenerService', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class ABCIListenerService(object): - """ABCIListenerService is the service for the BaseApp ABCIListener interface - """ - - @staticmethod - def ListenFinalizeBlock(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.store.streaming.abci.ABCIListenerService/ListenFinalizeBlock', - cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockRequest.SerializeToString, - cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ListenCommit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.store.streaming.abci.ABCIListenerService/ListenCommit', - cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitRequest.SerializeToString, - cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2.py b/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2.py deleted file mode 100644 index d6612ccd..00000000 --- a/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2.py +++ /dev/null @@ -1,41 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/store/v1beta1/commit_info.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/store/v1beta1/commit_info.proto\x12\x14\x63osmos.store.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb2\x01\n\nCommitInfo\x12\x18\n\x07version\x18\x01 \x01(\x03R\x07version\x12\x46\n\x0bstore_infos\x18\x02 \x03(\x0b\x32\x1f.cosmos.store.v1beta1.StoreInfoB\x04\xc8\xde\x1f\x00R\nstoreInfos\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\"b\n\tStoreInfo\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x41\n\tcommit_id\x18\x02 \x01(\x0b\x32\x1e.cosmos.store.v1beta1.CommitIDB\x04\xc8\xde\x1f\x00R\x08\x63ommitId\">\n\x08\x43ommitID\x12\x18\n\x07version\x18\x01 \x01(\x03R\x07version\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash:\x04\x98\xa0\x1f\x00\x42\xb7\x01\n\x18\x63om.cosmos.store.v1beta1B\x0f\x43ommitInfoProtoP\x01Z\x18\x63osmossdk.io/store/types\xa2\x02\x03\x43SX\xaa\x02\x14\x43osmos.Store.V1beta1\xca\x02\x14\x43osmos\\Store\\V1beta1\xe2\x02 Cosmos\\Store\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Store::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.v1beta1.commit_info_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.store.v1beta1B\017CommitInfoProtoP\001Z\030cosmossdk.io/store/types\242\002\003CSX\252\002\024Cosmos.Store.V1beta1\312\002\024Cosmos\\Store\\V1beta1\342\002 Cosmos\\Store\\V1beta1\\GPBMetadata\352\002\026Cosmos::Store::V1beta1' - _globals['_COMMITINFO'].fields_by_name['store_infos']._loaded_options = None - _globals['_COMMITINFO'].fields_by_name['store_infos']._serialized_options = b'\310\336\037\000' - _globals['_COMMITINFO'].fields_by_name['timestamp']._loaded_options = None - _globals['_COMMITINFO'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_STOREINFO'].fields_by_name['commit_id']._loaded_options = None - _globals['_STOREINFO'].fields_by_name['commit_id']._serialized_options = b'\310\336\037\000' - _globals['_COMMITID']._loaded_options = None - _globals['_COMMITID']._serialized_options = b'\230\240\037\000' - _globals['_COMMITINFO']._serialized_start=120 - _globals['_COMMITINFO']._serialized_end=298 - _globals['_STOREINFO']._serialized_start=300 - _globals['_STOREINFO']._serialized_end=398 - _globals['_COMMITID']._serialized_start=400 - _globals['_COMMITID']._serialized_end=462 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2_grpc.py b/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/store/v1beta1/listening_pb2.py b/pyinjective/proto/cosmos/store/v1beta1/listening_pb2.py deleted file mode 100644 index 2234f381..00000000 --- a/pyinjective/proto/cosmos/store/v1beta1/listening_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/store/v1beta1/listening.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/store/v1beta1/listening.proto\x12\x14\x63osmos.store.v1beta1\x1a\x1btendermint/abci/types.proto\"j\n\x0bStoreKVPair\x12\x1b\n\tstore_key\x18\x01 \x01(\tR\x08storeKey\x12\x16\n\x06\x64\x65lete\x18\x02 \x01(\x08R\x06\x64\x65lete\x12\x10\n\x03key\x18\x03 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x04 \x01(\x0cR\x05value\"\xb4\x02\n\rBlockMetadata\x12H\n\x0fresponse_commit\x18\x06 \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitR\x0eresponseCommit\x12[\n\x16request_finalize_block\x18\x07 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockR\x14requestFinalizeBlock\x12^\n\x17response_finalize_block\x18\x08 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockR\x15responseFinalizeBlockJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\x42\xb6\x01\n\x18\x63om.cosmos.store.v1beta1B\x0eListeningProtoP\x01Z\x18\x63osmossdk.io/store/types\xa2\x02\x03\x43SX\xaa\x02\x14\x43osmos.Store.V1beta1\xca\x02\x14\x43osmos\\Store\\V1beta1\xe2\x02 Cosmos\\Store\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Store::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.v1beta1.listening_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.store.v1beta1B\016ListeningProtoP\001Z\030cosmossdk.io/store/types\242\002\003CSX\252\002\024Cosmos.Store.V1beta1\312\002\024Cosmos\\Store\\V1beta1\342\002 Cosmos\\Store\\V1beta1\\GPBMetadata\352\002\026Cosmos::Store::V1beta1' - _globals['_STOREKVPAIR']._serialized_start=91 - _globals['_STOREKVPAIR']._serialized_end=197 - _globals['_BLOCKMETADATA']._serialized_start=200 - _globals['_BLOCKMETADATA']._serialized_end=508 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/v1beta1/listening_pb2_grpc.py b/pyinjective/proto/cosmos/store/v1beta1/listening_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/store/v1beta1/listening_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/tx/config/v1/config_pb2.py b/pyinjective/proto/cosmos/tx/config/v1/config_pb2.py deleted file mode 100644 index c255f1db..00000000 --- a/pyinjective/proto/cosmos/tx/config/v1/config_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/tx/config/v1/config.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/tx/config/v1/config.proto\x12\x13\x63osmos.tx.config.v1\x1a cosmos/app/v1alpha1/module.proto\"\x90\x01\n\x06\x43onfig\x12*\n\x11skip_ante_handler\x18\x01 \x01(\x08R\x0fskipAnteHandler\x12*\n\x11skip_post_handler\x18\x02 \x01(\x08R\x0fskipPostHandler:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/auth/txB\x95\x01\n\x17\x63om.cosmos.tx.config.v1B\x0b\x43onfigProtoP\x01\xa2\x02\x03\x43TC\xaa\x02\x13\x43osmos.Tx.Config.V1\xca\x02\x13\x43osmos\\Tx\\Config\\V1\xe2\x02\x1f\x43osmos\\Tx\\Config\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Tx::Config::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.config.v1.config_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.tx.config.v1B\013ConfigProtoP\001\242\002\003CTC\252\002\023Cosmos.Tx.Config.V1\312\002\023Cosmos\\Tx\\Config\\V1\342\002\037Cosmos\\Tx\\Config\\V1\\GPBMetadata\352\002\026Cosmos::Tx::Config::V1' - _globals['_CONFIG']._loaded_options = None - _globals['_CONFIG']._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/auth/tx' - _globals['_CONFIG']._serialized_start=92 - _globals['_CONFIG']._serialized_end=236 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/config/v1/config_pb2_grpc.py b/pyinjective/proto/cosmos/tx/config/v1/config_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/tx/config/v1/config_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/tx/signing/v1beta1/signing_pb2.py b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py deleted file mode 100644 index cf473ea7..00000000 --- a/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/tx/signing/v1beta1/signing.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.crypto.multisig.v1beta1 import multisig_pb2 as cosmos_dot_crypto_dot_multisig_dot_v1beta1_dot_multisig__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/tx/signing/v1beta1/signing.proto\x12\x19\x63osmos.tx.signing.v1beta1\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x19google/protobuf/any.proto\"f\n\x14SignatureDescriptors\x12N\n\nsignatures\x18\x01 \x03(\x0b\x32..cosmos.tx.signing.v1beta1.SignatureDescriptorR\nsignatures\"\xf5\x04\n\x13SignatureDescriptor\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12G\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataR\x04\x64\x61ta\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x1a\xc3\x03\n\x04\x44\x61ta\x12T\n\x06single\x18\x01 \x01(\x0b\x32:.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.SingleH\x00R\x06single\x12Q\n\x05multi\x18\x02 \x01(\x0b\x32\x39.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.MultiH\x00R\x05multi\x1a_\n\x06Single\x12\x37\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x12\x1c\n\tsignature\x18\x02 \x01(\x0cR\tsignature\x1a\xa9\x01\n\x05Multi\x12K\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArrayR\x08\x62itarray\x12S\n\nsignatures\x18\x02 \x03(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataR\nsignaturesB\x05\n\x03sum*\xbf\x01\n\x08SignMode\x12\x19\n\x15SIGN_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10SIGN_MODE_DIRECT\x10\x01\x12\x15\n\x11SIGN_MODE_TEXTUAL\x10\x02\x12\x18\n\x14SIGN_MODE_DIRECT_AUX\x10\x03\x12\x1f\n\x1bSIGN_MODE_LEGACY_AMINO_JSON\x10\x7f\x12\x18\n\x13SIGN_MODE_EIP712_V2\x10\x80\x01\x12\x16\n\x11SIGN_MODE_EIP_191\x10\xbf\x01\x42\xe3\x01\n\x1d\x63om.cosmos.tx.signing.v1beta1B\x0cSigningProtoP\x01Z-github.com/cosmos/cosmos-sdk/types/tx/signing\xa2\x02\x03\x43TS\xaa\x02\x19\x43osmos.Tx.Signing.V1beta1\xca\x02\x19\x43osmos\\Tx\\Signing\\V1beta1\xe2\x02%Cosmos\\Tx\\Signing\\V1beta1\\GPBMetadata\xea\x02\x1c\x43osmos::Tx::Signing::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.signing.v1beta1.signing_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.tx.signing.v1beta1B\014SigningProtoP\001Z-github.com/cosmos/cosmos-sdk/types/tx/signing\242\002\003CTS\252\002\031Cosmos.Tx.Signing.V1beta1\312\002\031Cosmos\\Tx\\Signing\\V1beta1\342\002%Cosmos\\Tx\\Signing\\V1beta1\\GPBMetadata\352\002\034Cosmos::Tx::Signing::V1beta1' - _globals['_SIGNMODE']._serialized_start=881 - _globals['_SIGNMODE']._serialized_end=1072 - _globals['_SIGNATUREDESCRIPTORS']._serialized_start=144 - _globals['_SIGNATUREDESCRIPTORS']._serialized_end=246 - _globals['_SIGNATUREDESCRIPTOR']._serialized_start=249 - _globals['_SIGNATUREDESCRIPTOR']._serialized_end=878 - _globals['_SIGNATUREDESCRIPTOR_DATA']._serialized_start=427 - _globals['_SIGNATUREDESCRIPTOR_DATA']._serialized_end=878 - _globals['_SIGNATUREDESCRIPTOR_DATA_SINGLE']._serialized_start=604 - _globals['_SIGNATUREDESCRIPTOR_DATA_SINGLE']._serialized_end=699 - _globals['_SIGNATUREDESCRIPTOR_DATA_MULTI']._serialized_start=702 - _globals['_SIGNATUREDESCRIPTOR_DATA_MULTI']._serialized_end=871 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2_grpc.py b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/tx/v1beta1/service_pb2.py b/pyinjective/proto/cosmos/tx/v1beta1/service_pb2.py deleted file mode 100644 index e2512d9e..00000000 --- a/pyinjective/proto/cosmos/tx/v1beta1/service_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/tx/v1beta1/service.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.base.abci.v1beta1 import abci_pb2 as cosmos_dot_base_dot_abci_dot_v1beta1_dot_abci__pb2 -from pyinjective.proto.cosmos.tx.v1beta1 import tx_pb2 as cosmos_dot_tx_dot_v1beta1_dot_tx__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.tendermint.types import block_pb2 as tendermint_dot_types_dot_block__pb2 -from pyinjective.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/tx/v1beta1/service.proto\x12\x11\x63osmos.tx.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a#cosmos/base/abci/v1beta1/abci.proto\x1a\x1a\x63osmos/tx/v1beta1/tx.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1ctendermint/types/block.proto\x1a\x1ctendermint/types/types.proto\"\xf3\x01\n\x12GetTxsEventRequest\x12\x1a\n\x06\x65vents\x18\x01 \x03(\tB\x02\x18\x01R\x06\x65vents\x12J\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestB\x02\x18\x01R\npagination\x12\x35\n\x08order_by\x18\x03 \x01(\x0e\x32\x1a.cosmos.tx.v1beta1.OrderByR\x07orderBy\x12\x12\n\x04page\x18\x04 \x01(\x04R\x04page\x12\x14\n\x05limit\x18\x05 \x01(\x04R\x05limit\x12\x14\n\x05query\x18\x06 \x01(\tR\x05query\"\xea\x01\n\x13GetTxsEventResponse\x12\'\n\x03txs\x18\x01 \x03(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x03txs\x12G\n\x0ctx_responses\x18\x02 \x03(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\x0btxResponses\x12K\n\npagination\x18\x03 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseB\x02\x18\x01R\npagination\x12\x14\n\x05total\x18\x04 \x01(\x04R\x05total\"e\n\x12\x42roadcastTxRequest\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes\x12\x34\n\x04mode\x18\x02 \x01(\x0e\x32 .cosmos.tx.v1beta1.BroadcastModeR\x04mode\"\\\n\x13\x42roadcastTxResponse\x12\x45\n\x0btx_response\x18\x01 \x01(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\ntxResponse\"W\n\x0fSimulateRequest\x12)\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxB\x02\x18\x01R\x02tx\x12\x19\n\x08tx_bytes\x18\x02 \x01(\x0cR\x07txBytes\"\x8a\x01\n\x10SimulateResponse\x12<\n\x08gas_info\x18\x01 \x01(\x0b\x32!.cosmos.base.abci.v1beta1.GasInfoR\x07gasInfo\x12\x38\n\x06result\x18\x02 \x01(\x0b\x32 .cosmos.base.abci.v1beta1.ResultR\x06result\"\"\n\x0cGetTxRequest\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\"}\n\rGetTxResponse\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx\x12\x45\n\x0btx_response\x18\x02 \x01(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\ntxResponse\"x\n\x16GetBlockWithTxsRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xf0\x01\n\x17GetBlockWithTxsResponse\x12\'\n\x03txs\x18\x01 \x03(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x03txs\x12\x34\n\x08\x62lock_id\x18\x02 \x01(\x0b\x32\x19.tendermint.types.BlockIDR\x07\x62lockId\x12-\n\x05\x62lock\x18\x03 \x01(\x0b\x32\x17.tendermint.types.BlockR\x05\x62lock\x12G\n\npagination\x18\x04 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\",\n\x0fTxDecodeRequest\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes\"9\n\x10TxDecodeResponse\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx\"8\n\x0fTxEncodeRequest\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx\"-\n\x10TxEncodeResponse\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes\"5\n\x14TxEncodeAminoRequest\x12\x1d\n\namino_json\x18\x01 \x01(\tR\taminoJson\":\n\x15TxEncodeAminoResponse\x12!\n\x0c\x61mino_binary\x18\x01 \x01(\x0cR\x0b\x61minoBinary\"9\n\x14TxDecodeAminoRequest\x12!\n\x0c\x61mino_binary\x18\x01 \x01(\x0cR\x0b\x61minoBinary\"6\n\x15TxDecodeAminoResponse\x12\x1d\n\namino_json\x18\x01 \x01(\tR\taminoJson*H\n\x07OrderBy\x12\x18\n\x14ORDER_BY_UNSPECIFIED\x10\x00\x12\x10\n\x0cORDER_BY_ASC\x10\x01\x12\x11\n\rORDER_BY_DESC\x10\x02*\x80\x01\n\rBroadcastMode\x12\x1e\n\x1a\x42ROADCAST_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x14\x42ROADCAST_MODE_BLOCK\x10\x01\x1a\x02\x08\x01\x12\x17\n\x13\x42ROADCAST_MODE_SYNC\x10\x02\x12\x18\n\x14\x42ROADCAST_MODE_ASYNC\x10\x03\x32\xaa\t\n\x07Service\x12{\n\x08Simulate\x12\".cosmos.tx.v1beta1.SimulateRequest\x1a#.cosmos.tx.v1beta1.SimulateResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/cosmos/tx/v1beta1/simulate:\x01*\x12q\n\x05GetTx\x12\x1f.cosmos.tx.v1beta1.GetTxRequest\x1a .cosmos.tx.v1beta1.GetTxResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/tx/v1beta1/txs/{hash}\x12\x7f\n\x0b\x42roadcastTx\x12%.cosmos.tx.v1beta1.BroadcastTxRequest\x1a&.cosmos.tx.v1beta1.BroadcastTxResponse\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/cosmos/tx/v1beta1/txs:\x01*\x12|\n\x0bGetTxsEvent\x12%.cosmos.tx.v1beta1.GetTxsEventRequest\x1a&.cosmos.tx.v1beta1.GetTxsEventResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cosmos/tx/v1beta1/txs\x12\x97\x01\n\x0fGetBlockWithTxs\x12).cosmos.tx.v1beta1.GetBlockWithTxsRequest\x1a*.cosmos.tx.v1beta1.GetBlockWithTxsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/cosmos/tx/v1beta1/txs/block/{height}\x12y\n\x08TxDecode\x12\".cosmos.tx.v1beta1.TxDecodeRequest\x1a#.cosmos.tx.v1beta1.TxDecodeResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/cosmos/tx/v1beta1/decode:\x01*\x12y\n\x08TxEncode\x12\".cosmos.tx.v1beta1.TxEncodeRequest\x1a#.cosmos.tx.v1beta1.TxEncodeResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/cosmos/tx/v1beta1/encode:\x01*\x12\x8e\x01\n\rTxEncodeAmino\x12\'.cosmos.tx.v1beta1.TxEncodeAminoRequest\x1a(.cosmos.tx.v1beta1.TxEncodeAminoResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/cosmos/tx/v1beta1/encode/amino:\x01*\x12\x8e\x01\n\rTxDecodeAmino\x12\'.cosmos.tx.v1beta1.TxDecodeAminoRequest\x1a(.cosmos.tx.v1beta1.TxDecodeAminoResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/cosmos/tx/v1beta1/decode/amino:\x01*B\xb2\x01\n\x15\x63om.cosmos.tx.v1beta1B\x0cServiceProtoP\x01Z%github.com/cosmos/cosmos-sdk/types/tx\xa2\x02\x03\x43TX\xaa\x02\x11\x43osmos.Tx.V1beta1\xca\x02\x11\x43osmos\\Tx\\V1beta1\xe2\x02\x1d\x43osmos\\Tx\\V1beta1\\GPBMetadata\xea\x02\x13\x43osmos::Tx::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.v1beta1.service_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.tx.v1beta1B\014ServiceProtoP\001Z%github.com/cosmos/cosmos-sdk/types/tx\242\002\003CTX\252\002\021Cosmos.Tx.V1beta1\312\002\021Cosmos\\Tx\\V1beta1\342\002\035Cosmos\\Tx\\V1beta1\\GPBMetadata\352\002\023Cosmos::Tx::V1beta1' - _globals['_BROADCASTMODE'].values_by_name["BROADCAST_MODE_BLOCK"]._loaded_options = None - _globals['_BROADCASTMODE'].values_by_name["BROADCAST_MODE_BLOCK"]._serialized_options = b'\010\001' - _globals['_GETTXSEVENTREQUEST'].fields_by_name['events']._loaded_options = None - _globals['_GETTXSEVENTREQUEST'].fields_by_name['events']._serialized_options = b'\030\001' - _globals['_GETTXSEVENTREQUEST'].fields_by_name['pagination']._loaded_options = None - _globals['_GETTXSEVENTREQUEST'].fields_by_name['pagination']._serialized_options = b'\030\001' - _globals['_GETTXSEVENTRESPONSE'].fields_by_name['pagination']._loaded_options = None - _globals['_GETTXSEVENTRESPONSE'].fields_by_name['pagination']._serialized_options = b'\030\001' - _globals['_SIMULATEREQUEST'].fields_by_name['tx']._loaded_options = None - _globals['_SIMULATEREQUEST'].fields_by_name['tx']._serialized_options = b'\030\001' - _globals['_SERVICE'].methods_by_name['Simulate']._loaded_options = None - _globals['_SERVICE'].methods_by_name['Simulate']._serialized_options = b'\202\323\344\223\002 \"\033/cosmos/tx/v1beta1/simulate:\001*' - _globals['_SERVICE'].methods_by_name['GetTx']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetTx']._serialized_options = b'\202\323\344\223\002\037\022\035/cosmos/tx/v1beta1/txs/{hash}' - _globals['_SERVICE'].methods_by_name['BroadcastTx']._loaded_options = None - _globals['_SERVICE'].methods_by_name['BroadcastTx']._serialized_options = b'\202\323\344\223\002\033\"\026/cosmos/tx/v1beta1/txs:\001*' - _globals['_SERVICE'].methods_by_name['GetTxsEvent']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetTxsEvent']._serialized_options = b'\202\323\344\223\002\030\022\026/cosmos/tx/v1beta1/txs' - _globals['_SERVICE'].methods_by_name['GetBlockWithTxs']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetBlockWithTxs']._serialized_options = b'\202\323\344\223\002\'\022%/cosmos/tx/v1beta1/txs/block/{height}' - _globals['_SERVICE'].methods_by_name['TxDecode']._loaded_options = None - _globals['_SERVICE'].methods_by_name['TxDecode']._serialized_options = b'\202\323\344\223\002\036\"\031/cosmos/tx/v1beta1/decode:\001*' - _globals['_SERVICE'].methods_by_name['TxEncode']._loaded_options = None - _globals['_SERVICE'].methods_by_name['TxEncode']._serialized_options = b'\202\323\344\223\002\036\"\031/cosmos/tx/v1beta1/encode:\001*' - _globals['_SERVICE'].methods_by_name['TxEncodeAmino']._loaded_options = None - _globals['_SERVICE'].methods_by_name['TxEncodeAmino']._serialized_options = b'\202\323\344\223\002$\"\037/cosmos/tx/v1beta1/encode/amino:\001*' - _globals['_SERVICE'].methods_by_name['TxDecodeAmino']._loaded_options = None - _globals['_SERVICE'].methods_by_name['TxDecodeAmino']._serialized_options = b'\202\323\344\223\002$\"\037/cosmos/tx/v1beta1/decode/amino:\001*' - _globals['_ORDERBY']._serialized_start=2131 - _globals['_ORDERBY']._serialized_end=2203 - _globals['_BROADCASTMODE']._serialized_start=2206 - _globals['_BROADCASTMODE']._serialized_end=2334 - _globals['_GETTXSEVENTREQUEST']._serialized_start=254 - _globals['_GETTXSEVENTREQUEST']._serialized_end=497 - _globals['_GETTXSEVENTRESPONSE']._serialized_start=500 - _globals['_GETTXSEVENTRESPONSE']._serialized_end=734 - _globals['_BROADCASTTXREQUEST']._serialized_start=736 - _globals['_BROADCASTTXREQUEST']._serialized_end=837 - _globals['_BROADCASTTXRESPONSE']._serialized_start=839 - _globals['_BROADCASTTXRESPONSE']._serialized_end=931 - _globals['_SIMULATEREQUEST']._serialized_start=933 - _globals['_SIMULATEREQUEST']._serialized_end=1020 - _globals['_SIMULATERESPONSE']._serialized_start=1023 - _globals['_SIMULATERESPONSE']._serialized_end=1161 - _globals['_GETTXREQUEST']._serialized_start=1163 - _globals['_GETTXREQUEST']._serialized_end=1197 - _globals['_GETTXRESPONSE']._serialized_start=1199 - _globals['_GETTXRESPONSE']._serialized_end=1324 - _globals['_GETBLOCKWITHTXSREQUEST']._serialized_start=1326 - _globals['_GETBLOCKWITHTXSREQUEST']._serialized_end=1446 - _globals['_GETBLOCKWITHTXSRESPONSE']._serialized_start=1449 - _globals['_GETBLOCKWITHTXSRESPONSE']._serialized_end=1689 - _globals['_TXDECODEREQUEST']._serialized_start=1691 - _globals['_TXDECODEREQUEST']._serialized_end=1735 - _globals['_TXDECODERESPONSE']._serialized_start=1737 - _globals['_TXDECODERESPONSE']._serialized_end=1794 - _globals['_TXENCODEREQUEST']._serialized_start=1796 - _globals['_TXENCODEREQUEST']._serialized_end=1852 - _globals['_TXENCODERESPONSE']._serialized_start=1854 - _globals['_TXENCODERESPONSE']._serialized_end=1899 - _globals['_TXENCODEAMINOREQUEST']._serialized_start=1901 - _globals['_TXENCODEAMINOREQUEST']._serialized_end=1954 - _globals['_TXENCODEAMINORESPONSE']._serialized_start=1956 - _globals['_TXENCODEAMINORESPONSE']._serialized_end=2014 - _globals['_TXDECODEAMINOREQUEST']._serialized_start=2016 - _globals['_TXDECODEAMINOREQUEST']._serialized_end=2073 - _globals['_TXDECODEAMINORESPONSE']._serialized_start=2075 - _globals['_TXDECODEAMINORESPONSE']._serialized_end=2129 - _globals['_SERVICE']._serialized_start=2337 - _globals['_SERVICE']._serialized_end=3531 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/v1beta1/service_pb2_grpc.py b/pyinjective/proto/cosmos/tx/v1beta1/service_pb2_grpc.py deleted file mode 100644 index df830953..00000000 --- a/pyinjective/proto/cosmos/tx/v1beta1/service_pb2_grpc.py +++ /dev/null @@ -1,443 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.tx.v1beta1 import service_pb2 as cosmos_dot_tx_dot_v1beta1_dot_service__pb2 - - -class ServiceStub(object): - """Service defines a gRPC service for interacting with transactions. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Simulate = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/Simulate', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateResponse.FromString, - _registered_method=True) - self.GetTx = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/GetTx', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxResponse.FromString, - _registered_method=True) - self.BroadcastTx = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/BroadcastTx', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxResponse.FromString, - _registered_method=True) - self.GetTxsEvent = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/GetTxsEvent', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventResponse.FromString, - _registered_method=True) - self.GetBlockWithTxs = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/GetBlockWithTxs', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsResponse.FromString, - _registered_method=True) - self.TxDecode = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/TxDecode', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeResponse.FromString, - _registered_method=True) - self.TxEncode = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/TxEncode', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeResponse.FromString, - _registered_method=True) - self.TxEncodeAmino = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/TxEncodeAmino', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoResponse.FromString, - _registered_method=True) - self.TxDecodeAmino = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/TxDecodeAmino', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoResponse.FromString, - _registered_method=True) - - -class ServiceServicer(object): - """Service defines a gRPC service for interacting with transactions. - """ - - def Simulate(self, request, context): - """Simulate simulates executing a transaction for estimating gas usage. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetTx(self, request, context): - """GetTx fetches a tx by hash. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BroadcastTx(self, request, context): - """BroadcastTx broadcast transaction. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetTxsEvent(self, request, context): - """GetTxsEvent fetches txs by event. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBlockWithTxs(self, request, context): - """GetBlockWithTxs fetches a block with decoded txs. - - Since: cosmos-sdk 0.45.2 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TxDecode(self, request, context): - """TxDecode decodes the transaction. - - Since: cosmos-sdk 0.47 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TxEncode(self, request, context): - """TxEncode encodes the transaction. - - Since: cosmos-sdk 0.47 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TxEncodeAmino(self, request, context): - """TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes. - - Since: cosmos-sdk 0.47 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TxDecodeAmino(self, request, context): - """TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON. - - Since: cosmos-sdk 0.47 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_ServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Simulate': grpc.unary_unary_rpc_method_handler( - servicer.Simulate, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateResponse.SerializeToString, - ), - 'GetTx': grpc.unary_unary_rpc_method_handler( - servicer.GetTx, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxResponse.SerializeToString, - ), - 'BroadcastTx': grpc.unary_unary_rpc_method_handler( - servicer.BroadcastTx, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxResponse.SerializeToString, - ), - 'GetTxsEvent': grpc.unary_unary_rpc_method_handler( - servicer.GetTxsEvent, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventResponse.SerializeToString, - ), - 'GetBlockWithTxs': grpc.unary_unary_rpc_method_handler( - servicer.GetBlockWithTxs, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsResponse.SerializeToString, - ), - 'TxDecode': grpc.unary_unary_rpc_method_handler( - servicer.TxDecode, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeResponse.SerializeToString, - ), - 'TxEncode': grpc.unary_unary_rpc_method_handler( - servicer.TxEncode, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeResponse.SerializeToString, - ), - 'TxEncodeAmino': grpc.unary_unary_rpc_method_handler( - servicer.TxEncodeAmino, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoResponse.SerializeToString, - ), - 'TxDecodeAmino': grpc.unary_unary_rpc_method_handler( - servicer.TxDecodeAmino, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.tx.v1beta1.Service', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.tx.v1beta1.Service', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Service(object): - """Service defines a gRPC service for interacting with transactions. - """ - - @staticmethod - def Simulate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.tx.v1beta1.Service/Simulate', - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateRequest.SerializeToString, - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetTx(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.tx.v1beta1.Service/GetTx', - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxRequest.SerializeToString, - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BroadcastTx(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.tx.v1beta1.Service/BroadcastTx', - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxRequest.SerializeToString, - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetTxsEvent(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.tx.v1beta1.Service/GetTxsEvent', - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventRequest.SerializeToString, - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetBlockWithTxs(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.tx.v1beta1.Service/GetBlockWithTxs', - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsRequest.SerializeToString, - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def TxDecode(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.tx.v1beta1.Service/TxDecode', - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeRequest.SerializeToString, - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def TxEncode(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.tx.v1beta1.Service/TxEncode', - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeRequest.SerializeToString, - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def TxEncodeAmino(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.tx.v1beta1.Service/TxEncodeAmino', - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoRequest.SerializeToString, - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def TxDecodeAmino(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.tx.v1beta1.Service/TxDecodeAmino', - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoRequest.SerializeToString, - cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py deleted file mode 100644 index 00abd56e..00000000 --- a/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py +++ /dev/null @@ -1,76 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/tx/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.crypto.multisig.v1beta1 import multisig_pb2 as cosmos_dot_crypto_dot_multisig_dot_v1beta1_dot_multisig__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.tx.signing.v1beta1 import signing_pb2 as cosmos_dot_tx_dot_signing_dot_v1beta1_dot_signing__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63osmos/tx/v1beta1/tx.proto\x12\x11\x63osmos.tx.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\'cosmos/tx/signing/v1beta1/signing.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x8d\x01\n\x02Tx\x12-\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x19.cosmos.tx.v1beta1.TxBodyR\x04\x62ody\x12\x38\n\tauth_info\x18\x02 \x01(\x0b\x32\x1b.cosmos.tx.v1beta1.AuthInfoR\x08\x61uthInfo\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures\"n\n\x05TxRaw\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12&\n\x0f\x61uth_info_bytes\x18\x02 \x01(\x0cR\rauthInfoBytes\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures\"\x92\x01\n\x07SignDoc\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12&\n\x0f\x61uth_info_bytes\x18\x02 \x01(\x0cR\rauthInfoBytes\x12\x19\n\x08\x63hain_id\x18\x03 \x01(\tR\x07\x63hainId\x12%\n\x0e\x61\x63\x63ount_number\x18\x04 \x01(\x04R\raccountNumber\"\xf2\x01\n\x10SignDocDirectAux\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12\x33\n\npublic_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12\x19\n\x08\x63hain_id\x18\x03 \x01(\tR\x07\x63hainId\x12%\n\x0e\x61\x63\x63ount_number\x18\x04 \x01(\x04R\raccountNumber\x12\x1a\n\x08sequence\x18\x05 \x01(\x04R\x08sequence\x12,\n\x03tip\x18\x06 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.TipB\x02\x18\x01R\x03tip\"\x95\x02\n\x06TxBody\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x12\n\x04memo\x18\x02 \x01(\tR\x04memo\x12%\n\x0etimeout_height\x18\x03 \x01(\x04R\rtimeoutHeight\x12\x42\n\x11\x65xtension_options\x18\xff\x07 \x03(\x0b\x32\x14.google.protobuf.AnyR\x10\x65xtensionOptions\x12Z\n\x1enon_critical_extension_options\x18\xff\x0f \x03(\x0b\x32\x14.google.protobuf.AnyR\x1bnonCriticalExtensionOptions\"\xa4\x01\n\x08\x41uthInfo\x12@\n\x0csigner_infos\x18\x01 \x03(\x0b\x32\x1d.cosmos.tx.v1beta1.SignerInfoR\x0bsignerInfos\x12(\n\x03\x66\x65\x65\x18\x02 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.FeeR\x03\x66\x65\x65\x12,\n\x03tip\x18\x03 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.TipB\x02\x18\x01R\x03tip\"\x97\x01\n\nSignerInfo\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12\x38\n\tmode_info\x18\x02 \x01(\x0b\x32\x1b.cosmos.tx.v1beta1.ModeInfoR\x08modeInfo\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\"\xe0\x02\n\x08ModeInfo\x12<\n\x06single\x18\x01 \x01(\x0b\x32\".cosmos.tx.v1beta1.ModeInfo.SingleH\x00R\x06single\x12\x39\n\x05multi\x18\x02 \x01(\x0b\x32!.cosmos.tx.v1beta1.ModeInfo.MultiH\x00R\x05multi\x1a\x41\n\x06Single\x12\x37\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x1a\x90\x01\n\x05Multi\x12K\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArrayR\x08\x62itarray\x12:\n\nmode_infos\x18\x02 \x03(\x0b\x32\x1b.cosmos.tx.v1beta1.ModeInfoR\tmodeInfosB\x05\n\x03sum\"\x81\x02\n\x03\x46\x65\x65\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x1b\n\tgas_limit\x18\x02 \x01(\x04R\x08gasLimit\x12.\n\x05payer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05payer\x12\x32\n\x07granter\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\"\xb6\x01\n\x03Tip\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x30\n\x06tipper\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06tipper:\x02\x18\x01\"\xce\x01\n\rAuxSignerData\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12>\n\x08sign_doc\x18\x02 \x01(\x0b\x32#.cosmos.tx.v1beta1.SignDocDirectAuxR\x07signDoc\x12\x37\n\x04mode\x18\x03 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x12\x10\n\x03sig\x18\x04 \x01(\x0cR\x03sigB\xad\x01\n\x15\x63om.cosmos.tx.v1beta1B\x07TxProtoP\x01Z%github.com/cosmos/cosmos-sdk/types/tx\xa2\x02\x03\x43TX\xaa\x02\x11\x43osmos.Tx.V1beta1\xca\x02\x11\x43osmos\\Tx\\V1beta1\xe2\x02\x1d\x43osmos\\Tx\\V1beta1\\GPBMetadata\xea\x02\x13\x43osmos::Tx::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.tx.v1beta1B\007TxProtoP\001Z%github.com/cosmos/cosmos-sdk/types/tx\242\002\003CTX\252\002\021Cosmos.Tx.V1beta1\312\002\021Cosmos\\Tx\\V1beta1\342\002\035Cosmos\\Tx\\V1beta1\\GPBMetadata\352\002\023Cosmos::Tx::V1beta1' - _globals['_SIGNDOCDIRECTAUX'].fields_by_name['tip']._loaded_options = None - _globals['_SIGNDOCDIRECTAUX'].fields_by_name['tip']._serialized_options = b'\030\001' - _globals['_AUTHINFO'].fields_by_name['tip']._loaded_options = None - _globals['_AUTHINFO'].fields_by_name['tip']._serialized_options = b'\030\001' - _globals['_FEE'].fields_by_name['amount']._loaded_options = None - _globals['_FEE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_FEE'].fields_by_name['payer']._loaded_options = None - _globals['_FEE'].fields_by_name['payer']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_FEE'].fields_by_name['granter']._loaded_options = None - _globals['_FEE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_TIP'].fields_by_name['amount']._loaded_options = None - _globals['_TIP'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_TIP'].fields_by_name['tipper']._loaded_options = None - _globals['_TIP'].fields_by_name['tipper']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_TIP']._loaded_options = None - _globals['_TIP']._serialized_options = b'\030\001' - _globals['_AUXSIGNERDATA'].fields_by_name['address']._loaded_options = None - _globals['_AUXSIGNERDATA'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_TX']._serialized_start=265 - _globals['_TX']._serialized_end=406 - _globals['_TXRAW']._serialized_start=408 - _globals['_TXRAW']._serialized_end=518 - _globals['_SIGNDOC']._serialized_start=521 - _globals['_SIGNDOC']._serialized_end=667 - _globals['_SIGNDOCDIRECTAUX']._serialized_start=670 - _globals['_SIGNDOCDIRECTAUX']._serialized_end=912 - _globals['_TXBODY']._serialized_start=915 - _globals['_TXBODY']._serialized_end=1192 - _globals['_AUTHINFO']._serialized_start=1195 - _globals['_AUTHINFO']._serialized_end=1359 - _globals['_SIGNERINFO']._serialized_start=1362 - _globals['_SIGNERINFO']._serialized_end=1513 - _globals['_MODEINFO']._serialized_start=1516 - _globals['_MODEINFO']._serialized_end=1868 - _globals['_MODEINFO_SINGLE']._serialized_start=1649 - _globals['_MODEINFO_SINGLE']._serialized_end=1714 - _globals['_MODEINFO_MULTI']._serialized_start=1717 - _globals['_MODEINFO_MULTI']._serialized_end=1861 - _globals['_FEE']._serialized_start=1871 - _globals['_FEE']._serialized_end=2128 - _globals['_TIP']._serialized_start=2131 - _globals['_TIP']._serialized_end=2313 - _globals['_AUXSIGNERDATA']._serialized_start=2316 - _globals['_AUXSIGNERDATA']._serialized_end=2522 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/upgrade/module/v1/module_pb2.py b/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2.py deleted file mode 100644 index 5104a264..00000000 --- a/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/upgrade/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/upgrade/module/v1/module.proto\x12\x18\x63osmos.upgrade.module.v1\x1a cosmos/app/v1alpha1/module.proto\"F\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:\x1e\xba\xc0\x96\xda\x01\x18\n\x16\x63osmossdk.io/x/upgradeB\xae\x01\n\x1c\x63om.cosmos.upgrade.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43UM\xaa\x02\x18\x43osmos.Upgrade.Module.V1\xca\x02\x18\x43osmos\\Upgrade\\Module\\V1\xe2\x02$Cosmos\\Upgrade\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Upgrade::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.upgrade.module.v1B\013ModuleProtoP\001\242\002\003CUM\252\002\030Cosmos.Upgrade.Module.V1\312\002\030Cosmos\\Upgrade\\Module\\V1\342\002$Cosmos\\Upgrade\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Upgrade::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\030\n\026cosmossdk.io/x/upgrade' - _globals['_MODULE']._serialized_start=101 - _globals['_MODULE']._serialized_end=171 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/upgrade/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2.py deleted file mode 100644 index bd1e46f1..00000000 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2.py +++ /dev/null @@ -1,63 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/upgrade/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/upgrade/v1beta1/query.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\"\x19\n\x17QueryCurrentPlanRequest\"L\n\x18QueryCurrentPlanResponse\x12\x30\n\x04plan\x18\x01 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanR\x04plan\"-\n\x17QueryAppliedPlanRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"2\n\x18QueryAppliedPlanResponse\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\"I\n\"QueryUpgradedConsensusStateRequest\x12\x1f\n\x0blast_height\x18\x01 \x01(\x03R\nlastHeight:\x02\x18\x01\"i\n#QueryUpgradedConsensusStateResponse\x12\x38\n\x18upgraded_consensus_state\x18\x02 \x01(\x0cR\x16upgradedConsensusState:\x02\x18\x01J\x04\x08\x01\x10\x02\"=\n\x1aQueryModuleVersionsRequest\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName\"m\n\x1bQueryModuleVersionsResponse\x12N\n\x0fmodule_versions\x18\x01 \x03(\x0b\x32%.cosmos.upgrade.v1beta1.ModuleVersionR\x0emoduleVersions\"\x17\n\x15QueryAuthorityRequest\"2\n\x16QueryAuthorityResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress2\xf4\x06\n\x05Query\x12\x9e\x01\n\x0b\x43urrentPlan\x12/.cosmos.upgrade.v1beta1.QueryCurrentPlanRequest\x1a\x30.cosmos.upgrade.v1beta1.QueryCurrentPlanResponse\",\x82\xd3\xe4\x93\x02&\x12$/cosmos/upgrade/v1beta1/current_plan\x12\xa5\x01\n\x0b\x41ppliedPlan\x12/.cosmos.upgrade.v1beta1.QueryAppliedPlanRequest\x1a\x30.cosmos.upgrade.v1beta1.QueryAppliedPlanResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/upgrade/v1beta1/applied_plan/{name}\x12\xdc\x01\n\x16UpgradedConsensusState\x12:.cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest\x1a;.cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse\"I\x88\x02\x01\x82\xd3\xe4\x93\x02@\x12>/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}\x12\xaa\x01\n\x0eModuleVersions\x12\x32.cosmos.upgrade.v1beta1.QueryModuleVersionsRequest\x1a\x33.cosmos.upgrade.v1beta1.QueryModuleVersionsResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/upgrade/v1beta1/module_versions\x12\x95\x01\n\tAuthority\x12-.cosmos.upgrade.v1beta1.QueryAuthorityRequest\x1a..cosmos.upgrade.v1beta1.QueryAuthorityResponse\")\x82\xd3\xe4\x93\x02#\x12!/cosmos/upgrade/v1beta1/authorityB\xc0\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\nQueryProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.upgrade.v1beta1B\nQueryProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1' - _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._loaded_options = None - _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_options = b'\030\001' - _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._loaded_options = None - _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_options = b'\030\001' - _globals['_QUERY'].methods_by_name['CurrentPlan']._loaded_options = None - _globals['_QUERY'].methods_by_name['CurrentPlan']._serialized_options = b'\202\323\344\223\002&\022$/cosmos/upgrade/v1beta1/current_plan' - _globals['_QUERY'].methods_by_name['AppliedPlan']._loaded_options = None - _globals['_QUERY'].methods_by_name['AppliedPlan']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/upgrade/v1beta1/applied_plan/{name}' - _globals['_QUERY'].methods_by_name['UpgradedConsensusState']._loaded_options = None - _globals['_QUERY'].methods_by_name['UpgradedConsensusState']._serialized_options = b'\210\002\001\202\323\344\223\002@\022>/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}' - _globals['_QUERY'].methods_by_name['ModuleVersions']._loaded_options = None - _globals['_QUERY'].methods_by_name['ModuleVersions']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/upgrade/v1beta1/module_versions' - _globals['_QUERY'].methods_by_name['Authority']._loaded_options = None - _globals['_QUERY'].methods_by_name['Authority']._serialized_options = b'\202\323\344\223\002#\022!/cosmos/upgrade/v1beta1/authority' - _globals['_QUERYCURRENTPLANREQUEST']._serialized_start=130 - _globals['_QUERYCURRENTPLANREQUEST']._serialized_end=155 - _globals['_QUERYCURRENTPLANRESPONSE']._serialized_start=157 - _globals['_QUERYCURRENTPLANRESPONSE']._serialized_end=233 - _globals['_QUERYAPPLIEDPLANREQUEST']._serialized_start=235 - _globals['_QUERYAPPLIEDPLANREQUEST']._serialized_end=280 - _globals['_QUERYAPPLIEDPLANRESPONSE']._serialized_start=282 - _globals['_QUERYAPPLIEDPLANRESPONSE']._serialized_end=332 - _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_start=334 - _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_end=407 - _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_start=409 - _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_end=514 - _globals['_QUERYMODULEVERSIONSREQUEST']._serialized_start=516 - _globals['_QUERYMODULEVERSIONSREQUEST']._serialized_end=577 - _globals['_QUERYMODULEVERSIONSRESPONSE']._serialized_start=579 - _globals['_QUERYMODULEVERSIONSRESPONSE']._serialized_end=688 - _globals['_QUERYAUTHORITYREQUEST']._serialized_start=690 - _globals['_QUERYAUTHORITYREQUEST']._serialized_end=713 - _globals['_QUERYAUTHORITYRESPONSE']._serialized_start=715 - _globals['_QUERYAUTHORITYRESPONSE']._serialized_end=765 - _globals['_QUERY']._serialized_start=768 - _globals['_QUERY']._serialized_end=1652 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2_grpc.py deleted file mode 100644 index d5092b8d..00000000 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,266 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.upgrade.v1beta1 import query_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC upgrade querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CurrentPlan = channel.unary_unary( - '/cosmos.upgrade.v1beta1.Query/CurrentPlan', - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanRequest.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanResponse.FromString, - _registered_method=True) - self.AppliedPlan = channel.unary_unary( - '/cosmos.upgrade.v1beta1.Query/AppliedPlan', - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanRequest.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanResponse.FromString, - _registered_method=True) - self.UpgradedConsensusState = channel.unary_unary( - '/cosmos.upgrade.v1beta1.Query/UpgradedConsensusState', - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, - _registered_method=True) - self.ModuleVersions = channel.unary_unary( - '/cosmos.upgrade.v1beta1.Query/ModuleVersions', - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsRequest.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsResponse.FromString, - _registered_method=True) - self.Authority = channel.unary_unary( - '/cosmos.upgrade.v1beta1.Query/Authority', - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityRequest.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC upgrade querier service. - """ - - def CurrentPlan(self, request, context): - """CurrentPlan queries the current upgrade plan. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AppliedPlan(self, request, context): - """AppliedPlan queries a previously applied upgrade plan by its name. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpgradedConsensusState(self, request, context): - """UpgradedConsensusState queries the consensus state that will serve - as a trusted kernel for the next version of this chain. It will only be - stored at the last height of this chain. - UpgradedConsensusState RPC not supported with legacy querier - This rpc is deprecated now that IBC has its own replacement - (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ModuleVersions(self, request, context): - """ModuleVersions queries the list of module versions from state. - - Since: cosmos-sdk 0.43 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Authority(self, request, context): - """Returns the account with authority to conduct upgrades - - Since: cosmos-sdk 0.46 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CurrentPlan': grpc.unary_unary_rpc_method_handler( - servicer.CurrentPlan, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanRequest.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanResponse.SerializeToString, - ), - 'AppliedPlan': grpc.unary_unary_rpc_method_handler( - servicer.AppliedPlan, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanRequest.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanResponse.SerializeToString, - ), - 'UpgradedConsensusState': grpc.unary_unary_rpc_method_handler( - servicer.UpgradedConsensusState, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateRequest.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateResponse.SerializeToString, - ), - 'ModuleVersions': grpc.unary_unary_rpc_method_handler( - servicer.ModuleVersions, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsRequest.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsResponse.SerializeToString, - ), - 'Authority': grpc.unary_unary_rpc_method_handler( - servicer.Authority, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityRequest.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.upgrade.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.upgrade.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC upgrade querier service. - """ - - @staticmethod - def CurrentPlan(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.upgrade.v1beta1.Query/CurrentPlan', - cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanRequest.SerializeToString, - cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AppliedPlan(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.upgrade.v1beta1.Query/AppliedPlan', - cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanRequest.SerializeToString, - cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpgradedConsensusState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.upgrade.v1beta1.Query/UpgradedConsensusState', - cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, - cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ModuleVersions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.upgrade.v1beta1.Query/ModuleVersions', - cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsRequest.SerializeToString, - cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Authority(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.upgrade.v1beta1.Query/Authority', - cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityRequest.SerializeToString, - cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py deleted file mode 100644 index 7fdd9d6e..00000000 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/upgrade/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/upgrade/v1beta1/tx.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xbb\x01\n\x12MsgSoftwareUpgrade\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12;\n\x04plan\x18\x02 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04plan:0\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgSoftwareUpgrade\"\x1c\n\x1aMsgSoftwareUpgradeResponse\"z\n\x10MsgCancelUpgrade\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority:.\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgCancelUpgrade\"\x1a\n\x18MsgCancelUpgradeResponse2\xec\x01\n\x03Msg\x12q\n\x0fSoftwareUpgrade\x12*.cosmos.upgrade.v1beta1.MsgSoftwareUpgrade\x1a\x32.cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse\x12k\n\rCancelUpgrade\x12(.cosmos.upgrade.v1beta1.MsgCancelUpgrade\x1a\x30.cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\x07TxProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.upgrade.v1beta1B\007TxProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1' - _globals['_MSGSOFTWAREUPGRADE'].fields_by_name['authority']._loaded_options = None - _globals['_MSGSOFTWAREUPGRADE'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSOFTWAREUPGRADE'].fields_by_name['plan']._loaded_options = None - _globals['_MSGSOFTWAREUPGRADE'].fields_by_name['plan']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGSOFTWAREUPGRADE']._loaded_options = None - _globals['_MSGSOFTWAREUPGRADE']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\035cosmos-sdk/MsgSoftwareUpgrade' - _globals['_MSGCANCELUPGRADE'].fields_by_name['authority']._loaded_options = None - _globals['_MSGCANCELUPGRADE'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCANCELUPGRADE']._loaded_options = None - _globals['_MSGCANCELUPGRADE']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\033cosmos-sdk/MsgCancelUpgrade' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGSOFTWAREUPGRADE']._serialized_start=191 - _globals['_MSGSOFTWAREUPGRADE']._serialized_end=378 - _globals['_MSGSOFTWAREUPGRADERESPONSE']._serialized_start=380 - _globals['_MSGSOFTWAREUPGRADERESPONSE']._serialized_end=408 - _globals['_MSGCANCELUPGRADE']._serialized_start=410 - _globals['_MSGCANCELUPGRADE']._serialized_end=532 - _globals['_MSGCANCELUPGRADERESPONSE']._serialized_start=534 - _globals['_MSGCANCELUPGRADERESPONSE']._serialized_end=560 - _globals['_MSG']._serialized_start=563 - _globals['_MSG']._serialized_end=799 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index 2a4012ac..00000000 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,130 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.upgrade.v1beta1 import tx_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the upgrade Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.SoftwareUpgrade = channel.unary_unary( - '/cosmos.upgrade.v1beta1.Msg/SoftwareUpgrade', - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgrade.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgradeResponse.FromString, - _registered_method=True) - self.CancelUpgrade = channel.unary_unary( - '/cosmos.upgrade.v1beta1.Msg/CancelUpgrade', - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgrade.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgradeResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the upgrade Msg service. - """ - - def SoftwareUpgrade(self, request, context): - """SoftwareUpgrade is a governance operation for initiating a software upgrade. - - Since: cosmos-sdk 0.46 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CancelUpgrade(self, request, context): - """CancelUpgrade is a governance operation for cancelling a previously - approved software upgrade. - - Since: cosmos-sdk 0.46 - """ - 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 = { - 'SoftwareUpgrade': grpc.unary_unary_rpc_method_handler( - servicer.SoftwareUpgrade, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgrade.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgradeResponse.SerializeToString, - ), - 'CancelUpgrade': grpc.unary_unary_rpc_method_handler( - servicer.CancelUpgrade, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgrade.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgradeResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.upgrade.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.upgrade.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the upgrade Msg service. - """ - - @staticmethod - def SoftwareUpgrade(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.upgrade.v1beta1.Msg/SoftwareUpgrade', - cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgrade.SerializeToString, - cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgradeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CancelUpgrade(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.upgrade.v1beta1.Msg/CancelUpgrade', - cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgrade.SerializeToString, - cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgradeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py b/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py deleted file mode 100644 index 1b9f1627..00000000 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/upgrade/v1beta1/upgrade.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/upgrade/v1beta1/upgrade.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xef\x01\n\x04Plan\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12?\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0f\x18\x01\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12L\n\x15upgraded_client_state\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyB\x02\x18\x01R\x13upgradedClientState:\x18\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0f\x63osmos-sdk/Plan\"\xdb\x01\n\x17SoftwareUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12;\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04plan:K\x18\x01\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\"cosmos-sdk/SoftwareUpgradeProposal\"\xaa\x01\n\x1d\x43\x61ncelSoftwareUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription:Q\x18\x01\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(cosmos-sdk/CancelSoftwareUpgradeProposal\"C\n\rModuleVersion\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07version\x18\x02 \x01(\x04R\x07version:\x04\xe8\xa0\x1f\x01\x42\xc6\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\x0cUpgradeProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.upgrade_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.upgrade.v1beta1B\014UpgradeProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1\310\341\036\000' - _globals['_PLAN'].fields_by_name['time']._loaded_options = None - _globals['_PLAN'].fields_by_name['time']._serialized_options = b'\030\001\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_PLAN'].fields_by_name['upgraded_client_state']._loaded_options = None - _globals['_PLAN'].fields_by_name['upgraded_client_state']._serialized_options = b'\030\001' - _globals['_PLAN']._loaded_options = None - _globals['_PLAN']._serialized_options = b'\350\240\037\001\212\347\260*\017cosmos-sdk/Plan' - _globals['_SOFTWAREUPGRADEPROPOSAL'].fields_by_name['plan']._loaded_options = None - _globals['_SOFTWAREUPGRADEPROPOSAL'].fields_by_name['plan']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_SOFTWAREUPGRADEPROPOSAL']._loaded_options = None - _globals['_SOFTWAREUPGRADEPROPOSAL']._serialized_options = b'\030\001\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\"cosmos-sdk/SoftwareUpgradeProposal' - _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._loaded_options = None - _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._serialized_options = b'\030\001\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(cosmos-sdk/CancelSoftwareUpgradeProposal' - _globals['_MODULEVERSION']._loaded_options = None - _globals['_MODULEVERSION']._serialized_options = b'\350\240\037\001' - _globals['_PLAN']._serialized_start=193 - _globals['_PLAN']._serialized_end=432 - _globals['_SOFTWAREUPGRADEPROPOSAL']._serialized_start=435 - _globals['_SOFTWAREUPGRADEPROPOSAL']._serialized_end=654 - _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._serialized_start=657 - _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._serialized_end=827 - _globals['_MODULEVERSION']._serialized_start=829 - _globals['_MODULEVERSION']._serialized_end=896 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2_grpc.py b/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/vesting/module/v1/module_pb2.py b/pyinjective/proto/cosmos/vesting/module/v1/module_pb2.py deleted file mode 100644 index d1a70ea6..00000000 --- a/pyinjective/proto/cosmos/vesting/module/v1/module_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/vesting/module/v1/module.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/vesting/module/v1/module.proto\x12\x18\x63osmos.vesting.module.v1\x1a cosmos/app/v1alpha1/module.proto\"=\n\x06Module:3\xba\xc0\x96\xda\x01-\n+github.com/cosmos/cosmos-sdk/x/auth/vestingB\xae\x01\n\x1c\x63om.cosmos.vesting.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43VM\xaa\x02\x18\x43osmos.Vesting.Module.V1\xca\x02\x18\x43osmos\\Vesting\\Module\\V1\xe2\x02$Cosmos\\Vesting\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Vesting::Module::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.module.v1.module_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.vesting.module.v1B\013ModuleProtoP\001\242\002\003CVM\252\002\030Cosmos.Vesting.Module.V1\312\002\030Cosmos\\Vesting\\Module\\V1\342\002$Cosmos\\Vesting\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Vesting::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001-\n+github.com/cosmos/cosmos-sdk/x/auth/vesting' - _globals['_MODULE']._serialized_start=101 - _globals['_MODULE']._serialized_end=162 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/vesting/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/vesting/module/v1/module_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/vesting/module/v1/module_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmos/vesting/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2.py deleted file mode 100644 index 0aa7baa2..00000000 --- a/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2.py +++ /dev/null @@ -1,67 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/vesting/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.vesting.v1beta1 import vesting_pb2 as cosmos_dot_vesting_dot_v1beta1_dot_vesting__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/vesting/v1beta1/tx.proto\x12\x16\x63osmos.vesting.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a$cosmos/vesting/v1beta1/vesting.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xfd\x02\n\x17MsgCreateVestingAccount\x12;\n\x0c\x66rom_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0b\x66romAddress\x12\x37\n\nto_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x19\n\x08\x65nd_time\x18\x04 \x01(\x03R\x07\x65ndTime\x12\x18\n\x07\x64\x65layed\x18\x05 \x01(\x08R\x07\x64\x65layed:<\xe8\xa0\x1f\x01\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*\"cosmos-sdk/MsgCreateVestingAccount\"!\n\x1fMsgCreateVestingAccountResponse\"\xcf\x02\n\x1fMsgCreatePermanentLockedAccount\x12:\n\x0c\x66rom_address\x18\x01 \x01(\tB\x17\xf2\xde\x1f\x13yaml:\"from_address\"R\x0b\x66romAddress\x12\x34\n\nto_address\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"to_address\"R\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:?\xe8\xa0\x1f\x01\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*%cosmos-sdk/MsgCreatePermLockedAccount\")\n\'MsgCreatePermanentLockedAccountResponse\"\x97\x02\n\x1fMsgCreatePeriodicVestingAccount\x12!\n\x0c\x66rom_address\x18\x01 \x01(\tR\x0b\x66romAddress\x12\x1d\n\nto_address\x18\x02 \x01(\tR\ttoAddress\x12\x1d\n\nstart_time\x18\x03 \x01(\x03R\tstartTime\x12R\n\x0fvesting_periods\x18\x04 \x03(\x0b\x32\x1e.cosmos.vesting.v1beta1.PeriodB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evestingPeriods:?\xe8\xa0\x1f\x00\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*%cosmos-sdk/MsgCreatePeriodVestAccount\")\n\'MsgCreatePeriodicVestingAccountResponse2\xc5\x03\n\x03Msg\x12\x80\x01\n\x14\x43reateVestingAccount\x12/.cosmos.vesting.v1beta1.MsgCreateVestingAccount\x1a\x37.cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse\x12\x98\x01\n\x1c\x43reatePermanentLockedAccount\x12\x37.cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount\x1a?.cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse\x12\x98\x01\n\x1c\x43reatePeriodicVestingAccount\x12\x37.cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount\x1a?.cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd2\x01\n\x1a\x63om.cosmos.vesting.v1beta1B\x07TxProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\xa2\x02\x03\x43VX\xaa\x02\x16\x43osmos.Vesting.V1beta1\xca\x02\x16\x43osmos\\Vesting\\V1beta1\xe2\x02\"Cosmos\\Vesting\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Vesting::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.vesting.v1beta1B\007TxProtoP\001Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\242\002\003CVX\252\002\026Cosmos.Vesting.V1beta1\312\002\026Cosmos\\Vesting\\V1beta1\342\002\"Cosmos\\Vesting\\V1beta1\\GPBMetadata\352\002\030Cosmos::Vesting::V1beta1' - _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['from_address']._loaded_options = None - _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['from_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['to_address']._loaded_options = None - _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['to_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['amount']._loaded_options = None - _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGCREATEVESTINGACCOUNT']._loaded_options = None - _globals['_MSGCREATEVESTINGACCOUNT']._serialized_options = b'\350\240\037\001\202\347\260*\014from_address\212\347\260*\"cosmos-sdk/MsgCreateVestingAccount' - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['from_address']._loaded_options = None - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['from_address']._serialized_options = b'\362\336\037\023yaml:\"from_address\"' - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['to_address']._loaded_options = None - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['to_address']._serialized_options = b'\362\336\037\021yaml:\"to_address\"' - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['amount']._loaded_options = None - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._loaded_options = None - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._serialized_options = b'\350\240\037\001\202\347\260*\014from_address\212\347\260*%cosmos-sdk/MsgCreatePermLockedAccount' - _globals['_MSGCREATEPERIODICVESTINGACCOUNT'].fields_by_name['vesting_periods']._loaded_options = None - _globals['_MSGCREATEPERIODICVESTINGACCOUNT'].fields_by_name['vesting_periods']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._loaded_options = None - _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._serialized_options = b'\350\240\037\000\202\347\260*\014from_address\212\347\260*%cosmos-sdk/MsgCreatePeriodVestAccount' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGCREATEVESTINGACCOUNT']._serialized_start=223 - _globals['_MSGCREATEVESTINGACCOUNT']._serialized_end=604 - _globals['_MSGCREATEVESTINGACCOUNTRESPONSE']._serialized_start=606 - _globals['_MSGCREATEVESTINGACCOUNTRESPONSE']._serialized_end=639 - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._serialized_start=642 - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._serialized_end=977 - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNTRESPONSE']._serialized_start=979 - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNTRESPONSE']._serialized_end=1020 - _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._serialized_start=1023 - _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._serialized_end=1302 - _globals['_MSGCREATEPERIODICVESTINGACCOUNTRESPONSE']._serialized_start=1304 - _globals['_MSGCREATEPERIODICVESTINGACCOUNTRESPONSE']._serialized_end=1345 - _globals['_MSG']._serialized_start=1348 - _globals['_MSG']._serialized_end=1801 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index 023b77e1..00000000 --- a/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,176 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmos.vesting.v1beta1 import tx_pb2 as cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the bank Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateVestingAccount = channel.unary_unary( - '/cosmos.vesting.v1beta1.Msg/CreateVestingAccount', - request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccount.SerializeToString, - response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccountResponse.FromString, - _registered_method=True) - self.CreatePermanentLockedAccount = channel.unary_unary( - '/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount', - request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccount.SerializeToString, - response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccountResponse.FromString, - _registered_method=True) - self.CreatePeriodicVestingAccount = channel.unary_unary( - '/cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount', - request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccount.SerializeToString, - response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccountResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the bank Msg service. - """ - - def CreateVestingAccount(self, request, context): - """CreateVestingAccount defines a method that enables creating a vesting - account. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreatePermanentLockedAccount(self, request, context): - """CreatePermanentLockedAccount defines a method that enables creating a permanent - locked account. - - Since: cosmos-sdk 0.46 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreatePeriodicVestingAccount(self, request, context): - """CreatePeriodicVestingAccount defines a method that enables creating a - periodic vesting account. - - Since: cosmos-sdk 0.46 - """ - 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 = { - 'CreateVestingAccount': grpc.unary_unary_rpc_method_handler( - servicer.CreateVestingAccount, - request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccount.FromString, - response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccountResponse.SerializeToString, - ), - 'CreatePermanentLockedAccount': grpc.unary_unary_rpc_method_handler( - servicer.CreatePermanentLockedAccount, - request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccount.FromString, - response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccountResponse.SerializeToString, - ), - 'CreatePeriodicVestingAccount': grpc.unary_unary_rpc_method_handler( - servicer.CreatePeriodicVestingAccount, - request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccount.FromString, - response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccountResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.vesting.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.vesting.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the bank Msg service. - """ - - @staticmethod - def CreateVestingAccount(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.vesting.v1beta1.Msg/CreateVestingAccount', - cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccount.SerializeToString, - cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccountResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CreatePermanentLockedAccount(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount', - cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccount.SerializeToString, - cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccountResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CreatePeriodicVestingAccount(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount', - cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccount.SerializeToString, - cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccountResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py b/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py deleted file mode 100644 index 4972c18c..00000000 --- a/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py +++ /dev/null @@ -1,71 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmos/vesting/v1beta1/vesting.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/vesting/v1beta1/vesting.proto\x12\x16\x63osmos.vesting.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xcd\x04\n\x12\x42\x61seVestingAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12\x8c\x01\n\x10original_vesting\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0foriginalVesting\x12\x88\x01\n\x0e\x64\x65legated_free\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\rdelegatedFree\x12\x8e\x01\n\x11\x64\x65legated_vesting\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x10\x64\x65legatedVesting\x12\x19\n\x08\x65nd_time\x18\x05 \x01(\x03R\x07\x65ndTime:&\x88\xa0\x1f\x00\x8a\xe7\xb0*\x1d\x63osmos-sdk/BaseVestingAccount\"\xcb\x01\n\x18\x43ontinuousVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount\x12\x1d\n\nstart_time\x18\x02 \x01(\x03R\tstartTime:,\x88\xa0\x1f\x00\x8a\xe7\xb0*#cosmos-sdk/ContinuousVestingAccount\"\xa6\x01\n\x15\x44\x65layedVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount:)\x88\xa0\x1f\x00\x8a\xe7\xb0* cosmos-sdk/DelayedVestingAccount\"\x9b\x01\n\x06Period\x12\x16\n\x06length\x18\x01 \x01(\x03R\x06length\x12y\n\x06\x61mount\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\"\x9b\x02\n\x16PeriodicVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount\x12\x1d\n\nstart_time\x18\x02 \x01(\x03R\tstartTime\x12R\n\x0fvesting_periods\x18\x03 \x03(\x0b\x32\x1e.cosmos.vesting.v1beta1.PeriodB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evestingPeriods:*\x88\xa0\x1f\x00\x8a\xe7\xb0*!cosmos-sdk/PeriodicVestingAccount\"\xa8\x01\n\x16PermanentLockedAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount:*\x88\xa0\x1f\x00\x8a\xe7\xb0*!cosmos-sdk/PermanentLockedAccountB\xd7\x01\n\x1a\x63om.cosmos.vesting.v1beta1B\x0cVestingProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\xa2\x02\x03\x43VX\xaa\x02\x16\x43osmos.Vesting.V1beta1\xca\x02\x16\x43osmos\\Vesting\\V1beta1\xe2\x02\"Cosmos\\Vesting\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Vesting::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.v1beta1.vesting_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.vesting.v1beta1B\014VestingProtoP\001Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\242\002\003CVX\252\002\026Cosmos.Vesting.V1beta1\312\002\026Cosmos\\Vesting\\V1beta1\342\002\"Cosmos\\Vesting\\V1beta1\\GPBMetadata\352\002\030Cosmos::Vesting::V1beta1' - _globals['_BASEVESTINGACCOUNT'].fields_by_name['base_account']._loaded_options = None - _globals['_BASEVESTINGACCOUNT'].fields_by_name['base_account']._serialized_options = b'\320\336\037\001' - _globals['_BASEVESTINGACCOUNT'].fields_by_name['original_vesting']._loaded_options = None - _globals['_BASEVESTINGACCOUNT'].fields_by_name['original_vesting']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_BASEVESTINGACCOUNT'].fields_by_name['delegated_free']._loaded_options = None - _globals['_BASEVESTINGACCOUNT'].fields_by_name['delegated_free']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_BASEVESTINGACCOUNT'].fields_by_name['delegated_vesting']._loaded_options = None - _globals['_BASEVESTINGACCOUNT'].fields_by_name['delegated_vesting']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_BASEVESTINGACCOUNT']._loaded_options = None - _globals['_BASEVESTINGACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260*\035cosmos-sdk/BaseVestingAccount' - _globals['_CONTINUOUSVESTINGACCOUNT'].fields_by_name['base_vesting_account']._loaded_options = None - _globals['_CONTINUOUSVESTINGACCOUNT'].fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' - _globals['_CONTINUOUSVESTINGACCOUNT']._loaded_options = None - _globals['_CONTINUOUSVESTINGACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260*#cosmos-sdk/ContinuousVestingAccount' - _globals['_DELAYEDVESTINGACCOUNT'].fields_by_name['base_vesting_account']._loaded_options = None - _globals['_DELAYEDVESTINGACCOUNT'].fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' - _globals['_DELAYEDVESTINGACCOUNT']._loaded_options = None - _globals['_DELAYEDVESTINGACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260* cosmos-sdk/DelayedVestingAccount' - _globals['_PERIOD'].fields_by_name['amount']._loaded_options = None - _globals['_PERIOD'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_PERIODICVESTINGACCOUNT'].fields_by_name['base_vesting_account']._loaded_options = None - _globals['_PERIODICVESTINGACCOUNT'].fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' - _globals['_PERIODICVESTINGACCOUNT'].fields_by_name['vesting_periods']._loaded_options = None - _globals['_PERIODICVESTINGACCOUNT'].fields_by_name['vesting_periods']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PERIODICVESTINGACCOUNT']._loaded_options = None - _globals['_PERIODICVESTINGACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260*!cosmos-sdk/PeriodicVestingAccount' - _globals['_PERMANENTLOCKEDACCOUNT'].fields_by_name['base_vesting_account']._loaded_options = None - _globals['_PERMANENTLOCKEDACCOUNT'].fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' - _globals['_PERMANENTLOCKEDACCOUNT']._loaded_options = None - _globals['_PERMANENTLOCKEDACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260*!cosmos-sdk/PermanentLockedAccount' - _globals['_BASEVESTINGACCOUNT']._serialized_start=170 - _globals['_BASEVESTINGACCOUNT']._serialized_end=759 - _globals['_CONTINUOUSVESTINGACCOUNT']._serialized_start=762 - _globals['_CONTINUOUSVESTINGACCOUNT']._serialized_end=965 - _globals['_DELAYEDVESTINGACCOUNT']._serialized_start=968 - _globals['_DELAYEDVESTINGACCOUNT']._serialized_end=1134 - _globals['_PERIOD']._serialized_start=1137 - _globals['_PERIOD']._serialized_end=1292 - _globals['_PERIODICVESTINGACCOUNT']._serialized_start=1295 - _globals['_PERIODICVESTINGACCOUNT']._serialized_end=1578 - _globals['_PERMANENTLOCKEDACCOUNT']._serialized_start=1581 - _globals['_PERMANENTLOCKEDACCOUNT']._serialized_end=1749 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2_grpc.py b/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmwasm/wasm/v1/authz_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py deleted file mode 100644 index 2f350a08..00000000 --- a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py +++ /dev/null @@ -1,89 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmwasm/wasm/v1/authz.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/authz.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xa0\x01\n\x16StoreCodeAuthorization\x12>\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmwasm.wasm.v1.CodeGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:F\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1bwasm/StoreCodeAuthorization\"\xb4\x01\n\x1e\x43ontractExecutionAuthorization\x12\x42\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization\"\xb4\x01\n\x1e\x43ontractMigrationAuthorization\x12\x42\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization\"\x7f\n\tCodeGrant\x12\x1b\n\tcode_hash\x18\x01 \x01(\x0cR\x08\x63odeHash\x12U\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\"\xf4\x01\n\rContractGrant\x12\x34\n\x08\x63ontract\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12T\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitXR\x05limit\x12W\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterXR\x06\x66ilter\"n\n\rMaxCallsLimit\x12\x1c\n\tremaining\x18\x01 \x01(\x04R\tremaining:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit\"\xcd\x01\n\rMaxFundsLimit\x12{\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x07\x61mounts:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit\"\xf6\x01\n\rCombinedLimit\x12\'\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04R\x0e\x63\x61llsRemaining\x12{\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x07\x61mounts:?\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\"}\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x12\n\x04keys\x18\x01 \x03(\tR\x04keys:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter\"\xa7\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12\x42\n\x08messages\x18\x01 \x03(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x08messages:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB\xb0\x01\n\x14\x63om.cosmwasm.wasm.v1B\nAuthzProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.authz_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\nAuthzProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000' - _globals['_STORECODEAUTHORIZATION'].fields_by_name['grants']._loaded_options = None - _globals['_STORECODEAUTHORIZATION'].fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_STORECODEAUTHORIZATION']._loaded_options = None - _globals['_STORECODEAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\033wasm/StoreCodeAuthorization' - _globals['_CONTRACTEXECUTIONAUTHORIZATION'].fields_by_name['grants']._loaded_options = None - _globals['_CONTRACTEXECUTIONAUTHORIZATION'].fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._loaded_options = None - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractExecutionAuthorization' - _globals['_CONTRACTMIGRATIONAUTHORIZATION'].fields_by_name['grants']._loaded_options = None - _globals['_CONTRACTMIGRATIONAUTHORIZATION'].fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._loaded_options = None - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractMigrationAuthorization' - _globals['_CONTRACTGRANT'].fields_by_name['contract']._loaded_options = None - _globals['_CONTRACTGRANT'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_CONTRACTGRANT'].fields_by_name['limit']._loaded_options = None - _globals['_CONTRACTGRANT'].fields_by_name['limit']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX' - _globals['_CONTRACTGRANT'].fields_by_name['filter']._loaded_options = None - _globals['_CONTRACTGRANT'].fields_by_name['filter']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX' - _globals['_MAXCALLSLIMIT']._loaded_options = None - _globals['_MAXCALLSLIMIT']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/MaxCallsLimit' - _globals['_MAXFUNDSLIMIT'].fields_by_name['amounts']._loaded_options = None - _globals['_MAXFUNDSLIMIT'].fields_by_name['amounts']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MAXFUNDSLIMIT']._loaded_options = None - _globals['_MAXFUNDSLIMIT']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/MaxFundsLimit' - _globals['_COMBINEDLIMIT'].fields_by_name['amounts']._loaded_options = None - _globals['_COMBINEDLIMIT'].fields_by_name['amounts']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_COMBINEDLIMIT']._loaded_options = None - _globals['_COMBINEDLIMIT']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/CombinedLimit' - _globals['_ALLOWALLMESSAGESFILTER']._loaded_options = None - _globals['_ALLOWALLMESSAGESFILTER']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AllowAllMessagesFilter' - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._loaded_options = None - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\036wasm/AcceptedMessageKeysFilter' - _globals['_ACCEPTEDMESSAGESFILTER'].fields_by_name['messages']._loaded_options = None - _globals['_ACCEPTEDMESSAGESFILTER'].fields_by_name['messages']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_ACCEPTEDMESSAGESFILTER']._loaded_options = None - _globals['_ACCEPTEDMESSAGESFILTER']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AcceptedMessagesFilter' - _globals['_STORECODEAUTHORIZATION']._serialized_start=208 - _globals['_STORECODEAUTHORIZATION']._serialized_end=368 - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_start=371 - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_end=551 - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_start=554 - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_end=734 - _globals['_CODEGRANT']._serialized_start=736 - _globals['_CODEGRANT']._serialized_end=863 - _globals['_CONTRACTGRANT']._serialized_start=866 - _globals['_CONTRACTGRANT']._serialized_end=1110 - _globals['_MAXCALLSLIMIT']._serialized_start=1112 - _globals['_MAXCALLSLIMIT']._serialized_end=1222 - _globals['_MAXFUNDSLIMIT']._serialized_start=1225 - _globals['_MAXFUNDSLIMIT']._serialized_end=1430 - _globals['_COMBINEDLIMIT']._serialized_start=1433 - _globals['_COMBINEDLIMIT']._serialized_end=1679 - _globals['_ALLOWALLMESSAGESFILTER']._serialized_start=1681 - _globals['_ALLOWALLMESSAGESFILTER']._serialized_end=1780 - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_start=1782 - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_end=1907 - _globals['_ACCEPTEDMESSAGESFILTER']._serialized_start=1910 - _globals['_ACCEPTEDMESSAGESFILTER']._serialized_end=2077 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmwasm/wasm/v1/genesis_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py deleted file mode 100644 index 535084e8..00000000 --- a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py +++ /dev/null @@ -1,59 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmwasm/wasm/v1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmwasm/wasm/v1/genesis.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xcf\x02\n\x0cGenesisState\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12J\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*\x01R\x05\x63odes\x12Z\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*\x01R\tcontracts\x12Z\n\tsequences\x18\x04 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.SequenceB \xc8\xde\x1f\x00\xea\xde\x1f\x13sequences,omitempty\xa8\xe7\xb0*\x01R\tsequences\"\xa6\x01\n\x04\x43ode\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x42\n\tcode_info\x18\x02 \x01(\x0b\x32\x1a.cosmwasm.wasm.v1.CodeInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x63odeInfo\x12\x1d\n\ncode_bytes\x18\x03 \x01(\x0cR\tcodeBytes\x12\x16\n\x06pinned\x18\x04 \x01(\x08R\x06pinned\"\xd5\x02\n\x08\x43ontract\x12\x43\n\x10\x63ontract_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0f\x63ontractAddress\x12N\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0c\x63ontractInfo\x12I\n\x0e\x63ontract_state\x18\x03 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rcontractState\x12i\n\x15\x63ontract_code_history\x18\x04 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x63ontractCodeHistory\"B\n\x08Sequence\x12 \n\x06id_key\x18\x01 \x01(\x0c\x42\t\xe2\xde\x1f\x05IDKeyR\x05idKey\x12\x14\n\x05value\x18\x02 \x01(\x04R\x05valueB\xae\x01\n\x14\x63om.cosmwasm.wasm.v1B\x0cGenesisProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\014GenesisProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['codes']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['codes']._serialized_options = b'\310\336\037\000\352\336\037\017codes,omitempty\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['contracts']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['contracts']._serialized_options = b'\310\336\037\000\352\336\037\023contracts,omitempty\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['sequences']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['sequences']._serialized_options = b'\310\336\037\000\352\336\037\023sequences,omitempty\250\347\260*\001' - _globals['_CODE'].fields_by_name['code_id']._loaded_options = None - _globals['_CODE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_CODE'].fields_by_name['code_info']._loaded_options = None - _globals['_CODE'].fields_by_name['code_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CONTRACT'].fields_by_name['contract_address']._loaded_options = None - _globals['_CONTRACT'].fields_by_name['contract_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_CONTRACT'].fields_by_name['contract_info']._loaded_options = None - _globals['_CONTRACT'].fields_by_name['contract_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CONTRACT'].fields_by_name['contract_state']._loaded_options = None - _globals['_CONTRACT'].fields_by_name['contract_state']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CONTRACT'].fields_by_name['contract_code_history']._loaded_options = None - _globals['_CONTRACT'].fields_by_name['contract_code_history']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_SEQUENCE'].fields_by_name['id_key']._loaded_options = None - _globals['_SEQUENCE'].fields_by_name['id_key']._serialized_options = b'\342\336\037\005IDKey' - _globals['_GENESISSTATE']._serialized_start=151 - _globals['_GENESISSTATE']._serialized_end=486 - _globals['_CODE']._serialized_start=489 - _globals['_CODE']._serialized_end=655 - _globals['_CONTRACT']._serialized_start=658 - _globals['_CONTRACT']._serialized_end=999 - _globals['_SEQUENCE']._serialized_start=1001 - _globals['_SEQUENCE']._serialized_end=1067 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmwasm/wasm/v1/ibc_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py deleted file mode 100644 index a0548a24..00000000 --- a/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py +++ /dev/null @@ -1,40 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmwasm/wasm/v1/ibc.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63osmwasm/wasm/v1/ibc.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\"\xe2\x01\n\nMsgIBCSend\x12\x33\n\x07\x63hannel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_channel\"R\x07\x63hannel\x12@\n\x0etimeout_height\x18\x04 \x01(\x04\x42\x19\xf2\xde\x1f\x15yaml:\"timeout_height\"R\rtimeoutHeight\x12I\n\x11timeout_timestamp\x18\x05 \x01(\x04\x42\x1c\xf2\xde\x1f\x18yaml:\"timeout_timestamp\"R\x10timeoutTimestamp\x12\x12\n\x04\x64\x61ta\x18\x06 \x01(\x0cR\x04\x64\x61ta\"0\n\x12MsgIBCSendResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\"I\n\x12MsgIBCCloseChannel\x12\x33\n\x07\x63hannel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_channel\"R\x07\x63hannelB\xae\x01\n\x14\x63om.cosmwasm.wasm.v1B\x08IbcProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.ibc_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\010IbcProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000' - _globals['_MSGIBCSEND'].fields_by_name['channel']._loaded_options = None - _globals['_MSGIBCSEND'].fields_by_name['channel']._serialized_options = b'\362\336\037\025yaml:\"source_channel\"' - _globals['_MSGIBCSEND'].fields_by_name['timeout_height']._loaded_options = None - _globals['_MSGIBCSEND'].fields_by_name['timeout_height']._serialized_options = b'\362\336\037\025yaml:\"timeout_height\"' - _globals['_MSGIBCSEND'].fields_by_name['timeout_timestamp']._loaded_options = None - _globals['_MSGIBCSEND'].fields_by_name['timeout_timestamp']._serialized_options = b'\362\336\037\030yaml:\"timeout_timestamp\"' - _globals['_MSGIBCCLOSECHANNEL'].fields_by_name['channel']._loaded_options = None - _globals['_MSGIBCCLOSECHANNEL'].fields_by_name['channel']._serialized_options = b'\362\336\037\025yaml:\"source_channel\"' - _globals['_MSGIBCSEND']._serialized_start=71 - _globals['_MSGIBCSEND']._serialized_end=297 - _globals['_MSGIBCSENDRESPONSE']._serialized_start=299 - _globals['_MSGIBCSENDRESPONSE']._serialized_end=347 - _globals['_MSGIBCCLOSECHANNEL']._serialized_start=349 - _globals['_MSGIBCCLOSECHANNEL']._serialized_end=422 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmwasm/wasm/v1/proposal_legacy_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2.py deleted file mode 100644 index 7a284f58..00000000 --- a/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2.py +++ /dev/null @@ -1,150 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmwasm/wasm/v1/proposal_legacy.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmwasm/wasm/v1/proposal_legacy.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\x03\n\x11StoreCodeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x36\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x08 \x01(\x08R\tunpinCode\x12\x16\n\x06source\x18\t \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\n \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\x0b \x01(\x0cR\x08\x63odeHash:;\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x16wasm/StoreCodeProposalJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\xeb\x03\n\x1bInstantiateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12.\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x07 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:E\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0* wasm/InstantiateContractProposal\"\x9a\x04\n\x1cInstantiateContract2Proposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12.\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x07 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x12\n\x04salt\x18\t \x01(\x0cR\x04salt\x12\x17\n\x07\x66ix_msg\x18\n \x01(\x08R\x06\x66ixMsg:F\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal\"\xa9\x02\n\x17MigrateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x38\n\x03msg\x18\x06 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal\"\xfe\x01\n\x14SudoContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:>\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x19wasm/SudoContractProposal\"\xae\x03\n\x17\x45xecuteContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal\"\x8d\x02\n\x13UpdateAdminProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12I\n\tnew_admin\x18\x03 \x01(\tB,\xf2\xde\x1f\x10yaml:\"new_admin\"\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal\"\xc0\x01\n\x12\x43learAdminProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal\"\xc1\x01\n\x10PinCodesProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"R\x07\x63odeIds::\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15wasm/PinCodesProposal\"\xc5\x01\n\x12UnpinCodesProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"R\x07\x63odeIds:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal\"\x9b\x01\n\x12\x41\x63\x63\x65ssConfigUpdate\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12`\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15instantiatePermission\"\xb3\x02\n\x1fUpdateInstantiateConfigProposal\x12&\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"R\x05title\x12\x38\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"R\x0b\x64\x65scription\x12\x63\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*\x01R\x13\x61\x63\x63\x65ssConfigUpdates:I\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal\"\xb9\x05\n#StoreAndInstantiateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x36\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x06 \x01(\x08R\tunpinCode\x12\x14\n\x05\x61\x64min\x18\x07 \x01(\tR\x05\x61\x64min\x12\x14\n\x05label\x18\x08 \x01(\tR\x05label\x12\x38\n\x03msg\x18\t \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x16\n\x06source\x18\x0b \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\x0c \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\r \x01(\x0cR\x08\x63odeHash:M\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposalB\xc1\x01\n\x14\x63om.cosmwasm.wasm.v1B\x13ProposalLegacyProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.proposal_legacy_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\023ProposalLegacyProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\330\341\036\000\250\342\036\001' - _globals['_STORECODEPROPOSAL'].fields_by_name['run_as']._loaded_options = None - _globals['_STORECODEPROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_STORECODEPROPOSAL'].fields_by_name['wasm_byte_code']._loaded_options = None - _globals['_STORECODEPROPOSAL'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _globals['_STORECODEPROPOSAL']._loaded_options = None - _globals['_STORECODEPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\026wasm/StoreCodeProposal' - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['run_as']._loaded_options = None - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['admin']._loaded_options = None - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['code_id']._loaded_options = None - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['funds']._loaded_options = None - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_INSTANTIATECONTRACTPROPOSAL']._loaded_options = None - _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260* wasm/InstantiateContractProposal' - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['run_as']._loaded_options = None - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['admin']._loaded_options = None - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['code_id']._loaded_options = None - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['msg']._loaded_options = None - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['funds']._loaded_options = None - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_INSTANTIATECONTRACT2PROPOSAL']._loaded_options = None - _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!wasm/InstantiateContract2Proposal' - _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['contract']._loaded_options = None - _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['code_id']._loaded_options = None - _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None - _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MIGRATECONTRACTPROPOSAL']._loaded_options = None - _globals['_MIGRATECONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/MigrateContractProposal' - _globals['_SUDOCONTRACTPROPOSAL'].fields_by_name['contract']._loaded_options = None - _globals['_SUDOCONTRACTPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_SUDOCONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None - _globals['_SUDOCONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_SUDOCONTRACTPROPOSAL']._loaded_options = None - _globals['_SUDOCONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\031wasm/SudoContractProposal' - _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['run_as']._loaded_options = None - _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['contract']._loaded_options = None - _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None - _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['funds']._loaded_options = None - _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_EXECUTECONTRACTPROPOSAL']._loaded_options = None - _globals['_EXECUTECONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/ExecuteContractProposal' - _globals['_UPDATEADMINPROPOSAL'].fields_by_name['new_admin']._loaded_options = None - _globals['_UPDATEADMINPROPOSAL'].fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"\322\264-\024cosmos.AddressString' - _globals['_UPDATEADMINPROPOSAL'].fields_by_name['contract']._loaded_options = None - _globals['_UPDATEADMINPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_UPDATEADMINPROPOSAL']._loaded_options = None - _globals['_UPDATEADMINPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\030wasm/UpdateAdminProposal' - _globals['_CLEARADMINPROPOSAL'].fields_by_name['contract']._loaded_options = None - _globals['_CLEARADMINPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_CLEARADMINPROPOSAL']._loaded_options = None - _globals['_CLEARADMINPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/ClearAdminProposal' - _globals['_PINCODESPROPOSAL'].fields_by_name['code_ids']._loaded_options = None - _globals['_PINCODESPROPOSAL'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' - _globals['_PINCODESPROPOSAL']._loaded_options = None - _globals['_PINCODESPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025wasm/PinCodesProposal' - _globals['_UNPINCODESPROPOSAL'].fields_by_name['code_ids']._loaded_options = None - _globals['_UNPINCODESPROPOSAL'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' - _globals['_UNPINCODESPROPOSAL']._loaded_options = None - _globals['_UNPINCODESPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/UnpinCodesProposal' - _globals['_ACCESSCONFIGUPDATE'].fields_by_name['code_id']._loaded_options = None - _globals['_ACCESSCONFIGUPDATE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_ACCESSCONFIGUPDATE'].fields_by_name['instantiate_permission']._loaded_options = None - _globals['_ACCESSCONFIGUPDATE'].fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['title']._loaded_options = None - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['description']._loaded_options = None - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['access_config_updates']._loaded_options = None - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['access_config_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._loaded_options = None - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$wasm/UpdateInstantiateConfigProposal' - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['run_as']._loaded_options = None - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['wasm_byte_code']._loaded_options = None - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['funds']._loaded_options = None - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._loaded_options = None - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(wasm/StoreAndInstantiateContractProposal' - _globals['_STORECODEPROPOSAL']._serialized_start=191 - _globals['_STORECODEPROPOSAL']._serialized_end=641 - _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_start=644 - _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_end=1135 - _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_start=1138 - _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_end=1676 - _globals['_MIGRATECONTRACTPROPOSAL']._serialized_start=1679 - _globals['_MIGRATECONTRACTPROPOSAL']._serialized_end=1976 - _globals['_SUDOCONTRACTPROPOSAL']._serialized_start=1979 - _globals['_SUDOCONTRACTPROPOSAL']._serialized_end=2233 - _globals['_EXECUTECONTRACTPROPOSAL']._serialized_start=2236 - _globals['_EXECUTECONTRACTPROPOSAL']._serialized_end=2666 - _globals['_UPDATEADMINPROPOSAL']._serialized_start=2669 - _globals['_UPDATEADMINPROPOSAL']._serialized_end=2938 - _globals['_CLEARADMINPROPOSAL']._serialized_start=2941 - _globals['_CLEARADMINPROPOSAL']._serialized_end=3133 - _globals['_PINCODESPROPOSAL']._serialized_start=3136 - _globals['_PINCODESPROPOSAL']._serialized_end=3329 - _globals['_UNPINCODESPROPOSAL']._serialized_start=3332 - _globals['_UNPINCODESPROPOSAL']._serialized_end=3529 - _globals['_ACCESSCONFIGUPDATE']._serialized_start=3532 - _globals['_ACCESSCONFIGUPDATE']._serialized_end=3687 - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_start=3690 - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_end=3997 - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_start=4000 - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_end=4697 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/cosmwasm/wasm/v1/query_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py deleted file mode 100644 index 6defc46e..00000000 --- a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py +++ /dev/null @@ -1,163 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmwasm/wasm/v1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/query.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\"N\n\x18QueryContractInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"\xad\x01\n\x19QueryContractInfoResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12V\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*\x01R\x0c\x63ontractInfo:\x04\xe8\xa0\x1f\x01\"\x99\x01\n\x1bQueryContractHistoryRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb8\x01\n\x1cQueryContractHistoryResponse\x12O\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"~\n\x1bQueryContractsByCodeRequest\x12\x17\n\x07\x63ode_id\x18\x01 \x01(\x04R\x06\x63odeId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x9f\x01\n\x1cQueryContractsByCodeResponse\x12\x36\n\tcontracts\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tcontracts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x9a\x01\n\x1cQueryAllContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa4\x01\n\x1dQueryAllContractStateResponse\x12:\n\x06models\x18\x01 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06models\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"q\n\x1cQueryRawContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x1d\n\nquery_data\x18\x02 \x01(\x0cR\tqueryData\"3\n\x1dQueryRawContractStateResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\x9b\x01\n\x1eQuerySmartContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x45\n\nquery_data\x18\x02 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\tqueryData\"]\n\x1fQuerySmartContractStateResponse\x12:\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x04\x64\x61ta\"+\n\x10QueryCodeRequest\x12\x17\n\x07\x63ode_id\x18\x01 \x01(\x04R\x06\x63odeId\"\xb8\x02\n\x10\x43odeInfoResponse\x12)\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\x10\xe2\xde\x1f\x06\x43odeID\xea\xde\x1f\x02idR\x06\x63odeId\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12Q\n\tdata_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x08\x64\x61taHash\x12`\n\x16instantiate_permission\x18\x06 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15instantiatePermission:\x04\xe8\xa0\x1f\x01J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"\x82\x01\n\x11QueryCodeResponse\x12I\n\tcode_info\x18\x01 \x01(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\x08\xd0\xde\x1f\x01\xea\xde\x1f\x00R\x08\x63odeInfo\x12\x1c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61taR\x04\x64\x61ta:\x04\xe8\xa0\x1f\x01\"[\n\x11QueryCodesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xab\x01\n\x12QueryCodesResponse\x12L\n\ncode_infos\x18\x01 \x03(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tcodeInfos\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"a\n\x17QueryPinnedCodesRequest\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x8b\x01\n\x18QueryPinnedCodesResponse\x12&\n\x08\x63ode_ids\x18\x01 \x03(\x04\x42\x0b\xe2\xde\x1f\x07\x43odeIDsR\x07\x63odeIds\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x14\n\x12QueryParamsRequest\"R\n\x13QueryParamsResponse\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"\xab\x01\n\x1eQueryContractsByCreatorRequest\x12\x41\n\x0f\x63reator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x63reatorAddress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb3\x01\n\x1fQueryContractsByCreatorResponse\x12G\n\x12\x63ontract_addresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x11\x63ontractAddresses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xab\x01\n\x18QueryBuildAddressRequest\x12\x1b\n\tcode_hash\x18\x01 \x01(\tR\x08\x63odeHash\x12\x41\n\x0f\x63reator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x63reatorAddress\x12\x12\n\x04salt\x18\x03 \x01(\tR\x04salt\x12\x1b\n\tinit_args\x18\x04 \x01(\x0cR\x08initArgs\"O\n\x19QueryBuildAddressResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress2\xdf\x0e\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}\x12\x99\x01\n\x0c\x42uildAddress\x12*.cosmwasm.wasm.v1.QueryBuildAddressRequest\x1a+.cosmwasm.wasm.v1.QueryBuildAddressResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmwasm/wasm/v1/contract/build_addressB\xb4\x01\n\x14\x63om.cosmwasm.wasm.v1B\nQueryProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\xa8\xe2\x1e\x00\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\nQueryProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\250\342\036\000' - _globals['_QUERYCONTRACTINFOREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYCONTRACTINFOREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYCONTRACTINFORESPONSE'].fields_by_name['address']._loaded_options = None - _globals['_QUERYCONTRACTINFORESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYCONTRACTINFORESPONSE'].fields_by_name['contract_info']._loaded_options = None - _globals['_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' - _globals['_QUERYCONTRACTINFORESPONSE']._loaded_options = None - _globals['_QUERYCONTRACTINFORESPONSE']._serialized_options = b'\350\240\037\001' - _globals['_QUERYCONTRACTHISTORYREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYCONTRACTHISTORYREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYCONTRACTHISTORYRESPONSE'].fields_by_name['entries']._loaded_options = None - _globals['_QUERYCONTRACTHISTORYRESPONSE'].fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYCONTRACTSBYCODERESPONSE'].fields_by_name['contracts']._loaded_options = None - _globals['_QUERYCONTRACTSBYCODERESPONSE'].fields_by_name['contracts']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYALLCONTRACTSTATEREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYALLCONTRACTSTATEREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYALLCONTRACTSTATERESPONSE'].fields_by_name['models']._loaded_options = None - _globals['_QUERYALLCONTRACTSTATERESPONSE'].fields_by_name['models']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYRAWCONTRACTSTATEREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYRAWCONTRACTSTATEREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYSMARTCONTRACTSTATEREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYSMARTCONTRACTSTATEREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYSMARTCONTRACTSTATEREQUEST'].fields_by_name['query_data']._loaded_options = None - _globals['_QUERYSMARTCONTRACTSTATEREQUEST'].fields_by_name['query_data']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_QUERYSMARTCONTRACTSTATERESPONSE'].fields_by_name['data']._loaded_options = None - _globals['_QUERYSMARTCONTRACTSTATERESPONSE'].fields_by_name['data']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_CODEINFORESPONSE'].fields_by_name['code_id']._loaded_options = None - _globals['_CODEINFORESPONSE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID\352\336\037\002id' - _globals['_CODEINFORESPONSE'].fields_by_name['creator']._loaded_options = None - _globals['_CODEINFORESPONSE'].fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_CODEINFORESPONSE'].fields_by_name['data_hash']._loaded_options = None - _globals['_CODEINFORESPONSE'].fields_by_name['data_hash']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' - _globals['_CODEINFORESPONSE'].fields_by_name['instantiate_permission']._loaded_options = None - _globals['_CODEINFORESPONSE'].fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CODEINFORESPONSE']._loaded_options = None - _globals['_CODEINFORESPONSE']._serialized_options = b'\350\240\037\001' - _globals['_QUERYCODERESPONSE'].fields_by_name['code_info']._loaded_options = None - _globals['_QUERYCODERESPONSE'].fields_by_name['code_info']._serialized_options = b'\320\336\037\001\352\336\037\000' - _globals['_QUERYCODERESPONSE'].fields_by_name['data']._loaded_options = None - _globals['_QUERYCODERESPONSE'].fields_by_name['data']._serialized_options = b'\352\336\037\004data' - _globals['_QUERYCODERESPONSE']._loaded_options = None - _globals['_QUERYCODERESPONSE']._serialized_options = b'\350\240\037\001' - _globals['_QUERYCODESRESPONSE'].fields_by_name['code_infos']._loaded_options = None - _globals['_QUERYCODESRESPONSE'].fields_by_name['code_infos']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYPINNEDCODESRESPONSE'].fields_by_name['code_ids']._loaded_options = None - _globals['_QUERYPINNEDCODESRESPONSE'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYCONTRACTSBYCREATORREQUEST'].fields_by_name['creator_address']._loaded_options = None - _globals['_QUERYCONTRACTSBYCREATORREQUEST'].fields_by_name['creator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYCONTRACTSBYCREATORRESPONSE'].fields_by_name['contract_addresses']._loaded_options = None - _globals['_QUERYCONTRACTSBYCREATORRESPONSE'].fields_by_name['contract_addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYBUILDADDRESSREQUEST'].fields_by_name['creator_address']._loaded_options = None - _globals['_QUERYBUILDADDRESSREQUEST'].fields_by_name['creator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYBUILDADDRESSRESPONSE'].fields_by_name['address']._loaded_options = None - _globals['_QUERYBUILDADDRESSRESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERY'].methods_by_name['ContractInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['ContractInfo']._serialized_options = b'\202\323\344\223\002&\022$/cosmwasm/wasm/v1/contract/{address}' - _globals['_QUERY'].methods_by_name['ContractHistory']._loaded_options = None - _globals['_QUERY'].methods_by_name['ContractHistory']._serialized_options = b'\202\323\344\223\002.\022,/cosmwasm/wasm/v1/contract/{address}/history' - _globals['_QUERY'].methods_by_name['ContractsByCode']._loaded_options = None - _globals['_QUERY'].methods_by_name['ContractsByCode']._serialized_options = b'\202\323\344\223\002,\022*/cosmwasm/wasm/v1/code/{code_id}/contracts' - _globals['_QUERY'].methods_by_name['AllContractState']._loaded_options = None - _globals['_QUERY'].methods_by_name['AllContractState']._serialized_options = b'\202\323\344\223\002,\022*/cosmwasm/wasm/v1/contract/{address}/state' - _globals['_QUERY'].methods_by_name['RawContractState']._loaded_options = None - _globals['_QUERY'].methods_by_name['RawContractState']._serialized_options = b'\202\323\344\223\0027\0225/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}' - _globals['_QUERY'].methods_by_name['SmartContractState']._loaded_options = None - _globals['_QUERY'].methods_by_name['SmartContractState']._serialized_options = b'\202\323\344\223\0029\0227/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}' - _globals['_QUERY'].methods_by_name['Code']._loaded_options = None - _globals['_QUERY'].methods_by_name['Code']._serialized_options = b'\202\323\344\223\002\"\022 /cosmwasm/wasm/v1/code/{code_id}' - _globals['_QUERY'].methods_by_name['Codes']._loaded_options = None - _globals['_QUERY'].methods_by_name['Codes']._serialized_options = b'\202\323\344\223\002\030\022\026/cosmwasm/wasm/v1/code' - _globals['_QUERY'].methods_by_name['PinnedCodes']._loaded_options = None - _globals['_QUERY'].methods_by_name['PinnedCodes']._serialized_options = b'\202\323\344\223\002 \022\036/cosmwasm/wasm/v1/codes/pinned' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002 \022\036/cosmwasm/wasm/v1/codes/params' - _globals['_QUERY'].methods_by_name['ContractsByCreator']._loaded_options = None - _globals['_QUERY'].methods_by_name['ContractsByCreator']._serialized_options = b'\202\323\344\223\0027\0225/cosmwasm/wasm/v1/contracts/creator/{creator_address}' - _globals['_QUERY'].methods_by_name['BuildAddress']._loaded_options = None - _globals['_QUERY'].methods_by_name['BuildAddress']._serialized_options = b'\202\323\344\223\002*\022(/cosmwasm/wasm/v1/contract/build_address' - _globals['_QUERYCONTRACTINFOREQUEST']._serialized_start=222 - _globals['_QUERYCONTRACTINFOREQUEST']._serialized_end=300 - _globals['_QUERYCONTRACTINFORESPONSE']._serialized_start=303 - _globals['_QUERYCONTRACTINFORESPONSE']._serialized_end=476 - _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_start=479 - _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_end=632 - _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_start=635 - _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_end=819 - _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_start=821 - _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_end=947 - _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_start=950 - _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_end=1109 - _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_start=1112 - _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_end=1266 - _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_start=1269 - _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_end=1433 - _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_start=1435 - _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_end=1548 - _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_start=1550 - _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_end=1601 - _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_start=1604 - _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_end=1759 - _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_start=1761 - _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_end=1854 - _globals['_QUERYCODEREQUEST']._serialized_start=1856 - _globals['_QUERYCODEREQUEST']._serialized_end=1899 - _globals['_CODEINFORESPONSE']._serialized_start=1902 - _globals['_CODEINFORESPONSE']._serialized_end=2214 - _globals['_QUERYCODERESPONSE']._serialized_start=2217 - _globals['_QUERYCODERESPONSE']._serialized_end=2347 - _globals['_QUERYCODESREQUEST']._serialized_start=2349 - _globals['_QUERYCODESREQUEST']._serialized_end=2440 - _globals['_QUERYCODESRESPONSE']._serialized_start=2443 - _globals['_QUERYCODESRESPONSE']._serialized_end=2614 - _globals['_QUERYPINNEDCODESREQUEST']._serialized_start=2616 - _globals['_QUERYPINNEDCODESREQUEST']._serialized_end=2713 - _globals['_QUERYPINNEDCODESRESPONSE']._serialized_start=2716 - _globals['_QUERYPINNEDCODESRESPONSE']._serialized_end=2855 - _globals['_QUERYPARAMSREQUEST']._serialized_start=2857 - _globals['_QUERYPARAMSREQUEST']._serialized_end=2877 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=2879 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=2961 - _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_start=2964 - _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_end=3135 - _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_start=3138 - _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_end=3317 - _globals['_QUERYBUILDADDRESSREQUEST']._serialized_start=3320 - _globals['_QUERYBUILDADDRESSREQUEST']._serialized_end=3491 - _globals['_QUERYBUILDADDRESSRESPONSE']._serialized_start=3493 - _globals['_QUERYBUILDADDRESSRESPONSE']._serialized_end=3572 - _globals['_QUERY']._serialized_start=3575 - _globals['_QUERY']._serialized_end=5462 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2_grpc.py deleted file mode 100644 index ed773a07..00000000 --- a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2_grpc.py +++ /dev/null @@ -1,565 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmwasm.wasm.v1 import query_pb2 as cosmwasm_dot_wasm_dot_v1_dot_query__pb2 - - -class QueryStub(object): - """Query provides defines the gRPC querier service - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.ContractInfo = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/ContractInfo', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoResponse.FromString, - _registered_method=True) - self.ContractHistory = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/ContractHistory', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryResponse.FromString, - _registered_method=True) - self.ContractsByCode = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/ContractsByCode', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeResponse.FromString, - _registered_method=True) - self.AllContractState = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/AllContractState', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateResponse.FromString, - _registered_method=True) - self.RawContractState = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/RawContractState', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateResponse.FromString, - _registered_method=True) - self.SmartContractState = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/SmartContractState', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateResponse.FromString, - _registered_method=True) - self.Code = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/Code', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeResponse.FromString, - _registered_method=True) - self.Codes = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/Codes', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.FromString, - _registered_method=True) - self.PinnedCodes = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/PinnedCodes', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesResponse.FromString, - _registered_method=True) - self.Params = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/Params', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - self.ContractsByCreator = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/ContractsByCreator', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.FromString, - _registered_method=True) - self.BuildAddress = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/BuildAddress', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query provides defines the gRPC querier service - """ - - def ContractInfo(self, request, context): - """ContractInfo gets the contract meta data - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ContractHistory(self, request, context): - """ContractHistory gets the contract code history - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ContractsByCode(self, request, context): - """ContractsByCode lists all smart contracts for a code id - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AllContractState(self, request, context): - """AllContractState gets all raw store data for a single contract - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RawContractState(self, request, context): - """RawContractState gets single key from the raw store data of a contract - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SmartContractState(self, request, context): - """SmartContractState get smart query result from the contract - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Code(self, request, context): - """Code gets the binary code and metadata for a singe wasm code - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Codes(self, request, context): - """Codes gets the metadata for all stored wasm codes - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PinnedCodes(self, request, context): - """PinnedCodes gets the pinned code ids - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Params(self, request, context): - """Params gets the module params - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ContractsByCreator(self, request, context): - """ContractsByCreator gets the contracts by creator - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BuildAddress(self, request, context): - """BuildAddress builds a contract address - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'ContractInfo': grpc.unary_unary_rpc_method_handler( - servicer.ContractInfo, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoResponse.SerializeToString, - ), - 'ContractHistory': grpc.unary_unary_rpc_method_handler( - servicer.ContractHistory, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryResponse.SerializeToString, - ), - 'ContractsByCode': grpc.unary_unary_rpc_method_handler( - servicer.ContractsByCode, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeResponse.SerializeToString, - ), - 'AllContractState': grpc.unary_unary_rpc_method_handler( - servicer.AllContractState, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateResponse.SerializeToString, - ), - 'RawContractState': grpc.unary_unary_rpc_method_handler( - servicer.RawContractState, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateResponse.SerializeToString, - ), - 'SmartContractState': grpc.unary_unary_rpc_method_handler( - servicer.SmartContractState, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateResponse.SerializeToString, - ), - 'Code': grpc.unary_unary_rpc_method_handler( - servicer.Code, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeResponse.SerializeToString, - ), - 'Codes': grpc.unary_unary_rpc_method_handler( - servicer.Codes, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.SerializeToString, - ), - 'PinnedCodes': grpc.unary_unary_rpc_method_handler( - servicer.PinnedCodes, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesResponse.SerializeToString, - ), - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'ContractsByCreator': grpc.unary_unary_rpc_method_handler( - servicer.ContractsByCreator, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.SerializeToString, - ), - 'BuildAddress': grpc.unary_unary_rpc_method_handler( - servicer.BuildAddress, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmwasm.wasm.v1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmwasm.wasm.v1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query provides defines the gRPC querier service - """ - - @staticmethod - def ContractInfo(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.Query/ContractInfo', - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoRequest.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ContractHistory(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.Query/ContractHistory', - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryRequest.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ContractsByCode(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.Query/ContractsByCode', - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeRequest.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AllContractState(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.Query/AllContractState', - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateRequest.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def RawContractState(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.Query/RawContractState', - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateRequest.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SmartContractState(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.Query/SmartContractState', - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateRequest.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Code(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.Query/Code', - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeRequest.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Codes(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.Query/Codes', - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PinnedCodes(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.Query/PinnedCodes', - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Params(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.Query/Params', - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ContractsByCreator(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.Query/ContractsByCreator', - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BuildAddress(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.Query/BuildAddress', - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py deleted file mode 100644 index 96079c0b..00000000 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py +++ /dev/null @@ -1,247 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmwasm/wasm/v1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.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\"\xfe\x01\n\x0cMsgStoreCode\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x36\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"W\n\x14MsgStoreCodeResponse\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x1a\n\x08\x63hecksum\x18\x02 \x01(\x0cR\x08\x63hecksum\"\x95\x03\n\x16MsgInstantiateContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"h\n\x1eMsgInstantiateContractResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\"\xc4\x03\n\x17MsgInstantiateContract2\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x12\n\x04salt\x18\x07 \x01(\x0cR\x04salt\x12\x17\n\x07\x66ix_msg\x18\x08 \x01(\x08R\x06\x66ixMsg:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"i\n\x1fMsgInstantiateContract2Response\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\"\xd8\x02\n\x12MsgExecuteContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x03 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"0\n\x1aMsgExecuteContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\x84\x02\n\x12MsgMigrateContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"0\n\x1aMsgMigrateContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\xd4\x01\n\x0eMsgUpdateAdmin\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x35\n\tnew_admin\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"\x9b\x01\n\rMsgClearAdmin\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"\x82\x02\n\x1aMsgUpdateInstantiateConfig\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12#\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\\\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x18newInstantiatePermission:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\xaf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12;\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xe2\x01\n\x0fMsgSudoContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x03 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"-\n\x17MsgSudoContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\xa5\x01\n\x0bMsgPinCodes\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x39\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"R\x07\x63odeIds:#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\xa9\x01\n\rMsgUnpinCodes\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x39\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"R\x07\x63odeIds:%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\x86\x05\n\x1eMsgStoreAndInstantiateContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x36\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x05 \x01(\x08R\tunpinCode\x12.\n\x05\x61\x64min\x18\x06 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x14\n\x05label\x18\x07 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x08 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x16\n\x06source\x18\n \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\x0b \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\x0c \x01(\x0cR\x08\x63odeHash:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"p\n&MsgStoreAndInstantiateContractResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\"\xc6\x01\n\x1fMsgAddCodeUploadParamsAddresses\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x32\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"R\taddresses:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$wasm/MsgAddCodeUploadParamsAddresses\")\n\'MsgAddCodeUploadParamsAddressesResponse\"\xcc\x01\n\"MsgRemoveCodeUploadParamsAddresses\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x32\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"R\taddresses::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'wasm/MsgRemoveCodeUploadParamsAddresses\",\n*MsgRemoveCodeUploadParamsAddressesResponse\"\xed\x02\n\x1aMsgStoreAndMigrateContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x36\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1a\n\x08\x63ontract\x18\x04 \x01(\tR\x08\x63ontract\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:2\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1fwasm/MsgStoreAndMigrateContract\"y\n\"MsgStoreAndMigrateContractResponse\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x1a\n\x08\x63hecksum\x18\x02 \x01(\x0cR\x08\x63hecksum\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\"\xca\x01\n\x16MsgUpdateContractLabel\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x1b\n\tnew_label\x18\x02 \x01(\tR\x08newLabel\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:+\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\xad\x01\n\x14\x63om.cosmwasm.wasm.v1B\x07TxProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\007TxProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000' - _globals['_MSGSTORECODE'].fields_by_name['sender']._loaded_options = None - _globals['_MSGSTORECODE'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSTORECODE'].fields_by_name['wasm_byte_code']._loaded_options = None - _globals['_MSGSTORECODE'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _globals['_MSGSTORECODE']._loaded_options = None - _globals['_MSGSTORECODE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\021wasm/MsgStoreCode' - _globals['_MSGSTORECODERESPONSE'].fields_by_name['code_id']._loaded_options = None - _globals['_MSGSTORECODERESPONSE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['sender']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['admin']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['code_id']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['msg']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['funds']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGINSTANTIATECONTRACT']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgInstantiateContract' - _globals['_MSGINSTANTIATECONTRACTRESPONSE'].fields_by_name['address']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACTRESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['sender']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['admin']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['code_id']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['msg']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['funds']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGINSTANTIATECONTRACT2']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT2']._serialized_options = b'\202\347\260*\006sender\212\347\260*\034wasm/MsgInstantiateContract2' - _globals['_MSGINSTANTIATECONTRACT2RESPONSE'].fields_by_name['address']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT2RESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGEXECUTECONTRACT'].fields_by_name['sender']._loaded_options = None - _globals['_MSGEXECUTECONTRACT'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGEXECUTECONTRACT'].fields_by_name['contract']._loaded_options = None - _globals['_MSGEXECUTECONTRACT'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGEXECUTECONTRACT'].fields_by_name['msg']._loaded_options = None - _globals['_MSGEXECUTECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MSGEXECUTECONTRACT'].fields_by_name['funds']._loaded_options = None - _globals['_MSGEXECUTECONTRACT'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGEXECUTECONTRACT']._loaded_options = None - _globals['_MSGEXECUTECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasm/MsgExecuteContract' - _globals['_MSGMIGRATECONTRACT'].fields_by_name['sender']._loaded_options = None - _globals['_MSGMIGRATECONTRACT'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGMIGRATECONTRACT'].fields_by_name['contract']._loaded_options = None - _globals['_MSGMIGRATECONTRACT'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGMIGRATECONTRACT'].fields_by_name['code_id']._loaded_options = None - _globals['_MSGMIGRATECONTRACT'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_MSGMIGRATECONTRACT'].fields_by_name['msg']._loaded_options = None - _globals['_MSGMIGRATECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MSGMIGRATECONTRACT']._loaded_options = None - _globals['_MSGMIGRATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasm/MsgMigrateContract' - _globals['_MSGUPDATEADMIN'].fields_by_name['sender']._loaded_options = None - _globals['_MSGUPDATEADMIN'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEADMIN'].fields_by_name['new_admin']._loaded_options = None - _globals['_MSGUPDATEADMIN'].fields_by_name['new_admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEADMIN'].fields_by_name['contract']._loaded_options = None - _globals['_MSGUPDATEADMIN'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEADMIN']._loaded_options = None - _globals['_MSGUPDATEADMIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\023wasm/MsgUpdateAdmin' - _globals['_MSGCLEARADMIN'].fields_by_name['sender']._loaded_options = None - _globals['_MSGCLEARADMIN'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCLEARADMIN'].fields_by_name['contract']._loaded_options = None - _globals['_MSGCLEARADMIN'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCLEARADMIN']._loaded_options = None - _globals['_MSGCLEARADMIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\022wasm/MsgClearAdmin' - _globals['_MSGUPDATEINSTANTIATECONFIG'].fields_by_name['sender']._loaded_options = None - _globals['_MSGUPDATEINSTANTIATECONFIG'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEINSTANTIATECONFIG'].fields_by_name['code_id']._loaded_options = None - _globals['_MSGUPDATEINSTANTIATECONFIG'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_MSGUPDATEINSTANTIATECONFIG']._loaded_options = None - _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_options = b'\202\347\260*\006sender\212\347\260*\037wasm/MsgUpdateInstantiateConfig' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\024wasm/MsgUpdateParams' - _globals['_MSGSUDOCONTRACT'].fields_by_name['authority']._loaded_options = None - _globals['_MSGSUDOCONTRACT'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSUDOCONTRACT'].fields_by_name['contract']._loaded_options = None - _globals['_MSGSUDOCONTRACT'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSUDOCONTRACT'].fields_by_name['msg']._loaded_options = None - _globals['_MSGSUDOCONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MSGSUDOCONTRACT']._loaded_options = None - _globals['_MSGSUDOCONTRACT']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\024wasm/MsgSudoContract' - _globals['_MSGPINCODES'].fields_by_name['authority']._loaded_options = None - _globals['_MSGPINCODES'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGPINCODES'].fields_by_name['code_ids']._loaded_options = None - _globals['_MSGPINCODES'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' - _globals['_MSGPINCODES']._loaded_options = None - _globals['_MSGPINCODES']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\020wasm/MsgPinCodes' - _globals['_MSGUNPINCODES'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUNPINCODES'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUNPINCODES'].fields_by_name['code_ids']._loaded_options = None - _globals['_MSGUNPINCODES'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' - _globals['_MSGUNPINCODES']._loaded_options = None - _globals['_MSGUNPINCODES']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\022wasm/MsgUnpinCodes' - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['authority']._loaded_options = None - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['wasm_byte_code']._loaded_options = None - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['admin']._loaded_options = None - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['msg']._loaded_options = None - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['funds']._loaded_options = None - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGSTOREANDINSTANTIATECONTRACT']._loaded_options = None - _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_options = b'\202\347\260*\tauthority\212\347\260*#wasm/MsgStoreAndInstantiateContract' - _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE'].fields_by_name['address']._loaded_options = None - _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES'].fields_by_name['authority']._loaded_options = None - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES'].fields_by_name['addresses']._loaded_options = None - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES'].fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._loaded_options = None - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_options = b'\202\347\260*\tauthority\212\347\260*$wasm/MsgAddCodeUploadParamsAddresses' - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES'].fields_by_name['authority']._loaded_options = None - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES'].fields_by_name['addresses']._loaded_options = None - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES'].fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._loaded_options = None - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\'wasm/MsgRemoveCodeUploadParamsAddresses' - _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['authority']._loaded_options = None - _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['wasm_byte_code']._loaded_options = None - _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['msg']._loaded_options = None - _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MSGSTOREANDMIGRATECONTRACT']._loaded_options = None - _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\037wasm/MsgStoreAndMigrateContract' - _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE'].fields_by_name['code_id']._loaded_options = None - _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_MSGUPDATECONTRACTLABEL'].fields_by_name['sender']._loaded_options = None - _globals['_MSGUPDATECONTRACTLABEL'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATECONTRACTLABEL'].fields_by_name['contract']._loaded_options = None - _globals['_MSGUPDATECONTRACTLABEL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATECONTRACTLABEL']._loaded_options = None - _globals['_MSGUPDATECONTRACTLABEL']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgUpdateContractLabel' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGSTORECODE']._serialized_start=203 - _globals['_MSGSTORECODE']._serialized_end=457 - _globals['_MSGSTORECODERESPONSE']._serialized_start=459 - _globals['_MSGSTORECODERESPONSE']._serialized_end=546 - _globals['_MSGINSTANTIATECONTRACT']._serialized_start=549 - _globals['_MSGINSTANTIATECONTRACT']._serialized_end=954 - _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_start=956 - _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_end=1060 - _globals['_MSGINSTANTIATECONTRACT2']._serialized_start=1063 - _globals['_MSGINSTANTIATECONTRACT2']._serialized_end=1515 - _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_start=1517 - _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_end=1622 - _globals['_MSGEXECUTECONTRACT']._serialized_start=1625 - _globals['_MSGEXECUTECONTRACT']._serialized_end=1969 - _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_start=1971 - _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_end=2019 - _globals['_MSGMIGRATECONTRACT']._serialized_start=2022 - _globals['_MSGMIGRATECONTRACT']._serialized_end=2282 - _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_start=2284 - _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_end=2332 - _globals['_MSGUPDATEADMIN']._serialized_start=2335 - _globals['_MSGUPDATEADMIN']._serialized_end=2547 - _globals['_MSGUPDATEADMINRESPONSE']._serialized_start=2549 - _globals['_MSGUPDATEADMINRESPONSE']._serialized_end=2573 - _globals['_MSGCLEARADMIN']._serialized_start=2576 - _globals['_MSGCLEARADMIN']._serialized_end=2731 - _globals['_MSGCLEARADMINRESPONSE']._serialized_start=2733 - _globals['_MSGCLEARADMINRESPONSE']._serialized_end=2756 - _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_start=2759 - _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_end=3017 - _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_start=3019 - _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_end=3055 - _globals['_MSGUPDATEPARAMS']._serialized_start=3058 - _globals['_MSGUPDATEPARAMS']._serialized_end=3233 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=3235 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=3260 - _globals['_MSGSUDOCONTRACT']._serialized_start=3263 - _globals['_MSGSUDOCONTRACT']._serialized_end=3489 - _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_start=3491 - _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_end=3536 - _globals['_MSGPINCODES']._serialized_start=3539 - _globals['_MSGPINCODES']._serialized_end=3704 - _globals['_MSGPINCODESRESPONSE']._serialized_start=3706 - _globals['_MSGPINCODESRESPONSE']._serialized_end=3727 - _globals['_MSGUNPINCODES']._serialized_start=3730 - _globals['_MSGUNPINCODES']._serialized_end=3899 - _globals['_MSGUNPINCODESRESPONSE']._serialized_start=3901 - _globals['_MSGUNPINCODESRESPONSE']._serialized_end=3924 - _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_start=3927 - _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_end=4573 - _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_start=4575 - _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_end=4687 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_start=4690 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_end=4888 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=4890 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=4931 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_start=4934 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_end=5138 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=5140 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=5184 - _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_start=5187 - _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_end=5552 - _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_start=5554 - _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_end=5675 - _globals['_MSGUPDATECONTRACTLABEL']._serialized_start=5678 - _globals['_MSGUPDATECONTRACTLABEL']._serialized_end=5880 - _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_start=5882 - _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_end=5914 - _globals['_MSG']._serialized_start=5917 - _globals['_MSG']._serialized_end=7794 -# @@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 deleted file mode 100644 index 7dbc1734..00000000 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py +++ /dev/null @@ -1,811 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.cosmwasm.wasm.v1 import tx_pb2 as cosmwasm_dot_wasm_dot_v1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the wasm Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.StoreCode = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/StoreCode', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCode.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCodeResponse.FromString, - _registered_method=True) - self.InstantiateContract = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/InstantiateContract', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContractResponse.FromString, - _registered_method=True) - self.InstantiateContract2 = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/InstantiateContract2', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2Response.FromString, - _registered_method=True) - self.ExecuteContract = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/ExecuteContract', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContractResponse.FromString, - _registered_method=True) - self.MigrateContract = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/MigrateContract', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContractResponse.FromString, - _registered_method=True) - self.UpdateAdmin = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/UpdateAdmin', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdmin.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdminResponse.FromString, - _registered_method=True) - self.ClearAdmin = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/ClearAdmin', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdmin.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdminResponse.FromString, - _registered_method=True) - self.UpdateInstantiateConfig = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/UpdateInstantiateConfig', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfig.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfigResponse.FromString, - _registered_method=True) - self.UpdateParams = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/UpdateParams', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - self.SudoContract = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/SudoContract', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContractResponse.FromString, - _registered_method=True) - self.PinCodes = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/PinCodes', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodes.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodesResponse.FromString, - _registered_method=True) - self.UnpinCodes = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/UnpinCodes', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodes.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodesResponse.FromString, - _registered_method=True) - self.StoreAndInstantiateContract = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/StoreAndInstantiateContract', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, - _registered_method=True) - self.RemoveCodeUploadParamsAddresses = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, - _registered_method=True) - self.AddCodeUploadParamsAddresses = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, - _registered_method=True) - 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, - _registered_method=True) - 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, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the wasm Msg service. - """ - - def StoreCode(self, request, context): - """StoreCode to submit Wasm code to the system - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def InstantiateContract(self, request, context): - """InstantiateContract creates a new smart contract instance for the given - code id. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def InstantiateContract2(self, request, context): - """InstantiateContract2 creates a new smart contract instance for the given - code id with a predictable address - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ExecuteContract(self, request, context): - """Execute submits the given message data to a smart contract - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MigrateContract(self, request, context): - """Migrate runs a code upgrade/ downgrade for a smart contract - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateAdmin(self, request, context): - """UpdateAdmin sets a new admin for a smart contract - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ClearAdmin(self, request, context): - """ClearAdmin removes any admin stored for a smart contract - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateInstantiateConfig(self, request, context): - """UpdateInstantiateConfig updates instantiate config for a smart contract - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """UpdateParams defines a governance operation for updating the x/wasm - module parameters. The authority is defined in the keeper. - - Since: 0.40 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SudoContract(self, request, context): - """SudoContract defines a governance operation for calling sudo - on a contract. The authority is defined in the keeper. - - Since: 0.40 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PinCodes(self, request, context): - """PinCodes defines a governance operation for pinning a set of - code ids in the wasmvm cache. The authority is defined in the keeper. - - Since: 0.40 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UnpinCodes(self, request, context): - """UnpinCodes defines a governance operation for unpinning a set of - code ids in the wasmvm cache. The authority is defined in the keeper. - - Since: 0.40 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StoreAndInstantiateContract(self, request, context): - """StoreAndInstantiateContract defines a governance operation for storing - and instantiating the contract. The authority is defined in the keeper. - - Since: 0.40 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RemoveCodeUploadParamsAddresses(self, request, context): - """RemoveCodeUploadParamsAddresses defines a governance operation for - removing addresses from code upload params. - The authority is defined in the keeper. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AddCodeUploadParamsAddresses(self, request, context): - """AddCodeUploadParamsAddresses defines a governance operation for - adding addresses to code upload params. - The authority is defined in the keeper. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StoreAndMigrateContract(self, request, context): - """StoreAndMigrateContract defines a governance operation for storing - and migrating the contract. The authority is defined in the keeper. - - Since: 0.42 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateContractLabel(self, request, context): - """UpdateContractLabel sets a new label for a smart contract - - Since: 0.43 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'StoreCode': grpc.unary_unary_rpc_method_handler( - servicer.StoreCode, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCode.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCodeResponse.SerializeToString, - ), - 'InstantiateContract': grpc.unary_unary_rpc_method_handler( - servicer.InstantiateContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContractResponse.SerializeToString, - ), - 'InstantiateContract2': grpc.unary_unary_rpc_method_handler( - servicer.InstantiateContract2, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2Response.SerializeToString, - ), - 'ExecuteContract': grpc.unary_unary_rpc_method_handler( - servicer.ExecuteContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContractResponse.SerializeToString, - ), - 'MigrateContract': grpc.unary_unary_rpc_method_handler( - servicer.MigrateContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContractResponse.SerializeToString, - ), - 'UpdateAdmin': grpc.unary_unary_rpc_method_handler( - servicer.UpdateAdmin, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdmin.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdminResponse.SerializeToString, - ), - 'ClearAdmin': grpc.unary_unary_rpc_method_handler( - servicer.ClearAdmin, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdmin.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdminResponse.SerializeToString, - ), - 'UpdateInstantiateConfig': grpc.unary_unary_rpc_method_handler( - servicer.UpdateInstantiateConfig, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfig.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfigResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'SudoContract': grpc.unary_unary_rpc_method_handler( - servicer.SudoContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContractResponse.SerializeToString, - ), - 'PinCodes': grpc.unary_unary_rpc_method_handler( - servicer.PinCodes, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodes.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodesResponse.SerializeToString, - ), - 'UnpinCodes': grpc.unary_unary_rpc_method_handler( - servicer.UnpinCodes, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodes.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodesResponse.SerializeToString, - ), - 'StoreAndInstantiateContract': grpc.unary_unary_rpc_method_handler( - servicer.StoreAndInstantiateContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.SerializeToString, - ), - 'RemoveCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( - servicer.RemoveCodeUploadParamsAddresses, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.SerializeToString, - ), - 'AddCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( - servicer.AddCodeUploadParamsAddresses, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.SerializeToString, - ), - 'StoreAndMigrateContract': grpc.unary_unary_rpc_method_handler( - servicer.StoreAndMigrateContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.SerializeToString, - ), - 'UpdateContractLabel': grpc.unary_unary_rpc_method_handler( - servicer.UpdateContractLabel, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmwasm.wasm.v1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmwasm.wasm.v1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the wasm Msg service. - """ - - @staticmethod - def StoreCode(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/StoreCode', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCode.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCodeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def InstantiateContract(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/InstantiateContract', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContractResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def InstantiateContract2(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/InstantiateContract2', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ExecuteContract(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/ExecuteContract', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContract.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContractResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def MigrateContract(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/MigrateContract', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContract.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContractResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateAdmin(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/UpdateAdmin', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdmin.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdminResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ClearAdmin(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/ClearAdmin', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdmin.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdminResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateInstantiateConfig(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/UpdateInstantiateConfig', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfig.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfigResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmwasm.wasm.v1.Msg/UpdateParams', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SudoContract(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/SudoContract', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContract.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContractResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PinCodes(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/PinCodes', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodes.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UnpinCodes(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/UnpinCodes', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodes.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StoreAndInstantiateContract(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/StoreAndInstantiateContract', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def RemoveCodeUploadParamsAddresses(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AddCodeUploadParamsAddresses(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @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, - _registered_method=True) - - @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, - _registered_method=True) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py deleted file mode 100644 index 4c48f996..00000000 --- a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py +++ /dev/null @@ -1,128 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: cosmwasm/wasm/v1/types.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"]\n\x0f\x41\x63\x63\x65ssTypeParam\x12\x44\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:\"value\"R\x05value:\x04\x98\xa0\x1f\x01\"\xa7\x01\n\x0c\x41\x63\x63\x65ssConfig\x12S\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:\"permission\"R\npermission\x12\x36\n\taddresses\x18\x03 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\taddresses:\x04\x98\xa0\x1f\x01J\x04\x08\x02\x10\x03\"\x94\x02\n\x06Params\x12t\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*\x01R\x10\x63odeUploadAccess\x12\x8d\x01\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:\"instantiate_default_permission\"R\x1cinstantiateDefaultPermission:\x04\x98\xa0\x1f\x00\"\xc1\x01\n\x08\x43odeInfo\x12\x1b\n\tcode_hash\x18\x01 \x01(\x0cR\x08\x63odeHash\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12X\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x11instantiateConfigJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\x82\x03\n\x0c\x43ontractInfo\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12.\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12>\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPositionR\x07\x63reated\x12-\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortIDR\tibcPortId\x12^\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtensionR\textension:\x04\xe8\xa0\x1f\x01\"\x8b\x02\n\x18\x43ontractCodeHistoryEntry\x12P\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationTypeR\toperation\x12#\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12>\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPositionR\x07updated\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\"R\n\x12\x41\x62soluteTxPosition\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\x12\x19\n\x08tx_index\x18\x02 \x01(\x04R\x07txIndex\"e\n\x05Model\x12\x46\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\"\xb1\x01\n\x0f\x45ventCodeStored\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x18\n\x07\x63reator\x18\x02 \x01(\tR\x07\x63reator\x12\x43\n\raccess_config\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x0c\x61\x63\x63\x65ssConfig\x12\x1a\n\x08\x63hecksum\x18\x04 \x01(\x0cR\x08\x63hecksum\"\xbe\x02\n\x19\x45ventContractInstantiated\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x14\n\x05\x61\x64min\x18\x02 \x01(\tR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x61\n\x05\x66unds\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x05\x66unds\x12(\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessageR\x03msg\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x18\n\x07\x63reator\x18\x07 \x01(\tR\x07\x63reator\"\x91\x01\n\x15\x45ventContractMigrated\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12(\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessageR\x03msg\"_\n\x15\x45ventContractAdminSet\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tnew_admin\x18\x02 \x01(\tR\x08newAdmin*\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\xb4\x01\n\x14\x63om.cosmwasm.wasm.v1B\nTypesProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.types_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\nTypesProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\250\342\036\001' - _globals['_ACCESSTYPE']._loaded_options = None - _globals['_ACCESSTYPE']._serialized_options = b'\210\243\036\000\250\244\036\000' - _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_UNSPECIFIED"]._loaded_options = None - _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \025AccessTypeUnspecified' - _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_NOBODY"]._loaded_options = None - _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_NOBODY"]._serialized_options = b'\212\235 \020AccessTypeNobody' - _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_EVERYBODY"]._loaded_options = None - _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_EVERYBODY"]._serialized_options = b'\212\235 \023AccessTypeEverybody' - _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_ANY_OF_ADDRESSES"]._loaded_options = None - _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_ANY_OF_ADDRESSES"]._serialized_options = b'\212\235 \030AccessTypeAnyOfAddresses' - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._loaded_options = None - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_options = b'\210\243\036\000' - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED"]._loaded_options = None - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 +ContractCodeHistoryOperationTypeUnspecified' - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT"]._loaded_options = None - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT"]._serialized_options = b'\212\235 $ContractCodeHistoryOperationTypeInit' - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE"]._loaded_options = None - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE"]._serialized_options = b'\212\235 \'ContractCodeHistoryOperationTypeMigrate' - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS"]._loaded_options = None - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS"]._serialized_options = b'\212\235 \'ContractCodeHistoryOperationTypeGenesis' - _globals['_ACCESSTYPEPARAM'].fields_by_name['value']._loaded_options = None - _globals['_ACCESSTYPEPARAM'].fields_by_name['value']._serialized_options = b'\362\336\037\014yaml:\"value\"' - _globals['_ACCESSTYPEPARAM']._loaded_options = None - _globals['_ACCESSTYPEPARAM']._serialized_options = b'\230\240\037\001' - _globals['_ACCESSCONFIG'].fields_by_name['permission']._loaded_options = None - _globals['_ACCESSCONFIG'].fields_by_name['permission']._serialized_options = b'\362\336\037\021yaml:\"permission\"' - _globals['_ACCESSCONFIG'].fields_by_name['addresses']._loaded_options = None - _globals['_ACCESSCONFIG'].fields_by_name['addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_ACCESSCONFIG']._loaded_options = None - _globals['_ACCESSCONFIG']._serialized_options = b'\230\240\037\001' - _globals['_PARAMS'].fields_by_name['code_upload_access']._loaded_options = None - _globals['_PARAMS'].fields_by_name['code_upload_access']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"code_upload_access\"\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['instantiate_default_permission']._loaded_options = None - _globals['_PARAMS'].fields_by_name['instantiate_default_permission']._serialized_options = b'\362\336\037%yaml:\"instantiate_default_permission\"' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\230\240\037\000' - _globals['_CODEINFO'].fields_by_name['creator']._loaded_options = None - _globals['_CODEINFO'].fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_CODEINFO'].fields_by_name['instantiate_config']._loaded_options = None - _globals['_CODEINFO'].fields_by_name['instantiate_config']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CONTRACTINFO'].fields_by_name['code_id']._loaded_options = None - _globals['_CONTRACTINFO'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_CONTRACTINFO'].fields_by_name['creator']._loaded_options = None - _globals['_CONTRACTINFO'].fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_CONTRACTINFO'].fields_by_name['admin']._loaded_options = None - _globals['_CONTRACTINFO'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_CONTRACTINFO'].fields_by_name['ibc_port_id']._loaded_options = None - _globals['_CONTRACTINFO'].fields_by_name['ibc_port_id']._serialized_options = b'\342\336\037\tIBCPortID' - _globals['_CONTRACTINFO'].fields_by_name['extension']._loaded_options = None - _globals['_CONTRACTINFO'].fields_by_name['extension']._serialized_options = b'\312\264-&cosmwasm.wasm.v1.ContractInfoExtension' - _globals['_CONTRACTINFO']._loaded_options = None - _globals['_CONTRACTINFO']._serialized_options = b'\350\240\037\001' - _globals['_CONTRACTCODEHISTORYENTRY'].fields_by_name['code_id']._loaded_options = None - _globals['_CONTRACTCODEHISTORYENTRY'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_CONTRACTCODEHISTORYENTRY'].fields_by_name['msg']._loaded_options = None - _globals['_CONTRACTCODEHISTORYENTRY'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MODEL'].fields_by_name['key']._loaded_options = None - _globals['_MODEL'].fields_by_name['key']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' - _globals['_EVENTCODESTORED'].fields_by_name['code_id']._loaded_options = None - _globals['_EVENTCODESTORED'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['code_id']._loaded_options = None - _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['funds']._loaded_options = None - _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['msg']._loaded_options = None - _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _globals['_EVENTCONTRACTMIGRATED'].fields_by_name['code_id']._loaded_options = None - _globals['_EVENTCONTRACTMIGRATED'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_EVENTCONTRACTMIGRATED'].fields_by_name['msg']._loaded_options = None - _globals['_EVENTCONTRACTMIGRATED'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _globals['_ACCESSTYPE']._serialized_start=2510 - _globals['_ACCESSTYPE']._serialized_end=2756 - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_start=2759 - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_end=3181 - _globals['_ACCESSTYPEPARAM']._serialized_start=177 - _globals['_ACCESSTYPEPARAM']._serialized_end=270 - _globals['_ACCESSCONFIG']._serialized_start=273 - _globals['_ACCESSCONFIG']._serialized_end=440 - _globals['_PARAMS']._serialized_start=443 - _globals['_PARAMS']._serialized_end=719 - _globals['_CODEINFO']._serialized_start=722 - _globals['_CODEINFO']._serialized_end=915 - _globals['_CONTRACTINFO']._serialized_start=918 - _globals['_CONTRACTINFO']._serialized_end=1304 - _globals['_CONTRACTCODEHISTORYENTRY']._serialized_start=1307 - _globals['_CONTRACTCODEHISTORYENTRY']._serialized_end=1574 - _globals['_ABSOLUTETXPOSITION']._serialized_start=1576 - _globals['_ABSOLUTETXPOSITION']._serialized_end=1658 - _globals['_MODEL']._serialized_start=1660 - _globals['_MODEL']._serialized_end=1761 - _globals['_EVENTCODESTORED']._serialized_start=1764 - _globals['_EVENTCODESTORED']._serialized_end=1941 - _globals['_EVENTCONTRACTINSTANTIATED']._serialized_start=1944 - _globals['_EVENTCONTRACTINSTANTIATED']._serialized_end=2262 - _globals['_EVENTCONTRACTMIGRATED']._serialized_start=2265 - _globals['_EVENTCONTRACTMIGRATED']._serialized_end=2410 - _globals['_EVENTCONTRACTADMINSET']._serialized_start=2412 - _globals['_EVENTCONTRACTADMINSET']._serialized_end=2507 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/google/api/annotations_pb2.py b/pyinjective/proto/google/api/annotations_pb2.py index e746af34..984fed1f 100644 --- a/pyinjective/proto/google/api/annotations_pb2.py +++ b/pyinjective/proto/google/api/annotations_pb2.py @@ -12,7 +12,7 @@ _sym_db = _symbol_database.Default() -from pyinjective.proto.google.api import http_pb2 as google_dot_api_dot_http__pb2 +from google.api import http_pb2 as google_dot_api_dot_http__pb2 from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 diff --git a/pyinjective/proto/google/api/client_pb2.py b/pyinjective/proto/google/api/client_pb2.py index 57d8f80c..c010202a 100644 --- a/pyinjective/proto/google/api/client_pb2.py +++ b/pyinjective/proto/google/api/client_pb2.py @@ -12,12 +12,12 @@ _sym_db = _symbol_database.Default() -from pyinjective.proto.google.api import launch_stage_pb2 as google_dot_api_dot_launch__stage__pb2 +from google.api import launch_stage_pb2 as google_dot_api_dot_launch__stage__pb2 from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17google/api/client.proto\x12\ngoogle.api\x1a\x1dgoogle/api/launch_stage.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\"\x94\x01\n\x16\x43ommonLanguageSettings\x12\x30\n\x12reference_docs_uri\x18\x01 \x01(\tB\x02\x18\x01R\x10referenceDocsUri\x12H\n\x0c\x64\x65stinations\x18\x02 \x03(\x0e\x32$.google.api.ClientLibraryDestinationR\x0c\x64\x65stinations\"\x93\x05\n\x15\x43lientLibrarySettings\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12:\n\x0claunch_stage\x18\x02 \x01(\x0e\x32\x17.google.api.LaunchStageR\x0blaunchStage\x12,\n\x12rest_numeric_enums\x18\x03 \x01(\x08R\x10restNumericEnums\x12=\n\rjava_settings\x18\x15 \x01(\x0b\x32\x18.google.api.JavaSettingsR\x0cjavaSettings\x12:\n\x0c\x63pp_settings\x18\x16 \x01(\x0b\x32\x17.google.api.CppSettingsR\x0b\x63ppSettings\x12:\n\x0cphp_settings\x18\x17 \x01(\x0b\x32\x17.google.api.PhpSettingsR\x0bphpSettings\x12\x43\n\x0fpython_settings\x18\x18 \x01(\x0b\x32\x1a.google.api.PythonSettingsR\x0epythonSettings\x12=\n\rnode_settings\x18\x19 \x01(\x0b\x32\x18.google.api.NodeSettingsR\x0cnodeSettings\x12\x43\n\x0f\x64otnet_settings\x18\x1a \x01(\x0b\x32\x1a.google.api.DotnetSettingsR\x0e\x64otnetSettings\x12=\n\rruby_settings\x18\x1b \x01(\x0b\x32\x18.google.api.RubySettingsR\x0crubySettings\x12\x37\n\x0bgo_settings\x18\x1c \x01(\x0b\x32\x16.google.api.GoSettingsR\ngoSettings\"\xf4\x04\n\nPublishing\x12\x43\n\x0fmethod_settings\x18\x02 \x03(\x0b\x32\x1a.google.api.MethodSettingsR\x0emethodSettings\x12\"\n\rnew_issue_uri\x18\x65 \x01(\tR\x0bnewIssueUri\x12+\n\x11\x64ocumentation_uri\x18\x66 \x01(\tR\x10\x64ocumentationUri\x12$\n\x0e\x61pi_short_name\x18g \x01(\tR\x0c\x61piShortName\x12!\n\x0cgithub_label\x18h \x01(\tR\x0bgithubLabel\x12\x34\n\x16\x63odeowner_github_teams\x18i \x03(\tR\x14\x63odeownerGithubTeams\x12$\n\x0e\x64oc_tag_prefix\x18j \x01(\tR\x0c\x64ocTagPrefix\x12I\n\x0corganization\x18k \x01(\x0e\x32%.google.api.ClientLibraryOrganizationR\x0corganization\x12L\n\x10library_settings\x18m \x03(\x0b\x32!.google.api.ClientLibrarySettingsR\x0flibrarySettings\x12I\n!proto_reference_documentation_uri\x18n \x01(\tR\x1eprotoReferenceDocumentationUri\x12G\n rest_reference_documentation_uri\x18o \x01(\tR\x1drestReferenceDocumentationUri\"\x9a\x02\n\x0cJavaSettings\x12\'\n\x0flibrary_package\x18\x01 \x01(\tR\x0elibraryPackage\x12_\n\x13service_class_names\x18\x02 \x03(\x0b\x32/.google.api.JavaSettings.ServiceClassNamesEntryR\x11serviceClassNames\x12:\n\x06\x63ommon\x18\x03 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\x1a\x44\n\x16ServiceClassNamesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"I\n\x0b\x43ppSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"I\n\x0bPhpSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"\xfd\x01\n\x0ePythonSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\x12\x64\n\x15\x65xperimental_features\x18\x02 \x01(\x0b\x32/.google.api.PythonSettings.ExperimentalFeaturesR\x14\x65xperimentalFeatures\x1aI\n\x14\x45xperimentalFeatures\x12\x31\n\x15rest_async_io_enabled\x18\x01 \x01(\x08R\x12restAsyncIoEnabled\"J\n\x0cNodeSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"\xae\x04\n\x0e\x44otnetSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\x12Z\n\x10renamed_services\x18\x02 \x03(\x0b\x32/.google.api.DotnetSettings.RenamedServicesEntryR\x0frenamedServices\x12]\n\x11renamed_resources\x18\x03 \x03(\x0b\x32\x30.google.api.DotnetSettings.RenamedResourcesEntryR\x10renamedResources\x12+\n\x11ignored_resources\x18\x04 \x03(\tR\x10ignoredResources\x12\x38\n\x18\x66orced_namespace_aliases\x18\x05 \x03(\tR\x16\x66orcedNamespaceAliases\x12\x35\n\x16handwritten_signatures\x18\x06 \x03(\tR\x15handwrittenSignatures\x1a\x42\n\x14RenamedServicesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\x43\n\x15RenamedResourcesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"J\n\x0cRubySettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"H\n\nGoSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"\xc2\x03\n\x0eMethodSettings\x12\x1a\n\x08selector\x18\x01 \x01(\tR\x08selector\x12I\n\x0clong_running\x18\x02 \x01(\x0b\x32&.google.api.MethodSettings.LongRunningR\x0blongRunning\x12\x32\n\x15\x61uto_populated_fields\x18\x03 \x03(\tR\x13\x61utoPopulatedFields\x1a\x94\x02\n\x0bLongRunning\x12G\n\x12initial_poll_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10initialPollDelay\x12\x32\n\x15poll_delay_multiplier\x18\x02 \x01(\x02R\x13pollDelayMultiplier\x12?\n\x0emax_poll_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0cmaxPollDelay\x12G\n\x12total_poll_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10totalPollTimeout*\xa3\x01\n\x19\x43lientLibraryOrganization\x12+\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x43LOUD\x10\x01\x12\x07\n\x03\x41\x44S\x10\x02\x12\n\n\x06PHOTOS\x10\x03\x12\x0f\n\x0bSTREET_VIEW\x10\x04\x12\x0c\n\x08SHOPPING\x10\x05\x12\x07\n\x03GEO\x10\x06\x12\x11\n\rGENERATIVE_AI\x10\x07*g\n\x18\x43lientLibraryDestination\x12*\n&CLIENT_LIBRARY_DESTINATION_UNSPECIFIED\x10\x00\x12\n\n\x06GITHUB\x10\n\x12\x13\n\x0fPACKAGE_MANAGER\x10\x14:J\n\x10method_signature\x12\x1e.google.protobuf.MethodOptions\x18\x9b\x08 \x03(\tR\x0fmethodSignature:C\n\x0c\x64\x65\x66\x61ult_host\x12\x1f.google.protobuf.ServiceOptions\x18\x99\x08 \x01(\tR\x0b\x64\x65\x66\x61ultHost:C\n\x0coauth_scopes\x12\x1f.google.protobuf.ServiceOptions\x18\x9a\x08 \x01(\tR\x0boauthScopes:D\n\x0b\x61pi_version\x12\x1f.google.protobuf.ServiceOptions\x18\xc1\xba\xab\xfa\x01 \x01(\tR\napiVersionB\xa9\x01\n\x0e\x63om.google.apiB\x0b\x43lientProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x03GAX\xaa\x02\nGoogle.Api\xca\x02\nGoogle\\Api\xe2\x02\x16Google\\Api\\GPBMetadata\xea\x02\x0bGoogle::Apib\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17google/api/client.proto\x12\ngoogle.api\x1a\x1dgoogle/api/launch_stage.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\"\xf8\x01\n\x16\x43ommonLanguageSettings\x12\x30\n\x12reference_docs_uri\x18\x01 \x01(\tB\x02\x18\x01R\x10referenceDocsUri\x12H\n\x0c\x64\x65stinations\x18\x02 \x03(\x0e\x32$.google.api.ClientLibraryDestinationR\x0c\x64\x65stinations\x12\x62\n\x1aselective_gapic_generation\x18\x03 \x01(\x0b\x32$.google.api.SelectiveGapicGenerationR\x18selectiveGapicGeneration\"\x93\x05\n\x15\x43lientLibrarySettings\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12:\n\x0claunch_stage\x18\x02 \x01(\x0e\x32\x17.google.api.LaunchStageR\x0blaunchStage\x12,\n\x12rest_numeric_enums\x18\x03 \x01(\x08R\x10restNumericEnums\x12=\n\rjava_settings\x18\x15 \x01(\x0b\x32\x18.google.api.JavaSettingsR\x0cjavaSettings\x12:\n\x0c\x63pp_settings\x18\x16 \x01(\x0b\x32\x17.google.api.CppSettingsR\x0b\x63ppSettings\x12:\n\x0cphp_settings\x18\x17 \x01(\x0b\x32\x17.google.api.PhpSettingsR\x0bphpSettings\x12\x43\n\x0fpython_settings\x18\x18 \x01(\x0b\x32\x1a.google.api.PythonSettingsR\x0epythonSettings\x12=\n\rnode_settings\x18\x19 \x01(\x0b\x32\x18.google.api.NodeSettingsR\x0cnodeSettings\x12\x43\n\x0f\x64otnet_settings\x18\x1a \x01(\x0b\x32\x1a.google.api.DotnetSettingsR\x0e\x64otnetSettings\x12=\n\rruby_settings\x18\x1b \x01(\x0b\x32\x18.google.api.RubySettingsR\x0crubySettings\x12\x37\n\x0bgo_settings\x18\x1c \x01(\x0b\x32\x16.google.api.GoSettingsR\ngoSettings\"\xf4\x04\n\nPublishing\x12\x43\n\x0fmethod_settings\x18\x02 \x03(\x0b\x32\x1a.google.api.MethodSettingsR\x0emethodSettings\x12\"\n\rnew_issue_uri\x18\x65 \x01(\tR\x0bnewIssueUri\x12+\n\x11\x64ocumentation_uri\x18\x66 \x01(\tR\x10\x64ocumentationUri\x12$\n\x0e\x61pi_short_name\x18g \x01(\tR\x0c\x61piShortName\x12!\n\x0cgithub_label\x18h \x01(\tR\x0bgithubLabel\x12\x34\n\x16\x63odeowner_github_teams\x18i \x03(\tR\x14\x63odeownerGithubTeams\x12$\n\x0e\x64oc_tag_prefix\x18j \x01(\tR\x0c\x64ocTagPrefix\x12I\n\x0corganization\x18k \x01(\x0e\x32%.google.api.ClientLibraryOrganizationR\x0corganization\x12L\n\x10library_settings\x18m \x03(\x0b\x32!.google.api.ClientLibrarySettingsR\x0flibrarySettings\x12I\n!proto_reference_documentation_uri\x18n \x01(\tR\x1eprotoReferenceDocumentationUri\x12G\n rest_reference_documentation_uri\x18o \x01(\tR\x1drestReferenceDocumentationUri\"\x9a\x02\n\x0cJavaSettings\x12\'\n\x0flibrary_package\x18\x01 \x01(\tR\x0elibraryPackage\x12_\n\x13service_class_names\x18\x02 \x03(\x0b\x32/.google.api.JavaSettings.ServiceClassNamesEntryR\x11serviceClassNames\x12:\n\x06\x63ommon\x18\x03 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\x1a\x44\n\x16ServiceClassNamesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"I\n\x0b\x43ppSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"I\n\x0bPhpSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"\xc5\x02\n\x0ePythonSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\x12\x64\n\x15\x65xperimental_features\x18\x02 \x01(\x0b\x32/.google.api.PythonSettings.ExperimentalFeaturesR\x14\x65xperimentalFeatures\x1a\x90\x01\n\x14\x45xperimentalFeatures\x12\x31\n\x15rest_async_io_enabled\x18\x01 \x01(\x08R\x12restAsyncIoEnabled\x12\x45\n\x1fprotobuf_pythonic_types_enabled\x18\x02 \x01(\x08R\x1cprotobufPythonicTypesEnabled\"J\n\x0cNodeSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"\xae\x04\n\x0e\x44otnetSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\x12Z\n\x10renamed_services\x18\x02 \x03(\x0b\x32/.google.api.DotnetSettings.RenamedServicesEntryR\x0frenamedServices\x12]\n\x11renamed_resources\x18\x03 \x03(\x0b\x32\x30.google.api.DotnetSettings.RenamedResourcesEntryR\x10renamedResources\x12+\n\x11ignored_resources\x18\x04 \x03(\tR\x10ignoredResources\x12\x38\n\x18\x66orced_namespace_aliases\x18\x05 \x03(\tR\x16\x66orcedNamespaceAliases\x12\x35\n\x16handwritten_signatures\x18\x06 \x03(\tR\x15handwrittenSignatures\x1a\x42\n\x14RenamedServicesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\x43\n\x15RenamedResourcesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"J\n\x0cRubySettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"\xe4\x01\n\nGoSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\x12V\n\x10renamed_services\x18\x02 \x03(\x0b\x32+.google.api.GoSettings.RenamedServicesEntryR\x0frenamedServices\x1a\x42\n\x14RenamedServicesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xc2\x03\n\x0eMethodSettings\x12\x1a\n\x08selector\x18\x01 \x01(\tR\x08selector\x12I\n\x0clong_running\x18\x02 \x01(\x0b\x32&.google.api.MethodSettings.LongRunningR\x0blongRunning\x12\x32\n\x15\x61uto_populated_fields\x18\x03 \x03(\tR\x13\x61utoPopulatedFields\x1a\x94\x02\n\x0bLongRunning\x12G\n\x12initial_poll_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10initialPollDelay\x12\x32\n\x15poll_delay_multiplier\x18\x02 \x01(\x02R\x13pollDelayMultiplier\x12?\n\x0emax_poll_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0cmaxPollDelay\x12G\n\x12total_poll_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10totalPollTimeout\"4\n\x18SelectiveGapicGeneration\x12\x18\n\x07methods\x18\x01 \x03(\tR\x07methods*\xa3\x01\n\x19\x43lientLibraryOrganization\x12+\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x43LOUD\x10\x01\x12\x07\n\x03\x41\x44S\x10\x02\x12\n\n\x06PHOTOS\x10\x03\x12\x0f\n\x0bSTREET_VIEW\x10\x04\x12\x0c\n\x08SHOPPING\x10\x05\x12\x07\n\x03GEO\x10\x06\x12\x11\n\rGENERATIVE_AI\x10\x07*g\n\x18\x43lientLibraryDestination\x12*\n&CLIENT_LIBRARY_DESTINATION_UNSPECIFIED\x10\x00\x12\n\n\x06GITHUB\x10\n\x12\x13\n\x0fPACKAGE_MANAGER\x10\x14:J\n\x10method_signature\x12\x1e.google.protobuf.MethodOptions\x18\x9b\x08 \x03(\tR\x0fmethodSignature:C\n\x0c\x64\x65\x66\x61ult_host\x12\x1f.google.protobuf.ServiceOptions\x18\x99\x08 \x01(\tR\x0b\x64\x65\x66\x61ultHost:C\n\x0coauth_scopes\x12\x1f.google.protobuf.ServiceOptions\x18\x9a\x08 \x01(\tR\x0boauthScopes:D\n\x0b\x61pi_version\x12\x1f.google.protobuf.ServiceOptions\x18\xc1\xba\xab\xfa\x01 \x01(\tR\napiVersionB\xa9\x01\n\x0e\x63om.google.apiB\x0b\x43lientProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x03GAX\xaa\x02\nGoogle.Api\xca\x02\nGoogle\\Api\xe2\x02\x16Google\\Api\\GPBMetadata\xea\x02\x0bGoogle::Apib\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -33,42 +33,48 @@ _globals['_DOTNETSETTINGS_RENAMEDSERVICESENTRY']._serialized_options = b'8\001' _globals['_DOTNETSETTINGS_RENAMEDRESOURCESENTRY']._loaded_options = None _globals['_DOTNETSETTINGS_RENAMEDRESOURCESENTRY']._serialized_options = b'8\001' - _globals['_CLIENTLIBRARYORGANIZATION']._serialized_start=3512 - _globals['_CLIENTLIBRARYORGANIZATION']._serialized_end=3675 - _globals['_CLIENTLIBRARYDESTINATION']._serialized_start=3677 - _globals['_CLIENTLIBRARYDESTINATION']._serialized_end=3780 + _globals['_GOSETTINGS_RENAMEDSERVICESENTRY']._loaded_options = None + _globals['_GOSETTINGS_RENAMEDSERVICESENTRY']._serialized_options = b'8\001' + _globals['_CLIENTLIBRARYORGANIZATION']._serialized_start=3895 + _globals['_CLIENTLIBRARYORGANIZATION']._serialized_end=4058 + _globals['_CLIENTLIBRARYDESTINATION']._serialized_start=4060 + _globals['_CLIENTLIBRARYDESTINATION']._serialized_end=4163 _globals['_COMMONLANGUAGESETTINGS']._serialized_start=137 - _globals['_COMMONLANGUAGESETTINGS']._serialized_end=285 - _globals['_CLIENTLIBRARYSETTINGS']._serialized_start=288 - _globals['_CLIENTLIBRARYSETTINGS']._serialized_end=947 - _globals['_PUBLISHING']._serialized_start=950 - _globals['_PUBLISHING']._serialized_end=1578 - _globals['_JAVASETTINGS']._serialized_start=1581 - _globals['_JAVASETTINGS']._serialized_end=1863 - _globals['_JAVASETTINGS_SERVICECLASSNAMESENTRY']._serialized_start=1795 - _globals['_JAVASETTINGS_SERVICECLASSNAMESENTRY']._serialized_end=1863 - _globals['_CPPSETTINGS']._serialized_start=1865 - _globals['_CPPSETTINGS']._serialized_end=1938 - _globals['_PHPSETTINGS']._serialized_start=1940 - _globals['_PHPSETTINGS']._serialized_end=2013 - _globals['_PYTHONSETTINGS']._serialized_start=2016 - _globals['_PYTHONSETTINGS']._serialized_end=2269 - _globals['_PYTHONSETTINGS_EXPERIMENTALFEATURES']._serialized_start=2196 - _globals['_PYTHONSETTINGS_EXPERIMENTALFEATURES']._serialized_end=2269 - _globals['_NODESETTINGS']._serialized_start=2271 - _globals['_NODESETTINGS']._serialized_end=2345 - _globals['_DOTNETSETTINGS']._serialized_start=2348 - _globals['_DOTNETSETTINGS']._serialized_end=2906 - _globals['_DOTNETSETTINGS_RENAMEDSERVICESENTRY']._serialized_start=2771 - _globals['_DOTNETSETTINGS_RENAMEDSERVICESENTRY']._serialized_end=2837 - _globals['_DOTNETSETTINGS_RENAMEDRESOURCESENTRY']._serialized_start=2839 - _globals['_DOTNETSETTINGS_RENAMEDRESOURCESENTRY']._serialized_end=2906 - _globals['_RUBYSETTINGS']._serialized_start=2908 - _globals['_RUBYSETTINGS']._serialized_end=2982 - _globals['_GOSETTINGS']._serialized_start=2984 - _globals['_GOSETTINGS']._serialized_end=3056 - _globals['_METHODSETTINGS']._serialized_start=3059 - _globals['_METHODSETTINGS']._serialized_end=3509 - _globals['_METHODSETTINGS_LONGRUNNING']._serialized_start=3233 - _globals['_METHODSETTINGS_LONGRUNNING']._serialized_end=3509 + _globals['_COMMONLANGUAGESETTINGS']._serialized_end=385 + _globals['_CLIENTLIBRARYSETTINGS']._serialized_start=388 + _globals['_CLIENTLIBRARYSETTINGS']._serialized_end=1047 + _globals['_PUBLISHING']._serialized_start=1050 + _globals['_PUBLISHING']._serialized_end=1678 + _globals['_JAVASETTINGS']._serialized_start=1681 + _globals['_JAVASETTINGS']._serialized_end=1963 + _globals['_JAVASETTINGS_SERVICECLASSNAMESENTRY']._serialized_start=1895 + _globals['_JAVASETTINGS_SERVICECLASSNAMESENTRY']._serialized_end=1963 + _globals['_CPPSETTINGS']._serialized_start=1965 + _globals['_CPPSETTINGS']._serialized_end=2038 + _globals['_PHPSETTINGS']._serialized_start=2040 + _globals['_PHPSETTINGS']._serialized_end=2113 + _globals['_PYTHONSETTINGS']._serialized_start=2116 + _globals['_PYTHONSETTINGS']._serialized_end=2441 + _globals['_PYTHONSETTINGS_EXPERIMENTALFEATURES']._serialized_start=2297 + _globals['_PYTHONSETTINGS_EXPERIMENTALFEATURES']._serialized_end=2441 + _globals['_NODESETTINGS']._serialized_start=2443 + _globals['_NODESETTINGS']._serialized_end=2517 + _globals['_DOTNETSETTINGS']._serialized_start=2520 + _globals['_DOTNETSETTINGS']._serialized_end=3078 + _globals['_DOTNETSETTINGS_RENAMEDSERVICESENTRY']._serialized_start=2943 + _globals['_DOTNETSETTINGS_RENAMEDSERVICESENTRY']._serialized_end=3009 + _globals['_DOTNETSETTINGS_RENAMEDRESOURCESENTRY']._serialized_start=3011 + _globals['_DOTNETSETTINGS_RENAMEDRESOURCESENTRY']._serialized_end=3078 + _globals['_RUBYSETTINGS']._serialized_start=3080 + _globals['_RUBYSETTINGS']._serialized_end=3154 + _globals['_GOSETTINGS']._serialized_start=3157 + _globals['_GOSETTINGS']._serialized_end=3385 + _globals['_GOSETTINGS_RENAMEDSERVICESENTRY']._serialized_start=2943 + _globals['_GOSETTINGS_RENAMEDSERVICESENTRY']._serialized_end=3009 + _globals['_METHODSETTINGS']._serialized_start=3388 + _globals['_METHODSETTINGS']._serialized_end=3838 + _globals['_METHODSETTINGS_LONGRUNNING']._serialized_start=3562 + _globals['_METHODSETTINGS_LONGRUNNING']._serialized_end=3838 + _globals['_SELECTIVEGAPICGENERATION']._serialized_start=3840 + _globals['_SELECTIVEGAPICGENERATION']._serialized_end=3892 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/api/expr/v1alpha1/checked_pb2.py b/pyinjective/proto/google/api/expr/v1alpha1/checked_pb2.py index 1aef2660..f0101f4c 100644 --- a/pyinjective/proto/google/api/expr/v1alpha1/checked_pb2.py +++ b/pyinjective/proto/google/api/expr/v1alpha1/checked_pb2.py @@ -12,7 +12,7 @@ _sym_db = _symbol_database.Default() -from pyinjective.proto.google.api.expr.v1alpha1 import syntax_pb2 as google_dot_api_dot_expr_dot_v1alpha1_dot_syntax__pb2 +from google.api.expr.v1alpha1 import syntax_pb2 as google_dot_api_dot_expr_dot_v1alpha1_dot_syntax__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 diff --git a/pyinjective/proto/google/api/expr/v1alpha1/eval_pb2.py b/pyinjective/proto/google/api/expr/v1alpha1/eval_pb2.py index aac8f1d4..a0371b5e 100644 --- a/pyinjective/proto/google/api/expr/v1alpha1/eval_pb2.py +++ b/pyinjective/proto/google/api/expr/v1alpha1/eval_pb2.py @@ -12,7 +12,7 @@ _sym_db = _symbol_database.Default() -from pyinjective.proto.google.api.expr.v1alpha1 import value_pb2 as google_dot_api_dot_expr_dot_v1alpha1_dot_value__pb2 +from google.api.expr.v1alpha1 import value_pb2 as google_dot_api_dot_expr_dot_v1alpha1_dot_value__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 diff --git a/pyinjective/proto/google/api/expr/v1alpha1/explain_pb2.py b/pyinjective/proto/google/api/expr/v1alpha1/explain_pb2.py index 8bc899e7..908a7e4c 100644 --- a/pyinjective/proto/google/api/expr/v1alpha1/explain_pb2.py +++ b/pyinjective/proto/google/api/expr/v1alpha1/explain_pb2.py @@ -12,7 +12,7 @@ _sym_db = _symbol_database.Default() -from pyinjective.proto.google.api.expr.v1alpha1 import value_pb2 as google_dot_api_dot_expr_dot_v1alpha1_dot_value__pb2 +from google.api.expr.v1alpha1 import value_pb2 as google_dot_api_dot_expr_dot_v1alpha1_dot_value__pb2 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&google/api/expr/v1alpha1/explain.proto\x12\x18google.api.expr.v1alpha1\x1a$google/api/expr/v1alpha1/value.proto\"\xce\x01\n\x07\x45xplain\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\x1f.google.api.expr.v1alpha1.ValueR\x06values\x12I\n\nexpr_steps\x18\x02 \x03(\x0b\x32*.google.api.expr.v1alpha1.Explain.ExprStepR\texprSteps\x1a;\n\x08\x45xprStep\x12\x0e\n\x02id\x18\x01 \x01(\x03R\x02id\x12\x1f\n\x0bvalue_index\x18\x02 \x01(\x05R\nvalueIndex:\x02\x18\x01\x42\xf0\x01\n\x1c\x63om.google.api.expr.v1alpha1B\x0c\x45xplainProtoP\x01Zibc/applications/interchain_accounts/controller/v1/query.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x1cgoogle/api/annotations.proto\"Z\n\x1dQueryInterchainAccountRequest\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId\":\n\x1eQueryInterchainAccountResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"\x14\n\x12QueryParamsRequest\"i\n\x13QueryParamsResponse\x12R\n\x06params\x18\x01 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsR\x06params2\xfc\x03\n\x05Query\x12\x9a\x02\n\x11InterchainAccount\x12Q.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest\x1aR.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse\"^\x82\xd3\xe4\x93\x02X\x12V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}\x12\xd5\x01\n\x06Params\x12\x46.ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest\x1aG.ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/ibc/apps/interchain_accounts/controller/v1/paramsB\xff\x02\n6com.ibc.applications.interchain_accounts.controller.v1B\nQueryProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n6com.ibc.applications.interchain_accounts.controller.v1B\nQueryProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1' - _globals['_QUERY'].methods_by_name['InterchainAccount']._loaded_options = None - _globals['_QUERY'].methods_by_name['InterchainAccount']._serialized_options = b'\202\323\344\223\002X\022V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\0024\0222/ibc/apps/interchain_accounts/controller/v1/params' - _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_start=217 - _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_end=307 - _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_start=309 - _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_end=367 - _globals['_QUERYPARAMSREQUEST']._serialized_start=369 - _globals['_QUERYPARAMSREQUEST']._serialized_end=389 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=391 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=496 - _globals['_QUERY']._serialized_start=499 - _globals['_QUERY']._serialized_end=1007 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2_grpc.py deleted file mode 100644 index 20b6b332..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2_grpc.py +++ /dev/null @@ -1,125 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import query_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2 - - -class QueryStub(object): - """Query provides defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.InterchainAccount = channel.unary_unary( - '/ibc.applications.interchain_accounts.controller.v1.Query/InterchainAccount', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountResponse.FromString, - _registered_method=True) - self.Params = channel.unary_unary( - '/ibc.applications.interchain_accounts.controller.v1.Query/Params', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query provides defines the gRPC querier service. - """ - - def InterchainAccount(self, request, context): - """InterchainAccount returns the interchain account address for a given owner address on a given connection - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Params(self, request, context): - """Params queries all parameters of the ICA controller submodule. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'InterchainAccount': grpc.unary_unary_rpc_method_handler( - servicer.InterchainAccount, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountRequest.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountResponse.SerializeToString, - ), - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.applications.interchain_accounts.controller.v1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.applications.interchain_accounts.controller.v1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query provides defines the gRPC querier service. - """ - - @staticmethod - def InterchainAccount(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.applications.interchain_accounts.controller.v1.Query/InterchainAccount', - ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountRequest.SerializeToString, - ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.applications.interchain_accounts.controller.v1.Query/Params', - ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py deleted file mode 100644 index b28dfc6d..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py +++ /dev/null @@ -1,60 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/applications/interchain_accounts/controller/v1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.ibc.applications.interchain_accounts.v1 import packet_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_v1_dot_packet__pb2 -from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;ibc/applications/interchain_accounts/controller/v1/tx.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x14gogoproto/gogo.proto\x1a\x34ibc/applications/interchain_accounts/v1/packet.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a!ibc/core/channel/v1/channel.proto\"\xbb\x01\n\x1cMsgRegisterInterchainAccount\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x36\n\x08ordering\x18\x04 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner\"d\n$MsgRegisterInterchainAccountResponse\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId:\x04\x88\xa0\x1f\x00\"\xee\x01\n\tMsgSendTx\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId\x12k\n\x0bpacket_data\x18\x03 \x01(\x0b\x32\x44.ibc.applications.interchain_accounts.v1.InterchainAccountPacketDataB\x04\xc8\xde\x1f\x00R\npacketData\x12)\n\x10relative_timeout\x18\x04 \x01(\x04R\x0frelativeTimeout:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner\"5\n\x11MsgSendTxResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00\"\x94\x01\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12X\n\x06params\x18\x02 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\x8a\x04\n\x03Msg\x12\xc7\x01\n\x19RegisterInterchainAccount\x12P.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount\x1aX.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse\x12\x8e\x01\n\x06SendTx\x12=.ibc.applications.interchain_accounts.controller.v1.MsgSendTx\x1a\x45.ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse\x12\xa0\x01\n\x0cUpdateParams\x12\x43.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams\x1aK.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xfc\x02\n6com.ibc.applications.interchain_accounts.controller.v1B\x07TxProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n6com.ibc.applications.interchain_accounts.controller.v1B\007TxProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1' - _globals['_MSGREGISTERINTERCHAINACCOUNT']._loaded_options = None - _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_options = b'\210\240\037\000\202\347\260*\005owner' - _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._loaded_options = None - _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGSENDTX'].fields_by_name['packet_data']._loaded_options = None - _globals['_MSGSENDTX'].fields_by_name['packet_data']._serialized_options = b'\310\336\037\000' - _globals['_MSGSENDTX']._loaded_options = None - _globals['_MSGSENDTX']._serialized_options = b'\210\240\037\000\202\347\260*\005owner' - _globals['_MSGSENDTXRESPONSE']._loaded_options = None - _globals['_MSGSENDTXRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_start=321 - _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_end=508 - _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_start=510 - _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_end=610 - _globals['_MSGSENDTX']._serialized_start=613 - _globals['_MSGSENDTX']._serialized_end=851 - _globals['_MSGSENDTXRESPONSE']._serialized_start=853 - _globals['_MSGSENDTXRESPONSE']._serialized_end=906 - _globals['_MSGUPDATEPARAMS']._serialized_start=909 - _globals['_MSGUPDATEPARAMS']._serialized_end=1057 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1059 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1084 - _globals['_MSG']._serialized_start=1087 - _globals['_MSG']._serialized_end=1609 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py deleted file mode 100644 index bc8d5510..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py +++ /dev/null @@ -1,169 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import tx_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the 27-interchain-accounts/controller Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.RegisterInterchainAccount = channel.unary_unary( - '/ibc.applications.interchain_accounts.controller.v1.Msg/RegisterInterchainAccount', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccount.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccountResponse.FromString, - _registered_method=True) - self.SendTx = channel.unary_unary( - '/ibc.applications.interchain_accounts.controller.v1.Msg/SendTx', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.FromString, - _registered_method=True) - self.UpdateParams = channel.unary_unary( - '/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the 27-interchain-accounts/controller Msg service. - """ - - def RegisterInterchainAccount(self, request, context): - """RegisterInterchainAccount defines a rpc handler for MsgRegisterInterchainAccount. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SendTx(self, request, context): - """SendTx defines a rpc handler for MsgSendTx. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """UpdateParams defines a rpc handler for MsgUpdateParams. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'RegisterInterchainAccount': grpc.unary_unary_rpc_method_handler( - servicer.RegisterInterchainAccount, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccount.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccountResponse.SerializeToString, - ), - 'SendTx': grpc.unary_unary_rpc_method_handler( - servicer.SendTx, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.applications.interchain_accounts.controller.v1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.applications.interchain_accounts.controller.v1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the 27-interchain-accounts/controller Msg service. - """ - - @staticmethod - def RegisterInterchainAccount(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.applications.interchain_accounts.controller.v1.Msg/RegisterInterchainAccount', - ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccount.SerializeToString, - ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccountResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SendTx(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.applications.interchain_accounts.controller.v1.Msg/SendTx', - ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.SerializeToString, - ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams', - ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py deleted file mode 100644 index 194654ee..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py +++ /dev/null @@ -1,54 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/applications/interchain_accounts/genesis/v1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2 -from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=ibc/applications/interchain_accounts/genesis/v1/genesis.proto\x12/ibc.applications.interchain_accounts.genesis.v1\x1a\x14gogoproto/gogo.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x8f\x02\n\x0cGenesisState\x12\x87\x01\n\x18\x63ontroller_genesis_state\x18\x01 \x01(\x0b\x32G.ibc.applications.interchain_accounts.genesis.v1.ControllerGenesisStateB\x04\xc8\xde\x1f\x00R\x16\x63ontrollerGenesisState\x12u\n\x12host_genesis_state\x18\x02 \x01(\x0b\x32\x41.ibc.applications.interchain_accounts.genesis.v1.HostGenesisStateB\x04\xc8\xde\x1f\x00R\x10hostGenesisState\"\xfd\x02\n\x16\x43ontrollerGenesisState\x12m\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00R\x0e\x61\x63tiveChannels\x12\x83\x01\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00R\x12interchainAccounts\x12\x14\n\x05ports\x18\x03 \x03(\tR\x05ports\x12X\n\x06params\x18\x04 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\xef\x02\n\x10HostGenesisState\x12m\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00R\x0e\x61\x63tiveChannels\x12\x83\x01\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00R\x12interchainAccounts\x12\x12\n\x04port\x18\x03 \x01(\tR\x04port\x12R\n\x06params\x18\x04 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\xa0\x01\n\rActiveChannel\x12#\n\rconnection_id\x18\x01 \x01(\tR\x0c\x63onnectionId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x03 \x01(\tR\tchannelId\x12\x32\n\x15is_middleware_enabled\x18\x04 \x01(\x08R\x13isMiddlewareEnabled\"\x84\x01\n\x1bRegisteredInterchainAccount\x12#\n\rconnection_id\x18\x01 \x01(\tR\x0c\x63onnectionId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tR\x0e\x61\x63\x63ountAddressB\xef\x02\n3com.ibc.applications.interchain_accounts.genesis.v1B\x0cGenesisProtoP\x01ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types\xa2\x02\x04IAIG\xaa\x02.Ibc.Applications.InterchainAccounts.Genesis.V1\xca\x02.Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\xe2\x02:Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\\GPBMetadata\xea\x02\x32Ibc::Applications::InterchainAccounts::Genesis::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.genesis.v1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n3com.ibc.applications.interchain_accounts.genesis.v1B\014GenesisProtoP\001ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types\242\002\004IAIG\252\002.Ibc.Applications.InterchainAccounts.Genesis.V1\312\002.Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\342\002:Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\\GPBMetadata\352\0022Ibc::Applications::InterchainAccounts::Genesis::V1' - _globals['_GENESISSTATE'].fields_by_name['controller_genesis_state']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['controller_genesis_state']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['host_genesis_state']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['host_genesis_state']._serialized_options = b'\310\336\037\000' - _globals['_CONTROLLERGENESISSTATE'].fields_by_name['active_channels']._loaded_options = None - _globals['_CONTROLLERGENESISSTATE'].fields_by_name['active_channels']._serialized_options = b'\310\336\037\000' - _globals['_CONTROLLERGENESISSTATE'].fields_by_name['interchain_accounts']._loaded_options = None - _globals['_CONTROLLERGENESISSTATE'].fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000' - _globals['_CONTROLLERGENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_CONTROLLERGENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_HOSTGENESISSTATE'].fields_by_name['active_channels']._loaded_options = None - _globals['_HOSTGENESISSTATE'].fields_by_name['active_channels']._serialized_options = b'\310\336\037\000' - _globals['_HOSTGENESISSTATE'].fields_by_name['interchain_accounts']._loaded_options = None - _globals['_HOSTGENESISSTATE'].fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000' - _globals['_HOSTGENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_HOSTGENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=263 - _globals['_GENESISSTATE']._serialized_end=534 - _globals['_CONTROLLERGENESISSTATE']._serialized_start=537 - _globals['_CONTROLLERGENESISSTATE']._serialized_end=918 - _globals['_HOSTGENESISSTATE']._serialized_start=921 - _globals['_HOSTGENESISSTATE']._serialized_end=1288 - _globals['_ACTIVECHANNEL']._serialized_start=1291 - _globals['_ACTIVECHANNEL']._serialized_end=1451 - _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_start=1454 - _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_end=1586 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/applications/interchain_accounts/host/v1/host_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py deleted file mode 100644 index 8c967b28..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/applications/interchain_accounts/host/v1/host.proto -# Protobuf Python Version: 5.26.1 -"""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'\n7ibc/applications/interchain_accounts/host/v1/host.proto\x12,ibc.applications.interchain_accounts.host.v1\"R\n\x06Params\x12!\n\x0chost_enabled\x18\x01 \x01(\x08R\x0bhostEnabled\x12%\n\x0e\x61llow_messages\x18\x02 \x03(\tR\rallowMessages\"6\n\x0cQueryRequest\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61taB\xda\x02\n0com.ibc.applications.interchain_accounts.host.v1B\tHostProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.host_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n0com.ibc.applications.interchain_accounts.host.v1B\tHostProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1' - _globals['_PARAMS']._serialized_start=105 - _globals['_PARAMS']._serialized_end=187 - _globals['_QUERYREQUEST']._serialized_start=189 - _globals['_QUERYREQUEST']._serialized_end=243 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/applications/interchain_accounts/host/v1/query_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py deleted file mode 100644 index fa34caa5..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/applications/interchain_accounts/host/v1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8ibc/applications/interchain_accounts/host/v1/query.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x14\n\x12QueryParamsRequest\"c\n\x13QueryParamsResponse\x12L\n\x06params\x18\x01 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsR\x06params2\xcd\x01\n\x05Query\x12\xc3\x01\n\x06Params\x12@.ibc.applications.interchain_accounts.host.v1.QueryParamsRequest\x1a\x41.ibc.applications.interchain_accounts.host.v1.QueryParamsResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/interchain_accounts/host/v1/paramsB\xdb\x02\n0com.ibc.applications.interchain_accounts.host.v1B\nQueryProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n0com.ibc.applications.interchain_accounts.host.v1B\nQueryProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002.\022,/ibc/apps/interchain_accounts/host/v1/params' - _globals['_QUERYPARAMSREQUEST']._serialized_start=193 - _globals['_QUERYPARAMSREQUEST']._serialized_end=213 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=215 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=314 - _globals['_QUERY']._serialized_start=317 - _globals['_QUERY']._serialized_end=522 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2_grpc.py deleted file mode 100644 index 705d751a..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2_grpc.py +++ /dev/null @@ -1,81 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import query_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2 - - -class QueryStub(object): - """Query provides defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Params = channel.unary_unary( - '/ibc.applications.interchain_accounts.host.v1.Query/Params', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query provides defines the gRPC querier service. - """ - - def Params(self, request, context): - """Params queries all parameters of the ICA host submodule. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.applications.interchain_accounts.host.v1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.applications.interchain_accounts.host.v1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query provides defines the gRPC querier service. - """ - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.applications.interchain_accounts.host.v1.Query/Params', - ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py deleted file mode 100644 index ae1b1562..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py +++ /dev/null @@ -1,46 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/applications/interchain_accounts/host/v1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/host/v1/tx.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x8e\x01\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12R\n\x06params\x18\x02 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse\"\x95\x01\n\x12MsgModuleQuerySafe\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12V\n\x08requests\x18\x02 \x03(\x0b\x32:.ibc.applications.interchain_accounts.host.v1.QueryRequestR\x08requests:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"R\n\x1aMsgModuleQuerySafeResponse\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x1c\n\tresponses\x18\x02 \x03(\x0cR\tresponses2\xc3\x02\n\x03Msg\x12\x94\x01\n\x0cUpdateParams\x12=.ibc.applications.interchain_accounts.host.v1.MsgUpdateParams\x1a\x45.ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse\x12\x9d\x01\n\x0fModuleQuerySafe\x12@.ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe\x1aH.ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafeResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd8\x02\n0com.ibc.applications.interchain_accounts.host.v1B\x07TxProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n0com.ibc.applications.interchain_accounts.host.v1B\007TxProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGMODULEQUERYSAFE']._loaded_options = None - _globals['_MSGMODULEQUERYSAFE']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGUPDATEPARAMS']._serialized_start=208 - _globals['_MSGUPDATEPARAMS']._serialized_end=350 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=352 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=377 - _globals['_MSGMODULEQUERYSAFE']._serialized_start=380 - _globals['_MSGMODULEQUERYSAFE']._serialized_end=529 - _globals['_MSGMODULEQUERYSAFERESPONSE']._serialized_start=531 - _globals['_MSGMODULEQUERYSAFERESPONSE']._serialized_end=613 - _globals['_MSG']._serialized_start=616 - _globals['_MSG']._serialized_end=939 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py deleted file mode 100644 index 67d91a1e..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py +++ /dev/null @@ -1,125 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import tx_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the 27-interchain-accounts/host Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.UpdateParams = channel.unary_unary( - '/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - self.ModuleQuerySafe = channel.unary_unary( - '/ibc.applications.interchain_accounts.host.v1.Msg/ModuleQuerySafe', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafe.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafeResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the 27-interchain-accounts/host Msg service. - """ - - def UpdateParams(self, request, context): - """UpdateParams defines a rpc handler for MsgUpdateParams. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ModuleQuerySafe(self, request, context): - """ModuleQuerySafe defines a rpc handler for MsgModuleQuerySafe. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'ModuleQuerySafe': grpc.unary_unary_rpc_method_handler( - servicer.ModuleQuerySafe, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafe.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafeResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.applications.interchain_accounts.host.v1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.applications.interchain_accounts.host.v1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the 27-interchain-accounts/host Msg service. - """ - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams', - ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ModuleQuerySafe(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.applications.interchain_accounts.host.v1.Msg/ModuleQuerySafe', - ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafe.SerializeToString, - ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py deleted file mode 100644 index 256eb9e6..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/applications/interchain_accounts/v1/account.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/v1/account.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xcb\x01\n\x11InterchainAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12#\n\raccount_owner\x18\x02 \x01(\tR\x0c\x61\x63\x63ountOwner:F\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xca\xb4-:ibc.applications.interchain_accounts.v1.InterchainAccountIB\xbd\x02\n+com.ibc.applications.interchain_accounts.v1B\x0c\x41\x63\x63ountProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.account_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n+com.ibc.applications.interchain_accounts.v1B\014AccountProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1' - _globals['_INTERCHAINACCOUNT'].fields_by_name['base_account']._loaded_options = None - _globals['_INTERCHAINACCOUNT'].fields_by_name['base_account']._serialized_options = b'\320\336\037\001' - _globals['_INTERCHAINACCOUNT']._loaded_options = None - _globals['_INTERCHAINACCOUNT']._serialized_options = b'\210\240\037\000\230\240\037\000\312\264-:ibc.applications.interchain_accounts.v1.InterchainAccountI' - _globals['_INTERCHAINACCOUNT']._serialized_start=180 - _globals['_INTERCHAINACCOUNT']._serialized_end=383 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/applications/interchain_accounts/v1/metadata_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py deleted file mode 100644 index 86ec209d..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/applications/interchain_accounts/v1/metadata.proto -# Protobuf Python Version: 5.26.1 -"""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'\n6ibc/applications/interchain_accounts/v1/metadata.proto\x12\'ibc.applications.interchain_accounts.v1\"\xdb\x01\n\x08Metadata\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x38\n\x18\x63ontroller_connection_id\x18\x02 \x01(\tR\x16\x63ontrollerConnectionId\x12,\n\x12host_connection_id\x18\x03 \x01(\tR\x10hostConnectionId\x12\x18\n\x07\x61\x64\x64ress\x18\x04 \x01(\tR\x07\x61\x64\x64ress\x12\x1a\n\x08\x65ncoding\x18\x05 \x01(\tR\x08\x65ncoding\x12\x17\n\x07tx_type\x18\x06 \x01(\tR\x06txTypeB\xbe\x02\n+com.ibc.applications.interchain_accounts.v1B\rMetadataProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.metadata_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n+com.ibc.applications.interchain_accounts.v1B\rMetadataProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1' - _globals['_METADATA']._serialized_start=100 - _globals['_METADATA']._serialized_end=319 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/applications/interchain_accounts/v1/packet_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py deleted file mode 100644 index b5369237..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/applications/interchain_accounts/v1/packet.proto -# Protobuf Python Version: 5.26.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4ibc/applications/interchain_accounts/v1/packet.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\"\x88\x01\n\x1bInterchainAccountPacketData\x12\x41\n\x04type\x18\x01 \x01(\x0e\x32-.ibc.applications.interchain_accounts.v1.TypeR\x04type\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04memo\x18\x03 \x01(\tR\x04memo\"<\n\x08\x43osmosTx\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages*X\n\x04Type\x12%\n\x10TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12#\n\x0fTYPE_EXECUTE_TX\x10\x01\x1a\x0e\x8a\x9d \nEXECUTE_TX\x1a\x04\x88\xa3\x1e\x00\x42\xbc\x02\n+com.ibc.applications.interchain_accounts.v1B\x0bPacketProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.packet_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n+com.ibc.applications.interchain_accounts.v1B\013PacketProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1' - _globals['_TYPE']._loaded_options = None - _globals['_TYPE']._serialized_options = b'\210\243\036\000' - _globals['_TYPE'].values_by_name["TYPE_UNSPECIFIED"]._loaded_options = None - _globals['_TYPE'].values_by_name["TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' - _globals['_TYPE'].values_by_name["TYPE_EXECUTE_TX"]._loaded_options = None - _globals['_TYPE'].values_by_name["TYPE_EXECUTE_TX"]._serialized_options = b'\212\235 \nEXECUTE_TX' - _globals['_TYPE']._serialized_start=347 - _globals['_TYPE']._serialized_end=435 - _globals['_INTERCHAINACCOUNTPACKETDATA']._serialized_start=147 - _globals['_INTERCHAINACCOUNTPACKETDATA']._serialized_end=283 - _globals['_COSMOSTX']._serialized_start=285 - _globals['_COSMOSTX']._serialized_end=345 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/applications/transfer/v1/authz_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py deleted file mode 100644 index 3d4eef1e..00000000 --- a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py +++ /dev/null @@ -1,38 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/applications/transfer/v1/authz.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/authz.proto\x12\x1cibc.applications.transfer.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x91\x02\n\nAllocation\x12\x1f\n\x0bsource_port\x18\x01 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x02 \x01(\tR\rsourceChannel\x12l\n\x0bspend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\nspendLimit\x12\x1d\n\nallow_list\x18\x04 \x03(\tR\tallowList\x12.\n\x13\x61llowed_packet_data\x18\x05 \x03(\tR\x11\x61llowedPacketData\"\x91\x01\n\x15TransferAuthorization\x12P\n\x0b\x61llocations\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.AllocationB\x04\xc8\xde\x1f\x00R\x0b\x61llocations:&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationB\xfa\x01\n com.ibc.applications.transfer.v1B\nAuthzProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.authz_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\nAuthzProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' - _globals['_ALLOCATION'].fields_by_name['spend_limit']._loaded_options = None - _globals['_ALLOCATION'].fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_TRANSFERAUTHORIZATION'].fields_by_name['allocations']._loaded_options = None - _globals['_TRANSFERAUTHORIZATION'].fields_by_name['allocations']._serialized_options = b'\310\336\037\000' - _globals['_TRANSFERAUTHORIZATION']._loaded_options = None - _globals['_TRANSFERAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' - _globals['_ALLOCATION']._serialized_start=156 - _globals['_ALLOCATION']._serialized_end=429 - _globals['_TRANSFERAUTHORIZATION']._serialized_start=432 - _globals['_TRANSFERAUTHORIZATION']._serialized_end=577 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/applications/transfer/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py deleted file mode 100644 index 60e49908..00000000 --- a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/applications/transfer/v1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*ibc/applications/transfer/v1/genesis.proto\x12\x1cibc.applications.transfer.v1\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\"\xbc\x02\n\x0cGenesisState\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12[\n\x0c\x64\x65nom_traces\x18\x02 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06TracesR\x0b\x64\x65nomTraces\x12\x42\n\x06params\x18\x03 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12r\n\x0etotal_escrowed\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\rtotalEscrowedB\xfc\x01\n com.ibc.applications.transfer.v1B\x0cGenesisProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\014GenesisProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' - _globals['_GENESISSTATE'].fields_by_name['denom_traces']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\252\337\037\006Traces' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['total_escrowed']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['total_escrowed']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_GENESISSTATE']._serialized_start=176 - _globals['_GENESISSTATE']._serialized_end=492 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/applications/transfer/v1/query_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py deleted file mode 100644 index eb1189bc..00000000 --- a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py +++ /dev/null @@ -1,72 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/applications/transfer/v1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 -from pyinjective.proto.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\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\"d\n\x17QueryDenomTraceResponse\x12I\n\x0b\x64\x65nom_trace\x18\x01 \x01(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceR\ndenomTrace\"a\n\x17QueryDenomTracesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xc0\x01\n\x18QueryDenomTracesResponse\x12[\n\x0c\x64\x65nom_traces\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06TracesR\x0b\x64\x65nomTraces\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x14\n\x12QueryParamsRequest\"S\n\x13QueryParamsResponse\x12<\n\x06params\x18\x01 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsR\x06params\"-\n\x15QueryDenomHashRequest\x12\x14\n\x05trace\x18\x01 \x01(\tR\x05trace\",\n\x16QueryDenomHashResponse\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\"S\n\x19QueryEscrowAddressRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"C\n\x1aQueryEscrowAddressResponse\x12%\n\x0e\x65scrow_address\x18\x01 \x01(\tR\rescrowAddress\"7\n\x1fQueryTotalEscrowForDenomRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"[\n QueryTotalEscrowForDenomResponse\x12\x37\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount2\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_escrowB\xfa\x01\n com.ibc.applications.transfer.v1B\nQueryProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\nQueryProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' - _globals['_QUERYDENOMTRACESRESPONSE'].fields_by_name['denom_traces']._loaded_options = None - _globals['_QUERYDENOMTRACESRESPONSE'].fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\252\337\037\006Traces' - _globals['_QUERYTOTALESCROWFORDENOMRESPONSE'].fields_by_name['amount']._loaded_options = None - _globals['_QUERYTOTALESCROWFORDENOMRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_QUERY'].methods_by_name['DenomTraces']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomTraces']._serialized_options = b'\202\323\344\223\002$\022\"/ibc/apps/transfer/v1/denom_traces' - _globals['_QUERY'].methods_by_name['DenomTrace']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomTrace']._serialized_options = b'\202\323\344\223\002.\022,/ibc/apps/transfer/v1/denom_traces/{hash=**}' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\036\022\034/ibc/apps/transfer/v1/params' - _globals['_QUERY'].methods_by_name['DenomHash']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomHash']._serialized_options = b'\202\323\344\223\002/\022-/ibc/apps/transfer/v1/denom_hashes/{trace=**}' - _globals['_QUERY'].methods_by_name['EscrowAddress']._loaded_options = None - _globals['_QUERY'].methods_by_name['EscrowAddress']._serialized_options = b'\202\323\344\223\002L\022J/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address' - _globals['_QUERY'].methods_by_name['TotalEscrowForDenom']._loaded_options = None - _globals['_QUERY'].methods_by_name['TotalEscrowForDenom']._serialized_options = b'\202\323\344\223\0026\0224/ibc/apps/transfer/v1/denoms/{denom=**}/total_escrow' - _globals['_QUERYDENOMTRACEREQUEST']._serialized_start=247 - _globals['_QUERYDENOMTRACEREQUEST']._serialized_end=291 - _globals['_QUERYDENOMTRACERESPONSE']._serialized_start=293 - _globals['_QUERYDENOMTRACERESPONSE']._serialized_end=393 - _globals['_QUERYDENOMTRACESREQUEST']._serialized_start=395 - _globals['_QUERYDENOMTRACESREQUEST']._serialized_end=492 - _globals['_QUERYDENOMTRACESRESPONSE']._serialized_start=495 - _globals['_QUERYDENOMTRACESRESPONSE']._serialized_end=687 - _globals['_QUERYPARAMSREQUEST']._serialized_start=689 - _globals['_QUERYPARAMSREQUEST']._serialized_end=709 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=711 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=794 - _globals['_QUERYDENOMHASHREQUEST']._serialized_start=796 - _globals['_QUERYDENOMHASHREQUEST']._serialized_end=841 - _globals['_QUERYDENOMHASHRESPONSE']._serialized_start=843 - _globals['_QUERYDENOMHASHRESPONSE']._serialized_end=887 - _globals['_QUERYESCROWADDRESSREQUEST']._serialized_start=889 - _globals['_QUERYESCROWADDRESSREQUEST']._serialized_end=972 - _globals['_QUERYESCROWADDRESSRESPONSE']._serialized_start=974 - _globals['_QUERYESCROWADDRESSRESPONSE']._serialized_end=1041 - _globals['_QUERYTOTALESCROWFORDENOMREQUEST']._serialized_start=1043 - _globals['_QUERYTOTALESCROWFORDENOMREQUEST']._serialized_end=1098 - _globals['_QUERYTOTALESCROWFORDENOMRESPONSE']._serialized_start=1100 - _globals['_QUERYTOTALESCROWFORDENOMRESPONSE']._serialized_end=1191 - _globals['_QUERY']._serialized_start=1194 - _globals['_QUERY']._serialized_end=2306 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py deleted file mode 100644 index b2f8831e..00000000 --- a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py +++ /dev/null @@ -1,301 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.ibc.applications.transfer.v1 import query_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2 - - -class QueryStub(object): - """Query provides defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.DenomTraces = channel.unary_unary( - '/ibc.applications.transfer.v1.Query/DenomTraces', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.FromString, - _registered_method=True) - 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, - _registered_method=True) - 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, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - self.DenomHash = channel.unary_unary( - '/ibc.applications.transfer.v1.Query/DenomHash', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashResponse.FromString, - _registered_method=True) - self.EscrowAddress = channel.unary_unary( - '/ibc.applications.transfer.v1.Query/EscrowAddress', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressResponse.FromString, - _registered_method=True) - self.TotalEscrowForDenom = channel.unary_unary( - '/ibc.applications.transfer.v1.Query/TotalEscrowForDenom', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query provides defines the gRPC querier service. - """ - - 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 DenomTrace(self, request, context): - """DenomTrace queries a denomination trace information. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Params(self, request, context): - """Params queries all parameters of the ibc-transfer module. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DenomHash(self, request, context): - """DenomHash queries a denomination hash information. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def EscrowAddress(self, request, context): - """EscrowAddress returns the escrow address for a particular port and channel id. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TotalEscrowForDenom(self, request, context): - """TotalEscrowForDenom returns the total amount of tokens in escrow based on the denom. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - '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, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'DenomHash': grpc.unary_unary_rpc_method_handler( - servicer.DenomHash, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashResponse.SerializeToString, - ), - 'EscrowAddress': grpc.unary_unary_rpc_method_handler( - servicer.EscrowAddress, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressResponse.SerializeToString, - ), - 'TotalEscrowForDenom': grpc.unary_unary_rpc_method_handler( - servicer.TotalEscrowForDenom, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.applications.transfer.v1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.applications.transfer.v1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query provides defines the gRPC querier service. - """ - - @staticmethod - def DenomTraces(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.applications.transfer.v1.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, - _registered_method=True) - - @staticmethod - def DenomTrace(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.applications.transfer.v1.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, - _registered_method=True) - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.applications.transfer.v1.Query/Params', - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DenomHash(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.applications.transfer.v1.Query/DenomHash', - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashRequest.SerializeToString, - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def EscrowAddress(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.applications.transfer.v1.Query/EscrowAddress', - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressRequest.SerializeToString, - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def TotalEscrowForDenom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.applications.transfer.v1.Query/TotalEscrowForDenom', - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomRequest.SerializeToString, - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py deleted file mode 100644 index 73ebddbc..00000000 --- a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/applications/transfer/v1/transfer.proto -# Protobuf Python Version: 5.26.1 -"""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+ibc/applications/transfer/v1/transfer.proto\x12\x1cibc.applications.transfer.v1\"?\n\nDenomTrace\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12\x1d\n\nbase_denom\x18\x02 \x01(\tR\tbaseDenom\"T\n\x06Params\x12!\n\x0csend_enabled\x18\x01 \x01(\x08R\x0bsendEnabled\x12\'\n\x0freceive_enabled\x18\x02 \x01(\x08R\x0ereceiveEnabledB\xfd\x01\n com.ibc.applications.transfer.v1B\rTransferProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.transfer_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\rTransferProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' - _globals['_DENOMTRACE']._serialized_start=77 - _globals['_DENOMTRACE']._serialized_end=140 - _globals['_PARAMS']._serialized_start=142 - _globals['_PARAMS']._serialized_end=226 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/applications/transfer/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py deleted file mode 100644 index 28a24526..00000000 --- a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py +++ /dev/null @@ -1,55 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/applications/transfer/v1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -from pyinjective.proto.ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/transfer/v1/tx.proto\x12\x1cibc.applications.transfer.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1fibc/core/client/v1/client.proto\x1a+ibc/applications/transfer/v1/transfer.proto\"\x80\x03\n\x0bMsgTransfer\x12\x1f\n\x0bsource_port\x18\x01 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x02 \x01(\tR\rsourceChannel\x12:\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05token\x12\x16\n\x06sender\x18\x04 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x05 \x01(\tR\x08receiver\x12L\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rtimeoutHeight\x12+\n\x11timeout_timestamp\x18\x07 \x01(\x04R\x10timeoutTimestamp\x12\x12\n\x04memo\x18\x08 \x01(\tR\x04memo:*\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgTransfer\"7\n\x13MsgTransferResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00\"~\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12\x42\n\x06params\x18\x02 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\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\xf7\x01\n com.ibc.applications.transfer.v1B\x07TxProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\007TxProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' - _globals['_MSGTRANSFER'].fields_by_name['token']._loaded_options = None - _globals['_MSGTRANSFER'].fields_by_name['token']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGTRANSFER'].fields_by_name['timeout_height']._loaded_options = None - _globals['_MSGTRANSFER'].fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGTRANSFER']._loaded_options = None - _globals['_MSGTRANSFER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\026cosmos-sdk/MsgTransfer' - _globals['_MSGTRANSFERRESPONSE']._loaded_options = None - _globals['_MSGTRANSFERRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGTRANSFER']._serialized_start=248 - _globals['_MSGTRANSFER']._serialized_end=632 - _globals['_MSGTRANSFERRESPONSE']._serialized_start=634 - _globals['_MSGTRANSFERRESPONSE']._serialized_end=689 - _globals['_MSGUPDATEPARAMS']._serialized_start=691 - _globals['_MSGUPDATEPARAMS']._serialized_end=817 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=819 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=844 - _globals['_MSG']._serialized_start=847 - _globals['_MSG']._serialized_end=1083 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py deleted file mode 100644 index 6b97abb4..00000000 --- a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py +++ /dev/null @@ -1,125 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.ibc.applications.transfer.v1 import tx_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the ibc/transfer Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Transfer = channel.unary_unary( - '/ibc.applications.transfer.v1.Msg/Transfer', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.FromString, - _registered_method=True) - self.UpdateParams = channel.unary_unary( - '/ibc.applications.transfer.v1.Msg/UpdateParams', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the ibc/transfer Msg service. - """ - - def Transfer(self, request, context): - """Transfer defines a rpc handler method for MsgTransfer. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """UpdateParams defines a rpc handler for MsgUpdateParams. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Transfer': grpc.unary_unary_rpc_method_handler( - servicer.Transfer, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.applications.transfer.v1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.applications.transfer.v1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the ibc/transfer Msg service. - """ - - @staticmethod - def Transfer(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.applications.transfer.v1.Msg/Transfer', - ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.SerializeToString, - ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.applications.transfer.v1.Msg/UpdateParams', - ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py deleted file mode 100644 index 5ad4d53a..00000000 --- a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/applications/transfer/v2/packet.proto -# Protobuf Python Version: 5.26.1 -"""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)ibc/applications/transfer/v2/packet.proto\x12\x1cibc.applications.transfer.v2\"\x8f\x01\n\x17\x46ungibleTokenPacketData\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x04 \x01(\tR\x08receiver\x12\x12\n\x04memo\x18\x05 \x01(\tR\x04memoB\xfb\x01\n com.ibc.applications.transfer.v2B\x0bPacketProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V2\xca\x02\x1cIbc\\Applications\\Transfer\\V2\xe2\x02(Ibc\\Applications\\Transfer\\V2\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V2b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v2.packet_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v2B\013PacketProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V2\312\002\034Ibc\\Applications\\Transfer\\V2\342\002(Ibc\\Applications\\Transfer\\V2\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V2' - _globals['_FUNGIBLETOKENPACKETDATA']._serialized_start=76 - _globals['_FUNGIBLETOKENPACKETDATA']._serialized_end=219 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/core/channel/v1/channel_pb2.py b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py deleted file mode 100644 index e2e386d0..00000000 --- a/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py +++ /dev/null @@ -1,95 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/core/channel/v1/channel.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/channel.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\"\xb4\x02\n\x07\x43hannel\x12\x30\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x05state\x12\x36\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12K\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00R\x0c\x63ounterparty\x12\'\n\x0f\x63onnection_hops\x18\x04 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12)\n\x10upgrade_sequence\x18\x06 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00\"\xf6\x02\n\x11IdentifiedChannel\x12\x30\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x05state\x12\x36\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12K\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00R\x0c\x63ounterparty\x12\'\n\x0f\x63onnection_hops\x18\x04 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12\x17\n\x07port_id\x18\x06 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x07 \x01(\tR\tchannelId\x12)\n\x10upgrade_sequence\x18\x08 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00\"L\n\x0c\x43ounterparty\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId:\x04\x88\xa0\x1f\x00\"\xd8\x02\n\x06Packet\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1f\n\x0bsource_port\x18\x02 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x03 \x01(\tR\rsourceChannel\x12)\n\x10\x64\x65stination_port\x18\x04 \x01(\tR\x0f\x64\x65stinationPort\x12/\n\x13\x64\x65stination_channel\x18\x05 \x01(\tR\x12\x64\x65stinationChannel\x12\x12\n\x04\x64\x61ta\x18\x06 \x01(\x0cR\x04\x64\x61ta\x12G\n\x0etimeout_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\rtimeoutHeight\x12+\n\x11timeout_timestamp\x18\x08 \x01(\x04R\x10timeoutTimestamp:\x04\x88\xa0\x1f\x00\"{\n\x0bPacketState\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x12\x12\n\x04\x64\x61ta\x18\x04 \x01(\x0cR\x04\x64\x61ta:\x04\x88\xa0\x1f\x00\"d\n\x08PacketId\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00\"O\n\x0f\x41\x63knowledgement\x12\x18\n\x06result\x18\x15 \x01(\x0cH\x00R\x06result\x12\x16\n\x05\x65rror\x18\x16 \x01(\tH\x00R\x05\x65rrorB\n\n\x08response\"a\n\x07Timeout\x12\x38\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\"U\n\x06Params\x12K\n\x0fupgrade_timeout\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.TimeoutB\x04\xc8\xde\x1f\x00R\x0eupgradeTimeout*\x85\x02\n\x05State\x12\x36\n\x1fSTATE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x11\x8a\x9d \rUNINITIALIZED\x12\x18\n\nSTATE_INIT\x10\x01\x1a\x08\x8a\x9d \x04INIT\x12\x1e\n\rSTATE_TRYOPEN\x10\x02\x1a\x0b\x8a\x9d \x07TRYOPEN\x12\x18\n\nSTATE_OPEN\x10\x03\x1a\x08\x8a\x9d \x04OPEN\x12\x1c\n\x0cSTATE_CLOSED\x10\x04\x1a\n\x8a\x9d \x06\x43LOSED\x12 \n\x0eSTATE_FLUSHING\x10\x05\x1a\x0c\x8a\x9d \x08\x46LUSHING\x12*\n\x13STATE_FLUSHCOMPLETE\x10\x06\x1a\x11\x8a\x9d \rFLUSHCOMPLETE\x1a\x04\x88\xa3\x1e\x00*w\n\x05Order\x12$\n\x16ORDER_NONE_UNSPECIFIED\x10\x00\x1a\x08\x8a\x9d \x04NONE\x12\"\n\x0fORDER_UNORDERED\x10\x01\x1a\r\x8a\x9d \tUNORDERED\x12\x1e\n\rORDER_ORDERED\x10\x02\x1a\x0b\x8a\x9d \x07ORDERED\x1a\x04\x88\xa3\x1e\x00\x42\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0c\x43hannelProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.channel_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\014ChannelProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' - _globals['_STATE']._loaded_options = None - _globals['_STATE']._serialized_options = b'\210\243\036\000' - _globals['_STATE'].values_by_name["STATE_UNINITIALIZED_UNSPECIFIED"]._loaded_options = None - _globals['_STATE'].values_by_name["STATE_UNINITIALIZED_UNSPECIFIED"]._serialized_options = b'\212\235 \rUNINITIALIZED' - _globals['_STATE'].values_by_name["STATE_INIT"]._loaded_options = None - _globals['_STATE'].values_by_name["STATE_INIT"]._serialized_options = b'\212\235 \004INIT' - _globals['_STATE'].values_by_name["STATE_TRYOPEN"]._loaded_options = None - _globals['_STATE'].values_by_name["STATE_TRYOPEN"]._serialized_options = b'\212\235 \007TRYOPEN' - _globals['_STATE'].values_by_name["STATE_OPEN"]._loaded_options = None - _globals['_STATE'].values_by_name["STATE_OPEN"]._serialized_options = b'\212\235 \004OPEN' - _globals['_STATE'].values_by_name["STATE_CLOSED"]._loaded_options = None - _globals['_STATE'].values_by_name["STATE_CLOSED"]._serialized_options = b'\212\235 \006CLOSED' - _globals['_STATE'].values_by_name["STATE_FLUSHING"]._loaded_options = None - _globals['_STATE'].values_by_name["STATE_FLUSHING"]._serialized_options = b'\212\235 \010FLUSHING' - _globals['_STATE'].values_by_name["STATE_FLUSHCOMPLETE"]._loaded_options = None - _globals['_STATE'].values_by_name["STATE_FLUSHCOMPLETE"]._serialized_options = b'\212\235 \rFLUSHCOMPLETE' - _globals['_ORDER']._loaded_options = None - _globals['_ORDER']._serialized_options = b'\210\243\036\000' - _globals['_ORDER'].values_by_name["ORDER_NONE_UNSPECIFIED"]._loaded_options = None - _globals['_ORDER'].values_by_name["ORDER_NONE_UNSPECIFIED"]._serialized_options = b'\212\235 \004NONE' - _globals['_ORDER'].values_by_name["ORDER_UNORDERED"]._loaded_options = None - _globals['_ORDER'].values_by_name["ORDER_UNORDERED"]._serialized_options = b'\212\235 \tUNORDERED' - _globals['_ORDER'].values_by_name["ORDER_ORDERED"]._loaded_options = None - _globals['_ORDER'].values_by_name["ORDER_ORDERED"]._serialized_options = b'\212\235 \007ORDERED' - _globals['_CHANNEL'].fields_by_name['counterparty']._loaded_options = None - _globals['_CHANNEL'].fields_by_name['counterparty']._serialized_options = b'\310\336\037\000' - _globals['_CHANNEL']._loaded_options = None - _globals['_CHANNEL']._serialized_options = b'\210\240\037\000' - _globals['_IDENTIFIEDCHANNEL'].fields_by_name['counterparty']._loaded_options = None - _globals['_IDENTIFIEDCHANNEL'].fields_by_name['counterparty']._serialized_options = b'\310\336\037\000' - _globals['_IDENTIFIEDCHANNEL']._loaded_options = None - _globals['_IDENTIFIEDCHANNEL']._serialized_options = b'\210\240\037\000' - _globals['_COUNTERPARTY']._loaded_options = None - _globals['_COUNTERPARTY']._serialized_options = b'\210\240\037\000' - _globals['_PACKET'].fields_by_name['timeout_height']._loaded_options = None - _globals['_PACKET'].fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000' - _globals['_PACKET']._loaded_options = None - _globals['_PACKET']._serialized_options = b'\210\240\037\000' - _globals['_PACKETSTATE']._loaded_options = None - _globals['_PACKETSTATE']._serialized_options = b'\210\240\037\000' - _globals['_PACKETID']._loaded_options = None - _globals['_PACKETID']._serialized_options = b'\210\240\037\000' - _globals['_TIMEOUT'].fields_by_name['height']._loaded_options = None - _globals['_TIMEOUT'].fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_PARAMS'].fields_by_name['upgrade_timeout']._loaded_options = None - _globals['_PARAMS'].fields_by_name['upgrade_timeout']._serialized_options = b'\310\336\037\000' - _globals['_STATE']._serialized_start=1721 - _globals['_STATE']._serialized_end=1982 - _globals['_ORDER']._serialized_start=1984 - _globals['_ORDER']._serialized_end=2103 - _globals['_CHANNEL']._serialized_start=114 - _globals['_CHANNEL']._serialized_end=422 - _globals['_IDENTIFIEDCHANNEL']._serialized_start=425 - _globals['_IDENTIFIEDCHANNEL']._serialized_end=799 - _globals['_COUNTERPARTY']._serialized_start=801 - _globals['_COUNTERPARTY']._serialized_end=877 - _globals['_PACKET']._serialized_start=880 - _globals['_PACKET']._serialized_end=1224 - _globals['_PACKETSTATE']._serialized_start=1226 - _globals['_PACKETSTATE']._serialized_end=1349 - _globals['_PACKETID']._serialized_start=1351 - _globals['_PACKETID']._serialized_end=1451 - _globals['_ACKNOWLEDGEMENT']._serialized_start=1453 - _globals['_ACKNOWLEDGEMENT']._serialized_end=1532 - _globals['_TIMEOUT']._serialized_start=1534 - _globals['_TIMEOUT']._serialized_end=1631 - _globals['_PARAMS']._serialized_start=1633 - _globals['_PARAMS']._serialized_end=1718 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/channel_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/channel_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/core/channel/v1/channel_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/core/channel/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py deleted file mode 100644 index 5b3a9feb..00000000 --- a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py +++ /dev/null @@ -1,47 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/core/channel/v1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/genesis.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\xb2\x05\n\x0cGenesisState\x12]\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelB\x19\xc8\xde\x1f\x00\xfa\xde\x1f\x11IdentifiedChannelR\x08\x63hannels\x12R\n\x10\x61\x63knowledgements\x18\x02 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x10\x61\x63knowledgements\x12H\n\x0b\x63ommitments\x18\x03 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x0b\x63ommitments\x12\x42\n\x08receipts\x18\x04 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x08receipts\x12P\n\x0esend_sequences\x18\x05 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\rsendSequences\x12P\n\x0erecv_sequences\x18\x06 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\rrecvSequences\x12N\n\rack_sequences\x18\x07 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\x0c\x61\x63kSequences\x12\x32\n\x15next_channel_sequence\x18\x08 \x01(\x04R\x13nextChannelSequence\x12\x39\n\x06params\x18\t \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"d\n\x0ePacketSequence\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequenceB\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0cGenesisProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\014GenesisProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' - _globals['_GENESISSTATE'].fields_by_name['channels']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['channels']._serialized_options = b'\310\336\037\000\372\336\037\021IdentifiedChannel' - _globals['_GENESISSTATE'].fields_by_name['acknowledgements']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['acknowledgements']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['commitments']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['commitments']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['receipts']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['receipts']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['send_sequences']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['send_sequences']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['recv_sequences']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['recv_sequences']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['ack_sequences']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['ack_sequences']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=116 - _globals['_GENESISSTATE']._serialized_end=806 - _globals['_PACKETSEQUENCE']._serialized_start=808 - _globals['_PACKETSEQUENCE']._serialized_end=908 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/core/channel/v1/query_pb2.py b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py deleted file mode 100644 index f631eefc..00000000 --- a/pyinjective/proto/ibc/core/channel/v1/query_pb2.py +++ /dev/null @@ -1,172 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/core/channel/v1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.ibc.core.channel.v1 import upgrade_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_upgrade__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/channel/v1/query.proto\x12\x13ibc.core.channel.v1\x1a\x1fibc/core/client/v1/client.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/upgrade.proto\"M\n\x13QueryChannelRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xa9\x01\n\x14QueryChannelResponse\x12\x36\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelR\x07\x63hannel\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"^\n\x14QueryChannelsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xde\x01\n\x15QueryChannelsResponse\x12\x42\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelR\x08\x63hannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"\x88\x01\n\x1eQueryConnectionChannelsRequest\x12\x1e\n\nconnection\x18\x01 \x01(\tR\nconnection\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xe8\x01\n\x1fQueryConnectionChannelsResponse\x12\x42\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelR\x08\x63hannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"X\n\x1eQueryChannelClientStateRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xdf\x01\n\x1fQueryChannelClientStateResponse\x12\x61\n\x17identified_client_state\x18\x01 \x01(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateR\x15identifiedClientState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\xad\x01\n!QueryChannelConsensusStateRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\'\n\x0frevision_number\x18\x03 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x04 \x01(\x04R\x0erevisionHeight\"\xdb\x01\n\"QueryChannelConsensusStateResponse\x12=\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x1b\n\tclient_id\x18\x02 \x01(\tR\x08\x63lientId\x12\x14\n\x05proof\x18\x03 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"r\n\x1cQueryPacketCommitmentRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\"\x9a\x01\n\x1dQueryPacketCommitmentResponse\x12\x1e\n\ncommitment\x18\x01 \x01(\x0cR\ncommitment\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\x9f\x01\n\x1dQueryPacketCommitmentsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xe7\x01\n\x1eQueryPacketCommitmentsResponse\x12\x42\n\x0b\x63ommitments\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateR\x0b\x63ommitments\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"o\n\x19QueryPacketReceiptRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\"\x93\x01\n\x1aQueryPacketReceiptResponse\x12\x1a\n\x08received\x18\x02 \x01(\x08R\x08received\x12\x14\n\x05proof\x18\x03 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"w\n!QueryPacketAcknowledgementRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\"\xa9\x01\n\"QueryPacketAcknowledgementResponse\x12(\n\x0f\x61\x63knowledgement\x18\x01 \x01(\x0cR\x0f\x61\x63knowledgement\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\xe4\x01\n\"QueryPacketAcknowledgementsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12>\n\x1bpacket_commitment_sequences\x18\x04 \x03(\x04R\x19packetCommitmentSequences\"\xf6\x01\n#QueryPacketAcknowledgementsResponse\x12L\n\x10\x61\x63knowledgements\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateR\x10\x61\x63knowledgements\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"\x97\x01\n\x1dQueryUnreceivedPacketsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12>\n\x1bpacket_commitment_sequences\x18\x03 \x03(\x04R\x19packetCommitmentSequences\"x\n\x1eQueryUnreceivedPacketsResponse\x12\x1c\n\tsequences\x18\x01 \x03(\x04R\tsequences\x12\x38\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"\x86\x01\n\x1aQueryUnreceivedAcksRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x30\n\x14packet_ack_sequences\x18\x03 \x03(\x04R\x12packetAckSequences\"u\n\x1bQueryUnreceivedAcksResponse\x12\x1c\n\tsequences\x18\x01 \x03(\x04R\tsequences\x12\x38\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"Y\n\x1fQueryNextSequenceReceiveRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xb1\x01\n QueryNextSequenceReceiveResponse\x12\x32\n\x15next_sequence_receive\x18\x01 \x01(\x04R\x13nextSequenceReceive\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"V\n\x1cQueryNextSequenceSendRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xa8\x01\n\x1dQueryNextSequenceSendResponse\x12,\n\x12next_sequence_send\x18\x01 \x01(\x04R\x10nextSequenceSend\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"R\n\x18QueryUpgradeErrorRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xc4\x01\n\x19QueryUpgradeErrorResponse\x12L\n\rerror_receipt\x18\x01 \x01(\x0b\x32!.ibc.core.channel.v1.ErrorReceiptB\x04\xc8\xde\x1f\x00R\x0c\x65rrorReceipt\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"M\n\x13QueryUpgradeRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xaf\x01\n\x14QueryUpgradeResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\x1b\n\x19QueryChannelParamsRequest\"Q\n\x1aQueryChannelParamsResponse\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsR\x06params2\xe5\x1b\n\x05Query\x12\xa2\x01\n\x07\x43hannel\x12(.ibc.core.channel.v1.QueryChannelRequest\x1a).ibc.core.channel.v1.QueryChannelResponse\"B\x82\xd3\xe4\x93\x02<\x12:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}\x12\x88\x01\n\x08\x43hannels\x12).ibc.core.channel.v1.QueryChannelsRequest\x1a*.ibc.core.channel.v1.QueryChannelsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/ibc/core/channel/v1/channels\x12\xbf\x01\n\x12\x43onnectionChannels\x12\x33.ibc.core.channel.v1.QueryConnectionChannelsRequest\x1a\x34.ibc.core.channel.v1.QueryConnectionChannelsResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/channel/v1/connections/{connection}/channels\x12\xd0\x01\n\x12\x43hannelClientState\x12\x33.ibc.core.channel.v1.QueryChannelClientStateRequest\x1a\x34.ibc.core.channel.v1.QueryChannelClientStateResponse\"O\x82\xd3\xe4\x93\x02I\x12G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state\x12\x92\x02\n\x15\x43hannelConsensusState\x12\x36.ibc.core.channel.v1.QueryChannelConsensusStateRequest\x1a\x37.ibc.core.channel.v1.QueryChannelConsensusStateResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xdb\x01\n\x10PacketCommitment\x12\x31.ibc.core.channel.v1.QueryPacketCommitmentRequest\x1a\x32.ibc.core.channel.v1.QueryPacketCommitmentResponse\"`\x82\xd3\xe4\x93\x02Z\x12X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}\x12\xd3\x01\n\x11PacketCommitments\x12\x32.ibc.core.channel.v1.QueryPacketCommitmentsRequest\x1a\x33.ibc.core.channel.v1.QueryPacketCommitmentsResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments\x12\xcf\x01\n\rPacketReceipt\x12..ibc.core.channel.v1.QueryPacketReceiptRequest\x1a/.ibc.core.channel.v1.QueryPacketReceiptResponse\"]\x82\xd3\xe4\x93\x02W\x12U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}\x12\xe3\x01\n\x15PacketAcknowledgement\x12\x36.ibc.core.channel.v1.QueryPacketAcknowledgementRequest\x1a\x37.ibc.core.channel.v1.QueryPacketAcknowledgementResponse\"Y\x82\xd3\xe4\x93\x02S\x12Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}\x12\xe7\x01\n\x16PacketAcknowledgements\x12\x37.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest\x1a\x38.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse\"Z\x82\xd3\xe4\x93\x02T\x12R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements\x12\x86\x02\n\x11UnreceivedPackets\x12\x32.ibc.core.channel.v1.QueryUnreceivedPacketsRequest\x1a\x33.ibc.core.channel.v1.QueryUnreceivedPacketsResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets\x12\xf1\x01\n\x0eUnreceivedAcks\x12/.ibc.core.channel.v1.QueryUnreceivedAcksRequest\x1a\x30.ibc.core.channel.v1.QueryUnreceivedAcksResponse\"|\x82\xd3\xe4\x93\x02v\x12t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks\x12\xd4\x01\n\x13NextSequenceReceive\x12\x34.ibc.core.channel.v1.QueryNextSequenceReceiveRequest\x1a\x35.ibc.core.channel.v1.QueryNextSequenceReceiveResponse\"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence\x12\xd0\x01\n\x10NextSequenceSend\x12\x31.ibc.core.channel.v1.QueryNextSequenceSendRequest\x1a\x32.ibc.core.channel.v1.QueryNextSequenceSendResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send\x12\xbf\x01\n\x0cUpgradeError\x12-.ibc.core.channel.v1.QueryUpgradeErrorRequest\x1a..ibc.core.channel.v1.QueryUpgradeErrorResponse\"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade_error\x12\xaa\x01\n\x07Upgrade\x12(.ibc.core.channel.v1.QueryUpgradeRequest\x1a).ibc.core.channel.v1.QueryUpgradeResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade\x12\x95\x01\n\rChannelParams\x12..ibc.core.channel.v1.QueryChannelParamsRequest\x1a/.ibc.core.channel.v1.QueryChannelParamsResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/ibc/core/channel/v1/paramsB\xcf\x01\n\x17\x63om.ibc.core.channel.v1B\nQueryProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\nQueryProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' - _globals['_QUERYCHANNELRESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYCHANNELRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYCHANNELSRESPONSE'].fields_by_name['height']._loaded_options = None - _globals['_QUERYCHANNELSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYCONNECTIONCHANNELSRESPONSE'].fields_by_name['height']._loaded_options = None - _globals['_QUERYCONNECTIONCHANNELSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYCHANNELCLIENTSTATERESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYCHANNELCLIENTSTATERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYPACKETCOMMITMENTRESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYPACKETCOMMITMENTRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYPACKETCOMMITMENTSRESPONSE'].fields_by_name['height']._loaded_options = None - _globals['_QUERYPACKETCOMMITMENTSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYPACKETRECEIPTRESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYPACKETRECEIPTRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE'].fields_by_name['height']._loaded_options = None - _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYUNRECEIVEDPACKETSRESPONSE'].fields_by_name['height']._loaded_options = None - _globals['_QUERYUNRECEIVEDPACKETSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYUNRECEIVEDACKSRESPONSE'].fields_by_name['height']._loaded_options = None - _globals['_QUERYUNRECEIVEDACKSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYNEXTSEQUENCESENDRESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYNEXTSEQUENCESENDRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYUPGRADEERRORRESPONSE'].fields_by_name['error_receipt']._loaded_options = None - _globals['_QUERYUPGRADEERRORRESPONSE'].fields_by_name['error_receipt']._serialized_options = b'\310\336\037\000' - _globals['_QUERYUPGRADEERRORRESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYUPGRADEERRORRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYUPGRADERESPONSE'].fields_by_name['upgrade']._loaded_options = None - _globals['_QUERYUPGRADERESPONSE'].fields_by_name['upgrade']._serialized_options = b'\310\336\037\000' - _globals['_QUERYUPGRADERESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYUPGRADERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERY'].methods_by_name['Channel']._loaded_options = None - _globals['_QUERY'].methods_by_name['Channel']._serialized_options = b'\202\323\344\223\002<\022:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}' - _globals['_QUERY'].methods_by_name['Channels']._loaded_options = None - _globals['_QUERY'].methods_by_name['Channels']._serialized_options = b'\202\323\344\223\002\037\022\035/ibc/core/channel/v1/channels' - _globals['_QUERY'].methods_by_name['ConnectionChannels']._loaded_options = None - _globals['_QUERY'].methods_by_name['ConnectionChannels']._serialized_options = b'\202\323\344\223\0028\0226/ibc/core/channel/v1/connections/{connection}/channels' - _globals['_QUERY'].methods_by_name['ChannelClientState']._loaded_options = None - _globals['_QUERY'].methods_by_name['ChannelClientState']._serialized_options = b'\202\323\344\223\002I\022G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state' - _globals['_QUERY'].methods_by_name['ChannelConsensusState']._loaded_options = None - _globals['_QUERY'].methods_by_name['ChannelConsensusState']._serialized_options = b'\202\323\344\223\002\200\001\022~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}' - _globals['_QUERY'].methods_by_name['PacketCommitment']._loaded_options = None - _globals['_QUERY'].methods_by_name['PacketCommitment']._serialized_options = b'\202\323\344\223\002Z\022X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}' - _globals['_QUERY'].methods_by_name['PacketCommitments']._loaded_options = None - _globals['_QUERY'].methods_by_name['PacketCommitments']._serialized_options = b'\202\323\344\223\002O\022M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments' - _globals['_QUERY'].methods_by_name['PacketReceipt']._loaded_options = None - _globals['_QUERY'].methods_by_name['PacketReceipt']._serialized_options = b'\202\323\344\223\002W\022U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}' - _globals['_QUERY'].methods_by_name['PacketAcknowledgement']._loaded_options = None - _globals['_QUERY'].methods_by_name['PacketAcknowledgement']._serialized_options = b'\202\323\344\223\002S\022Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}' - _globals['_QUERY'].methods_by_name['PacketAcknowledgements']._loaded_options = None - _globals['_QUERY'].methods_by_name['PacketAcknowledgements']._serialized_options = b'\202\323\344\223\002T\022R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements' - _globals['_QUERY'].methods_by_name['UnreceivedPackets']._loaded_options = None - _globals['_QUERY'].methods_by_name['UnreceivedPackets']._serialized_options = b'\202\323\344\223\002\200\001\022~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets' - _globals['_QUERY'].methods_by_name['UnreceivedAcks']._loaded_options = None - _globals['_QUERY'].methods_by_name['UnreceivedAcks']._serialized_options = b'\202\323\344\223\002v\022t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks' - _globals['_QUERY'].methods_by_name['NextSequenceReceive']._loaded_options = None - _globals['_QUERY'].methods_by_name['NextSequenceReceive']._serialized_options = b'\202\323\344\223\002J\022H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence' - _globals['_QUERY'].methods_by_name['NextSequenceSend']._loaded_options = None - _globals['_QUERY'].methods_by_name['NextSequenceSend']._serialized_options = b'\202\323\344\223\002O\022M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send' - _globals['_QUERY'].methods_by_name['UpgradeError']._loaded_options = None - _globals['_QUERY'].methods_by_name['UpgradeError']._serialized_options = b'\202\323\344\223\002J\022H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade_error' - _globals['_QUERY'].methods_by_name['Upgrade']._loaded_options = None - _globals['_QUERY'].methods_by_name['Upgrade']._serialized_options = b'\202\323\344\223\002D\022B/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade' - _globals['_QUERY'].methods_by_name['ChannelParams']._loaded_options = None - _globals['_QUERY'].methods_by_name['ChannelParams']._serialized_options = b'\202\323\344\223\002\035\022\033/ibc/core/channel/v1/params' - _globals['_QUERYCHANNELREQUEST']._serialized_start=282 - _globals['_QUERYCHANNELREQUEST']._serialized_end=359 - _globals['_QUERYCHANNELRESPONSE']._serialized_start=362 - _globals['_QUERYCHANNELRESPONSE']._serialized_end=531 - _globals['_QUERYCHANNELSREQUEST']._serialized_start=533 - _globals['_QUERYCHANNELSREQUEST']._serialized_end=627 - _globals['_QUERYCHANNELSRESPONSE']._serialized_start=630 - _globals['_QUERYCHANNELSRESPONSE']._serialized_end=852 - _globals['_QUERYCONNECTIONCHANNELSREQUEST']._serialized_start=855 - _globals['_QUERYCONNECTIONCHANNELSREQUEST']._serialized_end=991 - _globals['_QUERYCONNECTIONCHANNELSRESPONSE']._serialized_start=994 - _globals['_QUERYCONNECTIONCHANNELSRESPONSE']._serialized_end=1226 - _globals['_QUERYCHANNELCLIENTSTATEREQUEST']._serialized_start=1228 - _globals['_QUERYCHANNELCLIENTSTATEREQUEST']._serialized_end=1316 - _globals['_QUERYCHANNELCLIENTSTATERESPONSE']._serialized_start=1319 - _globals['_QUERYCHANNELCLIENTSTATERESPONSE']._serialized_end=1542 - _globals['_QUERYCHANNELCONSENSUSSTATEREQUEST']._serialized_start=1545 - _globals['_QUERYCHANNELCONSENSUSSTATEREQUEST']._serialized_end=1718 - _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE']._serialized_start=1721 - _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE']._serialized_end=1940 - _globals['_QUERYPACKETCOMMITMENTREQUEST']._serialized_start=1942 - _globals['_QUERYPACKETCOMMITMENTREQUEST']._serialized_end=2056 - _globals['_QUERYPACKETCOMMITMENTRESPONSE']._serialized_start=2059 - _globals['_QUERYPACKETCOMMITMENTRESPONSE']._serialized_end=2213 - _globals['_QUERYPACKETCOMMITMENTSREQUEST']._serialized_start=2216 - _globals['_QUERYPACKETCOMMITMENTSREQUEST']._serialized_end=2375 - _globals['_QUERYPACKETCOMMITMENTSRESPONSE']._serialized_start=2378 - _globals['_QUERYPACKETCOMMITMENTSRESPONSE']._serialized_end=2609 - _globals['_QUERYPACKETRECEIPTREQUEST']._serialized_start=2611 - _globals['_QUERYPACKETRECEIPTREQUEST']._serialized_end=2722 - _globals['_QUERYPACKETRECEIPTRESPONSE']._serialized_start=2725 - _globals['_QUERYPACKETRECEIPTRESPONSE']._serialized_end=2872 - _globals['_QUERYPACKETACKNOWLEDGEMENTREQUEST']._serialized_start=2874 - _globals['_QUERYPACKETACKNOWLEDGEMENTREQUEST']._serialized_end=2993 - _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE']._serialized_start=2996 - _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE']._serialized_end=3165 - _globals['_QUERYPACKETACKNOWLEDGEMENTSREQUEST']._serialized_start=3168 - _globals['_QUERYPACKETACKNOWLEDGEMENTSREQUEST']._serialized_end=3396 - _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE']._serialized_start=3399 - _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE']._serialized_end=3645 - _globals['_QUERYUNRECEIVEDPACKETSREQUEST']._serialized_start=3648 - _globals['_QUERYUNRECEIVEDPACKETSREQUEST']._serialized_end=3799 - _globals['_QUERYUNRECEIVEDPACKETSRESPONSE']._serialized_start=3801 - _globals['_QUERYUNRECEIVEDPACKETSRESPONSE']._serialized_end=3921 - _globals['_QUERYUNRECEIVEDACKSREQUEST']._serialized_start=3924 - _globals['_QUERYUNRECEIVEDACKSREQUEST']._serialized_end=4058 - _globals['_QUERYUNRECEIVEDACKSRESPONSE']._serialized_start=4060 - _globals['_QUERYUNRECEIVEDACKSRESPONSE']._serialized_end=4177 - _globals['_QUERYNEXTSEQUENCERECEIVEREQUEST']._serialized_start=4179 - _globals['_QUERYNEXTSEQUENCERECEIVEREQUEST']._serialized_end=4268 - _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE']._serialized_start=4271 - _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE']._serialized_end=4448 - _globals['_QUERYNEXTSEQUENCESENDREQUEST']._serialized_start=4450 - _globals['_QUERYNEXTSEQUENCESENDREQUEST']._serialized_end=4536 - _globals['_QUERYNEXTSEQUENCESENDRESPONSE']._serialized_start=4539 - _globals['_QUERYNEXTSEQUENCESENDRESPONSE']._serialized_end=4707 - _globals['_QUERYUPGRADEERRORREQUEST']._serialized_start=4709 - _globals['_QUERYUPGRADEERRORREQUEST']._serialized_end=4791 - _globals['_QUERYUPGRADEERRORRESPONSE']._serialized_start=4794 - _globals['_QUERYUPGRADEERRORRESPONSE']._serialized_end=4990 - _globals['_QUERYUPGRADEREQUEST']._serialized_start=4992 - _globals['_QUERYUPGRADEREQUEST']._serialized_end=5069 - _globals['_QUERYUPGRADERESPONSE']._serialized_start=5072 - _globals['_QUERYUPGRADERESPONSE']._serialized_end=5247 - _globals['_QUERYCHANNELPARAMSREQUEST']._serialized_start=5249 - _globals['_QUERYCHANNELPARAMSREQUEST']._serialized_end=5276 - _globals['_QUERYCHANNELPARAMSRESPONSE']._serialized_start=5278 - _globals['_QUERYCHANNELPARAMSRESPONSE']._serialized_end=5359 - _globals['_QUERY']._serialized_start=5362 - _globals['_QUERY']._serialized_end=8919 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py deleted file mode 100644 index f6e0e336..00000000 --- a/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py +++ /dev/null @@ -1,793 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.ibc.core.channel.v1 import query_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_query__pb2 - - -class QueryStub(object): - """Query provides defines the gRPC querier service - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Channel = channel.unary_unary( - '/ibc.core.channel.v1.Query/Channel', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelResponse.FromString, - _registered_method=True) - self.Channels = channel.unary_unary( - '/ibc.core.channel.v1.Query/Channels', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsResponse.FromString, - _registered_method=True) - self.ConnectionChannels = channel.unary_unary( - '/ibc.core.channel.v1.Query/ConnectionChannels', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsResponse.FromString, - _registered_method=True) - self.ChannelClientState = channel.unary_unary( - '/ibc.core.channel.v1.Query/ChannelClientState', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateResponse.FromString, - _registered_method=True) - self.ChannelConsensusState = channel.unary_unary( - '/ibc.core.channel.v1.Query/ChannelConsensusState', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateResponse.FromString, - _registered_method=True) - self.PacketCommitment = channel.unary_unary( - '/ibc.core.channel.v1.Query/PacketCommitment', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentResponse.FromString, - _registered_method=True) - self.PacketCommitments = channel.unary_unary( - '/ibc.core.channel.v1.Query/PacketCommitments', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsResponse.FromString, - _registered_method=True) - self.PacketReceipt = channel.unary_unary( - '/ibc.core.channel.v1.Query/PacketReceipt', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptResponse.FromString, - _registered_method=True) - self.PacketAcknowledgement = channel.unary_unary( - '/ibc.core.channel.v1.Query/PacketAcknowledgement', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementResponse.FromString, - _registered_method=True) - self.PacketAcknowledgements = channel.unary_unary( - '/ibc.core.channel.v1.Query/PacketAcknowledgements', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsResponse.FromString, - _registered_method=True) - self.UnreceivedPackets = channel.unary_unary( - '/ibc.core.channel.v1.Query/UnreceivedPackets', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsResponse.FromString, - _registered_method=True) - self.UnreceivedAcks = channel.unary_unary( - '/ibc.core.channel.v1.Query/UnreceivedAcks', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksResponse.FromString, - _registered_method=True) - self.NextSequenceReceive = channel.unary_unary( - '/ibc.core.channel.v1.Query/NextSequenceReceive', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.FromString, - _registered_method=True) - self.NextSequenceSend = channel.unary_unary( - '/ibc.core.channel.v1.Query/NextSequenceSend', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.FromString, - _registered_method=True) - self.UpgradeError = channel.unary_unary( - '/ibc.core.channel.v1.Query/UpgradeError', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorResponse.FromString, - _registered_method=True) - self.Upgrade = channel.unary_unary( - '/ibc.core.channel.v1.Query/Upgrade', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeResponse.FromString, - _registered_method=True) - self.ChannelParams = channel.unary_unary( - '/ibc.core.channel.v1.Query/ChannelParams', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query provides defines the gRPC querier service - """ - - def Channel(self, request, context): - """Channel queries an IBC Channel. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Channels(self, request, context): - """Channels queries all the IBC channels of a chain. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ConnectionChannels(self, request, context): - """ConnectionChannels queries all the channels associated with a connection - end. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChannelClientState(self, request, context): - """ChannelClientState queries for the client state for the channel associated - with the provided channel identifiers. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChannelConsensusState(self, request, context): - """ChannelConsensusState queries for the consensus state for the channel - associated with the provided channel identifiers. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PacketCommitment(self, request, context): - """PacketCommitment queries a stored packet commitment hash. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PacketCommitments(self, request, context): - """PacketCommitments returns all the packet commitments hashes associated - with a channel. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PacketReceipt(self, request, context): - """PacketReceipt queries if a given packet sequence has been received on the - queried chain - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PacketAcknowledgement(self, request, context): - """PacketAcknowledgement queries a stored packet acknowledgement hash. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PacketAcknowledgements(self, request, context): - """PacketAcknowledgements returns all the packet acknowledgements associated - with a channel. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UnreceivedPackets(self, request, context): - """UnreceivedPackets returns all the unreceived IBC packets associated with a - channel and sequences. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UnreceivedAcks(self, request, context): - """UnreceivedAcks returns all the unreceived IBC acknowledgements associated - with a channel and sequences. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def NextSequenceReceive(self, request, context): - """NextSequenceReceive returns the next receive sequence for a given channel. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def NextSequenceSend(self, request, context): - """NextSequenceSend returns the next send sequence for a given channel. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpgradeError(self, request, context): - """UpgradeError returns the error receipt if the upgrade handshake failed. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Upgrade(self, request, context): - """Upgrade returns the upgrade for a given port and channel id. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChannelParams(self, request, context): - """ChannelParams queries all parameters of the ibc channel submodule. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Channel': grpc.unary_unary_rpc_method_handler( - servicer.Channel, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelResponse.SerializeToString, - ), - 'Channels': grpc.unary_unary_rpc_method_handler( - servicer.Channels, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsResponse.SerializeToString, - ), - 'ConnectionChannels': grpc.unary_unary_rpc_method_handler( - servicer.ConnectionChannels, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsResponse.SerializeToString, - ), - 'ChannelClientState': grpc.unary_unary_rpc_method_handler( - servicer.ChannelClientState, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateResponse.SerializeToString, - ), - 'ChannelConsensusState': grpc.unary_unary_rpc_method_handler( - servicer.ChannelConsensusState, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateResponse.SerializeToString, - ), - 'PacketCommitment': grpc.unary_unary_rpc_method_handler( - servicer.PacketCommitment, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentResponse.SerializeToString, - ), - 'PacketCommitments': grpc.unary_unary_rpc_method_handler( - servicer.PacketCommitments, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsResponse.SerializeToString, - ), - 'PacketReceipt': grpc.unary_unary_rpc_method_handler( - servicer.PacketReceipt, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptResponse.SerializeToString, - ), - 'PacketAcknowledgement': grpc.unary_unary_rpc_method_handler( - servicer.PacketAcknowledgement, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementResponse.SerializeToString, - ), - 'PacketAcknowledgements': grpc.unary_unary_rpc_method_handler( - servicer.PacketAcknowledgements, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsResponse.SerializeToString, - ), - 'UnreceivedPackets': grpc.unary_unary_rpc_method_handler( - servicer.UnreceivedPackets, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsResponse.SerializeToString, - ), - 'UnreceivedAcks': grpc.unary_unary_rpc_method_handler( - servicer.UnreceivedAcks, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksResponse.SerializeToString, - ), - 'NextSequenceReceive': grpc.unary_unary_rpc_method_handler( - servicer.NextSequenceReceive, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.SerializeToString, - ), - 'NextSequenceSend': grpc.unary_unary_rpc_method_handler( - servicer.NextSequenceSend, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.SerializeToString, - ), - 'UpgradeError': grpc.unary_unary_rpc_method_handler( - servicer.UpgradeError, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorResponse.SerializeToString, - ), - 'Upgrade': grpc.unary_unary_rpc_method_handler( - servicer.Upgrade, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeResponse.SerializeToString, - ), - 'ChannelParams': grpc.unary_unary_rpc_method_handler( - servicer.ChannelParams, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.core.channel.v1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.core.channel.v1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query provides defines the gRPC querier service - """ - - @staticmethod - def Channel(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/Channel', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Channels(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/Channels', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ConnectionChannels(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/ConnectionChannels', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ChannelClientState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/ChannelClientState', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ChannelConsensusState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/ChannelConsensusState', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PacketCommitment(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/PacketCommitment', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PacketCommitments(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/PacketCommitments', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PacketReceipt(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/PacketReceipt', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PacketAcknowledgement(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/PacketAcknowledgement', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PacketAcknowledgements(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/PacketAcknowledgements', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UnreceivedPackets(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/UnreceivedPackets', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UnreceivedAcks(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/UnreceivedAcks', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def NextSequenceReceive(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/NextSequenceReceive', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def NextSequenceSend(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/NextSequenceSend', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpgradeError(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/UpgradeError', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Upgrade(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/Upgrade', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ChannelParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Query/ChannelParams', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py deleted file mode 100644 index 84303770..00000000 --- a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py +++ /dev/null @@ -1,240 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/core/channel/v1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -from pyinjective.proto.ibc.core.channel.v1 import upgrade_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_upgrade__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cibc/core/channel/v1/tx.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1fibc/core/client/v1/client.proto\x1a!ibc/core/channel/v1/channel.proto\x1a!ibc/core/channel/v1/upgrade.proto\"\x94\x01\n\x12MsgChannelOpenInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12<\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x07\x63hannel\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"[\n\x1aMsgChannelOpenInitResponse\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version:\x04\x88\xa0\x1f\x00\"\xde\x02\n\x11MsgChannelOpenTry\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x32\n\x13previous_channel_id\x18\x02 \x01(\tB\x02\x18\x01R\x11previousChannelId\x12<\n\x07\x63hannel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x07\x63hannel\x12\x31\n\x14\x63ounterparty_version\x18\x04 \x01(\tR\x13\x63ounterpartyVersion\x12\x1d\n\nproof_init\x18\x05 \x01(\x0cR\tproofInit\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"Z\n\x19MsgChannelOpenTryResponse\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId:\x04\x88\xa0\x1f\x00\"\xc1\x02\n\x11MsgChannelOpenAck\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x36\n\x17\x63ounterparty_channel_id\x18\x03 \x01(\tR\x15\x63ounterpartyChannelId\x12\x31\n\x14\x63ounterparty_version\x18\x04 \x01(\tR\x13\x63ounterpartyVersion\x12\x1b\n\tproof_try\x18\x05 \x01(\x0cR\x08proofTry\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1b\n\x19MsgChannelOpenAckResponse\"\xda\x01\n\x15MsgChannelOpenConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1b\n\tproof_ack\x18\x03 \x01(\x0cR\x08proofAck\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgChannelOpenConfirmResponse\"v\n\x13MsgChannelCloseInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1d\n\x1bMsgChannelCloseInitResponse\"\xa1\x02\n\x16MsgChannelCloseConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1d\n\nproof_init\x18\x03 \x01(\x0cR\tproofInit\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x06 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\" \n\x1eMsgChannelCloseConfirmResponse\"\xe3\x01\n\rMsgRecvPacket\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_commitment\x18\x02 \x01(\x0cR\x0fproofCommitment\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"^\n\x15MsgRecvPacketResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\x8e\x02\n\nMsgTimeout\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_unreceived\x18\x02 \x01(\x0cR\x0fproofUnreceived\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12,\n\x12next_sequence_recv\x18\x04 \x01(\x04R\x10nextSequenceRecv\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"[\n\x12MsgTimeoutResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\xfa\x02\n\x11MsgTimeoutOnClose\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_unreceived\x18\x02 \x01(\x0cR\x0fproofUnreceived\x12\x1f\n\x0bproof_close\x18\x03 \x01(\x0cR\nproofClose\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12,\n\x12next_sequence_recv\x18\x05 \x01(\x04R\x10nextSequenceRecv\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x07 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"b\n\x19MsgTimeoutOnCloseResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\x88\x02\n\x12MsgAcknowledgement\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12(\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0cR\x0f\x61\x63knowledgement\x12\x1f\n\x0bproof_acked\x18\x03 \x01(\x0cR\nproofAcked\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"c\n\x1aMsgAcknowledgementResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\xba\x01\n\x15MsgChannelUpgradeInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12@\n\x06\x66ields\x18\x03 \x01(\x0b\x32\".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x06\x66ields\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x8e\x01\n\x1dMsgChannelUpgradeInitResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12)\n\x10upgrade_sequence\x18\x02 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00\"\xfd\x03\n\x14MsgChannelUpgradeTry\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12G\n proposed_upgrade_connection_hops\x18\x03 \x03(\tR\x1dproposedUpgradeConnectionHops\x12h\n\x1b\x63ounterparty_upgrade_fields\x18\x04 \x01(\x0b\x32\".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x19\x63ounterpartyUpgradeFields\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x05 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence\x12#\n\rproof_channel\x18\x06 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x07 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x08 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\t \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\xce\x01\n\x1cMsgChannelUpgradeTryResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12)\n\x10upgrade_sequence\x18\x02 \x01(\x04R\x0fupgradeSequence\x12?\n\x06result\x18\x03 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\xdd\x02\n\x14MsgChannelUpgradeAck\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12U\n\x14\x63ounterparty_upgrade\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyUpgrade\x12#\n\rproof_channel\x18\x04 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x05 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"e\n\x1cMsgChannelUpgradeAckResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\xbb\x03\n\x18MsgChannelUpgradeConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12X\n\x1a\x63ounterparty_channel_state\x18\x03 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x18\x63ounterpartyChannelState\x12U\n\x14\x63ounterparty_upgrade\x18\x04 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyUpgrade\x12#\n\rproof_channel\x18\x05 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x06 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x08 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"i\n MsgChannelUpgradeConfirmResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\x80\x03\n\x15MsgChannelUpgradeOpen\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12X\n\x1a\x63ounterparty_channel_state\x18\x03 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x18\x63ounterpartyChannelState\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x04 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence\x12#\n\rproof_channel\x18\x05 \x01(\x0cR\x0cproofChannel\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgChannelUpgradeOpenResponse\"\xbc\x02\n\x18MsgChannelUpgradeTimeout\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12U\n\x14\x63ounterparty_channel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyChannel\x12#\n\rproof_channel\x18\x04 \x01(\x0cR\x0cproofChannel\x12\x43\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\"\n MsgChannelUpgradeTimeoutResponse\"\xbd\x02\n\x17MsgChannelUpgradeCancel\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12L\n\rerror_receipt\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.ErrorReceiptB\x04\xc8\xde\x1f\x00R\x0c\x65rrorReceipt\x12.\n\x13proof_error_receipt\x18\x04 \x01(\x0cR\x11proofErrorReceipt\x12\x43\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"!\n\x1fMsgChannelUpgradeCancelResponse\"~\n\x0fMsgUpdateParams\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12\x39\n\x06params\x18\x02 \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x12\x88\xa0\x1f\x00\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"\x91\x01\n\x18MsgPruneAcknowledgements\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x14\n\x05limit\x18\x03 \x01(\x04R\x05limit\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x94\x01\n MsgPruneAcknowledgementsResponse\x12\x34\n\x16total_pruned_sequences\x18\x01 \x01(\x04R\x14totalPrunedSequences\x12:\n\x19total_remaining_sequences\x18\x02 \x01(\x04R\x17totalRemainingSequences*\xd8\x01\n\x12ResponseResultType\x12\x35\n RESPONSE_RESULT_TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\'\n\x19RESPONSE_RESULT_TYPE_NOOP\x10\x01\x1a\x08\x8a\x9d \x04NOOP\x12-\n\x1cRESPONSE_RESULT_TYPE_SUCCESS\x10\x02\x1a\x0b\x8a\x9d \x07SUCCESS\x12-\n\x1cRESPONSE_RESULT_TYPE_FAILURE\x10\x03\x1a\x0b\x8a\x9d \x07\x46\x41ILURE\x1a\x04\x88\xa3\x1e\x00\x32\xec\x10\n\x03Msg\x12k\n\x0f\x43hannelOpenInit\x12\'.ibc.core.channel.v1.MsgChannelOpenInit\x1a/.ibc.core.channel.v1.MsgChannelOpenInitResponse\x12h\n\x0e\x43hannelOpenTry\x12&.ibc.core.channel.v1.MsgChannelOpenTry\x1a..ibc.core.channel.v1.MsgChannelOpenTryResponse\x12h\n\x0e\x43hannelOpenAck\x12&.ibc.core.channel.v1.MsgChannelOpenAck\x1a..ibc.core.channel.v1.MsgChannelOpenAckResponse\x12t\n\x12\x43hannelOpenConfirm\x12*.ibc.core.channel.v1.MsgChannelOpenConfirm\x1a\x32.ibc.core.channel.v1.MsgChannelOpenConfirmResponse\x12n\n\x10\x43hannelCloseInit\x12(.ibc.core.channel.v1.MsgChannelCloseInit\x1a\x30.ibc.core.channel.v1.MsgChannelCloseInitResponse\x12w\n\x13\x43hannelCloseConfirm\x12+.ibc.core.channel.v1.MsgChannelCloseConfirm\x1a\x33.ibc.core.channel.v1.MsgChannelCloseConfirmResponse\x12\\\n\nRecvPacket\x12\".ibc.core.channel.v1.MsgRecvPacket\x1a*.ibc.core.channel.v1.MsgRecvPacketResponse\x12S\n\x07Timeout\x12\x1f.ibc.core.channel.v1.MsgTimeout\x1a\'.ibc.core.channel.v1.MsgTimeoutResponse\x12h\n\x0eTimeoutOnClose\x12&.ibc.core.channel.v1.MsgTimeoutOnClose\x1a..ibc.core.channel.v1.MsgTimeoutOnCloseResponse\x12k\n\x0f\x41\x63knowledgement\x12\'.ibc.core.channel.v1.MsgAcknowledgement\x1a/.ibc.core.channel.v1.MsgAcknowledgementResponse\x12t\n\x12\x43hannelUpgradeInit\x12*.ibc.core.channel.v1.MsgChannelUpgradeInit\x1a\x32.ibc.core.channel.v1.MsgChannelUpgradeInitResponse\x12q\n\x11\x43hannelUpgradeTry\x12).ibc.core.channel.v1.MsgChannelUpgradeTry\x1a\x31.ibc.core.channel.v1.MsgChannelUpgradeTryResponse\x12q\n\x11\x43hannelUpgradeAck\x12).ibc.core.channel.v1.MsgChannelUpgradeAck\x1a\x31.ibc.core.channel.v1.MsgChannelUpgradeAckResponse\x12}\n\x15\x43hannelUpgradeConfirm\x12-.ibc.core.channel.v1.MsgChannelUpgradeConfirm\x1a\x35.ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse\x12t\n\x12\x43hannelUpgradeOpen\x12*.ibc.core.channel.v1.MsgChannelUpgradeOpen\x1a\x32.ibc.core.channel.v1.MsgChannelUpgradeOpenResponse\x12}\n\x15\x43hannelUpgradeTimeout\x12-.ibc.core.channel.v1.MsgChannelUpgradeTimeout\x1a\x35.ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse\x12z\n\x14\x43hannelUpgradeCancel\x12,.ibc.core.channel.v1.MsgChannelUpgradeCancel\x1a\x34.ibc.core.channel.v1.MsgChannelUpgradeCancelResponse\x12i\n\x13UpdateChannelParams\x12$.ibc.core.channel.v1.MsgUpdateParams\x1a,.ibc.core.channel.v1.MsgUpdateParamsResponse\x12}\n\x15PruneAcknowledgements\x12-.ibc.core.channel.v1.MsgPruneAcknowledgements\x1a\x35.ibc.core.channel.v1.MsgPruneAcknowledgementsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xcc\x01\n\x17\x63om.ibc.core.channel.v1B\x07TxProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\007TxProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' - _globals['_RESPONSERESULTTYPE']._loaded_options = None - _globals['_RESPONSERESULTTYPE']._serialized_options = b'\210\243\036\000' - _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_UNSPECIFIED"]._loaded_options = None - _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' - _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_NOOP"]._loaded_options = None - _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_NOOP"]._serialized_options = b'\212\235 \004NOOP' - _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_SUCCESS"]._loaded_options = None - _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_SUCCESS"]._serialized_options = b'\212\235 \007SUCCESS' - _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_FAILURE"]._loaded_options = None - _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_FAILURE"]._serialized_options = b'\212\235 \007FAILURE' - _globals['_MSGCHANNELOPENINIT'].fields_by_name['channel']._loaded_options = None - _globals['_MSGCHANNELOPENINIT'].fields_by_name['channel']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELOPENINIT']._loaded_options = None - _globals['_MSGCHANNELOPENINIT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELOPENINITRESPONSE']._loaded_options = None - _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGCHANNELOPENTRY'].fields_by_name['previous_channel_id']._loaded_options = None - _globals['_MSGCHANNELOPENTRY'].fields_by_name['previous_channel_id']._serialized_options = b'\030\001' - _globals['_MSGCHANNELOPENTRY'].fields_by_name['channel']._loaded_options = None - _globals['_MSGCHANNELOPENTRY'].fields_by_name['channel']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELOPENTRY'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELOPENTRY'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELOPENTRY']._loaded_options = None - _globals['_MSGCHANNELOPENTRY']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELOPENTRYRESPONSE']._loaded_options = None - _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGCHANNELOPENACK'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELOPENACK'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELOPENACK']._loaded_options = None - _globals['_MSGCHANNELOPENACK']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELOPENCONFIRM'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELOPENCONFIRM'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELOPENCONFIRM']._loaded_options = None - _globals['_MSGCHANNELOPENCONFIRM']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELCLOSEINIT']._loaded_options = None - _globals['_MSGCHANNELCLOSEINIT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELCLOSECONFIRM'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELCLOSECONFIRM'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELCLOSECONFIRM']._loaded_options = None - _globals['_MSGCHANNELCLOSECONFIRM']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGRECVPACKET'].fields_by_name['packet']._loaded_options = None - _globals['_MSGRECVPACKET'].fields_by_name['packet']._serialized_options = b'\310\336\037\000' - _globals['_MSGRECVPACKET'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGRECVPACKET'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGRECVPACKET']._loaded_options = None - _globals['_MSGRECVPACKET']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGRECVPACKETRESPONSE']._loaded_options = None - _globals['_MSGRECVPACKETRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGTIMEOUT'].fields_by_name['packet']._loaded_options = None - _globals['_MSGTIMEOUT'].fields_by_name['packet']._serialized_options = b'\310\336\037\000' - _globals['_MSGTIMEOUT'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGTIMEOUT'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGTIMEOUT']._loaded_options = None - _globals['_MSGTIMEOUT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGTIMEOUTRESPONSE']._loaded_options = None - _globals['_MSGTIMEOUTRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGTIMEOUTONCLOSE'].fields_by_name['packet']._loaded_options = None - _globals['_MSGTIMEOUTONCLOSE'].fields_by_name['packet']._serialized_options = b'\310\336\037\000' - _globals['_MSGTIMEOUTONCLOSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGTIMEOUTONCLOSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGTIMEOUTONCLOSE']._loaded_options = None - _globals['_MSGTIMEOUTONCLOSE']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGTIMEOUTONCLOSERESPONSE']._loaded_options = None - _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGACKNOWLEDGEMENT'].fields_by_name['packet']._loaded_options = None - _globals['_MSGACKNOWLEDGEMENT'].fields_by_name['packet']._serialized_options = b'\310\336\037\000' - _globals['_MSGACKNOWLEDGEMENT'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGACKNOWLEDGEMENT'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGACKNOWLEDGEMENT']._loaded_options = None - _globals['_MSGACKNOWLEDGEMENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGACKNOWLEDGEMENTRESPONSE']._loaded_options = None - _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGCHANNELUPGRADEINIT'].fields_by_name['fields']._loaded_options = None - _globals['_MSGCHANNELUPGRADEINIT'].fields_by_name['fields']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADEINIT']._loaded_options = None - _globals['_MSGCHANNELUPGRADEINIT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELUPGRADEINITRESPONSE'].fields_by_name['upgrade']._loaded_options = None - _globals['_MSGCHANNELUPGRADEINITRESPONSE'].fields_by_name['upgrade']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADEINITRESPONSE']._loaded_options = None - _globals['_MSGCHANNELUPGRADEINITRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGCHANNELUPGRADETRY'].fields_by_name['counterparty_upgrade_fields']._loaded_options = None - _globals['_MSGCHANNELUPGRADETRY'].fields_by_name['counterparty_upgrade_fields']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADETRY'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELUPGRADETRY'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADETRY']._loaded_options = None - _globals['_MSGCHANNELUPGRADETRY']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELUPGRADETRYRESPONSE'].fields_by_name['upgrade']._loaded_options = None - _globals['_MSGCHANNELUPGRADETRYRESPONSE'].fields_by_name['upgrade']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADETRYRESPONSE']._loaded_options = None - _globals['_MSGCHANNELUPGRADETRYRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGCHANNELUPGRADEACK'].fields_by_name['counterparty_upgrade']._loaded_options = None - _globals['_MSGCHANNELUPGRADEACK'].fields_by_name['counterparty_upgrade']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADEACK'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELUPGRADEACK'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADEACK']._loaded_options = None - _globals['_MSGCHANNELUPGRADEACK']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELUPGRADEACKRESPONSE']._loaded_options = None - _globals['_MSGCHANNELUPGRADEACKRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGCHANNELUPGRADECONFIRM'].fields_by_name['counterparty_upgrade']._loaded_options = None - _globals['_MSGCHANNELUPGRADECONFIRM'].fields_by_name['counterparty_upgrade']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADECONFIRM'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELUPGRADECONFIRM'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADECONFIRM']._loaded_options = None - _globals['_MSGCHANNELUPGRADECONFIRM']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELUPGRADECONFIRMRESPONSE']._loaded_options = None - _globals['_MSGCHANNELUPGRADECONFIRMRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGCHANNELUPGRADEOPEN'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELUPGRADEOPEN'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADEOPEN']._loaded_options = None - _globals['_MSGCHANNELUPGRADEOPEN']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELUPGRADETIMEOUT'].fields_by_name['counterparty_channel']._loaded_options = None - _globals['_MSGCHANNELUPGRADETIMEOUT'].fields_by_name['counterparty_channel']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADETIMEOUT'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELUPGRADETIMEOUT'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADETIMEOUT']._loaded_options = None - _globals['_MSGCHANNELUPGRADETIMEOUT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELUPGRADECANCEL'].fields_by_name['error_receipt']._loaded_options = None - _globals['_MSGCHANNELUPGRADECANCEL'].fields_by_name['error_receipt']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADECANCEL'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELUPGRADECANCEL'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADECANCEL']._loaded_options = None - _globals['_MSGCHANNELUPGRADECANCEL']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\tauthority' - _globals['_MSGPRUNEACKNOWLEDGEMENTS']._loaded_options = None - _globals['_MSGPRUNEACKNOWLEDGEMENTS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_RESPONSERESULTTYPE']._serialized_start=7165 - _globals['_RESPONSERESULTTYPE']._serialized_end=7381 - _globals['_MSGCHANNELOPENINIT']._serialized_start=204 - _globals['_MSGCHANNELOPENINIT']._serialized_end=352 - _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_start=354 - _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_end=445 - _globals['_MSGCHANNELOPENTRY']._serialized_start=448 - _globals['_MSGCHANNELOPENTRY']._serialized_end=798 - _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_start=800 - _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_end=890 - _globals['_MSGCHANNELOPENACK']._serialized_start=893 - _globals['_MSGCHANNELOPENACK']._serialized_end=1214 - _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_start=1216 - _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_end=1243 - _globals['_MSGCHANNELOPENCONFIRM']._serialized_start=1246 - _globals['_MSGCHANNELOPENCONFIRM']._serialized_end=1464 - _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_start=1466 - _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_end=1497 - _globals['_MSGCHANNELCLOSEINIT']._serialized_start=1499 - _globals['_MSGCHANNELCLOSEINIT']._serialized_end=1617 - _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_start=1619 - _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_end=1648 - _globals['_MSGCHANNELCLOSECONFIRM']._serialized_start=1651 - _globals['_MSGCHANNELCLOSECONFIRM']._serialized_end=1940 - _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_start=1942 - _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_end=1974 - _globals['_MSGRECVPACKET']._serialized_start=1977 - _globals['_MSGRECVPACKET']._serialized_end=2204 - _globals['_MSGRECVPACKETRESPONSE']._serialized_start=2206 - _globals['_MSGRECVPACKETRESPONSE']._serialized_end=2300 - _globals['_MSGTIMEOUT']._serialized_start=2303 - _globals['_MSGTIMEOUT']._serialized_end=2573 - _globals['_MSGTIMEOUTRESPONSE']._serialized_start=2575 - _globals['_MSGTIMEOUTRESPONSE']._serialized_end=2666 - _globals['_MSGTIMEOUTONCLOSE']._serialized_start=2669 - _globals['_MSGTIMEOUTONCLOSE']._serialized_end=3047 - _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_start=3049 - _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_end=3147 - _globals['_MSGACKNOWLEDGEMENT']._serialized_start=3150 - _globals['_MSGACKNOWLEDGEMENT']._serialized_end=3414 - _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_start=3416 - _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_end=3515 - _globals['_MSGCHANNELUPGRADEINIT']._serialized_start=3518 - _globals['_MSGCHANNELUPGRADEINIT']._serialized_end=3704 - _globals['_MSGCHANNELUPGRADEINITRESPONSE']._serialized_start=3707 - _globals['_MSGCHANNELUPGRADEINITRESPONSE']._serialized_end=3849 - _globals['_MSGCHANNELUPGRADETRY']._serialized_start=3852 - _globals['_MSGCHANNELUPGRADETRY']._serialized_end=4361 - _globals['_MSGCHANNELUPGRADETRYRESPONSE']._serialized_start=4364 - _globals['_MSGCHANNELUPGRADETRYRESPONSE']._serialized_end=4570 - _globals['_MSGCHANNELUPGRADEACK']._serialized_start=4573 - _globals['_MSGCHANNELUPGRADEACK']._serialized_end=4922 - _globals['_MSGCHANNELUPGRADEACKRESPONSE']._serialized_start=4924 - _globals['_MSGCHANNELUPGRADEACKRESPONSE']._serialized_end=5025 - _globals['_MSGCHANNELUPGRADECONFIRM']._serialized_start=5028 - _globals['_MSGCHANNELUPGRADECONFIRM']._serialized_end=5471 - _globals['_MSGCHANNELUPGRADECONFIRMRESPONSE']._serialized_start=5473 - _globals['_MSGCHANNELUPGRADECONFIRMRESPONSE']._serialized_end=5578 - _globals['_MSGCHANNELUPGRADEOPEN']._serialized_start=5581 - _globals['_MSGCHANNELUPGRADEOPEN']._serialized_end=5965 - _globals['_MSGCHANNELUPGRADEOPENRESPONSE']._serialized_start=5967 - _globals['_MSGCHANNELUPGRADEOPENRESPONSE']._serialized_end=5998 - _globals['_MSGCHANNELUPGRADETIMEOUT']._serialized_start=6001 - _globals['_MSGCHANNELUPGRADETIMEOUT']._serialized_end=6317 - _globals['_MSGCHANNELUPGRADETIMEOUTRESPONSE']._serialized_start=6319 - _globals['_MSGCHANNELUPGRADETIMEOUTRESPONSE']._serialized_end=6353 - _globals['_MSGCHANNELUPGRADECANCEL']._serialized_start=6356 - _globals['_MSGCHANNELUPGRADECANCEL']._serialized_end=6673 - _globals['_MSGCHANNELUPGRADECANCELRESPONSE']._serialized_start=6675 - _globals['_MSGCHANNELUPGRADECANCELRESPONSE']._serialized_end=6708 - _globals['_MSGUPDATEPARAMS']._serialized_start=6710 - _globals['_MSGUPDATEPARAMS']._serialized_end=6836 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=6838 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=6863 - _globals['_MSGPRUNEACKNOWLEDGEMENTS']._serialized_start=6866 - _globals['_MSGPRUNEACKNOWLEDGEMENTS']._serialized_end=7011 - _globals['_MSGPRUNEACKNOWLEDGEMENTSRESPONSE']._serialized_start=7014 - _globals['_MSGPRUNEACKNOWLEDGEMENTSRESPONSE']._serialized_end=7162 - _globals['_MSG']._serialized_start=7384 - _globals['_MSG']._serialized_end=9540 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/tx_pb2_grpc.py deleted file mode 100644 index 3dc03c7c..00000000 --- a/pyinjective/proto/ibc/core/channel/v1/tx_pb2_grpc.py +++ /dev/null @@ -1,874 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.ibc.core.channel.v1 import tx_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the ibc/channel Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.ChannelOpenInit = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelOpenInit', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInit.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInitResponse.FromString, - _registered_method=True) - self.ChannelOpenTry = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelOpenTry', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTry.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTryResponse.FromString, - _registered_method=True) - self.ChannelOpenAck = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelOpenAck', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAck.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAckResponse.FromString, - _registered_method=True) - self.ChannelOpenConfirm = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelOpenConfirm', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirm.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirmResponse.FromString, - _registered_method=True) - self.ChannelCloseInit = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelCloseInit', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInit.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInitResponse.FromString, - _registered_method=True) - self.ChannelCloseConfirm = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelCloseConfirm', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirm.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirmResponse.FromString, - _registered_method=True) - self.RecvPacket = channel.unary_unary( - '/ibc.core.channel.v1.Msg/RecvPacket', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacket.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacketResponse.FromString, - _registered_method=True) - self.Timeout = channel.unary_unary( - '/ibc.core.channel.v1.Msg/Timeout', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeout.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutResponse.FromString, - _registered_method=True) - self.TimeoutOnClose = channel.unary_unary( - '/ibc.core.channel.v1.Msg/TimeoutOnClose', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnClose.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnCloseResponse.FromString, - _registered_method=True) - self.Acknowledgement = channel.unary_unary( - '/ibc.core.channel.v1.Msg/Acknowledgement', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgement.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgementResponse.FromString, - _registered_method=True) - self.ChannelUpgradeInit = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelUpgradeInit', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInit.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInitResponse.FromString, - _registered_method=True) - self.ChannelUpgradeTry = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelUpgradeTry', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTry.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTryResponse.FromString, - _registered_method=True) - self.ChannelUpgradeAck = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelUpgradeAck', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAck.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAckResponse.FromString, - _registered_method=True) - self.ChannelUpgradeConfirm = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelUpgradeConfirm', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirm.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirmResponse.FromString, - _registered_method=True) - self.ChannelUpgradeOpen = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelUpgradeOpen', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpen.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpenResponse.FromString, - _registered_method=True) - self.ChannelUpgradeTimeout = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelUpgradeTimeout', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeout.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeoutResponse.FromString, - _registered_method=True) - self.ChannelUpgradeCancel = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelUpgradeCancel', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancel.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancelResponse.FromString, - _registered_method=True) - self.UpdateChannelParams = channel.unary_unary( - '/ibc.core.channel.v1.Msg/UpdateChannelParams', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - self.PruneAcknowledgements = channel.unary_unary( - '/ibc.core.channel.v1.Msg/PruneAcknowledgements', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgements.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgementsResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the ibc/channel Msg service. - """ - - def ChannelOpenInit(self, request, context): - """ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChannelOpenTry(self, request, context): - """ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChannelOpenAck(self, request, context): - """ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChannelOpenConfirm(self, request, context): - """ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChannelCloseInit(self, request, context): - """ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChannelCloseConfirm(self, request, context): - """ChannelCloseConfirm defines a rpc handler method for - MsgChannelCloseConfirm. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RecvPacket(self, request, context): - """RecvPacket defines a rpc handler method for MsgRecvPacket. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Timeout(self, request, context): - """Timeout defines a rpc handler method for MsgTimeout. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TimeoutOnClose(self, request, context): - """TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Acknowledgement(self, request, context): - """Acknowledgement defines a rpc handler method for MsgAcknowledgement. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChannelUpgradeInit(self, request, context): - """ChannelUpgradeInit defines a rpc handler method for MsgChannelUpgradeInit. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChannelUpgradeTry(self, request, context): - """ChannelUpgradeTry defines a rpc handler method for MsgChannelUpgradeTry. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChannelUpgradeAck(self, request, context): - """ChannelUpgradeAck defines a rpc handler method for MsgChannelUpgradeAck. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChannelUpgradeConfirm(self, request, context): - """ChannelUpgradeConfirm defines a rpc handler method for MsgChannelUpgradeConfirm. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChannelUpgradeOpen(self, request, context): - """ChannelUpgradeOpen defines a rpc handler method for MsgChannelUpgradeOpen. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChannelUpgradeTimeout(self, request, context): - """ChannelUpgradeTimeout defines a rpc handler method for MsgChannelUpgradeTimeout. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChannelUpgradeCancel(self, request, context): - """ChannelUpgradeCancel defines a rpc handler method for MsgChannelUpgradeCancel. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateChannelParams(self, request, context): - """UpdateChannelParams defines a rpc handler method for MsgUpdateParams. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PruneAcknowledgements(self, request, context): - """PruneAcknowledgements defines a rpc handler method for MsgPruneAcknowledgements. - """ - 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 = { - 'ChannelOpenInit': grpc.unary_unary_rpc_method_handler( - servicer.ChannelOpenInit, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInit.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInitResponse.SerializeToString, - ), - 'ChannelOpenTry': grpc.unary_unary_rpc_method_handler( - servicer.ChannelOpenTry, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTry.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTryResponse.SerializeToString, - ), - 'ChannelOpenAck': grpc.unary_unary_rpc_method_handler( - servicer.ChannelOpenAck, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAck.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAckResponse.SerializeToString, - ), - 'ChannelOpenConfirm': grpc.unary_unary_rpc_method_handler( - servicer.ChannelOpenConfirm, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirm.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirmResponse.SerializeToString, - ), - 'ChannelCloseInit': grpc.unary_unary_rpc_method_handler( - servicer.ChannelCloseInit, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInit.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInitResponse.SerializeToString, - ), - 'ChannelCloseConfirm': grpc.unary_unary_rpc_method_handler( - servicer.ChannelCloseConfirm, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirm.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirmResponse.SerializeToString, - ), - 'RecvPacket': grpc.unary_unary_rpc_method_handler( - servicer.RecvPacket, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacket.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacketResponse.SerializeToString, - ), - 'Timeout': grpc.unary_unary_rpc_method_handler( - servicer.Timeout, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeout.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutResponse.SerializeToString, - ), - 'TimeoutOnClose': grpc.unary_unary_rpc_method_handler( - servicer.TimeoutOnClose, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnClose.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnCloseResponse.SerializeToString, - ), - 'Acknowledgement': grpc.unary_unary_rpc_method_handler( - servicer.Acknowledgement, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgement.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgementResponse.SerializeToString, - ), - 'ChannelUpgradeInit': grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeInit, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInit.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInitResponse.SerializeToString, - ), - 'ChannelUpgradeTry': grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeTry, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTry.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTryResponse.SerializeToString, - ), - 'ChannelUpgradeAck': grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeAck, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAck.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAckResponse.SerializeToString, - ), - 'ChannelUpgradeConfirm': grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeConfirm, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirm.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirmResponse.SerializeToString, - ), - 'ChannelUpgradeOpen': grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeOpen, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpen.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpenResponse.SerializeToString, - ), - 'ChannelUpgradeTimeout': grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeTimeout, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeout.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeoutResponse.SerializeToString, - ), - 'ChannelUpgradeCancel': grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeCancel, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancel.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancelResponse.SerializeToString, - ), - 'UpdateChannelParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateChannelParams, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'PruneAcknowledgements': grpc.unary_unary_rpc_method_handler( - servicer.PruneAcknowledgements, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgements.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgementsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.core.channel.v1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.core.channel.v1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the ibc/channel Msg service. - """ - - @staticmethod - def ChannelOpenInit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/ChannelOpenInit', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInit.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ChannelOpenTry(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/ChannelOpenTry', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTry.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ChannelOpenAck(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/ChannelOpenAck', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAck.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAckResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ChannelOpenConfirm(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/ChannelOpenConfirm', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirm.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirmResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ChannelCloseInit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/ChannelCloseInit', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInit.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ChannelCloseConfirm(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/ChannelCloseConfirm', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirm.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirmResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def RecvPacket(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/RecvPacket', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacket.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacketResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Timeout(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/Timeout', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeout.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def TimeoutOnClose(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/TimeoutOnClose', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnClose.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnCloseResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Acknowledgement(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/Acknowledgement', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgement.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgementResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ChannelUpgradeInit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/ChannelUpgradeInit', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInit.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ChannelUpgradeTry(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/ChannelUpgradeTry', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTry.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ChannelUpgradeAck(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/ChannelUpgradeAck', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAck.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAckResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ChannelUpgradeConfirm(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/ChannelUpgradeConfirm', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirm.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirmResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ChannelUpgradeOpen(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/ChannelUpgradeOpen', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpen.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpenResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ChannelUpgradeTimeout(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/ChannelUpgradeTimeout', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeout.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeoutResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ChannelUpgradeCancel(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/ChannelUpgradeCancel', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancel.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancelResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateChannelParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/UpdateChannelParams', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PruneAcknowledgements(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.channel.v1.Msg/PruneAcknowledgements', - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgements.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgementsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2.py b/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2.py deleted file mode 100644 index 6fb380f8..00000000 --- a/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/core/channel/v1/upgrade.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/upgrade.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\xbd\x01\n\x07Upgrade\x12@\n\x06\x66ields\x18\x01 \x01(\x0b\x32\".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x06\x66ields\x12<\n\x07timeout\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.TimeoutB\x04\xc8\xde\x1f\x00R\x07timeout\x12,\n\x12next_sequence_send\x18\x03 \x01(\x04R\x10nextSequenceSend:\x04\x88\xa0\x1f\x00\"\x90\x01\n\rUpgradeFields\x12\x36\n\x08ordering\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12\'\n\x0f\x63onnection_hops\x18\x02 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version:\x04\x88\xa0\x1f\x00\"J\n\x0c\x45rrorReceipt\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message:\x04\x88\xa0\x1f\x00\x42\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0cUpgradeProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.upgrade_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\014UpgradeProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' - _globals['_UPGRADE'].fields_by_name['fields']._loaded_options = None - _globals['_UPGRADE'].fields_by_name['fields']._serialized_options = b'\310\336\037\000' - _globals['_UPGRADE'].fields_by_name['timeout']._loaded_options = None - _globals['_UPGRADE'].fields_by_name['timeout']._serialized_options = b'\310\336\037\000' - _globals['_UPGRADE']._loaded_options = None - _globals['_UPGRADE']._serialized_options = b'\210\240\037\000' - _globals['_UPGRADEFIELDS']._loaded_options = None - _globals['_UPGRADEFIELDS']._serialized_options = b'\210\240\037\000' - _globals['_ERRORRECEIPT']._loaded_options = None - _globals['_ERRORRECEIPT']._serialized_options = b'\210\240\037\000' - _globals['_UPGRADE']._serialized_start=116 - _globals['_UPGRADE']._serialized_end=305 - _globals['_UPGRADEFIELDS']._serialized_start=308 - _globals['_UPGRADEFIELDS']._serialized_end=452 - _globals['_ERRORRECEIPT']._serialized_start=454 - _globals['_ERRORRECEIPT']._serialized_end=528 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/core/client/v1/client_pb2.py b/pyinjective/proto/ibc/core/client/v1/client_pb2.py deleted file mode 100644 index a56c2582..00000000 --- a/pyinjective/proto/ibc/core/client/v1/client_pb2.py +++ /dev/null @@ -1,61 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/core/client/v1/client.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.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$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"m\n\x15IdentifiedClientState\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x37\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\"\x93\x01\n\x18\x43onsensusStateWithHeight\x12\x38\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\x12=\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\"\x93\x01\n\x15\x43lientConsensusStates\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12]\n\x10\x63onsensus_states\x18\x02 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00R\x0f\x63onsensusStates\"d\n\x06Height\x12\'\n\x0frevision_number\x18\x01 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x02 \x01(\x04R\x0erevisionHeight:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"1\n\x06Params\x12\'\n\x0f\x61llowed_clients\x18\x01 \x03(\tR\x0e\x61llowedClients\"\x91\x02\n\x14\x43lientUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12H\n\x11subject_client_id\x18\x03 \x01(\tB\x1c\xf2\xde\x1f\x18yaml:\"subject_client_id\"R\x0fsubjectClientId\x12Q\n\x14substitute_client_id\x18\x04 \x01(\tB\x1f\xf2\xde\x1f\x1byaml:\"substitute_client_id\"R\x12substituteClientId:$\x18\x01\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x9b\x02\n\x0fUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x36\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00R\x04plan\x12j\n\x15upgraded_client_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB \xf2\xde\x1f\x1cyaml:\"upgraded_client_state\"R\x13upgradedClientState:,\x18\x01\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB\xca\x01\n\x16\x63om.ibc.core.client.v1B\x0b\x43lientProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.client_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ibc.core.client.v1B\013ClientProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1' - _globals['_CONSENSUSSTATEWITHHEIGHT'].fields_by_name['height']._loaded_options = None - _globals['_CONSENSUSSTATEWITHHEIGHT'].fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_CLIENTCONSENSUSSTATES'].fields_by_name['consensus_states']._loaded_options = None - _globals['_CLIENTCONSENSUSSTATES'].fields_by_name['consensus_states']._serialized_options = b'\310\336\037\000' - _globals['_HEIGHT']._loaded_options = None - _globals['_HEIGHT']._serialized_options = b'\210\240\037\000\230\240\037\000' - _globals['_CLIENTUPDATEPROPOSAL'].fields_by_name['subject_client_id']._loaded_options = None - _globals['_CLIENTUPDATEPROPOSAL'].fields_by_name['subject_client_id']._serialized_options = b'\362\336\037\030yaml:\"subject_client_id\"' - _globals['_CLIENTUPDATEPROPOSAL'].fields_by_name['substitute_client_id']._loaded_options = None - _globals['_CLIENTUPDATEPROPOSAL'].fields_by_name['substitute_client_id']._serialized_options = b'\362\336\037\033yaml:\"substitute_client_id\"' - _globals['_CLIENTUPDATEPROPOSAL']._loaded_options = None - _globals['_CLIENTUPDATEPROPOSAL']._serialized_options = b'\030\001\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_UPGRADEPROPOSAL'].fields_by_name['plan']._loaded_options = None - _globals['_UPGRADEPROPOSAL'].fields_by_name['plan']._serialized_options = b'\310\336\037\000' - _globals['_UPGRADEPROPOSAL'].fields_by_name['upgraded_client_state']._loaded_options = None - _globals['_UPGRADEPROPOSAL'].fields_by_name['upgraded_client_state']._serialized_options = b'\362\336\037\034yaml:\"upgraded_client_state\"' - _globals['_UPGRADEPROPOSAL']._loaded_options = None - _globals['_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=278 - _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_start=281 - _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_end=428 - _globals['_CLIENTCONSENSUSSTATES']._serialized_start=431 - _globals['_CLIENTCONSENSUSSTATES']._serialized_end=578 - _globals['_HEIGHT']._serialized_start=580 - _globals['_HEIGHT']._serialized_end=680 - _globals['_PARAMS']._serialized_start=682 - _globals['_PARAMS']._serialized_end=731 - _globals['_CLIENTUPDATEPROPOSAL']._serialized_start=734 - _globals['_CLIENTUPDATEPROPOSAL']._serialized_end=1007 - _globals['_UPGRADEPROPOSAL']._serialized_start=1010 - _globals['_UPGRADEPROPOSAL']._serialized_end=1293 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/client_pb2_grpc.py b/pyinjective/proto/ibc/core/client/v1/client_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/core/client/v1/client_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/core/client/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py deleted file mode 100644 index 3137f37f..00000000 --- a/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py +++ /dev/null @@ -1,47 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/core/client/v1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/core/client/v1/genesis.proto\x12\x12ibc.core.client.v1\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto\"\xe6\x03\n\x0cGenesisState\x12\x63\n\x07\x63lients\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStatesR\x07\x63lients\x12v\n\x11\x63lients_consensus\x18\x02 \x03(\x0b\x32).ibc.core.client.v1.ClientConsensusStatesB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16\x43lientsConsensusStatesR\x10\x63lientsConsensus\x12^\n\x10\x63lients_metadata\x18\x03 \x03(\x0b\x32-.ibc.core.client.v1.IdentifiedGenesisMetadataB\x04\xc8\xde\x1f\x00R\x0f\x63lientsMetadata\x12\x38\n\x06params\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12-\n\x10\x63reate_localhost\x18\x05 \x01(\x08\x42\x02\x18\x01R\x0f\x63reateLocalhost\x12\x30\n\x14next_client_sequence\x18\x06 \x01(\x04R\x12nextClientSequence\"?\n\x0fGenesisMetadata\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value:\x04\x88\xa0\x1f\x00\"\x8c\x01\n\x19IdentifiedGenesisMetadata\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12R\n\x0f\x63lient_metadata\x18\x02 \x03(\x0b\x32#.ibc.core.client.v1.GenesisMetadataB\x04\xc8\xde\x1f\x00R\x0e\x63lientMetadataB\xcb\x01\n\x16\x63om.ibc.core.client.v1B\x0cGenesisProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ibc.core.client.v1B\014GenesisProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1' - _globals['_GENESISSTATE'].fields_by_name['clients']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['clients']._serialized_options = b'\310\336\037\000\252\337\037\026IdentifiedClientStates' - _globals['_GENESISSTATE'].fields_by_name['clients_consensus']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['clients_consensus']._serialized_options = b'\310\336\037\000\252\337\037\026ClientsConsensusStates' - _globals['_GENESISSTATE'].fields_by_name['clients_metadata']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['clients_metadata']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['create_localhost']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['create_localhost']._serialized_options = b'\030\001' - _globals['_GENESISMETADATA']._loaded_options = None - _globals['_GENESISMETADATA']._serialized_options = b'\210\240\037\000' - _globals['_IDENTIFIEDGENESISMETADATA'].fields_by_name['client_metadata']._loaded_options = None - _globals['_IDENTIFIEDGENESISMETADATA'].fields_by_name['client_metadata']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=112 - _globals['_GENESISSTATE']._serialized_end=598 - _globals['_GENESISMETADATA']._serialized_start=600 - _globals['_GENESISMETADATA']._serialized_end=663 - _globals['_IDENTIFIEDGENESISMETADATA']._serialized_start=666 - _globals['_IDENTIFIEDGENESISMETADATA']._serialized_end=806 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/core/client/v1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/core/client/v1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/core/client/v1/query_pb2.py b/pyinjective/proto/ibc/core/client/v1/query_pb2.py deleted file mode 100644 index 66b76708..00000000 --- a/pyinjective/proto/ibc/core/client/v1/query_pb2.py +++ /dev/null @@ -1,108 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/core/client/v1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 -from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -from pyinjective.proto.ibc.core.commitment.v1 import commitment_pb2 as ibc_dot_core_dot_commitment_dot_v1_dot_commitment__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eibc/core/client/v1/query.proto\x12\x12ibc.core.client.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto\"6\n\x17QueryClientStateRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\"\xae\x01\n\x18QueryClientStateResponse\x12\x37\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"b\n\x18QueryClientStatesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xd4\x01\n\x19QueryClientStatesResponse\x12n\n\rclient_states\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStatesR\x0c\x63lientStates\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xb0\x01\n\x1aQueryConsensusStateRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\'\n\x0frevision_number\x18\x02 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x03 \x01(\x04R\x0erevisionHeight\x12#\n\rlatest_height\x18\x04 \x01(\x08R\x0clatestHeight\"\xb7\x01\n\x1bQueryConsensusStateResponse\x12=\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\x82\x01\n\x1bQueryConsensusStatesRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xc6\x01\n\x1cQueryConsensusStatesResponse\x12]\n\x10\x63onsensus_states\x18\x01 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00R\x0f\x63onsensusStates\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x88\x01\n!QueryConsensusStateHeightsRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xc7\x01\n\"QueryConsensusStateHeightsResponse\x12X\n\x17\x63onsensus_state_heights\x18\x01 \x03(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x15\x63onsensusStateHeights\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"7\n\x18QueryClientStatusRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\"3\n\x19QueryClientStatusResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\"\x1a\n\x18QueryClientParamsRequest\"O\n\x19QueryClientParamsResponse\x12\x32\n\x06params\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsR\x06params\"!\n\x1fQueryUpgradedClientStateRequest\"l\n QueryUpgradedClientStateResponse\x12H\n\x15upgraded_client_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x13upgradedClientState\"$\n\"QueryUpgradedConsensusStateRequest\"u\n#QueryUpgradedConsensusStateResponse\x12N\n\x18upgraded_consensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x16upgradedConsensusState\"\xb7\x02\n\x1cQueryVerifyMembershipRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12I\n\x0bmerkle_path\x18\x04 \x01(\x0b\x32\".ibc.core.commitment.v1.MerklePathB\x04\xc8\xde\x1f\x00R\nmerklePath\x12\x14\n\x05value\x18\x05 \x01(\x0cR\x05value\x12\x1d\n\ntime_delay\x18\x06 \x01(\x04R\ttimeDelay\x12\x1f\n\x0b\x62lock_delay\x18\x07 \x01(\x04R\nblockDelay\"9\n\x1dQueryVerifyMembershipResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success2\x82\x0e\n\x05Query\x12\x9f\x01\n\x0b\x43lientState\x12+.ibc.core.client.v1.QueryClientStateRequest\x1a,.ibc.core.client.v1.QueryClientStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_states/{client_id}\x12\x96\x01\n\x0c\x43lientStates\x12,.ibc.core.client.v1.QueryClientStatesRequest\x1a-.ibc.core.client.v1.QueryClientStatesResponse\")\x82\xd3\xe4\x93\x02#\x12!/ibc/core/client/v1/client_states\x12\xdf\x01\n\x0e\x43onsensusState\x12..ibc.core.client.v1.QueryConsensusStateRequest\x1a/.ibc.core.client.v1.QueryConsensusStateResponse\"l\x82\xd3\xe4\x93\x02\x66\x12\x64/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}\x12\xae\x01\n\x0f\x43onsensusStates\x12/.ibc.core.client.v1.QueryConsensusStatesRequest\x1a\x30.ibc.core.client.v1.QueryConsensusStatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/ibc/core/client/v1/consensus_states/{client_id}\x12\xc8\x01\n\x15\x43onsensusStateHeights\x12\x35.ibc.core.client.v1.QueryConsensusStateHeightsRequest\x1a\x36.ibc.core.client.v1.QueryConsensusStateHeightsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/ibc/core/client/v1/consensus_states/{client_id}/heights\x12\xa2\x01\n\x0c\x43lientStatus\x12,.ibc.core.client.v1.QueryClientStatusRequest\x1a-.ibc.core.client.v1.QueryClientStatusResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_status/{client_id}\x12\x8f\x01\n\x0c\x43lientParams\x12,.ibc.core.client.v1.QueryClientParamsRequest\x1a-.ibc.core.client.v1.QueryClientParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/ibc/core/client/v1/params\x12\xb4\x01\n\x13UpgradedClientState\x12\x33.ibc.core.client.v1.QueryUpgradedClientStateRequest\x1a\x34.ibc.core.client.v1.QueryUpgradedClientStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/ibc/core/client/v1/upgraded_client_states\x12\xc0\x01\n\x16UpgradedConsensusState\x12\x36.ibc.core.client.v1.QueryUpgradedConsensusStateRequest\x1a\x37.ibc.core.client.v1.QueryUpgradedConsensusStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/upgraded_consensus_states\x12\xae\x01\n\x10VerifyMembership\x12\x30.ibc.core.client.v1.QueryVerifyMembershipRequest\x1a\x31.ibc.core.client.v1.QueryVerifyMembershipResponse\"5\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02*\"%/ibc/core/client/v1/verify_membership:\x01*B\xc9\x01\n\x16\x63om.ibc.core.client.v1B\nQueryProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ibc.core.client.v1B\nQueryProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1' - _globals['_QUERYCLIENTSTATERESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYCLIENTSTATERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYCLIENTSTATESRESPONSE'].fields_by_name['client_states']._loaded_options = None - _globals['_QUERYCLIENTSTATESRESPONSE'].fields_by_name['client_states']._serialized_options = b'\310\336\037\000\252\337\037\026IdentifiedClientStates' - _globals['_QUERYCONSENSUSSTATERESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYCONSENSUSSTATERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYCONSENSUSSTATESRESPONSE'].fields_by_name['consensus_states']._loaded_options = None - _globals['_QUERYCONSENSUSSTATESRESPONSE'].fields_by_name['consensus_states']._serialized_options = b'\310\336\037\000' - _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE'].fields_by_name['consensus_state_heights']._loaded_options = None - _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE'].fields_by_name['consensus_state_heights']._serialized_options = b'\310\336\037\000' - _globals['_QUERYVERIFYMEMBERSHIPREQUEST'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYVERIFYMEMBERSHIPREQUEST'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYVERIFYMEMBERSHIPREQUEST'].fields_by_name['merkle_path']._loaded_options = None - _globals['_QUERYVERIFYMEMBERSHIPREQUEST'].fields_by_name['merkle_path']._serialized_options = b'\310\336\037\000' - _globals['_QUERY'].methods_by_name['ClientState']._loaded_options = None - _globals['_QUERY'].methods_by_name['ClientState']._serialized_options = b'\202\323\344\223\002/\022-/ibc/core/client/v1/client_states/{client_id}' - _globals['_QUERY'].methods_by_name['ClientStates']._loaded_options = None - _globals['_QUERY'].methods_by_name['ClientStates']._serialized_options = b'\202\323\344\223\002#\022!/ibc/core/client/v1/client_states' - _globals['_QUERY'].methods_by_name['ConsensusState']._loaded_options = None - _globals['_QUERY'].methods_by_name['ConsensusState']._serialized_options = b'\202\323\344\223\002f\022d/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}' - _globals['_QUERY'].methods_by_name['ConsensusStates']._loaded_options = None - _globals['_QUERY'].methods_by_name['ConsensusStates']._serialized_options = b'\202\323\344\223\0022\0220/ibc/core/client/v1/consensus_states/{client_id}' - _globals['_QUERY'].methods_by_name['ConsensusStateHeights']._loaded_options = None - _globals['_QUERY'].methods_by_name['ConsensusStateHeights']._serialized_options = b'\202\323\344\223\002:\0228/ibc/core/client/v1/consensus_states/{client_id}/heights' - _globals['_QUERY'].methods_by_name['ClientStatus']._loaded_options = None - _globals['_QUERY'].methods_by_name['ClientStatus']._serialized_options = b'\202\323\344\223\002/\022-/ibc/core/client/v1/client_status/{client_id}' - _globals['_QUERY'].methods_by_name['ClientParams']._loaded_options = None - _globals['_QUERY'].methods_by_name['ClientParams']._serialized_options = b'\202\323\344\223\002\034\022\032/ibc/core/client/v1/params' - _globals['_QUERY'].methods_by_name['UpgradedClientState']._loaded_options = None - _globals['_QUERY'].methods_by_name['UpgradedClientState']._serialized_options = b'\202\323\344\223\002,\022*/ibc/core/client/v1/upgraded_client_states' - _globals['_QUERY'].methods_by_name['UpgradedConsensusState']._loaded_options = None - _globals['_QUERY'].methods_by_name['UpgradedConsensusState']._serialized_options = b'\202\323\344\223\002/\022-/ibc/core/client/v1/upgraded_consensus_states' - _globals['_QUERY'].methods_by_name['VerifyMembership']._loaded_options = None - _globals['_QUERY'].methods_by_name['VerifyMembership']._serialized_options = b'\210\347\260*\001\202\323\344\223\002*\"%/ibc/core/client/v1/verify_membership:\001*' - _globals['_QUERYCLIENTSTATEREQUEST']._serialized_start=280 - _globals['_QUERYCLIENTSTATEREQUEST']._serialized_end=334 - _globals['_QUERYCLIENTSTATERESPONSE']._serialized_start=337 - _globals['_QUERYCLIENTSTATERESPONSE']._serialized_end=511 - _globals['_QUERYCLIENTSTATESREQUEST']._serialized_start=513 - _globals['_QUERYCLIENTSTATESREQUEST']._serialized_end=611 - _globals['_QUERYCLIENTSTATESRESPONSE']._serialized_start=614 - _globals['_QUERYCLIENTSTATESRESPONSE']._serialized_end=826 - _globals['_QUERYCONSENSUSSTATEREQUEST']._serialized_start=829 - _globals['_QUERYCONSENSUSSTATEREQUEST']._serialized_end=1005 - _globals['_QUERYCONSENSUSSTATERESPONSE']._serialized_start=1008 - _globals['_QUERYCONSENSUSSTATERESPONSE']._serialized_end=1191 - _globals['_QUERYCONSENSUSSTATESREQUEST']._serialized_start=1194 - _globals['_QUERYCONSENSUSSTATESREQUEST']._serialized_end=1324 - _globals['_QUERYCONSENSUSSTATESRESPONSE']._serialized_start=1327 - _globals['_QUERYCONSENSUSSTATESRESPONSE']._serialized_end=1525 - _globals['_QUERYCONSENSUSSTATEHEIGHTSREQUEST']._serialized_start=1528 - _globals['_QUERYCONSENSUSSTATEHEIGHTSREQUEST']._serialized_end=1664 - _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE']._serialized_start=1667 - _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE']._serialized_end=1866 - _globals['_QUERYCLIENTSTATUSREQUEST']._serialized_start=1868 - _globals['_QUERYCLIENTSTATUSREQUEST']._serialized_end=1923 - _globals['_QUERYCLIENTSTATUSRESPONSE']._serialized_start=1925 - _globals['_QUERYCLIENTSTATUSRESPONSE']._serialized_end=1976 - _globals['_QUERYCLIENTPARAMSREQUEST']._serialized_start=1978 - _globals['_QUERYCLIENTPARAMSREQUEST']._serialized_end=2004 - _globals['_QUERYCLIENTPARAMSRESPONSE']._serialized_start=2006 - _globals['_QUERYCLIENTPARAMSRESPONSE']._serialized_end=2085 - _globals['_QUERYUPGRADEDCLIENTSTATEREQUEST']._serialized_start=2087 - _globals['_QUERYUPGRADEDCLIENTSTATEREQUEST']._serialized_end=2120 - _globals['_QUERYUPGRADEDCLIENTSTATERESPONSE']._serialized_start=2122 - _globals['_QUERYUPGRADEDCLIENTSTATERESPONSE']._serialized_end=2230 - _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_start=2232 - _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_end=2268 - _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_start=2270 - _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_end=2387 - _globals['_QUERYVERIFYMEMBERSHIPREQUEST']._serialized_start=2390 - _globals['_QUERYVERIFYMEMBERSHIPREQUEST']._serialized_end=2701 - _globals['_QUERYVERIFYMEMBERSHIPRESPONSE']._serialized_start=2703 - _globals['_QUERYVERIFYMEMBERSHIPRESPONSE']._serialized_end=2760 - _globals['_QUERY']._serialized_start=2763 - _globals['_QUERY']._serialized_end=4557 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/core/client/v1/query_pb2_grpc.py deleted file mode 100644 index 91c747aa..00000000 --- a/pyinjective/proto/ibc/core/client/v1/query_pb2_grpc.py +++ /dev/null @@ -1,479 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.ibc.core.client.v1 import query_pb2 as ibc_dot_core_dot_client_dot_v1_dot_query__pb2 - - -class QueryStub(object): - """Query provides defines the gRPC querier service - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.ClientState = channel.unary_unary( - '/ibc.core.client.v1.Query/ClientState', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateResponse.FromString, - _registered_method=True) - self.ClientStates = channel.unary_unary( - '/ibc.core.client.v1.Query/ClientStates', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesResponse.FromString, - _registered_method=True) - self.ConsensusState = channel.unary_unary( - '/ibc.core.client.v1.Query/ConsensusState', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateResponse.FromString, - _registered_method=True) - self.ConsensusStates = channel.unary_unary( - '/ibc.core.client.v1.Query/ConsensusStates', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesResponse.FromString, - _registered_method=True) - self.ConsensusStateHeights = channel.unary_unary( - '/ibc.core.client.v1.Query/ConsensusStateHeights', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsResponse.FromString, - _registered_method=True) - self.ClientStatus = channel.unary_unary( - '/ibc.core.client.v1.Query/ClientStatus', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusResponse.FromString, - _registered_method=True) - self.ClientParams = channel.unary_unary( - '/ibc.core.client.v1.Query/ClientParams', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsResponse.FromString, - _registered_method=True) - self.UpgradedClientState = channel.unary_unary( - '/ibc.core.client.v1.Query/UpgradedClientState', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateResponse.FromString, - _registered_method=True) - self.UpgradedConsensusState = channel.unary_unary( - '/ibc.core.client.v1.Query/UpgradedConsensusState', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, - _registered_method=True) - self.VerifyMembership = channel.unary_unary( - '/ibc.core.client.v1.Query/VerifyMembership', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query provides defines the gRPC querier service - """ - - def ClientState(self, request, context): - """ClientState queries an IBC light client. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ClientStates(self, request, context): - """ClientStates queries all the IBC light clients of a chain. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ConsensusState(self, request, context): - """ConsensusState queries a consensus state associated with a client state at - a given height. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ConsensusStates(self, request, context): - """ConsensusStates queries all the consensus state associated with a given - client. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ConsensusStateHeights(self, request, context): - """ConsensusStateHeights queries the height of every consensus states associated with a given client. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ClientStatus(self, request, context): - """Status queries the status of an IBC client. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ClientParams(self, request, context): - """ClientParams queries all parameters of the ibc client submodule. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpgradedClientState(self, request, context): - """UpgradedClientState queries an Upgraded IBC light client. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpgradedConsensusState(self, request, context): - """UpgradedConsensusState queries an Upgraded IBC consensus state. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def VerifyMembership(self, request, context): - """VerifyMembership queries an IBC light client for proof verification of a value at a given key path. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'ClientState': grpc.unary_unary_rpc_method_handler( - servicer.ClientState, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateResponse.SerializeToString, - ), - 'ClientStates': grpc.unary_unary_rpc_method_handler( - servicer.ClientStates, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesResponse.SerializeToString, - ), - 'ConsensusState': grpc.unary_unary_rpc_method_handler( - servicer.ConsensusState, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateResponse.SerializeToString, - ), - 'ConsensusStates': grpc.unary_unary_rpc_method_handler( - servicer.ConsensusStates, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesResponse.SerializeToString, - ), - 'ConsensusStateHeights': grpc.unary_unary_rpc_method_handler( - servicer.ConsensusStateHeights, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsResponse.SerializeToString, - ), - 'ClientStatus': grpc.unary_unary_rpc_method_handler( - servicer.ClientStatus, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusResponse.SerializeToString, - ), - 'ClientParams': grpc.unary_unary_rpc_method_handler( - servicer.ClientParams, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsResponse.SerializeToString, - ), - 'UpgradedClientState': grpc.unary_unary_rpc_method_handler( - servicer.UpgradedClientState, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateResponse.SerializeToString, - ), - 'UpgradedConsensusState': grpc.unary_unary_rpc_method_handler( - servicer.UpgradedConsensusState, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateResponse.SerializeToString, - ), - 'VerifyMembership': grpc.unary_unary_rpc_method_handler( - servicer.VerifyMembership, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.core.client.v1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.core.client.v1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query provides defines the gRPC querier service - """ - - @staticmethod - def ClientState(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.Query/ClientState', - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateRequest.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ClientStates(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.Query/ClientStates', - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesRequest.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ConsensusState(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.Query/ConsensusState', - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateRequest.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ConsensusStates(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.Query/ConsensusStates', - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesRequest.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ConsensusStateHeights(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.Query/ConsensusStateHeights', - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsRequest.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ClientStatus(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.Query/ClientStatus', - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusRequest.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ClientParams(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.Query/ClientParams', - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsRequest.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpgradedClientState(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.Query/UpgradedClientState', - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateRequest.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpgradedConsensusState(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.Query/UpgradedConsensusState', - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def VerifyMembership(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.Query/VerifyMembership', - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipRequest.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py deleted file mode 100644 index cfd73150..00000000 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py +++ /dev/null @@ -1,80 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/core/client/v1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bibc/core/client/v1/tx.proto\x12\x12ibc.core.client.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1fibc/core/client/v1/client.proto\"\xb2\x01\n\x0fMsgCreateClient\x12\x37\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12=\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgCreateClientResponse\"\x94\x01\n\x0fMsgUpdateClient\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12;\n\x0e\x63lient_message\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\rclientMessage\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateClientResponse\"\xc5\x02\n\x10MsgUpgradeClient\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x37\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12=\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x30\n\x14proof_upgrade_client\x18\x04 \x01(\x0cR\x12proofUpgradeClient\x12\x41\n\x1dproof_upgrade_consensus_state\x18\x05 \x01(\x0cR\x1aproofUpgradeConsensusState\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1a\n\x18MsgUpgradeClientResponse\"\x99\x01\n\x15MsgSubmitMisbehaviour\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x38\n\x0cmisbehaviour\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cmisbehaviour\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x11\x18\x01\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgSubmitMisbehaviourResponse\"\x99\x01\n\x10MsgRecoverClient\x12*\n\x11subject_client_id\x18\x01 \x01(\tR\x0fsubjectClientId\x12\x30\n\x14substitute_client_id\x18\x02 \x01(\tR\x12substituteClientId\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1a\n\x18MsgRecoverClientResponse\"\xbe\x01\n\x15MsgIBCSoftwareUpgrade\x12\x36\n\x04plan\x18\x01 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00R\x04plan\x12H\n\x15upgraded_client_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x13upgradedClientState\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0b\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgIBCSoftwareUpgradeResponse\"t\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\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\xc6\x01\n\x16\x63om.ibc.core.client.v1B\x07TxProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ibc.core.client.v1B\007TxProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1' - _globals['_MSGCREATECLIENT']._loaded_options = None - _globals['_MSGCREATECLIENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGUPDATECLIENT']._loaded_options = None - _globals['_MSGUPDATECLIENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGUPGRADECLIENT']._loaded_options = None - _globals['_MSGUPGRADECLIENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGSUBMITMISBEHAVIOUR']._loaded_options = None - _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_options = b'\030\001\210\240\037\000\202\347\260*\006signer' - _globals['_MSGRECOVERCLIENT']._loaded_options = None - _globals['_MSGRECOVERCLIENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGIBCSOFTWAREUPGRADE'].fields_by_name['plan']._loaded_options = None - _globals['_MSGIBCSOFTWAREUPGRADE'].fields_by_name['plan']._serialized_options = b'\310\336\037\000' - _globals['_MSGIBCSOFTWAREUPGRADE']._loaded_options = None - _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_options = b'\202\347\260*\006signer' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGCREATECLIENT']._serialized_start=197 - _globals['_MSGCREATECLIENT']._serialized_end=375 - _globals['_MSGCREATECLIENTRESPONSE']._serialized_start=377 - _globals['_MSGCREATECLIENTRESPONSE']._serialized_end=402 - _globals['_MSGUPDATECLIENT']._serialized_start=405 - _globals['_MSGUPDATECLIENT']._serialized_end=553 - _globals['_MSGUPDATECLIENTRESPONSE']._serialized_start=555 - _globals['_MSGUPDATECLIENTRESPONSE']._serialized_end=580 - _globals['_MSGUPGRADECLIENT']._serialized_start=583 - _globals['_MSGUPGRADECLIENT']._serialized_end=908 - _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_start=910 - _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_end=936 - _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_start=939 - _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_end=1092 - _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_start=1094 - _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_end=1125 - _globals['_MSGRECOVERCLIENT']._serialized_start=1128 - _globals['_MSGRECOVERCLIENT']._serialized_end=1281 - _globals['_MSGRECOVERCLIENTRESPONSE']._serialized_start=1283 - _globals['_MSGRECOVERCLIENTRESPONSE']._serialized_end=1309 - _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_start=1312 - _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_end=1502 - _globals['_MSGIBCSOFTWAREUPGRADERESPONSE']._serialized_start=1504 - _globals['_MSGIBCSOFTWAREUPGRADERESPONSE']._serialized_end=1535 - _globals['_MSGUPDATEPARAMS']._serialized_start=1537 - _globals['_MSGUPDATEPARAMS']._serialized_end=1653 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1655 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1680 - _globals['_MSG']._serialized_start=1683 - _globals['_MSG']._serialized_end=2429 -# @@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 deleted file mode 100644 index 9c44899a..00000000 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py +++ /dev/null @@ -1,345 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.ibc.core.client.v1 import tx_pb2 as ibc_dot_core_dot_client_dot_v1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the ibc/client Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateClient = channel.unary_unary( - '/ibc.core.client.v1.Msg/CreateClient', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClient.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClientResponse.FromString, - _registered_method=True) - self.UpdateClient = channel.unary_unary( - '/ibc.core.client.v1.Msg/UpdateClient', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClient.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientResponse.FromString, - _registered_method=True) - self.UpgradeClient = channel.unary_unary( - '/ibc.core.client.v1.Msg/UpgradeClient', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClient.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClientResponse.FromString, - _registered_method=True) - self.SubmitMisbehaviour = channel.unary_unary( - '/ibc.core.client.v1.Msg/SubmitMisbehaviour', - 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, - _registered_method=True) - 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, - _registered_method=True) - 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, - _registered_method=True) - self.UpdateClientParams = channel.unary_unary( - '/ibc.core.client.v1.Msg/UpdateClientParams', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the ibc/client Msg service. - """ - - def CreateClient(self, request, context): - """CreateClient defines a rpc handler method for MsgCreateClient. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateClient(self, request, context): - """UpdateClient defines a rpc handler method for MsgUpdateClient. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpgradeClient(self, request, context): - """UpgradeClient defines a rpc handler method for MsgUpgradeClient. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubmitMisbehaviour(self, request, context): - """SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RecoverClient(self, request, context): - """RecoverClient defines a rpc handler method for MsgRecoverClient. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def IBCSoftwareUpgrade(self, request, context): - """IBCSoftwareUpgrade defines a rpc handler method for MsgIBCSoftwareUpgrade. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateClientParams(self, request, context): - """UpdateClientParams defines a rpc handler method for MsgUpdateParams. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateClient': grpc.unary_unary_rpc_method_handler( - servicer.CreateClient, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClient.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClientResponse.SerializeToString, - ), - 'UpdateClient': grpc.unary_unary_rpc_method_handler( - servicer.UpdateClient, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClient.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientResponse.SerializeToString, - ), - 'UpgradeClient': grpc.unary_unary_rpc_method_handler( - servicer.UpgradeClient, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClient.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClientResponse.SerializeToString, - ), - 'SubmitMisbehaviour': grpc.unary_unary_rpc_method_handler( - servicer.SubmitMisbehaviour, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviour.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.SerializeToString, - ), - 'RecoverClient': grpc.unary_unary_rpc_method_handler( - servicer.RecoverClient, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClient.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClientResponse.SerializeToString, - ), - 'IBCSoftwareUpgrade': grpc.unary_unary_rpc_method_handler( - servicer.IBCSoftwareUpgrade, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgrade.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgradeResponse.SerializeToString, - ), - 'UpdateClientParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateClientParams, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.core.client.v1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.core.client.v1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the ibc/client Msg service. - """ - - @staticmethod - def CreateClient(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/CreateClient', - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClient.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClientResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateClient(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/UpdateClient', - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClient.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpgradeClient(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/UpgradeClient', - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClient.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClientResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SubmitMisbehaviour(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/SubmitMisbehaviour', - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviour.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @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, - _registered_method=True) - - @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, - _registered_method=True) - - @staticmethod - def UpdateClientParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/ibc.core.client.v1.Msg/UpdateClientParams', - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py deleted file mode 100644 index 2d0e0d50..00000000 --- a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py +++ /dev/null @@ -1,37 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/core/commitment/v1/commitment.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.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\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash:\x04\x88\xa0\x1f\x00\"-\n\x0cMerklePrefix\x12\x1d\n\nkey_prefix\x18\x01 \x01(\x0cR\tkeyPrefix\"\'\n\nMerklePath\x12\x19\n\x08key_path\x18\x01 \x03(\tR\x07keyPath\"G\n\x0bMerkleProof\x12\x38\n\x06proofs\x18\x01 \x03(\x0b\x32 .cosmos.ics23.v1.CommitmentProofR\x06proofsB\xe6\x01\n\x1a\x63om.ibc.core.commitment.v1B\x0f\x43ommitmentProtoP\x01Z\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/connection/v1/client_connections/{client_id}\x12\xd8\x01\n\x15\x43onnectionClientState\x12\x39.ibc.core.connection.v1.QueryConnectionClientStateRequest\x1a:.ibc.core.connection.v1.QueryConnectionClientStateResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/ibc/core/connection/v1/connections/{connection_id}/client_state\x12\x98\x02\n\x18\x43onnectionConsensusState\x12<.ibc.core.connection.v1.QueryConnectionConsensusStateRequest\x1a=.ibc.core.connection.v1.QueryConnectionConsensusStateResponse\"\x7f\x82\xd3\xe4\x93\x02y\x12w/ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xa7\x01\n\x10\x43onnectionParams\x12\x34.ibc.core.connection.v1.QueryConnectionParamsRequest\x1a\x35.ibc.core.connection.v1.QueryConnectionParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/ibc/core/connection/v1/paramsB\xe1\x01\n\x1a\x63om.ibc.core.connection.v1B\nQueryProtoP\x01Z\n DATA_TYPE_PACKET_RECEIPT_ABSENCE\x10\x07\x1a\x18\x8a\x9d \x14PACKETRECEIPTABSENCE\x12\x36\n\x1c\x44\x41TA_TYPE_NEXT_SEQUENCE_RECV\x10\x08\x1a\x14\x8a\x9d \x10NEXTSEQUENCERECV\x12 \n\x10\x44\x41TA_TYPE_HEADER\x10\t\x1a\n\x8a\x9d \x06HEADER\x1a\x04\x88\xa3\x1e\x00\x42\x98\x02\n#com.ibc.lightclients.solomachine.v2B\x10SolomachineProtoP\x01Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7\xa2\x02\x03ILS\xaa\x02\x1fIbc.Lightclients.Solomachine.V2\xca\x02\x1fIbc\\Lightclients\\Solomachine\\V2\xe2\x02+Ibc\\Lightclients\\Solomachine\\V2\\GPBMetadata\xea\x02\"Ibc::Lightclients::Solomachine::V2b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.solomachine.v2.solomachine_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n#com.ibc.lightclients.solomachine.v2B\020SolomachineProtoP\001Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7\242\002\003ILS\252\002\037Ibc.Lightclients.Solomachine.V2\312\002\037Ibc\\Lightclients\\Solomachine\\V2\342\002+Ibc\\Lightclients\\Solomachine\\V2\\GPBMetadata\352\002\"Ibc::Lightclients::Solomachine::V2' - _globals['_DATATYPE']._loaded_options = None - _globals['_DATATYPE']._serialized_options = b'\210\243\036\000' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_UNINITIALIZED_UNSPECIFIED"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_UNINITIALIZED_UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_CLIENT_STATE"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_CLIENT_STATE"]._serialized_options = b'\212\235 \006CLIENT' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_CONSENSUS_STATE"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_CONSENSUS_STATE"]._serialized_options = b'\212\235 \tCONSENSUS' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_CONNECTION_STATE"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_CONNECTION_STATE"]._serialized_options = b'\212\235 \nCONNECTION' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_CHANNEL_STATE"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_CHANNEL_STATE"]._serialized_options = b'\212\235 \007CHANNEL' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_COMMITMENT"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_COMMITMENT"]._serialized_options = b'\212\235 \020PACKETCOMMITMENT' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_ACKNOWLEDGEMENT"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_ACKNOWLEDGEMENT"]._serialized_options = b'\212\235 \025PACKETACKNOWLEDGEMENT' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_RECEIPT_ABSENCE"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_RECEIPT_ABSENCE"]._serialized_options = b'\212\235 \024PACKETRECEIPTABSENCE' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_NEXT_SEQUENCE_RECV"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_NEXT_SEQUENCE_RECV"]._serialized_options = b'\212\235 \020NEXTSEQUENCERECV' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_HEADER"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_HEADER"]._serialized_options = b'\212\235 \006HEADER' - _globals['_CLIENTSTATE']._loaded_options = None - _globals['_CLIENTSTATE']._serialized_options = b'\210\240\037\000' - _globals['_CONSENSUSSTATE']._loaded_options = None - _globals['_CONSENSUSSTATE']._serialized_options = b'\210\240\037\000' - _globals['_HEADER']._loaded_options = None - _globals['_HEADER']._serialized_options = b'\210\240\037\000' - _globals['_MISBEHAVIOUR']._loaded_options = None - _globals['_MISBEHAVIOUR']._serialized_options = b'\210\240\037\000' - _globals['_SIGNATUREANDDATA']._loaded_options = None - _globals['_SIGNATUREANDDATA']._serialized_options = b'\210\240\037\000' - _globals['_TIMESTAMPEDSIGNATUREDATA']._loaded_options = None - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_options = b'\210\240\037\000' - _globals['_SIGNBYTES']._loaded_options = None - _globals['_SIGNBYTES']._serialized_options = b'\210\240\037\000' - _globals['_HEADERDATA']._loaded_options = None - _globals['_HEADERDATA']._serialized_options = b'\210\240\037\000' - _globals['_CLIENTSTATEDATA']._loaded_options = None - _globals['_CLIENTSTATEDATA']._serialized_options = b'\210\240\037\000' - _globals['_CONSENSUSSTATEDATA']._loaded_options = None - _globals['_CONSENSUSSTATEDATA']._serialized_options = b'\210\240\037\000' - _globals['_CONNECTIONSTATEDATA']._loaded_options = None - _globals['_CONNECTIONSTATEDATA']._serialized_options = b'\210\240\037\000' - _globals['_CHANNELSTATEDATA']._loaded_options = None - _globals['_CHANNELSTATEDATA']._serialized_options = b'\210\240\037\000' - _globals['_DATATYPE']._serialized_start=2379 - _globals['_DATATYPE']._serialized_end=2903 - _globals['_CLIENTSTATE']._serialized_start=212 - _globals['_CLIENTSTATE']._serialized_end=441 - _globals['_CONSENSUSSTATE']._serialized_start=444 - _globals['_CONSENSUSSTATE']._serialized_end=583 - _globals['_HEADER']._serialized_start=586 - _globals['_HEADER']._serialized_end=789 - _globals['_MISBEHAVIOUR']._serialized_start=792 - _globals['_MISBEHAVIOUR']._serialized_end=1045 - _globals['_SIGNATUREANDDATA']._serialized_start=1048 - _globals['_SIGNATUREANDDATA']._serialized_end=1224 - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=1226 - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=1327 - _globals['_SIGNBYTES']._serialized_start=1330 - _globals['_SIGNBYTES']._serialized_end=1531 - _globals['_HEADERDATA']._serialized_start=1533 - _globals['_HEADERDATA']._serialized_end=1646 - _globals['_CLIENTSTATEDATA']._serialized_start=1648 - _globals['_CLIENTSTATEDATA']._serialized_end=1748 - _globals['_CONSENSUSSTATEDATA']._serialized_start=1750 - _globals['_CONSENSUSSTATEDATA']._serialized_end=1859 - _globals['_CONNECTIONSTATEDATA']._serialized_start=1861 - _globals['_CONNECTIONSTATEDATA']._serialized_end=1979 - _globals['_CHANNELSTATEDATA']._serialized_start=1981 - _globals['_CHANNELSTATEDATA']._serialized_end=2081 - _globals['_PACKETCOMMITMENTDATA']._serialized_start=2083 - _globals['_PACKETCOMMITMENTDATA']._serialized_end=2157 - _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_start=2159 - _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_end=2248 - _globals['_PACKETRECEIPTABSENCEDATA']._serialized_start=2250 - _globals['_PACKETRECEIPTABSENCEDATA']._serialized_end=2296 - _globals['_NEXTSEQUENCERECVDATA']._serialized_start=2298 - _globals['_NEXTSEQUENCERECVDATA']._serialized_end=2376 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2_grpc.py b/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/lightclients/solomachine/v3/solomachine_pb2.py b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py deleted file mode 100644 index 8dbb7917..00000000 --- a/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py +++ /dev/null @@ -1,59 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/lightclients/solomachine/v3/solomachine.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.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'\n1ibc/lightclients/solomachine/v3/solomachine.proto\x12\x1fibc.lightclients.solomachine.v3\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xa6\x01\n\x0b\x43lientState\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1b\n\tis_frozen\x18\x02 \x01(\x08R\x08isFrozen\x12X\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v3.ConsensusStateR\x0e\x63onsensusState:\x04\x88\xa0\x1f\x00\"\x8b\x01\n\x0e\x43onsensusState\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12 \n\x0b\x64iversifier\x18\x02 \x01(\tR\x0b\x64iversifier\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00\"\xaf\x01\n\x06Header\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\x1c\n\tsignature\x18\x02 \x01(\x0cR\tsignature\x12:\n\x0enew_public_key\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cnewPublicKey\x12\'\n\x0fnew_diversifier\x18\x04 \x01(\tR\x0enewDiversifier:\x04\x88\xa0\x1f\x00\"\xe0\x01\n\x0cMisbehaviour\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12V\n\rsignature_one\x18\x02 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndDataR\x0csignatureOne\x12V\n\rsignature_two\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndDataR\x0csignatureTwo:\x04\x88\xa0\x1f\x00\"|\n\x10SignatureAndData\x12\x1c\n\tsignature\x18\x01 \x01(\x0cR\tsignature\x12\x12\n\x04path\x18\x02 \x01(\x0cR\x04path\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\x12\x1c\n\ttimestamp\x18\x04 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00\"e\n\x18TimestampedSignatureData\x12%\n\x0esignature_data\x18\x01 \x01(\x0cR\rsignatureData\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00\"\x95\x01\n\tSignBytes\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12 \n\x0b\x64iversifier\x18\x03 \x01(\tR\x0b\x64iversifier\x12\x12\n\x04path\x18\x04 \x01(\x0cR\x04path\x12\x12\n\x04\x64\x61ta\x18\x05 \x01(\x0cR\x04\x64\x61ta:\x04\x88\xa0\x1f\x00\"q\n\nHeaderData\x12\x34\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tnewPubKey\x12\'\n\x0fnew_diversifier\x18\x02 \x01(\tR\x0enewDiversifier:\x04\x88\xa0\x1f\x00\x42\xa4\x02\n#com.ibc.lightclients.solomachine.v3B\x10SolomachineProtoP\x01ZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachine\xa2\x02\x03ILS\xaa\x02\x1fIbc.Lightclients.Solomachine.V3\xca\x02\x1fIbc\\Lightclients\\Solomachine\\V3\xe2\x02+Ibc\\Lightclients\\Solomachine\\V3\\GPBMetadata\xea\x02\"Ibc::Lightclients::Solomachine::V3b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.solomachine.v3.solomachine_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n#com.ibc.lightclients.solomachine.v3B\020SolomachineProtoP\001ZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachine\242\002\003ILS\252\002\037Ibc.Lightclients.Solomachine.V3\312\002\037Ibc\\Lightclients\\Solomachine\\V3\342\002+Ibc\\Lightclients\\Solomachine\\V3\\GPBMetadata\352\002\"Ibc::Lightclients::Solomachine::V3' - _globals['_CLIENTSTATE']._loaded_options = None - _globals['_CLIENTSTATE']._serialized_options = b'\210\240\037\000' - _globals['_CONSENSUSSTATE']._loaded_options = None - _globals['_CONSENSUSSTATE']._serialized_options = b'\210\240\037\000' - _globals['_HEADER']._loaded_options = None - _globals['_HEADER']._serialized_options = b'\210\240\037\000' - _globals['_MISBEHAVIOUR']._loaded_options = None - _globals['_MISBEHAVIOUR']._serialized_options = b'\210\240\037\000' - _globals['_SIGNATUREANDDATA']._loaded_options = None - _globals['_SIGNATUREANDDATA']._serialized_options = b'\210\240\037\000' - _globals['_TIMESTAMPEDSIGNATUREDATA']._loaded_options = None - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_options = b'\210\240\037\000' - _globals['_SIGNBYTES']._loaded_options = None - _globals['_SIGNBYTES']._serialized_options = b'\210\240\037\000' - _globals['_HEADERDATA']._loaded_options = None - _globals['_HEADERDATA']._serialized_options = b'\210\240\037\000' - _globals['_CLIENTSTATE']._serialized_start=136 - _globals['_CLIENTSTATE']._serialized_end=302 - _globals['_CONSENSUSSTATE']._serialized_start=305 - _globals['_CONSENSUSSTATE']._serialized_end=444 - _globals['_HEADER']._serialized_start=447 - _globals['_HEADER']._serialized_end=622 - _globals['_MISBEHAVIOUR']._serialized_start=625 - _globals['_MISBEHAVIOUR']._serialized_end=849 - _globals['_SIGNATUREANDDATA']._serialized_start=851 - _globals['_SIGNATUREANDDATA']._serialized_end=975 - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=977 - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=1078 - _globals['_SIGNBYTES']._serialized_start=1081 - _globals['_SIGNBYTES']._serialized_end=1230 - _globals['_HEADERDATA']._serialized_start=1232 - _globals['_HEADERDATA']._serialized_end=1345 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2_grpc.py b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/lightclients/tendermint/v1/tendermint_pb2.py b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py deleted file mode 100644 index 31cbde92..00000000 --- a/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py +++ /dev/null @@ -1,81 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/lightclients/tendermint/v1/tendermint.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 -from pyinjective.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 -from pyinjective.proto.cosmos.ics23.v1 import proofs_pb2 as cosmos_dot_ics23_dot_v1_dot_proofs__pb2 -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -from pyinjective.proto.ibc.core.commitment.v1 import commitment_pb2 as ibc_dot_core_dot_commitment_dot_v1_dot_commitment__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/ibc/lightclients/tendermint/v1/tendermint.proto\x12\x1eibc.lightclients.tendermint.v1\x1a tendermint/types/validator.proto\x1a\x1ctendermint/types/types.proto\x1a\x1c\x63osmos/ics23/v1/proofs.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x14gogoproto/gogo.proto\"\xe2\x05\n\x0b\x43lientState\x12\x19\n\x08\x63hain_id\x18\x01 \x01(\tR\x07\x63hainId\x12O\n\x0btrust_level\x18\x02 \x01(\x0b\x32(.ibc.lightclients.tendermint.v1.FractionB\x04\xc8\xde\x1f\x00R\ntrustLevel\x12L\n\x0ftrusting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0etrustingPeriod\x12N\n\x10unbonding_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0funbondingPeriod\x12K\n\x0fmax_clock_drift\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\rmaxClockDrift\x12\x45\n\rfrozen_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0c\x66rozenHeight\x12\x45\n\rlatest_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0clatestHeight\x12;\n\x0bproof_specs\x18\x08 \x03(\x0b\x32\x1a.cosmos.ics23.v1.ProofSpecR\nproofSpecs\x12!\n\x0cupgrade_path\x18\t \x03(\tR\x0bupgradePath\x12=\n\x19\x61llow_update_after_expiry\x18\n \x01(\x08\x42\x02\x18\x01R\x16\x61llowUpdateAfterExpiry\x12I\n\x1f\x61llow_update_after_misbehaviour\x18\x0b \x01(\x08\x42\x02\x18\x01R\x1c\x61llowUpdateAfterMisbehaviour:\x04\x88\xa0\x1f\x00\"\x80\x02\n\x0e\x43onsensusState\x12\x42\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12<\n\x04root\x18\x02 \x01(\x0b\x32\".ibc.core.commitment.v1.MerkleRootB\x04\xc8\xde\x1f\x00R\x04root\x12\x66\n\x14next_validators_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x12nextValidatorsHash:\x04\x88\xa0\x1f\x00\"\xd5\x01\n\x0cMisbehaviour\x12\x1f\n\tclient_id\x18\x01 \x01(\tB\x02\x18\x01R\x08\x63lientId\x12N\n\x08header_1\x18\x02 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header1R\x07header1\x12N\n\x08header_2\x18\x03 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header2R\x07header2:\x04\x88\xa0\x1f\x00\"\xb0\x02\n\x06Header\x12I\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderB\x04\xd0\xde\x1f\x01R\x0csignedHeader\x12\x43\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x0cvalidatorSet\x12G\n\x0etrusted_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\rtrustedHeight\x12M\n\x12trusted_validators\x18\x04 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x11trustedValidators\"J\n\x08\x46raction\x12\x1c\n\tnumerator\x18\x01 \x01(\x04R\tnumerator\x12 \n\x0b\x64\x65nominator\x18\x02 \x01(\x04R\x0b\x64\x65nominatorB\x9c\x02\n\"com.ibc.lightclients.tendermint.v1B\x0fTendermintProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermint\xa2\x02\x03ILT\xaa\x02\x1eIbc.Lightclients.Tendermint.V1\xca\x02\x1eIbc\\Lightclients\\Tendermint\\V1\xe2\x02*Ibc\\Lightclients\\Tendermint\\V1\\GPBMetadata\xea\x02!Ibc::Lightclients::Tendermint::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.tendermint.v1.tendermint_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.ibc.lightclients.tendermint.v1B\017TendermintProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermint\242\002\003ILT\252\002\036Ibc.Lightclients.Tendermint.V1\312\002\036Ibc\\Lightclients\\Tendermint\\V1\342\002*Ibc\\Lightclients\\Tendermint\\V1\\GPBMetadata\352\002!Ibc::Lightclients::Tendermint::V1' - _globals['_CLIENTSTATE'].fields_by_name['trust_level']._loaded_options = None - _globals['_CLIENTSTATE'].fields_by_name['trust_level']._serialized_options = b'\310\336\037\000' - _globals['_CLIENTSTATE'].fields_by_name['trusting_period']._loaded_options = None - _globals['_CLIENTSTATE'].fields_by_name['trusting_period']._serialized_options = b'\310\336\037\000\230\337\037\001' - _globals['_CLIENTSTATE'].fields_by_name['unbonding_period']._loaded_options = None - _globals['_CLIENTSTATE'].fields_by_name['unbonding_period']._serialized_options = b'\310\336\037\000\230\337\037\001' - _globals['_CLIENTSTATE'].fields_by_name['max_clock_drift']._loaded_options = None - _globals['_CLIENTSTATE'].fields_by_name['max_clock_drift']._serialized_options = b'\310\336\037\000\230\337\037\001' - _globals['_CLIENTSTATE'].fields_by_name['frozen_height']._loaded_options = None - _globals['_CLIENTSTATE'].fields_by_name['frozen_height']._serialized_options = b'\310\336\037\000' - _globals['_CLIENTSTATE'].fields_by_name['latest_height']._loaded_options = None - _globals['_CLIENTSTATE'].fields_by_name['latest_height']._serialized_options = b'\310\336\037\000' - _globals['_CLIENTSTATE'].fields_by_name['allow_update_after_expiry']._loaded_options = None - _globals['_CLIENTSTATE'].fields_by_name['allow_update_after_expiry']._serialized_options = b'\030\001' - _globals['_CLIENTSTATE'].fields_by_name['allow_update_after_misbehaviour']._loaded_options = None - _globals['_CLIENTSTATE'].fields_by_name['allow_update_after_misbehaviour']._serialized_options = b'\030\001' - _globals['_CLIENTSTATE']._loaded_options = None - _globals['_CLIENTSTATE']._serialized_options = b'\210\240\037\000' - _globals['_CONSENSUSSTATE'].fields_by_name['timestamp']._loaded_options = None - _globals['_CONSENSUSSTATE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_CONSENSUSSTATE'].fields_by_name['root']._loaded_options = None - _globals['_CONSENSUSSTATE'].fields_by_name['root']._serialized_options = b'\310\336\037\000' - _globals['_CONSENSUSSTATE'].fields_by_name['next_validators_hash']._loaded_options = None - _globals['_CONSENSUSSTATE'].fields_by_name['next_validators_hash']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' - _globals['_CONSENSUSSTATE']._loaded_options = None - _globals['_CONSENSUSSTATE']._serialized_options = b'\210\240\037\000' - _globals['_MISBEHAVIOUR'].fields_by_name['client_id']._loaded_options = None - _globals['_MISBEHAVIOUR'].fields_by_name['client_id']._serialized_options = b'\030\001' - _globals['_MISBEHAVIOUR'].fields_by_name['header_1']._loaded_options = None - _globals['_MISBEHAVIOUR'].fields_by_name['header_1']._serialized_options = b'\342\336\037\007Header1' - _globals['_MISBEHAVIOUR'].fields_by_name['header_2']._loaded_options = None - _globals['_MISBEHAVIOUR'].fields_by_name['header_2']._serialized_options = b'\342\336\037\007Header2' - _globals['_MISBEHAVIOUR']._loaded_options = None - _globals['_MISBEHAVIOUR']._serialized_options = b'\210\240\037\000' - _globals['_HEADER'].fields_by_name['signed_header']._loaded_options = None - _globals['_HEADER'].fields_by_name['signed_header']._serialized_options = b'\320\336\037\001' - _globals['_HEADER'].fields_by_name['trusted_height']._loaded_options = None - _globals['_HEADER'].fields_by_name['trusted_height']._serialized_options = b'\310\336\037\000' - _globals['_CLIENTSTATE']._serialized_start=339 - _globals['_CLIENTSTATE']._serialized_end=1077 - _globals['_CONSENSUSSTATE']._serialized_start=1080 - _globals['_CONSENSUSSTATE']._serialized_end=1336 - _globals['_MISBEHAVIOUR']._serialized_start=1339 - _globals['_MISBEHAVIOUR']._serialized_end=1552 - _globals['_HEADER']._serialized_start=1555 - _globals['_HEADER']._serialized_end=1859 - _globals['_FRACTION']._serialized_start=1861 - _globals['_FRACTION']._serialized_end=1935 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2_grpc.py b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/ibc/lightclients/wasm/v1/genesis_pb2.py b/pyinjective/proto/ibc/lightclients/wasm/v1/genesis_pb2.py deleted file mode 100644 index dff12841..00000000 --- a/pyinjective/proto/ibc/lightclients/wasm/v1/genesis_pb2.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/lightclients/wasm/v1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&ibc/lightclients/wasm/v1/genesis.proto\x12\x18ibc.lightclients.wasm.v1\x1a\x14gogoproto/gogo.proto\"V\n\x0cGenesisState\x12\x46\n\tcontracts\x18\x01 \x03(\x0b\x32\".ibc.lightclients.wasm.v1.ContractB\x04\xc8\xde\x1f\x00R\tcontracts\"/\n\x08\x43ontract\x12\x1d\n\ncode_bytes\x18\x01 \x01(\x0cR\tcodeBytes:\x04\x88\xa0\x1f\x00\x42\xed\x01\n\x1c\x63om.ibc.lightclients.wasm.v1B\x0cGenesisProtoP\x01Z\n\nbid_amount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\tbidAmount\x12\x14\n\x05round\x18\x03 \x01(\x04R\x05round:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x0e\x61uction/MsgBid\"\x10\n\x0eMsgBidResponse\"\xb6\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12?\n\x06params\x18\x02 \x01(\x0b\x32!.injective.auction.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:*\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x17\x61uction/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xd1\x01\n\x03Msg\x12S\n\x03\x42id\x12!.injective.auction.v1beta1.MsgBid\x1a).injective.auction.v1beta1.MsgBidResponse\x12n\n\x0cUpdateParams\x12*.injective.auction.v1beta1.MsgUpdateParams\x1a\x32.injective.auction.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xfd\x01\n\x1d\x63om.injective.auction.v1beta1B\x07TxProtoP\x01ZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/types\xa2\x02\x03IAX\xaa\x02\x19Injective.Auction.V1beta1\xca\x02\x19Injective\\Auction\\V1beta1\xe2\x02%Injective\\Auction\\V1beta1\\GPBMetadata\xea\x02\x1bInjective::Auction::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.auction.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.injective.auction.v1beta1B\007TxProtoP\001ZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/types\242\002\003IAX\252\002\031Injective.Auction.V1beta1\312\002\031Injective\\Auction\\V1beta1\342\002%Injective\\Auction\\V1beta1\\GPBMetadata\352\002\033Injective::Auction::V1beta1' - _globals['_MSGBID'].fields_by_name['bid_amount']._loaded_options = None - _globals['_MSGBID'].fields_by_name['bid_amount']._serialized_options = b'\310\336\037\000' - _globals['_MSGBID']._loaded_options = None - _globals['_MSGBID']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\016auction/MsgBid' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\027auction/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGBID']._serialized_start=232 - _globals['_MSGBID']._serialized_end=390 - _globals['_MSGBIDRESPONSE']._serialized_start=392 - _globals['_MSGBIDRESPONSE']._serialized_end=408 - _globals['_MSGUPDATEPARAMS']._serialized_start=411 - _globals['_MSGUPDATEPARAMS']._serialized_end=593 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=595 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=620 - _globals['_MSG']._serialized_start=623 - _globals['_MSG']._serialized_end=832 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/auction/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/auction/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index f699a2f6..00000000 --- a/pyinjective/proto/injective/auction/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,124 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.injective.auction.v1beta1 import tx_pb2 as injective_dot_auction_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the auction Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Bid = channel.unary_unary( - '/injective.auction.v1beta1.Msg/Bid', - request_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBid.SerializeToString, - response_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBidResponse.FromString, - _registered_method=True) - self.UpdateParams = channel.unary_unary( - '/injective.auction.v1beta1.Msg/UpdateParams', - request_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the auction Msg service. - """ - - def Bid(self, request, context): - """Bid defines a method for placing a bid for an auction - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Bid': grpc.unary_unary_rpc_method_handler( - servicer.Bid, - request_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBid.FromString, - response_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBidResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.auction.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.auction.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the auction Msg service. - """ - - @staticmethod - def Bid(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.auction.v1beta1.Msg/Bid', - injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBid.SerializeToString, - injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBidResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.auction.v1beta1.Msg/UpdateParams', - injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py b/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py deleted file mode 100644 index 26a7a19c..00000000 --- a/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/crypto/v1beta1/ethsecp256k1/keys.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0injective/crypto/v1beta1/ethsecp256k1/keys.proto\x12%injective.crypto.v1beta1.ethsecp256k1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"O\n\x06PubKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:3\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1cinjective/PubKeyEthSecp256k1\x92\xe7\xb0*\tkey_field\"M\n\x07PrivKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:0\x8a\xe7\xb0*\x1dinjective/PrivKeyEthSecp256k1\x92\xe7\xb0*\tkey_fieldB\xbb\x02\n)com.injective.crypto.v1beta1.ethsecp256k1B\tKeysProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/crypto/ethsecp256k1\xa2\x02\x04ICVE\xaa\x02%Injective.Crypto.V1beta1.Ethsecp256k1\xca\x02%Injective\\Crypto\\V1beta1\\Ethsecp256k1\xe2\x02\x31Injective\\Crypto\\V1beta1\\Ethsecp256k1\\GPBMetadata\xea\x02(Injective::Crypto::V1beta1::Ethsecp256k1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.crypto.v1beta1.ethsecp256k1.keys_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n)com.injective.crypto.v1beta1.ethsecp256k1B\tKeysProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/crypto/ethsecp256k1\242\002\004ICVE\252\002%Injective.Crypto.V1beta1.Ethsecp256k1\312\002%Injective\\Crypto\\V1beta1\\Ethsecp256k1\342\0021Injective\\Crypto\\V1beta1\\Ethsecp256k1\\GPBMetadata\352\002(Injective::Crypto::V1beta1::Ethsecp256k1' - _globals['_PUBKEY']._loaded_options = None - _globals['_PUBKEY']._serialized_options = b'\230\240\037\000\212\347\260*\034injective/PubKeyEthSecp256k1\222\347\260*\tkey_field' - _globals['_PRIVKEY']._loaded_options = None - _globals['_PRIVKEY']._serialized_options = b'\212\347\260*\035injective/PrivKeyEthSecp256k1\222\347\260*\tkey_field' - _globals['_PUBKEY']._serialized_start=132 - _globals['_PUBKEY']._serialized_end=211 - _globals['_PRIVKEY']._serialized_start=213 - _globals['_PRIVKEY']._serialized_end=290 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2_grpc.py b/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py deleted file mode 100644 index 6fa71602..00000000 --- a/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py +++ /dev/null @@ -1,71 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/exchange/v1beta1/authz.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&injective/exchange/v1beta1/authz.proto\x12\x1ainjective.exchange.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x99\x01\n\x19\x43reateSpotLimitOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:8\xca\xb4-\rAuthorization\x8a\xe7\xb0*\"exchange/CreateSpotLimitOrderAuthz\"\x9b\x01\n\x1a\x43reateSpotMarketOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/CreateSpotMarketOrderAuthz\"\xa5\x01\n\x1f\x42\x61tchCreateSpotLimitOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:>\xca\xb4-\rAuthorization\x8a\xe7\xb0*(exchange/BatchCreateSpotLimitOrdersAuthz\"\x8f\x01\n\x14\x43\x61ncelSpotOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:3\xca\xb4-\rAuthorization\x8a\xe7\xb0*\x1d\x65xchange/CancelSpotOrderAuthz\"\x9b\x01\n\x1a\x42\x61tchCancelSpotOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/BatchCancelSpotOrdersAuthz\"\xa5\x01\n\x1f\x43reateDerivativeLimitOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:>\xca\xb4-\rAuthorization\x8a\xe7\xb0*(exchange/CreateDerivativeLimitOrderAuthz\"\xa7\x01\n CreateDerivativeMarketOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:?\xca\xb4-\rAuthorization\x8a\xe7\xb0*)exchange/CreateDerivativeMarketOrderAuthz\"\xb1\x01\n%BatchCreateDerivativeLimitOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:D\xca\xb4-\rAuthorization\x8a\xe7\xb0*.exchange/BatchCreateDerivativeLimitOrdersAuthz\"\x9b\x01\n\x1a\x43\x61ncelDerivativeOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/CancelDerivativeOrderAuthz\"\xa7\x01\n BatchCancelDerivativeOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:?\xca\xb4-\rAuthorization\x8a\xe7\xb0*)exchange/BatchCancelDerivativeOrdersAuthz\"\xc6\x01\n\x16\x42\x61tchUpdateOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12!\n\x0cspot_markets\x18\x02 \x03(\tR\x0bspotMarkets\x12-\n\x12\x64\x65rivative_markets\x18\x03 \x03(\tR\x11\x64\x65rivativeMarkets:5\xca\xb4-\rAuthorization\x8a\xe7\xb0*\x1f\x65xchange/BatchUpdateOrdersAuthzB\x86\x02\n\x1e\x63om.injective.exchange.v1beta1B\nAuthzProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.authz_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\nAuthzProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' - _globals['_CREATESPOTLIMITORDERAUTHZ']._loaded_options = None - _globals['_CREATESPOTLIMITORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*\"exchange/CreateSpotLimitOrderAuthz' - _globals['_CREATESPOTMARKETORDERAUTHZ']._loaded_options = None - _globals['_CREATESPOTMARKETORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*#exchange/CreateSpotMarketOrderAuthz' - _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._loaded_options = None - _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*(exchange/BatchCreateSpotLimitOrdersAuthz' - _globals['_CANCELSPOTORDERAUTHZ']._loaded_options = None - _globals['_CANCELSPOTORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*\035exchange/CancelSpotOrderAuthz' - _globals['_BATCHCANCELSPOTORDERSAUTHZ']._loaded_options = None - _globals['_BATCHCANCELSPOTORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*#exchange/BatchCancelSpotOrdersAuthz' - _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._loaded_options = None - _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*(exchange/CreateDerivativeLimitOrderAuthz' - _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._loaded_options = None - _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*)exchange/CreateDerivativeMarketOrderAuthz' - _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._loaded_options = None - _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*.exchange/BatchCreateDerivativeLimitOrdersAuthz' - _globals['_CANCELDERIVATIVEORDERAUTHZ']._loaded_options = None - _globals['_CANCELDERIVATIVEORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*#exchange/CancelDerivativeOrderAuthz' - _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._loaded_options = None - _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*)exchange/BatchCancelDerivativeOrdersAuthz' - _globals['_BATCHUPDATEORDERSAUTHZ']._loaded_options = None - _globals['_BATCHUPDATEORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*\037exchange/BatchUpdateOrdersAuthz' - _globals['_CREATESPOTLIMITORDERAUTHZ']._serialized_start=117 - _globals['_CREATESPOTLIMITORDERAUTHZ']._serialized_end=270 - _globals['_CREATESPOTMARKETORDERAUTHZ']._serialized_start=273 - _globals['_CREATESPOTMARKETORDERAUTHZ']._serialized_end=428 - _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._serialized_start=431 - _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._serialized_end=596 - _globals['_CANCELSPOTORDERAUTHZ']._serialized_start=599 - _globals['_CANCELSPOTORDERAUTHZ']._serialized_end=742 - _globals['_BATCHCANCELSPOTORDERSAUTHZ']._serialized_start=745 - _globals['_BATCHCANCELSPOTORDERSAUTHZ']._serialized_end=900 - _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._serialized_start=903 - _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._serialized_end=1068 - _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._serialized_start=1071 - _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._serialized_end=1238 - _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._serialized_start=1241 - _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._serialized_end=1418 - _globals['_CANCELDERIVATIVEORDERAUTHZ']._serialized_start=1421 - _globals['_CANCELDERIVATIVEORDERAUTHZ']._serialized_end=1576 - _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._serialized_start=1579 - _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._serialized_end=1746 - _globals['_BATCHUPDATEORDERSAUTHZ']._serialized_start=1749 - _globals['_BATCHUPDATEORDERSAUTHZ']._serialized_end=1947 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/authz_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/authz_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/exchange/v1beta1/authz_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py deleted file mode 100644 index a500fb8d..00000000 --- a/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py +++ /dev/null @@ -1,149 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/exchange/v1beta1/events.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/exchange/v1beta1/events.proto\x12\x1ainjective.exchange.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a)injective/exchange/v1beta1/exchange.proto\"\xdc\x01\n\x17\x45ventBatchSpotExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12O\n\rexecutionType\x18\x03 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionTypeR\rexecutionType\x12<\n\x06trades\x18\x04 \x03(\x0b\x32$.injective.exchange.v1beta1.TradeLogR\x06trades\"\xe7\x02\n\x1d\x45ventBatchDerivativeExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12%\n\x0eis_liquidation\x18\x03 \x01(\x08R\risLiquidation\x12R\n\x12\x63umulative_funding\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12O\n\rexecutionType\x18\x05 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionTypeR\rexecutionType\x12\x46\n\x06trades\x18\x06 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativeTradeLogR\x06trades\"\xc2\x02\n\x1d\x45ventLostFundsFromLiquidation\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12x\n\'lost_funds_from_available_during_payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"lostFundsFromAvailableDuringPayout\x12\x65\n\x1dlost_funds_from_order_cancels\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19lostFundsFromOrderCancels\"\x89\x01\n\x1c\x45ventBatchDerivativePosition\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\tpositions\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.SubaccountPositionR\tpositions\"\xbb\x01\n\x1b\x45ventDerivativeMarketPaused\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12.\n\x13total_missing_funds\x18\x03 \x01(\tR\x11totalMissingFunds\x12,\n\x12missing_funds_rate\x18\x04 \x01(\tR\x10missingFundsRate\"\x8f\x01\n\x1b\x45ventMarketBeyondBankruptcy\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12\x30\n\x14missing_market_funds\x18\x03 \x01(\tR\x12missingMarketFunds\"\x88\x01\n\x18\x45ventAllPositionsHaircut\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12,\n\x12missing_funds_rate\x18\x03 \x01(\tR\x10missingFundsRate\"o\n\x1e\x45ventBinaryOptionsMarketUpdate\x12M\n\x06market\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketB\x04\xc8\xde\x1f\x00R\x06market\"\xc9\x01\n\x12\x45ventNewSpotOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12I\n\nbuy_orders\x18\x02 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\tbuyOrders\x12K\n\x0bsell_orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\nsellOrders\"\xdb\x01\n\x18\x45ventNewDerivativeOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12O\n\nbuy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\tbuyOrders\x12Q\n\x0bsell_orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\nsellOrders\"{\n\x14\x45ventCancelSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\"]\n\x15\x45ventSpotMarketUpdate\x12\x44\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketB\x04\xc8\xde\x1f\x00R\x06market\"\xa7\x02\n\x1a\x45ventPerpetualMarketUpdate\x12J\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12i\n\x15perpetual_market_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x01R\x13perpetualMarketInfo\x12R\n\x07\x66unding\x18\x03 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x01R\x07\x66unding\"\xe4\x01\n\x1e\x45ventExpiryFuturesMarketUpdate\x12J\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12v\n\x1a\x65xpiry_futures_market_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x01R\x17\x65xpiryFuturesMarketInfo\"\xcc\x02\n!EventPerpetualMarketFundingUpdate\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12R\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x07\x66unding\x12*\n\x11is_hourly_funding\x18\x03 \x01(\x08R\x0fisHourlyFunding\x12\x46\n\x0c\x66unding_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x66undingRate\x12\x42\n\nmark_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\"\x97\x01\n\x16\x45ventSubaccountDeposit\x12\x1f\n\x0bsrc_address\x18\x01 \x01(\tR\nsrcAddress\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\x98\x01\n\x17\x45ventSubaccountWithdraw\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12\x1f\n\x0b\x64st_address\x18\x02 \x01(\tR\ndstAddress\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\xb1\x01\n\x1e\x45ventSubaccountBalanceTransfer\x12*\n\x11src_subaccount_id\x18\x01 \x01(\tR\x0fsrcSubaccountId\x12*\n\x11\x64st_subaccount_id\x18\x02 \x01(\tR\x0f\x64stSubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"m\n\x17\x45ventBatchDepositUpdate\x12R\n\x0f\x64\x65posit_updates\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DepositUpdateR\x0e\x64\x65positUpdates\"\xc7\x01\n\x1b\x44\x65rivativeMarketOrderCancel\x12Z\n\x0cmarket_order\x18\x01 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\x12L\n\x0f\x63\x61ncel_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x63\x61ncelQuantity\"\xa7\x02\n\x1a\x45ventCancelDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12W\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12m\n\x13market_order_cancel\x18\x04 \x01(\x0b\x32\x37.injective.exchange.v1beta1.DerivativeMarketOrderCancelB\x04\xc8\xde\x1f\x01R\x11marketOrderCancel\"g\n\x18\x45ventFeeDiscountSchedule\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x08schedule\"\xe2\x01\n EventTradingRewardCampaignUpdate\x12Z\n\rcampaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12\x62\n\x15\x63\x61mpaign_reward_pools\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools\"u\n\x1e\x45ventTradingRewardDistribution\x12S\n\x0f\x61\x63\x63ount_rewards\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.AccountRewardsR\x0e\x61\x63\x63ountRewards\"\xb5\x01\n\"EventNewConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderR\x05order\x12\x12\n\x04hash\x18\x03 \x01(\x0cR\x04hash\x12\x1b\n\tis_market\x18\x04 \x01(\x08R\x08isMarket\"\x9f\x02\n%EventCancelConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12W\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12Z\n\x0cmarket_order\x18\x04 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\"\xfb\x01\n&EventConditionalDerivativeOrderTrigger\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12&\n\x0eisLimitTrigger\x18\x02 \x01(\x08R\x0eisLimitTrigger\x12\x30\n\x14triggered_order_hash\x18\x03 \x01(\x0cR\x12triggeredOrderHash\x12*\n\x11placed_order_hash\x18\x04 \x01(\x0cR\x0fplacedOrderHash\x12.\n\x13triggered_order_cid\x18\x05 \x01(\tR\x11triggeredOrderCid\"l\n\x0e\x45ventOrderFail\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0cR\x07\x61\x63\x63ount\x12\x16\n\x06hashes\x18\x02 \x03(\x0cR\x06hashes\x12\x14\n\x05\x66lags\x18\x03 \x03(\rR\x05\x66lags\x12\x12\n\x04\x63ids\x18\x04 \x03(\tR\x04\x63ids\"\x94\x01\n+EventAtomicMarketOrderFeeMultipliersUpdated\x12\x65\n\x16market_fee_multipliers\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers\"\xc2\x01\n\x14\x45ventOrderbookUpdate\x12N\n\x0cspot_updates\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdateR\x0bspotUpdates\x12Z\n\x12\x64\x65rivative_updates\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdateR\x11\x64\x65rivativeUpdates\"h\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x43\n\torderbook\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderbookR\torderbook\"\xae\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12@\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\tbuyLevels\x12\x42\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\nsellLevels\"|\n\x18\x45ventGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants\"\x81\x01\n\x14\x45ventGrantActivation\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"G\n\x11\x45ventInvalidGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\"\xab\x01\n\x14\x45ventOrderCancelFail\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scriptionB\x87\x02\n\x1e\x63om.injective.exchange.v1beta1B\x0b\x45ventsProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.events_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\013EventsProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' - _globals['_EVENTBATCHDERIVATIVEEXECUTION'].fields_by_name['cumulative_funding']._loaded_options = None - _globals['_EVENTBATCHDERIVATIVEEXECUTION'].fields_by_name['cumulative_funding']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_available_during_payout']._loaded_options = None - _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_available_during_payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_order_cancels']._loaded_options = None - _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_order_cancels']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EVENTBINARYOPTIONSMARKETUPDATE'].fields_by_name['market']._loaded_options = None - _globals['_EVENTBINARYOPTIONSMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' - _globals['_EVENTCANCELSPOTORDER'].fields_by_name['order']._loaded_options = None - _globals['_EVENTCANCELSPOTORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_EVENTSPOTMARKETUPDATE'].fields_by_name['market']._loaded_options = None - _globals['_EVENTSPOTMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' - _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['market']._loaded_options = None - _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' - _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['perpetual_market_info']._loaded_options = None - _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['perpetual_market_info']._serialized_options = b'\310\336\037\001' - _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['funding']._loaded_options = None - _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['funding']._serialized_options = b'\310\336\037\001' - _globals['_EVENTEXPIRYFUTURESMARKETUPDATE'].fields_by_name['market']._loaded_options = None - _globals['_EVENTEXPIRYFUTURESMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' - _globals['_EVENTEXPIRYFUTURESMARKETUPDATE'].fields_by_name['expiry_futures_market_info']._loaded_options = None - _globals['_EVENTEXPIRYFUTURESMARKETUPDATE'].fields_by_name['expiry_futures_market_info']._serialized_options = b'\310\336\037\001' - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['funding']._loaded_options = None - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['funding']._serialized_options = b'\310\336\037\000' - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['funding_rate']._loaded_options = None - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['funding_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['mark_price']._loaded_options = None - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['mark_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EVENTSUBACCOUNTDEPOSIT'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTSUBACCOUNTDEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_EVENTSUBACCOUNTWITHDRAW'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTSUBACCOUNTWITHDRAW'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_EVENTSUBACCOUNTBALANCETRANSFER'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTSUBACCOUNTBALANCETRANSFER'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['market_order']._loaded_options = None - _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['market_order']._serialized_options = b'\310\336\037\001' - _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['cancel_quantity']._loaded_options = None - _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['cancel_quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EVENTCANCELDERIVATIVEORDER'].fields_by_name['limit_order']._loaded_options = None - _globals['_EVENTCANCELDERIVATIVEORDER'].fields_by_name['limit_order']._serialized_options = b'\310\336\037\001' - _globals['_EVENTCANCELDERIVATIVEORDER'].fields_by_name['market_order_cancel']._loaded_options = None - _globals['_EVENTCANCELDERIVATIVEORDER'].fields_by_name['market_order_cancel']._serialized_options = b'\310\336\037\001' - _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER'].fields_by_name['limit_order']._loaded_options = None - _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER'].fields_by_name['limit_order']._serialized_options = b'\310\336\037\001' - _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER'].fields_by_name['market_order']._loaded_options = None - _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER'].fields_by_name['market_order']._serialized_options = b'\310\336\037\001' - _globals['_EVENTGRANTACTIVATION'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTGRANTACTIVATION'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_EVENTBATCHSPOTEXECUTION']._serialized_start=208 - _globals['_EVENTBATCHSPOTEXECUTION']._serialized_end=428 - _globals['_EVENTBATCHDERIVATIVEEXECUTION']._serialized_start=431 - _globals['_EVENTBATCHDERIVATIVEEXECUTION']._serialized_end=790 - _globals['_EVENTLOSTFUNDSFROMLIQUIDATION']._serialized_start=793 - _globals['_EVENTLOSTFUNDSFROMLIQUIDATION']._serialized_end=1115 - _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_start=1118 - _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_end=1255 - _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_start=1258 - _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_end=1445 - _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_start=1448 - _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_end=1591 - _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_start=1594 - _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_end=1730 - _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_start=1732 - _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_end=1843 - _globals['_EVENTNEWSPOTORDERS']._serialized_start=1846 - _globals['_EVENTNEWSPOTORDERS']._serialized_end=2047 - _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_start=2050 - _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_end=2269 - _globals['_EVENTCANCELSPOTORDER']._serialized_start=2271 - _globals['_EVENTCANCELSPOTORDER']._serialized_end=2394 - _globals['_EVENTSPOTMARKETUPDATE']._serialized_start=2396 - _globals['_EVENTSPOTMARKETUPDATE']._serialized_end=2489 - _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_start=2492 - _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_end=2787 - _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_start=2790 - _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_end=3018 - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_start=3021 - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_end=3353 - _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_start=3356 - _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_end=3507 - _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_start=3510 - _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_end=3662 - _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_start=3665 - _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_end=3842 - _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_start=3844 - _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_end=3953 - _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_start=3956 - _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_end=4155 - _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_start=4158 - _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_end=4453 - _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_start=4455 - _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_end=4558 - _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_start=4561 - _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_end=4787 - _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_start=4789 - _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_end=4906 - _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_start=4909 - _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_end=5090 - _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_start=5093 - _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_end=5380 - _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_start=5383 - _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_end=5634 - _globals['_EVENTORDERFAIL']._serialized_start=5636 - _globals['_EVENTORDERFAIL']._serialized_end=5744 - _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_start=5747 - _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_end=5895 - _globals['_EVENTORDERBOOKUPDATE']._serialized_start=5898 - _globals['_EVENTORDERBOOKUPDATE']._serialized_end=6092 - _globals['_ORDERBOOKUPDATE']._serialized_start=6094 - _globals['_ORDERBOOKUPDATE']._serialized_end=6198 - _globals['_ORDERBOOK']._serialized_start=6201 - _globals['_ORDERBOOK']._serialized_end=6375 - _globals['_EVENTGRANTAUTHORIZATIONS']._serialized_start=6377 - _globals['_EVENTGRANTAUTHORIZATIONS']._serialized_end=6501 - _globals['_EVENTGRANTACTIVATION']._serialized_start=6504 - _globals['_EVENTGRANTACTIVATION']._serialized_end=6633 - _globals['_EVENTINVALIDGRANT']._serialized_start=6635 - _globals['_EVENTINVALIDGRANT']._serialized_end=6706 - _globals['_EVENTORDERCANCELFAIL']._serialized_start=6709 - _globals['_EVENTORDERCANCELFAIL']._serialized_end=6880 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/events_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/events_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/exchange/v1beta1/events_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py deleted file mode 100644 index f837770f..00000000 --- a/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py +++ /dev/null @@ -1,413 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/exchange/v1beta1/exchange.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -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\x1a\x11\x61mino/amino.proto\"\xdd\x15\n\x06Params\x12\x65\n\x1fspot_market_instant_listing_fee\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x1bspotMarketInstantListingFee\x12q\n%derivative_market_instant_listing_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R!derivativeMarketInstantListingFee\x12\x61\n\x1b\x64\x65\x66\x61ult_spot_maker_fee_rate\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17\x64\x65\x66\x61ultSpotMakerFeeRate\x12\x61\n\x1b\x64\x65\x66\x61ult_spot_taker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17\x64\x65\x66\x61ultSpotTakerFeeRate\x12m\n!default_derivative_maker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultDerivativeMakerFeeRate\x12m\n!default_derivative_taker_fee_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultDerivativeTakerFeeRate\x12\x64\n\x1c\x64\x65\x66\x61ult_initial_margin_ratio\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19\x64\x65\x66\x61ultInitialMarginRatio\x12l\n default_maintenance_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultMaintenanceMarginRatio\x12\x38\n\x18\x64\x65\x66\x61ult_funding_interval\x18\t \x01(\x03R\x16\x64\x65\x66\x61ultFundingInterval\x12)\n\x10\x66unding_multiple\x18\n \x01(\x03R\x0f\x66undingMultiple\x12X\n\x16relayer_fee_share_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12i\n\x1f\x64\x65\x66\x61ult_hourly_funding_rate_cap\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1b\x64\x65\x66\x61ultHourlyFundingRateCap\x12\x64\n\x1c\x64\x65\x66\x61ult_hourly_interest_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19\x64\x65\x66\x61ultHourlyInterestRate\x12\x44\n\x1fmax_derivative_order_side_count\x18\x0e \x01(\rR\x1bmaxDerivativeOrderSideCount\x12s\n\'inj_reward_staked_requirement_threshold\x18\x0f \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR#injRewardStakedRequirementThreshold\x12G\n trading_rewards_vesting_duration\x18\x10 \x01(\x03R\x1dtradingRewardsVestingDuration\x12\x64\n\x1cliquidator_reward_share_rate\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19liquidatorRewardShareRate\x12x\n)binary_options_market_instant_listing_fee\x18\x12 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R$binaryOptionsMarketInstantListingFee\x12\x80\x01\n atomic_market_order_access_level\x18\x13 \x01(\x0e\x32\x38.injective.exchange.v1beta1.AtomicMarketOrderAccessLevelR\x1c\x61tomicMarketOrderAccessLevel\x12x\n\'spot_atomic_market_order_fee_multiplier\x18\x14 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"spotAtomicMarketOrderFeeMultiplier\x12\x84\x01\n-derivative_atomic_market_order_fee_multiplier\x18\x15 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR(derivativeAtomicMarketOrderFeeMultiplier\x12\x8b\x01\n1binary_options_atomic_market_order_fee_multiplier\x18\x16 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR+binaryOptionsAtomicMarketOrderFeeMultiplier\x12^\n\x19minimal_protocol_fee_rate\x18\x17 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16minimalProtocolFeeRate\x12[\n+is_instant_derivative_market_launch_enabled\x18\x18 \x01(\x08R&isInstantDerivativeMarketLaunchEnabled\x12\x44\n\x1fpost_only_mode_height_threshold\x18\x19 \x01(\x03R\x1bpostOnlyModeHeightThreshold\x12g\n1margin_decrease_price_timestamp_threshold_seconds\x18\x1a \x01(\x03R,marginDecreasePriceTimestampThresholdSeconds\x12\'\n\x0f\x65xchange_admins\x18\x1b \x03(\tR\x0e\x65xchangeAdmins\x12L\n\x13inj_auction_max_cap\x18\x1c \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10injAuctionMaxCap:\x18\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0f\x65xchange/Params\"\x84\x01\n\x13MarketFeeMultiplier\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\x0e\x66\x65\x65_multiplier\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rfeeMultiplier:\x04\x88\xa0\x1f\x00\"\xec\x08\n\x10\x44\x65rivativeMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1f\n\x0boracle_base\x18\x02 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x03 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x05 \x01(\rR\x11oracleScaleFactor\x12\x1f\n\x0bquote_denom\x18\x06 \x01(\tR\nquoteDenom\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12U\n\x14initial_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12 \n\x0bisPerpetual\x18\r \x01(\x08R\x0bisPerpetual\x12@\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x14\n\x05\x61\x64min\x18\x12 \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\x13 \x01(\rR\x10\x61\x64minPermissions:\x04\x88\xa0\x1f\x00\"\xd7\x08\n\x13\x42inaryOptionsMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x02 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x03 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x05 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x06 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\x07 \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\x08 \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\t \x01(\tR\nquoteDenom\x12\x1b\n\tmarket_id\x18\n \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12@\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12N\n\x10settlement_price\x18\x11 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x46\n\x0cmin_notional\x18\x12 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12+\n\x11\x61\x64min_permissions\x18\x13 \x01(\rR\x10\x61\x64minPermissions:\x04\x88\xa0\x1f\x00\"\xe4\x02\n\x17\x45xpiryFuturesMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x31\n\x14\x65xpiration_timestamp\x18\x02 \x01(\x03R\x13\x65xpirationTimestamp\x12\x30\n\x14twap_start_timestamp\x18\x03 \x01(\x03R\x12twapStartTimestamp\x12w\n&expiration_twap_start_price_cumulative\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"expirationTwapStartPriceCumulative\x12N\n\x10settlement_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\"\xc6\x02\n\x13PerpetualMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Z\n\x17hourly_funding_rate_cap\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14hourlyFundingRateCap\x12U\n\x14hourly_interest_rate\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12hourlyInterestRate\x12\x34\n\x16next_funding_timestamp\x18\x04 \x01(\x03R\x14nextFundingTimestamp\x12)\n\x10\x66unding_interval\x18\x05 \x01(\x03R\x0f\x66undingInterval\"\xe3\x01\n\x16PerpetualMarketFunding\x12R\n\x12\x63umulative_funding\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12N\n\x10\x63umulative_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x63umulativePrice\x12%\n\x0elast_timestamp\x18\x03 \x01(\x03R\rlastTimestamp\"\x8d\x01\n\x1e\x44\x65rivativeMarketSettlementInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\"=\n\x14NextFundingTimestamp\x12%\n\x0enext_timestamp\x18\x01 \x01(\x03R\rnextTimestamp\"\xea\x01\n\x0eMidPriceAndTOB\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"\xec\x05\n\nSpotMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x02 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12@\n\x06status\x18\x08 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x14\n\x05\x61\x64min\x18\x0c \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\r \x01(\rR\x10\x61\x64minPermissions\"\xa5\x01\n\x07\x44\x65posit\x12P\n\x11\x61vailable_balance\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10\x61vailableBalance\x12H\n\rtotal_balance\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctotalBalance\",\n\x14SubaccountTradeNonce\x12\x14\n\x05nonce\x18\x01 \x01(\rR\x05nonce\"\xe3\x01\n\tOrderInfo\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12#\n\rfee_recipient\x18\x02 \x01(\tR\x0c\x66\x65\x65Recipient\x12\x39\n\x05price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id\"\x84\x02\n\tSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12H\n\rtrigger_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\"\xcc\x02\n\x0eSpotLimitOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12?\n\x08\x66illable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12H\n\rtrigger_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\"\xd4\x02\n\x0fSpotMarketOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x46\n\x0c\x62\x61lance_hold\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\x12\x1d\n\norder_hash\x18\x03 \x01(\x0cR\torderHash\x12\x44\n\norder_type\x18\x04 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\"\xc7\x02\n\x0f\x44\x65rivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\"\xfc\x03\n\x1bSubaccountOrderbookMetadata\x12\x39\n\x19vanilla_limit_order_count\x18\x01 \x01(\rR\x16vanillaLimitOrderCount\x12@\n\x1dreduce_only_limit_order_count\x18\x02 \x01(\rR\x19reduceOnlyLimitOrderCount\x12h\n\x1e\x61ggregate_reduce_only_quantity\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1b\x61ggregateReduceOnlyQuantity\x12\x61\n\x1a\x61ggregate_vanilla_quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x18\x61ggregateVanillaQuantity\x12\x45\n\x1fvanilla_conditional_order_count\x18\x05 \x01(\rR\x1cvanillaConditionalOrderCount\x12L\n#reduce_only_conditional_order_count\x18\x06 \x01(\rR\x1freduceOnlyConditionalOrderCount\"\xc3\x01\n\x0fSubaccountOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\"\n\x0cisReduceOnly\x18\x03 \x01(\x08R\x0cisReduceOnly\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id\"w\n\x13SubaccountOrderData\x12\x41\n\x05order\x18\x01 \x01(\x0b\x32+.injective.exchange.v1beta1.SubaccountOrderR\x05order\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\"\x8f\x03\n\x14\x44\x65rivativeLimitOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12?\n\x08\x66illable\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x06 \x01(\x0cR\torderHash\"\x95\x03\n\x15\x44\x65rivativeMarketOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12\x44\n\x0bmargin_hold\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nmarginHold\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x06 \x01(\x0cR\torderHash\"\xc5\x02\n\x08Position\x12\x16\n\x06isLong\x18\x01 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12;\n\x06margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12]\n\x18\x63umulative_funding_entry\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16\x63umulativeFundingEntry\"I\n\x14MarketOrderIndicator\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05isBuy\x18\x02 \x01(\x08R\x05isBuy\"\xcd\x02\n\x08TradeLog\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12#\n\rsubaccount_id\x18\x03 \x01(\x0cR\x0csubaccountId\x12\x35\n\x03\x66\x65\x65\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\"\x9a\x02\n\rPositionDelta\x12\x17\n\x07is_long\x18\x01 \x01(\x08R\x06isLong\x12R\n\x12\x65xecution_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x65xecutionQuantity\x12N\n\x10\x65xecution_margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65xecutionMargin\x12L\n\x0f\x65xecution_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x65xecutionPrice\"\xa1\x03\n\x12\x44\x65rivativeTradeLog\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12P\n\x0eposition_delta\x18\x02 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaR\rpositionDelta\x12;\n\x06payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout\x12\x35\n\x03\x66\x65\x65\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\x12\x35\n\x03pnl\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03pnl\"{\n\x12SubaccountPosition\x12@\n\x08position\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionR\x08position\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\"w\n\x11SubaccountDeposit\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12=\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x07\x64\x65posit\"p\n\rDepositUpdate\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12I\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.SubaccountDepositR\x08\x64\x65posits\"\xcc\x01\n\x10PointsMultiplier\x12[\n\x17maker_points_multiplier\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15makerPointsMultiplier\x12[\n\x17taker_points_multiplier\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15takerPointsMultiplier\"\xfe\x02\n\x1eTradingRewardCampaignBoostInfo\x12\x35\n\x17\x62oosted_spot_market_ids\x18\x01 \x03(\tR\x14\x62oostedSpotMarketIds\x12j\n\x17spot_market_multipliers\x18\x02 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00R\x15spotMarketMultipliers\x12\x41\n\x1d\x62oosted_derivative_market_ids\x18\x03 \x03(\tR\x1a\x62oostedDerivativeMarketIds\x12v\n\x1d\x64\x65rivative_market_multipliers\x18\x04 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00R\x1b\x64\x65rivativeMarketMultipliers\"\xbc\x01\n\x12\x43\x61mpaignRewardPool\x12\'\n\x0fstart_timestamp\x18\x01 \x01(\x03R\x0estartTimestamp\x12}\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.CoinsR\x12maxCampaignRewards\"\xa9\x02\n\x19TradingRewardCampaignInfo\x12:\n\x19\x63\x61mpaign_duration_seconds\x18\x01 \x01(\x03R\x17\x63\x61mpaignDurationSeconds\x12!\n\x0cquote_denoms\x18\x02 \x03(\tR\x0bquoteDenoms\x12u\n\x19trading_reward_boost_info\x18\x03 \x01(\x0b\x32:.injective.exchange.v1beta1.TradingRewardCampaignBoostInfoR\x16tradingRewardBoostInfo\x12\x36\n\x17\x64isqualified_market_ids\x18\x04 \x03(\tR\x15\x64isqualifiedMarketIds\"\xc0\x02\n\x13\x46\x65\x65\x44iscountTierInfo\x12S\n\x13maker_discount_rate\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11makerDiscountRate\x12S\n\x13taker_discount_rate\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11takerDiscountRate\x12\x42\n\rstaked_amount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0cstakedAmount\x12;\n\x06volume\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06volume\"\x8c\x02\n\x13\x46\x65\x65\x44iscountSchedule\x12!\n\x0c\x62ucket_count\x18\x01 \x01(\x04R\x0b\x62ucketCount\x12\'\n\x0f\x62ucket_duration\x18\x02 \x01(\x03R\x0e\x62ucketDuration\x12!\n\x0cquote_denoms\x18\x03 \x03(\tR\x0bquoteDenoms\x12N\n\ntier_infos\x18\x04 \x03(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfoR\ttierInfos\x12\x36\n\x17\x64isqualified_market_ids\x18\x05 \x03(\tR\x15\x64isqualifiedMarketIds\"M\n\x12\x46\x65\x65\x44iscountTierTTL\x12\x12\n\x04tier\x18\x01 \x01(\x04R\x04tier\x12#\n\rttl_timestamp\x18\x02 \x01(\x03R\x0cttlTimestamp\"\x9e\x01\n\x0cVolumeRecord\x12\x46\n\x0cmaker_volume\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bmakerVolume\x12\x46\n\x0ctaker_volume\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0btakerVolume\"\x91\x01\n\x0e\x41\x63\x63ountRewards\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x65\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.CoinsR\x07rewards\"\x86\x01\n\x0cTradeRecords\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Y\n\x14latest_trade_records\x18\x02 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecordR\x12latestTradeRecords\"6\n\rSubaccountIDs\x12%\n\x0esubaccount_ids\x18\x01 \x03(\x0cR\rsubaccountIds\"\xa7\x01\n\x0bTradeRecord\x12\x1c\n\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\"m\n\x05Level\x12\x31\n\x01p\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01p\x12\x31\n\x01q\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01q\"\x97\x01\n\x1f\x41ggregateSubaccountVolumeRecord\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12O\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes\"\x89\x01\n\x1c\x41ggregateAccountVolumeRecord\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12O\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes\"s\n\x0cMarketVolume\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x06volume\x18\x02 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00R\x06volume\"A\n\rDenomDecimals\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1a\n\x08\x64\x65\x63imals\x18\x02 \x01(\x04R\x08\x64\x65\x63imals\"e\n\x12GrantAuthorization\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"^\n\x0b\x41\x63tiveGrant\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"\x90\x01\n\x0e\x45\x66\x66\x65\x63tiveGrant\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12I\n\x11net_granted_stake\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0fnetGrantedStake\x12\x19\n\x08is_valid\x18\x03 \x01(\x08R\x07isValid*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 \x05LIMITB\x89\x02\n\x1e\x63om.injective.exchange.v1beta1B\rExchangeProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.exchange_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\rExchangeProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' - _globals['_ORDERTYPE'].values_by_name["UNSPECIFIED"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' - _globals['_ORDERTYPE'].values_by_name["BUY"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["BUY"]._serialized_options = b'\212\235 \003BUY' - _globals['_ORDERTYPE'].values_by_name["SELL"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["SELL"]._serialized_options = b'\212\235 \004SELL' - _globals['_ORDERTYPE'].values_by_name["STOP_BUY"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["STOP_BUY"]._serialized_options = b'\212\235 \010STOP_BUY' - _globals['_ORDERTYPE'].values_by_name["STOP_SELL"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["STOP_SELL"]._serialized_options = b'\212\235 \tSTOP_SELL' - _globals['_ORDERTYPE'].values_by_name["TAKE_BUY"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["TAKE_BUY"]._serialized_options = b'\212\235 \010TAKE_BUY' - _globals['_ORDERTYPE'].values_by_name["TAKE_SELL"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["TAKE_SELL"]._serialized_options = b'\212\235 \tTAKE_SELL' - _globals['_ORDERTYPE'].values_by_name["BUY_PO"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["BUY_PO"]._serialized_options = b'\212\235 \006BUY_PO' - _globals['_ORDERTYPE'].values_by_name["SELL_PO"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["SELL_PO"]._serialized_options = b'\212\235 \007SELL_PO' - _globals['_ORDERTYPE'].values_by_name["BUY_ATOMIC"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["BUY_ATOMIC"]._serialized_options = b'\212\235 \nBUY_ATOMIC' - _globals['_ORDERTYPE'].values_by_name["SELL_ATOMIC"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["SELL_ATOMIC"]._serialized_options = b'\212\235 \013SELL_ATOMIC' - _globals['_ORDERMASK'].values_by_name["UNUSED"]._loaded_options = None - _globals['_ORDERMASK'].values_by_name["UNUSED"]._serialized_options = b'\212\235 \006UNUSED' - _globals['_ORDERMASK'].values_by_name["ANY"]._loaded_options = None - _globals['_ORDERMASK'].values_by_name["ANY"]._serialized_options = b'\212\235 \003ANY' - _globals['_ORDERMASK'].values_by_name["REGULAR"]._loaded_options = None - _globals['_ORDERMASK'].values_by_name["REGULAR"]._serialized_options = b'\212\235 \007REGULAR' - _globals['_ORDERMASK'].values_by_name["CONDITIONAL"]._loaded_options = None - _globals['_ORDERMASK'].values_by_name["CONDITIONAL"]._serialized_options = b'\212\235 \013CONDITIONAL' - _globals['_ORDERMASK'].values_by_name["DIRECTION_BUY_OR_HIGHER"]._loaded_options = None - _globals['_ORDERMASK'].values_by_name["DIRECTION_BUY_OR_HIGHER"]._serialized_options = b'\212\235 \rBUY_OR_HIGHER' - _globals['_ORDERMASK'].values_by_name["DIRECTION_SELL_OR_LOWER"]._loaded_options = None - _globals['_ORDERMASK'].values_by_name["DIRECTION_SELL_OR_LOWER"]._serialized_options = b'\212\235 \rSELL_OR_LOWER' - _globals['_ORDERMASK'].values_by_name["TYPE_MARKET"]._loaded_options = None - _globals['_ORDERMASK'].values_by_name["TYPE_MARKET"]._serialized_options = b'\212\235 \006MARKET' - _globals['_ORDERMASK'].values_by_name["TYPE_LIMIT"]._loaded_options = None - _globals['_ORDERMASK'].values_by_name["TYPE_LIMIT"]._serialized_options = b'\212\235 \005LIMIT' - _globals['_PARAMS'].fields_by_name['spot_market_instant_listing_fee']._loaded_options = None - _globals['_PARAMS'].fields_by_name['spot_market_instant_listing_fee']._serialized_options = b'\310\336\037\000' - _globals['_PARAMS'].fields_by_name['derivative_market_instant_listing_fee']._loaded_options = None - _globals['_PARAMS'].fields_by_name['derivative_market_instant_listing_fee']._serialized_options = b'\310\336\037\000' - _globals['_PARAMS'].fields_by_name['default_spot_maker_fee_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_spot_maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['default_spot_taker_fee_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_spot_taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['default_derivative_maker_fee_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_derivative_maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['default_derivative_taker_fee_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_derivative_taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['default_initial_margin_ratio']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['default_maintenance_margin_ratio']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['relayer_fee_share_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['default_hourly_funding_rate_cap']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_hourly_funding_rate_cap']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['default_hourly_interest_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_hourly_interest_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['inj_reward_staked_requirement_threshold']._loaded_options = None - _globals['_PARAMS'].fields_by_name['inj_reward_staked_requirement_threshold']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_PARAMS'].fields_by_name['liquidator_reward_share_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['liquidator_reward_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['binary_options_market_instant_listing_fee']._loaded_options = None - _globals['_PARAMS'].fields_by_name['binary_options_market_instant_listing_fee']._serialized_options = b'\310\336\037\000' - _globals['_PARAMS'].fields_by_name['spot_atomic_market_order_fee_multiplier']._loaded_options = None - _globals['_PARAMS'].fields_by_name['spot_atomic_market_order_fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['derivative_atomic_market_order_fee_multiplier']._loaded_options = None - _globals['_PARAMS'].fields_by_name['derivative_atomic_market_order_fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['binary_options_atomic_market_order_fee_multiplier']._loaded_options = None - _globals['_PARAMS'].fields_by_name['binary_options_atomic_market_order_fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['minimal_protocol_fee_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['minimal_protocol_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['inj_auction_max_cap']._loaded_options = None - _globals['_PARAMS'].fields_by_name['inj_auction_max_cap']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\017exchange/Params' - _globals['_MARKETFEEMULTIPLIER'].fields_by_name['fee_multiplier']._loaded_options = None - _globals['_MARKETFEEMULTIPLIER'].fields_by_name['fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MARKETFEEMULTIPLIER']._loaded_options = None - _globals['_MARKETFEEMULTIPLIER']._serialized_options = b'\210\240\037\000' - _globals['_DERIVATIVEMARKET'].fields_by_name['initial_margin_ratio']._loaded_options = None - _globals['_DERIVATIVEMARKET'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKET'].fields_by_name['maintenance_margin_ratio']._loaded_options = None - _globals['_DERIVATIVEMARKET'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKET'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_DERIVATIVEMARKET'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKET'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_DERIVATIVEMARKET'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKET'].fields_by_name['relayer_fee_share_rate']._loaded_options = None - _globals['_DERIVATIVEMARKET'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKET'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_DERIVATIVEMARKET'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKET'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_DERIVATIVEMARKET'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKET'].fields_by_name['min_notional']._loaded_options = None - _globals['_DERIVATIVEMARKET'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKET']._loaded_options = None - _globals['_DERIVATIVEMARKET']._serialized_options = b'\210\240\037\000' - _globals['_BINARYOPTIONSMARKET'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_BINARYOPTIONSMARKET'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKET'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_BINARYOPTIONSMARKET'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKET'].fields_by_name['relayer_fee_share_rate']._loaded_options = None - _globals['_BINARYOPTIONSMARKET'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKET'].fields_by_name['settlement_price']._loaded_options = None - _globals['_BINARYOPTIONSMARKET'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_notional']._loaded_options = None - _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKET']._loaded_options = None - _globals['_BINARYOPTIONSMARKET']._serialized_options = b'\210\240\037\000' - _globals['_EXPIRYFUTURESMARKETINFO'].fields_by_name['expiration_twap_start_price_cumulative']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETINFO'].fields_by_name['expiration_twap_start_price_cumulative']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXPIRYFUTURESMARKETINFO'].fields_by_name['settlement_price']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETINFO'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETINFO'].fields_by_name['hourly_funding_rate_cap']._loaded_options = None - _globals['_PERPETUALMARKETINFO'].fields_by_name['hourly_funding_rate_cap']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETINFO'].fields_by_name['hourly_interest_rate']._loaded_options = None - _globals['_PERPETUALMARKETINFO'].fields_by_name['hourly_interest_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_funding']._loaded_options = None - _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_funding']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_price']._loaded_options = None - _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETSETTLEMENTINFO'].fields_by_name['settlement_price']._loaded_options = None - _globals['_DERIVATIVEMARKETSETTLEMENTINFO'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MIDPRICEANDTOB'].fields_by_name['mid_price']._loaded_options = None - _globals['_MIDPRICEANDTOB'].fields_by_name['mid_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MIDPRICEANDTOB'].fields_by_name['best_buy_price']._loaded_options = None - _globals['_MIDPRICEANDTOB'].fields_by_name['best_buy_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MIDPRICEANDTOB'].fields_by_name['best_sell_price']._loaded_options = None - _globals['_MIDPRICEANDTOB'].fields_by_name['best_sell_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKET'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_SPOTMARKET'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKET'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_SPOTMARKET'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKET'].fields_by_name['relayer_fee_share_rate']._loaded_options = None - _globals['_SPOTMARKET'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKET'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_SPOTMARKET'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKET'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_SPOTMARKET'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKET'].fields_by_name['min_notional']._loaded_options = None - _globals['_SPOTMARKET'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DEPOSIT'].fields_by_name['available_balance']._loaded_options = None - _globals['_DEPOSIT'].fields_by_name['available_balance']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DEPOSIT'].fields_by_name['total_balance']._loaded_options = None - _globals['_DEPOSIT'].fields_by_name['total_balance']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_ORDERINFO'].fields_by_name['price']._loaded_options = None - _globals['_ORDERINFO'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_ORDERINFO'].fields_by_name['quantity']._loaded_options = None - _globals['_ORDERINFO'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTORDER'].fields_by_name['order_info']._loaded_options = None - _globals['_SPOTORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' - _globals['_SPOTORDER'].fields_by_name['trigger_price']._loaded_options = None - _globals['_SPOTORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTLIMITORDER'].fields_by_name['order_info']._loaded_options = None - _globals['_SPOTLIMITORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' - _globals['_SPOTLIMITORDER'].fields_by_name['fillable']._loaded_options = None - _globals['_SPOTLIMITORDER'].fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTLIMITORDER'].fields_by_name['trigger_price']._loaded_options = None - _globals['_SPOTLIMITORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETORDER'].fields_by_name['order_info']._loaded_options = None - _globals['_SPOTMARKETORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' - _globals['_SPOTMARKETORDER'].fields_by_name['balance_hold']._loaded_options = None - _globals['_SPOTMARKETORDER'].fields_by_name['balance_hold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETORDER'].fields_by_name['trigger_price']._loaded_options = None - _globals['_SPOTMARKETORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEORDER'].fields_by_name['order_info']._loaded_options = None - _globals['_DERIVATIVEORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' - _globals['_DERIVATIVEORDER'].fields_by_name['margin']._loaded_options = None - _globals['_DERIVATIVEORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEORDER'].fields_by_name['trigger_price']._loaded_options = None - _globals['_DERIVATIVEORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SUBACCOUNTORDERBOOKMETADATA'].fields_by_name['aggregate_reduce_only_quantity']._loaded_options = None - _globals['_SUBACCOUNTORDERBOOKMETADATA'].fields_by_name['aggregate_reduce_only_quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SUBACCOUNTORDERBOOKMETADATA'].fields_by_name['aggregate_vanilla_quantity']._loaded_options = None - _globals['_SUBACCOUNTORDERBOOKMETADATA'].fields_by_name['aggregate_vanilla_quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SUBACCOUNTORDER'].fields_by_name['price']._loaded_options = None - _globals['_SUBACCOUNTORDER'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SUBACCOUNTORDER'].fields_by_name['quantity']._loaded_options = None - _globals['_SUBACCOUNTORDER'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVELIMITORDER'].fields_by_name['order_info']._loaded_options = None - _globals['_DERIVATIVELIMITORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' - _globals['_DERIVATIVELIMITORDER'].fields_by_name['margin']._loaded_options = None - _globals['_DERIVATIVELIMITORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVELIMITORDER'].fields_by_name['fillable']._loaded_options = None - _globals['_DERIVATIVELIMITORDER'].fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVELIMITORDER'].fields_by_name['trigger_price']._loaded_options = None - _globals['_DERIVATIVELIMITORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETORDER'].fields_by_name['order_info']._loaded_options = None - _globals['_DERIVATIVEMARKETORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' - _globals['_DERIVATIVEMARKETORDER'].fields_by_name['margin']._loaded_options = None - _globals['_DERIVATIVEMARKETORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETORDER'].fields_by_name['margin_hold']._loaded_options = None - _globals['_DERIVATIVEMARKETORDER'].fields_by_name['margin_hold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETORDER'].fields_by_name['trigger_price']._loaded_options = None - _globals['_DERIVATIVEMARKETORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITION'].fields_by_name['quantity']._loaded_options = None - _globals['_POSITION'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITION'].fields_by_name['entry_price']._loaded_options = None - _globals['_POSITION'].fields_by_name['entry_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITION'].fields_by_name['margin']._loaded_options = None - _globals['_POSITION'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITION'].fields_by_name['cumulative_funding_entry']._loaded_options = None - _globals['_POSITION'].fields_by_name['cumulative_funding_entry']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRADELOG'].fields_by_name['quantity']._loaded_options = None - _globals['_TRADELOG'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRADELOG'].fields_by_name['price']._loaded_options = None - _globals['_TRADELOG'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRADELOG'].fields_by_name['fee']._loaded_options = None - _globals['_TRADELOG'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRADELOG'].fields_by_name['fee_recipient_address']._loaded_options = None - _globals['_TRADELOG'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' - _globals['_POSITIONDELTA'].fields_by_name['execution_quantity']._loaded_options = None - _globals['_POSITIONDELTA'].fields_by_name['execution_quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITIONDELTA'].fields_by_name['execution_margin']._loaded_options = None - _globals['_POSITIONDELTA'].fields_by_name['execution_margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITIONDELTA'].fields_by_name['execution_price']._loaded_options = None - _globals['_POSITIONDELTA'].fields_by_name['execution_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVETRADELOG'].fields_by_name['payout']._loaded_options = None - _globals['_DERIVATIVETRADELOG'].fields_by_name['payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVETRADELOG'].fields_by_name['fee']._loaded_options = None - _globals['_DERIVATIVETRADELOG'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVETRADELOG'].fields_by_name['fee_recipient_address']._loaded_options = None - _globals['_DERIVATIVETRADELOG'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' - _globals['_DERIVATIVETRADELOG'].fields_by_name['pnl']._loaded_options = None - _globals['_DERIVATIVETRADELOG'].fields_by_name['pnl']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POINTSMULTIPLIER'].fields_by_name['maker_points_multiplier']._loaded_options = None - _globals['_POINTSMULTIPLIER'].fields_by_name['maker_points_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POINTSMULTIPLIER'].fields_by_name['taker_points_multiplier']._loaded_options = None - _globals['_POINTSMULTIPLIER'].fields_by_name['taker_points_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO'].fields_by_name['spot_market_multipliers']._loaded_options = None - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO'].fields_by_name['spot_market_multipliers']._serialized_options = b'\310\336\037\000' - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO'].fields_by_name['derivative_market_multipliers']._loaded_options = None - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO'].fields_by_name['derivative_market_multipliers']._serialized_options = b'\310\336\037\000' - _globals['_CAMPAIGNREWARDPOOL'].fields_by_name['max_campaign_rewards']._loaded_options = None - _globals['_CAMPAIGNREWARDPOOL'].fields_by_name['max_campaign_rewards']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['maker_discount_rate']._loaded_options = None - _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['maker_discount_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['taker_discount_rate']._loaded_options = None - _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['taker_discount_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['staked_amount']._loaded_options = None - _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['staked_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['volume']._loaded_options = None - _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['volume']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_VOLUMERECORD'].fields_by_name['maker_volume']._loaded_options = None - _globals['_VOLUMERECORD'].fields_by_name['maker_volume']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_VOLUMERECORD'].fields_by_name['taker_volume']._loaded_options = None - _globals['_VOLUMERECORD'].fields_by_name['taker_volume']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_ACCOUNTREWARDS'].fields_by_name['rewards']._loaded_options = None - _globals['_ACCOUNTREWARDS'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_TRADERECORD'].fields_by_name['price']._loaded_options = None - _globals['_TRADERECORD'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRADERECORD'].fields_by_name['quantity']._loaded_options = None - _globals['_TRADERECORD'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_LEVEL'].fields_by_name['p']._loaded_options = None - _globals['_LEVEL'].fields_by_name['p']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_LEVEL'].fields_by_name['q']._loaded_options = None - _globals['_LEVEL'].fields_by_name['q']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MARKETVOLUME'].fields_by_name['volume']._loaded_options = None - _globals['_MARKETVOLUME'].fields_by_name['volume']._serialized_options = b'\310\336\037\000' - _globals['_GRANTAUTHORIZATION'].fields_by_name['amount']._loaded_options = None - _globals['_GRANTAUTHORIZATION'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_ACTIVEGRANT'].fields_by_name['amount']._loaded_options = None - _globals['_ACTIVEGRANT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_EFFECTIVEGRANT'].fields_by_name['net_granted_stake']._loaded_options = None - _globals['_EFFECTIVEGRANT'].fields_by_name['net_granted_stake']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_start=15988 - _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_end=16104 - _globals['_MARKETSTATUS']._serialized_start=16106 - _globals['_MARKETSTATUS']._serialized_end=16190 - _globals['_ORDERTYPE']._serialized_start=16193 - _globals['_ORDERTYPE']._serialized_end=16508 - _globals['_EXECUTIONTYPE']._serialized_start=16511 - _globals['_EXECUTIONTYPE']._serialized_end=16686 - _globals['_ORDERMASK']._serialized_start=16689 - _globals['_ORDERMASK']._serialized_end=16954 - _globals['_PARAMS']._serialized_start=186 - _globals['_PARAMS']._serialized_end=2967 - _globals['_MARKETFEEMULTIPLIER']._serialized_start=2970 - _globals['_MARKETFEEMULTIPLIER']._serialized_end=3102 - _globals['_DERIVATIVEMARKET']._serialized_start=3105 - _globals['_DERIVATIVEMARKET']._serialized_end=4237 - _globals['_BINARYOPTIONSMARKET']._serialized_start=4240 - _globals['_BINARYOPTIONSMARKET']._serialized_end=5351 - _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=5354 - _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=5710 - _globals['_PERPETUALMARKETINFO']._serialized_start=5713 - _globals['_PERPETUALMARKETINFO']._serialized_end=6039 - _globals['_PERPETUALMARKETFUNDING']._serialized_start=6042 - _globals['_PERPETUALMARKETFUNDING']._serialized_end=6269 - _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_start=6272 - _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_end=6413 - _globals['_NEXTFUNDINGTIMESTAMP']._serialized_start=6415 - _globals['_NEXTFUNDINGTIMESTAMP']._serialized_end=6476 - _globals['_MIDPRICEANDTOB']._serialized_start=6479 - _globals['_MIDPRICEANDTOB']._serialized_end=6713 - _globals['_SPOTMARKET']._serialized_start=6716 - _globals['_SPOTMARKET']._serialized_end=7464 - _globals['_DEPOSIT']._serialized_start=7467 - _globals['_DEPOSIT']._serialized_end=7632 - _globals['_SUBACCOUNTTRADENONCE']._serialized_start=7634 - _globals['_SUBACCOUNTTRADENONCE']._serialized_end=7678 - _globals['_ORDERINFO']._serialized_start=7681 - _globals['_ORDERINFO']._serialized_end=7908 - _globals['_SPOTORDER']._serialized_start=7911 - _globals['_SPOTORDER']._serialized_end=8171 - _globals['_SPOTLIMITORDER']._serialized_start=8174 - _globals['_SPOTLIMITORDER']._serialized_end=8506 - _globals['_SPOTMARKETORDER']._serialized_start=8509 - _globals['_SPOTMARKETORDER']._serialized_end=8849 - _globals['_DERIVATIVEORDER']._serialized_start=8852 - _globals['_DERIVATIVEORDER']._serialized_end=9179 - _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_start=9182 - _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_end=9690 - _globals['_SUBACCOUNTORDER']._serialized_start=9693 - _globals['_SUBACCOUNTORDER']._serialized_end=9888 - _globals['_SUBACCOUNTORDERDATA']._serialized_start=9890 - _globals['_SUBACCOUNTORDERDATA']._serialized_end=10009 - _globals['_DERIVATIVELIMITORDER']._serialized_start=10012 - _globals['_DERIVATIVELIMITORDER']._serialized_end=10411 - _globals['_DERIVATIVEMARKETORDER']._serialized_start=10414 - _globals['_DERIVATIVEMARKETORDER']._serialized_end=10819 - _globals['_POSITION']._serialized_start=10822 - _globals['_POSITION']._serialized_end=11147 - _globals['_MARKETORDERINDICATOR']._serialized_start=11149 - _globals['_MARKETORDERINDICATOR']._serialized_end=11222 - _globals['_TRADELOG']._serialized_start=11225 - _globals['_TRADELOG']._serialized_end=11558 - _globals['_POSITIONDELTA']._serialized_start=11561 - _globals['_POSITIONDELTA']._serialized_end=11843 - _globals['_DERIVATIVETRADELOG']._serialized_start=11846 - _globals['_DERIVATIVETRADELOG']._serialized_end=12263 - _globals['_SUBACCOUNTPOSITION']._serialized_start=12265 - _globals['_SUBACCOUNTPOSITION']._serialized_end=12388 - _globals['_SUBACCOUNTDEPOSIT']._serialized_start=12390 - _globals['_SUBACCOUNTDEPOSIT']._serialized_end=12509 - _globals['_DEPOSITUPDATE']._serialized_start=12511 - _globals['_DEPOSITUPDATE']._serialized_end=12623 - _globals['_POINTSMULTIPLIER']._serialized_start=12626 - _globals['_POINTSMULTIPLIER']._serialized_end=12830 - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_start=12833 - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_end=13215 - _globals['_CAMPAIGNREWARDPOOL']._serialized_start=13218 - _globals['_CAMPAIGNREWARDPOOL']._serialized_end=13406 - _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_start=13409 - _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_end=13706 - _globals['_FEEDISCOUNTTIERINFO']._serialized_start=13709 - _globals['_FEEDISCOUNTTIERINFO']._serialized_end=14029 - _globals['_FEEDISCOUNTSCHEDULE']._serialized_start=14032 - _globals['_FEEDISCOUNTSCHEDULE']._serialized_end=14300 - _globals['_FEEDISCOUNTTIERTTL']._serialized_start=14302 - _globals['_FEEDISCOUNTTIERTTL']._serialized_end=14379 - _globals['_VOLUMERECORD']._serialized_start=14382 - _globals['_VOLUMERECORD']._serialized_end=14540 - _globals['_ACCOUNTREWARDS']._serialized_start=14543 - _globals['_ACCOUNTREWARDS']._serialized_end=14688 - _globals['_TRADERECORDS']._serialized_start=14691 - _globals['_TRADERECORDS']._serialized_end=14825 - _globals['_SUBACCOUNTIDS']._serialized_start=14827 - _globals['_SUBACCOUNTIDS']._serialized_end=14881 - _globals['_TRADERECORD']._serialized_start=14884 - _globals['_TRADERECORD']._serialized_end=15051 - _globals['_LEVEL']._serialized_start=15053 - _globals['_LEVEL']._serialized_end=15162 - _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_start=15165 - _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_end=15316 - _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_start=15319 - _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_end=15456 - _globals['_MARKETVOLUME']._serialized_start=15458 - _globals['_MARKETVOLUME']._serialized_end=15573 - _globals['_DENOMDECIMALS']._serialized_start=15575 - _globals['_DENOMDECIMALS']._serialized_end=15640 - _globals['_GRANTAUTHORIZATION']._serialized_start=15642 - _globals['_GRANTAUTHORIZATION']._serialized_end=15743 - _globals['_ACTIVEGRANT']._serialized_start=15745 - _globals['_ACTIVEGRANT']._serialized_end=15839 - _globals['_EFFECTIVEGRANT']._serialized_start=15842 - _globals['_EFFECTIVEGRANT']._serialized_end=15986 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py deleted file mode 100644 index 62b1d57b..00000000 --- a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,104 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/exchange/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 -from pyinjective.proto.injective.exchange.v1beta1 import tx_pb2 as injective_dot_exchange_dot_v1beta1_dot_tx__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(injective/exchange/v1beta1/genesis.proto\x12\x1ainjective.exchange.v1beta1\x1a)injective/exchange/v1beta1/exchange.proto\x1a#injective/exchange/v1beta1/tx.proto\x1a\x14gogoproto/gogo.proto\"\xab\x1d\n\x0cGenesisState\x12@\n\x06params\x18\x01 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12I\n\x0cspot_markets\x18\x02 \x03(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x0bspotMarkets\x12[\n\x12\x64\x65rivative_markets\x18\x03 \x03(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketR\x11\x64\x65rivativeMarkets\x12V\n\x0espot_orderbook\x18\x04 \x03(\x0b\x32).injective.exchange.v1beta1.SpotOrderBookB\x04\xc8\xde\x1f\x00R\rspotOrderbook\x12h\n\x14\x64\x65rivative_orderbook\x18\x05 \x03(\x0b\x32/.injective.exchange.v1beta1.DerivativeOrderBookB\x04\xc8\xde\x1f\x00R\x13\x64\x65rivativeOrderbook\x12\x45\n\x08\x62\x61lances\x18\x06 \x03(\x0b\x32#.injective.exchange.v1beta1.BalanceB\x04\xc8\xde\x1f\x00R\x08\x62\x61lances\x12R\n\tpositions\x18\x07 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\tpositions\x12i\n\x17subaccount_trade_nonces\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.SubaccountNonceB\x04\xc8\xde\x1f\x00R\x15subaccountTradeNonces\x12\x86\x01\n expiry_futures_market_info_state\x18\t \x03(\x0b\x32\x38.injective.exchange.v1beta1.ExpiryFuturesMarketInfoStateB\x04\xc8\xde\x1f\x00R\x1c\x65xpiryFuturesMarketInfoState\x12i\n\x15perpetual_market_info\x18\n \x03(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00R\x13perpetualMarketInfo\x12\x82\x01\n\x1eperpetual_market_funding_state\x18\x0b \x03(\x0b\x32\x37.injective.exchange.v1beta1.PerpetualMarketFundingStateB\x04\xc8\xde\x1f\x00R\x1bperpetualMarketFundingState\x12\x95\x01\n&derivative_market_settlement_scheduled\x18\x0c \x03(\x0b\x32:.injective.exchange.v1beta1.DerivativeMarketSettlementInfoB\x04\xc8\xde\x1f\x00R#derivativeMarketSettlementScheduled\x12\x37\n\x18is_spot_exchange_enabled\x18\r \x01(\x08R\x15isSpotExchangeEnabled\x12\x45\n\x1fis_derivatives_exchange_enabled\x18\x0e \x01(\x08R\x1cisDerivativesExchangeEnabled\x12v\n\x1ctrading_reward_campaign_info\x18\x0f \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x19tradingRewardCampaignInfo\x12\x80\x01\n%trading_reward_pool_campaign_schedule\x18\x10 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR!tradingRewardPoolCampaignSchedule\x12\x92\x01\n&trading_reward_campaign_account_points\x18\x11 \x03(\x0b\x32>.injective.exchange.v1beta1.TradingRewardCampaignAccountPointsR\"tradingRewardCampaignAccountPoints\x12\x63\n\x15\x66\x65\x65_discount_schedule\x18\x12 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x13\x66\x65\x65\x44iscountSchedule\x12w\n\x1d\x66\x65\x65_discount_account_tier_ttl\x18\x13 \x03(\x0b\x32\x35.injective.exchange.v1beta1.FeeDiscountAccountTierTTLR\x19\x66\x65\x65\x44iscountAccountTierTtl\x12\x89\x01\n#fee_discount_bucket_volume_accounts\x18\x14 \x03(\x0b\x32;.injective.exchange.v1beta1.FeeDiscountBucketVolumeAccountsR\x1f\x66\x65\x65\x44iscountBucketVolumeAccounts\x12<\n\x1bis_first_fee_cycle_finished\x18\x15 \x01(\x08R\x17isFirstFeeCycleFinished\x12\x8f\x01\n-pending_trading_reward_pool_campaign_schedule\x18\x16 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR(pendingTradingRewardPoolCampaignSchedule\x12\xa8\x01\n.pending_trading_reward_campaign_account_points\x18\x17 \x03(\x0b\x32\x45.injective.exchange.v1beta1.TradingRewardCampaignAccountPendingPointsR)pendingTradingRewardCampaignAccountPoints\x12\x39\n\x19rewards_opt_out_addresses\x18\x18 \x03(\tR\x16rewardsOptOutAddresses\x12\x62\n\x18historical_trade_records\x18\x19 \x03(\x0b\x32(.injective.exchange.v1beta1.TradeRecordsR\x16historicalTradeRecords\x12\x65\n\x16\x62inary_options_markets\x18\x1a \x03(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketR\x14\x62inaryOptionsMarkets\x12h\n2binary_options_market_ids_scheduled_for_settlement\x18\x1b \x03(\tR,binaryOptionsMarketIdsScheduledForSettlement\x12T\n(spot_market_ids_scheduled_to_force_close\x18\x1c \x03(\tR\"spotMarketIdsScheduledToForceClose\x12V\n\x0e\x64\x65nom_decimals\x18\x1d \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsB\x04\xc8\xde\x1f\x00R\rdenomDecimals\x12\x86\x01\n!conditional_derivative_orderbooks\x18\x1e \x03(\x0b\x32:.injective.exchange.v1beta1.ConditionalDerivativeOrderBookR\x1f\x63onditionalDerivativeOrderbooks\x12\x65\n\x16market_fee_multipliers\x18\x1f \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers\x12^\n\x13orderbook_sequences\x18 \x03(\x0b\x32-.injective.exchange.v1beta1.OrderbookSequenceR\x12orderbookSequences\x12j\n\x12subaccount_volumes\x18! \x03(\x0b\x32;.injective.exchange.v1beta1.AggregateSubaccountVolumeRecordR\x11subaccountVolumes\x12O\n\x0emarket_volumes\x18\" \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes\x12\x66\n\x14grant_authorizations\x18# \x03(\x0b\x32\x33.injective.exchange.v1beta1.FullGrantAuthorizationsR\x13grantAuthorizations\x12P\n\ractive_grants\x18$ \x03(\x0b\x32+.injective.exchange.v1beta1.FullActiveGrantR\x0c\x61\x63tiveGrants\"L\n\x11OrderbookSequence\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"\x80\x01\n\x19\x46\x65\x65\x44iscountAccountTierTTL\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12I\n\x08tier_ttl\x18\x02 \x01(\x0b\x32..injective.exchange.v1beta1.FeeDiscountTierTTLR\x07tierTtl\"\xa9\x01\n\x1f\x46\x65\x65\x44iscountBucketVolumeAccounts\x12\x34\n\x16\x62ucket_start_timestamp\x18\x01 \x01(\x03R\x14\x62ucketStartTimestamp\x12P\n\x0e\x61\x63\x63ount_volume\x18\x02 \x03(\x0b\x32).injective.exchange.v1beta1.AccountVolumeR\raccountVolume\"f\n\rAccountVolume\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12;\n\x06volume\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06volume\"{\n\"TradingRewardCampaignAccountPoints\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12;\n\x06points\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06points\"\xd1\x01\n)TradingRewardCampaignAccountPendingPoints\x12=\n\x1breward_pool_start_timestamp\x18\x01 \x01(\x03R\x18rewardPoolStartTimestamp\x12\x65\n\x0e\x61\x63\x63ount_points\x18\x02 \x03(\x0b\x32>.injective.exchange.v1beta1.TradingRewardCampaignAccountPointsR\raccountPoints\"\x98\x01\n\rSpotOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1c\n\tisBuySide\x18\x02 \x01(\x08R\tisBuySide\x12\x42\n\x06orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\x06orders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa4\x01\n\x13\x44\x65rivativeOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1c\n\tisBuySide\x18\x02 \x01(\x08R\tisBuySide\x12H\n\x06orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x06orders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc1\x03\n\x1e\x43onditionalDerivativeOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Z\n\x10limit_buy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x0elimitBuyOrders\x12]\n\x11market_buy_orders\x18\x03 \x03(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderR\x0fmarketBuyOrders\x12\\\n\x11limit_sell_orders\x18\x04 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x0flimitSellOrders\x12_\n\x12market_sell_orders\x18\x05 \x03(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderR\x10marketSellOrders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8f\x01\n\x07\x42\x61lance\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12?\n\x08\x64\x65posits\x18\x03 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x08\x64\x65posits:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa2\x01\n\x12\x44\x65rivativePosition\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12@\n\x08position\x18\x03 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionR\x08position:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xae\x01\n\x0fSubaccountNonce\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12l\n\x16subaccount_trade_nonce\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.SubaccountTradeNonceB\x04\xc8\xde\x1f\x00R\x14subaccountTradeNonce:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x91\x01\n\x1c\x45xpiryFuturesMarketInfoState\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12T\n\x0bmarket_info\x18\x02 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoR\nmarketInfo\"\x88\x01\n\x1bPerpetualMarketFundingState\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingR\x07\x66unding\"\x8b\x02\n\x17\x46ullGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12K\n\x12total_grant_amount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10totalGrantAmount\x12\x41\n\x1dlast_delegations_checked_time\x18\x03 \x01(\x03R\x1alastDelegationsCheckedTime\x12\x46\n\x06grants\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants\"w\n\x0f\x46ullActiveGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12J\n\x0c\x61\x63tive_grant\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.ActiveGrantR\x0b\x61\x63tiveGrantB\x88\x02\n\x1e\x63om.injective.exchange.v1beta1B\x0cGenesisProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\014GenesisProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['spot_orderbook']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['spot_orderbook']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['derivative_orderbook']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['derivative_orderbook']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['balances']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['positions']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['positions']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['subaccount_trade_nonces']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['subaccount_trade_nonces']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['expiry_futures_market_info_state']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['expiry_futures_market_info_state']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['perpetual_market_info']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['perpetual_market_info']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['perpetual_market_funding_state']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['perpetual_market_funding_state']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['derivative_market_settlement_scheduled']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['derivative_market_settlement_scheduled']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['denom_decimals']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['denom_decimals']._serialized_options = b'\310\336\037\000' - _globals['_ACCOUNTVOLUME'].fields_by_name['volume']._loaded_options = None - _globals['_ACCOUNTVOLUME'].fields_by_name['volume']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS'].fields_by_name['points']._loaded_options = None - _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS'].fields_by_name['points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTORDERBOOK']._loaded_options = None - _globals['_SPOTORDERBOOK']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_DERIVATIVEORDERBOOK']._loaded_options = None - _globals['_DERIVATIVEORDERBOOK']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_CONDITIONALDERIVATIVEORDERBOOK']._loaded_options = None - _globals['_CONDITIONALDERIVATIVEORDERBOOK']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_BALANCE']._loaded_options = None - _globals['_BALANCE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_DERIVATIVEPOSITION']._loaded_options = None - _globals['_DERIVATIVEPOSITION']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_SUBACCOUNTNONCE'].fields_by_name['subaccount_trade_nonce']._loaded_options = None - _globals['_SUBACCOUNTNONCE'].fields_by_name['subaccount_trade_nonce']._serialized_options = b'\310\336\037\000' - _globals['_SUBACCOUNTNONCE']._loaded_options = None - _globals['_SUBACCOUNTNONCE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_FULLGRANTAUTHORIZATIONS'].fields_by_name['total_grant_amount']._loaded_options = None - _globals['_FULLGRANTAUTHORIZATIONS'].fields_by_name['total_grant_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_GENESISSTATE']._serialized_start=175 - _globals['_GENESISSTATE']._serialized_end=3930 - _globals['_ORDERBOOKSEQUENCE']._serialized_start=3932 - _globals['_ORDERBOOKSEQUENCE']._serialized_end=4008 - _globals['_FEEDISCOUNTACCOUNTTIERTTL']._serialized_start=4011 - _globals['_FEEDISCOUNTACCOUNTTIERTTL']._serialized_end=4139 - _globals['_FEEDISCOUNTBUCKETVOLUMEACCOUNTS']._serialized_start=4142 - _globals['_FEEDISCOUNTBUCKETVOLUMEACCOUNTS']._serialized_end=4311 - _globals['_ACCOUNTVOLUME']._serialized_start=4313 - _globals['_ACCOUNTVOLUME']._serialized_end=4415 - _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS']._serialized_start=4417 - _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS']._serialized_end=4540 - _globals['_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS']._serialized_start=4543 - _globals['_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS']._serialized_end=4752 - _globals['_SPOTORDERBOOK']._serialized_start=4755 - _globals['_SPOTORDERBOOK']._serialized_end=4907 - _globals['_DERIVATIVEORDERBOOK']._serialized_start=4910 - _globals['_DERIVATIVEORDERBOOK']._serialized_end=5074 - _globals['_CONDITIONALDERIVATIVEORDERBOOK']._serialized_start=5077 - _globals['_CONDITIONALDERIVATIVEORDERBOOK']._serialized_end=5526 - _globals['_BALANCE']._serialized_start=5529 - _globals['_BALANCE']._serialized_end=5672 - _globals['_DERIVATIVEPOSITION']._serialized_start=5675 - _globals['_DERIVATIVEPOSITION']._serialized_end=5837 - _globals['_SUBACCOUNTNONCE']._serialized_start=5840 - _globals['_SUBACCOUNTNONCE']._serialized_end=6014 - _globals['_EXPIRYFUTURESMARKETINFOSTATE']._serialized_start=6017 - _globals['_EXPIRYFUTURESMARKETINFOSTATE']._serialized_end=6162 - _globals['_PERPETUALMARKETFUNDINGSTATE']._serialized_start=6165 - _globals['_PERPETUALMARKETFUNDINGSTATE']._serialized_end=6301 - _globals['_FULLGRANTAUTHORIZATIONS']._serialized_start=6304 - _globals['_FULLGRANTAUTHORIZATIONS']._serialized_end=6571 - _globals['_FULLACTIVEGRANT']._serialized_start=6573 - _globals['_FULLACTIVEGRANT']._serialized_end=6692 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py deleted file mode 100644 index 962502a2..00000000 --- a/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py +++ /dev/null @@ -1,221 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/exchange/v1beta1/proposal.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 -from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/exchange/v1beta1/proposal.proto\x12\x1ainjective.exchange.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a)injective/exchange/v1beta1/exchange.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\xd3\x06\n\x1dSpotMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12@\n\x06status\x18\t \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12\x1c\n\x06ticker\x18\n \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x0c \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&exchange/SpotMarketParamUpdateProposal\"\xcc\x01\n\x16\x45xchangeEnableProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12L\n\x0c\x65xchangeType\x18\x03 \x01(\x0e\x32(.injective.exchange.v1beta1.ExchangeTypeR\x0c\x65xchangeType:,\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x8a\xe7\xb0*\x1f\x65xchange/ExchangeEnableProposal\"\x96\r\n!BatchExchangeModificationProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x85\x01\n\"spot_market_param_update_proposals\x18\x03 \x03(\x0b\x32\x39.injective.exchange.v1beta1.SpotMarketParamUpdateProposalR\x1espotMarketParamUpdateProposals\x12\x97\x01\n(derivative_market_param_update_proposals\x18\x04 \x03(\x0b\x32?.injective.exchange.v1beta1.DerivativeMarketParamUpdateProposalR$derivativeMarketParamUpdateProposals\x12u\n\x1cspot_market_launch_proposals\x18\x05 \x03(\x0b\x32\x34.injective.exchange.v1beta1.SpotMarketLaunchProposalR\x19spotMarketLaunchProposals\x12\x84\x01\n!perpetual_market_launch_proposals\x18\x06 \x03(\x0b\x32\x39.injective.exchange.v1beta1.PerpetualMarketLaunchProposalR\x1eperpetualMarketLaunchProposals\x12\x91\x01\n&expiry_futures_market_launch_proposals\x18\x07 \x03(\x0b\x32=.injective.exchange.v1beta1.ExpiryFuturesMarketLaunchProposalR\"expiryFuturesMarketLaunchProposals\x12\x95\x01\n\'trading_reward_campaign_update_proposal\x18\x08 \x01(\x0b\x32?.injective.exchange.v1beta1.TradingRewardCampaignUpdateProposalR#tradingRewardCampaignUpdateProposal\x12\x91\x01\n&binary_options_market_launch_proposals\x18\t \x03(\x0b\x32=.injective.exchange.v1beta1.BinaryOptionsMarketLaunchProposalR\"binaryOptionsMarketLaunchProposals\x12\x94\x01\n%binary_options_param_update_proposals\x18\n \x03(\x0b\x32\x42.injective.exchange.v1beta1.BinaryOptionsMarketParamUpdateProposalR!binaryOptionsParamUpdateProposals\x12|\n\x1e\x64\x65nom_decimals_update_proposal\x18\x0b \x01(\x0b\x32\x37.injective.exchange.v1beta1.UpdateDenomDecimalsProposalR\x1b\x64\x65nomDecimalsUpdateProposal\x12\x63\n\x15\x66\x65\x65_discount_proposal\x18\x0c \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountProposalR\x13\x66\x65\x65\x44iscountProposal\x12\x87\x01\n\"market_forced_settlement_proposals\x18\r \x03(\x0b\x32:.injective.exchange.v1beta1.MarketForcedSettlementProposalR\x1fmarketForcedSettlementProposals:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/BatchExchangeModificationProposal\"\xca\x05\n\x18SpotMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x04 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x05 \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12I\n\x0emaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12\x46\n\x0cmin_notional\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x0b \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:L\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!exchange/SpotMarketLaunchProposal\"\xa6\x08\n\x1dPerpetualMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x05 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x06 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12U\n\x14initial_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x10 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&exchange/PerpetualMarketLaunchProposal\"\xe5\x07\n!BinaryOptionsMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x04 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x05 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\t \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\n \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\x0b \x01(\tR\nquoteDenom\x12I\n\x0emaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12+\n\x11\x61\x64min_permissions\x18\x11 \x01(\rR\x10\x61\x64minPermissions:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/BinaryOptionsMarketLaunchProposal\"\xc6\x08\n!ExpiryFuturesMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x05 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x06 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\t \x01(\x03R\x06\x65xpiry\x12U\n\x14initial_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x11 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/ExpiryFuturesMarketLaunchProposal\"\x92\n\n#DerivativeMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12U\n\x14initial_margin_ratio\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\t \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\n \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12S\n\x12HourlyInterestRate\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12HourlyInterestRate\x12W\n\x14HourlyFundingRateCap\x18\x0c \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14HourlyFundingRateCap\x12@\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12M\n\roracle_params\x18\x0e \x01(\x0b\x32(.injective.exchange.v1beta1.OracleParamsR\x0coracleParams\x12\x1c\n\x06ticker\x18\x0f \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x11 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/DerivativeMarketParamUpdateProposal\"N\n\tAdminInfo\x12\x14\n\x05\x61\x64min\x18\x01 \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\x02 \x01(\rR\x10\x61\x64minPermissions\"\x99\x02\n\x1eMarketForcedSettlementProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice:R\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\'exchange/MarketForcedSettlementProposal\"\xf8\x01\n\x1bUpdateDenomDecimalsProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12P\n\x0e\x64\x65nom_decimals\x18\x03 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsR\rdenomDecimals:O\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$exchange/UpdateDenomDecimalsProposal\"\xc2\x08\n&BinaryOptionsMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x31\n\x14\x65xpiration_timestamp\x18\t \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\n \x01(\x03R\x13settlementTimestamp\x12N\n\x10settlement_price\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x14\n\x05\x61\x64min\x18\x0c \x01(\tR\x05\x61\x64min\x12@\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12U\n\roracle_params\x18\x0e \x01(\x0b\x32\x30.injective.exchange.v1beta1.ProviderOracleParamsR\x0coracleParams\x12\x1c\n\x06ticker\x18\x0f \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:Z\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*/exchange/BinaryOptionsMarketParamUpdateProposal\"\xc1\x01\n\x14ProviderOracleParams\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12.\n\x13oracle_scale_factor\x18\x03 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xc9\x01\n\x0cOracleParams\x12\x1f\n\x0boracle_base\x18\x01 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x02 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x03 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xf6\x02\n#TradingRewardCampaignLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12Z\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12\x62\n\x15\x63\x61mpaign_reward_pools\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/TradingRewardCampaignLaunchProposal\"\xfc\x03\n#TradingRewardCampaignUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12Z\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12u\n\x1f\x63\x61mpaign_reward_pools_additions\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x1c\x63\x61mpaignRewardPoolsAdditions\x12q\n\x1d\x63\x61mpaign_reward_pools_updates\x18\x05 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x1a\x63\x61mpaignRewardPoolsUpdates:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/TradingRewardCampaignUpdateProposal\"\x80\x01\n\x11RewardPointUpdate\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x42\n\nnew_points\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tnewPoints\"\xd7\x02\n(TradingRewardPendingPointsUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x16pending_pool_timestamp\x18\x03 \x01(\x03R\x14pendingPoolTimestamp\x12_\n\x14reward_point_updates\x18\x04 \x03(\x0b\x32-.injective.exchange.v1beta1.RewardPointUpdateR\x12rewardPointUpdates:\\\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*1exchange/TradingRewardPendingPointsUpdateProposal\"\xe3\x01\n\x13\x46\x65\x65\x44iscountProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12K\n\x08schedule\x18\x03 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x08schedule:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1c\x65xchange/FeeDiscountProposal\"\x85\x02\n\x1f\x42\x61tchCommunityPoolSpendProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\tproposals\x18\x03 \x03(\x0b\x32\x37.cosmos.distribution.v1beta1.CommunityPoolSpendProposalR\tproposals:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(exchange/BatchCommunityPoolSpendProposal\"\xb3\x02\n.AtomicMarketOrderFeeMultiplierScheduleProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x65\n\x16market_fee_multipliers\x18\x03 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers:b\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*7exchange/AtomicMarketOrderFeeMultiplierScheduleProposal*x\n\x0c\x45xchangeType\x12\x32\n\x14\x45XCHANGE_UNSPECIFIED\x10\x00\x1a\x18\x8a\x9d \x14\x45XCHANGE_UNSPECIFIED\x12\x12\n\x04SPOT\x10\x01\x1a\x08\x8a\x9d \x04SPOT\x12 \n\x0b\x44\x45RIVATIVES\x10\x02\x1a\x0f\x8a\x9d \x0b\x44\x45RIVATIVESB\x89\x02\n\x1e\x63om.injective.exchange.v1beta1B\rProposalProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.proposal_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\rProposalProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' - _globals['_EXCHANGETYPE'].values_by_name["EXCHANGE_UNSPECIFIED"]._loaded_options = None - _globals['_EXCHANGETYPE'].values_by_name["EXCHANGE_UNSPECIFIED"]._serialized_options = b'\212\235 \024EXCHANGE_UNSPECIFIED' - _globals['_EXCHANGETYPE'].values_by_name["SPOT"]._loaded_options = None - _globals['_EXCHANGETYPE'].values_by_name["SPOT"]._serialized_options = b'\212\235 \004SPOT' - _globals['_EXCHANGETYPE'].values_by_name["DERIVATIVES"]._loaded_options = None - _globals['_EXCHANGETYPE'].values_by_name["DERIVATIVES"]._serialized_options = b'\212\235 \013DERIVATIVES' - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._loaded_options = None - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._loaded_options = None - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._serialized_options = b'\310\336\037\001' - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._loaded_options = None - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._loaded_options = None - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&exchange/SpotMarketParamUpdateProposal' - _globals['_EXCHANGEENABLEPROPOSAL']._loaded_options = None - _globals['_EXCHANGEENABLEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\212\347\260*\037exchange/ExchangeEnableProposal' - _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._loaded_options = None - _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/BatchExchangeModificationProposal' - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._loaded_options = None - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETLAUNCHPROPOSAL']._loaded_options = None - _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!exchange/SpotMarketLaunchProposal' - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['initial_margin_ratio']._loaded_options = None - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['maintenance_margin_ratio']._loaded_options = None - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._loaded_options = None - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._loaded_options = None - _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&exchange/PerpetualMarketLaunchProposal' - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._loaded_options = None - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._loaded_options = None - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/BinaryOptionsMarketLaunchProposal' - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['initial_margin_ratio']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['maintenance_margin_ratio']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/ExpiryFuturesMarketLaunchProposal' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['initial_margin_ratio']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maintenance_margin_ratio']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['HourlyInterestRate']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['HourlyInterestRate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['HourlyFundingRateCap']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['HourlyFundingRateCap']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._serialized_options = b'\310\336\037\001' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/DerivativeMarketParamUpdateProposal' - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL'].fields_by_name['settlement_price']._loaded_options = None - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._loaded_options = None - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\'exchange/MarketForcedSettlementProposal' - _globals['_UPDATEDENOMDECIMALSPROPOSAL']._loaded_options = None - _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$exchange/UpdateDenomDecimalsProposal' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['settlement_price']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._serialized_options = b'\310\336\037\001' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*/exchange/BinaryOptionsMarketParamUpdateProposal' - _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._loaded_options = None - _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/TradingRewardCampaignLaunchProposal' - _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._loaded_options = None - _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/TradingRewardCampaignUpdateProposal' - _globals['_REWARDPOINTUPDATE'].fields_by_name['new_points']._loaded_options = None - _globals['_REWARDPOINTUPDATE'].fields_by_name['new_points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._loaded_options = None - _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*1exchange/TradingRewardPendingPointsUpdateProposal' - _globals['_FEEDISCOUNTPROPOSAL']._loaded_options = None - _globals['_FEEDISCOUNTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034exchange/FeeDiscountProposal' - _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._loaded_options = None - _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(exchange/BatchCommunityPoolSpendProposal' - _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._loaded_options = None - _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*7exchange/AtomicMarketOrderFeeMultiplierScheduleProposal' - _globals['_EXCHANGETYPE']._serialized_start=12535 - _globals['_EXCHANGETYPE']._serialized_end=12655 - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_start=329 - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_end=1180 - _globals['_EXCHANGEENABLEPROPOSAL']._serialized_start=1183 - _globals['_EXCHANGEENABLEPROPOSAL']._serialized_end=1387 - _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_start=1390 - _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_end=3076 - _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_start=3079 - _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_end=3793 - _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_start=3796 - _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_end=4858 - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_start=4861 - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_end=5858 - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_start=5861 - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_end=6955 - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_start=6958 - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_end=8256 - _globals['_ADMININFO']._serialized_start=8258 - _globals['_ADMININFO']._serialized_end=8336 - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_start=8339 - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_end=8620 - _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_start=8623 - _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_end=8871 - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_start=8874 - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_end=9964 - _globals['_PROVIDERORACLEPARAMS']._serialized_start=9967 - _globals['_PROVIDERORACLEPARAMS']._serialized_end=10160 - _globals['_ORACLEPARAMS']._serialized_start=10163 - _globals['_ORACLEPARAMS']._serialized_end=10364 - _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_start=10367 - _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_end=10741 - _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_start=10744 - _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_end=11252 - _globals['_REWARDPOINTUPDATE']._serialized_start=11255 - _globals['_REWARDPOINTUPDATE']._serialized_end=11383 - _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_start=11386 - _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_end=11729 - _globals['_FEEDISCOUNTPROPOSAL']._serialized_start=11732 - _globals['_FEEDISCOUNTPROPOSAL']._serialized_end=11959 - _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_start=11962 - _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_end=12223 - _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_start=12226 - _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_end=12533 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py deleted file mode 100644 index 30a1f5d7..00000000 --- a/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py +++ /dev/null @@ -1,548 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/exchange/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 -from pyinjective.proto.injective.exchange.v1beta1 import genesis_pb2 as injective_dot_exchange_dot_v1beta1_dot_genesis__pb2 -from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&injective/exchange/v1beta1/query.proto\x12\x1ainjective.exchange.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a)injective/exchange/v1beta1/exchange.proto\x1a(injective/exchange/v1beta1/genesis.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x14gogoproto/gogo.proto\"O\n\nSubaccount\x12\x16\n\x06trader\x18\x01 \x01(\tR\x06trader\x12)\n\x10subaccount_nonce\x18\x02 \x01(\rR\x0fsubaccountNonce\"`\n\x1cQuerySubaccountOrdersRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"\xc1\x01\n\x1dQuerySubaccountOrdersResponse\x12N\n\nbuy_orders\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.SubaccountOrderDataR\tbuyOrders\x12P\n\x0bsell_orders\x18\x02 \x03(\x0b\x32/.injective.exchange.v1beta1.SubaccountOrderDataR\nsellOrders\"\xaf\x01\n%SubaccountOrderbookMetadataWithMarket\x12S\n\x08metadata\x18\x01 \x01(\x0b\x32\x37.injective.exchange.v1beta1.SubaccountOrderbookMetadataR\x08metadata\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x14\n\x05isBuy\x18\x03 \x01(\x08R\x05isBuy\"\x1c\n\x1aQueryExchangeParamsRequest\"_\n\x1bQueryExchangeParamsResponse\x12@\n\x06params\x18\x01 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x93\x01\n\x1eQuerySubaccountDepositsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12L\n\nsubaccount\x18\x02 \x01(\x0b\x32&.injective.exchange.v1beta1.SubaccountB\x04\xc8\xde\x1f\x01R\nsubaccount\"\xea\x01\n\x1fQuerySubaccountDepositsResponse\x12\x65\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32I.injective.exchange.v1beta1.QuerySubaccountDepositsResponse.DepositsEntryR\x08\x64\x65posits\x1a`\n\rDepositsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x05value:\x02\x38\x01\"\x1e\n\x1cQueryExchangeBalancesRequest\"f\n\x1dQueryExchangeBalancesResponse\x12\x45\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32#.injective.exchange.v1beta1.BalanceB\x04\xc8\xde\x1f\x00R\x08\x62\x61lances\"7\n\x1bQueryAggregateVolumeRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"u\n\x1cQueryAggregateVolumeResponse\x12U\n\x11\x61ggregate_volumes\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x10\x61ggregateVolumes\"Y\n\x1cQueryAggregateVolumesRequest\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"\xf9\x01\n\x1dQueryAggregateVolumesResponse\x12t\n\x19\x61ggregate_account_volumes\x18\x01 \x03(\x0b\x32\x38.injective.exchange.v1beta1.AggregateAccountVolumeRecordR\x17\x61ggregateAccountVolumes\x12\x62\n\x18\x61ggregate_market_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x16\x61ggregateMarketVolumes\"@\n!QueryAggregateMarketVolumeRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"l\n\"QueryAggregateMarketVolumeResponse\x12\x46\n\x06volume\x18\x01 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00R\x06volume\"0\n\x18QueryDenomDecimalRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"5\n\x19QueryDenomDecimalResponse\x12\x18\n\x07\x64\x65\x63imal\x18\x01 \x01(\x04R\x07\x64\x65\x63imal\"3\n\x19QueryDenomDecimalsRequest\x12\x16\n\x06\x64\x65noms\x18\x01 \x03(\tR\x06\x64\x65noms\"t\n\x1aQueryDenomDecimalsResponse\x12V\n\x0e\x64\x65nom_decimals\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsB\x04\xc8\xde\x1f\x00R\rdenomDecimals\"C\n\"QueryAggregateMarketVolumesRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"i\n#QueryAggregateMarketVolumesResponse\x12\x42\n\x07volumes\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x07volumes\"Z\n\x1dQuerySubaccountDepositRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\"a\n\x1eQuerySubaccountDepositResponse\x12?\n\x08\x64\x65posits\x18\x01 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x08\x64\x65posits\"P\n\x17QuerySpotMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"\\\n\x18QuerySpotMarketsResponse\x12@\n\x07markets\x18\x01 \x03(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x07markets\"5\n\x16QuerySpotMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"Y\n\x17QuerySpotMarketResponse\x12>\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x06market\"\xd6\x02\n\x19QuerySpotOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12\x44\n\norder_side\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderSideR\torderSide\x12_\n\x19limit_cumulative_notional\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeNotional\x12_\n\x19limit_cumulative_quantity\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeQuantity\"\xb8\x01\n\x1aQuerySpotOrderbookResponse\x12K\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0e\x62uysPriceLevel\x12M\n\x11sells_price_level\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0fsellsPriceLevel\"\xad\x01\n\x0e\x46ullSpotMarket\x12>\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x06market\x12[\n\x11mid_price_and_tob\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.MidPriceAndTOBB\x04\xc8\xde\x1f\x01R\x0emidPriceAndTob\"\x88\x01\n\x1bQueryFullSpotMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\x12\x32\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08R\x12withMidPriceAndTob\"d\n\x1cQueryFullSpotMarketsResponse\x12\x44\n\x07markets\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.FullSpotMarketR\x07markets\"m\n\x1aQueryFullSpotMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x32\n\x16with_mid_price_and_tob\x18\x02 \x01(\x08R\x12withMidPriceAndTob\"a\n\x1bQueryFullSpotMarketResponse\x12\x42\n\x06market\x18\x01 \x01(\x0b\x32*.injective.exchange.v1beta1.FullSpotMarketR\x06market\"\x85\x01\n\x1eQuerySpotOrdersByHashesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12!\n\x0corder_hashes\x18\x03 \x03(\tR\x0borderHashes\"l\n\x1fQuerySpotOrdersByHashesResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders\"`\n\x1cQueryTraderSpotOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"l\n$QueryAccountAddressSpotOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\x9b\x02\n\x15TrimmedSpotLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12?\n\x08\x66illable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12\x14\n\x05isBuy\x18\x04 \x01(\x08R\x05isBuy\x12\x1d\n\norder_hash\x18\x05 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id\"j\n\x1dQueryTraderSpotOrdersResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders\"r\n%QueryAccountAddressSpotOrdersResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders\"=\n\x1eQuerySpotMidPriceAndTOBRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\xfb\x01\n\x1fQuerySpotMidPriceAndTOBResponse\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"C\n$QueryDerivativeMidPriceAndTOBRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\x81\x02\n%QueryDerivativeMidPriceAndTOBResponse\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"\xb5\x01\n\x1fQueryDerivativeOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12_\n\x19limit_cumulative_notional\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeNotional\"\xbe\x01\n QueryDerivativeOrderbookResponse\x12K\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0e\x62uysPriceLevel\x12M\n\x11sells_price_level\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0fsellsPriceLevel\"\x9c\x03\n.QueryTraderSpotOrdersToCancelUpToAmountRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x44\n\x0b\x62\x61se_amount\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nbaseAmount\x12\x46\n\x0cquote_amount\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bquoteAmount\x12L\n\x08strategy\x18\x05 \x01(\x0e\x32\x30.injective.exchange.v1beta1.CancellationStrategyR\x08strategy\x12L\n\x0freference_price\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ereferencePrice\"\xdc\x02\n4QueryTraderDerivativeOrdersToCancelUpToAmountRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x46\n\x0cquote_amount\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bquoteAmount\x12L\n\x08strategy\x18\x04 \x01(\x0e\x32\x30.injective.exchange.v1beta1.CancellationStrategyR\x08strategy\x12L\n\x0freference_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ereferencePrice\"f\n\"QueryTraderDerivativeOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"r\n*QueryAccountAddressDerivativeOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\xe9\x02\n\x1bTrimmedDerivativeLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12?\n\x08\x66illable\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12\x1f\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuyR\x05isBuy\x12\x1d\n\norder_hash\x18\x06 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\"v\n#QueryTraderDerivativeOrdersResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders\"~\n+QueryAccountAddressDerivativeOrdersResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders\"\x8b\x01\n$QueryDerivativeOrdersByHashesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12!\n\x0corder_hashes\x18\x03 \x03(\tR\x0borderHashes\"x\n%QueryDerivativeOrdersByHashesResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders\"\x8a\x01\n\x1dQueryDerivativeMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\x12\x32\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08R\x12withMidPriceAndTob\"\x88\x01\n\nPriceLevel\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\"\xbf\x01\n\x14PerpetualMarketState\x12P\n\x0bmarket_info\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoR\nmarketInfo\x12U\n\x0c\x66unding_info\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingR\x0b\x66undingInfo\"\xba\x03\n\x14\x46ullDerivativeMarket\x12\x44\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketR\x06market\x12Y\n\x0eperpetual_info\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.PerpetualMarketStateH\x00R\rperpetualInfo\x12X\n\x0c\x66utures_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoH\x00R\x0b\x66uturesInfo\x12\x42\n\nmark_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\x12[\n\x11mid_price_and_tob\x18\x05 \x01(\x0b\x32*.injective.exchange.v1beta1.MidPriceAndTOBB\x04\xc8\xde\x1f\x01R\x0emidPriceAndTobB\x06\n\x04info\"l\n\x1eQueryDerivativeMarketsResponse\x12J\n\x07markets\x18\x01 \x03(\x0b\x32\x30.injective.exchange.v1beta1.FullDerivativeMarketR\x07markets\";\n\x1cQueryDerivativeMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"i\n\x1dQueryDerivativeMarketResponse\x12H\n\x06market\x18\x01 \x01(\x0b\x32\x30.injective.exchange.v1beta1.FullDerivativeMarketR\x06market\"B\n#QueryDerivativeMarketAddressRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"e\n$QueryDerivativeMarketAddressResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"G\n QuerySubaccountTradeNonceRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"F\n\x1fQuerySubaccountPositionsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"j\n&QuerySubaccountPositionInMarketRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"s\n/QuerySubaccountEffectivePositionInMarketRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"J\n#QuerySubaccountOrderMetadataRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"n\n QuerySubaccountPositionsResponse\x12J\n\x05state\x18\x01 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\x05state\"k\n\'QuerySubaccountPositionInMarketResponse\x12@\n\x05state\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionB\x04\xc8\xde\x1f\x01R\x05state\"\x83\x02\n\x11\x45\x66\x66\x65\x63tivePosition\x12\x17\n\x07is_long\x18\x01 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12N\n\x10\x65\x66\x66\x65\x63tive_margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65\x66\x66\x65\x63tiveMargin\"}\n0QuerySubaccountEffectivePositionInMarketResponse\x12I\n\x05state\x18\x01 \x01(\x0b\x32-.injective.exchange.v1beta1.EffectivePositionB\x04\xc8\xde\x1f\x01R\x05state\">\n\x1fQueryPerpetualMarketInfoRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"m\n QueryPerpetualMarketInfoResponse\x12I\n\x04info\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00R\x04info\"B\n#QueryExpiryFuturesMarketInfoRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"u\n$QueryExpiryFuturesMarketInfoResponse\x12M\n\x04info\x18\x01 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x00R\x04info\"A\n\"QueryPerpetualMarketFundingRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"u\n#QueryPerpetualMarketFundingResponse\x12N\n\x05state\x18\x01 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x05state\"\x8b\x01\n$QuerySubaccountOrderMetadataResponse\x12\x63\n\x08metadata\x18\x01 \x03(\x0b\x32\x41.injective.exchange.v1beta1.SubaccountOrderbookMetadataWithMarketB\x04\xc8\xde\x1f\x00R\x08metadata\"9\n!QuerySubaccountTradeNonceResponse\x12\x14\n\x05nonce\x18\x01 \x01(\rR\x05nonce\"\x19\n\x17QueryModuleStateRequest\"Z\n\x18QueryModuleStateResponse\x12>\n\x05state\x18\x01 \x01(\x0b\x32(.injective.exchange.v1beta1.GenesisStateR\x05state\"\x17\n\x15QueryPositionsRequest\"d\n\x16QueryPositionsResponse\x12J\n\x05state\x18\x01 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\x05state\"q\n\x1dQueryTradeRewardPointsRequest\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\x12\x34\n\x16pending_pool_timestamp\x18\x02 \x01(\x03R\x14pendingPoolTimestamp\"\x84\x01\n\x1eQueryTradeRewardPointsResponse\x12\x62\n\x1b\x61\x63\x63ount_trade_reward_points\x18\x01 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x18\x61\x63\x63ountTradeRewardPoints\"!\n\x1fQueryTradeRewardCampaignRequest\"\xfe\x04\n QueryTradeRewardCampaignResponse\x12v\n\x1ctrading_reward_campaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x19tradingRewardCampaignInfo\x12\x80\x01\n%trading_reward_pool_campaign_schedule\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR!tradingRewardPoolCampaignSchedule\x12^\n\x19total_trade_reward_points\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16totalTradeRewardPoints\x12\x8f\x01\n-pending_trading_reward_pool_campaign_schedule\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR(pendingTradingRewardPoolCampaignSchedule\x12m\n!pending_total_trade_reward_points\x18\x05 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1dpendingTotalTradeRewardPoints\";\n\x1fQueryIsOptedOutOfRewardsRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"D\n QueryIsOptedOutOfRewardsResponse\x12 \n\x0cis_opted_out\x18\x01 \x01(\x08R\nisOptedOut\"\'\n%QueryOptedOutOfRewardsAccountsRequest\"D\n&QueryOptedOutOfRewardsAccountsResponse\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\">\n\"QueryFeeDiscountAccountInfoRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"\xe9\x01\n#QueryFeeDiscountAccountInfoResponse\x12\x1d\n\ntier_level\x18\x01 \x01(\x04R\ttierLevel\x12R\n\x0c\x61\x63\x63ount_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfoR\x0b\x61\x63\x63ountInfo\x12O\n\x0b\x61\x63\x63ount_ttl\x18\x03 \x01(\x0b\x32..injective.exchange.v1beta1.FeeDiscountTierTTLR\naccountTtl\"!\n\x1fQueryFeeDiscountScheduleRequest\"\x87\x01\n QueryFeeDiscountScheduleResponse\x12\x63\n\x15\x66\x65\x65_discount_schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x13\x66\x65\x65\x44iscountSchedule\"@\n\x1dQueryBalanceMismatchesRequest\x12\x1f\n\x0b\x64ust_factor\x18\x01 \x01(\x03R\ndustFactor\"\xa2\x03\n\x0f\x42\x61lanceMismatch\x12\"\n\x0csubaccountId\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x41\n\tavailable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tavailable\x12\x39\n\x05total\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05total\x12\x46\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\x12J\n\x0e\x65xpected_total\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rexpectedTotal\x12\x43\n\ndifference\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\ndifference\"|\n\x1eQueryBalanceMismatchesResponse\x12Z\n\x12\x62\x61lance_mismatches\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.BalanceMismatchR\x11\x62\x61lanceMismatches\"%\n#QueryBalanceWithBalanceHoldsRequest\"\x97\x02\n\x15\x42\x61lanceWithMarginHold\x12\"\n\x0csubaccountId\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x41\n\tavailable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tavailable\x12\x39\n\x05total\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05total\x12\x46\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\"\x96\x01\n$QueryBalanceWithBalanceHoldsResponse\x12n\n\x1a\x62\x61lance_with_balance_holds\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.BalanceWithMarginHoldR\x17\x62\x61lanceWithBalanceHolds\"\'\n%QueryFeeDiscountTierStatisticsRequest\"9\n\rTierStatistic\x12\x12\n\x04tier\x18\x01 \x01(\x04R\x04tier\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\"s\n&QueryFeeDiscountTierStatisticsResponse\x12I\n\nstatistics\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.TierStatisticR\nstatistics\"\x17\n\x15MitoVaultInfosRequest\"\xc4\x01\n\x16MitoVaultInfosResponse\x12)\n\x10master_addresses\x18\x01 \x03(\tR\x0fmasterAddresses\x12\x31\n\x14\x64\x65rivative_addresses\x18\x02 \x03(\tR\x13\x64\x65rivativeAddresses\x12%\n\x0espot_addresses\x18\x03 \x03(\tR\rspotAddresses\x12%\n\x0e\x63w20_addresses\x18\x04 \x03(\tR\rcw20Addresses\"D\n\x1dQueryMarketIDFromVaultRequest\x12#\n\rvault_address\x18\x01 \x01(\tR\x0cvaultAddress\"=\n\x1eQueryMarketIDFromVaultResponse\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"A\n\"QueryHistoricalTradeRecordsRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"t\n#QueryHistoricalTradeRecordsResponse\x12M\n\rtrade_records\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.TradeRecordsR\x0ctradeRecords\"\xb7\x01\n\x13TradeHistoryOptions\x12,\n\x12trade_grouping_sec\x18\x01 \x01(\x04R\x10tradeGroupingSec\x12\x17\n\x07max_age\x18\x02 \x01(\x04R\x06maxAge\x12.\n\x13include_raw_history\x18\x04 \x01(\x08R\x11includeRawHistory\x12)\n\x10include_metadata\x18\x05 \x01(\x08R\x0fincludeMetadata\"\xa0\x01\n\x1cQueryMarketVolatilityRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x63\n\x15trade_history_options\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.TradeHistoryOptionsR\x13tradeHistoryOptions\"\x83\x02\n\x1dQueryMarketVolatilityResponse\x12?\n\nvolatility\x18\x01 \x01(\tB\x1f\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nvolatility\x12W\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatisticsR\x0fhistoryMetadata\x12H\n\x0braw_history\x18\x03 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecordR\nrawHistory\"3\n\x19QueryBinaryMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\"g\n\x1aQueryBinaryMarketsResponse\x12I\n\x07markets\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketR\x07markets\"q\n-QueryTraderDerivativeConditionalOrdersRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"\x9e\x03\n!TrimmedDerivativeConditionalOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12G\n\x0ctriggerPrice\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1f\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuyR\x05isBuy\x12%\n\x07isLimit\x18\x06 \x01(\x08\x42\x0b\xea\xde\x1f\x07isLimitR\x07isLimit\x12\x1d\n\norder_hash\x18\x07 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x08 \x01(\tR\x03\x63id\"\x87\x01\n.QueryTraderDerivativeConditionalOrdersResponse\x12U\n\x06orders\x18\x01 \x03(\x0b\x32=.injective.exchange.v1beta1.TrimmedDerivativeConditionalOrderR\x06orders\"M\n.QueryMarketAtomicExecutionFeeMultiplierRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"v\n/QueryMarketAtomicExecutionFeeMultiplierResponse\x12\x43\n\nmultiplier\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nmultiplier\"8\n\x1cQueryActiveStakeGrantRequest\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\"\xb3\x01\n\x1dQueryActiveStakeGrantResponse\x12=\n\x05grant\x18\x01 \x01(\x0b\x32\'.injective.exchange.v1beta1.ActiveGrantR\x05grant\x12S\n\x0f\x65\x66\x66\x65\x63tive_grant\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.EffectiveGrantR\x0e\x65\x66\x66\x65\x63tiveGrant\"T\n\x1eQueryGrantAuthorizationRequest\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x18\n\x07grantee\x18\x02 \x01(\tR\x07grantee\"X\n\x1fQueryGrantAuthorizationResponse\x12\x35\n\x06\x61mount\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\";\n\x1fQueryGrantAuthorizationsRequest\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\"\xb7\x01\n QueryGrantAuthorizationsResponse\x12K\n\x12total_grant_amount\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10totalGrantAmount\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants*4\n\tOrderSide\x12\x14\n\x10Side_Unspecified\x10\x00\x12\x07\n\x03\x42uy\x10\x01\x12\x08\n\x04Sell\x10\x02*V\n\x14\x43\x61ncellationStrategy\x12\x14\n\x10UnspecifiedOrder\x10\x00\x12\x13\n\x0f\x46romWorstToBest\x10\x01\x12\x13\n\x0f\x46romBestToWorst\x10\x02\x32\xcd\x65\n\x05Query\x12\xba\x01\n\x13QueryExchangeParams\x12\x36.injective.exchange.v1beta1.QueryExchangeParamsRequest\x1a\x37.injective.exchange.v1beta1.QueryExchangeParamsResponse\"2\x82\xd3\xe4\x93\x02,\x12*/injective/exchange/v1beta1/exchangeParams\x12\xce\x01\n\x12SubaccountDeposits\x12:.injective.exchange.v1beta1.QuerySubaccountDepositsRequest\x1a;.injective.exchange.v1beta1.QuerySubaccountDepositsResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/exchange/subaccountDeposits\x12\xca\x01\n\x11SubaccountDeposit\x12\x39.injective.exchange.v1beta1.QuerySubaccountDepositRequest\x1a:.injective.exchange.v1beta1.QuerySubaccountDepositResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v1beta1/exchange/subaccountDeposit\x12\xc6\x01\n\x10\x45xchangeBalances\x12\x38.injective.exchange.v1beta1.QueryExchangeBalancesRequest\x1a\x39.injective.exchange.v1beta1.QueryExchangeBalancesResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/exchange/exchangeBalances\x12\xcc\x01\n\x0f\x41ggregateVolume\x12\x37.injective.exchange.v1beta1.QueryAggregateVolumeRequest\x1a\x38.injective.exchange.v1beta1.QueryAggregateVolumeResponse\"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/exchange/aggregateVolume/{account}\x12\xc6\x01\n\x10\x41ggregateVolumes\x12\x38.injective.exchange.v1beta1.QueryAggregateVolumesRequest\x1a\x39.injective.exchange.v1beta1.QueryAggregateVolumesResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/exchange/aggregateVolumes\x12\xe6\x01\n\x15\x41ggregateMarketVolume\x12=.injective.exchange.v1beta1.QueryAggregateMarketVolumeRequest\x1a>.injective.exchange.v1beta1.QueryAggregateMarketVolumeResponse\"N\x82\xd3\xe4\x93\x02H\x12\x46/injective/exchange/v1beta1/exchange/aggregateMarketVolume/{market_id}\x12\xde\x01\n\x16\x41ggregateMarketVolumes\x12>.injective.exchange.v1beta1.QueryAggregateMarketVolumesRequest\x1a?.injective.exchange.v1beta1.QueryAggregateMarketVolumesResponse\"C\x82\xd3\xe4\x93\x02=\x12;/injective/exchange/v1beta1/exchange/aggregateMarketVolumes\x12\xbf\x01\n\x0c\x44\x65nomDecimal\x12\x34.injective.exchange.v1beta1.QueryDenomDecimalRequest\x1a\x35.injective.exchange.v1beta1.QueryDenomDecimalResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/exchange/denom_decimal/{denom}\x12\xbb\x01\n\rDenomDecimals\x12\x35.injective.exchange.v1beta1.QueryDenomDecimalsRequest\x1a\x36.injective.exchange.v1beta1.QueryDenomDecimalsResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/exchange/v1beta1/exchange/denom_decimals\x12\xaa\x01\n\x0bSpotMarkets\x12\x33.injective.exchange.v1beta1.QuerySpotMarketsRequest\x1a\x34.injective.exchange.v1beta1.QuerySpotMarketsResponse\"0\x82\xd3\xe4\x93\x02*\x12(/injective/exchange/v1beta1/spot/markets\x12\xb3\x01\n\nSpotMarket\x12\x32.injective.exchange.v1beta1.QuerySpotMarketRequest\x1a\x33.injective.exchange.v1beta1.QuerySpotMarketResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/spot/markets/{market_id}\x12\xbb\x01\n\x0f\x46ullSpotMarkets\x12\x37.injective.exchange.v1beta1.QueryFullSpotMarketsRequest\x1a\x38.injective.exchange.v1beta1.QueryFullSpotMarketsResponse\"5\x82\xd3\xe4\x93\x02/\x12-/injective/exchange/v1beta1/spot/full_markets\x12\xc3\x01\n\x0e\x46ullSpotMarket\x12\x36.injective.exchange.v1beta1.QueryFullSpotMarketRequest\x1a\x37.injective.exchange.v1beta1.QueryFullSpotMarketResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/spot/full_market/{market_id}\x12\xbe\x01\n\rSpotOrderbook\x12\x35.injective.exchange.v1beta1.QuerySpotOrderbookRequest\x1a\x36.injective.exchange.v1beta1.QuerySpotOrderbookResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v1beta1/spot/orderbook/{market_id}\x12\xd4\x01\n\x10TraderSpotOrders\x12\x38.injective.exchange.v1beta1.QueryTraderSpotOrdersRequest\x1a\x39.injective.exchange.v1beta1.QueryTraderSpotOrdersResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/injective/exchange/v1beta1/spot/orders/{market_id}/{subaccount_id}\x12\xf6\x01\n\x18\x41\x63\x63ountAddressSpotOrders\x12@.injective.exchange.v1beta1.QueryAccountAddressSpotOrdersRequest\x1a\x41.injective.exchange.v1beta1.QueryAccountAddressSpotOrdersResponse\"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/orders/{market_id}/account/{account_address}\x12\xe4\x01\n\x12SpotOrdersByHashes\x12:.injective.exchange.v1beta1.QuerySpotOrdersByHashesRequest\x1a;.injective.exchange.v1beta1.QuerySpotOrdersByHashesResponse\"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/orders_by_hashes/{market_id}/{subaccount_id}\x12\xc3\x01\n\x10SubaccountOrders\x12\x38.injective.exchange.v1beta1.QuerySubaccountOrdersRequest\x1a\x39.injective.exchange.v1beta1.QuerySubaccountOrdersResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/exchange/v1beta1/orders/{subaccount_id}\x12\xe7\x01\n\x19TraderSpotTransientOrders\x12\x38.injective.exchange.v1beta1.QueryTraderSpotOrdersRequest\x1a\x39.injective.exchange.v1beta1.QueryTraderSpotOrdersResponse\"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/transient_orders/{market_id}/{subaccount_id}\x12\xd5\x01\n\x12SpotMidPriceAndTOB\x12:.injective.exchange.v1beta1.QuerySpotMidPriceAndTOBRequest\x1a;.injective.exchange.v1beta1.QuerySpotMidPriceAndTOBResponse\"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/spot/mid_price_and_tob/{market_id}\x12\xed\x01\n\x18\x44\x65rivativeMidPriceAndTOB\x12@.injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBRequest\x1a\x41.injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBResponse\"L\x82\xd3\xe4\x93\x02\x46\x12\x44/injective/exchange/v1beta1/derivative/mid_price_and_tob/{market_id}\x12\xd6\x01\n\x13\x44\x65rivativeOrderbook\x12;.injective.exchange.v1beta1.QueryDerivativeOrderbookRequest\x1a<.injective.exchange.v1beta1.QueryDerivativeOrderbookResponse\"D\x82\xd3\xe4\x93\x02>\x12.injective.exchange.v1beta1.QueryTraderDerivativeOrdersRequest\x1a?.injective.exchange.v1beta1.QueryTraderDerivativeOrdersResponse\"Q\x82\xd3\xe4\x93\x02K\x12I/injective/exchange/v1beta1/derivative/orders/{market_id}/{subaccount_id}\x12\x8e\x02\n\x1e\x41\x63\x63ountAddressDerivativeOrders\x12\x46.injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersRequest\x1aG.injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersResponse\"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/orders/{market_id}/account/{account_address}\x12\xfc\x01\n\x18\x44\x65rivativeOrdersByHashes\x12@.injective.exchange.v1beta1.QueryDerivativeOrdersByHashesRequest\x1a\x41.injective.exchange.v1beta1.QueryDerivativeOrdersByHashesResponse\"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/orders_by_hashes/{market_id}/{subaccount_id}\x12\xff\x01\n\x1fTraderDerivativeTransientOrders\x12>.injective.exchange.v1beta1.QueryTraderDerivativeOrdersRequest\x1a?.injective.exchange.v1beta1.QueryTraderDerivativeOrdersResponse\"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/transient_orders/{market_id}/{subaccount_id}\x12\xc2\x01\n\x11\x44\x65rivativeMarkets\x12\x39.injective.exchange.v1beta1.QueryDerivativeMarketsRequest\x1a:.injective.exchange.v1beta1.QueryDerivativeMarketsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./injective/exchange/v1beta1/derivative/markets\x12\xcb\x01\n\x10\x44\x65rivativeMarket\x12\x38.injective.exchange.v1beta1.QueryDerivativeMarketRequest\x1a\x39.injective.exchange.v1beta1.QueryDerivativeMarketResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/derivative/markets/{market_id}\x12\xe7\x01\n\x17\x44\x65rivativeMarketAddress\x12?.injective.exchange.v1beta1.QueryDerivativeMarketAddressRequest\x1a@.injective.exchange.v1beta1.QueryDerivativeMarketAddressResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/injective/exchange/v1beta1/derivative/market_address/{market_id}\x12\xd1\x01\n\x14SubaccountTradeNonce\x12<.injective.exchange.v1beta1.QuerySubaccountTradeNonceRequest\x1a=.injective.exchange.v1beta1.QuerySubaccountTradeNonceResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/exchange/{subaccount_id}\x12\xb2\x01\n\x13\x45xchangeModuleState\x12\x33.injective.exchange.v1beta1.QueryModuleStateRequest\x1a\x34.injective.exchange.v1beta1.QueryModuleStateResponse\"0\x82\xd3\xe4\x93\x02*\x12(/injective/exchange/v1beta1/module_state\x12\xa1\x01\n\tPositions\x12\x31.injective.exchange.v1beta1.QueryPositionsRequest\x1a\x32.injective.exchange.v1beta1.QueryPositionsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/injective/exchange/v1beta1/positions\x12\xcf\x01\n\x13SubaccountPositions\x12;.injective.exchange.v1beta1.QuerySubaccountPositionsRequest\x1a<.injective.exchange.v1beta1.QuerySubaccountPositionsResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/positions/{subaccount_id}\x12\xf0\x01\n\x1aSubaccountPositionInMarket\x12\x42.injective.exchange.v1beta1.QuerySubaccountPositionInMarketRequest\x1a\x43.injective.exchange.v1beta1.QuerySubaccountPositionInMarketResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/injective/exchange/v1beta1/positions/{subaccount_id}/{market_id}\x12\x95\x02\n#SubaccountEffectivePositionInMarket\x12K.injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketRequest\x1aL.injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketResponse\"S\x82\xd3\xe4\x93\x02M\x12K/injective/exchange/v1beta1/effective_positions/{subaccount_id}/{market_id}\x12\xd7\x01\n\x13PerpetualMarketInfo\x12;.injective.exchange.v1beta1.QueryPerpetualMarketInfoRequest\x1a<.injective.exchange.v1beta1.QueryPerpetualMarketInfoResponse\"E\x82\xd3\xe4\x93\x02?\x12=/injective/exchange/v1beta1/perpetual_market_info/{market_id}\x12\xe0\x01\n\x17\x45xpiryFuturesMarketInfo\x12?.injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoRequest\x1a@.injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/expiry_market_info/{market_id}\x12\xe3\x01\n\x16PerpetualMarketFunding\x12>.injective.exchange.v1beta1.QueryPerpetualMarketFundingRequest\x1a?.injective.exchange.v1beta1.QueryPerpetualMarketFundingResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/injective/exchange/v1beta1/perpetual_market_funding/{market_id}\x12\xe0\x01\n\x17SubaccountOrderMetadata\x12?.injective.exchange.v1beta1.QuerySubaccountOrderMetadataRequest\x1a@.injective.exchange.v1beta1.QuerySubaccountOrderMetadataResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/order_metadata/{subaccount_id}\x12\xc3\x01\n\x11TradeRewardPoints\x12\x39.injective.exchange.v1beta1.QueryTradeRewardPointsRequest\x1a:.injective.exchange.v1beta1.QueryTradeRewardPointsResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/exchange/v1beta1/trade_reward_points\x12\xd2\x01\n\x18PendingTradeRewardPoints\x12\x39.injective.exchange.v1beta1.QueryTradeRewardPointsRequest\x1a:.injective.exchange.v1beta1.QueryTradeRewardPointsResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/pending_trade_reward_points\x12\xcb\x01\n\x13TradeRewardCampaign\x12;.injective.exchange.v1beta1.QueryTradeRewardCampaignRequest\x1a<.injective.exchange.v1beta1.QueryTradeRewardCampaignResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v1beta1/trade_reward_campaign\x12\xe2\x01\n\x16\x46\x65\x65\x44iscountAccountInfo\x12>.injective.exchange.v1beta1.QueryFeeDiscountAccountInfoRequest\x1a?.injective.exchange.v1beta1.QueryFeeDiscountAccountInfoResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/injective/exchange/v1beta1/fee_discount_account_info/{account}\x12\xcb\x01\n\x13\x46\x65\x65\x44iscountSchedule\x12;.injective.exchange.v1beta1.QueryFeeDiscountScheduleRequest\x1a<.injective.exchange.v1beta1.QueryFeeDiscountScheduleResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v1beta1/fee_discount_schedule\x12\xd0\x01\n\x11\x42\x61lanceMismatches\x12\x39.injective.exchange.v1beta1.QueryBalanceMismatchesRequest\x1a:.injective.exchange.v1beta1.QueryBalanceMismatchesResponse\"D\x82\xd3\xe4\x93\x02>\x12.injective.exchange.v1beta1.QueryHistoricalTradeRecordsRequest\x1a?.injective.exchange.v1beta1.QueryHistoricalTradeRecordsResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/historical_trade_records\x12\xd7\x01\n\x13IsOptedOutOfRewards\x12;.injective.exchange.v1beta1.QueryIsOptedOutOfRewardsRequest\x1a<.injective.exchange.v1beta1.QueryIsOptedOutOfRewardsResponse\"E\x82\xd3\xe4\x93\x02?\x12=/injective/exchange/v1beta1/is_opted_out_of_rewards/{account}\x12\xe5\x01\n\x19OptedOutOfRewardsAccounts\x12\x41.injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsRequest\x1a\x42.injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v1beta1/opted_out_of_rewards_accounts\x12\xca\x01\n\x10MarketVolatility\x12\x38.injective.exchange.v1beta1.QueryMarketVolatilityRequest\x1a\x39.injective.exchange.v1beta1.QueryMarketVolatilityResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v1beta1/market_volatility/{market_id}\x12\xc1\x01\n\x14\x42inaryOptionsMarkets\x12\x35.injective.exchange.v1beta1.QueryBinaryMarketsRequest\x1a\x36.injective.exchange.v1beta1.QueryBinaryMarketsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/exchange/v1beta1/binary_options/markets\x12\x99\x02\n!TraderDerivativeConditionalOrders\x12I.injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersRequest\x1aJ.injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersResponse\"]\x82\xd3\xe4\x93\x02W\x12U/injective/exchange/v1beta1/derivative/orders/conditional/{market_id}/{subaccount_id}\x12\xfe\x01\n\"MarketAtomicExecutionFeeMultiplier\x12J.injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierRequest\x1aK.injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/atomic_order_fee_multiplier\x12\xc9\x01\n\x10\x41\x63tiveStakeGrant\x12\x38.injective.exchange.v1beta1.QueryActiveStakeGrantRequest\x1a\x39.injective.exchange.v1beta1.QueryActiveStakeGrantResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/active_stake_grant/{grantee}\x12\xda\x01\n\x12GrantAuthorization\x12:.injective.exchange.v1beta1.QueryGrantAuthorizationRequest\x1a;.injective.exchange.v1beta1.QueryGrantAuthorizationResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/injective/exchange/v1beta1/grant_authorization/{granter}/{grantee}\x12\xd4\x01\n\x13GrantAuthorizations\x12;.injective.exchange.v1beta1.QueryGrantAuthorizationsRequest\x1a<.injective.exchange.v1beta1.QueryGrantAuthorizationsResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/grant_authorizations/{granter}B\x86\x02\n\x1e\x63om.injective.exchange.v1beta1B\nQueryProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\nQueryProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' - _globals['_QUERYEXCHANGEPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYEXCHANGEPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_QUERYSUBACCOUNTDEPOSITSREQUEST'].fields_by_name['subaccount']._loaded_options = None - _globals['_QUERYSUBACCOUNTDEPOSITSREQUEST'].fields_by_name['subaccount']._serialized_options = b'\310\336\037\001' - _globals['_QUERYSUBACCOUNTDEPOSITSRESPONSE_DEPOSITSENTRY']._loaded_options = None - _globals['_QUERYSUBACCOUNTDEPOSITSRESPONSE_DEPOSITSENTRY']._serialized_options = b'8\001' - _globals['_QUERYEXCHANGEBALANCESRESPONSE'].fields_by_name['balances']._loaded_options = None - _globals['_QUERYEXCHANGEBALANCESRESPONSE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000' - _globals['_QUERYAGGREGATEMARKETVOLUMERESPONSE'].fields_by_name['volume']._loaded_options = None - _globals['_QUERYAGGREGATEMARKETVOLUMERESPONSE'].fields_by_name['volume']._serialized_options = b'\310\336\037\000' - _globals['_QUERYDENOMDECIMALSRESPONSE'].fields_by_name['denom_decimals']._loaded_options = None - _globals['_QUERYDENOMDECIMALSRESPONSE'].fields_by_name['denom_decimals']._serialized_options = b'\310\336\037\000' - _globals['_QUERYSPOTORDERBOOKREQUEST'].fields_by_name['limit_cumulative_notional']._loaded_options = None - _globals['_QUERYSPOTORDERBOOKREQUEST'].fields_by_name['limit_cumulative_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYSPOTORDERBOOKREQUEST'].fields_by_name['limit_cumulative_quantity']._loaded_options = None - _globals['_QUERYSPOTORDERBOOKREQUEST'].fields_by_name['limit_cumulative_quantity']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_FULLSPOTMARKET'].fields_by_name['mid_price_and_tob']._loaded_options = None - _globals['_FULLSPOTMARKET'].fields_by_name['mid_price_and_tob']._serialized_options = b'\310\336\037\001' - _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['price']._loaded_options = None - _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['quantity']._loaded_options = None - _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['fillable']._loaded_options = None - _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['mid_price']._loaded_options = None - _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['mid_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['best_buy_price']._loaded_options = None - _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['best_buy_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['best_sell_price']._loaded_options = None - _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['best_sell_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['mid_price']._loaded_options = None - _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['mid_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['best_buy_price']._loaded_options = None - _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['best_buy_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['best_sell_price']._loaded_options = None - _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['best_sell_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYDERIVATIVEORDERBOOKREQUEST'].fields_by_name['limit_cumulative_notional']._loaded_options = None - _globals['_QUERYDERIVATIVEORDERBOOKREQUEST'].fields_by_name['limit_cumulative_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['base_amount']._loaded_options = None - _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['base_amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['quote_amount']._loaded_options = None - _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['quote_amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['reference_price']._loaded_options = None - _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['reference_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['quote_amount']._loaded_options = None - _globals['_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['quote_amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['reference_price']._loaded_options = None - _globals['_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['reference_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['price']._loaded_options = None - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['quantity']._loaded_options = None - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['margin']._loaded_options = None - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['fillable']._loaded_options = None - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['isBuy']._loaded_options = None - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['isBuy']._serialized_options = b'\352\336\037\005isBuy' - _globals['_PRICELEVEL'].fields_by_name['price']._loaded_options = None - _globals['_PRICELEVEL'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PRICELEVEL'].fields_by_name['quantity']._loaded_options = None - _globals['_PRICELEVEL'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_FULLDERIVATIVEMARKET'].fields_by_name['mark_price']._loaded_options = None - _globals['_FULLDERIVATIVEMARKET'].fields_by_name['mark_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_FULLDERIVATIVEMARKET'].fields_by_name['mid_price_and_tob']._loaded_options = None - _globals['_FULLDERIVATIVEMARKET'].fields_by_name['mid_price_and_tob']._serialized_options = b'\310\336\037\001' - _globals['_QUERYSUBACCOUNTPOSITIONSRESPONSE'].fields_by_name['state']._loaded_options = None - _globals['_QUERYSUBACCOUNTPOSITIONSRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\000' - _globals['_QUERYSUBACCOUNTPOSITIONINMARKETRESPONSE'].fields_by_name['state']._loaded_options = None - _globals['_QUERYSUBACCOUNTPOSITIONINMARKETRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\001' - _globals['_EFFECTIVEPOSITION'].fields_by_name['quantity']._loaded_options = None - _globals['_EFFECTIVEPOSITION'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EFFECTIVEPOSITION'].fields_by_name['entry_price']._loaded_options = None - _globals['_EFFECTIVEPOSITION'].fields_by_name['entry_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EFFECTIVEPOSITION'].fields_by_name['effective_margin']._loaded_options = None - _globals['_EFFECTIVEPOSITION'].fields_by_name['effective_margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETRESPONSE'].fields_by_name['state']._loaded_options = None - _globals['_QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\001' - _globals['_QUERYPERPETUALMARKETINFORESPONSE'].fields_by_name['info']._loaded_options = None - _globals['_QUERYPERPETUALMARKETINFORESPONSE'].fields_by_name['info']._serialized_options = b'\310\336\037\000' - _globals['_QUERYEXPIRYFUTURESMARKETINFORESPONSE'].fields_by_name['info']._loaded_options = None - _globals['_QUERYEXPIRYFUTURESMARKETINFORESPONSE'].fields_by_name['info']._serialized_options = b'\310\336\037\000' - _globals['_QUERYPERPETUALMARKETFUNDINGRESPONSE'].fields_by_name['state']._loaded_options = None - _globals['_QUERYPERPETUALMARKETFUNDINGRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\000' - _globals['_QUERYSUBACCOUNTORDERMETADATARESPONSE'].fields_by_name['metadata']._loaded_options = None - _globals['_QUERYSUBACCOUNTORDERMETADATARESPONSE'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000' - _globals['_QUERYPOSITIONSRESPONSE'].fields_by_name['state']._loaded_options = None - _globals['_QUERYPOSITIONSRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\000' - _globals['_QUERYTRADEREWARDPOINTSRESPONSE'].fields_by_name['account_trade_reward_points']._loaded_options = None - _globals['_QUERYTRADEREWARDPOINTSRESPONSE'].fields_by_name['account_trade_reward_points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYTRADEREWARDCAMPAIGNRESPONSE'].fields_by_name['total_trade_reward_points']._loaded_options = None - _globals['_QUERYTRADEREWARDCAMPAIGNRESPONSE'].fields_by_name['total_trade_reward_points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYTRADEREWARDCAMPAIGNRESPONSE'].fields_by_name['pending_total_trade_reward_points']._loaded_options = None - _globals['_QUERYTRADEREWARDCAMPAIGNRESPONSE'].fields_by_name['pending_total_trade_reward_points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BALANCEMISMATCH'].fields_by_name['available']._loaded_options = None - _globals['_BALANCEMISMATCH'].fields_by_name['available']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BALANCEMISMATCH'].fields_by_name['total']._loaded_options = None - _globals['_BALANCEMISMATCH'].fields_by_name['total']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BALANCEMISMATCH'].fields_by_name['balance_hold']._loaded_options = None - _globals['_BALANCEMISMATCH'].fields_by_name['balance_hold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BALANCEMISMATCH'].fields_by_name['expected_total']._loaded_options = None - _globals['_BALANCEMISMATCH'].fields_by_name['expected_total']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BALANCEMISMATCH'].fields_by_name['difference']._loaded_options = None - _globals['_BALANCEMISMATCH'].fields_by_name['difference']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['available']._loaded_options = None - _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['available']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['total']._loaded_options = None - _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['total']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['balance_hold']._loaded_options = None - _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['balance_hold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYMARKETVOLATILITYRESPONSE'].fields_by_name['volatility']._loaded_options = None - _globals['_QUERYMARKETVOLATILITYRESPONSE'].fields_by_name['volatility']._serialized_options = b'\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['price']._loaded_options = None - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['quantity']._loaded_options = None - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['margin']._loaded_options = None - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['triggerPrice']._loaded_options = None - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['triggerPrice']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['isBuy']._loaded_options = None - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['isBuy']._serialized_options = b'\352\336\037\005isBuy' - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['isLimit']._loaded_options = None - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['isLimit']._serialized_options = b'\352\336\037\007isLimit' - _globals['_QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERRESPONSE'].fields_by_name['multiplier']._loaded_options = None - _globals['_QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERRESPONSE'].fields_by_name['multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYGRANTAUTHORIZATIONRESPONSE'].fields_by_name['amount']._loaded_options = None - _globals['_QUERYGRANTAUTHORIZATIONRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_QUERYGRANTAUTHORIZATIONSRESPONSE'].fields_by_name['total_grant_amount']._loaded_options = None - _globals['_QUERYGRANTAUTHORIZATIONSRESPONSE'].fields_by_name['total_grant_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_QUERY'].methods_by_name['QueryExchangeParams']._loaded_options = None - _globals['_QUERY'].methods_by_name['QueryExchangeParams']._serialized_options = b'\202\323\344\223\002,\022*/injective/exchange/v1beta1/exchangeParams' - _globals['_QUERY'].methods_by_name['SubaccountDeposits']._loaded_options = None - _globals['_QUERY'].methods_by_name['SubaccountDeposits']._serialized_options = b'\202\323\344\223\0029\0227/injective/exchange/v1beta1/exchange/subaccountDeposits' - _globals['_QUERY'].methods_by_name['SubaccountDeposit']._loaded_options = None - _globals['_QUERY'].methods_by_name['SubaccountDeposit']._serialized_options = b'\202\323\344\223\0028\0226/injective/exchange/v1beta1/exchange/subaccountDeposit' - _globals['_QUERY'].methods_by_name['ExchangeBalances']._loaded_options = None - _globals['_QUERY'].methods_by_name['ExchangeBalances']._serialized_options = b'\202\323\344\223\0027\0225/injective/exchange/v1beta1/exchange/exchangeBalances' - _globals['_QUERY'].methods_by_name['AggregateVolume']._loaded_options = None - _globals['_QUERY'].methods_by_name['AggregateVolume']._serialized_options = b'\202\323\344\223\002@\022>/injective/exchange/v1beta1/exchange/aggregateVolume/{account}' - _globals['_QUERY'].methods_by_name['AggregateVolumes']._loaded_options = None - _globals['_QUERY'].methods_by_name['AggregateVolumes']._serialized_options = b'\202\323\344\223\0027\0225/injective/exchange/v1beta1/exchange/aggregateVolumes' - _globals['_QUERY'].methods_by_name['AggregateMarketVolume']._loaded_options = None - _globals['_QUERY'].methods_by_name['AggregateMarketVolume']._serialized_options = b'\202\323\344\223\002H\022F/injective/exchange/v1beta1/exchange/aggregateMarketVolume/{market_id}' - _globals['_QUERY'].methods_by_name['AggregateMarketVolumes']._loaded_options = None - _globals['_QUERY'].methods_by_name['AggregateMarketVolumes']._serialized_options = b'\202\323\344\223\002=\022;/injective/exchange/v1beta1/exchange/aggregateMarketVolumes' - _globals['_QUERY'].methods_by_name['DenomDecimal']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomDecimal']._serialized_options = b'\202\323\344\223\002<\022:/injective/exchange/v1beta1/exchange/denom_decimal/{denom}' - _globals['_QUERY'].methods_by_name['DenomDecimals']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomDecimals']._serialized_options = b'\202\323\344\223\0025\0223/injective/exchange/v1beta1/exchange/denom_decimals' - _globals['_QUERY'].methods_by_name['SpotMarkets']._loaded_options = None - _globals['_QUERY'].methods_by_name['SpotMarkets']._serialized_options = b'\202\323\344\223\002*\022(/injective/exchange/v1beta1/spot/markets' - _globals['_QUERY'].methods_by_name['SpotMarket']._loaded_options = None - _globals['_QUERY'].methods_by_name['SpotMarket']._serialized_options = b'\202\323\344\223\0026\0224/injective/exchange/v1beta1/spot/markets/{market_id}' - _globals['_QUERY'].methods_by_name['FullSpotMarkets']._loaded_options = None - _globals['_QUERY'].methods_by_name['FullSpotMarkets']._serialized_options = b'\202\323\344\223\002/\022-/injective/exchange/v1beta1/spot/full_markets' - _globals['_QUERY'].methods_by_name['FullSpotMarket']._loaded_options = None - _globals['_QUERY'].methods_by_name['FullSpotMarket']._serialized_options = b'\202\323\344\223\002:\0228/injective/exchange/v1beta1/spot/full_market/{market_id}' - _globals['_QUERY'].methods_by_name['SpotOrderbook']._loaded_options = None - _globals['_QUERY'].methods_by_name['SpotOrderbook']._serialized_options = b'\202\323\344\223\0028\0226/injective/exchange/v1beta1/spot/orderbook/{market_id}' - _globals['_QUERY'].methods_by_name['TraderSpotOrders']._loaded_options = None - _globals['_QUERY'].methods_by_name['TraderSpotOrders']._serialized_options = b'\202\323\344\223\002E\022C/injective/exchange/v1beta1/spot/orders/{market_id}/{subaccount_id}' - _globals['_QUERY'].methods_by_name['AccountAddressSpotOrders']._loaded_options = None - _globals['_QUERY'].methods_by_name['AccountAddressSpotOrders']._serialized_options = b'\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/orders/{market_id}/account/{account_address}' - _globals['_QUERY'].methods_by_name['SpotOrdersByHashes']._loaded_options = None - _globals['_QUERY'].methods_by_name['SpotOrdersByHashes']._serialized_options = b'\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/orders_by_hashes/{market_id}/{subaccount_id}' - _globals['_QUERY'].methods_by_name['SubaccountOrders']._loaded_options = None - _globals['_QUERY'].methods_by_name['SubaccountOrders']._serialized_options = b'\202\323\344\223\0024\0222/injective/exchange/v1beta1/orders/{subaccount_id}' - _globals['_QUERY'].methods_by_name['TraderSpotTransientOrders']._loaded_options = None - _globals['_QUERY'].methods_by_name['TraderSpotTransientOrders']._serialized_options = b'\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/transient_orders/{market_id}/{subaccount_id}' - _globals['_QUERY'].methods_by_name['SpotMidPriceAndTOB']._loaded_options = None - _globals['_QUERY'].methods_by_name['SpotMidPriceAndTOB']._serialized_options = b'\202\323\344\223\002@\022>/injective/exchange/v1beta1/spot/mid_price_and_tob/{market_id}' - _globals['_QUERY'].methods_by_name['DerivativeMidPriceAndTOB']._loaded_options = None - _globals['_QUERY'].methods_by_name['DerivativeMidPriceAndTOB']._serialized_options = b'\202\323\344\223\002F\022D/injective/exchange/v1beta1/derivative/mid_price_and_tob/{market_id}' - _globals['_QUERY'].methods_by_name['DerivativeOrderbook']._loaded_options = None - _globals['_QUERY'].methods_by_name['DerivativeOrderbook']._serialized_options = b'\202\323\344\223\002>\022\022\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*&exchange/MsgBatchCreateSpotLimitOrders\"\xb2\x01\n%MsgBatchCreateSpotLimitOrdersResponse\x12!\n\x0corder_hashes\x18\x01 \x03(\tR\x0borderHashes\x12.\n\x13\x63reated_orders_cids\x18\x02 \x03(\tR\x11\x63reatedOrdersCids\x12,\n\x12\x66\x61iled_orders_cids\x18\x03 \x03(\tR\x10\x66\x61iledOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbf\x03\n\x1aMsgInstantSpotMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x03 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#exchange/MsgInstantSpotMarketLaunch\"$\n\"MsgInstantSpotMarketLaunchResponse\"\xb1\x07\n\x1fMsgInstantPerpetualMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x06 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x07 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12I\n\x0emaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12U\n\x14initial_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12R\n\x13min_price_tick_size\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*(exchange/MsgInstantPerpetualMarketLaunch\")\n\'MsgInstantPerpetualMarketLaunchResponse\"\x89\x07\n#MsgInstantBinaryOptionsMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x03 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x04 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x05 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x06 \x01(\rR\x11oracleScaleFactor\x12I\n\x0emaker_fee_rate\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12\x31\n\x14\x65xpiration_timestamp\x18\t \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\n \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\x0b \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\x0c \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgInstantBinaryOptionsMarketLaunch\"-\n+MsgInstantBinaryOptionsMarketLaunchResponse\"\xd1\x07\n#MsgInstantExpiryFuturesMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x16\n\x06\x65xpiry\x18\x08 \x01(\x03R\x06\x65xpiry\x12I\n\x0emaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12U\n\x14initial_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgInstantExpiryFuturesMarketLaunch\"-\n+MsgInstantExpiryFuturesMarketLaunchResponse\"\xb0\x01\n\x18MsgCreateSpotMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00R\x05order:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgCreateSpotMarketOrder\"\xb1\x01\n MsgCreateSpotMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12R\n\x07results\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.SpotMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd5\x01\n\x16SpotMarketOrderResults\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x35\n\x03\x66\x65\x65\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbc\x01\n\x1dMsgCreateDerivativeLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order::\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*&exchange/MsgCreateDerivativeLimitOrder\"b\n%MsgCreateDerivativeLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc2\x01\n MsgCreateBinaryOptionsLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:=\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*)exchange/MsgCreateBinaryOptionsLimitOrder\"e\n(MsgCreateBinaryOptionsLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xca\x01\n#MsgBatchCreateDerivativeLimitOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12I\n\x06orders\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x06orders:@\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgBatchCreateDerivativeLimitOrders\"\xb8\x01\n+MsgBatchCreateDerivativeLimitOrdersResponse\x12!\n\x0corder_hashes\x18\x01 \x03(\tR\x0borderHashes\x12.\n\x13\x63reated_orders_cids\x18\x02 \x03(\tR\x11\x63reatedOrdersCids\x12,\n\x12\x66\x61iled_orders_cids\x18\x03 \x03(\tR\x10\x66\x61iledOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd0\x01\n\x12MsgCancelSpotOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id:/\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1b\x65xchange/MsgCancelSpotOrder\"\x1c\n\x1aMsgCancelSpotOrderResponse\"\xaa\x01\n\x18MsgBatchCancelSpotOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:5\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgBatchCancelSpotOrders\"F\n MsgBatchCancelSpotOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbc\x01\n!MsgBatchCancelBinaryOptionsOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:>\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgBatchCancelBinaryOptionsOrders\"O\n)MsgBatchCancelBinaryOptionsOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf2\x07\n\x14MsgBatchUpdateOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12?\n\x1dspot_market_ids_to_cancel_all\x18\x03 \x03(\tR\x18spotMarketIdsToCancelAll\x12K\n#derivative_market_ids_to_cancel_all\x18\x04 \x03(\tR\x1e\x64\x65rivativeMarketIdsToCancelAll\x12^\n\x15spot_orders_to_cancel\x18\x05 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x12spotOrdersToCancel\x12j\n\x1b\x64\x65rivative_orders_to_cancel\x18\x06 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x18\x64\x65rivativeOrdersToCancel\x12^\n\x15spot_orders_to_create\x18\x07 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x01R\x12spotOrdersToCreate\x12p\n\x1b\x64\x65rivative_orders_to_create\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x18\x64\x65rivativeOrdersToCreate\x12q\n\x1f\x62inary_options_orders_to_cancel\x18\t \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x1b\x62inaryOptionsOrdersToCancel\x12R\n\'binary_options_market_ids_to_cancel_all\x18\n \x03(\tR!binaryOptionsMarketIdsToCancelAll\x12w\n\x1f\x62inary_options_orders_to_create\x18\x0b \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x1b\x62inaryOptionsOrdersToCreate:1\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x65xchange/MsgBatchUpdateOrders\"\x88\x06\n\x1cMsgBatchUpdateOrdersResponse\x12.\n\x13spot_cancel_success\x18\x01 \x03(\x08R\x11spotCancelSuccess\x12:\n\x19\x64\x65rivative_cancel_success\x18\x02 \x03(\x08R\x17\x64\x65rivativeCancelSuccess\x12*\n\x11spot_order_hashes\x18\x03 \x03(\tR\x0fspotOrderHashes\x12\x36\n\x17\x64\x65rivative_order_hashes\x18\x04 \x03(\tR\x15\x64\x65rivativeOrderHashes\x12\x41\n\x1d\x62inary_options_cancel_success\x18\x05 \x03(\x08R\x1a\x62inaryOptionsCancelSuccess\x12=\n\x1b\x62inary_options_order_hashes\x18\x06 \x03(\tR\x18\x62inaryOptionsOrderHashes\x12\x37\n\x18\x63reated_spot_orders_cids\x18\x07 \x03(\tR\x15\x63reatedSpotOrdersCids\x12\x35\n\x17\x66\x61iled_spot_orders_cids\x18\x08 \x03(\tR\x14\x66\x61iledSpotOrdersCids\x12\x43\n\x1e\x63reated_derivative_orders_cids\x18\t \x03(\tR\x1b\x63reatedDerivativeOrdersCids\x12\x41\n\x1d\x66\x61iled_derivative_orders_cids\x18\n \x03(\tR\x1a\x66\x61iledDerivativeOrdersCids\x12J\n\"created_binary_options_orders_cids\x18\x0b \x03(\tR\x1e\x63reatedBinaryOptionsOrdersCids\x12H\n!failed_binary_options_orders_cids\x18\x0c \x03(\tR\x1d\x66\x61iledBinaryOptionsOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbe\x01\n\x1eMsgCreateDerivativeMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:;\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgCreateDerivativeMarketOrder\"\xbd\x01\n&MsgCreateDerivativeMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12X\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf0\x02\n\x1c\x44\x65rivativeMarketOrderResults\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x35\n\x03\x66\x65\x65\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12V\n\x0eposition_delta\x18\x04 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaB\x04\xc8\xde\x1f\x00R\rpositionDelta\x12;\n\x06payout\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc4\x01\n!MsgCreateBinaryOptionsMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:>\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgCreateBinaryOptionsMarketOrder\"\xc0\x01\n)MsgCreateBinaryOptionsMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12X\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xfb\x01\n\x18MsgCancelDerivativeOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x05 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id:5\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgCancelDerivativeOrder\"\"\n MsgCancelDerivativeOrderResponse\"\x81\x02\n\x1bMsgCancelBinaryOptionsOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x05 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id:8\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*$exchange/MsgCancelBinaryOptionsOrder\"%\n#MsgCancelBinaryOptionsOrderResponse\"\x9d\x01\n\tOrderData\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x04 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id\"\xb6\x01\n\x1eMsgBatchCancelDerivativeOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:;\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgBatchCancelDerivativeOrders\"L\n&MsgBatchCancelDerivativeOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x86\x02\n\x15MsgSubaccountTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x37\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgSubaccountTransfer\"\x1f\n\x1dMsgSubaccountTransferResponse\"\x82\x02\n\x13MsgExternalTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x37\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1c\x65xchange/MsgExternalTransfer\"\x1d\n\x1bMsgExternalTransferResponse\"\xe8\x01\n\x14MsgLiquidatePosition\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12G\n\x05order\x18\x04 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x05order:-\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x65xchange/MsgLiquidatePosition\"\x1e\n\x1cMsgLiquidatePositionResponse\"\xa7\x01\n\x18MsgEmergencySettleMarket\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId:1\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgEmergencySettleMarket\"\"\n MsgEmergencySettleMarketResponse\"\xaf\x02\n\x19MsgIncreasePositionMargin\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\x12;\n\x06\x61mount\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount:2\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\"exchange/MsgIncreasePositionMargin\"#\n!MsgIncreasePositionMarginResponse\"\xaf\x02\n\x19MsgDecreasePositionMargin\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\x12;\n\x06\x61mount\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount:2\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\"exchange/MsgDecreasePositionMargin\"#\n!MsgDecreasePositionMarginResponse\"\xca\x01\n\x1cMsgPrivilegedExecuteContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x14\n\x05\x66unds\x18\x02 \x01(\tR\x05\x66unds\x12)\n\x10\x63ontract_address\x18\x03 \x01(\tR\x0f\x63ontractAddress\x12\x12\n\x04\x64\x61ta\x18\x04 \x01(\tR\x04\x64\x61ta:=\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*%exchange/MsgPrivilegedExecuteContract\"\xa7\x01\n$MsgPrivilegedExecuteContractResponse\x12j\n\nfunds_diff\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\tfundsDiff:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"]\n\x10MsgRewardsOptOut\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19\x65xchange/MsgRewardsOptOut\"\x1a\n\x18MsgRewardsOptOutResponse\"\xaf\x01\n\x15MsgReclaimLockedFunds\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x13lockedAccountPubKey\x18\x02 \x01(\x0cR\x13lockedAccountPubKey\x12\x1c\n\tsignature\x18\x03 \x01(\x0cR\tsignature:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgReclaimLockedFunds\"\x1f\n\x1dMsgReclaimLockedFundsResponse\"\x80\x01\n\x0bMsgSignData\x12S\n\x06Signer\x18\x01 \x01(\x0c\x42;\xea\xde\x1f\x06signer\xfa\xde\x1f-github.com/cosmos/cosmos-sdk/types.AccAddressR\x06Signer\x12\x1c\n\x04\x44\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61taR\x04\x44\x61ta\"x\n\nMsgSignDoc\x12%\n\tsign_type\x18\x01 \x01(\tB\x08\xea\xde\x1f\x04typeR\x08signType\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.MsgSignDataB\x04\xc8\xde\x1f\x00R\x05value\"\x8c\x03\n!MsgAdminUpdateBinaryOptionsMarket\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x31\n\x14\x65xpiration_timestamp\x18\x04 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\x05 \x01(\x03R\x13settlementTimestamp\x12@\n\x06status\x18\x06 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status::\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgAdminUpdateBinaryOptionsMarket\"+\n)MsgAdminUpdateBinaryOptionsMarketResponse\"\xab\x01\n\x17MsgAuthorizeStakeGrants\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants:0\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* exchange/MsgAuthorizeStakeGrants\"!\n\x1fMsgAuthorizeStakeGrantsResponse\"y\n\x15MsgActivateStakeGrant\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgActivateStakeGrant\"\x1f\n\x1dMsgActivateStakeGrantResponse2\xd0\'\n\x03Msg\x12\x61\n\x07\x44\x65posit\x12&.injective.exchange.v1beta1.MsgDeposit\x1a..injective.exchange.v1beta1.MsgDepositResponse\x12\x64\n\x08Withdraw\x12\'.injective.exchange.v1beta1.MsgWithdraw\x1a/.injective.exchange.v1beta1.MsgWithdrawResponse\x12\x91\x01\n\x17InstantSpotMarketLaunch\x12\x36.injective.exchange.v1beta1.MsgInstantSpotMarketLaunch\x1a>.injective.exchange.v1beta1.MsgInstantSpotMarketLaunchResponse\x12\xa0\x01\n\x1cInstantPerpetualMarketLaunch\x12;.injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch\x1a\x43.injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunchResponse\x12\xac\x01\n InstantExpiryFuturesMarketLaunch\x12?.injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch\x1aG.injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunchResponse\x12\x88\x01\n\x14\x43reateSpotLimitOrder\x12\x33.injective.exchange.v1beta1.MsgCreateSpotLimitOrder\x1a;.injective.exchange.v1beta1.MsgCreateSpotLimitOrderResponse\x12\x9a\x01\n\x1a\x42\x61tchCreateSpotLimitOrders\x12\x39.injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders\x1a\x41.injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrdersResponse\x12\x8b\x01\n\x15\x43reateSpotMarketOrder\x12\x34.injective.exchange.v1beta1.MsgCreateSpotMarketOrder\x1a<.injective.exchange.v1beta1.MsgCreateSpotMarketOrderResponse\x12y\n\x0f\x43\x61ncelSpotOrder\x12..injective.exchange.v1beta1.MsgCancelSpotOrder\x1a\x36.injective.exchange.v1beta1.MsgCancelSpotOrderResponse\x12\x8b\x01\n\x15\x42\x61tchCancelSpotOrders\x12\x34.injective.exchange.v1beta1.MsgBatchCancelSpotOrders\x1a<.injective.exchange.v1beta1.MsgBatchCancelSpotOrdersResponse\x12\x7f\n\x11\x42\x61tchUpdateOrders\x12\x30.injective.exchange.v1beta1.MsgBatchUpdateOrders\x1a\x38.injective.exchange.v1beta1.MsgBatchUpdateOrdersResponse\x12\x97\x01\n\x19PrivilegedExecuteContract\x12\x38.injective.exchange.v1beta1.MsgPrivilegedExecuteContract\x1a@.injective.exchange.v1beta1.MsgPrivilegedExecuteContractResponse\x12\x9a\x01\n\x1a\x43reateDerivativeLimitOrder\x12\x39.injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder\x1a\x41.injective.exchange.v1beta1.MsgCreateDerivativeLimitOrderResponse\x12\xac\x01\n BatchCreateDerivativeLimitOrders\x12?.injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders\x1aG.injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrdersResponse\x12\x9d\x01\n\x1b\x43reateDerivativeMarketOrder\x12:.injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder\x1a\x42.injective.exchange.v1beta1.MsgCreateDerivativeMarketOrderResponse\x12\x8b\x01\n\x15\x43\x61ncelDerivativeOrder\x12\x34.injective.exchange.v1beta1.MsgCancelDerivativeOrder\x1a<.injective.exchange.v1beta1.MsgCancelDerivativeOrderResponse\x12\x9d\x01\n\x1b\x42\x61tchCancelDerivativeOrders\x12:.injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders\x1a\x42.injective.exchange.v1beta1.MsgBatchCancelDerivativeOrdersResponse\x12\xac\x01\n InstantBinaryOptionsMarketLaunch\x12?.injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch\x1aG.injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunchResponse\x12\xa3\x01\n\x1d\x43reateBinaryOptionsLimitOrder\x12<.injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder\x1a\x44.injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrderResponse\x12\xa6\x01\n\x1e\x43reateBinaryOptionsMarketOrder\x12=.injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder\x1a\x45.injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrderResponse\x12\x94\x01\n\x18\x43\x61ncelBinaryOptionsOrder\x12\x37.injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder\x1a?.injective.exchange.v1beta1.MsgCancelBinaryOptionsOrderResponse\x12\xa6\x01\n\x1e\x42\x61tchCancelBinaryOptionsOrders\x12=.injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders\x1a\x45.injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrdersResponse\x12\x82\x01\n\x12SubaccountTransfer\x12\x31.injective.exchange.v1beta1.MsgSubaccountTransfer\x1a\x39.injective.exchange.v1beta1.MsgSubaccountTransferResponse\x12|\n\x10\x45xternalTransfer\x12/.injective.exchange.v1beta1.MsgExternalTransfer\x1a\x37.injective.exchange.v1beta1.MsgExternalTransferResponse\x12\x7f\n\x11LiquidatePosition\x12\x30.injective.exchange.v1beta1.MsgLiquidatePosition\x1a\x38.injective.exchange.v1beta1.MsgLiquidatePositionResponse\x12\x8b\x01\n\x15\x45mergencySettleMarket\x12\x34.injective.exchange.v1beta1.MsgEmergencySettleMarket\x1a<.injective.exchange.v1beta1.MsgEmergencySettleMarketResponse\x12\x8e\x01\n\x16IncreasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgIncreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgIncreasePositionMarginResponse\x12\x8e\x01\n\x16\x44\x65\x63reasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgDecreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgDecreasePositionMarginResponse\x12s\n\rRewardsOptOut\x12,.injective.exchange.v1beta1.MsgRewardsOptOut\x1a\x34.injective.exchange.v1beta1.MsgRewardsOptOutResponse\x12\xa6\x01\n\x1e\x41\x64minUpdateBinaryOptionsMarket\x12=.injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket\x1a\x45.injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarketResponse\x12p\n\x0cUpdateParams\x12+.injective.exchange.v1beta1.MsgUpdateParams\x1a\x33.injective.exchange.v1beta1.MsgUpdateParamsResponse\x12|\n\x10UpdateSpotMarket\x12/.injective.exchange.v1beta1.MsgUpdateSpotMarket\x1a\x37.injective.exchange.v1beta1.MsgUpdateSpotMarketResponse\x12\x8e\x01\n\x16UpdateDerivativeMarket\x12\x35.injective.exchange.v1beta1.MsgUpdateDerivativeMarket\x1a=.injective.exchange.v1beta1.MsgUpdateDerivativeMarketResponse\x12\x88\x01\n\x14\x41uthorizeStakeGrants\x12\x33.injective.exchange.v1beta1.MsgAuthorizeStakeGrants\x1a;.injective.exchange.v1beta1.MsgAuthorizeStakeGrantsResponse\x12\x82\x01\n\x12\x41\x63tivateStakeGrant\x12\x31.injective.exchange.v1beta1.MsgActivateStakeGrant\x1a\x39.injective.exchange.v1beta1.MsgActivateStakeGrantResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x83\x02\n\x1e\x63om.injective.exchange.v1beta1B\x07TxProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\007TxProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' - _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_price_tick_size']._loaded_options = None - _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_quantity_tick_size']._loaded_options = None - _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_notional']._loaded_options = None - _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGUPDATESPOTMARKET']._loaded_options = None - _globals['_MSGUPDATESPOTMARKET']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\005admin\212\347\260*\034exchange/MsgUpdateSpotMarket' - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_price_tick_size']._loaded_options = None - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_quantity_tick_size']._loaded_options = None - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_notional']._loaded_options = None - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_initial_margin_ratio']._loaded_options = None - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_maintenance_margin_ratio']._loaded_options = None - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGUPDATEDERIVATIVEMARKET']._loaded_options = None - _globals['_MSGUPDATEDERIVATIVEMARKET']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\005admin\212\347\260*\"exchange/MsgUpdateDerivativeMarket' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\030exchange/MsgUpdateParams' - _globals['_MSGDEPOSIT'].fields_by_name['amount']._loaded_options = None - _globals['_MSGDEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_MSGDEPOSIT']._loaded_options = None - _globals['_MSGDEPOSIT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\023exchange/MsgDeposit' - _globals['_MSGWITHDRAW'].fields_by_name['amount']._loaded_options = None - _globals['_MSGWITHDRAW'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_MSGWITHDRAW']._loaded_options = None - _globals['_MSGWITHDRAW']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\024exchange/MsgWithdraw' - _globals['_MSGCREATESPOTLIMITORDER'].fields_by_name['order']._loaded_options = None - _globals['_MSGCREATESPOTLIMITORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_MSGCREATESPOTLIMITORDER']._loaded_options = None - _globals['_MSGCREATESPOTLIMITORDER']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260* exchange/MsgCreateSpotLimitOrder' - _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._loaded_options = None - _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGBATCHCREATESPOTLIMITORDERS'].fields_by_name['orders']._loaded_options = None - _globals['_MSGBATCHCREATESPOTLIMITORDERS'].fields_by_name['orders']._serialized_options = b'\310\336\037\000' - _globals['_MSGBATCHCREATESPOTLIMITORDERS']._loaded_options = None - _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*&exchange/MsgBatchCreateSpotLimitOrders' - _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._loaded_options = None - _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_notional']._loaded_options = None - _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTSPOTMARKETLAUNCH']._loaded_options = None - _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*#exchange/MsgInstantSpotMarketLaunch' - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['initial_margin_ratio']._loaded_options = None - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['maintenance_margin_ratio']._loaded_options = None - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_notional']._loaded_options = None - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._loaded_options = None - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*(exchange/MsgInstantPerpetualMarketLaunch' - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_notional']._loaded_options = None - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._loaded_options = None - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgInstantBinaryOptionsMarketLaunch' - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['initial_margin_ratio']._loaded_options = None - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['maintenance_margin_ratio']._loaded_options = None - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_notional']._loaded_options = None - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._loaded_options = None - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgInstantExpiryFuturesMarketLaunch' - _globals['_MSGCREATESPOTMARKETORDER'].fields_by_name['order']._loaded_options = None - _globals['_MSGCREATESPOTMARKETORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_MSGCREATESPOTMARKETORDER']._loaded_options = None - _globals['_MSGCREATESPOTMARKETORDER']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgCreateSpotMarketOrder' - _globals['_MSGCREATESPOTMARKETORDERRESPONSE'].fields_by_name['results']._loaded_options = None - _globals['_MSGCREATESPOTMARKETORDERRESPONSE'].fields_by_name['results']._serialized_options = b'\310\336\037\001' - _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._loaded_options = None - _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['quantity']._loaded_options = None - _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['price']._loaded_options = None - _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['fee']._loaded_options = None - _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETORDERRESULTS']._loaded_options = None - _globals['_SPOTMARKETORDERRESULTS']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGCREATEDERIVATIVELIMITORDER'].fields_by_name['order']._loaded_options = None - _globals['_MSGCREATEDERIVATIVELIMITORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_MSGCREATEDERIVATIVELIMITORDER']._loaded_options = None - _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*&exchange/MsgCreateDerivativeLimitOrder' - _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._loaded_options = None - _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGCREATEBINARYOPTIONSLIMITORDER'].fields_by_name['order']._loaded_options = None - _globals['_MSGCREATEBINARYOPTIONSLIMITORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._loaded_options = None - _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*)exchange/MsgCreateBinaryOptionsLimitOrder' - _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._loaded_options = None - _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS'].fields_by_name['orders']._loaded_options = None - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS'].fields_by_name['orders']._serialized_options = b'\310\336\037\000' - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._loaded_options = None - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgBatchCreateDerivativeLimitOrders' - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._loaded_options = None - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGCANCELSPOTORDER']._loaded_options = None - _globals['_MSGCANCELSPOTORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\033exchange/MsgCancelSpotOrder' - _globals['_MSGBATCHCANCELSPOTORDERS'].fields_by_name['data']._loaded_options = None - _globals['_MSGBATCHCANCELSPOTORDERS'].fields_by_name['data']._serialized_options = b'\310\336\037\000' - _globals['_MSGBATCHCANCELSPOTORDERS']._loaded_options = None - _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgBatchCancelSpotOrders' - _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._loaded_options = None - _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS'].fields_by_name['data']._loaded_options = None - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS'].fields_by_name['data']._serialized_options = b'\310\336\037\000' - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._loaded_options = None - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260**exchange/MsgBatchCancelBinaryOptionsOrders' - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._loaded_options = None - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['spot_orders_to_cancel']._loaded_options = None - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['spot_orders_to_cancel']._serialized_options = b'\310\336\037\001' - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['derivative_orders_to_cancel']._loaded_options = None - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['derivative_orders_to_cancel']._serialized_options = b'\310\336\037\001' - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['spot_orders_to_create']._loaded_options = None - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['spot_orders_to_create']._serialized_options = b'\310\336\037\001' - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['derivative_orders_to_create']._loaded_options = None - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['derivative_orders_to_create']._serialized_options = b'\310\336\037\001' - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['binary_options_orders_to_cancel']._loaded_options = None - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['binary_options_orders_to_cancel']._serialized_options = b'\310\336\037\001' - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['binary_options_orders_to_create']._loaded_options = None - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['binary_options_orders_to_create']._serialized_options = b'\310\336\037\001' - _globals['_MSGBATCHUPDATEORDERS']._loaded_options = None - _globals['_MSGBATCHUPDATEORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\035exchange/MsgBatchUpdateOrders' - _globals['_MSGBATCHUPDATEORDERSRESPONSE']._loaded_options = None - _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGCREATEDERIVATIVEMARKETORDER'].fields_by_name['order']._loaded_options = None - _globals['_MSGCREATEDERIVATIVEMARKETORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_MSGCREATEDERIVATIVEMARKETORDER']._loaded_options = None - _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\'exchange/MsgCreateDerivativeMarketOrder' - _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE'].fields_by_name['results']._loaded_options = None - _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE'].fields_by_name['results']._serialized_options = b'\310\336\037\001' - _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._loaded_options = None - _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['quantity']._loaded_options = None - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['price']._loaded_options = None - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['fee']._loaded_options = None - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['position_delta']._loaded_options = None - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['position_delta']._serialized_options = b'\310\336\037\000' - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['payout']._loaded_options = None - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETORDERRESULTS']._loaded_options = None - _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGCREATEBINARYOPTIONSMARKETORDER'].fields_by_name['order']._loaded_options = None - _globals['_MSGCREATEBINARYOPTIONSMARKETORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._loaded_options = None - _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260**exchange/MsgCreateBinaryOptionsMarketOrder' - _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE'].fields_by_name['results']._loaded_options = None - _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE'].fields_by_name['results']._serialized_options = b'\310\336\037\001' - _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._loaded_options = None - _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGCANCELDERIVATIVEORDER']._loaded_options = None - _globals['_MSGCANCELDERIVATIVEORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgCancelDerivativeOrder' - _globals['_MSGCANCELBINARYOPTIONSORDER']._loaded_options = None - _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*$exchange/MsgCancelBinaryOptionsOrder' - _globals['_MSGBATCHCANCELDERIVATIVEORDERS'].fields_by_name['data']._loaded_options = None - _globals['_MSGBATCHCANCELDERIVATIVEORDERS'].fields_by_name['data']._serialized_options = b'\310\336\037\000' - _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._loaded_options = None - _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\'exchange/MsgBatchCancelDerivativeOrders' - _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._loaded_options = None - _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGSUBACCOUNTTRANSFER'].fields_by_name['amount']._loaded_options = None - _globals['_MSGSUBACCOUNTTRANSFER'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_MSGSUBACCOUNTTRANSFER']._loaded_options = None - _globals['_MSGSUBACCOUNTTRANSFER']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036exchange/MsgSubaccountTransfer' - _globals['_MSGEXTERNALTRANSFER'].fields_by_name['amount']._loaded_options = None - _globals['_MSGEXTERNALTRANSFER'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_MSGEXTERNALTRANSFER']._loaded_options = None - _globals['_MSGEXTERNALTRANSFER']._serialized_options = b'\202\347\260*\006sender\212\347\260*\034exchange/MsgExternalTransfer' - _globals['_MSGLIQUIDATEPOSITION'].fields_by_name['order']._loaded_options = None - _globals['_MSGLIQUIDATEPOSITION'].fields_by_name['order']._serialized_options = b'\310\336\037\001' - _globals['_MSGLIQUIDATEPOSITION']._loaded_options = None - _globals['_MSGLIQUIDATEPOSITION']._serialized_options = b'\202\347\260*\006sender\212\347\260*\035exchange/MsgLiquidatePosition' - _globals['_MSGEMERGENCYSETTLEMARKET']._loaded_options = None - _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_options = b'\202\347\260*\006sender\212\347\260*!exchange/MsgEmergencySettleMarket' - _globals['_MSGINCREASEPOSITIONMARGIN'].fields_by_name['amount']._loaded_options = None - _globals['_MSGINCREASEPOSITIONMARGIN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINCREASEPOSITIONMARGIN']._loaded_options = None - _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\"exchange/MsgIncreasePositionMargin' - _globals['_MSGDECREASEPOSITIONMARGIN'].fields_by_name['amount']._loaded_options = None - _globals['_MSGDECREASEPOSITIONMARGIN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGDECREASEPOSITIONMARGIN']._loaded_options = None - _globals['_MSGDECREASEPOSITIONMARGIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\"exchange/MsgDecreasePositionMargin' - _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._loaded_options = None - _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*%exchange/MsgPrivilegedExecuteContract' - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE'].fields_by_name['funds_diff']._loaded_options = None - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE'].fields_by_name['funds_diff']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._loaded_options = None - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' - _globals['_MSGREWARDSOPTOUT']._loaded_options = None - _globals['_MSGREWARDSOPTOUT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\031exchange/MsgRewardsOptOut' - _globals['_MSGRECLAIMLOCKEDFUNDS']._loaded_options = None - _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036exchange/MsgReclaimLockedFunds' - _globals['_MSGSIGNDATA'].fields_by_name['Signer']._loaded_options = None - _globals['_MSGSIGNDATA'].fields_by_name['Signer']._serialized_options = b'\352\336\037\006signer\372\336\037-github.com/cosmos/cosmos-sdk/types.AccAddress' - _globals['_MSGSIGNDATA'].fields_by_name['Data']._loaded_options = None - _globals['_MSGSIGNDATA'].fields_by_name['Data']._serialized_options = b'\352\336\037\004data' - _globals['_MSGSIGNDOC'].fields_by_name['sign_type']._loaded_options = None - _globals['_MSGSIGNDOC'].fields_by_name['sign_type']._serialized_options = b'\352\336\037\004type' - _globals['_MSGSIGNDOC'].fields_by_name['value']._loaded_options = None - _globals['_MSGSIGNDOC'].fields_by_name['value']._serialized_options = b'\310\336\037\000' - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET'].fields_by_name['settlement_price']._loaded_options = None - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._loaded_options = None - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_options = b'\202\347\260*\006sender\212\347\260**exchange/MsgAdminUpdateBinaryOptionsMarket' - _globals['_MSGAUTHORIZESTAKEGRANTS']._loaded_options = None - _globals['_MSGAUTHORIZESTAKEGRANTS']._serialized_options = b'\202\347\260*\006sender\212\347\260* exchange/MsgAuthorizeStakeGrants' - _globals['_MSGACTIVATESTAKEGRANT']._loaded_options = None - _globals['_MSGACTIVATESTAKEGRANT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036exchange/MsgActivateStakeGrant' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGUPDATESPOTMARKET']._serialized_start=323 - _globals['_MSGUPDATESPOTMARKET']._serialized_end=746 - _globals['_MSGUPDATESPOTMARKETRESPONSE']._serialized_start=748 - _globals['_MSGUPDATESPOTMARKETRESPONSE']._serialized_end=777 - _globals['_MSGUPDATEDERIVATIVEMARKET']._serialized_start=780 - _globals['_MSGUPDATEDERIVATIVEMARKET']._serialized_end=1411 - _globals['_MSGUPDATEDERIVATIVEMARKETRESPONSE']._serialized_start=1413 - _globals['_MSGUPDATEDERIVATIVEMARKETRESPONSE']._serialized_end=1448 - _globals['_MSGUPDATEPARAMS']._serialized_start=1451 - _globals['_MSGUPDATEPARAMS']._serialized_end=1635 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1637 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1662 - _globals['_MSGDEPOSIT']._serialized_start=1665 - _globals['_MSGDEPOSIT']._serialized_end=1840 - _globals['_MSGDEPOSITRESPONSE']._serialized_start=1842 - _globals['_MSGDEPOSITRESPONSE']._serialized_end=1862 - _globals['_MSGWITHDRAW']._serialized_start=1865 - _globals['_MSGWITHDRAW']._serialized_end=2042 - _globals['_MSGWITHDRAWRESPONSE']._serialized_start=2044 - _globals['_MSGWITHDRAWRESPONSE']._serialized_end=2065 - _globals['_MSGCREATESPOTLIMITORDER']._serialized_start=2068 - _globals['_MSGCREATESPOTLIMITORDER']._serialized_end=2242 - _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_start=2244 - _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_end=2336 - _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_start=2339 - _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_end=2527 - _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_start=2530 - _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_end=2708 - _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_start=2711 - _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_end=3158 - _globals['_MSGINSTANTSPOTMARKETLAUNCHRESPONSE']._serialized_start=3160 - _globals['_MSGINSTANTSPOTMARKETLAUNCHRESPONSE']._serialized_end=3196 - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_start=3199 - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_end=4144 - _globals['_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE']._serialized_start=4146 - _globals['_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE']._serialized_end=4187 - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_start=4190 - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_end=5095 - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_start=5097 - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_end=5142 - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_start=5145 - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_end=6122 - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_start=6124 - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_end=6169 - _globals['_MSGCREATESPOTMARKETORDER']._serialized_start=6172 - _globals['_MSGCREATESPOTMARKETORDER']._serialized_end=6348 - _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_start=6351 - _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_end=6528 - _globals['_SPOTMARKETORDERRESULTS']._serialized_start=6531 - _globals['_SPOTMARKETORDERRESULTS']._serialized_end=6744 - _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_start=6747 - _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_end=6935 - _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_start=6937 - _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_end=7035 - _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_start=7038 - _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_end=7232 - _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_start=7234 - _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_end=7335 - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_start=7338 - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_end=7540 - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_start=7543 - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_end=7727 - _globals['_MSGCANCELSPOTORDER']._serialized_start=7730 - _globals['_MSGCANCELSPOTORDER']._serialized_end=7938 - _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_start=7940 - _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_end=7968 - _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_start=7971 - _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_end=8141 - _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_start=8143 - _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_end=8213 - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_start=8216 - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_end=8404 - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_start=8406 - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_end=8485 - _globals['_MSGBATCHUPDATEORDERS']._serialized_start=8488 - _globals['_MSGBATCHUPDATEORDERS']._serialized_end=9498 - _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_start=9501 - _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_end=10277 - _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_start=10280 - _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_end=10470 - _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_start=10473 - _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_end=10662 - _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_start=10665 - _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_end=11033 - _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_start=11036 - _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_end=11232 - _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_start=11235 - _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_end=11427 - _globals['_MSGCANCELDERIVATIVEORDER']._serialized_start=11430 - _globals['_MSGCANCELDERIVATIVEORDER']._serialized_end=11681 - _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_start=11683 - _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_end=11717 - _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_start=11720 - _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_end=11977 - _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_start=11979 - _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_end=12016 - _globals['_ORDERDATA']._serialized_start=12019 - _globals['_ORDERDATA']._serialized_end=12176 - _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_start=12179 - _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_end=12361 - _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_start=12363 - _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_end=12439 - _globals['_MSGSUBACCOUNTTRANSFER']._serialized_start=12442 - _globals['_MSGSUBACCOUNTTRANSFER']._serialized_end=12704 - _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_start=12706 - _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_end=12737 - _globals['_MSGEXTERNALTRANSFER']._serialized_start=12740 - _globals['_MSGEXTERNALTRANSFER']._serialized_end=12998 - _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_start=13000 - _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_end=13029 - _globals['_MSGLIQUIDATEPOSITION']._serialized_start=13032 - _globals['_MSGLIQUIDATEPOSITION']._serialized_end=13264 - _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_start=13266 - _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_end=13296 - _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_start=13299 - _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_end=13466 - _globals['_MSGEMERGENCYSETTLEMARKETRESPONSE']._serialized_start=13468 - _globals['_MSGEMERGENCYSETTLEMARKETRESPONSE']._serialized_end=13502 - _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_start=13505 - _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_end=13808 - _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_start=13810 - _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_end=13845 - _globals['_MSGDECREASEPOSITIONMARGIN']._serialized_start=13848 - _globals['_MSGDECREASEPOSITIONMARGIN']._serialized_end=14151 - _globals['_MSGDECREASEPOSITIONMARGINRESPONSE']._serialized_start=14153 - _globals['_MSGDECREASEPOSITIONMARGINRESPONSE']._serialized_end=14188 - _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_start=14191 - _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_end=14393 - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_start=14396 - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_end=14563 - _globals['_MSGREWARDSOPTOUT']._serialized_start=14565 - _globals['_MSGREWARDSOPTOUT']._serialized_end=14658 - _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_start=14660 - _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_end=14686 - _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_start=14689 - _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_end=14864 - _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_start=14866 - _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_end=14897 - _globals['_MSGSIGNDATA']._serialized_start=14900 - _globals['_MSGSIGNDATA']._serialized_end=15028 - _globals['_MSGSIGNDOC']._serialized_start=15030 - _globals['_MSGSIGNDOC']._serialized_end=15150 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_start=15153 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_end=15549 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_start=15551 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_end=15594 - _globals['_MSGAUTHORIZESTAKEGRANTS']._serialized_start=15597 - _globals['_MSGAUTHORIZESTAKEGRANTS']._serialized_end=15768 - _globals['_MSGAUTHORIZESTAKEGRANTSRESPONSE']._serialized_start=15770 - _globals['_MSGAUTHORIZESTAKEGRANTSRESPONSE']._serialized_end=15803 - _globals['_MSGACTIVATESTAKEGRANT']._serialized_start=15805 - _globals['_MSGACTIVATESTAKEGRANT']._serialized_end=15926 - _globals['_MSGACTIVATESTAKEGRANTRESPONSE']._serialized_start=15928 - _globals['_MSGACTIVATESTAKEGRANTRESPONSE']._serialized_end=15959 - _globals['_MSG']._serialized_start=15962 - _globals['_MSG']._serialized_end=21034 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index e8346ec5..00000000 --- a/pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,1595 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.injective.exchange.v1beta1 import tx_pb2 as injective_dot_exchange_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the exchange Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Deposit = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/Deposit', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, - _registered_method=True) - self.Withdraw = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/Withdraw', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdraw.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdrawResponse.FromString, - _registered_method=True) - self.InstantSpotMarketLaunch = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunch.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunchResponse.FromString, - _registered_method=True) - self.InstantPerpetualMarketLaunch = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunch.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunchResponse.FromString, - _registered_method=True) - self.InstantExpiryFuturesMarketLaunch = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunch.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunchResponse.FromString, - _registered_method=True) - self.CreateSpotLimitOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrderResponse.FromString, - _registered_method=True) - self.BatchCreateSpotLimitOrders = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrdersResponse.FromString, - _registered_method=True) - self.CreateSpotMarketOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrderResponse.FromString, - _registered_method=True) - self.CancelSpotOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CancelSpotOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrderResponse.FromString, - _registered_method=True) - self.BatchCancelSpotOrders = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrdersResponse.FromString, - _registered_method=True) - self.BatchUpdateOrders = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/BatchUpdateOrders', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrdersResponse.FromString, - _registered_method=True) - self.PrivilegedExecuteContract = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContract.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContractResponse.FromString, - _registered_method=True) - self.CreateDerivativeLimitOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrderResponse.FromString, - _registered_method=True) - self.BatchCreateDerivativeLimitOrders = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrdersResponse.FromString, - _registered_method=True) - self.CreateDerivativeMarketOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrderResponse.FromString, - _registered_method=True) - self.CancelDerivativeOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CancelDerivativeOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrderResponse.FromString, - _registered_method=True) - self.BatchCancelDerivativeOrders = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrdersResponse.FromString, - _registered_method=True) - self.InstantBinaryOptionsMarketLaunch = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunch.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunchResponse.FromString, - _registered_method=True) - self.CreateBinaryOptionsLimitOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrderResponse.FromString, - _registered_method=True) - self.CreateBinaryOptionsMarketOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrderResponse.FromString, - _registered_method=True) - self.CancelBinaryOptionsOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrderResponse.FromString, - _registered_method=True) - self.BatchCancelBinaryOptionsOrders = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrdersResponse.FromString, - _registered_method=True) - self.SubaccountTransfer = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/SubaccountTransfer', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransfer.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransferResponse.FromString, - _registered_method=True) - self.ExternalTransfer = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/ExternalTransfer', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransfer.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransferResponse.FromString, - _registered_method=True) - self.LiquidatePosition = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/LiquidatePosition', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.FromString, - _registered_method=True) - self.EmergencySettleMarket = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/EmergencySettleMarket', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarket.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarketResponse.FromString, - _registered_method=True) - self.IncreasePositionMargin = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/IncreasePositionMargin', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMarginResponse.FromString, - _registered_method=True) - self.DecreasePositionMargin = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/DecreasePositionMargin', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMargin.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMarginResponse.FromString, - _registered_method=True) - self.RewardsOptOut = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/RewardsOptOut', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOut.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOutResponse.FromString, - _registered_method=True) - self.AdminUpdateBinaryOptionsMarket = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarket.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarketResponse.FromString, - _registered_method=True) - self.UpdateParams = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/UpdateParams', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - self.UpdateSpotMarket = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/UpdateSpotMarket', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarket.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarketResponse.FromString, - _registered_method=True) - self.UpdateDerivativeMarket = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/UpdateDerivativeMarket', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarket.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarketResponse.FromString, - _registered_method=True) - self.AuthorizeStakeGrants = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/AuthorizeStakeGrants', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrants.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrantsResponse.FromString, - _registered_method=True) - self.ActivateStakeGrant = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/ActivateStakeGrant', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrant.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrantResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the exchange Msg service. - """ - - def Deposit(self, request, context): - """Deposit defines a method for transferring coins from the sender's bank - balance into the subaccount's exchange deposits - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Withdraw(self, request, context): - """Withdraw defines a method for withdrawing coins from a subaccount's - deposits to the user's bank balance - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def InstantSpotMarketLaunch(self, request, context): - """InstantSpotMarketLaunch defines method for creating a spot market by paying - listing fee without governance - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def InstantPerpetualMarketLaunch(self, request, context): - """InstantPerpetualMarketLaunch defines a method for creating a new perpetual - futures market by paying listing fee without governance - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def InstantExpiryFuturesMarketLaunch(self, request, context): - """InstantExpiryFuturesMarketLaunch defines a method for creating a new expiry - futures market by paying listing fee without governance - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateSpotLimitOrder(self, request, context): - """CreateSpotLimitOrder defines a method for creating a new spot limit order. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BatchCreateSpotLimitOrders(self, request, context): - """BatchCreateSpotLimitOrder defines a method for creating a new batch of spot - limit orders. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateSpotMarketOrder(self, request, context): - """CreateSpotMarketOrder defines a method for creating a new spot market - order. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CancelSpotOrder(self, request, context): - """MsgCancelSpotOrder defines a method for cancelling a spot order. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BatchCancelSpotOrders(self, request, context): - """BatchCancelSpotOrders defines a method for cancelling a batch of spot - orders in a given market. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BatchUpdateOrders(self, request, context): - """BatchUpdateOrders defines a method for updating a batch of orders. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PrivilegedExecuteContract(self, request, context): - """PrivilegedExecuteContract defines a method for executing a Cosmwasm - contract from the exchange module with privileged capabilities. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateDerivativeLimitOrder(self, request, context): - """CreateDerivativeLimitOrder defines a method for creating a new derivative - limit order. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BatchCreateDerivativeLimitOrders(self, request, context): - """BatchCreateDerivativeLimitOrders defines a method for creating a new batch - of derivative limit orders. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateDerivativeMarketOrder(self, request, context): - """MsgCreateDerivativeLimitOrder defines a method for creating a new - derivative market order. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CancelDerivativeOrder(self, request, context): - """MsgCancelDerivativeOrder defines a method for cancelling a derivative - order. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BatchCancelDerivativeOrders(self, request, context): - """MsgBatchCancelDerivativeOrders defines a method for cancelling a batch of - derivative limit orders. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def InstantBinaryOptionsMarketLaunch(self, request, context): - """InstantBinaryOptionsMarketLaunch defines method for creating a binary - options market by paying listing fee without governance - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateBinaryOptionsLimitOrder(self, request, context): - """CreateBinaryOptionsLimitOrder defines a method for creating a new binary - options limit order. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateBinaryOptionsMarketOrder(self, request, context): - """CreateBinaryOptionsMarketOrder defines a method for creating a new binary - options market order. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CancelBinaryOptionsOrder(self, request, context): - """MsgCancelBinaryOptionsOrder defines a method for cancelling a binary - options order. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BatchCancelBinaryOptionsOrders(self, request, context): - """BatchCancelBinaryOptionsOrders defines a method for cancelling a batch of - binary options limit orders. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubaccountTransfer(self, request, context): - """SubaccountTransfer defines a method for transfer between subaccounts - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ExternalTransfer(self, request, context): - """ExternalTransfer defines a method for transfer between external accounts - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def LiquidatePosition(self, request, context): - """LiquidatePosition defines a method for liquidating a position - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def EmergencySettleMarket(self, request, context): - """EmergencySettleMarket defines a method for emergency settling a market - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def IncreasePositionMargin(self, request, context): - """IncreasePositionMargin defines a method for increasing margin of a position - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DecreasePositionMargin(self, request, context): - """DecreasePositionMargin defines a method for decreasing margin of a position - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RewardsOptOut(self, request, context): - """RewardsOptOut defines a method for opting out of rewards - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AdminUpdateBinaryOptionsMarket(self, request, context): - """AdminUpdateBinaryOptionsMarket defines method for updating a binary options - market by admin - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateSpotMarket(self, request, context): - """UpdateSpotMarket modifies certain spot market fields (admin only) - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateDerivativeMarket(self, request, context): - """UpdateDerivativeMarket modifies certain derivative market fields (admin - only) - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AuthorizeStakeGrants(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ActivateStakeGrant(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Deposit': grpc.unary_unary_rpc_method_handler( - servicer.Deposit, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDeposit.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.SerializeToString, - ), - 'Withdraw': grpc.unary_unary_rpc_method_handler( - servicer.Withdraw, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdraw.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdrawResponse.SerializeToString, - ), - 'InstantSpotMarketLaunch': grpc.unary_unary_rpc_method_handler( - servicer.InstantSpotMarketLaunch, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunch.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunchResponse.SerializeToString, - ), - 'InstantPerpetualMarketLaunch': grpc.unary_unary_rpc_method_handler( - servicer.InstantPerpetualMarketLaunch, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunch.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunchResponse.SerializeToString, - ), - 'InstantExpiryFuturesMarketLaunch': grpc.unary_unary_rpc_method_handler( - servicer.InstantExpiryFuturesMarketLaunch, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunch.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunchResponse.SerializeToString, - ), - 'CreateSpotLimitOrder': grpc.unary_unary_rpc_method_handler( - servicer.CreateSpotLimitOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrderResponse.SerializeToString, - ), - 'BatchCreateSpotLimitOrders': grpc.unary_unary_rpc_method_handler( - servicer.BatchCreateSpotLimitOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrdersResponse.SerializeToString, - ), - 'CreateSpotMarketOrder': grpc.unary_unary_rpc_method_handler( - servicer.CreateSpotMarketOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrderResponse.SerializeToString, - ), - 'CancelSpotOrder': grpc.unary_unary_rpc_method_handler( - servicer.CancelSpotOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrderResponse.SerializeToString, - ), - 'BatchCancelSpotOrders': grpc.unary_unary_rpc_method_handler( - servicer.BatchCancelSpotOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrdersResponse.SerializeToString, - ), - 'BatchUpdateOrders': grpc.unary_unary_rpc_method_handler( - servicer.BatchUpdateOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrdersResponse.SerializeToString, - ), - 'PrivilegedExecuteContract': grpc.unary_unary_rpc_method_handler( - servicer.PrivilegedExecuteContract, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContract.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContractResponse.SerializeToString, - ), - 'CreateDerivativeLimitOrder': grpc.unary_unary_rpc_method_handler( - servicer.CreateDerivativeLimitOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrderResponse.SerializeToString, - ), - 'BatchCreateDerivativeLimitOrders': grpc.unary_unary_rpc_method_handler( - servicer.BatchCreateDerivativeLimitOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrdersResponse.SerializeToString, - ), - 'CreateDerivativeMarketOrder': grpc.unary_unary_rpc_method_handler( - servicer.CreateDerivativeMarketOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrderResponse.SerializeToString, - ), - 'CancelDerivativeOrder': grpc.unary_unary_rpc_method_handler( - servicer.CancelDerivativeOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrderResponse.SerializeToString, - ), - 'BatchCancelDerivativeOrders': grpc.unary_unary_rpc_method_handler( - servicer.BatchCancelDerivativeOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrdersResponse.SerializeToString, - ), - 'InstantBinaryOptionsMarketLaunch': grpc.unary_unary_rpc_method_handler( - servicer.InstantBinaryOptionsMarketLaunch, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunch.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunchResponse.SerializeToString, - ), - 'CreateBinaryOptionsLimitOrder': grpc.unary_unary_rpc_method_handler( - servicer.CreateBinaryOptionsLimitOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrderResponse.SerializeToString, - ), - 'CreateBinaryOptionsMarketOrder': grpc.unary_unary_rpc_method_handler( - servicer.CreateBinaryOptionsMarketOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrderResponse.SerializeToString, - ), - 'CancelBinaryOptionsOrder': grpc.unary_unary_rpc_method_handler( - servicer.CancelBinaryOptionsOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrderResponse.SerializeToString, - ), - 'BatchCancelBinaryOptionsOrders': grpc.unary_unary_rpc_method_handler( - servicer.BatchCancelBinaryOptionsOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrdersResponse.SerializeToString, - ), - 'SubaccountTransfer': grpc.unary_unary_rpc_method_handler( - servicer.SubaccountTransfer, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransfer.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransferResponse.SerializeToString, - ), - 'ExternalTransfer': grpc.unary_unary_rpc_method_handler( - servicer.ExternalTransfer, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransfer.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransferResponse.SerializeToString, - ), - 'LiquidatePosition': grpc.unary_unary_rpc_method_handler( - servicer.LiquidatePosition, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.SerializeToString, - ), - 'EmergencySettleMarket': grpc.unary_unary_rpc_method_handler( - servicer.EmergencySettleMarket, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarket.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarketResponse.SerializeToString, - ), - 'IncreasePositionMargin': grpc.unary_unary_rpc_method_handler( - servicer.IncreasePositionMargin, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMarginResponse.SerializeToString, - ), - 'DecreasePositionMargin': grpc.unary_unary_rpc_method_handler( - servicer.DecreasePositionMargin, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMargin.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMarginResponse.SerializeToString, - ), - 'RewardsOptOut': grpc.unary_unary_rpc_method_handler( - servicer.RewardsOptOut, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOut.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOutResponse.SerializeToString, - ), - 'AdminUpdateBinaryOptionsMarket': grpc.unary_unary_rpc_method_handler( - servicer.AdminUpdateBinaryOptionsMarket, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarket.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarketResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'UpdateSpotMarket': grpc.unary_unary_rpc_method_handler( - servicer.UpdateSpotMarket, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarket.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarketResponse.SerializeToString, - ), - 'UpdateDerivativeMarket': grpc.unary_unary_rpc_method_handler( - servicer.UpdateDerivativeMarket, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarket.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarketResponse.SerializeToString, - ), - 'AuthorizeStakeGrants': grpc.unary_unary_rpc_method_handler( - servicer.AuthorizeStakeGrants, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrants.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrantsResponse.SerializeToString, - ), - 'ActivateStakeGrant': grpc.unary_unary_rpc_method_handler( - servicer.ActivateStakeGrant, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrant.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrantResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.exchange.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.exchange.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the exchange Msg service. - """ - - @staticmethod - def Deposit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/Deposit', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Withdraw(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/Withdraw', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdraw.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdrawResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def InstantSpotMarketLaunch(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunch.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunchResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def InstantPerpetualMarketLaunch(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunch.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunchResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def InstantExpiryFuturesMarketLaunch(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunch.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunchResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CreateSpotLimitOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrder.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrderResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BatchCreateSpotLimitOrders(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrders.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrdersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CreateSpotMarketOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrder.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrderResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CancelSpotOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/CancelSpotOrder', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrder.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrderResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BatchCancelSpotOrders(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrders.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrdersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BatchUpdateOrders(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/BatchUpdateOrders', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrders.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrdersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PrivilegedExecuteContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContract.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContractResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CreateDerivativeLimitOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrder.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrderResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BatchCreateDerivativeLimitOrders(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrders.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrdersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CreateDerivativeMarketOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrder.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrderResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CancelDerivativeOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/CancelDerivativeOrder', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrder.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrderResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BatchCancelDerivativeOrders(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrders.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrdersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def InstantBinaryOptionsMarketLaunch(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunch.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunchResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CreateBinaryOptionsLimitOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrder.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrderResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CreateBinaryOptionsMarketOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrder.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrderResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CancelBinaryOptionsOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrder.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrderResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BatchCancelBinaryOptionsOrders(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrders.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrdersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SubaccountTransfer(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/SubaccountTransfer', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransfer.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransferResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ExternalTransfer(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/ExternalTransfer', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransfer.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransferResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def LiquidatePosition(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/LiquidatePosition', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def EmergencySettleMarket(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/EmergencySettleMarket', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarket.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarketResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def IncreasePositionMargin(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/IncreasePositionMargin', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMarginResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DecreasePositionMargin(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/DecreasePositionMargin', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMargin.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMarginResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def RewardsOptOut(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/RewardsOptOut', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOut.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOutResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AdminUpdateBinaryOptionsMarket(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarket.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarketResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/UpdateParams', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateSpotMarket(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/UpdateSpotMarket', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarket.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarketResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateDerivativeMarket(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/UpdateDerivativeMarket', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarket.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarketResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AuthorizeStakeGrants(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/AuthorizeStakeGrants', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrants.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrantsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ActivateStakeGrant(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.exchange.v1beta1.Msg/ActivateStakeGrant', - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrant.SerializeToString, - injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrantResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/injective/insurance/v1beta1/events_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/events_pb2.py deleted file mode 100644 index e6d0bcd1..00000000 --- a/pyinjective/proto/injective/insurance/v1beta1/events_pb2.py +++ /dev/null @@ -1,46 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/insurance/v1beta1/events.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.injective.insurance.v1beta1 import insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(injective/insurance/v1beta1/events.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a+injective/insurance/v1beta1/insurance.proto\"Z\n\x18\x45ventInsuranceFundUpdate\x12>\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundR\x04\x66und\"e\n\x16\x45ventRequestRedemption\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleR\x08schedule\"\xa8\x01\n\x17\x45ventWithdrawRedemption\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleR\x08schedule\x12@\n\x0bredeem_coin\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\nredeemCoin\"\xc3\x01\n\x0f\x45ventUnderwrite\x12 \n\x0bunderwriter\x18\x01 \x01(\tR\x0bunderwriter\x12\x1a\n\x08marketId\x18\x02 \x01(\tR\x08marketId\x12\x39\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit\x12\x37\n\x06shares\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06shares\"\x9b\x01\n\x16\x45ventInsuranceWithdraw\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rmarket_ticker\x18\x02 \x01(\tR\x0cmarketTicker\x12?\n\nwithdrawal\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\nwithdrawalB\x8d\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0b\x45ventsProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.events_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\013EventsProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' - _globals['_EVENTWITHDRAWREDEMPTION'].fields_by_name['redeem_coin']._loaded_options = None - _globals['_EVENTWITHDRAWREDEMPTION'].fields_by_name['redeem_coin']._serialized_options = b'\310\336\037\000' - _globals['_EVENTUNDERWRITE'].fields_by_name['deposit']._loaded_options = None - _globals['_EVENTUNDERWRITE'].fields_by_name['deposit']._serialized_options = b'\310\336\037\000' - _globals['_EVENTUNDERWRITE'].fields_by_name['shares']._loaded_options = None - _globals['_EVENTUNDERWRITE'].fields_by_name['shares']._serialized_options = b'\310\336\037\000' - _globals['_EVENTINSURANCEWITHDRAW'].fields_by_name['withdrawal']._loaded_options = None - _globals['_EVENTINSURANCEWITHDRAW'].fields_by_name['withdrawal']._serialized_options = b'\310\336\037\000' - _globals['_EVENTINSURANCEFUNDUPDATE']._serialized_start=172 - _globals['_EVENTINSURANCEFUNDUPDATE']._serialized_end=262 - _globals['_EVENTREQUESTREDEMPTION']._serialized_start=264 - _globals['_EVENTREQUESTREDEMPTION']._serialized_end=365 - _globals['_EVENTWITHDRAWREDEMPTION']._serialized_start=368 - _globals['_EVENTWITHDRAWREDEMPTION']._serialized_end=536 - _globals['_EVENTUNDERWRITE']._serialized_start=539 - _globals['_EVENTUNDERWRITE']._serialized_end=734 - _globals['_EVENTINSURANCEWITHDRAW']._serialized_start=737 - _globals['_EVENTINSURANCEWITHDRAW']._serialized_end=892 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py deleted file mode 100644 index 684b7b57..00000000 --- a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/insurance/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.injective.insurance.v1beta1 import insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/insurance/v1beta1/genesis.proto\x12\x1binjective.insurance.v1beta1\x1a+injective/insurance/v1beta1/insurance.proto\x1a\x14gogoproto/gogo.proto\"\x82\x03\n\x0cGenesisState\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12Y\n\x0finsurance_funds\x18\x02 \x03(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundB\x04\xc8\xde\x1f\x00R\x0einsuranceFunds\x12\x66\n\x13redemption_schedule\x18\x03 \x03(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleB\x04\xc8\xde\x1f\x00R\x12redemptionSchedule\x12-\n\x13next_share_denom_id\x18\x04 \x01(\x04R\x10nextShareDenomId\x12=\n\x1bnext_redemption_schedule_id\x18\x05 \x01(\x04R\x18nextRedemptionScheduleIdB\x8e\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0cGenesisProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\014GenesisProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['insurance_funds']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['insurance_funds']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['redemption_schedule']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['redemption_schedule']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=142 - _globals['_GENESISSTATE']._serialized_end=528 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py deleted file mode 100644 index f62013cb..00000000 --- a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/insurance/v1beta1/insurance.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+injective/insurance/v1beta1/insurance.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\xd7\x01\n\x06Params\x12\xb1\x01\n)default_redemption_notice_period_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB<\xc8\xde\x1f\x00\xf2\xde\x1f\x30yaml:\"default_redemption_notice_period_duration\"\x98\xdf\x1f\x01R%defaultRedemptionNoticePeriodDuration:\x19\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x10insurance/Params\"\xec\x04\n\rInsuranceFund\x12#\n\rdeposit_denom\x18\x01 \x01(\tR\x0c\x64\x65positDenom\x12;\n\x1ainsurance_pool_token_denom\x18\x02 \x01(\tR\x17insurancePoolTokenDenom\x12\x9a\x01\n!redemption_notice_period_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB4\xc8\xde\x1f\x00\xf2\xde\x1f(yaml:\"redemption_notice_period_duration\"\x98\xdf\x1f\x01R\x1eredemptionNoticePeriodDuration\x12\x37\n\x07\x62\x61lance\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07\x62\x61lance\x12>\n\x0btotal_share\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\ntotalShare\x12\x1b\n\tmarket_id\x18\x06 \x01(\tR\x08marketId\x12#\n\rmarket_ticker\x18\x07 \x01(\tR\x0cmarketTicker\x12\x1f\n\x0boracle_base\x18\x08 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\t \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\n \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\x0b \x01(\x03R\x06\x65xpiry\"\xb1\x02\n\x12RedemptionSchedule\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x1a\n\x08marketId\x18\x02 \x01(\tR\x08marketId\x12\x1a\n\x08redeemer\x18\x03 \x01(\tR\x08redeemer\x12\x84\x01\n\x19\x63laimable_redemption_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB,\xc8\xde\x1f\x00\xf2\xde\x1f yaml:\"claimable_redemption_time\"\x90\xdf\x1f\x01R\x17\x63laimableRedemptionTime\x12L\n\x11redemption_amount\x18\x05 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x10redemptionAmountB\x90\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0eInsuranceProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.insurance_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\016InsuranceProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' - _globals['_PARAMS'].fields_by_name['default_redemption_notice_period_duration']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_redemption_notice_period_duration']._serialized_options = b'\310\336\037\000\362\336\0370yaml:\"default_redemption_notice_period_duration\"\230\337\037\001' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\020insurance/Params' - _globals['_INSURANCEFUND'].fields_by_name['redemption_notice_period_duration']._loaded_options = None - _globals['_INSURANCEFUND'].fields_by_name['redemption_notice_period_duration']._serialized_options = b'\310\336\037\000\362\336\037(yaml:\"redemption_notice_period_duration\"\230\337\037\001' - _globals['_INSURANCEFUND'].fields_by_name['balance']._loaded_options = None - _globals['_INSURANCEFUND'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_INSURANCEFUND'].fields_by_name['total_share']._loaded_options = None - _globals['_INSURANCEFUND'].fields_by_name['total_share']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_REDEMPTIONSCHEDULE'].fields_by_name['claimable_redemption_time']._loaded_options = None - _globals['_REDEMPTIONSCHEDULE'].fields_by_name['claimable_redemption_time']._serialized_options = b'\310\336\037\000\362\336\037 yaml:\"claimable_redemption_time\"\220\337\037\001' - _globals['_REDEMPTIONSCHEDULE'].fields_by_name['redemption_amount']._loaded_options = None - _globals['_REDEMPTIONSCHEDULE'].fields_by_name['redemption_amount']._serialized_options = b'\310\336\037\000' - _globals['_PARAMS']._serialized_start=254 - _globals['_PARAMS']._serialized_end=469 - _globals['_INSURANCEFUND']._serialized_start=472 - _globals['_INSURANCEFUND']._serialized_end=1092 - _globals['_REDEMPTIONSCHEDULE']._serialized_start=1095 - _globals['_REDEMPTIONSCHEDULE']._serialized_end=1400 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py deleted file mode 100644 index 2562ac5a..00000000 --- a/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py +++ /dev/null @@ -1,76 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/insurance/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.injective.insurance.v1beta1 import insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.injective.insurance.v1beta1 import genesis_pb2 as injective_dot_insurance_dot_v1beta1_dot_genesis__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/insurance/v1beta1/query.proto\x12\x1binjective.insurance.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a+injective/insurance/v1beta1/insurance.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a)injective/insurance/v1beta1/genesis.proto\"\x1d\n\x1bQueryInsuranceParamsRequest\"a\n\x1cQueryInsuranceParamsResponse\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"8\n\x19QueryInsuranceFundRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\\\n\x1aQueryInsuranceFundResponse\x12>\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundR\x04\x66und\"\x1c\n\x1aQueryInsuranceFundsRequest\"e\n\x1bQueryInsuranceFundsResponse\x12\x46\n\x05\x66unds\x18\x01 \x03(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundB\x04\xc8\xde\x1f\x00R\x05\x66unds\"X\n QueryEstimatedRedemptionsRequest\x12\x1a\n\x08marketId\x18\x01 \x01(\tR\x08marketId\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"\\\n!QueryEstimatedRedemptionsResponse\x12\x37\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"V\n\x1eQueryPendingRedemptionsRequest\x12\x1a\n\x08marketId\x18\x01 \x01(\tR\x08marketId\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"Z\n\x1fQueryPendingRedemptionsResponse\x12\x37\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\x19\n\x17QueryModuleStateRequest\"[\n\x18QueryModuleStateResponse\x12?\n\x05state\x18\x01 \x01(\x0b\x32).injective.insurance.v1beta1.GenesisStateR\x05state2\x96\t\n\x05Query\x12\xb3\x01\n\x0fInsuranceParams\x12\x38.injective.insurance.v1beta1.QueryInsuranceParamsRequest\x1a\x39.injective.insurance.v1beta1.QueryInsuranceParamsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/injective/insurance/v1beta1/params\x12\xc1\x01\n\rInsuranceFund\x12\x36.injective.insurance.v1beta1.QueryInsuranceFundRequest\x1a\x37.injective.insurance.v1beta1.QueryInsuranceFundResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/insurance/v1beta1/insurance_fund/{market_id}\x12\xb9\x01\n\x0eInsuranceFunds\x12\x37.injective.insurance.v1beta1.QueryInsuranceFundsRequest\x1a\x38.injective.insurance.v1beta1.QueryInsuranceFundsResponse\"4\x82\xd3\xe4\x93\x02.\x12,/injective/insurance/v1beta1/insurance_funds\x12\xd1\x01\n\x14\x45stimatedRedemptions\x12=.injective.insurance.v1beta1.QueryEstimatedRedemptionsRequest\x1a>.injective.insurance.v1beta1.QueryEstimatedRedemptionsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/insurance/v1beta1/estimated_redemptions\x12\xc9\x01\n\x12PendingRedemptions\x12;.injective.insurance.v1beta1.QueryPendingRedemptionsRequest\x1a<.injective.insurance.v1beta1.QueryPendingRedemptionsResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/insurance/v1beta1/pending_redemptions\x12\xb6\x01\n\x14InsuranceModuleState\x12\x34.injective.insurance.v1beta1.QueryModuleStateRequest\x1a\x35.injective.insurance.v1beta1.QueryModuleStateResponse\"1\x82\xd3\xe4\x93\x02+\x12)/injective/insurance/v1beta1/module_stateB\x8c\x02\n\x1f\x63om.injective.insurance.v1beta1B\nQueryProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\nQueryProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' - _globals['_QUERYINSURANCEPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYINSURANCEPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_QUERYINSURANCEFUNDSRESPONSE'].fields_by_name['funds']._loaded_options = None - _globals['_QUERYINSURANCEFUNDSRESPONSE'].fields_by_name['funds']._serialized_options = b'\310\336\037\000' - _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE'].fields_by_name['amount']._loaded_options = None - _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_QUERYPENDINGREDEMPTIONSRESPONSE'].fields_by_name['amount']._loaded_options = None - _globals['_QUERYPENDINGREDEMPTIONSRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_QUERY'].methods_by_name['InsuranceParams']._loaded_options = None - _globals['_QUERY'].methods_by_name['InsuranceParams']._serialized_options = b'\202\323\344\223\002%\022#/injective/insurance/v1beta1/params' - _globals['_QUERY'].methods_by_name['InsuranceFund']._loaded_options = None - _globals['_QUERY'].methods_by_name['InsuranceFund']._serialized_options = b'\202\323\344\223\0029\0227/injective/insurance/v1beta1/insurance_fund/{market_id}' - _globals['_QUERY'].methods_by_name['InsuranceFunds']._loaded_options = None - _globals['_QUERY'].methods_by_name['InsuranceFunds']._serialized_options = b'\202\323\344\223\002.\022,/injective/insurance/v1beta1/insurance_funds' - _globals['_QUERY'].methods_by_name['EstimatedRedemptions']._loaded_options = None - _globals['_QUERY'].methods_by_name['EstimatedRedemptions']._serialized_options = b'\202\323\344\223\0024\0222/injective/insurance/v1beta1/estimated_redemptions' - _globals['_QUERY'].methods_by_name['PendingRedemptions']._loaded_options = None - _globals['_QUERY'].methods_by_name['PendingRedemptions']._serialized_options = b'\202\323\344\223\0022\0220/injective/insurance/v1beta1/pending_redemptions' - _globals['_QUERY'].methods_by_name['InsuranceModuleState']._loaded_options = None - _globals['_QUERY'].methods_by_name['InsuranceModuleState']._serialized_options = b'\202\323\344\223\002+\022)/injective/insurance/v1beta1/module_state' - _globals['_QUERYINSURANCEPARAMSREQUEST']._serialized_start=244 - _globals['_QUERYINSURANCEPARAMSREQUEST']._serialized_end=273 - _globals['_QUERYINSURANCEPARAMSRESPONSE']._serialized_start=275 - _globals['_QUERYINSURANCEPARAMSRESPONSE']._serialized_end=372 - _globals['_QUERYINSURANCEFUNDREQUEST']._serialized_start=374 - _globals['_QUERYINSURANCEFUNDREQUEST']._serialized_end=430 - _globals['_QUERYINSURANCEFUNDRESPONSE']._serialized_start=432 - _globals['_QUERYINSURANCEFUNDRESPONSE']._serialized_end=524 - _globals['_QUERYINSURANCEFUNDSREQUEST']._serialized_start=526 - _globals['_QUERYINSURANCEFUNDSREQUEST']._serialized_end=554 - _globals['_QUERYINSURANCEFUNDSRESPONSE']._serialized_start=556 - _globals['_QUERYINSURANCEFUNDSRESPONSE']._serialized_end=657 - _globals['_QUERYESTIMATEDREDEMPTIONSREQUEST']._serialized_start=659 - _globals['_QUERYESTIMATEDREDEMPTIONSREQUEST']._serialized_end=747 - _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE']._serialized_start=749 - _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE']._serialized_end=841 - _globals['_QUERYPENDINGREDEMPTIONSREQUEST']._serialized_start=843 - _globals['_QUERYPENDINGREDEMPTIONSREQUEST']._serialized_end=929 - _globals['_QUERYPENDINGREDEMPTIONSRESPONSE']._serialized_start=931 - _globals['_QUERYPENDINGREDEMPTIONSRESPONSE']._serialized_end=1021 - _globals['_QUERYMODULESTATEREQUEST']._serialized_start=1023 - _globals['_QUERYMODULESTATEREQUEST']._serialized_end=1048 - _globals['_QUERYMODULESTATERESPONSE']._serialized_start=1050 - _globals['_QUERYMODULESTATERESPONSE']._serialized_end=1141 - _globals['_QUERY']._serialized_start=1144 - _globals['_QUERY']._serialized_end=2318 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/query_pb2_grpc.py deleted file mode 100644 index 3404f464..00000000 --- a/pyinjective/proto/injective/insurance/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,302 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.injective.insurance.v1beta1 import query_pb2 as injective_dot_insurance_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.InsuranceParams = channel.unary_unary( - '/injective.insurance.v1beta1.Query/InsuranceParams', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsResponse.FromString, - _registered_method=True) - self.InsuranceFund = channel.unary_unary( - '/injective.insurance.v1beta1.Query/InsuranceFund', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundResponse.FromString, - _registered_method=True) - self.InsuranceFunds = channel.unary_unary( - '/injective.insurance.v1beta1.Query/InsuranceFunds', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsResponse.FromString, - _registered_method=True) - self.EstimatedRedemptions = channel.unary_unary( - '/injective.insurance.v1beta1.Query/EstimatedRedemptions', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsResponse.FromString, - _registered_method=True) - self.PendingRedemptions = channel.unary_unary( - '/injective.insurance.v1beta1.Query/PendingRedemptions', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsResponse.FromString, - _registered_method=True) - self.InsuranceModuleState = channel.unary_unary( - '/injective.insurance.v1beta1.Query/InsuranceModuleState', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service. - """ - - def InsuranceParams(self, request, context): - """Retrieves insurance params - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def InsuranceFund(self, request, context): - """Retrieves individual insurance fund information from market id - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def InsuranceFunds(self, request, context): - """Retrieves all insurance funds - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def EstimatedRedemptions(self, request, context): - """Retrives the value of insurance fund share token at current price (not - pending redemption) - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PendingRedemptions(self, request, context): - """Retrieves pending redemptions' share token at current price - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def InsuranceModuleState(self, request, context): - """Retrieves the entire insurance module's state - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'InsuranceParams': grpc.unary_unary_rpc_method_handler( - servicer.InsuranceParams, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsResponse.SerializeToString, - ), - 'InsuranceFund': grpc.unary_unary_rpc_method_handler( - servicer.InsuranceFund, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundResponse.SerializeToString, - ), - 'InsuranceFunds': grpc.unary_unary_rpc_method_handler( - servicer.InsuranceFunds, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsResponse.SerializeToString, - ), - 'EstimatedRedemptions': grpc.unary_unary_rpc_method_handler( - servicer.EstimatedRedemptions, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsResponse.SerializeToString, - ), - 'PendingRedemptions': grpc.unary_unary_rpc_method_handler( - servicer.PendingRedemptions, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsResponse.SerializeToString, - ), - 'InsuranceModuleState': grpc.unary_unary_rpc_method_handler( - servicer.InsuranceModuleState, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.insurance.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.insurance.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service. - """ - - @staticmethod - def InsuranceParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.insurance.v1beta1.Query/InsuranceParams', - injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsRequest.SerializeToString, - injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def InsuranceFund(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.insurance.v1beta1.Query/InsuranceFund', - injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundRequest.SerializeToString, - injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def InsuranceFunds(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.insurance.v1beta1.Query/InsuranceFunds', - injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsRequest.SerializeToString, - injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def EstimatedRedemptions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.insurance.v1beta1.Query/EstimatedRedemptions', - injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsRequest.SerializeToString, - injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PendingRedemptions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.insurance.v1beta1.Query/PendingRedemptions', - injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsRequest.SerializeToString, - injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def InsuranceModuleState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.insurance.v1beta1.Query/InsuranceModuleState', - injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py deleted file mode 100644 index b46ec667..00000000 --- a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py +++ /dev/null @@ -1,70 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/insurance/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.injective.insurance.v1beta1 import insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2 -from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/insurance/v1beta1/tx.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a+injective/insurance/v1beta1/insurance.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\x90\x03\n\x16MsgCreateInsuranceFund\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\x07 \x01(\x03R\x06\x65xpiry\x12H\n\x0finitial_deposit\x18\x08 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x0einitialDeposit:8\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* insurance/MsgCreateInsuranceFund\" \n\x1eMsgCreateInsuranceFundResponse\"\xb0\x01\n\rMsgUnderwrite\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x39\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit:/\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17insurance/MsgUnderwrite\"\x17\n\x15MsgUnderwriteResponse\"\xbc\x01\n\x14MsgRequestRedemption\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:6\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1einsurance/MsgRequestRedemption\"\x1e\n\x1cMsgRequestRedemptionResponse\"\xba\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x41\n\x06params\x18\x02 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:,\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x19insurance/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xfc\x03\n\x03Msg\x12\x87\x01\n\x13\x43reateInsuranceFund\x12\x33.injective.insurance.v1beta1.MsgCreateInsuranceFund\x1a;.injective.insurance.v1beta1.MsgCreateInsuranceFundResponse\x12l\n\nUnderwrite\x12*.injective.insurance.v1beta1.MsgUnderwrite\x1a\x32.injective.insurance.v1beta1.MsgUnderwriteResponse\x12\x81\x01\n\x11RequestRedemption\x12\x31.injective.insurance.v1beta1.MsgRequestRedemption\x1a\x39.injective.insurance.v1beta1.MsgRequestRedemptionResponse\x12r\n\x0cUpdateParams\x12,.injective.insurance.v1beta1.MsgUpdateParams\x1a\x34.injective.insurance.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x89\x02\n\x1f\x63om.injective.insurance.v1beta1B\x07TxProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\007TxProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' - _globals['_MSGCREATEINSURANCEFUND'].fields_by_name['initial_deposit']._loaded_options = None - _globals['_MSGCREATEINSURANCEFUND'].fields_by_name['initial_deposit']._serialized_options = b'\310\336\037\000' - _globals['_MSGCREATEINSURANCEFUND']._loaded_options = None - _globals['_MSGCREATEINSURANCEFUND']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260* insurance/MsgCreateInsuranceFund' - _globals['_MSGUNDERWRITE'].fields_by_name['deposit']._loaded_options = None - _globals['_MSGUNDERWRITE'].fields_by_name['deposit']._serialized_options = b'\310\336\037\000' - _globals['_MSGUNDERWRITE']._loaded_options = None - _globals['_MSGUNDERWRITE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\027insurance/MsgUnderwrite' - _globals['_MSGREQUESTREDEMPTION'].fields_by_name['amount']._loaded_options = None - _globals['_MSGREQUESTREDEMPTION'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_MSGREQUESTREDEMPTION']._loaded_options = None - _globals['_MSGREQUESTREDEMPTION']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\036insurance/MsgRequestRedemption' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\031insurance/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGCREATEINSURANCEFUND']._serialized_start=279 - _globals['_MSGCREATEINSURANCEFUND']._serialized_end=679 - _globals['_MSGCREATEINSURANCEFUNDRESPONSE']._serialized_start=681 - _globals['_MSGCREATEINSURANCEFUNDRESPONSE']._serialized_end=713 - _globals['_MSGUNDERWRITE']._serialized_start=716 - _globals['_MSGUNDERWRITE']._serialized_end=892 - _globals['_MSGUNDERWRITERESPONSE']._serialized_start=894 - _globals['_MSGUNDERWRITERESPONSE']._serialized_end=917 - _globals['_MSGREQUESTREDEMPTION']._serialized_start=920 - _globals['_MSGREQUESTREDEMPTION']._serialized_end=1108 - _globals['_MSGREQUESTREDEMPTIONRESPONSE']._serialized_start=1110 - _globals['_MSGREQUESTREDEMPTIONRESPONSE']._serialized_end=1140 - _globals['_MSGUPDATEPARAMS']._serialized_start=1143 - _globals['_MSGUPDATEPARAMS']._serialized_end=1329 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1331 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1356 - _globals['_MSG']._serialized_start=1359 - _globals['_MSG']._serialized_end=1867 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index b3f99501..00000000 --- a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,214 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.injective.insurance.v1beta1 import tx_pb2 as injective_dot_insurance_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the insurance Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateInsuranceFund = channel.unary_unary( - '/injective.insurance.v1beta1.Msg/CreateInsuranceFund', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFund.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFundResponse.FromString, - _registered_method=True) - self.Underwrite = channel.unary_unary( - '/injective.insurance.v1beta1.Msg/Underwrite', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwrite.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwriteResponse.FromString, - _registered_method=True) - self.RequestRedemption = channel.unary_unary( - '/injective.insurance.v1beta1.Msg/RequestRedemption', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemption.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemptionResponse.FromString, - _registered_method=True) - self.UpdateParams = channel.unary_unary( - '/injective.insurance.v1beta1.Msg/UpdateParams', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the insurance Msg service. - """ - - def CreateInsuranceFund(self, request, context): - """CreateInsuranceFund defines a method for creating an insurance fund - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Underwrite(self, request, context): - """Underwrite defines a method for depositing tokens to underwrite an - insurance fund - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RequestRedemption(self, request, context): - """RequestRedemption defines a method for requesting a redemption of the - sender's insurance fund tokens - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateInsuranceFund': grpc.unary_unary_rpc_method_handler( - servicer.CreateInsuranceFund, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFund.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFundResponse.SerializeToString, - ), - 'Underwrite': grpc.unary_unary_rpc_method_handler( - servicer.Underwrite, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwrite.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwriteResponse.SerializeToString, - ), - 'RequestRedemption': grpc.unary_unary_rpc_method_handler( - servicer.RequestRedemption, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemption.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemptionResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.insurance.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.insurance.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the insurance Msg service. - """ - - @staticmethod - def CreateInsuranceFund(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.insurance.v1beta1.Msg/CreateInsuranceFund', - injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFund.SerializeToString, - injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFundResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Underwrite(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.insurance.v1beta1.Msg/Underwrite', - injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwrite.SerializeToString, - injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwriteResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def RequestRedemption(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.insurance.v1beta1.Msg/RequestRedemption', - injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemption.SerializeToString, - injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemptionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.insurance.v1beta1.Msg/UpdateParams', - injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py deleted file mode 100644 index 6fb032f4..00000000 --- a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,48 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/ocr/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.injective.ocr.v1beta1 import ocr_pb2 as injective_dot_ocr_dot_v1beta1_dot_ocr__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#injective/ocr/v1beta1/genesis.proto\x12\x15injective.ocr.v1beta1\x1a\x1finjective/ocr/v1beta1/ocr.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x94\x06\n\x0cGenesisState\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x1d.injective.ocr.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12\x44\n\x0c\x66\x65\x65\x64_configs\x18\x02 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x0b\x66\x65\x65\x64\x43onfigs\x12_\n\x17latest_epoch_and_rounds\x18\x03 \x03(\x0b\x32(.injective.ocr.v1beta1.FeedEpochAndRoundR\x14latestEpochAndRounds\x12V\n\x12\x66\x65\x65\x64_transmissions\x18\x04 \x03(\x0b\x32\'.injective.ocr.v1beta1.FeedTransmissionR\x11\x66\x65\x65\x64Transmissions\x12r\n\x1blatest_aggregator_round_ids\x18\x05 \x03(\x0b\x32\x33.injective.ocr.v1beta1.FeedLatestAggregatorRoundIDsR\x18latestAggregatorRoundIds\x12\x44\n\x0creward_pools\x18\x06 \x03(\x0b\x32!.injective.ocr.v1beta1.RewardPoolR\x0brewardPools\x12Y\n\x17\x66\x65\x65\x64_observation_counts\x18\x07 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedCountsR\x15\x66\x65\x65\x64ObservationCounts\x12[\n\x18\x66\x65\x65\x64_transmission_counts\x18\x08 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedCountsR\x16\x66\x65\x65\x64TransmissionCounts\x12V\n\x12pending_payeeships\x18\t \x03(\x0b\x32\'.injective.ocr.v1beta1.PendingPayeeshipR\x11pendingPayeeships\"t\n\x10\x46\x65\x65\x64Transmission\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12G\n\x0ctransmission\x18\x02 \x01(\x0b\x32#.injective.ocr.v1beta1.TransmissionR\x0ctransmission\"z\n\x11\x46\x65\x65\x64\x45pochAndRound\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12L\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound\"g\n\x1c\x46\x65\x65\x64LatestAggregatorRoundIDs\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12.\n\x13\x61ggregator_round_id\x18\x02 \x01(\x04R\x11\x61ggregatorRoundId\"^\n\nRewardPool\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"[\n\nFeedCounts\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x34\n\x06\x63ounts\x18\x02 \x03(\x0b\x32\x1c.injective.ocr.v1beta1.CountR\x06\x63ounts\"7\n\x05\x43ount\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\"t\n\x10PendingPayeeship\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12 \n\x0btransmitter\x18\x02 \x01(\tR\x0btransmitter\x12%\n\x0eproposed_payee\x18\x03 \x01(\tR\rproposedPayeeB\xea\x01\n\x19\x63om.injective.ocr.v1beta1B\x0cGenesisProtoP\x01ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\xa2\x02\x03IOX\xaa\x02\x15Injective.Ocr.V1beta1\xca\x02\x15Injective\\Ocr\\V1beta1\xe2\x02!Injective\\Ocr\\V1beta1\\GPBMetadata\xea\x02\x17Injective::Ocr::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.ocr.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.injective.ocr.v1beta1B\014GenesisProtoP\001ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\242\002\003IOX\252\002\025Injective.Ocr.V1beta1\312\002\025Injective\\Ocr\\V1beta1\342\002!Injective\\Ocr\\V1beta1\\GPBMetadata\352\002\027Injective::Ocr::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_REWARDPOOL'].fields_by_name['amount']._loaded_options = None - _globals['_REWARDPOOL'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=150 - _globals['_GENESISSTATE']._serialized_end=938 - _globals['_FEEDTRANSMISSION']._serialized_start=940 - _globals['_FEEDTRANSMISSION']._serialized_end=1056 - _globals['_FEEDEPOCHANDROUND']._serialized_start=1058 - _globals['_FEEDEPOCHANDROUND']._serialized_end=1180 - _globals['_FEEDLATESTAGGREGATORROUNDIDS']._serialized_start=1182 - _globals['_FEEDLATESTAGGREGATORROUNDIDS']._serialized_end=1285 - _globals['_REWARDPOOL']._serialized_start=1287 - _globals['_REWARDPOOL']._serialized_end=1381 - _globals['_FEEDCOUNTS']._serialized_start=1383 - _globals['_FEEDCOUNTS']._serialized_end=1474 - _globals['_COUNT']._serialized_start=1476 - _globals['_COUNT']._serialized_end=1531 - _globals['_PENDINGPAYEESHIP']._serialized_start=1533 - _globals['_PENDINGPAYEESHIP']._serialized_end=1649 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py deleted file mode 100644 index 3bd0c99d..00000000 --- a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py +++ /dev/null @@ -1,114 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/ocr/v1beta1/ocr.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/ocr/v1beta1/ocr.proto\x12\x15injective.ocr.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x11\x61mino/amino.proto\"\x93\x01\n\x06Params\x12\x1d\n\nlink_denom\x18\x01 \x01(\tR\tlinkDenom\x12\x32\n\x15payout_block_interval\x18\x02 \x01(\x04R\x13payoutBlockInterval\x12!\n\x0cmodule_admin\x18\x03 \x01(\tR\x0bmoduleAdmin:\x13\xe8\xa0\x1f\x01\x8a\xe7\xb0*\nocr/Params\"\xaa\x02\n\nFeedConfig\x12\x18\n\x07signers\x18\x01 \x03(\tR\x07signers\x12\"\n\x0ctransmitters\x18\x02 \x03(\tR\x0ctransmitters\x12\x0c\n\x01\x66\x18\x03 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x04 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x05 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x06 \x01(\x0cR\x0eoffchainConfig\x12H\n\rmodule_params\x18\x07 \x01(\x0b\x32#.injective.ocr.v1beta1.ModuleParamsR\x0cmoduleParams\"\xbe\x01\n\x0e\x46\x65\x65\x64\x43onfigInfo\x12\x30\n\x14latest_config_digest\x18\x01 \x01(\x0cR\x12latestConfigDigest\x12\x0c\n\x01\x66\x18\x02 \x01(\rR\x01\x66\x12\x0c\n\x01n\x18\x03 \x01(\rR\x01n\x12!\n\x0c\x63onfig_count\x18\x04 \x01(\x04R\x0b\x63onfigCount\x12;\n\x1alatest_config_block_number\x18\x05 \x01(\x03R\x17latestConfigBlockNumber\"\xff\x03\n\x0cModuleParams\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x42\n\nmin_answer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tminAnswer\x12\x42\n\nmax_answer\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmaxAnswer\x12O\n\x14link_per_observation\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x12linkPerObservation\x12Q\n\x15link_per_transmission\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x13linkPerTransmission\x12\x1d\n\nlink_denom\x18\x06 \x01(\tR\tlinkDenom\x12%\n\x0eunique_reports\x18\x07 \x01(\x08R\runiqueReports\x12 \n\x0b\x64\x65scription\x18\x08 \x01(\tR\x0b\x64\x65scription\x12\x1d\n\nfeed_admin\x18\t \x01(\tR\tfeedAdmin\x12#\n\rbilling_admin\x18\n \x01(\tR\x0c\x62illingAdmin\"\x87\x02\n\x0e\x43ontractConfig\x12!\n\x0c\x63onfig_count\x18\x01 \x01(\x04R\x0b\x63onfigCount\x12\x18\n\x07signers\x18\x02 \x03(\tR\x07signers\x12\"\n\x0ctransmitters\x18\x03 \x03(\tR\x0ctransmitters\x12\x0c\n\x01\x66\x18\x04 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x05 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x06 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x07 \x01(\x0cR\x0eoffchainConfig\"\xc8\x01\n\x11SetConfigProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x06\x63onfig\x18\x03 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x06\x63onfig:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15ocr/SetConfigProposal\"\xb4\x04\n\x0e\x46\x65\x65\x64Properties\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x0c\n\x01\x66\x18\x02 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x03 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x04 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x05 \x01(\x0cR\x0eoffchainConfig\x12\x42\n\nmin_answer\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tminAnswer\x12\x42\n\nmax_answer\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmaxAnswer\x12O\n\x14link_per_observation\x18\x08 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x12linkPerObservation\x12Q\n\x15link_per_transmission\x18\t \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x13linkPerTransmission\x12%\n\x0eunique_reports\x18\n \x01(\x08R\runiqueReports\x12 \n\x0b\x64\x65scription\x18\x0b \x01(\tR\x0b\x64\x65scription\"\xc4\x02\n\x16SetBatchConfigProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x18\n\x07signers\x18\x03 \x03(\tR\x07signers\x12\"\n\x0ctransmitters\x18\x04 \x03(\tR\x0ctransmitters\x12\x1d\n\nlink_denom\x18\x05 \x01(\tR\tlinkDenom\x12N\n\x0f\x66\x65\x65\x64_properties\x18\x06 \x03(\x0b\x32%.injective.ocr.v1beta1.FeedPropertiesR\x0e\x66\x65\x65\x64Properties:E\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1aocr/SetBatchConfigProposal\"2\n\x18OracleObservationsCounts\x12\x16\n\x06\x63ounts\x18\x01 \x03(\rR\x06\x63ounts\"V\n\x11GasReimbursements\x12\x41\n\x0ereimbursements\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x0ereimbursements\"U\n\x05Payee\x12)\n\x10transmitter_addr\x18\x01 \x01(\tR\x0ftransmitterAddr\x12!\n\x0cpayment_addr\x18\x02 \x01(\tR\x0bpaymentAddr\"\xb9\x01\n\x0cTransmission\x12;\n\x06\x61nswer\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12\x35\n\x16observations_timestamp\x18\x02 \x01(\x03R\x15observationsTimestamp\x12\x35\n\x16transmission_timestamp\x18\x03 \x01(\x03R\x15transmissionTimestamp\";\n\rEpochAndRound\x12\x14\n\x05\x65poch\x18\x01 \x01(\x04R\x05\x65poch\x12\x14\n\x05round\x18\x02 \x01(\x04R\x05round\"\xa6\x01\n\x06Report\x12\x35\n\x16observations_timestamp\x18\x01 \x01(\x03R\x15observationsTimestamp\x12\x1c\n\tobservers\x18\x02 \x01(\x0cR\tobservers\x12G\n\x0cobservations\x18\x03 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cobservations\"\x96\x01\n\x0cReportToSign\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12\x14\n\x05\x65poch\x18\x02 \x01(\x04R\x05\x65poch\x12\x14\n\x05round\x18\x03 \x01(\x04R\x05round\x12\x1d\n\nextra_hash\x18\x04 \x01(\x0cR\textraHash\x12\x16\n\x06report\x18\x05 \x01(\x0cR\x06report\"\x94\x01\n\x0f\x45ventOraclePaid\x12)\n\x10transmitter_addr\x18\x01 \x01(\tR\x0ftransmitterAddr\x12\x1d\n\npayee_addr\x18\x02 \x01(\tR\tpayeeAddr\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\xcc\x01\n\x12\x45ventAnswerUpdated\x12\x37\n\x07\x63urrent\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07\x63urrent\x12\x38\n\x08round_id\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07roundId\x12\x43\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\tupdatedAt\"\xad\x01\n\rEventNewRound\x12\x38\n\x08round_id\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07roundId\x12\x1d\n\nstarted_by\x18\x02 \x01(\tR\tstartedBy\x12\x43\n\nstarted_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\tstartedAt\"M\n\x10\x45ventTransmitted\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12\x14\n\x05\x65poch\x18\x02 \x01(\x04R\x05\x65poch\"\xcf\x03\n\x14\x45ventNewTransmission\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12.\n\x13\x61ggregator_round_id\x18\x02 \x01(\rR\x11\x61ggregatorRoundId\x12;\n\x06\x61nswer\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12 \n\x0btransmitter\x18\x04 \x01(\tR\x0btransmitter\x12\x35\n\x16observations_timestamp\x18\x05 \x01(\x03R\x15observationsTimestamp\x12G\n\x0cobservations\x18\x06 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cobservations\x12\x1c\n\tobservers\x18\x07 \x01(\x0cR\tobservers\x12#\n\rconfig_digest\x18\x08 \x01(\x0cR\x0c\x63onfigDigest\x12L\n\x0f\x65poch_and_round\x18\t \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound\"\xf9\x01\n\x0e\x45ventConfigSet\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12?\n\x1cprevious_config_block_number\x18\x02 \x01(\x03R\x19previousConfigBlockNumber\x12\x39\n\x06\x63onfig\x18\x03 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x06\x63onfig\x12\x46\n\x0b\x63onfig_info\x18\x04 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfoR\nconfigInfoB\xe6\x01\n\x19\x63om.injective.ocr.v1beta1B\x08OcrProtoP\x01ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\xa2\x02\x03IOX\xaa\x02\x15Injective.Ocr.V1beta1\xca\x02\x15Injective\\Ocr\\V1beta1\xe2\x02!Injective\\Ocr\\V1beta1\\GPBMetadata\xea\x02\x17Injective::Ocr::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.ocr.v1beta1.ocr_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.injective.ocr.v1beta1B\010OcrProtoP\001ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\242\002\003IOX\252\002\025Injective.Ocr.V1beta1\312\002\025Injective\\Ocr\\V1beta1\342\002!Injective\\Ocr\\V1beta1\\GPBMetadata\352\002\027Injective::Ocr::V1beta1' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\nocr/Params' - _globals['_MODULEPARAMS'].fields_by_name['min_answer']._loaded_options = None - _globals['_MODULEPARAMS'].fields_by_name['min_answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MODULEPARAMS'].fields_by_name['max_answer']._loaded_options = None - _globals['_MODULEPARAMS'].fields_by_name['max_answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MODULEPARAMS'].fields_by_name['link_per_observation']._loaded_options = None - _globals['_MODULEPARAMS'].fields_by_name['link_per_observation']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_MODULEPARAMS'].fields_by_name['link_per_transmission']._loaded_options = None - _globals['_MODULEPARAMS'].fields_by_name['link_per_transmission']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_SETCONFIGPROPOSAL']._loaded_options = None - _globals['_SETCONFIGPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025ocr/SetConfigProposal' - _globals['_FEEDPROPERTIES'].fields_by_name['min_answer']._loaded_options = None - _globals['_FEEDPROPERTIES'].fields_by_name['min_answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_FEEDPROPERTIES'].fields_by_name['max_answer']._loaded_options = None - _globals['_FEEDPROPERTIES'].fields_by_name['max_answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_FEEDPROPERTIES'].fields_by_name['link_per_observation']._loaded_options = None - _globals['_FEEDPROPERTIES'].fields_by_name['link_per_observation']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_FEEDPROPERTIES'].fields_by_name['link_per_transmission']._loaded_options = None - _globals['_FEEDPROPERTIES'].fields_by_name['link_per_transmission']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_SETBATCHCONFIGPROPOSAL']._loaded_options = None - _globals['_SETBATCHCONFIGPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\032ocr/SetBatchConfigProposal' - _globals['_TRANSMISSION'].fields_by_name['answer']._loaded_options = None - _globals['_TRANSMISSION'].fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_REPORT'].fields_by_name['observations']._loaded_options = None - _globals['_REPORT'].fields_by_name['observations']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EVENTORACLEPAID'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTORACLEPAID'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_EVENTANSWERUPDATED'].fields_by_name['current']._loaded_options = None - _globals['_EVENTANSWERUPDATED'].fields_by_name['current']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_EVENTANSWERUPDATED'].fields_by_name['round_id']._loaded_options = None - _globals['_EVENTANSWERUPDATED'].fields_by_name['round_id']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_EVENTANSWERUPDATED'].fields_by_name['updated_at']._loaded_options = None - _globals['_EVENTANSWERUPDATED'].fields_by_name['updated_at']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_EVENTNEWROUND'].fields_by_name['round_id']._loaded_options = None - _globals['_EVENTNEWROUND'].fields_by_name['round_id']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_EVENTNEWROUND'].fields_by_name['started_at']._loaded_options = None - _globals['_EVENTNEWROUND'].fields_by_name['started_at']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_EVENTNEWTRANSMISSION'].fields_by_name['answer']._loaded_options = None - _globals['_EVENTNEWTRANSMISSION'].fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EVENTNEWTRANSMISSION'].fields_by_name['observations']._loaded_options = None - _globals['_EVENTNEWTRANSMISSION'].fields_by_name['observations']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS']._serialized_start=192 - _globals['_PARAMS']._serialized_end=339 - _globals['_FEEDCONFIG']._serialized_start=342 - _globals['_FEEDCONFIG']._serialized_end=640 - _globals['_FEEDCONFIGINFO']._serialized_start=643 - _globals['_FEEDCONFIGINFO']._serialized_end=833 - _globals['_MODULEPARAMS']._serialized_start=836 - _globals['_MODULEPARAMS']._serialized_end=1347 - _globals['_CONTRACTCONFIG']._serialized_start=1350 - _globals['_CONTRACTCONFIG']._serialized_end=1613 - _globals['_SETCONFIGPROPOSAL']._serialized_start=1616 - _globals['_SETCONFIGPROPOSAL']._serialized_end=1816 - _globals['_FEEDPROPERTIES']._serialized_start=1819 - _globals['_FEEDPROPERTIES']._serialized_end=2383 - _globals['_SETBATCHCONFIGPROPOSAL']._serialized_start=2386 - _globals['_SETBATCHCONFIGPROPOSAL']._serialized_end=2710 - _globals['_ORACLEOBSERVATIONSCOUNTS']._serialized_start=2712 - _globals['_ORACLEOBSERVATIONSCOUNTS']._serialized_end=2762 - _globals['_GASREIMBURSEMENTS']._serialized_start=2764 - _globals['_GASREIMBURSEMENTS']._serialized_end=2850 - _globals['_PAYEE']._serialized_start=2852 - _globals['_PAYEE']._serialized_end=2937 - _globals['_TRANSMISSION']._serialized_start=2940 - _globals['_TRANSMISSION']._serialized_end=3125 - _globals['_EPOCHANDROUND']._serialized_start=3127 - _globals['_EPOCHANDROUND']._serialized_end=3186 - _globals['_REPORT']._serialized_start=3189 - _globals['_REPORT']._serialized_end=3355 - _globals['_REPORTTOSIGN']._serialized_start=3358 - _globals['_REPORTTOSIGN']._serialized_end=3508 - _globals['_EVENTORACLEPAID']._serialized_start=3511 - _globals['_EVENTORACLEPAID']._serialized_end=3659 - _globals['_EVENTANSWERUPDATED']._serialized_start=3662 - _globals['_EVENTANSWERUPDATED']._serialized_end=3866 - _globals['_EVENTNEWROUND']._serialized_start=3869 - _globals['_EVENTNEWROUND']._serialized_end=4042 - _globals['_EVENTTRANSMITTED']._serialized_start=4044 - _globals['_EVENTTRANSMITTED']._serialized_end=4121 - _globals['_EVENTNEWTRANSMISSION']._serialized_start=4124 - _globals['_EVENTNEWTRANSMISSION']._serialized_end=4587 - _globals['_EVENTCONFIGSET']._serialized_start=4590 - _globals['_EVENTCONFIGSET']._serialized_end=4839 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2_grpc.py b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py deleted file mode 100644 index 3f1bd1a4..00000000 --- a/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py +++ /dev/null @@ -1,78 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/ocr/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.injective.ocr.v1beta1 import ocr_pb2 as injective_dot_ocr_dot_v1beta1_dot_ocr__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.injective.ocr.v1beta1 import genesis_pb2 as injective_dot_ocr_dot_v1beta1_dot_genesis__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/ocr/v1beta1/query.proto\x12\x15injective.ocr.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1finjective/ocr/v1beta1/ocr.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a#injective/ocr/v1beta1/genesis.proto\"\x14\n\x12QueryParamsRequest\"R\n\x13QueryParamsResponse\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x1d.injective.ocr.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"1\n\x16QueryFeedConfigRequest\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\"\xae\x01\n\x17QueryFeedConfigResponse\x12O\n\x10\x66\x65\x65\x64_config_info\x18\x01 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfoR\x0e\x66\x65\x65\x64\x43onfigInfo\x12\x42\n\x0b\x66\x65\x65\x64_config\x18\x02 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\nfeedConfig\"5\n\x1aQueryFeedConfigInfoRequest\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\"\xbc\x01\n\x1bQueryFeedConfigInfoResponse\x12O\n\x10\x66\x65\x65\x64_config_info\x18\x01 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfoR\x0e\x66\x65\x65\x64\x43onfigInfo\x12L\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound\"2\n\x17QueryLatestRoundRequest\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\"{\n\x18QueryLatestRoundResponse\x12&\n\x0flatest_round_id\x18\x01 \x01(\x04R\rlatestRoundId\x12\x37\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32#.injective.ocr.v1beta1.TransmissionR\x04\x64\x61ta\"@\n%QueryLatestTransmissionDetailsRequest\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\"\xd4\x01\n&QueryLatestTransmissionDetailsResponse\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12L\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound\x12\x37\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32#.injective.ocr.v1beta1.TransmissionR\x04\x64\x61ta\":\n\x16QueryOwedAmountRequest\x12 \n\x0btransmitter\x18\x01 \x01(\tR\x0btransmitter\"R\n\x17QueryOwedAmountResponse\x12\x37\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\x19\n\x17QueryModuleStateRequest\"U\n\x18QueryModuleStateResponse\x12\x39\n\x05state\x18\x01 \x01(\x0b\x32#.injective.ocr.v1beta1.GenesisStateR\x05state2\xbb\t\n\x05Query\x12\x86\x01\n\x06Params\x12).injective.ocr.v1beta1.QueryParamsRequest\x1a*.injective.ocr.v1beta1.QueryParamsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/chainlink/ocr/v1beta1/params\x12\xa1\x01\n\nFeedConfig\x12-.injective.ocr.v1beta1.QueryFeedConfigRequest\x1a..injective.ocr.v1beta1.QueryFeedConfigResponse\"4\x82\xd3\xe4\x93\x02.\x12,/chainlink/ocr/v1beta1/feed_config/{feed_id}\x12\xb2\x01\n\x0e\x46\x65\x65\x64\x43onfigInfo\x12\x31.injective.ocr.v1beta1.QueryFeedConfigInfoRequest\x1a\x32.injective.ocr.v1beta1.QueryFeedConfigInfoResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/chainlink/ocr/v1beta1/feed_config_info/{feed_id}\x12\xa5\x01\n\x0bLatestRound\x12..injective.ocr.v1beta1.QueryLatestRoundRequest\x1a/.injective.ocr.v1beta1.QueryLatestRoundResponse\"5\x82\xd3\xe4\x93\x02/\x12-/chainlink/ocr/v1beta1/latest_round/{feed_id}\x12\xde\x01\n\x19LatestTransmissionDetails\x12<.injective.ocr.v1beta1.QueryLatestTransmissionDetailsRequest\x1a=.injective.ocr.v1beta1.QueryLatestTransmissionDetailsResponse\"D\x82\xd3\xe4\x93\x02>\x12\022\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12#\n\rband_relayers\x18\x02 \x03(\tR\x0c\x62\x61ndRelayers\x12T\n\x11\x62\x61nd_price_states\x18\x03 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0f\x62\x61ndPriceStates\x12_\n\x17price_feed_price_states\x18\x04 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedStateR\x14priceFeedPriceStates\x12`\n\x15\x63oinbase_price_states\x18\x05 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceStateR\x13\x63oinbasePriceStates\x12[\n\x15\x62\x61nd_ibc_price_states\x18\x06 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x12\x62\x61ndIbcPriceStates\x12\x64\n\x18\x62\x61nd_ibc_oracle_requests\x18\x07 \x03(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestR\x15\x62\x61ndIbcOracleRequests\x12U\n\x0f\x62\x61nd_ibc_params\x18\x08 \x01(\x0b\x32\'.injective.oracle.v1beta1.BandIBCParamsB\x04\xc8\xde\x1f\x00R\rbandIbcParams\x12\x38\n\x19\x62\x61nd_ibc_latest_client_id\x18\t \x01(\x04R\x15\x62\x61ndIbcLatestClientId\x12S\n\x10\x63\x61lldata_records\x18\n \x03(\x0b\x32(.injective.oracle.v1beta1.CalldataRecordR\x0f\x63\x61lldataRecords\x12:\n\x1a\x62\x61nd_ibc_latest_request_id\x18\x0b \x01(\x04R\x16\x62\x61ndIbcLatestRequestId\x12\x63\n\x16\x63hainlink_price_states\x18\x0c \x03(\x0b\x32-.injective.oracle.v1beta1.ChainlinkPriceStateR\x14\x63hainlinkPriceStates\x12`\n\x18historical_price_records\x18\r \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecordsR\x16historicalPriceRecords\x12P\n\x0fprovider_states\x18\x0e \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderStateR\x0eproviderStates\x12T\n\x11pyth_price_states\x18\x0f \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x0fpythPriceStates\x12W\n\x12stork_price_states\x18\x10 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x10storkPriceStates\x12)\n\x10stork_publishers\x18\x11 \x03(\tR\x0fstorkPublishers\"I\n\x0e\x43\x61lldataRecord\x12\x1b\n\tclient_id\x18\x01 \x01(\x04R\x08\x63lientId\x12\x1a\n\x08\x63\x61lldata\x18\x02 \x01(\x0cR\x08\x63\x61lldataB\xfc\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0cGenesisProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\014GenesisProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['band_ibc_params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['band_ibc_params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=130 - _globals['_GENESISSTATE']._serialized_end=1510 - _globals['_CALLDATARECORD']._serialized_start=1512 - _globals['_CALLDATARECORD']._serialized_end=1585 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py deleted file mode 100644 index e25462f1..00000000 --- a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py +++ /dev/null @@ -1,124 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/oracle/v1beta1/oracle.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%injective/oracle/v1beta1/oracle.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"E\n\x06Params\x12#\n\rpyth_contract\x18\x01 \x01(\tR\x0cpythContract:\x16\xe8\xa0\x1f\x01\x8a\xe7\xb0*\roracle/Params\"k\n\nOracleInfo\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x45\n\x0boracle_type\x18\x02 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xd6\x01\n\x13\x43hainlinkPriceState\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12;\n\x06\x61nswer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp\x12K\n\x0bprice_state\x18\x04 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xea\x01\n\x0e\x42\x61ndPriceState\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x31\n\x04rate\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x04rate\x12!\n\x0cresolve_time\x18\x03 \x01(\x04R\x0bresolveTime\x12\x1d\n\nrequest_ID\x18\x04 \x01(\x04R\trequestID\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\x9d\x01\n\x0ePriceFeedState\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x02 \x01(\tR\x05quote\x12\x45\n\x0bprice_state\x18\x03 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\npriceState\x12\x1a\n\x08relayers\x18\x04 \x03(\tR\x08relayers\"F\n\x0cProviderInfo\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x02 \x03(\tR\x08relayers\"\xbe\x01\n\rProviderState\x12K\n\rprovider_info\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.ProviderInfoR\x0cproviderInfo\x12`\n\x15provider_price_states\x18\x02 \x03(\x0b\x32,.injective.oracle.v1beta1.ProviderPriceStateR\x13providerPriceStates\"h\n\x12ProviderPriceState\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12:\n\x05state\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\x05state\"9\n\rPriceFeedInfo\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x02 \x01(\tR\x05quote\"K\n\x0ePriceFeedPrice\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\"\xbb\x01\n\x12\x43oinbasePriceState\x12\x12\n\x04kind\x18\x01 \x01(\tR\x04kind\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x10\n\x03key\x18\x03 \x01(\tR\x03key\x12\x14\n\x05value\x18\x04 \x01(\x04R\x05value\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xcf\x01\n\x0fStorkPriceState\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\x12\x39\n\x05value\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05value\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xb5\x01\n\nPriceState\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12N\n\x10\x63umulative_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x63umulativePrice\x12\x1c\n\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\"\xd6\x02\n\x0ePythPriceState\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12@\n\tema_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x65maPrice\x12>\n\x08\x65ma_conf\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x07\x65maConf\x12\x37\n\x04\x63onf\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04\x63onf\x12!\n\x0cpublish_time\x18\x05 \x01(\x04R\x0bpublishTime\x12K\n\x0bprice_state\x18\x06 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\x86\x03\n\x11\x42\x61ndOracleRequest\x12\x1d\n\nrequest_id\x18\x01 \x01(\x04R\trequestId\x12(\n\x10oracle_script_id\x18\x02 \x01(\x03R\x0eoracleScriptId\x12\x18\n\x07symbols\x18\x03 \x03(\tR\x07symbols\x12\x1b\n\task_count\x18\x04 \x01(\x04R\x08\x61skCount\x12\x1b\n\tmin_count\x18\x05 \x01(\x04R\x08minCount\x12h\n\tfee_limit\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08\x66\x65\x65Limit\x12\x1f\n\x0bprepare_gas\x18\x07 \x01(\x04R\nprepareGas\x12\x1f\n\x0b\x65xecute_gas\x18\x08 \x01(\x04R\nexecuteGas\x12(\n\x10min_source_count\x18\t \x01(\x04R\x0eminSourceCount\"\x86\x02\n\rBandIBCParams\x12(\n\x10\x62\x61nd_ibc_enabled\x18\x01 \x01(\x08R\x0e\x62\x61ndIbcEnabled\x12\x30\n\x14ibc_request_interval\x18\x02 \x01(\x03R\x12ibcRequestInterval\x12,\n\x12ibc_source_channel\x18\x03 \x01(\tR\x10ibcSourceChannel\x12\x1f\n\x0bibc_version\x18\x04 \x01(\tR\nibcVersion\x12\x1e\n\x0bibc_port_id\x18\x05 \x01(\tR\tibcPortId\x12*\n\x11legacy_oracle_ids\x18\x06 \x03(\x03R\x0flegacyOracleIds\"\x8f\x01\n\x14SymbolPriceTimestamp\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\x12\x1c\n\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\"y\n\x13LastPriceTimestamps\x12\x62\n\x15last_price_timestamps\x18\x01 \x03(\x0b\x32..injective.oracle.v1beta1.SymbolPriceTimestampR\x13lastPriceTimestamps\"\xc2\x01\n\x0cPriceRecords\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\x12W\n\x14latest_price_records\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecordR\x12latestPriceRecords\"f\n\x0bPriceRecord\x12\x1c\n\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\"\xf3\x03\n\x12MetadataStatistics\x12\x1f\n\x0bgroup_count\x18\x01 \x01(\rR\ngroupCount\x12.\n\x13records_sample_size\x18\x02 \x01(\rR\x11recordsSampleSize\x12\x37\n\x04mean\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04mean\x12\x37\n\x04twap\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04twap\x12\'\n\x0f\x66irst_timestamp\x18\x05 \x01(\x03R\x0e\x66irstTimestamp\x12%\n\x0elast_timestamp\x18\x06 \x01(\x03R\rlastTimestamp\x12@\n\tmin_price\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08minPrice\x12@\n\tmax_price\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08maxPrice\x12\x46\n\x0cmedian_price\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bmedianPrice\"\xe1\x01\n\x10PriceAttestation\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12\x14\n\x05price\x18\x02 \x01(\x03R\x05price\x12\x12\n\x04\x63onf\x18\x03 \x01(\x04R\x04\x63onf\x12\x12\n\x04\x65xpo\x18\x04 \x01(\x05R\x04\x65xpo\x12\x1b\n\tema_price\x18\x05 \x01(\x03R\x08\x65maPrice\x12\x19\n\x08\x65ma_conf\x18\x06 \x01(\x04R\x07\x65maConf\x12\x19\n\x08\x65ma_expo\x18\x07 \x01(\x05R\x07\x65maExpo\x12!\n\x0cpublish_time\x18\x08 \x01(\x03R\x0bpublishTime\"}\n\tAssetPair\x12\x19\n\x08\x61sset_id\x18\x01 \x01(\tR\x07\x61ssetId\x12U\n\rsigned_prices\x18\x02 \x03(\x0b\x32\x30.injective.oracle.v1beta1.SignedPriceOfAssetPairR\x0csignedPrices\"\xb4\x01\n\x16SignedPriceOfAssetPair\x12#\n\rpublisher_key\x18\x01 \x01(\tR\x0cpublisherKey\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x39\n\x05price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature*\xaa\x01\n\nOracleType\x12\x0f\n\x0bUnspecified\x10\x00\x12\x08\n\x04\x42\x61nd\x10\x01\x12\r\n\tPriceFeed\x10\x02\x12\x0c\n\x08\x43oinbase\x10\x03\x12\r\n\tChainlink\x10\x04\x12\t\n\x05Razor\x10\x05\x12\x07\n\x03\x44ia\x10\x06\x12\x08\n\x04\x41PI3\x10\x07\x12\x07\n\x03Uma\x10\x08\x12\x08\n\x04Pyth\x10\t\x12\x0b\n\x07\x42\x61ndIBC\x10\n\x12\x0c\n\x08Provider\x10\x0b\x12\t\n\x05Stork\x10\x0c\x42\xff\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0bOracleProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1\xc0\xe3\x1e\x01\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.oracle_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\013OracleProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1\300\343\036\001' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\roracle/Params' - _globals['_CHAINLINKPRICESTATE'].fields_by_name['answer']._loaded_options = None - _globals['_CHAINLINKPRICESTATE'].fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_CHAINLINKPRICESTATE'].fields_by_name['price_state']._loaded_options = None - _globals['_CHAINLINKPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' - _globals['_BANDPRICESTATE'].fields_by_name['rate']._loaded_options = None - _globals['_BANDPRICESTATE'].fields_by_name['rate']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_BANDPRICESTATE'].fields_by_name['price_state']._loaded_options = None - _globals['_BANDPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' - _globals['_PRICEFEEDPRICE'].fields_by_name['price']._loaded_options = None - _globals['_PRICEFEEDPRICE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_COINBASEPRICESTATE'].fields_by_name['price_state']._loaded_options = None - _globals['_COINBASEPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' - _globals['_STORKPRICESTATE'].fields_by_name['value']._loaded_options = None - _globals['_STORKPRICESTATE'].fields_by_name['value']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_STORKPRICESTATE'].fields_by_name['price_state']._loaded_options = None - _globals['_STORKPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' - _globals['_PRICESTATE'].fields_by_name['price']._loaded_options = None - _globals['_PRICESTATE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PRICESTATE'].fields_by_name['cumulative_price']._loaded_options = None - _globals['_PRICESTATE'].fields_by_name['cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PYTHPRICESTATE'].fields_by_name['ema_price']._loaded_options = None - _globals['_PYTHPRICESTATE'].fields_by_name['ema_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PYTHPRICESTATE'].fields_by_name['ema_conf']._loaded_options = None - _globals['_PYTHPRICESTATE'].fields_by_name['ema_conf']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PYTHPRICESTATE'].fields_by_name['conf']._loaded_options = None - _globals['_PYTHPRICESTATE'].fields_by_name['conf']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PYTHPRICESTATE'].fields_by_name['price_state']._loaded_options = None - _globals['_PYTHPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' - _globals['_BANDORACLEREQUEST'].fields_by_name['fee_limit']._loaded_options = None - _globals['_BANDORACLEREQUEST'].fields_by_name['fee_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_PRICERECORD'].fields_by_name['price']._loaded_options = None - _globals['_PRICERECORD'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_METADATASTATISTICS'].fields_by_name['mean']._loaded_options = None - _globals['_METADATASTATISTICS'].fields_by_name['mean']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_METADATASTATISTICS'].fields_by_name['twap']._loaded_options = None - _globals['_METADATASTATISTICS'].fields_by_name['twap']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_METADATASTATISTICS'].fields_by_name['min_price']._loaded_options = None - _globals['_METADATASTATISTICS'].fields_by_name['min_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_METADATASTATISTICS'].fields_by_name['max_price']._loaded_options = None - _globals['_METADATASTATISTICS'].fields_by_name['max_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_METADATASTATISTICS'].fields_by_name['median_price']._loaded_options = None - _globals['_METADATASTATISTICS'].fields_by_name['median_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SIGNEDPRICEOFASSETPAIR'].fields_by_name['price']._loaded_options = None - _globals['_SIGNEDPRICEOFASSETPAIR'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_ORACLETYPE']._serialized_start=4639 - _globals['_ORACLETYPE']._serialized_end=4809 - _globals['_PARAMS']._serialized_start=140 - _globals['_PARAMS']._serialized_end=209 - _globals['_ORACLEINFO']._serialized_start=211 - _globals['_ORACLEINFO']._serialized_end=318 - _globals['_CHAINLINKPRICESTATE']._serialized_start=321 - _globals['_CHAINLINKPRICESTATE']._serialized_end=535 - _globals['_BANDPRICESTATE']._serialized_start=538 - _globals['_BANDPRICESTATE']._serialized_end=772 - _globals['_PRICEFEEDSTATE']._serialized_start=775 - _globals['_PRICEFEEDSTATE']._serialized_end=932 - _globals['_PROVIDERINFO']._serialized_start=934 - _globals['_PROVIDERINFO']._serialized_end=1004 - _globals['_PROVIDERSTATE']._serialized_start=1007 - _globals['_PROVIDERSTATE']._serialized_end=1197 - _globals['_PROVIDERPRICESTATE']._serialized_start=1199 - _globals['_PROVIDERPRICESTATE']._serialized_end=1303 - _globals['_PRICEFEEDINFO']._serialized_start=1305 - _globals['_PRICEFEEDINFO']._serialized_end=1362 - _globals['_PRICEFEEDPRICE']._serialized_start=1364 - _globals['_PRICEFEEDPRICE']._serialized_end=1439 - _globals['_COINBASEPRICESTATE']._serialized_start=1442 - _globals['_COINBASEPRICESTATE']._serialized_end=1629 - _globals['_STORKPRICESTATE']._serialized_start=1632 - _globals['_STORKPRICESTATE']._serialized_end=1839 - _globals['_PRICESTATE']._serialized_start=1842 - _globals['_PRICESTATE']._serialized_end=2023 - _globals['_PYTHPRICESTATE']._serialized_start=2026 - _globals['_PYTHPRICESTATE']._serialized_end=2368 - _globals['_BANDORACLEREQUEST']._serialized_start=2371 - _globals['_BANDORACLEREQUEST']._serialized_end=2761 - _globals['_BANDIBCPARAMS']._serialized_start=2764 - _globals['_BANDIBCPARAMS']._serialized_end=3026 - _globals['_SYMBOLPRICETIMESTAMP']._serialized_start=3029 - _globals['_SYMBOLPRICETIMESTAMP']._serialized_end=3172 - _globals['_LASTPRICETIMESTAMPS']._serialized_start=3174 - _globals['_LASTPRICETIMESTAMPS']._serialized_end=3295 - _globals['_PRICERECORDS']._serialized_start=3298 - _globals['_PRICERECORDS']._serialized_end=3492 - _globals['_PRICERECORD']._serialized_start=3494 - _globals['_PRICERECORD']._serialized_end=3596 - _globals['_METADATASTATISTICS']._serialized_start=3599 - _globals['_METADATASTATISTICS']._serialized_end=4098 - _globals['_PRICEATTESTATION']._serialized_start=4101 - _globals['_PRICEATTESTATION']._serialized_end=4326 - _globals['_ASSETPAIR']._serialized_start=4328 - _globals['_ASSETPAIR']._serialized_end=4453 - _globals['_SIGNEDPRICEOFASSETPAIR']._serialized_start=4456 - _globals['_SIGNEDPRICEOFASSETPAIR']._serialized_end=4636 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py deleted file mode 100644 index be531435..00000000 --- a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py +++ /dev/null @@ -1,78 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/oracle/v1beta1/proposal.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/oracle/v1beta1/proposal.proto\x12\x18injective.oracle.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\xca\x01\n GrantBandOraclePrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:R\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\'oracle/GrantBandOraclePrivilegeProposal\"\xcc\x01\n!RevokeBandOraclePrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(oracle/RevokeBandOraclePrivilegeProposal\"\xf6\x01\n!GrantPriceFeederPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x04 \x01(\tR\x05quote\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(oracle/GrantPriceFeederPrivilegeProposal\"\xe2\x01\n\x1eGrantProviderPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08provider\x18\x03 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x04 \x03(\tR\x08relayers:P\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*%oracle/GrantProviderPrivilegeProposal\"\xe4\x01\n\x1fRevokeProviderPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08provider\x18\x03 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&oracle/RevokeProviderPrivilegeProposal\"\xf8\x01\n\"RevokePriceFeederPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x04 \x01(\tR\x05quote\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)oracle/RevokePriceFeederPrivilegeProposal\"\xff\x01\n\"AuthorizeBandOracleRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12K\n\x07request\x18\x03 \x01(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestB\x04\xc8\xde\x1f\x00R\x07request:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)oracle/AuthorizeBandOracleRequestProposal\"\xbb\x02\n\x1fUpdateBandOracleRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12,\n\x12\x64\x65lete_request_ids\x18\x03 \x03(\x04R\x10\x64\x65leteRequestIds\x12_\n\x15update_oracle_request\x18\x04 \x01(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestR\x13updateOracleRequest:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&oracle/UpdateBandOracleRequestProposal\"\xef\x01\n\x15\x45nableBandIBCProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\x0f\x62\x61nd_ibc_params\x18\x03 \x01(\x0b\x32\'.injective.oracle.v1beta1.BandIBCParamsB\x04\xc8\xde\x1f\x00R\rbandIbcParams:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1coracle/EnableBandIBCProposal\"\xe1\x01\n$GrantStorkPublisherPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12)\n\x10stork_publishers\x18\x03 \x03(\tR\x0fstorkPublishers:V\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*+oracle/GrantStorkPublisherPrivilegeProposal\"\xe3\x01\n%RevokeStorkPublisherPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12)\n\x10stork_publishers\x18\x03 \x03(\tR\x0fstorkPublishers:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,oracle/RevokeStorkPublisherPrivilegeProposalB\xfd\x01\n\x1c\x63om.injective.oracle.v1beta1B\rProposalProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.proposal_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\rProposalProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1' - _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._loaded_options = None - _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\'oracle/GrantBandOraclePrivilegeProposal' - _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._loaded_options = None - _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(oracle/RevokeBandOraclePrivilegeProposal' - _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._loaded_options = None - _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(oracle/GrantPriceFeederPrivilegeProposal' - _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._loaded_options = None - _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*%oracle/GrantProviderPrivilegeProposal' - _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._loaded_options = None - _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&oracle/RevokeProviderPrivilegeProposal' - _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._loaded_options = None - _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)oracle/RevokePriceFeederPrivilegeProposal' - _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL'].fields_by_name['request']._loaded_options = None - _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL'].fields_by_name['request']._serialized_options = b'\310\336\037\000' - _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._loaded_options = None - _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)oracle/AuthorizeBandOracleRequestProposal' - _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._loaded_options = None - _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&oracle/UpdateBandOracleRequestProposal' - _globals['_ENABLEBANDIBCPROPOSAL'].fields_by_name['band_ibc_params']._loaded_options = None - _globals['_ENABLEBANDIBCPROPOSAL'].fields_by_name['band_ibc_params']._serialized_options = b'\310\336\037\000' - _globals['_ENABLEBANDIBCPROPOSAL']._loaded_options = None - _globals['_ENABLEBANDIBCPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034oracle/EnableBandIBCProposal' - _globals['_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL']._loaded_options = None - _globals['_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*+oracle/GrantStorkPublisherPrivilegeProposal' - _globals['_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL']._loaded_options = None - _globals['_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,oracle/RevokeStorkPublisherPrivilegeProposal' - _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._serialized_start=209 - _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._serialized_end=411 - _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._serialized_start=414 - _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._serialized_end=618 - _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_start=621 - _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_end=867 - _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._serialized_start=870 - _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._serialized_end=1096 - _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._serialized_start=1099 - _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._serialized_end=1327 - _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_start=1330 - _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_end=1578 - _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._serialized_start=1581 - _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._serialized_end=1836 - _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._serialized_start=1839 - _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._serialized_end=2154 - _globals['_ENABLEBANDIBCPROPOSAL']._serialized_start=2157 - _globals['_ENABLEBANDIBCPROPOSAL']._serialized_end=2396 - _globals['_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_start=2399 - _globals['_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_end=2624 - _globals['_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_start=2627 - _globals['_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_end=2854 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py deleted file mode 100644 index 31138e67..00000000 --- a/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py +++ /dev/null @@ -1,155 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/oracle/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -from pyinjective.proto.injective.oracle.v1beta1 import genesis_pb2 as injective_dot_oracle_dot_v1beta1_dot_genesis__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/oracle/v1beta1/query.proto\x12\x18injective.oracle.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a&injective/oracle/v1beta1/genesis.proto\x1a\x14gogoproto/gogo.proto\"2\n\x15QueryPythPriceRequest\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\"c\n\x16QueryPythPriceResponse\x12I\n\x0bprice_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\npriceState\"\x14\n\x12QueryParamsRequest\"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1a\n\x18QueryBandRelayersRequest\"7\n\x19QueryBandRelayersResponse\x12\x1a\n\x08relayers\x18\x01 \x03(\tR\x08relayers\"\x1d\n\x1bQueryBandPriceStatesRequest\"k\n\x1cQueryBandPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0bpriceStates\" \n\x1eQueryBandIBCPriceStatesRequest\"n\n\x1fQueryBandIBCPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0bpriceStates\"\"\n QueryPriceFeedPriceStatesRequest\"p\n!QueryPriceFeedPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedStateR\x0bpriceStates\"!\n\x1fQueryCoinbasePriceStatesRequest\"s\n QueryCoinbasePriceStatesResponse\x12O\n\x0cprice_states\x18\x01 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceStateR\x0bpriceStates\"\x1d\n\x1bQueryPythPriceStatesRequest\"k\n\x1cQueryPythPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x0bpriceStates\"\x1e\n\x1cQueryStorkPriceStatesRequest\"m\n\x1dQueryStorkPriceStatesResponse\x12L\n\x0cprice_states\x18\x01 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x0bpriceStates\"\x1d\n\x1bQueryStorkPublishersRequest\">\n\x1cQueryStorkPublishersResponse\x12\x1e\n\npublishers\x18\x01 \x03(\tR\npublishers\"T\n\x1eQueryProviderPriceStateRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\"h\n\x1fQueryProviderPriceStateResponse\x12\x45\n\x0bprice_state\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\npriceState\"\x19\n\x17QueryModuleStateRequest\"X\n\x18QueryModuleStateResponse\x12<\n\x05state\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.GenesisStateR\x05state\"\x7f\n\"QueryHistoricalPriceRecordsRequest\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\"r\n#QueryHistoricalPriceRecordsResponse\x12K\n\rprice_records\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecordsR\x0cpriceRecords\"\x8a\x01\n\x14OracleHistoryOptions\x12\x17\n\x07max_age\x18\x01 \x01(\x04R\x06maxAge\x12.\n\x13include_raw_history\x18\x02 \x01(\x08R\x11includeRawHistory\x12)\n\x10include_metadata\x18\x03 \x01(\x08R\x0fincludeMetadata\"\x8c\x02\n\x1cQueryOracleVolatilityRequest\x12\x41\n\tbase_info\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfoR\x08\x62\x61seInfo\x12\x43\n\nquote_info\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfoR\tquoteInfo\x12\x64\n\x16oracle_history_options\x18\x03 \x01(\x0b\x32..injective.oracle.v1beta1.OracleHistoryOptionsR\x14oracleHistoryOptions\"\x81\x02\n\x1dQueryOracleVolatilityResponse\x12?\n\nvolatility\x18\x01 \x01(\tB\x1f\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nvolatility\x12W\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatisticsR\x0fhistoryMetadata\x12\x46\n\x0braw_history\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecordR\nrawHistory\"!\n\x1fQueryOracleProvidersInfoRequest\"h\n QueryOracleProvidersInfoResponse\x12\x44\n\tproviders\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.ProviderInfoR\tproviders\">\n QueryOracleProviderPricesRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\"r\n!QueryOracleProviderPricesResponse\x12M\n\rproviderState\x18\x01 \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderStateR\rproviderState\"\\\n\x0eScalingOptions\x12#\n\rbase_decimals\x18\x01 \x01(\rR\x0c\x62\x61seDecimals\x12%\n\x0equote_decimals\x18\x02 \x01(\rR\rquoteDecimals\"\xe3\x01\n\x17QueryOraclePriceRequest\x12\x45\n\x0boracle_type\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x12\n\x04\x62\x61se\x18\x02 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x01(\tR\x05quote\x12W\n\x0fscaling_options\x18\x04 \x01(\x0b\x32(.injective.oracle.v1beta1.ScalingOptionsB\x04\xc8\xde\x1f\x01R\x0escalingOptions\"\xe2\x03\n\x0ePricePairState\x12\x42\n\npair_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tpairPrice\x12\x42\n\nbase_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tbasePrice\x12\x44\n\x0bquote_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nquotePrice\x12W\n\x15\x62\x61se_cumulative_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13\x62\x61seCumulativePrice\x12Y\n\x16quote_cumulative_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14quoteCumulativePrice\x12%\n\x0e\x62\x61se_timestamp\x18\x06 \x01(\x03R\rbaseTimestamp\x12\'\n\x0fquote_timestamp\x18\x07 \x01(\x03R\x0equoteTimestamp\"n\n\x18QueryOraclePriceResponse\x12R\n\x10price_pair_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PricePairStateR\x0epricePairState2\xcd\x18\n\x05Query\x12\x8f\x01\n\x06Params\x12,.injective.oracle.v1beta1.QueryParamsRequest\x1a-.injective.oracle.v1beta1.QueryParamsResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /injective/oracle/v1beta1/params\x12\xa8\x01\n\x0c\x42\x61ndRelayers\x12\x32.injective.oracle.v1beta1.QueryBandRelayersRequest\x1a\x33.injective.oracle.v1beta1.QueryBandRelayersResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/injective/oracle/v1beta1/band_relayers\x12\xb5\x01\n\x0f\x42\x61ndPriceStates\x12\x35.injective.oracle.v1beta1.QueryBandPriceStatesRequest\x1a\x36.injective.oracle.v1beta1.QueryBandPriceStatesResponse\"3\x82\xd3\xe4\x93\x02-\x12+/injective/oracle/v1beta1/band_price_states\x12\xc2\x01\n\x12\x42\x61ndIBCPriceStates\x12\x38.injective.oracle.v1beta1.QueryBandIBCPriceStatesRequest\x1a\x39.injective.oracle.v1beta1.QueryBandIBCPriceStatesResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/oracle/v1beta1/band_ibc_price_states\x12\xc9\x01\n\x14PriceFeedPriceStates\x12:.injective.oracle.v1beta1.QueryPriceFeedPriceStatesRequest\x1a;.injective.oracle.v1beta1.QueryPriceFeedPriceStatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/oracle/v1beta1/pricefeed_price_states\x12\xc5\x01\n\x13\x43oinbasePriceStates\x12\x39.injective.oracle.v1beta1.QueryCoinbasePriceStatesRequest\x1a:.injective.oracle.v1beta1.QueryCoinbasePriceStatesResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/oracle/v1beta1/coinbase_price_states\x12\xb5\x01\n\x0fPythPriceStates\x12\x35.injective.oracle.v1beta1.QueryPythPriceStatesRequest\x1a\x36.injective.oracle.v1beta1.QueryPythPriceStatesResponse\"3\x82\xd3\xe4\x93\x02-\x12+/injective/oracle/v1beta1/pyth_price_states\x12\xb9\x01\n\x10StorkPriceStates\x12\x36.injective.oracle.v1beta1.QueryStorkPriceStatesRequest\x1a\x37.injective.oracle.v1beta1.QueryStorkPriceStatesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/injective/oracle/v1beta1/stork_price_states\x12\xb4\x01\n\x0fStorkPublishers\x12\x35.injective.oracle.v1beta1.QueryStorkPublishersRequest\x1a\x36.injective.oracle.v1beta1.QueryStorkPublishersResponse\"2\x82\xd3\xe4\x93\x02,\x12*/injective/oracle/v1beta1/stork_publishers\x12\xd5\x01\n\x12ProviderPriceState\x12\x38.injective.oracle.v1beta1.QueryProviderPriceStateRequest\x1a\x39.injective.oracle.v1beta1.QueryProviderPriceStateResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/injective/oracle/v1beta1/provider_price_state/{provider}/{symbol}\x12\xaa\x01\n\x11OracleModuleState\x12\x31.injective.oracle.v1beta1.QueryModuleStateRequest\x1a\x32.injective.oracle.v1beta1.QueryModuleStateResponse\".\x82\xd3\xe4\x93\x02(\x12&/injective/oracle/v1beta1/module_state\x12\xd1\x01\n\x16HistoricalPriceRecords\x12<.injective.oracle.v1beta1.QueryHistoricalPriceRecordsRequest\x1a=.injective.oracle.v1beta1.QueryHistoricalPriceRecordsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/oracle/v1beta1/historical_price_records\x12\xb1\x01\n\x10OracleVolatility\x12\x36.injective.oracle.v1beta1.QueryOracleVolatilityRequest\x1a\x37.injective.oracle.v1beta1.QueryOracleVolatilityResponse\",\x82\xd3\xe4\x93\x02&\x12$/injective/oracle/v1beta1/volatility\x12\xb9\x01\n\x13OracleProvidersInfo\x12\x39.injective.oracle.v1beta1.QueryOracleProvidersInfoRequest\x1a:.injective.oracle.v1beta1.QueryOracleProvidersInfoResponse\"+\x82\xd3\xe4\x93\x02%\x12#/injective/oracle/v1beta1/providers\x12\xc2\x01\n\x14OracleProviderPrices\x12:.injective.oracle.v1beta1.QueryOracleProviderPricesRequest\x1a;.injective.oracle.v1beta1.QueryOracleProviderPricesResponse\"1\x82\xd3\xe4\x93\x02+\x12)/injective/oracle/v1beta1/provider_prices\x12\x9d\x01\n\x0bOraclePrice\x12\x31.injective.oracle.v1beta1.QueryOraclePriceRequest\x1a\x32.injective.oracle.v1beta1.QueryOraclePriceResponse\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/injective/oracle/v1beta1/price\x12\x9c\x01\n\tPythPrice\x12/.injective.oracle.v1beta1.QueryPythPriceRequest\x1a\x30.injective.oracle.v1beta1.QueryPythPriceResponse\",\x82\xd3\xe4\x93\x02&\x12$/injective/oracle/v1beta1/pyth_priceB\xfa\x01\n\x1c\x63om.injective.oracle.v1beta1B\nQueryProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\nQueryProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_QUERYORACLEVOLATILITYRESPONSE'].fields_by_name['volatility']._loaded_options = None - _globals['_QUERYORACLEVOLATILITYRESPONSE'].fields_by_name['volatility']._serialized_options = b'\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYORACLEPRICEREQUEST'].fields_by_name['scaling_options']._loaded_options = None - _globals['_QUERYORACLEPRICEREQUEST'].fields_by_name['scaling_options']._serialized_options = b'\310\336\037\001' - _globals['_PRICEPAIRSTATE'].fields_by_name['pair_price']._loaded_options = None - _globals['_PRICEPAIRSTATE'].fields_by_name['pair_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PRICEPAIRSTATE'].fields_by_name['base_price']._loaded_options = None - _globals['_PRICEPAIRSTATE'].fields_by_name['base_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PRICEPAIRSTATE'].fields_by_name['quote_price']._loaded_options = None - _globals['_PRICEPAIRSTATE'].fields_by_name['quote_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PRICEPAIRSTATE'].fields_by_name['base_cumulative_price']._loaded_options = None - _globals['_PRICEPAIRSTATE'].fields_by_name['base_cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PRICEPAIRSTATE'].fields_by_name['quote_cumulative_price']._loaded_options = None - _globals['_PRICEPAIRSTATE'].fields_by_name['quote_cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\"\022 /injective/oracle/v1beta1/params' - _globals['_QUERY'].methods_by_name['BandRelayers']._loaded_options = None - _globals['_QUERY'].methods_by_name['BandRelayers']._serialized_options = b'\202\323\344\223\002)\022\'/injective/oracle/v1beta1/band_relayers' - _globals['_QUERY'].methods_by_name['BandPriceStates']._loaded_options = None - _globals['_QUERY'].methods_by_name['BandPriceStates']._serialized_options = b'\202\323\344\223\002-\022+/injective/oracle/v1beta1/band_price_states' - _globals['_QUERY'].methods_by_name['BandIBCPriceStates']._loaded_options = None - _globals['_QUERY'].methods_by_name['BandIBCPriceStates']._serialized_options = b'\202\323\344\223\0021\022//injective/oracle/v1beta1/band_ibc_price_states' - _globals['_QUERY'].methods_by_name['PriceFeedPriceStates']._loaded_options = None - _globals['_QUERY'].methods_by_name['PriceFeedPriceStates']._serialized_options = b'\202\323\344\223\0022\0220/injective/oracle/v1beta1/pricefeed_price_states' - _globals['_QUERY'].methods_by_name['CoinbasePriceStates']._loaded_options = None - _globals['_QUERY'].methods_by_name['CoinbasePriceStates']._serialized_options = b'\202\323\344\223\0021\022//injective/oracle/v1beta1/coinbase_price_states' - _globals['_QUERY'].methods_by_name['PythPriceStates']._loaded_options = None - _globals['_QUERY'].methods_by_name['PythPriceStates']._serialized_options = b'\202\323\344\223\002-\022+/injective/oracle/v1beta1/pyth_price_states' - _globals['_QUERY'].methods_by_name['StorkPriceStates']._loaded_options = None - _globals['_QUERY'].methods_by_name['StorkPriceStates']._serialized_options = b'\202\323\344\223\002.\022,/injective/oracle/v1beta1/stork_price_states' - _globals['_QUERY'].methods_by_name['StorkPublishers']._loaded_options = None - _globals['_QUERY'].methods_by_name['StorkPublishers']._serialized_options = b'\202\323\344\223\002,\022*/injective/oracle/v1beta1/stork_publishers' - _globals['_QUERY'].methods_by_name['ProviderPriceState']._loaded_options = None - _globals['_QUERY'].methods_by_name['ProviderPriceState']._serialized_options = b'\202\323\344\223\002D\022B/injective/oracle/v1beta1/provider_price_state/{provider}/{symbol}' - _globals['_QUERY'].methods_by_name['OracleModuleState']._loaded_options = None - _globals['_QUERY'].methods_by_name['OracleModuleState']._serialized_options = b'\202\323\344\223\002(\022&/injective/oracle/v1beta1/module_state' - _globals['_QUERY'].methods_by_name['HistoricalPriceRecords']._loaded_options = None - _globals['_QUERY'].methods_by_name['HistoricalPriceRecords']._serialized_options = b'\202\323\344\223\0024\0222/injective/oracle/v1beta1/historical_price_records' - _globals['_QUERY'].methods_by_name['OracleVolatility']._loaded_options = None - _globals['_QUERY'].methods_by_name['OracleVolatility']._serialized_options = b'\202\323\344\223\002&\022$/injective/oracle/v1beta1/volatility' - _globals['_QUERY'].methods_by_name['OracleProvidersInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['OracleProvidersInfo']._serialized_options = b'\202\323\344\223\002%\022#/injective/oracle/v1beta1/providers' - _globals['_QUERY'].methods_by_name['OracleProviderPrices']._loaded_options = None - _globals['_QUERY'].methods_by_name['OracleProviderPrices']._serialized_options = b'\202\323\344\223\002+\022)/injective/oracle/v1beta1/provider_prices' - _globals['_QUERY'].methods_by_name['OraclePrice']._loaded_options = None - _globals['_QUERY'].methods_by_name['OraclePrice']._serialized_options = b'\202\323\344\223\002!\022\037/injective/oracle/v1beta1/price' - _globals['_QUERY'].methods_by_name['PythPrice']._loaded_options = None - _globals['_QUERY'].methods_by_name['PythPrice']._serialized_options = b'\202\323\344\223\002&\022$/injective/oracle/v1beta1/pyth_price' - _globals['_QUERYPYTHPRICEREQUEST']._serialized_start=197 - _globals['_QUERYPYTHPRICEREQUEST']._serialized_end=247 - _globals['_QUERYPYTHPRICERESPONSE']._serialized_start=249 - _globals['_QUERYPYTHPRICERESPONSE']._serialized_end=348 - _globals['_QUERYPARAMSREQUEST']._serialized_start=350 - _globals['_QUERYPARAMSREQUEST']._serialized_end=370 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=372 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=457 - _globals['_QUERYBANDRELAYERSREQUEST']._serialized_start=459 - _globals['_QUERYBANDRELAYERSREQUEST']._serialized_end=485 - _globals['_QUERYBANDRELAYERSRESPONSE']._serialized_start=487 - _globals['_QUERYBANDRELAYERSRESPONSE']._serialized_end=542 - _globals['_QUERYBANDPRICESTATESREQUEST']._serialized_start=544 - _globals['_QUERYBANDPRICESTATESREQUEST']._serialized_end=573 - _globals['_QUERYBANDPRICESTATESRESPONSE']._serialized_start=575 - _globals['_QUERYBANDPRICESTATESRESPONSE']._serialized_end=682 - _globals['_QUERYBANDIBCPRICESTATESREQUEST']._serialized_start=684 - _globals['_QUERYBANDIBCPRICESTATESREQUEST']._serialized_end=716 - _globals['_QUERYBANDIBCPRICESTATESRESPONSE']._serialized_start=718 - _globals['_QUERYBANDIBCPRICESTATESRESPONSE']._serialized_end=828 - _globals['_QUERYPRICEFEEDPRICESTATESREQUEST']._serialized_start=830 - _globals['_QUERYPRICEFEEDPRICESTATESREQUEST']._serialized_end=864 - _globals['_QUERYPRICEFEEDPRICESTATESRESPONSE']._serialized_start=866 - _globals['_QUERYPRICEFEEDPRICESTATESRESPONSE']._serialized_end=978 - _globals['_QUERYCOINBASEPRICESTATESREQUEST']._serialized_start=980 - _globals['_QUERYCOINBASEPRICESTATESREQUEST']._serialized_end=1013 - _globals['_QUERYCOINBASEPRICESTATESRESPONSE']._serialized_start=1015 - _globals['_QUERYCOINBASEPRICESTATESRESPONSE']._serialized_end=1130 - _globals['_QUERYPYTHPRICESTATESREQUEST']._serialized_start=1132 - _globals['_QUERYPYTHPRICESTATESREQUEST']._serialized_end=1161 - _globals['_QUERYPYTHPRICESTATESRESPONSE']._serialized_start=1163 - _globals['_QUERYPYTHPRICESTATESRESPONSE']._serialized_end=1270 - _globals['_QUERYSTORKPRICESTATESREQUEST']._serialized_start=1272 - _globals['_QUERYSTORKPRICESTATESREQUEST']._serialized_end=1302 - _globals['_QUERYSTORKPRICESTATESRESPONSE']._serialized_start=1304 - _globals['_QUERYSTORKPRICESTATESRESPONSE']._serialized_end=1413 - _globals['_QUERYSTORKPUBLISHERSREQUEST']._serialized_start=1415 - _globals['_QUERYSTORKPUBLISHERSREQUEST']._serialized_end=1444 - _globals['_QUERYSTORKPUBLISHERSRESPONSE']._serialized_start=1446 - _globals['_QUERYSTORKPUBLISHERSRESPONSE']._serialized_end=1508 - _globals['_QUERYPROVIDERPRICESTATEREQUEST']._serialized_start=1510 - _globals['_QUERYPROVIDERPRICESTATEREQUEST']._serialized_end=1594 - _globals['_QUERYPROVIDERPRICESTATERESPONSE']._serialized_start=1596 - _globals['_QUERYPROVIDERPRICESTATERESPONSE']._serialized_end=1700 - _globals['_QUERYMODULESTATEREQUEST']._serialized_start=1702 - _globals['_QUERYMODULESTATEREQUEST']._serialized_end=1727 - _globals['_QUERYMODULESTATERESPONSE']._serialized_start=1729 - _globals['_QUERYMODULESTATERESPONSE']._serialized_end=1817 - _globals['_QUERYHISTORICALPRICERECORDSREQUEST']._serialized_start=1819 - _globals['_QUERYHISTORICALPRICERECORDSREQUEST']._serialized_end=1946 - _globals['_QUERYHISTORICALPRICERECORDSRESPONSE']._serialized_start=1948 - _globals['_QUERYHISTORICALPRICERECORDSRESPONSE']._serialized_end=2062 - _globals['_ORACLEHISTORYOPTIONS']._serialized_start=2065 - _globals['_ORACLEHISTORYOPTIONS']._serialized_end=2203 - _globals['_QUERYORACLEVOLATILITYREQUEST']._serialized_start=2206 - _globals['_QUERYORACLEVOLATILITYREQUEST']._serialized_end=2474 - _globals['_QUERYORACLEVOLATILITYRESPONSE']._serialized_start=2477 - _globals['_QUERYORACLEVOLATILITYRESPONSE']._serialized_end=2734 - _globals['_QUERYORACLEPROVIDERSINFOREQUEST']._serialized_start=2736 - _globals['_QUERYORACLEPROVIDERSINFOREQUEST']._serialized_end=2769 - _globals['_QUERYORACLEPROVIDERSINFORESPONSE']._serialized_start=2771 - _globals['_QUERYORACLEPROVIDERSINFORESPONSE']._serialized_end=2875 - _globals['_QUERYORACLEPROVIDERPRICESREQUEST']._serialized_start=2877 - _globals['_QUERYORACLEPROVIDERPRICESREQUEST']._serialized_end=2939 - _globals['_QUERYORACLEPROVIDERPRICESRESPONSE']._serialized_start=2941 - _globals['_QUERYORACLEPROVIDERPRICESRESPONSE']._serialized_end=3055 - _globals['_SCALINGOPTIONS']._serialized_start=3057 - _globals['_SCALINGOPTIONS']._serialized_end=3149 - _globals['_QUERYORACLEPRICEREQUEST']._serialized_start=3152 - _globals['_QUERYORACLEPRICEREQUEST']._serialized_end=3379 - _globals['_PRICEPAIRSTATE']._serialized_start=3382 - _globals['_PRICEPAIRSTATE']._serialized_end=3864 - _globals['_QUERYORACLEPRICERESPONSE']._serialized_start=3866 - _globals['_QUERYORACLEPRICERESPONSE']._serialized_end=3976 - _globals['_QUERY']._serialized_start=3979 - _globals['_QUERY']._serialized_end=7128 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/query_pb2_grpc.py deleted file mode 100644 index a368d998..00000000 --- a/pyinjective/proto/injective/oracle/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,781 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.injective.oracle.v1beta1 import query_pb2 as injective_dot_oracle_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Params = channel.unary_unary( - '/injective.oracle.v1beta1.Query/Params', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - self.BandRelayers = channel.unary_unary( - '/injective.oracle.v1beta1.Query/BandRelayers', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersResponse.FromString, - _registered_method=True) - self.BandPriceStates = channel.unary_unary( - '/injective.oracle.v1beta1.Query/BandPriceStates', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesResponse.FromString, - _registered_method=True) - self.BandIBCPriceStates = channel.unary_unary( - '/injective.oracle.v1beta1.Query/BandIBCPriceStates', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesResponse.FromString, - _registered_method=True) - self.PriceFeedPriceStates = channel.unary_unary( - '/injective.oracle.v1beta1.Query/PriceFeedPriceStates', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesResponse.FromString, - _registered_method=True) - self.CoinbasePriceStates = channel.unary_unary( - '/injective.oracle.v1beta1.Query/CoinbasePriceStates', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesResponse.FromString, - _registered_method=True) - self.PythPriceStates = channel.unary_unary( - '/injective.oracle.v1beta1.Query/PythPriceStates', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesResponse.FromString, - _registered_method=True) - self.StorkPriceStates = channel.unary_unary( - '/injective.oracle.v1beta1.Query/StorkPriceStates', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesResponse.FromString, - _registered_method=True) - self.StorkPublishers = channel.unary_unary( - '/injective.oracle.v1beta1.Query/StorkPublishers', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersResponse.FromString, - _registered_method=True) - self.ProviderPriceState = channel.unary_unary( - '/injective.oracle.v1beta1.Query/ProviderPriceState', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateResponse.FromString, - _registered_method=True) - self.OracleModuleState = channel.unary_unary( - '/injective.oracle.v1beta1.Query/OracleModuleState', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, - _registered_method=True) - self.HistoricalPriceRecords = channel.unary_unary( - '/injective.oracle.v1beta1.Query/HistoricalPriceRecords', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsResponse.FromString, - _registered_method=True) - self.OracleVolatility = channel.unary_unary( - '/injective.oracle.v1beta1.Query/OracleVolatility', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityResponse.FromString, - _registered_method=True) - self.OracleProvidersInfo = channel.unary_unary( - '/injective.oracle.v1beta1.Query/OracleProvidersInfo', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoResponse.FromString, - _registered_method=True) - self.OracleProviderPrices = channel.unary_unary( - '/injective.oracle.v1beta1.Query/OracleProviderPrices', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesResponse.FromString, - _registered_method=True) - self.OraclePrice = channel.unary_unary( - '/injective.oracle.v1beta1.Query/OraclePrice', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceResponse.FromString, - _registered_method=True) - self.PythPrice = channel.unary_unary( - '/injective.oracle.v1beta1.Query/PythPrice', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service. - """ - - def Params(self, request, context): - """Retrieves oracle params - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BandRelayers(self, request, context): - """Retrieves the band relayers - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BandPriceStates(self, request, context): - """Retrieves the state for all band price feeds - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BandIBCPriceStates(self, request, context): - """Retrieves the state for all band ibc price feeds - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PriceFeedPriceStates(self, request, context): - """Retrieves the state for all price feeds - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CoinbasePriceStates(self, request, context): - """Retrieves the state for all coinbase price feeds - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PythPriceStates(self, request, context): - """Retrieves the state for all pyth price feeds - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StorkPriceStates(self, request, context): - """Retrieves the state for all stork price feeds - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StorkPublishers(self, request, context): - """Retrieves all stork publishers - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ProviderPriceState(self, request, context): - """Retrieves the state for all provider price feeds - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def OracleModuleState(self, request, context): - """Retrieves the entire oracle module's state - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def HistoricalPriceRecords(self, request, context): - """Retrieves historical price records for a given OracleType and Symbol - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def OracleVolatility(self, request, context): - """Retrieves mixed volatility value for the specified pair of base/quote - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def OracleProvidersInfo(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def OracleProviderPrices(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def OraclePrice(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PythPrice(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'BandRelayers': grpc.unary_unary_rpc_method_handler( - servicer.BandRelayers, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersResponse.SerializeToString, - ), - 'BandPriceStates': grpc.unary_unary_rpc_method_handler( - servicer.BandPriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesResponse.SerializeToString, - ), - 'BandIBCPriceStates': grpc.unary_unary_rpc_method_handler( - servicer.BandIBCPriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesResponse.SerializeToString, - ), - 'PriceFeedPriceStates': grpc.unary_unary_rpc_method_handler( - servicer.PriceFeedPriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesResponse.SerializeToString, - ), - 'CoinbasePriceStates': grpc.unary_unary_rpc_method_handler( - servicer.CoinbasePriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesResponse.SerializeToString, - ), - 'PythPriceStates': grpc.unary_unary_rpc_method_handler( - servicer.PythPriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesResponse.SerializeToString, - ), - 'StorkPriceStates': grpc.unary_unary_rpc_method_handler( - servicer.StorkPriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesResponse.SerializeToString, - ), - 'StorkPublishers': grpc.unary_unary_rpc_method_handler( - servicer.StorkPublishers, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersResponse.SerializeToString, - ), - 'ProviderPriceState': grpc.unary_unary_rpc_method_handler( - servicer.ProviderPriceState, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateResponse.SerializeToString, - ), - 'OracleModuleState': grpc.unary_unary_rpc_method_handler( - servicer.OracleModuleState, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, - ), - 'HistoricalPriceRecords': grpc.unary_unary_rpc_method_handler( - servicer.HistoricalPriceRecords, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsResponse.SerializeToString, - ), - 'OracleVolatility': grpc.unary_unary_rpc_method_handler( - servicer.OracleVolatility, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityResponse.SerializeToString, - ), - 'OracleProvidersInfo': grpc.unary_unary_rpc_method_handler( - servicer.OracleProvidersInfo, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoResponse.SerializeToString, - ), - 'OracleProviderPrices': grpc.unary_unary_rpc_method_handler( - servicer.OracleProviderPrices, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesResponse.SerializeToString, - ), - 'OraclePrice': grpc.unary_unary_rpc_method_handler( - servicer.OraclePrice, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceResponse.SerializeToString, - ), - 'PythPrice': grpc.unary_unary_rpc_method_handler( - servicer.PythPrice, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.oracle.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.oracle.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service. - """ - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/Params', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BandRelayers(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/BandRelayers', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BandPriceStates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/BandPriceStates', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BandIBCPriceStates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/BandIBCPriceStates', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PriceFeedPriceStates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/PriceFeedPriceStates', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CoinbasePriceStates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/CoinbasePriceStates', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PythPriceStates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/PythPriceStates', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StorkPriceStates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/StorkPriceStates', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def StorkPublishers(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/StorkPublishers', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ProviderPriceState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/ProviderPriceState', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def OracleModuleState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/OracleModuleState', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def HistoricalPriceRecords(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/HistoricalPriceRecords', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def OracleVolatility(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/OracleVolatility', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def OracleProvidersInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/OracleProvidersInfo', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def OracleProviderPrices(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/OracleProviderPrices', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def OraclePrice(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/OraclePrice', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PythPrice(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Query/PythPrice', - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceRequest.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py deleted file mode 100644 index cfc4efa0..00000000 --- a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py +++ /dev/null @@ -1,90 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/oracle/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/oracle/v1beta1/tx.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xda\x01\n\x16MsgRelayProviderPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12\x18\n\x07symbols\x18\x03 \x03(\tR\x07symbols\x12;\n\x06prices\x18\x04 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06prices:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRelayProviderPrices\" \n\x1eMsgRelayProviderPricesResponse\"\xcc\x01\n\x16MsgRelayPriceFeedPrice\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x12\n\x04\x62\x61se\x18\x02 \x03(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x03(\tR\x05quote\x12\x39\n\x05price\x18\x04 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRelayPriceFeedPrice\" \n\x1eMsgRelayPriceFeedPriceResponse\"\xcd\x01\n\x11MsgRelayBandRates\x12\x18\n\x07relayer\x18\x01 \x01(\tR\x07relayer\x12\x18\n\x07symbols\x18\x02 \x03(\tR\x07symbols\x12\x14\n\x05rates\x18\x03 \x03(\x04R\x05rates\x12#\n\rresolve_times\x18\x04 \x03(\x04R\x0cresolveTimes\x12\x1e\n\nrequestIDs\x18\x05 \x03(\x04R\nrequestIDs:)\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x18oracle/MsgRelayBandRates\"\x1b\n\x19MsgRelayBandRatesResponse\"\xa7\x01\n\x18MsgRelayCoinbaseMessages\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08messages\x18\x02 \x03(\x0cR\x08messages\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures:7\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1foracle/MsgRelayCoinbaseMessages\"\"\n MsgRelayCoinbaseMessagesResponse\"\x88\x01\n\x13MsgRelayStorkPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x44\n\x0b\x61sset_pairs\x18\x02 \x03(\x0b\x32#.injective.oracle.v1beta1.AssetPairR\nassetPairs:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgRelayStorkPricesResponse\"\x86\x01\n\x16MsgRequestBandIBCRates\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1d\n\nrequest_id\x18\x02 \x01(\x04R\trequestId:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRequestBandIBCRates\" \n\x1eMsgRequestBandIBCRatesResponse\"\xba\x01\n\x12MsgRelayPythPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12Y\n\x12price_attestations\x18\x02 \x03(\x0b\x32*.injective.oracle.v1beta1.PriceAttestationR\x11priceAttestations:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19oracle/MsgRelayPythPrices\"\x1c\n\x1aMsgRelayPythPricesResponse\"\xb4\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:)\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x16oracle/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xf6\x07\n\x03Msg\x12\x81\x01\n\x13RelayProviderPrices\x12\x30.injective.oracle.v1beta1.MsgRelayProviderPrices\x1a\x38.injective.oracle.v1beta1.MsgRelayProviderPricesResponse\x12\x81\x01\n\x13RelayPriceFeedPrice\x12\x30.injective.oracle.v1beta1.MsgRelayPriceFeedPrice\x1a\x38.injective.oracle.v1beta1.MsgRelayPriceFeedPriceResponse\x12r\n\x0eRelayBandRates\x12+.injective.oracle.v1beta1.MsgRelayBandRates\x1a\x33.injective.oracle.v1beta1.MsgRelayBandRatesResponse\x12\x81\x01\n\x13RequestBandIBCRates\x12\x30.injective.oracle.v1beta1.MsgRequestBandIBCRates\x1a\x38.injective.oracle.v1beta1.MsgRequestBandIBCRatesResponse\x12\x87\x01\n\x15RelayCoinbaseMessages\x12\x32.injective.oracle.v1beta1.MsgRelayCoinbaseMessages\x1a:.injective.oracle.v1beta1.MsgRelayCoinbaseMessagesResponse\x12y\n\x11RelayStorkMessage\x12-.injective.oracle.v1beta1.MsgRelayStorkPrices\x1a\x35.injective.oracle.v1beta1.MsgRelayStorkPricesResponse\x12u\n\x0fRelayPythPrices\x12,.injective.oracle.v1beta1.MsgRelayPythPrices\x1a\x34.injective.oracle.v1beta1.MsgRelayPythPricesResponse\x12l\n\x0cUpdateParams\x12).injective.oracle.v1beta1.MsgUpdateParams\x1a\x31.injective.oracle.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xf7\x01\n\x1c\x63om.injective.oracle.v1beta1B\x07TxProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\007TxProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1' - _globals['_MSGRELAYPROVIDERPRICES'].fields_by_name['prices']._loaded_options = None - _globals['_MSGRELAYPROVIDERPRICES'].fields_by_name['prices']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGRELAYPROVIDERPRICES']._loaded_options = None - _globals['_MSGRELAYPROVIDERPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRelayProviderPrices' - _globals['_MSGRELAYPRICEFEEDPRICE'].fields_by_name['price']._loaded_options = None - _globals['_MSGRELAYPRICEFEEDPRICE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGRELAYPRICEFEEDPRICE']._loaded_options = None - _globals['_MSGRELAYPRICEFEEDPRICE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRelayPriceFeedPrice' - _globals['_MSGRELAYBANDRATES']._loaded_options = None - _globals['_MSGRELAYBANDRATES']._serialized_options = b'\202\347\260*\007relayer\212\347\260*\030oracle/MsgRelayBandRates' - _globals['_MSGRELAYCOINBASEMESSAGES']._loaded_options = None - _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\037oracle/MsgRelayCoinbaseMessages' - _globals['_MSGRELAYSTORKPRICES']._loaded_options = None - _globals['_MSGRELAYSTORKPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' - _globals['_MSGREQUESTBANDIBCRATES']._loaded_options = None - _globals['_MSGREQUESTBANDIBCRATES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRequestBandIBCRates' - _globals['_MSGRELAYPYTHPRICES']._loaded_options = None - _globals['_MSGRELAYPYTHPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\031oracle/MsgRelayPythPrices' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\026oracle/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGRELAYPROVIDERPRICES']._serialized_start=196 - _globals['_MSGRELAYPROVIDERPRICES']._serialized_end=414 - _globals['_MSGRELAYPROVIDERPRICESRESPONSE']._serialized_start=416 - _globals['_MSGRELAYPROVIDERPRICESRESPONSE']._serialized_end=448 - _globals['_MSGRELAYPRICEFEEDPRICE']._serialized_start=451 - _globals['_MSGRELAYPRICEFEEDPRICE']._serialized_end=655 - _globals['_MSGRELAYPRICEFEEDPRICERESPONSE']._serialized_start=657 - _globals['_MSGRELAYPRICEFEEDPRICERESPONSE']._serialized_end=689 - _globals['_MSGRELAYBANDRATES']._serialized_start=692 - _globals['_MSGRELAYBANDRATES']._serialized_end=897 - _globals['_MSGRELAYBANDRATESRESPONSE']._serialized_start=899 - _globals['_MSGRELAYBANDRATESRESPONSE']._serialized_end=926 - _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_start=929 - _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_end=1096 - _globals['_MSGRELAYCOINBASEMESSAGESRESPONSE']._serialized_start=1098 - _globals['_MSGRELAYCOINBASEMESSAGESRESPONSE']._serialized_end=1132 - _globals['_MSGRELAYSTORKPRICES']._serialized_start=1135 - _globals['_MSGRELAYSTORKPRICES']._serialized_end=1271 - _globals['_MSGRELAYSTORKPRICESRESPONSE']._serialized_start=1273 - _globals['_MSGRELAYSTORKPRICESRESPONSE']._serialized_end=1302 - _globals['_MSGREQUESTBANDIBCRATES']._serialized_start=1305 - _globals['_MSGREQUESTBANDIBCRATES']._serialized_end=1439 - _globals['_MSGREQUESTBANDIBCRATESRESPONSE']._serialized_start=1441 - _globals['_MSGREQUESTBANDIBCRATESRESPONSE']._serialized_end=1473 - _globals['_MSGRELAYPYTHPRICES']._serialized_start=1476 - _globals['_MSGRELAYPYTHPRICES']._serialized_end=1662 - _globals['_MSGRELAYPYTHPRICESRESPONSE']._serialized_start=1664 - _globals['_MSGRELAYPYTHPRICESRESPONSE']._serialized_end=1692 - _globals['_MSGUPDATEPARAMS']._serialized_start=1695 - _globals['_MSGUPDATEPARAMS']._serialized_end=1875 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1877 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1902 - _globals['_MSG']._serialized_start=1905 - _globals['_MSG']._serialized_end=2919 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index 7c505717..00000000 --- a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,393 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.injective.oracle.v1beta1 import tx_pb2 as injective_dot_oracle_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the oracle Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.RelayProviderPrices = channel.unary_unary( - '/injective.oracle.v1beta1.Msg/RelayProviderPrices', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPrices.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPricesResponse.FromString, - _registered_method=True) - self.RelayPriceFeedPrice = channel.unary_unary( - '/injective.oracle.v1beta1.Msg/RelayPriceFeedPrice', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPrice.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPriceResponse.FromString, - _registered_method=True) - self.RelayBandRates = channel.unary_unary( - '/injective.oracle.v1beta1.Msg/RelayBandRates', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRates.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRatesResponse.FromString, - _registered_method=True) - self.RequestBandIBCRates = channel.unary_unary( - '/injective.oracle.v1beta1.Msg/RequestBandIBCRates', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRates.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRatesResponse.FromString, - _registered_method=True) - self.RelayCoinbaseMessages = channel.unary_unary( - '/injective.oracle.v1beta1.Msg/RelayCoinbaseMessages', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessages.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessagesResponse.FromString, - _registered_method=True) - self.RelayStorkMessage = channel.unary_unary( - '/injective.oracle.v1beta1.Msg/RelayStorkMessage', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPrices.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPricesResponse.FromString, - _registered_method=True) - self.RelayPythPrices = channel.unary_unary( - '/injective.oracle.v1beta1.Msg/RelayPythPrices', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPrices.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPricesResponse.FromString, - _registered_method=True) - self.UpdateParams = channel.unary_unary( - '/injective.oracle.v1beta1.Msg/UpdateParams', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the oracle Msg service. - """ - - def RelayProviderPrices(self, request, context): - """RelayProviderPrice defines a method for relaying a price for a - provider-based oracle - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RelayPriceFeedPrice(self, request, context): - """RelayPriceFeedPrice defines a method for relaying a price for a price - feeder-based oracle - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RelayBandRates(self, request, context): - """RelayBandRates defines a method for relaying rates from Band - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RequestBandIBCRates(self, request, context): - """RequestBandIBCRates defines a method for fetching rates from Band ibc - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RelayCoinbaseMessages(self, request, context): - """RelayCoinbaseMessages defines a method for relaying price messages from - Coinbase API - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RelayStorkMessage(self, request, context): - """RelayStorkMessage defines a method for relaying price message from - Stork API - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RelayPythPrices(self, request, context): - """RelayPythPrices defines a method for relaying rates from the Pyth contract - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """UpdateParams enables updating oracle module's params via governance - """ - 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 = { - 'RelayProviderPrices': grpc.unary_unary_rpc_method_handler( - servicer.RelayProviderPrices, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPrices.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPricesResponse.SerializeToString, - ), - 'RelayPriceFeedPrice': grpc.unary_unary_rpc_method_handler( - servicer.RelayPriceFeedPrice, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPrice.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPriceResponse.SerializeToString, - ), - 'RelayBandRates': grpc.unary_unary_rpc_method_handler( - servicer.RelayBandRates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRates.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRatesResponse.SerializeToString, - ), - 'RequestBandIBCRates': grpc.unary_unary_rpc_method_handler( - servicer.RequestBandIBCRates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRates.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRatesResponse.SerializeToString, - ), - 'RelayCoinbaseMessages': grpc.unary_unary_rpc_method_handler( - servicer.RelayCoinbaseMessages, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessages.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessagesResponse.SerializeToString, - ), - 'RelayStorkMessage': grpc.unary_unary_rpc_method_handler( - servicer.RelayStorkMessage, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPrices.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPricesResponse.SerializeToString, - ), - 'RelayPythPrices': grpc.unary_unary_rpc_method_handler( - servicer.RelayPythPrices, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPrices.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPricesResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.oracle.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.oracle.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the oracle Msg service. - """ - - @staticmethod - def RelayProviderPrices(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Msg/RelayProviderPrices', - injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPrices.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPricesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def RelayPriceFeedPrice(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Msg/RelayPriceFeedPrice', - injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPrice.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPriceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def RelayBandRates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Msg/RelayBandRates', - injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRates.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRatesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def RequestBandIBCRates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Msg/RequestBandIBCRates', - injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRates.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRatesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def RelayCoinbaseMessages(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Msg/RelayCoinbaseMessages', - injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessages.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessagesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def RelayStorkMessage(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Msg/RelayStorkMessage', - injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPrices.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPricesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def RelayPythPrices(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Msg/RelayPythPrices', - injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPrices.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPricesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.oracle.v1beta1.Msg/UpdateParams', - injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/injective/peggy/v1/attestation_pb2.py b/pyinjective/proto/injective/peggy/v1/attestation_pb2.py deleted file mode 100644 index 7eb9cb25..00000000 --- a/pyinjective/proto/injective/peggy/v1/attestation_pb2.py +++ /dev/null @@ -1,47 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/peggy/v1/attestation.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.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$injective/peggy/v1/attestation.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\x83\x01\n\x0b\x41ttestation\x12\x1a\n\x08observed\x18\x01 \x01(\x08R\x08observed\x12\x14\n\x05votes\x18\x02 \x03(\tR\x05votes\x12\x16\n\x06height\x18\x03 \x01(\x04R\x06height\x12*\n\x05\x63laim\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x05\x63laim\"_\n\nERC20Token\x12\x1a\n\x08\x63ontract\x18\x01 \x01(\tR\x08\x63ontract\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount*\x9f\x02\n\tClaimType\x12.\n\x12\x43LAIM_TYPE_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x43LAIM_TYPE_UNKNOWN\x12.\n\x12\x43LAIM_TYPE_DEPOSIT\x10\x01\x1a\x16\x8a\x9d \x12\x43LAIM_TYPE_DEPOSIT\x12\x30\n\x13\x43LAIM_TYPE_WITHDRAW\x10\x02\x1a\x17\x8a\x9d \x13\x43LAIM_TYPE_WITHDRAW\x12<\n\x19\x43LAIM_TYPE_ERC20_DEPLOYED\x10\x03\x1a\x1d\x8a\x9d \x19\x43LAIM_TYPE_ERC20_DEPLOYED\x12<\n\x19\x43LAIM_TYPE_VALSET_UPDATED\x10\x04\x1a\x1d\x8a\x9d \x19\x43LAIM_TYPE_VALSET_UPDATED\x1a\x04\x88\xa3\x1e\x00\x42\xe1\x01\n\x16\x63om.injective.peggy.v1B\x10\x41ttestationProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.attestation_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\020AttestationProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_CLAIMTYPE']._loaded_options = None - _globals['_CLAIMTYPE']._serialized_options = b'\210\243\036\000' - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_UNKNOWN"]._loaded_options = None - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_UNKNOWN"]._serialized_options = b'\212\235 \022CLAIM_TYPE_UNKNOWN' - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_DEPOSIT"]._loaded_options = None - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_DEPOSIT"]._serialized_options = b'\212\235 \022CLAIM_TYPE_DEPOSIT' - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_WITHDRAW"]._loaded_options = None - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_WITHDRAW"]._serialized_options = b'\212\235 \023CLAIM_TYPE_WITHDRAW' - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_ERC20_DEPLOYED"]._loaded_options = None - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_ERC20_DEPLOYED"]._serialized_options = b'\212\235 \031CLAIM_TYPE_ERC20_DEPLOYED' - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_VALSET_UPDATED"]._loaded_options = None - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_VALSET_UPDATED"]._serialized_options = b'\212\235 \031CLAIM_TYPE_VALSET_UPDATED' - _globals['_ERC20TOKEN'].fields_by_name['amount']._loaded_options = None - _globals['_ERC20TOKEN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_CLAIMTYPE']._serialized_start=341 - _globals['_CLAIMTYPE']._serialized_end=628 - _globals['_ATTESTATION']._serialized_start=110 - _globals['_ATTESTATION']._serialized_end=241 - _globals['_ERC20TOKEN']._serialized_start=243 - _globals['_ERC20TOKEN']._serialized_end=338 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/attestation_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/attestation_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/peggy/v1/attestation_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/peggy/v1/batch_pb2.py b/pyinjective/proto/injective/peggy/v1/batch_pb2.py deleted file mode 100644 index de226d8d..00000000 --- a/pyinjective/proto/injective/peggy/v1/batch_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/peggy/v1/batch.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.injective.peggy.v1 import attestation_pb2 as injective_dot_peggy_dot_v1_dot_attestation__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/peggy/v1/batch.proto\x12\x12injective.peggy.v1\x1a$injective/peggy/v1/attestation.proto\"\xe0\x01\n\x0fOutgoingTxBatch\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x01 \x01(\x04R\nbatchNonce\x12#\n\rbatch_timeout\x18\x02 \x01(\x04R\x0c\x62\x61tchTimeout\x12J\n\x0ctransactions\x18\x03 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x0ctransactions\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12\x14\n\x05\x62lock\x18\x05 \x01(\x04R\x05\x62lock\"\xdd\x01\n\x12OutgoingTransferTx\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender\x12!\n\x0c\x64\x65st_address\x18\x03 \x01(\tR\x0b\x64\x65stAddress\x12?\n\x0b\x65rc20_token\x18\x04 \x01(\x0b\x32\x1e.injective.peggy.v1.ERC20TokenR\nerc20Token\x12;\n\terc20_fee\x18\x05 \x01(\x0b\x32\x1e.injective.peggy.v1.ERC20TokenR\x08\x65rc20FeeB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nBatchProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.batch_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\nBatchProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_OUTGOINGTXBATCH']._serialized_start=93 - _globals['_OUTGOINGTXBATCH']._serialized_end=317 - _globals['_OUTGOINGTRANSFERTX']._serialized_start=320 - _globals['_OUTGOINGTRANSFERTX']._serialized_end=541 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/batch_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/batch_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/peggy/v1/batch_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py deleted file mode 100644 index 471b8812..00000000 --- a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/peggy/v1/ethereum_signer.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(injective/peggy/v1/ethereum_signer.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto*\x91\x01\n\x08SignType\x12\x15\n\x11SIGN_TYPE_UNKNOWN\x10\x00\x12\x32\n.SIGN_TYPE_ORCHESTRATOR_SIGNED_MULTI_SIG_UPDATE\x10\x01\x12\x30\n,SIGN_TYPE_ORCHESTRATOR_SIGNED_WITHDRAW_BATCH\x10\x02\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00\x42\xe4\x01\n\x16\x63om.injective.peggy.v1B\x13\x45thereumSignerProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.ethereum_signer_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\023EthereumSignerProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_SIGNTYPE']._loaded_options = None - _globals['_SIGNTYPE']._serialized_options = b'\210\243\036\000\250\244\036\000' - _globals['_SIGNTYPE']._serialized_start=87 - _globals['_SIGNTYPE']._serialized_end=232 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/peggy/v1/events_pb2.py b/pyinjective/proto/injective/peggy/v1/events_pb2.py deleted file mode 100644 index 921a69ac..00000000 --- a/pyinjective/proto/injective/peggy/v1/events_pb2.py +++ /dev/null @@ -1,72 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/peggy/v1/events.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.peggy.v1 import attestation_pb2 as injective_dot_peggy_dot_v1_dot_attestation__pb2 -from pyinjective.proto.injective.peggy.v1 import types_pb2 as injective_dot_peggy_dot_v1_dot_types__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/peggy/v1/events.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a$injective/peggy/v1/attestation.proto\x1a\x1einjective/peggy/v1/types.proto\"\xf2\x01\n\x18\x45ventAttestationObserved\x12H\n\x10\x61ttestation_type\x18\x01 \x01(\x0e\x32\x1d.injective.peggy.v1.ClaimTypeR\x0f\x61ttestationType\x12\'\n\x0f\x62ridge_contract\x18\x02 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x03 \x01(\x04R\rbridgeChainId\x12%\n\x0e\x61ttestation_id\x18\x04 \x01(\x0cR\rattestationId\x12\x14\n\x05nonce\x18\x05 \x01(\x04R\x05nonce\"n\n\x1b\x45ventBridgeWithdrawCanceled\x12\'\n\x0f\x62ridge_contract\x18\x01 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x02 \x01(\x04R\rbridgeChainId\"\xc5\x01\n\x12\x45ventOutgoingBatch\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04R\nbatchNonce\x12#\n\rbatch_timeout\x18\x04 \x01(\x04R\x0c\x62\x61tchTimeout\x12 \n\x0c\x62\x61tch_tx_ids\x18\x05 \x03(\x04R\nbatchTxIds\"\x9e\x01\n\x1a\x45ventOutgoingBatchCanceled\x12\'\n\x0f\x62ridge_contract\x18\x01 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x02 \x01(\x04R\rbridgeChainId\x12\x19\n\x08\x62\x61tch_id\x18\x03 \x01(\x04R\x07\x62\x61tchId\x12\x14\n\x05nonce\x18\x04 \x01(\x04R\x05nonce\"\x95\x02\n\x18\x45ventValsetUpdateRequest\x12!\n\x0cvalset_nonce\x18\x01 \x01(\x04R\x0bvalsetNonce\x12#\n\rvalset_height\x18\x02 \x01(\x04R\x0cvalsetHeight\x12J\n\x0evalset_members\x18\x03 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\rvalsetMembers\x12\x42\n\rreward_amount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x05 \x01(\tR\x0brewardToken\"\xb1\x01\n\x1d\x45ventSetOrchestratorAddresses\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\x12\x30\n\x14operator_eth_address\x18\x03 \x01(\tR\x12operatorEthAddress\"j\n\x12\x45ventValsetConfirm\x12!\n\x0cvalset_nonce\x18\x01 \x01(\x04R\x0bvalsetNonce\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\"\x83\x02\n\x0e\x45ventSendToEth\x12$\n\x0eoutgoing_tx_id\x18\x01 \x01(\x04R\x0coutgoingTxId\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x03 \x01(\tR\x08receiver\x12G\n\x06\x61mount\x18\x04 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\x06\x61mount\x12N\n\nbridge_fee\x18\x05 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\tbridgeFee\"g\n\x11\x45ventConfirmBatch\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x01 \x01(\x04R\nbatchNonce\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\"t\n\x14\x45ventAttestationVote\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12%\n\x0e\x61ttestation_id\x18\x02 \x01(\x0cR\rattestationId\x12\x14\n\x05voter\x18\x03 \x01(\tR\x05voter\"\xf5\x02\n\x11\x45ventDepositClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12\'\n\x0f\x65thereum_sender\x18\x04 \x01(\tR\x0e\x65thereumSender\x12\'\n\x0f\x63osmos_receiver\x18\x05 \x01(\tR\x0e\x63osmosReceiver\x12%\n\x0etoken_contract\x18\x06 \x01(\tR\rtokenContract\x12\x35\n\x06\x61mount\x18\x07 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\x12\x31\n\x14orchestrator_address\x18\x08 \x01(\tR\x13orchestratorAddress\x12\x12\n\x04\x64\x61ta\x18\t \x01(\tR\x04\x64\x61ta\"\xfa\x01\n\x12\x45ventWithdrawClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x04 \x01(\x04R\nbatchNonce\x12%\n\x0etoken_contract\x18\x05 \x01(\tR\rtokenContract\x12\x31\n\x14orchestrator_address\x18\x06 \x01(\tR\x13orchestratorAddress\"\xc9\x02\n\x17\x45ventERC20DeployedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12!\n\x0c\x63osmos_denom\x18\x04 \x01(\tR\x0b\x63osmosDenom\x12%\n\x0etoken_contract\x18\x05 \x01(\tR\rtokenContract\x12\x12\n\x04name\x18\x06 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x07 \x01(\tR\x06symbol\x12\x1a\n\x08\x64\x65\x63imals\x18\x08 \x01(\x04R\x08\x64\x65\x63imals\x12\x31\n\x14orchestrator_address\x18\t \x01(\tR\x13orchestratorAddress\"\x8c\x03\n\x16\x45ventValsetUpdateClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12!\n\x0cvalset_nonce\x18\x04 \x01(\x04R\x0bvalsetNonce\x12J\n\x0evalset_members\x18\x05 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\rvalsetMembers\x12\x42\n\rreward_amount\x18\x06 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x07 \x01(\tR\x0brewardToken\x12\x31\n\x14orchestrator_address\x18\x08 \x01(\tR\x13orchestratorAddress\"<\n\x14\x45ventCancelSendToEth\x12$\n\x0eoutgoing_tx_id\x18\x01 \x01(\x04R\x0coutgoingTxId\"\x88\x01\n\x1f\x45ventSubmitBadSignatureEvidence\x12*\n\x11\x62\x61\x64_eth_signature\x18\x01 \x01(\tR\x0f\x62\x61\x64\x45thSignature\x12\x39\n\x19\x62\x61\x64_eth_signature_subject\x18\x02 \x01(\tR\x16\x62\x61\x64\x45thSignatureSubject\"\xb5\x01\n\x13\x45ventValidatorSlash\x12\x14\n\x05power\x18\x01 \x01(\x03R\x05power\x12\x16\n\x06reason\x18\x02 \x01(\tR\x06reason\x12+\n\x11\x63onsensus_address\x18\x03 \x01(\tR\x10\x63onsensusAddress\x12)\n\x10operator_address\x18\x04 \x01(\tR\x0foperatorAddress\x12\x18\n\x07moniker\x18\x05 \x01(\tR\x07monikerB\xdc\x01\n\x16\x63om.injective.peggy.v1B\x0b\x45ventsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.events_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\013EventsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_EVENTVALSETUPDATEREQUEST'].fields_by_name['reward_amount']._loaded_options = None - _globals['_EVENTVALSETUPDATEREQUEST'].fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_EVENTSENDTOETH'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTSENDTOETH'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin' - _globals['_EVENTSENDTOETH'].fields_by_name['bridge_fee']._loaded_options = None - _globals['_EVENTSENDTOETH'].fields_by_name['bridge_fee']._serialized_options = b'\310\336\037\000\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin' - _globals['_EVENTDEPOSITCLAIM'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTDEPOSITCLAIM'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_EVENTVALSETUPDATECLAIM'].fields_by_name['reward_amount']._loaded_options = None - _globals['_EVENTVALSETUPDATECLAIM'].fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_EVENTATTESTATIONOBSERVED']._serialized_start=148 - _globals['_EVENTATTESTATIONOBSERVED']._serialized_end=390 - _globals['_EVENTBRIDGEWITHDRAWCANCELED']._serialized_start=392 - _globals['_EVENTBRIDGEWITHDRAWCANCELED']._serialized_end=502 - _globals['_EVENTOUTGOINGBATCH']._serialized_start=505 - _globals['_EVENTOUTGOINGBATCH']._serialized_end=702 - _globals['_EVENTOUTGOINGBATCHCANCELED']._serialized_start=705 - _globals['_EVENTOUTGOINGBATCHCANCELED']._serialized_end=863 - _globals['_EVENTVALSETUPDATEREQUEST']._serialized_start=866 - _globals['_EVENTVALSETUPDATEREQUEST']._serialized_end=1143 - _globals['_EVENTSETORCHESTRATORADDRESSES']._serialized_start=1146 - _globals['_EVENTSETORCHESTRATORADDRESSES']._serialized_end=1323 - _globals['_EVENTVALSETCONFIRM']._serialized_start=1325 - _globals['_EVENTVALSETCONFIRM']._serialized_end=1431 - _globals['_EVENTSENDTOETH']._serialized_start=1434 - _globals['_EVENTSENDTOETH']._serialized_end=1693 - _globals['_EVENTCONFIRMBATCH']._serialized_start=1695 - _globals['_EVENTCONFIRMBATCH']._serialized_end=1798 - _globals['_EVENTATTESTATIONVOTE']._serialized_start=1800 - _globals['_EVENTATTESTATIONVOTE']._serialized_end=1916 - _globals['_EVENTDEPOSITCLAIM']._serialized_start=1919 - _globals['_EVENTDEPOSITCLAIM']._serialized_end=2292 - _globals['_EVENTWITHDRAWCLAIM']._serialized_start=2295 - _globals['_EVENTWITHDRAWCLAIM']._serialized_end=2545 - _globals['_EVENTERC20DEPLOYEDCLAIM']._serialized_start=2548 - _globals['_EVENTERC20DEPLOYEDCLAIM']._serialized_end=2877 - _globals['_EVENTVALSETUPDATECLAIM']._serialized_start=2880 - _globals['_EVENTVALSETUPDATECLAIM']._serialized_end=3276 - _globals['_EVENTCANCELSENDTOETH']._serialized_start=3278 - _globals['_EVENTCANCELSENDTOETH']._serialized_end=3338 - _globals['_EVENTSUBMITBADSIGNATUREEVIDENCE']._serialized_start=3341 - _globals['_EVENTSUBMITBADSIGNATUREEVIDENCE']._serialized_end=3477 - _globals['_EVENTVALIDATORSLASH']._serialized_start=3480 - _globals['_EVENTVALIDATORSLASH']._serialized_end=3661 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/events_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/events_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/peggy/v1/events_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/peggy/v1/genesis_pb2.py b/pyinjective/proto/injective/peggy/v1/genesis_pb2.py deleted file mode 100644 index 4d9e4d60..00000000 --- a/pyinjective/proto/injective/peggy/v1/genesis_pb2.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/peggy/v1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.peggy.v1 import types_pb2 as injective_dot_peggy_dot_v1_dot_types__pb2 -from pyinjective.proto.injective.peggy.v1 import msgs_pb2 as injective_dot_peggy_dot_v1_dot_msgs__pb2 -from pyinjective.proto.injective.peggy.v1 import batch_pb2 as injective_dot_peggy_dot_v1_dot_batch__pb2 -from pyinjective.proto.injective.peggy.v1 import attestation_pb2 as injective_dot_peggy_dot_v1_dot_attestation__pb2 -from pyinjective.proto.injective.peggy.v1 import params_pb2 as injective_dot_peggy_dot_v1_dot_params__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n injective/peggy/v1/genesis.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1dinjective/peggy/v1/msgs.proto\x1a\x1einjective/peggy/v1/batch.proto\x1a$injective/peggy/v1/attestation.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x80\x08\n\x0cGenesisState\x12\x32\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsR\x06params\x12.\n\x13last_observed_nonce\x18\x02 \x01(\x04R\x11lastObservedNonce\x12\x34\n\x07valsets\x18\x03 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets\x12M\n\x0fvalset_confirms\x18\x04 \x03(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x0evalsetConfirms\x12=\n\x07\x62\x61tches\x18\x05 \x03(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x07\x62\x61tches\x12J\n\x0e\x62\x61tch_confirms\x18\x06 \x03(\x0b\x32#.injective.peggy.v1.MsgConfirmBatchR\rbatchConfirms\x12\x43\n\x0c\x61ttestations\x18\x07 \x03(\x0b\x32\x1f.injective.peggy.v1.AttestationR\x0c\x61ttestations\x12\x66\n\x16orchestrator_addresses\x18\x08 \x03(\x0b\x32/.injective.peggy.v1.MsgSetOrchestratorAddressesR\x15orchestratorAddresses\x12H\n\x0f\x65rc20_to_denoms\x18\t \x03(\x0b\x32 .injective.peggy.v1.ERC20ToDenomR\rerc20ToDenoms\x12W\n\x13unbatched_transfers\x18\n \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12unbatchedTransfers\x12\x41\n\x1dlast_observed_ethereum_height\x18\x0b \x01(\x04R\x1alastObservedEthereumHeight\x12\x33\n\x16last_outgoing_batch_id\x18\x0c \x01(\x04R\x13lastOutgoingBatchId\x12\x31\n\x15last_outgoing_pool_id\x18\r \x01(\x04R\x12lastOutgoingPoolId\x12R\n\x14last_observed_valset\x18\x0e \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetB\x04\xc8\xde\x1f\x00R\x12lastObservedValset\x12-\n\x12\x65thereum_blacklist\x18\x0f \x03(\tR\x11\x65thereumBlacklistB\xdd\x01\n\x16\x63om.injective.peggy.v1B\x0cGenesisProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\014GenesisProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_GENESISSTATE'].fields_by_name['last_observed_valset']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['last_observed_valset']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=277 - _globals['_GENESISSTATE']._serialized_end=1301 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/genesis_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/peggy/v1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/peggy/v1/msgs_pb2.py b/pyinjective/proto/injective/peggy/v1/msgs_pb2.py deleted file mode 100644 index 098d38cb..00000000 --- a/pyinjective/proto/injective/peggy/v1/msgs_pb2.py +++ /dev/null @@ -1,156 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/peggy/v1/msgs.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.injective.peggy.v1 import types_pb2 as injective_dot_peggy_dot_v1_dot_types__pb2 -from pyinjective.proto.injective.peggy.v1 import params_pb2 as injective_dot_peggy_dot_v1_dot_params__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dinjective/peggy/v1/msgs.proto\x12\x12injective.peggy.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xad\x01\n\x1bMsgSetOrchestratorAddresses\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\"\n\x0corchestrator\x18\x02 \x01(\tR\x0corchestrator\x12\x1f\n\x0b\x65th_address\x18\x03 \x01(\tR\nethAddress:1\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!peggy/MsgSetOrchestratorAddresses\"%\n#MsgSetOrchestratorAddressesResponse\"\xb9\x01\n\x10MsgValsetConfirm\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12\"\n\x0corchestrator\x18\x02 \x01(\tR\x0corchestrator\x12\x1f\n\x0b\x65th_address\x18\x03 \x01(\tR\nethAddress\x12\x1c\n\tsignature\x18\x04 \x01(\tR\tsignature:,\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x16peggy/MsgValsetConfirm\"\x1a\n\x18MsgValsetConfirmResponse\"\xde\x01\n\x0cMsgSendToEth\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x19\n\x08\x65th_dest\x18\x02 \x01(\tR\x07\x65thDest\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\x12>\n\nbridge_fee\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\tbridgeFee:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12peggy/MsgSendToEth\"\x16\n\x14MsgSendToEthResponse\"x\n\x0fMsgRequestBatch\x12\"\n\x0corchestrator\x18\x01 \x01(\tR\x0corchestrator\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgRequestBatch\"\x19\n\x17MsgRequestBatchResponse\"\xdc\x01\n\x0fMsgConfirmBatch\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12%\n\x0etoken_contract\x18\x02 \x01(\tR\rtokenContract\x12\x1d\n\neth_signer\x18\x03 \x01(\tR\tethSigner\x12\"\n\x0corchestrator\x18\x04 \x01(\tR\x0corchestrator\x12\x1c\n\tsignature\x18\x05 \x01(\tR\tsignature:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgConfirmBatch\"\x19\n\x17MsgConfirmBatchResponse\"\xea\x02\n\x0fMsgDepositClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12%\n\x0etoken_contract\x18\x03 \x01(\tR\rtokenContract\x12\x35\n\x06\x61mount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\x12\'\n\x0f\x65thereum_sender\x18\x05 \x01(\tR\x0e\x65thereumSender\x12\'\n\x0f\x63osmos_receiver\x18\x06 \x01(\tR\x0e\x63osmosReceiver\x12\"\n\x0corchestrator\x18\x07 \x01(\tR\x0corchestrator\x12\x12\n\x04\x64\x61ta\x18\x08 \x01(\tR\x04\x64\x61ta:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgDepositClaim\"\x19\n\x17MsgDepositClaimResponse\"\xf0\x01\n\x10MsgWithdrawClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04R\nbatchNonce\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12\"\n\x0corchestrator\x18\x05 \x01(\tR\x0corchestrator:,\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x16peggy/MsgWithdrawClaim\"\x1a\n\x18MsgWithdrawClaimResponse\"\xc4\x02\n\x15MsgERC20DeployedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12!\n\x0c\x63osmos_denom\x18\x03 \x01(\tR\x0b\x63osmosDenom\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x06 \x01(\tR\x06symbol\x12\x1a\n\x08\x64\x65\x63imals\x18\x07 \x01(\x04R\x08\x64\x65\x63imals\x12\"\n\x0corchestrator\x18\x08 \x01(\tR\x0corchestrator:1\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x1bpeggy/MsgERC20DeployedClaim\"\x1f\n\x1dMsgERC20DeployedClaimResponse\"}\n\x12MsgCancelSendToEth\x12%\n\x0etransaction_id\x18\x01 \x01(\x04R\rtransactionId\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender:(\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x18peggy/MsgCancelSendToEth\"\x1c\n\x1aMsgCancelSendToEthResponse\"\xba\x01\n\x1dMsgSubmitBadSignatureEvidence\x12.\n\x07subject\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x07subject\x12\x1c\n\tsignature\x18\x02 \x01(\tR\tsignature\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#peggy/MsgSubmitBadSignatureEvidence\"\'\n%MsgSubmitBadSignatureEvidenceResponse\"\xfb\x02\n\x15MsgValsetUpdatedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0cvalset_nonce\x18\x02 \x01(\x04R\x0bvalsetNonce\x12!\n\x0c\x62lock_height\x18\x03 \x01(\x04R\x0b\x62lockHeight\x12=\n\x07members\x18\x04 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\x07members\x12\x42\n\rreward_amount\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x06 \x01(\tR\x0brewardToken\x12\"\n\x0corchestrator\x18\x07 \x01(\tR\x0corchestrator:1\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x1bpeggy/MsgValsetUpdatedClaim\"\x1f\n\x1dMsgValsetUpdatedClaimResponse\"\xad\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:(\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x15peggy/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\x9d\x01\n\x1dMsgBlacklistEthereumAddresses\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12/\n\x13\x62lacklist_addresses\x18\x02 \x03(\tR\x12\x62lacklistAddresses:3\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*#peggy/MsgBlacklistEthereumAddresses\"\'\n%MsgBlacklistEthereumAddressesResponse\"\x97\x01\n\x1aMsgRevokeEthereumBlacklist\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12/\n\x13\x62lacklist_addresses\x18\x02 \x03(\tR\x12\x62lacklistAddresses:0\x82\xe7\xb0*\x06signer\x8a\xe7\xb0* peggy/MsgRevokeEthereumBlacklist\"$\n\"MsgRevokeEthereumBlacklistResponse2\xbe\x10\n\x03Msg\x12\x8f\x01\n\rValsetConfirm\x12$.injective.peggy.v1.MsgValsetConfirm\x1a,.injective.peggy.v1.MsgValsetConfirmResponse\"*\x82\xd3\xe4\x93\x02$\"\"/injective/peggy/v1/valset_confirm\x12\x80\x01\n\tSendToEth\x12 .injective.peggy.v1.MsgSendToEth\x1a(.injective.peggy.v1.MsgSendToEthResponse\"\'\x82\xd3\xe4\x93\x02!\"\x1f/injective/peggy/v1/send_to_eth\x12\x8b\x01\n\x0cRequestBatch\x12#.injective.peggy.v1.MsgRequestBatch\x1a+.injective.peggy.v1.MsgRequestBatchResponse\")\x82\xd3\xe4\x93\x02#\"!/injective/peggy/v1/request_batch\x12\x8b\x01\n\x0c\x43onfirmBatch\x12#.injective.peggy.v1.MsgConfirmBatch\x1a+.injective.peggy.v1.MsgConfirmBatchResponse\")\x82\xd3\xe4\x93\x02#\"!/injective/peggy/v1/confirm_batch\x12\x8b\x01\n\x0c\x44\x65positClaim\x12#.injective.peggy.v1.MsgDepositClaim\x1a+.injective.peggy.v1.MsgDepositClaimResponse\")\x82\xd3\xe4\x93\x02#\"!/injective/peggy/v1/deposit_claim\x12\x8f\x01\n\rWithdrawClaim\x12$.injective.peggy.v1.MsgWithdrawClaim\x1a,.injective.peggy.v1.MsgWithdrawClaimResponse\"*\x82\xd3\xe4\x93\x02$\"\"/injective/peggy/v1/withdraw_claim\x12\xa3\x01\n\x11ValsetUpdateClaim\x12).injective.peggy.v1.MsgValsetUpdatedClaim\x1a\x31.injective.peggy.v1.MsgValsetUpdatedClaimResponse\"0\x82\xd3\xe4\x93\x02*\"(/injective/peggy/v1/valset_updated_claim\x12\xa4\x01\n\x12\x45RC20DeployedClaim\x12).injective.peggy.v1.MsgERC20DeployedClaim\x1a\x31.injective.peggy.v1.MsgERC20DeployedClaimResponse\"0\x82\xd3\xe4\x93\x02*\"(/injective/peggy/v1/erc20_deployed_claim\x12\xba\x01\n\x18SetOrchestratorAddresses\x12/.injective.peggy.v1.MsgSetOrchestratorAddresses\x1a\x37.injective.peggy.v1.MsgSetOrchestratorAddressesResponse\"4\x82\xd3\xe4\x93\x02.\",/injective/peggy/v1/set_orchestrator_address\x12\x99\x01\n\x0f\x43\x61ncelSendToEth\x12&.injective.peggy.v1.MsgCancelSendToEth\x1a..injective.peggy.v1.MsgCancelSendToEthResponse\".\x82\xd3\xe4\x93\x02(\"&/injective/peggy/v1/cancel_send_to_eth\x12\xc5\x01\n\x1aSubmitBadSignatureEvidence\x12\x31.injective.peggy.v1.MsgSubmitBadSignatureEvidence\x1a\x39.injective.peggy.v1.MsgSubmitBadSignatureEvidenceResponse\"9\x82\xd3\xe4\x93\x02\x33\"1/injective/peggy/v1/submit_bad_signature_evidence\x12`\n\x0cUpdateParams\x12#.injective.peggy.v1.MsgUpdateParams\x1a+.injective.peggy.v1.MsgUpdateParamsResponse\x12\x8a\x01\n\x1a\x42lacklistEthereumAddresses\x12\x31.injective.peggy.v1.MsgBlacklistEthereumAddresses\x1a\x39.injective.peggy.v1.MsgBlacklistEthereumAddressesResponse\x12\x81\x01\n\x17RevokeEthereumBlacklist\x12..injective.peggy.v1.MsgRevokeEthereumBlacklist\x1a\x36.injective.peggy.v1.MsgRevokeEthereumBlacklistResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xda\x01\n\x16\x63om.injective.peggy.v1B\tMsgsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.msgs_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\tMsgsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_MSGSETORCHESTRATORADDRESSES']._loaded_options = None - _globals['_MSGSETORCHESTRATORADDRESSES']._serialized_options = b'\202\347\260*\006sender\212\347\260*!peggy/MsgSetOrchestratorAddresses' - _globals['_MSGVALSETCONFIRM']._loaded_options = None - _globals['_MSGVALSETCONFIRM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\026peggy/MsgValsetConfirm' - _globals['_MSGSENDTOETH'].fields_by_name['amount']._loaded_options = None - _globals['_MSGSENDTOETH'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_MSGSENDTOETH'].fields_by_name['bridge_fee']._loaded_options = None - _globals['_MSGSENDTOETH'].fields_by_name['bridge_fee']._serialized_options = b'\310\336\037\000' - _globals['_MSGSENDTOETH']._loaded_options = None - _globals['_MSGSENDTOETH']._serialized_options = b'\202\347\260*\006sender\212\347\260*\022peggy/MsgSendToEth' - _globals['_MSGREQUESTBATCH']._loaded_options = None - _globals['_MSGREQUESTBATCH']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgRequestBatch' - _globals['_MSGCONFIRMBATCH']._loaded_options = None - _globals['_MSGCONFIRMBATCH']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgConfirmBatch' - _globals['_MSGDEPOSITCLAIM'].fields_by_name['amount']._loaded_options = None - _globals['_MSGDEPOSITCLAIM'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_MSGDEPOSITCLAIM']._loaded_options = None - _globals['_MSGDEPOSITCLAIM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgDepositClaim' - _globals['_MSGWITHDRAWCLAIM']._loaded_options = None - _globals['_MSGWITHDRAWCLAIM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\026peggy/MsgWithdrawClaim' - _globals['_MSGERC20DEPLOYEDCLAIM']._loaded_options = None - _globals['_MSGERC20DEPLOYEDCLAIM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\033peggy/MsgERC20DeployedClaim' - _globals['_MSGCANCELSENDTOETH']._loaded_options = None - _globals['_MSGCANCELSENDTOETH']._serialized_options = b'\202\347\260*\006sender\212\347\260*\030peggy/MsgCancelSendToEth' - _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._loaded_options = None - _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._serialized_options = b'\202\347\260*\006sender\212\347\260*#peggy/MsgSubmitBadSignatureEvidence' - _globals['_MSGVALSETUPDATEDCLAIM'].fields_by_name['reward_amount']._loaded_options = None - _globals['_MSGVALSETUPDATEDCLAIM'].fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_MSGVALSETUPDATEDCLAIM']._loaded_options = None - _globals['_MSGVALSETUPDATEDCLAIM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\033peggy/MsgValsetUpdatedClaim' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\025peggy/MsgUpdateParams' - _globals['_MSGBLACKLISTETHEREUMADDRESSES']._loaded_options = None - _globals['_MSGBLACKLISTETHEREUMADDRESSES']._serialized_options = b'\202\347\260*\006signer\212\347\260*#peggy/MsgBlacklistEthereumAddresses' - _globals['_MSGREVOKEETHEREUMBLACKLIST']._loaded_options = None - _globals['_MSGREVOKEETHEREUMBLACKLIST']._serialized_options = b'\202\347\260*\006signer\212\347\260* peggy/MsgRevokeEthereumBlacklist' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSG'].methods_by_name['ValsetConfirm']._loaded_options = None - _globals['_MSG'].methods_by_name['ValsetConfirm']._serialized_options = b'\202\323\344\223\002$\"\"/injective/peggy/v1/valset_confirm' - _globals['_MSG'].methods_by_name['SendToEth']._loaded_options = None - _globals['_MSG'].methods_by_name['SendToEth']._serialized_options = b'\202\323\344\223\002!\"\037/injective/peggy/v1/send_to_eth' - _globals['_MSG'].methods_by_name['RequestBatch']._loaded_options = None - _globals['_MSG'].methods_by_name['RequestBatch']._serialized_options = b'\202\323\344\223\002#\"!/injective/peggy/v1/request_batch' - _globals['_MSG'].methods_by_name['ConfirmBatch']._loaded_options = None - _globals['_MSG'].methods_by_name['ConfirmBatch']._serialized_options = b'\202\323\344\223\002#\"!/injective/peggy/v1/confirm_batch' - _globals['_MSG'].methods_by_name['DepositClaim']._loaded_options = None - _globals['_MSG'].methods_by_name['DepositClaim']._serialized_options = b'\202\323\344\223\002#\"!/injective/peggy/v1/deposit_claim' - _globals['_MSG'].methods_by_name['WithdrawClaim']._loaded_options = None - _globals['_MSG'].methods_by_name['WithdrawClaim']._serialized_options = b'\202\323\344\223\002$\"\"/injective/peggy/v1/withdraw_claim' - _globals['_MSG'].methods_by_name['ValsetUpdateClaim']._loaded_options = None - _globals['_MSG'].methods_by_name['ValsetUpdateClaim']._serialized_options = b'\202\323\344\223\002*\"(/injective/peggy/v1/valset_updated_claim' - _globals['_MSG'].methods_by_name['ERC20DeployedClaim']._loaded_options = None - _globals['_MSG'].methods_by_name['ERC20DeployedClaim']._serialized_options = b'\202\323\344\223\002*\"(/injective/peggy/v1/erc20_deployed_claim' - _globals['_MSG'].methods_by_name['SetOrchestratorAddresses']._loaded_options = None - _globals['_MSG'].methods_by_name['SetOrchestratorAddresses']._serialized_options = b'\202\323\344\223\002.\",/injective/peggy/v1/set_orchestrator_address' - _globals['_MSG'].methods_by_name['CancelSendToEth']._loaded_options = None - _globals['_MSG'].methods_by_name['CancelSendToEth']._serialized_options = b'\202\323\344\223\002(\"&/injective/peggy/v1/cancel_send_to_eth' - _globals['_MSG'].methods_by_name['SubmitBadSignatureEvidence']._loaded_options = None - _globals['_MSG'].methods_by_name['SubmitBadSignatureEvidence']._serialized_options = b'\202\323\344\223\0023\"1/injective/peggy/v1/submit_bad_signature_evidence' - _globals['_MSGSETORCHESTRATORADDRESSES']._serialized_start=301 - _globals['_MSGSETORCHESTRATORADDRESSES']._serialized_end=474 - _globals['_MSGSETORCHESTRATORADDRESSESRESPONSE']._serialized_start=476 - _globals['_MSGSETORCHESTRATORADDRESSESRESPONSE']._serialized_end=513 - _globals['_MSGVALSETCONFIRM']._serialized_start=516 - _globals['_MSGVALSETCONFIRM']._serialized_end=701 - _globals['_MSGVALSETCONFIRMRESPONSE']._serialized_start=703 - _globals['_MSGVALSETCONFIRMRESPONSE']._serialized_end=729 - _globals['_MSGSENDTOETH']._serialized_start=732 - _globals['_MSGSENDTOETH']._serialized_end=954 - _globals['_MSGSENDTOETHRESPONSE']._serialized_start=956 - _globals['_MSGSENDTOETHRESPONSE']._serialized_end=978 - _globals['_MSGREQUESTBATCH']._serialized_start=980 - _globals['_MSGREQUESTBATCH']._serialized_end=1100 - _globals['_MSGREQUESTBATCHRESPONSE']._serialized_start=1102 - _globals['_MSGREQUESTBATCHRESPONSE']._serialized_end=1127 - _globals['_MSGCONFIRMBATCH']._serialized_start=1130 - _globals['_MSGCONFIRMBATCH']._serialized_end=1350 - _globals['_MSGCONFIRMBATCHRESPONSE']._serialized_start=1352 - _globals['_MSGCONFIRMBATCHRESPONSE']._serialized_end=1377 - _globals['_MSGDEPOSITCLAIM']._serialized_start=1380 - _globals['_MSGDEPOSITCLAIM']._serialized_end=1742 - _globals['_MSGDEPOSITCLAIMRESPONSE']._serialized_start=1744 - _globals['_MSGDEPOSITCLAIMRESPONSE']._serialized_end=1769 - _globals['_MSGWITHDRAWCLAIM']._serialized_start=1772 - _globals['_MSGWITHDRAWCLAIM']._serialized_end=2012 - _globals['_MSGWITHDRAWCLAIMRESPONSE']._serialized_start=2014 - _globals['_MSGWITHDRAWCLAIMRESPONSE']._serialized_end=2040 - _globals['_MSGERC20DEPLOYEDCLAIM']._serialized_start=2043 - _globals['_MSGERC20DEPLOYEDCLAIM']._serialized_end=2367 - _globals['_MSGERC20DEPLOYEDCLAIMRESPONSE']._serialized_start=2369 - _globals['_MSGERC20DEPLOYEDCLAIMRESPONSE']._serialized_end=2400 - _globals['_MSGCANCELSENDTOETH']._serialized_start=2402 - _globals['_MSGCANCELSENDTOETH']._serialized_end=2527 - _globals['_MSGCANCELSENDTOETHRESPONSE']._serialized_start=2529 - _globals['_MSGCANCELSENDTOETHRESPONSE']._serialized_end=2557 - _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._serialized_start=2560 - _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._serialized_end=2746 - _globals['_MSGSUBMITBADSIGNATUREEVIDENCERESPONSE']._serialized_start=2748 - _globals['_MSGSUBMITBADSIGNATUREEVIDENCERESPONSE']._serialized_end=2787 - _globals['_MSGVALSETUPDATEDCLAIM']._serialized_start=2790 - _globals['_MSGVALSETUPDATEDCLAIM']._serialized_end=3169 - _globals['_MSGVALSETUPDATEDCLAIMRESPONSE']._serialized_start=3171 - _globals['_MSGVALSETUPDATEDCLAIMRESPONSE']._serialized_end=3202 - _globals['_MSGUPDATEPARAMS']._serialized_start=3205 - _globals['_MSGUPDATEPARAMS']._serialized_end=3378 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=3380 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=3405 - _globals['_MSGBLACKLISTETHEREUMADDRESSES']._serialized_start=3408 - _globals['_MSGBLACKLISTETHEREUMADDRESSES']._serialized_end=3565 - _globals['_MSGBLACKLISTETHEREUMADDRESSESRESPONSE']._serialized_start=3567 - _globals['_MSGBLACKLISTETHEREUMADDRESSESRESPONSE']._serialized_end=3606 - _globals['_MSGREVOKEETHEREUMBLACKLIST']._serialized_start=3609 - _globals['_MSGREVOKEETHEREUMBLACKLIST']._serialized_end=3760 - _globals['_MSGREVOKEETHEREUMBLACKLISTRESPONSE']._serialized_start=3762 - _globals['_MSGREVOKEETHEREUMBLACKLISTRESPONSE']._serialized_end=3798 - _globals['_MSG']._serialized_start=3801 - _globals['_MSG']._serialized_end=5911 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/msgs_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/msgs_pb2_grpc.py deleted file mode 100644 index 34f5ab26..00000000 --- a/pyinjective/proto/injective/peggy/v1/msgs_pb2_grpc.py +++ /dev/null @@ -1,639 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.injective.peggy.v1 import msgs_pb2 as injective_dot_peggy_dot_v1_dot_msgs__pb2 - - -class MsgStub(object): - """Missing associated documentation comment in .proto file.""" - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.ValsetConfirm = channel.unary_unary( - '/injective.peggy.v1.Msg/ValsetConfirm', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirm.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirmResponse.FromString, - _registered_method=True) - self.SendToEth = channel.unary_unary( - '/injective.peggy.v1.Msg/SendToEth', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEth.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEthResponse.FromString, - _registered_method=True) - self.RequestBatch = channel.unary_unary( - '/injective.peggy.v1.Msg/RequestBatch', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatch.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatchResponse.FromString, - _registered_method=True) - self.ConfirmBatch = channel.unary_unary( - '/injective.peggy.v1.Msg/ConfirmBatch', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatch.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatchResponse.FromString, - _registered_method=True) - self.DepositClaim = channel.unary_unary( - '/injective.peggy.v1.Msg/DepositClaim', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaim.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaimResponse.FromString, - _registered_method=True) - self.WithdrawClaim = channel.unary_unary( - '/injective.peggy.v1.Msg/WithdrawClaim', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaim.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaimResponse.FromString, - _registered_method=True) - self.ValsetUpdateClaim = channel.unary_unary( - '/injective.peggy.v1.Msg/ValsetUpdateClaim', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaim.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaimResponse.FromString, - _registered_method=True) - self.ERC20DeployedClaim = channel.unary_unary( - '/injective.peggy.v1.Msg/ERC20DeployedClaim', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaim.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaimResponse.FromString, - _registered_method=True) - self.SetOrchestratorAddresses = channel.unary_unary( - '/injective.peggy.v1.Msg/SetOrchestratorAddresses', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddresses.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddressesResponse.FromString, - _registered_method=True) - self.CancelSendToEth = channel.unary_unary( - '/injective.peggy.v1.Msg/CancelSendToEth', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEth.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEthResponse.FromString, - _registered_method=True) - self.SubmitBadSignatureEvidence = channel.unary_unary( - '/injective.peggy.v1.Msg/SubmitBadSignatureEvidence', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidence.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidenceResponse.FromString, - _registered_method=True) - self.UpdateParams = channel.unary_unary( - '/injective.peggy.v1.Msg/UpdateParams', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - self.BlacklistEthereumAddresses = channel.unary_unary( - '/injective.peggy.v1.Msg/BlacklistEthereumAddresses', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddresses.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddressesResponse.FromString, - _registered_method=True) - self.RevokeEthereumBlacklist = channel.unary_unary( - '/injective.peggy.v1.Msg/RevokeEthereumBlacklist', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklist.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklistResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Missing associated documentation comment in .proto file.""" - - def ValsetConfirm(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SendToEth(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RequestBatch(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ConfirmBatch(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DepositClaim(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def WithdrawClaim(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ValsetUpdateClaim(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ERC20DeployedClaim(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SetOrchestratorAddresses(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CancelSendToEth(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubmitBadSignatureEvidence(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BlacklistEthereumAddresses(self, request, context): - """BlacklistEthereumAddresses adds Ethereum addresses to the peggy blacklist. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RevokeEthereumBlacklist(self, request, context): - """RevokeEthereumBlacklist removes Ethereum addresses from the peggy - blacklist. - """ - 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 = { - 'ValsetConfirm': grpc.unary_unary_rpc_method_handler( - servicer.ValsetConfirm, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirm.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirmResponse.SerializeToString, - ), - 'SendToEth': grpc.unary_unary_rpc_method_handler( - servicer.SendToEth, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEth.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEthResponse.SerializeToString, - ), - 'RequestBatch': grpc.unary_unary_rpc_method_handler( - servicer.RequestBatch, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatch.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatchResponse.SerializeToString, - ), - 'ConfirmBatch': grpc.unary_unary_rpc_method_handler( - servicer.ConfirmBatch, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatch.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatchResponse.SerializeToString, - ), - 'DepositClaim': grpc.unary_unary_rpc_method_handler( - servicer.DepositClaim, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaim.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaimResponse.SerializeToString, - ), - 'WithdrawClaim': grpc.unary_unary_rpc_method_handler( - servicer.WithdrawClaim, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaim.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaimResponse.SerializeToString, - ), - 'ValsetUpdateClaim': grpc.unary_unary_rpc_method_handler( - servicer.ValsetUpdateClaim, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaim.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaimResponse.SerializeToString, - ), - 'ERC20DeployedClaim': grpc.unary_unary_rpc_method_handler( - servicer.ERC20DeployedClaim, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaim.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaimResponse.SerializeToString, - ), - 'SetOrchestratorAddresses': grpc.unary_unary_rpc_method_handler( - servicer.SetOrchestratorAddresses, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddresses.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddressesResponse.SerializeToString, - ), - 'CancelSendToEth': grpc.unary_unary_rpc_method_handler( - servicer.CancelSendToEth, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEth.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEthResponse.SerializeToString, - ), - 'SubmitBadSignatureEvidence': grpc.unary_unary_rpc_method_handler( - servicer.SubmitBadSignatureEvidence, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidence.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidenceResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'BlacklistEthereumAddresses': grpc.unary_unary_rpc_method_handler( - servicer.BlacklistEthereumAddresses, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddresses.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddressesResponse.SerializeToString, - ), - 'RevokeEthereumBlacklist': grpc.unary_unary_rpc_method_handler( - servicer.RevokeEthereumBlacklist, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklist.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklistResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.peggy.v1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.peggy.v1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Missing associated documentation comment in .proto file.""" - - @staticmethod - def ValsetConfirm(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Msg/ValsetConfirm', - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirm.SerializeToString, - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirmResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SendToEth(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Msg/SendToEth', - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEth.SerializeToString, - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEthResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def RequestBatch(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Msg/RequestBatch', - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatch.SerializeToString, - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatchResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ConfirmBatch(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Msg/ConfirmBatch', - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatch.SerializeToString, - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatchResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DepositClaim(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Msg/DepositClaim', - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaim.SerializeToString, - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaimResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def WithdrawClaim(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Msg/WithdrawClaim', - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaim.SerializeToString, - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaimResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ValsetUpdateClaim(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Msg/ValsetUpdateClaim', - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaim.SerializeToString, - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaimResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ERC20DeployedClaim(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Msg/ERC20DeployedClaim', - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaim.SerializeToString, - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaimResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SetOrchestratorAddresses(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Msg/SetOrchestratorAddresses', - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddresses.SerializeToString, - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddressesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CancelSendToEth(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Msg/CancelSendToEth', - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEth.SerializeToString, - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEthResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SubmitBadSignatureEvidence(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Msg/SubmitBadSignatureEvidence', - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidence.SerializeToString, - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidenceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Msg/UpdateParams', - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParams.SerializeToString, - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BlacklistEthereumAddresses(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Msg/BlacklistEthereumAddresses', - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddresses.SerializeToString, - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddressesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def RevokeEthereumBlacklist(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Msg/RevokeEthereumBlacklist', - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklist.SerializeToString, - injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklistResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/injective/peggy/v1/params_pb2.py b/pyinjective/proto/injective/peggy/v1/params_pb2.py deleted file mode 100644 index de890733..00000000 --- a/pyinjective/proto/injective/peggy/v1/params_pb2.py +++ /dev/null @@ -1,44 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/peggy/v1/params.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/peggy/v1/params.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"\xea\n\n\x06Params\x12\x19\n\x08peggy_id\x18\x01 \x01(\tR\x07peggyId\x12\x30\n\x14\x63ontract_source_hash\x18\x02 \x01(\tR\x12\x63ontractSourceHash\x12\x36\n\x17\x62ridge_ethereum_address\x18\x03 \x01(\tR\x15\x62ridgeEthereumAddress\x12&\n\x0f\x62ridge_chain_id\x18\x04 \x01(\x04R\rbridgeChainId\x12\x32\n\x15signed_valsets_window\x18\x05 \x01(\x04R\x13signedValsetsWindow\x12\x32\n\x15signed_batches_window\x18\x06 \x01(\x04R\x13signedBatchesWindow\x12\x30\n\x14signed_claims_window\x18\x07 \x01(\x04R\x12signedClaimsWindow\x12\x30\n\x14target_batch_timeout\x18\x08 \x01(\x04R\x12targetBatchTimeout\x12,\n\x12\x61verage_block_time\x18\t \x01(\x04R\x10\x61verageBlockTime\x12=\n\x1b\x61verage_ethereum_block_time\x18\n \x01(\x04R\x18\x61verageEthereumBlockTime\x12W\n\x15slash_fraction_valset\x18\x0b \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13slashFractionValset\x12U\n\x14slash_fraction_batch\x18\x0c \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12slashFractionBatch\x12U\n\x14slash_fraction_claim\x18\r \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12slashFractionClaim\x12l\n slash_fraction_conflicting_claim\x18\x0e \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1dslashFractionConflictingClaim\x12\x43\n\x1eunbond_slashing_valsets_window\x18\x0f \x01(\x04R\x1bunbondSlashingValsetsWindow\x12k\n slash_fraction_bad_eth_signature\x18\x10 \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1cslashFractionBadEthSignature\x12*\n\x11\x63osmos_coin_denom\x18\x11 \x01(\tR\x0f\x63osmosCoinDenom\x12;\n\x1a\x63osmos_coin_erc20_contract\x18\x12 \x01(\tR\x17\x63osmosCoinErc20Contract\x12\x34\n\x16\x63laim_slashing_enabled\x18\x13 \x01(\x08R\x14\x63laimSlashingEnabled\x12?\n\x1c\x62ridge_contract_start_height\x18\x14 \x01(\x04R\x19\x62ridgeContractStartHeight\x12\x44\n\rvalset_reward\x18\x15 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x0cvalsetReward\x12\x16\n\x06\x61\x64mins\x18\x16 \x03(\tR\x06\x61\x64mins:\x15\x80\xdc \x00\x8a\xe7\xb0*\x0cpeggy/ParamsB\xdc\x01\n\x16\x63om.injective.peggy.v1B\x0bParamsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.params_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\013ParamsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_PARAMS'].fields_by_name['slash_fraction_valset']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_valset']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['slash_fraction_batch']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_batch']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['slash_fraction_claim']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_claim']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['slash_fraction_conflicting_claim']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_conflicting_claim']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['slash_fraction_bad_eth_signature']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_bad_eth_signature']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['valset_reward']._loaded_options = None - _globals['_PARAMS'].fields_by_name['valset_reward']._serialized_options = b'\310\336\037\000' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\200\334 \000\212\347\260*\014peggy/Params' - _globals['_PARAMS']._serialized_start=129 - _globals['_PARAMS']._serialized_end=1515 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/params_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/params_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/peggy/v1/params_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/peggy/v1/pool_pb2.py b/pyinjective/proto/injective/peggy/v1/pool_pb2.py deleted file mode 100644 index 2358a594..00000000 --- a/pyinjective/proto/injective/peggy/v1/pool_pb2.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/peggy/v1/pool.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dinjective/peggy/v1/pool.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\"\x19\n\x05IDSet\x12\x10\n\x03ids\x18\x01 \x03(\x04R\x03ids\"_\n\tBatchFees\x12\x14\n\x05token\x18\x01 \x01(\tR\x05token\x12<\n\ntotal_fees\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\ttotalFeesB\xda\x01\n\x16\x63om.injective.peggy.v1B\tPoolProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.pool_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\tPoolProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_BATCHFEES'].fields_by_name['total_fees']._loaded_options = None - _globals['_BATCHFEES'].fields_by_name['total_fees']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_IDSET']._serialized_start=75 - _globals['_IDSET']._serialized_end=100 - _globals['_BATCHFEES']._serialized_start=102 - _globals['_BATCHFEES']._serialized_end=197 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/pool_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/pool_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/peggy/v1/pool_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/peggy/v1/query_pb2.py b/pyinjective/proto/injective/peggy/v1/query_pb2.py deleted file mode 100644 index 8e78efca..00000000 --- a/pyinjective/proto/injective/peggy/v1/query_pb2.py +++ /dev/null @@ -1,163 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/peggy/v1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.injective.peggy.v1 import genesis_pb2 as injective_dot_peggy_dot_v1_dot_genesis__pb2 -from pyinjective.proto.injective.peggy.v1 import params_pb2 as injective_dot_peggy_dot_v1_dot_params__pb2 -from pyinjective.proto.injective.peggy.v1 import types_pb2 as injective_dot_peggy_dot_v1_dot_types__pb2 -from pyinjective.proto.injective.peggy.v1 import msgs_pb2 as injective_dot_peggy_dot_v1_dot_msgs__pb2 -from pyinjective.proto.injective.peggy.v1 import pool_pb2 as injective_dot_peggy_dot_v1_dot_pool__pb2 -from pyinjective.proto.injective.peggy.v1 import batch_pb2 as injective_dot_peggy_dot_v1_dot_batch__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/peggy/v1/query.proto\x12\x12injective.peggy.v1\x1a injective/peggy/v1/genesis.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1dinjective/peggy/v1/msgs.proto\x1a\x1dinjective/peggy/v1/pool.proto\x1a\x1einjective/peggy/v1/batch.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto\"\x14\n\x12QueryParamsRequest\"O\n\x13QueryParamsResponse\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1b\n\x19QueryCurrentValsetRequest\"P\n\x1aQueryCurrentValsetResponse\x12\x32\n\x06valset\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x06valset\"1\n\x19QueryValsetRequestRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\"P\n\x1aQueryValsetRequestResponse\x12\x32\n\x06valset\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x06valset\"K\n\x19QueryValsetConfirmRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"\\\n\x1aQueryValsetConfirmResponse\x12>\n\x07\x63onfirm\x18\x01 \x01(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x07\x63onfirm\"9\n!QueryValsetConfirmsByNonceRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\"f\n\"QueryValsetConfirmsByNonceResponse\x12@\n\x08\x63onfirms\x18\x01 \x03(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x08\x63onfirms\" \n\x1eQueryLastValsetRequestsRequest\"W\n\x1fQueryLastValsetRequestsResponse\x12\x34\n\x07valsets\x18\x01 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets\"F\n*QueryLastPendingValsetRequestByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"c\n+QueryLastPendingValsetRequestByAddrResponse\x12\x34\n\x07valsets\x18\x01 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets\"\x16\n\x14QueryBatchFeeRequest\"T\n\x15QueryBatchFeeResponse\x12;\n\tbatchFees\x18\x01 \x03(\x0b\x32\x1d.injective.peggy.v1.BatchFeesR\tbatchFees\"E\n)QueryLastPendingBatchRequestByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"g\n*QueryLastPendingBatchRequestByAddrResponse\x12\x39\n\x05\x62\x61tch\x18\x01 \x01(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x05\x62\x61tch\"\x1f\n\x1dQueryOutgoingTxBatchesRequest\"_\n\x1eQueryOutgoingTxBatchesResponse\x12=\n\x07\x62\x61tches\x18\x01 \x03(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x07\x62\x61tches\"b\n\x1fQueryBatchRequestByNonceRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\"]\n QueryBatchRequestByNonceResponse\x12\x39\n\x05\x62\x61tch\x18\x01 \x01(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x05\x62\x61tch\"\\\n\x19QueryBatchConfirmsRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\"]\n\x1aQueryBatchConfirmsResponse\x12?\n\x08\x63onfirms\x18\x01 \x03(\x0b\x32#.injective.peggy.v1.MsgConfirmBatchR\x08\x63onfirms\"7\n\x1bQueryLastEventByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"l\n\x1cQueryLastEventByAddrResponse\x12L\n\x10last_claim_event\x18\x01 \x01(\x0b\x32\".injective.peggy.v1.LastClaimEventR\x0elastClaimEvent\"0\n\x18QueryERC20ToDenomRequest\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20\"^\n\x19QueryERC20ToDenomResponse\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12+\n\x11\x63osmos_originated\x18\x02 \x01(\x08R\x10\x63osmosOriginated\"0\n\x18QueryDenomToERC20Request\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"^\n\x19QueryDenomToERC20Response\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20\x12+\n\x11\x63osmos_originated\x18\x02 \x01(\x08R\x10\x63osmosOriginated\"R\n#QueryDelegateKeysByValidatorAddress\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\"\x81\x01\n+QueryDelegateKeysByValidatorAddressResponse\x12\x1f\n\x0b\x65th_address\x18\x01 \x01(\tR\nethAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\"@\n\x1dQueryDelegateKeysByEthAddress\x12\x1f\n\x0b\x65th_address\x18\x01 \x01(\tR\nethAddress\"\x87\x01\n%QueryDelegateKeysByEthAddressResponse\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\"[\n&QueryDelegateKeysByOrchestratorAddress\x12\x31\n\x14orchestrator_address\x18\x01 \x01(\tR\x13orchestratorAddress\"~\n.QueryDelegateKeysByOrchestratorAddressResponse\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x1f\n\x0b\x65th_address\x18\x02 \x01(\tR\nethAddress\">\n\x15QueryPendingSendToEth\x12%\n\x0esender_address\x18\x01 \x01(\tR\rsenderAddress\"\xd2\x01\n\x1dQueryPendingSendToEthResponse\x12X\n\x14transfers_in_batches\x18\x01 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12transfersInBatches\x12W\n\x13unbatched_transfers\x18\x02 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12unbatchedTransfers\"\x19\n\x17QueryModuleStateRequest\"R\n\x18QueryModuleStateResponse\x12\x36\n\x05state\x18\x01 \x01(\x0b\x32 .injective.peggy.v1.GenesisStateR\x05state\"\x16\n\x14MissingNoncesRequest\"F\n\x15MissingNoncesResponse\x12-\n\x12operator_addresses\x18\x01 \x03(\tR\x11operatorAddresses2\xc6\x1a\n\x05Query\x12s\n\x06Params\x12&.injective.peggy.v1.QueryParamsRequest\x1a\'.injective.peggy.v1.QueryParamsResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/peggy/v1/params\x12\x90\x01\n\rCurrentValset\x12-.injective.peggy.v1.QueryCurrentValsetRequest\x1a..injective.peggy.v1.QueryCurrentValsetResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/valset/current\x12\x88\x01\n\rValsetRequest\x12-.injective.peggy.v1.QueryValsetRequestRequest\x1a..injective.peggy.v1.QueryValsetRequestResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/peggy/v1/valset\x12\x90\x01\n\rValsetConfirm\x12-.injective.peggy.v1.QueryValsetConfirmRequest\x1a..injective.peggy.v1.QueryValsetConfirmResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/valset/confirm\x12\xaa\x01\n\x15ValsetConfirmsByNonce\x12\x35.injective.peggy.v1.QueryValsetConfirmsByNonceRequest\x1a\x36.injective.peggy.v1.QueryValsetConfirmsByNonceResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/peggy/v1/confirms/{nonce}\x12\xa0\x01\n\x12LastValsetRequests\x12\x32.injective.peggy.v1.QueryLastValsetRequestsRequest\x1a\x33.injective.peggy.v1.QueryLastValsetRequestsResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/peggy/v1/valset/requests\x12\xc0\x01\n\x1eLastPendingValsetRequestByAddr\x12>.injective.peggy.v1.QueryLastPendingValsetRequestByAddrRequest\x1a?.injective.peggy.v1.QueryLastPendingValsetRequestByAddrResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/peggy/v1/valset/last\x12\x9e\x01\n\x0fLastEventByAddr\x12/.injective.peggy.v1.QueryLastEventByAddrRequest\x1a\x30.injective.peggy.v1.QueryLastEventByAddrResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /peggy/v1/oracle/event/{address}\x12\x9a\x01\n\x13GetPendingSendToEth\x12).injective.peggy.v1.QueryPendingSendToEth\x1a\x31.injective.peggy.v1.QueryPendingSendToEthResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/peggy/v1/pending_send_to_eth\x12}\n\tBatchFees\x12(.injective.peggy.v1.QueryBatchFeeRequest\x1a).injective.peggy.v1.QueryBatchFeeResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/peggy/v1/batchfees\x12\x9e\x01\n\x11OutgoingTxBatches\x12\x31.injective.peggy.v1.QueryOutgoingTxBatchesRequest\x1a\x32.injective.peggy.v1.QueryOutgoingTxBatchesResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/peggy/v1/batch/outgoingtx\x12\xbc\x01\n\x1dLastPendingBatchRequestByAddr\x12=.injective.peggy.v1.QueryLastPendingBatchRequestByAddrRequest\x1a>.injective.peggy.v1.QueryLastPendingBatchRequestByAddrResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/peggy/v1/batch/last\x12\x99\x01\n\x13\x42\x61tchRequestByNonce\x12\x33.injective.peggy.v1.QueryBatchRequestByNonceRequest\x1a\x34.injective.peggy.v1.QueryBatchRequestByNonceResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/peggy/v1/batch\x12\x90\x01\n\rBatchConfirms\x12-.injective.peggy.v1.QueryBatchConfirmsRequest\x1a..injective.peggy.v1.QueryBatchConfirmsResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/batch/confirms\x12\x9f\x01\n\x0c\x45RC20ToDenom\x12,.injective.peggy.v1.QueryERC20ToDenomRequest\x1a-.injective.peggy.v1.QueryERC20ToDenomResponse\"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/cosmos_originated/erc20_to_denom\x12\x9f\x01\n\x0c\x44\x65nomToERC20\x12,.injective.peggy.v1.QueryDenomToERC20Request\x1a-.injective.peggy.v1.QueryDenomToERC20Response\"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/cosmos_originated/denom_to_erc20\x12\xc9\x01\n\x19GetDelegateKeyByValidator\x12\x37.injective.peggy.v1.QueryDelegateKeysByValidatorAddress\x1a?.injective.peggy.v1.QueryDelegateKeysByValidatorAddressResponse\"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/query_delegate_keys_by_validator\x12\xb1\x01\n\x13GetDelegateKeyByEth\x12\x31.injective.peggy.v1.QueryDelegateKeysByEthAddress\x1a\x39.injective.peggy.v1.QueryDelegateKeysByEthAddressResponse\",\x82\xd3\xe4\x93\x02&\x12$/peggy/v1/query_delegate_keys_by_eth\x12\xd5\x01\n\x1cGetDelegateKeyByOrchestrator\x12:.injective.peggy.v1.QueryDelegateKeysByOrchestratorAddress\x1a\x42.injective.peggy.v1.QueryDelegateKeysByOrchestratorAddressResponse\"5\x82\xd3\xe4\x93\x02/\x12-/peggy/v1/query_delegate_keys_by_orchestrator\x12\x8d\x01\n\x10PeggyModuleState\x12+.injective.peggy.v1.QueryModuleStateRequest\x1a,.injective.peggy.v1.QueryModuleStateResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/peggy/v1/module_state\x12\x8b\x01\n\x12MissingPeggoNonces\x12(.injective.peggy.v1.MissingNoncesRequest\x1a).injective.peggy.v1.MissingNoncesResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/missing_noncesB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nQueryProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\nQueryProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\022\022\020/peggy/v1/params' - _globals['_QUERY'].methods_by_name['CurrentValset']._loaded_options = None - _globals['_QUERY'].methods_by_name['CurrentValset']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/valset/current' - _globals['_QUERY'].methods_by_name['ValsetRequest']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValsetRequest']._serialized_options = b'\202\323\344\223\002\022\022\020/peggy/v1/valset' - _globals['_QUERY'].methods_by_name['ValsetConfirm']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValsetConfirm']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/valset/confirm' - _globals['_QUERY'].methods_by_name['ValsetConfirmsByNonce']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValsetConfirmsByNonce']._serialized_options = b'\202\323\344\223\002\034\022\032/peggy/v1/confirms/{nonce}' - _globals['_QUERY'].methods_by_name['LastValsetRequests']._loaded_options = None - _globals['_QUERY'].methods_by_name['LastValsetRequests']._serialized_options = b'\202\323\344\223\002\033\022\031/peggy/v1/valset/requests' - _globals['_QUERY'].methods_by_name['LastPendingValsetRequestByAddr']._loaded_options = None - _globals['_QUERY'].methods_by_name['LastPendingValsetRequestByAddr']._serialized_options = b'\202\323\344\223\002\027\022\025/peggy/v1/valset/last' - _globals['_QUERY'].methods_by_name['LastEventByAddr']._loaded_options = None - _globals['_QUERY'].methods_by_name['LastEventByAddr']._serialized_options = b'\202\323\344\223\002\"\022 /peggy/v1/oracle/event/{address}' - _globals['_QUERY'].methods_by_name['GetPendingSendToEth']._loaded_options = None - _globals['_QUERY'].methods_by_name['GetPendingSendToEth']._serialized_options = b'\202\323\344\223\002\037\022\035/peggy/v1/pending_send_to_eth' - _globals['_QUERY'].methods_by_name['BatchFees']._loaded_options = None - _globals['_QUERY'].methods_by_name['BatchFees']._serialized_options = b'\202\323\344\223\002\025\022\023/peggy/v1/batchfees' - _globals['_QUERY'].methods_by_name['OutgoingTxBatches']._loaded_options = None - _globals['_QUERY'].methods_by_name['OutgoingTxBatches']._serialized_options = b'\202\323\344\223\002\034\022\032/peggy/v1/batch/outgoingtx' - _globals['_QUERY'].methods_by_name['LastPendingBatchRequestByAddr']._loaded_options = None - _globals['_QUERY'].methods_by_name['LastPendingBatchRequestByAddr']._serialized_options = b'\202\323\344\223\002\026\022\024/peggy/v1/batch/last' - _globals['_QUERY'].methods_by_name['BatchRequestByNonce']._loaded_options = None - _globals['_QUERY'].methods_by_name['BatchRequestByNonce']._serialized_options = b'\202\323\344\223\002\021\022\017/peggy/v1/batch' - _globals['_QUERY'].methods_by_name['BatchConfirms']._loaded_options = None - _globals['_QUERY'].methods_by_name['BatchConfirms']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/batch/confirms' - _globals['_QUERY'].methods_by_name['ERC20ToDenom']._loaded_options = None - _globals['_QUERY'].methods_by_name['ERC20ToDenom']._serialized_options = b'\202\323\344\223\002,\022*/peggy/v1/cosmos_originated/erc20_to_denom' - _globals['_QUERY'].methods_by_name['DenomToERC20']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomToERC20']._serialized_options = b'\202\323\344\223\002,\022*/peggy/v1/cosmos_originated/denom_to_erc20' - _globals['_QUERY'].methods_by_name['GetDelegateKeyByValidator']._loaded_options = None - _globals['_QUERY'].methods_by_name['GetDelegateKeyByValidator']._serialized_options = b'\202\323\344\223\002,\022*/peggy/v1/query_delegate_keys_by_validator' - _globals['_QUERY'].methods_by_name['GetDelegateKeyByEth']._loaded_options = None - _globals['_QUERY'].methods_by_name['GetDelegateKeyByEth']._serialized_options = b'\202\323\344\223\002&\022$/peggy/v1/query_delegate_keys_by_eth' - _globals['_QUERY'].methods_by_name['GetDelegateKeyByOrchestrator']._loaded_options = None - _globals['_QUERY'].methods_by_name['GetDelegateKeyByOrchestrator']._serialized_options = b'\202\323\344\223\002/\022-/peggy/v1/query_delegate_keys_by_orchestrator' - _globals['_QUERY'].methods_by_name['PeggyModuleState']._loaded_options = None - _globals['_QUERY'].methods_by_name['PeggyModuleState']._serialized_options = b'\202\323\344\223\002\030\022\026/peggy/v1/module_state' - _globals['_QUERY'].methods_by_name['MissingPeggoNonces']._loaded_options = None - _globals['_QUERY'].methods_by_name['MissingPeggoNonces']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/missing_nonces' - _globals['_QUERYPARAMSREQUEST']._serialized_start=299 - _globals['_QUERYPARAMSREQUEST']._serialized_end=319 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=321 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=400 - _globals['_QUERYCURRENTVALSETREQUEST']._serialized_start=402 - _globals['_QUERYCURRENTVALSETREQUEST']._serialized_end=429 - _globals['_QUERYCURRENTVALSETRESPONSE']._serialized_start=431 - _globals['_QUERYCURRENTVALSETRESPONSE']._serialized_end=511 - _globals['_QUERYVALSETREQUESTREQUEST']._serialized_start=513 - _globals['_QUERYVALSETREQUESTREQUEST']._serialized_end=562 - _globals['_QUERYVALSETREQUESTRESPONSE']._serialized_start=564 - _globals['_QUERYVALSETREQUESTRESPONSE']._serialized_end=644 - _globals['_QUERYVALSETCONFIRMREQUEST']._serialized_start=646 - _globals['_QUERYVALSETCONFIRMREQUEST']._serialized_end=721 - _globals['_QUERYVALSETCONFIRMRESPONSE']._serialized_start=723 - _globals['_QUERYVALSETCONFIRMRESPONSE']._serialized_end=815 - _globals['_QUERYVALSETCONFIRMSBYNONCEREQUEST']._serialized_start=817 - _globals['_QUERYVALSETCONFIRMSBYNONCEREQUEST']._serialized_end=874 - _globals['_QUERYVALSETCONFIRMSBYNONCERESPONSE']._serialized_start=876 - _globals['_QUERYVALSETCONFIRMSBYNONCERESPONSE']._serialized_end=978 - _globals['_QUERYLASTVALSETREQUESTSREQUEST']._serialized_start=980 - _globals['_QUERYLASTVALSETREQUESTSREQUEST']._serialized_end=1012 - _globals['_QUERYLASTVALSETREQUESTSRESPONSE']._serialized_start=1014 - _globals['_QUERYLASTVALSETREQUESTSRESPONSE']._serialized_end=1101 - _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRREQUEST']._serialized_start=1103 - _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRREQUEST']._serialized_end=1173 - _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRRESPONSE']._serialized_start=1175 - _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRRESPONSE']._serialized_end=1274 - _globals['_QUERYBATCHFEEREQUEST']._serialized_start=1276 - _globals['_QUERYBATCHFEEREQUEST']._serialized_end=1298 - _globals['_QUERYBATCHFEERESPONSE']._serialized_start=1300 - _globals['_QUERYBATCHFEERESPONSE']._serialized_end=1384 - _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRREQUEST']._serialized_start=1386 - _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRREQUEST']._serialized_end=1455 - _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRRESPONSE']._serialized_start=1457 - _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRRESPONSE']._serialized_end=1560 - _globals['_QUERYOUTGOINGTXBATCHESREQUEST']._serialized_start=1562 - _globals['_QUERYOUTGOINGTXBATCHESREQUEST']._serialized_end=1593 - _globals['_QUERYOUTGOINGTXBATCHESRESPONSE']._serialized_start=1595 - _globals['_QUERYOUTGOINGTXBATCHESRESPONSE']._serialized_end=1690 - _globals['_QUERYBATCHREQUESTBYNONCEREQUEST']._serialized_start=1692 - _globals['_QUERYBATCHREQUESTBYNONCEREQUEST']._serialized_end=1790 - _globals['_QUERYBATCHREQUESTBYNONCERESPONSE']._serialized_start=1792 - _globals['_QUERYBATCHREQUESTBYNONCERESPONSE']._serialized_end=1885 - _globals['_QUERYBATCHCONFIRMSREQUEST']._serialized_start=1887 - _globals['_QUERYBATCHCONFIRMSREQUEST']._serialized_end=1979 - _globals['_QUERYBATCHCONFIRMSRESPONSE']._serialized_start=1981 - _globals['_QUERYBATCHCONFIRMSRESPONSE']._serialized_end=2074 - _globals['_QUERYLASTEVENTBYADDRREQUEST']._serialized_start=2076 - _globals['_QUERYLASTEVENTBYADDRREQUEST']._serialized_end=2131 - _globals['_QUERYLASTEVENTBYADDRRESPONSE']._serialized_start=2133 - _globals['_QUERYLASTEVENTBYADDRRESPONSE']._serialized_end=2241 - _globals['_QUERYERC20TODENOMREQUEST']._serialized_start=2243 - _globals['_QUERYERC20TODENOMREQUEST']._serialized_end=2291 - _globals['_QUERYERC20TODENOMRESPONSE']._serialized_start=2293 - _globals['_QUERYERC20TODENOMRESPONSE']._serialized_end=2387 - _globals['_QUERYDENOMTOERC20REQUEST']._serialized_start=2389 - _globals['_QUERYDENOMTOERC20REQUEST']._serialized_end=2437 - _globals['_QUERYDENOMTOERC20RESPONSE']._serialized_start=2439 - _globals['_QUERYDENOMTOERC20RESPONSE']._serialized_end=2533 - _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESS']._serialized_start=2535 - _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESS']._serialized_end=2617 - _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESSRESPONSE']._serialized_start=2620 - _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESSRESPONSE']._serialized_end=2749 - _globals['_QUERYDELEGATEKEYSBYETHADDRESS']._serialized_start=2751 - _globals['_QUERYDELEGATEKEYSBYETHADDRESS']._serialized_end=2815 - _globals['_QUERYDELEGATEKEYSBYETHADDRESSRESPONSE']._serialized_start=2818 - _globals['_QUERYDELEGATEKEYSBYETHADDRESSRESPONSE']._serialized_end=2953 - _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESS']._serialized_start=2955 - _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESS']._serialized_end=3046 - _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESSRESPONSE']._serialized_start=3048 - _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESSRESPONSE']._serialized_end=3174 - _globals['_QUERYPENDINGSENDTOETH']._serialized_start=3176 - _globals['_QUERYPENDINGSENDTOETH']._serialized_end=3238 - _globals['_QUERYPENDINGSENDTOETHRESPONSE']._serialized_start=3241 - _globals['_QUERYPENDINGSENDTOETHRESPONSE']._serialized_end=3451 - _globals['_QUERYMODULESTATEREQUEST']._serialized_start=3453 - _globals['_QUERYMODULESTATEREQUEST']._serialized_end=3478 - _globals['_QUERYMODULESTATERESPONSE']._serialized_start=3480 - _globals['_QUERYMODULESTATERESPONSE']._serialized_end=3562 - _globals['_MISSINGNONCESREQUEST']._serialized_start=3564 - _globals['_MISSINGNONCESREQUEST']._serialized_end=3586 - _globals['_MISSINGNONCESRESPONSE']._serialized_start=3588 - _globals['_MISSINGNONCESRESPONSE']._serialized_end=3658 - _globals['_QUERY']._serialized_start=3661 - _globals['_QUERY']._serialized_end=7059 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/query_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/query_pb2_grpc.py deleted file mode 100644 index 2d54c874..00000000 --- a/pyinjective/proto/injective/peggy/v1/query_pb2_grpc.py +++ /dev/null @@ -1,945 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.injective.peggy.v1 import query_pb2 as injective_dot_peggy_dot_v1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Params = channel.unary_unary( - '/injective.peggy.v1.Query/Params', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - self.CurrentValset = channel.unary_unary( - '/injective.peggy.v1.Query/CurrentValset', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetResponse.FromString, - _registered_method=True) - self.ValsetRequest = channel.unary_unary( - '/injective.peggy.v1.Query/ValsetRequest', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestResponse.FromString, - _registered_method=True) - self.ValsetConfirm = channel.unary_unary( - '/injective.peggy.v1.Query/ValsetConfirm', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmResponse.FromString, - _registered_method=True) - self.ValsetConfirmsByNonce = channel.unary_unary( - '/injective.peggy.v1.Query/ValsetConfirmsByNonce', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceResponse.FromString, - _registered_method=True) - self.LastValsetRequests = channel.unary_unary( - '/injective.peggy.v1.Query/LastValsetRequests', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsResponse.FromString, - _registered_method=True) - self.LastPendingValsetRequestByAddr = channel.unary_unary( - '/injective.peggy.v1.Query/LastPendingValsetRequestByAddr', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrResponse.FromString, - _registered_method=True) - self.LastEventByAddr = channel.unary_unary( - '/injective.peggy.v1.Query/LastEventByAddr', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrResponse.FromString, - _registered_method=True) - self.GetPendingSendToEth = channel.unary_unary( - '/injective.peggy.v1.Query/GetPendingSendToEth', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEth.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEthResponse.FromString, - _registered_method=True) - self.BatchFees = channel.unary_unary( - '/injective.peggy.v1.Query/BatchFees', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeResponse.FromString, - _registered_method=True) - self.OutgoingTxBatches = channel.unary_unary( - '/injective.peggy.v1.Query/OutgoingTxBatches', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesResponse.FromString, - _registered_method=True) - self.LastPendingBatchRequestByAddr = channel.unary_unary( - '/injective.peggy.v1.Query/LastPendingBatchRequestByAddr', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrResponse.FromString, - _registered_method=True) - self.BatchRequestByNonce = channel.unary_unary( - '/injective.peggy.v1.Query/BatchRequestByNonce', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceResponse.FromString, - _registered_method=True) - self.BatchConfirms = channel.unary_unary( - '/injective.peggy.v1.Query/BatchConfirms', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsResponse.FromString, - _registered_method=True) - self.ERC20ToDenom = channel.unary_unary( - '/injective.peggy.v1.Query/ERC20ToDenom', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomResponse.FromString, - _registered_method=True) - self.DenomToERC20 = channel.unary_unary( - '/injective.peggy.v1.Query/DenomToERC20', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Request.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Response.FromString, - _registered_method=True) - self.GetDelegateKeyByValidator = channel.unary_unary( - '/injective.peggy.v1.Query/GetDelegateKeyByValidator', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddress.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddressResponse.FromString, - _registered_method=True) - self.GetDelegateKeyByEth = channel.unary_unary( - '/injective.peggy.v1.Query/GetDelegateKeyByEth', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddress.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddressResponse.FromString, - _registered_method=True) - self.GetDelegateKeyByOrchestrator = channel.unary_unary( - '/injective.peggy.v1.Query/GetDelegateKeyByOrchestrator', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddress.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddressResponse.FromString, - _registered_method=True) - self.PeggyModuleState = channel.unary_unary( - '/injective.peggy.v1.Query/PeggyModuleState', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, - _registered_method=True) - self.MissingPeggoNonces = channel.unary_unary( - '/injective.peggy.v1.Query/MissingPeggoNonces', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service - """ - - def Params(self, request, context): - """Deployments queries deployments - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CurrentValset(self, request, context): - """valset - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ValsetRequest(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ValsetConfirm(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ValsetConfirmsByNonce(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def LastValsetRequests(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def LastPendingValsetRequestByAddr(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def LastEventByAddr(self, request, context): - """claim - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPendingSendToEth(self, request, context): - """batch - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BatchFees(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def OutgoingTxBatches(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def LastPendingBatchRequestByAddr(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BatchRequestByNonce(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BatchConfirms(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ERC20ToDenom(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DenomToERC20(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetDelegateKeyByValidator(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetDelegateKeyByEth(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetDelegateKeyByOrchestrator(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PeggyModuleState(self, request, context): - """Retrieves the entire peggy module's state - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MissingPeggoNonces(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'CurrentValset': grpc.unary_unary_rpc_method_handler( - servicer.CurrentValset, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetResponse.SerializeToString, - ), - 'ValsetRequest': grpc.unary_unary_rpc_method_handler( - servicer.ValsetRequest, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestResponse.SerializeToString, - ), - 'ValsetConfirm': grpc.unary_unary_rpc_method_handler( - servicer.ValsetConfirm, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmResponse.SerializeToString, - ), - 'ValsetConfirmsByNonce': grpc.unary_unary_rpc_method_handler( - servicer.ValsetConfirmsByNonce, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceResponse.SerializeToString, - ), - 'LastValsetRequests': grpc.unary_unary_rpc_method_handler( - servicer.LastValsetRequests, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsResponse.SerializeToString, - ), - 'LastPendingValsetRequestByAddr': grpc.unary_unary_rpc_method_handler( - servicer.LastPendingValsetRequestByAddr, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrResponse.SerializeToString, - ), - 'LastEventByAddr': grpc.unary_unary_rpc_method_handler( - servicer.LastEventByAddr, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrResponse.SerializeToString, - ), - 'GetPendingSendToEth': grpc.unary_unary_rpc_method_handler( - servicer.GetPendingSendToEth, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEth.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEthResponse.SerializeToString, - ), - 'BatchFees': grpc.unary_unary_rpc_method_handler( - servicer.BatchFees, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeResponse.SerializeToString, - ), - 'OutgoingTxBatches': grpc.unary_unary_rpc_method_handler( - servicer.OutgoingTxBatches, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesResponse.SerializeToString, - ), - 'LastPendingBatchRequestByAddr': grpc.unary_unary_rpc_method_handler( - servicer.LastPendingBatchRequestByAddr, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrResponse.SerializeToString, - ), - 'BatchRequestByNonce': grpc.unary_unary_rpc_method_handler( - servicer.BatchRequestByNonce, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceResponse.SerializeToString, - ), - 'BatchConfirms': grpc.unary_unary_rpc_method_handler( - servicer.BatchConfirms, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsResponse.SerializeToString, - ), - 'ERC20ToDenom': grpc.unary_unary_rpc_method_handler( - servicer.ERC20ToDenom, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomResponse.SerializeToString, - ), - 'DenomToERC20': grpc.unary_unary_rpc_method_handler( - servicer.DenomToERC20, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Request.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Response.SerializeToString, - ), - 'GetDelegateKeyByValidator': grpc.unary_unary_rpc_method_handler( - servicer.GetDelegateKeyByValidator, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddress.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddressResponse.SerializeToString, - ), - 'GetDelegateKeyByEth': grpc.unary_unary_rpc_method_handler( - servicer.GetDelegateKeyByEth, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddress.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddressResponse.SerializeToString, - ), - 'GetDelegateKeyByOrchestrator': grpc.unary_unary_rpc_method_handler( - servicer.GetDelegateKeyByOrchestrator, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddress.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddressResponse.SerializeToString, - ), - 'PeggyModuleState': grpc.unary_unary_rpc_method_handler( - servicer.PeggyModuleState, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, - ), - 'MissingPeggoNonces': grpc.unary_unary_rpc_method_handler( - servicer.MissingPeggoNonces, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.peggy.v1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.peggy.v1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service - """ - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/Params', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CurrentValset(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/CurrentValset', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetRequest.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ValsetRequest(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/ValsetRequest', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestRequest.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ValsetConfirm(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/ValsetConfirm', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmRequest.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ValsetConfirmsByNonce(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/ValsetConfirmsByNonce', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceRequest.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def LastValsetRequests(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/LastValsetRequests', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsRequest.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def LastPendingValsetRequestByAddr(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/LastPendingValsetRequestByAddr', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrRequest.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def LastEventByAddr(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/LastEventByAddr', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrRequest.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetPendingSendToEth(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/GetPendingSendToEth', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEth.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEthResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BatchFees(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/BatchFees', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeRequest.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def OutgoingTxBatches(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/OutgoingTxBatches', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesRequest.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def LastPendingBatchRequestByAddr(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/LastPendingBatchRequestByAddr', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrRequest.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BatchRequestByNonce(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/BatchRequestByNonce', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceRequest.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def BatchConfirms(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/BatchConfirms', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsRequest.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ERC20ToDenom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/ERC20ToDenom', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomRequest.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DenomToERC20(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/DenomToERC20', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Request.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetDelegateKeyByValidator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/GetDelegateKeyByValidator', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddress.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddressResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetDelegateKeyByEth(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/GetDelegateKeyByEth', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddress.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddressResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def GetDelegateKeyByOrchestrator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/GetDelegateKeyByOrchestrator', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddress.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddressResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PeggyModuleState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/PeggyModuleState', - injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def MissingPeggoNonces(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.peggy.v1.Query/MissingPeggoNonces', - injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesRequest.SerializeToString, - injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/injective/peggy/v1/types_pb2.py b/pyinjective/proto/injective/peggy/v1/types_pb2.py deleted file mode 100644 index a651b2b2..00000000 --- a/pyinjective/proto/injective/peggy/v1/types_pb2.py +++ /dev/null @@ -1,38 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/peggy/v1/types.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/peggy/v1/types.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\"R\n\x0f\x42ridgeValidator\x12\x14\n\x05power\x18\x01 \x01(\x04R\x05power\x12)\n\x10\x65thereum_address\x18\x02 \x01(\tR\x0f\x65thereumAddress\"\xdc\x01\n\x06Valset\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12=\n\x07members\x18\x02 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\x07members\x12\x16\n\x06height\x18\x03 \x01(\x04R\x06height\x12\x42\n\rreward_amount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x05 \x01(\tR\x0brewardToken\"\x85\x01\n\x1fLastObservedEthereumBlockHeight\x12.\n\x13\x63osmos_block_height\x18\x01 \x01(\x04R\x11\x63osmosBlockHeight\x12\x32\n\x15\x65thereum_block_height\x18\x02 \x01(\x04R\x13\x65thereumBlockHeight\"v\n\x0eLastClaimEvent\x12\x30\n\x14\x65thereum_event_nonce\x18\x01 \x01(\x04R\x12\x65thereumEventNonce\x12\x32\n\x15\x65thereum_event_height\x18\x02 \x01(\x04R\x13\x65thereumEventHeight\":\n\x0c\x45RC20ToDenom\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nomB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nTypesProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.types_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\nTypesProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_VALSET'].fields_by_name['reward_amount']._loaded_options = None - _globals['_VALSET'].fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_BRIDGEVALIDATOR']._serialized_start=76 - _globals['_BRIDGEVALIDATOR']._serialized_end=158 - _globals['_VALSET']._serialized_start=161 - _globals['_VALSET']._serialized_end=381 - _globals['_LASTOBSERVEDETHEREUMBLOCKHEIGHT']._serialized_start=384 - _globals['_LASTOBSERVEDETHEREUMBLOCKHEIGHT']._serialized_end=517 - _globals['_LASTCLAIMEVENT']._serialized_start=519 - _globals['_LASTCLAIMEVENT']._serialized_end=637 - _globals['_ERC20TODENOM']._serialized_start=639 - _globals['_ERC20TODENOM']._serialized_end=697 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/types_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/types_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/peggy/v1/types_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/permissions/v1beta1/events_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/events_pb2.py deleted file mode 100644 index 2e4df26b..00000000 --- a/pyinjective/proto/injective/permissions/v1beta1/events_pb2.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/permissions/v1beta1/events.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*injective/permissions/v1beta1/events.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\"`\n\x0f\x45ventSetVoucher\x12\x12\n\x04\x61\x64\x64r\x18\x01 \x01(\tR\x04\x61\x64\x64r\x12\x39\n\x07voucher\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07voucherB\x99\x02\n!com.injective.permissions.v1beta1B\x0b\x45ventsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.events_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\013EventsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' - _globals['_EVENTSETVOUCHER'].fields_by_name['voucher']._loaded_options = None - _globals['_EVENTSETVOUCHER'].fields_by_name['voucher']._serialized_options = b'\310\336\037\000' - _globals['_EVENTSETVOUCHER']._serialized_start=163 - _globals['_EVENTSETVOUCHER']._serialized_end=259 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/events_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/events_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/permissions/v1beta1/events_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2.py deleted file mode 100644 index 6fa1a73a..00000000 --- a/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/permissions/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.permissions.v1beta1 import params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2 -from pyinjective.proto.injective.permissions.v1beta1 import permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+injective/permissions/v1beta1/genesis.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a*injective/permissions/v1beta1/params.proto\x1a/injective/permissions/v1beta1/permissions.proto\"\xa3\x01\n\x0cGenesisState\x12\x43\n\x06params\x18\x01 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12N\n\nnamespaces\x18\x02 \x03(\x0b\x32(.injective.permissions.v1beta1.NamespaceB\x04\xc8\xde\x1f\x00R\nnamespacesB\x9a\x02\n!com.injective.permissions.v1beta1B\x0cGenesisProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\014GenesisProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['namespaces']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['namespaces']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=194 - _globals['_GENESISSTATE']._serialized_end=357 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/permissions/v1beta1/params_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/params_pb2.py deleted file mode 100644 index d6bf69a1..00000000 --- a/pyinjective/proto/injective/permissions/v1beta1/params_pb2.py +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/permissions/v1beta1/params.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*injective/permissions/v1beta1/params.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"[\n\x06Params\x12\x34\n\x17wasm_hook_query_max_gas\x18\x01 \x01(\x04R\x13wasmHookQueryMaxGas:\x1b\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x12permissions/ParamsB\x99\x02\n!com.injective.permissions.v1beta1B\x0bParamsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.params_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\013ParamsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\022permissions/Params' - _globals['_PARAMS']._serialized_start=177 - _globals['_PARAMS']._serialized_end=268 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/params_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/params_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/permissions/v1beta1/params_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py deleted file mode 100644 index cab8953a..00000000 --- a/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/permissions/v1beta1/permissions.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/injective/permissions/v1beta1/permissions.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\xc9\x02\n\tNamespace\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1b\n\twasm_hook\x18\x02 \x01(\tR\x08wasmHook\x12!\n\x0cmints_paused\x18\x03 \x01(\x08R\x0bmintsPaused\x12!\n\x0csends_paused\x18\x04 \x01(\x08R\x0bsendsPaused\x12!\n\x0c\x62urns_paused\x18\x05 \x01(\x08R\x0b\x62urnsPaused\x12N\n\x10role_permissions\x18\x06 \x03(\x0b\x32#.injective.permissions.v1beta1.RoleR\x0frolePermissions\x12P\n\raddress_roles\x18\x07 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x0c\x61\x64\x64ressRoles\">\n\x0c\x41\x64\x64ressRoles\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12\x14\n\x05roles\x18\x02 \x03(\tR\x05roles\"<\n\x04Role\x12\x12\n\x04role\x18\x01 \x01(\tR\x04role\x12 \n\x0bpermissions\x18\x02 \x01(\rR\x0bpermissions\"$\n\x07RoleIDs\x12\x19\n\x08role_ids\x18\x01 \x03(\rR\x07roleIds\"l\n\x07Voucher\x12\x61\n\x05\x63oins\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x05\x63oins\"l\n\x0e\x41\x64\x64ressVoucher\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\x07voucher\x18\x02 \x01(\x0b\x32&.injective.permissions.v1beta1.VoucherR\x07voucher*:\n\x06\x41\x63tion\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x08\n\x04MINT\x10\x01\x12\x0b\n\x07RECEIVE\x10\x02\x12\x08\n\x04\x42URN\x10\x04\x42\x9e\x02\n!com.injective.permissions.v1beta1B\x10PermissionsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.permissions_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\020PermissionsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' - _globals['_VOUCHER'].fields_by_name['coins']._loaded_options = None - _globals['_VOUCHER'].fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_ACTION']._serialized_start=852 - _globals['_ACTION']._serialized_end=910 - _globals['_NAMESPACE']._serialized_start=137 - _globals['_NAMESPACE']._serialized_end=466 - _globals['_ADDRESSROLES']._serialized_start=468 - _globals['_ADDRESSROLES']._serialized_end=530 - _globals['_ROLE']._serialized_start=532 - _globals['_ROLE']._serialized_end=592 - _globals['_ROLEIDS']._serialized_start=594 - _globals['_ROLEIDS']._serialized_end=630 - _globals['_VOUCHER']._serialized_start=632 - _globals['_VOUCHER']._serialized_end=740 - _globals['_ADDRESSVOUCHER']._serialized_start=742 - _globals['_ADDRESSVOUCHER']._serialized_end=850 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/permissions/v1beta1/query_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/query_pb2.py deleted file mode 100644 index a03ce809..00000000 --- a/pyinjective/proto/injective/permissions/v1beta1/query_pb2.py +++ /dev/null @@ -1,74 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/permissions/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.injective.permissions.v1beta1 import params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2 -from pyinjective.proto.injective.permissions.v1beta1 import genesis_pb2 as injective_dot_permissions_dot_v1beta1_dot_genesis__pb2 -from pyinjective.proto.injective.permissions.v1beta1 import permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/permissions/v1beta1/query.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a*injective/permissions/v1beta1/params.proto\x1a+injective/permissions/v1beta1/genesis.proto\x1a/injective/permissions/v1beta1/permissions.proto\"\x14\n\x12QueryParamsRequest\"Z\n\x13QueryParamsResponse\x12\x43\n\x06params\x18\x01 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1b\n\x19QueryAllNamespacesRequest\"f\n\x1aQueryAllNamespacesResponse\x12H\n\nnamespaces\x18\x01 \x03(\x0b\x32(.injective.permissions.v1beta1.NamespaceR\nnamespaces\"Y\n\x1cQueryNamespaceByDenomRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12#\n\rinclude_roles\x18\x02 \x01(\x08R\x0cincludeRoles\"g\n\x1dQueryNamespaceByDenomResponse\x12\x46\n\tnamespace\x18\x01 \x01(\x0b\x32(.injective.permissions.v1beta1.NamespaceR\tnamespace\"G\n\x1bQueryAddressesByRoleRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x12\n\x04role\x18\x02 \x01(\tR\x04role\"<\n\x1cQueryAddressesByRoleResponse\x12\x1c\n\taddresses\x18\x01 \x03(\tR\taddresses\"J\n\x18QueryAddressRolesRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"1\n\x19QueryAddressRolesResponse\x12\x14\n\x05roles\x18\x01 \x03(\tR\x05roles\":\n\x1eQueryVouchersForAddressRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"\xa0\x01\n\x1fQueryVouchersForAddressResponse\x12}\n\x08vouchers\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xea\xde\x1f\x12vouchers,omitempty\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08vouchers2\x89\t\n\x05Query\x12\x9e\x01\n\x06Params\x12\x31.injective.permissions.v1beta1.QueryParamsRequest\x1a\x32.injective.permissions.v1beta1.QueryParamsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/injective/permissions/v1beta1/params\x12\xbb\x01\n\rAllNamespaces\x12\x38.injective.permissions.v1beta1.QueryAllNamespacesRequest\x1a\x39.injective.permissions.v1beta1.QueryAllNamespacesResponse\"5\x82\xd3\xe4\x93\x02/\x12-/injective/permissions/v1beta1/all_namespaces\x12\xc8\x01\n\x10NamespaceByDenom\x12;.injective.permissions.v1beta1.QueryNamespaceByDenomRequest\x1a<.injective.permissions.v1beta1.QueryNamespaceByDenomResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/permissions/v1beta1/namespace_by_denom\x12\xbb\x01\n\x0c\x41\x64\x64ressRoles\x12\x37.injective.permissions.v1beta1.QueryAddressRolesRequest\x1a\x38.injective.permissions.v1beta1.QueryAddressRolesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/permissions/v1beta1/addresses_by_role\x12\xc4\x01\n\x0f\x41\x64\x64ressesByRole\x12:.injective.permissions.v1beta1.QueryAddressesByRoleRequest\x1a;.injective.permissions.v1beta1.QueryAddressesByRoleResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/permissions/v1beta1/addresses_by_role\x12\xd0\x01\n\x12VouchersForAddress\x12=.injective.permissions.v1beta1.QueryVouchersForAddressRequest\x1a>.injective.permissions.v1beta1.QueryVouchersForAddressResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/permissions/v1beta1/vouchers_for_addressB\x98\x02\n!com.injective.permissions.v1beta1B\nQueryProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\nQueryProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_QUERYVOUCHERSFORADDRESSRESPONSE'].fields_by_name['vouchers']._loaded_options = None - _globals['_QUERYVOUCHERSFORADDRESSRESPONSE'].fields_by_name['vouchers']._serialized_options = b'\310\336\037\000\352\336\037\022vouchers,omitempty\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\'\022%/injective/permissions/v1beta1/params' - _globals['_QUERY'].methods_by_name['AllNamespaces']._loaded_options = None - _globals['_QUERY'].methods_by_name['AllNamespaces']._serialized_options = b'\202\323\344\223\002/\022-/injective/permissions/v1beta1/all_namespaces' - _globals['_QUERY'].methods_by_name['NamespaceByDenom']._loaded_options = None - _globals['_QUERY'].methods_by_name['NamespaceByDenom']._serialized_options = b'\202\323\344\223\0023\0221/injective/permissions/v1beta1/namespace_by_denom' - _globals['_QUERY'].methods_by_name['AddressRoles']._loaded_options = None - _globals['_QUERY'].methods_by_name['AddressRoles']._serialized_options = b'\202\323\344\223\0022\0220/injective/permissions/v1beta1/addresses_by_role' - _globals['_QUERY'].methods_by_name['AddressesByRole']._loaded_options = None - _globals['_QUERY'].methods_by_name['AddressesByRole']._serialized_options = b'\202\323\344\223\0022\0220/injective/permissions/v1beta1/addresses_by_role' - _globals['_QUERY'].methods_by_name['VouchersForAddress']._loaded_options = None - _globals['_QUERY'].methods_by_name['VouchersForAddress']._serialized_options = b'\202\323\344\223\0025\0223/injective/permissions/v1beta1/vouchers_for_address' - _globals['_QUERYPARAMSREQUEST']._serialized_start=342 - _globals['_QUERYPARAMSREQUEST']._serialized_end=362 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=364 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=454 - _globals['_QUERYALLNAMESPACESREQUEST']._serialized_start=456 - _globals['_QUERYALLNAMESPACESREQUEST']._serialized_end=483 - _globals['_QUERYALLNAMESPACESRESPONSE']._serialized_start=485 - _globals['_QUERYALLNAMESPACESRESPONSE']._serialized_end=587 - _globals['_QUERYNAMESPACEBYDENOMREQUEST']._serialized_start=589 - _globals['_QUERYNAMESPACEBYDENOMREQUEST']._serialized_end=678 - _globals['_QUERYNAMESPACEBYDENOMRESPONSE']._serialized_start=680 - _globals['_QUERYNAMESPACEBYDENOMRESPONSE']._serialized_end=783 - _globals['_QUERYADDRESSESBYROLEREQUEST']._serialized_start=785 - _globals['_QUERYADDRESSESBYROLEREQUEST']._serialized_end=856 - _globals['_QUERYADDRESSESBYROLERESPONSE']._serialized_start=858 - _globals['_QUERYADDRESSESBYROLERESPONSE']._serialized_end=918 - _globals['_QUERYADDRESSROLESREQUEST']._serialized_start=920 - _globals['_QUERYADDRESSROLESREQUEST']._serialized_end=994 - _globals['_QUERYADDRESSROLESRESPONSE']._serialized_start=996 - _globals['_QUERYADDRESSROLESRESPONSE']._serialized_end=1045 - _globals['_QUERYVOUCHERSFORADDRESSREQUEST']._serialized_start=1047 - _globals['_QUERYVOUCHERSFORADDRESSREQUEST']._serialized_end=1105 - _globals['_QUERYVOUCHERSFORADDRESSRESPONSE']._serialized_start=1108 - _globals['_QUERYVOUCHERSFORADDRESSRESPONSE']._serialized_end=1268 - _globals['_QUERY']._serialized_start=1271 - _globals['_QUERY']._serialized_end=2432 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py deleted file mode 100644 index 1d335252..00000000 --- a/pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,308 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.injective.permissions.v1beta1 import query_pb2 as injective_dot_permissions_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Params = channel.unary_unary( - '/injective.permissions.v1beta1.Query/Params', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - self.AllNamespaces = channel.unary_unary( - '/injective.permissions.v1beta1.Query/AllNamespaces', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesResponse.FromString, - _registered_method=True) - self.NamespaceByDenom = channel.unary_unary( - '/injective.permissions.v1beta1.Query/NamespaceByDenom', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomResponse.FromString, - _registered_method=True) - self.AddressRoles = channel.unary_unary( - '/injective.permissions.v1beta1.Query/AddressRoles', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesResponse.FromString, - _registered_method=True) - self.AddressesByRole = channel.unary_unary( - '/injective.permissions.v1beta1.Query/AddressesByRole', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleResponse.FromString, - _registered_method=True) - self.VouchersForAddress = channel.unary_unary( - '/injective.permissions.v1beta1.Query/VouchersForAddress', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service. - """ - - def Params(self, request, context): - """Params defines a gRPC query method that returns the permissions module's - parameters. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AllNamespaces(self, request, context): - """AllNamespaces defines a gRPC query method that returns the permissions - module's created namespaces. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def NamespaceByDenom(self, request, context): - """NamespaceByDenom defines a gRPC query method that returns the permissions - module's namespace associated with the provided denom. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AddressRoles(self, request, context): - """AddressRoles defines a gRPC query method that returns address roles in the - namespace - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AddressesByRole(self, request, context): - """AddressesByRole defines a gRPC query method that returns a namespace's - roles associated with the provided address. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def VouchersForAddress(self, request, context): - """VouchersForAddress defines a gRPC query method that returns a map of - vouchers that are held by permissions module for this address, keyed by the - originator address - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'AllNamespaces': grpc.unary_unary_rpc_method_handler( - servicer.AllNamespaces, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesResponse.SerializeToString, - ), - 'NamespaceByDenom': grpc.unary_unary_rpc_method_handler( - servicer.NamespaceByDenom, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomResponse.SerializeToString, - ), - 'AddressRoles': grpc.unary_unary_rpc_method_handler( - servicer.AddressRoles, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesResponse.SerializeToString, - ), - 'AddressesByRole': grpc.unary_unary_rpc_method_handler( - servicer.AddressesByRole, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleResponse.SerializeToString, - ), - 'VouchersForAddress': grpc.unary_unary_rpc_method_handler( - servicer.VouchersForAddress, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.permissions.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.permissions.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service. - """ - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.permissions.v1beta1.Query/Params', - injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AllNamespaces(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.permissions.v1beta1.Query/AllNamespaces', - injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesRequest.SerializeToString, - injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def NamespaceByDenom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.permissions.v1beta1.Query/NamespaceByDenom', - injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomRequest.SerializeToString, - injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AddressRoles(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.permissions.v1beta1.Query/AddressRoles', - injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesRequest.SerializeToString, - injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def AddressesByRole(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.permissions.v1beta1.Query/AddressesByRole', - injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleRequest.SerializeToString, - injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def VouchersForAddress(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.permissions.v1beta1.Query/VouchersForAddress', - injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressRequest.SerializeToString, - injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py deleted file mode 100644 index 0a1dcbbb..00000000 --- a/pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/permissions/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.injective.permissions.v1beta1 import params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2 -from pyinjective.proto.injective.permissions.v1beta1 import permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&injective/permissions/v1beta1/tx.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a*injective/permissions/v1beta1/params.proto\x1a/injective/permissions/v1beta1/permissions.proto\x1a\x11\x61mino/amino.proto\"\xbe\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x43\n\x06params\x18\x02 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:.\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1bpermissions/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xbd\x01\n\x12MsgCreateNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12L\n\tnamespace\x18\x02 \x01(\x0b\x32(.injective.permissions.v1beta1.NamespaceB\x04\xc8\xde\x1f\x00R\tnamespace:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgCreateNamespace\"\x1c\n\x1aMsgCreateNamespaceResponse\"\x98\x01\n\x12MsgDeleteNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgDeleteNamespace\"\x1c\n\x1aMsgDeleteNamespaceResponse\"\xf4\x05\n\x12MsgUpdateNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12]\n\twasm_hook\x18\x03 \x01(\x0b\x32@.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetWasmHookR\x08wasmHook\x12\x66\n\x0cmints_paused\x18\x04 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetMintsPausedR\x0bmintsPaused\x12\x66\n\x0csends_paused\x18\x05 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetSendsPausedR\x0bsendsPaused\x12\x66\n\x0c\x62urns_paused\x18\x06 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetBurnsPausedR\x0b\x62urnsPaused\x1a-\n\x0eMsgSetWasmHook\x12\x1b\n\tnew_value\x18\x01 \x01(\tR\x08newValue\x1a\x30\n\x11MsgSetMintsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue\x1a\x30\n\x11MsgSetSendsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue\x1a\x30\n\x11MsgSetBurnsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgUpdateNamespace\"\x1c\n\x1aMsgUpdateNamespaceResponse\"\xc4\x02\n\x17MsgUpdateNamespaceRoles\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12N\n\x10role_permissions\x18\x03 \x03(\x0b\x32#.injective.permissions.v1beta1.RoleR\x0frolePermissions\x12P\n\raddress_roles\x18\x04 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x0c\x61\x64\x64ressRoles:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#permissions/MsgUpdateNamespaceRoles\"!\n\x1fMsgUpdateNamespaceRolesResponse\"\x86\x02\n\x17MsgRevokeNamespaceRoles\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12\x62\n\x17\x61\x64\x64ress_roles_to_revoke\x18\x03 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x14\x61\x64\x64ressRolesToRevoke:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#permissions/MsgRevokeNamespaceRoles\"!\n\x1fMsgRevokeNamespaceRolesResponse\"\x7f\n\x0fMsgClaimVoucher\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bpermissions/MsgClaimVoucher\"\x19\n\x17MsgClaimVoucherResponse2\xa1\x07\n\x03Msg\x12v\n\x0cUpdateParams\x12..injective.permissions.v1beta1.MsgUpdateParams\x1a\x36.injective.permissions.v1beta1.MsgUpdateParamsResponse\x12\x7f\n\x0f\x43reateNamespace\x12\x31.injective.permissions.v1beta1.MsgCreateNamespace\x1a\x39.injective.permissions.v1beta1.MsgCreateNamespaceResponse\x12\x7f\n\x0f\x44\x65leteNamespace\x12\x31.injective.permissions.v1beta1.MsgDeleteNamespace\x1a\x39.injective.permissions.v1beta1.MsgDeleteNamespaceResponse\x12\x7f\n\x0fUpdateNamespace\x12\x31.injective.permissions.v1beta1.MsgUpdateNamespace\x1a\x39.injective.permissions.v1beta1.MsgUpdateNamespaceResponse\x12\x8e\x01\n\x14UpdateNamespaceRoles\x12\x36.injective.permissions.v1beta1.MsgUpdateNamespaceRoles\x1a>.injective.permissions.v1beta1.MsgUpdateNamespaceRolesResponse\x12\x8e\x01\n\x14RevokeNamespaceRoles\x12\x36.injective.permissions.v1beta1.MsgRevokeNamespaceRoles\x1a>.injective.permissions.v1beta1.MsgRevokeNamespaceRolesResponse\x12v\n\x0c\x43laimVoucher\x12..injective.permissions.v1beta1.MsgClaimVoucher\x1a\x36.injective.permissions.v1beta1.MsgClaimVoucherResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x95\x02\n!com.injective.permissions.v1beta1B\x07TxProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\007TxProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\033permissions/MsgUpdateParams' - _globals['_MSGCREATENAMESPACE'].fields_by_name['sender']._loaded_options = None - _globals['_MSGCREATENAMESPACE'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGCREATENAMESPACE'].fields_by_name['namespace']._loaded_options = None - _globals['_MSGCREATENAMESPACE'].fields_by_name['namespace']._serialized_options = b'\310\336\037\000' - _globals['_MSGCREATENAMESPACE']._loaded_options = None - _globals['_MSGCREATENAMESPACE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036permissions/MsgCreateNamespace' - _globals['_MSGDELETENAMESPACE'].fields_by_name['sender']._loaded_options = None - _globals['_MSGDELETENAMESPACE'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGDELETENAMESPACE']._loaded_options = None - _globals['_MSGDELETENAMESPACE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036permissions/MsgDeleteNamespace' - _globals['_MSGUPDATENAMESPACE'].fields_by_name['sender']._loaded_options = None - _globals['_MSGUPDATENAMESPACE'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGUPDATENAMESPACE']._loaded_options = None - _globals['_MSGUPDATENAMESPACE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036permissions/MsgUpdateNamespace' - _globals['_MSGUPDATENAMESPACEROLES'].fields_by_name['sender']._loaded_options = None - _globals['_MSGUPDATENAMESPACEROLES'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGUPDATENAMESPACEROLES']._loaded_options = None - _globals['_MSGUPDATENAMESPACEROLES']._serialized_options = b'\202\347\260*\006sender\212\347\260*#permissions/MsgUpdateNamespaceRoles' - _globals['_MSGREVOKENAMESPACEROLES'].fields_by_name['sender']._loaded_options = None - _globals['_MSGREVOKENAMESPACEROLES'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGREVOKENAMESPACEROLES']._loaded_options = None - _globals['_MSGREVOKENAMESPACEROLES']._serialized_options = b'\202\347\260*\006sender\212\347\260*#permissions/MsgRevokeNamespaceRoles' - _globals['_MSGCLAIMVOUCHER'].fields_by_name['sender']._loaded_options = None - _globals['_MSGCLAIMVOUCHER'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGCLAIMVOUCHER']._loaded_options = None - _globals['_MSGCLAIMVOUCHER']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033permissions/MsgClaimVoucher' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGUPDATEPARAMS']._serialized_start=324 - _globals['_MSGUPDATEPARAMS']._serialized_end=514 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=516 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=541 - _globals['_MSGCREATENAMESPACE']._serialized_start=544 - _globals['_MSGCREATENAMESPACE']._serialized_end=733 - _globals['_MSGCREATENAMESPACERESPONSE']._serialized_start=735 - _globals['_MSGCREATENAMESPACERESPONSE']._serialized_end=763 - _globals['_MSGDELETENAMESPACE']._serialized_start=766 - _globals['_MSGDELETENAMESPACE']._serialized_end=918 - _globals['_MSGDELETENAMESPACERESPONSE']._serialized_start=920 - _globals['_MSGDELETENAMESPACERESPONSE']._serialized_end=948 - _globals['_MSGUPDATENAMESPACE']._serialized_start=951 - _globals['_MSGUPDATENAMESPACE']._serialized_end=1707 - _globals['_MSGUPDATENAMESPACE_MSGSETWASMHOOK']._serialized_start=1464 - _globals['_MSGUPDATENAMESPACE_MSGSETWASMHOOK']._serialized_end=1509 - _globals['_MSGUPDATENAMESPACE_MSGSETMINTSPAUSED']._serialized_start=1511 - _globals['_MSGUPDATENAMESPACE_MSGSETMINTSPAUSED']._serialized_end=1559 - _globals['_MSGUPDATENAMESPACE_MSGSETSENDSPAUSED']._serialized_start=1561 - _globals['_MSGUPDATENAMESPACE_MSGSETSENDSPAUSED']._serialized_end=1609 - _globals['_MSGUPDATENAMESPACE_MSGSETBURNSPAUSED']._serialized_start=1611 - _globals['_MSGUPDATENAMESPACE_MSGSETBURNSPAUSED']._serialized_end=1659 - _globals['_MSGUPDATENAMESPACERESPONSE']._serialized_start=1709 - _globals['_MSGUPDATENAMESPACERESPONSE']._serialized_end=1737 - _globals['_MSGUPDATENAMESPACEROLES']._serialized_start=1740 - _globals['_MSGUPDATENAMESPACEROLES']._serialized_end=2064 - _globals['_MSGUPDATENAMESPACEROLESRESPONSE']._serialized_start=2066 - _globals['_MSGUPDATENAMESPACEROLESRESPONSE']._serialized_end=2099 - _globals['_MSGREVOKENAMESPACEROLES']._serialized_start=2102 - _globals['_MSGREVOKENAMESPACEROLES']._serialized_end=2364 - _globals['_MSGREVOKENAMESPACEROLESRESPONSE']._serialized_start=2366 - _globals['_MSGREVOKENAMESPACEROLESRESPONSE']._serialized_end=2399 - _globals['_MSGCLAIMVOUCHER']._serialized_start=2401 - _globals['_MSGCLAIMVOUCHER']._serialized_end=2528 - _globals['_MSGCLAIMVOUCHERRESPONSE']._serialized_start=2530 - _globals['_MSGCLAIMVOUCHERRESPONSE']._serialized_end=2555 - _globals['_MSG']._serialized_start=2558 - _globals['_MSG']._serialized_end=3487 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index dbfc052d..00000000 --- a/pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,338 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.injective.permissions.v1beta1 import tx_pb2 as injective_dot_permissions_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the permissions module's gRPC message service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.UpdateParams = channel.unary_unary( - '/injective.permissions.v1beta1.Msg/UpdateParams', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - self.CreateNamespace = channel.unary_unary( - '/injective.permissions.v1beta1.Msg/CreateNamespace', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespace.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespaceResponse.FromString, - _registered_method=True) - self.DeleteNamespace = channel.unary_unary( - '/injective.permissions.v1beta1.Msg/DeleteNamespace', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespace.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespaceResponse.FromString, - _registered_method=True) - self.UpdateNamespace = channel.unary_unary( - '/injective.permissions.v1beta1.Msg/UpdateNamespace', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespace.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceResponse.FromString, - _registered_method=True) - self.UpdateNamespaceRoles = channel.unary_unary( - '/injective.permissions.v1beta1.Msg/UpdateNamespaceRoles', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRoles.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRolesResponse.FromString, - _registered_method=True) - self.RevokeNamespaceRoles = channel.unary_unary( - '/injective.permissions.v1beta1.Msg/RevokeNamespaceRoles', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRoles.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRolesResponse.FromString, - _registered_method=True) - self.ClaimVoucher = channel.unary_unary( - '/injective.permissions.v1beta1.Msg/ClaimVoucher', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucher.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucherResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the permissions module's gRPC message service. - """ - - def UpdateParams(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateNamespace(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteNamespace(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateNamespace(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateNamespaceRoles(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RevokeNamespaceRoles(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ClaimVoucher(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'CreateNamespace': grpc.unary_unary_rpc_method_handler( - servicer.CreateNamespace, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespace.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespaceResponse.SerializeToString, - ), - 'DeleteNamespace': grpc.unary_unary_rpc_method_handler( - servicer.DeleteNamespace, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespace.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespaceResponse.SerializeToString, - ), - 'UpdateNamespace': grpc.unary_unary_rpc_method_handler( - servicer.UpdateNamespace, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespace.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceResponse.SerializeToString, - ), - 'UpdateNamespaceRoles': grpc.unary_unary_rpc_method_handler( - servicer.UpdateNamespaceRoles, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRoles.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRolesResponse.SerializeToString, - ), - 'RevokeNamespaceRoles': grpc.unary_unary_rpc_method_handler( - servicer.RevokeNamespaceRoles, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRoles.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRolesResponse.SerializeToString, - ), - 'ClaimVoucher': grpc.unary_unary_rpc_method_handler( - servicer.ClaimVoucher, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucher.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucherResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.permissions.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.permissions.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the permissions module's gRPC message service. - """ - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.permissions.v1beta1.Msg/UpdateParams', - injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CreateNamespace(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.permissions.v1beta1.Msg/CreateNamespace', - injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespace.SerializeToString, - injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespaceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DeleteNamespace(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.permissions.v1beta1.Msg/DeleteNamespace', - injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespace.SerializeToString, - injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespaceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateNamespace(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.permissions.v1beta1.Msg/UpdateNamespace', - injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespace.SerializeToString, - injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateNamespaceRoles(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.permissions.v1beta1.Msg/UpdateNamespaceRoles', - injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRoles.SerializeToString, - injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRolesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def RevokeNamespaceRoles(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.permissions.v1beta1.Msg/RevokeNamespaceRoles', - injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRoles.SerializeToString, - injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRolesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ClaimVoucher(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.permissions.v1beta1.Msg/ClaimVoucher', - injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucher.SerializeToString, - injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucherResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/injective/stream/v1beta1/query_pb2.py b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py deleted file mode 100644 index 380cce40..00000000 --- a/pyinjective/proto/injective/stream/v1beta1/query_pb2.py +++ /dev/null @@ -1,131 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/stream/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.exchange.v1beta1 import events_pb2 as injective_dot_exchange_dot_v1beta1_dot_events__pb2 -from pyinjective.proto.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\"\x8e\x08\n\rStreamRequest\x12\x64\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32,.injective.stream.v1beta1.BankBalancesFilterB\x04\xc8\xde\x1f\x01R\x12\x62\x61nkBalancesFilter\x12v\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32\x32.injective.stream.v1beta1.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01R\x18subaccountDepositsFilter\x12Z\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01R\x10spotTradesFilter\x12\x66\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01R\x16\x64\x65rivativeTradesFilter\x12Z\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01R\x10spotOrdersFilter\x12\x66\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01R\x16\x64\x65rivativeOrdersFilter\x12\x65\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01R\x14spotOrderbooksFilter\x12q\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01R\x1a\x64\x65rivativeOrderbooksFilter\x12Z\n\x10positions_filter\x18\t \x01(\x0b\x32).injective.stream.v1beta1.PositionsFilterB\x04\xc8\xde\x1f\x01R\x0fpositionsFilter\x12\x61\n\x13oracle_price_filter\x18\n \x01(\x0b\x32+.injective.stream.v1beta1.OraclePriceFilterB\x04\xc8\xde\x1f\x01R\x11oraclePriceFilter\"\xa1\x07\n\x0eStreamResponse\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\x12\x1d\n\nblock_time\x18\x02 \x01(\x03R\tblockTime\x12J\n\rbank_balances\x18\x03 \x03(\x0b\x32%.injective.stream.v1beta1.BankBalanceR\x0c\x62\x61nkBalances\x12]\n\x13subaccount_deposits\x18\x04 \x03(\x0b\x32,.injective.stream.v1beta1.SubaccountDepositsR\x12subaccountDeposits\x12\x44\n\x0bspot_trades\x18\x05 \x03(\x0b\x32#.injective.stream.v1beta1.SpotTradeR\nspotTrades\x12V\n\x11\x64\x65rivative_trades\x18\x06 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeTradeR\x10\x64\x65rivativeTrades\x12J\n\x0bspot_orders\x18\x07 \x03(\x0b\x32).injective.stream.v1beta1.SpotOrderUpdateR\nspotOrders\x12\\\n\x11\x64\x65rivative_orders\x18\x08 \x03(\x0b\x32/.injective.stream.v1beta1.DerivativeOrderUpdateR\x10\x64\x65rivativeOrders\x12_\n\x16spot_orderbook_updates\x18\t \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdateR\x14spotOrderbookUpdates\x12k\n\x1c\x64\x65rivative_orderbook_updates\x18\n \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdateR\x1a\x64\x65rivativeOrderbookUpdates\x12@\n\tpositions\x18\x0b \x03(\x0b\x32\".injective.stream.v1beta1.PositionR\tpositions\x12J\n\roracle_prices\x18\x0c \x03(\x0b\x32%.injective.stream.v1beta1.OraclePriceR\x0coraclePrices\"f\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x41\n\torderbook\x18\x02 \x01(\x0b\x32#.injective.stream.v1beta1.OrderbookR\torderbook\"\xae\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12@\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\tbuyLevels\x12\x42\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\nsellLevels\"\x90\x01\n\x0b\x42\x61nkBalance\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12g\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.CoinsR\x08\x62\x61lances\"\x88\x01\n\x12SubaccountDeposits\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12M\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32+.injective.stream.v1beta1.SubaccountDepositB\x04\xc8\xde\x1f\x00R\x08\x64\x65posits\"n\n\x11SubaccountDeposit\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x43\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit\"\xc2\x01\n\x0fSpotOrderUpdate\x12\x43\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatusR\x06status\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12\x39\n\x05order\x18\x04 \x01(\x0b\x32#.injective.stream.v1beta1.SpotOrderR\x05order\"p\n\tSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\"\xce\x01\n\x15\x44\x65rivativeOrderUpdate\x12\x43\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatusR\x06status\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12?\n\x05order\x18\x04 \x01(\x0b\x32).injective.stream.v1beta1.DerivativeOrderR\x05order\"\x99\x01\n\x0f\x44\x65rivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\x05order\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\x12\x1b\n\tis_market\x18\x03 \x01(\x08R\x08isMarket\"\x87\x03\n\x08Position\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x16\n\x06isLong\x18\x03 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12;\n\x06margin\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12]\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16\x63umulativeFundingEntry\"t\n\x0bOraclePrice\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\"\xc3\x03\n\tSpotTrade\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12$\n\rexecutionType\x18\x03 \x01(\tR\rexecutionType\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12#\n\rsubaccount_id\x18\x06 \x01(\tR\x0csubaccountId\x12\x35\n\x03\x66\x65\x65\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x08 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\n \x01(\tR\x03\x63id\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\"\xdc\x03\n\x0f\x44\x65rivativeTrade\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12$\n\rexecutionType\x18\x03 \x01(\tR\rexecutionType\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12P\n\x0eposition_delta\x18\x05 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaR\rpositionDelta\x12;\n\x06payout\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout\x12\x35\n\x03\x66\x65\x65\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x08 \x01(\tR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\n \x01(\tR\x03\x63id\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\"T\n\x0cTradesFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"W\n\x0fPositionsFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"T\n\x0cOrdersFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"0\n\x0fOrderbookFilter\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"0\n\x12\x42\x61nkBalancesFilter\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\"A\n\x18SubaccountDepositsFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\"+\n\x11OraclePriceFilter\x12\x16\n\x06symbol\x18\x01 \x03(\tR\x06symbol*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\xf2\x01\n\x1c\x63om.injective.stream.v1beta1B\nQueryProtoP\x01ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/types\xa2\x02\x03ISX\xaa\x02\x18Injective.Stream.V1beta1\xca\x02\x18Injective\\Stream\\V1beta1\xe2\x02$Injective\\Stream\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Stream::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.stream.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.stream.v1beta1B\nQueryProtoP\001ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/types\242\002\003ISX\252\002\030Injective.Stream.V1beta1\312\002\030Injective\\Stream\\V1beta1\342\002$Injective\\Stream\\V1beta1\\GPBMetadata\352\002\032Injective::Stream::V1beta1' - _globals['_STREAMREQUEST'].fields_by_name['bank_balances_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['bank_balances_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['subaccount_deposits_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['subaccount_deposits_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['spot_trades_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['spot_trades_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['derivative_trades_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['derivative_trades_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['spot_orders_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['spot_orders_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['derivative_orders_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['derivative_orders_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['spot_orderbooks_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['spot_orderbooks_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['derivative_orderbooks_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['derivative_orderbooks_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['positions_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['positions_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['oracle_price_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['oracle_price_filter']._serialized_options = b'\310\336\037\001' - _globals['_BANKBALANCE'].fields_by_name['balances']._loaded_options = None - _globals['_BANKBALANCE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_SUBACCOUNTDEPOSITS'].fields_by_name['deposits']._loaded_options = None - _globals['_SUBACCOUNTDEPOSITS'].fields_by_name['deposits']._serialized_options = b'\310\336\037\000' - _globals['_SUBACCOUNTDEPOSIT'].fields_by_name['deposit']._loaded_options = None - _globals['_SUBACCOUNTDEPOSIT'].fields_by_name['deposit']._serialized_options = b'\310\336\037\000' - _globals['_SPOTORDER'].fields_by_name['order']._loaded_options = None - _globals['_SPOTORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_DERIVATIVEORDER'].fields_by_name['order']._loaded_options = None - _globals['_DERIVATIVEORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_POSITION'].fields_by_name['quantity']._loaded_options = None - _globals['_POSITION'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITION'].fields_by_name['entry_price']._loaded_options = None - _globals['_POSITION'].fields_by_name['entry_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITION'].fields_by_name['margin']._loaded_options = None - _globals['_POSITION'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITION'].fields_by_name['cumulative_funding_entry']._loaded_options = None - _globals['_POSITION'].fields_by_name['cumulative_funding_entry']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_ORACLEPRICE'].fields_by_name['price']._loaded_options = None - _globals['_ORACLEPRICE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTTRADE'].fields_by_name['quantity']._loaded_options = None - _globals['_SPOTTRADE'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTTRADE'].fields_by_name['price']._loaded_options = None - _globals['_SPOTTRADE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTTRADE'].fields_by_name['fee']._loaded_options = None - _globals['_SPOTTRADE'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTTRADE'].fields_by_name['fee_recipient_address']._loaded_options = None - _globals['_SPOTTRADE'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' - _globals['_DERIVATIVETRADE'].fields_by_name['payout']._loaded_options = None - _globals['_DERIVATIVETRADE'].fields_by_name['payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVETRADE'].fields_by_name['fee']._loaded_options = None - _globals['_DERIVATIVETRADE'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVETRADE'].fields_by_name['fee_recipient_address']._loaded_options = None - _globals['_DERIVATIVETRADE'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' - _globals['_ORDERUPDATESTATUS']._serialized_start=5450 - _globals['_ORDERUPDATESTATUS']._serialized_end=5526 - _globals['_STREAMREQUEST']._serialized_start=205 - _globals['_STREAMREQUEST']._serialized_end=1243 - _globals['_STREAMRESPONSE']._serialized_start=1246 - _globals['_STREAMRESPONSE']._serialized_end=2175 - _globals['_ORDERBOOKUPDATE']._serialized_start=2177 - _globals['_ORDERBOOKUPDATE']._serialized_end=2279 - _globals['_ORDERBOOK']._serialized_start=2282 - _globals['_ORDERBOOK']._serialized_end=2456 - _globals['_BANKBALANCE']._serialized_start=2459 - _globals['_BANKBALANCE']._serialized_end=2603 - _globals['_SUBACCOUNTDEPOSITS']._serialized_start=2606 - _globals['_SUBACCOUNTDEPOSITS']._serialized_end=2742 - _globals['_SUBACCOUNTDEPOSIT']._serialized_start=2744 - _globals['_SUBACCOUNTDEPOSIT']._serialized_end=2854 - _globals['_SPOTORDERUPDATE']._serialized_start=2857 - _globals['_SPOTORDERUPDATE']._serialized_end=3051 - _globals['_SPOTORDER']._serialized_start=3053 - _globals['_SPOTORDER']._serialized_end=3165 - _globals['_DERIVATIVEORDERUPDATE']._serialized_start=3168 - _globals['_DERIVATIVEORDERUPDATE']._serialized_end=3374 - _globals['_DERIVATIVEORDER']._serialized_start=3377 - _globals['_DERIVATIVEORDER']._serialized_end=3530 - _globals['_POSITION']._serialized_start=3533 - _globals['_POSITION']._serialized_end=3924 - _globals['_ORACLEPRICE']._serialized_start=3926 - _globals['_ORACLEPRICE']._serialized_end=4042 - _globals['_SPOTTRADE']._serialized_start=4045 - _globals['_SPOTTRADE']._serialized_end=4496 - _globals['_DERIVATIVETRADE']._serialized_start=4499 - _globals['_DERIVATIVETRADE']._serialized_end=4975 - _globals['_TRADESFILTER']._serialized_start=4977 - _globals['_TRADESFILTER']._serialized_end=5061 - _globals['_POSITIONSFILTER']._serialized_start=5063 - _globals['_POSITIONSFILTER']._serialized_end=5150 - _globals['_ORDERSFILTER']._serialized_start=5152 - _globals['_ORDERSFILTER']._serialized_end=5236 - _globals['_ORDERBOOKFILTER']._serialized_start=5238 - _globals['_ORDERBOOKFILTER']._serialized_end=5286 - _globals['_BANKBALANCESFILTER']._serialized_start=5288 - _globals['_BANKBALANCESFILTER']._serialized_end=5336 - _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_start=5338 - _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_end=5403 - _globals['_ORACLEPRICEFILTER']._serialized_start=5405 - _globals['_ORACLEPRICEFILTER']._serialized_end=5448 - _globals['_STREAM']._serialized_start=5528 - _globals['_STREAM']._serialized_end=5631 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py deleted file mode 100644 index d60a571a..00000000 --- a/pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,80 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.injective.stream.v1beta1 import query_pb2 as injective_dot_stream_dot_v1beta1_dot_query__pb2 - - -class StreamStub(object): - """ChainStream defines the gRPC streaming service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Stream = channel.unary_stream( - '/injective.stream.v1beta1.Stream/Stream', - request_serializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamRequest.SerializeToString, - response_deserializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamResponse.FromString, - _registered_method=True) - - -class StreamServicer(object): - """ChainStream defines the gRPC streaming service. - """ - - def Stream(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_StreamServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Stream': grpc.unary_stream_rpc_method_handler( - servicer.Stream, - request_deserializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamRequest.FromString, - response_serializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.stream.v1beta1.Stream', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.stream.v1beta1.Stream', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Stream(object): - """ChainStream defines the gRPC streaming service. - """ - - @staticmethod - def Stream(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, - '/injective.stream.v1beta1.Stream/Stream', - injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamRequest.SerializeToString, - injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py deleted file mode 100644 index 00205780..00000000 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/tokenfactory/v1beta1/authorityMetadata.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6injective/tokenfactory/v1beta1/authorityMetadata.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"F\n\x16\x44\x65nomAuthorityMetadata\x12&\n\x05\x61\x64min\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"admin\"R\x05\x61\x64min:\x04\xe8\xa0\x1f\x01\x42\xaa\x02\n\"com.injective.tokenfactory.v1beta1B\x16\x41uthorityMetadataProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.authorityMetadata_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\026AuthorityMetadataProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - _globals['_DENOMAUTHORITYMETADATA'].fields_by_name['admin']._loaded_options = None - _globals['_DENOMAUTHORITYMETADATA'].fields_by_name['admin']._serialized_options = b'\362\336\037\014yaml:\"admin\"' - _globals['_DENOMAUTHORITYMETADATA']._loaded_options = None - _globals['_DENOMAUTHORITYMETADATA']._serialized_options = b'\350\240\037\001' - _globals['_DENOMAUTHORITYMETADATA']._serialized_start=144 - _globals['_DENOMAUTHORITYMETADATA']._serialized_end=214 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py deleted file mode 100644 index 8ef8bf5c..00000000 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/tokenfactory/v1beta1/events.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+injective/tokenfactory/v1beta1/events.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\"D\n\x12\x45ventCreateTFDenom\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\"x\n\x10\x45ventMintTFDenom\x12+\n\x11recipient_address\x18\x01 \x01(\tR\x10recipientAddress\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"p\n\x0e\x45ventBurnDenom\x12%\n\x0e\x62urner_address\x18\x01 \x01(\tR\rburnerAddress\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"V\n\x12\x45ventChangeTFAdmin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12*\n\x11new_admin_address\x18\x02 \x01(\tR\x0fnewAdminAddress\"p\n\x17\x45ventSetTFDenomMetadata\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12?\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x04\xc8\xde\x1f\x00R\x08metadataB\x9f\x02\n\"com.injective.tokenfactory.v1beta1B\x0b\x45ventsProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.events_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\013EventsProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - _globals['_EVENTMINTTFDENOM'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTMINTTFDENOM'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_EVENTBURNDENOM'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTBURNDENOM'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_EVENTSETTFDENOMMETADATA'].fields_by_name['metadata']._loaded_options = None - _globals['_EVENTSETTFDENOMMETADATA'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000' - _globals['_EVENTCREATETFDENOM']._serialized_start=221 - _globals['_EVENTCREATETFDENOM']._serialized_end=289 - _globals['_EVENTMINTTFDENOM']._serialized_start=291 - _globals['_EVENTMINTTFDENOM']._serialized_end=411 - _globals['_EVENTBURNDENOM']._serialized_start=413 - _globals['_EVENTBURNDENOM']._serialized_end=525 - _globals['_EVENTCHANGETFADMIN']._serialized_start=527 - _globals['_EVENTCHANGETFADMIN']._serialized_end=613 - _globals['_EVENTSETTFDENOMMETADATA']._serialized_start=615 - _globals['_EVENTSETTFDENOMMETADATA']._serialized_end=727 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py deleted file mode 100644 index 8dfd3aac..00000000 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py +++ /dev/null @@ -1,48 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/tokenfactory/v1beta1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,injective/tokenfactory/v1beta1/genesis.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a+injective/tokenfactory/v1beta1/params.proto\"\xc8\x01\n\x0cGenesisState\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12r\n\x0e\x66\x61\x63tory_denoms\x18\x02 \x03(\x0b\x32,.injective.tokenfactory.v1beta1.GenesisDenomB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"factory_denoms\"R\rfactoryDenoms\"\xc8\x02\n\x0cGenesisDenom\x12&\n\x05\x64\x65nom\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"R\x05\x64\x65nom\x12\x88\x01\n\x12\x61uthority_metadata\x18\x02 \x01(\x0b\x32\x36.injective.tokenfactory.v1beta1.DenomAuthorityMetadataB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"authority_metadata\"R\x11\x61uthorityMetadata\x12#\n\x04name\x18\x03 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:\"name\"R\x04name\x12)\n\x06symbol\x18\x04 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"symbol\"R\x06symbol\x12/\n\x08\x64\x65\x63imals\x18\x05 \x01(\rB\x13\xf2\xde\x1f\x0fyaml:\"decimals\"R\x08\x64\x65\x63imals:\x04\xe8\xa0\x1f\x01\x42\xa0\x02\n\"com.injective.tokenfactory.v1beta1B\x0cGenesisProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\014GenesisProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['factory_denoms']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['factory_denoms']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"factory_denoms\"' - _globals['_GENESISDENOM'].fields_by_name['denom']._loaded_options = None - _globals['_GENESISDENOM'].fields_by_name['denom']._serialized_options = b'\362\336\037\014yaml:\"denom\"' - _globals['_GENESISDENOM'].fields_by_name['authority_metadata']._loaded_options = None - _globals['_GENESISDENOM'].fields_by_name['authority_metadata']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"authority_metadata\"' - _globals['_GENESISDENOM'].fields_by_name['name']._loaded_options = None - _globals['_GENESISDENOM'].fields_by_name['name']._serialized_options = b'\362\336\037\013yaml:\"name\"' - _globals['_GENESISDENOM'].fields_by_name['symbol']._loaded_options = None - _globals['_GENESISDENOM'].fields_by_name['symbol']._serialized_options = b'\362\336\037\ryaml:\"symbol\"' - _globals['_GENESISDENOM'].fields_by_name['decimals']._loaded_options = None - _globals['_GENESISDENOM'].fields_by_name['decimals']._serialized_options = b'\362\336\037\017yaml:\"decimals\"' - _globals['_GENESISDENOM']._loaded_options = None - _globals['_GENESISDENOM']._serialized_options = b'\350\240\037\001' - _globals['_GENESISSTATE']._serialized_start=204 - _globals['_GENESISSTATE']._serialized_end=404 - _globals['_GENESISDENOM']._serialized_start=407 - _globals['_GENESISDENOM']._serialized_end=735 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py deleted file mode 100644 index a234316c..00000000 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/tokenfactory/v1beta1/params.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+injective/tokenfactory/v1beta1/params.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"\xc5\x01\n\x06Params\x12\x96\x01\n\x12\x64\x65nom_creation_fee\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBM\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"denom_creation_fee\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x10\x64\x65nomCreationFee:\"\x8a\xe7\xb0*\x1dinjective/tokenfactory/ParamsB\x9f\x02\n\"com.injective.tokenfactory.v1beta1B\x0bParamsProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.params_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\013ParamsProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - _globals['_PARAMS'].fields_by_name['denom_creation_fee']._loaded_options = None - _globals['_PARAMS'].fields_by_name['denom_creation_fee']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"denom_creation_fee\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\212\347\260*\035injective/tokenfactory/Params' - _globals['_PARAMS']._serialized_start=236 - _globals['_PARAMS']._serialized_end=433 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py deleted file mode 100644 index 047ca535..00000000 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py +++ /dev/null @@ -1,69 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/tokenfactory/v1beta1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import genesis_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_genesis__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*injective/tokenfactory/v1beta1/query.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a+injective/tokenfactory/v1beta1/params.proto\x1a,injective/tokenfactory/v1beta1/genesis.proto\"\x14\n\x12QueryParamsRequest\"[\n\x13QueryParamsResponse\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x83\x01\n\"QueryDenomAuthorityMetadataRequest\x12*\n\x07\x63reator\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"R\x07\x63reator\x12\x31\n\tsub_denom\x18\x02 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"sub_denom\"R\x08subDenom\"\xb0\x01\n#QueryDenomAuthorityMetadataResponse\x12\x88\x01\n\x12\x61uthority_metadata\x18\x01 \x01(\x0b\x32\x36.injective.tokenfactory.v1beta1.DenomAuthorityMetadataB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"authority_metadata\"R\x11\x61uthorityMetadata\"M\n\x1dQueryDenomsFromCreatorRequest\x12,\n\x07\x63reator\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"creator\"R\x07\x63reator\"K\n\x1eQueryDenomsFromCreatorResponse\x12)\n\x06\x64\x65noms\x18\x01 \x03(\tB\x11\xf2\xde\x1f\ryaml:\"denoms\"R\x06\x64\x65noms\"\x19\n\x17QueryModuleStateRequest\"^\n\x18QueryModuleStateResponse\x12\x42\n\x05state\x18\x01 \x01(\x0b\x32,.injective.tokenfactory.v1beta1.GenesisStateR\x05state2\xc9\x06\n\x05Query\x12\xa1\x01\n\x06Params\x12\x32.injective.tokenfactory.v1beta1.QueryParamsRequest\x1a\x33.injective.tokenfactory.v1beta1.QueryParamsResponse\".\x82\xd3\xe4\x93\x02(\x12&/injective/tokenfactory/v1beta1/params\x12\xfa\x01\n\x16\x44\x65nomAuthorityMetadata\x12\x42.injective.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest\x1a\x43.injective.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse\"W\x82\xd3\xe4\x93\x02Q\x12O/injective/tokenfactory/v1beta1/denoms/{creator}/{sub_denom}/authority_metadata\x12\xd9\x01\n\x11\x44\x65nomsFromCreator\x12=.injective.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest\x1a>.injective.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse\"E\x82\xd3\xe4\x93\x02?\x12=/injective/tokenfactory/v1beta1/denoms_from_creator/{creator}\x12\xc2\x01\n\x17TokenfactoryModuleState\x12\x37.injective.tokenfactory.v1beta1.QueryModuleStateRequest\x1a\x38.injective.tokenfactory.v1beta1.QueryModuleStateResponse\"4\x82\xd3\xe4\x93\x02.\x12,/injective/tokenfactory/v1beta1/module_stateB\x9e\x02\n\"com.injective.tokenfactory.v1beta1B\nQueryProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\nQueryProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST'].fields_by_name['creator']._loaded_options = None - _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST'].fields_by_name['creator']._serialized_options = b'\362\336\037\014yaml:\"denom\"' - _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST'].fields_by_name['sub_denom']._loaded_options = None - _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST'].fields_by_name['sub_denom']._serialized_options = b'\362\336\037\020yaml:\"sub_denom\"' - _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE'].fields_by_name['authority_metadata']._loaded_options = None - _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE'].fields_by_name['authority_metadata']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"authority_metadata\"' - _globals['_QUERYDENOMSFROMCREATORREQUEST'].fields_by_name['creator']._loaded_options = None - _globals['_QUERYDENOMSFROMCREATORREQUEST'].fields_by_name['creator']._serialized_options = b'\362\336\037\016yaml:\"creator\"' - _globals['_QUERYDENOMSFROMCREATORRESPONSE'].fields_by_name['denoms']._loaded_options = None - _globals['_QUERYDENOMSFROMCREATORRESPONSE'].fields_by_name['denoms']._serialized_options = b'\362\336\037\ryaml:\"denoms\"' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002(\022&/injective/tokenfactory/v1beta1/params' - _globals['_QUERY'].methods_by_name['DenomAuthorityMetadata']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomAuthorityMetadata']._serialized_options = b'\202\323\344\223\002Q\022O/injective/tokenfactory/v1beta1/denoms/{creator}/{sub_denom}/authority_metadata' - _globals['_QUERY'].methods_by_name['DenomsFromCreator']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomsFromCreator']._serialized_options = b'\202\323\344\223\002?\022=/injective/tokenfactory/v1beta1/denoms_from_creator/{creator}' - _globals['_QUERY'].methods_by_name['TokenfactoryModuleState']._loaded_options = None - _globals['_QUERY'].methods_by_name['TokenfactoryModuleState']._serialized_options = b'\202\323\344\223\002.\022,/injective/tokenfactory/v1beta1/module_state' - _globals['_QUERYPARAMSREQUEST']._serialized_start=321 - _globals['_QUERYPARAMSREQUEST']._serialized_end=341 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=343 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=434 - _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST']._serialized_start=437 - _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST']._serialized_end=568 - _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE']._serialized_start=571 - _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE']._serialized_end=747 - _globals['_QUERYDENOMSFROMCREATORREQUEST']._serialized_start=749 - _globals['_QUERYDENOMSFROMCREATORREQUEST']._serialized_end=826 - _globals['_QUERYDENOMSFROMCREATORRESPONSE']._serialized_start=828 - _globals['_QUERYDENOMSFROMCREATORRESPONSE']._serialized_end=903 - _globals['_QUERYMODULESTATEREQUEST']._serialized_start=905 - _globals['_QUERYMODULESTATEREQUEST']._serialized_end=930 - _globals['_QUERYMODULESTATERESPONSE']._serialized_start=932 - _globals['_QUERYMODULESTATERESPONSE']._serialized_end=1026 - _globals['_QUERY']._serialized_start=1029 - _globals['_QUERY']._serialized_end=1870 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2_grpc.py deleted file mode 100644 index 7a7ab8c6..00000000 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2_grpc.py +++ /dev/null @@ -1,216 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.injective.tokenfactory.v1beta1 import query_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Params = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Query/Params', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) - self.DenomAuthorityMetadata = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Query/DenomAuthorityMetadata', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataRequest.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataResponse.FromString, - _registered_method=True) - self.DenomsFromCreator = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Query/DenomsFromCreator', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorRequest.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorResponse.FromString, - _registered_method=True) - self.TokenfactoryModuleState = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Query/TokenfactoryModuleState', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service. - """ - - def Params(self, request, context): - """Params defines a gRPC query method that returns the tokenfactory module's - parameters. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DenomAuthorityMetadata(self, request, context): - """DenomAuthorityMetadata defines a gRPC query method for fetching - DenomAuthorityMetadata for a particular denom. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DenomsFromCreator(self, request, context): - """DenomsFromCreator defines a gRPC query method for fetching all - denominations created by a specific admin/creator. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TokenfactoryModuleState(self, request, context): - """Retrieves the entire auction module's state - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'DenomAuthorityMetadata': grpc.unary_unary_rpc_method_handler( - servicer.DenomAuthorityMetadata, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataRequest.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataResponse.SerializeToString, - ), - 'DenomsFromCreator': grpc.unary_unary_rpc_method_handler( - servicer.DenomsFromCreator, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorRequest.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorResponse.SerializeToString, - ), - 'TokenfactoryModuleState': grpc.unary_unary_rpc_method_handler( - servicer.TokenfactoryModuleState, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.tokenfactory.v1beta1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.tokenfactory.v1beta1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service. - """ - - @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.tokenfactory.v1beta1.Query/Params', - injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DenomAuthorityMetadata(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.tokenfactory.v1beta1.Query/DenomAuthorityMetadata', - injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataRequest.SerializeToString, - injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DenomsFromCreator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.tokenfactory.v1beta1.Query/DenomsFromCreator', - injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorRequest.SerializeToString, - injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def TokenfactoryModuleState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.tokenfactory.v1beta1.Query/TokenfactoryModuleState', - injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py deleted file mode 100644 index ebcba559..00000000 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py +++ /dev/null @@ -1,106 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/tokenfactory/v1beta1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/tokenfactory/v1beta1/tx.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a+injective/tokenfactory/v1beta1/params.proto\x1a\x11\x61mino/amino.proto\"\xa2\x02\n\x0eMsgCreateDenom\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12/\n\x08subdenom\x18\x02 \x01(\tB\x13\xf2\xde\x1f\x0fyaml:\"subdenom\"R\x08subdenom\x12#\n\x04name\x18\x03 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:\"name\"R\x04name\x12)\n\x06symbol\x18\x04 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"symbol\"R\x06symbol\x12/\n\x08\x64\x65\x63imals\x18\x05 \x01(\rB\x13\xf2\xde\x1f\x0fyaml:\"decimals\"R\x08\x64\x65\x63imals:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#injective/tokenfactory/create-denom\"\\\n\x16MsgCreateDenomResponse\x12\x42\n\x0fnew_token_denom\x18\x01 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:\"new_token_denom\"R\rnewTokenDenom\"\xab\x01\n\x07MsgMint\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12H\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x15\xc8\xde\x1f\x00\xf2\xde\x1f\ryaml:\"amount\"R\x06\x61mount:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1binjective/tokenfactory/mint\"\x11\n\x0fMsgMintResponse\"\xab\x01\n\x07MsgBurn\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12H\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x15\xc8\xde\x1f\x00\xf2\xde\x1f\ryaml:\"amount\"R\x06\x61mount:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1binjective/tokenfactory/burn\"\x11\n\x0fMsgBurnResponse\"\xcb\x01\n\x0eMsgChangeAdmin\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12&\n\x05\x64\x65nom\x18\x02 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"R\x05\x64\x65nom\x12\x31\n\tnew_admin\x18\x03 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"new_admin\"R\x08newAdmin:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#injective/tokenfactory/change-admin\"\x18\n\x16MsgChangeAdminResponse\"\xcf\x01\n\x13MsgSetDenomMetadata\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12R\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x17\xc8\xde\x1f\x00\xf2\xde\x1f\x0fyaml:\"metadata\"R\x08metadata:9\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*)injective/tokenfactory/set-denom-metadata\"\x1d\n\x1bMsgSetDenomMetadataResponse\"\xc8\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x44\n\x06params\x18\x02 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$injective/tokenfactory/update-params\"\x19\n\x17MsgUpdateParamsResponse2\xbf\x05\n\x03Msg\x12u\n\x0b\x43reateDenom\x12..injective.tokenfactory.v1beta1.MsgCreateDenom\x1a\x36.injective.tokenfactory.v1beta1.MsgCreateDenomResponse\x12`\n\x04Mint\x12\'.injective.tokenfactory.v1beta1.MsgMint\x1a/.injective.tokenfactory.v1beta1.MsgMintResponse\x12`\n\x04\x42urn\x12\'.injective.tokenfactory.v1beta1.MsgBurn\x1a/.injective.tokenfactory.v1beta1.MsgBurnResponse\x12u\n\x0b\x43hangeAdmin\x12..injective.tokenfactory.v1beta1.MsgChangeAdmin\x1a\x36.injective.tokenfactory.v1beta1.MsgChangeAdminResponse\x12\x84\x01\n\x10SetDenomMetadata\x12\x33.injective.tokenfactory.v1beta1.MsgSetDenomMetadata\x1a;.injective.tokenfactory.v1beta1.MsgSetDenomMetadataResponse\x12x\n\x0cUpdateParams\x12/.injective.tokenfactory.v1beta1.MsgUpdateParams\x1a\x37.injective.tokenfactory.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9b\x02\n\"com.injective.tokenfactory.v1beta1B\x07TxProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\007TxProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - _globals['_MSGCREATEDENOM'].fields_by_name['sender']._loaded_options = None - _globals['_MSGCREATEDENOM'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGCREATEDENOM'].fields_by_name['subdenom']._loaded_options = None - _globals['_MSGCREATEDENOM'].fields_by_name['subdenom']._serialized_options = b'\362\336\037\017yaml:\"subdenom\"' - _globals['_MSGCREATEDENOM'].fields_by_name['name']._loaded_options = None - _globals['_MSGCREATEDENOM'].fields_by_name['name']._serialized_options = b'\362\336\037\013yaml:\"name\"' - _globals['_MSGCREATEDENOM'].fields_by_name['symbol']._loaded_options = None - _globals['_MSGCREATEDENOM'].fields_by_name['symbol']._serialized_options = b'\362\336\037\ryaml:\"symbol\"' - _globals['_MSGCREATEDENOM'].fields_by_name['decimals']._loaded_options = None - _globals['_MSGCREATEDENOM'].fields_by_name['decimals']._serialized_options = b'\362\336\037\017yaml:\"decimals\"' - _globals['_MSGCREATEDENOM']._loaded_options = None - _globals['_MSGCREATEDENOM']._serialized_options = b'\202\347\260*\006sender\212\347\260*#injective/tokenfactory/create-denom' - _globals['_MSGCREATEDENOMRESPONSE'].fields_by_name['new_token_denom']._loaded_options = None - _globals['_MSGCREATEDENOMRESPONSE'].fields_by_name['new_token_denom']._serialized_options = b'\362\336\037\026yaml:\"new_token_denom\"' - _globals['_MSGMINT'].fields_by_name['sender']._loaded_options = None - _globals['_MSGMINT'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGMINT'].fields_by_name['amount']._loaded_options = None - _globals['_MSGMINT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\362\336\037\ryaml:\"amount\"' - _globals['_MSGMINT']._loaded_options = None - _globals['_MSGMINT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033injective/tokenfactory/mint' - _globals['_MSGBURN'].fields_by_name['sender']._loaded_options = None - _globals['_MSGBURN'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGBURN'].fields_by_name['amount']._loaded_options = None - _globals['_MSGBURN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\362\336\037\ryaml:\"amount\"' - _globals['_MSGBURN']._loaded_options = None - _globals['_MSGBURN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033injective/tokenfactory/burn' - _globals['_MSGCHANGEADMIN'].fields_by_name['sender']._loaded_options = None - _globals['_MSGCHANGEADMIN'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGCHANGEADMIN'].fields_by_name['denom']._loaded_options = None - _globals['_MSGCHANGEADMIN'].fields_by_name['denom']._serialized_options = b'\362\336\037\014yaml:\"denom\"' - _globals['_MSGCHANGEADMIN'].fields_by_name['new_admin']._loaded_options = None - _globals['_MSGCHANGEADMIN'].fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"' - _globals['_MSGCHANGEADMIN']._loaded_options = None - _globals['_MSGCHANGEADMIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*#injective/tokenfactory/change-admin' - _globals['_MSGSETDENOMMETADATA'].fields_by_name['sender']._loaded_options = None - _globals['_MSGSETDENOMMETADATA'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGSETDENOMMETADATA'].fields_by_name['metadata']._loaded_options = None - _globals['_MSGSETDENOMMETADATA'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000\362\336\037\017yaml:\"metadata\"' - _globals['_MSGSETDENOMMETADATA']._loaded_options = None - _globals['_MSGSETDENOMMETADATA']._serialized_options = b'\202\347\260*\006sender\212\347\260*)injective/tokenfactory/set-denom-metadata' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*$injective/tokenfactory/update-params' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGCREATEDENOM']._serialized_start=278 - _globals['_MSGCREATEDENOM']._serialized_end=568 - _globals['_MSGCREATEDENOMRESPONSE']._serialized_start=570 - _globals['_MSGCREATEDENOMRESPONSE']._serialized_end=662 - _globals['_MSGMINT']._serialized_start=665 - _globals['_MSGMINT']._serialized_end=836 - _globals['_MSGMINTRESPONSE']._serialized_start=838 - _globals['_MSGMINTRESPONSE']._serialized_end=855 - _globals['_MSGBURN']._serialized_start=858 - _globals['_MSGBURN']._serialized_end=1029 - _globals['_MSGBURNRESPONSE']._serialized_start=1031 - _globals['_MSGBURNRESPONSE']._serialized_end=1048 - _globals['_MSGCHANGEADMIN']._serialized_start=1051 - _globals['_MSGCHANGEADMIN']._serialized_end=1254 - _globals['_MSGCHANGEADMINRESPONSE']._serialized_start=1256 - _globals['_MSGCHANGEADMINRESPONSE']._serialized_end=1280 - _globals['_MSGSETDENOMMETADATA']._serialized_start=1283 - _globals['_MSGSETDENOMMETADATA']._serialized_end=1490 - _globals['_MSGSETDENOMMETADATARESPONSE']._serialized_start=1492 - _globals['_MSGSETDENOMMETADATARESPONSE']._serialized_end=1521 - _globals['_MSGUPDATEPARAMS']._serialized_start=1524 - _globals['_MSGUPDATEPARAMS']._serialized_end=1724 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1726 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1751 - _globals['_MSG']._serialized_start=1754 - _globals['_MSG']._serialized_end=2457 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2_grpc.py deleted file mode 100644 index f96ee560..00000000 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2_grpc.py +++ /dev/null @@ -1,295 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.injective.tokenfactory.v1beta1 import tx_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the tokefactory module's gRPC message service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateDenom = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Msg/CreateDenom', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenom.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenomResponse.FromString, - _registered_method=True) - self.Mint = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Msg/Mint', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMint.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMintResponse.FromString, - _registered_method=True) - self.Burn = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Msg/Burn', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurn.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurnResponse.FromString, - _registered_method=True) - self.ChangeAdmin = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Msg/ChangeAdmin', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdmin.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdminResponse.FromString, - _registered_method=True) - self.SetDenomMetadata = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Msg/SetDenomMetadata', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadata.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadataResponse.FromString, - _registered_method=True) - self.UpdateParams = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Msg/UpdateParams', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the tokefactory module's gRPC message service. - """ - - def CreateDenom(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Mint(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Burn(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChangeAdmin(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SetDenomMetadata(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateDenom': grpc.unary_unary_rpc_method_handler( - servicer.CreateDenom, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenom.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenomResponse.SerializeToString, - ), - 'Mint': grpc.unary_unary_rpc_method_handler( - servicer.Mint, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMint.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMintResponse.SerializeToString, - ), - 'Burn': grpc.unary_unary_rpc_method_handler( - servicer.Burn, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurn.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurnResponse.SerializeToString, - ), - 'ChangeAdmin': grpc.unary_unary_rpc_method_handler( - servicer.ChangeAdmin, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdmin.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdminResponse.SerializeToString, - ), - 'SetDenomMetadata': grpc.unary_unary_rpc_method_handler( - servicer.SetDenomMetadata, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadata.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadataResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.tokenfactory.v1beta1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.tokenfactory.v1beta1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the tokefactory module's gRPC message service. - """ - - @staticmethod - def CreateDenom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.tokenfactory.v1beta1.Msg/CreateDenom', - injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenom.SerializeToString, - injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenomResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Mint(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.tokenfactory.v1beta1.Msg/Mint', - injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMint.SerializeToString, - injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMintResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Burn(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.tokenfactory.v1beta1.Msg/Burn', - injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurn.SerializeToString, - injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurnResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ChangeAdmin(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.tokenfactory.v1beta1.Msg/ChangeAdmin', - injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdmin.SerializeToString, - injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdminResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def SetDenomMetadata(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.tokenfactory.v1beta1.Msg/SetDenomMetadata', - injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadata.SerializeToString, - injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadataResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.tokenfactory.v1beta1.Msg/UpdateParams', - injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/injective/types/v1beta1/account_pb2.py b/pyinjective/proto/injective/types/v1beta1/account_pb2.py deleted file mode 100644 index eab1bf71..00000000 --- a/pyinjective/proto/injective/types/v1beta1/account_pb2.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/types/v1beta1/account.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%injective/types/v1beta1/account.proto\x12\x17injective.types.v1beta1\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\"\xcf\x01\n\nEthAccount\x12`\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x1b\xd0\xde\x1f\x01\xf2\xde\x1f\x13yaml:\"base_account\"R\x0b\x62\x61seAccount\x12\x31\n\tcode_hash\x18\x02 \x01(\x0c\x42\x14\xf2\xde\x1f\x10yaml:\"code_hash\"R\x08\x63odeHash:,\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIB\xe8\x01\n\x1b\x63om.injective.types.v1beta1B\x0c\x41\x63\x63ountProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.account_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.injective.types.v1beta1B\014AccountProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1' - _globals['_ETHACCOUNT'].fields_by_name['base_account']._loaded_options = None - _globals['_ETHACCOUNT'].fields_by_name['base_account']._serialized_options = b'\320\336\037\001\362\336\037\023yaml:\"base_account\"' - _globals['_ETHACCOUNT'].fields_by_name['code_hash']._loaded_options = None - _globals['_ETHACCOUNT'].fields_by_name['code_hash']._serialized_options = b'\362\336\037\020yaml:\"code_hash\"' - _globals['_ETHACCOUNT']._loaded_options = None - _globals['_ETHACCOUNT']._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000\312\264-\034cosmos.auth.v1beta1.AccountI' - _globals['_ETHACCOUNT']._serialized_start=148 - _globals['_ETHACCOUNT']._serialized_end=355 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/types/v1beta1/account_pb2_grpc.py b/pyinjective/proto/injective/types/v1beta1/account_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/types/v1beta1/account_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py deleted file mode 100644 index a8971e76..00000000 --- a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/types/v1beta1/tx_ext.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/types/v1beta1/tx_ext.proto\x12\x17injective.types.v1beta1\x1a\x14gogoproto/gogo.proto\"\x88\x01\n\x16\x45xtensionOptionsWeb3Tx\x12*\n\x10typedDataChainID\x18\x01 \x01(\x04R\x10typedDataChainID\x12\x1a\n\x08\x66\x65\x65Payer\x18\x02 \x01(\tR\x08\x66\x65\x65Payer\x12 \n\x0b\x66\x65\x65PayerSig\x18\x03 \x01(\x0cR\x0b\x66\x65\x65PayerSig:\x04\x88\xa0\x1f\x00\x42\xe6\x01\n\x1b\x63om.injective.types.v1beta1B\nTxExtProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.tx_ext_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.injective.types.v1beta1B\nTxExtProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1' - _globals['_EXTENSIONOPTIONSWEB3TX']._loaded_options = None - _globals['_EXTENSIONOPTIONSWEB3TX']._serialized_options = b'\210\240\037\000' - _globals['_EXTENSIONOPTIONSWEB3TX']._serialized_start=88 - _globals['_EXTENSIONOPTIONSWEB3TX']._serialized_end=224 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2_grpc.py b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py deleted file mode 100644 index 8ada0173..00000000 --- a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/types/v1beta1/tx_response.proto -# Protobuf Python Version: 5.26.1 -"""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)injective/types/v1beta1/tx_response.proto\x12\x17injective.types.v1beta1\"F\n\x18TxResponseGenericMessage\x12\x16\n\x06header\x18\x01 \x01(\tR\x06header\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\"_\n\x0eTxResponseData\x12M\n\x08messages\x18\x01 \x03(\x0b\x32\x31.injective.types.v1beta1.TxResponseGenericMessageR\x08messagesB\xeb\x01\n\x1b\x63om.injective.types.v1beta1B\x0fTxResponseProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.tx_response_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.injective.types.v1beta1B\017TxResponseProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1' - _globals['_TXRESPONSEGENERICMESSAGE']._serialized_start=70 - _globals['_TXRESPONSEGENERICMESSAGE']._serialized_end=140 - _globals['_TXRESPONSEDATA']._serialized_start=142 - _globals['_TXRESPONSEDATA']._serialized_end=237 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2_grpc.py b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/wasmx/v1/events_pb2.py b/pyinjective/proto/injective/wasmx/v1/events_pb2.py deleted file mode 100644 index c1e3da01..00000000 --- a/pyinjective/proto/injective/wasmx/v1/events_pb2.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/wasmx/v1/events.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 -from pyinjective.proto.injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/wasmx/v1/events.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x14gogoproto/gogo.proto\"\xa9\x01\n\x16\x45ventContractExecution\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1a\n\x08response\x18\x02 \x01(\x0cR\x08response\x12\x1f\n\x0bother_error\x18\x03 \x01(\tR\notherError\x12\'\n\x0f\x65xecution_error\x18\x04 \x01(\tR\x0e\x65xecutionError\"\xee\x02\n\x17\x45ventContractRegistered\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_price\x18\x03 \x01(\x04R\x08gasPrice\x12.\n\x13should_pin_contract\x18\x04 \x01(\x08R\x11shouldPinContract\x12\x30\n\x14is_migration_allowed\x18\x05 \x01(\x08R\x12isMigrationAllowed\x12\x17\n\x07\x63ode_id\x18\x06 \x01(\x04R\x06\x63odeId\x12#\n\radmin_address\x18\x07 \x01(\tR\x0c\x61\x64minAddress\x12\'\n\x0fgranter_address\x18\x08 \x01(\tR\x0egranterAddress\x12\x42\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x0b\x66undingMode\"F\n\x19\x45ventContractDeregistered\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddressB\xdc\x01\n\x16\x63om.injective.wasmx.v1B\x0b\x45ventsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.events_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\013EventsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' - _globals['_EVENTCONTRACTEXECUTION']._serialized_start=145 - _globals['_EVENTCONTRACTEXECUTION']._serialized_end=314 - _globals['_EVENTCONTRACTREGISTERED']._serialized_start=317 - _globals['_EVENTCONTRACTREGISTERED']._serialized_end=683 - _globals['_EVENTCONTRACTDEREGISTERED']._serialized_start=685 - _globals['_EVENTCONTRACTDEREGISTERED']._serialized_end=755 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py b/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py deleted file mode 100644 index 763dd63b..00000000 --- a/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/wasmx/v1/genesis.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n injective/wasmx/v1/genesis.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a\x14gogoproto/gogo.proto\"\x92\x01\n\x1dRegisteredContractWithAddress\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12W\n\x13registered_contract\x18\x02 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContractR\x12registeredContract\"\xb4\x01\n\x0cGenesisState\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12j\n\x14registered_contracts\x18\x02 \x03(\x0b\x32\x31.injective.wasmx.v1.RegisteredContractWithAddressB\x04\xc8\xde\x1f\x00R\x13registeredContractsB\xdd\x01\n\x16\x63om.injective.wasmx.v1B\x0cGenesisProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.genesis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\014GenesisProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['registered_contracts']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['registered_contracts']._serialized_options = b'\310\336\037\000' - _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_start=111 - _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_end=257 - _globals['_GENESISSTATE']._serialized_start=260 - _globals['_GENESISSTATE']._serialized_end=440 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py b/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py deleted file mode 100644 index 96a0f775..00000000 --- a/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py +++ /dev/null @@ -1,57 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/wasmx/v1/proposal.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmwasm.wasm.v1 import proposal_legacy_pb2 as cosmwasm_dot_wasm_dot_v1_dot_proposal__legacy__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/wasmx/v1/proposal.proto\x12\x12injective.wasmx.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a&cosmwasm/wasm/v1/proposal_legacy.proto\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"\xae\x02\n#ContractRegistrationRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12y\n\x1d\x63ontract_registration_request\x18\x03 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1b\x63ontractRegistrationRequest:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)wasmx/ContractRegistrationRequestProposal\"\xba\x02\n(BatchContractRegistrationRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12{\n\x1e\x63ontract_registration_requests\x18\x03 \x03(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1c\x63ontractRegistrationRequests:Y\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*.wasmx/BatchContractRegistrationRequestProposal\"\xd1\x01\n#BatchContractDeregistrationProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\tcontracts\x18\x03 \x03(\tR\tcontracts:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)wasmx/BatchContractDeregistrationProposal\"\xaf\x03\n\x1b\x43ontractRegistrationRequest\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_limit\x18\x02 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x03 \x01(\x04R\x08gasPrice\x12.\n\x13should_pin_contract\x18\x04 \x01(\x08R\x11shouldPinContract\x12\x30\n\x14is_migration_allowed\x18\x05 \x01(\x08R\x12isMigrationAllowed\x12\x17\n\x07\x63ode_id\x18\x06 \x01(\x04R\x06\x63odeId\x12#\n\radmin_address\x18\x07 \x01(\tR\x0c\x61\x64minAddress\x12\'\n\x0fgranter_address\x18\x08 \x01(\tR\x0egranterAddress\x12\x42\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x0b\x66undingMode:\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xe2\x01\n\x16\x42\x61tchStoreCodeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12G\n\tproposals\x18\x03 \x03(\x0b\x32#.cosmwasm.wasm.v1.StoreCodeProposalB\x04\xc8\xde\x1f\x00R\tproposals:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasmx/BatchStoreCodeProposal*G\n\x0b\x46undingMode\x12\x0f\n\x0bUnspecified\x10\x00\x12\x0e\n\nSelfFunded\x10\x01\x12\r\n\tGrantOnly\x10\x02\x12\x08\n\x04\x44ual\x10\x03\x42\xde\x01\n\x16\x63om.injective.wasmx.v1B\rProposalProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.proposal_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\rProposalProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' - _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL'].fields_by_name['contract_registration_request']._loaded_options = None - _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL'].fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' - _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._loaded_options = None - _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)wasmx/ContractRegistrationRequestProposal' - _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL'].fields_by_name['contract_registration_requests']._loaded_options = None - _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL'].fields_by_name['contract_registration_requests']._serialized_options = b'\310\336\037\000' - _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._loaded_options = None - _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*.wasmx/BatchContractRegistrationRequestProposal' - _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._loaded_options = None - _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)wasmx/BatchContractDeregistrationProposal' - _globals['_CONTRACTREGISTRATIONREQUEST']._loaded_options = None - _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_BATCHSTORECODEPROPOSAL'].fields_by_name['proposals']._loaded_options = None - _globals['_BATCHSTORECODEPROPOSAL'].fields_by_name['proposals']._serialized_options = b'\310\336\037\000' - _globals['_BATCHSTORECODEPROPOSAL']._loaded_options = None - _globals['_BATCHSTORECODEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasmx/BatchStoreCodeProposal' - _globals['_FUNDINGMODE']._serialized_start=1662 - _globals['_FUNDINGMODE']._serialized_end=1733 - _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=166 - _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=468 - _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=471 - _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=785 - _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_start=788 - _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_end=997 - _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_start=1000 - _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_end=1431 - _globals['_BATCHSTORECODEPROPOSAL']._serialized_start=1434 - _globals['_BATCHSTORECODEPROPOSAL']._serialized_end=1660 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2.py b/pyinjective/proto/injective/wasmx/v1/query_pb2.py deleted file mode 100644 index 2bba8f41..00000000 --- a/pyinjective/proto/injective/wasmx/v1/query_pb2.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/wasmx/v1/query.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 -from pyinjective.proto.injective.wasmx.v1 import genesis_pb2 as injective_dot_wasmx_dot_v1_dot_genesis__pb2 -from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/query.proto\x12\x12injective.wasmx.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a injective/wasmx/v1/genesis.proto\x1a\x14gogoproto/gogo.proto\"\x19\n\x17QueryWasmxParamsRequest\"T\n\x18QueryWasmxParamsResponse\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x19\n\x17QueryModuleStateRequest\"R\n\x18QueryModuleStateResponse\x12\x36\n\x05state\x18\x01 \x01(\x0b\x32 .injective.wasmx.v1.GenesisStateR\x05state\"Q\n$QueryContractRegistrationInfoRequest\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\"k\n%QueryContractRegistrationInfoResponse\x12\x42\n\x08\x63ontract\x18\x01 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContractR\x08\x63ontract2\x84\x04\n\x05Query\x12\x8c\x01\n\x0bWasmxParams\x12+.injective.wasmx.v1.QueryWasmxParamsRequest\x1a,.injective.wasmx.v1.QueryWasmxParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/injective/wasmx/v1/params\x12\xd1\x01\n\x18\x43ontractRegistrationInfo\x12\x38.injective.wasmx.v1.QueryContractRegistrationInfoRequest\x1a\x39.injective.wasmx.v1.QueryContractRegistrationInfoResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/wasmx/v1/registration_info/{contract_address}\x12\x97\x01\n\x10WasmxModuleState\x12+.injective.wasmx.v1.QueryModuleStateRequest\x1a,.injective.wasmx.v1.QueryModuleStateResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /injective/wasmx/v1/module_stateB\xdb\x01\n\x16\x63om.injective.wasmx.v1B\nQueryProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.query_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\nQueryProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' - _globals['_QUERYWASMXPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYWASMXPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_QUERY'].methods_by_name['WasmxParams']._loaded_options = None - _globals['_QUERY'].methods_by_name['WasmxParams']._serialized_options = b'\202\323\344\223\002\034\022\032/injective/wasmx/v1/params' - _globals['_QUERY'].methods_by_name['ContractRegistrationInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['ContractRegistrationInfo']._serialized_options = b'\202\323\344\223\002:\0228/injective/wasmx/v1/registration_info/{contract_address}' - _globals['_QUERY'].methods_by_name['WasmxModuleState']._loaded_options = None - _globals['_QUERY'].methods_by_name['WasmxModuleState']._serialized_options = b'\202\323\344\223\002\"\022 /injective/wasmx/v1/module_state' - _globals['_QUERYWASMXPARAMSREQUEST']._serialized_start=172 - _globals['_QUERYWASMXPARAMSREQUEST']._serialized_end=197 - _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_start=199 - _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_end=283 - _globals['_QUERYMODULESTATEREQUEST']._serialized_start=285 - _globals['_QUERYMODULESTATEREQUEST']._serialized_end=310 - _globals['_QUERYMODULESTATERESPONSE']._serialized_start=312 - _globals['_QUERYMODULESTATERESPONSE']._serialized_end=394 - _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_start=396 - _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_end=477 - _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_start=479 - _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_end=586 - _globals['_QUERY']._serialized_start=589 - _globals['_QUERY']._serialized_end=1105 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py deleted file mode 100644 index 8f940368..00000000 --- a/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py +++ /dev/null @@ -1,169 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.injective.wasmx.v1 import query_pb2 as injective_dot_wasmx_dot_v1_dot_query__pb2 - - -class QueryStub(object): - """Query defines the gRPC querier service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.WasmxParams = channel.unary_unary( - '/injective.wasmx.v1.Query/WasmxParams', - request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, - _registered_method=True) - self.ContractRegistrationInfo = channel.unary_unary( - '/injective.wasmx.v1.Query/ContractRegistrationInfo', - request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, - _registered_method=True) - self.WasmxModuleState = channel.unary_unary( - '/injective.wasmx.v1.Query/WasmxModuleState', - request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, - _registered_method=True) - - -class QueryServicer(object): - """Query defines the gRPC querier service. - """ - - def WasmxParams(self, request, context): - """Retrieves wasmx params - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ContractRegistrationInfo(self, request, context): - """Retrieves contract registration info - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def WasmxModuleState(self, request, context): - """Retrieves the entire wasmx module's state - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_QueryServicer_to_server(servicer, server): - rpc_method_handlers = { - 'WasmxParams': grpc.unary_unary_rpc_method_handler( - servicer.WasmxParams, - request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.SerializeToString, - ), - 'ContractRegistrationInfo': grpc.unary_unary_rpc_method_handler( - servicer.ContractRegistrationInfo, - request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.SerializeToString, - ), - 'WasmxModuleState': grpc.unary_unary_rpc_method_handler( - servicer.WasmxModuleState, - request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.wasmx.v1.Query', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.wasmx.v1.Query', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Query(object): - """Query defines the gRPC querier service. - """ - - @staticmethod - def WasmxParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.wasmx.v1.Query/WasmxParams', - injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, - injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ContractRegistrationInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.wasmx.v1.Query/ContractRegistrationInfo', - injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, - injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def WasmxModuleState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.wasmx.v1.Query/WasmxModuleState', - injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py deleted file mode 100644 index 84f38d96..00000000 --- a/pyinjective/proto/injective/wasmx/v1/tx_pb2.py +++ /dev/null @@ -1,80 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/wasmx/v1/tx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 -from pyinjective.proto.injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1binjective/wasmx/v1/tx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x11\x61mino/amino.proto\"\xa6\x01\n\x18MsgExecuteContractCompat\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08\x63ontract\x18\x02 \x01(\tR\x08\x63ontract\x12\x10\n\x03msg\x18\x03 \x01(\tR\x03msg\x12\x14\n\x05\x66unds\x18\x04 \x01(\tR\x05\x66unds:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1ewasmx/MsgExecuteContractCompat\"6\n MsgExecuteContractCompatResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\xe4\x01\n\x11MsgUpdateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_limit\x18\x03 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x04 \x01(\x04R\x08gasPrice\x12)\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01R\x0c\x61\x64minAddress:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasmx/MsgUpdateContract\"\x1b\n\x19MsgUpdateContractResponse\"\x83\x01\n\x13MsgActivateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress:)\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19wasmx/MsgActivateContract\"\x1d\n\x1bMsgActivateContractResponse\"\x87\x01\n\x15MsgDeactivateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasmx/MsgDeactivateContract\"\x1f\n\x1dMsgDeactivateContractResponse\"\xad\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:(\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x15wasmx/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xd3\x01\n\x13MsgRegisterContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12y\n\x1d\x63ontract_registration_request\x18\x02 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1b\x63ontractRegistrationRequest:)\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19wasmx/MsgRegisterContract\"\x1d\n\x1bMsgRegisterContractResponse2\xc1\x05\n\x03Msg\x12t\n\x1cUpdateRegistryContractParams\x12%.injective.wasmx.v1.MsgUpdateContract\x1a-.injective.wasmx.v1.MsgUpdateContractResponse\x12t\n\x18\x41\x63tivateRegistryContract\x12\'.injective.wasmx.v1.MsgActivateContract\x1a/.injective.wasmx.v1.MsgActivateContractResponse\x12z\n\x1a\x44\x65\x61\x63tivateRegistryContract\x12).injective.wasmx.v1.MsgDeactivateContract\x1a\x31.injective.wasmx.v1.MsgDeactivateContractResponse\x12{\n\x15\x45xecuteContractCompat\x12,.injective.wasmx.v1.MsgExecuteContractCompat\x1a\x34.injective.wasmx.v1.MsgExecuteContractCompatResponse\x12`\n\x0cUpdateParams\x12#.injective.wasmx.v1.MsgUpdateParams\x1a+.injective.wasmx.v1.MsgUpdateParamsResponse\x12l\n\x10RegisterContract\x12\'.injective.wasmx.v1.MsgRegisterContract\x1a/.injective.wasmx.v1.MsgRegisterContractResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd8\x01\n\x16\x63om.injective.wasmx.v1B\x07TxProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.tx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\007TxProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' - _globals['_MSGEXECUTECONTRACTCOMPAT']._loaded_options = None - _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036wasmx/MsgExecuteContractCompat' - _globals['_MSGUPDATECONTRACT'].fields_by_name['admin_address']._loaded_options = None - _globals['_MSGUPDATECONTRACT'].fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' - _globals['_MSGUPDATECONTRACT']._loaded_options = None - _globals['_MSGUPDATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasmx/MsgUpdateContract' - _globals['_MSGACTIVATECONTRACT']._loaded_options = None - _globals['_MSGACTIVATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\031wasmx/MsgActivateContract' - _globals['_MSGDEACTIVATECONTRACT']._loaded_options = None - _globals['_MSGDEACTIVATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasmx/MsgDeactivateContract' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\025wasmx/MsgUpdateParams' - _globals['_MSGREGISTERCONTRACT'].fields_by_name['contract_registration_request']._loaded_options = None - _globals['_MSGREGISTERCONTRACT'].fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' - _globals['_MSGREGISTERCONTRACT']._loaded_options = None - _globals['_MSGREGISTERCONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\031wasmx/MsgRegisterContract' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_start=239 - _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_end=405 - _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_start=407 - _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_end=461 - _globals['_MSGUPDATECONTRACT']._serialized_start=464 - _globals['_MSGUPDATECONTRACT']._serialized_end=692 - _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_start=694 - _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_end=721 - _globals['_MSGACTIVATECONTRACT']._serialized_start=724 - _globals['_MSGACTIVATECONTRACT']._serialized_end=855 - _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_start=857 - _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_end=886 - _globals['_MSGDEACTIVATECONTRACT']._serialized_start=889 - _globals['_MSGDEACTIVATECONTRACT']._serialized_end=1024 - _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_start=1026 - _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_end=1057 - _globals['_MSGUPDATEPARAMS']._serialized_start=1060 - _globals['_MSGUPDATEPARAMS']._serialized_end=1233 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1235 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1260 - _globals['_MSGREGISTERCONTRACT']._serialized_start=1263 - _globals['_MSGREGISTERCONTRACT']._serialized_end=1474 - _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_start=1476 - _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_end=1505 - _globals['_MSG']._serialized_start=1508 - _globals['_MSG']._serialized_end=2213 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py deleted file mode 100644 index 5f2c8a9a..00000000 --- a/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py +++ /dev/null @@ -1,295 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.injective.wasmx.v1 import tx_pb2 as injective_dot_wasmx_dot_v1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the wasmx Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.UpdateRegistryContractParams = channel.unary_unary( - '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, - _registered_method=True) - self.ActivateRegistryContract = channel.unary_unary( - '/injective.wasmx.v1.Msg/ActivateRegistryContract', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, - _registered_method=True) - self.DeactivateRegistryContract = channel.unary_unary( - '/injective.wasmx.v1.Msg/DeactivateRegistryContract', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, - _registered_method=True) - self.ExecuteContractCompat = channel.unary_unary( - '/injective.wasmx.v1.Msg/ExecuteContractCompat', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, - _registered_method=True) - self.UpdateParams = channel.unary_unary( - '/injective.wasmx.v1.Msg/UpdateParams', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) - self.RegisterContract = channel.unary_unary( - '/injective.wasmx.v1.Msg/RegisterContract', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, - _registered_method=True) - - -class MsgServicer(object): - """Msg defines the wasmx Msg service. - """ - - def UpdateRegistryContractParams(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ActivateRegistryContract(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeactivateRegistryContract(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ExecuteContractCompat(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateParams(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RegisterContract(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'UpdateRegistryContractParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateRegistryContractParams, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.SerializeToString, - ), - 'ActivateRegistryContract': grpc.unary_unary_rpc_method_handler( - servicer.ActivateRegistryContract, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.SerializeToString, - ), - 'DeactivateRegistryContract': grpc.unary_unary_rpc_method_handler( - servicer.DeactivateRegistryContract, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.SerializeToString, - ), - 'ExecuteContractCompat': grpc.unary_unary_rpc_method_handler( - servicer.ExecuteContractCompat, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'RegisterContract': grpc.unary_unary_rpc_method_handler( - servicer.RegisterContract, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.wasmx.v1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.wasmx.v1.Msg', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the wasmx Msg service. - """ - - @staticmethod - def UpdateRegistryContractParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ActivateRegistryContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.wasmx.v1.Msg/ActivateRegistryContract', - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def DeactivateRegistryContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.wasmx.v1.Msg/DeactivateRegistryContract', - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ExecuteContractCompat(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.wasmx.v1.Msg/ExecuteContractCompat', - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.wasmx.v1.Msg/UpdateParams', - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def RegisterContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective.wasmx.v1.Msg/RegisterContract', - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, - injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py deleted file mode 100644 index 074c9fd6..00000000 --- a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: injective/wasmx/v1/wasmx.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 -from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/wasmx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\x1a!injective/wasmx/v1/proposal.proto\"\xed\x02\n\x06Params\x12\x30\n\x14is_execution_enabled\x18\x01 \x01(\x08R\x12isExecutionEnabled\x12\x38\n\x19max_begin_block_total_gas\x18\x02 \x01(\x04R\x15maxBeginBlockTotalGas\x12\x33\n\x16max_contract_gas_limit\x18\x03 \x01(\x04R\x13maxContractGasLimit\x12\"\n\rmin_gas_price\x18\x04 \x01(\x04R\x0bminGasPrice\x12\x86\x01\n\x18register_contract_access\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB,\xc8\xde\x1f\x00\xf2\xde\x1f\x1fyaml:\"register_contract_access\"\xa8\xe7\xb0*\x01R\x16registerContractAccess:\x15\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0cwasmx/Params\"\xb0\x02\n\x12RegisteredContract\x12\x1b\n\tgas_limit\x18\x01 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x02 \x01(\x04R\x08gasPrice\x12#\n\ris_executable\x18\x03 \x01(\x08R\x0cisExecutable\x12\x1d\n\x07\x63ode_id\x18\x04 \x01(\x04\x42\x04\xc8\xde\x1f\x01R\x06\x63odeId\x12)\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01R\x0c\x61\x64minAddress\x12-\n\x0fgranter_address\x18\x06 \x01(\tB\x04\xc8\xde\x1f\x01R\x0egranterAddress\x12<\n\tfund_mode\x18\x07 \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x08\x66undMode:\x04\xe8\xa0\x1f\x01\x42\xdb\x01\n\x16\x63om.injective.wasmx.v1B\nWasmxProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.wasmx_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\nWasmxProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' - _globals['_PARAMS'].fields_by_name['register_contract_access']._loaded_options = None - _globals['_PARAMS'].fields_by_name['register_contract_access']._serialized_options = b'\310\336\037\000\362\336\037\037yaml:\"register_contract_access\"\250\347\260*\001' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\014wasmx/Params' - _globals['_REGISTEREDCONTRACT'].fields_by_name['code_id']._loaded_options = None - _globals['_REGISTEREDCONTRACT'].fields_by_name['code_id']._serialized_options = b'\310\336\037\001' - _globals['_REGISTEREDCONTRACT'].fields_by_name['admin_address']._loaded_options = None - _globals['_REGISTEREDCONTRACT'].fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' - _globals['_REGISTEREDCONTRACT'].fields_by_name['granter_address']._loaded_options = None - _globals['_REGISTEREDCONTRACT'].fields_by_name['granter_address']._serialized_options = b'\310\336\037\001' - _globals['_REGISTEREDCONTRACT']._loaded_options = None - _globals['_REGISTEREDCONTRACT']._serialized_options = b'\350\240\037\001' - _globals['_PARAMS']._serialized_start=161 - _globals['_PARAMS']._serialized_end=526 - _globals['_REGISTEREDCONTRACT']._serialized_start=529 - _globals['_REGISTEREDCONTRACT']._serialized_end=833 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/pyinjective/proto/tendermint/abci/types_pb2.py b/pyinjective/proto/tendermint/abci/types_pb2.py deleted file mode 100644 index f097f91e..00000000 --- a/pyinjective/proto/tendermint/abci/types_pb2.py +++ /dev/null @@ -1,199 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/abci/types.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.tendermint.crypto import proof_pb2 as tendermint_dot_crypto_dot_proof__pb2 -from pyinjective.proto.tendermint.crypto import keys_pb2 as tendermint_dot_crypto_dot_keys__pb2 -from pyinjective.proto.tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 -from pyinjective.proto.tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from pyinjective.proto.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\"\xbf\t\n\x07Request\x12\x32\n\x04\x65\x63ho\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.RequestEchoH\x00R\x04\x65\x63ho\x12\x35\n\x05\x66lush\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.RequestFlushH\x00R\x05\x66lush\x12\x32\n\x04info\x18\x03 \x01(\x0b\x32\x1c.tendermint.abci.RequestInfoH\x00R\x04info\x12\x42\n\ninit_chain\x18\x05 \x01(\x0b\x32!.tendermint.abci.RequestInitChainH\x00R\tinitChain\x12\x35\n\x05query\x18\x06 \x01(\x0b\x32\x1d.tendermint.abci.RequestQueryH\x00R\x05query\x12<\n\x08\x63heck_tx\x18\x08 \x01(\x0b\x32\x1f.tendermint.abci.RequestCheckTxH\x00R\x07\x63heckTx\x12\x38\n\x06\x63ommit\x18\x0b \x01(\x0b\x32\x1e.tendermint.abci.RequestCommitH\x00R\x06\x63ommit\x12N\n\x0elist_snapshots\x18\x0c \x01(\x0b\x32%.tendermint.abci.RequestListSnapshotsH\x00R\rlistSnapshots\x12N\n\x0eoffer_snapshot\x18\r \x01(\x0b\x32%.tendermint.abci.RequestOfferSnapshotH\x00R\rofferSnapshot\x12[\n\x13load_snapshot_chunk\x18\x0e \x01(\x0b\x32).tendermint.abci.RequestLoadSnapshotChunkH\x00R\x11loadSnapshotChunk\x12^\n\x14\x61pply_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.RequestApplySnapshotChunkH\x00R\x12\x61pplySnapshotChunk\x12T\n\x10prepare_proposal\x18\x10 \x01(\x0b\x32\'.tendermint.abci.RequestPrepareProposalH\x00R\x0fprepareProposal\x12T\n\x10process_proposal\x18\x11 \x01(\x0b\x32\'.tendermint.abci.RequestProcessProposalH\x00R\x0fprocessProposal\x12\x45\n\x0b\x65xtend_vote\x18\x12 \x01(\x0b\x32\".tendermint.abci.RequestExtendVoteH\x00R\nextendVote\x12\x61\n\x15verify_vote_extension\x18\x13 \x01(\x0b\x32+.tendermint.abci.RequestVerifyVoteExtensionH\x00R\x13verifyVoteExtension\x12N\n\x0e\x66inalize_block\x18\x14 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockH\x00R\rfinalizeBlockB\x07\n\x05valueJ\x04\x08\x04\x10\x05J\x04\x08\x07\x10\x08J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\"\'\n\x0bRequestEcho\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message\"\x0e\n\x0cRequestFlush\"\x90\x01\n\x0bRequestInfo\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12#\n\rblock_version\x18\x02 \x01(\x04R\x0c\x62lockVersion\x12\x1f\n\x0bp2p_version\x18\x03 \x01(\x04R\np2pVersion\x12!\n\x0c\x61\x62\x63i_version\x18\x04 \x01(\tR\x0b\x61\x62\x63iVersion\"\xcc\x02\n\x10RequestInitChain\x12\x38\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x19\n\x08\x63hain_id\x18\x02 \x01(\tR\x07\x63hainId\x12L\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x0f\x63onsensusParams\x12\x46\n\nvalidators\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\nvalidators\x12&\n\x0f\x61pp_state_bytes\x18\x05 \x01(\x0cR\rappStateBytes\x12%\n\x0einitial_height\x18\x06 \x01(\x03R\rinitialHeight\"d\n\x0cRequestQuery\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04path\x18\x02 \x01(\tR\x04path\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x14\n\x05prove\x18\x04 \x01(\x08R\x05prove\"R\n\x0eRequestCheckTx\x12\x0e\n\x02tx\x18\x01 \x01(\x0cR\x02tx\x12\x30\n\x04type\x18\x02 \x01(\x0e\x32\x1c.tendermint.abci.CheckTxTypeR\x04type\"\x0f\n\rRequestCommit\"\x16\n\x14RequestListSnapshots\"h\n\x14RequestOfferSnapshot\x12\x35\n\x08snapshot\x18\x01 \x01(\x0b\x32\x19.tendermint.abci.SnapshotR\x08snapshot\x12\x19\n\x08\x61pp_hash\x18\x02 \x01(\x0cR\x07\x61ppHash\"`\n\x18RequestLoadSnapshotChunk\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x14\n\x05\x63hunk\x18\x03 \x01(\rR\x05\x63hunk\"_\n\x19RequestApplySnapshotChunk\x12\x14\n\x05index\x18\x01 \x01(\rR\x05index\x12\x14\n\x05\x63hunk\x18\x02 \x01(\x0cR\x05\x63hunk\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\"\x98\x03\n\x16RequestPrepareProposal\x12 \n\x0cmax_tx_bytes\x18\x01 \x01(\x03R\nmaxTxBytes\x12\x10\n\x03txs\x18\x02 \x03(\x0cR\x03txs\x12U\n\x11local_last_commit\x18\x03 \x01(\x0b\x32#.tendermint.abci.ExtendedCommitInfoB\x04\xc8\xde\x1f\x00R\x0flocalLastCommit\x12\x44\n\x0bmisbehavior\x18\x04 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x88\x03\n\x16RequestProcessProposal\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\x12S\n\x14proposed_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x12proposedLastCommit\x12\x44\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x83\x03\n\x11RequestExtendVote\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x10\n\x03txs\x18\x04 \x03(\x0cR\x03txs\x12S\n\x14proposed_last_commit\x18\x05 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x12proposedLastCommit\x12\x44\n\x0bmisbehavior\x18\x06 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x9c\x01\n\x1aRequestVerifyVoteExtension\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12%\n\x0evote_extension\x18\x04 \x01(\x0cR\rvoteExtension\"\x84\x03\n\x14RequestFinalizeBlock\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\x12Q\n\x13\x64\x65\x63ided_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x11\x64\x65\x63idedLastCommit\x12\x44\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x94\n\n\x08Response\x12\x42\n\texception\x18\x01 \x01(\x0b\x32\".tendermint.abci.ResponseExceptionH\x00R\texception\x12\x33\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00R\x04\x65\x63ho\x12\x36\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00R\x05\x66lush\x12\x33\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00R\x04info\x12\x43\n\ninit_chain\x18\x06 \x01(\x0b\x32\".tendermint.abci.ResponseInitChainH\x00R\tinitChain\x12\x36\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00R\x05query\x12=\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00R\x07\x63heckTx\x12\x39\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00R\x06\x63ommit\x12O\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00R\rlistSnapshots\x12O\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00R\rofferSnapshot\x12\\\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00R\x11loadSnapshotChunk\x12_\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00R\x12\x61pplySnapshotChunk\x12U\n\x10prepare_proposal\x18\x11 \x01(\x0b\x32(.tendermint.abci.ResponsePrepareProposalH\x00R\x0fprepareProposal\x12U\n\x10process_proposal\x18\x12 \x01(\x0b\x32(.tendermint.abci.ResponseProcessProposalH\x00R\x0fprocessProposal\x12\x46\n\x0b\x65xtend_vote\x18\x13 \x01(\x0b\x32#.tendermint.abci.ResponseExtendVoteH\x00R\nextendVote\x12\x62\n\x15verify_vote_extension\x18\x14 \x01(\x0b\x32,.tendermint.abci.ResponseVerifyVoteExtensionH\x00R\x13verifyVoteExtension\x12O\n\x0e\x66inalize_block\x18\x15 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockH\x00R\rfinalizeBlockB\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\x14\n\x05\x65rror\x18\x01 \x01(\tR\x05\x65rror\"(\n\x0cResponseEcho\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message\"\x0f\n\rResponseFlush\"\xb8\x01\n\x0cResponseInfo\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\tR\x04\x64\x61ta\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12\x1f\n\x0b\x61pp_version\x18\x03 \x01(\x04R\nappVersion\x12*\n\x11last_block_height\x18\x04 \x01(\x03R\x0flastBlockHeight\x12-\n\x13last_block_app_hash\x18\x05 \x01(\x0cR\x10lastBlockAppHash\"\xc4\x01\n\x11ResponseInitChain\x12L\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x0f\x63onsensusParams\x12\x46\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\nvalidators\x12\x19\n\x08\x61pp_hash\x18\x03 \x01(\x0cR\x07\x61ppHash\"\xf7\x01\n\rResponseQuery\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x14\n\x05index\x18\x05 \x01(\x03R\x05index\x12\x10\n\x03key\x18\x06 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x07 \x01(\x0cR\x05value\x12\x38\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOpsR\x08proofOps\x12\x16\n\x06height\x18\t \x01(\x03R\x06height\x12\x1c\n\tcodespace\x18\n \x01(\tR\tcodespace\"\xaa\x02\n\x0fResponseCheckTx\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12H\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12\x1c\n\tcodespace\x18\x08 \x01(\tR\tcodespaceJ\x04\x08\t\x10\x0cR\x06senderR\x08priorityR\rmempool_error\"A\n\x0eResponseCommit\x12#\n\rretain_height\x18\x03 \x01(\x03R\x0cretainHeightJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"P\n\x15ResponseListSnapshots\x12\x37\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.SnapshotR\tsnapshots\"\xbe\x01\n\x15ResponseOfferSnapshot\x12\x45\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.ResultR\x06result\"^\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\"1\n\x19ResponseLoadSnapshotChunk\x12\x14\n\x05\x63hunk\x18\x01 \x01(\x0cR\x05\x63hunk\"\x98\x02\n\x1aResponseApplySnapshotChunk\x12J\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.ResultR\x06result\x12%\n\x0erefetch_chunks\x18\x02 \x03(\rR\rrefetchChunks\x12%\n\x0ereject_senders\x18\x03 \x03(\tR\rrejectSenders\"`\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\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\"\xa1\x01\n\x17ResponseProcessProposal\x12O\n\x06status\x18\x01 \x01(\x0e\x32\x37.tendermint.abci.ResponseProcessProposal.ProposalStatusR\x06status\"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%\n\x0evote_extension\x18\x01 \x01(\x0cR\rvoteExtension\"\xa5\x01\n\x1bResponseVerifyVoteExtension\x12Q\n\x06status\x18\x01 \x01(\x0e\x32\x39.tendermint.abci.ResponseVerifyVoteExtension.VerifyStatusR\x06status\"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\"\xea\x02\n\x15ResponseFinalizeBlock\x12H\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12<\n\ntx_results\x18\x02 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResultR\ttxResults\x12S\n\x11validator_updates\x18\x03 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\x10validatorUpdates\x12Y\n\x17\x63onsensus_param_updates\x18\x04 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x15\x63onsensusParamUpdates\x12\x19\n\x08\x61pp_hash\x18\x05 \x01(\x0cR\x07\x61ppHash\"Y\n\nCommitInfo\x12\x14\n\x05round\x18\x01 \x01(\x05R\x05round\x12\x35\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00R\x05votes\"i\n\x12\x45xtendedCommitInfo\x12\x14\n\x05round\x18\x01 \x01(\x05R\x05round\x12=\n\x05votes\x18\x02 \x03(\x0b\x32!.tendermint.abci.ExtendedVoteInfoB\x04\xc8\xde\x1f\x00R\x05votes\"z\n\x05\x45vent\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12]\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitemptyR\nattributes\"N\n\x0e\x45ventAttribute\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x14\n\x05index\x18\x03 \x01(\x08R\x05index\"\x80\x02\n\x0c\x45xecTxResult\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12H\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12\x1c\n\tcodespace\x18\x08 \x01(\tR\tcodespace\"\x85\x01\n\x08TxResult\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05index\x18\x02 \x01(\rR\x05index\x12\x0e\n\x02tx\x18\x03 \x01(\x0cR\x02tx\x12;\n\x06result\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ExecTxResultB\x04\xc8\xde\x1f\x00R\x06result\";\n\tValidator\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0cR\x07\x61\x64\x64ress\x12\x14\n\x05power\x18\x03 \x01(\x03R\x05power\"d\n\x0fValidatorUpdate\x12;\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12\x14\n\x05power\x18\x02 \x01(\x03R\x05power\"\x93\x01\n\x08VoteInfo\x12>\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12\x41\n\rblock_id_flag\x18\x03 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlagJ\x04\x08\x02\x10\x03\"\xf3\x01\n\x10\x45xtendedVoteInfo\x12>\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12%\n\x0evote_extension\x18\x03 \x01(\x0cR\rvoteExtension\x12/\n\x13\x65xtension_signature\x18\x04 \x01(\x0cR\x12\x65xtensionSignature\x12\x41\n\rblock_id_flag\x18\x05 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlagJ\x04\x08\x02\x10\x03\"\x83\x02\n\x0bMisbehavior\x12\x34\n\x04type\x18\x01 \x01(\x0e\x32 .tendermint.abci.MisbehaviorTypeR\x04type\x12>\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12,\n\x12total_voting_power\x18\x05 \x01(\x03R\x10totalVotingPower\"\x82\x01\n\x08Snapshot\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x16\n\x06\x63hunks\x18\x03 \x01(\rR\x06\x63hunks\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x1a\n\x08metadata\x18\x05 \x01(\x0cR\x08metadata*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\xa7\x01\n\x13\x63om.tendermint.abciB\nTypesProtoP\x01Z\'github.com/cometbft/cometbft/abci/types\xa2\x02\x03TAX\xaa\x02\x0fTendermint.Abci\xca\x02\x0fTendermint\\Abci\xe2\x02\x1bTendermint\\Abci\\GPBMetadata\xea\x02\x10Tendermint::Abcib\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.abci.types_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.tendermint.abciB\nTypesProtoP\001Z\'github.com/cometbft/cometbft/abci/types\242\002\003TAX\252\002\017Tendermint.Abci\312\002\017Tendermint\\Abci\342\002\033Tendermint\\Abci\\GPBMetadata\352\002\020Tendermint::Abci' - _globals['_CHECKTXTYPE'].values_by_name["NEW"]._loaded_options = None - _globals['_CHECKTXTYPE'].values_by_name["NEW"]._serialized_options = b'\212\235 \003New' - _globals['_CHECKTXTYPE'].values_by_name["RECHECK"]._loaded_options = None - _globals['_CHECKTXTYPE'].values_by_name["RECHECK"]._serialized_options = b'\212\235 \007Recheck' - _globals['_REQUESTINITCHAIN'].fields_by_name['time']._loaded_options = None - _globals['_REQUESTINITCHAIN'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_REQUESTINITCHAIN'].fields_by_name['validators']._loaded_options = None - _globals['_REQUESTINITCHAIN'].fields_by_name['validators']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['local_last_commit']._loaded_options = None - _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['local_last_commit']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['misbehavior']._loaded_options = None - _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['time']._loaded_options = None - _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['proposed_last_commit']._loaded_options = None - _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['proposed_last_commit']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['misbehavior']._loaded_options = None - _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['time']._loaded_options = None - _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_REQUESTEXTENDVOTE'].fields_by_name['time']._loaded_options = None - _globals['_REQUESTEXTENDVOTE'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_REQUESTEXTENDVOTE'].fields_by_name['proposed_last_commit']._loaded_options = None - _globals['_REQUESTEXTENDVOTE'].fields_by_name['proposed_last_commit']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTEXTENDVOTE'].fields_by_name['misbehavior']._loaded_options = None - _globals['_REQUESTEXTENDVOTE'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['decided_last_commit']._loaded_options = None - _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['decided_last_commit']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['misbehavior']._loaded_options = None - _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['time']._loaded_options = None - _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_RESPONSEINITCHAIN'].fields_by_name['validators']._loaded_options = None - _globals['_RESPONSEINITCHAIN'].fields_by_name['validators']._serialized_options = b'\310\336\037\000' - _globals['_RESPONSECHECKTX'].fields_by_name['events']._loaded_options = None - _globals['_RESPONSECHECKTX'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' - _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['events']._loaded_options = None - _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' - _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['validator_updates']._loaded_options = None - _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['validator_updates']._serialized_options = b'\310\336\037\000' - _globals['_COMMITINFO'].fields_by_name['votes']._loaded_options = None - _globals['_COMMITINFO'].fields_by_name['votes']._serialized_options = b'\310\336\037\000' - _globals['_EXTENDEDCOMMITINFO'].fields_by_name['votes']._loaded_options = None - _globals['_EXTENDEDCOMMITINFO'].fields_by_name['votes']._serialized_options = b'\310\336\037\000' - _globals['_EVENT'].fields_by_name['attributes']._loaded_options = None - _globals['_EVENT'].fields_by_name['attributes']._serialized_options = b'\310\336\037\000\352\336\037\024attributes,omitempty' - _globals['_EXECTXRESULT'].fields_by_name['events']._loaded_options = None - _globals['_EXECTXRESULT'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' - _globals['_TXRESULT'].fields_by_name['result']._loaded_options = None - _globals['_TXRESULT'].fields_by_name['result']._serialized_options = b'\310\336\037\000' - _globals['_VALIDATORUPDATE'].fields_by_name['pub_key']._loaded_options = None - _globals['_VALIDATORUPDATE'].fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' - _globals['_VOTEINFO'].fields_by_name['validator']._loaded_options = None - _globals['_VOTEINFO'].fields_by_name['validator']._serialized_options = b'\310\336\037\000' - _globals['_EXTENDEDVOTEINFO'].fields_by_name['validator']._loaded_options = None - _globals['_EXTENDEDVOTEINFO'].fields_by_name['validator']._serialized_options = b'\310\336\037\000' - _globals['_MISBEHAVIOR'].fields_by_name['validator']._loaded_options = None - _globals['_MISBEHAVIOR'].fields_by_name['validator']._serialized_options = b'\310\336\037\000' - _globals['_MISBEHAVIOR'].fields_by_name['time']._loaded_options = None - _globals['_MISBEHAVIOR'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_CHECKTXTYPE']._serialized_start=9832 - _globals['_CHECKTXTYPE']._serialized_end=9889 - _globals['_MISBEHAVIORTYPE']._serialized_start=9891 - _globals['_MISBEHAVIORTYPE']._serialized_end=9966 - _globals['_REQUEST']._serialized_start=230 - _globals['_REQUEST']._serialized_end=1445 - _globals['_REQUESTECHO']._serialized_start=1447 - _globals['_REQUESTECHO']._serialized_end=1486 - _globals['_REQUESTFLUSH']._serialized_start=1488 - _globals['_REQUESTFLUSH']._serialized_end=1502 - _globals['_REQUESTINFO']._serialized_start=1505 - _globals['_REQUESTINFO']._serialized_end=1649 - _globals['_REQUESTINITCHAIN']._serialized_start=1652 - _globals['_REQUESTINITCHAIN']._serialized_end=1984 - _globals['_REQUESTQUERY']._serialized_start=1986 - _globals['_REQUESTQUERY']._serialized_end=2086 - _globals['_REQUESTCHECKTX']._serialized_start=2088 - _globals['_REQUESTCHECKTX']._serialized_end=2170 - _globals['_REQUESTCOMMIT']._serialized_start=2172 - _globals['_REQUESTCOMMIT']._serialized_end=2187 - _globals['_REQUESTLISTSNAPSHOTS']._serialized_start=2189 - _globals['_REQUESTLISTSNAPSHOTS']._serialized_end=2211 - _globals['_REQUESTOFFERSNAPSHOT']._serialized_start=2213 - _globals['_REQUESTOFFERSNAPSHOT']._serialized_end=2317 - _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_start=2319 - _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_end=2415 - _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_start=2417 - _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_end=2512 - _globals['_REQUESTPREPAREPROPOSAL']._serialized_start=2515 - _globals['_REQUESTPREPAREPROPOSAL']._serialized_end=2923 - _globals['_REQUESTPROCESSPROPOSAL']._serialized_start=2926 - _globals['_REQUESTPROCESSPROPOSAL']._serialized_end=3318 - _globals['_REQUESTEXTENDVOTE']._serialized_start=3321 - _globals['_REQUESTEXTENDVOTE']._serialized_end=3708 - _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_start=3711 - _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_end=3867 - _globals['_REQUESTFINALIZEBLOCK']._serialized_start=3870 - _globals['_REQUESTFINALIZEBLOCK']._serialized_end=4258 - _globals['_RESPONSE']._serialized_start=4261 - _globals['_RESPONSE']._serialized_end=5561 - _globals['_RESPONSEEXCEPTION']._serialized_start=5563 - _globals['_RESPONSEEXCEPTION']._serialized_end=5604 - _globals['_RESPONSEECHO']._serialized_start=5606 - _globals['_RESPONSEECHO']._serialized_end=5646 - _globals['_RESPONSEFLUSH']._serialized_start=5648 - _globals['_RESPONSEFLUSH']._serialized_end=5663 - _globals['_RESPONSEINFO']._serialized_start=5666 - _globals['_RESPONSEINFO']._serialized_end=5850 - _globals['_RESPONSEINITCHAIN']._serialized_start=5853 - _globals['_RESPONSEINITCHAIN']._serialized_end=6049 - _globals['_RESPONSEQUERY']._serialized_start=6052 - _globals['_RESPONSEQUERY']._serialized_end=6299 - _globals['_RESPONSECHECKTX']._serialized_start=6302 - _globals['_RESPONSECHECKTX']._serialized_end=6600 - _globals['_RESPONSECOMMIT']._serialized_start=6602 - _globals['_RESPONSECOMMIT']._serialized_end=6667 - _globals['_RESPONSELISTSNAPSHOTS']._serialized_start=6669 - _globals['_RESPONSELISTSNAPSHOTS']._serialized_end=6749 - _globals['_RESPONSEOFFERSNAPSHOT']._serialized_start=6752 - _globals['_RESPONSEOFFERSNAPSHOT']._serialized_end=6942 - _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_start=6848 - _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_end=6942 - _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_start=6944 - _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_end=6993 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_start=6996 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_end=7276 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_start=7180 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_end=7276 - _globals['_RESPONSEPREPAREPROPOSAL']._serialized_start=7278 - _globals['_RESPONSEPREPAREPROPOSAL']._serialized_end=7321 - _globals['_RESPONSEPROCESSPROPOSAL']._serialized_start=7324 - _globals['_RESPONSEPROCESSPROPOSAL']._serialized_end=7485 - _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_start=7432 - _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_end=7485 - _globals['_RESPONSEEXTENDVOTE']._serialized_start=7487 - _globals['_RESPONSEEXTENDVOTE']._serialized_end=7546 - _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_start=7549 - _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_end=7714 - _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_start=7663 - _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_end=7714 - _globals['_RESPONSEFINALIZEBLOCK']._serialized_start=7717 - _globals['_RESPONSEFINALIZEBLOCK']._serialized_end=8079 - _globals['_COMMITINFO']._serialized_start=8081 - _globals['_COMMITINFO']._serialized_end=8170 - _globals['_EXTENDEDCOMMITINFO']._serialized_start=8172 - _globals['_EXTENDEDCOMMITINFO']._serialized_end=8277 - _globals['_EVENT']._serialized_start=8279 - _globals['_EVENT']._serialized_end=8401 - _globals['_EVENTATTRIBUTE']._serialized_start=8403 - _globals['_EVENTATTRIBUTE']._serialized_end=8481 - _globals['_EXECTXRESULT']._serialized_start=8484 - _globals['_EXECTXRESULT']._serialized_end=8740 - _globals['_TXRESULT']._serialized_start=8743 - _globals['_TXRESULT']._serialized_end=8876 - _globals['_VALIDATOR']._serialized_start=8878 - _globals['_VALIDATOR']._serialized_end=8937 - _globals['_VALIDATORUPDATE']._serialized_start=8939 - _globals['_VALIDATORUPDATE']._serialized_end=9039 - _globals['_VOTEINFO']._serialized_start=9042 - _globals['_VOTEINFO']._serialized_end=9189 - _globals['_EXTENDEDVOTEINFO']._serialized_start=9192 - _globals['_EXTENDEDVOTEINFO']._serialized_end=9435 - _globals['_MISBEHAVIOR']._serialized_start=9438 - _globals['_MISBEHAVIOR']._serialized_end=9697 - _globals['_SNAPSHOT']._serialized_start=9700 - _globals['_SNAPSHOT']._serialized_end=9830 - _globals['_ABCI']._serialized_start=9969 - _globals['_ABCI']._serialized_end=11406 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/abci/types_pb2_grpc.py b/pyinjective/proto/tendermint/abci/types_pb2_grpc.py deleted file mode 100644 index d18cc0b2..00000000 --- a/pyinjective/proto/tendermint/abci/types_pb2_grpc.py +++ /dev/null @@ -1,731 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from pyinjective.proto.tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 - - -class ABCIStub(object): - """NOTE: When using custom types, mind the warnings. - https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Echo = channel.unary_unary( - '/tendermint.abci.ABCI/Echo', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestEcho.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseEcho.FromString, - _registered_method=True) - self.Flush = channel.unary_unary( - '/tendermint.abci.ABCI/Flush', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFlush.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFlush.FromString, - _registered_method=True) - self.Info = channel.unary_unary( - '/tendermint.abci.ABCI/Info', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.FromString, - _registered_method=True) - self.CheckTx = channel.unary_unary( - '/tendermint.abci.ABCI/CheckTx', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, - _registered_method=True) - self.Query = channel.unary_unary( - '/tendermint.abci.ABCI/Query', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, - _registered_method=True) - self.Commit = channel.unary_unary( - '/tendermint.abci.ABCI/Commit', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, - _registered_method=True) - self.InitChain = channel.unary_unary( - '/tendermint.abci.ABCI/InitChain', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, - _registered_method=True) - self.ListSnapshots = channel.unary_unary( - '/tendermint.abci.ABCI/ListSnapshots', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, - _registered_method=True) - self.OfferSnapshot = channel.unary_unary( - '/tendermint.abci.ABCI/OfferSnapshot', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, - _registered_method=True) - self.LoadSnapshotChunk = channel.unary_unary( - '/tendermint.abci.ABCI/LoadSnapshotChunk', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, - _registered_method=True) - self.ApplySnapshotChunk = channel.unary_unary( - '/tendermint.abci.ABCI/ApplySnapshotChunk', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, - _registered_method=True) - self.PrepareProposal = channel.unary_unary( - '/tendermint.abci.ABCI/PrepareProposal', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, - _registered_method=True) - self.ProcessProposal = channel.unary_unary( - '/tendermint.abci.ABCI/ProcessProposal', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, - _registered_method=True) - self.ExtendVote = channel.unary_unary( - '/tendermint.abci.ABCI/ExtendVote', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.FromString, - _registered_method=True) - self.VerifyVoteExtension = channel.unary_unary( - '/tendermint.abci.ABCI/VerifyVoteExtension', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.FromString, - _registered_method=True) - self.FinalizeBlock = channel.unary_unary( - '/tendermint.abci.ABCI/FinalizeBlock', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.FromString, - _registered_method=True) - - -class ABCIServicer(object): - """NOTE: When using custom types, mind the warnings. - https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues - - """ - - def Echo(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Flush(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Info(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CheckTx(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Query(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Commit(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def InitChain(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListSnapshots(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def OfferSnapshot(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def LoadSnapshotChunk(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ApplySnapshotChunk(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PrepareProposal(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ProcessProposal(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ExtendVote(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def VerifyVoteExtension(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def FinalizeBlock(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_ABCIServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Echo': grpc.unary_unary_rpc_method_handler( - servicer.Echo, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestEcho.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseEcho.SerializeToString, - ), - 'Flush': grpc.unary_unary_rpc_method_handler( - servicer.Flush, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestFlush.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseFlush.SerializeToString, - ), - 'Info': grpc.unary_unary_rpc_method_handler( - servicer.Info, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.SerializeToString, - ), - 'CheckTx': grpc.unary_unary_rpc_method_handler( - servicer.CheckTx, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.SerializeToString, - ), - 'Query': grpc.unary_unary_rpc_method_handler( - servicer.Query, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestQuery.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseQuery.SerializeToString, - ), - 'Commit': grpc.unary_unary_rpc_method_handler( - servicer.Commit, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestCommit.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseCommit.SerializeToString, - ), - 'InitChain': grpc.unary_unary_rpc_method_handler( - servicer.InitChain, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.SerializeToString, - ), - 'ListSnapshots': grpc.unary_unary_rpc_method_handler( - servicer.ListSnapshots, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.SerializeToString, - ), - 'OfferSnapshot': grpc.unary_unary_rpc_method_handler( - servicer.OfferSnapshot, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.SerializeToString, - ), - 'LoadSnapshotChunk': grpc.unary_unary_rpc_method_handler( - servicer.LoadSnapshotChunk, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.SerializeToString, - ), - 'ApplySnapshotChunk': grpc.unary_unary_rpc_method_handler( - servicer.ApplySnapshotChunk, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.SerializeToString, - ), - 'PrepareProposal': grpc.unary_unary_rpc_method_handler( - servicer.PrepareProposal, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.SerializeToString, - ), - 'ProcessProposal': grpc.unary_unary_rpc_method_handler( - servicer.ProcessProposal, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.SerializeToString, - ), - 'ExtendVote': grpc.unary_unary_rpc_method_handler( - servicer.ExtendVote, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.SerializeToString, - ), - 'VerifyVoteExtension': grpc.unary_unary_rpc_method_handler( - servicer.VerifyVoteExtension, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.SerializeToString, - ), - 'FinalizeBlock': grpc.unary_unary_rpc_method_handler( - servicer.FinalizeBlock, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'tendermint.abci.ABCI', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('tendermint.abci.ABCI', rpc_method_handlers) - - - # This class is part of an EXPERIMENTAL API. -class ABCI(object): - """NOTE: When using custom types, mind the warnings. - https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues - - """ - - @staticmethod - def Echo(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.abci.ABCI/Echo', - tendermint_dot_abci_dot_types__pb2.RequestEcho.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseEcho.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Flush(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.abci.ABCI/Flush', - tendermint_dot_abci_dot_types__pb2.RequestFlush.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseFlush.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Info(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.abci.ABCI/Info', - tendermint_dot_abci_dot_types__pb2.RequestInfo.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseInfo.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def CheckTx(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.abci.ABCI/CheckTx', - tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Query(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.abci.ABCI/Query', - tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def Commit(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.abci.ABCI/Commit', - tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def InitChain(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.abci.ABCI/InitChain', - tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ListSnapshots(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.abci.ABCI/ListSnapshots', - tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def OfferSnapshot(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.abci.ABCI/OfferSnapshot', - tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def LoadSnapshotChunk(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.abci.ABCI/LoadSnapshotChunk', - tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ApplySnapshotChunk(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.abci.ABCI/ApplySnapshotChunk', - tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def PrepareProposal(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.abci.ABCI/PrepareProposal', - tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ProcessProposal(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.abci.ABCI/ProcessProposal', - tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def ExtendVote(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.abci.ABCI/ExtendVote', - tendermint_dot_abci_dot_types__pb2.RequestExtendVote.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def VerifyVoteExtension(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.abci.ABCI/VerifyVoteExtension', - tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - - @staticmethod - def FinalizeBlock(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.abci.ABCI/FinalizeBlock', - tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) diff --git a/pyinjective/proto/tendermint/crypto/keys_pb2.py b/pyinjective/proto/tendermint/crypto/keys_pb2.py deleted file mode 100644 index 6d1762da..00000000 --- a/pyinjective/proto/tendermint/crypto/keys_pb2.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/crypto/keys.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/crypto/keys.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto\"X\n\tPublicKey\x12\x1a\n\x07\x65\x64\x32\x35\x35\x31\x39\x18\x01 \x01(\x0cH\x00R\x07\x65\x64\x32\x35\x35\x31\x39\x12\x1e\n\tsecp256k1\x18\x02 \x01(\x0cH\x00R\tsecp256k1:\x08\xe8\xa0\x1f\x01\xe8\xa1\x1f\x01\x42\x05\n\x03sumB\xbd\x01\n\x15\x63om.tendermint.cryptoB\tKeysProtoP\x01Z4github.com/cometbft/cometbft/proto/tendermint/crypto\xa2\x02\x03TCX\xaa\x02\x11Tendermint.Crypto\xca\x02\x11Tendermint\\Crypto\xe2\x02\x1dTendermint\\Crypto\\GPBMetadata\xea\x02\x12Tendermint::Cryptob\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.keys_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.tendermint.cryptoB\tKeysProtoP\001Z4github.com/cometbft/cometbft/proto/tendermint/crypto\242\002\003TCX\252\002\021Tendermint.Crypto\312\002\021Tendermint\\Crypto\342\002\035Tendermint\\Crypto\\GPBMetadata\352\002\022Tendermint::Crypto' - _globals['_PUBLICKEY']._loaded_options = None - _globals['_PUBLICKEY']._serialized_options = b'\350\240\037\001\350\241\037\001' - _globals['_PUBLICKEY']._serialized_start=73 - _globals['_PUBLICKEY']._serialized_end=161 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/crypto/keys_pb2_grpc.py b/pyinjective/proto/tendermint/crypto/keys_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/tendermint/crypto/keys_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/crypto/proof_pb2.py b/pyinjective/proto/tendermint/crypto/proof_pb2.py deleted file mode 100644 index 5681a5e2..00000000 --- a/pyinjective/proto/tendermint/crypto/proof_pb2.py +++ /dev/null @@ -1,38 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/crypto/proof.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/crypto/proof.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto\"f\n\x05Proof\x12\x14\n\x05total\x18\x01 \x01(\x03R\x05total\x12\x14\n\x05index\x18\x02 \x01(\x03R\x05index\x12\x1b\n\tleaf_hash\x18\x03 \x01(\x0cR\x08leafHash\x12\x14\n\x05\x61unts\x18\x04 \x03(\x0cR\x05\x61unts\"K\n\x07ValueOp\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12.\n\x05proof\x18\x02 \x01(\x0b\x32\x18.tendermint.crypto.ProofR\x05proof\"J\n\x08\x44ominoOp\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05input\x18\x02 \x01(\tR\x05input\x12\x16\n\x06output\x18\x03 \x01(\tR\x06output\"C\n\x07ProofOp\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x10\n\x03key\x18\x02 \x01(\x0cR\x03key\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\">\n\x08ProofOps\x12\x32\n\x03ops\x18\x01 \x03(\x0b\x32\x1a.tendermint.crypto.ProofOpB\x04\xc8\xde\x1f\x00R\x03opsB\xbe\x01\n\x15\x63om.tendermint.cryptoB\nProofProtoP\x01Z4github.com/cometbft/cometbft/proto/tendermint/crypto\xa2\x02\x03TCX\xaa\x02\x11Tendermint.Crypto\xca\x02\x11Tendermint\\Crypto\xe2\x02\x1dTendermint\\Crypto\\GPBMetadata\xea\x02\x12Tendermint::Cryptob\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.proof_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.tendermint.cryptoB\nProofProtoP\001Z4github.com/cometbft/cometbft/proto/tendermint/crypto\242\002\003TCX\252\002\021Tendermint.Crypto\312\002\021Tendermint\\Crypto\342\002\035Tendermint\\Crypto\\GPBMetadata\352\002\022Tendermint::Crypto' - _globals['_PROOFOPS'].fields_by_name['ops']._loaded_options = None - _globals['_PROOFOPS'].fields_by_name['ops']._serialized_options = b'\310\336\037\000' - _globals['_PROOF']._serialized_start=74 - _globals['_PROOF']._serialized_end=176 - _globals['_VALUEOP']._serialized_start=178 - _globals['_VALUEOP']._serialized_end=253 - _globals['_DOMINOOP']._serialized_start=255 - _globals['_DOMINOOP']._serialized_end=329 - _globals['_PROOFOP']._serialized_start=331 - _globals['_PROOFOP']._serialized_end=398 - _globals['_PROOFOPS']._serialized_start=400 - _globals['_PROOFOPS']._serialized_end=462 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/crypto/proof_pb2_grpc.py b/pyinjective/proto/tendermint/crypto/proof_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/tendermint/crypto/proof_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/libs/bits/types_pb2.py b/pyinjective/proto/tendermint/libs/bits/types_pb2.py deleted file mode 100644 index 207b36a4..00000000 --- a/pyinjective/proto/tendermint/libs/bits/types_pb2.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/libs/bits/types.proto -# Protobuf Python Version: 5.26.1 -"""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/libs/bits/types.proto\x12\x14tendermint.libs.bits\"4\n\x08\x42itArray\x12\x12\n\x04\x62its\x18\x01 \x01(\x03R\x04\x62its\x12\x14\n\x05\x65lems\x18\x02 \x03(\x04R\x05\x65lemsB\xd1\x01\n\x18\x63om.tendermint.libs.bitsB\nTypesProtoP\x01Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits\xa2\x02\x03TLB\xaa\x02\x14Tendermint.Libs.Bits\xca\x02\x14Tendermint\\Libs\\Bits\xe2\x02 Tendermint\\Libs\\Bits\\GPBMetadata\xea\x02\x16Tendermint::Libs::Bitsb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.libs.bits.types_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.tendermint.libs.bitsB\nTypesProtoP\001Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits\242\002\003TLB\252\002\024Tendermint.Libs.Bits\312\002\024Tendermint\\Libs\\Bits\342\002 Tendermint\\Libs\\Bits\\GPBMetadata\352\002\026Tendermint::Libs::Bits' - _globals['_BITARRAY']._serialized_start=58 - _globals['_BITARRAY']._serialized_end=110 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/libs/bits/types_pb2_grpc.py b/pyinjective/proto/tendermint/libs/bits/types_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/tendermint/libs/bits/types_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/p2p/types_pb2.py b/pyinjective/proto/tendermint/p2p/types_pb2.py deleted file mode 100644 index 585eff1d..00000000 --- a/pyinjective/proto/tendermint/p2p/types_pb2.py +++ /dev/null @@ -1,48 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/p2p/types.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1atendermint/p2p/types.proto\x12\x0etendermint.p2p\x1a\x14gogoproto/gogo.proto\"P\n\nNetAddress\x12\x16\n\x02id\x18\x01 \x01(\tB\x06\xe2\xde\x1f\x02IDR\x02id\x12\x16\n\x02ip\x18\x02 \x01(\tB\x06\xe2\xde\x1f\x02IPR\x02ip\x12\x12\n\x04port\x18\x03 \x01(\rR\x04port\"T\n\x0fProtocolVersion\x12\x19\n\x03p2p\x18\x01 \x01(\x04\x42\x07\xe2\xde\x1f\x03P2PR\x03p2p\x12\x14\n\x05\x62lock\x18\x02 \x01(\x04R\x05\x62lock\x12\x10\n\x03\x61pp\x18\x03 \x01(\x04R\x03\x61pp\"\xeb\x02\n\x0f\x44\x65\x66\x61ultNodeInfo\x12P\n\x10protocol_version\x18\x01 \x01(\x0b\x32\x1f.tendermint.p2p.ProtocolVersionB\x04\xc8\xde\x1f\x00R\x0fprotocolVersion\x12\x39\n\x0f\x64\x65\x66\x61ult_node_id\x18\x02 \x01(\tB\x11\xe2\xde\x1f\rDefaultNodeIDR\rdefaultNodeId\x12\x1f\n\x0blisten_addr\x18\x03 \x01(\tR\nlistenAddr\x12\x18\n\x07network\x18\x04 \x01(\tR\x07network\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12\x1a\n\x08\x63hannels\x18\x06 \x01(\x0cR\x08\x63hannels\x12\x18\n\x07moniker\x18\x07 \x01(\tR\x07moniker\x12@\n\x05other\x18\x08 \x01(\x0b\x32$.tendermint.p2p.DefaultNodeInfoOtherB\x04\xc8\xde\x1f\x00R\x05other\"b\n\x14\x44\x65\x66\x61ultNodeInfoOther\x12\x19\n\x08tx_index\x18\x01 \x01(\tR\x07txIndex\x12/\n\x0brpc_address\x18\x02 \x01(\tB\x0e\xe2\xde\x1f\nRPCAddressR\nrpcAddressB\xac\x01\n\x12\x63om.tendermint.p2pB\nTypesProtoP\x01Z1github.com/cometbft/cometbft/proto/tendermint/p2p\xa2\x02\x03TPX\xaa\x02\x0eTendermint.P2p\xca\x02\x0eTendermint\\P2p\xe2\x02\x1aTendermint\\P2p\\GPBMetadata\xea\x02\x0fTendermint::P2pb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.types_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\022com.tendermint.p2pB\nTypesProtoP\001Z1github.com/cometbft/cometbft/proto/tendermint/p2p\242\002\003TPX\252\002\016Tendermint.P2p\312\002\016Tendermint\\P2p\342\002\032Tendermint\\P2p\\GPBMetadata\352\002\017Tendermint::P2p' - _globals['_NETADDRESS'].fields_by_name['id']._loaded_options = None - _globals['_NETADDRESS'].fields_by_name['id']._serialized_options = b'\342\336\037\002ID' - _globals['_NETADDRESS'].fields_by_name['ip']._loaded_options = None - _globals['_NETADDRESS'].fields_by_name['ip']._serialized_options = b'\342\336\037\002IP' - _globals['_PROTOCOLVERSION'].fields_by_name['p2p']._loaded_options = None - _globals['_PROTOCOLVERSION'].fields_by_name['p2p']._serialized_options = b'\342\336\037\003P2P' - _globals['_DEFAULTNODEINFO'].fields_by_name['protocol_version']._loaded_options = None - _globals['_DEFAULTNODEINFO'].fields_by_name['protocol_version']._serialized_options = b'\310\336\037\000' - _globals['_DEFAULTNODEINFO'].fields_by_name['default_node_id']._loaded_options = None - _globals['_DEFAULTNODEINFO'].fields_by_name['default_node_id']._serialized_options = b'\342\336\037\rDefaultNodeID' - _globals['_DEFAULTNODEINFO'].fields_by_name['other']._loaded_options = None - _globals['_DEFAULTNODEINFO'].fields_by_name['other']._serialized_options = b'\310\336\037\000' - _globals['_DEFAULTNODEINFOOTHER'].fields_by_name['rpc_address']._loaded_options = None - _globals['_DEFAULTNODEINFOOTHER'].fields_by_name['rpc_address']._serialized_options = b'\342\336\037\nRPCAddress' - _globals['_NETADDRESS']._serialized_start=68 - _globals['_NETADDRESS']._serialized_end=148 - _globals['_PROTOCOLVERSION']._serialized_start=150 - _globals['_PROTOCOLVERSION']._serialized_end=234 - _globals['_DEFAULTNODEINFO']._serialized_start=237 - _globals['_DEFAULTNODEINFO']._serialized_end=600 - _globals['_DEFAULTNODEINFOOTHER']._serialized_start=602 - _globals['_DEFAULTNODEINFOOTHER']._serialized_end=700 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/p2p/types_pb2_grpc.py b/pyinjective/proto/tendermint/p2p/types_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/tendermint/p2p/types_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/types/block_pb2.py b/pyinjective/proto/tendermint/types/block_pb2.py deleted file mode 100644 index fcbd42d0..00000000 --- a/pyinjective/proto/tendermint/types/block_pb2.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/types/block.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 -from pyinjective.proto.tendermint.types import evidence_pb2 as tendermint_dot_types_dot_evidence__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/block.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ftendermint/types/evidence.proto\"\xee\x01\n\x05\x42lock\x12\x36\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00R\x06header\x12\x30\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta\x12@\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\x04\xc8\xde\x1f\x00R\x08\x65vidence\x12\x39\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.CommitR\nlastCommitB\xb8\x01\n\x14\x63om.tendermint.typesB\nBlockProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.block_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\nBlockProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types' - _globals['_BLOCK'].fields_by_name['header']._loaded_options = None - _globals['_BLOCK'].fields_by_name['header']._serialized_options = b'\310\336\037\000' - _globals['_BLOCK'].fields_by_name['data']._loaded_options = None - _globals['_BLOCK'].fields_by_name['data']._serialized_options = b'\310\336\037\000' - _globals['_BLOCK'].fields_by_name['evidence']._loaded_options = None - _globals['_BLOCK'].fields_by_name['evidence']._serialized_options = b'\310\336\037\000' - _globals['_BLOCK']._serialized_start=136 - _globals['_BLOCK']._serialized_end=374 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/block_pb2_grpc.py b/pyinjective/proto/tendermint/types/block_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/tendermint/types/block_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/types/evidence_pb2.py b/pyinjective/proto/tendermint/types/evidence_pb2.py deleted file mode 100644 index d7f5ae43..00000000 --- a/pyinjective/proto/tendermint/types/evidence_pb2.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/types/evidence.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from pyinjective.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 -from pyinjective.proto.tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ftendermint/types/evidence.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/types/validator.proto\"\xe4\x01\n\x08\x45vidence\x12\x61\n\x17\x64uplicate_vote_evidence\x18\x01 \x01(\x0b\x32\'.tendermint.types.DuplicateVoteEvidenceH\x00R\x15\x64uplicateVoteEvidence\x12n\n\x1clight_client_attack_evidence\x18\x02 \x01(\x0b\x32+.tendermint.types.LightClientAttackEvidenceH\x00R\x19lightClientAttackEvidenceB\x05\n\x03sum\"\x90\x02\n\x15\x44uplicateVoteEvidence\x12-\n\x06vote_a\x18\x01 \x01(\x0b\x32\x16.tendermint.types.VoteR\x05voteA\x12-\n\x06vote_b\x18\x02 \x01(\x0b\x32\x16.tendermint.types.VoteR\x05voteB\x12,\n\x12total_voting_power\x18\x03 \x01(\x03R\x10totalVotingPower\x12\'\n\x0fvalidator_power\x18\x04 \x01(\x03R\x0evalidatorPower\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\"\xcd\x02\n\x19LightClientAttackEvidence\x12I\n\x11\x63onflicting_block\x18\x01 \x01(\x0b\x32\x1c.tendermint.types.LightBlockR\x10\x63onflictingBlock\x12#\n\rcommon_height\x18\x02 \x01(\x03R\x0c\x63ommonHeight\x12N\n\x14\x62yzantine_validators\x18\x03 \x03(\x0b\x32\x1b.tendermint.types.ValidatorR\x13\x62yzantineValidators\x12,\n\x12total_voting_power\x18\x04 \x01(\x03R\x10totalVotingPower\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\"L\n\x0c\x45videnceList\x12<\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x1a.tendermint.types.EvidenceB\x04\xc8\xde\x1f\x00R\x08\x65videnceB\xbb\x01\n\x14\x63om.tendermint.typesB\rEvidenceProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.evidence_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\rEvidenceProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types' - _globals['_DUPLICATEVOTEEVIDENCE'].fields_by_name['timestamp']._loaded_options = None - _globals['_DUPLICATEVOTEEVIDENCE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_LIGHTCLIENTATTACKEVIDENCE'].fields_by_name['timestamp']._loaded_options = None - _globals['_LIGHTCLIENTATTACKEVIDENCE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_EVIDENCELIST'].fields_by_name['evidence']._loaded_options = None - _globals['_EVIDENCELIST'].fields_by_name['evidence']._serialized_options = b'\310\336\037\000' - _globals['_EVIDENCE']._serialized_start=173 - _globals['_EVIDENCE']._serialized_end=401 - _globals['_DUPLICATEVOTEEVIDENCE']._serialized_start=404 - _globals['_DUPLICATEVOTEEVIDENCE']._serialized_end=676 - _globals['_LIGHTCLIENTATTACKEVIDENCE']._serialized_start=679 - _globals['_LIGHTCLIENTATTACKEVIDENCE']._serialized_end=1012 - _globals['_EVIDENCELIST']._serialized_start=1014 - _globals['_EVIDENCELIST']._serialized_end=1090 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/evidence_pb2_grpc.py b/pyinjective/proto/tendermint/types/evidence_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/tendermint/types/evidence_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/types/params_pb2.py b/pyinjective/proto/tendermint/types/params_pb2.py deleted file mode 100644 index 1f8df4df..00000000 --- a/pyinjective/proto/tendermint/types/params_pb2.py +++ /dev/null @@ -1,47 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/types/params.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/types/params.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\"\xb2\x02\n\x0f\x43onsensusParams\x12\x33\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1d.tendermint.types.BlockParamsR\x05\x62lock\x12<\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParamsR\x08\x65vidence\x12?\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParamsR\tvalidator\x12\x39\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParamsR\x07version\x12\x30\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParamsR\x04\x61\x62\x63i\"I\n\x0b\x42lockParams\x12\x1b\n\tmax_bytes\x18\x01 \x01(\x03R\x08maxBytes\x12\x17\n\x07max_gas\x18\x02 \x01(\x03R\x06maxGasJ\x04\x08\x03\x10\x04\"\xa9\x01\n\x0e\x45videnceParams\x12+\n\x12max_age_num_blocks\x18\x01 \x01(\x03R\x0fmaxAgeNumBlocks\x12M\n\x10max_age_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0emaxAgeDuration\x12\x1b\n\tmax_bytes\x18\x03 \x01(\x03R\x08maxBytes\"?\n\x0fValidatorParams\x12\"\n\rpub_key_types\x18\x01 \x03(\tR\x0bpubKeyTypes:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\"+\n\rVersionParams\x12\x10\n\x03\x61pp\x18\x01 \x01(\x04R\x03\x61pp:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\"Z\n\x0cHashedParams\x12&\n\x0f\x62lock_max_bytes\x18\x01 \x01(\x03R\rblockMaxBytes\x12\"\n\rblock_max_gas\x18\x02 \x01(\x03R\x0b\x62lockMaxGas\"O\n\nABCIParams\x12\x41\n\x1dvote_extensions_enable_height\x18\x01 \x01(\x03R\x1avoteExtensionsEnableHeightB\xbd\x01\n\x14\x63om.tendermint.typesB\x0bParamsProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Types\xa8\xe2\x1e\x01\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.params_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\013ParamsProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types\250\342\036\001' - _globals['_EVIDENCEPARAMS'].fields_by_name['max_age_duration']._loaded_options = None - _globals['_EVIDENCEPARAMS'].fields_by_name['max_age_duration']._serialized_options = b'\310\336\037\000\230\337\037\001' - _globals['_VALIDATORPARAMS']._loaded_options = None - _globals['_VALIDATORPARAMS']._serialized_options = b'\270\240\037\001\350\240\037\001' - _globals['_VERSIONPARAMS']._loaded_options = None - _globals['_VERSIONPARAMS']._serialized_options = b'\270\240\037\001\350\240\037\001' - _globals['_CONSENSUSPARAMS']._serialized_start=106 - _globals['_CONSENSUSPARAMS']._serialized_end=412 - _globals['_BLOCKPARAMS']._serialized_start=414 - _globals['_BLOCKPARAMS']._serialized_end=487 - _globals['_EVIDENCEPARAMS']._serialized_start=490 - _globals['_EVIDENCEPARAMS']._serialized_end=659 - _globals['_VALIDATORPARAMS']._serialized_start=661 - _globals['_VALIDATORPARAMS']._serialized_end=724 - _globals['_VERSIONPARAMS']._serialized_start=726 - _globals['_VERSIONPARAMS']._serialized_end=769 - _globals['_HASHEDPARAMS']._serialized_start=771 - _globals['_HASHEDPARAMS']._serialized_end=861 - _globals['_ABCIPARAMS']._serialized_start=863 - _globals['_ABCIPARAMS']._serialized_end=942 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/params_pb2_grpc.py b/pyinjective/proto/tendermint/types/params_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/tendermint/types/params_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/types/types_pb2.py b/pyinjective/proto/tendermint/types/types_pb2.py deleted file mode 100644 index 8d569a24..00000000 --- a/pyinjective/proto/tendermint/types/types_pb2.py +++ /dev/null @@ -1,108 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/types/types.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from pyinjective.proto.tendermint.crypto import proof_pb2 as tendermint_dot_crypto_dot_proof__pb2 -from pyinjective.proto.tendermint.version import types_pb2 as tendermint_dot_version_dot_types__pb2 -from pyinjective.proto.tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/types.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dtendermint/crypto/proof.proto\x1a\x1etendermint/version/types.proto\x1a tendermint/types/validator.proto\"9\n\rPartSetHeader\x12\x14\n\x05total\x18\x01 \x01(\rR\x05total\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash\"h\n\x04Part\x12\x14\n\x05index\x18\x01 \x01(\rR\x05index\x12\x14\n\x05\x62ytes\x18\x02 \x01(\x0cR\x05\x62ytes\x12\x34\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00R\x05proof\"l\n\x07\x42lockID\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12M\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00R\rpartSetHeader\"\xe6\x04\n\x06Header\x12=\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00R\x07version\x12&\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDR\x07\x63hainId\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x43\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00R\x0blastBlockId\x12(\n\x10last_commit_hash\x18\x06 \x01(\x0cR\x0elastCommitHash\x12\x1b\n\tdata_hash\x18\x07 \x01(\x0cR\x08\x64\x61taHash\x12\'\n\x0fvalidators_hash\x18\x08 \x01(\x0cR\x0evalidatorsHash\x12\x30\n\x14next_validators_hash\x18\t \x01(\x0cR\x12nextValidatorsHash\x12%\n\x0e\x63onsensus_hash\x18\n \x01(\x0cR\rconsensusHash\x12\x19\n\x08\x61pp_hash\x18\x0b \x01(\x0cR\x07\x61ppHash\x12*\n\x11last_results_hash\x18\x0c \x01(\x0cR\x0flastResultsHash\x12#\n\revidence_hash\x18\r \x01(\x0cR\x0c\x65videnceHash\x12)\n\x10proposer_address\x18\x0e \x01(\x0cR\x0fproposerAddress\"\x18\n\x04\x44\x61ta\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\"\xb7\x03\n\x04Vote\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12+\n\x11validator_address\x18\x06 \x01(\x0cR\x10validatorAddress\x12\'\n\x0fvalidator_index\x18\x07 \x01(\x05R\x0evalidatorIndex\x12\x1c\n\tsignature\x18\x08 \x01(\x0cR\tsignature\x12\x1c\n\textension\x18\t \x01(\x0cR\textension\x12/\n\x13\x65xtension_signature\x18\n \x01(\x0cR\x12\x65xtensionSignature\"\xc0\x01\n\x06\x43ommit\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x41\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00R\nsignatures\"\xdd\x01\n\tCommitSig\x12\x41\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlag\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature\"\xe1\x01\n\x0e\x45xtendedCommit\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12Z\n\x13\x65xtended_signatures\x18\x04 \x03(\x0b\x32#.tendermint.types.ExtendedCommitSigB\x04\xc8\xde\x1f\x00R\x12\x65xtendedSignatures\"\xb4\x02\n\x11\x45xtendedCommitSig\x12\x41\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlag\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature\x12\x1c\n\textension\x18\x05 \x01(\x0cR\textension\x12/\n\x13\x65xtension_signature\x18\x06 \x01(\x0cR\x12\x65xtensionSignature\"\xb3\x02\n\x08Proposal\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x05R\x05round\x12\x1b\n\tpol_round\x18\x04 \x01(\x05R\x08polRound\x12\x45\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x42\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x07 \x01(\x0cR\tsignature\"r\n\x0cSignedHeader\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderR\x06header\x12\x30\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.CommitR\x06\x63ommit\"\x96\x01\n\nLightBlock\x12\x43\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderR\x0csignedHeader\x12\x43\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x0cvalidatorSet\"\xc2\x01\n\tBlockMeta\x12\x45\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x1d\n\nblock_size\x18\x02 \x01(\x03R\tblockSize\x12\x36\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00R\x06header\x12\x17\n\x07num_txs\x18\x04 \x01(\x03R\x06numTxs\"j\n\x07TxProof\x12\x1b\n\troot_hash\x18\x01 \x01(\x0cR\x08rootHash\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12.\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofR\x05proof*\xd7\x01\n\rSignedMsgType\x12,\n\x17SIGNED_MSG_TYPE_UNKNOWN\x10\x00\x1a\x0f\x8a\x9d \x0bUnknownType\x12,\n\x17SIGNED_MSG_TYPE_PREVOTE\x10\x01\x1a\x0f\x8a\x9d \x0bPrevoteType\x12\x30\n\x19SIGNED_MSG_TYPE_PRECOMMIT\x10\x02\x1a\x11\x8a\x9d \rPrecommitType\x12.\n\x18SIGNED_MSG_TYPE_PROPOSAL\x10 \x1a\x10\x8a\x9d \x0cProposalType\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\xb8\x01\n\x14\x63om.tendermint.typesB\nTypesProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.types_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\nTypesProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types' - _globals['_SIGNEDMSGTYPE']._loaded_options = None - _globals['_SIGNEDMSGTYPE']._serialized_options = b'\210\243\036\000\250\244\036\001' - _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._loaded_options = None - _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._serialized_options = b'\212\235 \013UnknownType' - _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PREVOTE"]._loaded_options = None - _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PREVOTE"]._serialized_options = b'\212\235 \013PrevoteType' - _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PRECOMMIT"]._loaded_options = None - _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PRECOMMIT"]._serialized_options = b'\212\235 \rPrecommitType' - _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PROPOSAL"]._loaded_options = None - _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PROPOSAL"]._serialized_options = b'\212\235 \014ProposalType' - _globals['_PART'].fields_by_name['proof']._loaded_options = None - _globals['_PART'].fields_by_name['proof']._serialized_options = b'\310\336\037\000' - _globals['_BLOCKID'].fields_by_name['part_set_header']._loaded_options = None - _globals['_BLOCKID'].fields_by_name['part_set_header']._serialized_options = b'\310\336\037\000' - _globals['_HEADER'].fields_by_name['version']._loaded_options = None - _globals['_HEADER'].fields_by_name['version']._serialized_options = b'\310\336\037\000' - _globals['_HEADER'].fields_by_name['chain_id']._loaded_options = None - _globals['_HEADER'].fields_by_name['chain_id']._serialized_options = b'\342\336\037\007ChainID' - _globals['_HEADER'].fields_by_name['time']._loaded_options = None - _globals['_HEADER'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_HEADER'].fields_by_name['last_block_id']._loaded_options = None - _globals['_HEADER'].fields_by_name['last_block_id']._serialized_options = b'\310\336\037\000' - _globals['_VOTE'].fields_by_name['block_id']._loaded_options = None - _globals['_VOTE'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' - _globals['_VOTE'].fields_by_name['timestamp']._loaded_options = None - _globals['_VOTE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_COMMIT'].fields_by_name['block_id']._loaded_options = None - _globals['_COMMIT'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' - _globals['_COMMIT'].fields_by_name['signatures']._loaded_options = None - _globals['_COMMIT'].fields_by_name['signatures']._serialized_options = b'\310\336\037\000' - _globals['_COMMITSIG'].fields_by_name['timestamp']._loaded_options = None - _globals['_COMMITSIG'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_EXTENDEDCOMMIT'].fields_by_name['block_id']._loaded_options = None - _globals['_EXTENDEDCOMMIT'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' - _globals['_EXTENDEDCOMMIT'].fields_by_name['extended_signatures']._loaded_options = None - _globals['_EXTENDEDCOMMIT'].fields_by_name['extended_signatures']._serialized_options = b'\310\336\037\000' - _globals['_EXTENDEDCOMMITSIG'].fields_by_name['timestamp']._loaded_options = None - _globals['_EXTENDEDCOMMITSIG'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_PROPOSAL'].fields_by_name['block_id']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' - _globals['_PROPOSAL'].fields_by_name['timestamp']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_BLOCKMETA'].fields_by_name['block_id']._loaded_options = None - _globals['_BLOCKMETA'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' - _globals['_BLOCKMETA'].fields_by_name['header']._loaded_options = None - _globals['_BLOCKMETA'].fields_by_name['header']._serialized_options = b'\310\336\037\000' - _globals['_SIGNEDMSGTYPE']._serialized_start=3405 - _globals['_SIGNEDMSGTYPE']._serialized_end=3620 - _globals['_PARTSETHEADER']._serialized_start=202 - _globals['_PARTSETHEADER']._serialized_end=259 - _globals['_PART']._serialized_start=261 - _globals['_PART']._serialized_end=365 - _globals['_BLOCKID']._serialized_start=367 - _globals['_BLOCKID']._serialized_end=475 - _globals['_HEADER']._serialized_start=478 - _globals['_HEADER']._serialized_end=1092 - _globals['_DATA']._serialized_start=1094 - _globals['_DATA']._serialized_end=1118 - _globals['_VOTE']._serialized_start=1121 - _globals['_VOTE']._serialized_end=1560 - _globals['_COMMIT']._serialized_start=1563 - _globals['_COMMIT']._serialized_end=1755 - _globals['_COMMITSIG']._serialized_start=1758 - _globals['_COMMITSIG']._serialized_end=1979 - _globals['_EXTENDEDCOMMIT']._serialized_start=1982 - _globals['_EXTENDEDCOMMIT']._serialized_end=2207 - _globals['_EXTENDEDCOMMITSIG']._serialized_start=2210 - _globals['_EXTENDEDCOMMITSIG']._serialized_end=2518 - _globals['_PROPOSAL']._serialized_start=2521 - _globals['_PROPOSAL']._serialized_end=2828 - _globals['_SIGNEDHEADER']._serialized_start=2830 - _globals['_SIGNEDHEADER']._serialized_end=2944 - _globals['_LIGHTBLOCK']._serialized_start=2947 - _globals['_LIGHTBLOCK']._serialized_end=3097 - _globals['_BLOCKMETA']._serialized_start=3100 - _globals['_BLOCKMETA']._serialized_end=3294 - _globals['_TXPROOF']._serialized_start=3296 - _globals['_TXPROOF']._serialized_end=3402 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/types_pb2_grpc.py b/pyinjective/proto/tendermint/types/types_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/tendermint/types/types_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/types/validator_pb2.py b/pyinjective/proto/tendermint/types/validator_pb2.py deleted file mode 100644 index 74283b73..00000000 --- a/pyinjective/proto/tendermint/types/validator_pb2.py +++ /dev/null @@ -1,47 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/types/validator.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.tendermint.crypto import keys_pb2 as tendermint_dot_crypto_dot_keys__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/validator.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto\"\xb2\x01\n\x0cValidatorSet\x12;\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.ValidatorR\nvalidators\x12\x37\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.ValidatorR\x08proposer\x12,\n\x12total_voting_power\x18\x03 \x01(\x03R\x10totalVotingPower\"\xb2\x01\n\tValidator\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0cR\x07\x61\x64\x64ress\x12;\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12!\n\x0cvoting_power\x18\x03 \x01(\x03R\x0bvotingPower\x12+\n\x11proposer_priority\x18\x04 \x01(\x03R\x10proposerPriority\"k\n\x0fSimpleValidator\x12\x35\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyR\x06pubKey\x12!\n\x0cvoting_power\x18\x02 \x01(\x03R\x0bvotingPower*\xd7\x01\n\x0b\x42lockIDFlag\x12\x31\n\x15\x42LOCK_ID_FLAG_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x42lockIDFlagUnknown\x12/\n\x14\x42LOCK_ID_FLAG_ABSENT\x10\x01\x1a\x15\x8a\x9d \x11\x42lockIDFlagAbsent\x12/\n\x14\x42LOCK_ID_FLAG_COMMIT\x10\x02\x1a\x15\x8a\x9d \x11\x42lockIDFlagCommit\x12)\n\x11\x42LOCK_ID_FLAG_NIL\x10\x03\x1a\x12\x8a\x9d \x0e\x42lockIDFlagNil\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\xbc\x01\n\x14\x63om.tendermint.typesB\x0eValidatorProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.validator_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\016ValidatorProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types' - _globals['_BLOCKIDFLAG']._loaded_options = None - _globals['_BLOCKIDFLAG']._serialized_options = b'\210\243\036\000\250\244\036\001' - _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._loaded_options = None - _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._serialized_options = b'\212\235 \022BlockIDFlagUnknown' - _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_ABSENT"]._loaded_options = None - _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_ABSENT"]._serialized_options = b'\212\235 \021BlockIDFlagAbsent' - _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_COMMIT"]._loaded_options = None - _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_COMMIT"]._serialized_options = b'\212\235 \021BlockIDFlagCommit' - _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_NIL"]._loaded_options = None - _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_NIL"]._serialized_options = b'\212\235 \016BlockIDFlagNil' - _globals['_VALIDATOR'].fields_by_name['pub_key']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' - _globals['_BLOCKIDFLAG']._serialized_start=578 - _globals['_BLOCKIDFLAG']._serialized_end=793 - _globals['_VALIDATORSET']._serialized_start=107 - _globals['_VALIDATORSET']._serialized_end=285 - _globals['_VALIDATOR']._serialized_start=288 - _globals['_VALIDATOR']._serialized_end=466 - _globals['_SIMPLEVALIDATOR']._serialized_start=468 - _globals['_SIMPLEVALIDATOR']._serialized_end=575 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/validator_pb2_grpc.py b/pyinjective/proto/tendermint/types/validator_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/tendermint/types/validator_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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/version/types_pb2.py b/pyinjective/proto/tendermint/version/types_pb2.py deleted file mode 100644 index e93791f7..00000000 --- a/pyinjective/proto/tendermint/version/types_pb2.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/version/types.proto -# Protobuf Python Version: 5.26.1 -"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/version/types.proto\x12\x12tendermint.version\x1a\x14gogoproto/gogo.proto\"=\n\x03\x41pp\x12\x1a\n\x08protocol\x18\x01 \x01(\x04R\x08protocol\x12\x1a\n\x08software\x18\x02 \x01(\tR\x08software\"9\n\tConsensus\x12\x14\n\x05\x62lock\x18\x01 \x01(\x04R\x05\x62lock\x12\x10\n\x03\x61pp\x18\x02 \x01(\x04R\x03\x61pp:\x04\xe8\xa0\x1f\x01\x42\xc4\x01\n\x16\x63om.tendermint.versionB\nTypesProtoP\x01Z5github.com/cometbft/cometbft/proto/tendermint/version\xa2\x02\x03TVX\xaa\x02\x12Tendermint.Version\xca\x02\x12Tendermint\\Version\xe2\x02\x1eTendermint\\Version\\GPBMetadata\xea\x02\x13Tendermint::Versionb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.version.types_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.tendermint.versionB\nTypesProtoP\001Z5github.com/cometbft/cometbft/proto/tendermint/version\242\002\003TVX\252\002\022Tendermint.Version\312\002\022Tendermint\\Version\342\002\036Tendermint\\Version\\GPBMetadata\352\002\023Tendermint::Version' - _globals['_CONSENSUS']._loaded_options = None - _globals['_CONSENSUS']._serialized_options = b'\350\240\037\001' - _globals['_APP']._serialized_start=76 - _globals['_APP']._serialized_end=137 - _globals['_CONSENSUS']._serialized_start=139 - _globals['_CONSENSUS']._serialized_end=196 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/version/types_pb2_grpc.py b/pyinjective/proto/tendermint/version/types_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/pyinjective/proto/tendermint/version/types_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - From 8cae7fd6860158c90a9199495c0f1f2a02759563 Mon Sep 17 00:00:00 2001 From: enigmarikki Date: Fri, 31 Jan 2025 14:47:01 -0500 Subject: [PATCH 4/7] "chore: fixed makefile and pulling from latest release of mainnet" --- Makefile | 22 ++++++++++--------- buf.gen.yaml | 7 +++--- .../proto/google/api/annotations_pb2.py | 2 +- pyinjective/proto/google/api/client_pb2.py | 2 +- .../google/api/expr/v1alpha1/checked_pb2.py | 2 +- .../google/api/expr/v1alpha1/eval_pb2.py | 2 +- .../google/api/expr/v1alpha1/explain_pb2.py | 2 +- .../proto/google/api/expr/v1beta1/decl_pb2.py | 2 +- .../proto/google/api/expr/v1beta1/eval_pb2.py | 2 +- .../proto/google/api/expr/v1beta1/expr_pb2.py | 2 +- .../google/longrunning/operations_pb2.py | 4 ++-- 11 files changed, 26 insertions(+), 23 deletions(-) diff --git a/Makefile b/Makefile index 61690e7a..f4471dec 100644 --- a/Makefile +++ b/Makefile @@ -1,26 +1,29 @@ -all: +all: gen gen: gen-client gen-client: - git clone --depth 1 --branch v1.13.2 https://github.com/InjectiveLabs/injective-core - mkdir -p proto - - cp -r injective-core/proto/* proto/ mkdir -p ./pyinjective/proto buf generate --template buf.gen.yaml rm -rf proto $(call clean_repos) - $(MAKE) fix-generated-proto-imports + $(MAKE) fix-generated-proto-imports-1 PROTO_MODULES := cosmwasm gogoproto cosmos_proto cosmos testpb ibc amino tendermint injective -fix-generated-proto-imports: +fix-generated-proto-imports-1: @touch pyinjective/proto/__init__.py @for module in $(PROTO_MODULES); do \ - find ./pyinjective/proto -type f -name "*.py" -exec sed -i "" -e "s/from $${module}/from pyinjective.proto.$${module}/g" {} \; ; \ + find ./pyinjective/proto -type f -name "*.py" -exec sed -i "s/from $${module}/from pyinjective.proto.$${module}/g" {} \; ; \ + done + @find ./pyinjective/proto -type f -name "*.py" -exec sed -i "s/from google.api/from pyinjective.proto.google.api/g" {} \; +fix-generated-proto-imports: + @echo "Listing all Python files in pyinjective/proto:" + @find ./pyinjective/proto -type f -name "*.py" -ls + @echo "\nModules that will be processed:" + @for module in $(PROTO_MODULES); do \ + echo "$$module"; \ done - @find ./pyinjective/proto -type f -name "*.py" -exec sed -i "" -e "s/from google.api/from pyinjective.proto.google.api/g" {} \; define clean_repos rm -Rf cosmos-sdk @@ -28,7 +31,6 @@ define clean_repos rm -Rf cometbft rm -Rf wasmd rm -Rf injective-core - rm -Rf injective-indexer endef clean-all: diff --git a/buf.gen.yaml b/buf.gen.yaml index 2f3f1cf2..ceee3c62 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -20,10 +20,11 @@ inputs: # - git_repo: https://github.com/InjectiveLabs/wasmd # branch: v0.51.x-inj # subdir: proto - - git_repo: https://github.com/InjectiveLabs/injective-core - tag: v1.13.2 + - git_repo: https://github.com/enigmarikki/injective-core + #tag: v1.13.2 + branch: master subdir: proto # - git_repo: https://github.com/InjectiveLabs/injective-core # branch: master # subdir: proto - - directory: proto +#- directory: proto diff --git a/pyinjective/proto/google/api/annotations_pb2.py b/pyinjective/proto/google/api/annotations_pb2.py index 984fed1f..e746af34 100644 --- a/pyinjective/proto/google/api/annotations_pb2.py +++ b/pyinjective/proto/google/api/annotations_pb2.py @@ -12,7 +12,7 @@ _sym_db = _symbol_database.Default() -from google.api import http_pb2 as google_dot_api_dot_http__pb2 +from pyinjective.proto.google.api import http_pb2 as google_dot_api_dot_http__pb2 from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 diff --git a/pyinjective/proto/google/api/client_pb2.py b/pyinjective/proto/google/api/client_pb2.py index c010202a..db55b0ba 100644 --- a/pyinjective/proto/google/api/client_pb2.py +++ b/pyinjective/proto/google/api/client_pb2.py @@ -12,7 +12,7 @@ _sym_db = _symbol_database.Default() -from google.api import launch_stage_pb2 as google_dot_api_dot_launch__stage__pb2 +from pyinjective.proto.google.api import launch_stage_pb2 as google_dot_api_dot_launch__stage__pb2 from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 diff --git a/pyinjective/proto/google/api/expr/v1alpha1/checked_pb2.py b/pyinjective/proto/google/api/expr/v1alpha1/checked_pb2.py index f0101f4c..1aef2660 100644 --- a/pyinjective/proto/google/api/expr/v1alpha1/checked_pb2.py +++ b/pyinjective/proto/google/api/expr/v1alpha1/checked_pb2.py @@ -12,7 +12,7 @@ _sym_db = _symbol_database.Default() -from google.api.expr.v1alpha1 import syntax_pb2 as google_dot_api_dot_expr_dot_v1alpha1_dot_syntax__pb2 +from pyinjective.proto.google.api.expr.v1alpha1 import syntax_pb2 as google_dot_api_dot_expr_dot_v1alpha1_dot_syntax__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 diff --git a/pyinjective/proto/google/api/expr/v1alpha1/eval_pb2.py b/pyinjective/proto/google/api/expr/v1alpha1/eval_pb2.py index a0371b5e..aac8f1d4 100644 --- a/pyinjective/proto/google/api/expr/v1alpha1/eval_pb2.py +++ b/pyinjective/proto/google/api/expr/v1alpha1/eval_pb2.py @@ -12,7 +12,7 @@ _sym_db = _symbol_database.Default() -from google.api.expr.v1alpha1 import value_pb2 as google_dot_api_dot_expr_dot_v1alpha1_dot_value__pb2 +from pyinjective.proto.google.api.expr.v1alpha1 import value_pb2 as google_dot_api_dot_expr_dot_v1alpha1_dot_value__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 diff --git a/pyinjective/proto/google/api/expr/v1alpha1/explain_pb2.py b/pyinjective/proto/google/api/expr/v1alpha1/explain_pb2.py index 908a7e4c..8bc899e7 100644 --- a/pyinjective/proto/google/api/expr/v1alpha1/explain_pb2.py +++ b/pyinjective/proto/google/api/expr/v1alpha1/explain_pb2.py @@ -12,7 +12,7 @@ _sym_db = _symbol_database.Default() -from google.api.expr.v1alpha1 import value_pb2 as google_dot_api_dot_expr_dot_v1alpha1_dot_value__pb2 +from pyinjective.proto.google.api.expr.v1alpha1 import value_pb2 as google_dot_api_dot_expr_dot_v1alpha1_dot_value__pb2 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&google/api/expr/v1alpha1/explain.proto\x12\x18google.api.expr.v1alpha1\x1a$google/api/expr/v1alpha1/value.proto\"\xce\x01\n\x07\x45xplain\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\x1f.google.api.expr.v1alpha1.ValueR\x06values\x12I\n\nexpr_steps\x18\x02 \x03(\x0b\x32*.google.api.expr.v1alpha1.Explain.ExprStepR\texprSteps\x1a;\n\x08\x45xprStep\x12\x0e\n\x02id\x18\x01 \x01(\x03R\x02id\x12\x1f\n\x0bvalue_index\x18\x02 \x01(\x05R\nvalueIndex:\x02\x18\x01\x42\xf0\x01\n\x1c\x63om.google.api.expr.v1alpha1B\x0c\x45xplainProtoP\x01Z Date: Fri, 31 Jan 2025 14:47:39 -0500 Subject: [PATCH 5/7] "chore : rebuild proto files" --- pyinjective/proto/__init__.py | 0 pyinjective/proto/amino/amino_pb2.py | 26 + pyinjective/proto/amino/amino_pb2_grpc.py | 4 + .../proto/capability/v1/capability_pb2.py | 39 + .../capability/v1/capability_pb2_grpc.py | 4 + .../proto/capability/v1/genesis_pb2.py | 36 + .../proto/capability/v1/genesis_pb2_grpc.py | 4 + .../cosmos/app/runtime/v1alpha1/module_pb2.py | 32 + .../app/runtime/v1alpha1/module_pb2_grpc.py | 4 + .../proto/cosmos/app/v1alpha1/config_pb2.py | 32 + .../cosmos/app/v1alpha1/config_pb2_grpc.py | 4 + .../proto/cosmos/app/v1alpha1/module_pb2.py | 32 + .../cosmos/app/v1alpha1/module_pb2_grpc.py | 4 + .../proto/cosmos/app/v1alpha1/query_pb2.py | 32 + .../cosmos/app/v1alpha1/query_pb2_grpc.py | 81 + .../proto/cosmos/auth/module/v1/module_pb2.py | 32 + .../cosmos/auth/module/v1/module_pb2_grpc.py | 4 + .../proto/cosmos/auth/v1beta1/auth_pb2.py | 55 + .../cosmos/auth/v1beta1/auth_pb2_grpc.py | 4 + .../proto/cosmos/auth/v1beta1/genesis_pb2.py | 33 + .../cosmos/auth/v1beta1/genesis_pb2_grpc.py | 4 + .../proto/cosmos/auth/v1beta1/query_pb2.py | 114 + .../cosmos/auth/v1beta1/query_pb2_grpc.py | 494 +++ .../proto/cosmos/auth/v1beta1/tx_pb2.py | 44 + .../proto/cosmos/auth/v1beta1/tx_pb2_grpc.py | 84 + .../cosmos/authz/module/v1/module_pb2.py | 30 + .../cosmos/authz/module/v1/module_pb2_grpc.py | 4 + .../proto/cosmos/authz/v1beta1/authz_pb2.py | 52 + .../cosmos/authz/v1beta1/authz_pb2_grpc.py | 4 + .../proto/cosmos/authz/v1beta1/event_pb2.py | 38 + .../cosmos/authz/v1beta1/event_pb2_grpc.py | 4 + .../proto/cosmos/authz/v1beta1/genesis_pb2.py | 32 + .../cosmos/authz/v1beta1/genesis_pb2_grpc.py | 4 + .../proto/cosmos/authz/v1beta1/query_pb2.py | 57 + .../cosmos/authz/v1beta1/query_pb2_grpc.py | 173 ++ .../proto/cosmos/authz/v1beta1/tx_pb2.py | 75 + .../proto/cosmos/authz/v1beta1/tx_pb2_grpc.py | 219 ++ .../proto/cosmos/autocli/v1/options_pb2.py | 43 + .../cosmos/autocli/v1/options_pb2_grpc.py | 4 + .../proto/cosmos/autocli/v1/query_pb2.py | 39 + .../proto/cosmos/autocli/v1/query_pb2_grpc.py | 84 + .../proto/cosmos/bank/module/v1/module_pb2.py | 30 + .../cosmos/bank/module/v1/module_pb2_grpc.py | 4 + .../proto/cosmos/bank/v1beta1/authz_pb2.py | 37 + .../cosmos/bank/v1beta1/authz_pb2_grpc.py | 4 + .../proto/cosmos/bank/v1beta1/bank_pb2.py | 70 + .../cosmos/bank/v1beta1/bank_pb2_grpc.py | 4 + .../proto/cosmos/bank/v1beta1/events_pb2.py | 34 + .../cosmos/bank/v1beta1/events_pb2_grpc.py | 4 + .../proto/cosmos/bank/v1beta1/genesis_pb2.py | 50 + .../cosmos/bank/v1beta1/genesis_pb2_grpc.py | 4 + .../proto/cosmos/bank/v1beta1/query_pb2.py | 153 + .../cosmos/bank/v1beta1/query_pb2_grpc.py | 646 ++++ .../proto/cosmos/bank/v1beta1/tx_pb2.py | 75 + .../proto/cosmos/bank/v1beta1/tx_pb2_grpc.py | 221 ++ .../cosmos/base/abci/v1beta1/abci_pb2.py | 87 + .../cosmos/base/abci/v1beta1/abci_pb2_grpc.py | 4 + .../cosmos/base/node/v1beta1/query_pb2.py | 44 + .../base/node/v1beta1/query_pb2_grpc.py | 125 + .../base/query/v1beta1/pagination_pb2.py | 29 + .../base/query/v1beta1/pagination_pb2_grpc.py | 4 + .../base/reflection/v1beta1/reflection_pb2.py | 40 + .../reflection/v1beta1/reflection_pb2_grpc.py | 127 + .../reflection/v2alpha1/reflection_pb2.py | 92 + .../v2alpha1/reflection_pb2_grpc.py | 303 ++ .../base/tendermint/v1beta1/query_pb2.py | 93 + .../base/tendermint/v1beta1/query_pb2_grpc.py | 349 +++ .../base/tendermint/v1beta1/types_pb2.py | 49 + .../base/tendermint/v1beta1/types_pb2_grpc.py | 4 + .../proto/cosmos/base/v1beta1/coin_pb2.py | 48 + .../cosmos/base/v1beta1/coin_pb2_grpc.py | 4 + .../cosmos/circuit/module/v1/module_pb2.py | 30 + .../circuit/module/v1/module_pb2_grpc.py | 4 + .../proto/cosmos/circuit/v1/query_pb2.py | 49 + .../proto/cosmos/circuit/v1/query_pb2_grpc.py | 169 + pyinjective/proto/cosmos/circuit/v1/tx_pb2.py | 49 + .../proto/cosmos/circuit/v1/tx_pb2_grpc.py | 171 + .../proto/cosmos/circuit/v1/types_pb2.py | 33 + .../proto/cosmos/circuit/v1/types_pb2_grpc.py | 4 + .../cosmos/consensus/module/v1/module_pb2.py | 30 + .../consensus/module/v1/module_pb2_grpc.py | 4 + .../proto/cosmos/consensus/v1/query_pb2.py | 35 + .../cosmos/consensus/v1/query_pb2_grpc.py | 81 + .../proto/cosmos/consensus/v1/tx_pb2.py | 41 + .../proto/cosmos/consensus/v1/tx_pb2_grpc.py | 84 + .../cosmos/crisis/module/v1/module_pb2.py | 30 + .../crisis/module/v1/module_pb2_grpc.py | 4 + .../cosmos/crisis/v1beta1/genesis_pb2.py | 32 + .../cosmos/crisis/v1beta1/genesis_pb2_grpc.py | 4 + .../proto/cosmos/crisis/v1beta1/tx_pb2.py | 52 + .../cosmos/crisis/v1beta1/tx_pb2_grpc.py | 128 + .../proto/cosmos/crypto/ed25519/keys_pb2.py | 39 + .../cosmos/crypto/ed25519/keys_pb2_grpc.py | 4 + .../proto/cosmos/crypto/hd/v1/hd_pb2.py | 31 + .../proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py | 4 + .../cosmos/crypto/keyring/v1/record_pb2.py | 38 + .../crypto/keyring/v1/record_pb2_grpc.py | 4 + .../proto/cosmos/crypto/multisig/keys_pb2.py | 34 + .../cosmos/crypto/multisig/keys_pb2_grpc.py | 4 + .../crypto/multisig/v1beta1/multisig_pb2.py | 34 + .../multisig/v1beta1/multisig_pb2_grpc.py | 4 + .../proto/cosmos/crypto/secp256k1/keys_pb2.py | 35 + .../cosmos/crypto/secp256k1/keys_pb2_grpc.py | 4 + .../proto/cosmos/crypto/secp256r1/keys_pb2.py | 34 + .../cosmos/crypto/secp256r1/keys_pb2_grpc.py | 4 + .../distribution/module/v1/module_pb2.py | 30 + .../distribution/module/v1/module_pb2_grpc.py | 4 + .../distribution/v1beta1/distribution_pb2.py | 91 + .../v1beta1/distribution_pb2_grpc.py | 4 + .../distribution/v1beta1/genesis_pb2.py | 112 + .../distribution/v1beta1/genesis_pb2_grpc.py | 4 + .../cosmos/distribution/v1beta1/query_pb2.py | 150 + .../distribution/v1beta1/query_pb2_grpc.py | 478 +++ .../cosmos/distribution/v1beta1/tx_pb2.py | 109 + .../distribution/v1beta1/tx_pb2_grpc.py | 360 +++ .../cosmos/evidence/module/v1/module_pb2.py | 30 + .../evidence/module/v1/module_pb2_grpc.py | 4 + .../cosmos/evidence/v1beta1/evidence_pb2.py | 37 + .../evidence/v1beta1/evidence_pb2_grpc.py | 4 + .../cosmos/evidence/v1beta1/genesis_pb2.py | 28 + .../evidence/v1beta1/genesis_pb2_grpc.py | 4 + .../cosmos/evidence/v1beta1/query_pb2.py | 44 + .../cosmos/evidence/v1beta1/query_pb2_grpc.py | 125 + .../proto/cosmos/evidence/v1beta1/tx_pb2.py | 44 + .../cosmos/evidence/v1beta1/tx_pb2_grpc.py | 82 + .../cosmos/feegrant/module/v1/module_pb2.py | 30 + .../feegrant/module/v1/module_pb2_grpc.py | 4 + .../cosmos/feegrant/v1beta1/feegrant_pb2.py | 68 + .../feegrant/v1beta1/feegrant_pb2_grpc.py | 4 + .../cosmos/feegrant/v1beta1/genesis_pb2.py | 32 + .../feegrant/v1beta1/genesis_pb2_grpc.py | 4 + .../cosmos/feegrant/v1beta1/query_pb2.py | 57 + .../cosmos/feegrant/v1beta1/query_pb2_grpc.py | 171 + .../proto/cosmos/feegrant/v1beta1/tx_pb2.py | 63 + .../cosmos/feegrant/v1beta1/tx_pb2_grpc.py | 173 ++ .../cosmos/genutil/module/v1/module_pb2.py | 30 + .../genutil/module/v1/module_pb2_grpc.py | 4 + .../cosmos/genutil/v1beta1/genesis_pb2.py | 31 + .../genutil/v1beta1/genesis_pb2_grpc.py | 4 + .../proto/cosmos/gov/module/v1/module_pb2.py | 30 + .../cosmos/gov/module/v1/module_pb2_grpc.py | 4 + .../proto/cosmos/gov/v1/genesis_pb2.py | 34 + .../proto/cosmos/gov/v1/genesis_pb2_grpc.py | 4 + pyinjective/proto/cosmos/gov/v1/gov_pb2.py | 126 + .../proto/cosmos/gov/v1/gov_pb2_grpc.py | 4 + pyinjective/proto/cosmos/gov/v1/query_pb2.py | 99 + .../proto/cosmos/gov/v1/query_pb2_grpc.py | 433 +++ pyinjective/proto/cosmos/gov/v1/tx_pb2.py | 111 + .../proto/cosmos/gov/v1/tx_pb2_grpc.py | 351 +++ .../proto/cosmos/gov/v1beta1/genesis_pb2.py | 42 + .../cosmos/gov/v1beta1/genesis_pb2_grpc.py | 4 + .../proto/cosmos/gov/v1beta1/gov_pb2.py | 138 + .../proto/cosmos/gov/v1beta1/gov_pb2_grpc.py | 4 + .../proto/cosmos/gov/v1beta1/query_pb2.py | 115 + .../cosmos/gov/v1beta1/query_pb2_grpc.py | 389 +++ .../proto/cosmos/gov/v1beta1/tx_pb2.py | 82 + .../proto/cosmos/gov/v1beta1/tx_pb2_grpc.py | 215 ++ .../cosmos/group/module/v1/module_pb2.py | 35 + .../cosmos/group/module/v1/module_pb2_grpc.py | 4 + .../proto/cosmos/group/v1/events_pb2.py | 53 + .../proto/cosmos/group/v1/events_pb2_grpc.py | 4 + .../proto/cosmos/group/v1/genesis_pb2.py | 28 + .../proto/cosmos/group/v1/genesis_pb2_grpc.py | 4 + .../proto/cosmos/group/v1/query_pb2.py | 133 + .../proto/cosmos/group/v1/query_pb2_grpc.py | 659 ++++ pyinjective/proto/cosmos/group/v1/tx_pb2.py | 175 ++ .../proto/cosmos/group/v1/tx_pb2_grpc.py | 653 ++++ .../proto/cosmos/group/v1/types_pb2.py | 111 + .../proto/cosmos/group/v1/types_pb2_grpc.py | 4 + .../proto/cosmos/ics23/v1/proofs_pb2.py | 55 + .../proto/cosmos/ics23/v1/proofs_pb2_grpc.py | 4 + .../proto/cosmos/mint/module/v1/module_pb2.py | 30 + .../cosmos/mint/module/v1/module_pb2_grpc.py | 4 + .../proto/cosmos/mint/v1beta1/genesis_pb2.py | 34 + .../cosmos/mint/v1beta1/genesis_pb2_grpc.py | 4 + .../proto/cosmos/mint/v1beta1/mint_pb2.py | 46 + .../cosmos/mint/v1beta1/mint_pb2_grpc.py | 4 + .../proto/cosmos/mint/v1beta1/query_pb2.py | 56 + .../cosmos/mint/v1beta1/query_pb2_grpc.py | 169 + .../proto/cosmos/mint/v1beta1/tx_pb2.py | 44 + .../proto/cosmos/mint/v1beta1/tx_pb2_grpc.py | 84 + .../cosmos/msg/textual/v1/textual_pb2.py | 26 + .../cosmos/msg/textual/v1/textual_pb2_grpc.py | 4 + pyinjective/proto/cosmos/msg/v1/msg_pb2.py | 26 + .../proto/cosmos/msg/v1/msg_pb2_grpc.py | 4 + .../proto/cosmos/nft/module/v1/module_pb2.py | 30 + .../cosmos/nft/module/v1/module_pb2_grpc.py | 4 + .../proto/cosmos/nft/v1beta1/event_pb2.py | 31 + .../cosmos/nft/v1beta1/event_pb2_grpc.py | 4 + .../proto/cosmos/nft/v1beta1/genesis_pb2.py | 30 + .../cosmos/nft/v1beta1/genesis_pb2_grpc.py | 4 + .../proto/cosmos/nft/v1beta1/nft_pb2.py | 30 + .../proto/cosmos/nft/v1beta1/nft_pb2_grpc.py | 4 + .../proto/cosmos/nft/v1beta1/query_pb2.py | 72 + .../cosmos/nft/v1beta1/query_pb2_grpc.py | 346 +++ .../proto/cosmos/nft/v1beta1/tx_pb2.py | 41 + .../proto/cosmos/nft/v1beta1/tx_pb2_grpc.py | 81 + .../cosmos/orm/module/v1alpha1/module_pb2.py | 30 + .../orm/module/v1alpha1/module_pb2_grpc.py | 4 + .../cosmos/orm/query/v1alpha1/query_pb2.py | 45 + .../orm/query/v1alpha1/query_pb2_grpc.py | 125 + pyinjective/proto/cosmos/orm/v1/orm_pb2.py | 34 + .../proto/cosmos/orm/v1/orm_pb2_grpc.py | 4 + .../proto/cosmos/orm/v1alpha1/schema_pb2.py | 32 + .../cosmos/orm/v1alpha1/schema_pb2_grpc.py | 4 + .../cosmos/params/module/v1/module_pb2.py | 30 + .../params/module/v1/module_pb2_grpc.py | 4 + .../proto/cosmos/params/v1beta1/params_pb2.py | 36 + .../cosmos/params/v1beta1/params_pb2_grpc.py | 4 + .../proto/cosmos/params/v1beta1/query_pb2.py | 47 + .../cosmos/params/v1beta1/query_pb2_grpc.py | 128 + .../proto/cosmos/query/v1/query_pb2.py | 26 + .../proto/cosmos/query/v1/query_pb2_grpc.py | 4 + .../cosmos/reflection/v1/reflection_pb2.py | 35 + .../reflection/v1/reflection_pb2_grpc.py | 85 + .../cosmos/slashing/module/v1/module_pb2.py | 30 + .../slashing/module/v1/module_pb2_grpc.py | 4 + .../cosmos/slashing/v1beta1/genesis_pb2.py | 51 + .../slashing/v1beta1/genesis_pb2_grpc.py | 4 + .../cosmos/slashing/v1beta1/query_pb2.py | 59 + .../cosmos/slashing/v1beta1/query_pb2_grpc.py | 169 + .../cosmos/slashing/v1beta1/slashing_pb2.py | 50 + .../slashing/v1beta1/slashing_pb2_grpc.py | 4 + .../proto/cosmos/slashing/v1beta1/tx_pb2.py | 52 + .../cosmos/slashing/v1beta1/tx_pb2_grpc.py | 130 + .../cosmos/staking/module/v1/module_pb2.py | 30 + .../staking/module/v1/module_pb2_grpc.py | 4 + .../proto/cosmos/staking/v1beta1/authz_pb2.py | 45 + .../cosmos/staking/v1beta1/authz_pb2_grpc.py | 4 + .../cosmos/staking/v1beta1/genesis_pb2.py | 51 + .../staking/v1beta1/genesis_pb2_grpc.py | 4 + .../proto/cosmos/staking/v1beta1/query_pb2.py | 186 ++ .../cosmos/staking/v1beta1/query_pb2_grpc.py | 678 ++++ .../cosmos/staking/v1beta1/staking_pb2.py | 222 ++ .../staking/v1beta1/staking_pb2_grpc.py | 4 + .../proto/cosmos/staking/v1beta1/tx_pb2.py | 137 + .../cosmos/staking/v1beta1/tx_pb2_grpc.py | 353 +++ .../store/internal/kv/v1beta1/kv_pb2.py | 32 + .../store/internal/kv/v1beta1/kv_pb2_grpc.py | 4 + .../cosmos/store/snapshots/v1/snapshot_pb2.py | 44 + .../store/snapshots/v1/snapshot_pb2_grpc.py | 4 + .../cosmos/store/streaming/abci/grpc_pb2.py | 37 + .../store/streaming/abci/grpc_pb2_grpc.py | 125 + .../cosmos/store/v1beta1/commit_info_pb2.py | 41 + .../store/v1beta1/commit_info_pb2_grpc.py | 4 + .../cosmos/store/v1beta1/listening_pb2.py | 30 + .../store/v1beta1/listening_pb2_grpc.py | 4 + .../proto/cosmos/tx/config/v1/config_pb2.py | 30 + .../cosmos/tx/config/v1/config_pb2_grpc.py | 4 + .../cosmos/tx/signing/v1beta1/signing_pb2.py | 39 + .../tx/signing/v1beta1/signing_pb2_grpc.py | 4 + .../proto/cosmos/tx/v1beta1/service_pb2.py | 101 + .../cosmos/tx/v1beta1/service_pb2_grpc.py | 443 +++ pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py | 76 + .../proto/cosmos/tx/v1beta1/tx_pb2_grpc.py | 4 + .../cosmos/upgrade/module/v1/module_pb2.py | 30 + .../upgrade/module/v1/module_pb2_grpc.py | 4 + .../proto/cosmos/upgrade/v1beta1/query_pb2.py | 63 + .../cosmos/upgrade/v1beta1/query_pb2_grpc.py | 266 ++ .../proto/cosmos/upgrade/v1beta1/tx_pb2.py | 52 + .../cosmos/upgrade/v1beta1/tx_pb2_grpc.py | 130 + .../cosmos/upgrade/v1beta1/upgrade_pb2.py | 52 + .../upgrade/v1beta1/upgrade_pb2_grpc.py | 4 + .../cosmos/vesting/module/v1/module_pb2.py | 30 + .../vesting/module/v1/module_pb2_grpc.py | 4 + .../proto/cosmos/vesting/v1beta1/tx_pb2.py | 67 + .../cosmos/vesting/v1beta1/tx_pb2_grpc.py | 176 ++ .../cosmos/vesting/v1beta1/vesting_pb2.py | 71 + .../vesting/v1beta1/vesting_pb2_grpc.py | 4 + .../proto/cosmwasm/wasm/v1/authz_pb2.py | 89 + .../proto/cosmwasm/wasm/v1/authz_pb2_grpc.py | 4 + .../proto/cosmwasm/wasm/v1/genesis_pb2.py | 59 + .../cosmwasm/wasm/v1/genesis_pb2_grpc.py | 4 + pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py | 40 + .../proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py | 4 + .../cosmwasm/wasm/v1/proposal_legacy_pb2.py | 150 + .../wasm/v1/proposal_legacy_pb2_grpc.py | 4 + .../proto/cosmwasm/wasm/v1/query_pb2.py | 163 + .../proto/cosmwasm/wasm/v1/query_pb2_grpc.py | 565 ++++ pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py | 247 ++ .../proto/cosmwasm/wasm/v1/tx_pb2_grpc.py | 811 +++++ .../proto/cosmwasm/wasm/v1/types_pb2.py | 128 + .../proto/cosmwasm/wasm/v1/types_pb2_grpc.py | 4 + .../proto/ibc/applications/fee/v1/ack_pb2.py | 27 + .../ibc/applications/fee/v1/ack_pb2_grpc.py | 4 + .../proto/ibc/applications/fee/v1/fee_pb2.py | 54 + .../ibc/applications/fee/v1/fee_pb2_grpc.py | 4 + .../ibc/applications/fee/v1/genesis_pb2.py | 50 + .../applications/fee/v1/genesis_pb2_grpc.py | 4 + .../ibc/applications/fee/v1/metadata_pb2.py | 27 + .../applications/fee/v1/metadata_pb2_grpc.py | 4 + .../ibc/applications/fee/v1/query_pb2.py | 114 + .../ibc/applications/fee/v1/query_pb2_grpc.py | 477 +++ .../proto/ibc/applications/fee/v1/tx_pb2.py | 64 + .../ibc/applications/fee/v1/tx_pb2_grpc.py | 227 ++ .../controller/v1/controller_pb2.py | 27 + .../controller/v1/controller_pb2_grpc.py | 4 + .../controller/v1/query_pb2.py | 41 + .../controller/v1/query_pb2_grpc.py | 125 + .../controller/v1/tx_pb2.py | 60 + .../controller/v1/tx_pb2_grpc.py | 169 + .../genesis/v1/genesis_pb2.py | 54 + .../genesis/v1/genesis_pb2_grpc.py | 4 + .../interchain_accounts/host/v1/host_pb2.py | 29 + .../host/v1/host_pb2_grpc.py | 4 + .../interchain_accounts/host/v1/query_pb2.py | 35 + .../host/v1/query_pb2_grpc.py | 81 + .../interchain_accounts/host/v1/tx_pb2.py | 46 + .../host/v1/tx_pb2_grpc.py | 125 + .../interchain_accounts/v1/account_pb2.py | 34 + .../v1/account_pb2_grpc.py | 4 + .../interchain_accounts/v1/metadata_pb2.py | 27 + .../v1/metadata_pb2_grpc.py | 4 + .../interchain_accounts/v1/packet_pb2.py | 39 + .../interchain_accounts/v1/packet_pb2_grpc.py | 4 + .../ibc/applications/transfer/v1/authz_pb2.py | 38 + .../transfer/v1/authz_pb2_grpc.py | 4 + .../applications/transfer/v1/genesis_pb2.py | 36 + .../transfer/v1/genesis_pb2_grpc.py | 4 + .../ibc/applications/transfer/v1/query_pb2.py | 72 + .../transfer/v1/query_pb2_grpc.py | 301 ++ .../applications/transfer/v1/transfer_pb2.py | 29 + .../transfer/v1/transfer_pb2_grpc.py | 4 + .../ibc/applications/transfer/v1/tx_pb2.py | 55 + .../applications/transfer/v1/tx_pb2_grpc.py | 125 + .../applications/transfer/v2/packet_pb2.py | 27 + .../transfer/v2/packet_pb2_grpc.py | 4 + .../proto/ibc/core/channel/v1/channel_pb2.py | 95 + .../ibc/core/channel/v1/channel_pb2_grpc.py | 4 + .../proto/ibc/core/channel/v1/genesis_pb2.py | 47 + .../ibc/core/channel/v1/genesis_pb2_grpc.py | 4 + .../proto/ibc/core/channel/v1/query_pb2.py | 172 + .../ibc/core/channel/v1/query_pb2_grpc.py | 793 +++++ .../proto/ibc/core/channel/v1/tx_pb2.py | 240 ++ .../proto/ibc/core/channel/v1/tx_pb2_grpc.py | 874 ++++++ .../proto/ibc/core/channel/v1/upgrade_pb2.py | 43 + .../ibc/core/channel/v1/upgrade_pb2_grpc.py | 4 + .../proto/ibc/core/client/v1/client_pb2.py | 61 + .../ibc/core/client/v1/client_pb2_grpc.py | 4 + .../proto/ibc/core/client/v1/genesis_pb2.py | 47 + .../ibc/core/client/v1/genesis_pb2_grpc.py | 4 + .../proto/ibc/core/client/v1/query_pb2.py | 108 + .../ibc/core/client/v1/query_pb2_grpc.py | 479 +++ .../proto/ibc/core/client/v1/tx_pb2.py | 80 + .../proto/ibc/core/client/v1/tx_pb2_grpc.py | 345 ++ .../ibc/core/commitment/v1/commitment_pb2.py | 37 + .../core/commitment/v1/commitment_pb2_grpc.py | 4 + .../ibc/core/connection/v1/connection_pb2.py | 67 + .../core/connection/v1/connection_pb2_grpc.py | 4 + .../ibc/core/connection/v1/genesis_pb2.py | 35 + .../core/connection/v1/genesis_pb2_grpc.py | 4 + .../proto/ibc/core/connection/v1/query_pb2.py | 79 + .../ibc/core/connection/v1/query_pb2_grpc.py | 304 ++ .../proto/ibc/core/connection/v1/tx_pb2.py | 82 + .../ibc/core/connection/v1/tx_pb2_grpc.py | 259 ++ .../proto/ibc/core/types/v1/genesis_pb2.py | 37 + .../ibc/core/types/v1/genesis_pb2_grpc.py | 4 + .../localhost/v2/localhost_pb2.py | 33 + .../localhost/v2/localhost_pb2_grpc.py | 4 + .../solomachine/v2/solomachine_pb2.py | 109 + .../solomachine/v2/solomachine_pb2_grpc.py | 4 + .../solomachine/v3/solomachine_pb2.py | 59 + .../solomachine/v3/solomachine_pb2_grpc.py | 4 + .../tendermint/v1/tendermint_pb2.py | 81 + .../tendermint/v1/tendermint_pb2_grpc.py | 4 + .../ibc/lightclients/wasm/v1/genesis_pb2.py | 34 + .../lightclients/wasm/v1/genesis_pb2_grpc.py | 4 + .../ibc/lightclients/wasm/v1/query_pb2.py | 41 + .../lightclients/wasm/v1/query_pb2_grpc.py | 125 + .../proto/ibc/lightclients/wasm/v1/tx_pb2.py | 48 + .../ibc/lightclients/wasm/v1/tx_pb2_grpc.py | 169 + .../ibc/lightclients/wasm/v1/wasm_pb2.py | 45 + .../ibc/lightclients/wasm/v1/wasm_pb2_grpc.py | 4 + .../injective/auction/v1beta1/auction_pb2.py | 58 + .../auction/v1beta1/auction_pb2_grpc.py | 4 + .../injective/auction/v1beta1/genesis_pb2.py | 31 + .../auction/v1beta1/genesis_pb2_grpc.py | 4 + .../injective/auction/v1beta1/query_pb2.py | 62 + .../auction/v1beta1/query_pb2_grpc.py | 212 ++ .../proto/injective/auction/v1beta1/tx_pb2.py | 53 + .../injective/auction/v1beta1/tx_pb2_grpc.py | 124 + .../crypto/v1beta1/ethsecp256k1/keys_pb2.py | 35 + .../v1beta1/ethsecp256k1/keys_pb2_grpc.py | 4 + .../injective/exchange/v1beta1/authz_pb2.py | 71 + .../exchange/v1beta1/authz_pb2_grpc.py | 4 + .../injective/exchange/v1beta1/events_pb2.py | 149 + .../exchange/v1beta1/events_pb2_grpc.py | 4 + .../exchange/v1beta1/exchange_pb2.py | 419 +++ .../exchange/v1beta1/exchange_pb2_grpc.py | 4 + .../injective/exchange/v1beta1/genesis_pb2.py | 104 + .../exchange/v1beta1/genesis_pb2_grpc.py | 4 + .../exchange/v1beta1/proposal_pb2.py | 221 ++ .../exchange/v1beta1/proposal_pb2_grpc.py | 4 + .../injective/exchange/v1beta1/query_pb2.py | 560 ++++ .../exchange/v1beta1/query_pb2_grpc.py | 2767 +++++++++++++++++ .../injective/exchange/v1beta1/tx_pb2.py | 439 +++ .../injective/exchange/v1beta1/tx_pb2_grpc.py | 1595 ++++++++++ .../injective/insurance/v1beta1/events_pb2.py | 46 + .../insurance/v1beta1/events_pb2_grpc.py | 4 + .../insurance/v1beta1/genesis_pb2.py | 35 + .../insurance/v1beta1/genesis_pb2_grpc.py | 4 + .../insurance/v1beta1/insurance_pb2.py | 51 + .../insurance/v1beta1/insurance_pb2_grpc.py | 4 + .../injective/insurance/v1beta1/query_pb2.py | 76 + .../insurance/v1beta1/query_pb2_grpc.py | 302 ++ .../injective/insurance/v1beta1/tx_pb2.py | 70 + .../insurance/v1beta1/tx_pb2_grpc.py | 214 ++ .../injective/ocr/v1beta1/genesis_pb2.py | 48 + .../injective/ocr/v1beta1/genesis_pb2_grpc.py | 4 + .../proto/injective/ocr/v1beta1/ocr_pb2.py | 114 + .../injective/ocr/v1beta1/ocr_pb2_grpc.py | 4 + .../proto/injective/ocr/v1beta1/query_pb2.py | 78 + .../injective/ocr/v1beta1/query_pb2_grpc.py | 345 ++ .../proto/injective/ocr/v1beta1/tx_pb2.py | 101 + .../injective/ocr/v1beta1/tx_pb2_grpc.py | 436 +++ .../injective/oracle/v1beta1/events_pb2.py | 62 + .../oracle/v1beta1/events_pb2_grpc.py | 4 + .../injective/oracle/v1beta1/genesis_pb2.py | 35 + .../oracle/v1beta1/genesis_pb2_grpc.py | 4 + .../injective/oracle/v1beta1/oracle_pb2.py | 124 + .../oracle/v1beta1/oracle_pb2_grpc.py | 4 + .../injective/oracle/v1beta1/proposal_pb2.py | 78 + .../oracle/v1beta1/proposal_pb2_grpc.py | 4 + .../injective/oracle/v1beta1/query_pb2.py | 155 + .../oracle/v1beta1/query_pb2_grpc.py | 781 +++++ .../proto/injective/oracle/v1beta1/tx_pb2.py | 90 + .../injective/oracle/v1beta1/tx_pb2_grpc.py | 393 +++ .../injective/peggy/v1/attestation_pb2.py | 47 + .../peggy/v1/attestation_pb2_grpc.py | 4 + .../proto/injective/peggy/v1/batch_pb2.py | 30 + .../injective/peggy/v1/batch_pb2_grpc.py | 4 + .../injective/peggy/v1/ethereum_signer_pb2.py | 30 + .../peggy/v1/ethereum_signer_pb2_grpc.py | 4 + .../proto/injective/peggy/v1/events_pb2.py | 72 + .../injective/peggy/v1/events_pb2_grpc.py | 4 + .../proto/injective/peggy/v1/genesis_pb2.py | 36 + .../injective/peggy/v1/genesis_pb2_grpc.py | 4 + .../proto/injective/peggy/v1/msgs_pb2.py | 156 + .../proto/injective/peggy/v1/msgs_pb2_grpc.py | 639 ++++ .../proto/injective/peggy/v1/params_pb2.py | 44 + .../injective/peggy/v1/params_pb2_grpc.py | 4 + .../proto/injective/peggy/v1/pool_pb2.py | 32 + .../proto/injective/peggy/v1/pool_pb2_grpc.py | 4 + .../proto/injective/peggy/v1/query_pb2.py | 163 + .../injective/peggy/v1/query_pb2_grpc.py | 945 ++++++ .../proto/injective/peggy/v1/types_pb2.py | 38 + .../injective/peggy/v1/types_pb2_grpc.py | 4 + .../permissions/v1beta1/events_pb2.py | 32 + .../permissions/v1beta1/events_pb2_grpc.py | 4 + .../permissions/v1beta1/genesis_pb2.py | 34 + .../permissions/v1beta1/genesis_pb2_grpc.py | 4 + .../permissions/v1beta1/params_pb2.py | 33 + .../permissions/v1beta1/params_pb2_grpc.py | 4 + .../permissions/v1beta1/permissions_pb2.py | 43 + .../v1beta1/permissions_pb2_grpc.py | 4 + .../permissions/v1beta1/query_pb2.py | 74 + .../permissions/v1beta1/query_pb2_grpc.py | 308 ++ .../injective/permissions/v1beta1/tx_pb2.py | 105 + .../permissions/v1beta1/tx_pb2_grpc.py | 338 ++ .../injective/stream/v1beta1/query_pb2.py | 141 + .../stream/v1beta1/query_pb2_grpc.py | 80 + .../v1beta1/authorityMetadata_pb2.py | 33 + .../v1beta1/authorityMetadata_pb2_grpc.py | 4 + .../tokenfactory/v1beta1/events_pb2.py | 45 + .../tokenfactory/v1beta1/events_pb2_grpc.py | 4 + .../tokenfactory/v1beta1/genesis_pb2.py | 48 + .../tokenfactory/v1beta1/genesis_pb2_grpc.py | 4 + .../tokenfactory/v1beta1/params_pb2.py | 36 + .../tokenfactory/v1beta1/params_pb2_grpc.py | 4 + .../tokenfactory/v1beta1/query_pb2.py | 69 + .../tokenfactory/v1beta1/query_pb2_grpc.py | 216 ++ .../injective/tokenfactory/v1beta1/tx_pb2.py | 106 + .../tokenfactory/v1beta1/tx_pb2_grpc.py | 295 ++ .../injective/types/v1beta1/account_pb2.py | 36 + .../types/v1beta1/account_pb2_grpc.py | 4 + .../injective/types/v1beta1/tx_ext_pb2.py | 30 + .../types/v1beta1/tx_ext_pb2_grpc.py | 4 + .../types/v1beta1/tx_response_pb2.py | 29 + .../types/v1beta1/tx_response_pb2_grpc.py | 4 + .../proto/injective/wasmx/v1/events_pb2.py | 34 + .../injective/wasmx/v1/events_pb2_grpc.py | 4 + .../proto/injective/wasmx/v1/genesis_pb2.py | 35 + .../injective/wasmx/v1/genesis_pb2_grpc.py | 4 + .../proto/injective/wasmx/v1/proposal_pb2.py | 57 + .../injective/wasmx/v1/proposal_pb2_grpc.py | 4 + .../proto/injective/wasmx/v1/query_pb2.py | 51 + .../injective/wasmx/v1/query_pb2_grpc.py | 169 + .../proto/injective/wasmx/v1/tx_pb2.py | 80 + .../proto/injective/wasmx/v1/tx_pb2_grpc.py | 295 ++ .../proto/injective/wasmx/v1/wasmx_pb2.py | 45 + .../injective/wasmx/v1/wasmx_pb2_grpc.py | 4 + .../proto/tendermint/abci/types_pb2.py | 199 ++ .../proto/tendermint/abci/types_pb2_grpc.py | 731 +++++ .../proto/tendermint/crypto/keys_pb2.py | 30 + .../proto/tendermint/crypto/keys_pb2_grpc.py | 4 + .../proto/tendermint/crypto/proof_pb2.py | 38 + .../proto/tendermint/crypto/proof_pb2_grpc.py | 4 + .../proto/tendermint/libs/bits/types_pb2.py | 27 + .../tendermint/libs/bits/types_pb2_grpc.py | 4 + pyinjective/proto/tendermint/p2p/types_pb2.py | 48 + .../proto/tendermint/p2p/types_pb2_grpc.py | 4 + .../proto/tendermint/types/block_pb2.py | 36 + .../proto/tendermint/types/block_pb2_grpc.py | 4 + .../proto/tendermint/types/evidence_pb2.py | 43 + .../tendermint/types/evidence_pb2_grpc.py | 4 + .../proto/tendermint/types/params_pb2.py | 47 + .../proto/tendermint/types/params_pb2_grpc.py | 4 + .../proto/tendermint/types/types_pb2.py | 108 + .../proto/tendermint/types/types_pb2_grpc.py | 4 + .../proto/tendermint/types/validator_pb2.py | 47 + .../tendermint/types/validator_pb2_grpc.py | 4 + .../proto/tendermint/version/types_pb2.py | 32 + .../tendermint/version/types_pb2_grpc.py | 4 + 513 files changed, 46054 insertions(+) create mode 100644 pyinjective/proto/__init__.py create mode 100644 pyinjective/proto/amino/amino_pb2.py create mode 100644 pyinjective/proto/amino/amino_pb2_grpc.py create mode 100644 pyinjective/proto/capability/v1/capability_pb2.py create mode 100644 pyinjective/proto/capability/v1/capability_pb2_grpc.py create mode 100644 pyinjective/proto/capability/v1/genesis_pb2.py create mode 100644 pyinjective/proto/capability/v1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py create mode 100644 pyinjective/proto/cosmos/app/v1alpha1/config_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/app/v1alpha1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/app/v1alpha1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/auth/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/auth/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py create mode 100644 pyinjective/proto/cosmos/auth/v1beta1/auth_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/auth/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/auth/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/authz/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/authz/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py create mode 100644 pyinjective/proto/cosmos/authz/v1beta1/authz_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py create mode 100644 pyinjective/proto/cosmos/authz/v1beta1/event_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/authz/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/autocli/v1/options_pb2.py create mode 100644 pyinjective/proto/cosmos/autocli/v1/options_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/autocli/v1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/autocli/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/bank/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/bank/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py create mode 100644 pyinjective/proto/cosmos/bank/v1beta1/authz_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py create mode 100644 pyinjective/proto/cosmos/bank/v1beta1/bank_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py create mode 100644 pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/bank/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/bank/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py create mode 100644 pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/base/node/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py create mode 100644 pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py create mode 100644 pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py create mode 100644 pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py create mode 100644 pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/base/v1beta1/coin_pb2.py create mode 100644 pyinjective/proto/cosmos/base/v1beta1/coin_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/circuit/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/circuit/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/circuit/v1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/circuit/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/circuit/v1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/circuit/v1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/circuit/v1/types_pb2.py create mode 100644 pyinjective/proto/cosmos/circuit/v1/types_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/consensus/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/consensus/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/consensus/v1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/consensus/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/consensus/v1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/consensus/v1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/crisis/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py create mode 100644 pyinjective/proto/cosmos/crypto/ed25519/keys_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2.py create mode 100644 pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2.py create mode 100644 pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/crypto/multisig/keys_pb2.py create mode 100644 pyinjective/proto/cosmos/crypto/multisig/keys_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py create mode 100644 pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2.py create mode 100644 pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2.py create mode 100644 pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/distribution/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/distribution/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2.py create mode 100644 pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/distribution/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/distribution/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/evidence/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2.py create mode 100644 pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/evidence/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/evidence/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/feegrant/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2.py create mode 100644 pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/genutil/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/gov/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/gov/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/gov/v1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmos/gov/v1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/gov/v1/gov_pb2.py create mode 100644 pyinjective/proto/cosmos/gov/v1/gov_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/gov/v1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/gov/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/gov/v1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/gov/v1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/gov/v1beta1/gov_pb2.py create mode 100644 pyinjective/proto/cosmos/gov/v1beta1/gov_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/gov/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/gov/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/gov/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/group/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/group/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/group/v1/events_pb2.py create mode 100644 pyinjective/proto/cosmos/group/v1/events_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/group/v1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmos/group/v1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/group/v1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/group/v1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/group/v1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/group/v1/types_pb2.py create mode 100644 pyinjective/proto/cosmos/group/v1/types_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py create mode 100644 pyinjective/proto/cosmos/ics23/v1/proofs_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/mint/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/mint/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/mint/v1beta1/mint_pb2.py create mode 100644 pyinjective/proto/cosmos/mint/v1beta1/mint_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/mint/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/mint/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/mint/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/msg/textual/v1/textual_pb2.py create mode 100644 pyinjective/proto/cosmos/msg/textual/v1/textual_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/msg/v1/msg_pb2.py create mode 100644 pyinjective/proto/cosmos/msg/v1/msg_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/nft/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/nft/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/nft/v1beta1/event_pb2.py create mode 100644 pyinjective/proto/cosmos/nft/v1beta1/event_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/nft/v1beta1/nft_pb2.py create mode 100644 pyinjective/proto/cosmos/nft/v1beta1/nft_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/nft/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/nft/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/nft/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/orm/v1/orm_pb2.py create mode 100644 pyinjective/proto/cosmos/orm/v1/orm_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2.py create mode 100644 pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/params/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/params/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/params/v1beta1/params_pb2.py create mode 100644 pyinjective/proto/cosmos/params/v1beta1/params_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/params/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/params/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/query/v1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/query/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/reflection/v1/reflection_pb2.py create mode 100644 pyinjective/proto/cosmos/reflection/v1/reflection_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/slashing/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/slashing/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/slashing/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py create mode 100644 pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/staking/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/staking/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/staking/v1beta1/authz_pb2.py create mode 100644 pyinjective/proto/cosmos/staking/v1beta1/authz_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/staking/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/staking/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py create mode 100644 pyinjective/proto/cosmos/staking/v1beta1/staking_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/staking/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/staking/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2.py create mode 100644 pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2.py create mode 100644 pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2.py create mode 100644 pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2.py create mode 100644 pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/store/v1beta1/listening_pb2.py create mode 100644 pyinjective/proto/cosmos/store/v1beta1/listening_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/tx/config/v1/config_pb2.py create mode 100644 pyinjective/proto/cosmos/tx/config/v1/config_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py create mode 100644 pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/tx/v1beta1/service_pb2.py create mode 100644 pyinjective/proto/cosmos/tx/v1beta1/service_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/tx/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/upgrade/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/upgrade/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py create mode 100644 pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/vesting/module/v1/module_pb2.py create mode 100644 pyinjective/proto/cosmos/vesting/module/v1/module_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py create mode 100644 pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2_grpc.py create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/authz_pb2_grpc.py create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2.py create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py create mode 100644 pyinjective/proto/cosmwasm/wasm/v1/types_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py create mode 100644 pyinjective/proto/ibc/applications/fee/v1/ack_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py create mode 100644 pyinjective/proto/ibc/applications/fee/v1/fee_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py create mode 100644 pyinjective/proto/ibc/applications/fee/v1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py create mode 100644 pyinjective/proto/ibc/applications/fee/v1/metadata_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/fee/v1/query_pb2.py create mode 100644 pyinjective/proto/ibc/applications/fee/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py create mode 100644 pyinjective/proto/ibc/applications/fee/v1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py create mode 100644 pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py create mode 100644 pyinjective/proto/ibc/applications/transfer/v1/authz_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py create mode 100644 pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py create mode 100644 pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py create mode 100644 pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py create mode 100644 pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py create mode 100644 pyinjective/proto/ibc/applications/transfer/v2/packet_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/core/channel/v1/channel_pb2.py create mode 100644 pyinjective/proto/ibc/core/channel/v1/channel_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py create mode 100644 pyinjective/proto/ibc/core/channel/v1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/core/channel/v1/query_pb2.py create mode 100644 pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/core/channel/v1/tx_pb2.py create mode 100644 pyinjective/proto/ibc/core/channel/v1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/core/channel/v1/upgrade_pb2.py create mode 100644 pyinjective/proto/ibc/core/channel/v1/upgrade_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/core/client/v1/client_pb2.py create mode 100644 pyinjective/proto/ibc/core/client/v1/client_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/core/client/v1/genesis_pb2.py create mode 100644 pyinjective/proto/ibc/core/client/v1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/core/client/v1/query_pb2.py create mode 100644 pyinjective/proto/ibc/core/client/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/core/client/v1/tx_pb2.py create mode 100644 pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py create mode 100644 pyinjective/proto/ibc/core/commitment/v1/commitment_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/core/connection/v1/connection_pb2.py create mode 100644 pyinjective/proto/ibc/core/connection/v1/connection_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/core/connection/v1/genesis_pb2.py create mode 100644 pyinjective/proto/ibc/core/connection/v1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/core/connection/v1/query_pb2.py create mode 100644 pyinjective/proto/ibc/core/connection/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/core/connection/v1/tx_pb2.py create mode 100644 pyinjective/proto/ibc/core/connection/v1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/core/types/v1/genesis_pb2.py create mode 100644 pyinjective/proto/ibc/core/types/v1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/lightclients/localhost/v2/localhost_pb2.py create mode 100644 pyinjective/proto/ibc/lightclients/localhost/v2/localhost_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2.py create mode 100644 pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py create mode 100644 pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py create mode 100644 pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/lightclients/wasm/v1/genesis_pb2.py create mode 100644 pyinjective/proto/ibc/lightclients/wasm/v1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/lightclients/wasm/v1/query_pb2.py create mode 100644 pyinjective/proto/ibc/lightclients/wasm/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/lightclients/wasm/v1/tx_pb2.py create mode 100644 pyinjective/proto/ibc/lightclients/wasm/v1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/ibc/lightclients/wasm/v1/wasm_pb2.py create mode 100644 pyinjective/proto/ibc/lightclients/wasm/v1/wasm_pb2_grpc.py create mode 100644 pyinjective/proto/injective/auction/v1beta1/auction_pb2.py create mode 100644 pyinjective/proto/injective/auction/v1beta1/auction_pb2_grpc.py create mode 100644 pyinjective/proto/injective/auction/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/injective/auction/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/injective/auction/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/injective/auction/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/injective/auction/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/injective/auction/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py create mode 100644 pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2_grpc.py create mode 100644 pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py create mode 100644 pyinjective/proto/injective/exchange/v1beta1/authz_pb2_grpc.py create mode 100644 pyinjective/proto/injective/exchange/v1beta1/events_pb2.py create mode 100644 pyinjective/proto/injective/exchange/v1beta1/events_pb2_grpc.py create mode 100644 pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py create mode 100644 pyinjective/proto/injective/exchange/v1beta1/exchange_pb2_grpc.py create mode 100644 pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/injective/exchange/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py create mode 100644 pyinjective/proto/injective/exchange/v1beta1/proposal_pb2_grpc.py create mode 100644 pyinjective/proto/injective/exchange/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/injective/exchange/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/injective/exchange/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/injective/insurance/v1beta1/events_pb2.py create mode 100644 pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py create mode 100644 pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/injective/insurance/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py create mode 100644 pyinjective/proto/injective/insurance/v1beta1/insurance_pb2_grpc.py create mode 100644 pyinjective/proto/injective/insurance/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/injective/insurance/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/injective/insurance/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/injective/ocr/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py create mode 100644 pyinjective/proto/injective/ocr/v1beta1/ocr_pb2_grpc.py create mode 100644 pyinjective/proto/injective/ocr/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/injective/ocr/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/injective/ocr/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/injective/ocr/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/injective/oracle/v1beta1/events_pb2.py create mode 100644 pyinjective/proto/injective/oracle/v1beta1/events_pb2_grpc.py create mode 100644 pyinjective/proto/injective/oracle/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/injective/oracle/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py create mode 100644 pyinjective/proto/injective/oracle/v1beta1/oracle_pb2_grpc.py create mode 100644 pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py create mode 100644 pyinjective/proto/injective/oracle/v1beta1/proposal_pb2_grpc.py create mode 100644 pyinjective/proto/injective/oracle/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/injective/oracle/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/injective/peggy/v1/attestation_pb2.py create mode 100644 pyinjective/proto/injective/peggy/v1/attestation_pb2_grpc.py create mode 100644 pyinjective/proto/injective/peggy/v1/batch_pb2.py create mode 100644 pyinjective/proto/injective/peggy/v1/batch_pb2_grpc.py create mode 100644 pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py create mode 100644 pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2_grpc.py create mode 100644 pyinjective/proto/injective/peggy/v1/events_pb2.py create mode 100644 pyinjective/proto/injective/peggy/v1/events_pb2_grpc.py create mode 100644 pyinjective/proto/injective/peggy/v1/genesis_pb2.py create mode 100644 pyinjective/proto/injective/peggy/v1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/injective/peggy/v1/msgs_pb2.py create mode 100644 pyinjective/proto/injective/peggy/v1/msgs_pb2_grpc.py create mode 100644 pyinjective/proto/injective/peggy/v1/params_pb2.py create mode 100644 pyinjective/proto/injective/peggy/v1/params_pb2_grpc.py create mode 100644 pyinjective/proto/injective/peggy/v1/pool_pb2.py create mode 100644 pyinjective/proto/injective/peggy/v1/pool_pb2_grpc.py create mode 100644 pyinjective/proto/injective/peggy/v1/query_pb2.py create mode 100644 pyinjective/proto/injective/peggy/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/injective/peggy/v1/types_pb2.py create mode 100644 pyinjective/proto/injective/peggy/v1/types_pb2_grpc.py create mode 100644 pyinjective/proto/injective/permissions/v1beta1/events_pb2.py create mode 100644 pyinjective/proto/injective/permissions/v1beta1/events_pb2_grpc.py create mode 100644 pyinjective/proto/injective/permissions/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/injective/permissions/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/injective/permissions/v1beta1/params_pb2.py create mode 100644 pyinjective/proto/injective/permissions/v1beta1/params_pb2_grpc.py create mode 100644 pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py create mode 100644 pyinjective/proto/injective/permissions/v1beta1/permissions_pb2_grpc.py create mode 100644 pyinjective/proto/injective/permissions/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/injective/stream/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py create mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2_grpc.py create mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py create mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2_grpc.py create mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py create mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py create mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2_grpc.py create mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py create mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2_grpc.py create mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py create mode 100644 pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/injective/types/v1beta1/account_pb2.py create mode 100644 pyinjective/proto/injective/types/v1beta1/account_pb2_grpc.py create mode 100644 pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py create mode 100644 pyinjective/proto/injective/types/v1beta1/tx_ext_pb2_grpc.py create mode 100644 pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py create mode 100644 pyinjective/proto/injective/types/v1beta1/tx_response_pb2_grpc.py create mode 100644 pyinjective/proto/injective/wasmx/v1/events_pb2.py create mode 100644 pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py create mode 100644 pyinjective/proto/injective/wasmx/v1/genesis_pb2.py create mode 100644 pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py create mode 100644 pyinjective/proto/injective/wasmx/v1/proposal_pb2.py create mode 100644 pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py create mode 100644 pyinjective/proto/injective/wasmx/v1/query_pb2.py create mode 100644 pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py create mode 100644 pyinjective/proto/injective/wasmx/v1/tx_pb2.py create mode 100644 pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py create mode 100644 pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py create mode 100644 pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/abci/types_pb2.py create mode 100644 pyinjective/proto/tendermint/abci/types_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/crypto/keys_pb2.py create mode 100644 pyinjective/proto/tendermint/crypto/keys_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/crypto/proof_pb2.py create mode 100644 pyinjective/proto/tendermint/crypto/proof_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/libs/bits/types_pb2.py create mode 100644 pyinjective/proto/tendermint/libs/bits/types_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/p2p/types_pb2.py create mode 100644 pyinjective/proto/tendermint/p2p/types_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/types/block_pb2.py create mode 100644 pyinjective/proto/tendermint/types/block_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/types/evidence_pb2.py create mode 100644 pyinjective/proto/tendermint/types/evidence_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/types/params_pb2.py create mode 100644 pyinjective/proto/tendermint/types/params_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/types/types_pb2.py create mode 100644 pyinjective/proto/tendermint/types/types_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/types/validator_pb2.py create mode 100644 pyinjective/proto/tendermint/types/validator_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/version/types_pb2.py create mode 100644 pyinjective/proto/tendermint/version/types_pb2_grpc.py diff --git a/pyinjective/proto/__init__.py b/pyinjective/proto/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyinjective/proto/amino/amino_pb2.py b/pyinjective/proto/amino/amino_pb2.py new file mode 100644 index 00000000..f4d639e0 --- /dev/null +++ b/pyinjective/proto/amino/amino_pb2.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: amino/amino.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x61mino/amino.proto\x12\x05\x61mino\x1a google/protobuf/descriptor.proto:6\n\x04name\x12\x1f.google.protobuf.MessageOptions\x18\xf1\x8c\xa6\x05 \x01(\tR\x04name:M\n\x10message_encoding\x12\x1f.google.protobuf.MessageOptions\x18\xf2\x8c\xa6\x05 \x01(\tR\x0fmessageEncoding:<\n\x08\x65ncoding\x12\x1d.google.protobuf.FieldOptions\x18\xf3\x8c\xa6\x05 \x01(\tR\x08\x65ncoding:?\n\nfield_name\x12\x1d.google.protobuf.FieldOptions\x18\xf4\x8c\xa6\x05 \x01(\tR\tfieldName:G\n\x0e\x64ont_omitempty\x12\x1d.google.protobuf.FieldOptions\x18\xf5\x8c\xa6\x05 \x01(\x08R\rdontOmitempty:?\n\noneof_name\x12\x1d.google.protobuf.FieldOptions\x18\xf6\x8c\xa6\x05 \x01(\tR\toneofNameBx\n\tcom.aminoB\nAminoProtoP\x01Z+github.com/cosmos/cosmos-sdk/types/tx/amino\xa2\x02\x03\x41XX\xaa\x02\x05\x41mino\xca\x02\x05\x41mino\xe2\x02\x11\x41mino\\GPBMetadata\xea\x02\x05\x41minob\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'amino.amino_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\tcom.aminoB\nAminoProtoP\001Z+github.com/cosmos/cosmos-sdk/types/tx/amino\242\002\003AXX\252\002\005Amino\312\002\005Amino\342\002\021Amino\\GPBMetadata\352\002\005Amino' +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/amino/amino_pb2_grpc.py b/pyinjective/proto/amino/amino_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/amino/amino_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/capability/v1/capability_pb2.py b/pyinjective/proto/capability/v1/capability_pb2.py new file mode 100644 index 00000000..bcb76116 --- /dev/null +++ b/pyinjective/proto/capability/v1/capability_pb2.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: capability/v1/capability.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63\x61pability/v1/capability.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"(\n\nCapability\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index:\x04\x98\xa0\x1f\x00\"=\n\x05Owner\x12\x16\n\x06module\x18\x01 \x01(\tR\x06module\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"K\n\x10\x43\x61pabilityOwners\x12\x37\n\x06owners\x18\x01 \x03(\x0b\x32\x14.capability.v1.OwnerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06ownersB\xac\x01\n\x11\x63om.capability.v1B\x0f\x43\x61pabilityProtoP\x01Z1github.com/cosmos/ibc-go/modules/capability/types\xa2\x02\x03\x43XX\xaa\x02\rCapability.V1\xca\x02\rCapability\\V1\xe2\x02\x19\x43\x61pability\\V1\\GPBMetadata\xea\x02\x0e\x43\x61pability::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.capability_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.capability.v1B\017CapabilityProtoP\001Z1github.com/cosmos/ibc-go/modules/capability/types\242\002\003CXX\252\002\rCapability.V1\312\002\rCapability\\V1\342\002\031Capability\\V1\\GPBMetadata\352\002\016Capability::V1' + _globals['_CAPABILITY']._loaded_options = None + _globals['_CAPABILITY']._serialized_options = b'\230\240\037\000' + _globals['_OWNER']._loaded_options = None + _globals['_OWNER']._serialized_options = b'\210\240\037\000\230\240\037\000' + _globals['_CAPABILITYOWNERS'].fields_by_name['owners']._loaded_options = None + _globals['_CAPABILITYOWNERS'].fields_by_name['owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_CAPABILITY']._serialized_start=90 + _globals['_CAPABILITY']._serialized_end=130 + _globals['_OWNER']._serialized_start=132 + _globals['_OWNER']._serialized_end=193 + _globals['_CAPABILITYOWNERS']._serialized_start=195 + _globals['_CAPABILITYOWNERS']._serialized_end=270 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/capability_pb2_grpc.py b/pyinjective/proto/capability/v1/capability_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/capability/v1/capability_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/capability/v1/genesis_pb2.py b/pyinjective/proto/capability/v1/genesis_pb2.py new file mode 100644 index 00000000..5504049e --- /dev/null +++ b/pyinjective/proto/capability/v1/genesis_pb2.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: capability/v1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from capability.v1 import capability_pb2 as capability_dot_v1_dot_capability__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63\x61pability/v1/genesis.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63\x61pability/v1/capability.proto\x1a\x11\x61mino/amino.proto\"t\n\rGenesisOwners\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index\x12M\n\x0cindex_owners\x18\x02 \x01(\x0b\x32\x1f.capability.v1.CapabilityOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0bindexOwners\"e\n\x0cGenesisState\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index\x12?\n\x06owners\x18\x02 \x03(\x0b\x32\x1c.capability.v1.GenesisOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06ownersB\xa9\x01\n\x11\x63om.capability.v1B\x0cGenesisProtoP\x01Z1github.com/cosmos/ibc-go/modules/capability/types\xa2\x02\x03\x43XX\xaa\x02\rCapability.V1\xca\x02\rCapability\\V1\xe2\x02\x19\x43\x61pability\\V1\\GPBMetadata\xea\x02\x0e\x43\x61pability::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.capability.v1B\014GenesisProtoP\001Z1github.com/cosmos/ibc-go/modules/capability/types\242\002\003CXX\252\002\rCapability.V1\312\002\rCapability\\V1\342\002\031Capability\\V1\\GPBMetadata\352\002\016Capability::V1' + _globals['_GENESISOWNERS'].fields_by_name['index_owners']._loaded_options = None + _globals['_GENESISOWNERS'].fields_by_name['index_owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['owners']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISOWNERS']._serialized_start=119 + _globals['_GENESISOWNERS']._serialized_end=235 + _globals['_GENESISSTATE']._serialized_start=237 + _globals['_GENESISSTATE']._serialized_end=338 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/genesis_pb2_grpc.py b/pyinjective/proto/capability/v1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/capability/v1/genesis_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/cosmos/app/runtime/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py new file mode 100644 index 00000000..cd567873 --- /dev/null +++ b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/app/runtime/v1alpha1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(cosmos/app/runtime/v1alpha1/module.proto\x12\x1b\x63osmos.app.runtime.v1alpha1\x1a cosmos/app/v1alpha1/module.proto\"\xdc\x03\n\x06Module\x12\x19\n\x08\x61pp_name\x18\x01 \x01(\tR\x07\x61ppName\x12%\n\x0e\x62\x65gin_blockers\x18\x02 \x03(\tR\rbeginBlockers\x12!\n\x0c\x65nd_blockers\x18\x03 \x03(\tR\x0b\x65ndBlockers\x12!\n\x0cinit_genesis\x18\x04 \x03(\tR\x0binitGenesis\x12%\n\x0e\x65xport_genesis\x18\x05 \x03(\tR\rexportGenesis\x12[\n\x13override_store_keys\x18\x06 \x03(\x0b\x32+.cosmos.app.runtime.v1alpha1.StoreKeyConfigR\x11overrideStoreKeys\x12)\n\x10order_migrations\x18\x07 \x03(\tR\x0forderMigrations\x12\"\n\x0cprecommiters\x18\x08 \x03(\tR\x0cprecommiters\x12\x32\n\x15prepare_check_staters\x18\t \x03(\tR\x13prepareCheckStaters:C\xba\xc0\x96\xda\x01=\n$github.com/cosmos/cosmos-sdk/runtime\x12\x15\n\x13\x63osmos.app.v1alpha1\"S\n\x0eStoreKeyConfig\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName\x12 \n\x0ckv_store_key\x18\x02 \x01(\tR\nkvStoreKeyB\xbd\x01\n\x1f\x63om.cosmos.app.runtime.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41R\xaa\x02\x1b\x43osmos.App.Runtime.V1alpha1\xca\x02\x1b\x43osmos\\App\\Runtime\\V1alpha1\xe2\x02\'Cosmos\\App\\Runtime\\V1alpha1\\GPBMetadata\xea\x02\x1e\x43osmos::App::Runtime::V1alpha1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.runtime.v1alpha1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.app.runtime.v1alpha1B\013ModuleProtoP\001\242\002\003CAR\252\002\033Cosmos.App.Runtime.V1alpha1\312\002\033Cosmos\\App\\Runtime\\V1alpha1\342\002\'Cosmos\\App\\Runtime\\V1alpha1\\GPBMetadata\352\002\036Cosmos::App::Runtime::V1alpha1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001=\n$github.com/cosmos/cosmos-sdk/runtime\022\025\n\023cosmos.app.v1alpha1' + _globals['_MODULE']._serialized_start=108 + _globals['_MODULE']._serialized_end=584 + _globals['_STOREKEYCONFIG']._serialized_start=586 + _globals['_STOREKEYCONFIG']._serialized_end=669 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_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/cosmos/app/v1alpha1/config_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py new file mode 100644 index 00000000..a86065bd --- /dev/null +++ b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/app/v1alpha1/config.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/app/v1alpha1/config.proto\x12\x13\x63osmos.app.v1alpha1\x1a\x19google/protobuf/any.proto\"\x92\x01\n\x06\x43onfig\x12;\n\x07modules\x18\x01 \x03(\x0b\x32!.cosmos.app.v1alpha1.ModuleConfigR\x07modules\x12K\n\x0fgolang_bindings\x18\x02 \x03(\x0b\x32\".cosmos.app.v1alpha1.GolangBindingR\x0egolangBindings\"\x9d\x01\n\x0cModuleConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12,\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06\x63onfig\x12K\n\x0fgolang_bindings\x18\x03 \x03(\x0b\x32\".cosmos.app.v1alpha1.GolangBindingR\x0egolangBindings\"^\n\rGolangBinding\x12%\n\x0einterface_type\x18\x01 \x01(\tR\rinterfaceType\x12&\n\x0eimplementation\x18\x02 \x01(\tR\x0eimplementationB\x94\x01\n\x17\x63om.cosmos.app.v1alpha1B\x0b\x43onfigProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.config_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.app.v1alpha1B\013ConfigProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1' + _globals['_CONFIG']._serialized_start=85 + _globals['_CONFIG']._serialized_end=231 + _globals['_MODULECONFIG']._serialized_start=234 + _globals['_MODULECONFIG']._serialized_end=391 + _globals['_GOLANGBINDING']._serialized_start=393 + _globals['_GOLANGBINDING']._serialized_end=487 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/v1alpha1/config_pb2_grpc.py b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/app/v1alpha1/config_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/cosmos/app/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py new file mode 100644 index 00000000..05c39db9 --- /dev/null +++ b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/app/v1alpha1/module.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/app/v1alpha1/module.proto\x12\x13\x63osmos.app.v1alpha1\x1a google/protobuf/descriptor.proto\"\xc7\x01\n\x10ModuleDescriptor\x12\x1b\n\tgo_import\x18\x01 \x01(\tR\x08goImport\x12\x46\n\x0buse_package\x18\x02 \x03(\x0b\x32%.cosmos.app.v1alpha1.PackageReferenceR\nusePackage\x12N\n\x10\x63\x61n_migrate_from\x18\x03 \x03(\x0b\x32$.cosmos.app.v1alpha1.MigrateFromInfoR\x0e\x63\x61nMigrateFrom\"B\n\x10PackageReference\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n\x08revision\x18\x02 \x01(\rR\x08revision\")\n\x0fMigrateFromInfo\x12\x16\n\x06module\x18\x01 \x01(\tR\x06module:a\n\x06module\x12\x1f.google.protobuf.MessageOptions\x18\x87\xe8\xa2\x1b \x01(\x0b\x32%.cosmos.app.v1alpha1.ModuleDescriptorR\x06moduleB\x94\x01\n\x17\x63om.cosmos.app.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.app.v1alpha1B\013ModuleProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1' + _globals['_MODULEDESCRIPTOR']._serialized_start=92 + _globals['_MODULEDESCRIPTOR']._serialized_end=291 + _globals['_PACKAGEREFERENCE']._serialized_start=293 + _globals['_PACKAGEREFERENCE']._serialized_end=359 + _globals['_MIGRATEFROMINFO']._serialized_start=361 + _globals['_MIGRATEFROMINFO']._serialized_end=402 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/v1alpha1/module_pb2_grpc.py b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/app/v1alpha1/module_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/cosmos/app/v1alpha1/query_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py new file mode 100644 index 00000000..448ab7c7 --- /dev/null +++ b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/app/v1alpha1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import config_pb2 as cosmos_dot_app_dot_v1alpha1_dot_config__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/app/v1alpha1/query.proto\x12\x13\x63osmos.app.v1alpha1\x1a cosmos/app/v1alpha1/config.proto\"\x14\n\x12QueryConfigRequest\"J\n\x13QueryConfigResponse\x12\x33\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1b.cosmos.app.v1alpha1.ConfigR\x06\x63onfig2f\n\x05Query\x12]\n\x06\x43onfig\x12\'.cosmos.app.v1alpha1.QueryConfigRequest\x1a(.cosmos.app.v1alpha1.QueryConfigResponse\"\x00\x42\x93\x01\n\x17\x63om.cosmos.app.v1alpha1B\nQueryProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.app.v1alpha1B\nQueryProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1' + _globals['_QUERYCONFIGREQUEST']._serialized_start=90 + _globals['_QUERYCONFIGREQUEST']._serialized_end=110 + _globals['_QUERYCONFIGRESPONSE']._serialized_start=112 + _globals['_QUERYCONFIGRESPONSE']._serialized_end=186 + _globals['_QUERY']._serialized_start=188 + _globals['_QUERY']._serialized_end=290 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/v1alpha1/query_pb2_grpc.py b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2_grpc.py new file mode 100644 index 00000000..86f0b576 --- /dev/null +++ b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2_grpc.py @@ -0,0 +1,81 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.app.v1alpha1 import query_pb2 as cosmos_dot_app_dot_v1alpha1_dot_query__pb2 + + +class QueryStub(object): + """Query is the app module query service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Config = channel.unary_unary( + '/cosmos.app.v1alpha1.Query/Config', + request_serializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigRequest.SerializeToString, + response_deserializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query is the app module query service. + """ + + def Config(self, request, context): + """Config returns the current app config. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Config': grpc.unary_unary_rpc_method_handler( + servicer.Config, + request_deserializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigRequest.FromString, + response_serializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.app.v1alpha1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.app.v1alpha1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query is the app module query service. + """ + + @staticmethod + def Config(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.app.v1alpha1.Query/Config', + cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigRequest.SerializeToString, + cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py b/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py new file mode 100644 index 00000000..15c313d5 --- /dev/null +++ b/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/auth/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/auth/module/v1/module.proto\x12\x15\x63osmos.auth.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\xe6\x01\n\x06Module\x12#\n\rbech32_prefix\x18\x01 \x01(\tR\x0c\x62\x65\x63h32Prefix\x12l\n\x1amodule_account_permissions\x18\x02 \x03(\x0b\x32..cosmos.auth.module.v1.ModuleAccountPermissionR\x18moduleAccountPermissions\x12\x1c\n\tauthority\x18\x03 \x01(\tR\tauthority:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/auth\"U\n\x17ModuleAccountPermission\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12 \n\x0bpermissions\x18\x02 \x03(\tR\x0bpermissionsB\x9f\x01\n\x19\x63om.cosmos.auth.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41M\xaa\x02\x15\x43osmos.Auth.Module.V1\xca\x02\x15\x43osmos\\Auth\\Module\\V1\xe2\x02!Cosmos\\Auth\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Auth::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.auth.module.v1B\013ModuleProtoP\001\242\002\003CAM\252\002\025Cosmos.Auth.Module.V1\312\002\025Cosmos\\Auth\\Module\\V1\342\002!Cosmos\\Auth\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Auth::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/auth' + _globals['_MODULE']._serialized_start=96 + _globals['_MODULE']._serialized_end=326 + _globals['_MODULEACCOUNTPERMISSION']._serialized_start=328 + _globals['_MODULEACCOUNTPERMISSION']._serialized_end=413 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/auth/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/auth/module/v1/module_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/cosmos/auth/v1beta1/auth_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py new file mode 100644 index 00000000..ab1b8bbc --- /dev/null +++ b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/auth/v1beta1/auth.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.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\x1e\x63osmos/auth/v1beta1/auth.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xa1\x02\n\x0b\x42\x61seAccount\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12V\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\'\xea\xde\x1f\x14public_key,omitempty\xa2\xe7\xb0*\npublic_keyR\x06pubKey\x12%\n\x0e\x61\x63\x63ount_number\x18\x03 \x01(\x04R\raccountNumber\x12\x1a\n\x08sequence\x18\x04 \x01(\x04R\x08sequence:C\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountI\x8a\xe7\xb0*\x16\x63osmos-sdk/BaseAccount\"\xec\x01\n\rModuleAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0bpermissions\x18\x03 \x03(\tR\x0bpermissions:Z\x88\xa0\x1f\x00\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountI\x8a\xe7\xb0*\x18\x63osmos-sdk/ModuleAccount\x92\xe7\xb0*\x0emodule_account\"\x84\x01\n\x10ModuleCredential\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName\x12\'\n\x0f\x64\x65rivation_keys\x18\x02 \x03(\x0cR\x0e\x64\x65rivationKeys:&\x8a\xe7\xb0*!cosmos-sdk/GroupAccountCredential\"\xd7\x02\n\x06Params\x12.\n\x13max_memo_characters\x18\x01 \x01(\x04R\x11maxMemoCharacters\x12 \n\x0ctx_sig_limit\x18\x02 \x01(\x04R\ntxSigLimit\x12\x30\n\x15tx_size_cost_per_byte\x18\x03 \x01(\x04R\x11txSizeCostPerByte\x12O\n\x17sig_verify_cost_ed25519\x18\x04 \x01(\x04\x42\x18\xe2\xde\x1f\x14SigVerifyCostED25519R\x14sigVerifyCostEd25519\x12U\n\x19sig_verify_cost_secp256k1\x18\x05 \x01(\x04\x42\x1a\xe2\xde\x1f\x16SigVerifyCostSecp256k1R\x16sigVerifyCostSecp256k1:!\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x18\x63osmos-sdk/x/auth/ParamsB\xbd\x01\n\x17\x63om.cosmos.auth.v1beta1B\tAuthProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.auth_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.auth.v1beta1B\tAuthProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1' + _globals['_BASEACCOUNT'].fields_by_name['address']._loaded_options = None + _globals['_BASEACCOUNT'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_BASEACCOUNT'].fields_by_name['pub_key']._loaded_options = None + _globals['_BASEACCOUNT'].fields_by_name['pub_key']._serialized_options = b'\352\336\037\024public_key,omitempty\242\347\260*\npublic_key' + _globals['_BASEACCOUNT']._loaded_options = None + _globals['_BASEACCOUNT']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\034cosmos.auth.v1beta1.AccountI\212\347\260*\026cosmos-sdk/BaseAccount' + _globals['_MODULEACCOUNT'].fields_by_name['base_account']._loaded_options = None + _globals['_MODULEACCOUNT'].fields_by_name['base_account']._serialized_options = b'\320\336\037\001' + _globals['_MODULEACCOUNT']._loaded_options = None + _globals['_MODULEACCOUNT']._serialized_options = b'\210\240\037\000\312\264-\"cosmos.auth.v1beta1.ModuleAccountI\212\347\260*\030cosmos-sdk/ModuleAccount\222\347\260*\016module_account' + _globals['_MODULECREDENTIAL']._loaded_options = None + _globals['_MODULECREDENTIAL']._serialized_options = b'\212\347\260*!cosmos-sdk/GroupAccountCredential' + _globals['_PARAMS'].fields_by_name['sig_verify_cost_ed25519']._loaded_options = None + _globals['_PARAMS'].fields_by_name['sig_verify_cost_ed25519']._serialized_options = b'\342\336\037\024SigVerifyCostED25519' + _globals['_PARAMS'].fields_by_name['sig_verify_cost_secp256k1']._loaded_options = None + _globals['_PARAMS'].fields_by_name['sig_verify_cost_secp256k1']._serialized_options = b'\342\336\037\026SigVerifyCostSecp256k1' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\030cosmos-sdk/x/auth/Params' + _globals['_BASEACCOUNT']._serialized_start=151 + _globals['_BASEACCOUNT']._serialized_end=440 + _globals['_MODULEACCOUNT']._serialized_start=443 + _globals['_MODULEACCOUNT']._serialized_end=679 + _globals['_MODULECREDENTIAL']._serialized_start=682 + _globals['_MODULECREDENTIAL']._serialized_end=814 + _globals['_PARAMS']._serialized_start=817 + _globals['_PARAMS']._serialized_end=1160 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2_grpc.py b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/auth/v1beta1/auth_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/cosmos/auth/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..4d0f61bb --- /dev/null +++ b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/auth/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/auth/v1beta1/genesis.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x11\x61mino/amino.proto\"\x80\x01\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12\x30\n\x08\x61\x63\x63ounts\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x61\x63\x63ountsB\xc0\x01\n\x17\x63om.cosmos.auth.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.auth.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE']._serialized_start=159 + _globals['_GENESISSTATE']._serialized_end=287 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/auth/v1beta1/genesis_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/cosmos/auth/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py new file mode 100644 index 00000000..940dd371 --- /dev/null +++ b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py @@ -0,0 +1,114 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/auth/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/auth/v1beta1/query.proto\x12\x13\x63osmos.auth.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto\"^\n\x14QueryAccountsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb4\x01\n\x15QueryAccountsResponse\x12R\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB \xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIR\x08\x61\x63\x63ounts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"S\n\x13QueryAccountRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"h\n\x14QueryAccountResponse\x12P\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB \xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIR\x07\x61\x63\x63ount\"\x14\n\x12QueryParamsRequest\"P\n\x13QueryParamsResponse\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1c\n\x1aQueryModuleAccountsRequest\"w\n\x1bQueryModuleAccountsResponse\x12X\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountIR\x08\x61\x63\x63ounts\"5\n\x1fQueryModuleAccountByNameRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"z\n QueryModuleAccountByNameResponse\x12V\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountIR\x07\x61\x63\x63ount\"\x15\n\x13\x42\x65\x63h32PrefixRequest\";\n\x14\x42\x65\x63h32PrefixResponse\x12#\n\rbech32_prefix\x18\x01 \x01(\tR\x0c\x62\x65\x63h32Prefix\"B\n\x1b\x41\x64\x64ressBytesToStringRequest\x12#\n\raddress_bytes\x18\x01 \x01(\x0cR\x0c\x61\x64\x64ressBytes\"E\n\x1c\x41\x64\x64ressBytesToStringResponse\x12%\n\x0e\x61\x64\x64ress_string\x18\x01 \x01(\tR\raddressString\"D\n\x1b\x41\x64\x64ressStringToBytesRequest\x12%\n\x0e\x61\x64\x64ress_string\x18\x01 \x01(\tR\raddressString\"C\n\x1c\x41\x64\x64ressStringToBytesResponse\x12#\n\raddress_bytes\x18\x01 \x01(\x0cR\x0c\x61\x64\x64ressBytes\"S\n\x1eQueryAccountAddressByIDRequest\x12\x12\n\x02id\x18\x01 \x01(\x03\x42\x02\x18\x01R\x02id\x12\x1d\n\naccount_id\x18\x02 \x01(\x04R\taccountId\"d\n\x1fQueryAccountAddressByIDResponse\x12\x41\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x61\x63\x63ountAddress\"M\n\x17QueryAccountInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"P\n\x18QueryAccountInfoResponse\x12\x34\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountR\x04info2\xef\x0c\n\x05Query\x12\x8d\x01\n\x08\x41\x63\x63ounts\x12).cosmos.auth.v1beta1.QueryAccountsRequest\x1a*.cosmos.auth.v1beta1.QueryAccountsResponse\"*\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/auth/v1beta1/accounts\x12\x94\x01\n\x07\x41\x63\x63ount\x12(.cosmos.auth.v1beta1.QueryAccountRequest\x1a).cosmos.auth.v1beta1.QueryAccountResponse\"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/auth/v1beta1/accounts/{address}\x12\xb5\x01\n\x12\x41\x63\x63ountAddressByID\x12\x33.cosmos.auth.v1beta1.QueryAccountAddressByIDRequest\x1a\x34.cosmos.auth.v1beta1.QueryAccountAddressByIDResponse\"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/auth/v1beta1/address_by_id/{id}\x12\x85\x01\n\x06Params\x12\'.cosmos.auth.v1beta1.QueryParamsRequest\x1a(.cosmos.auth.v1beta1.QueryParamsResponse\"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/auth/v1beta1/params\x12\xa6\x01\n\x0eModuleAccounts\x12/.cosmos.auth.v1beta1.QueryModuleAccountsRequest\x1a\x30.cosmos.auth.v1beta1.QueryModuleAccountsResponse\"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/auth/v1beta1/module_accounts\x12\xbc\x01\n\x13ModuleAccountByName\x12\x34.cosmos.auth.v1beta1.QueryModuleAccountByNameRequest\x1a\x35.cosmos.auth.v1beta1.QueryModuleAccountByNameResponse\"8\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/module_accounts/{name}\x12\x88\x01\n\x0c\x42\x65\x63h32Prefix\x12(.cosmos.auth.v1beta1.Bech32PrefixRequest\x1a).cosmos.auth.v1beta1.Bech32PrefixResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/auth/v1beta1/bech32\x12\xb0\x01\n\x14\x41\x64\x64ressBytesToString\x12\x30.cosmos.auth.v1beta1.AddressBytesToStringRequest\x1a\x31.cosmos.auth.v1beta1.AddressBytesToStringResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/bech32/{address_bytes}\x12\xb1\x01\n\x14\x41\x64\x64ressStringToBytes\x12\x30.cosmos.auth.v1beta1.AddressStringToBytesRequest\x1a\x31.cosmos.auth.v1beta1.AddressStringToBytesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/auth/v1beta1/bech32/{address_string}\x12\xa4\x01\n\x0b\x41\x63\x63ountInfo\x12,.cosmos.auth.v1beta1.QueryAccountInfoRequest\x1a-.cosmos.auth.v1beta1.QueryAccountInfoResponse\"8\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/account_info/{address}B\xbe\x01\n\x17\x63om.cosmos.auth.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.auth.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1' + _globals['_QUERYACCOUNTSRESPONSE'].fields_by_name['accounts']._loaded_options = None + _globals['_QUERYACCOUNTSRESPONSE'].fields_by_name['accounts']._serialized_options = b'\312\264-\034cosmos.auth.v1beta1.AccountI' + _globals['_QUERYACCOUNTREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYACCOUNTREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYACCOUNTREQUEST']._loaded_options = None + _globals['_QUERYACCOUNTREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYACCOUNTRESPONSE'].fields_by_name['account']._loaded_options = None + _globals['_QUERYACCOUNTRESPONSE'].fields_by_name['account']._serialized_options = b'\312\264-\034cosmos.auth.v1beta1.AccountI' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_QUERYMODULEACCOUNTSRESPONSE'].fields_by_name['accounts']._loaded_options = None + _globals['_QUERYMODULEACCOUNTSRESPONSE'].fields_by_name['accounts']._serialized_options = b'\312\264-\"cosmos.auth.v1beta1.ModuleAccountI' + _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE'].fields_by_name['account']._loaded_options = None + _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE'].fields_by_name['account']._serialized_options = b'\312\264-\"cosmos.auth.v1beta1.ModuleAccountI' + _globals['_QUERYACCOUNTADDRESSBYIDREQUEST'].fields_by_name['id']._loaded_options = None + _globals['_QUERYACCOUNTADDRESSBYIDREQUEST'].fields_by_name['id']._serialized_options = b'\030\001' + _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE'].fields_by_name['account_address']._loaded_options = None + _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE'].fields_by_name['account_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYACCOUNTINFOREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYACCOUNTINFOREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERY'].methods_by_name['Accounts']._loaded_options = None + _globals['_QUERY'].methods_by_name['Accounts']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\037\022\035/cosmos/auth/v1beta1/accounts' + _globals['_QUERY'].methods_by_name['Account']._loaded_options = None + _globals['_QUERY'].methods_by_name['Account']._serialized_options = b'\210\347\260*\001\202\323\344\223\002)\022\'/cosmos/auth/v1beta1/accounts/{address}' + _globals['_QUERY'].methods_by_name['AccountAddressByID']._loaded_options = None + _globals['_QUERY'].methods_by_name['AccountAddressByID']._serialized_options = b'\210\347\260*\001\202\323\344\223\002)\022\'/cosmos/auth/v1beta1/address_by_id/{id}' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/auth/v1beta1/params' + _globals['_QUERY'].methods_by_name['ModuleAccounts']._loaded_options = None + _globals['_QUERY'].methods_by_name['ModuleAccounts']._serialized_options = b'\210\347\260*\001\202\323\344\223\002&\022$/cosmos/auth/v1beta1/module_accounts' + _globals['_QUERY'].methods_by_name['ModuleAccountByName']._loaded_options = None + _globals['_QUERY'].methods_by_name['ModuleAccountByName']._serialized_options = b'\210\347\260*\001\202\323\344\223\002-\022+/cosmos/auth/v1beta1/module_accounts/{name}' + _globals['_QUERY'].methods_by_name['Bech32Prefix']._loaded_options = None + _globals['_QUERY'].methods_by_name['Bech32Prefix']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/auth/v1beta1/bech32' + _globals['_QUERY'].methods_by_name['AddressBytesToString']._loaded_options = None + _globals['_QUERY'].methods_by_name['AddressBytesToString']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/auth/v1beta1/bech32/{address_bytes}' + _globals['_QUERY'].methods_by_name['AddressStringToBytes']._loaded_options = None + _globals['_QUERY'].methods_by_name['AddressStringToBytes']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/auth/v1beta1/bech32/{address_string}' + _globals['_QUERY'].methods_by_name['AccountInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['AccountInfo']._serialized_options = b'\210\347\260*\001\202\323\344\223\002-\022+/cosmos/auth/v1beta1/account_info/{address}' + _globals['_QUERYACCOUNTSREQUEST']._serialized_start=267 + _globals['_QUERYACCOUNTSREQUEST']._serialized_end=361 + _globals['_QUERYACCOUNTSRESPONSE']._serialized_start=364 + _globals['_QUERYACCOUNTSRESPONSE']._serialized_end=544 + _globals['_QUERYACCOUNTREQUEST']._serialized_start=546 + _globals['_QUERYACCOUNTREQUEST']._serialized_end=629 + _globals['_QUERYACCOUNTRESPONSE']._serialized_start=631 + _globals['_QUERYACCOUNTRESPONSE']._serialized_end=735 + _globals['_QUERYPARAMSREQUEST']._serialized_start=737 + _globals['_QUERYPARAMSREQUEST']._serialized_end=757 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=759 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=839 + _globals['_QUERYMODULEACCOUNTSREQUEST']._serialized_start=841 + _globals['_QUERYMODULEACCOUNTSREQUEST']._serialized_end=869 + _globals['_QUERYMODULEACCOUNTSRESPONSE']._serialized_start=871 + _globals['_QUERYMODULEACCOUNTSRESPONSE']._serialized_end=990 + _globals['_QUERYMODULEACCOUNTBYNAMEREQUEST']._serialized_start=992 + _globals['_QUERYMODULEACCOUNTBYNAMEREQUEST']._serialized_end=1045 + _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE']._serialized_start=1047 + _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE']._serialized_end=1169 + _globals['_BECH32PREFIXREQUEST']._serialized_start=1171 + _globals['_BECH32PREFIXREQUEST']._serialized_end=1192 + _globals['_BECH32PREFIXRESPONSE']._serialized_start=1194 + _globals['_BECH32PREFIXRESPONSE']._serialized_end=1253 + _globals['_ADDRESSBYTESTOSTRINGREQUEST']._serialized_start=1255 + _globals['_ADDRESSBYTESTOSTRINGREQUEST']._serialized_end=1321 + _globals['_ADDRESSBYTESTOSTRINGRESPONSE']._serialized_start=1323 + _globals['_ADDRESSBYTESTOSTRINGRESPONSE']._serialized_end=1392 + _globals['_ADDRESSSTRINGTOBYTESREQUEST']._serialized_start=1394 + _globals['_ADDRESSSTRINGTOBYTESREQUEST']._serialized_end=1462 + _globals['_ADDRESSSTRINGTOBYTESRESPONSE']._serialized_start=1464 + _globals['_ADDRESSSTRINGTOBYTESRESPONSE']._serialized_end=1531 + _globals['_QUERYACCOUNTADDRESSBYIDREQUEST']._serialized_start=1533 + _globals['_QUERYACCOUNTADDRESSBYIDREQUEST']._serialized_end=1616 + _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE']._serialized_start=1618 + _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE']._serialized_end=1718 + _globals['_QUERYACCOUNTINFOREQUEST']._serialized_start=1720 + _globals['_QUERYACCOUNTINFOREQUEST']._serialized_end=1797 + _globals['_QUERYACCOUNTINFORESPONSE']._serialized_start=1799 + _globals['_QUERYACCOUNTINFORESPONSE']._serialized_end=1879 + _globals['_QUERY']._serialized_start=1882 + _globals['_QUERY']._serialized_end=3529 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..b8bcec08 --- /dev/null +++ b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2_grpc.py @@ -0,0 +1,494 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.auth.v1beta1 import query_pb2 as cosmos_dot_auth_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Accounts = channel.unary_unary( + '/cosmos.auth.v1beta1.Query/Accounts', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsResponse.FromString, + _registered_method=True) + self.Account = channel.unary_unary( + '/cosmos.auth.v1beta1.Query/Account', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountResponse.FromString, + _registered_method=True) + self.AccountAddressByID = channel.unary_unary( + '/cosmos.auth.v1beta1.Query/AccountAddressByID', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDResponse.FromString, + _registered_method=True) + self.Params = channel.unary_unary( + '/cosmos.auth.v1beta1.Query/Params', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + self.ModuleAccounts = channel.unary_unary( + '/cosmos.auth.v1beta1.Query/ModuleAccounts', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsResponse.FromString, + _registered_method=True) + self.ModuleAccountByName = channel.unary_unary( + '/cosmos.auth.v1beta1.Query/ModuleAccountByName', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameResponse.FromString, + _registered_method=True) + self.Bech32Prefix = channel.unary_unary( + '/cosmos.auth.v1beta1.Query/Bech32Prefix', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixResponse.FromString, + _registered_method=True) + self.AddressBytesToString = channel.unary_unary( + '/cosmos.auth.v1beta1.Query/AddressBytesToString', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringResponse.FromString, + _registered_method=True) + self.AddressStringToBytes = channel.unary_unary( + '/cosmos.auth.v1beta1.Query/AddressStringToBytes', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesResponse.FromString, + _registered_method=True) + self.AccountInfo = channel.unary_unary( + '/cosmos.auth.v1beta1.Query/AccountInfo', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def Accounts(self, request, context): + """Accounts returns all the existing accounts. + + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + + Since: cosmos-sdk 0.43 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Account(self, request, context): + """Account returns account details based on address. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AccountAddressByID(self, request, context): + """AccountAddressByID returns account address based on account number. + + Since: cosmos-sdk 0.46.2 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Params(self, request, context): + """Params queries all parameters. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ModuleAccounts(self, request, context): + """ModuleAccounts returns all the existing module accounts. + + Since: cosmos-sdk 0.46 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ModuleAccountByName(self, request, context): + """ModuleAccountByName returns the module account info by module name + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Bech32Prefix(self, request, context): + """Bech32Prefix queries bech32Prefix + + Since: cosmos-sdk 0.46 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddressBytesToString(self, request, context): + """AddressBytesToString converts Account Address bytes to string + + Since: cosmos-sdk 0.46 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddressStringToBytes(self, request, context): + """AddressStringToBytes converts Address string to bytes + + Since: cosmos-sdk 0.46 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AccountInfo(self, request, context): + """AccountInfo queries account info which is common to all account types. + + Since: cosmos-sdk 0.47 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Accounts': grpc.unary_unary_rpc_method_handler( + servicer.Accounts, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsResponse.SerializeToString, + ), + 'Account': grpc.unary_unary_rpc_method_handler( + servicer.Account, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountResponse.SerializeToString, + ), + 'AccountAddressByID': grpc.unary_unary_rpc_method_handler( + servicer.AccountAddressByID, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDResponse.SerializeToString, + ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'ModuleAccounts': grpc.unary_unary_rpc_method_handler( + servicer.ModuleAccounts, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsResponse.SerializeToString, + ), + 'ModuleAccountByName': grpc.unary_unary_rpc_method_handler( + servicer.ModuleAccountByName, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameResponse.SerializeToString, + ), + 'Bech32Prefix': grpc.unary_unary_rpc_method_handler( + servicer.Bech32Prefix, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixResponse.SerializeToString, + ), + 'AddressBytesToString': grpc.unary_unary_rpc_method_handler( + servicer.AddressBytesToString, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringResponse.SerializeToString, + ), + 'AddressStringToBytes': grpc.unary_unary_rpc_method_handler( + servicer.AddressStringToBytes, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesResponse.SerializeToString, + ), + 'AccountInfo': grpc.unary_unary_rpc_method_handler( + servicer.AccountInfo, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.auth.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.auth.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def Accounts(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.auth.v1beta1.Query/Accounts', + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsRequest.SerializeToString, + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Account(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.auth.v1beta1.Query/Account', + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountRequest.SerializeToString, + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AccountAddressByID(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.auth.v1beta1.Query/AccountAddressByID', + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDRequest.SerializeToString, + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.auth.v1beta1.Query/Params', + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ModuleAccounts(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.auth.v1beta1.Query/ModuleAccounts', + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsRequest.SerializeToString, + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ModuleAccountByName(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.auth.v1beta1.Query/ModuleAccountByName', + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameRequest.SerializeToString, + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Bech32Prefix(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.auth.v1beta1.Query/Bech32Prefix', + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixRequest.SerializeToString, + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AddressBytesToString(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.auth.v1beta1.Query/AddressBytesToString', + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringRequest.SerializeToString, + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AddressStringToBytes(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.auth.v1beta1.Query/AddressStringToBytes', + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesRequest.SerializeToString, + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AccountInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.auth.v1beta1.Query/AccountInfo', + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoRequest.SerializeToString, + cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py new file mode 100644 index 00000000..c6c92e0a --- /dev/null +++ b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/auth/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/auth/v1beta1/tx.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/auth/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.auth.v1beta1.MsgUpdateParams\x1a,.cosmos.auth.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.auth.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.auth.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/auth/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGUPDATEPARAMS']._serialized_start=179 + _globals['_MSGUPDATEPARAMS']._serialized_end=370 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=372 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=397 + _globals['_MSG']._serialized_start=399 + _globals['_MSG']._serialized_end=511 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..4c82c564 --- /dev/null +++ b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,84 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.auth.v1beta1 import tx_pb2 as cosmos_dot_auth_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the x/auth Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.UpdateParams = channel.unary_unary( + '/cosmos.auth.v1beta1.Msg/UpdateParams', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the x/auth Msg service. + """ + + def UpdateParams(self, request, context): + """UpdateParams defines a (governance) operation for updating the x/auth module + parameters. The authority defaults to the x/gov module account. + + Since: cosmos-sdk 0.47 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.auth.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.auth.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the x/auth Msg service. + """ + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.auth.v1beta1.Msg/UpdateParams', + cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py b/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py new file mode 100644 index 00000000..8a638957 --- /dev/null +++ b/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/authz/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/authz/module/v1/module.proto\x12\x16\x63osmos.authz.module.v1\x1a cosmos/app/v1alpha1/module.proto\"6\n\x06Module:,\xba\xc0\x96\xda\x01&\n$github.com/cosmos/cosmos-sdk/x/authzB\xa4\x01\n\x1a\x63om.cosmos.authz.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41M\xaa\x02\x16\x43osmos.Authz.Module.V1\xca\x02\x16\x43osmos\\Authz\\Module\\V1\xe2\x02\"Cosmos\\Authz\\Module\\V1\\GPBMetadata\xea\x02\x19\x43osmos::Authz::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.authz.module.v1B\013ModuleProtoP\001\242\002\003CAM\252\002\026Cosmos.Authz.Module.V1\312\002\026Cosmos\\Authz\\Module\\V1\342\002\"Cosmos\\Authz\\Module\\V1\\GPBMetadata\352\002\031Cosmos::Authz::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/authz' + _globals['_MODULE']._serialized_start=97 + _globals['_MODULE']._serialized_end=151 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/authz/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/authz/module/v1/module_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/cosmos/authz/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py new file mode 100644 index 00000000..8a24339f --- /dev/null +++ b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/authz/v1beta1/authz.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from pyinjective.proto.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 cosmos/authz/v1beta1/authz.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"t\n\x14GenericAuthorization\x12\x10\n\x03msg\x18\x01 \x01(\tR\x03msg:J\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1f\x63osmos-sdk/GenericAuthorization\"\xb1\x01\n\x05Grant\x12\x62\n\rauthorization\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationR\rauthorization\x12\x44\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x01\x90\xdf\x1f\x01R\nexpiration\"\xa2\x02\n\x12GrantAuthorization\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x62\n\rauthorization\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationR\rauthorization\x12@\n\nexpiration\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nexpiration\"4\n\x0eGrantQueueItem\x12\"\n\rmsg_type_urls\x18\x01 \x03(\tR\x0bmsgTypeUrlsB\xc2\x01\n\x18\x63om.cosmos.authz.v1beta1B\nAuthzProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.authz_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\nAuthzProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1\310\341\036\000' + _globals['_GENERICAUTHORIZATION']._loaded_options = None + _globals['_GENERICAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\037cosmos-sdk/GenericAuthorization' + _globals['_GRANT'].fields_by_name['authorization']._loaded_options = None + _globals['_GRANT'].fields_by_name['authorization']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' + _globals['_GRANT'].fields_by_name['expiration']._loaded_options = None + _globals['_GRANT'].fields_by_name['expiration']._serialized_options = b'\310\336\037\001\220\337\037\001' + _globals['_GRANTAUTHORIZATION'].fields_by_name['granter']._loaded_options = None + _globals['_GRANTAUTHORIZATION'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_GRANTAUTHORIZATION'].fields_by_name['grantee']._loaded_options = None + _globals['_GRANTAUTHORIZATION'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_GRANTAUTHORIZATION'].fields_by_name['authorization']._loaded_options = None + _globals['_GRANTAUTHORIZATION'].fields_by_name['authorization']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' + _globals['_GRANTAUTHORIZATION'].fields_by_name['expiration']._loaded_options = None + _globals['_GRANTAUTHORIZATION'].fields_by_name['expiration']._serialized_options = b'\220\337\037\001' + _globals['_GENERICAUTHORIZATION']._serialized_start=186 + _globals['_GENERICAUTHORIZATION']._serialized_end=302 + _globals['_GRANT']._serialized_start=305 + _globals['_GRANT']._serialized_end=482 + _globals['_GRANTAUTHORIZATION']._serialized_start=485 + _globals['_GRANTAUTHORIZATION']._serialized_end=775 + _globals['_GRANTQUEUEITEM']._serialized_start=777 + _globals['_GRANTQUEUEITEM']._serialized_end=829 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/authz/v1beta1/authz_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/cosmos/authz/v1beta1/event_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py new file mode 100644 index 00000000..7034cc15 --- /dev/null +++ b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/authz/v1beta1/event.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/authz/v1beta1/event.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\"\x96\x01\n\nEventGrant\x12 \n\x0cmsg_type_url\x18\x02 \x01(\tR\nmsgTypeUrl\x12\x32\n\x07granter\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\"\x97\x01\n\x0b\x45ventRevoke\x12 \n\x0cmsg_type_url\x18\x02 \x01(\tR\nmsgTypeUrl\x12\x32\n\x07granter\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granteeB\xbe\x01\n\x18\x63om.cosmos.authz.v1beta1B\nEventProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.event_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\nEventProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1' + _globals['_EVENTGRANT'].fields_by_name['granter']._loaded_options = None + _globals['_EVENTGRANT'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EVENTGRANT'].fields_by_name['grantee']._loaded_options = None + _globals['_EVENTGRANT'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EVENTREVOKE'].fields_by_name['granter']._loaded_options = None + _globals['_EVENTREVOKE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EVENTREVOKE'].fields_by_name['grantee']._loaded_options = None + _globals['_EVENTREVOKE'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EVENTGRANT']._serialized_start=86 + _globals['_EVENTGRANT']._serialized_end=236 + _globals['_EVENTREVOKE']._serialized_start=239 + _globals['_EVENTREVOKE']._serialized_end=390 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/event_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/authz/v1beta1/event_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/cosmos/authz/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..e287132a --- /dev/null +++ b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/authz/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.authz.v1beta1 import authz_pb2 as cosmos_dot_authz_dot_v1beta1_dot_authz__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/authz/v1beta1/genesis.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x14gogoproto/gogo.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x11\x61mino/amino.proto\"i\n\x0cGenesisState\x12Y\n\rauthorization\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rauthorizationB\xc0\x01\n\x18\x63om.cosmos.authz.v1beta1B\x0cGenesisProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\014GenesisProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['authorization']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['authorization']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE']._serialized_start=135 + _globals['_GENESISSTATE']._serialized_end=240 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/authz/v1beta1/genesis_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/cosmos/authz/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py new file mode 100644 index 00000000..50596cb8 --- /dev/null +++ b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py @@ -0,0 +1,57 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/authz/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.authz.v1beta1 import authz_pb2 as cosmos_dot_authz_dot_v1beta1_dot_authz__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/authz/v1beta1/query.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xe6\x01\n\x12QueryGrantsRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12 \n\x0cmsg_type_url\x18\x03 \x01(\tR\nmsgTypeUrl\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x93\x01\n\x13QueryGrantsResponse\x12\x33\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x97\x01\n\x19QueryGranterGrantsRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa7\x01\n\x1aQueryGranterGrantsResponse\x12@\n\x06grants\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x97\x01\n\x19QueryGranteeGrantsRequest\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa7\x01\n\x1aQueryGranteeGrantsResponse\x12@\n\x06grants\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xe7\x03\n\x05Query\x12\x83\x01\n\x06Grants\x12(.cosmos.authz.v1beta1.QueryGrantsRequest\x1a).cosmos.authz.v1beta1.QueryGrantsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/cosmos/authz/v1beta1/grants\x12\xaa\x01\n\rGranterGrants\x12/.cosmos.authz.v1beta1.QueryGranterGrantsRequest\x1a\x30.cosmos.authz.v1beta1.QueryGranterGrantsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/authz/v1beta1/grants/granter/{granter}\x12\xaa\x01\n\rGranteeGrants\x12/.cosmos.authz.v1beta1.QueryGranteeGrantsRequest\x1a\x30.cosmos.authz.v1beta1.QueryGranteeGrantsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/authz/v1beta1/grants/grantee/{grantee}B\xbe\x01\n\x18\x63om.cosmos.authz.v1beta1B\nQueryProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\nQueryProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1' + _globals['_QUERYGRANTSREQUEST'].fields_by_name['granter']._loaded_options = None + _globals['_QUERYGRANTSREQUEST'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYGRANTSREQUEST'].fields_by_name['grantee']._loaded_options = None + _globals['_QUERYGRANTSREQUEST'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYGRANTERGRANTSREQUEST'].fields_by_name['granter']._loaded_options = None + _globals['_QUERYGRANTERGRANTSREQUEST'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYGRANTEEGRANTSREQUEST'].fields_by_name['grantee']._loaded_options = None + _globals['_QUERYGRANTEEGRANTSREQUEST'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERY'].methods_by_name['Grants']._loaded_options = None + _globals['_QUERY'].methods_by_name['Grants']._serialized_options = b'\202\323\344\223\002\036\022\034/cosmos/authz/v1beta1/grants' + _globals['_QUERY'].methods_by_name['GranterGrants']._loaded_options = None + _globals['_QUERY'].methods_by_name['GranterGrants']._serialized_options = b'\202\323\344\223\0020\022./cosmos/authz/v1beta1/grants/granter/{granter}' + _globals['_QUERY'].methods_by_name['GranteeGrants']._loaded_options = None + _globals['_QUERY'].methods_by_name['GranteeGrants']._serialized_options = b'\202\323\344\223\0020\022./cosmos/authz/v1beta1/grants/grantee/{grantee}' + _globals['_QUERYGRANTSREQUEST']._serialized_start=194 + _globals['_QUERYGRANTSREQUEST']._serialized_end=424 + _globals['_QUERYGRANTSRESPONSE']._serialized_start=427 + _globals['_QUERYGRANTSRESPONSE']._serialized_end=574 + _globals['_QUERYGRANTERGRANTSREQUEST']._serialized_start=577 + _globals['_QUERYGRANTERGRANTSREQUEST']._serialized_end=728 + _globals['_QUERYGRANTERGRANTSRESPONSE']._serialized_start=731 + _globals['_QUERYGRANTERGRANTSRESPONSE']._serialized_end=898 + _globals['_QUERYGRANTEEGRANTSREQUEST']._serialized_start=901 + _globals['_QUERYGRANTEEGRANTSREQUEST']._serialized_end=1052 + _globals['_QUERYGRANTEEGRANTSRESPONSE']._serialized_start=1055 + _globals['_QUERYGRANTEEGRANTSRESPONSE']._serialized_end=1222 + _globals['_QUERY']._serialized_start=1225 + _globals['_QUERY']._serialized_end=1712 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..e75edd23 --- /dev/null +++ b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2_grpc.py @@ -0,0 +1,173 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.authz.v1beta1 import query_pb2 as cosmos_dot_authz_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Grants = channel.unary_unary( + '/cosmos.authz.v1beta1.Query/Grants', + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsRequest.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsResponse.FromString, + _registered_method=True) + self.GranterGrants = channel.unary_unary( + '/cosmos.authz.v1beta1.Query/GranterGrants', + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsRequest.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsResponse.FromString, + _registered_method=True) + self.GranteeGrants = channel.unary_unary( + '/cosmos.authz.v1beta1.Query/GranteeGrants', + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsRequest.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def Grants(self, request, context): + """Returns list of `Authorization`, granted to the grantee by the granter. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GranterGrants(self, request, context): + """GranterGrants returns list of `GrantAuthorization`, granted by granter. + + Since: cosmos-sdk 0.46 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GranteeGrants(self, request, context): + """GranteeGrants returns a list of `GrantAuthorization` by grantee. + + Since: cosmos-sdk 0.46 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Grants': grpc.unary_unary_rpc_method_handler( + servicer.Grants, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsRequest.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsResponse.SerializeToString, + ), + 'GranterGrants': grpc.unary_unary_rpc_method_handler( + servicer.GranterGrants, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsRequest.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsResponse.SerializeToString, + ), + 'GranteeGrants': grpc.unary_unary_rpc_method_handler( + servicer.GranteeGrants, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsRequest.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.authz.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.authz.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def Grants(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.authz.v1beta1.Query/Grants', + cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsRequest.SerializeToString, + cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GranterGrants(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.authz.v1beta1.Query/GranterGrants', + cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsRequest.SerializeToString, + cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GranteeGrants(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.authz.v1beta1.Query/GranteeGrants', + cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsRequest.SerializeToString, + cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py new file mode 100644 index 00000000..b9448c92 --- /dev/null +++ b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py @@ -0,0 +1,75 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/authz/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.cosmos.authz.v1beta1 import authz_pb2 as cosmos_dot_authz_dot_v1beta1_dot_authz__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/authz/v1beta1/tx.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xd6\x01\n\x08MsgGrant\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12<\n\x05grant\x18\x03 \x01(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05grant:$\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x13\x63osmos-sdk/MsgGrant\"\x12\n\x10MsgGrantResponse\"\xa9\x01\n\x07MsgExec\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x45\n\x04msgs\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x1b\xca\xb4-\x17\x63osmos.base.v1beta1.MsgR\x04msgs:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec\"+\n\x0fMsgExecResponse\x12\x18\n\x07results\x18\x01 \x03(\x0cR\x07results\"\xbc\x01\n\tMsgRevoke\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12 \n\x0cmsg_type_url\x18\x03 \x01(\tR\nmsgTypeUrl:%\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgRevoke\"\x13\n\x11MsgRevokeResponse\"1\n\x15MsgExecCompatResponse\x12\x18\n\x07results\x18\x01 \x03(\x0cR\x07results\"|\n\rMsgExecCompat\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x12\n\x04msgs\x18\x02 \x03(\tR\x04msgs:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec2\xdf\x02\n\x03Msg\x12O\n\x05Grant\x12\x1e.cosmos.authz.v1beta1.MsgGrant\x1a&.cosmos.authz.v1beta1.MsgGrantResponse\x12L\n\x04\x45xec\x12\x1d.cosmos.authz.v1beta1.MsgExec\x1a%.cosmos.authz.v1beta1.MsgExecResponse\x12R\n\x06Revoke\x12\x1f.cosmos.authz.v1beta1.MsgRevoke\x1a\'.cosmos.authz.v1beta1.MsgRevokeResponse\x12^\n\nExecCompat\x12#.cosmos.authz.v1beta1.MsgExecCompat\x1a+.cosmos.authz.v1beta1.MsgExecCompatResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbf\x01\n\x18\x63om.cosmos.authz.v1beta1B\x07TxProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\007TxProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1\310\341\036\000' + _globals['_MSGGRANT'].fields_by_name['granter']._loaded_options = None + _globals['_MSGGRANT'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGGRANT'].fields_by_name['grantee']._loaded_options = None + _globals['_MSGGRANT'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGGRANT'].fields_by_name['grant']._loaded_options = None + _globals['_MSGGRANT'].fields_by_name['grant']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGGRANT']._loaded_options = None + _globals['_MSGGRANT']._serialized_options = b'\202\347\260*\007granter\212\347\260*\023cosmos-sdk/MsgGrant' + _globals['_MSGEXEC'].fields_by_name['grantee']._loaded_options = None + _globals['_MSGEXEC'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGEXEC'].fields_by_name['msgs']._loaded_options = None + _globals['_MSGEXEC'].fields_by_name['msgs']._serialized_options = b'\312\264-\027cosmos.base.v1beta1.Msg' + _globals['_MSGEXEC']._loaded_options = None + _globals['_MSGEXEC']._serialized_options = b'\202\347\260*\007grantee\212\347\260*\022cosmos-sdk/MsgExec' + _globals['_MSGREVOKE'].fields_by_name['granter']._loaded_options = None + _globals['_MSGREVOKE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGREVOKE'].fields_by_name['grantee']._loaded_options = None + _globals['_MSGREVOKE'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGREVOKE']._loaded_options = None + _globals['_MSGREVOKE']._serialized_options = b'\202\347\260*\007granter\212\347\260*\024cosmos-sdk/MsgRevoke' + _globals['_MSGEXECCOMPAT'].fields_by_name['grantee']._loaded_options = None + _globals['_MSGEXECCOMPAT'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGEXECCOMPAT']._loaded_options = None + _globals['_MSGEXECCOMPAT']._serialized_options = b'\202\347\260*\007grantee\212\347\260*\022cosmos-sdk/MsgExec' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGGRANT']._serialized_start=210 + _globals['_MSGGRANT']._serialized_end=424 + _globals['_MSGGRANTRESPONSE']._serialized_start=426 + _globals['_MSGGRANTRESPONSE']._serialized_end=444 + _globals['_MSGEXEC']._serialized_start=447 + _globals['_MSGEXEC']._serialized_end=616 + _globals['_MSGEXECRESPONSE']._serialized_start=618 + _globals['_MSGEXECRESPONSE']._serialized_end=661 + _globals['_MSGREVOKE']._serialized_start=664 + _globals['_MSGREVOKE']._serialized_end=852 + _globals['_MSGREVOKERESPONSE']._serialized_start=854 + _globals['_MSGREVOKERESPONSE']._serialized_end=873 + _globals['_MSGEXECCOMPATRESPONSE']._serialized_start=875 + _globals['_MSGEXECCOMPATRESPONSE']._serialized_end=924 + _globals['_MSGEXECCOMPAT']._serialized_start=926 + _globals['_MSGEXECCOMPAT']._serialized_end=1050 + _globals['_MSG']._serialized_start=1053 + _globals['_MSG']._serialized_end=1404 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..2a2458a1 --- /dev/null +++ b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,219 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.authz.v1beta1 import tx_pb2 as cosmos_dot_authz_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the authz Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Grant = channel.unary_unary( + '/cosmos.authz.v1beta1.Msg/Grant', + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrant.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrantResponse.FromString, + _registered_method=True) + self.Exec = channel.unary_unary( + '/cosmos.authz.v1beta1.Msg/Exec', + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExec.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecResponse.FromString, + _registered_method=True) + self.Revoke = channel.unary_unary( + '/cosmos.authz.v1beta1.Msg/Revoke', + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.FromString, + _registered_method=True) + self.ExecCompat = channel.unary_unary( + '/cosmos.authz.v1beta1.Msg/ExecCompat', + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the authz Msg service. + """ + + def Grant(self, request, context): + """Grant grants the provided authorization to the grantee on the granter's + account with the provided expiration time. If there is already a grant + for the given (granter, grantee, Authorization) triple, then the grant + will be overwritten. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Exec(self, request, context): + """Exec attempts to execute the provided messages using + authorizations granted to the grantee. Each message should have only + one signer corresponding to the granter of the authorization. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Revoke(self, request, context): + """Revoke revokes any authorization corresponding to the provided method name on the + granter's account that has been granted to the grantee. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ExecCompat(self, request, context): + """ExecCompat has same functionality as Exec but accepts array of json-encoded message string instead of []*Any + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Grant': grpc.unary_unary_rpc_method_handler( + servicer.Grant, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrant.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrantResponse.SerializeToString, + ), + 'Exec': grpc.unary_unary_rpc_method_handler( + servicer.Exec, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExec.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecResponse.SerializeToString, + ), + 'Revoke': grpc.unary_unary_rpc_method_handler( + servicer.Revoke, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.SerializeToString, + ), + 'ExecCompat': grpc.unary_unary_rpc_method_handler( + servicer.ExecCompat, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.authz.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.authz.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the authz Msg service. + """ + + @staticmethod + def Grant(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.authz.v1beta1.Msg/Grant', + cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrant.SerializeToString, + cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrantResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Exec(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.authz.v1beta1.Msg/Exec', + cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExec.SerializeToString, + cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Revoke(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.authz.v1beta1.Msg/Revoke', + cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.SerializeToString, + cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ExecCompat(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.authz.v1beta1.Msg/ExecCompat', + cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.SerializeToString, + cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/autocli/v1/options_pb2.py b/pyinjective/proto/cosmos/autocli/v1/options_pb2.py new file mode 100644 index 00000000..aa7f36c8 --- /dev/null +++ b/pyinjective/proto/cosmos/autocli/v1/options_pb2.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/autocli/v1/options.proto +# Protobuf Python Version: 5.26.1 +"""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\x1f\x63osmos/autocli/v1/options.proto\x12\x11\x63osmos.autocli.v1\"\x8f\x01\n\rModuleOptions\x12;\n\x02tx\x18\x01 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x02tx\x12\x41\n\x05query\x18\x02 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x05query\"\xd8\x02\n\x18ServiceCommandDescriptor\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12T\n\x13rpc_command_options\x18\x02 \x03(\x0b\x32$.cosmos.autocli.v1.RpcCommandOptionsR\x11rpcCommandOptions\x12_\n\x0csub_commands\x18\x03 \x03(\x0b\x32<.cosmos.autocli.v1.ServiceCommandDescriptor.SubCommandsEntryR\x0bsubCommands\x1ak\n\x10SubCommandsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x05value:\x02\x38\x01\"\x9c\x04\n\x11RpcCommandOptions\x12\x1d\n\nrpc_method\x18\x01 \x01(\tR\trpcMethod\x12\x10\n\x03use\x18\x02 \x01(\tR\x03use\x12\x12\n\x04long\x18\x03 \x01(\tR\x04long\x12\x14\n\x05short\x18\x04 \x01(\tR\x05short\x12\x18\n\x07\x65xample\x18\x05 \x01(\tR\x07\x65xample\x12\x14\n\x05\x61lias\x18\x06 \x03(\tR\x05\x61lias\x12\x1f\n\x0bsuggest_for\x18\x07 \x03(\tR\nsuggestFor\x12\x1e\n\ndeprecated\x18\x08 \x01(\tR\ndeprecated\x12\x18\n\x07version\x18\t \x01(\tR\x07version\x12X\n\x0c\x66lag_options\x18\n \x03(\x0b\x32\x35.cosmos.autocli.v1.RpcCommandOptions.FlagOptionsEntryR\x0b\x66lagOptions\x12S\n\x0fpositional_args\x18\x0b \x03(\x0b\x32*.cosmos.autocli.v1.PositionalArgDescriptorR\x0epositionalArgs\x12\x12\n\x04skip\x18\x0c \x01(\x08R\x04skip\x1a^\n\x10\x46lagOptionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32\x1e.cosmos.autocli.v1.FlagOptionsR\x05value:\x02\x38\x01\"\xe5\x01\n\x0b\x46lagOptions\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n\tshorthand\x18\x02 \x01(\tR\tshorthand\x12\x14\n\x05usage\x18\x03 \x01(\tR\x05usage\x12#\n\rdefault_value\x18\x04 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x12\x1e\n\ndeprecated\x18\x06 \x01(\tR\ndeprecated\x12\x31\n\x14shorthand_deprecated\x18\x07 \x01(\tR\x13shorthandDeprecated\x12\x16\n\x06hidden\x18\x08 \x01(\x08R\x06hidden\"T\n\x17PositionalArgDescriptor\x12\x1f\n\x0bproto_field\x18\x01 \x01(\tR\nprotoField\x12\x18\n\x07varargs\x18\x02 \x01(\x08R\x07varargsB\xb6\x01\n\x15\x63om.cosmos.autocli.v1B\x0cOptionsProtoP\x01Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\xa2\x02\x03\x43\x41X\xaa\x02\x11\x43osmos.Autocli.V1\xca\x02\x11\x43osmos\\Autocli\\V1\xe2\x02\x1d\x43osmos\\Autocli\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Autocli::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.autocli.v1.options_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.autocli.v1B\014OptionsProtoP\001Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\242\002\003CAX\252\002\021Cosmos.Autocli.V1\312\002\021Cosmos\\Autocli\\V1\342\002\035Cosmos\\Autocli\\V1\\GPBMetadata\352\002\023Cosmos::Autocli::V1' + _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._loaded_options = None + _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._serialized_options = b'8\001' + _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._loaded_options = None + _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._serialized_options = b'8\001' + _globals['_MODULEOPTIONS']._serialized_start=55 + _globals['_MODULEOPTIONS']._serialized_end=198 + _globals['_SERVICECOMMANDDESCRIPTOR']._serialized_start=201 + _globals['_SERVICECOMMANDDESCRIPTOR']._serialized_end=545 + _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._serialized_start=438 + _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._serialized_end=545 + _globals['_RPCCOMMANDOPTIONS']._serialized_start=548 + _globals['_RPCCOMMANDOPTIONS']._serialized_end=1088 + _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._serialized_start=994 + _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._serialized_end=1088 + _globals['_FLAGOPTIONS']._serialized_start=1091 + _globals['_FLAGOPTIONS']._serialized_end=1320 + _globals['_POSITIONALARGDESCRIPTOR']._serialized_start=1322 + _globals['_POSITIONALARGDESCRIPTOR']._serialized_end=1406 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/autocli/v1/options_pb2_grpc.py b/pyinjective/proto/cosmos/autocli/v1/options_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/autocli/v1/options_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/cosmos/autocli/v1/query_pb2.py b/pyinjective/proto/cosmos/autocli/v1/query_pb2.py new file mode 100644 index 00000000..f0971981 --- /dev/null +++ b/pyinjective/proto/cosmos/autocli/v1/query_pb2.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/autocli/v1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.autocli.v1 import options_pb2 as cosmos_dot_autocli_dot_v1_dot_options__pb2 +from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/autocli/v1/query.proto\x12\x11\x63osmos.autocli.v1\x1a\x1f\x63osmos/autocli/v1/options.proto\x1a\x1b\x63osmos/query/v1/query.proto\"\x13\n\x11\x41ppOptionsRequest\"\xd9\x01\n\x12\x41ppOptionsResponse\x12_\n\x0emodule_options\x18\x01 \x03(\x0b\x32\x38.cosmos.autocli.v1.AppOptionsResponse.ModuleOptionsEntryR\rmoduleOptions\x1a\x62\n\x12ModuleOptionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32 .cosmos.autocli.v1.ModuleOptionsR\x05value:\x02\x38\x01\x32i\n\x05Query\x12`\n\nAppOptions\x12$.cosmos.autocli.v1.AppOptionsRequest\x1a%.cosmos.autocli.v1.AppOptionsResponse\"\x05\x88\xe7\xb0*\x00\x42\xb4\x01\n\x15\x63om.cosmos.autocli.v1B\nQueryProtoP\x01Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\xa2\x02\x03\x43\x41X\xaa\x02\x11\x43osmos.Autocli.V1\xca\x02\x11\x43osmos\\Autocli\\V1\xe2\x02\x1d\x43osmos\\Autocli\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Autocli::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.autocli.v1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.autocli.v1B\nQueryProtoP\001Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\242\002\003CAX\252\002\021Cosmos.Autocli.V1\312\002\021Cosmos\\Autocli\\V1\342\002\035Cosmos\\Autocli\\V1\\GPBMetadata\352\002\023Cosmos::Autocli::V1' + _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._loaded_options = None + _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._serialized_options = b'8\001' + _globals['_QUERY'].methods_by_name['AppOptions']._loaded_options = None + _globals['_QUERY'].methods_by_name['AppOptions']._serialized_options = b'\210\347\260*\000' + _globals['_APPOPTIONSREQUEST']._serialized_start=114 + _globals['_APPOPTIONSREQUEST']._serialized_end=133 + _globals['_APPOPTIONSRESPONSE']._serialized_start=136 + _globals['_APPOPTIONSRESPONSE']._serialized_end=353 + _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._serialized_start=255 + _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._serialized_end=353 + _globals['_QUERY']._serialized_start=355 + _globals['_QUERY']._serialized_end=460 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/autocli/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/autocli/v1/query_pb2_grpc.py new file mode 100644 index 00000000..989a8356 --- /dev/null +++ b/pyinjective/proto/cosmos/autocli/v1/query_pb2_grpc.py @@ -0,0 +1,84 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.autocli.v1 import query_pb2 as cosmos_dot_autocli_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """RemoteInfoService provides clients with the information they need + to build dynamically CLI clients for remote chains. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.AppOptions = channel.unary_unary( + '/cosmos.autocli.v1.Query/AppOptions', + request_serializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsRequest.SerializeToString, + response_deserializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """RemoteInfoService provides clients with the information they need + to build dynamically CLI clients for remote chains. + """ + + def AppOptions(self, request, context): + """AppOptions returns the autocli options for all of the modules in an app. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'AppOptions': grpc.unary_unary_rpc_method_handler( + servicer.AppOptions, + request_deserializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsRequest.FromString, + response_serializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.autocli.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.autocli.v1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """RemoteInfoService provides clients with the information they need + to build dynamically CLI clients for remote chains. + """ + + @staticmethod + def AppOptions(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.autocli.v1.Query/AppOptions', + cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsRequest.SerializeToString, + cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py b/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py new file mode 100644 index 00000000..5032c046 --- /dev/null +++ b/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/bank/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/bank/module/v1/module.proto\x12\x15\x63osmos.bank.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\xcb\x01\n\x06Module\x12G\n blocked_module_accounts_override\x18\x01 \x03(\tR\x1d\x62lockedModuleAccountsOverride\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority\x12-\n\x12restrictions_order\x18\x03 \x03(\tR\x11restrictionsOrder:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/bankB\x9f\x01\n\x19\x63om.cosmos.bank.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x42M\xaa\x02\x15\x43osmos.Bank.Module.V1\xca\x02\x15\x43osmos\\Bank\\Module\\V1\xe2\x02!Cosmos\\Bank\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Bank::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.bank.module.v1B\013ModuleProtoP\001\242\002\003CBM\252\002\025Cosmos.Bank.Module.V1\312\002\025Cosmos\\Bank\\Module\\V1\342\002!Cosmos\\Bank\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Bank::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/bank' + _globals['_MODULE']._serialized_start=96 + _globals['_MODULE']._serialized_end=299 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/bank/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/bank/module/v1/module_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/cosmos/bank/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py new file mode 100644 index 00000000..328fbbfb --- /dev/null +++ b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/bank/v1beta1/authz.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/bank/v1beta1/authz.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x9a\x02\n\x11SendAuthorization\x12\x82\x01\n\x0bspend_limit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\nspendLimit\x12\x37\n\nallow_list\x18\x02 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tallowList:G\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1c\x63osmos-sdk/SendAuthorizationB\xbe\x01\n\x17\x63om.cosmos.bank.v1beta1B\nAuthzProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.authz_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\nAuthzProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' + _globals['_SENDAUTHORIZATION'].fields_by_name['spend_limit']._loaded_options = None + _globals['_SENDAUTHORIZATION'].fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_SENDAUTHORIZATION'].fields_by_name['allow_list']._loaded_options = None + _globals['_SENDAUTHORIZATION'].fields_by_name['allow_list']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_SENDAUTHORIZATION']._loaded_options = None + _globals['_SENDAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\034cosmos-sdk/SendAuthorization' + _globals['_SENDAUTHORIZATION']._serialized_start=157 + _globals['_SENDAUTHORIZATION']._serialized_end=439 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/bank/v1beta1/authz_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/cosmos/bank/v1beta1/bank_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py new file mode 100644 index 00000000..2e124c79 --- /dev/null +++ b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py @@ -0,0 +1,70 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/bank/v1beta1/bank.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/bank/v1beta1/bank.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xa2\x01\n\x06Params\x12G\n\x0csend_enabled\x18\x01 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledB\x02\x18\x01R\x0bsendEnabled\x12\x30\n\x14\x64\x65\x66\x61ult_send_enabled\x18\x02 \x01(\x08R\x12\x64\x65\x66\x61ultSendEnabled:\x1d\x8a\xe7\xb0*\x18\x63osmos-sdk/x/bank/Params\"C\n\x0bSendEnabled\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x18\n\x07\x65nabled\x18\x02 \x01(\x08R\x07\x65nabled:\x04\xe8\xa0\x1f\x01\"\xca\x01\n\x05Input\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x14\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x07\x61\x64\x64ress\"\xbf\x01\n\x06Output\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xac\x01\n\x06Supply\x12w\n\x05total\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05total:)\x18\x01\x88\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1b\x63osmos.bank.v1beta1.SupplyI\"W\n\tDenomUnit\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1a\n\x08\x65xponent\x18\x02 \x01(\rR\x08\x65xponent\x12\x18\n\x07\x61liases\x18\x03 \x03(\tR\x07\x61liases\"\xa6\x02\n\x08Metadata\x12 \n\x0b\x64\x65scription\x18\x01 \x01(\tR\x0b\x64\x65scription\x12?\n\x0b\x64\x65nom_units\x18\x02 \x03(\x0b\x32\x1e.cosmos.bank.v1beta1.DenomUnitR\ndenomUnits\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x18\n\x07\x64isplay\x18\x04 \x01(\tR\x07\x64isplay\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x06 \x01(\tR\x06symbol\x12\x19\n\x03uri\x18\x07 \x01(\tB\x07\xe2\xde\x1f\x03URIR\x03uri\x12&\n\x08uri_hash\x18\x08 \x01(\tB\x0b\xe2\xde\x1f\x07URIHashR\x07uriHash\x12\x1a\n\x08\x64\x65\x63imals\x18\t \x01(\rR\x08\x64\x65\x63imalsB\xbd\x01\n\x17\x63om.cosmos.bank.v1beta1B\tBankProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.bank_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\tBankProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' + _globals['_PARAMS'].fields_by_name['send_enabled']._loaded_options = None + _globals['_PARAMS'].fields_by_name['send_enabled']._serialized_options = b'\030\001' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\212\347\260*\030cosmos-sdk/x/bank/Params' + _globals['_SENDENABLED']._loaded_options = None + _globals['_SENDENABLED']._serialized_options = b'\350\240\037\001' + _globals['_INPUT'].fields_by_name['address']._loaded_options = None + _globals['_INPUT'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_INPUT'].fields_by_name['coins']._loaded_options = None + _globals['_INPUT'].fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_INPUT']._loaded_options = None + _globals['_INPUT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\007address' + _globals['_OUTPUT'].fields_by_name['address']._loaded_options = None + _globals['_OUTPUT'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_OUTPUT'].fields_by_name['coins']._loaded_options = None + _globals['_OUTPUT'].fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_OUTPUT']._loaded_options = None + _globals['_OUTPUT']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_SUPPLY'].fields_by_name['total']._loaded_options = None + _globals['_SUPPLY'].fields_by_name['total']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_SUPPLY']._loaded_options = None + _globals['_SUPPLY']._serialized_options = b'\030\001\210\240\037\000\350\240\037\001\312\264-\033cosmos.bank.v1beta1.SupplyI' + _globals['_METADATA'].fields_by_name['uri']._loaded_options = None + _globals['_METADATA'].fields_by_name['uri']._serialized_options = b'\342\336\037\003URI' + _globals['_METADATA'].fields_by_name['uri_hash']._loaded_options = None + _globals['_METADATA'].fields_by_name['uri_hash']._serialized_options = b'\342\336\037\007URIHash' + _globals['_PARAMS']._serialized_start=181 + _globals['_PARAMS']._serialized_end=343 + _globals['_SENDENABLED']._serialized_start=345 + _globals['_SENDENABLED']._serialized_end=412 + _globals['_INPUT']._serialized_start=415 + _globals['_INPUT']._serialized_end=617 + _globals['_OUTPUT']._serialized_start=620 + _globals['_OUTPUT']._serialized_end=811 + _globals['_SUPPLY']._serialized_start=814 + _globals['_SUPPLY']._serialized_end=986 + _globals['_DENOMUNIT']._serialized_start=988 + _globals['_DENOMUNIT']._serialized_end=1075 + _globals['_METADATA']._serialized_start=1078 + _globals['_METADATA']._serialized_end=1372 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py new file mode 100644 index 00000000..3dfa3a71 --- /dev/null +++ b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/bank/v1beta1/events.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/bank/v1beta1/events.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"_\n\x10\x45ventSetBalances\x12K\n\x0f\x62\x61lance_updates\x18\x01 \x03(\x0b\x32\".cosmos.bank.v1beta1.BalanceUpdateR\x0e\x62\x61lanceUpdates\"}\n\rBalanceUpdate\x12\x12\n\x04\x61\x64\x64r\x18\x01 \x01(\x0cR\x04\x61\x64\x64r\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\x0cR\x05\x64\x65nom\x12\x42\n\x03\x61mt\x18\x03 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x03\x61mtB\xbf\x01\n\x17\x63om.cosmos.bank.v1beta1B\x0b\x45ventsProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.events_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\013EventsProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' + _globals['_BALANCEUPDATE'].fields_by_name['amt']._loaded_options = None + _globals['_BALANCEUPDATE'].fields_by_name['amt']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001' + _globals['_EVENTSETBALANCES']._serialized_start=125 + _globals['_EVENTSETBALANCES']._serialized_end=220 + _globals['_BALANCEUPDATE']._serialized_start=222 + _globals['_BALANCEUPDATE']._serialized_end=347 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/bank/v1beta1/events_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/cosmos/bank/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..9aae86fc --- /dev/null +++ b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/bank/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/bank/v1beta1/genesis.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xaf\x03\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12\x43\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x1c.cosmos.bank.v1beta1.BalanceB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12y\n\x06supply\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06supply\x12O\n\x0e\x64\x65nom_metadata\x18\x04 \x03(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdenomMetadata\x12N\n\x0csend_enabled\x18\x05 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0bsendEnabled\"\xc0\x01\n\x07\x42\x61lance\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xc0\x01\n\x17\x63om.cosmos.bank.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['balances']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['supply']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['supply']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['denom_metadata']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['denom_metadata']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['send_enabled']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['send_enabled']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_BALANCE'].fields_by_name['address']._loaded_options = None + _globals['_BALANCE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_BALANCE'].fields_by_name['coins']._loaded_options = None + _globals['_BALANCE'].fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_BALANCE']._loaded_options = None + _globals['_BALANCE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_GENESISSTATE']._serialized_start=191 + _globals['_GENESISSTATE']._serialized_end=622 + _globals['_BALANCE']._serialized_start=625 + _globals['_BALANCE']._serialized_end=817 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/bank/v1beta1/genesis_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/cosmos/bank/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py new file mode 100644 index 00000000..774ce07c --- /dev/null +++ b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py @@ -0,0 +1,153 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/bank/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/bank/v1beta1/query.proto\x12\x13\x63osmos.bank.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x11\x61mino/amino.proto\"i\n\x13QueryBalanceRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"K\n\x14QueryBalanceResponse\x12\x33\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x07\x62\x61lance\"\xc4\x01\n\x17QueryAllBalancesRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12#\n\rresolve_denom\x18\x03 \x01(\x08R\x0cresolveDenom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe2\x01\n\x18QueryAllBalancesResponse\x12}\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xa5\x01\n\x1dQuerySpendableBalancesRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe8\x01\n\x1eQuerySpendableBalancesResponse\x12}\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"y\n#QuerySpendableBalanceByDenomRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"[\n$QuerySpendableBalanceByDenomResponse\x12\x33\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x07\x62\x61lance\"k\n\x17QueryTotalSupplyRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xde\x01\n\x18QueryTotalSupplyResponse\x12y\n\x06supply\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06supply\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\",\n\x14QuerySupplyOfRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"U\n\x15QuerySupplyOfResponse\x12<\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\"\x14\n\x12QueryParamsRequest\"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"d\n\x1aQueryDenomsMetadataRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xae\x01\n\x1bQueryDenomsMetadataResponse\x12\x46\n\tmetadatas\x18\x01 \x03(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tmetadatas\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"1\n\x19QueryDenomMetadataRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"b\n\x1aQueryDenomMetadataResponse\x12\x44\n\x08metadata\x18\x01 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08metadata\">\n&QueryDenomMetadataByQueryStringRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"o\n\'QueryDenomMetadataByQueryStringResponse\x12\x44\n\x08metadata\x18\x01 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08metadata\"w\n\x17QueryDenomOwnersRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x80\x01\n\nDenomOwner\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12>\n\x07\x62\x61lance\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x62\x61lance\"\xa7\x01\n\x18QueryDenomOwnersResponse\x12\x42\n\x0c\x64\x65nom_owners\x18\x01 \x03(\x0b\x32\x1f.cosmos.bank.v1beta1.DenomOwnerR\x0b\x64\x65nomOwners\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"~\n\x1eQueryDenomOwnersByQueryRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xae\x01\n\x1fQueryDenomOwnersByQueryResponse\x12\x42\n\x0c\x64\x65nom_owners\x18\x01 \x03(\x0b\x32\x1f.cosmos.bank.v1beta1.DenomOwnerR\x0b\x64\x65nomOwners\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"y\n\x17QuerySendEnabledRequest\x12\x16\n\x06\x64\x65noms\x18\x01 \x03(\tR\x06\x64\x65noms\x12\x46\n\npagination\x18\x63 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa8\x01\n\x18QuerySendEnabledResponse\x12\x43\n\x0csend_enabled\x18\x01 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledR\x0bsendEnabled\x12G\n\npagination\x18\x63 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xca\x11\n\x05Query\x12\x9d\x01\n\x07\x42\x61lance\x12(.cosmos.bank.v1beta1.QueryBalanceRequest\x1a).cosmos.bank.v1beta1.QueryBalanceResponse\"=\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/bank/v1beta1/balances/{address}/by_denom\x12\xa0\x01\n\x0b\x41llBalances\x12,.cosmos.bank.v1beta1.QueryAllBalancesRequest\x1a-.cosmos.bank.v1beta1.QueryAllBalancesResponse\"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/bank/v1beta1/balances/{address}\x12\xbc\x01\n\x11SpendableBalances\x12\x32.cosmos.bank.v1beta1.QuerySpendableBalancesRequest\x1a\x33.cosmos.bank.v1beta1.QuerySpendableBalancesResponse\">\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/bank/v1beta1/spendable_balances/{address}\x12\xd7\x01\n\x17SpendableBalanceByDenom\x12\x38.cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest\x1a\x39.cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse\"G\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02<\x12:/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom\x12\x94\x01\n\x0bTotalSupply\x12,.cosmos.bank.v1beta1.QueryTotalSupplyRequest\x1a-.cosmos.bank.v1beta1.QueryTotalSupplyResponse\"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/bank/v1beta1/supply\x12\x94\x01\n\x08SupplyOf\x12).cosmos.bank.v1beta1.QuerySupplyOfRequest\x1a*.cosmos.bank.v1beta1.QuerySupplyOfResponse\"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/bank/v1beta1/supply/by_denom\x12\x85\x01\n\x06Params\x12\'.cosmos.bank.v1beta1.QueryParamsRequest\x1a(.cosmos.bank.v1beta1.QueryParamsResponse\"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/bank/v1beta1/params\x12\xab\x01\n\rDenomMetadata\x12..cosmos.bank.v1beta1.QueryDenomMetadataRequest\x1a/.cosmos.bank.v1beta1.QueryDenomMetadataResponse\"9\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02.\x12,/cosmos/bank/v1beta1/denoms_metadata/{denom}\x12\xda\x01\n\x1a\x44\x65nomMetadataByQueryString\x12;.cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringRequest\x1a<.cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse\"A\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/bank/v1beta1/denoms_metadata_by_query_string\x12\xa6\x01\n\x0e\x44\x65nomsMetadata\x12/.cosmos.bank.v1beta1.QueryDenomsMetadataRequest\x1a\x30.cosmos.bank.v1beta1.QueryDenomsMetadataResponse\"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/bank/v1beta1/denoms_metadata\x12\xa2\x01\n\x0b\x44\x65nomOwners\x12,.cosmos.bank.v1beta1.QueryDenomOwnersRequest\x1a-.cosmos.bank.v1beta1.QueryDenomOwnersResponse\"6\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02+\x12)/cosmos/bank/v1beta1/denom_owners/{denom}\x12\xb8\x01\n\x12\x44\x65nomOwnersByQuery\x12\x33.cosmos.bank.v1beta1.QueryDenomOwnersByQueryRequest\x1a\x34.cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse\"7\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02,\x12*/cosmos/bank/v1beta1/denom_owners_by_query\x12\x9a\x01\n\x0bSendEnabled\x12,.cosmos.bank.v1beta1.QuerySendEnabledRequest\x1a-.cosmos.bank.v1beta1.QuerySendEnabledResponse\".\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02#\x12!/cosmos/bank/v1beta1/send_enabledB\xbe\x01\n\x17\x63om.cosmos.bank.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' + _globals['_QUERYBALANCEREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYBALANCEREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYBALANCEREQUEST']._loaded_options = None + _globals['_QUERYBALANCEREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYALLBALANCESREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYALLBALANCESREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYALLBALANCESREQUEST']._loaded_options = None + _globals['_QUERYALLBALANCESREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYALLBALANCESRESPONSE'].fields_by_name['balances']._loaded_options = None + _globals['_QUERYALLBALANCESRESPONSE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_QUERYSPENDABLEBALANCESREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYSPENDABLEBALANCESREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYSPENDABLEBALANCESREQUEST']._loaded_options = None + _globals['_QUERYSPENDABLEBALANCESREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYSPENDABLEBALANCESRESPONSE'].fields_by_name['balances']._loaded_options = None + _globals['_QUERYSPENDABLEBALANCESRESPONSE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._loaded_options = None + _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYTOTALSUPPLYREQUEST']._loaded_options = None + _globals['_QUERYTOTALSUPPLYREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYTOTALSUPPLYRESPONSE'].fields_by_name['supply']._loaded_options = None + _globals['_QUERYTOTALSUPPLYRESPONSE'].fields_by_name['supply']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_QUERYSUPPLYOFRESPONSE'].fields_by_name['amount']._loaded_options = None + _globals['_QUERYSUPPLYOFRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDENOMSMETADATARESPONSE'].fields_by_name['metadatas']._loaded_options = None + _globals['_QUERYDENOMSMETADATARESPONSE'].fields_by_name['metadatas']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDENOMMETADATARESPONSE'].fields_by_name['metadata']._loaded_options = None + _globals['_QUERYDENOMMETADATARESPONSE'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE'].fields_by_name['metadata']._loaded_options = None + _globals['_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_DENOMOWNER'].fields_by_name['address']._loaded_options = None + _globals['_DENOMOWNER'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DENOMOWNER'].fields_by_name['balance']._loaded_options = None + _globals['_DENOMOWNER'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERY'].methods_by_name['Balance']._loaded_options = None + _globals['_QUERY'].methods_by_name['Balance']._serialized_options = b'\210\347\260*\001\202\323\344\223\0022\0220/cosmos/bank/v1beta1/balances/{address}/by_denom' + _globals['_QUERY'].methods_by_name['AllBalances']._loaded_options = None + _globals['_QUERY'].methods_by_name['AllBalances']._serialized_options = b'\210\347\260*\001\202\323\344\223\002)\022\'/cosmos/bank/v1beta1/balances/{address}' + _globals['_QUERY'].methods_by_name['SpendableBalances']._loaded_options = None + _globals['_QUERY'].methods_by_name['SpendableBalances']._serialized_options = b'\210\347\260*\001\202\323\344\223\0023\0221/cosmos/bank/v1beta1/spendable_balances/{address}' + _globals['_QUERY'].methods_by_name['SpendableBalanceByDenom']._loaded_options = None + _globals['_QUERY'].methods_by_name['SpendableBalanceByDenom']._serialized_options = b'\210\347\260*\001\202\323\344\223\002<\022:/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom' + _globals['_QUERY'].methods_by_name['TotalSupply']._loaded_options = None + _globals['_QUERY'].methods_by_name['TotalSupply']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/bank/v1beta1/supply' + _globals['_QUERY'].methods_by_name['SupplyOf']._loaded_options = None + _globals['_QUERY'].methods_by_name['SupplyOf']._serialized_options = b'\210\347\260*\001\202\323\344\223\002&\022$/cosmos/bank/v1beta1/supply/by_denom' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/bank/v1beta1/params' + _globals['_QUERY'].methods_by_name['DenomMetadata']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomMetadata']._serialized_options = b'\210\347\260*\001\202\323\344\223\002.\022,/cosmos/bank/v1beta1/denoms_metadata/{denom}' + _globals['_QUERY'].methods_by_name['DenomMetadataByQueryString']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomMetadataByQueryString']._serialized_options = b'\210\347\260*\001\202\323\344\223\0026\0224/cosmos/bank/v1beta1/denoms_metadata_by_query_string' + _globals['_QUERY'].methods_by_name['DenomsMetadata']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomsMetadata']._serialized_options = b'\210\347\260*\001\202\323\344\223\002&\022$/cosmos/bank/v1beta1/denoms_metadata' + _globals['_QUERY'].methods_by_name['DenomOwners']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomOwners']._serialized_options = b'\210\347\260*\001\202\323\344\223\002+\022)/cosmos/bank/v1beta1/denom_owners/{denom}' + _globals['_QUERY'].methods_by_name['DenomOwnersByQuery']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomOwnersByQuery']._serialized_options = b'\210\347\260*\001\202\323\344\223\002,\022*/cosmos/bank/v1beta1/denom_owners_by_query' + _globals['_QUERY'].methods_by_name['SendEnabled']._loaded_options = None + _globals['_QUERY'].methods_by_name['SendEnabled']._serialized_options = b'\210\347\260*\001\202\323\344\223\002#\022!/cosmos/bank/v1beta1/send_enabled' + _globals['_QUERYBALANCEREQUEST']._serialized_start=291 + _globals['_QUERYBALANCEREQUEST']._serialized_end=396 + _globals['_QUERYBALANCERESPONSE']._serialized_start=398 + _globals['_QUERYBALANCERESPONSE']._serialized_end=473 + _globals['_QUERYALLBALANCESREQUEST']._serialized_start=476 + _globals['_QUERYALLBALANCESREQUEST']._serialized_end=672 + _globals['_QUERYALLBALANCESRESPONSE']._serialized_start=675 + _globals['_QUERYALLBALANCESRESPONSE']._serialized_end=901 + _globals['_QUERYSPENDABLEBALANCESREQUEST']._serialized_start=904 + _globals['_QUERYSPENDABLEBALANCESREQUEST']._serialized_end=1069 + _globals['_QUERYSPENDABLEBALANCESRESPONSE']._serialized_start=1072 + _globals['_QUERYSPENDABLEBALANCESRESPONSE']._serialized_end=1304 + _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._serialized_start=1306 + _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._serialized_end=1427 + _globals['_QUERYSPENDABLEBALANCEBYDENOMRESPONSE']._serialized_start=1429 + _globals['_QUERYSPENDABLEBALANCEBYDENOMRESPONSE']._serialized_end=1520 + _globals['_QUERYTOTALSUPPLYREQUEST']._serialized_start=1522 + _globals['_QUERYTOTALSUPPLYREQUEST']._serialized_end=1629 + _globals['_QUERYTOTALSUPPLYRESPONSE']._serialized_start=1632 + _globals['_QUERYTOTALSUPPLYRESPONSE']._serialized_end=1854 + _globals['_QUERYSUPPLYOFREQUEST']._serialized_start=1856 + _globals['_QUERYSUPPLYOFREQUEST']._serialized_end=1900 + _globals['_QUERYSUPPLYOFRESPONSE']._serialized_start=1902 + _globals['_QUERYSUPPLYOFRESPONSE']._serialized_end=1987 + _globals['_QUERYPARAMSREQUEST']._serialized_start=1989 + _globals['_QUERYPARAMSREQUEST']._serialized_end=2009 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=2011 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=2096 + _globals['_QUERYDENOMSMETADATAREQUEST']._serialized_start=2098 + _globals['_QUERYDENOMSMETADATAREQUEST']._serialized_end=2198 + _globals['_QUERYDENOMSMETADATARESPONSE']._serialized_start=2201 + _globals['_QUERYDENOMSMETADATARESPONSE']._serialized_end=2375 + _globals['_QUERYDENOMMETADATAREQUEST']._serialized_start=2377 + _globals['_QUERYDENOMMETADATAREQUEST']._serialized_end=2426 + _globals['_QUERYDENOMMETADATARESPONSE']._serialized_start=2428 + _globals['_QUERYDENOMMETADATARESPONSE']._serialized_end=2526 + _globals['_QUERYDENOMMETADATABYQUERYSTRINGREQUEST']._serialized_start=2528 + _globals['_QUERYDENOMMETADATABYQUERYSTRINGREQUEST']._serialized_end=2590 + _globals['_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE']._serialized_start=2592 + _globals['_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE']._serialized_end=2703 + _globals['_QUERYDENOMOWNERSREQUEST']._serialized_start=2705 + _globals['_QUERYDENOMOWNERSREQUEST']._serialized_end=2824 + _globals['_DENOMOWNER']._serialized_start=2827 + _globals['_DENOMOWNER']._serialized_end=2955 + _globals['_QUERYDENOMOWNERSRESPONSE']._serialized_start=2958 + _globals['_QUERYDENOMOWNERSRESPONSE']._serialized_end=3125 + _globals['_QUERYDENOMOWNERSBYQUERYREQUEST']._serialized_start=3127 + _globals['_QUERYDENOMOWNERSBYQUERYREQUEST']._serialized_end=3253 + _globals['_QUERYDENOMOWNERSBYQUERYRESPONSE']._serialized_start=3256 + _globals['_QUERYDENOMOWNERSBYQUERYRESPONSE']._serialized_end=3430 + _globals['_QUERYSENDENABLEDREQUEST']._serialized_start=3432 + _globals['_QUERYSENDENABLEDREQUEST']._serialized_end=3553 + _globals['_QUERYSENDENABLEDRESPONSE']._serialized_start=3556 + _globals['_QUERYSENDENABLEDRESPONSE']._serialized_end=3724 + _globals['_QUERY']._serialized_start=3727 + _globals['_QUERY']._serialized_end=5977 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..2318f271 --- /dev/null +++ b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2_grpc.py @@ -0,0 +1,646 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.bank.v1beta1 import query_pb2 as cosmos_dot_bank_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Balance = channel.unary_unary( + '/cosmos.bank.v1beta1.Query/Balance', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, + _registered_method=True) + self.AllBalances = channel.unary_unary( + '/cosmos.bank.v1beta1.Query/AllBalances', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesResponse.FromString, + _registered_method=True) + self.SpendableBalances = channel.unary_unary( + '/cosmos.bank.v1beta1.Query/SpendableBalances', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesResponse.FromString, + _registered_method=True) + self.SpendableBalanceByDenom = channel.unary_unary( + '/cosmos.bank.v1beta1.Query/SpendableBalanceByDenom', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomResponse.FromString, + _registered_method=True) + self.TotalSupply = channel.unary_unary( + '/cosmos.bank.v1beta1.Query/TotalSupply', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyResponse.FromString, + _registered_method=True) + self.SupplyOf = channel.unary_unary( + '/cosmos.bank.v1beta1.Query/SupplyOf', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfResponse.FromString, + _registered_method=True) + self.Params = channel.unary_unary( + '/cosmos.bank.v1beta1.Query/Params', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + self.DenomMetadata = channel.unary_unary( + '/cosmos.bank.v1beta1.Query/DenomMetadata', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataResponse.FromString, + _registered_method=True) + self.DenomMetadataByQueryString = channel.unary_unary( + '/cosmos.bank.v1beta1.Query/DenomMetadataByQueryString', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringResponse.FromString, + _registered_method=True) + self.DenomsMetadata = channel.unary_unary( + '/cosmos.bank.v1beta1.Query/DenomsMetadata', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataResponse.FromString, + _registered_method=True) + self.DenomOwners = channel.unary_unary( + '/cosmos.bank.v1beta1.Query/DenomOwners', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersResponse.FromString, + _registered_method=True) + self.DenomOwnersByQuery = channel.unary_unary( + '/cosmos.bank.v1beta1.Query/DenomOwnersByQuery', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryResponse.FromString, + _registered_method=True) + self.SendEnabled = channel.unary_unary( + '/cosmos.bank.v1beta1.Query/SendEnabled', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def Balance(self, request, context): + """Balance queries the balance of a single coin for a single account. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AllBalances(self, request, context): + """AllBalances queries the balance of all coins for a single account. + + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SpendableBalances(self, request, context): + """SpendableBalances queries the spendable balance of all coins for a single + account. + + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + + Since: cosmos-sdk 0.46 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SpendableBalanceByDenom(self, request, context): + """SpendableBalanceByDenom queries the spendable balance of a single denom for + a single account. + + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + + Since: cosmos-sdk 0.47 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TotalSupply(self, request, context): + """TotalSupply queries the total supply of all coins. + + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SupplyOf(self, request, context): + """SupplyOf queries the supply of a single coin. + + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Params(self, request, context): + """Params queries the parameters of x/bank module. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DenomMetadata(self, request, context): + """DenomMetadata queries the client metadata of a given coin denomination. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DenomMetadataByQueryString(self, request, context): + """DenomMetadataByQueryString queries the client metadata of a given coin denomination. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DenomsMetadata(self, request, context): + """DenomsMetadata queries the client metadata for all registered coin + denominations. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DenomOwners(self, request, context): + """DenomOwners queries for all account addresses that own a particular token + denomination. + + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + + Since: cosmos-sdk 0.46 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DenomOwnersByQuery(self, request, context): + """DenomOwnersByQuery queries for all account addresses that own a particular token + denomination. + + Since: cosmos-sdk 0.50.3 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SendEnabled(self, request, context): + """SendEnabled queries for SendEnabled entries. + + This query only returns denominations that have specific SendEnabled settings. + Any denomination that does not have a specific setting will use the default + params.default_send_enabled, and will not be returned by this query. + + Since: cosmos-sdk 0.47 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Balance': grpc.unary_unary_rpc_method_handler( + servicer.Balance, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.SerializeToString, + ), + 'AllBalances': grpc.unary_unary_rpc_method_handler( + servicer.AllBalances, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesResponse.SerializeToString, + ), + 'SpendableBalances': grpc.unary_unary_rpc_method_handler( + servicer.SpendableBalances, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesResponse.SerializeToString, + ), + 'SpendableBalanceByDenom': grpc.unary_unary_rpc_method_handler( + servicer.SpendableBalanceByDenom, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomResponse.SerializeToString, + ), + 'TotalSupply': grpc.unary_unary_rpc_method_handler( + servicer.TotalSupply, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyResponse.SerializeToString, + ), + 'SupplyOf': grpc.unary_unary_rpc_method_handler( + servicer.SupplyOf, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfResponse.SerializeToString, + ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'DenomMetadata': grpc.unary_unary_rpc_method_handler( + servicer.DenomMetadata, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataResponse.SerializeToString, + ), + 'DenomMetadataByQueryString': grpc.unary_unary_rpc_method_handler( + servicer.DenomMetadataByQueryString, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringResponse.SerializeToString, + ), + 'DenomsMetadata': grpc.unary_unary_rpc_method_handler( + servicer.DenomsMetadata, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataResponse.SerializeToString, + ), + 'DenomOwners': grpc.unary_unary_rpc_method_handler( + servicer.DenomOwners, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersResponse.SerializeToString, + ), + 'DenomOwnersByQuery': grpc.unary_unary_rpc_method_handler( + servicer.DenomOwnersByQuery, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryResponse.SerializeToString, + ), + 'SendEnabled': grpc.unary_unary_rpc_method_handler( + servicer.SendEnabled, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.bank.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.bank.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def Balance(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Query/Balance', + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AllBalances(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Query/AllBalances', + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesRequest.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SpendableBalances(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Query/SpendableBalances', + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesRequest.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SpendableBalanceByDenom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Query/SpendableBalanceByDenom', + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomRequest.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TotalSupply(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Query/TotalSupply', + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyRequest.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SupplyOf(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Query/SupplyOf', + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfRequest.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Query/Params', + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DenomMetadata(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Query/DenomMetadata', + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataRequest.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DenomMetadataByQueryString(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Query/DenomMetadataByQueryString', + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringRequest.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DenomsMetadata(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Query/DenomsMetadata', + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataRequest.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DenomOwners(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Query/DenomOwners', + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersRequest.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DenomOwnersByQuery(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Query/DenomOwnersByQuery', + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryRequest.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SendEnabled(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Query/SendEnabled', + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledRequest.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py new file mode 100644 index 00000000..eafe67c8 --- /dev/null +++ b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py @@ -0,0 +1,75 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/bank/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/bank/v1beta1/tx.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xac\x02\n\x07MsgSend\x12;\n\x0c\x66rom_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0b\x66romAddress\x12\x37\n\nto_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:0\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgSend\"\x11\n\x0fMsgSendResponse\"\xbc\x01\n\x0cMsgMultiSend\x12=\n\x06inputs\x18\x01 \x03(\x0b\x32\x1a.cosmos.bank.v1beta1.InputB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06inputs\x12@\n\x07outputs\x18\x02 \x03(\x0b\x32\x1b.cosmos.bank.v1beta1.OutputB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07outputs:+\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06inputs\x8a\xe7\xb0*\x17\x63osmos-sdk/MsgMultiSend\"\x16\n\x14MsgMultiSendResponse\"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/bank/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xe9\x01\n\x11MsgSetSendEnabled\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x43\n\x0csend_enabled\x18\x02 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledR\x0bsendEnabled\x12&\n\x0fuse_default_for\x18\x03 \x03(\tR\ruseDefaultFor:/\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSetSendEnabled\"\x1b\n\x19MsgSetSendEnabledResponse2\x81\x03\n\x03Msg\x12J\n\x04Send\x12\x1c.cosmos.bank.v1beta1.MsgSend\x1a$.cosmos.bank.v1beta1.MsgSendResponse\x12Y\n\tMultiSend\x12!.cosmos.bank.v1beta1.MsgMultiSend\x1a).cosmos.bank.v1beta1.MsgMultiSendResponse\x12\x62\n\x0cUpdateParams\x12$.cosmos.bank.v1beta1.MsgUpdateParams\x1a,.cosmos.bank.v1beta1.MsgUpdateParamsResponse\x12h\n\x0eSetSendEnabled\x12&.cosmos.bank.v1beta1.MsgSetSendEnabled\x1a..cosmos.bank.v1beta1.MsgSetSendEnabledResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.bank.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' + _globals['_MSGSEND'].fields_by_name['from_address']._loaded_options = None + _globals['_MSGSEND'].fields_by_name['from_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSEND'].fields_by_name['to_address']._loaded_options = None + _globals['_MSGSEND'].fields_by_name['to_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSEND'].fields_by_name['amount']._loaded_options = None + _globals['_MSGSEND'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGSEND']._loaded_options = None + _globals['_MSGSEND']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\014from_address\212\347\260*\022cosmos-sdk/MsgSend' + _globals['_MSGMULTISEND'].fields_by_name['inputs']._loaded_options = None + _globals['_MSGMULTISEND'].fields_by_name['inputs']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGMULTISEND'].fields_by_name['outputs']._loaded_options = None + _globals['_MSGMULTISEND'].fields_by_name['outputs']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGMULTISEND']._loaded_options = None + _globals['_MSGMULTISEND']._serialized_options = b'\350\240\037\000\202\347\260*\006inputs\212\347\260*\027cosmos-sdk/MsgMultiSend' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/bank/MsgUpdateParams' + _globals['_MSGSETSENDENABLED'].fields_by_name['authority']._loaded_options = None + _globals['_MSGSETSENDENABLED'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSETSENDENABLED']._loaded_options = None + _globals['_MSGSETSENDENABLED']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\034cosmos-sdk/MsgSetSendEnabled' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGSEND']._serialized_start=211 + _globals['_MSGSEND']._serialized_end=511 + _globals['_MSGSENDRESPONSE']._serialized_start=513 + _globals['_MSGSENDRESPONSE']._serialized_end=530 + _globals['_MSGMULTISEND']._serialized_start=533 + _globals['_MSGMULTISEND']._serialized_end=721 + _globals['_MSGMULTISENDRESPONSE']._serialized_start=723 + _globals['_MSGMULTISENDRESPONSE']._serialized_end=745 + _globals['_MSGUPDATEPARAMS']._serialized_start=748 + _globals['_MSGUPDATEPARAMS']._serialized_end=939 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=941 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=966 + _globals['_MSGSETSENDENABLED']._serialized_start=969 + _globals['_MSGSETSENDENABLED']._serialized_end=1202 + _globals['_MSGSETSENDENABLEDRESPONSE']._serialized_start=1204 + _globals['_MSGSETSENDENABLEDRESPONSE']._serialized_end=1231 + _globals['_MSG']._serialized_start=1234 + _globals['_MSG']._serialized_end=1619 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..1b438771 --- /dev/null +++ b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,221 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.bank.v1beta1 import tx_pb2 as cosmos_dot_bank_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the bank Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Send = channel.unary_unary( + '/cosmos.bank.v1beta1.Msg/Send', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, + _registered_method=True) + self.MultiSend = channel.unary_unary( + '/cosmos.bank.v1beta1.Msg/MultiSend', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSend.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSendResponse.FromString, + _registered_method=True) + self.UpdateParams = channel.unary_unary( + '/cosmos.bank.v1beta1.Msg/UpdateParams', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + self.SetSendEnabled = channel.unary_unary( + '/cosmos.bank.v1beta1.Msg/SetSendEnabled', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabled.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabledResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the bank Msg service. + """ + + def Send(self, request, context): + """Send defines a method for sending coins from one account to another account. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def MultiSend(self, request, context): + """MultiSend defines a method for sending coins from some accounts to other accounts. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """UpdateParams defines a governance operation for updating the x/bank module parameters. + The authority is defined in the keeper. + + Since: cosmos-sdk 0.47 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SetSendEnabled(self, request, context): + """SetSendEnabled is a governance operation for setting the SendEnabled flag + on any number of Denoms. Only the entries to add or update should be + included. Entries that already exist in the store, but that aren't + included in this message, will be left unchanged. + + Since: cosmos-sdk 0.47 + """ + 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 = { + 'Send': grpc.unary_unary_rpc_method_handler( + servicer.Send, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSend.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSendResponse.SerializeToString, + ), + 'MultiSend': grpc.unary_unary_rpc_method_handler( + servicer.MultiSend, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSend.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSendResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'SetSendEnabled': grpc.unary_unary_rpc_method_handler( + servicer.SetSendEnabled, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabled.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabledResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.bank.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.bank.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the bank Msg service. + """ + + @staticmethod + def Send(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Msg/Send', + cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def MultiSend(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Msg/MultiSend', + cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSend.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSendResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Msg/UpdateParams', + cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SetSendEnabled(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.bank.v1beta1.Msg/SetSendEnabled', + cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabled.SerializeToString, + cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabledResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py new file mode 100644 index 00000000..c1104257 --- /dev/null +++ b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py @@ -0,0 +1,87 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/base/abci/v1beta1/abci.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 +from pyinjective.proto.tendermint.types import block_pb2 as tendermint_dot_types_dot_block__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/base/abci/v1beta1/abci.proto\x12\x18\x63osmos.base.abci.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1btendermint/abci/types.proto\x1a\x1ctendermint/types/block.proto\x1a\x19google/protobuf/any.proto\"\xcc\x03\n\nTxResponse\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\"\n\x06txhash\x18\x02 \x01(\tB\n\xe2\xde\x1f\x06TxHashR\x06txhash\x12\x1c\n\tcodespace\x18\x03 \x01(\tR\tcodespace\x12\x12\n\x04\x63ode\x18\x04 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x05 \x01(\tR\x04\x64\x61ta\x12\x17\n\x07raw_log\x18\x06 \x01(\tR\x06rawLog\x12U\n\x04logs\x18\x07 \x03(\x0b\x32(.cosmos.base.abci.v1beta1.ABCIMessageLogB\x17\xc8\xde\x1f\x00\xaa\xdf\x1f\x0f\x41\x42\x43IMessageLogsR\x04logs\x12\x12\n\x04info\x18\x08 \x01(\tR\x04info\x12\x1d\n\ngas_wanted\x18\t \x01(\x03R\tgasWanted\x12\x19\n\x08gas_used\x18\n \x01(\x03R\x07gasUsed\x12$\n\x02tx\x18\x0b \x01(\x0b\x32\x14.google.protobuf.AnyR\x02tx\x12\x1c\n\ttimestamp\x18\x0c \x01(\tR\ttimestamp\x12\x34\n\x06\x65vents\x18\r \x03(\x0b\x32\x16.tendermint.abci.EventB\x04\xc8\xde\x1f\x00R\x06\x65vents:\x04\x88\xa0\x1f\x00\"\xa9\x01\n\x0e\x41\x42\x43IMessageLog\x12*\n\tmsg_index\x18\x01 \x01(\rB\r\xea\xde\x1f\tmsg_indexR\x08msgIndex\x12\x10\n\x03log\x18\x02 \x01(\tR\x03log\x12S\n\x06\x65vents\x18\x03 \x03(\x0b\x32%.cosmos.base.abci.v1beta1.StringEventB\x14\xc8\xde\x1f\x00\xaa\xdf\x1f\x0cStringEventsR\x06\x65vents:\x04\x80\xdc \x01\"r\n\x0bStringEvent\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12I\n\nattributes\x18\x02 \x03(\x0b\x32#.cosmos.base.abci.v1beta1.AttributeB\x04\xc8\xde\x1f\x00R\nattributes:\x04\x80\xdc \x01\"3\n\tAttribute\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\"C\n\x07GasInfo\x12\x1d\n\ngas_wanted\x18\x01 \x01(\x04R\tgasWanted\x12\x19\n\x08gas_used\x18\x02 \x01(\x04R\x07gasUsed\"\xa9\x01\n\x06Result\x12\x16\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x02\x18\x01R\x04\x64\x61ta\x12\x10\n\x03log\x18\x02 \x01(\tR\x03log\x12\x34\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x04\xc8\xde\x1f\x00R\x06\x65vents\x12\x39\n\rmsg_responses\x18\x04 \x03(\x0b\x32\x14.google.protobuf.AnyR\x0cmsgResponses:\x04\x88\xa0\x1f\x00\"\x96\x01\n\x12SimulationResponse\x12\x46\n\x08gas_info\x18\x01 \x01(\x0b\x32!.cosmos.base.abci.v1beta1.GasInfoB\x08\xc8\xde\x1f\x00\xd0\xde\x1f\x01R\x07gasInfo\x12\x38\n\x06result\x18\x02 \x01(\x0b\x32 .cosmos.base.abci.v1beta1.ResultR\x06result\"@\n\x07MsgData\x12\x19\n\x08msg_type\x18\x01 \x01(\tR\x07msgType\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta:\x06\x18\x01\x80\xdc \x01\"\x87\x01\n\tTxMsgData\x12\x39\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32!.cosmos.base.abci.v1beta1.MsgDataB\x02\x18\x01R\x04\x64\x61ta\x12\x39\n\rmsg_responses\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x0cmsgResponses:\x04\x80\xdc \x01\"\xdc\x01\n\x0fSearchTxsResult\x12\x1f\n\x0btotal_count\x18\x01 \x01(\x04R\ntotalCount\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\x12\x1f\n\x0bpage_number\x18\x03 \x01(\x04R\npageNumber\x12\x1d\n\npage_total\x18\x04 \x01(\x04R\tpageTotal\x12\x14\n\x05limit\x18\x05 \x01(\x04R\x05limit\x12\x36\n\x03txs\x18\x06 \x03(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\x03txs:\x04\x80\xdc \x01\"\xd8\x01\n\x12SearchBlocksResult\x12\x1f\n\x0btotal_count\x18\x01 \x01(\x03R\ntotalCount\x12\x14\n\x05\x63ount\x18\x02 \x01(\x03R\x05\x63ount\x12\x1f\n\x0bpage_number\x18\x03 \x01(\x03R\npageNumber\x12\x1d\n\npage_total\x18\x04 \x01(\x03R\tpageTotal\x12\x14\n\x05limit\x18\x05 \x01(\x03R\x05limit\x12/\n\x06\x62locks\x18\x06 \x03(\x0b\x32\x17.tendermint.types.BlockR\x06\x62locks:\x04\x80\xdc \x01\x42\xd4\x01\n\x1c\x63om.cosmos.base.abci.v1beta1B\tAbciProtoP\x01Z\"github.com/cosmos/cosmos-sdk/types\xa2\x02\x03\x43\x42\x41\xaa\x02\x18\x43osmos.Base.Abci.V1beta1\xca\x02\x18\x43osmos\\Base\\Abci\\V1beta1\xe2\x02$Cosmos\\Base\\Abci\\V1beta1\\GPBMetadata\xea\x02\x1b\x43osmos::Base::Abci::V1beta1\xd8\xe1\x1e\x00\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.abci.v1beta1.abci_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.base.abci.v1beta1B\tAbciProtoP\001Z\"github.com/cosmos/cosmos-sdk/types\242\002\003CBA\252\002\030Cosmos.Base.Abci.V1beta1\312\002\030Cosmos\\Base\\Abci\\V1beta1\342\002$Cosmos\\Base\\Abci\\V1beta1\\GPBMetadata\352\002\033Cosmos::Base::Abci::V1beta1\330\341\036\000' + _globals['_TXRESPONSE'].fields_by_name['txhash']._loaded_options = None + _globals['_TXRESPONSE'].fields_by_name['txhash']._serialized_options = b'\342\336\037\006TxHash' + _globals['_TXRESPONSE'].fields_by_name['logs']._loaded_options = None + _globals['_TXRESPONSE'].fields_by_name['logs']._serialized_options = b'\310\336\037\000\252\337\037\017ABCIMessageLogs' + _globals['_TXRESPONSE'].fields_by_name['events']._loaded_options = None + _globals['_TXRESPONSE'].fields_by_name['events']._serialized_options = b'\310\336\037\000' + _globals['_TXRESPONSE']._loaded_options = None + _globals['_TXRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_ABCIMESSAGELOG'].fields_by_name['msg_index']._loaded_options = None + _globals['_ABCIMESSAGELOG'].fields_by_name['msg_index']._serialized_options = b'\352\336\037\tmsg_index' + _globals['_ABCIMESSAGELOG'].fields_by_name['events']._loaded_options = None + _globals['_ABCIMESSAGELOG'].fields_by_name['events']._serialized_options = b'\310\336\037\000\252\337\037\014StringEvents' + _globals['_ABCIMESSAGELOG']._loaded_options = None + _globals['_ABCIMESSAGELOG']._serialized_options = b'\200\334 \001' + _globals['_STRINGEVENT'].fields_by_name['attributes']._loaded_options = None + _globals['_STRINGEVENT'].fields_by_name['attributes']._serialized_options = b'\310\336\037\000' + _globals['_STRINGEVENT']._loaded_options = None + _globals['_STRINGEVENT']._serialized_options = b'\200\334 \001' + _globals['_RESULT'].fields_by_name['data']._loaded_options = None + _globals['_RESULT'].fields_by_name['data']._serialized_options = b'\030\001' + _globals['_RESULT'].fields_by_name['events']._loaded_options = None + _globals['_RESULT'].fields_by_name['events']._serialized_options = b'\310\336\037\000' + _globals['_RESULT']._loaded_options = None + _globals['_RESULT']._serialized_options = b'\210\240\037\000' + _globals['_SIMULATIONRESPONSE'].fields_by_name['gas_info']._loaded_options = None + _globals['_SIMULATIONRESPONSE'].fields_by_name['gas_info']._serialized_options = b'\310\336\037\000\320\336\037\001' + _globals['_MSGDATA']._loaded_options = None + _globals['_MSGDATA']._serialized_options = b'\030\001\200\334 \001' + _globals['_TXMSGDATA'].fields_by_name['data']._loaded_options = None + _globals['_TXMSGDATA'].fields_by_name['data']._serialized_options = b'\030\001' + _globals['_TXMSGDATA']._loaded_options = None + _globals['_TXMSGDATA']._serialized_options = b'\200\334 \001' + _globals['_SEARCHTXSRESULT']._loaded_options = None + _globals['_SEARCHTXSRESULT']._serialized_options = b'\200\334 \001' + _globals['_SEARCHBLOCKSRESULT']._loaded_options = None + _globals['_SEARCHBLOCKSRESULT']._serialized_options = b'\200\334 \001' + _globals['_TXRESPONSE']._serialized_start=174 + _globals['_TXRESPONSE']._serialized_end=634 + _globals['_ABCIMESSAGELOG']._serialized_start=637 + _globals['_ABCIMESSAGELOG']._serialized_end=806 + _globals['_STRINGEVENT']._serialized_start=808 + _globals['_STRINGEVENT']._serialized_end=922 + _globals['_ATTRIBUTE']._serialized_start=924 + _globals['_ATTRIBUTE']._serialized_end=975 + _globals['_GASINFO']._serialized_start=977 + _globals['_GASINFO']._serialized_end=1044 + _globals['_RESULT']._serialized_start=1047 + _globals['_RESULT']._serialized_end=1216 + _globals['_SIMULATIONRESPONSE']._serialized_start=1219 + _globals['_SIMULATIONRESPONSE']._serialized_end=1369 + _globals['_MSGDATA']._serialized_start=1371 + _globals['_MSGDATA']._serialized_end=1435 + _globals['_TXMSGDATA']._serialized_start=1438 + _globals['_TXMSGDATA']._serialized_end=1573 + _globals['_SEARCHTXSRESULT']._serialized_start=1576 + _globals['_SEARCHTXSRESULT']._serialized_end=1796 + _globals['_SEARCHBLOCKSRESULT']._serialized_start=1799 + _globals['_SEARCHBLOCKSRESULT']._serialized_end=2015 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2_grpc.py b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_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/cosmos/base/node/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py new file mode 100644 index 00000000..4c3aa7b6 --- /dev/null +++ b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/base/node/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/base/node/v1beta1/query.proto\x12\x18\x63osmos.base.node.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\"\x0f\n\rConfigRequest\"\xb8\x01\n\x0e\x43onfigResponse\x12*\n\x11minimum_gas_price\x18\x01 \x01(\tR\x0fminimumGasPrice\x12.\n\x13pruning_keep_recent\x18\x02 \x01(\tR\x11pruningKeepRecent\x12)\n\x10pruning_interval\x18\x03 \x01(\tR\x0fpruningInterval\x12\x1f\n\x0bhalt_height\x18\x04 \x01(\x04R\nhaltHeight\"\x0f\n\rStatusRequest\"\xde\x01\n\x0eStatusResponse\x12\x32\n\x15\x65\x61rliest_store_height\x18\x01 \x01(\x04R\x13\x65\x61rliestStoreHeight\x12\x16\n\x06height\x18\x02 \x01(\x04R\x06height\x12>\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\ttimestamp\x12\x19\n\x08\x61pp_hash\x18\x04 \x01(\x0cR\x07\x61ppHash\x12%\n\x0evalidator_hash\x18\x05 \x01(\x0cR\rvalidatorHash2\x99\x02\n\x07Service\x12\x85\x01\n\x06\x43onfig\x12\'.cosmos.base.node.v1beta1.ConfigRequest\x1a(.cosmos.base.node.v1beta1.ConfigResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmos/base/node/v1beta1/config\x12\x85\x01\n\x06Status\x12\'.cosmos.base.node.v1beta1.StatusRequest\x1a(.cosmos.base.node.v1beta1.StatusResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmos/base/node/v1beta1/statusB\xdc\x01\n\x1c\x63om.cosmos.base.node.v1beta1B\nQueryProtoP\x01Z-github.com/cosmos/cosmos-sdk/client/grpc/node\xa2\x02\x03\x43\x42N\xaa\x02\x18\x43osmos.Base.Node.V1beta1\xca\x02\x18\x43osmos\\Base\\Node\\V1beta1\xe2\x02$Cosmos\\Base\\Node\\V1beta1\\GPBMetadata\xea\x02\x1b\x43osmos::Base::Node::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.node.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.base.node.v1beta1B\nQueryProtoP\001Z-github.com/cosmos/cosmos-sdk/client/grpc/node\242\002\003CBN\252\002\030Cosmos.Base.Node.V1beta1\312\002\030Cosmos\\Base\\Node\\V1beta1\342\002$Cosmos\\Base\\Node\\V1beta1\\GPBMetadata\352\002\033Cosmos::Base::Node::V1beta1' + _globals['_STATUSRESPONSE'].fields_by_name['timestamp']._loaded_options = None + _globals['_STATUSRESPONSE'].fields_by_name['timestamp']._serialized_options = b'\220\337\037\001' + _globals['_SERVICE'].methods_by_name['Config']._loaded_options = None + _globals['_SERVICE'].methods_by_name['Config']._serialized_options = b'\202\323\344\223\002\"\022 /cosmos/base/node/v1beta1/config' + _globals['_SERVICE'].methods_by_name['Status']._loaded_options = None + _globals['_SERVICE'].methods_by_name['Status']._serialized_options = b'\202\323\344\223\002\"\022 /cosmos/base/node/v1beta1/status' + _globals['_CONFIGREQUEST']._serialized_start=151 + _globals['_CONFIGREQUEST']._serialized_end=166 + _globals['_CONFIGRESPONSE']._serialized_start=169 + _globals['_CONFIGRESPONSE']._serialized_end=353 + _globals['_STATUSREQUEST']._serialized_start=355 + _globals['_STATUSREQUEST']._serialized_end=370 + _globals['_STATUSRESPONSE']._serialized_start=373 + _globals['_STATUSRESPONSE']._serialized_end=595 + _globals['_SERVICE']._serialized_start=598 + _globals['_SERVICE']._serialized_end=879 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..3cc93343 --- /dev/null +++ b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2_grpc.py @@ -0,0 +1,125 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.base.node.v1beta1 import query_pb2 as cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2 + + +class ServiceStub(object): + """Service defines the gRPC querier service for node related queries. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Config = channel.unary_unary( + '/cosmos.base.node.v1beta1.Service/Config', + request_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigResponse.FromString, + _registered_method=True) + self.Status = channel.unary_unary( + '/cosmos.base.node.v1beta1.Service/Status', + request_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusResponse.FromString, + _registered_method=True) + + +class ServiceServicer(object): + """Service defines the gRPC querier service for node related queries. + """ + + def Config(self, request, context): + """Config queries for the operator configuration. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Status(self, request, context): + """Status queries for the node status. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Config': grpc.unary_unary_rpc_method_handler( + servicer.Config, + request_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigRequest.FromString, + response_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigResponse.SerializeToString, + ), + 'Status': grpc.unary_unary_rpc_method_handler( + servicer.Status, + request_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusRequest.FromString, + response_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.base.node.v1beta1.Service', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.base.node.v1beta1.Service', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Service(object): + """Service defines the gRPC querier service for node related queries. + """ + + @staticmethod + def Config(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.base.node.v1beta1.Service/Config', + cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigRequest.SerializeToString, + cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Status(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.base.node.v1beta1.Service/Status', + cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusRequest.SerializeToString, + cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py new file mode 100644 index 00000000..82ad6736 --- /dev/null +++ b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/base/query/v1beta1/pagination.proto +# Protobuf Python Version: 5.26.1 +"""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*cosmos/base/query/v1beta1/pagination.proto\x12\x19\x63osmos.base.query.v1beta1\"\x88\x01\n\x0bPageRequest\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x16\n\x06offset\x18\x02 \x01(\x04R\x06offset\x12\x14\n\x05limit\x18\x03 \x01(\x04R\x05limit\x12\x1f\n\x0b\x63ount_total\x18\x04 \x01(\x08R\ncountTotal\x12\x18\n\x07reverse\x18\x05 \x01(\x08R\x07reverse\"?\n\x0cPageResponse\x12\x19\n\x08next_key\x18\x01 \x01(\x0cR\x07nextKey\x12\x14\n\x05total\x18\x02 \x01(\x04R\x05totalB\xe1\x01\n\x1d\x63om.cosmos.base.query.v1beta1B\x0fPaginationProtoP\x01Z(github.com/cosmos/cosmos-sdk/types/query\xa2\x02\x03\x43\x42Q\xaa\x02\x19\x43osmos.Base.Query.V1beta1\xca\x02\x19\x43osmos\\Base\\Query\\V1beta1\xe2\x02%Cosmos\\Base\\Query\\V1beta1\\GPBMetadata\xea\x02\x1c\x43osmos::Base::Query::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.query.v1beta1.pagination_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.base.query.v1beta1B\017PaginationProtoP\001Z(github.com/cosmos/cosmos-sdk/types/query\242\002\003CBQ\252\002\031Cosmos.Base.Query.V1beta1\312\002\031Cosmos\\Base\\Query\\V1beta1\342\002%Cosmos\\Base\\Query\\V1beta1\\GPBMetadata\352\002\034Cosmos::Base::Query::V1beta1' + _globals['_PAGEREQUEST']._serialized_start=74 + _globals['_PAGEREQUEST']._serialized_end=210 + _globals['_PAGERESPONSE']._serialized_start=212 + _globals['_PAGERESPONSE']._serialized_end=275 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2_grpc.py b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_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/cosmos/base/reflection/v1beta1/reflection_pb2.py b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py new file mode 100644 index 00000000..4a29ceba --- /dev/null +++ b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/base/reflection/v1beta1/reflection.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/cosmos/base/reflection/v1beta1/reflection.proto\x12\x1e\x63osmos.base.reflection.v1beta1\x1a\x1cgoogle/api/annotations.proto\"\x1a\n\x18ListAllInterfacesRequest\"D\n\x19ListAllInterfacesResponse\x12\'\n\x0finterface_names\x18\x01 \x03(\tR\x0einterfaceNames\"C\n\x1aListImplementationsRequest\x12%\n\x0einterface_name\x18\x01 \x01(\tR\rinterfaceName\"_\n\x1bListImplementationsResponse\x12@\n\x1cimplementation_message_names\x18\x01 \x03(\tR\x1aimplementationMessageNames2\xb8\x03\n\x11ReflectionService\x12\xbc\x01\n\x11ListAllInterfaces\x12\x38.cosmos.base.reflection.v1beta1.ListAllInterfacesRequest\x1a\x39.cosmos.base.reflection.v1beta1.ListAllInterfacesResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmos/base/reflection/v1beta1/interfaces\x12\xe3\x01\n\x13ListImplementations\x12:.cosmos.base.reflection.v1beta1.ListImplementationsRequest\x1a;.cosmos.base.reflection.v1beta1.ListImplementationsResponse\"S\x82\xd3\xe4\x93\x02M\x12K/cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementationsB\x85\x02\n\"com.cosmos.base.reflection.v1beta1B\x0fReflectionProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/reflection\xa2\x02\x03\x43\x42R\xaa\x02\x1e\x43osmos.Base.Reflection.V1beta1\xca\x02\x1e\x43osmos\\Base\\Reflection\\V1beta1\xe2\x02*Cosmos\\Base\\Reflection\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Reflection::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.reflection.v1beta1.reflection_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.cosmos.base.reflection.v1beta1B\017ReflectionProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/reflection\242\002\003CBR\252\002\036Cosmos.Base.Reflection.V1beta1\312\002\036Cosmos\\Base\\Reflection\\V1beta1\342\002*Cosmos\\Base\\Reflection\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Reflection::V1beta1' + _globals['_REFLECTIONSERVICE'].methods_by_name['ListAllInterfaces']._loaded_options = None + _globals['_REFLECTIONSERVICE'].methods_by_name['ListAllInterfaces']._serialized_options = b'\202\323\344\223\002,\022*/cosmos/base/reflection/v1beta1/interfaces' + _globals['_REFLECTIONSERVICE'].methods_by_name['ListImplementations']._loaded_options = None + _globals['_REFLECTIONSERVICE'].methods_by_name['ListImplementations']._serialized_options = b'\202\323\344\223\002M\022K/cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementations' + _globals['_LISTALLINTERFACESREQUEST']._serialized_start=113 + _globals['_LISTALLINTERFACESREQUEST']._serialized_end=139 + _globals['_LISTALLINTERFACESRESPONSE']._serialized_start=141 + _globals['_LISTALLINTERFACESRESPONSE']._serialized_end=209 + _globals['_LISTIMPLEMENTATIONSREQUEST']._serialized_start=211 + _globals['_LISTIMPLEMENTATIONSREQUEST']._serialized_end=278 + _globals['_LISTIMPLEMENTATIONSRESPONSE']._serialized_start=280 + _globals['_LISTIMPLEMENTATIONSRESPONSE']._serialized_end=375 + _globals['_REFLECTIONSERVICE']._serialized_start=378 + _globals['_REFLECTIONSERVICE']._serialized_end=818 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2_grpc.py b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2_grpc.py new file mode 100644 index 00000000..9a956494 --- /dev/null +++ b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2_grpc.py @@ -0,0 +1,127 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.base.reflection.v1beta1 import reflection_pb2 as cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2 + + +class ReflectionServiceStub(object): + """ReflectionService defines a service for interface reflection. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.ListAllInterfaces = channel.unary_unary( + '/cosmos.base.reflection.v1beta1.ReflectionService/ListAllInterfaces', + request_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesResponse.FromString, + _registered_method=True) + self.ListImplementations = channel.unary_unary( + '/cosmos.base.reflection.v1beta1.ReflectionService/ListImplementations', + request_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsResponse.FromString, + _registered_method=True) + + +class ReflectionServiceServicer(object): + """ReflectionService defines a service for interface reflection. + """ + + def ListAllInterfaces(self, request, context): + """ListAllInterfaces lists all the interfaces registered in the interface + registry. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListImplementations(self, request, context): + """ListImplementations list all the concrete types that implement a given + interface. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ReflectionServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'ListAllInterfaces': grpc.unary_unary_rpc_method_handler( + servicer.ListAllInterfaces, + request_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesRequest.FromString, + response_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesResponse.SerializeToString, + ), + 'ListImplementations': grpc.unary_unary_rpc_method_handler( + servicer.ListImplementations, + request_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsRequest.FromString, + response_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.base.reflection.v1beta1.ReflectionService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.base.reflection.v1beta1.ReflectionService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class ReflectionService(object): + """ReflectionService defines a service for interface reflection. + """ + + @staticmethod + def ListAllInterfaces(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.base.reflection.v1beta1.ReflectionService/ListAllInterfaces', + cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesRequest.SerializeToString, + cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ListImplementations(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.base.reflection.v1beta1.ReflectionService/ListImplementations', + cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsRequest.SerializeToString, + cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py b/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py new file mode 100644 index 00000000..9b23a168 --- /dev/null +++ b/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py @@ -0,0 +1,92 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/base/reflection/v2alpha1/reflection.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0cosmos/base/reflection/v2alpha1/reflection.proto\x12\x1f\x63osmos.base.reflection.v2alpha1\x1a\x1cgoogle/api/annotations.proto\"\xe7\x03\n\rAppDescriptor\x12\x46\n\x05\x61uthn\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.AuthnDescriptorR\x05\x61uthn\x12\x46\n\x05\x63hain\x18\x02 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.ChainDescriptorR\x05\x63hain\x12\x46\n\x05\x63odec\x18\x03 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.CodecDescriptorR\x05\x63odec\x12^\n\rconfiguration\x18\x04 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.ConfigurationDescriptorR\rconfiguration\x12_\n\x0equery_services\x18\x05 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.QueryServicesDescriptorR\rqueryServices\x12=\n\x02tx\x18\x06 \x01(\x0b\x32-.cosmos.base.reflection.v2alpha1.TxDescriptorR\x02tx\"n\n\x0cTxDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x42\n\x04msgs\x18\x02 \x03(\x0b\x32..cosmos.base.reflection.v2alpha1.MsgDescriptorR\x04msgs\"h\n\x0f\x41uthnDescriptor\x12U\n\nsign_modes\x18\x01 \x03(\x0b\x32\x36.cosmos.base.reflection.v2alpha1.SigningModeDescriptorR\tsignModes\"\x91\x01\n\x15SigningModeDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n\x06number\x18\x02 \x01(\x05R\x06number\x12L\n#authn_info_provider_method_fullname\x18\x03 \x01(\tR\x1f\x61uthnInfoProviderMethodFullname\"!\n\x0f\x43hainDescriptor\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"g\n\x0f\x43odecDescriptor\x12T\n\ninterfaces\x18\x01 \x03(\x0b\x32\x34.cosmos.base.reflection.v2alpha1.InterfaceDescriptorR\ninterfaces\"\xb2\x02\n\x13InterfaceDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x86\x01\n\x1cinterface_accepting_messages\x18\x02 \x03(\x0b\x32\x44.cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptorR\x1ainterfaceAcceptingMessages\x12v\n\x16interface_implementers\x18\x03 \x03(\x0b\x32?.cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptorR\x15interfaceImplementers\"W\n\x1eInterfaceImplementerDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x19\n\x08type_url\x18\x02 \x01(\tR\x07typeUrl\"w\n#InterfaceAcceptingMessageDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x34\n\x16\x66ield_descriptor_names\x18\x02 \x03(\tR\x14\x66ieldDescriptorNames\"\\\n\x17\x43onfigurationDescriptor\x12\x41\n\x1d\x62\x65\x63h32_account_address_prefix\x18\x01 \x01(\tR\x1a\x62\x65\x63h32AccountAddressPrefix\"1\n\rMsgDescriptor\x12 \n\x0cmsg_type_url\x18\x01 \x01(\tR\nmsgTypeUrl\"\x1b\n\x19GetAuthnDescriptorRequest\"d\n\x1aGetAuthnDescriptorResponse\x12\x46\n\x05\x61uthn\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.AuthnDescriptorR\x05\x61uthn\"\x1b\n\x19GetChainDescriptorRequest\"d\n\x1aGetChainDescriptorResponse\x12\x46\n\x05\x63hain\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.ChainDescriptorR\x05\x63hain\"\x1b\n\x19GetCodecDescriptorRequest\"d\n\x1aGetCodecDescriptorResponse\x12\x46\n\x05\x63odec\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.CodecDescriptorR\x05\x63odec\"#\n!GetConfigurationDescriptorRequest\"v\n\"GetConfigurationDescriptorResponse\x12P\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.ConfigurationDescriptorR\x06\x63onfig\"#\n!GetQueryServicesDescriptorRequest\"x\n\"GetQueryServicesDescriptorResponse\x12R\n\x07queries\x18\x01 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.QueryServicesDescriptorR\x07queries\"\x18\n\x16GetTxDescriptorRequest\"X\n\x17GetTxDescriptorResponse\x12=\n\x02tx\x18\x01 \x01(\x0b\x32-.cosmos.base.reflection.v2alpha1.TxDescriptorR\x02tx\"y\n\x17QueryServicesDescriptor\x12^\n\x0equery_services\x18\x01 \x03(\x0b\x32\x37.cosmos.base.reflection.v2alpha1.QueryServiceDescriptorR\rqueryServices\"\xa3\x01\n\x16QueryServiceDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x1b\n\tis_module\x18\x02 \x01(\x08R\x08isModule\x12P\n\x07methods\x18\x03 \x03(\x0b\x32\x36.cosmos.base.reflection.v2alpha1.QueryMethodDescriptorR\x07methods\"S\n\x15QueryMethodDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12&\n\x0f\x66ull_query_path\x18\x02 \x01(\tR\rfullQueryPath2\xa7\n\n\x11ReflectionService\x12\xcb\x01\n\x12GetAuthnDescriptor\x12:.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest\x1a;.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/base/reflection/v1beta1/app_descriptor/authn\x12\xcb\x01\n\x12GetChainDescriptor\x12:.cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest\x1a;.cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/base/reflection/v1beta1/app_descriptor/chain\x12\xcb\x01\n\x12GetCodecDescriptor\x12:.cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest\x1a;.cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/base/reflection/v1beta1/app_descriptor/codec\x12\xeb\x01\n\x1aGetConfigurationDescriptor\x12\x42.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest\x1a\x43.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse\"D\x82\xd3\xe4\x93\x02>\x12\x12\022\022.cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest\x1a?.cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/cosmos/base/tendermint/v1beta1/validatorsets/{height}\x12\xa4\x01\n\tABCIQuery\x12\x30.cosmos.base.tendermint.v1beta1.ABCIQueryRequest\x1a\x31.cosmos.base.tendermint.v1beta1.ABCIQueryResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmos/base/tendermint/v1beta1/abci_queryB\x80\x02\n\"com.cosmos.base.tendermint.v1beta1B\nQueryProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\xa2\x02\x03\x43\x42T\xaa\x02\x1e\x43osmos.Base.Tendermint.V1beta1\xca\x02\x1e\x43osmos\\Base\\Tendermint\\V1beta1\xe2\x02*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Tendermint::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.tendermint.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.cosmos.base.tendermint.v1beta1B\nQueryProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\242\002\003CBT\252\002\036Cosmos.Base.Tendermint.V1beta1\312\002\036Cosmos\\Base\\Tendermint\\V1beta1\342\002*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Tendermint::V1beta1' + _globals['_VALIDATOR'].fields_by_name['address']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_PROOFOPS'].fields_by_name['ops']._loaded_options = None + _globals['_PROOFOPS'].fields_by_name['ops']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_SERVICE'].methods_by_name['GetNodeInfo']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetNodeInfo']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/base/tendermint/v1beta1/node_info' + _globals['_SERVICE'].methods_by_name['GetSyncing']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetSyncing']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/base/tendermint/v1beta1/syncing' + _globals['_SERVICE'].methods_by_name['GetLatestBlock']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetLatestBlock']._serialized_options = b'\202\323\344\223\002/\022-/cosmos/base/tendermint/v1beta1/blocks/latest' + _globals['_SERVICE'].methods_by_name['GetBlockByHeight']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetBlockByHeight']._serialized_options = b'\202\323\344\223\0021\022//cosmos/base/tendermint/v1beta1/blocks/{height}' + _globals['_SERVICE'].methods_by_name['GetLatestValidatorSet']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetLatestValidatorSet']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/base/tendermint/v1beta1/validatorsets/latest' + _globals['_SERVICE'].methods_by_name['GetValidatorSetByHeight']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetValidatorSetByHeight']._serialized_options = b'\202\323\344\223\0028\0226/cosmos/base/tendermint/v1beta1/validatorsets/{height}' + _globals['_SERVICE'].methods_by_name['ABCIQuery']._loaded_options = None + _globals['_SERVICE'].methods_by_name['ABCIQuery']._serialized_options = b'\202\323\344\223\002,\022*/cosmos/base/tendermint/v1beta1/abci_query' + _globals['_GETVALIDATORSETBYHEIGHTREQUEST']._serialized_start=380 + _globals['_GETVALIDATORSETBYHEIGHTREQUEST']._serialized_end=508 + _globals['_GETVALIDATORSETBYHEIGHTRESPONSE']._serialized_start=511 + _globals['_GETVALIDATORSETBYHEIGHTRESPONSE']._serialized_end=727 + _globals['_GETLATESTVALIDATORSETREQUEST']._serialized_start=729 + _globals['_GETLATESTVALIDATORSETREQUEST']._serialized_end=831 + _globals['_GETLATESTVALIDATORSETRESPONSE']._serialized_start=834 + _globals['_GETLATESTVALIDATORSETRESPONSE']._serialized_end=1048 + _globals['_VALIDATOR']._serialized_start=1051 + _globals['_VALIDATOR']._serialized_end=1241 + _globals['_GETBLOCKBYHEIGHTREQUEST']._serialized_start=1243 + _globals['_GETBLOCKBYHEIGHTREQUEST']._serialized_end=1292 + _globals['_GETBLOCKBYHEIGHTRESPONSE']._serialized_start=1295 + _globals['_GETBLOCKBYHEIGHTRESPONSE']._serialized_end=1490 + _globals['_GETLATESTBLOCKREQUEST']._serialized_start=1492 + _globals['_GETLATESTBLOCKREQUEST']._serialized_end=1515 + _globals['_GETLATESTBLOCKRESPONSE']._serialized_start=1518 + _globals['_GETLATESTBLOCKRESPONSE']._serialized_end=1711 + _globals['_GETSYNCINGREQUEST']._serialized_start=1713 + _globals['_GETSYNCINGREQUEST']._serialized_end=1732 + _globals['_GETSYNCINGRESPONSE']._serialized_start=1734 + _globals['_GETSYNCINGRESPONSE']._serialized_end=1780 + _globals['_GETNODEINFOREQUEST']._serialized_start=1782 + _globals['_GETNODEINFOREQUEST']._serialized_end=1802 + _globals['_GETNODEINFORESPONSE']._serialized_start=1805 + _globals['_GETNODEINFORESPONSE']._serialized_end=1997 + _globals['_VERSIONINFO']._serialized_start=2000 + _globals['_VERSIONINFO']._serialized_end=2296 + _globals['_MODULE']._serialized_start=2298 + _globals['_MODULE']._serialized_end=2370 + _globals['_ABCIQUERYREQUEST']._serialized_start=2372 + _globals['_ABCIQUERYREQUEST']._serialized_end=2476 + _globals['_ABCIQUERYRESPONSE']._serialized_start=2479 + _globals['_ABCIQUERYRESPONSE']._serialized_end=2749 + _globals['_PROOFOP']._serialized_start=2751 + _globals['_PROOFOP']._serialized_end=2818 + _globals['_PROOFOPS']._serialized_start=2820 + _globals['_PROOFOPS']._serialized_end=2900 + _globals['_SERVICE']._serialized_start=2903 + _globals['_SERVICE']._serialized_end=4230 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..30707ac1 --- /dev/null +++ b/pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py @@ -0,0 +1,349 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.base.tendermint.v1beta1 import query_pb2 as cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2 + + +class ServiceStub(object): + """Service defines the gRPC querier service for tendermint queries. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GetNodeInfo = channel.unary_unary( + '/cosmos.base.tendermint.v1beta1.Service/GetNodeInfo', + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoResponse.FromString, + _registered_method=True) + self.GetSyncing = channel.unary_unary( + '/cosmos.base.tendermint.v1beta1.Service/GetSyncing', + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingResponse.FromString, + _registered_method=True) + self.GetLatestBlock = channel.unary_unary( + '/cosmos.base.tendermint.v1beta1.Service/GetLatestBlock', + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockResponse.FromString, + _registered_method=True) + self.GetBlockByHeight = channel.unary_unary( + '/cosmos.base.tendermint.v1beta1.Service/GetBlockByHeight', + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightResponse.FromString, + _registered_method=True) + self.GetLatestValidatorSet = channel.unary_unary( + '/cosmos.base.tendermint.v1beta1.Service/GetLatestValidatorSet', + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetResponse.FromString, + _registered_method=True) + self.GetValidatorSetByHeight = channel.unary_unary( + '/cosmos.base.tendermint.v1beta1.Service/GetValidatorSetByHeight', + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightResponse.FromString, + _registered_method=True) + self.ABCIQuery = channel.unary_unary( + '/cosmos.base.tendermint.v1beta1.Service/ABCIQuery', + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryResponse.FromString, + _registered_method=True) + + +class ServiceServicer(object): + """Service defines the gRPC querier service for tendermint queries. + """ + + def GetNodeInfo(self, request, context): + """GetNodeInfo queries the current node info. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetSyncing(self, request, context): + """GetSyncing queries node syncing. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetLatestBlock(self, request, context): + """GetLatestBlock returns the latest block. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetBlockByHeight(self, request, context): + """GetBlockByHeight queries block for given height. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetLatestValidatorSet(self, request, context): + """GetLatestValidatorSet queries latest validator-set. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetValidatorSetByHeight(self, request, context): + """GetValidatorSetByHeight queries validator-set at a given height. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ABCIQuery(self, request, context): + """ABCIQuery defines a query handler that supports ABCI queries directly to the + application, bypassing Tendermint completely. The ABCI query must contain + a valid and supported path, including app, custom, p2p, and store. + + Since: cosmos-sdk 0.46 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GetNodeInfo': grpc.unary_unary_rpc_method_handler( + servicer.GetNodeInfo, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoResponse.SerializeToString, + ), + 'GetSyncing': grpc.unary_unary_rpc_method_handler( + servicer.GetSyncing, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingResponse.SerializeToString, + ), + 'GetLatestBlock': grpc.unary_unary_rpc_method_handler( + servicer.GetLatestBlock, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockResponse.SerializeToString, + ), + 'GetBlockByHeight': grpc.unary_unary_rpc_method_handler( + servicer.GetBlockByHeight, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightResponse.SerializeToString, + ), + 'GetLatestValidatorSet': grpc.unary_unary_rpc_method_handler( + servicer.GetLatestValidatorSet, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetResponse.SerializeToString, + ), + 'GetValidatorSetByHeight': grpc.unary_unary_rpc_method_handler( + servicer.GetValidatorSetByHeight, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightResponse.SerializeToString, + ), + 'ABCIQuery': grpc.unary_unary_rpc_method_handler( + servicer.ABCIQuery, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.base.tendermint.v1beta1.Service', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.base.tendermint.v1beta1.Service', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Service(object): + """Service defines the gRPC querier service for tendermint queries. + """ + + @staticmethod + def GetNodeInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.base.tendermint.v1beta1.Service/GetNodeInfo', + cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoRequest.SerializeToString, + cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetSyncing(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.base.tendermint.v1beta1.Service/GetSyncing', + cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingRequest.SerializeToString, + cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetLatestBlock(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.base.tendermint.v1beta1.Service/GetLatestBlock', + cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockRequest.SerializeToString, + cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetBlockByHeight(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.base.tendermint.v1beta1.Service/GetBlockByHeight', + cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightRequest.SerializeToString, + cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetLatestValidatorSet(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.base.tendermint.v1beta1.Service/GetLatestValidatorSet', + cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetRequest.SerializeToString, + cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetValidatorSetByHeight(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.base.tendermint.v1beta1.Service/GetValidatorSetByHeight', + cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightRequest.SerializeToString, + cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ABCIQuery(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.base.tendermint.v1beta1.Service/ABCIQuery', + cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryRequest.SerializeToString, + cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py b/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py new file mode 100644 index 00000000..ebfc1954 --- /dev/null +++ b/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/base/tendermint/v1beta1/types.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 +from pyinjective.proto.tendermint.types import evidence_pb2 as tendermint_dot_types_dot_evidence__pb2 +from pyinjective.proto.tendermint.version import types_pb2 as tendermint_dot_version_dot_types__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*cosmos/base/tendermint/v1beta1/types.proto\x12\x1e\x63osmos.base.tendermint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ftendermint/types/evidence.proto\x1a\x1etendermint/version/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x11\x61mino/amino.proto\"\x8b\x02\n\x05\x42lock\x12I\n\x06header\x18\x01 \x01(\x0b\x32&.cosmos.base.tendermint.v1beta1.HeaderB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06header\x12\x35\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04\x64\x61ta\x12\x45\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x65vidence\x12\x39\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.CommitR\nlastCommit\"\xf5\x04\n\x06Header\x12\x42\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07version\x12&\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDR\x07\x63hainId\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12=\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12H\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0blastBlockId\x12(\n\x10last_commit_hash\x18\x06 \x01(\x0cR\x0elastCommitHash\x12\x1b\n\tdata_hash\x18\x07 \x01(\x0cR\x08\x64\x61taHash\x12\'\n\x0fvalidators_hash\x18\x08 \x01(\x0cR\x0evalidatorsHash\x12\x30\n\x14next_validators_hash\x18\t \x01(\x0cR\x12nextValidatorsHash\x12%\n\x0e\x63onsensus_hash\x18\n \x01(\x0cR\rconsensusHash\x12\x19\n\x08\x61pp_hash\x18\x0b \x01(\x0cR\x07\x61ppHash\x12*\n\x11last_results_hash\x18\x0c \x01(\x0cR\x0flastResultsHash\x12#\n\revidence_hash\x18\r \x01(\x0cR\x0c\x65videnceHash\x12)\n\x10proposer_address\x18\x0e \x01(\tR\x0fproposerAddressB\x80\x02\n\"com.cosmos.base.tendermint.v1beta1B\nTypesProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\xa2\x02\x03\x43\x42T\xaa\x02\x1e\x43osmos.Base.Tendermint.V1beta1\xca\x02\x1e\x43osmos\\Base\\Tendermint\\V1beta1\xe2\x02*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Tendermint::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.tendermint.v1beta1.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.cosmos.base.tendermint.v1beta1B\nTypesProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\242\002\003CBT\252\002\036Cosmos.Base.Tendermint.V1beta1\312\002\036Cosmos\\Base\\Tendermint\\V1beta1\342\002*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Tendermint::V1beta1' + _globals['_BLOCK'].fields_by_name['header']._loaded_options = None + _globals['_BLOCK'].fields_by_name['header']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_BLOCK'].fields_by_name['data']._loaded_options = None + _globals['_BLOCK'].fields_by_name['data']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_BLOCK'].fields_by_name['evidence']._loaded_options = None + _globals['_BLOCK'].fields_by_name['evidence']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_HEADER'].fields_by_name['version']._loaded_options = None + _globals['_HEADER'].fields_by_name['version']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_HEADER'].fields_by_name['chain_id']._loaded_options = None + _globals['_HEADER'].fields_by_name['chain_id']._serialized_options = b'\342\336\037\007ChainID' + _globals['_HEADER'].fields_by_name['time']._loaded_options = None + _globals['_HEADER'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_HEADER'].fields_by_name['last_block_id']._loaded_options = None + _globals['_HEADER'].fields_by_name['last_block_id']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_BLOCK']._serialized_start=248 + _globals['_BLOCK']._serialized_end=515 + _globals['_HEADER']._serialized_start=518 + _globals['_HEADER']._serialized_end=1147 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2_grpc.py b/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_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/cosmos/base/v1beta1/coin_pb2.py b/pyinjective/proto/cosmos/base/v1beta1/coin_pb2.py new file mode 100644 index 00000000..59353c09 --- /dev/null +++ b/pyinjective/proto/cosmos/base/v1beta1/coin_pb2.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/base/v1beta1/coin.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/base/v1beta1/coin.proto\x12\x13\x63osmos.base.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"l\n\x04\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12H\n\x06\x61mount\x18\x02 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x06\x61mount:\x04\xe8\xa0\x1f\x01\"p\n\x07\x44\x65\x63\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12I\n\x06\x61mount\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x06\x61mount:\x04\xe8\xa0\x1f\x01\"I\n\x08IntProto\x12=\n\x03int\x18\x01 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x03int\"O\n\x08\x44\x65\x63Proto\x12\x43\n\x03\x64\x65\x63\x18\x01 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x03\x64\x65\x63\x42\xbe\x01\n\x17\x63om.cosmos.base.v1beta1B\tCoinProtoP\x01Z\"github.com/cosmos/cosmos-sdk/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Base.V1beta1\xca\x02\x13\x43osmos\\Base\\V1beta1\xe2\x02\x1f\x43osmos\\Base\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Base::V1beta1\xd8\xe1\x1e\x00\x80\xe2\x1e\x00\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.v1beta1.coin_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.base.v1beta1B\tCoinProtoP\001Z\"github.com/cosmos/cosmos-sdk/types\242\002\003CBX\252\002\023Cosmos.Base.V1beta1\312\002\023Cosmos\\Base\\V1beta1\342\002\037Cosmos\\Base\\V1beta1\\GPBMetadata\352\002\025Cosmos::Base::V1beta1\330\341\036\000\200\342\036\000' + _globals['_COIN'].fields_by_name['amount']._loaded_options = None + _globals['_COIN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001' + _globals['_COIN']._loaded_options = None + _globals['_COIN']._serialized_options = b'\350\240\037\001' + _globals['_DECCOIN'].fields_by_name['amount']._loaded_options = None + _globals['_DECCOIN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_DECCOIN']._loaded_options = None + _globals['_DECCOIN']._serialized_options = b'\350\240\037\001' + _globals['_INTPROTO'].fields_by_name['int']._loaded_options = None + _globals['_INTPROTO'].fields_by_name['int']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_DECPROTO'].fields_by_name['dec']._loaded_options = None + _globals['_DECPROTO'].fields_by_name['dec']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_COIN']._serialized_start=123 + _globals['_COIN']._serialized_end=231 + _globals['_DECCOIN']._serialized_start=233 + _globals['_DECCOIN']._serialized_end=345 + _globals['_INTPROTO']._serialized_start=347 + _globals['_INTPROTO']._serialized_end=420 + _globals['_DECPROTO']._serialized_start=422 + _globals['_DECPROTO']._serialized_end=501 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/v1beta1/coin_pb2_grpc.py b/pyinjective/proto/cosmos/base/v1beta1/coin_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/base/v1beta1/coin_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/cosmos/circuit/module/v1/module_pb2.py b/pyinjective/proto/cosmos/circuit/module/v1/module_pb2.py new file mode 100644 index 00000000..da033cd6 --- /dev/null +++ b/pyinjective/proto/cosmos/circuit/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/circuit/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/circuit/module/v1/module.proto\x12\x18\x63osmos.circuit.module.v1\x1a cosmos/app/v1alpha1/module.proto\"F\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:\x1e\xba\xc0\x96\xda\x01\x18\n\x16\x63osmossdk.io/x/circuitB\xae\x01\n\x1c\x63om.cosmos.circuit.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x18\x43osmos.Circuit.Module.V1\xca\x02\x18\x43osmos\\Circuit\\Module\\V1\xe2\x02$Cosmos\\Circuit\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Circuit::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.circuit.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.circuit.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\030Cosmos.Circuit.Module.V1\312\002\030Cosmos\\Circuit\\Module\\V1\342\002$Cosmos\\Circuit\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Circuit::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\030\n\026cosmossdk.io/x/circuit' + _globals['_MODULE']._serialized_start=101 + _globals['_MODULE']._serialized_end=171 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/circuit/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/circuit/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/circuit/module/v1/module_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/cosmos/circuit/v1/query_pb2.py b/pyinjective/proto/cosmos/circuit/v1/query_pb2.py new file mode 100644 index 00000000..a4b77b8b --- /dev/null +++ b/pyinjective/proto/cosmos/circuit/v1/query_pb2.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/circuit/v1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.circuit.v1 import types_pb2 as cosmos_dot_circuit_dot_v1_dot_types__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/circuit/v1/query.proto\x12\x11\x63osmos.circuit.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1d\x63osmos/circuit/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/query/v1/query.proto\"/\n\x13QueryAccountRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"Q\n\x0f\x41\x63\x63ountResponse\x12>\n\npermission\x18\x01 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\npermission\"^\n\x14QueryAccountsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa5\x01\n\x10\x41\x63\x63ountsResponse\x12H\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32,.cosmos.circuit.v1.GenesisAccountPermissionsR\x08\x61\x63\x63ounts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x1a\n\x18QueryDisabledListRequest\";\n\x14\x44isabledListResponse\x12#\n\rdisabled_list\x18\x01 \x03(\tR\x0c\x64isabledList2\xad\x03\n\x05Query\x12\x89\x01\n\x07\x41\x63\x63ount\x12&.cosmos.circuit.v1.QueryAccountRequest\x1a\".cosmos.circuit.v1.AccountResponse\"2\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\'\x12%/cosmos/circuit/v1/accounts/{address}\x12\x82\x01\n\x08\x41\x63\x63ounts\x12\'.cosmos.circuit.v1.QueryAccountsRequest\x1a#.cosmos.circuit.v1.AccountsResponse\"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/circuit/v1/accounts\x12\x92\x01\n\x0c\x44isabledList\x12+.cosmos.circuit.v1.QueryDisabledListRequest\x1a\'.cosmos.circuit.v1.DisabledListResponse\",\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02!\x12\x1f/cosmos/circuit/v1/disable_listB\xa7\x01\n\x15\x63om.cosmos.circuit.v1B\nQueryProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.circuit.v1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.circuit.v1B\nQueryProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1' + _globals['_QUERY'].methods_by_name['Account']._loaded_options = None + _globals['_QUERY'].methods_by_name['Account']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\'\022%/cosmos/circuit/v1/accounts/{address}' + _globals['_QUERY'].methods_by_name['Accounts']._loaded_options = None + _globals['_QUERY'].methods_by_name['Accounts']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/circuit/v1/accounts' + _globals['_QUERY'].methods_by_name['DisabledList']._loaded_options = None + _globals['_QUERY'].methods_by_name['DisabledList']._serialized_options = b'\210\347\260*\001\202\323\344\223\002!\022\037/cosmos/circuit/v1/disable_list' + _globals['_QUERYACCOUNTREQUEST']._serialized_start=186 + _globals['_QUERYACCOUNTREQUEST']._serialized_end=233 + _globals['_ACCOUNTRESPONSE']._serialized_start=235 + _globals['_ACCOUNTRESPONSE']._serialized_end=316 + _globals['_QUERYACCOUNTSREQUEST']._serialized_start=318 + _globals['_QUERYACCOUNTSREQUEST']._serialized_end=412 + _globals['_ACCOUNTSRESPONSE']._serialized_start=415 + _globals['_ACCOUNTSRESPONSE']._serialized_end=580 + _globals['_QUERYDISABLEDLISTREQUEST']._serialized_start=582 + _globals['_QUERYDISABLEDLISTREQUEST']._serialized_end=608 + _globals['_DISABLEDLISTRESPONSE']._serialized_start=610 + _globals['_DISABLEDLISTRESPONSE']._serialized_end=669 + _globals['_QUERY']._serialized_start=672 + _globals['_QUERY']._serialized_end=1101 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/circuit/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/circuit/v1/query_pb2_grpc.py new file mode 100644 index 00000000..677ccf27 --- /dev/null +++ b/pyinjective/proto/cosmos/circuit/v1/query_pb2_grpc.py @@ -0,0 +1,169 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.circuit.v1 import query_pb2 as cosmos_dot_circuit_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the circuit gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Account = channel.unary_unary( + '/cosmos.circuit.v1.Query/Account', + request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountRequest.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountResponse.FromString, + _registered_method=True) + self.Accounts = channel.unary_unary( + '/cosmos.circuit.v1.Query/Accounts', + request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountsRequest.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountsResponse.FromString, + _registered_method=True) + self.DisabledList = channel.unary_unary( + '/cosmos.circuit.v1.Query/DisabledList', + request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryDisabledListRequest.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.DisabledListResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the circuit gRPC querier service. + """ + + def Account(self, request, context): + """Account returns account permissions. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Accounts(self, request, context): + """Account returns account permissions. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DisabledList(self, request, context): + """DisabledList returns a list of disabled message urls + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Account': grpc.unary_unary_rpc_method_handler( + servicer.Account, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountRequest.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountResponse.SerializeToString, + ), + 'Accounts': grpc.unary_unary_rpc_method_handler( + servicer.Accounts, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountsRequest.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountsResponse.SerializeToString, + ), + 'DisabledList': grpc.unary_unary_rpc_method_handler( + servicer.DisabledList, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryDisabledListRequest.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.DisabledListResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.circuit.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.circuit.v1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the circuit gRPC querier service. + """ + + @staticmethod + def Account(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.circuit.v1.Query/Account', + cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountRequest.SerializeToString, + cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Accounts(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.circuit.v1.Query/Accounts', + cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountsRequest.SerializeToString, + cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DisabledList(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.circuit.v1.Query/DisabledList', + cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryDisabledListRequest.SerializeToString, + cosmos_dot_circuit_dot_v1_dot_query__pb2.DisabledListResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/circuit/v1/tx_pb2.py b/pyinjective/proto/cosmos/circuit/v1/tx_pb2.py new file mode 100644 index 00000000..931bde0e --- /dev/null +++ b/pyinjective/proto/cosmos/circuit/v1/tx_pb2.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/circuit/v1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.cosmos.circuit.v1 import types_pb2 as cosmos_dot_circuit_dot_v1_dot_types__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63osmos/circuit/v1/tx.proto\x12\x11\x63osmos.circuit.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1d\x63osmos/circuit/v1/types.proto\"\xa0\x01\n\x1aMsgAuthorizeCircuitBreaker\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x18\n\x07grantee\x18\x02 \x01(\tR\x07grantee\x12@\n\x0bpermissions\x18\x03 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\x0bpermissions:\x0c\x82\xe7\xb0*\x07granter\">\n\"MsgAuthorizeCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\"i\n\x15MsgTripCircuitBreaker\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12\"\n\rmsg_type_urls\x18\x02 \x03(\tR\x0bmsgTypeUrls:\x0e\x82\xe7\xb0*\tauthority\"9\n\x1dMsgTripCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\"j\n\x16MsgResetCircuitBreaker\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12\"\n\rmsg_type_urls\x18\x03 \x03(\tR\x0bmsgTypeUrls:\x0e\x82\xe7\xb0*\tauthority\":\n\x1eMsgResetCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success2\xf4\x02\n\x03Msg\x12\x7f\n\x17\x41uthorizeCircuitBreaker\x12-.cosmos.circuit.v1.MsgAuthorizeCircuitBreaker\x1a\x35.cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse\x12p\n\x12TripCircuitBreaker\x12(.cosmos.circuit.v1.MsgTripCircuitBreaker\x1a\x30.cosmos.circuit.v1.MsgTripCircuitBreakerResponse\x12s\n\x13ResetCircuitBreaker\x12).cosmos.circuit.v1.MsgResetCircuitBreaker\x1a\x31.cosmos.circuit.v1.MsgResetCircuitBreakerResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xa4\x01\n\x15\x63om.cosmos.circuit.v1B\x07TxProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.circuit.v1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.circuit.v1B\007TxProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1' + _globals['_MSGAUTHORIZECIRCUITBREAKER']._loaded_options = None + _globals['_MSGAUTHORIZECIRCUITBREAKER']._serialized_options = b'\202\347\260*\007granter' + _globals['_MSGTRIPCIRCUITBREAKER']._loaded_options = None + _globals['_MSGTRIPCIRCUITBREAKER']._serialized_options = b'\202\347\260*\tauthority' + _globals['_MSGRESETCIRCUITBREAKER']._loaded_options = None + _globals['_MSGRESETCIRCUITBREAKER']._serialized_options = b'\202\347\260*\tauthority' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGAUTHORIZECIRCUITBREAKER']._serialized_start=106 + _globals['_MSGAUTHORIZECIRCUITBREAKER']._serialized_end=266 + _globals['_MSGAUTHORIZECIRCUITBREAKERRESPONSE']._serialized_start=268 + _globals['_MSGAUTHORIZECIRCUITBREAKERRESPONSE']._serialized_end=330 + _globals['_MSGTRIPCIRCUITBREAKER']._serialized_start=332 + _globals['_MSGTRIPCIRCUITBREAKER']._serialized_end=437 + _globals['_MSGTRIPCIRCUITBREAKERRESPONSE']._serialized_start=439 + _globals['_MSGTRIPCIRCUITBREAKERRESPONSE']._serialized_end=496 + _globals['_MSGRESETCIRCUITBREAKER']._serialized_start=498 + _globals['_MSGRESETCIRCUITBREAKER']._serialized_end=604 + _globals['_MSGRESETCIRCUITBREAKERRESPONSE']._serialized_start=606 + _globals['_MSGRESETCIRCUITBREAKERRESPONSE']._serialized_end=664 + _globals['_MSG']._serialized_start=667 + _globals['_MSG']._serialized_end=1039 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/circuit/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/circuit/v1/tx_pb2_grpc.py new file mode 100644 index 00000000..ab4dcc13 --- /dev/null +++ b/pyinjective/proto/cosmos/circuit/v1/tx_pb2_grpc.py @@ -0,0 +1,171 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.circuit.v1 import tx_pb2 as cosmos_dot_circuit_dot_v1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the circuit Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.AuthorizeCircuitBreaker = channel.unary_unary( + '/cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker', + request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreaker.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreakerResponse.FromString, + _registered_method=True) + self.TripCircuitBreaker = channel.unary_unary( + '/cosmos.circuit.v1.Msg/TripCircuitBreaker', + request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreaker.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreakerResponse.FromString, + _registered_method=True) + self.ResetCircuitBreaker = channel.unary_unary( + '/cosmos.circuit.v1.Msg/ResetCircuitBreaker', + request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreaker.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreakerResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the circuit Msg service. + """ + + def AuthorizeCircuitBreaker(self, request, context): + """AuthorizeCircuitBreaker allows a super-admin to grant (or revoke) another + account's circuit breaker permissions. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TripCircuitBreaker(self, request, context): + """TripCircuitBreaker pauses processing of Msg's in the state machine. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ResetCircuitBreaker(self, request, context): + """ResetCircuitBreaker resumes processing of Msg's in the state machine that + have been been paused using TripCircuitBreaker. + """ + 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 = { + 'AuthorizeCircuitBreaker': grpc.unary_unary_rpc_method_handler( + servicer.AuthorizeCircuitBreaker, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreaker.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreakerResponse.SerializeToString, + ), + 'TripCircuitBreaker': grpc.unary_unary_rpc_method_handler( + servicer.TripCircuitBreaker, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreaker.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreakerResponse.SerializeToString, + ), + 'ResetCircuitBreaker': grpc.unary_unary_rpc_method_handler( + servicer.ResetCircuitBreaker, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreaker.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreakerResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.circuit.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.circuit.v1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the circuit Msg service. + """ + + @staticmethod + def AuthorizeCircuitBreaker(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker', + cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreaker.SerializeToString, + cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreakerResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TripCircuitBreaker(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.circuit.v1.Msg/TripCircuitBreaker', + cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreaker.SerializeToString, + cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreakerResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ResetCircuitBreaker(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.circuit.v1.Msg/ResetCircuitBreaker', + cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreaker.SerializeToString, + cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreakerResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/circuit/v1/types_pb2.py b/pyinjective/proto/cosmos/circuit/v1/types_pb2.py new file mode 100644 index 00000000..53f8703e --- /dev/null +++ b/pyinjective/proto/cosmos/circuit/v1/types_pb2.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/circuit/v1/types.proto +# Protobuf Python Version: 5.26.1 +"""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\x1d\x63osmos/circuit/v1/types.proto\x12\x11\x63osmos.circuit.v1\"\xd6\x01\n\x0bPermissions\x12:\n\x05level\x18\x01 \x01(\x0e\x32$.cosmos.circuit.v1.Permissions.LevelR\x05level\x12&\n\x0flimit_type_urls\x18\x02 \x03(\tR\rlimitTypeUrls\"c\n\x05Level\x12\x1a\n\x16LEVEL_NONE_UNSPECIFIED\x10\x00\x12\x13\n\x0fLEVEL_SOME_MSGS\x10\x01\x12\x12\n\x0eLEVEL_ALL_MSGS\x10\x02\x12\x15\n\x11LEVEL_SUPER_ADMIN\x10\x03\"w\n\x19GenesisAccountPermissions\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\x0bpermissions\x18\x02 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\x0bpermissions\"\x9b\x01\n\x0cGenesisState\x12]\n\x13\x61\x63\x63ount_permissions\x18\x01 \x03(\x0b\x32,.cosmos.circuit.v1.GenesisAccountPermissionsR\x12\x61\x63\x63ountPermissions\x12,\n\x12\x64isabled_type_urls\x18\x02 \x03(\tR\x10\x64isabledTypeUrlsB\xa7\x01\n\x15\x63om.cosmos.circuit.v1B\nTypesProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.circuit.v1.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.circuit.v1B\nTypesProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1' + _globals['_PERMISSIONS']._serialized_start=53 + _globals['_PERMISSIONS']._serialized_end=267 + _globals['_PERMISSIONS_LEVEL']._serialized_start=168 + _globals['_PERMISSIONS_LEVEL']._serialized_end=267 + _globals['_GENESISACCOUNTPERMISSIONS']._serialized_start=269 + _globals['_GENESISACCOUNTPERMISSIONS']._serialized_end=388 + _globals['_GENESISSTATE']._serialized_start=391 + _globals['_GENESISSTATE']._serialized_end=546 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/circuit/v1/types_pb2_grpc.py b/pyinjective/proto/cosmos/circuit/v1/types_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/circuit/v1/types_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/cosmos/consensus/module/v1/module_pb2.py b/pyinjective/proto/cosmos/consensus/module/v1/module_pb2.py new file mode 100644 index 00000000..723e1ebf --- /dev/null +++ b/pyinjective/proto/cosmos/consensus/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/consensus/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/consensus/module/v1/module.proto\x12\x1a\x63osmos.consensus.module.v1\x1a cosmos/app/v1alpha1/module.proto\"X\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:0\xba\xc0\x96\xda\x01*\n(github.com/cosmos/cosmos-sdk/x/consensusB\xb8\x01\n\x1e\x63om.cosmos.consensus.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x1a\x43osmos.Consensus.Module.V1\xca\x02\x1a\x43osmos\\Consensus\\Module\\V1\xe2\x02&Cosmos\\Consensus\\Module\\V1\\GPBMetadata\xea\x02\x1d\x43osmos::Consensus::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.cosmos.consensus.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\032Cosmos.Consensus.Module.V1\312\002\032Cosmos\\Consensus\\Module\\V1\342\002&Cosmos\\Consensus\\Module\\V1\\GPBMetadata\352\002\035Cosmos::Consensus::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001*\n(github.com/cosmos/cosmos-sdk/x/consensus' + _globals['_MODULE']._serialized_start=105 + _globals['_MODULE']._serialized_end=193 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/consensus/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/consensus/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/consensus/module/v1/module_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/cosmos/consensus/v1/query_pb2.py b/pyinjective/proto/cosmos/consensus/v1/query_pb2.py new file mode 100644 index 00000000..32464859 --- /dev/null +++ b/pyinjective/proto/cosmos/consensus/v1/query_pb2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/consensus/v1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/consensus/v1/query.proto\x12\x13\x63osmos.consensus.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dtendermint/types/params.proto\"\x14\n\x12QueryParamsRequest\"P\n\x13QueryParamsResponse\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x06params2\x8a\x01\n\x05Query\x12\x80\x01\n\x06Params\x12\'.cosmos.consensus.v1.QueryParamsRequest\x1a(.cosmos.consensus.v1.QueryParamsResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/consensus/v1/paramsB\xc3\x01\n\x17\x63om.cosmos.consensus.v1B\nQueryProtoP\x01Z.github.com/cosmos/cosmos-sdk/x/consensus/types\xa2\x02\x03\x43\x43X\xaa\x02\x13\x43osmos.Consensus.V1\xca\x02\x13\x43osmos\\Consensus\\V1\xe2\x02\x1f\x43osmos\\Consensus\\V1\\GPBMetadata\xea\x02\x15\x43osmos::Consensus::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.v1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.consensus.v1B\nQueryProtoP\001Z.github.com/cosmos/cosmos-sdk/x/consensus/types\242\002\003CCX\252\002\023Cosmos.Consensus.V1\312\002\023Cosmos\\Consensus\\V1\342\002\037Cosmos\\Consensus\\V1\\GPBMetadata\352\002\025Cosmos::Consensus::V1' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/consensus/v1/params' + _globals['_QUERYPARAMSREQUEST']._serialized_start=117 + _globals['_QUERYPARAMSREQUEST']._serialized_end=137 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=139 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=219 + _globals['_QUERY']._serialized_start=222 + _globals['_QUERY']._serialized_end=360 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/consensus/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/consensus/v1/query_pb2_grpc.py new file mode 100644 index 00000000..b1a719b2 --- /dev/null +++ b/pyinjective/proto/cosmos/consensus/v1/query_pb2_grpc.py @@ -0,0 +1,81 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.consensus.v1 import query_pb2 as cosmos_dot_consensus_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Params = channel.unary_unary( + '/cosmos.consensus.v1.Query/Params', + request_serializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def Params(self, request, context): + """Params queries the parameters of x/consensus module. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.consensus.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.consensus.v1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.consensus.v1.Query/Params', + cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py b/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py new file mode 100644 index 00000000..584d4c38 --- /dev/null +++ b/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/consensus/v1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/consensus/v1/tx.proto\x12\x13\x63osmos.consensus.v1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1dtendermint/types/params.proto\"\xea\x02\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x33\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x1d.tendermint.types.BlockParamsR\x05\x62lock\x12<\n\x08\x65vidence\x18\x03 \x01(\x0b\x32 .tendermint.types.EvidenceParamsR\x08\x65vidence\x12?\n\tvalidator\x18\x04 \x01(\x0b\x32!.tendermint.types.ValidatorParamsR\tvalidator\x12\x30\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParamsR\x04\x61\x62\x63i:9\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*&cosmos-sdk/x/consensus/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.consensus.v1.MsgUpdateParams\x1a,.cosmos.consensus.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc0\x01\n\x17\x63om.cosmos.consensus.v1B\x07TxProtoP\x01Z.github.com/cosmos/cosmos-sdk/x/consensus/types\xa2\x02\x03\x43\x43X\xaa\x02\x13\x43osmos.Consensus.V1\xca\x02\x13\x43osmos\\Consensus\\V1\xe2\x02\x1f\x43osmos\\Consensus\\V1\\GPBMetadata\xea\x02\x15\x43osmos::Consensus::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.v1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.consensus.v1B\007TxProtoP\001Z.github.com/cosmos/cosmos-sdk/x/consensus/types\242\002\003CCX\252\002\023Cosmos.Consensus.V1\312\002\023Cosmos\\Consensus\\V1\342\002\037Cosmos\\Consensus\\V1\\GPBMetadata\352\002\025Cosmos::Consensus::V1' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*&cosmos-sdk/x/consensus/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGUPDATEPARAMS']._serialized_start=156 + _globals['_MSGUPDATEPARAMS']._serialized_end=518 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=520 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=545 + _globals['_MSG']._serialized_start=547 + _globals['_MSG']._serialized_end=659 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/consensus/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/consensus/v1/tx_pb2_grpc.py new file mode 100644 index 00000000..da512ed6 --- /dev/null +++ b/pyinjective/proto/cosmos/consensus/v1/tx_pb2_grpc.py @@ -0,0 +1,84 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.consensus.v1 import tx_pb2 as cosmos_dot_consensus_dot_v1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the consensus Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.UpdateParams = channel.unary_unary( + '/cosmos.consensus.v1.Msg/UpdateParams', + request_serializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the consensus Msg service. + """ + + def UpdateParams(self, request, context): + """UpdateParams defines a governance operation for updating the x/consensus module parameters. + The authority is defined in the keeper. + + Since: cosmos-sdk 0.47 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.consensus.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.consensus.v1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the consensus Msg service. + """ + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.consensus.v1.Msg/UpdateParams', + cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py b/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py new file mode 100644 index 00000000..2f26f291 --- /dev/null +++ b/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/crisis/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/crisis/module/v1/module.proto\x12\x17\x63osmos.crisis.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x83\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:-\xba\xc0\x96\xda\x01\'\n%github.com/cosmos/cosmos-sdk/x/crisisB\xa9\x01\n\x1b\x63om.cosmos.crisis.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x17\x43osmos.Crisis.Module.V1\xca\x02\x17\x43osmos\\Crisis\\Module\\V1\xe2\x02#Cosmos\\Crisis\\Module\\V1\\GPBMetadata\xea\x02\x1a\x43osmos::Crisis::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.crisis.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\027Cosmos.Crisis.Module.V1\312\002\027Cosmos\\Crisis\\Module\\V1\342\002#Cosmos\\Crisis\\Module\\V1\\GPBMetadata\352\002\032Cosmos::Crisis::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\'\n%github.com/cosmos/cosmos-sdk/x/crisis' + _globals['_MODULE']._serialized_start=100 + _globals['_MODULE']._serialized_end=231 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crisis/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/crisis/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/crisis/module/v1/module_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/cosmos/crisis/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..e2a3ae8e --- /dev/null +++ b/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/crisis/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/crisis/v1beta1/genesis.proto\x12\x15\x63osmos.crisis.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"W\n\x0cGenesisState\x12G\n\x0c\x63onstant_fee\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x63onstantFeeB\xcc\x01\n\x19\x63om.cosmos.crisis.v1beta1B\x0cGenesisProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/crisis/types\xa2\x02\x03\x43\x43X\xaa\x02\x15\x43osmos.Crisis.V1beta1\xca\x02\x15\x43osmos\\Crisis\\V1beta1\xe2\x02!Cosmos\\Crisis\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Crisis::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.crisis.v1beta1B\014GenesisProtoP\001Z+github.com/cosmos/cosmos-sdk/x/crisis/types\242\002\003CCX\252\002\025Cosmos.Crisis.V1beta1\312\002\025Cosmos\\Crisis\\V1beta1\342\002!Cosmos\\Crisis\\V1beta1\\GPBMetadata\352\002\027Cosmos::Crisis::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['constant_fee']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['constant_fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE']._serialized_start=135 + _globals['_GENESISSTATE']._serialized_end=222 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/crisis/v1beta1/genesis_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/cosmos/crisis/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2.py new file mode 100644 index 00000000..534ad09d --- /dev/null +++ b/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2.py @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/crisis/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/crisis/v1beta1/tx.proto\x12\x15\x63osmos.crisis.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\xda\x01\n\x12MsgVerifyInvariant\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x32\n\x15invariant_module_name\x18\x02 \x01(\tR\x13invariantModuleName\x12\'\n\x0finvariant_route\x18\x03 \x01(\tR\x0einvariantRoute:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgVerifyInvariant\"\x1c\n\x1aMsgVerifyInvariantResponse\"\xca\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12G\n\x0c\x63onstant_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x63onstantFee:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#cosmos-sdk/x/crisis/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xe5\x01\n\x03Msg\x12o\n\x0fVerifyInvariant\x12).cosmos.crisis.v1beta1.MsgVerifyInvariant\x1a\x31.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse\x12\x66\n\x0cUpdateParams\x12&.cosmos.crisis.v1beta1.MsgUpdateParams\x1a..cosmos.crisis.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc7\x01\n\x19\x63om.cosmos.crisis.v1beta1B\x07TxProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/crisis/types\xa2\x02\x03\x43\x43X\xaa\x02\x15\x43osmos.Crisis.V1beta1\xca\x02\x15\x43osmos\\Crisis\\V1beta1\xe2\x02!Cosmos\\Crisis\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Crisis::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.crisis.v1beta1B\007TxProtoP\001Z+github.com/cosmos/cosmos-sdk/x/crisis/types\242\002\003CCX\252\002\025Cosmos.Crisis.V1beta1\312\002\025Cosmos\\Crisis\\V1beta1\342\002!Cosmos\\Crisis\\V1beta1\\GPBMetadata\352\002\027Cosmos::Crisis::V1beta1' + _globals['_MSGVERIFYINVARIANT'].fields_by_name['sender']._loaded_options = None + _globals['_MSGVERIFYINVARIANT'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGVERIFYINVARIANT']._loaded_options = None + _globals['_MSGVERIFYINVARIANT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035cosmos-sdk/MsgVerifyInvariant' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['constant_fee']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['constant_fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*#cosmos-sdk/x/crisis/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGVERIFYINVARIANT']._serialized_start=183 + _globals['_MSGVERIFYINVARIANT']._serialized_end=401 + _globals['_MSGVERIFYINVARIANTRESPONSE']._serialized_start=403 + _globals['_MSGVERIFYINVARIANTRESPONSE']._serialized_end=431 + _globals['_MSGUPDATEPARAMS']._serialized_start=434 + _globals['_MSGUPDATEPARAMS']._serialized_end=636 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=638 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=663 + _globals['_MSG']._serialized_start=666 + _globals['_MSG']._serialized_end=895 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..1d15bace --- /dev/null +++ b/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,128 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.crisis.v1beta1 import tx_pb2 as cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the bank Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.VerifyInvariant = channel.unary_unary( + '/cosmos.crisis.v1beta1.Msg/VerifyInvariant', + request_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariant.SerializeToString, + response_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariantResponse.FromString, + _registered_method=True) + self.UpdateParams = channel.unary_unary( + '/cosmos.crisis.v1beta1.Msg/UpdateParams', + request_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the bank Msg service. + """ + + def VerifyInvariant(self, request, context): + """VerifyInvariant defines a method to verify a particular invariant. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """UpdateParams defines a governance operation for updating the x/crisis module + parameters. The authority is defined in the keeper. + + Since: cosmos-sdk 0.47 + """ + 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 = { + 'VerifyInvariant': grpc.unary_unary_rpc_method_handler( + servicer.VerifyInvariant, + request_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariant.FromString, + response_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariantResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.crisis.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.crisis.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the bank Msg service. + """ + + @staticmethod + def VerifyInvariant(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.crisis.v1beta1.Msg/VerifyInvariant', + cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariant.SerializeToString, + cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariantResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.crisis.v1beta1.Msg/UpdateParams', + cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py b/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py new file mode 100644 index 00000000..2855e3ba --- /dev/null +++ b/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/crypto/ed25519/keys.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/crypto/ed25519/keys.proto\x12\x15\x63osmos.crypto.ed25519\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\"i\n\x06PubKey\x12.\n\x03key\x18\x01 \x01(\x0c\x42\x1c\xfa\xde\x1f\x18\x63rypto/ed25519.PublicKeyR\x03key:/\x98\xa0\x1f\x00\x8a\xe7\xb0*\x18tendermint/PubKeyEd25519\x92\xe7\xb0*\tkey_field\"h\n\x07PrivKey\x12/\n\x03key\x18\x01 \x01(\x0c\x42\x1d\xfa\xde\x1f\x19\x63rypto/ed25519.PrivateKeyR\x03key:,\x8a\xe7\xb0*\x19tendermint/PrivKeyEd25519\x92\xe7\xb0*\tkey_fieldB\xce\x01\n\x19\x63om.cosmos.crypto.ed25519B\tKeysProtoP\x01Z0github.com/cosmos/cosmos-sdk/crypto/keys/ed25519\xa2\x02\x03\x43\x43\x45\xaa\x02\x15\x43osmos.Crypto.Ed25519\xca\x02\x15\x43osmos\\Crypto\\Ed25519\xe2\x02!Cosmos\\Crypto\\Ed25519\\GPBMetadata\xea\x02\x17\x43osmos::Crypto::Ed25519b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.ed25519.keys_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.crypto.ed25519B\tKeysProtoP\001Z0github.com/cosmos/cosmos-sdk/crypto/keys/ed25519\242\002\003CCE\252\002\025Cosmos.Crypto.Ed25519\312\002\025Cosmos\\Crypto\\Ed25519\342\002!Cosmos\\Crypto\\Ed25519\\GPBMetadata\352\002\027Cosmos::Crypto::Ed25519' + _globals['_PUBKEY'].fields_by_name['key']._loaded_options = None + _globals['_PUBKEY'].fields_by_name['key']._serialized_options = b'\372\336\037\030crypto/ed25519.PublicKey' + _globals['_PUBKEY']._loaded_options = None + _globals['_PUBKEY']._serialized_options = b'\230\240\037\000\212\347\260*\030tendermint/PubKeyEd25519\222\347\260*\tkey_field' + _globals['_PRIVKEY'].fields_by_name['key']._loaded_options = None + _globals['_PRIVKEY'].fields_by_name['key']._serialized_options = b'\372\336\037\031crypto/ed25519.PrivateKey' + _globals['_PRIVKEY']._loaded_options = None + _globals['_PRIVKEY']._serialized_options = b'\212\347\260*\031tendermint/PrivKeyEd25519\222\347\260*\tkey_field' + _globals['_PUBKEY']._serialized_start=100 + _globals['_PUBKEY']._serialized_end=205 + _globals['_PRIVKEY']._serialized_start=207 + _globals['_PRIVKEY']._serialized_end=311 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/crypto/ed25519/keys_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/cosmos/crypto/hd/v1/hd_pb2.py b/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2.py new file mode 100644 index 00000000..f6d78427 --- /dev/null +++ b/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/crypto/hd/v1/hd.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/crypto/hd/v1/hd.proto\x12\x13\x63osmos.crypto.hd.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\"\xc0\x01\n\x0b\x42IP44Params\x12\x18\n\x07purpose\x18\x01 \x01(\rR\x07purpose\x12\x1b\n\tcoin_type\x18\x02 \x01(\rR\x08\x63oinType\x12\x18\n\x07\x61\x63\x63ount\x18\x03 \x01(\rR\x07\x61\x63\x63ount\x12\x16\n\x06\x63hange\x18\x04 \x01(\x08R\x06\x63hange\x12#\n\raddress_index\x18\x05 \x01(\rR\x0c\x61\x64\x64ressIndex:#\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1a\x63rypto/keys/hd/BIP44ParamsB\xbd\x01\n\x17\x63om.cosmos.crypto.hd.v1B\x07HdProtoP\x01Z&github.com/cosmos/cosmos-sdk/crypto/hd\xa2\x02\x03\x43\x43H\xaa\x02\x13\x43osmos.Crypto.Hd.V1\xca\x02\x13\x43osmos\\Crypto\\Hd\\V1\xe2\x02\x1f\x43osmos\\Crypto\\Hd\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Crypto::Hd::V1\xc8\xe1\x1e\x00\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.hd.v1.hd_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.crypto.hd.v1B\007HdProtoP\001Z&github.com/cosmos/cosmos-sdk/crypto/hd\242\002\003CCH\252\002\023Cosmos.Crypto.Hd.V1\312\002\023Cosmos\\Crypto\\Hd\\V1\342\002\037Cosmos\\Crypto\\Hd\\V1\\GPBMetadata\352\002\026Cosmos::Crypto::Hd::V1\310\341\036\000' + _globals['_BIP44PARAMS']._loaded_options = None + _globals['_BIP44PARAMS']._serialized_options = b'\230\240\037\000\212\347\260*\032crypto/keys/hd/BIP44Params' + _globals['_BIP44PARAMS']._serialized_start=95 + _globals['_BIP44PARAMS']._serialized_end=287 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/crypto/hd/v1/hd_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/cosmos/crypto/keyring/v1/record_pb2.py b/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2.py new file mode 100644 index 00000000..3d06ef24 --- /dev/null +++ b/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/crypto/keyring/v1/record.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.cosmos.crypto.hd.v1 import hd_pb2 as cosmos_dot_crypto_dot_hd_dot_v1_dot_hd__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/crypto/keyring/v1/record.proto\x12\x18\x63osmos.crypto.keyring.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1c\x63osmos/crypto/hd/v1/hd.proto\"\xea\x03\n\x06Record\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06pubKey\x12>\n\x05local\x18\x03 \x01(\x0b\x32&.cosmos.crypto.keyring.v1.Record.LocalH\x00R\x05local\x12\x41\n\x06ledger\x18\x04 \x01(\x0b\x32\'.cosmos.crypto.keyring.v1.Record.LedgerH\x00R\x06ledger\x12>\n\x05multi\x18\x05 \x01(\x0b\x32&.cosmos.crypto.keyring.v1.Record.MultiH\x00R\x05multi\x12\x44\n\x07offline\x18\x06 \x01(\x0b\x32(.cosmos.crypto.keyring.v1.Record.OfflineH\x00R\x07offline\x1a\x38\n\x05Local\x12/\n\x08priv_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x07privKey\x1a>\n\x06Ledger\x12\x34\n\x04path\x18\x01 \x01(\x0b\x32 .cosmos.crypto.hd.v1.BIP44ParamsR\x04path\x1a\x07\n\x05Multi\x1a\t\n\x07OfflineB\x06\n\x04itemB\xe3\x01\n\x1c\x63om.cosmos.crypto.keyring.v1B\x0bRecordProtoP\x01Z+github.com/cosmos/cosmos-sdk/crypto/keyring\xa2\x02\x03\x43\x43K\xaa\x02\x18\x43osmos.Crypto.Keyring.V1\xca\x02\x18\x43osmos\\Crypto\\Keyring\\V1\xe2\x02$Cosmos\\Crypto\\Keyring\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Crypto::Keyring::V1\xc8\xe1\x1e\x00\x98\xe3\x1e\x00\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.keyring.v1.record_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.crypto.keyring.v1B\013RecordProtoP\001Z+github.com/cosmos/cosmos-sdk/crypto/keyring\242\002\003CCK\252\002\030Cosmos.Crypto.Keyring.V1\312\002\030Cosmos\\Crypto\\Keyring\\V1\342\002$Cosmos\\Crypto\\Keyring\\V1\\GPBMetadata\352\002\033Cosmos::Crypto::Keyring::V1\310\341\036\000\230\343\036\000' + _globals['_RECORD']._serialized_start=147 + _globals['_RECORD']._serialized_end=637 + _globals['_RECORD_LOCAL']._serialized_start=489 + _globals['_RECORD_LOCAL']._serialized_end=545 + _globals['_RECORD_LEDGER']._serialized_start=547 + _globals['_RECORD_LEDGER']._serialized_end=609 + _globals['_RECORD_MULTI']._serialized_start=611 + _globals['_RECORD_MULTI']._serialized_end=618 + _globals['_RECORD_OFFLINE']._serialized_start=620 + _globals['_RECORD_OFFLINE']._serialized_end=629 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/crypto/keyring/v1/record_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/cosmos/crypto/multisig/keys_pb2.py b/pyinjective/proto/cosmos/crypto/multisig/keys_pb2.py new file mode 100644 index 00000000..05f8c8e4 --- /dev/null +++ b/pyinjective/proto/cosmos/crypto/multisig/keys_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/crypto/multisig/keys.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/crypto/multisig/keys.proto\x12\x16\x63osmos.crypto.multisig\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xc3\x01\n\x11LegacyAminoPubKey\x12\x1c\n\tthreshold\x18\x01 \x01(\rR\tthreshold\x12N\n\x0bpublic_keys\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x17\xe2\xde\x1f\x07PubKeys\xa2\xe7\xb0*\x07pubkeysR\npublicKeys:@\x88\xa0\x1f\x00\x8a\xe7\xb0*\"tendermint/PubKeyMultisigThreshold\x92\xe7\xb0*\x10threshold_stringB\xd4\x01\n\x1a\x63om.cosmos.crypto.multisigB\tKeysProtoP\x01Z1github.com/cosmos/cosmos-sdk/crypto/keys/multisig\xa2\x02\x03\x43\x43M\xaa\x02\x16\x43osmos.Crypto.Multisig\xca\x02\x16\x43osmos\\Crypto\\Multisig\xe2\x02\"Cosmos\\Crypto\\Multisig\\GPBMetadata\xea\x02\x18\x43osmos::Crypto::Multisigb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.multisig.keys_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.crypto.multisigB\tKeysProtoP\001Z1github.com/cosmos/cosmos-sdk/crypto/keys/multisig\242\002\003CCM\252\002\026Cosmos.Crypto.Multisig\312\002\026Cosmos\\Crypto\\Multisig\342\002\"Cosmos\\Crypto\\Multisig\\GPBMetadata\352\002\030Cosmos::Crypto::Multisig' + _globals['_LEGACYAMINOPUBKEY'].fields_by_name['public_keys']._loaded_options = None + _globals['_LEGACYAMINOPUBKEY'].fields_by_name['public_keys']._serialized_options = b'\342\336\037\007PubKeys\242\347\260*\007pubkeys' + _globals['_LEGACYAMINOPUBKEY']._loaded_options = None + _globals['_LEGACYAMINOPUBKEY']._serialized_options = b'\210\240\037\000\212\347\260*\"tendermint/PubKeyMultisigThreshold\222\347\260*\020threshold_string' + _globals['_LEGACYAMINOPUBKEY']._serialized_start=130 + _globals['_LEGACYAMINOPUBKEY']._serialized_end=325 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/multisig/keys_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/multisig/keys_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/crypto/multisig/keys_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/cosmos/crypto/multisig/v1beta1/multisig_pb2.py b/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py new file mode 100644 index 00000000..510661bf --- /dev/null +++ b/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/crypto/multisig/v1beta1/multisig.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-cosmos/crypto/multisig/v1beta1/multisig.proto\x12\x1e\x63osmos.crypto.multisig.v1beta1\x1a\x14gogoproto/gogo.proto\"6\n\x0eMultiSignature\x12\x1e\n\nsignatures\x18\x01 \x03(\x0cR\nsignatures:\x04\xd0\xa1\x1f\x01\"Y\n\x0f\x43ompactBitArray\x12*\n\x11\x65xtra_bits_stored\x18\x01 \x01(\rR\x0f\x65xtraBitsStored\x12\x14\n\x05\x65lems\x18\x02 \x01(\x0cR\x05\x65lems:\x04\x98\xa0\x1f\x00\x42\xf9\x01\n\"com.cosmos.crypto.multisig.v1beta1B\rMultisigProtoP\x01Z)github.com/cosmos/cosmos-sdk/crypto/types\xa2\x02\x03\x43\x43M\xaa\x02\x1e\x43osmos.Crypto.Multisig.V1beta1\xca\x02\x1e\x43osmos\\Crypto\\Multisig\\V1beta1\xe2\x02*Cosmos\\Crypto\\Multisig\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Crypto::Multisig::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.multisig.v1beta1.multisig_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.cosmos.crypto.multisig.v1beta1B\rMultisigProtoP\001Z)github.com/cosmos/cosmos-sdk/crypto/types\242\002\003CCM\252\002\036Cosmos.Crypto.Multisig.V1beta1\312\002\036Cosmos\\Crypto\\Multisig\\V1beta1\342\002*Cosmos\\Crypto\\Multisig\\V1beta1\\GPBMetadata\352\002!Cosmos::Crypto::Multisig::V1beta1' + _globals['_MULTISIGNATURE']._loaded_options = None + _globals['_MULTISIGNATURE']._serialized_options = b'\320\241\037\001' + _globals['_COMPACTBITARRAY']._loaded_options = None + _globals['_COMPACTBITARRAY']._serialized_options = b'\230\240\037\000' + _globals['_MULTISIGNATURE']._serialized_start=103 + _globals['_MULTISIGNATURE']._serialized_end=157 + _globals['_COMPACTBITARRAY']._serialized_start=159 + _globals['_COMPACTBITARRAY']._serialized_end=248 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_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/cosmos/crypto/secp256k1/keys_pb2.py b/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2.py new file mode 100644 index 00000000..2b2cf7e6 --- /dev/null +++ b/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/crypto/secp256k1/keys.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/crypto/secp256k1/keys.proto\x12\x17\x63osmos.crypto.secp256k1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\"M\n\x06PubKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:1\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1atendermint/PubKeySecp256k1\x92\xe7\xb0*\tkey_field\"K\n\x07PrivKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:.\x8a\xe7\xb0*\x1btendermint/PrivKeySecp256k1\x92\xe7\xb0*\tkey_fieldB\xda\x01\n\x1b\x63om.cosmos.crypto.secp256k1B\tKeysProtoP\x01Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1\xa2\x02\x03\x43\x43S\xaa\x02\x17\x43osmos.Crypto.Secp256k1\xca\x02\x17\x43osmos\\Crypto\\Secp256k1\xe2\x02#Cosmos\\Crypto\\Secp256k1\\GPBMetadata\xea\x02\x19\x43osmos::Crypto::Secp256k1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.secp256k1.keys_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.crypto.secp256k1B\tKeysProtoP\001Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1\242\002\003CCS\252\002\027Cosmos.Crypto.Secp256k1\312\002\027Cosmos\\Crypto\\Secp256k1\342\002#Cosmos\\Crypto\\Secp256k1\\GPBMetadata\352\002\031Cosmos::Crypto::Secp256k1' + _globals['_PUBKEY']._loaded_options = None + _globals['_PUBKEY']._serialized_options = b'\230\240\037\000\212\347\260*\032tendermint/PubKeySecp256k1\222\347\260*\tkey_field' + _globals['_PRIVKEY']._loaded_options = None + _globals['_PRIVKEY']._serialized_options = b'\212\347\260*\033tendermint/PrivKeySecp256k1\222\347\260*\tkey_field' + _globals['_PUBKEY']._serialized_start=104 + _globals['_PUBKEY']._serialized_end=181 + _globals['_PRIVKEY']._serialized_start=183 + _globals['_PRIVKEY']._serialized_end=258 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/crypto/secp256k1/keys_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/cosmos/crypto/secp256r1/keys_pb2.py b/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2.py new file mode 100644 index 00000000..b708fc50 --- /dev/null +++ b/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/crypto/secp256r1/keys.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/crypto/secp256r1/keys.proto\x12\x17\x63osmos.crypto.secp256r1\x1a\x14gogoproto/gogo.proto\"\'\n\x06PubKey\x12\x1d\n\x03key\x18\x01 \x01(\x0c\x42\x0b\xda\xde\x1f\x07\x65\x63\x64saPKR\x03key\".\n\x07PrivKey\x12#\n\x06secret\x18\x01 \x01(\x0c\x42\x0b\xda\xde\x1f\x07\x65\x63\x64saSKR\x06secretB\xe6\x01\n\x1b\x63om.cosmos.crypto.secp256r1B\tKeysProtoP\x01Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1\xa2\x02\x03\x43\x43S\xaa\x02\x17\x43osmos.Crypto.Secp256r1\xca\x02\x17\x43osmos\\Crypto\\Secp256r1\xe2\x02#Cosmos\\Crypto\\Secp256r1\\GPBMetadata\xea\x02\x19\x43osmos::Crypto::Secp256r1\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xc8\xe3\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.secp256r1.keys_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.crypto.secp256r1B\tKeysProtoP\001Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1\242\002\003CCS\252\002\027Cosmos.Crypto.Secp256r1\312\002\027Cosmos\\Crypto\\Secp256r1\342\002#Cosmos\\Crypto\\Secp256r1\\GPBMetadata\352\002\031Cosmos::Crypto::Secp256r1\310\341\036\000\330\341\036\000\310\343\036\001' + _globals['_PUBKEY'].fields_by_name['key']._loaded_options = None + _globals['_PUBKEY'].fields_by_name['key']._serialized_options = b'\332\336\037\007ecdsaPK' + _globals['_PRIVKEY'].fields_by_name['secret']._loaded_options = None + _globals['_PRIVKEY'].fields_by_name['secret']._serialized_options = b'\332\336\037\007ecdsaSK' + _globals['_PUBKEY']._serialized_start=85 + _globals['_PUBKEY']._serialized_end=124 + _globals['_PRIVKEY']._serialized_start=126 + _globals['_PRIVKEY']._serialized_end=172 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/crypto/secp256r1/keys_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/cosmos/distribution/module/v1/module_pb2.py b/pyinjective/proto/cosmos/distribution/module/v1/module_pb2.py new file mode 100644 index 00000000..98e66656 --- /dev/null +++ b/pyinjective/proto/cosmos/distribution/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/distribution/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*cosmos/distribution/module/v1/module.proto\x12\x1d\x63osmos.distribution.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x89\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:3\xba\xc0\x96\xda\x01-\n+github.com/cosmos/cosmos-sdk/x/distributionB\xc7\x01\n!com.cosmos.distribution.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x44M\xaa\x02\x1d\x43osmos.Distribution.Module.V1\xca\x02\x1d\x43osmos\\Distribution\\Module\\V1\xe2\x02)Cosmos\\Distribution\\Module\\V1\\GPBMetadata\xea\x02 Cosmos::Distribution::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n!com.cosmos.distribution.module.v1B\013ModuleProtoP\001\242\002\003CDM\252\002\035Cosmos.Distribution.Module.V1\312\002\035Cosmos\\Distribution\\Module\\V1\342\002)Cosmos\\Distribution\\Module\\V1\\GPBMetadata\352\002 Cosmos::Distribution::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001-\n+github.com/cosmos/cosmos-sdk/x/distribution' + _globals['_MODULE']._serialized_start=112 + _globals['_MODULE']._serialized_end=249 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/distribution/module/v1/module_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/cosmos/distribution/v1beta1/distribution_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2.py new file mode 100644 index 00000000..db366a29 --- /dev/null +++ b/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2.py @@ -0,0 +1,91 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/distribution/v1beta1/distribution.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.cosmos/distribution/v1beta1/distribution.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x9a\x03\n\x06Params\x12[\n\rcommunity_tax\x18\x01 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0c\x63ommunityTax\x12j\n\x14\x62\x61se_proposer_reward\x18\x02 \x01(\tB8\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x12\x62\x61seProposerReward\x12l\n\x15\x62onus_proposer_reward\x18\x03 \x01(\tB8\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x13\x62onusProposerReward\x12\x32\n\x15withdraw_addr_enabled\x18\x04 \x01(\x08R\x13withdrawAddrEnabled:%\x8a\xe7\xb0* cosmos-sdk/x/distribution/Params\"\xd6\x01\n\x1aValidatorHistoricalRewards\x12\x8e\x01\n\x17\x63umulative_reward_ratio\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x15\x63umulativeRewardRatio\x12\'\n\x0freference_count\x18\x02 \x01(\rR\x0ereferenceCount\"\xa3\x01\n\x17ValidatorCurrentRewards\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards\x12\x16\n\x06period\x18\x02 \x01(\x04R\x06period\"\x98\x01\n\x1eValidatorAccumulatedCommission\x12v\n\ncommission\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\ncommission\"\x8f\x01\n\x1bValidatorOutstandingRewards\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards\"\x8f\x01\n\x13ValidatorSlashEvent\x12)\n\x10validator_period\x18\x01 \x01(\x04R\x0fvalidatorPeriod\x12M\n\x08\x66raction\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x08\x66raction\"\x89\x01\n\x14ValidatorSlashEvents\x12q\n\x16validator_slash_events\x18\x01 \x03(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSlashEvents\"\x88\x01\n\x07\x46\x65\x65Pool\x12}\n\x0e\x63ommunity_pool\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\rcommunityPool\"\x97\x02\n\x1a\x43ommunityPoolSpendProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\trecipient\x18\x03 \x01(\tR\trecipient\x12y\n\x06\x61mount\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:(\x18\x01\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd4\x01\n\x15\x44\x65legatorStartingInfo\x12\'\n\x0fprevious_period\x18\x01 \x01(\x04R\x0epreviousPeriod\x12L\n\x05stake\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x05stake\x12\x44\n\x06height\x18\x03 \x01(\x04\x42,\xea\xde\x1f\x0f\x63reation_height\xa2\xe7\xb0*\x0f\x63reation_height\xa8\xe7\xb0*\x01R\x06height\"\xe1\x01\n\x19\x44\x65legationDelegatorReward\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12n\n\x06reward\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x06reward:\x04\x88\xa0\x1f\x00\"\xd3\x01\n%CommunityPoolSpendProposalWithDeposit\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\trecipient\x18\x03 \x01(\tR\trecipient\x12\x16\n\x06\x61mount\x18\x04 \x01(\tR\x06\x61mount\x12\x18\n\x07\x64\x65posit\x18\x05 \x01(\tR\x07\x64\x65posit:\"\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB\xf9\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x11\x44istributionProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.distribution_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.distribution.v1beta1B\021DistributionProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001' + _globals['_PARAMS'].fields_by_name['community_tax']._loaded_options = None + _globals['_PARAMS'].fields_by_name['community_tax']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['base_proposer_reward']._loaded_options = None + _globals['_PARAMS'].fields_by_name['base_proposer_reward']._serialized_options = b'\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['bonus_proposer_reward']._loaded_options = None + _globals['_PARAMS'].fields_by_name['bonus_proposer_reward']._serialized_options = b'\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\212\347\260* cosmos-sdk/x/distribution/Params' + _globals['_VALIDATORHISTORICALREWARDS'].fields_by_name['cumulative_reward_ratio']._loaded_options = None + _globals['_VALIDATORHISTORICALREWARDS'].fields_by_name['cumulative_reward_ratio']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_VALIDATORCURRENTREWARDS'].fields_by_name['rewards']._loaded_options = None + _globals['_VALIDATORCURRENTREWARDS'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_VALIDATORACCUMULATEDCOMMISSION'].fields_by_name['commission']._loaded_options = None + _globals['_VALIDATORACCUMULATEDCOMMISSION'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_VALIDATOROUTSTANDINGREWARDS'].fields_by_name['rewards']._loaded_options = None + _globals['_VALIDATOROUTSTANDINGREWARDS'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_VALIDATORSLASHEVENT'].fields_by_name['fraction']._loaded_options = None + _globals['_VALIDATORSLASHEVENT'].fields_by_name['fraction']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_VALIDATORSLASHEVENTS'].fields_by_name['validator_slash_events']._loaded_options = None + _globals['_VALIDATORSLASHEVENTS'].fields_by_name['validator_slash_events']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_FEEPOOL'].fields_by_name['community_pool']._loaded_options = None + _globals['_FEEPOOL'].fields_by_name['community_pool']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_COMMUNITYPOOLSPENDPROPOSAL'].fields_by_name['amount']._loaded_options = None + _globals['_COMMUNITYPOOLSPENDPROPOSAL'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_COMMUNITYPOOLSPENDPROPOSAL']._loaded_options = None + _globals['_COMMUNITYPOOLSPENDPROPOSAL']._serialized_options = b'\030\001\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_DELEGATORSTARTINGINFO'].fields_by_name['stake']._loaded_options = None + _globals['_DELEGATORSTARTINGINFO'].fields_by_name['stake']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_DELEGATORSTARTINGINFO'].fields_by_name['height']._loaded_options = None + _globals['_DELEGATORSTARTINGINFO'].fields_by_name['height']._serialized_options = b'\352\336\037\017creation_height\242\347\260*\017creation_height\250\347\260*\001' + _globals['_DELEGATIONDELEGATORREWARD'].fields_by_name['validator_address']._loaded_options = None + _globals['_DELEGATIONDELEGATORREWARD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_DELEGATIONDELEGATORREWARD'].fields_by_name['reward']._loaded_options = None + _globals['_DELEGATIONDELEGATORREWARD'].fields_by_name['reward']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_DELEGATIONDELEGATORREWARD']._loaded_options = None + _globals['_DELEGATIONDELEGATORREWARD']._serialized_options = b'\210\240\037\000' + _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._loaded_options = None + _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._serialized_options = b'\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_PARAMS']._serialized_start=180 + _globals['_PARAMS']._serialized_end=590 + _globals['_VALIDATORHISTORICALREWARDS']._serialized_start=593 + _globals['_VALIDATORHISTORICALREWARDS']._serialized_end=807 + _globals['_VALIDATORCURRENTREWARDS']._serialized_start=810 + _globals['_VALIDATORCURRENTREWARDS']._serialized_end=973 + _globals['_VALIDATORACCUMULATEDCOMMISSION']._serialized_start=976 + _globals['_VALIDATORACCUMULATEDCOMMISSION']._serialized_end=1128 + _globals['_VALIDATOROUTSTANDINGREWARDS']._serialized_start=1131 + _globals['_VALIDATOROUTSTANDINGREWARDS']._serialized_end=1274 + _globals['_VALIDATORSLASHEVENT']._serialized_start=1277 + _globals['_VALIDATORSLASHEVENT']._serialized_end=1420 + _globals['_VALIDATORSLASHEVENTS']._serialized_start=1423 + _globals['_VALIDATORSLASHEVENTS']._serialized_end=1560 + _globals['_FEEPOOL']._serialized_start=1563 + _globals['_FEEPOOL']._serialized_end=1699 + _globals['_COMMUNITYPOOLSPENDPROPOSAL']._serialized_start=1702 + _globals['_COMMUNITYPOOLSPENDPROPOSAL']._serialized_end=1981 + _globals['_DELEGATORSTARTINGINFO']._serialized_start=1984 + _globals['_DELEGATORSTARTINGINFO']._serialized_end=2196 + _globals['_DELEGATIONDELEGATORREWARD']._serialized_start=2199 + _globals['_DELEGATIONDELEGATORREWARD']._serialized_end=2424 + _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._serialized_start=2427 + _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._serialized_end=2638 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/distribution/v1beta1/distribution_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/cosmos/distribution/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..49aaa896 --- /dev/null +++ b/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/distribution/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)cosmos/distribution/v1beta1/genesis.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xad\x01\n\x15\x44\x65legatorWithdrawInfo\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12\x43\n\x10withdraw_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x87\x02\n!ValidatorOutstandingRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x87\x01\n\x13outstanding_rewards\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x12outstandingRewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xea\x01\n$ValidatorAccumulatedCommissionRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12h\n\x0b\x61\x63\x63umulated\x18\x02 \x01(\x0b\x32;.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x61\x63\x63umulated:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf2\x01\n ValidatorHistoricalRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x16\n\x06period\x18\x02 \x01(\x04R\x06period\x12\\\n\x07rewards\x18\x03 \x01(\x0b\x32\x37.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd4\x01\n\x1dValidatorCurrentRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12Y\n\x07rewards\x18\x02 \x01(\x0b\x32\x34.cosmos.distribution.v1beta1.ValidatorCurrentRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa2\x02\n\x1b\x44\x65legatorStartingInfoRecord\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x62\n\rstarting_info\x18\x03 \x01(\x0b\x32\x32.cosmos.distribution.v1beta1.DelegatorStartingInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cstartingInfo:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x96\x02\n\x19ValidatorSlashEventRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x16\n\x06height\x18\x02 \x01(\x04R\x06height\x12\x16\n\x06period\x18\x03 \x01(\x04R\x06period\x12o\n\x15validator_slash_event\x18\x04 \x01(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13validatorSlashEvent:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8c\t\n\x0cGenesisState\x12\x46\n\x06params\x18\x01 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12J\n\x08\x66\x65\x65_pool\x18\x02 \x01(\x0b\x32$.cosmos.distribution.v1beta1.FeePoolB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x66\x65\x65Pool\x12w\n\x18\x64\x65legator_withdraw_infos\x18\x03 \x03(\x0b\x32\x32.cosmos.distribution.v1beta1.DelegatorWithdrawInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x16\x64\x65legatorWithdrawInfos\x12\x45\n\x11previous_proposer\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10previousProposer\x12z\n\x13outstanding_rewards\x18\x05 \x03(\x0b\x32>.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12outstandingRewards\x12\x98\x01\n!validator_accumulated_commissions\x18\x06 \x03(\x0b\x32\x41.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x1fvalidatorAccumulatedCommissions\x12\x8a\x01\n\x1cvalidator_historical_rewards\x18\x07 \x03(\x0b\x32=.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x1avalidatorHistoricalRewards\x12\x81\x01\n\x19validator_current_rewards\x18\x08 \x03(\x0b\x32:.cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x17validatorCurrentRewards\x12}\n\x18\x64\x65legator_starting_infos\x18\t \x03(\x0b\x32\x38.cosmos.distribution.v1beta1.DelegatorStartingInfoRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x16\x64\x65legatorStartingInfos\x12w\n\x16validator_slash_events\x18\n \x03(\x0b\x32\x36.cosmos.distribution.v1beta1.ValidatorSlashEventRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSlashEvents:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xf4\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x0cGenesisProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.distribution.v1beta1B\014GenesisProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001' + _globals['_DELEGATORWITHDRAWINFO'].fields_by_name['delegator_address']._loaded_options = None + _globals['_DELEGATORWITHDRAWINFO'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DELEGATORWITHDRAWINFO'].fields_by_name['withdraw_address']._loaded_options = None + _globals['_DELEGATORWITHDRAWINFO'].fields_by_name['withdraw_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DELEGATORWITHDRAWINFO']._loaded_options = None + _globals['_DELEGATORWITHDRAWINFO']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD'].fields_by_name['validator_address']._loaded_options = None + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD'].fields_by_name['outstanding_rewards']._loaded_options = None + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD'].fields_by_name['outstanding_rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._loaded_options = None + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD'].fields_by_name['validator_address']._loaded_options = None + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD'].fields_by_name['accumulated']._loaded_options = None + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD'].fields_by_name['accumulated']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._loaded_options = None + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_VALIDATORHISTORICALREWARDSRECORD'].fields_by_name['validator_address']._loaded_options = None + _globals['_VALIDATORHISTORICALREWARDSRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_VALIDATORHISTORICALREWARDSRECORD'].fields_by_name['rewards']._loaded_options = None + _globals['_VALIDATORHISTORICALREWARDSRECORD'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_VALIDATORHISTORICALREWARDSRECORD']._loaded_options = None + _globals['_VALIDATORHISTORICALREWARDSRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_VALIDATORCURRENTREWARDSRECORD'].fields_by_name['validator_address']._loaded_options = None + _globals['_VALIDATORCURRENTREWARDSRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_VALIDATORCURRENTREWARDSRECORD'].fields_by_name['rewards']._loaded_options = None + _globals['_VALIDATORCURRENTREWARDSRECORD'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_VALIDATORCURRENTREWARDSRECORD']._loaded_options = None + _globals['_VALIDATORCURRENTREWARDSRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['delegator_address']._loaded_options = None + _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['validator_address']._loaded_options = None + _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['starting_info']._loaded_options = None + _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['starting_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_DELEGATORSTARTINGINFORECORD']._loaded_options = None + _globals['_DELEGATORSTARTINGINFORECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_VALIDATORSLASHEVENTRECORD'].fields_by_name['validator_address']._loaded_options = None + _globals['_VALIDATORSLASHEVENTRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_VALIDATORSLASHEVENTRECORD'].fields_by_name['validator_slash_event']._loaded_options = None + _globals['_VALIDATORSLASHEVENTRECORD'].fields_by_name['validator_slash_event']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_VALIDATORSLASHEVENTRECORD']._loaded_options = None + _globals['_VALIDATORSLASHEVENTRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['fee_pool']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['fee_pool']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['delegator_withdraw_infos']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['delegator_withdraw_infos']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['previous_proposer']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['previous_proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_GENESISSTATE'].fields_by_name['outstanding_rewards']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['outstanding_rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['validator_accumulated_commissions']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['validator_accumulated_commissions']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['validator_historical_rewards']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['validator_historical_rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['validator_current_rewards']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['validator_current_rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['delegator_starting_infos']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['delegator_starting_infos']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['validator_slash_events']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['validator_slash_events']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE']._loaded_options = None + _globals['_GENESISSTATE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_DELEGATORWITHDRAWINFO']._serialized_start=223 + _globals['_DELEGATORWITHDRAWINFO']._serialized_end=396 + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._serialized_start=399 + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._serialized_end=662 + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._serialized_start=665 + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._serialized_end=899 + _globals['_VALIDATORHISTORICALREWARDSRECORD']._serialized_start=902 + _globals['_VALIDATORHISTORICALREWARDSRECORD']._serialized_end=1144 + _globals['_VALIDATORCURRENTREWARDSRECORD']._serialized_start=1147 + _globals['_VALIDATORCURRENTREWARDSRECORD']._serialized_end=1359 + _globals['_DELEGATORSTARTINGINFORECORD']._serialized_start=1362 + _globals['_DELEGATORSTARTINGINFORECORD']._serialized_end=1652 + _globals['_VALIDATORSLASHEVENTRECORD']._serialized_start=1655 + _globals['_VALIDATORSLASHEVENTRECORD']._serialized_end=1933 + _globals['_GENESISSTATE']._serialized_start=1936 + _globals['_GENESISSTATE']._serialized_end=3100 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/distribution/v1beta1/genesis_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/cosmos/distribution/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2.py new file mode 100644 index 00000000..0344a05c --- /dev/null +++ b/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2.py @@ -0,0 +1,150 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/distribution/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/distribution/v1beta1/query.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x14\n\x12QueryParamsRequest\"]\n\x13QueryParamsResponse\x12\x46\n\x06params\x18\x01 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"w\n%QueryValidatorDistributionInfoRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\"\xee\x02\n&QueryValidatorDistributionInfoResponse\x12L\n\x10operator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x0foperatorAddress\x12\x82\x01\n\x11self_bond_rewards\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x0fselfBondRewards\x12q\n\ncommission\x18\x03 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB3\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoinsR\ncommission\"y\n\'QueryValidatorOutstandingRewardsRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\"\x89\x01\n(QueryValidatorOutstandingRewardsResponse\x12]\n\x07rewards\x18\x01 \x01(\x0b\x32\x38.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards\"q\n\x1fQueryValidatorCommissionRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\"\x8a\x01\n QueryValidatorCommissionResponse\x12\x66\n\ncommission\x18\x01 \x01(\x0b\x32;.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission\"\x8a\x02\n\x1cQueryValidatorSlashesRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\'\n\x0fstarting_height\x18\x02 \x01(\x04R\x0estartingHeight\x12#\n\rending_height\x18\x03 \x01(\x04R\x0c\x65ndingHeight\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x04\x88\xa0\x1f\x00\"\xbf\x01\n\x1dQueryValidatorSlashesResponse\x12U\n\x07slashes\x18\x01 \x03(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07slashes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xc0\x01\n\x1dQueryDelegationRewardsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x92\x01\n\x1eQueryDelegationRewardsResponse\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards\"u\n\"QueryDelegationTotalRewardsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf0\x01\n#QueryDelegationTotalRewardsResponse\x12[\n\x07rewards\x18\x01 \x03(\x0b\x32\x36.cosmos.distribution.v1beta1.DelegationDelegatorRewardB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards\x12l\n\x05total\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x05total\"r\n\x1fQueryDelegatorValidatorsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"L\n QueryDelegatorValidatorsResponse\x12\x1e\n\nvalidators\x18\x01 \x03(\tR\nvalidators:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"w\n$QueryDelegatorWithdrawAddressRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"v\n%QueryDelegatorWithdrawAddressResponse\x12\x43\n\x10withdraw_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1b\n\x19QueryCommunityPoolRequest\"\x88\x01\n\x1aQueryCommunityPoolResponse\x12j\n\x04pool\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x04pool2\xc4\x11\n\x05Query\x12\x98\x01\n\x06Params\x12/.cosmos.distribution.v1beta1.QueryParamsRequest\x1a\x30.cosmos.distribution.v1beta1.QueryParamsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/cosmos/distribution/v1beta1/params\x12\xe9\x01\n\x19ValidatorDistributionInfo\x12\x42.cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest\x1a\x43.cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse\"C\x82\xd3\xe4\x93\x02=\x12;/cosmos/distribution/v1beta1/validators/{validator_address}\x12\x83\x02\n\x1bValidatorOutstandingRewards\x12\x44.cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest\x1a\x45.cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse\"W\x82\xd3\xe4\x93\x02Q\x12O/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards\x12\xe2\x01\n\x13ValidatorCommission\x12<.cosmos.distribution.v1beta1.QueryValidatorCommissionRequest\x1a=.cosmos.distribution.v1beta1.QueryValidatorCommissionResponse\"N\x82\xd3\xe4\x93\x02H\x12\x46/cosmos/distribution/v1beta1/validators/{validator_address}/commission\x12\xd6\x01\n\x10ValidatorSlashes\x12\x39.cosmos.distribution.v1beta1.QueryValidatorSlashesRequest\x1a:.cosmos.distribution.v1beta1.QueryValidatorSlashesResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/cosmos/distribution/v1beta1/validators/{validator_address}/slashes\x12\xed\x01\n\x11\x44\x65legationRewards\x12:.cosmos.distribution.v1beta1.QueryDelegationRewardsRequest\x1a;.cosmos.distribution.v1beta1.QueryDelegationRewardsResponse\"_\x82\xd3\xe4\x93\x02Y\x12W/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}\x12\xe8\x01\n\x16\x44\x65legationTotalRewards\x12?.cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest\x1a@.cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards\x12\xe2\x01\n\x13\x44\x65legatorValidators\x12<.cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest\x1a=.cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse\"N\x82\xd3\xe4\x93\x02H\x12\x46/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators\x12\xf7\x01\n\x18\x44\x65legatorWithdrawAddress\x12\x41.cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest\x1a\x42.cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse\"T\x82\xd3\xe4\x93\x02N\x12L/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address\x12\xb5\x01\n\rCommunityPool\x12\x36.cosmos.distribution.v1beta1.QueryCommunityPoolRequest\x1a\x37.cosmos.distribution.v1beta1.QueryCommunityPoolResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/distribution/v1beta1/community_poolB\xee\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\nQueryProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.distribution.v1beta1B\nQueryProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST'].fields_by_name['validator_address']._loaded_options = None + _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['operator_address']._loaded_options = None + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['operator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['self_bond_rewards']._loaded_options = None + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['self_bond_rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['commission']._loaded_options = None + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins' + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST'].fields_by_name['validator_address']._loaded_options = None + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE'].fields_by_name['rewards']._loaded_options = None + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYVALIDATORCOMMISSIONREQUEST'].fields_by_name['validator_address']._loaded_options = None + _globals['_QUERYVALIDATORCOMMISSIONREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYVALIDATORCOMMISSIONRESPONSE'].fields_by_name['commission']._loaded_options = None + _globals['_QUERYVALIDATORCOMMISSIONRESPONSE'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYVALIDATORSLASHESREQUEST'].fields_by_name['validator_address']._loaded_options = None + _globals['_QUERYVALIDATORSLASHESREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYVALIDATORSLASHESREQUEST']._loaded_options = None + _globals['_QUERYVALIDATORSLASHESREQUEST']._serialized_options = b'\210\240\037\000' + _globals['_QUERYVALIDATORSLASHESRESPONSE'].fields_by_name['slashes']._loaded_options = None + _globals['_QUERYVALIDATORSLASHESRESPONSE'].fields_by_name['slashes']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDELEGATIONREWARDSREQUEST'].fields_by_name['delegator_address']._loaded_options = None + _globals['_QUERYDELEGATIONREWARDSREQUEST'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATIONREWARDSREQUEST'].fields_by_name['validator_address']._loaded_options = None + _globals['_QUERYDELEGATIONREWARDSREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYDELEGATIONREWARDSREQUEST']._loaded_options = None + _globals['_QUERYDELEGATIONREWARDSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATIONREWARDSRESPONSE'].fields_by_name['rewards']._loaded_options = None + _globals['_QUERYDELEGATIONREWARDSRESPONSE'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST'].fields_by_name['delegator_address']._loaded_options = None + _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._loaded_options = None + _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE'].fields_by_name['rewards']._loaded_options = None + _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE'].fields_by_name['total']._loaded_options = None + _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE'].fields_by_name['total']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_QUERYDELEGATORVALIDATORSREQUEST'].fields_by_name['delegator_address']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORSREQUEST'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST'].fields_by_name['delegator_address']._loaded_options = None + _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._loaded_options = None + _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE'].fields_by_name['withdraw_address']._loaded_options = None + _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE'].fields_by_name['withdraw_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._loaded_options = None + _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYCOMMUNITYPOOLRESPONSE'].fields_by_name['pool']._loaded_options = None + _globals['_QUERYCOMMUNITYPOOLRESPONSE'].fields_by_name['pool']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002%\022#/cosmos/distribution/v1beta1/params' + _globals['_QUERY'].methods_by_name['ValidatorDistributionInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValidatorDistributionInfo']._serialized_options = b'\202\323\344\223\002=\022;/cosmos/distribution/v1beta1/validators/{validator_address}' + _globals['_QUERY'].methods_by_name['ValidatorOutstandingRewards']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValidatorOutstandingRewards']._serialized_options = b'\202\323\344\223\002Q\022O/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards' + _globals['_QUERY'].methods_by_name['ValidatorCommission']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValidatorCommission']._serialized_options = b'\202\323\344\223\002H\022F/cosmos/distribution/v1beta1/validators/{validator_address}/commission' + _globals['_QUERY'].methods_by_name['ValidatorSlashes']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValidatorSlashes']._serialized_options = b'\202\323\344\223\002E\022C/cosmos/distribution/v1beta1/validators/{validator_address}/slashes' + _globals['_QUERY'].methods_by_name['DelegationRewards']._loaded_options = None + _globals['_QUERY'].methods_by_name['DelegationRewards']._serialized_options = b'\202\323\344\223\002Y\022W/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}' + _globals['_QUERY'].methods_by_name['DelegationTotalRewards']._loaded_options = None + _globals['_QUERY'].methods_by_name['DelegationTotalRewards']._serialized_options = b'\202\323\344\223\002E\022C/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards' + _globals['_QUERY'].methods_by_name['DelegatorValidators']._loaded_options = None + _globals['_QUERY'].methods_by_name['DelegatorValidators']._serialized_options = b'\202\323\344\223\002H\022F/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators' + _globals['_QUERY'].methods_by_name['DelegatorWithdrawAddress']._loaded_options = None + _globals['_QUERY'].methods_by_name['DelegatorWithdrawAddress']._serialized_options = b'\202\323\344\223\002N\022L/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address' + _globals['_QUERY'].methods_by_name['CommunityPool']._loaded_options = None + _globals['_QUERY'].methods_by_name['CommunityPool']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/distribution/v1beta1/community_pool' + _globals['_QUERYPARAMSREQUEST']._serialized_start=294 + _globals['_QUERYPARAMSREQUEST']._serialized_end=314 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=316 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=409 + _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST']._serialized_start=411 + _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST']._serialized_end=530 + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE']._serialized_start=533 + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE']._serialized_end=899 + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST']._serialized_start=901 + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST']._serialized_end=1022 + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE']._serialized_start=1025 + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE']._serialized_end=1162 + _globals['_QUERYVALIDATORCOMMISSIONREQUEST']._serialized_start=1164 + _globals['_QUERYVALIDATORCOMMISSIONREQUEST']._serialized_end=1277 + _globals['_QUERYVALIDATORCOMMISSIONRESPONSE']._serialized_start=1280 + _globals['_QUERYVALIDATORCOMMISSIONRESPONSE']._serialized_end=1418 + _globals['_QUERYVALIDATORSLASHESREQUEST']._serialized_start=1421 + _globals['_QUERYVALIDATORSLASHESREQUEST']._serialized_end=1687 + _globals['_QUERYVALIDATORSLASHESRESPONSE']._serialized_start=1690 + _globals['_QUERYVALIDATORSLASHESRESPONSE']._serialized_end=1881 + _globals['_QUERYDELEGATIONREWARDSREQUEST']._serialized_start=1884 + _globals['_QUERYDELEGATIONREWARDSREQUEST']._serialized_end=2076 + _globals['_QUERYDELEGATIONREWARDSRESPONSE']._serialized_start=2079 + _globals['_QUERYDELEGATIONREWARDSRESPONSE']._serialized_end=2225 + _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._serialized_start=2227 + _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._serialized_end=2344 + _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE']._serialized_start=2347 + _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE']._serialized_end=2587 + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_start=2589 + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_end=2703 + _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_start=2705 + _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_end=2781 + _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._serialized_start=2783 + _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._serialized_end=2902 + _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._serialized_start=2904 + _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._serialized_end=3022 + _globals['_QUERYCOMMUNITYPOOLREQUEST']._serialized_start=3024 + _globals['_QUERYCOMMUNITYPOOLREQUEST']._serialized_end=3051 + _globals['_QUERYCOMMUNITYPOOLRESPONSE']._serialized_start=3054 + _globals['_QUERYCOMMUNITYPOOLRESPONSE']._serialized_end=3190 + _globals['_QUERY']._serialized_start=3193 + _globals['_QUERY']._serialized_end=5437 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..583d9bda --- /dev/null +++ b/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2_grpc.py @@ -0,0 +1,478 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.distribution.v1beta1 import query_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service for distribution module. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Params = channel.unary_unary( + '/cosmos.distribution.v1beta1.Query/Params', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + self.ValidatorDistributionInfo = channel.unary_unary( + '/cosmos.distribution.v1beta1.Query/ValidatorDistributionInfo', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoResponse.FromString, + _registered_method=True) + self.ValidatorOutstandingRewards = channel.unary_unary( + '/cosmos.distribution.v1beta1.Query/ValidatorOutstandingRewards', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsResponse.FromString, + _registered_method=True) + self.ValidatorCommission = channel.unary_unary( + '/cosmos.distribution.v1beta1.Query/ValidatorCommission', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionResponse.FromString, + _registered_method=True) + self.ValidatorSlashes = channel.unary_unary( + '/cosmos.distribution.v1beta1.Query/ValidatorSlashes', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesResponse.FromString, + _registered_method=True) + self.DelegationRewards = channel.unary_unary( + '/cosmos.distribution.v1beta1.Query/DelegationRewards', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsResponse.FromString, + _registered_method=True) + self.DelegationTotalRewards = channel.unary_unary( + '/cosmos.distribution.v1beta1.Query/DelegationTotalRewards', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsResponse.FromString, + _registered_method=True) + self.DelegatorValidators = channel.unary_unary( + '/cosmos.distribution.v1beta1.Query/DelegatorValidators', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, + _registered_method=True) + self.DelegatorWithdrawAddress = channel.unary_unary( + '/cosmos.distribution.v1beta1.Query/DelegatorWithdrawAddress', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressResponse.FromString, + _registered_method=True) + self.CommunityPool = channel.unary_unary( + '/cosmos.distribution.v1beta1.Query/CommunityPool', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service for distribution module. + """ + + def Params(self, request, context): + """Params queries params of the distribution module. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ValidatorDistributionInfo(self, request, context): + """ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ValidatorOutstandingRewards(self, request, context): + """ValidatorOutstandingRewards queries rewards of a validator address. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ValidatorCommission(self, request, context): + """ValidatorCommission queries accumulated commission for a validator. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ValidatorSlashes(self, request, context): + """ValidatorSlashes queries slash events of a validator. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DelegationRewards(self, request, context): + """DelegationRewards queries the total rewards accrued by a delegation. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DelegationTotalRewards(self, request, context): + """DelegationTotalRewards queries the total rewards accrued by each + validator. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DelegatorValidators(self, request, context): + """DelegatorValidators queries the validators of a delegator. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DelegatorWithdrawAddress(self, request, context): + """DelegatorWithdrawAddress queries withdraw address of a delegator. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CommunityPool(self, request, context): + """CommunityPool queries the community pool coins. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'ValidatorDistributionInfo': grpc.unary_unary_rpc_method_handler( + servicer.ValidatorDistributionInfo, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoResponse.SerializeToString, + ), + 'ValidatorOutstandingRewards': grpc.unary_unary_rpc_method_handler( + servicer.ValidatorOutstandingRewards, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsResponse.SerializeToString, + ), + 'ValidatorCommission': grpc.unary_unary_rpc_method_handler( + servicer.ValidatorCommission, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionResponse.SerializeToString, + ), + 'ValidatorSlashes': grpc.unary_unary_rpc_method_handler( + servicer.ValidatorSlashes, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesResponse.SerializeToString, + ), + 'DelegationRewards': grpc.unary_unary_rpc_method_handler( + servicer.DelegationRewards, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsResponse.SerializeToString, + ), + 'DelegationTotalRewards': grpc.unary_unary_rpc_method_handler( + servicer.DelegationTotalRewards, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsResponse.SerializeToString, + ), + 'DelegatorValidators': grpc.unary_unary_rpc_method_handler( + servicer.DelegatorValidators, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.SerializeToString, + ), + 'DelegatorWithdrawAddress': grpc.unary_unary_rpc_method_handler( + servicer.DelegatorWithdrawAddress, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressResponse.SerializeToString, + ), + 'CommunityPool': grpc.unary_unary_rpc_method_handler( + servicer.CommunityPool, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.distribution.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.distribution.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service for distribution module. + """ + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Query/Params', + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ValidatorDistributionInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Query/ValidatorDistributionInfo', + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoRequest.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ValidatorOutstandingRewards(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Query/ValidatorOutstandingRewards', + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsRequest.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ValidatorCommission(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Query/ValidatorCommission', + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionRequest.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ValidatorSlashes(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Query/ValidatorSlashes', + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesRequest.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DelegationRewards(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Query/DelegationRewards', + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsRequest.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DelegationTotalRewards(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Query/DelegationTotalRewards', + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsRequest.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DelegatorValidators(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Query/DelegatorValidators', + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DelegatorWithdrawAddress(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Query/DelegatorWithdrawAddress', + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressRequest.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CommunityPool(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Query/CommunityPool', + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolRequest.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py new file mode 100644 index 00000000..fc830db8 --- /dev/null +++ b/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py @@ -0,0 +1,109 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/distribution/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/distribution/v1beta1/tx.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\"\xeb\x01\n\x15MsgSetWithdrawAddress\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12\x43\n\x10withdraw_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:F\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*#cosmos-sdk/MsgModifyWithdrawAddress\"\x1f\n\x1dMsgSetWithdrawAddressResponse\"\xfe\x01\n\x1aMsgWithdrawDelegatorReward\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:I\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*&cosmos-sdk/MsgWithdrawDelegationReward\"\x9f\x01\n\"MsgWithdrawDelegatorRewardResponse\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\"\xb8\x01\n\x1eMsgWithdrawValidatorCommission\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:F\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*#cosmos-sdk/MsgWithdrawValCommission\"\xa3\x01\n&MsgWithdrawValidatorCommissionResponse\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\"\x85\x02\n\x14MsgFundCommunityPool\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor::\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgFundCommunityPool\"\x1e\n\x1cMsgFundCommunityPoolResponse\"\xcd\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x46\n\x06params\x18\x02 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'cosmos-sdk/distribution/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xa3\x02\n\x15MsgCommunityPoolSpend\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x1c\n\trecipient\x18\x02 \x01(\tR\trecipient\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:9\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*&cosmos-sdk/distr/MsgCommunityPoolSpend\"\x1f\n\x1dMsgCommunityPoolSpendResponse\"\xe5\x02\n\x1eMsgDepositValidatorRewardsPool\x12\x36\n\tdepositor\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*%cosmos-sdk/distr/MsgDepositValRewards\"(\n&MsgDepositValidatorRewardsPoolResponse2\xec\x07\n\x03Msg\x12\x84\x01\n\x12SetWithdrawAddress\x12\x32.cosmos.distribution.v1beta1.MsgSetWithdrawAddress\x1a:.cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse\x12\x93\x01\n\x17WithdrawDelegatorReward\x12\x37.cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward\x1a?.cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse\x12\x9f\x01\n\x1bWithdrawValidatorCommission\x12;.cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission\x1a\x43.cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse\x12\x81\x01\n\x11\x46undCommunityPool\x12\x31.cosmos.distribution.v1beta1.MsgFundCommunityPool\x1a\x39.cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse\x12r\n\x0cUpdateParams\x12,.cosmos.distribution.v1beta1.MsgUpdateParams\x1a\x34.cosmos.distribution.v1beta1.MsgUpdateParamsResponse\x12\x84\x01\n\x12\x43ommunityPoolSpend\x12\x32.cosmos.distribution.v1beta1.MsgCommunityPoolSpend\x1a:.cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse\x12\x9f\x01\n\x1b\x44\x65positValidatorRewardsPool\x12;.cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool\x1a\x43.cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xef\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x07TxProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.distribution.v1beta1B\007TxProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001' + _globals['_MSGSETWITHDRAWADDRESS'].fields_by_name['delegator_address']._loaded_options = None + _globals['_MSGSETWITHDRAWADDRESS'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSETWITHDRAWADDRESS'].fields_by_name['withdraw_address']._loaded_options = None + _globals['_MSGSETWITHDRAWADDRESS'].fields_by_name['withdraw_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSETWITHDRAWADDRESS']._loaded_options = None + _globals['_MSGSETWITHDRAWADDRESS']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*#cosmos-sdk/MsgModifyWithdrawAddress' + _globals['_MSGWITHDRAWDELEGATORREWARD'].fields_by_name['delegator_address']._loaded_options = None + _globals['_MSGWITHDRAWDELEGATORREWARD'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGWITHDRAWDELEGATORREWARD'].fields_by_name['validator_address']._loaded_options = None + _globals['_MSGWITHDRAWDELEGATORREWARD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGWITHDRAWDELEGATORREWARD']._loaded_options = None + _globals['_MSGWITHDRAWDELEGATORREWARD']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*&cosmos-sdk/MsgWithdrawDelegationReward' + _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE'].fields_by_name['amount']._loaded_options = None + _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGWITHDRAWVALIDATORCOMMISSION'].fields_by_name['validator_address']._loaded_options = None + _globals['_MSGWITHDRAWVALIDATORCOMMISSION'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._loaded_options = None + _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*#cosmos-sdk/MsgWithdrawValCommission' + _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE'].fields_by_name['amount']._loaded_options = None + _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGFUNDCOMMUNITYPOOL'].fields_by_name['amount']._loaded_options = None + _globals['_MSGFUNDCOMMUNITYPOOL'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGFUNDCOMMUNITYPOOL'].fields_by_name['depositor']._loaded_options = None + _globals['_MSGFUNDCOMMUNITYPOOL'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGFUNDCOMMUNITYPOOL']._loaded_options = None + _globals['_MSGFUNDCOMMUNITYPOOL']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\tdepositor\212\347\260*\037cosmos-sdk/MsgFundCommunityPool' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\'cosmos-sdk/distribution/MsgUpdateParams' + _globals['_MSGCOMMUNITYPOOLSPEND'].fields_by_name['authority']._loaded_options = None + _globals['_MSGCOMMUNITYPOOLSPEND'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCOMMUNITYPOOLSPEND'].fields_by_name['amount']._loaded_options = None + _globals['_MSGCOMMUNITYPOOLSPEND'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGCOMMUNITYPOOLSPEND']._loaded_options = None + _globals['_MSGCOMMUNITYPOOLSPEND']._serialized_options = b'\202\347\260*\tauthority\212\347\260*&cosmos-sdk/distr/MsgCommunityPoolSpend' + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['depositor']._loaded_options = None + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['validator_address']._loaded_options = None + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['amount']._loaded_options = None + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL']._loaded_options = None + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\tdepositor\212\347\260*%cosmos-sdk/distr/MsgDepositValRewards' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGSETWITHDRAWADDRESS']._serialized_start=243 + _globals['_MSGSETWITHDRAWADDRESS']._serialized_end=478 + _globals['_MSGSETWITHDRAWADDRESSRESPONSE']._serialized_start=480 + _globals['_MSGSETWITHDRAWADDRESSRESPONSE']._serialized_end=511 + _globals['_MSGWITHDRAWDELEGATORREWARD']._serialized_start=514 + _globals['_MSGWITHDRAWDELEGATORREWARD']._serialized_end=768 + _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE']._serialized_start=771 + _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE']._serialized_end=930 + _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._serialized_start=933 + _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._serialized_end=1117 + _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE']._serialized_start=1120 + _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE']._serialized_end=1283 + _globals['_MSGFUNDCOMMUNITYPOOL']._serialized_start=1286 + _globals['_MSGFUNDCOMMUNITYPOOL']._serialized_end=1547 + _globals['_MSGFUNDCOMMUNITYPOOLRESPONSE']._serialized_start=1549 + _globals['_MSGFUNDCOMMUNITYPOOLRESPONSE']._serialized_end=1579 + _globals['_MSGUPDATEPARAMS']._serialized_start=1582 + _globals['_MSGUPDATEPARAMS']._serialized_end=1787 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1789 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1814 + _globals['_MSGCOMMUNITYPOOLSPEND']._serialized_start=1817 + _globals['_MSGCOMMUNITYPOOLSPEND']._serialized_end=2108 + _globals['_MSGCOMMUNITYPOOLSPENDRESPONSE']._serialized_start=2110 + _globals['_MSGCOMMUNITYPOOLSPENDRESPONSE']._serialized_end=2141 + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL']._serialized_start=2144 + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL']._serialized_end=2501 + _globals['_MSGDEPOSITVALIDATORREWARDSPOOLRESPONSE']._serialized_start=2503 + _globals['_MSGDEPOSITVALIDATORREWARDSPOOLRESPONSE']._serialized_end=2543 + _globals['_MSG']._serialized_start=2546 + _globals['_MSG']._serialized_end=3550 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..57ae313a --- /dev/null +++ b/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,360 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.distribution.v1beta1 import tx_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the distribution Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.SetWithdrawAddress = channel.unary_unary( + '/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddress.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddressResponse.FromString, + _registered_method=True) + self.WithdrawDelegatorReward = channel.unary_unary( + '/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorReward.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorRewardResponse.FromString, + _registered_method=True) + self.WithdrawValidatorCommission = channel.unary_unary( + '/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommission.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommissionResponse.FromString, + _registered_method=True) + self.FundCommunityPool = channel.unary_unary( + '/cosmos.distribution.v1beta1.Msg/FundCommunityPool', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPool.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPoolResponse.FromString, + _registered_method=True) + self.UpdateParams = channel.unary_unary( + '/cosmos.distribution.v1beta1.Msg/UpdateParams', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + self.CommunityPoolSpend = channel.unary_unary( + '/cosmos.distribution.v1beta1.Msg/CommunityPoolSpend', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpend.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpendResponse.FromString, + _registered_method=True) + self.DepositValidatorRewardsPool = channel.unary_unary( + '/cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPool.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPoolResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the distribution Msg service. + """ + + def SetWithdrawAddress(self, request, context): + """SetWithdrawAddress defines a method to change the withdraw address + for a delegator (or validator self-delegation). + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def WithdrawDelegatorReward(self, request, context): + """WithdrawDelegatorReward defines a method to withdraw rewards of delegator + from a single validator. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def WithdrawValidatorCommission(self, request, context): + """WithdrawValidatorCommission defines a method to withdraw the + full commission to the validator address. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def FundCommunityPool(self, request, context): + """FundCommunityPool defines a method to allow an account to directly + fund the community pool. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """UpdateParams defines a governance operation for updating the x/distribution + module parameters. The authority is defined in the keeper. + + Since: cosmos-sdk 0.47 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CommunityPoolSpend(self, request, context): + """CommunityPoolSpend defines a governance operation for sending tokens from + the community pool in the x/distribution module to another account, which + could be the governance module itself. The authority is defined in the + keeper. + + Since: cosmos-sdk 0.47 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DepositValidatorRewardsPool(self, request, context): + """DepositValidatorRewardsPool defines a method to provide additional rewards + to delegators to a specific validator. + + Since: cosmos-sdk 0.50 + """ + 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 = { + 'SetWithdrawAddress': grpc.unary_unary_rpc_method_handler( + servicer.SetWithdrawAddress, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddress.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddressResponse.SerializeToString, + ), + 'WithdrawDelegatorReward': grpc.unary_unary_rpc_method_handler( + servicer.WithdrawDelegatorReward, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorReward.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorRewardResponse.SerializeToString, + ), + 'WithdrawValidatorCommission': grpc.unary_unary_rpc_method_handler( + servicer.WithdrawValidatorCommission, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommission.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommissionResponse.SerializeToString, + ), + 'FundCommunityPool': grpc.unary_unary_rpc_method_handler( + servicer.FundCommunityPool, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPool.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPoolResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'CommunityPoolSpend': grpc.unary_unary_rpc_method_handler( + servicer.CommunityPoolSpend, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpend.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpendResponse.SerializeToString, + ), + 'DepositValidatorRewardsPool': grpc.unary_unary_rpc_method_handler( + servicer.DepositValidatorRewardsPool, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPool.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPoolResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.distribution.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.distribution.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the distribution Msg service. + """ + + @staticmethod + def SetWithdrawAddress(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress', + cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddress.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddressResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def WithdrawDelegatorReward(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward', + cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorReward.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorRewardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def WithdrawValidatorCommission(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission', + cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommission.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommissionResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def FundCommunityPool(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Msg/FundCommunityPool', + cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPool.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPoolResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Msg/UpdateParams', + cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CommunityPoolSpend(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Msg/CommunityPoolSpend', + cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpend.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpendResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DepositValidatorRewardsPool(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool', + cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPool.SerializeToString, + cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPoolResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py b/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py new file mode 100644 index 00000000..8cf95a40 --- /dev/null +++ b/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/evidence/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/evidence/module/v1/module.proto\x12\x19\x63osmos.evidence.module.v1\x1a cosmos/app/v1alpha1/module.proto\")\n\x06Module:\x1f\xba\xc0\x96\xda\x01\x19\n\x17\x63osmossdk.io/x/evidenceB\xb3\x01\n\x1d\x63om.cosmos.evidence.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x45M\xaa\x02\x19\x43osmos.Evidence.Module.V1\xca\x02\x19\x43osmos\\Evidence\\Module\\V1\xe2\x02%Cosmos\\Evidence\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Evidence::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.evidence.module.v1B\013ModuleProtoP\001\242\002\003CEM\252\002\031Cosmos.Evidence.Module.V1\312\002\031Cosmos\\Evidence\\Module\\V1\342\002%Cosmos\\Evidence\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Evidence::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\031\n\027cosmossdk.io/x/evidence' + _globals['_MODULE']._serialized_start=103 + _globals['_MODULE']._serialized_end=144 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/evidence/module/v1/module_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/cosmos/evidence/v1beta1/evidence_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2.py new file mode 100644 index 00000000..69b76c34 --- /dev/null +++ b/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/evidence/v1beta1/evidence.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/evidence/v1beta1/evidence.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xe8\x01\n\x0c\x45quivocation\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12=\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12\x14\n\x05power\x18\x03 \x01(\x03R\x05power\x12\x45\n\x11\x63onsensus_address\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x63onsensusAddress:$\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x8a\xe7\xb0*\x17\x63osmos-sdk/EquivocationB\xcd\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\rEvidenceProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.evidence_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.evidence.v1beta1B\rEvidenceProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1\250\342\036\001' + _globals['_EQUIVOCATION'].fields_by_name['time']._loaded_options = None + _globals['_EQUIVOCATION'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_EQUIVOCATION'].fields_by_name['consensus_address']._loaded_options = None + _globals['_EQUIVOCATION'].fields_by_name['consensus_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EQUIVOCATION']._loaded_options = None + _globals['_EQUIVOCATION']._serialized_options = b'\210\240\037\000\350\240\037\000\212\347\260*\027cosmos-sdk/Equivocation' + _globals['_EQUIVOCATION']._serialized_start=169 + _globals['_EQUIVOCATION']._serialized_end=401 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/evidence/v1beta1/evidence_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/cosmos/evidence/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..8e90b025 --- /dev/null +++ b/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/evidence/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/evidence/v1beta1/genesis.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x19google/protobuf/any.proto\"@\n\x0cGenesisState\x12\x30\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x65videnceB\xc8\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\x0cGenesisProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.evidence.v1beta1B\014GenesisProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1' + _globals['_GENESISSTATE']._serialized_start=93 + _globals['_GENESISSTATE']._serialized_end=157 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/evidence/v1beta1/genesis_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/cosmos/evidence/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2.py new file mode 100644 index 00000000..1879ef40 --- /dev/null +++ b/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/evidence/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/evidence/v1beta1/query.proto\x12\x17\x63osmos.evidence.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\"S\n\x14QueryEvidenceRequest\x12\'\n\revidence_hash\x18\x01 \x01(\x0c\x42\x02\x18\x01R\x0c\x65videnceHash\x12\x12\n\x04hash\x18\x02 \x01(\tR\x04hash\"I\n\x15QueryEvidenceResponse\x12\x30\n\x08\x65vidence\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x08\x65vidence\"a\n\x17QueryAllEvidenceRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x95\x01\n\x18QueryAllEvidenceResponse\x12\x30\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x65vidence\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xc5\x02\n\x05Query\x12\x9b\x01\n\x08\x45vidence\x12-.cosmos.evidence.v1beta1.QueryEvidenceRequest\x1a..cosmos.evidence.v1beta1.QueryEvidenceResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/evidence/v1beta1/evidence/{hash}\x12\x9d\x01\n\x0b\x41llEvidence\x12\x30.cosmos.evidence.v1beta1.QueryAllEvidenceRequest\x1a\x31.cosmos.evidence.v1beta1.QueryAllEvidenceResponse\")\x82\xd3\xe4\x93\x02#\x12!/cosmos/evidence/v1beta1/evidenceB\xc6\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\nQueryProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.evidence.v1beta1B\nQueryProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1' + _globals['_QUERYEVIDENCEREQUEST'].fields_by_name['evidence_hash']._loaded_options = None + _globals['_QUERYEVIDENCEREQUEST'].fields_by_name['evidence_hash']._serialized_options = b'\030\001' + _globals['_QUERY'].methods_by_name['Evidence']._loaded_options = None + _globals['_QUERY'].methods_by_name['Evidence']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/evidence/v1beta1/evidence/{hash}' + _globals['_QUERY'].methods_by_name['AllEvidence']._loaded_options = None + _globals['_QUERY'].methods_by_name['AllEvidence']._serialized_options = b'\202\323\344\223\002#\022!/cosmos/evidence/v1beta1/evidence' + _globals['_QUERYEVIDENCEREQUEST']._serialized_start=165 + _globals['_QUERYEVIDENCEREQUEST']._serialized_end=248 + _globals['_QUERYEVIDENCERESPONSE']._serialized_start=250 + _globals['_QUERYEVIDENCERESPONSE']._serialized_end=323 + _globals['_QUERYALLEVIDENCEREQUEST']._serialized_start=325 + _globals['_QUERYALLEVIDENCEREQUEST']._serialized_end=422 + _globals['_QUERYALLEVIDENCERESPONSE']._serialized_start=425 + _globals['_QUERYALLEVIDENCERESPONSE']._serialized_end=574 + _globals['_QUERY']._serialized_start=577 + _globals['_QUERY']._serialized_end=902 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..879e2663 --- /dev/null +++ b/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2_grpc.py @@ -0,0 +1,125 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.evidence.v1beta1 import query_pb2 as cosmos_dot_evidence_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Evidence = channel.unary_unary( + '/cosmos.evidence.v1beta1.Query/Evidence', + request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceRequest.SerializeToString, + response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceResponse.FromString, + _registered_method=True) + self.AllEvidence = channel.unary_unary( + '/cosmos.evidence.v1beta1.Query/AllEvidence', + request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceRequest.SerializeToString, + response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def Evidence(self, request, context): + """Evidence queries evidence based on evidence hash. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AllEvidence(self, request, context): + """AllEvidence queries all evidence. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Evidence': grpc.unary_unary_rpc_method_handler( + servicer.Evidence, + request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceRequest.FromString, + response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceResponse.SerializeToString, + ), + 'AllEvidence': grpc.unary_unary_rpc_method_handler( + servicer.AllEvidence, + request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceRequest.FromString, + response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.evidence.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.evidence.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def Evidence(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.evidence.v1beta1.Query/Evidence', + cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceRequest.SerializeToString, + cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AllEvidence(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.evidence.v1beta1.Query/AllEvidence', + cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceRequest.SerializeToString, + cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py new file mode 100644 index 00000000..41809b0f --- /dev/null +++ b/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/evidence/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/evidence/v1beta1/tx.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xdc\x01\n\x11MsgSubmitEvidence\x12\x36\n\tsubmitter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tsubmitter\x12V\n\x08\x65vidence\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB$\xca\xb4- cosmos.evidence.v1beta1.EvidenceR\x08\x65vidence:7\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tsubmitter\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSubmitEvidence\"/\n\x19MsgSubmitEvidenceResponse\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash2~\n\x03Msg\x12p\n\x0eSubmitEvidence\x12*.cosmos.evidence.v1beta1.MsgSubmitEvidence\x1a\x32.cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc7\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\x07TxProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.evidence.v1beta1B\007TxProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1\250\342\036\001' + _globals['_MSGSUBMITEVIDENCE'].fields_by_name['submitter']._loaded_options = None + _globals['_MSGSUBMITEVIDENCE'].fields_by_name['submitter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSUBMITEVIDENCE'].fields_by_name['evidence']._loaded_options = None + _globals['_MSGSUBMITEVIDENCE'].fields_by_name['evidence']._serialized_options = b'\312\264- cosmos.evidence.v1beta1.Evidence' + _globals['_MSGSUBMITEVIDENCE']._loaded_options = None + _globals['_MSGSUBMITEVIDENCE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\tsubmitter\212\347\260*\034cosmos-sdk/MsgSubmitEvidence' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGSUBMITEVIDENCE']._serialized_start=182 + _globals['_MSGSUBMITEVIDENCE']._serialized_end=402 + _globals['_MSGSUBMITEVIDENCERESPONSE']._serialized_start=404 + _globals['_MSGSUBMITEVIDENCERESPONSE']._serialized_end=451 + _globals['_MSG']._serialized_start=453 + _globals['_MSG']._serialized_end=579 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..404c0f89 --- /dev/null +++ b/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,82 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.evidence.v1beta1 import tx_pb2 as cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the evidence Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.SubmitEvidence = channel.unary_unary( + '/cosmos.evidence.v1beta1.Msg/SubmitEvidence', + request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidence.SerializeToString, + response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidenceResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the evidence Msg service. + """ + + def SubmitEvidence(self, request, context): + """SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or + counterfactual signing. + """ + 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 = { + 'SubmitEvidence': grpc.unary_unary_rpc_method_handler( + servicer.SubmitEvidence, + request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidence.FromString, + response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidenceResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.evidence.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.evidence.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the evidence Msg service. + """ + + @staticmethod + def SubmitEvidence(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.evidence.v1beta1.Msg/SubmitEvidence', + cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidence.SerializeToString, + cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidenceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py b/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py new file mode 100644 index 00000000..ea894938 --- /dev/null +++ b/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/feegrant/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/feegrant/module/v1/module.proto\x12\x19\x63osmos.feegrant.module.v1\x1a cosmos/app/v1alpha1/module.proto\")\n\x06Module:\x1f\xba\xc0\x96\xda\x01\x19\n\x17\x63osmossdk.io/x/feegrantB\xb3\x01\n\x1d\x63om.cosmos.feegrant.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x46M\xaa\x02\x19\x43osmos.Feegrant.Module.V1\xca\x02\x19\x43osmos\\Feegrant\\Module\\V1\xe2\x02%Cosmos\\Feegrant\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Feegrant::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.feegrant.module.v1B\013ModuleProtoP\001\242\002\003CFM\252\002\031Cosmos.Feegrant.Module.V1\312\002\031Cosmos\\Feegrant\\Module\\V1\342\002%Cosmos\\Feegrant\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Feegrant::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\031\n\027cosmossdk.io/x/feegrant' + _globals['_MODULE']._serialized_start=103 + _globals['_MODULE']._serialized_end=144 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/feegrant/module/v1/module_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/cosmos/feegrant/v1beta1/feegrant_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2.py new file mode 100644 index 00000000..66be48b5 --- /dev/null +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2.py @@ -0,0 +1,68 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/feegrant/v1beta1/feegrant.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/feegrant/v1beta1/feegrant.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\"\xa0\x02\n\x0e\x42\x61sicAllowance\x12\x82\x01\n\x0bspend_limit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\nspendLimit\x12@\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nexpiration:G\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x19\x63osmos-sdk/BasicAllowance\"\xd9\x04\n\x11PeriodicAllowance\x12H\n\x05\x62\x61sic\x18\x01 \x01(\x0b\x32\'.cosmos.feegrant.v1beta1.BasicAllowanceB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05\x62\x61sic\x12@\n\x06period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x06period\x12\x8f\x01\n\x12period_spend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x10periodSpendLimit\x12\x8b\x01\n\x10period_can_spend\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0eperiodCanSpend\x12L\n\x0cperiod_reset\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0bperiodReset:J\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x1c\x63osmos-sdk/PeriodicAllowance\"\xf1\x01\n\x13\x41llowedMsgAllowance\x12]\n\tallowance\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowance\x12)\n\x10\x61llowed_messages\x18\x02 \x03(\tR\x0f\x61llowedMessages:P\x88\xa0\x1f\x00\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x1e\x63osmos-sdk/AllowedMsgAllowance\"\xce\x01\n\x05Grant\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12]\n\tallowance\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowanceB\xc3\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\rFeegrantProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.feegrant_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.feegrant.v1beta1B\rFeegrantProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1' + _globals['_BASICALLOWANCE'].fields_by_name['spend_limit']._loaded_options = None + _globals['_BASICALLOWANCE'].fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_BASICALLOWANCE'].fields_by_name['expiration']._loaded_options = None + _globals['_BASICALLOWANCE'].fields_by_name['expiration']._serialized_options = b'\220\337\037\001' + _globals['_BASICALLOWANCE']._loaded_options = None + _globals['_BASICALLOWANCE']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\031cosmos-sdk/BasicAllowance' + _globals['_PERIODICALLOWANCE'].fields_by_name['basic']._loaded_options = None + _globals['_PERIODICALLOWANCE'].fields_by_name['basic']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PERIODICALLOWANCE'].fields_by_name['period']._loaded_options = None + _globals['_PERIODICALLOWANCE'].fields_by_name['period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' + _globals['_PERIODICALLOWANCE'].fields_by_name['period_spend_limit']._loaded_options = None + _globals['_PERIODICALLOWANCE'].fields_by_name['period_spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_PERIODICALLOWANCE'].fields_by_name['period_can_spend']._loaded_options = None + _globals['_PERIODICALLOWANCE'].fields_by_name['period_can_spend']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_PERIODICALLOWANCE'].fields_by_name['period_reset']._loaded_options = None + _globals['_PERIODICALLOWANCE'].fields_by_name['period_reset']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_PERIODICALLOWANCE']._loaded_options = None + _globals['_PERIODICALLOWANCE']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\034cosmos-sdk/PeriodicAllowance' + _globals['_ALLOWEDMSGALLOWANCE'].fields_by_name['allowance']._loaded_options = None + _globals['_ALLOWEDMSGALLOWANCE'].fields_by_name['allowance']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI' + _globals['_ALLOWEDMSGALLOWANCE']._loaded_options = None + _globals['_ALLOWEDMSGALLOWANCE']._serialized_options = b'\210\240\037\000\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\036cosmos-sdk/AllowedMsgAllowance' + _globals['_GRANT'].fields_by_name['granter']._loaded_options = None + _globals['_GRANT'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_GRANT'].fields_by_name['grantee']._loaded_options = None + _globals['_GRANT'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_GRANT'].fields_by_name['allowance']._loaded_options = None + _globals['_GRANT'].fields_by_name['allowance']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI' + _globals['_BASICALLOWANCE']._serialized_start=260 + _globals['_BASICALLOWANCE']._serialized_end=548 + _globals['_PERIODICALLOWANCE']._serialized_start=551 + _globals['_PERIODICALLOWANCE']._serialized_end=1152 + _globals['_ALLOWEDMSGALLOWANCE']._serialized_start=1155 + _globals['_ALLOWEDMSGALLOWANCE']._serialized_end=1396 + _globals['_GRANT']._serialized_start=1399 + _globals['_GRANT']._serialized_end=1605 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_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/cosmos/feegrant/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..29d7e2ff --- /dev/null +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/feegrant/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.feegrant.v1beta1 import feegrant_pb2 as cosmos_dot_feegrant_dot_v1beta1_dot_feegrant__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/feegrant/v1beta1/genesis.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/feegrant/v1beta1/feegrant.proto\x1a\x11\x61mino/amino.proto\"Y\n\x0cGenesisState\x12I\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nallowancesB\xc2\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\x0cGenesisProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.feegrant.v1beta1B\014GenesisProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['allowances']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['allowances']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE']._serialized_start=147 + _globals['_GENESISSTATE']._serialized_end=236 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_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/cosmos/feegrant/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2.py new file mode 100644 index 00000000..c81182e8 --- /dev/null +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2.py @@ -0,0 +1,57 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/feegrant/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.feegrant.v1beta1 import feegrant_pb2 as cosmos_dot_feegrant_dot_v1beta1_dot_feegrant__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/feegrant/v1beta1/query.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a&cosmos/feegrant/v1beta1/feegrant.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x7f\n\x15QueryAllowanceRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\"V\n\x16QueryAllowanceResponse\x12<\n\tallowance\x18\x01 \x01(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\tallowance\"\x94\x01\n\x16QueryAllowancesRequest\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa2\x01\n\x17QueryAllowancesResponse\x12>\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\nallowances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x9d\x01\n\x1fQueryAllowancesByGranterRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xab\x01\n QueryAllowancesByGranterResponse\x12>\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\nallowances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\x9f\x04\n\x05Query\x12\xac\x01\n\tAllowance\x12..cosmos.feegrant.v1beta1.QueryAllowanceRequest\x1a/.cosmos.feegrant.v1beta1.QueryAllowanceResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}\x12\xa6\x01\n\nAllowances\x12/.cosmos.feegrant.v1beta1.QueryAllowancesRequest\x1a\x30.cosmos.feegrant.v1beta1.QueryAllowancesResponse\"5\x82\xd3\xe4\x93\x02/\x12-/cosmos/feegrant/v1beta1/allowances/{grantee}\x12\xbd\x01\n\x13\x41llowancesByGranter\x12\x38.cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest\x1a\x39.cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/feegrant/v1beta1/issued/{granter}B\xc0\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\nQueryProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.feegrant.v1beta1B\nQueryProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1' + _globals['_QUERYALLOWANCEREQUEST'].fields_by_name['granter']._loaded_options = None + _globals['_QUERYALLOWANCEREQUEST'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYALLOWANCEREQUEST'].fields_by_name['grantee']._loaded_options = None + _globals['_QUERYALLOWANCEREQUEST'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYALLOWANCESREQUEST'].fields_by_name['grantee']._loaded_options = None + _globals['_QUERYALLOWANCESREQUEST'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYALLOWANCESBYGRANTERREQUEST'].fields_by_name['granter']._loaded_options = None + _globals['_QUERYALLOWANCESBYGRANTERREQUEST'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERY'].methods_by_name['Allowance']._loaded_options = None + _globals['_QUERY'].methods_by_name['Allowance']._serialized_options = b'\202\323\344\223\0028\0226/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}' + _globals['_QUERY'].methods_by_name['Allowances']._loaded_options = None + _globals['_QUERY'].methods_by_name['Allowances']._serialized_options = b'\202\323\344\223\002/\022-/cosmos/feegrant/v1beta1/allowances/{grantee}' + _globals['_QUERY'].methods_by_name['AllowancesByGranter']._loaded_options = None + _globals['_QUERY'].methods_by_name['AllowancesByGranter']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/feegrant/v1beta1/issued/{granter}' + _globals['_QUERYALLOWANCEREQUEST']._serialized_start=205 + _globals['_QUERYALLOWANCEREQUEST']._serialized_end=332 + _globals['_QUERYALLOWANCERESPONSE']._serialized_start=334 + _globals['_QUERYALLOWANCERESPONSE']._serialized_end=420 + _globals['_QUERYALLOWANCESREQUEST']._serialized_start=423 + _globals['_QUERYALLOWANCESREQUEST']._serialized_end=571 + _globals['_QUERYALLOWANCESRESPONSE']._serialized_start=574 + _globals['_QUERYALLOWANCESRESPONSE']._serialized_end=736 + _globals['_QUERYALLOWANCESBYGRANTERREQUEST']._serialized_start=739 + _globals['_QUERYALLOWANCESBYGRANTERREQUEST']._serialized_end=896 + _globals['_QUERYALLOWANCESBYGRANTERRESPONSE']._serialized_start=899 + _globals['_QUERYALLOWANCESBYGRANTERRESPONSE']._serialized_end=1070 + _globals['_QUERY']._serialized_start=1073 + _globals['_QUERY']._serialized_end=1616 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..e5f502ad --- /dev/null +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2_grpc.py @@ -0,0 +1,171 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.feegrant.v1beta1 import query_pb2 as cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Allowance = channel.unary_unary( + '/cosmos.feegrant.v1beta1.Query/Allowance', + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceRequest.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceResponse.FromString, + _registered_method=True) + self.Allowances = channel.unary_unary( + '/cosmos.feegrant.v1beta1.Query/Allowances', + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesRequest.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesResponse.FromString, + _registered_method=True) + self.AllowancesByGranter = channel.unary_unary( + '/cosmos.feegrant.v1beta1.Query/AllowancesByGranter', + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterRequest.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def Allowance(self, request, context): + """Allowance returns granted allwance to the grantee by the granter. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Allowances(self, request, context): + """Allowances returns all the grants for the given grantee address. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AllowancesByGranter(self, request, context): + """AllowancesByGranter returns all the grants given by an address + + Since: cosmos-sdk 0.46 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Allowance': grpc.unary_unary_rpc_method_handler( + servicer.Allowance, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceRequest.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceResponse.SerializeToString, + ), + 'Allowances': grpc.unary_unary_rpc_method_handler( + servicer.Allowances, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesRequest.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesResponse.SerializeToString, + ), + 'AllowancesByGranter': grpc.unary_unary_rpc_method_handler( + servicer.AllowancesByGranter, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterRequest.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.feegrant.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.feegrant.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def Allowance(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.feegrant.v1beta1.Query/Allowance', + cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceRequest.SerializeToString, + cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Allowances(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.feegrant.v1beta1.Query/Allowances', + cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesRequest.SerializeToString, + cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AllowancesByGranter(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.feegrant.v1beta1.Query/AllowancesByGranter', + cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterRequest.SerializeToString, + cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py new file mode 100644 index 00000000..d6d08cb8 --- /dev/null +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py @@ -0,0 +1,63 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/feegrant/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/feegrant/v1beta1/tx.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\x89\x02\n\x11MsgGrantAllowance\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12]\n\tallowance\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowance:-\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgGrantAllowance\"\x1b\n\x19MsgGrantAllowanceResponse\"\xac\x01\n\x12MsgRevokeAllowance\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee:.\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgRevokeAllowance\"\x1c\n\x1aMsgRevokeAllowanceResponse\"S\n\x12MsgPruneAllowances\x12\x30\n\x06pruner\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06pruner:\x0b\x82\xe7\xb0*\x06pruner\"\x1c\n\x1aMsgPruneAllowancesResponse2\xe8\x02\n\x03Msg\x12p\n\x0eGrantAllowance\x12*.cosmos.feegrant.v1beta1.MsgGrantAllowance\x1a\x32.cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse\x12s\n\x0fRevokeAllowance\x12+.cosmos.feegrant.v1beta1.MsgRevokeAllowance\x1a\x33.cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse\x12s\n\x0fPruneAllowances\x12+.cosmos.feegrant.v1beta1.MsgPruneAllowances\x1a\x33.cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\x07TxProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.feegrant.v1beta1B\007TxProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1' + _globals['_MSGGRANTALLOWANCE'].fields_by_name['granter']._loaded_options = None + _globals['_MSGGRANTALLOWANCE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGGRANTALLOWANCE'].fields_by_name['grantee']._loaded_options = None + _globals['_MSGGRANTALLOWANCE'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGGRANTALLOWANCE'].fields_by_name['allowance']._loaded_options = None + _globals['_MSGGRANTALLOWANCE'].fields_by_name['allowance']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI' + _globals['_MSGGRANTALLOWANCE']._loaded_options = None + _globals['_MSGGRANTALLOWANCE']._serialized_options = b'\202\347\260*\007granter\212\347\260*\034cosmos-sdk/MsgGrantAllowance' + _globals['_MSGREVOKEALLOWANCE'].fields_by_name['granter']._loaded_options = None + _globals['_MSGREVOKEALLOWANCE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGREVOKEALLOWANCE'].fields_by_name['grantee']._loaded_options = None + _globals['_MSGREVOKEALLOWANCE'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGREVOKEALLOWANCE']._loaded_options = None + _globals['_MSGREVOKEALLOWANCE']._serialized_options = b'\202\347\260*\007granter\212\347\260*\035cosmos-sdk/MsgRevokeAllowance' + _globals['_MSGPRUNEALLOWANCES'].fields_by_name['pruner']._loaded_options = None + _globals['_MSGPRUNEALLOWANCES'].fields_by_name['pruner']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGPRUNEALLOWANCES']._loaded_options = None + _globals['_MSGPRUNEALLOWANCES']._serialized_options = b'\202\347\260*\006pruner' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGGRANTALLOWANCE']._serialized_start=160 + _globals['_MSGGRANTALLOWANCE']._serialized_end=425 + _globals['_MSGGRANTALLOWANCERESPONSE']._serialized_start=427 + _globals['_MSGGRANTALLOWANCERESPONSE']._serialized_end=454 + _globals['_MSGREVOKEALLOWANCE']._serialized_start=457 + _globals['_MSGREVOKEALLOWANCE']._serialized_end=629 + _globals['_MSGREVOKEALLOWANCERESPONSE']._serialized_start=631 + _globals['_MSGREVOKEALLOWANCERESPONSE']._serialized_end=659 + _globals['_MSGPRUNEALLOWANCES']._serialized_start=661 + _globals['_MSGPRUNEALLOWANCES']._serialized_end=744 + _globals['_MSGPRUNEALLOWANCESRESPONSE']._serialized_start=746 + _globals['_MSGPRUNEALLOWANCESRESPONSE']._serialized_end=774 + _globals['_MSG']._serialized_start=777 + _globals['_MSG']._serialized_end=1137 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..86ab0ccc --- /dev/null +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,173 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.feegrant.v1beta1 import tx_pb2 as cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the feegrant msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GrantAllowance = channel.unary_unary( + '/cosmos.feegrant.v1beta1.Msg/GrantAllowance', + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowance.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowanceResponse.FromString, + _registered_method=True) + self.RevokeAllowance = channel.unary_unary( + '/cosmos.feegrant.v1beta1.Msg/RevokeAllowance', + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowance.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowanceResponse.FromString, + _registered_method=True) + self.PruneAllowances = channel.unary_unary( + '/cosmos.feegrant.v1beta1.Msg/PruneAllowances', + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowances.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowancesResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the feegrant msg service. + """ + + def GrantAllowance(self, request, context): + """GrantAllowance grants fee allowance to the grantee on the granter's + account with the provided expiration time. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RevokeAllowance(self, request, context): + """RevokeAllowance revokes any fee allowance of granter's account that + has been granted to the grantee. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PruneAllowances(self, request, context): + """PruneAllowances prunes expired fee allowances, currently up to 75 at a time. + + Since cosmos-sdk 0.50 + """ + 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 = { + 'GrantAllowance': grpc.unary_unary_rpc_method_handler( + servicer.GrantAllowance, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowance.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowanceResponse.SerializeToString, + ), + 'RevokeAllowance': grpc.unary_unary_rpc_method_handler( + servicer.RevokeAllowance, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowance.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowanceResponse.SerializeToString, + ), + 'PruneAllowances': grpc.unary_unary_rpc_method_handler( + servicer.PruneAllowances, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowances.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowancesResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.feegrant.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.feegrant.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the feegrant msg service. + """ + + @staticmethod + def GrantAllowance(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.feegrant.v1beta1.Msg/GrantAllowance', + cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowance.SerializeToString, + cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowanceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RevokeAllowance(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.feegrant.v1beta1.Msg/RevokeAllowance', + cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowance.SerializeToString, + cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowanceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PruneAllowances(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.feegrant.v1beta1.Msg/PruneAllowances', + cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowances.SerializeToString, + cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowancesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py b/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py new file mode 100644 index 00000000..35d5b23f --- /dev/null +++ b/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/genutil/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/genutil/module/v1/module.proto\x12\x18\x63osmos.genutil.module.v1\x1a cosmos/app/v1alpha1/module.proto\"8\n\x06Module:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/genutilB\xae\x01\n\x1c\x63om.cosmos.genutil.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x18\x43osmos.Genutil.Module.V1\xca\x02\x18\x43osmos\\Genutil\\Module\\V1\xe2\x02$Cosmos\\Genutil\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Genutil::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.genutil.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.genutil.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\030Cosmos.Genutil.Module.V1\312\002\030Cosmos\\Genutil\\Module\\V1\342\002$Cosmos\\Genutil\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Genutil::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/genutil' + _globals['_MODULE']._serialized_start=101 + _globals['_MODULE']._serialized_end=157 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/genutil/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/genutil/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/genutil/module/v1/module_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/cosmos/genutil/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..c9247007 --- /dev/null +++ b/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/genutil/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/genutil/v1beta1/genesis.proto\x12\x16\x63osmos.genutil.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"_\n\x0cGenesisState\x12O\n\x07gen_txs\x18\x01 \x03(\x0c\x42\x36\xea\xde\x1f\x06gentxs\xfa\xde\x1f\x18\x65ncoding/json.RawMessage\xa2\xe7\xb0*\x06gentxs\xa8\xe7\xb0*\x01R\x06genTxsB\xd2\x01\n\x1a\x63om.cosmos.genutil.v1beta1B\x0cGenesisProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/genutil/types\xa2\x02\x03\x43GX\xaa\x02\x16\x43osmos.Genutil.V1beta1\xca\x02\x16\x43osmos\\Genutil\\V1beta1\xe2\x02\"Cosmos\\Genutil\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Genutil::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.genutil.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.genutil.v1beta1B\014GenesisProtoP\001Z,github.com/cosmos/cosmos-sdk/x/genutil/types\242\002\003CGX\252\002\026Cosmos.Genutil.V1beta1\312\002\026Cosmos\\Genutil\\V1beta1\342\002\"Cosmos\\Genutil\\V1beta1\\GPBMetadata\352\002\030Cosmos::Genutil::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['gen_txs']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['gen_txs']._serialized_options = b'\352\336\037\006gentxs\372\336\037\030encoding/json.RawMessage\242\347\260*\006gentxs\250\347\260*\001' + _globals['_GENESISSTATE']._serialized_start=105 + _globals['_GENESISSTATE']._serialized_end=200 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/genutil/v1beta1/genesis_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/cosmos/gov/module/v1/module_pb2.py b/pyinjective/proto/cosmos/gov/module/v1/module_pb2.py new file mode 100644 index 00000000..114e7982 --- /dev/null +++ b/pyinjective/proto/cosmos/gov/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/gov/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/gov/module/v1/module.proto\x12\x14\x63osmos.gov.module.v1\x1a cosmos/app/v1alpha1/module.proto\"|\n\x06Module\x12(\n\x10max_metadata_len\x18\x01 \x01(\x04R\x0emaxMetadataLen\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:*\xba\xc0\x96\xda\x01$\n\"github.com/cosmos/cosmos-sdk/x/govB\x9a\x01\n\x18\x63om.cosmos.gov.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x14\x43osmos.Gov.Module.V1\xca\x02\x14\x43osmos\\Gov\\Module\\V1\xe2\x02 Cosmos\\Gov\\Module\\V1\\GPBMetadata\xea\x02\x17\x43osmos::Gov::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.gov.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\024Cosmos.Gov.Module.V1\312\002\024Cosmos\\Gov\\Module\\V1\342\002 Cosmos\\Gov\\Module\\V1\\GPBMetadata\352\002\027Cosmos::Gov::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001$\n\"github.com/cosmos/cosmos-sdk/x/gov' + _globals['_MODULE']._serialized_start=93 + _globals['_MODULE']._serialized_end=217 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/gov/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/gov/module/v1/module_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/cosmos/gov/v1/genesis_pb2.py b/pyinjective/proto/cosmos/gov/v1/genesis_pb2.py new file mode 100644 index 00000000..72ccf1db --- /dev/null +++ b/pyinjective/proto/cosmos/gov/v1/genesis_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/gov/v1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.gov.v1 import gov_pb2 as cosmos_dot_gov_dot_v1_dot_gov__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/gov/v1/genesis.proto\x12\rcosmos.gov.v1\x1a\x17\x63osmos/gov/v1/gov.proto\"\xfb\x03\n\x0cGenesisState\x12\x30\n\x14starting_proposal_id\x18\x01 \x01(\x04R\x12startingProposalId\x12\x32\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32\x16.cosmos.gov.v1.DepositR\x08\x64\x65posits\x12)\n\x05votes\x18\x03 \x03(\x0b\x32\x13.cosmos.gov.v1.VoteR\x05votes\x12\x35\n\tproposals\x18\x04 \x03(\x0b\x32\x17.cosmos.gov.v1.ProposalR\tproposals\x12G\n\x0e\x64\x65posit_params\x18\x05 \x01(\x0b\x32\x1c.cosmos.gov.v1.DepositParamsB\x02\x18\x01R\rdepositParams\x12\x44\n\rvoting_params\x18\x06 \x01(\x0b\x32\x1b.cosmos.gov.v1.VotingParamsB\x02\x18\x01R\x0cvotingParams\x12\x41\n\x0ctally_params\x18\x07 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyParamsB\x02\x18\x01R\x0btallyParams\x12-\n\x06params\x18\x08 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsR\x06params\x12\"\n\x0c\x63onstitution\x18\t \x01(\tR\x0c\x63onstitutionB\xa4\x01\n\x11\x63om.cosmos.gov.v1B\x0cGenesisProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.gov.v1B\014GenesisProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1' + _globals['_GENESISSTATE'].fields_by_name['deposit_params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['deposit_params']._serialized_options = b'\030\001' + _globals['_GENESISSTATE'].fields_by_name['voting_params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['voting_params']._serialized_options = b'\030\001' + _globals['_GENESISSTATE'].fields_by_name['tally_params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['tally_params']._serialized_options = b'\030\001' + _globals['_GENESISSTATE']._serialized_start=72 + _globals['_GENESISSTATE']._serialized_end=579 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/gov/v1/genesis_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/cosmos/gov/v1/gov_pb2.py b/pyinjective/proto/cosmos/gov/v1/gov_pb2.py new file mode 100644 index 00000000..fe84d91f --- /dev/null +++ b/pyinjective/proto/cosmos/gov/v1/gov_pb2.py @@ -0,0 +1,126 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/gov/v1/gov.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63osmos/gov/v1/gov.proto\x12\rcosmos.gov.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"o\n\x12WeightedVoteOption\x12\x31\n\x06option\x18\x01 \x01(\x0e\x32\x19.cosmos.gov.v1.VoteOptionR\x06option\x12&\n\x06weight\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06weight\"\xa0\x01\n\x07\x44\x65posit\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12<\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\"\x84\x06\n\x08Proposal\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x30\n\x08messages\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x35\n\x06status\x18\x03 \x01(\x0e\x32\x1d.cosmos.gov.v1.ProposalStatusR\x06status\x12H\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyResultR\x10\x66inalTallyResult\x12\x41\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nsubmitTime\x12J\n\x10\x64\x65posit_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\x0e\x64\x65positEndTime\x12I\n\rtotal_deposit\x18\x07 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0ctotalDeposit\x12L\n\x11voting_start_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\x0fvotingStartTime\x12H\n\x0fvoting_end_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\rvotingEndTime\x12\x1a\n\x08metadata\x18\n \x01(\tR\x08metadata\x12\x14\n\x05title\x18\x0b \x01(\tR\x05title\x12\x18\n\x07summary\x18\x0c \x01(\tR\x07summary\x12\x34\n\x08proposer\x18\r \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer\x12\x1c\n\texpedited\x18\x0e \x01(\x08R\texpedited\x12#\n\rfailed_reason\x18\x0f \x01(\tR\x0c\x66\x61iledReason\"\xd7\x01\n\x0bTallyResult\x12+\n\tyes_count\x18\x01 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x08yesCount\x12\x33\n\rabstain_count\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x0c\x61\x62stainCount\x12)\n\x08no_count\x18\x03 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x07noCount\x12;\n\x12no_with_veto_count\x18\x04 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x0fnoWithVetoCount\"\xb6\x01\n\x04Vote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12;\n\x07options\x18\x04 \x03(\x0b\x32!.cosmos.gov.v1.WeightedVoteOptionR\x07options\x12\x1a\n\x08metadata\x18\x05 \x01(\tR\x08metadataJ\x04\x08\x03\x10\x04\"\xdd\x01\n\rDepositParams\x12Y\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x1d\xc8\xde\x1f\x00\xea\xde\x1f\x15min_deposit,omitemptyR\nminDeposit\x12m\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB$\xea\xde\x1f\x1cmax_deposit_period,omitempty\x98\xdf\x1f\x01R\x10maxDepositPeriod:\x02\x18\x01\"X\n\x0cVotingParams\x12\x44\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x0cvotingPeriod:\x02\x18\x01\"\x9e\x01\n\x0bTallyParams\x12&\n\x06quorum\x18\x01 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06quorum\x12,\n\tthreshold\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\tthreshold\x12\x35\n\x0eveto_threshold\x18\x03 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\rvetoThreshold:\x02\x18\x01\"\x8f\x08\n\x06Params\x12\x45\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nminDeposit\x12M\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x10maxDepositPeriod\x12\x44\n\rvoting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x0cvotingPeriod\x12&\n\x06quorum\x18\x04 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06quorum\x12,\n\tthreshold\x18\x05 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\tthreshold\x12\x35\n\x0eveto_threshold\x18\x06 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\rvetoThreshold\x12I\n\x19min_initial_deposit_ratio\x18\x07 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x16minInitialDepositRatio\x12\x42\n\x15proposal_cancel_ratio\x18\x08 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x13proposalCancelRatio\x12J\n\x14proposal_cancel_dest\x18\t \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12proposalCancelDest\x12W\n\x17\x65xpedited_voting_period\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x15\x65xpeditedVotingPeriod\x12?\n\x13\x65xpedited_threshold\x18\x0b \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x12\x65xpeditedThreshold\x12X\n\x15\x65xpedited_min_deposit\x18\x0c \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x65xpeditedMinDeposit\x12(\n\x10\x62urn_vote_quorum\x18\r \x01(\x08R\x0e\x62urnVoteQuorum\x12\x41\n\x1d\x62urn_proposal_deposit_prevote\x18\x0e \x01(\x08R\x1a\x62urnProposalDepositPrevote\x12$\n\x0e\x62urn_vote_veto\x18\x0f \x01(\x08R\x0c\x62urnVoteVeto\x12:\n\x11min_deposit_ratio\x18\x10 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x0fminDepositRatio*\x89\x01\n\nVoteOption\x12\x1b\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fVOTE_OPTION_YES\x10\x01\x12\x17\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x12\x12\n\x0eVOTE_OPTION_NO\x10\x03\x12\x1c\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04*\xce\x01\n\x0eProposalStatus\x12\x1f\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x12\"\n\x1ePROPOSAL_STATUS_DEPOSIT_PERIOD\x10\x01\x12!\n\x1dPROPOSAL_STATUS_VOTING_PERIOD\x10\x02\x12\x1a\n\x16PROPOSAL_STATUS_PASSED\x10\x03\x12\x1c\n\x18PROPOSAL_STATUS_REJECTED\x10\x04\x12\x1a\n\x16PROPOSAL_STATUS_FAILED\x10\x05\x42\xa0\x01\n\x11\x63om.cosmos.gov.v1B\x08GovProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.gov_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.gov.v1B\010GovProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1' + _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._loaded_options = None + _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_DEPOSIT'].fields_by_name['depositor']._loaded_options = None + _globals['_DEPOSIT'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DEPOSIT'].fields_by_name['amount']._loaded_options = None + _globals['_DEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['submit_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['submit_time']._serialized_options = b'\220\337\037\001' + _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._serialized_options = b'\220\337\037\001' + _globals['_PROPOSAL'].fields_by_name['total_deposit']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['total_deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['voting_start_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['voting_start_time']._serialized_options = b'\220\337\037\001' + _globals['_PROPOSAL'].fields_by_name['voting_end_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['voting_end_time']._serialized_options = b'\220\337\037\001' + _globals['_PROPOSAL'].fields_by_name['proposer']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_TALLYRESULT'].fields_by_name['yes_count']._loaded_options = None + _globals['_TALLYRESULT'].fields_by_name['yes_count']._serialized_options = b'\322\264-\ncosmos.Int' + _globals['_TALLYRESULT'].fields_by_name['abstain_count']._loaded_options = None + _globals['_TALLYRESULT'].fields_by_name['abstain_count']._serialized_options = b'\322\264-\ncosmos.Int' + _globals['_TALLYRESULT'].fields_by_name['no_count']._loaded_options = None + _globals['_TALLYRESULT'].fields_by_name['no_count']._serialized_options = b'\322\264-\ncosmos.Int' + _globals['_TALLYRESULT'].fields_by_name['no_with_veto_count']._loaded_options = None + _globals['_TALLYRESULT'].fields_by_name['no_with_veto_count']._serialized_options = b'\322\264-\ncosmos.Int' + _globals['_VOTE'].fields_by_name['voter']._loaded_options = None + _globals['_VOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._loaded_options = None + _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._serialized_options = b'\310\336\037\000\352\336\037\025min_deposit,omitempty' + _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._loaded_options = None + _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._serialized_options = b'\352\336\037\034max_deposit_period,omitempty\230\337\037\001' + _globals['_DEPOSITPARAMS']._loaded_options = None + _globals['_DEPOSITPARAMS']._serialized_options = b'\030\001' + _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._loaded_options = None + _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._serialized_options = b'\230\337\037\001' + _globals['_VOTINGPARAMS']._loaded_options = None + _globals['_VOTINGPARAMS']._serialized_options = b'\030\001' + _globals['_TALLYPARAMS'].fields_by_name['quorum']._loaded_options = None + _globals['_TALLYPARAMS'].fields_by_name['quorum']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_TALLYPARAMS'].fields_by_name['threshold']._loaded_options = None + _globals['_TALLYPARAMS'].fields_by_name['threshold']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._loaded_options = None + _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_TALLYPARAMS']._loaded_options = None + _globals['_TALLYPARAMS']._serialized_options = b'\030\001' + _globals['_PARAMS'].fields_by_name['min_deposit']._loaded_options = None + _globals['_PARAMS'].fields_by_name['min_deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['max_deposit_period']._loaded_options = None + _globals['_PARAMS'].fields_by_name['max_deposit_period']._serialized_options = b'\230\337\037\001' + _globals['_PARAMS'].fields_by_name['voting_period']._loaded_options = None + _globals['_PARAMS'].fields_by_name['voting_period']._serialized_options = b'\230\337\037\001' + _globals['_PARAMS'].fields_by_name['quorum']._loaded_options = None + _globals['_PARAMS'].fields_by_name['quorum']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_PARAMS'].fields_by_name['threshold']._loaded_options = None + _globals['_PARAMS'].fields_by_name['threshold']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_PARAMS'].fields_by_name['veto_threshold']._loaded_options = None + _globals['_PARAMS'].fields_by_name['veto_threshold']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_PARAMS'].fields_by_name['min_initial_deposit_ratio']._loaded_options = None + _globals['_PARAMS'].fields_by_name['min_initial_deposit_ratio']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_PARAMS'].fields_by_name['proposal_cancel_ratio']._loaded_options = None + _globals['_PARAMS'].fields_by_name['proposal_cancel_ratio']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_PARAMS'].fields_by_name['proposal_cancel_dest']._loaded_options = None + _globals['_PARAMS'].fields_by_name['proposal_cancel_dest']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_PARAMS'].fields_by_name['expedited_voting_period']._loaded_options = None + _globals['_PARAMS'].fields_by_name['expedited_voting_period']._serialized_options = b'\230\337\037\001' + _globals['_PARAMS'].fields_by_name['expedited_threshold']._loaded_options = None + _globals['_PARAMS'].fields_by_name['expedited_threshold']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_PARAMS'].fields_by_name['expedited_min_deposit']._loaded_options = None + _globals['_PARAMS'].fields_by_name['expedited_min_deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['min_deposit_ratio']._loaded_options = None + _globals['_PARAMS'].fields_by_name['min_deposit_ratio']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_VOTEOPTION']._serialized_start=3206 + _globals['_VOTEOPTION']._serialized_end=3343 + _globals['_PROPOSALSTATUS']._serialized_start=3346 + _globals['_PROPOSALSTATUS']._serialized_end=3552 + _globals['_WEIGHTEDVOTEOPTION']._serialized_start=234 + _globals['_WEIGHTEDVOTEOPTION']._serialized_end=345 + _globals['_DEPOSIT']._serialized_start=348 + _globals['_DEPOSIT']._serialized_end=508 + _globals['_PROPOSAL']._serialized_start=511 + _globals['_PROPOSAL']._serialized_end=1283 + _globals['_TALLYRESULT']._serialized_start=1286 + _globals['_TALLYRESULT']._serialized_end=1501 + _globals['_VOTE']._serialized_start=1504 + _globals['_VOTE']._serialized_end=1686 + _globals['_DEPOSITPARAMS']._serialized_start=1689 + _globals['_DEPOSITPARAMS']._serialized_end=1910 + _globals['_VOTINGPARAMS']._serialized_start=1912 + _globals['_VOTINGPARAMS']._serialized_end=2000 + _globals['_TALLYPARAMS']._serialized_start=2003 + _globals['_TALLYPARAMS']._serialized_end=2161 + _globals['_PARAMS']._serialized_start=2164 + _globals['_PARAMS']._serialized_end=3203 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/gov_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1/gov_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/gov/v1/gov_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/cosmos/gov/v1/query_pb2.py b/pyinjective/proto/cosmos/gov/v1/query_pb2.py new file mode 100644 index 00000000..81093e6d --- /dev/null +++ b/pyinjective/proto/cosmos/gov/v1/query_pb2.py @@ -0,0 +1,99 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/gov/v1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.gov.v1 import gov_pb2 as cosmos_dot_gov_dot_v1_dot_gov__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmos/gov/v1/query.proto\x12\rcosmos.gov.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17\x63osmos/gov/v1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x1a\n\x18QueryConstitutionRequest\"?\n\x19QueryConstitutionResponse\x12\"\n\x0c\x63onstitution\x18\x01 \x01(\tR\x0c\x63onstitution\"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"L\n\x15QueryProposalResponse\x12\x33\n\x08proposal\x18\x01 \x01(\x0b\x32\x17.cosmos.gov.v1.ProposalR\x08proposal\"\x8f\x02\n\x15QueryProposalsRequest\x12\x46\n\x0fproposal_status\x18\x01 \x01(\x0e\x32\x1d.cosmos.gov.v1.ProposalStatusR\x0eproposalStatus\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\tdepositor\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x98\x01\n\x16QueryProposalsResponse\x12\x35\n\tproposals\x18\x01 \x03(\x0b\x32\x17.cosmos.gov.v1.ProposalR\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"c\n\x10QueryVoteRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\"<\n\x11QueryVoteResponse\x12\'\n\x04vote\x18\x01 \x01(\x0b\x32\x13.cosmos.gov.v1.VoteR\x04vote\"|\n\x11QueryVotesRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x88\x01\n\x12QueryVotesResponse\x12)\n\x05votes\x18\x01 \x03(\x0b\x32\x13.cosmos.gov.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"5\n\x12QueryParamsRequest\x12\x1f\n\x0bparams_type\x18\x01 \x01(\tR\nparamsType\"\x96\x02\n\x13QueryParamsResponse\x12\x44\n\rvoting_params\x18\x01 \x01(\x0b\x32\x1b.cosmos.gov.v1.VotingParamsB\x02\x18\x01R\x0cvotingParams\x12G\n\x0e\x64\x65posit_params\x18\x02 \x01(\x0b\x32\x1c.cosmos.gov.v1.DepositParamsB\x02\x18\x01R\rdepositParams\x12\x41\n\x0ctally_params\x18\x03 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyParamsB\x02\x18\x01R\x0btallyParams\x12-\n\x06params\x18\x04 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsR\x06params\"n\n\x13QueryDepositRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\"H\n\x14QueryDepositResponse\x12\x30\n\x07\x64\x65posit\x18\x01 \x01(\x0b\x32\x16.cosmos.gov.v1.DepositR\x07\x64\x65posit\"\x7f\n\x14QueryDepositsRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x94\x01\n\x15QueryDepositsResponse\x12\x32\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x16.cosmos.gov.v1.DepositR\x08\x64\x65posits\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"L\n\x18QueryTallyResultResponse\x12\x30\n\x05tally\x18\x01 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyResultR\x05tally2\xe3\t\n\x05Query\x12\x86\x01\n\x0c\x43onstitution\x12\'.cosmos.gov.v1.QueryConstitutionRequest\x1a(.cosmos.gov.v1.QueryConstitutionResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/gov/v1/constitution\x12\x85\x01\n\x08Proposal\x12#.cosmos.gov.v1.QueryProposalRequest\x1a$.cosmos.gov.v1.QueryProposalResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/gov/v1/proposals/{proposal_id}\x12z\n\tProposals\x12$.cosmos.gov.v1.QueryProposalsRequest\x1a%.cosmos.gov.v1.QueryProposalsResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cosmos/gov/v1/proposals\x12\x87\x01\n\x04Vote\x12\x1f.cosmos.gov.v1.QueryVoteRequest\x1a .cosmos.gov.v1.QueryVoteResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}\x12\x82\x01\n\x05Votes\x12 .cosmos.gov.v1.QueryVotesRequest\x1a!.cosmos.gov.v1.QueryVotesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/gov/v1/proposals/{proposal_id}/votes\x12|\n\x06Params\x12!.cosmos.gov.v1.QueryParamsRequest\x1a\".cosmos.gov.v1.QueryParamsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/cosmos/gov/v1/params/{params_type}\x12\x97\x01\n\x07\x44\x65posit\x12\".cosmos.gov.v1.QueryDepositRequest\x1a#.cosmos.gov.v1.QueryDepositResponse\"C\x82\xd3\xe4\x93\x02=\x12;/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}\x12\x8e\x01\n\x08\x44\x65posits\x12#.cosmos.gov.v1.QueryDepositsRequest\x1a$.cosmos.gov.v1.QueryDepositsResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//cosmos/gov/v1/proposals/{proposal_id}/deposits\x12\x94\x01\n\x0bTallyResult\x12&.cosmos.gov.v1.QueryTallyResultRequest\x1a\'.cosmos.gov.v1.QueryTallyResultResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/gov/v1/proposals/{proposal_id}/tallyB\xa2\x01\n\x11\x63om.cosmos.gov.v1B\nQueryProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.gov.v1B\nQueryProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1' + _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['voter']._loaded_options = None + _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['depositor']._loaded_options = None + _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYVOTEREQUEST'].fields_by_name['voter']._loaded_options = None + _globals['_QUERYVOTEREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['voting_params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['voting_params']._serialized_options = b'\030\001' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['deposit_params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['deposit_params']._serialized_options = b'\030\001' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['tally_params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['tally_params']._serialized_options = b'\030\001' + _globals['_QUERYDEPOSITREQUEST'].fields_by_name['depositor']._loaded_options = None + _globals['_QUERYDEPOSITREQUEST'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERY'].methods_by_name['Constitution']._loaded_options = None + _globals['_QUERY'].methods_by_name['Constitution']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/gov/v1/constitution' + _globals['_QUERY'].methods_by_name['Proposal']._loaded_options = None + _globals['_QUERY'].methods_by_name['Proposal']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/gov/v1/proposals/{proposal_id}' + _globals['_QUERY'].methods_by_name['Proposals']._loaded_options = None + _globals['_QUERY'].methods_by_name['Proposals']._serialized_options = b'\202\323\344\223\002\032\022\030/cosmos/gov/v1/proposals' + _globals['_QUERY'].methods_by_name['Vote']._loaded_options = None + _globals['_QUERY'].methods_by_name['Vote']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}' + _globals['_QUERY'].methods_by_name['Votes']._loaded_options = None + _globals['_QUERY'].methods_by_name['Votes']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/gov/v1/proposals/{proposal_id}/votes' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002%\022#/cosmos/gov/v1/params/{params_type}' + _globals['_QUERY'].methods_by_name['Deposit']._loaded_options = None + _globals['_QUERY'].methods_by_name['Deposit']._serialized_options = b'\202\323\344\223\002=\022;/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}' + _globals['_QUERY'].methods_by_name['Deposits']._loaded_options = None + _globals['_QUERY'].methods_by_name['Deposits']._serialized_options = b'\202\323\344\223\0021\022//cosmos/gov/v1/proposals/{proposal_id}/deposits' + _globals['_QUERY'].methods_by_name['TallyResult']._loaded_options = None + _globals['_QUERY'].methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/gov/v1/proposals/{proposal_id}/tally' + _globals['_QUERYCONSTITUTIONREQUEST']._serialized_start=170 + _globals['_QUERYCONSTITUTIONREQUEST']._serialized_end=196 + _globals['_QUERYCONSTITUTIONRESPONSE']._serialized_start=198 + _globals['_QUERYCONSTITUTIONRESPONSE']._serialized_end=261 + _globals['_QUERYPROPOSALREQUEST']._serialized_start=263 + _globals['_QUERYPROPOSALREQUEST']._serialized_end=318 + _globals['_QUERYPROPOSALRESPONSE']._serialized_start=320 + _globals['_QUERYPROPOSALRESPONSE']._serialized_end=396 + _globals['_QUERYPROPOSALSREQUEST']._serialized_start=399 + _globals['_QUERYPROPOSALSREQUEST']._serialized_end=670 + _globals['_QUERYPROPOSALSRESPONSE']._serialized_start=673 + _globals['_QUERYPROPOSALSRESPONSE']._serialized_end=825 + _globals['_QUERYVOTEREQUEST']._serialized_start=827 + _globals['_QUERYVOTEREQUEST']._serialized_end=926 + _globals['_QUERYVOTERESPONSE']._serialized_start=928 + _globals['_QUERYVOTERESPONSE']._serialized_end=988 + _globals['_QUERYVOTESREQUEST']._serialized_start=990 + _globals['_QUERYVOTESREQUEST']._serialized_end=1114 + _globals['_QUERYVOTESRESPONSE']._serialized_start=1117 + _globals['_QUERYVOTESRESPONSE']._serialized_end=1253 + _globals['_QUERYPARAMSREQUEST']._serialized_start=1255 + _globals['_QUERYPARAMSREQUEST']._serialized_end=1308 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=1311 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=1589 + _globals['_QUERYDEPOSITREQUEST']._serialized_start=1591 + _globals['_QUERYDEPOSITREQUEST']._serialized_end=1701 + _globals['_QUERYDEPOSITRESPONSE']._serialized_start=1703 + _globals['_QUERYDEPOSITRESPONSE']._serialized_end=1775 + _globals['_QUERYDEPOSITSREQUEST']._serialized_start=1777 + _globals['_QUERYDEPOSITSREQUEST']._serialized_end=1904 + _globals['_QUERYDEPOSITSRESPONSE']._serialized_start=1907 + _globals['_QUERYDEPOSITSRESPONSE']._serialized_end=2055 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_start=2057 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=2115 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=2117 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=2193 + _globals['_QUERY']._serialized_start=2196 + _globals['_QUERY']._serialized_end=3447 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1/query_pb2_grpc.py new file mode 100644 index 00000000..4189082a --- /dev/null +++ b/pyinjective/proto/cosmos/gov/v1/query_pb2_grpc.py @@ -0,0 +1,433 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.gov.v1 import query_pb2 as cosmos_dot_gov_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service for gov module + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Constitution = channel.unary_unary( + '/cosmos.gov.v1.Query/Constitution', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionResponse.FromString, + _registered_method=True) + self.Proposal = channel.unary_unary( + '/cosmos.gov.v1.Query/Proposal', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, + _registered_method=True) + self.Proposals = channel.unary_unary( + '/cosmos.gov.v1.Query/Proposals', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsResponse.FromString, + _registered_method=True) + self.Vote = channel.unary_unary( + '/cosmos.gov.v1.Query/Vote', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteResponse.FromString, + _registered_method=True) + self.Votes = channel.unary_unary( + '/cosmos.gov.v1.Query/Votes', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesResponse.FromString, + _registered_method=True) + self.Params = channel.unary_unary( + '/cosmos.gov.v1.Query/Params', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + self.Deposit = channel.unary_unary( + '/cosmos.gov.v1.Query/Deposit', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositResponse.FromString, + _registered_method=True) + self.Deposits = channel.unary_unary( + '/cosmos.gov.v1.Query/Deposits', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsResponse.FromString, + _registered_method=True) + self.TallyResult = channel.unary_unary( + '/cosmos.gov.v1.Query/TallyResult', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service for gov module + """ + + def Constitution(self, request, context): + """Constitution queries the chain's constitution. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Proposal(self, request, context): + """Proposal queries proposal details based on ProposalID. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Proposals(self, request, context): + """Proposals queries all proposals based on given status. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Vote(self, request, context): + """Vote queries voted information based on proposalID, voterAddr. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Votes(self, request, context): + """Votes queries votes of a given proposal. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Params(self, request, context): + """Params queries all parameters of the gov module. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Deposit(self, request, context): + """Deposit queries single deposit information based on proposalID, depositAddr. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Deposits(self, request, context): + """Deposits queries all deposits of a single proposal. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TallyResult(self, request, context): + """TallyResult queries the tally of a proposal vote. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Constitution': grpc.unary_unary_rpc_method_handler( + servicer.Constitution, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionResponse.SerializeToString, + ), + 'Proposal': grpc.unary_unary_rpc_method_handler( + servicer.Proposal, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalResponse.SerializeToString, + ), + 'Proposals': grpc.unary_unary_rpc_method_handler( + servicer.Proposals, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsResponse.SerializeToString, + ), + 'Vote': grpc.unary_unary_rpc_method_handler( + servicer.Vote, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteResponse.SerializeToString, + ), + 'Votes': grpc.unary_unary_rpc_method_handler( + servicer.Votes, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesResponse.SerializeToString, + ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'Deposit': grpc.unary_unary_rpc_method_handler( + servicer.Deposit, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositResponse.SerializeToString, + ), + 'Deposits': grpc.unary_unary_rpc_method_handler( + servicer.Deposits, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsResponse.SerializeToString, + ), + 'TallyResult': grpc.unary_unary_rpc_method_handler( + servicer.TallyResult, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.gov.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.gov.v1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service for gov module + """ + + @staticmethod + def Constitution(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1.Query/Constitution', + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionRequest.SerializeToString, + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Proposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1.Query/Proposal', + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Proposals(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1.Query/Proposals', + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsRequest.SerializeToString, + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Vote(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1.Query/Vote', + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteRequest.SerializeToString, + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Votes(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1.Query/Votes', + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesRequest.SerializeToString, + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1.Query/Params', + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Deposit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1.Query/Deposit', + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositRequest.SerializeToString, + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Deposits(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1.Query/Deposits', + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsRequest.SerializeToString, + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TallyResult(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1.Query/TallyResult', + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, + cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/gov/v1/tx_pb2.py b/pyinjective/proto/cosmos/gov/v1/tx_pb2.py new file mode 100644 index 00000000..c2858275 --- /dev/null +++ b/pyinjective/proto/cosmos/gov/v1/tx_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/gov/v1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.gov.v1 import gov_pb2 as cosmos_dot_gov_dot_v1_dot_gov__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x63osmos/gov/v1/tx.proto\x12\rcosmos.gov.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/gov/v1/gov.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa5\x03\n\x11MsgSubmitProposal\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x8a\x01\n\x0finitial_deposit\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0einitialDeposit\x12\x34\n\x08proposer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12\x14\n\x05title\x18\x05 \x01(\tR\x05title\x12\x18\n\x07summary\x18\x06 \x01(\tR\x07summary\x12\x1c\n\texpedited\x18\x07 \x01(\x08R\texpedited:1\x82\xe7\xb0*\x08proposer\x8a\xe7\xb0*\x1f\x63osmos-sdk/v1/MsgSubmitProposal\"<\n\x19MsgSubmitProposalResponse\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\xbb\x01\n\x14MsgExecLegacyContent\x12N\n\x07\x63ontent\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:5\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\"cosmos-sdk/v1/MsgExecLegacyContent\"\x1e\n\x1cMsgExecLegacyContentResponse\"\xe5\x01\n\x07MsgVote\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x31\n\x06option\x18\x03 \x01(\x0e\x32\x19.cosmos.gov.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata:$\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x15\x63osmos-sdk/v1/MsgVote\"\x11\n\x0fMsgVoteResponse\"\xff\x01\n\x0fMsgVoteWeighted\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12;\n\x07options\x18\x03 \x03(\x0b\x32!.cosmos.gov.v1.WeightedVoteOptionR\x07options\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata:,\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x1d\x63osmos-sdk/v1/MsgVoteWeighted\"\x19\n\x17MsgVoteWeightedResponse\"\xe6\x01\n\nMsgDeposit\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12<\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:+\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x18\x63osmos-sdk/v1/MsgDeposit\"\x14\n\x12MsgDepositResponse\"\xbb\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#cosmos-sdk/x/gov/v1/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\x8a\x01\n\x11MsgCancelProposal\x12\x30\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x0f\xea\xde\x1f\x0bproposal_idR\nproposalId\x12\x34\n\x08proposer\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer:\r\x82\xe7\xb0*\x08proposer\"\xc1\x01\n\x19MsgCancelProposalResponse\x12\x30\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x0f\xea\xde\x1f\x0bproposal_idR\nproposalId\x12I\n\rcanceled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x0c\x63\x61nceledTime\x12\'\n\x0f\x63\x61nceled_height\x18\x03 \x01(\x04R\x0e\x63\x61nceledHeight2\xe8\x04\n\x03Msg\x12\\\n\x0eSubmitProposal\x12 .cosmos.gov.v1.MsgSubmitProposal\x1a(.cosmos.gov.v1.MsgSubmitProposalResponse\x12\x65\n\x11\x45xecLegacyContent\x12#.cosmos.gov.v1.MsgExecLegacyContent\x1a+.cosmos.gov.v1.MsgExecLegacyContentResponse\x12>\n\x04Vote\x12\x16.cosmos.gov.v1.MsgVote\x1a\x1e.cosmos.gov.v1.MsgVoteResponse\x12V\n\x0cVoteWeighted\x12\x1e.cosmos.gov.v1.MsgVoteWeighted\x1a&.cosmos.gov.v1.MsgVoteWeightedResponse\x12G\n\x07\x44\x65posit\x12\x19.cosmos.gov.v1.MsgDeposit\x1a!.cosmos.gov.v1.MsgDepositResponse\x12V\n\x0cUpdateParams\x12\x1e.cosmos.gov.v1.MsgUpdateParams\x1a&.cosmos.gov.v1.MsgUpdateParamsResponse\x12\\\n\x0e\x43\x61ncelProposal\x12 .cosmos.gov.v1.MsgCancelProposal\x1a(.cosmos.gov.v1.MsgCancelProposalResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9f\x01\n\x11\x63om.cosmos.gov.v1B\x07TxProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.gov.v1B\007TxProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1' + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['initial_deposit']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['initial_deposit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['proposer']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSUBMITPROPOSAL']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL']._serialized_options = b'\202\347\260*\010proposer\212\347\260*\037cosmos-sdk/v1/MsgSubmitProposal' + _globals['_MSGEXECLEGACYCONTENT'].fields_by_name['content']._loaded_options = None + _globals['_MSGEXECLEGACYCONTENT'].fields_by_name['content']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_MSGEXECLEGACYCONTENT']._loaded_options = None + _globals['_MSGEXECLEGACYCONTENT']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\"cosmos-sdk/v1/MsgExecLegacyContent' + _globals['_MSGVOTE'].fields_by_name['proposal_id']._loaded_options = None + _globals['_MSGVOTE'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' + _globals['_MSGVOTE'].fields_by_name['voter']._loaded_options = None + _globals['_MSGVOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGVOTE']._loaded_options = None + _globals['_MSGVOTE']._serialized_options = b'\202\347\260*\005voter\212\347\260*\025cosmos-sdk/v1/MsgVote' + _globals['_MSGVOTEWEIGHTED'].fields_by_name['proposal_id']._loaded_options = None + _globals['_MSGVOTEWEIGHTED'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' + _globals['_MSGVOTEWEIGHTED'].fields_by_name['voter']._loaded_options = None + _globals['_MSGVOTEWEIGHTED'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGVOTEWEIGHTED']._loaded_options = None + _globals['_MSGVOTEWEIGHTED']._serialized_options = b'\202\347\260*\005voter\212\347\260*\035cosmos-sdk/v1/MsgVoteWeighted' + _globals['_MSGDEPOSIT'].fields_by_name['proposal_id']._loaded_options = None + _globals['_MSGDEPOSIT'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' + _globals['_MSGDEPOSIT'].fields_by_name['depositor']._loaded_options = None + _globals['_MSGDEPOSIT'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGDEPOSIT'].fields_by_name['amount']._loaded_options = None + _globals['_MSGDEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGDEPOSIT']._loaded_options = None + _globals['_MSGDEPOSIT']._serialized_options = b'\202\347\260*\tdepositor\212\347\260*\030cosmos-sdk/v1/MsgDeposit' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*#cosmos-sdk/x/gov/v1/MsgUpdateParams' + _globals['_MSGCANCELPROPOSAL'].fields_by_name['proposal_id']._loaded_options = None + _globals['_MSGCANCELPROPOSAL'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id' + _globals['_MSGCANCELPROPOSAL'].fields_by_name['proposer']._loaded_options = None + _globals['_MSGCANCELPROPOSAL'].fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCANCELPROPOSAL']._loaded_options = None + _globals['_MSGCANCELPROPOSAL']._serialized_options = b'\202\347\260*\010proposer' + _globals['_MSGCANCELPROPOSALRESPONSE'].fields_by_name['proposal_id']._loaded_options = None + _globals['_MSGCANCELPROPOSALRESPONSE'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id' + _globals['_MSGCANCELPROPOSALRESPONSE'].fields_by_name['canceled_time']._loaded_options = None + _globals['_MSGCANCELPROPOSALRESPONSE'].fields_by_name['canceled_time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGSUBMITPROPOSAL']._serialized_start=252 + _globals['_MSGSUBMITPROPOSAL']._serialized_end=673 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_start=675 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_end=735 + _globals['_MSGEXECLEGACYCONTENT']._serialized_start=738 + _globals['_MSGEXECLEGACYCONTENT']._serialized_end=925 + _globals['_MSGEXECLEGACYCONTENTRESPONSE']._serialized_start=927 + _globals['_MSGEXECLEGACYCONTENTRESPONSE']._serialized_end=957 + _globals['_MSGVOTE']._serialized_start=960 + _globals['_MSGVOTE']._serialized_end=1189 + _globals['_MSGVOTERESPONSE']._serialized_start=1191 + _globals['_MSGVOTERESPONSE']._serialized_end=1208 + _globals['_MSGVOTEWEIGHTED']._serialized_start=1211 + _globals['_MSGVOTEWEIGHTED']._serialized_end=1466 + _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_start=1468 + _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_end=1493 + _globals['_MSGDEPOSIT']._serialized_start=1496 + _globals['_MSGDEPOSIT']._serialized_end=1726 + _globals['_MSGDEPOSITRESPONSE']._serialized_start=1728 + _globals['_MSGDEPOSITRESPONSE']._serialized_end=1748 + _globals['_MSGUPDATEPARAMS']._serialized_start=1751 + _globals['_MSGUPDATEPARAMS']._serialized_end=1938 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1940 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1965 + _globals['_MSGCANCELPROPOSAL']._serialized_start=1968 + _globals['_MSGCANCELPROPOSAL']._serialized_end=2106 + _globals['_MSGCANCELPROPOSALRESPONSE']._serialized_start=2109 + _globals['_MSGCANCELPROPOSALRESPONSE']._serialized_end=2302 + _globals['_MSG']._serialized_start=2305 + _globals['_MSG']._serialized_end=2921 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1/tx_pb2_grpc.py new file mode 100644 index 00000000..a1defed3 --- /dev/null +++ b/pyinjective/proto/cosmos/gov/v1/tx_pb2_grpc.py @@ -0,0 +1,351 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.gov.v1 import tx_pb2 as cosmos_dot_gov_dot_v1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the gov Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.SubmitProposal = channel.unary_unary( + '/cosmos.gov.v1.Msg/SubmitProposal', + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, + _registered_method=True) + self.ExecLegacyContent = channel.unary_unary( + '/cosmos.gov.v1.Msg/ExecLegacyContent', + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContent.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContentResponse.FromString, + _registered_method=True) + self.Vote = channel.unary_unary( + '/cosmos.gov.v1.Msg/Vote', + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, + _registered_method=True) + self.VoteWeighted = channel.unary_unary( + '/cosmos.gov.v1.Msg/VoteWeighted', + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, + _registered_method=True) + self.Deposit = channel.unary_unary( + '/cosmos.gov.v1.Msg/Deposit', + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDeposit.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDepositResponse.FromString, + _registered_method=True) + self.UpdateParams = channel.unary_unary( + '/cosmos.gov.v1.Msg/UpdateParams', + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + self.CancelProposal = channel.unary_unary( + '/cosmos.gov.v1.Msg/CancelProposal', + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposal.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposalResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the gov Msg service. + """ + + def SubmitProposal(self, request, context): + """SubmitProposal defines a method to create new proposal given the messages. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ExecLegacyContent(self, request, context): + """ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal + to execute a legacy content-based proposal. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Vote(self, request, context): + """Vote defines a method to add a vote on a specific proposal. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def VoteWeighted(self, request, context): + """VoteWeighted defines a method to add a weighted vote on a specific proposal. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Deposit(self, request, context): + """Deposit defines a method to add deposit on a specific proposal. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """UpdateParams defines a governance operation for updating the x/gov module + parameters. The authority is defined in the keeper. + + Since: cosmos-sdk 0.47 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CancelProposal(self, request, context): + """CancelProposal defines a method to cancel governance proposal + + Since: cosmos-sdk 0.50 + """ + 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 = { + 'SubmitProposal': grpc.unary_unary_rpc_method_handler( + servicer.SubmitProposal, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposal.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, + ), + 'ExecLegacyContent': grpc.unary_unary_rpc_method_handler( + servicer.ExecLegacyContent, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContent.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContentResponse.SerializeToString, + ), + 'Vote': grpc.unary_unary_rpc_method_handler( + servicer.Vote, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVote.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteResponse.SerializeToString, + ), + 'VoteWeighted': grpc.unary_unary_rpc_method_handler( + servicer.VoteWeighted, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeighted.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeightedResponse.SerializeToString, + ), + 'Deposit': grpc.unary_unary_rpc_method_handler( + servicer.Deposit, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDeposit.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDepositResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'CancelProposal': grpc.unary_unary_rpc_method_handler( + servicer.CancelProposal, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposal.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposalResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.gov.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.gov.v1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the gov Msg service. + """ + + @staticmethod + def SubmitProposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1.Msg/SubmitProposal', + cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, + cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ExecLegacyContent(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1.Msg/ExecLegacyContent', + cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContent.SerializeToString, + cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContentResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Vote(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1.Msg/Vote', + cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, + cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def VoteWeighted(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1.Msg/VoteWeighted', + cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, + cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Deposit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1.Msg/Deposit', + cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDeposit.SerializeToString, + cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDepositResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1.Msg/UpdateParams', + cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CancelProposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1.Msg/CancelProposal', + cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposal.SerializeToString, + cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposalResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..6b20275e --- /dev/null +++ b/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/gov/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.gov.v1beta1 import gov_pb2 as cosmos_dot_gov_dot_v1beta1_dot_gov__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/gov/v1beta1/genesis.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x11\x61mino/amino.proto\"\x9e\x04\n\x0cGenesisState\x12\x30\n\x14starting_proposal_id\x18\x01 \x01(\x04R\x12startingProposalId\x12N\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\x15\xc8\xde\x1f\x00\xaa\xdf\x1f\x08\x44\x65posits\xa8\xe7\xb0*\x01R\x08\x64\x65posits\x12\x42\n\x05votes\x18\x03 \x03(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\x12\xc8\xde\x1f\x00\xaa\xdf\x1f\x05Votes\xa8\xe7\xb0*\x01R\x05votes\x12R\n\tproposals\x18\x04 \x03(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\x16\xc8\xde\x1f\x00\xaa\xdf\x1f\tProposals\xa8\xe7\xb0*\x01R\tproposals\x12S\n\x0e\x64\x65posit_params\x18\x05 \x01(\x0b\x32!.cosmos.gov.v1beta1.DepositParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdepositParams\x12P\n\rvoting_params\x18\x06 \x01(\x0b\x32 .cosmos.gov.v1beta1.VotingParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cvotingParams\x12M\n\x0ctally_params\x18\x07 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0btallyParamsB\xc2\x01\n\x16\x63om.cosmos.gov.v1beta1B\x0cGenesisProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.gov.v1beta1B\014GenesisProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['deposits']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['deposits']._serialized_options = b'\310\336\037\000\252\337\037\010Deposits\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['votes']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['votes']._serialized_options = b'\310\336\037\000\252\337\037\005Votes\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['proposals']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['proposals']._serialized_options = b'\310\336\037\000\252\337\037\tProposals\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['deposit_params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['deposit_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['voting_params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['voting_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['tally_params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['tally_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE']._serialized_start=128 + _globals['_GENESISSTATE']._serialized_end=670 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/gov/v1beta1/genesis_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/cosmos/gov/v1beta1/gov_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2.py new file mode 100644 index 00000000..100d1d14 --- /dev/null +++ b/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2.py @@ -0,0 +1,138 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/gov/v1beta1/gov.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/gov/v1beta1/gov.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x9c\x01\n\x12WeightedVoteOption\x12\x36\n\x06option\x18\x01 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionR\x06option\x12N\n\x06weight\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x06weight\"\x86\x01\n\x0cTextProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription:>\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17\x63osmos-sdk/TextProposal\"\xd6\x01\n\x07\x44\x65posit\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12h\n\x06\x61mount\x18\x03 \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*\x01R\x06\x61mount:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd9\x05\n\x08Proposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12N\n\x07\x63ontent\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12:\n\x06status\x18\x03 \x01(\x0e\x32\".cosmos.gov.v1beta1.ProposalStatusR\x06status\x12X\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x10\x66inalTallyResult\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime\x12S\n\x10\x64\x65posit_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x64\x65positEndTime\x12u\n\rtotal_deposit\x18\x07 \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*\x01R\x0ctotalDeposit\x12U\n\x11voting_start_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0fvotingStartTime\x12Q\n\x0fvoting_end_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\rvotingEndTime:\x04\xe8\xa0\x1f\x01\"\xa5\x02\n\x0bTallyResult\x12=\n\x03yes\x18\x01 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x03yes\x12\x45\n\x07\x61\x62stain\x18\x02 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x61\x62stain\x12;\n\x02no\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x02no\x12M\n\x0cno_with_veto\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\nnoWithVeto:\x04\xe8\xa0\x1f\x01\"\xfa\x01\n\x04Vote\x12\x33\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x12\xea\xde\x1f\x02id\xa2\xe7\xb0*\x02id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12:\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionB\x02\x18\x01R\x06option\x12K\n\x07options\x18\x04 \x03(\x0b\x32&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07options:\x04\xe8\xa0\x1f\x00\"\x8a\x02\n\rDepositParams\x12\x85\x01\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBI\xc8\xde\x1f\x00\xea\xde\x1f\x15min_deposit,omitempty\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\nminDeposit\x12q\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB(\xc8\xde\x1f\x00\xea\xde\x1f\x1cmax_deposit_period,omitempty\x98\xdf\x1f\x01R\x10maxDepositPeriod\"s\n\x0cVotingParams\x12\x63\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB#\xc8\xde\x1f\x00\xea\xde\x1f\x17voting_period,omitempty\x98\xdf\x1f\x01R\x0cvotingPeriod\"\xca\x02\n\x0bTallyParams\x12]\n\x06quorum\x18\x01 \x01(\x0c\x42\x45\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x10quorum,omitempty\xd2\xb4-\ncosmos.DecR\x06quorum\x12\x66\n\tthreshold\x18\x02 \x01(\x0c\x42H\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x13threshold,omitempty\xd2\xb4-\ncosmos.DecR\tthreshold\x12t\n\x0eveto_threshold\x18\x03 \x01(\x0c\x42M\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x18veto_threshold,omitempty\xd2\xb4-\ncosmos.DecR\rvetoThreshold*\xe6\x01\n\nVoteOption\x12,\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bOptionEmpty\x12\"\n\x0fVOTE_OPTION_YES\x10\x01\x1a\r\x8a\x9d \tOptionYes\x12*\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x1a\x11\x8a\x9d \rOptionAbstain\x12 \n\x0eVOTE_OPTION_NO\x10\x03\x1a\x0c\x8a\x9d \x08OptionNo\x12\x32\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04\x1a\x14\x8a\x9d \x10OptionNoWithVeto\x1a\x04\x88\xa3\x1e\x00*\xcc\x02\n\x0eProposalStatus\x12.\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x1a\r\x8a\x9d \tStatusNil\x12;\n\x1ePROPOSAL_STATUS_DEPOSIT_PERIOD\x10\x01\x1a\x17\x8a\x9d \x13StatusDepositPeriod\x12\x39\n\x1dPROPOSAL_STATUS_VOTING_PERIOD\x10\x02\x1a\x16\x8a\x9d \x12StatusVotingPeriod\x12,\n\x16PROPOSAL_STATUS_PASSED\x10\x03\x1a\x10\x8a\x9d \x0cStatusPassed\x12\x30\n\x18PROPOSAL_STATUS_REJECTED\x10\x04\x1a\x12\x8a\x9d \x0eStatusRejected\x12,\n\x16PROPOSAL_STATUS_FAILED\x10\x05\x1a\x10\x8a\x9d \x0cStatusFailed\x1a\x04\x88\xa3\x1e\x00\x42\xc2\x01\n\x16\x63om.cosmos.gov.v1beta1B\x08GovProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.gov_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.gov.v1beta1B\010GovProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1\310\341\036\000' + _globals['_VOTEOPTION']._loaded_options = None + _globals['_VOTEOPTION']._serialized_options = b'\210\243\036\000' + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_UNSPECIFIED"]._loaded_options = None + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_UNSPECIFIED"]._serialized_options = b'\212\235 \013OptionEmpty' + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_YES"]._loaded_options = None + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_YES"]._serialized_options = b'\212\235 \tOptionYes' + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_ABSTAIN"]._loaded_options = None + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_ABSTAIN"]._serialized_options = b'\212\235 \rOptionAbstain' + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_NO"]._loaded_options = None + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_NO"]._serialized_options = b'\212\235 \010OptionNo' + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_NO_WITH_VETO"]._loaded_options = None + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_NO_WITH_VETO"]._serialized_options = b'\212\235 \020OptionNoWithVeto' + _globals['_PROPOSALSTATUS']._loaded_options = None + _globals['_PROPOSALSTATUS']._serialized_options = b'\210\243\036\000' + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_UNSPECIFIED"]._loaded_options = None + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_UNSPECIFIED"]._serialized_options = b'\212\235 \tStatusNil' + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_DEPOSIT_PERIOD"]._loaded_options = None + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_DEPOSIT_PERIOD"]._serialized_options = b'\212\235 \023StatusDepositPeriod' + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_VOTING_PERIOD"]._loaded_options = None + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_VOTING_PERIOD"]._serialized_options = b'\212\235 \022StatusVotingPeriod' + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_PASSED"]._loaded_options = None + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_PASSED"]._serialized_options = b'\212\235 \014StatusPassed' + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_REJECTED"]._loaded_options = None + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_REJECTED"]._serialized_options = b'\212\235 \016StatusRejected' + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_FAILED"]._loaded_options = None + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_FAILED"]._serialized_options = b'\212\235 \014StatusFailed' + _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._loaded_options = None + _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_TEXTPROPOSAL']._loaded_options = None + _globals['_TEXTPROPOSAL']._serialized_options = b'\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027cosmos-sdk/TextProposal' + _globals['_DEPOSIT'].fields_by_name['depositor']._loaded_options = None + _globals['_DEPOSIT'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DEPOSIT'].fields_by_name['amount']._loaded_options = None + _globals['_DEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _globals['_DEPOSIT']._loaded_options = None + _globals['_DEPOSIT']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_PROPOSAL'].fields_by_name['content']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['content']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_PROPOSAL'].fields_by_name['final_tally_result']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['final_tally_result']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['submit_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['submit_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['total_deposit']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['total_deposit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['voting_start_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['voting_start_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['voting_end_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['voting_end_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_PROPOSAL']._loaded_options = None + _globals['_PROPOSAL']._serialized_options = b'\350\240\037\001' + _globals['_TALLYRESULT'].fields_by_name['yes']._loaded_options = None + _globals['_TALLYRESULT'].fields_by_name['yes']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_TALLYRESULT'].fields_by_name['abstain']._loaded_options = None + _globals['_TALLYRESULT'].fields_by_name['abstain']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_TALLYRESULT'].fields_by_name['no']._loaded_options = None + _globals['_TALLYRESULT'].fields_by_name['no']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_TALLYRESULT'].fields_by_name['no_with_veto']._loaded_options = None + _globals['_TALLYRESULT'].fields_by_name['no_with_veto']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_TALLYRESULT']._loaded_options = None + _globals['_TALLYRESULT']._serialized_options = b'\350\240\037\001' + _globals['_VOTE'].fields_by_name['proposal_id']._loaded_options = None + _globals['_VOTE'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\002id\242\347\260*\002id\250\347\260*\001' + _globals['_VOTE'].fields_by_name['voter']._loaded_options = None + _globals['_VOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_VOTE'].fields_by_name['option']._loaded_options = None + _globals['_VOTE'].fields_by_name['option']._serialized_options = b'\030\001' + _globals['_VOTE'].fields_by_name['options']._loaded_options = None + _globals['_VOTE'].fields_by_name['options']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_VOTE']._loaded_options = None + _globals['_VOTE']._serialized_options = b'\350\240\037\000' + _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._loaded_options = None + _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._serialized_options = b'\310\336\037\000\352\336\037\025min_deposit,omitempty\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._loaded_options = None + _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._serialized_options = b'\310\336\037\000\352\336\037\034max_deposit_period,omitempty\230\337\037\001' + _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._loaded_options = None + _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._serialized_options = b'\310\336\037\000\352\336\037\027voting_period,omitempty\230\337\037\001' + _globals['_TALLYPARAMS'].fields_by_name['quorum']._loaded_options = None + _globals['_TALLYPARAMS'].fields_by_name['quorum']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\020quorum,omitempty\322\264-\ncosmos.Dec' + _globals['_TALLYPARAMS'].fields_by_name['threshold']._loaded_options = None + _globals['_TALLYPARAMS'].fields_by_name['threshold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\023threshold,omitempty\322\264-\ncosmos.Dec' + _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._loaded_options = None + _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\030veto_threshold,omitempty\322\264-\ncosmos.Dec' + _globals['_VOTEOPTION']._serialized_start=2758 + _globals['_VOTEOPTION']._serialized_end=2988 + _globals['_PROPOSALSTATUS']._serialized_start=2991 + _globals['_PROPOSALSTATUS']._serialized_end=3323 + _globals['_WEIGHTEDVOTEOPTION']._serialized_start=245 + _globals['_WEIGHTEDVOTEOPTION']._serialized_end=401 + _globals['_TEXTPROPOSAL']._serialized_start=404 + _globals['_TEXTPROPOSAL']._serialized_end=538 + _globals['_DEPOSIT']._serialized_start=541 + _globals['_DEPOSIT']._serialized_end=755 + _globals['_PROPOSAL']._serialized_start=758 + _globals['_PROPOSAL']._serialized_end=1487 + _globals['_TALLYRESULT']._serialized_start=1490 + _globals['_TALLYRESULT']._serialized_end=1783 + _globals['_VOTE']._serialized_start=1786 + _globals['_VOTE']._serialized_end=2036 + _globals['_DEPOSITPARAMS']._serialized_start=2039 + _globals['_DEPOSITPARAMS']._serialized_end=2305 + _globals['_VOTINGPARAMS']._serialized_start=2307 + _globals['_VOTINGPARAMS']._serialized_end=2422 + _globals['_TALLYPARAMS']._serialized_start=2425 + _globals['_TALLYPARAMS']._serialized_end=2755 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/gov/v1beta1/gov_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/cosmos/gov/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/query_pb2.py new file mode 100644 index 00000000..9435f6f4 --- /dev/null +++ b/pyinjective/proto/cosmos/gov/v1beta1/query_pb2.py @@ -0,0 +1,115 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/gov/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.gov.v1beta1 import gov_pb2 as cosmos_dot_gov_dot_v1beta1_dot_gov__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/gov/v1beta1/query.proto\x12\x12\x63osmos.gov.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\\\n\x15QueryProposalResponse\x12\x43\n\x08proposal\x18\x01 \x01(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08proposal\"\x9e\x02\n\x15QueryProposalsRequest\x12K\n\x0fproposal_status\x18\x01 \x01(\x0e\x32\".cosmos.gov.v1beta1.ProposalStatusR\x0eproposalStatus\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\tdepositor\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa8\x01\n\x16QueryProposalsResponse\x12\x45\n\tproposals\x18\x01 \x03(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"m\n\x10QueryVoteRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"L\n\x11QueryVoteResponse\x12\x37\n\x04vote\x18\x01 \x01(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04vote\"|\n\x11QueryVotesRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x98\x01\n\x12QueryVotesResponse\x12\x39\n\x05votes\x18\x01 \x03(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"5\n\x12QueryParamsRequest\x12\x1f\n\x0bparams_type\x18\x01 \x01(\tR\nparamsType\"\x8b\x02\n\x13QueryParamsResponse\x12P\n\rvoting_params\x18\x01 \x01(\x0b\x32 .cosmos.gov.v1beta1.VotingParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cvotingParams\x12S\n\x0e\x64\x65posit_params\x18\x02 \x01(\x0b\x32!.cosmos.gov.v1beta1.DepositParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdepositParams\x12M\n\x0ctally_params\x18\x03 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0btallyParams\"x\n\x13QueryDepositRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"X\n\x14QueryDepositResponse\x12@\n\x07\x64\x65posit\x18\x01 \x01(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x64\x65posit\"\x7f\n\x14QueryDepositsRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa4\x01\n\x15QueryDepositsResponse\x12\x42\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x64\x65posits\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\\\n\x18QueryTallyResultResponse\x12@\n\x05tally\x18\x01 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05tally2\xd4\t\n\x05Query\x12\x94\x01\n\x08Proposal\x12(.cosmos.gov.v1beta1.QueryProposalRequest\x1a).cosmos.gov.v1beta1.QueryProposalResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/gov/v1beta1/proposals/{proposal_id}\x12\x89\x01\n\tProposals\x12).cosmos.gov.v1beta1.QueryProposalsRequest\x1a*.cosmos.gov.v1beta1.QueryProposalsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/gov/v1beta1/proposals\x12\x96\x01\n\x04Vote\x12$.cosmos.gov.v1beta1.QueryVoteRequest\x1a%.cosmos.gov.v1beta1.QueryVoteResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}\x12\x91\x01\n\x05Votes\x12%.cosmos.gov.v1beta1.QueryVotesRequest\x1a&.cosmos.gov.v1beta1.QueryVotesResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/gov/v1beta1/proposals/{proposal_id}/votes\x12\x8b\x01\n\x06Params\x12&.cosmos.gov.v1beta1.QueryParamsRequest\x1a\'.cosmos.gov.v1beta1.QueryParamsResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/gov/v1beta1/params/{params_type}\x12\xa6\x01\n\x07\x44\x65posit\x12\'.cosmos.gov.v1beta1.QueryDepositRequest\x1a(.cosmos.gov.v1beta1.QueryDepositResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}\x12\x9d\x01\n\x08\x44\x65posits\x12(.cosmos.gov.v1beta1.QueryDepositsRequest\x1a).cosmos.gov.v1beta1.QueryDepositsResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits\x12\xa3\x01\n\x0bTallyResult\x12+.cosmos.gov.v1beta1.QueryTallyResultRequest\x1a,.cosmos.gov.v1beta1.QueryTallyResultResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/gov/v1beta1/proposals/{proposal_id}/tallyB\xc0\x01\n\x16\x63om.cosmos.gov.v1beta1B\nQueryProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.gov.v1beta1B\nQueryProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1' + _globals['_QUERYPROPOSALRESPONSE'].fields_by_name['proposal']._loaded_options = None + _globals['_QUERYPROPOSALRESPONSE'].fields_by_name['proposal']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['voter']._loaded_options = None + _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['depositor']._loaded_options = None + _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYPROPOSALSREQUEST']._loaded_options = None + _globals['_QUERYPROPOSALSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYPROPOSALSRESPONSE'].fields_by_name['proposals']._loaded_options = None + _globals['_QUERYPROPOSALSRESPONSE'].fields_by_name['proposals']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYVOTEREQUEST'].fields_by_name['voter']._loaded_options = None + _globals['_QUERYVOTEREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYVOTEREQUEST']._loaded_options = None + _globals['_QUERYVOTEREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYVOTERESPONSE'].fields_by_name['vote']._loaded_options = None + _globals['_QUERYVOTERESPONSE'].fields_by_name['vote']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYVOTESRESPONSE'].fields_by_name['votes']._loaded_options = None + _globals['_QUERYVOTESRESPONSE'].fields_by_name['votes']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['voting_params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['voting_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['deposit_params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['deposit_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['tally_params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['tally_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDEPOSITREQUEST'].fields_by_name['depositor']._loaded_options = None + _globals['_QUERYDEPOSITREQUEST'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDEPOSITREQUEST']._loaded_options = None + _globals['_QUERYDEPOSITREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDEPOSITRESPONSE'].fields_by_name['deposit']._loaded_options = None + _globals['_QUERYDEPOSITRESPONSE'].fields_by_name['deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDEPOSITSRESPONSE'].fields_by_name['deposits']._loaded_options = None + _globals['_QUERYDEPOSITSRESPONSE'].fields_by_name['deposits']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYTALLYRESULTRESPONSE'].fields_by_name['tally']._loaded_options = None + _globals['_QUERYTALLYRESULTRESPONSE'].fields_by_name['tally']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERY'].methods_by_name['Proposal']._loaded_options = None + _globals['_QUERY'].methods_by_name['Proposal']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/gov/v1beta1/proposals/{proposal_id}' + _globals['_QUERY'].methods_by_name['Proposals']._loaded_options = None + _globals['_QUERY'].methods_by_name['Proposals']._serialized_options = b'\202\323\344\223\002\037\022\035/cosmos/gov/v1beta1/proposals' + _globals['_QUERY'].methods_by_name['Vote']._loaded_options = None + _globals['_QUERY'].methods_by_name['Vote']._serialized_options = b'\202\323\344\223\002;\0229/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}' + _globals['_QUERY'].methods_by_name['Votes']._loaded_options = None + _globals['_QUERY'].methods_by_name['Votes']._serialized_options = b'\202\323\344\223\0023\0221/cosmos/gov/v1beta1/proposals/{proposal_id}/votes' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/gov/v1beta1/params/{params_type}' + _globals['_QUERY'].methods_by_name['Deposit']._loaded_options = None + _globals['_QUERY'].methods_by_name['Deposit']._serialized_options = b'\202\323\344\223\002B\022@/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}' + _globals['_QUERY'].methods_by_name['Deposits']._loaded_options = None + _globals['_QUERY'].methods_by_name['Deposits']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits' + _globals['_QUERY'].methods_by_name['TallyResult']._loaded_options = None + _globals['_QUERY'].methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\0023\0221/cosmos/gov/v1beta1/proposals/{proposal_id}/tally' + _globals['_QUERYPROPOSALREQUEST']._serialized_start=226 + _globals['_QUERYPROPOSALREQUEST']._serialized_end=281 + _globals['_QUERYPROPOSALRESPONSE']._serialized_start=283 + _globals['_QUERYPROPOSALRESPONSE']._serialized_end=375 + _globals['_QUERYPROPOSALSREQUEST']._serialized_start=378 + _globals['_QUERYPROPOSALSREQUEST']._serialized_end=664 + _globals['_QUERYPROPOSALSRESPONSE']._serialized_start=667 + _globals['_QUERYPROPOSALSRESPONSE']._serialized_end=835 + _globals['_QUERYVOTEREQUEST']._serialized_start=837 + _globals['_QUERYVOTEREQUEST']._serialized_end=946 + _globals['_QUERYVOTERESPONSE']._serialized_start=948 + _globals['_QUERYVOTERESPONSE']._serialized_end=1024 + _globals['_QUERYVOTESREQUEST']._serialized_start=1026 + _globals['_QUERYVOTESREQUEST']._serialized_end=1150 + _globals['_QUERYVOTESRESPONSE']._serialized_start=1153 + _globals['_QUERYVOTESRESPONSE']._serialized_end=1305 + _globals['_QUERYPARAMSREQUEST']._serialized_start=1307 + _globals['_QUERYPARAMSREQUEST']._serialized_end=1360 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=1363 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=1630 + _globals['_QUERYDEPOSITREQUEST']._serialized_start=1632 + _globals['_QUERYDEPOSITREQUEST']._serialized_end=1752 + _globals['_QUERYDEPOSITRESPONSE']._serialized_start=1754 + _globals['_QUERYDEPOSITRESPONSE']._serialized_end=1842 + _globals['_QUERYDEPOSITSREQUEST']._serialized_start=1844 + _globals['_QUERYDEPOSITSREQUEST']._serialized_end=1971 + _globals['_QUERYDEPOSITSRESPONSE']._serialized_start=1974 + _globals['_QUERYDEPOSITSRESPONSE']._serialized_end=2138 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_start=2140 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=2198 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=2200 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=2292 + _globals['_QUERY']._serialized_start=2295 + _globals['_QUERY']._serialized_end=3531 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..1c268032 --- /dev/null +++ b/pyinjective/proto/cosmos/gov/v1beta1/query_pb2_grpc.py @@ -0,0 +1,389 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.gov.v1beta1 import query_pb2 as cosmos_dot_gov_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service for gov module + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Proposal = channel.unary_unary( + '/cosmos.gov.v1beta1.Query/Proposal', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalResponse.FromString, + _registered_method=True) + self.Proposals = channel.unary_unary( + '/cosmos.gov.v1beta1.Query/Proposals', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsResponse.FromString, + _registered_method=True) + self.Vote = channel.unary_unary( + '/cosmos.gov.v1beta1.Query/Vote', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteResponse.FromString, + _registered_method=True) + self.Votes = channel.unary_unary( + '/cosmos.gov.v1beta1.Query/Votes', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesResponse.FromString, + _registered_method=True) + self.Params = channel.unary_unary( + '/cosmos.gov.v1beta1.Query/Params', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + self.Deposit = channel.unary_unary( + '/cosmos.gov.v1beta1.Query/Deposit', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositResponse.FromString, + _registered_method=True) + self.Deposits = channel.unary_unary( + '/cosmos.gov.v1beta1.Query/Deposits', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsResponse.FromString, + _registered_method=True) + self.TallyResult = channel.unary_unary( + '/cosmos.gov.v1beta1.Query/TallyResult', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service for gov module + """ + + def Proposal(self, request, context): + """Proposal queries proposal details based on ProposalID. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Proposals(self, request, context): + """Proposals queries all proposals based on given status. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Vote(self, request, context): + """Vote queries voted information based on proposalID, voterAddr. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Votes(self, request, context): + """Votes queries votes of a given proposal. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Params(self, request, context): + """Params queries all parameters of the gov module. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Deposit(self, request, context): + """Deposit queries single deposit information based on proposalID, depositor address. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Deposits(self, request, context): + """Deposits queries all deposits of a single proposal. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TallyResult(self, request, context): + """TallyResult queries the tally of a proposal vote. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Proposal': grpc.unary_unary_rpc_method_handler( + servicer.Proposal, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalResponse.SerializeToString, + ), + 'Proposals': grpc.unary_unary_rpc_method_handler( + servicer.Proposals, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsResponse.SerializeToString, + ), + 'Vote': grpc.unary_unary_rpc_method_handler( + servicer.Vote, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteResponse.SerializeToString, + ), + 'Votes': grpc.unary_unary_rpc_method_handler( + servicer.Votes, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesResponse.SerializeToString, + ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'Deposit': grpc.unary_unary_rpc_method_handler( + servicer.Deposit, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositResponse.SerializeToString, + ), + 'Deposits': grpc.unary_unary_rpc_method_handler( + servicer.Deposits, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsResponse.SerializeToString, + ), + 'TallyResult': grpc.unary_unary_rpc_method_handler( + servicer.TallyResult, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.gov.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.gov.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service for gov module + """ + + @staticmethod + def Proposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1beta1.Query/Proposal', + cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalRequest.SerializeToString, + cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Proposals(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1beta1.Query/Proposals', + cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsRequest.SerializeToString, + cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Vote(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1beta1.Query/Vote', + cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteRequest.SerializeToString, + cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Votes(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1beta1.Query/Votes', + cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesRequest.SerializeToString, + cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1beta1.Query/Params', + cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Deposit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1beta1.Query/Deposit', + cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositRequest.SerializeToString, + cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Deposits(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1beta1.Query/Deposits', + cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsRequest.SerializeToString, + cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TallyResult(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1beta1.Query/TallyResult', + cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, + cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py new file mode 100644 index 00000000..9845faf0 --- /dev/null +++ b/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py @@ -0,0 +1,82 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/gov/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.gov.v1beta1 import gov_pb2 as cosmos_dot_gov_dot_v1beta1_dot_gov__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/gov/v1beta1/tx.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xde\x02\n\x11MsgSubmitProposal\x12N\n\x07\x63ontent\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12\x8a\x01\n\x0finitial_deposit\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0einitialDeposit\x12\x34\n\x08proposer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer:6\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x08proposer\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSubmitProposal\"R\n\x19MsgSubmitProposalResponse\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\"\xbd\x01\n\x07MsgVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionR\x06option:)\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgVote\"\x11\n\x0fMsgVoteResponse\"\xf8\x01\n\x0fMsgVoteWeighted\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12K\n\x07options\x18\x03 \x03(\x0b\x32&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07options:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgVoteWeighted\"\x19\n\x17MsgVoteWeightedResponse\"\xac\x02\n\nMsgDeposit\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:4\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x80\xdc \x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x15\x63osmos-sdk/MsgDeposit\"\x14\n\x12MsgDepositResponse2\xf3\x02\n\x03Msg\x12\x66\n\x0eSubmitProposal\x12%.cosmos.gov.v1beta1.MsgSubmitProposal\x1a-.cosmos.gov.v1beta1.MsgSubmitProposalResponse\x12H\n\x04Vote\x12\x1b.cosmos.gov.v1beta1.MsgVote\x1a#.cosmos.gov.v1beta1.MsgVoteResponse\x12`\n\x0cVoteWeighted\x12#.cosmos.gov.v1beta1.MsgVoteWeighted\x1a+.cosmos.gov.v1beta1.MsgVoteWeightedResponse\x12Q\n\x07\x44\x65posit\x12\x1e.cosmos.gov.v1beta1.MsgDeposit\x1a&.cosmos.gov.v1beta1.MsgDepositResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x16\x63om.cosmos.gov.v1beta1B\x07TxProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.gov.v1beta1B\007TxProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1' + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['content']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['content']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['initial_deposit']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['initial_deposit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['proposer']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSUBMITPROPOSAL']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\010proposer\212\347\260*\034cosmos-sdk/MsgSubmitProposal' + _globals['_MSGSUBMITPROPOSALRESPONSE'].fields_by_name['proposal_id']._loaded_options = None + _globals['_MSGSUBMITPROPOSALRESPONSE'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' + _globals['_MSGVOTE'].fields_by_name['voter']._loaded_options = None + _globals['_MSGVOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGVOTE']._loaded_options = None + _globals['_MSGVOTE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\005voter\212\347\260*\022cosmos-sdk/MsgVote' + _globals['_MSGVOTEWEIGHTED'].fields_by_name['proposal_id']._loaded_options = None + _globals['_MSGVOTEWEIGHTED'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' + _globals['_MSGVOTEWEIGHTED'].fields_by_name['voter']._loaded_options = None + _globals['_MSGVOTEWEIGHTED'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGVOTEWEIGHTED'].fields_by_name['options']._loaded_options = None + _globals['_MSGVOTEWEIGHTED'].fields_by_name['options']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGVOTEWEIGHTED']._loaded_options = None + _globals['_MSGVOTEWEIGHTED']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\005voter\212\347\260*\032cosmos-sdk/MsgVoteWeighted' + _globals['_MSGDEPOSIT'].fields_by_name['proposal_id']._loaded_options = None + _globals['_MSGDEPOSIT'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' + _globals['_MSGDEPOSIT'].fields_by_name['depositor']._loaded_options = None + _globals['_MSGDEPOSIT'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGDEPOSIT'].fields_by_name['amount']._loaded_options = None + _globals['_MSGDEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGDEPOSIT']._loaded_options = None + _globals['_MSGDEPOSIT']._serialized_options = b'\210\240\037\000\350\240\037\000\200\334 \000\202\347\260*\tdepositor\212\347\260*\025cosmos-sdk/MsgDeposit' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGSUBMITPROPOSAL']._serialized_start=234 + _globals['_MSGSUBMITPROPOSAL']._serialized_end=584 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_start=586 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_end=668 + _globals['_MSGVOTE']._serialized_start=671 + _globals['_MSGVOTE']._serialized_end=860 + _globals['_MSGVOTERESPONSE']._serialized_start=862 + _globals['_MSGVOTERESPONSE']._serialized_end=879 + _globals['_MSGVOTEWEIGHTED']._serialized_start=882 + _globals['_MSGVOTEWEIGHTED']._serialized_end=1130 + _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_start=1132 + _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_end=1157 + _globals['_MSGDEPOSIT']._serialized_start=1160 + _globals['_MSGDEPOSIT']._serialized_end=1460 + _globals['_MSGDEPOSITRESPONSE']._serialized_start=1462 + _globals['_MSGDEPOSITRESPONSE']._serialized_end=1482 + _globals['_MSG']._serialized_start=1485 + _globals['_MSG']._serialized_end=1856 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..a8fbf803 --- /dev/null +++ b/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,215 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.gov.v1beta1 import tx_pb2 as cosmos_dot_gov_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the gov Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.SubmitProposal = channel.unary_unary( + '/cosmos.gov.v1beta1.Msg/SubmitProposal', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, + _registered_method=True) + self.Vote = channel.unary_unary( + '/cosmos.gov.v1beta1.Msg/Vote', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVote.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteResponse.FromString, + _registered_method=True) + self.VoteWeighted = channel.unary_unary( + '/cosmos.gov.v1beta1.Msg/VoteWeighted', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, + _registered_method=True) + self.Deposit = channel.unary_unary( + '/cosmos.gov.v1beta1.Msg/Deposit', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the gov Msg service. + """ + + def SubmitProposal(self, request, context): + """SubmitProposal defines a method to create new proposal given a content. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Vote(self, request, context): + """Vote defines a method to add a vote on a specific proposal. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def VoteWeighted(self, request, context): + """VoteWeighted defines a method to add a weighted vote on a specific proposal. + + Since: cosmos-sdk 0.43 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Deposit(self, request, context): + """Deposit defines a method to add deposit on a specific proposal. + """ + 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 = { + 'SubmitProposal': grpc.unary_unary_rpc_method_handler( + servicer.SubmitProposal, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposal.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, + ), + 'Vote': grpc.unary_unary_rpc_method_handler( + servicer.Vote, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVote.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteResponse.SerializeToString, + ), + 'VoteWeighted': grpc.unary_unary_rpc_method_handler( + servicer.VoteWeighted, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeighted.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeightedResponse.SerializeToString, + ), + 'Deposit': grpc.unary_unary_rpc_method_handler( + servicer.Deposit, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDeposit.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.gov.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.gov.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the gov Msg service. + """ + + @staticmethod + def SubmitProposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1beta1.Msg/SubmitProposal', + cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, + cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Vote(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1beta1.Msg/Vote', + cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVote.SerializeToString, + cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def VoteWeighted(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1beta1.Msg/VoteWeighted', + cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, + cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Deposit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.gov.v1beta1.Msg/Deposit', + cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, + cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/group/module/v1/module_pb2.py b/pyinjective/proto/cosmos/group/module/v1/module_pb2.py new file mode 100644 index 00000000..163f5e86 --- /dev/null +++ b/pyinjective/proto/cosmos/group/module/v1/module_pb2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/group/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/group/module/v1/module.proto\x12\x16\x63osmos.group.module.v1\x1a cosmos/app/v1alpha1/module.proto\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x11\x61mino/amino.proto\"\xbc\x01\n\x06Module\x12Z\n\x14max_execution_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x12maxExecutionPeriod\x12(\n\x10max_metadata_len\x18\x02 \x01(\x04R\x0emaxMetadataLen:,\xba\xc0\x96\xda\x01&\n$github.com/cosmos/cosmos-sdk/x/groupB\xa4\x01\n\x1a\x63om.cosmos.group.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x16\x43osmos.Group.Module.V1\xca\x02\x16\x43osmos\\Group\\Module\\V1\xe2\x02\"Cosmos\\Group\\Module\\V1\\GPBMetadata\xea\x02\x19\x43osmos::Group::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.group.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\026Cosmos.Group.Module.V1\312\002\026Cosmos\\Group\\Module\\V1\342\002\"Cosmos\\Group\\Module\\V1\\GPBMetadata\352\002\031Cosmos::Group::Module::V1' + _globals['_MODULE'].fields_by_name['max_execution_period']._loaded_options = None + _globals['_MODULE'].fields_by_name['max_execution_period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/group' + _globals['_MODULE']._serialized_start=171 + _globals['_MODULE']._serialized_end=359 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/group/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/group/module/v1/module_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/cosmos/group/v1/events_pb2.py b/pyinjective/proto/cosmos/group/v1/events_pb2.py new file mode 100644 index 00000000..3d5129a1 --- /dev/null +++ b/pyinjective/proto/cosmos/group/v1/events_pb2.py @@ -0,0 +1,53 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/group/v1/events.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/group/v1/events.proto\x12\x0f\x63osmos.group.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/group/v1/types.proto\"-\n\x10\x45ventCreateGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\"-\n\x10\x45ventUpdateGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\"L\n\x16\x45ventCreateGroupPolicy\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"L\n\x16\x45ventUpdateGroupPolicy\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"6\n\x13\x45ventSubmitProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"8\n\x15\x45ventWithdrawProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\",\n\tEventVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\x81\x01\n\tEventExec\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12?\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x06result\x12\x12\n\x04logs\x18\x03 \x01(\tR\x04logs\"`\n\x0f\x45ventLeaveGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x32\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"\xb0\x01\n\x13\x45ventProposalPruned\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x37\n\x06status\x18\x02 \x01(\x0e\x32\x1f.cosmos.group.v1.ProposalStatusR\x06status\x12?\n\x0ctally_result\x18\x03 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultR\x0btallyResultB\xa6\x01\n\x13\x63om.cosmos.group.v1B\x0b\x45ventsProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.events_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\013EventsProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' + _globals['_EVENTCREATEGROUPPOLICY'].fields_by_name['address']._loaded_options = None + _globals['_EVENTCREATEGROUPPOLICY'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EVENTUPDATEGROUPPOLICY'].fields_by_name['address']._loaded_options = None + _globals['_EVENTUPDATEGROUPPOLICY'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EVENTLEAVEGROUP'].fields_by_name['address']._loaded_options = None + _globals['_EVENTLEAVEGROUP'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EVENTCREATEGROUP']._serialized_start=105 + _globals['_EVENTCREATEGROUP']._serialized_end=150 + _globals['_EVENTUPDATEGROUP']._serialized_start=152 + _globals['_EVENTUPDATEGROUP']._serialized_end=197 + _globals['_EVENTCREATEGROUPPOLICY']._serialized_start=199 + _globals['_EVENTCREATEGROUPPOLICY']._serialized_end=275 + _globals['_EVENTUPDATEGROUPPOLICY']._serialized_start=277 + _globals['_EVENTUPDATEGROUPPOLICY']._serialized_end=353 + _globals['_EVENTSUBMITPROPOSAL']._serialized_start=355 + _globals['_EVENTSUBMITPROPOSAL']._serialized_end=409 + _globals['_EVENTWITHDRAWPROPOSAL']._serialized_start=411 + _globals['_EVENTWITHDRAWPROPOSAL']._serialized_end=467 + _globals['_EVENTVOTE']._serialized_start=469 + _globals['_EVENTVOTE']._serialized_end=513 + _globals['_EVENTEXEC']._serialized_start=516 + _globals['_EVENTEXEC']._serialized_end=645 + _globals['_EVENTLEAVEGROUP']._serialized_start=647 + _globals['_EVENTLEAVEGROUP']._serialized_end=743 + _globals['_EVENTPROPOSALPRUNED']._serialized_start=746 + _globals['_EVENTPROPOSALPRUNED']._serialized_end=922 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/events_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/events_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/group/v1/events_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/cosmos/group/v1/genesis_pb2.py b/pyinjective/proto/cosmos/group/v1/genesis_pb2.py new file mode 100644 index 00000000..1ebf5b48 --- /dev/null +++ b/pyinjective/proto/cosmos/group/v1/genesis_pb2.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/group/v1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/group/v1/genesis.proto\x12\x0f\x63osmos.group.v1\x1a\x1b\x63osmos/group/v1/types.proto\"\x9e\x03\n\x0cGenesisState\x12\x1b\n\tgroup_seq\x18\x01 \x01(\x04R\x08groupSeq\x12\x32\n\x06groups\x18\x02 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12\x41\n\rgroup_members\x18\x03 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMemberR\x0cgroupMembers\x12(\n\x10group_policy_seq\x18\x04 \x01(\x04R\x0egroupPolicySeq\x12G\n\x0egroup_policies\x18\x05 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12!\n\x0cproposal_seq\x18\x06 \x01(\x04R\x0bproposalSeq\x12\x37\n\tproposals\x18\x07 \x03(\x0b\x32\x19.cosmos.group.v1.ProposalR\tproposals\x12+\n\x05votes\x18\x08 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votesB\xa7\x01\n\x13\x63om.cosmos.group.v1B\x0cGenesisProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\014GenesisProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' + _globals['_GENESISSTATE']._serialized_start=80 + _globals['_GENESISSTATE']._serialized_end=494 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/group/v1/genesis_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/cosmos/group/v1/query_pb2.py b/pyinjective/proto/cosmos/group/v1/query_pb2.py new file mode 100644 index 00000000..a18e3520 --- /dev/null +++ b/pyinjective/proto/cosmos/group/v1/query_pb2.py @@ -0,0 +1,133 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/group/v1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/group/v1/query.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"2\n\x15QueryGroupInfoRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\"H\n\x16QueryGroupInfoResponse\x12.\n\x04info\x18\x01 \x01(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x04info\"Q\n\x1bQueryGroupPolicyInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"T\n\x1cQueryGroupPolicyInfoResponse\x12\x34\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\x04info\"}\n\x18QueryGroupMembersRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x9c\x01\n\x19QueryGroupMembersResponse\x12\x36\n\x07members\x18\x01 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMemberR\x07members\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x93\x01\n\x19QueryGroupsByAdminRequest\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x99\x01\n\x1aQueryGroupsByAdminResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x85\x01\n QueryGroupPoliciesByGroupRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb5\x01\n!QueryGroupPoliciesByGroupResponse\x12G\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x9a\x01\n QueryGroupPoliciesByAdminRequest\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb5\x01\n!QueryGroupPoliciesByAdminResponse\x12G\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"N\n\x15QueryProposalResponse\x12\x35\n\x08proposal\x18\x01 \x01(\x0b\x32\x19.cosmos.group.v1.ProposalR\x08proposal\"\xa0\x01\n\"QueryProposalsByGroupPolicyRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa7\x01\n#QueryProposalsByGroupPolicyResponse\x12\x37\n\tproposals\x18\x01 \x03(\x0b\x32\x19.cosmos.group.v1.ProposalR\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"r\n\x1fQueryVoteByProposalVoterRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\"M\n QueryVoteByProposalVoterResponse\x12)\n\x04vote\x18\x01 \x01(\x0b\x32\x15.cosmos.group.v1.VoteR\x04vote\"\x86\x01\n\x1bQueryVotesByProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x94\x01\n\x1cQueryVotesByProposalResponse\x12+\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x92\x01\n\x18QueryVotesByVoterRequest\x12.\n\x05voter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x91\x01\n\x19QueryVotesByVoterResponse\x12+\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x98\x01\n\x1aQueryGroupsByMemberRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x9a\x01\n\x1bQueryGroupsByMemberResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"Y\n\x18QueryTallyResultResponse\x12=\n\x05tally\x18\x01 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05tally\"\\\n\x12QueryGroupsRequest\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x92\x01\n\x13QueryGroupsResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xfb\x11\n\x05Query\x12\x8c\x01\n\tGroupInfo\x12&.cosmos.group.v1.QueryGroupInfoRequest\x1a\'.cosmos.group.v1.QueryGroupInfoResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/group/v1/group_info/{group_id}\x12\xa4\x01\n\x0fGroupPolicyInfo\x12,.cosmos.group.v1.QueryGroupPolicyInfoRequest\x1a-.cosmos.group.v1.QueryGroupPolicyInfoResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/group/v1/group_policy_info/{address}\x12\x98\x01\n\x0cGroupMembers\x12).cosmos.group.v1.QueryGroupMembersRequest\x1a*.cosmos.group.v1.QueryGroupMembersResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/group/v1/group_members/{group_id}\x12\x9a\x01\n\rGroupsByAdmin\x12*.cosmos.group.v1.QueryGroupsByAdminRequest\x1a+.cosmos.group.v1.QueryGroupsByAdminResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/group/v1/groups_by_admin/{admin}\x12\xba\x01\n\x14GroupPoliciesByGroup\x12\x31.cosmos.group.v1.QueryGroupPoliciesByGroupRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByGroupResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/group/v1/group_policies_by_group/{group_id}\x12\xb7\x01\n\x14GroupPoliciesByAdmin\x12\x31.cosmos.group.v1.QueryGroupPoliciesByAdminRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByAdminResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/group_policies_by_admin/{admin}\x12\x8a\x01\n\x08Proposal\x12%.cosmos.group.v1.QueryProposalRequest\x1a&.cosmos.group.v1.QueryProposalResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/proposal/{proposal_id}\x12\xc1\x01\n\x16ProposalsByGroupPolicy\x12\x33.cosmos.group.v1.QueryProposalsByGroupPolicyRequest\x1a\x34.cosmos.group.v1.QueryProposalsByGroupPolicyResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/group/v1/proposals_by_group_policy/{address}\x12\xc1\x01\n\x13VoteByProposalVoter\x12\x30.cosmos.group.v1.QueryVoteByProposalVoterRequest\x1a\x31.cosmos.group.v1.QueryVoteByProposalVoterResponse\"E\x82\xd3\xe4\x93\x02?\x12=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}\x12\xa8\x01\n\x0fVotesByProposal\x12,.cosmos.group.v1.QueryVotesByProposalRequest\x1a-.cosmos.group.v1.QueryVotesByProposalResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/votes_by_proposal/{proposal_id}\x12\x96\x01\n\x0cVotesByVoter\x12).cosmos.group.v1.QueryVotesByVoterRequest\x1a*.cosmos.group.v1.QueryVotesByVoterResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/votes_by_voter/{voter}\x12\xa0\x01\n\x0eGroupsByMember\x12+.cosmos.group.v1.QueryGroupsByMemberRequest\x1a,.cosmos.group.v1.QueryGroupsByMemberResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/group/v1/groups_by_member/{address}\x12\x9a\x01\n\x0bTallyResult\x12(.cosmos.group.v1.QueryTallyResultRequest\x1a).cosmos.group.v1.QueryTallyResultResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/group/v1/proposals/{proposal_id}/tally\x12t\n\x06Groups\x12#.cosmos.group.v1.QueryGroupsRequest\x1a$.cosmos.group.v1.QueryGroupsResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cosmos/group/v1/groupsB\xa5\x01\n\x13\x63om.cosmos.group.v1B\nQueryProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\nQueryProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' + _globals['_QUERYGROUPPOLICYINFOREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYGROUPPOLICYINFOREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYGROUPSBYADMINREQUEST'].fields_by_name['admin']._loaded_options = None + _globals['_QUERYGROUPSBYADMINREQUEST'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYGROUPPOLICIESBYADMINREQUEST'].fields_by_name['admin']._loaded_options = None + _globals['_QUERYGROUPPOLICIESBYADMINREQUEST'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST'].fields_by_name['voter']._loaded_options = None + _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYVOTESBYVOTERREQUEST'].fields_by_name['voter']._loaded_options = None + _globals['_QUERYVOTESBYVOTERREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYGROUPSBYMEMBERREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYGROUPSBYMEMBERREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYTALLYRESULTRESPONSE'].fields_by_name['tally']._loaded_options = None + _globals['_QUERYTALLYRESULTRESPONSE'].fields_by_name['tally']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERY'].methods_by_name['GroupInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['GroupInfo']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/group/v1/group_info/{group_id}' + _globals['_QUERY'].methods_by_name['GroupPolicyInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['GroupPolicyInfo']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/group/v1/group_policy_info/{address}' + _globals['_QUERY'].methods_by_name['GroupMembers']._loaded_options = None + _globals['_QUERY'].methods_by_name['GroupMembers']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/group/v1/group_members/{group_id}' + _globals['_QUERY'].methods_by_name['GroupsByAdmin']._loaded_options = None + _globals['_QUERY'].methods_by_name['GroupsByAdmin']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/group/v1/groups_by_admin/{admin}' + _globals['_QUERY'].methods_by_name['GroupPoliciesByGroup']._loaded_options = None + _globals['_QUERY'].methods_by_name['GroupPoliciesByGroup']._serialized_options = b'\202\323\344\223\0025\0223/cosmos/group/v1/group_policies_by_group/{group_id}' + _globals['_QUERY'].methods_by_name['GroupPoliciesByAdmin']._loaded_options = None + _globals['_QUERY'].methods_by_name['GroupPoliciesByAdmin']._serialized_options = b'\202\323\344\223\0022\0220/cosmos/group/v1/group_policies_by_admin/{admin}' + _globals['_QUERY'].methods_by_name['Proposal']._loaded_options = None + _globals['_QUERY'].methods_by_name['Proposal']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/group/v1/proposal/{proposal_id}' + _globals['_QUERY'].methods_by_name['ProposalsByGroupPolicy']._loaded_options = None + _globals['_QUERY'].methods_by_name['ProposalsByGroupPolicy']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/group/v1/proposals_by_group_policy/{address}' + _globals['_QUERY'].methods_by_name['VoteByProposalVoter']._loaded_options = None + _globals['_QUERY'].methods_by_name['VoteByProposalVoter']._serialized_options = b'\202\323\344\223\002?\022=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}' + _globals['_QUERY'].methods_by_name['VotesByProposal']._loaded_options = None + _globals['_QUERY'].methods_by_name['VotesByProposal']._serialized_options = b'\202\323\344\223\0022\0220/cosmos/group/v1/votes_by_proposal/{proposal_id}' + _globals['_QUERY'].methods_by_name['VotesByVoter']._loaded_options = None + _globals['_QUERY'].methods_by_name['VotesByVoter']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/group/v1/votes_by_voter/{voter}' + _globals['_QUERY'].methods_by_name['GroupsByMember']._loaded_options = None + _globals['_QUERY'].methods_by_name['GroupsByMember']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/group/v1/groups_by_member/{address}' + _globals['_QUERY'].methods_by_name['TallyResult']._loaded_options = None + _globals['_QUERY'].methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\0020\022./cosmos/group/v1/proposals/{proposal_id}/tally' + _globals['_QUERY'].methods_by_name['Groups']._loaded_options = None + _globals['_QUERY'].methods_by_name['Groups']._serialized_options = b'\202\323\344\223\002\031\022\027/cosmos/group/v1/groups' + _globals['_QUERYGROUPINFOREQUEST']._serialized_start=219 + _globals['_QUERYGROUPINFOREQUEST']._serialized_end=269 + _globals['_QUERYGROUPINFORESPONSE']._serialized_start=271 + _globals['_QUERYGROUPINFORESPONSE']._serialized_end=343 + _globals['_QUERYGROUPPOLICYINFOREQUEST']._serialized_start=345 + _globals['_QUERYGROUPPOLICYINFOREQUEST']._serialized_end=426 + _globals['_QUERYGROUPPOLICYINFORESPONSE']._serialized_start=428 + _globals['_QUERYGROUPPOLICYINFORESPONSE']._serialized_end=512 + _globals['_QUERYGROUPMEMBERSREQUEST']._serialized_start=514 + _globals['_QUERYGROUPMEMBERSREQUEST']._serialized_end=639 + _globals['_QUERYGROUPMEMBERSRESPONSE']._serialized_start=642 + _globals['_QUERYGROUPMEMBERSRESPONSE']._serialized_end=798 + _globals['_QUERYGROUPSBYADMINREQUEST']._serialized_start=801 + _globals['_QUERYGROUPSBYADMINREQUEST']._serialized_end=948 + _globals['_QUERYGROUPSBYADMINRESPONSE']._serialized_start=951 + _globals['_QUERYGROUPSBYADMINRESPONSE']._serialized_end=1104 + _globals['_QUERYGROUPPOLICIESBYGROUPREQUEST']._serialized_start=1107 + _globals['_QUERYGROUPPOLICIESBYGROUPREQUEST']._serialized_end=1240 + _globals['_QUERYGROUPPOLICIESBYGROUPRESPONSE']._serialized_start=1243 + _globals['_QUERYGROUPPOLICIESBYGROUPRESPONSE']._serialized_end=1424 + _globals['_QUERYGROUPPOLICIESBYADMINREQUEST']._serialized_start=1427 + _globals['_QUERYGROUPPOLICIESBYADMINREQUEST']._serialized_end=1581 + _globals['_QUERYGROUPPOLICIESBYADMINRESPONSE']._serialized_start=1584 + _globals['_QUERYGROUPPOLICIESBYADMINRESPONSE']._serialized_end=1765 + _globals['_QUERYPROPOSALREQUEST']._serialized_start=1767 + _globals['_QUERYPROPOSALREQUEST']._serialized_end=1822 + _globals['_QUERYPROPOSALRESPONSE']._serialized_start=1824 + _globals['_QUERYPROPOSALRESPONSE']._serialized_end=1902 + _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST']._serialized_start=1905 + _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST']._serialized_end=2065 + _globals['_QUERYPROPOSALSBYGROUPPOLICYRESPONSE']._serialized_start=2068 + _globals['_QUERYPROPOSALSBYGROUPPOLICYRESPONSE']._serialized_end=2235 + _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST']._serialized_start=2237 + _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST']._serialized_end=2351 + _globals['_QUERYVOTEBYPROPOSALVOTERRESPONSE']._serialized_start=2353 + _globals['_QUERYVOTEBYPROPOSALVOTERRESPONSE']._serialized_end=2430 + _globals['_QUERYVOTESBYPROPOSALREQUEST']._serialized_start=2433 + _globals['_QUERYVOTESBYPROPOSALREQUEST']._serialized_end=2567 + _globals['_QUERYVOTESBYPROPOSALRESPONSE']._serialized_start=2570 + _globals['_QUERYVOTESBYPROPOSALRESPONSE']._serialized_end=2718 + _globals['_QUERYVOTESBYVOTERREQUEST']._serialized_start=2721 + _globals['_QUERYVOTESBYVOTERREQUEST']._serialized_end=2867 + _globals['_QUERYVOTESBYVOTERRESPONSE']._serialized_start=2870 + _globals['_QUERYVOTESBYVOTERRESPONSE']._serialized_end=3015 + _globals['_QUERYGROUPSBYMEMBERREQUEST']._serialized_start=3018 + _globals['_QUERYGROUPSBYMEMBERREQUEST']._serialized_end=3170 + _globals['_QUERYGROUPSBYMEMBERRESPONSE']._serialized_start=3173 + _globals['_QUERYGROUPSBYMEMBERRESPONSE']._serialized_end=3327 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_start=3329 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=3387 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=3389 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=3478 + _globals['_QUERYGROUPSREQUEST']._serialized_start=3480 + _globals['_QUERYGROUPSREQUEST']._serialized_end=3572 + _globals['_QUERYGROUPSRESPONSE']._serialized_start=3575 + _globals['_QUERYGROUPSRESPONSE']._serialized_end=3721 + _globals['_QUERY']._serialized_start=3724 + _globals['_QUERY']._serialized_end=6023 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py new file mode 100644 index 00000000..3018bf10 --- /dev/null +++ b/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py @@ -0,0 +1,659 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.group.v1 import query_pb2 as cosmos_dot_group_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query is the cosmos.group.v1 Query service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GroupInfo = channel.unary_unary( + '/cosmos.group.v1.Query/GroupInfo', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoResponse.FromString, + _registered_method=True) + self.GroupPolicyInfo = channel.unary_unary( + '/cosmos.group.v1.Query/GroupPolicyInfo', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoResponse.FromString, + _registered_method=True) + self.GroupMembers = channel.unary_unary( + '/cosmos.group.v1.Query/GroupMembers', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersResponse.FromString, + _registered_method=True) + self.GroupsByAdmin = channel.unary_unary( + '/cosmos.group.v1.Query/GroupsByAdmin', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminResponse.FromString, + _registered_method=True) + self.GroupPoliciesByGroup = channel.unary_unary( + '/cosmos.group.v1.Query/GroupPoliciesByGroup', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupResponse.FromString, + _registered_method=True) + self.GroupPoliciesByAdmin = channel.unary_unary( + '/cosmos.group.v1.Query/GroupPoliciesByAdmin', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminResponse.FromString, + _registered_method=True) + self.Proposal = channel.unary_unary( + '/cosmos.group.v1.Query/Proposal', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, + _registered_method=True) + self.ProposalsByGroupPolicy = channel.unary_unary( + '/cosmos.group.v1.Query/ProposalsByGroupPolicy', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyResponse.FromString, + _registered_method=True) + self.VoteByProposalVoter = channel.unary_unary( + '/cosmos.group.v1.Query/VoteByProposalVoter', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterResponse.FromString, + _registered_method=True) + self.VotesByProposal = channel.unary_unary( + '/cosmos.group.v1.Query/VotesByProposal', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalResponse.FromString, + _registered_method=True) + self.VotesByVoter = channel.unary_unary( + '/cosmos.group.v1.Query/VotesByVoter', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterResponse.FromString, + _registered_method=True) + self.GroupsByMember = channel.unary_unary( + '/cosmos.group.v1.Query/GroupsByMember', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberResponse.FromString, + _registered_method=True) + self.TallyResult = channel.unary_unary( + '/cosmos.group.v1.Query/TallyResult', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, + _registered_method=True) + self.Groups = channel.unary_unary( + '/cosmos.group.v1.Query/Groups', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query is the cosmos.group.v1 Query service. + """ + + def GroupInfo(self, request, context): + """GroupInfo queries group info based on group id. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GroupPolicyInfo(self, request, context): + """GroupPolicyInfo queries group policy info based on account address of group policy. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GroupMembers(self, request, context): + """GroupMembers queries members of a group by group id. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GroupsByAdmin(self, request, context): + """GroupsByAdmin queries groups by admin address. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GroupPoliciesByGroup(self, request, context): + """GroupPoliciesByGroup queries group policies by group id. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GroupPoliciesByAdmin(self, request, context): + """GroupPoliciesByAdmin queries group policies by admin address. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Proposal(self, request, context): + """Proposal queries a proposal based on proposal id. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ProposalsByGroupPolicy(self, request, context): + """ProposalsByGroupPolicy queries proposals based on account address of group policy. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def VoteByProposalVoter(self, request, context): + """VoteByProposalVoter queries a vote by proposal id and voter. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def VotesByProposal(self, request, context): + """VotesByProposal queries a vote by proposal id. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def VotesByVoter(self, request, context): + """VotesByVoter queries a vote by voter. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GroupsByMember(self, request, context): + """GroupsByMember queries groups by member address. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TallyResult(self, request, context): + """TallyResult returns the tally result of a proposal. If the proposal is + still in voting period, then this query computes the current tally state, + which might not be final. On the other hand, if the proposal is final, + then it simply returns the `final_tally_result` state stored in the + proposal itself. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Groups(self, request, context): + """Groups queries all groups in state. + + Since: cosmos-sdk 0.47.1 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GroupInfo': grpc.unary_unary_rpc_method_handler( + servicer.GroupInfo, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoResponse.SerializeToString, + ), + 'GroupPolicyInfo': grpc.unary_unary_rpc_method_handler( + servicer.GroupPolicyInfo, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoResponse.SerializeToString, + ), + 'GroupMembers': grpc.unary_unary_rpc_method_handler( + servicer.GroupMembers, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersResponse.SerializeToString, + ), + 'GroupsByAdmin': grpc.unary_unary_rpc_method_handler( + servicer.GroupsByAdmin, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminResponse.SerializeToString, + ), + 'GroupPoliciesByGroup': grpc.unary_unary_rpc_method_handler( + servicer.GroupPoliciesByGroup, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupResponse.SerializeToString, + ), + 'GroupPoliciesByAdmin': grpc.unary_unary_rpc_method_handler( + servicer.GroupPoliciesByAdmin, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminResponse.SerializeToString, + ), + 'Proposal': grpc.unary_unary_rpc_method_handler( + servicer.Proposal, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalResponse.SerializeToString, + ), + 'ProposalsByGroupPolicy': grpc.unary_unary_rpc_method_handler( + servicer.ProposalsByGroupPolicy, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyResponse.SerializeToString, + ), + 'VoteByProposalVoter': grpc.unary_unary_rpc_method_handler( + servicer.VoteByProposalVoter, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterResponse.SerializeToString, + ), + 'VotesByProposal': grpc.unary_unary_rpc_method_handler( + servicer.VotesByProposal, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalResponse.SerializeToString, + ), + 'VotesByVoter': grpc.unary_unary_rpc_method_handler( + servicer.VotesByVoter, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterResponse.SerializeToString, + ), + 'GroupsByMember': grpc.unary_unary_rpc_method_handler( + servicer.GroupsByMember, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberResponse.SerializeToString, + ), + 'TallyResult': grpc.unary_unary_rpc_method_handler( + servicer.TallyResult, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, + ), + 'Groups': grpc.unary_unary_rpc_method_handler( + servicer.Groups, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.group.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.group.v1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query is the cosmos.group.v1 Query service. + """ + + @staticmethod + def GroupInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Query/GroupInfo', + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoRequest.SerializeToString, + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GroupPolicyInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Query/GroupPolicyInfo', + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoRequest.SerializeToString, + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GroupMembers(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Query/GroupMembers', + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersRequest.SerializeToString, + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GroupsByAdmin(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Query/GroupsByAdmin', + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminRequest.SerializeToString, + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GroupPoliciesByGroup(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Query/GroupPoliciesByGroup', + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupRequest.SerializeToString, + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GroupPoliciesByAdmin(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Query/GroupPoliciesByAdmin', + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminRequest.SerializeToString, + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Proposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Query/Proposal', + cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, + cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ProposalsByGroupPolicy(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Query/ProposalsByGroupPolicy', + cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyRequest.SerializeToString, + cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def VoteByProposalVoter(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Query/VoteByProposalVoter', + cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterRequest.SerializeToString, + cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def VotesByProposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Query/VotesByProposal', + cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalRequest.SerializeToString, + cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def VotesByVoter(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Query/VotesByVoter', + cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterRequest.SerializeToString, + cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GroupsByMember(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Query/GroupsByMember', + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberRequest.SerializeToString, + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TallyResult(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Query/TallyResult', + cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, + cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Groups(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Query/Groups', + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.SerializeToString, + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/group/v1/tx_pb2.py b/pyinjective/proto/cosmos/group/v1/tx_pb2.py new file mode 100644 index 00000000..be5d27d0 --- /dev/null +++ b/pyinjective/proto/cosmos/group/v1/tx_pb2.py @@ -0,0 +1,175 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/group/v1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x63osmos/group/v1/tx.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xcb\x01\n\x0eMsgCreateGroup\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x43\n\x07members\x18\x02 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07members\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:(\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x19\x63osmos-sdk/MsgCreateGroup\"3\n\x16MsgCreateGroupResponse\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\"\xe5\x01\n\x15MsgUpdateGroupMembers\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12P\n\x0emember_updates\x18\x03 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rmemberUpdates:/\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0* cosmos-sdk/MsgUpdateGroupMembers\"\x1f\n\x1dMsgUpdateGroupMembersResponse\"\xc6\x01\n\x13MsgUpdateGroupAdmin\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x35\n\tnew_admin\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin:-\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1e\x63osmos-sdk/MsgUpdateGroupAdmin\"\x1d\n\x1bMsgUpdateGroupAdminResponse\"\xb1\x01\n\x16MsgUpdateGroupMetadata\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:0\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*!cosmos-sdk/MsgUpdateGroupMetadata\" \n\x1eMsgUpdateGroupMetadataResponse\"\x94\x02\n\x14MsgCreateGroupPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy:2\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgCreateGroupPolicy\"R\n\x1cMsgCreateGroupPolicyResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"\x83\x02\n\x19MsgUpdateGroupPolicyAdmin\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x35\n\tnew_admin\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin:3\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*$cosmos-sdk/MsgUpdateGroupPolicyAdmin\"#\n!MsgUpdateGroupPolicyAdminResponse\"\xb8\x03\n\x18MsgCreateGroupWithPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x43\n\x07members\x18\x02 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07members\x12%\n\x0egroup_metadata\x18\x03 \x01(\tR\rgroupMetadata\x12\x32\n\x15group_policy_metadata\x18\x04 \x01(\tR\x13groupPolicyMetadata\x12\x31\n\x15group_policy_as_admin\x18\x05 \x01(\x08R\x12groupPolicyAsAdmin\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy:6\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*#cosmos-sdk/MsgCreateGroupWithPolicy\"\x89\x01\n MsgCreateGroupWithPolicyResponse\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\"\xbf\x02\n\"MsgUpdateGroupPolicyDecisionPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy::\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\'cosmos-sdk/MsgUpdateGroupDecisionPolicy\",\n*MsgUpdateGroupPolicyDecisionPolicyResponse\"\xee\x01\n\x1cMsgUpdateGroupPolicyMetadata\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:6\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\'cosmos-sdk/MsgUpdateGroupPolicyMetadata\"&\n$MsgUpdateGroupPolicyMetadataResponse\"\xe1\x02\n\x11MsgSubmitProposal\x12J\n\x14group_policy_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1c\n\tproposers\x18\x02 \x03(\tR\tproposers\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x30\n\x08messages\x18\x04 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12)\n\x04\x65xec\x18\x05 \x01(\x0e\x32\x15.cosmos.group.v1.ExecR\x04\x65xec\x12\x14\n\x05title\x18\x06 \x01(\tR\x05title\x12\x18\n\x07summary\x18\x07 \x01(\tR\x07summary:9\x88\xa0\x1f\x00\x82\xe7\xb0*\tproposers\x8a\xe7\xb0*\"cosmos-sdk/group/MsgSubmitProposal\"<\n\x19MsgSubmitProposalResponse\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\xa1\x01\n\x13MsgWithdrawProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x32\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:5\x82\xe7\xb0*\x07\x61\x64\x64ress\x8a\xe7\xb0*$cosmos-sdk/group/MsgWithdrawProposal\"\x1d\n\x1bMsgWithdrawProposalResponse\"\xff\x01\n\x07MsgVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x33\n\x06option\x18\x03 \x01(\x0e\x32\x1b.cosmos.group.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12)\n\x04\x65xec\x18\x05 \x01(\x0e\x32\x15.cosmos.group.v1.ExecR\x04\x65xec:\'\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x18\x63osmos-sdk/group/MsgVote\"\x11\n\x0fMsgVoteResponse\"\x8c\x01\n\x07MsgExec\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x34\n\x08\x65xecutor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x65xecutor:*\x82\xe7\xb0*\x08\x65xecutor\x8a\xe7\xb0*\x18\x63osmos-sdk/group/MsgExec\"R\n\x0fMsgExecResponse\x12?\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x06result\"\x8f\x01\n\rMsgLeaveGroup\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId:/\x82\xe7\xb0*\x07\x61\x64\x64ress\x8a\xe7\xb0*\x1e\x63osmos-sdk/group/MsgLeaveGroup\"\x17\n\x15MsgLeaveGroupResponse**\n\x04\x45xec\x12\x14\n\x10\x45XEC_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45XEC_TRY\x10\x01\x32\xca\x0b\n\x03Msg\x12W\n\x0b\x43reateGroup\x12\x1f.cosmos.group.v1.MsgCreateGroup\x1a\'.cosmos.group.v1.MsgCreateGroupResponse\x12l\n\x12UpdateGroupMembers\x12&.cosmos.group.v1.MsgUpdateGroupMembers\x1a..cosmos.group.v1.MsgUpdateGroupMembersResponse\x12\x66\n\x10UpdateGroupAdmin\x12$.cosmos.group.v1.MsgUpdateGroupAdmin\x1a,.cosmos.group.v1.MsgUpdateGroupAdminResponse\x12o\n\x13UpdateGroupMetadata\x12\'.cosmos.group.v1.MsgUpdateGroupMetadata\x1a/.cosmos.group.v1.MsgUpdateGroupMetadataResponse\x12i\n\x11\x43reateGroupPolicy\x12%.cosmos.group.v1.MsgCreateGroupPolicy\x1a-.cosmos.group.v1.MsgCreateGroupPolicyResponse\x12u\n\x15\x43reateGroupWithPolicy\x12).cosmos.group.v1.MsgCreateGroupWithPolicy\x1a\x31.cosmos.group.v1.MsgCreateGroupWithPolicyResponse\x12x\n\x16UpdateGroupPolicyAdmin\x12*.cosmos.group.v1.MsgUpdateGroupPolicyAdmin\x1a\x32.cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse\x12\x93\x01\n\x1fUpdateGroupPolicyDecisionPolicy\x12\x33.cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy\x1a;.cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse\x12\x81\x01\n\x19UpdateGroupPolicyMetadata\x12-.cosmos.group.v1.MsgUpdateGroupPolicyMetadata\x1a\x35.cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse\x12`\n\x0eSubmitProposal\x12\".cosmos.group.v1.MsgSubmitProposal\x1a*.cosmos.group.v1.MsgSubmitProposalResponse\x12\x66\n\x10WithdrawProposal\x12$.cosmos.group.v1.MsgWithdrawProposal\x1a,.cosmos.group.v1.MsgWithdrawProposalResponse\x12\x42\n\x04Vote\x12\x18.cosmos.group.v1.MsgVote\x1a .cosmos.group.v1.MsgVoteResponse\x12\x42\n\x04\x45xec\x12\x18.cosmos.group.v1.MsgExec\x1a .cosmos.group.v1.MsgExecResponse\x12T\n\nLeaveGroup\x12\x1e.cosmos.group.v1.MsgLeaveGroup\x1a&.cosmos.group.v1.MsgLeaveGroupResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xa2\x01\n\x13\x63om.cosmos.group.v1B\x07TxProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\007TxProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' + _globals['_MSGCREATEGROUP'].fields_by_name['admin']._loaded_options = None + _globals['_MSGCREATEGROUP'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCREATEGROUP'].fields_by_name['members']._loaded_options = None + _globals['_MSGCREATEGROUP'].fields_by_name['members']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGCREATEGROUP']._loaded_options = None + _globals['_MSGCREATEGROUP']._serialized_options = b'\202\347\260*\005admin\212\347\260*\031cosmos-sdk/MsgCreateGroup' + _globals['_MSGUPDATEGROUPMEMBERS'].fields_by_name['admin']._loaded_options = None + _globals['_MSGUPDATEGROUPMEMBERS'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPMEMBERS'].fields_by_name['member_updates']._loaded_options = None + _globals['_MSGUPDATEGROUPMEMBERS'].fields_by_name['member_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEGROUPMEMBERS']._loaded_options = None + _globals['_MSGUPDATEGROUPMEMBERS']._serialized_options = b'\202\347\260*\005admin\212\347\260* cosmos-sdk/MsgUpdateGroupMembers' + _globals['_MSGUPDATEGROUPADMIN'].fields_by_name['admin']._loaded_options = None + _globals['_MSGUPDATEGROUPADMIN'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPADMIN'].fields_by_name['new_admin']._loaded_options = None + _globals['_MSGUPDATEGROUPADMIN'].fields_by_name['new_admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPADMIN']._loaded_options = None + _globals['_MSGUPDATEGROUPADMIN']._serialized_options = b'\202\347\260*\005admin\212\347\260*\036cosmos-sdk/MsgUpdateGroupAdmin' + _globals['_MSGUPDATEGROUPMETADATA'].fields_by_name['admin']._loaded_options = None + _globals['_MSGUPDATEGROUPMETADATA'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPMETADATA']._loaded_options = None + _globals['_MSGUPDATEGROUPMETADATA']._serialized_options = b'\202\347\260*\005admin\212\347\260*!cosmos-sdk/MsgUpdateGroupMetadata' + _globals['_MSGCREATEGROUPPOLICY'].fields_by_name['admin']._loaded_options = None + _globals['_MSGCREATEGROUPPOLICY'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCREATEGROUPPOLICY'].fields_by_name['decision_policy']._loaded_options = None + _globals['_MSGCREATEGROUPPOLICY'].fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' + _globals['_MSGCREATEGROUPPOLICY']._loaded_options = None + _globals['_MSGCREATEGROUPPOLICY']._serialized_options = b'\210\240\037\000\202\347\260*\005admin\212\347\260*\037cosmos-sdk/MsgCreateGroupPolicy' + _globals['_MSGCREATEGROUPPOLICYRESPONSE'].fields_by_name['address']._loaded_options = None + _globals['_MSGCREATEGROUPPOLICYRESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['admin']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['group_policy_address']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['new_admin']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['new_admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYADMIN']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYADMIN']._serialized_options = b'\202\347\260*\005admin\212\347\260*$cosmos-sdk/MsgUpdateGroupPolicyAdmin' + _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['admin']._loaded_options = None + _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['members']._loaded_options = None + _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['members']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['decision_policy']._loaded_options = None + _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' + _globals['_MSGCREATEGROUPWITHPOLICY']._loaded_options = None + _globals['_MSGCREATEGROUPWITHPOLICY']._serialized_options = b'\210\240\037\000\202\347\260*\005admin\212\347\260*#cosmos-sdk/MsgCreateGroupWithPolicy' + _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE'].fields_by_name['group_policy_address']._loaded_options = None + _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['admin']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['group_policy_address']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['decision_policy']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._serialized_options = b'\210\240\037\000\202\347\260*\005admin\212\347\260*\'cosmos-sdk/MsgUpdateGroupDecisionPolicy' + _globals['_MSGUPDATEGROUPPOLICYMETADATA'].fields_by_name['admin']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYMETADATA'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYMETADATA'].fields_by_name['group_policy_address']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYMETADATA'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYMETADATA']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYMETADATA']._serialized_options = b'\202\347\260*\005admin\212\347\260*\'cosmos-sdk/MsgUpdateGroupPolicyMetadata' + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['group_policy_address']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSUBMITPROPOSAL']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL']._serialized_options = b'\210\240\037\000\202\347\260*\tproposers\212\347\260*\"cosmos-sdk/group/MsgSubmitProposal' + _globals['_MSGWITHDRAWPROPOSAL'].fields_by_name['address']._loaded_options = None + _globals['_MSGWITHDRAWPROPOSAL'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGWITHDRAWPROPOSAL']._loaded_options = None + _globals['_MSGWITHDRAWPROPOSAL']._serialized_options = b'\202\347\260*\007address\212\347\260*$cosmos-sdk/group/MsgWithdrawProposal' + _globals['_MSGVOTE'].fields_by_name['voter']._loaded_options = None + _globals['_MSGVOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGVOTE']._loaded_options = None + _globals['_MSGVOTE']._serialized_options = b'\202\347\260*\005voter\212\347\260*\030cosmos-sdk/group/MsgVote' + _globals['_MSGEXEC'].fields_by_name['executor']._loaded_options = None + _globals['_MSGEXEC'].fields_by_name['executor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGEXEC']._loaded_options = None + _globals['_MSGEXEC']._serialized_options = b'\202\347\260*\010executor\212\347\260*\030cosmos-sdk/group/MsgExec' + _globals['_MSGLEAVEGROUP'].fields_by_name['address']._loaded_options = None + _globals['_MSGLEAVEGROUP'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGLEAVEGROUP']._loaded_options = None + _globals['_MSGLEAVEGROUP']._serialized_options = b'\202\347\260*\007address\212\347\260*\036cosmos-sdk/group/MsgLeaveGroup' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_EXEC']._serialized_start=4346 + _globals['_EXEC']._serialized_end=4388 + _globals['_MSGCREATEGROUP']._serialized_start=195 + _globals['_MSGCREATEGROUP']._serialized_end=398 + _globals['_MSGCREATEGROUPRESPONSE']._serialized_start=400 + _globals['_MSGCREATEGROUPRESPONSE']._serialized_end=451 + _globals['_MSGUPDATEGROUPMEMBERS']._serialized_start=454 + _globals['_MSGUPDATEGROUPMEMBERS']._serialized_end=683 + _globals['_MSGUPDATEGROUPMEMBERSRESPONSE']._serialized_start=685 + _globals['_MSGUPDATEGROUPMEMBERSRESPONSE']._serialized_end=716 + _globals['_MSGUPDATEGROUPADMIN']._serialized_start=719 + _globals['_MSGUPDATEGROUPADMIN']._serialized_end=917 + _globals['_MSGUPDATEGROUPADMINRESPONSE']._serialized_start=919 + _globals['_MSGUPDATEGROUPADMINRESPONSE']._serialized_end=948 + _globals['_MSGUPDATEGROUPMETADATA']._serialized_start=951 + _globals['_MSGUPDATEGROUPMETADATA']._serialized_end=1128 + _globals['_MSGUPDATEGROUPMETADATARESPONSE']._serialized_start=1130 + _globals['_MSGUPDATEGROUPMETADATARESPONSE']._serialized_end=1162 + _globals['_MSGCREATEGROUPPOLICY']._serialized_start=1165 + _globals['_MSGCREATEGROUPPOLICY']._serialized_end=1441 + _globals['_MSGCREATEGROUPPOLICYRESPONSE']._serialized_start=1443 + _globals['_MSGCREATEGROUPPOLICYRESPONSE']._serialized_end=1525 + _globals['_MSGUPDATEGROUPPOLICYADMIN']._serialized_start=1528 + _globals['_MSGUPDATEGROUPPOLICYADMIN']._serialized_end=1787 + _globals['_MSGUPDATEGROUPPOLICYADMINRESPONSE']._serialized_start=1789 + _globals['_MSGUPDATEGROUPPOLICYADMINRESPONSE']._serialized_end=1824 + _globals['_MSGCREATEGROUPWITHPOLICY']._serialized_start=1827 + _globals['_MSGCREATEGROUPWITHPOLICY']._serialized_end=2267 + _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE']._serialized_start=2270 + _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE']._serialized_end=2407 + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._serialized_start=2410 + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._serialized_end=2729 + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICYRESPONSE']._serialized_start=2731 + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICYRESPONSE']._serialized_end=2775 + _globals['_MSGUPDATEGROUPPOLICYMETADATA']._serialized_start=2778 + _globals['_MSGUPDATEGROUPPOLICYMETADATA']._serialized_end=3016 + _globals['_MSGUPDATEGROUPPOLICYMETADATARESPONSE']._serialized_start=3018 + _globals['_MSGUPDATEGROUPPOLICYMETADATARESPONSE']._serialized_end=3056 + _globals['_MSGSUBMITPROPOSAL']._serialized_start=3059 + _globals['_MSGSUBMITPROPOSAL']._serialized_end=3412 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_start=3414 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_end=3474 + _globals['_MSGWITHDRAWPROPOSAL']._serialized_start=3477 + _globals['_MSGWITHDRAWPROPOSAL']._serialized_end=3638 + _globals['_MSGWITHDRAWPROPOSALRESPONSE']._serialized_start=3640 + _globals['_MSGWITHDRAWPROPOSALRESPONSE']._serialized_end=3669 + _globals['_MSGVOTE']._serialized_start=3672 + _globals['_MSGVOTE']._serialized_end=3927 + _globals['_MSGVOTERESPONSE']._serialized_start=3929 + _globals['_MSGVOTERESPONSE']._serialized_end=3946 + _globals['_MSGEXEC']._serialized_start=3949 + _globals['_MSGEXEC']._serialized_end=4089 + _globals['_MSGEXECRESPONSE']._serialized_start=4091 + _globals['_MSGEXECRESPONSE']._serialized_end=4173 + _globals['_MSGLEAVEGROUP']._serialized_start=4176 + _globals['_MSGLEAVEGROUP']._serialized_end=4319 + _globals['_MSGLEAVEGROUPRESPONSE']._serialized_start=4321 + _globals['_MSGLEAVEGROUPRESPONSE']._serialized_end=4344 + _globals['_MSG']._serialized_start=4391 + _globals['_MSG']._serialized_end=5873 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/tx_pb2_grpc.py new file mode 100644 index 00000000..39d77388 --- /dev/null +++ b/pyinjective/proto/cosmos/group/v1/tx_pb2_grpc.py @@ -0,0 +1,653 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.group.v1 import tx_pb2 as cosmos_dot_group_dot_v1_dot_tx__pb2 + + +class MsgStub(object): + """Msg is the cosmos.group.v1 Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateGroup = channel.unary_unary( + '/cosmos.group.v1.Msg/CreateGroup', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroup.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupResponse.FromString, + _registered_method=True) + self.UpdateGroupMembers = channel.unary_unary( + '/cosmos.group.v1.Msg/UpdateGroupMembers', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembers.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembersResponse.FromString, + _registered_method=True) + self.UpdateGroupAdmin = channel.unary_unary( + '/cosmos.group.v1.Msg/UpdateGroupAdmin', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdmin.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdminResponse.FromString, + _registered_method=True) + self.UpdateGroupMetadata = channel.unary_unary( + '/cosmos.group.v1.Msg/UpdateGroupMetadata', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadata.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadataResponse.FromString, + _registered_method=True) + self.CreateGroupPolicy = channel.unary_unary( + '/cosmos.group.v1.Msg/CreateGroupPolicy', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicy.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicyResponse.FromString, + _registered_method=True) + self.CreateGroupWithPolicy = channel.unary_unary( + '/cosmos.group.v1.Msg/CreateGroupWithPolicy', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicy.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicyResponse.FromString, + _registered_method=True) + self.UpdateGroupPolicyAdmin = channel.unary_unary( + '/cosmos.group.v1.Msg/UpdateGroupPolicyAdmin', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdmin.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdminResponse.FromString, + _registered_method=True) + self.UpdateGroupPolicyDecisionPolicy = channel.unary_unary( + '/cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicy.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicyResponse.FromString, + _registered_method=True) + self.UpdateGroupPolicyMetadata = channel.unary_unary( + '/cosmos.group.v1.Msg/UpdateGroupPolicyMetadata', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadata.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadataResponse.FromString, + _registered_method=True) + self.SubmitProposal = channel.unary_unary( + '/cosmos.group.v1.Msg/SubmitProposal', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, + _registered_method=True) + self.WithdrawProposal = channel.unary_unary( + '/cosmos.group.v1.Msg/WithdrawProposal', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposal.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposalResponse.FromString, + _registered_method=True) + self.Vote = channel.unary_unary( + '/cosmos.group.v1.Msg/Vote', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, + _registered_method=True) + self.Exec = channel.unary_unary( + '/cosmos.group.v1.Msg/Exec', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExec.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExecResponse.FromString, + _registered_method=True) + self.LeaveGroup = channel.unary_unary( + '/cosmos.group.v1.Msg/LeaveGroup', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroup.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroupResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg is the cosmos.group.v1 Msg service. + """ + + def CreateGroup(self, request, context): + """CreateGroup creates a new group with an admin account address, a list of members and some optional metadata. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateGroupMembers(self, request, context): + """UpdateGroupMembers updates the group members with given group id and admin address. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateGroupAdmin(self, request, context): + """UpdateGroupAdmin updates the group admin with given group id and previous admin address. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateGroupMetadata(self, request, context): + """UpdateGroupMetadata updates the group metadata with given group id and admin address. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateGroupPolicy(self, request, context): + """CreateGroupPolicy creates a new group policy using given DecisionPolicy. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateGroupWithPolicy(self, request, context): + """CreateGroupWithPolicy creates a new group with policy. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateGroupPolicyAdmin(self, request, context): + """UpdateGroupPolicyAdmin updates a group policy admin. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateGroupPolicyDecisionPolicy(self, request, context): + """UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateGroupPolicyMetadata(self, request, context): + """UpdateGroupPolicyMetadata updates a group policy metadata. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SubmitProposal(self, request, context): + """SubmitProposal submits a new proposal. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def WithdrawProposal(self, request, context): + """WithdrawProposal withdraws a proposal. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Vote(self, request, context): + """Vote allows a voter to vote on a proposal. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Exec(self, request, context): + """Exec executes a proposal. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def LeaveGroup(self, request, context): + """LeaveGroup allows a group member to leave the group. + """ + 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 = { + 'CreateGroup': grpc.unary_unary_rpc_method_handler( + servicer.CreateGroup, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroup.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupResponse.SerializeToString, + ), + 'UpdateGroupMembers': grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupMembers, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembers.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembersResponse.SerializeToString, + ), + 'UpdateGroupAdmin': grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupAdmin, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdmin.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdminResponse.SerializeToString, + ), + 'UpdateGroupMetadata': grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupMetadata, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadata.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadataResponse.SerializeToString, + ), + 'CreateGroupPolicy': grpc.unary_unary_rpc_method_handler( + servicer.CreateGroupPolicy, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicy.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicyResponse.SerializeToString, + ), + 'CreateGroupWithPolicy': grpc.unary_unary_rpc_method_handler( + servicer.CreateGroupWithPolicy, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicy.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicyResponse.SerializeToString, + ), + 'UpdateGroupPolicyAdmin': grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupPolicyAdmin, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdmin.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdminResponse.SerializeToString, + ), + 'UpdateGroupPolicyDecisionPolicy': grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupPolicyDecisionPolicy, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicy.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicyResponse.SerializeToString, + ), + 'UpdateGroupPolicyMetadata': grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupPolicyMetadata, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadata.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadataResponse.SerializeToString, + ), + 'SubmitProposal': grpc.unary_unary_rpc_method_handler( + servicer.SubmitProposal, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposal.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, + ), + 'WithdrawProposal': grpc.unary_unary_rpc_method_handler( + servicer.WithdrawProposal, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposal.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposalResponse.SerializeToString, + ), + 'Vote': grpc.unary_unary_rpc_method_handler( + servicer.Vote, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVote.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVoteResponse.SerializeToString, + ), + 'Exec': grpc.unary_unary_rpc_method_handler( + servicer.Exec, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExec.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExecResponse.SerializeToString, + ), + 'LeaveGroup': grpc.unary_unary_rpc_method_handler( + servicer.LeaveGroup, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroup.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroupResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.group.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.group.v1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg is the cosmos.group.v1 Msg service. + """ + + @staticmethod + def CreateGroup(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Msg/CreateGroup', + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroup.SerializeToString, + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateGroupMembers(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Msg/UpdateGroupMembers', + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembers.SerializeToString, + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembersResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateGroupAdmin(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Msg/UpdateGroupAdmin', + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdmin.SerializeToString, + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdminResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateGroupMetadata(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Msg/UpdateGroupMetadata', + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadata.SerializeToString, + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadataResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreateGroupPolicy(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Msg/CreateGroupPolicy', + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicy.SerializeToString, + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicyResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreateGroupWithPolicy(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Msg/CreateGroupWithPolicy', + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicy.SerializeToString, + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicyResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateGroupPolicyAdmin(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Msg/UpdateGroupPolicyAdmin', + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdmin.SerializeToString, + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdminResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateGroupPolicyDecisionPolicy(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy', + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicy.SerializeToString, + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicyResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateGroupPolicyMetadata(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Msg/UpdateGroupPolicyMetadata', + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadata.SerializeToString, + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadataResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SubmitProposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Msg/SubmitProposal', + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def WithdrawProposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Msg/WithdrawProposal', + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposal.SerializeToString, + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposalResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Vote(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Msg/Vote', + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Exec(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Msg/Exec', + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExec.SerializeToString, + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExecResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def LeaveGroup(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.group.v1.Msg/LeaveGroup', + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroup.SerializeToString, + cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroupResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/group/v1/types_pb2.py b/pyinjective/proto/cosmos/group/v1/types_pb2.py new file mode 100644 index 00000000..103112b7 --- /dev/null +++ b/pyinjective/proto/cosmos/group/v1/types_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/group/v1/types.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/group/v1/types.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xb6\x01\n\x06Member\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x16\n\x06weight\x18\x02 \x01(\tR\x06weight\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x44\n\x08\x61\x64\x64\x65\x64_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x07\x61\x64\x64\x65\x64\x41t\"w\n\rMemberRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x16\n\x06weight\x18\x02 \x01(\tR\x06weight\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\"\xc4\x01\n\x17ThresholdDecisionPolicy\x12\x1c\n\tthreshold\x18\x01 \x01(\tR\tthreshold\x12@\n\x07windows\x18\x02 \x01(\x0b\x32&.cosmos.group.v1.DecisionPolicyWindowsR\x07windows:I\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x8a\xe7\xb0*\"cosmos-sdk/ThresholdDecisionPolicy\"\xc8\x01\n\x18PercentageDecisionPolicy\x12\x1e\n\npercentage\x18\x01 \x01(\tR\npercentage\x12@\n\x07windows\x18\x02 \x01(\x0b\x32&.cosmos.group.v1.DecisionPolicyWindowsR\x07windows:J\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x8a\xe7\xb0*#cosmos-sdk/PercentageDecisionPolicy\"\xc2\x01\n\x15\x44\x65\x63isionPolicyWindows\x12M\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0cvotingPeriod\x12Z\n\x14min_execution_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x12minExecutionPeriod\"\xee\x01\n\tGroupInfo\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x18\n\x07version\x18\x04 \x01(\x04R\x07version\x12!\n\x0ctotal_weight\x18\x05 \x01(\tR\x0btotalWeight\x12H\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\tcreatedAt\"Y\n\x0bGroupMember\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12/\n\x06member\x18\x02 \x01(\x0b\x32\x17.cosmos.group.v1.MemberR\x06member\"\xfd\x02\n\x0fGroupPolicyInfo\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12.\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12\x18\n\x07version\x18\x05 \x01(\x04R\x07version\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy\x12H\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\tcreatedAt:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x01\"\xfe\x05\n\x08Proposal\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x36\n\tproposers\x18\x04 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tproposers\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime\x12#\n\rgroup_version\x18\x06 \x01(\x04R\x0cgroupVersion\x12\x30\n\x14group_policy_version\x18\x07 \x01(\x04R\x12groupPolicyVersion\x12\x37\n\x06status\x18\x08 \x01(\x0e\x32\x1f.cosmos.group.v1.ProposalStatusR\x06status\x12U\n\x12\x66inal_tally_result\x18\t \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x10\x66inalTallyResult\x12U\n\x11voting_period_end\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0fvotingPeriodEnd\x12P\n\x0f\x65xecutor_result\x18\x0b \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x0e\x65xecutorResult\x12\x30\n\x08messages\x18\x0c \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x14\n\x05title\x18\r \x01(\tR\x05title\x12\x18\n\x07summary\x18\x0e \x01(\tR\x07summary:\x04\x88\xa0\x1f\x00\"\x9d\x01\n\x0bTallyResult\x12\x1b\n\tyes_count\x18\x01 \x01(\tR\x08yesCount\x12#\n\rabstain_count\x18\x02 \x01(\tR\x0c\x61\x62stainCount\x12\x19\n\x08no_count\x18\x03 \x01(\tR\x07noCount\x12+\n\x12no_with_veto_count\x18\x04 \x01(\tR\x0fnoWithVetoCount:\x04\x88\xa0\x1f\x00\"\xf4\x01\n\x04Vote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x33\n\x06option\x18\x03 \x01(\x0e\x32\x1b.cosmos.group.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime*\x8f\x01\n\nVoteOption\x12\x1b\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fVOTE_OPTION_YES\x10\x01\x12\x17\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x12\x12\n\x0eVOTE_OPTION_NO\x10\x03\x12\x1c\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04\x1a\x04\x88\xa3\x1e\x00*\xce\x01\n\x0eProposalStatus\x12\x1f\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19PROPOSAL_STATUS_SUBMITTED\x10\x01\x12\x1c\n\x18PROPOSAL_STATUS_ACCEPTED\x10\x02\x12\x1c\n\x18PROPOSAL_STATUS_REJECTED\x10\x03\x12\x1b\n\x17PROPOSAL_STATUS_ABORTED\x10\x04\x12\x1d\n\x19PROPOSAL_STATUS_WITHDRAWN\x10\x05\x1a\x04\x88\xa3\x1e\x00*\xba\x01\n\x16ProposalExecutorResult\x12(\n$PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED\x10\x00\x12$\n PROPOSAL_EXECUTOR_RESULT_NOT_RUN\x10\x01\x12$\n PROPOSAL_EXECUTOR_RESULT_SUCCESS\x10\x02\x12$\n PROPOSAL_EXECUTOR_RESULT_FAILURE\x10\x03\x1a\x04\x88\xa3\x1e\x00\x42\xa5\x01\n\x13\x63om.cosmos.group.v1B\nTypesProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\nTypesProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' + _globals['_VOTEOPTION']._loaded_options = None + _globals['_VOTEOPTION']._serialized_options = b'\210\243\036\000' + _globals['_PROPOSALSTATUS']._loaded_options = None + _globals['_PROPOSALSTATUS']._serialized_options = b'\210\243\036\000' + _globals['_PROPOSALEXECUTORRESULT']._loaded_options = None + _globals['_PROPOSALEXECUTORRESULT']._serialized_options = b'\210\243\036\000' + _globals['_MEMBER'].fields_by_name['address']._loaded_options = None + _globals['_MEMBER'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MEMBER'].fields_by_name['added_at']._loaded_options = None + _globals['_MEMBER'].fields_by_name['added_at']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_MEMBERREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_MEMBERREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_THRESHOLDDECISIONPOLICY']._loaded_options = None + _globals['_THRESHOLDDECISIONPOLICY']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy\212\347\260*\"cosmos-sdk/ThresholdDecisionPolicy' + _globals['_PERCENTAGEDECISIONPOLICY']._loaded_options = None + _globals['_PERCENTAGEDECISIONPOLICY']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy\212\347\260*#cosmos-sdk/PercentageDecisionPolicy' + _globals['_DECISIONPOLICYWINDOWS'].fields_by_name['voting_period']._loaded_options = None + _globals['_DECISIONPOLICYWINDOWS'].fields_by_name['voting_period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' + _globals['_DECISIONPOLICYWINDOWS'].fields_by_name['min_execution_period']._loaded_options = None + _globals['_DECISIONPOLICYWINDOWS'].fields_by_name['min_execution_period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' + _globals['_GROUPINFO'].fields_by_name['admin']._loaded_options = None + _globals['_GROUPINFO'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_GROUPINFO'].fields_by_name['created_at']._loaded_options = None + _globals['_GROUPINFO'].fields_by_name['created_at']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_GROUPPOLICYINFO'].fields_by_name['address']._loaded_options = None + _globals['_GROUPPOLICYINFO'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_GROUPPOLICYINFO'].fields_by_name['admin']._loaded_options = None + _globals['_GROUPPOLICYINFO'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_GROUPPOLICYINFO'].fields_by_name['decision_policy']._loaded_options = None + _globals['_GROUPPOLICYINFO'].fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' + _globals['_GROUPPOLICYINFO'].fields_by_name['created_at']._loaded_options = None + _globals['_GROUPPOLICYINFO'].fields_by_name['created_at']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_GROUPPOLICYINFO']._loaded_options = None + _globals['_GROUPPOLICYINFO']._serialized_options = b'\210\240\037\000\350\240\037\001' + _globals['_PROPOSAL'].fields_by_name['group_policy_address']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_PROPOSAL'].fields_by_name['proposers']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['proposers']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_PROPOSAL'].fields_by_name['submit_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['submit_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['final_tally_result']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['final_tally_result']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['voting_period_end']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['voting_period_end']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_PROPOSAL']._loaded_options = None + _globals['_PROPOSAL']._serialized_options = b'\210\240\037\000' + _globals['_TALLYRESULT']._loaded_options = None + _globals['_TALLYRESULT']._serialized_options = b'\210\240\037\000' + _globals['_VOTE'].fields_by_name['voter']._loaded_options = None + _globals['_VOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_VOTE'].fields_by_name['submit_time']._loaded_options = None + _globals['_VOTE'].fields_by_name['submit_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_VOTEOPTION']._serialized_start=3006 + _globals['_VOTEOPTION']._serialized_end=3149 + _globals['_PROPOSALSTATUS']._serialized_start=3152 + _globals['_PROPOSALSTATUS']._serialized_end=3358 + _globals['_PROPOSALEXECUTORRESULT']._serialized_start=3361 + _globals['_PROPOSALEXECUTORRESULT']._serialized_end=3547 + _globals['_MEMBER']._serialized_start=209 + _globals['_MEMBER']._serialized_end=391 + _globals['_MEMBERREQUEST']._serialized_start=393 + _globals['_MEMBERREQUEST']._serialized_end=512 + _globals['_THRESHOLDDECISIONPOLICY']._serialized_start=515 + _globals['_THRESHOLDDECISIONPOLICY']._serialized_end=711 + _globals['_PERCENTAGEDECISIONPOLICY']._serialized_start=714 + _globals['_PERCENTAGEDECISIONPOLICY']._serialized_end=914 + _globals['_DECISIONPOLICYWINDOWS']._serialized_start=917 + _globals['_DECISIONPOLICYWINDOWS']._serialized_end=1111 + _globals['_GROUPINFO']._serialized_start=1114 + _globals['_GROUPINFO']._serialized_end=1352 + _globals['_GROUPMEMBER']._serialized_start=1354 + _globals['_GROUPMEMBER']._serialized_end=1443 + _globals['_GROUPPOLICYINFO']._serialized_start=1446 + _globals['_GROUPPOLICYINFO']._serialized_end=1827 + _globals['_PROPOSAL']._serialized_start=1830 + _globals['_PROPOSAL']._serialized_end=2596 + _globals['_TALLYRESULT']._serialized_start=2599 + _globals['_TALLYRESULT']._serialized_end=2756 + _globals['_VOTE']._serialized_start=2759 + _globals['_VOTE']._serialized_end=3003 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/types_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/types_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/group/v1/types_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/cosmos/ics23/v1/proofs_pb2.py b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py new file mode 100644 index 00000000..10a01ca2 --- /dev/null +++ b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/ics23/v1/proofs.proto +# Protobuf Python Version: 5.26.1 +"""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\x1c\x63osmos/ics23/v1/proofs.proto\x12\x0f\x63osmos.ics23.v1\"\x93\x01\n\x0e\x45xistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12+\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x04leaf\x12,\n\x04path\x18\x04 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOpR\x04path\"\x91\x01\n\x11NonExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x33\n\x04left\x18\x02 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofR\x04left\x12\x35\n\x05right\x18\x03 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofR\x05right\"\x93\x02\n\x0f\x43ommitmentProof\x12\x37\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00R\x05\x65xist\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00R\x08nonexist\x12\x33\n\x05\x62\x61tch\x18\x03 \x01(\x0b\x32\x1b.cosmos.ics23.v1.BatchProofH\x00R\x05\x62\x61tch\x12G\n\ncompressed\x18\x04 \x01(\x0b\x32%.cosmos.ics23.v1.CompressedBatchProofH\x00R\ncompressedB\x07\n\x05proof\"\xf8\x01\n\x06LeafOp\x12+\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash\x12\x38\n\x0bprehash_key\x18\x02 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\nprehashKey\x12<\n\rprehash_value\x18\x03 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x0cprehashValue\x12\x31\n\x06length\x18\x04 \x01(\x0e\x32\x19.cosmos.ics23.v1.LengthOpR\x06length\x12\x16\n\x06prefix\x18\x05 \x01(\x0cR\x06prefix\"f\n\x07InnerOp\x12+\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash\x12\x16\n\x06prefix\x18\x02 \x01(\x0cR\x06prefix\x12\x16\n\x06suffix\x18\x03 \x01(\x0cR\x06suffix\"\xf9\x01\n\tProofSpec\x12\x34\n\tleaf_spec\x18\x01 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x08leafSpec\x12\x39\n\ninner_spec\x18\x02 \x01(\x0b\x32\x1a.cosmos.ics23.v1.InnerSpecR\tinnerSpec\x12\x1b\n\tmax_depth\x18\x03 \x01(\x05R\x08maxDepth\x12\x1b\n\tmin_depth\x18\x04 \x01(\x05R\x08minDepth\x12\x41\n\x1dprehash_key_before_comparison\x18\x05 \x01(\x08R\x1aprehashKeyBeforeComparison\"\xf1\x01\n\tInnerSpec\x12\x1f\n\x0b\x63hild_order\x18\x01 \x03(\x05R\nchildOrder\x12\x1d\n\nchild_size\x18\x02 \x01(\x05R\tchildSize\x12*\n\x11min_prefix_length\x18\x03 \x01(\x05R\x0fminPrefixLength\x12*\n\x11max_prefix_length\x18\x04 \x01(\x05R\x0fmaxPrefixLength\x12\x1f\n\x0b\x65mpty_child\x18\x05 \x01(\x0cR\nemptyChild\x12+\n\x04hash\x18\x06 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash\"C\n\nBatchProof\x12\x35\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1b.cosmos.ics23.v1.BatchEntryR\x07\x65ntries\"\x90\x01\n\nBatchEntry\x12\x37\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00R\x05\x65xist\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00R\x08nonexistB\x07\n\x05proof\"\x96\x01\n\x14\x43ompressedBatchProof\x12?\n\x07\x65ntries\x18\x01 \x03(\x0b\x32%.cosmos.ics23.v1.CompressedBatchEntryR\x07\x65ntries\x12=\n\rlookup_inners\x18\x02 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOpR\x0clookupInners\"\xae\x01\n\x14\x43ompressedBatchEntry\x12\x41\n\x05\x65xist\x18\x01 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofH\x00R\x05\x65xist\x12J\n\x08nonexist\x18\x02 \x01(\x0b\x32,.cosmos.ics23.v1.CompressedNonExistenceProofH\x00R\x08nonexistB\x07\n\x05proof\"\x83\x01\n\x18\x43ompressedExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12+\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x04leaf\x12\x12\n\x04path\x18\x04 \x03(\x05R\x04path\"\xaf\x01\n\x1b\x43ompressedNonExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12=\n\x04left\x18\x02 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofR\x04left\x12?\n\x05right\x18\x03 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofR\x05right*\x96\x01\n\x06HashOp\x12\x0b\n\x07NO_HASH\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\n\n\x06SHA512\x10\x02\x12\r\n\tKECCAK256\x10\x03\x12\r\n\tRIPEMD160\x10\x04\x12\x0b\n\x07\x42ITCOIN\x10\x05\x12\x0e\n\nSHA512_256\x10\x06\x12\x0f\n\x0b\x42LAKE2B_512\x10\x07\x12\x0f\n\x0b\x42LAKE2S_256\x10\x08\x12\n\n\x06\x42LAKE3\x10\t*\xab\x01\n\x08LengthOp\x12\r\n\tNO_PREFIX\x10\x00\x12\r\n\tVAR_PROTO\x10\x01\x12\x0b\n\x07VAR_RLP\x10\x02\x12\x0f\n\x0b\x46IXED32_BIG\x10\x03\x12\x12\n\x0e\x46IXED32_LITTLE\x10\x04\x12\x0f\n\x0b\x46IXED64_BIG\x10\x05\x12\x12\n\x0e\x46IXED64_LITTLE\x10\x06\x12\x14\n\x10REQUIRE_32_BYTES\x10\x07\x12\x14\n\x10REQUIRE_64_BYTES\x10\x08\x42\xa2\x01\n\x13\x63om.cosmos.ics23.v1B\x0bProofsProtoP\x01Z github.com/cosmos/ics23/go;ics23\xa2\x02\x03\x43IX\xaa\x02\x0f\x43osmos.Ics23.V1\xca\x02\x0f\x43osmos\\Ics23\\V1\xe2\x02\x1b\x43osmos\\Ics23\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Ics23::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.ics23.v1.proofs_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.ics23.v1B\013ProofsProtoP\001Z github.com/cosmos/ics23/go;ics23\242\002\003CIX\252\002\017Cosmos.Ics23.V1\312\002\017Cosmos\\Ics23\\V1\342\002\033Cosmos\\Ics23\\V1\\GPBMetadata\352\002\021Cosmos::Ics23::V1' + _globals['_HASHOP']._serialized_start=2335 + _globals['_HASHOP']._serialized_end=2485 + _globals['_LENGTHOP']._serialized_start=2488 + _globals['_LENGTHOP']._serialized_end=2659 + _globals['_EXISTENCEPROOF']._serialized_start=50 + _globals['_EXISTENCEPROOF']._serialized_end=197 + _globals['_NONEXISTENCEPROOF']._serialized_start=200 + _globals['_NONEXISTENCEPROOF']._serialized_end=345 + _globals['_COMMITMENTPROOF']._serialized_start=348 + _globals['_COMMITMENTPROOF']._serialized_end=623 + _globals['_LEAFOP']._serialized_start=626 + _globals['_LEAFOP']._serialized_end=874 + _globals['_INNEROP']._serialized_start=876 + _globals['_INNEROP']._serialized_end=978 + _globals['_PROOFSPEC']._serialized_start=981 + _globals['_PROOFSPEC']._serialized_end=1230 + _globals['_INNERSPEC']._serialized_start=1233 + _globals['_INNERSPEC']._serialized_end=1474 + _globals['_BATCHPROOF']._serialized_start=1476 + _globals['_BATCHPROOF']._serialized_end=1543 + _globals['_BATCHENTRY']._serialized_start=1546 + _globals['_BATCHENTRY']._serialized_end=1690 + _globals['_COMPRESSEDBATCHPROOF']._serialized_start=1693 + _globals['_COMPRESSEDBATCHPROOF']._serialized_end=1843 + _globals['_COMPRESSEDBATCHENTRY']._serialized_start=1846 + _globals['_COMPRESSEDBATCHENTRY']._serialized_end=2020 + _globals['_COMPRESSEDEXISTENCEPROOF']._serialized_start=2023 + _globals['_COMPRESSEDEXISTENCEPROOF']._serialized_end=2154 + _globals['_COMPRESSEDNONEXISTENCEPROOF']._serialized_start=2157 + _globals['_COMPRESSEDNONEXISTENCEPROOF']._serialized_end=2332 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/ics23/v1/proofs_pb2_grpc.py b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/ics23/v1/proofs_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/cosmos/mint/module/v1/module_pb2.py b/pyinjective/proto/cosmos/mint/module/v1/module_pb2.py new file mode 100644 index 00000000..0931d8c3 --- /dev/null +++ b/pyinjective/proto/cosmos/mint/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/mint/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/mint/module/v1/module.proto\x12\x15\x63osmos.mint.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x81\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/mintB\x9f\x01\n\x19\x63om.cosmos.mint.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43MM\xaa\x02\x15\x43osmos.Mint.Module.V1\xca\x02\x15\x43osmos\\Mint\\Module\\V1\xe2\x02!Cosmos\\Mint\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Mint::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.mint.module.v1B\013ModuleProtoP\001\242\002\003CMM\252\002\025Cosmos.Mint.Module.V1\312\002\025Cosmos\\Mint\\Module\\V1\342\002!Cosmos\\Mint\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Mint::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/mint' + _globals['_MODULE']._serialized_start=96 + _globals['_MODULE']._serialized_end=225 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/mint/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/mint/module/v1/module_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/cosmos/mint/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..09f9289d --- /dev/null +++ b/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/mint/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.mint.v1beta1 import mint_pb2 as cosmos_dot_mint_dot_v1beta1_dot_mint__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/mint/v1beta1/genesis.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x11\x61mino/amino.proto\"\x8e\x01\n\x0cGenesisState\x12>\n\x06minter\x18\x01 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.MinterB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06minter\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06paramsB\xc0\x01\n\x17\x63om.cosmos.mint.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.mint.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['minter']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['minter']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE']._serialized_start=132 + _globals['_GENESISSTATE']._serialized_end=274 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/mint/v1beta1/genesis_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/cosmos/mint/v1beta1/mint_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2.py new file mode 100644 index 00000000..0c564108 --- /dev/null +++ b/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/mint/v1beta1/mint.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/mint/v1beta1/mint.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xb9\x01\n\x06Minter\x12O\n\tinflation\x18\x01 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\tinflation\x12^\n\x11\x61nnual_provisions\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x10\x61nnualProvisions\"\xed\x03\n\x06Params\x12\x1d\n\nmint_denom\x18\x01 \x01(\tR\tmintDenom\x12j\n\x15inflation_rate_change\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x13inflationRateChange\x12[\n\rinflation_max\x18\x03 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0cinflationMax\x12[\n\rinflation_min\x18\x04 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0cinflationMin\x12W\n\x0bgoal_bonded\x18\x05 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\ngoalBonded\x12&\n\x0f\x62locks_per_year\x18\x06 \x01(\x04R\rblocksPerYear:\x1d\x8a\xe7\xb0*\x18\x63osmos-sdk/x/mint/ParamsB\xbd\x01\n\x17\x63om.cosmos.mint.v1beta1B\tMintProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.mint_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.mint.v1beta1B\tMintProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1' + _globals['_MINTER'].fields_by_name['inflation']._loaded_options = None + _globals['_MINTER'].fields_by_name['inflation']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_MINTER'].fields_by_name['annual_provisions']._loaded_options = None + _globals['_MINTER'].fields_by_name['annual_provisions']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_PARAMS'].fields_by_name['inflation_rate_change']._loaded_options = None + _globals['_PARAMS'].fields_by_name['inflation_rate_change']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['inflation_max']._loaded_options = None + _globals['_PARAMS'].fields_by_name['inflation_max']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['inflation_min']._loaded_options = None + _globals['_PARAMS'].fields_by_name['inflation_min']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['goal_bonded']._loaded_options = None + _globals['_PARAMS'].fields_by_name['goal_bonded']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\212\347\260*\030cosmos-sdk/x/mint/Params' + _globals['_MINTER']._serialized_start=124 + _globals['_MINTER']._serialized_end=309 + _globals['_PARAMS']._serialized_start=312 + _globals['_PARAMS']._serialized_end=805 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2_grpc.py b/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/mint/v1beta1/mint_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/cosmos/mint/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/query_pb2.py new file mode 100644 index 00000000..973b10f1 --- /dev/null +++ b/pyinjective/proto/cosmos/mint/v1beta1/query_pb2.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/mint/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.mint.v1beta1 import mint_pb2 as cosmos_dot_mint_dot_v1beta1_dot_mint__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/mint/v1beta1/query.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x14\n\x12QueryParamsRequest\"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"\x17\n\x15QueryInflationRequest\"n\n\x16QueryInflationResponse\x12T\n\tinflation\x18\x01 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\tinflation\"\x1e\n\x1cQueryAnnualProvisionsRequest\"\x84\x01\n\x1dQueryAnnualProvisionsResponse\x12\x63\n\x11\x61nnual_provisions\x18\x01 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x10\x61nnualProvisions2\xc5\x03\n\x05Query\x12\x80\x01\n\x06Params\x12\'.cosmos.mint.v1beta1.QueryParamsRequest\x1a(.cosmos.mint.v1beta1.QueryParamsResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/mint/v1beta1/params\x12\x8c\x01\n\tInflation\x12*.cosmos.mint.v1beta1.QueryInflationRequest\x1a+.cosmos.mint.v1beta1.QueryInflationResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmos/mint/v1beta1/inflation\x12\xa9\x01\n\x10\x41nnualProvisions\x12\x31.cosmos.mint.v1beta1.QueryAnnualProvisionsRequest\x1a\x32.cosmos.mint.v1beta1.QueryAnnualProvisionsResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/mint/v1beta1/annual_provisionsB\xbe\x01\n\x17\x63om.cosmos.mint.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.mint.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYINFLATIONRESPONSE'].fields_by_name['inflation']._loaded_options = None + _globals['_QUERYINFLATIONRESPONSE'].fields_by_name['inflation']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_QUERYANNUALPROVISIONSRESPONSE'].fields_by_name['annual_provisions']._loaded_options = None + _globals['_QUERYANNUALPROVISIONSRESPONSE'].fields_by_name['annual_provisions']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/mint/v1beta1/params' + _globals['_QUERY'].methods_by_name['Inflation']._loaded_options = None + _globals['_QUERY'].methods_by_name['Inflation']._serialized_options = b'\202\323\344\223\002 \022\036/cosmos/mint/v1beta1/inflation' + _globals['_QUERY'].methods_by_name['AnnualProvisions']._loaded_options = None + _globals['_QUERY'].methods_by_name['AnnualProvisions']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/mint/v1beta1/annual_provisions' + _globals['_QUERYPARAMSREQUEST']._serialized_start=186 + _globals['_QUERYPARAMSREQUEST']._serialized_end=206 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=208 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=293 + _globals['_QUERYINFLATIONREQUEST']._serialized_start=295 + _globals['_QUERYINFLATIONREQUEST']._serialized_end=318 + _globals['_QUERYINFLATIONRESPONSE']._serialized_start=320 + _globals['_QUERYINFLATIONRESPONSE']._serialized_end=430 + _globals['_QUERYANNUALPROVISIONSREQUEST']._serialized_start=432 + _globals['_QUERYANNUALPROVISIONSREQUEST']._serialized_end=462 + _globals['_QUERYANNUALPROVISIONSRESPONSE']._serialized_start=465 + _globals['_QUERYANNUALPROVISIONSRESPONSE']._serialized_end=597 + _globals['_QUERY']._serialized_start=600 + _globals['_QUERY']._serialized_end=1053 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/mint/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..c9ec00cb --- /dev/null +++ b/pyinjective/proto/cosmos/mint/v1beta1/query_pb2_grpc.py @@ -0,0 +1,169 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.mint.v1beta1 import query_pb2 as cosmos_dot_mint_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query provides defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Params = channel.unary_unary( + '/cosmos.mint.v1beta1.Query/Params', + request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + self.Inflation = channel.unary_unary( + '/cosmos.mint.v1beta1.Query/Inflation', + request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationRequest.SerializeToString, + response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationResponse.FromString, + _registered_method=True) + self.AnnualProvisions = channel.unary_unary( + '/cosmos.mint.v1beta1.Query/AnnualProvisions', + request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsRequest.SerializeToString, + response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query provides defines the gRPC querier service. + """ + + def Params(self, request, context): + """Params returns the total set of minting parameters. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Inflation(self, request, context): + """Inflation returns the current minting inflation value. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AnnualProvisions(self, request, context): + """AnnualProvisions current minting annual provisions value. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'Inflation': grpc.unary_unary_rpc_method_handler( + servicer.Inflation, + request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationRequest.FromString, + response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationResponse.SerializeToString, + ), + 'AnnualProvisions': grpc.unary_unary_rpc_method_handler( + servicer.AnnualProvisions, + request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsRequest.FromString, + response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.mint.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.mint.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query provides defines the gRPC querier service. + """ + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.mint.v1beta1.Query/Params', + cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Inflation(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.mint.v1beta1.Query/Inflation', + cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationRequest.SerializeToString, + cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AnnualProvisions(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.mint.v1beta1.Query/AnnualProvisions', + cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsRequest.SerializeToString, + cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py new file mode 100644 index 00000000..63e46787 --- /dev/null +++ b/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/mint/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.cosmos.mint.v1beta1 import mint_pb2 as cosmos_dot_mint_dot_v1beta1_dot_mint__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/mint/v1beta1/tx.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/mint/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.mint.v1beta1.MsgUpdateParams\x1a,.cosmos.mint.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.mint.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.mint.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/mint/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGUPDATEPARAMS']._serialized_start=179 + _globals['_MSGUPDATEPARAMS']._serialized_end=370 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=372 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=397 + _globals['_MSG']._serialized_start=399 + _globals['_MSG']._serialized_end=511 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..0d6e1328 --- /dev/null +++ b/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,84 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.mint.v1beta1 import tx_pb2 as cosmos_dot_mint_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the x/mint Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.UpdateParams = channel.unary_unary( + '/cosmos.mint.v1beta1.Msg/UpdateParams', + request_serializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the x/mint Msg service. + """ + + def UpdateParams(self, request, context): + """UpdateParams defines a governance operation for updating the x/mint module + parameters. The authority is defaults to the x/gov module account. + + Since: cosmos-sdk 0.47 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.mint.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.mint.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the x/mint Msg service. + """ + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.mint.v1beta1.Msg/UpdateParams', + cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2.py b/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2.py new file mode 100644 index 00000000..e85806b8 --- /dev/null +++ b/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/msg/textual/v1/textual.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/msg/textual/v1/textual.proto\x12\x15\x63osmos.msg.textual.v1\x1a google/protobuf/descriptor.proto:X\n\x16\x65xpert_custom_renderer\x12\x1f.google.protobuf.MessageOptions\x18\xf9\x8c\xa6\x05 \x01(\tR\x14\x65xpertCustomRendererB\xa0\x01\n\x19\x63om.cosmos.msg.textual.v1B\x0cTextualProtoP\x01\xa2\x02\x03\x43MT\xaa\x02\x15\x43osmos.Msg.Textual.V1\xca\x02\x15\x43osmos\\Msg\\Textual\\V1\xe2\x02!Cosmos\\Msg\\Textual\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Msg::Textual::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.msg.textual.v1.textual_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.msg.textual.v1B\014TextualProtoP\001\242\002\003CMT\252\002\025Cosmos.Msg.Textual.V1\312\002\025Cosmos\\Msg\\Textual\\V1\342\002!Cosmos\\Msg\\Textual\\V1\\GPBMetadata\352\002\030Cosmos::Msg::Textual::V1' +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2_grpc.py b/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/msg/textual/v1/textual_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/cosmos/msg/v1/msg_pb2.py b/pyinjective/proto/cosmos/msg/v1/msg_pb2.py new file mode 100644 index 00000000..0964b24b --- /dev/null +++ b/pyinjective/proto/cosmos/msg/v1/msg_pb2.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/msg/v1/msg.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63osmos/msg/v1/msg.proto\x12\rcosmos.msg.v1\x1a google/protobuf/descriptor.proto:<\n\x07service\x12\x1f.google.protobuf.ServiceOptions\x18\xf0\x8c\xa6\x05 \x01(\x08R\x07service::\n\x06signer\x12\x1f.google.protobuf.MessageOptions\x18\xf0\x8c\xa6\x05 \x03(\tR\x06signerB\xa2\x01\n\x11\x63om.cosmos.msg.v1B\x08MsgProtoP\x01Z-github.com/cosmos/cosmos-sdk/types/msgservice\xa2\x02\x03\x43MX\xaa\x02\rCosmos.Msg.V1\xca\x02\rCosmos\\Msg\\V1\xe2\x02\x19\x43osmos\\Msg\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Msg::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.msg.v1.msg_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.msg.v1B\010MsgProtoP\001Z-github.com/cosmos/cosmos-sdk/types/msgservice\242\002\003CMX\252\002\rCosmos.Msg.V1\312\002\rCosmos\\Msg\\V1\342\002\031Cosmos\\Msg\\V1\\GPBMetadata\352\002\017Cosmos::Msg::V1' +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/msg/v1/msg_pb2_grpc.py b/pyinjective/proto/cosmos/msg/v1/msg_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/msg/v1/msg_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/cosmos/nft/module/v1/module_pb2.py b/pyinjective/proto/cosmos/nft/module/v1/module_pb2.py new file mode 100644 index 00000000..79a1d5ec --- /dev/null +++ b/pyinjective/proto/cosmos/nft/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/nft/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/nft/module/v1/module.proto\x12\x14\x63osmos.nft.module.v1\x1a cosmos/app/v1alpha1/module.proto\"$\n\x06Module:\x1a\xba\xc0\x96\xda\x01\x14\n\x12\x63osmossdk.io/x/nftB\x9a\x01\n\x18\x63om.cosmos.nft.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43NM\xaa\x02\x14\x43osmos.Nft.Module.V1\xca\x02\x14\x43osmos\\Nft\\Module\\V1\xe2\x02 Cosmos\\Nft\\Module\\V1\\GPBMetadata\xea\x02\x17\x43osmos::Nft::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.nft.module.v1B\013ModuleProtoP\001\242\002\003CNM\252\002\024Cosmos.Nft.Module.V1\312\002\024Cosmos\\Nft\\Module\\V1\342\002 Cosmos\\Nft\\Module\\V1\\GPBMetadata\352\002\027Cosmos::Nft::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\024\n\022cosmossdk.io/x/nft' + _globals['_MODULE']._serialized_start=93 + _globals['_MODULE']._serialized_end=129 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/nft/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/nft/module/v1/module_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/cosmos/nft/v1beta1/event_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/event_pb2.py new file mode 100644 index 00000000..b714d392 --- /dev/null +++ b/pyinjective/proto/cosmos/nft/v1beta1/event_pb2.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/nft/v1beta1/event.proto +# Protobuf Python Version: 5.26.1 +"""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\x1e\x63osmos/nft/v1beta1/event.proto\x12\x12\x63osmos.nft.v1beta1\"j\n\tEventSend\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x04 \x01(\tR\x08receiver\"L\n\tEventMint\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05owner\"L\n\tEventBurn\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05ownerB\xa2\x01\n\x16\x63om.cosmos.nft.v1beta1B\nEventProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.event_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\nEventProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' + _globals['_EVENTSEND']._serialized_start=54 + _globals['_EVENTSEND']._serialized_end=160 + _globals['_EVENTMINT']._serialized_start=162 + _globals['_EVENTMINT']._serialized_end=238 + _globals['_EVENTBURN']._serialized_start=240 + _globals['_EVENTBURN']._serialized_end=316 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/event_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/event_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/nft/v1beta1/event_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/cosmos/nft/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..437eefb6 --- /dev/null +++ b/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/nft/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.nft.v1beta1 import nft_pb2 as cosmos_dot_nft_dot_v1beta1_dot_nft__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/nft/v1beta1/genesis.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x1c\x63osmos/nft/v1beta1/nft.proto\"x\n\x0cGenesisState\x12\x33\n\x07\x63lasses\x18\x01 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x07\x63lasses\x12\x33\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.EntryR\x07\x65ntries\"J\n\x05\x45ntry\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12+\n\x04nfts\x18\x02 \x03(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x04nftsB\xa4\x01\n\x16\x63om.cosmos.nft.v1beta1B\x0cGenesisProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\014GenesisProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' + _globals['_GENESISSTATE']._serialized_start=86 + _globals['_GENESISSTATE']._serialized_end=206 + _globals['_ENTRY']._serialized_start=208 + _globals['_ENTRY']._serialized_end=282 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/nft/v1beta1/genesis_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/cosmos/nft/v1beta1/nft_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2.py new file mode 100644 index 00000000..6eab1d6b --- /dev/null +++ b/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/nft/v1beta1/nft.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/nft/v1beta1/nft.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x19google/protobuf/any.proto\"\xbc\x01\n\x05\x43lass\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x03 \x01(\tR\x06symbol\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x10\n\x03uri\x18\x05 \x01(\tR\x03uri\x12\x19\n\x08uri_hash\x18\x06 \x01(\tR\x07uriHash\x12(\n\x04\x64\x61ta\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyR\x04\x64\x61ta\"\x87\x01\n\x03NFT\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x10\n\x03uri\x18\x03 \x01(\tR\x03uri\x12\x19\n\x08uri_hash\x18\x04 \x01(\tR\x07uriHash\x12(\n\x04\x64\x61ta\x18\n \x01(\x0b\x32\x14.google.protobuf.AnyR\x04\x64\x61taB\xa0\x01\n\x16\x63om.cosmos.nft.v1beta1B\x08NftProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.nft_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\010NftProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' + _globals['_CLASS']._serialized_start=80 + _globals['_CLASS']._serialized_end=268 + _globals['_NFT']._serialized_start=271 + _globals['_NFT']._serialized_end=406 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/nft/v1beta1/nft_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/cosmos/nft/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/query_pb2.py new file mode 100644 index 00000000..d9559994 --- /dev/null +++ b/pyinjective/proto/cosmos/nft/v1beta1/query_pb2.py @@ -0,0 +1,72 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/nft/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.nft.v1beta1 import nft_pb2 as cosmos_dot_nft_dot_v1beta1_dot_nft__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/nft/v1beta1/query.proto\x12\x12\x63osmos.nft.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1c\x63osmos/nft/v1beta1/nft.proto\"F\n\x13QueryBalanceRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner\".\n\x14QueryBalanceResponse\x12\x16\n\x06\x61mount\x18\x01 \x01(\x04R\x06\x61mount\">\n\x11QueryOwnerRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\"*\n\x12QueryOwnerResponse\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\"/\n\x12QuerySupplyRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\"-\n\x13QuerySupplyResponse\x12\x16\n\x06\x61mount\x18\x01 \x01(\x04R\x06\x61mount\"\x8b\x01\n\x10QueryNFTsRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x89\x01\n\x11QueryNFTsResponse\x12+\n\x04nfts\x18\x01 \x03(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x04nfts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"<\n\x0fQueryNFTRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\"=\n\x10QueryNFTResponse\x12)\n\x03nft\x18\x01 \x01(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x03nft\".\n\x11QueryClassRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\"E\n\x12QueryClassResponse\x12/\n\x05\x63lass\x18\x01 \x01(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x05\x63lass\"]\n\x13QueryClassesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x94\x01\n\x14QueryClassesResponse\x12\x33\n\x07\x63lasses\x18\x01 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x07\x63lasses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xbe\x07\n\x05Query\x12\x94\x01\n\x07\x42\x61lance\x12\'.cosmos.nft.v1beta1.QueryBalanceRequest\x1a(.cosmos.nft.v1beta1.QueryBalanceResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/nft/v1beta1/balance/{owner}/{class_id}\x12\x89\x01\n\x05Owner\x12%.cosmos.nft.v1beta1.QueryOwnerRequest\x1a&.cosmos.nft.v1beta1.QueryOwnerResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/nft/v1beta1/owner/{class_id}/{id}\x12\x88\x01\n\x06Supply\x12&.cosmos.nft.v1beta1.QuerySupplyRequest\x1a\'.cosmos.nft.v1beta1.QuerySupplyResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/cosmos/nft/v1beta1/supply/{class_id}\x12u\n\x04NFTs\x12$.cosmos.nft.v1beta1.QueryNFTsRequest\x1a%.cosmos.nft.v1beta1.QueryNFTsResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cosmos/nft/v1beta1/nfts\x12\x82\x01\n\x03NFT\x12#.cosmos.nft.v1beta1.QueryNFTRequest\x1a$.cosmos.nft.v1beta1.QueryNFTResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/nft/v1beta1/nfts/{class_id}/{id}\x12\x86\x01\n\x05\x43lass\x12%.cosmos.nft.v1beta1.QueryClassRequest\x1a&.cosmos.nft.v1beta1.QueryClassResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/nft/v1beta1/classes/{class_id}\x12\x81\x01\n\x07\x43lasses\x12\'.cosmos.nft.v1beta1.QueryClassesRequest\x1a(.cosmos.nft.v1beta1.QueryClassesResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/nft/v1beta1/classesB\xa2\x01\n\x16\x63om.cosmos.nft.v1beta1B\nQueryProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\nQueryProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' + _globals['_QUERY'].methods_by_name['Balance']._loaded_options = None + _globals['_QUERY'].methods_by_name['Balance']._serialized_options = b'\202\323\344\223\0020\022./cosmos/nft/v1beta1/balance/{owner}/{class_id}' + _globals['_QUERY'].methods_by_name['Owner']._loaded_options = None + _globals['_QUERY'].methods_by_name['Owner']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/nft/v1beta1/owner/{class_id}/{id}' + _globals['_QUERY'].methods_by_name['Supply']._loaded_options = None + _globals['_QUERY'].methods_by_name['Supply']._serialized_options = b'\202\323\344\223\002\'\022%/cosmos/nft/v1beta1/supply/{class_id}' + _globals['_QUERY'].methods_by_name['NFTs']._loaded_options = None + _globals['_QUERY'].methods_by_name['NFTs']._serialized_options = b'\202\323\344\223\002\032\022\030/cosmos/nft/v1beta1/nfts' + _globals['_QUERY'].methods_by_name['NFT']._loaded_options = None + _globals['_QUERY'].methods_by_name['NFT']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/nft/v1beta1/nfts/{class_id}/{id}' + _globals['_QUERY'].methods_by_name['Class']._loaded_options = None + _globals['_QUERY'].methods_by_name['Class']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/nft/v1beta1/classes/{class_id}' + _globals['_QUERY'].methods_by_name['Classes']._loaded_options = None + _globals['_QUERY'].methods_by_name['Classes']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/nft/v1beta1/classes' + _globals['_QUERYBALANCEREQUEST']._serialized_start=158 + _globals['_QUERYBALANCEREQUEST']._serialized_end=228 + _globals['_QUERYBALANCERESPONSE']._serialized_start=230 + _globals['_QUERYBALANCERESPONSE']._serialized_end=276 + _globals['_QUERYOWNERREQUEST']._serialized_start=278 + _globals['_QUERYOWNERREQUEST']._serialized_end=340 + _globals['_QUERYOWNERRESPONSE']._serialized_start=342 + _globals['_QUERYOWNERRESPONSE']._serialized_end=384 + _globals['_QUERYSUPPLYREQUEST']._serialized_start=386 + _globals['_QUERYSUPPLYREQUEST']._serialized_end=433 + _globals['_QUERYSUPPLYRESPONSE']._serialized_start=435 + _globals['_QUERYSUPPLYRESPONSE']._serialized_end=480 + _globals['_QUERYNFTSREQUEST']._serialized_start=483 + _globals['_QUERYNFTSREQUEST']._serialized_end=622 + _globals['_QUERYNFTSRESPONSE']._serialized_start=625 + _globals['_QUERYNFTSRESPONSE']._serialized_end=762 + _globals['_QUERYNFTREQUEST']._serialized_start=764 + _globals['_QUERYNFTREQUEST']._serialized_end=824 + _globals['_QUERYNFTRESPONSE']._serialized_start=826 + _globals['_QUERYNFTRESPONSE']._serialized_end=887 + _globals['_QUERYCLASSREQUEST']._serialized_start=889 + _globals['_QUERYCLASSREQUEST']._serialized_end=935 + _globals['_QUERYCLASSRESPONSE']._serialized_start=937 + _globals['_QUERYCLASSRESPONSE']._serialized_end=1006 + _globals['_QUERYCLASSESREQUEST']._serialized_start=1008 + _globals['_QUERYCLASSESREQUEST']._serialized_end=1101 + _globals['_QUERYCLASSESRESPONSE']._serialized_start=1104 + _globals['_QUERYCLASSESRESPONSE']._serialized_end=1252 + _globals['_QUERY']._serialized_start=1255 + _globals['_QUERY']._serialized_end=2213 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..ab1f20be --- /dev/null +++ b/pyinjective/proto/cosmos/nft/v1beta1/query_pb2_grpc.py @@ -0,0 +1,346 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.nft.v1beta1 import query_pb2 as cosmos_dot_nft_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Balance = channel.unary_unary( + '/cosmos.nft.v1beta1.Query/Balance', + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, + _registered_method=True) + self.Owner = channel.unary_unary( + '/cosmos.nft.v1beta1.Query/Owner', + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerResponse.FromString, + _registered_method=True) + self.Supply = channel.unary_unary( + '/cosmos.nft.v1beta1.Query/Supply', + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyResponse.FromString, + _registered_method=True) + self.NFTs = channel.unary_unary( + '/cosmos.nft.v1beta1.Query/NFTs', + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsResponse.FromString, + _registered_method=True) + self.NFT = channel.unary_unary( + '/cosmos.nft.v1beta1.Query/NFT', + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTResponse.FromString, + _registered_method=True) + self.Class = channel.unary_unary( + '/cosmos.nft.v1beta1.Query/Class', + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassResponse.FromString, + _registered_method=True) + self.Classes = channel.unary_unary( + '/cosmos.nft.v1beta1.Query/Classes', + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def Balance(self, request, context): + """Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Owner(self, request, context): + """Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Supply(self, request, context): + """Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def NFTs(self, request, context): + """NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in + ERC721Enumerable + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def NFT(self, request, context): + """NFT queries an NFT based on its class and id. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Class(self, request, context): + """Class queries an NFT class based on its id + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Classes(self, request, context): + """Classes queries all NFT classes + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Balance': grpc.unary_unary_rpc_method_handler( + servicer.Balance, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.SerializeToString, + ), + 'Owner': grpc.unary_unary_rpc_method_handler( + servicer.Owner, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerResponse.SerializeToString, + ), + 'Supply': grpc.unary_unary_rpc_method_handler( + servicer.Supply, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyResponse.SerializeToString, + ), + 'NFTs': grpc.unary_unary_rpc_method_handler( + servicer.NFTs, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsResponse.SerializeToString, + ), + 'NFT': grpc.unary_unary_rpc_method_handler( + servicer.NFT, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTResponse.SerializeToString, + ), + 'Class': grpc.unary_unary_rpc_method_handler( + servicer.Class, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassResponse.SerializeToString, + ), + 'Classes': grpc.unary_unary_rpc_method_handler( + servicer.Classes, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.nft.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.nft.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def Balance(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.nft.v1beta1.Query/Balance', + cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, + cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Owner(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.nft.v1beta1.Query/Owner', + cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerRequest.SerializeToString, + cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Supply(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.nft.v1beta1.Query/Supply', + cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyRequest.SerializeToString, + cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def NFTs(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.nft.v1beta1.Query/NFTs', + cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsRequest.SerializeToString, + cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def NFT(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.nft.v1beta1.Query/NFT', + cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTRequest.SerializeToString, + cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Class(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.nft.v1beta1.Query/Class', + cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassRequest.SerializeToString, + cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Classes(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.nft.v1beta1.Query/Classes', + cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesRequest.SerializeToString, + cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py new file mode 100644 index 00000000..d1cfee9b --- /dev/null +++ b/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/nft/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/nft/v1beta1/tx.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\xa9\x01\n\x07MsgSend\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x30\n\x06sender\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08receiver\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08receiver:\x0b\x82\xe7\xb0*\x06sender\"\x11\n\x0fMsgSendResponse2V\n\x03Msg\x12H\n\x04Send\x12\x1b.cosmos.nft.v1beta1.MsgSend\x1a#.cosmos.nft.v1beta1.MsgSendResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9f\x01\n\x16\x63om.cosmos.nft.v1beta1B\x07TxProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\007TxProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' + _globals['_MSGSEND'].fields_by_name['sender']._loaded_options = None + _globals['_MSGSEND'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSEND'].fields_by_name['receiver']._loaded_options = None + _globals['_MSGSEND'].fields_by_name['receiver']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSEND']._loaded_options = None + _globals['_MSGSEND']._serialized_options = b'\202\347\260*\006sender' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGSEND']._serialized_start=104 + _globals['_MSGSEND']._serialized_end=273 + _globals['_MSGSENDRESPONSE']._serialized_start=275 + _globals['_MSGSENDRESPONSE']._serialized_end=292 + _globals['_MSG']._serialized_start=294 + _globals['_MSG']._serialized_end=380 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..c932a6d7 --- /dev/null +++ b/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,81 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.nft.v1beta1 import tx_pb2 as cosmos_dot_nft_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the nft Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Send = channel.unary_unary( + '/cosmos.nft.v1beta1.Msg/Send', + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the nft Msg service. + """ + + def Send(self, request, context): + """Send defines a method to send a nft from one account to another account. + """ + 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 = { + 'Send': grpc.unary_unary_rpc_method_handler( + servicer.Send, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSend.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSendResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.nft.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.nft.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the nft Msg service. + """ + + @staticmethod + def Send(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.nft.v1beta1.Msg/Send', + cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, + cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py new file mode 100644 index 00000000..54f1b29a --- /dev/null +++ b/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/orm/module/v1alpha1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/orm/module/v1alpha1/module.proto\x12\x1a\x63osmos.orm.module.v1alpha1\x1a cosmos/app/v1alpha1/module.proto\"\"\n\x06Module:\x18\xba\xc0\x96\xda\x01\x12\n\x10\x63osmossdk.io/ormB\xb8\x01\n\x1e\x63om.cosmos.orm.module.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43OM\xaa\x02\x1a\x43osmos.Orm.Module.V1alpha1\xca\x02\x1a\x43osmos\\Orm\\Module\\V1alpha1\xe2\x02&Cosmos\\Orm\\Module\\V1alpha1\\GPBMetadata\xea\x02\x1d\x43osmos::Orm::Module::V1alpha1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.module.v1alpha1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.cosmos.orm.module.v1alpha1B\013ModuleProtoP\001\242\002\003COM\252\002\032Cosmos.Orm.Module.V1alpha1\312\002\032Cosmos\\Orm\\Module\\V1alpha1\342\002&Cosmos\\Orm\\Module\\V1alpha1\\GPBMetadata\352\002\035Cosmos::Orm::Module::V1alpha1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\022\n\020cosmossdk.io/orm' + _globals['_MODULE']._serialized_start=105 + _globals['_MODULE']._serialized_end=139 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2_grpc.py b/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/orm/module/v1alpha1/module_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/cosmos/orm/query/v1alpha1/query_pb2.py b/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2.py new file mode 100644 index 00000000..7765a8a1 --- /dev/null +++ b/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/orm/query/v1alpha1/query.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/orm/query/v1alpha1/query.proto\x12\x19\x63osmos.orm.query.v1alpha1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19google/protobuf/any.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\"\x84\x01\n\nGetRequest\x12!\n\x0cmessage_name\x18\x01 \x01(\tR\x0bmessageName\x12\x14\n\x05index\x18\x02 \x01(\tR\x05index\x12=\n\x06values\x18\x03 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x06values\";\n\x0bGetResponse\x12,\n\x06result\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06result\"\xee\x03\n\x0bListRequest\x12!\n\x0cmessage_name\x18\x01 \x01(\tR\x0bmessageName\x12\x14\n\x05index\x18\x02 \x01(\tR\x05index\x12G\n\x06prefix\x18\x03 \x01(\x0b\x32-.cosmos.orm.query.v1alpha1.ListRequest.PrefixH\x00R\x06prefix\x12\x44\n\x05range\x18\x04 \x01(\x0b\x32,.cosmos.orm.query.v1alpha1.ListRequest.RangeH\x00R\x05range\x12\x46\n\npagination\x18\x05 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x1aG\n\x06Prefix\x12=\n\x06values\x18\x01 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x06values\x1a}\n\x05Range\x12;\n\x05start\x18\x01 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x05start\x12\x37\n\x03\x65nd\x18\x02 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x03\x65ndB\x07\n\x05query\"\x87\x01\n\x0cListResponse\x12.\n\x07results\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x07results\x12G\n\npagination\x18\x05 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x8c\x02\n\nIndexValue\x12\x14\n\x04uint\x18\x01 \x01(\x04H\x00R\x04uint\x12\x12\n\x03int\x18\x02 \x01(\x03H\x00R\x03int\x12\x12\n\x03str\x18\x03 \x01(\tH\x00R\x03str\x12\x16\n\x05\x62ytes\x18\x04 \x01(\x0cH\x00R\x05\x62ytes\x12\x14\n\x04\x65num\x18\x05 \x01(\tH\x00R\x04\x65num\x12\x14\n\x04\x62ool\x18\x06 \x01(\x08H\x00R\x04\x62ool\x12:\n\ttimestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\ttimestamp\x12\x37\n\x08\x64uration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00R\x08\x64urationB\x07\n\x05value2\xb6\x01\n\x05Query\x12T\n\x03Get\x12%.cosmos.orm.query.v1alpha1.GetRequest\x1a&.cosmos.orm.query.v1alpha1.GetResponse\x12W\n\x04List\x12&.cosmos.orm.query.v1alpha1.ListRequest\x1a\'.cosmos.orm.query.v1alpha1.ListResponseB\xb2\x01\n\x1d\x63om.cosmos.orm.query.v1alpha1B\nQueryProtoP\x01\xa2\x02\x03\x43OQ\xaa\x02\x19\x43osmos.Orm.Query.V1alpha1\xca\x02\x19\x43osmos\\Orm\\Query\\V1alpha1\xe2\x02%Cosmos\\Orm\\Query\\V1alpha1\\GPBMetadata\xea\x02\x1c\x43osmos::Orm::Query::V1alpha1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.query.v1alpha1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.orm.query.v1alpha1B\nQueryProtoP\001\242\002\003COQ\252\002\031Cosmos.Orm.Query.V1alpha1\312\002\031Cosmos\\Orm\\Query\\V1alpha1\342\002%Cosmos\\Orm\\Query\\V1alpha1\\GPBMetadata\352\002\034Cosmos::Orm::Query::V1alpha1' + _globals['_GETREQUEST']._serialized_start=205 + _globals['_GETREQUEST']._serialized_end=337 + _globals['_GETRESPONSE']._serialized_start=339 + _globals['_GETRESPONSE']._serialized_end=398 + _globals['_LISTREQUEST']._serialized_start=401 + _globals['_LISTREQUEST']._serialized_end=895 + _globals['_LISTREQUEST_PREFIX']._serialized_start=688 + _globals['_LISTREQUEST_PREFIX']._serialized_end=759 + _globals['_LISTREQUEST_RANGE']._serialized_start=761 + _globals['_LISTREQUEST_RANGE']._serialized_end=886 + _globals['_LISTRESPONSE']._serialized_start=898 + _globals['_LISTRESPONSE']._serialized_end=1033 + _globals['_INDEXVALUE']._serialized_start=1036 + _globals['_INDEXVALUE']._serialized_end=1304 + _globals['_QUERY']._serialized_start=1307 + _globals['_QUERY']._serialized_end=1489 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2_grpc.py b/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2_grpc.py new file mode 100644 index 00000000..fdcaaba1 --- /dev/null +++ b/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2_grpc.py @@ -0,0 +1,125 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.orm.query.v1alpha1 import query_pb2 as cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2 + + +class QueryStub(object): + """Query is a generic gRPC service for querying ORM data. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Get = channel.unary_unary( + '/cosmos.orm.query.v1alpha1.Query/Get', + request_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetRequest.SerializeToString, + response_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetResponse.FromString, + _registered_method=True) + self.List = channel.unary_unary( + '/cosmos.orm.query.v1alpha1.Query/List', + request_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListRequest.SerializeToString, + response_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query is a generic gRPC service for querying ORM data. + """ + + def Get(self, request, context): + """Get queries an ORM table against an unique index. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def List(self, request, context): + """List queries an ORM table against an index. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Get': grpc.unary_unary_rpc_method_handler( + servicer.Get, + request_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetRequest.FromString, + response_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetResponse.SerializeToString, + ), + 'List': grpc.unary_unary_rpc_method_handler( + servicer.List, + request_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListRequest.FromString, + response_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.orm.query.v1alpha1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.orm.query.v1alpha1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query is a generic gRPC service for querying ORM data. + """ + + @staticmethod + def Get(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.orm.query.v1alpha1.Query/Get', + cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetRequest.SerializeToString, + cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def List(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.orm.query.v1alpha1.Query/List', + cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListRequest.SerializeToString, + cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/orm/v1/orm_pb2.py b/pyinjective/proto/cosmos/orm/v1/orm_pb2.py new file mode 100644 index 00000000..cae563a1 --- /dev/null +++ b/pyinjective/proto/cosmos/orm/v1/orm_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/orm/v1/orm.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63osmos/orm/v1/orm.proto\x12\rcosmos.orm.v1\x1a google/protobuf/descriptor.proto\"\xa6\x01\n\x0fTableDescriptor\x12\x44\n\x0bprimary_key\x18\x01 \x01(\x0b\x32#.cosmos.orm.v1.PrimaryKeyDescriptorR\nprimaryKey\x12=\n\x05index\x18\x02 \x03(\x0b\x32\'.cosmos.orm.v1.SecondaryIndexDescriptorR\x05index\x12\x0e\n\x02id\x18\x03 \x01(\rR\x02id\"U\n\x14PrimaryKeyDescriptor\x12\x16\n\x06\x66ields\x18\x01 \x01(\tR\x06\x66ields\x12%\n\x0e\x61uto_increment\x18\x02 \x01(\x08R\rautoIncrement\"Z\n\x18SecondaryIndexDescriptor\x12\x16\n\x06\x66ields\x18\x01 \x01(\tR\x06\x66ields\x12\x0e\n\x02id\x18\x02 \x01(\rR\x02id\x12\x16\n\x06unique\x18\x03 \x01(\x08R\x06unique\"%\n\x13SingletonDescriptor\x12\x0e\n\x02id\x18\x01 \x01(\rR\x02id:X\n\x05table\x12\x1f.google.protobuf.MessageOptions\x18\xee\xb3\xea\x31 \x01(\x0b\x32\x1e.cosmos.orm.v1.TableDescriptorR\x05table:d\n\tsingleton\x12\x1f.google.protobuf.MessageOptions\x18\xef\xb3\xea\x31 \x01(\x0b\x32\".cosmos.orm.v1.SingletonDescriptorR\tsingletonBs\n\x11\x63om.cosmos.orm.v1B\x08OrmProtoP\x01\xa2\x02\x03\x43OX\xaa\x02\rCosmos.Orm.V1\xca\x02\rCosmos\\Orm\\V1\xe2\x02\x19\x43osmos\\Orm\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Orm::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.v1.orm_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.orm.v1B\010OrmProtoP\001\242\002\003COX\252\002\rCosmos.Orm.V1\312\002\rCosmos\\Orm\\V1\342\002\031Cosmos\\Orm\\V1\\GPBMetadata\352\002\017Cosmos::Orm::V1' + _globals['_TABLEDESCRIPTOR']._serialized_start=77 + _globals['_TABLEDESCRIPTOR']._serialized_end=243 + _globals['_PRIMARYKEYDESCRIPTOR']._serialized_start=245 + _globals['_PRIMARYKEYDESCRIPTOR']._serialized_end=330 + _globals['_SECONDARYINDEXDESCRIPTOR']._serialized_start=332 + _globals['_SECONDARYINDEXDESCRIPTOR']._serialized_end=422 + _globals['_SINGLETONDESCRIPTOR']._serialized_start=424 + _globals['_SINGLETONDESCRIPTOR']._serialized_end=461 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/v1/orm_pb2_grpc.py b/pyinjective/proto/cosmos/orm/v1/orm_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/orm/v1/orm_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/cosmos/orm/v1alpha1/schema_pb2.py b/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2.py new file mode 100644 index 00000000..4f6e6666 --- /dev/null +++ b/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/orm/v1alpha1/schema.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/orm/v1alpha1/schema.proto\x12\x13\x63osmos.orm.v1alpha1\x1a google/protobuf/descriptor.proto\"\x93\x02\n\x16ModuleSchemaDescriptor\x12V\n\x0bschema_file\x18\x01 \x03(\x0b\x32\x35.cosmos.orm.v1alpha1.ModuleSchemaDescriptor.FileEntryR\nschemaFile\x12\x16\n\x06prefix\x18\x02 \x01(\x0cR\x06prefix\x1a\x88\x01\n\tFileEntry\x12\x0e\n\x02id\x18\x01 \x01(\rR\x02id\x12&\n\x0fproto_file_name\x18\x02 \x01(\tR\rprotoFileName\x12\x43\n\x0cstorage_type\x18\x03 \x01(\x0e\x32 .cosmos.orm.v1alpha1.StorageTypeR\x0bstorageType*h\n\x0bStorageType\x12$\n STORAGE_TYPE_DEFAULT_UNSPECIFIED\x10\x00\x12\x17\n\x13STORAGE_TYPE_MEMORY\x10\x01\x12\x1a\n\x16STORAGE_TYPE_TRANSIENT\x10\x02:t\n\rmodule_schema\x12\x1f.google.protobuf.MessageOptions\x18\xf0\xb3\xea\x31 \x01(\x0b\x32+.cosmos.orm.v1alpha1.ModuleSchemaDescriptorR\x0cmoduleSchemaB\x94\x01\n\x17\x63om.cosmos.orm.v1alpha1B\x0bSchemaProtoP\x01\xa2\x02\x03\x43OX\xaa\x02\x13\x43osmos.Orm.V1alpha1\xca\x02\x13\x43osmos\\Orm\\V1alpha1\xe2\x02\x1f\x43osmos\\Orm\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::Orm::V1alpha1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.v1alpha1.schema_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.orm.v1alpha1B\013SchemaProtoP\001\242\002\003COX\252\002\023Cosmos.Orm.V1alpha1\312\002\023Cosmos\\Orm\\V1alpha1\342\002\037Cosmos\\Orm\\V1alpha1\\GPBMetadata\352\002\025Cosmos::Orm::V1alpha1' + _globals['_STORAGETYPE']._serialized_start=369 + _globals['_STORAGETYPE']._serialized_end=473 + _globals['_MODULESCHEMADESCRIPTOR']._serialized_start=92 + _globals['_MODULESCHEMADESCRIPTOR']._serialized_end=367 + _globals['_MODULESCHEMADESCRIPTOR_FILEENTRY']._serialized_start=231 + _globals['_MODULESCHEMADESCRIPTOR_FILEENTRY']._serialized_end=367 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py b/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/cosmos/params/module/v1/module_pb2.py b/pyinjective/proto/cosmos/params/module/v1/module_pb2.py new file mode 100644 index 00000000..19e51257 --- /dev/null +++ b/pyinjective/proto/cosmos/params/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/params/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/params/module/v1/module.proto\x12\x17\x63osmos.params.module.v1\x1a cosmos/app/v1alpha1/module.proto\"7\n\x06Module:-\xba\xc0\x96\xda\x01\'\n%github.com/cosmos/cosmos-sdk/x/paramsB\xa9\x01\n\x1b\x63om.cosmos.params.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43PM\xaa\x02\x17\x43osmos.Params.Module.V1\xca\x02\x17\x43osmos\\Params\\Module\\V1\xe2\x02#Cosmos\\Params\\Module\\V1\\GPBMetadata\xea\x02\x1a\x43osmos::Params::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.params.module.v1B\013ModuleProtoP\001\242\002\003CPM\252\002\027Cosmos.Params.Module.V1\312\002\027Cosmos\\Params\\Module\\V1\342\002#Cosmos\\Params\\Module\\V1\\GPBMetadata\352\002\032Cosmos::Params::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\'\n%github.com/cosmos/cosmos-sdk/x/params' + _globals['_MODULE']._serialized_start=99 + _globals['_MODULE']._serialized_end=154 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/params/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/params/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/params/module/v1/module_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/cosmos/params/v1beta1/params_pb2.py b/pyinjective/proto/cosmos/params/v1beta1/params_pb2.py new file mode 100644 index 00000000..b53d4ca7 --- /dev/null +++ b/pyinjective/proto/cosmos/params/v1beta1/params_pb2.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/params/v1beta1/params.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/params/v1beta1/params.proto\x12\x15\x63osmos.params.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xe5\x01\n\x17ParameterChangeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12G\n\x07\x63hanges\x18\x03 \x03(\x0b\x32\".cosmos.params.v1beta1.ParamChangeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x63hanges:I\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\"cosmos-sdk/ParameterChangeProposal\"Q\n\x0bParamChange\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\x12\x14\n\x05value\x18\x03 \x01(\tR\x05valueB\xd8\x01\n\x19\x63om.cosmos.params.v1beta1B\x0bParamsProtoP\x01Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\xa2\x02\x03\x43PX\xaa\x02\x15\x43osmos.Params.V1beta1\xca\x02\x15\x43osmos\\Params\\V1beta1\xe2\x02!Cosmos\\Params\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Params::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.v1beta1.params_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.params.v1beta1B\013ParamsProtoP\001Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\242\002\003CPX\252\002\025Cosmos.Params.V1beta1\312\002\025Cosmos\\Params\\V1beta1\342\002!Cosmos\\Params\\V1beta1\\GPBMetadata\352\002\027Cosmos::Params::V1beta1\250\342\036\001' + _globals['_PARAMETERCHANGEPROPOSAL'].fields_by_name['changes']._loaded_options = None + _globals['_PARAMETERCHANGEPROPOSAL'].fields_by_name['changes']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PARAMETERCHANGEPROPOSAL']._loaded_options = None + _globals['_PARAMETERCHANGEPROPOSAL']._serialized_options = b'\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\"cosmos-sdk/ParameterChangeProposal' + _globals['_PARAMETERCHANGEPROPOSAL']._serialized_start=130 + _globals['_PARAMETERCHANGEPROPOSAL']._serialized_end=359 + _globals['_PARAMCHANGE']._serialized_start=361 + _globals['_PARAMCHANGE']._serialized_end=442 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/params/v1beta1/params_pb2_grpc.py b/pyinjective/proto/cosmos/params/v1beta1/params_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/params/v1beta1/params_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/cosmos/params/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/params/v1beta1/query_pb2.py new file mode 100644 index 00000000..27bdcffa --- /dev/null +++ b/pyinjective/proto/cosmos/params/v1beta1/query_pb2.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/params/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.params.v1beta1 import params_pb2 as cosmos_dot_params_dot_v1beta1_dot_params__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/params/v1beta1/query.proto\x12\x15\x63osmos.params.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\"cosmos/params/v1beta1/params.proto\x1a\x11\x61mino/amino.proto\"B\n\x12QueryParamsRequest\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\"Z\n\x13QueryParamsResponse\x12\x43\n\x05param\x18\x01 \x01(\x0b\x32\".cosmos.params.v1beta1.ParamChangeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05param\"\x17\n\x15QuerySubspacesRequest\"W\n\x16QuerySubspacesResponse\x12=\n\tsubspaces\x18\x01 \x03(\x0b\x32\x1f.cosmos.params.v1beta1.SubspaceR\tsubspaces\":\n\x08Subspace\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x12\n\x04keys\x18\x02 \x03(\tR\x04keys2\xa5\x02\n\x05Query\x12\x86\x01\n\x06Params\x12).cosmos.params.v1beta1.QueryParamsRequest\x1a*.cosmos.params.v1beta1.QueryParamsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/params/v1beta1/params\x12\x92\x01\n\tSubspaces\x12,.cosmos.params.v1beta1.QuerySubspacesRequest\x1a-.cosmos.params.v1beta1.QuerySubspacesResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmos/params/v1beta1/subspacesB\xd3\x01\n\x19\x63om.cosmos.params.v1beta1B\nQueryProtoP\x01Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\xa2\x02\x03\x43PX\xaa\x02\x15\x43osmos.Params.V1beta1\xca\x02\x15\x43osmos\\Params\\V1beta1\xe2\x02!Cosmos\\Params\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Params::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.params.v1beta1B\nQueryProtoP\001Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\242\002\003CPX\252\002\025Cosmos.Params.V1beta1\312\002\025Cosmos\\Params\\V1beta1\342\002!Cosmos\\Params\\V1beta1\\GPBMetadata\352\002\027Cosmos::Params::V1beta1' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['param']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['param']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\037\022\035/cosmos/params/v1beta1/params' + _globals['_QUERY'].methods_by_name['Subspaces']._loaded_options = None + _globals['_QUERY'].methods_by_name['Subspaces']._serialized_options = b'\202\323\344\223\002\"\022 /cosmos/params/v1beta1/subspaces' + _globals['_QUERYPARAMSREQUEST']._serialized_start=167 + _globals['_QUERYPARAMSREQUEST']._serialized_end=233 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=235 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=325 + _globals['_QUERYSUBSPACESREQUEST']._serialized_start=327 + _globals['_QUERYSUBSPACESREQUEST']._serialized_end=350 + _globals['_QUERYSUBSPACESRESPONSE']._serialized_start=352 + _globals['_QUERYSUBSPACESRESPONSE']._serialized_end=439 + _globals['_SUBSPACE']._serialized_start=441 + _globals['_SUBSPACE']._serialized_end=499 + _globals['_QUERY']._serialized_start=502 + _globals['_QUERY']._serialized_end=795 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/params/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/params/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..b9ed1797 --- /dev/null +++ b/pyinjective/proto/cosmos/params/v1beta1/query_pb2_grpc.py @@ -0,0 +1,128 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.params.v1beta1 import query_pb2 as cosmos_dot_params_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Params = channel.unary_unary( + '/cosmos.params.v1beta1.Query/Params', + request_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + self.Subspaces = channel.unary_unary( + '/cosmos.params.v1beta1.Query/Subspaces', + request_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesRequest.SerializeToString, + response_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def Params(self, request, context): + """Params queries a specific parameter of a module, given its subspace and + key. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Subspaces(self, request, context): + """Subspaces queries for all registered subspaces and all keys for a subspace. + + Since: cosmos-sdk 0.46 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'Subspaces': grpc.unary_unary_rpc_method_handler( + servicer.Subspaces, + request_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesRequest.FromString, + response_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.params.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.params.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.params.v1beta1.Query/Params', + cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Subspaces(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.params.v1beta1.Query/Subspaces', + cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesRequest.SerializeToString, + cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/query/v1/query_pb2.py b/pyinjective/proto/cosmos/query/v1/query_pb2.py new file mode 100644 index 00000000..1911653d --- /dev/null +++ b/pyinjective/proto/cosmos/query/v1/query_pb2.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/query/v1/query.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/query/v1/query.proto\x12\x0f\x63osmos.query.v1\x1a google/protobuf/descriptor.proto:M\n\x11module_query_safe\x12\x1e.google.protobuf.MethodOptions\x18\xf1\x8c\xa6\x05 \x01(\x08R\x0fmoduleQuerySafeB\xa9\x01\n\x13\x63om.cosmos.query.v1B\nQueryProtoP\x01Z(github.com/cosmos/cosmos-sdk/types/query\xa2\x02\x03\x43QX\xaa\x02\x0f\x43osmos.Query.V1\xca\x02\x0f\x43osmos\\Query\\V1\xe2\x02\x1b\x43osmos\\Query\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Query::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.query.v1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.query.v1B\nQueryProtoP\001Z(github.com/cosmos/cosmos-sdk/types/query\242\002\003CQX\252\002\017Cosmos.Query.V1\312\002\017Cosmos\\Query\\V1\342\002\033Cosmos\\Query\\V1\\GPBMetadata\352\002\021Cosmos::Query::V1' +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/query/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/query/v1/query_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/query/v1/query_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/cosmos/reflection/v1/reflection_pb2.py b/pyinjective/proto/cosmos/reflection/v1/reflection_pb2.py new file mode 100644 index 00000000..9608c2f9 --- /dev/null +++ b/pyinjective/proto/cosmos/reflection/v1/reflection_pb2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/reflection/v1/reflection.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 +from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/reflection/v1/reflection.proto\x12\x14\x63osmos.reflection.v1\x1a google/protobuf/descriptor.proto\x1a\x1b\x63osmos/query/v1/query.proto\"\x18\n\x16\x46ileDescriptorsRequest\"U\n\x17\x46ileDescriptorsResponse\x12:\n\x05\x66iles\x18\x01 \x03(\x0b\x32$.google.protobuf.FileDescriptorProtoR\x05\x66iles2\x8a\x01\n\x11ReflectionService\x12u\n\x0f\x46ileDescriptors\x12,.cosmos.reflection.v1.FileDescriptorsRequest\x1a-.cosmos.reflection.v1.FileDescriptorsResponse\"\x05\x88\xe7\xb0*\x00\x42\x9d\x01\n\x18\x63om.cosmos.reflection.v1B\x0fReflectionProtoP\x01\xa2\x02\x03\x43RX\xaa\x02\x14\x43osmos.Reflection.V1\xca\x02\x14\x43osmos\\Reflection\\V1\xe2\x02 Cosmos\\Reflection\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Reflection::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.reflection.v1.reflection_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.reflection.v1B\017ReflectionProtoP\001\242\002\003CRX\252\002\024Cosmos.Reflection.V1\312\002\024Cosmos\\Reflection\\V1\342\002 Cosmos\\Reflection\\V1\\GPBMetadata\352\002\026Cosmos::Reflection::V1' + _globals['_REFLECTIONSERVICE'].methods_by_name['FileDescriptors']._loaded_options = None + _globals['_REFLECTIONSERVICE'].methods_by_name['FileDescriptors']._serialized_options = b'\210\347\260*\000' + _globals['_FILEDESCRIPTORSREQUEST']._serialized_start=126 + _globals['_FILEDESCRIPTORSREQUEST']._serialized_end=150 + _globals['_FILEDESCRIPTORSRESPONSE']._serialized_start=152 + _globals['_FILEDESCRIPTORSRESPONSE']._serialized_end=237 + _globals['_REFLECTIONSERVICE']._serialized_start=240 + _globals['_REFLECTIONSERVICE']._serialized_end=378 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/reflection/v1/reflection_pb2_grpc.py b/pyinjective/proto/cosmos/reflection/v1/reflection_pb2_grpc.py new file mode 100644 index 00000000..0c311309 --- /dev/null +++ b/pyinjective/proto/cosmos/reflection/v1/reflection_pb2_grpc.py @@ -0,0 +1,85 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.reflection.v1 import reflection_pb2 as cosmos_dot_reflection_dot_v1_dot_reflection__pb2 + + +class ReflectionServiceStub(object): + """Package cosmos.reflection.v1 provides support for inspecting protobuf + file descriptors. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.FileDescriptors = channel.unary_unary( + '/cosmos.reflection.v1.ReflectionService/FileDescriptors', + request_serializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsRequest.SerializeToString, + response_deserializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsResponse.FromString, + _registered_method=True) + + +class ReflectionServiceServicer(object): + """Package cosmos.reflection.v1 provides support for inspecting protobuf + file descriptors. + """ + + def FileDescriptors(self, request, context): + """FileDescriptors queries all the file descriptors in the app in order + to enable easier generation of dynamic clients. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ReflectionServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'FileDescriptors': grpc.unary_unary_rpc_method_handler( + servicer.FileDescriptors, + request_deserializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsRequest.FromString, + response_serializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.reflection.v1.ReflectionService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.reflection.v1.ReflectionService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class ReflectionService(object): + """Package cosmos.reflection.v1 provides support for inspecting protobuf + file descriptors. + """ + + @staticmethod + def FileDescriptors(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.reflection.v1.ReflectionService/FileDescriptors', + cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsRequest.SerializeToString, + cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py b/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py new file mode 100644 index 00000000..3e5352da --- /dev/null +++ b/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/slashing/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/slashing/module/v1/module.proto\x12\x19\x63osmos.slashing.module.v1\x1a cosmos/app/v1alpha1/module.proto\"W\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:/\xba\xc0\x96\xda\x01)\n\'github.com/cosmos/cosmos-sdk/x/slashingB\xb3\x01\n\x1d\x63om.cosmos.slashing.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43SM\xaa\x02\x19\x43osmos.Slashing.Module.V1\xca\x02\x19\x43osmos\\Slashing\\Module\\V1\xe2\x02%Cosmos\\Slashing\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Slashing::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.slashing.module.v1B\013ModuleProtoP\001\242\002\003CSM\252\002\031Cosmos.Slashing.Module.V1\312\002\031Cosmos\\Slashing\\Module\\V1\342\002%Cosmos\\Slashing\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Slashing::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001)\n\'github.com/cosmos/cosmos-sdk/x/slashing' + _globals['_MODULE']._serialized_start=103 + _globals['_MODULE']._serialized_end=190 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/slashing/module/v1/module_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/cosmos/slashing/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..76a206a8 --- /dev/null +++ b/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/slashing/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.slashing.v1beta1 import slashing_pb2 as cosmos_dot_slashing_dot_v1beta1_dot_slashing__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/slashing/v1beta1/genesis.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x88\x02\n\x0cGenesisState\x12\x42\n\x06params\x18\x01 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12T\n\rsigning_infos\x18\x02 \x03(\x0b\x32$.cosmos.slashing.v1beta1.SigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0csigningInfos\x12^\n\rmissed_blocks\x18\x03 \x03(\x0b\x32..cosmos.slashing.v1beta1.ValidatorMissedBlocksB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cmissedBlocks\"\xba\x01\n\x0bSigningInfo\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12n\n\x16validator_signing_info\x18\x02 \x01(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSigningInfo\"\xaa\x01\n\x15ValidatorMissedBlocks\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12T\n\rmissed_blocks\x18\x02 \x03(\x0b\x32$.cosmos.slashing.v1beta1.MissedBlockB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cmissedBlocks\";\n\x0bMissedBlock\x12\x14\n\x05index\x18\x01 \x01(\x03R\x05index\x12\x16\n\x06missed\x18\x02 \x01(\x08R\x06missedB\xd8\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\x0cGenesisProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.slashing.v1beta1B\014GenesisProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['signing_infos']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['signing_infos']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['missed_blocks']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['missed_blocks']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_SIGNINGINFO'].fields_by_name['address']._loaded_options = None + _globals['_SIGNINGINFO'].fields_by_name['address']._serialized_options = b'\322\264-\035cosmos.ConsensusAddressString' + _globals['_SIGNINGINFO'].fields_by_name['validator_signing_info']._loaded_options = None + _globals['_SIGNINGINFO'].fields_by_name['validator_signing_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_VALIDATORMISSEDBLOCKS'].fields_by_name['address']._loaded_options = None + _globals['_VALIDATORMISSEDBLOCKS'].fields_by_name['address']._serialized_options = b'\322\264-\035cosmos.ConsensusAddressString' + _globals['_VALIDATORMISSEDBLOCKS'].fields_by_name['missed_blocks']._loaded_options = None + _globals['_VALIDATORMISSEDBLOCKS'].fields_by_name['missed_blocks']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE']._serialized_start=175 + _globals['_GENESISSTATE']._serialized_end=439 + _globals['_SIGNINGINFO']._serialized_start=442 + _globals['_SIGNINGINFO']._serialized_end=628 + _globals['_VALIDATORMISSEDBLOCKS']._serialized_start=631 + _globals['_VALIDATORMISSEDBLOCKS']._serialized_end=801 + _globals['_MISSEDBLOCK']._serialized_start=803 + _globals['_MISSEDBLOCK']._serialized_end=862 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/slashing/v1beta1/genesis_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/cosmos/slashing/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2.py new file mode 100644 index 00000000..6ada740b --- /dev/null +++ b/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2.py @@ -0,0 +1,59 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/slashing/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.slashing.v1beta1 import slashing_pb2 as cosmos_dot_slashing_dot_v1beta1_dot_slashing__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/slashing/v1beta1/query.proto\x12\x17\x63osmos.slashing.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x14\n\x12QueryParamsRequest\"Y\n\x13QueryParamsResponse\x12\x42\n\x06params\x18\x01 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"_\n\x17QuerySigningInfoRequest\x12\x44\n\x0c\x63ons_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x0b\x63onsAddress\"~\n\x18QuerySigningInfoResponse\x12\x62\n\x10val_signing_info\x18\x01 \x01(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evalSigningInfo\"b\n\x18QuerySigningInfosRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb2\x01\n\x19QuerySigningInfosResponse\x12L\n\x04info\x18\x01 \x03(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04info\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xf2\x03\n\x05Query\x12\x8c\x01\n\x06Params\x12+.cosmos.slashing.v1beta1.QueryParamsRequest\x1a,.cosmos.slashing.v1beta1.QueryParamsResponse\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/cosmos/slashing/v1beta1/params\x12\xb1\x01\n\x0bSigningInfo\x12\x30.cosmos.slashing.v1beta1.QuerySigningInfoRequest\x1a\x31.cosmos.slashing.v1beta1.QuerySigningInfoResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmos/slashing/v1beta1/signing_infos/{cons_address}\x12\xa5\x01\n\x0cSigningInfos\x12\x31.cosmos.slashing.v1beta1.QuerySigningInfosRequest\x1a\x32.cosmos.slashing.v1beta1.QuerySigningInfosResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/slashing/v1beta1/signing_infosB\xd6\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\nQueryProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.slashing.v1beta1B\nQueryProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYSIGNINGINFOREQUEST'].fields_by_name['cons_address']._loaded_options = None + _globals['_QUERYSIGNINGINFOREQUEST'].fields_by_name['cons_address']._serialized_options = b'\322\264-\035cosmos.ConsensusAddressString' + _globals['_QUERYSIGNINGINFORESPONSE'].fields_by_name['val_signing_info']._loaded_options = None + _globals['_QUERYSIGNINGINFORESPONSE'].fields_by_name['val_signing_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYSIGNINGINFOSRESPONSE'].fields_by_name['info']._loaded_options = None + _globals['_QUERYSIGNINGINFOSRESPONSE'].fields_by_name['info']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002!\022\037/cosmos/slashing/v1beta1/params' + _globals['_QUERY'].methods_by_name['SigningInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['SigningInfo']._serialized_options = b'\202\323\344\223\0027\0225/cosmos/slashing/v1beta1/signing_infos/{cons_address}' + _globals['_QUERY'].methods_by_name['SigningInfos']._loaded_options = None + _globals['_QUERY'].methods_by_name['SigningInfos']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/slashing/v1beta1/signing_infos' + _globals['_QUERYPARAMSREQUEST']._serialized_start=246 + _globals['_QUERYPARAMSREQUEST']._serialized_end=266 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=268 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=357 + _globals['_QUERYSIGNINGINFOREQUEST']._serialized_start=359 + _globals['_QUERYSIGNINGINFOREQUEST']._serialized_end=454 + _globals['_QUERYSIGNINGINFORESPONSE']._serialized_start=456 + _globals['_QUERYSIGNINGINFORESPONSE']._serialized_end=582 + _globals['_QUERYSIGNINGINFOSREQUEST']._serialized_start=584 + _globals['_QUERYSIGNINGINFOSREQUEST']._serialized_end=682 + _globals['_QUERYSIGNINGINFOSRESPONSE']._serialized_start=685 + _globals['_QUERYSIGNINGINFOSRESPONSE']._serialized_end=863 + _globals['_QUERY']._serialized_start=866 + _globals['_QUERY']._serialized_end=1364 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..69674eb7 --- /dev/null +++ b/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2_grpc.py @@ -0,0 +1,169 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.slashing.v1beta1 import query_pb2 as cosmos_dot_slashing_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query provides defines the gRPC querier service + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Params = channel.unary_unary( + '/cosmos.slashing.v1beta1.Query/Params', + request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + self.SigningInfo = channel.unary_unary( + '/cosmos.slashing.v1beta1.Query/SigningInfo', + request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoResponse.FromString, + _registered_method=True) + self.SigningInfos = channel.unary_unary( + '/cosmos.slashing.v1beta1.Query/SigningInfos', + request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosRequest.SerializeToString, + response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query provides defines the gRPC querier service + """ + + def Params(self, request, context): + """Params queries the parameters of slashing module + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SigningInfo(self, request, context): + """SigningInfo queries the signing info of given cons address + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SigningInfos(self, request, context): + """SigningInfos queries signing info of all validators + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'SigningInfo': grpc.unary_unary_rpc_method_handler( + servicer.SigningInfo, + request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoRequest.FromString, + response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoResponse.SerializeToString, + ), + 'SigningInfos': grpc.unary_unary_rpc_method_handler( + servicer.SigningInfos, + request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosRequest.FromString, + response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.slashing.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.slashing.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query provides defines the gRPC querier service + """ + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.slashing.v1beta1.Query/Params', + cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SigningInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.slashing.v1beta1.Query/SigningInfo', + cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoRequest.SerializeToString, + cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SigningInfos(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.slashing.v1beta1.Query/SigningInfos', + cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosRequest.SerializeToString, + cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py new file mode 100644 index 00000000..112ce1a6 --- /dev/null +++ b/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/slashing/v1beta1/slashing.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/slashing/v1beta1/slashing.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xc1\x02\n\x14ValidatorSigningInfo\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12!\n\x0cstart_height\x18\x02 \x01(\x03R\x0bstartHeight\x12!\n\x0cindex_offset\x18\x03 \x01(\x03R\x0bindexOffset\x12L\n\x0cjailed_until\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0bjailedUntil\x12\x1e\n\ntombstoned\x18\x05 \x01(\x08R\ntombstoned\x12\x32\n\x15missed_blocks_counter\x18\x06 \x01(\x03R\x13missedBlocksCounter:\x04\xe8\xa0\x1f\x01\"\x8d\x04\n\x06Params\x12\x30\n\x14signed_blocks_window\x18\x01 \x01(\x03R\x12signedBlocksWindow\x12i\n\x15min_signed_per_window\x18\x02 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x12minSignedPerWindow\x12^\n\x16\x64owntime_jail_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x14\x64owntimeJailDuration\x12s\n\x1aslash_fraction_double_sign\x18\x04 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x17slashFractionDoubleSign\x12n\n\x17slash_fraction_downtime\x18\x05 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x15slashFractionDowntime:!\x8a\xe7\xb0*\x1c\x63osmos-sdk/x/slashing/ParamsB\xdd\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\rSlashingProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.slashing_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.slashing.v1beta1B\rSlashingProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1\250\342\036\001' + _globals['_VALIDATORSIGNINGINFO'].fields_by_name['address']._loaded_options = None + _globals['_VALIDATORSIGNINGINFO'].fields_by_name['address']._serialized_options = b'\322\264-\035cosmos.ConsensusAddressString' + _globals['_VALIDATORSIGNINGINFO'].fields_by_name['jailed_until']._loaded_options = None + _globals['_VALIDATORSIGNINGINFO'].fields_by_name['jailed_until']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_VALIDATORSIGNINGINFO']._loaded_options = None + _globals['_VALIDATORSIGNINGINFO']._serialized_options = b'\350\240\037\001' + _globals['_PARAMS'].fields_by_name['min_signed_per_window']._loaded_options = None + _globals['_PARAMS'].fields_by_name['min_signed_per_window']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['downtime_jail_duration']._loaded_options = None + _globals['_PARAMS'].fields_by_name['downtime_jail_duration']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['slash_fraction_double_sign']._loaded_options = None + _globals['_PARAMS'].fields_by_name['slash_fraction_double_sign']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['slash_fraction_downtime']._loaded_options = None + _globals['_PARAMS'].fields_by_name['slash_fraction_downtime']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\212\347\260*\034cosmos-sdk/x/slashing/Params' + _globals['_VALIDATORSIGNINGINFO']._serialized_start=201 + _globals['_VALIDATORSIGNINGINFO']._serialized_end=522 + _globals['_PARAMS']._serialized_start=525 + _globals['_PARAMS']._serialized_end=1050 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/slashing/v1beta1/slashing_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/cosmos/slashing/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2.py new file mode 100644 index 00000000..2e825073 --- /dev/null +++ b/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2.py @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/slashing/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.slashing.v1beta1 import slashing_pb2 as cosmos_dot_slashing_dot_v1beta1_dot_slashing__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/slashing/v1beta1/tx.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xa3\x01\n\tMsgUnjail\x12\x64\n\x0evalidator_addr\x18\x01 \x01(\tB=\xea\xde\x1f\x07\x61\x64\x64ress\xd2\xb4-\x1d\x63osmos.ValidatorAddressString\xa2\xe7\xb0*\x07\x61\x64\x64ress\xa8\xe7\xb0*\x01R\rvalidatorAddr:0\x88\xa0\x1f\x00\x82\xe7\xb0*\x0evalidator_addr\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgUnjail\"\x13\n\x11MsgUnjailResponse\"\xc7\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x42\n\x06params\x18\x02 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:8\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*%cosmos-sdk/x/slashing/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xd2\x01\n\x03Msg\x12X\n\x06Unjail\x12\".cosmos.slashing.v1beta1.MsgUnjail\x1a*.cosmos.slashing.v1beta1.MsgUnjailResponse\x12j\n\x0cUpdateParams\x12(.cosmos.slashing.v1beta1.MsgUpdateParams\x1a\x30.cosmos.slashing.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd7\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\x07TxProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.slashing.v1beta1B\007TxProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1\250\342\036\001' + _globals['_MSGUNJAIL'].fields_by_name['validator_addr']._loaded_options = None + _globals['_MSGUNJAIL'].fields_by_name['validator_addr']._serialized_options = b'\352\336\037\007address\322\264-\035cosmos.ValidatorAddressString\242\347\260*\007address\250\347\260*\001' + _globals['_MSGUNJAIL']._loaded_options = None + _globals['_MSGUNJAIL']._serialized_options = b'\210\240\037\000\202\347\260*\016validator_addr\212\347\260*\024cosmos-sdk/MsgUnjail' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*%cosmos-sdk/x/slashing/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGUNJAIL']._serialized_start=195 + _globals['_MSGUNJAIL']._serialized_end=358 + _globals['_MSGUNJAILRESPONSE']._serialized_start=360 + _globals['_MSGUNJAILRESPONSE']._serialized_end=379 + _globals['_MSGUPDATEPARAMS']._serialized_start=382 + _globals['_MSGUPDATEPARAMS']._serialized_end=581 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=583 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=608 + _globals['_MSG']._serialized_start=611 + _globals['_MSG']._serialized_end=821 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..63fd5cdd --- /dev/null +++ b/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,130 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.slashing.v1beta1 import tx_pb2 as cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the slashing Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Unjail = channel.unary_unary( + '/cosmos.slashing.v1beta1.Msg/Unjail', + request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjail.SerializeToString, + response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjailResponse.FromString, + _registered_method=True) + self.UpdateParams = channel.unary_unary( + '/cosmos.slashing.v1beta1.Msg/UpdateParams', + request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the slashing Msg service. + """ + + def Unjail(self, request, context): + """Unjail defines a method for unjailing a jailed validator, thus returning + them into the bonded validator set, so they can begin receiving provisions + and rewards again. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """UpdateParams defines a governance operation for updating the x/slashing module + parameters. The authority defaults to the x/gov module account. + + Since: cosmos-sdk 0.47 + """ + 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 = { + 'Unjail': grpc.unary_unary_rpc_method_handler( + servicer.Unjail, + request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjail.FromString, + response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjailResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.slashing.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.slashing.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the slashing Msg service. + """ + + @staticmethod + def Unjail(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.slashing.v1beta1.Msg/Unjail', + cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjail.SerializeToString, + cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjailResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.slashing.v1beta1.Msg/UpdateParams', + cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py b/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py new file mode 100644 index 00000000..6abb3c62 --- /dev/null +++ b/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/staking/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/staking/module/v1/module.proto\x12\x18\x63osmos.staking.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\xe7\x01\n\x06Module\x12\x1f\n\x0bhooks_order\x18\x01 \x03(\tR\nhooksOrder\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority\x12\x36\n\x17\x62\x65\x63h32_prefix_validator\x18\x03 \x01(\tR\x15\x62\x65\x63h32PrefixValidator\x12\x36\n\x17\x62\x65\x63h32_prefix_consensus\x18\x04 \x01(\tR\x15\x62\x65\x63h32PrefixConsensus:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/stakingB\xae\x01\n\x1c\x63om.cosmos.staking.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43SM\xaa\x02\x18\x43osmos.Staking.Module.V1\xca\x02\x18\x43osmos\\Staking\\Module\\V1\xe2\x02$Cosmos\\Staking\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Staking::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.staking.module.v1B\013ModuleProtoP\001\242\002\003CSM\252\002\030Cosmos.Staking.Module.V1\312\002\030Cosmos\\Staking\\Module\\V1\342\002$Cosmos\\Staking\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Staking::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/staking' + _globals['_MODULE']._serialized_start=102 + _globals['_MODULE']._serialized_end=333 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/staking/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/staking/module/v1/module_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/cosmos/staking/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2.py new file mode 100644 index 00000000..444597ee --- /dev/null +++ b/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/staking/v1beta1/authz.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/staking/v1beta1/authz.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"\xfa\x04\n\x12StakeAuthorization\x12\x65\n\nmax_tokens\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB+\xaa\xdf\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\tmaxTokens\x12\x84\x01\n\nallow_list\x18\x02 \x01(\x0b\x32\x35.cosmos.staking.v1beta1.StakeAuthorization.ValidatorsB,\xb2\xe7\xb0*\'cosmos-sdk/StakeAuthorization/AllowListH\x00R\tallowList\x12\x81\x01\n\tdeny_list\x18\x03 \x01(\x0b\x32\x35.cosmos.staking.v1beta1.StakeAuthorization.ValidatorsB+\xb2\xe7\xb0*&cosmos-sdk/StakeAuthorization/DenyListH\x00R\x08\x64\x65nyList\x12X\n\x12\x61uthorization_type\x18\x04 \x01(\x0e\x32).cosmos.staking.v1beta1.AuthorizationTypeR\x11\x61uthorizationType\x1a@\n\nValidators\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:H\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1d\x63osmos-sdk/StakeAuthorizationB\x0c\n\nvalidators*\xd2\x01\n\x11\x41uthorizationType\x12\"\n\x1e\x41UTHORIZATION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x41UTHORIZATION_TYPE_DELEGATE\x10\x01\x12!\n\x1d\x41UTHORIZATION_TYPE_UNDELEGATE\x10\x02\x12!\n\x1d\x41UTHORIZATION_TYPE_REDELEGATE\x10\x03\x12\x32\n.AUTHORIZATION_TYPE_CANCEL_UNBONDING_DELEGATION\x10\x04\x42\xd0\x01\n\x1a\x63om.cosmos.staking.v1beta1B\nAuthzProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.authz_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\nAuthzProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' + _globals['_STAKEAUTHORIZATION_VALIDATORS'].fields_by_name['address']._loaded_options = None + _globals['_STAKEAUTHORIZATION_VALIDATORS'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_STAKEAUTHORIZATION'].fields_by_name['max_tokens']._loaded_options = None + _globals['_STAKEAUTHORIZATION'].fields_by_name['max_tokens']._serialized_options = b'\252\337\037\'github.com/cosmos/cosmos-sdk/types.Coin' + _globals['_STAKEAUTHORIZATION'].fields_by_name['allow_list']._loaded_options = None + _globals['_STAKEAUTHORIZATION'].fields_by_name['allow_list']._serialized_options = b'\262\347\260*\'cosmos-sdk/StakeAuthorization/AllowList' + _globals['_STAKEAUTHORIZATION'].fields_by_name['deny_list']._loaded_options = None + _globals['_STAKEAUTHORIZATION'].fields_by_name['deny_list']._serialized_options = b'\262\347\260*&cosmos-sdk/StakeAuthorization/DenyList' + _globals['_STAKEAUTHORIZATION']._loaded_options = None + _globals['_STAKEAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\035cosmos-sdk/StakeAuthorization' + _globals['_AUTHORIZATIONTYPE']._serialized_start=800 + _globals['_AUTHORIZATIONTYPE']._serialized_end=1010 + _globals['_STAKEAUTHORIZATION']._serialized_start=163 + _globals['_STAKEAUTHORIZATION']._serialized_end=797 + _globals['_STAKEAUTHORIZATION_VALIDATORS']._serialized_start=645 + _globals['_STAKEAUTHORIZATION_VALIDATORS']._serialized_end=709 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/staking/v1beta1/authz_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/cosmos/staking/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..4186446e --- /dev/null +++ b/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/staking/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.staking.v1beta1 import staking_pb2 as cosmos_dot_staking_dot_v1beta1_dot_staking__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/staking/v1beta1/genesis.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x97\x05\n\x0cGenesisState\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12Z\n\x10last_total_power\x18\x02 \x01(\x0c\x42\x30\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0elastTotalPower\x12i\n\x15last_validator_powers\x18\x03 \x03(\x0b\x32*.cosmos.staking.v1beta1.LastValidatorPowerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13lastValidatorPowers\x12L\n\nvalidators\x18\x04 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12O\n\x0b\x64\x65legations\x18\x05 \x03(\x0b\x32\".cosmos.staking.v1beta1.DelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65legations\x12k\n\x15unbonding_delegations\x18\x06 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14unbondingDelegations\x12U\n\rredelegations\x18\x07 \x03(\x0b\x32$.cosmos.staking.v1beta1.RedelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rredelegations\x12\x1a\n\x08\x65xported\x18\x08 \x01(\x08R\x08\x65xported\"h\n\x12LastValidatorPower\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05power\x18\x02 \x01(\x03R\x05power:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xd2\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x0cGenesisProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\014GenesisProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['last_total_power']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['last_total_power']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['last_validator_powers']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['last_validator_powers']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['validators']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['validators']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['delegations']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['delegations']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['unbonding_delegations']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['unbonding_delegations']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['redelegations']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['redelegations']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_LASTVALIDATORPOWER'].fields_by_name['address']._loaded_options = None + _globals['_LASTVALIDATORPOWER'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_LASTVALIDATORPOWER']._loaded_options = None + _globals['_LASTVALIDATORPOWER']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_GENESISSTATE']._serialized_start=171 + _globals['_GENESISSTATE']._serialized_end=834 + _globals['_LASTVALIDATORPOWER']._serialized_start=836 + _globals['_LASTVALIDATORPOWER']._serialized_end=940 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/staking/v1beta1/genesis_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/cosmos/staking/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/query_pb2.py new file mode 100644 index 00000000..971db76b --- /dev/null +++ b/pyinjective/proto/cosmos/staking/v1beta1/query_pb2.py @@ -0,0 +1,186 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/staking/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.staking.v1beta1 import staking_pb2 as cosmos_dot_staking_dot_v1beta1_dot_staking__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/staking/v1beta1/query.proto\x12\x16\x63osmos.staking.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x11\x61mino/amino.proto\"x\n\x16QueryValidatorsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb0\x01\n\x17QueryValidatorsResponse\x12L\n\nvalidators\x18\x01 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"a\n\x15QueryValidatorRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr\"d\n\x16QueryValidatorResponse\x12J\n\tvalidator\x18\x01 \x01(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tvalidator\"\xb4\x01\n QueryValidatorDelegationsRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xed\x01\n!QueryValidatorDelegationsResponse\x12\x7f\n\x14\x64\x65legation_responses\x18\x01 \x03(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseB \xc8\xde\x1f\x00\xaa\xdf\x1f\x13\x44\x65legationResponses\xa8\xe7\xb0*\x01R\x13\x64\x65legationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xbd\x01\n)QueryValidatorUnbondingDelegationsRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xde\x01\n*QueryValidatorUnbondingDelegationsResponse\x12g\n\x13unbonding_responses\x18\x01 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12unbondingResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xad\x01\n\x16QueryDelegationRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"v\n\x17QueryDelegationResponse\x12[\n\x13\x64\x65legation_response\x18\x01 \x01(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseR\x12\x64\x65legationResponse\"\xb6\x01\n\x1fQueryUnbondingDelegationRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"r\n QueryUnbondingDelegationResponse\x12N\n\x06unbond\x18\x01 \x01(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06unbond\"\xb5\x01\n QueryDelegatorDelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd6\x01\n!QueryDelegatorDelegationsResponse\x12h\n\x14\x64\x65legation_responses\x18\x01 \x03(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x64\x65legationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xbe\x01\n)QueryDelegatorUnbondingDelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xde\x01\n*QueryDelegatorUnbondingDelegationsResponse\x12g\n\x13unbonding_responses\x18\x01 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12unbondingResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xbe\x02\n\x19QueryRedelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\x12src_validator_addr\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10srcValidatorAddr\x12\x46\n\x12\x64st_validator_addr\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64stValidatorAddr\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd5\x01\n\x1aQueryRedelegationsResponse\x12n\n\x16redelegation_responses\x18\x01 \x03(\x0b\x32,.cosmos.staking.v1beta1.RedelegationResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15redelegationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xb4\x01\n\x1fQueryDelegatorValidatorsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb9\x01\n QueryDelegatorValidatorsResponse\x12L\n\nvalidators\x18\x01 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xb5\x01\n\x1eQueryDelegatorValidatorRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"m\n\x1fQueryDelegatorValidatorResponse\x12J\n\tvalidator\x18\x01 \x01(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tvalidator\"4\n\x1aQueryHistoricalInfoRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\"Y\n\x1bQueryHistoricalInfoResponse\x12:\n\x04hist\x18\x01 \x01(\x0b\x32&.cosmos.staking.v1beta1.HistoricalInfoR\x04hist\"\x12\n\x10QueryPoolRequest\"P\n\x11QueryPoolResponse\x12;\n\x04pool\x18\x01 \x01(\x0b\x32\x1c.cosmos.staking.v1beta1.PoolB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04pool\"\x14\n\x12QueryParamsRequest\"X\n\x13QueryParamsResponse\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params2\xb0\x16\n\x05Query\x12\x9e\x01\n\nValidators\x12..cosmos.staking.v1beta1.QueryValidatorsRequest\x1a/.cosmos.staking.v1beta1.QueryValidatorsResponse\"/\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02$\x12\"/cosmos/staking/v1beta1/validators\x12\xac\x01\n\tValidator\x12-.cosmos.staking.v1beta1.QueryValidatorRequest\x1a..cosmos.staking.v1beta1.QueryValidatorResponse\"@\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/staking/v1beta1/validators/{validator_addr}\x12\xd9\x01\n\x14ValidatorDelegations\x12\x38.cosmos.staking.v1beta1.QueryValidatorDelegationsRequest\x1a\x39.cosmos.staking.v1beta1.QueryValidatorDelegationsResponse\"L\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x41\x12?/cosmos/staking/v1beta1/validators/{validator_addr}/delegations\x12\xfe\x01\n\x1dValidatorUnbondingDelegations\x12\x41.cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest\x1a\x42.cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse\"V\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02K\x12I/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations\x12\xcc\x01\n\nDelegation\x12..cosmos.staking.v1beta1.QueryDelegationRequest\x1a/.cosmos.staking.v1beta1.QueryDelegationResponse\"]\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02R\x12P/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}\x12\xfc\x01\n\x13UnbondingDelegation\x12\x37.cosmos.staking.v1beta1.QueryUnbondingDelegationRequest\x1a\x38.cosmos.staking.v1beta1.QueryUnbondingDelegationResponse\"r\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02g\x12\x65/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation\x12\xce\x01\n\x14\x44\x65legatorDelegations\x12\x38.cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest\x1a\x39.cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse\"A\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/staking/v1beta1/delegations/{delegator_addr}\x12\xfe\x01\n\x1d\x44\x65legatorUnbondingDelegations\x12\x41.cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest\x1a\x42.cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse\"V\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02K\x12I/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations\x12\xc6\x01\n\rRedelegations\x12\x31.cosmos.staking.v1beta1.QueryRedelegationsRequest\x1a\x32.cosmos.staking.v1beta1.QueryRedelegationsResponse\"N\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x43\x12\x41/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations\x12\xd5\x01\n\x13\x44\x65legatorValidators\x12\x37.cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest\x1a\x38.cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse\"K\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02@\x12>/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators\x12\xe3\x01\n\x12\x44\x65legatorValidator\x12\x36.cosmos.staking.v1beta1.QueryDelegatorValidatorRequest\x1a\x37.cosmos.staking.v1beta1.QueryDelegatorValidatorResponse\"\\\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02Q\x12O/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}\x12\xb8\x01\n\x0eHistoricalInfo\x12\x32.cosmos.staking.v1beta1.QueryHistoricalInfoRequest\x1a\x33.cosmos.staking.v1beta1.QueryHistoricalInfoResponse\"=\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/staking/v1beta1/historical_info/{height}\x12\x86\x01\n\x04Pool\x12(.cosmos.staking.v1beta1.QueryPoolRequest\x1a).cosmos.staking.v1beta1.QueryPoolResponse\")\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1e\x12\x1c/cosmos/staking/v1beta1/pool\x12\x8e\x01\n\x06Params\x12*.cosmos.staking.v1beta1.QueryParamsRequest\x1a+.cosmos.staking.v1beta1.QueryParamsResponse\"+\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02 \x12\x1e/cosmos/staking/v1beta1/paramsB\xd0\x01\n\x1a\x63om.cosmos.staking.v1beta1B\nQueryProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\nQueryProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' + _globals['_QUERYVALIDATORSRESPONSE'].fields_by_name['validators']._loaded_options = None + _globals['_QUERYVALIDATORSRESPONSE'].fields_by_name['validators']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYVALIDATORREQUEST'].fields_by_name['validator_addr']._loaded_options = None + _globals['_QUERYVALIDATORREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYVALIDATORRESPONSE'].fields_by_name['validator']._loaded_options = None + _globals['_QUERYVALIDATORRESPONSE'].fields_by_name['validator']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYVALIDATORDELEGATIONSREQUEST'].fields_by_name['validator_addr']._loaded_options = None + _globals['_QUERYVALIDATORDELEGATIONSREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYVALIDATORDELEGATIONSRESPONSE'].fields_by_name['delegation_responses']._loaded_options = None + _globals['_QUERYVALIDATORDELEGATIONSRESPONSE'].fields_by_name['delegation_responses']._serialized_options = b'\310\336\037\000\252\337\037\023DelegationResponses\250\347\260*\001' + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST'].fields_by_name['validator_addr']._loaded_options = None + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE'].fields_by_name['unbonding_responses']._loaded_options = None + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE'].fields_by_name['unbonding_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDELEGATIONREQUEST'].fields_by_name['delegator_addr']._loaded_options = None + _globals['_QUERYDELEGATIONREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATIONREQUEST'].fields_by_name['validator_addr']._loaded_options = None + _globals['_QUERYDELEGATIONREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYDELEGATIONREQUEST']._loaded_options = None + _globals['_QUERYDELEGATIONREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYUNBONDINGDELEGATIONREQUEST'].fields_by_name['delegator_addr']._loaded_options = None + _globals['_QUERYUNBONDINGDELEGATIONREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYUNBONDINGDELEGATIONREQUEST'].fields_by_name['validator_addr']._loaded_options = None + _globals['_QUERYUNBONDINGDELEGATIONREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._loaded_options = None + _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYUNBONDINGDELEGATIONRESPONSE'].fields_by_name['unbond']._loaded_options = None + _globals['_QUERYUNBONDINGDELEGATIONRESPONSE'].fields_by_name['unbond']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDELEGATORDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._loaded_options = None + _globals['_QUERYDELEGATORDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._loaded_options = None + _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATORDELEGATIONSRESPONSE'].fields_by_name['delegation_responses']._loaded_options = None + _globals['_QUERYDELEGATORDELEGATIONSRESPONSE'].fields_by_name['delegation_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._loaded_options = None + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._loaded_options = None + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE'].fields_by_name['unbonding_responses']._loaded_options = None + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE'].fields_by_name['unbonding_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._loaded_options = None + _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['src_validator_addr']._loaded_options = None + _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['src_validator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['dst_validator_addr']._loaded_options = None + _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['dst_validator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYREDELEGATIONSREQUEST']._loaded_options = None + _globals['_QUERYREDELEGATIONSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYREDELEGATIONSRESPONSE'].fields_by_name['redelegation_responses']._loaded_options = None + _globals['_QUERYREDELEGATIONSRESPONSE'].fields_by_name['redelegation_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDELEGATORVALIDATORSREQUEST'].fields_by_name['delegator_addr']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORSREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATORVALIDATORSRESPONSE'].fields_by_name['validators']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORSRESPONSE'].fields_by_name['validators']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDELEGATORVALIDATORREQUEST'].fields_by_name['delegator_addr']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATORVALIDATORREQUEST'].fields_by_name['validator_addr']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYDELEGATORVALIDATORREQUEST']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATORVALIDATORRESPONSE'].fields_by_name['validator']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORRESPONSE'].fields_by_name['validator']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYPOOLRESPONSE'].fields_by_name['pool']._loaded_options = None + _globals['_QUERYPOOLRESPONSE'].fields_by_name['pool']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERY'].methods_by_name['Validators']._loaded_options = None + _globals['_QUERY'].methods_by_name['Validators']._serialized_options = b'\210\347\260*\001\202\323\344\223\002$\022\"/cosmos/staking/v1beta1/validators' + _globals['_QUERY'].methods_by_name['Validator']._loaded_options = None + _globals['_QUERY'].methods_by_name['Validator']._serialized_options = b'\210\347\260*\001\202\323\344\223\0025\0223/cosmos/staking/v1beta1/validators/{validator_addr}' + _globals['_QUERY'].methods_by_name['ValidatorDelegations']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValidatorDelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\002A\022?/cosmos/staking/v1beta1/validators/{validator_addr}/delegations' + _globals['_QUERY'].methods_by_name['ValidatorUnbondingDelegations']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValidatorUnbondingDelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\002K\022I/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations' + _globals['_QUERY'].methods_by_name['Delegation']._loaded_options = None + _globals['_QUERY'].methods_by_name['Delegation']._serialized_options = b'\210\347\260*\001\202\323\344\223\002R\022P/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}' + _globals['_QUERY'].methods_by_name['UnbondingDelegation']._loaded_options = None + _globals['_QUERY'].methods_by_name['UnbondingDelegation']._serialized_options = b'\210\347\260*\001\202\323\344\223\002g\022e/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation' + _globals['_QUERY'].methods_by_name['DelegatorDelegations']._loaded_options = None + _globals['_QUERY'].methods_by_name['DelegatorDelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\0026\0224/cosmos/staking/v1beta1/delegations/{delegator_addr}' + _globals['_QUERY'].methods_by_name['DelegatorUnbondingDelegations']._loaded_options = None + _globals['_QUERY'].methods_by_name['DelegatorUnbondingDelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\002K\022I/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations' + _globals['_QUERY'].methods_by_name['Redelegations']._loaded_options = None + _globals['_QUERY'].methods_by_name['Redelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\002C\022A/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations' + _globals['_QUERY'].methods_by_name['DelegatorValidators']._loaded_options = None + _globals['_QUERY'].methods_by_name['DelegatorValidators']._serialized_options = b'\210\347\260*\001\202\323\344\223\002@\022>/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators' + _globals['_QUERY'].methods_by_name['DelegatorValidator']._loaded_options = None + _globals['_QUERY'].methods_by_name['DelegatorValidator']._serialized_options = b'\210\347\260*\001\202\323\344\223\002Q\022O/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}' + _globals['_QUERY'].methods_by_name['HistoricalInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['HistoricalInfo']._serialized_options = b'\210\347\260*\001\202\323\344\223\0022\0220/cosmos/staking/v1beta1/historical_info/{height}' + _globals['_QUERY'].methods_by_name['Pool']._loaded_options = None + _globals['_QUERY'].methods_by_name['Pool']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\036\022\034/cosmos/staking/v1beta1/pool' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\210\347\260*\001\202\323\344\223\002 \022\036/cosmos/staking/v1beta1/params' + _globals['_QUERYVALIDATORSREQUEST']._serialized_start=271 + _globals['_QUERYVALIDATORSREQUEST']._serialized_end=391 + _globals['_QUERYVALIDATORSRESPONSE']._serialized_start=394 + _globals['_QUERYVALIDATORSRESPONSE']._serialized_end=570 + _globals['_QUERYVALIDATORREQUEST']._serialized_start=572 + _globals['_QUERYVALIDATORREQUEST']._serialized_end=669 + _globals['_QUERYVALIDATORRESPONSE']._serialized_start=671 + _globals['_QUERYVALIDATORRESPONSE']._serialized_end=771 + _globals['_QUERYVALIDATORDELEGATIONSREQUEST']._serialized_start=774 + _globals['_QUERYVALIDATORDELEGATIONSREQUEST']._serialized_end=954 + _globals['_QUERYVALIDATORDELEGATIONSRESPONSE']._serialized_start=957 + _globals['_QUERYVALIDATORDELEGATIONSRESPONSE']._serialized_end=1194 + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST']._serialized_start=1197 + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST']._serialized_end=1386 + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE']._serialized_start=1389 + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE']._serialized_end=1611 + _globals['_QUERYDELEGATIONREQUEST']._serialized_start=1614 + _globals['_QUERYDELEGATIONREQUEST']._serialized_end=1787 + _globals['_QUERYDELEGATIONRESPONSE']._serialized_start=1789 + _globals['_QUERYDELEGATIONRESPONSE']._serialized_end=1907 + _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._serialized_start=1910 + _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._serialized_end=2092 + _globals['_QUERYUNBONDINGDELEGATIONRESPONSE']._serialized_start=2094 + _globals['_QUERYUNBONDINGDELEGATIONRESPONSE']._serialized_end=2208 + _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._serialized_start=2211 + _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._serialized_end=2392 + _globals['_QUERYDELEGATORDELEGATIONSRESPONSE']._serialized_start=2395 + _globals['_QUERYDELEGATORDELEGATIONSRESPONSE']._serialized_end=2609 + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._serialized_start=2612 + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._serialized_end=2802 + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE']._serialized_start=2805 + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE']._serialized_end=3027 + _globals['_QUERYREDELEGATIONSREQUEST']._serialized_start=3030 + _globals['_QUERYREDELEGATIONSREQUEST']._serialized_end=3348 + _globals['_QUERYREDELEGATIONSRESPONSE']._serialized_start=3351 + _globals['_QUERYREDELEGATIONSRESPONSE']._serialized_end=3564 + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_start=3567 + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_end=3747 + _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_start=3750 + _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_end=3935 + _globals['_QUERYDELEGATORVALIDATORREQUEST']._serialized_start=3938 + _globals['_QUERYDELEGATORVALIDATORREQUEST']._serialized_end=4119 + _globals['_QUERYDELEGATORVALIDATORRESPONSE']._serialized_start=4121 + _globals['_QUERYDELEGATORVALIDATORRESPONSE']._serialized_end=4230 + _globals['_QUERYHISTORICALINFOREQUEST']._serialized_start=4232 + _globals['_QUERYHISTORICALINFOREQUEST']._serialized_end=4284 + _globals['_QUERYHISTORICALINFORESPONSE']._serialized_start=4286 + _globals['_QUERYHISTORICALINFORESPONSE']._serialized_end=4375 + _globals['_QUERYPOOLREQUEST']._serialized_start=4377 + _globals['_QUERYPOOLREQUEST']._serialized_end=4395 + _globals['_QUERYPOOLRESPONSE']._serialized_start=4397 + _globals['_QUERYPOOLRESPONSE']._serialized_end=4477 + _globals['_QUERYPARAMSREQUEST']._serialized_start=4479 + _globals['_QUERYPARAMSREQUEST']._serialized_end=4499 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=4501 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=4589 + _globals['_QUERY']._serialized_start=4592 + _globals['_QUERY']._serialized_end=7456 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..9ed468d7 --- /dev/null +++ b/pyinjective/proto/cosmos/staking/v1beta1/query_pb2_grpc.py @@ -0,0 +1,678 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.staking.v1beta1 import query_pb2 as cosmos_dot_staking_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Validators = channel.unary_unary( + '/cosmos.staking.v1beta1.Query/Validators', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsResponse.FromString, + _registered_method=True) + self.Validator = channel.unary_unary( + '/cosmos.staking.v1beta1.Query/Validator', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorResponse.FromString, + _registered_method=True) + self.ValidatorDelegations = channel.unary_unary( + '/cosmos.staking.v1beta1.Query/ValidatorDelegations', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsResponse.FromString, + _registered_method=True) + self.ValidatorUnbondingDelegations = channel.unary_unary( + '/cosmos.staking.v1beta1.Query/ValidatorUnbondingDelegations', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsResponse.FromString, + _registered_method=True) + self.Delegation = channel.unary_unary( + '/cosmos.staking.v1beta1.Query/Delegation', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationResponse.FromString, + _registered_method=True) + self.UnbondingDelegation = channel.unary_unary( + '/cosmos.staking.v1beta1.Query/UnbondingDelegation', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationResponse.FromString, + _registered_method=True) + self.DelegatorDelegations = channel.unary_unary( + '/cosmos.staking.v1beta1.Query/DelegatorDelegations', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsResponse.FromString, + _registered_method=True) + self.DelegatorUnbondingDelegations = channel.unary_unary( + '/cosmos.staking.v1beta1.Query/DelegatorUnbondingDelegations', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsResponse.FromString, + _registered_method=True) + self.Redelegations = channel.unary_unary( + '/cosmos.staking.v1beta1.Query/Redelegations', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsResponse.FromString, + _registered_method=True) + self.DelegatorValidators = channel.unary_unary( + '/cosmos.staking.v1beta1.Query/DelegatorValidators', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, + _registered_method=True) + self.DelegatorValidator = channel.unary_unary( + '/cosmos.staking.v1beta1.Query/DelegatorValidator', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorResponse.FromString, + _registered_method=True) + self.HistoricalInfo = channel.unary_unary( + '/cosmos.staking.v1beta1.Query/HistoricalInfo', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoResponse.FromString, + _registered_method=True) + self.Pool = channel.unary_unary( + '/cosmos.staking.v1beta1.Query/Pool', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolResponse.FromString, + _registered_method=True) + self.Params = channel.unary_unary( + '/cosmos.staking.v1beta1.Query/Params', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def Validators(self, request, context): + """Validators queries all validators that match the given status. + + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Validator(self, request, context): + """Validator queries validator info for given validator address. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ValidatorDelegations(self, request, context): + """ValidatorDelegations queries delegate info for given validator. + + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ValidatorUnbondingDelegations(self, request, context): + """ValidatorUnbondingDelegations queries unbonding delegations of a validator. + + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Delegation(self, request, context): + """Delegation queries delegate info for given validator delegator pair. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UnbondingDelegation(self, request, context): + """UnbondingDelegation queries unbonding info for given validator delegator + pair. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DelegatorDelegations(self, request, context): + """DelegatorDelegations queries all delegations of a given delegator address. + + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DelegatorUnbondingDelegations(self, request, context): + """DelegatorUnbondingDelegations queries all unbonding delegations of a given + delegator address. + + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Redelegations(self, request, context): + """Redelegations queries redelegations of given address. + + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DelegatorValidators(self, request, context): + """DelegatorValidators queries all validators info for given delegator + address. + + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DelegatorValidator(self, request, context): + """DelegatorValidator queries validator info for given delegator validator + pair. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def HistoricalInfo(self, request, context): + """HistoricalInfo queries the historical info for given height. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Pool(self, request, context): + """Pool queries the pool info. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Params(self, request, context): + """Parameters queries the staking parameters. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Validators': grpc.unary_unary_rpc_method_handler( + servicer.Validators, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsResponse.SerializeToString, + ), + 'Validator': grpc.unary_unary_rpc_method_handler( + servicer.Validator, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorResponse.SerializeToString, + ), + 'ValidatorDelegations': grpc.unary_unary_rpc_method_handler( + servicer.ValidatorDelegations, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsResponse.SerializeToString, + ), + 'ValidatorUnbondingDelegations': grpc.unary_unary_rpc_method_handler( + servicer.ValidatorUnbondingDelegations, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsResponse.SerializeToString, + ), + 'Delegation': grpc.unary_unary_rpc_method_handler( + servicer.Delegation, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationResponse.SerializeToString, + ), + 'UnbondingDelegation': grpc.unary_unary_rpc_method_handler( + servicer.UnbondingDelegation, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationResponse.SerializeToString, + ), + 'DelegatorDelegations': grpc.unary_unary_rpc_method_handler( + servicer.DelegatorDelegations, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsResponse.SerializeToString, + ), + 'DelegatorUnbondingDelegations': grpc.unary_unary_rpc_method_handler( + servicer.DelegatorUnbondingDelegations, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsResponse.SerializeToString, + ), + 'Redelegations': grpc.unary_unary_rpc_method_handler( + servicer.Redelegations, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsResponse.SerializeToString, + ), + 'DelegatorValidators': grpc.unary_unary_rpc_method_handler( + servicer.DelegatorValidators, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.SerializeToString, + ), + 'DelegatorValidator': grpc.unary_unary_rpc_method_handler( + servicer.DelegatorValidator, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorResponse.SerializeToString, + ), + 'HistoricalInfo': grpc.unary_unary_rpc_method_handler( + servicer.HistoricalInfo, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoResponse.SerializeToString, + ), + 'Pool': grpc.unary_unary_rpc_method_handler( + servicer.Pool, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolResponse.SerializeToString, + ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.staking.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.staking.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def Validators(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Query/Validators', + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsRequest.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Validator(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Query/Validator', + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorRequest.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ValidatorDelegations(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Query/ValidatorDelegations', + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsRequest.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ValidatorUnbondingDelegations(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Query/ValidatorUnbondingDelegations', + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsRequest.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Delegation(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Query/Delegation', + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationRequest.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UnbondingDelegation(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Query/UnbondingDelegation', + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationRequest.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DelegatorDelegations(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Query/DelegatorDelegations', + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsRequest.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DelegatorUnbondingDelegations(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Query/DelegatorUnbondingDelegations', + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsRequest.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Redelegations(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Query/Redelegations', + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsRequest.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DelegatorValidators(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Query/DelegatorValidators', + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DelegatorValidator(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Query/DelegatorValidator', + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorRequest.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def HistoricalInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Query/HistoricalInfo', + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoRequest.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Pool(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Query/Pool', + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolRequest.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Query/Params', + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py new file mode 100644 index 00000000..0183a45a --- /dev/null +++ b/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py @@ -0,0 +1,222 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/staking/v1beta1/staking.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 +from pyinjective.proto.tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/staking/v1beta1/staking.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\x1a\x1ctendermint/types/types.proto\x1a\x1btendermint/abci/types.proto\"\x93\x01\n\x0eHistoricalInfo\x12;\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06header\x12\x44\n\x06valset\x18\x02 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06valset\"\x96\x02\n\x0f\x43ommissionRates\x12J\n\x04rate\x18\x01 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x04rate\x12Q\n\x08max_rate\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x07maxRate\x12^\n\x0fmax_change_rate\x18\x03 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\rmaxChangeRate:\x04\xe8\xa0\x1f\x01\"\xc1\x01\n\nCommission\x12\x61\n\x10\x63ommission_rates\x18\x01 \x01(\x0b\x32\'.cosmos.staking.v1beta1.CommissionRatesB\r\xc8\xde\x1f\x00\xd0\xde\x1f\x01\xa8\xe7\xb0*\x01R\x0f\x63ommissionRates\x12J\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nupdateTime:\x04\xe8\xa0\x1f\x01\"\xa8\x01\n\x0b\x44\x65scription\x12\x18\n\x07moniker\x18\x01 \x01(\tR\x07moniker\x12\x1a\n\x08identity\x18\x02 \x01(\tR\x08identity\x12\x18\n\x07website\x18\x03 \x01(\tR\x07website\x12)\n\x10security_contact\x18\x04 \x01(\tR\x0fsecurityContact\x12\x18\n\x07\x64\x65tails\x18\x05 \x01(\tR\x07\x64\x65tails:\x04\xe8\xa0\x1f\x01\"\x8a\x07\n\tValidator\x12\x43\n\x10operator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0foperatorAddress\x12Y\n\x10\x63onsensus_pubkey\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x18\xca\xb4-\x14\x63osmos.crypto.PubKeyR\x0f\x63onsensusPubkey\x12\x16\n\x06jailed\x18\x03 \x01(\x08R\x06jailed\x12:\n\x06status\x18\x04 \x01(\x0e\x32\".cosmos.staking.v1beta1.BondStatusR\x06status\x12\x43\n\x06tokens\x18\x05 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x06tokens\x12\\\n\x10\x64\x65legator_shares\x18\x06 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x0f\x64\x65legatorShares\x12P\n\x0b\x64\x65scription\x18\x07 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12)\n\x10unbonding_height\x18\x08 \x01(\x03R\x0funbondingHeight\x12P\n\x0eunbonding_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\runbondingTime\x12M\n\ncommission\x18\n \x01(\x0b\x32\".cosmos.staking.v1beta1.CommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission\x12[\n\x13min_self_delegation\x18\x0b \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x11minSelfDelegation\x12<\n\x1bunbonding_on_hold_ref_count\x18\x0c \x01(\x03R\x17unbondingOnHoldRefCount\x12#\n\runbonding_ids\x18\r \x03(\x04R\x0cunbondingIds:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"F\n\x0cValAddresses\x12\x36\n\taddresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\taddresses\"\xa9\x01\n\x06\x44VPair\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"J\n\x07\x44VPairs\x12?\n\x05pairs\x18\x01 \x03(\x0b\x32\x1e.cosmos.staking.v1beta1.DVPairB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05pairs\"\x8b\x02\n\nDVVTriplet\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"X\n\x0b\x44VVTriplets\x12I\n\x08triplets\x18\x01 \x03(\x0b\x32\".cosmos.staking.v1beta1.DVVTripletB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08triplets\"\xf8\x01\n\nDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12I\n\x06shares\x18\x03 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x06shares:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8d\x02\n\x13UnbondingDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12U\n\x07\x65ntries\x18\x03 \x03(\x0b\x32\x30.cosmos.staking.v1beta1.UnbondingDelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x9b\x03\n\x18UnbondingDelegationEntry\x12\'\n\x0f\x63reation_height\x18\x01 \x01(\x03R\x0e\x63reationHeight\x12R\n\x0f\x63ompletion_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12T\n\x0finitial_balance\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x0einitialBalance\x12\x45\n\x07\x62\x61lance\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x62\x61lance\x12!\n\x0cunbonding_id\x18\x05 \x01(\x04R\x0bunbondingId\x12<\n\x1bunbonding_on_hold_ref_count\x18\x06 \x01(\x03R\x17unbondingOnHoldRefCount:\x04\xe8\xa0\x1f\x01\"\x9f\x03\n\x11RedelegationEntry\x12\'\n\x0f\x63reation_height\x18\x01 \x01(\x03R\x0e\x63reationHeight\x12R\n\x0f\x63ompletion_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12T\n\x0finitial_balance\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x0einitialBalance\x12P\n\nshares_dst\x18\x04 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\tsharesDst\x12!\n\x0cunbonding_id\x18\x05 \x01(\x04R\x0bunbondingId\x12<\n\x1bunbonding_on_hold_ref_count\x18\x06 \x01(\x03R\x17unbondingOnHoldRefCount:\x04\xe8\xa0\x1f\x01\"\xdd\x02\n\x0cRedelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress\x12N\n\x07\x65ntries\x18\x04 \x03(\x0b\x32).cosmos.staking.v1beta1.RedelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x9c\x03\n\x06Params\x12O\n\x0eunbonding_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\runbondingTime\x12%\n\x0emax_validators\x18\x02 \x01(\rR\rmaxValidators\x12\x1f\n\x0bmax_entries\x18\x03 \x01(\rR\nmaxEntries\x12-\n\x12historical_entries\x18\x04 \x01(\rR\x11historicalEntries\x12\x1d\n\nbond_denom\x18\x05 \x01(\tR\tbondDenom\x12\x84\x01\n\x13min_commission_rate\x18\x06 \x01(\tBT\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xf2\xde\x1f\x1ayaml:\"min_commission_rate\"\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x11minCommissionRate:$\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x1b\x63osmos-sdk/x/staking/Params\"\xa9\x01\n\x12\x44\x65legationResponse\x12M\n\ndelegation\x18\x01 \x01(\x0b\x32\".cosmos.staking.v1beta1.DelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ndelegation\x12>\n\x07\x62\x61lance\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x62\x61lance:\x04\xe8\xa0\x1f\x00\"\xcd\x01\n\x19RedelegationEntryResponse\x12\x63\n\x12redelegation_entry\x18\x01 \x01(\x0b\x32).cosmos.staking.v1beta1.RedelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x11redelegationEntry\x12\x45\n\x07\x62\x61lance\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x62\x61lance:\x04\xe8\xa0\x1f\x01\"\xc9\x01\n\x14RedelegationResponse\x12S\n\x0credelegation\x18\x01 \x01(\x0b\x32$.cosmos.staking.v1beta1.RedelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0credelegation\x12V\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x31.cosmos.staking.v1beta1.RedelegationEntryResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x04\xe8\xa0\x1f\x00\"\xeb\x01\n\x04Pool\x12q\n\x11not_bonded_tokens\x18\x01 \x01(\tBE\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xea\xde\x1f\x11not_bonded_tokens\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0fnotBondedTokens\x12\x66\n\rbonded_tokens\x18\x02 \x01(\tBA\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xea\xde\x1f\rbonded_tokens\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0c\x62ondedTokens:\x08\xe8\xa0\x1f\x01\xf0\xa0\x1f\x01\"Y\n\x10ValidatorUpdates\x12\x45\n\x07updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07updates*\xb6\x01\n\nBondStatus\x12,\n\x17\x42OND_STATUS_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUnspecified\x12&\n\x14\x42OND_STATUS_UNBONDED\x10\x01\x1a\x0c\x8a\x9d \x08Unbonded\x12(\n\x15\x42OND_STATUS_UNBONDING\x10\x02\x1a\r\x8a\x9d \tUnbonding\x12\"\n\x12\x42OND_STATUS_BONDED\x10\x03\x1a\n\x8a\x9d \x06\x42onded\x1a\x04\x88\xa3\x1e\x00*]\n\nInfraction\x12\x1a\n\x16INFRACTION_UNSPECIFIED\x10\x00\x12\x1a\n\x16INFRACTION_DOUBLE_SIGN\x10\x01\x12\x17\n\x13INFRACTION_DOWNTIME\x10\x02\x42\xd2\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x0cStakingProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.staking_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\014StakingProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' + _globals['_BONDSTATUS']._loaded_options = None + _globals['_BONDSTATUS']._serialized_options = b'\210\243\036\000' + _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNSPECIFIED"]._loaded_options = None + _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNSPECIFIED"]._serialized_options = b'\212\235 \013Unspecified' + _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNBONDED"]._loaded_options = None + _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNBONDED"]._serialized_options = b'\212\235 \010Unbonded' + _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNBONDING"]._loaded_options = None + _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNBONDING"]._serialized_options = b'\212\235 \tUnbonding' + _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_BONDED"]._loaded_options = None + _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_BONDED"]._serialized_options = b'\212\235 \006Bonded' + _globals['_HISTORICALINFO'].fields_by_name['header']._loaded_options = None + _globals['_HISTORICALINFO'].fields_by_name['header']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_HISTORICALINFO'].fields_by_name['valset']._loaded_options = None + _globals['_HISTORICALINFO'].fields_by_name['valset']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_COMMISSIONRATES'].fields_by_name['rate']._loaded_options = None + _globals['_COMMISSIONRATES'].fields_by_name['rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_COMMISSIONRATES'].fields_by_name['max_rate']._loaded_options = None + _globals['_COMMISSIONRATES'].fields_by_name['max_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_COMMISSIONRATES'].fields_by_name['max_change_rate']._loaded_options = None + _globals['_COMMISSIONRATES'].fields_by_name['max_change_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_COMMISSIONRATES']._loaded_options = None + _globals['_COMMISSIONRATES']._serialized_options = b'\350\240\037\001' + _globals['_COMMISSION'].fields_by_name['commission_rates']._loaded_options = None + _globals['_COMMISSION'].fields_by_name['commission_rates']._serialized_options = b'\310\336\037\000\320\336\037\001\250\347\260*\001' + _globals['_COMMISSION'].fields_by_name['update_time']._loaded_options = None + _globals['_COMMISSION'].fields_by_name['update_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_COMMISSION']._loaded_options = None + _globals['_COMMISSION']._serialized_options = b'\350\240\037\001' + _globals['_DESCRIPTION']._loaded_options = None + _globals['_DESCRIPTION']._serialized_options = b'\350\240\037\001' + _globals['_VALIDATOR'].fields_by_name['operator_address']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['operator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_VALIDATOR'].fields_by_name['consensus_pubkey']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['consensus_pubkey']._serialized_options = b'\312\264-\024cosmos.crypto.PubKey' + _globals['_VALIDATOR'].fields_by_name['tokens']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['tokens']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_VALIDATOR'].fields_by_name['delegator_shares']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['delegator_shares']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_VALIDATOR'].fields_by_name['description']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['description']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_VALIDATOR'].fields_by_name['unbonding_time']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['unbonding_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_VALIDATOR'].fields_by_name['commission']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_VALIDATOR'].fields_by_name['min_self_delegation']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['min_self_delegation']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_VALIDATOR']._loaded_options = None + _globals['_VALIDATOR']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_VALADDRESSES'].fields_by_name['addresses']._loaded_options = None + _globals['_VALADDRESSES'].fields_by_name['addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DVPAIR'].fields_by_name['delegator_address']._loaded_options = None + _globals['_DVPAIR'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DVPAIR'].fields_by_name['validator_address']._loaded_options = None + _globals['_DVPAIR'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_DVPAIR']._loaded_options = None + _globals['_DVPAIR']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_DVPAIRS'].fields_by_name['pairs']._loaded_options = None + _globals['_DVPAIRS'].fields_by_name['pairs']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_DVVTRIPLET'].fields_by_name['delegator_address']._loaded_options = None + _globals['_DVVTRIPLET'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DVVTRIPLET'].fields_by_name['validator_src_address']._loaded_options = None + _globals['_DVVTRIPLET'].fields_by_name['validator_src_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_DVVTRIPLET'].fields_by_name['validator_dst_address']._loaded_options = None + _globals['_DVVTRIPLET'].fields_by_name['validator_dst_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_DVVTRIPLET']._loaded_options = None + _globals['_DVVTRIPLET']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_DVVTRIPLETS'].fields_by_name['triplets']._loaded_options = None + _globals['_DVVTRIPLETS'].fields_by_name['triplets']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_DELEGATION'].fields_by_name['delegator_address']._loaded_options = None + _globals['_DELEGATION'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DELEGATION'].fields_by_name['validator_address']._loaded_options = None + _globals['_DELEGATION'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_DELEGATION'].fields_by_name['shares']._loaded_options = None + _globals['_DELEGATION'].fields_by_name['shares']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_DELEGATION']._loaded_options = None + _globals['_DELEGATION']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_UNBONDINGDELEGATION'].fields_by_name['delegator_address']._loaded_options = None + _globals['_UNBONDINGDELEGATION'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_UNBONDINGDELEGATION'].fields_by_name['validator_address']._loaded_options = None + _globals['_UNBONDINGDELEGATION'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_UNBONDINGDELEGATION'].fields_by_name['entries']._loaded_options = None + _globals['_UNBONDINGDELEGATION'].fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_UNBONDINGDELEGATION']._loaded_options = None + _globals['_UNBONDINGDELEGATION']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['completion_time']._loaded_options = None + _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['initial_balance']._loaded_options = None + _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['initial_balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['balance']._loaded_options = None + _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_UNBONDINGDELEGATIONENTRY']._loaded_options = None + _globals['_UNBONDINGDELEGATIONENTRY']._serialized_options = b'\350\240\037\001' + _globals['_REDELEGATIONENTRY'].fields_by_name['completion_time']._loaded_options = None + _globals['_REDELEGATIONENTRY'].fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_REDELEGATIONENTRY'].fields_by_name['initial_balance']._loaded_options = None + _globals['_REDELEGATIONENTRY'].fields_by_name['initial_balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_REDELEGATIONENTRY'].fields_by_name['shares_dst']._loaded_options = None + _globals['_REDELEGATIONENTRY'].fields_by_name['shares_dst']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_REDELEGATIONENTRY']._loaded_options = None + _globals['_REDELEGATIONENTRY']._serialized_options = b'\350\240\037\001' + _globals['_REDELEGATION'].fields_by_name['delegator_address']._loaded_options = None + _globals['_REDELEGATION'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_REDELEGATION'].fields_by_name['validator_src_address']._loaded_options = None + _globals['_REDELEGATION'].fields_by_name['validator_src_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_REDELEGATION'].fields_by_name['validator_dst_address']._loaded_options = None + _globals['_REDELEGATION'].fields_by_name['validator_dst_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_REDELEGATION'].fields_by_name['entries']._loaded_options = None + _globals['_REDELEGATION'].fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_REDELEGATION']._loaded_options = None + _globals['_REDELEGATION']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_PARAMS'].fields_by_name['unbonding_time']._loaded_options = None + _globals['_PARAMS'].fields_by_name['unbonding_time']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['min_commission_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['min_commission_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\362\336\037\032yaml:\"min_commission_rate\"\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\033cosmos-sdk/x/staking/Params' + _globals['_DELEGATIONRESPONSE'].fields_by_name['delegation']._loaded_options = None + _globals['_DELEGATIONRESPONSE'].fields_by_name['delegation']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_DELEGATIONRESPONSE'].fields_by_name['balance']._loaded_options = None + _globals['_DELEGATIONRESPONSE'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_DELEGATIONRESPONSE']._loaded_options = None + _globals['_DELEGATIONRESPONSE']._serialized_options = b'\350\240\037\000' + _globals['_REDELEGATIONENTRYRESPONSE'].fields_by_name['redelegation_entry']._loaded_options = None + _globals['_REDELEGATIONENTRYRESPONSE'].fields_by_name['redelegation_entry']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_REDELEGATIONENTRYRESPONSE'].fields_by_name['balance']._loaded_options = None + _globals['_REDELEGATIONENTRYRESPONSE'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_REDELEGATIONENTRYRESPONSE']._loaded_options = None + _globals['_REDELEGATIONENTRYRESPONSE']._serialized_options = b'\350\240\037\001' + _globals['_REDELEGATIONRESPONSE'].fields_by_name['redelegation']._loaded_options = None + _globals['_REDELEGATIONRESPONSE'].fields_by_name['redelegation']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_REDELEGATIONRESPONSE'].fields_by_name['entries']._loaded_options = None + _globals['_REDELEGATIONRESPONSE'].fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_REDELEGATIONRESPONSE']._loaded_options = None + _globals['_REDELEGATIONRESPONSE']._serialized_options = b'\350\240\037\000' + _globals['_POOL'].fields_by_name['not_bonded_tokens']._loaded_options = None + _globals['_POOL'].fields_by_name['not_bonded_tokens']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\352\336\037\021not_bonded_tokens\322\264-\ncosmos.Int\250\347\260*\001' + _globals['_POOL'].fields_by_name['bonded_tokens']._loaded_options = None + _globals['_POOL'].fields_by_name['bonded_tokens']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\352\336\037\rbonded_tokens\322\264-\ncosmos.Int\250\347\260*\001' + _globals['_POOL']._loaded_options = None + _globals['_POOL']._serialized_options = b'\350\240\037\001\360\240\037\001' + _globals['_VALIDATORUPDATES'].fields_by_name['updates']._loaded_options = None + _globals['_VALIDATORUPDATES'].fields_by_name['updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_BONDSTATUS']._serialized_start=5738 + _globals['_BONDSTATUS']._serialized_end=5920 + _globals['_INFRACTION']._serialized_start=5922 + _globals['_INFRACTION']._serialized_end=6015 + _globals['_HISTORICALINFO']._serialized_start=316 + _globals['_HISTORICALINFO']._serialized_end=463 + _globals['_COMMISSIONRATES']._serialized_start=466 + _globals['_COMMISSIONRATES']._serialized_end=744 + _globals['_COMMISSION']._serialized_start=747 + _globals['_COMMISSION']._serialized_end=940 + _globals['_DESCRIPTION']._serialized_start=943 + _globals['_DESCRIPTION']._serialized_end=1111 + _globals['_VALIDATOR']._serialized_start=1114 + _globals['_VALIDATOR']._serialized_end=2020 + _globals['_VALADDRESSES']._serialized_start=2022 + _globals['_VALADDRESSES']._serialized_end=2092 + _globals['_DVPAIR']._serialized_start=2095 + _globals['_DVPAIR']._serialized_end=2264 + _globals['_DVPAIRS']._serialized_start=2266 + _globals['_DVPAIRS']._serialized_end=2340 + _globals['_DVVTRIPLET']._serialized_start=2343 + _globals['_DVVTRIPLET']._serialized_end=2610 + _globals['_DVVTRIPLETS']._serialized_start=2612 + _globals['_DVVTRIPLETS']._serialized_end=2700 + _globals['_DELEGATION']._serialized_start=2703 + _globals['_DELEGATION']._serialized_end=2951 + _globals['_UNBONDINGDELEGATION']._serialized_start=2954 + _globals['_UNBONDINGDELEGATION']._serialized_end=3223 + _globals['_UNBONDINGDELEGATIONENTRY']._serialized_start=3226 + _globals['_UNBONDINGDELEGATIONENTRY']._serialized_end=3637 + _globals['_REDELEGATIONENTRY']._serialized_start=3640 + _globals['_REDELEGATIONENTRY']._serialized_end=4055 + _globals['_REDELEGATION']._serialized_start=4058 + _globals['_REDELEGATION']._serialized_end=4407 + _globals['_PARAMS']._serialized_start=4410 + _globals['_PARAMS']._serialized_end=4822 + _globals['_DELEGATIONRESPONSE']._serialized_start=4825 + _globals['_DELEGATIONRESPONSE']._serialized_end=4994 + _globals['_REDELEGATIONENTRYRESPONSE']._serialized_start=4997 + _globals['_REDELEGATIONENTRYRESPONSE']._serialized_end=5202 + _globals['_REDELEGATIONRESPONSE']._serialized_start=5205 + _globals['_REDELEGATIONRESPONSE']._serialized_end=5406 + _globals['_POOL']._serialized_start=5409 + _globals['_POOL']._serialized_end=5644 + _globals['_VALIDATORUPDATES']._serialized_start=5646 + _globals['_VALIDATORUPDATES']._serialized_end=5735 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/staking/v1beta1/staking_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/cosmos/staking/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2.py new file mode 100644 index 00000000..ecf2a7aa --- /dev/null +++ b/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2.py @@ -0,0 +1,137 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/staking/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.staking.v1beta1 import staking_pb2 as cosmos_dot_staking_dot_v1beta1_dot_staking__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/staking/v1beta1/tx.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xfb\x04\n\x12MsgCreateValidator\x12P\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12R\n\ncommission\x18\x02 \x01(\x0b\x32\'.cosmos.staking.v1beta1.CommissionRatesB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission\x12`\n\x13min_self_delegation\x18\x03 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x11minSelfDelegation\x12G\n\x11\x64\x65legator_address\x18\x04 \x01(\tB\x1a\x18\x01\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x05 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x46\n\x06pubkey\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\x18\xca\xb4-\x14\x63osmos.crypto.PubKeyR\x06pubkey\x12:\n\x05value\x18\x07 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05value:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgCreateValidator\"\x1c\n\x1aMsgCreateValidatorResponse\"\xa5\x03\n\x10MsgEditValidator\x12P\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12V\n\x0f\x63ommission_rate\x18\x03 \x01(\tB-\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x0e\x63ommissionRate\x12W\n\x13min_self_delegation\x18\x04 \x01(\tB\'\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x11minSelfDelegation:>\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgEditValidator\"\x1a\n\x18MsgEditValidatorResponse\"\x9d\x02\n\x0bMsgDelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgDelegate\"\x15\n\x13MsgDelegateResponse\"\x89\x03\n\x12MsgBeginRedelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress\x12<\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgBeginRedelegate\"p\n\x1aMsgBeginRedelegateResponse\x12R\n\x0f\x63ompletion_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\"\xa1\x02\n\rMsgUndelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x18\x63osmos-sdk/MsgUndelegate\"\xa9\x01\n\x15MsgUndelegateResponse\x12R\n\x0f\x63ompletion_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12<\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\"\xe8\x02\n\x1cMsgCancelUnbondingDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\x12\'\n\x0f\x63reation_height\x18\x04 \x01(\x03R\x0e\x63reationHeight:J\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\'cosmos-sdk/MsgCancelUnbondingDelegation\"&\n$MsgCancelUnbondingDelegationResponse\"\xc5\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x41\n\x06params\x18\x02 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$cosmos-sdk/x/staking/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\x9d\x06\n\x03Msg\x12q\n\x0f\x43reateValidator\x12*.cosmos.staking.v1beta1.MsgCreateValidator\x1a\x32.cosmos.staking.v1beta1.MsgCreateValidatorResponse\x12k\n\rEditValidator\x12(.cosmos.staking.v1beta1.MsgEditValidator\x1a\x30.cosmos.staking.v1beta1.MsgEditValidatorResponse\x12\\\n\x08\x44\x65legate\x12#.cosmos.staking.v1beta1.MsgDelegate\x1a+.cosmos.staking.v1beta1.MsgDelegateResponse\x12q\n\x0f\x42\x65ginRedelegate\x12*.cosmos.staking.v1beta1.MsgBeginRedelegate\x1a\x32.cosmos.staking.v1beta1.MsgBeginRedelegateResponse\x12\x62\n\nUndelegate\x12%.cosmos.staking.v1beta1.MsgUndelegate\x1a-.cosmos.staking.v1beta1.MsgUndelegateResponse\x12\x8f\x01\n\x19\x43\x61ncelUnbondingDelegation\x12\x34.cosmos.staking.v1beta1.MsgCancelUnbondingDelegation\x1a<.cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse\x12h\n\x0cUpdateParams\x12\'.cosmos.staking.v1beta1.MsgUpdateParams\x1a/.cosmos.staking.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xcd\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x07TxProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\007TxProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' + _globals['_MSGCREATEVALIDATOR'].fields_by_name['description']._loaded_options = None + _globals['_MSGCREATEVALIDATOR'].fields_by_name['description']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGCREATEVALIDATOR'].fields_by_name['commission']._loaded_options = None + _globals['_MSGCREATEVALIDATOR'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGCREATEVALIDATOR'].fields_by_name['min_self_delegation']._loaded_options = None + _globals['_MSGCREATEVALIDATOR'].fields_by_name['min_self_delegation']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001' + _globals['_MSGCREATEVALIDATOR'].fields_by_name['delegator_address']._loaded_options = None + _globals['_MSGCREATEVALIDATOR'].fields_by_name['delegator_address']._serialized_options = b'\030\001\322\264-\024cosmos.AddressString' + _globals['_MSGCREATEVALIDATOR'].fields_by_name['validator_address']._loaded_options = None + _globals['_MSGCREATEVALIDATOR'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGCREATEVALIDATOR'].fields_by_name['pubkey']._loaded_options = None + _globals['_MSGCREATEVALIDATOR'].fields_by_name['pubkey']._serialized_options = b'\312\264-\024cosmos.crypto.PubKey' + _globals['_MSGCREATEVALIDATOR'].fields_by_name['value']._loaded_options = None + _globals['_MSGCREATEVALIDATOR'].fields_by_name['value']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGCREATEVALIDATOR']._loaded_options = None + _globals['_MSGCREATEVALIDATOR']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*\035cosmos-sdk/MsgCreateValidator' + _globals['_MSGEDITVALIDATOR'].fields_by_name['description']._loaded_options = None + _globals['_MSGEDITVALIDATOR'].fields_by_name['description']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGEDITVALIDATOR'].fields_by_name['validator_address']._loaded_options = None + _globals['_MSGEDITVALIDATOR'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGEDITVALIDATOR'].fields_by_name['commission_rate']._loaded_options = None + _globals['_MSGEDITVALIDATOR'].fields_by_name['commission_rate']._serialized_options = b'\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_MSGEDITVALIDATOR'].fields_by_name['min_self_delegation']._loaded_options = None + _globals['_MSGEDITVALIDATOR'].fields_by_name['min_self_delegation']._serialized_options = b'\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_MSGEDITVALIDATOR']._loaded_options = None + _globals['_MSGEDITVALIDATOR']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*\033cosmos-sdk/MsgEditValidator' + _globals['_MSGDELEGATE'].fields_by_name['delegator_address']._loaded_options = None + _globals['_MSGDELEGATE'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGDELEGATE'].fields_by_name['validator_address']._loaded_options = None + _globals['_MSGDELEGATE'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGDELEGATE'].fields_by_name['amount']._loaded_options = None + _globals['_MSGDELEGATE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGDELEGATE']._loaded_options = None + _globals['_MSGDELEGATE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\026cosmos-sdk/MsgDelegate' + _globals['_MSGBEGINREDELEGATE'].fields_by_name['delegator_address']._loaded_options = None + _globals['_MSGBEGINREDELEGATE'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGBEGINREDELEGATE'].fields_by_name['validator_src_address']._loaded_options = None + _globals['_MSGBEGINREDELEGATE'].fields_by_name['validator_src_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGBEGINREDELEGATE'].fields_by_name['validator_dst_address']._loaded_options = None + _globals['_MSGBEGINREDELEGATE'].fields_by_name['validator_dst_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGBEGINREDELEGATE'].fields_by_name['amount']._loaded_options = None + _globals['_MSGBEGINREDELEGATE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGBEGINREDELEGATE']._loaded_options = None + _globals['_MSGBEGINREDELEGATE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\035cosmos-sdk/MsgBeginRedelegate' + _globals['_MSGBEGINREDELEGATERESPONSE'].fields_by_name['completion_time']._loaded_options = None + _globals['_MSGBEGINREDELEGATERESPONSE'].fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_MSGUNDELEGATE'].fields_by_name['delegator_address']._loaded_options = None + _globals['_MSGUNDELEGATE'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUNDELEGATE'].fields_by_name['validator_address']._loaded_options = None + _globals['_MSGUNDELEGATE'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGUNDELEGATE'].fields_by_name['amount']._loaded_options = None + _globals['_MSGUNDELEGATE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUNDELEGATE']._loaded_options = None + _globals['_MSGUNDELEGATE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\030cosmos-sdk/MsgUndelegate' + _globals['_MSGUNDELEGATERESPONSE'].fields_by_name['completion_time']._loaded_options = None + _globals['_MSGUNDELEGATERESPONSE'].fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_MSGUNDELEGATERESPONSE'].fields_by_name['amount']._loaded_options = None + _globals['_MSGUNDELEGATERESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['delegator_address']._loaded_options = None + _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['validator_address']._loaded_options = None + _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['amount']._loaded_options = None + _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGCANCELUNBONDINGDELEGATION']._loaded_options = None + _globals['_MSGCANCELUNBONDINGDELEGATION']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\'cosmos-sdk/MsgCancelUnbondingDelegation' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*$cosmos-sdk/x/staking/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGCREATEVALIDATOR']._serialized_start=283 + _globals['_MSGCREATEVALIDATOR']._serialized_end=918 + _globals['_MSGCREATEVALIDATORRESPONSE']._serialized_start=920 + _globals['_MSGCREATEVALIDATORRESPONSE']._serialized_end=948 + _globals['_MSGEDITVALIDATOR']._serialized_start=951 + _globals['_MSGEDITVALIDATOR']._serialized_end=1372 + _globals['_MSGEDITVALIDATORRESPONSE']._serialized_start=1374 + _globals['_MSGEDITVALIDATORRESPONSE']._serialized_end=1400 + _globals['_MSGDELEGATE']._serialized_start=1403 + _globals['_MSGDELEGATE']._serialized_end=1688 + _globals['_MSGDELEGATERESPONSE']._serialized_start=1690 + _globals['_MSGDELEGATERESPONSE']._serialized_end=1711 + _globals['_MSGBEGINREDELEGATE']._serialized_start=1714 + _globals['_MSGBEGINREDELEGATE']._serialized_end=2107 + _globals['_MSGBEGINREDELEGATERESPONSE']._serialized_start=2109 + _globals['_MSGBEGINREDELEGATERESPONSE']._serialized_end=2221 + _globals['_MSGUNDELEGATE']._serialized_start=2224 + _globals['_MSGUNDELEGATE']._serialized_end=2513 + _globals['_MSGUNDELEGATERESPONSE']._serialized_start=2516 + _globals['_MSGUNDELEGATERESPONSE']._serialized_end=2685 + _globals['_MSGCANCELUNBONDINGDELEGATION']._serialized_start=2688 + _globals['_MSGCANCELUNBONDINGDELEGATION']._serialized_end=3048 + _globals['_MSGCANCELUNBONDINGDELEGATIONRESPONSE']._serialized_start=3050 + _globals['_MSGCANCELUNBONDINGDELEGATIONRESPONSE']._serialized_end=3088 + _globals['_MSGUPDATEPARAMS']._serialized_start=3091 + _globals['_MSGUPDATEPARAMS']._serialized_end=3288 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=3290 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=3315 + _globals['_MSG']._serialized_start=3318 + _globals['_MSG']._serialized_end=4115 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..f4113b4b --- /dev/null +++ b/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,353 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.staking.v1beta1 import tx_pb2 as cosmos_dot_staking_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the staking Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateValidator = channel.unary_unary( + '/cosmos.staking.v1beta1.Msg/CreateValidator', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidator.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidatorResponse.FromString, + _registered_method=True) + self.EditValidator = channel.unary_unary( + '/cosmos.staking.v1beta1.Msg/EditValidator', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidator.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidatorResponse.FromString, + _registered_method=True) + self.Delegate = channel.unary_unary( + '/cosmos.staking.v1beta1.Msg/Delegate', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegate.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegateResponse.FromString, + _registered_method=True) + self.BeginRedelegate = channel.unary_unary( + '/cosmos.staking.v1beta1.Msg/BeginRedelegate', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegate.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegateResponse.FromString, + _registered_method=True) + self.Undelegate = channel.unary_unary( + '/cosmos.staking.v1beta1.Msg/Undelegate', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegate.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegateResponse.FromString, + _registered_method=True) + self.CancelUnbondingDelegation = channel.unary_unary( + '/cosmos.staking.v1beta1.Msg/CancelUnbondingDelegation', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegation.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegationResponse.FromString, + _registered_method=True) + self.UpdateParams = channel.unary_unary( + '/cosmos.staking.v1beta1.Msg/UpdateParams', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the staking Msg service. + """ + + def CreateValidator(self, request, context): + """CreateValidator defines a method for creating a new validator. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def EditValidator(self, request, context): + """EditValidator defines a method for editing an existing validator. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Delegate(self, request, context): + """Delegate defines a method for performing a delegation of coins + from a delegator to a validator. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BeginRedelegate(self, request, context): + """BeginRedelegate defines a method for performing a redelegation + of coins from a delegator and source validator to a destination validator. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Undelegate(self, request, context): + """Undelegate defines a method for performing an undelegation from a + delegate and a validator. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CancelUnbondingDelegation(self, request, context): + """CancelUnbondingDelegation defines a method for performing canceling the unbonding delegation + and delegate back to previous validator. + + Since: cosmos-sdk 0.46 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """UpdateParams defines an operation for updating the x/staking module + parameters. + Since: cosmos-sdk 0.47 + """ + 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 = { + 'CreateValidator': grpc.unary_unary_rpc_method_handler( + servicer.CreateValidator, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidator.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidatorResponse.SerializeToString, + ), + 'EditValidator': grpc.unary_unary_rpc_method_handler( + servicer.EditValidator, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidator.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidatorResponse.SerializeToString, + ), + 'Delegate': grpc.unary_unary_rpc_method_handler( + servicer.Delegate, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegate.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegateResponse.SerializeToString, + ), + 'BeginRedelegate': grpc.unary_unary_rpc_method_handler( + servicer.BeginRedelegate, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegate.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegateResponse.SerializeToString, + ), + 'Undelegate': grpc.unary_unary_rpc_method_handler( + servicer.Undelegate, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegate.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegateResponse.SerializeToString, + ), + 'CancelUnbondingDelegation': grpc.unary_unary_rpc_method_handler( + servicer.CancelUnbondingDelegation, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegation.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegationResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.staking.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.staking.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the staking Msg service. + """ + + @staticmethod + def CreateValidator(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Msg/CreateValidator', + cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidator.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidatorResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def EditValidator(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Msg/EditValidator', + cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidator.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidatorResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Delegate(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Msg/Delegate', + cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegate.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BeginRedelegate(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Msg/BeginRedelegate', + cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegate.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Undelegate(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Msg/Undelegate', + cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegate.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CancelUnbondingDelegation(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Msg/CancelUnbondingDelegation', + cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegation.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.staking.v1beta1.Msg/UpdateParams', + cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2.py b/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2.py new file mode 100644 index 00000000..38edb1c1 --- /dev/null +++ b/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/store/internal/kv/v1beta1/kv.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)cosmos/store/internal/kv/v1beta1/kv.proto\x12 cosmos.store.internal.kv.v1beta1\x1a\x14gogoproto/gogo.proto\"K\n\x05Pairs\x12\x42\n\x05pairs\x18\x01 \x03(\x0b\x32&.cosmos.store.internal.kv.v1beta1.PairB\x04\xc8\xde\x1f\x00R\x05pairs\".\n\x04Pair\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05valueB\xf4\x01\n$com.cosmos.store.internal.kv.v1beta1B\x07KvProtoP\x01Z\x1e\x63osmossdk.io/store/internal/kv\xa2\x02\x04\x43SIK\xaa\x02 Cosmos.Store.Internal.Kv.V1beta1\xca\x02 Cosmos\\Store\\Internal\\Kv\\V1beta1\xe2\x02,Cosmos\\Store\\Internal\\Kv\\V1beta1\\GPBMetadata\xea\x02$Cosmos::Store::Internal::Kv::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.internal.kv.v1beta1.kv_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n$com.cosmos.store.internal.kv.v1beta1B\007KvProtoP\001Z\036cosmossdk.io/store/internal/kv\242\002\004CSIK\252\002 Cosmos.Store.Internal.Kv.V1beta1\312\002 Cosmos\\Store\\Internal\\Kv\\V1beta1\342\002,Cosmos\\Store\\Internal\\Kv\\V1beta1\\GPBMetadata\352\002$Cosmos::Store::Internal::Kv::V1beta1' + _globals['_PAIRS'].fields_by_name['pairs']._loaded_options = None + _globals['_PAIRS'].fields_by_name['pairs']._serialized_options = b'\310\336\037\000' + _globals['_PAIRS']._serialized_start=101 + _globals['_PAIRS']._serialized_end=176 + _globals['_PAIR']._serialized_start=178 + _globals['_PAIR']._serialized_end=224 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2_grpc.py b/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_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/cosmos/store/snapshots/v1/snapshot_pb2.py b/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2.py new file mode 100644 index 00000000..82ec32df --- /dev/null +++ b/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/store/snapshots/v1/snapshot.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(cosmos/store/snapshots/v1/snapshot.proto\x12\x19\x63osmos.store.snapshots.v1\x1a\x14gogoproto/gogo.proto\"\xad\x01\n\x08Snapshot\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x16\n\x06\x63hunks\x18\x03 \x01(\rR\x06\x63hunks\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x45\n\x08metadata\x18\x05 \x01(\x0b\x32#.cosmos.store.snapshots.v1.MetadataB\x04\xc8\xde\x1f\x00R\x08metadata\"-\n\x08Metadata\x12!\n\x0c\x63hunk_hashes\x18\x01 \x03(\x0cR\x0b\x63hunkHashes\"\xdf\x02\n\x0cSnapshotItem\x12\x44\n\x05store\x18\x01 \x01(\x0b\x32,.cosmos.store.snapshots.v1.SnapshotStoreItemH\x00R\x05store\x12K\n\x04iavl\x18\x02 \x01(\x0b\x32+.cosmos.store.snapshots.v1.SnapshotIAVLItemB\x08\xe2\xde\x1f\x04IAVLH\x00R\x04iavl\x12P\n\textension\x18\x03 \x01(\x0b\x32\x30.cosmos.store.snapshots.v1.SnapshotExtensionMetaH\x00R\textension\x12\x62\n\x11\x65xtension_payload\x18\x04 \x01(\x0b\x32\x33.cosmos.store.snapshots.v1.SnapshotExtensionPayloadH\x00R\x10\x65xtensionPayloadB\x06\n\x04item\"\'\n\x11SnapshotStoreItem\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"l\n\x10SnapshotIAVLItem\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12\x18\n\x07version\x18\x03 \x01(\x03R\x07version\x12\x16\n\x06height\x18\x04 \x01(\x05R\x06height\"C\n\x15SnapshotExtensionMeta\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\"4\n\x18SnapshotExtensionPayload\x12\x18\n\x07payload\x18\x01 \x01(\x0cR\x07payloadB\xd9\x01\n\x1d\x63om.cosmos.store.snapshots.v1B\rSnapshotProtoP\x01Z\"cosmossdk.io/store/snapshots/types\xa2\x02\x03\x43SS\xaa\x02\x19\x43osmos.Store.Snapshots.V1\xca\x02\x19\x43osmos\\Store\\Snapshots\\V1\xe2\x02%Cosmos\\Store\\Snapshots\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Store::Snapshots::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.snapshots.v1.snapshot_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.store.snapshots.v1B\rSnapshotProtoP\001Z\"cosmossdk.io/store/snapshots/types\242\002\003CSS\252\002\031Cosmos.Store.Snapshots.V1\312\002\031Cosmos\\Store\\Snapshots\\V1\342\002%Cosmos\\Store\\Snapshots\\V1\\GPBMetadata\352\002\034Cosmos::Store::Snapshots::V1' + _globals['_SNAPSHOT'].fields_by_name['metadata']._loaded_options = None + _globals['_SNAPSHOT'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000' + _globals['_SNAPSHOTITEM'].fields_by_name['iavl']._loaded_options = None + _globals['_SNAPSHOTITEM'].fields_by_name['iavl']._serialized_options = b'\342\336\037\004IAVL' + _globals['_SNAPSHOT']._serialized_start=94 + _globals['_SNAPSHOT']._serialized_end=267 + _globals['_METADATA']._serialized_start=269 + _globals['_METADATA']._serialized_end=314 + _globals['_SNAPSHOTITEM']._serialized_start=317 + _globals['_SNAPSHOTITEM']._serialized_end=668 + _globals['_SNAPSHOTSTOREITEM']._serialized_start=670 + _globals['_SNAPSHOTSTOREITEM']._serialized_end=709 + _globals['_SNAPSHOTIAVLITEM']._serialized_start=711 + _globals['_SNAPSHOTIAVLITEM']._serialized_end=819 + _globals['_SNAPSHOTEXTENSIONMETA']._serialized_start=821 + _globals['_SNAPSHOTEXTENSIONMETA']._serialized_end=888 + _globals['_SNAPSHOTEXTENSIONPAYLOAD']._serialized_start=890 + _globals['_SNAPSHOTEXTENSIONPAYLOAD']._serialized_end=942 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2_grpc.py b/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_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/cosmos/store/streaming/abci/grpc_pb2.py b/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2.py new file mode 100644 index 00000000..c1d7ec5c --- /dev/null +++ b/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/store/streaming/abci/grpc.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 +from pyinjective.proto.cosmos.store.v1beta1 import listening_pb2 as cosmos_dot_store_dot_v1beta1_dot_listening__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/store/streaming/abci/grpc.proto\x12\x1b\x63osmos.store.streaming.abci\x1a\x1btendermint/abci/types.proto\x1a$cosmos/store/v1beta1/listening.proto\"\x8f\x01\n\x1aListenFinalizeBlockRequest\x12\x37\n\x03req\x18\x01 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockR\x03req\x12\x38\n\x03res\x18\x02 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockR\x03res\"\x1d\n\x1bListenFinalizeBlockResponse\"\xad\x01\n\x13ListenCommitRequest\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x03R\x0b\x62lockHeight\x12\x31\n\x03res\x18\x02 \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitR\x03res\x12@\n\nchange_set\x18\x03 \x03(\x0b\x32!.cosmos.store.v1beta1.StoreKVPairR\tchangeSet\"\x16\n\x14ListenCommitResponse2\x95\x02\n\x13\x41\x42\x43IListenerService\x12\x88\x01\n\x13ListenFinalizeBlock\x12\x37.cosmos.store.streaming.abci.ListenFinalizeBlockRequest\x1a\x38.cosmos.store.streaming.abci.ListenFinalizeBlockResponse\x12s\n\x0cListenCommit\x12\x30.cosmos.store.streaming.abci.ListenCommitRequest\x1a\x31.cosmos.store.streaming.abci.ListenCommitResponseB\xdf\x01\n\x1f\x63om.cosmos.store.streaming.abciB\tGrpcProtoP\x01Z!cosmossdk.io/store/streaming/abci\xa2\x02\x04\x43SSA\xaa\x02\x1b\x43osmos.Store.Streaming.Abci\xca\x02\x1b\x43osmos\\Store\\Streaming\\Abci\xe2\x02\'Cosmos\\Store\\Streaming\\Abci\\GPBMetadata\xea\x02\x1e\x43osmos::Store::Streaming::Abcib\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.streaming.abci.grpc_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.store.streaming.abciB\tGrpcProtoP\001Z!cosmossdk.io/store/streaming/abci\242\002\004CSSA\252\002\033Cosmos.Store.Streaming.Abci\312\002\033Cosmos\\Store\\Streaming\\Abci\342\002\'Cosmos\\Store\\Streaming\\Abci\\GPBMetadata\352\002\036Cosmos::Store::Streaming::Abci' + _globals['_LISTENFINALIZEBLOCKREQUEST']._serialized_start=139 + _globals['_LISTENFINALIZEBLOCKREQUEST']._serialized_end=282 + _globals['_LISTENFINALIZEBLOCKRESPONSE']._serialized_start=284 + _globals['_LISTENFINALIZEBLOCKRESPONSE']._serialized_end=313 + _globals['_LISTENCOMMITREQUEST']._serialized_start=316 + _globals['_LISTENCOMMITREQUEST']._serialized_end=489 + _globals['_LISTENCOMMITRESPONSE']._serialized_start=491 + _globals['_LISTENCOMMITRESPONSE']._serialized_end=513 + _globals['_ABCILISTENERSERVICE']._serialized_start=516 + _globals['_ABCILISTENERSERVICE']._serialized_end=793 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2_grpc.py b/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2_grpc.py new file mode 100644 index 00000000..da99ee14 --- /dev/null +++ b/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2_grpc.py @@ -0,0 +1,125 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.store.streaming.abci import grpc_pb2 as cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2 + + +class ABCIListenerServiceStub(object): + """ABCIListenerService is the service for the BaseApp ABCIListener interface + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.ListenFinalizeBlock = channel.unary_unary( + '/cosmos.store.streaming.abci.ABCIListenerService/ListenFinalizeBlock', + request_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockRequest.SerializeToString, + response_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockResponse.FromString, + _registered_method=True) + self.ListenCommit = channel.unary_unary( + '/cosmos.store.streaming.abci.ABCIListenerService/ListenCommit', + request_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitRequest.SerializeToString, + response_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitResponse.FromString, + _registered_method=True) + + +class ABCIListenerServiceServicer(object): + """ABCIListenerService is the service for the BaseApp ABCIListener interface + """ + + def ListenFinalizeBlock(self, request, context): + """ListenFinalizeBlock is the corresponding endpoint for ABCIListener.ListenEndBlock + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListenCommit(self, request, context): + """ListenCommit is the corresponding endpoint for ABCIListener.ListenCommit + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ABCIListenerServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'ListenFinalizeBlock': grpc.unary_unary_rpc_method_handler( + servicer.ListenFinalizeBlock, + request_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockRequest.FromString, + response_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockResponse.SerializeToString, + ), + 'ListenCommit': grpc.unary_unary_rpc_method_handler( + servicer.ListenCommit, + request_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitRequest.FromString, + response_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.store.streaming.abci.ABCIListenerService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.store.streaming.abci.ABCIListenerService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class ABCIListenerService(object): + """ABCIListenerService is the service for the BaseApp ABCIListener interface + """ + + @staticmethod + def ListenFinalizeBlock(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.store.streaming.abci.ABCIListenerService/ListenFinalizeBlock', + cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockRequest.SerializeToString, + cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ListenCommit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.store.streaming.abci.ABCIListenerService/ListenCommit', + cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitRequest.SerializeToString, + cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2.py b/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2.py new file mode 100644 index 00000000..d6612ccd --- /dev/null +++ b/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/store/v1beta1/commit_info.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/store/v1beta1/commit_info.proto\x12\x14\x63osmos.store.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb2\x01\n\nCommitInfo\x12\x18\n\x07version\x18\x01 \x01(\x03R\x07version\x12\x46\n\x0bstore_infos\x18\x02 \x03(\x0b\x32\x1f.cosmos.store.v1beta1.StoreInfoB\x04\xc8\xde\x1f\x00R\nstoreInfos\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\"b\n\tStoreInfo\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x41\n\tcommit_id\x18\x02 \x01(\x0b\x32\x1e.cosmos.store.v1beta1.CommitIDB\x04\xc8\xde\x1f\x00R\x08\x63ommitId\">\n\x08\x43ommitID\x12\x18\n\x07version\x18\x01 \x01(\x03R\x07version\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash:\x04\x98\xa0\x1f\x00\x42\xb7\x01\n\x18\x63om.cosmos.store.v1beta1B\x0f\x43ommitInfoProtoP\x01Z\x18\x63osmossdk.io/store/types\xa2\x02\x03\x43SX\xaa\x02\x14\x43osmos.Store.V1beta1\xca\x02\x14\x43osmos\\Store\\V1beta1\xe2\x02 Cosmos\\Store\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Store::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.v1beta1.commit_info_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.store.v1beta1B\017CommitInfoProtoP\001Z\030cosmossdk.io/store/types\242\002\003CSX\252\002\024Cosmos.Store.V1beta1\312\002\024Cosmos\\Store\\V1beta1\342\002 Cosmos\\Store\\V1beta1\\GPBMetadata\352\002\026Cosmos::Store::V1beta1' + _globals['_COMMITINFO'].fields_by_name['store_infos']._loaded_options = None + _globals['_COMMITINFO'].fields_by_name['store_infos']._serialized_options = b'\310\336\037\000' + _globals['_COMMITINFO'].fields_by_name['timestamp']._loaded_options = None + _globals['_COMMITINFO'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_STOREINFO'].fields_by_name['commit_id']._loaded_options = None + _globals['_STOREINFO'].fields_by_name['commit_id']._serialized_options = b'\310\336\037\000' + _globals['_COMMITID']._loaded_options = None + _globals['_COMMITID']._serialized_options = b'\230\240\037\000' + _globals['_COMMITINFO']._serialized_start=120 + _globals['_COMMITINFO']._serialized_end=298 + _globals['_STOREINFO']._serialized_start=300 + _globals['_STOREINFO']._serialized_end=398 + _globals['_COMMITID']._serialized_start=400 + _globals['_COMMITID']._serialized_end=462 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2_grpc.py b/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/store/v1beta1/commit_info_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/cosmos/store/v1beta1/listening_pb2.py b/pyinjective/proto/cosmos/store/v1beta1/listening_pb2.py new file mode 100644 index 00000000..2234f381 --- /dev/null +++ b/pyinjective/proto/cosmos/store/v1beta1/listening_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/store/v1beta1/listening.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/store/v1beta1/listening.proto\x12\x14\x63osmos.store.v1beta1\x1a\x1btendermint/abci/types.proto\"j\n\x0bStoreKVPair\x12\x1b\n\tstore_key\x18\x01 \x01(\tR\x08storeKey\x12\x16\n\x06\x64\x65lete\x18\x02 \x01(\x08R\x06\x64\x65lete\x12\x10\n\x03key\x18\x03 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x04 \x01(\x0cR\x05value\"\xb4\x02\n\rBlockMetadata\x12H\n\x0fresponse_commit\x18\x06 \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitR\x0eresponseCommit\x12[\n\x16request_finalize_block\x18\x07 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockR\x14requestFinalizeBlock\x12^\n\x17response_finalize_block\x18\x08 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockR\x15responseFinalizeBlockJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\x42\xb6\x01\n\x18\x63om.cosmos.store.v1beta1B\x0eListeningProtoP\x01Z\x18\x63osmossdk.io/store/types\xa2\x02\x03\x43SX\xaa\x02\x14\x43osmos.Store.V1beta1\xca\x02\x14\x43osmos\\Store\\V1beta1\xe2\x02 Cosmos\\Store\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Store::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.v1beta1.listening_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.store.v1beta1B\016ListeningProtoP\001Z\030cosmossdk.io/store/types\242\002\003CSX\252\002\024Cosmos.Store.V1beta1\312\002\024Cosmos\\Store\\V1beta1\342\002 Cosmos\\Store\\V1beta1\\GPBMetadata\352\002\026Cosmos::Store::V1beta1' + _globals['_STOREKVPAIR']._serialized_start=91 + _globals['_STOREKVPAIR']._serialized_end=197 + _globals['_BLOCKMETADATA']._serialized_start=200 + _globals['_BLOCKMETADATA']._serialized_end=508 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/v1beta1/listening_pb2_grpc.py b/pyinjective/proto/cosmos/store/v1beta1/listening_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/store/v1beta1/listening_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/cosmos/tx/config/v1/config_pb2.py b/pyinjective/proto/cosmos/tx/config/v1/config_pb2.py new file mode 100644 index 00000000..c255f1db --- /dev/null +++ b/pyinjective/proto/cosmos/tx/config/v1/config_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/tx/config/v1/config.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/tx/config/v1/config.proto\x12\x13\x63osmos.tx.config.v1\x1a cosmos/app/v1alpha1/module.proto\"\x90\x01\n\x06\x43onfig\x12*\n\x11skip_ante_handler\x18\x01 \x01(\x08R\x0fskipAnteHandler\x12*\n\x11skip_post_handler\x18\x02 \x01(\x08R\x0fskipPostHandler:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/auth/txB\x95\x01\n\x17\x63om.cosmos.tx.config.v1B\x0b\x43onfigProtoP\x01\xa2\x02\x03\x43TC\xaa\x02\x13\x43osmos.Tx.Config.V1\xca\x02\x13\x43osmos\\Tx\\Config\\V1\xe2\x02\x1f\x43osmos\\Tx\\Config\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Tx::Config::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.config.v1.config_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.tx.config.v1B\013ConfigProtoP\001\242\002\003CTC\252\002\023Cosmos.Tx.Config.V1\312\002\023Cosmos\\Tx\\Config\\V1\342\002\037Cosmos\\Tx\\Config\\V1\\GPBMetadata\352\002\026Cosmos::Tx::Config::V1' + _globals['_CONFIG']._loaded_options = None + _globals['_CONFIG']._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/auth/tx' + _globals['_CONFIG']._serialized_start=92 + _globals['_CONFIG']._serialized_end=236 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/config/v1/config_pb2_grpc.py b/pyinjective/proto/cosmos/tx/config/v1/config_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/tx/config/v1/config_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/cosmos/tx/signing/v1beta1/signing_pb2.py b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py new file mode 100644 index 00000000..cf473ea7 --- /dev/null +++ b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/tx/signing/v1beta1/signing.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.crypto.multisig.v1beta1 import multisig_pb2 as cosmos_dot_crypto_dot_multisig_dot_v1beta1_dot_multisig__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/tx/signing/v1beta1/signing.proto\x12\x19\x63osmos.tx.signing.v1beta1\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x19google/protobuf/any.proto\"f\n\x14SignatureDescriptors\x12N\n\nsignatures\x18\x01 \x03(\x0b\x32..cosmos.tx.signing.v1beta1.SignatureDescriptorR\nsignatures\"\xf5\x04\n\x13SignatureDescriptor\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12G\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataR\x04\x64\x61ta\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x1a\xc3\x03\n\x04\x44\x61ta\x12T\n\x06single\x18\x01 \x01(\x0b\x32:.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.SingleH\x00R\x06single\x12Q\n\x05multi\x18\x02 \x01(\x0b\x32\x39.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.MultiH\x00R\x05multi\x1a_\n\x06Single\x12\x37\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x12\x1c\n\tsignature\x18\x02 \x01(\x0cR\tsignature\x1a\xa9\x01\n\x05Multi\x12K\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArrayR\x08\x62itarray\x12S\n\nsignatures\x18\x02 \x03(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataR\nsignaturesB\x05\n\x03sum*\xbf\x01\n\x08SignMode\x12\x19\n\x15SIGN_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10SIGN_MODE_DIRECT\x10\x01\x12\x15\n\x11SIGN_MODE_TEXTUAL\x10\x02\x12\x18\n\x14SIGN_MODE_DIRECT_AUX\x10\x03\x12\x1f\n\x1bSIGN_MODE_LEGACY_AMINO_JSON\x10\x7f\x12\x18\n\x13SIGN_MODE_EIP712_V2\x10\x80\x01\x12\x16\n\x11SIGN_MODE_EIP_191\x10\xbf\x01\x42\xe3\x01\n\x1d\x63om.cosmos.tx.signing.v1beta1B\x0cSigningProtoP\x01Z-github.com/cosmos/cosmos-sdk/types/tx/signing\xa2\x02\x03\x43TS\xaa\x02\x19\x43osmos.Tx.Signing.V1beta1\xca\x02\x19\x43osmos\\Tx\\Signing\\V1beta1\xe2\x02%Cosmos\\Tx\\Signing\\V1beta1\\GPBMetadata\xea\x02\x1c\x43osmos::Tx::Signing::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.signing.v1beta1.signing_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.tx.signing.v1beta1B\014SigningProtoP\001Z-github.com/cosmos/cosmos-sdk/types/tx/signing\242\002\003CTS\252\002\031Cosmos.Tx.Signing.V1beta1\312\002\031Cosmos\\Tx\\Signing\\V1beta1\342\002%Cosmos\\Tx\\Signing\\V1beta1\\GPBMetadata\352\002\034Cosmos::Tx::Signing::V1beta1' + _globals['_SIGNMODE']._serialized_start=881 + _globals['_SIGNMODE']._serialized_end=1072 + _globals['_SIGNATUREDESCRIPTORS']._serialized_start=144 + _globals['_SIGNATUREDESCRIPTORS']._serialized_end=246 + _globals['_SIGNATUREDESCRIPTOR']._serialized_start=249 + _globals['_SIGNATUREDESCRIPTOR']._serialized_end=878 + _globals['_SIGNATUREDESCRIPTOR_DATA']._serialized_start=427 + _globals['_SIGNATUREDESCRIPTOR_DATA']._serialized_end=878 + _globals['_SIGNATUREDESCRIPTOR_DATA_SINGLE']._serialized_start=604 + _globals['_SIGNATUREDESCRIPTOR_DATA_SINGLE']._serialized_end=699 + _globals['_SIGNATUREDESCRIPTOR_DATA_MULTI']._serialized_start=702 + _globals['_SIGNATUREDESCRIPTOR_DATA_MULTI']._serialized_end=871 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2_grpc.py b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_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/cosmos/tx/v1beta1/service_pb2.py b/pyinjective/proto/cosmos/tx/v1beta1/service_pb2.py new file mode 100644 index 00000000..e2512d9e --- /dev/null +++ b/pyinjective/proto/cosmos/tx/v1beta1/service_pb2.py @@ -0,0 +1,101 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/tx/v1beta1/service.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.base.abci.v1beta1 import abci_pb2 as cosmos_dot_base_dot_abci_dot_v1beta1_dot_abci__pb2 +from pyinjective.proto.cosmos.tx.v1beta1 import tx_pb2 as cosmos_dot_tx_dot_v1beta1_dot_tx__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.tendermint.types import block_pb2 as tendermint_dot_types_dot_block__pb2 +from pyinjective.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/tx/v1beta1/service.proto\x12\x11\x63osmos.tx.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a#cosmos/base/abci/v1beta1/abci.proto\x1a\x1a\x63osmos/tx/v1beta1/tx.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1ctendermint/types/block.proto\x1a\x1ctendermint/types/types.proto\"\xf3\x01\n\x12GetTxsEventRequest\x12\x1a\n\x06\x65vents\x18\x01 \x03(\tB\x02\x18\x01R\x06\x65vents\x12J\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestB\x02\x18\x01R\npagination\x12\x35\n\x08order_by\x18\x03 \x01(\x0e\x32\x1a.cosmos.tx.v1beta1.OrderByR\x07orderBy\x12\x12\n\x04page\x18\x04 \x01(\x04R\x04page\x12\x14\n\x05limit\x18\x05 \x01(\x04R\x05limit\x12\x14\n\x05query\x18\x06 \x01(\tR\x05query\"\xea\x01\n\x13GetTxsEventResponse\x12\'\n\x03txs\x18\x01 \x03(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x03txs\x12G\n\x0ctx_responses\x18\x02 \x03(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\x0btxResponses\x12K\n\npagination\x18\x03 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseB\x02\x18\x01R\npagination\x12\x14\n\x05total\x18\x04 \x01(\x04R\x05total\"e\n\x12\x42roadcastTxRequest\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes\x12\x34\n\x04mode\x18\x02 \x01(\x0e\x32 .cosmos.tx.v1beta1.BroadcastModeR\x04mode\"\\\n\x13\x42roadcastTxResponse\x12\x45\n\x0btx_response\x18\x01 \x01(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\ntxResponse\"W\n\x0fSimulateRequest\x12)\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxB\x02\x18\x01R\x02tx\x12\x19\n\x08tx_bytes\x18\x02 \x01(\x0cR\x07txBytes\"\x8a\x01\n\x10SimulateResponse\x12<\n\x08gas_info\x18\x01 \x01(\x0b\x32!.cosmos.base.abci.v1beta1.GasInfoR\x07gasInfo\x12\x38\n\x06result\x18\x02 \x01(\x0b\x32 .cosmos.base.abci.v1beta1.ResultR\x06result\"\"\n\x0cGetTxRequest\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\"}\n\rGetTxResponse\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx\x12\x45\n\x0btx_response\x18\x02 \x01(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\ntxResponse\"x\n\x16GetBlockWithTxsRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xf0\x01\n\x17GetBlockWithTxsResponse\x12\'\n\x03txs\x18\x01 \x03(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x03txs\x12\x34\n\x08\x62lock_id\x18\x02 \x01(\x0b\x32\x19.tendermint.types.BlockIDR\x07\x62lockId\x12-\n\x05\x62lock\x18\x03 \x01(\x0b\x32\x17.tendermint.types.BlockR\x05\x62lock\x12G\n\npagination\x18\x04 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\",\n\x0fTxDecodeRequest\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes\"9\n\x10TxDecodeResponse\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx\"8\n\x0fTxEncodeRequest\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx\"-\n\x10TxEncodeResponse\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes\"5\n\x14TxEncodeAminoRequest\x12\x1d\n\namino_json\x18\x01 \x01(\tR\taminoJson\":\n\x15TxEncodeAminoResponse\x12!\n\x0c\x61mino_binary\x18\x01 \x01(\x0cR\x0b\x61minoBinary\"9\n\x14TxDecodeAminoRequest\x12!\n\x0c\x61mino_binary\x18\x01 \x01(\x0cR\x0b\x61minoBinary\"6\n\x15TxDecodeAminoResponse\x12\x1d\n\namino_json\x18\x01 \x01(\tR\taminoJson*H\n\x07OrderBy\x12\x18\n\x14ORDER_BY_UNSPECIFIED\x10\x00\x12\x10\n\x0cORDER_BY_ASC\x10\x01\x12\x11\n\rORDER_BY_DESC\x10\x02*\x80\x01\n\rBroadcastMode\x12\x1e\n\x1a\x42ROADCAST_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x14\x42ROADCAST_MODE_BLOCK\x10\x01\x1a\x02\x08\x01\x12\x17\n\x13\x42ROADCAST_MODE_SYNC\x10\x02\x12\x18\n\x14\x42ROADCAST_MODE_ASYNC\x10\x03\x32\xaa\t\n\x07Service\x12{\n\x08Simulate\x12\".cosmos.tx.v1beta1.SimulateRequest\x1a#.cosmos.tx.v1beta1.SimulateResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/cosmos/tx/v1beta1/simulate:\x01*\x12q\n\x05GetTx\x12\x1f.cosmos.tx.v1beta1.GetTxRequest\x1a .cosmos.tx.v1beta1.GetTxResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/tx/v1beta1/txs/{hash}\x12\x7f\n\x0b\x42roadcastTx\x12%.cosmos.tx.v1beta1.BroadcastTxRequest\x1a&.cosmos.tx.v1beta1.BroadcastTxResponse\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/cosmos/tx/v1beta1/txs:\x01*\x12|\n\x0bGetTxsEvent\x12%.cosmos.tx.v1beta1.GetTxsEventRequest\x1a&.cosmos.tx.v1beta1.GetTxsEventResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cosmos/tx/v1beta1/txs\x12\x97\x01\n\x0fGetBlockWithTxs\x12).cosmos.tx.v1beta1.GetBlockWithTxsRequest\x1a*.cosmos.tx.v1beta1.GetBlockWithTxsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/cosmos/tx/v1beta1/txs/block/{height}\x12y\n\x08TxDecode\x12\".cosmos.tx.v1beta1.TxDecodeRequest\x1a#.cosmos.tx.v1beta1.TxDecodeResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/cosmos/tx/v1beta1/decode:\x01*\x12y\n\x08TxEncode\x12\".cosmos.tx.v1beta1.TxEncodeRequest\x1a#.cosmos.tx.v1beta1.TxEncodeResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/cosmos/tx/v1beta1/encode:\x01*\x12\x8e\x01\n\rTxEncodeAmino\x12\'.cosmos.tx.v1beta1.TxEncodeAminoRequest\x1a(.cosmos.tx.v1beta1.TxEncodeAminoResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/cosmos/tx/v1beta1/encode/amino:\x01*\x12\x8e\x01\n\rTxDecodeAmino\x12\'.cosmos.tx.v1beta1.TxDecodeAminoRequest\x1a(.cosmos.tx.v1beta1.TxDecodeAminoResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/cosmos/tx/v1beta1/decode/amino:\x01*B\xb2\x01\n\x15\x63om.cosmos.tx.v1beta1B\x0cServiceProtoP\x01Z%github.com/cosmos/cosmos-sdk/types/tx\xa2\x02\x03\x43TX\xaa\x02\x11\x43osmos.Tx.V1beta1\xca\x02\x11\x43osmos\\Tx\\V1beta1\xe2\x02\x1d\x43osmos\\Tx\\V1beta1\\GPBMetadata\xea\x02\x13\x43osmos::Tx::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.v1beta1.service_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.tx.v1beta1B\014ServiceProtoP\001Z%github.com/cosmos/cosmos-sdk/types/tx\242\002\003CTX\252\002\021Cosmos.Tx.V1beta1\312\002\021Cosmos\\Tx\\V1beta1\342\002\035Cosmos\\Tx\\V1beta1\\GPBMetadata\352\002\023Cosmos::Tx::V1beta1' + _globals['_BROADCASTMODE'].values_by_name["BROADCAST_MODE_BLOCK"]._loaded_options = None + _globals['_BROADCASTMODE'].values_by_name["BROADCAST_MODE_BLOCK"]._serialized_options = b'\010\001' + _globals['_GETTXSEVENTREQUEST'].fields_by_name['events']._loaded_options = None + _globals['_GETTXSEVENTREQUEST'].fields_by_name['events']._serialized_options = b'\030\001' + _globals['_GETTXSEVENTREQUEST'].fields_by_name['pagination']._loaded_options = None + _globals['_GETTXSEVENTREQUEST'].fields_by_name['pagination']._serialized_options = b'\030\001' + _globals['_GETTXSEVENTRESPONSE'].fields_by_name['pagination']._loaded_options = None + _globals['_GETTXSEVENTRESPONSE'].fields_by_name['pagination']._serialized_options = b'\030\001' + _globals['_SIMULATEREQUEST'].fields_by_name['tx']._loaded_options = None + _globals['_SIMULATEREQUEST'].fields_by_name['tx']._serialized_options = b'\030\001' + _globals['_SERVICE'].methods_by_name['Simulate']._loaded_options = None + _globals['_SERVICE'].methods_by_name['Simulate']._serialized_options = b'\202\323\344\223\002 \"\033/cosmos/tx/v1beta1/simulate:\001*' + _globals['_SERVICE'].methods_by_name['GetTx']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetTx']._serialized_options = b'\202\323\344\223\002\037\022\035/cosmos/tx/v1beta1/txs/{hash}' + _globals['_SERVICE'].methods_by_name['BroadcastTx']._loaded_options = None + _globals['_SERVICE'].methods_by_name['BroadcastTx']._serialized_options = b'\202\323\344\223\002\033\"\026/cosmos/tx/v1beta1/txs:\001*' + _globals['_SERVICE'].methods_by_name['GetTxsEvent']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetTxsEvent']._serialized_options = b'\202\323\344\223\002\030\022\026/cosmos/tx/v1beta1/txs' + _globals['_SERVICE'].methods_by_name['GetBlockWithTxs']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetBlockWithTxs']._serialized_options = b'\202\323\344\223\002\'\022%/cosmos/tx/v1beta1/txs/block/{height}' + _globals['_SERVICE'].methods_by_name['TxDecode']._loaded_options = None + _globals['_SERVICE'].methods_by_name['TxDecode']._serialized_options = b'\202\323\344\223\002\036\"\031/cosmos/tx/v1beta1/decode:\001*' + _globals['_SERVICE'].methods_by_name['TxEncode']._loaded_options = None + _globals['_SERVICE'].methods_by_name['TxEncode']._serialized_options = b'\202\323\344\223\002\036\"\031/cosmos/tx/v1beta1/encode:\001*' + _globals['_SERVICE'].methods_by_name['TxEncodeAmino']._loaded_options = None + _globals['_SERVICE'].methods_by_name['TxEncodeAmino']._serialized_options = b'\202\323\344\223\002$\"\037/cosmos/tx/v1beta1/encode/amino:\001*' + _globals['_SERVICE'].methods_by_name['TxDecodeAmino']._loaded_options = None + _globals['_SERVICE'].methods_by_name['TxDecodeAmino']._serialized_options = b'\202\323\344\223\002$\"\037/cosmos/tx/v1beta1/decode/amino:\001*' + _globals['_ORDERBY']._serialized_start=2131 + _globals['_ORDERBY']._serialized_end=2203 + _globals['_BROADCASTMODE']._serialized_start=2206 + _globals['_BROADCASTMODE']._serialized_end=2334 + _globals['_GETTXSEVENTREQUEST']._serialized_start=254 + _globals['_GETTXSEVENTREQUEST']._serialized_end=497 + _globals['_GETTXSEVENTRESPONSE']._serialized_start=500 + _globals['_GETTXSEVENTRESPONSE']._serialized_end=734 + _globals['_BROADCASTTXREQUEST']._serialized_start=736 + _globals['_BROADCASTTXREQUEST']._serialized_end=837 + _globals['_BROADCASTTXRESPONSE']._serialized_start=839 + _globals['_BROADCASTTXRESPONSE']._serialized_end=931 + _globals['_SIMULATEREQUEST']._serialized_start=933 + _globals['_SIMULATEREQUEST']._serialized_end=1020 + _globals['_SIMULATERESPONSE']._serialized_start=1023 + _globals['_SIMULATERESPONSE']._serialized_end=1161 + _globals['_GETTXREQUEST']._serialized_start=1163 + _globals['_GETTXREQUEST']._serialized_end=1197 + _globals['_GETTXRESPONSE']._serialized_start=1199 + _globals['_GETTXRESPONSE']._serialized_end=1324 + _globals['_GETBLOCKWITHTXSREQUEST']._serialized_start=1326 + _globals['_GETBLOCKWITHTXSREQUEST']._serialized_end=1446 + _globals['_GETBLOCKWITHTXSRESPONSE']._serialized_start=1449 + _globals['_GETBLOCKWITHTXSRESPONSE']._serialized_end=1689 + _globals['_TXDECODEREQUEST']._serialized_start=1691 + _globals['_TXDECODEREQUEST']._serialized_end=1735 + _globals['_TXDECODERESPONSE']._serialized_start=1737 + _globals['_TXDECODERESPONSE']._serialized_end=1794 + _globals['_TXENCODEREQUEST']._serialized_start=1796 + _globals['_TXENCODEREQUEST']._serialized_end=1852 + _globals['_TXENCODERESPONSE']._serialized_start=1854 + _globals['_TXENCODERESPONSE']._serialized_end=1899 + _globals['_TXENCODEAMINOREQUEST']._serialized_start=1901 + _globals['_TXENCODEAMINOREQUEST']._serialized_end=1954 + _globals['_TXENCODEAMINORESPONSE']._serialized_start=1956 + _globals['_TXENCODEAMINORESPONSE']._serialized_end=2014 + _globals['_TXDECODEAMINOREQUEST']._serialized_start=2016 + _globals['_TXDECODEAMINOREQUEST']._serialized_end=2073 + _globals['_TXDECODEAMINORESPONSE']._serialized_start=2075 + _globals['_TXDECODEAMINORESPONSE']._serialized_end=2129 + _globals['_SERVICE']._serialized_start=2337 + _globals['_SERVICE']._serialized_end=3531 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/v1beta1/service_pb2_grpc.py b/pyinjective/proto/cosmos/tx/v1beta1/service_pb2_grpc.py new file mode 100644 index 00000000..df830953 --- /dev/null +++ b/pyinjective/proto/cosmos/tx/v1beta1/service_pb2_grpc.py @@ -0,0 +1,443 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.tx.v1beta1 import service_pb2 as cosmos_dot_tx_dot_v1beta1_dot_service__pb2 + + +class ServiceStub(object): + """Service defines a gRPC service for interacting with transactions. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Simulate = channel.unary_unary( + '/cosmos.tx.v1beta1.Service/Simulate', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateResponse.FromString, + _registered_method=True) + self.GetTx = channel.unary_unary( + '/cosmos.tx.v1beta1.Service/GetTx', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxResponse.FromString, + _registered_method=True) + self.BroadcastTx = channel.unary_unary( + '/cosmos.tx.v1beta1.Service/BroadcastTx', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxResponse.FromString, + _registered_method=True) + self.GetTxsEvent = channel.unary_unary( + '/cosmos.tx.v1beta1.Service/GetTxsEvent', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventResponse.FromString, + _registered_method=True) + self.GetBlockWithTxs = channel.unary_unary( + '/cosmos.tx.v1beta1.Service/GetBlockWithTxs', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsResponse.FromString, + _registered_method=True) + self.TxDecode = channel.unary_unary( + '/cosmos.tx.v1beta1.Service/TxDecode', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeResponse.FromString, + _registered_method=True) + self.TxEncode = channel.unary_unary( + '/cosmos.tx.v1beta1.Service/TxEncode', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeResponse.FromString, + _registered_method=True) + self.TxEncodeAmino = channel.unary_unary( + '/cosmos.tx.v1beta1.Service/TxEncodeAmino', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoResponse.FromString, + _registered_method=True) + self.TxDecodeAmino = channel.unary_unary( + '/cosmos.tx.v1beta1.Service/TxDecodeAmino', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoResponse.FromString, + _registered_method=True) + + +class ServiceServicer(object): + """Service defines a gRPC service for interacting with transactions. + """ + + def Simulate(self, request, context): + """Simulate simulates executing a transaction for estimating gas usage. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetTx(self, request, context): + """GetTx fetches a tx by hash. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BroadcastTx(self, request, context): + """BroadcastTx broadcast transaction. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetTxsEvent(self, request, context): + """GetTxsEvent fetches txs by event. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetBlockWithTxs(self, request, context): + """GetBlockWithTxs fetches a block with decoded txs. + + Since: cosmos-sdk 0.45.2 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TxDecode(self, request, context): + """TxDecode decodes the transaction. + + Since: cosmos-sdk 0.47 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TxEncode(self, request, context): + """TxEncode encodes the transaction. + + Since: cosmos-sdk 0.47 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TxEncodeAmino(self, request, context): + """TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes. + + Since: cosmos-sdk 0.47 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TxDecodeAmino(self, request, context): + """TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON. + + Since: cosmos-sdk 0.47 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Simulate': grpc.unary_unary_rpc_method_handler( + servicer.Simulate, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateResponse.SerializeToString, + ), + 'GetTx': grpc.unary_unary_rpc_method_handler( + servicer.GetTx, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxResponse.SerializeToString, + ), + 'BroadcastTx': grpc.unary_unary_rpc_method_handler( + servicer.BroadcastTx, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxResponse.SerializeToString, + ), + 'GetTxsEvent': grpc.unary_unary_rpc_method_handler( + servicer.GetTxsEvent, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventResponse.SerializeToString, + ), + 'GetBlockWithTxs': grpc.unary_unary_rpc_method_handler( + servicer.GetBlockWithTxs, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsResponse.SerializeToString, + ), + 'TxDecode': grpc.unary_unary_rpc_method_handler( + servicer.TxDecode, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeResponse.SerializeToString, + ), + 'TxEncode': grpc.unary_unary_rpc_method_handler( + servicer.TxEncode, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeResponse.SerializeToString, + ), + 'TxEncodeAmino': grpc.unary_unary_rpc_method_handler( + servicer.TxEncodeAmino, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoResponse.SerializeToString, + ), + 'TxDecodeAmino': grpc.unary_unary_rpc_method_handler( + servicer.TxDecodeAmino, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.tx.v1beta1.Service', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.tx.v1beta1.Service', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Service(object): + """Service defines a gRPC service for interacting with transactions. + """ + + @staticmethod + def Simulate(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.tx.v1beta1.Service/Simulate', + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateRequest.SerializeToString, + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetTx(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.tx.v1beta1.Service/GetTx', + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxRequest.SerializeToString, + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BroadcastTx(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.tx.v1beta1.Service/BroadcastTx', + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxRequest.SerializeToString, + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetTxsEvent(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.tx.v1beta1.Service/GetTxsEvent', + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventRequest.SerializeToString, + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetBlockWithTxs(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.tx.v1beta1.Service/GetBlockWithTxs', + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsRequest.SerializeToString, + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TxDecode(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.tx.v1beta1.Service/TxDecode', + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeRequest.SerializeToString, + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TxEncode(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.tx.v1beta1.Service/TxEncode', + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeRequest.SerializeToString, + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TxEncodeAmino(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.tx.v1beta1.Service/TxEncodeAmino', + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoRequest.SerializeToString, + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TxDecodeAmino(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.tx.v1beta1.Service/TxDecodeAmino', + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoRequest.SerializeToString, + cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py new file mode 100644 index 00000000..00abd56e --- /dev/null +++ b/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py @@ -0,0 +1,76 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/tx/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.crypto.multisig.v1beta1 import multisig_pb2 as cosmos_dot_crypto_dot_multisig_dot_v1beta1_dot_multisig__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.tx.signing.v1beta1 import signing_pb2 as cosmos_dot_tx_dot_signing_dot_v1beta1_dot_signing__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63osmos/tx/v1beta1/tx.proto\x12\x11\x63osmos.tx.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\'cosmos/tx/signing/v1beta1/signing.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x8d\x01\n\x02Tx\x12-\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x19.cosmos.tx.v1beta1.TxBodyR\x04\x62ody\x12\x38\n\tauth_info\x18\x02 \x01(\x0b\x32\x1b.cosmos.tx.v1beta1.AuthInfoR\x08\x61uthInfo\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures\"n\n\x05TxRaw\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12&\n\x0f\x61uth_info_bytes\x18\x02 \x01(\x0cR\rauthInfoBytes\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures\"\x92\x01\n\x07SignDoc\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12&\n\x0f\x61uth_info_bytes\x18\x02 \x01(\x0cR\rauthInfoBytes\x12\x19\n\x08\x63hain_id\x18\x03 \x01(\tR\x07\x63hainId\x12%\n\x0e\x61\x63\x63ount_number\x18\x04 \x01(\x04R\raccountNumber\"\xf2\x01\n\x10SignDocDirectAux\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12\x33\n\npublic_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12\x19\n\x08\x63hain_id\x18\x03 \x01(\tR\x07\x63hainId\x12%\n\x0e\x61\x63\x63ount_number\x18\x04 \x01(\x04R\raccountNumber\x12\x1a\n\x08sequence\x18\x05 \x01(\x04R\x08sequence\x12,\n\x03tip\x18\x06 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.TipB\x02\x18\x01R\x03tip\"\x95\x02\n\x06TxBody\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x12\n\x04memo\x18\x02 \x01(\tR\x04memo\x12%\n\x0etimeout_height\x18\x03 \x01(\x04R\rtimeoutHeight\x12\x42\n\x11\x65xtension_options\x18\xff\x07 \x03(\x0b\x32\x14.google.protobuf.AnyR\x10\x65xtensionOptions\x12Z\n\x1enon_critical_extension_options\x18\xff\x0f \x03(\x0b\x32\x14.google.protobuf.AnyR\x1bnonCriticalExtensionOptions\"\xa4\x01\n\x08\x41uthInfo\x12@\n\x0csigner_infos\x18\x01 \x03(\x0b\x32\x1d.cosmos.tx.v1beta1.SignerInfoR\x0bsignerInfos\x12(\n\x03\x66\x65\x65\x18\x02 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.FeeR\x03\x66\x65\x65\x12,\n\x03tip\x18\x03 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.TipB\x02\x18\x01R\x03tip\"\x97\x01\n\nSignerInfo\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12\x38\n\tmode_info\x18\x02 \x01(\x0b\x32\x1b.cosmos.tx.v1beta1.ModeInfoR\x08modeInfo\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\"\xe0\x02\n\x08ModeInfo\x12<\n\x06single\x18\x01 \x01(\x0b\x32\".cosmos.tx.v1beta1.ModeInfo.SingleH\x00R\x06single\x12\x39\n\x05multi\x18\x02 \x01(\x0b\x32!.cosmos.tx.v1beta1.ModeInfo.MultiH\x00R\x05multi\x1a\x41\n\x06Single\x12\x37\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x1a\x90\x01\n\x05Multi\x12K\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArrayR\x08\x62itarray\x12:\n\nmode_infos\x18\x02 \x03(\x0b\x32\x1b.cosmos.tx.v1beta1.ModeInfoR\tmodeInfosB\x05\n\x03sum\"\x81\x02\n\x03\x46\x65\x65\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x1b\n\tgas_limit\x18\x02 \x01(\x04R\x08gasLimit\x12.\n\x05payer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05payer\x12\x32\n\x07granter\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\"\xb6\x01\n\x03Tip\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x30\n\x06tipper\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06tipper:\x02\x18\x01\"\xce\x01\n\rAuxSignerData\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12>\n\x08sign_doc\x18\x02 \x01(\x0b\x32#.cosmos.tx.v1beta1.SignDocDirectAuxR\x07signDoc\x12\x37\n\x04mode\x18\x03 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x12\x10\n\x03sig\x18\x04 \x01(\x0cR\x03sigB\xad\x01\n\x15\x63om.cosmos.tx.v1beta1B\x07TxProtoP\x01Z%github.com/cosmos/cosmos-sdk/types/tx\xa2\x02\x03\x43TX\xaa\x02\x11\x43osmos.Tx.V1beta1\xca\x02\x11\x43osmos\\Tx\\V1beta1\xe2\x02\x1d\x43osmos\\Tx\\V1beta1\\GPBMetadata\xea\x02\x13\x43osmos::Tx::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.tx.v1beta1B\007TxProtoP\001Z%github.com/cosmos/cosmos-sdk/types/tx\242\002\003CTX\252\002\021Cosmos.Tx.V1beta1\312\002\021Cosmos\\Tx\\V1beta1\342\002\035Cosmos\\Tx\\V1beta1\\GPBMetadata\352\002\023Cosmos::Tx::V1beta1' + _globals['_SIGNDOCDIRECTAUX'].fields_by_name['tip']._loaded_options = None + _globals['_SIGNDOCDIRECTAUX'].fields_by_name['tip']._serialized_options = b'\030\001' + _globals['_AUTHINFO'].fields_by_name['tip']._loaded_options = None + _globals['_AUTHINFO'].fields_by_name['tip']._serialized_options = b'\030\001' + _globals['_FEE'].fields_by_name['amount']._loaded_options = None + _globals['_FEE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_FEE'].fields_by_name['payer']._loaded_options = None + _globals['_FEE'].fields_by_name['payer']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_FEE'].fields_by_name['granter']._loaded_options = None + _globals['_FEE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_TIP'].fields_by_name['amount']._loaded_options = None + _globals['_TIP'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_TIP'].fields_by_name['tipper']._loaded_options = None + _globals['_TIP'].fields_by_name['tipper']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_TIP']._loaded_options = None + _globals['_TIP']._serialized_options = b'\030\001' + _globals['_AUXSIGNERDATA'].fields_by_name['address']._loaded_options = None + _globals['_AUXSIGNERDATA'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_TX']._serialized_start=265 + _globals['_TX']._serialized_end=406 + _globals['_TXRAW']._serialized_start=408 + _globals['_TXRAW']._serialized_end=518 + _globals['_SIGNDOC']._serialized_start=521 + _globals['_SIGNDOC']._serialized_end=667 + _globals['_SIGNDOCDIRECTAUX']._serialized_start=670 + _globals['_SIGNDOCDIRECTAUX']._serialized_end=912 + _globals['_TXBODY']._serialized_start=915 + _globals['_TXBODY']._serialized_end=1192 + _globals['_AUTHINFO']._serialized_start=1195 + _globals['_AUTHINFO']._serialized_end=1359 + _globals['_SIGNERINFO']._serialized_start=1362 + _globals['_SIGNERINFO']._serialized_end=1513 + _globals['_MODEINFO']._serialized_start=1516 + _globals['_MODEINFO']._serialized_end=1868 + _globals['_MODEINFO_SINGLE']._serialized_start=1649 + _globals['_MODEINFO_SINGLE']._serialized_end=1714 + _globals['_MODEINFO_MULTI']._serialized_start=1717 + _globals['_MODEINFO_MULTI']._serialized_end=1861 + _globals['_FEE']._serialized_start=1871 + _globals['_FEE']._serialized_end=2128 + _globals['_TIP']._serialized_start=2131 + _globals['_TIP']._serialized_end=2313 + _globals['_AUXSIGNERDATA']._serialized_start=2316 + _globals['_AUXSIGNERDATA']._serialized_end=2522 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/tx/v1beta1/tx_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/cosmos/upgrade/module/v1/module_pb2.py b/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2.py new file mode 100644 index 00000000..5104a264 --- /dev/null +++ b/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/upgrade/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/upgrade/module/v1/module.proto\x12\x18\x63osmos.upgrade.module.v1\x1a cosmos/app/v1alpha1/module.proto\"F\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:\x1e\xba\xc0\x96\xda\x01\x18\n\x16\x63osmossdk.io/x/upgradeB\xae\x01\n\x1c\x63om.cosmos.upgrade.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43UM\xaa\x02\x18\x43osmos.Upgrade.Module.V1\xca\x02\x18\x43osmos\\Upgrade\\Module\\V1\xe2\x02$Cosmos\\Upgrade\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Upgrade::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.upgrade.module.v1B\013ModuleProtoP\001\242\002\003CUM\252\002\030Cosmos.Upgrade.Module.V1\312\002\030Cosmos\\Upgrade\\Module\\V1\342\002$Cosmos\\Upgrade\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Upgrade::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\030\n\026cosmossdk.io/x/upgrade' + _globals['_MODULE']._serialized_start=101 + _globals['_MODULE']._serialized_end=171 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/upgrade/module/v1/module_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/cosmos/upgrade/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2.py new file mode 100644 index 00000000..bd1e46f1 --- /dev/null +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2.py @@ -0,0 +1,63 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/upgrade/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/upgrade/v1beta1/query.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\"\x19\n\x17QueryCurrentPlanRequest\"L\n\x18QueryCurrentPlanResponse\x12\x30\n\x04plan\x18\x01 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanR\x04plan\"-\n\x17QueryAppliedPlanRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"2\n\x18QueryAppliedPlanResponse\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\"I\n\"QueryUpgradedConsensusStateRequest\x12\x1f\n\x0blast_height\x18\x01 \x01(\x03R\nlastHeight:\x02\x18\x01\"i\n#QueryUpgradedConsensusStateResponse\x12\x38\n\x18upgraded_consensus_state\x18\x02 \x01(\x0cR\x16upgradedConsensusState:\x02\x18\x01J\x04\x08\x01\x10\x02\"=\n\x1aQueryModuleVersionsRequest\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName\"m\n\x1bQueryModuleVersionsResponse\x12N\n\x0fmodule_versions\x18\x01 \x03(\x0b\x32%.cosmos.upgrade.v1beta1.ModuleVersionR\x0emoduleVersions\"\x17\n\x15QueryAuthorityRequest\"2\n\x16QueryAuthorityResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress2\xf4\x06\n\x05Query\x12\x9e\x01\n\x0b\x43urrentPlan\x12/.cosmos.upgrade.v1beta1.QueryCurrentPlanRequest\x1a\x30.cosmos.upgrade.v1beta1.QueryCurrentPlanResponse\",\x82\xd3\xe4\x93\x02&\x12$/cosmos/upgrade/v1beta1/current_plan\x12\xa5\x01\n\x0b\x41ppliedPlan\x12/.cosmos.upgrade.v1beta1.QueryAppliedPlanRequest\x1a\x30.cosmos.upgrade.v1beta1.QueryAppliedPlanResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/upgrade/v1beta1/applied_plan/{name}\x12\xdc\x01\n\x16UpgradedConsensusState\x12:.cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest\x1a;.cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse\"I\x88\x02\x01\x82\xd3\xe4\x93\x02@\x12>/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}\x12\xaa\x01\n\x0eModuleVersions\x12\x32.cosmos.upgrade.v1beta1.QueryModuleVersionsRequest\x1a\x33.cosmos.upgrade.v1beta1.QueryModuleVersionsResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/upgrade/v1beta1/module_versions\x12\x95\x01\n\tAuthority\x12-.cosmos.upgrade.v1beta1.QueryAuthorityRequest\x1a..cosmos.upgrade.v1beta1.QueryAuthorityResponse\")\x82\xd3\xe4\x93\x02#\x12!/cosmos/upgrade/v1beta1/authorityB\xc0\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\nQueryProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.upgrade.v1beta1B\nQueryProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1' + _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._loaded_options = None + _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_options = b'\030\001' + _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._loaded_options = None + _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_options = b'\030\001' + _globals['_QUERY'].methods_by_name['CurrentPlan']._loaded_options = None + _globals['_QUERY'].methods_by_name['CurrentPlan']._serialized_options = b'\202\323\344\223\002&\022$/cosmos/upgrade/v1beta1/current_plan' + _globals['_QUERY'].methods_by_name['AppliedPlan']._loaded_options = None + _globals['_QUERY'].methods_by_name['AppliedPlan']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/upgrade/v1beta1/applied_plan/{name}' + _globals['_QUERY'].methods_by_name['UpgradedConsensusState']._loaded_options = None + _globals['_QUERY'].methods_by_name['UpgradedConsensusState']._serialized_options = b'\210\002\001\202\323\344\223\002@\022>/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}' + _globals['_QUERY'].methods_by_name['ModuleVersions']._loaded_options = None + _globals['_QUERY'].methods_by_name['ModuleVersions']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/upgrade/v1beta1/module_versions' + _globals['_QUERY'].methods_by_name['Authority']._loaded_options = None + _globals['_QUERY'].methods_by_name['Authority']._serialized_options = b'\202\323\344\223\002#\022!/cosmos/upgrade/v1beta1/authority' + _globals['_QUERYCURRENTPLANREQUEST']._serialized_start=130 + _globals['_QUERYCURRENTPLANREQUEST']._serialized_end=155 + _globals['_QUERYCURRENTPLANRESPONSE']._serialized_start=157 + _globals['_QUERYCURRENTPLANRESPONSE']._serialized_end=233 + _globals['_QUERYAPPLIEDPLANREQUEST']._serialized_start=235 + _globals['_QUERYAPPLIEDPLANREQUEST']._serialized_end=280 + _globals['_QUERYAPPLIEDPLANRESPONSE']._serialized_start=282 + _globals['_QUERYAPPLIEDPLANRESPONSE']._serialized_end=332 + _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_start=334 + _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_end=407 + _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_start=409 + _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_end=514 + _globals['_QUERYMODULEVERSIONSREQUEST']._serialized_start=516 + _globals['_QUERYMODULEVERSIONSREQUEST']._serialized_end=577 + _globals['_QUERYMODULEVERSIONSRESPONSE']._serialized_start=579 + _globals['_QUERYMODULEVERSIONSRESPONSE']._serialized_end=688 + _globals['_QUERYAUTHORITYREQUEST']._serialized_start=690 + _globals['_QUERYAUTHORITYREQUEST']._serialized_end=713 + _globals['_QUERYAUTHORITYRESPONSE']._serialized_start=715 + _globals['_QUERYAUTHORITYRESPONSE']._serialized_end=765 + _globals['_QUERY']._serialized_start=768 + _globals['_QUERY']._serialized_end=1652 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..d5092b8d --- /dev/null +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2_grpc.py @@ -0,0 +1,266 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.upgrade.v1beta1 import query_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC upgrade querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CurrentPlan = channel.unary_unary( + '/cosmos.upgrade.v1beta1.Query/CurrentPlan', + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanRequest.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanResponse.FromString, + _registered_method=True) + self.AppliedPlan = channel.unary_unary( + '/cosmos.upgrade.v1beta1.Query/AppliedPlan', + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanRequest.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanResponse.FromString, + _registered_method=True) + self.UpgradedConsensusState = channel.unary_unary( + '/cosmos.upgrade.v1beta1.Query/UpgradedConsensusState', + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, + _registered_method=True) + self.ModuleVersions = channel.unary_unary( + '/cosmos.upgrade.v1beta1.Query/ModuleVersions', + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsRequest.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsResponse.FromString, + _registered_method=True) + self.Authority = channel.unary_unary( + '/cosmos.upgrade.v1beta1.Query/Authority', + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityRequest.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC upgrade querier service. + """ + + def CurrentPlan(self, request, context): + """CurrentPlan queries the current upgrade plan. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AppliedPlan(self, request, context): + """AppliedPlan queries a previously applied upgrade plan by its name. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpgradedConsensusState(self, request, context): + """UpgradedConsensusState queries the consensus state that will serve + as a trusted kernel for the next version of this chain. It will only be + stored at the last height of this chain. + UpgradedConsensusState RPC not supported with legacy querier + This rpc is deprecated now that IBC has its own replacement + (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ModuleVersions(self, request, context): + """ModuleVersions queries the list of module versions from state. + + Since: cosmos-sdk 0.43 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Authority(self, request, context): + """Returns the account with authority to conduct upgrades + + Since: cosmos-sdk 0.46 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CurrentPlan': grpc.unary_unary_rpc_method_handler( + servicer.CurrentPlan, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanRequest.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanResponse.SerializeToString, + ), + 'AppliedPlan': grpc.unary_unary_rpc_method_handler( + servicer.AppliedPlan, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanRequest.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanResponse.SerializeToString, + ), + 'UpgradedConsensusState': grpc.unary_unary_rpc_method_handler( + servicer.UpgradedConsensusState, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateRequest.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateResponse.SerializeToString, + ), + 'ModuleVersions': grpc.unary_unary_rpc_method_handler( + servicer.ModuleVersions, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsRequest.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsResponse.SerializeToString, + ), + 'Authority': grpc.unary_unary_rpc_method_handler( + servicer.Authority, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityRequest.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.upgrade.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.upgrade.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC upgrade querier service. + """ + + @staticmethod + def CurrentPlan(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.upgrade.v1beta1.Query/CurrentPlan', + cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanRequest.SerializeToString, + cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AppliedPlan(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.upgrade.v1beta1.Query/AppliedPlan', + cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanRequest.SerializeToString, + cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpgradedConsensusState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.upgrade.v1beta1.Query/UpgradedConsensusState', + cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, + cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ModuleVersions(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.upgrade.v1beta1.Query/ModuleVersions', + cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsRequest.SerializeToString, + cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Authority(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.upgrade.v1beta1.Query/Authority', + cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityRequest.SerializeToString, + cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py new file mode 100644 index 00000000..7fdd9d6e --- /dev/null +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/upgrade/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/upgrade/v1beta1/tx.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xbb\x01\n\x12MsgSoftwareUpgrade\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12;\n\x04plan\x18\x02 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04plan:0\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgSoftwareUpgrade\"\x1c\n\x1aMsgSoftwareUpgradeResponse\"z\n\x10MsgCancelUpgrade\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority:.\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgCancelUpgrade\"\x1a\n\x18MsgCancelUpgradeResponse2\xec\x01\n\x03Msg\x12q\n\x0fSoftwareUpgrade\x12*.cosmos.upgrade.v1beta1.MsgSoftwareUpgrade\x1a\x32.cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse\x12k\n\rCancelUpgrade\x12(.cosmos.upgrade.v1beta1.MsgCancelUpgrade\x1a\x30.cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\x07TxProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.upgrade.v1beta1B\007TxProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1' + _globals['_MSGSOFTWAREUPGRADE'].fields_by_name['authority']._loaded_options = None + _globals['_MSGSOFTWAREUPGRADE'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSOFTWAREUPGRADE'].fields_by_name['plan']._loaded_options = None + _globals['_MSGSOFTWAREUPGRADE'].fields_by_name['plan']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGSOFTWAREUPGRADE']._loaded_options = None + _globals['_MSGSOFTWAREUPGRADE']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\035cosmos-sdk/MsgSoftwareUpgrade' + _globals['_MSGCANCELUPGRADE'].fields_by_name['authority']._loaded_options = None + _globals['_MSGCANCELUPGRADE'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCANCELUPGRADE']._loaded_options = None + _globals['_MSGCANCELUPGRADE']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\033cosmos-sdk/MsgCancelUpgrade' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGSOFTWAREUPGRADE']._serialized_start=191 + _globals['_MSGSOFTWAREUPGRADE']._serialized_end=378 + _globals['_MSGSOFTWAREUPGRADERESPONSE']._serialized_start=380 + _globals['_MSGSOFTWAREUPGRADERESPONSE']._serialized_end=408 + _globals['_MSGCANCELUPGRADE']._serialized_start=410 + _globals['_MSGCANCELUPGRADE']._serialized_end=532 + _globals['_MSGCANCELUPGRADERESPONSE']._serialized_start=534 + _globals['_MSGCANCELUPGRADERESPONSE']._serialized_end=560 + _globals['_MSG']._serialized_start=563 + _globals['_MSG']._serialized_end=799 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..2a4012ac --- /dev/null +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,130 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.upgrade.v1beta1 import tx_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the upgrade Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.SoftwareUpgrade = channel.unary_unary( + '/cosmos.upgrade.v1beta1.Msg/SoftwareUpgrade', + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgrade.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgradeResponse.FromString, + _registered_method=True) + self.CancelUpgrade = channel.unary_unary( + '/cosmos.upgrade.v1beta1.Msg/CancelUpgrade', + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgrade.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgradeResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the upgrade Msg service. + """ + + def SoftwareUpgrade(self, request, context): + """SoftwareUpgrade is a governance operation for initiating a software upgrade. + + Since: cosmos-sdk 0.46 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CancelUpgrade(self, request, context): + """CancelUpgrade is a governance operation for cancelling a previously + approved software upgrade. + + Since: cosmos-sdk 0.46 + """ + 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 = { + 'SoftwareUpgrade': grpc.unary_unary_rpc_method_handler( + servicer.SoftwareUpgrade, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgrade.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgradeResponse.SerializeToString, + ), + 'CancelUpgrade': grpc.unary_unary_rpc_method_handler( + servicer.CancelUpgrade, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgrade.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgradeResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.upgrade.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.upgrade.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the upgrade Msg service. + """ + + @staticmethod + def SoftwareUpgrade(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.upgrade.v1beta1.Msg/SoftwareUpgrade', + cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgrade.SerializeToString, + cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgradeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CancelUpgrade(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.upgrade.v1beta1.Msg/CancelUpgrade', + cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgrade.SerializeToString, + cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgradeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py b/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py new file mode 100644 index 00000000..1b9f1627 --- /dev/null +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/upgrade/v1beta1/upgrade.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/upgrade/v1beta1/upgrade.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xef\x01\n\x04Plan\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12?\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0f\x18\x01\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12L\n\x15upgraded_client_state\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyB\x02\x18\x01R\x13upgradedClientState:\x18\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0f\x63osmos-sdk/Plan\"\xdb\x01\n\x17SoftwareUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12;\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04plan:K\x18\x01\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\"cosmos-sdk/SoftwareUpgradeProposal\"\xaa\x01\n\x1d\x43\x61ncelSoftwareUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription:Q\x18\x01\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(cosmos-sdk/CancelSoftwareUpgradeProposal\"C\n\rModuleVersion\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07version\x18\x02 \x01(\x04R\x07version:\x04\xe8\xa0\x1f\x01\x42\xc6\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\x0cUpgradeProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.upgrade_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.upgrade.v1beta1B\014UpgradeProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1\310\341\036\000' + _globals['_PLAN'].fields_by_name['time']._loaded_options = None + _globals['_PLAN'].fields_by_name['time']._serialized_options = b'\030\001\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_PLAN'].fields_by_name['upgraded_client_state']._loaded_options = None + _globals['_PLAN'].fields_by_name['upgraded_client_state']._serialized_options = b'\030\001' + _globals['_PLAN']._loaded_options = None + _globals['_PLAN']._serialized_options = b'\350\240\037\001\212\347\260*\017cosmos-sdk/Plan' + _globals['_SOFTWAREUPGRADEPROPOSAL'].fields_by_name['plan']._loaded_options = None + _globals['_SOFTWAREUPGRADEPROPOSAL'].fields_by_name['plan']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_SOFTWAREUPGRADEPROPOSAL']._loaded_options = None + _globals['_SOFTWAREUPGRADEPROPOSAL']._serialized_options = b'\030\001\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\"cosmos-sdk/SoftwareUpgradeProposal' + _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._loaded_options = None + _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._serialized_options = b'\030\001\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(cosmos-sdk/CancelSoftwareUpgradeProposal' + _globals['_MODULEVERSION']._loaded_options = None + _globals['_MODULEVERSION']._serialized_options = b'\350\240\037\001' + _globals['_PLAN']._serialized_start=193 + _globals['_PLAN']._serialized_end=432 + _globals['_SOFTWAREUPGRADEPROPOSAL']._serialized_start=435 + _globals['_SOFTWAREUPGRADEPROPOSAL']._serialized_end=654 + _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._serialized_start=657 + _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._serialized_end=827 + _globals['_MODULEVERSION']._serialized_start=829 + _globals['_MODULEVERSION']._serialized_end=896 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2_grpc.py b/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_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/cosmos/vesting/module/v1/module_pb2.py b/pyinjective/proto/cosmos/vesting/module/v1/module_pb2.py new file mode 100644 index 00000000..d1a70ea6 --- /dev/null +++ b/pyinjective/proto/cosmos/vesting/module/v1/module_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/vesting/module/v1/module.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/vesting/module/v1/module.proto\x12\x18\x63osmos.vesting.module.v1\x1a cosmos/app/v1alpha1/module.proto\"=\n\x06Module:3\xba\xc0\x96\xda\x01-\n+github.com/cosmos/cosmos-sdk/x/auth/vestingB\xae\x01\n\x1c\x63om.cosmos.vesting.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43VM\xaa\x02\x18\x43osmos.Vesting.Module.V1\xca\x02\x18\x43osmos\\Vesting\\Module\\V1\xe2\x02$Cosmos\\Vesting\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Vesting::Module::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.module.v1.module_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.vesting.module.v1B\013ModuleProtoP\001\242\002\003CVM\252\002\030Cosmos.Vesting.Module.V1\312\002\030Cosmos\\Vesting\\Module\\V1\342\002$Cosmos\\Vesting\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Vesting::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001-\n+github.com/cosmos/cosmos-sdk/x/auth/vesting' + _globals['_MODULE']._serialized_start=101 + _globals['_MODULE']._serialized_end=162 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/vesting/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/vesting/module/v1/module_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/vesting/module/v1/module_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/cosmos/vesting/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2.py new file mode 100644 index 00000000..0aa7baa2 --- /dev/null +++ b/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2.py @@ -0,0 +1,67 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/vesting/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.vesting.v1beta1 import vesting_pb2 as cosmos_dot_vesting_dot_v1beta1_dot_vesting__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/vesting/v1beta1/tx.proto\x12\x16\x63osmos.vesting.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a$cosmos/vesting/v1beta1/vesting.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xfd\x02\n\x17MsgCreateVestingAccount\x12;\n\x0c\x66rom_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0b\x66romAddress\x12\x37\n\nto_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x19\n\x08\x65nd_time\x18\x04 \x01(\x03R\x07\x65ndTime\x12\x18\n\x07\x64\x65layed\x18\x05 \x01(\x08R\x07\x64\x65layed:<\xe8\xa0\x1f\x01\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*\"cosmos-sdk/MsgCreateVestingAccount\"!\n\x1fMsgCreateVestingAccountResponse\"\xcf\x02\n\x1fMsgCreatePermanentLockedAccount\x12:\n\x0c\x66rom_address\x18\x01 \x01(\tB\x17\xf2\xde\x1f\x13yaml:\"from_address\"R\x0b\x66romAddress\x12\x34\n\nto_address\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"to_address\"R\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:?\xe8\xa0\x1f\x01\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*%cosmos-sdk/MsgCreatePermLockedAccount\")\n\'MsgCreatePermanentLockedAccountResponse\"\x97\x02\n\x1fMsgCreatePeriodicVestingAccount\x12!\n\x0c\x66rom_address\x18\x01 \x01(\tR\x0b\x66romAddress\x12\x1d\n\nto_address\x18\x02 \x01(\tR\ttoAddress\x12\x1d\n\nstart_time\x18\x03 \x01(\x03R\tstartTime\x12R\n\x0fvesting_periods\x18\x04 \x03(\x0b\x32\x1e.cosmos.vesting.v1beta1.PeriodB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evestingPeriods:?\xe8\xa0\x1f\x00\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*%cosmos-sdk/MsgCreatePeriodVestAccount\")\n\'MsgCreatePeriodicVestingAccountResponse2\xc5\x03\n\x03Msg\x12\x80\x01\n\x14\x43reateVestingAccount\x12/.cosmos.vesting.v1beta1.MsgCreateVestingAccount\x1a\x37.cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse\x12\x98\x01\n\x1c\x43reatePermanentLockedAccount\x12\x37.cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount\x1a?.cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse\x12\x98\x01\n\x1c\x43reatePeriodicVestingAccount\x12\x37.cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount\x1a?.cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd2\x01\n\x1a\x63om.cosmos.vesting.v1beta1B\x07TxProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\xa2\x02\x03\x43VX\xaa\x02\x16\x43osmos.Vesting.V1beta1\xca\x02\x16\x43osmos\\Vesting\\V1beta1\xe2\x02\"Cosmos\\Vesting\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Vesting::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.vesting.v1beta1B\007TxProtoP\001Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\242\002\003CVX\252\002\026Cosmos.Vesting.V1beta1\312\002\026Cosmos\\Vesting\\V1beta1\342\002\"Cosmos\\Vesting\\V1beta1\\GPBMetadata\352\002\030Cosmos::Vesting::V1beta1' + _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['from_address']._loaded_options = None + _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['from_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['to_address']._loaded_options = None + _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['to_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['amount']._loaded_options = None + _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGCREATEVESTINGACCOUNT']._loaded_options = None + _globals['_MSGCREATEVESTINGACCOUNT']._serialized_options = b'\350\240\037\001\202\347\260*\014from_address\212\347\260*\"cosmos-sdk/MsgCreateVestingAccount' + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['from_address']._loaded_options = None + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['from_address']._serialized_options = b'\362\336\037\023yaml:\"from_address\"' + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['to_address']._loaded_options = None + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['to_address']._serialized_options = b'\362\336\037\021yaml:\"to_address\"' + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['amount']._loaded_options = None + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._loaded_options = None + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._serialized_options = b'\350\240\037\001\202\347\260*\014from_address\212\347\260*%cosmos-sdk/MsgCreatePermLockedAccount' + _globals['_MSGCREATEPERIODICVESTINGACCOUNT'].fields_by_name['vesting_periods']._loaded_options = None + _globals['_MSGCREATEPERIODICVESTINGACCOUNT'].fields_by_name['vesting_periods']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._loaded_options = None + _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._serialized_options = b'\350\240\037\000\202\347\260*\014from_address\212\347\260*%cosmos-sdk/MsgCreatePeriodVestAccount' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGCREATEVESTINGACCOUNT']._serialized_start=223 + _globals['_MSGCREATEVESTINGACCOUNT']._serialized_end=604 + _globals['_MSGCREATEVESTINGACCOUNTRESPONSE']._serialized_start=606 + _globals['_MSGCREATEVESTINGACCOUNTRESPONSE']._serialized_end=639 + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._serialized_start=642 + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._serialized_end=977 + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNTRESPONSE']._serialized_start=979 + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNTRESPONSE']._serialized_end=1020 + _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._serialized_start=1023 + _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._serialized_end=1302 + _globals['_MSGCREATEPERIODICVESTINGACCOUNTRESPONSE']._serialized_start=1304 + _globals['_MSGCREATEPERIODICVESTINGACCOUNTRESPONSE']._serialized_end=1345 + _globals['_MSG']._serialized_start=1348 + _globals['_MSG']._serialized_end=1801 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..023b77e1 --- /dev/null +++ b/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,176 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmos.vesting.v1beta1 import tx_pb2 as cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the bank Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateVestingAccount = channel.unary_unary( + '/cosmos.vesting.v1beta1.Msg/CreateVestingAccount', + request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccount.SerializeToString, + response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccountResponse.FromString, + _registered_method=True) + self.CreatePermanentLockedAccount = channel.unary_unary( + '/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount', + request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccount.SerializeToString, + response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccountResponse.FromString, + _registered_method=True) + self.CreatePeriodicVestingAccount = channel.unary_unary( + '/cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount', + request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccount.SerializeToString, + response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccountResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the bank Msg service. + """ + + def CreateVestingAccount(self, request, context): + """CreateVestingAccount defines a method that enables creating a vesting + account. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreatePermanentLockedAccount(self, request, context): + """CreatePermanentLockedAccount defines a method that enables creating a permanent + locked account. + + Since: cosmos-sdk 0.46 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreatePeriodicVestingAccount(self, request, context): + """CreatePeriodicVestingAccount defines a method that enables creating a + periodic vesting account. + + Since: cosmos-sdk 0.46 + """ + 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 = { + 'CreateVestingAccount': grpc.unary_unary_rpc_method_handler( + servicer.CreateVestingAccount, + request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccount.FromString, + response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccountResponse.SerializeToString, + ), + 'CreatePermanentLockedAccount': grpc.unary_unary_rpc_method_handler( + servicer.CreatePermanentLockedAccount, + request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccount.FromString, + response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccountResponse.SerializeToString, + ), + 'CreatePeriodicVestingAccount': grpc.unary_unary_rpc_method_handler( + servicer.CreatePeriodicVestingAccount, + request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccount.FromString, + response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccountResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.vesting.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmos.vesting.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the bank Msg service. + """ + + @staticmethod + def CreateVestingAccount(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.vesting.v1beta1.Msg/CreateVestingAccount', + cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccount.SerializeToString, + cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccountResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreatePermanentLockedAccount(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount', + cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccount.SerializeToString, + cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccountResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreatePeriodicVestingAccount(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount', + cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccount.SerializeToString, + cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccountResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py b/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py new file mode 100644 index 00000000..4972c18c --- /dev/null +++ b/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py @@ -0,0 +1,71 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/vesting/v1beta1/vesting.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/vesting/v1beta1/vesting.proto\x12\x16\x63osmos.vesting.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xcd\x04\n\x12\x42\x61seVestingAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12\x8c\x01\n\x10original_vesting\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0foriginalVesting\x12\x88\x01\n\x0e\x64\x65legated_free\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\rdelegatedFree\x12\x8e\x01\n\x11\x64\x65legated_vesting\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x10\x64\x65legatedVesting\x12\x19\n\x08\x65nd_time\x18\x05 \x01(\x03R\x07\x65ndTime:&\x88\xa0\x1f\x00\x8a\xe7\xb0*\x1d\x63osmos-sdk/BaseVestingAccount\"\xcb\x01\n\x18\x43ontinuousVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount\x12\x1d\n\nstart_time\x18\x02 \x01(\x03R\tstartTime:,\x88\xa0\x1f\x00\x8a\xe7\xb0*#cosmos-sdk/ContinuousVestingAccount\"\xa6\x01\n\x15\x44\x65layedVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount:)\x88\xa0\x1f\x00\x8a\xe7\xb0* cosmos-sdk/DelayedVestingAccount\"\x9b\x01\n\x06Period\x12\x16\n\x06length\x18\x01 \x01(\x03R\x06length\x12y\n\x06\x61mount\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\"\x9b\x02\n\x16PeriodicVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount\x12\x1d\n\nstart_time\x18\x02 \x01(\x03R\tstartTime\x12R\n\x0fvesting_periods\x18\x03 \x03(\x0b\x32\x1e.cosmos.vesting.v1beta1.PeriodB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evestingPeriods:*\x88\xa0\x1f\x00\x8a\xe7\xb0*!cosmos-sdk/PeriodicVestingAccount\"\xa8\x01\n\x16PermanentLockedAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount:*\x88\xa0\x1f\x00\x8a\xe7\xb0*!cosmos-sdk/PermanentLockedAccountB\xd7\x01\n\x1a\x63om.cosmos.vesting.v1beta1B\x0cVestingProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\xa2\x02\x03\x43VX\xaa\x02\x16\x43osmos.Vesting.V1beta1\xca\x02\x16\x43osmos\\Vesting\\V1beta1\xe2\x02\"Cosmos\\Vesting\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Vesting::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.v1beta1.vesting_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.vesting.v1beta1B\014VestingProtoP\001Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\242\002\003CVX\252\002\026Cosmos.Vesting.V1beta1\312\002\026Cosmos\\Vesting\\V1beta1\342\002\"Cosmos\\Vesting\\V1beta1\\GPBMetadata\352\002\030Cosmos::Vesting::V1beta1' + _globals['_BASEVESTINGACCOUNT'].fields_by_name['base_account']._loaded_options = None + _globals['_BASEVESTINGACCOUNT'].fields_by_name['base_account']._serialized_options = b'\320\336\037\001' + _globals['_BASEVESTINGACCOUNT'].fields_by_name['original_vesting']._loaded_options = None + _globals['_BASEVESTINGACCOUNT'].fields_by_name['original_vesting']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_BASEVESTINGACCOUNT'].fields_by_name['delegated_free']._loaded_options = None + _globals['_BASEVESTINGACCOUNT'].fields_by_name['delegated_free']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_BASEVESTINGACCOUNT'].fields_by_name['delegated_vesting']._loaded_options = None + _globals['_BASEVESTINGACCOUNT'].fields_by_name['delegated_vesting']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_BASEVESTINGACCOUNT']._loaded_options = None + _globals['_BASEVESTINGACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260*\035cosmos-sdk/BaseVestingAccount' + _globals['_CONTINUOUSVESTINGACCOUNT'].fields_by_name['base_vesting_account']._loaded_options = None + _globals['_CONTINUOUSVESTINGACCOUNT'].fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' + _globals['_CONTINUOUSVESTINGACCOUNT']._loaded_options = None + _globals['_CONTINUOUSVESTINGACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260*#cosmos-sdk/ContinuousVestingAccount' + _globals['_DELAYEDVESTINGACCOUNT'].fields_by_name['base_vesting_account']._loaded_options = None + _globals['_DELAYEDVESTINGACCOUNT'].fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' + _globals['_DELAYEDVESTINGACCOUNT']._loaded_options = None + _globals['_DELAYEDVESTINGACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260* cosmos-sdk/DelayedVestingAccount' + _globals['_PERIOD'].fields_by_name['amount']._loaded_options = None + _globals['_PERIOD'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_PERIODICVESTINGACCOUNT'].fields_by_name['base_vesting_account']._loaded_options = None + _globals['_PERIODICVESTINGACCOUNT'].fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' + _globals['_PERIODICVESTINGACCOUNT'].fields_by_name['vesting_periods']._loaded_options = None + _globals['_PERIODICVESTINGACCOUNT'].fields_by_name['vesting_periods']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PERIODICVESTINGACCOUNT']._loaded_options = None + _globals['_PERIODICVESTINGACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260*!cosmos-sdk/PeriodicVestingAccount' + _globals['_PERMANENTLOCKEDACCOUNT'].fields_by_name['base_vesting_account']._loaded_options = None + _globals['_PERMANENTLOCKEDACCOUNT'].fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' + _globals['_PERMANENTLOCKEDACCOUNT']._loaded_options = None + _globals['_PERMANENTLOCKEDACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260*!cosmos-sdk/PermanentLockedAccount' + _globals['_BASEVESTINGACCOUNT']._serialized_start=170 + _globals['_BASEVESTINGACCOUNT']._serialized_end=759 + _globals['_CONTINUOUSVESTINGACCOUNT']._serialized_start=762 + _globals['_CONTINUOUSVESTINGACCOUNT']._serialized_end=965 + _globals['_DELAYEDVESTINGACCOUNT']._serialized_start=968 + _globals['_DELAYEDVESTINGACCOUNT']._serialized_end=1134 + _globals['_PERIOD']._serialized_start=1137 + _globals['_PERIOD']._serialized_end=1292 + _globals['_PERIODICVESTINGACCOUNT']._serialized_start=1295 + _globals['_PERIODICVESTINGACCOUNT']._serialized_end=1578 + _globals['_PERMANENTLOCKEDACCOUNT']._serialized_start=1581 + _globals['_PERMANENTLOCKEDACCOUNT']._serialized_end=1749 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2_grpc.py b/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmos/vesting/v1beta1/vesting_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/cosmwasm/wasm/v1/authz_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py new file mode 100644 index 00000000..2f350a08 --- /dev/null +++ b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py @@ -0,0 +1,89 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmwasm/wasm/v1/authz.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/authz.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xa0\x01\n\x16StoreCodeAuthorization\x12>\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmwasm.wasm.v1.CodeGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:F\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1bwasm/StoreCodeAuthorization\"\xb4\x01\n\x1e\x43ontractExecutionAuthorization\x12\x42\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization\"\xb4\x01\n\x1e\x43ontractMigrationAuthorization\x12\x42\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization\"\x7f\n\tCodeGrant\x12\x1b\n\tcode_hash\x18\x01 \x01(\x0cR\x08\x63odeHash\x12U\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\"\xf4\x01\n\rContractGrant\x12\x34\n\x08\x63ontract\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12T\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitXR\x05limit\x12W\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterXR\x06\x66ilter\"n\n\rMaxCallsLimit\x12\x1c\n\tremaining\x18\x01 \x01(\x04R\tremaining:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit\"\xcd\x01\n\rMaxFundsLimit\x12{\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x07\x61mounts:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit\"\xf6\x01\n\rCombinedLimit\x12\'\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04R\x0e\x63\x61llsRemaining\x12{\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x07\x61mounts:?\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\"}\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x12\n\x04keys\x18\x01 \x03(\tR\x04keys:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter\"\xa7\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12\x42\n\x08messages\x18\x01 \x03(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x08messages:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB\xb0\x01\n\x14\x63om.cosmwasm.wasm.v1B\nAuthzProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.authz_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\nAuthzProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000' + _globals['_STORECODEAUTHORIZATION'].fields_by_name['grants']._loaded_options = None + _globals['_STORECODEAUTHORIZATION'].fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_STORECODEAUTHORIZATION']._loaded_options = None + _globals['_STORECODEAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\033wasm/StoreCodeAuthorization' + _globals['_CONTRACTEXECUTIONAUTHORIZATION'].fields_by_name['grants']._loaded_options = None + _globals['_CONTRACTEXECUTIONAUTHORIZATION'].fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._loaded_options = None + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractExecutionAuthorization' + _globals['_CONTRACTMIGRATIONAUTHORIZATION'].fields_by_name['grants']._loaded_options = None + _globals['_CONTRACTMIGRATIONAUTHORIZATION'].fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._loaded_options = None + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractMigrationAuthorization' + _globals['_CONTRACTGRANT'].fields_by_name['contract']._loaded_options = None + _globals['_CONTRACTGRANT'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_CONTRACTGRANT'].fields_by_name['limit']._loaded_options = None + _globals['_CONTRACTGRANT'].fields_by_name['limit']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX' + _globals['_CONTRACTGRANT'].fields_by_name['filter']._loaded_options = None + _globals['_CONTRACTGRANT'].fields_by_name['filter']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX' + _globals['_MAXCALLSLIMIT']._loaded_options = None + _globals['_MAXCALLSLIMIT']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/MaxCallsLimit' + _globals['_MAXFUNDSLIMIT'].fields_by_name['amounts']._loaded_options = None + _globals['_MAXFUNDSLIMIT'].fields_by_name['amounts']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MAXFUNDSLIMIT']._loaded_options = None + _globals['_MAXFUNDSLIMIT']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/MaxFundsLimit' + _globals['_COMBINEDLIMIT'].fields_by_name['amounts']._loaded_options = None + _globals['_COMBINEDLIMIT'].fields_by_name['amounts']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_COMBINEDLIMIT']._loaded_options = None + _globals['_COMBINEDLIMIT']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/CombinedLimit' + _globals['_ALLOWALLMESSAGESFILTER']._loaded_options = None + _globals['_ALLOWALLMESSAGESFILTER']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AllowAllMessagesFilter' + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._loaded_options = None + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\036wasm/AcceptedMessageKeysFilter' + _globals['_ACCEPTEDMESSAGESFILTER'].fields_by_name['messages']._loaded_options = None + _globals['_ACCEPTEDMESSAGESFILTER'].fields_by_name['messages']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_ACCEPTEDMESSAGESFILTER']._loaded_options = None + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AcceptedMessagesFilter' + _globals['_STORECODEAUTHORIZATION']._serialized_start=208 + _globals['_STORECODEAUTHORIZATION']._serialized_end=368 + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_start=371 + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_end=551 + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_start=554 + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_end=734 + _globals['_CODEGRANT']._serialized_start=736 + _globals['_CODEGRANT']._serialized_end=863 + _globals['_CONTRACTGRANT']._serialized_start=866 + _globals['_CONTRACTGRANT']._serialized_end=1110 + _globals['_MAXCALLSLIMIT']._serialized_start=1112 + _globals['_MAXCALLSLIMIT']._serialized_end=1222 + _globals['_MAXFUNDSLIMIT']._serialized_start=1225 + _globals['_MAXFUNDSLIMIT']._serialized_end=1430 + _globals['_COMBINEDLIMIT']._serialized_start=1433 + _globals['_COMBINEDLIMIT']._serialized_end=1679 + _globals['_ALLOWALLMESSAGESFILTER']._serialized_start=1681 + _globals['_ALLOWALLMESSAGESFILTER']._serialized_end=1780 + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_start=1782 + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_end=1907 + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_start=1910 + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_end=2077 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmwasm/wasm/v1/authz_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/cosmwasm/wasm/v1/genesis_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py new file mode 100644 index 00000000..535084e8 --- /dev/null +++ b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py @@ -0,0 +1,59 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmwasm/wasm/v1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmwasm/wasm/v1/genesis.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xcf\x02\n\x0cGenesisState\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12J\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*\x01R\x05\x63odes\x12Z\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*\x01R\tcontracts\x12Z\n\tsequences\x18\x04 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.SequenceB \xc8\xde\x1f\x00\xea\xde\x1f\x13sequences,omitempty\xa8\xe7\xb0*\x01R\tsequences\"\xa6\x01\n\x04\x43ode\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x42\n\tcode_info\x18\x02 \x01(\x0b\x32\x1a.cosmwasm.wasm.v1.CodeInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x63odeInfo\x12\x1d\n\ncode_bytes\x18\x03 \x01(\x0cR\tcodeBytes\x12\x16\n\x06pinned\x18\x04 \x01(\x08R\x06pinned\"\xd5\x02\n\x08\x43ontract\x12\x43\n\x10\x63ontract_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0f\x63ontractAddress\x12N\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0c\x63ontractInfo\x12I\n\x0e\x63ontract_state\x18\x03 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rcontractState\x12i\n\x15\x63ontract_code_history\x18\x04 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x63ontractCodeHistory\"B\n\x08Sequence\x12 \n\x06id_key\x18\x01 \x01(\x0c\x42\t\xe2\xde\x1f\x05IDKeyR\x05idKey\x12\x14\n\x05value\x18\x02 \x01(\x04R\x05valueB\xae\x01\n\x14\x63om.cosmwasm.wasm.v1B\x0cGenesisProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\014GenesisProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['codes']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['codes']._serialized_options = b'\310\336\037\000\352\336\037\017codes,omitempty\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['contracts']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['contracts']._serialized_options = b'\310\336\037\000\352\336\037\023contracts,omitempty\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['sequences']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['sequences']._serialized_options = b'\310\336\037\000\352\336\037\023sequences,omitempty\250\347\260*\001' + _globals['_CODE'].fields_by_name['code_id']._loaded_options = None + _globals['_CODE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_CODE'].fields_by_name['code_info']._loaded_options = None + _globals['_CODE'].fields_by_name['code_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_CONTRACT'].fields_by_name['contract_address']._loaded_options = None + _globals['_CONTRACT'].fields_by_name['contract_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_CONTRACT'].fields_by_name['contract_info']._loaded_options = None + _globals['_CONTRACT'].fields_by_name['contract_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_CONTRACT'].fields_by_name['contract_state']._loaded_options = None + _globals['_CONTRACT'].fields_by_name['contract_state']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_CONTRACT'].fields_by_name['contract_code_history']._loaded_options = None + _globals['_CONTRACT'].fields_by_name['contract_code_history']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_SEQUENCE'].fields_by_name['id_key']._loaded_options = None + _globals['_SEQUENCE'].fields_by_name['id_key']._serialized_options = b'\342\336\037\005IDKey' + _globals['_GENESISSTATE']._serialized_start=151 + _globals['_GENESISSTATE']._serialized_end=486 + _globals['_CODE']._serialized_start=489 + _globals['_CODE']._serialized_end=655 + _globals['_CONTRACT']._serialized_start=658 + _globals['_CONTRACT']._serialized_end=999 + _globals['_SEQUENCE']._serialized_start=1001 + _globals['_SEQUENCE']._serialized_end=1067 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmwasm/wasm/v1/genesis_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/cosmwasm/wasm/v1/ibc_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py new file mode 100644 index 00000000..a0548a24 --- /dev/null +++ b/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmwasm/wasm/v1/ibc.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63osmwasm/wasm/v1/ibc.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\"\xe2\x01\n\nMsgIBCSend\x12\x33\n\x07\x63hannel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_channel\"R\x07\x63hannel\x12@\n\x0etimeout_height\x18\x04 \x01(\x04\x42\x19\xf2\xde\x1f\x15yaml:\"timeout_height\"R\rtimeoutHeight\x12I\n\x11timeout_timestamp\x18\x05 \x01(\x04\x42\x1c\xf2\xde\x1f\x18yaml:\"timeout_timestamp\"R\x10timeoutTimestamp\x12\x12\n\x04\x64\x61ta\x18\x06 \x01(\x0cR\x04\x64\x61ta\"0\n\x12MsgIBCSendResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\"I\n\x12MsgIBCCloseChannel\x12\x33\n\x07\x63hannel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_channel\"R\x07\x63hannelB\xae\x01\n\x14\x63om.cosmwasm.wasm.v1B\x08IbcProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.ibc_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\010IbcProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000' + _globals['_MSGIBCSEND'].fields_by_name['channel']._loaded_options = None + _globals['_MSGIBCSEND'].fields_by_name['channel']._serialized_options = b'\362\336\037\025yaml:\"source_channel\"' + _globals['_MSGIBCSEND'].fields_by_name['timeout_height']._loaded_options = None + _globals['_MSGIBCSEND'].fields_by_name['timeout_height']._serialized_options = b'\362\336\037\025yaml:\"timeout_height\"' + _globals['_MSGIBCSEND'].fields_by_name['timeout_timestamp']._loaded_options = None + _globals['_MSGIBCSEND'].fields_by_name['timeout_timestamp']._serialized_options = b'\362\336\037\030yaml:\"timeout_timestamp\"' + _globals['_MSGIBCCLOSECHANNEL'].fields_by_name['channel']._loaded_options = None + _globals['_MSGIBCCLOSECHANNEL'].fields_by_name['channel']._serialized_options = b'\362\336\037\025yaml:\"source_channel\"' + _globals['_MSGIBCSEND']._serialized_start=71 + _globals['_MSGIBCSEND']._serialized_end=297 + _globals['_MSGIBCSENDRESPONSE']._serialized_start=299 + _globals['_MSGIBCSENDRESPONSE']._serialized_end=347 + _globals['_MSGIBCCLOSECHANNEL']._serialized_start=349 + _globals['_MSGIBCCLOSECHANNEL']._serialized_end=422 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmwasm/wasm/v1/ibc_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/cosmwasm/wasm/v1/proposal_legacy_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2.py new file mode 100644 index 00000000..7a284f58 --- /dev/null +++ b/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2.py @@ -0,0 +1,150 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmwasm/wasm/v1/proposal_legacy.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmwasm/wasm/v1/proposal_legacy.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\x03\n\x11StoreCodeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x36\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x08 \x01(\x08R\tunpinCode\x12\x16\n\x06source\x18\t \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\n \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\x0b \x01(\x0cR\x08\x63odeHash:;\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x16wasm/StoreCodeProposalJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\xeb\x03\n\x1bInstantiateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12.\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x07 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:E\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0* wasm/InstantiateContractProposal\"\x9a\x04\n\x1cInstantiateContract2Proposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12.\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x07 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x12\n\x04salt\x18\t \x01(\x0cR\x04salt\x12\x17\n\x07\x66ix_msg\x18\n \x01(\x08R\x06\x66ixMsg:F\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal\"\xa9\x02\n\x17MigrateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x38\n\x03msg\x18\x06 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal\"\xfe\x01\n\x14SudoContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:>\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x19wasm/SudoContractProposal\"\xae\x03\n\x17\x45xecuteContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal\"\x8d\x02\n\x13UpdateAdminProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12I\n\tnew_admin\x18\x03 \x01(\tB,\xf2\xde\x1f\x10yaml:\"new_admin\"\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal\"\xc0\x01\n\x12\x43learAdminProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal\"\xc1\x01\n\x10PinCodesProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"R\x07\x63odeIds::\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15wasm/PinCodesProposal\"\xc5\x01\n\x12UnpinCodesProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"R\x07\x63odeIds:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal\"\x9b\x01\n\x12\x41\x63\x63\x65ssConfigUpdate\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12`\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15instantiatePermission\"\xb3\x02\n\x1fUpdateInstantiateConfigProposal\x12&\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"R\x05title\x12\x38\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"R\x0b\x64\x65scription\x12\x63\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*\x01R\x13\x61\x63\x63\x65ssConfigUpdates:I\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal\"\xb9\x05\n#StoreAndInstantiateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x36\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x06 \x01(\x08R\tunpinCode\x12\x14\n\x05\x61\x64min\x18\x07 \x01(\tR\x05\x61\x64min\x12\x14\n\x05label\x18\x08 \x01(\tR\x05label\x12\x38\n\x03msg\x18\t \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x16\n\x06source\x18\x0b \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\x0c \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\r \x01(\x0cR\x08\x63odeHash:M\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposalB\xc1\x01\n\x14\x63om.cosmwasm.wasm.v1B\x13ProposalLegacyProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.proposal_legacy_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\023ProposalLegacyProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\330\341\036\000\250\342\036\001' + _globals['_STORECODEPROPOSAL'].fields_by_name['run_as']._loaded_options = None + _globals['_STORECODEPROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_STORECODEPROPOSAL'].fields_by_name['wasm_byte_code']._loaded_options = None + _globals['_STORECODEPROPOSAL'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _globals['_STORECODEPROPOSAL']._loaded_options = None + _globals['_STORECODEPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\026wasm/StoreCodeProposal' + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['run_as']._loaded_options = None + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['admin']._loaded_options = None + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['code_id']._loaded_options = None + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['funds']._loaded_options = None + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_INSTANTIATECONTRACTPROPOSAL']._loaded_options = None + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260* wasm/InstantiateContractProposal' + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['run_as']._loaded_options = None + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['admin']._loaded_options = None + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['code_id']._loaded_options = None + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['msg']._loaded_options = None + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['funds']._loaded_options = None + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_INSTANTIATECONTRACT2PROPOSAL']._loaded_options = None + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!wasm/InstantiateContract2Proposal' + _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['contract']._loaded_options = None + _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['code_id']._loaded_options = None + _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None + _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MIGRATECONTRACTPROPOSAL']._loaded_options = None + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/MigrateContractProposal' + _globals['_SUDOCONTRACTPROPOSAL'].fields_by_name['contract']._loaded_options = None + _globals['_SUDOCONTRACTPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_SUDOCONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None + _globals['_SUDOCONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_SUDOCONTRACTPROPOSAL']._loaded_options = None + _globals['_SUDOCONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\031wasm/SudoContractProposal' + _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['run_as']._loaded_options = None + _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['contract']._loaded_options = None + _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None + _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['funds']._loaded_options = None + _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_EXECUTECONTRACTPROPOSAL']._loaded_options = None + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/ExecuteContractProposal' + _globals['_UPDATEADMINPROPOSAL'].fields_by_name['new_admin']._loaded_options = None + _globals['_UPDATEADMINPROPOSAL'].fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"\322\264-\024cosmos.AddressString' + _globals['_UPDATEADMINPROPOSAL'].fields_by_name['contract']._loaded_options = None + _globals['_UPDATEADMINPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_UPDATEADMINPROPOSAL']._loaded_options = None + _globals['_UPDATEADMINPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\030wasm/UpdateAdminProposal' + _globals['_CLEARADMINPROPOSAL'].fields_by_name['contract']._loaded_options = None + _globals['_CLEARADMINPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_CLEARADMINPROPOSAL']._loaded_options = None + _globals['_CLEARADMINPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/ClearAdminProposal' + _globals['_PINCODESPROPOSAL'].fields_by_name['code_ids']._loaded_options = None + _globals['_PINCODESPROPOSAL'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' + _globals['_PINCODESPROPOSAL']._loaded_options = None + _globals['_PINCODESPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025wasm/PinCodesProposal' + _globals['_UNPINCODESPROPOSAL'].fields_by_name['code_ids']._loaded_options = None + _globals['_UNPINCODESPROPOSAL'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' + _globals['_UNPINCODESPROPOSAL']._loaded_options = None + _globals['_UNPINCODESPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/UnpinCodesProposal' + _globals['_ACCESSCONFIGUPDATE'].fields_by_name['code_id']._loaded_options = None + _globals['_ACCESSCONFIGUPDATE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_ACCESSCONFIGUPDATE'].fields_by_name['instantiate_permission']._loaded_options = None + _globals['_ACCESSCONFIGUPDATE'].fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['title']._loaded_options = None + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['description']._loaded_options = None + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['access_config_updates']._loaded_options = None + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['access_config_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._loaded_options = None + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$wasm/UpdateInstantiateConfigProposal' + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['run_as']._loaded_options = None + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['wasm_byte_code']._loaded_options = None + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['funds']._loaded_options = None + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._loaded_options = None + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(wasm/StoreAndInstantiateContractProposal' + _globals['_STORECODEPROPOSAL']._serialized_start=191 + _globals['_STORECODEPROPOSAL']._serialized_end=641 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_start=644 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_end=1135 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_start=1138 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_end=1676 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_start=1679 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_end=1976 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_start=1979 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_end=2233 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_start=2236 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_end=2666 + _globals['_UPDATEADMINPROPOSAL']._serialized_start=2669 + _globals['_UPDATEADMINPROPOSAL']._serialized_end=2938 + _globals['_CLEARADMINPROPOSAL']._serialized_start=2941 + _globals['_CLEARADMINPROPOSAL']._serialized_end=3133 + _globals['_PINCODESPROPOSAL']._serialized_start=3136 + _globals['_PINCODESPROPOSAL']._serialized_end=3329 + _globals['_UNPINCODESPROPOSAL']._serialized_start=3332 + _globals['_UNPINCODESPROPOSAL']._serialized_end=3529 + _globals['_ACCESSCONFIGUPDATE']._serialized_start=3532 + _globals['_ACCESSCONFIGUPDATE']._serialized_end=3687 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_start=3690 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_end=3997 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_start=4000 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_end=4697 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_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/cosmwasm/wasm/v1/query_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py new file mode 100644 index 00000000..6defc46e --- /dev/null +++ b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py @@ -0,0 +1,163 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmwasm/wasm/v1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/query.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\"N\n\x18QueryContractInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"\xad\x01\n\x19QueryContractInfoResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12V\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*\x01R\x0c\x63ontractInfo:\x04\xe8\xa0\x1f\x01\"\x99\x01\n\x1bQueryContractHistoryRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb8\x01\n\x1cQueryContractHistoryResponse\x12O\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"~\n\x1bQueryContractsByCodeRequest\x12\x17\n\x07\x63ode_id\x18\x01 \x01(\x04R\x06\x63odeId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x9f\x01\n\x1cQueryContractsByCodeResponse\x12\x36\n\tcontracts\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tcontracts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x9a\x01\n\x1cQueryAllContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa4\x01\n\x1dQueryAllContractStateResponse\x12:\n\x06models\x18\x01 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06models\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"q\n\x1cQueryRawContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x1d\n\nquery_data\x18\x02 \x01(\x0cR\tqueryData\"3\n\x1dQueryRawContractStateResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\x9b\x01\n\x1eQuerySmartContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x45\n\nquery_data\x18\x02 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\tqueryData\"]\n\x1fQuerySmartContractStateResponse\x12:\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x04\x64\x61ta\"+\n\x10QueryCodeRequest\x12\x17\n\x07\x63ode_id\x18\x01 \x01(\x04R\x06\x63odeId\"\xb8\x02\n\x10\x43odeInfoResponse\x12)\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\x10\xe2\xde\x1f\x06\x43odeID\xea\xde\x1f\x02idR\x06\x63odeId\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12Q\n\tdata_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x08\x64\x61taHash\x12`\n\x16instantiate_permission\x18\x06 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15instantiatePermission:\x04\xe8\xa0\x1f\x01J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"\x82\x01\n\x11QueryCodeResponse\x12I\n\tcode_info\x18\x01 \x01(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\x08\xd0\xde\x1f\x01\xea\xde\x1f\x00R\x08\x63odeInfo\x12\x1c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61taR\x04\x64\x61ta:\x04\xe8\xa0\x1f\x01\"[\n\x11QueryCodesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xab\x01\n\x12QueryCodesResponse\x12L\n\ncode_infos\x18\x01 \x03(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tcodeInfos\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"a\n\x17QueryPinnedCodesRequest\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x8b\x01\n\x18QueryPinnedCodesResponse\x12&\n\x08\x63ode_ids\x18\x01 \x03(\x04\x42\x0b\xe2\xde\x1f\x07\x43odeIDsR\x07\x63odeIds\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x14\n\x12QueryParamsRequest\"R\n\x13QueryParamsResponse\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"\xab\x01\n\x1eQueryContractsByCreatorRequest\x12\x41\n\x0f\x63reator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x63reatorAddress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb3\x01\n\x1fQueryContractsByCreatorResponse\x12G\n\x12\x63ontract_addresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x11\x63ontractAddresses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xab\x01\n\x18QueryBuildAddressRequest\x12\x1b\n\tcode_hash\x18\x01 \x01(\tR\x08\x63odeHash\x12\x41\n\x0f\x63reator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x63reatorAddress\x12\x12\n\x04salt\x18\x03 \x01(\tR\x04salt\x12\x1b\n\tinit_args\x18\x04 \x01(\x0cR\x08initArgs\"O\n\x19QueryBuildAddressResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress2\xdf\x0e\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}\x12\x99\x01\n\x0c\x42uildAddress\x12*.cosmwasm.wasm.v1.QueryBuildAddressRequest\x1a+.cosmwasm.wasm.v1.QueryBuildAddressResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmwasm/wasm/v1/contract/build_addressB\xb4\x01\n\x14\x63om.cosmwasm.wasm.v1B\nQueryProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\xa8\xe2\x1e\x00\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\nQueryProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\250\342\036\000' + _globals['_QUERYCONTRACTINFOREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYCONTRACTINFOREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYCONTRACTINFORESPONSE'].fields_by_name['address']._loaded_options = None + _globals['_QUERYCONTRACTINFORESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYCONTRACTINFORESPONSE'].fields_by_name['contract_info']._loaded_options = None + _globals['_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' + _globals['_QUERYCONTRACTINFORESPONSE']._loaded_options = None + _globals['_QUERYCONTRACTINFORESPONSE']._serialized_options = b'\350\240\037\001' + _globals['_QUERYCONTRACTHISTORYREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYCONTRACTHISTORYREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYCONTRACTHISTORYRESPONSE'].fields_by_name['entries']._loaded_options = None + _globals['_QUERYCONTRACTHISTORYRESPONSE'].fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYCONTRACTSBYCODERESPONSE'].fields_by_name['contracts']._loaded_options = None + _globals['_QUERYCONTRACTSBYCODERESPONSE'].fields_by_name['contracts']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYALLCONTRACTSTATEREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYALLCONTRACTSTATEREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYALLCONTRACTSTATERESPONSE'].fields_by_name['models']._loaded_options = None + _globals['_QUERYALLCONTRACTSTATERESPONSE'].fields_by_name['models']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYRAWCONTRACTSTATEREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYRAWCONTRACTSTATEREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYSMARTCONTRACTSTATEREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYSMARTCONTRACTSTATEREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYSMARTCONTRACTSTATEREQUEST'].fields_by_name['query_data']._loaded_options = None + _globals['_QUERYSMARTCONTRACTSTATEREQUEST'].fields_by_name['query_data']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_QUERYSMARTCONTRACTSTATERESPONSE'].fields_by_name['data']._loaded_options = None + _globals['_QUERYSMARTCONTRACTSTATERESPONSE'].fields_by_name['data']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_CODEINFORESPONSE'].fields_by_name['code_id']._loaded_options = None + _globals['_CODEINFORESPONSE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID\352\336\037\002id' + _globals['_CODEINFORESPONSE'].fields_by_name['creator']._loaded_options = None + _globals['_CODEINFORESPONSE'].fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_CODEINFORESPONSE'].fields_by_name['data_hash']._loaded_options = None + _globals['_CODEINFORESPONSE'].fields_by_name['data_hash']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' + _globals['_CODEINFORESPONSE'].fields_by_name['instantiate_permission']._loaded_options = None + _globals['_CODEINFORESPONSE'].fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_CODEINFORESPONSE']._loaded_options = None + _globals['_CODEINFORESPONSE']._serialized_options = b'\350\240\037\001' + _globals['_QUERYCODERESPONSE'].fields_by_name['code_info']._loaded_options = None + _globals['_QUERYCODERESPONSE'].fields_by_name['code_info']._serialized_options = b'\320\336\037\001\352\336\037\000' + _globals['_QUERYCODERESPONSE'].fields_by_name['data']._loaded_options = None + _globals['_QUERYCODERESPONSE'].fields_by_name['data']._serialized_options = b'\352\336\037\004data' + _globals['_QUERYCODERESPONSE']._loaded_options = None + _globals['_QUERYCODERESPONSE']._serialized_options = b'\350\240\037\001' + _globals['_QUERYCODESRESPONSE'].fields_by_name['code_infos']._loaded_options = None + _globals['_QUERYCODESRESPONSE'].fields_by_name['code_infos']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYPINNEDCODESRESPONSE'].fields_by_name['code_ids']._loaded_options = None + _globals['_QUERYPINNEDCODESRESPONSE'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYCONTRACTSBYCREATORREQUEST'].fields_by_name['creator_address']._loaded_options = None + _globals['_QUERYCONTRACTSBYCREATORREQUEST'].fields_by_name['creator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYCONTRACTSBYCREATORRESPONSE'].fields_by_name['contract_addresses']._loaded_options = None + _globals['_QUERYCONTRACTSBYCREATORRESPONSE'].fields_by_name['contract_addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYBUILDADDRESSREQUEST'].fields_by_name['creator_address']._loaded_options = None + _globals['_QUERYBUILDADDRESSREQUEST'].fields_by_name['creator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYBUILDADDRESSRESPONSE'].fields_by_name['address']._loaded_options = None + _globals['_QUERYBUILDADDRESSRESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERY'].methods_by_name['ContractInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['ContractInfo']._serialized_options = b'\202\323\344\223\002&\022$/cosmwasm/wasm/v1/contract/{address}' + _globals['_QUERY'].methods_by_name['ContractHistory']._loaded_options = None + _globals['_QUERY'].methods_by_name['ContractHistory']._serialized_options = b'\202\323\344\223\002.\022,/cosmwasm/wasm/v1/contract/{address}/history' + _globals['_QUERY'].methods_by_name['ContractsByCode']._loaded_options = None + _globals['_QUERY'].methods_by_name['ContractsByCode']._serialized_options = b'\202\323\344\223\002,\022*/cosmwasm/wasm/v1/code/{code_id}/contracts' + _globals['_QUERY'].methods_by_name['AllContractState']._loaded_options = None + _globals['_QUERY'].methods_by_name['AllContractState']._serialized_options = b'\202\323\344\223\002,\022*/cosmwasm/wasm/v1/contract/{address}/state' + _globals['_QUERY'].methods_by_name['RawContractState']._loaded_options = None + _globals['_QUERY'].methods_by_name['RawContractState']._serialized_options = b'\202\323\344\223\0027\0225/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}' + _globals['_QUERY'].methods_by_name['SmartContractState']._loaded_options = None + _globals['_QUERY'].methods_by_name['SmartContractState']._serialized_options = b'\202\323\344\223\0029\0227/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}' + _globals['_QUERY'].methods_by_name['Code']._loaded_options = None + _globals['_QUERY'].methods_by_name['Code']._serialized_options = b'\202\323\344\223\002\"\022 /cosmwasm/wasm/v1/code/{code_id}' + _globals['_QUERY'].methods_by_name['Codes']._loaded_options = None + _globals['_QUERY'].methods_by_name['Codes']._serialized_options = b'\202\323\344\223\002\030\022\026/cosmwasm/wasm/v1/code' + _globals['_QUERY'].methods_by_name['PinnedCodes']._loaded_options = None + _globals['_QUERY'].methods_by_name['PinnedCodes']._serialized_options = b'\202\323\344\223\002 \022\036/cosmwasm/wasm/v1/codes/pinned' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002 \022\036/cosmwasm/wasm/v1/codes/params' + _globals['_QUERY'].methods_by_name['ContractsByCreator']._loaded_options = None + _globals['_QUERY'].methods_by_name['ContractsByCreator']._serialized_options = b'\202\323\344\223\0027\0225/cosmwasm/wasm/v1/contracts/creator/{creator_address}' + _globals['_QUERY'].methods_by_name['BuildAddress']._loaded_options = None + _globals['_QUERY'].methods_by_name['BuildAddress']._serialized_options = b'\202\323\344\223\002*\022(/cosmwasm/wasm/v1/contract/build_address' + _globals['_QUERYCONTRACTINFOREQUEST']._serialized_start=222 + _globals['_QUERYCONTRACTINFOREQUEST']._serialized_end=300 + _globals['_QUERYCONTRACTINFORESPONSE']._serialized_start=303 + _globals['_QUERYCONTRACTINFORESPONSE']._serialized_end=476 + _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_start=479 + _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_end=632 + _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_start=635 + _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_end=819 + _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_start=821 + _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_end=947 + _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_start=950 + _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_end=1109 + _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_start=1112 + _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_end=1266 + _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_start=1269 + _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_end=1433 + _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_start=1435 + _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_end=1548 + _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_start=1550 + _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_end=1601 + _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_start=1604 + _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_end=1759 + _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_start=1761 + _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_end=1854 + _globals['_QUERYCODEREQUEST']._serialized_start=1856 + _globals['_QUERYCODEREQUEST']._serialized_end=1899 + _globals['_CODEINFORESPONSE']._serialized_start=1902 + _globals['_CODEINFORESPONSE']._serialized_end=2214 + _globals['_QUERYCODERESPONSE']._serialized_start=2217 + _globals['_QUERYCODERESPONSE']._serialized_end=2347 + _globals['_QUERYCODESREQUEST']._serialized_start=2349 + _globals['_QUERYCODESREQUEST']._serialized_end=2440 + _globals['_QUERYCODESRESPONSE']._serialized_start=2443 + _globals['_QUERYCODESRESPONSE']._serialized_end=2614 + _globals['_QUERYPINNEDCODESREQUEST']._serialized_start=2616 + _globals['_QUERYPINNEDCODESREQUEST']._serialized_end=2713 + _globals['_QUERYPINNEDCODESRESPONSE']._serialized_start=2716 + _globals['_QUERYPINNEDCODESRESPONSE']._serialized_end=2855 + _globals['_QUERYPARAMSREQUEST']._serialized_start=2857 + _globals['_QUERYPARAMSREQUEST']._serialized_end=2877 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=2879 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=2961 + _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_start=2964 + _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_end=3135 + _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_start=3138 + _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_end=3317 + _globals['_QUERYBUILDADDRESSREQUEST']._serialized_start=3320 + _globals['_QUERYBUILDADDRESSREQUEST']._serialized_end=3491 + _globals['_QUERYBUILDADDRESSRESPONSE']._serialized_start=3493 + _globals['_QUERYBUILDADDRESSRESPONSE']._serialized_end=3572 + _globals['_QUERY']._serialized_start=3575 + _globals['_QUERY']._serialized_end=5462 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2_grpc.py new file mode 100644 index 00000000..ed773a07 --- /dev/null +++ b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2_grpc.py @@ -0,0 +1,565 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmwasm.wasm.v1 import query_pb2 as cosmwasm_dot_wasm_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query provides defines the gRPC querier service + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.ContractInfo = channel.unary_unary( + '/cosmwasm.wasm.v1.Query/ContractInfo', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoResponse.FromString, + _registered_method=True) + self.ContractHistory = channel.unary_unary( + '/cosmwasm.wasm.v1.Query/ContractHistory', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryResponse.FromString, + _registered_method=True) + self.ContractsByCode = channel.unary_unary( + '/cosmwasm.wasm.v1.Query/ContractsByCode', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeResponse.FromString, + _registered_method=True) + self.AllContractState = channel.unary_unary( + '/cosmwasm.wasm.v1.Query/AllContractState', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateResponse.FromString, + _registered_method=True) + self.RawContractState = channel.unary_unary( + '/cosmwasm.wasm.v1.Query/RawContractState', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateResponse.FromString, + _registered_method=True) + self.SmartContractState = channel.unary_unary( + '/cosmwasm.wasm.v1.Query/SmartContractState', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateResponse.FromString, + _registered_method=True) + self.Code = channel.unary_unary( + '/cosmwasm.wasm.v1.Query/Code', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeResponse.FromString, + _registered_method=True) + self.Codes = channel.unary_unary( + '/cosmwasm.wasm.v1.Query/Codes', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.FromString, + _registered_method=True) + self.PinnedCodes = channel.unary_unary( + '/cosmwasm.wasm.v1.Query/PinnedCodes', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesResponse.FromString, + _registered_method=True) + self.Params = channel.unary_unary( + '/cosmwasm.wasm.v1.Query/Params', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + self.ContractsByCreator = channel.unary_unary( + '/cosmwasm.wasm.v1.Query/ContractsByCreator', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.FromString, + _registered_method=True) + self.BuildAddress = channel.unary_unary( + '/cosmwasm.wasm.v1.Query/BuildAddress', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query provides defines the gRPC querier service + """ + + def ContractInfo(self, request, context): + """ContractInfo gets the contract meta data + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ContractHistory(self, request, context): + """ContractHistory gets the contract code history + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ContractsByCode(self, request, context): + """ContractsByCode lists all smart contracts for a code id + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AllContractState(self, request, context): + """AllContractState gets all raw store data for a single contract + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RawContractState(self, request, context): + """RawContractState gets single key from the raw store data of a contract + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SmartContractState(self, request, context): + """SmartContractState get smart query result from the contract + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Code(self, request, context): + """Code gets the binary code and metadata for a singe wasm code + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Codes(self, request, context): + """Codes gets the metadata for all stored wasm codes + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PinnedCodes(self, request, context): + """PinnedCodes gets the pinned code ids + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Params(self, request, context): + """Params gets the module params + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ContractsByCreator(self, request, context): + """ContractsByCreator gets the contracts by creator + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BuildAddress(self, request, context): + """BuildAddress builds a contract address + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'ContractInfo': grpc.unary_unary_rpc_method_handler( + servicer.ContractInfo, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoResponse.SerializeToString, + ), + 'ContractHistory': grpc.unary_unary_rpc_method_handler( + servicer.ContractHistory, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryResponse.SerializeToString, + ), + 'ContractsByCode': grpc.unary_unary_rpc_method_handler( + servicer.ContractsByCode, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeResponse.SerializeToString, + ), + 'AllContractState': grpc.unary_unary_rpc_method_handler( + servicer.AllContractState, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateResponse.SerializeToString, + ), + 'RawContractState': grpc.unary_unary_rpc_method_handler( + servicer.RawContractState, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateResponse.SerializeToString, + ), + 'SmartContractState': grpc.unary_unary_rpc_method_handler( + servicer.SmartContractState, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateResponse.SerializeToString, + ), + 'Code': grpc.unary_unary_rpc_method_handler( + servicer.Code, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeResponse.SerializeToString, + ), + 'Codes': grpc.unary_unary_rpc_method_handler( + servicer.Codes, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.SerializeToString, + ), + 'PinnedCodes': grpc.unary_unary_rpc_method_handler( + servicer.PinnedCodes, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesResponse.SerializeToString, + ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'ContractsByCreator': grpc.unary_unary_rpc_method_handler( + servicer.ContractsByCreator, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.SerializeToString, + ), + 'BuildAddress': grpc.unary_unary_rpc_method_handler( + servicer.BuildAddress, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmwasm.wasm.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmwasm.wasm.v1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query provides defines the gRPC querier service + """ + + @staticmethod + def ContractInfo(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.Query/ContractInfo', + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoRequest.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ContractHistory(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.Query/ContractHistory', + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryRequest.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ContractsByCode(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.Query/ContractsByCode', + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeRequest.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AllContractState(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.Query/AllContractState', + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateRequest.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RawContractState(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.Query/RawContractState', + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateRequest.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SmartContractState(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.Query/SmartContractState', + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateRequest.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Code(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.Query/Code', + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeRequest.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Codes(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.Query/Codes', + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PinnedCodes(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.Query/PinnedCodes', + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Params(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.Query/Params', + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ContractsByCreator(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.Query/ContractsByCreator', + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BuildAddress(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.Query/BuildAddress', + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py new file mode 100644 index 00000000..96079c0b --- /dev/null +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py @@ -0,0 +1,247 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmwasm/wasm/v1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.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\"\xfe\x01\n\x0cMsgStoreCode\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x36\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"W\n\x14MsgStoreCodeResponse\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x1a\n\x08\x63hecksum\x18\x02 \x01(\x0cR\x08\x63hecksum\"\x95\x03\n\x16MsgInstantiateContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"h\n\x1eMsgInstantiateContractResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\"\xc4\x03\n\x17MsgInstantiateContract2\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x12\n\x04salt\x18\x07 \x01(\x0cR\x04salt\x12\x17\n\x07\x66ix_msg\x18\x08 \x01(\x08R\x06\x66ixMsg:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"i\n\x1fMsgInstantiateContract2Response\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\"\xd8\x02\n\x12MsgExecuteContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x03 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"0\n\x1aMsgExecuteContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\x84\x02\n\x12MsgMigrateContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"0\n\x1aMsgMigrateContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\xd4\x01\n\x0eMsgUpdateAdmin\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x35\n\tnew_admin\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"\x9b\x01\n\rMsgClearAdmin\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"\x82\x02\n\x1aMsgUpdateInstantiateConfig\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12#\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\\\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x18newInstantiatePermission:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\xaf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12;\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xe2\x01\n\x0fMsgSudoContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x03 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"-\n\x17MsgSudoContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\xa5\x01\n\x0bMsgPinCodes\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x39\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"R\x07\x63odeIds:#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\xa9\x01\n\rMsgUnpinCodes\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x39\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"R\x07\x63odeIds:%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\x86\x05\n\x1eMsgStoreAndInstantiateContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x36\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x05 \x01(\x08R\tunpinCode\x12.\n\x05\x61\x64min\x18\x06 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x14\n\x05label\x18\x07 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x08 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x16\n\x06source\x18\n \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\x0b \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\x0c \x01(\x0cR\x08\x63odeHash:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"p\n&MsgStoreAndInstantiateContractResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\"\xc6\x01\n\x1fMsgAddCodeUploadParamsAddresses\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x32\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"R\taddresses:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$wasm/MsgAddCodeUploadParamsAddresses\")\n\'MsgAddCodeUploadParamsAddressesResponse\"\xcc\x01\n\"MsgRemoveCodeUploadParamsAddresses\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x32\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"R\taddresses::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'wasm/MsgRemoveCodeUploadParamsAddresses\",\n*MsgRemoveCodeUploadParamsAddressesResponse\"\xed\x02\n\x1aMsgStoreAndMigrateContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x36\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1a\n\x08\x63ontract\x18\x04 \x01(\tR\x08\x63ontract\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:2\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1fwasm/MsgStoreAndMigrateContract\"y\n\"MsgStoreAndMigrateContractResponse\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x1a\n\x08\x63hecksum\x18\x02 \x01(\x0cR\x08\x63hecksum\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\"\xca\x01\n\x16MsgUpdateContractLabel\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x1b\n\tnew_label\x18\x02 \x01(\tR\x08newLabel\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:+\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\xad\x01\n\x14\x63om.cosmwasm.wasm.v1B\x07TxProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\007TxProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000' + _globals['_MSGSTORECODE'].fields_by_name['sender']._loaded_options = None + _globals['_MSGSTORECODE'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSTORECODE'].fields_by_name['wasm_byte_code']._loaded_options = None + _globals['_MSGSTORECODE'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _globals['_MSGSTORECODE']._loaded_options = None + _globals['_MSGSTORECODE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\021wasm/MsgStoreCode' + _globals['_MSGSTORECODERESPONSE'].fields_by_name['code_id']._loaded_options = None + _globals['_MSGSTORECODERESPONSE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['sender']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['admin']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['code_id']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['msg']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['funds']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGINSTANTIATECONTRACT']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgInstantiateContract' + _globals['_MSGINSTANTIATECONTRACTRESPONSE'].fields_by_name['address']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACTRESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['sender']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['admin']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['code_id']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['msg']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['funds']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGINSTANTIATECONTRACT2']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT2']._serialized_options = b'\202\347\260*\006sender\212\347\260*\034wasm/MsgInstantiateContract2' + _globals['_MSGINSTANTIATECONTRACT2RESPONSE'].fields_by_name['address']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT2RESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGEXECUTECONTRACT'].fields_by_name['sender']._loaded_options = None + _globals['_MSGEXECUTECONTRACT'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGEXECUTECONTRACT'].fields_by_name['contract']._loaded_options = None + _globals['_MSGEXECUTECONTRACT'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGEXECUTECONTRACT'].fields_by_name['msg']._loaded_options = None + _globals['_MSGEXECUTECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MSGEXECUTECONTRACT'].fields_by_name['funds']._loaded_options = None + _globals['_MSGEXECUTECONTRACT'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGEXECUTECONTRACT']._loaded_options = None + _globals['_MSGEXECUTECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasm/MsgExecuteContract' + _globals['_MSGMIGRATECONTRACT'].fields_by_name['sender']._loaded_options = None + _globals['_MSGMIGRATECONTRACT'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGMIGRATECONTRACT'].fields_by_name['contract']._loaded_options = None + _globals['_MSGMIGRATECONTRACT'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGMIGRATECONTRACT'].fields_by_name['code_id']._loaded_options = None + _globals['_MSGMIGRATECONTRACT'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_MSGMIGRATECONTRACT'].fields_by_name['msg']._loaded_options = None + _globals['_MSGMIGRATECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MSGMIGRATECONTRACT']._loaded_options = None + _globals['_MSGMIGRATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasm/MsgMigrateContract' + _globals['_MSGUPDATEADMIN'].fields_by_name['sender']._loaded_options = None + _globals['_MSGUPDATEADMIN'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEADMIN'].fields_by_name['new_admin']._loaded_options = None + _globals['_MSGUPDATEADMIN'].fields_by_name['new_admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEADMIN'].fields_by_name['contract']._loaded_options = None + _globals['_MSGUPDATEADMIN'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEADMIN']._loaded_options = None + _globals['_MSGUPDATEADMIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\023wasm/MsgUpdateAdmin' + _globals['_MSGCLEARADMIN'].fields_by_name['sender']._loaded_options = None + _globals['_MSGCLEARADMIN'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCLEARADMIN'].fields_by_name['contract']._loaded_options = None + _globals['_MSGCLEARADMIN'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCLEARADMIN']._loaded_options = None + _globals['_MSGCLEARADMIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\022wasm/MsgClearAdmin' + _globals['_MSGUPDATEINSTANTIATECONFIG'].fields_by_name['sender']._loaded_options = None + _globals['_MSGUPDATEINSTANTIATECONFIG'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEINSTANTIATECONFIG'].fields_by_name['code_id']._loaded_options = None + _globals['_MSGUPDATEINSTANTIATECONFIG'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_MSGUPDATEINSTANTIATECONFIG']._loaded_options = None + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_options = b'\202\347\260*\006sender\212\347\260*\037wasm/MsgUpdateInstantiateConfig' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\024wasm/MsgUpdateParams' + _globals['_MSGSUDOCONTRACT'].fields_by_name['authority']._loaded_options = None + _globals['_MSGSUDOCONTRACT'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSUDOCONTRACT'].fields_by_name['contract']._loaded_options = None + _globals['_MSGSUDOCONTRACT'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSUDOCONTRACT'].fields_by_name['msg']._loaded_options = None + _globals['_MSGSUDOCONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MSGSUDOCONTRACT']._loaded_options = None + _globals['_MSGSUDOCONTRACT']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\024wasm/MsgSudoContract' + _globals['_MSGPINCODES'].fields_by_name['authority']._loaded_options = None + _globals['_MSGPINCODES'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGPINCODES'].fields_by_name['code_ids']._loaded_options = None + _globals['_MSGPINCODES'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' + _globals['_MSGPINCODES']._loaded_options = None + _globals['_MSGPINCODES']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\020wasm/MsgPinCodes' + _globals['_MSGUNPINCODES'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUNPINCODES'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUNPINCODES'].fields_by_name['code_ids']._loaded_options = None + _globals['_MSGUNPINCODES'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' + _globals['_MSGUNPINCODES']._loaded_options = None + _globals['_MSGUNPINCODES']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\022wasm/MsgUnpinCodes' + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['authority']._loaded_options = None + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['wasm_byte_code']._loaded_options = None + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['admin']._loaded_options = None + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['msg']._loaded_options = None + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['funds']._loaded_options = None + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._loaded_options = None + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_options = b'\202\347\260*\tauthority\212\347\260*#wasm/MsgStoreAndInstantiateContract' + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE'].fields_by_name['address']._loaded_options = None + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES'].fields_by_name['authority']._loaded_options = None + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES'].fields_by_name['addresses']._loaded_options = None + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES'].fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._loaded_options = None + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_options = b'\202\347\260*\tauthority\212\347\260*$wasm/MsgAddCodeUploadParamsAddresses' + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES'].fields_by_name['authority']._loaded_options = None + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES'].fields_by_name['addresses']._loaded_options = None + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES'].fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._loaded_options = None + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\'wasm/MsgRemoveCodeUploadParamsAddresses' + _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['authority']._loaded_options = None + _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['wasm_byte_code']._loaded_options = None + _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['msg']._loaded_options = None + _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MSGSTOREANDMIGRATECONTRACT']._loaded_options = None + _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\037wasm/MsgStoreAndMigrateContract' + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE'].fields_by_name['code_id']._loaded_options = None + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_MSGUPDATECONTRACTLABEL'].fields_by_name['sender']._loaded_options = None + _globals['_MSGUPDATECONTRACTLABEL'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATECONTRACTLABEL'].fields_by_name['contract']._loaded_options = None + _globals['_MSGUPDATECONTRACTLABEL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATECONTRACTLABEL']._loaded_options = None + _globals['_MSGUPDATECONTRACTLABEL']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgUpdateContractLabel' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGSTORECODE']._serialized_start=203 + _globals['_MSGSTORECODE']._serialized_end=457 + _globals['_MSGSTORECODERESPONSE']._serialized_start=459 + _globals['_MSGSTORECODERESPONSE']._serialized_end=546 + _globals['_MSGINSTANTIATECONTRACT']._serialized_start=549 + _globals['_MSGINSTANTIATECONTRACT']._serialized_end=954 + _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_start=956 + _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_end=1060 + _globals['_MSGINSTANTIATECONTRACT2']._serialized_start=1063 + _globals['_MSGINSTANTIATECONTRACT2']._serialized_end=1515 + _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_start=1517 + _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_end=1622 + _globals['_MSGEXECUTECONTRACT']._serialized_start=1625 + _globals['_MSGEXECUTECONTRACT']._serialized_end=1969 + _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_start=1971 + _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_end=2019 + _globals['_MSGMIGRATECONTRACT']._serialized_start=2022 + _globals['_MSGMIGRATECONTRACT']._serialized_end=2282 + _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_start=2284 + _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_end=2332 + _globals['_MSGUPDATEADMIN']._serialized_start=2335 + _globals['_MSGUPDATEADMIN']._serialized_end=2547 + _globals['_MSGUPDATEADMINRESPONSE']._serialized_start=2549 + _globals['_MSGUPDATEADMINRESPONSE']._serialized_end=2573 + _globals['_MSGCLEARADMIN']._serialized_start=2576 + _globals['_MSGCLEARADMIN']._serialized_end=2731 + _globals['_MSGCLEARADMINRESPONSE']._serialized_start=2733 + _globals['_MSGCLEARADMINRESPONSE']._serialized_end=2756 + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_start=2759 + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_end=3017 + _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_start=3019 + _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_end=3055 + _globals['_MSGUPDATEPARAMS']._serialized_start=3058 + _globals['_MSGUPDATEPARAMS']._serialized_end=3233 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=3235 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=3260 + _globals['_MSGSUDOCONTRACT']._serialized_start=3263 + _globals['_MSGSUDOCONTRACT']._serialized_end=3489 + _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_start=3491 + _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_end=3536 + _globals['_MSGPINCODES']._serialized_start=3539 + _globals['_MSGPINCODES']._serialized_end=3704 + _globals['_MSGPINCODESRESPONSE']._serialized_start=3706 + _globals['_MSGPINCODESRESPONSE']._serialized_end=3727 + _globals['_MSGUNPINCODES']._serialized_start=3730 + _globals['_MSGUNPINCODES']._serialized_end=3899 + _globals['_MSGUNPINCODESRESPONSE']._serialized_start=3901 + _globals['_MSGUNPINCODESRESPONSE']._serialized_end=3924 + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_start=3927 + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_end=4573 + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_start=4575 + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_end=4687 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_start=4690 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_end=4888 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=4890 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=4931 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_start=4934 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_end=5138 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=5140 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=5184 + _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_start=5187 + _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_end=5552 + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_start=5554 + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_end=5675 + _globals['_MSGUPDATECONTRACTLABEL']._serialized_start=5678 + _globals['_MSGUPDATECONTRACTLABEL']._serialized_end=5880 + _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_start=5882 + _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_end=5914 + _globals['_MSG']._serialized_start=5917 + _globals['_MSG']._serialized_end=7794 +# @@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 new file mode 100644 index 00000000..7dbc1734 --- /dev/null +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py @@ -0,0 +1,811 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.cosmwasm.wasm.v1 import tx_pb2 as cosmwasm_dot_wasm_dot_v1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the wasm Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.StoreCode = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/StoreCode', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCode.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCodeResponse.FromString, + _registered_method=True) + self.InstantiateContract = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/InstantiateContract', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContractResponse.FromString, + _registered_method=True) + self.InstantiateContract2 = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/InstantiateContract2', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2Response.FromString, + _registered_method=True) + self.ExecuteContract = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/ExecuteContract', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContractResponse.FromString, + _registered_method=True) + self.MigrateContract = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/MigrateContract', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContractResponse.FromString, + _registered_method=True) + self.UpdateAdmin = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/UpdateAdmin', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdmin.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdminResponse.FromString, + _registered_method=True) + self.ClearAdmin = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/ClearAdmin', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdmin.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdminResponse.FromString, + _registered_method=True) + self.UpdateInstantiateConfig = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/UpdateInstantiateConfig', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfig.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfigResponse.FromString, + _registered_method=True) + self.UpdateParams = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/UpdateParams', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + self.SudoContract = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/SudoContract', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContractResponse.FromString, + _registered_method=True) + self.PinCodes = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/PinCodes', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodes.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodesResponse.FromString, + _registered_method=True) + self.UnpinCodes = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/UnpinCodes', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodes.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodesResponse.FromString, + _registered_method=True) + self.StoreAndInstantiateContract = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/StoreAndInstantiateContract', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, + _registered_method=True) + self.RemoveCodeUploadParamsAddresses = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, + _registered_method=True) + self.AddCodeUploadParamsAddresses = channel.unary_unary( + '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, + _registered_method=True) + 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, + _registered_method=True) + 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, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the wasm Msg service. + """ + + def StoreCode(self, request, context): + """StoreCode to submit Wasm code to the system + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def InstantiateContract(self, request, context): + """InstantiateContract creates a new smart contract instance for the given + code id. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def InstantiateContract2(self, request, context): + """InstantiateContract2 creates a new smart contract instance for the given + code id with a predictable address + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ExecuteContract(self, request, context): + """Execute submits the given message data to a smart contract + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def MigrateContract(self, request, context): + """Migrate runs a code upgrade/ downgrade for a smart contract + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateAdmin(self, request, context): + """UpdateAdmin sets a new admin for a smart contract + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ClearAdmin(self, request, context): + """ClearAdmin removes any admin stored for a smart contract + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateInstantiateConfig(self, request, context): + """UpdateInstantiateConfig updates instantiate config for a smart contract + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """UpdateParams defines a governance operation for updating the x/wasm + module parameters. The authority is defined in the keeper. + + Since: 0.40 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SudoContract(self, request, context): + """SudoContract defines a governance operation for calling sudo + on a contract. The authority is defined in the keeper. + + Since: 0.40 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PinCodes(self, request, context): + """PinCodes defines a governance operation for pinning a set of + code ids in the wasmvm cache. The authority is defined in the keeper. + + Since: 0.40 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UnpinCodes(self, request, context): + """UnpinCodes defines a governance operation for unpinning a set of + code ids in the wasmvm cache. The authority is defined in the keeper. + + Since: 0.40 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def StoreAndInstantiateContract(self, request, context): + """StoreAndInstantiateContract defines a governance operation for storing + and instantiating the contract. The authority is defined in the keeper. + + Since: 0.40 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RemoveCodeUploadParamsAddresses(self, request, context): + """RemoveCodeUploadParamsAddresses defines a governance operation for + removing addresses from code upload params. + The authority is defined in the keeper. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddCodeUploadParamsAddresses(self, request, context): + """AddCodeUploadParamsAddresses defines a governance operation for + adding addresses to code upload params. + The authority is defined in the keeper. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def StoreAndMigrateContract(self, request, context): + """StoreAndMigrateContract defines a governance operation for storing + and migrating the contract. The authority is defined in the keeper. + + Since: 0.42 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateContractLabel(self, request, context): + """UpdateContractLabel sets a new label for a smart contract + + Since: 0.43 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'StoreCode': grpc.unary_unary_rpc_method_handler( + servicer.StoreCode, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCode.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCodeResponse.SerializeToString, + ), + 'InstantiateContract': grpc.unary_unary_rpc_method_handler( + servicer.InstantiateContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContractResponse.SerializeToString, + ), + 'InstantiateContract2': grpc.unary_unary_rpc_method_handler( + servicer.InstantiateContract2, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2Response.SerializeToString, + ), + 'ExecuteContract': grpc.unary_unary_rpc_method_handler( + servicer.ExecuteContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContractResponse.SerializeToString, + ), + 'MigrateContract': grpc.unary_unary_rpc_method_handler( + servicer.MigrateContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContractResponse.SerializeToString, + ), + 'UpdateAdmin': grpc.unary_unary_rpc_method_handler( + servicer.UpdateAdmin, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdmin.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdminResponse.SerializeToString, + ), + 'ClearAdmin': grpc.unary_unary_rpc_method_handler( + servicer.ClearAdmin, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdmin.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdminResponse.SerializeToString, + ), + 'UpdateInstantiateConfig': grpc.unary_unary_rpc_method_handler( + servicer.UpdateInstantiateConfig, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfig.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfigResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'SudoContract': grpc.unary_unary_rpc_method_handler( + servicer.SudoContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContractResponse.SerializeToString, + ), + 'PinCodes': grpc.unary_unary_rpc_method_handler( + servicer.PinCodes, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodes.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodesResponse.SerializeToString, + ), + 'UnpinCodes': grpc.unary_unary_rpc_method_handler( + servicer.UnpinCodes, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodes.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodesResponse.SerializeToString, + ), + 'StoreAndInstantiateContract': grpc.unary_unary_rpc_method_handler( + servicer.StoreAndInstantiateContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.SerializeToString, + ), + 'RemoveCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( + servicer.RemoveCodeUploadParamsAddresses, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.SerializeToString, + ), + 'AddCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( + servicer.AddCodeUploadParamsAddresses, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.SerializeToString, + ), + 'StoreAndMigrateContract': grpc.unary_unary_rpc_method_handler( + servicer.StoreAndMigrateContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.SerializeToString, + ), + 'UpdateContractLabel': grpc.unary_unary_rpc_method_handler( + servicer.UpdateContractLabel, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'cosmwasm.wasm.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('cosmwasm.wasm.v1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the wasm Msg service. + """ + + @staticmethod + def StoreCode(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/StoreCode', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCode.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCodeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def InstantiateContract(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/InstantiateContract', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContractResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def InstantiateContract2(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/InstantiateContract2', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2Response.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ExecuteContract(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/ExecuteContract', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContract.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContractResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def MigrateContract(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/MigrateContract', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContract.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContractResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateAdmin(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/UpdateAdmin', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdmin.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdminResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ClearAdmin(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/ClearAdmin', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdmin.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdminResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateInstantiateConfig(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/UpdateInstantiateConfig', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfig.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfigResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmwasm.wasm.v1.Msg/UpdateParams', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SudoContract(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/SudoContract', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContract.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContractResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PinCodes(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/PinCodes', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodes.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UnpinCodes(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/UnpinCodes', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodes.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def StoreAndInstantiateContract(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/StoreAndInstantiateContract', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RemoveCodeUploadParamsAddresses(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AddCodeUploadParamsAddresses(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, + cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @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, + _registered_method=True) + + @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, + _registered_method=True) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py new file mode 100644 index 00000000..4c48f996 --- /dev/null +++ b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py @@ -0,0 +1,128 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmwasm/wasm/v1/types.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"]\n\x0f\x41\x63\x63\x65ssTypeParam\x12\x44\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:\"value\"R\x05value:\x04\x98\xa0\x1f\x01\"\xa7\x01\n\x0c\x41\x63\x63\x65ssConfig\x12S\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:\"permission\"R\npermission\x12\x36\n\taddresses\x18\x03 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\taddresses:\x04\x98\xa0\x1f\x01J\x04\x08\x02\x10\x03\"\x94\x02\n\x06Params\x12t\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*\x01R\x10\x63odeUploadAccess\x12\x8d\x01\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:\"instantiate_default_permission\"R\x1cinstantiateDefaultPermission:\x04\x98\xa0\x1f\x00\"\xc1\x01\n\x08\x43odeInfo\x12\x1b\n\tcode_hash\x18\x01 \x01(\x0cR\x08\x63odeHash\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12X\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x11instantiateConfigJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\x82\x03\n\x0c\x43ontractInfo\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12.\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12>\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPositionR\x07\x63reated\x12-\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortIDR\tibcPortId\x12^\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtensionR\textension:\x04\xe8\xa0\x1f\x01\"\x8b\x02\n\x18\x43ontractCodeHistoryEntry\x12P\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationTypeR\toperation\x12#\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12>\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPositionR\x07updated\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\"R\n\x12\x41\x62soluteTxPosition\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\x12\x19\n\x08tx_index\x18\x02 \x01(\x04R\x07txIndex\"e\n\x05Model\x12\x46\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\"\xb1\x01\n\x0f\x45ventCodeStored\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x18\n\x07\x63reator\x18\x02 \x01(\tR\x07\x63reator\x12\x43\n\raccess_config\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x0c\x61\x63\x63\x65ssConfig\x12\x1a\n\x08\x63hecksum\x18\x04 \x01(\x0cR\x08\x63hecksum\"\xbe\x02\n\x19\x45ventContractInstantiated\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x14\n\x05\x61\x64min\x18\x02 \x01(\tR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x61\n\x05\x66unds\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x05\x66unds\x12(\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessageR\x03msg\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x18\n\x07\x63reator\x18\x07 \x01(\tR\x07\x63reator\"\x91\x01\n\x15\x45ventContractMigrated\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12(\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessageR\x03msg\"_\n\x15\x45ventContractAdminSet\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tnew_admin\x18\x02 \x01(\tR\x08newAdmin*\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\xb4\x01\n\x14\x63om.cosmwasm.wasm.v1B\nTypesProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\nTypesProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\250\342\036\001' + _globals['_ACCESSTYPE']._loaded_options = None + _globals['_ACCESSTYPE']._serialized_options = b'\210\243\036\000\250\244\036\000' + _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_UNSPECIFIED"]._loaded_options = None + _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \025AccessTypeUnspecified' + _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_NOBODY"]._loaded_options = None + _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_NOBODY"]._serialized_options = b'\212\235 \020AccessTypeNobody' + _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_EVERYBODY"]._loaded_options = None + _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_EVERYBODY"]._serialized_options = b'\212\235 \023AccessTypeEverybody' + _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_ANY_OF_ADDRESSES"]._loaded_options = None + _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_ANY_OF_ADDRESSES"]._serialized_options = b'\212\235 \030AccessTypeAnyOfAddresses' + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._loaded_options = None + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_options = b'\210\243\036\000' + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED"]._loaded_options = None + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 +ContractCodeHistoryOperationTypeUnspecified' + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT"]._loaded_options = None + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT"]._serialized_options = b'\212\235 $ContractCodeHistoryOperationTypeInit' + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE"]._loaded_options = None + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE"]._serialized_options = b'\212\235 \'ContractCodeHistoryOperationTypeMigrate' + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS"]._loaded_options = None + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS"]._serialized_options = b'\212\235 \'ContractCodeHistoryOperationTypeGenesis' + _globals['_ACCESSTYPEPARAM'].fields_by_name['value']._loaded_options = None + _globals['_ACCESSTYPEPARAM'].fields_by_name['value']._serialized_options = b'\362\336\037\014yaml:\"value\"' + _globals['_ACCESSTYPEPARAM']._loaded_options = None + _globals['_ACCESSTYPEPARAM']._serialized_options = b'\230\240\037\001' + _globals['_ACCESSCONFIG'].fields_by_name['permission']._loaded_options = None + _globals['_ACCESSCONFIG'].fields_by_name['permission']._serialized_options = b'\362\336\037\021yaml:\"permission\"' + _globals['_ACCESSCONFIG'].fields_by_name['addresses']._loaded_options = None + _globals['_ACCESSCONFIG'].fields_by_name['addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_ACCESSCONFIG']._loaded_options = None + _globals['_ACCESSCONFIG']._serialized_options = b'\230\240\037\001' + _globals['_PARAMS'].fields_by_name['code_upload_access']._loaded_options = None + _globals['_PARAMS'].fields_by_name['code_upload_access']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"code_upload_access\"\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['instantiate_default_permission']._loaded_options = None + _globals['_PARAMS'].fields_by_name['instantiate_default_permission']._serialized_options = b'\362\336\037%yaml:\"instantiate_default_permission\"' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\230\240\037\000' + _globals['_CODEINFO'].fields_by_name['creator']._loaded_options = None + _globals['_CODEINFO'].fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_CODEINFO'].fields_by_name['instantiate_config']._loaded_options = None + _globals['_CODEINFO'].fields_by_name['instantiate_config']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_CONTRACTINFO'].fields_by_name['code_id']._loaded_options = None + _globals['_CONTRACTINFO'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_CONTRACTINFO'].fields_by_name['creator']._loaded_options = None + _globals['_CONTRACTINFO'].fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_CONTRACTINFO'].fields_by_name['admin']._loaded_options = None + _globals['_CONTRACTINFO'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_CONTRACTINFO'].fields_by_name['ibc_port_id']._loaded_options = None + _globals['_CONTRACTINFO'].fields_by_name['ibc_port_id']._serialized_options = b'\342\336\037\tIBCPortID' + _globals['_CONTRACTINFO'].fields_by_name['extension']._loaded_options = None + _globals['_CONTRACTINFO'].fields_by_name['extension']._serialized_options = b'\312\264-&cosmwasm.wasm.v1.ContractInfoExtension' + _globals['_CONTRACTINFO']._loaded_options = None + _globals['_CONTRACTINFO']._serialized_options = b'\350\240\037\001' + _globals['_CONTRACTCODEHISTORYENTRY'].fields_by_name['code_id']._loaded_options = None + _globals['_CONTRACTCODEHISTORYENTRY'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_CONTRACTCODEHISTORYENTRY'].fields_by_name['msg']._loaded_options = None + _globals['_CONTRACTCODEHISTORYENTRY'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MODEL'].fields_by_name['key']._loaded_options = None + _globals['_MODEL'].fields_by_name['key']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' + _globals['_EVENTCODESTORED'].fields_by_name['code_id']._loaded_options = None + _globals['_EVENTCODESTORED'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['code_id']._loaded_options = None + _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['funds']._loaded_options = None + _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['msg']._loaded_options = None + _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _globals['_EVENTCONTRACTMIGRATED'].fields_by_name['code_id']._loaded_options = None + _globals['_EVENTCONTRACTMIGRATED'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_EVENTCONTRACTMIGRATED'].fields_by_name['msg']._loaded_options = None + _globals['_EVENTCONTRACTMIGRATED'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _globals['_ACCESSTYPE']._serialized_start=2510 + _globals['_ACCESSTYPE']._serialized_end=2756 + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_start=2759 + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_end=3181 + _globals['_ACCESSTYPEPARAM']._serialized_start=177 + _globals['_ACCESSTYPEPARAM']._serialized_end=270 + _globals['_ACCESSCONFIG']._serialized_start=273 + _globals['_ACCESSCONFIG']._serialized_end=440 + _globals['_PARAMS']._serialized_start=443 + _globals['_PARAMS']._serialized_end=719 + _globals['_CODEINFO']._serialized_start=722 + _globals['_CODEINFO']._serialized_end=915 + _globals['_CONTRACTINFO']._serialized_start=918 + _globals['_CONTRACTINFO']._serialized_end=1304 + _globals['_CONTRACTCODEHISTORYENTRY']._serialized_start=1307 + _globals['_CONTRACTCODEHISTORYENTRY']._serialized_end=1574 + _globals['_ABSOLUTETXPOSITION']._serialized_start=1576 + _globals['_ABSOLUTETXPOSITION']._serialized_end=1658 + _globals['_MODEL']._serialized_start=1660 + _globals['_MODEL']._serialized_end=1761 + _globals['_EVENTCODESTORED']._serialized_start=1764 + _globals['_EVENTCODESTORED']._serialized_end=1941 + _globals['_EVENTCONTRACTINSTANTIATED']._serialized_start=1944 + _globals['_EVENTCONTRACTINSTANTIATED']._serialized_end=2262 + _globals['_EVENTCONTRACTMIGRATED']._serialized_start=2265 + _globals['_EVENTCONTRACTMIGRATED']._serialized_end=2410 + _globals['_EVENTCONTRACTADMINSET']._serialized_start=2412 + _globals['_EVENTCONTRACTADMINSET']._serialized_end=2507 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/cosmwasm/wasm/v1/types_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/ibc/applications/fee/v1/ack_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py new file mode 100644 index 00000000..9aad2964 --- /dev/null +++ b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/fee/v1/ack.proto +# Protobuf Python Version: 5.26.1 +"""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!ibc/applications/fee/v1/ack.proto\x12\x17ibc.applications.fee.v1\"\xbc\x01\n\x1bIncentivizedAcknowledgement\x12/\n\x13\x61pp_acknowledgement\x18\x01 \x01(\x0cR\x12\x61ppAcknowledgement\x12\x36\n\x17\x66orward_relayer_address\x18\x02 \x01(\tR\x15\x66orwardRelayerAddress\x12\x34\n\x16underlying_app_success\x18\x03 \x01(\x08R\x14underlyingAppSuccessB\xdd\x01\n\x1b\x63om.ibc.applications.fee.v1B\x08\x41\x63kProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.ack_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\010AckProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' + _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_start=63 + _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_end=251 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/applications/fee/v1/ack_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/ibc/applications/fee/v1/fee_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py new file mode 100644 index 00000000..9ceb29cf --- /dev/null +++ b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py @@ -0,0 +1,54 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/fee/v1/fee.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/fee.proto\x12\x17ibc.applications.fee.v1\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\xf4\x02\n\x03\x46\x65\x65\x12w\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_coinsR\x07recvFee\x12u\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_coinsR\x06\x61\x63kFee\x12}\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_coinsR\ntimeoutFee\"\x99\x01\n\tPacketFee\x12\x34\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00R\x03\x66\x65\x65\x12%\n\x0erefund_address\x18\x02 \x01(\tR\rrefundAddress\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:\x13\x82\xe7\xb0*\x0erefund_address\"W\n\nPacketFees\x12I\n\x0bpacket_fees\x18\x01 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00R\npacketFees\"\xa3\x01\n\x14IdentifiedPacketFees\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\x12I\n\x0bpacket_fees\x18\x02 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00R\npacketFeesB\xdd\x01\n\x1b\x63om.ibc.applications.fee.v1B\x08\x46\x65\x65ProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.fee_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\010FeeProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' + _globals['_FEE'].fields_by_name['recv_fee']._loaded_options = None + _globals['_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' + _globals['_FEE'].fields_by_name['ack_fee']._loaded_options = None + _globals['_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' + _globals['_FEE'].fields_by_name['timeout_fee']._loaded_options = None + _globals['_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' + _globals['_PACKETFEE'].fields_by_name['fee']._loaded_options = None + _globals['_PACKETFEE'].fields_by_name['fee']._serialized_options = b'\310\336\037\000' + _globals['_PACKETFEE']._loaded_options = None + _globals['_PACKETFEE']._serialized_options = b'\202\347\260*\016refund_address' + _globals['_PACKETFEES'].fields_by_name['packet_fees']._loaded_options = None + _globals['_PACKETFEES'].fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000' + _globals['_IDENTIFIEDPACKETFEES'].fields_by_name['packet_id']._loaded_options = None + _globals['_IDENTIFIEDPACKETFEES'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _globals['_IDENTIFIEDPACKETFEES'].fields_by_name['packet_fees']._loaded_options = None + _globals['_IDENTIFIEDPACKETFEES'].fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000' + _globals['_FEE']._serialized_start=196 + _globals['_FEE']._serialized_end=568 + _globals['_PACKETFEE']._serialized_start=571 + _globals['_PACKETFEE']._serialized_end=724 + _globals['_PACKETFEES']._serialized_start=726 + _globals['_PACKETFEES']._serialized_end=813 + _globals['_IDENTIFIEDPACKETFEES']._serialized_start=816 + _globals['_IDENTIFIEDPACKETFEES']._serialized_end=979 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/applications/fee/v1/fee_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/ibc/applications/fee/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py new file mode 100644 index 00000000..ec4bd3ba --- /dev/null +++ b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/fee/v1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.ibc.applications.fee.v1 import fee_pb2 as ibc_dot_applications_dot_fee_dot_v1_dot_fee__pb2 +from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/fee/v1/genesis.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\"\x91\x04\n\x0cGenesisState\x12\\\n\x0fidentified_fees\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00R\x0eidentifiedFees\x12\x62\n\x14\x66\x65\x65_enabled_channels\x18\x02 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00R\x12\x66\x65\x65\x45nabledChannels\x12[\n\x11registered_payees\x18\x03 \x03(\x0b\x32(.ibc.applications.fee.v1.RegisteredPayeeB\x04\xc8\xde\x1f\x00R\x10registeredPayees\x12\x80\x01\n\x1eregistered_counterparty_payees\x18\x04 \x03(\x0b\x32\x34.ibc.applications.fee.v1.RegisteredCounterpartyPayeeB\x04\xc8\xde\x1f\x00R\x1cregisteredCounterpartyPayees\x12_\n\x10\x66orward_relayers\x18\x05 \x03(\x0b\x32..ibc.applications.fee.v1.ForwardRelayerAddressB\x04\xc8\xde\x1f\x00R\x0f\x66orwardRelayers\"K\n\x11\x46\x65\x65\x45nabledChannel\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"`\n\x0fRegisteredPayee\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\x12\x14\n\x05payee\x18\x03 \x01(\tR\x05payee\"\x85\x01\n\x1bRegisteredCounterpartyPayee\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\x12-\n\x12\x63ounterparty_payee\x18\x03 \x01(\tR\x11\x63ounterpartyPayee\"s\n\x15\x46orwardRelayerAddress\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\tpacket_id\x18\x02 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetIdB\xe1\x01\n\x1b\x63om.ibc.applications.fee.v1B\x0cGenesisProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\014GenesisProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' + _globals['_GENESISSTATE'].fields_by_name['identified_fees']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['identified_fees']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['fee_enabled_channels']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['fee_enabled_channels']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['registered_payees']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['registered_payees']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['registered_counterparty_payees']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['registered_counterparty_payees']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['forward_relayers']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['forward_relayers']._serialized_options = b'\310\336\037\000' + _globals['_FORWARDRELAYERADDRESS'].fields_by_name['packet_id']._loaded_options = None + _globals['_FORWARDRELAYERADDRESS'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=159 + _globals['_GENESISSTATE']._serialized_end=688 + _globals['_FEEENABLEDCHANNEL']._serialized_start=690 + _globals['_FEEENABLEDCHANNEL']._serialized_end=765 + _globals['_REGISTEREDPAYEE']._serialized_start=767 + _globals['_REGISTEREDPAYEE']._serialized_end=863 + _globals['_REGISTEREDCOUNTERPARTYPAYEE']._serialized_start=866 + _globals['_REGISTEREDCOUNTERPARTYPAYEE']._serialized_end=999 + _globals['_FORWARDRELAYERADDRESS']._serialized_start=1001 + _globals['_FORWARDRELAYERADDRESS']._serialized_end=1116 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/applications/fee/v1/genesis_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/ibc/applications/fee/v1/metadata_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py new file mode 100644 index 00000000..59685938 --- /dev/null +++ b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/fee/v1/metadata.proto +# Protobuf Python Version: 5.26.1 +"""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&ibc/applications/fee/v1/metadata.proto\x12\x17ibc.applications.fee.v1\"L\n\x08Metadata\x12\x1f\n\x0b\x66\x65\x65_version\x18\x01 \x01(\tR\nfeeVersion\x12\x1f\n\x0b\x61pp_version\x18\x02 \x01(\tR\nappVersionB\xe2\x01\n\x1b\x63om.ibc.applications.fee.v1B\rMetadataProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.metadata_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\rMetadataProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' + _globals['_METADATA']._serialized_start=67 + _globals['_METADATA']._serialized_end=143 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/applications/fee/v1/metadata_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/ibc/applications/fee/v1/query_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py new file mode 100644 index 00000000..db19a05b --- /dev/null +++ b/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py @@ -0,0 +1,114 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/fee/v1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.ibc.applications.fee.v1 import fee_pb2 as ibc_dot_applications_dot_fee_dot_v1_dot_fee__pb2 +from pyinjective.proto.ibc.applications.fee.v1 import genesis_pb2 as ibc_dot_applications_dot_fee_dot_v1_dot_genesis__pb2 +from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#ibc/applications/fee/v1/query.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a%ibc/applications/fee/v1/genesis.proto\x1a!ibc/core/channel/v1/channel.proto\"\x8c\x01\n\x1fQueryIncentivizedPacketsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12!\n\x0cquery_height\x18\x02 \x01(\x04R\x0bqueryHeight\"\xd3\x01\n QueryIncentivizedPacketsResponse\x12\x66\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00R\x13incentivizedPackets\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x85\x01\n\x1eQueryIncentivizedPacketRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\x12!\n\x0cquery_height\x18\x02 \x01(\x04R\x0bqueryHeight\"\x87\x01\n\x1fQueryIncentivizedPacketResponse\x12\x64\n\x13incentivized_packet\x18\x01 \x01(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00R\x12incentivizedPacket\"\xce\x01\n)QueryIncentivizedPacketsForChannelRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x03 \x01(\tR\tchannelId\x12!\n\x0cquery_height\x18\x04 \x01(\x04R\x0bqueryHeight\"\xd7\x01\n*QueryIncentivizedPacketsForChannelResponse\x12`\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesR\x13incentivizedPackets\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"]\n\x19QueryTotalRecvFeesRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\"\x86\x01\n\x1aQueryTotalRecvFeesResponse\x12h\n\trecv_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08recvFees\"\\\n\x18QueryTotalAckFeesRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\"\x83\x01\n\x19QueryTotalAckFeesResponse\x12\x66\n\x08\x61\x63k_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x07\x61\x63kFees\"`\n\x1cQueryTotalTimeoutFeesRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\"\x8f\x01\n\x1dQueryTotalTimeoutFeesResponse\x12n\n\x0ctimeout_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x0btimeoutFees\"L\n\x11QueryPayeeRequest\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\"9\n\x12QueryPayeeResponse\x12#\n\rpayee_address\x18\x01 \x01(\tR\x0cpayeeAddress\"X\n\x1dQueryCounterpartyPayeeRequest\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\"O\n\x1eQueryCounterpartyPayeeResponse\x12-\n\x12\x63ounterparty_payee\x18\x01 \x01(\tR\x11\x63ounterpartyPayee\"\x8b\x01\n\x1eQueryFeeEnabledChannelsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12!\n\x0cquery_height\x18\x02 \x01(\x04R\x0bqueryHeight\"\xce\x01\n\x1fQueryFeeEnabledChannelsResponse\x12\x62\n\x14\x66\x65\x65_enabled_channels\x18\x01 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00R\x12\x66\x65\x65\x45nabledChannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"W\n\x1dQueryFeeEnabledChannelRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"A\n\x1eQueryFeeEnabledChannelResponse\x12\x1f\n\x0b\x66\x65\x65_enabled\x18\x01 \x01(\x08R\nfeeEnabled2\xe6\x11\n\x05Query\x12\xb9\x01\n\x13IncentivizedPackets\x12\x38.ibc.applications.fee.v1.QueryIncentivizedPacketsRequest\x1a\x39.ibc.applications.fee.v1.QueryIncentivizedPacketsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/ibc/apps/fee/v1/incentivized_packets\x12\x8f\x02\n\x12IncentivizedPacket\x12\x37.ibc.applications.fee.v1.QueryIncentivizedPacketRequest\x1a\x38.ibc.applications.fee.v1.QueryIncentivizedPacketResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12}/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet\x12\xfd\x01\n\x1dIncentivizedPacketsForChannel\x12\x42.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelRequest\x1a\x43.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse\"S\x82\xd3\xe4\x93\x02M\x12K/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets\x12\xfc\x01\n\rTotalRecvFees\x12\x32.ibc.applications.fee.v1.QueryTotalRecvFeesRequest\x1a\x33.ibc.applications.fee.v1.QueryTotalRecvFeesResponse\"\x81\x01\x82\xd3\xe4\x93\x02{\x12y/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees\x12\xf8\x01\n\x0cTotalAckFees\x12\x31.ibc.applications.fee.v1.QueryTotalAckFeesRequest\x1a\x32.ibc.applications.fee.v1.QueryTotalAckFeesResponse\"\x80\x01\x82\xd3\xe4\x93\x02z\x12x/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees\x12\x88\x02\n\x10TotalTimeoutFees\x12\x35.ibc.applications.fee.v1.QueryTotalTimeoutFeesRequest\x1a\x36.ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse\"\x84\x01\x82\xd3\xe4\x93\x02~\x12|/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees\x12\xa9\x01\n\x05Payee\x12*.ibc.applications.fee.v1.QueryPayeeRequest\x1a+.ibc.applications.fee.v1.QueryPayeeResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee\x12\xda\x01\n\x11\x43ounterpartyPayee\x12\x36.ibc.applications.fee.v1.QueryCounterpartyPayeeRequest\x1a\x37.ibc.applications.fee.v1.QueryCounterpartyPayeeResponse\"T\x82\xd3\xe4\x93\x02N\x12L/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee\x12\xad\x01\n\x12\x46\x65\x65\x45nabledChannels\x12\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelsRequest\x1a\x38.ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/fee/v1/fee_enabled\x12\xd0\x01\n\x11\x46\x65\x65\x45nabledChannel\x12\x36.ibc.applications.fee.v1.QueryFeeEnabledChannelRequest\x1a\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabledB\xdf\x01\n\x1b\x63om.ibc.applications.fee.v1B\nQueryProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\nQueryProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' + _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE'].fields_by_name['incentivized_packets']._loaded_options = None + _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE'].fields_by_name['incentivized_packets']._serialized_options = b'\310\336\037\000' + _globals['_QUERYINCENTIVIZEDPACKETREQUEST'].fields_by_name['packet_id']._loaded_options = None + _globals['_QUERYINCENTIVIZEDPACKETREQUEST'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _globals['_QUERYINCENTIVIZEDPACKETRESPONSE'].fields_by_name['incentivized_packet']._loaded_options = None + _globals['_QUERYINCENTIVIZEDPACKETRESPONSE'].fields_by_name['incentivized_packet']._serialized_options = b'\310\336\037\000' + _globals['_QUERYTOTALRECVFEESREQUEST'].fields_by_name['packet_id']._loaded_options = None + _globals['_QUERYTOTALRECVFEESREQUEST'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _globals['_QUERYTOTALRECVFEESRESPONSE'].fields_by_name['recv_fees']._loaded_options = None + _globals['_QUERYTOTALRECVFEESRESPONSE'].fields_by_name['recv_fees']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_QUERYTOTALACKFEESREQUEST'].fields_by_name['packet_id']._loaded_options = None + _globals['_QUERYTOTALACKFEESREQUEST'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _globals['_QUERYTOTALACKFEESRESPONSE'].fields_by_name['ack_fees']._loaded_options = None + _globals['_QUERYTOTALACKFEESRESPONSE'].fields_by_name['ack_fees']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_QUERYTOTALTIMEOUTFEESREQUEST'].fields_by_name['packet_id']._loaded_options = None + _globals['_QUERYTOTALTIMEOUTFEESREQUEST'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _globals['_QUERYTOTALTIMEOUTFEESRESPONSE'].fields_by_name['timeout_fees']._loaded_options = None + _globals['_QUERYTOTALTIMEOUTFEESRESPONSE'].fields_by_name['timeout_fees']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_QUERYFEEENABLEDCHANNELSRESPONSE'].fields_by_name['fee_enabled_channels']._loaded_options = None + _globals['_QUERYFEEENABLEDCHANNELSRESPONSE'].fields_by_name['fee_enabled_channels']._serialized_options = b'\310\336\037\000' + _globals['_QUERY'].methods_by_name['IncentivizedPackets']._loaded_options = None + _globals['_QUERY'].methods_by_name['IncentivizedPackets']._serialized_options = b'\202\323\344\223\002\'\022%/ibc/apps/fee/v1/incentivized_packets' + _globals['_QUERY'].methods_by_name['IncentivizedPacket']._loaded_options = None + _globals['_QUERY'].methods_by_name['IncentivizedPacket']._serialized_options = b'\202\323\344\223\002\177\022}/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet' + _globals['_QUERY'].methods_by_name['IncentivizedPacketsForChannel']._loaded_options = None + _globals['_QUERY'].methods_by_name['IncentivizedPacketsForChannel']._serialized_options = b'\202\323\344\223\002M\022K/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets' + _globals['_QUERY'].methods_by_name['TotalRecvFees']._loaded_options = None + _globals['_QUERY'].methods_by_name['TotalRecvFees']._serialized_options = b'\202\323\344\223\002{\022y/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees' + _globals['_QUERY'].methods_by_name['TotalAckFees']._loaded_options = None + _globals['_QUERY'].methods_by_name['TotalAckFees']._serialized_options = b'\202\323\344\223\002z\022x/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees' + _globals['_QUERY'].methods_by_name['TotalTimeoutFees']._loaded_options = None + _globals['_QUERY'].methods_by_name['TotalTimeoutFees']._serialized_options = b'\202\323\344\223\002~\022|/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees' + _globals['_QUERY'].methods_by_name['Payee']._loaded_options = None + _globals['_QUERY'].methods_by_name['Payee']._serialized_options = b'\202\323\344\223\002A\022?/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee' + _globals['_QUERY'].methods_by_name['CounterpartyPayee']._loaded_options = None + _globals['_QUERY'].methods_by_name['CounterpartyPayee']._serialized_options = b'\202\323\344\223\002N\022L/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee' + _globals['_QUERY'].methods_by_name['FeeEnabledChannels']._loaded_options = None + _globals['_QUERY'].methods_by_name['FeeEnabledChannels']._serialized_options = b'\202\323\344\223\002\036\022\034/ibc/apps/fee/v1/fee_enabled' + _globals['_QUERY'].methods_by_name['FeeEnabledChannel']._loaded_options = None + _globals['_QUERY'].methods_by_name['FeeEnabledChannel']._serialized_options = b'\202\323\344\223\002D\022B/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabled' + _globals['_QUERYINCENTIVIZEDPACKETSREQUEST']._serialized_start=302 + _globals['_QUERYINCENTIVIZEDPACKETSREQUEST']._serialized_end=442 + _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE']._serialized_start=445 + _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE']._serialized_end=656 + _globals['_QUERYINCENTIVIZEDPACKETREQUEST']._serialized_start=659 + _globals['_QUERYINCENTIVIZEDPACKETREQUEST']._serialized_end=792 + _globals['_QUERYINCENTIVIZEDPACKETRESPONSE']._serialized_start=795 + _globals['_QUERYINCENTIVIZEDPACKETRESPONSE']._serialized_end=930 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST']._serialized_start=933 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST']._serialized_end=1139 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE']._serialized_start=1142 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE']._serialized_end=1357 + _globals['_QUERYTOTALRECVFEESREQUEST']._serialized_start=1359 + _globals['_QUERYTOTALRECVFEESREQUEST']._serialized_end=1452 + _globals['_QUERYTOTALRECVFEESRESPONSE']._serialized_start=1455 + _globals['_QUERYTOTALRECVFEESRESPONSE']._serialized_end=1589 + _globals['_QUERYTOTALACKFEESREQUEST']._serialized_start=1591 + _globals['_QUERYTOTALACKFEESREQUEST']._serialized_end=1683 + _globals['_QUERYTOTALACKFEESRESPONSE']._serialized_start=1686 + _globals['_QUERYTOTALACKFEESRESPONSE']._serialized_end=1817 + _globals['_QUERYTOTALTIMEOUTFEESREQUEST']._serialized_start=1819 + _globals['_QUERYTOTALTIMEOUTFEESREQUEST']._serialized_end=1915 + _globals['_QUERYTOTALTIMEOUTFEESRESPONSE']._serialized_start=1918 + _globals['_QUERYTOTALTIMEOUTFEESRESPONSE']._serialized_end=2061 + _globals['_QUERYPAYEEREQUEST']._serialized_start=2063 + _globals['_QUERYPAYEEREQUEST']._serialized_end=2139 + _globals['_QUERYPAYEERESPONSE']._serialized_start=2141 + _globals['_QUERYPAYEERESPONSE']._serialized_end=2198 + _globals['_QUERYCOUNTERPARTYPAYEEREQUEST']._serialized_start=2200 + _globals['_QUERYCOUNTERPARTYPAYEEREQUEST']._serialized_end=2288 + _globals['_QUERYCOUNTERPARTYPAYEERESPONSE']._serialized_start=2290 + _globals['_QUERYCOUNTERPARTYPAYEERESPONSE']._serialized_end=2369 + _globals['_QUERYFEEENABLEDCHANNELSREQUEST']._serialized_start=2372 + _globals['_QUERYFEEENABLEDCHANNELSREQUEST']._serialized_end=2511 + _globals['_QUERYFEEENABLEDCHANNELSRESPONSE']._serialized_start=2514 + _globals['_QUERYFEEENABLEDCHANNELSRESPONSE']._serialized_end=2720 + _globals['_QUERYFEEENABLEDCHANNELREQUEST']._serialized_start=2722 + _globals['_QUERYFEEENABLEDCHANNELREQUEST']._serialized_end=2809 + _globals['_QUERYFEEENABLEDCHANNELRESPONSE']._serialized_start=2811 + _globals['_QUERYFEEENABLEDCHANNELRESPONSE']._serialized_end=2876 + _globals['_QUERY']._serialized_start=2879 + _globals['_QUERY']._serialized_end=5157 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/query_pb2_grpc.py new file mode 100644 index 00000000..f0e2ecd1 --- /dev/null +++ b/pyinjective/proto/ibc/applications/fee/v1/query_pb2_grpc.py @@ -0,0 +1,477 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.ibc.applications.fee.v1 import query_pb2 as ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the ICS29 gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.IncentivizedPackets = channel.unary_unary( + '/ibc.applications.fee.v1.Query/IncentivizedPackets', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsResponse.FromString, + _registered_method=True) + self.IncentivizedPacket = channel.unary_unary( + '/ibc.applications.fee.v1.Query/IncentivizedPacket', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketResponse.FromString, + _registered_method=True) + self.IncentivizedPacketsForChannel = channel.unary_unary( + '/ibc.applications.fee.v1.Query/IncentivizedPacketsForChannel', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelResponse.FromString, + _registered_method=True) + self.TotalRecvFees = channel.unary_unary( + '/ibc.applications.fee.v1.Query/TotalRecvFees', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesResponse.FromString, + _registered_method=True) + self.TotalAckFees = channel.unary_unary( + '/ibc.applications.fee.v1.Query/TotalAckFees', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesResponse.FromString, + _registered_method=True) + self.TotalTimeoutFees = channel.unary_unary( + '/ibc.applications.fee.v1.Query/TotalTimeoutFees', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesResponse.FromString, + _registered_method=True) + self.Payee = channel.unary_unary( + '/ibc.applications.fee.v1.Query/Payee', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeResponse.FromString, + _registered_method=True) + self.CounterpartyPayee = channel.unary_unary( + '/ibc.applications.fee.v1.Query/CounterpartyPayee', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeResponse.FromString, + _registered_method=True) + self.FeeEnabledChannels = channel.unary_unary( + '/ibc.applications.fee.v1.Query/FeeEnabledChannels', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsResponse.FromString, + _registered_method=True) + self.FeeEnabledChannel = channel.unary_unary( + '/ibc.applications.fee.v1.Query/FeeEnabledChannel', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the ICS29 gRPC querier service. + """ + + def IncentivizedPackets(self, request, context): + """IncentivizedPackets returns all incentivized packets and their associated fees + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def IncentivizedPacket(self, request, context): + """IncentivizedPacket returns all packet fees for a packet given its identifier + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def IncentivizedPacketsForChannel(self, request, context): + """Gets all incentivized packets for a specific channel + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TotalRecvFees(self, request, context): + """TotalRecvFees returns the total receive fees for a packet given its identifier + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TotalAckFees(self, request, context): + """TotalAckFees returns the total acknowledgement fees for a packet given its identifier + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TotalTimeoutFees(self, request, context): + """TotalTimeoutFees returns the total timeout fees for a packet given its identifier + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Payee(self, request, context): + """Payee returns the registered payee address for a specific channel given the relayer address + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CounterpartyPayee(self, request, context): + """CounterpartyPayee returns the registered counterparty payee for forward relaying + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def FeeEnabledChannels(self, request, context): + """FeeEnabledChannels returns a list of all fee enabled channels + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def FeeEnabledChannel(self, request, context): + """FeeEnabledChannel returns true if the provided port and channel identifiers belong to a fee enabled channel + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'IncentivizedPackets': grpc.unary_unary_rpc_method_handler( + servicer.IncentivizedPackets, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsResponse.SerializeToString, + ), + 'IncentivizedPacket': grpc.unary_unary_rpc_method_handler( + servicer.IncentivizedPacket, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketResponse.SerializeToString, + ), + 'IncentivizedPacketsForChannel': grpc.unary_unary_rpc_method_handler( + servicer.IncentivizedPacketsForChannel, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelResponse.SerializeToString, + ), + 'TotalRecvFees': grpc.unary_unary_rpc_method_handler( + servicer.TotalRecvFees, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesResponse.SerializeToString, + ), + 'TotalAckFees': grpc.unary_unary_rpc_method_handler( + servicer.TotalAckFees, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesResponse.SerializeToString, + ), + 'TotalTimeoutFees': grpc.unary_unary_rpc_method_handler( + servicer.TotalTimeoutFees, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesResponse.SerializeToString, + ), + 'Payee': grpc.unary_unary_rpc_method_handler( + servicer.Payee, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeResponse.SerializeToString, + ), + 'CounterpartyPayee': grpc.unary_unary_rpc_method_handler( + servicer.CounterpartyPayee, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeResponse.SerializeToString, + ), + 'FeeEnabledChannels': grpc.unary_unary_rpc_method_handler( + servicer.FeeEnabledChannels, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsResponse.SerializeToString, + ), + 'FeeEnabledChannel': grpc.unary_unary_rpc_method_handler( + servicer.FeeEnabledChannel, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.applications.fee.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('ibc.applications.fee.v1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the ICS29 gRPC querier service. + """ + + @staticmethod + def IncentivizedPackets(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.fee.v1.Query/IncentivizedPackets', + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsRequest.SerializeToString, + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def IncentivizedPacket(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.fee.v1.Query/IncentivizedPacket', + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketRequest.SerializeToString, + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def IncentivizedPacketsForChannel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.fee.v1.Query/IncentivizedPacketsForChannel', + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelRequest.SerializeToString, + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TotalRecvFees(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.fee.v1.Query/TotalRecvFees', + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesRequest.SerializeToString, + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TotalAckFees(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.fee.v1.Query/TotalAckFees', + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesRequest.SerializeToString, + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TotalTimeoutFees(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.fee.v1.Query/TotalTimeoutFees', + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesRequest.SerializeToString, + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Payee(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.fee.v1.Query/Payee', + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeRequest.SerializeToString, + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CounterpartyPayee(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.fee.v1.Query/CounterpartyPayee', + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeRequest.SerializeToString, + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def FeeEnabledChannels(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.fee.v1.Query/FeeEnabledChannels', + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsRequest.SerializeToString, + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def FeeEnabledChannel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.fee.v1.Query/FeeEnabledChannel', + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelRequest.SerializeToString, + ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py new file mode 100644 index 00000000..372241fc --- /dev/null +++ b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py @@ -0,0 +1,64 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/fee/v1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.ibc.applications.fee.v1 import fee_pb2 as ibc_dot_applications_dot_fee_dot_v1_dot_fee__pb2 +from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/applications/fee/v1/tx.proto\x12\x17ibc.applications.fee.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\xac\x01\n\x10MsgRegisterPayee\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x03 \x01(\tR\x07relayer\x12\x14\n\x05payee\x18\x04 \x01(\tR\x05payee:0\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgRegisterPayee\"\x1a\n\x18MsgRegisterPayeeResponse\"\xdd\x01\n\x1cMsgRegisterCounterpartyPayee\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x03 \x01(\tR\x07relayer\x12-\n\x12\x63ounterparty_payee\x18\x04 \x01(\tR\x11\x63ounterpartyPayee:<\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\'cosmos-sdk/MsgRegisterCounterpartyPayee\"&\n$MsgRegisterCounterpartyPayeeResponse\"\x82\x02\n\x0fMsgPayPacketFee\x12\x39\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x03\x66\x65\x65\x12$\n\x0esource_port_id\x18\x02 \x01(\tR\x0csourcePortId\x12*\n\x11source_channel_id\x18\x03 \x01(\tR\x0fsourceChannelId\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:.\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgPayPacketFee\"\x19\n\x17MsgPayPacketFeeResponse\"\xe4\x01\n\x14MsgPayPacketFeeAsync\x12\x45\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08packetId\x12L\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tpacketFee: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\xdc\x01\n\x1b\x63om.ibc.applications.fee.v1B\x07TxProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\007TxProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' + _globals['_MSGREGISTERPAYEE']._loaded_options = None + _globals['_MSGREGISTERPAYEE']._serialized_options = b'\210\240\037\000\202\347\260*\007relayer\212\347\260*\033cosmos-sdk/MsgRegisterPayee' + _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._loaded_options = None + _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_options = b'\210\240\037\000\202\347\260*\007relayer\212\347\260*\'cosmos-sdk/MsgRegisterCounterpartyPayee' + _globals['_MSGPAYPACKETFEE'].fields_by_name['fee']._loaded_options = None + _globals['_MSGPAYPACKETFEE'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGPAYPACKETFEE']._loaded_options = None + _globals['_MSGPAYPACKETFEE']._serialized_options = b'\210\240\037\000\202\347\260*\006signer\212\347\260*\032cosmos-sdk/MsgPayPacketFee' + _globals['_MSGPAYPACKETFEEASYNC'].fields_by_name['packet_id']._loaded_options = None + _globals['_MSGPAYPACKETFEEASYNC'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGPAYPACKETFEEASYNC'].fields_by_name['packet_fee']._loaded_options = None + _globals['_MSGPAYPACKETFEEASYNC'].fields_by_name['packet_fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGPAYPACKETFEEASYNC']._loaded_options = None + _globals['_MSGPAYPACKETFEEASYNC']._serialized_options = b'\210\240\037\000\202\347\260*\npacket_fee\212\347\260*\037cosmos-sdk/MsgPayPacketFeeAsync' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGREGISTERPAYEE']._serialized_start=198 + _globals['_MSGREGISTERPAYEE']._serialized_end=370 + _globals['_MSGREGISTERPAYEERESPONSE']._serialized_start=372 + _globals['_MSGREGISTERPAYEERESPONSE']._serialized_end=398 + _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_start=401 + _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_end=622 + _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_start=624 + _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_end=662 + _globals['_MSGPAYPACKETFEE']._serialized_start=665 + _globals['_MSGPAYPACKETFEE']._serialized_end=923 + _globals['_MSGPAYPACKETFEERESPONSE']._serialized_start=925 + _globals['_MSGPAYPACKETFEERESPONSE']._serialized_end=950 + _globals['_MSGPAYPACKETFEEASYNC']._serialized_start=953 + _globals['_MSGPAYPACKETFEEASYNC']._serialized_end=1181 + _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_start=1183 + _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_end=1213 + _globals['_MSG']._serialized_start=1216 + _globals['_MSG']._serialized_end=1718 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2_grpc.py new file mode 100644 index 00000000..a5cf040a --- /dev/null +++ b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2_grpc.py @@ -0,0 +1,227 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.ibc.applications.fee.v1 import tx_pb2 as ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the ICS29 Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.RegisterPayee = channel.unary_unary( + '/ibc.applications.fee.v1.Msg/RegisterPayee', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayee.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayeeResponse.FromString, + _registered_method=True) + self.RegisterCounterpartyPayee = channel.unary_unary( + '/ibc.applications.fee.v1.Msg/RegisterCounterpartyPayee', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayee.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayeeResponse.FromString, + _registered_method=True) + self.PayPacketFee = channel.unary_unary( + '/ibc.applications.fee.v1.Msg/PayPacketFee', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFee.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeResponse.FromString, + _registered_method=True) + self.PayPacketFeeAsync = channel.unary_unary( + '/ibc.applications.fee.v1.Msg/PayPacketFeeAsync', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsync.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsyncResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the ICS29 Msg service. + """ + + def RegisterPayee(self, request, context): + """RegisterPayee defines a rpc handler method for MsgRegisterPayee + RegisterPayee is called by the relayer on each channelEnd and allows them to set an optional + payee to which reverse and timeout relayer packet fees will be paid out. The payee should be registered on + the source chain from which packets originate as this is where fee distribution takes place. This function may be + called more than once by a relayer, in which case, the latest payee is always used. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RegisterCounterpartyPayee(self, request, context): + """RegisterCounterpartyPayee defines a rpc handler method for MsgRegisterCounterpartyPayee + RegisterCounterpartyPayee is called by the relayer on each channelEnd and allows them to specify the counterparty + payee address before relaying. This ensures they will be properly compensated for forward relaying since + the destination chain must include the registered counterparty payee address in the acknowledgement. This function + may be called more than once by a relayer, in which case, the latest counterparty payee address is always used. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PayPacketFee(self, request, context): + """PayPacketFee defines a rpc handler method for MsgPayPacketFee + PayPacketFee is an open callback that may be called by any module/user that wishes to escrow funds in order to + incentivize the relaying of the packet at the next sequence + NOTE: This method is intended to be used within a multi msg transaction, where the subsequent msg that follows + initiates the lifecycle of the incentivized packet + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PayPacketFeeAsync(self, request, context): + """PayPacketFeeAsync defines a rpc handler method for MsgPayPacketFeeAsync + PayPacketFeeAsync is an open callback that may be called by any module/user that wishes to escrow funds in order to + incentivize the relaying of a known packet (i.e. at a particular sequence) + """ + 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 = { + 'RegisterPayee': grpc.unary_unary_rpc_method_handler( + servicer.RegisterPayee, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayee.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayeeResponse.SerializeToString, + ), + 'RegisterCounterpartyPayee': grpc.unary_unary_rpc_method_handler( + servicer.RegisterCounterpartyPayee, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayee.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayeeResponse.SerializeToString, + ), + 'PayPacketFee': grpc.unary_unary_rpc_method_handler( + servicer.PayPacketFee, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFee.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeResponse.SerializeToString, + ), + 'PayPacketFeeAsync': grpc.unary_unary_rpc_method_handler( + servicer.PayPacketFeeAsync, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsync.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsyncResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.applications.fee.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('ibc.applications.fee.v1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the ICS29 Msg service. + """ + + @staticmethod + def RegisterPayee(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.fee.v1.Msg/RegisterPayee', + ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayee.SerializeToString, + ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayeeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RegisterCounterpartyPayee(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.fee.v1.Msg/RegisterCounterpartyPayee', + ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayee.SerializeToString, + ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayeeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PayPacketFee(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.fee.v1.Msg/PayPacketFee', + ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFee.SerializeToString, + ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PayPacketFeeAsync(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.fee.v1.Msg/PayPacketFeeAsync', + ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsync.SerializeToString, + ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsyncResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py new file mode 100644 index 00000000..f1fa0f0f --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/interchain_accounts/controller/v1/controller.proto +# Protobuf Python Version: 5.26.1 +"""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'\nCibc/applications/interchain_accounts/controller/v1/controller.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\"7\n\x06Params\x12-\n\x12\x63ontroller_enabled\x18\x01 \x01(\x08R\x11\x63ontrollerEnabledB\x84\x03\n6com.ibc.applications.interchain_accounts.controller.v1B\x0f\x43ontrollerProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.controller_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n6com.ibc.applications.interchain_accounts.controller.v1B\017ControllerProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1' + _globals['_PARAMS']._serialized_start=123 + _globals['_PARAMS']._serialized_end=178 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_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/ibc/applications/interchain_accounts/controller/v1/query_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py new file mode 100644 index 00000000..b8b32282 --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/interchain_accounts/controller/v1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>ibc/applications/interchain_accounts/controller/v1/query.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x1cgoogle/api/annotations.proto\"Z\n\x1dQueryInterchainAccountRequest\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId\":\n\x1eQueryInterchainAccountResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"\x14\n\x12QueryParamsRequest\"i\n\x13QueryParamsResponse\x12R\n\x06params\x18\x01 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsR\x06params2\xfc\x03\n\x05Query\x12\x9a\x02\n\x11InterchainAccount\x12Q.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest\x1aR.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse\"^\x82\xd3\xe4\x93\x02X\x12V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}\x12\xd5\x01\n\x06Params\x12\x46.ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest\x1aG.ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/ibc/apps/interchain_accounts/controller/v1/paramsB\xff\x02\n6com.ibc.applications.interchain_accounts.controller.v1B\nQueryProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n6com.ibc.applications.interchain_accounts.controller.v1B\nQueryProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1' + _globals['_QUERY'].methods_by_name['InterchainAccount']._loaded_options = None + _globals['_QUERY'].methods_by_name['InterchainAccount']._serialized_options = b'\202\323\344\223\002X\022V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\0024\0222/ibc/apps/interchain_accounts/controller/v1/params' + _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_start=217 + _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_end=307 + _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_start=309 + _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_end=367 + _globals['_QUERYPARAMSREQUEST']._serialized_start=369 + _globals['_QUERYPARAMSREQUEST']._serialized_end=389 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=391 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=496 + _globals['_QUERY']._serialized_start=499 + _globals['_QUERY']._serialized_end=1007 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2_grpc.py new file mode 100644 index 00000000..20b6b332 --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2_grpc.py @@ -0,0 +1,125 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import query_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query provides defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.InterchainAccount = channel.unary_unary( + '/ibc.applications.interchain_accounts.controller.v1.Query/InterchainAccount', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountResponse.FromString, + _registered_method=True) + self.Params = channel.unary_unary( + '/ibc.applications.interchain_accounts.controller.v1.Query/Params', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query provides defines the gRPC querier service. + """ + + def InterchainAccount(self, request, context): + """InterchainAccount returns the interchain account address for a given owner address on a given connection + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Params(self, request, context): + """Params queries all parameters of the ICA controller submodule. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'InterchainAccount': grpc.unary_unary_rpc_method_handler( + servicer.InterchainAccount, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountRequest.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountResponse.SerializeToString, + ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.applications.interchain_accounts.controller.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('ibc.applications.interchain_accounts.controller.v1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query provides defines the gRPC querier service. + """ + + @staticmethod + def InterchainAccount(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.interchain_accounts.controller.v1.Query/InterchainAccount', + ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountRequest.SerializeToString, + ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.interchain_accounts.controller.v1.Query/Params', + ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py new file mode 100644 index 00000000..b28dfc6d --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py @@ -0,0 +1,60 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/interchain_accounts/controller/v1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.v1 import packet_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_v1_dot_packet__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;ibc/applications/interchain_accounts/controller/v1/tx.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x14gogoproto/gogo.proto\x1a\x34ibc/applications/interchain_accounts/v1/packet.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a!ibc/core/channel/v1/channel.proto\"\xbb\x01\n\x1cMsgRegisterInterchainAccount\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x36\n\x08ordering\x18\x04 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner\"d\n$MsgRegisterInterchainAccountResponse\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId:\x04\x88\xa0\x1f\x00\"\xee\x01\n\tMsgSendTx\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId\x12k\n\x0bpacket_data\x18\x03 \x01(\x0b\x32\x44.ibc.applications.interchain_accounts.v1.InterchainAccountPacketDataB\x04\xc8\xde\x1f\x00R\npacketData\x12)\n\x10relative_timeout\x18\x04 \x01(\x04R\x0frelativeTimeout:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner\"5\n\x11MsgSendTxResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00\"\x94\x01\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12X\n\x06params\x18\x02 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\x8a\x04\n\x03Msg\x12\xc7\x01\n\x19RegisterInterchainAccount\x12P.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount\x1aX.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse\x12\x8e\x01\n\x06SendTx\x12=.ibc.applications.interchain_accounts.controller.v1.MsgSendTx\x1a\x45.ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse\x12\xa0\x01\n\x0cUpdateParams\x12\x43.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams\x1aK.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xfc\x02\n6com.ibc.applications.interchain_accounts.controller.v1B\x07TxProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n6com.ibc.applications.interchain_accounts.controller.v1B\007TxProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1' + _globals['_MSGREGISTERINTERCHAINACCOUNT']._loaded_options = None + _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_options = b'\210\240\037\000\202\347\260*\005owner' + _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._loaded_options = None + _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGSENDTX'].fields_by_name['packet_data']._loaded_options = None + _globals['_MSGSENDTX'].fields_by_name['packet_data']._serialized_options = b'\310\336\037\000' + _globals['_MSGSENDTX']._loaded_options = None + _globals['_MSGSENDTX']._serialized_options = b'\210\240\037\000\202\347\260*\005owner' + _globals['_MSGSENDTXRESPONSE']._loaded_options = None + _globals['_MSGSENDTXRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_start=321 + _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_end=508 + _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_start=510 + _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_end=610 + _globals['_MSGSENDTX']._serialized_start=613 + _globals['_MSGSENDTX']._serialized_end=851 + _globals['_MSGSENDTXRESPONSE']._serialized_start=853 + _globals['_MSGSENDTXRESPONSE']._serialized_end=906 + _globals['_MSGUPDATEPARAMS']._serialized_start=909 + _globals['_MSGUPDATEPARAMS']._serialized_end=1057 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1059 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1084 + _globals['_MSG']._serialized_start=1087 + _globals['_MSG']._serialized_end=1609 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py new file mode 100644 index 00000000..bc8d5510 --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py @@ -0,0 +1,169 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import tx_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the 27-interchain-accounts/controller Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.RegisterInterchainAccount = channel.unary_unary( + '/ibc.applications.interchain_accounts.controller.v1.Msg/RegisterInterchainAccount', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccount.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccountResponse.FromString, + _registered_method=True) + self.SendTx = channel.unary_unary( + '/ibc.applications.interchain_accounts.controller.v1.Msg/SendTx', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.FromString, + _registered_method=True) + self.UpdateParams = channel.unary_unary( + '/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the 27-interchain-accounts/controller Msg service. + """ + + def RegisterInterchainAccount(self, request, context): + """RegisterInterchainAccount defines a rpc handler for MsgRegisterInterchainAccount. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SendTx(self, request, context): + """SendTx defines a rpc handler for MsgSendTx. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """UpdateParams defines a rpc handler for MsgUpdateParams. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'RegisterInterchainAccount': grpc.unary_unary_rpc_method_handler( + servicer.RegisterInterchainAccount, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccount.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccountResponse.SerializeToString, + ), + 'SendTx': grpc.unary_unary_rpc_method_handler( + servicer.SendTx, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.applications.interchain_accounts.controller.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('ibc.applications.interchain_accounts.controller.v1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the 27-interchain-accounts/controller Msg service. + """ + + @staticmethod + def RegisterInterchainAccount(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.interchain_accounts.controller.v1.Msg/RegisterInterchainAccount', + ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccount.SerializeToString, + ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccountResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SendTx(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.interchain_accounts.controller.v1.Msg/SendTx', + ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.SerializeToString, + ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams', + ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py new file mode 100644 index 00000000..194654ee --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py @@ -0,0 +1,54 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/interchain_accounts/genesis/v1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=ibc/applications/interchain_accounts/genesis/v1/genesis.proto\x12/ibc.applications.interchain_accounts.genesis.v1\x1a\x14gogoproto/gogo.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x8f\x02\n\x0cGenesisState\x12\x87\x01\n\x18\x63ontroller_genesis_state\x18\x01 \x01(\x0b\x32G.ibc.applications.interchain_accounts.genesis.v1.ControllerGenesisStateB\x04\xc8\xde\x1f\x00R\x16\x63ontrollerGenesisState\x12u\n\x12host_genesis_state\x18\x02 \x01(\x0b\x32\x41.ibc.applications.interchain_accounts.genesis.v1.HostGenesisStateB\x04\xc8\xde\x1f\x00R\x10hostGenesisState\"\xfd\x02\n\x16\x43ontrollerGenesisState\x12m\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00R\x0e\x61\x63tiveChannels\x12\x83\x01\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00R\x12interchainAccounts\x12\x14\n\x05ports\x18\x03 \x03(\tR\x05ports\x12X\n\x06params\x18\x04 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\xef\x02\n\x10HostGenesisState\x12m\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00R\x0e\x61\x63tiveChannels\x12\x83\x01\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00R\x12interchainAccounts\x12\x12\n\x04port\x18\x03 \x01(\tR\x04port\x12R\n\x06params\x18\x04 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\xa0\x01\n\rActiveChannel\x12#\n\rconnection_id\x18\x01 \x01(\tR\x0c\x63onnectionId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x03 \x01(\tR\tchannelId\x12\x32\n\x15is_middleware_enabled\x18\x04 \x01(\x08R\x13isMiddlewareEnabled\"\x84\x01\n\x1bRegisteredInterchainAccount\x12#\n\rconnection_id\x18\x01 \x01(\tR\x0c\x63onnectionId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tR\x0e\x61\x63\x63ountAddressB\xef\x02\n3com.ibc.applications.interchain_accounts.genesis.v1B\x0cGenesisProtoP\x01ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types\xa2\x02\x04IAIG\xaa\x02.Ibc.Applications.InterchainAccounts.Genesis.V1\xca\x02.Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\xe2\x02:Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\\GPBMetadata\xea\x02\x32Ibc::Applications::InterchainAccounts::Genesis::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.genesis.v1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n3com.ibc.applications.interchain_accounts.genesis.v1B\014GenesisProtoP\001ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types\242\002\004IAIG\252\002.Ibc.Applications.InterchainAccounts.Genesis.V1\312\002.Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\342\002:Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\\GPBMetadata\352\0022Ibc::Applications::InterchainAccounts::Genesis::V1' + _globals['_GENESISSTATE'].fields_by_name['controller_genesis_state']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['controller_genesis_state']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['host_genesis_state']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['host_genesis_state']._serialized_options = b'\310\336\037\000' + _globals['_CONTROLLERGENESISSTATE'].fields_by_name['active_channels']._loaded_options = None + _globals['_CONTROLLERGENESISSTATE'].fields_by_name['active_channels']._serialized_options = b'\310\336\037\000' + _globals['_CONTROLLERGENESISSTATE'].fields_by_name['interchain_accounts']._loaded_options = None + _globals['_CONTROLLERGENESISSTATE'].fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000' + _globals['_CONTROLLERGENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_CONTROLLERGENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_HOSTGENESISSTATE'].fields_by_name['active_channels']._loaded_options = None + _globals['_HOSTGENESISSTATE'].fields_by_name['active_channels']._serialized_options = b'\310\336\037\000' + _globals['_HOSTGENESISSTATE'].fields_by_name['interchain_accounts']._loaded_options = None + _globals['_HOSTGENESISSTATE'].fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000' + _globals['_HOSTGENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_HOSTGENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=263 + _globals['_GENESISSTATE']._serialized_end=534 + _globals['_CONTROLLERGENESISSTATE']._serialized_start=537 + _globals['_CONTROLLERGENESISSTATE']._serialized_end=918 + _globals['_HOSTGENESISSTATE']._serialized_start=921 + _globals['_HOSTGENESISSTATE']._serialized_end=1288 + _globals['_ACTIVECHANNEL']._serialized_start=1291 + _globals['_ACTIVECHANNEL']._serialized_end=1451 + _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_start=1454 + _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_end=1586 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_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/ibc/applications/interchain_accounts/host/v1/host_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py new file mode 100644 index 00000000..8c967b28 --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/interchain_accounts/host/v1/host.proto +# Protobuf Python Version: 5.26.1 +"""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'\n7ibc/applications/interchain_accounts/host/v1/host.proto\x12,ibc.applications.interchain_accounts.host.v1\"R\n\x06Params\x12!\n\x0chost_enabled\x18\x01 \x01(\x08R\x0bhostEnabled\x12%\n\x0e\x61llow_messages\x18\x02 \x03(\tR\rallowMessages\"6\n\x0cQueryRequest\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61taB\xda\x02\n0com.ibc.applications.interchain_accounts.host.v1B\tHostProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.host_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n0com.ibc.applications.interchain_accounts.host.v1B\tHostProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1' + _globals['_PARAMS']._serialized_start=105 + _globals['_PARAMS']._serialized_end=187 + _globals['_QUERYREQUEST']._serialized_start=189 + _globals['_QUERYREQUEST']._serialized_end=243 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_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/ibc/applications/interchain_accounts/host/v1/query_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py new file mode 100644 index 00000000..fa34caa5 --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/interchain_accounts/host/v1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8ibc/applications/interchain_accounts/host/v1/query.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x14\n\x12QueryParamsRequest\"c\n\x13QueryParamsResponse\x12L\n\x06params\x18\x01 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsR\x06params2\xcd\x01\n\x05Query\x12\xc3\x01\n\x06Params\x12@.ibc.applications.interchain_accounts.host.v1.QueryParamsRequest\x1a\x41.ibc.applications.interchain_accounts.host.v1.QueryParamsResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/interchain_accounts/host/v1/paramsB\xdb\x02\n0com.ibc.applications.interchain_accounts.host.v1B\nQueryProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n0com.ibc.applications.interchain_accounts.host.v1B\nQueryProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002.\022,/ibc/apps/interchain_accounts/host/v1/params' + _globals['_QUERYPARAMSREQUEST']._serialized_start=193 + _globals['_QUERYPARAMSREQUEST']._serialized_end=213 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=215 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=314 + _globals['_QUERY']._serialized_start=317 + _globals['_QUERY']._serialized_end=522 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2_grpc.py new file mode 100644 index 00000000..705d751a --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2_grpc.py @@ -0,0 +1,81 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import query_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query provides defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Params = channel.unary_unary( + '/ibc.applications.interchain_accounts.host.v1.Query/Params', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query provides defines the gRPC querier service. + """ + + def Params(self, request, context): + """Params queries all parameters of the ICA host submodule. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.applications.interchain_accounts.host.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('ibc.applications.interchain_accounts.host.v1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query provides defines the gRPC querier service. + """ + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.interchain_accounts.host.v1.Query/Params', + ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py new file mode 100644 index 00000000..ae1b1562 --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/interchain_accounts/host/v1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/host/v1/tx.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x8e\x01\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12R\n\x06params\x18\x02 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse\"\x95\x01\n\x12MsgModuleQuerySafe\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12V\n\x08requests\x18\x02 \x03(\x0b\x32:.ibc.applications.interchain_accounts.host.v1.QueryRequestR\x08requests:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"R\n\x1aMsgModuleQuerySafeResponse\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x1c\n\tresponses\x18\x02 \x03(\x0cR\tresponses2\xc3\x02\n\x03Msg\x12\x94\x01\n\x0cUpdateParams\x12=.ibc.applications.interchain_accounts.host.v1.MsgUpdateParams\x1a\x45.ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse\x12\x9d\x01\n\x0fModuleQuerySafe\x12@.ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe\x1aH.ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafeResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd8\x02\n0com.ibc.applications.interchain_accounts.host.v1B\x07TxProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n0com.ibc.applications.interchain_accounts.host.v1B\007TxProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGMODULEQUERYSAFE']._loaded_options = None + _globals['_MSGMODULEQUERYSAFE']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGUPDATEPARAMS']._serialized_start=208 + _globals['_MSGUPDATEPARAMS']._serialized_end=350 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=352 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=377 + _globals['_MSGMODULEQUERYSAFE']._serialized_start=380 + _globals['_MSGMODULEQUERYSAFE']._serialized_end=529 + _globals['_MSGMODULEQUERYSAFERESPONSE']._serialized_start=531 + _globals['_MSGMODULEQUERYSAFERESPONSE']._serialized_end=613 + _globals['_MSG']._serialized_start=616 + _globals['_MSG']._serialized_end=939 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py new file mode 100644 index 00000000..67d91a1e --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py @@ -0,0 +1,125 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import tx_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the 27-interchain-accounts/host Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.UpdateParams = channel.unary_unary( + '/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + self.ModuleQuerySafe = channel.unary_unary( + '/ibc.applications.interchain_accounts.host.v1.Msg/ModuleQuerySafe', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafe.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafeResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the 27-interchain-accounts/host Msg service. + """ + + def UpdateParams(self, request, context): + """UpdateParams defines a rpc handler for MsgUpdateParams. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ModuleQuerySafe(self, request, context): + """ModuleQuerySafe defines a rpc handler for MsgModuleQuerySafe. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'ModuleQuerySafe': grpc.unary_unary_rpc_method_handler( + servicer.ModuleQuerySafe, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafe.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafeResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.applications.interchain_accounts.host.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('ibc.applications.interchain_accounts.host.v1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the 27-interchain-accounts/host Msg service. + """ + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams', + ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ModuleQuerySafe(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.interchain_accounts.host.v1.Msg/ModuleQuerySafe', + ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafe.SerializeToString, + ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py new file mode 100644 index 00000000..256eb9e6 --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/interchain_accounts/v1/account.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/v1/account.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xcb\x01\n\x11InterchainAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12#\n\raccount_owner\x18\x02 \x01(\tR\x0c\x61\x63\x63ountOwner:F\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xca\xb4-:ibc.applications.interchain_accounts.v1.InterchainAccountIB\xbd\x02\n+com.ibc.applications.interchain_accounts.v1B\x0c\x41\x63\x63ountProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.account_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n+com.ibc.applications.interchain_accounts.v1B\014AccountProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1' + _globals['_INTERCHAINACCOUNT'].fields_by_name['base_account']._loaded_options = None + _globals['_INTERCHAINACCOUNT'].fields_by_name['base_account']._serialized_options = b'\320\336\037\001' + _globals['_INTERCHAINACCOUNT']._loaded_options = None + _globals['_INTERCHAINACCOUNT']._serialized_options = b'\210\240\037\000\230\240\037\000\312\264-:ibc.applications.interchain_accounts.v1.InterchainAccountI' + _globals['_INTERCHAINACCOUNT']._serialized_start=180 + _globals['_INTERCHAINACCOUNT']._serialized_end=383 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_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/ibc/applications/interchain_accounts/v1/metadata_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py new file mode 100644 index 00000000..86ec209d --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/interchain_accounts/v1/metadata.proto +# Protobuf Python Version: 5.26.1 +"""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'\n6ibc/applications/interchain_accounts/v1/metadata.proto\x12\'ibc.applications.interchain_accounts.v1\"\xdb\x01\n\x08Metadata\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x38\n\x18\x63ontroller_connection_id\x18\x02 \x01(\tR\x16\x63ontrollerConnectionId\x12,\n\x12host_connection_id\x18\x03 \x01(\tR\x10hostConnectionId\x12\x18\n\x07\x61\x64\x64ress\x18\x04 \x01(\tR\x07\x61\x64\x64ress\x12\x1a\n\x08\x65ncoding\x18\x05 \x01(\tR\x08\x65ncoding\x12\x17\n\x07tx_type\x18\x06 \x01(\tR\x06txTypeB\xbe\x02\n+com.ibc.applications.interchain_accounts.v1B\rMetadataProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.metadata_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n+com.ibc.applications.interchain_accounts.v1B\rMetadataProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1' + _globals['_METADATA']._serialized_start=100 + _globals['_METADATA']._serialized_end=319 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_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/ibc/applications/interchain_accounts/v1/packet_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py new file mode 100644 index 00000000..b5369237 --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/interchain_accounts/v1/packet.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4ibc/applications/interchain_accounts/v1/packet.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\"\x88\x01\n\x1bInterchainAccountPacketData\x12\x41\n\x04type\x18\x01 \x01(\x0e\x32-.ibc.applications.interchain_accounts.v1.TypeR\x04type\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04memo\x18\x03 \x01(\tR\x04memo\"<\n\x08\x43osmosTx\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages*X\n\x04Type\x12%\n\x10TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12#\n\x0fTYPE_EXECUTE_TX\x10\x01\x1a\x0e\x8a\x9d \nEXECUTE_TX\x1a\x04\x88\xa3\x1e\x00\x42\xbc\x02\n+com.ibc.applications.interchain_accounts.v1B\x0bPacketProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.packet_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n+com.ibc.applications.interchain_accounts.v1B\013PacketProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1' + _globals['_TYPE']._loaded_options = None + _globals['_TYPE']._serialized_options = b'\210\243\036\000' + _globals['_TYPE'].values_by_name["TYPE_UNSPECIFIED"]._loaded_options = None + _globals['_TYPE'].values_by_name["TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' + _globals['_TYPE'].values_by_name["TYPE_EXECUTE_TX"]._loaded_options = None + _globals['_TYPE'].values_by_name["TYPE_EXECUTE_TX"]._serialized_options = b'\212\235 \nEXECUTE_TX' + _globals['_TYPE']._serialized_start=347 + _globals['_TYPE']._serialized_end=435 + _globals['_INTERCHAINACCOUNTPACKETDATA']._serialized_start=147 + _globals['_INTERCHAINACCOUNTPACKETDATA']._serialized_end=283 + _globals['_COSMOSTX']._serialized_start=285 + _globals['_COSMOSTX']._serialized_end=345 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_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/ibc/applications/transfer/v1/authz_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py new file mode 100644 index 00000000..3d4eef1e --- /dev/null +++ b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/transfer/v1/authz.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/authz.proto\x12\x1cibc.applications.transfer.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x91\x02\n\nAllocation\x12\x1f\n\x0bsource_port\x18\x01 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x02 \x01(\tR\rsourceChannel\x12l\n\x0bspend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\nspendLimit\x12\x1d\n\nallow_list\x18\x04 \x03(\tR\tallowList\x12.\n\x13\x61llowed_packet_data\x18\x05 \x03(\tR\x11\x61llowedPacketData\"\x91\x01\n\x15TransferAuthorization\x12P\n\x0b\x61llocations\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.AllocationB\x04\xc8\xde\x1f\x00R\x0b\x61llocations:&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationB\xfa\x01\n com.ibc.applications.transfer.v1B\nAuthzProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.authz_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\nAuthzProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' + _globals['_ALLOCATION'].fields_by_name['spend_limit']._loaded_options = None + _globals['_ALLOCATION'].fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_TRANSFERAUTHORIZATION'].fields_by_name['allocations']._loaded_options = None + _globals['_TRANSFERAUTHORIZATION'].fields_by_name['allocations']._serialized_options = b'\310\336\037\000' + _globals['_TRANSFERAUTHORIZATION']._loaded_options = None + _globals['_TRANSFERAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' + _globals['_ALLOCATION']._serialized_start=156 + _globals['_ALLOCATION']._serialized_end=429 + _globals['_TRANSFERAUTHORIZATION']._serialized_start=432 + _globals['_TRANSFERAUTHORIZATION']._serialized_end=577 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/applications/transfer/v1/authz_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/ibc/applications/transfer/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py new file mode 100644 index 00000000..60e49908 --- /dev/null +++ b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/transfer/v1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*ibc/applications/transfer/v1/genesis.proto\x12\x1cibc.applications.transfer.v1\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\"\xbc\x02\n\x0cGenesisState\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12[\n\x0c\x64\x65nom_traces\x18\x02 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06TracesR\x0b\x64\x65nomTraces\x12\x42\n\x06params\x18\x03 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12r\n\x0etotal_escrowed\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\rtotalEscrowedB\xfc\x01\n com.ibc.applications.transfer.v1B\x0cGenesisProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\014GenesisProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' + _globals['_GENESISSTATE'].fields_by_name['denom_traces']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\252\337\037\006Traces' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['total_escrowed']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['total_escrowed']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_GENESISSTATE']._serialized_start=176 + _globals['_GENESISSTATE']._serialized_end=492 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/applications/transfer/v1/genesis_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/ibc/applications/transfer/v1/query_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py new file mode 100644 index 00000000..eb1189bc --- /dev/null +++ b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py @@ -0,0 +1,72 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/transfer/v1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 +from pyinjective.proto.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\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\"d\n\x17QueryDenomTraceResponse\x12I\n\x0b\x64\x65nom_trace\x18\x01 \x01(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceR\ndenomTrace\"a\n\x17QueryDenomTracesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xc0\x01\n\x18QueryDenomTracesResponse\x12[\n\x0c\x64\x65nom_traces\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06TracesR\x0b\x64\x65nomTraces\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x14\n\x12QueryParamsRequest\"S\n\x13QueryParamsResponse\x12<\n\x06params\x18\x01 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsR\x06params\"-\n\x15QueryDenomHashRequest\x12\x14\n\x05trace\x18\x01 \x01(\tR\x05trace\",\n\x16QueryDenomHashResponse\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\"S\n\x19QueryEscrowAddressRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"C\n\x1aQueryEscrowAddressResponse\x12%\n\x0e\x65scrow_address\x18\x01 \x01(\tR\rescrowAddress\"7\n\x1fQueryTotalEscrowForDenomRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"[\n QueryTotalEscrowForDenomResponse\x12\x37\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount2\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_escrowB\xfa\x01\n com.ibc.applications.transfer.v1B\nQueryProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\nQueryProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' + _globals['_QUERYDENOMTRACESRESPONSE'].fields_by_name['denom_traces']._loaded_options = None + _globals['_QUERYDENOMTRACESRESPONSE'].fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\252\337\037\006Traces' + _globals['_QUERYTOTALESCROWFORDENOMRESPONSE'].fields_by_name['amount']._loaded_options = None + _globals['_QUERYTOTALESCROWFORDENOMRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_QUERY'].methods_by_name['DenomTraces']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomTraces']._serialized_options = b'\202\323\344\223\002$\022\"/ibc/apps/transfer/v1/denom_traces' + _globals['_QUERY'].methods_by_name['DenomTrace']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomTrace']._serialized_options = b'\202\323\344\223\002.\022,/ibc/apps/transfer/v1/denom_traces/{hash=**}' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\036\022\034/ibc/apps/transfer/v1/params' + _globals['_QUERY'].methods_by_name['DenomHash']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomHash']._serialized_options = b'\202\323\344\223\002/\022-/ibc/apps/transfer/v1/denom_hashes/{trace=**}' + _globals['_QUERY'].methods_by_name['EscrowAddress']._loaded_options = None + _globals['_QUERY'].methods_by_name['EscrowAddress']._serialized_options = b'\202\323\344\223\002L\022J/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address' + _globals['_QUERY'].methods_by_name['TotalEscrowForDenom']._loaded_options = None + _globals['_QUERY'].methods_by_name['TotalEscrowForDenom']._serialized_options = b'\202\323\344\223\0026\0224/ibc/apps/transfer/v1/denoms/{denom=**}/total_escrow' + _globals['_QUERYDENOMTRACEREQUEST']._serialized_start=247 + _globals['_QUERYDENOMTRACEREQUEST']._serialized_end=291 + _globals['_QUERYDENOMTRACERESPONSE']._serialized_start=293 + _globals['_QUERYDENOMTRACERESPONSE']._serialized_end=393 + _globals['_QUERYDENOMTRACESREQUEST']._serialized_start=395 + _globals['_QUERYDENOMTRACESREQUEST']._serialized_end=492 + _globals['_QUERYDENOMTRACESRESPONSE']._serialized_start=495 + _globals['_QUERYDENOMTRACESRESPONSE']._serialized_end=687 + _globals['_QUERYPARAMSREQUEST']._serialized_start=689 + _globals['_QUERYPARAMSREQUEST']._serialized_end=709 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=711 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=794 + _globals['_QUERYDENOMHASHREQUEST']._serialized_start=796 + _globals['_QUERYDENOMHASHREQUEST']._serialized_end=841 + _globals['_QUERYDENOMHASHRESPONSE']._serialized_start=843 + _globals['_QUERYDENOMHASHRESPONSE']._serialized_end=887 + _globals['_QUERYESCROWADDRESSREQUEST']._serialized_start=889 + _globals['_QUERYESCROWADDRESSREQUEST']._serialized_end=972 + _globals['_QUERYESCROWADDRESSRESPONSE']._serialized_start=974 + _globals['_QUERYESCROWADDRESSRESPONSE']._serialized_end=1041 + _globals['_QUERYTOTALESCROWFORDENOMREQUEST']._serialized_start=1043 + _globals['_QUERYTOTALESCROWFORDENOMREQUEST']._serialized_end=1098 + _globals['_QUERYTOTALESCROWFORDENOMRESPONSE']._serialized_start=1100 + _globals['_QUERYTOTALESCROWFORDENOMRESPONSE']._serialized_end=1191 + _globals['_QUERY']._serialized_start=1194 + _globals['_QUERY']._serialized_end=2306 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py new file mode 100644 index 00000000..b2f8831e --- /dev/null +++ b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py @@ -0,0 +1,301 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.ibc.applications.transfer.v1 import query_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query provides defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.DenomTraces = channel.unary_unary( + '/ibc.applications.transfer.v1.Query/DenomTraces', + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.FromString, + _registered_method=True) + 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, + _registered_method=True) + 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, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + self.DenomHash = channel.unary_unary( + '/ibc.applications.transfer.v1.Query/DenomHash', + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashResponse.FromString, + _registered_method=True) + self.EscrowAddress = channel.unary_unary( + '/ibc.applications.transfer.v1.Query/EscrowAddress', + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressResponse.FromString, + _registered_method=True) + self.TotalEscrowForDenom = channel.unary_unary( + '/ibc.applications.transfer.v1.Query/TotalEscrowForDenom', + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query provides defines the gRPC querier service. + """ + + 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 DenomTrace(self, request, context): + """DenomTrace queries a denomination trace information. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Params(self, request, context): + """Params queries all parameters of the ibc-transfer module. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DenomHash(self, request, context): + """DenomHash queries a denomination hash information. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def EscrowAddress(self, request, context): + """EscrowAddress returns the escrow address for a particular port and channel id. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TotalEscrowForDenom(self, request, context): + """TotalEscrowForDenom returns the total amount of tokens in escrow based on the denom. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + '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, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'DenomHash': grpc.unary_unary_rpc_method_handler( + servicer.DenomHash, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashRequest.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashResponse.SerializeToString, + ), + 'EscrowAddress': grpc.unary_unary_rpc_method_handler( + servicer.EscrowAddress, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressRequest.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressResponse.SerializeToString, + ), + 'TotalEscrowForDenom': grpc.unary_unary_rpc_method_handler( + servicer.TotalEscrowForDenom, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomRequest.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.applications.transfer.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('ibc.applications.transfer.v1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query provides defines the gRPC querier service. + """ + + @staticmethod + def DenomTraces(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.transfer.v1.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, + _registered_method=True) + + @staticmethod + def DenomTrace(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.transfer.v1.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, + _registered_method=True) + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.transfer.v1.Query/Params', + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DenomHash(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.transfer.v1.Query/DenomHash', + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashRequest.SerializeToString, + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def EscrowAddress(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.transfer.v1.Query/EscrowAddress', + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressRequest.SerializeToString, + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TotalEscrowForDenom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.transfer.v1.Query/TotalEscrowForDenom', + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomRequest.SerializeToString, + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py new file mode 100644 index 00000000..73ebddbc --- /dev/null +++ b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/transfer/v1/transfer.proto +# Protobuf Python Version: 5.26.1 +"""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+ibc/applications/transfer/v1/transfer.proto\x12\x1cibc.applications.transfer.v1\"?\n\nDenomTrace\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12\x1d\n\nbase_denom\x18\x02 \x01(\tR\tbaseDenom\"T\n\x06Params\x12!\n\x0csend_enabled\x18\x01 \x01(\x08R\x0bsendEnabled\x12\'\n\x0freceive_enabled\x18\x02 \x01(\x08R\x0ereceiveEnabledB\xfd\x01\n com.ibc.applications.transfer.v1B\rTransferProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.transfer_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\rTransferProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' + _globals['_DENOMTRACE']._serialized_start=77 + _globals['_DENOMTRACE']._serialized_end=140 + _globals['_PARAMS']._serialized_start=142 + _globals['_PARAMS']._serialized_end=226 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/applications/transfer/v1/transfer_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/ibc/applications/transfer/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py new file mode 100644 index 00000000..28a24526 --- /dev/null +++ b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/transfer/v1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 +from pyinjective.proto.ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/transfer/v1/tx.proto\x12\x1cibc.applications.transfer.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1fibc/core/client/v1/client.proto\x1a+ibc/applications/transfer/v1/transfer.proto\"\x80\x03\n\x0bMsgTransfer\x12\x1f\n\x0bsource_port\x18\x01 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x02 \x01(\tR\rsourceChannel\x12:\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05token\x12\x16\n\x06sender\x18\x04 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x05 \x01(\tR\x08receiver\x12L\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rtimeoutHeight\x12+\n\x11timeout_timestamp\x18\x07 \x01(\x04R\x10timeoutTimestamp\x12\x12\n\x04memo\x18\x08 \x01(\tR\x04memo:*\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgTransfer\"7\n\x13MsgTransferResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00\"~\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12\x42\n\x06params\x18\x02 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\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\xf7\x01\n com.ibc.applications.transfer.v1B\x07TxProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\007TxProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' + _globals['_MSGTRANSFER'].fields_by_name['token']._loaded_options = None + _globals['_MSGTRANSFER'].fields_by_name['token']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGTRANSFER'].fields_by_name['timeout_height']._loaded_options = None + _globals['_MSGTRANSFER'].fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGTRANSFER']._loaded_options = None + _globals['_MSGTRANSFER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\026cosmos-sdk/MsgTransfer' + _globals['_MSGTRANSFERRESPONSE']._loaded_options = None + _globals['_MSGTRANSFERRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGTRANSFER']._serialized_start=248 + _globals['_MSGTRANSFER']._serialized_end=632 + _globals['_MSGTRANSFERRESPONSE']._serialized_start=634 + _globals['_MSGTRANSFERRESPONSE']._serialized_end=689 + _globals['_MSGUPDATEPARAMS']._serialized_start=691 + _globals['_MSGUPDATEPARAMS']._serialized_end=817 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=819 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=844 + _globals['_MSG']._serialized_start=847 + _globals['_MSG']._serialized_end=1083 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py new file mode 100644 index 00000000..6b97abb4 --- /dev/null +++ b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py @@ -0,0 +1,125 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.ibc.applications.transfer.v1 import tx_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the ibc/transfer Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Transfer = channel.unary_unary( + '/ibc.applications.transfer.v1.Msg/Transfer', + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.FromString, + _registered_method=True) + self.UpdateParams = channel.unary_unary( + '/ibc.applications.transfer.v1.Msg/UpdateParams', + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the ibc/transfer Msg service. + """ + + def Transfer(self, request, context): + """Transfer defines a rpc handler method for MsgTransfer. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """UpdateParams defines a rpc handler for MsgUpdateParams. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Transfer': grpc.unary_unary_rpc_method_handler( + servicer.Transfer, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.applications.transfer.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('ibc.applications.transfer.v1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the ibc/transfer Msg service. + """ + + @staticmethod + def Transfer(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.transfer.v1.Msg/Transfer', + ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.SerializeToString, + ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.applications.transfer.v1.Msg/UpdateParams', + ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py new file mode 100644 index 00000000..5ad4d53a --- /dev/null +++ b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/applications/transfer/v2/packet.proto +# Protobuf Python Version: 5.26.1 +"""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)ibc/applications/transfer/v2/packet.proto\x12\x1cibc.applications.transfer.v2\"\x8f\x01\n\x17\x46ungibleTokenPacketData\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x04 \x01(\tR\x08receiver\x12\x12\n\x04memo\x18\x05 \x01(\tR\x04memoB\xfb\x01\n com.ibc.applications.transfer.v2B\x0bPacketProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V2\xca\x02\x1cIbc\\Applications\\Transfer\\V2\xe2\x02(Ibc\\Applications\\Transfer\\V2\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V2b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v2.packet_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v2B\013PacketProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V2\312\002\034Ibc\\Applications\\Transfer\\V2\342\002(Ibc\\Applications\\Transfer\\V2\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V2' + _globals['_FUNGIBLETOKENPACKETDATA']._serialized_start=76 + _globals['_FUNGIBLETOKENPACKETDATA']._serialized_end=219 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/applications/transfer/v2/packet_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/ibc/core/channel/v1/channel_pb2.py b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py new file mode 100644 index 00000000..e2e386d0 --- /dev/null +++ b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py @@ -0,0 +1,95 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/core/channel/v1/channel.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/channel.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\"\xb4\x02\n\x07\x43hannel\x12\x30\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x05state\x12\x36\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12K\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00R\x0c\x63ounterparty\x12\'\n\x0f\x63onnection_hops\x18\x04 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12)\n\x10upgrade_sequence\x18\x06 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00\"\xf6\x02\n\x11IdentifiedChannel\x12\x30\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x05state\x12\x36\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12K\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00R\x0c\x63ounterparty\x12\'\n\x0f\x63onnection_hops\x18\x04 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12\x17\n\x07port_id\x18\x06 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x07 \x01(\tR\tchannelId\x12)\n\x10upgrade_sequence\x18\x08 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00\"L\n\x0c\x43ounterparty\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId:\x04\x88\xa0\x1f\x00\"\xd8\x02\n\x06Packet\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1f\n\x0bsource_port\x18\x02 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x03 \x01(\tR\rsourceChannel\x12)\n\x10\x64\x65stination_port\x18\x04 \x01(\tR\x0f\x64\x65stinationPort\x12/\n\x13\x64\x65stination_channel\x18\x05 \x01(\tR\x12\x64\x65stinationChannel\x12\x12\n\x04\x64\x61ta\x18\x06 \x01(\x0cR\x04\x64\x61ta\x12G\n\x0etimeout_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\rtimeoutHeight\x12+\n\x11timeout_timestamp\x18\x08 \x01(\x04R\x10timeoutTimestamp:\x04\x88\xa0\x1f\x00\"{\n\x0bPacketState\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x12\x12\n\x04\x64\x61ta\x18\x04 \x01(\x0cR\x04\x64\x61ta:\x04\x88\xa0\x1f\x00\"d\n\x08PacketId\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00\"O\n\x0f\x41\x63knowledgement\x12\x18\n\x06result\x18\x15 \x01(\x0cH\x00R\x06result\x12\x16\n\x05\x65rror\x18\x16 \x01(\tH\x00R\x05\x65rrorB\n\n\x08response\"a\n\x07Timeout\x12\x38\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\"U\n\x06Params\x12K\n\x0fupgrade_timeout\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.TimeoutB\x04\xc8\xde\x1f\x00R\x0eupgradeTimeout*\x85\x02\n\x05State\x12\x36\n\x1fSTATE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x11\x8a\x9d \rUNINITIALIZED\x12\x18\n\nSTATE_INIT\x10\x01\x1a\x08\x8a\x9d \x04INIT\x12\x1e\n\rSTATE_TRYOPEN\x10\x02\x1a\x0b\x8a\x9d \x07TRYOPEN\x12\x18\n\nSTATE_OPEN\x10\x03\x1a\x08\x8a\x9d \x04OPEN\x12\x1c\n\x0cSTATE_CLOSED\x10\x04\x1a\n\x8a\x9d \x06\x43LOSED\x12 \n\x0eSTATE_FLUSHING\x10\x05\x1a\x0c\x8a\x9d \x08\x46LUSHING\x12*\n\x13STATE_FLUSHCOMPLETE\x10\x06\x1a\x11\x8a\x9d \rFLUSHCOMPLETE\x1a\x04\x88\xa3\x1e\x00*w\n\x05Order\x12$\n\x16ORDER_NONE_UNSPECIFIED\x10\x00\x1a\x08\x8a\x9d \x04NONE\x12\"\n\x0fORDER_UNORDERED\x10\x01\x1a\r\x8a\x9d \tUNORDERED\x12\x1e\n\rORDER_ORDERED\x10\x02\x1a\x0b\x8a\x9d \x07ORDERED\x1a\x04\x88\xa3\x1e\x00\x42\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0c\x43hannelProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.channel_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\014ChannelProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' + _globals['_STATE']._loaded_options = None + _globals['_STATE']._serialized_options = b'\210\243\036\000' + _globals['_STATE'].values_by_name["STATE_UNINITIALIZED_UNSPECIFIED"]._loaded_options = None + _globals['_STATE'].values_by_name["STATE_UNINITIALIZED_UNSPECIFIED"]._serialized_options = b'\212\235 \rUNINITIALIZED' + _globals['_STATE'].values_by_name["STATE_INIT"]._loaded_options = None + _globals['_STATE'].values_by_name["STATE_INIT"]._serialized_options = b'\212\235 \004INIT' + _globals['_STATE'].values_by_name["STATE_TRYOPEN"]._loaded_options = None + _globals['_STATE'].values_by_name["STATE_TRYOPEN"]._serialized_options = b'\212\235 \007TRYOPEN' + _globals['_STATE'].values_by_name["STATE_OPEN"]._loaded_options = None + _globals['_STATE'].values_by_name["STATE_OPEN"]._serialized_options = b'\212\235 \004OPEN' + _globals['_STATE'].values_by_name["STATE_CLOSED"]._loaded_options = None + _globals['_STATE'].values_by_name["STATE_CLOSED"]._serialized_options = b'\212\235 \006CLOSED' + _globals['_STATE'].values_by_name["STATE_FLUSHING"]._loaded_options = None + _globals['_STATE'].values_by_name["STATE_FLUSHING"]._serialized_options = b'\212\235 \010FLUSHING' + _globals['_STATE'].values_by_name["STATE_FLUSHCOMPLETE"]._loaded_options = None + _globals['_STATE'].values_by_name["STATE_FLUSHCOMPLETE"]._serialized_options = b'\212\235 \rFLUSHCOMPLETE' + _globals['_ORDER']._loaded_options = None + _globals['_ORDER']._serialized_options = b'\210\243\036\000' + _globals['_ORDER'].values_by_name["ORDER_NONE_UNSPECIFIED"]._loaded_options = None + _globals['_ORDER'].values_by_name["ORDER_NONE_UNSPECIFIED"]._serialized_options = b'\212\235 \004NONE' + _globals['_ORDER'].values_by_name["ORDER_UNORDERED"]._loaded_options = None + _globals['_ORDER'].values_by_name["ORDER_UNORDERED"]._serialized_options = b'\212\235 \tUNORDERED' + _globals['_ORDER'].values_by_name["ORDER_ORDERED"]._loaded_options = None + _globals['_ORDER'].values_by_name["ORDER_ORDERED"]._serialized_options = b'\212\235 \007ORDERED' + _globals['_CHANNEL'].fields_by_name['counterparty']._loaded_options = None + _globals['_CHANNEL'].fields_by_name['counterparty']._serialized_options = b'\310\336\037\000' + _globals['_CHANNEL']._loaded_options = None + _globals['_CHANNEL']._serialized_options = b'\210\240\037\000' + _globals['_IDENTIFIEDCHANNEL'].fields_by_name['counterparty']._loaded_options = None + _globals['_IDENTIFIEDCHANNEL'].fields_by_name['counterparty']._serialized_options = b'\310\336\037\000' + _globals['_IDENTIFIEDCHANNEL']._loaded_options = None + _globals['_IDENTIFIEDCHANNEL']._serialized_options = b'\210\240\037\000' + _globals['_COUNTERPARTY']._loaded_options = None + _globals['_COUNTERPARTY']._serialized_options = b'\210\240\037\000' + _globals['_PACKET'].fields_by_name['timeout_height']._loaded_options = None + _globals['_PACKET'].fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000' + _globals['_PACKET']._loaded_options = None + _globals['_PACKET']._serialized_options = b'\210\240\037\000' + _globals['_PACKETSTATE']._loaded_options = None + _globals['_PACKETSTATE']._serialized_options = b'\210\240\037\000' + _globals['_PACKETID']._loaded_options = None + _globals['_PACKETID']._serialized_options = b'\210\240\037\000' + _globals['_TIMEOUT'].fields_by_name['height']._loaded_options = None + _globals['_TIMEOUT'].fields_by_name['height']._serialized_options = b'\310\336\037\000' + _globals['_PARAMS'].fields_by_name['upgrade_timeout']._loaded_options = None + _globals['_PARAMS'].fields_by_name['upgrade_timeout']._serialized_options = b'\310\336\037\000' + _globals['_STATE']._serialized_start=1721 + _globals['_STATE']._serialized_end=1982 + _globals['_ORDER']._serialized_start=1984 + _globals['_ORDER']._serialized_end=2103 + _globals['_CHANNEL']._serialized_start=114 + _globals['_CHANNEL']._serialized_end=422 + _globals['_IDENTIFIEDCHANNEL']._serialized_start=425 + _globals['_IDENTIFIEDCHANNEL']._serialized_end=799 + _globals['_COUNTERPARTY']._serialized_start=801 + _globals['_COUNTERPARTY']._serialized_end=877 + _globals['_PACKET']._serialized_start=880 + _globals['_PACKET']._serialized_end=1224 + _globals['_PACKETSTATE']._serialized_start=1226 + _globals['_PACKETSTATE']._serialized_end=1349 + _globals['_PACKETID']._serialized_start=1351 + _globals['_PACKETID']._serialized_end=1451 + _globals['_ACKNOWLEDGEMENT']._serialized_start=1453 + _globals['_ACKNOWLEDGEMENT']._serialized_end=1532 + _globals['_TIMEOUT']._serialized_start=1534 + _globals['_TIMEOUT']._serialized_end=1631 + _globals['_PARAMS']._serialized_start=1633 + _globals['_PARAMS']._serialized_end=1718 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/channel_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/channel_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/core/channel/v1/channel_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/ibc/core/channel/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py new file mode 100644 index 00000000..5b3a9feb --- /dev/null +++ b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/core/channel/v1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/genesis.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\xb2\x05\n\x0cGenesisState\x12]\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelB\x19\xc8\xde\x1f\x00\xfa\xde\x1f\x11IdentifiedChannelR\x08\x63hannels\x12R\n\x10\x61\x63knowledgements\x18\x02 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x10\x61\x63knowledgements\x12H\n\x0b\x63ommitments\x18\x03 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x0b\x63ommitments\x12\x42\n\x08receipts\x18\x04 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x08receipts\x12P\n\x0esend_sequences\x18\x05 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\rsendSequences\x12P\n\x0erecv_sequences\x18\x06 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\rrecvSequences\x12N\n\rack_sequences\x18\x07 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\x0c\x61\x63kSequences\x12\x32\n\x15next_channel_sequence\x18\x08 \x01(\x04R\x13nextChannelSequence\x12\x39\n\x06params\x18\t \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"d\n\x0ePacketSequence\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequenceB\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0cGenesisProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\014GenesisProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' + _globals['_GENESISSTATE'].fields_by_name['channels']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['channels']._serialized_options = b'\310\336\037\000\372\336\037\021IdentifiedChannel' + _globals['_GENESISSTATE'].fields_by_name['acknowledgements']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['acknowledgements']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['commitments']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['commitments']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['receipts']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['receipts']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['send_sequences']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['send_sequences']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['recv_sequences']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['recv_sequences']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['ack_sequences']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['ack_sequences']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=116 + _globals['_GENESISSTATE']._serialized_end=806 + _globals['_PACKETSEQUENCE']._serialized_start=808 + _globals['_PACKETSEQUENCE']._serialized_end=908 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/core/channel/v1/genesis_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/ibc/core/channel/v1/query_pb2.py b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py new file mode 100644 index 00000000..f631eefc --- /dev/null +++ b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py @@ -0,0 +1,172 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/core/channel/v1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.ibc.core.channel.v1 import upgrade_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_upgrade__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/channel/v1/query.proto\x12\x13ibc.core.channel.v1\x1a\x1fibc/core/client/v1/client.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/upgrade.proto\"M\n\x13QueryChannelRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xa9\x01\n\x14QueryChannelResponse\x12\x36\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelR\x07\x63hannel\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"^\n\x14QueryChannelsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xde\x01\n\x15QueryChannelsResponse\x12\x42\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelR\x08\x63hannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"\x88\x01\n\x1eQueryConnectionChannelsRequest\x12\x1e\n\nconnection\x18\x01 \x01(\tR\nconnection\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xe8\x01\n\x1fQueryConnectionChannelsResponse\x12\x42\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelR\x08\x63hannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"X\n\x1eQueryChannelClientStateRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xdf\x01\n\x1fQueryChannelClientStateResponse\x12\x61\n\x17identified_client_state\x18\x01 \x01(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateR\x15identifiedClientState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\xad\x01\n!QueryChannelConsensusStateRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\'\n\x0frevision_number\x18\x03 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x04 \x01(\x04R\x0erevisionHeight\"\xdb\x01\n\"QueryChannelConsensusStateResponse\x12=\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x1b\n\tclient_id\x18\x02 \x01(\tR\x08\x63lientId\x12\x14\n\x05proof\x18\x03 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"r\n\x1cQueryPacketCommitmentRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\"\x9a\x01\n\x1dQueryPacketCommitmentResponse\x12\x1e\n\ncommitment\x18\x01 \x01(\x0cR\ncommitment\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\x9f\x01\n\x1dQueryPacketCommitmentsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xe7\x01\n\x1eQueryPacketCommitmentsResponse\x12\x42\n\x0b\x63ommitments\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateR\x0b\x63ommitments\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"o\n\x19QueryPacketReceiptRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\"\x93\x01\n\x1aQueryPacketReceiptResponse\x12\x1a\n\x08received\x18\x02 \x01(\x08R\x08received\x12\x14\n\x05proof\x18\x03 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"w\n!QueryPacketAcknowledgementRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\"\xa9\x01\n\"QueryPacketAcknowledgementResponse\x12(\n\x0f\x61\x63knowledgement\x18\x01 \x01(\x0cR\x0f\x61\x63knowledgement\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\xe4\x01\n\"QueryPacketAcknowledgementsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12>\n\x1bpacket_commitment_sequences\x18\x04 \x03(\x04R\x19packetCommitmentSequences\"\xf6\x01\n#QueryPacketAcknowledgementsResponse\x12L\n\x10\x61\x63knowledgements\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateR\x10\x61\x63knowledgements\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"\x97\x01\n\x1dQueryUnreceivedPacketsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12>\n\x1bpacket_commitment_sequences\x18\x03 \x03(\x04R\x19packetCommitmentSequences\"x\n\x1eQueryUnreceivedPacketsResponse\x12\x1c\n\tsequences\x18\x01 \x03(\x04R\tsequences\x12\x38\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"\x86\x01\n\x1aQueryUnreceivedAcksRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x30\n\x14packet_ack_sequences\x18\x03 \x03(\x04R\x12packetAckSequences\"u\n\x1bQueryUnreceivedAcksResponse\x12\x1c\n\tsequences\x18\x01 \x03(\x04R\tsequences\x12\x38\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"Y\n\x1fQueryNextSequenceReceiveRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xb1\x01\n QueryNextSequenceReceiveResponse\x12\x32\n\x15next_sequence_receive\x18\x01 \x01(\x04R\x13nextSequenceReceive\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"V\n\x1cQueryNextSequenceSendRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xa8\x01\n\x1dQueryNextSequenceSendResponse\x12,\n\x12next_sequence_send\x18\x01 \x01(\x04R\x10nextSequenceSend\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"R\n\x18QueryUpgradeErrorRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xc4\x01\n\x19QueryUpgradeErrorResponse\x12L\n\rerror_receipt\x18\x01 \x01(\x0b\x32!.ibc.core.channel.v1.ErrorReceiptB\x04\xc8\xde\x1f\x00R\x0c\x65rrorReceipt\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"M\n\x13QueryUpgradeRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xaf\x01\n\x14QueryUpgradeResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\x1b\n\x19QueryChannelParamsRequest\"Q\n\x1aQueryChannelParamsResponse\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsR\x06params2\xe5\x1b\n\x05Query\x12\xa2\x01\n\x07\x43hannel\x12(.ibc.core.channel.v1.QueryChannelRequest\x1a).ibc.core.channel.v1.QueryChannelResponse\"B\x82\xd3\xe4\x93\x02<\x12:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}\x12\x88\x01\n\x08\x43hannels\x12).ibc.core.channel.v1.QueryChannelsRequest\x1a*.ibc.core.channel.v1.QueryChannelsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/ibc/core/channel/v1/channels\x12\xbf\x01\n\x12\x43onnectionChannels\x12\x33.ibc.core.channel.v1.QueryConnectionChannelsRequest\x1a\x34.ibc.core.channel.v1.QueryConnectionChannelsResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/channel/v1/connections/{connection}/channels\x12\xd0\x01\n\x12\x43hannelClientState\x12\x33.ibc.core.channel.v1.QueryChannelClientStateRequest\x1a\x34.ibc.core.channel.v1.QueryChannelClientStateResponse\"O\x82\xd3\xe4\x93\x02I\x12G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state\x12\x92\x02\n\x15\x43hannelConsensusState\x12\x36.ibc.core.channel.v1.QueryChannelConsensusStateRequest\x1a\x37.ibc.core.channel.v1.QueryChannelConsensusStateResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xdb\x01\n\x10PacketCommitment\x12\x31.ibc.core.channel.v1.QueryPacketCommitmentRequest\x1a\x32.ibc.core.channel.v1.QueryPacketCommitmentResponse\"`\x82\xd3\xe4\x93\x02Z\x12X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}\x12\xd3\x01\n\x11PacketCommitments\x12\x32.ibc.core.channel.v1.QueryPacketCommitmentsRequest\x1a\x33.ibc.core.channel.v1.QueryPacketCommitmentsResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments\x12\xcf\x01\n\rPacketReceipt\x12..ibc.core.channel.v1.QueryPacketReceiptRequest\x1a/.ibc.core.channel.v1.QueryPacketReceiptResponse\"]\x82\xd3\xe4\x93\x02W\x12U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}\x12\xe3\x01\n\x15PacketAcknowledgement\x12\x36.ibc.core.channel.v1.QueryPacketAcknowledgementRequest\x1a\x37.ibc.core.channel.v1.QueryPacketAcknowledgementResponse\"Y\x82\xd3\xe4\x93\x02S\x12Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}\x12\xe7\x01\n\x16PacketAcknowledgements\x12\x37.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest\x1a\x38.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse\"Z\x82\xd3\xe4\x93\x02T\x12R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements\x12\x86\x02\n\x11UnreceivedPackets\x12\x32.ibc.core.channel.v1.QueryUnreceivedPacketsRequest\x1a\x33.ibc.core.channel.v1.QueryUnreceivedPacketsResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets\x12\xf1\x01\n\x0eUnreceivedAcks\x12/.ibc.core.channel.v1.QueryUnreceivedAcksRequest\x1a\x30.ibc.core.channel.v1.QueryUnreceivedAcksResponse\"|\x82\xd3\xe4\x93\x02v\x12t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks\x12\xd4\x01\n\x13NextSequenceReceive\x12\x34.ibc.core.channel.v1.QueryNextSequenceReceiveRequest\x1a\x35.ibc.core.channel.v1.QueryNextSequenceReceiveResponse\"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence\x12\xd0\x01\n\x10NextSequenceSend\x12\x31.ibc.core.channel.v1.QueryNextSequenceSendRequest\x1a\x32.ibc.core.channel.v1.QueryNextSequenceSendResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send\x12\xbf\x01\n\x0cUpgradeError\x12-.ibc.core.channel.v1.QueryUpgradeErrorRequest\x1a..ibc.core.channel.v1.QueryUpgradeErrorResponse\"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade_error\x12\xaa\x01\n\x07Upgrade\x12(.ibc.core.channel.v1.QueryUpgradeRequest\x1a).ibc.core.channel.v1.QueryUpgradeResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade\x12\x95\x01\n\rChannelParams\x12..ibc.core.channel.v1.QueryChannelParamsRequest\x1a/.ibc.core.channel.v1.QueryChannelParamsResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/ibc/core/channel/v1/paramsB\xcf\x01\n\x17\x63om.ibc.core.channel.v1B\nQueryProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\nQueryProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' + _globals['_QUERYCHANNELRESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYCHANNELRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYCHANNELSRESPONSE'].fields_by_name['height']._loaded_options = None + _globals['_QUERYCHANNELSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYCONNECTIONCHANNELSRESPONSE'].fields_by_name['height']._loaded_options = None + _globals['_QUERYCONNECTIONCHANNELSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYCHANNELCLIENTSTATERESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYCHANNELCLIENTSTATERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYPACKETCOMMITMENTRESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYPACKETCOMMITMENTRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYPACKETCOMMITMENTSRESPONSE'].fields_by_name['height']._loaded_options = None + _globals['_QUERYPACKETCOMMITMENTSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYPACKETRECEIPTRESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYPACKETRECEIPTRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE'].fields_by_name['height']._loaded_options = None + _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYUNRECEIVEDPACKETSRESPONSE'].fields_by_name['height']._loaded_options = None + _globals['_QUERYUNRECEIVEDPACKETSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYUNRECEIVEDACKSRESPONSE'].fields_by_name['height']._loaded_options = None + _globals['_QUERYUNRECEIVEDACKSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYNEXTSEQUENCESENDRESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYNEXTSEQUENCESENDRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYUPGRADEERRORRESPONSE'].fields_by_name['error_receipt']._loaded_options = None + _globals['_QUERYUPGRADEERRORRESPONSE'].fields_by_name['error_receipt']._serialized_options = b'\310\336\037\000' + _globals['_QUERYUPGRADEERRORRESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYUPGRADEERRORRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYUPGRADERESPONSE'].fields_by_name['upgrade']._loaded_options = None + _globals['_QUERYUPGRADERESPONSE'].fields_by_name['upgrade']._serialized_options = b'\310\336\037\000' + _globals['_QUERYUPGRADERESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYUPGRADERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERY'].methods_by_name['Channel']._loaded_options = None + _globals['_QUERY'].methods_by_name['Channel']._serialized_options = b'\202\323\344\223\002<\022:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}' + _globals['_QUERY'].methods_by_name['Channels']._loaded_options = None + _globals['_QUERY'].methods_by_name['Channels']._serialized_options = b'\202\323\344\223\002\037\022\035/ibc/core/channel/v1/channels' + _globals['_QUERY'].methods_by_name['ConnectionChannels']._loaded_options = None + _globals['_QUERY'].methods_by_name['ConnectionChannels']._serialized_options = b'\202\323\344\223\0028\0226/ibc/core/channel/v1/connections/{connection}/channels' + _globals['_QUERY'].methods_by_name['ChannelClientState']._loaded_options = None + _globals['_QUERY'].methods_by_name['ChannelClientState']._serialized_options = b'\202\323\344\223\002I\022G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state' + _globals['_QUERY'].methods_by_name['ChannelConsensusState']._loaded_options = None + _globals['_QUERY'].methods_by_name['ChannelConsensusState']._serialized_options = b'\202\323\344\223\002\200\001\022~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}' + _globals['_QUERY'].methods_by_name['PacketCommitment']._loaded_options = None + _globals['_QUERY'].methods_by_name['PacketCommitment']._serialized_options = b'\202\323\344\223\002Z\022X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}' + _globals['_QUERY'].methods_by_name['PacketCommitments']._loaded_options = None + _globals['_QUERY'].methods_by_name['PacketCommitments']._serialized_options = b'\202\323\344\223\002O\022M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments' + _globals['_QUERY'].methods_by_name['PacketReceipt']._loaded_options = None + _globals['_QUERY'].methods_by_name['PacketReceipt']._serialized_options = b'\202\323\344\223\002W\022U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}' + _globals['_QUERY'].methods_by_name['PacketAcknowledgement']._loaded_options = None + _globals['_QUERY'].methods_by_name['PacketAcknowledgement']._serialized_options = b'\202\323\344\223\002S\022Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}' + _globals['_QUERY'].methods_by_name['PacketAcknowledgements']._loaded_options = None + _globals['_QUERY'].methods_by_name['PacketAcknowledgements']._serialized_options = b'\202\323\344\223\002T\022R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements' + _globals['_QUERY'].methods_by_name['UnreceivedPackets']._loaded_options = None + _globals['_QUERY'].methods_by_name['UnreceivedPackets']._serialized_options = b'\202\323\344\223\002\200\001\022~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets' + _globals['_QUERY'].methods_by_name['UnreceivedAcks']._loaded_options = None + _globals['_QUERY'].methods_by_name['UnreceivedAcks']._serialized_options = b'\202\323\344\223\002v\022t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks' + _globals['_QUERY'].methods_by_name['NextSequenceReceive']._loaded_options = None + _globals['_QUERY'].methods_by_name['NextSequenceReceive']._serialized_options = b'\202\323\344\223\002J\022H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence' + _globals['_QUERY'].methods_by_name['NextSequenceSend']._loaded_options = None + _globals['_QUERY'].methods_by_name['NextSequenceSend']._serialized_options = b'\202\323\344\223\002O\022M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send' + _globals['_QUERY'].methods_by_name['UpgradeError']._loaded_options = None + _globals['_QUERY'].methods_by_name['UpgradeError']._serialized_options = b'\202\323\344\223\002J\022H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade_error' + _globals['_QUERY'].methods_by_name['Upgrade']._loaded_options = None + _globals['_QUERY'].methods_by_name['Upgrade']._serialized_options = b'\202\323\344\223\002D\022B/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade' + _globals['_QUERY'].methods_by_name['ChannelParams']._loaded_options = None + _globals['_QUERY'].methods_by_name['ChannelParams']._serialized_options = b'\202\323\344\223\002\035\022\033/ibc/core/channel/v1/params' + _globals['_QUERYCHANNELREQUEST']._serialized_start=282 + _globals['_QUERYCHANNELREQUEST']._serialized_end=359 + _globals['_QUERYCHANNELRESPONSE']._serialized_start=362 + _globals['_QUERYCHANNELRESPONSE']._serialized_end=531 + _globals['_QUERYCHANNELSREQUEST']._serialized_start=533 + _globals['_QUERYCHANNELSREQUEST']._serialized_end=627 + _globals['_QUERYCHANNELSRESPONSE']._serialized_start=630 + _globals['_QUERYCHANNELSRESPONSE']._serialized_end=852 + _globals['_QUERYCONNECTIONCHANNELSREQUEST']._serialized_start=855 + _globals['_QUERYCONNECTIONCHANNELSREQUEST']._serialized_end=991 + _globals['_QUERYCONNECTIONCHANNELSRESPONSE']._serialized_start=994 + _globals['_QUERYCONNECTIONCHANNELSRESPONSE']._serialized_end=1226 + _globals['_QUERYCHANNELCLIENTSTATEREQUEST']._serialized_start=1228 + _globals['_QUERYCHANNELCLIENTSTATEREQUEST']._serialized_end=1316 + _globals['_QUERYCHANNELCLIENTSTATERESPONSE']._serialized_start=1319 + _globals['_QUERYCHANNELCLIENTSTATERESPONSE']._serialized_end=1542 + _globals['_QUERYCHANNELCONSENSUSSTATEREQUEST']._serialized_start=1545 + _globals['_QUERYCHANNELCONSENSUSSTATEREQUEST']._serialized_end=1718 + _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE']._serialized_start=1721 + _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE']._serialized_end=1940 + _globals['_QUERYPACKETCOMMITMENTREQUEST']._serialized_start=1942 + _globals['_QUERYPACKETCOMMITMENTREQUEST']._serialized_end=2056 + _globals['_QUERYPACKETCOMMITMENTRESPONSE']._serialized_start=2059 + _globals['_QUERYPACKETCOMMITMENTRESPONSE']._serialized_end=2213 + _globals['_QUERYPACKETCOMMITMENTSREQUEST']._serialized_start=2216 + _globals['_QUERYPACKETCOMMITMENTSREQUEST']._serialized_end=2375 + _globals['_QUERYPACKETCOMMITMENTSRESPONSE']._serialized_start=2378 + _globals['_QUERYPACKETCOMMITMENTSRESPONSE']._serialized_end=2609 + _globals['_QUERYPACKETRECEIPTREQUEST']._serialized_start=2611 + _globals['_QUERYPACKETRECEIPTREQUEST']._serialized_end=2722 + _globals['_QUERYPACKETRECEIPTRESPONSE']._serialized_start=2725 + _globals['_QUERYPACKETRECEIPTRESPONSE']._serialized_end=2872 + _globals['_QUERYPACKETACKNOWLEDGEMENTREQUEST']._serialized_start=2874 + _globals['_QUERYPACKETACKNOWLEDGEMENTREQUEST']._serialized_end=2993 + _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE']._serialized_start=2996 + _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE']._serialized_end=3165 + _globals['_QUERYPACKETACKNOWLEDGEMENTSREQUEST']._serialized_start=3168 + _globals['_QUERYPACKETACKNOWLEDGEMENTSREQUEST']._serialized_end=3396 + _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE']._serialized_start=3399 + _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE']._serialized_end=3645 + _globals['_QUERYUNRECEIVEDPACKETSREQUEST']._serialized_start=3648 + _globals['_QUERYUNRECEIVEDPACKETSREQUEST']._serialized_end=3799 + _globals['_QUERYUNRECEIVEDPACKETSRESPONSE']._serialized_start=3801 + _globals['_QUERYUNRECEIVEDPACKETSRESPONSE']._serialized_end=3921 + _globals['_QUERYUNRECEIVEDACKSREQUEST']._serialized_start=3924 + _globals['_QUERYUNRECEIVEDACKSREQUEST']._serialized_end=4058 + _globals['_QUERYUNRECEIVEDACKSRESPONSE']._serialized_start=4060 + _globals['_QUERYUNRECEIVEDACKSRESPONSE']._serialized_end=4177 + _globals['_QUERYNEXTSEQUENCERECEIVEREQUEST']._serialized_start=4179 + _globals['_QUERYNEXTSEQUENCERECEIVEREQUEST']._serialized_end=4268 + _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE']._serialized_start=4271 + _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE']._serialized_end=4448 + _globals['_QUERYNEXTSEQUENCESENDREQUEST']._serialized_start=4450 + _globals['_QUERYNEXTSEQUENCESENDREQUEST']._serialized_end=4536 + _globals['_QUERYNEXTSEQUENCESENDRESPONSE']._serialized_start=4539 + _globals['_QUERYNEXTSEQUENCESENDRESPONSE']._serialized_end=4707 + _globals['_QUERYUPGRADEERRORREQUEST']._serialized_start=4709 + _globals['_QUERYUPGRADEERRORREQUEST']._serialized_end=4791 + _globals['_QUERYUPGRADEERRORRESPONSE']._serialized_start=4794 + _globals['_QUERYUPGRADEERRORRESPONSE']._serialized_end=4990 + _globals['_QUERYUPGRADEREQUEST']._serialized_start=4992 + _globals['_QUERYUPGRADEREQUEST']._serialized_end=5069 + _globals['_QUERYUPGRADERESPONSE']._serialized_start=5072 + _globals['_QUERYUPGRADERESPONSE']._serialized_end=5247 + _globals['_QUERYCHANNELPARAMSREQUEST']._serialized_start=5249 + _globals['_QUERYCHANNELPARAMSREQUEST']._serialized_end=5276 + _globals['_QUERYCHANNELPARAMSRESPONSE']._serialized_start=5278 + _globals['_QUERYCHANNELPARAMSRESPONSE']._serialized_end=5359 + _globals['_QUERY']._serialized_start=5362 + _globals['_QUERY']._serialized_end=8919 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py new file mode 100644 index 00000000..f6e0e336 --- /dev/null +++ b/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py @@ -0,0 +1,793 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.ibc.core.channel.v1 import query_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query provides defines the gRPC querier service + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Channel = channel.unary_unary( + '/ibc.core.channel.v1.Query/Channel', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelResponse.FromString, + _registered_method=True) + self.Channels = channel.unary_unary( + '/ibc.core.channel.v1.Query/Channels', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsResponse.FromString, + _registered_method=True) + self.ConnectionChannels = channel.unary_unary( + '/ibc.core.channel.v1.Query/ConnectionChannels', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsResponse.FromString, + _registered_method=True) + self.ChannelClientState = channel.unary_unary( + '/ibc.core.channel.v1.Query/ChannelClientState', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateResponse.FromString, + _registered_method=True) + self.ChannelConsensusState = channel.unary_unary( + '/ibc.core.channel.v1.Query/ChannelConsensusState', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateResponse.FromString, + _registered_method=True) + self.PacketCommitment = channel.unary_unary( + '/ibc.core.channel.v1.Query/PacketCommitment', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentResponse.FromString, + _registered_method=True) + self.PacketCommitments = channel.unary_unary( + '/ibc.core.channel.v1.Query/PacketCommitments', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsResponse.FromString, + _registered_method=True) + self.PacketReceipt = channel.unary_unary( + '/ibc.core.channel.v1.Query/PacketReceipt', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptResponse.FromString, + _registered_method=True) + self.PacketAcknowledgement = channel.unary_unary( + '/ibc.core.channel.v1.Query/PacketAcknowledgement', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementResponse.FromString, + _registered_method=True) + self.PacketAcknowledgements = channel.unary_unary( + '/ibc.core.channel.v1.Query/PacketAcknowledgements', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsResponse.FromString, + _registered_method=True) + self.UnreceivedPackets = channel.unary_unary( + '/ibc.core.channel.v1.Query/UnreceivedPackets', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsResponse.FromString, + _registered_method=True) + self.UnreceivedAcks = channel.unary_unary( + '/ibc.core.channel.v1.Query/UnreceivedAcks', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksResponse.FromString, + _registered_method=True) + self.NextSequenceReceive = channel.unary_unary( + '/ibc.core.channel.v1.Query/NextSequenceReceive', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.FromString, + _registered_method=True) + self.NextSequenceSend = channel.unary_unary( + '/ibc.core.channel.v1.Query/NextSequenceSend', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.FromString, + _registered_method=True) + self.UpgradeError = channel.unary_unary( + '/ibc.core.channel.v1.Query/UpgradeError', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorResponse.FromString, + _registered_method=True) + self.Upgrade = channel.unary_unary( + '/ibc.core.channel.v1.Query/Upgrade', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeResponse.FromString, + _registered_method=True) + self.ChannelParams = channel.unary_unary( + '/ibc.core.channel.v1.Query/ChannelParams', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query provides defines the gRPC querier service + """ + + def Channel(self, request, context): + """Channel queries an IBC Channel. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Channels(self, request, context): + """Channels queries all the IBC channels of a chain. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ConnectionChannels(self, request, context): + """ConnectionChannels queries all the channels associated with a connection + end. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChannelClientState(self, request, context): + """ChannelClientState queries for the client state for the channel associated + with the provided channel identifiers. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChannelConsensusState(self, request, context): + """ChannelConsensusState queries for the consensus state for the channel + associated with the provided channel identifiers. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PacketCommitment(self, request, context): + """PacketCommitment queries a stored packet commitment hash. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PacketCommitments(self, request, context): + """PacketCommitments returns all the packet commitments hashes associated + with a channel. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PacketReceipt(self, request, context): + """PacketReceipt queries if a given packet sequence has been received on the + queried chain + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PacketAcknowledgement(self, request, context): + """PacketAcknowledgement queries a stored packet acknowledgement hash. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PacketAcknowledgements(self, request, context): + """PacketAcknowledgements returns all the packet acknowledgements associated + with a channel. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UnreceivedPackets(self, request, context): + """UnreceivedPackets returns all the unreceived IBC packets associated with a + channel and sequences. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UnreceivedAcks(self, request, context): + """UnreceivedAcks returns all the unreceived IBC acknowledgements associated + with a channel and sequences. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def NextSequenceReceive(self, request, context): + """NextSequenceReceive returns the next receive sequence for a given channel. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def NextSequenceSend(self, request, context): + """NextSequenceSend returns the next send sequence for a given channel. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpgradeError(self, request, context): + """UpgradeError returns the error receipt if the upgrade handshake failed. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Upgrade(self, request, context): + """Upgrade returns the upgrade for a given port and channel id. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChannelParams(self, request, context): + """ChannelParams queries all parameters of the ibc channel submodule. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Channel': grpc.unary_unary_rpc_method_handler( + servicer.Channel, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelResponse.SerializeToString, + ), + 'Channels': grpc.unary_unary_rpc_method_handler( + servicer.Channels, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsResponse.SerializeToString, + ), + 'ConnectionChannels': grpc.unary_unary_rpc_method_handler( + servicer.ConnectionChannels, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsResponse.SerializeToString, + ), + 'ChannelClientState': grpc.unary_unary_rpc_method_handler( + servicer.ChannelClientState, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateResponse.SerializeToString, + ), + 'ChannelConsensusState': grpc.unary_unary_rpc_method_handler( + servicer.ChannelConsensusState, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateResponse.SerializeToString, + ), + 'PacketCommitment': grpc.unary_unary_rpc_method_handler( + servicer.PacketCommitment, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentResponse.SerializeToString, + ), + 'PacketCommitments': grpc.unary_unary_rpc_method_handler( + servicer.PacketCommitments, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsResponse.SerializeToString, + ), + 'PacketReceipt': grpc.unary_unary_rpc_method_handler( + servicer.PacketReceipt, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptResponse.SerializeToString, + ), + 'PacketAcknowledgement': grpc.unary_unary_rpc_method_handler( + servicer.PacketAcknowledgement, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementResponse.SerializeToString, + ), + 'PacketAcknowledgements': grpc.unary_unary_rpc_method_handler( + servicer.PacketAcknowledgements, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsResponse.SerializeToString, + ), + 'UnreceivedPackets': grpc.unary_unary_rpc_method_handler( + servicer.UnreceivedPackets, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsResponse.SerializeToString, + ), + 'UnreceivedAcks': grpc.unary_unary_rpc_method_handler( + servicer.UnreceivedAcks, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksResponse.SerializeToString, + ), + 'NextSequenceReceive': grpc.unary_unary_rpc_method_handler( + servicer.NextSequenceReceive, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.SerializeToString, + ), + 'NextSequenceSend': grpc.unary_unary_rpc_method_handler( + servicer.NextSequenceSend, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.SerializeToString, + ), + 'UpgradeError': grpc.unary_unary_rpc_method_handler( + servicer.UpgradeError, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorResponse.SerializeToString, + ), + 'Upgrade': grpc.unary_unary_rpc_method_handler( + servicer.Upgrade, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeResponse.SerializeToString, + ), + 'ChannelParams': grpc.unary_unary_rpc_method_handler( + servicer.ChannelParams, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.core.channel.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('ibc.core.channel.v1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query provides defines the gRPC querier service + """ + + @staticmethod + def Channel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/Channel', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Channels(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/Channels', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ConnectionChannels(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/ConnectionChannels', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelClientState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/ChannelClientState', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelConsensusState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/ChannelConsensusState', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PacketCommitment(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/PacketCommitment', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PacketCommitments(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/PacketCommitments', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PacketReceipt(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/PacketReceipt', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PacketAcknowledgement(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/PacketAcknowledgement', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PacketAcknowledgements(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/PacketAcknowledgements', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UnreceivedPackets(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/UnreceivedPackets', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UnreceivedAcks(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/UnreceivedAcks', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def NextSequenceReceive(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/NextSequenceReceive', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def NextSequenceSend(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/NextSequenceSend', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpgradeError(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/UpgradeError', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Upgrade(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/Upgrade', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Query/ChannelParams', + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsRequest.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py new file mode 100644 index 00000000..84303770 --- /dev/null +++ b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py @@ -0,0 +1,240 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/core/channel/v1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 +from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 +from pyinjective.proto.ibc.core.channel.v1 import upgrade_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_upgrade__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cibc/core/channel/v1/tx.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1fibc/core/client/v1/client.proto\x1a!ibc/core/channel/v1/channel.proto\x1a!ibc/core/channel/v1/upgrade.proto\"\x94\x01\n\x12MsgChannelOpenInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12<\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x07\x63hannel\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"[\n\x1aMsgChannelOpenInitResponse\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version:\x04\x88\xa0\x1f\x00\"\xde\x02\n\x11MsgChannelOpenTry\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x32\n\x13previous_channel_id\x18\x02 \x01(\tB\x02\x18\x01R\x11previousChannelId\x12<\n\x07\x63hannel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x07\x63hannel\x12\x31\n\x14\x63ounterparty_version\x18\x04 \x01(\tR\x13\x63ounterpartyVersion\x12\x1d\n\nproof_init\x18\x05 \x01(\x0cR\tproofInit\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"Z\n\x19MsgChannelOpenTryResponse\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId:\x04\x88\xa0\x1f\x00\"\xc1\x02\n\x11MsgChannelOpenAck\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x36\n\x17\x63ounterparty_channel_id\x18\x03 \x01(\tR\x15\x63ounterpartyChannelId\x12\x31\n\x14\x63ounterparty_version\x18\x04 \x01(\tR\x13\x63ounterpartyVersion\x12\x1b\n\tproof_try\x18\x05 \x01(\x0cR\x08proofTry\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1b\n\x19MsgChannelOpenAckResponse\"\xda\x01\n\x15MsgChannelOpenConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1b\n\tproof_ack\x18\x03 \x01(\x0cR\x08proofAck\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgChannelOpenConfirmResponse\"v\n\x13MsgChannelCloseInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1d\n\x1bMsgChannelCloseInitResponse\"\xa1\x02\n\x16MsgChannelCloseConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1d\n\nproof_init\x18\x03 \x01(\x0cR\tproofInit\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x06 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\" \n\x1eMsgChannelCloseConfirmResponse\"\xe3\x01\n\rMsgRecvPacket\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_commitment\x18\x02 \x01(\x0cR\x0fproofCommitment\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"^\n\x15MsgRecvPacketResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\x8e\x02\n\nMsgTimeout\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_unreceived\x18\x02 \x01(\x0cR\x0fproofUnreceived\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12,\n\x12next_sequence_recv\x18\x04 \x01(\x04R\x10nextSequenceRecv\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"[\n\x12MsgTimeoutResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\xfa\x02\n\x11MsgTimeoutOnClose\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_unreceived\x18\x02 \x01(\x0cR\x0fproofUnreceived\x12\x1f\n\x0bproof_close\x18\x03 \x01(\x0cR\nproofClose\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12,\n\x12next_sequence_recv\x18\x05 \x01(\x04R\x10nextSequenceRecv\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x07 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"b\n\x19MsgTimeoutOnCloseResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\x88\x02\n\x12MsgAcknowledgement\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12(\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0cR\x0f\x61\x63knowledgement\x12\x1f\n\x0bproof_acked\x18\x03 \x01(\x0cR\nproofAcked\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"c\n\x1aMsgAcknowledgementResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\xba\x01\n\x15MsgChannelUpgradeInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12@\n\x06\x66ields\x18\x03 \x01(\x0b\x32\".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x06\x66ields\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x8e\x01\n\x1dMsgChannelUpgradeInitResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12)\n\x10upgrade_sequence\x18\x02 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00\"\xfd\x03\n\x14MsgChannelUpgradeTry\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12G\n proposed_upgrade_connection_hops\x18\x03 \x03(\tR\x1dproposedUpgradeConnectionHops\x12h\n\x1b\x63ounterparty_upgrade_fields\x18\x04 \x01(\x0b\x32\".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x19\x63ounterpartyUpgradeFields\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x05 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence\x12#\n\rproof_channel\x18\x06 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x07 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x08 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\t \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\xce\x01\n\x1cMsgChannelUpgradeTryResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12)\n\x10upgrade_sequence\x18\x02 \x01(\x04R\x0fupgradeSequence\x12?\n\x06result\x18\x03 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\xdd\x02\n\x14MsgChannelUpgradeAck\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12U\n\x14\x63ounterparty_upgrade\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyUpgrade\x12#\n\rproof_channel\x18\x04 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x05 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"e\n\x1cMsgChannelUpgradeAckResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\xbb\x03\n\x18MsgChannelUpgradeConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12X\n\x1a\x63ounterparty_channel_state\x18\x03 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x18\x63ounterpartyChannelState\x12U\n\x14\x63ounterparty_upgrade\x18\x04 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyUpgrade\x12#\n\rproof_channel\x18\x05 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x06 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x08 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"i\n MsgChannelUpgradeConfirmResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\x80\x03\n\x15MsgChannelUpgradeOpen\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12X\n\x1a\x63ounterparty_channel_state\x18\x03 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x18\x63ounterpartyChannelState\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x04 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence\x12#\n\rproof_channel\x18\x05 \x01(\x0cR\x0cproofChannel\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgChannelUpgradeOpenResponse\"\xbc\x02\n\x18MsgChannelUpgradeTimeout\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12U\n\x14\x63ounterparty_channel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyChannel\x12#\n\rproof_channel\x18\x04 \x01(\x0cR\x0cproofChannel\x12\x43\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\"\n MsgChannelUpgradeTimeoutResponse\"\xbd\x02\n\x17MsgChannelUpgradeCancel\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12L\n\rerror_receipt\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.ErrorReceiptB\x04\xc8\xde\x1f\x00R\x0c\x65rrorReceipt\x12.\n\x13proof_error_receipt\x18\x04 \x01(\x0cR\x11proofErrorReceipt\x12\x43\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"!\n\x1fMsgChannelUpgradeCancelResponse\"~\n\x0fMsgUpdateParams\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12\x39\n\x06params\x18\x02 \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x12\x88\xa0\x1f\x00\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"\x91\x01\n\x18MsgPruneAcknowledgements\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x14\n\x05limit\x18\x03 \x01(\x04R\x05limit\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x94\x01\n MsgPruneAcknowledgementsResponse\x12\x34\n\x16total_pruned_sequences\x18\x01 \x01(\x04R\x14totalPrunedSequences\x12:\n\x19total_remaining_sequences\x18\x02 \x01(\x04R\x17totalRemainingSequences*\xd8\x01\n\x12ResponseResultType\x12\x35\n RESPONSE_RESULT_TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\'\n\x19RESPONSE_RESULT_TYPE_NOOP\x10\x01\x1a\x08\x8a\x9d \x04NOOP\x12-\n\x1cRESPONSE_RESULT_TYPE_SUCCESS\x10\x02\x1a\x0b\x8a\x9d \x07SUCCESS\x12-\n\x1cRESPONSE_RESULT_TYPE_FAILURE\x10\x03\x1a\x0b\x8a\x9d \x07\x46\x41ILURE\x1a\x04\x88\xa3\x1e\x00\x32\xec\x10\n\x03Msg\x12k\n\x0f\x43hannelOpenInit\x12\'.ibc.core.channel.v1.MsgChannelOpenInit\x1a/.ibc.core.channel.v1.MsgChannelOpenInitResponse\x12h\n\x0e\x43hannelOpenTry\x12&.ibc.core.channel.v1.MsgChannelOpenTry\x1a..ibc.core.channel.v1.MsgChannelOpenTryResponse\x12h\n\x0e\x43hannelOpenAck\x12&.ibc.core.channel.v1.MsgChannelOpenAck\x1a..ibc.core.channel.v1.MsgChannelOpenAckResponse\x12t\n\x12\x43hannelOpenConfirm\x12*.ibc.core.channel.v1.MsgChannelOpenConfirm\x1a\x32.ibc.core.channel.v1.MsgChannelOpenConfirmResponse\x12n\n\x10\x43hannelCloseInit\x12(.ibc.core.channel.v1.MsgChannelCloseInit\x1a\x30.ibc.core.channel.v1.MsgChannelCloseInitResponse\x12w\n\x13\x43hannelCloseConfirm\x12+.ibc.core.channel.v1.MsgChannelCloseConfirm\x1a\x33.ibc.core.channel.v1.MsgChannelCloseConfirmResponse\x12\\\n\nRecvPacket\x12\".ibc.core.channel.v1.MsgRecvPacket\x1a*.ibc.core.channel.v1.MsgRecvPacketResponse\x12S\n\x07Timeout\x12\x1f.ibc.core.channel.v1.MsgTimeout\x1a\'.ibc.core.channel.v1.MsgTimeoutResponse\x12h\n\x0eTimeoutOnClose\x12&.ibc.core.channel.v1.MsgTimeoutOnClose\x1a..ibc.core.channel.v1.MsgTimeoutOnCloseResponse\x12k\n\x0f\x41\x63knowledgement\x12\'.ibc.core.channel.v1.MsgAcknowledgement\x1a/.ibc.core.channel.v1.MsgAcknowledgementResponse\x12t\n\x12\x43hannelUpgradeInit\x12*.ibc.core.channel.v1.MsgChannelUpgradeInit\x1a\x32.ibc.core.channel.v1.MsgChannelUpgradeInitResponse\x12q\n\x11\x43hannelUpgradeTry\x12).ibc.core.channel.v1.MsgChannelUpgradeTry\x1a\x31.ibc.core.channel.v1.MsgChannelUpgradeTryResponse\x12q\n\x11\x43hannelUpgradeAck\x12).ibc.core.channel.v1.MsgChannelUpgradeAck\x1a\x31.ibc.core.channel.v1.MsgChannelUpgradeAckResponse\x12}\n\x15\x43hannelUpgradeConfirm\x12-.ibc.core.channel.v1.MsgChannelUpgradeConfirm\x1a\x35.ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse\x12t\n\x12\x43hannelUpgradeOpen\x12*.ibc.core.channel.v1.MsgChannelUpgradeOpen\x1a\x32.ibc.core.channel.v1.MsgChannelUpgradeOpenResponse\x12}\n\x15\x43hannelUpgradeTimeout\x12-.ibc.core.channel.v1.MsgChannelUpgradeTimeout\x1a\x35.ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse\x12z\n\x14\x43hannelUpgradeCancel\x12,.ibc.core.channel.v1.MsgChannelUpgradeCancel\x1a\x34.ibc.core.channel.v1.MsgChannelUpgradeCancelResponse\x12i\n\x13UpdateChannelParams\x12$.ibc.core.channel.v1.MsgUpdateParams\x1a,.ibc.core.channel.v1.MsgUpdateParamsResponse\x12}\n\x15PruneAcknowledgements\x12-.ibc.core.channel.v1.MsgPruneAcknowledgements\x1a\x35.ibc.core.channel.v1.MsgPruneAcknowledgementsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xcc\x01\n\x17\x63om.ibc.core.channel.v1B\x07TxProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\007TxProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' + _globals['_RESPONSERESULTTYPE']._loaded_options = None + _globals['_RESPONSERESULTTYPE']._serialized_options = b'\210\243\036\000' + _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_UNSPECIFIED"]._loaded_options = None + _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' + _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_NOOP"]._loaded_options = None + _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_NOOP"]._serialized_options = b'\212\235 \004NOOP' + _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_SUCCESS"]._loaded_options = None + _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_SUCCESS"]._serialized_options = b'\212\235 \007SUCCESS' + _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_FAILURE"]._loaded_options = None + _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_FAILURE"]._serialized_options = b'\212\235 \007FAILURE' + _globals['_MSGCHANNELOPENINIT'].fields_by_name['channel']._loaded_options = None + _globals['_MSGCHANNELOPENINIT'].fields_by_name['channel']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELOPENINIT']._loaded_options = None + _globals['_MSGCHANNELOPENINIT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELOPENINITRESPONSE']._loaded_options = None + _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGCHANNELOPENTRY'].fields_by_name['previous_channel_id']._loaded_options = None + _globals['_MSGCHANNELOPENTRY'].fields_by_name['previous_channel_id']._serialized_options = b'\030\001' + _globals['_MSGCHANNELOPENTRY'].fields_by_name['channel']._loaded_options = None + _globals['_MSGCHANNELOPENTRY'].fields_by_name['channel']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELOPENTRY'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELOPENTRY'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELOPENTRY']._loaded_options = None + _globals['_MSGCHANNELOPENTRY']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELOPENTRYRESPONSE']._loaded_options = None + _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGCHANNELOPENACK'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELOPENACK'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELOPENACK']._loaded_options = None + _globals['_MSGCHANNELOPENACK']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELOPENCONFIRM'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELOPENCONFIRM'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELOPENCONFIRM']._loaded_options = None + _globals['_MSGCHANNELOPENCONFIRM']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELCLOSEINIT']._loaded_options = None + _globals['_MSGCHANNELCLOSEINIT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELCLOSECONFIRM'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELCLOSECONFIRM'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELCLOSECONFIRM']._loaded_options = None + _globals['_MSGCHANNELCLOSECONFIRM']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGRECVPACKET'].fields_by_name['packet']._loaded_options = None + _globals['_MSGRECVPACKET'].fields_by_name['packet']._serialized_options = b'\310\336\037\000' + _globals['_MSGRECVPACKET'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGRECVPACKET'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGRECVPACKET']._loaded_options = None + _globals['_MSGRECVPACKET']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGRECVPACKETRESPONSE']._loaded_options = None + _globals['_MSGRECVPACKETRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGTIMEOUT'].fields_by_name['packet']._loaded_options = None + _globals['_MSGTIMEOUT'].fields_by_name['packet']._serialized_options = b'\310\336\037\000' + _globals['_MSGTIMEOUT'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGTIMEOUT'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGTIMEOUT']._loaded_options = None + _globals['_MSGTIMEOUT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGTIMEOUTRESPONSE']._loaded_options = None + _globals['_MSGTIMEOUTRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGTIMEOUTONCLOSE'].fields_by_name['packet']._loaded_options = None + _globals['_MSGTIMEOUTONCLOSE'].fields_by_name['packet']._serialized_options = b'\310\336\037\000' + _globals['_MSGTIMEOUTONCLOSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGTIMEOUTONCLOSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGTIMEOUTONCLOSE']._loaded_options = None + _globals['_MSGTIMEOUTONCLOSE']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGTIMEOUTONCLOSERESPONSE']._loaded_options = None + _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGACKNOWLEDGEMENT'].fields_by_name['packet']._loaded_options = None + _globals['_MSGACKNOWLEDGEMENT'].fields_by_name['packet']._serialized_options = b'\310\336\037\000' + _globals['_MSGACKNOWLEDGEMENT'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGACKNOWLEDGEMENT'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGACKNOWLEDGEMENT']._loaded_options = None + _globals['_MSGACKNOWLEDGEMENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGACKNOWLEDGEMENTRESPONSE']._loaded_options = None + _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGCHANNELUPGRADEINIT'].fields_by_name['fields']._loaded_options = None + _globals['_MSGCHANNELUPGRADEINIT'].fields_by_name['fields']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADEINIT']._loaded_options = None + _globals['_MSGCHANNELUPGRADEINIT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELUPGRADEINITRESPONSE'].fields_by_name['upgrade']._loaded_options = None + _globals['_MSGCHANNELUPGRADEINITRESPONSE'].fields_by_name['upgrade']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADEINITRESPONSE']._loaded_options = None + _globals['_MSGCHANNELUPGRADEINITRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGCHANNELUPGRADETRY'].fields_by_name['counterparty_upgrade_fields']._loaded_options = None + _globals['_MSGCHANNELUPGRADETRY'].fields_by_name['counterparty_upgrade_fields']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADETRY'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELUPGRADETRY'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADETRY']._loaded_options = None + _globals['_MSGCHANNELUPGRADETRY']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELUPGRADETRYRESPONSE'].fields_by_name['upgrade']._loaded_options = None + _globals['_MSGCHANNELUPGRADETRYRESPONSE'].fields_by_name['upgrade']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADETRYRESPONSE']._loaded_options = None + _globals['_MSGCHANNELUPGRADETRYRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGCHANNELUPGRADEACK'].fields_by_name['counterparty_upgrade']._loaded_options = None + _globals['_MSGCHANNELUPGRADEACK'].fields_by_name['counterparty_upgrade']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADEACK'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELUPGRADEACK'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADEACK']._loaded_options = None + _globals['_MSGCHANNELUPGRADEACK']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELUPGRADEACKRESPONSE']._loaded_options = None + _globals['_MSGCHANNELUPGRADEACKRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGCHANNELUPGRADECONFIRM'].fields_by_name['counterparty_upgrade']._loaded_options = None + _globals['_MSGCHANNELUPGRADECONFIRM'].fields_by_name['counterparty_upgrade']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADECONFIRM'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELUPGRADECONFIRM'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADECONFIRM']._loaded_options = None + _globals['_MSGCHANNELUPGRADECONFIRM']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELUPGRADECONFIRMRESPONSE']._loaded_options = None + _globals['_MSGCHANNELUPGRADECONFIRMRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGCHANNELUPGRADEOPEN'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELUPGRADEOPEN'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADEOPEN']._loaded_options = None + _globals['_MSGCHANNELUPGRADEOPEN']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELUPGRADETIMEOUT'].fields_by_name['counterparty_channel']._loaded_options = None + _globals['_MSGCHANNELUPGRADETIMEOUT'].fields_by_name['counterparty_channel']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADETIMEOUT'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELUPGRADETIMEOUT'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADETIMEOUT']._loaded_options = None + _globals['_MSGCHANNELUPGRADETIMEOUT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELUPGRADECANCEL'].fields_by_name['error_receipt']._loaded_options = None + _globals['_MSGCHANNELUPGRADECANCEL'].fields_by_name['error_receipt']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADECANCEL'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELUPGRADECANCEL'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADECANCEL']._loaded_options = None + _globals['_MSGCHANNELUPGRADECANCEL']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\tauthority' + _globals['_MSGPRUNEACKNOWLEDGEMENTS']._loaded_options = None + _globals['_MSGPRUNEACKNOWLEDGEMENTS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_RESPONSERESULTTYPE']._serialized_start=7165 + _globals['_RESPONSERESULTTYPE']._serialized_end=7381 + _globals['_MSGCHANNELOPENINIT']._serialized_start=204 + _globals['_MSGCHANNELOPENINIT']._serialized_end=352 + _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_start=354 + _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_end=445 + _globals['_MSGCHANNELOPENTRY']._serialized_start=448 + _globals['_MSGCHANNELOPENTRY']._serialized_end=798 + _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_start=800 + _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_end=890 + _globals['_MSGCHANNELOPENACK']._serialized_start=893 + _globals['_MSGCHANNELOPENACK']._serialized_end=1214 + _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_start=1216 + _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_end=1243 + _globals['_MSGCHANNELOPENCONFIRM']._serialized_start=1246 + _globals['_MSGCHANNELOPENCONFIRM']._serialized_end=1464 + _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_start=1466 + _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_end=1497 + _globals['_MSGCHANNELCLOSEINIT']._serialized_start=1499 + _globals['_MSGCHANNELCLOSEINIT']._serialized_end=1617 + _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_start=1619 + _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_end=1648 + _globals['_MSGCHANNELCLOSECONFIRM']._serialized_start=1651 + _globals['_MSGCHANNELCLOSECONFIRM']._serialized_end=1940 + _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_start=1942 + _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_end=1974 + _globals['_MSGRECVPACKET']._serialized_start=1977 + _globals['_MSGRECVPACKET']._serialized_end=2204 + _globals['_MSGRECVPACKETRESPONSE']._serialized_start=2206 + _globals['_MSGRECVPACKETRESPONSE']._serialized_end=2300 + _globals['_MSGTIMEOUT']._serialized_start=2303 + _globals['_MSGTIMEOUT']._serialized_end=2573 + _globals['_MSGTIMEOUTRESPONSE']._serialized_start=2575 + _globals['_MSGTIMEOUTRESPONSE']._serialized_end=2666 + _globals['_MSGTIMEOUTONCLOSE']._serialized_start=2669 + _globals['_MSGTIMEOUTONCLOSE']._serialized_end=3047 + _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_start=3049 + _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_end=3147 + _globals['_MSGACKNOWLEDGEMENT']._serialized_start=3150 + _globals['_MSGACKNOWLEDGEMENT']._serialized_end=3414 + _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_start=3416 + _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_end=3515 + _globals['_MSGCHANNELUPGRADEINIT']._serialized_start=3518 + _globals['_MSGCHANNELUPGRADEINIT']._serialized_end=3704 + _globals['_MSGCHANNELUPGRADEINITRESPONSE']._serialized_start=3707 + _globals['_MSGCHANNELUPGRADEINITRESPONSE']._serialized_end=3849 + _globals['_MSGCHANNELUPGRADETRY']._serialized_start=3852 + _globals['_MSGCHANNELUPGRADETRY']._serialized_end=4361 + _globals['_MSGCHANNELUPGRADETRYRESPONSE']._serialized_start=4364 + _globals['_MSGCHANNELUPGRADETRYRESPONSE']._serialized_end=4570 + _globals['_MSGCHANNELUPGRADEACK']._serialized_start=4573 + _globals['_MSGCHANNELUPGRADEACK']._serialized_end=4922 + _globals['_MSGCHANNELUPGRADEACKRESPONSE']._serialized_start=4924 + _globals['_MSGCHANNELUPGRADEACKRESPONSE']._serialized_end=5025 + _globals['_MSGCHANNELUPGRADECONFIRM']._serialized_start=5028 + _globals['_MSGCHANNELUPGRADECONFIRM']._serialized_end=5471 + _globals['_MSGCHANNELUPGRADECONFIRMRESPONSE']._serialized_start=5473 + _globals['_MSGCHANNELUPGRADECONFIRMRESPONSE']._serialized_end=5578 + _globals['_MSGCHANNELUPGRADEOPEN']._serialized_start=5581 + _globals['_MSGCHANNELUPGRADEOPEN']._serialized_end=5965 + _globals['_MSGCHANNELUPGRADEOPENRESPONSE']._serialized_start=5967 + _globals['_MSGCHANNELUPGRADEOPENRESPONSE']._serialized_end=5998 + _globals['_MSGCHANNELUPGRADETIMEOUT']._serialized_start=6001 + _globals['_MSGCHANNELUPGRADETIMEOUT']._serialized_end=6317 + _globals['_MSGCHANNELUPGRADETIMEOUTRESPONSE']._serialized_start=6319 + _globals['_MSGCHANNELUPGRADETIMEOUTRESPONSE']._serialized_end=6353 + _globals['_MSGCHANNELUPGRADECANCEL']._serialized_start=6356 + _globals['_MSGCHANNELUPGRADECANCEL']._serialized_end=6673 + _globals['_MSGCHANNELUPGRADECANCELRESPONSE']._serialized_start=6675 + _globals['_MSGCHANNELUPGRADECANCELRESPONSE']._serialized_end=6708 + _globals['_MSGUPDATEPARAMS']._serialized_start=6710 + _globals['_MSGUPDATEPARAMS']._serialized_end=6836 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=6838 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=6863 + _globals['_MSGPRUNEACKNOWLEDGEMENTS']._serialized_start=6866 + _globals['_MSGPRUNEACKNOWLEDGEMENTS']._serialized_end=7011 + _globals['_MSGPRUNEACKNOWLEDGEMENTSRESPONSE']._serialized_start=7014 + _globals['_MSGPRUNEACKNOWLEDGEMENTSRESPONSE']._serialized_end=7162 + _globals['_MSG']._serialized_start=7384 + _globals['_MSG']._serialized_end=9540 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/tx_pb2_grpc.py new file mode 100644 index 00000000..3dc03c7c --- /dev/null +++ b/pyinjective/proto/ibc/core/channel/v1/tx_pb2_grpc.py @@ -0,0 +1,874 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.ibc.core.channel.v1 import tx_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the ibc/channel Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.ChannelOpenInit = channel.unary_unary( + '/ibc.core.channel.v1.Msg/ChannelOpenInit', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInit.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInitResponse.FromString, + _registered_method=True) + self.ChannelOpenTry = channel.unary_unary( + '/ibc.core.channel.v1.Msg/ChannelOpenTry', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTry.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTryResponse.FromString, + _registered_method=True) + self.ChannelOpenAck = channel.unary_unary( + '/ibc.core.channel.v1.Msg/ChannelOpenAck', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAck.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAckResponse.FromString, + _registered_method=True) + self.ChannelOpenConfirm = channel.unary_unary( + '/ibc.core.channel.v1.Msg/ChannelOpenConfirm', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirm.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirmResponse.FromString, + _registered_method=True) + self.ChannelCloseInit = channel.unary_unary( + '/ibc.core.channel.v1.Msg/ChannelCloseInit', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInit.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInitResponse.FromString, + _registered_method=True) + self.ChannelCloseConfirm = channel.unary_unary( + '/ibc.core.channel.v1.Msg/ChannelCloseConfirm', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirm.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirmResponse.FromString, + _registered_method=True) + self.RecvPacket = channel.unary_unary( + '/ibc.core.channel.v1.Msg/RecvPacket', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacket.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacketResponse.FromString, + _registered_method=True) + self.Timeout = channel.unary_unary( + '/ibc.core.channel.v1.Msg/Timeout', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeout.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutResponse.FromString, + _registered_method=True) + self.TimeoutOnClose = channel.unary_unary( + '/ibc.core.channel.v1.Msg/TimeoutOnClose', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnClose.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnCloseResponse.FromString, + _registered_method=True) + self.Acknowledgement = channel.unary_unary( + '/ibc.core.channel.v1.Msg/Acknowledgement', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgement.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgementResponse.FromString, + _registered_method=True) + self.ChannelUpgradeInit = channel.unary_unary( + '/ibc.core.channel.v1.Msg/ChannelUpgradeInit', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInit.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInitResponse.FromString, + _registered_method=True) + self.ChannelUpgradeTry = channel.unary_unary( + '/ibc.core.channel.v1.Msg/ChannelUpgradeTry', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTry.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTryResponse.FromString, + _registered_method=True) + self.ChannelUpgradeAck = channel.unary_unary( + '/ibc.core.channel.v1.Msg/ChannelUpgradeAck', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAck.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAckResponse.FromString, + _registered_method=True) + self.ChannelUpgradeConfirm = channel.unary_unary( + '/ibc.core.channel.v1.Msg/ChannelUpgradeConfirm', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirm.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirmResponse.FromString, + _registered_method=True) + self.ChannelUpgradeOpen = channel.unary_unary( + '/ibc.core.channel.v1.Msg/ChannelUpgradeOpen', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpen.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpenResponse.FromString, + _registered_method=True) + self.ChannelUpgradeTimeout = channel.unary_unary( + '/ibc.core.channel.v1.Msg/ChannelUpgradeTimeout', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeout.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeoutResponse.FromString, + _registered_method=True) + self.ChannelUpgradeCancel = channel.unary_unary( + '/ibc.core.channel.v1.Msg/ChannelUpgradeCancel', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancel.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancelResponse.FromString, + _registered_method=True) + self.UpdateChannelParams = channel.unary_unary( + '/ibc.core.channel.v1.Msg/UpdateChannelParams', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + self.PruneAcknowledgements = channel.unary_unary( + '/ibc.core.channel.v1.Msg/PruneAcknowledgements', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgements.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgementsResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the ibc/channel Msg service. + """ + + def ChannelOpenInit(self, request, context): + """ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChannelOpenTry(self, request, context): + """ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChannelOpenAck(self, request, context): + """ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChannelOpenConfirm(self, request, context): + """ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChannelCloseInit(self, request, context): + """ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChannelCloseConfirm(self, request, context): + """ChannelCloseConfirm defines a rpc handler method for + MsgChannelCloseConfirm. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RecvPacket(self, request, context): + """RecvPacket defines a rpc handler method for MsgRecvPacket. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Timeout(self, request, context): + """Timeout defines a rpc handler method for MsgTimeout. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TimeoutOnClose(self, request, context): + """TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Acknowledgement(self, request, context): + """Acknowledgement defines a rpc handler method for MsgAcknowledgement. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChannelUpgradeInit(self, request, context): + """ChannelUpgradeInit defines a rpc handler method for MsgChannelUpgradeInit. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChannelUpgradeTry(self, request, context): + """ChannelUpgradeTry defines a rpc handler method for MsgChannelUpgradeTry. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChannelUpgradeAck(self, request, context): + """ChannelUpgradeAck defines a rpc handler method for MsgChannelUpgradeAck. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChannelUpgradeConfirm(self, request, context): + """ChannelUpgradeConfirm defines a rpc handler method for MsgChannelUpgradeConfirm. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChannelUpgradeOpen(self, request, context): + """ChannelUpgradeOpen defines a rpc handler method for MsgChannelUpgradeOpen. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChannelUpgradeTimeout(self, request, context): + """ChannelUpgradeTimeout defines a rpc handler method for MsgChannelUpgradeTimeout. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChannelUpgradeCancel(self, request, context): + """ChannelUpgradeCancel defines a rpc handler method for MsgChannelUpgradeCancel. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateChannelParams(self, request, context): + """UpdateChannelParams defines a rpc handler method for MsgUpdateParams. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PruneAcknowledgements(self, request, context): + """PruneAcknowledgements defines a rpc handler method for MsgPruneAcknowledgements. + """ + 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 = { + 'ChannelOpenInit': grpc.unary_unary_rpc_method_handler( + servicer.ChannelOpenInit, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInit.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInitResponse.SerializeToString, + ), + 'ChannelOpenTry': grpc.unary_unary_rpc_method_handler( + servicer.ChannelOpenTry, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTry.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTryResponse.SerializeToString, + ), + 'ChannelOpenAck': grpc.unary_unary_rpc_method_handler( + servicer.ChannelOpenAck, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAck.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAckResponse.SerializeToString, + ), + 'ChannelOpenConfirm': grpc.unary_unary_rpc_method_handler( + servicer.ChannelOpenConfirm, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirm.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirmResponse.SerializeToString, + ), + 'ChannelCloseInit': grpc.unary_unary_rpc_method_handler( + servicer.ChannelCloseInit, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInit.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInitResponse.SerializeToString, + ), + 'ChannelCloseConfirm': grpc.unary_unary_rpc_method_handler( + servicer.ChannelCloseConfirm, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirm.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirmResponse.SerializeToString, + ), + 'RecvPacket': grpc.unary_unary_rpc_method_handler( + servicer.RecvPacket, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacket.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacketResponse.SerializeToString, + ), + 'Timeout': grpc.unary_unary_rpc_method_handler( + servicer.Timeout, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeout.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutResponse.SerializeToString, + ), + 'TimeoutOnClose': grpc.unary_unary_rpc_method_handler( + servicer.TimeoutOnClose, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnClose.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnCloseResponse.SerializeToString, + ), + 'Acknowledgement': grpc.unary_unary_rpc_method_handler( + servicer.Acknowledgement, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgement.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgementResponse.SerializeToString, + ), + 'ChannelUpgradeInit': grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeInit, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInit.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInitResponse.SerializeToString, + ), + 'ChannelUpgradeTry': grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeTry, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTry.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTryResponse.SerializeToString, + ), + 'ChannelUpgradeAck': grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeAck, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAck.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAckResponse.SerializeToString, + ), + 'ChannelUpgradeConfirm': grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeConfirm, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirm.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirmResponse.SerializeToString, + ), + 'ChannelUpgradeOpen': grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeOpen, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpen.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpenResponse.SerializeToString, + ), + 'ChannelUpgradeTimeout': grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeTimeout, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeout.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeoutResponse.SerializeToString, + ), + 'ChannelUpgradeCancel': grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeCancel, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancel.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancelResponse.SerializeToString, + ), + 'UpdateChannelParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateChannelParams, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'PruneAcknowledgements': grpc.unary_unary_rpc_method_handler( + servicer.PruneAcknowledgements, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgements.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgementsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.core.channel.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('ibc.core.channel.v1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the ibc/channel Msg service. + """ + + @staticmethod + def ChannelOpenInit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/ChannelOpenInit', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInit.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInitResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelOpenTry(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/ChannelOpenTry', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTry.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTryResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelOpenAck(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/ChannelOpenAck', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAck.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAckResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelOpenConfirm(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/ChannelOpenConfirm', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirm.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirmResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelCloseInit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/ChannelCloseInit', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInit.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInitResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelCloseConfirm(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/ChannelCloseConfirm', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirm.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirmResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RecvPacket(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/RecvPacket', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacket.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacketResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Timeout(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/Timeout', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeout.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TimeoutOnClose(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/TimeoutOnClose', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnClose.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnCloseResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Acknowledgement(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/Acknowledgement', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgement.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgementResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelUpgradeInit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/ChannelUpgradeInit', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInit.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInitResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelUpgradeTry(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/ChannelUpgradeTry', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTry.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTryResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelUpgradeAck(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/ChannelUpgradeAck', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAck.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAckResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelUpgradeConfirm(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/ChannelUpgradeConfirm', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirm.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirmResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelUpgradeOpen(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/ChannelUpgradeOpen', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpen.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpenResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelUpgradeTimeout(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/ChannelUpgradeTimeout', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeout.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeoutResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelUpgradeCancel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/ChannelUpgradeCancel', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancel.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancelResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateChannelParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/UpdateChannelParams', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PruneAcknowledgements(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.channel.v1.Msg/PruneAcknowledgements', + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgements.SerializeToString, + ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgementsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2.py b/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2.py new file mode 100644 index 00000000..6fb380f8 --- /dev/null +++ b/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/core/channel/v1/upgrade.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/upgrade.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\xbd\x01\n\x07Upgrade\x12@\n\x06\x66ields\x18\x01 \x01(\x0b\x32\".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x06\x66ields\x12<\n\x07timeout\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.TimeoutB\x04\xc8\xde\x1f\x00R\x07timeout\x12,\n\x12next_sequence_send\x18\x03 \x01(\x04R\x10nextSequenceSend:\x04\x88\xa0\x1f\x00\"\x90\x01\n\rUpgradeFields\x12\x36\n\x08ordering\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12\'\n\x0f\x63onnection_hops\x18\x02 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version:\x04\x88\xa0\x1f\x00\"J\n\x0c\x45rrorReceipt\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message:\x04\x88\xa0\x1f\x00\x42\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0cUpgradeProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.upgrade_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\014UpgradeProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' + _globals['_UPGRADE'].fields_by_name['fields']._loaded_options = None + _globals['_UPGRADE'].fields_by_name['fields']._serialized_options = b'\310\336\037\000' + _globals['_UPGRADE'].fields_by_name['timeout']._loaded_options = None + _globals['_UPGRADE'].fields_by_name['timeout']._serialized_options = b'\310\336\037\000' + _globals['_UPGRADE']._loaded_options = None + _globals['_UPGRADE']._serialized_options = b'\210\240\037\000' + _globals['_UPGRADEFIELDS']._loaded_options = None + _globals['_UPGRADEFIELDS']._serialized_options = b'\210\240\037\000' + _globals['_ERRORRECEIPT']._loaded_options = None + _globals['_ERRORRECEIPT']._serialized_options = b'\210\240\037\000' + _globals['_UPGRADE']._serialized_start=116 + _globals['_UPGRADE']._serialized_end=305 + _globals['_UPGRADEFIELDS']._serialized_start=308 + _globals['_UPGRADEFIELDS']._serialized_end=452 + _globals['_ERRORRECEIPT']._serialized_start=454 + _globals['_ERRORRECEIPT']._serialized_end=528 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/core/channel/v1/upgrade_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/ibc/core/client/v1/client_pb2.py b/pyinjective/proto/ibc/core/client/v1/client_pb2.py new file mode 100644 index 00000000..a56c2582 --- /dev/null +++ b/pyinjective/proto/ibc/core/client/v1/client_pb2.py @@ -0,0 +1,61 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/core/client/v1/client.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.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$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"m\n\x15IdentifiedClientState\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x37\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\"\x93\x01\n\x18\x43onsensusStateWithHeight\x12\x38\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\x12=\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\"\x93\x01\n\x15\x43lientConsensusStates\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12]\n\x10\x63onsensus_states\x18\x02 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00R\x0f\x63onsensusStates\"d\n\x06Height\x12\'\n\x0frevision_number\x18\x01 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x02 \x01(\x04R\x0erevisionHeight:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"1\n\x06Params\x12\'\n\x0f\x61llowed_clients\x18\x01 \x03(\tR\x0e\x61llowedClients\"\x91\x02\n\x14\x43lientUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12H\n\x11subject_client_id\x18\x03 \x01(\tB\x1c\xf2\xde\x1f\x18yaml:\"subject_client_id\"R\x0fsubjectClientId\x12Q\n\x14substitute_client_id\x18\x04 \x01(\tB\x1f\xf2\xde\x1f\x1byaml:\"substitute_client_id\"R\x12substituteClientId:$\x18\x01\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x9b\x02\n\x0fUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x36\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00R\x04plan\x12j\n\x15upgraded_client_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB \xf2\xde\x1f\x1cyaml:\"upgraded_client_state\"R\x13upgradedClientState:,\x18\x01\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB\xca\x01\n\x16\x63om.ibc.core.client.v1B\x0b\x43lientProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.client_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ibc.core.client.v1B\013ClientProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1' + _globals['_CONSENSUSSTATEWITHHEIGHT'].fields_by_name['height']._loaded_options = None + _globals['_CONSENSUSSTATEWITHHEIGHT'].fields_by_name['height']._serialized_options = b'\310\336\037\000' + _globals['_CLIENTCONSENSUSSTATES'].fields_by_name['consensus_states']._loaded_options = None + _globals['_CLIENTCONSENSUSSTATES'].fields_by_name['consensus_states']._serialized_options = b'\310\336\037\000' + _globals['_HEIGHT']._loaded_options = None + _globals['_HEIGHT']._serialized_options = b'\210\240\037\000\230\240\037\000' + _globals['_CLIENTUPDATEPROPOSAL'].fields_by_name['subject_client_id']._loaded_options = None + _globals['_CLIENTUPDATEPROPOSAL'].fields_by_name['subject_client_id']._serialized_options = b'\362\336\037\030yaml:\"subject_client_id\"' + _globals['_CLIENTUPDATEPROPOSAL'].fields_by_name['substitute_client_id']._loaded_options = None + _globals['_CLIENTUPDATEPROPOSAL'].fields_by_name['substitute_client_id']._serialized_options = b'\362\336\037\033yaml:\"substitute_client_id\"' + _globals['_CLIENTUPDATEPROPOSAL']._loaded_options = None + _globals['_CLIENTUPDATEPROPOSAL']._serialized_options = b'\030\001\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_UPGRADEPROPOSAL'].fields_by_name['plan']._loaded_options = None + _globals['_UPGRADEPROPOSAL'].fields_by_name['plan']._serialized_options = b'\310\336\037\000' + _globals['_UPGRADEPROPOSAL'].fields_by_name['upgraded_client_state']._loaded_options = None + _globals['_UPGRADEPROPOSAL'].fields_by_name['upgraded_client_state']._serialized_options = b'\362\336\037\034yaml:\"upgraded_client_state\"' + _globals['_UPGRADEPROPOSAL']._loaded_options = None + _globals['_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=278 + _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_start=281 + _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_end=428 + _globals['_CLIENTCONSENSUSSTATES']._serialized_start=431 + _globals['_CLIENTCONSENSUSSTATES']._serialized_end=578 + _globals['_HEIGHT']._serialized_start=580 + _globals['_HEIGHT']._serialized_end=680 + _globals['_PARAMS']._serialized_start=682 + _globals['_PARAMS']._serialized_end=731 + _globals['_CLIENTUPDATEPROPOSAL']._serialized_start=734 + _globals['_CLIENTUPDATEPROPOSAL']._serialized_end=1007 + _globals['_UPGRADEPROPOSAL']._serialized_start=1010 + _globals['_UPGRADEPROPOSAL']._serialized_end=1293 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/client_pb2_grpc.py b/pyinjective/proto/ibc/core/client/v1/client_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/core/client/v1/client_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/ibc/core/client/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py new file mode 100644 index 00000000..3137f37f --- /dev/null +++ b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/core/client/v1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/core/client/v1/genesis.proto\x12\x12ibc.core.client.v1\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto\"\xe6\x03\n\x0cGenesisState\x12\x63\n\x07\x63lients\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStatesR\x07\x63lients\x12v\n\x11\x63lients_consensus\x18\x02 \x03(\x0b\x32).ibc.core.client.v1.ClientConsensusStatesB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16\x43lientsConsensusStatesR\x10\x63lientsConsensus\x12^\n\x10\x63lients_metadata\x18\x03 \x03(\x0b\x32-.ibc.core.client.v1.IdentifiedGenesisMetadataB\x04\xc8\xde\x1f\x00R\x0f\x63lientsMetadata\x12\x38\n\x06params\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12-\n\x10\x63reate_localhost\x18\x05 \x01(\x08\x42\x02\x18\x01R\x0f\x63reateLocalhost\x12\x30\n\x14next_client_sequence\x18\x06 \x01(\x04R\x12nextClientSequence\"?\n\x0fGenesisMetadata\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value:\x04\x88\xa0\x1f\x00\"\x8c\x01\n\x19IdentifiedGenesisMetadata\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12R\n\x0f\x63lient_metadata\x18\x02 \x03(\x0b\x32#.ibc.core.client.v1.GenesisMetadataB\x04\xc8\xde\x1f\x00R\x0e\x63lientMetadataB\xcb\x01\n\x16\x63om.ibc.core.client.v1B\x0cGenesisProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ibc.core.client.v1B\014GenesisProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1' + _globals['_GENESISSTATE'].fields_by_name['clients']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['clients']._serialized_options = b'\310\336\037\000\252\337\037\026IdentifiedClientStates' + _globals['_GENESISSTATE'].fields_by_name['clients_consensus']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['clients_consensus']._serialized_options = b'\310\336\037\000\252\337\037\026ClientsConsensusStates' + _globals['_GENESISSTATE'].fields_by_name['clients_metadata']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['clients_metadata']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['create_localhost']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['create_localhost']._serialized_options = b'\030\001' + _globals['_GENESISMETADATA']._loaded_options = None + _globals['_GENESISMETADATA']._serialized_options = b'\210\240\037\000' + _globals['_IDENTIFIEDGENESISMETADATA'].fields_by_name['client_metadata']._loaded_options = None + _globals['_IDENTIFIEDGENESISMETADATA'].fields_by_name['client_metadata']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=112 + _globals['_GENESISSTATE']._serialized_end=598 + _globals['_GENESISMETADATA']._serialized_start=600 + _globals['_GENESISMETADATA']._serialized_end=663 + _globals['_IDENTIFIEDGENESISMETADATA']._serialized_start=666 + _globals['_IDENTIFIEDGENESISMETADATA']._serialized_end=806 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/core/client/v1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/core/client/v1/genesis_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/ibc/core/client/v1/query_pb2.py b/pyinjective/proto/ibc/core/client/v1/query_pb2.py new file mode 100644 index 00000000..66b76708 --- /dev/null +++ b/pyinjective/proto/ibc/core/client/v1/query_pb2.py @@ -0,0 +1,108 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/core/client/v1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 +from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 +from pyinjective.proto.ibc.core.commitment.v1 import commitment_pb2 as ibc_dot_core_dot_commitment_dot_v1_dot_commitment__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eibc/core/client/v1/query.proto\x12\x12ibc.core.client.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto\"6\n\x17QueryClientStateRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\"\xae\x01\n\x18QueryClientStateResponse\x12\x37\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"b\n\x18QueryClientStatesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xd4\x01\n\x19QueryClientStatesResponse\x12n\n\rclient_states\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStatesR\x0c\x63lientStates\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xb0\x01\n\x1aQueryConsensusStateRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\'\n\x0frevision_number\x18\x02 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x03 \x01(\x04R\x0erevisionHeight\x12#\n\rlatest_height\x18\x04 \x01(\x08R\x0clatestHeight\"\xb7\x01\n\x1bQueryConsensusStateResponse\x12=\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\x82\x01\n\x1bQueryConsensusStatesRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xc6\x01\n\x1cQueryConsensusStatesResponse\x12]\n\x10\x63onsensus_states\x18\x01 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00R\x0f\x63onsensusStates\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x88\x01\n!QueryConsensusStateHeightsRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xc7\x01\n\"QueryConsensusStateHeightsResponse\x12X\n\x17\x63onsensus_state_heights\x18\x01 \x03(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x15\x63onsensusStateHeights\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"7\n\x18QueryClientStatusRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\"3\n\x19QueryClientStatusResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\"\x1a\n\x18QueryClientParamsRequest\"O\n\x19QueryClientParamsResponse\x12\x32\n\x06params\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsR\x06params\"!\n\x1fQueryUpgradedClientStateRequest\"l\n QueryUpgradedClientStateResponse\x12H\n\x15upgraded_client_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x13upgradedClientState\"$\n\"QueryUpgradedConsensusStateRequest\"u\n#QueryUpgradedConsensusStateResponse\x12N\n\x18upgraded_consensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x16upgradedConsensusState\"\xb7\x02\n\x1cQueryVerifyMembershipRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12I\n\x0bmerkle_path\x18\x04 \x01(\x0b\x32\".ibc.core.commitment.v1.MerklePathB\x04\xc8\xde\x1f\x00R\nmerklePath\x12\x14\n\x05value\x18\x05 \x01(\x0cR\x05value\x12\x1d\n\ntime_delay\x18\x06 \x01(\x04R\ttimeDelay\x12\x1f\n\x0b\x62lock_delay\x18\x07 \x01(\x04R\nblockDelay\"9\n\x1dQueryVerifyMembershipResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success2\x82\x0e\n\x05Query\x12\x9f\x01\n\x0b\x43lientState\x12+.ibc.core.client.v1.QueryClientStateRequest\x1a,.ibc.core.client.v1.QueryClientStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_states/{client_id}\x12\x96\x01\n\x0c\x43lientStates\x12,.ibc.core.client.v1.QueryClientStatesRequest\x1a-.ibc.core.client.v1.QueryClientStatesResponse\")\x82\xd3\xe4\x93\x02#\x12!/ibc/core/client/v1/client_states\x12\xdf\x01\n\x0e\x43onsensusState\x12..ibc.core.client.v1.QueryConsensusStateRequest\x1a/.ibc.core.client.v1.QueryConsensusStateResponse\"l\x82\xd3\xe4\x93\x02\x66\x12\x64/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}\x12\xae\x01\n\x0f\x43onsensusStates\x12/.ibc.core.client.v1.QueryConsensusStatesRequest\x1a\x30.ibc.core.client.v1.QueryConsensusStatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/ibc/core/client/v1/consensus_states/{client_id}\x12\xc8\x01\n\x15\x43onsensusStateHeights\x12\x35.ibc.core.client.v1.QueryConsensusStateHeightsRequest\x1a\x36.ibc.core.client.v1.QueryConsensusStateHeightsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/ibc/core/client/v1/consensus_states/{client_id}/heights\x12\xa2\x01\n\x0c\x43lientStatus\x12,.ibc.core.client.v1.QueryClientStatusRequest\x1a-.ibc.core.client.v1.QueryClientStatusResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_status/{client_id}\x12\x8f\x01\n\x0c\x43lientParams\x12,.ibc.core.client.v1.QueryClientParamsRequest\x1a-.ibc.core.client.v1.QueryClientParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/ibc/core/client/v1/params\x12\xb4\x01\n\x13UpgradedClientState\x12\x33.ibc.core.client.v1.QueryUpgradedClientStateRequest\x1a\x34.ibc.core.client.v1.QueryUpgradedClientStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/ibc/core/client/v1/upgraded_client_states\x12\xc0\x01\n\x16UpgradedConsensusState\x12\x36.ibc.core.client.v1.QueryUpgradedConsensusStateRequest\x1a\x37.ibc.core.client.v1.QueryUpgradedConsensusStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/upgraded_consensus_states\x12\xae\x01\n\x10VerifyMembership\x12\x30.ibc.core.client.v1.QueryVerifyMembershipRequest\x1a\x31.ibc.core.client.v1.QueryVerifyMembershipResponse\"5\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02*\"%/ibc/core/client/v1/verify_membership:\x01*B\xc9\x01\n\x16\x63om.ibc.core.client.v1B\nQueryProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ibc.core.client.v1B\nQueryProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1' + _globals['_QUERYCLIENTSTATERESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYCLIENTSTATERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYCLIENTSTATESRESPONSE'].fields_by_name['client_states']._loaded_options = None + _globals['_QUERYCLIENTSTATESRESPONSE'].fields_by_name['client_states']._serialized_options = b'\310\336\037\000\252\337\037\026IdentifiedClientStates' + _globals['_QUERYCONSENSUSSTATERESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYCONSENSUSSTATERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYCONSENSUSSTATESRESPONSE'].fields_by_name['consensus_states']._loaded_options = None + _globals['_QUERYCONSENSUSSTATESRESPONSE'].fields_by_name['consensus_states']._serialized_options = b'\310\336\037\000' + _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE'].fields_by_name['consensus_state_heights']._loaded_options = None + _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE'].fields_by_name['consensus_state_heights']._serialized_options = b'\310\336\037\000' + _globals['_QUERYVERIFYMEMBERSHIPREQUEST'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYVERIFYMEMBERSHIPREQUEST'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYVERIFYMEMBERSHIPREQUEST'].fields_by_name['merkle_path']._loaded_options = None + _globals['_QUERYVERIFYMEMBERSHIPREQUEST'].fields_by_name['merkle_path']._serialized_options = b'\310\336\037\000' + _globals['_QUERY'].methods_by_name['ClientState']._loaded_options = None + _globals['_QUERY'].methods_by_name['ClientState']._serialized_options = b'\202\323\344\223\002/\022-/ibc/core/client/v1/client_states/{client_id}' + _globals['_QUERY'].methods_by_name['ClientStates']._loaded_options = None + _globals['_QUERY'].methods_by_name['ClientStates']._serialized_options = b'\202\323\344\223\002#\022!/ibc/core/client/v1/client_states' + _globals['_QUERY'].methods_by_name['ConsensusState']._loaded_options = None + _globals['_QUERY'].methods_by_name['ConsensusState']._serialized_options = b'\202\323\344\223\002f\022d/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}' + _globals['_QUERY'].methods_by_name['ConsensusStates']._loaded_options = None + _globals['_QUERY'].methods_by_name['ConsensusStates']._serialized_options = b'\202\323\344\223\0022\0220/ibc/core/client/v1/consensus_states/{client_id}' + _globals['_QUERY'].methods_by_name['ConsensusStateHeights']._loaded_options = None + _globals['_QUERY'].methods_by_name['ConsensusStateHeights']._serialized_options = b'\202\323\344\223\002:\0228/ibc/core/client/v1/consensus_states/{client_id}/heights' + _globals['_QUERY'].methods_by_name['ClientStatus']._loaded_options = None + _globals['_QUERY'].methods_by_name['ClientStatus']._serialized_options = b'\202\323\344\223\002/\022-/ibc/core/client/v1/client_status/{client_id}' + _globals['_QUERY'].methods_by_name['ClientParams']._loaded_options = None + _globals['_QUERY'].methods_by_name['ClientParams']._serialized_options = b'\202\323\344\223\002\034\022\032/ibc/core/client/v1/params' + _globals['_QUERY'].methods_by_name['UpgradedClientState']._loaded_options = None + _globals['_QUERY'].methods_by_name['UpgradedClientState']._serialized_options = b'\202\323\344\223\002,\022*/ibc/core/client/v1/upgraded_client_states' + _globals['_QUERY'].methods_by_name['UpgradedConsensusState']._loaded_options = None + _globals['_QUERY'].methods_by_name['UpgradedConsensusState']._serialized_options = b'\202\323\344\223\002/\022-/ibc/core/client/v1/upgraded_consensus_states' + _globals['_QUERY'].methods_by_name['VerifyMembership']._loaded_options = None + _globals['_QUERY'].methods_by_name['VerifyMembership']._serialized_options = b'\210\347\260*\001\202\323\344\223\002*\"%/ibc/core/client/v1/verify_membership:\001*' + _globals['_QUERYCLIENTSTATEREQUEST']._serialized_start=280 + _globals['_QUERYCLIENTSTATEREQUEST']._serialized_end=334 + _globals['_QUERYCLIENTSTATERESPONSE']._serialized_start=337 + _globals['_QUERYCLIENTSTATERESPONSE']._serialized_end=511 + _globals['_QUERYCLIENTSTATESREQUEST']._serialized_start=513 + _globals['_QUERYCLIENTSTATESREQUEST']._serialized_end=611 + _globals['_QUERYCLIENTSTATESRESPONSE']._serialized_start=614 + _globals['_QUERYCLIENTSTATESRESPONSE']._serialized_end=826 + _globals['_QUERYCONSENSUSSTATEREQUEST']._serialized_start=829 + _globals['_QUERYCONSENSUSSTATEREQUEST']._serialized_end=1005 + _globals['_QUERYCONSENSUSSTATERESPONSE']._serialized_start=1008 + _globals['_QUERYCONSENSUSSTATERESPONSE']._serialized_end=1191 + _globals['_QUERYCONSENSUSSTATESREQUEST']._serialized_start=1194 + _globals['_QUERYCONSENSUSSTATESREQUEST']._serialized_end=1324 + _globals['_QUERYCONSENSUSSTATESRESPONSE']._serialized_start=1327 + _globals['_QUERYCONSENSUSSTATESRESPONSE']._serialized_end=1525 + _globals['_QUERYCONSENSUSSTATEHEIGHTSREQUEST']._serialized_start=1528 + _globals['_QUERYCONSENSUSSTATEHEIGHTSREQUEST']._serialized_end=1664 + _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE']._serialized_start=1667 + _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE']._serialized_end=1866 + _globals['_QUERYCLIENTSTATUSREQUEST']._serialized_start=1868 + _globals['_QUERYCLIENTSTATUSREQUEST']._serialized_end=1923 + _globals['_QUERYCLIENTSTATUSRESPONSE']._serialized_start=1925 + _globals['_QUERYCLIENTSTATUSRESPONSE']._serialized_end=1976 + _globals['_QUERYCLIENTPARAMSREQUEST']._serialized_start=1978 + _globals['_QUERYCLIENTPARAMSREQUEST']._serialized_end=2004 + _globals['_QUERYCLIENTPARAMSRESPONSE']._serialized_start=2006 + _globals['_QUERYCLIENTPARAMSRESPONSE']._serialized_end=2085 + _globals['_QUERYUPGRADEDCLIENTSTATEREQUEST']._serialized_start=2087 + _globals['_QUERYUPGRADEDCLIENTSTATEREQUEST']._serialized_end=2120 + _globals['_QUERYUPGRADEDCLIENTSTATERESPONSE']._serialized_start=2122 + _globals['_QUERYUPGRADEDCLIENTSTATERESPONSE']._serialized_end=2230 + _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_start=2232 + _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_end=2268 + _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_start=2270 + _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_end=2387 + _globals['_QUERYVERIFYMEMBERSHIPREQUEST']._serialized_start=2390 + _globals['_QUERYVERIFYMEMBERSHIPREQUEST']._serialized_end=2701 + _globals['_QUERYVERIFYMEMBERSHIPRESPONSE']._serialized_start=2703 + _globals['_QUERYVERIFYMEMBERSHIPRESPONSE']._serialized_end=2760 + _globals['_QUERY']._serialized_start=2763 + _globals['_QUERY']._serialized_end=4557 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/core/client/v1/query_pb2_grpc.py new file mode 100644 index 00000000..91c747aa --- /dev/null +++ b/pyinjective/proto/ibc/core/client/v1/query_pb2_grpc.py @@ -0,0 +1,479 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.ibc.core.client.v1 import query_pb2 as ibc_dot_core_dot_client_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query provides defines the gRPC querier service + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.ClientState = channel.unary_unary( + '/ibc.core.client.v1.Query/ClientState', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateResponse.FromString, + _registered_method=True) + self.ClientStates = channel.unary_unary( + '/ibc.core.client.v1.Query/ClientStates', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesResponse.FromString, + _registered_method=True) + self.ConsensusState = channel.unary_unary( + '/ibc.core.client.v1.Query/ConsensusState', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateResponse.FromString, + _registered_method=True) + self.ConsensusStates = channel.unary_unary( + '/ibc.core.client.v1.Query/ConsensusStates', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesResponse.FromString, + _registered_method=True) + self.ConsensusStateHeights = channel.unary_unary( + '/ibc.core.client.v1.Query/ConsensusStateHeights', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsResponse.FromString, + _registered_method=True) + self.ClientStatus = channel.unary_unary( + '/ibc.core.client.v1.Query/ClientStatus', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusResponse.FromString, + _registered_method=True) + self.ClientParams = channel.unary_unary( + '/ibc.core.client.v1.Query/ClientParams', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsResponse.FromString, + _registered_method=True) + self.UpgradedClientState = channel.unary_unary( + '/ibc.core.client.v1.Query/UpgradedClientState', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateResponse.FromString, + _registered_method=True) + self.UpgradedConsensusState = channel.unary_unary( + '/ibc.core.client.v1.Query/UpgradedConsensusState', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, + _registered_method=True) + self.VerifyMembership = channel.unary_unary( + '/ibc.core.client.v1.Query/VerifyMembership', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query provides defines the gRPC querier service + """ + + def ClientState(self, request, context): + """ClientState queries an IBC light client. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ClientStates(self, request, context): + """ClientStates queries all the IBC light clients of a chain. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ConsensusState(self, request, context): + """ConsensusState queries a consensus state associated with a client state at + a given height. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ConsensusStates(self, request, context): + """ConsensusStates queries all the consensus state associated with a given + client. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ConsensusStateHeights(self, request, context): + """ConsensusStateHeights queries the height of every consensus states associated with a given client. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ClientStatus(self, request, context): + """Status queries the status of an IBC client. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ClientParams(self, request, context): + """ClientParams queries all parameters of the ibc client submodule. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpgradedClientState(self, request, context): + """UpgradedClientState queries an Upgraded IBC light client. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpgradedConsensusState(self, request, context): + """UpgradedConsensusState queries an Upgraded IBC consensus state. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def VerifyMembership(self, request, context): + """VerifyMembership queries an IBC light client for proof verification of a value at a given key path. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'ClientState': grpc.unary_unary_rpc_method_handler( + servicer.ClientState, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateResponse.SerializeToString, + ), + 'ClientStates': grpc.unary_unary_rpc_method_handler( + servicer.ClientStates, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesResponse.SerializeToString, + ), + 'ConsensusState': grpc.unary_unary_rpc_method_handler( + servicer.ConsensusState, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateResponse.SerializeToString, + ), + 'ConsensusStates': grpc.unary_unary_rpc_method_handler( + servicer.ConsensusStates, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesResponse.SerializeToString, + ), + 'ConsensusStateHeights': grpc.unary_unary_rpc_method_handler( + servicer.ConsensusStateHeights, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsResponse.SerializeToString, + ), + 'ClientStatus': grpc.unary_unary_rpc_method_handler( + servicer.ClientStatus, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusResponse.SerializeToString, + ), + 'ClientParams': grpc.unary_unary_rpc_method_handler( + servicer.ClientParams, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsResponse.SerializeToString, + ), + 'UpgradedClientState': grpc.unary_unary_rpc_method_handler( + servicer.UpgradedClientState, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateResponse.SerializeToString, + ), + 'UpgradedConsensusState': grpc.unary_unary_rpc_method_handler( + servicer.UpgradedConsensusState, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateResponse.SerializeToString, + ), + 'VerifyMembership': grpc.unary_unary_rpc_method_handler( + servicer.VerifyMembership, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.core.client.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('ibc.core.client.v1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query provides defines the gRPC querier service + """ + + @staticmethod + def ClientState(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.Query/ClientState', + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateRequest.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ClientStates(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.Query/ClientStates', + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesRequest.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ConsensusState(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.Query/ConsensusState', + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateRequest.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ConsensusStates(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.Query/ConsensusStates', + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesRequest.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ConsensusStateHeights(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.Query/ConsensusStateHeights', + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsRequest.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ClientStatus(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.Query/ClientStatus', + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusRequest.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ClientParams(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.Query/ClientParams', + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsRequest.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpgradedClientState(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.Query/UpgradedClientState', + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateRequest.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpgradedConsensusState(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.Query/UpgradedConsensusState', + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def VerifyMembership(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.Query/VerifyMembership', + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipRequest.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py new file mode 100644 index 00000000..cfd73150 --- /dev/null +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py @@ -0,0 +1,80 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/core/client/v1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bibc/core/client/v1/tx.proto\x12\x12ibc.core.client.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1fibc/core/client/v1/client.proto\"\xb2\x01\n\x0fMsgCreateClient\x12\x37\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12=\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgCreateClientResponse\"\x94\x01\n\x0fMsgUpdateClient\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12;\n\x0e\x63lient_message\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\rclientMessage\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateClientResponse\"\xc5\x02\n\x10MsgUpgradeClient\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x37\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12=\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x30\n\x14proof_upgrade_client\x18\x04 \x01(\x0cR\x12proofUpgradeClient\x12\x41\n\x1dproof_upgrade_consensus_state\x18\x05 \x01(\x0cR\x1aproofUpgradeConsensusState\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1a\n\x18MsgUpgradeClientResponse\"\x99\x01\n\x15MsgSubmitMisbehaviour\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x38\n\x0cmisbehaviour\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cmisbehaviour\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x11\x18\x01\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgSubmitMisbehaviourResponse\"\x99\x01\n\x10MsgRecoverClient\x12*\n\x11subject_client_id\x18\x01 \x01(\tR\x0fsubjectClientId\x12\x30\n\x14substitute_client_id\x18\x02 \x01(\tR\x12substituteClientId\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1a\n\x18MsgRecoverClientResponse\"\xbe\x01\n\x15MsgIBCSoftwareUpgrade\x12\x36\n\x04plan\x18\x01 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00R\x04plan\x12H\n\x15upgraded_client_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x13upgradedClientState\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0b\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgIBCSoftwareUpgradeResponse\"t\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\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\xc6\x01\n\x16\x63om.ibc.core.client.v1B\x07TxProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ibc.core.client.v1B\007TxProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1' + _globals['_MSGCREATECLIENT']._loaded_options = None + _globals['_MSGCREATECLIENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGUPDATECLIENT']._loaded_options = None + _globals['_MSGUPDATECLIENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGUPGRADECLIENT']._loaded_options = None + _globals['_MSGUPGRADECLIENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGSUBMITMISBEHAVIOUR']._loaded_options = None + _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_options = b'\030\001\210\240\037\000\202\347\260*\006signer' + _globals['_MSGRECOVERCLIENT']._loaded_options = None + _globals['_MSGRECOVERCLIENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGIBCSOFTWAREUPGRADE'].fields_by_name['plan']._loaded_options = None + _globals['_MSGIBCSOFTWAREUPGRADE'].fields_by_name['plan']._serialized_options = b'\310\336\037\000' + _globals['_MSGIBCSOFTWAREUPGRADE']._loaded_options = None + _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_options = b'\202\347\260*\006signer' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGCREATECLIENT']._serialized_start=197 + _globals['_MSGCREATECLIENT']._serialized_end=375 + _globals['_MSGCREATECLIENTRESPONSE']._serialized_start=377 + _globals['_MSGCREATECLIENTRESPONSE']._serialized_end=402 + _globals['_MSGUPDATECLIENT']._serialized_start=405 + _globals['_MSGUPDATECLIENT']._serialized_end=553 + _globals['_MSGUPDATECLIENTRESPONSE']._serialized_start=555 + _globals['_MSGUPDATECLIENTRESPONSE']._serialized_end=580 + _globals['_MSGUPGRADECLIENT']._serialized_start=583 + _globals['_MSGUPGRADECLIENT']._serialized_end=908 + _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_start=910 + _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_end=936 + _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_start=939 + _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_end=1092 + _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_start=1094 + _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_end=1125 + _globals['_MSGRECOVERCLIENT']._serialized_start=1128 + _globals['_MSGRECOVERCLIENT']._serialized_end=1281 + _globals['_MSGRECOVERCLIENTRESPONSE']._serialized_start=1283 + _globals['_MSGRECOVERCLIENTRESPONSE']._serialized_end=1309 + _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_start=1312 + _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_end=1502 + _globals['_MSGIBCSOFTWAREUPGRADERESPONSE']._serialized_start=1504 + _globals['_MSGIBCSOFTWAREUPGRADERESPONSE']._serialized_end=1535 + _globals['_MSGUPDATEPARAMS']._serialized_start=1537 + _globals['_MSGUPDATEPARAMS']._serialized_end=1653 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1655 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1680 + _globals['_MSG']._serialized_start=1683 + _globals['_MSG']._serialized_end=2429 +# @@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 new file mode 100644 index 00000000..9c44899a --- /dev/null +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py @@ -0,0 +1,345 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.ibc.core.client.v1 import tx_pb2 as ibc_dot_core_dot_client_dot_v1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the ibc/client Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateClient = channel.unary_unary( + '/ibc.core.client.v1.Msg/CreateClient', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClient.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClientResponse.FromString, + _registered_method=True) + self.UpdateClient = channel.unary_unary( + '/ibc.core.client.v1.Msg/UpdateClient', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClient.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientResponse.FromString, + _registered_method=True) + self.UpgradeClient = channel.unary_unary( + '/ibc.core.client.v1.Msg/UpgradeClient', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClient.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClientResponse.FromString, + _registered_method=True) + self.SubmitMisbehaviour = channel.unary_unary( + '/ibc.core.client.v1.Msg/SubmitMisbehaviour', + 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, + _registered_method=True) + 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, + _registered_method=True) + 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, + _registered_method=True) + self.UpdateClientParams = channel.unary_unary( + '/ibc.core.client.v1.Msg/UpdateClientParams', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the ibc/client Msg service. + """ + + def CreateClient(self, request, context): + """CreateClient defines a rpc handler method for MsgCreateClient. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateClient(self, request, context): + """UpdateClient defines a rpc handler method for MsgUpdateClient. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpgradeClient(self, request, context): + """UpgradeClient defines a rpc handler method for MsgUpgradeClient. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SubmitMisbehaviour(self, request, context): + """SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RecoverClient(self, request, context): + """RecoverClient defines a rpc handler method for MsgRecoverClient. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def IBCSoftwareUpgrade(self, request, context): + """IBCSoftwareUpgrade defines a rpc handler method for MsgIBCSoftwareUpgrade. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateClientParams(self, request, context): + """UpdateClientParams defines a rpc handler method for MsgUpdateParams. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateClient': grpc.unary_unary_rpc_method_handler( + servicer.CreateClient, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClient.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClientResponse.SerializeToString, + ), + 'UpdateClient': grpc.unary_unary_rpc_method_handler( + servicer.UpdateClient, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClient.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientResponse.SerializeToString, + ), + 'UpgradeClient': grpc.unary_unary_rpc_method_handler( + servicer.UpgradeClient, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClient.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClientResponse.SerializeToString, + ), + 'SubmitMisbehaviour': grpc.unary_unary_rpc_method_handler( + servicer.SubmitMisbehaviour, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviour.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.SerializeToString, + ), + 'RecoverClient': grpc.unary_unary_rpc_method_handler( + servicer.RecoverClient, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClient.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClientResponse.SerializeToString, + ), + 'IBCSoftwareUpgrade': grpc.unary_unary_rpc_method_handler( + servicer.IBCSoftwareUpgrade, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgrade.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgradeResponse.SerializeToString, + ), + 'UpdateClientParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateClientParams, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.core.client.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('ibc.core.client.v1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the ibc/client Msg service. + """ + + @staticmethod + def CreateClient(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/CreateClient', + ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClient.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateClient(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/UpdateClient', + ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClient.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpgradeClient(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/UpgradeClient', + ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClient.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SubmitMisbehaviour(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/SubmitMisbehaviour', + ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviour.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @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, + _registered_method=True) + + @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, + _registered_method=True) + + @staticmethod + def UpdateClientParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/ibc.core.client.v1.Msg/UpdateClientParams', + ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py new file mode 100644 index 00000000..2d0e0d50 --- /dev/null +++ b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/core/commitment/v1/commitment.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.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\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash:\x04\x88\xa0\x1f\x00\"-\n\x0cMerklePrefix\x12\x1d\n\nkey_prefix\x18\x01 \x01(\x0cR\tkeyPrefix\"\'\n\nMerklePath\x12\x19\n\x08key_path\x18\x01 \x03(\tR\x07keyPath\"G\n\x0bMerkleProof\x12\x38\n\x06proofs\x18\x01 \x03(\x0b\x32 .cosmos.ics23.v1.CommitmentProofR\x06proofsB\xe6\x01\n\x1a\x63om.ibc.core.commitment.v1B\x0f\x43ommitmentProtoP\x01Z\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/connection/v1/client_connections/{client_id}\x12\xd8\x01\n\x15\x43onnectionClientState\x12\x39.ibc.core.connection.v1.QueryConnectionClientStateRequest\x1a:.ibc.core.connection.v1.QueryConnectionClientStateResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/ibc/core/connection/v1/connections/{connection_id}/client_state\x12\x98\x02\n\x18\x43onnectionConsensusState\x12<.ibc.core.connection.v1.QueryConnectionConsensusStateRequest\x1a=.ibc.core.connection.v1.QueryConnectionConsensusStateResponse\"\x7f\x82\xd3\xe4\x93\x02y\x12w/ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xa7\x01\n\x10\x43onnectionParams\x12\x34.ibc.core.connection.v1.QueryConnectionParamsRequest\x1a\x35.ibc.core.connection.v1.QueryConnectionParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/ibc/core/connection/v1/paramsB\xe1\x01\n\x1a\x63om.ibc.core.connection.v1B\nQueryProtoP\x01Z\n DATA_TYPE_PACKET_RECEIPT_ABSENCE\x10\x07\x1a\x18\x8a\x9d \x14PACKETRECEIPTABSENCE\x12\x36\n\x1c\x44\x41TA_TYPE_NEXT_SEQUENCE_RECV\x10\x08\x1a\x14\x8a\x9d \x10NEXTSEQUENCERECV\x12 \n\x10\x44\x41TA_TYPE_HEADER\x10\t\x1a\n\x8a\x9d \x06HEADER\x1a\x04\x88\xa3\x1e\x00\x42\x98\x02\n#com.ibc.lightclients.solomachine.v2B\x10SolomachineProtoP\x01Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7\xa2\x02\x03ILS\xaa\x02\x1fIbc.Lightclients.Solomachine.V2\xca\x02\x1fIbc\\Lightclients\\Solomachine\\V2\xe2\x02+Ibc\\Lightclients\\Solomachine\\V2\\GPBMetadata\xea\x02\"Ibc::Lightclients::Solomachine::V2b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.solomachine.v2.solomachine_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n#com.ibc.lightclients.solomachine.v2B\020SolomachineProtoP\001Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7\242\002\003ILS\252\002\037Ibc.Lightclients.Solomachine.V2\312\002\037Ibc\\Lightclients\\Solomachine\\V2\342\002+Ibc\\Lightclients\\Solomachine\\V2\\GPBMetadata\352\002\"Ibc::Lightclients::Solomachine::V2' + _globals['_DATATYPE']._loaded_options = None + _globals['_DATATYPE']._serialized_options = b'\210\243\036\000' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_UNINITIALIZED_UNSPECIFIED"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_UNINITIALIZED_UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_CLIENT_STATE"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_CLIENT_STATE"]._serialized_options = b'\212\235 \006CLIENT' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_CONSENSUS_STATE"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_CONSENSUS_STATE"]._serialized_options = b'\212\235 \tCONSENSUS' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_CONNECTION_STATE"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_CONNECTION_STATE"]._serialized_options = b'\212\235 \nCONNECTION' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_CHANNEL_STATE"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_CHANNEL_STATE"]._serialized_options = b'\212\235 \007CHANNEL' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_COMMITMENT"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_COMMITMENT"]._serialized_options = b'\212\235 \020PACKETCOMMITMENT' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_ACKNOWLEDGEMENT"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_ACKNOWLEDGEMENT"]._serialized_options = b'\212\235 \025PACKETACKNOWLEDGEMENT' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_RECEIPT_ABSENCE"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_RECEIPT_ABSENCE"]._serialized_options = b'\212\235 \024PACKETRECEIPTABSENCE' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_NEXT_SEQUENCE_RECV"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_NEXT_SEQUENCE_RECV"]._serialized_options = b'\212\235 \020NEXTSEQUENCERECV' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_HEADER"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_HEADER"]._serialized_options = b'\212\235 \006HEADER' + _globals['_CLIENTSTATE']._loaded_options = None + _globals['_CLIENTSTATE']._serialized_options = b'\210\240\037\000' + _globals['_CONSENSUSSTATE']._loaded_options = None + _globals['_CONSENSUSSTATE']._serialized_options = b'\210\240\037\000' + _globals['_HEADER']._loaded_options = None + _globals['_HEADER']._serialized_options = b'\210\240\037\000' + _globals['_MISBEHAVIOUR']._loaded_options = None + _globals['_MISBEHAVIOUR']._serialized_options = b'\210\240\037\000' + _globals['_SIGNATUREANDDATA']._loaded_options = None + _globals['_SIGNATUREANDDATA']._serialized_options = b'\210\240\037\000' + _globals['_TIMESTAMPEDSIGNATUREDATA']._loaded_options = None + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_options = b'\210\240\037\000' + _globals['_SIGNBYTES']._loaded_options = None + _globals['_SIGNBYTES']._serialized_options = b'\210\240\037\000' + _globals['_HEADERDATA']._loaded_options = None + _globals['_HEADERDATA']._serialized_options = b'\210\240\037\000' + _globals['_CLIENTSTATEDATA']._loaded_options = None + _globals['_CLIENTSTATEDATA']._serialized_options = b'\210\240\037\000' + _globals['_CONSENSUSSTATEDATA']._loaded_options = None + _globals['_CONSENSUSSTATEDATA']._serialized_options = b'\210\240\037\000' + _globals['_CONNECTIONSTATEDATA']._loaded_options = None + _globals['_CONNECTIONSTATEDATA']._serialized_options = b'\210\240\037\000' + _globals['_CHANNELSTATEDATA']._loaded_options = None + _globals['_CHANNELSTATEDATA']._serialized_options = b'\210\240\037\000' + _globals['_DATATYPE']._serialized_start=2379 + _globals['_DATATYPE']._serialized_end=2903 + _globals['_CLIENTSTATE']._serialized_start=212 + _globals['_CLIENTSTATE']._serialized_end=441 + _globals['_CONSENSUSSTATE']._serialized_start=444 + _globals['_CONSENSUSSTATE']._serialized_end=583 + _globals['_HEADER']._serialized_start=586 + _globals['_HEADER']._serialized_end=789 + _globals['_MISBEHAVIOUR']._serialized_start=792 + _globals['_MISBEHAVIOUR']._serialized_end=1045 + _globals['_SIGNATUREANDDATA']._serialized_start=1048 + _globals['_SIGNATUREANDDATA']._serialized_end=1224 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=1226 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=1327 + _globals['_SIGNBYTES']._serialized_start=1330 + _globals['_SIGNBYTES']._serialized_end=1531 + _globals['_HEADERDATA']._serialized_start=1533 + _globals['_HEADERDATA']._serialized_end=1646 + _globals['_CLIENTSTATEDATA']._serialized_start=1648 + _globals['_CLIENTSTATEDATA']._serialized_end=1748 + _globals['_CONSENSUSSTATEDATA']._serialized_start=1750 + _globals['_CONSENSUSSTATEDATA']._serialized_end=1859 + _globals['_CONNECTIONSTATEDATA']._serialized_start=1861 + _globals['_CONNECTIONSTATEDATA']._serialized_end=1979 + _globals['_CHANNELSTATEDATA']._serialized_start=1981 + _globals['_CHANNELSTATEDATA']._serialized_end=2081 + _globals['_PACKETCOMMITMENTDATA']._serialized_start=2083 + _globals['_PACKETCOMMITMENTDATA']._serialized_end=2157 + _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_start=2159 + _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_end=2248 + _globals['_PACKETRECEIPTABSENCEDATA']._serialized_start=2250 + _globals['_PACKETRECEIPTABSENCEDATA']._serialized_end=2296 + _globals['_NEXTSEQUENCERECVDATA']._serialized_start=2298 + _globals['_NEXTSEQUENCERECVDATA']._serialized_end=2376 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2_grpc.py b/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_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/ibc/lightclients/solomachine/v3/solomachine_pb2.py b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py new file mode 100644 index 00000000..8dbb7917 --- /dev/null +++ b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py @@ -0,0 +1,59 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/lightclients/solomachine/v3/solomachine.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.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'\n1ibc/lightclients/solomachine/v3/solomachine.proto\x12\x1fibc.lightclients.solomachine.v3\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xa6\x01\n\x0b\x43lientState\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1b\n\tis_frozen\x18\x02 \x01(\x08R\x08isFrozen\x12X\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v3.ConsensusStateR\x0e\x63onsensusState:\x04\x88\xa0\x1f\x00\"\x8b\x01\n\x0e\x43onsensusState\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12 \n\x0b\x64iversifier\x18\x02 \x01(\tR\x0b\x64iversifier\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00\"\xaf\x01\n\x06Header\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\x1c\n\tsignature\x18\x02 \x01(\x0cR\tsignature\x12:\n\x0enew_public_key\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cnewPublicKey\x12\'\n\x0fnew_diversifier\x18\x04 \x01(\tR\x0enewDiversifier:\x04\x88\xa0\x1f\x00\"\xe0\x01\n\x0cMisbehaviour\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12V\n\rsignature_one\x18\x02 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndDataR\x0csignatureOne\x12V\n\rsignature_two\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndDataR\x0csignatureTwo:\x04\x88\xa0\x1f\x00\"|\n\x10SignatureAndData\x12\x1c\n\tsignature\x18\x01 \x01(\x0cR\tsignature\x12\x12\n\x04path\x18\x02 \x01(\x0cR\x04path\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\x12\x1c\n\ttimestamp\x18\x04 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00\"e\n\x18TimestampedSignatureData\x12%\n\x0esignature_data\x18\x01 \x01(\x0cR\rsignatureData\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00\"\x95\x01\n\tSignBytes\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12 \n\x0b\x64iversifier\x18\x03 \x01(\tR\x0b\x64iversifier\x12\x12\n\x04path\x18\x04 \x01(\x0cR\x04path\x12\x12\n\x04\x64\x61ta\x18\x05 \x01(\x0cR\x04\x64\x61ta:\x04\x88\xa0\x1f\x00\"q\n\nHeaderData\x12\x34\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tnewPubKey\x12\'\n\x0fnew_diversifier\x18\x02 \x01(\tR\x0enewDiversifier:\x04\x88\xa0\x1f\x00\x42\xa4\x02\n#com.ibc.lightclients.solomachine.v3B\x10SolomachineProtoP\x01ZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachine\xa2\x02\x03ILS\xaa\x02\x1fIbc.Lightclients.Solomachine.V3\xca\x02\x1fIbc\\Lightclients\\Solomachine\\V3\xe2\x02+Ibc\\Lightclients\\Solomachine\\V3\\GPBMetadata\xea\x02\"Ibc::Lightclients::Solomachine::V3b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.solomachine.v3.solomachine_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n#com.ibc.lightclients.solomachine.v3B\020SolomachineProtoP\001ZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachine\242\002\003ILS\252\002\037Ibc.Lightclients.Solomachine.V3\312\002\037Ibc\\Lightclients\\Solomachine\\V3\342\002+Ibc\\Lightclients\\Solomachine\\V3\\GPBMetadata\352\002\"Ibc::Lightclients::Solomachine::V3' + _globals['_CLIENTSTATE']._loaded_options = None + _globals['_CLIENTSTATE']._serialized_options = b'\210\240\037\000' + _globals['_CONSENSUSSTATE']._loaded_options = None + _globals['_CONSENSUSSTATE']._serialized_options = b'\210\240\037\000' + _globals['_HEADER']._loaded_options = None + _globals['_HEADER']._serialized_options = b'\210\240\037\000' + _globals['_MISBEHAVIOUR']._loaded_options = None + _globals['_MISBEHAVIOUR']._serialized_options = b'\210\240\037\000' + _globals['_SIGNATUREANDDATA']._loaded_options = None + _globals['_SIGNATUREANDDATA']._serialized_options = b'\210\240\037\000' + _globals['_TIMESTAMPEDSIGNATUREDATA']._loaded_options = None + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_options = b'\210\240\037\000' + _globals['_SIGNBYTES']._loaded_options = None + _globals['_SIGNBYTES']._serialized_options = b'\210\240\037\000' + _globals['_HEADERDATA']._loaded_options = None + _globals['_HEADERDATA']._serialized_options = b'\210\240\037\000' + _globals['_CLIENTSTATE']._serialized_start=136 + _globals['_CLIENTSTATE']._serialized_end=302 + _globals['_CONSENSUSSTATE']._serialized_start=305 + _globals['_CONSENSUSSTATE']._serialized_end=444 + _globals['_HEADER']._serialized_start=447 + _globals['_HEADER']._serialized_end=622 + _globals['_MISBEHAVIOUR']._serialized_start=625 + _globals['_MISBEHAVIOUR']._serialized_end=849 + _globals['_SIGNATUREANDDATA']._serialized_start=851 + _globals['_SIGNATUREANDDATA']._serialized_end=975 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=977 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=1078 + _globals['_SIGNBYTES']._serialized_start=1081 + _globals['_SIGNBYTES']._serialized_end=1230 + _globals['_HEADERDATA']._serialized_start=1232 + _globals['_HEADERDATA']._serialized_end=1345 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2_grpc.py b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_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/ibc/lightclients/tendermint/v1/tendermint_pb2.py b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py new file mode 100644 index 00000000..31cbde92 --- /dev/null +++ b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py @@ -0,0 +1,81 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/lightclients/tendermint/v1/tendermint.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 +from pyinjective.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 +from pyinjective.proto.cosmos.ics23.v1 import proofs_pb2 as cosmos_dot_ics23_dot_v1_dot_proofs__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 +from pyinjective.proto.ibc.core.commitment.v1 import commitment_pb2 as ibc_dot_core_dot_commitment_dot_v1_dot_commitment__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/ibc/lightclients/tendermint/v1/tendermint.proto\x12\x1eibc.lightclients.tendermint.v1\x1a tendermint/types/validator.proto\x1a\x1ctendermint/types/types.proto\x1a\x1c\x63osmos/ics23/v1/proofs.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x14gogoproto/gogo.proto\"\xe2\x05\n\x0b\x43lientState\x12\x19\n\x08\x63hain_id\x18\x01 \x01(\tR\x07\x63hainId\x12O\n\x0btrust_level\x18\x02 \x01(\x0b\x32(.ibc.lightclients.tendermint.v1.FractionB\x04\xc8\xde\x1f\x00R\ntrustLevel\x12L\n\x0ftrusting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0etrustingPeriod\x12N\n\x10unbonding_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0funbondingPeriod\x12K\n\x0fmax_clock_drift\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\rmaxClockDrift\x12\x45\n\rfrozen_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0c\x66rozenHeight\x12\x45\n\rlatest_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0clatestHeight\x12;\n\x0bproof_specs\x18\x08 \x03(\x0b\x32\x1a.cosmos.ics23.v1.ProofSpecR\nproofSpecs\x12!\n\x0cupgrade_path\x18\t \x03(\tR\x0bupgradePath\x12=\n\x19\x61llow_update_after_expiry\x18\n \x01(\x08\x42\x02\x18\x01R\x16\x61llowUpdateAfterExpiry\x12I\n\x1f\x61llow_update_after_misbehaviour\x18\x0b \x01(\x08\x42\x02\x18\x01R\x1c\x61llowUpdateAfterMisbehaviour:\x04\x88\xa0\x1f\x00\"\x80\x02\n\x0e\x43onsensusState\x12\x42\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12<\n\x04root\x18\x02 \x01(\x0b\x32\".ibc.core.commitment.v1.MerkleRootB\x04\xc8\xde\x1f\x00R\x04root\x12\x66\n\x14next_validators_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x12nextValidatorsHash:\x04\x88\xa0\x1f\x00\"\xd5\x01\n\x0cMisbehaviour\x12\x1f\n\tclient_id\x18\x01 \x01(\tB\x02\x18\x01R\x08\x63lientId\x12N\n\x08header_1\x18\x02 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header1R\x07header1\x12N\n\x08header_2\x18\x03 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header2R\x07header2:\x04\x88\xa0\x1f\x00\"\xb0\x02\n\x06Header\x12I\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderB\x04\xd0\xde\x1f\x01R\x0csignedHeader\x12\x43\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x0cvalidatorSet\x12G\n\x0etrusted_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\rtrustedHeight\x12M\n\x12trusted_validators\x18\x04 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x11trustedValidators\"J\n\x08\x46raction\x12\x1c\n\tnumerator\x18\x01 \x01(\x04R\tnumerator\x12 \n\x0b\x64\x65nominator\x18\x02 \x01(\x04R\x0b\x64\x65nominatorB\x9c\x02\n\"com.ibc.lightclients.tendermint.v1B\x0fTendermintProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermint\xa2\x02\x03ILT\xaa\x02\x1eIbc.Lightclients.Tendermint.V1\xca\x02\x1eIbc\\Lightclients\\Tendermint\\V1\xe2\x02*Ibc\\Lightclients\\Tendermint\\V1\\GPBMetadata\xea\x02!Ibc::Lightclients::Tendermint::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.tendermint.v1.tendermint_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.ibc.lightclients.tendermint.v1B\017TendermintProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermint\242\002\003ILT\252\002\036Ibc.Lightclients.Tendermint.V1\312\002\036Ibc\\Lightclients\\Tendermint\\V1\342\002*Ibc\\Lightclients\\Tendermint\\V1\\GPBMetadata\352\002!Ibc::Lightclients::Tendermint::V1' + _globals['_CLIENTSTATE'].fields_by_name['trust_level']._loaded_options = None + _globals['_CLIENTSTATE'].fields_by_name['trust_level']._serialized_options = b'\310\336\037\000' + _globals['_CLIENTSTATE'].fields_by_name['trusting_period']._loaded_options = None + _globals['_CLIENTSTATE'].fields_by_name['trusting_period']._serialized_options = b'\310\336\037\000\230\337\037\001' + _globals['_CLIENTSTATE'].fields_by_name['unbonding_period']._loaded_options = None + _globals['_CLIENTSTATE'].fields_by_name['unbonding_period']._serialized_options = b'\310\336\037\000\230\337\037\001' + _globals['_CLIENTSTATE'].fields_by_name['max_clock_drift']._loaded_options = None + _globals['_CLIENTSTATE'].fields_by_name['max_clock_drift']._serialized_options = b'\310\336\037\000\230\337\037\001' + _globals['_CLIENTSTATE'].fields_by_name['frozen_height']._loaded_options = None + _globals['_CLIENTSTATE'].fields_by_name['frozen_height']._serialized_options = b'\310\336\037\000' + _globals['_CLIENTSTATE'].fields_by_name['latest_height']._loaded_options = None + _globals['_CLIENTSTATE'].fields_by_name['latest_height']._serialized_options = b'\310\336\037\000' + _globals['_CLIENTSTATE'].fields_by_name['allow_update_after_expiry']._loaded_options = None + _globals['_CLIENTSTATE'].fields_by_name['allow_update_after_expiry']._serialized_options = b'\030\001' + _globals['_CLIENTSTATE'].fields_by_name['allow_update_after_misbehaviour']._loaded_options = None + _globals['_CLIENTSTATE'].fields_by_name['allow_update_after_misbehaviour']._serialized_options = b'\030\001' + _globals['_CLIENTSTATE']._loaded_options = None + _globals['_CLIENTSTATE']._serialized_options = b'\210\240\037\000' + _globals['_CONSENSUSSTATE'].fields_by_name['timestamp']._loaded_options = None + _globals['_CONSENSUSSTATE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_CONSENSUSSTATE'].fields_by_name['root']._loaded_options = None + _globals['_CONSENSUSSTATE'].fields_by_name['root']._serialized_options = b'\310\336\037\000' + _globals['_CONSENSUSSTATE'].fields_by_name['next_validators_hash']._loaded_options = None + _globals['_CONSENSUSSTATE'].fields_by_name['next_validators_hash']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' + _globals['_CONSENSUSSTATE']._loaded_options = None + _globals['_CONSENSUSSTATE']._serialized_options = b'\210\240\037\000' + _globals['_MISBEHAVIOUR'].fields_by_name['client_id']._loaded_options = None + _globals['_MISBEHAVIOUR'].fields_by_name['client_id']._serialized_options = b'\030\001' + _globals['_MISBEHAVIOUR'].fields_by_name['header_1']._loaded_options = None + _globals['_MISBEHAVIOUR'].fields_by_name['header_1']._serialized_options = b'\342\336\037\007Header1' + _globals['_MISBEHAVIOUR'].fields_by_name['header_2']._loaded_options = None + _globals['_MISBEHAVIOUR'].fields_by_name['header_2']._serialized_options = b'\342\336\037\007Header2' + _globals['_MISBEHAVIOUR']._loaded_options = None + _globals['_MISBEHAVIOUR']._serialized_options = b'\210\240\037\000' + _globals['_HEADER'].fields_by_name['signed_header']._loaded_options = None + _globals['_HEADER'].fields_by_name['signed_header']._serialized_options = b'\320\336\037\001' + _globals['_HEADER'].fields_by_name['trusted_height']._loaded_options = None + _globals['_HEADER'].fields_by_name['trusted_height']._serialized_options = b'\310\336\037\000' + _globals['_CLIENTSTATE']._serialized_start=339 + _globals['_CLIENTSTATE']._serialized_end=1077 + _globals['_CONSENSUSSTATE']._serialized_start=1080 + _globals['_CONSENSUSSTATE']._serialized_end=1336 + _globals['_MISBEHAVIOUR']._serialized_start=1339 + _globals['_MISBEHAVIOUR']._serialized_end=1552 + _globals['_HEADER']._serialized_start=1555 + _globals['_HEADER']._serialized_end=1859 + _globals['_FRACTION']._serialized_start=1861 + _globals['_FRACTION']._serialized_end=1935 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2_grpc.py b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_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/ibc/lightclients/wasm/v1/genesis_pb2.py b/pyinjective/proto/ibc/lightclients/wasm/v1/genesis_pb2.py new file mode 100644 index 00000000..dff12841 --- /dev/null +++ b/pyinjective/proto/ibc/lightclients/wasm/v1/genesis_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ibc/lightclients/wasm/v1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&ibc/lightclients/wasm/v1/genesis.proto\x12\x18ibc.lightclients.wasm.v1\x1a\x14gogoproto/gogo.proto\"V\n\x0cGenesisState\x12\x46\n\tcontracts\x18\x01 \x03(\x0b\x32\".ibc.lightclients.wasm.v1.ContractB\x04\xc8\xde\x1f\x00R\tcontracts\"/\n\x08\x43ontract\x12\x1d\n\ncode_bytes\x18\x01 \x01(\x0cR\tcodeBytes:\x04\x88\xa0\x1f\x00\x42\xed\x01\n\x1c\x63om.ibc.lightclients.wasm.v1B\x0cGenesisProtoP\x01Z\n\nbid_amount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\tbidAmount\x12\x14\n\x05round\x18\x03 \x01(\x04R\x05round:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x0e\x61uction/MsgBid\"\x10\n\x0eMsgBidResponse\"\xb6\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12?\n\x06params\x18\x02 \x01(\x0b\x32!.injective.auction.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:*\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x17\x61uction/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xd1\x01\n\x03Msg\x12S\n\x03\x42id\x12!.injective.auction.v1beta1.MsgBid\x1a).injective.auction.v1beta1.MsgBidResponse\x12n\n\x0cUpdateParams\x12*.injective.auction.v1beta1.MsgUpdateParams\x1a\x32.injective.auction.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xfd\x01\n\x1d\x63om.injective.auction.v1beta1B\x07TxProtoP\x01ZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/types\xa2\x02\x03IAX\xaa\x02\x19Injective.Auction.V1beta1\xca\x02\x19Injective\\Auction\\V1beta1\xe2\x02%Injective\\Auction\\V1beta1\\GPBMetadata\xea\x02\x1bInjective::Auction::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.auction.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\035com.injective.auction.v1beta1B\007TxProtoP\001ZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/types\242\002\003IAX\252\002\031Injective.Auction.V1beta1\312\002\031Injective\\Auction\\V1beta1\342\002%Injective\\Auction\\V1beta1\\GPBMetadata\352\002\033Injective::Auction::V1beta1' + _globals['_MSGBID'].fields_by_name['bid_amount']._loaded_options = None + _globals['_MSGBID'].fields_by_name['bid_amount']._serialized_options = b'\310\336\037\000' + _globals['_MSGBID']._loaded_options = None + _globals['_MSGBID']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\016auction/MsgBid' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\027auction/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGBID']._serialized_start=232 + _globals['_MSGBID']._serialized_end=390 + _globals['_MSGBIDRESPONSE']._serialized_start=392 + _globals['_MSGBIDRESPONSE']._serialized_end=408 + _globals['_MSGUPDATEPARAMS']._serialized_start=411 + _globals['_MSGUPDATEPARAMS']._serialized_end=593 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=595 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=620 + _globals['_MSG']._serialized_start=623 + _globals['_MSG']._serialized_end=832 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/auction/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/auction/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..f699a2f6 --- /dev/null +++ b/pyinjective/proto/injective/auction/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,124 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.injective.auction.v1beta1 import tx_pb2 as injective_dot_auction_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the auction Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Bid = channel.unary_unary( + '/injective.auction.v1beta1.Msg/Bid', + request_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBid.SerializeToString, + response_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBidResponse.FromString, + _registered_method=True) + self.UpdateParams = channel.unary_unary( + '/injective.auction.v1beta1.Msg/UpdateParams', + request_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the auction Msg service. + """ + + def Bid(self, request, context): + """Bid defines a method for placing a bid for an auction + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Bid': grpc.unary_unary_rpc_method_handler( + servicer.Bid, + request_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBid.FromString, + response_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBidResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.auction.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('injective.auction.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the auction Msg service. + """ + + @staticmethod + def Bid(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.auction.v1beta1.Msg/Bid', + injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBid.SerializeToString, + injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBidResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.auction.v1beta1.Msg/UpdateParams', + injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py b/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py new file mode 100644 index 00000000..26a7a19c --- /dev/null +++ b/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/crypto/v1beta1/ethsecp256k1/keys.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0injective/crypto/v1beta1/ethsecp256k1/keys.proto\x12%injective.crypto.v1beta1.ethsecp256k1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"O\n\x06PubKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:3\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1cinjective/PubKeyEthSecp256k1\x92\xe7\xb0*\tkey_field\"M\n\x07PrivKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:0\x8a\xe7\xb0*\x1dinjective/PrivKeyEthSecp256k1\x92\xe7\xb0*\tkey_fieldB\xbb\x02\n)com.injective.crypto.v1beta1.ethsecp256k1B\tKeysProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/crypto/ethsecp256k1\xa2\x02\x04ICVE\xaa\x02%Injective.Crypto.V1beta1.Ethsecp256k1\xca\x02%Injective\\Crypto\\V1beta1\\Ethsecp256k1\xe2\x02\x31Injective\\Crypto\\V1beta1\\Ethsecp256k1\\GPBMetadata\xea\x02(Injective::Crypto::V1beta1::Ethsecp256k1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.crypto.v1beta1.ethsecp256k1.keys_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n)com.injective.crypto.v1beta1.ethsecp256k1B\tKeysProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/crypto/ethsecp256k1\242\002\004ICVE\252\002%Injective.Crypto.V1beta1.Ethsecp256k1\312\002%Injective\\Crypto\\V1beta1\\Ethsecp256k1\342\0021Injective\\Crypto\\V1beta1\\Ethsecp256k1\\GPBMetadata\352\002(Injective::Crypto::V1beta1::Ethsecp256k1' + _globals['_PUBKEY']._loaded_options = None + _globals['_PUBKEY']._serialized_options = b'\230\240\037\000\212\347\260*\034injective/PubKeyEthSecp256k1\222\347\260*\tkey_field' + _globals['_PRIVKEY']._loaded_options = None + _globals['_PRIVKEY']._serialized_options = b'\212\347\260*\035injective/PrivKeyEthSecp256k1\222\347\260*\tkey_field' + _globals['_PUBKEY']._serialized_start=132 + _globals['_PUBKEY']._serialized_end=211 + _globals['_PRIVKEY']._serialized_start=213 + _globals['_PRIVKEY']._serialized_end=290 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2_grpc.py b/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py new file mode 100644 index 00000000..6fa71602 --- /dev/null +++ b/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py @@ -0,0 +1,71 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/exchange/v1beta1/authz.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&injective/exchange/v1beta1/authz.proto\x12\x1ainjective.exchange.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x99\x01\n\x19\x43reateSpotLimitOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:8\xca\xb4-\rAuthorization\x8a\xe7\xb0*\"exchange/CreateSpotLimitOrderAuthz\"\x9b\x01\n\x1a\x43reateSpotMarketOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/CreateSpotMarketOrderAuthz\"\xa5\x01\n\x1f\x42\x61tchCreateSpotLimitOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:>\xca\xb4-\rAuthorization\x8a\xe7\xb0*(exchange/BatchCreateSpotLimitOrdersAuthz\"\x8f\x01\n\x14\x43\x61ncelSpotOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:3\xca\xb4-\rAuthorization\x8a\xe7\xb0*\x1d\x65xchange/CancelSpotOrderAuthz\"\x9b\x01\n\x1a\x42\x61tchCancelSpotOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/BatchCancelSpotOrdersAuthz\"\xa5\x01\n\x1f\x43reateDerivativeLimitOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:>\xca\xb4-\rAuthorization\x8a\xe7\xb0*(exchange/CreateDerivativeLimitOrderAuthz\"\xa7\x01\n CreateDerivativeMarketOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:?\xca\xb4-\rAuthorization\x8a\xe7\xb0*)exchange/CreateDerivativeMarketOrderAuthz\"\xb1\x01\n%BatchCreateDerivativeLimitOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:D\xca\xb4-\rAuthorization\x8a\xe7\xb0*.exchange/BatchCreateDerivativeLimitOrdersAuthz\"\x9b\x01\n\x1a\x43\x61ncelDerivativeOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/CancelDerivativeOrderAuthz\"\xa7\x01\n BatchCancelDerivativeOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:?\xca\xb4-\rAuthorization\x8a\xe7\xb0*)exchange/BatchCancelDerivativeOrdersAuthz\"\xc6\x01\n\x16\x42\x61tchUpdateOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12!\n\x0cspot_markets\x18\x02 \x03(\tR\x0bspotMarkets\x12-\n\x12\x64\x65rivative_markets\x18\x03 \x03(\tR\x11\x64\x65rivativeMarkets:5\xca\xb4-\rAuthorization\x8a\xe7\xb0*\x1f\x65xchange/BatchUpdateOrdersAuthzB\x86\x02\n\x1e\x63om.injective.exchange.v1beta1B\nAuthzProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.authz_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\nAuthzProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' + _globals['_CREATESPOTLIMITORDERAUTHZ']._loaded_options = None + _globals['_CREATESPOTLIMITORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*\"exchange/CreateSpotLimitOrderAuthz' + _globals['_CREATESPOTMARKETORDERAUTHZ']._loaded_options = None + _globals['_CREATESPOTMARKETORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*#exchange/CreateSpotMarketOrderAuthz' + _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._loaded_options = None + _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*(exchange/BatchCreateSpotLimitOrdersAuthz' + _globals['_CANCELSPOTORDERAUTHZ']._loaded_options = None + _globals['_CANCELSPOTORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*\035exchange/CancelSpotOrderAuthz' + _globals['_BATCHCANCELSPOTORDERSAUTHZ']._loaded_options = None + _globals['_BATCHCANCELSPOTORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*#exchange/BatchCancelSpotOrdersAuthz' + _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._loaded_options = None + _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*(exchange/CreateDerivativeLimitOrderAuthz' + _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._loaded_options = None + _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*)exchange/CreateDerivativeMarketOrderAuthz' + _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._loaded_options = None + _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*.exchange/BatchCreateDerivativeLimitOrdersAuthz' + _globals['_CANCELDERIVATIVEORDERAUTHZ']._loaded_options = None + _globals['_CANCELDERIVATIVEORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*#exchange/CancelDerivativeOrderAuthz' + _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._loaded_options = None + _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*)exchange/BatchCancelDerivativeOrdersAuthz' + _globals['_BATCHUPDATEORDERSAUTHZ']._loaded_options = None + _globals['_BATCHUPDATEORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*\037exchange/BatchUpdateOrdersAuthz' + _globals['_CREATESPOTLIMITORDERAUTHZ']._serialized_start=117 + _globals['_CREATESPOTLIMITORDERAUTHZ']._serialized_end=270 + _globals['_CREATESPOTMARKETORDERAUTHZ']._serialized_start=273 + _globals['_CREATESPOTMARKETORDERAUTHZ']._serialized_end=428 + _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._serialized_start=431 + _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._serialized_end=596 + _globals['_CANCELSPOTORDERAUTHZ']._serialized_start=599 + _globals['_CANCELSPOTORDERAUTHZ']._serialized_end=742 + _globals['_BATCHCANCELSPOTORDERSAUTHZ']._serialized_start=745 + _globals['_BATCHCANCELSPOTORDERSAUTHZ']._serialized_end=900 + _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._serialized_start=903 + _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._serialized_end=1068 + _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._serialized_start=1071 + _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._serialized_end=1238 + _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._serialized_start=1241 + _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._serialized_end=1418 + _globals['_CANCELDERIVATIVEORDERAUTHZ']._serialized_start=1421 + _globals['_CANCELDERIVATIVEORDERAUTHZ']._serialized_end=1576 + _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._serialized_start=1579 + _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._serialized_end=1746 + _globals['_BATCHUPDATEORDERSAUTHZ']._serialized_start=1749 + _globals['_BATCHUPDATEORDERSAUTHZ']._serialized_end=1947 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/authz_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/authz_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/exchange/v1beta1/authz_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py new file mode 100644 index 00000000..a500fb8d --- /dev/null +++ b/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py @@ -0,0 +1,149 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/exchange/v1beta1/events.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 +from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/exchange/v1beta1/events.proto\x12\x1ainjective.exchange.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a)injective/exchange/v1beta1/exchange.proto\"\xdc\x01\n\x17\x45ventBatchSpotExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12O\n\rexecutionType\x18\x03 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionTypeR\rexecutionType\x12<\n\x06trades\x18\x04 \x03(\x0b\x32$.injective.exchange.v1beta1.TradeLogR\x06trades\"\xe7\x02\n\x1d\x45ventBatchDerivativeExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12%\n\x0eis_liquidation\x18\x03 \x01(\x08R\risLiquidation\x12R\n\x12\x63umulative_funding\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12O\n\rexecutionType\x18\x05 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionTypeR\rexecutionType\x12\x46\n\x06trades\x18\x06 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativeTradeLogR\x06trades\"\xc2\x02\n\x1d\x45ventLostFundsFromLiquidation\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12x\n\'lost_funds_from_available_during_payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"lostFundsFromAvailableDuringPayout\x12\x65\n\x1dlost_funds_from_order_cancels\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19lostFundsFromOrderCancels\"\x89\x01\n\x1c\x45ventBatchDerivativePosition\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\tpositions\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.SubaccountPositionR\tpositions\"\xbb\x01\n\x1b\x45ventDerivativeMarketPaused\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12.\n\x13total_missing_funds\x18\x03 \x01(\tR\x11totalMissingFunds\x12,\n\x12missing_funds_rate\x18\x04 \x01(\tR\x10missingFundsRate\"\x8f\x01\n\x1b\x45ventMarketBeyondBankruptcy\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12\x30\n\x14missing_market_funds\x18\x03 \x01(\tR\x12missingMarketFunds\"\x88\x01\n\x18\x45ventAllPositionsHaircut\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12,\n\x12missing_funds_rate\x18\x03 \x01(\tR\x10missingFundsRate\"o\n\x1e\x45ventBinaryOptionsMarketUpdate\x12M\n\x06market\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketB\x04\xc8\xde\x1f\x00R\x06market\"\xc9\x01\n\x12\x45ventNewSpotOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12I\n\nbuy_orders\x18\x02 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\tbuyOrders\x12K\n\x0bsell_orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\nsellOrders\"\xdb\x01\n\x18\x45ventNewDerivativeOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12O\n\nbuy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\tbuyOrders\x12Q\n\x0bsell_orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\nsellOrders\"{\n\x14\x45ventCancelSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\"]\n\x15\x45ventSpotMarketUpdate\x12\x44\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketB\x04\xc8\xde\x1f\x00R\x06market\"\xa7\x02\n\x1a\x45ventPerpetualMarketUpdate\x12J\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12i\n\x15perpetual_market_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x01R\x13perpetualMarketInfo\x12R\n\x07\x66unding\x18\x03 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x01R\x07\x66unding\"\xe4\x01\n\x1e\x45ventExpiryFuturesMarketUpdate\x12J\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12v\n\x1a\x65xpiry_futures_market_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x01R\x17\x65xpiryFuturesMarketInfo\"\xcc\x02\n!EventPerpetualMarketFundingUpdate\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12R\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x07\x66unding\x12*\n\x11is_hourly_funding\x18\x03 \x01(\x08R\x0fisHourlyFunding\x12\x46\n\x0c\x66unding_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x66undingRate\x12\x42\n\nmark_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\"\x97\x01\n\x16\x45ventSubaccountDeposit\x12\x1f\n\x0bsrc_address\x18\x01 \x01(\tR\nsrcAddress\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\x98\x01\n\x17\x45ventSubaccountWithdraw\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12\x1f\n\x0b\x64st_address\x18\x02 \x01(\tR\ndstAddress\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\xb1\x01\n\x1e\x45ventSubaccountBalanceTransfer\x12*\n\x11src_subaccount_id\x18\x01 \x01(\tR\x0fsrcSubaccountId\x12*\n\x11\x64st_subaccount_id\x18\x02 \x01(\tR\x0f\x64stSubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"m\n\x17\x45ventBatchDepositUpdate\x12R\n\x0f\x64\x65posit_updates\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DepositUpdateR\x0e\x64\x65positUpdates\"\xc7\x01\n\x1b\x44\x65rivativeMarketOrderCancel\x12Z\n\x0cmarket_order\x18\x01 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\x12L\n\x0f\x63\x61ncel_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x63\x61ncelQuantity\"\xa7\x02\n\x1a\x45ventCancelDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12W\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12m\n\x13market_order_cancel\x18\x04 \x01(\x0b\x32\x37.injective.exchange.v1beta1.DerivativeMarketOrderCancelB\x04\xc8\xde\x1f\x01R\x11marketOrderCancel\"g\n\x18\x45ventFeeDiscountSchedule\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x08schedule\"\xe2\x01\n EventTradingRewardCampaignUpdate\x12Z\n\rcampaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12\x62\n\x15\x63\x61mpaign_reward_pools\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools\"u\n\x1e\x45ventTradingRewardDistribution\x12S\n\x0f\x61\x63\x63ount_rewards\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.AccountRewardsR\x0e\x61\x63\x63ountRewards\"\xb5\x01\n\"EventNewConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderR\x05order\x12\x12\n\x04hash\x18\x03 \x01(\x0cR\x04hash\x12\x1b\n\tis_market\x18\x04 \x01(\x08R\x08isMarket\"\x9f\x02\n%EventCancelConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12W\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12Z\n\x0cmarket_order\x18\x04 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\"\xfb\x01\n&EventConditionalDerivativeOrderTrigger\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12&\n\x0eisLimitTrigger\x18\x02 \x01(\x08R\x0eisLimitTrigger\x12\x30\n\x14triggered_order_hash\x18\x03 \x01(\x0cR\x12triggeredOrderHash\x12*\n\x11placed_order_hash\x18\x04 \x01(\x0cR\x0fplacedOrderHash\x12.\n\x13triggered_order_cid\x18\x05 \x01(\tR\x11triggeredOrderCid\"l\n\x0e\x45ventOrderFail\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0cR\x07\x61\x63\x63ount\x12\x16\n\x06hashes\x18\x02 \x03(\x0cR\x06hashes\x12\x14\n\x05\x66lags\x18\x03 \x03(\rR\x05\x66lags\x12\x12\n\x04\x63ids\x18\x04 \x03(\tR\x04\x63ids\"\x94\x01\n+EventAtomicMarketOrderFeeMultipliersUpdated\x12\x65\n\x16market_fee_multipliers\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers\"\xc2\x01\n\x14\x45ventOrderbookUpdate\x12N\n\x0cspot_updates\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdateR\x0bspotUpdates\x12Z\n\x12\x64\x65rivative_updates\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdateR\x11\x64\x65rivativeUpdates\"h\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x43\n\torderbook\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderbookR\torderbook\"\xae\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12@\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\tbuyLevels\x12\x42\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\nsellLevels\"|\n\x18\x45ventGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants\"\x81\x01\n\x14\x45ventGrantActivation\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"G\n\x11\x45ventInvalidGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\"\xab\x01\n\x14\x45ventOrderCancelFail\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scriptionB\x87\x02\n\x1e\x63om.injective.exchange.v1beta1B\x0b\x45ventsProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.events_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\013EventsProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' + _globals['_EVENTBATCHDERIVATIVEEXECUTION'].fields_by_name['cumulative_funding']._loaded_options = None + _globals['_EVENTBATCHDERIVATIVEEXECUTION'].fields_by_name['cumulative_funding']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_available_during_payout']._loaded_options = None + _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_available_during_payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_order_cancels']._loaded_options = None + _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_order_cancels']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTBINARYOPTIONSMARKETUPDATE'].fields_by_name['market']._loaded_options = None + _globals['_EVENTBINARYOPTIONSMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' + _globals['_EVENTCANCELSPOTORDER'].fields_by_name['order']._loaded_options = None + _globals['_EVENTCANCELSPOTORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_EVENTSPOTMARKETUPDATE'].fields_by_name['market']._loaded_options = None + _globals['_EVENTSPOTMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' + _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['market']._loaded_options = None + _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' + _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['perpetual_market_info']._loaded_options = None + _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['perpetual_market_info']._serialized_options = b'\310\336\037\001' + _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['funding']._loaded_options = None + _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['funding']._serialized_options = b'\310\336\037\001' + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE'].fields_by_name['market']._loaded_options = None + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE'].fields_by_name['expiry_futures_market_info']._loaded_options = None + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE'].fields_by_name['expiry_futures_market_info']._serialized_options = b'\310\336\037\001' + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['funding']._loaded_options = None + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['funding']._serialized_options = b'\310\336\037\000' + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['funding_rate']._loaded_options = None + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['funding_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['mark_price']._loaded_options = None + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['mark_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTSUBACCOUNTDEPOSIT'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTSUBACCOUNTDEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_EVENTSUBACCOUNTWITHDRAW'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTSUBACCOUNTWITHDRAW'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_EVENTSUBACCOUNTBALANCETRANSFER'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTSUBACCOUNTBALANCETRANSFER'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['market_order']._loaded_options = None + _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['market_order']._serialized_options = b'\310\336\037\001' + _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['cancel_quantity']._loaded_options = None + _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['cancel_quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTCANCELDERIVATIVEORDER'].fields_by_name['limit_order']._loaded_options = None + _globals['_EVENTCANCELDERIVATIVEORDER'].fields_by_name['limit_order']._serialized_options = b'\310\336\037\001' + _globals['_EVENTCANCELDERIVATIVEORDER'].fields_by_name['market_order_cancel']._loaded_options = None + _globals['_EVENTCANCELDERIVATIVEORDER'].fields_by_name['market_order_cancel']._serialized_options = b'\310\336\037\001' + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER'].fields_by_name['limit_order']._loaded_options = None + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER'].fields_by_name['limit_order']._serialized_options = b'\310\336\037\001' + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER'].fields_by_name['market_order']._loaded_options = None + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER'].fields_by_name['market_order']._serialized_options = b'\310\336\037\001' + _globals['_EVENTGRANTACTIVATION'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTGRANTACTIVATION'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_EVENTBATCHSPOTEXECUTION']._serialized_start=208 + _globals['_EVENTBATCHSPOTEXECUTION']._serialized_end=428 + _globals['_EVENTBATCHDERIVATIVEEXECUTION']._serialized_start=431 + _globals['_EVENTBATCHDERIVATIVEEXECUTION']._serialized_end=790 + _globals['_EVENTLOSTFUNDSFROMLIQUIDATION']._serialized_start=793 + _globals['_EVENTLOSTFUNDSFROMLIQUIDATION']._serialized_end=1115 + _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_start=1118 + _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_end=1255 + _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_start=1258 + _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_end=1445 + _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_start=1448 + _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_end=1591 + _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_start=1594 + _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_end=1730 + _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_start=1732 + _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_end=1843 + _globals['_EVENTNEWSPOTORDERS']._serialized_start=1846 + _globals['_EVENTNEWSPOTORDERS']._serialized_end=2047 + _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_start=2050 + _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_end=2269 + _globals['_EVENTCANCELSPOTORDER']._serialized_start=2271 + _globals['_EVENTCANCELSPOTORDER']._serialized_end=2394 + _globals['_EVENTSPOTMARKETUPDATE']._serialized_start=2396 + _globals['_EVENTSPOTMARKETUPDATE']._serialized_end=2489 + _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_start=2492 + _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_end=2787 + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_start=2790 + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_end=3018 + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_start=3021 + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_end=3353 + _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_start=3356 + _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_end=3507 + _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_start=3510 + _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_end=3662 + _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_start=3665 + _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_end=3842 + _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_start=3844 + _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_end=3953 + _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_start=3956 + _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_end=4155 + _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_start=4158 + _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_end=4453 + _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_start=4455 + _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_end=4558 + _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_start=4561 + _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_end=4787 + _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_start=4789 + _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_end=4906 + _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_start=4909 + _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_end=5090 + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_start=5093 + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_end=5380 + _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_start=5383 + _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_end=5634 + _globals['_EVENTORDERFAIL']._serialized_start=5636 + _globals['_EVENTORDERFAIL']._serialized_end=5744 + _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_start=5747 + _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_end=5895 + _globals['_EVENTORDERBOOKUPDATE']._serialized_start=5898 + _globals['_EVENTORDERBOOKUPDATE']._serialized_end=6092 + _globals['_ORDERBOOKUPDATE']._serialized_start=6094 + _globals['_ORDERBOOKUPDATE']._serialized_end=6198 + _globals['_ORDERBOOK']._serialized_start=6201 + _globals['_ORDERBOOK']._serialized_end=6375 + _globals['_EVENTGRANTAUTHORIZATIONS']._serialized_start=6377 + _globals['_EVENTGRANTAUTHORIZATIONS']._serialized_end=6501 + _globals['_EVENTGRANTACTIVATION']._serialized_start=6504 + _globals['_EVENTGRANTACTIVATION']._serialized_end=6633 + _globals['_EVENTINVALIDGRANT']._serialized_start=6635 + _globals['_EVENTINVALIDGRANT']._serialized_end=6706 + _globals['_EVENTORDERCANCELFAIL']._serialized_start=6709 + _globals['_EVENTORDERCANCELFAIL']._serialized_end=6880 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/events_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/events_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/exchange/v1beta1/events_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py new file mode 100644 index 00000000..7c6af0b8 --- /dev/null +++ b/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py @@ -0,0 +1,419 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/exchange/v1beta1/exchange.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +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\x1a\x11\x61mino/amino.proto\"\xdd\x15\n\x06Params\x12\x65\n\x1fspot_market_instant_listing_fee\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x1bspotMarketInstantListingFee\x12q\n%derivative_market_instant_listing_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R!derivativeMarketInstantListingFee\x12\x61\n\x1b\x64\x65\x66\x61ult_spot_maker_fee_rate\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17\x64\x65\x66\x61ultSpotMakerFeeRate\x12\x61\n\x1b\x64\x65\x66\x61ult_spot_taker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17\x64\x65\x66\x61ultSpotTakerFeeRate\x12m\n!default_derivative_maker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultDerivativeMakerFeeRate\x12m\n!default_derivative_taker_fee_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultDerivativeTakerFeeRate\x12\x64\n\x1c\x64\x65\x66\x61ult_initial_margin_ratio\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19\x64\x65\x66\x61ultInitialMarginRatio\x12l\n default_maintenance_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultMaintenanceMarginRatio\x12\x38\n\x18\x64\x65\x66\x61ult_funding_interval\x18\t \x01(\x03R\x16\x64\x65\x66\x61ultFundingInterval\x12)\n\x10\x66unding_multiple\x18\n \x01(\x03R\x0f\x66undingMultiple\x12X\n\x16relayer_fee_share_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12i\n\x1f\x64\x65\x66\x61ult_hourly_funding_rate_cap\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1b\x64\x65\x66\x61ultHourlyFundingRateCap\x12\x64\n\x1c\x64\x65\x66\x61ult_hourly_interest_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19\x64\x65\x66\x61ultHourlyInterestRate\x12\x44\n\x1fmax_derivative_order_side_count\x18\x0e \x01(\rR\x1bmaxDerivativeOrderSideCount\x12s\n\'inj_reward_staked_requirement_threshold\x18\x0f \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR#injRewardStakedRequirementThreshold\x12G\n trading_rewards_vesting_duration\x18\x10 \x01(\x03R\x1dtradingRewardsVestingDuration\x12\x64\n\x1cliquidator_reward_share_rate\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19liquidatorRewardShareRate\x12x\n)binary_options_market_instant_listing_fee\x18\x12 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R$binaryOptionsMarketInstantListingFee\x12\x80\x01\n atomic_market_order_access_level\x18\x13 \x01(\x0e\x32\x38.injective.exchange.v1beta1.AtomicMarketOrderAccessLevelR\x1c\x61tomicMarketOrderAccessLevel\x12x\n\'spot_atomic_market_order_fee_multiplier\x18\x14 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"spotAtomicMarketOrderFeeMultiplier\x12\x84\x01\n-derivative_atomic_market_order_fee_multiplier\x18\x15 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR(derivativeAtomicMarketOrderFeeMultiplier\x12\x8b\x01\n1binary_options_atomic_market_order_fee_multiplier\x18\x16 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR+binaryOptionsAtomicMarketOrderFeeMultiplier\x12^\n\x19minimal_protocol_fee_rate\x18\x17 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16minimalProtocolFeeRate\x12[\n+is_instant_derivative_market_launch_enabled\x18\x18 \x01(\x08R&isInstantDerivativeMarketLaunchEnabled\x12\x44\n\x1fpost_only_mode_height_threshold\x18\x19 \x01(\x03R\x1bpostOnlyModeHeightThreshold\x12g\n1margin_decrease_price_timestamp_threshold_seconds\x18\x1a \x01(\x03R,marginDecreasePriceTimestampThresholdSeconds\x12\'\n\x0f\x65xchange_admins\x18\x1b \x03(\tR\x0e\x65xchangeAdmins\x12L\n\x13inj_auction_max_cap\x18\x1c \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10injAuctionMaxCap:\x18\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0f\x65xchange/Params\"\x84\x01\n\x13MarketFeeMultiplier\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\x0e\x66\x65\x65_multiplier\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rfeeMultiplier:\x04\x88\xa0\x1f\x00\"\xec\x08\n\x10\x44\x65rivativeMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1f\n\x0boracle_base\x18\x02 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x03 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x05 \x01(\rR\x11oracleScaleFactor\x12\x1f\n\x0bquote_denom\x18\x06 \x01(\tR\nquoteDenom\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12U\n\x14initial_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12 \n\x0bisPerpetual\x18\r \x01(\x08R\x0bisPerpetual\x12@\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x14\n\x05\x61\x64min\x18\x12 \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\x13 \x01(\rR\x10\x61\x64minPermissions:\x04\x88\xa0\x1f\x00\"\xd7\x08\n\x13\x42inaryOptionsMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x02 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x03 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x05 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x06 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\x07 \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\x08 \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\t \x01(\tR\nquoteDenom\x12\x1b\n\tmarket_id\x18\n \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12@\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12N\n\x10settlement_price\x18\x11 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x46\n\x0cmin_notional\x18\x12 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12+\n\x11\x61\x64min_permissions\x18\x13 \x01(\rR\x10\x61\x64minPermissions:\x04\x88\xa0\x1f\x00\"\xe4\x02\n\x17\x45xpiryFuturesMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x31\n\x14\x65xpiration_timestamp\x18\x02 \x01(\x03R\x13\x65xpirationTimestamp\x12\x30\n\x14twap_start_timestamp\x18\x03 \x01(\x03R\x12twapStartTimestamp\x12w\n&expiration_twap_start_price_cumulative\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"expirationTwapStartPriceCumulative\x12N\n\x10settlement_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\"\xc6\x02\n\x13PerpetualMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Z\n\x17hourly_funding_rate_cap\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14hourlyFundingRateCap\x12U\n\x14hourly_interest_rate\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12hourlyInterestRate\x12\x34\n\x16next_funding_timestamp\x18\x04 \x01(\x03R\x14nextFundingTimestamp\x12)\n\x10\x66unding_interval\x18\x05 \x01(\x03R\x0f\x66undingInterval\"\xe3\x01\n\x16PerpetualMarketFunding\x12R\n\x12\x63umulative_funding\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12N\n\x10\x63umulative_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x63umulativePrice\x12%\n\x0elast_timestamp\x18\x03 \x01(\x03R\rlastTimestamp\"\x8d\x01\n\x1e\x44\x65rivativeMarketSettlementInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\"=\n\x14NextFundingTimestamp\x12%\n\x0enext_timestamp\x18\x01 \x01(\x03R\rnextTimestamp\"\xea\x01\n\x0eMidPriceAndTOB\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"\xec\x05\n\nSpotMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x02 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12@\n\x06status\x18\x08 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x14\n\x05\x61\x64min\x18\x0c \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\r \x01(\rR\x10\x61\x64minPermissions\"\xa5\x01\n\x07\x44\x65posit\x12P\n\x11\x61vailable_balance\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10\x61vailableBalance\x12H\n\rtotal_balance\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctotalBalance\",\n\x14SubaccountTradeNonce\x12\x14\n\x05nonce\x18\x01 \x01(\rR\x05nonce\"\xe3\x01\n\tOrderInfo\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12#\n\rfee_recipient\x18\x02 \x01(\tR\x0c\x66\x65\x65Recipient\x12\x39\n\x05price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id\"\x84\x02\n\tSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12H\n\rtrigger_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\"\xcc\x02\n\x0eSpotLimitOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12?\n\x08\x66illable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12H\n\rtrigger_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\"\xd4\x02\n\x0fSpotMarketOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x46\n\x0c\x62\x61lance_hold\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\x12\x1d\n\norder_hash\x18\x03 \x01(\x0cR\torderHash\x12\x44\n\norder_type\x18\x04 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\"\xc7\x02\n\x0f\x44\x65rivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\"\xfc\x03\n\x1bSubaccountOrderbookMetadata\x12\x39\n\x19vanilla_limit_order_count\x18\x01 \x01(\rR\x16vanillaLimitOrderCount\x12@\n\x1dreduce_only_limit_order_count\x18\x02 \x01(\rR\x19reduceOnlyLimitOrderCount\x12h\n\x1e\x61ggregate_reduce_only_quantity\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1b\x61ggregateReduceOnlyQuantity\x12\x61\n\x1a\x61ggregate_vanilla_quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x18\x61ggregateVanillaQuantity\x12\x45\n\x1fvanilla_conditional_order_count\x18\x05 \x01(\rR\x1cvanillaConditionalOrderCount\x12L\n#reduce_only_conditional_order_count\x18\x06 \x01(\rR\x1freduceOnlyConditionalOrderCount\"\xc3\x01\n\x0fSubaccountOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\"\n\x0cisReduceOnly\x18\x03 \x01(\x08R\x0cisReduceOnly\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id\"w\n\x13SubaccountOrderData\x12\x41\n\x05order\x18\x01 \x01(\x0b\x32+.injective.exchange.v1beta1.SubaccountOrderR\x05order\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\"\x8f\x03\n\x14\x44\x65rivativeLimitOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12?\n\x08\x66illable\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x06 \x01(\x0cR\torderHash\"\x95\x03\n\x15\x44\x65rivativeMarketOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12\x44\n\x0bmargin_hold\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nmarginHold\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x06 \x01(\x0cR\torderHash\"\xc5\x02\n\x08Position\x12\x16\n\x06isLong\x18\x01 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12;\n\x06margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12]\n\x18\x63umulative_funding_entry\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16\x63umulativeFundingEntry\"I\n\x14MarketOrderIndicator\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05isBuy\x18\x02 \x01(\x08R\x05isBuy\"\xcd\x02\n\x08TradeLog\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12#\n\rsubaccount_id\x18\x03 \x01(\x0cR\x0csubaccountId\x12\x35\n\x03\x66\x65\x65\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\"\x9a\x02\n\rPositionDelta\x12\x17\n\x07is_long\x18\x01 \x01(\x08R\x06isLong\x12R\n\x12\x65xecution_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x65xecutionQuantity\x12N\n\x10\x65xecution_margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65xecutionMargin\x12L\n\x0f\x65xecution_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x65xecutionPrice\"\xa1\x03\n\x12\x44\x65rivativeTradeLog\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12P\n\x0eposition_delta\x18\x02 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaR\rpositionDelta\x12;\n\x06payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout\x12\x35\n\x03\x66\x65\x65\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\x12\x35\n\x03pnl\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03pnl\"{\n\x12SubaccountPosition\x12@\n\x08position\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionR\x08position\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\"w\n\x11SubaccountDeposit\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12=\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x07\x64\x65posit\"p\n\rDepositUpdate\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12I\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.SubaccountDepositR\x08\x64\x65posits\"\xcc\x01\n\x10PointsMultiplier\x12[\n\x17maker_points_multiplier\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15makerPointsMultiplier\x12[\n\x17taker_points_multiplier\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15takerPointsMultiplier\"\xfe\x02\n\x1eTradingRewardCampaignBoostInfo\x12\x35\n\x17\x62oosted_spot_market_ids\x18\x01 \x03(\tR\x14\x62oostedSpotMarketIds\x12j\n\x17spot_market_multipliers\x18\x02 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00R\x15spotMarketMultipliers\x12\x41\n\x1d\x62oosted_derivative_market_ids\x18\x03 \x03(\tR\x1a\x62oostedDerivativeMarketIds\x12v\n\x1d\x64\x65rivative_market_multipliers\x18\x04 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00R\x1b\x64\x65rivativeMarketMultipliers\"\xbc\x01\n\x12\x43\x61mpaignRewardPool\x12\'\n\x0fstart_timestamp\x18\x01 \x01(\x03R\x0estartTimestamp\x12}\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.CoinsR\x12maxCampaignRewards\"\xa9\x02\n\x19TradingRewardCampaignInfo\x12:\n\x19\x63\x61mpaign_duration_seconds\x18\x01 \x01(\x03R\x17\x63\x61mpaignDurationSeconds\x12!\n\x0cquote_denoms\x18\x02 \x03(\tR\x0bquoteDenoms\x12u\n\x19trading_reward_boost_info\x18\x03 \x01(\x0b\x32:.injective.exchange.v1beta1.TradingRewardCampaignBoostInfoR\x16tradingRewardBoostInfo\x12\x36\n\x17\x64isqualified_market_ids\x18\x04 \x03(\tR\x15\x64isqualifiedMarketIds\"\xc0\x02\n\x13\x46\x65\x65\x44iscountTierInfo\x12S\n\x13maker_discount_rate\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11makerDiscountRate\x12S\n\x13taker_discount_rate\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11takerDiscountRate\x12\x42\n\rstaked_amount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0cstakedAmount\x12;\n\x06volume\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06volume\"\x8c\x02\n\x13\x46\x65\x65\x44iscountSchedule\x12!\n\x0c\x62ucket_count\x18\x01 \x01(\x04R\x0b\x62ucketCount\x12\'\n\x0f\x62ucket_duration\x18\x02 \x01(\x03R\x0e\x62ucketDuration\x12!\n\x0cquote_denoms\x18\x03 \x03(\tR\x0bquoteDenoms\x12N\n\ntier_infos\x18\x04 \x03(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfoR\ttierInfos\x12\x36\n\x17\x64isqualified_market_ids\x18\x05 \x03(\tR\x15\x64isqualifiedMarketIds\"M\n\x12\x46\x65\x65\x44iscountTierTTL\x12\x12\n\x04tier\x18\x01 \x01(\x04R\x04tier\x12#\n\rttl_timestamp\x18\x02 \x01(\x03R\x0cttlTimestamp\"\x9e\x01\n\x0cVolumeRecord\x12\x46\n\x0cmaker_volume\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bmakerVolume\x12\x46\n\x0ctaker_volume\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0btakerVolume\"\x91\x01\n\x0e\x41\x63\x63ountRewards\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x65\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.CoinsR\x07rewards\"\x86\x01\n\x0cTradeRecords\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Y\n\x14latest_trade_records\x18\x02 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecordR\x12latestTradeRecords\"6\n\rSubaccountIDs\x12%\n\x0esubaccount_ids\x18\x01 \x03(\x0cR\rsubaccountIds\"\xa7\x01\n\x0bTradeRecord\x12\x1c\n\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\"m\n\x05Level\x12\x31\n\x01p\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01p\x12\x31\n\x01q\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01q\"\xd3\x01\n\x11TrimmedLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\"\x97\x01\n\x1f\x41ggregateSubaccountVolumeRecord\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12O\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes\"\x89\x01\n\x1c\x41ggregateAccountVolumeRecord\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12O\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes\"s\n\x0cMarketVolume\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x06volume\x18\x02 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00R\x06volume\"A\n\rDenomDecimals\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1a\n\x08\x64\x65\x63imals\x18\x02 \x01(\x04R\x08\x64\x65\x63imals\"e\n\x12GrantAuthorization\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"^\n\x0b\x41\x63tiveGrant\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"\x90\x01\n\x0e\x45\x66\x66\x65\x63tiveGrant\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12I\n\x11net_granted_stake\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0fnetGrantedStake\x12\x19\n\x08is_valid\x18\x03 \x01(\x08R\x07isValid*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 \x05LIMITB\x89\x02\n\x1e\x63om.injective.exchange.v1beta1B\rExchangeProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.exchange_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\rExchangeProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' + _globals['_ORDERTYPE'].values_by_name["UNSPECIFIED"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' + _globals['_ORDERTYPE'].values_by_name["BUY"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["BUY"]._serialized_options = b'\212\235 \003BUY' + _globals['_ORDERTYPE'].values_by_name["SELL"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["SELL"]._serialized_options = b'\212\235 \004SELL' + _globals['_ORDERTYPE'].values_by_name["STOP_BUY"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["STOP_BUY"]._serialized_options = b'\212\235 \010STOP_BUY' + _globals['_ORDERTYPE'].values_by_name["STOP_SELL"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["STOP_SELL"]._serialized_options = b'\212\235 \tSTOP_SELL' + _globals['_ORDERTYPE'].values_by_name["TAKE_BUY"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["TAKE_BUY"]._serialized_options = b'\212\235 \010TAKE_BUY' + _globals['_ORDERTYPE'].values_by_name["TAKE_SELL"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["TAKE_SELL"]._serialized_options = b'\212\235 \tTAKE_SELL' + _globals['_ORDERTYPE'].values_by_name["BUY_PO"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["BUY_PO"]._serialized_options = b'\212\235 \006BUY_PO' + _globals['_ORDERTYPE'].values_by_name["SELL_PO"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["SELL_PO"]._serialized_options = b'\212\235 \007SELL_PO' + _globals['_ORDERTYPE'].values_by_name["BUY_ATOMIC"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["BUY_ATOMIC"]._serialized_options = b'\212\235 \nBUY_ATOMIC' + _globals['_ORDERTYPE'].values_by_name["SELL_ATOMIC"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["SELL_ATOMIC"]._serialized_options = b'\212\235 \013SELL_ATOMIC' + _globals['_ORDERMASK'].values_by_name["UNUSED"]._loaded_options = None + _globals['_ORDERMASK'].values_by_name["UNUSED"]._serialized_options = b'\212\235 \006UNUSED' + _globals['_ORDERMASK'].values_by_name["ANY"]._loaded_options = None + _globals['_ORDERMASK'].values_by_name["ANY"]._serialized_options = b'\212\235 \003ANY' + _globals['_ORDERMASK'].values_by_name["REGULAR"]._loaded_options = None + _globals['_ORDERMASK'].values_by_name["REGULAR"]._serialized_options = b'\212\235 \007REGULAR' + _globals['_ORDERMASK'].values_by_name["CONDITIONAL"]._loaded_options = None + _globals['_ORDERMASK'].values_by_name["CONDITIONAL"]._serialized_options = b'\212\235 \013CONDITIONAL' + _globals['_ORDERMASK'].values_by_name["DIRECTION_BUY_OR_HIGHER"]._loaded_options = None + _globals['_ORDERMASK'].values_by_name["DIRECTION_BUY_OR_HIGHER"]._serialized_options = b'\212\235 \rBUY_OR_HIGHER' + _globals['_ORDERMASK'].values_by_name["DIRECTION_SELL_OR_LOWER"]._loaded_options = None + _globals['_ORDERMASK'].values_by_name["DIRECTION_SELL_OR_LOWER"]._serialized_options = b'\212\235 \rSELL_OR_LOWER' + _globals['_ORDERMASK'].values_by_name["TYPE_MARKET"]._loaded_options = None + _globals['_ORDERMASK'].values_by_name["TYPE_MARKET"]._serialized_options = b'\212\235 \006MARKET' + _globals['_ORDERMASK'].values_by_name["TYPE_LIMIT"]._loaded_options = None + _globals['_ORDERMASK'].values_by_name["TYPE_LIMIT"]._serialized_options = b'\212\235 \005LIMIT' + _globals['_PARAMS'].fields_by_name['spot_market_instant_listing_fee']._loaded_options = None + _globals['_PARAMS'].fields_by_name['spot_market_instant_listing_fee']._serialized_options = b'\310\336\037\000' + _globals['_PARAMS'].fields_by_name['derivative_market_instant_listing_fee']._loaded_options = None + _globals['_PARAMS'].fields_by_name['derivative_market_instant_listing_fee']._serialized_options = b'\310\336\037\000' + _globals['_PARAMS'].fields_by_name['default_spot_maker_fee_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_spot_maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['default_spot_taker_fee_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_spot_taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['default_derivative_maker_fee_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_derivative_maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['default_derivative_taker_fee_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_derivative_taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['default_initial_margin_ratio']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['default_maintenance_margin_ratio']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['relayer_fee_share_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['default_hourly_funding_rate_cap']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_hourly_funding_rate_cap']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['default_hourly_interest_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_hourly_interest_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['inj_reward_staked_requirement_threshold']._loaded_options = None + _globals['_PARAMS'].fields_by_name['inj_reward_staked_requirement_threshold']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_PARAMS'].fields_by_name['liquidator_reward_share_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['liquidator_reward_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['binary_options_market_instant_listing_fee']._loaded_options = None + _globals['_PARAMS'].fields_by_name['binary_options_market_instant_listing_fee']._serialized_options = b'\310\336\037\000' + _globals['_PARAMS'].fields_by_name['spot_atomic_market_order_fee_multiplier']._loaded_options = None + _globals['_PARAMS'].fields_by_name['spot_atomic_market_order_fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['derivative_atomic_market_order_fee_multiplier']._loaded_options = None + _globals['_PARAMS'].fields_by_name['derivative_atomic_market_order_fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['binary_options_atomic_market_order_fee_multiplier']._loaded_options = None + _globals['_PARAMS'].fields_by_name['binary_options_atomic_market_order_fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['minimal_protocol_fee_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['minimal_protocol_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['inj_auction_max_cap']._loaded_options = None + _globals['_PARAMS'].fields_by_name['inj_auction_max_cap']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\017exchange/Params' + _globals['_MARKETFEEMULTIPLIER'].fields_by_name['fee_multiplier']._loaded_options = None + _globals['_MARKETFEEMULTIPLIER'].fields_by_name['fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MARKETFEEMULTIPLIER']._loaded_options = None + _globals['_MARKETFEEMULTIPLIER']._serialized_options = b'\210\240\037\000' + _globals['_DERIVATIVEMARKET'].fields_by_name['initial_margin_ratio']._loaded_options = None + _globals['_DERIVATIVEMARKET'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKET'].fields_by_name['maintenance_margin_ratio']._loaded_options = None + _globals['_DERIVATIVEMARKET'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKET'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_DERIVATIVEMARKET'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKET'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_DERIVATIVEMARKET'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKET'].fields_by_name['relayer_fee_share_rate']._loaded_options = None + _globals['_DERIVATIVEMARKET'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKET'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_DERIVATIVEMARKET'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKET'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_DERIVATIVEMARKET'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKET'].fields_by_name['min_notional']._loaded_options = None + _globals['_DERIVATIVEMARKET'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKET']._loaded_options = None + _globals['_DERIVATIVEMARKET']._serialized_options = b'\210\240\037\000' + _globals['_BINARYOPTIONSMARKET'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_BINARYOPTIONSMARKET'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKET'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_BINARYOPTIONSMARKET'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKET'].fields_by_name['relayer_fee_share_rate']._loaded_options = None + _globals['_BINARYOPTIONSMARKET'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKET'].fields_by_name['settlement_price']._loaded_options = None + _globals['_BINARYOPTIONSMARKET'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_notional']._loaded_options = None + _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKET']._loaded_options = None + _globals['_BINARYOPTIONSMARKET']._serialized_options = b'\210\240\037\000' + _globals['_EXPIRYFUTURESMARKETINFO'].fields_by_name['expiration_twap_start_price_cumulative']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETINFO'].fields_by_name['expiration_twap_start_price_cumulative']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EXPIRYFUTURESMARKETINFO'].fields_by_name['settlement_price']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETINFO'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETINFO'].fields_by_name['hourly_funding_rate_cap']._loaded_options = None + _globals['_PERPETUALMARKETINFO'].fields_by_name['hourly_funding_rate_cap']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETINFO'].fields_by_name['hourly_interest_rate']._loaded_options = None + _globals['_PERPETUALMARKETINFO'].fields_by_name['hourly_interest_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_funding']._loaded_options = None + _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_funding']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_price']._loaded_options = None + _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETSETTLEMENTINFO'].fields_by_name['settlement_price']._loaded_options = None + _globals['_DERIVATIVEMARKETSETTLEMENTINFO'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MIDPRICEANDTOB'].fields_by_name['mid_price']._loaded_options = None + _globals['_MIDPRICEANDTOB'].fields_by_name['mid_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MIDPRICEANDTOB'].fields_by_name['best_buy_price']._loaded_options = None + _globals['_MIDPRICEANDTOB'].fields_by_name['best_buy_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MIDPRICEANDTOB'].fields_by_name['best_sell_price']._loaded_options = None + _globals['_MIDPRICEANDTOB'].fields_by_name['best_sell_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKET'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_SPOTMARKET'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKET'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_SPOTMARKET'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKET'].fields_by_name['relayer_fee_share_rate']._loaded_options = None + _globals['_SPOTMARKET'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKET'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_SPOTMARKET'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKET'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_SPOTMARKET'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKET'].fields_by_name['min_notional']._loaded_options = None + _globals['_SPOTMARKET'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DEPOSIT'].fields_by_name['available_balance']._loaded_options = None + _globals['_DEPOSIT'].fields_by_name['available_balance']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DEPOSIT'].fields_by_name['total_balance']._loaded_options = None + _globals['_DEPOSIT'].fields_by_name['total_balance']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_ORDERINFO'].fields_by_name['price']._loaded_options = None + _globals['_ORDERINFO'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_ORDERINFO'].fields_by_name['quantity']._loaded_options = None + _globals['_ORDERINFO'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTORDER'].fields_by_name['order_info']._loaded_options = None + _globals['_SPOTORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' + _globals['_SPOTORDER'].fields_by_name['trigger_price']._loaded_options = None + _globals['_SPOTORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTLIMITORDER'].fields_by_name['order_info']._loaded_options = None + _globals['_SPOTLIMITORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' + _globals['_SPOTLIMITORDER'].fields_by_name['fillable']._loaded_options = None + _globals['_SPOTLIMITORDER'].fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTLIMITORDER'].fields_by_name['trigger_price']._loaded_options = None + _globals['_SPOTLIMITORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETORDER'].fields_by_name['order_info']._loaded_options = None + _globals['_SPOTMARKETORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' + _globals['_SPOTMARKETORDER'].fields_by_name['balance_hold']._loaded_options = None + _globals['_SPOTMARKETORDER'].fields_by_name['balance_hold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETORDER'].fields_by_name['trigger_price']._loaded_options = None + _globals['_SPOTMARKETORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEORDER'].fields_by_name['order_info']._loaded_options = None + _globals['_DERIVATIVEORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' + _globals['_DERIVATIVEORDER'].fields_by_name['margin']._loaded_options = None + _globals['_DERIVATIVEORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEORDER'].fields_by_name['trigger_price']._loaded_options = None + _globals['_DERIVATIVEORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SUBACCOUNTORDERBOOKMETADATA'].fields_by_name['aggregate_reduce_only_quantity']._loaded_options = None + _globals['_SUBACCOUNTORDERBOOKMETADATA'].fields_by_name['aggregate_reduce_only_quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SUBACCOUNTORDERBOOKMETADATA'].fields_by_name['aggregate_vanilla_quantity']._loaded_options = None + _globals['_SUBACCOUNTORDERBOOKMETADATA'].fields_by_name['aggregate_vanilla_quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SUBACCOUNTORDER'].fields_by_name['price']._loaded_options = None + _globals['_SUBACCOUNTORDER'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SUBACCOUNTORDER'].fields_by_name['quantity']._loaded_options = None + _globals['_SUBACCOUNTORDER'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVELIMITORDER'].fields_by_name['order_info']._loaded_options = None + _globals['_DERIVATIVELIMITORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' + _globals['_DERIVATIVELIMITORDER'].fields_by_name['margin']._loaded_options = None + _globals['_DERIVATIVELIMITORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVELIMITORDER'].fields_by_name['fillable']._loaded_options = None + _globals['_DERIVATIVELIMITORDER'].fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVELIMITORDER'].fields_by_name['trigger_price']._loaded_options = None + _globals['_DERIVATIVELIMITORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETORDER'].fields_by_name['order_info']._loaded_options = None + _globals['_DERIVATIVEMARKETORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' + _globals['_DERIVATIVEMARKETORDER'].fields_by_name['margin']._loaded_options = None + _globals['_DERIVATIVEMARKETORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETORDER'].fields_by_name['margin_hold']._loaded_options = None + _globals['_DERIVATIVEMARKETORDER'].fields_by_name['margin_hold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETORDER'].fields_by_name['trigger_price']._loaded_options = None + _globals['_DERIVATIVEMARKETORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITION'].fields_by_name['quantity']._loaded_options = None + _globals['_POSITION'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITION'].fields_by_name['entry_price']._loaded_options = None + _globals['_POSITION'].fields_by_name['entry_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITION'].fields_by_name['margin']._loaded_options = None + _globals['_POSITION'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITION'].fields_by_name['cumulative_funding_entry']._loaded_options = None + _globals['_POSITION'].fields_by_name['cumulative_funding_entry']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRADELOG'].fields_by_name['quantity']._loaded_options = None + _globals['_TRADELOG'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRADELOG'].fields_by_name['price']._loaded_options = None + _globals['_TRADELOG'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRADELOG'].fields_by_name['fee']._loaded_options = None + _globals['_TRADELOG'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRADELOG'].fields_by_name['fee_recipient_address']._loaded_options = None + _globals['_TRADELOG'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' + _globals['_POSITIONDELTA'].fields_by_name['execution_quantity']._loaded_options = None + _globals['_POSITIONDELTA'].fields_by_name['execution_quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITIONDELTA'].fields_by_name['execution_margin']._loaded_options = None + _globals['_POSITIONDELTA'].fields_by_name['execution_margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITIONDELTA'].fields_by_name['execution_price']._loaded_options = None + _globals['_POSITIONDELTA'].fields_by_name['execution_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVETRADELOG'].fields_by_name['payout']._loaded_options = None + _globals['_DERIVATIVETRADELOG'].fields_by_name['payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVETRADELOG'].fields_by_name['fee']._loaded_options = None + _globals['_DERIVATIVETRADELOG'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVETRADELOG'].fields_by_name['fee_recipient_address']._loaded_options = None + _globals['_DERIVATIVETRADELOG'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' + _globals['_DERIVATIVETRADELOG'].fields_by_name['pnl']._loaded_options = None + _globals['_DERIVATIVETRADELOG'].fields_by_name['pnl']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POINTSMULTIPLIER'].fields_by_name['maker_points_multiplier']._loaded_options = None + _globals['_POINTSMULTIPLIER'].fields_by_name['maker_points_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POINTSMULTIPLIER'].fields_by_name['taker_points_multiplier']._loaded_options = None + _globals['_POINTSMULTIPLIER'].fields_by_name['taker_points_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO'].fields_by_name['spot_market_multipliers']._loaded_options = None + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO'].fields_by_name['spot_market_multipliers']._serialized_options = b'\310\336\037\000' + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO'].fields_by_name['derivative_market_multipliers']._loaded_options = None + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO'].fields_by_name['derivative_market_multipliers']._serialized_options = b'\310\336\037\000' + _globals['_CAMPAIGNREWARDPOOL'].fields_by_name['max_campaign_rewards']._loaded_options = None + _globals['_CAMPAIGNREWARDPOOL'].fields_by_name['max_campaign_rewards']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['maker_discount_rate']._loaded_options = None + _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['maker_discount_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['taker_discount_rate']._loaded_options = None + _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['taker_discount_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['staked_amount']._loaded_options = None + _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['staked_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['volume']._loaded_options = None + _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['volume']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_VOLUMERECORD'].fields_by_name['maker_volume']._loaded_options = None + _globals['_VOLUMERECORD'].fields_by_name['maker_volume']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_VOLUMERECORD'].fields_by_name['taker_volume']._loaded_options = None + _globals['_VOLUMERECORD'].fields_by_name['taker_volume']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_ACCOUNTREWARDS'].fields_by_name['rewards']._loaded_options = None + _globals['_ACCOUNTREWARDS'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_TRADERECORD'].fields_by_name['price']._loaded_options = None + _globals['_TRADERECORD'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRADERECORD'].fields_by_name['quantity']._loaded_options = None + _globals['_TRADERECORD'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_LEVEL'].fields_by_name['p']._loaded_options = None + _globals['_LEVEL'].fields_by_name['p']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_LEVEL'].fields_by_name['q']._loaded_options = None + _globals['_LEVEL'].fields_by_name['q']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRIMMEDLIMITORDER'].fields_by_name['price']._loaded_options = None + _globals['_TRIMMEDLIMITORDER'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRIMMEDLIMITORDER'].fields_by_name['quantity']._loaded_options = None + _globals['_TRIMMEDLIMITORDER'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MARKETVOLUME'].fields_by_name['volume']._loaded_options = None + _globals['_MARKETVOLUME'].fields_by_name['volume']._serialized_options = b'\310\336\037\000' + _globals['_GRANTAUTHORIZATION'].fields_by_name['amount']._loaded_options = None + _globals['_GRANTAUTHORIZATION'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_ACTIVEGRANT'].fields_by_name['amount']._loaded_options = None + _globals['_ACTIVEGRANT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_EFFECTIVEGRANT'].fields_by_name['net_granted_stake']._loaded_options = None + _globals['_EFFECTIVEGRANT'].fields_by_name['net_granted_stake']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_start=16202 + _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_end=16318 + _globals['_MARKETSTATUS']._serialized_start=16320 + _globals['_MARKETSTATUS']._serialized_end=16404 + _globals['_ORDERTYPE']._serialized_start=16407 + _globals['_ORDERTYPE']._serialized_end=16722 + _globals['_EXECUTIONTYPE']._serialized_start=16725 + _globals['_EXECUTIONTYPE']._serialized_end=16900 + _globals['_ORDERMASK']._serialized_start=16903 + _globals['_ORDERMASK']._serialized_end=17168 + _globals['_PARAMS']._serialized_start=186 + _globals['_PARAMS']._serialized_end=2967 + _globals['_MARKETFEEMULTIPLIER']._serialized_start=2970 + _globals['_MARKETFEEMULTIPLIER']._serialized_end=3102 + _globals['_DERIVATIVEMARKET']._serialized_start=3105 + _globals['_DERIVATIVEMARKET']._serialized_end=4237 + _globals['_BINARYOPTIONSMARKET']._serialized_start=4240 + _globals['_BINARYOPTIONSMARKET']._serialized_end=5351 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=5354 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=5710 + _globals['_PERPETUALMARKETINFO']._serialized_start=5713 + _globals['_PERPETUALMARKETINFO']._serialized_end=6039 + _globals['_PERPETUALMARKETFUNDING']._serialized_start=6042 + _globals['_PERPETUALMARKETFUNDING']._serialized_end=6269 + _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_start=6272 + _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_end=6413 + _globals['_NEXTFUNDINGTIMESTAMP']._serialized_start=6415 + _globals['_NEXTFUNDINGTIMESTAMP']._serialized_end=6476 + _globals['_MIDPRICEANDTOB']._serialized_start=6479 + _globals['_MIDPRICEANDTOB']._serialized_end=6713 + _globals['_SPOTMARKET']._serialized_start=6716 + _globals['_SPOTMARKET']._serialized_end=7464 + _globals['_DEPOSIT']._serialized_start=7467 + _globals['_DEPOSIT']._serialized_end=7632 + _globals['_SUBACCOUNTTRADENONCE']._serialized_start=7634 + _globals['_SUBACCOUNTTRADENONCE']._serialized_end=7678 + _globals['_ORDERINFO']._serialized_start=7681 + _globals['_ORDERINFO']._serialized_end=7908 + _globals['_SPOTORDER']._serialized_start=7911 + _globals['_SPOTORDER']._serialized_end=8171 + _globals['_SPOTLIMITORDER']._serialized_start=8174 + _globals['_SPOTLIMITORDER']._serialized_end=8506 + _globals['_SPOTMARKETORDER']._serialized_start=8509 + _globals['_SPOTMARKETORDER']._serialized_end=8849 + _globals['_DERIVATIVEORDER']._serialized_start=8852 + _globals['_DERIVATIVEORDER']._serialized_end=9179 + _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_start=9182 + _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_end=9690 + _globals['_SUBACCOUNTORDER']._serialized_start=9693 + _globals['_SUBACCOUNTORDER']._serialized_end=9888 + _globals['_SUBACCOUNTORDERDATA']._serialized_start=9890 + _globals['_SUBACCOUNTORDERDATA']._serialized_end=10009 + _globals['_DERIVATIVELIMITORDER']._serialized_start=10012 + _globals['_DERIVATIVELIMITORDER']._serialized_end=10411 + _globals['_DERIVATIVEMARKETORDER']._serialized_start=10414 + _globals['_DERIVATIVEMARKETORDER']._serialized_end=10819 + _globals['_POSITION']._serialized_start=10822 + _globals['_POSITION']._serialized_end=11147 + _globals['_MARKETORDERINDICATOR']._serialized_start=11149 + _globals['_MARKETORDERINDICATOR']._serialized_end=11222 + _globals['_TRADELOG']._serialized_start=11225 + _globals['_TRADELOG']._serialized_end=11558 + _globals['_POSITIONDELTA']._serialized_start=11561 + _globals['_POSITIONDELTA']._serialized_end=11843 + _globals['_DERIVATIVETRADELOG']._serialized_start=11846 + _globals['_DERIVATIVETRADELOG']._serialized_end=12263 + _globals['_SUBACCOUNTPOSITION']._serialized_start=12265 + _globals['_SUBACCOUNTPOSITION']._serialized_end=12388 + _globals['_SUBACCOUNTDEPOSIT']._serialized_start=12390 + _globals['_SUBACCOUNTDEPOSIT']._serialized_end=12509 + _globals['_DEPOSITUPDATE']._serialized_start=12511 + _globals['_DEPOSITUPDATE']._serialized_end=12623 + _globals['_POINTSMULTIPLIER']._serialized_start=12626 + _globals['_POINTSMULTIPLIER']._serialized_end=12830 + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_start=12833 + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_end=13215 + _globals['_CAMPAIGNREWARDPOOL']._serialized_start=13218 + _globals['_CAMPAIGNREWARDPOOL']._serialized_end=13406 + _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_start=13409 + _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_end=13706 + _globals['_FEEDISCOUNTTIERINFO']._serialized_start=13709 + _globals['_FEEDISCOUNTTIERINFO']._serialized_end=14029 + _globals['_FEEDISCOUNTSCHEDULE']._serialized_start=14032 + _globals['_FEEDISCOUNTSCHEDULE']._serialized_end=14300 + _globals['_FEEDISCOUNTTIERTTL']._serialized_start=14302 + _globals['_FEEDISCOUNTTIERTTL']._serialized_end=14379 + _globals['_VOLUMERECORD']._serialized_start=14382 + _globals['_VOLUMERECORD']._serialized_end=14540 + _globals['_ACCOUNTREWARDS']._serialized_start=14543 + _globals['_ACCOUNTREWARDS']._serialized_end=14688 + _globals['_TRADERECORDS']._serialized_start=14691 + _globals['_TRADERECORDS']._serialized_end=14825 + _globals['_SUBACCOUNTIDS']._serialized_start=14827 + _globals['_SUBACCOUNTIDS']._serialized_end=14881 + _globals['_TRADERECORD']._serialized_start=14884 + _globals['_TRADERECORD']._serialized_end=15051 + _globals['_LEVEL']._serialized_start=15053 + _globals['_LEVEL']._serialized_end=15162 + _globals['_TRIMMEDLIMITORDER']._serialized_start=15165 + _globals['_TRIMMEDLIMITORDER']._serialized_end=15376 + _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_start=15379 + _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_end=15530 + _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_start=15533 + _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_end=15670 + _globals['_MARKETVOLUME']._serialized_start=15672 + _globals['_MARKETVOLUME']._serialized_end=15787 + _globals['_DENOMDECIMALS']._serialized_start=15789 + _globals['_DENOMDECIMALS']._serialized_end=15854 + _globals['_GRANTAUTHORIZATION']._serialized_start=15856 + _globals['_GRANTAUTHORIZATION']._serialized_end=15957 + _globals['_ACTIVEGRANT']._serialized_start=15959 + _globals['_ACTIVEGRANT']._serialized_end=16053 + _globals['_EFFECTIVEGRANT']._serialized_start=16056 + _globals['_EFFECTIVEGRANT']._serialized_end=16200 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..62b1d57b --- /dev/null +++ b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py @@ -0,0 +1,104 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/exchange/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 +from pyinjective.proto.injective.exchange.v1beta1 import tx_pb2 as injective_dot_exchange_dot_v1beta1_dot_tx__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(injective/exchange/v1beta1/genesis.proto\x12\x1ainjective.exchange.v1beta1\x1a)injective/exchange/v1beta1/exchange.proto\x1a#injective/exchange/v1beta1/tx.proto\x1a\x14gogoproto/gogo.proto\"\xab\x1d\n\x0cGenesisState\x12@\n\x06params\x18\x01 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12I\n\x0cspot_markets\x18\x02 \x03(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x0bspotMarkets\x12[\n\x12\x64\x65rivative_markets\x18\x03 \x03(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketR\x11\x64\x65rivativeMarkets\x12V\n\x0espot_orderbook\x18\x04 \x03(\x0b\x32).injective.exchange.v1beta1.SpotOrderBookB\x04\xc8\xde\x1f\x00R\rspotOrderbook\x12h\n\x14\x64\x65rivative_orderbook\x18\x05 \x03(\x0b\x32/.injective.exchange.v1beta1.DerivativeOrderBookB\x04\xc8\xde\x1f\x00R\x13\x64\x65rivativeOrderbook\x12\x45\n\x08\x62\x61lances\x18\x06 \x03(\x0b\x32#.injective.exchange.v1beta1.BalanceB\x04\xc8\xde\x1f\x00R\x08\x62\x61lances\x12R\n\tpositions\x18\x07 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\tpositions\x12i\n\x17subaccount_trade_nonces\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.SubaccountNonceB\x04\xc8\xde\x1f\x00R\x15subaccountTradeNonces\x12\x86\x01\n expiry_futures_market_info_state\x18\t \x03(\x0b\x32\x38.injective.exchange.v1beta1.ExpiryFuturesMarketInfoStateB\x04\xc8\xde\x1f\x00R\x1c\x65xpiryFuturesMarketInfoState\x12i\n\x15perpetual_market_info\x18\n \x03(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00R\x13perpetualMarketInfo\x12\x82\x01\n\x1eperpetual_market_funding_state\x18\x0b \x03(\x0b\x32\x37.injective.exchange.v1beta1.PerpetualMarketFundingStateB\x04\xc8\xde\x1f\x00R\x1bperpetualMarketFundingState\x12\x95\x01\n&derivative_market_settlement_scheduled\x18\x0c \x03(\x0b\x32:.injective.exchange.v1beta1.DerivativeMarketSettlementInfoB\x04\xc8\xde\x1f\x00R#derivativeMarketSettlementScheduled\x12\x37\n\x18is_spot_exchange_enabled\x18\r \x01(\x08R\x15isSpotExchangeEnabled\x12\x45\n\x1fis_derivatives_exchange_enabled\x18\x0e \x01(\x08R\x1cisDerivativesExchangeEnabled\x12v\n\x1ctrading_reward_campaign_info\x18\x0f \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x19tradingRewardCampaignInfo\x12\x80\x01\n%trading_reward_pool_campaign_schedule\x18\x10 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR!tradingRewardPoolCampaignSchedule\x12\x92\x01\n&trading_reward_campaign_account_points\x18\x11 \x03(\x0b\x32>.injective.exchange.v1beta1.TradingRewardCampaignAccountPointsR\"tradingRewardCampaignAccountPoints\x12\x63\n\x15\x66\x65\x65_discount_schedule\x18\x12 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x13\x66\x65\x65\x44iscountSchedule\x12w\n\x1d\x66\x65\x65_discount_account_tier_ttl\x18\x13 \x03(\x0b\x32\x35.injective.exchange.v1beta1.FeeDiscountAccountTierTTLR\x19\x66\x65\x65\x44iscountAccountTierTtl\x12\x89\x01\n#fee_discount_bucket_volume_accounts\x18\x14 \x03(\x0b\x32;.injective.exchange.v1beta1.FeeDiscountBucketVolumeAccountsR\x1f\x66\x65\x65\x44iscountBucketVolumeAccounts\x12<\n\x1bis_first_fee_cycle_finished\x18\x15 \x01(\x08R\x17isFirstFeeCycleFinished\x12\x8f\x01\n-pending_trading_reward_pool_campaign_schedule\x18\x16 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR(pendingTradingRewardPoolCampaignSchedule\x12\xa8\x01\n.pending_trading_reward_campaign_account_points\x18\x17 \x03(\x0b\x32\x45.injective.exchange.v1beta1.TradingRewardCampaignAccountPendingPointsR)pendingTradingRewardCampaignAccountPoints\x12\x39\n\x19rewards_opt_out_addresses\x18\x18 \x03(\tR\x16rewardsOptOutAddresses\x12\x62\n\x18historical_trade_records\x18\x19 \x03(\x0b\x32(.injective.exchange.v1beta1.TradeRecordsR\x16historicalTradeRecords\x12\x65\n\x16\x62inary_options_markets\x18\x1a \x03(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketR\x14\x62inaryOptionsMarkets\x12h\n2binary_options_market_ids_scheduled_for_settlement\x18\x1b \x03(\tR,binaryOptionsMarketIdsScheduledForSettlement\x12T\n(spot_market_ids_scheduled_to_force_close\x18\x1c \x03(\tR\"spotMarketIdsScheduledToForceClose\x12V\n\x0e\x64\x65nom_decimals\x18\x1d \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsB\x04\xc8\xde\x1f\x00R\rdenomDecimals\x12\x86\x01\n!conditional_derivative_orderbooks\x18\x1e \x03(\x0b\x32:.injective.exchange.v1beta1.ConditionalDerivativeOrderBookR\x1f\x63onditionalDerivativeOrderbooks\x12\x65\n\x16market_fee_multipliers\x18\x1f \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers\x12^\n\x13orderbook_sequences\x18 \x03(\x0b\x32-.injective.exchange.v1beta1.OrderbookSequenceR\x12orderbookSequences\x12j\n\x12subaccount_volumes\x18! \x03(\x0b\x32;.injective.exchange.v1beta1.AggregateSubaccountVolumeRecordR\x11subaccountVolumes\x12O\n\x0emarket_volumes\x18\" \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes\x12\x66\n\x14grant_authorizations\x18# \x03(\x0b\x32\x33.injective.exchange.v1beta1.FullGrantAuthorizationsR\x13grantAuthorizations\x12P\n\ractive_grants\x18$ \x03(\x0b\x32+.injective.exchange.v1beta1.FullActiveGrantR\x0c\x61\x63tiveGrants\"L\n\x11OrderbookSequence\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"\x80\x01\n\x19\x46\x65\x65\x44iscountAccountTierTTL\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12I\n\x08tier_ttl\x18\x02 \x01(\x0b\x32..injective.exchange.v1beta1.FeeDiscountTierTTLR\x07tierTtl\"\xa9\x01\n\x1f\x46\x65\x65\x44iscountBucketVolumeAccounts\x12\x34\n\x16\x62ucket_start_timestamp\x18\x01 \x01(\x03R\x14\x62ucketStartTimestamp\x12P\n\x0e\x61\x63\x63ount_volume\x18\x02 \x03(\x0b\x32).injective.exchange.v1beta1.AccountVolumeR\raccountVolume\"f\n\rAccountVolume\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12;\n\x06volume\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06volume\"{\n\"TradingRewardCampaignAccountPoints\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12;\n\x06points\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06points\"\xd1\x01\n)TradingRewardCampaignAccountPendingPoints\x12=\n\x1breward_pool_start_timestamp\x18\x01 \x01(\x03R\x18rewardPoolStartTimestamp\x12\x65\n\x0e\x61\x63\x63ount_points\x18\x02 \x03(\x0b\x32>.injective.exchange.v1beta1.TradingRewardCampaignAccountPointsR\raccountPoints\"\x98\x01\n\rSpotOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1c\n\tisBuySide\x18\x02 \x01(\x08R\tisBuySide\x12\x42\n\x06orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\x06orders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa4\x01\n\x13\x44\x65rivativeOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1c\n\tisBuySide\x18\x02 \x01(\x08R\tisBuySide\x12H\n\x06orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x06orders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc1\x03\n\x1e\x43onditionalDerivativeOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Z\n\x10limit_buy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x0elimitBuyOrders\x12]\n\x11market_buy_orders\x18\x03 \x03(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderR\x0fmarketBuyOrders\x12\\\n\x11limit_sell_orders\x18\x04 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x0flimitSellOrders\x12_\n\x12market_sell_orders\x18\x05 \x03(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderR\x10marketSellOrders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8f\x01\n\x07\x42\x61lance\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12?\n\x08\x64\x65posits\x18\x03 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x08\x64\x65posits:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa2\x01\n\x12\x44\x65rivativePosition\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12@\n\x08position\x18\x03 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionR\x08position:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xae\x01\n\x0fSubaccountNonce\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12l\n\x16subaccount_trade_nonce\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.SubaccountTradeNonceB\x04\xc8\xde\x1f\x00R\x14subaccountTradeNonce:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x91\x01\n\x1c\x45xpiryFuturesMarketInfoState\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12T\n\x0bmarket_info\x18\x02 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoR\nmarketInfo\"\x88\x01\n\x1bPerpetualMarketFundingState\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingR\x07\x66unding\"\x8b\x02\n\x17\x46ullGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12K\n\x12total_grant_amount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10totalGrantAmount\x12\x41\n\x1dlast_delegations_checked_time\x18\x03 \x01(\x03R\x1alastDelegationsCheckedTime\x12\x46\n\x06grants\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants\"w\n\x0f\x46ullActiveGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12J\n\x0c\x61\x63tive_grant\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.ActiveGrantR\x0b\x61\x63tiveGrantB\x88\x02\n\x1e\x63om.injective.exchange.v1beta1B\x0cGenesisProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\014GenesisProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['spot_orderbook']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['spot_orderbook']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['derivative_orderbook']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['derivative_orderbook']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['balances']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['positions']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['positions']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['subaccount_trade_nonces']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['subaccount_trade_nonces']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['expiry_futures_market_info_state']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['expiry_futures_market_info_state']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['perpetual_market_info']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['perpetual_market_info']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['perpetual_market_funding_state']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['perpetual_market_funding_state']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['derivative_market_settlement_scheduled']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['derivative_market_settlement_scheduled']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['denom_decimals']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['denom_decimals']._serialized_options = b'\310\336\037\000' + _globals['_ACCOUNTVOLUME'].fields_by_name['volume']._loaded_options = None + _globals['_ACCOUNTVOLUME'].fields_by_name['volume']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS'].fields_by_name['points']._loaded_options = None + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS'].fields_by_name['points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTORDERBOOK']._loaded_options = None + _globals['_SPOTORDERBOOK']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_DERIVATIVEORDERBOOK']._loaded_options = None + _globals['_DERIVATIVEORDERBOOK']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_CONDITIONALDERIVATIVEORDERBOOK']._loaded_options = None + _globals['_CONDITIONALDERIVATIVEORDERBOOK']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_BALANCE']._loaded_options = None + _globals['_BALANCE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_DERIVATIVEPOSITION']._loaded_options = None + _globals['_DERIVATIVEPOSITION']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_SUBACCOUNTNONCE'].fields_by_name['subaccount_trade_nonce']._loaded_options = None + _globals['_SUBACCOUNTNONCE'].fields_by_name['subaccount_trade_nonce']._serialized_options = b'\310\336\037\000' + _globals['_SUBACCOUNTNONCE']._loaded_options = None + _globals['_SUBACCOUNTNONCE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_FULLGRANTAUTHORIZATIONS'].fields_by_name['total_grant_amount']._loaded_options = None + _globals['_FULLGRANTAUTHORIZATIONS'].fields_by_name['total_grant_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_GENESISSTATE']._serialized_start=175 + _globals['_GENESISSTATE']._serialized_end=3930 + _globals['_ORDERBOOKSEQUENCE']._serialized_start=3932 + _globals['_ORDERBOOKSEQUENCE']._serialized_end=4008 + _globals['_FEEDISCOUNTACCOUNTTIERTTL']._serialized_start=4011 + _globals['_FEEDISCOUNTACCOUNTTIERTTL']._serialized_end=4139 + _globals['_FEEDISCOUNTBUCKETVOLUMEACCOUNTS']._serialized_start=4142 + _globals['_FEEDISCOUNTBUCKETVOLUMEACCOUNTS']._serialized_end=4311 + _globals['_ACCOUNTVOLUME']._serialized_start=4313 + _globals['_ACCOUNTVOLUME']._serialized_end=4415 + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS']._serialized_start=4417 + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS']._serialized_end=4540 + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS']._serialized_start=4543 + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS']._serialized_end=4752 + _globals['_SPOTORDERBOOK']._serialized_start=4755 + _globals['_SPOTORDERBOOK']._serialized_end=4907 + _globals['_DERIVATIVEORDERBOOK']._serialized_start=4910 + _globals['_DERIVATIVEORDERBOOK']._serialized_end=5074 + _globals['_CONDITIONALDERIVATIVEORDERBOOK']._serialized_start=5077 + _globals['_CONDITIONALDERIVATIVEORDERBOOK']._serialized_end=5526 + _globals['_BALANCE']._serialized_start=5529 + _globals['_BALANCE']._serialized_end=5672 + _globals['_DERIVATIVEPOSITION']._serialized_start=5675 + _globals['_DERIVATIVEPOSITION']._serialized_end=5837 + _globals['_SUBACCOUNTNONCE']._serialized_start=5840 + _globals['_SUBACCOUNTNONCE']._serialized_end=6014 + _globals['_EXPIRYFUTURESMARKETINFOSTATE']._serialized_start=6017 + _globals['_EXPIRYFUTURESMARKETINFOSTATE']._serialized_end=6162 + _globals['_PERPETUALMARKETFUNDINGSTATE']._serialized_start=6165 + _globals['_PERPETUALMARKETFUNDINGSTATE']._serialized_end=6301 + _globals['_FULLGRANTAUTHORIZATIONS']._serialized_start=6304 + _globals['_FULLGRANTAUTHORIZATIONS']._serialized_end=6571 + _globals['_FULLACTIVEGRANT']._serialized_start=6573 + _globals['_FULLACTIVEGRANT']._serialized_end=6692 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py new file mode 100644 index 00000000..962502a2 --- /dev/null +++ b/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py @@ -0,0 +1,221 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/exchange/v1beta1/proposal.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 +from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/exchange/v1beta1/proposal.proto\x12\x1ainjective.exchange.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a)injective/exchange/v1beta1/exchange.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\xd3\x06\n\x1dSpotMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12@\n\x06status\x18\t \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12\x1c\n\x06ticker\x18\n \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x0c \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&exchange/SpotMarketParamUpdateProposal\"\xcc\x01\n\x16\x45xchangeEnableProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12L\n\x0c\x65xchangeType\x18\x03 \x01(\x0e\x32(.injective.exchange.v1beta1.ExchangeTypeR\x0c\x65xchangeType:,\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x8a\xe7\xb0*\x1f\x65xchange/ExchangeEnableProposal\"\x96\r\n!BatchExchangeModificationProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x85\x01\n\"spot_market_param_update_proposals\x18\x03 \x03(\x0b\x32\x39.injective.exchange.v1beta1.SpotMarketParamUpdateProposalR\x1espotMarketParamUpdateProposals\x12\x97\x01\n(derivative_market_param_update_proposals\x18\x04 \x03(\x0b\x32?.injective.exchange.v1beta1.DerivativeMarketParamUpdateProposalR$derivativeMarketParamUpdateProposals\x12u\n\x1cspot_market_launch_proposals\x18\x05 \x03(\x0b\x32\x34.injective.exchange.v1beta1.SpotMarketLaunchProposalR\x19spotMarketLaunchProposals\x12\x84\x01\n!perpetual_market_launch_proposals\x18\x06 \x03(\x0b\x32\x39.injective.exchange.v1beta1.PerpetualMarketLaunchProposalR\x1eperpetualMarketLaunchProposals\x12\x91\x01\n&expiry_futures_market_launch_proposals\x18\x07 \x03(\x0b\x32=.injective.exchange.v1beta1.ExpiryFuturesMarketLaunchProposalR\"expiryFuturesMarketLaunchProposals\x12\x95\x01\n\'trading_reward_campaign_update_proposal\x18\x08 \x01(\x0b\x32?.injective.exchange.v1beta1.TradingRewardCampaignUpdateProposalR#tradingRewardCampaignUpdateProposal\x12\x91\x01\n&binary_options_market_launch_proposals\x18\t \x03(\x0b\x32=.injective.exchange.v1beta1.BinaryOptionsMarketLaunchProposalR\"binaryOptionsMarketLaunchProposals\x12\x94\x01\n%binary_options_param_update_proposals\x18\n \x03(\x0b\x32\x42.injective.exchange.v1beta1.BinaryOptionsMarketParamUpdateProposalR!binaryOptionsParamUpdateProposals\x12|\n\x1e\x64\x65nom_decimals_update_proposal\x18\x0b \x01(\x0b\x32\x37.injective.exchange.v1beta1.UpdateDenomDecimalsProposalR\x1b\x64\x65nomDecimalsUpdateProposal\x12\x63\n\x15\x66\x65\x65_discount_proposal\x18\x0c \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountProposalR\x13\x66\x65\x65\x44iscountProposal\x12\x87\x01\n\"market_forced_settlement_proposals\x18\r \x03(\x0b\x32:.injective.exchange.v1beta1.MarketForcedSettlementProposalR\x1fmarketForcedSettlementProposals:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/BatchExchangeModificationProposal\"\xca\x05\n\x18SpotMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x04 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x05 \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12I\n\x0emaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12\x46\n\x0cmin_notional\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x0b \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:L\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!exchange/SpotMarketLaunchProposal\"\xa6\x08\n\x1dPerpetualMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x05 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x06 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12U\n\x14initial_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x10 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&exchange/PerpetualMarketLaunchProposal\"\xe5\x07\n!BinaryOptionsMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x04 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x05 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\t \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\n \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\x0b \x01(\tR\nquoteDenom\x12I\n\x0emaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12+\n\x11\x61\x64min_permissions\x18\x11 \x01(\rR\x10\x61\x64minPermissions:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/BinaryOptionsMarketLaunchProposal\"\xc6\x08\n!ExpiryFuturesMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x05 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x06 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\t \x01(\x03R\x06\x65xpiry\x12U\n\x14initial_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x11 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/ExpiryFuturesMarketLaunchProposal\"\x92\n\n#DerivativeMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12U\n\x14initial_margin_ratio\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\t \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\n \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12S\n\x12HourlyInterestRate\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12HourlyInterestRate\x12W\n\x14HourlyFundingRateCap\x18\x0c \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14HourlyFundingRateCap\x12@\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12M\n\roracle_params\x18\x0e \x01(\x0b\x32(.injective.exchange.v1beta1.OracleParamsR\x0coracleParams\x12\x1c\n\x06ticker\x18\x0f \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x11 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/DerivativeMarketParamUpdateProposal\"N\n\tAdminInfo\x12\x14\n\x05\x61\x64min\x18\x01 \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\x02 \x01(\rR\x10\x61\x64minPermissions\"\x99\x02\n\x1eMarketForcedSettlementProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice:R\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\'exchange/MarketForcedSettlementProposal\"\xf8\x01\n\x1bUpdateDenomDecimalsProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12P\n\x0e\x64\x65nom_decimals\x18\x03 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsR\rdenomDecimals:O\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$exchange/UpdateDenomDecimalsProposal\"\xc2\x08\n&BinaryOptionsMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x31\n\x14\x65xpiration_timestamp\x18\t \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\n \x01(\x03R\x13settlementTimestamp\x12N\n\x10settlement_price\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x14\n\x05\x61\x64min\x18\x0c \x01(\tR\x05\x61\x64min\x12@\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12U\n\roracle_params\x18\x0e \x01(\x0b\x32\x30.injective.exchange.v1beta1.ProviderOracleParamsR\x0coracleParams\x12\x1c\n\x06ticker\x18\x0f \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:Z\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*/exchange/BinaryOptionsMarketParamUpdateProposal\"\xc1\x01\n\x14ProviderOracleParams\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12.\n\x13oracle_scale_factor\x18\x03 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xc9\x01\n\x0cOracleParams\x12\x1f\n\x0boracle_base\x18\x01 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x02 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x03 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xf6\x02\n#TradingRewardCampaignLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12Z\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12\x62\n\x15\x63\x61mpaign_reward_pools\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/TradingRewardCampaignLaunchProposal\"\xfc\x03\n#TradingRewardCampaignUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12Z\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12u\n\x1f\x63\x61mpaign_reward_pools_additions\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x1c\x63\x61mpaignRewardPoolsAdditions\x12q\n\x1d\x63\x61mpaign_reward_pools_updates\x18\x05 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x1a\x63\x61mpaignRewardPoolsUpdates:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/TradingRewardCampaignUpdateProposal\"\x80\x01\n\x11RewardPointUpdate\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x42\n\nnew_points\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tnewPoints\"\xd7\x02\n(TradingRewardPendingPointsUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x16pending_pool_timestamp\x18\x03 \x01(\x03R\x14pendingPoolTimestamp\x12_\n\x14reward_point_updates\x18\x04 \x03(\x0b\x32-.injective.exchange.v1beta1.RewardPointUpdateR\x12rewardPointUpdates:\\\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*1exchange/TradingRewardPendingPointsUpdateProposal\"\xe3\x01\n\x13\x46\x65\x65\x44iscountProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12K\n\x08schedule\x18\x03 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x08schedule:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1c\x65xchange/FeeDiscountProposal\"\x85\x02\n\x1f\x42\x61tchCommunityPoolSpendProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\tproposals\x18\x03 \x03(\x0b\x32\x37.cosmos.distribution.v1beta1.CommunityPoolSpendProposalR\tproposals:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(exchange/BatchCommunityPoolSpendProposal\"\xb3\x02\n.AtomicMarketOrderFeeMultiplierScheduleProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x65\n\x16market_fee_multipliers\x18\x03 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers:b\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*7exchange/AtomicMarketOrderFeeMultiplierScheduleProposal*x\n\x0c\x45xchangeType\x12\x32\n\x14\x45XCHANGE_UNSPECIFIED\x10\x00\x1a\x18\x8a\x9d \x14\x45XCHANGE_UNSPECIFIED\x12\x12\n\x04SPOT\x10\x01\x1a\x08\x8a\x9d \x04SPOT\x12 \n\x0b\x44\x45RIVATIVES\x10\x02\x1a\x0f\x8a\x9d \x0b\x44\x45RIVATIVESB\x89\x02\n\x1e\x63om.injective.exchange.v1beta1B\rProposalProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.proposal_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\rProposalProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' + _globals['_EXCHANGETYPE'].values_by_name["EXCHANGE_UNSPECIFIED"]._loaded_options = None + _globals['_EXCHANGETYPE'].values_by_name["EXCHANGE_UNSPECIFIED"]._serialized_options = b'\212\235 \024EXCHANGE_UNSPECIFIED' + _globals['_EXCHANGETYPE'].values_by_name["SPOT"]._loaded_options = None + _globals['_EXCHANGETYPE'].values_by_name["SPOT"]._serialized_options = b'\212\235 \004SPOT' + _globals['_EXCHANGETYPE'].values_by_name["DERIVATIVES"]._loaded_options = None + _globals['_EXCHANGETYPE'].values_by_name["DERIVATIVES"]._serialized_options = b'\212\235 \013DERIVATIVES' + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._loaded_options = None + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._loaded_options = None + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._serialized_options = b'\310\336\037\001' + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._loaded_options = None + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._loaded_options = None + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&exchange/SpotMarketParamUpdateProposal' + _globals['_EXCHANGEENABLEPROPOSAL']._loaded_options = None + _globals['_EXCHANGEENABLEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\212\347\260*\037exchange/ExchangeEnableProposal' + _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._loaded_options = None + _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/BatchExchangeModificationProposal' + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._loaded_options = None + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETLAUNCHPROPOSAL']._loaded_options = None + _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!exchange/SpotMarketLaunchProposal' + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['initial_margin_ratio']._loaded_options = None + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['maintenance_margin_ratio']._loaded_options = None + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._loaded_options = None + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._loaded_options = None + _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&exchange/PerpetualMarketLaunchProposal' + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._loaded_options = None + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._loaded_options = None + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/BinaryOptionsMarketLaunchProposal' + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['initial_margin_ratio']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['maintenance_margin_ratio']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/ExpiryFuturesMarketLaunchProposal' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['initial_margin_ratio']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maintenance_margin_ratio']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['HourlyInterestRate']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['HourlyInterestRate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['HourlyFundingRateCap']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['HourlyFundingRateCap']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._serialized_options = b'\310\336\037\001' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/DerivativeMarketParamUpdateProposal' + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL'].fields_by_name['settlement_price']._loaded_options = None + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._loaded_options = None + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\'exchange/MarketForcedSettlementProposal' + _globals['_UPDATEDENOMDECIMALSPROPOSAL']._loaded_options = None + _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$exchange/UpdateDenomDecimalsProposal' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['settlement_price']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._serialized_options = b'\310\336\037\001' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*/exchange/BinaryOptionsMarketParamUpdateProposal' + _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._loaded_options = None + _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/TradingRewardCampaignLaunchProposal' + _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._loaded_options = None + _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/TradingRewardCampaignUpdateProposal' + _globals['_REWARDPOINTUPDATE'].fields_by_name['new_points']._loaded_options = None + _globals['_REWARDPOINTUPDATE'].fields_by_name['new_points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._loaded_options = None + _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*1exchange/TradingRewardPendingPointsUpdateProposal' + _globals['_FEEDISCOUNTPROPOSAL']._loaded_options = None + _globals['_FEEDISCOUNTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034exchange/FeeDiscountProposal' + _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._loaded_options = None + _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(exchange/BatchCommunityPoolSpendProposal' + _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._loaded_options = None + _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*7exchange/AtomicMarketOrderFeeMultiplierScheduleProposal' + _globals['_EXCHANGETYPE']._serialized_start=12535 + _globals['_EXCHANGETYPE']._serialized_end=12655 + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_start=329 + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_end=1180 + _globals['_EXCHANGEENABLEPROPOSAL']._serialized_start=1183 + _globals['_EXCHANGEENABLEPROPOSAL']._serialized_end=1387 + _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_start=1390 + _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_end=3076 + _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_start=3079 + _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_end=3793 + _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_start=3796 + _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_end=4858 + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_start=4861 + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_end=5858 + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_start=5861 + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_end=6955 + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_start=6958 + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_end=8256 + _globals['_ADMININFO']._serialized_start=8258 + _globals['_ADMININFO']._serialized_end=8336 + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_start=8339 + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_end=8620 + _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_start=8623 + _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_end=8871 + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_start=8874 + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_end=9964 + _globals['_PROVIDERORACLEPARAMS']._serialized_start=9967 + _globals['_PROVIDERORACLEPARAMS']._serialized_end=10160 + _globals['_ORACLEPARAMS']._serialized_start=10163 + _globals['_ORACLEPARAMS']._serialized_end=10364 + _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_start=10367 + _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_end=10741 + _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_start=10744 + _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_end=11252 + _globals['_REWARDPOINTUPDATE']._serialized_start=11255 + _globals['_REWARDPOINTUPDATE']._serialized_end=11383 + _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_start=11386 + _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_end=11729 + _globals['_FEEDISCOUNTPROPOSAL']._serialized_start=11732 + _globals['_FEEDISCOUNTPROPOSAL']._serialized_end=11959 + _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_start=11962 + _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_end=12223 + _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_start=12226 + _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_end=12533 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py new file mode 100644 index 00000000..f7f9e90c --- /dev/null +++ b/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py @@ -0,0 +1,560 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/exchange/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 +from pyinjective.proto.injective.exchange.v1beta1 import genesis_pb2 as injective_dot_exchange_dot_v1beta1_dot_genesis__pb2 +from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&injective/exchange/v1beta1/query.proto\x12\x1ainjective.exchange.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a)injective/exchange/v1beta1/exchange.proto\x1a(injective/exchange/v1beta1/genesis.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x14gogoproto/gogo.proto\"O\n\nSubaccount\x12\x16\n\x06trader\x18\x01 \x01(\tR\x06trader\x12)\n\x10subaccount_nonce\x18\x02 \x01(\rR\x0fsubaccountNonce\"`\n\x1cQuerySubaccountOrdersRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"\xc1\x01\n\x1dQuerySubaccountOrdersResponse\x12N\n\nbuy_orders\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.SubaccountOrderDataR\tbuyOrders\x12P\n\x0bsell_orders\x18\x02 \x03(\x0b\x32/.injective.exchange.v1beta1.SubaccountOrderDataR\nsellOrders\"\xaf\x01\n%SubaccountOrderbookMetadataWithMarket\x12S\n\x08metadata\x18\x01 \x01(\x0b\x32\x37.injective.exchange.v1beta1.SubaccountOrderbookMetadataR\x08metadata\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x14\n\x05isBuy\x18\x03 \x01(\x08R\x05isBuy\"\x1c\n\x1aQueryExchangeParamsRequest\"_\n\x1bQueryExchangeParamsResponse\x12@\n\x06params\x18\x01 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x93\x01\n\x1eQuerySubaccountDepositsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12L\n\nsubaccount\x18\x02 \x01(\x0b\x32&.injective.exchange.v1beta1.SubaccountB\x04\xc8\xde\x1f\x01R\nsubaccount\"\xea\x01\n\x1fQuerySubaccountDepositsResponse\x12\x65\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32I.injective.exchange.v1beta1.QuerySubaccountDepositsResponse.DepositsEntryR\x08\x64\x65posits\x1a`\n\rDepositsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x05value:\x02\x38\x01\"\x1e\n\x1cQueryExchangeBalancesRequest\"f\n\x1dQueryExchangeBalancesResponse\x12\x45\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32#.injective.exchange.v1beta1.BalanceB\x04\xc8\xde\x1f\x00R\x08\x62\x61lances\"7\n\x1bQueryAggregateVolumeRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"u\n\x1cQueryAggregateVolumeResponse\x12U\n\x11\x61ggregate_volumes\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x10\x61ggregateVolumes\"Y\n\x1cQueryAggregateVolumesRequest\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"\xf9\x01\n\x1dQueryAggregateVolumesResponse\x12t\n\x19\x61ggregate_account_volumes\x18\x01 \x03(\x0b\x32\x38.injective.exchange.v1beta1.AggregateAccountVolumeRecordR\x17\x61ggregateAccountVolumes\x12\x62\n\x18\x61ggregate_market_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x16\x61ggregateMarketVolumes\"@\n!QueryAggregateMarketVolumeRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"l\n\"QueryAggregateMarketVolumeResponse\x12\x46\n\x06volume\x18\x01 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00R\x06volume\"0\n\x18QueryDenomDecimalRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"5\n\x19QueryDenomDecimalResponse\x12\x18\n\x07\x64\x65\x63imal\x18\x01 \x01(\x04R\x07\x64\x65\x63imal\"3\n\x19QueryDenomDecimalsRequest\x12\x16\n\x06\x64\x65noms\x18\x01 \x03(\tR\x06\x64\x65noms\"t\n\x1aQueryDenomDecimalsResponse\x12V\n\x0e\x64\x65nom_decimals\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsB\x04\xc8\xde\x1f\x00R\rdenomDecimals\"C\n\"QueryAggregateMarketVolumesRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"i\n#QueryAggregateMarketVolumesResponse\x12\x42\n\x07volumes\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x07volumes\"Z\n\x1dQuerySubaccountDepositRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\"a\n\x1eQuerySubaccountDepositResponse\x12?\n\x08\x64\x65posits\x18\x01 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x08\x64\x65posits\"P\n\x17QuerySpotMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"\\\n\x18QuerySpotMarketsResponse\x12@\n\x07markets\x18\x01 \x03(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x07markets\"5\n\x16QuerySpotMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"Y\n\x17QuerySpotMarketResponse\x12>\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x06market\"\xd6\x02\n\x19QuerySpotOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12\x44\n\norder_side\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderSideR\torderSide\x12_\n\x19limit_cumulative_notional\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeNotional\x12_\n\x19limit_cumulative_quantity\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeQuantity\"\xb8\x01\n\x1aQuerySpotOrderbookResponse\x12K\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0e\x62uysPriceLevel\x12M\n\x11sells_price_level\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0fsellsPriceLevel\"\xad\x01\n\x0e\x46ullSpotMarket\x12>\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x06market\x12[\n\x11mid_price_and_tob\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.MidPriceAndTOBB\x04\xc8\xde\x1f\x01R\x0emidPriceAndTob\"\x88\x01\n\x1bQueryFullSpotMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\x12\x32\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08R\x12withMidPriceAndTob\"d\n\x1cQueryFullSpotMarketsResponse\x12\x44\n\x07markets\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.FullSpotMarketR\x07markets\"m\n\x1aQueryFullSpotMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x32\n\x16with_mid_price_and_tob\x18\x02 \x01(\x08R\x12withMidPriceAndTob\"a\n\x1bQueryFullSpotMarketResponse\x12\x42\n\x06market\x18\x01 \x01(\x0b\x32*.injective.exchange.v1beta1.FullSpotMarketR\x06market\"\x85\x01\n\x1eQuerySpotOrdersByHashesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12!\n\x0corder_hashes\x18\x03 \x03(\tR\x0borderHashes\"l\n\x1fQuerySpotOrdersByHashesResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders\"`\n\x1cQueryTraderSpotOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"l\n$QueryAccountAddressSpotOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\x9b\x02\n\x15TrimmedSpotLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12?\n\x08\x66illable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12\x14\n\x05isBuy\x18\x04 \x01(\x08R\x05isBuy\x12\x1d\n\norder_hash\x18\x05 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id\"j\n\x1dQueryTraderSpotOrdersResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders\"r\n%QueryAccountAddressSpotOrdersResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders\"=\n\x1eQuerySpotMidPriceAndTOBRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\xfb\x01\n\x1fQuerySpotMidPriceAndTOBResponse\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"C\n$QueryDerivativeMidPriceAndTOBRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\x81\x02\n%QueryDerivativeMidPriceAndTOBResponse\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"\xb5\x01\n\x1fQueryDerivativeOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12_\n\x19limit_cumulative_notional\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeNotional\"\xbe\x01\n QueryDerivativeOrderbookResponse\x12K\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0e\x62uysPriceLevel\x12M\n\x11sells_price_level\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0fsellsPriceLevel\"\x9c\x03\n.QueryTraderSpotOrdersToCancelUpToAmountRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x44\n\x0b\x62\x61se_amount\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nbaseAmount\x12\x46\n\x0cquote_amount\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bquoteAmount\x12L\n\x08strategy\x18\x05 \x01(\x0e\x32\x30.injective.exchange.v1beta1.CancellationStrategyR\x08strategy\x12L\n\x0freference_price\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ereferencePrice\"\xdc\x02\n4QueryTraderDerivativeOrdersToCancelUpToAmountRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x46\n\x0cquote_amount\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bquoteAmount\x12L\n\x08strategy\x18\x04 \x01(\x0e\x32\x30.injective.exchange.v1beta1.CancellationStrategyR\x08strategy\x12L\n\x0freference_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ereferencePrice\"f\n\"QueryTraderDerivativeOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"r\n*QueryAccountAddressDerivativeOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\xe9\x02\n\x1bTrimmedDerivativeLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12?\n\x08\x66illable\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12\x1f\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuyR\x05isBuy\x12\x1d\n\norder_hash\x18\x06 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\"v\n#QueryTraderDerivativeOrdersResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders\"~\n+QueryAccountAddressDerivativeOrdersResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders\"\x8b\x01\n$QueryDerivativeOrdersByHashesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12!\n\x0corder_hashes\x18\x03 \x03(\tR\x0borderHashes\"x\n%QueryDerivativeOrdersByHashesResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders\"\x8a\x01\n\x1dQueryDerivativeMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\x12\x32\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08R\x12withMidPriceAndTob\"\x88\x01\n\nPriceLevel\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\"\xbf\x01\n\x14PerpetualMarketState\x12P\n\x0bmarket_info\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoR\nmarketInfo\x12U\n\x0c\x66unding_info\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingR\x0b\x66undingInfo\"\xba\x03\n\x14\x46ullDerivativeMarket\x12\x44\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketR\x06market\x12Y\n\x0eperpetual_info\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.PerpetualMarketStateH\x00R\rperpetualInfo\x12X\n\x0c\x66utures_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoH\x00R\x0b\x66uturesInfo\x12\x42\n\nmark_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\x12[\n\x11mid_price_and_tob\x18\x05 \x01(\x0b\x32*.injective.exchange.v1beta1.MidPriceAndTOBB\x04\xc8\xde\x1f\x01R\x0emidPriceAndTobB\x06\n\x04info\"l\n\x1eQueryDerivativeMarketsResponse\x12J\n\x07markets\x18\x01 \x03(\x0b\x32\x30.injective.exchange.v1beta1.FullDerivativeMarketR\x07markets\";\n\x1cQueryDerivativeMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"i\n\x1dQueryDerivativeMarketResponse\x12H\n\x06market\x18\x01 \x01(\x0b\x32\x30.injective.exchange.v1beta1.FullDerivativeMarketR\x06market\"B\n#QueryDerivativeMarketAddressRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"e\n$QueryDerivativeMarketAddressResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"G\n QuerySubaccountTradeNonceRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"F\n\x1fQuerySubaccountPositionsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"j\n&QuerySubaccountPositionInMarketRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"s\n/QuerySubaccountEffectivePositionInMarketRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"J\n#QuerySubaccountOrderMetadataRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"n\n QuerySubaccountPositionsResponse\x12J\n\x05state\x18\x01 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\x05state\"k\n\'QuerySubaccountPositionInMarketResponse\x12@\n\x05state\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionB\x04\xc8\xde\x1f\x01R\x05state\"\x83\x02\n\x11\x45\x66\x66\x65\x63tivePosition\x12\x17\n\x07is_long\x18\x01 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12N\n\x10\x65\x66\x66\x65\x63tive_margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65\x66\x66\x65\x63tiveMargin\"}\n0QuerySubaccountEffectivePositionInMarketResponse\x12I\n\x05state\x18\x01 \x01(\x0b\x32-.injective.exchange.v1beta1.EffectivePositionB\x04\xc8\xde\x1f\x01R\x05state\">\n\x1fQueryPerpetualMarketInfoRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"m\n QueryPerpetualMarketInfoResponse\x12I\n\x04info\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00R\x04info\"B\n#QueryExpiryFuturesMarketInfoRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"u\n$QueryExpiryFuturesMarketInfoResponse\x12M\n\x04info\x18\x01 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x00R\x04info\"A\n\"QueryPerpetualMarketFundingRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"u\n#QueryPerpetualMarketFundingResponse\x12N\n\x05state\x18\x01 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x05state\"\x8b\x01\n$QuerySubaccountOrderMetadataResponse\x12\x63\n\x08metadata\x18\x01 \x03(\x0b\x32\x41.injective.exchange.v1beta1.SubaccountOrderbookMetadataWithMarketB\x04\xc8\xde\x1f\x00R\x08metadata\"9\n!QuerySubaccountTradeNonceResponse\x12\x14\n\x05nonce\x18\x01 \x01(\rR\x05nonce\"\x19\n\x17QueryModuleStateRequest\"Z\n\x18QueryModuleStateResponse\x12>\n\x05state\x18\x01 \x01(\x0b\x32(.injective.exchange.v1beta1.GenesisStateR\x05state\"\x17\n\x15QueryPositionsRequest\"d\n\x16QueryPositionsResponse\x12J\n\x05state\x18\x01 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\x05state\"q\n\x1dQueryTradeRewardPointsRequest\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\x12\x34\n\x16pending_pool_timestamp\x18\x02 \x01(\x03R\x14pendingPoolTimestamp\"\x84\x01\n\x1eQueryTradeRewardPointsResponse\x12\x62\n\x1b\x61\x63\x63ount_trade_reward_points\x18\x01 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x18\x61\x63\x63ountTradeRewardPoints\"!\n\x1fQueryTradeRewardCampaignRequest\"\xfe\x04\n QueryTradeRewardCampaignResponse\x12v\n\x1ctrading_reward_campaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x19tradingRewardCampaignInfo\x12\x80\x01\n%trading_reward_pool_campaign_schedule\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR!tradingRewardPoolCampaignSchedule\x12^\n\x19total_trade_reward_points\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16totalTradeRewardPoints\x12\x8f\x01\n-pending_trading_reward_pool_campaign_schedule\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR(pendingTradingRewardPoolCampaignSchedule\x12m\n!pending_total_trade_reward_points\x18\x05 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1dpendingTotalTradeRewardPoints\";\n\x1fQueryIsOptedOutOfRewardsRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"D\n QueryIsOptedOutOfRewardsResponse\x12 \n\x0cis_opted_out\x18\x01 \x01(\x08R\nisOptedOut\"\'\n%QueryOptedOutOfRewardsAccountsRequest\"D\n&QueryOptedOutOfRewardsAccountsResponse\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\">\n\"QueryFeeDiscountAccountInfoRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"\xe9\x01\n#QueryFeeDiscountAccountInfoResponse\x12\x1d\n\ntier_level\x18\x01 \x01(\x04R\ttierLevel\x12R\n\x0c\x61\x63\x63ount_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfoR\x0b\x61\x63\x63ountInfo\x12O\n\x0b\x61\x63\x63ount_ttl\x18\x03 \x01(\x0b\x32..injective.exchange.v1beta1.FeeDiscountTierTTLR\naccountTtl\"!\n\x1fQueryFeeDiscountScheduleRequest\"\x87\x01\n QueryFeeDiscountScheduleResponse\x12\x63\n\x15\x66\x65\x65_discount_schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x13\x66\x65\x65\x44iscountSchedule\"@\n\x1dQueryBalanceMismatchesRequest\x12\x1f\n\x0b\x64ust_factor\x18\x01 \x01(\x03R\ndustFactor\"\xa2\x03\n\x0f\x42\x61lanceMismatch\x12\"\n\x0csubaccountId\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x41\n\tavailable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tavailable\x12\x39\n\x05total\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05total\x12\x46\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\x12J\n\x0e\x65xpected_total\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rexpectedTotal\x12\x43\n\ndifference\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\ndifference\"|\n\x1eQueryBalanceMismatchesResponse\x12Z\n\x12\x62\x61lance_mismatches\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.BalanceMismatchR\x11\x62\x61lanceMismatches\"%\n#QueryBalanceWithBalanceHoldsRequest\"\x97\x02\n\x15\x42\x61lanceWithMarginHold\x12\"\n\x0csubaccountId\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x41\n\tavailable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tavailable\x12\x39\n\x05total\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05total\x12\x46\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\"\x96\x01\n$QueryBalanceWithBalanceHoldsResponse\x12n\n\x1a\x62\x61lance_with_balance_holds\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.BalanceWithMarginHoldR\x17\x62\x61lanceWithBalanceHolds\"\'\n%QueryFeeDiscountTierStatisticsRequest\"9\n\rTierStatistic\x12\x12\n\x04tier\x18\x01 \x01(\x04R\x04tier\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\"s\n&QueryFeeDiscountTierStatisticsResponse\x12I\n\nstatistics\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.TierStatisticR\nstatistics\"\x17\n\x15MitoVaultInfosRequest\"\xc4\x01\n\x16MitoVaultInfosResponse\x12)\n\x10master_addresses\x18\x01 \x03(\tR\x0fmasterAddresses\x12\x31\n\x14\x64\x65rivative_addresses\x18\x02 \x03(\tR\x13\x64\x65rivativeAddresses\x12%\n\x0espot_addresses\x18\x03 \x03(\tR\rspotAddresses\x12%\n\x0e\x63w20_addresses\x18\x04 \x03(\tR\rcw20Addresses\"D\n\x1dQueryMarketIDFromVaultRequest\x12#\n\rvault_address\x18\x01 \x01(\tR\x0cvaultAddress\"=\n\x1eQueryMarketIDFromVaultResponse\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"A\n\"QueryHistoricalTradeRecordsRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"t\n#QueryHistoricalTradeRecordsResponse\x12M\n\rtrade_records\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.TradeRecordsR\x0ctradeRecords\"\xb7\x01\n\x13TradeHistoryOptions\x12,\n\x12trade_grouping_sec\x18\x01 \x01(\x04R\x10tradeGroupingSec\x12\x17\n\x07max_age\x18\x02 \x01(\x04R\x06maxAge\x12.\n\x13include_raw_history\x18\x04 \x01(\x08R\x11includeRawHistory\x12)\n\x10include_metadata\x18\x05 \x01(\x08R\x0fincludeMetadata\"\xa0\x01\n\x1cQueryMarketVolatilityRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x63\n\x15trade_history_options\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.TradeHistoryOptionsR\x13tradeHistoryOptions\"\x83\x02\n\x1dQueryMarketVolatilityResponse\x12?\n\nvolatility\x18\x01 \x01(\tB\x1f\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nvolatility\x12W\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatisticsR\x0fhistoryMetadata\x12H\n\x0braw_history\x18\x03 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecordR\nrawHistory\"3\n\x19QueryBinaryMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\"g\n\x1aQueryBinaryMarketsResponse\x12I\n\x07markets\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketR\x07markets\"q\n-QueryTraderDerivativeConditionalOrdersRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"\x9e\x03\n!TrimmedDerivativeConditionalOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12G\n\x0ctriggerPrice\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1f\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuyR\x05isBuy\x12%\n\x07isLimit\x18\x06 \x01(\x08\x42\x0b\xea\xde\x1f\x07isLimitR\x07isLimit\x12\x1d\n\norder_hash\x18\x07 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x08 \x01(\tR\x03\x63id\"\x87\x01\n.QueryTraderDerivativeConditionalOrdersResponse\x12U\n\x06orders\x18\x01 \x03(\x0b\x32=.injective.exchange.v1beta1.TrimmedDerivativeConditionalOrderR\x06orders\"M\n.QueryMarketAtomicExecutionFeeMultiplierRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"<\n\x1dQueryFullSpotOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\xa6\x01\n\x1eQueryFullSpotOrderbookResponse\x12\x41\n\x04\x42ids\x18\x01 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x42ids\x12\x41\n\x04\x41sks\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x41sks\"B\n#QueryFullDerivativeOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\xac\x01\n$QueryFullDerivativeOrderbookResponse\x12\x41\n\x04\x42ids\x18\x01 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x42ids\x12\x41\n\x04\x41sks\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x41sks\"v\n/QueryMarketAtomicExecutionFeeMultiplierResponse\x12\x43\n\nmultiplier\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nmultiplier\"8\n\x1cQueryActiveStakeGrantRequest\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\"\xb3\x01\n\x1dQueryActiveStakeGrantResponse\x12=\n\x05grant\x18\x01 \x01(\x0b\x32\'.injective.exchange.v1beta1.ActiveGrantR\x05grant\x12S\n\x0f\x65\x66\x66\x65\x63tive_grant\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.EffectiveGrantR\x0e\x65\x66\x66\x65\x63tiveGrant\"T\n\x1eQueryGrantAuthorizationRequest\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x18\n\x07grantee\x18\x02 \x01(\tR\x07grantee\"X\n\x1fQueryGrantAuthorizationResponse\x12\x35\n\x06\x61mount\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\";\n\x1fQueryGrantAuthorizationsRequest\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\"\xb7\x01\n QueryGrantAuthorizationsResponse\x12K\n\x12total_grant_amount\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10totalGrantAmount\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants*4\n\tOrderSide\x12\x14\n\x10Side_Unspecified\x10\x00\x12\x07\n\x03\x42uy\x10\x01\x12\x08\n\x04Sell\x10\x02*V\n\x14\x43\x61ncellationStrategy\x12\x14\n\x10UnspecifiedOrder\x10\x00\x12\x13\n\x0f\x46romWorstToBest\x10\x01\x12\x13\n\x0f\x46romBestToWorst\x10\x02\x32\xffh\n\x05Query\x12\xe2\x01\n\x15L3DerivativeOrderBook\x12?.injective.exchange.v1beta1.QueryFullDerivativeOrderbookRequest\x1a@.injective.exchange.v1beta1.QueryFullDerivativeOrderbookResponse\"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/derivative/L3OrderBook/{market_id}\x12\xca\x01\n\x0fL3SpotOrderBook\x12\x39.injective.exchange.v1beta1.QueryFullSpotOrderbookRequest\x1a:.injective.exchange.v1beta1.QueryFullSpotOrderbookResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/spot/L3OrderBook/{market_id}\x12\xba\x01\n\x13QueryExchangeParams\x12\x36.injective.exchange.v1beta1.QueryExchangeParamsRequest\x1a\x37.injective.exchange.v1beta1.QueryExchangeParamsResponse\"2\x82\xd3\xe4\x93\x02,\x12*/injective/exchange/v1beta1/exchangeParams\x12\xce\x01\n\x12SubaccountDeposits\x12:.injective.exchange.v1beta1.QuerySubaccountDepositsRequest\x1a;.injective.exchange.v1beta1.QuerySubaccountDepositsResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/exchange/subaccountDeposits\x12\xca\x01\n\x11SubaccountDeposit\x12\x39.injective.exchange.v1beta1.QuerySubaccountDepositRequest\x1a:.injective.exchange.v1beta1.QuerySubaccountDepositResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v1beta1/exchange/subaccountDeposit\x12\xc6\x01\n\x10\x45xchangeBalances\x12\x38.injective.exchange.v1beta1.QueryExchangeBalancesRequest\x1a\x39.injective.exchange.v1beta1.QueryExchangeBalancesResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/exchange/exchangeBalances\x12\xcc\x01\n\x0f\x41ggregateVolume\x12\x37.injective.exchange.v1beta1.QueryAggregateVolumeRequest\x1a\x38.injective.exchange.v1beta1.QueryAggregateVolumeResponse\"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/exchange/aggregateVolume/{account}\x12\xc6\x01\n\x10\x41ggregateVolumes\x12\x38.injective.exchange.v1beta1.QueryAggregateVolumesRequest\x1a\x39.injective.exchange.v1beta1.QueryAggregateVolumesResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/exchange/aggregateVolumes\x12\xe6\x01\n\x15\x41ggregateMarketVolume\x12=.injective.exchange.v1beta1.QueryAggregateMarketVolumeRequest\x1a>.injective.exchange.v1beta1.QueryAggregateMarketVolumeResponse\"N\x82\xd3\xe4\x93\x02H\x12\x46/injective/exchange/v1beta1/exchange/aggregateMarketVolume/{market_id}\x12\xde\x01\n\x16\x41ggregateMarketVolumes\x12>.injective.exchange.v1beta1.QueryAggregateMarketVolumesRequest\x1a?.injective.exchange.v1beta1.QueryAggregateMarketVolumesResponse\"C\x82\xd3\xe4\x93\x02=\x12;/injective/exchange/v1beta1/exchange/aggregateMarketVolumes\x12\xbf\x01\n\x0c\x44\x65nomDecimal\x12\x34.injective.exchange.v1beta1.QueryDenomDecimalRequest\x1a\x35.injective.exchange.v1beta1.QueryDenomDecimalResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/exchange/denom_decimal/{denom}\x12\xbb\x01\n\rDenomDecimals\x12\x35.injective.exchange.v1beta1.QueryDenomDecimalsRequest\x1a\x36.injective.exchange.v1beta1.QueryDenomDecimalsResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/exchange/v1beta1/exchange/denom_decimals\x12\xaa\x01\n\x0bSpotMarkets\x12\x33.injective.exchange.v1beta1.QuerySpotMarketsRequest\x1a\x34.injective.exchange.v1beta1.QuerySpotMarketsResponse\"0\x82\xd3\xe4\x93\x02*\x12(/injective/exchange/v1beta1/spot/markets\x12\xb3\x01\n\nSpotMarket\x12\x32.injective.exchange.v1beta1.QuerySpotMarketRequest\x1a\x33.injective.exchange.v1beta1.QuerySpotMarketResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/spot/markets/{market_id}\x12\xbb\x01\n\x0f\x46ullSpotMarkets\x12\x37.injective.exchange.v1beta1.QueryFullSpotMarketsRequest\x1a\x38.injective.exchange.v1beta1.QueryFullSpotMarketsResponse\"5\x82\xd3\xe4\x93\x02/\x12-/injective/exchange/v1beta1/spot/full_markets\x12\xc3\x01\n\x0e\x46ullSpotMarket\x12\x36.injective.exchange.v1beta1.QueryFullSpotMarketRequest\x1a\x37.injective.exchange.v1beta1.QueryFullSpotMarketResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/spot/full_market/{market_id}\x12\xbe\x01\n\rSpotOrderbook\x12\x35.injective.exchange.v1beta1.QuerySpotOrderbookRequest\x1a\x36.injective.exchange.v1beta1.QuerySpotOrderbookResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v1beta1/spot/orderbook/{market_id}\x12\xd4\x01\n\x10TraderSpotOrders\x12\x38.injective.exchange.v1beta1.QueryTraderSpotOrdersRequest\x1a\x39.injective.exchange.v1beta1.QueryTraderSpotOrdersResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/injective/exchange/v1beta1/spot/orders/{market_id}/{subaccount_id}\x12\xf6\x01\n\x18\x41\x63\x63ountAddressSpotOrders\x12@.injective.exchange.v1beta1.QueryAccountAddressSpotOrdersRequest\x1a\x41.injective.exchange.v1beta1.QueryAccountAddressSpotOrdersResponse\"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/orders/{market_id}/account/{account_address}\x12\xe4\x01\n\x12SpotOrdersByHashes\x12:.injective.exchange.v1beta1.QuerySpotOrdersByHashesRequest\x1a;.injective.exchange.v1beta1.QuerySpotOrdersByHashesResponse\"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/orders_by_hashes/{market_id}/{subaccount_id}\x12\xc3\x01\n\x10SubaccountOrders\x12\x38.injective.exchange.v1beta1.QuerySubaccountOrdersRequest\x1a\x39.injective.exchange.v1beta1.QuerySubaccountOrdersResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/exchange/v1beta1/orders/{subaccount_id}\x12\xe7\x01\n\x19TraderSpotTransientOrders\x12\x38.injective.exchange.v1beta1.QueryTraderSpotOrdersRequest\x1a\x39.injective.exchange.v1beta1.QueryTraderSpotOrdersResponse\"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/transient_orders/{market_id}/{subaccount_id}\x12\xd5\x01\n\x12SpotMidPriceAndTOB\x12:.injective.exchange.v1beta1.QuerySpotMidPriceAndTOBRequest\x1a;.injective.exchange.v1beta1.QuerySpotMidPriceAndTOBResponse\"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/spot/mid_price_and_tob/{market_id}\x12\xed\x01\n\x18\x44\x65rivativeMidPriceAndTOB\x12@.injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBRequest\x1a\x41.injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBResponse\"L\x82\xd3\xe4\x93\x02\x46\x12\x44/injective/exchange/v1beta1/derivative/mid_price_and_tob/{market_id}\x12\xd6\x01\n\x13\x44\x65rivativeOrderbook\x12;.injective.exchange.v1beta1.QueryDerivativeOrderbookRequest\x1a<.injective.exchange.v1beta1.QueryDerivativeOrderbookResponse\"D\x82\xd3\xe4\x93\x02>\x12.injective.exchange.v1beta1.QueryTraderDerivativeOrdersRequest\x1a?.injective.exchange.v1beta1.QueryTraderDerivativeOrdersResponse\"Q\x82\xd3\xe4\x93\x02K\x12I/injective/exchange/v1beta1/derivative/orders/{market_id}/{subaccount_id}\x12\x8e\x02\n\x1e\x41\x63\x63ountAddressDerivativeOrders\x12\x46.injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersRequest\x1aG.injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersResponse\"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/orders/{market_id}/account/{account_address}\x12\xfc\x01\n\x18\x44\x65rivativeOrdersByHashes\x12@.injective.exchange.v1beta1.QueryDerivativeOrdersByHashesRequest\x1a\x41.injective.exchange.v1beta1.QueryDerivativeOrdersByHashesResponse\"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/orders_by_hashes/{market_id}/{subaccount_id}\x12\xff\x01\n\x1fTraderDerivativeTransientOrders\x12>.injective.exchange.v1beta1.QueryTraderDerivativeOrdersRequest\x1a?.injective.exchange.v1beta1.QueryTraderDerivativeOrdersResponse\"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/transient_orders/{market_id}/{subaccount_id}\x12\xc2\x01\n\x11\x44\x65rivativeMarkets\x12\x39.injective.exchange.v1beta1.QueryDerivativeMarketsRequest\x1a:.injective.exchange.v1beta1.QueryDerivativeMarketsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./injective/exchange/v1beta1/derivative/markets\x12\xcb\x01\n\x10\x44\x65rivativeMarket\x12\x38.injective.exchange.v1beta1.QueryDerivativeMarketRequest\x1a\x39.injective.exchange.v1beta1.QueryDerivativeMarketResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/derivative/markets/{market_id}\x12\xe7\x01\n\x17\x44\x65rivativeMarketAddress\x12?.injective.exchange.v1beta1.QueryDerivativeMarketAddressRequest\x1a@.injective.exchange.v1beta1.QueryDerivativeMarketAddressResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/injective/exchange/v1beta1/derivative/market_address/{market_id}\x12\xd1\x01\n\x14SubaccountTradeNonce\x12<.injective.exchange.v1beta1.QuerySubaccountTradeNonceRequest\x1a=.injective.exchange.v1beta1.QuerySubaccountTradeNonceResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/exchange/{subaccount_id}\x12\xb2\x01\n\x13\x45xchangeModuleState\x12\x33.injective.exchange.v1beta1.QueryModuleStateRequest\x1a\x34.injective.exchange.v1beta1.QueryModuleStateResponse\"0\x82\xd3\xe4\x93\x02*\x12(/injective/exchange/v1beta1/module_state\x12\xa1\x01\n\tPositions\x12\x31.injective.exchange.v1beta1.QueryPositionsRequest\x1a\x32.injective.exchange.v1beta1.QueryPositionsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/injective/exchange/v1beta1/positions\x12\xcf\x01\n\x13SubaccountPositions\x12;.injective.exchange.v1beta1.QuerySubaccountPositionsRequest\x1a<.injective.exchange.v1beta1.QuerySubaccountPositionsResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/positions/{subaccount_id}\x12\xf0\x01\n\x1aSubaccountPositionInMarket\x12\x42.injective.exchange.v1beta1.QuerySubaccountPositionInMarketRequest\x1a\x43.injective.exchange.v1beta1.QuerySubaccountPositionInMarketResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/injective/exchange/v1beta1/positions/{subaccount_id}/{market_id}\x12\x95\x02\n#SubaccountEffectivePositionInMarket\x12K.injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketRequest\x1aL.injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketResponse\"S\x82\xd3\xe4\x93\x02M\x12K/injective/exchange/v1beta1/effective_positions/{subaccount_id}/{market_id}\x12\xd7\x01\n\x13PerpetualMarketInfo\x12;.injective.exchange.v1beta1.QueryPerpetualMarketInfoRequest\x1a<.injective.exchange.v1beta1.QueryPerpetualMarketInfoResponse\"E\x82\xd3\xe4\x93\x02?\x12=/injective/exchange/v1beta1/perpetual_market_info/{market_id}\x12\xe0\x01\n\x17\x45xpiryFuturesMarketInfo\x12?.injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoRequest\x1a@.injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/expiry_market_info/{market_id}\x12\xe3\x01\n\x16PerpetualMarketFunding\x12>.injective.exchange.v1beta1.QueryPerpetualMarketFundingRequest\x1a?.injective.exchange.v1beta1.QueryPerpetualMarketFundingResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/injective/exchange/v1beta1/perpetual_market_funding/{market_id}\x12\xe0\x01\n\x17SubaccountOrderMetadata\x12?.injective.exchange.v1beta1.QuerySubaccountOrderMetadataRequest\x1a@.injective.exchange.v1beta1.QuerySubaccountOrderMetadataResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/order_metadata/{subaccount_id}\x12\xc3\x01\n\x11TradeRewardPoints\x12\x39.injective.exchange.v1beta1.QueryTradeRewardPointsRequest\x1a:.injective.exchange.v1beta1.QueryTradeRewardPointsResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/exchange/v1beta1/trade_reward_points\x12\xd2\x01\n\x18PendingTradeRewardPoints\x12\x39.injective.exchange.v1beta1.QueryTradeRewardPointsRequest\x1a:.injective.exchange.v1beta1.QueryTradeRewardPointsResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/pending_trade_reward_points\x12\xcb\x01\n\x13TradeRewardCampaign\x12;.injective.exchange.v1beta1.QueryTradeRewardCampaignRequest\x1a<.injective.exchange.v1beta1.QueryTradeRewardCampaignResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v1beta1/trade_reward_campaign\x12\xe2\x01\n\x16\x46\x65\x65\x44iscountAccountInfo\x12>.injective.exchange.v1beta1.QueryFeeDiscountAccountInfoRequest\x1a?.injective.exchange.v1beta1.QueryFeeDiscountAccountInfoResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/injective/exchange/v1beta1/fee_discount_account_info/{account}\x12\xcb\x01\n\x13\x46\x65\x65\x44iscountSchedule\x12;.injective.exchange.v1beta1.QueryFeeDiscountScheduleRequest\x1a<.injective.exchange.v1beta1.QueryFeeDiscountScheduleResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v1beta1/fee_discount_schedule\x12\xd0\x01\n\x11\x42\x61lanceMismatches\x12\x39.injective.exchange.v1beta1.QueryBalanceMismatchesRequest\x1a:.injective.exchange.v1beta1.QueryBalanceMismatchesResponse\"D\x82\xd3\xe4\x93\x02>\x12.injective.exchange.v1beta1.QueryHistoricalTradeRecordsRequest\x1a?.injective.exchange.v1beta1.QueryHistoricalTradeRecordsResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/historical_trade_records\x12\xd7\x01\n\x13IsOptedOutOfRewards\x12;.injective.exchange.v1beta1.QueryIsOptedOutOfRewardsRequest\x1a<.injective.exchange.v1beta1.QueryIsOptedOutOfRewardsResponse\"E\x82\xd3\xe4\x93\x02?\x12=/injective/exchange/v1beta1/is_opted_out_of_rewards/{account}\x12\xe5\x01\n\x19OptedOutOfRewardsAccounts\x12\x41.injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsRequest\x1a\x42.injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v1beta1/opted_out_of_rewards_accounts\x12\xca\x01\n\x10MarketVolatility\x12\x38.injective.exchange.v1beta1.QueryMarketVolatilityRequest\x1a\x39.injective.exchange.v1beta1.QueryMarketVolatilityResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v1beta1/market_volatility/{market_id}\x12\xc1\x01\n\x14\x42inaryOptionsMarkets\x12\x35.injective.exchange.v1beta1.QueryBinaryMarketsRequest\x1a\x36.injective.exchange.v1beta1.QueryBinaryMarketsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/exchange/v1beta1/binary_options/markets\x12\x99\x02\n!TraderDerivativeConditionalOrders\x12I.injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersRequest\x1aJ.injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersResponse\"]\x82\xd3\xe4\x93\x02W\x12U/injective/exchange/v1beta1/derivative/orders/conditional/{market_id}/{subaccount_id}\x12\xfe\x01\n\"MarketAtomicExecutionFeeMultiplier\x12J.injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierRequest\x1aK.injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/atomic_order_fee_multiplier\x12\xc9\x01\n\x10\x41\x63tiveStakeGrant\x12\x38.injective.exchange.v1beta1.QueryActiveStakeGrantRequest\x1a\x39.injective.exchange.v1beta1.QueryActiveStakeGrantResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/active_stake_grant/{grantee}\x12\xda\x01\n\x12GrantAuthorization\x12:.injective.exchange.v1beta1.QueryGrantAuthorizationRequest\x1a;.injective.exchange.v1beta1.QueryGrantAuthorizationResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/injective/exchange/v1beta1/grant_authorization/{granter}/{grantee}\x12\xd4\x01\n\x13GrantAuthorizations\x12;.injective.exchange.v1beta1.QueryGrantAuthorizationsRequest\x1a<.injective.exchange.v1beta1.QueryGrantAuthorizationsResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/grant_authorizations/{granter}B\x86\x02\n\x1e\x63om.injective.exchange.v1beta1B\nQueryProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\nQueryProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' + _globals['_QUERYEXCHANGEPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYEXCHANGEPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_QUERYSUBACCOUNTDEPOSITSREQUEST'].fields_by_name['subaccount']._loaded_options = None + _globals['_QUERYSUBACCOUNTDEPOSITSREQUEST'].fields_by_name['subaccount']._serialized_options = b'\310\336\037\001' + _globals['_QUERYSUBACCOUNTDEPOSITSRESPONSE_DEPOSITSENTRY']._loaded_options = None + _globals['_QUERYSUBACCOUNTDEPOSITSRESPONSE_DEPOSITSENTRY']._serialized_options = b'8\001' + _globals['_QUERYEXCHANGEBALANCESRESPONSE'].fields_by_name['balances']._loaded_options = None + _globals['_QUERYEXCHANGEBALANCESRESPONSE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000' + _globals['_QUERYAGGREGATEMARKETVOLUMERESPONSE'].fields_by_name['volume']._loaded_options = None + _globals['_QUERYAGGREGATEMARKETVOLUMERESPONSE'].fields_by_name['volume']._serialized_options = b'\310\336\037\000' + _globals['_QUERYDENOMDECIMALSRESPONSE'].fields_by_name['denom_decimals']._loaded_options = None + _globals['_QUERYDENOMDECIMALSRESPONSE'].fields_by_name['denom_decimals']._serialized_options = b'\310\336\037\000' + _globals['_QUERYSPOTORDERBOOKREQUEST'].fields_by_name['limit_cumulative_notional']._loaded_options = None + _globals['_QUERYSPOTORDERBOOKREQUEST'].fields_by_name['limit_cumulative_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYSPOTORDERBOOKREQUEST'].fields_by_name['limit_cumulative_quantity']._loaded_options = None + _globals['_QUERYSPOTORDERBOOKREQUEST'].fields_by_name['limit_cumulative_quantity']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_FULLSPOTMARKET'].fields_by_name['mid_price_and_tob']._loaded_options = None + _globals['_FULLSPOTMARKET'].fields_by_name['mid_price_and_tob']._serialized_options = b'\310\336\037\001' + _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['price']._loaded_options = None + _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['quantity']._loaded_options = None + _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['fillable']._loaded_options = None + _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['mid_price']._loaded_options = None + _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['mid_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['best_buy_price']._loaded_options = None + _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['best_buy_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['best_sell_price']._loaded_options = None + _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['best_sell_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['mid_price']._loaded_options = None + _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['mid_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['best_buy_price']._loaded_options = None + _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['best_buy_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['best_sell_price']._loaded_options = None + _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['best_sell_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYDERIVATIVEORDERBOOKREQUEST'].fields_by_name['limit_cumulative_notional']._loaded_options = None + _globals['_QUERYDERIVATIVEORDERBOOKREQUEST'].fields_by_name['limit_cumulative_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['base_amount']._loaded_options = None + _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['base_amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['quote_amount']._loaded_options = None + _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['quote_amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['reference_price']._loaded_options = None + _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['reference_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['quote_amount']._loaded_options = None + _globals['_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['quote_amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['reference_price']._loaded_options = None + _globals['_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['reference_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['price']._loaded_options = None + _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['quantity']._loaded_options = None + _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['margin']._loaded_options = None + _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['fillable']._loaded_options = None + _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['isBuy']._loaded_options = None + _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['isBuy']._serialized_options = b'\352\336\037\005isBuy' + _globals['_PRICELEVEL'].fields_by_name['price']._loaded_options = None + _globals['_PRICELEVEL'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PRICELEVEL'].fields_by_name['quantity']._loaded_options = None + _globals['_PRICELEVEL'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_FULLDERIVATIVEMARKET'].fields_by_name['mark_price']._loaded_options = None + _globals['_FULLDERIVATIVEMARKET'].fields_by_name['mark_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_FULLDERIVATIVEMARKET'].fields_by_name['mid_price_and_tob']._loaded_options = None + _globals['_FULLDERIVATIVEMARKET'].fields_by_name['mid_price_and_tob']._serialized_options = b'\310\336\037\001' + _globals['_QUERYSUBACCOUNTPOSITIONSRESPONSE'].fields_by_name['state']._loaded_options = None + _globals['_QUERYSUBACCOUNTPOSITIONSRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\000' + _globals['_QUERYSUBACCOUNTPOSITIONINMARKETRESPONSE'].fields_by_name['state']._loaded_options = None + _globals['_QUERYSUBACCOUNTPOSITIONINMARKETRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\001' + _globals['_EFFECTIVEPOSITION'].fields_by_name['quantity']._loaded_options = None + _globals['_EFFECTIVEPOSITION'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EFFECTIVEPOSITION'].fields_by_name['entry_price']._loaded_options = None + _globals['_EFFECTIVEPOSITION'].fields_by_name['entry_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EFFECTIVEPOSITION'].fields_by_name['effective_margin']._loaded_options = None + _globals['_EFFECTIVEPOSITION'].fields_by_name['effective_margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETRESPONSE'].fields_by_name['state']._loaded_options = None + _globals['_QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\001' + _globals['_QUERYPERPETUALMARKETINFORESPONSE'].fields_by_name['info']._loaded_options = None + _globals['_QUERYPERPETUALMARKETINFORESPONSE'].fields_by_name['info']._serialized_options = b'\310\336\037\000' + _globals['_QUERYEXPIRYFUTURESMARKETINFORESPONSE'].fields_by_name['info']._loaded_options = None + _globals['_QUERYEXPIRYFUTURESMARKETINFORESPONSE'].fields_by_name['info']._serialized_options = b'\310\336\037\000' + _globals['_QUERYPERPETUALMARKETFUNDINGRESPONSE'].fields_by_name['state']._loaded_options = None + _globals['_QUERYPERPETUALMARKETFUNDINGRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\000' + _globals['_QUERYSUBACCOUNTORDERMETADATARESPONSE'].fields_by_name['metadata']._loaded_options = None + _globals['_QUERYSUBACCOUNTORDERMETADATARESPONSE'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000' + _globals['_QUERYPOSITIONSRESPONSE'].fields_by_name['state']._loaded_options = None + _globals['_QUERYPOSITIONSRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\000' + _globals['_QUERYTRADEREWARDPOINTSRESPONSE'].fields_by_name['account_trade_reward_points']._loaded_options = None + _globals['_QUERYTRADEREWARDPOINTSRESPONSE'].fields_by_name['account_trade_reward_points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYTRADEREWARDCAMPAIGNRESPONSE'].fields_by_name['total_trade_reward_points']._loaded_options = None + _globals['_QUERYTRADEREWARDCAMPAIGNRESPONSE'].fields_by_name['total_trade_reward_points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYTRADEREWARDCAMPAIGNRESPONSE'].fields_by_name['pending_total_trade_reward_points']._loaded_options = None + _globals['_QUERYTRADEREWARDCAMPAIGNRESPONSE'].fields_by_name['pending_total_trade_reward_points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BALANCEMISMATCH'].fields_by_name['available']._loaded_options = None + _globals['_BALANCEMISMATCH'].fields_by_name['available']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BALANCEMISMATCH'].fields_by_name['total']._loaded_options = None + _globals['_BALANCEMISMATCH'].fields_by_name['total']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BALANCEMISMATCH'].fields_by_name['balance_hold']._loaded_options = None + _globals['_BALANCEMISMATCH'].fields_by_name['balance_hold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BALANCEMISMATCH'].fields_by_name['expected_total']._loaded_options = None + _globals['_BALANCEMISMATCH'].fields_by_name['expected_total']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BALANCEMISMATCH'].fields_by_name['difference']._loaded_options = None + _globals['_BALANCEMISMATCH'].fields_by_name['difference']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['available']._loaded_options = None + _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['available']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['total']._loaded_options = None + _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['total']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['balance_hold']._loaded_options = None + _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['balance_hold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYMARKETVOLATILITYRESPONSE'].fields_by_name['volatility']._loaded_options = None + _globals['_QUERYMARKETVOLATILITYRESPONSE'].fields_by_name['volatility']._serialized_options = b'\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['price']._loaded_options = None + _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['quantity']._loaded_options = None + _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['margin']._loaded_options = None + _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['triggerPrice']._loaded_options = None + _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['triggerPrice']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['isBuy']._loaded_options = None + _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['isBuy']._serialized_options = b'\352\336\037\005isBuy' + _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['isLimit']._loaded_options = None + _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['isLimit']._serialized_options = b'\352\336\037\007isLimit' + _globals['_QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERRESPONSE'].fields_by_name['multiplier']._loaded_options = None + _globals['_QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERRESPONSE'].fields_by_name['multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYGRANTAUTHORIZATIONRESPONSE'].fields_by_name['amount']._loaded_options = None + _globals['_QUERYGRANTAUTHORIZATIONRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_QUERYGRANTAUTHORIZATIONSRESPONSE'].fields_by_name['total_grant_amount']._loaded_options = None + _globals['_QUERYGRANTAUTHORIZATIONSRESPONSE'].fields_by_name['total_grant_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_QUERY'].methods_by_name['L3DerivativeOrderBook']._loaded_options = None + _globals['_QUERY'].methods_by_name['L3DerivativeOrderBook']._serialized_options = b'\202\323\344\223\002@\022>/injective/exchange/v1beta1/derivative/L3OrderBook/{market_id}' + _globals['_QUERY'].methods_by_name['L3SpotOrderBook']._loaded_options = None + _globals['_QUERY'].methods_by_name['L3SpotOrderBook']._serialized_options = b'\202\323\344\223\002:\0228/injective/exchange/v1beta1/spot/L3OrderBook/{market_id}' + _globals['_QUERY'].methods_by_name['QueryExchangeParams']._loaded_options = None + _globals['_QUERY'].methods_by_name['QueryExchangeParams']._serialized_options = b'\202\323\344\223\002,\022*/injective/exchange/v1beta1/exchangeParams' + _globals['_QUERY'].methods_by_name['SubaccountDeposits']._loaded_options = None + _globals['_QUERY'].methods_by_name['SubaccountDeposits']._serialized_options = b'\202\323\344\223\0029\0227/injective/exchange/v1beta1/exchange/subaccountDeposits' + _globals['_QUERY'].methods_by_name['SubaccountDeposit']._loaded_options = None + _globals['_QUERY'].methods_by_name['SubaccountDeposit']._serialized_options = b'\202\323\344\223\0028\0226/injective/exchange/v1beta1/exchange/subaccountDeposit' + _globals['_QUERY'].methods_by_name['ExchangeBalances']._loaded_options = None + _globals['_QUERY'].methods_by_name['ExchangeBalances']._serialized_options = b'\202\323\344\223\0027\0225/injective/exchange/v1beta1/exchange/exchangeBalances' + _globals['_QUERY'].methods_by_name['AggregateVolume']._loaded_options = None + _globals['_QUERY'].methods_by_name['AggregateVolume']._serialized_options = b'\202\323\344\223\002@\022>/injective/exchange/v1beta1/exchange/aggregateVolume/{account}' + _globals['_QUERY'].methods_by_name['AggregateVolumes']._loaded_options = None + _globals['_QUERY'].methods_by_name['AggregateVolumes']._serialized_options = b'\202\323\344\223\0027\0225/injective/exchange/v1beta1/exchange/aggregateVolumes' + _globals['_QUERY'].methods_by_name['AggregateMarketVolume']._loaded_options = None + _globals['_QUERY'].methods_by_name['AggregateMarketVolume']._serialized_options = b'\202\323\344\223\002H\022F/injective/exchange/v1beta1/exchange/aggregateMarketVolume/{market_id}' + _globals['_QUERY'].methods_by_name['AggregateMarketVolumes']._loaded_options = None + _globals['_QUERY'].methods_by_name['AggregateMarketVolumes']._serialized_options = b'\202\323\344\223\002=\022;/injective/exchange/v1beta1/exchange/aggregateMarketVolumes' + _globals['_QUERY'].methods_by_name['DenomDecimal']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomDecimal']._serialized_options = b'\202\323\344\223\002<\022:/injective/exchange/v1beta1/exchange/denom_decimal/{denom}' + _globals['_QUERY'].methods_by_name['DenomDecimals']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomDecimals']._serialized_options = b'\202\323\344\223\0025\0223/injective/exchange/v1beta1/exchange/denom_decimals' + _globals['_QUERY'].methods_by_name['SpotMarkets']._loaded_options = None + _globals['_QUERY'].methods_by_name['SpotMarkets']._serialized_options = b'\202\323\344\223\002*\022(/injective/exchange/v1beta1/spot/markets' + _globals['_QUERY'].methods_by_name['SpotMarket']._loaded_options = None + _globals['_QUERY'].methods_by_name['SpotMarket']._serialized_options = b'\202\323\344\223\0026\0224/injective/exchange/v1beta1/spot/markets/{market_id}' + _globals['_QUERY'].methods_by_name['FullSpotMarkets']._loaded_options = None + _globals['_QUERY'].methods_by_name['FullSpotMarkets']._serialized_options = b'\202\323\344\223\002/\022-/injective/exchange/v1beta1/spot/full_markets' + _globals['_QUERY'].methods_by_name['FullSpotMarket']._loaded_options = None + _globals['_QUERY'].methods_by_name['FullSpotMarket']._serialized_options = b'\202\323\344\223\002:\0228/injective/exchange/v1beta1/spot/full_market/{market_id}' + _globals['_QUERY'].methods_by_name['SpotOrderbook']._loaded_options = None + _globals['_QUERY'].methods_by_name['SpotOrderbook']._serialized_options = b'\202\323\344\223\0028\0226/injective/exchange/v1beta1/spot/orderbook/{market_id}' + _globals['_QUERY'].methods_by_name['TraderSpotOrders']._loaded_options = None + _globals['_QUERY'].methods_by_name['TraderSpotOrders']._serialized_options = b'\202\323\344\223\002E\022C/injective/exchange/v1beta1/spot/orders/{market_id}/{subaccount_id}' + _globals['_QUERY'].methods_by_name['AccountAddressSpotOrders']._loaded_options = None + _globals['_QUERY'].methods_by_name['AccountAddressSpotOrders']._serialized_options = b'\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/orders/{market_id}/account/{account_address}' + _globals['_QUERY'].methods_by_name['SpotOrdersByHashes']._loaded_options = None + _globals['_QUERY'].methods_by_name['SpotOrdersByHashes']._serialized_options = b'\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/orders_by_hashes/{market_id}/{subaccount_id}' + _globals['_QUERY'].methods_by_name['SubaccountOrders']._loaded_options = None + _globals['_QUERY'].methods_by_name['SubaccountOrders']._serialized_options = b'\202\323\344\223\0024\0222/injective/exchange/v1beta1/orders/{subaccount_id}' + _globals['_QUERY'].methods_by_name['TraderSpotTransientOrders']._loaded_options = None + _globals['_QUERY'].methods_by_name['TraderSpotTransientOrders']._serialized_options = b'\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/transient_orders/{market_id}/{subaccount_id}' + _globals['_QUERY'].methods_by_name['SpotMidPriceAndTOB']._loaded_options = None + _globals['_QUERY'].methods_by_name['SpotMidPriceAndTOB']._serialized_options = b'\202\323\344\223\002@\022>/injective/exchange/v1beta1/spot/mid_price_and_tob/{market_id}' + _globals['_QUERY'].methods_by_name['DerivativeMidPriceAndTOB']._loaded_options = None + _globals['_QUERY'].methods_by_name['DerivativeMidPriceAndTOB']._serialized_options = b'\202\323\344\223\002F\022D/injective/exchange/v1beta1/derivative/mid_price_and_tob/{market_id}' + _globals['_QUERY'].methods_by_name['DerivativeOrderbook']._loaded_options = None + _globals['_QUERY'].methods_by_name['DerivativeOrderbook']._serialized_options = b'\202\323\344\223\002>\022\022\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*&exchange/MsgBatchCreateSpotLimitOrders\"\xb2\x01\n%MsgBatchCreateSpotLimitOrdersResponse\x12!\n\x0corder_hashes\x18\x01 \x03(\tR\x0borderHashes\x12.\n\x13\x63reated_orders_cids\x18\x02 \x03(\tR\x11\x63reatedOrdersCids\x12,\n\x12\x66\x61iled_orders_cids\x18\x03 \x03(\tR\x10\x66\x61iledOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbf\x03\n\x1aMsgInstantSpotMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x03 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#exchange/MsgInstantSpotMarketLaunch\"$\n\"MsgInstantSpotMarketLaunchResponse\"\xb1\x07\n\x1fMsgInstantPerpetualMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x06 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x07 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12I\n\x0emaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12U\n\x14initial_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12R\n\x13min_price_tick_size\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*(exchange/MsgInstantPerpetualMarketLaunch\")\n\'MsgInstantPerpetualMarketLaunchResponse\"\x89\x07\n#MsgInstantBinaryOptionsMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x03 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x04 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x05 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x06 \x01(\rR\x11oracleScaleFactor\x12I\n\x0emaker_fee_rate\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12\x31\n\x14\x65xpiration_timestamp\x18\t \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\n \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\x0b \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\x0c \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgInstantBinaryOptionsMarketLaunch\"-\n+MsgInstantBinaryOptionsMarketLaunchResponse\"\xd1\x07\n#MsgInstantExpiryFuturesMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x16\n\x06\x65xpiry\x18\x08 \x01(\x03R\x06\x65xpiry\x12I\n\x0emaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12U\n\x14initial_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgInstantExpiryFuturesMarketLaunch\"-\n+MsgInstantExpiryFuturesMarketLaunchResponse\"\xb0\x01\n\x18MsgCreateSpotMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00R\x05order:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgCreateSpotMarketOrder\"\xb1\x01\n MsgCreateSpotMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12R\n\x07results\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.SpotMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd5\x01\n\x16SpotMarketOrderResults\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x35\n\x03\x66\x65\x65\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbc\x01\n\x1dMsgCreateDerivativeLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order::\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*&exchange/MsgCreateDerivativeLimitOrder\"b\n%MsgCreateDerivativeLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc2\x01\n MsgCreateBinaryOptionsLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:=\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*)exchange/MsgCreateBinaryOptionsLimitOrder\"e\n(MsgCreateBinaryOptionsLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xca\x01\n#MsgBatchCreateDerivativeLimitOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12I\n\x06orders\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x06orders:@\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgBatchCreateDerivativeLimitOrders\"\xb8\x01\n+MsgBatchCreateDerivativeLimitOrdersResponse\x12!\n\x0corder_hashes\x18\x01 \x03(\tR\x0borderHashes\x12.\n\x13\x63reated_orders_cids\x18\x02 \x03(\tR\x11\x63reatedOrdersCids\x12,\n\x12\x66\x61iled_orders_cids\x18\x03 \x03(\tR\x10\x66\x61iledOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd0\x01\n\x12MsgCancelSpotOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id:/\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1b\x65xchange/MsgCancelSpotOrder\"\x1c\n\x1aMsgCancelSpotOrderResponse\"\xaa\x01\n\x18MsgBatchCancelSpotOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:5\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgBatchCancelSpotOrders\"F\n MsgBatchCancelSpotOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbc\x01\n!MsgBatchCancelBinaryOptionsOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:>\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgBatchCancelBinaryOptionsOrders\"O\n)MsgBatchCancelBinaryOptionsOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf2\x07\n\x14MsgBatchUpdateOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12?\n\x1dspot_market_ids_to_cancel_all\x18\x03 \x03(\tR\x18spotMarketIdsToCancelAll\x12K\n#derivative_market_ids_to_cancel_all\x18\x04 \x03(\tR\x1e\x64\x65rivativeMarketIdsToCancelAll\x12^\n\x15spot_orders_to_cancel\x18\x05 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x12spotOrdersToCancel\x12j\n\x1b\x64\x65rivative_orders_to_cancel\x18\x06 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x18\x64\x65rivativeOrdersToCancel\x12^\n\x15spot_orders_to_create\x18\x07 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x01R\x12spotOrdersToCreate\x12p\n\x1b\x64\x65rivative_orders_to_create\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x18\x64\x65rivativeOrdersToCreate\x12q\n\x1f\x62inary_options_orders_to_cancel\x18\t \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x1b\x62inaryOptionsOrdersToCancel\x12R\n\'binary_options_market_ids_to_cancel_all\x18\n \x03(\tR!binaryOptionsMarketIdsToCancelAll\x12w\n\x1f\x62inary_options_orders_to_create\x18\x0b \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x1b\x62inaryOptionsOrdersToCreate:1\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x65xchange/MsgBatchUpdateOrders\"\x88\x06\n\x1cMsgBatchUpdateOrdersResponse\x12.\n\x13spot_cancel_success\x18\x01 \x03(\x08R\x11spotCancelSuccess\x12:\n\x19\x64\x65rivative_cancel_success\x18\x02 \x03(\x08R\x17\x64\x65rivativeCancelSuccess\x12*\n\x11spot_order_hashes\x18\x03 \x03(\tR\x0fspotOrderHashes\x12\x36\n\x17\x64\x65rivative_order_hashes\x18\x04 \x03(\tR\x15\x64\x65rivativeOrderHashes\x12\x41\n\x1d\x62inary_options_cancel_success\x18\x05 \x03(\x08R\x1a\x62inaryOptionsCancelSuccess\x12=\n\x1b\x62inary_options_order_hashes\x18\x06 \x03(\tR\x18\x62inaryOptionsOrderHashes\x12\x37\n\x18\x63reated_spot_orders_cids\x18\x07 \x03(\tR\x15\x63reatedSpotOrdersCids\x12\x35\n\x17\x66\x61iled_spot_orders_cids\x18\x08 \x03(\tR\x14\x66\x61iledSpotOrdersCids\x12\x43\n\x1e\x63reated_derivative_orders_cids\x18\t \x03(\tR\x1b\x63reatedDerivativeOrdersCids\x12\x41\n\x1d\x66\x61iled_derivative_orders_cids\x18\n \x03(\tR\x1a\x66\x61iledDerivativeOrdersCids\x12J\n\"created_binary_options_orders_cids\x18\x0b \x03(\tR\x1e\x63reatedBinaryOptionsOrdersCids\x12H\n!failed_binary_options_orders_cids\x18\x0c \x03(\tR\x1d\x66\x61iledBinaryOptionsOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbe\x01\n\x1eMsgCreateDerivativeMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:;\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgCreateDerivativeMarketOrder\"\xbd\x01\n&MsgCreateDerivativeMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12X\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf0\x02\n\x1c\x44\x65rivativeMarketOrderResults\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x35\n\x03\x66\x65\x65\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12V\n\x0eposition_delta\x18\x04 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaB\x04\xc8\xde\x1f\x00R\rpositionDelta\x12;\n\x06payout\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc4\x01\n!MsgCreateBinaryOptionsMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:>\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgCreateBinaryOptionsMarketOrder\"\xc0\x01\n)MsgCreateBinaryOptionsMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12X\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xfb\x01\n\x18MsgCancelDerivativeOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x05 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id:5\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgCancelDerivativeOrder\"\"\n MsgCancelDerivativeOrderResponse\"\x81\x02\n\x1bMsgCancelBinaryOptionsOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x05 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id:8\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*$exchange/MsgCancelBinaryOptionsOrder\"%\n#MsgCancelBinaryOptionsOrderResponse\"\x9d\x01\n\tOrderData\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x04 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id\"\xb6\x01\n\x1eMsgBatchCancelDerivativeOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:;\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgBatchCancelDerivativeOrders\"L\n&MsgBatchCancelDerivativeOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x86\x02\n\x15MsgSubaccountTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x37\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgSubaccountTransfer\"\x1f\n\x1dMsgSubaccountTransferResponse\"\x82\x02\n\x13MsgExternalTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x37\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1c\x65xchange/MsgExternalTransfer\"\x1d\n\x1bMsgExternalTransferResponse\"\xe8\x01\n\x14MsgLiquidatePosition\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12G\n\x05order\x18\x04 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x05order:-\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x65xchange/MsgLiquidatePosition\"\x1e\n\x1cMsgLiquidatePositionResponse\"\xa7\x01\n\x18MsgEmergencySettleMarket\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId:1\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgEmergencySettleMarket\"\"\n MsgEmergencySettleMarketResponse\"\xaf\x02\n\x19MsgIncreasePositionMargin\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\x12;\n\x06\x61mount\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount:2\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\"exchange/MsgIncreasePositionMargin\"#\n!MsgIncreasePositionMarginResponse\"\xaf\x02\n\x19MsgDecreasePositionMargin\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\x12;\n\x06\x61mount\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount:2\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\"exchange/MsgDecreasePositionMargin\"#\n!MsgDecreasePositionMarginResponse\"\xca\x01\n\x1cMsgPrivilegedExecuteContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x14\n\x05\x66unds\x18\x02 \x01(\tR\x05\x66unds\x12)\n\x10\x63ontract_address\x18\x03 \x01(\tR\x0f\x63ontractAddress\x12\x12\n\x04\x64\x61ta\x18\x04 \x01(\tR\x04\x64\x61ta:=\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*%exchange/MsgPrivilegedExecuteContract\"\xa7\x01\n$MsgPrivilegedExecuteContractResponse\x12j\n\nfunds_diff\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\tfundsDiff:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"]\n\x10MsgRewardsOptOut\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19\x65xchange/MsgRewardsOptOut\"\x1a\n\x18MsgRewardsOptOutResponse\"\xaf\x01\n\x15MsgReclaimLockedFunds\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x13lockedAccountPubKey\x18\x02 \x01(\x0cR\x13lockedAccountPubKey\x12\x1c\n\tsignature\x18\x03 \x01(\x0cR\tsignature:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgReclaimLockedFunds\"\x1f\n\x1dMsgReclaimLockedFundsResponse\"\x80\x01\n\x0bMsgSignData\x12S\n\x06Signer\x18\x01 \x01(\x0c\x42;\xea\xde\x1f\x06signer\xfa\xde\x1f-github.com/cosmos/cosmos-sdk/types.AccAddressR\x06Signer\x12\x1c\n\x04\x44\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61taR\x04\x44\x61ta\"x\n\nMsgSignDoc\x12%\n\tsign_type\x18\x01 \x01(\tB\x08\xea\xde\x1f\x04typeR\x08signType\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.MsgSignDataB\x04\xc8\xde\x1f\x00R\x05value\"\x8c\x03\n!MsgAdminUpdateBinaryOptionsMarket\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x31\n\x14\x65xpiration_timestamp\x18\x04 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\x05 \x01(\x03R\x13settlementTimestamp\x12@\n\x06status\x18\x06 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status::\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgAdminUpdateBinaryOptionsMarket\"+\n)MsgAdminUpdateBinaryOptionsMarketResponse\"\xab\x01\n\x17MsgAuthorizeStakeGrants\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants:0\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* exchange/MsgAuthorizeStakeGrants\"!\n\x1fMsgAuthorizeStakeGrantsResponse\"y\n\x15MsgActivateStakeGrant\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgActivateStakeGrant\"\x1f\n\x1dMsgActivateStakeGrantResponse2\xd0\'\n\x03Msg\x12\x61\n\x07\x44\x65posit\x12&.injective.exchange.v1beta1.MsgDeposit\x1a..injective.exchange.v1beta1.MsgDepositResponse\x12\x64\n\x08Withdraw\x12\'.injective.exchange.v1beta1.MsgWithdraw\x1a/.injective.exchange.v1beta1.MsgWithdrawResponse\x12\x91\x01\n\x17InstantSpotMarketLaunch\x12\x36.injective.exchange.v1beta1.MsgInstantSpotMarketLaunch\x1a>.injective.exchange.v1beta1.MsgInstantSpotMarketLaunchResponse\x12\xa0\x01\n\x1cInstantPerpetualMarketLaunch\x12;.injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch\x1a\x43.injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunchResponse\x12\xac\x01\n InstantExpiryFuturesMarketLaunch\x12?.injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch\x1aG.injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunchResponse\x12\x88\x01\n\x14\x43reateSpotLimitOrder\x12\x33.injective.exchange.v1beta1.MsgCreateSpotLimitOrder\x1a;.injective.exchange.v1beta1.MsgCreateSpotLimitOrderResponse\x12\x9a\x01\n\x1a\x42\x61tchCreateSpotLimitOrders\x12\x39.injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders\x1a\x41.injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrdersResponse\x12\x8b\x01\n\x15\x43reateSpotMarketOrder\x12\x34.injective.exchange.v1beta1.MsgCreateSpotMarketOrder\x1a<.injective.exchange.v1beta1.MsgCreateSpotMarketOrderResponse\x12y\n\x0f\x43\x61ncelSpotOrder\x12..injective.exchange.v1beta1.MsgCancelSpotOrder\x1a\x36.injective.exchange.v1beta1.MsgCancelSpotOrderResponse\x12\x8b\x01\n\x15\x42\x61tchCancelSpotOrders\x12\x34.injective.exchange.v1beta1.MsgBatchCancelSpotOrders\x1a<.injective.exchange.v1beta1.MsgBatchCancelSpotOrdersResponse\x12\x7f\n\x11\x42\x61tchUpdateOrders\x12\x30.injective.exchange.v1beta1.MsgBatchUpdateOrders\x1a\x38.injective.exchange.v1beta1.MsgBatchUpdateOrdersResponse\x12\x97\x01\n\x19PrivilegedExecuteContract\x12\x38.injective.exchange.v1beta1.MsgPrivilegedExecuteContract\x1a@.injective.exchange.v1beta1.MsgPrivilegedExecuteContractResponse\x12\x9a\x01\n\x1a\x43reateDerivativeLimitOrder\x12\x39.injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder\x1a\x41.injective.exchange.v1beta1.MsgCreateDerivativeLimitOrderResponse\x12\xac\x01\n BatchCreateDerivativeLimitOrders\x12?.injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders\x1aG.injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrdersResponse\x12\x9d\x01\n\x1b\x43reateDerivativeMarketOrder\x12:.injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder\x1a\x42.injective.exchange.v1beta1.MsgCreateDerivativeMarketOrderResponse\x12\x8b\x01\n\x15\x43\x61ncelDerivativeOrder\x12\x34.injective.exchange.v1beta1.MsgCancelDerivativeOrder\x1a<.injective.exchange.v1beta1.MsgCancelDerivativeOrderResponse\x12\x9d\x01\n\x1b\x42\x61tchCancelDerivativeOrders\x12:.injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders\x1a\x42.injective.exchange.v1beta1.MsgBatchCancelDerivativeOrdersResponse\x12\xac\x01\n InstantBinaryOptionsMarketLaunch\x12?.injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch\x1aG.injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunchResponse\x12\xa3\x01\n\x1d\x43reateBinaryOptionsLimitOrder\x12<.injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder\x1a\x44.injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrderResponse\x12\xa6\x01\n\x1e\x43reateBinaryOptionsMarketOrder\x12=.injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder\x1a\x45.injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrderResponse\x12\x94\x01\n\x18\x43\x61ncelBinaryOptionsOrder\x12\x37.injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder\x1a?.injective.exchange.v1beta1.MsgCancelBinaryOptionsOrderResponse\x12\xa6\x01\n\x1e\x42\x61tchCancelBinaryOptionsOrders\x12=.injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders\x1a\x45.injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrdersResponse\x12\x82\x01\n\x12SubaccountTransfer\x12\x31.injective.exchange.v1beta1.MsgSubaccountTransfer\x1a\x39.injective.exchange.v1beta1.MsgSubaccountTransferResponse\x12|\n\x10\x45xternalTransfer\x12/.injective.exchange.v1beta1.MsgExternalTransfer\x1a\x37.injective.exchange.v1beta1.MsgExternalTransferResponse\x12\x7f\n\x11LiquidatePosition\x12\x30.injective.exchange.v1beta1.MsgLiquidatePosition\x1a\x38.injective.exchange.v1beta1.MsgLiquidatePositionResponse\x12\x8b\x01\n\x15\x45mergencySettleMarket\x12\x34.injective.exchange.v1beta1.MsgEmergencySettleMarket\x1a<.injective.exchange.v1beta1.MsgEmergencySettleMarketResponse\x12\x8e\x01\n\x16IncreasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgIncreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgIncreasePositionMarginResponse\x12\x8e\x01\n\x16\x44\x65\x63reasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgDecreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgDecreasePositionMarginResponse\x12s\n\rRewardsOptOut\x12,.injective.exchange.v1beta1.MsgRewardsOptOut\x1a\x34.injective.exchange.v1beta1.MsgRewardsOptOutResponse\x12\xa6\x01\n\x1e\x41\x64minUpdateBinaryOptionsMarket\x12=.injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket\x1a\x45.injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarketResponse\x12p\n\x0cUpdateParams\x12+.injective.exchange.v1beta1.MsgUpdateParams\x1a\x33.injective.exchange.v1beta1.MsgUpdateParamsResponse\x12|\n\x10UpdateSpotMarket\x12/.injective.exchange.v1beta1.MsgUpdateSpotMarket\x1a\x37.injective.exchange.v1beta1.MsgUpdateSpotMarketResponse\x12\x8e\x01\n\x16UpdateDerivativeMarket\x12\x35.injective.exchange.v1beta1.MsgUpdateDerivativeMarket\x1a=.injective.exchange.v1beta1.MsgUpdateDerivativeMarketResponse\x12\x88\x01\n\x14\x41uthorizeStakeGrants\x12\x33.injective.exchange.v1beta1.MsgAuthorizeStakeGrants\x1a;.injective.exchange.v1beta1.MsgAuthorizeStakeGrantsResponse\x12\x82\x01\n\x12\x41\x63tivateStakeGrant\x12\x31.injective.exchange.v1beta1.MsgActivateStakeGrant\x1a\x39.injective.exchange.v1beta1.MsgActivateStakeGrantResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x83\x02\n\x1e\x63om.injective.exchange.v1beta1B\x07TxProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\007TxProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' + _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_price_tick_size']._loaded_options = None + _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_quantity_tick_size']._loaded_options = None + _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_notional']._loaded_options = None + _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGUPDATESPOTMARKET']._loaded_options = None + _globals['_MSGUPDATESPOTMARKET']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\005admin\212\347\260*\034exchange/MsgUpdateSpotMarket' + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_price_tick_size']._loaded_options = None + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_quantity_tick_size']._loaded_options = None + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_notional']._loaded_options = None + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_initial_margin_ratio']._loaded_options = None + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_maintenance_margin_ratio']._loaded_options = None + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGUPDATEDERIVATIVEMARKET']._loaded_options = None + _globals['_MSGUPDATEDERIVATIVEMARKET']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\005admin\212\347\260*\"exchange/MsgUpdateDerivativeMarket' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\030exchange/MsgUpdateParams' + _globals['_MSGDEPOSIT'].fields_by_name['amount']._loaded_options = None + _globals['_MSGDEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_MSGDEPOSIT']._loaded_options = None + _globals['_MSGDEPOSIT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\023exchange/MsgDeposit' + _globals['_MSGWITHDRAW'].fields_by_name['amount']._loaded_options = None + _globals['_MSGWITHDRAW'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_MSGWITHDRAW']._loaded_options = None + _globals['_MSGWITHDRAW']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\024exchange/MsgWithdraw' + _globals['_MSGCREATESPOTLIMITORDER'].fields_by_name['order']._loaded_options = None + _globals['_MSGCREATESPOTLIMITORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_MSGCREATESPOTLIMITORDER']._loaded_options = None + _globals['_MSGCREATESPOTLIMITORDER']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260* exchange/MsgCreateSpotLimitOrder' + _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._loaded_options = None + _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGBATCHCREATESPOTLIMITORDERS'].fields_by_name['orders']._loaded_options = None + _globals['_MSGBATCHCREATESPOTLIMITORDERS'].fields_by_name['orders']._serialized_options = b'\310\336\037\000' + _globals['_MSGBATCHCREATESPOTLIMITORDERS']._loaded_options = None + _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*&exchange/MsgBatchCreateSpotLimitOrders' + _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._loaded_options = None + _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_notional']._loaded_options = None + _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTSPOTMARKETLAUNCH']._loaded_options = None + _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*#exchange/MsgInstantSpotMarketLaunch' + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['initial_margin_ratio']._loaded_options = None + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['maintenance_margin_ratio']._loaded_options = None + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_notional']._loaded_options = None + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._loaded_options = None + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*(exchange/MsgInstantPerpetualMarketLaunch' + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_notional']._loaded_options = None + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._loaded_options = None + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgInstantBinaryOptionsMarketLaunch' + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['initial_margin_ratio']._loaded_options = None + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['maintenance_margin_ratio']._loaded_options = None + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_notional']._loaded_options = None + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._loaded_options = None + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgInstantExpiryFuturesMarketLaunch' + _globals['_MSGCREATESPOTMARKETORDER'].fields_by_name['order']._loaded_options = None + _globals['_MSGCREATESPOTMARKETORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_MSGCREATESPOTMARKETORDER']._loaded_options = None + _globals['_MSGCREATESPOTMARKETORDER']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgCreateSpotMarketOrder' + _globals['_MSGCREATESPOTMARKETORDERRESPONSE'].fields_by_name['results']._loaded_options = None + _globals['_MSGCREATESPOTMARKETORDERRESPONSE'].fields_by_name['results']._serialized_options = b'\310\336\037\001' + _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._loaded_options = None + _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['quantity']._loaded_options = None + _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['price']._loaded_options = None + _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['fee']._loaded_options = None + _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETORDERRESULTS']._loaded_options = None + _globals['_SPOTMARKETORDERRESULTS']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGCREATEDERIVATIVELIMITORDER'].fields_by_name['order']._loaded_options = None + _globals['_MSGCREATEDERIVATIVELIMITORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_MSGCREATEDERIVATIVELIMITORDER']._loaded_options = None + _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*&exchange/MsgCreateDerivativeLimitOrder' + _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._loaded_options = None + _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGCREATEBINARYOPTIONSLIMITORDER'].fields_by_name['order']._loaded_options = None + _globals['_MSGCREATEBINARYOPTIONSLIMITORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._loaded_options = None + _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*)exchange/MsgCreateBinaryOptionsLimitOrder' + _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._loaded_options = None + _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS'].fields_by_name['orders']._loaded_options = None + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS'].fields_by_name['orders']._serialized_options = b'\310\336\037\000' + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._loaded_options = None + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgBatchCreateDerivativeLimitOrders' + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._loaded_options = None + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGCANCELSPOTORDER']._loaded_options = None + _globals['_MSGCANCELSPOTORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\033exchange/MsgCancelSpotOrder' + _globals['_MSGBATCHCANCELSPOTORDERS'].fields_by_name['data']._loaded_options = None + _globals['_MSGBATCHCANCELSPOTORDERS'].fields_by_name['data']._serialized_options = b'\310\336\037\000' + _globals['_MSGBATCHCANCELSPOTORDERS']._loaded_options = None + _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgBatchCancelSpotOrders' + _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._loaded_options = None + _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS'].fields_by_name['data']._loaded_options = None + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS'].fields_by_name['data']._serialized_options = b'\310\336\037\000' + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._loaded_options = None + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260**exchange/MsgBatchCancelBinaryOptionsOrders' + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._loaded_options = None + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['spot_orders_to_cancel']._loaded_options = None + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['spot_orders_to_cancel']._serialized_options = b'\310\336\037\001' + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['derivative_orders_to_cancel']._loaded_options = None + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['derivative_orders_to_cancel']._serialized_options = b'\310\336\037\001' + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['spot_orders_to_create']._loaded_options = None + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['spot_orders_to_create']._serialized_options = b'\310\336\037\001' + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['derivative_orders_to_create']._loaded_options = None + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['derivative_orders_to_create']._serialized_options = b'\310\336\037\001' + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['binary_options_orders_to_cancel']._loaded_options = None + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['binary_options_orders_to_cancel']._serialized_options = b'\310\336\037\001' + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['binary_options_orders_to_create']._loaded_options = None + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['binary_options_orders_to_create']._serialized_options = b'\310\336\037\001' + _globals['_MSGBATCHUPDATEORDERS']._loaded_options = None + _globals['_MSGBATCHUPDATEORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\035exchange/MsgBatchUpdateOrders' + _globals['_MSGBATCHUPDATEORDERSRESPONSE']._loaded_options = None + _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGCREATEDERIVATIVEMARKETORDER'].fields_by_name['order']._loaded_options = None + _globals['_MSGCREATEDERIVATIVEMARKETORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_MSGCREATEDERIVATIVEMARKETORDER']._loaded_options = None + _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\'exchange/MsgCreateDerivativeMarketOrder' + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE'].fields_by_name['results']._loaded_options = None + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE'].fields_by_name['results']._serialized_options = b'\310\336\037\001' + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._loaded_options = None + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['quantity']._loaded_options = None + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['price']._loaded_options = None + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['fee']._loaded_options = None + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['position_delta']._loaded_options = None + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['position_delta']._serialized_options = b'\310\336\037\000' + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['payout']._loaded_options = None + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETORDERRESULTS']._loaded_options = None + _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER'].fields_by_name['order']._loaded_options = None + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._loaded_options = None + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260**exchange/MsgCreateBinaryOptionsMarketOrder' + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE'].fields_by_name['results']._loaded_options = None + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE'].fields_by_name['results']._serialized_options = b'\310\336\037\001' + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._loaded_options = None + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGCANCELDERIVATIVEORDER']._loaded_options = None + _globals['_MSGCANCELDERIVATIVEORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgCancelDerivativeOrder' + _globals['_MSGCANCELBINARYOPTIONSORDER']._loaded_options = None + _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*$exchange/MsgCancelBinaryOptionsOrder' + _globals['_MSGBATCHCANCELDERIVATIVEORDERS'].fields_by_name['data']._loaded_options = None + _globals['_MSGBATCHCANCELDERIVATIVEORDERS'].fields_by_name['data']._serialized_options = b'\310\336\037\000' + _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._loaded_options = None + _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\'exchange/MsgBatchCancelDerivativeOrders' + _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._loaded_options = None + _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGSUBACCOUNTTRANSFER'].fields_by_name['amount']._loaded_options = None + _globals['_MSGSUBACCOUNTTRANSFER'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_MSGSUBACCOUNTTRANSFER']._loaded_options = None + _globals['_MSGSUBACCOUNTTRANSFER']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036exchange/MsgSubaccountTransfer' + _globals['_MSGEXTERNALTRANSFER'].fields_by_name['amount']._loaded_options = None + _globals['_MSGEXTERNALTRANSFER'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_MSGEXTERNALTRANSFER']._loaded_options = None + _globals['_MSGEXTERNALTRANSFER']._serialized_options = b'\202\347\260*\006sender\212\347\260*\034exchange/MsgExternalTransfer' + _globals['_MSGLIQUIDATEPOSITION'].fields_by_name['order']._loaded_options = None + _globals['_MSGLIQUIDATEPOSITION'].fields_by_name['order']._serialized_options = b'\310\336\037\001' + _globals['_MSGLIQUIDATEPOSITION']._loaded_options = None + _globals['_MSGLIQUIDATEPOSITION']._serialized_options = b'\202\347\260*\006sender\212\347\260*\035exchange/MsgLiquidatePosition' + _globals['_MSGEMERGENCYSETTLEMARKET']._loaded_options = None + _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_options = b'\202\347\260*\006sender\212\347\260*!exchange/MsgEmergencySettleMarket' + _globals['_MSGINCREASEPOSITIONMARGIN'].fields_by_name['amount']._loaded_options = None + _globals['_MSGINCREASEPOSITIONMARGIN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINCREASEPOSITIONMARGIN']._loaded_options = None + _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\"exchange/MsgIncreasePositionMargin' + _globals['_MSGDECREASEPOSITIONMARGIN'].fields_by_name['amount']._loaded_options = None + _globals['_MSGDECREASEPOSITIONMARGIN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGDECREASEPOSITIONMARGIN']._loaded_options = None + _globals['_MSGDECREASEPOSITIONMARGIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\"exchange/MsgDecreasePositionMargin' + _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._loaded_options = None + _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*%exchange/MsgPrivilegedExecuteContract' + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE'].fields_by_name['funds_diff']._loaded_options = None + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE'].fields_by_name['funds_diff']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._loaded_options = None + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' + _globals['_MSGREWARDSOPTOUT']._loaded_options = None + _globals['_MSGREWARDSOPTOUT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\031exchange/MsgRewardsOptOut' + _globals['_MSGRECLAIMLOCKEDFUNDS']._loaded_options = None + _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036exchange/MsgReclaimLockedFunds' + _globals['_MSGSIGNDATA'].fields_by_name['Signer']._loaded_options = None + _globals['_MSGSIGNDATA'].fields_by_name['Signer']._serialized_options = b'\352\336\037\006signer\372\336\037-github.com/cosmos/cosmos-sdk/types.AccAddress' + _globals['_MSGSIGNDATA'].fields_by_name['Data']._loaded_options = None + _globals['_MSGSIGNDATA'].fields_by_name['Data']._serialized_options = b'\352\336\037\004data' + _globals['_MSGSIGNDOC'].fields_by_name['sign_type']._loaded_options = None + _globals['_MSGSIGNDOC'].fields_by_name['sign_type']._serialized_options = b'\352\336\037\004type' + _globals['_MSGSIGNDOC'].fields_by_name['value']._loaded_options = None + _globals['_MSGSIGNDOC'].fields_by_name['value']._serialized_options = b'\310\336\037\000' + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET'].fields_by_name['settlement_price']._loaded_options = None + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._loaded_options = None + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_options = b'\202\347\260*\006sender\212\347\260**exchange/MsgAdminUpdateBinaryOptionsMarket' + _globals['_MSGAUTHORIZESTAKEGRANTS']._loaded_options = None + _globals['_MSGAUTHORIZESTAKEGRANTS']._serialized_options = b'\202\347\260*\006sender\212\347\260* exchange/MsgAuthorizeStakeGrants' + _globals['_MSGACTIVATESTAKEGRANT']._loaded_options = None + _globals['_MSGACTIVATESTAKEGRANT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036exchange/MsgActivateStakeGrant' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGUPDATESPOTMARKET']._serialized_start=323 + _globals['_MSGUPDATESPOTMARKET']._serialized_end=746 + _globals['_MSGUPDATESPOTMARKETRESPONSE']._serialized_start=748 + _globals['_MSGUPDATESPOTMARKETRESPONSE']._serialized_end=777 + _globals['_MSGUPDATEDERIVATIVEMARKET']._serialized_start=780 + _globals['_MSGUPDATEDERIVATIVEMARKET']._serialized_end=1411 + _globals['_MSGUPDATEDERIVATIVEMARKETRESPONSE']._serialized_start=1413 + _globals['_MSGUPDATEDERIVATIVEMARKETRESPONSE']._serialized_end=1448 + _globals['_MSGUPDATEPARAMS']._serialized_start=1451 + _globals['_MSGUPDATEPARAMS']._serialized_end=1635 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1637 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1662 + _globals['_MSGDEPOSIT']._serialized_start=1665 + _globals['_MSGDEPOSIT']._serialized_end=1840 + _globals['_MSGDEPOSITRESPONSE']._serialized_start=1842 + _globals['_MSGDEPOSITRESPONSE']._serialized_end=1862 + _globals['_MSGWITHDRAW']._serialized_start=1865 + _globals['_MSGWITHDRAW']._serialized_end=2042 + _globals['_MSGWITHDRAWRESPONSE']._serialized_start=2044 + _globals['_MSGWITHDRAWRESPONSE']._serialized_end=2065 + _globals['_MSGCREATESPOTLIMITORDER']._serialized_start=2068 + _globals['_MSGCREATESPOTLIMITORDER']._serialized_end=2242 + _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_start=2244 + _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_end=2336 + _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_start=2339 + _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_end=2527 + _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_start=2530 + _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_end=2708 + _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_start=2711 + _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_end=3158 + _globals['_MSGINSTANTSPOTMARKETLAUNCHRESPONSE']._serialized_start=3160 + _globals['_MSGINSTANTSPOTMARKETLAUNCHRESPONSE']._serialized_end=3196 + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_start=3199 + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_end=4144 + _globals['_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE']._serialized_start=4146 + _globals['_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE']._serialized_end=4187 + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_start=4190 + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_end=5095 + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_start=5097 + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_end=5142 + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_start=5145 + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_end=6122 + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_start=6124 + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_end=6169 + _globals['_MSGCREATESPOTMARKETORDER']._serialized_start=6172 + _globals['_MSGCREATESPOTMARKETORDER']._serialized_end=6348 + _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_start=6351 + _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_end=6528 + _globals['_SPOTMARKETORDERRESULTS']._serialized_start=6531 + _globals['_SPOTMARKETORDERRESULTS']._serialized_end=6744 + _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_start=6747 + _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_end=6935 + _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_start=6937 + _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_end=7035 + _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_start=7038 + _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_end=7232 + _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_start=7234 + _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_end=7335 + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_start=7338 + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_end=7540 + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_start=7543 + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_end=7727 + _globals['_MSGCANCELSPOTORDER']._serialized_start=7730 + _globals['_MSGCANCELSPOTORDER']._serialized_end=7938 + _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_start=7940 + _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_end=7968 + _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_start=7971 + _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_end=8141 + _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_start=8143 + _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_end=8213 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_start=8216 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_end=8404 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_start=8406 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_end=8485 + _globals['_MSGBATCHUPDATEORDERS']._serialized_start=8488 + _globals['_MSGBATCHUPDATEORDERS']._serialized_end=9498 + _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_start=9501 + _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_end=10277 + _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_start=10280 + _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_end=10470 + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_start=10473 + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_end=10662 + _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_start=10665 + _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_end=11033 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_start=11036 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_end=11232 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_start=11235 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_end=11427 + _globals['_MSGCANCELDERIVATIVEORDER']._serialized_start=11430 + _globals['_MSGCANCELDERIVATIVEORDER']._serialized_end=11681 + _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_start=11683 + _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_end=11717 + _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_start=11720 + _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_end=11977 + _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_start=11979 + _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_end=12016 + _globals['_ORDERDATA']._serialized_start=12019 + _globals['_ORDERDATA']._serialized_end=12176 + _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_start=12179 + _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_end=12361 + _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_start=12363 + _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_end=12439 + _globals['_MSGSUBACCOUNTTRANSFER']._serialized_start=12442 + _globals['_MSGSUBACCOUNTTRANSFER']._serialized_end=12704 + _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_start=12706 + _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_end=12737 + _globals['_MSGEXTERNALTRANSFER']._serialized_start=12740 + _globals['_MSGEXTERNALTRANSFER']._serialized_end=12998 + _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_start=13000 + _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_end=13029 + _globals['_MSGLIQUIDATEPOSITION']._serialized_start=13032 + _globals['_MSGLIQUIDATEPOSITION']._serialized_end=13264 + _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_start=13266 + _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_end=13296 + _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_start=13299 + _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_end=13466 + _globals['_MSGEMERGENCYSETTLEMARKETRESPONSE']._serialized_start=13468 + _globals['_MSGEMERGENCYSETTLEMARKETRESPONSE']._serialized_end=13502 + _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_start=13505 + _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_end=13808 + _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_start=13810 + _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_end=13845 + _globals['_MSGDECREASEPOSITIONMARGIN']._serialized_start=13848 + _globals['_MSGDECREASEPOSITIONMARGIN']._serialized_end=14151 + _globals['_MSGDECREASEPOSITIONMARGINRESPONSE']._serialized_start=14153 + _globals['_MSGDECREASEPOSITIONMARGINRESPONSE']._serialized_end=14188 + _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_start=14191 + _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_end=14393 + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_start=14396 + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_end=14563 + _globals['_MSGREWARDSOPTOUT']._serialized_start=14565 + _globals['_MSGREWARDSOPTOUT']._serialized_end=14658 + _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_start=14660 + _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_end=14686 + _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_start=14689 + _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_end=14864 + _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_start=14866 + _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_end=14897 + _globals['_MSGSIGNDATA']._serialized_start=14900 + _globals['_MSGSIGNDATA']._serialized_end=15028 + _globals['_MSGSIGNDOC']._serialized_start=15030 + _globals['_MSGSIGNDOC']._serialized_end=15150 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_start=15153 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_end=15549 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_start=15551 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_end=15594 + _globals['_MSGAUTHORIZESTAKEGRANTS']._serialized_start=15597 + _globals['_MSGAUTHORIZESTAKEGRANTS']._serialized_end=15768 + _globals['_MSGAUTHORIZESTAKEGRANTSRESPONSE']._serialized_start=15770 + _globals['_MSGAUTHORIZESTAKEGRANTSRESPONSE']._serialized_end=15803 + _globals['_MSGACTIVATESTAKEGRANT']._serialized_start=15805 + _globals['_MSGACTIVATESTAKEGRANT']._serialized_end=15926 + _globals['_MSGACTIVATESTAKEGRANTRESPONSE']._serialized_start=15928 + _globals['_MSGACTIVATESTAKEGRANTRESPONSE']._serialized_end=15959 + _globals['_MSG']._serialized_start=15962 + _globals['_MSG']._serialized_end=21034 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..e8346ec5 --- /dev/null +++ b/pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,1595 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.injective.exchange.v1beta1 import tx_pb2 as injective_dot_exchange_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the exchange Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Deposit = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/Deposit', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, + _registered_method=True) + self.Withdraw = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/Withdraw', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdraw.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdrawResponse.FromString, + _registered_method=True) + self.InstantSpotMarketLaunch = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunch.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunchResponse.FromString, + _registered_method=True) + self.InstantPerpetualMarketLaunch = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunch.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunchResponse.FromString, + _registered_method=True) + self.InstantExpiryFuturesMarketLaunch = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunch.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunchResponse.FromString, + _registered_method=True) + self.CreateSpotLimitOrder = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrderResponse.FromString, + _registered_method=True) + self.BatchCreateSpotLimitOrders = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrdersResponse.FromString, + _registered_method=True) + self.CreateSpotMarketOrder = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrderResponse.FromString, + _registered_method=True) + self.CancelSpotOrder = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/CancelSpotOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrderResponse.FromString, + _registered_method=True) + self.BatchCancelSpotOrders = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrdersResponse.FromString, + _registered_method=True) + self.BatchUpdateOrders = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/BatchUpdateOrders', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrdersResponse.FromString, + _registered_method=True) + self.PrivilegedExecuteContract = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContract.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContractResponse.FromString, + _registered_method=True) + self.CreateDerivativeLimitOrder = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrderResponse.FromString, + _registered_method=True) + self.BatchCreateDerivativeLimitOrders = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrdersResponse.FromString, + _registered_method=True) + self.CreateDerivativeMarketOrder = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrderResponse.FromString, + _registered_method=True) + self.CancelDerivativeOrder = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/CancelDerivativeOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrderResponse.FromString, + _registered_method=True) + self.BatchCancelDerivativeOrders = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrdersResponse.FromString, + _registered_method=True) + self.InstantBinaryOptionsMarketLaunch = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunch.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunchResponse.FromString, + _registered_method=True) + self.CreateBinaryOptionsLimitOrder = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrderResponse.FromString, + _registered_method=True) + self.CreateBinaryOptionsMarketOrder = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrderResponse.FromString, + _registered_method=True) + self.CancelBinaryOptionsOrder = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrderResponse.FromString, + _registered_method=True) + self.BatchCancelBinaryOptionsOrders = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrdersResponse.FromString, + _registered_method=True) + self.SubaccountTransfer = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/SubaccountTransfer', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransfer.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransferResponse.FromString, + _registered_method=True) + self.ExternalTransfer = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/ExternalTransfer', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransfer.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransferResponse.FromString, + _registered_method=True) + self.LiquidatePosition = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/LiquidatePosition', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.FromString, + _registered_method=True) + self.EmergencySettleMarket = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/EmergencySettleMarket', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarket.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarketResponse.FromString, + _registered_method=True) + self.IncreasePositionMargin = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/IncreasePositionMargin', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMarginResponse.FromString, + _registered_method=True) + self.DecreasePositionMargin = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/DecreasePositionMargin', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMargin.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMarginResponse.FromString, + _registered_method=True) + self.RewardsOptOut = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/RewardsOptOut', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOut.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOutResponse.FromString, + _registered_method=True) + self.AdminUpdateBinaryOptionsMarket = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarket.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarketResponse.FromString, + _registered_method=True) + self.UpdateParams = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/UpdateParams', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + self.UpdateSpotMarket = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/UpdateSpotMarket', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarket.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarketResponse.FromString, + _registered_method=True) + self.UpdateDerivativeMarket = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/UpdateDerivativeMarket', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarket.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarketResponse.FromString, + _registered_method=True) + self.AuthorizeStakeGrants = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/AuthorizeStakeGrants', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrants.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrantsResponse.FromString, + _registered_method=True) + self.ActivateStakeGrant = channel.unary_unary( + '/injective.exchange.v1beta1.Msg/ActivateStakeGrant', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrant.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrantResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the exchange Msg service. + """ + + def Deposit(self, request, context): + """Deposit defines a method for transferring coins from the sender's bank + balance into the subaccount's exchange deposits + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Withdraw(self, request, context): + """Withdraw defines a method for withdrawing coins from a subaccount's + deposits to the user's bank balance + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def InstantSpotMarketLaunch(self, request, context): + """InstantSpotMarketLaunch defines method for creating a spot market by paying + listing fee without governance + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def InstantPerpetualMarketLaunch(self, request, context): + """InstantPerpetualMarketLaunch defines a method for creating a new perpetual + futures market by paying listing fee without governance + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def InstantExpiryFuturesMarketLaunch(self, request, context): + """InstantExpiryFuturesMarketLaunch defines a method for creating a new expiry + futures market by paying listing fee without governance + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateSpotLimitOrder(self, request, context): + """CreateSpotLimitOrder defines a method for creating a new spot limit order. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BatchCreateSpotLimitOrders(self, request, context): + """BatchCreateSpotLimitOrder defines a method for creating a new batch of spot + limit orders. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateSpotMarketOrder(self, request, context): + """CreateSpotMarketOrder defines a method for creating a new spot market + order. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CancelSpotOrder(self, request, context): + """MsgCancelSpotOrder defines a method for cancelling a spot order. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BatchCancelSpotOrders(self, request, context): + """BatchCancelSpotOrders defines a method for cancelling a batch of spot + orders in a given market. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BatchUpdateOrders(self, request, context): + """BatchUpdateOrders defines a method for updating a batch of orders. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PrivilegedExecuteContract(self, request, context): + """PrivilegedExecuteContract defines a method for executing a Cosmwasm + contract from the exchange module with privileged capabilities. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateDerivativeLimitOrder(self, request, context): + """CreateDerivativeLimitOrder defines a method for creating a new derivative + limit order. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BatchCreateDerivativeLimitOrders(self, request, context): + """BatchCreateDerivativeLimitOrders defines a method for creating a new batch + of derivative limit orders. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateDerivativeMarketOrder(self, request, context): + """MsgCreateDerivativeLimitOrder defines a method for creating a new + derivative market order. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CancelDerivativeOrder(self, request, context): + """MsgCancelDerivativeOrder defines a method for cancelling a derivative + order. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BatchCancelDerivativeOrders(self, request, context): + """MsgBatchCancelDerivativeOrders defines a method for cancelling a batch of + derivative limit orders. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def InstantBinaryOptionsMarketLaunch(self, request, context): + """InstantBinaryOptionsMarketLaunch defines method for creating a binary + options market by paying listing fee without governance + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateBinaryOptionsLimitOrder(self, request, context): + """CreateBinaryOptionsLimitOrder defines a method for creating a new binary + options limit order. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateBinaryOptionsMarketOrder(self, request, context): + """CreateBinaryOptionsMarketOrder defines a method for creating a new binary + options market order. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CancelBinaryOptionsOrder(self, request, context): + """MsgCancelBinaryOptionsOrder defines a method for cancelling a binary + options order. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BatchCancelBinaryOptionsOrders(self, request, context): + """BatchCancelBinaryOptionsOrders defines a method for cancelling a batch of + binary options limit orders. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SubaccountTransfer(self, request, context): + """SubaccountTransfer defines a method for transfer between subaccounts + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ExternalTransfer(self, request, context): + """ExternalTransfer defines a method for transfer between external accounts + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def LiquidatePosition(self, request, context): + """LiquidatePosition defines a method for liquidating a position + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def EmergencySettleMarket(self, request, context): + """EmergencySettleMarket defines a method for emergency settling a market + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def IncreasePositionMargin(self, request, context): + """IncreasePositionMargin defines a method for increasing margin of a position + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DecreasePositionMargin(self, request, context): + """DecreasePositionMargin defines a method for decreasing margin of a position + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RewardsOptOut(self, request, context): + """RewardsOptOut defines a method for opting out of rewards + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AdminUpdateBinaryOptionsMarket(self, request, context): + """AdminUpdateBinaryOptionsMarket defines method for updating a binary options + market by admin + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateSpotMarket(self, request, context): + """UpdateSpotMarket modifies certain spot market fields (admin only) + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateDerivativeMarket(self, request, context): + """UpdateDerivativeMarket modifies certain derivative market fields (admin + only) + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AuthorizeStakeGrants(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ActivateStakeGrant(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Deposit': grpc.unary_unary_rpc_method_handler( + servicer.Deposit, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDeposit.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.SerializeToString, + ), + 'Withdraw': grpc.unary_unary_rpc_method_handler( + servicer.Withdraw, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdraw.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdrawResponse.SerializeToString, + ), + 'InstantSpotMarketLaunch': grpc.unary_unary_rpc_method_handler( + servicer.InstantSpotMarketLaunch, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunch.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunchResponse.SerializeToString, + ), + 'InstantPerpetualMarketLaunch': grpc.unary_unary_rpc_method_handler( + servicer.InstantPerpetualMarketLaunch, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunch.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunchResponse.SerializeToString, + ), + 'InstantExpiryFuturesMarketLaunch': grpc.unary_unary_rpc_method_handler( + servicer.InstantExpiryFuturesMarketLaunch, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunch.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunchResponse.SerializeToString, + ), + 'CreateSpotLimitOrder': grpc.unary_unary_rpc_method_handler( + servicer.CreateSpotLimitOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrderResponse.SerializeToString, + ), + 'BatchCreateSpotLimitOrders': grpc.unary_unary_rpc_method_handler( + servicer.BatchCreateSpotLimitOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrdersResponse.SerializeToString, + ), + 'CreateSpotMarketOrder': grpc.unary_unary_rpc_method_handler( + servicer.CreateSpotMarketOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrderResponse.SerializeToString, + ), + 'CancelSpotOrder': grpc.unary_unary_rpc_method_handler( + servicer.CancelSpotOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrderResponse.SerializeToString, + ), + 'BatchCancelSpotOrders': grpc.unary_unary_rpc_method_handler( + servicer.BatchCancelSpotOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrdersResponse.SerializeToString, + ), + 'BatchUpdateOrders': grpc.unary_unary_rpc_method_handler( + servicer.BatchUpdateOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrdersResponse.SerializeToString, + ), + 'PrivilegedExecuteContract': grpc.unary_unary_rpc_method_handler( + servicer.PrivilegedExecuteContract, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContract.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContractResponse.SerializeToString, + ), + 'CreateDerivativeLimitOrder': grpc.unary_unary_rpc_method_handler( + servicer.CreateDerivativeLimitOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrderResponse.SerializeToString, + ), + 'BatchCreateDerivativeLimitOrders': grpc.unary_unary_rpc_method_handler( + servicer.BatchCreateDerivativeLimitOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrdersResponse.SerializeToString, + ), + 'CreateDerivativeMarketOrder': grpc.unary_unary_rpc_method_handler( + servicer.CreateDerivativeMarketOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrderResponse.SerializeToString, + ), + 'CancelDerivativeOrder': grpc.unary_unary_rpc_method_handler( + servicer.CancelDerivativeOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrderResponse.SerializeToString, + ), + 'BatchCancelDerivativeOrders': grpc.unary_unary_rpc_method_handler( + servicer.BatchCancelDerivativeOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrdersResponse.SerializeToString, + ), + 'InstantBinaryOptionsMarketLaunch': grpc.unary_unary_rpc_method_handler( + servicer.InstantBinaryOptionsMarketLaunch, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunch.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunchResponse.SerializeToString, + ), + 'CreateBinaryOptionsLimitOrder': grpc.unary_unary_rpc_method_handler( + servicer.CreateBinaryOptionsLimitOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrderResponse.SerializeToString, + ), + 'CreateBinaryOptionsMarketOrder': grpc.unary_unary_rpc_method_handler( + servicer.CreateBinaryOptionsMarketOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrderResponse.SerializeToString, + ), + 'CancelBinaryOptionsOrder': grpc.unary_unary_rpc_method_handler( + servicer.CancelBinaryOptionsOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrderResponse.SerializeToString, + ), + 'BatchCancelBinaryOptionsOrders': grpc.unary_unary_rpc_method_handler( + servicer.BatchCancelBinaryOptionsOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrdersResponse.SerializeToString, + ), + 'SubaccountTransfer': grpc.unary_unary_rpc_method_handler( + servicer.SubaccountTransfer, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransfer.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransferResponse.SerializeToString, + ), + 'ExternalTransfer': grpc.unary_unary_rpc_method_handler( + servicer.ExternalTransfer, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransfer.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransferResponse.SerializeToString, + ), + 'LiquidatePosition': grpc.unary_unary_rpc_method_handler( + servicer.LiquidatePosition, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.SerializeToString, + ), + 'EmergencySettleMarket': grpc.unary_unary_rpc_method_handler( + servicer.EmergencySettleMarket, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarket.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarketResponse.SerializeToString, + ), + 'IncreasePositionMargin': grpc.unary_unary_rpc_method_handler( + servicer.IncreasePositionMargin, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMarginResponse.SerializeToString, + ), + 'DecreasePositionMargin': grpc.unary_unary_rpc_method_handler( + servicer.DecreasePositionMargin, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMargin.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMarginResponse.SerializeToString, + ), + 'RewardsOptOut': grpc.unary_unary_rpc_method_handler( + servicer.RewardsOptOut, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOut.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOutResponse.SerializeToString, + ), + 'AdminUpdateBinaryOptionsMarket': grpc.unary_unary_rpc_method_handler( + servicer.AdminUpdateBinaryOptionsMarket, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarket.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarketResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'UpdateSpotMarket': grpc.unary_unary_rpc_method_handler( + servicer.UpdateSpotMarket, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarket.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarketResponse.SerializeToString, + ), + 'UpdateDerivativeMarket': grpc.unary_unary_rpc_method_handler( + servicer.UpdateDerivativeMarket, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarket.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarketResponse.SerializeToString, + ), + 'AuthorizeStakeGrants': grpc.unary_unary_rpc_method_handler( + servicer.AuthorizeStakeGrants, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrants.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrantsResponse.SerializeToString, + ), + 'ActivateStakeGrant': grpc.unary_unary_rpc_method_handler( + servicer.ActivateStakeGrant, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrant.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrantResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.exchange.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('injective.exchange.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the exchange Msg service. + """ + + @staticmethod + def Deposit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/Deposit', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Withdraw(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/Withdraw', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdraw.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdrawResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def InstantSpotMarketLaunch(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunch.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunchResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def InstantPerpetualMarketLaunch(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunch.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunchResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def InstantExpiryFuturesMarketLaunch(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunch.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunchResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreateSpotLimitOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrder.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrderResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BatchCreateSpotLimitOrders(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrders.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrdersResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreateSpotMarketOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrder.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrderResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CancelSpotOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/CancelSpotOrder', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrder.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrderResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BatchCancelSpotOrders(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrders.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrdersResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BatchUpdateOrders(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/BatchUpdateOrders', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrders.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrdersResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PrivilegedExecuteContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContract.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContractResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreateDerivativeLimitOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrder.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrderResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BatchCreateDerivativeLimitOrders(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrders.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrdersResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreateDerivativeMarketOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrder.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrderResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CancelDerivativeOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/CancelDerivativeOrder', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrder.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrderResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BatchCancelDerivativeOrders(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrders.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrdersResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def InstantBinaryOptionsMarketLaunch(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunch.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunchResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreateBinaryOptionsLimitOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrder.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrderResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreateBinaryOptionsMarketOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrder.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrderResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CancelBinaryOptionsOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrder.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrderResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BatchCancelBinaryOptionsOrders(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrders.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrdersResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SubaccountTransfer(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/SubaccountTransfer', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransfer.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransferResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ExternalTransfer(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/ExternalTransfer', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransfer.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransferResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def LiquidatePosition(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/LiquidatePosition', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def EmergencySettleMarket(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/EmergencySettleMarket', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarket.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarketResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def IncreasePositionMargin(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/IncreasePositionMargin', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMarginResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DecreasePositionMargin(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/DecreasePositionMargin', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMargin.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMarginResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RewardsOptOut(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/RewardsOptOut', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOut.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOutResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AdminUpdateBinaryOptionsMarket(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarket.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarketResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/UpdateParams', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateSpotMarket(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/UpdateSpotMarket', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarket.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarketResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateDerivativeMarket(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/UpdateDerivativeMarket', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarket.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarketResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AuthorizeStakeGrants(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/AuthorizeStakeGrants', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrants.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrantsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ActivateStakeGrant(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.exchange.v1beta1.Msg/ActivateStakeGrant', + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrant.SerializeToString, + injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrantResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/injective/insurance/v1beta1/events_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/events_pb2.py new file mode 100644 index 00000000..e6d0bcd1 --- /dev/null +++ b/pyinjective/proto/injective/insurance/v1beta1/events_pb2.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/insurance/v1beta1/events.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.injective.insurance.v1beta1 import insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(injective/insurance/v1beta1/events.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a+injective/insurance/v1beta1/insurance.proto\"Z\n\x18\x45ventInsuranceFundUpdate\x12>\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundR\x04\x66und\"e\n\x16\x45ventRequestRedemption\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleR\x08schedule\"\xa8\x01\n\x17\x45ventWithdrawRedemption\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleR\x08schedule\x12@\n\x0bredeem_coin\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\nredeemCoin\"\xc3\x01\n\x0f\x45ventUnderwrite\x12 \n\x0bunderwriter\x18\x01 \x01(\tR\x0bunderwriter\x12\x1a\n\x08marketId\x18\x02 \x01(\tR\x08marketId\x12\x39\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit\x12\x37\n\x06shares\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06shares\"\x9b\x01\n\x16\x45ventInsuranceWithdraw\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rmarket_ticker\x18\x02 \x01(\tR\x0cmarketTicker\x12?\n\nwithdrawal\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\nwithdrawalB\x8d\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0b\x45ventsProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.events_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\013EventsProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' + _globals['_EVENTWITHDRAWREDEMPTION'].fields_by_name['redeem_coin']._loaded_options = None + _globals['_EVENTWITHDRAWREDEMPTION'].fields_by_name['redeem_coin']._serialized_options = b'\310\336\037\000' + _globals['_EVENTUNDERWRITE'].fields_by_name['deposit']._loaded_options = None + _globals['_EVENTUNDERWRITE'].fields_by_name['deposit']._serialized_options = b'\310\336\037\000' + _globals['_EVENTUNDERWRITE'].fields_by_name['shares']._loaded_options = None + _globals['_EVENTUNDERWRITE'].fields_by_name['shares']._serialized_options = b'\310\336\037\000' + _globals['_EVENTINSURANCEWITHDRAW'].fields_by_name['withdrawal']._loaded_options = None + _globals['_EVENTINSURANCEWITHDRAW'].fields_by_name['withdrawal']._serialized_options = b'\310\336\037\000' + _globals['_EVENTINSURANCEFUNDUPDATE']._serialized_start=172 + _globals['_EVENTINSURANCEFUNDUPDATE']._serialized_end=262 + _globals['_EVENTREQUESTREDEMPTION']._serialized_start=264 + _globals['_EVENTREQUESTREDEMPTION']._serialized_end=365 + _globals['_EVENTWITHDRAWREDEMPTION']._serialized_start=368 + _globals['_EVENTWITHDRAWREDEMPTION']._serialized_end=536 + _globals['_EVENTUNDERWRITE']._serialized_start=539 + _globals['_EVENTUNDERWRITE']._serialized_end=734 + _globals['_EVENTINSURANCEWITHDRAW']._serialized_start=737 + _globals['_EVENTINSURANCEWITHDRAW']._serialized_end=892 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..684b7b57 --- /dev/null +++ b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/insurance/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.injective.insurance.v1beta1 import insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/insurance/v1beta1/genesis.proto\x12\x1binjective.insurance.v1beta1\x1a+injective/insurance/v1beta1/insurance.proto\x1a\x14gogoproto/gogo.proto\"\x82\x03\n\x0cGenesisState\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12Y\n\x0finsurance_funds\x18\x02 \x03(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundB\x04\xc8\xde\x1f\x00R\x0einsuranceFunds\x12\x66\n\x13redemption_schedule\x18\x03 \x03(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleB\x04\xc8\xde\x1f\x00R\x12redemptionSchedule\x12-\n\x13next_share_denom_id\x18\x04 \x01(\x04R\x10nextShareDenomId\x12=\n\x1bnext_redemption_schedule_id\x18\x05 \x01(\x04R\x18nextRedemptionScheduleIdB\x8e\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0cGenesisProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\014GenesisProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['insurance_funds']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['insurance_funds']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['redemption_schedule']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['redemption_schedule']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=142 + _globals['_GENESISSTATE']._serialized_end=528 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py new file mode 100644 index 00000000..f62013cb --- /dev/null +++ b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/insurance/v1beta1/insurance.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+injective/insurance/v1beta1/insurance.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\xd7\x01\n\x06Params\x12\xb1\x01\n)default_redemption_notice_period_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB<\xc8\xde\x1f\x00\xf2\xde\x1f\x30yaml:\"default_redemption_notice_period_duration\"\x98\xdf\x1f\x01R%defaultRedemptionNoticePeriodDuration:\x19\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x10insurance/Params\"\xec\x04\n\rInsuranceFund\x12#\n\rdeposit_denom\x18\x01 \x01(\tR\x0c\x64\x65positDenom\x12;\n\x1ainsurance_pool_token_denom\x18\x02 \x01(\tR\x17insurancePoolTokenDenom\x12\x9a\x01\n!redemption_notice_period_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB4\xc8\xde\x1f\x00\xf2\xde\x1f(yaml:\"redemption_notice_period_duration\"\x98\xdf\x1f\x01R\x1eredemptionNoticePeriodDuration\x12\x37\n\x07\x62\x61lance\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07\x62\x61lance\x12>\n\x0btotal_share\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\ntotalShare\x12\x1b\n\tmarket_id\x18\x06 \x01(\tR\x08marketId\x12#\n\rmarket_ticker\x18\x07 \x01(\tR\x0cmarketTicker\x12\x1f\n\x0boracle_base\x18\x08 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\t \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\n \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\x0b \x01(\x03R\x06\x65xpiry\"\xb1\x02\n\x12RedemptionSchedule\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x1a\n\x08marketId\x18\x02 \x01(\tR\x08marketId\x12\x1a\n\x08redeemer\x18\x03 \x01(\tR\x08redeemer\x12\x84\x01\n\x19\x63laimable_redemption_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB,\xc8\xde\x1f\x00\xf2\xde\x1f yaml:\"claimable_redemption_time\"\x90\xdf\x1f\x01R\x17\x63laimableRedemptionTime\x12L\n\x11redemption_amount\x18\x05 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x10redemptionAmountB\x90\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0eInsuranceProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.insurance_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\016InsuranceProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' + _globals['_PARAMS'].fields_by_name['default_redemption_notice_period_duration']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_redemption_notice_period_duration']._serialized_options = b'\310\336\037\000\362\336\0370yaml:\"default_redemption_notice_period_duration\"\230\337\037\001' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\020insurance/Params' + _globals['_INSURANCEFUND'].fields_by_name['redemption_notice_period_duration']._loaded_options = None + _globals['_INSURANCEFUND'].fields_by_name['redemption_notice_period_duration']._serialized_options = b'\310\336\037\000\362\336\037(yaml:\"redemption_notice_period_duration\"\230\337\037\001' + _globals['_INSURANCEFUND'].fields_by_name['balance']._loaded_options = None + _globals['_INSURANCEFUND'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_INSURANCEFUND'].fields_by_name['total_share']._loaded_options = None + _globals['_INSURANCEFUND'].fields_by_name['total_share']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_REDEMPTIONSCHEDULE'].fields_by_name['claimable_redemption_time']._loaded_options = None + _globals['_REDEMPTIONSCHEDULE'].fields_by_name['claimable_redemption_time']._serialized_options = b'\310\336\037\000\362\336\037 yaml:\"claimable_redemption_time\"\220\337\037\001' + _globals['_REDEMPTIONSCHEDULE'].fields_by_name['redemption_amount']._loaded_options = None + _globals['_REDEMPTIONSCHEDULE'].fields_by_name['redemption_amount']._serialized_options = b'\310\336\037\000' + _globals['_PARAMS']._serialized_start=254 + _globals['_PARAMS']._serialized_end=469 + _globals['_INSURANCEFUND']._serialized_start=472 + _globals['_INSURANCEFUND']._serialized_end=1092 + _globals['_REDEMPTIONSCHEDULE']._serialized_start=1095 + _globals['_REDEMPTIONSCHEDULE']._serialized_end=1400 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py new file mode 100644 index 00000000..2562ac5a --- /dev/null +++ b/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py @@ -0,0 +1,76 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/insurance/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.injective.insurance.v1beta1 import insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.injective.insurance.v1beta1 import genesis_pb2 as injective_dot_insurance_dot_v1beta1_dot_genesis__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/insurance/v1beta1/query.proto\x12\x1binjective.insurance.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a+injective/insurance/v1beta1/insurance.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a)injective/insurance/v1beta1/genesis.proto\"\x1d\n\x1bQueryInsuranceParamsRequest\"a\n\x1cQueryInsuranceParamsResponse\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"8\n\x19QueryInsuranceFundRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\\\n\x1aQueryInsuranceFundResponse\x12>\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundR\x04\x66und\"\x1c\n\x1aQueryInsuranceFundsRequest\"e\n\x1bQueryInsuranceFundsResponse\x12\x46\n\x05\x66unds\x18\x01 \x03(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundB\x04\xc8\xde\x1f\x00R\x05\x66unds\"X\n QueryEstimatedRedemptionsRequest\x12\x1a\n\x08marketId\x18\x01 \x01(\tR\x08marketId\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"\\\n!QueryEstimatedRedemptionsResponse\x12\x37\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"V\n\x1eQueryPendingRedemptionsRequest\x12\x1a\n\x08marketId\x18\x01 \x01(\tR\x08marketId\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"Z\n\x1fQueryPendingRedemptionsResponse\x12\x37\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\x19\n\x17QueryModuleStateRequest\"[\n\x18QueryModuleStateResponse\x12?\n\x05state\x18\x01 \x01(\x0b\x32).injective.insurance.v1beta1.GenesisStateR\x05state2\x96\t\n\x05Query\x12\xb3\x01\n\x0fInsuranceParams\x12\x38.injective.insurance.v1beta1.QueryInsuranceParamsRequest\x1a\x39.injective.insurance.v1beta1.QueryInsuranceParamsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/injective/insurance/v1beta1/params\x12\xc1\x01\n\rInsuranceFund\x12\x36.injective.insurance.v1beta1.QueryInsuranceFundRequest\x1a\x37.injective.insurance.v1beta1.QueryInsuranceFundResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/insurance/v1beta1/insurance_fund/{market_id}\x12\xb9\x01\n\x0eInsuranceFunds\x12\x37.injective.insurance.v1beta1.QueryInsuranceFundsRequest\x1a\x38.injective.insurance.v1beta1.QueryInsuranceFundsResponse\"4\x82\xd3\xe4\x93\x02.\x12,/injective/insurance/v1beta1/insurance_funds\x12\xd1\x01\n\x14\x45stimatedRedemptions\x12=.injective.insurance.v1beta1.QueryEstimatedRedemptionsRequest\x1a>.injective.insurance.v1beta1.QueryEstimatedRedemptionsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/insurance/v1beta1/estimated_redemptions\x12\xc9\x01\n\x12PendingRedemptions\x12;.injective.insurance.v1beta1.QueryPendingRedemptionsRequest\x1a<.injective.insurance.v1beta1.QueryPendingRedemptionsResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/insurance/v1beta1/pending_redemptions\x12\xb6\x01\n\x14InsuranceModuleState\x12\x34.injective.insurance.v1beta1.QueryModuleStateRequest\x1a\x35.injective.insurance.v1beta1.QueryModuleStateResponse\"1\x82\xd3\xe4\x93\x02+\x12)/injective/insurance/v1beta1/module_stateB\x8c\x02\n\x1f\x63om.injective.insurance.v1beta1B\nQueryProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\nQueryProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' + _globals['_QUERYINSURANCEPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYINSURANCEPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_QUERYINSURANCEFUNDSRESPONSE'].fields_by_name['funds']._loaded_options = None + _globals['_QUERYINSURANCEFUNDSRESPONSE'].fields_by_name['funds']._serialized_options = b'\310\336\037\000' + _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE'].fields_by_name['amount']._loaded_options = None + _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_QUERYPENDINGREDEMPTIONSRESPONSE'].fields_by_name['amount']._loaded_options = None + _globals['_QUERYPENDINGREDEMPTIONSRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_QUERY'].methods_by_name['InsuranceParams']._loaded_options = None + _globals['_QUERY'].methods_by_name['InsuranceParams']._serialized_options = b'\202\323\344\223\002%\022#/injective/insurance/v1beta1/params' + _globals['_QUERY'].methods_by_name['InsuranceFund']._loaded_options = None + _globals['_QUERY'].methods_by_name['InsuranceFund']._serialized_options = b'\202\323\344\223\0029\0227/injective/insurance/v1beta1/insurance_fund/{market_id}' + _globals['_QUERY'].methods_by_name['InsuranceFunds']._loaded_options = None + _globals['_QUERY'].methods_by_name['InsuranceFunds']._serialized_options = b'\202\323\344\223\002.\022,/injective/insurance/v1beta1/insurance_funds' + _globals['_QUERY'].methods_by_name['EstimatedRedemptions']._loaded_options = None + _globals['_QUERY'].methods_by_name['EstimatedRedemptions']._serialized_options = b'\202\323\344\223\0024\0222/injective/insurance/v1beta1/estimated_redemptions' + _globals['_QUERY'].methods_by_name['PendingRedemptions']._loaded_options = None + _globals['_QUERY'].methods_by_name['PendingRedemptions']._serialized_options = b'\202\323\344\223\0022\0220/injective/insurance/v1beta1/pending_redemptions' + _globals['_QUERY'].methods_by_name['InsuranceModuleState']._loaded_options = None + _globals['_QUERY'].methods_by_name['InsuranceModuleState']._serialized_options = b'\202\323\344\223\002+\022)/injective/insurance/v1beta1/module_state' + _globals['_QUERYINSURANCEPARAMSREQUEST']._serialized_start=244 + _globals['_QUERYINSURANCEPARAMSREQUEST']._serialized_end=273 + _globals['_QUERYINSURANCEPARAMSRESPONSE']._serialized_start=275 + _globals['_QUERYINSURANCEPARAMSRESPONSE']._serialized_end=372 + _globals['_QUERYINSURANCEFUNDREQUEST']._serialized_start=374 + _globals['_QUERYINSURANCEFUNDREQUEST']._serialized_end=430 + _globals['_QUERYINSURANCEFUNDRESPONSE']._serialized_start=432 + _globals['_QUERYINSURANCEFUNDRESPONSE']._serialized_end=524 + _globals['_QUERYINSURANCEFUNDSREQUEST']._serialized_start=526 + _globals['_QUERYINSURANCEFUNDSREQUEST']._serialized_end=554 + _globals['_QUERYINSURANCEFUNDSRESPONSE']._serialized_start=556 + _globals['_QUERYINSURANCEFUNDSRESPONSE']._serialized_end=657 + _globals['_QUERYESTIMATEDREDEMPTIONSREQUEST']._serialized_start=659 + _globals['_QUERYESTIMATEDREDEMPTIONSREQUEST']._serialized_end=747 + _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE']._serialized_start=749 + _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE']._serialized_end=841 + _globals['_QUERYPENDINGREDEMPTIONSREQUEST']._serialized_start=843 + _globals['_QUERYPENDINGREDEMPTIONSREQUEST']._serialized_end=929 + _globals['_QUERYPENDINGREDEMPTIONSRESPONSE']._serialized_start=931 + _globals['_QUERYPENDINGREDEMPTIONSRESPONSE']._serialized_end=1021 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=1023 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=1048 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=1050 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=1141 + _globals['_QUERY']._serialized_start=1144 + _globals['_QUERY']._serialized_end=2318 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..3404f464 --- /dev/null +++ b/pyinjective/proto/injective/insurance/v1beta1/query_pb2_grpc.py @@ -0,0 +1,302 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.injective.insurance.v1beta1 import query_pb2 as injective_dot_insurance_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.InsuranceParams = channel.unary_unary( + '/injective.insurance.v1beta1.Query/InsuranceParams', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsResponse.FromString, + _registered_method=True) + self.InsuranceFund = channel.unary_unary( + '/injective.insurance.v1beta1.Query/InsuranceFund', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundResponse.FromString, + _registered_method=True) + self.InsuranceFunds = channel.unary_unary( + '/injective.insurance.v1beta1.Query/InsuranceFunds', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsResponse.FromString, + _registered_method=True) + self.EstimatedRedemptions = channel.unary_unary( + '/injective.insurance.v1beta1.Query/EstimatedRedemptions', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsResponse.FromString, + _registered_method=True) + self.PendingRedemptions = channel.unary_unary( + '/injective.insurance.v1beta1.Query/PendingRedemptions', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsResponse.FromString, + _registered_method=True) + self.InsuranceModuleState = channel.unary_unary( + '/injective.insurance.v1beta1.Query/InsuranceModuleState', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def InsuranceParams(self, request, context): + """Retrieves insurance params + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def InsuranceFund(self, request, context): + """Retrieves individual insurance fund information from market id + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def InsuranceFunds(self, request, context): + """Retrieves all insurance funds + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def EstimatedRedemptions(self, request, context): + """Retrives the value of insurance fund share token at current price (not + pending redemption) + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PendingRedemptions(self, request, context): + """Retrieves pending redemptions' share token at current price + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def InsuranceModuleState(self, request, context): + """Retrieves the entire insurance module's state + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'InsuranceParams': grpc.unary_unary_rpc_method_handler( + servicer.InsuranceParams, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsResponse.SerializeToString, + ), + 'InsuranceFund': grpc.unary_unary_rpc_method_handler( + servicer.InsuranceFund, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundResponse.SerializeToString, + ), + 'InsuranceFunds': grpc.unary_unary_rpc_method_handler( + servicer.InsuranceFunds, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsResponse.SerializeToString, + ), + 'EstimatedRedemptions': grpc.unary_unary_rpc_method_handler( + servicer.EstimatedRedemptions, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsResponse.SerializeToString, + ), + 'PendingRedemptions': grpc.unary_unary_rpc_method_handler( + servicer.PendingRedemptions, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsResponse.SerializeToString, + ), + 'InsuranceModuleState': grpc.unary_unary_rpc_method_handler( + servicer.InsuranceModuleState, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.insurance.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('injective.insurance.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def InsuranceParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.insurance.v1beta1.Query/InsuranceParams', + injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsRequest.SerializeToString, + injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def InsuranceFund(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.insurance.v1beta1.Query/InsuranceFund', + injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundRequest.SerializeToString, + injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def InsuranceFunds(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.insurance.v1beta1.Query/InsuranceFunds', + injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsRequest.SerializeToString, + injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def EstimatedRedemptions(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.insurance.v1beta1.Query/EstimatedRedemptions', + injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsRequest.SerializeToString, + injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PendingRedemptions(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.insurance.v1beta1.Query/PendingRedemptions', + injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsRequest.SerializeToString, + injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def InsuranceModuleState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.insurance.v1beta1.Query/InsuranceModuleState', + injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py new file mode 100644 index 00000000..b46ec667 --- /dev/null +++ b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py @@ -0,0 +1,70 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/insurance/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.injective.insurance.v1beta1 import insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2 +from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/insurance/v1beta1/tx.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a+injective/insurance/v1beta1/insurance.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\x90\x03\n\x16MsgCreateInsuranceFund\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\x07 \x01(\x03R\x06\x65xpiry\x12H\n\x0finitial_deposit\x18\x08 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x0einitialDeposit:8\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* insurance/MsgCreateInsuranceFund\" \n\x1eMsgCreateInsuranceFundResponse\"\xb0\x01\n\rMsgUnderwrite\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x39\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit:/\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17insurance/MsgUnderwrite\"\x17\n\x15MsgUnderwriteResponse\"\xbc\x01\n\x14MsgRequestRedemption\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:6\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1einsurance/MsgRequestRedemption\"\x1e\n\x1cMsgRequestRedemptionResponse\"\xba\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x41\n\x06params\x18\x02 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:,\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x19insurance/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xfc\x03\n\x03Msg\x12\x87\x01\n\x13\x43reateInsuranceFund\x12\x33.injective.insurance.v1beta1.MsgCreateInsuranceFund\x1a;.injective.insurance.v1beta1.MsgCreateInsuranceFundResponse\x12l\n\nUnderwrite\x12*.injective.insurance.v1beta1.MsgUnderwrite\x1a\x32.injective.insurance.v1beta1.MsgUnderwriteResponse\x12\x81\x01\n\x11RequestRedemption\x12\x31.injective.insurance.v1beta1.MsgRequestRedemption\x1a\x39.injective.insurance.v1beta1.MsgRequestRedemptionResponse\x12r\n\x0cUpdateParams\x12,.injective.insurance.v1beta1.MsgUpdateParams\x1a\x34.injective.insurance.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x89\x02\n\x1f\x63om.injective.insurance.v1beta1B\x07TxProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\007TxProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' + _globals['_MSGCREATEINSURANCEFUND'].fields_by_name['initial_deposit']._loaded_options = None + _globals['_MSGCREATEINSURANCEFUND'].fields_by_name['initial_deposit']._serialized_options = b'\310\336\037\000' + _globals['_MSGCREATEINSURANCEFUND']._loaded_options = None + _globals['_MSGCREATEINSURANCEFUND']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260* insurance/MsgCreateInsuranceFund' + _globals['_MSGUNDERWRITE'].fields_by_name['deposit']._loaded_options = None + _globals['_MSGUNDERWRITE'].fields_by_name['deposit']._serialized_options = b'\310\336\037\000' + _globals['_MSGUNDERWRITE']._loaded_options = None + _globals['_MSGUNDERWRITE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\027insurance/MsgUnderwrite' + _globals['_MSGREQUESTREDEMPTION'].fields_by_name['amount']._loaded_options = None + _globals['_MSGREQUESTREDEMPTION'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_MSGREQUESTREDEMPTION']._loaded_options = None + _globals['_MSGREQUESTREDEMPTION']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\036insurance/MsgRequestRedemption' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\031insurance/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGCREATEINSURANCEFUND']._serialized_start=279 + _globals['_MSGCREATEINSURANCEFUND']._serialized_end=679 + _globals['_MSGCREATEINSURANCEFUNDRESPONSE']._serialized_start=681 + _globals['_MSGCREATEINSURANCEFUNDRESPONSE']._serialized_end=713 + _globals['_MSGUNDERWRITE']._serialized_start=716 + _globals['_MSGUNDERWRITE']._serialized_end=892 + _globals['_MSGUNDERWRITERESPONSE']._serialized_start=894 + _globals['_MSGUNDERWRITERESPONSE']._serialized_end=917 + _globals['_MSGREQUESTREDEMPTION']._serialized_start=920 + _globals['_MSGREQUESTREDEMPTION']._serialized_end=1108 + _globals['_MSGREQUESTREDEMPTIONRESPONSE']._serialized_start=1110 + _globals['_MSGREQUESTREDEMPTIONRESPONSE']._serialized_end=1140 + _globals['_MSGUPDATEPARAMS']._serialized_start=1143 + _globals['_MSGUPDATEPARAMS']._serialized_end=1329 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1331 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1356 + _globals['_MSG']._serialized_start=1359 + _globals['_MSG']._serialized_end=1867 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..b3f99501 --- /dev/null +++ b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,214 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.injective.insurance.v1beta1 import tx_pb2 as injective_dot_insurance_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the insurance Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateInsuranceFund = channel.unary_unary( + '/injective.insurance.v1beta1.Msg/CreateInsuranceFund', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFund.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFundResponse.FromString, + _registered_method=True) + self.Underwrite = channel.unary_unary( + '/injective.insurance.v1beta1.Msg/Underwrite', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwrite.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwriteResponse.FromString, + _registered_method=True) + self.RequestRedemption = channel.unary_unary( + '/injective.insurance.v1beta1.Msg/RequestRedemption', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemption.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemptionResponse.FromString, + _registered_method=True) + self.UpdateParams = channel.unary_unary( + '/injective.insurance.v1beta1.Msg/UpdateParams', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the insurance Msg service. + """ + + def CreateInsuranceFund(self, request, context): + """CreateInsuranceFund defines a method for creating an insurance fund + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Underwrite(self, request, context): + """Underwrite defines a method for depositing tokens to underwrite an + insurance fund + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RequestRedemption(self, request, context): + """RequestRedemption defines a method for requesting a redemption of the + sender's insurance fund tokens + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateInsuranceFund': grpc.unary_unary_rpc_method_handler( + servicer.CreateInsuranceFund, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFund.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFundResponse.SerializeToString, + ), + 'Underwrite': grpc.unary_unary_rpc_method_handler( + servicer.Underwrite, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwrite.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwriteResponse.SerializeToString, + ), + 'RequestRedemption': grpc.unary_unary_rpc_method_handler( + servicer.RequestRedemption, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemption.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemptionResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.insurance.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('injective.insurance.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the insurance Msg service. + """ + + @staticmethod + def CreateInsuranceFund(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.insurance.v1beta1.Msg/CreateInsuranceFund', + injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFund.SerializeToString, + injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFundResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Underwrite(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.insurance.v1beta1.Msg/Underwrite', + injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwrite.SerializeToString, + injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwriteResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RequestRedemption(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.insurance.v1beta1.Msg/RequestRedemption', + injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemption.SerializeToString, + injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemptionResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.insurance.v1beta1.Msg/UpdateParams', + injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..6fb032f4 --- /dev/null +++ b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/ocr/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.injective.ocr.v1beta1 import ocr_pb2 as injective_dot_ocr_dot_v1beta1_dot_ocr__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#injective/ocr/v1beta1/genesis.proto\x12\x15injective.ocr.v1beta1\x1a\x1finjective/ocr/v1beta1/ocr.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x94\x06\n\x0cGenesisState\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x1d.injective.ocr.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12\x44\n\x0c\x66\x65\x65\x64_configs\x18\x02 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x0b\x66\x65\x65\x64\x43onfigs\x12_\n\x17latest_epoch_and_rounds\x18\x03 \x03(\x0b\x32(.injective.ocr.v1beta1.FeedEpochAndRoundR\x14latestEpochAndRounds\x12V\n\x12\x66\x65\x65\x64_transmissions\x18\x04 \x03(\x0b\x32\'.injective.ocr.v1beta1.FeedTransmissionR\x11\x66\x65\x65\x64Transmissions\x12r\n\x1blatest_aggregator_round_ids\x18\x05 \x03(\x0b\x32\x33.injective.ocr.v1beta1.FeedLatestAggregatorRoundIDsR\x18latestAggregatorRoundIds\x12\x44\n\x0creward_pools\x18\x06 \x03(\x0b\x32!.injective.ocr.v1beta1.RewardPoolR\x0brewardPools\x12Y\n\x17\x66\x65\x65\x64_observation_counts\x18\x07 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedCountsR\x15\x66\x65\x65\x64ObservationCounts\x12[\n\x18\x66\x65\x65\x64_transmission_counts\x18\x08 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedCountsR\x16\x66\x65\x65\x64TransmissionCounts\x12V\n\x12pending_payeeships\x18\t \x03(\x0b\x32\'.injective.ocr.v1beta1.PendingPayeeshipR\x11pendingPayeeships\"t\n\x10\x46\x65\x65\x64Transmission\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12G\n\x0ctransmission\x18\x02 \x01(\x0b\x32#.injective.ocr.v1beta1.TransmissionR\x0ctransmission\"z\n\x11\x46\x65\x65\x64\x45pochAndRound\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12L\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound\"g\n\x1c\x46\x65\x65\x64LatestAggregatorRoundIDs\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12.\n\x13\x61ggregator_round_id\x18\x02 \x01(\x04R\x11\x61ggregatorRoundId\"^\n\nRewardPool\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"[\n\nFeedCounts\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x34\n\x06\x63ounts\x18\x02 \x03(\x0b\x32\x1c.injective.ocr.v1beta1.CountR\x06\x63ounts\"7\n\x05\x43ount\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\"t\n\x10PendingPayeeship\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12 \n\x0btransmitter\x18\x02 \x01(\tR\x0btransmitter\x12%\n\x0eproposed_payee\x18\x03 \x01(\tR\rproposedPayeeB\xea\x01\n\x19\x63om.injective.ocr.v1beta1B\x0cGenesisProtoP\x01ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\xa2\x02\x03IOX\xaa\x02\x15Injective.Ocr.V1beta1\xca\x02\x15Injective\\Ocr\\V1beta1\xe2\x02!Injective\\Ocr\\V1beta1\\GPBMetadata\xea\x02\x17Injective::Ocr::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.ocr.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.injective.ocr.v1beta1B\014GenesisProtoP\001ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\242\002\003IOX\252\002\025Injective.Ocr.V1beta1\312\002\025Injective\\Ocr\\V1beta1\342\002!Injective\\Ocr\\V1beta1\\GPBMetadata\352\002\027Injective::Ocr::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_REWARDPOOL'].fields_by_name['amount']._loaded_options = None + _globals['_REWARDPOOL'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=150 + _globals['_GENESISSTATE']._serialized_end=938 + _globals['_FEEDTRANSMISSION']._serialized_start=940 + _globals['_FEEDTRANSMISSION']._serialized_end=1056 + _globals['_FEEDEPOCHANDROUND']._serialized_start=1058 + _globals['_FEEDEPOCHANDROUND']._serialized_end=1180 + _globals['_FEEDLATESTAGGREGATORROUNDIDS']._serialized_start=1182 + _globals['_FEEDLATESTAGGREGATORROUNDIDS']._serialized_end=1285 + _globals['_REWARDPOOL']._serialized_start=1287 + _globals['_REWARDPOOL']._serialized_end=1381 + _globals['_FEEDCOUNTS']._serialized_start=1383 + _globals['_FEEDCOUNTS']._serialized_end=1474 + _globals['_COUNT']._serialized_start=1476 + _globals['_COUNT']._serialized_end=1531 + _globals['_PENDINGPAYEESHIP']._serialized_start=1533 + _globals['_PENDINGPAYEESHIP']._serialized_end=1649 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py new file mode 100644 index 00000000..3bd0c99d --- /dev/null +++ b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py @@ -0,0 +1,114 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/ocr/v1beta1/ocr.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/ocr/v1beta1/ocr.proto\x12\x15injective.ocr.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x11\x61mino/amino.proto\"\x93\x01\n\x06Params\x12\x1d\n\nlink_denom\x18\x01 \x01(\tR\tlinkDenom\x12\x32\n\x15payout_block_interval\x18\x02 \x01(\x04R\x13payoutBlockInterval\x12!\n\x0cmodule_admin\x18\x03 \x01(\tR\x0bmoduleAdmin:\x13\xe8\xa0\x1f\x01\x8a\xe7\xb0*\nocr/Params\"\xaa\x02\n\nFeedConfig\x12\x18\n\x07signers\x18\x01 \x03(\tR\x07signers\x12\"\n\x0ctransmitters\x18\x02 \x03(\tR\x0ctransmitters\x12\x0c\n\x01\x66\x18\x03 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x04 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x05 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x06 \x01(\x0cR\x0eoffchainConfig\x12H\n\rmodule_params\x18\x07 \x01(\x0b\x32#.injective.ocr.v1beta1.ModuleParamsR\x0cmoduleParams\"\xbe\x01\n\x0e\x46\x65\x65\x64\x43onfigInfo\x12\x30\n\x14latest_config_digest\x18\x01 \x01(\x0cR\x12latestConfigDigest\x12\x0c\n\x01\x66\x18\x02 \x01(\rR\x01\x66\x12\x0c\n\x01n\x18\x03 \x01(\rR\x01n\x12!\n\x0c\x63onfig_count\x18\x04 \x01(\x04R\x0b\x63onfigCount\x12;\n\x1alatest_config_block_number\x18\x05 \x01(\x03R\x17latestConfigBlockNumber\"\xff\x03\n\x0cModuleParams\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x42\n\nmin_answer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tminAnswer\x12\x42\n\nmax_answer\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmaxAnswer\x12O\n\x14link_per_observation\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x12linkPerObservation\x12Q\n\x15link_per_transmission\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x13linkPerTransmission\x12\x1d\n\nlink_denom\x18\x06 \x01(\tR\tlinkDenom\x12%\n\x0eunique_reports\x18\x07 \x01(\x08R\runiqueReports\x12 \n\x0b\x64\x65scription\x18\x08 \x01(\tR\x0b\x64\x65scription\x12\x1d\n\nfeed_admin\x18\t \x01(\tR\tfeedAdmin\x12#\n\rbilling_admin\x18\n \x01(\tR\x0c\x62illingAdmin\"\x87\x02\n\x0e\x43ontractConfig\x12!\n\x0c\x63onfig_count\x18\x01 \x01(\x04R\x0b\x63onfigCount\x12\x18\n\x07signers\x18\x02 \x03(\tR\x07signers\x12\"\n\x0ctransmitters\x18\x03 \x03(\tR\x0ctransmitters\x12\x0c\n\x01\x66\x18\x04 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x05 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x06 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x07 \x01(\x0cR\x0eoffchainConfig\"\xc8\x01\n\x11SetConfigProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x06\x63onfig\x18\x03 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x06\x63onfig:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15ocr/SetConfigProposal\"\xb4\x04\n\x0e\x46\x65\x65\x64Properties\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x0c\n\x01\x66\x18\x02 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x03 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x04 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x05 \x01(\x0cR\x0eoffchainConfig\x12\x42\n\nmin_answer\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tminAnswer\x12\x42\n\nmax_answer\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmaxAnswer\x12O\n\x14link_per_observation\x18\x08 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x12linkPerObservation\x12Q\n\x15link_per_transmission\x18\t \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x13linkPerTransmission\x12%\n\x0eunique_reports\x18\n \x01(\x08R\runiqueReports\x12 \n\x0b\x64\x65scription\x18\x0b \x01(\tR\x0b\x64\x65scription\"\xc4\x02\n\x16SetBatchConfigProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x18\n\x07signers\x18\x03 \x03(\tR\x07signers\x12\"\n\x0ctransmitters\x18\x04 \x03(\tR\x0ctransmitters\x12\x1d\n\nlink_denom\x18\x05 \x01(\tR\tlinkDenom\x12N\n\x0f\x66\x65\x65\x64_properties\x18\x06 \x03(\x0b\x32%.injective.ocr.v1beta1.FeedPropertiesR\x0e\x66\x65\x65\x64Properties:E\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1aocr/SetBatchConfigProposal\"2\n\x18OracleObservationsCounts\x12\x16\n\x06\x63ounts\x18\x01 \x03(\rR\x06\x63ounts\"V\n\x11GasReimbursements\x12\x41\n\x0ereimbursements\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x0ereimbursements\"U\n\x05Payee\x12)\n\x10transmitter_addr\x18\x01 \x01(\tR\x0ftransmitterAddr\x12!\n\x0cpayment_addr\x18\x02 \x01(\tR\x0bpaymentAddr\"\xb9\x01\n\x0cTransmission\x12;\n\x06\x61nswer\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12\x35\n\x16observations_timestamp\x18\x02 \x01(\x03R\x15observationsTimestamp\x12\x35\n\x16transmission_timestamp\x18\x03 \x01(\x03R\x15transmissionTimestamp\";\n\rEpochAndRound\x12\x14\n\x05\x65poch\x18\x01 \x01(\x04R\x05\x65poch\x12\x14\n\x05round\x18\x02 \x01(\x04R\x05round\"\xa6\x01\n\x06Report\x12\x35\n\x16observations_timestamp\x18\x01 \x01(\x03R\x15observationsTimestamp\x12\x1c\n\tobservers\x18\x02 \x01(\x0cR\tobservers\x12G\n\x0cobservations\x18\x03 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cobservations\"\x96\x01\n\x0cReportToSign\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12\x14\n\x05\x65poch\x18\x02 \x01(\x04R\x05\x65poch\x12\x14\n\x05round\x18\x03 \x01(\x04R\x05round\x12\x1d\n\nextra_hash\x18\x04 \x01(\x0cR\textraHash\x12\x16\n\x06report\x18\x05 \x01(\x0cR\x06report\"\x94\x01\n\x0f\x45ventOraclePaid\x12)\n\x10transmitter_addr\x18\x01 \x01(\tR\x0ftransmitterAddr\x12\x1d\n\npayee_addr\x18\x02 \x01(\tR\tpayeeAddr\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\xcc\x01\n\x12\x45ventAnswerUpdated\x12\x37\n\x07\x63urrent\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07\x63urrent\x12\x38\n\x08round_id\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07roundId\x12\x43\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\tupdatedAt\"\xad\x01\n\rEventNewRound\x12\x38\n\x08round_id\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07roundId\x12\x1d\n\nstarted_by\x18\x02 \x01(\tR\tstartedBy\x12\x43\n\nstarted_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\tstartedAt\"M\n\x10\x45ventTransmitted\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12\x14\n\x05\x65poch\x18\x02 \x01(\x04R\x05\x65poch\"\xcf\x03\n\x14\x45ventNewTransmission\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12.\n\x13\x61ggregator_round_id\x18\x02 \x01(\rR\x11\x61ggregatorRoundId\x12;\n\x06\x61nswer\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12 \n\x0btransmitter\x18\x04 \x01(\tR\x0btransmitter\x12\x35\n\x16observations_timestamp\x18\x05 \x01(\x03R\x15observationsTimestamp\x12G\n\x0cobservations\x18\x06 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cobservations\x12\x1c\n\tobservers\x18\x07 \x01(\x0cR\tobservers\x12#\n\rconfig_digest\x18\x08 \x01(\x0cR\x0c\x63onfigDigest\x12L\n\x0f\x65poch_and_round\x18\t \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound\"\xf9\x01\n\x0e\x45ventConfigSet\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12?\n\x1cprevious_config_block_number\x18\x02 \x01(\x03R\x19previousConfigBlockNumber\x12\x39\n\x06\x63onfig\x18\x03 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x06\x63onfig\x12\x46\n\x0b\x63onfig_info\x18\x04 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfoR\nconfigInfoB\xe6\x01\n\x19\x63om.injective.ocr.v1beta1B\x08OcrProtoP\x01ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\xa2\x02\x03IOX\xaa\x02\x15Injective.Ocr.V1beta1\xca\x02\x15Injective\\Ocr\\V1beta1\xe2\x02!Injective\\Ocr\\V1beta1\\GPBMetadata\xea\x02\x17Injective::Ocr::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.ocr.v1beta1.ocr_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.injective.ocr.v1beta1B\010OcrProtoP\001ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\242\002\003IOX\252\002\025Injective.Ocr.V1beta1\312\002\025Injective\\Ocr\\V1beta1\342\002!Injective\\Ocr\\V1beta1\\GPBMetadata\352\002\027Injective::Ocr::V1beta1' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\nocr/Params' + _globals['_MODULEPARAMS'].fields_by_name['min_answer']._loaded_options = None + _globals['_MODULEPARAMS'].fields_by_name['min_answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MODULEPARAMS'].fields_by_name['max_answer']._loaded_options = None + _globals['_MODULEPARAMS'].fields_by_name['max_answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MODULEPARAMS'].fields_by_name['link_per_observation']._loaded_options = None + _globals['_MODULEPARAMS'].fields_by_name['link_per_observation']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_MODULEPARAMS'].fields_by_name['link_per_transmission']._loaded_options = None + _globals['_MODULEPARAMS'].fields_by_name['link_per_transmission']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_SETCONFIGPROPOSAL']._loaded_options = None + _globals['_SETCONFIGPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025ocr/SetConfigProposal' + _globals['_FEEDPROPERTIES'].fields_by_name['min_answer']._loaded_options = None + _globals['_FEEDPROPERTIES'].fields_by_name['min_answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_FEEDPROPERTIES'].fields_by_name['max_answer']._loaded_options = None + _globals['_FEEDPROPERTIES'].fields_by_name['max_answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_FEEDPROPERTIES'].fields_by_name['link_per_observation']._loaded_options = None + _globals['_FEEDPROPERTIES'].fields_by_name['link_per_observation']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_FEEDPROPERTIES'].fields_by_name['link_per_transmission']._loaded_options = None + _globals['_FEEDPROPERTIES'].fields_by_name['link_per_transmission']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_SETBATCHCONFIGPROPOSAL']._loaded_options = None + _globals['_SETBATCHCONFIGPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\032ocr/SetBatchConfigProposal' + _globals['_TRANSMISSION'].fields_by_name['answer']._loaded_options = None + _globals['_TRANSMISSION'].fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_REPORT'].fields_by_name['observations']._loaded_options = None + _globals['_REPORT'].fields_by_name['observations']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTORACLEPAID'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTORACLEPAID'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_EVENTANSWERUPDATED'].fields_by_name['current']._loaded_options = None + _globals['_EVENTANSWERUPDATED'].fields_by_name['current']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_EVENTANSWERUPDATED'].fields_by_name['round_id']._loaded_options = None + _globals['_EVENTANSWERUPDATED'].fields_by_name['round_id']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_EVENTANSWERUPDATED'].fields_by_name['updated_at']._loaded_options = None + _globals['_EVENTANSWERUPDATED'].fields_by_name['updated_at']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_EVENTNEWROUND'].fields_by_name['round_id']._loaded_options = None + _globals['_EVENTNEWROUND'].fields_by_name['round_id']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_EVENTNEWROUND'].fields_by_name['started_at']._loaded_options = None + _globals['_EVENTNEWROUND'].fields_by_name['started_at']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_EVENTNEWTRANSMISSION'].fields_by_name['answer']._loaded_options = None + _globals['_EVENTNEWTRANSMISSION'].fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTNEWTRANSMISSION'].fields_by_name['observations']._loaded_options = None + _globals['_EVENTNEWTRANSMISSION'].fields_by_name['observations']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS']._serialized_start=192 + _globals['_PARAMS']._serialized_end=339 + _globals['_FEEDCONFIG']._serialized_start=342 + _globals['_FEEDCONFIG']._serialized_end=640 + _globals['_FEEDCONFIGINFO']._serialized_start=643 + _globals['_FEEDCONFIGINFO']._serialized_end=833 + _globals['_MODULEPARAMS']._serialized_start=836 + _globals['_MODULEPARAMS']._serialized_end=1347 + _globals['_CONTRACTCONFIG']._serialized_start=1350 + _globals['_CONTRACTCONFIG']._serialized_end=1613 + _globals['_SETCONFIGPROPOSAL']._serialized_start=1616 + _globals['_SETCONFIGPROPOSAL']._serialized_end=1816 + _globals['_FEEDPROPERTIES']._serialized_start=1819 + _globals['_FEEDPROPERTIES']._serialized_end=2383 + _globals['_SETBATCHCONFIGPROPOSAL']._serialized_start=2386 + _globals['_SETBATCHCONFIGPROPOSAL']._serialized_end=2710 + _globals['_ORACLEOBSERVATIONSCOUNTS']._serialized_start=2712 + _globals['_ORACLEOBSERVATIONSCOUNTS']._serialized_end=2762 + _globals['_GASREIMBURSEMENTS']._serialized_start=2764 + _globals['_GASREIMBURSEMENTS']._serialized_end=2850 + _globals['_PAYEE']._serialized_start=2852 + _globals['_PAYEE']._serialized_end=2937 + _globals['_TRANSMISSION']._serialized_start=2940 + _globals['_TRANSMISSION']._serialized_end=3125 + _globals['_EPOCHANDROUND']._serialized_start=3127 + _globals['_EPOCHANDROUND']._serialized_end=3186 + _globals['_REPORT']._serialized_start=3189 + _globals['_REPORT']._serialized_end=3355 + _globals['_REPORTTOSIGN']._serialized_start=3358 + _globals['_REPORTTOSIGN']._serialized_end=3508 + _globals['_EVENTORACLEPAID']._serialized_start=3511 + _globals['_EVENTORACLEPAID']._serialized_end=3659 + _globals['_EVENTANSWERUPDATED']._serialized_start=3662 + _globals['_EVENTANSWERUPDATED']._serialized_end=3866 + _globals['_EVENTNEWROUND']._serialized_start=3869 + _globals['_EVENTNEWROUND']._serialized_end=4042 + _globals['_EVENTTRANSMITTED']._serialized_start=4044 + _globals['_EVENTTRANSMITTED']._serialized_end=4121 + _globals['_EVENTNEWTRANSMISSION']._serialized_start=4124 + _globals['_EVENTNEWTRANSMISSION']._serialized_end=4587 + _globals['_EVENTCONFIGSET']._serialized_start=4590 + _globals['_EVENTCONFIGSET']._serialized_end=4839 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2_grpc.py b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py new file mode 100644 index 00000000..3f1bd1a4 --- /dev/null +++ b/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py @@ -0,0 +1,78 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/ocr/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.injective.ocr.v1beta1 import ocr_pb2 as injective_dot_ocr_dot_v1beta1_dot_ocr__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.injective.ocr.v1beta1 import genesis_pb2 as injective_dot_ocr_dot_v1beta1_dot_genesis__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/ocr/v1beta1/query.proto\x12\x15injective.ocr.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1finjective/ocr/v1beta1/ocr.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a#injective/ocr/v1beta1/genesis.proto\"\x14\n\x12QueryParamsRequest\"R\n\x13QueryParamsResponse\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x1d.injective.ocr.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"1\n\x16QueryFeedConfigRequest\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\"\xae\x01\n\x17QueryFeedConfigResponse\x12O\n\x10\x66\x65\x65\x64_config_info\x18\x01 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfoR\x0e\x66\x65\x65\x64\x43onfigInfo\x12\x42\n\x0b\x66\x65\x65\x64_config\x18\x02 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\nfeedConfig\"5\n\x1aQueryFeedConfigInfoRequest\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\"\xbc\x01\n\x1bQueryFeedConfigInfoResponse\x12O\n\x10\x66\x65\x65\x64_config_info\x18\x01 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfoR\x0e\x66\x65\x65\x64\x43onfigInfo\x12L\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound\"2\n\x17QueryLatestRoundRequest\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\"{\n\x18QueryLatestRoundResponse\x12&\n\x0flatest_round_id\x18\x01 \x01(\x04R\rlatestRoundId\x12\x37\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32#.injective.ocr.v1beta1.TransmissionR\x04\x64\x61ta\"@\n%QueryLatestTransmissionDetailsRequest\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\"\xd4\x01\n&QueryLatestTransmissionDetailsResponse\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12L\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound\x12\x37\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32#.injective.ocr.v1beta1.TransmissionR\x04\x64\x61ta\":\n\x16QueryOwedAmountRequest\x12 \n\x0btransmitter\x18\x01 \x01(\tR\x0btransmitter\"R\n\x17QueryOwedAmountResponse\x12\x37\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\x19\n\x17QueryModuleStateRequest\"U\n\x18QueryModuleStateResponse\x12\x39\n\x05state\x18\x01 \x01(\x0b\x32#.injective.ocr.v1beta1.GenesisStateR\x05state2\xbb\t\n\x05Query\x12\x86\x01\n\x06Params\x12).injective.ocr.v1beta1.QueryParamsRequest\x1a*.injective.ocr.v1beta1.QueryParamsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/chainlink/ocr/v1beta1/params\x12\xa1\x01\n\nFeedConfig\x12-.injective.ocr.v1beta1.QueryFeedConfigRequest\x1a..injective.ocr.v1beta1.QueryFeedConfigResponse\"4\x82\xd3\xe4\x93\x02.\x12,/chainlink/ocr/v1beta1/feed_config/{feed_id}\x12\xb2\x01\n\x0e\x46\x65\x65\x64\x43onfigInfo\x12\x31.injective.ocr.v1beta1.QueryFeedConfigInfoRequest\x1a\x32.injective.ocr.v1beta1.QueryFeedConfigInfoResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/chainlink/ocr/v1beta1/feed_config_info/{feed_id}\x12\xa5\x01\n\x0bLatestRound\x12..injective.ocr.v1beta1.QueryLatestRoundRequest\x1a/.injective.ocr.v1beta1.QueryLatestRoundResponse\"5\x82\xd3\xe4\x93\x02/\x12-/chainlink/ocr/v1beta1/latest_round/{feed_id}\x12\xde\x01\n\x19LatestTransmissionDetails\x12<.injective.ocr.v1beta1.QueryLatestTransmissionDetailsRequest\x1a=.injective.ocr.v1beta1.QueryLatestTransmissionDetailsResponse\"D\x82\xd3\xe4\x93\x02>\x12\022\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12#\n\rband_relayers\x18\x02 \x03(\tR\x0c\x62\x61ndRelayers\x12T\n\x11\x62\x61nd_price_states\x18\x03 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0f\x62\x61ndPriceStates\x12_\n\x17price_feed_price_states\x18\x04 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedStateR\x14priceFeedPriceStates\x12`\n\x15\x63oinbase_price_states\x18\x05 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceStateR\x13\x63oinbasePriceStates\x12[\n\x15\x62\x61nd_ibc_price_states\x18\x06 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x12\x62\x61ndIbcPriceStates\x12\x64\n\x18\x62\x61nd_ibc_oracle_requests\x18\x07 \x03(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestR\x15\x62\x61ndIbcOracleRequests\x12U\n\x0f\x62\x61nd_ibc_params\x18\x08 \x01(\x0b\x32\'.injective.oracle.v1beta1.BandIBCParamsB\x04\xc8\xde\x1f\x00R\rbandIbcParams\x12\x38\n\x19\x62\x61nd_ibc_latest_client_id\x18\t \x01(\x04R\x15\x62\x61ndIbcLatestClientId\x12S\n\x10\x63\x61lldata_records\x18\n \x03(\x0b\x32(.injective.oracle.v1beta1.CalldataRecordR\x0f\x63\x61lldataRecords\x12:\n\x1a\x62\x61nd_ibc_latest_request_id\x18\x0b \x01(\x04R\x16\x62\x61ndIbcLatestRequestId\x12\x63\n\x16\x63hainlink_price_states\x18\x0c \x03(\x0b\x32-.injective.oracle.v1beta1.ChainlinkPriceStateR\x14\x63hainlinkPriceStates\x12`\n\x18historical_price_records\x18\r \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecordsR\x16historicalPriceRecords\x12P\n\x0fprovider_states\x18\x0e \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderStateR\x0eproviderStates\x12T\n\x11pyth_price_states\x18\x0f \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x0fpythPriceStates\x12W\n\x12stork_price_states\x18\x10 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x10storkPriceStates\x12)\n\x10stork_publishers\x18\x11 \x03(\tR\x0fstorkPublishers\"I\n\x0e\x43\x61lldataRecord\x12\x1b\n\tclient_id\x18\x01 \x01(\x04R\x08\x63lientId\x12\x1a\n\x08\x63\x61lldata\x18\x02 \x01(\x0cR\x08\x63\x61lldataB\xfc\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0cGenesisProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\014GenesisProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['band_ibc_params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['band_ibc_params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=130 + _globals['_GENESISSTATE']._serialized_end=1510 + _globals['_CALLDATARECORD']._serialized_start=1512 + _globals['_CALLDATARECORD']._serialized_end=1585 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py new file mode 100644 index 00000000..e25462f1 --- /dev/null +++ b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py @@ -0,0 +1,124 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/oracle/v1beta1/oracle.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%injective/oracle/v1beta1/oracle.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"E\n\x06Params\x12#\n\rpyth_contract\x18\x01 \x01(\tR\x0cpythContract:\x16\xe8\xa0\x1f\x01\x8a\xe7\xb0*\roracle/Params\"k\n\nOracleInfo\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x45\n\x0boracle_type\x18\x02 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xd6\x01\n\x13\x43hainlinkPriceState\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12;\n\x06\x61nswer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp\x12K\n\x0bprice_state\x18\x04 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xea\x01\n\x0e\x42\x61ndPriceState\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x31\n\x04rate\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x04rate\x12!\n\x0cresolve_time\x18\x03 \x01(\x04R\x0bresolveTime\x12\x1d\n\nrequest_ID\x18\x04 \x01(\x04R\trequestID\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\x9d\x01\n\x0ePriceFeedState\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x02 \x01(\tR\x05quote\x12\x45\n\x0bprice_state\x18\x03 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\npriceState\x12\x1a\n\x08relayers\x18\x04 \x03(\tR\x08relayers\"F\n\x0cProviderInfo\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x02 \x03(\tR\x08relayers\"\xbe\x01\n\rProviderState\x12K\n\rprovider_info\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.ProviderInfoR\x0cproviderInfo\x12`\n\x15provider_price_states\x18\x02 \x03(\x0b\x32,.injective.oracle.v1beta1.ProviderPriceStateR\x13providerPriceStates\"h\n\x12ProviderPriceState\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12:\n\x05state\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\x05state\"9\n\rPriceFeedInfo\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x02 \x01(\tR\x05quote\"K\n\x0ePriceFeedPrice\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\"\xbb\x01\n\x12\x43oinbasePriceState\x12\x12\n\x04kind\x18\x01 \x01(\tR\x04kind\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x10\n\x03key\x18\x03 \x01(\tR\x03key\x12\x14\n\x05value\x18\x04 \x01(\x04R\x05value\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xcf\x01\n\x0fStorkPriceState\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\x12\x39\n\x05value\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05value\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xb5\x01\n\nPriceState\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12N\n\x10\x63umulative_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x63umulativePrice\x12\x1c\n\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\"\xd6\x02\n\x0ePythPriceState\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12@\n\tema_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x65maPrice\x12>\n\x08\x65ma_conf\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x07\x65maConf\x12\x37\n\x04\x63onf\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04\x63onf\x12!\n\x0cpublish_time\x18\x05 \x01(\x04R\x0bpublishTime\x12K\n\x0bprice_state\x18\x06 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\x86\x03\n\x11\x42\x61ndOracleRequest\x12\x1d\n\nrequest_id\x18\x01 \x01(\x04R\trequestId\x12(\n\x10oracle_script_id\x18\x02 \x01(\x03R\x0eoracleScriptId\x12\x18\n\x07symbols\x18\x03 \x03(\tR\x07symbols\x12\x1b\n\task_count\x18\x04 \x01(\x04R\x08\x61skCount\x12\x1b\n\tmin_count\x18\x05 \x01(\x04R\x08minCount\x12h\n\tfee_limit\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08\x66\x65\x65Limit\x12\x1f\n\x0bprepare_gas\x18\x07 \x01(\x04R\nprepareGas\x12\x1f\n\x0b\x65xecute_gas\x18\x08 \x01(\x04R\nexecuteGas\x12(\n\x10min_source_count\x18\t \x01(\x04R\x0eminSourceCount\"\x86\x02\n\rBandIBCParams\x12(\n\x10\x62\x61nd_ibc_enabled\x18\x01 \x01(\x08R\x0e\x62\x61ndIbcEnabled\x12\x30\n\x14ibc_request_interval\x18\x02 \x01(\x03R\x12ibcRequestInterval\x12,\n\x12ibc_source_channel\x18\x03 \x01(\tR\x10ibcSourceChannel\x12\x1f\n\x0bibc_version\x18\x04 \x01(\tR\nibcVersion\x12\x1e\n\x0bibc_port_id\x18\x05 \x01(\tR\tibcPortId\x12*\n\x11legacy_oracle_ids\x18\x06 \x03(\x03R\x0flegacyOracleIds\"\x8f\x01\n\x14SymbolPriceTimestamp\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\x12\x1c\n\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\"y\n\x13LastPriceTimestamps\x12\x62\n\x15last_price_timestamps\x18\x01 \x03(\x0b\x32..injective.oracle.v1beta1.SymbolPriceTimestampR\x13lastPriceTimestamps\"\xc2\x01\n\x0cPriceRecords\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\x12W\n\x14latest_price_records\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecordR\x12latestPriceRecords\"f\n\x0bPriceRecord\x12\x1c\n\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\"\xf3\x03\n\x12MetadataStatistics\x12\x1f\n\x0bgroup_count\x18\x01 \x01(\rR\ngroupCount\x12.\n\x13records_sample_size\x18\x02 \x01(\rR\x11recordsSampleSize\x12\x37\n\x04mean\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04mean\x12\x37\n\x04twap\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04twap\x12\'\n\x0f\x66irst_timestamp\x18\x05 \x01(\x03R\x0e\x66irstTimestamp\x12%\n\x0elast_timestamp\x18\x06 \x01(\x03R\rlastTimestamp\x12@\n\tmin_price\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08minPrice\x12@\n\tmax_price\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08maxPrice\x12\x46\n\x0cmedian_price\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bmedianPrice\"\xe1\x01\n\x10PriceAttestation\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12\x14\n\x05price\x18\x02 \x01(\x03R\x05price\x12\x12\n\x04\x63onf\x18\x03 \x01(\x04R\x04\x63onf\x12\x12\n\x04\x65xpo\x18\x04 \x01(\x05R\x04\x65xpo\x12\x1b\n\tema_price\x18\x05 \x01(\x03R\x08\x65maPrice\x12\x19\n\x08\x65ma_conf\x18\x06 \x01(\x04R\x07\x65maConf\x12\x19\n\x08\x65ma_expo\x18\x07 \x01(\x05R\x07\x65maExpo\x12!\n\x0cpublish_time\x18\x08 \x01(\x03R\x0bpublishTime\"}\n\tAssetPair\x12\x19\n\x08\x61sset_id\x18\x01 \x01(\tR\x07\x61ssetId\x12U\n\rsigned_prices\x18\x02 \x03(\x0b\x32\x30.injective.oracle.v1beta1.SignedPriceOfAssetPairR\x0csignedPrices\"\xb4\x01\n\x16SignedPriceOfAssetPair\x12#\n\rpublisher_key\x18\x01 \x01(\tR\x0cpublisherKey\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x39\n\x05price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature*\xaa\x01\n\nOracleType\x12\x0f\n\x0bUnspecified\x10\x00\x12\x08\n\x04\x42\x61nd\x10\x01\x12\r\n\tPriceFeed\x10\x02\x12\x0c\n\x08\x43oinbase\x10\x03\x12\r\n\tChainlink\x10\x04\x12\t\n\x05Razor\x10\x05\x12\x07\n\x03\x44ia\x10\x06\x12\x08\n\x04\x41PI3\x10\x07\x12\x07\n\x03Uma\x10\x08\x12\x08\n\x04Pyth\x10\t\x12\x0b\n\x07\x42\x61ndIBC\x10\n\x12\x0c\n\x08Provider\x10\x0b\x12\t\n\x05Stork\x10\x0c\x42\xff\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0bOracleProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1\xc0\xe3\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.oracle_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\013OracleProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1\300\343\036\001' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\roracle/Params' + _globals['_CHAINLINKPRICESTATE'].fields_by_name['answer']._loaded_options = None + _globals['_CHAINLINKPRICESTATE'].fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_CHAINLINKPRICESTATE'].fields_by_name['price_state']._loaded_options = None + _globals['_CHAINLINKPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' + _globals['_BANDPRICESTATE'].fields_by_name['rate']._loaded_options = None + _globals['_BANDPRICESTATE'].fields_by_name['rate']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_BANDPRICESTATE'].fields_by_name['price_state']._loaded_options = None + _globals['_BANDPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' + _globals['_PRICEFEEDPRICE'].fields_by_name['price']._loaded_options = None + _globals['_PRICEFEEDPRICE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_COINBASEPRICESTATE'].fields_by_name['price_state']._loaded_options = None + _globals['_COINBASEPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' + _globals['_STORKPRICESTATE'].fields_by_name['value']._loaded_options = None + _globals['_STORKPRICESTATE'].fields_by_name['value']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_STORKPRICESTATE'].fields_by_name['price_state']._loaded_options = None + _globals['_STORKPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' + _globals['_PRICESTATE'].fields_by_name['price']._loaded_options = None + _globals['_PRICESTATE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PRICESTATE'].fields_by_name['cumulative_price']._loaded_options = None + _globals['_PRICESTATE'].fields_by_name['cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PYTHPRICESTATE'].fields_by_name['ema_price']._loaded_options = None + _globals['_PYTHPRICESTATE'].fields_by_name['ema_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PYTHPRICESTATE'].fields_by_name['ema_conf']._loaded_options = None + _globals['_PYTHPRICESTATE'].fields_by_name['ema_conf']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PYTHPRICESTATE'].fields_by_name['conf']._loaded_options = None + _globals['_PYTHPRICESTATE'].fields_by_name['conf']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PYTHPRICESTATE'].fields_by_name['price_state']._loaded_options = None + _globals['_PYTHPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' + _globals['_BANDORACLEREQUEST'].fields_by_name['fee_limit']._loaded_options = None + _globals['_BANDORACLEREQUEST'].fields_by_name['fee_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_PRICERECORD'].fields_by_name['price']._loaded_options = None + _globals['_PRICERECORD'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_METADATASTATISTICS'].fields_by_name['mean']._loaded_options = None + _globals['_METADATASTATISTICS'].fields_by_name['mean']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_METADATASTATISTICS'].fields_by_name['twap']._loaded_options = None + _globals['_METADATASTATISTICS'].fields_by_name['twap']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_METADATASTATISTICS'].fields_by_name['min_price']._loaded_options = None + _globals['_METADATASTATISTICS'].fields_by_name['min_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_METADATASTATISTICS'].fields_by_name['max_price']._loaded_options = None + _globals['_METADATASTATISTICS'].fields_by_name['max_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_METADATASTATISTICS'].fields_by_name['median_price']._loaded_options = None + _globals['_METADATASTATISTICS'].fields_by_name['median_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SIGNEDPRICEOFASSETPAIR'].fields_by_name['price']._loaded_options = None + _globals['_SIGNEDPRICEOFASSETPAIR'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_ORACLETYPE']._serialized_start=4639 + _globals['_ORACLETYPE']._serialized_end=4809 + _globals['_PARAMS']._serialized_start=140 + _globals['_PARAMS']._serialized_end=209 + _globals['_ORACLEINFO']._serialized_start=211 + _globals['_ORACLEINFO']._serialized_end=318 + _globals['_CHAINLINKPRICESTATE']._serialized_start=321 + _globals['_CHAINLINKPRICESTATE']._serialized_end=535 + _globals['_BANDPRICESTATE']._serialized_start=538 + _globals['_BANDPRICESTATE']._serialized_end=772 + _globals['_PRICEFEEDSTATE']._serialized_start=775 + _globals['_PRICEFEEDSTATE']._serialized_end=932 + _globals['_PROVIDERINFO']._serialized_start=934 + _globals['_PROVIDERINFO']._serialized_end=1004 + _globals['_PROVIDERSTATE']._serialized_start=1007 + _globals['_PROVIDERSTATE']._serialized_end=1197 + _globals['_PROVIDERPRICESTATE']._serialized_start=1199 + _globals['_PROVIDERPRICESTATE']._serialized_end=1303 + _globals['_PRICEFEEDINFO']._serialized_start=1305 + _globals['_PRICEFEEDINFO']._serialized_end=1362 + _globals['_PRICEFEEDPRICE']._serialized_start=1364 + _globals['_PRICEFEEDPRICE']._serialized_end=1439 + _globals['_COINBASEPRICESTATE']._serialized_start=1442 + _globals['_COINBASEPRICESTATE']._serialized_end=1629 + _globals['_STORKPRICESTATE']._serialized_start=1632 + _globals['_STORKPRICESTATE']._serialized_end=1839 + _globals['_PRICESTATE']._serialized_start=1842 + _globals['_PRICESTATE']._serialized_end=2023 + _globals['_PYTHPRICESTATE']._serialized_start=2026 + _globals['_PYTHPRICESTATE']._serialized_end=2368 + _globals['_BANDORACLEREQUEST']._serialized_start=2371 + _globals['_BANDORACLEREQUEST']._serialized_end=2761 + _globals['_BANDIBCPARAMS']._serialized_start=2764 + _globals['_BANDIBCPARAMS']._serialized_end=3026 + _globals['_SYMBOLPRICETIMESTAMP']._serialized_start=3029 + _globals['_SYMBOLPRICETIMESTAMP']._serialized_end=3172 + _globals['_LASTPRICETIMESTAMPS']._serialized_start=3174 + _globals['_LASTPRICETIMESTAMPS']._serialized_end=3295 + _globals['_PRICERECORDS']._serialized_start=3298 + _globals['_PRICERECORDS']._serialized_end=3492 + _globals['_PRICERECORD']._serialized_start=3494 + _globals['_PRICERECORD']._serialized_end=3596 + _globals['_METADATASTATISTICS']._serialized_start=3599 + _globals['_METADATASTATISTICS']._serialized_end=4098 + _globals['_PRICEATTESTATION']._serialized_start=4101 + _globals['_PRICEATTESTATION']._serialized_end=4326 + _globals['_ASSETPAIR']._serialized_start=4328 + _globals['_ASSETPAIR']._serialized_end=4453 + _globals['_SIGNEDPRICEOFASSETPAIR']._serialized_start=4456 + _globals['_SIGNEDPRICEOFASSETPAIR']._serialized_end=4636 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py new file mode 100644 index 00000000..be531435 --- /dev/null +++ b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py @@ -0,0 +1,78 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/oracle/v1beta1/proposal.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/oracle/v1beta1/proposal.proto\x12\x18injective.oracle.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\xca\x01\n GrantBandOraclePrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:R\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\'oracle/GrantBandOraclePrivilegeProposal\"\xcc\x01\n!RevokeBandOraclePrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(oracle/RevokeBandOraclePrivilegeProposal\"\xf6\x01\n!GrantPriceFeederPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x04 \x01(\tR\x05quote\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(oracle/GrantPriceFeederPrivilegeProposal\"\xe2\x01\n\x1eGrantProviderPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08provider\x18\x03 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x04 \x03(\tR\x08relayers:P\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*%oracle/GrantProviderPrivilegeProposal\"\xe4\x01\n\x1fRevokeProviderPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08provider\x18\x03 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&oracle/RevokeProviderPrivilegeProposal\"\xf8\x01\n\"RevokePriceFeederPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x04 \x01(\tR\x05quote\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)oracle/RevokePriceFeederPrivilegeProposal\"\xff\x01\n\"AuthorizeBandOracleRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12K\n\x07request\x18\x03 \x01(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestB\x04\xc8\xde\x1f\x00R\x07request:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)oracle/AuthorizeBandOracleRequestProposal\"\xbb\x02\n\x1fUpdateBandOracleRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12,\n\x12\x64\x65lete_request_ids\x18\x03 \x03(\x04R\x10\x64\x65leteRequestIds\x12_\n\x15update_oracle_request\x18\x04 \x01(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestR\x13updateOracleRequest:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&oracle/UpdateBandOracleRequestProposal\"\xef\x01\n\x15\x45nableBandIBCProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\x0f\x62\x61nd_ibc_params\x18\x03 \x01(\x0b\x32\'.injective.oracle.v1beta1.BandIBCParamsB\x04\xc8\xde\x1f\x00R\rbandIbcParams:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1coracle/EnableBandIBCProposal\"\xe1\x01\n$GrantStorkPublisherPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12)\n\x10stork_publishers\x18\x03 \x03(\tR\x0fstorkPublishers:V\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*+oracle/GrantStorkPublisherPrivilegeProposal\"\xe3\x01\n%RevokeStorkPublisherPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12)\n\x10stork_publishers\x18\x03 \x03(\tR\x0fstorkPublishers:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,oracle/RevokeStorkPublisherPrivilegeProposalB\xfd\x01\n\x1c\x63om.injective.oracle.v1beta1B\rProposalProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.proposal_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\rProposalProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1' + _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._loaded_options = None + _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\'oracle/GrantBandOraclePrivilegeProposal' + _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._loaded_options = None + _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(oracle/RevokeBandOraclePrivilegeProposal' + _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._loaded_options = None + _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(oracle/GrantPriceFeederPrivilegeProposal' + _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._loaded_options = None + _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*%oracle/GrantProviderPrivilegeProposal' + _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._loaded_options = None + _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&oracle/RevokeProviderPrivilegeProposal' + _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._loaded_options = None + _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)oracle/RevokePriceFeederPrivilegeProposal' + _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL'].fields_by_name['request']._loaded_options = None + _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL'].fields_by_name['request']._serialized_options = b'\310\336\037\000' + _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._loaded_options = None + _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)oracle/AuthorizeBandOracleRequestProposal' + _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._loaded_options = None + _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&oracle/UpdateBandOracleRequestProposal' + _globals['_ENABLEBANDIBCPROPOSAL'].fields_by_name['band_ibc_params']._loaded_options = None + _globals['_ENABLEBANDIBCPROPOSAL'].fields_by_name['band_ibc_params']._serialized_options = b'\310\336\037\000' + _globals['_ENABLEBANDIBCPROPOSAL']._loaded_options = None + _globals['_ENABLEBANDIBCPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034oracle/EnableBandIBCProposal' + _globals['_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL']._loaded_options = None + _globals['_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*+oracle/GrantStorkPublisherPrivilegeProposal' + _globals['_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL']._loaded_options = None + _globals['_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,oracle/RevokeStorkPublisherPrivilegeProposal' + _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._serialized_start=209 + _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._serialized_end=411 + _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._serialized_start=414 + _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._serialized_end=618 + _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_start=621 + _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_end=867 + _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._serialized_start=870 + _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._serialized_end=1096 + _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._serialized_start=1099 + _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._serialized_end=1327 + _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_start=1330 + _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_end=1578 + _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._serialized_start=1581 + _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._serialized_end=1836 + _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._serialized_start=1839 + _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._serialized_end=2154 + _globals['_ENABLEBANDIBCPROPOSAL']._serialized_start=2157 + _globals['_ENABLEBANDIBCPROPOSAL']._serialized_end=2396 + _globals['_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_start=2399 + _globals['_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_end=2624 + _globals['_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_start=2627 + _globals['_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_end=2854 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py new file mode 100644 index 00000000..31138e67 --- /dev/null +++ b/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py @@ -0,0 +1,155 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/oracle/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 +from pyinjective.proto.injective.oracle.v1beta1 import genesis_pb2 as injective_dot_oracle_dot_v1beta1_dot_genesis__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/oracle/v1beta1/query.proto\x12\x18injective.oracle.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a&injective/oracle/v1beta1/genesis.proto\x1a\x14gogoproto/gogo.proto\"2\n\x15QueryPythPriceRequest\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\"c\n\x16QueryPythPriceResponse\x12I\n\x0bprice_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\npriceState\"\x14\n\x12QueryParamsRequest\"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1a\n\x18QueryBandRelayersRequest\"7\n\x19QueryBandRelayersResponse\x12\x1a\n\x08relayers\x18\x01 \x03(\tR\x08relayers\"\x1d\n\x1bQueryBandPriceStatesRequest\"k\n\x1cQueryBandPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0bpriceStates\" \n\x1eQueryBandIBCPriceStatesRequest\"n\n\x1fQueryBandIBCPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0bpriceStates\"\"\n QueryPriceFeedPriceStatesRequest\"p\n!QueryPriceFeedPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedStateR\x0bpriceStates\"!\n\x1fQueryCoinbasePriceStatesRequest\"s\n QueryCoinbasePriceStatesResponse\x12O\n\x0cprice_states\x18\x01 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceStateR\x0bpriceStates\"\x1d\n\x1bQueryPythPriceStatesRequest\"k\n\x1cQueryPythPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x0bpriceStates\"\x1e\n\x1cQueryStorkPriceStatesRequest\"m\n\x1dQueryStorkPriceStatesResponse\x12L\n\x0cprice_states\x18\x01 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x0bpriceStates\"\x1d\n\x1bQueryStorkPublishersRequest\">\n\x1cQueryStorkPublishersResponse\x12\x1e\n\npublishers\x18\x01 \x03(\tR\npublishers\"T\n\x1eQueryProviderPriceStateRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\"h\n\x1fQueryProviderPriceStateResponse\x12\x45\n\x0bprice_state\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\npriceState\"\x19\n\x17QueryModuleStateRequest\"X\n\x18QueryModuleStateResponse\x12<\n\x05state\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.GenesisStateR\x05state\"\x7f\n\"QueryHistoricalPriceRecordsRequest\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\"r\n#QueryHistoricalPriceRecordsResponse\x12K\n\rprice_records\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecordsR\x0cpriceRecords\"\x8a\x01\n\x14OracleHistoryOptions\x12\x17\n\x07max_age\x18\x01 \x01(\x04R\x06maxAge\x12.\n\x13include_raw_history\x18\x02 \x01(\x08R\x11includeRawHistory\x12)\n\x10include_metadata\x18\x03 \x01(\x08R\x0fincludeMetadata\"\x8c\x02\n\x1cQueryOracleVolatilityRequest\x12\x41\n\tbase_info\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfoR\x08\x62\x61seInfo\x12\x43\n\nquote_info\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfoR\tquoteInfo\x12\x64\n\x16oracle_history_options\x18\x03 \x01(\x0b\x32..injective.oracle.v1beta1.OracleHistoryOptionsR\x14oracleHistoryOptions\"\x81\x02\n\x1dQueryOracleVolatilityResponse\x12?\n\nvolatility\x18\x01 \x01(\tB\x1f\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nvolatility\x12W\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatisticsR\x0fhistoryMetadata\x12\x46\n\x0braw_history\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecordR\nrawHistory\"!\n\x1fQueryOracleProvidersInfoRequest\"h\n QueryOracleProvidersInfoResponse\x12\x44\n\tproviders\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.ProviderInfoR\tproviders\">\n QueryOracleProviderPricesRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\"r\n!QueryOracleProviderPricesResponse\x12M\n\rproviderState\x18\x01 \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderStateR\rproviderState\"\\\n\x0eScalingOptions\x12#\n\rbase_decimals\x18\x01 \x01(\rR\x0c\x62\x61seDecimals\x12%\n\x0equote_decimals\x18\x02 \x01(\rR\rquoteDecimals\"\xe3\x01\n\x17QueryOraclePriceRequest\x12\x45\n\x0boracle_type\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x12\n\x04\x62\x61se\x18\x02 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x01(\tR\x05quote\x12W\n\x0fscaling_options\x18\x04 \x01(\x0b\x32(.injective.oracle.v1beta1.ScalingOptionsB\x04\xc8\xde\x1f\x01R\x0escalingOptions\"\xe2\x03\n\x0ePricePairState\x12\x42\n\npair_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tpairPrice\x12\x42\n\nbase_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tbasePrice\x12\x44\n\x0bquote_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nquotePrice\x12W\n\x15\x62\x61se_cumulative_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13\x62\x61seCumulativePrice\x12Y\n\x16quote_cumulative_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14quoteCumulativePrice\x12%\n\x0e\x62\x61se_timestamp\x18\x06 \x01(\x03R\rbaseTimestamp\x12\'\n\x0fquote_timestamp\x18\x07 \x01(\x03R\x0equoteTimestamp\"n\n\x18QueryOraclePriceResponse\x12R\n\x10price_pair_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PricePairStateR\x0epricePairState2\xcd\x18\n\x05Query\x12\x8f\x01\n\x06Params\x12,.injective.oracle.v1beta1.QueryParamsRequest\x1a-.injective.oracle.v1beta1.QueryParamsResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /injective/oracle/v1beta1/params\x12\xa8\x01\n\x0c\x42\x61ndRelayers\x12\x32.injective.oracle.v1beta1.QueryBandRelayersRequest\x1a\x33.injective.oracle.v1beta1.QueryBandRelayersResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/injective/oracle/v1beta1/band_relayers\x12\xb5\x01\n\x0f\x42\x61ndPriceStates\x12\x35.injective.oracle.v1beta1.QueryBandPriceStatesRequest\x1a\x36.injective.oracle.v1beta1.QueryBandPriceStatesResponse\"3\x82\xd3\xe4\x93\x02-\x12+/injective/oracle/v1beta1/band_price_states\x12\xc2\x01\n\x12\x42\x61ndIBCPriceStates\x12\x38.injective.oracle.v1beta1.QueryBandIBCPriceStatesRequest\x1a\x39.injective.oracle.v1beta1.QueryBandIBCPriceStatesResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/oracle/v1beta1/band_ibc_price_states\x12\xc9\x01\n\x14PriceFeedPriceStates\x12:.injective.oracle.v1beta1.QueryPriceFeedPriceStatesRequest\x1a;.injective.oracle.v1beta1.QueryPriceFeedPriceStatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/oracle/v1beta1/pricefeed_price_states\x12\xc5\x01\n\x13\x43oinbasePriceStates\x12\x39.injective.oracle.v1beta1.QueryCoinbasePriceStatesRequest\x1a:.injective.oracle.v1beta1.QueryCoinbasePriceStatesResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/oracle/v1beta1/coinbase_price_states\x12\xb5\x01\n\x0fPythPriceStates\x12\x35.injective.oracle.v1beta1.QueryPythPriceStatesRequest\x1a\x36.injective.oracle.v1beta1.QueryPythPriceStatesResponse\"3\x82\xd3\xe4\x93\x02-\x12+/injective/oracle/v1beta1/pyth_price_states\x12\xb9\x01\n\x10StorkPriceStates\x12\x36.injective.oracle.v1beta1.QueryStorkPriceStatesRequest\x1a\x37.injective.oracle.v1beta1.QueryStorkPriceStatesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/injective/oracle/v1beta1/stork_price_states\x12\xb4\x01\n\x0fStorkPublishers\x12\x35.injective.oracle.v1beta1.QueryStorkPublishersRequest\x1a\x36.injective.oracle.v1beta1.QueryStorkPublishersResponse\"2\x82\xd3\xe4\x93\x02,\x12*/injective/oracle/v1beta1/stork_publishers\x12\xd5\x01\n\x12ProviderPriceState\x12\x38.injective.oracle.v1beta1.QueryProviderPriceStateRequest\x1a\x39.injective.oracle.v1beta1.QueryProviderPriceStateResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/injective/oracle/v1beta1/provider_price_state/{provider}/{symbol}\x12\xaa\x01\n\x11OracleModuleState\x12\x31.injective.oracle.v1beta1.QueryModuleStateRequest\x1a\x32.injective.oracle.v1beta1.QueryModuleStateResponse\".\x82\xd3\xe4\x93\x02(\x12&/injective/oracle/v1beta1/module_state\x12\xd1\x01\n\x16HistoricalPriceRecords\x12<.injective.oracle.v1beta1.QueryHistoricalPriceRecordsRequest\x1a=.injective.oracle.v1beta1.QueryHistoricalPriceRecordsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/oracle/v1beta1/historical_price_records\x12\xb1\x01\n\x10OracleVolatility\x12\x36.injective.oracle.v1beta1.QueryOracleVolatilityRequest\x1a\x37.injective.oracle.v1beta1.QueryOracleVolatilityResponse\",\x82\xd3\xe4\x93\x02&\x12$/injective/oracle/v1beta1/volatility\x12\xb9\x01\n\x13OracleProvidersInfo\x12\x39.injective.oracle.v1beta1.QueryOracleProvidersInfoRequest\x1a:.injective.oracle.v1beta1.QueryOracleProvidersInfoResponse\"+\x82\xd3\xe4\x93\x02%\x12#/injective/oracle/v1beta1/providers\x12\xc2\x01\n\x14OracleProviderPrices\x12:.injective.oracle.v1beta1.QueryOracleProviderPricesRequest\x1a;.injective.oracle.v1beta1.QueryOracleProviderPricesResponse\"1\x82\xd3\xe4\x93\x02+\x12)/injective/oracle/v1beta1/provider_prices\x12\x9d\x01\n\x0bOraclePrice\x12\x31.injective.oracle.v1beta1.QueryOraclePriceRequest\x1a\x32.injective.oracle.v1beta1.QueryOraclePriceResponse\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/injective/oracle/v1beta1/price\x12\x9c\x01\n\tPythPrice\x12/.injective.oracle.v1beta1.QueryPythPriceRequest\x1a\x30.injective.oracle.v1beta1.QueryPythPriceResponse\",\x82\xd3\xe4\x93\x02&\x12$/injective/oracle/v1beta1/pyth_priceB\xfa\x01\n\x1c\x63om.injective.oracle.v1beta1B\nQueryProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\nQueryProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_QUERYORACLEVOLATILITYRESPONSE'].fields_by_name['volatility']._loaded_options = None + _globals['_QUERYORACLEVOLATILITYRESPONSE'].fields_by_name['volatility']._serialized_options = b'\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYORACLEPRICEREQUEST'].fields_by_name['scaling_options']._loaded_options = None + _globals['_QUERYORACLEPRICEREQUEST'].fields_by_name['scaling_options']._serialized_options = b'\310\336\037\001' + _globals['_PRICEPAIRSTATE'].fields_by_name['pair_price']._loaded_options = None + _globals['_PRICEPAIRSTATE'].fields_by_name['pair_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PRICEPAIRSTATE'].fields_by_name['base_price']._loaded_options = None + _globals['_PRICEPAIRSTATE'].fields_by_name['base_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PRICEPAIRSTATE'].fields_by_name['quote_price']._loaded_options = None + _globals['_PRICEPAIRSTATE'].fields_by_name['quote_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PRICEPAIRSTATE'].fields_by_name['base_cumulative_price']._loaded_options = None + _globals['_PRICEPAIRSTATE'].fields_by_name['base_cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PRICEPAIRSTATE'].fields_by_name['quote_cumulative_price']._loaded_options = None + _globals['_PRICEPAIRSTATE'].fields_by_name['quote_cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\"\022 /injective/oracle/v1beta1/params' + _globals['_QUERY'].methods_by_name['BandRelayers']._loaded_options = None + _globals['_QUERY'].methods_by_name['BandRelayers']._serialized_options = b'\202\323\344\223\002)\022\'/injective/oracle/v1beta1/band_relayers' + _globals['_QUERY'].methods_by_name['BandPriceStates']._loaded_options = None + _globals['_QUERY'].methods_by_name['BandPriceStates']._serialized_options = b'\202\323\344\223\002-\022+/injective/oracle/v1beta1/band_price_states' + _globals['_QUERY'].methods_by_name['BandIBCPriceStates']._loaded_options = None + _globals['_QUERY'].methods_by_name['BandIBCPriceStates']._serialized_options = b'\202\323\344\223\0021\022//injective/oracle/v1beta1/band_ibc_price_states' + _globals['_QUERY'].methods_by_name['PriceFeedPriceStates']._loaded_options = None + _globals['_QUERY'].methods_by_name['PriceFeedPriceStates']._serialized_options = b'\202\323\344\223\0022\0220/injective/oracle/v1beta1/pricefeed_price_states' + _globals['_QUERY'].methods_by_name['CoinbasePriceStates']._loaded_options = None + _globals['_QUERY'].methods_by_name['CoinbasePriceStates']._serialized_options = b'\202\323\344\223\0021\022//injective/oracle/v1beta1/coinbase_price_states' + _globals['_QUERY'].methods_by_name['PythPriceStates']._loaded_options = None + _globals['_QUERY'].methods_by_name['PythPriceStates']._serialized_options = b'\202\323\344\223\002-\022+/injective/oracle/v1beta1/pyth_price_states' + _globals['_QUERY'].methods_by_name['StorkPriceStates']._loaded_options = None + _globals['_QUERY'].methods_by_name['StorkPriceStates']._serialized_options = b'\202\323\344\223\002.\022,/injective/oracle/v1beta1/stork_price_states' + _globals['_QUERY'].methods_by_name['StorkPublishers']._loaded_options = None + _globals['_QUERY'].methods_by_name['StorkPublishers']._serialized_options = b'\202\323\344\223\002,\022*/injective/oracle/v1beta1/stork_publishers' + _globals['_QUERY'].methods_by_name['ProviderPriceState']._loaded_options = None + _globals['_QUERY'].methods_by_name['ProviderPriceState']._serialized_options = b'\202\323\344\223\002D\022B/injective/oracle/v1beta1/provider_price_state/{provider}/{symbol}' + _globals['_QUERY'].methods_by_name['OracleModuleState']._loaded_options = None + _globals['_QUERY'].methods_by_name['OracleModuleState']._serialized_options = b'\202\323\344\223\002(\022&/injective/oracle/v1beta1/module_state' + _globals['_QUERY'].methods_by_name['HistoricalPriceRecords']._loaded_options = None + _globals['_QUERY'].methods_by_name['HistoricalPriceRecords']._serialized_options = b'\202\323\344\223\0024\0222/injective/oracle/v1beta1/historical_price_records' + _globals['_QUERY'].methods_by_name['OracleVolatility']._loaded_options = None + _globals['_QUERY'].methods_by_name['OracleVolatility']._serialized_options = b'\202\323\344\223\002&\022$/injective/oracle/v1beta1/volatility' + _globals['_QUERY'].methods_by_name['OracleProvidersInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['OracleProvidersInfo']._serialized_options = b'\202\323\344\223\002%\022#/injective/oracle/v1beta1/providers' + _globals['_QUERY'].methods_by_name['OracleProviderPrices']._loaded_options = None + _globals['_QUERY'].methods_by_name['OracleProviderPrices']._serialized_options = b'\202\323\344\223\002+\022)/injective/oracle/v1beta1/provider_prices' + _globals['_QUERY'].methods_by_name['OraclePrice']._loaded_options = None + _globals['_QUERY'].methods_by_name['OraclePrice']._serialized_options = b'\202\323\344\223\002!\022\037/injective/oracle/v1beta1/price' + _globals['_QUERY'].methods_by_name['PythPrice']._loaded_options = None + _globals['_QUERY'].methods_by_name['PythPrice']._serialized_options = b'\202\323\344\223\002&\022$/injective/oracle/v1beta1/pyth_price' + _globals['_QUERYPYTHPRICEREQUEST']._serialized_start=197 + _globals['_QUERYPYTHPRICEREQUEST']._serialized_end=247 + _globals['_QUERYPYTHPRICERESPONSE']._serialized_start=249 + _globals['_QUERYPYTHPRICERESPONSE']._serialized_end=348 + _globals['_QUERYPARAMSREQUEST']._serialized_start=350 + _globals['_QUERYPARAMSREQUEST']._serialized_end=370 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=372 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=457 + _globals['_QUERYBANDRELAYERSREQUEST']._serialized_start=459 + _globals['_QUERYBANDRELAYERSREQUEST']._serialized_end=485 + _globals['_QUERYBANDRELAYERSRESPONSE']._serialized_start=487 + _globals['_QUERYBANDRELAYERSRESPONSE']._serialized_end=542 + _globals['_QUERYBANDPRICESTATESREQUEST']._serialized_start=544 + _globals['_QUERYBANDPRICESTATESREQUEST']._serialized_end=573 + _globals['_QUERYBANDPRICESTATESRESPONSE']._serialized_start=575 + _globals['_QUERYBANDPRICESTATESRESPONSE']._serialized_end=682 + _globals['_QUERYBANDIBCPRICESTATESREQUEST']._serialized_start=684 + _globals['_QUERYBANDIBCPRICESTATESREQUEST']._serialized_end=716 + _globals['_QUERYBANDIBCPRICESTATESRESPONSE']._serialized_start=718 + _globals['_QUERYBANDIBCPRICESTATESRESPONSE']._serialized_end=828 + _globals['_QUERYPRICEFEEDPRICESTATESREQUEST']._serialized_start=830 + _globals['_QUERYPRICEFEEDPRICESTATESREQUEST']._serialized_end=864 + _globals['_QUERYPRICEFEEDPRICESTATESRESPONSE']._serialized_start=866 + _globals['_QUERYPRICEFEEDPRICESTATESRESPONSE']._serialized_end=978 + _globals['_QUERYCOINBASEPRICESTATESREQUEST']._serialized_start=980 + _globals['_QUERYCOINBASEPRICESTATESREQUEST']._serialized_end=1013 + _globals['_QUERYCOINBASEPRICESTATESRESPONSE']._serialized_start=1015 + _globals['_QUERYCOINBASEPRICESTATESRESPONSE']._serialized_end=1130 + _globals['_QUERYPYTHPRICESTATESREQUEST']._serialized_start=1132 + _globals['_QUERYPYTHPRICESTATESREQUEST']._serialized_end=1161 + _globals['_QUERYPYTHPRICESTATESRESPONSE']._serialized_start=1163 + _globals['_QUERYPYTHPRICESTATESRESPONSE']._serialized_end=1270 + _globals['_QUERYSTORKPRICESTATESREQUEST']._serialized_start=1272 + _globals['_QUERYSTORKPRICESTATESREQUEST']._serialized_end=1302 + _globals['_QUERYSTORKPRICESTATESRESPONSE']._serialized_start=1304 + _globals['_QUERYSTORKPRICESTATESRESPONSE']._serialized_end=1413 + _globals['_QUERYSTORKPUBLISHERSREQUEST']._serialized_start=1415 + _globals['_QUERYSTORKPUBLISHERSREQUEST']._serialized_end=1444 + _globals['_QUERYSTORKPUBLISHERSRESPONSE']._serialized_start=1446 + _globals['_QUERYSTORKPUBLISHERSRESPONSE']._serialized_end=1508 + _globals['_QUERYPROVIDERPRICESTATEREQUEST']._serialized_start=1510 + _globals['_QUERYPROVIDERPRICESTATEREQUEST']._serialized_end=1594 + _globals['_QUERYPROVIDERPRICESTATERESPONSE']._serialized_start=1596 + _globals['_QUERYPROVIDERPRICESTATERESPONSE']._serialized_end=1700 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=1702 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=1727 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=1729 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=1817 + _globals['_QUERYHISTORICALPRICERECORDSREQUEST']._serialized_start=1819 + _globals['_QUERYHISTORICALPRICERECORDSREQUEST']._serialized_end=1946 + _globals['_QUERYHISTORICALPRICERECORDSRESPONSE']._serialized_start=1948 + _globals['_QUERYHISTORICALPRICERECORDSRESPONSE']._serialized_end=2062 + _globals['_ORACLEHISTORYOPTIONS']._serialized_start=2065 + _globals['_ORACLEHISTORYOPTIONS']._serialized_end=2203 + _globals['_QUERYORACLEVOLATILITYREQUEST']._serialized_start=2206 + _globals['_QUERYORACLEVOLATILITYREQUEST']._serialized_end=2474 + _globals['_QUERYORACLEVOLATILITYRESPONSE']._serialized_start=2477 + _globals['_QUERYORACLEVOLATILITYRESPONSE']._serialized_end=2734 + _globals['_QUERYORACLEPROVIDERSINFOREQUEST']._serialized_start=2736 + _globals['_QUERYORACLEPROVIDERSINFOREQUEST']._serialized_end=2769 + _globals['_QUERYORACLEPROVIDERSINFORESPONSE']._serialized_start=2771 + _globals['_QUERYORACLEPROVIDERSINFORESPONSE']._serialized_end=2875 + _globals['_QUERYORACLEPROVIDERPRICESREQUEST']._serialized_start=2877 + _globals['_QUERYORACLEPROVIDERPRICESREQUEST']._serialized_end=2939 + _globals['_QUERYORACLEPROVIDERPRICESRESPONSE']._serialized_start=2941 + _globals['_QUERYORACLEPROVIDERPRICESRESPONSE']._serialized_end=3055 + _globals['_SCALINGOPTIONS']._serialized_start=3057 + _globals['_SCALINGOPTIONS']._serialized_end=3149 + _globals['_QUERYORACLEPRICEREQUEST']._serialized_start=3152 + _globals['_QUERYORACLEPRICEREQUEST']._serialized_end=3379 + _globals['_PRICEPAIRSTATE']._serialized_start=3382 + _globals['_PRICEPAIRSTATE']._serialized_end=3864 + _globals['_QUERYORACLEPRICERESPONSE']._serialized_start=3866 + _globals['_QUERYORACLEPRICERESPONSE']._serialized_end=3976 + _globals['_QUERY']._serialized_start=3979 + _globals['_QUERY']._serialized_end=7128 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..a368d998 --- /dev/null +++ b/pyinjective/proto/injective/oracle/v1beta1/query_pb2_grpc.py @@ -0,0 +1,781 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.injective.oracle.v1beta1 import query_pb2 as injective_dot_oracle_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Params = channel.unary_unary( + '/injective.oracle.v1beta1.Query/Params', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + self.BandRelayers = channel.unary_unary( + '/injective.oracle.v1beta1.Query/BandRelayers', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersResponse.FromString, + _registered_method=True) + self.BandPriceStates = channel.unary_unary( + '/injective.oracle.v1beta1.Query/BandPriceStates', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesResponse.FromString, + _registered_method=True) + self.BandIBCPriceStates = channel.unary_unary( + '/injective.oracle.v1beta1.Query/BandIBCPriceStates', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesResponse.FromString, + _registered_method=True) + self.PriceFeedPriceStates = channel.unary_unary( + '/injective.oracle.v1beta1.Query/PriceFeedPriceStates', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesResponse.FromString, + _registered_method=True) + self.CoinbasePriceStates = channel.unary_unary( + '/injective.oracle.v1beta1.Query/CoinbasePriceStates', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesResponse.FromString, + _registered_method=True) + self.PythPriceStates = channel.unary_unary( + '/injective.oracle.v1beta1.Query/PythPriceStates', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesResponse.FromString, + _registered_method=True) + self.StorkPriceStates = channel.unary_unary( + '/injective.oracle.v1beta1.Query/StorkPriceStates', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesResponse.FromString, + _registered_method=True) + self.StorkPublishers = channel.unary_unary( + '/injective.oracle.v1beta1.Query/StorkPublishers', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersResponse.FromString, + _registered_method=True) + self.ProviderPriceState = channel.unary_unary( + '/injective.oracle.v1beta1.Query/ProviderPriceState', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateResponse.FromString, + _registered_method=True) + self.OracleModuleState = channel.unary_unary( + '/injective.oracle.v1beta1.Query/OracleModuleState', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, + _registered_method=True) + self.HistoricalPriceRecords = channel.unary_unary( + '/injective.oracle.v1beta1.Query/HistoricalPriceRecords', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsResponse.FromString, + _registered_method=True) + self.OracleVolatility = channel.unary_unary( + '/injective.oracle.v1beta1.Query/OracleVolatility', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityResponse.FromString, + _registered_method=True) + self.OracleProvidersInfo = channel.unary_unary( + '/injective.oracle.v1beta1.Query/OracleProvidersInfo', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoResponse.FromString, + _registered_method=True) + self.OracleProviderPrices = channel.unary_unary( + '/injective.oracle.v1beta1.Query/OracleProviderPrices', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesResponse.FromString, + _registered_method=True) + self.OraclePrice = channel.unary_unary( + '/injective.oracle.v1beta1.Query/OraclePrice', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceResponse.FromString, + _registered_method=True) + self.PythPrice = channel.unary_unary( + '/injective.oracle.v1beta1.Query/PythPrice', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def Params(self, request, context): + """Retrieves oracle params + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BandRelayers(self, request, context): + """Retrieves the band relayers + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BandPriceStates(self, request, context): + """Retrieves the state for all band price feeds + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BandIBCPriceStates(self, request, context): + """Retrieves the state for all band ibc price feeds + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PriceFeedPriceStates(self, request, context): + """Retrieves the state for all price feeds + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CoinbasePriceStates(self, request, context): + """Retrieves the state for all coinbase price feeds + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PythPriceStates(self, request, context): + """Retrieves the state for all pyth price feeds + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def StorkPriceStates(self, request, context): + """Retrieves the state for all stork price feeds + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def StorkPublishers(self, request, context): + """Retrieves all stork publishers + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ProviderPriceState(self, request, context): + """Retrieves the state for all provider price feeds + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def OracleModuleState(self, request, context): + """Retrieves the entire oracle module's state + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def HistoricalPriceRecords(self, request, context): + """Retrieves historical price records for a given OracleType and Symbol + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def OracleVolatility(self, request, context): + """Retrieves mixed volatility value for the specified pair of base/quote + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def OracleProvidersInfo(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def OracleProviderPrices(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def OraclePrice(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PythPrice(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'BandRelayers': grpc.unary_unary_rpc_method_handler( + servicer.BandRelayers, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersResponse.SerializeToString, + ), + 'BandPriceStates': grpc.unary_unary_rpc_method_handler( + servicer.BandPriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesResponse.SerializeToString, + ), + 'BandIBCPriceStates': grpc.unary_unary_rpc_method_handler( + servicer.BandIBCPriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesResponse.SerializeToString, + ), + 'PriceFeedPriceStates': grpc.unary_unary_rpc_method_handler( + servicer.PriceFeedPriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesResponse.SerializeToString, + ), + 'CoinbasePriceStates': grpc.unary_unary_rpc_method_handler( + servicer.CoinbasePriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesResponse.SerializeToString, + ), + 'PythPriceStates': grpc.unary_unary_rpc_method_handler( + servicer.PythPriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesResponse.SerializeToString, + ), + 'StorkPriceStates': grpc.unary_unary_rpc_method_handler( + servicer.StorkPriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesResponse.SerializeToString, + ), + 'StorkPublishers': grpc.unary_unary_rpc_method_handler( + servicer.StorkPublishers, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersResponse.SerializeToString, + ), + 'ProviderPriceState': grpc.unary_unary_rpc_method_handler( + servicer.ProviderPriceState, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateResponse.SerializeToString, + ), + 'OracleModuleState': grpc.unary_unary_rpc_method_handler( + servicer.OracleModuleState, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), + 'HistoricalPriceRecords': grpc.unary_unary_rpc_method_handler( + servicer.HistoricalPriceRecords, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsResponse.SerializeToString, + ), + 'OracleVolatility': grpc.unary_unary_rpc_method_handler( + servicer.OracleVolatility, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityResponse.SerializeToString, + ), + 'OracleProvidersInfo': grpc.unary_unary_rpc_method_handler( + servicer.OracleProvidersInfo, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoResponse.SerializeToString, + ), + 'OracleProviderPrices': grpc.unary_unary_rpc_method_handler( + servicer.OracleProviderPrices, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesResponse.SerializeToString, + ), + 'OraclePrice': grpc.unary_unary_rpc_method_handler( + servicer.OraclePrice, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceResponse.SerializeToString, + ), + 'PythPrice': grpc.unary_unary_rpc_method_handler( + servicer.PythPrice, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.oracle.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('injective.oracle.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/Params', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BandRelayers(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/BandRelayers', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BandPriceStates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/BandPriceStates', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BandIBCPriceStates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/BandIBCPriceStates', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PriceFeedPriceStates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/PriceFeedPriceStates', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CoinbasePriceStates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/CoinbasePriceStates', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PythPriceStates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/PythPriceStates', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def StorkPriceStates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/StorkPriceStates', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def StorkPublishers(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/StorkPublishers', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ProviderPriceState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/ProviderPriceState', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def OracleModuleState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/OracleModuleState', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def HistoricalPriceRecords(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/HistoricalPriceRecords', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def OracleVolatility(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/OracleVolatility', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def OracleProvidersInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/OracleProvidersInfo', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def OracleProviderPrices(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/OracleProviderPrices', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def OraclePrice(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/OraclePrice', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PythPrice(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Query/PythPrice', + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceRequest.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py new file mode 100644 index 00000000..cfc4efa0 --- /dev/null +++ b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py @@ -0,0 +1,90 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/oracle/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/oracle/v1beta1/tx.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xda\x01\n\x16MsgRelayProviderPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12\x18\n\x07symbols\x18\x03 \x03(\tR\x07symbols\x12;\n\x06prices\x18\x04 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06prices:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRelayProviderPrices\" \n\x1eMsgRelayProviderPricesResponse\"\xcc\x01\n\x16MsgRelayPriceFeedPrice\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x12\n\x04\x62\x61se\x18\x02 \x03(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x03(\tR\x05quote\x12\x39\n\x05price\x18\x04 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRelayPriceFeedPrice\" \n\x1eMsgRelayPriceFeedPriceResponse\"\xcd\x01\n\x11MsgRelayBandRates\x12\x18\n\x07relayer\x18\x01 \x01(\tR\x07relayer\x12\x18\n\x07symbols\x18\x02 \x03(\tR\x07symbols\x12\x14\n\x05rates\x18\x03 \x03(\x04R\x05rates\x12#\n\rresolve_times\x18\x04 \x03(\x04R\x0cresolveTimes\x12\x1e\n\nrequestIDs\x18\x05 \x03(\x04R\nrequestIDs:)\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x18oracle/MsgRelayBandRates\"\x1b\n\x19MsgRelayBandRatesResponse\"\xa7\x01\n\x18MsgRelayCoinbaseMessages\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08messages\x18\x02 \x03(\x0cR\x08messages\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures:7\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1foracle/MsgRelayCoinbaseMessages\"\"\n MsgRelayCoinbaseMessagesResponse\"\x88\x01\n\x13MsgRelayStorkPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x44\n\x0b\x61sset_pairs\x18\x02 \x03(\x0b\x32#.injective.oracle.v1beta1.AssetPairR\nassetPairs:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgRelayStorkPricesResponse\"\x86\x01\n\x16MsgRequestBandIBCRates\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1d\n\nrequest_id\x18\x02 \x01(\x04R\trequestId:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRequestBandIBCRates\" \n\x1eMsgRequestBandIBCRatesResponse\"\xba\x01\n\x12MsgRelayPythPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12Y\n\x12price_attestations\x18\x02 \x03(\x0b\x32*.injective.oracle.v1beta1.PriceAttestationR\x11priceAttestations:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19oracle/MsgRelayPythPrices\"\x1c\n\x1aMsgRelayPythPricesResponse\"\xb4\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:)\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x16oracle/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xf6\x07\n\x03Msg\x12\x81\x01\n\x13RelayProviderPrices\x12\x30.injective.oracle.v1beta1.MsgRelayProviderPrices\x1a\x38.injective.oracle.v1beta1.MsgRelayProviderPricesResponse\x12\x81\x01\n\x13RelayPriceFeedPrice\x12\x30.injective.oracle.v1beta1.MsgRelayPriceFeedPrice\x1a\x38.injective.oracle.v1beta1.MsgRelayPriceFeedPriceResponse\x12r\n\x0eRelayBandRates\x12+.injective.oracle.v1beta1.MsgRelayBandRates\x1a\x33.injective.oracle.v1beta1.MsgRelayBandRatesResponse\x12\x81\x01\n\x13RequestBandIBCRates\x12\x30.injective.oracle.v1beta1.MsgRequestBandIBCRates\x1a\x38.injective.oracle.v1beta1.MsgRequestBandIBCRatesResponse\x12\x87\x01\n\x15RelayCoinbaseMessages\x12\x32.injective.oracle.v1beta1.MsgRelayCoinbaseMessages\x1a:.injective.oracle.v1beta1.MsgRelayCoinbaseMessagesResponse\x12y\n\x11RelayStorkMessage\x12-.injective.oracle.v1beta1.MsgRelayStorkPrices\x1a\x35.injective.oracle.v1beta1.MsgRelayStorkPricesResponse\x12u\n\x0fRelayPythPrices\x12,.injective.oracle.v1beta1.MsgRelayPythPrices\x1a\x34.injective.oracle.v1beta1.MsgRelayPythPricesResponse\x12l\n\x0cUpdateParams\x12).injective.oracle.v1beta1.MsgUpdateParams\x1a\x31.injective.oracle.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xf7\x01\n\x1c\x63om.injective.oracle.v1beta1B\x07TxProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\007TxProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1' + _globals['_MSGRELAYPROVIDERPRICES'].fields_by_name['prices']._loaded_options = None + _globals['_MSGRELAYPROVIDERPRICES'].fields_by_name['prices']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGRELAYPROVIDERPRICES']._loaded_options = None + _globals['_MSGRELAYPROVIDERPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRelayProviderPrices' + _globals['_MSGRELAYPRICEFEEDPRICE'].fields_by_name['price']._loaded_options = None + _globals['_MSGRELAYPRICEFEEDPRICE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGRELAYPRICEFEEDPRICE']._loaded_options = None + _globals['_MSGRELAYPRICEFEEDPRICE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRelayPriceFeedPrice' + _globals['_MSGRELAYBANDRATES']._loaded_options = None + _globals['_MSGRELAYBANDRATES']._serialized_options = b'\202\347\260*\007relayer\212\347\260*\030oracle/MsgRelayBandRates' + _globals['_MSGRELAYCOINBASEMESSAGES']._loaded_options = None + _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\037oracle/MsgRelayCoinbaseMessages' + _globals['_MSGRELAYSTORKPRICES']._loaded_options = None + _globals['_MSGRELAYSTORKPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' + _globals['_MSGREQUESTBANDIBCRATES']._loaded_options = None + _globals['_MSGREQUESTBANDIBCRATES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRequestBandIBCRates' + _globals['_MSGRELAYPYTHPRICES']._loaded_options = None + _globals['_MSGRELAYPYTHPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\031oracle/MsgRelayPythPrices' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\026oracle/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGRELAYPROVIDERPRICES']._serialized_start=196 + _globals['_MSGRELAYPROVIDERPRICES']._serialized_end=414 + _globals['_MSGRELAYPROVIDERPRICESRESPONSE']._serialized_start=416 + _globals['_MSGRELAYPROVIDERPRICESRESPONSE']._serialized_end=448 + _globals['_MSGRELAYPRICEFEEDPRICE']._serialized_start=451 + _globals['_MSGRELAYPRICEFEEDPRICE']._serialized_end=655 + _globals['_MSGRELAYPRICEFEEDPRICERESPONSE']._serialized_start=657 + _globals['_MSGRELAYPRICEFEEDPRICERESPONSE']._serialized_end=689 + _globals['_MSGRELAYBANDRATES']._serialized_start=692 + _globals['_MSGRELAYBANDRATES']._serialized_end=897 + _globals['_MSGRELAYBANDRATESRESPONSE']._serialized_start=899 + _globals['_MSGRELAYBANDRATESRESPONSE']._serialized_end=926 + _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_start=929 + _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_end=1096 + _globals['_MSGRELAYCOINBASEMESSAGESRESPONSE']._serialized_start=1098 + _globals['_MSGRELAYCOINBASEMESSAGESRESPONSE']._serialized_end=1132 + _globals['_MSGRELAYSTORKPRICES']._serialized_start=1135 + _globals['_MSGRELAYSTORKPRICES']._serialized_end=1271 + _globals['_MSGRELAYSTORKPRICESRESPONSE']._serialized_start=1273 + _globals['_MSGRELAYSTORKPRICESRESPONSE']._serialized_end=1302 + _globals['_MSGREQUESTBANDIBCRATES']._serialized_start=1305 + _globals['_MSGREQUESTBANDIBCRATES']._serialized_end=1439 + _globals['_MSGREQUESTBANDIBCRATESRESPONSE']._serialized_start=1441 + _globals['_MSGREQUESTBANDIBCRATESRESPONSE']._serialized_end=1473 + _globals['_MSGRELAYPYTHPRICES']._serialized_start=1476 + _globals['_MSGRELAYPYTHPRICES']._serialized_end=1662 + _globals['_MSGRELAYPYTHPRICESRESPONSE']._serialized_start=1664 + _globals['_MSGRELAYPYTHPRICESRESPONSE']._serialized_end=1692 + _globals['_MSGUPDATEPARAMS']._serialized_start=1695 + _globals['_MSGUPDATEPARAMS']._serialized_end=1875 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1877 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1902 + _globals['_MSG']._serialized_start=1905 + _globals['_MSG']._serialized_end=2919 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..7c505717 --- /dev/null +++ b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,393 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.injective.oracle.v1beta1 import tx_pb2 as injective_dot_oracle_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the oracle Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.RelayProviderPrices = channel.unary_unary( + '/injective.oracle.v1beta1.Msg/RelayProviderPrices', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPrices.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPricesResponse.FromString, + _registered_method=True) + self.RelayPriceFeedPrice = channel.unary_unary( + '/injective.oracle.v1beta1.Msg/RelayPriceFeedPrice', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPrice.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPriceResponse.FromString, + _registered_method=True) + self.RelayBandRates = channel.unary_unary( + '/injective.oracle.v1beta1.Msg/RelayBandRates', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRates.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRatesResponse.FromString, + _registered_method=True) + self.RequestBandIBCRates = channel.unary_unary( + '/injective.oracle.v1beta1.Msg/RequestBandIBCRates', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRates.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRatesResponse.FromString, + _registered_method=True) + self.RelayCoinbaseMessages = channel.unary_unary( + '/injective.oracle.v1beta1.Msg/RelayCoinbaseMessages', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessages.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessagesResponse.FromString, + _registered_method=True) + self.RelayStorkMessage = channel.unary_unary( + '/injective.oracle.v1beta1.Msg/RelayStorkMessage', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPrices.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPricesResponse.FromString, + _registered_method=True) + self.RelayPythPrices = channel.unary_unary( + '/injective.oracle.v1beta1.Msg/RelayPythPrices', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPrices.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPricesResponse.FromString, + _registered_method=True) + self.UpdateParams = channel.unary_unary( + '/injective.oracle.v1beta1.Msg/UpdateParams', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the oracle Msg service. + """ + + def RelayProviderPrices(self, request, context): + """RelayProviderPrice defines a method for relaying a price for a + provider-based oracle + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RelayPriceFeedPrice(self, request, context): + """RelayPriceFeedPrice defines a method for relaying a price for a price + feeder-based oracle + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RelayBandRates(self, request, context): + """RelayBandRates defines a method for relaying rates from Band + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RequestBandIBCRates(self, request, context): + """RequestBandIBCRates defines a method for fetching rates from Band ibc + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RelayCoinbaseMessages(self, request, context): + """RelayCoinbaseMessages defines a method for relaying price messages from + Coinbase API + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RelayStorkMessage(self, request, context): + """RelayStorkMessage defines a method for relaying price message from + Stork API + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RelayPythPrices(self, request, context): + """RelayPythPrices defines a method for relaying rates from the Pyth contract + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """UpdateParams enables updating oracle module's params via governance + """ + 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 = { + 'RelayProviderPrices': grpc.unary_unary_rpc_method_handler( + servicer.RelayProviderPrices, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPrices.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPricesResponse.SerializeToString, + ), + 'RelayPriceFeedPrice': grpc.unary_unary_rpc_method_handler( + servicer.RelayPriceFeedPrice, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPrice.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPriceResponse.SerializeToString, + ), + 'RelayBandRates': grpc.unary_unary_rpc_method_handler( + servicer.RelayBandRates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRates.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRatesResponse.SerializeToString, + ), + 'RequestBandIBCRates': grpc.unary_unary_rpc_method_handler( + servicer.RequestBandIBCRates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRates.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRatesResponse.SerializeToString, + ), + 'RelayCoinbaseMessages': grpc.unary_unary_rpc_method_handler( + servicer.RelayCoinbaseMessages, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessages.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessagesResponse.SerializeToString, + ), + 'RelayStorkMessage': grpc.unary_unary_rpc_method_handler( + servicer.RelayStorkMessage, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPrices.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPricesResponse.SerializeToString, + ), + 'RelayPythPrices': grpc.unary_unary_rpc_method_handler( + servicer.RelayPythPrices, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPrices.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPricesResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.oracle.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('injective.oracle.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the oracle Msg service. + """ + + @staticmethod + def RelayProviderPrices(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Msg/RelayProviderPrices', + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPrices.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPricesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RelayPriceFeedPrice(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Msg/RelayPriceFeedPrice', + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPrice.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPriceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RelayBandRates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Msg/RelayBandRates', + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRates.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRatesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RequestBandIBCRates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Msg/RequestBandIBCRates', + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRates.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRatesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RelayCoinbaseMessages(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Msg/RelayCoinbaseMessages', + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessages.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessagesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RelayStorkMessage(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Msg/RelayStorkMessage', + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPrices.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPricesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RelayPythPrices(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Msg/RelayPythPrices', + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPrices.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPricesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Msg/UpdateParams', + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/injective/peggy/v1/attestation_pb2.py b/pyinjective/proto/injective/peggy/v1/attestation_pb2.py new file mode 100644 index 00000000..7eb9cb25 --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/attestation_pb2.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/peggy/v1/attestation.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.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$injective/peggy/v1/attestation.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\x83\x01\n\x0b\x41ttestation\x12\x1a\n\x08observed\x18\x01 \x01(\x08R\x08observed\x12\x14\n\x05votes\x18\x02 \x03(\tR\x05votes\x12\x16\n\x06height\x18\x03 \x01(\x04R\x06height\x12*\n\x05\x63laim\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x05\x63laim\"_\n\nERC20Token\x12\x1a\n\x08\x63ontract\x18\x01 \x01(\tR\x08\x63ontract\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount*\x9f\x02\n\tClaimType\x12.\n\x12\x43LAIM_TYPE_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x43LAIM_TYPE_UNKNOWN\x12.\n\x12\x43LAIM_TYPE_DEPOSIT\x10\x01\x1a\x16\x8a\x9d \x12\x43LAIM_TYPE_DEPOSIT\x12\x30\n\x13\x43LAIM_TYPE_WITHDRAW\x10\x02\x1a\x17\x8a\x9d \x13\x43LAIM_TYPE_WITHDRAW\x12<\n\x19\x43LAIM_TYPE_ERC20_DEPLOYED\x10\x03\x1a\x1d\x8a\x9d \x19\x43LAIM_TYPE_ERC20_DEPLOYED\x12<\n\x19\x43LAIM_TYPE_VALSET_UPDATED\x10\x04\x1a\x1d\x8a\x9d \x19\x43LAIM_TYPE_VALSET_UPDATED\x1a\x04\x88\xa3\x1e\x00\x42\xe1\x01\n\x16\x63om.injective.peggy.v1B\x10\x41ttestationProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.attestation_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\020AttestationProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_CLAIMTYPE']._loaded_options = None + _globals['_CLAIMTYPE']._serialized_options = b'\210\243\036\000' + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_UNKNOWN"]._loaded_options = None + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_UNKNOWN"]._serialized_options = b'\212\235 \022CLAIM_TYPE_UNKNOWN' + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_DEPOSIT"]._loaded_options = None + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_DEPOSIT"]._serialized_options = b'\212\235 \022CLAIM_TYPE_DEPOSIT' + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_WITHDRAW"]._loaded_options = None + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_WITHDRAW"]._serialized_options = b'\212\235 \023CLAIM_TYPE_WITHDRAW' + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_ERC20_DEPLOYED"]._loaded_options = None + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_ERC20_DEPLOYED"]._serialized_options = b'\212\235 \031CLAIM_TYPE_ERC20_DEPLOYED' + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_VALSET_UPDATED"]._loaded_options = None + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_VALSET_UPDATED"]._serialized_options = b'\212\235 \031CLAIM_TYPE_VALSET_UPDATED' + _globals['_ERC20TOKEN'].fields_by_name['amount']._loaded_options = None + _globals['_ERC20TOKEN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_CLAIMTYPE']._serialized_start=341 + _globals['_CLAIMTYPE']._serialized_end=628 + _globals['_ATTESTATION']._serialized_start=110 + _globals['_ATTESTATION']._serialized_end=241 + _globals['_ERC20TOKEN']._serialized_start=243 + _globals['_ERC20TOKEN']._serialized_end=338 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/attestation_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/attestation_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/attestation_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/peggy/v1/batch_pb2.py b/pyinjective/proto/injective/peggy/v1/batch_pb2.py new file mode 100644 index 00000000..de226d8d --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/batch_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/peggy/v1/batch.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.injective.peggy.v1 import attestation_pb2 as injective_dot_peggy_dot_v1_dot_attestation__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/peggy/v1/batch.proto\x12\x12injective.peggy.v1\x1a$injective/peggy/v1/attestation.proto\"\xe0\x01\n\x0fOutgoingTxBatch\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x01 \x01(\x04R\nbatchNonce\x12#\n\rbatch_timeout\x18\x02 \x01(\x04R\x0c\x62\x61tchTimeout\x12J\n\x0ctransactions\x18\x03 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x0ctransactions\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12\x14\n\x05\x62lock\x18\x05 \x01(\x04R\x05\x62lock\"\xdd\x01\n\x12OutgoingTransferTx\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender\x12!\n\x0c\x64\x65st_address\x18\x03 \x01(\tR\x0b\x64\x65stAddress\x12?\n\x0b\x65rc20_token\x18\x04 \x01(\x0b\x32\x1e.injective.peggy.v1.ERC20TokenR\nerc20Token\x12;\n\terc20_fee\x18\x05 \x01(\x0b\x32\x1e.injective.peggy.v1.ERC20TokenR\x08\x65rc20FeeB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nBatchProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.batch_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\nBatchProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_OUTGOINGTXBATCH']._serialized_start=93 + _globals['_OUTGOINGTXBATCH']._serialized_end=317 + _globals['_OUTGOINGTRANSFERTX']._serialized_start=320 + _globals['_OUTGOINGTRANSFERTX']._serialized_end=541 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/batch_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/batch_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/batch_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py new file mode 100644 index 00000000..471b8812 --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/peggy/v1/ethereum_signer.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(injective/peggy/v1/ethereum_signer.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto*\x91\x01\n\x08SignType\x12\x15\n\x11SIGN_TYPE_UNKNOWN\x10\x00\x12\x32\n.SIGN_TYPE_ORCHESTRATOR_SIGNED_MULTI_SIG_UPDATE\x10\x01\x12\x30\n,SIGN_TYPE_ORCHESTRATOR_SIGNED_WITHDRAW_BATCH\x10\x02\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00\x42\xe4\x01\n\x16\x63om.injective.peggy.v1B\x13\x45thereumSignerProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.ethereum_signer_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\023EthereumSignerProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_SIGNTYPE']._loaded_options = None + _globals['_SIGNTYPE']._serialized_options = b'\210\243\036\000\250\244\036\000' + _globals['_SIGNTYPE']._serialized_start=87 + _globals['_SIGNTYPE']._serialized_end=232 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/peggy/v1/events_pb2.py b/pyinjective/proto/injective/peggy/v1/events_pb2.py new file mode 100644 index 00000000..921a69ac --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/events_pb2.py @@ -0,0 +1,72 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/peggy/v1/events.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.injective.peggy.v1 import attestation_pb2 as injective_dot_peggy_dot_v1_dot_attestation__pb2 +from pyinjective.proto.injective.peggy.v1 import types_pb2 as injective_dot_peggy_dot_v1_dot_types__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/peggy/v1/events.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a$injective/peggy/v1/attestation.proto\x1a\x1einjective/peggy/v1/types.proto\"\xf2\x01\n\x18\x45ventAttestationObserved\x12H\n\x10\x61ttestation_type\x18\x01 \x01(\x0e\x32\x1d.injective.peggy.v1.ClaimTypeR\x0f\x61ttestationType\x12\'\n\x0f\x62ridge_contract\x18\x02 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x03 \x01(\x04R\rbridgeChainId\x12%\n\x0e\x61ttestation_id\x18\x04 \x01(\x0cR\rattestationId\x12\x14\n\x05nonce\x18\x05 \x01(\x04R\x05nonce\"n\n\x1b\x45ventBridgeWithdrawCanceled\x12\'\n\x0f\x62ridge_contract\x18\x01 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x02 \x01(\x04R\rbridgeChainId\"\xc5\x01\n\x12\x45ventOutgoingBatch\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04R\nbatchNonce\x12#\n\rbatch_timeout\x18\x04 \x01(\x04R\x0c\x62\x61tchTimeout\x12 \n\x0c\x62\x61tch_tx_ids\x18\x05 \x03(\x04R\nbatchTxIds\"\x9e\x01\n\x1a\x45ventOutgoingBatchCanceled\x12\'\n\x0f\x62ridge_contract\x18\x01 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x02 \x01(\x04R\rbridgeChainId\x12\x19\n\x08\x62\x61tch_id\x18\x03 \x01(\x04R\x07\x62\x61tchId\x12\x14\n\x05nonce\x18\x04 \x01(\x04R\x05nonce\"\x95\x02\n\x18\x45ventValsetUpdateRequest\x12!\n\x0cvalset_nonce\x18\x01 \x01(\x04R\x0bvalsetNonce\x12#\n\rvalset_height\x18\x02 \x01(\x04R\x0cvalsetHeight\x12J\n\x0evalset_members\x18\x03 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\rvalsetMembers\x12\x42\n\rreward_amount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x05 \x01(\tR\x0brewardToken\"\xb1\x01\n\x1d\x45ventSetOrchestratorAddresses\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\x12\x30\n\x14operator_eth_address\x18\x03 \x01(\tR\x12operatorEthAddress\"j\n\x12\x45ventValsetConfirm\x12!\n\x0cvalset_nonce\x18\x01 \x01(\x04R\x0bvalsetNonce\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\"\x83\x02\n\x0e\x45ventSendToEth\x12$\n\x0eoutgoing_tx_id\x18\x01 \x01(\x04R\x0coutgoingTxId\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x03 \x01(\tR\x08receiver\x12G\n\x06\x61mount\x18\x04 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\x06\x61mount\x12N\n\nbridge_fee\x18\x05 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\tbridgeFee\"g\n\x11\x45ventConfirmBatch\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x01 \x01(\x04R\nbatchNonce\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\"t\n\x14\x45ventAttestationVote\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12%\n\x0e\x61ttestation_id\x18\x02 \x01(\x0cR\rattestationId\x12\x14\n\x05voter\x18\x03 \x01(\tR\x05voter\"\xf5\x02\n\x11\x45ventDepositClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12\'\n\x0f\x65thereum_sender\x18\x04 \x01(\tR\x0e\x65thereumSender\x12\'\n\x0f\x63osmos_receiver\x18\x05 \x01(\tR\x0e\x63osmosReceiver\x12%\n\x0etoken_contract\x18\x06 \x01(\tR\rtokenContract\x12\x35\n\x06\x61mount\x18\x07 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\x12\x31\n\x14orchestrator_address\x18\x08 \x01(\tR\x13orchestratorAddress\x12\x12\n\x04\x64\x61ta\x18\t \x01(\tR\x04\x64\x61ta\"\xfa\x01\n\x12\x45ventWithdrawClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x04 \x01(\x04R\nbatchNonce\x12%\n\x0etoken_contract\x18\x05 \x01(\tR\rtokenContract\x12\x31\n\x14orchestrator_address\x18\x06 \x01(\tR\x13orchestratorAddress\"\xc9\x02\n\x17\x45ventERC20DeployedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12!\n\x0c\x63osmos_denom\x18\x04 \x01(\tR\x0b\x63osmosDenom\x12%\n\x0etoken_contract\x18\x05 \x01(\tR\rtokenContract\x12\x12\n\x04name\x18\x06 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x07 \x01(\tR\x06symbol\x12\x1a\n\x08\x64\x65\x63imals\x18\x08 \x01(\x04R\x08\x64\x65\x63imals\x12\x31\n\x14orchestrator_address\x18\t \x01(\tR\x13orchestratorAddress\"\x8c\x03\n\x16\x45ventValsetUpdateClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12!\n\x0cvalset_nonce\x18\x04 \x01(\x04R\x0bvalsetNonce\x12J\n\x0evalset_members\x18\x05 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\rvalsetMembers\x12\x42\n\rreward_amount\x18\x06 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x07 \x01(\tR\x0brewardToken\x12\x31\n\x14orchestrator_address\x18\x08 \x01(\tR\x13orchestratorAddress\"<\n\x14\x45ventCancelSendToEth\x12$\n\x0eoutgoing_tx_id\x18\x01 \x01(\x04R\x0coutgoingTxId\"\x88\x01\n\x1f\x45ventSubmitBadSignatureEvidence\x12*\n\x11\x62\x61\x64_eth_signature\x18\x01 \x01(\tR\x0f\x62\x61\x64\x45thSignature\x12\x39\n\x19\x62\x61\x64_eth_signature_subject\x18\x02 \x01(\tR\x16\x62\x61\x64\x45thSignatureSubject\"\xb5\x01\n\x13\x45ventValidatorSlash\x12\x14\n\x05power\x18\x01 \x01(\x03R\x05power\x12\x16\n\x06reason\x18\x02 \x01(\tR\x06reason\x12+\n\x11\x63onsensus_address\x18\x03 \x01(\tR\x10\x63onsensusAddress\x12)\n\x10operator_address\x18\x04 \x01(\tR\x0foperatorAddress\x12\x18\n\x07moniker\x18\x05 \x01(\tR\x07monikerB\xdc\x01\n\x16\x63om.injective.peggy.v1B\x0b\x45ventsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.events_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\013EventsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_EVENTVALSETUPDATEREQUEST'].fields_by_name['reward_amount']._loaded_options = None + _globals['_EVENTVALSETUPDATEREQUEST'].fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_EVENTSENDTOETH'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTSENDTOETH'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin' + _globals['_EVENTSENDTOETH'].fields_by_name['bridge_fee']._loaded_options = None + _globals['_EVENTSENDTOETH'].fields_by_name['bridge_fee']._serialized_options = b'\310\336\037\000\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin' + _globals['_EVENTDEPOSITCLAIM'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTDEPOSITCLAIM'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_EVENTVALSETUPDATECLAIM'].fields_by_name['reward_amount']._loaded_options = None + _globals['_EVENTVALSETUPDATECLAIM'].fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_EVENTATTESTATIONOBSERVED']._serialized_start=148 + _globals['_EVENTATTESTATIONOBSERVED']._serialized_end=390 + _globals['_EVENTBRIDGEWITHDRAWCANCELED']._serialized_start=392 + _globals['_EVENTBRIDGEWITHDRAWCANCELED']._serialized_end=502 + _globals['_EVENTOUTGOINGBATCH']._serialized_start=505 + _globals['_EVENTOUTGOINGBATCH']._serialized_end=702 + _globals['_EVENTOUTGOINGBATCHCANCELED']._serialized_start=705 + _globals['_EVENTOUTGOINGBATCHCANCELED']._serialized_end=863 + _globals['_EVENTVALSETUPDATEREQUEST']._serialized_start=866 + _globals['_EVENTVALSETUPDATEREQUEST']._serialized_end=1143 + _globals['_EVENTSETORCHESTRATORADDRESSES']._serialized_start=1146 + _globals['_EVENTSETORCHESTRATORADDRESSES']._serialized_end=1323 + _globals['_EVENTVALSETCONFIRM']._serialized_start=1325 + _globals['_EVENTVALSETCONFIRM']._serialized_end=1431 + _globals['_EVENTSENDTOETH']._serialized_start=1434 + _globals['_EVENTSENDTOETH']._serialized_end=1693 + _globals['_EVENTCONFIRMBATCH']._serialized_start=1695 + _globals['_EVENTCONFIRMBATCH']._serialized_end=1798 + _globals['_EVENTATTESTATIONVOTE']._serialized_start=1800 + _globals['_EVENTATTESTATIONVOTE']._serialized_end=1916 + _globals['_EVENTDEPOSITCLAIM']._serialized_start=1919 + _globals['_EVENTDEPOSITCLAIM']._serialized_end=2292 + _globals['_EVENTWITHDRAWCLAIM']._serialized_start=2295 + _globals['_EVENTWITHDRAWCLAIM']._serialized_end=2545 + _globals['_EVENTERC20DEPLOYEDCLAIM']._serialized_start=2548 + _globals['_EVENTERC20DEPLOYEDCLAIM']._serialized_end=2877 + _globals['_EVENTVALSETUPDATECLAIM']._serialized_start=2880 + _globals['_EVENTVALSETUPDATECLAIM']._serialized_end=3276 + _globals['_EVENTCANCELSENDTOETH']._serialized_start=3278 + _globals['_EVENTCANCELSENDTOETH']._serialized_end=3338 + _globals['_EVENTSUBMITBADSIGNATUREEVIDENCE']._serialized_start=3341 + _globals['_EVENTSUBMITBADSIGNATUREEVIDENCE']._serialized_end=3477 + _globals['_EVENTVALIDATORSLASH']._serialized_start=3480 + _globals['_EVENTVALIDATORSLASH']._serialized_end=3661 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/events_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/events_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/events_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/peggy/v1/genesis_pb2.py b/pyinjective/proto/injective/peggy/v1/genesis_pb2.py new file mode 100644 index 00000000..4d9e4d60 --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/genesis_pb2.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/peggy/v1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.injective.peggy.v1 import types_pb2 as injective_dot_peggy_dot_v1_dot_types__pb2 +from pyinjective.proto.injective.peggy.v1 import msgs_pb2 as injective_dot_peggy_dot_v1_dot_msgs__pb2 +from pyinjective.proto.injective.peggy.v1 import batch_pb2 as injective_dot_peggy_dot_v1_dot_batch__pb2 +from pyinjective.proto.injective.peggy.v1 import attestation_pb2 as injective_dot_peggy_dot_v1_dot_attestation__pb2 +from pyinjective.proto.injective.peggy.v1 import params_pb2 as injective_dot_peggy_dot_v1_dot_params__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n injective/peggy/v1/genesis.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1dinjective/peggy/v1/msgs.proto\x1a\x1einjective/peggy/v1/batch.proto\x1a$injective/peggy/v1/attestation.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x80\x08\n\x0cGenesisState\x12\x32\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsR\x06params\x12.\n\x13last_observed_nonce\x18\x02 \x01(\x04R\x11lastObservedNonce\x12\x34\n\x07valsets\x18\x03 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets\x12M\n\x0fvalset_confirms\x18\x04 \x03(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x0evalsetConfirms\x12=\n\x07\x62\x61tches\x18\x05 \x03(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x07\x62\x61tches\x12J\n\x0e\x62\x61tch_confirms\x18\x06 \x03(\x0b\x32#.injective.peggy.v1.MsgConfirmBatchR\rbatchConfirms\x12\x43\n\x0c\x61ttestations\x18\x07 \x03(\x0b\x32\x1f.injective.peggy.v1.AttestationR\x0c\x61ttestations\x12\x66\n\x16orchestrator_addresses\x18\x08 \x03(\x0b\x32/.injective.peggy.v1.MsgSetOrchestratorAddressesR\x15orchestratorAddresses\x12H\n\x0f\x65rc20_to_denoms\x18\t \x03(\x0b\x32 .injective.peggy.v1.ERC20ToDenomR\rerc20ToDenoms\x12W\n\x13unbatched_transfers\x18\n \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12unbatchedTransfers\x12\x41\n\x1dlast_observed_ethereum_height\x18\x0b \x01(\x04R\x1alastObservedEthereumHeight\x12\x33\n\x16last_outgoing_batch_id\x18\x0c \x01(\x04R\x13lastOutgoingBatchId\x12\x31\n\x15last_outgoing_pool_id\x18\r \x01(\x04R\x12lastOutgoingPoolId\x12R\n\x14last_observed_valset\x18\x0e \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetB\x04\xc8\xde\x1f\x00R\x12lastObservedValset\x12-\n\x12\x65thereum_blacklist\x18\x0f \x03(\tR\x11\x65thereumBlacklistB\xdd\x01\n\x16\x63om.injective.peggy.v1B\x0cGenesisProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\014GenesisProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_GENESISSTATE'].fields_by_name['last_observed_valset']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['last_observed_valset']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=277 + _globals['_GENESISSTATE']._serialized_end=1301 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/genesis_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/genesis_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/peggy/v1/msgs_pb2.py b/pyinjective/proto/injective/peggy/v1/msgs_pb2.py new file mode 100644 index 00000000..098d38cb --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/msgs_pb2.py @@ -0,0 +1,156 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/peggy/v1/msgs.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.injective.peggy.v1 import types_pb2 as injective_dot_peggy_dot_v1_dot_types__pb2 +from pyinjective.proto.injective.peggy.v1 import params_pb2 as injective_dot_peggy_dot_v1_dot_params__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dinjective/peggy/v1/msgs.proto\x12\x12injective.peggy.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xad\x01\n\x1bMsgSetOrchestratorAddresses\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\"\n\x0corchestrator\x18\x02 \x01(\tR\x0corchestrator\x12\x1f\n\x0b\x65th_address\x18\x03 \x01(\tR\nethAddress:1\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!peggy/MsgSetOrchestratorAddresses\"%\n#MsgSetOrchestratorAddressesResponse\"\xb9\x01\n\x10MsgValsetConfirm\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12\"\n\x0corchestrator\x18\x02 \x01(\tR\x0corchestrator\x12\x1f\n\x0b\x65th_address\x18\x03 \x01(\tR\nethAddress\x12\x1c\n\tsignature\x18\x04 \x01(\tR\tsignature:,\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x16peggy/MsgValsetConfirm\"\x1a\n\x18MsgValsetConfirmResponse\"\xde\x01\n\x0cMsgSendToEth\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x19\n\x08\x65th_dest\x18\x02 \x01(\tR\x07\x65thDest\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\x12>\n\nbridge_fee\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\tbridgeFee:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12peggy/MsgSendToEth\"\x16\n\x14MsgSendToEthResponse\"x\n\x0fMsgRequestBatch\x12\"\n\x0corchestrator\x18\x01 \x01(\tR\x0corchestrator\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgRequestBatch\"\x19\n\x17MsgRequestBatchResponse\"\xdc\x01\n\x0fMsgConfirmBatch\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12%\n\x0etoken_contract\x18\x02 \x01(\tR\rtokenContract\x12\x1d\n\neth_signer\x18\x03 \x01(\tR\tethSigner\x12\"\n\x0corchestrator\x18\x04 \x01(\tR\x0corchestrator\x12\x1c\n\tsignature\x18\x05 \x01(\tR\tsignature:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgConfirmBatch\"\x19\n\x17MsgConfirmBatchResponse\"\xea\x02\n\x0fMsgDepositClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12%\n\x0etoken_contract\x18\x03 \x01(\tR\rtokenContract\x12\x35\n\x06\x61mount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\x12\'\n\x0f\x65thereum_sender\x18\x05 \x01(\tR\x0e\x65thereumSender\x12\'\n\x0f\x63osmos_receiver\x18\x06 \x01(\tR\x0e\x63osmosReceiver\x12\"\n\x0corchestrator\x18\x07 \x01(\tR\x0corchestrator\x12\x12\n\x04\x64\x61ta\x18\x08 \x01(\tR\x04\x64\x61ta:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgDepositClaim\"\x19\n\x17MsgDepositClaimResponse\"\xf0\x01\n\x10MsgWithdrawClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04R\nbatchNonce\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12\"\n\x0corchestrator\x18\x05 \x01(\tR\x0corchestrator:,\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x16peggy/MsgWithdrawClaim\"\x1a\n\x18MsgWithdrawClaimResponse\"\xc4\x02\n\x15MsgERC20DeployedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12!\n\x0c\x63osmos_denom\x18\x03 \x01(\tR\x0b\x63osmosDenom\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x06 \x01(\tR\x06symbol\x12\x1a\n\x08\x64\x65\x63imals\x18\x07 \x01(\x04R\x08\x64\x65\x63imals\x12\"\n\x0corchestrator\x18\x08 \x01(\tR\x0corchestrator:1\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x1bpeggy/MsgERC20DeployedClaim\"\x1f\n\x1dMsgERC20DeployedClaimResponse\"}\n\x12MsgCancelSendToEth\x12%\n\x0etransaction_id\x18\x01 \x01(\x04R\rtransactionId\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender:(\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x18peggy/MsgCancelSendToEth\"\x1c\n\x1aMsgCancelSendToEthResponse\"\xba\x01\n\x1dMsgSubmitBadSignatureEvidence\x12.\n\x07subject\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x07subject\x12\x1c\n\tsignature\x18\x02 \x01(\tR\tsignature\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#peggy/MsgSubmitBadSignatureEvidence\"\'\n%MsgSubmitBadSignatureEvidenceResponse\"\xfb\x02\n\x15MsgValsetUpdatedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0cvalset_nonce\x18\x02 \x01(\x04R\x0bvalsetNonce\x12!\n\x0c\x62lock_height\x18\x03 \x01(\x04R\x0b\x62lockHeight\x12=\n\x07members\x18\x04 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\x07members\x12\x42\n\rreward_amount\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x06 \x01(\tR\x0brewardToken\x12\"\n\x0corchestrator\x18\x07 \x01(\tR\x0corchestrator:1\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x1bpeggy/MsgValsetUpdatedClaim\"\x1f\n\x1dMsgValsetUpdatedClaimResponse\"\xad\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:(\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x15peggy/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\x9d\x01\n\x1dMsgBlacklistEthereumAddresses\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12/\n\x13\x62lacklist_addresses\x18\x02 \x03(\tR\x12\x62lacklistAddresses:3\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*#peggy/MsgBlacklistEthereumAddresses\"\'\n%MsgBlacklistEthereumAddressesResponse\"\x97\x01\n\x1aMsgRevokeEthereumBlacklist\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12/\n\x13\x62lacklist_addresses\x18\x02 \x03(\tR\x12\x62lacklistAddresses:0\x82\xe7\xb0*\x06signer\x8a\xe7\xb0* peggy/MsgRevokeEthereumBlacklist\"$\n\"MsgRevokeEthereumBlacklistResponse2\xbe\x10\n\x03Msg\x12\x8f\x01\n\rValsetConfirm\x12$.injective.peggy.v1.MsgValsetConfirm\x1a,.injective.peggy.v1.MsgValsetConfirmResponse\"*\x82\xd3\xe4\x93\x02$\"\"/injective/peggy/v1/valset_confirm\x12\x80\x01\n\tSendToEth\x12 .injective.peggy.v1.MsgSendToEth\x1a(.injective.peggy.v1.MsgSendToEthResponse\"\'\x82\xd3\xe4\x93\x02!\"\x1f/injective/peggy/v1/send_to_eth\x12\x8b\x01\n\x0cRequestBatch\x12#.injective.peggy.v1.MsgRequestBatch\x1a+.injective.peggy.v1.MsgRequestBatchResponse\")\x82\xd3\xe4\x93\x02#\"!/injective/peggy/v1/request_batch\x12\x8b\x01\n\x0c\x43onfirmBatch\x12#.injective.peggy.v1.MsgConfirmBatch\x1a+.injective.peggy.v1.MsgConfirmBatchResponse\")\x82\xd3\xe4\x93\x02#\"!/injective/peggy/v1/confirm_batch\x12\x8b\x01\n\x0c\x44\x65positClaim\x12#.injective.peggy.v1.MsgDepositClaim\x1a+.injective.peggy.v1.MsgDepositClaimResponse\")\x82\xd3\xe4\x93\x02#\"!/injective/peggy/v1/deposit_claim\x12\x8f\x01\n\rWithdrawClaim\x12$.injective.peggy.v1.MsgWithdrawClaim\x1a,.injective.peggy.v1.MsgWithdrawClaimResponse\"*\x82\xd3\xe4\x93\x02$\"\"/injective/peggy/v1/withdraw_claim\x12\xa3\x01\n\x11ValsetUpdateClaim\x12).injective.peggy.v1.MsgValsetUpdatedClaim\x1a\x31.injective.peggy.v1.MsgValsetUpdatedClaimResponse\"0\x82\xd3\xe4\x93\x02*\"(/injective/peggy/v1/valset_updated_claim\x12\xa4\x01\n\x12\x45RC20DeployedClaim\x12).injective.peggy.v1.MsgERC20DeployedClaim\x1a\x31.injective.peggy.v1.MsgERC20DeployedClaimResponse\"0\x82\xd3\xe4\x93\x02*\"(/injective/peggy/v1/erc20_deployed_claim\x12\xba\x01\n\x18SetOrchestratorAddresses\x12/.injective.peggy.v1.MsgSetOrchestratorAddresses\x1a\x37.injective.peggy.v1.MsgSetOrchestratorAddressesResponse\"4\x82\xd3\xe4\x93\x02.\",/injective/peggy/v1/set_orchestrator_address\x12\x99\x01\n\x0f\x43\x61ncelSendToEth\x12&.injective.peggy.v1.MsgCancelSendToEth\x1a..injective.peggy.v1.MsgCancelSendToEthResponse\".\x82\xd3\xe4\x93\x02(\"&/injective/peggy/v1/cancel_send_to_eth\x12\xc5\x01\n\x1aSubmitBadSignatureEvidence\x12\x31.injective.peggy.v1.MsgSubmitBadSignatureEvidence\x1a\x39.injective.peggy.v1.MsgSubmitBadSignatureEvidenceResponse\"9\x82\xd3\xe4\x93\x02\x33\"1/injective/peggy/v1/submit_bad_signature_evidence\x12`\n\x0cUpdateParams\x12#.injective.peggy.v1.MsgUpdateParams\x1a+.injective.peggy.v1.MsgUpdateParamsResponse\x12\x8a\x01\n\x1a\x42lacklistEthereumAddresses\x12\x31.injective.peggy.v1.MsgBlacklistEthereumAddresses\x1a\x39.injective.peggy.v1.MsgBlacklistEthereumAddressesResponse\x12\x81\x01\n\x17RevokeEthereumBlacklist\x12..injective.peggy.v1.MsgRevokeEthereumBlacklist\x1a\x36.injective.peggy.v1.MsgRevokeEthereumBlacklistResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xda\x01\n\x16\x63om.injective.peggy.v1B\tMsgsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.msgs_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\tMsgsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_MSGSETORCHESTRATORADDRESSES']._loaded_options = None + _globals['_MSGSETORCHESTRATORADDRESSES']._serialized_options = b'\202\347\260*\006sender\212\347\260*!peggy/MsgSetOrchestratorAddresses' + _globals['_MSGVALSETCONFIRM']._loaded_options = None + _globals['_MSGVALSETCONFIRM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\026peggy/MsgValsetConfirm' + _globals['_MSGSENDTOETH'].fields_by_name['amount']._loaded_options = None + _globals['_MSGSENDTOETH'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_MSGSENDTOETH'].fields_by_name['bridge_fee']._loaded_options = None + _globals['_MSGSENDTOETH'].fields_by_name['bridge_fee']._serialized_options = b'\310\336\037\000' + _globals['_MSGSENDTOETH']._loaded_options = None + _globals['_MSGSENDTOETH']._serialized_options = b'\202\347\260*\006sender\212\347\260*\022peggy/MsgSendToEth' + _globals['_MSGREQUESTBATCH']._loaded_options = None + _globals['_MSGREQUESTBATCH']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgRequestBatch' + _globals['_MSGCONFIRMBATCH']._loaded_options = None + _globals['_MSGCONFIRMBATCH']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgConfirmBatch' + _globals['_MSGDEPOSITCLAIM'].fields_by_name['amount']._loaded_options = None + _globals['_MSGDEPOSITCLAIM'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_MSGDEPOSITCLAIM']._loaded_options = None + _globals['_MSGDEPOSITCLAIM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgDepositClaim' + _globals['_MSGWITHDRAWCLAIM']._loaded_options = None + _globals['_MSGWITHDRAWCLAIM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\026peggy/MsgWithdrawClaim' + _globals['_MSGERC20DEPLOYEDCLAIM']._loaded_options = None + _globals['_MSGERC20DEPLOYEDCLAIM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\033peggy/MsgERC20DeployedClaim' + _globals['_MSGCANCELSENDTOETH']._loaded_options = None + _globals['_MSGCANCELSENDTOETH']._serialized_options = b'\202\347\260*\006sender\212\347\260*\030peggy/MsgCancelSendToEth' + _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._loaded_options = None + _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._serialized_options = b'\202\347\260*\006sender\212\347\260*#peggy/MsgSubmitBadSignatureEvidence' + _globals['_MSGVALSETUPDATEDCLAIM'].fields_by_name['reward_amount']._loaded_options = None + _globals['_MSGVALSETUPDATEDCLAIM'].fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_MSGVALSETUPDATEDCLAIM']._loaded_options = None + _globals['_MSGVALSETUPDATEDCLAIM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\033peggy/MsgValsetUpdatedClaim' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\025peggy/MsgUpdateParams' + _globals['_MSGBLACKLISTETHEREUMADDRESSES']._loaded_options = None + _globals['_MSGBLACKLISTETHEREUMADDRESSES']._serialized_options = b'\202\347\260*\006signer\212\347\260*#peggy/MsgBlacklistEthereumAddresses' + _globals['_MSGREVOKEETHEREUMBLACKLIST']._loaded_options = None + _globals['_MSGREVOKEETHEREUMBLACKLIST']._serialized_options = b'\202\347\260*\006signer\212\347\260* peggy/MsgRevokeEthereumBlacklist' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSG'].methods_by_name['ValsetConfirm']._loaded_options = None + _globals['_MSG'].methods_by_name['ValsetConfirm']._serialized_options = b'\202\323\344\223\002$\"\"/injective/peggy/v1/valset_confirm' + _globals['_MSG'].methods_by_name['SendToEth']._loaded_options = None + _globals['_MSG'].methods_by_name['SendToEth']._serialized_options = b'\202\323\344\223\002!\"\037/injective/peggy/v1/send_to_eth' + _globals['_MSG'].methods_by_name['RequestBatch']._loaded_options = None + _globals['_MSG'].methods_by_name['RequestBatch']._serialized_options = b'\202\323\344\223\002#\"!/injective/peggy/v1/request_batch' + _globals['_MSG'].methods_by_name['ConfirmBatch']._loaded_options = None + _globals['_MSG'].methods_by_name['ConfirmBatch']._serialized_options = b'\202\323\344\223\002#\"!/injective/peggy/v1/confirm_batch' + _globals['_MSG'].methods_by_name['DepositClaim']._loaded_options = None + _globals['_MSG'].methods_by_name['DepositClaim']._serialized_options = b'\202\323\344\223\002#\"!/injective/peggy/v1/deposit_claim' + _globals['_MSG'].methods_by_name['WithdrawClaim']._loaded_options = None + _globals['_MSG'].methods_by_name['WithdrawClaim']._serialized_options = b'\202\323\344\223\002$\"\"/injective/peggy/v1/withdraw_claim' + _globals['_MSG'].methods_by_name['ValsetUpdateClaim']._loaded_options = None + _globals['_MSG'].methods_by_name['ValsetUpdateClaim']._serialized_options = b'\202\323\344\223\002*\"(/injective/peggy/v1/valset_updated_claim' + _globals['_MSG'].methods_by_name['ERC20DeployedClaim']._loaded_options = None + _globals['_MSG'].methods_by_name['ERC20DeployedClaim']._serialized_options = b'\202\323\344\223\002*\"(/injective/peggy/v1/erc20_deployed_claim' + _globals['_MSG'].methods_by_name['SetOrchestratorAddresses']._loaded_options = None + _globals['_MSG'].methods_by_name['SetOrchestratorAddresses']._serialized_options = b'\202\323\344\223\002.\",/injective/peggy/v1/set_orchestrator_address' + _globals['_MSG'].methods_by_name['CancelSendToEth']._loaded_options = None + _globals['_MSG'].methods_by_name['CancelSendToEth']._serialized_options = b'\202\323\344\223\002(\"&/injective/peggy/v1/cancel_send_to_eth' + _globals['_MSG'].methods_by_name['SubmitBadSignatureEvidence']._loaded_options = None + _globals['_MSG'].methods_by_name['SubmitBadSignatureEvidence']._serialized_options = b'\202\323\344\223\0023\"1/injective/peggy/v1/submit_bad_signature_evidence' + _globals['_MSGSETORCHESTRATORADDRESSES']._serialized_start=301 + _globals['_MSGSETORCHESTRATORADDRESSES']._serialized_end=474 + _globals['_MSGSETORCHESTRATORADDRESSESRESPONSE']._serialized_start=476 + _globals['_MSGSETORCHESTRATORADDRESSESRESPONSE']._serialized_end=513 + _globals['_MSGVALSETCONFIRM']._serialized_start=516 + _globals['_MSGVALSETCONFIRM']._serialized_end=701 + _globals['_MSGVALSETCONFIRMRESPONSE']._serialized_start=703 + _globals['_MSGVALSETCONFIRMRESPONSE']._serialized_end=729 + _globals['_MSGSENDTOETH']._serialized_start=732 + _globals['_MSGSENDTOETH']._serialized_end=954 + _globals['_MSGSENDTOETHRESPONSE']._serialized_start=956 + _globals['_MSGSENDTOETHRESPONSE']._serialized_end=978 + _globals['_MSGREQUESTBATCH']._serialized_start=980 + _globals['_MSGREQUESTBATCH']._serialized_end=1100 + _globals['_MSGREQUESTBATCHRESPONSE']._serialized_start=1102 + _globals['_MSGREQUESTBATCHRESPONSE']._serialized_end=1127 + _globals['_MSGCONFIRMBATCH']._serialized_start=1130 + _globals['_MSGCONFIRMBATCH']._serialized_end=1350 + _globals['_MSGCONFIRMBATCHRESPONSE']._serialized_start=1352 + _globals['_MSGCONFIRMBATCHRESPONSE']._serialized_end=1377 + _globals['_MSGDEPOSITCLAIM']._serialized_start=1380 + _globals['_MSGDEPOSITCLAIM']._serialized_end=1742 + _globals['_MSGDEPOSITCLAIMRESPONSE']._serialized_start=1744 + _globals['_MSGDEPOSITCLAIMRESPONSE']._serialized_end=1769 + _globals['_MSGWITHDRAWCLAIM']._serialized_start=1772 + _globals['_MSGWITHDRAWCLAIM']._serialized_end=2012 + _globals['_MSGWITHDRAWCLAIMRESPONSE']._serialized_start=2014 + _globals['_MSGWITHDRAWCLAIMRESPONSE']._serialized_end=2040 + _globals['_MSGERC20DEPLOYEDCLAIM']._serialized_start=2043 + _globals['_MSGERC20DEPLOYEDCLAIM']._serialized_end=2367 + _globals['_MSGERC20DEPLOYEDCLAIMRESPONSE']._serialized_start=2369 + _globals['_MSGERC20DEPLOYEDCLAIMRESPONSE']._serialized_end=2400 + _globals['_MSGCANCELSENDTOETH']._serialized_start=2402 + _globals['_MSGCANCELSENDTOETH']._serialized_end=2527 + _globals['_MSGCANCELSENDTOETHRESPONSE']._serialized_start=2529 + _globals['_MSGCANCELSENDTOETHRESPONSE']._serialized_end=2557 + _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._serialized_start=2560 + _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._serialized_end=2746 + _globals['_MSGSUBMITBADSIGNATUREEVIDENCERESPONSE']._serialized_start=2748 + _globals['_MSGSUBMITBADSIGNATUREEVIDENCERESPONSE']._serialized_end=2787 + _globals['_MSGVALSETUPDATEDCLAIM']._serialized_start=2790 + _globals['_MSGVALSETUPDATEDCLAIM']._serialized_end=3169 + _globals['_MSGVALSETUPDATEDCLAIMRESPONSE']._serialized_start=3171 + _globals['_MSGVALSETUPDATEDCLAIMRESPONSE']._serialized_end=3202 + _globals['_MSGUPDATEPARAMS']._serialized_start=3205 + _globals['_MSGUPDATEPARAMS']._serialized_end=3378 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=3380 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=3405 + _globals['_MSGBLACKLISTETHEREUMADDRESSES']._serialized_start=3408 + _globals['_MSGBLACKLISTETHEREUMADDRESSES']._serialized_end=3565 + _globals['_MSGBLACKLISTETHEREUMADDRESSESRESPONSE']._serialized_start=3567 + _globals['_MSGBLACKLISTETHEREUMADDRESSESRESPONSE']._serialized_end=3606 + _globals['_MSGREVOKEETHEREUMBLACKLIST']._serialized_start=3609 + _globals['_MSGREVOKEETHEREUMBLACKLIST']._serialized_end=3760 + _globals['_MSGREVOKEETHEREUMBLACKLISTRESPONSE']._serialized_start=3762 + _globals['_MSGREVOKEETHEREUMBLACKLISTRESPONSE']._serialized_end=3798 + _globals['_MSG']._serialized_start=3801 + _globals['_MSG']._serialized_end=5911 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/msgs_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/msgs_pb2_grpc.py new file mode 100644 index 00000000..34f5ab26 --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/msgs_pb2_grpc.py @@ -0,0 +1,639 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.injective.peggy.v1 import msgs_pb2 as injective_dot_peggy_dot_v1_dot_msgs__pb2 + + +class MsgStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.ValsetConfirm = channel.unary_unary( + '/injective.peggy.v1.Msg/ValsetConfirm', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirm.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirmResponse.FromString, + _registered_method=True) + self.SendToEth = channel.unary_unary( + '/injective.peggy.v1.Msg/SendToEth', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEth.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEthResponse.FromString, + _registered_method=True) + self.RequestBatch = channel.unary_unary( + '/injective.peggy.v1.Msg/RequestBatch', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatch.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatchResponse.FromString, + _registered_method=True) + self.ConfirmBatch = channel.unary_unary( + '/injective.peggy.v1.Msg/ConfirmBatch', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatch.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatchResponse.FromString, + _registered_method=True) + self.DepositClaim = channel.unary_unary( + '/injective.peggy.v1.Msg/DepositClaim', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaim.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaimResponse.FromString, + _registered_method=True) + self.WithdrawClaim = channel.unary_unary( + '/injective.peggy.v1.Msg/WithdrawClaim', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaim.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaimResponse.FromString, + _registered_method=True) + self.ValsetUpdateClaim = channel.unary_unary( + '/injective.peggy.v1.Msg/ValsetUpdateClaim', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaim.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaimResponse.FromString, + _registered_method=True) + self.ERC20DeployedClaim = channel.unary_unary( + '/injective.peggy.v1.Msg/ERC20DeployedClaim', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaim.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaimResponse.FromString, + _registered_method=True) + self.SetOrchestratorAddresses = channel.unary_unary( + '/injective.peggy.v1.Msg/SetOrchestratorAddresses', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddresses.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddressesResponse.FromString, + _registered_method=True) + self.CancelSendToEth = channel.unary_unary( + '/injective.peggy.v1.Msg/CancelSendToEth', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEth.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEthResponse.FromString, + _registered_method=True) + self.SubmitBadSignatureEvidence = channel.unary_unary( + '/injective.peggy.v1.Msg/SubmitBadSignatureEvidence', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidence.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidenceResponse.FromString, + _registered_method=True) + self.UpdateParams = channel.unary_unary( + '/injective.peggy.v1.Msg/UpdateParams', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + self.BlacklistEthereumAddresses = channel.unary_unary( + '/injective.peggy.v1.Msg/BlacklistEthereumAddresses', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddresses.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddressesResponse.FromString, + _registered_method=True) + self.RevokeEthereumBlacklist = channel.unary_unary( + '/injective.peggy.v1.Msg/RevokeEthereumBlacklist', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklist.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklistResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Missing associated documentation comment in .proto file.""" + + def ValsetConfirm(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SendToEth(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RequestBatch(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ConfirmBatch(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DepositClaim(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def WithdrawClaim(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ValsetUpdateClaim(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ERC20DeployedClaim(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SetOrchestratorAddresses(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CancelSendToEth(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SubmitBadSignatureEvidence(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BlacklistEthereumAddresses(self, request, context): + """BlacklistEthereumAddresses adds Ethereum addresses to the peggy blacklist. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RevokeEthereumBlacklist(self, request, context): + """RevokeEthereumBlacklist removes Ethereum addresses from the peggy + blacklist. + """ + 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 = { + 'ValsetConfirm': grpc.unary_unary_rpc_method_handler( + servicer.ValsetConfirm, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirm.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirmResponse.SerializeToString, + ), + 'SendToEth': grpc.unary_unary_rpc_method_handler( + servicer.SendToEth, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEth.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEthResponse.SerializeToString, + ), + 'RequestBatch': grpc.unary_unary_rpc_method_handler( + servicer.RequestBatch, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatch.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatchResponse.SerializeToString, + ), + 'ConfirmBatch': grpc.unary_unary_rpc_method_handler( + servicer.ConfirmBatch, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatch.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatchResponse.SerializeToString, + ), + 'DepositClaim': grpc.unary_unary_rpc_method_handler( + servicer.DepositClaim, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaim.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaimResponse.SerializeToString, + ), + 'WithdrawClaim': grpc.unary_unary_rpc_method_handler( + servicer.WithdrawClaim, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaim.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaimResponse.SerializeToString, + ), + 'ValsetUpdateClaim': grpc.unary_unary_rpc_method_handler( + servicer.ValsetUpdateClaim, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaim.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaimResponse.SerializeToString, + ), + 'ERC20DeployedClaim': grpc.unary_unary_rpc_method_handler( + servicer.ERC20DeployedClaim, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaim.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaimResponse.SerializeToString, + ), + 'SetOrchestratorAddresses': grpc.unary_unary_rpc_method_handler( + servicer.SetOrchestratorAddresses, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddresses.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddressesResponse.SerializeToString, + ), + 'CancelSendToEth': grpc.unary_unary_rpc_method_handler( + servicer.CancelSendToEth, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEth.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEthResponse.SerializeToString, + ), + 'SubmitBadSignatureEvidence': grpc.unary_unary_rpc_method_handler( + servicer.SubmitBadSignatureEvidence, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidence.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidenceResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'BlacklistEthereumAddresses': grpc.unary_unary_rpc_method_handler( + servicer.BlacklistEthereumAddresses, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddresses.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddressesResponse.SerializeToString, + ), + 'RevokeEthereumBlacklist': grpc.unary_unary_rpc_method_handler( + servicer.RevokeEthereumBlacklist, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklist.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklistResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.peggy.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('injective.peggy.v1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def ValsetConfirm(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Msg/ValsetConfirm', + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirm.SerializeToString, + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirmResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SendToEth(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Msg/SendToEth', + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEth.SerializeToString, + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEthResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RequestBatch(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Msg/RequestBatch', + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatch.SerializeToString, + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatchResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ConfirmBatch(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Msg/ConfirmBatch', + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatch.SerializeToString, + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatchResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DepositClaim(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Msg/DepositClaim', + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaim.SerializeToString, + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaimResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def WithdrawClaim(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Msg/WithdrawClaim', + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaim.SerializeToString, + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaimResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ValsetUpdateClaim(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Msg/ValsetUpdateClaim', + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaim.SerializeToString, + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaimResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ERC20DeployedClaim(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Msg/ERC20DeployedClaim', + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaim.SerializeToString, + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaimResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SetOrchestratorAddresses(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Msg/SetOrchestratorAddresses', + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddresses.SerializeToString, + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddressesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CancelSendToEth(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Msg/CancelSendToEth', + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEth.SerializeToString, + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEthResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SubmitBadSignatureEvidence(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Msg/SubmitBadSignatureEvidence', + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidence.SerializeToString, + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidenceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Msg/UpdateParams', + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParams.SerializeToString, + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BlacklistEthereumAddresses(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Msg/BlacklistEthereumAddresses', + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddresses.SerializeToString, + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddressesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RevokeEthereumBlacklist(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Msg/RevokeEthereumBlacklist', + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklist.SerializeToString, + injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklistResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/injective/peggy/v1/params_pb2.py b/pyinjective/proto/injective/peggy/v1/params_pb2.py new file mode 100644 index 00000000..de890733 --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/params_pb2.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/peggy/v1/params.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/peggy/v1/params.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"\xea\n\n\x06Params\x12\x19\n\x08peggy_id\x18\x01 \x01(\tR\x07peggyId\x12\x30\n\x14\x63ontract_source_hash\x18\x02 \x01(\tR\x12\x63ontractSourceHash\x12\x36\n\x17\x62ridge_ethereum_address\x18\x03 \x01(\tR\x15\x62ridgeEthereumAddress\x12&\n\x0f\x62ridge_chain_id\x18\x04 \x01(\x04R\rbridgeChainId\x12\x32\n\x15signed_valsets_window\x18\x05 \x01(\x04R\x13signedValsetsWindow\x12\x32\n\x15signed_batches_window\x18\x06 \x01(\x04R\x13signedBatchesWindow\x12\x30\n\x14signed_claims_window\x18\x07 \x01(\x04R\x12signedClaimsWindow\x12\x30\n\x14target_batch_timeout\x18\x08 \x01(\x04R\x12targetBatchTimeout\x12,\n\x12\x61verage_block_time\x18\t \x01(\x04R\x10\x61verageBlockTime\x12=\n\x1b\x61verage_ethereum_block_time\x18\n \x01(\x04R\x18\x61verageEthereumBlockTime\x12W\n\x15slash_fraction_valset\x18\x0b \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13slashFractionValset\x12U\n\x14slash_fraction_batch\x18\x0c \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12slashFractionBatch\x12U\n\x14slash_fraction_claim\x18\r \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12slashFractionClaim\x12l\n slash_fraction_conflicting_claim\x18\x0e \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1dslashFractionConflictingClaim\x12\x43\n\x1eunbond_slashing_valsets_window\x18\x0f \x01(\x04R\x1bunbondSlashingValsetsWindow\x12k\n slash_fraction_bad_eth_signature\x18\x10 \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1cslashFractionBadEthSignature\x12*\n\x11\x63osmos_coin_denom\x18\x11 \x01(\tR\x0f\x63osmosCoinDenom\x12;\n\x1a\x63osmos_coin_erc20_contract\x18\x12 \x01(\tR\x17\x63osmosCoinErc20Contract\x12\x34\n\x16\x63laim_slashing_enabled\x18\x13 \x01(\x08R\x14\x63laimSlashingEnabled\x12?\n\x1c\x62ridge_contract_start_height\x18\x14 \x01(\x04R\x19\x62ridgeContractStartHeight\x12\x44\n\rvalset_reward\x18\x15 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x0cvalsetReward\x12\x16\n\x06\x61\x64mins\x18\x16 \x03(\tR\x06\x61\x64mins:\x15\x80\xdc \x00\x8a\xe7\xb0*\x0cpeggy/ParamsB\xdc\x01\n\x16\x63om.injective.peggy.v1B\x0bParamsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.params_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\013ParamsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_PARAMS'].fields_by_name['slash_fraction_valset']._loaded_options = None + _globals['_PARAMS'].fields_by_name['slash_fraction_valset']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['slash_fraction_batch']._loaded_options = None + _globals['_PARAMS'].fields_by_name['slash_fraction_batch']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['slash_fraction_claim']._loaded_options = None + _globals['_PARAMS'].fields_by_name['slash_fraction_claim']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['slash_fraction_conflicting_claim']._loaded_options = None + _globals['_PARAMS'].fields_by_name['slash_fraction_conflicting_claim']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['slash_fraction_bad_eth_signature']._loaded_options = None + _globals['_PARAMS'].fields_by_name['slash_fraction_bad_eth_signature']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['valset_reward']._loaded_options = None + _globals['_PARAMS'].fields_by_name['valset_reward']._serialized_options = b'\310\336\037\000' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\200\334 \000\212\347\260*\014peggy/Params' + _globals['_PARAMS']._serialized_start=129 + _globals['_PARAMS']._serialized_end=1515 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/params_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/params_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/params_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/peggy/v1/pool_pb2.py b/pyinjective/proto/injective/peggy/v1/pool_pb2.py new file mode 100644 index 00000000..2358a594 --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/pool_pb2.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/peggy/v1/pool.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dinjective/peggy/v1/pool.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\"\x19\n\x05IDSet\x12\x10\n\x03ids\x18\x01 \x03(\x04R\x03ids\"_\n\tBatchFees\x12\x14\n\x05token\x18\x01 \x01(\tR\x05token\x12<\n\ntotal_fees\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\ttotalFeesB\xda\x01\n\x16\x63om.injective.peggy.v1B\tPoolProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.pool_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\tPoolProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_BATCHFEES'].fields_by_name['total_fees']._loaded_options = None + _globals['_BATCHFEES'].fields_by_name['total_fees']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_IDSET']._serialized_start=75 + _globals['_IDSET']._serialized_end=100 + _globals['_BATCHFEES']._serialized_start=102 + _globals['_BATCHFEES']._serialized_end=197 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/pool_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/pool_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/pool_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/peggy/v1/query_pb2.py b/pyinjective/proto/injective/peggy/v1/query_pb2.py new file mode 100644 index 00000000..8e78efca --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/query_pb2.py @@ -0,0 +1,163 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/peggy/v1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.injective.peggy.v1 import genesis_pb2 as injective_dot_peggy_dot_v1_dot_genesis__pb2 +from pyinjective.proto.injective.peggy.v1 import params_pb2 as injective_dot_peggy_dot_v1_dot_params__pb2 +from pyinjective.proto.injective.peggy.v1 import types_pb2 as injective_dot_peggy_dot_v1_dot_types__pb2 +from pyinjective.proto.injective.peggy.v1 import msgs_pb2 as injective_dot_peggy_dot_v1_dot_msgs__pb2 +from pyinjective.proto.injective.peggy.v1 import pool_pb2 as injective_dot_peggy_dot_v1_dot_pool__pb2 +from pyinjective.proto.injective.peggy.v1 import batch_pb2 as injective_dot_peggy_dot_v1_dot_batch__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/peggy/v1/query.proto\x12\x12injective.peggy.v1\x1a injective/peggy/v1/genesis.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1dinjective/peggy/v1/msgs.proto\x1a\x1dinjective/peggy/v1/pool.proto\x1a\x1einjective/peggy/v1/batch.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto\"\x14\n\x12QueryParamsRequest\"O\n\x13QueryParamsResponse\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1b\n\x19QueryCurrentValsetRequest\"P\n\x1aQueryCurrentValsetResponse\x12\x32\n\x06valset\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x06valset\"1\n\x19QueryValsetRequestRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\"P\n\x1aQueryValsetRequestResponse\x12\x32\n\x06valset\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x06valset\"K\n\x19QueryValsetConfirmRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"\\\n\x1aQueryValsetConfirmResponse\x12>\n\x07\x63onfirm\x18\x01 \x01(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x07\x63onfirm\"9\n!QueryValsetConfirmsByNonceRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\"f\n\"QueryValsetConfirmsByNonceResponse\x12@\n\x08\x63onfirms\x18\x01 \x03(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x08\x63onfirms\" \n\x1eQueryLastValsetRequestsRequest\"W\n\x1fQueryLastValsetRequestsResponse\x12\x34\n\x07valsets\x18\x01 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets\"F\n*QueryLastPendingValsetRequestByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"c\n+QueryLastPendingValsetRequestByAddrResponse\x12\x34\n\x07valsets\x18\x01 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets\"\x16\n\x14QueryBatchFeeRequest\"T\n\x15QueryBatchFeeResponse\x12;\n\tbatchFees\x18\x01 \x03(\x0b\x32\x1d.injective.peggy.v1.BatchFeesR\tbatchFees\"E\n)QueryLastPendingBatchRequestByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"g\n*QueryLastPendingBatchRequestByAddrResponse\x12\x39\n\x05\x62\x61tch\x18\x01 \x01(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x05\x62\x61tch\"\x1f\n\x1dQueryOutgoingTxBatchesRequest\"_\n\x1eQueryOutgoingTxBatchesResponse\x12=\n\x07\x62\x61tches\x18\x01 \x03(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x07\x62\x61tches\"b\n\x1fQueryBatchRequestByNonceRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\"]\n QueryBatchRequestByNonceResponse\x12\x39\n\x05\x62\x61tch\x18\x01 \x01(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x05\x62\x61tch\"\\\n\x19QueryBatchConfirmsRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\"]\n\x1aQueryBatchConfirmsResponse\x12?\n\x08\x63onfirms\x18\x01 \x03(\x0b\x32#.injective.peggy.v1.MsgConfirmBatchR\x08\x63onfirms\"7\n\x1bQueryLastEventByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"l\n\x1cQueryLastEventByAddrResponse\x12L\n\x10last_claim_event\x18\x01 \x01(\x0b\x32\".injective.peggy.v1.LastClaimEventR\x0elastClaimEvent\"0\n\x18QueryERC20ToDenomRequest\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20\"^\n\x19QueryERC20ToDenomResponse\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12+\n\x11\x63osmos_originated\x18\x02 \x01(\x08R\x10\x63osmosOriginated\"0\n\x18QueryDenomToERC20Request\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"^\n\x19QueryDenomToERC20Response\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20\x12+\n\x11\x63osmos_originated\x18\x02 \x01(\x08R\x10\x63osmosOriginated\"R\n#QueryDelegateKeysByValidatorAddress\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\"\x81\x01\n+QueryDelegateKeysByValidatorAddressResponse\x12\x1f\n\x0b\x65th_address\x18\x01 \x01(\tR\nethAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\"@\n\x1dQueryDelegateKeysByEthAddress\x12\x1f\n\x0b\x65th_address\x18\x01 \x01(\tR\nethAddress\"\x87\x01\n%QueryDelegateKeysByEthAddressResponse\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\"[\n&QueryDelegateKeysByOrchestratorAddress\x12\x31\n\x14orchestrator_address\x18\x01 \x01(\tR\x13orchestratorAddress\"~\n.QueryDelegateKeysByOrchestratorAddressResponse\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x1f\n\x0b\x65th_address\x18\x02 \x01(\tR\nethAddress\">\n\x15QueryPendingSendToEth\x12%\n\x0esender_address\x18\x01 \x01(\tR\rsenderAddress\"\xd2\x01\n\x1dQueryPendingSendToEthResponse\x12X\n\x14transfers_in_batches\x18\x01 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12transfersInBatches\x12W\n\x13unbatched_transfers\x18\x02 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12unbatchedTransfers\"\x19\n\x17QueryModuleStateRequest\"R\n\x18QueryModuleStateResponse\x12\x36\n\x05state\x18\x01 \x01(\x0b\x32 .injective.peggy.v1.GenesisStateR\x05state\"\x16\n\x14MissingNoncesRequest\"F\n\x15MissingNoncesResponse\x12-\n\x12operator_addresses\x18\x01 \x03(\tR\x11operatorAddresses2\xc6\x1a\n\x05Query\x12s\n\x06Params\x12&.injective.peggy.v1.QueryParamsRequest\x1a\'.injective.peggy.v1.QueryParamsResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/peggy/v1/params\x12\x90\x01\n\rCurrentValset\x12-.injective.peggy.v1.QueryCurrentValsetRequest\x1a..injective.peggy.v1.QueryCurrentValsetResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/valset/current\x12\x88\x01\n\rValsetRequest\x12-.injective.peggy.v1.QueryValsetRequestRequest\x1a..injective.peggy.v1.QueryValsetRequestResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/peggy/v1/valset\x12\x90\x01\n\rValsetConfirm\x12-.injective.peggy.v1.QueryValsetConfirmRequest\x1a..injective.peggy.v1.QueryValsetConfirmResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/valset/confirm\x12\xaa\x01\n\x15ValsetConfirmsByNonce\x12\x35.injective.peggy.v1.QueryValsetConfirmsByNonceRequest\x1a\x36.injective.peggy.v1.QueryValsetConfirmsByNonceResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/peggy/v1/confirms/{nonce}\x12\xa0\x01\n\x12LastValsetRequests\x12\x32.injective.peggy.v1.QueryLastValsetRequestsRequest\x1a\x33.injective.peggy.v1.QueryLastValsetRequestsResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/peggy/v1/valset/requests\x12\xc0\x01\n\x1eLastPendingValsetRequestByAddr\x12>.injective.peggy.v1.QueryLastPendingValsetRequestByAddrRequest\x1a?.injective.peggy.v1.QueryLastPendingValsetRequestByAddrResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/peggy/v1/valset/last\x12\x9e\x01\n\x0fLastEventByAddr\x12/.injective.peggy.v1.QueryLastEventByAddrRequest\x1a\x30.injective.peggy.v1.QueryLastEventByAddrResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /peggy/v1/oracle/event/{address}\x12\x9a\x01\n\x13GetPendingSendToEth\x12).injective.peggy.v1.QueryPendingSendToEth\x1a\x31.injective.peggy.v1.QueryPendingSendToEthResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/peggy/v1/pending_send_to_eth\x12}\n\tBatchFees\x12(.injective.peggy.v1.QueryBatchFeeRequest\x1a).injective.peggy.v1.QueryBatchFeeResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/peggy/v1/batchfees\x12\x9e\x01\n\x11OutgoingTxBatches\x12\x31.injective.peggy.v1.QueryOutgoingTxBatchesRequest\x1a\x32.injective.peggy.v1.QueryOutgoingTxBatchesResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/peggy/v1/batch/outgoingtx\x12\xbc\x01\n\x1dLastPendingBatchRequestByAddr\x12=.injective.peggy.v1.QueryLastPendingBatchRequestByAddrRequest\x1a>.injective.peggy.v1.QueryLastPendingBatchRequestByAddrResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/peggy/v1/batch/last\x12\x99\x01\n\x13\x42\x61tchRequestByNonce\x12\x33.injective.peggy.v1.QueryBatchRequestByNonceRequest\x1a\x34.injective.peggy.v1.QueryBatchRequestByNonceResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/peggy/v1/batch\x12\x90\x01\n\rBatchConfirms\x12-.injective.peggy.v1.QueryBatchConfirmsRequest\x1a..injective.peggy.v1.QueryBatchConfirmsResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/batch/confirms\x12\x9f\x01\n\x0c\x45RC20ToDenom\x12,.injective.peggy.v1.QueryERC20ToDenomRequest\x1a-.injective.peggy.v1.QueryERC20ToDenomResponse\"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/cosmos_originated/erc20_to_denom\x12\x9f\x01\n\x0c\x44\x65nomToERC20\x12,.injective.peggy.v1.QueryDenomToERC20Request\x1a-.injective.peggy.v1.QueryDenomToERC20Response\"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/cosmos_originated/denom_to_erc20\x12\xc9\x01\n\x19GetDelegateKeyByValidator\x12\x37.injective.peggy.v1.QueryDelegateKeysByValidatorAddress\x1a?.injective.peggy.v1.QueryDelegateKeysByValidatorAddressResponse\"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/query_delegate_keys_by_validator\x12\xb1\x01\n\x13GetDelegateKeyByEth\x12\x31.injective.peggy.v1.QueryDelegateKeysByEthAddress\x1a\x39.injective.peggy.v1.QueryDelegateKeysByEthAddressResponse\",\x82\xd3\xe4\x93\x02&\x12$/peggy/v1/query_delegate_keys_by_eth\x12\xd5\x01\n\x1cGetDelegateKeyByOrchestrator\x12:.injective.peggy.v1.QueryDelegateKeysByOrchestratorAddress\x1a\x42.injective.peggy.v1.QueryDelegateKeysByOrchestratorAddressResponse\"5\x82\xd3\xe4\x93\x02/\x12-/peggy/v1/query_delegate_keys_by_orchestrator\x12\x8d\x01\n\x10PeggyModuleState\x12+.injective.peggy.v1.QueryModuleStateRequest\x1a,.injective.peggy.v1.QueryModuleStateResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/peggy/v1/module_state\x12\x8b\x01\n\x12MissingPeggoNonces\x12(.injective.peggy.v1.MissingNoncesRequest\x1a).injective.peggy.v1.MissingNoncesResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/missing_noncesB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nQueryProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\nQueryProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\022\022\020/peggy/v1/params' + _globals['_QUERY'].methods_by_name['CurrentValset']._loaded_options = None + _globals['_QUERY'].methods_by_name['CurrentValset']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/valset/current' + _globals['_QUERY'].methods_by_name['ValsetRequest']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValsetRequest']._serialized_options = b'\202\323\344\223\002\022\022\020/peggy/v1/valset' + _globals['_QUERY'].methods_by_name['ValsetConfirm']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValsetConfirm']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/valset/confirm' + _globals['_QUERY'].methods_by_name['ValsetConfirmsByNonce']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValsetConfirmsByNonce']._serialized_options = b'\202\323\344\223\002\034\022\032/peggy/v1/confirms/{nonce}' + _globals['_QUERY'].methods_by_name['LastValsetRequests']._loaded_options = None + _globals['_QUERY'].methods_by_name['LastValsetRequests']._serialized_options = b'\202\323\344\223\002\033\022\031/peggy/v1/valset/requests' + _globals['_QUERY'].methods_by_name['LastPendingValsetRequestByAddr']._loaded_options = None + _globals['_QUERY'].methods_by_name['LastPendingValsetRequestByAddr']._serialized_options = b'\202\323\344\223\002\027\022\025/peggy/v1/valset/last' + _globals['_QUERY'].methods_by_name['LastEventByAddr']._loaded_options = None + _globals['_QUERY'].methods_by_name['LastEventByAddr']._serialized_options = b'\202\323\344\223\002\"\022 /peggy/v1/oracle/event/{address}' + _globals['_QUERY'].methods_by_name['GetPendingSendToEth']._loaded_options = None + _globals['_QUERY'].methods_by_name['GetPendingSendToEth']._serialized_options = b'\202\323\344\223\002\037\022\035/peggy/v1/pending_send_to_eth' + _globals['_QUERY'].methods_by_name['BatchFees']._loaded_options = None + _globals['_QUERY'].methods_by_name['BatchFees']._serialized_options = b'\202\323\344\223\002\025\022\023/peggy/v1/batchfees' + _globals['_QUERY'].methods_by_name['OutgoingTxBatches']._loaded_options = None + _globals['_QUERY'].methods_by_name['OutgoingTxBatches']._serialized_options = b'\202\323\344\223\002\034\022\032/peggy/v1/batch/outgoingtx' + _globals['_QUERY'].methods_by_name['LastPendingBatchRequestByAddr']._loaded_options = None + _globals['_QUERY'].methods_by_name['LastPendingBatchRequestByAddr']._serialized_options = b'\202\323\344\223\002\026\022\024/peggy/v1/batch/last' + _globals['_QUERY'].methods_by_name['BatchRequestByNonce']._loaded_options = None + _globals['_QUERY'].methods_by_name['BatchRequestByNonce']._serialized_options = b'\202\323\344\223\002\021\022\017/peggy/v1/batch' + _globals['_QUERY'].methods_by_name['BatchConfirms']._loaded_options = None + _globals['_QUERY'].methods_by_name['BatchConfirms']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/batch/confirms' + _globals['_QUERY'].methods_by_name['ERC20ToDenom']._loaded_options = None + _globals['_QUERY'].methods_by_name['ERC20ToDenom']._serialized_options = b'\202\323\344\223\002,\022*/peggy/v1/cosmos_originated/erc20_to_denom' + _globals['_QUERY'].methods_by_name['DenomToERC20']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomToERC20']._serialized_options = b'\202\323\344\223\002,\022*/peggy/v1/cosmos_originated/denom_to_erc20' + _globals['_QUERY'].methods_by_name['GetDelegateKeyByValidator']._loaded_options = None + _globals['_QUERY'].methods_by_name['GetDelegateKeyByValidator']._serialized_options = b'\202\323\344\223\002,\022*/peggy/v1/query_delegate_keys_by_validator' + _globals['_QUERY'].methods_by_name['GetDelegateKeyByEth']._loaded_options = None + _globals['_QUERY'].methods_by_name['GetDelegateKeyByEth']._serialized_options = b'\202\323\344\223\002&\022$/peggy/v1/query_delegate_keys_by_eth' + _globals['_QUERY'].methods_by_name['GetDelegateKeyByOrchestrator']._loaded_options = None + _globals['_QUERY'].methods_by_name['GetDelegateKeyByOrchestrator']._serialized_options = b'\202\323\344\223\002/\022-/peggy/v1/query_delegate_keys_by_orchestrator' + _globals['_QUERY'].methods_by_name['PeggyModuleState']._loaded_options = None + _globals['_QUERY'].methods_by_name['PeggyModuleState']._serialized_options = b'\202\323\344\223\002\030\022\026/peggy/v1/module_state' + _globals['_QUERY'].methods_by_name['MissingPeggoNonces']._loaded_options = None + _globals['_QUERY'].methods_by_name['MissingPeggoNonces']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/missing_nonces' + _globals['_QUERYPARAMSREQUEST']._serialized_start=299 + _globals['_QUERYPARAMSREQUEST']._serialized_end=319 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=321 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=400 + _globals['_QUERYCURRENTVALSETREQUEST']._serialized_start=402 + _globals['_QUERYCURRENTVALSETREQUEST']._serialized_end=429 + _globals['_QUERYCURRENTVALSETRESPONSE']._serialized_start=431 + _globals['_QUERYCURRENTVALSETRESPONSE']._serialized_end=511 + _globals['_QUERYVALSETREQUESTREQUEST']._serialized_start=513 + _globals['_QUERYVALSETREQUESTREQUEST']._serialized_end=562 + _globals['_QUERYVALSETREQUESTRESPONSE']._serialized_start=564 + _globals['_QUERYVALSETREQUESTRESPONSE']._serialized_end=644 + _globals['_QUERYVALSETCONFIRMREQUEST']._serialized_start=646 + _globals['_QUERYVALSETCONFIRMREQUEST']._serialized_end=721 + _globals['_QUERYVALSETCONFIRMRESPONSE']._serialized_start=723 + _globals['_QUERYVALSETCONFIRMRESPONSE']._serialized_end=815 + _globals['_QUERYVALSETCONFIRMSBYNONCEREQUEST']._serialized_start=817 + _globals['_QUERYVALSETCONFIRMSBYNONCEREQUEST']._serialized_end=874 + _globals['_QUERYVALSETCONFIRMSBYNONCERESPONSE']._serialized_start=876 + _globals['_QUERYVALSETCONFIRMSBYNONCERESPONSE']._serialized_end=978 + _globals['_QUERYLASTVALSETREQUESTSREQUEST']._serialized_start=980 + _globals['_QUERYLASTVALSETREQUESTSREQUEST']._serialized_end=1012 + _globals['_QUERYLASTVALSETREQUESTSRESPONSE']._serialized_start=1014 + _globals['_QUERYLASTVALSETREQUESTSRESPONSE']._serialized_end=1101 + _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRREQUEST']._serialized_start=1103 + _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRREQUEST']._serialized_end=1173 + _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRRESPONSE']._serialized_start=1175 + _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRRESPONSE']._serialized_end=1274 + _globals['_QUERYBATCHFEEREQUEST']._serialized_start=1276 + _globals['_QUERYBATCHFEEREQUEST']._serialized_end=1298 + _globals['_QUERYBATCHFEERESPONSE']._serialized_start=1300 + _globals['_QUERYBATCHFEERESPONSE']._serialized_end=1384 + _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRREQUEST']._serialized_start=1386 + _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRREQUEST']._serialized_end=1455 + _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRRESPONSE']._serialized_start=1457 + _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRRESPONSE']._serialized_end=1560 + _globals['_QUERYOUTGOINGTXBATCHESREQUEST']._serialized_start=1562 + _globals['_QUERYOUTGOINGTXBATCHESREQUEST']._serialized_end=1593 + _globals['_QUERYOUTGOINGTXBATCHESRESPONSE']._serialized_start=1595 + _globals['_QUERYOUTGOINGTXBATCHESRESPONSE']._serialized_end=1690 + _globals['_QUERYBATCHREQUESTBYNONCEREQUEST']._serialized_start=1692 + _globals['_QUERYBATCHREQUESTBYNONCEREQUEST']._serialized_end=1790 + _globals['_QUERYBATCHREQUESTBYNONCERESPONSE']._serialized_start=1792 + _globals['_QUERYBATCHREQUESTBYNONCERESPONSE']._serialized_end=1885 + _globals['_QUERYBATCHCONFIRMSREQUEST']._serialized_start=1887 + _globals['_QUERYBATCHCONFIRMSREQUEST']._serialized_end=1979 + _globals['_QUERYBATCHCONFIRMSRESPONSE']._serialized_start=1981 + _globals['_QUERYBATCHCONFIRMSRESPONSE']._serialized_end=2074 + _globals['_QUERYLASTEVENTBYADDRREQUEST']._serialized_start=2076 + _globals['_QUERYLASTEVENTBYADDRREQUEST']._serialized_end=2131 + _globals['_QUERYLASTEVENTBYADDRRESPONSE']._serialized_start=2133 + _globals['_QUERYLASTEVENTBYADDRRESPONSE']._serialized_end=2241 + _globals['_QUERYERC20TODENOMREQUEST']._serialized_start=2243 + _globals['_QUERYERC20TODENOMREQUEST']._serialized_end=2291 + _globals['_QUERYERC20TODENOMRESPONSE']._serialized_start=2293 + _globals['_QUERYERC20TODENOMRESPONSE']._serialized_end=2387 + _globals['_QUERYDENOMTOERC20REQUEST']._serialized_start=2389 + _globals['_QUERYDENOMTOERC20REQUEST']._serialized_end=2437 + _globals['_QUERYDENOMTOERC20RESPONSE']._serialized_start=2439 + _globals['_QUERYDENOMTOERC20RESPONSE']._serialized_end=2533 + _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESS']._serialized_start=2535 + _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESS']._serialized_end=2617 + _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESSRESPONSE']._serialized_start=2620 + _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESSRESPONSE']._serialized_end=2749 + _globals['_QUERYDELEGATEKEYSBYETHADDRESS']._serialized_start=2751 + _globals['_QUERYDELEGATEKEYSBYETHADDRESS']._serialized_end=2815 + _globals['_QUERYDELEGATEKEYSBYETHADDRESSRESPONSE']._serialized_start=2818 + _globals['_QUERYDELEGATEKEYSBYETHADDRESSRESPONSE']._serialized_end=2953 + _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESS']._serialized_start=2955 + _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESS']._serialized_end=3046 + _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESSRESPONSE']._serialized_start=3048 + _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESSRESPONSE']._serialized_end=3174 + _globals['_QUERYPENDINGSENDTOETH']._serialized_start=3176 + _globals['_QUERYPENDINGSENDTOETH']._serialized_end=3238 + _globals['_QUERYPENDINGSENDTOETHRESPONSE']._serialized_start=3241 + _globals['_QUERYPENDINGSENDTOETHRESPONSE']._serialized_end=3451 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=3453 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=3478 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=3480 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=3562 + _globals['_MISSINGNONCESREQUEST']._serialized_start=3564 + _globals['_MISSINGNONCESREQUEST']._serialized_end=3586 + _globals['_MISSINGNONCESRESPONSE']._serialized_start=3588 + _globals['_MISSINGNONCESRESPONSE']._serialized_end=3658 + _globals['_QUERY']._serialized_start=3661 + _globals['_QUERY']._serialized_end=7059 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/query_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/query_pb2_grpc.py new file mode 100644 index 00000000..2d54c874 --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/query_pb2_grpc.py @@ -0,0 +1,945 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.injective.peggy.v1 import query_pb2 as injective_dot_peggy_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Params = channel.unary_unary( + '/injective.peggy.v1.Query/Params', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + self.CurrentValset = channel.unary_unary( + '/injective.peggy.v1.Query/CurrentValset', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetResponse.FromString, + _registered_method=True) + self.ValsetRequest = channel.unary_unary( + '/injective.peggy.v1.Query/ValsetRequest', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestResponse.FromString, + _registered_method=True) + self.ValsetConfirm = channel.unary_unary( + '/injective.peggy.v1.Query/ValsetConfirm', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmResponse.FromString, + _registered_method=True) + self.ValsetConfirmsByNonce = channel.unary_unary( + '/injective.peggy.v1.Query/ValsetConfirmsByNonce', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceResponse.FromString, + _registered_method=True) + self.LastValsetRequests = channel.unary_unary( + '/injective.peggy.v1.Query/LastValsetRequests', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsResponse.FromString, + _registered_method=True) + self.LastPendingValsetRequestByAddr = channel.unary_unary( + '/injective.peggy.v1.Query/LastPendingValsetRequestByAddr', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrResponse.FromString, + _registered_method=True) + self.LastEventByAddr = channel.unary_unary( + '/injective.peggy.v1.Query/LastEventByAddr', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrResponse.FromString, + _registered_method=True) + self.GetPendingSendToEth = channel.unary_unary( + '/injective.peggy.v1.Query/GetPendingSendToEth', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEth.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEthResponse.FromString, + _registered_method=True) + self.BatchFees = channel.unary_unary( + '/injective.peggy.v1.Query/BatchFees', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeResponse.FromString, + _registered_method=True) + self.OutgoingTxBatches = channel.unary_unary( + '/injective.peggy.v1.Query/OutgoingTxBatches', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesResponse.FromString, + _registered_method=True) + self.LastPendingBatchRequestByAddr = channel.unary_unary( + '/injective.peggy.v1.Query/LastPendingBatchRequestByAddr', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrResponse.FromString, + _registered_method=True) + self.BatchRequestByNonce = channel.unary_unary( + '/injective.peggy.v1.Query/BatchRequestByNonce', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceResponse.FromString, + _registered_method=True) + self.BatchConfirms = channel.unary_unary( + '/injective.peggy.v1.Query/BatchConfirms', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsResponse.FromString, + _registered_method=True) + self.ERC20ToDenom = channel.unary_unary( + '/injective.peggy.v1.Query/ERC20ToDenom', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomResponse.FromString, + _registered_method=True) + self.DenomToERC20 = channel.unary_unary( + '/injective.peggy.v1.Query/DenomToERC20', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Request.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Response.FromString, + _registered_method=True) + self.GetDelegateKeyByValidator = channel.unary_unary( + '/injective.peggy.v1.Query/GetDelegateKeyByValidator', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddress.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddressResponse.FromString, + _registered_method=True) + self.GetDelegateKeyByEth = channel.unary_unary( + '/injective.peggy.v1.Query/GetDelegateKeyByEth', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddress.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddressResponse.FromString, + _registered_method=True) + self.GetDelegateKeyByOrchestrator = channel.unary_unary( + '/injective.peggy.v1.Query/GetDelegateKeyByOrchestrator', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddress.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddressResponse.FromString, + _registered_method=True) + self.PeggyModuleState = channel.unary_unary( + '/injective.peggy.v1.Query/PeggyModuleState', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, + _registered_method=True) + self.MissingPeggoNonces = channel.unary_unary( + '/injective.peggy.v1.Query/MissingPeggoNonces', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service + """ + + def Params(self, request, context): + """Deployments queries deployments + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CurrentValset(self, request, context): + """valset + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ValsetRequest(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ValsetConfirm(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ValsetConfirmsByNonce(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def LastValsetRequests(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def LastPendingValsetRequestByAddr(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def LastEventByAddr(self, request, context): + """claim + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPendingSendToEth(self, request, context): + """batch + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BatchFees(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def OutgoingTxBatches(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def LastPendingBatchRequestByAddr(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BatchRequestByNonce(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BatchConfirms(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ERC20ToDenom(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DenomToERC20(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetDelegateKeyByValidator(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetDelegateKeyByEth(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetDelegateKeyByOrchestrator(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PeggyModuleState(self, request, context): + """Retrieves the entire peggy module's state + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def MissingPeggoNonces(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'CurrentValset': grpc.unary_unary_rpc_method_handler( + servicer.CurrentValset, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetResponse.SerializeToString, + ), + 'ValsetRequest': grpc.unary_unary_rpc_method_handler( + servicer.ValsetRequest, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestResponse.SerializeToString, + ), + 'ValsetConfirm': grpc.unary_unary_rpc_method_handler( + servicer.ValsetConfirm, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmResponse.SerializeToString, + ), + 'ValsetConfirmsByNonce': grpc.unary_unary_rpc_method_handler( + servicer.ValsetConfirmsByNonce, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceResponse.SerializeToString, + ), + 'LastValsetRequests': grpc.unary_unary_rpc_method_handler( + servicer.LastValsetRequests, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsResponse.SerializeToString, + ), + 'LastPendingValsetRequestByAddr': grpc.unary_unary_rpc_method_handler( + servicer.LastPendingValsetRequestByAddr, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrResponse.SerializeToString, + ), + 'LastEventByAddr': grpc.unary_unary_rpc_method_handler( + servicer.LastEventByAddr, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrResponse.SerializeToString, + ), + 'GetPendingSendToEth': grpc.unary_unary_rpc_method_handler( + servicer.GetPendingSendToEth, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEth.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEthResponse.SerializeToString, + ), + 'BatchFees': grpc.unary_unary_rpc_method_handler( + servicer.BatchFees, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeResponse.SerializeToString, + ), + 'OutgoingTxBatches': grpc.unary_unary_rpc_method_handler( + servicer.OutgoingTxBatches, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesResponse.SerializeToString, + ), + 'LastPendingBatchRequestByAddr': grpc.unary_unary_rpc_method_handler( + servicer.LastPendingBatchRequestByAddr, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrResponse.SerializeToString, + ), + 'BatchRequestByNonce': grpc.unary_unary_rpc_method_handler( + servicer.BatchRequestByNonce, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceResponse.SerializeToString, + ), + 'BatchConfirms': grpc.unary_unary_rpc_method_handler( + servicer.BatchConfirms, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsResponse.SerializeToString, + ), + 'ERC20ToDenom': grpc.unary_unary_rpc_method_handler( + servicer.ERC20ToDenom, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomResponse.SerializeToString, + ), + 'DenomToERC20': grpc.unary_unary_rpc_method_handler( + servicer.DenomToERC20, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Request.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Response.SerializeToString, + ), + 'GetDelegateKeyByValidator': grpc.unary_unary_rpc_method_handler( + servicer.GetDelegateKeyByValidator, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddress.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddressResponse.SerializeToString, + ), + 'GetDelegateKeyByEth': grpc.unary_unary_rpc_method_handler( + servicer.GetDelegateKeyByEth, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddress.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddressResponse.SerializeToString, + ), + 'GetDelegateKeyByOrchestrator': grpc.unary_unary_rpc_method_handler( + servicer.GetDelegateKeyByOrchestrator, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddress.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddressResponse.SerializeToString, + ), + 'PeggyModuleState': grpc.unary_unary_rpc_method_handler( + servicer.PeggyModuleState, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), + 'MissingPeggoNonces': grpc.unary_unary_rpc_method_handler( + servicer.MissingPeggoNonces, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.peggy.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('injective.peggy.v1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service + """ + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/Params', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CurrentValset(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/CurrentValset', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetRequest.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ValsetRequest(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/ValsetRequest', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestRequest.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ValsetConfirm(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/ValsetConfirm', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmRequest.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ValsetConfirmsByNonce(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/ValsetConfirmsByNonce', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceRequest.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def LastValsetRequests(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/LastValsetRequests', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsRequest.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def LastPendingValsetRequestByAddr(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/LastPendingValsetRequestByAddr', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrRequest.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def LastEventByAddr(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/LastEventByAddr', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrRequest.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPendingSendToEth(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/GetPendingSendToEth', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEth.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEthResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BatchFees(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/BatchFees', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeRequest.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def OutgoingTxBatches(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/OutgoingTxBatches', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesRequest.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def LastPendingBatchRequestByAddr(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/LastPendingBatchRequestByAddr', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrRequest.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BatchRequestByNonce(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/BatchRequestByNonce', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceRequest.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BatchConfirms(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/BatchConfirms', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsRequest.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ERC20ToDenom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/ERC20ToDenom', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomRequest.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DenomToERC20(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/DenomToERC20', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Request.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Response.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetDelegateKeyByValidator(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/GetDelegateKeyByValidator', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddress.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddressResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetDelegateKeyByEth(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/GetDelegateKeyByEth', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddress.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddressResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetDelegateKeyByOrchestrator(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/GetDelegateKeyByOrchestrator', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddress.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddressResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PeggyModuleState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/PeggyModuleState', + injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def MissingPeggoNonces(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.peggy.v1.Query/MissingPeggoNonces', + injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesRequest.SerializeToString, + injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/injective/peggy/v1/types_pb2.py b/pyinjective/proto/injective/peggy/v1/types_pb2.py new file mode 100644 index 00000000..a651b2b2 --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/types_pb2.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/peggy/v1/types.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/peggy/v1/types.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\"R\n\x0f\x42ridgeValidator\x12\x14\n\x05power\x18\x01 \x01(\x04R\x05power\x12)\n\x10\x65thereum_address\x18\x02 \x01(\tR\x0f\x65thereumAddress\"\xdc\x01\n\x06Valset\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12=\n\x07members\x18\x02 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\x07members\x12\x16\n\x06height\x18\x03 \x01(\x04R\x06height\x12\x42\n\rreward_amount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x05 \x01(\tR\x0brewardToken\"\x85\x01\n\x1fLastObservedEthereumBlockHeight\x12.\n\x13\x63osmos_block_height\x18\x01 \x01(\x04R\x11\x63osmosBlockHeight\x12\x32\n\x15\x65thereum_block_height\x18\x02 \x01(\x04R\x13\x65thereumBlockHeight\"v\n\x0eLastClaimEvent\x12\x30\n\x14\x65thereum_event_nonce\x18\x01 \x01(\x04R\x12\x65thereumEventNonce\x12\x32\n\x15\x65thereum_event_height\x18\x02 \x01(\x04R\x13\x65thereumEventHeight\":\n\x0c\x45RC20ToDenom\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nomB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nTypesProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\nTypesProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_VALSET'].fields_by_name['reward_amount']._loaded_options = None + _globals['_VALSET'].fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_BRIDGEVALIDATOR']._serialized_start=76 + _globals['_BRIDGEVALIDATOR']._serialized_end=158 + _globals['_VALSET']._serialized_start=161 + _globals['_VALSET']._serialized_end=381 + _globals['_LASTOBSERVEDETHEREUMBLOCKHEIGHT']._serialized_start=384 + _globals['_LASTOBSERVEDETHEREUMBLOCKHEIGHT']._serialized_end=517 + _globals['_LASTCLAIMEVENT']._serialized_start=519 + _globals['_LASTCLAIMEVENT']._serialized_end=637 + _globals['_ERC20TODENOM']._serialized_start=639 + _globals['_ERC20TODENOM']._serialized_end=697 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/types_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/types_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/peggy/v1/types_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/permissions/v1beta1/events_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/events_pb2.py new file mode 100644 index 00000000..2e4df26b --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/events_pb2.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/permissions/v1beta1/events.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*injective/permissions/v1beta1/events.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\"`\n\x0f\x45ventSetVoucher\x12\x12\n\x04\x61\x64\x64r\x18\x01 \x01(\tR\x04\x61\x64\x64r\x12\x39\n\x07voucher\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07voucherB\x99\x02\n!com.injective.permissions.v1beta1B\x0b\x45ventsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.events_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\013EventsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' + _globals['_EVENTSETVOUCHER'].fields_by_name['voucher']._loaded_options = None + _globals['_EVENTSETVOUCHER'].fields_by_name['voucher']._serialized_options = b'\310\336\037\000' + _globals['_EVENTSETVOUCHER']._serialized_start=163 + _globals['_EVENTSETVOUCHER']._serialized_end=259 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/events_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/events_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/events_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..6fa1a73a --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/permissions/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.injective.permissions.v1beta1 import params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2 +from pyinjective.proto.injective.permissions.v1beta1 import permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+injective/permissions/v1beta1/genesis.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a*injective/permissions/v1beta1/params.proto\x1a/injective/permissions/v1beta1/permissions.proto\"\xa3\x01\n\x0cGenesisState\x12\x43\n\x06params\x18\x01 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12N\n\nnamespaces\x18\x02 \x03(\x0b\x32(.injective.permissions.v1beta1.NamespaceB\x04\xc8\xde\x1f\x00R\nnamespacesB\x9a\x02\n!com.injective.permissions.v1beta1B\x0cGenesisProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\014GenesisProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['namespaces']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['namespaces']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=194 + _globals['_GENESISSTATE']._serialized_end=357 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/permissions/v1beta1/params_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/params_pb2.py new file mode 100644 index 00000000..d6bf69a1 --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/params_pb2.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/permissions/v1beta1/params.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*injective/permissions/v1beta1/params.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"[\n\x06Params\x12\x34\n\x17wasm_hook_query_max_gas\x18\x01 \x01(\x04R\x13wasmHookQueryMaxGas:\x1b\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x12permissions/ParamsB\x99\x02\n!com.injective.permissions.v1beta1B\x0bParamsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.params_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\013ParamsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\022permissions/Params' + _globals['_PARAMS']._serialized_start=177 + _globals['_PARAMS']._serialized_end=268 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/params_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/params_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/params_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py new file mode 100644 index 00000000..cab8953a --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/permissions/v1beta1/permissions.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/injective/permissions/v1beta1/permissions.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\xc9\x02\n\tNamespace\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1b\n\twasm_hook\x18\x02 \x01(\tR\x08wasmHook\x12!\n\x0cmints_paused\x18\x03 \x01(\x08R\x0bmintsPaused\x12!\n\x0csends_paused\x18\x04 \x01(\x08R\x0bsendsPaused\x12!\n\x0c\x62urns_paused\x18\x05 \x01(\x08R\x0b\x62urnsPaused\x12N\n\x10role_permissions\x18\x06 \x03(\x0b\x32#.injective.permissions.v1beta1.RoleR\x0frolePermissions\x12P\n\raddress_roles\x18\x07 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x0c\x61\x64\x64ressRoles\">\n\x0c\x41\x64\x64ressRoles\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12\x14\n\x05roles\x18\x02 \x03(\tR\x05roles\"<\n\x04Role\x12\x12\n\x04role\x18\x01 \x01(\tR\x04role\x12 \n\x0bpermissions\x18\x02 \x01(\rR\x0bpermissions\"$\n\x07RoleIDs\x12\x19\n\x08role_ids\x18\x01 \x03(\rR\x07roleIds\"l\n\x07Voucher\x12\x61\n\x05\x63oins\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x05\x63oins\"l\n\x0e\x41\x64\x64ressVoucher\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\x07voucher\x18\x02 \x01(\x0b\x32&.injective.permissions.v1beta1.VoucherR\x07voucher*:\n\x06\x41\x63tion\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x08\n\x04MINT\x10\x01\x12\x0b\n\x07RECEIVE\x10\x02\x12\x08\n\x04\x42URN\x10\x04\x42\x9e\x02\n!com.injective.permissions.v1beta1B\x10PermissionsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.permissions_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\020PermissionsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' + _globals['_VOUCHER'].fields_by_name['coins']._loaded_options = None + _globals['_VOUCHER'].fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_ACTION']._serialized_start=852 + _globals['_ACTION']._serialized_end=910 + _globals['_NAMESPACE']._serialized_start=137 + _globals['_NAMESPACE']._serialized_end=466 + _globals['_ADDRESSROLES']._serialized_start=468 + _globals['_ADDRESSROLES']._serialized_end=530 + _globals['_ROLE']._serialized_start=532 + _globals['_ROLE']._serialized_end=592 + _globals['_ROLEIDS']._serialized_start=594 + _globals['_ROLEIDS']._serialized_end=630 + _globals['_VOUCHER']._serialized_start=632 + _globals['_VOUCHER']._serialized_end=740 + _globals['_ADDRESSVOUCHER']._serialized_start=742 + _globals['_ADDRESSVOUCHER']._serialized_end=850 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/permissions/v1beta1/query_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/query_pb2.py new file mode 100644 index 00000000..a03ce809 --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/query_pb2.py @@ -0,0 +1,74 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/permissions/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.injective.permissions.v1beta1 import params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2 +from pyinjective.proto.injective.permissions.v1beta1 import genesis_pb2 as injective_dot_permissions_dot_v1beta1_dot_genesis__pb2 +from pyinjective.proto.injective.permissions.v1beta1 import permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/permissions/v1beta1/query.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a*injective/permissions/v1beta1/params.proto\x1a+injective/permissions/v1beta1/genesis.proto\x1a/injective/permissions/v1beta1/permissions.proto\"\x14\n\x12QueryParamsRequest\"Z\n\x13QueryParamsResponse\x12\x43\n\x06params\x18\x01 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1b\n\x19QueryAllNamespacesRequest\"f\n\x1aQueryAllNamespacesResponse\x12H\n\nnamespaces\x18\x01 \x03(\x0b\x32(.injective.permissions.v1beta1.NamespaceR\nnamespaces\"Y\n\x1cQueryNamespaceByDenomRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12#\n\rinclude_roles\x18\x02 \x01(\x08R\x0cincludeRoles\"g\n\x1dQueryNamespaceByDenomResponse\x12\x46\n\tnamespace\x18\x01 \x01(\x0b\x32(.injective.permissions.v1beta1.NamespaceR\tnamespace\"G\n\x1bQueryAddressesByRoleRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x12\n\x04role\x18\x02 \x01(\tR\x04role\"<\n\x1cQueryAddressesByRoleResponse\x12\x1c\n\taddresses\x18\x01 \x03(\tR\taddresses\"J\n\x18QueryAddressRolesRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"1\n\x19QueryAddressRolesResponse\x12\x14\n\x05roles\x18\x01 \x03(\tR\x05roles\":\n\x1eQueryVouchersForAddressRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"\xa0\x01\n\x1fQueryVouchersForAddressResponse\x12}\n\x08vouchers\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xea\xde\x1f\x12vouchers,omitempty\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08vouchers2\x89\t\n\x05Query\x12\x9e\x01\n\x06Params\x12\x31.injective.permissions.v1beta1.QueryParamsRequest\x1a\x32.injective.permissions.v1beta1.QueryParamsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/injective/permissions/v1beta1/params\x12\xbb\x01\n\rAllNamespaces\x12\x38.injective.permissions.v1beta1.QueryAllNamespacesRequest\x1a\x39.injective.permissions.v1beta1.QueryAllNamespacesResponse\"5\x82\xd3\xe4\x93\x02/\x12-/injective/permissions/v1beta1/all_namespaces\x12\xc8\x01\n\x10NamespaceByDenom\x12;.injective.permissions.v1beta1.QueryNamespaceByDenomRequest\x1a<.injective.permissions.v1beta1.QueryNamespaceByDenomResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/permissions/v1beta1/namespace_by_denom\x12\xbb\x01\n\x0c\x41\x64\x64ressRoles\x12\x37.injective.permissions.v1beta1.QueryAddressRolesRequest\x1a\x38.injective.permissions.v1beta1.QueryAddressRolesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/permissions/v1beta1/addresses_by_role\x12\xc4\x01\n\x0f\x41\x64\x64ressesByRole\x12:.injective.permissions.v1beta1.QueryAddressesByRoleRequest\x1a;.injective.permissions.v1beta1.QueryAddressesByRoleResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/permissions/v1beta1/addresses_by_role\x12\xd0\x01\n\x12VouchersForAddress\x12=.injective.permissions.v1beta1.QueryVouchersForAddressRequest\x1a>.injective.permissions.v1beta1.QueryVouchersForAddressResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/permissions/v1beta1/vouchers_for_addressB\x98\x02\n!com.injective.permissions.v1beta1B\nQueryProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\nQueryProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_QUERYVOUCHERSFORADDRESSRESPONSE'].fields_by_name['vouchers']._loaded_options = None + _globals['_QUERYVOUCHERSFORADDRESSRESPONSE'].fields_by_name['vouchers']._serialized_options = b'\310\336\037\000\352\336\037\022vouchers,omitempty\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\'\022%/injective/permissions/v1beta1/params' + _globals['_QUERY'].methods_by_name['AllNamespaces']._loaded_options = None + _globals['_QUERY'].methods_by_name['AllNamespaces']._serialized_options = b'\202\323\344\223\002/\022-/injective/permissions/v1beta1/all_namespaces' + _globals['_QUERY'].methods_by_name['NamespaceByDenom']._loaded_options = None + _globals['_QUERY'].methods_by_name['NamespaceByDenom']._serialized_options = b'\202\323\344\223\0023\0221/injective/permissions/v1beta1/namespace_by_denom' + _globals['_QUERY'].methods_by_name['AddressRoles']._loaded_options = None + _globals['_QUERY'].methods_by_name['AddressRoles']._serialized_options = b'\202\323\344\223\0022\0220/injective/permissions/v1beta1/addresses_by_role' + _globals['_QUERY'].methods_by_name['AddressesByRole']._loaded_options = None + _globals['_QUERY'].methods_by_name['AddressesByRole']._serialized_options = b'\202\323\344\223\0022\0220/injective/permissions/v1beta1/addresses_by_role' + _globals['_QUERY'].methods_by_name['VouchersForAddress']._loaded_options = None + _globals['_QUERY'].methods_by_name['VouchersForAddress']._serialized_options = b'\202\323\344\223\0025\0223/injective/permissions/v1beta1/vouchers_for_address' + _globals['_QUERYPARAMSREQUEST']._serialized_start=342 + _globals['_QUERYPARAMSREQUEST']._serialized_end=362 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=364 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=454 + _globals['_QUERYALLNAMESPACESREQUEST']._serialized_start=456 + _globals['_QUERYALLNAMESPACESREQUEST']._serialized_end=483 + _globals['_QUERYALLNAMESPACESRESPONSE']._serialized_start=485 + _globals['_QUERYALLNAMESPACESRESPONSE']._serialized_end=587 + _globals['_QUERYNAMESPACEBYDENOMREQUEST']._serialized_start=589 + _globals['_QUERYNAMESPACEBYDENOMREQUEST']._serialized_end=678 + _globals['_QUERYNAMESPACEBYDENOMRESPONSE']._serialized_start=680 + _globals['_QUERYNAMESPACEBYDENOMRESPONSE']._serialized_end=783 + _globals['_QUERYADDRESSESBYROLEREQUEST']._serialized_start=785 + _globals['_QUERYADDRESSESBYROLEREQUEST']._serialized_end=856 + _globals['_QUERYADDRESSESBYROLERESPONSE']._serialized_start=858 + _globals['_QUERYADDRESSESBYROLERESPONSE']._serialized_end=918 + _globals['_QUERYADDRESSROLESREQUEST']._serialized_start=920 + _globals['_QUERYADDRESSROLESREQUEST']._serialized_end=994 + _globals['_QUERYADDRESSROLESRESPONSE']._serialized_start=996 + _globals['_QUERYADDRESSROLESRESPONSE']._serialized_end=1045 + _globals['_QUERYVOUCHERSFORADDRESSREQUEST']._serialized_start=1047 + _globals['_QUERYVOUCHERSFORADDRESSREQUEST']._serialized_end=1105 + _globals['_QUERYVOUCHERSFORADDRESSRESPONSE']._serialized_start=1108 + _globals['_QUERYVOUCHERSFORADDRESSRESPONSE']._serialized_end=1268 + _globals['_QUERY']._serialized_start=1271 + _globals['_QUERY']._serialized_end=2432 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..1d335252 --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py @@ -0,0 +1,308 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.injective.permissions.v1beta1 import query_pb2 as injective_dot_permissions_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Params = channel.unary_unary( + '/injective.permissions.v1beta1.Query/Params', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + self.AllNamespaces = channel.unary_unary( + '/injective.permissions.v1beta1.Query/AllNamespaces', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesResponse.FromString, + _registered_method=True) + self.NamespaceByDenom = channel.unary_unary( + '/injective.permissions.v1beta1.Query/NamespaceByDenom', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomResponse.FromString, + _registered_method=True) + self.AddressRoles = channel.unary_unary( + '/injective.permissions.v1beta1.Query/AddressRoles', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesResponse.FromString, + _registered_method=True) + self.AddressesByRole = channel.unary_unary( + '/injective.permissions.v1beta1.Query/AddressesByRole', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleResponse.FromString, + _registered_method=True) + self.VouchersForAddress = channel.unary_unary( + '/injective.permissions.v1beta1.Query/VouchersForAddress', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def Params(self, request, context): + """Params defines a gRPC query method that returns the permissions module's + parameters. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AllNamespaces(self, request, context): + """AllNamespaces defines a gRPC query method that returns the permissions + module's created namespaces. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def NamespaceByDenom(self, request, context): + """NamespaceByDenom defines a gRPC query method that returns the permissions + module's namespace associated with the provided denom. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddressRoles(self, request, context): + """AddressRoles defines a gRPC query method that returns address roles in the + namespace + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddressesByRole(self, request, context): + """AddressesByRole defines a gRPC query method that returns a namespace's + roles associated with the provided address. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def VouchersForAddress(self, request, context): + """VouchersForAddress defines a gRPC query method that returns a map of + vouchers that are held by permissions module for this address, keyed by the + originator address + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'AllNamespaces': grpc.unary_unary_rpc_method_handler( + servicer.AllNamespaces, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesResponse.SerializeToString, + ), + 'NamespaceByDenom': grpc.unary_unary_rpc_method_handler( + servicer.NamespaceByDenom, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomResponse.SerializeToString, + ), + 'AddressRoles': grpc.unary_unary_rpc_method_handler( + servicer.AddressRoles, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesResponse.SerializeToString, + ), + 'AddressesByRole': grpc.unary_unary_rpc_method_handler( + servicer.AddressesByRole, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleResponse.SerializeToString, + ), + 'VouchersForAddress': grpc.unary_unary_rpc_method_handler( + servicer.VouchersForAddress, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.permissions.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('injective.permissions.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.permissions.v1beta1.Query/Params', + injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AllNamespaces(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.permissions.v1beta1.Query/AllNamespaces', + injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesRequest.SerializeToString, + injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def NamespaceByDenom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.permissions.v1beta1.Query/NamespaceByDenom', + injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomRequest.SerializeToString, + injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AddressRoles(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.permissions.v1beta1.Query/AddressRoles', + injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesRequest.SerializeToString, + injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AddressesByRole(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.permissions.v1beta1.Query/AddressesByRole', + injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleRequest.SerializeToString, + injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def VouchersForAddress(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.permissions.v1beta1.Query/VouchersForAddress', + injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressRequest.SerializeToString, + injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py new file mode 100644 index 00000000..0a1dcbbb --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/permissions/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.injective.permissions.v1beta1 import params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2 +from pyinjective.proto.injective.permissions.v1beta1 import permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&injective/permissions/v1beta1/tx.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a*injective/permissions/v1beta1/params.proto\x1a/injective/permissions/v1beta1/permissions.proto\x1a\x11\x61mino/amino.proto\"\xbe\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x43\n\x06params\x18\x02 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:.\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1bpermissions/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xbd\x01\n\x12MsgCreateNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12L\n\tnamespace\x18\x02 \x01(\x0b\x32(.injective.permissions.v1beta1.NamespaceB\x04\xc8\xde\x1f\x00R\tnamespace:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgCreateNamespace\"\x1c\n\x1aMsgCreateNamespaceResponse\"\x98\x01\n\x12MsgDeleteNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgDeleteNamespace\"\x1c\n\x1aMsgDeleteNamespaceResponse\"\xf4\x05\n\x12MsgUpdateNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12]\n\twasm_hook\x18\x03 \x01(\x0b\x32@.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetWasmHookR\x08wasmHook\x12\x66\n\x0cmints_paused\x18\x04 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetMintsPausedR\x0bmintsPaused\x12\x66\n\x0csends_paused\x18\x05 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetSendsPausedR\x0bsendsPaused\x12\x66\n\x0c\x62urns_paused\x18\x06 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetBurnsPausedR\x0b\x62urnsPaused\x1a-\n\x0eMsgSetWasmHook\x12\x1b\n\tnew_value\x18\x01 \x01(\tR\x08newValue\x1a\x30\n\x11MsgSetMintsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue\x1a\x30\n\x11MsgSetSendsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue\x1a\x30\n\x11MsgSetBurnsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgUpdateNamespace\"\x1c\n\x1aMsgUpdateNamespaceResponse\"\xc4\x02\n\x17MsgUpdateNamespaceRoles\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12N\n\x10role_permissions\x18\x03 \x03(\x0b\x32#.injective.permissions.v1beta1.RoleR\x0frolePermissions\x12P\n\raddress_roles\x18\x04 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x0c\x61\x64\x64ressRoles:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#permissions/MsgUpdateNamespaceRoles\"!\n\x1fMsgUpdateNamespaceRolesResponse\"\x86\x02\n\x17MsgRevokeNamespaceRoles\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12\x62\n\x17\x61\x64\x64ress_roles_to_revoke\x18\x03 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x14\x61\x64\x64ressRolesToRevoke:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#permissions/MsgRevokeNamespaceRoles\"!\n\x1fMsgRevokeNamespaceRolesResponse\"\x7f\n\x0fMsgClaimVoucher\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bpermissions/MsgClaimVoucher\"\x19\n\x17MsgClaimVoucherResponse2\xa1\x07\n\x03Msg\x12v\n\x0cUpdateParams\x12..injective.permissions.v1beta1.MsgUpdateParams\x1a\x36.injective.permissions.v1beta1.MsgUpdateParamsResponse\x12\x7f\n\x0f\x43reateNamespace\x12\x31.injective.permissions.v1beta1.MsgCreateNamespace\x1a\x39.injective.permissions.v1beta1.MsgCreateNamespaceResponse\x12\x7f\n\x0f\x44\x65leteNamespace\x12\x31.injective.permissions.v1beta1.MsgDeleteNamespace\x1a\x39.injective.permissions.v1beta1.MsgDeleteNamespaceResponse\x12\x7f\n\x0fUpdateNamespace\x12\x31.injective.permissions.v1beta1.MsgUpdateNamespace\x1a\x39.injective.permissions.v1beta1.MsgUpdateNamespaceResponse\x12\x8e\x01\n\x14UpdateNamespaceRoles\x12\x36.injective.permissions.v1beta1.MsgUpdateNamespaceRoles\x1a>.injective.permissions.v1beta1.MsgUpdateNamespaceRolesResponse\x12\x8e\x01\n\x14RevokeNamespaceRoles\x12\x36.injective.permissions.v1beta1.MsgRevokeNamespaceRoles\x1a>.injective.permissions.v1beta1.MsgRevokeNamespaceRolesResponse\x12v\n\x0c\x43laimVoucher\x12..injective.permissions.v1beta1.MsgClaimVoucher\x1a\x36.injective.permissions.v1beta1.MsgClaimVoucherResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x95\x02\n!com.injective.permissions.v1beta1B\x07TxProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\007TxProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\033permissions/MsgUpdateParams' + _globals['_MSGCREATENAMESPACE'].fields_by_name['sender']._loaded_options = None + _globals['_MSGCREATENAMESPACE'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGCREATENAMESPACE'].fields_by_name['namespace']._loaded_options = None + _globals['_MSGCREATENAMESPACE'].fields_by_name['namespace']._serialized_options = b'\310\336\037\000' + _globals['_MSGCREATENAMESPACE']._loaded_options = None + _globals['_MSGCREATENAMESPACE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036permissions/MsgCreateNamespace' + _globals['_MSGDELETENAMESPACE'].fields_by_name['sender']._loaded_options = None + _globals['_MSGDELETENAMESPACE'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGDELETENAMESPACE']._loaded_options = None + _globals['_MSGDELETENAMESPACE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036permissions/MsgDeleteNamespace' + _globals['_MSGUPDATENAMESPACE'].fields_by_name['sender']._loaded_options = None + _globals['_MSGUPDATENAMESPACE'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGUPDATENAMESPACE']._loaded_options = None + _globals['_MSGUPDATENAMESPACE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036permissions/MsgUpdateNamespace' + _globals['_MSGUPDATENAMESPACEROLES'].fields_by_name['sender']._loaded_options = None + _globals['_MSGUPDATENAMESPACEROLES'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGUPDATENAMESPACEROLES']._loaded_options = None + _globals['_MSGUPDATENAMESPACEROLES']._serialized_options = b'\202\347\260*\006sender\212\347\260*#permissions/MsgUpdateNamespaceRoles' + _globals['_MSGREVOKENAMESPACEROLES'].fields_by_name['sender']._loaded_options = None + _globals['_MSGREVOKENAMESPACEROLES'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGREVOKENAMESPACEROLES']._loaded_options = None + _globals['_MSGREVOKENAMESPACEROLES']._serialized_options = b'\202\347\260*\006sender\212\347\260*#permissions/MsgRevokeNamespaceRoles' + _globals['_MSGCLAIMVOUCHER'].fields_by_name['sender']._loaded_options = None + _globals['_MSGCLAIMVOUCHER'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGCLAIMVOUCHER']._loaded_options = None + _globals['_MSGCLAIMVOUCHER']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033permissions/MsgClaimVoucher' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGUPDATEPARAMS']._serialized_start=324 + _globals['_MSGUPDATEPARAMS']._serialized_end=514 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=516 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=541 + _globals['_MSGCREATENAMESPACE']._serialized_start=544 + _globals['_MSGCREATENAMESPACE']._serialized_end=733 + _globals['_MSGCREATENAMESPACERESPONSE']._serialized_start=735 + _globals['_MSGCREATENAMESPACERESPONSE']._serialized_end=763 + _globals['_MSGDELETENAMESPACE']._serialized_start=766 + _globals['_MSGDELETENAMESPACE']._serialized_end=918 + _globals['_MSGDELETENAMESPACERESPONSE']._serialized_start=920 + _globals['_MSGDELETENAMESPACERESPONSE']._serialized_end=948 + _globals['_MSGUPDATENAMESPACE']._serialized_start=951 + _globals['_MSGUPDATENAMESPACE']._serialized_end=1707 + _globals['_MSGUPDATENAMESPACE_MSGSETWASMHOOK']._serialized_start=1464 + _globals['_MSGUPDATENAMESPACE_MSGSETWASMHOOK']._serialized_end=1509 + _globals['_MSGUPDATENAMESPACE_MSGSETMINTSPAUSED']._serialized_start=1511 + _globals['_MSGUPDATENAMESPACE_MSGSETMINTSPAUSED']._serialized_end=1559 + _globals['_MSGUPDATENAMESPACE_MSGSETSENDSPAUSED']._serialized_start=1561 + _globals['_MSGUPDATENAMESPACE_MSGSETSENDSPAUSED']._serialized_end=1609 + _globals['_MSGUPDATENAMESPACE_MSGSETBURNSPAUSED']._serialized_start=1611 + _globals['_MSGUPDATENAMESPACE_MSGSETBURNSPAUSED']._serialized_end=1659 + _globals['_MSGUPDATENAMESPACERESPONSE']._serialized_start=1709 + _globals['_MSGUPDATENAMESPACERESPONSE']._serialized_end=1737 + _globals['_MSGUPDATENAMESPACEROLES']._serialized_start=1740 + _globals['_MSGUPDATENAMESPACEROLES']._serialized_end=2064 + _globals['_MSGUPDATENAMESPACEROLESRESPONSE']._serialized_start=2066 + _globals['_MSGUPDATENAMESPACEROLESRESPONSE']._serialized_end=2099 + _globals['_MSGREVOKENAMESPACEROLES']._serialized_start=2102 + _globals['_MSGREVOKENAMESPACEROLES']._serialized_end=2364 + _globals['_MSGREVOKENAMESPACEROLESRESPONSE']._serialized_start=2366 + _globals['_MSGREVOKENAMESPACEROLESRESPONSE']._serialized_end=2399 + _globals['_MSGCLAIMVOUCHER']._serialized_start=2401 + _globals['_MSGCLAIMVOUCHER']._serialized_end=2528 + _globals['_MSGCLAIMVOUCHERRESPONSE']._serialized_start=2530 + _globals['_MSGCLAIMVOUCHERRESPONSE']._serialized_end=2555 + _globals['_MSG']._serialized_start=2558 + _globals['_MSG']._serialized_end=3487 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..dbfc052d --- /dev/null +++ b/pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,338 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.injective.permissions.v1beta1 import tx_pb2 as injective_dot_permissions_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the permissions module's gRPC message service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.UpdateParams = channel.unary_unary( + '/injective.permissions.v1beta1.Msg/UpdateParams', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + self.CreateNamespace = channel.unary_unary( + '/injective.permissions.v1beta1.Msg/CreateNamespace', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespace.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespaceResponse.FromString, + _registered_method=True) + self.DeleteNamespace = channel.unary_unary( + '/injective.permissions.v1beta1.Msg/DeleteNamespace', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespace.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespaceResponse.FromString, + _registered_method=True) + self.UpdateNamespace = channel.unary_unary( + '/injective.permissions.v1beta1.Msg/UpdateNamespace', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespace.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceResponse.FromString, + _registered_method=True) + self.UpdateNamespaceRoles = channel.unary_unary( + '/injective.permissions.v1beta1.Msg/UpdateNamespaceRoles', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRoles.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRolesResponse.FromString, + _registered_method=True) + self.RevokeNamespaceRoles = channel.unary_unary( + '/injective.permissions.v1beta1.Msg/RevokeNamespaceRoles', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRoles.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRolesResponse.FromString, + _registered_method=True) + self.ClaimVoucher = channel.unary_unary( + '/injective.permissions.v1beta1.Msg/ClaimVoucher', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucher.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucherResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the permissions module's gRPC message service. + """ + + def UpdateParams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateNamespace(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteNamespace(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateNamespace(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateNamespaceRoles(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RevokeNamespaceRoles(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ClaimVoucher(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'CreateNamespace': grpc.unary_unary_rpc_method_handler( + servicer.CreateNamespace, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespace.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespaceResponse.SerializeToString, + ), + 'DeleteNamespace': grpc.unary_unary_rpc_method_handler( + servicer.DeleteNamespace, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespace.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespaceResponse.SerializeToString, + ), + 'UpdateNamespace': grpc.unary_unary_rpc_method_handler( + servicer.UpdateNamespace, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespace.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceResponse.SerializeToString, + ), + 'UpdateNamespaceRoles': grpc.unary_unary_rpc_method_handler( + servicer.UpdateNamespaceRoles, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRoles.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRolesResponse.SerializeToString, + ), + 'RevokeNamespaceRoles': grpc.unary_unary_rpc_method_handler( + servicer.RevokeNamespaceRoles, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRoles.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRolesResponse.SerializeToString, + ), + 'ClaimVoucher': grpc.unary_unary_rpc_method_handler( + servicer.ClaimVoucher, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucher.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucherResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.permissions.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('injective.permissions.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the permissions module's gRPC message service. + """ + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.permissions.v1beta1.Msg/UpdateParams', + injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreateNamespace(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.permissions.v1beta1.Msg/CreateNamespace', + injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespace.SerializeToString, + injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespaceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteNamespace(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.permissions.v1beta1.Msg/DeleteNamespace', + injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespace.SerializeToString, + injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespaceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateNamespace(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.permissions.v1beta1.Msg/UpdateNamespace', + injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespace.SerializeToString, + injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateNamespaceRoles(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.permissions.v1beta1.Msg/UpdateNamespaceRoles', + injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRoles.SerializeToString, + injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRolesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RevokeNamespaceRoles(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.permissions.v1beta1.Msg/RevokeNamespaceRoles', + injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRoles.SerializeToString, + injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRolesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ClaimVoucher(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.permissions.v1beta1.Msg/ClaimVoucher', + injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucher.SerializeToString, + injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucherResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/injective/stream/v1beta1/query_pb2.py b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py new file mode 100644 index 00000000..e2952511 --- /dev/null +++ b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py @@ -0,0 +1,141 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/stream/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.injective.exchange.v1beta1 import events_pb2 as injective_dot_exchange_dot_v1beta1_dot_events__pb2 +from pyinjective.proto.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\"\x82\n\n\rStreamRequest\x12\x64\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32,.injective.stream.v1beta1.BankBalancesFilterB\x04\xc8\xde\x1f\x01R\x12\x62\x61nkBalancesFilter\x12v\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32\x32.injective.stream.v1beta1.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01R\x18subaccountDepositsFilter\x12Z\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01R\x10spotTradesFilter\x12\x66\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01R\x16\x64\x65rivativeTradesFilter\x12Z\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01R\x10spotOrdersFilter\x12\x66\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01R\x16\x64\x65rivativeOrdersFilter\x12\x65\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01R\x14spotOrderbooksFilter\x12q\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01R\x1a\x64\x65rivativeOrderbooksFilter\x12Z\n\x10positions_filter\x18\t \x01(\x0b\x32).injective.stream.v1beta1.PositionsFilterB\x04\xc8\xde\x1f\x01R\x0fpositionsFilter\x12\x61\n\x13oracle_price_filter\x18\n \x01(\x0b\x32+.injective.stream.v1beta1.OraclePriceFilterB\x04\xc8\xde\x1f\x01R\x11oraclePriceFilter\x12r\n\x1b\x66ull_spot_orderbooks_filter\x18\x0b \x01(\x0b\x32-.injective.stream.v1beta1.FullOrderbookFilterB\x04\xc8\xde\x1f\x01R\x18\x66ullSpotOrderbooksFilter\x12~\n!full_derivative_orderbooks_filter\x18\x0c \x01(\x0b\x32-.injective.stream.v1beta1.FullOrderbookFilterB\x04\xc8\xde\x1f\x01R\x1e\x66ullDerivativeOrderbooksFilter\"\x89\t\n\x0eStreamResponse\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\x12\x1d\n\nblock_time\x18\x02 \x01(\x03R\tblockTime\x12J\n\rbank_balances\x18\x03 \x03(\x0b\x32%.injective.stream.v1beta1.BankBalanceR\x0c\x62\x61nkBalances\x12]\n\x13subaccount_deposits\x18\x04 \x03(\x0b\x32,.injective.stream.v1beta1.SubaccountDepositsR\x12subaccountDeposits\x12\x44\n\x0bspot_trades\x18\x05 \x03(\x0b\x32#.injective.stream.v1beta1.SpotTradeR\nspotTrades\x12V\n\x11\x64\x65rivative_trades\x18\x06 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeTradeR\x10\x64\x65rivativeTrades\x12J\n\x0bspot_orders\x18\x07 \x03(\x0b\x32).injective.stream.v1beta1.SpotOrderUpdateR\nspotOrders\x12\\\n\x11\x64\x65rivative_orders\x18\x08 \x03(\x0b\x32/.injective.stream.v1beta1.DerivativeOrderUpdateR\x10\x64\x65rivativeOrders\x12_\n\x16spot_orderbook_updates\x18\t \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdateR\x14spotOrderbookUpdates\x12k\n\x1c\x64\x65rivative_orderbook_updates\x18\n \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdateR\x1a\x64\x65rivativeOrderbookUpdates\x12@\n\tpositions\x18\x0b \x03(\x0b\x32\".injective.stream.v1beta1.PositionR\tpositions\x12J\n\roracle_prices\x18\x0c \x03(\x0b\x32%.injective.stream.v1beta1.OraclePriceR\x0coraclePrices\x12l\n\x1b\x66ull_spot_orderbook_updates\x18\r \x03(\x0b\x32-.injective.stream.v1beta1.FullOrderbookUpdateR\x18\x66ullSpotOrderbookUpdates\x12x\n!full_derivative_orderbook_updates\x18\x0e \x03(\x0b\x32-.injective.stream.v1beta1.FullOrderbookUpdateR\x1e\x66ullDerivativeOrderbookUpdates\"n\n\x13\x46ullOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x45\n\torderbook\x18\x02 \x01(\x0b\x32\'.injective.stream.v1beta1.FullOrderbookR\torderbook\"f\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x41\n\torderbook\x18\x02 \x01(\x0b\x32#.injective.stream.v1beta1.OrderbookR\torderbook\"\xae\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12@\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\tbuyLevels\x12\x42\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\nsellLevels\"\xb4\x01\n\rFullOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x04\x62uys\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x62uys\x12\x43\n\x05sells\x18\x03 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x05sells\"\x90\x01\n\x0b\x42\x61nkBalance\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12g\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.CoinsR\x08\x62\x61lances\"\x88\x01\n\x12SubaccountDeposits\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12M\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32+.injective.stream.v1beta1.SubaccountDepositB\x04\xc8\xde\x1f\x00R\x08\x64\x65posits\"n\n\x11SubaccountDeposit\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x43\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit\"\xc2\x01\n\x0fSpotOrderUpdate\x12\x43\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatusR\x06status\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12\x39\n\x05order\x18\x04 \x01(\x0b\x32#.injective.stream.v1beta1.SpotOrderR\x05order\"p\n\tSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\"\xce\x01\n\x15\x44\x65rivativeOrderUpdate\x12\x43\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatusR\x06status\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12?\n\x05order\x18\x04 \x01(\x0b\x32).injective.stream.v1beta1.DerivativeOrderR\x05order\"\x99\x01\n\x0f\x44\x65rivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\x05order\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\x12\x1b\n\tis_market\x18\x03 \x01(\x08R\x08isMarket\"\x87\x03\n\x08Position\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x16\n\x06isLong\x18\x03 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12;\n\x06margin\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12]\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16\x63umulativeFundingEntry\"t\n\x0bOraclePrice\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\"\xc3\x03\n\tSpotTrade\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12$\n\rexecutionType\x18\x03 \x01(\tR\rexecutionType\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12#\n\rsubaccount_id\x18\x06 \x01(\tR\x0csubaccountId\x12\x35\n\x03\x66\x65\x65\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x08 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\n \x01(\tR\x03\x63id\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\"\xdc\x03\n\x0f\x44\x65rivativeTrade\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12$\n\rexecutionType\x18\x03 \x01(\tR\rexecutionType\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12P\n\x0eposition_delta\x18\x05 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaR\rpositionDelta\x12;\n\x06payout\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout\x12\x35\n\x03\x66\x65\x65\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x08 \x01(\tR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\n \x01(\tR\x03\x63id\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\"T\n\x0cTradesFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"W\n\x0fPositionsFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"T\n\x0cOrdersFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"0\n\x0fOrderbookFilter\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"4\n\x13\x46ullOrderbookFilter\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"0\n\x12\x42\x61nkBalancesFilter\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\"A\n\x18SubaccountDepositsFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\"+\n\x11OraclePriceFilter\x12\x16\n\x06symbol\x18\x01 \x03(\tR\x06symbol*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\xf2\x01\n\x1c\x63om.injective.stream.v1beta1B\nQueryProtoP\x01ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/types\xa2\x02\x03ISX\xaa\x02\x18Injective.Stream.V1beta1\xca\x02\x18Injective\\Stream\\V1beta1\xe2\x02$Injective\\Stream\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Stream::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.stream.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.stream.v1beta1B\nQueryProtoP\001ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/types\242\002\003ISX\252\002\030Injective.Stream.V1beta1\312\002\030Injective\\Stream\\V1beta1\342\002$Injective\\Stream\\V1beta1\\GPBMetadata\352\002\032Injective::Stream::V1beta1' + _globals['_STREAMREQUEST'].fields_by_name['bank_balances_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['bank_balances_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['subaccount_deposits_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['subaccount_deposits_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['spot_trades_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['spot_trades_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['derivative_trades_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['derivative_trades_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['spot_orders_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['spot_orders_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['derivative_orders_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['derivative_orders_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['spot_orderbooks_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['spot_orderbooks_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['derivative_orderbooks_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['derivative_orderbooks_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['positions_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['positions_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['oracle_price_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['oracle_price_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['full_spot_orderbooks_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['full_spot_orderbooks_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['full_derivative_orderbooks_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['full_derivative_orderbooks_filter']._serialized_options = b'\310\336\037\001' + _globals['_BANKBALANCE'].fields_by_name['balances']._loaded_options = None + _globals['_BANKBALANCE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_SUBACCOUNTDEPOSITS'].fields_by_name['deposits']._loaded_options = None + _globals['_SUBACCOUNTDEPOSITS'].fields_by_name['deposits']._serialized_options = b'\310\336\037\000' + _globals['_SUBACCOUNTDEPOSIT'].fields_by_name['deposit']._loaded_options = None + _globals['_SUBACCOUNTDEPOSIT'].fields_by_name['deposit']._serialized_options = b'\310\336\037\000' + _globals['_SPOTORDER'].fields_by_name['order']._loaded_options = None + _globals['_SPOTORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_DERIVATIVEORDER'].fields_by_name['order']._loaded_options = None + _globals['_DERIVATIVEORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_POSITION'].fields_by_name['quantity']._loaded_options = None + _globals['_POSITION'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITION'].fields_by_name['entry_price']._loaded_options = None + _globals['_POSITION'].fields_by_name['entry_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITION'].fields_by_name['margin']._loaded_options = None + _globals['_POSITION'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITION'].fields_by_name['cumulative_funding_entry']._loaded_options = None + _globals['_POSITION'].fields_by_name['cumulative_funding_entry']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_ORACLEPRICE'].fields_by_name['price']._loaded_options = None + _globals['_ORACLEPRICE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTTRADE'].fields_by_name['quantity']._loaded_options = None + _globals['_SPOTTRADE'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTTRADE'].fields_by_name['price']._loaded_options = None + _globals['_SPOTTRADE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTTRADE'].fields_by_name['fee']._loaded_options = None + _globals['_SPOTTRADE'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTTRADE'].fields_by_name['fee_recipient_address']._loaded_options = None + _globals['_SPOTTRADE'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' + _globals['_DERIVATIVETRADE'].fields_by_name['payout']._loaded_options = None + _globals['_DERIVATIVETRADE'].fields_by_name['payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVETRADE'].fields_by_name['fee']._loaded_options = None + _globals['_DERIVATIVETRADE'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVETRADE'].fields_by_name['fee_recipient_address']._loaded_options = None + _globals['_DERIVATIVETRADE'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' + _globals['_ORDERUPDATESTATUS']._serialized_start=6275 + _globals['_ORDERUPDATESTATUS']._serialized_end=6351 + _globals['_STREAMREQUEST']._serialized_start=205 + _globals['_STREAMREQUEST']._serialized_end=1487 + _globals['_STREAMRESPONSE']._serialized_start=1490 + _globals['_STREAMRESPONSE']._serialized_end=2651 + _globals['_FULLORDERBOOKUPDATE']._serialized_start=2653 + _globals['_FULLORDERBOOKUPDATE']._serialized_end=2763 + _globals['_ORDERBOOKUPDATE']._serialized_start=2765 + _globals['_ORDERBOOKUPDATE']._serialized_end=2867 + _globals['_ORDERBOOK']._serialized_start=2870 + _globals['_ORDERBOOK']._serialized_end=3044 + _globals['_FULLORDERBOOK']._serialized_start=3047 + _globals['_FULLORDERBOOK']._serialized_end=3227 + _globals['_BANKBALANCE']._serialized_start=3230 + _globals['_BANKBALANCE']._serialized_end=3374 + _globals['_SUBACCOUNTDEPOSITS']._serialized_start=3377 + _globals['_SUBACCOUNTDEPOSITS']._serialized_end=3513 + _globals['_SUBACCOUNTDEPOSIT']._serialized_start=3515 + _globals['_SUBACCOUNTDEPOSIT']._serialized_end=3625 + _globals['_SPOTORDERUPDATE']._serialized_start=3628 + _globals['_SPOTORDERUPDATE']._serialized_end=3822 + _globals['_SPOTORDER']._serialized_start=3824 + _globals['_SPOTORDER']._serialized_end=3936 + _globals['_DERIVATIVEORDERUPDATE']._serialized_start=3939 + _globals['_DERIVATIVEORDERUPDATE']._serialized_end=4145 + _globals['_DERIVATIVEORDER']._serialized_start=4148 + _globals['_DERIVATIVEORDER']._serialized_end=4301 + _globals['_POSITION']._serialized_start=4304 + _globals['_POSITION']._serialized_end=4695 + _globals['_ORACLEPRICE']._serialized_start=4697 + _globals['_ORACLEPRICE']._serialized_end=4813 + _globals['_SPOTTRADE']._serialized_start=4816 + _globals['_SPOTTRADE']._serialized_end=5267 + _globals['_DERIVATIVETRADE']._serialized_start=5270 + _globals['_DERIVATIVETRADE']._serialized_end=5746 + _globals['_TRADESFILTER']._serialized_start=5748 + _globals['_TRADESFILTER']._serialized_end=5832 + _globals['_POSITIONSFILTER']._serialized_start=5834 + _globals['_POSITIONSFILTER']._serialized_end=5921 + _globals['_ORDERSFILTER']._serialized_start=5923 + _globals['_ORDERSFILTER']._serialized_end=6007 + _globals['_ORDERBOOKFILTER']._serialized_start=6009 + _globals['_ORDERBOOKFILTER']._serialized_end=6057 + _globals['_FULLORDERBOOKFILTER']._serialized_start=6059 + _globals['_FULLORDERBOOKFILTER']._serialized_end=6111 + _globals['_BANKBALANCESFILTER']._serialized_start=6113 + _globals['_BANKBALANCESFILTER']._serialized_end=6161 + _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_start=6163 + _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_end=6228 + _globals['_ORACLEPRICEFILTER']._serialized_start=6230 + _globals['_ORACLEPRICEFILTER']._serialized_end=6273 + _globals['_STREAM']._serialized_start=6353 + _globals['_STREAM']._serialized_end=6456 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..d60a571a --- /dev/null +++ b/pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py @@ -0,0 +1,80 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.injective.stream.v1beta1 import query_pb2 as injective_dot_stream_dot_v1beta1_dot_query__pb2 + + +class StreamStub(object): + """ChainStream defines the gRPC streaming service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Stream = channel.unary_stream( + '/injective.stream.v1beta1.Stream/Stream', + request_serializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamRequest.SerializeToString, + response_deserializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamResponse.FromString, + _registered_method=True) + + +class StreamServicer(object): + """ChainStream defines the gRPC streaming service. + """ + + def Stream(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_StreamServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Stream': grpc.unary_stream_rpc_method_handler( + servicer.Stream, + request_deserializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamRequest.FromString, + response_serializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.stream.v1beta1.Stream', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('injective.stream.v1beta1.Stream', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Stream(object): + """ChainStream defines the gRPC streaming service. + """ + + @staticmethod + def Stream(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, + '/injective.stream.v1beta1.Stream/Stream', + injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamRequest.SerializeToString, + injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py new file mode 100644 index 00000000..00205780 --- /dev/null +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/tokenfactory/v1beta1/authorityMetadata.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6injective/tokenfactory/v1beta1/authorityMetadata.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"F\n\x16\x44\x65nomAuthorityMetadata\x12&\n\x05\x61\x64min\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"admin\"R\x05\x61\x64min:\x04\xe8\xa0\x1f\x01\x42\xaa\x02\n\"com.injective.tokenfactory.v1beta1B\x16\x41uthorityMetadataProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.authorityMetadata_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\026AuthorityMetadataProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + _globals['_DENOMAUTHORITYMETADATA'].fields_by_name['admin']._loaded_options = None + _globals['_DENOMAUTHORITYMETADATA'].fields_by_name['admin']._serialized_options = b'\362\336\037\014yaml:\"admin\"' + _globals['_DENOMAUTHORITYMETADATA']._loaded_options = None + _globals['_DENOMAUTHORITYMETADATA']._serialized_options = b'\350\240\037\001' + _globals['_DENOMAUTHORITYMETADATA']._serialized_start=144 + _globals['_DENOMAUTHORITYMETADATA']._serialized_end=214 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py new file mode 100644 index 00000000..8ef8bf5c --- /dev/null +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/tokenfactory/v1beta1/events.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+injective/tokenfactory/v1beta1/events.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\"D\n\x12\x45ventCreateTFDenom\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\"x\n\x10\x45ventMintTFDenom\x12+\n\x11recipient_address\x18\x01 \x01(\tR\x10recipientAddress\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"p\n\x0e\x45ventBurnDenom\x12%\n\x0e\x62urner_address\x18\x01 \x01(\tR\rburnerAddress\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"V\n\x12\x45ventChangeTFAdmin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12*\n\x11new_admin_address\x18\x02 \x01(\tR\x0fnewAdminAddress\"p\n\x17\x45ventSetTFDenomMetadata\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12?\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x04\xc8\xde\x1f\x00R\x08metadataB\x9f\x02\n\"com.injective.tokenfactory.v1beta1B\x0b\x45ventsProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.events_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\013EventsProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + _globals['_EVENTMINTTFDENOM'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTMINTTFDENOM'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_EVENTBURNDENOM'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTBURNDENOM'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_EVENTSETTFDENOMMETADATA'].fields_by_name['metadata']._loaded_options = None + _globals['_EVENTSETTFDENOMMETADATA'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000' + _globals['_EVENTCREATETFDENOM']._serialized_start=221 + _globals['_EVENTCREATETFDENOM']._serialized_end=289 + _globals['_EVENTMINTTFDENOM']._serialized_start=291 + _globals['_EVENTMINTTFDENOM']._serialized_end=411 + _globals['_EVENTBURNDENOM']._serialized_start=413 + _globals['_EVENTBURNDENOM']._serialized_end=525 + _globals['_EVENTCHANGETFADMIN']._serialized_start=527 + _globals['_EVENTCHANGETFADMIN']._serialized_end=613 + _globals['_EVENTSETTFDENOMMETADATA']._serialized_start=615 + _globals['_EVENTSETTFDENOMMETADATA']._serialized_end=727 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py new file mode 100644 index 00000000..8dfd3aac --- /dev/null +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/tokenfactory/v1beta1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,injective/tokenfactory/v1beta1/genesis.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a+injective/tokenfactory/v1beta1/params.proto\"\xc8\x01\n\x0cGenesisState\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12r\n\x0e\x66\x61\x63tory_denoms\x18\x02 \x03(\x0b\x32,.injective.tokenfactory.v1beta1.GenesisDenomB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"factory_denoms\"R\rfactoryDenoms\"\xc8\x02\n\x0cGenesisDenom\x12&\n\x05\x64\x65nom\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"R\x05\x64\x65nom\x12\x88\x01\n\x12\x61uthority_metadata\x18\x02 \x01(\x0b\x32\x36.injective.tokenfactory.v1beta1.DenomAuthorityMetadataB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"authority_metadata\"R\x11\x61uthorityMetadata\x12#\n\x04name\x18\x03 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:\"name\"R\x04name\x12)\n\x06symbol\x18\x04 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"symbol\"R\x06symbol\x12/\n\x08\x64\x65\x63imals\x18\x05 \x01(\rB\x13\xf2\xde\x1f\x0fyaml:\"decimals\"R\x08\x64\x65\x63imals:\x04\xe8\xa0\x1f\x01\x42\xa0\x02\n\"com.injective.tokenfactory.v1beta1B\x0cGenesisProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\014GenesisProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['factory_denoms']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['factory_denoms']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"factory_denoms\"' + _globals['_GENESISDENOM'].fields_by_name['denom']._loaded_options = None + _globals['_GENESISDENOM'].fields_by_name['denom']._serialized_options = b'\362\336\037\014yaml:\"denom\"' + _globals['_GENESISDENOM'].fields_by_name['authority_metadata']._loaded_options = None + _globals['_GENESISDENOM'].fields_by_name['authority_metadata']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"authority_metadata\"' + _globals['_GENESISDENOM'].fields_by_name['name']._loaded_options = None + _globals['_GENESISDENOM'].fields_by_name['name']._serialized_options = b'\362\336\037\013yaml:\"name\"' + _globals['_GENESISDENOM'].fields_by_name['symbol']._loaded_options = None + _globals['_GENESISDENOM'].fields_by_name['symbol']._serialized_options = b'\362\336\037\ryaml:\"symbol\"' + _globals['_GENESISDENOM'].fields_by_name['decimals']._loaded_options = None + _globals['_GENESISDENOM'].fields_by_name['decimals']._serialized_options = b'\362\336\037\017yaml:\"decimals\"' + _globals['_GENESISDENOM']._loaded_options = None + _globals['_GENESISDENOM']._serialized_options = b'\350\240\037\001' + _globals['_GENESISSTATE']._serialized_start=204 + _globals['_GENESISSTATE']._serialized_end=404 + _globals['_GENESISDENOM']._serialized_start=407 + _globals['_GENESISDENOM']._serialized_end=735 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py new file mode 100644 index 00000000..a234316c --- /dev/null +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/tokenfactory/v1beta1/params.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+injective/tokenfactory/v1beta1/params.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"\xc5\x01\n\x06Params\x12\x96\x01\n\x12\x64\x65nom_creation_fee\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBM\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"denom_creation_fee\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x10\x64\x65nomCreationFee:\"\x8a\xe7\xb0*\x1dinjective/tokenfactory/ParamsB\x9f\x02\n\"com.injective.tokenfactory.v1beta1B\x0bParamsProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.params_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\013ParamsProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + _globals['_PARAMS'].fields_by_name['denom_creation_fee']._loaded_options = None + _globals['_PARAMS'].fields_by_name['denom_creation_fee']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"denom_creation_fee\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\212\347\260*\035injective/tokenfactory/Params' + _globals['_PARAMS']._serialized_start=236 + _globals['_PARAMS']._serialized_end=433 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py new file mode 100644 index 00000000..047ca535 --- /dev/null +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py @@ -0,0 +1,69 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/tokenfactory/v1beta1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import genesis_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_genesis__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*injective/tokenfactory/v1beta1/query.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a+injective/tokenfactory/v1beta1/params.proto\x1a,injective/tokenfactory/v1beta1/genesis.proto\"\x14\n\x12QueryParamsRequest\"[\n\x13QueryParamsResponse\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x83\x01\n\"QueryDenomAuthorityMetadataRequest\x12*\n\x07\x63reator\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"R\x07\x63reator\x12\x31\n\tsub_denom\x18\x02 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"sub_denom\"R\x08subDenom\"\xb0\x01\n#QueryDenomAuthorityMetadataResponse\x12\x88\x01\n\x12\x61uthority_metadata\x18\x01 \x01(\x0b\x32\x36.injective.tokenfactory.v1beta1.DenomAuthorityMetadataB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"authority_metadata\"R\x11\x61uthorityMetadata\"M\n\x1dQueryDenomsFromCreatorRequest\x12,\n\x07\x63reator\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"creator\"R\x07\x63reator\"K\n\x1eQueryDenomsFromCreatorResponse\x12)\n\x06\x64\x65noms\x18\x01 \x03(\tB\x11\xf2\xde\x1f\ryaml:\"denoms\"R\x06\x64\x65noms\"\x19\n\x17QueryModuleStateRequest\"^\n\x18QueryModuleStateResponse\x12\x42\n\x05state\x18\x01 \x01(\x0b\x32,.injective.tokenfactory.v1beta1.GenesisStateR\x05state2\xc9\x06\n\x05Query\x12\xa1\x01\n\x06Params\x12\x32.injective.tokenfactory.v1beta1.QueryParamsRequest\x1a\x33.injective.tokenfactory.v1beta1.QueryParamsResponse\".\x82\xd3\xe4\x93\x02(\x12&/injective/tokenfactory/v1beta1/params\x12\xfa\x01\n\x16\x44\x65nomAuthorityMetadata\x12\x42.injective.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest\x1a\x43.injective.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse\"W\x82\xd3\xe4\x93\x02Q\x12O/injective/tokenfactory/v1beta1/denoms/{creator}/{sub_denom}/authority_metadata\x12\xd9\x01\n\x11\x44\x65nomsFromCreator\x12=.injective.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest\x1a>.injective.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse\"E\x82\xd3\xe4\x93\x02?\x12=/injective/tokenfactory/v1beta1/denoms_from_creator/{creator}\x12\xc2\x01\n\x17TokenfactoryModuleState\x12\x37.injective.tokenfactory.v1beta1.QueryModuleStateRequest\x1a\x38.injective.tokenfactory.v1beta1.QueryModuleStateResponse\"4\x82\xd3\xe4\x93\x02.\x12,/injective/tokenfactory/v1beta1/module_stateB\x9e\x02\n\"com.injective.tokenfactory.v1beta1B\nQueryProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\nQueryProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST'].fields_by_name['creator']._loaded_options = None + _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST'].fields_by_name['creator']._serialized_options = b'\362\336\037\014yaml:\"denom\"' + _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST'].fields_by_name['sub_denom']._loaded_options = None + _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST'].fields_by_name['sub_denom']._serialized_options = b'\362\336\037\020yaml:\"sub_denom\"' + _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE'].fields_by_name['authority_metadata']._loaded_options = None + _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE'].fields_by_name['authority_metadata']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"authority_metadata\"' + _globals['_QUERYDENOMSFROMCREATORREQUEST'].fields_by_name['creator']._loaded_options = None + _globals['_QUERYDENOMSFROMCREATORREQUEST'].fields_by_name['creator']._serialized_options = b'\362\336\037\016yaml:\"creator\"' + _globals['_QUERYDENOMSFROMCREATORRESPONSE'].fields_by_name['denoms']._loaded_options = None + _globals['_QUERYDENOMSFROMCREATORRESPONSE'].fields_by_name['denoms']._serialized_options = b'\362\336\037\ryaml:\"denoms\"' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002(\022&/injective/tokenfactory/v1beta1/params' + _globals['_QUERY'].methods_by_name['DenomAuthorityMetadata']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomAuthorityMetadata']._serialized_options = b'\202\323\344\223\002Q\022O/injective/tokenfactory/v1beta1/denoms/{creator}/{sub_denom}/authority_metadata' + _globals['_QUERY'].methods_by_name['DenomsFromCreator']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomsFromCreator']._serialized_options = b'\202\323\344\223\002?\022=/injective/tokenfactory/v1beta1/denoms_from_creator/{creator}' + _globals['_QUERY'].methods_by_name['TokenfactoryModuleState']._loaded_options = None + _globals['_QUERY'].methods_by_name['TokenfactoryModuleState']._serialized_options = b'\202\323\344\223\002.\022,/injective/tokenfactory/v1beta1/module_state' + _globals['_QUERYPARAMSREQUEST']._serialized_start=321 + _globals['_QUERYPARAMSREQUEST']._serialized_end=341 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=343 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=434 + _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST']._serialized_start=437 + _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST']._serialized_end=568 + _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE']._serialized_start=571 + _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE']._serialized_end=747 + _globals['_QUERYDENOMSFROMCREATORREQUEST']._serialized_start=749 + _globals['_QUERYDENOMSFROMCREATORREQUEST']._serialized_end=826 + _globals['_QUERYDENOMSFROMCREATORRESPONSE']._serialized_start=828 + _globals['_QUERYDENOMSFROMCREATORRESPONSE']._serialized_end=903 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=905 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=930 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=932 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=1026 + _globals['_QUERY']._serialized_start=1029 + _globals['_QUERY']._serialized_end=1870 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2_grpc.py new file mode 100644 index 00000000..7a7ab8c6 --- /dev/null +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2_grpc.py @@ -0,0 +1,216 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.injective.tokenfactory.v1beta1 import query_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Params = channel.unary_unary( + '/injective.tokenfactory.v1beta1.Query/Params', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) + self.DenomAuthorityMetadata = channel.unary_unary( + '/injective.tokenfactory.v1beta1.Query/DenomAuthorityMetadata', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataRequest.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataResponse.FromString, + _registered_method=True) + self.DenomsFromCreator = channel.unary_unary( + '/injective.tokenfactory.v1beta1.Query/DenomsFromCreator', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorRequest.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorResponse.FromString, + _registered_method=True) + self.TokenfactoryModuleState = channel.unary_unary( + '/injective.tokenfactory.v1beta1.Query/TokenfactoryModuleState', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def Params(self, request, context): + """Params defines a gRPC query method that returns the tokenfactory module's + parameters. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DenomAuthorityMetadata(self, request, context): + """DenomAuthorityMetadata defines a gRPC query method for fetching + DenomAuthorityMetadata for a particular denom. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DenomsFromCreator(self, request, context): + """DenomsFromCreator defines a gRPC query method for fetching all + denominations created by a specific admin/creator. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TokenfactoryModuleState(self, request, context): + """Retrieves the entire auction module's state + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'DenomAuthorityMetadata': grpc.unary_unary_rpc_method_handler( + servicer.DenomAuthorityMetadata, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataRequest.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataResponse.SerializeToString, + ), + 'DenomsFromCreator': grpc.unary_unary_rpc_method_handler( + servicer.DenomsFromCreator, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorRequest.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorResponse.SerializeToString, + ), + 'TokenfactoryModuleState': grpc.unary_unary_rpc_method_handler( + servicer.TokenfactoryModuleState, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.tokenfactory.v1beta1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('injective.tokenfactory.v1beta1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.tokenfactory.v1beta1.Query/Params', + injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DenomAuthorityMetadata(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.tokenfactory.v1beta1.Query/DenomAuthorityMetadata', + injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataRequest.SerializeToString, + injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DenomsFromCreator(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.tokenfactory.v1beta1.Query/DenomsFromCreator', + injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorRequest.SerializeToString, + injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TokenfactoryModuleState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.tokenfactory.v1beta1.Query/TokenfactoryModuleState', + injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py new file mode 100644 index 00000000..ebcba559 --- /dev/null +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/tokenfactory/v1beta1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/tokenfactory/v1beta1/tx.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a+injective/tokenfactory/v1beta1/params.proto\x1a\x11\x61mino/amino.proto\"\xa2\x02\n\x0eMsgCreateDenom\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12/\n\x08subdenom\x18\x02 \x01(\tB\x13\xf2\xde\x1f\x0fyaml:\"subdenom\"R\x08subdenom\x12#\n\x04name\x18\x03 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:\"name\"R\x04name\x12)\n\x06symbol\x18\x04 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"symbol\"R\x06symbol\x12/\n\x08\x64\x65\x63imals\x18\x05 \x01(\rB\x13\xf2\xde\x1f\x0fyaml:\"decimals\"R\x08\x64\x65\x63imals:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#injective/tokenfactory/create-denom\"\\\n\x16MsgCreateDenomResponse\x12\x42\n\x0fnew_token_denom\x18\x01 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:\"new_token_denom\"R\rnewTokenDenom\"\xab\x01\n\x07MsgMint\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12H\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x15\xc8\xde\x1f\x00\xf2\xde\x1f\ryaml:\"amount\"R\x06\x61mount:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1binjective/tokenfactory/mint\"\x11\n\x0fMsgMintResponse\"\xab\x01\n\x07MsgBurn\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12H\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x15\xc8\xde\x1f\x00\xf2\xde\x1f\ryaml:\"amount\"R\x06\x61mount:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1binjective/tokenfactory/burn\"\x11\n\x0fMsgBurnResponse\"\xcb\x01\n\x0eMsgChangeAdmin\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12&\n\x05\x64\x65nom\x18\x02 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"R\x05\x64\x65nom\x12\x31\n\tnew_admin\x18\x03 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"new_admin\"R\x08newAdmin:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#injective/tokenfactory/change-admin\"\x18\n\x16MsgChangeAdminResponse\"\xcf\x01\n\x13MsgSetDenomMetadata\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12R\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x17\xc8\xde\x1f\x00\xf2\xde\x1f\x0fyaml:\"metadata\"R\x08metadata:9\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*)injective/tokenfactory/set-denom-metadata\"\x1d\n\x1bMsgSetDenomMetadataResponse\"\xc8\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x44\n\x06params\x18\x02 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$injective/tokenfactory/update-params\"\x19\n\x17MsgUpdateParamsResponse2\xbf\x05\n\x03Msg\x12u\n\x0b\x43reateDenom\x12..injective.tokenfactory.v1beta1.MsgCreateDenom\x1a\x36.injective.tokenfactory.v1beta1.MsgCreateDenomResponse\x12`\n\x04Mint\x12\'.injective.tokenfactory.v1beta1.MsgMint\x1a/.injective.tokenfactory.v1beta1.MsgMintResponse\x12`\n\x04\x42urn\x12\'.injective.tokenfactory.v1beta1.MsgBurn\x1a/.injective.tokenfactory.v1beta1.MsgBurnResponse\x12u\n\x0b\x43hangeAdmin\x12..injective.tokenfactory.v1beta1.MsgChangeAdmin\x1a\x36.injective.tokenfactory.v1beta1.MsgChangeAdminResponse\x12\x84\x01\n\x10SetDenomMetadata\x12\x33.injective.tokenfactory.v1beta1.MsgSetDenomMetadata\x1a;.injective.tokenfactory.v1beta1.MsgSetDenomMetadataResponse\x12x\n\x0cUpdateParams\x12/.injective.tokenfactory.v1beta1.MsgUpdateParams\x1a\x37.injective.tokenfactory.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9b\x02\n\"com.injective.tokenfactory.v1beta1B\x07TxProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\007TxProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + _globals['_MSGCREATEDENOM'].fields_by_name['sender']._loaded_options = None + _globals['_MSGCREATEDENOM'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGCREATEDENOM'].fields_by_name['subdenom']._loaded_options = None + _globals['_MSGCREATEDENOM'].fields_by_name['subdenom']._serialized_options = b'\362\336\037\017yaml:\"subdenom\"' + _globals['_MSGCREATEDENOM'].fields_by_name['name']._loaded_options = None + _globals['_MSGCREATEDENOM'].fields_by_name['name']._serialized_options = b'\362\336\037\013yaml:\"name\"' + _globals['_MSGCREATEDENOM'].fields_by_name['symbol']._loaded_options = None + _globals['_MSGCREATEDENOM'].fields_by_name['symbol']._serialized_options = b'\362\336\037\ryaml:\"symbol\"' + _globals['_MSGCREATEDENOM'].fields_by_name['decimals']._loaded_options = None + _globals['_MSGCREATEDENOM'].fields_by_name['decimals']._serialized_options = b'\362\336\037\017yaml:\"decimals\"' + _globals['_MSGCREATEDENOM']._loaded_options = None + _globals['_MSGCREATEDENOM']._serialized_options = b'\202\347\260*\006sender\212\347\260*#injective/tokenfactory/create-denom' + _globals['_MSGCREATEDENOMRESPONSE'].fields_by_name['new_token_denom']._loaded_options = None + _globals['_MSGCREATEDENOMRESPONSE'].fields_by_name['new_token_denom']._serialized_options = b'\362\336\037\026yaml:\"new_token_denom\"' + _globals['_MSGMINT'].fields_by_name['sender']._loaded_options = None + _globals['_MSGMINT'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGMINT'].fields_by_name['amount']._loaded_options = None + _globals['_MSGMINT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\362\336\037\ryaml:\"amount\"' + _globals['_MSGMINT']._loaded_options = None + _globals['_MSGMINT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033injective/tokenfactory/mint' + _globals['_MSGBURN'].fields_by_name['sender']._loaded_options = None + _globals['_MSGBURN'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGBURN'].fields_by_name['amount']._loaded_options = None + _globals['_MSGBURN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\362\336\037\ryaml:\"amount\"' + _globals['_MSGBURN']._loaded_options = None + _globals['_MSGBURN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033injective/tokenfactory/burn' + _globals['_MSGCHANGEADMIN'].fields_by_name['sender']._loaded_options = None + _globals['_MSGCHANGEADMIN'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGCHANGEADMIN'].fields_by_name['denom']._loaded_options = None + _globals['_MSGCHANGEADMIN'].fields_by_name['denom']._serialized_options = b'\362\336\037\014yaml:\"denom\"' + _globals['_MSGCHANGEADMIN'].fields_by_name['new_admin']._loaded_options = None + _globals['_MSGCHANGEADMIN'].fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"' + _globals['_MSGCHANGEADMIN']._loaded_options = None + _globals['_MSGCHANGEADMIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*#injective/tokenfactory/change-admin' + _globals['_MSGSETDENOMMETADATA'].fields_by_name['sender']._loaded_options = None + _globals['_MSGSETDENOMMETADATA'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGSETDENOMMETADATA'].fields_by_name['metadata']._loaded_options = None + _globals['_MSGSETDENOMMETADATA'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000\362\336\037\017yaml:\"metadata\"' + _globals['_MSGSETDENOMMETADATA']._loaded_options = None + _globals['_MSGSETDENOMMETADATA']._serialized_options = b'\202\347\260*\006sender\212\347\260*)injective/tokenfactory/set-denom-metadata' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*$injective/tokenfactory/update-params' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGCREATEDENOM']._serialized_start=278 + _globals['_MSGCREATEDENOM']._serialized_end=568 + _globals['_MSGCREATEDENOMRESPONSE']._serialized_start=570 + _globals['_MSGCREATEDENOMRESPONSE']._serialized_end=662 + _globals['_MSGMINT']._serialized_start=665 + _globals['_MSGMINT']._serialized_end=836 + _globals['_MSGMINTRESPONSE']._serialized_start=838 + _globals['_MSGMINTRESPONSE']._serialized_end=855 + _globals['_MSGBURN']._serialized_start=858 + _globals['_MSGBURN']._serialized_end=1029 + _globals['_MSGBURNRESPONSE']._serialized_start=1031 + _globals['_MSGBURNRESPONSE']._serialized_end=1048 + _globals['_MSGCHANGEADMIN']._serialized_start=1051 + _globals['_MSGCHANGEADMIN']._serialized_end=1254 + _globals['_MSGCHANGEADMINRESPONSE']._serialized_start=1256 + _globals['_MSGCHANGEADMINRESPONSE']._serialized_end=1280 + _globals['_MSGSETDENOMMETADATA']._serialized_start=1283 + _globals['_MSGSETDENOMMETADATA']._serialized_end=1490 + _globals['_MSGSETDENOMMETADATARESPONSE']._serialized_start=1492 + _globals['_MSGSETDENOMMETADATARESPONSE']._serialized_end=1521 + _globals['_MSGUPDATEPARAMS']._serialized_start=1524 + _globals['_MSGUPDATEPARAMS']._serialized_end=1724 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1726 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1751 + _globals['_MSG']._serialized_start=1754 + _globals['_MSG']._serialized_end=2457 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2_grpc.py new file mode 100644 index 00000000..f96ee560 --- /dev/null +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2_grpc.py @@ -0,0 +1,295 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.injective.tokenfactory.v1beta1 import tx_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the tokefactory module's gRPC message service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateDenom = channel.unary_unary( + '/injective.tokenfactory.v1beta1.Msg/CreateDenom', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenom.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenomResponse.FromString, + _registered_method=True) + self.Mint = channel.unary_unary( + '/injective.tokenfactory.v1beta1.Msg/Mint', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMint.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMintResponse.FromString, + _registered_method=True) + self.Burn = channel.unary_unary( + '/injective.tokenfactory.v1beta1.Msg/Burn', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurn.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurnResponse.FromString, + _registered_method=True) + self.ChangeAdmin = channel.unary_unary( + '/injective.tokenfactory.v1beta1.Msg/ChangeAdmin', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdmin.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdminResponse.FromString, + _registered_method=True) + self.SetDenomMetadata = channel.unary_unary( + '/injective.tokenfactory.v1beta1.Msg/SetDenomMetadata', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadata.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadataResponse.FromString, + _registered_method=True) + self.UpdateParams = channel.unary_unary( + '/injective.tokenfactory.v1beta1.Msg/UpdateParams', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the tokefactory module's gRPC message service. + """ + + def CreateDenom(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Mint(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Burn(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChangeAdmin(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SetDenomMetadata(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateDenom': grpc.unary_unary_rpc_method_handler( + servicer.CreateDenom, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenom.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenomResponse.SerializeToString, + ), + 'Mint': grpc.unary_unary_rpc_method_handler( + servicer.Mint, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMint.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMintResponse.SerializeToString, + ), + 'Burn': grpc.unary_unary_rpc_method_handler( + servicer.Burn, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurn.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurnResponse.SerializeToString, + ), + 'ChangeAdmin': grpc.unary_unary_rpc_method_handler( + servicer.ChangeAdmin, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdmin.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdminResponse.SerializeToString, + ), + 'SetDenomMetadata': grpc.unary_unary_rpc_method_handler( + servicer.SetDenomMetadata, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadata.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadataResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.tokenfactory.v1beta1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('injective.tokenfactory.v1beta1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the tokefactory module's gRPC message service. + """ + + @staticmethod + def CreateDenom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.tokenfactory.v1beta1.Msg/CreateDenom', + injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenom.SerializeToString, + injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenomResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Mint(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.tokenfactory.v1beta1.Msg/Mint', + injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMint.SerializeToString, + injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMintResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Burn(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.tokenfactory.v1beta1.Msg/Burn', + injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurn.SerializeToString, + injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurnResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChangeAdmin(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.tokenfactory.v1beta1.Msg/ChangeAdmin', + injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdmin.SerializeToString, + injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdminResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SetDenomMetadata(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.tokenfactory.v1beta1.Msg/SetDenomMetadata', + injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadata.SerializeToString, + injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadataResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.tokenfactory.v1beta1.Msg/UpdateParams', + injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/injective/types/v1beta1/account_pb2.py b/pyinjective/proto/injective/types/v1beta1/account_pb2.py new file mode 100644 index 00000000..eab1bf71 --- /dev/null +++ b/pyinjective/proto/injective/types/v1beta1/account_pb2.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/types/v1beta1/account.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%injective/types/v1beta1/account.proto\x12\x17injective.types.v1beta1\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\"\xcf\x01\n\nEthAccount\x12`\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x1b\xd0\xde\x1f\x01\xf2\xde\x1f\x13yaml:\"base_account\"R\x0b\x62\x61seAccount\x12\x31\n\tcode_hash\x18\x02 \x01(\x0c\x42\x14\xf2\xde\x1f\x10yaml:\"code_hash\"R\x08\x63odeHash:,\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIB\xe8\x01\n\x1b\x63om.injective.types.v1beta1B\x0c\x41\x63\x63ountProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.account_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.injective.types.v1beta1B\014AccountProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1' + _globals['_ETHACCOUNT'].fields_by_name['base_account']._loaded_options = None + _globals['_ETHACCOUNT'].fields_by_name['base_account']._serialized_options = b'\320\336\037\001\362\336\037\023yaml:\"base_account\"' + _globals['_ETHACCOUNT'].fields_by_name['code_hash']._loaded_options = None + _globals['_ETHACCOUNT'].fields_by_name['code_hash']._serialized_options = b'\362\336\037\020yaml:\"code_hash\"' + _globals['_ETHACCOUNT']._loaded_options = None + _globals['_ETHACCOUNT']._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000\312\264-\034cosmos.auth.v1beta1.AccountI' + _globals['_ETHACCOUNT']._serialized_start=148 + _globals['_ETHACCOUNT']._serialized_end=355 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/types/v1beta1/account_pb2_grpc.py b/pyinjective/proto/injective/types/v1beta1/account_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/types/v1beta1/account_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py new file mode 100644 index 00000000..a8971e76 --- /dev/null +++ b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/types/v1beta1/tx_ext.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/types/v1beta1/tx_ext.proto\x12\x17injective.types.v1beta1\x1a\x14gogoproto/gogo.proto\"\x88\x01\n\x16\x45xtensionOptionsWeb3Tx\x12*\n\x10typedDataChainID\x18\x01 \x01(\x04R\x10typedDataChainID\x12\x1a\n\x08\x66\x65\x65Payer\x18\x02 \x01(\tR\x08\x66\x65\x65Payer\x12 \n\x0b\x66\x65\x65PayerSig\x18\x03 \x01(\x0cR\x0b\x66\x65\x65PayerSig:\x04\x88\xa0\x1f\x00\x42\xe6\x01\n\x1b\x63om.injective.types.v1beta1B\nTxExtProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.tx_ext_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.injective.types.v1beta1B\nTxExtProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1' + _globals['_EXTENSIONOPTIONSWEB3TX']._loaded_options = None + _globals['_EXTENSIONOPTIONSWEB3TX']._serialized_options = b'\210\240\037\000' + _globals['_EXTENSIONOPTIONSWEB3TX']._serialized_start=88 + _globals['_EXTENSIONOPTIONSWEB3TX']._serialized_end=224 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2_grpc.py b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py new file mode 100644 index 00000000..8ada0173 --- /dev/null +++ b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/types/v1beta1/tx_response.proto +# Protobuf Python Version: 5.26.1 +"""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)injective/types/v1beta1/tx_response.proto\x12\x17injective.types.v1beta1\"F\n\x18TxResponseGenericMessage\x12\x16\n\x06header\x18\x01 \x01(\tR\x06header\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\"_\n\x0eTxResponseData\x12M\n\x08messages\x18\x01 \x03(\x0b\x32\x31.injective.types.v1beta1.TxResponseGenericMessageR\x08messagesB\xeb\x01\n\x1b\x63om.injective.types.v1beta1B\x0fTxResponseProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.tx_response_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.injective.types.v1beta1B\017TxResponseProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1' + _globals['_TXRESPONSEGENERICMESSAGE']._serialized_start=70 + _globals['_TXRESPONSEGENERICMESSAGE']._serialized_end=140 + _globals['_TXRESPONSEDATA']._serialized_start=142 + _globals['_TXRESPONSEDATA']._serialized_end=237 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2_grpc.py b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/wasmx/v1/events_pb2.py b/pyinjective/proto/injective/wasmx/v1/events_pb2.py new file mode 100644 index 00000000..c1e3da01 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/events_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/events.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from pyinjective.proto.injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/wasmx/v1/events.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x14gogoproto/gogo.proto\"\xa9\x01\n\x16\x45ventContractExecution\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1a\n\x08response\x18\x02 \x01(\x0cR\x08response\x12\x1f\n\x0bother_error\x18\x03 \x01(\tR\notherError\x12\'\n\x0f\x65xecution_error\x18\x04 \x01(\tR\x0e\x65xecutionError\"\xee\x02\n\x17\x45ventContractRegistered\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_price\x18\x03 \x01(\x04R\x08gasPrice\x12.\n\x13should_pin_contract\x18\x04 \x01(\x08R\x11shouldPinContract\x12\x30\n\x14is_migration_allowed\x18\x05 \x01(\x08R\x12isMigrationAllowed\x12\x17\n\x07\x63ode_id\x18\x06 \x01(\x04R\x06\x63odeId\x12#\n\radmin_address\x18\x07 \x01(\tR\x0c\x61\x64minAddress\x12\'\n\x0fgranter_address\x18\x08 \x01(\tR\x0egranterAddress\x12\x42\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x0b\x66undingMode\"F\n\x19\x45ventContractDeregistered\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddressB\xdc\x01\n\x16\x63om.injective.wasmx.v1B\x0b\x45ventsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.events_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\013EventsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' + _globals['_EVENTCONTRACTEXECUTION']._serialized_start=145 + _globals['_EVENTCONTRACTEXECUTION']._serialized_end=314 + _globals['_EVENTCONTRACTREGISTERED']._serialized_start=317 + _globals['_EVENTCONTRACTREGISTERED']._serialized_end=683 + _globals['_EVENTCONTRACTDEREGISTERED']._serialized_start=685 + _globals['_EVENTCONTRACTDEREGISTERED']._serialized_end=755 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py b/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py new file mode 100644 index 00000000..763dd63b --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/genesis.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n injective/wasmx/v1/genesis.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a\x14gogoproto/gogo.proto\"\x92\x01\n\x1dRegisteredContractWithAddress\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12W\n\x13registered_contract\x18\x02 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContractR\x12registeredContract\"\xb4\x01\n\x0cGenesisState\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12j\n\x14registered_contracts\x18\x02 \x03(\x0b\x32\x31.injective.wasmx.v1.RegisteredContractWithAddressB\x04\xc8\xde\x1f\x00R\x13registeredContractsB\xdd\x01\n\x16\x63om.injective.wasmx.v1B\x0cGenesisProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.genesis_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\014GenesisProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['registered_contracts']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['registered_contracts']._serialized_options = b'\310\336\037\000' + _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_start=111 + _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_end=257 + _globals['_GENESISSTATE']._serialized_start=260 + _globals['_GENESISSTATE']._serialized_end=440 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py b/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py new file mode 100644 index 00000000..96a0f775 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py @@ -0,0 +1,57 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/proposal.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmwasm.wasm.v1 import proposal_legacy_pb2 as cosmwasm_dot_wasm_dot_v1_dot_proposal__legacy__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/wasmx/v1/proposal.proto\x12\x12injective.wasmx.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a&cosmwasm/wasm/v1/proposal_legacy.proto\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"\xae\x02\n#ContractRegistrationRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12y\n\x1d\x63ontract_registration_request\x18\x03 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1b\x63ontractRegistrationRequest:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)wasmx/ContractRegistrationRequestProposal\"\xba\x02\n(BatchContractRegistrationRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12{\n\x1e\x63ontract_registration_requests\x18\x03 \x03(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1c\x63ontractRegistrationRequests:Y\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*.wasmx/BatchContractRegistrationRequestProposal\"\xd1\x01\n#BatchContractDeregistrationProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\tcontracts\x18\x03 \x03(\tR\tcontracts:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)wasmx/BatchContractDeregistrationProposal\"\xaf\x03\n\x1b\x43ontractRegistrationRequest\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_limit\x18\x02 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x03 \x01(\x04R\x08gasPrice\x12.\n\x13should_pin_contract\x18\x04 \x01(\x08R\x11shouldPinContract\x12\x30\n\x14is_migration_allowed\x18\x05 \x01(\x08R\x12isMigrationAllowed\x12\x17\n\x07\x63ode_id\x18\x06 \x01(\x04R\x06\x63odeId\x12#\n\radmin_address\x18\x07 \x01(\tR\x0c\x61\x64minAddress\x12\'\n\x0fgranter_address\x18\x08 \x01(\tR\x0egranterAddress\x12\x42\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x0b\x66undingMode:\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xe2\x01\n\x16\x42\x61tchStoreCodeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12G\n\tproposals\x18\x03 \x03(\x0b\x32#.cosmwasm.wasm.v1.StoreCodeProposalB\x04\xc8\xde\x1f\x00R\tproposals:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasmx/BatchStoreCodeProposal*G\n\x0b\x46undingMode\x12\x0f\n\x0bUnspecified\x10\x00\x12\x0e\n\nSelfFunded\x10\x01\x12\r\n\tGrantOnly\x10\x02\x12\x08\n\x04\x44ual\x10\x03\x42\xde\x01\n\x16\x63om.injective.wasmx.v1B\rProposalProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.proposal_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\rProposalProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL'].fields_by_name['contract_registration_request']._loaded_options = None + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL'].fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._loaded_options = None + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)wasmx/ContractRegistrationRequestProposal' + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL'].fields_by_name['contract_registration_requests']._loaded_options = None + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL'].fields_by_name['contract_registration_requests']._serialized_options = b'\310\336\037\000' + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._loaded_options = None + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*.wasmx/BatchContractRegistrationRequestProposal' + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._loaded_options = None + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)wasmx/BatchContractDeregistrationProposal' + _globals['_CONTRACTREGISTRATIONREQUEST']._loaded_options = None + _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_BATCHSTORECODEPROPOSAL'].fields_by_name['proposals']._loaded_options = None + _globals['_BATCHSTORECODEPROPOSAL'].fields_by_name['proposals']._serialized_options = b'\310\336\037\000' + _globals['_BATCHSTORECODEPROPOSAL']._loaded_options = None + _globals['_BATCHSTORECODEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasmx/BatchStoreCodeProposal' + _globals['_FUNDINGMODE']._serialized_start=1662 + _globals['_FUNDINGMODE']._serialized_end=1733 + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=166 + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=468 + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=471 + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=785 + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_start=788 + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_end=997 + _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_start=1000 + _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_end=1431 + _globals['_BATCHSTORECODEPROPOSAL']._serialized_start=1434 + _globals['_BATCHSTORECODEPROPOSAL']._serialized_end=1660 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2.py b/pyinjective/proto/injective/wasmx/v1/query_pb2.py new file mode 100644 index 00000000..2bba8f41 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/query_pb2.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/query.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from pyinjective.proto.injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from pyinjective.proto.injective.wasmx.v1 import genesis_pb2 as injective_dot_wasmx_dot_v1_dot_genesis__pb2 +from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/query.proto\x12\x12injective.wasmx.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a injective/wasmx/v1/genesis.proto\x1a\x14gogoproto/gogo.proto\"\x19\n\x17QueryWasmxParamsRequest\"T\n\x18QueryWasmxParamsResponse\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x19\n\x17QueryModuleStateRequest\"R\n\x18QueryModuleStateResponse\x12\x36\n\x05state\x18\x01 \x01(\x0b\x32 .injective.wasmx.v1.GenesisStateR\x05state\"Q\n$QueryContractRegistrationInfoRequest\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\"k\n%QueryContractRegistrationInfoResponse\x12\x42\n\x08\x63ontract\x18\x01 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContractR\x08\x63ontract2\x84\x04\n\x05Query\x12\x8c\x01\n\x0bWasmxParams\x12+.injective.wasmx.v1.QueryWasmxParamsRequest\x1a,.injective.wasmx.v1.QueryWasmxParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/injective/wasmx/v1/params\x12\xd1\x01\n\x18\x43ontractRegistrationInfo\x12\x38.injective.wasmx.v1.QueryContractRegistrationInfoRequest\x1a\x39.injective.wasmx.v1.QueryContractRegistrationInfoResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/wasmx/v1/registration_info/{contract_address}\x12\x97\x01\n\x10WasmxModuleState\x12+.injective.wasmx.v1.QueryModuleStateRequest\x1a,.injective.wasmx.v1.QueryModuleStateResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /injective/wasmx/v1/module_stateB\xdb\x01\n\x16\x63om.injective.wasmx.v1B\nQueryProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.query_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\nQueryProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' + _globals['_QUERYWASMXPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYWASMXPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_QUERY'].methods_by_name['WasmxParams']._loaded_options = None + _globals['_QUERY'].methods_by_name['WasmxParams']._serialized_options = b'\202\323\344\223\002\034\022\032/injective/wasmx/v1/params' + _globals['_QUERY'].methods_by_name['ContractRegistrationInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['ContractRegistrationInfo']._serialized_options = b'\202\323\344\223\002:\0228/injective/wasmx/v1/registration_info/{contract_address}' + _globals['_QUERY'].methods_by_name['WasmxModuleState']._loaded_options = None + _globals['_QUERY'].methods_by_name['WasmxModuleState']._serialized_options = b'\202\323\344\223\002\"\022 /injective/wasmx/v1/module_state' + _globals['_QUERYWASMXPARAMSREQUEST']._serialized_start=172 + _globals['_QUERYWASMXPARAMSREQUEST']._serialized_end=197 + _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_start=199 + _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_end=283 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=285 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=310 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=312 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=394 + _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_start=396 + _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_end=477 + _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_start=479 + _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_end=586 + _globals['_QUERY']._serialized_start=589 + _globals['_QUERY']._serialized_end=1105 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py new file mode 100644 index 00000000..8f940368 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py @@ -0,0 +1,169 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.injective.wasmx.v1 import query_pb2 as injective_dot_wasmx_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.WasmxParams = channel.unary_unary( + '/injective.wasmx.v1.Query/WasmxParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, + _registered_method=True) + self.ContractRegistrationInfo = channel.unary_unary( + '/injective.wasmx.v1.Query/ContractRegistrationInfo', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, + _registered_method=True) + self.WasmxModuleState = channel.unary_unary( + '/injective.wasmx.v1.Query/WasmxModuleState', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, + _registered_method=True) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def WasmxParams(self, request, context): + """Retrieves wasmx params + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ContractRegistrationInfo(self, request, context): + """Retrieves contract registration info + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def WasmxModuleState(self, request, context): + """Retrieves the entire wasmx module's state + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'WasmxParams': grpc.unary_unary_rpc_method_handler( + servicer.WasmxParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.SerializeToString, + ), + 'ContractRegistrationInfo': grpc.unary_unary_rpc_method_handler( + servicer.ContractRegistrationInfo, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.SerializeToString, + ), + 'WasmxModuleState': grpc.unary_unary_rpc_method_handler( + servicer.WasmxModuleState, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.wasmx.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('injective.wasmx.v1.Query', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def WasmxParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.wasmx.v1.Query/WasmxParams', + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ContractRegistrationInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.wasmx.v1.Query/ContractRegistrationInfo', + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def WasmxModuleState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.wasmx.v1.Query/WasmxModuleState', + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py new file mode 100644 index 00000000..84f38d96 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py @@ -0,0 +1,80 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/tx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from pyinjective.proto.injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from pyinjective.proto.injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1binjective/wasmx/v1/tx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x11\x61mino/amino.proto\"\xa6\x01\n\x18MsgExecuteContractCompat\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08\x63ontract\x18\x02 \x01(\tR\x08\x63ontract\x12\x10\n\x03msg\x18\x03 \x01(\tR\x03msg\x12\x14\n\x05\x66unds\x18\x04 \x01(\tR\x05\x66unds:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1ewasmx/MsgExecuteContractCompat\"6\n MsgExecuteContractCompatResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\xe4\x01\n\x11MsgUpdateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_limit\x18\x03 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x04 \x01(\x04R\x08gasPrice\x12)\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01R\x0c\x61\x64minAddress:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasmx/MsgUpdateContract\"\x1b\n\x19MsgUpdateContractResponse\"\x83\x01\n\x13MsgActivateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress:)\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19wasmx/MsgActivateContract\"\x1d\n\x1bMsgActivateContractResponse\"\x87\x01\n\x15MsgDeactivateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasmx/MsgDeactivateContract\"\x1f\n\x1dMsgDeactivateContractResponse\"\xad\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:(\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x15wasmx/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xd3\x01\n\x13MsgRegisterContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12y\n\x1d\x63ontract_registration_request\x18\x02 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1b\x63ontractRegistrationRequest:)\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19wasmx/MsgRegisterContract\"\x1d\n\x1bMsgRegisterContractResponse2\xc1\x05\n\x03Msg\x12t\n\x1cUpdateRegistryContractParams\x12%.injective.wasmx.v1.MsgUpdateContract\x1a-.injective.wasmx.v1.MsgUpdateContractResponse\x12t\n\x18\x41\x63tivateRegistryContract\x12\'.injective.wasmx.v1.MsgActivateContract\x1a/.injective.wasmx.v1.MsgActivateContractResponse\x12z\n\x1a\x44\x65\x61\x63tivateRegistryContract\x12).injective.wasmx.v1.MsgDeactivateContract\x1a\x31.injective.wasmx.v1.MsgDeactivateContractResponse\x12{\n\x15\x45xecuteContractCompat\x12,.injective.wasmx.v1.MsgExecuteContractCompat\x1a\x34.injective.wasmx.v1.MsgExecuteContractCompatResponse\x12`\n\x0cUpdateParams\x12#.injective.wasmx.v1.MsgUpdateParams\x1a+.injective.wasmx.v1.MsgUpdateParamsResponse\x12l\n\x10RegisterContract\x12\'.injective.wasmx.v1.MsgRegisterContract\x1a/.injective.wasmx.v1.MsgRegisterContractResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd8\x01\n\x16\x63om.injective.wasmx.v1B\x07TxProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.tx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\007TxProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' + _globals['_MSGEXECUTECONTRACTCOMPAT']._loaded_options = None + _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036wasmx/MsgExecuteContractCompat' + _globals['_MSGUPDATECONTRACT'].fields_by_name['admin_address']._loaded_options = None + _globals['_MSGUPDATECONTRACT'].fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' + _globals['_MSGUPDATECONTRACT']._loaded_options = None + _globals['_MSGUPDATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasmx/MsgUpdateContract' + _globals['_MSGACTIVATECONTRACT']._loaded_options = None + _globals['_MSGACTIVATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\031wasmx/MsgActivateContract' + _globals['_MSGDEACTIVATECONTRACT']._loaded_options = None + _globals['_MSGDEACTIVATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasmx/MsgDeactivateContract' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\025wasmx/MsgUpdateParams' + _globals['_MSGREGISTERCONTRACT'].fields_by_name['contract_registration_request']._loaded_options = None + _globals['_MSGREGISTERCONTRACT'].fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' + _globals['_MSGREGISTERCONTRACT']._loaded_options = None + _globals['_MSGREGISTERCONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\031wasmx/MsgRegisterContract' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_start=239 + _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_end=405 + _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_start=407 + _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_end=461 + _globals['_MSGUPDATECONTRACT']._serialized_start=464 + _globals['_MSGUPDATECONTRACT']._serialized_end=692 + _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_start=694 + _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_end=721 + _globals['_MSGACTIVATECONTRACT']._serialized_start=724 + _globals['_MSGACTIVATECONTRACT']._serialized_end=855 + _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_start=857 + _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_end=886 + _globals['_MSGDEACTIVATECONTRACT']._serialized_start=889 + _globals['_MSGDEACTIVATECONTRACT']._serialized_end=1024 + _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_start=1026 + _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_end=1057 + _globals['_MSGUPDATEPARAMS']._serialized_start=1060 + _globals['_MSGUPDATEPARAMS']._serialized_end=1233 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1235 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1260 + _globals['_MSGREGISTERCONTRACT']._serialized_start=1263 + _globals['_MSGREGISTERCONTRACT']._serialized_end=1474 + _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_start=1476 + _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_end=1505 + _globals['_MSG']._serialized_start=1508 + _globals['_MSG']._serialized_end=2213 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py new file mode 100644 index 00000000..5f2c8a9a --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py @@ -0,0 +1,295 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.injective.wasmx.v1 import tx_pb2 as injective_dot_wasmx_dot_v1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the wasmx Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.UpdateRegistryContractParams = channel.unary_unary( + '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, + _registered_method=True) + self.ActivateRegistryContract = channel.unary_unary( + '/injective.wasmx.v1.Msg/ActivateRegistryContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, + _registered_method=True) + self.DeactivateRegistryContract = channel.unary_unary( + '/injective.wasmx.v1.Msg/DeactivateRegistryContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, + _registered_method=True) + self.ExecuteContractCompat = channel.unary_unary( + '/injective.wasmx.v1.Msg/ExecuteContractCompat', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, + _registered_method=True) + self.UpdateParams = channel.unary_unary( + '/injective.wasmx.v1.Msg/UpdateParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) + self.RegisterContract = channel.unary_unary( + '/injective.wasmx.v1.Msg/RegisterContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, + _registered_method=True) + + +class MsgServicer(object): + """Msg defines the wasmx Msg service. + """ + + def UpdateRegistryContractParams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ActivateRegistryContract(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeactivateRegistryContract(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ExecuteContractCompat(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RegisterContract(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'UpdateRegistryContractParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateRegistryContractParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.SerializeToString, + ), + 'ActivateRegistryContract': grpc.unary_unary_rpc_method_handler( + servicer.ActivateRegistryContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.SerializeToString, + ), + 'DeactivateRegistryContract': grpc.unary_unary_rpc_method_handler( + servicer.DeactivateRegistryContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.SerializeToString, + ), + 'ExecuteContractCompat': grpc.unary_unary_rpc_method_handler( + servicer.ExecuteContractCompat, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'RegisterContract': grpc.unary_unary_rpc_method_handler( + servicer.RegisterContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.wasmx.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('injective.wasmx.v1.Msg', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the wasmx Msg service. + """ + + @staticmethod + def UpdateRegistryContractParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ActivateRegistryContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.wasmx.v1.Msg/ActivateRegistryContract', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeactivateRegistryContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.wasmx.v1.Msg/DeactivateRegistryContract', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ExecuteContractCompat(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.wasmx.v1.Msg/ExecuteContractCompat', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.wasmx.v1.Msg/UpdateParams', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RegisterContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.wasmx.v1.Msg/RegisterContract', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py new file mode 100644 index 00000000..074c9fd6 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/wasmx.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 +from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 +from pyinjective.proto.injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/wasmx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\x1a!injective/wasmx/v1/proposal.proto\"\xed\x02\n\x06Params\x12\x30\n\x14is_execution_enabled\x18\x01 \x01(\x08R\x12isExecutionEnabled\x12\x38\n\x19max_begin_block_total_gas\x18\x02 \x01(\x04R\x15maxBeginBlockTotalGas\x12\x33\n\x16max_contract_gas_limit\x18\x03 \x01(\x04R\x13maxContractGasLimit\x12\"\n\rmin_gas_price\x18\x04 \x01(\x04R\x0bminGasPrice\x12\x86\x01\n\x18register_contract_access\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB,\xc8\xde\x1f\x00\xf2\xde\x1f\x1fyaml:\"register_contract_access\"\xa8\xe7\xb0*\x01R\x16registerContractAccess:\x15\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0cwasmx/Params\"\xb0\x02\n\x12RegisteredContract\x12\x1b\n\tgas_limit\x18\x01 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x02 \x01(\x04R\x08gasPrice\x12#\n\ris_executable\x18\x03 \x01(\x08R\x0cisExecutable\x12\x1d\n\x07\x63ode_id\x18\x04 \x01(\x04\x42\x04\xc8\xde\x1f\x01R\x06\x63odeId\x12)\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01R\x0c\x61\x64minAddress\x12-\n\x0fgranter_address\x18\x06 \x01(\tB\x04\xc8\xde\x1f\x01R\x0egranterAddress\x12<\n\tfund_mode\x18\x07 \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x08\x66undMode:\x04\xe8\xa0\x1f\x01\x42\xdb\x01\n\x16\x63om.injective.wasmx.v1B\nWasmxProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.wasmx_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\nWasmxProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' + _globals['_PARAMS'].fields_by_name['register_contract_access']._loaded_options = None + _globals['_PARAMS'].fields_by_name['register_contract_access']._serialized_options = b'\310\336\037\000\362\336\037\037yaml:\"register_contract_access\"\250\347\260*\001' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\014wasmx/Params' + _globals['_REGISTEREDCONTRACT'].fields_by_name['code_id']._loaded_options = None + _globals['_REGISTEREDCONTRACT'].fields_by_name['code_id']._serialized_options = b'\310\336\037\001' + _globals['_REGISTEREDCONTRACT'].fields_by_name['admin_address']._loaded_options = None + _globals['_REGISTEREDCONTRACT'].fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' + _globals['_REGISTEREDCONTRACT'].fields_by_name['granter_address']._loaded_options = None + _globals['_REGISTEREDCONTRACT'].fields_by_name['granter_address']._serialized_options = b'\310\336\037\001' + _globals['_REGISTEREDCONTRACT']._loaded_options = None + _globals['_REGISTEREDCONTRACT']._serialized_options = b'\350\240\037\001' + _globals['_PARAMS']._serialized_start=161 + _globals['_PARAMS']._serialized_end=526 + _globals['_REGISTEREDCONTRACT']._serialized_start=529 + _globals['_REGISTEREDCONTRACT']._serialized_end=833 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/tendermint/abci/types_pb2.py b/pyinjective/proto/tendermint/abci/types_pb2.py new file mode 100644 index 00000000..f097f91e --- /dev/null +++ b/pyinjective/proto/tendermint/abci/types_pb2.py @@ -0,0 +1,199 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/abci/types.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.tendermint.crypto import proof_pb2 as tendermint_dot_crypto_dot_proof__pb2 +from pyinjective.proto.tendermint.crypto import keys_pb2 as tendermint_dot_crypto_dot_keys__pb2 +from pyinjective.proto.tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 +from pyinjective.proto.tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from pyinjective.proto.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\"\xbf\t\n\x07Request\x12\x32\n\x04\x65\x63ho\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.RequestEchoH\x00R\x04\x65\x63ho\x12\x35\n\x05\x66lush\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.RequestFlushH\x00R\x05\x66lush\x12\x32\n\x04info\x18\x03 \x01(\x0b\x32\x1c.tendermint.abci.RequestInfoH\x00R\x04info\x12\x42\n\ninit_chain\x18\x05 \x01(\x0b\x32!.tendermint.abci.RequestInitChainH\x00R\tinitChain\x12\x35\n\x05query\x18\x06 \x01(\x0b\x32\x1d.tendermint.abci.RequestQueryH\x00R\x05query\x12<\n\x08\x63heck_tx\x18\x08 \x01(\x0b\x32\x1f.tendermint.abci.RequestCheckTxH\x00R\x07\x63heckTx\x12\x38\n\x06\x63ommit\x18\x0b \x01(\x0b\x32\x1e.tendermint.abci.RequestCommitH\x00R\x06\x63ommit\x12N\n\x0elist_snapshots\x18\x0c \x01(\x0b\x32%.tendermint.abci.RequestListSnapshotsH\x00R\rlistSnapshots\x12N\n\x0eoffer_snapshot\x18\r \x01(\x0b\x32%.tendermint.abci.RequestOfferSnapshotH\x00R\rofferSnapshot\x12[\n\x13load_snapshot_chunk\x18\x0e \x01(\x0b\x32).tendermint.abci.RequestLoadSnapshotChunkH\x00R\x11loadSnapshotChunk\x12^\n\x14\x61pply_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.RequestApplySnapshotChunkH\x00R\x12\x61pplySnapshotChunk\x12T\n\x10prepare_proposal\x18\x10 \x01(\x0b\x32\'.tendermint.abci.RequestPrepareProposalH\x00R\x0fprepareProposal\x12T\n\x10process_proposal\x18\x11 \x01(\x0b\x32\'.tendermint.abci.RequestProcessProposalH\x00R\x0fprocessProposal\x12\x45\n\x0b\x65xtend_vote\x18\x12 \x01(\x0b\x32\".tendermint.abci.RequestExtendVoteH\x00R\nextendVote\x12\x61\n\x15verify_vote_extension\x18\x13 \x01(\x0b\x32+.tendermint.abci.RequestVerifyVoteExtensionH\x00R\x13verifyVoteExtension\x12N\n\x0e\x66inalize_block\x18\x14 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockH\x00R\rfinalizeBlockB\x07\n\x05valueJ\x04\x08\x04\x10\x05J\x04\x08\x07\x10\x08J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\"\'\n\x0bRequestEcho\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message\"\x0e\n\x0cRequestFlush\"\x90\x01\n\x0bRequestInfo\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12#\n\rblock_version\x18\x02 \x01(\x04R\x0c\x62lockVersion\x12\x1f\n\x0bp2p_version\x18\x03 \x01(\x04R\np2pVersion\x12!\n\x0c\x61\x62\x63i_version\x18\x04 \x01(\tR\x0b\x61\x62\x63iVersion\"\xcc\x02\n\x10RequestInitChain\x12\x38\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x19\n\x08\x63hain_id\x18\x02 \x01(\tR\x07\x63hainId\x12L\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x0f\x63onsensusParams\x12\x46\n\nvalidators\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\nvalidators\x12&\n\x0f\x61pp_state_bytes\x18\x05 \x01(\x0cR\rappStateBytes\x12%\n\x0einitial_height\x18\x06 \x01(\x03R\rinitialHeight\"d\n\x0cRequestQuery\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04path\x18\x02 \x01(\tR\x04path\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x14\n\x05prove\x18\x04 \x01(\x08R\x05prove\"R\n\x0eRequestCheckTx\x12\x0e\n\x02tx\x18\x01 \x01(\x0cR\x02tx\x12\x30\n\x04type\x18\x02 \x01(\x0e\x32\x1c.tendermint.abci.CheckTxTypeR\x04type\"\x0f\n\rRequestCommit\"\x16\n\x14RequestListSnapshots\"h\n\x14RequestOfferSnapshot\x12\x35\n\x08snapshot\x18\x01 \x01(\x0b\x32\x19.tendermint.abci.SnapshotR\x08snapshot\x12\x19\n\x08\x61pp_hash\x18\x02 \x01(\x0cR\x07\x61ppHash\"`\n\x18RequestLoadSnapshotChunk\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x14\n\x05\x63hunk\x18\x03 \x01(\rR\x05\x63hunk\"_\n\x19RequestApplySnapshotChunk\x12\x14\n\x05index\x18\x01 \x01(\rR\x05index\x12\x14\n\x05\x63hunk\x18\x02 \x01(\x0cR\x05\x63hunk\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\"\x98\x03\n\x16RequestPrepareProposal\x12 \n\x0cmax_tx_bytes\x18\x01 \x01(\x03R\nmaxTxBytes\x12\x10\n\x03txs\x18\x02 \x03(\x0cR\x03txs\x12U\n\x11local_last_commit\x18\x03 \x01(\x0b\x32#.tendermint.abci.ExtendedCommitInfoB\x04\xc8\xde\x1f\x00R\x0flocalLastCommit\x12\x44\n\x0bmisbehavior\x18\x04 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x88\x03\n\x16RequestProcessProposal\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\x12S\n\x14proposed_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x12proposedLastCommit\x12\x44\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x83\x03\n\x11RequestExtendVote\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x10\n\x03txs\x18\x04 \x03(\x0cR\x03txs\x12S\n\x14proposed_last_commit\x18\x05 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x12proposedLastCommit\x12\x44\n\x0bmisbehavior\x18\x06 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x9c\x01\n\x1aRequestVerifyVoteExtension\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12%\n\x0evote_extension\x18\x04 \x01(\x0cR\rvoteExtension\"\x84\x03\n\x14RequestFinalizeBlock\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\x12Q\n\x13\x64\x65\x63ided_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x11\x64\x65\x63idedLastCommit\x12\x44\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x94\n\n\x08Response\x12\x42\n\texception\x18\x01 \x01(\x0b\x32\".tendermint.abci.ResponseExceptionH\x00R\texception\x12\x33\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00R\x04\x65\x63ho\x12\x36\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00R\x05\x66lush\x12\x33\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00R\x04info\x12\x43\n\ninit_chain\x18\x06 \x01(\x0b\x32\".tendermint.abci.ResponseInitChainH\x00R\tinitChain\x12\x36\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00R\x05query\x12=\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00R\x07\x63heckTx\x12\x39\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00R\x06\x63ommit\x12O\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00R\rlistSnapshots\x12O\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00R\rofferSnapshot\x12\\\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00R\x11loadSnapshotChunk\x12_\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00R\x12\x61pplySnapshotChunk\x12U\n\x10prepare_proposal\x18\x11 \x01(\x0b\x32(.tendermint.abci.ResponsePrepareProposalH\x00R\x0fprepareProposal\x12U\n\x10process_proposal\x18\x12 \x01(\x0b\x32(.tendermint.abci.ResponseProcessProposalH\x00R\x0fprocessProposal\x12\x46\n\x0b\x65xtend_vote\x18\x13 \x01(\x0b\x32#.tendermint.abci.ResponseExtendVoteH\x00R\nextendVote\x12\x62\n\x15verify_vote_extension\x18\x14 \x01(\x0b\x32,.tendermint.abci.ResponseVerifyVoteExtensionH\x00R\x13verifyVoteExtension\x12O\n\x0e\x66inalize_block\x18\x15 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockH\x00R\rfinalizeBlockB\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\x14\n\x05\x65rror\x18\x01 \x01(\tR\x05\x65rror\"(\n\x0cResponseEcho\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message\"\x0f\n\rResponseFlush\"\xb8\x01\n\x0cResponseInfo\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\tR\x04\x64\x61ta\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12\x1f\n\x0b\x61pp_version\x18\x03 \x01(\x04R\nappVersion\x12*\n\x11last_block_height\x18\x04 \x01(\x03R\x0flastBlockHeight\x12-\n\x13last_block_app_hash\x18\x05 \x01(\x0cR\x10lastBlockAppHash\"\xc4\x01\n\x11ResponseInitChain\x12L\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x0f\x63onsensusParams\x12\x46\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\nvalidators\x12\x19\n\x08\x61pp_hash\x18\x03 \x01(\x0cR\x07\x61ppHash\"\xf7\x01\n\rResponseQuery\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x14\n\x05index\x18\x05 \x01(\x03R\x05index\x12\x10\n\x03key\x18\x06 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x07 \x01(\x0cR\x05value\x12\x38\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOpsR\x08proofOps\x12\x16\n\x06height\x18\t \x01(\x03R\x06height\x12\x1c\n\tcodespace\x18\n \x01(\tR\tcodespace\"\xaa\x02\n\x0fResponseCheckTx\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12H\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12\x1c\n\tcodespace\x18\x08 \x01(\tR\tcodespaceJ\x04\x08\t\x10\x0cR\x06senderR\x08priorityR\rmempool_error\"A\n\x0eResponseCommit\x12#\n\rretain_height\x18\x03 \x01(\x03R\x0cretainHeightJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"P\n\x15ResponseListSnapshots\x12\x37\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.SnapshotR\tsnapshots\"\xbe\x01\n\x15ResponseOfferSnapshot\x12\x45\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.ResultR\x06result\"^\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\"1\n\x19ResponseLoadSnapshotChunk\x12\x14\n\x05\x63hunk\x18\x01 \x01(\x0cR\x05\x63hunk\"\x98\x02\n\x1aResponseApplySnapshotChunk\x12J\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.ResultR\x06result\x12%\n\x0erefetch_chunks\x18\x02 \x03(\rR\rrefetchChunks\x12%\n\x0ereject_senders\x18\x03 \x03(\tR\rrejectSenders\"`\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\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\"\xa1\x01\n\x17ResponseProcessProposal\x12O\n\x06status\x18\x01 \x01(\x0e\x32\x37.tendermint.abci.ResponseProcessProposal.ProposalStatusR\x06status\"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%\n\x0evote_extension\x18\x01 \x01(\x0cR\rvoteExtension\"\xa5\x01\n\x1bResponseVerifyVoteExtension\x12Q\n\x06status\x18\x01 \x01(\x0e\x32\x39.tendermint.abci.ResponseVerifyVoteExtension.VerifyStatusR\x06status\"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\"\xea\x02\n\x15ResponseFinalizeBlock\x12H\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12<\n\ntx_results\x18\x02 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResultR\ttxResults\x12S\n\x11validator_updates\x18\x03 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\x10validatorUpdates\x12Y\n\x17\x63onsensus_param_updates\x18\x04 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x15\x63onsensusParamUpdates\x12\x19\n\x08\x61pp_hash\x18\x05 \x01(\x0cR\x07\x61ppHash\"Y\n\nCommitInfo\x12\x14\n\x05round\x18\x01 \x01(\x05R\x05round\x12\x35\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00R\x05votes\"i\n\x12\x45xtendedCommitInfo\x12\x14\n\x05round\x18\x01 \x01(\x05R\x05round\x12=\n\x05votes\x18\x02 \x03(\x0b\x32!.tendermint.abci.ExtendedVoteInfoB\x04\xc8\xde\x1f\x00R\x05votes\"z\n\x05\x45vent\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12]\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitemptyR\nattributes\"N\n\x0e\x45ventAttribute\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x14\n\x05index\x18\x03 \x01(\x08R\x05index\"\x80\x02\n\x0c\x45xecTxResult\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12H\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12\x1c\n\tcodespace\x18\x08 \x01(\tR\tcodespace\"\x85\x01\n\x08TxResult\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05index\x18\x02 \x01(\rR\x05index\x12\x0e\n\x02tx\x18\x03 \x01(\x0cR\x02tx\x12;\n\x06result\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ExecTxResultB\x04\xc8\xde\x1f\x00R\x06result\";\n\tValidator\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0cR\x07\x61\x64\x64ress\x12\x14\n\x05power\x18\x03 \x01(\x03R\x05power\"d\n\x0fValidatorUpdate\x12;\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12\x14\n\x05power\x18\x02 \x01(\x03R\x05power\"\x93\x01\n\x08VoteInfo\x12>\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12\x41\n\rblock_id_flag\x18\x03 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlagJ\x04\x08\x02\x10\x03\"\xf3\x01\n\x10\x45xtendedVoteInfo\x12>\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12%\n\x0evote_extension\x18\x03 \x01(\x0cR\rvoteExtension\x12/\n\x13\x65xtension_signature\x18\x04 \x01(\x0cR\x12\x65xtensionSignature\x12\x41\n\rblock_id_flag\x18\x05 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlagJ\x04\x08\x02\x10\x03\"\x83\x02\n\x0bMisbehavior\x12\x34\n\x04type\x18\x01 \x01(\x0e\x32 .tendermint.abci.MisbehaviorTypeR\x04type\x12>\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12,\n\x12total_voting_power\x18\x05 \x01(\x03R\x10totalVotingPower\"\x82\x01\n\x08Snapshot\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x16\n\x06\x63hunks\x18\x03 \x01(\rR\x06\x63hunks\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x1a\n\x08metadata\x18\x05 \x01(\x0cR\x08metadata*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\xa7\x01\n\x13\x63om.tendermint.abciB\nTypesProtoP\x01Z\'github.com/cometbft/cometbft/abci/types\xa2\x02\x03TAX\xaa\x02\x0fTendermint.Abci\xca\x02\x0fTendermint\\Abci\xe2\x02\x1bTendermint\\Abci\\GPBMetadata\xea\x02\x10Tendermint::Abcib\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.abci.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.tendermint.abciB\nTypesProtoP\001Z\'github.com/cometbft/cometbft/abci/types\242\002\003TAX\252\002\017Tendermint.Abci\312\002\017Tendermint\\Abci\342\002\033Tendermint\\Abci\\GPBMetadata\352\002\020Tendermint::Abci' + _globals['_CHECKTXTYPE'].values_by_name["NEW"]._loaded_options = None + _globals['_CHECKTXTYPE'].values_by_name["NEW"]._serialized_options = b'\212\235 \003New' + _globals['_CHECKTXTYPE'].values_by_name["RECHECK"]._loaded_options = None + _globals['_CHECKTXTYPE'].values_by_name["RECHECK"]._serialized_options = b'\212\235 \007Recheck' + _globals['_REQUESTINITCHAIN'].fields_by_name['time']._loaded_options = None + _globals['_REQUESTINITCHAIN'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_REQUESTINITCHAIN'].fields_by_name['validators']._loaded_options = None + _globals['_REQUESTINITCHAIN'].fields_by_name['validators']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['local_last_commit']._loaded_options = None + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['local_last_commit']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['misbehavior']._loaded_options = None + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['time']._loaded_options = None + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['proposed_last_commit']._loaded_options = None + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['proposed_last_commit']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['misbehavior']._loaded_options = None + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['time']._loaded_options = None + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_REQUESTEXTENDVOTE'].fields_by_name['time']._loaded_options = None + _globals['_REQUESTEXTENDVOTE'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_REQUESTEXTENDVOTE'].fields_by_name['proposed_last_commit']._loaded_options = None + _globals['_REQUESTEXTENDVOTE'].fields_by_name['proposed_last_commit']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTEXTENDVOTE'].fields_by_name['misbehavior']._loaded_options = None + _globals['_REQUESTEXTENDVOTE'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['decided_last_commit']._loaded_options = None + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['decided_last_commit']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['misbehavior']._loaded_options = None + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['time']._loaded_options = None + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_RESPONSEINITCHAIN'].fields_by_name['validators']._loaded_options = None + _globals['_RESPONSEINITCHAIN'].fields_by_name['validators']._serialized_options = b'\310\336\037\000' + _globals['_RESPONSECHECKTX'].fields_by_name['events']._loaded_options = None + _globals['_RESPONSECHECKTX'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' + _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['events']._loaded_options = None + _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' + _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['validator_updates']._loaded_options = None + _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['validator_updates']._serialized_options = b'\310\336\037\000' + _globals['_COMMITINFO'].fields_by_name['votes']._loaded_options = None + _globals['_COMMITINFO'].fields_by_name['votes']._serialized_options = b'\310\336\037\000' + _globals['_EXTENDEDCOMMITINFO'].fields_by_name['votes']._loaded_options = None + _globals['_EXTENDEDCOMMITINFO'].fields_by_name['votes']._serialized_options = b'\310\336\037\000' + _globals['_EVENT'].fields_by_name['attributes']._loaded_options = None + _globals['_EVENT'].fields_by_name['attributes']._serialized_options = b'\310\336\037\000\352\336\037\024attributes,omitempty' + _globals['_EXECTXRESULT'].fields_by_name['events']._loaded_options = None + _globals['_EXECTXRESULT'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' + _globals['_TXRESULT'].fields_by_name['result']._loaded_options = None + _globals['_TXRESULT'].fields_by_name['result']._serialized_options = b'\310\336\037\000' + _globals['_VALIDATORUPDATE'].fields_by_name['pub_key']._loaded_options = None + _globals['_VALIDATORUPDATE'].fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' + _globals['_VOTEINFO'].fields_by_name['validator']._loaded_options = None + _globals['_VOTEINFO'].fields_by_name['validator']._serialized_options = b'\310\336\037\000' + _globals['_EXTENDEDVOTEINFO'].fields_by_name['validator']._loaded_options = None + _globals['_EXTENDEDVOTEINFO'].fields_by_name['validator']._serialized_options = b'\310\336\037\000' + _globals['_MISBEHAVIOR'].fields_by_name['validator']._loaded_options = None + _globals['_MISBEHAVIOR'].fields_by_name['validator']._serialized_options = b'\310\336\037\000' + _globals['_MISBEHAVIOR'].fields_by_name['time']._loaded_options = None + _globals['_MISBEHAVIOR'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_CHECKTXTYPE']._serialized_start=9832 + _globals['_CHECKTXTYPE']._serialized_end=9889 + _globals['_MISBEHAVIORTYPE']._serialized_start=9891 + _globals['_MISBEHAVIORTYPE']._serialized_end=9966 + _globals['_REQUEST']._serialized_start=230 + _globals['_REQUEST']._serialized_end=1445 + _globals['_REQUESTECHO']._serialized_start=1447 + _globals['_REQUESTECHO']._serialized_end=1486 + _globals['_REQUESTFLUSH']._serialized_start=1488 + _globals['_REQUESTFLUSH']._serialized_end=1502 + _globals['_REQUESTINFO']._serialized_start=1505 + _globals['_REQUESTINFO']._serialized_end=1649 + _globals['_REQUESTINITCHAIN']._serialized_start=1652 + _globals['_REQUESTINITCHAIN']._serialized_end=1984 + _globals['_REQUESTQUERY']._serialized_start=1986 + _globals['_REQUESTQUERY']._serialized_end=2086 + _globals['_REQUESTCHECKTX']._serialized_start=2088 + _globals['_REQUESTCHECKTX']._serialized_end=2170 + _globals['_REQUESTCOMMIT']._serialized_start=2172 + _globals['_REQUESTCOMMIT']._serialized_end=2187 + _globals['_REQUESTLISTSNAPSHOTS']._serialized_start=2189 + _globals['_REQUESTLISTSNAPSHOTS']._serialized_end=2211 + _globals['_REQUESTOFFERSNAPSHOT']._serialized_start=2213 + _globals['_REQUESTOFFERSNAPSHOT']._serialized_end=2317 + _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_start=2319 + _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_end=2415 + _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_start=2417 + _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_end=2512 + _globals['_REQUESTPREPAREPROPOSAL']._serialized_start=2515 + _globals['_REQUESTPREPAREPROPOSAL']._serialized_end=2923 + _globals['_REQUESTPROCESSPROPOSAL']._serialized_start=2926 + _globals['_REQUESTPROCESSPROPOSAL']._serialized_end=3318 + _globals['_REQUESTEXTENDVOTE']._serialized_start=3321 + _globals['_REQUESTEXTENDVOTE']._serialized_end=3708 + _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_start=3711 + _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_end=3867 + _globals['_REQUESTFINALIZEBLOCK']._serialized_start=3870 + _globals['_REQUESTFINALIZEBLOCK']._serialized_end=4258 + _globals['_RESPONSE']._serialized_start=4261 + _globals['_RESPONSE']._serialized_end=5561 + _globals['_RESPONSEEXCEPTION']._serialized_start=5563 + _globals['_RESPONSEEXCEPTION']._serialized_end=5604 + _globals['_RESPONSEECHO']._serialized_start=5606 + _globals['_RESPONSEECHO']._serialized_end=5646 + _globals['_RESPONSEFLUSH']._serialized_start=5648 + _globals['_RESPONSEFLUSH']._serialized_end=5663 + _globals['_RESPONSEINFO']._serialized_start=5666 + _globals['_RESPONSEINFO']._serialized_end=5850 + _globals['_RESPONSEINITCHAIN']._serialized_start=5853 + _globals['_RESPONSEINITCHAIN']._serialized_end=6049 + _globals['_RESPONSEQUERY']._serialized_start=6052 + _globals['_RESPONSEQUERY']._serialized_end=6299 + _globals['_RESPONSECHECKTX']._serialized_start=6302 + _globals['_RESPONSECHECKTX']._serialized_end=6600 + _globals['_RESPONSECOMMIT']._serialized_start=6602 + _globals['_RESPONSECOMMIT']._serialized_end=6667 + _globals['_RESPONSELISTSNAPSHOTS']._serialized_start=6669 + _globals['_RESPONSELISTSNAPSHOTS']._serialized_end=6749 + _globals['_RESPONSEOFFERSNAPSHOT']._serialized_start=6752 + _globals['_RESPONSEOFFERSNAPSHOT']._serialized_end=6942 + _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_start=6848 + _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_end=6942 + _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_start=6944 + _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_end=6993 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_start=6996 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_end=7276 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_start=7180 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_end=7276 + _globals['_RESPONSEPREPAREPROPOSAL']._serialized_start=7278 + _globals['_RESPONSEPREPAREPROPOSAL']._serialized_end=7321 + _globals['_RESPONSEPROCESSPROPOSAL']._serialized_start=7324 + _globals['_RESPONSEPROCESSPROPOSAL']._serialized_end=7485 + _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_start=7432 + _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_end=7485 + _globals['_RESPONSEEXTENDVOTE']._serialized_start=7487 + _globals['_RESPONSEEXTENDVOTE']._serialized_end=7546 + _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_start=7549 + _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_end=7714 + _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_start=7663 + _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_end=7714 + _globals['_RESPONSEFINALIZEBLOCK']._serialized_start=7717 + _globals['_RESPONSEFINALIZEBLOCK']._serialized_end=8079 + _globals['_COMMITINFO']._serialized_start=8081 + _globals['_COMMITINFO']._serialized_end=8170 + _globals['_EXTENDEDCOMMITINFO']._serialized_start=8172 + _globals['_EXTENDEDCOMMITINFO']._serialized_end=8277 + _globals['_EVENT']._serialized_start=8279 + _globals['_EVENT']._serialized_end=8401 + _globals['_EVENTATTRIBUTE']._serialized_start=8403 + _globals['_EVENTATTRIBUTE']._serialized_end=8481 + _globals['_EXECTXRESULT']._serialized_start=8484 + _globals['_EXECTXRESULT']._serialized_end=8740 + _globals['_TXRESULT']._serialized_start=8743 + _globals['_TXRESULT']._serialized_end=8876 + _globals['_VALIDATOR']._serialized_start=8878 + _globals['_VALIDATOR']._serialized_end=8937 + _globals['_VALIDATORUPDATE']._serialized_start=8939 + _globals['_VALIDATORUPDATE']._serialized_end=9039 + _globals['_VOTEINFO']._serialized_start=9042 + _globals['_VOTEINFO']._serialized_end=9189 + _globals['_EXTENDEDVOTEINFO']._serialized_start=9192 + _globals['_EXTENDEDVOTEINFO']._serialized_end=9435 + _globals['_MISBEHAVIOR']._serialized_start=9438 + _globals['_MISBEHAVIOR']._serialized_end=9697 + _globals['_SNAPSHOT']._serialized_start=9700 + _globals['_SNAPSHOT']._serialized_end=9830 + _globals['_ABCI']._serialized_start=9969 + _globals['_ABCI']._serialized_end=11406 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/abci/types_pb2_grpc.py b/pyinjective/proto/tendermint/abci/types_pb2_grpc.py new file mode 100644 index 00000000..d18cc0b2 --- /dev/null +++ b/pyinjective/proto/tendermint/abci/types_pb2_grpc.py @@ -0,0 +1,731 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from pyinjective.proto.tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 + + +class ABCIStub(object): + """NOTE: When using custom types, mind the warnings. + https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Echo = channel.unary_unary( + '/tendermint.abci.ABCI/Echo', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestEcho.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseEcho.FromString, + _registered_method=True) + self.Flush = channel.unary_unary( + '/tendermint.abci.ABCI/Flush', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFlush.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFlush.FromString, + _registered_method=True) + self.Info = channel.unary_unary( + '/tendermint.abci.ABCI/Info', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.FromString, + _registered_method=True) + self.CheckTx = channel.unary_unary( + '/tendermint.abci.ABCI/CheckTx', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, + _registered_method=True) + self.Query = channel.unary_unary( + '/tendermint.abci.ABCI/Query', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, + _registered_method=True) + self.Commit = channel.unary_unary( + '/tendermint.abci.ABCI/Commit', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, + _registered_method=True) + self.InitChain = channel.unary_unary( + '/tendermint.abci.ABCI/InitChain', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, + _registered_method=True) + self.ListSnapshots = channel.unary_unary( + '/tendermint.abci.ABCI/ListSnapshots', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, + _registered_method=True) + self.OfferSnapshot = channel.unary_unary( + '/tendermint.abci.ABCI/OfferSnapshot', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, + _registered_method=True) + self.LoadSnapshotChunk = channel.unary_unary( + '/tendermint.abci.ABCI/LoadSnapshotChunk', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, + _registered_method=True) + self.ApplySnapshotChunk = channel.unary_unary( + '/tendermint.abci.ABCI/ApplySnapshotChunk', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, + _registered_method=True) + self.PrepareProposal = channel.unary_unary( + '/tendermint.abci.ABCI/PrepareProposal', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, + _registered_method=True) + self.ProcessProposal = channel.unary_unary( + '/tendermint.abci.ABCI/ProcessProposal', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, + _registered_method=True) + self.ExtendVote = channel.unary_unary( + '/tendermint.abci.ABCI/ExtendVote', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.FromString, + _registered_method=True) + self.VerifyVoteExtension = channel.unary_unary( + '/tendermint.abci.ABCI/VerifyVoteExtension', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.FromString, + _registered_method=True) + self.FinalizeBlock = channel.unary_unary( + '/tendermint.abci.ABCI/FinalizeBlock', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.FromString, + _registered_method=True) + + +class ABCIServicer(object): + """NOTE: When using custom types, mind the warnings. + https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues + + """ + + def Echo(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Flush(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Info(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CheckTx(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Query(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Commit(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def InitChain(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListSnapshots(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def OfferSnapshot(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def LoadSnapshotChunk(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ApplySnapshotChunk(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PrepareProposal(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ProcessProposal(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ExtendVote(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def VerifyVoteExtension(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def FinalizeBlock(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ABCIServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Echo': grpc.unary_unary_rpc_method_handler( + servicer.Echo, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestEcho.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseEcho.SerializeToString, + ), + 'Flush': grpc.unary_unary_rpc_method_handler( + servicer.Flush, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestFlush.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseFlush.SerializeToString, + ), + 'Info': grpc.unary_unary_rpc_method_handler( + servicer.Info, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.SerializeToString, + ), + 'CheckTx': grpc.unary_unary_rpc_method_handler( + servicer.CheckTx, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.SerializeToString, + ), + 'Query': grpc.unary_unary_rpc_method_handler( + servicer.Query, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestQuery.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseQuery.SerializeToString, + ), + 'Commit': grpc.unary_unary_rpc_method_handler( + servicer.Commit, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestCommit.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseCommit.SerializeToString, + ), + 'InitChain': grpc.unary_unary_rpc_method_handler( + servicer.InitChain, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.SerializeToString, + ), + 'ListSnapshots': grpc.unary_unary_rpc_method_handler( + servicer.ListSnapshots, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.SerializeToString, + ), + 'OfferSnapshot': grpc.unary_unary_rpc_method_handler( + servicer.OfferSnapshot, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.SerializeToString, + ), + 'LoadSnapshotChunk': grpc.unary_unary_rpc_method_handler( + servicer.LoadSnapshotChunk, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.SerializeToString, + ), + 'ApplySnapshotChunk': grpc.unary_unary_rpc_method_handler( + servicer.ApplySnapshotChunk, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.SerializeToString, + ), + 'PrepareProposal': grpc.unary_unary_rpc_method_handler( + servicer.PrepareProposal, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.SerializeToString, + ), + 'ProcessProposal': grpc.unary_unary_rpc_method_handler( + servicer.ProcessProposal, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.SerializeToString, + ), + 'ExtendVote': grpc.unary_unary_rpc_method_handler( + servicer.ExtendVote, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.SerializeToString, + ), + 'VerifyVoteExtension': grpc.unary_unary_rpc_method_handler( + servicer.VerifyVoteExtension, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.SerializeToString, + ), + 'FinalizeBlock': grpc.unary_unary_rpc_method_handler( + servicer.FinalizeBlock, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'tendermint.abci.ABCI', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('tendermint.abci.ABCI', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class ABCI(object): + """NOTE: When using custom types, mind the warnings. + https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues + + """ + + @staticmethod + def Echo(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.abci.ABCI/Echo', + tendermint_dot_abci_dot_types__pb2.RequestEcho.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseEcho.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Flush(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.abci.ABCI/Flush', + tendermint_dot_abci_dot_types__pb2.RequestFlush.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseFlush.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Info(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.abci.ABCI/Info', + tendermint_dot_abci_dot_types__pb2.RequestInfo.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseInfo.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CheckTx(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.abci.ABCI/CheckTx', + tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Query(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.abci.ABCI/Query', + tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Commit(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.abci.ABCI/Commit', + tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def InitChain(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.abci.ABCI/InitChain', + tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ListSnapshots(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.abci.ABCI/ListSnapshots', + tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def OfferSnapshot(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.abci.ABCI/OfferSnapshot', + tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def LoadSnapshotChunk(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.abci.ABCI/LoadSnapshotChunk', + tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ApplySnapshotChunk(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.abci.ABCI/ApplySnapshotChunk', + tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PrepareProposal(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.abci.ABCI/PrepareProposal', + tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ProcessProposal(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.abci.ABCI/ProcessProposal', + tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ExtendVote(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.abci.ABCI/ExtendVote', + tendermint_dot_abci_dot_types__pb2.RequestExtendVote.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def VerifyVoteExtension(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.abci.ABCI/VerifyVoteExtension', + tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def FinalizeBlock(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.abci.ABCI/FinalizeBlock', + tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/tendermint/crypto/keys_pb2.py b/pyinjective/proto/tendermint/crypto/keys_pb2.py new file mode 100644 index 00000000..6d1762da --- /dev/null +++ b/pyinjective/proto/tendermint/crypto/keys_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/crypto/keys.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/crypto/keys.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto\"X\n\tPublicKey\x12\x1a\n\x07\x65\x64\x32\x35\x35\x31\x39\x18\x01 \x01(\x0cH\x00R\x07\x65\x64\x32\x35\x35\x31\x39\x12\x1e\n\tsecp256k1\x18\x02 \x01(\x0cH\x00R\tsecp256k1:\x08\xe8\xa0\x1f\x01\xe8\xa1\x1f\x01\x42\x05\n\x03sumB\xbd\x01\n\x15\x63om.tendermint.cryptoB\tKeysProtoP\x01Z4github.com/cometbft/cometbft/proto/tendermint/crypto\xa2\x02\x03TCX\xaa\x02\x11Tendermint.Crypto\xca\x02\x11Tendermint\\Crypto\xe2\x02\x1dTendermint\\Crypto\\GPBMetadata\xea\x02\x12Tendermint::Cryptob\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.keys_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.tendermint.cryptoB\tKeysProtoP\001Z4github.com/cometbft/cometbft/proto/tendermint/crypto\242\002\003TCX\252\002\021Tendermint.Crypto\312\002\021Tendermint\\Crypto\342\002\035Tendermint\\Crypto\\GPBMetadata\352\002\022Tendermint::Crypto' + _globals['_PUBLICKEY']._loaded_options = None + _globals['_PUBLICKEY']._serialized_options = b'\350\240\037\001\350\241\037\001' + _globals['_PUBLICKEY']._serialized_start=73 + _globals['_PUBLICKEY']._serialized_end=161 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/crypto/keys_pb2_grpc.py b/pyinjective/proto/tendermint/crypto/keys_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/crypto/keys_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/crypto/proof_pb2.py b/pyinjective/proto/tendermint/crypto/proof_pb2.py new file mode 100644 index 00000000..5681a5e2 --- /dev/null +++ b/pyinjective/proto/tendermint/crypto/proof_pb2.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/crypto/proof.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/crypto/proof.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto\"f\n\x05Proof\x12\x14\n\x05total\x18\x01 \x01(\x03R\x05total\x12\x14\n\x05index\x18\x02 \x01(\x03R\x05index\x12\x1b\n\tleaf_hash\x18\x03 \x01(\x0cR\x08leafHash\x12\x14\n\x05\x61unts\x18\x04 \x03(\x0cR\x05\x61unts\"K\n\x07ValueOp\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12.\n\x05proof\x18\x02 \x01(\x0b\x32\x18.tendermint.crypto.ProofR\x05proof\"J\n\x08\x44ominoOp\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05input\x18\x02 \x01(\tR\x05input\x12\x16\n\x06output\x18\x03 \x01(\tR\x06output\"C\n\x07ProofOp\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x10\n\x03key\x18\x02 \x01(\x0cR\x03key\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\">\n\x08ProofOps\x12\x32\n\x03ops\x18\x01 \x03(\x0b\x32\x1a.tendermint.crypto.ProofOpB\x04\xc8\xde\x1f\x00R\x03opsB\xbe\x01\n\x15\x63om.tendermint.cryptoB\nProofProtoP\x01Z4github.com/cometbft/cometbft/proto/tendermint/crypto\xa2\x02\x03TCX\xaa\x02\x11Tendermint.Crypto\xca\x02\x11Tendermint\\Crypto\xe2\x02\x1dTendermint\\Crypto\\GPBMetadata\xea\x02\x12Tendermint::Cryptob\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.proof_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.tendermint.cryptoB\nProofProtoP\001Z4github.com/cometbft/cometbft/proto/tendermint/crypto\242\002\003TCX\252\002\021Tendermint.Crypto\312\002\021Tendermint\\Crypto\342\002\035Tendermint\\Crypto\\GPBMetadata\352\002\022Tendermint::Crypto' + _globals['_PROOFOPS'].fields_by_name['ops']._loaded_options = None + _globals['_PROOFOPS'].fields_by_name['ops']._serialized_options = b'\310\336\037\000' + _globals['_PROOF']._serialized_start=74 + _globals['_PROOF']._serialized_end=176 + _globals['_VALUEOP']._serialized_start=178 + _globals['_VALUEOP']._serialized_end=253 + _globals['_DOMINOOP']._serialized_start=255 + _globals['_DOMINOOP']._serialized_end=329 + _globals['_PROOFOP']._serialized_start=331 + _globals['_PROOFOP']._serialized_end=398 + _globals['_PROOFOPS']._serialized_start=400 + _globals['_PROOFOPS']._serialized_end=462 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/crypto/proof_pb2_grpc.py b/pyinjective/proto/tendermint/crypto/proof_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/crypto/proof_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/libs/bits/types_pb2.py b/pyinjective/proto/tendermint/libs/bits/types_pb2.py new file mode 100644 index 00000000..207b36a4 --- /dev/null +++ b/pyinjective/proto/tendermint/libs/bits/types_pb2.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/libs/bits/types.proto +# Protobuf Python Version: 5.26.1 +"""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/libs/bits/types.proto\x12\x14tendermint.libs.bits\"4\n\x08\x42itArray\x12\x12\n\x04\x62its\x18\x01 \x01(\x03R\x04\x62its\x12\x14\n\x05\x65lems\x18\x02 \x03(\x04R\x05\x65lemsB\xd1\x01\n\x18\x63om.tendermint.libs.bitsB\nTypesProtoP\x01Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits\xa2\x02\x03TLB\xaa\x02\x14Tendermint.Libs.Bits\xca\x02\x14Tendermint\\Libs\\Bits\xe2\x02 Tendermint\\Libs\\Bits\\GPBMetadata\xea\x02\x16Tendermint::Libs::Bitsb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.libs.bits.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.tendermint.libs.bitsB\nTypesProtoP\001Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits\242\002\003TLB\252\002\024Tendermint.Libs.Bits\312\002\024Tendermint\\Libs\\Bits\342\002 Tendermint\\Libs\\Bits\\GPBMetadata\352\002\026Tendermint::Libs::Bits' + _globals['_BITARRAY']._serialized_start=58 + _globals['_BITARRAY']._serialized_end=110 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/libs/bits/types_pb2_grpc.py b/pyinjective/proto/tendermint/libs/bits/types_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/libs/bits/types_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/p2p/types_pb2.py b/pyinjective/proto/tendermint/p2p/types_pb2.py new file mode 100644 index 00000000..585eff1d --- /dev/null +++ b/pyinjective/proto/tendermint/p2p/types_pb2.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/p2p/types.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1atendermint/p2p/types.proto\x12\x0etendermint.p2p\x1a\x14gogoproto/gogo.proto\"P\n\nNetAddress\x12\x16\n\x02id\x18\x01 \x01(\tB\x06\xe2\xde\x1f\x02IDR\x02id\x12\x16\n\x02ip\x18\x02 \x01(\tB\x06\xe2\xde\x1f\x02IPR\x02ip\x12\x12\n\x04port\x18\x03 \x01(\rR\x04port\"T\n\x0fProtocolVersion\x12\x19\n\x03p2p\x18\x01 \x01(\x04\x42\x07\xe2\xde\x1f\x03P2PR\x03p2p\x12\x14\n\x05\x62lock\x18\x02 \x01(\x04R\x05\x62lock\x12\x10\n\x03\x61pp\x18\x03 \x01(\x04R\x03\x61pp\"\xeb\x02\n\x0f\x44\x65\x66\x61ultNodeInfo\x12P\n\x10protocol_version\x18\x01 \x01(\x0b\x32\x1f.tendermint.p2p.ProtocolVersionB\x04\xc8\xde\x1f\x00R\x0fprotocolVersion\x12\x39\n\x0f\x64\x65\x66\x61ult_node_id\x18\x02 \x01(\tB\x11\xe2\xde\x1f\rDefaultNodeIDR\rdefaultNodeId\x12\x1f\n\x0blisten_addr\x18\x03 \x01(\tR\nlistenAddr\x12\x18\n\x07network\x18\x04 \x01(\tR\x07network\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12\x1a\n\x08\x63hannels\x18\x06 \x01(\x0cR\x08\x63hannels\x12\x18\n\x07moniker\x18\x07 \x01(\tR\x07moniker\x12@\n\x05other\x18\x08 \x01(\x0b\x32$.tendermint.p2p.DefaultNodeInfoOtherB\x04\xc8\xde\x1f\x00R\x05other\"b\n\x14\x44\x65\x66\x61ultNodeInfoOther\x12\x19\n\x08tx_index\x18\x01 \x01(\tR\x07txIndex\x12/\n\x0brpc_address\x18\x02 \x01(\tB\x0e\xe2\xde\x1f\nRPCAddressR\nrpcAddressB\xac\x01\n\x12\x63om.tendermint.p2pB\nTypesProtoP\x01Z1github.com/cometbft/cometbft/proto/tendermint/p2p\xa2\x02\x03TPX\xaa\x02\x0eTendermint.P2p\xca\x02\x0eTendermint\\P2p\xe2\x02\x1aTendermint\\P2p\\GPBMetadata\xea\x02\x0fTendermint::P2pb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.tendermint.p2pB\nTypesProtoP\001Z1github.com/cometbft/cometbft/proto/tendermint/p2p\242\002\003TPX\252\002\016Tendermint.P2p\312\002\016Tendermint\\P2p\342\002\032Tendermint\\P2p\\GPBMetadata\352\002\017Tendermint::P2p' + _globals['_NETADDRESS'].fields_by_name['id']._loaded_options = None + _globals['_NETADDRESS'].fields_by_name['id']._serialized_options = b'\342\336\037\002ID' + _globals['_NETADDRESS'].fields_by_name['ip']._loaded_options = None + _globals['_NETADDRESS'].fields_by_name['ip']._serialized_options = b'\342\336\037\002IP' + _globals['_PROTOCOLVERSION'].fields_by_name['p2p']._loaded_options = None + _globals['_PROTOCOLVERSION'].fields_by_name['p2p']._serialized_options = b'\342\336\037\003P2P' + _globals['_DEFAULTNODEINFO'].fields_by_name['protocol_version']._loaded_options = None + _globals['_DEFAULTNODEINFO'].fields_by_name['protocol_version']._serialized_options = b'\310\336\037\000' + _globals['_DEFAULTNODEINFO'].fields_by_name['default_node_id']._loaded_options = None + _globals['_DEFAULTNODEINFO'].fields_by_name['default_node_id']._serialized_options = b'\342\336\037\rDefaultNodeID' + _globals['_DEFAULTNODEINFO'].fields_by_name['other']._loaded_options = None + _globals['_DEFAULTNODEINFO'].fields_by_name['other']._serialized_options = b'\310\336\037\000' + _globals['_DEFAULTNODEINFOOTHER'].fields_by_name['rpc_address']._loaded_options = None + _globals['_DEFAULTNODEINFOOTHER'].fields_by_name['rpc_address']._serialized_options = b'\342\336\037\nRPCAddress' + _globals['_NETADDRESS']._serialized_start=68 + _globals['_NETADDRESS']._serialized_end=148 + _globals['_PROTOCOLVERSION']._serialized_start=150 + _globals['_PROTOCOLVERSION']._serialized_end=234 + _globals['_DEFAULTNODEINFO']._serialized_start=237 + _globals['_DEFAULTNODEINFO']._serialized_end=600 + _globals['_DEFAULTNODEINFOOTHER']._serialized_start=602 + _globals['_DEFAULTNODEINFOOTHER']._serialized_end=700 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/p2p/types_pb2_grpc.py b/pyinjective/proto/tendermint/p2p/types_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/p2p/types_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/types/block_pb2.py b/pyinjective/proto/tendermint/types/block_pb2.py new file mode 100644 index 00000000..fcbd42d0 --- /dev/null +++ b/pyinjective/proto/tendermint/types/block_pb2.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/types/block.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 +from pyinjective.proto.tendermint.types import evidence_pb2 as tendermint_dot_types_dot_evidence__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/block.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ftendermint/types/evidence.proto\"\xee\x01\n\x05\x42lock\x12\x36\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00R\x06header\x12\x30\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta\x12@\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\x04\xc8\xde\x1f\x00R\x08\x65vidence\x12\x39\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.CommitR\nlastCommitB\xb8\x01\n\x14\x63om.tendermint.typesB\nBlockProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.block_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\nBlockProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types' + _globals['_BLOCK'].fields_by_name['header']._loaded_options = None + _globals['_BLOCK'].fields_by_name['header']._serialized_options = b'\310\336\037\000' + _globals['_BLOCK'].fields_by_name['data']._loaded_options = None + _globals['_BLOCK'].fields_by_name['data']._serialized_options = b'\310\336\037\000' + _globals['_BLOCK'].fields_by_name['evidence']._loaded_options = None + _globals['_BLOCK'].fields_by_name['evidence']._serialized_options = b'\310\336\037\000' + _globals['_BLOCK']._serialized_start=136 + _globals['_BLOCK']._serialized_end=374 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/block_pb2_grpc.py b/pyinjective/proto/tendermint/types/block_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/types/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/types/evidence_pb2.py b/pyinjective/proto/tendermint/types/evidence_pb2.py new file mode 100644 index 00000000..d7f5ae43 --- /dev/null +++ b/pyinjective/proto/tendermint/types/evidence_pb2.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/types/evidence.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from pyinjective.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 +from pyinjective.proto.tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ftendermint/types/evidence.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/types/validator.proto\"\xe4\x01\n\x08\x45vidence\x12\x61\n\x17\x64uplicate_vote_evidence\x18\x01 \x01(\x0b\x32\'.tendermint.types.DuplicateVoteEvidenceH\x00R\x15\x64uplicateVoteEvidence\x12n\n\x1clight_client_attack_evidence\x18\x02 \x01(\x0b\x32+.tendermint.types.LightClientAttackEvidenceH\x00R\x19lightClientAttackEvidenceB\x05\n\x03sum\"\x90\x02\n\x15\x44uplicateVoteEvidence\x12-\n\x06vote_a\x18\x01 \x01(\x0b\x32\x16.tendermint.types.VoteR\x05voteA\x12-\n\x06vote_b\x18\x02 \x01(\x0b\x32\x16.tendermint.types.VoteR\x05voteB\x12,\n\x12total_voting_power\x18\x03 \x01(\x03R\x10totalVotingPower\x12\'\n\x0fvalidator_power\x18\x04 \x01(\x03R\x0evalidatorPower\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\"\xcd\x02\n\x19LightClientAttackEvidence\x12I\n\x11\x63onflicting_block\x18\x01 \x01(\x0b\x32\x1c.tendermint.types.LightBlockR\x10\x63onflictingBlock\x12#\n\rcommon_height\x18\x02 \x01(\x03R\x0c\x63ommonHeight\x12N\n\x14\x62yzantine_validators\x18\x03 \x03(\x0b\x32\x1b.tendermint.types.ValidatorR\x13\x62yzantineValidators\x12,\n\x12total_voting_power\x18\x04 \x01(\x03R\x10totalVotingPower\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\"L\n\x0c\x45videnceList\x12<\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x1a.tendermint.types.EvidenceB\x04\xc8\xde\x1f\x00R\x08\x65videnceB\xbb\x01\n\x14\x63om.tendermint.typesB\rEvidenceProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.evidence_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\rEvidenceProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types' + _globals['_DUPLICATEVOTEEVIDENCE'].fields_by_name['timestamp']._loaded_options = None + _globals['_DUPLICATEVOTEEVIDENCE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_LIGHTCLIENTATTACKEVIDENCE'].fields_by_name['timestamp']._loaded_options = None + _globals['_LIGHTCLIENTATTACKEVIDENCE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_EVIDENCELIST'].fields_by_name['evidence']._loaded_options = None + _globals['_EVIDENCELIST'].fields_by_name['evidence']._serialized_options = b'\310\336\037\000' + _globals['_EVIDENCE']._serialized_start=173 + _globals['_EVIDENCE']._serialized_end=401 + _globals['_DUPLICATEVOTEEVIDENCE']._serialized_start=404 + _globals['_DUPLICATEVOTEEVIDENCE']._serialized_end=676 + _globals['_LIGHTCLIENTATTACKEVIDENCE']._serialized_start=679 + _globals['_LIGHTCLIENTATTACKEVIDENCE']._serialized_end=1012 + _globals['_EVIDENCELIST']._serialized_start=1014 + _globals['_EVIDENCELIST']._serialized_end=1090 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/evidence_pb2_grpc.py b/pyinjective/proto/tendermint/types/evidence_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/types/evidence_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/types/params_pb2.py b/pyinjective/proto/tendermint/types/params_pb2.py new file mode 100644 index 00000000..1f8df4df --- /dev/null +++ b/pyinjective/proto/tendermint/types/params_pb2.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/types/params.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/types/params.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\"\xb2\x02\n\x0f\x43onsensusParams\x12\x33\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1d.tendermint.types.BlockParamsR\x05\x62lock\x12<\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParamsR\x08\x65vidence\x12?\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParamsR\tvalidator\x12\x39\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParamsR\x07version\x12\x30\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParamsR\x04\x61\x62\x63i\"I\n\x0b\x42lockParams\x12\x1b\n\tmax_bytes\x18\x01 \x01(\x03R\x08maxBytes\x12\x17\n\x07max_gas\x18\x02 \x01(\x03R\x06maxGasJ\x04\x08\x03\x10\x04\"\xa9\x01\n\x0e\x45videnceParams\x12+\n\x12max_age_num_blocks\x18\x01 \x01(\x03R\x0fmaxAgeNumBlocks\x12M\n\x10max_age_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0emaxAgeDuration\x12\x1b\n\tmax_bytes\x18\x03 \x01(\x03R\x08maxBytes\"?\n\x0fValidatorParams\x12\"\n\rpub_key_types\x18\x01 \x03(\tR\x0bpubKeyTypes:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\"+\n\rVersionParams\x12\x10\n\x03\x61pp\x18\x01 \x01(\x04R\x03\x61pp:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\"Z\n\x0cHashedParams\x12&\n\x0f\x62lock_max_bytes\x18\x01 \x01(\x03R\rblockMaxBytes\x12\"\n\rblock_max_gas\x18\x02 \x01(\x03R\x0b\x62lockMaxGas\"O\n\nABCIParams\x12\x41\n\x1dvote_extensions_enable_height\x18\x01 \x01(\x03R\x1avoteExtensionsEnableHeightB\xbd\x01\n\x14\x63om.tendermint.typesB\x0bParamsProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Types\xa8\xe2\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.params_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\013ParamsProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types\250\342\036\001' + _globals['_EVIDENCEPARAMS'].fields_by_name['max_age_duration']._loaded_options = None + _globals['_EVIDENCEPARAMS'].fields_by_name['max_age_duration']._serialized_options = b'\310\336\037\000\230\337\037\001' + _globals['_VALIDATORPARAMS']._loaded_options = None + _globals['_VALIDATORPARAMS']._serialized_options = b'\270\240\037\001\350\240\037\001' + _globals['_VERSIONPARAMS']._loaded_options = None + _globals['_VERSIONPARAMS']._serialized_options = b'\270\240\037\001\350\240\037\001' + _globals['_CONSENSUSPARAMS']._serialized_start=106 + _globals['_CONSENSUSPARAMS']._serialized_end=412 + _globals['_BLOCKPARAMS']._serialized_start=414 + _globals['_BLOCKPARAMS']._serialized_end=487 + _globals['_EVIDENCEPARAMS']._serialized_start=490 + _globals['_EVIDENCEPARAMS']._serialized_end=659 + _globals['_VALIDATORPARAMS']._serialized_start=661 + _globals['_VALIDATORPARAMS']._serialized_end=724 + _globals['_VERSIONPARAMS']._serialized_start=726 + _globals['_VERSIONPARAMS']._serialized_end=769 + _globals['_HASHEDPARAMS']._serialized_start=771 + _globals['_HASHEDPARAMS']._serialized_end=861 + _globals['_ABCIPARAMS']._serialized_start=863 + _globals['_ABCIPARAMS']._serialized_end=942 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/params_pb2_grpc.py b/pyinjective/proto/tendermint/types/params_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/types/params_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/types/types_pb2.py b/pyinjective/proto/tendermint/types/types_pb2.py new file mode 100644 index 00000000..8d569a24 --- /dev/null +++ b/pyinjective/proto/tendermint/types/types_pb2.py @@ -0,0 +1,108 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/types/types.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from pyinjective.proto.tendermint.crypto import proof_pb2 as tendermint_dot_crypto_dot_proof__pb2 +from pyinjective.proto.tendermint.version import types_pb2 as tendermint_dot_version_dot_types__pb2 +from pyinjective.proto.tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/types.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dtendermint/crypto/proof.proto\x1a\x1etendermint/version/types.proto\x1a tendermint/types/validator.proto\"9\n\rPartSetHeader\x12\x14\n\x05total\x18\x01 \x01(\rR\x05total\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash\"h\n\x04Part\x12\x14\n\x05index\x18\x01 \x01(\rR\x05index\x12\x14\n\x05\x62ytes\x18\x02 \x01(\x0cR\x05\x62ytes\x12\x34\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00R\x05proof\"l\n\x07\x42lockID\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12M\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00R\rpartSetHeader\"\xe6\x04\n\x06Header\x12=\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00R\x07version\x12&\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDR\x07\x63hainId\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x43\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00R\x0blastBlockId\x12(\n\x10last_commit_hash\x18\x06 \x01(\x0cR\x0elastCommitHash\x12\x1b\n\tdata_hash\x18\x07 \x01(\x0cR\x08\x64\x61taHash\x12\'\n\x0fvalidators_hash\x18\x08 \x01(\x0cR\x0evalidatorsHash\x12\x30\n\x14next_validators_hash\x18\t \x01(\x0cR\x12nextValidatorsHash\x12%\n\x0e\x63onsensus_hash\x18\n \x01(\x0cR\rconsensusHash\x12\x19\n\x08\x61pp_hash\x18\x0b \x01(\x0cR\x07\x61ppHash\x12*\n\x11last_results_hash\x18\x0c \x01(\x0cR\x0flastResultsHash\x12#\n\revidence_hash\x18\r \x01(\x0cR\x0c\x65videnceHash\x12)\n\x10proposer_address\x18\x0e \x01(\x0cR\x0fproposerAddress\"\x18\n\x04\x44\x61ta\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\"\xb7\x03\n\x04Vote\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12+\n\x11validator_address\x18\x06 \x01(\x0cR\x10validatorAddress\x12\'\n\x0fvalidator_index\x18\x07 \x01(\x05R\x0evalidatorIndex\x12\x1c\n\tsignature\x18\x08 \x01(\x0cR\tsignature\x12\x1c\n\textension\x18\t \x01(\x0cR\textension\x12/\n\x13\x65xtension_signature\x18\n \x01(\x0cR\x12\x65xtensionSignature\"\xc0\x01\n\x06\x43ommit\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x41\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00R\nsignatures\"\xdd\x01\n\tCommitSig\x12\x41\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlag\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature\"\xe1\x01\n\x0e\x45xtendedCommit\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12Z\n\x13\x65xtended_signatures\x18\x04 \x03(\x0b\x32#.tendermint.types.ExtendedCommitSigB\x04\xc8\xde\x1f\x00R\x12\x65xtendedSignatures\"\xb4\x02\n\x11\x45xtendedCommitSig\x12\x41\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlag\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature\x12\x1c\n\textension\x18\x05 \x01(\x0cR\textension\x12/\n\x13\x65xtension_signature\x18\x06 \x01(\x0cR\x12\x65xtensionSignature\"\xb3\x02\n\x08Proposal\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x05R\x05round\x12\x1b\n\tpol_round\x18\x04 \x01(\x05R\x08polRound\x12\x45\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x42\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x07 \x01(\x0cR\tsignature\"r\n\x0cSignedHeader\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderR\x06header\x12\x30\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.CommitR\x06\x63ommit\"\x96\x01\n\nLightBlock\x12\x43\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderR\x0csignedHeader\x12\x43\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x0cvalidatorSet\"\xc2\x01\n\tBlockMeta\x12\x45\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x1d\n\nblock_size\x18\x02 \x01(\x03R\tblockSize\x12\x36\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00R\x06header\x12\x17\n\x07num_txs\x18\x04 \x01(\x03R\x06numTxs\"j\n\x07TxProof\x12\x1b\n\troot_hash\x18\x01 \x01(\x0cR\x08rootHash\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12.\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofR\x05proof*\xd7\x01\n\rSignedMsgType\x12,\n\x17SIGNED_MSG_TYPE_UNKNOWN\x10\x00\x1a\x0f\x8a\x9d \x0bUnknownType\x12,\n\x17SIGNED_MSG_TYPE_PREVOTE\x10\x01\x1a\x0f\x8a\x9d \x0bPrevoteType\x12\x30\n\x19SIGNED_MSG_TYPE_PRECOMMIT\x10\x02\x1a\x11\x8a\x9d \rPrecommitType\x12.\n\x18SIGNED_MSG_TYPE_PROPOSAL\x10 \x1a\x10\x8a\x9d \x0cProposalType\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\xb8\x01\n\x14\x63om.tendermint.typesB\nTypesProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\nTypesProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types' + _globals['_SIGNEDMSGTYPE']._loaded_options = None + _globals['_SIGNEDMSGTYPE']._serialized_options = b'\210\243\036\000\250\244\036\001' + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._loaded_options = None + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._serialized_options = b'\212\235 \013UnknownType' + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PREVOTE"]._loaded_options = None + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PREVOTE"]._serialized_options = b'\212\235 \013PrevoteType' + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PRECOMMIT"]._loaded_options = None + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PRECOMMIT"]._serialized_options = b'\212\235 \rPrecommitType' + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PROPOSAL"]._loaded_options = None + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PROPOSAL"]._serialized_options = b'\212\235 \014ProposalType' + _globals['_PART'].fields_by_name['proof']._loaded_options = None + _globals['_PART'].fields_by_name['proof']._serialized_options = b'\310\336\037\000' + _globals['_BLOCKID'].fields_by_name['part_set_header']._loaded_options = None + _globals['_BLOCKID'].fields_by_name['part_set_header']._serialized_options = b'\310\336\037\000' + _globals['_HEADER'].fields_by_name['version']._loaded_options = None + _globals['_HEADER'].fields_by_name['version']._serialized_options = b'\310\336\037\000' + _globals['_HEADER'].fields_by_name['chain_id']._loaded_options = None + _globals['_HEADER'].fields_by_name['chain_id']._serialized_options = b'\342\336\037\007ChainID' + _globals['_HEADER'].fields_by_name['time']._loaded_options = None + _globals['_HEADER'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_HEADER'].fields_by_name['last_block_id']._loaded_options = None + _globals['_HEADER'].fields_by_name['last_block_id']._serialized_options = b'\310\336\037\000' + _globals['_VOTE'].fields_by_name['block_id']._loaded_options = None + _globals['_VOTE'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_VOTE'].fields_by_name['timestamp']._loaded_options = None + _globals['_VOTE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_COMMIT'].fields_by_name['block_id']._loaded_options = None + _globals['_COMMIT'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_COMMIT'].fields_by_name['signatures']._loaded_options = None + _globals['_COMMIT'].fields_by_name['signatures']._serialized_options = b'\310\336\037\000' + _globals['_COMMITSIG'].fields_by_name['timestamp']._loaded_options = None + _globals['_COMMITSIG'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_EXTENDEDCOMMIT'].fields_by_name['block_id']._loaded_options = None + _globals['_EXTENDEDCOMMIT'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_EXTENDEDCOMMIT'].fields_by_name['extended_signatures']._loaded_options = None + _globals['_EXTENDEDCOMMIT'].fields_by_name['extended_signatures']._serialized_options = b'\310\336\037\000' + _globals['_EXTENDEDCOMMITSIG'].fields_by_name['timestamp']._loaded_options = None + _globals['_EXTENDEDCOMMITSIG'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_PROPOSAL'].fields_by_name['block_id']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_PROPOSAL'].fields_by_name['timestamp']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_BLOCKMETA'].fields_by_name['block_id']._loaded_options = None + _globals['_BLOCKMETA'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_BLOCKMETA'].fields_by_name['header']._loaded_options = None + _globals['_BLOCKMETA'].fields_by_name['header']._serialized_options = b'\310\336\037\000' + _globals['_SIGNEDMSGTYPE']._serialized_start=3405 + _globals['_SIGNEDMSGTYPE']._serialized_end=3620 + _globals['_PARTSETHEADER']._serialized_start=202 + _globals['_PARTSETHEADER']._serialized_end=259 + _globals['_PART']._serialized_start=261 + _globals['_PART']._serialized_end=365 + _globals['_BLOCKID']._serialized_start=367 + _globals['_BLOCKID']._serialized_end=475 + _globals['_HEADER']._serialized_start=478 + _globals['_HEADER']._serialized_end=1092 + _globals['_DATA']._serialized_start=1094 + _globals['_DATA']._serialized_end=1118 + _globals['_VOTE']._serialized_start=1121 + _globals['_VOTE']._serialized_end=1560 + _globals['_COMMIT']._serialized_start=1563 + _globals['_COMMIT']._serialized_end=1755 + _globals['_COMMITSIG']._serialized_start=1758 + _globals['_COMMITSIG']._serialized_end=1979 + _globals['_EXTENDEDCOMMIT']._serialized_start=1982 + _globals['_EXTENDEDCOMMIT']._serialized_end=2207 + _globals['_EXTENDEDCOMMITSIG']._serialized_start=2210 + _globals['_EXTENDEDCOMMITSIG']._serialized_end=2518 + _globals['_PROPOSAL']._serialized_start=2521 + _globals['_PROPOSAL']._serialized_end=2828 + _globals['_SIGNEDHEADER']._serialized_start=2830 + _globals['_SIGNEDHEADER']._serialized_end=2944 + _globals['_LIGHTBLOCK']._serialized_start=2947 + _globals['_LIGHTBLOCK']._serialized_end=3097 + _globals['_BLOCKMETA']._serialized_start=3100 + _globals['_BLOCKMETA']._serialized_end=3294 + _globals['_TXPROOF']._serialized_start=3296 + _globals['_TXPROOF']._serialized_end=3402 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/types_pb2_grpc.py b/pyinjective/proto/tendermint/types/types_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/types/types_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/types/validator_pb2.py b/pyinjective/proto/tendermint/types/validator_pb2.py new file mode 100644 index 00000000..74283b73 --- /dev/null +++ b/pyinjective/proto/tendermint/types/validator_pb2.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/types/validator.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from pyinjective.proto.tendermint.crypto import keys_pb2 as tendermint_dot_crypto_dot_keys__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/validator.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto\"\xb2\x01\n\x0cValidatorSet\x12;\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.ValidatorR\nvalidators\x12\x37\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.ValidatorR\x08proposer\x12,\n\x12total_voting_power\x18\x03 \x01(\x03R\x10totalVotingPower\"\xb2\x01\n\tValidator\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0cR\x07\x61\x64\x64ress\x12;\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12!\n\x0cvoting_power\x18\x03 \x01(\x03R\x0bvotingPower\x12+\n\x11proposer_priority\x18\x04 \x01(\x03R\x10proposerPriority\"k\n\x0fSimpleValidator\x12\x35\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyR\x06pubKey\x12!\n\x0cvoting_power\x18\x02 \x01(\x03R\x0bvotingPower*\xd7\x01\n\x0b\x42lockIDFlag\x12\x31\n\x15\x42LOCK_ID_FLAG_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x42lockIDFlagUnknown\x12/\n\x14\x42LOCK_ID_FLAG_ABSENT\x10\x01\x1a\x15\x8a\x9d \x11\x42lockIDFlagAbsent\x12/\n\x14\x42LOCK_ID_FLAG_COMMIT\x10\x02\x1a\x15\x8a\x9d \x11\x42lockIDFlagCommit\x12)\n\x11\x42LOCK_ID_FLAG_NIL\x10\x03\x1a\x12\x8a\x9d \x0e\x42lockIDFlagNil\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\xbc\x01\n\x14\x63om.tendermint.typesB\x0eValidatorProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.validator_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\016ValidatorProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types' + _globals['_BLOCKIDFLAG']._loaded_options = None + _globals['_BLOCKIDFLAG']._serialized_options = b'\210\243\036\000\250\244\036\001' + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._loaded_options = None + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._serialized_options = b'\212\235 \022BlockIDFlagUnknown' + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_ABSENT"]._loaded_options = None + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_ABSENT"]._serialized_options = b'\212\235 \021BlockIDFlagAbsent' + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_COMMIT"]._loaded_options = None + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_COMMIT"]._serialized_options = b'\212\235 \021BlockIDFlagCommit' + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_NIL"]._loaded_options = None + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_NIL"]._serialized_options = b'\212\235 \016BlockIDFlagNil' + _globals['_VALIDATOR'].fields_by_name['pub_key']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' + _globals['_BLOCKIDFLAG']._serialized_start=578 + _globals['_BLOCKIDFLAG']._serialized_end=793 + _globals['_VALIDATORSET']._serialized_start=107 + _globals['_VALIDATORSET']._serialized_end=285 + _globals['_VALIDATOR']._serialized_start=288 + _globals['_VALIDATOR']._serialized_end=466 + _globals['_SIMPLEVALIDATOR']._serialized_start=468 + _globals['_SIMPLEVALIDATOR']._serialized_end=575 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/validator_pb2_grpc.py b/pyinjective/proto/tendermint/types/validator_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/types/validator_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/version/types_pb2.py b/pyinjective/proto/tendermint/version/types_pb2.py new file mode 100644 index 00000000..e93791f7 --- /dev/null +++ b/pyinjective/proto/tendermint/version/types_pb2.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/version/types.proto +# Protobuf Python Version: 5.26.1 +"""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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/version/types.proto\x12\x12tendermint.version\x1a\x14gogoproto/gogo.proto\"=\n\x03\x41pp\x12\x1a\n\x08protocol\x18\x01 \x01(\x04R\x08protocol\x12\x1a\n\x08software\x18\x02 \x01(\tR\x08software\"9\n\tConsensus\x12\x14\n\x05\x62lock\x18\x01 \x01(\x04R\x05\x62lock\x12\x10\n\x03\x61pp\x18\x02 \x01(\x04R\x03\x61pp:\x04\xe8\xa0\x1f\x01\x42\xc4\x01\n\x16\x63om.tendermint.versionB\nTypesProtoP\x01Z5github.com/cometbft/cometbft/proto/tendermint/version\xa2\x02\x03TVX\xaa\x02\x12Tendermint.Version\xca\x02\x12Tendermint\\Version\xe2\x02\x1eTendermint\\Version\\GPBMetadata\xea\x02\x13Tendermint::Versionb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.version.types_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.tendermint.versionB\nTypesProtoP\001Z5github.com/cometbft/cometbft/proto/tendermint/version\242\002\003TVX\252\002\022Tendermint.Version\312\002\022Tendermint\\Version\342\002\036Tendermint\\Version\\GPBMetadata\352\002\023Tendermint::Version' + _globals['_CONSENSUS']._loaded_options = None + _globals['_CONSENSUS']._serialized_options = b'\350\240\037\001' + _globals['_APP']._serialized_start=76 + _globals['_APP']._serialized_end=137 + _globals['_CONSENSUS']._serialized_start=139 + _globals['_CONSENSUS']._serialized_end=196 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/version/types_pb2_grpc.py b/pyinjective/proto/tendermint/version/types_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/version/types_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 + From d4fa1552c7e35d0a9b8829ca875e4786df44aa79 Mon Sep 17 00:00:00 2001 From: enigmarikki Date: Fri, 31 Jan 2025 15:16:24 -0500 Subject: [PATCH 6/7] "chore: added new chain rpc endpoints" --- pyinjective/async_client.py | 52 +- .../chain/grpc/chain_grpc_exchange_api.py | 10 + pyinjective/composer.py | 1 + pyinjective/proto/amino/amino_pb2.py | 13 +- pyinjective/proto/amino/amino_pb2_grpc.py | 1 - .../proto/capability/v1/capability_pb2.py | 37 +- .../capability/v1/capability_pb2_grpc.py | 1 - .../proto/capability/v1/genesis_pb2.py | 29 +- .../proto/capability/v1/genesis_pb2_grpc.py | 1 - .../cosmos/app/runtime/v1alpha1/module_pb2.py | 27 +- .../app/runtime/v1alpha1/module_pb2_grpc.py | 1 - .../proto/cosmos/app/v1alpha1/config_pb2.py | 25 +- .../cosmos/app/v1alpha1/config_pb2_grpc.py | 1 - .../proto/cosmos/app/v1alpha1/module_pb2.py | 25 +- .../cosmos/app/v1alpha1/module_pb2_grpc.py | 1 - .../proto/cosmos/app/v1alpha1/query_pb2.py | 25 +- .../cosmos/app/v1alpha1/query_pb2_grpc.py | 69 +- .../proto/cosmos/auth/module/v1/module_pb2.py | 25 +- .../cosmos/auth/module/v1/module_pb2_grpc.py | 1 - .../proto/cosmos/auth/v1beta1/auth_pb2.py | 75 +- .../cosmos/auth/v1beta1/auth_pb2_grpc.py | 1 - .../proto/cosmos/auth/v1beta1/genesis_pb2.py | 21 +- .../cosmos/auth/v1beta1/genesis_pb2_grpc.py | 1 - .../proto/cosmos/auth/v1beta1/query_pb2.py | 215 +- .../cosmos/auth/v1beta1/query_pb2_grpc.py | 525 +-- .../proto/cosmos/auth/v1beta1/tx_pb2.py | 43 +- .../proto/cosmos/auth/v1beta1/tx_pb2_grpc.py | 66 +- .../cosmos/authz/module/v1/module_pb2.py | 21 +- .../cosmos/authz/module/v1/module_pb2_grpc.py | 1 - .../proto/cosmos/authz/v1beta1/authz_pb2.py | 63 +- .../cosmos/authz/v1beta1/authz_pb2_grpc.py | 1 - .../proto/cosmos/authz/v1beta1/event_pb2.py | 37 +- .../cosmos/authz/v1beta1/event_pb2_grpc.py | 1 - .../proto/cosmos/authz/v1beta1/genesis_pb2.py | 21 +- .../cosmos/authz/v1beta1/genesis_pb2_grpc.py | 1 - .../proto/cosmos/authz/v1beta1/query_pb2.py | 83 +- .../cosmos/authz/v1beta1/query_pb2_grpc.py | 169 +- .../proto/cosmos/authz/v1beta1/tx_pb2.py | 101 +- .../proto/cosmos/authz/v1beta1/tx_pb2_grpc.py | 219 +- .../proto/cosmos/autocli/v1/options_pb2.py | 51 +- .../cosmos/autocli/v1/options_pb2_grpc.py | 1 - .../proto/cosmos/autocli/v1/query_pb2.py | 37 +- .../proto/cosmos/autocli/v1/query_pb2_grpc.py | 60 +- .../proto/cosmos/bank/module/v1/module_pb2.py | 21 +- .../cosmos/bank/module/v1/module_pb2_grpc.py | 1 - .../proto/cosmos/bank/v1beta1/authz_pb2.py | 35 +- .../cosmos/bank/v1beta1/authz_pb2_grpc.py | 1 - .../proto/cosmos/bank/v1beta1/bank_pb2.py | 101 +- .../cosmos/bank/v1beta1/bank_pb2_grpc.py | 1 - .../proto/cosmos/bank/v1beta1/events_pb2.py | 29 +- .../cosmos/bank/v1beta1/events_pb2_grpc.py | 1 - .../proto/cosmos/bank/v1beta1/genesis_pb2.py | 59 +- .../cosmos/bank/v1beta1/genesis_pb2_grpc.py | 1 - .../proto/cosmos/bank/v1beta1/query_pb2.py | 313 +- .../cosmos/bank/v1beta1/query_pb2_grpc.py | 678 ++-- .../proto/cosmos/bank/v1beta1/tx_pb2.py | 113 +- .../proto/cosmos/bank/v1beta1/tx_pb2_grpc.py | 222 +- .../cosmos/base/abci/v1beta1/abci_pb2.py | 133 +- .../cosmos/base/abci/v1beta1/abci_pb2_grpc.py | 1 - .../cosmos/base/node/v1beta1/query_pb2.py | 49 +- .../base/node/v1beta1/query_pb2_grpc.py | 122 +- .../base/query/v1beta1/pagination_pb2.py | 23 +- .../base/query/v1beta1/pagination_pb2_grpc.py | 1 - .../base/reflection/v1beta1/reflection_pb2.py | 47 +- .../reflection/v1beta1/reflection_pb2_grpc.py | 120 +- .../reflection/v2alpha1/reflection_pb2.py | 157 +- .../v2alpha1/reflection_pb2_grpc.py | 335 +- .../base/tendermint/v1beta1/query_pb2.py | 151 +- .../base/tendermint/v1beta1/query_pb2_grpc.py | 388 +- .../base/tendermint/v1beta1/types_pb2.py | 51 +- .../base/tendermint/v1beta1/types_pb2_grpc.py | 1 - .../proto/cosmos/base/v1beta1/coin_pb2.py | 63 +- .../cosmos/base/v1beta1/coin_pb2_grpc.py | 1 - .../cosmos/circuit/module/v1/module_pb2.py | 21 +- .../circuit/module/v1/module_pb2_grpc.py | 1 - .../proto/cosmos/circuit/v1/query_pb2.py | 63 +- .../proto/cosmos/circuit/v1/query_pb2_grpc.py | 175 +- pyinjective/proto/cosmos/circuit/v1/tx_pb2.py | 57 +- .../proto/cosmos/circuit/v1/tx_pb2_grpc.py | 169 +- .../proto/cosmos/circuit/v1/types_pb2.py | 31 +- .../proto/cosmos/circuit/v1/types_pb2_grpc.py | 1 - .../cosmos/consensus/module/v1/module_pb2.py | 21 +- .../consensus/module/v1/module_pb2_grpc.py | 1 - .../proto/cosmos/consensus/v1/query_pb2.py | 31 +- .../cosmos/consensus/v1/query_pb2_grpc.py | 69 +- .../proto/cosmos/consensus/v1/tx_pb2.py | 39 +- .../proto/cosmos/consensus/v1/tx_pb2_grpc.py | 66 +- .../cosmos/crisis/module/v1/module_pb2.py | 21 +- .../crisis/module/v1/module_pb2_grpc.py | 1 - .../cosmos/crisis/v1beta1/genesis_pb2.py | 21 +- .../cosmos/crisis/v1beta1/genesis_pb2_grpc.py | 1 - .../proto/cosmos/crisis/v1beta1/tx_pb2.py | 63 +- .../cosmos/crisis/v1beta1/tx_pb2_grpc.py | 119 +- .../proto/cosmos/crypto/ed25519/keys_pb2.py | 39 +- .../cosmos/crypto/ed25519/keys_pb2_grpc.py | 1 - .../proto/cosmos/crypto/hd/v1/hd_pb2.py | 21 +- .../proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py | 1 - .../cosmos/crypto/keyring/v1/record_pb2.py | 33 +- .../crypto/keyring/v1/record_pb2_grpc.py | 1 - .../proto/cosmos/crypto/multisig/keys_pb2.py | 29 +- .../cosmos/crypto/multisig/keys_pb2_grpc.py | 1 - .../crypto/multisig/v1beta1/multisig_pb2.py | 29 +- .../multisig/v1beta1/multisig_pb2_grpc.py | 1 - .../proto/cosmos/crypto/secp256k1/keys_pb2.py | 31 +- .../cosmos/crypto/secp256k1/keys_pb2_grpc.py | 1 - .../proto/cosmos/crypto/secp256r1/keys_pb2.py | 29 +- .../cosmos/crypto/secp256r1/keys_pb2_grpc.py | 1 - .../distribution/module/v1/module_pb2.py | 21 +- .../distribution/module/v1/module_pb2_grpc.py | 1 - .../distribution/v1beta1/distribution_pb2.py | 179 +- .../v1beta1/distribution_pb2_grpc.py | 1 - .../distribution/v1beta1/genesis_pb2.py | 227 +- .../distribution/v1beta1/genesis_pb2_grpc.py | 1 - .../cosmos/distribution/v1beta1/query_pb2.py | 329 +- .../distribution/v1beta1/query_pb2_grpc.py | 547 +-- .../cosmos/distribution/v1beta1/tx_pb2.py | 215 +- .../distribution/v1beta1/tx_pb2_grpc.py | 366 +- .../cosmos/evidence/module/v1/module_pb2.py | 21 +- .../evidence/module/v1/module_pb2_grpc.py | 1 - .../cosmos/evidence/v1beta1/evidence_pb2.py | 35 +- .../evidence/v1beta1/evidence_pb2_grpc.py | 1 - .../cosmos/evidence/v1beta1/genesis_pb2.py | 17 +- .../evidence/v1beta1/genesis_pb2_grpc.py | 1 - .../cosmos/evidence/v1beta1/query_pb2.py | 53 +- .../cosmos/evidence/v1beta1/query_pb2_grpc.py | 122 +- .../proto/cosmos/evidence/v1beta1/tx_pb2.py | 47 +- .../cosmos/evidence/v1beta1/tx_pb2_grpc.py | 66 +- .../cosmos/feegrant/module/v1/module_pb2.py | 21 +- .../feegrant/module/v1/module_pb2_grpc.py | 1 - .../cosmos/feegrant/v1beta1/feegrant_pb2.py | 105 +- .../feegrant/v1beta1/feegrant_pb2_grpc.py | 1 - .../cosmos/feegrant/v1beta1/genesis_pb2.py | 21 +- .../feegrant/v1beta1/genesis_pb2_grpc.py | 1 - .../cosmos/feegrant/v1beta1/query_pb2.py | 87 +- .../cosmos/feegrant/v1beta1/query_pb2_grpc.py | 172 +- .../proto/cosmos/feegrant/v1beta1/tx_pb2.py | 87 +- .../cosmos/feegrant/v1beta1/tx_pb2_grpc.py | 166 +- .../cosmos/genutil/module/v1/module_pb2.py | 21 +- .../genutil/module/v1/module_pb2_grpc.py | 1 - .../cosmos/genutil/v1beta1/genesis_pb2.py | 25 +- .../genutil/v1beta1/genesis_pb2_grpc.py | 1 - .../proto/cosmos/gov/module/v1/module_pb2.py | 21 +- .../cosmos/gov/module/v1/module_pb2_grpc.py | 1 - .../proto/cosmos/gov/v1/genesis_pb2.py | 29 +- .../proto/cosmos/gov/v1/genesis_pb2_grpc.py | 1 - pyinjective/proto/cosmos/gov/v1/gov_pb2.py | 209 +- .../proto/cosmos/gov/v1/gov_pb2_grpc.py | 1 - pyinjective/proto/cosmos/gov/v1/query_pb2.py | 181 +- .../proto/cosmos/gov/v1/query_pb2_grpc.py | 493 +-- pyinjective/proto/cosmos/gov/v1/tx_pb2.py | 191 +- .../proto/cosmos/gov/v1/tx_pb2_grpc.py | 378 +- .../proto/cosmos/gov/v1beta1/genesis_pb2.py | 49 +- .../cosmos/gov/v1beta1/genesis_pb2_grpc.py | 1 - .../proto/cosmos/gov/v1beta1/gov_pb2.py | 283 +- .../proto/cosmos/gov/v1beta1/gov_pb2_grpc.py | 1 - .../proto/cosmos/gov/v1beta1/query_pb2.py | 225 +- .../cosmos/gov/v1beta1/query_pb2_grpc.py | 440 +-- .../proto/cosmos/gov/v1beta1/tx_pb2.py | 133 +- .../proto/cosmos/gov/v1beta1/tx_pb2_grpc.py | 225 +- .../cosmos/group/module/v1/module_pb2.py | 27 +- .../cosmos/group/module/v1/module_pb2_grpc.py | 1 - .../proto/cosmos/group/v1/events_pb2.py | 69 +- .../proto/cosmos/group/v1/events_pb2_grpc.py | 1 - .../proto/cosmos/group/v1/genesis_pb2.py | 17 +- .../proto/cosmos/group/v1/genesis_pb2_grpc.py | 1 - .../proto/cosmos/group/v1/query_pb2.py | 265 +- .../proto/cosmos/group/v1/query_pb2_grpc.py | 752 ++-- pyinjective/proto/cosmos/group/v1/tx_pb2.py | 365 +- .../proto/cosmos/group/v1/tx_pb2_grpc.py | 758 ++-- .../proto/cosmos/group/v1/types_pb2.py | 199 +- .../proto/cosmos/group/v1/types_pb2_grpc.py | 1 - .../proto/cosmos/ics23/v1/proofs_pb2.py | 75 +- .../proto/cosmos/ics23/v1/proofs_pb2_grpc.py | 1 - .../proto/cosmos/mint/module/v1/module_pb2.py | 21 +- .../cosmos/mint/module/v1/module_pb2_grpc.py | 1 - .../proto/cosmos/mint/v1beta1/genesis_pb2.py | 25 +- .../cosmos/mint/v1beta1/genesis_pb2_grpc.py | 1 - .../proto/cosmos/mint/v1beta1/mint_pb2.py | 69 +- .../cosmos/mint/v1beta1/mint_pb2_grpc.py | 1 - .../proto/cosmos/mint/v1beta1/query_pb2.py | 79 +- .../cosmos/mint/v1beta1/query_pb2_grpc.py | 175 +- .../proto/cosmos/mint/v1beta1/tx_pb2.py | 43 +- .../proto/cosmos/mint/v1beta1/tx_pb2_grpc.py | 66 +- .../cosmos/msg/textual/v1/textual_pb2.py | 13 +- .../cosmos/msg/textual/v1/textual_pb2_grpc.py | 1 - pyinjective/proto/cosmos/msg/v1/msg_pb2.py | 13 +- .../proto/cosmos/msg/v1/msg_pb2_grpc.py | 1 - .../proto/cosmos/nft/module/v1/module_pb2.py | 21 +- .../cosmos/nft/module/v1/module_pb2_grpc.py | 1 - .../proto/cosmos/nft/v1beta1/event_pb2.py | 27 +- .../cosmos/nft/v1beta1/event_pb2_grpc.py | 1 - .../proto/cosmos/nft/v1beta1/genesis_pb2.py | 21 +- .../cosmos/nft/v1beta1/genesis_pb2_grpc.py | 1 - .../proto/cosmos/nft/v1beta1/nft_pb2.py | 21 +- .../proto/cosmos/nft/v1beta1/nft_pb2_grpc.py | 1 - .../proto/cosmos/nft/v1beta1/query_pb2.py | 119 +- .../cosmos/nft/v1beta1/query_pb2_grpc.py | 384 +- .../proto/cosmos/nft/v1beta1/tx_pb2.py | 41 +- .../proto/cosmos/nft/v1beta1/tx_pb2_grpc.py | 69 +- .../cosmos/orm/module/v1alpha1/module_pb2.py | 21 +- .../orm/module/v1alpha1/module_pb2_grpc.py | 1 - .../cosmos/orm/query/v1alpha1/query_pb2.py | 49 +- .../orm/query/v1alpha1/query_pb2_grpc.py | 126 +- pyinjective/proto/cosmos/orm/v1/orm_pb2.py | 29 +- .../proto/cosmos/orm/v1/orm_pb2_grpc.py | 1 - .../proto/cosmos/orm/v1alpha1/schema_pb2.py | 25 +- .../cosmos/orm/v1alpha1/schema_pb2_grpc.py | 1 - .../cosmos/params/module/v1/module_pb2.py | 21 +- .../params/module/v1/module_pb2_grpc.py | 1 - .../proto/cosmos/params/v1beta1/params_pb2.py | 33 +- .../cosmos/params/v1beta1/params_pb2_grpc.py | 1 - .../proto/cosmos/params/v1beta1/query_pb2.py | 53 +- .../cosmos/params/v1beta1/query_pb2_grpc.py | 116 +- .../proto/cosmos/query/v1/query_pb2.py | 13 +- .../proto/cosmos/query/v1/query_pb2_grpc.py | 1 - .../cosmos/reflection/v1/reflection_pb2.py | 29 +- .../reflection/v1/reflection_pb2_grpc.py | 57 +- .../cosmos/slashing/module/v1/module_pb2.py | 21 +- .../slashing/module/v1/module_pb2_grpc.py | 1 - .../cosmos/slashing/v1beta1/genesis_pb2.py | 65 +- .../slashing/v1beta1/genesis_pb2_grpc.py | 1 - .../cosmos/slashing/v1beta1/query_pb2.py | 85 +- .../cosmos/slashing/v1beta1/query_pb2_grpc.py | 175 +- .../cosmos/slashing/v1beta1/slashing_pb2.py | 71 +- .../slashing/v1beta1/slashing_pb2_grpc.py | 1 - .../proto/cosmos/slashing/v1beta1/tx_pb2.py | 65 +- .../cosmos/slashing/v1beta1/tx_pb2_grpc.py | 116 +- .../cosmos/staking/module/v1/module_pb2.py | 21 +- .../staking/module/v1/module_pb2_grpc.py | 1 - .../proto/cosmos/staking/v1beta1/authz_pb2.py | 55 +- .../cosmos/staking/v1beta1/authz_pb2_grpc.py | 1 - .../cosmos/staking/v1beta1/genesis_pb2.py | 65 +- .../staking/v1beta1/genesis_pb2_grpc.py | 1 - .../proto/cosmos/staking/v1beta1/query_pb2.py | 415 ++- .../cosmos/staking/v1beta1/query_pb2_grpc.py | 731 ++-- .../cosmos/staking/v1beta1/staking_pb2.py | 469 ++- .../staking/v1beta1/staking_pb2_grpc.py | 1 - .../proto/cosmos/staking/v1beta1/tx_pb2.py | 281 +- .../cosmos/staking/v1beta1/tx_pb2_grpc.py | 372 +- .../store/internal/kv/v1beta1/kv_pb2.py | 25 +- .../store/internal/kv/v1beta1/kv_pb2_grpc.py | 1 - .../cosmos/store/snapshots/v1/snapshot_pb2.py | 49 +- .../store/snapshots/v1/snapshot_pb2_grpc.py | 1 - .../cosmos/store/streaming/abci/grpc_pb2.py | 33 +- .../store/streaming/abci/grpc_pb2_grpc.py | 126 +- .../cosmos/store/v1beta1/commit_info_pb2.py | 41 +- .../store/v1beta1/commit_info_pb2_grpc.py | 1 - .../cosmos/store/v1beta1/listening_pb2.py | 21 +- .../store/v1beta1/listening_pb2_grpc.py | 1 - .../proto/cosmos/tx/config/v1/config_pb2.py | 21 +- .../cosmos/tx/config/v1/config_pb2_grpc.py | 1 - .../cosmos/tx/signing/v1beta1/signing_pb2.py | 41 +- .../tx/signing/v1beta1/signing_pb2_grpc.py | 1 - .../proto/cosmos/tx/v1beta1/service_pb2.py | 175 +- .../cosmos/tx/v1beta1/service_pb2_grpc.py | 478 +-- pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py | 113 +- .../proto/cosmos/tx/v1beta1/tx_pb2_grpc.py | 1 - .../cosmos/upgrade/module/v1/module_pb2.py | 21 +- .../upgrade/module/v1/module_pb2_grpc.py | 1 - .../proto/cosmos/upgrade/v1beta1/query_pb2.py | 97 +- .../cosmos/upgrade/v1beta1/query_pb2_grpc.py | 272 +- .../proto/cosmos/upgrade/v1beta1/tx_pb2.py | 63 +- .../cosmos/upgrade/v1beta1/tx_pb2_grpc.py | 116 +- .../cosmos/upgrade/v1beta1/upgrade_pb2.py | 65 +- .../upgrade/v1beta1/upgrade_pb2_grpc.py | 1 - .../cosmos/vesting/module/v1/module_pb2.py | 21 +- .../vesting/module/v1/module_pb2_grpc.py | 1 - .../proto/cosmos/vesting/v1beta1/tx_pb2.py | 105 +- .../cosmos/vesting/v1beta1/tx_pb2_grpc.py | 166 +- .../cosmos/vesting/v1beta1/vesting_pb2.py | 119 +- .../vesting/v1beta1/vesting_pb2_grpc.py | 1 - pyinjective/proto/cosmos_proto/cosmos_pb2.py | 25 +- .../proto/cosmos_proto/cosmos_pb2_grpc.py | 1 - .../proto/cosmwasm/wasm/v1/authz_pb2.py | 163 +- .../proto/cosmwasm/wasm/v1/authz_pb2_grpc.py | 1 - .../proto/cosmwasm/wasm/v1/genesis_pb2.py | 81 +- .../cosmwasm/wasm/v1/genesis_pb2_grpc.py | 1 - pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py | 47 +- .../proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py | 1 - .../cosmwasm/wasm/v1/proposal_legacy_pb2.py | 337 +- .../wasm/v1/proposal_legacy_pb2_grpc.py | 1 - .../proto/cosmwasm/wasm/v1/query_pb2.py | 345 +- .../proto/cosmwasm/wasm/v1/query_pb2_grpc.py | 652 ++-- pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py | 535 +-- .../proto/cosmwasm/wasm/v1/tx_pb2_grpc.py | 884 ++--- .../proto/cosmwasm/wasm/v1/types_pb2.py | 247 +- .../proto/cosmwasm/wasm/v1/types_pb2_grpc.py | 1 - pyinjective/proto/gogoproto/gogo_pb2.py | 13 +- pyinjective/proto/gogoproto/gogo_pb2_grpc.py | 1 - .../proto/google/api/annotations_pb2.py | 13 +- .../proto/google/api/annotations_pb2_grpc.py | 1 - pyinjective/proto/google/api/client_pb2.py | 117 +- .../proto/google/api/client_pb2_grpc.py | 1 - .../google/api/expr/v1alpha1/checked_pb2.py | 85 +- .../api/expr/v1alpha1/checked_pb2_grpc.py | 1 - .../google/api/expr/v1alpha1/eval_pb2.py | 33 +- .../google/api/expr/v1alpha1/eval_pb2_grpc.py | 1 - .../google/api/expr/v1alpha1/explain_pb2.py | 25 +- .../api/expr/v1alpha1/explain_pb2_grpc.py | 1 - .../google/api/expr/v1alpha1/syntax_pb2.py | 97 +- .../api/expr/v1alpha1/syntax_pb2_grpc.py | 1 - .../google/api/expr/v1alpha1/value_pb2.py | 33 +- .../api/expr/v1alpha1/value_pb2_grpc.py | 1 - .../proto/google/api/expr/v1beta1/decl_pb2.py | 29 +- .../google/api/expr/v1beta1/decl_pb2_grpc.py | 1 - .../proto/google/api/expr/v1beta1/eval_pb2.py | 37 +- .../google/api/expr/v1beta1/eval_pb2_grpc.py | 1 - .../proto/google/api/expr/v1beta1/expr_pb2.py | 53 +- .../google/api/expr/v1beta1/expr_pb2_grpc.py | 1 - .../google/api/expr/v1beta1/source_pb2.py | 31 +- .../api/expr/v1beta1/source_pb2_grpc.py | 1 - .../google/api/expr/v1beta1/value_pb2.py | 33 +- .../google/api/expr/v1beta1/value_pb2_grpc.py | 1 - .../proto/google/api/field_behavior_pb2.py | 21 +- .../google/api/field_behavior_pb2_grpc.py | 1 - .../proto/google/api/field_info_pb2.py | 25 +- .../proto/google/api/field_info_pb2_grpc.py | 1 - pyinjective/proto/google/api/http_pb2.py | 27 +- pyinjective/proto/google/api/http_pb2_grpc.py | 1 - pyinjective/proto/google/api/httpbody_pb2.py | 17 +- .../proto/google/api/httpbody_pb2_grpc.py | 1 - .../proto/google/api/launch_stage_pb2.py | 19 +- .../proto/google/api/launch_stage_pb2_grpc.py | 1 - pyinjective/proto/google/api/resource_pb2.py | 29 +- .../proto/google/api/resource_pb2_grpc.py | 1 - .../proto/google/api/visibility_pb2.py | 21 +- .../proto/google/api/visibility_pb2_grpc.py | 1 - .../proto/google/bytestream/bytestream_pb2.py | 43 +- .../google/bytestream/bytestream_pb2_grpc.py | 157 +- .../proto/google/geo/type/viewport_pb2.py | 17 +- .../google/geo/type/viewport_pb2_grpc.py | 1 - .../google/longrunning/operations_pb2.py | 77 +- .../google/longrunning/operations_pb2_grpc.py | 257 +- pyinjective/proto/google/rpc/code_pb2.py | 19 +- pyinjective/proto/google/rpc/code_pb2_grpc.py | 1 - .../rpc/context/attribute_context_pb2.py | 81 +- .../rpc/context/attribute_context_pb2_grpc.py | 1 - .../proto/google/rpc/error_details_pb2.py | 77 +- .../google/rpc/error_details_pb2_grpc.py | 1 - pyinjective/proto/google/rpc/status_pb2.py | 17 +- .../proto/google/rpc/status_pb2_grpc.py | 1 - .../proto/google/type/calendar_period_pb2.py | 19 +- .../google/type/calendar_period_pb2_grpc.py | 1 - pyinjective/proto/google/type/color_pb2.py | 17 +- .../proto/google/type/color_pb2_grpc.py | 1 - pyinjective/proto/google/type/date_pb2.py | 19 +- .../proto/google/type/date_pb2_grpc.py | 1 - pyinjective/proto/google/type/datetime_pb2.py | 21 +- .../proto/google/type/datetime_pb2_grpc.py | 1 - .../proto/google/type/dayofweek_pb2.py | 19 +- .../proto/google/type/dayofweek_pb2_grpc.py | 1 - pyinjective/proto/google/type/decimal_pb2.py | 19 +- .../proto/google/type/decimal_pb2_grpc.py | 1 - pyinjective/proto/google/type/expr_pb2.py | 19 +- .../proto/google/type/expr_pb2_grpc.py | 1 - pyinjective/proto/google/type/fraction_pb2.py | 19 +- .../proto/google/type/fraction_pb2_grpc.py | 1 - pyinjective/proto/google/type/interval_pb2.py | 17 +- .../proto/google/type/interval_pb2_grpc.py | 1 - pyinjective/proto/google/type/latlng_pb2.py | 19 +- .../proto/google/type/latlng_pb2_grpc.py | 1 - .../proto/google/type/localized_text_pb2.py | 19 +- .../google/type/localized_text_pb2_grpc.py | 1 - pyinjective/proto/google/type/money_pb2.py | 19 +- .../proto/google/type/money_pb2_grpc.py | 1 - pyinjective/proto/google/type/month_pb2.py | 19 +- .../proto/google/type/month_pb2_grpc.py | 1 - .../proto/google/type/phone_number_pb2.py | 23 +- .../google/type/phone_number_pb2_grpc.py | 1 - .../proto/google/type/postal_address_pb2.py | 19 +- .../google/type/postal_address_pb2_grpc.py | 1 - .../proto/google/type/quaternion_pb2.py | 19 +- .../proto/google/type/quaternion_pb2_grpc.py | 1 - .../proto/google/type/timeofday_pb2.py | 19 +- .../proto/google/type/timeofday_pb2_grpc.py | 1 - .../proto/ibc/applications/fee/v1/ack_pb2.py | 19 +- .../ibc/applications/fee/v1/ack_pb2_grpc.py | 1 - .../proto/ibc/applications/fee/v1/fee_pb2.py | 73 +- .../ibc/applications/fee/v1/fee_pb2_grpc.py | 1 - .../ibc/applications/fee/v1/genesis_pb2.py | 57 +- .../applications/fee/v1/genesis_pb2_grpc.py | 1 - .../ibc/applications/fee/v1/metadata_pb2.py | 19 +- .../applications/fee/v1/metadata_pb2_grpc.py | 1 - .../ibc/applications/fee/v1/query_pb2.py | 223 +- .../ibc/applications/fee/v1/query_pb2_grpc.py | 546 +-- .../proto/ibc/applications/fee/v1/tx_pb2.py | 93 +- .../ibc/applications/fee/v1/tx_pb2_grpc.py | 216 +- .../controller/v1/controller_pb2.py | 21 +- .../controller/v1/controller_pb2_grpc.py | 1 - .../controller/v1/query_pb2.py | 51 +- .../controller/v1/query_pb2_grpc.py | 128 +- .../controller/v1/tx_pb2.py | 83 +- .../controller/v1/tx_pb2_grpc.py | 179 +- .../genesis/v1/genesis_pb2.py | 75 +- .../genesis/v1/genesis_pb2_grpc.py | 1 - .../interchain_accounts/host/v1/host_pb2.py | 23 +- .../host/v1/host_pb2_grpc.py | 1 - .../interchain_accounts/host/v1/query_pb2.py | 35 +- .../host/v1/query_pb2_grpc.py | 73 +- .../interchain_accounts/host/v1/tx_pb2.py | 53 +- .../host/v1/tx_pb2_grpc.py | 126 +- .../interchain_accounts/v1/account_pb2.py | 27 +- .../v1/account_pb2_grpc.py | 1 - .../interchain_accounts/v1/metadata_pb2.py | 19 +- .../v1/metadata_pb2_grpc.py | 1 - .../interchain_accounts/v1/packet_pb2.py | 37 +- .../interchain_accounts/v1/packet_pb2_grpc.py | 1 - .../ibc/applications/transfer/v1/authz_pb2.py | 35 +- .../transfer/v1/authz_pb2_grpc.py | 1 - .../applications/transfer/v1/genesis_pb2.py | 37 +- .../transfer/v1/genesis_pb2_grpc.py | 1 - .../ibc/applications/transfer/v1/query_pb2.py | 121 +- .../transfer/v1/query_pb2_grpc.py | 338 +- .../applications/transfer/v1/transfer_pb2.py | 23 +- .../transfer/v1/transfer_pb2_grpc.py | 1 - .../ibc/applications/transfer/v1/tx_pb2.py | 67 +- .../applications/transfer/v1/tx_pb2_grpc.py | 126 +- .../applications/transfer/v2/packet_pb2.py | 19 +- .../transfer/v2/packet_pb2_grpc.py | 1 - .../proto/ibc/core/channel/v1/channel_pb2.py | 151 +- .../ibc/core/channel/v1/channel_pb2_grpc.py | 1 - .../proto/ibc/core/channel/v1/genesis_pb2.py | 55 +- .../ibc/core/channel/v1/genesis_pb2_grpc.py | 1 - .../proto/ibc/core/channel/v1/query_pb2.py | 355 +- .../ibc/core/channel/v1/query_pb2_grpc.py | 893 ++--- .../proto/ibc/core/channel/v1/tx_pb2.py | 447 +-- .../proto/ibc/core/channel/v1/tx_pb2_grpc.py | 1020 ++--- .../proto/ibc/core/channel/v1/upgrade_pb2.py | 45 +- .../ibc/core/channel/v1/upgrade_pb2_grpc.py | 1 - .../proto/ibc/core/client/v1/client_pb2.py | 87 +- .../ibc/core/client/v1/client_pb2_grpc.py | 1 - .../proto/ibc/core/client/v1/genesis_pb2.py | 57 +- .../ibc/core/client/v1/genesis_pb2_grpc.py | 1 - .../proto/ibc/core/client/v1/query_pb2.py | 199 +- .../ibc/core/client/v1/query_pb2_grpc.py | 540 +-- .../proto/ibc/core/client/v1/tx_pb2.py | 113 +- .../proto/ibc/core/client/v1/tx_pb2_grpc.py | 387 +- .../ibc/core/commitment/v1/commitment_pb2.py | 33 +- .../core/commitment/v1/commitment_pb2_grpc.py | 1 - .../ibc/core/connection/v1/connection_pb2.py | 99 +- .../core/connection/v1/connection_pb2_grpc.py | 1 - .../ibc/core/connection/v1/genesis_pb2.py | 33 +- .../core/connection/v1/genesis_pb2_grpc.py | 1 - .../proto/ibc/core/connection/v1/query_pb2.py | 135 +- .../ibc/core/connection/v1/query_pb2_grpc.py | 325 +- .../proto/ibc/core/connection/v1/tx_pb2.py | 121 +- .../ibc/core/connection/v1/tx_pb2_grpc.py | 275 +- .../proto/ibc/core/types/v1/genesis_pb2.py | 29 +- .../ibc/core/types/v1/genesis_pb2_grpc.py | 1 - .../localhost/v2/localhost_pb2.py | 25 +- .../localhost/v2/localhost_pb2_grpc.py | 1 - .../solomachine/v2/solomachine_pb2.py | 187 +- .../solomachine/v2/solomachine_pb2_grpc.py | 1 - .../solomachine/v3/solomachine_pb2.py | 77 +- .../solomachine/v3/solomachine_pb2_grpc.py | 1 - .../tendermint/v1/tendermint_pb2.py | 117 +- .../tendermint/v1/tendermint_pb2_grpc.py | 1 - .../ibc/lightclients/wasm/v1/genesis_pb2.py | 29 +- .../lightclients/wasm/v1/genesis_pb2_grpc.py | 1 - .../ibc/lightclients/wasm/v1/query_pb2.py | 49 +- .../lightclients/wasm/v1/query_pb2_grpc.py | 122 +- .../proto/ibc/lightclients/wasm/v1/tx_pb2.py | 57 +- .../ibc/lightclients/wasm/v1/tx_pb2_grpc.py | 175 +- .../ibc/lightclients/wasm/v1/wasm_pb2.py | 49 +- .../ibc/lightclients/wasm/v1/wasm_pb2_grpc.py | 1 - .../injective/auction/v1beta1/auction_pb2.py | 87 +- .../auction/v1beta1/auction_pb2_grpc.py | 1 - .../injective/auction/v1beta1/genesis_pb2.py | 25 +- .../auction/v1beta1/genesis_pb2_grpc.py | 1 - .../injective/auction/v1beta1/query_pb2.py | 97 +- .../auction/v1beta1/query_pb2_grpc.py | 225 +- .../proto/injective/auction/v1beta1/tx_pb2.py | 65 +- .../injective/auction/v1beta1/tx_pb2_grpc.py | 119 +- .../crypto/v1beta1/ethsecp256k1/keys_pb2.py | 31 +- .../v1beta1/ethsecp256k1/keys_pb2_grpc.py | 1 - .../injective/exchange/v1beta1/authz_pb2.py | 123 +- .../exchange/v1beta1/authz_pb2_grpc.py | 1 - .../injective/exchange/v1beta1/events_pb2.py | 283 +- .../exchange/v1beta1/events_pb2_grpc.py | 1 - .../exchange/v1beta1/exchange_pb2.py | 1003 +++-- .../exchange/v1beta1/exchange_pb2_grpc.py | 1 - .../injective/exchange/v1beta1/genesis_pb2.py | 179 +- .../exchange/v1beta1/genesis_pb2_grpc.py | 1 - .../exchange/v1beta1/proposal_pb2.py | 533 ++- .../exchange/v1beta1/proposal_pb2_grpc.py | 1 - .../injective/exchange/v1beta1/query_pb2.py | 1343 ++++--- .../exchange/v1beta1/query_pb2_grpc.py | 3278 +++++++++-------- .../injective/exchange/v1beta1/tx_pb2.py | 1003 ++--- .../injective/exchange/v1beta1/tx_pb2_grpc.py | 1799 ++++----- .../injective/insurance/v1beta1/events_pb2.py | 53 +- .../insurance/v1beta1/events_pb2_grpc.py | 1 - .../insurance/v1beta1/genesis_pb2.py | 33 +- .../insurance/v1beta1/genesis_pb2_grpc.py | 1 - .../insurance/v1beta1/insurance_pb2.py | 65 +- .../insurance/v1beta1/insurance_pb2_grpc.py | 1 - .../injective/insurance/v1beta1/query_pb2.py | 125 +- .../insurance/v1beta1/query_pb2_grpc.py | 335 +- .../injective/insurance/v1beta1/tx_pb2.py | 101 +- .../insurance/v1beta1/tx_pb2_grpc.py | 219 +- .../injective/ocr/v1beta1/genesis_pb2.py | 53 +- .../injective/ocr/v1beta1/genesis_pb2_grpc.py | 1 - .../proto/injective/ocr/v1beta1/ocr_pb2.py | 217 +- .../injective/ocr/v1beta1/ocr_pb2_grpc.py | 1 - .../proto/injective/ocr/v1beta1/query_pb2.py | 123 +- .../injective/ocr/v1beta1/query_pb2_grpc.py | 381 +- .../proto/injective/ocr/v1beta1/tx_pb2.py | 173 +- .../injective/ocr/v1beta1/tx_pb2_grpc.py | 478 +-- .../injective/oracle/v1beta1/events_pb2.py | 93 +- .../oracle/v1beta1/events_pb2_grpc.py | 1 - .../injective/oracle/v1beta1/genesis_pb2.py | 29 +- .../oracle/v1beta1/genesis_pb2_grpc.py | 1 - .../injective/oracle/v1beta1/oracle_pb2.py | 239 +- .../oracle/v1beta1/oracle_pb2_grpc.py | 1 - .../injective/oracle/v1beta1/proposal_pb2.py | 131 +- .../oracle/v1beta1/proposal_pb2_grpc.py | 1 - .../injective/oracle/v1beta1/query_pb2.py | 313 +- .../oracle/v1beta1/query_pb2_grpc.py | 905 ++--- .../proto/injective/oracle/v1beta1/tx_pb2.py | 151 +- .../injective/oracle/v1beta1/tx_pb2_grpc.py | 428 ++- .../injective/peggy/v1/attestation_pb2.py | 61 +- .../peggy/v1/attestation_pb2_grpc.py | 1 - .../proto/injective/peggy/v1/batch_pb2.py | 21 +- .../injective/peggy/v1/batch_pb2_grpc.py | 1 - .../injective/peggy/v1/ethereum_signer_pb2.py | 21 +- .../peggy/v1/ethereum_signer_pb2_grpc.py | 1 - .../proto/injective/peggy/v1/events_pb2.py | 111 +- .../injective/peggy/v1/events_pb2_grpc.py | 1 - .../proto/injective/peggy/v1/genesis_pb2.py | 21 +- .../injective/peggy/v1/genesis_pb2_grpc.py | 1 - .../proto/injective/peggy/v1/msgs_pb2.py | 307 +- .../proto/injective/peggy/v1/msgs_pb2_grpc.py | 710 ++-- .../proto/injective/peggy/v1/params_pb2.py | 55 +- .../injective/peggy/v1/params_pb2_grpc.py | 1 - .../proto/injective/peggy/v1/pool_pb2.py | 27 +- .../proto/injective/peggy/v1/pool_pb2_grpc.py | 1 - .../proto/injective/peggy/v1/query_pb2.py | 315 +- .../injective/peggy/v1/query_pb2_grpc.py | 1081 +++--- .../proto/injective/peggy/v1/types_pb2.py | 39 +- .../injective/peggy/v1/types_pb2_grpc.py | 1 - .../permissions/v1beta1/events_pb2.py | 21 +- .../permissions/v1beta1/events_pb2_grpc.py | 1 - .../permissions/v1beta1/genesis_pb2.py | 33 +- .../permissions/v1beta1/genesis_pb2_grpc.py | 1 - .../permissions/v1beta1/params_pb2.py | 21 +- .../permissions/v1beta1/params_pb2_grpc.py | 1 - .../permissions/v1beta1/permissions_pb2.py | 47 +- .../v1beta1/permissions_pb2_grpc.py | 1 - .../permissions/v1beta1/query_pb2.py | 129 +- .../permissions/v1beta1/query_pb2_grpc.py | 320 +- .../injective/permissions/v1beta1/tx_pb2.py | 179 +- .../permissions/v1beta1/tx_pb2_grpc.py | 366 +- .../injective/stream/v1beta1/query_pb2.py | 269 +- .../stream/v1beta1/query_pb2_grpc.py | 66 +- .../v1beta1/authorityMetadata_pb2.py | 25 +- .../v1beta1/authorityMetadata_pb2_grpc.py | 1 - .../tokenfactory/v1beta1/events_pb2.py | 49 +- .../tokenfactory/v1beta1/events_pb2_grpc.py | 1 - .../tokenfactory/v1beta1/genesis_pb2.py | 65 +- .../tokenfactory/v1beta1/genesis_pb2_grpc.py | 1 - .../tokenfactory/v1beta1/params_pb2.py | 31 +- .../tokenfactory/v1beta1/params_pb2_grpc.py | 1 - .../tokenfactory/v1beta1/query_pb2.py | 125 +- .../tokenfactory/v1beta1/query_pb2_grpc.py | 223 +- .../injective/tokenfactory/v1beta1/tx_pb2.py | 177 +- .../tokenfactory/v1beta1/tx_pb2_grpc.py | 320 +- .../injective/types/v1beta1/account_pb2.py | 33 +- .../types/v1beta1/account_pb2_grpc.py | 1 - .../injective/types/v1beta1/tx_ext_pb2.py | 21 +- .../types/v1beta1/tx_ext_pb2_grpc.py | 1 - .../types/v1beta1/tx_response_pb2.py | 23 +- .../types/v1beta1/tx_response_pb2_grpc.py | 1 - .../proto/injective/wasmx/v1/events_pb2.py | 25 +- .../injective/wasmx/v1/events_pb2_grpc.py | 1 - .../proto/injective/wasmx/v1/genesis_pb2.py | 29 +- .../injective/wasmx/v1/genesis_pb2_grpc.py | 1 - .../proto/injective/wasmx/v1/proposal_pb2.py | 85 +- .../injective/wasmx/v1/proposal_pb2_grpc.py | 1 - .../proto/injective/wasmx/v1/query_pb2.py | 63 +- .../injective/wasmx/v1/query_pb2_grpc.py | 175 +- .../proto/injective/wasmx/v1/tx_pb2.py | 121 +- .../proto/injective/wasmx/v1/tx_pb2_grpc.py | 316 +- .../proto/injective/wasmx/v1/wasmx_pb2.py | 47 +- .../injective/wasmx/v1/wasmx_pb2_grpc.py | 1 - .../proto/tendermint/abci/types_pb2.py | 357 +- .../proto/tendermint/abci/types_pb2_grpc.py | 807 ++-- .../proto/tendermint/crypto/keys_pb2.py | 21 +- .../proto/tendermint/crypto/keys_pb2_grpc.py | 1 - .../proto/tendermint/crypto/proof_pb2.py | 37 +- .../proto/tendermint/crypto/proof_pb2_grpc.py | 1 - .../proto/tendermint/libs/bits/types_pb2.py | 19 +- .../tendermint/libs/bits/types_pb2_grpc.py | 1 - pyinjective/proto/tendermint/p2p/types_pb2.py | 57 +- .../proto/tendermint/p2p/types_pb2_grpc.py | 1 - .../proto/tendermint/types/block_pb2.py | 29 +- .../proto/tendermint/types/block_pb2_grpc.py | 1 - .../proto/tendermint/types/evidence_pb2.py | 45 +- .../tendermint/types/evidence_pb2_grpc.py | 1 - .../proto/tendermint/types/params_pb2.py | 55 +- .../proto/tendermint/types/params_pb2_grpc.py | 1 - .../proto/tendermint/types/types_pb2.py | 179 +- .../proto/tendermint/types/types_pb2_grpc.py | 1 - .../proto/tendermint/types/validator_pb2.py | 59 +- .../tendermint/types/validator_pb2_grpc.py | 1 - .../proto/tendermint/version/types_pb2.py | 25 +- .../tendermint/version/types_pb2_grpc.py | 1 - 605 files changed, 32725 insertions(+), 26384 deletions(-) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 5c7fad57..61682ac2 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -613,6 +613,9 @@ async def fetch_spot_orderbook( pagination=pagination, ) + async def fetch_full_spot_orderbook(self, market_id: str) -> Dict[str, any]: + return await self.chain_exchange_api.fetch_l3_spot_orderbook(market_id=market_id) + async def fetch_trader_spot_orders( self, market_id: str, @@ -693,6 +696,12 @@ async def fetch_derivative_orderbook( pagination=pagination, ) + async def fetch_full_derivative_orderbook( + self, + market_id: str, + ) -> Dict[str, Any]: + return await self.chain_exchange_api.fetch_l3_derivative_orderbook(market_id=market_id) + async def fetch_trader_derivative_orders( self, market_id: str, @@ -1038,49 +1047,8 @@ async def abci_query( # OracleRPC # InsuranceRPC # SpotRPC - async def fetch_spot_market(self, market_id: str) -> Dict[str, Any]: - return await self.chain_exchange_api.fetch_market(market_id=market_id) - async def fetch_spot_markets( - self, - market_statuses: Optional[List[str]] = None, - base_denom: Optional[str] = None, - quote_denom: Optional[str] = None, - ) -> Dict[str, Any]: - return await self.chain_exchange_api.fetch_markets( - market_statuses=market_statuses, base_denom=base_denom, quote_denom=quote_denom - ) - - async def fetch_spot_orderbook(self, market_id: str) -> Dict[str, Any]: - return await self.chain_exchange_api.fetch_orderbook_v2(market_id=market_id) - - # DerivativeRPC - ####MASSIVE TODO : NEED TO WRITE A LIQUIDABLE POSITIONS WATCHER####### - # async def get_derivative_liquidable_positions(self, **kwargs): - # """ - # This method is deprecated and will be removed soon. Please use `fetch_derivative_liquidable_positions` instead - # """ - # warn( - # "This method is deprecated. Use fetch_derivative_liquidable_positions instead", - # DeprecationWarning, - # stacklevel=2, - # ) - # req = derivative_exchange_rpc_pb.LiquidablePositionsRequest( - # market_id=kwargs.get("market_id"), - # skip=kwargs.get("skip"), - # limit=kwargs.get("limit"), - # ) - # return await self.stubDerivativeExchange.LiquidablePositions(req) - - # async def fetch_derivative_liquidable_positions( - # self, - # market_id: Optional[str] = None, - # pagination: Optional[PaginationOption] = None, - # ) -> Dict[str, Any]: - # return await self.exchange_derivative_api.fetch_liquidable_positions( - # market_id=market_id, - # pagination=pagination, - # ) + # TODO (Hrishikesh) : add liquidable positions # PortfolioRPC async def chain_stream( self, diff --git a/pyinjective/client/chain/grpc/chain_grpc_exchange_api.py b/pyinjective/client/chain/grpc/chain_grpc_exchange_api.py index 0abc6d2d..165d3dbd 100644 --- a/pyinjective/client/chain/grpc/chain_grpc_exchange_api.py +++ b/pyinjective/client/chain/grpc/chain_grpc_exchange_api.py @@ -118,6 +118,11 @@ async def fetch_spot_market(self, market_id: str) -> Dict[str, Any]: return response + async def fetch_l3_spot_orderbook(self, market_id: str) -> Dict[str, Any]: + request = exchange_query_pb.QueryFullSpotOrderbookRequest(market_id=market_id) + response = await self._execute_call(call=self._stub.L3SpotOrderBook, request=request) + return response + async def fetch_full_spot_markets( self, status: Optional[str] = None, @@ -275,6 +280,11 @@ async def fetch_derivative_orderbook( return response + async def fetch_l3_derivative_orderbook(self, market_id: str) -> Dict[str, Any]: + request = exchange_query_pb.QueryFullDerivativeOrderbookRequest(market_id=market_id) + response = await self._execute_call(call=self._stub.L3DerivativeOrderBook, request=request) + return response + async def fetch_trader_derivative_orders( self, market_id: str, diff --git a/pyinjective/composer.py b/pyinjective/composer.py index 698a7e33..7acdff9e 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -300,6 +300,7 @@ def spot_order( trigger_price=chain_trigger_price, ) + # TODO (Hrishikesh): I noticed that this is very inconsistent def calculate_margin( self, quantity: Decimal, price: Decimal, leverage: Decimal, is_reduce_only: bool = False ) -> Decimal: diff --git a/pyinjective/proto/amino/amino_pb2.py b/pyinjective/proto/amino/amino_pb2.py index f4d639e0..6c1a486a 100644 --- a/pyinjective/proto/amino/amino_pb2.py +++ b/pyinjective/proto/amino/amino_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,12 +16,16 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x61mino/amino.proto\x12\x05\x61mino\x1a google/protobuf/descriptor.proto:6\n\x04name\x12\x1f.google.protobuf.MessageOptions\x18\xf1\x8c\xa6\x05 \x01(\tR\x04name:M\n\x10message_encoding\x12\x1f.google.protobuf.MessageOptions\x18\xf2\x8c\xa6\x05 \x01(\tR\x0fmessageEncoding:<\n\x08\x65ncoding\x12\x1d.google.protobuf.FieldOptions\x18\xf3\x8c\xa6\x05 \x01(\tR\x08\x65ncoding:?\n\nfield_name\x12\x1d.google.protobuf.FieldOptions\x18\xf4\x8c\xa6\x05 \x01(\tR\tfieldName:G\n\x0e\x64ont_omitempty\x12\x1d.google.protobuf.FieldOptions\x18\xf5\x8c\xa6\x05 \x01(\x08R\rdontOmitempty:?\n\noneof_name\x12\x1d.google.protobuf.FieldOptions\x18\xf6\x8c\xa6\x05 \x01(\tR\toneofNameBx\n\tcom.aminoB\nAminoProtoP\x01Z+github.com/cosmos/cosmos-sdk/types/tx/amino\xa2\x02\x03\x41XX\xaa\x02\x05\x41mino\xca\x02\x05\x41mino\xe2\x02\x11\x41mino\\GPBMetadata\xea\x02\x05\x41minob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n\x11\x61mino/amino.proto\x12\x05\x61mino\x1a google/protobuf/descriptor.proto:6\n\x04name\x12\x1f.google.protobuf.MessageOptions\x18\xf1\x8c\xa6\x05 \x01(\tR\x04name:M\n\x10message_encoding\x12\x1f.google.protobuf.MessageOptions\x18\xf2\x8c\xa6\x05 \x01(\tR\x0fmessageEncoding:<\n\x08\x65ncoding\x12\x1d.google.protobuf.FieldOptions\x18\xf3\x8c\xa6\x05 \x01(\tR\x08\x65ncoding:?\n\nfield_name\x12\x1d.google.protobuf.FieldOptions\x18\xf4\x8c\xa6\x05 \x01(\tR\tfieldName:G\n\x0e\x64ont_omitempty\x12\x1d.google.protobuf.FieldOptions\x18\xf5\x8c\xa6\x05 \x01(\x08R\rdontOmitempty:?\n\noneof_name\x12\x1d.google.protobuf.FieldOptions\x18\xf6\x8c\xa6\x05 \x01(\tR\toneofNameBx\n\tcom.aminoB\nAminoProtoP\x01Z+github.com/cosmos/cosmos-sdk/types/tx/amino\xa2\x02\x03\x41XX\xaa\x02\x05\x41mino\xca\x02\x05\x41mino\xe2\x02\x11\x41mino\\GPBMetadata\xea\x02\x05\x41minob\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'amino.amino_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "amino.amino_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\tcom.aminoB\nAminoProtoP\001Z+github.com/cosmos/cosmos-sdk/types/tx/amino\242\002\003AXX\252\002\005Amino\312\002\005Amino\342\002\021Amino\\GPBMetadata\352\002\005Amino' + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\tcom.aminoB\nAminoProtoP\001Z+github.com/cosmos/cosmos-sdk/types/tx/amino\242\002\003AXX\252\002\005Amino\312\002\005Amino\342\002\021Amino\\GPBMetadata\352\002\005Amino" + ) # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/amino/amino_pb2_grpc.py b/pyinjective/proto/amino/amino_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/amino/amino_pb2_grpc.py +++ b/pyinjective/proto/amino/amino_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/capability/v1/capability_pb2.py b/pyinjective/proto/capability/v1/capability_pb2.py index bcb76116..5bbe522a 100644 --- a/pyinjective/proto/capability/v1/capability_pb2.py +++ b/pyinjective/proto/capability/v1/capability_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,24 +17,28 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63\x61pability/v1/capability.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"(\n\nCapability\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index:\x04\x98\xa0\x1f\x00\"=\n\x05Owner\x12\x16\n\x06module\x18\x01 \x01(\tR\x06module\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"K\n\x10\x43\x61pabilityOwners\x12\x37\n\x06owners\x18\x01 \x03(\x0b\x32\x14.capability.v1.OwnerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06ownersB\xac\x01\n\x11\x63om.capability.v1B\x0f\x43\x61pabilityProtoP\x01Z1github.com/cosmos/ibc-go/modules/capability/types\xa2\x02\x03\x43XX\xaa\x02\rCapability.V1\xca\x02\rCapability\\V1\xe2\x02\x19\x43\x61pability\\V1\\GPBMetadata\xea\x02\x0e\x43\x61pability::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1e\x63\x61pability/v1/capability.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto"(\n\nCapability\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index:\x04\x98\xa0\x1f\x00"=\n\x05Owner\x12\x16\n\x06module\x18\x01 \x01(\tR\x06module\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00"K\n\x10\x43\x61pabilityOwners\x12\x37\n\x06owners\x18\x01 \x03(\x0b\x32\x14.capability.v1.OwnerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06ownersB\xac\x01\n\x11\x63om.capability.v1B\x0f\x43\x61pabilityProtoP\x01Z1github.com/cosmos/ibc-go/modules/capability/types\xa2\x02\x03\x43XX\xaa\x02\rCapability.V1\xca\x02\rCapability\\V1\xe2\x02\x19\x43\x61pability\\V1\\GPBMetadata\xea\x02\x0e\x43\x61pability::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.capability_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "capability.v1.capability_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.capability.v1B\017CapabilityProtoP\001Z1github.com/cosmos/ibc-go/modules/capability/types\242\002\003CXX\252\002\rCapability.V1\312\002\rCapability\\V1\342\002\031Capability\\V1\\GPBMetadata\352\002\016Capability::V1' - _globals['_CAPABILITY']._loaded_options = None - _globals['_CAPABILITY']._serialized_options = b'\230\240\037\000' - _globals['_OWNER']._loaded_options = None - _globals['_OWNER']._serialized_options = b'\210\240\037\000\230\240\037\000' - _globals['_CAPABILITYOWNERS'].fields_by_name['owners']._loaded_options = None - _globals['_CAPABILITYOWNERS'].fields_by_name['owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CAPABILITY']._serialized_start=90 - _globals['_CAPABILITY']._serialized_end=130 - _globals['_OWNER']._serialized_start=132 - _globals['_OWNER']._serialized_end=193 - _globals['_CAPABILITYOWNERS']._serialized_start=195 - _globals['_CAPABILITYOWNERS']._serialized_end=270 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\021com.capability.v1B\017CapabilityProtoP\001Z1github.com/cosmos/ibc-go/modules/capability/types\242\002\003CXX\252\002\rCapability.V1\312\002\rCapability\\V1\342\002\031Capability\\V1\\GPBMetadata\352\002\016Capability::V1" + ) + _globals["_CAPABILITY"]._loaded_options = None + _globals["_CAPABILITY"]._serialized_options = b"\230\240\037\000" + _globals["_OWNER"]._loaded_options = None + _globals["_OWNER"]._serialized_options = b"\210\240\037\000\230\240\037\000" + _globals["_CAPABILITYOWNERS"].fields_by_name["owners"]._loaded_options = None + _globals["_CAPABILITYOWNERS"].fields_by_name["owners"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_CAPABILITY"]._serialized_start = 90 + _globals["_CAPABILITY"]._serialized_end = 130 + _globals["_OWNER"]._serialized_start = 132 + _globals["_OWNER"]._serialized_end = 193 + _globals["_CAPABILITYOWNERS"]._serialized_start = 195 + _globals["_CAPABILITYOWNERS"]._serialized_end = 270 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/capability_pb2_grpc.py b/pyinjective/proto/capability/v1/capability_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/capability/v1/capability_pb2_grpc.py +++ b/pyinjective/proto/capability/v1/capability_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/capability/v1/genesis_pb2.py b/pyinjective/proto/capability/v1/genesis_pb2.py index 5504049e..7e1f6592 100644 --- a/pyinjective/proto/capability/v1/genesis_pb2.py +++ b/pyinjective/proto/capability/v1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,20 +18,24 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63\x61pability/v1/genesis.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63\x61pability/v1/capability.proto\x1a\x11\x61mino/amino.proto\"t\n\rGenesisOwners\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index\x12M\n\x0cindex_owners\x18\x02 \x01(\x0b\x32\x1f.capability.v1.CapabilityOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0bindexOwners\"e\n\x0cGenesisState\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index\x12?\n\x06owners\x18\x02 \x03(\x0b\x32\x1c.capability.v1.GenesisOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06ownersB\xa9\x01\n\x11\x63om.capability.v1B\x0cGenesisProtoP\x01Z1github.com/cosmos/ibc-go/modules/capability/types\xa2\x02\x03\x43XX\xaa\x02\rCapability.V1\xca\x02\rCapability\\V1\xe2\x02\x19\x43\x61pability\\V1\\GPBMetadata\xea\x02\x0e\x43\x61pability::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1b\x63\x61pability/v1/genesis.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63\x61pability/v1/capability.proto\x1a\x11\x61mino/amino.proto"t\n\rGenesisOwners\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index\x12M\n\x0cindex_owners\x18\x02 \x01(\x0b\x32\x1f.capability.v1.CapabilityOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0bindexOwners"e\n\x0cGenesisState\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index\x12?\n\x06owners\x18\x02 \x03(\x0b\x32\x1c.capability.v1.GenesisOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06ownersB\xa9\x01\n\x11\x63om.capability.v1B\x0cGenesisProtoP\x01Z1github.com/cosmos/ibc-go/modules/capability/types\xa2\x02\x03\x43XX\xaa\x02\rCapability.V1\xca\x02\rCapability\\V1\xe2\x02\x19\x43\x61pability\\V1\\GPBMetadata\xea\x02\x0e\x43\x61pability::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "capability.v1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.capability.v1B\014GenesisProtoP\001Z1github.com/cosmos/ibc-go/modules/capability/types\242\002\003CXX\252\002\rCapability.V1\312\002\rCapability\\V1\342\002\031Capability\\V1\\GPBMetadata\352\002\016Capability::V1' - _globals['_GENESISOWNERS'].fields_by_name['index_owners']._loaded_options = None - _globals['_GENESISOWNERS'].fields_by_name['index_owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['owners']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISOWNERS']._serialized_start=119 - _globals['_GENESISOWNERS']._serialized_end=235 - _globals['_GENESISSTATE']._serialized_start=237 - _globals['_GENESISSTATE']._serialized_end=338 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\021com.capability.v1B\014GenesisProtoP\001Z1github.com/cosmos/ibc-go/modules/capability/types\242\002\003CXX\252\002\rCapability.V1\312\002\rCapability\\V1\342\002\031Capability\\V1\\GPBMetadata\352\002\016Capability::V1" + ) + _globals["_GENESISOWNERS"].fields_by_name["index_owners"]._loaded_options = None + _globals["_GENESISOWNERS"].fields_by_name["index_owners"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["owners"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["owners"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISOWNERS"]._serialized_start = 119 + _globals["_GENESISOWNERS"]._serialized_end = 235 + _globals["_GENESISSTATE"]._serialized_start = 237 + _globals["_GENESISSTATE"]._serialized_end = 338 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/genesis_pb2_grpc.py b/pyinjective/proto/capability/v1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/capability/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/capability/v1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/app/runtime/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py index cd567873..44a8ed2e 100644 --- a/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py +++ b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,18 +16,24 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(cosmos/app/runtime/v1alpha1/module.proto\x12\x1b\x63osmos.app.runtime.v1alpha1\x1a cosmos/app/v1alpha1/module.proto\"\xdc\x03\n\x06Module\x12\x19\n\x08\x61pp_name\x18\x01 \x01(\tR\x07\x61ppName\x12%\n\x0e\x62\x65gin_blockers\x18\x02 \x03(\tR\rbeginBlockers\x12!\n\x0c\x65nd_blockers\x18\x03 \x03(\tR\x0b\x65ndBlockers\x12!\n\x0cinit_genesis\x18\x04 \x03(\tR\x0binitGenesis\x12%\n\x0e\x65xport_genesis\x18\x05 \x03(\tR\rexportGenesis\x12[\n\x13override_store_keys\x18\x06 \x03(\x0b\x32+.cosmos.app.runtime.v1alpha1.StoreKeyConfigR\x11overrideStoreKeys\x12)\n\x10order_migrations\x18\x07 \x03(\tR\x0forderMigrations\x12\"\n\x0cprecommiters\x18\x08 \x03(\tR\x0cprecommiters\x12\x32\n\x15prepare_check_staters\x18\t \x03(\tR\x13prepareCheckStaters:C\xba\xc0\x96\xda\x01=\n$github.com/cosmos/cosmos-sdk/runtime\x12\x15\n\x13\x63osmos.app.v1alpha1\"S\n\x0eStoreKeyConfig\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName\x12 \n\x0ckv_store_key\x18\x02 \x01(\tR\nkvStoreKeyB\xbd\x01\n\x1f\x63om.cosmos.app.runtime.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41R\xaa\x02\x1b\x43osmos.App.Runtime.V1alpha1\xca\x02\x1b\x43osmos\\App\\Runtime\\V1alpha1\xe2\x02\'Cosmos\\App\\Runtime\\V1alpha1\\GPBMetadata\xea\x02\x1e\x43osmos::App::Runtime::V1alpha1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n(cosmos/app/runtime/v1alpha1/module.proto\x12\x1b\x63osmos.app.runtime.v1alpha1\x1a cosmos/app/v1alpha1/module.proto"\xdc\x03\n\x06Module\x12\x19\n\x08\x61pp_name\x18\x01 \x01(\tR\x07\x61ppName\x12%\n\x0e\x62\x65gin_blockers\x18\x02 \x03(\tR\rbeginBlockers\x12!\n\x0c\x65nd_blockers\x18\x03 \x03(\tR\x0b\x65ndBlockers\x12!\n\x0cinit_genesis\x18\x04 \x03(\tR\x0binitGenesis\x12%\n\x0e\x65xport_genesis\x18\x05 \x03(\tR\rexportGenesis\x12[\n\x13override_store_keys\x18\x06 \x03(\x0b\x32+.cosmos.app.runtime.v1alpha1.StoreKeyConfigR\x11overrideStoreKeys\x12)\n\x10order_migrations\x18\x07 \x03(\tR\x0forderMigrations\x12"\n\x0cprecommiters\x18\x08 \x03(\tR\x0cprecommiters\x12\x32\n\x15prepare_check_staters\x18\t \x03(\tR\x13prepareCheckStaters:C\xba\xc0\x96\xda\x01=\n$github.com/cosmos/cosmos-sdk/runtime\x12\x15\n\x13\x63osmos.app.v1alpha1"S\n\x0eStoreKeyConfig\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName\x12 \n\x0ckv_store_key\x18\x02 \x01(\tR\nkvStoreKeyB\xbd\x01\n\x1f\x63om.cosmos.app.runtime.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41R\xaa\x02\x1b\x43osmos.App.Runtime.V1alpha1\xca\x02\x1b\x43osmos\\App\\Runtime\\V1alpha1\xe2\x02\'Cosmos\\App\\Runtime\\V1alpha1\\GPBMetadata\xea\x02\x1e\x43osmos::App::Runtime::V1alpha1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.runtime.v1alpha1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.app.runtime.v1alpha1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.app.runtime.v1alpha1B\013ModuleProtoP\001\242\002\003CAR\252\002\033Cosmos.App.Runtime.V1alpha1\312\002\033Cosmos\\App\\Runtime\\V1alpha1\342\002\'Cosmos\\App\\Runtime\\V1alpha1\\GPBMetadata\352\002\036Cosmos::App::Runtime::V1alpha1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001=\n$github.com/cosmos/cosmos-sdk/runtime\022\025\n\023cosmos.app.v1alpha1' - _globals['_MODULE']._serialized_start=108 - _globals['_MODULE']._serialized_end=584 - _globals['_STOREKEYCONFIG']._serialized_start=586 - _globals['_STOREKEYCONFIG']._serialized_end=669 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\037com.cosmos.app.runtime.v1alpha1B\013ModuleProtoP\001\242\002\003CAR\252\002\033Cosmos.App.Runtime.V1alpha1\312\002\033Cosmos\\App\\Runtime\\V1alpha1\342\002'Cosmos\\App\\Runtime\\V1alpha1\\GPBMetadata\352\002\036Cosmos::App::Runtime::V1alpha1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = ( + b"\272\300\226\332\001=\n$github.com/cosmos/cosmos-sdk/runtime\022\025\n\023cosmos.app.v1alpha1" + ) + _globals["_MODULE"]._serialized_start = 108 + _globals["_MODULE"]._serialized_end = 584 + _globals["_STOREKEYCONFIG"]._serialized_start = 586 + _globals["_STOREKEYCONFIG"]._serialized_end = 669 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/app/v1alpha1/config_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py index a86065bd..7c477b9a 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,18 +16,22 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/app/v1alpha1/config.proto\x12\x13\x63osmos.app.v1alpha1\x1a\x19google/protobuf/any.proto\"\x92\x01\n\x06\x43onfig\x12;\n\x07modules\x18\x01 \x03(\x0b\x32!.cosmos.app.v1alpha1.ModuleConfigR\x07modules\x12K\n\x0fgolang_bindings\x18\x02 \x03(\x0b\x32\".cosmos.app.v1alpha1.GolangBindingR\x0egolangBindings\"\x9d\x01\n\x0cModuleConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12,\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06\x63onfig\x12K\n\x0fgolang_bindings\x18\x03 \x03(\x0b\x32\".cosmos.app.v1alpha1.GolangBindingR\x0egolangBindings\"^\n\rGolangBinding\x12%\n\x0einterface_type\x18\x01 \x01(\tR\rinterfaceType\x12&\n\x0eimplementation\x18\x02 \x01(\tR\x0eimplementationB\x94\x01\n\x17\x63om.cosmos.app.v1alpha1B\x0b\x43onfigProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n cosmos/app/v1alpha1/config.proto\x12\x13\x63osmos.app.v1alpha1\x1a\x19google/protobuf/any.proto"\x92\x01\n\x06\x43onfig\x12;\n\x07modules\x18\x01 \x03(\x0b\x32!.cosmos.app.v1alpha1.ModuleConfigR\x07modules\x12K\n\x0fgolang_bindings\x18\x02 \x03(\x0b\x32".cosmos.app.v1alpha1.GolangBindingR\x0egolangBindings"\x9d\x01\n\x0cModuleConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12,\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06\x63onfig\x12K\n\x0fgolang_bindings\x18\x03 \x03(\x0b\x32".cosmos.app.v1alpha1.GolangBindingR\x0egolangBindings"^\n\rGolangBinding\x12%\n\x0einterface_type\x18\x01 \x01(\tR\rinterfaceType\x12&\n\x0eimplementation\x18\x02 \x01(\tR\x0eimplementationB\x94\x01\n\x17\x63om.cosmos.app.v1alpha1B\x0b\x43onfigProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.config_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.app.v1alpha1.config_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.app.v1alpha1B\013ConfigProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1' - _globals['_CONFIG']._serialized_start=85 - _globals['_CONFIG']._serialized_end=231 - _globals['_MODULECONFIG']._serialized_start=234 - _globals['_MODULECONFIG']._serialized_end=391 - _globals['_GOLANGBINDING']._serialized_start=393 - _globals['_GOLANGBINDING']._serialized_end=487 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.app.v1alpha1B\013ConfigProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1" + ) + _globals["_CONFIG"]._serialized_start = 85 + _globals["_CONFIG"]._serialized_end = 231 + _globals["_MODULECONFIG"]._serialized_start = 234 + _globals["_MODULECONFIG"]._serialized_end = 391 + _globals["_GOLANGBINDING"]._serialized_start = 393 + _globals["_GOLANGBINDING"]._serialized_end = 487 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/v1alpha1/config_pb2_grpc.py b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/config_pb2_grpc.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/app/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py index 05c39db9..691f9659 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,18 +16,22 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/app/v1alpha1/module.proto\x12\x13\x63osmos.app.v1alpha1\x1a google/protobuf/descriptor.proto\"\xc7\x01\n\x10ModuleDescriptor\x12\x1b\n\tgo_import\x18\x01 \x01(\tR\x08goImport\x12\x46\n\x0buse_package\x18\x02 \x03(\x0b\x32%.cosmos.app.v1alpha1.PackageReferenceR\nusePackage\x12N\n\x10\x63\x61n_migrate_from\x18\x03 \x03(\x0b\x32$.cosmos.app.v1alpha1.MigrateFromInfoR\x0e\x63\x61nMigrateFrom\"B\n\x10PackageReference\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n\x08revision\x18\x02 \x01(\rR\x08revision\")\n\x0fMigrateFromInfo\x12\x16\n\x06module\x18\x01 \x01(\tR\x06module:a\n\x06module\x12\x1f.google.protobuf.MessageOptions\x18\x87\xe8\xa2\x1b \x01(\x0b\x32%.cosmos.app.v1alpha1.ModuleDescriptorR\x06moduleB\x94\x01\n\x17\x63om.cosmos.app.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n cosmos/app/v1alpha1/module.proto\x12\x13\x63osmos.app.v1alpha1\x1a google/protobuf/descriptor.proto"\xc7\x01\n\x10ModuleDescriptor\x12\x1b\n\tgo_import\x18\x01 \x01(\tR\x08goImport\x12\x46\n\x0buse_package\x18\x02 \x03(\x0b\x32%.cosmos.app.v1alpha1.PackageReferenceR\nusePackage\x12N\n\x10\x63\x61n_migrate_from\x18\x03 \x03(\x0b\x32$.cosmos.app.v1alpha1.MigrateFromInfoR\x0e\x63\x61nMigrateFrom"B\n\x10PackageReference\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n\x08revision\x18\x02 \x01(\rR\x08revision")\n\x0fMigrateFromInfo\x12\x16\n\x06module\x18\x01 \x01(\tR\x06module:a\n\x06module\x12\x1f.google.protobuf.MessageOptions\x18\x87\xe8\xa2\x1b \x01(\x0b\x32%.cosmos.app.v1alpha1.ModuleDescriptorR\x06moduleB\x94\x01\n\x17\x63om.cosmos.app.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.app.v1alpha1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.app.v1alpha1B\013ModuleProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1' - _globals['_MODULEDESCRIPTOR']._serialized_start=92 - _globals['_MODULEDESCRIPTOR']._serialized_end=291 - _globals['_PACKAGEREFERENCE']._serialized_start=293 - _globals['_PACKAGEREFERENCE']._serialized_end=359 - _globals['_MIGRATEFROMINFO']._serialized_start=361 - _globals['_MIGRATEFROMINFO']._serialized_end=402 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.app.v1alpha1B\013ModuleProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1" + ) + _globals["_MODULEDESCRIPTOR"]._serialized_start = 92 + _globals["_MODULEDESCRIPTOR"]._serialized_end = 291 + _globals["_PACKAGEREFERENCE"]._serialized_start = 293 + _globals["_PACKAGEREFERENCE"]._serialized_end = 359 + _globals["_MIGRATEFROMINFO"]._serialized_start = 361 + _globals["_MIGRATEFROMINFO"]._serialized_end = 402 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/v1alpha1/module_pb2_grpc.py b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/app/v1alpha1/query_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py index 448ab7c7..41210015 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,18 +16,22 @@ from pyinjective.proto.cosmos.app.v1alpha1 import config_pb2 as cosmos_dot_app_dot_v1alpha1_dot_config__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/app/v1alpha1/query.proto\x12\x13\x63osmos.app.v1alpha1\x1a cosmos/app/v1alpha1/config.proto\"\x14\n\x12QueryConfigRequest\"J\n\x13QueryConfigResponse\x12\x33\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1b.cosmos.app.v1alpha1.ConfigR\x06\x63onfig2f\n\x05Query\x12]\n\x06\x43onfig\x12\'.cosmos.app.v1alpha1.QueryConfigRequest\x1a(.cosmos.app.v1alpha1.QueryConfigResponse\"\x00\x42\x93\x01\n\x17\x63om.cosmos.app.v1alpha1B\nQueryProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1f\x63osmos/app/v1alpha1/query.proto\x12\x13\x63osmos.app.v1alpha1\x1a cosmos/app/v1alpha1/config.proto"\x14\n\x12QueryConfigRequest"J\n\x13QueryConfigResponse\x12\x33\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1b.cosmos.app.v1alpha1.ConfigR\x06\x63onfig2f\n\x05Query\x12]\n\x06\x43onfig\x12\'.cosmos.app.v1alpha1.QueryConfigRequest\x1a(.cosmos.app.v1alpha1.QueryConfigResponse"\x00\x42\x93\x01\n\x17\x63om.cosmos.app.v1alpha1B\nQueryProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.app.v1alpha1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.app.v1alpha1B\nQueryProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1' - _globals['_QUERYCONFIGREQUEST']._serialized_start=90 - _globals['_QUERYCONFIGREQUEST']._serialized_end=110 - _globals['_QUERYCONFIGRESPONSE']._serialized_start=112 - _globals['_QUERYCONFIGRESPONSE']._serialized_end=186 - _globals['_QUERY']._serialized_start=188 - _globals['_QUERY']._serialized_end=290 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.app.v1alpha1B\nQueryProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1" + ) + _globals["_QUERYCONFIGREQUEST"]._serialized_start = 90 + _globals["_QUERYCONFIGREQUEST"]._serialized_end = 110 + _globals["_QUERYCONFIGRESPONSE"]._serialized_start = 112 + _globals["_QUERYCONFIGRESPONSE"]._serialized_end = 186 + _globals["_QUERY"]._serialized_start = 188 + _globals["_QUERY"]._serialized_end = 290 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/v1alpha1/query_pb2_grpc.py b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2_grpc.py index 86f0b576..82b1d3e7 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query is the app module query service. - """ + """Query is the app module query service.""" def __init__(self, channel): """Constructor. @@ -16,58 +15,57 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Config = channel.unary_unary( - '/cosmos.app.v1alpha1.Query/Config', - request_serializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigRequest.SerializeToString, - response_deserializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigResponse.FromString, - _registered_method=True) + "/cosmos.app.v1alpha1.Query/Config", + request_serializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigRequest.SerializeToString, + response_deserializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query is the app module query service. - """ + """Query is the app module query service.""" def Config(self, request, context): - """Config returns the current app config. - """ + """Config returns the current app config.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Config': grpc.unary_unary_rpc_method_handler( - servicer.Config, - request_deserializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigRequest.FromString, - response_serializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigResponse.SerializeToString, - ), + "Config": grpc.unary_unary_rpc_method_handler( + servicer.Config, + request_deserializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigRequest.FromString, + response_serializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.app.v1alpha1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.app.v1alpha1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.app.v1alpha1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.app.v1alpha1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query is the app module query service. - """ + """Query is the app module query service.""" @staticmethod - def Config(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Config( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.app.v1alpha1.Query/Config', + "/cosmos.app.v1alpha1.Query/Config", cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigRequest.SerializeToString, cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigResponse.FromString, options, @@ -78,4 +76,5 @@ def Config(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py b/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py index 15c313d5..180ae8cf 100644 --- a/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,18 +16,22 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/auth/module/v1/module.proto\x12\x15\x63osmos.auth.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\xe6\x01\n\x06Module\x12#\n\rbech32_prefix\x18\x01 \x01(\tR\x0c\x62\x65\x63h32Prefix\x12l\n\x1amodule_account_permissions\x18\x02 \x03(\x0b\x32..cosmos.auth.module.v1.ModuleAccountPermissionR\x18moduleAccountPermissions\x12\x1c\n\tauthority\x18\x03 \x01(\tR\tauthority:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/auth\"U\n\x17ModuleAccountPermission\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12 \n\x0bpermissions\x18\x02 \x03(\tR\x0bpermissionsB\x9f\x01\n\x19\x63om.cosmos.auth.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41M\xaa\x02\x15\x43osmos.Auth.Module.V1\xca\x02\x15\x43osmos\\Auth\\Module\\V1\xe2\x02!Cosmos\\Auth\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Auth::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n"cosmos/auth/module/v1/module.proto\x12\x15\x63osmos.auth.module.v1\x1a cosmos/app/v1alpha1/module.proto"\xe6\x01\n\x06Module\x12#\n\rbech32_prefix\x18\x01 \x01(\tR\x0c\x62\x65\x63h32Prefix\x12l\n\x1amodule_account_permissions\x18\x02 \x03(\x0b\x32..cosmos.auth.module.v1.ModuleAccountPermissionR\x18moduleAccountPermissions\x12\x1c\n\tauthority\x18\x03 \x01(\tR\tauthority:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/auth"U\n\x17ModuleAccountPermission\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12 \n\x0bpermissions\x18\x02 \x03(\tR\x0bpermissionsB\x9f\x01\n\x19\x63om.cosmos.auth.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41M\xaa\x02\x15\x43osmos.Auth.Module.V1\xca\x02\x15\x43osmos\\Auth\\Module\\V1\xe2\x02!Cosmos\\Auth\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Auth::Module::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.auth.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.auth.module.v1B\013ModuleProtoP\001\242\002\003CAM\252\002\025Cosmos.Auth.Module.V1\312\002\025Cosmos\\Auth\\Module\\V1\342\002!Cosmos\\Auth\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Auth::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/auth' - _globals['_MODULE']._serialized_start=96 - _globals['_MODULE']._serialized_end=326 - _globals['_MODULEACCOUNTPERMISSION']._serialized_start=328 - _globals['_MODULEACCOUNTPERMISSION']._serialized_end=413 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\031com.cosmos.auth.module.v1B\013ModuleProtoP\001\242\002\003CAM\252\002\025Cosmos.Auth.Module.V1\312\002\025Cosmos\\Auth\\Module\\V1\342\002!Cosmos\\Auth\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Auth::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/auth" + _globals["_MODULE"]._serialized_start = 96 + _globals["_MODULE"]._serialized_end = 326 + _globals["_MODULEACCOUNTPERMISSION"]._serialized_start = 328 + _globals["_MODULEACCOUNTPERMISSION"]._serialized_end = 413 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/auth/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/auth/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/auth/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/auth/v1beta1/auth_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py index ab1b8bbc..5e42778d 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,38 +19,52 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/auth/v1beta1/auth.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xa1\x02\n\x0b\x42\x61seAccount\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12V\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\'\xea\xde\x1f\x14public_key,omitempty\xa2\xe7\xb0*\npublic_keyR\x06pubKey\x12%\n\x0e\x61\x63\x63ount_number\x18\x03 \x01(\x04R\raccountNumber\x12\x1a\n\x08sequence\x18\x04 \x01(\x04R\x08sequence:C\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountI\x8a\xe7\xb0*\x16\x63osmos-sdk/BaseAccount\"\xec\x01\n\rModuleAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0bpermissions\x18\x03 \x03(\tR\x0bpermissions:Z\x88\xa0\x1f\x00\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountI\x8a\xe7\xb0*\x18\x63osmos-sdk/ModuleAccount\x92\xe7\xb0*\x0emodule_account\"\x84\x01\n\x10ModuleCredential\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName\x12\'\n\x0f\x64\x65rivation_keys\x18\x02 \x03(\x0cR\x0e\x64\x65rivationKeys:&\x8a\xe7\xb0*!cosmos-sdk/GroupAccountCredential\"\xd7\x02\n\x06Params\x12.\n\x13max_memo_characters\x18\x01 \x01(\x04R\x11maxMemoCharacters\x12 \n\x0ctx_sig_limit\x18\x02 \x01(\x04R\ntxSigLimit\x12\x30\n\x15tx_size_cost_per_byte\x18\x03 \x01(\x04R\x11txSizeCostPerByte\x12O\n\x17sig_verify_cost_ed25519\x18\x04 \x01(\x04\x42\x18\xe2\xde\x1f\x14SigVerifyCostED25519R\x14sigVerifyCostEd25519\x12U\n\x19sig_verify_cost_secp256k1\x18\x05 \x01(\x04\x42\x1a\xe2\xde\x1f\x16SigVerifyCostSecp256k1R\x16sigVerifyCostSecp256k1:!\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x18\x63osmos-sdk/x/auth/ParamsB\xbd\x01\n\x17\x63om.cosmos.auth.v1beta1B\tAuthProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1e\x63osmos/auth/v1beta1/auth.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto"\xa1\x02\n\x0b\x42\x61seAccount\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12V\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\'\xea\xde\x1f\x14public_key,omitempty\xa2\xe7\xb0*\npublic_keyR\x06pubKey\x12%\n\x0e\x61\x63\x63ount_number\x18\x03 \x01(\x04R\raccountNumber\x12\x1a\n\x08sequence\x18\x04 \x01(\x04R\x08sequence:C\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountI\x8a\xe7\xb0*\x16\x63osmos-sdk/BaseAccount"\xec\x01\n\rModuleAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0bpermissions\x18\x03 \x03(\tR\x0bpermissions:Z\x88\xa0\x1f\x00\xca\xb4-"cosmos.auth.v1beta1.ModuleAccountI\x8a\xe7\xb0*\x18\x63osmos-sdk/ModuleAccount\x92\xe7\xb0*\x0emodule_account"\x84\x01\n\x10ModuleCredential\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName\x12\'\n\x0f\x64\x65rivation_keys\x18\x02 \x03(\x0cR\x0e\x64\x65rivationKeys:&\x8a\xe7\xb0*!cosmos-sdk/GroupAccountCredential"\xd7\x02\n\x06Params\x12.\n\x13max_memo_characters\x18\x01 \x01(\x04R\x11maxMemoCharacters\x12 \n\x0ctx_sig_limit\x18\x02 \x01(\x04R\ntxSigLimit\x12\x30\n\x15tx_size_cost_per_byte\x18\x03 \x01(\x04R\x11txSizeCostPerByte\x12O\n\x17sig_verify_cost_ed25519\x18\x04 \x01(\x04\x42\x18\xe2\xde\x1f\x14SigVerifyCostED25519R\x14sigVerifyCostEd25519\x12U\n\x19sig_verify_cost_secp256k1\x18\x05 \x01(\x04\x42\x1a\xe2\xde\x1f\x16SigVerifyCostSecp256k1R\x16sigVerifyCostSecp256k1:!\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x18\x63osmos-sdk/x/auth/ParamsB\xbd\x01\n\x17\x63om.cosmos.auth.v1beta1B\tAuthProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.auth_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.auth.v1beta1.auth_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.auth.v1beta1B\tAuthProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1' - _globals['_BASEACCOUNT'].fields_by_name['address']._loaded_options = None - _globals['_BASEACCOUNT'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_BASEACCOUNT'].fields_by_name['pub_key']._loaded_options = None - _globals['_BASEACCOUNT'].fields_by_name['pub_key']._serialized_options = b'\352\336\037\024public_key,omitempty\242\347\260*\npublic_key' - _globals['_BASEACCOUNT']._loaded_options = None - _globals['_BASEACCOUNT']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\034cosmos.auth.v1beta1.AccountI\212\347\260*\026cosmos-sdk/BaseAccount' - _globals['_MODULEACCOUNT'].fields_by_name['base_account']._loaded_options = None - _globals['_MODULEACCOUNT'].fields_by_name['base_account']._serialized_options = b'\320\336\037\001' - _globals['_MODULEACCOUNT']._loaded_options = None - _globals['_MODULEACCOUNT']._serialized_options = b'\210\240\037\000\312\264-\"cosmos.auth.v1beta1.ModuleAccountI\212\347\260*\030cosmos-sdk/ModuleAccount\222\347\260*\016module_account' - _globals['_MODULECREDENTIAL']._loaded_options = None - _globals['_MODULECREDENTIAL']._serialized_options = b'\212\347\260*!cosmos-sdk/GroupAccountCredential' - _globals['_PARAMS'].fields_by_name['sig_verify_cost_ed25519']._loaded_options = None - _globals['_PARAMS'].fields_by_name['sig_verify_cost_ed25519']._serialized_options = b'\342\336\037\024SigVerifyCostED25519' - _globals['_PARAMS'].fields_by_name['sig_verify_cost_secp256k1']._loaded_options = None - _globals['_PARAMS'].fields_by_name['sig_verify_cost_secp256k1']._serialized_options = b'\342\336\037\026SigVerifyCostSecp256k1' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\030cosmos-sdk/x/auth/Params' - _globals['_BASEACCOUNT']._serialized_start=151 - _globals['_BASEACCOUNT']._serialized_end=440 - _globals['_MODULEACCOUNT']._serialized_start=443 - _globals['_MODULEACCOUNT']._serialized_end=679 - _globals['_MODULECREDENTIAL']._serialized_start=682 - _globals['_MODULECREDENTIAL']._serialized_end=814 - _globals['_PARAMS']._serialized_start=817 - _globals['_PARAMS']._serialized_end=1160 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.auth.v1beta1B\tAuthProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1" + ) + _globals["_BASEACCOUNT"].fields_by_name["address"]._loaded_options = None + _globals["_BASEACCOUNT"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_BASEACCOUNT"].fields_by_name["pub_key"]._loaded_options = None + _globals["_BASEACCOUNT"].fields_by_name[ + "pub_key" + ]._serialized_options = b"\352\336\037\024public_key,omitempty\242\347\260*\npublic_key" + _globals["_BASEACCOUNT"]._loaded_options = None + _globals["_BASEACCOUNT"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\034cosmos.auth.v1beta1.AccountI\212\347\260*\026cosmos-sdk/BaseAccount" + ) + _globals["_MODULEACCOUNT"].fields_by_name["base_account"]._loaded_options = None + _globals["_MODULEACCOUNT"].fields_by_name["base_account"]._serialized_options = b"\320\336\037\001" + _globals["_MODULEACCOUNT"]._loaded_options = None + _globals["_MODULEACCOUNT"]._serialized_options = ( + b'\210\240\037\000\312\264-"cosmos.auth.v1beta1.ModuleAccountI\212\347\260*\030cosmos-sdk/ModuleAccount\222\347\260*\016module_account' + ) + _globals["_MODULECREDENTIAL"]._loaded_options = None + _globals["_MODULECREDENTIAL"]._serialized_options = b"\212\347\260*!cosmos-sdk/GroupAccountCredential" + _globals["_PARAMS"].fields_by_name["sig_verify_cost_ed25519"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "sig_verify_cost_ed25519" + ]._serialized_options = b"\342\336\037\024SigVerifyCostED25519" + _globals["_PARAMS"].fields_by_name["sig_verify_cost_secp256k1"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "sig_verify_cost_secp256k1" + ]._serialized_options = b"\342\336\037\026SigVerifyCostSecp256k1" + _globals["_PARAMS"]._loaded_options = None + _globals["_PARAMS"]._serialized_options = b"\350\240\037\001\212\347\260*\030cosmos-sdk/x/auth/Params" + _globals["_BASEACCOUNT"]._serialized_start = 151 + _globals["_BASEACCOUNT"]._serialized_end = 440 + _globals["_MODULEACCOUNT"]._serialized_start = 443 + _globals["_MODULEACCOUNT"]._serialized_end = 679 + _globals["_MODULECREDENTIAL"]._serialized_start = 682 + _globals["_MODULECREDENTIAL"]._serialized_end = 814 + _globals["_PARAMS"]._serialized_start = 817 + _globals["_PARAMS"]._serialized_end = 1160 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2_grpc.py b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2_grpc.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/auth/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py index 4d0f61bb..f8030d83 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,16 +19,20 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/auth/v1beta1/genesis.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x11\x61mino/amino.proto\"\x80\x01\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12\x30\n\x08\x61\x63\x63ounts\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x61\x63\x63ountsB\xc0\x01\n\x17\x63om.cosmos.auth.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n!cosmos/auth/v1beta1/genesis.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x11\x61mino/amino.proto"\x80\x01\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12\x30\n\x08\x61\x63\x63ounts\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x61\x63\x63ountsB\xc0\x01\n\x17\x63om.cosmos.auth.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.auth.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.auth.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE']._serialized_start=159 - _globals['_GENESISSTATE']._serialized_end=287 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.auth.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1" + ) + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"]._serialized_start = 159 + _globals["_GENESISSTATE"]._serialized_end = 287 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/auth/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py index 940dd371..959784ef 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py @@ -7,12 +7,15 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 @@ -21,94 +24,132 @@ from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/auth/v1beta1/query.proto\x12\x13\x63osmos.auth.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto\"^\n\x14QueryAccountsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb4\x01\n\x15QueryAccountsResponse\x12R\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB \xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIR\x08\x61\x63\x63ounts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"S\n\x13QueryAccountRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"h\n\x14QueryAccountResponse\x12P\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB \xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIR\x07\x61\x63\x63ount\"\x14\n\x12QueryParamsRequest\"P\n\x13QueryParamsResponse\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1c\n\x1aQueryModuleAccountsRequest\"w\n\x1bQueryModuleAccountsResponse\x12X\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountIR\x08\x61\x63\x63ounts\"5\n\x1fQueryModuleAccountByNameRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"z\n QueryModuleAccountByNameResponse\x12V\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountIR\x07\x61\x63\x63ount\"\x15\n\x13\x42\x65\x63h32PrefixRequest\";\n\x14\x42\x65\x63h32PrefixResponse\x12#\n\rbech32_prefix\x18\x01 \x01(\tR\x0c\x62\x65\x63h32Prefix\"B\n\x1b\x41\x64\x64ressBytesToStringRequest\x12#\n\raddress_bytes\x18\x01 \x01(\x0cR\x0c\x61\x64\x64ressBytes\"E\n\x1c\x41\x64\x64ressBytesToStringResponse\x12%\n\x0e\x61\x64\x64ress_string\x18\x01 \x01(\tR\raddressString\"D\n\x1b\x41\x64\x64ressStringToBytesRequest\x12%\n\x0e\x61\x64\x64ress_string\x18\x01 \x01(\tR\raddressString\"C\n\x1c\x41\x64\x64ressStringToBytesResponse\x12#\n\raddress_bytes\x18\x01 \x01(\x0cR\x0c\x61\x64\x64ressBytes\"S\n\x1eQueryAccountAddressByIDRequest\x12\x12\n\x02id\x18\x01 \x01(\x03\x42\x02\x18\x01R\x02id\x12\x1d\n\naccount_id\x18\x02 \x01(\x04R\taccountId\"d\n\x1fQueryAccountAddressByIDResponse\x12\x41\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x61\x63\x63ountAddress\"M\n\x17QueryAccountInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"P\n\x18QueryAccountInfoResponse\x12\x34\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountR\x04info2\xef\x0c\n\x05Query\x12\x8d\x01\n\x08\x41\x63\x63ounts\x12).cosmos.auth.v1beta1.QueryAccountsRequest\x1a*.cosmos.auth.v1beta1.QueryAccountsResponse\"*\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/auth/v1beta1/accounts\x12\x94\x01\n\x07\x41\x63\x63ount\x12(.cosmos.auth.v1beta1.QueryAccountRequest\x1a).cosmos.auth.v1beta1.QueryAccountResponse\"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/auth/v1beta1/accounts/{address}\x12\xb5\x01\n\x12\x41\x63\x63ountAddressByID\x12\x33.cosmos.auth.v1beta1.QueryAccountAddressByIDRequest\x1a\x34.cosmos.auth.v1beta1.QueryAccountAddressByIDResponse\"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/auth/v1beta1/address_by_id/{id}\x12\x85\x01\n\x06Params\x12\'.cosmos.auth.v1beta1.QueryParamsRequest\x1a(.cosmos.auth.v1beta1.QueryParamsResponse\"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/auth/v1beta1/params\x12\xa6\x01\n\x0eModuleAccounts\x12/.cosmos.auth.v1beta1.QueryModuleAccountsRequest\x1a\x30.cosmos.auth.v1beta1.QueryModuleAccountsResponse\"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/auth/v1beta1/module_accounts\x12\xbc\x01\n\x13ModuleAccountByName\x12\x34.cosmos.auth.v1beta1.QueryModuleAccountByNameRequest\x1a\x35.cosmos.auth.v1beta1.QueryModuleAccountByNameResponse\"8\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/module_accounts/{name}\x12\x88\x01\n\x0c\x42\x65\x63h32Prefix\x12(.cosmos.auth.v1beta1.Bech32PrefixRequest\x1a).cosmos.auth.v1beta1.Bech32PrefixResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/auth/v1beta1/bech32\x12\xb0\x01\n\x14\x41\x64\x64ressBytesToString\x12\x30.cosmos.auth.v1beta1.AddressBytesToStringRequest\x1a\x31.cosmos.auth.v1beta1.AddressBytesToStringResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/bech32/{address_bytes}\x12\xb1\x01\n\x14\x41\x64\x64ressStringToBytes\x12\x30.cosmos.auth.v1beta1.AddressStringToBytesRequest\x1a\x31.cosmos.auth.v1beta1.AddressStringToBytesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/auth/v1beta1/bech32/{address_string}\x12\xa4\x01\n\x0b\x41\x63\x63ountInfo\x12,.cosmos.auth.v1beta1.QueryAccountInfoRequest\x1a-.cosmos.auth.v1beta1.QueryAccountInfoResponse\"8\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/account_info/{address}B\xbe\x01\n\x17\x63om.cosmos.auth.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1f\x63osmos/auth/v1beta1/query.proto\x12\x13\x63osmos.auth.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto"^\n\x14QueryAccountsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xb4\x01\n\x15QueryAccountsResponse\x12R\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB \xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIR\x08\x61\x63\x63ounts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"S\n\x13QueryAccountRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"h\n\x14QueryAccountResponse\x12P\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB \xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIR\x07\x61\x63\x63ount"\x14\n\x12QueryParamsRequest"P\n\x13QueryParamsResponse\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\x1c\n\x1aQueryModuleAccountsRequest"w\n\x1bQueryModuleAccountsResponse\x12X\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-"cosmos.auth.v1beta1.ModuleAccountIR\x08\x61\x63\x63ounts"5\n\x1fQueryModuleAccountByNameRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"z\n QueryModuleAccountByNameResponse\x12V\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-"cosmos.auth.v1beta1.ModuleAccountIR\x07\x61\x63\x63ount"\x15\n\x13\x42\x65\x63h32PrefixRequest";\n\x14\x42\x65\x63h32PrefixResponse\x12#\n\rbech32_prefix\x18\x01 \x01(\tR\x0c\x62\x65\x63h32Prefix"B\n\x1b\x41\x64\x64ressBytesToStringRequest\x12#\n\raddress_bytes\x18\x01 \x01(\x0cR\x0c\x61\x64\x64ressBytes"E\n\x1c\x41\x64\x64ressBytesToStringResponse\x12%\n\x0e\x61\x64\x64ress_string\x18\x01 \x01(\tR\raddressString"D\n\x1b\x41\x64\x64ressStringToBytesRequest\x12%\n\x0e\x61\x64\x64ress_string\x18\x01 \x01(\tR\raddressString"C\n\x1c\x41\x64\x64ressStringToBytesResponse\x12#\n\raddress_bytes\x18\x01 \x01(\x0cR\x0c\x61\x64\x64ressBytes"S\n\x1eQueryAccountAddressByIDRequest\x12\x12\n\x02id\x18\x01 \x01(\x03\x42\x02\x18\x01R\x02id\x12\x1d\n\naccount_id\x18\x02 \x01(\x04R\taccountId"d\n\x1fQueryAccountAddressByIDResponse\x12\x41\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x61\x63\x63ountAddress"M\n\x17QueryAccountInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress"P\n\x18QueryAccountInfoResponse\x12\x34\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountR\x04info2\xef\x0c\n\x05Query\x12\x8d\x01\n\x08\x41\x63\x63ounts\x12).cosmos.auth.v1beta1.QueryAccountsRequest\x1a*.cosmos.auth.v1beta1.QueryAccountsResponse"*\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/auth/v1beta1/accounts\x12\x94\x01\n\x07\x41\x63\x63ount\x12(.cosmos.auth.v1beta1.QueryAccountRequest\x1a).cosmos.auth.v1beta1.QueryAccountResponse"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/auth/v1beta1/accounts/{address}\x12\xb5\x01\n\x12\x41\x63\x63ountAddressByID\x12\x33.cosmos.auth.v1beta1.QueryAccountAddressByIDRequest\x1a\x34.cosmos.auth.v1beta1.QueryAccountAddressByIDResponse"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/auth/v1beta1/address_by_id/{id}\x12\x85\x01\n\x06Params\x12\'.cosmos.auth.v1beta1.QueryParamsRequest\x1a(.cosmos.auth.v1beta1.QueryParamsResponse"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/auth/v1beta1/params\x12\xa6\x01\n\x0eModuleAccounts\x12/.cosmos.auth.v1beta1.QueryModuleAccountsRequest\x1a\x30.cosmos.auth.v1beta1.QueryModuleAccountsResponse"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/auth/v1beta1/module_accounts\x12\xbc\x01\n\x13ModuleAccountByName\x12\x34.cosmos.auth.v1beta1.QueryModuleAccountByNameRequest\x1a\x35.cosmos.auth.v1beta1.QueryModuleAccountByNameResponse"8\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/module_accounts/{name}\x12\x88\x01\n\x0c\x42\x65\x63h32Prefix\x12(.cosmos.auth.v1beta1.Bech32PrefixRequest\x1a).cosmos.auth.v1beta1.Bech32PrefixResponse"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/auth/v1beta1/bech32\x12\xb0\x01\n\x14\x41\x64\x64ressBytesToString\x12\x30.cosmos.auth.v1beta1.AddressBytesToStringRequest\x1a\x31.cosmos.auth.v1beta1.AddressBytesToStringResponse"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/bech32/{address_bytes}\x12\xb1\x01\n\x14\x41\x64\x64ressStringToBytes\x12\x30.cosmos.auth.v1beta1.AddressStringToBytesRequest\x1a\x31.cosmos.auth.v1beta1.AddressStringToBytesResponse"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/auth/v1beta1/bech32/{address_string}\x12\xa4\x01\n\x0b\x41\x63\x63ountInfo\x12,.cosmos.auth.v1beta1.QueryAccountInfoRequest\x1a-.cosmos.auth.v1beta1.QueryAccountInfoResponse"8\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/account_info/{address}B\xbe\x01\n\x17\x63om.cosmos.auth.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.auth.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.auth.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1' - _globals['_QUERYACCOUNTSRESPONSE'].fields_by_name['accounts']._loaded_options = None - _globals['_QUERYACCOUNTSRESPONSE'].fields_by_name['accounts']._serialized_options = b'\312\264-\034cosmos.auth.v1beta1.AccountI' - _globals['_QUERYACCOUNTREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYACCOUNTREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYACCOUNTREQUEST']._loaded_options = None - _globals['_QUERYACCOUNTREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYACCOUNTRESPONSE'].fields_by_name['account']._loaded_options = None - _globals['_QUERYACCOUNTRESPONSE'].fields_by_name['account']._serialized_options = b'\312\264-\034cosmos.auth.v1beta1.AccountI' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_QUERYMODULEACCOUNTSRESPONSE'].fields_by_name['accounts']._loaded_options = None - _globals['_QUERYMODULEACCOUNTSRESPONSE'].fields_by_name['accounts']._serialized_options = b'\312\264-\"cosmos.auth.v1beta1.ModuleAccountI' - _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE'].fields_by_name['account']._loaded_options = None - _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE'].fields_by_name['account']._serialized_options = b'\312\264-\"cosmos.auth.v1beta1.ModuleAccountI' - _globals['_QUERYACCOUNTADDRESSBYIDREQUEST'].fields_by_name['id']._loaded_options = None - _globals['_QUERYACCOUNTADDRESSBYIDREQUEST'].fields_by_name['id']._serialized_options = b'\030\001' - _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE'].fields_by_name['account_address']._loaded_options = None - _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE'].fields_by_name['account_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYACCOUNTINFOREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYACCOUNTINFOREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERY'].methods_by_name['Accounts']._loaded_options = None - _globals['_QUERY'].methods_by_name['Accounts']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\037\022\035/cosmos/auth/v1beta1/accounts' - _globals['_QUERY'].methods_by_name['Account']._loaded_options = None - _globals['_QUERY'].methods_by_name['Account']._serialized_options = b'\210\347\260*\001\202\323\344\223\002)\022\'/cosmos/auth/v1beta1/accounts/{address}' - _globals['_QUERY'].methods_by_name['AccountAddressByID']._loaded_options = None - _globals['_QUERY'].methods_by_name['AccountAddressByID']._serialized_options = b'\210\347\260*\001\202\323\344\223\002)\022\'/cosmos/auth/v1beta1/address_by_id/{id}' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/auth/v1beta1/params' - _globals['_QUERY'].methods_by_name['ModuleAccounts']._loaded_options = None - _globals['_QUERY'].methods_by_name['ModuleAccounts']._serialized_options = b'\210\347\260*\001\202\323\344\223\002&\022$/cosmos/auth/v1beta1/module_accounts' - _globals['_QUERY'].methods_by_name['ModuleAccountByName']._loaded_options = None - _globals['_QUERY'].methods_by_name['ModuleAccountByName']._serialized_options = b'\210\347\260*\001\202\323\344\223\002-\022+/cosmos/auth/v1beta1/module_accounts/{name}' - _globals['_QUERY'].methods_by_name['Bech32Prefix']._loaded_options = None - _globals['_QUERY'].methods_by_name['Bech32Prefix']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/auth/v1beta1/bech32' - _globals['_QUERY'].methods_by_name['AddressBytesToString']._loaded_options = None - _globals['_QUERY'].methods_by_name['AddressBytesToString']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/auth/v1beta1/bech32/{address_bytes}' - _globals['_QUERY'].methods_by_name['AddressStringToBytes']._loaded_options = None - _globals['_QUERY'].methods_by_name['AddressStringToBytes']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/auth/v1beta1/bech32/{address_string}' - _globals['_QUERY'].methods_by_name['AccountInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['AccountInfo']._serialized_options = b'\210\347\260*\001\202\323\344\223\002-\022+/cosmos/auth/v1beta1/account_info/{address}' - _globals['_QUERYACCOUNTSREQUEST']._serialized_start=267 - _globals['_QUERYACCOUNTSREQUEST']._serialized_end=361 - _globals['_QUERYACCOUNTSRESPONSE']._serialized_start=364 - _globals['_QUERYACCOUNTSRESPONSE']._serialized_end=544 - _globals['_QUERYACCOUNTREQUEST']._serialized_start=546 - _globals['_QUERYACCOUNTREQUEST']._serialized_end=629 - _globals['_QUERYACCOUNTRESPONSE']._serialized_start=631 - _globals['_QUERYACCOUNTRESPONSE']._serialized_end=735 - _globals['_QUERYPARAMSREQUEST']._serialized_start=737 - _globals['_QUERYPARAMSREQUEST']._serialized_end=757 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=759 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=839 - _globals['_QUERYMODULEACCOUNTSREQUEST']._serialized_start=841 - _globals['_QUERYMODULEACCOUNTSREQUEST']._serialized_end=869 - _globals['_QUERYMODULEACCOUNTSRESPONSE']._serialized_start=871 - _globals['_QUERYMODULEACCOUNTSRESPONSE']._serialized_end=990 - _globals['_QUERYMODULEACCOUNTBYNAMEREQUEST']._serialized_start=992 - _globals['_QUERYMODULEACCOUNTBYNAMEREQUEST']._serialized_end=1045 - _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE']._serialized_start=1047 - _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE']._serialized_end=1169 - _globals['_BECH32PREFIXREQUEST']._serialized_start=1171 - _globals['_BECH32PREFIXREQUEST']._serialized_end=1192 - _globals['_BECH32PREFIXRESPONSE']._serialized_start=1194 - _globals['_BECH32PREFIXRESPONSE']._serialized_end=1253 - _globals['_ADDRESSBYTESTOSTRINGREQUEST']._serialized_start=1255 - _globals['_ADDRESSBYTESTOSTRINGREQUEST']._serialized_end=1321 - _globals['_ADDRESSBYTESTOSTRINGRESPONSE']._serialized_start=1323 - _globals['_ADDRESSBYTESTOSTRINGRESPONSE']._serialized_end=1392 - _globals['_ADDRESSSTRINGTOBYTESREQUEST']._serialized_start=1394 - _globals['_ADDRESSSTRINGTOBYTESREQUEST']._serialized_end=1462 - _globals['_ADDRESSSTRINGTOBYTESRESPONSE']._serialized_start=1464 - _globals['_ADDRESSSTRINGTOBYTESRESPONSE']._serialized_end=1531 - _globals['_QUERYACCOUNTADDRESSBYIDREQUEST']._serialized_start=1533 - _globals['_QUERYACCOUNTADDRESSBYIDREQUEST']._serialized_end=1616 - _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE']._serialized_start=1618 - _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE']._serialized_end=1718 - _globals['_QUERYACCOUNTINFOREQUEST']._serialized_start=1720 - _globals['_QUERYACCOUNTINFOREQUEST']._serialized_end=1797 - _globals['_QUERYACCOUNTINFORESPONSE']._serialized_start=1799 - _globals['_QUERYACCOUNTINFORESPONSE']._serialized_end=1879 - _globals['_QUERY']._serialized_start=1882 - _globals['_QUERY']._serialized_end=3529 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.auth.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1" + ) + _globals["_QUERYACCOUNTSRESPONSE"].fields_by_name["accounts"]._loaded_options = None + _globals["_QUERYACCOUNTSRESPONSE"].fields_by_name[ + "accounts" + ]._serialized_options = b"\312\264-\034cosmos.auth.v1beta1.AccountI" + _globals["_QUERYACCOUNTREQUEST"].fields_by_name["address"]._loaded_options = None + _globals["_QUERYACCOUNTREQUEST"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYACCOUNTREQUEST"]._loaded_options = None + _globals["_QUERYACCOUNTREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYACCOUNTRESPONSE"].fields_by_name["account"]._loaded_options = None + _globals["_QUERYACCOUNTRESPONSE"].fields_by_name[ + "account" + ]._serialized_options = b"\312\264-\034cosmos.auth.v1beta1.AccountI" + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYMODULEACCOUNTSRESPONSE"].fields_by_name["accounts"]._loaded_options = None + _globals["_QUERYMODULEACCOUNTSRESPONSE"].fields_by_name[ + "accounts" + ]._serialized_options = b'\312\264-"cosmos.auth.v1beta1.ModuleAccountI' + _globals["_QUERYMODULEACCOUNTBYNAMERESPONSE"].fields_by_name["account"]._loaded_options = None + _globals["_QUERYMODULEACCOUNTBYNAMERESPONSE"].fields_by_name[ + "account" + ]._serialized_options = b'\312\264-"cosmos.auth.v1beta1.ModuleAccountI' + _globals["_QUERYACCOUNTADDRESSBYIDREQUEST"].fields_by_name["id"]._loaded_options = None + _globals["_QUERYACCOUNTADDRESSBYIDREQUEST"].fields_by_name["id"]._serialized_options = b"\030\001" + _globals["_QUERYACCOUNTADDRESSBYIDRESPONSE"].fields_by_name["account_address"]._loaded_options = None + _globals["_QUERYACCOUNTADDRESSBYIDRESPONSE"].fields_by_name[ + "account_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYACCOUNTINFOREQUEST"].fields_by_name["address"]._loaded_options = None + _globals["_QUERYACCOUNTINFOREQUEST"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERY"].methods_by_name["Accounts"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Accounts" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002\037\022\035/cosmos/auth/v1beta1/accounts" + _globals["_QUERY"].methods_by_name["Account"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Account" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002)\022'/cosmos/auth/v1beta1/accounts/{address}" + _globals["_QUERY"].methods_by_name["AccountAddressByID"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AccountAddressByID" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002)\022'/cosmos/auth/v1beta1/address_by_id/{id}" + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/auth/v1beta1/params" + _globals["_QUERY"].methods_by_name["ModuleAccounts"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ModuleAccounts" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002&\022$/cosmos/auth/v1beta1/module_accounts" + _globals["_QUERY"].methods_by_name["ModuleAccountByName"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ModuleAccountByName" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002-\022+/cosmos/auth/v1beta1/module_accounts/{name}" + _globals["_QUERY"].methods_by_name["Bech32Prefix"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Bech32Prefix" + ]._serialized_options = b"\202\323\344\223\002\035\022\033/cosmos/auth/v1beta1/bech32" + _globals["_QUERY"].methods_by_name["AddressBytesToString"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AddressBytesToString" + ]._serialized_options = b"\202\323\344\223\002-\022+/cosmos/auth/v1beta1/bech32/{address_bytes}" + _globals["_QUERY"].methods_by_name["AddressStringToBytes"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AddressStringToBytes" + ]._serialized_options = b"\202\323\344\223\002.\022,/cosmos/auth/v1beta1/bech32/{address_string}" + _globals["_QUERY"].methods_by_name["AccountInfo"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AccountInfo" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002-\022+/cosmos/auth/v1beta1/account_info/{address}" + _globals["_QUERYACCOUNTSREQUEST"]._serialized_start = 267 + _globals["_QUERYACCOUNTSREQUEST"]._serialized_end = 361 + _globals["_QUERYACCOUNTSRESPONSE"]._serialized_start = 364 + _globals["_QUERYACCOUNTSRESPONSE"]._serialized_end = 544 + _globals["_QUERYACCOUNTREQUEST"]._serialized_start = 546 + _globals["_QUERYACCOUNTREQUEST"]._serialized_end = 629 + _globals["_QUERYACCOUNTRESPONSE"]._serialized_start = 631 + _globals["_QUERYACCOUNTRESPONSE"]._serialized_end = 735 + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 737 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 757 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 759 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 839 + _globals["_QUERYMODULEACCOUNTSREQUEST"]._serialized_start = 841 + _globals["_QUERYMODULEACCOUNTSREQUEST"]._serialized_end = 869 + _globals["_QUERYMODULEACCOUNTSRESPONSE"]._serialized_start = 871 + _globals["_QUERYMODULEACCOUNTSRESPONSE"]._serialized_end = 990 + _globals["_QUERYMODULEACCOUNTBYNAMEREQUEST"]._serialized_start = 992 + _globals["_QUERYMODULEACCOUNTBYNAMEREQUEST"]._serialized_end = 1045 + _globals["_QUERYMODULEACCOUNTBYNAMERESPONSE"]._serialized_start = 1047 + _globals["_QUERYMODULEACCOUNTBYNAMERESPONSE"]._serialized_end = 1169 + _globals["_BECH32PREFIXREQUEST"]._serialized_start = 1171 + _globals["_BECH32PREFIXREQUEST"]._serialized_end = 1192 + _globals["_BECH32PREFIXRESPONSE"]._serialized_start = 1194 + _globals["_BECH32PREFIXRESPONSE"]._serialized_end = 1253 + _globals["_ADDRESSBYTESTOSTRINGREQUEST"]._serialized_start = 1255 + _globals["_ADDRESSBYTESTOSTRINGREQUEST"]._serialized_end = 1321 + _globals["_ADDRESSBYTESTOSTRINGRESPONSE"]._serialized_start = 1323 + _globals["_ADDRESSBYTESTOSTRINGRESPONSE"]._serialized_end = 1392 + _globals["_ADDRESSSTRINGTOBYTESREQUEST"]._serialized_start = 1394 + _globals["_ADDRESSSTRINGTOBYTESREQUEST"]._serialized_end = 1462 + _globals["_ADDRESSSTRINGTOBYTESRESPONSE"]._serialized_start = 1464 + _globals["_ADDRESSSTRINGTOBYTESRESPONSE"]._serialized_end = 1531 + _globals["_QUERYACCOUNTADDRESSBYIDREQUEST"]._serialized_start = 1533 + _globals["_QUERYACCOUNTADDRESSBYIDREQUEST"]._serialized_end = 1616 + _globals["_QUERYACCOUNTADDRESSBYIDRESPONSE"]._serialized_start = 1618 + _globals["_QUERYACCOUNTADDRESSBYIDRESPONSE"]._serialized_end = 1718 + _globals["_QUERYACCOUNTINFOREQUEST"]._serialized_start = 1720 + _globals["_QUERYACCOUNTINFOREQUEST"]._serialized_end = 1797 + _globals["_QUERYACCOUNTINFORESPONSE"]._serialized_start = 1799 + _globals["_QUERYACCOUNTINFORESPONSE"]._serialized_end = 1879 + _globals["_QUERY"]._serialized_start = 1882 + _globals["_QUERY"]._serialized_end = 3529 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2_grpc.py index b8bcec08..cafcf5f3 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,60 +15,69 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Accounts = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/Accounts', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsResponse.FromString, - _registered_method=True) + "/cosmos.auth.v1beta1.Query/Accounts", + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsResponse.FromString, + _registered_method=True, + ) self.Account = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/Account', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountResponse.FromString, - _registered_method=True) + "/cosmos.auth.v1beta1.Query/Account", + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountResponse.FromString, + _registered_method=True, + ) self.AccountAddressByID = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/AccountAddressByID', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDResponse.FromString, - _registered_method=True) + "/cosmos.auth.v1beta1.Query/AccountAddressByID", + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDResponse.FromString, + _registered_method=True, + ) self.Params = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/Params', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/cosmos.auth.v1beta1.Query/Params", + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) self.ModuleAccounts = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/ModuleAccounts', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsResponse.FromString, - _registered_method=True) + "/cosmos.auth.v1beta1.Query/ModuleAccounts", + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsResponse.FromString, + _registered_method=True, + ) self.ModuleAccountByName = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/ModuleAccountByName', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameResponse.FromString, - _registered_method=True) + "/cosmos.auth.v1beta1.Query/ModuleAccountByName", + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameResponse.FromString, + _registered_method=True, + ) self.Bech32Prefix = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/Bech32Prefix', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixResponse.FromString, - _registered_method=True) + "/cosmos.auth.v1beta1.Query/Bech32Prefix", + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixResponse.FromString, + _registered_method=True, + ) self.AddressBytesToString = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/AddressBytesToString', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringResponse.FromString, - _registered_method=True) + "/cosmos.auth.v1beta1.Query/AddressBytesToString", + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringResponse.FromString, + _registered_method=True, + ) self.AddressStringToBytes = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/AddressStringToBytes', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesResponse.FromString, - _registered_method=True) + "/cosmos.auth.v1beta1.Query/AddressStringToBytes", + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesResponse.FromString, + _registered_method=True, + ) self.AccountInfo = channel.unary_unary( - '/cosmos.auth.v1beta1.Query/AccountInfo', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoResponse.FromString, - _registered_method=True) + "/cosmos.auth.v1beta1.Query/AccountInfo", + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def Accounts(self, request, context): """Accounts returns all the existing accounts. @@ -80,15 +88,14 @@ def Accounts(self, request, context): Since: cosmos-sdk 0.43 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Account(self, request, context): - """Account returns account details based on address. - """ + """Account returns account details based on address.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AccountAddressByID(self, request, context): """AccountAddressByID returns account address based on account number. @@ -96,15 +103,14 @@ def AccountAddressByID(self, request, context): Since: cosmos-sdk 0.46.2 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Params(self, request, context): - """Params queries all parameters. - """ + """Params queries all parameters.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ModuleAccounts(self, request, context): """ModuleAccounts returns all the existing module accounts. @@ -112,15 +118,14 @@ def ModuleAccounts(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ModuleAccountByName(self, request, context): - """ModuleAccountByName returns the module account info by module name - """ + """ModuleAccountByName returns the module account info by module name""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Bech32Prefix(self, request, context): """Bech32Prefix queries bech32Prefix @@ -128,8 +133,8 @@ def Bech32Prefix(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AddressBytesToString(self, request, context): """AddressBytesToString converts Account Address bytes to string @@ -137,8 +142,8 @@ def AddressBytesToString(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AddressStringToBytes(self, request, context): """AddressStringToBytes converts Address string to bytes @@ -146,8 +151,8 @@ def AddressStringToBytes(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AccountInfo(self, request, context): """AccountInfo queries account info which is common to all account types. @@ -155,89 +160,89 @@ def AccountInfo(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Accounts': grpc.unary_unary_rpc_method_handler( - servicer.Accounts, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsResponse.SerializeToString, - ), - 'Account': grpc.unary_unary_rpc_method_handler( - servicer.Account, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountResponse.SerializeToString, - ), - 'AccountAddressByID': grpc.unary_unary_rpc_method_handler( - servicer.AccountAddressByID, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDResponse.SerializeToString, - ), - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'ModuleAccounts': grpc.unary_unary_rpc_method_handler( - servicer.ModuleAccounts, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsResponse.SerializeToString, - ), - 'ModuleAccountByName': grpc.unary_unary_rpc_method_handler( - servicer.ModuleAccountByName, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameResponse.SerializeToString, - ), - 'Bech32Prefix': grpc.unary_unary_rpc_method_handler( - servicer.Bech32Prefix, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixResponse.SerializeToString, - ), - 'AddressBytesToString': grpc.unary_unary_rpc_method_handler( - servicer.AddressBytesToString, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringResponse.SerializeToString, - ), - 'AddressStringToBytes': grpc.unary_unary_rpc_method_handler( - servicer.AddressStringToBytes, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesResponse.SerializeToString, - ), - 'AccountInfo': grpc.unary_unary_rpc_method_handler( - servicer.AccountInfo, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoResponse.SerializeToString, - ), + "Accounts": grpc.unary_unary_rpc_method_handler( + servicer.Accounts, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsResponse.SerializeToString, + ), + "Account": grpc.unary_unary_rpc_method_handler( + servicer.Account, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountResponse.SerializeToString, + ), + "AccountAddressByID": grpc.unary_unary_rpc_method_handler( + servicer.AccountAddressByID, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDResponse.SerializeToString, + ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + "ModuleAccounts": grpc.unary_unary_rpc_method_handler( + servicer.ModuleAccounts, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsResponse.SerializeToString, + ), + "ModuleAccountByName": grpc.unary_unary_rpc_method_handler( + servicer.ModuleAccountByName, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameResponse.SerializeToString, + ), + "Bech32Prefix": grpc.unary_unary_rpc_method_handler( + servicer.Bech32Prefix, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixResponse.SerializeToString, + ), + "AddressBytesToString": grpc.unary_unary_rpc_method_handler( + servicer.AddressBytesToString, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringResponse.SerializeToString, + ), + "AddressStringToBytes": grpc.unary_unary_rpc_method_handler( + servicer.AddressStringToBytes, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesResponse.SerializeToString, + ), + "AccountInfo": grpc.unary_unary_rpc_method_handler( + servicer.AccountInfo, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.auth.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.auth.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.auth.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.auth.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" @staticmethod - def Accounts(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Accounts( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.auth.v1beta1.Query/Accounts', + "/cosmos.auth.v1beta1.Query/Accounts", cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsResponse.FromString, options, @@ -248,23 +253,26 @@ def Accounts(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Account(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Account( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.auth.v1beta1.Query/Account', + "/cosmos.auth.v1beta1.Query/Account", cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountResponse.FromString, options, @@ -275,23 +283,26 @@ def Account(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def AccountAddressByID(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AccountAddressByID( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.auth.v1beta1.Query/AccountAddressByID', + "/cosmos.auth.v1beta1.Query/AccountAddressByID", cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDResponse.FromString, options, @@ -302,23 +313,26 @@ def AccountAddressByID(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.auth.v1beta1.Query/Params', + "/cosmos.auth.v1beta1.Query/Params", cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -329,23 +343,26 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ModuleAccounts(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ModuleAccounts( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.auth.v1beta1.Query/ModuleAccounts', + "/cosmos.auth.v1beta1.Query/ModuleAccounts", cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsResponse.FromString, options, @@ -356,23 +373,26 @@ def ModuleAccounts(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ModuleAccountByName(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ModuleAccountByName( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.auth.v1beta1.Query/ModuleAccountByName', + "/cosmos.auth.v1beta1.Query/ModuleAccountByName", cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameResponse.FromString, options, @@ -383,23 +403,26 @@ def ModuleAccountByName(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Bech32Prefix(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Bech32Prefix( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.auth.v1beta1.Query/Bech32Prefix', + "/cosmos.auth.v1beta1.Query/Bech32Prefix", cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixResponse.FromString, options, @@ -410,23 +433,26 @@ def Bech32Prefix(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def AddressBytesToString(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AddressBytesToString( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.auth.v1beta1.Query/AddressBytesToString', + "/cosmos.auth.v1beta1.Query/AddressBytesToString", cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringResponse.FromString, options, @@ -437,23 +463,26 @@ def AddressBytesToString(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def AddressStringToBytes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AddressStringToBytes( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.auth.v1beta1.Query/AddressStringToBytes', + "/cosmos.auth.v1beta1.Query/AddressStringToBytes", cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesResponse.FromString, options, @@ -464,23 +493,26 @@ def AddressStringToBytes(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def AccountInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AccountInfo( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.auth.v1beta1.Query/AccountInfo', + "/cosmos.auth.v1beta1.Query/AccountInfo", cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoResponse.FromString, options, @@ -491,4 +523,5 @@ def AccountInfo(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py index c6c92e0a..f69a2367 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,26 +20,32 @@ from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/auth/v1beta1/tx.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/auth/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.auth.v1beta1.MsgUpdateParams\x1a,.cosmos.auth.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.auth.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1c\x63osmos/auth/v1beta1/tx.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/auth/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.auth.v1beta1.MsgUpdateParams\x1a,.cosmos.auth.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.auth.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.auth.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.auth.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/auth/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGUPDATEPARAMS']._serialized_start=179 - _globals['_MSGUPDATEPARAMS']._serialized_end=370 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=372 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=397 - _globals['_MSG']._serialized_start=399 - _globals['_MSG']._serialized_end=511 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.auth.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/auth/MsgUpdateParams" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGUPDATEPARAMS"]._serialized_start = 179 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 370 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 372 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 397 + _globals["_MSG"]._serialized_start = 399 + _globals["_MSG"]._serialized_end = 511 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2_grpc.py index 4c82c564..610f0025 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the x/auth Msg service. - """ + """Msg defines the x/auth Msg service.""" def __init__(self, channel): """Constructor. @@ -16,15 +15,15 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.UpdateParams = channel.unary_unary( - '/cosmos.auth.v1beta1.Msg/UpdateParams', - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/cosmos.auth.v1beta1.Msg/UpdateParams", + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the x/auth Msg service. - """ + """Msg defines the x/auth Msg service.""" def UpdateParams(self, request, context): """UpdateParams defines a (governance) operation for updating the x/auth module @@ -33,44 +32,44 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.auth.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.auth.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.auth.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.auth.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the x/auth Msg service. - """ + """Msg defines the x/auth Msg service.""" @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.auth.v1beta1.Msg/UpdateParams', + "/cosmos.auth.v1beta1.Msg/UpdateParams", cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -81,4 +80,5 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py b/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py index 8a638957..45b48917 100644 --- a/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/authz/module/v1/module.proto\x12\x16\x63osmos.authz.module.v1\x1a cosmos/app/v1alpha1/module.proto\"6\n\x06Module:,\xba\xc0\x96\xda\x01&\n$github.com/cosmos/cosmos-sdk/x/authzB\xa4\x01\n\x1a\x63om.cosmos.authz.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41M\xaa\x02\x16\x43osmos.Authz.Module.V1\xca\x02\x16\x43osmos\\Authz\\Module\\V1\xe2\x02\"Cosmos\\Authz\\Module\\V1\\GPBMetadata\xea\x02\x19\x43osmos::Authz::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n#cosmos/authz/module/v1/module.proto\x12\x16\x63osmos.authz.module.v1\x1a cosmos/app/v1alpha1/module.proto"6\n\x06Module:,\xba\xc0\x96\xda\x01&\n$github.com/cosmos/cosmos-sdk/x/authzB\xa4\x01\n\x1a\x63om.cosmos.authz.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41M\xaa\x02\x16\x43osmos.Authz.Module.V1\xca\x02\x16\x43osmos\\Authz\\Module\\V1\xe2\x02"Cosmos\\Authz\\Module\\V1\\GPBMetadata\xea\x02\x19\x43osmos::Authz::Module::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.authz.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.authz.module.v1B\013ModuleProtoP\001\242\002\003CAM\252\002\026Cosmos.Authz.Module.V1\312\002\026Cosmos\\Authz\\Module\\V1\342\002\"Cosmos\\Authz\\Module\\V1\\GPBMetadata\352\002\031Cosmos::Authz::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/authz' - _globals['_MODULE']._serialized_start=97 - _globals['_MODULE']._serialized_end=151 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\032com.cosmos.authz.module.v1B\013ModuleProtoP\001\242\002\003CAM\252\002\026Cosmos.Authz.Module.V1\312\002\026Cosmos\\Authz\\Module\\V1\342\002"Cosmos\\Authz\\Module\\V1\\GPBMetadata\352\002\031Cosmos::Authz::Module::V1' + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/authz" + _globals["_MODULE"]._serialized_start = 97 + _globals["_MODULE"]._serialized_end = 151 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/authz/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/authz/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/authz/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/authz/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py index 8a24339f..6b38b89d 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,34 +20,44 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/authz/v1beta1/authz.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"t\n\x14GenericAuthorization\x12\x10\n\x03msg\x18\x01 \x01(\tR\x03msg:J\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1f\x63osmos-sdk/GenericAuthorization\"\xb1\x01\n\x05Grant\x12\x62\n\rauthorization\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationR\rauthorization\x12\x44\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x01\x90\xdf\x1f\x01R\nexpiration\"\xa2\x02\n\x12GrantAuthorization\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x62\n\rauthorization\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationR\rauthorization\x12@\n\nexpiration\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nexpiration\"4\n\x0eGrantQueueItem\x12\"\n\rmsg_type_urls\x18\x01 \x03(\tR\x0bmsgTypeUrlsB\xc2\x01\n\x18\x63om.cosmos.authz.v1beta1B\nAuthzProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n cosmos/authz/v1beta1/authz.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto"t\n\x14GenericAuthorization\x12\x10\n\x03msg\x18\x01 \x01(\tR\x03msg:J\xca\xb4-"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1f\x63osmos-sdk/GenericAuthorization"\xb1\x01\n\x05Grant\x12\x62\n\rauthorization\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-"cosmos.authz.v1beta1.AuthorizationR\rauthorization\x12\x44\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x01\x90\xdf\x1f\x01R\nexpiration"\xa2\x02\n\x12GrantAuthorization\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x62\n\rauthorization\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-"cosmos.authz.v1beta1.AuthorizationR\rauthorization\x12@\n\nexpiration\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nexpiration"4\n\x0eGrantQueueItem\x12"\n\rmsg_type_urls\x18\x01 \x03(\tR\x0bmsgTypeUrlsB\xc2\x01\n\x18\x63om.cosmos.authz.v1beta1B\nAuthzProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.authz_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.authz.v1beta1.authz_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\nAuthzProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1\310\341\036\000' - _globals['_GENERICAUTHORIZATION']._loaded_options = None - _globals['_GENERICAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\037cosmos-sdk/GenericAuthorization' - _globals['_GRANT'].fields_by_name['authorization']._loaded_options = None - _globals['_GRANT'].fields_by_name['authorization']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' - _globals['_GRANT'].fields_by_name['expiration']._loaded_options = None - _globals['_GRANT'].fields_by_name['expiration']._serialized_options = b'\310\336\037\001\220\337\037\001' - _globals['_GRANTAUTHORIZATION'].fields_by_name['granter']._loaded_options = None - _globals['_GRANTAUTHORIZATION'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_GRANTAUTHORIZATION'].fields_by_name['grantee']._loaded_options = None - _globals['_GRANTAUTHORIZATION'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_GRANTAUTHORIZATION'].fields_by_name['authorization']._loaded_options = None - _globals['_GRANTAUTHORIZATION'].fields_by_name['authorization']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' - _globals['_GRANTAUTHORIZATION'].fields_by_name['expiration']._loaded_options = None - _globals['_GRANTAUTHORIZATION'].fields_by_name['expiration']._serialized_options = b'\220\337\037\001' - _globals['_GENERICAUTHORIZATION']._serialized_start=186 - _globals['_GENERICAUTHORIZATION']._serialized_end=302 - _globals['_GRANT']._serialized_start=305 - _globals['_GRANT']._serialized_end=482 - _globals['_GRANTAUTHORIZATION']._serialized_start=485 - _globals['_GRANTAUTHORIZATION']._serialized_end=775 - _globals['_GRANTQUEUEITEM']._serialized_start=777 - _globals['_GRANTQUEUEITEM']._serialized_end=829 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\030com.cosmos.authz.v1beta1B\nAuthzProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1\310\341\036\000" + ) + _globals["_GENERICAUTHORIZATION"]._loaded_options = None + _globals["_GENERICAUTHORIZATION"]._serialized_options = ( + b'\312\264-"cosmos.authz.v1beta1.Authorization\212\347\260*\037cosmos-sdk/GenericAuthorization' + ) + _globals["_GRANT"].fields_by_name["authorization"]._loaded_options = None + _globals["_GRANT"].fields_by_name[ + "authorization" + ]._serialized_options = b'\312\264-"cosmos.authz.v1beta1.Authorization' + _globals["_GRANT"].fields_by_name["expiration"]._loaded_options = None + _globals["_GRANT"].fields_by_name["expiration"]._serialized_options = b"\310\336\037\001\220\337\037\001" + _globals["_GRANTAUTHORIZATION"].fields_by_name["granter"]._loaded_options = None + _globals["_GRANTAUTHORIZATION"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_GRANTAUTHORIZATION"].fields_by_name["grantee"]._loaded_options = None + _globals["_GRANTAUTHORIZATION"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_GRANTAUTHORIZATION"].fields_by_name["authorization"]._loaded_options = None + _globals["_GRANTAUTHORIZATION"].fields_by_name[ + "authorization" + ]._serialized_options = b'\312\264-"cosmos.authz.v1beta1.Authorization' + _globals["_GRANTAUTHORIZATION"].fields_by_name["expiration"]._loaded_options = None + _globals["_GRANTAUTHORIZATION"].fields_by_name["expiration"]._serialized_options = b"\220\337\037\001" + _globals["_GENERICAUTHORIZATION"]._serialized_start = 186 + _globals["_GENERICAUTHORIZATION"]._serialized_end = 302 + _globals["_GRANT"]._serialized_start = 305 + _globals["_GRANT"]._serialized_end = 482 + _globals["_GRANTAUTHORIZATION"]._serialized_start = 485 + _globals["_GRANTAUTHORIZATION"]._serialized_end = 775 + _globals["_GRANTQUEUEITEM"]._serialized_start = 777 + _globals["_GRANTQUEUEITEM"]._serialized_end = 829 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2_grpc.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/authz/v1beta1/event_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py index 7034cc15..e970628f 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,24 +16,28 @@ from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/authz/v1beta1/event.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\"\x96\x01\n\nEventGrant\x12 \n\x0cmsg_type_url\x18\x02 \x01(\tR\nmsgTypeUrl\x12\x32\n\x07granter\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\"\x97\x01\n\x0b\x45ventRevoke\x12 \n\x0cmsg_type_url\x18\x02 \x01(\tR\nmsgTypeUrl\x12\x32\n\x07granter\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granteeB\xbe\x01\n\x18\x63om.cosmos.authz.v1beta1B\nEventProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n cosmos/authz/v1beta1/event.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto"\x96\x01\n\nEventGrant\x12 \n\x0cmsg_type_url\x18\x02 \x01(\tR\nmsgTypeUrl\x12\x32\n\x07granter\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee"\x97\x01\n\x0b\x45ventRevoke\x12 \n\x0cmsg_type_url\x18\x02 \x01(\tR\nmsgTypeUrl\x12\x32\n\x07granter\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granteeB\xbe\x01\n\x18\x63om.cosmos.authz.v1beta1B\nEventProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.event_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.authz.v1beta1.event_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\nEventProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1' - _globals['_EVENTGRANT'].fields_by_name['granter']._loaded_options = None - _globals['_EVENTGRANT'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EVENTGRANT'].fields_by_name['grantee']._loaded_options = None - _globals['_EVENTGRANT'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EVENTREVOKE'].fields_by_name['granter']._loaded_options = None - _globals['_EVENTREVOKE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EVENTREVOKE'].fields_by_name['grantee']._loaded_options = None - _globals['_EVENTREVOKE'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EVENTGRANT']._serialized_start=86 - _globals['_EVENTGRANT']._serialized_end=236 - _globals['_EVENTREVOKE']._serialized_start=239 - _globals['_EVENTREVOKE']._serialized_end=390 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\030com.cosmos.authz.v1beta1B\nEventProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1" + ) + _globals["_EVENTGRANT"].fields_by_name["granter"]._loaded_options = None + _globals["_EVENTGRANT"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_EVENTGRANT"].fields_by_name["grantee"]._loaded_options = None + _globals["_EVENTGRANT"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_EVENTREVOKE"].fields_by_name["granter"]._loaded_options = None + _globals["_EVENTREVOKE"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_EVENTREVOKE"].fields_by_name["grantee"]._loaded_options = None + _globals["_EVENTREVOKE"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_EVENTGRANT"]._serialized_start = 86 + _globals["_EVENTGRANT"]._serialized_end = 236 + _globals["_EVENTREVOKE"]._serialized_start = 239 + _globals["_EVENTREVOKE"]._serialized_end = 390 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/event_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/event_pb2_grpc.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/authz/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py index e287132a..8487dd2a 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,16 +18,20 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/authz/v1beta1/genesis.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x14gogoproto/gogo.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x11\x61mino/amino.proto\"i\n\x0cGenesisState\x12Y\n\rauthorization\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rauthorizationB\xc0\x01\n\x18\x63om.cosmos.authz.v1beta1B\x0cGenesisProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n"cosmos/authz/v1beta1/genesis.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x14gogoproto/gogo.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x11\x61mino/amino.proto"i\n\x0cGenesisState\x12Y\n\rauthorization\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rauthorizationB\xc0\x01\n\x18\x63om.cosmos.authz.v1beta1B\x0cGenesisProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.authz.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\014GenesisProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['authorization']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['authorization']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE']._serialized_start=135 - _globals['_GENESISSTATE']._serialized_end=240 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\030com.cosmos.authz.v1beta1B\014GenesisProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1" + ) + _globals["_GENESISSTATE"].fields_by_name["authorization"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["authorization"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"]._serialized_start = 135 + _globals["_GENESISSTATE"]._serialized_end = 240 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/authz/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py index 50596cb8..03864cb2 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py @@ -7,51 +7,68 @@ 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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.cosmos.authz.v1beta1 import authz_pb2 as cosmos_dot_authz_dot_v1beta1_dot_authz__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/authz/v1beta1/query.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xe6\x01\n\x12QueryGrantsRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12 \n\x0cmsg_type_url\x18\x03 \x01(\tR\nmsgTypeUrl\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x93\x01\n\x13QueryGrantsResponse\x12\x33\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x97\x01\n\x19QueryGranterGrantsRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa7\x01\n\x1aQueryGranterGrantsResponse\x12@\n\x06grants\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x97\x01\n\x19QueryGranteeGrantsRequest\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa7\x01\n\x1aQueryGranteeGrantsResponse\x12@\n\x06grants\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xe7\x03\n\x05Query\x12\x83\x01\n\x06Grants\x12(.cosmos.authz.v1beta1.QueryGrantsRequest\x1a).cosmos.authz.v1beta1.QueryGrantsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/cosmos/authz/v1beta1/grants\x12\xaa\x01\n\rGranterGrants\x12/.cosmos.authz.v1beta1.QueryGranterGrantsRequest\x1a\x30.cosmos.authz.v1beta1.QueryGranterGrantsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/authz/v1beta1/grants/granter/{granter}\x12\xaa\x01\n\rGranteeGrants\x12/.cosmos.authz.v1beta1.QueryGranteeGrantsRequest\x1a\x30.cosmos.authz.v1beta1.QueryGranteeGrantsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/authz/v1beta1/grants/grantee/{grantee}B\xbe\x01\n\x18\x63om.cosmos.authz.v1beta1B\nQueryProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n cosmos/authz/v1beta1/query.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x19\x63osmos_proto/cosmos.proto"\xe6\x01\n\x12QueryGrantsRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12 \n\x0cmsg_type_url\x18\x03 \x01(\tR\nmsgTypeUrl\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x93\x01\n\x13QueryGrantsResponse\x12\x33\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x97\x01\n\x19QueryGranterGrantsRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xa7\x01\n\x1aQueryGranterGrantsResponse\x12@\n\x06grants\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x97\x01\n\x19QueryGranteeGrantsRequest\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xa7\x01\n\x1aQueryGranteeGrantsResponse\x12@\n\x06grants\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xe7\x03\n\x05Query\x12\x83\x01\n\x06Grants\x12(.cosmos.authz.v1beta1.QueryGrantsRequest\x1a).cosmos.authz.v1beta1.QueryGrantsResponse"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/cosmos/authz/v1beta1/grants\x12\xaa\x01\n\rGranterGrants\x12/.cosmos.authz.v1beta1.QueryGranterGrantsRequest\x1a\x30.cosmos.authz.v1beta1.QueryGranterGrantsResponse"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/authz/v1beta1/grants/granter/{granter}\x12\xaa\x01\n\rGranteeGrants\x12/.cosmos.authz.v1beta1.QueryGranteeGrantsRequest\x1a\x30.cosmos.authz.v1beta1.QueryGranteeGrantsResponse"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/authz/v1beta1/grants/grantee/{grantee}B\xbe\x01\n\x18\x63om.cosmos.authz.v1beta1B\nQueryProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.authz.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\nQueryProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1' - _globals['_QUERYGRANTSREQUEST'].fields_by_name['granter']._loaded_options = None - _globals['_QUERYGRANTSREQUEST'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYGRANTSREQUEST'].fields_by_name['grantee']._loaded_options = None - _globals['_QUERYGRANTSREQUEST'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYGRANTERGRANTSREQUEST'].fields_by_name['granter']._loaded_options = None - _globals['_QUERYGRANTERGRANTSREQUEST'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYGRANTEEGRANTSREQUEST'].fields_by_name['grantee']._loaded_options = None - _globals['_QUERYGRANTEEGRANTSREQUEST'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERY'].methods_by_name['Grants']._loaded_options = None - _globals['_QUERY'].methods_by_name['Grants']._serialized_options = b'\202\323\344\223\002\036\022\034/cosmos/authz/v1beta1/grants' - _globals['_QUERY'].methods_by_name['GranterGrants']._loaded_options = None - _globals['_QUERY'].methods_by_name['GranterGrants']._serialized_options = b'\202\323\344\223\0020\022./cosmos/authz/v1beta1/grants/granter/{granter}' - _globals['_QUERY'].methods_by_name['GranteeGrants']._loaded_options = None - _globals['_QUERY'].methods_by_name['GranteeGrants']._serialized_options = b'\202\323\344\223\0020\022./cosmos/authz/v1beta1/grants/grantee/{grantee}' - _globals['_QUERYGRANTSREQUEST']._serialized_start=194 - _globals['_QUERYGRANTSREQUEST']._serialized_end=424 - _globals['_QUERYGRANTSRESPONSE']._serialized_start=427 - _globals['_QUERYGRANTSRESPONSE']._serialized_end=574 - _globals['_QUERYGRANTERGRANTSREQUEST']._serialized_start=577 - _globals['_QUERYGRANTERGRANTSREQUEST']._serialized_end=728 - _globals['_QUERYGRANTERGRANTSRESPONSE']._serialized_start=731 - _globals['_QUERYGRANTERGRANTSRESPONSE']._serialized_end=898 - _globals['_QUERYGRANTEEGRANTSREQUEST']._serialized_start=901 - _globals['_QUERYGRANTEEGRANTSREQUEST']._serialized_end=1052 - _globals['_QUERYGRANTEEGRANTSRESPONSE']._serialized_start=1055 - _globals['_QUERYGRANTEEGRANTSRESPONSE']._serialized_end=1222 - _globals['_QUERY']._serialized_start=1225 - _globals['_QUERY']._serialized_end=1712 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\030com.cosmos.authz.v1beta1B\nQueryProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1" + ) + _globals["_QUERYGRANTSREQUEST"].fields_by_name["granter"]._loaded_options = None + _globals["_QUERYGRANTSREQUEST"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYGRANTSREQUEST"].fields_by_name["grantee"]._loaded_options = None + _globals["_QUERYGRANTSREQUEST"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYGRANTERGRANTSREQUEST"].fields_by_name["granter"]._loaded_options = None + _globals["_QUERYGRANTERGRANTSREQUEST"].fields_by_name[ + "granter" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYGRANTEEGRANTSREQUEST"].fields_by_name["grantee"]._loaded_options = None + _globals["_QUERYGRANTEEGRANTSREQUEST"].fields_by_name[ + "grantee" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERY"].methods_by_name["Grants"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Grants" + ]._serialized_options = b"\202\323\344\223\002\036\022\034/cosmos/authz/v1beta1/grants" + _globals["_QUERY"].methods_by_name["GranterGrants"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "GranterGrants" + ]._serialized_options = b"\202\323\344\223\0020\022./cosmos/authz/v1beta1/grants/granter/{granter}" + _globals["_QUERY"].methods_by_name["GranteeGrants"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "GranteeGrants" + ]._serialized_options = b"\202\323\344\223\0020\022./cosmos/authz/v1beta1/grants/grantee/{grantee}" + _globals["_QUERYGRANTSREQUEST"]._serialized_start = 194 + _globals["_QUERYGRANTSREQUEST"]._serialized_end = 424 + _globals["_QUERYGRANTSRESPONSE"]._serialized_start = 427 + _globals["_QUERYGRANTSRESPONSE"]._serialized_end = 574 + _globals["_QUERYGRANTERGRANTSREQUEST"]._serialized_start = 577 + _globals["_QUERYGRANTERGRANTSREQUEST"]._serialized_end = 728 + _globals["_QUERYGRANTERGRANTSRESPONSE"]._serialized_start = 731 + _globals["_QUERYGRANTERGRANTSRESPONSE"]._serialized_end = 898 + _globals["_QUERYGRANTEEGRANTSREQUEST"]._serialized_start = 901 + _globals["_QUERYGRANTEEGRANTSREQUEST"]._serialized_end = 1052 + _globals["_QUERYGRANTEEGRANTSRESPONSE"]._serialized_start = 1055 + _globals["_QUERYGRANTEEGRANTSRESPONSE"]._serialized_end = 1222 + _globals["_QUERY"]._serialized_start = 1225 + _globals["_QUERY"]._serialized_end = 1712 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2_grpc.py index e75edd23..b9a5c880 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,32 +15,33 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Grants = channel.unary_unary( - '/cosmos.authz.v1beta1.Query/Grants', - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsRequest.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsResponse.FromString, - _registered_method=True) + "/cosmos.authz.v1beta1.Query/Grants", + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsRequest.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsResponse.FromString, + _registered_method=True, + ) self.GranterGrants = channel.unary_unary( - '/cosmos.authz.v1beta1.Query/GranterGrants', - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsRequest.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsResponse.FromString, - _registered_method=True) + "/cosmos.authz.v1beta1.Query/GranterGrants", + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsRequest.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsResponse.FromString, + _registered_method=True, + ) self.GranteeGrants = channel.unary_unary( - '/cosmos.authz.v1beta1.Query/GranteeGrants', - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsRequest.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsResponse.FromString, - _registered_method=True) + "/cosmos.authz.v1beta1.Query/GranteeGrants", + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsRequest.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def Grants(self, request, context): - """Returns list of `Authorization`, granted to the grantee by the granter. - """ + """Returns list of `Authorization`, granted to the grantee by the granter.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GranterGrants(self, request, context): """GranterGrants returns list of `GrantAuthorization`, granted by granter. @@ -49,8 +49,8 @@ def GranterGrants(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GranteeGrants(self, request, context): """GranteeGrants returns a list of `GrantAuthorization` by grantee. @@ -58,54 +58,54 @@ def GranteeGrants(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Grants': grpc.unary_unary_rpc_method_handler( - servicer.Grants, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsRequest.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsResponse.SerializeToString, - ), - 'GranterGrants': grpc.unary_unary_rpc_method_handler( - servicer.GranterGrants, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsRequest.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsResponse.SerializeToString, - ), - 'GranteeGrants': grpc.unary_unary_rpc_method_handler( - servicer.GranteeGrants, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsRequest.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsResponse.SerializeToString, - ), + "Grants": grpc.unary_unary_rpc_method_handler( + servicer.Grants, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsRequest.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsResponse.SerializeToString, + ), + "GranterGrants": grpc.unary_unary_rpc_method_handler( + servicer.GranterGrants, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsRequest.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsResponse.SerializeToString, + ), + "GranteeGrants": grpc.unary_unary_rpc_method_handler( + servicer.GranteeGrants, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsRequest.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.authz.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.authz.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.authz.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.authz.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" @staticmethod - def Grants(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Grants( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.authz.v1beta1.Query/Grants', + "/cosmos.authz.v1beta1.Query/Grants", cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsRequest.SerializeToString, cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsResponse.FromString, options, @@ -116,23 +116,26 @@ def Grants(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GranterGrants(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GranterGrants( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.authz.v1beta1.Query/GranterGrants', + "/cosmos.authz.v1beta1.Query/GranterGrants", cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsRequest.SerializeToString, cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsResponse.FromString, options, @@ -143,23 +146,26 @@ def GranterGrants(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GranteeGrants(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GranteeGrants( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.authz.v1beta1.Query/GranteeGrants', + "/cosmos.authz.v1beta1.Query/GranteeGrants", cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsRequest.SerializeToString, cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsResponse.FromString, options, @@ -170,4 +176,5 @@ def GranteeGrants(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py index b9448c92..72c0d37b 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -20,56 +21,60 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/authz/v1beta1/tx.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xd6\x01\n\x08MsgGrant\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12<\n\x05grant\x18\x03 \x01(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05grant:$\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x13\x63osmos-sdk/MsgGrant\"\x12\n\x10MsgGrantResponse\"\xa9\x01\n\x07MsgExec\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x45\n\x04msgs\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x1b\xca\xb4-\x17\x63osmos.base.v1beta1.MsgR\x04msgs:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec\"+\n\x0fMsgExecResponse\x12\x18\n\x07results\x18\x01 \x03(\x0cR\x07results\"\xbc\x01\n\tMsgRevoke\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12 \n\x0cmsg_type_url\x18\x03 \x01(\tR\nmsgTypeUrl:%\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgRevoke\"\x13\n\x11MsgRevokeResponse\"1\n\x15MsgExecCompatResponse\x12\x18\n\x07results\x18\x01 \x03(\x0cR\x07results\"|\n\rMsgExecCompat\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x12\n\x04msgs\x18\x02 \x03(\tR\x04msgs:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec2\xdf\x02\n\x03Msg\x12O\n\x05Grant\x12\x1e.cosmos.authz.v1beta1.MsgGrant\x1a&.cosmos.authz.v1beta1.MsgGrantResponse\x12L\n\x04\x45xec\x12\x1d.cosmos.authz.v1beta1.MsgExec\x1a%.cosmos.authz.v1beta1.MsgExecResponse\x12R\n\x06Revoke\x12\x1f.cosmos.authz.v1beta1.MsgRevoke\x1a\'.cosmos.authz.v1beta1.MsgRevokeResponse\x12^\n\nExecCompat\x12#.cosmos.authz.v1beta1.MsgExecCompat\x1a+.cosmos.authz.v1beta1.MsgExecCompatResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbf\x01\n\x18\x63om.cosmos.authz.v1beta1B\x07TxProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1d\x63osmos/authz/v1beta1/tx.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xd6\x01\n\x08MsgGrant\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12<\n\x05grant\x18\x03 \x01(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05grant:$\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x13\x63osmos-sdk/MsgGrant"\x12\n\x10MsgGrantResponse"\xa9\x01\n\x07MsgExec\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x45\n\x04msgs\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x1b\xca\xb4-\x17\x63osmos.base.v1beta1.MsgR\x04msgs:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec"+\n\x0fMsgExecResponse\x12\x18\n\x07results\x18\x01 \x03(\x0cR\x07results"\xbc\x01\n\tMsgRevoke\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12 \n\x0cmsg_type_url\x18\x03 \x01(\tR\nmsgTypeUrl:%\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgRevoke"\x13\n\x11MsgRevokeResponse"1\n\x15MsgExecCompatResponse\x12\x18\n\x07results\x18\x01 \x03(\x0cR\x07results"|\n\rMsgExecCompat\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x12\n\x04msgs\x18\x02 \x03(\tR\x04msgs:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec2\xdf\x02\n\x03Msg\x12O\n\x05Grant\x12\x1e.cosmos.authz.v1beta1.MsgGrant\x1a&.cosmos.authz.v1beta1.MsgGrantResponse\x12L\n\x04\x45xec\x12\x1d.cosmos.authz.v1beta1.MsgExec\x1a%.cosmos.authz.v1beta1.MsgExecResponse\x12R\n\x06Revoke\x12\x1f.cosmos.authz.v1beta1.MsgRevoke\x1a\'.cosmos.authz.v1beta1.MsgRevokeResponse\x12^\n\nExecCompat\x12#.cosmos.authz.v1beta1.MsgExecCompat\x1a+.cosmos.authz.v1beta1.MsgExecCompatResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbf\x01\n\x18\x63om.cosmos.authz.v1beta1B\x07TxProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.authz.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\007TxProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1\310\341\036\000' - _globals['_MSGGRANT'].fields_by_name['granter']._loaded_options = None - _globals['_MSGGRANT'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGGRANT'].fields_by_name['grantee']._loaded_options = None - _globals['_MSGGRANT'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGGRANT'].fields_by_name['grant']._loaded_options = None - _globals['_MSGGRANT'].fields_by_name['grant']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGGRANT']._loaded_options = None - _globals['_MSGGRANT']._serialized_options = b'\202\347\260*\007granter\212\347\260*\023cosmos-sdk/MsgGrant' - _globals['_MSGEXEC'].fields_by_name['grantee']._loaded_options = None - _globals['_MSGEXEC'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGEXEC'].fields_by_name['msgs']._loaded_options = None - _globals['_MSGEXEC'].fields_by_name['msgs']._serialized_options = b'\312\264-\027cosmos.base.v1beta1.Msg' - _globals['_MSGEXEC']._loaded_options = None - _globals['_MSGEXEC']._serialized_options = b'\202\347\260*\007grantee\212\347\260*\022cosmos-sdk/MsgExec' - _globals['_MSGREVOKE'].fields_by_name['granter']._loaded_options = None - _globals['_MSGREVOKE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGREVOKE'].fields_by_name['grantee']._loaded_options = None - _globals['_MSGREVOKE'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGREVOKE']._loaded_options = None - _globals['_MSGREVOKE']._serialized_options = b'\202\347\260*\007granter\212\347\260*\024cosmos-sdk/MsgRevoke' - _globals['_MSGEXECCOMPAT'].fields_by_name['grantee']._loaded_options = None - _globals['_MSGEXECCOMPAT'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGEXECCOMPAT']._loaded_options = None - _globals['_MSGEXECCOMPAT']._serialized_options = b'\202\347\260*\007grantee\212\347\260*\022cosmos-sdk/MsgExec' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGGRANT']._serialized_start=210 - _globals['_MSGGRANT']._serialized_end=424 - _globals['_MSGGRANTRESPONSE']._serialized_start=426 - _globals['_MSGGRANTRESPONSE']._serialized_end=444 - _globals['_MSGEXEC']._serialized_start=447 - _globals['_MSGEXEC']._serialized_end=616 - _globals['_MSGEXECRESPONSE']._serialized_start=618 - _globals['_MSGEXECRESPONSE']._serialized_end=661 - _globals['_MSGREVOKE']._serialized_start=664 - _globals['_MSGREVOKE']._serialized_end=852 - _globals['_MSGREVOKERESPONSE']._serialized_start=854 - _globals['_MSGREVOKERESPONSE']._serialized_end=873 - _globals['_MSGEXECCOMPATRESPONSE']._serialized_start=875 - _globals['_MSGEXECCOMPATRESPONSE']._serialized_end=924 - _globals['_MSGEXECCOMPAT']._serialized_start=926 - _globals['_MSGEXECCOMPAT']._serialized_end=1050 - _globals['_MSG']._serialized_start=1053 - _globals['_MSG']._serialized_end=1404 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\030com.cosmos.authz.v1beta1B\007TxProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1\310\341\036\000" + ) + _globals["_MSGGRANT"].fields_by_name["granter"]._loaded_options = None + _globals["_MSGGRANT"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGGRANT"].fields_by_name["grantee"]._loaded_options = None + _globals["_MSGGRANT"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGGRANT"].fields_by_name["grant"]._loaded_options = None + _globals["_MSGGRANT"].fields_by_name["grant"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGGRANT"]._loaded_options = None + _globals["_MSGGRANT"]._serialized_options = b"\202\347\260*\007granter\212\347\260*\023cosmos-sdk/MsgGrant" + _globals["_MSGEXEC"].fields_by_name["grantee"]._loaded_options = None + _globals["_MSGEXEC"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGEXEC"].fields_by_name["msgs"]._loaded_options = None + _globals["_MSGEXEC"].fields_by_name["msgs"]._serialized_options = b"\312\264-\027cosmos.base.v1beta1.Msg" + _globals["_MSGEXEC"]._loaded_options = None + _globals["_MSGEXEC"]._serialized_options = b"\202\347\260*\007grantee\212\347\260*\022cosmos-sdk/MsgExec" + _globals["_MSGREVOKE"].fields_by_name["granter"]._loaded_options = None + _globals["_MSGREVOKE"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGREVOKE"].fields_by_name["grantee"]._loaded_options = None + _globals["_MSGREVOKE"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGREVOKE"]._loaded_options = None + _globals["_MSGREVOKE"]._serialized_options = b"\202\347\260*\007granter\212\347\260*\024cosmos-sdk/MsgRevoke" + _globals["_MSGEXECCOMPAT"].fields_by_name["grantee"]._loaded_options = None + _globals["_MSGEXECCOMPAT"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGEXECCOMPAT"]._loaded_options = None + _globals["_MSGEXECCOMPAT"]._serialized_options = b"\202\347\260*\007grantee\212\347\260*\022cosmos-sdk/MsgExec" + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGGRANT"]._serialized_start = 210 + _globals["_MSGGRANT"]._serialized_end = 424 + _globals["_MSGGRANTRESPONSE"]._serialized_start = 426 + _globals["_MSGGRANTRESPONSE"]._serialized_end = 444 + _globals["_MSGEXEC"]._serialized_start = 447 + _globals["_MSGEXEC"]._serialized_end = 616 + _globals["_MSGEXECRESPONSE"]._serialized_start = 618 + _globals["_MSGEXECRESPONSE"]._serialized_end = 661 + _globals["_MSGREVOKE"]._serialized_start = 664 + _globals["_MSGREVOKE"]._serialized_end = 852 + _globals["_MSGREVOKERESPONSE"]._serialized_start = 854 + _globals["_MSGREVOKERESPONSE"]._serialized_end = 873 + _globals["_MSGEXECCOMPATRESPONSE"]._serialized_start = 875 + _globals["_MSGEXECCOMPATRESPONSE"]._serialized_end = 924 + _globals["_MSGEXECCOMPAT"]._serialized_start = 926 + _globals["_MSGEXECCOMPAT"]._serialized_end = 1050 + _globals["_MSG"]._serialized_start = 1053 + _globals["_MSG"]._serialized_end = 1404 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py index 2a2458a1..572b674f 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the authz Msg service. - """ + """Msg defines the authz Msg service.""" def __init__(self, channel): """Constructor. @@ -16,30 +15,33 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Grant = channel.unary_unary( - '/cosmos.authz.v1beta1.Msg/Grant', - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrant.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrantResponse.FromString, - _registered_method=True) + "/cosmos.authz.v1beta1.Msg/Grant", + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrant.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrantResponse.FromString, + _registered_method=True, + ) self.Exec = channel.unary_unary( - '/cosmos.authz.v1beta1.Msg/Exec', - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExec.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecResponse.FromString, - _registered_method=True) + "/cosmos.authz.v1beta1.Msg/Exec", + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExec.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecResponse.FromString, + _registered_method=True, + ) self.Revoke = channel.unary_unary( - '/cosmos.authz.v1beta1.Msg/Revoke', - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.FromString, - _registered_method=True) + "/cosmos.authz.v1beta1.Msg/Revoke", + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.FromString, + _registered_method=True, + ) self.ExecCompat = channel.unary_unary( - '/cosmos.authz.v1beta1.Msg/ExecCompat', - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.FromString, - _registered_method=True) + "/cosmos.authz.v1beta1.Msg/ExecCompat", + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the authz Msg service. - """ + """Msg defines the authz Msg service.""" def Grant(self, request, context): """Grant grants the provided authorization to the grantee on the granter's @@ -48,8 +50,8 @@ def Grant(self, request, context): will be overwritten. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Exec(self, request, context): """Exec attempts to execute the provided messages using @@ -57,74 +59,73 @@ def Exec(self, request, context): one signer corresponding to the granter of the authorization. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Revoke(self, request, context): """Revoke revokes any authorization corresponding to the provided method name on the granter's account that has been granted to the grantee. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ExecCompat(self, request, context): - """ExecCompat has same functionality as Exec but accepts array of json-encoded message string instead of []*Any - """ + """ExecCompat has same functionality as Exec but accepts array of json-encoded message string instead of []*Any""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'Grant': grpc.unary_unary_rpc_method_handler( - servicer.Grant, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrant.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrantResponse.SerializeToString, - ), - 'Exec': grpc.unary_unary_rpc_method_handler( - servicer.Exec, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExec.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecResponse.SerializeToString, - ), - 'Revoke': grpc.unary_unary_rpc_method_handler( - servicer.Revoke, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.SerializeToString, - ), - 'ExecCompat': grpc.unary_unary_rpc_method_handler( - servicer.ExecCompat, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.SerializeToString, - ), + "Grant": grpc.unary_unary_rpc_method_handler( + servicer.Grant, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrant.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrantResponse.SerializeToString, + ), + "Exec": grpc.unary_unary_rpc_method_handler( + servicer.Exec, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExec.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecResponse.SerializeToString, + ), + "Revoke": grpc.unary_unary_rpc_method_handler( + servicer.Revoke, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.SerializeToString, + ), + "ExecCompat": grpc.unary_unary_rpc_method_handler( + servicer.ExecCompat, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.authz.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.authz.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.authz.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.authz.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the authz Msg service. - """ + """Msg defines the authz Msg service.""" @staticmethod - def Grant(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Grant( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.authz.v1beta1.Msg/Grant', + "/cosmos.authz.v1beta1.Msg/Grant", cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrant.SerializeToString, cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrantResponse.FromString, options, @@ -135,23 +136,26 @@ def Grant(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Exec(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Exec( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.authz.v1beta1.Msg/Exec', + "/cosmos.authz.v1beta1.Msg/Exec", cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExec.SerializeToString, cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecResponse.FromString, options, @@ -162,23 +166,26 @@ def Exec(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Revoke(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Revoke( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.authz.v1beta1.Msg/Revoke', + "/cosmos.authz.v1beta1.Msg/Revoke", cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.SerializeToString, cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.FromString, options, @@ -189,23 +196,26 @@ def Revoke(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ExecCompat(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ExecCompat( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.authz.v1beta1.Msg/ExecCompat', + "/cosmos.authz.v1beta1.Msg/ExecCompat", cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.SerializeToString, cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.FromString, options, @@ -216,4 +226,5 @@ def ExecCompat(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/autocli/v1/options_pb2.py b/pyinjective/proto/cosmos/autocli/v1/options_pb2.py index aa7f36c8..49654c30 100644 --- a/pyinjective/proto/cosmos/autocli/v1/options_pb2.py +++ b/pyinjective/proto/cosmos/autocli/v1/options_pb2.py @@ -7,37 +7,40 @@ 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\x1f\x63osmos/autocli/v1/options.proto\x12\x11\x63osmos.autocli.v1\"\x8f\x01\n\rModuleOptions\x12;\n\x02tx\x18\x01 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x02tx\x12\x41\n\x05query\x18\x02 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x05query\"\xd8\x02\n\x18ServiceCommandDescriptor\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12T\n\x13rpc_command_options\x18\x02 \x03(\x0b\x32$.cosmos.autocli.v1.RpcCommandOptionsR\x11rpcCommandOptions\x12_\n\x0csub_commands\x18\x03 \x03(\x0b\x32<.cosmos.autocli.v1.ServiceCommandDescriptor.SubCommandsEntryR\x0bsubCommands\x1ak\n\x10SubCommandsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x05value:\x02\x38\x01\"\x9c\x04\n\x11RpcCommandOptions\x12\x1d\n\nrpc_method\x18\x01 \x01(\tR\trpcMethod\x12\x10\n\x03use\x18\x02 \x01(\tR\x03use\x12\x12\n\x04long\x18\x03 \x01(\tR\x04long\x12\x14\n\x05short\x18\x04 \x01(\tR\x05short\x12\x18\n\x07\x65xample\x18\x05 \x01(\tR\x07\x65xample\x12\x14\n\x05\x61lias\x18\x06 \x03(\tR\x05\x61lias\x12\x1f\n\x0bsuggest_for\x18\x07 \x03(\tR\nsuggestFor\x12\x1e\n\ndeprecated\x18\x08 \x01(\tR\ndeprecated\x12\x18\n\x07version\x18\t \x01(\tR\x07version\x12X\n\x0c\x66lag_options\x18\n \x03(\x0b\x32\x35.cosmos.autocli.v1.RpcCommandOptions.FlagOptionsEntryR\x0b\x66lagOptions\x12S\n\x0fpositional_args\x18\x0b \x03(\x0b\x32*.cosmos.autocli.v1.PositionalArgDescriptorR\x0epositionalArgs\x12\x12\n\x04skip\x18\x0c \x01(\x08R\x04skip\x1a^\n\x10\x46lagOptionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32\x1e.cosmos.autocli.v1.FlagOptionsR\x05value:\x02\x38\x01\"\xe5\x01\n\x0b\x46lagOptions\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n\tshorthand\x18\x02 \x01(\tR\tshorthand\x12\x14\n\x05usage\x18\x03 \x01(\tR\x05usage\x12#\n\rdefault_value\x18\x04 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x12\x1e\n\ndeprecated\x18\x06 \x01(\tR\ndeprecated\x12\x31\n\x14shorthand_deprecated\x18\x07 \x01(\tR\x13shorthandDeprecated\x12\x16\n\x06hidden\x18\x08 \x01(\x08R\x06hidden\"T\n\x17PositionalArgDescriptor\x12\x1f\n\x0bproto_field\x18\x01 \x01(\tR\nprotoField\x12\x18\n\x07varargs\x18\x02 \x01(\x08R\x07varargsB\xb6\x01\n\x15\x63om.cosmos.autocli.v1B\x0cOptionsProtoP\x01Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\xa2\x02\x03\x43\x41X\xaa\x02\x11\x43osmos.Autocli.V1\xca\x02\x11\x43osmos\\Autocli\\V1\xe2\x02\x1d\x43osmos\\Autocli\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Autocli::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1f\x63osmos/autocli/v1/options.proto\x12\x11\x63osmos.autocli.v1"\x8f\x01\n\rModuleOptions\x12;\n\x02tx\x18\x01 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x02tx\x12\x41\n\x05query\x18\x02 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x05query"\xd8\x02\n\x18ServiceCommandDescriptor\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12T\n\x13rpc_command_options\x18\x02 \x03(\x0b\x32$.cosmos.autocli.v1.RpcCommandOptionsR\x11rpcCommandOptions\x12_\n\x0csub_commands\x18\x03 \x03(\x0b\x32<.cosmos.autocli.v1.ServiceCommandDescriptor.SubCommandsEntryR\x0bsubCommands\x1ak\n\x10SubCommandsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x05value:\x02\x38\x01"\x9c\x04\n\x11RpcCommandOptions\x12\x1d\n\nrpc_method\x18\x01 \x01(\tR\trpcMethod\x12\x10\n\x03use\x18\x02 \x01(\tR\x03use\x12\x12\n\x04long\x18\x03 \x01(\tR\x04long\x12\x14\n\x05short\x18\x04 \x01(\tR\x05short\x12\x18\n\x07\x65xample\x18\x05 \x01(\tR\x07\x65xample\x12\x14\n\x05\x61lias\x18\x06 \x03(\tR\x05\x61lias\x12\x1f\n\x0bsuggest_for\x18\x07 \x03(\tR\nsuggestFor\x12\x1e\n\ndeprecated\x18\x08 \x01(\tR\ndeprecated\x12\x18\n\x07version\x18\t \x01(\tR\x07version\x12X\n\x0c\x66lag_options\x18\n \x03(\x0b\x32\x35.cosmos.autocli.v1.RpcCommandOptions.FlagOptionsEntryR\x0b\x66lagOptions\x12S\n\x0fpositional_args\x18\x0b \x03(\x0b\x32*.cosmos.autocli.v1.PositionalArgDescriptorR\x0epositionalArgs\x12\x12\n\x04skip\x18\x0c \x01(\x08R\x04skip\x1a^\n\x10\x46lagOptionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32\x1e.cosmos.autocli.v1.FlagOptionsR\x05value:\x02\x38\x01"\xe5\x01\n\x0b\x46lagOptions\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n\tshorthand\x18\x02 \x01(\tR\tshorthand\x12\x14\n\x05usage\x18\x03 \x01(\tR\x05usage\x12#\n\rdefault_value\x18\x04 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x12\x1e\n\ndeprecated\x18\x06 \x01(\tR\ndeprecated\x12\x31\n\x14shorthand_deprecated\x18\x07 \x01(\tR\x13shorthandDeprecated\x12\x16\n\x06hidden\x18\x08 \x01(\x08R\x06hidden"T\n\x17PositionalArgDescriptor\x12\x1f\n\x0bproto_field\x18\x01 \x01(\tR\nprotoField\x12\x18\n\x07varargs\x18\x02 \x01(\x08R\x07varargsB\xb6\x01\n\x15\x63om.cosmos.autocli.v1B\x0cOptionsProtoP\x01Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\xa2\x02\x03\x43\x41X\xaa\x02\x11\x43osmos.Autocli.V1\xca\x02\x11\x43osmos\\Autocli\\V1\xe2\x02\x1d\x43osmos\\Autocli\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Autocli::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.autocli.v1.options_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.autocli.v1.options_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.autocli.v1B\014OptionsProtoP\001Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\242\002\003CAX\252\002\021Cosmos.Autocli.V1\312\002\021Cosmos\\Autocli\\V1\342\002\035Cosmos\\Autocli\\V1\\GPBMetadata\352\002\023Cosmos::Autocli::V1' - _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._loaded_options = None - _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._serialized_options = b'8\001' - _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._loaded_options = None - _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._serialized_options = b'8\001' - _globals['_MODULEOPTIONS']._serialized_start=55 - _globals['_MODULEOPTIONS']._serialized_end=198 - _globals['_SERVICECOMMANDDESCRIPTOR']._serialized_start=201 - _globals['_SERVICECOMMANDDESCRIPTOR']._serialized_end=545 - _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._serialized_start=438 - _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._serialized_end=545 - _globals['_RPCCOMMANDOPTIONS']._serialized_start=548 - _globals['_RPCCOMMANDOPTIONS']._serialized_end=1088 - _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._serialized_start=994 - _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._serialized_end=1088 - _globals['_FLAGOPTIONS']._serialized_start=1091 - _globals['_FLAGOPTIONS']._serialized_end=1320 - _globals['_POSITIONALARGDESCRIPTOR']._serialized_start=1322 - _globals['_POSITIONALARGDESCRIPTOR']._serialized_end=1406 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\025com.cosmos.autocli.v1B\014OptionsProtoP\001Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\242\002\003CAX\252\002\021Cosmos.Autocli.V1\312\002\021Cosmos\\Autocli\\V1\342\002\035Cosmos\\Autocli\\V1\\GPBMetadata\352\002\023Cosmos::Autocli::V1" + ) + _globals["_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY"]._loaded_options = None + _globals["_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY"]._serialized_options = b"8\001" + _globals["_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY"]._loaded_options = None + _globals["_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY"]._serialized_options = b"8\001" + _globals["_MODULEOPTIONS"]._serialized_start = 55 + _globals["_MODULEOPTIONS"]._serialized_end = 198 + _globals["_SERVICECOMMANDDESCRIPTOR"]._serialized_start = 201 + _globals["_SERVICECOMMANDDESCRIPTOR"]._serialized_end = 545 + _globals["_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY"]._serialized_start = 438 + _globals["_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY"]._serialized_end = 545 + _globals["_RPCCOMMANDOPTIONS"]._serialized_start = 548 + _globals["_RPCCOMMANDOPTIONS"]._serialized_end = 1088 + _globals["_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY"]._serialized_start = 994 + _globals["_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY"]._serialized_end = 1088 + _globals["_FLAGOPTIONS"]._serialized_start = 1091 + _globals["_FLAGOPTIONS"]._serialized_end = 1320 + _globals["_POSITIONALARGDESCRIPTOR"]._serialized_start = 1322 + _globals["_POSITIONALARGDESCRIPTOR"]._serialized_end = 1406 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/autocli/v1/options_pb2_grpc.py b/pyinjective/proto/cosmos/autocli/v1/options_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/autocli/v1/options_pb2_grpc.py +++ b/pyinjective/proto/cosmos/autocli/v1/options_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/autocli/v1/query_pb2.py b/pyinjective/proto/cosmos/autocli/v1/query_pb2.py index f0971981..cfea4986 100644 --- a/pyinjective/proto/cosmos/autocli/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/autocli/v1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,24 +17,28 @@ from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/autocli/v1/query.proto\x12\x11\x63osmos.autocli.v1\x1a\x1f\x63osmos/autocli/v1/options.proto\x1a\x1b\x63osmos/query/v1/query.proto\"\x13\n\x11\x41ppOptionsRequest\"\xd9\x01\n\x12\x41ppOptionsResponse\x12_\n\x0emodule_options\x18\x01 \x03(\x0b\x32\x38.cosmos.autocli.v1.AppOptionsResponse.ModuleOptionsEntryR\rmoduleOptions\x1a\x62\n\x12ModuleOptionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32 .cosmos.autocli.v1.ModuleOptionsR\x05value:\x02\x38\x01\x32i\n\x05Query\x12`\n\nAppOptions\x12$.cosmos.autocli.v1.AppOptionsRequest\x1a%.cosmos.autocli.v1.AppOptionsResponse\"\x05\x88\xe7\xb0*\x00\x42\xb4\x01\n\x15\x63om.cosmos.autocli.v1B\nQueryProtoP\x01Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\xa2\x02\x03\x43\x41X\xaa\x02\x11\x43osmos.Autocli.V1\xca\x02\x11\x43osmos\\Autocli\\V1\xe2\x02\x1d\x43osmos\\Autocli\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Autocli::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1d\x63osmos/autocli/v1/query.proto\x12\x11\x63osmos.autocli.v1\x1a\x1f\x63osmos/autocli/v1/options.proto\x1a\x1b\x63osmos/query/v1/query.proto"\x13\n\x11\x41ppOptionsRequest"\xd9\x01\n\x12\x41ppOptionsResponse\x12_\n\x0emodule_options\x18\x01 \x03(\x0b\x32\x38.cosmos.autocli.v1.AppOptionsResponse.ModuleOptionsEntryR\rmoduleOptions\x1a\x62\n\x12ModuleOptionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32 .cosmos.autocli.v1.ModuleOptionsR\x05value:\x02\x38\x01\x32i\n\x05Query\x12`\n\nAppOptions\x12$.cosmos.autocli.v1.AppOptionsRequest\x1a%.cosmos.autocli.v1.AppOptionsResponse"\x05\x88\xe7\xb0*\x00\x42\xb4\x01\n\x15\x63om.cosmos.autocli.v1B\nQueryProtoP\x01Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\xa2\x02\x03\x43\x41X\xaa\x02\x11\x43osmos.Autocli.V1\xca\x02\x11\x43osmos\\Autocli\\V1\xe2\x02\x1d\x43osmos\\Autocli\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Autocli::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.autocli.v1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.autocli.v1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.autocli.v1B\nQueryProtoP\001Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\242\002\003CAX\252\002\021Cosmos.Autocli.V1\312\002\021Cosmos\\Autocli\\V1\342\002\035Cosmos\\Autocli\\V1\\GPBMetadata\352\002\023Cosmos::Autocli::V1' - _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._loaded_options = None - _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._serialized_options = b'8\001' - _globals['_QUERY'].methods_by_name['AppOptions']._loaded_options = None - _globals['_QUERY'].methods_by_name['AppOptions']._serialized_options = b'\210\347\260*\000' - _globals['_APPOPTIONSREQUEST']._serialized_start=114 - _globals['_APPOPTIONSREQUEST']._serialized_end=133 - _globals['_APPOPTIONSRESPONSE']._serialized_start=136 - _globals['_APPOPTIONSRESPONSE']._serialized_end=353 - _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._serialized_start=255 - _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._serialized_end=353 - _globals['_QUERY']._serialized_start=355 - _globals['_QUERY']._serialized_end=460 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\025com.cosmos.autocli.v1B\nQueryProtoP\001Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\242\002\003CAX\252\002\021Cosmos.Autocli.V1\312\002\021Cosmos\\Autocli\\V1\342\002\035Cosmos\\Autocli\\V1\\GPBMetadata\352\002\023Cosmos::Autocli::V1" + ) + _globals["_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY"]._loaded_options = None + _globals["_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY"]._serialized_options = b"8\001" + _globals["_QUERY"].methods_by_name["AppOptions"]._loaded_options = None + _globals["_QUERY"].methods_by_name["AppOptions"]._serialized_options = b"\210\347\260*\000" + _globals["_APPOPTIONSREQUEST"]._serialized_start = 114 + _globals["_APPOPTIONSREQUEST"]._serialized_end = 133 + _globals["_APPOPTIONSRESPONSE"]._serialized_start = 136 + _globals["_APPOPTIONSRESPONSE"]._serialized_end = 353 + _globals["_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY"]._serialized_start = 255 + _globals["_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY"]._serialized_end = 353 + _globals["_QUERY"]._serialized_start = 355 + _globals["_QUERY"]._serialized_end = 460 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/autocli/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/autocli/v1/query_pb2_grpc.py index 989a8356..a0fe1c24 100644 --- a/pyinjective/proto/cosmos/autocli/v1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/autocli/v1/query_pb2_grpc.py @@ -17,10 +17,11 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.AppOptions = channel.unary_unary( - '/cosmos.autocli.v1.Query/AppOptions', - request_serializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsRequest.SerializeToString, - response_deserializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsResponse.FromString, - _registered_method=True) + "/cosmos.autocli.v1.Query/AppOptions", + request_serializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsRequest.SerializeToString, + response_deserializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): @@ -29,48 +30,48 @@ class QueryServicer(object): """ def AppOptions(self, request, context): - """AppOptions returns the autocli options for all of the modules in an app. - """ + """AppOptions returns the autocli options for all of the modules in an app.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'AppOptions': grpc.unary_unary_rpc_method_handler( - servicer.AppOptions, - request_deserializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsRequest.FromString, - response_serializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsResponse.SerializeToString, - ), + "AppOptions": grpc.unary_unary_rpc_method_handler( + servicer.AppOptions, + request_deserializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsRequest.FromString, + response_serializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.autocli.v1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.autocli.v1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.autocli.v1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.autocli.v1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): """RemoteInfoService provides clients with the information they need to build dynamically CLI clients for remote chains. """ @staticmethod - def AppOptions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AppOptions( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.autocli.v1.Query/AppOptions', + "/cosmos.autocli.v1.Query/AppOptions", cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsRequest.SerializeToString, cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsResponse.FromString, options, @@ -81,4 +82,5 @@ def AppOptions(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py b/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py index 5032c046..c16a721a 100644 --- a/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/bank/module/v1/module.proto\x12\x15\x63osmos.bank.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\xcb\x01\n\x06Module\x12G\n blocked_module_accounts_override\x18\x01 \x03(\tR\x1d\x62lockedModuleAccountsOverride\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority\x12-\n\x12restrictions_order\x18\x03 \x03(\tR\x11restrictionsOrder:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/bankB\x9f\x01\n\x19\x63om.cosmos.bank.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x42M\xaa\x02\x15\x43osmos.Bank.Module.V1\xca\x02\x15\x43osmos\\Bank\\Module\\V1\xe2\x02!Cosmos\\Bank\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Bank::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n"cosmos/bank/module/v1/module.proto\x12\x15\x63osmos.bank.module.v1\x1a cosmos/app/v1alpha1/module.proto"\xcb\x01\n\x06Module\x12G\n blocked_module_accounts_override\x18\x01 \x03(\tR\x1d\x62lockedModuleAccountsOverride\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority\x12-\n\x12restrictions_order\x18\x03 \x03(\tR\x11restrictionsOrder:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/bankB\x9f\x01\n\x19\x63om.cosmos.bank.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x42M\xaa\x02\x15\x43osmos.Bank.Module.V1\xca\x02\x15\x43osmos\\Bank\\Module\\V1\xe2\x02!Cosmos\\Bank\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Bank::Module::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.bank.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.bank.module.v1B\013ModuleProtoP\001\242\002\003CBM\252\002\025Cosmos.Bank.Module.V1\312\002\025Cosmos\\Bank\\Module\\V1\342\002!Cosmos\\Bank\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Bank::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/bank' - _globals['_MODULE']._serialized_start=96 - _globals['_MODULE']._serialized_end=299 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\031com.cosmos.bank.module.v1B\013ModuleProtoP\001\242\002\003CBM\252\002\025Cosmos.Bank.Module.V1\312\002\025Cosmos\\Bank\\Module\\V1\342\002!Cosmos\\Bank\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Bank::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/bank" + _globals["_MODULE"]._serialized_start = 96 + _globals["_MODULE"]._serialized_end = 299 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/bank/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/bank/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/bank/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/bank/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py index 328fbbfb..7809b69b 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,20 +19,30 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/bank/v1beta1/authz.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x9a\x02\n\x11SendAuthorization\x12\x82\x01\n\x0bspend_limit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\nspendLimit\x12\x37\n\nallow_list\x18\x02 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tallowList:G\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1c\x63osmos-sdk/SendAuthorizationB\xbe\x01\n\x17\x63om.cosmos.bank.v1beta1B\nAuthzProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1f\x63osmos/bank/v1beta1/authz.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"\x9a\x02\n\x11SendAuthorization\x12\x82\x01\n\x0bspend_limit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\nspendLimit\x12\x37\n\nallow_list\x18\x02 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tallowList:G\xca\xb4-"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1c\x63osmos-sdk/SendAuthorizationB\xbe\x01\n\x17\x63om.cosmos.bank.v1beta1B\nAuthzProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.authz_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.bank.v1beta1.authz_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\nAuthzProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' - _globals['_SENDAUTHORIZATION'].fields_by_name['spend_limit']._loaded_options = None - _globals['_SENDAUTHORIZATION'].fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_SENDAUTHORIZATION'].fields_by_name['allow_list']._loaded_options = None - _globals['_SENDAUTHORIZATION'].fields_by_name['allow_list']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_SENDAUTHORIZATION']._loaded_options = None - _globals['_SENDAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\034cosmos-sdk/SendAuthorization' - _globals['_SENDAUTHORIZATION']._serialized_start=157 - _globals['_SENDAUTHORIZATION']._serialized_end=439 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.bank.v1beta1B\nAuthzProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1" + ) + _globals["_SENDAUTHORIZATION"].fields_by_name["spend_limit"]._loaded_options = None + _globals["_SENDAUTHORIZATION"].fields_by_name[ + "spend_limit" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_SENDAUTHORIZATION"].fields_by_name["allow_list"]._loaded_options = None + _globals["_SENDAUTHORIZATION"].fields_by_name[ + "allow_list" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_SENDAUTHORIZATION"]._loaded_options = None + _globals["_SENDAUTHORIZATION"]._serialized_options = ( + b'\312\264-"cosmos.authz.v1beta1.Authorization\212\347\260*\034cosmos-sdk/SendAuthorization' + ) + _globals["_SENDAUTHORIZATION"]._serialized_start = 157 + _globals["_SENDAUTHORIZATION"]._serialized_end = 439 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2_grpc.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/bank/v1beta1/bank_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py index 2e124c79..626f9af3 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,52 +20,64 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/bank/v1beta1/bank.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xa2\x01\n\x06Params\x12G\n\x0csend_enabled\x18\x01 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledB\x02\x18\x01R\x0bsendEnabled\x12\x30\n\x14\x64\x65\x66\x61ult_send_enabled\x18\x02 \x01(\x08R\x12\x64\x65\x66\x61ultSendEnabled:\x1d\x8a\xe7\xb0*\x18\x63osmos-sdk/x/bank/Params\"C\n\x0bSendEnabled\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x18\n\x07\x65nabled\x18\x02 \x01(\x08R\x07\x65nabled:\x04\xe8\xa0\x1f\x01\"\xca\x01\n\x05Input\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x14\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x07\x61\x64\x64ress\"\xbf\x01\n\x06Output\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xac\x01\n\x06Supply\x12w\n\x05total\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05total:)\x18\x01\x88\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1b\x63osmos.bank.v1beta1.SupplyI\"W\n\tDenomUnit\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1a\n\x08\x65xponent\x18\x02 \x01(\rR\x08\x65xponent\x12\x18\n\x07\x61liases\x18\x03 \x03(\tR\x07\x61liases\"\xa6\x02\n\x08Metadata\x12 \n\x0b\x64\x65scription\x18\x01 \x01(\tR\x0b\x64\x65scription\x12?\n\x0b\x64\x65nom_units\x18\x02 \x03(\x0b\x32\x1e.cosmos.bank.v1beta1.DenomUnitR\ndenomUnits\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x18\n\x07\x64isplay\x18\x04 \x01(\tR\x07\x64isplay\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x06 \x01(\tR\x06symbol\x12\x19\n\x03uri\x18\x07 \x01(\tB\x07\xe2\xde\x1f\x03URIR\x03uri\x12&\n\x08uri_hash\x18\x08 \x01(\tB\x0b\xe2\xde\x1f\x07URIHashR\x07uriHash\x12\x1a\n\x08\x64\x65\x63imals\x18\t \x01(\rR\x08\x64\x65\x63imalsB\xbd\x01\n\x17\x63om.cosmos.bank.v1beta1B\tBankProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1e\x63osmos/bank/v1beta1/bank.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xa2\x01\n\x06Params\x12G\n\x0csend_enabled\x18\x01 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledB\x02\x18\x01R\x0bsendEnabled\x12\x30\n\x14\x64\x65\x66\x61ult_send_enabled\x18\x02 \x01(\x08R\x12\x64\x65\x66\x61ultSendEnabled:\x1d\x8a\xe7\xb0*\x18\x63osmos-sdk/x/bank/Params"C\n\x0bSendEnabled\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x18\n\x07\x65nabled\x18\x02 \x01(\x08R\x07\x65nabled:\x04\xe8\xa0\x1f\x01"\xca\x01\n\x05Input\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x14\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x07\x61\x64\x64ress"\xbf\x01\n\x06Output\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xac\x01\n\x06Supply\x12w\n\x05total\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05total:)\x18\x01\x88\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1b\x63osmos.bank.v1beta1.SupplyI"W\n\tDenomUnit\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1a\n\x08\x65xponent\x18\x02 \x01(\rR\x08\x65xponent\x12\x18\n\x07\x61liases\x18\x03 \x03(\tR\x07\x61liases"\xa6\x02\n\x08Metadata\x12 \n\x0b\x64\x65scription\x18\x01 \x01(\tR\x0b\x64\x65scription\x12?\n\x0b\x64\x65nom_units\x18\x02 \x03(\x0b\x32\x1e.cosmos.bank.v1beta1.DenomUnitR\ndenomUnits\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x18\n\x07\x64isplay\x18\x04 \x01(\tR\x07\x64isplay\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x06 \x01(\tR\x06symbol\x12\x19\n\x03uri\x18\x07 \x01(\tB\x07\xe2\xde\x1f\x03URIR\x03uri\x12&\n\x08uri_hash\x18\x08 \x01(\tB\x0b\xe2\xde\x1f\x07URIHashR\x07uriHash\x12\x1a\n\x08\x64\x65\x63imals\x18\t \x01(\rR\x08\x64\x65\x63imalsB\xbd\x01\n\x17\x63om.cosmos.bank.v1beta1B\tBankProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.bank_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.bank.v1beta1.bank_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\tBankProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' - _globals['_PARAMS'].fields_by_name['send_enabled']._loaded_options = None - _globals['_PARAMS'].fields_by_name['send_enabled']._serialized_options = b'\030\001' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\212\347\260*\030cosmos-sdk/x/bank/Params' - _globals['_SENDENABLED']._loaded_options = None - _globals['_SENDENABLED']._serialized_options = b'\350\240\037\001' - _globals['_INPUT'].fields_by_name['address']._loaded_options = None - _globals['_INPUT'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_INPUT'].fields_by_name['coins']._loaded_options = None - _globals['_INPUT'].fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_INPUT']._loaded_options = None - _globals['_INPUT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\007address' - _globals['_OUTPUT'].fields_by_name['address']._loaded_options = None - _globals['_OUTPUT'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_OUTPUT'].fields_by_name['coins']._loaded_options = None - _globals['_OUTPUT'].fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_OUTPUT']._loaded_options = None - _globals['_OUTPUT']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_SUPPLY'].fields_by_name['total']._loaded_options = None - _globals['_SUPPLY'].fields_by_name['total']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_SUPPLY']._loaded_options = None - _globals['_SUPPLY']._serialized_options = b'\030\001\210\240\037\000\350\240\037\001\312\264-\033cosmos.bank.v1beta1.SupplyI' - _globals['_METADATA'].fields_by_name['uri']._loaded_options = None - _globals['_METADATA'].fields_by_name['uri']._serialized_options = b'\342\336\037\003URI' - _globals['_METADATA'].fields_by_name['uri_hash']._loaded_options = None - _globals['_METADATA'].fields_by_name['uri_hash']._serialized_options = b'\342\336\037\007URIHash' - _globals['_PARAMS']._serialized_start=181 - _globals['_PARAMS']._serialized_end=343 - _globals['_SENDENABLED']._serialized_start=345 - _globals['_SENDENABLED']._serialized_end=412 - _globals['_INPUT']._serialized_start=415 - _globals['_INPUT']._serialized_end=617 - _globals['_OUTPUT']._serialized_start=620 - _globals['_OUTPUT']._serialized_end=811 - _globals['_SUPPLY']._serialized_start=814 - _globals['_SUPPLY']._serialized_end=986 - _globals['_DENOMUNIT']._serialized_start=988 - _globals['_DENOMUNIT']._serialized_end=1075 - _globals['_METADATA']._serialized_start=1078 - _globals['_METADATA']._serialized_end=1372 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.bank.v1beta1B\tBankProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1" + ) + _globals["_PARAMS"].fields_by_name["send_enabled"]._loaded_options = None + _globals["_PARAMS"].fields_by_name["send_enabled"]._serialized_options = b"\030\001" + _globals["_PARAMS"]._loaded_options = None + _globals["_PARAMS"]._serialized_options = b"\212\347\260*\030cosmos-sdk/x/bank/Params" + _globals["_SENDENABLED"]._loaded_options = None + _globals["_SENDENABLED"]._serialized_options = b"\350\240\037\001" + _globals["_INPUT"].fields_by_name["address"]._loaded_options = None + _globals["_INPUT"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_INPUT"].fields_by_name["coins"]._loaded_options = None + _globals["_INPUT"].fields_by_name[ + "coins" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_INPUT"]._loaded_options = None + _globals["_INPUT"]._serialized_options = b"\210\240\037\000\350\240\037\000\202\347\260*\007address" + _globals["_OUTPUT"].fields_by_name["address"]._loaded_options = None + _globals["_OUTPUT"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_OUTPUT"].fields_by_name["coins"]._loaded_options = None + _globals["_OUTPUT"].fields_by_name[ + "coins" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_OUTPUT"]._loaded_options = None + _globals["_OUTPUT"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_SUPPLY"].fields_by_name["total"]._loaded_options = None + _globals["_SUPPLY"].fields_by_name[ + "total" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_SUPPLY"]._loaded_options = None + _globals["_SUPPLY"]._serialized_options = ( + b"\030\001\210\240\037\000\350\240\037\001\312\264-\033cosmos.bank.v1beta1.SupplyI" + ) + _globals["_METADATA"].fields_by_name["uri"]._loaded_options = None + _globals["_METADATA"].fields_by_name["uri"]._serialized_options = b"\342\336\037\003URI" + _globals["_METADATA"].fields_by_name["uri_hash"]._loaded_options = None + _globals["_METADATA"].fields_by_name["uri_hash"]._serialized_options = b"\342\336\037\007URIHash" + _globals["_PARAMS"]._serialized_start = 181 + _globals["_PARAMS"]._serialized_end = 343 + _globals["_SENDENABLED"]._serialized_start = 345 + _globals["_SENDENABLED"]._serialized_end = 412 + _globals["_INPUT"]._serialized_start = 415 + _globals["_INPUT"]._serialized_end = 617 + _globals["_OUTPUT"]._serialized_start = 620 + _globals["_OUTPUT"]._serialized_end = 811 + _globals["_SUPPLY"]._serialized_start = 814 + _globals["_SUPPLY"]._serialized_end = 986 + _globals["_DENOMUNIT"]._serialized_start = 988 + _globals["_DENOMUNIT"]._serialized_end = 1075 + _globals["_METADATA"]._serialized_start = 1078 + _globals["_METADATA"]._serialized_end = 1372 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2_grpc.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/bank/v1beta1/events_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py index 3dfa3a71..7f77f8e6 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,18 +18,26 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/bank/v1beta1/events.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"_\n\x10\x45ventSetBalances\x12K\n\x0f\x62\x61lance_updates\x18\x01 \x03(\x0b\x32\".cosmos.bank.v1beta1.BalanceUpdateR\x0e\x62\x61lanceUpdates\"}\n\rBalanceUpdate\x12\x12\n\x04\x61\x64\x64r\x18\x01 \x01(\x0cR\x04\x61\x64\x64r\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\x0cR\x05\x64\x65nom\x12\x42\n\x03\x61mt\x18\x03 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x03\x61mtB\xbf\x01\n\x17\x63om.cosmos.bank.v1beta1B\x0b\x45ventsProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n cosmos/bank/v1beta1/events.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto"_\n\x10\x45ventSetBalances\x12K\n\x0f\x62\x61lance_updates\x18\x01 \x03(\x0b\x32".cosmos.bank.v1beta1.BalanceUpdateR\x0e\x62\x61lanceUpdates"}\n\rBalanceUpdate\x12\x12\n\x04\x61\x64\x64r\x18\x01 \x01(\x0cR\x04\x61\x64\x64r\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\x0cR\x05\x64\x65nom\x12\x42\n\x03\x61mt\x18\x03 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x03\x61mtB\xbf\x01\n\x17\x63om.cosmos.bank.v1beta1B\x0b\x45ventsProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.events_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.bank.v1beta1.events_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\013EventsProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' - _globals['_BALANCEUPDATE'].fields_by_name['amt']._loaded_options = None - _globals['_BALANCEUPDATE'].fields_by_name['amt']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001' - _globals['_EVENTSETBALANCES']._serialized_start=125 - _globals['_EVENTSETBALANCES']._serialized_end=220 - _globals['_BALANCEUPDATE']._serialized_start=222 - _globals['_BALANCEUPDATE']._serialized_end=347 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.bank.v1beta1B\013EventsProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1" + ) + _globals["_BALANCEUPDATE"].fields_by_name["amt"]._loaded_options = None + _globals["_BALANCEUPDATE"].fields_by_name[ + "amt" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001" + ) + _globals["_EVENTSETBALANCES"]._serialized_start = 125 + _globals["_EVENTSETBALANCES"]._serialized_end = 220 + _globals["_BALANCEUPDATE"]._serialized_start = 222 + _globals["_BALANCEUPDATE"]._serialized_end = 347 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/bank/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py index 9aae86fc..63cba28e 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,32 +20,42 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/bank/v1beta1/genesis.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xaf\x03\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12\x43\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x1c.cosmos.bank.v1beta1.BalanceB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12y\n\x06supply\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06supply\x12O\n\x0e\x64\x65nom_metadata\x18\x04 \x03(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdenomMetadata\x12N\n\x0csend_enabled\x18\x05 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0bsendEnabled\"\xc0\x01\n\x07\x42\x61lance\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xc0\x01\n\x17\x63om.cosmos.bank.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n!cosmos/bank/v1beta1/genesis.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\xaf\x03\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12\x43\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x1c.cosmos.bank.v1beta1.BalanceB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12y\n\x06supply\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06supply\x12O\n\x0e\x64\x65nom_metadata\x18\x04 \x03(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdenomMetadata\x12N\n\x0csend_enabled\x18\x05 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0bsendEnabled"\xc0\x01\n\x07\x42\x61lance\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xc0\x01\n\x17\x63om.cosmos.bank.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.bank.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['balances']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['supply']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['supply']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['denom_metadata']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['denom_metadata']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['send_enabled']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['send_enabled']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_BALANCE'].fields_by_name['address']._loaded_options = None - _globals['_BALANCE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_BALANCE'].fields_by_name['coins']._loaded_options = None - _globals['_BALANCE'].fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_BALANCE']._loaded_options = None - _globals['_BALANCE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_GENESISSTATE']._serialized_start=191 - _globals['_GENESISSTATE']._serialized_end=622 - _globals['_BALANCE']._serialized_start=625 - _globals['_BALANCE']._serialized_end=817 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.bank.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1" + ) + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["balances"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["balances"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["supply"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "supply" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["denom_metadata"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "denom_metadata" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["send_enabled"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["send_enabled"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_BALANCE"].fields_by_name["address"]._loaded_options = None + _globals["_BALANCE"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_BALANCE"].fields_by_name["coins"]._loaded_options = None + _globals["_BALANCE"].fields_by_name[ + "coins" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_BALANCE"]._loaded_options = None + _globals["_BALANCE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_GENESISSTATE"]._serialized_start = 191 + _globals["_GENESISSTATE"]._serialized_end = 622 + _globals["_BALANCE"]._serialized_start = 625 + _globals["_BALANCE"]._serialized_end = 817 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/bank/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py index 774ce07c..e5233aaa 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py @@ -7,12 +7,15 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 @@ -22,132 +25,192 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/bank/v1beta1/query.proto\x12\x13\x63osmos.bank.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x11\x61mino/amino.proto\"i\n\x13QueryBalanceRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"K\n\x14QueryBalanceResponse\x12\x33\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x07\x62\x61lance\"\xc4\x01\n\x17QueryAllBalancesRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12#\n\rresolve_denom\x18\x03 \x01(\x08R\x0cresolveDenom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe2\x01\n\x18QueryAllBalancesResponse\x12}\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xa5\x01\n\x1dQuerySpendableBalancesRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe8\x01\n\x1eQuerySpendableBalancesResponse\x12}\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"y\n#QuerySpendableBalanceByDenomRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"[\n$QuerySpendableBalanceByDenomResponse\x12\x33\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x07\x62\x61lance\"k\n\x17QueryTotalSupplyRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xde\x01\n\x18QueryTotalSupplyResponse\x12y\n\x06supply\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06supply\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\",\n\x14QuerySupplyOfRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"U\n\x15QuerySupplyOfResponse\x12<\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\"\x14\n\x12QueryParamsRequest\"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"d\n\x1aQueryDenomsMetadataRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xae\x01\n\x1bQueryDenomsMetadataResponse\x12\x46\n\tmetadatas\x18\x01 \x03(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tmetadatas\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"1\n\x19QueryDenomMetadataRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"b\n\x1aQueryDenomMetadataResponse\x12\x44\n\x08metadata\x18\x01 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08metadata\">\n&QueryDenomMetadataByQueryStringRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"o\n\'QueryDenomMetadataByQueryStringResponse\x12\x44\n\x08metadata\x18\x01 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08metadata\"w\n\x17QueryDenomOwnersRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x80\x01\n\nDenomOwner\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12>\n\x07\x62\x61lance\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x62\x61lance\"\xa7\x01\n\x18QueryDenomOwnersResponse\x12\x42\n\x0c\x64\x65nom_owners\x18\x01 \x03(\x0b\x32\x1f.cosmos.bank.v1beta1.DenomOwnerR\x0b\x64\x65nomOwners\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"~\n\x1eQueryDenomOwnersByQueryRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xae\x01\n\x1fQueryDenomOwnersByQueryResponse\x12\x42\n\x0c\x64\x65nom_owners\x18\x01 \x03(\x0b\x32\x1f.cosmos.bank.v1beta1.DenomOwnerR\x0b\x64\x65nomOwners\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"y\n\x17QuerySendEnabledRequest\x12\x16\n\x06\x64\x65noms\x18\x01 \x03(\tR\x06\x64\x65noms\x12\x46\n\npagination\x18\x63 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa8\x01\n\x18QuerySendEnabledResponse\x12\x43\n\x0csend_enabled\x18\x01 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledR\x0bsendEnabled\x12G\n\npagination\x18\x63 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xca\x11\n\x05Query\x12\x9d\x01\n\x07\x42\x61lance\x12(.cosmos.bank.v1beta1.QueryBalanceRequest\x1a).cosmos.bank.v1beta1.QueryBalanceResponse\"=\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/bank/v1beta1/balances/{address}/by_denom\x12\xa0\x01\n\x0b\x41llBalances\x12,.cosmos.bank.v1beta1.QueryAllBalancesRequest\x1a-.cosmos.bank.v1beta1.QueryAllBalancesResponse\"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/bank/v1beta1/balances/{address}\x12\xbc\x01\n\x11SpendableBalances\x12\x32.cosmos.bank.v1beta1.QuerySpendableBalancesRequest\x1a\x33.cosmos.bank.v1beta1.QuerySpendableBalancesResponse\">\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/bank/v1beta1/spendable_balances/{address}\x12\xd7\x01\n\x17SpendableBalanceByDenom\x12\x38.cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest\x1a\x39.cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse\"G\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02<\x12:/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom\x12\x94\x01\n\x0bTotalSupply\x12,.cosmos.bank.v1beta1.QueryTotalSupplyRequest\x1a-.cosmos.bank.v1beta1.QueryTotalSupplyResponse\"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/bank/v1beta1/supply\x12\x94\x01\n\x08SupplyOf\x12).cosmos.bank.v1beta1.QuerySupplyOfRequest\x1a*.cosmos.bank.v1beta1.QuerySupplyOfResponse\"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/bank/v1beta1/supply/by_denom\x12\x85\x01\n\x06Params\x12\'.cosmos.bank.v1beta1.QueryParamsRequest\x1a(.cosmos.bank.v1beta1.QueryParamsResponse\"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/bank/v1beta1/params\x12\xab\x01\n\rDenomMetadata\x12..cosmos.bank.v1beta1.QueryDenomMetadataRequest\x1a/.cosmos.bank.v1beta1.QueryDenomMetadataResponse\"9\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02.\x12,/cosmos/bank/v1beta1/denoms_metadata/{denom}\x12\xda\x01\n\x1a\x44\x65nomMetadataByQueryString\x12;.cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringRequest\x1a<.cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse\"A\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/bank/v1beta1/denoms_metadata_by_query_string\x12\xa6\x01\n\x0e\x44\x65nomsMetadata\x12/.cosmos.bank.v1beta1.QueryDenomsMetadataRequest\x1a\x30.cosmos.bank.v1beta1.QueryDenomsMetadataResponse\"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/bank/v1beta1/denoms_metadata\x12\xa2\x01\n\x0b\x44\x65nomOwners\x12,.cosmos.bank.v1beta1.QueryDenomOwnersRequest\x1a-.cosmos.bank.v1beta1.QueryDenomOwnersResponse\"6\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02+\x12)/cosmos/bank/v1beta1/denom_owners/{denom}\x12\xb8\x01\n\x12\x44\x65nomOwnersByQuery\x12\x33.cosmos.bank.v1beta1.QueryDenomOwnersByQueryRequest\x1a\x34.cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse\"7\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02,\x12*/cosmos/bank/v1beta1/denom_owners_by_query\x12\x9a\x01\n\x0bSendEnabled\x12,.cosmos.bank.v1beta1.QuerySendEnabledRequest\x1a-.cosmos.bank.v1beta1.QuerySendEnabledResponse\".\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02#\x12!/cosmos/bank/v1beta1/send_enabledB\xbe\x01\n\x17\x63om.cosmos.bank.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1f\x63osmos/bank/v1beta1/query.proto\x12\x13\x63osmos.bank.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x11\x61mino/amino.proto"i\n\x13QueryBalanceRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"K\n\x14QueryBalanceResponse\x12\x33\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x07\x62\x61lance"\xc4\x01\n\x17QueryAllBalancesRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12#\n\rresolve_denom\x18\x03 \x01(\x08R\x0cresolveDenom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xe2\x01\n\x18QueryAllBalancesResponse\x12}\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xa5\x01\n\x1dQuerySpendableBalancesRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xe8\x01\n\x1eQuerySpendableBalancesResponse\x12}\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"y\n#QuerySpendableBalanceByDenomRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"[\n$QuerySpendableBalanceByDenomResponse\x12\x33\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x07\x62\x61lance"k\n\x17QueryTotalSupplyRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xde\x01\n\x18QueryTotalSupplyResponse\x12y\n\x06supply\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06supply\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination",\n\x14QuerySupplyOfRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom"U\n\x15QuerySupplyOfResponse\x12<\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount"\x14\n\x12QueryParamsRequest"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params"d\n\x1aQueryDenomsMetadataRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xae\x01\n\x1bQueryDenomsMetadataResponse\x12\x46\n\tmetadatas\x18\x01 \x03(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tmetadatas\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"1\n\x19QueryDenomMetadataRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom"b\n\x1aQueryDenomMetadataResponse\x12\x44\n\x08metadata\x18\x01 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08metadata">\n&QueryDenomMetadataByQueryStringRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom"o\n\'QueryDenomMetadataByQueryStringResponse\x12\x44\n\x08metadata\x18\x01 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08metadata"w\n\x17QueryDenomOwnersRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x80\x01\n\nDenomOwner\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12>\n\x07\x62\x61lance\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x62\x61lance"\xa7\x01\n\x18QueryDenomOwnersResponse\x12\x42\n\x0c\x64\x65nom_owners\x18\x01 \x03(\x0b\x32\x1f.cosmos.bank.v1beta1.DenomOwnerR\x0b\x64\x65nomOwners\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"~\n\x1eQueryDenomOwnersByQueryRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xae\x01\n\x1fQueryDenomOwnersByQueryResponse\x12\x42\n\x0c\x64\x65nom_owners\x18\x01 \x03(\x0b\x32\x1f.cosmos.bank.v1beta1.DenomOwnerR\x0b\x64\x65nomOwners\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"y\n\x17QuerySendEnabledRequest\x12\x16\n\x06\x64\x65noms\x18\x01 \x03(\tR\x06\x64\x65noms\x12\x46\n\npagination\x18\x63 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xa8\x01\n\x18QuerySendEnabledResponse\x12\x43\n\x0csend_enabled\x18\x01 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledR\x0bsendEnabled\x12G\n\npagination\x18\x63 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xca\x11\n\x05Query\x12\x9d\x01\n\x07\x42\x61lance\x12(.cosmos.bank.v1beta1.QueryBalanceRequest\x1a).cosmos.bank.v1beta1.QueryBalanceResponse"=\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/bank/v1beta1/balances/{address}/by_denom\x12\xa0\x01\n\x0b\x41llBalances\x12,.cosmos.bank.v1beta1.QueryAllBalancesRequest\x1a-.cosmos.bank.v1beta1.QueryAllBalancesResponse"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/bank/v1beta1/balances/{address}\x12\xbc\x01\n\x11SpendableBalances\x12\x32.cosmos.bank.v1beta1.QuerySpendableBalancesRequest\x1a\x33.cosmos.bank.v1beta1.QuerySpendableBalancesResponse">\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/bank/v1beta1/spendable_balances/{address}\x12\xd7\x01\n\x17SpendableBalanceByDenom\x12\x38.cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest\x1a\x39.cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse"G\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02<\x12:/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom\x12\x94\x01\n\x0bTotalSupply\x12,.cosmos.bank.v1beta1.QueryTotalSupplyRequest\x1a-.cosmos.bank.v1beta1.QueryTotalSupplyResponse"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/bank/v1beta1/supply\x12\x94\x01\n\x08SupplyOf\x12).cosmos.bank.v1beta1.QuerySupplyOfRequest\x1a*.cosmos.bank.v1beta1.QuerySupplyOfResponse"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/bank/v1beta1/supply/by_denom\x12\x85\x01\n\x06Params\x12\'.cosmos.bank.v1beta1.QueryParamsRequest\x1a(.cosmos.bank.v1beta1.QueryParamsResponse"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/bank/v1beta1/params\x12\xab\x01\n\rDenomMetadata\x12..cosmos.bank.v1beta1.QueryDenomMetadataRequest\x1a/.cosmos.bank.v1beta1.QueryDenomMetadataResponse"9\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02.\x12,/cosmos/bank/v1beta1/denoms_metadata/{denom}\x12\xda\x01\n\x1a\x44\x65nomMetadataByQueryString\x12;.cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringRequest\x1a<.cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse"A\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/bank/v1beta1/denoms_metadata_by_query_string\x12\xa6\x01\n\x0e\x44\x65nomsMetadata\x12/.cosmos.bank.v1beta1.QueryDenomsMetadataRequest\x1a\x30.cosmos.bank.v1beta1.QueryDenomsMetadataResponse"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/bank/v1beta1/denoms_metadata\x12\xa2\x01\n\x0b\x44\x65nomOwners\x12,.cosmos.bank.v1beta1.QueryDenomOwnersRequest\x1a-.cosmos.bank.v1beta1.QueryDenomOwnersResponse"6\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02+\x12)/cosmos/bank/v1beta1/denom_owners/{denom}\x12\xb8\x01\n\x12\x44\x65nomOwnersByQuery\x12\x33.cosmos.bank.v1beta1.QueryDenomOwnersByQueryRequest\x1a\x34.cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse"7\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02,\x12*/cosmos/bank/v1beta1/denom_owners_by_query\x12\x9a\x01\n\x0bSendEnabled\x12,.cosmos.bank.v1beta1.QuerySendEnabledRequest\x1a-.cosmos.bank.v1beta1.QuerySendEnabledResponse".\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02#\x12!/cosmos/bank/v1beta1/send_enabledB\xbe\x01\n\x17\x63om.cosmos.bank.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.bank.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' - _globals['_QUERYBALANCEREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYBALANCEREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYBALANCEREQUEST']._loaded_options = None - _globals['_QUERYBALANCEREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYALLBALANCESREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYALLBALANCESREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYALLBALANCESREQUEST']._loaded_options = None - _globals['_QUERYALLBALANCESREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYALLBALANCESRESPONSE'].fields_by_name['balances']._loaded_options = None - _globals['_QUERYALLBALANCESRESPONSE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_QUERYSPENDABLEBALANCESREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYSPENDABLEBALANCESREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYSPENDABLEBALANCESREQUEST']._loaded_options = None - _globals['_QUERYSPENDABLEBALANCESREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYSPENDABLEBALANCESRESPONSE'].fields_by_name['balances']._loaded_options = None - _globals['_QUERYSPENDABLEBALANCESRESPONSE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._loaded_options = None - _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYTOTALSUPPLYREQUEST']._loaded_options = None - _globals['_QUERYTOTALSUPPLYREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYTOTALSUPPLYRESPONSE'].fields_by_name['supply']._loaded_options = None - _globals['_QUERYTOTALSUPPLYRESPONSE'].fields_by_name['supply']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_QUERYSUPPLYOFRESPONSE'].fields_by_name['amount']._loaded_options = None - _globals['_QUERYSUPPLYOFRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDENOMSMETADATARESPONSE'].fields_by_name['metadatas']._loaded_options = None - _globals['_QUERYDENOMSMETADATARESPONSE'].fields_by_name['metadatas']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDENOMMETADATARESPONSE'].fields_by_name['metadata']._loaded_options = None - _globals['_QUERYDENOMMETADATARESPONSE'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE'].fields_by_name['metadata']._loaded_options = None - _globals['_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_DENOMOWNER'].fields_by_name['address']._loaded_options = None - _globals['_DENOMOWNER'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DENOMOWNER'].fields_by_name['balance']._loaded_options = None - _globals['_DENOMOWNER'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERY'].methods_by_name['Balance']._loaded_options = None - _globals['_QUERY'].methods_by_name['Balance']._serialized_options = b'\210\347\260*\001\202\323\344\223\0022\0220/cosmos/bank/v1beta1/balances/{address}/by_denom' - _globals['_QUERY'].methods_by_name['AllBalances']._loaded_options = None - _globals['_QUERY'].methods_by_name['AllBalances']._serialized_options = b'\210\347\260*\001\202\323\344\223\002)\022\'/cosmos/bank/v1beta1/balances/{address}' - _globals['_QUERY'].methods_by_name['SpendableBalances']._loaded_options = None - _globals['_QUERY'].methods_by_name['SpendableBalances']._serialized_options = b'\210\347\260*\001\202\323\344\223\0023\0221/cosmos/bank/v1beta1/spendable_balances/{address}' - _globals['_QUERY'].methods_by_name['SpendableBalanceByDenom']._loaded_options = None - _globals['_QUERY'].methods_by_name['SpendableBalanceByDenom']._serialized_options = b'\210\347\260*\001\202\323\344\223\002<\022:/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom' - _globals['_QUERY'].methods_by_name['TotalSupply']._loaded_options = None - _globals['_QUERY'].methods_by_name['TotalSupply']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/bank/v1beta1/supply' - _globals['_QUERY'].methods_by_name['SupplyOf']._loaded_options = None - _globals['_QUERY'].methods_by_name['SupplyOf']._serialized_options = b'\210\347\260*\001\202\323\344\223\002&\022$/cosmos/bank/v1beta1/supply/by_denom' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/bank/v1beta1/params' - _globals['_QUERY'].methods_by_name['DenomMetadata']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomMetadata']._serialized_options = b'\210\347\260*\001\202\323\344\223\002.\022,/cosmos/bank/v1beta1/denoms_metadata/{denom}' - _globals['_QUERY'].methods_by_name['DenomMetadataByQueryString']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomMetadataByQueryString']._serialized_options = b'\210\347\260*\001\202\323\344\223\0026\0224/cosmos/bank/v1beta1/denoms_metadata_by_query_string' - _globals['_QUERY'].methods_by_name['DenomsMetadata']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomsMetadata']._serialized_options = b'\210\347\260*\001\202\323\344\223\002&\022$/cosmos/bank/v1beta1/denoms_metadata' - _globals['_QUERY'].methods_by_name['DenomOwners']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomOwners']._serialized_options = b'\210\347\260*\001\202\323\344\223\002+\022)/cosmos/bank/v1beta1/denom_owners/{denom}' - _globals['_QUERY'].methods_by_name['DenomOwnersByQuery']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomOwnersByQuery']._serialized_options = b'\210\347\260*\001\202\323\344\223\002,\022*/cosmos/bank/v1beta1/denom_owners_by_query' - _globals['_QUERY'].methods_by_name['SendEnabled']._loaded_options = None - _globals['_QUERY'].methods_by_name['SendEnabled']._serialized_options = b'\210\347\260*\001\202\323\344\223\002#\022!/cosmos/bank/v1beta1/send_enabled' - _globals['_QUERYBALANCEREQUEST']._serialized_start=291 - _globals['_QUERYBALANCEREQUEST']._serialized_end=396 - _globals['_QUERYBALANCERESPONSE']._serialized_start=398 - _globals['_QUERYBALANCERESPONSE']._serialized_end=473 - _globals['_QUERYALLBALANCESREQUEST']._serialized_start=476 - _globals['_QUERYALLBALANCESREQUEST']._serialized_end=672 - _globals['_QUERYALLBALANCESRESPONSE']._serialized_start=675 - _globals['_QUERYALLBALANCESRESPONSE']._serialized_end=901 - _globals['_QUERYSPENDABLEBALANCESREQUEST']._serialized_start=904 - _globals['_QUERYSPENDABLEBALANCESREQUEST']._serialized_end=1069 - _globals['_QUERYSPENDABLEBALANCESRESPONSE']._serialized_start=1072 - _globals['_QUERYSPENDABLEBALANCESRESPONSE']._serialized_end=1304 - _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._serialized_start=1306 - _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._serialized_end=1427 - _globals['_QUERYSPENDABLEBALANCEBYDENOMRESPONSE']._serialized_start=1429 - _globals['_QUERYSPENDABLEBALANCEBYDENOMRESPONSE']._serialized_end=1520 - _globals['_QUERYTOTALSUPPLYREQUEST']._serialized_start=1522 - _globals['_QUERYTOTALSUPPLYREQUEST']._serialized_end=1629 - _globals['_QUERYTOTALSUPPLYRESPONSE']._serialized_start=1632 - _globals['_QUERYTOTALSUPPLYRESPONSE']._serialized_end=1854 - _globals['_QUERYSUPPLYOFREQUEST']._serialized_start=1856 - _globals['_QUERYSUPPLYOFREQUEST']._serialized_end=1900 - _globals['_QUERYSUPPLYOFRESPONSE']._serialized_start=1902 - _globals['_QUERYSUPPLYOFRESPONSE']._serialized_end=1987 - _globals['_QUERYPARAMSREQUEST']._serialized_start=1989 - _globals['_QUERYPARAMSREQUEST']._serialized_end=2009 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=2011 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=2096 - _globals['_QUERYDENOMSMETADATAREQUEST']._serialized_start=2098 - _globals['_QUERYDENOMSMETADATAREQUEST']._serialized_end=2198 - _globals['_QUERYDENOMSMETADATARESPONSE']._serialized_start=2201 - _globals['_QUERYDENOMSMETADATARESPONSE']._serialized_end=2375 - _globals['_QUERYDENOMMETADATAREQUEST']._serialized_start=2377 - _globals['_QUERYDENOMMETADATAREQUEST']._serialized_end=2426 - _globals['_QUERYDENOMMETADATARESPONSE']._serialized_start=2428 - _globals['_QUERYDENOMMETADATARESPONSE']._serialized_end=2526 - _globals['_QUERYDENOMMETADATABYQUERYSTRINGREQUEST']._serialized_start=2528 - _globals['_QUERYDENOMMETADATABYQUERYSTRINGREQUEST']._serialized_end=2590 - _globals['_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE']._serialized_start=2592 - _globals['_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE']._serialized_end=2703 - _globals['_QUERYDENOMOWNERSREQUEST']._serialized_start=2705 - _globals['_QUERYDENOMOWNERSREQUEST']._serialized_end=2824 - _globals['_DENOMOWNER']._serialized_start=2827 - _globals['_DENOMOWNER']._serialized_end=2955 - _globals['_QUERYDENOMOWNERSRESPONSE']._serialized_start=2958 - _globals['_QUERYDENOMOWNERSRESPONSE']._serialized_end=3125 - _globals['_QUERYDENOMOWNERSBYQUERYREQUEST']._serialized_start=3127 - _globals['_QUERYDENOMOWNERSBYQUERYREQUEST']._serialized_end=3253 - _globals['_QUERYDENOMOWNERSBYQUERYRESPONSE']._serialized_start=3256 - _globals['_QUERYDENOMOWNERSBYQUERYRESPONSE']._serialized_end=3430 - _globals['_QUERYSENDENABLEDREQUEST']._serialized_start=3432 - _globals['_QUERYSENDENABLEDREQUEST']._serialized_end=3553 - _globals['_QUERYSENDENABLEDRESPONSE']._serialized_start=3556 - _globals['_QUERYSENDENABLEDRESPONSE']._serialized_end=3724 - _globals['_QUERY']._serialized_start=3727 - _globals['_QUERY']._serialized_end=5977 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.bank.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1" + ) + _globals["_QUERYBALANCEREQUEST"].fields_by_name["address"]._loaded_options = None + _globals["_QUERYBALANCEREQUEST"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYBALANCEREQUEST"]._loaded_options = None + _globals["_QUERYBALANCEREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYALLBALANCESREQUEST"].fields_by_name["address"]._loaded_options = None + _globals["_QUERYALLBALANCESREQUEST"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYALLBALANCESREQUEST"]._loaded_options = None + _globals["_QUERYALLBALANCESREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYALLBALANCESRESPONSE"].fields_by_name["balances"]._loaded_options = None + _globals["_QUERYALLBALANCESRESPONSE"].fields_by_name[ + "balances" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_QUERYSPENDABLEBALANCESREQUEST"].fields_by_name["address"]._loaded_options = None + _globals["_QUERYSPENDABLEBALANCESREQUEST"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYSPENDABLEBALANCESREQUEST"]._loaded_options = None + _globals["_QUERYSPENDABLEBALANCESREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYSPENDABLEBALANCESRESPONSE"].fields_by_name["balances"]._loaded_options = None + _globals["_QUERYSPENDABLEBALANCESRESPONSE"].fields_by_name[ + "balances" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_QUERYSPENDABLEBALANCEBYDENOMREQUEST"].fields_by_name["address"]._loaded_options = None + _globals["_QUERYSPENDABLEBALANCEBYDENOMREQUEST"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYSPENDABLEBALANCEBYDENOMREQUEST"]._loaded_options = None + _globals["_QUERYSPENDABLEBALANCEBYDENOMREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYTOTALSUPPLYREQUEST"]._loaded_options = None + _globals["_QUERYTOTALSUPPLYREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYTOTALSUPPLYRESPONSE"].fields_by_name["supply"]._loaded_options = None + _globals["_QUERYTOTALSUPPLYRESPONSE"].fields_by_name[ + "supply" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_QUERYSUPPLYOFRESPONSE"].fields_by_name["amount"]._loaded_options = None + _globals["_QUERYSUPPLYOFRESPONSE"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYDENOMSMETADATARESPONSE"].fields_by_name["metadatas"]._loaded_options = None + _globals["_QUERYDENOMSMETADATARESPONSE"].fields_by_name[ + "metadatas" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYDENOMMETADATARESPONSE"].fields_by_name["metadata"]._loaded_options = None + _globals["_QUERYDENOMMETADATARESPONSE"].fields_by_name[ + "metadata" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE"].fields_by_name["metadata"]._loaded_options = None + _globals["_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE"].fields_by_name[ + "metadata" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_DENOMOWNER"].fields_by_name["address"]._loaded_options = None + _globals["_DENOMOWNER"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_DENOMOWNER"].fields_by_name["balance"]._loaded_options = None + _globals["_DENOMOWNER"].fields_by_name["balance"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERY"].methods_by_name["Balance"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Balance" + ]._serialized_options = ( + b"\210\347\260*\001\202\323\344\223\0022\0220/cosmos/bank/v1beta1/balances/{address}/by_denom" + ) + _globals["_QUERY"].methods_by_name["AllBalances"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AllBalances" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002)\022'/cosmos/bank/v1beta1/balances/{address}" + _globals["_QUERY"].methods_by_name["SpendableBalances"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "SpendableBalances" + ]._serialized_options = ( + b"\210\347\260*\001\202\323\344\223\0023\0221/cosmos/bank/v1beta1/spendable_balances/{address}" + ) + _globals["_QUERY"].methods_by_name["SpendableBalanceByDenom"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "SpendableBalanceByDenom" + ]._serialized_options = ( + b"\210\347\260*\001\202\323\344\223\002<\022:/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom" + ) + _globals["_QUERY"].methods_by_name["TotalSupply"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "TotalSupply" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/bank/v1beta1/supply" + _globals["_QUERY"].methods_by_name["SupplyOf"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "SupplyOf" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002&\022$/cosmos/bank/v1beta1/supply/by_denom" + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/bank/v1beta1/params" + _globals["_QUERY"].methods_by_name["DenomMetadata"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DenomMetadata" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002.\022,/cosmos/bank/v1beta1/denoms_metadata/{denom}" + _globals["_QUERY"].methods_by_name["DenomMetadataByQueryString"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DenomMetadataByQueryString" + ]._serialized_options = ( + b"\210\347\260*\001\202\323\344\223\0026\0224/cosmos/bank/v1beta1/denoms_metadata_by_query_string" + ) + _globals["_QUERY"].methods_by_name["DenomsMetadata"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DenomsMetadata" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002&\022$/cosmos/bank/v1beta1/denoms_metadata" + _globals["_QUERY"].methods_by_name["DenomOwners"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DenomOwners" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002+\022)/cosmos/bank/v1beta1/denom_owners/{denom}" + _globals["_QUERY"].methods_by_name["DenomOwnersByQuery"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DenomOwnersByQuery" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002,\022*/cosmos/bank/v1beta1/denom_owners_by_query" + _globals["_QUERY"].methods_by_name["SendEnabled"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "SendEnabled" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002#\022!/cosmos/bank/v1beta1/send_enabled" + _globals["_QUERYBALANCEREQUEST"]._serialized_start = 291 + _globals["_QUERYBALANCEREQUEST"]._serialized_end = 396 + _globals["_QUERYBALANCERESPONSE"]._serialized_start = 398 + _globals["_QUERYBALANCERESPONSE"]._serialized_end = 473 + _globals["_QUERYALLBALANCESREQUEST"]._serialized_start = 476 + _globals["_QUERYALLBALANCESREQUEST"]._serialized_end = 672 + _globals["_QUERYALLBALANCESRESPONSE"]._serialized_start = 675 + _globals["_QUERYALLBALANCESRESPONSE"]._serialized_end = 901 + _globals["_QUERYSPENDABLEBALANCESREQUEST"]._serialized_start = 904 + _globals["_QUERYSPENDABLEBALANCESREQUEST"]._serialized_end = 1069 + _globals["_QUERYSPENDABLEBALANCESRESPONSE"]._serialized_start = 1072 + _globals["_QUERYSPENDABLEBALANCESRESPONSE"]._serialized_end = 1304 + _globals["_QUERYSPENDABLEBALANCEBYDENOMREQUEST"]._serialized_start = 1306 + _globals["_QUERYSPENDABLEBALANCEBYDENOMREQUEST"]._serialized_end = 1427 + _globals["_QUERYSPENDABLEBALANCEBYDENOMRESPONSE"]._serialized_start = 1429 + _globals["_QUERYSPENDABLEBALANCEBYDENOMRESPONSE"]._serialized_end = 1520 + _globals["_QUERYTOTALSUPPLYREQUEST"]._serialized_start = 1522 + _globals["_QUERYTOTALSUPPLYREQUEST"]._serialized_end = 1629 + _globals["_QUERYTOTALSUPPLYRESPONSE"]._serialized_start = 1632 + _globals["_QUERYTOTALSUPPLYRESPONSE"]._serialized_end = 1854 + _globals["_QUERYSUPPLYOFREQUEST"]._serialized_start = 1856 + _globals["_QUERYSUPPLYOFREQUEST"]._serialized_end = 1900 + _globals["_QUERYSUPPLYOFRESPONSE"]._serialized_start = 1902 + _globals["_QUERYSUPPLYOFRESPONSE"]._serialized_end = 1987 + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 1989 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 2009 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 2011 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 2096 + _globals["_QUERYDENOMSMETADATAREQUEST"]._serialized_start = 2098 + _globals["_QUERYDENOMSMETADATAREQUEST"]._serialized_end = 2198 + _globals["_QUERYDENOMSMETADATARESPONSE"]._serialized_start = 2201 + _globals["_QUERYDENOMSMETADATARESPONSE"]._serialized_end = 2375 + _globals["_QUERYDENOMMETADATAREQUEST"]._serialized_start = 2377 + _globals["_QUERYDENOMMETADATAREQUEST"]._serialized_end = 2426 + _globals["_QUERYDENOMMETADATARESPONSE"]._serialized_start = 2428 + _globals["_QUERYDENOMMETADATARESPONSE"]._serialized_end = 2526 + _globals["_QUERYDENOMMETADATABYQUERYSTRINGREQUEST"]._serialized_start = 2528 + _globals["_QUERYDENOMMETADATABYQUERYSTRINGREQUEST"]._serialized_end = 2590 + _globals["_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE"]._serialized_start = 2592 + _globals["_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE"]._serialized_end = 2703 + _globals["_QUERYDENOMOWNERSREQUEST"]._serialized_start = 2705 + _globals["_QUERYDENOMOWNERSREQUEST"]._serialized_end = 2824 + _globals["_DENOMOWNER"]._serialized_start = 2827 + _globals["_DENOMOWNER"]._serialized_end = 2955 + _globals["_QUERYDENOMOWNERSRESPONSE"]._serialized_start = 2958 + _globals["_QUERYDENOMOWNERSRESPONSE"]._serialized_end = 3125 + _globals["_QUERYDENOMOWNERSBYQUERYREQUEST"]._serialized_start = 3127 + _globals["_QUERYDENOMOWNERSBYQUERYREQUEST"]._serialized_end = 3253 + _globals["_QUERYDENOMOWNERSBYQUERYRESPONSE"]._serialized_start = 3256 + _globals["_QUERYDENOMOWNERSBYQUERYRESPONSE"]._serialized_end = 3430 + _globals["_QUERYSENDENABLEDREQUEST"]._serialized_start = 3432 + _globals["_QUERYSENDENABLEDREQUEST"]._serialized_end = 3553 + _globals["_QUERYSENDENABLEDRESPONSE"]._serialized_start = 3556 + _globals["_QUERYSENDENABLEDRESPONSE"]._serialized_end = 3724 + _globals["_QUERY"]._serialized_start = 3727 + _globals["_QUERY"]._serialized_end = 5977 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2_grpc.py index 2318f271..51a385c2 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,82 +15,93 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Balance = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/Balance', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Query/Balance", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, + _registered_method=True, + ) self.AllBalances = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/AllBalances', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Query/AllBalances", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesResponse.FromString, + _registered_method=True, + ) self.SpendableBalances = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/SpendableBalances', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Query/SpendableBalances", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesResponse.FromString, + _registered_method=True, + ) self.SpendableBalanceByDenom = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/SpendableBalanceByDenom', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Query/SpendableBalanceByDenom", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomResponse.FromString, + _registered_method=True, + ) self.TotalSupply = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/TotalSupply', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Query/TotalSupply", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyResponse.FromString, + _registered_method=True, + ) self.SupplyOf = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/SupplyOf', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Query/SupplyOf", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfResponse.FromString, + _registered_method=True, + ) self.Params = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/Params', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Query/Params", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) self.DenomMetadata = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/DenomMetadata', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Query/DenomMetadata", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataResponse.FromString, + _registered_method=True, + ) self.DenomMetadataByQueryString = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/DenomMetadataByQueryString', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Query/DenomMetadataByQueryString", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringResponse.FromString, + _registered_method=True, + ) self.DenomsMetadata = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/DenomsMetadata', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Query/DenomsMetadata", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataResponse.FromString, + _registered_method=True, + ) self.DenomOwners = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/DenomOwners', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Query/DenomOwners", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersResponse.FromString, + _registered_method=True, + ) self.DenomOwnersByQuery = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/DenomOwnersByQuery', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Query/DenomOwnersByQuery", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryResponse.FromString, + _registered_method=True, + ) self.SendEnabled = channel.unary_unary( - '/cosmos.bank.v1beta1.Query/SendEnabled', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Query/SendEnabled", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def Balance(self, request, context): - """Balance queries the balance of a single coin for a single account. - """ + """Balance queries the balance of a single coin for a single account.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AllBalances(self, request, context): """AllBalances queries the balance of all coins for a single account. @@ -100,8 +110,8 @@ def AllBalances(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SpendableBalances(self, request, context): """SpendableBalances queries the spendable balance of all coins for a single @@ -113,8 +123,8 @@ def SpendableBalances(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SpendableBalanceByDenom(self, request, context): """SpendableBalanceByDenom queries the spendable balance of a single denom for @@ -126,8 +136,8 @@ def SpendableBalanceByDenom(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TotalSupply(self, request, context): """TotalSupply queries the total supply of all coins. @@ -136,8 +146,8 @@ def TotalSupply(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SupplyOf(self, request, context): """SupplyOf queries the supply of a single coin. @@ -146,37 +156,34 @@ def SupplyOf(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Params(self, request, context): - """Params queries the parameters of x/bank module. - """ + """Params queries the parameters of x/bank module.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DenomMetadata(self, request, context): - """DenomMetadata queries the client metadata of a given coin denomination. - """ + """DenomMetadata queries the client metadata of a given coin denomination.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DenomMetadataByQueryString(self, request, context): - """DenomMetadataByQueryString queries the client metadata of a given coin denomination. - """ + """DenomMetadataByQueryString queries the client metadata of a given coin denomination.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DenomsMetadata(self, request, context): """DenomsMetadata queries the client metadata for all registered coin denominations. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DenomOwners(self, request, context): """DenomOwners queries for all account addresses that own a particular token @@ -188,8 +195,8 @@ def DenomOwners(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DenomOwnersByQuery(self, request, context): """DenomOwnersByQuery queries for all account addresses that own a particular token @@ -198,8 +205,8 @@ def DenomOwnersByQuery(self, request, context): Since: cosmos-sdk 0.50.3 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SendEnabled(self, request, context): """SendEnabled queries for SendEnabled entries. @@ -211,104 +218,104 @@ def SendEnabled(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Balance': grpc.unary_unary_rpc_method_handler( - servicer.Balance, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.SerializeToString, - ), - 'AllBalances': grpc.unary_unary_rpc_method_handler( - servicer.AllBalances, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesResponse.SerializeToString, - ), - 'SpendableBalances': grpc.unary_unary_rpc_method_handler( - servicer.SpendableBalances, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesResponse.SerializeToString, - ), - 'SpendableBalanceByDenom': grpc.unary_unary_rpc_method_handler( - servicer.SpendableBalanceByDenom, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomResponse.SerializeToString, - ), - 'TotalSupply': grpc.unary_unary_rpc_method_handler( - servicer.TotalSupply, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyResponse.SerializeToString, - ), - 'SupplyOf': grpc.unary_unary_rpc_method_handler( - servicer.SupplyOf, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfResponse.SerializeToString, - ), - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'DenomMetadata': grpc.unary_unary_rpc_method_handler( - servicer.DenomMetadata, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataResponse.SerializeToString, - ), - 'DenomMetadataByQueryString': grpc.unary_unary_rpc_method_handler( - servicer.DenomMetadataByQueryString, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringResponse.SerializeToString, - ), - 'DenomsMetadata': grpc.unary_unary_rpc_method_handler( - servicer.DenomsMetadata, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataResponse.SerializeToString, - ), - 'DenomOwners': grpc.unary_unary_rpc_method_handler( - servicer.DenomOwners, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersResponse.SerializeToString, - ), - 'DenomOwnersByQuery': grpc.unary_unary_rpc_method_handler( - servicer.DenomOwnersByQuery, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryResponse.SerializeToString, - ), - 'SendEnabled': grpc.unary_unary_rpc_method_handler( - servicer.SendEnabled, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledResponse.SerializeToString, - ), + "Balance": grpc.unary_unary_rpc_method_handler( + servicer.Balance, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.SerializeToString, + ), + "AllBalances": grpc.unary_unary_rpc_method_handler( + servicer.AllBalances, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesResponse.SerializeToString, + ), + "SpendableBalances": grpc.unary_unary_rpc_method_handler( + servicer.SpendableBalances, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesResponse.SerializeToString, + ), + "SpendableBalanceByDenom": grpc.unary_unary_rpc_method_handler( + servicer.SpendableBalanceByDenom, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomResponse.SerializeToString, + ), + "TotalSupply": grpc.unary_unary_rpc_method_handler( + servicer.TotalSupply, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyResponse.SerializeToString, + ), + "SupplyOf": grpc.unary_unary_rpc_method_handler( + servicer.SupplyOf, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfResponse.SerializeToString, + ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + "DenomMetadata": grpc.unary_unary_rpc_method_handler( + servicer.DenomMetadata, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataResponse.SerializeToString, + ), + "DenomMetadataByQueryString": grpc.unary_unary_rpc_method_handler( + servicer.DenomMetadataByQueryString, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringResponse.SerializeToString, + ), + "DenomsMetadata": grpc.unary_unary_rpc_method_handler( + servicer.DenomsMetadata, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataResponse.SerializeToString, + ), + "DenomOwners": grpc.unary_unary_rpc_method_handler( + servicer.DenomOwners, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersResponse.SerializeToString, + ), + "DenomOwnersByQuery": grpc.unary_unary_rpc_method_handler( + servicer.DenomOwnersByQuery, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryResponse.SerializeToString, + ), + "SendEnabled": grpc.unary_unary_rpc_method_handler( + servicer.SendEnabled, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.bank.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.bank.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.bank.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.bank.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" @staticmethod - def Balance(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Balance( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Query/Balance', + "/cosmos.bank.v1beta1.Query/Balance", cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, options, @@ -319,23 +326,26 @@ def Balance(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def AllBalances(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AllBalances( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Query/AllBalances', + "/cosmos.bank.v1beta1.Query/AllBalances", cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesResponse.FromString, options, @@ -346,23 +356,26 @@ def AllBalances(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SpendableBalances(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SpendableBalances( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Query/SpendableBalances', + "/cosmos.bank.v1beta1.Query/SpendableBalances", cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesResponse.FromString, options, @@ -373,23 +386,26 @@ def SpendableBalances(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SpendableBalanceByDenom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SpendableBalanceByDenom( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Query/SpendableBalanceByDenom', + "/cosmos.bank.v1beta1.Query/SpendableBalanceByDenom", cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomResponse.FromString, options, @@ -400,23 +416,26 @@ def SpendableBalanceByDenom(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def TotalSupply(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def TotalSupply( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Query/TotalSupply', + "/cosmos.bank.v1beta1.Query/TotalSupply", cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyResponse.FromString, options, @@ -427,23 +446,26 @@ def TotalSupply(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SupplyOf(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SupplyOf( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Query/SupplyOf', + "/cosmos.bank.v1beta1.Query/SupplyOf", cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfResponse.FromString, options, @@ -454,23 +476,26 @@ def SupplyOf(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Query/Params', + "/cosmos.bank.v1beta1.Query/Params", cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -481,23 +506,26 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DenomMetadata(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DenomMetadata( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Query/DenomMetadata', + "/cosmos.bank.v1beta1.Query/DenomMetadata", cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataResponse.FromString, options, @@ -508,23 +536,26 @@ def DenomMetadata(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DenomMetadataByQueryString(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DenomMetadataByQueryString( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Query/DenomMetadataByQueryString', + "/cosmos.bank.v1beta1.Query/DenomMetadataByQueryString", cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringResponse.FromString, options, @@ -535,23 +566,26 @@ def DenomMetadataByQueryString(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DenomsMetadata(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DenomsMetadata( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Query/DenomsMetadata', + "/cosmos.bank.v1beta1.Query/DenomsMetadata", cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataResponse.FromString, options, @@ -562,23 +596,26 @@ def DenomsMetadata(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DenomOwners(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DenomOwners( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Query/DenomOwners', + "/cosmos.bank.v1beta1.Query/DenomOwners", cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersResponse.FromString, options, @@ -589,23 +626,26 @@ def DenomOwners(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DenomOwnersByQuery(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DenomOwnersByQuery( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Query/DenomOwnersByQuery', + "/cosmos.bank.v1beta1.Query/DenomOwnersByQuery", cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryResponse.FromString, options, @@ -616,23 +656,26 @@ def DenomOwnersByQuery(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SendEnabled(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SendEnabled( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Query/SendEnabled', + "/cosmos.bank.v1beta1.Query/SendEnabled", cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledResponse.FromString, options, @@ -643,4 +686,5 @@ def SendEnabled(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py index eafe67c8..100813ed 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -20,56 +21,72 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/bank/v1beta1/tx.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xac\x02\n\x07MsgSend\x12;\n\x0c\x66rom_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0b\x66romAddress\x12\x37\n\nto_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:0\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgSend\"\x11\n\x0fMsgSendResponse\"\xbc\x01\n\x0cMsgMultiSend\x12=\n\x06inputs\x18\x01 \x03(\x0b\x32\x1a.cosmos.bank.v1beta1.InputB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06inputs\x12@\n\x07outputs\x18\x02 \x03(\x0b\x32\x1b.cosmos.bank.v1beta1.OutputB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07outputs:+\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06inputs\x8a\xe7\xb0*\x17\x63osmos-sdk/MsgMultiSend\"\x16\n\x14MsgMultiSendResponse\"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/bank/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xe9\x01\n\x11MsgSetSendEnabled\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x43\n\x0csend_enabled\x18\x02 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledR\x0bsendEnabled\x12&\n\x0fuse_default_for\x18\x03 \x03(\tR\ruseDefaultFor:/\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSetSendEnabled\"\x1b\n\x19MsgSetSendEnabledResponse2\x81\x03\n\x03Msg\x12J\n\x04Send\x12\x1c.cosmos.bank.v1beta1.MsgSend\x1a$.cosmos.bank.v1beta1.MsgSendResponse\x12Y\n\tMultiSend\x12!.cosmos.bank.v1beta1.MsgMultiSend\x1a).cosmos.bank.v1beta1.MsgMultiSendResponse\x12\x62\n\x0cUpdateParams\x12$.cosmos.bank.v1beta1.MsgUpdateParams\x1a,.cosmos.bank.v1beta1.MsgUpdateParamsResponse\x12h\n\x0eSetSendEnabled\x12&.cosmos.bank.v1beta1.MsgSetSendEnabled\x1a..cosmos.bank.v1beta1.MsgSetSendEnabledResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.bank.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1c\x63osmos/bank/v1beta1/tx.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xac\x02\n\x07MsgSend\x12;\n\x0c\x66rom_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0b\x66romAddress\x12\x37\n\nto_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:0\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgSend"\x11\n\x0fMsgSendResponse"\xbc\x01\n\x0cMsgMultiSend\x12=\n\x06inputs\x18\x01 \x03(\x0b\x32\x1a.cosmos.bank.v1beta1.InputB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06inputs\x12@\n\x07outputs\x18\x02 \x03(\x0b\x32\x1b.cosmos.bank.v1beta1.OutputB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07outputs:+\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06inputs\x8a\xe7\xb0*\x17\x63osmos-sdk/MsgMultiSend"\x16\n\x14MsgMultiSendResponse"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/bank/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse"\xe9\x01\n\x11MsgSetSendEnabled\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x43\n\x0csend_enabled\x18\x02 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledR\x0bsendEnabled\x12&\n\x0fuse_default_for\x18\x03 \x03(\tR\ruseDefaultFor:/\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSetSendEnabled"\x1b\n\x19MsgSetSendEnabledResponse2\x81\x03\n\x03Msg\x12J\n\x04Send\x12\x1c.cosmos.bank.v1beta1.MsgSend\x1a$.cosmos.bank.v1beta1.MsgSendResponse\x12Y\n\tMultiSend\x12!.cosmos.bank.v1beta1.MsgMultiSend\x1a).cosmos.bank.v1beta1.MsgMultiSendResponse\x12\x62\n\x0cUpdateParams\x12$.cosmos.bank.v1beta1.MsgUpdateParams\x1a,.cosmos.bank.v1beta1.MsgUpdateParamsResponse\x12h\n\x0eSetSendEnabled\x12&.cosmos.bank.v1beta1.MsgSetSendEnabled\x1a..cosmos.bank.v1beta1.MsgSetSendEnabledResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.bank.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.bank.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' - _globals['_MSGSEND'].fields_by_name['from_address']._loaded_options = None - _globals['_MSGSEND'].fields_by_name['from_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSEND'].fields_by_name['to_address']._loaded_options = None - _globals['_MSGSEND'].fields_by_name['to_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSEND'].fields_by_name['amount']._loaded_options = None - _globals['_MSGSEND'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGSEND']._loaded_options = None - _globals['_MSGSEND']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\014from_address\212\347\260*\022cosmos-sdk/MsgSend' - _globals['_MSGMULTISEND'].fields_by_name['inputs']._loaded_options = None - _globals['_MSGMULTISEND'].fields_by_name['inputs']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGMULTISEND'].fields_by_name['outputs']._loaded_options = None - _globals['_MSGMULTISEND'].fields_by_name['outputs']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGMULTISEND']._loaded_options = None - _globals['_MSGMULTISEND']._serialized_options = b'\350\240\037\000\202\347\260*\006inputs\212\347\260*\027cosmos-sdk/MsgMultiSend' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/bank/MsgUpdateParams' - _globals['_MSGSETSENDENABLED'].fields_by_name['authority']._loaded_options = None - _globals['_MSGSETSENDENABLED'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSETSENDENABLED']._loaded_options = None - _globals['_MSGSETSENDENABLED']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\034cosmos-sdk/MsgSetSendEnabled' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGSEND']._serialized_start=211 - _globals['_MSGSEND']._serialized_end=511 - _globals['_MSGSENDRESPONSE']._serialized_start=513 - _globals['_MSGSENDRESPONSE']._serialized_end=530 - _globals['_MSGMULTISEND']._serialized_start=533 - _globals['_MSGMULTISEND']._serialized_end=721 - _globals['_MSGMULTISENDRESPONSE']._serialized_start=723 - _globals['_MSGMULTISENDRESPONSE']._serialized_end=745 - _globals['_MSGUPDATEPARAMS']._serialized_start=748 - _globals['_MSGUPDATEPARAMS']._serialized_end=939 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=941 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=966 - _globals['_MSGSETSENDENABLED']._serialized_start=969 - _globals['_MSGSETSENDENABLED']._serialized_end=1202 - _globals['_MSGSETSENDENABLEDRESPONSE']._serialized_start=1204 - _globals['_MSGSETSENDENABLEDRESPONSE']._serialized_end=1231 - _globals['_MSG']._serialized_start=1234 - _globals['_MSG']._serialized_end=1619 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.bank.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1" + ) + _globals["_MSGSEND"].fields_by_name["from_address"]._loaded_options = None + _globals["_MSGSEND"].fields_by_name["from_address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSEND"].fields_by_name["to_address"]._loaded_options = None + _globals["_MSGSEND"].fields_by_name["to_address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSEND"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGSEND"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_MSGSEND"]._loaded_options = None + _globals["_MSGSEND"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\014from_address\212\347\260*\022cosmos-sdk/MsgSend" + ) + _globals["_MSGMULTISEND"].fields_by_name["inputs"]._loaded_options = None + _globals["_MSGMULTISEND"].fields_by_name["inputs"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGMULTISEND"].fields_by_name["outputs"]._loaded_options = None + _globals["_MSGMULTISEND"].fields_by_name["outputs"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGMULTISEND"]._loaded_options = None + _globals["_MSGMULTISEND"]._serialized_options = ( + b"\350\240\037\000\202\347\260*\006inputs\212\347\260*\027cosmos-sdk/MsgMultiSend" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/bank/MsgUpdateParams" + ) + _globals["_MSGSETSENDENABLED"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGSETSENDENABLED"].fields_by_name[ + "authority" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSETSENDENABLED"]._loaded_options = None + _globals["_MSGSETSENDENABLED"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*\034cosmos-sdk/MsgSetSendEnabled" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGSEND"]._serialized_start = 211 + _globals["_MSGSEND"]._serialized_end = 511 + _globals["_MSGSENDRESPONSE"]._serialized_start = 513 + _globals["_MSGSENDRESPONSE"]._serialized_end = 530 + _globals["_MSGMULTISEND"]._serialized_start = 533 + _globals["_MSGMULTISEND"]._serialized_end = 721 + _globals["_MSGMULTISENDRESPONSE"]._serialized_start = 723 + _globals["_MSGMULTISENDRESPONSE"]._serialized_end = 745 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 748 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 939 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 941 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 966 + _globals["_MSGSETSENDENABLED"]._serialized_start = 969 + _globals["_MSGSETSENDENABLED"]._serialized_end = 1202 + _globals["_MSGSETSENDENABLEDRESPONSE"]._serialized_start = 1204 + _globals["_MSGSETSENDENABLEDRESPONSE"]._serialized_end = 1231 + _globals["_MSG"]._serialized_start = 1234 + _globals["_MSG"]._serialized_end = 1619 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2_grpc.py index 1b438771..3e88b06c 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the bank Msg service. - """ + """Msg defines the bank Msg service.""" def __init__(self, channel): """Constructor. @@ -16,44 +15,45 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Send = channel.unary_unary( - '/cosmos.bank.v1beta1.Msg/Send', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Msg/Send", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, + _registered_method=True, + ) self.MultiSend = channel.unary_unary( - '/cosmos.bank.v1beta1.Msg/MultiSend', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSend.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSendResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Msg/MultiSend", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSend.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSendResponse.FromString, + _registered_method=True, + ) self.UpdateParams = channel.unary_unary( - '/cosmos.bank.v1beta1.Msg/UpdateParams', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Msg/UpdateParams", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) self.SetSendEnabled = channel.unary_unary( - '/cosmos.bank.v1beta1.Msg/SetSendEnabled', - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabled.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabledResponse.FromString, - _registered_method=True) + "/cosmos.bank.v1beta1.Msg/SetSendEnabled", + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabled.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabledResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the bank Msg service. - """ + """Msg defines the bank Msg service.""" def Send(self, request, context): - """Send defines a method for sending coins from one account to another account. - """ + """Send defines a method for sending coins from one account to another account.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def MultiSend(self, request, context): - """MultiSend defines a method for sending coins from some accounts to other accounts. - """ + """MultiSend defines a method for sending coins from some accounts to other accounts.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateParams(self, request, context): """UpdateParams defines a governance operation for updating the x/bank module parameters. @@ -62,8 +62,8 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SetSendEnabled(self, request, context): """SetSendEnabled is a governance operation for setting the SendEnabled flag @@ -74,59 +74,59 @@ def SetSendEnabled(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'Send': grpc.unary_unary_rpc_method_handler( - servicer.Send, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSend.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSendResponse.SerializeToString, - ), - 'MultiSend': grpc.unary_unary_rpc_method_handler( - servicer.MultiSend, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSend.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSendResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'SetSendEnabled': grpc.unary_unary_rpc_method_handler( - servicer.SetSendEnabled, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabled.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabledResponse.SerializeToString, - ), + "Send": grpc.unary_unary_rpc_method_handler( + servicer.Send, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSend.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSendResponse.SerializeToString, + ), + "MultiSend": grpc.unary_unary_rpc_method_handler( + servicer.MultiSend, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSend.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSendResponse.SerializeToString, + ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + "SetSendEnabled": grpc.unary_unary_rpc_method_handler( + servicer.SetSendEnabled, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabled.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabledResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.bank.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.bank.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.bank.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.bank.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the bank Msg service. - """ + """Msg defines the bank Msg service.""" @staticmethod - def Send(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Send( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Msg/Send', + "/cosmos.bank.v1beta1.Msg/Send", cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, options, @@ -137,23 +137,26 @@ def Send(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def MultiSend(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def MultiSend( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Msg/MultiSend', + "/cosmos.bank.v1beta1.Msg/MultiSend", cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSend.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSendResponse.FromString, options, @@ -164,23 +167,26 @@ def MultiSend(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Msg/UpdateParams', + "/cosmos.bank.v1beta1.Msg/UpdateParams", cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -191,23 +197,26 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SetSendEnabled(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SetSendEnabled( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.bank.v1beta1.Msg/SetSendEnabled', + "/cosmos.bank.v1beta1.Msg/SetSendEnabled", cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabled.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabledResponse.FromString, options, @@ -218,4 +227,5 @@ def SetSendEnabled(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py index c1104257..0c99d186 100644 --- a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py +++ b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,70 +19,78 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/base/abci/v1beta1/abci.proto\x12\x18\x63osmos.base.abci.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1btendermint/abci/types.proto\x1a\x1ctendermint/types/block.proto\x1a\x19google/protobuf/any.proto\"\xcc\x03\n\nTxResponse\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\"\n\x06txhash\x18\x02 \x01(\tB\n\xe2\xde\x1f\x06TxHashR\x06txhash\x12\x1c\n\tcodespace\x18\x03 \x01(\tR\tcodespace\x12\x12\n\x04\x63ode\x18\x04 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x05 \x01(\tR\x04\x64\x61ta\x12\x17\n\x07raw_log\x18\x06 \x01(\tR\x06rawLog\x12U\n\x04logs\x18\x07 \x03(\x0b\x32(.cosmos.base.abci.v1beta1.ABCIMessageLogB\x17\xc8\xde\x1f\x00\xaa\xdf\x1f\x0f\x41\x42\x43IMessageLogsR\x04logs\x12\x12\n\x04info\x18\x08 \x01(\tR\x04info\x12\x1d\n\ngas_wanted\x18\t \x01(\x03R\tgasWanted\x12\x19\n\x08gas_used\x18\n \x01(\x03R\x07gasUsed\x12$\n\x02tx\x18\x0b \x01(\x0b\x32\x14.google.protobuf.AnyR\x02tx\x12\x1c\n\ttimestamp\x18\x0c \x01(\tR\ttimestamp\x12\x34\n\x06\x65vents\x18\r \x03(\x0b\x32\x16.tendermint.abci.EventB\x04\xc8\xde\x1f\x00R\x06\x65vents:\x04\x88\xa0\x1f\x00\"\xa9\x01\n\x0e\x41\x42\x43IMessageLog\x12*\n\tmsg_index\x18\x01 \x01(\rB\r\xea\xde\x1f\tmsg_indexR\x08msgIndex\x12\x10\n\x03log\x18\x02 \x01(\tR\x03log\x12S\n\x06\x65vents\x18\x03 \x03(\x0b\x32%.cosmos.base.abci.v1beta1.StringEventB\x14\xc8\xde\x1f\x00\xaa\xdf\x1f\x0cStringEventsR\x06\x65vents:\x04\x80\xdc \x01\"r\n\x0bStringEvent\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12I\n\nattributes\x18\x02 \x03(\x0b\x32#.cosmos.base.abci.v1beta1.AttributeB\x04\xc8\xde\x1f\x00R\nattributes:\x04\x80\xdc \x01\"3\n\tAttribute\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\"C\n\x07GasInfo\x12\x1d\n\ngas_wanted\x18\x01 \x01(\x04R\tgasWanted\x12\x19\n\x08gas_used\x18\x02 \x01(\x04R\x07gasUsed\"\xa9\x01\n\x06Result\x12\x16\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x02\x18\x01R\x04\x64\x61ta\x12\x10\n\x03log\x18\x02 \x01(\tR\x03log\x12\x34\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x04\xc8\xde\x1f\x00R\x06\x65vents\x12\x39\n\rmsg_responses\x18\x04 \x03(\x0b\x32\x14.google.protobuf.AnyR\x0cmsgResponses:\x04\x88\xa0\x1f\x00\"\x96\x01\n\x12SimulationResponse\x12\x46\n\x08gas_info\x18\x01 \x01(\x0b\x32!.cosmos.base.abci.v1beta1.GasInfoB\x08\xc8\xde\x1f\x00\xd0\xde\x1f\x01R\x07gasInfo\x12\x38\n\x06result\x18\x02 \x01(\x0b\x32 .cosmos.base.abci.v1beta1.ResultR\x06result\"@\n\x07MsgData\x12\x19\n\x08msg_type\x18\x01 \x01(\tR\x07msgType\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta:\x06\x18\x01\x80\xdc \x01\"\x87\x01\n\tTxMsgData\x12\x39\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32!.cosmos.base.abci.v1beta1.MsgDataB\x02\x18\x01R\x04\x64\x61ta\x12\x39\n\rmsg_responses\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x0cmsgResponses:\x04\x80\xdc \x01\"\xdc\x01\n\x0fSearchTxsResult\x12\x1f\n\x0btotal_count\x18\x01 \x01(\x04R\ntotalCount\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\x12\x1f\n\x0bpage_number\x18\x03 \x01(\x04R\npageNumber\x12\x1d\n\npage_total\x18\x04 \x01(\x04R\tpageTotal\x12\x14\n\x05limit\x18\x05 \x01(\x04R\x05limit\x12\x36\n\x03txs\x18\x06 \x03(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\x03txs:\x04\x80\xdc \x01\"\xd8\x01\n\x12SearchBlocksResult\x12\x1f\n\x0btotal_count\x18\x01 \x01(\x03R\ntotalCount\x12\x14\n\x05\x63ount\x18\x02 \x01(\x03R\x05\x63ount\x12\x1f\n\x0bpage_number\x18\x03 \x01(\x03R\npageNumber\x12\x1d\n\npage_total\x18\x04 \x01(\x03R\tpageTotal\x12\x14\n\x05limit\x18\x05 \x01(\x03R\x05limit\x12/\n\x06\x62locks\x18\x06 \x03(\x0b\x32\x17.tendermint.types.BlockR\x06\x62locks:\x04\x80\xdc \x01\x42\xd4\x01\n\x1c\x63om.cosmos.base.abci.v1beta1B\tAbciProtoP\x01Z\"github.com/cosmos/cosmos-sdk/types\xa2\x02\x03\x43\x42\x41\xaa\x02\x18\x43osmos.Base.Abci.V1beta1\xca\x02\x18\x43osmos\\Base\\Abci\\V1beta1\xe2\x02$Cosmos\\Base\\Abci\\V1beta1\\GPBMetadata\xea\x02\x1b\x43osmos::Base::Abci::V1beta1\xd8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n#cosmos/base/abci/v1beta1/abci.proto\x12\x18\x63osmos.base.abci.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1btendermint/abci/types.proto\x1a\x1ctendermint/types/block.proto\x1a\x19google/protobuf/any.proto"\xcc\x03\n\nTxResponse\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12"\n\x06txhash\x18\x02 \x01(\tB\n\xe2\xde\x1f\x06TxHashR\x06txhash\x12\x1c\n\tcodespace\x18\x03 \x01(\tR\tcodespace\x12\x12\n\x04\x63ode\x18\x04 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x05 \x01(\tR\x04\x64\x61ta\x12\x17\n\x07raw_log\x18\x06 \x01(\tR\x06rawLog\x12U\n\x04logs\x18\x07 \x03(\x0b\x32(.cosmos.base.abci.v1beta1.ABCIMessageLogB\x17\xc8\xde\x1f\x00\xaa\xdf\x1f\x0f\x41\x42\x43IMessageLogsR\x04logs\x12\x12\n\x04info\x18\x08 \x01(\tR\x04info\x12\x1d\n\ngas_wanted\x18\t \x01(\x03R\tgasWanted\x12\x19\n\x08gas_used\x18\n \x01(\x03R\x07gasUsed\x12$\n\x02tx\x18\x0b \x01(\x0b\x32\x14.google.protobuf.AnyR\x02tx\x12\x1c\n\ttimestamp\x18\x0c \x01(\tR\ttimestamp\x12\x34\n\x06\x65vents\x18\r \x03(\x0b\x32\x16.tendermint.abci.EventB\x04\xc8\xde\x1f\x00R\x06\x65vents:\x04\x88\xa0\x1f\x00"\xa9\x01\n\x0e\x41\x42\x43IMessageLog\x12*\n\tmsg_index\x18\x01 \x01(\rB\r\xea\xde\x1f\tmsg_indexR\x08msgIndex\x12\x10\n\x03log\x18\x02 \x01(\tR\x03log\x12S\n\x06\x65vents\x18\x03 \x03(\x0b\x32%.cosmos.base.abci.v1beta1.StringEventB\x14\xc8\xde\x1f\x00\xaa\xdf\x1f\x0cStringEventsR\x06\x65vents:\x04\x80\xdc \x01"r\n\x0bStringEvent\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12I\n\nattributes\x18\x02 \x03(\x0b\x32#.cosmos.base.abci.v1beta1.AttributeB\x04\xc8\xde\x1f\x00R\nattributes:\x04\x80\xdc \x01"3\n\tAttribute\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value"C\n\x07GasInfo\x12\x1d\n\ngas_wanted\x18\x01 \x01(\x04R\tgasWanted\x12\x19\n\x08gas_used\x18\x02 \x01(\x04R\x07gasUsed"\xa9\x01\n\x06Result\x12\x16\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x02\x18\x01R\x04\x64\x61ta\x12\x10\n\x03log\x18\x02 \x01(\tR\x03log\x12\x34\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x04\xc8\xde\x1f\x00R\x06\x65vents\x12\x39\n\rmsg_responses\x18\x04 \x03(\x0b\x32\x14.google.protobuf.AnyR\x0cmsgResponses:\x04\x88\xa0\x1f\x00"\x96\x01\n\x12SimulationResponse\x12\x46\n\x08gas_info\x18\x01 \x01(\x0b\x32!.cosmos.base.abci.v1beta1.GasInfoB\x08\xc8\xde\x1f\x00\xd0\xde\x1f\x01R\x07gasInfo\x12\x38\n\x06result\x18\x02 \x01(\x0b\x32 .cosmos.base.abci.v1beta1.ResultR\x06result"@\n\x07MsgData\x12\x19\n\x08msg_type\x18\x01 \x01(\tR\x07msgType\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta:\x06\x18\x01\x80\xdc \x01"\x87\x01\n\tTxMsgData\x12\x39\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32!.cosmos.base.abci.v1beta1.MsgDataB\x02\x18\x01R\x04\x64\x61ta\x12\x39\n\rmsg_responses\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x0cmsgResponses:\x04\x80\xdc \x01"\xdc\x01\n\x0fSearchTxsResult\x12\x1f\n\x0btotal_count\x18\x01 \x01(\x04R\ntotalCount\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\x12\x1f\n\x0bpage_number\x18\x03 \x01(\x04R\npageNumber\x12\x1d\n\npage_total\x18\x04 \x01(\x04R\tpageTotal\x12\x14\n\x05limit\x18\x05 \x01(\x04R\x05limit\x12\x36\n\x03txs\x18\x06 \x03(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\x03txs:\x04\x80\xdc \x01"\xd8\x01\n\x12SearchBlocksResult\x12\x1f\n\x0btotal_count\x18\x01 \x01(\x03R\ntotalCount\x12\x14\n\x05\x63ount\x18\x02 \x01(\x03R\x05\x63ount\x12\x1f\n\x0bpage_number\x18\x03 \x01(\x03R\npageNumber\x12\x1d\n\npage_total\x18\x04 \x01(\x03R\tpageTotal\x12\x14\n\x05limit\x18\x05 \x01(\x03R\x05limit\x12/\n\x06\x62locks\x18\x06 \x03(\x0b\x32\x17.tendermint.types.BlockR\x06\x62locks:\x04\x80\xdc \x01\x42\xd4\x01\n\x1c\x63om.cosmos.base.abci.v1beta1B\tAbciProtoP\x01Z"github.com/cosmos/cosmos-sdk/types\xa2\x02\x03\x43\x42\x41\xaa\x02\x18\x43osmos.Base.Abci.V1beta1\xca\x02\x18\x43osmos\\Base\\Abci\\V1beta1\xe2\x02$Cosmos\\Base\\Abci\\V1beta1\\GPBMetadata\xea\x02\x1b\x43osmos::Base::Abci::V1beta1\xd8\xe1\x1e\x00\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.abci.v1beta1.abci_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.base.abci.v1beta1.abci_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.base.abci.v1beta1B\tAbciProtoP\001Z\"github.com/cosmos/cosmos-sdk/types\242\002\003CBA\252\002\030Cosmos.Base.Abci.V1beta1\312\002\030Cosmos\\Base\\Abci\\V1beta1\342\002$Cosmos\\Base\\Abci\\V1beta1\\GPBMetadata\352\002\033Cosmos::Base::Abci::V1beta1\330\341\036\000' - _globals['_TXRESPONSE'].fields_by_name['txhash']._loaded_options = None - _globals['_TXRESPONSE'].fields_by_name['txhash']._serialized_options = b'\342\336\037\006TxHash' - _globals['_TXRESPONSE'].fields_by_name['logs']._loaded_options = None - _globals['_TXRESPONSE'].fields_by_name['logs']._serialized_options = b'\310\336\037\000\252\337\037\017ABCIMessageLogs' - _globals['_TXRESPONSE'].fields_by_name['events']._loaded_options = None - _globals['_TXRESPONSE'].fields_by_name['events']._serialized_options = b'\310\336\037\000' - _globals['_TXRESPONSE']._loaded_options = None - _globals['_TXRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_ABCIMESSAGELOG'].fields_by_name['msg_index']._loaded_options = None - _globals['_ABCIMESSAGELOG'].fields_by_name['msg_index']._serialized_options = b'\352\336\037\tmsg_index' - _globals['_ABCIMESSAGELOG'].fields_by_name['events']._loaded_options = None - _globals['_ABCIMESSAGELOG'].fields_by_name['events']._serialized_options = b'\310\336\037\000\252\337\037\014StringEvents' - _globals['_ABCIMESSAGELOG']._loaded_options = None - _globals['_ABCIMESSAGELOG']._serialized_options = b'\200\334 \001' - _globals['_STRINGEVENT'].fields_by_name['attributes']._loaded_options = None - _globals['_STRINGEVENT'].fields_by_name['attributes']._serialized_options = b'\310\336\037\000' - _globals['_STRINGEVENT']._loaded_options = None - _globals['_STRINGEVENT']._serialized_options = b'\200\334 \001' - _globals['_RESULT'].fields_by_name['data']._loaded_options = None - _globals['_RESULT'].fields_by_name['data']._serialized_options = b'\030\001' - _globals['_RESULT'].fields_by_name['events']._loaded_options = None - _globals['_RESULT'].fields_by_name['events']._serialized_options = b'\310\336\037\000' - _globals['_RESULT']._loaded_options = None - _globals['_RESULT']._serialized_options = b'\210\240\037\000' - _globals['_SIMULATIONRESPONSE'].fields_by_name['gas_info']._loaded_options = None - _globals['_SIMULATIONRESPONSE'].fields_by_name['gas_info']._serialized_options = b'\310\336\037\000\320\336\037\001' - _globals['_MSGDATA']._loaded_options = None - _globals['_MSGDATA']._serialized_options = b'\030\001\200\334 \001' - _globals['_TXMSGDATA'].fields_by_name['data']._loaded_options = None - _globals['_TXMSGDATA'].fields_by_name['data']._serialized_options = b'\030\001' - _globals['_TXMSGDATA']._loaded_options = None - _globals['_TXMSGDATA']._serialized_options = b'\200\334 \001' - _globals['_SEARCHTXSRESULT']._loaded_options = None - _globals['_SEARCHTXSRESULT']._serialized_options = b'\200\334 \001' - _globals['_SEARCHBLOCKSRESULT']._loaded_options = None - _globals['_SEARCHBLOCKSRESULT']._serialized_options = b'\200\334 \001' - _globals['_TXRESPONSE']._serialized_start=174 - _globals['_TXRESPONSE']._serialized_end=634 - _globals['_ABCIMESSAGELOG']._serialized_start=637 - _globals['_ABCIMESSAGELOG']._serialized_end=806 - _globals['_STRINGEVENT']._serialized_start=808 - _globals['_STRINGEVENT']._serialized_end=922 - _globals['_ATTRIBUTE']._serialized_start=924 - _globals['_ATTRIBUTE']._serialized_end=975 - _globals['_GASINFO']._serialized_start=977 - _globals['_GASINFO']._serialized_end=1044 - _globals['_RESULT']._serialized_start=1047 - _globals['_RESULT']._serialized_end=1216 - _globals['_SIMULATIONRESPONSE']._serialized_start=1219 - _globals['_SIMULATIONRESPONSE']._serialized_end=1369 - _globals['_MSGDATA']._serialized_start=1371 - _globals['_MSGDATA']._serialized_end=1435 - _globals['_TXMSGDATA']._serialized_start=1438 - _globals['_TXMSGDATA']._serialized_end=1573 - _globals['_SEARCHTXSRESULT']._serialized_start=1576 - _globals['_SEARCHTXSRESULT']._serialized_end=1796 - _globals['_SEARCHBLOCKSRESULT']._serialized_start=1799 - _globals['_SEARCHBLOCKSRESULT']._serialized_end=2015 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\034com.cosmos.base.abci.v1beta1B\tAbciProtoP\001Z"github.com/cosmos/cosmos-sdk/types\242\002\003CBA\252\002\030Cosmos.Base.Abci.V1beta1\312\002\030Cosmos\\Base\\Abci\\V1beta1\342\002$Cosmos\\Base\\Abci\\V1beta1\\GPBMetadata\352\002\033Cosmos::Base::Abci::V1beta1\330\341\036\000' + ) + _globals["_TXRESPONSE"].fields_by_name["txhash"]._loaded_options = None + _globals["_TXRESPONSE"].fields_by_name["txhash"]._serialized_options = b"\342\336\037\006TxHash" + _globals["_TXRESPONSE"].fields_by_name["logs"]._loaded_options = None + _globals["_TXRESPONSE"].fields_by_name[ + "logs" + ]._serialized_options = b"\310\336\037\000\252\337\037\017ABCIMessageLogs" + _globals["_TXRESPONSE"].fields_by_name["events"]._loaded_options = None + _globals["_TXRESPONSE"].fields_by_name["events"]._serialized_options = b"\310\336\037\000" + _globals["_TXRESPONSE"]._loaded_options = None + _globals["_TXRESPONSE"]._serialized_options = b"\210\240\037\000" + _globals["_ABCIMESSAGELOG"].fields_by_name["msg_index"]._loaded_options = None + _globals["_ABCIMESSAGELOG"].fields_by_name["msg_index"]._serialized_options = b"\352\336\037\tmsg_index" + _globals["_ABCIMESSAGELOG"].fields_by_name["events"]._loaded_options = None + _globals["_ABCIMESSAGELOG"].fields_by_name[ + "events" + ]._serialized_options = b"\310\336\037\000\252\337\037\014StringEvents" + _globals["_ABCIMESSAGELOG"]._loaded_options = None + _globals["_ABCIMESSAGELOG"]._serialized_options = b"\200\334 \001" + _globals["_STRINGEVENT"].fields_by_name["attributes"]._loaded_options = None + _globals["_STRINGEVENT"].fields_by_name["attributes"]._serialized_options = b"\310\336\037\000" + _globals["_STRINGEVENT"]._loaded_options = None + _globals["_STRINGEVENT"]._serialized_options = b"\200\334 \001" + _globals["_RESULT"].fields_by_name["data"]._loaded_options = None + _globals["_RESULT"].fields_by_name["data"]._serialized_options = b"\030\001" + _globals["_RESULT"].fields_by_name["events"]._loaded_options = None + _globals["_RESULT"].fields_by_name["events"]._serialized_options = b"\310\336\037\000" + _globals["_RESULT"]._loaded_options = None + _globals["_RESULT"]._serialized_options = b"\210\240\037\000" + _globals["_SIMULATIONRESPONSE"].fields_by_name["gas_info"]._loaded_options = None + _globals["_SIMULATIONRESPONSE"].fields_by_name["gas_info"]._serialized_options = b"\310\336\037\000\320\336\037\001" + _globals["_MSGDATA"]._loaded_options = None + _globals["_MSGDATA"]._serialized_options = b"\030\001\200\334 \001" + _globals["_TXMSGDATA"].fields_by_name["data"]._loaded_options = None + _globals["_TXMSGDATA"].fields_by_name["data"]._serialized_options = b"\030\001" + _globals["_TXMSGDATA"]._loaded_options = None + _globals["_TXMSGDATA"]._serialized_options = b"\200\334 \001" + _globals["_SEARCHTXSRESULT"]._loaded_options = None + _globals["_SEARCHTXSRESULT"]._serialized_options = b"\200\334 \001" + _globals["_SEARCHBLOCKSRESULT"]._loaded_options = None + _globals["_SEARCHBLOCKSRESULT"]._serialized_options = b"\200\334 \001" + _globals["_TXRESPONSE"]._serialized_start = 174 + _globals["_TXRESPONSE"]._serialized_end = 634 + _globals["_ABCIMESSAGELOG"]._serialized_start = 637 + _globals["_ABCIMESSAGELOG"]._serialized_end = 806 + _globals["_STRINGEVENT"]._serialized_start = 808 + _globals["_STRINGEVENT"]._serialized_end = 922 + _globals["_ATTRIBUTE"]._serialized_start = 924 + _globals["_ATTRIBUTE"]._serialized_end = 975 + _globals["_GASINFO"]._serialized_start = 977 + _globals["_GASINFO"]._serialized_end = 1044 + _globals["_RESULT"]._serialized_start = 1047 + _globals["_RESULT"]._serialized_end = 1216 + _globals["_SIMULATIONRESPONSE"]._serialized_start = 1219 + _globals["_SIMULATIONRESPONSE"]._serialized_end = 1369 + _globals["_MSGDATA"]._serialized_start = 1371 + _globals["_MSGDATA"]._serialized_end = 1435 + _globals["_TXMSGDATA"]._serialized_start = 1438 + _globals["_TXMSGDATA"]._serialized_end = 1573 + _globals["_SEARCHTXSRESULT"]._serialized_start = 1576 + _globals["_SEARCHTXSRESULT"]._serialized_end = 1796 + _globals["_SEARCHBLOCKSRESULT"]._serialized_start = 1799 + _globals["_SEARCHBLOCKSRESULT"]._serialized_end = 2015 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2_grpc.py b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2_grpc.py +++ b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/base/node/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py index 4c3aa7b6..2325ae40 100644 --- a/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,28 +18,36 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/base/node/v1beta1/query.proto\x12\x18\x63osmos.base.node.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\"\x0f\n\rConfigRequest\"\xb8\x01\n\x0e\x43onfigResponse\x12*\n\x11minimum_gas_price\x18\x01 \x01(\tR\x0fminimumGasPrice\x12.\n\x13pruning_keep_recent\x18\x02 \x01(\tR\x11pruningKeepRecent\x12)\n\x10pruning_interval\x18\x03 \x01(\tR\x0fpruningInterval\x12\x1f\n\x0bhalt_height\x18\x04 \x01(\x04R\nhaltHeight\"\x0f\n\rStatusRequest\"\xde\x01\n\x0eStatusResponse\x12\x32\n\x15\x65\x61rliest_store_height\x18\x01 \x01(\x04R\x13\x65\x61rliestStoreHeight\x12\x16\n\x06height\x18\x02 \x01(\x04R\x06height\x12>\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\ttimestamp\x12\x19\n\x08\x61pp_hash\x18\x04 \x01(\x0cR\x07\x61ppHash\x12%\n\x0evalidator_hash\x18\x05 \x01(\x0cR\rvalidatorHash2\x99\x02\n\x07Service\x12\x85\x01\n\x06\x43onfig\x12\'.cosmos.base.node.v1beta1.ConfigRequest\x1a(.cosmos.base.node.v1beta1.ConfigResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmos/base/node/v1beta1/config\x12\x85\x01\n\x06Status\x12\'.cosmos.base.node.v1beta1.StatusRequest\x1a(.cosmos.base.node.v1beta1.StatusResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmos/base/node/v1beta1/statusB\xdc\x01\n\x1c\x63om.cosmos.base.node.v1beta1B\nQueryProtoP\x01Z-github.com/cosmos/cosmos-sdk/client/grpc/node\xa2\x02\x03\x43\x42N\xaa\x02\x18\x43osmos.Base.Node.V1beta1\xca\x02\x18\x43osmos\\Base\\Node\\V1beta1\xe2\x02$Cosmos\\Base\\Node\\V1beta1\\GPBMetadata\xea\x02\x1b\x43osmos::Base::Node::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$cosmos/base/node/v1beta1/query.proto\x12\x18\x63osmos.base.node.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto"\x0f\n\rConfigRequest"\xb8\x01\n\x0e\x43onfigResponse\x12*\n\x11minimum_gas_price\x18\x01 \x01(\tR\x0fminimumGasPrice\x12.\n\x13pruning_keep_recent\x18\x02 \x01(\tR\x11pruningKeepRecent\x12)\n\x10pruning_interval\x18\x03 \x01(\tR\x0fpruningInterval\x12\x1f\n\x0bhalt_height\x18\x04 \x01(\x04R\nhaltHeight"\x0f\n\rStatusRequest"\xde\x01\n\x0eStatusResponse\x12\x32\n\x15\x65\x61rliest_store_height\x18\x01 \x01(\x04R\x13\x65\x61rliestStoreHeight\x12\x16\n\x06height\x18\x02 \x01(\x04R\x06height\x12>\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\ttimestamp\x12\x19\n\x08\x61pp_hash\x18\x04 \x01(\x0cR\x07\x61ppHash\x12%\n\x0evalidator_hash\x18\x05 \x01(\x0cR\rvalidatorHash2\x99\x02\n\x07Service\x12\x85\x01\n\x06\x43onfig\x12\'.cosmos.base.node.v1beta1.ConfigRequest\x1a(.cosmos.base.node.v1beta1.ConfigResponse"(\x82\xd3\xe4\x93\x02"\x12 /cosmos/base/node/v1beta1/config\x12\x85\x01\n\x06Status\x12\'.cosmos.base.node.v1beta1.StatusRequest\x1a(.cosmos.base.node.v1beta1.StatusResponse"(\x82\xd3\xe4\x93\x02"\x12 /cosmos/base/node/v1beta1/statusB\xdc\x01\n\x1c\x63om.cosmos.base.node.v1beta1B\nQueryProtoP\x01Z-github.com/cosmos/cosmos-sdk/client/grpc/node\xa2\x02\x03\x43\x42N\xaa\x02\x18\x43osmos.Base.Node.V1beta1\xca\x02\x18\x43osmos\\Base\\Node\\V1beta1\xe2\x02$Cosmos\\Base\\Node\\V1beta1\\GPBMetadata\xea\x02\x1b\x43osmos::Base::Node::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.node.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.base.node.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.base.node.v1beta1B\nQueryProtoP\001Z-github.com/cosmos/cosmos-sdk/client/grpc/node\242\002\003CBN\252\002\030Cosmos.Base.Node.V1beta1\312\002\030Cosmos\\Base\\Node\\V1beta1\342\002$Cosmos\\Base\\Node\\V1beta1\\GPBMetadata\352\002\033Cosmos::Base::Node::V1beta1' - _globals['_STATUSRESPONSE'].fields_by_name['timestamp']._loaded_options = None - _globals['_STATUSRESPONSE'].fields_by_name['timestamp']._serialized_options = b'\220\337\037\001' - _globals['_SERVICE'].methods_by_name['Config']._loaded_options = None - _globals['_SERVICE'].methods_by_name['Config']._serialized_options = b'\202\323\344\223\002\"\022 /cosmos/base/node/v1beta1/config' - _globals['_SERVICE'].methods_by_name['Status']._loaded_options = None - _globals['_SERVICE'].methods_by_name['Status']._serialized_options = b'\202\323\344\223\002\"\022 /cosmos/base/node/v1beta1/status' - _globals['_CONFIGREQUEST']._serialized_start=151 - _globals['_CONFIGREQUEST']._serialized_end=166 - _globals['_CONFIGRESPONSE']._serialized_start=169 - _globals['_CONFIGRESPONSE']._serialized_end=353 - _globals['_STATUSREQUEST']._serialized_start=355 - _globals['_STATUSREQUEST']._serialized_end=370 - _globals['_STATUSRESPONSE']._serialized_start=373 - _globals['_STATUSRESPONSE']._serialized_end=595 - _globals['_SERVICE']._serialized_start=598 - _globals['_SERVICE']._serialized_end=879 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\034com.cosmos.base.node.v1beta1B\nQueryProtoP\001Z-github.com/cosmos/cosmos-sdk/client/grpc/node\242\002\003CBN\252\002\030Cosmos.Base.Node.V1beta1\312\002\030Cosmos\\Base\\Node\\V1beta1\342\002$Cosmos\\Base\\Node\\V1beta1\\GPBMetadata\352\002\033Cosmos::Base::Node::V1beta1" + ) + _globals["_STATUSRESPONSE"].fields_by_name["timestamp"]._loaded_options = None + _globals["_STATUSRESPONSE"].fields_by_name["timestamp"]._serialized_options = b"\220\337\037\001" + _globals["_SERVICE"].methods_by_name["Config"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "Config" + ]._serialized_options = b'\202\323\344\223\002"\022 /cosmos/base/node/v1beta1/config' + _globals["_SERVICE"].methods_by_name["Status"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "Status" + ]._serialized_options = b'\202\323\344\223\002"\022 /cosmos/base/node/v1beta1/status' + _globals["_CONFIGREQUEST"]._serialized_start = 151 + _globals["_CONFIGREQUEST"]._serialized_end = 166 + _globals["_CONFIGRESPONSE"]._serialized_start = 169 + _globals["_CONFIGRESPONSE"]._serialized_end = 353 + _globals["_STATUSREQUEST"]._serialized_start = 355 + _globals["_STATUSREQUEST"]._serialized_end = 370 + _globals["_STATUSRESPONSE"]._serialized_start = 373 + _globals["_STATUSRESPONSE"]._serialized_end = 595 + _globals["_SERVICE"]._serialized_start = 598 + _globals["_SERVICE"]._serialized_end = 879 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2_grpc.py index 3cc93343..acd4348d 100644 --- a/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class ServiceStub(object): - """Service defines the gRPC querier service for node related queries. - """ + """Service defines the gRPC querier service for node related queries.""" def __init__(self, channel): """Constructor. @@ -16,75 +15,74 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Config = channel.unary_unary( - '/cosmos.base.node.v1beta1.Service/Config', - request_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigResponse.FromString, - _registered_method=True) + "/cosmos.base.node.v1beta1.Service/Config", + request_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigResponse.FromString, + _registered_method=True, + ) self.Status = channel.unary_unary( - '/cosmos.base.node.v1beta1.Service/Status', - request_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusResponse.FromString, - _registered_method=True) + "/cosmos.base.node.v1beta1.Service/Status", + request_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusResponse.FromString, + _registered_method=True, + ) class ServiceServicer(object): - """Service defines the gRPC querier service for node related queries. - """ + """Service defines the gRPC querier service for node related queries.""" def Config(self, request, context): - """Config queries for the operator configuration. - """ + """Config queries for the operator configuration.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Status(self, request, context): - """Status queries for the node status. - """ + """Status queries for the node status.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_ServiceServicer_to_server(servicer, server): rpc_method_handlers = { - 'Config': grpc.unary_unary_rpc_method_handler( - servicer.Config, - request_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigRequest.FromString, - response_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigResponse.SerializeToString, - ), - 'Status': grpc.unary_unary_rpc_method_handler( - servicer.Status, - request_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusRequest.FromString, - response_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusResponse.SerializeToString, - ), + "Config": grpc.unary_unary_rpc_method_handler( + servicer.Config, + request_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigRequest.FromString, + response_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigResponse.SerializeToString, + ), + "Status": grpc.unary_unary_rpc_method_handler( + servicer.Status, + request_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusRequest.FromString, + response_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.base.node.v1beta1.Service', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.base.node.v1beta1.Service", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.base.node.v1beta1.Service', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.base.node.v1beta1.Service", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Service(object): - """Service defines the gRPC querier service for node related queries. - """ + """Service defines the gRPC querier service for node related queries.""" @staticmethod - def Config(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Config( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.base.node.v1beta1.Service/Config', + "/cosmos.base.node.v1beta1.Service/Config", cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigRequest.SerializeToString, cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigResponse.FromString, options, @@ -95,23 +93,26 @@ def Config(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Status(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Status( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.base.node.v1beta1.Service/Status', + "/cosmos.base.node.v1beta1.Service/Status", cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusRequest.SerializeToString, cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusResponse.FromString, options, @@ -122,4 +123,5 @@ def Status(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py index 82ad6736..0187fdd9 100644 --- a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py +++ b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py @@ -7,23 +7,26 @@ 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*cosmos/base/query/v1beta1/pagination.proto\x12\x19\x63osmos.base.query.v1beta1\"\x88\x01\n\x0bPageRequest\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x16\n\x06offset\x18\x02 \x01(\x04R\x06offset\x12\x14\n\x05limit\x18\x03 \x01(\x04R\x05limit\x12\x1f\n\x0b\x63ount_total\x18\x04 \x01(\x08R\ncountTotal\x12\x18\n\x07reverse\x18\x05 \x01(\x08R\x07reverse\"?\n\x0cPageResponse\x12\x19\n\x08next_key\x18\x01 \x01(\x0cR\x07nextKey\x12\x14\n\x05total\x18\x02 \x01(\x04R\x05totalB\xe1\x01\n\x1d\x63om.cosmos.base.query.v1beta1B\x0fPaginationProtoP\x01Z(github.com/cosmos/cosmos-sdk/types/query\xa2\x02\x03\x43\x42Q\xaa\x02\x19\x43osmos.Base.Query.V1beta1\xca\x02\x19\x43osmos\\Base\\Query\\V1beta1\xe2\x02%Cosmos\\Base\\Query\\V1beta1\\GPBMetadata\xea\x02\x1c\x43osmos::Base::Query::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n*cosmos/base/query/v1beta1/pagination.proto\x12\x19\x63osmos.base.query.v1beta1"\x88\x01\n\x0bPageRequest\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x16\n\x06offset\x18\x02 \x01(\x04R\x06offset\x12\x14\n\x05limit\x18\x03 \x01(\x04R\x05limit\x12\x1f\n\x0b\x63ount_total\x18\x04 \x01(\x08R\ncountTotal\x12\x18\n\x07reverse\x18\x05 \x01(\x08R\x07reverse"?\n\x0cPageResponse\x12\x19\n\x08next_key\x18\x01 \x01(\x0cR\x07nextKey\x12\x14\n\x05total\x18\x02 \x01(\x04R\x05totalB\xe1\x01\n\x1d\x63om.cosmos.base.query.v1beta1B\x0fPaginationProtoP\x01Z(github.com/cosmos/cosmos-sdk/types/query\xa2\x02\x03\x43\x42Q\xaa\x02\x19\x43osmos.Base.Query.V1beta1\xca\x02\x19\x43osmos\\Base\\Query\\V1beta1\xe2\x02%Cosmos\\Base\\Query\\V1beta1\\GPBMetadata\xea\x02\x1c\x43osmos::Base::Query::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.query.v1beta1.pagination_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.base.query.v1beta1.pagination_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.base.query.v1beta1B\017PaginationProtoP\001Z(github.com/cosmos/cosmos-sdk/types/query\242\002\003CBQ\252\002\031Cosmos.Base.Query.V1beta1\312\002\031Cosmos\\Base\\Query\\V1beta1\342\002%Cosmos\\Base\\Query\\V1beta1\\GPBMetadata\352\002\034Cosmos::Base::Query::V1beta1' - _globals['_PAGEREQUEST']._serialized_start=74 - _globals['_PAGEREQUEST']._serialized_end=210 - _globals['_PAGERESPONSE']._serialized_start=212 - _globals['_PAGERESPONSE']._serialized_end=275 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\035com.cosmos.base.query.v1beta1B\017PaginationProtoP\001Z(github.com/cosmos/cosmos-sdk/types/query\242\002\003CBQ\252\002\031Cosmos.Base.Query.V1beta1\312\002\031Cosmos\\Base\\Query\\V1beta1\342\002%Cosmos\\Base\\Query\\V1beta1\\GPBMetadata\352\002\034Cosmos::Base::Query::V1beta1" + ) + _globals["_PAGEREQUEST"]._serialized_start = 74 + _globals["_PAGEREQUEST"]._serialized_end = 210 + _globals["_PAGERESPONSE"]._serialized_start = 212 + _globals["_PAGERESPONSE"]._serialized_end = 275 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2_grpc.py b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2_grpc.py +++ b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/base/reflection/v1beta1/reflection_pb2.py b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py index 4a29ceba..168dec59 100644 --- a/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py +++ b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,26 +16,36 @@ from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/cosmos/base/reflection/v1beta1/reflection.proto\x12\x1e\x63osmos.base.reflection.v1beta1\x1a\x1cgoogle/api/annotations.proto\"\x1a\n\x18ListAllInterfacesRequest\"D\n\x19ListAllInterfacesResponse\x12\'\n\x0finterface_names\x18\x01 \x03(\tR\x0einterfaceNames\"C\n\x1aListImplementationsRequest\x12%\n\x0einterface_name\x18\x01 \x01(\tR\rinterfaceName\"_\n\x1bListImplementationsResponse\x12@\n\x1cimplementation_message_names\x18\x01 \x03(\tR\x1aimplementationMessageNames2\xb8\x03\n\x11ReflectionService\x12\xbc\x01\n\x11ListAllInterfaces\x12\x38.cosmos.base.reflection.v1beta1.ListAllInterfacesRequest\x1a\x39.cosmos.base.reflection.v1beta1.ListAllInterfacesResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmos/base/reflection/v1beta1/interfaces\x12\xe3\x01\n\x13ListImplementations\x12:.cosmos.base.reflection.v1beta1.ListImplementationsRequest\x1a;.cosmos.base.reflection.v1beta1.ListImplementationsResponse\"S\x82\xd3\xe4\x93\x02M\x12K/cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementationsB\x85\x02\n\"com.cosmos.base.reflection.v1beta1B\x0fReflectionProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/reflection\xa2\x02\x03\x43\x42R\xaa\x02\x1e\x43osmos.Base.Reflection.V1beta1\xca\x02\x1e\x43osmos\\Base\\Reflection\\V1beta1\xe2\x02*Cosmos\\Base\\Reflection\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Reflection::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n/cosmos/base/reflection/v1beta1/reflection.proto\x12\x1e\x63osmos.base.reflection.v1beta1\x1a\x1cgoogle/api/annotations.proto"\x1a\n\x18ListAllInterfacesRequest"D\n\x19ListAllInterfacesResponse\x12\'\n\x0finterface_names\x18\x01 \x03(\tR\x0einterfaceNames"C\n\x1aListImplementationsRequest\x12%\n\x0einterface_name\x18\x01 \x01(\tR\rinterfaceName"_\n\x1bListImplementationsResponse\x12@\n\x1cimplementation_message_names\x18\x01 \x03(\tR\x1aimplementationMessageNames2\xb8\x03\n\x11ReflectionService\x12\xbc\x01\n\x11ListAllInterfaces\x12\x38.cosmos.base.reflection.v1beta1.ListAllInterfacesRequest\x1a\x39.cosmos.base.reflection.v1beta1.ListAllInterfacesResponse"2\x82\xd3\xe4\x93\x02,\x12*/cosmos/base/reflection/v1beta1/interfaces\x12\xe3\x01\n\x13ListImplementations\x12:.cosmos.base.reflection.v1beta1.ListImplementationsRequest\x1a;.cosmos.base.reflection.v1beta1.ListImplementationsResponse"S\x82\xd3\xe4\x93\x02M\x12K/cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementationsB\x85\x02\n"com.cosmos.base.reflection.v1beta1B\x0fReflectionProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/reflection\xa2\x02\x03\x43\x42R\xaa\x02\x1e\x43osmos.Base.Reflection.V1beta1\xca\x02\x1e\x43osmos\\Base\\Reflection\\V1beta1\xe2\x02*Cosmos\\Base\\Reflection\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Reflection::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.reflection.v1beta1.reflection_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.base.reflection.v1beta1.reflection_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.cosmos.base.reflection.v1beta1B\017ReflectionProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/reflection\242\002\003CBR\252\002\036Cosmos.Base.Reflection.V1beta1\312\002\036Cosmos\\Base\\Reflection\\V1beta1\342\002*Cosmos\\Base\\Reflection\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Reflection::V1beta1' - _globals['_REFLECTIONSERVICE'].methods_by_name['ListAllInterfaces']._loaded_options = None - _globals['_REFLECTIONSERVICE'].methods_by_name['ListAllInterfaces']._serialized_options = b'\202\323\344\223\002,\022*/cosmos/base/reflection/v1beta1/interfaces' - _globals['_REFLECTIONSERVICE'].methods_by_name['ListImplementations']._loaded_options = None - _globals['_REFLECTIONSERVICE'].methods_by_name['ListImplementations']._serialized_options = b'\202\323\344\223\002M\022K/cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementations' - _globals['_LISTALLINTERFACESREQUEST']._serialized_start=113 - _globals['_LISTALLINTERFACESREQUEST']._serialized_end=139 - _globals['_LISTALLINTERFACESRESPONSE']._serialized_start=141 - _globals['_LISTALLINTERFACESRESPONSE']._serialized_end=209 - _globals['_LISTIMPLEMENTATIONSREQUEST']._serialized_start=211 - _globals['_LISTIMPLEMENTATIONSREQUEST']._serialized_end=278 - _globals['_LISTIMPLEMENTATIONSRESPONSE']._serialized_start=280 - _globals['_LISTIMPLEMENTATIONSRESPONSE']._serialized_end=375 - _globals['_REFLECTIONSERVICE']._serialized_start=378 - _globals['_REFLECTIONSERVICE']._serialized_end=818 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n"com.cosmos.base.reflection.v1beta1B\017ReflectionProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/reflection\242\002\003CBR\252\002\036Cosmos.Base.Reflection.V1beta1\312\002\036Cosmos\\Base\\Reflection\\V1beta1\342\002*Cosmos\\Base\\Reflection\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Reflection::V1beta1' + ) + _globals["_REFLECTIONSERVICE"].methods_by_name["ListAllInterfaces"]._loaded_options = None + _globals["_REFLECTIONSERVICE"].methods_by_name[ + "ListAllInterfaces" + ]._serialized_options = b"\202\323\344\223\002,\022*/cosmos/base/reflection/v1beta1/interfaces" + _globals["_REFLECTIONSERVICE"].methods_by_name["ListImplementations"]._loaded_options = None + _globals["_REFLECTIONSERVICE"].methods_by_name[ + "ListImplementations" + ]._serialized_options = ( + b"\202\323\344\223\002M\022K/cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementations" + ) + _globals["_LISTALLINTERFACESREQUEST"]._serialized_start = 113 + _globals["_LISTALLINTERFACESREQUEST"]._serialized_end = 139 + _globals["_LISTALLINTERFACESRESPONSE"]._serialized_start = 141 + _globals["_LISTALLINTERFACESRESPONSE"]._serialized_end = 209 + _globals["_LISTIMPLEMENTATIONSREQUEST"]._serialized_start = 211 + _globals["_LISTIMPLEMENTATIONSREQUEST"]._serialized_end = 278 + _globals["_LISTIMPLEMENTATIONSRESPONSE"]._serialized_start = 280 + _globals["_LISTIMPLEMENTATIONSRESPONSE"]._serialized_end = 375 + _globals["_REFLECTIONSERVICE"]._serialized_start = 378 + _globals["_REFLECTIONSERVICE"]._serialized_end = 818 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2_grpc.py b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2_grpc.py index 9a956494..bd143494 100644 --- a/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2_grpc.py +++ b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2_grpc.py @@ -2,12 +2,13 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.cosmos.base.reflection.v1beta1 import reflection_pb2 as cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2 +from pyinjective.proto.cosmos.base.reflection.v1beta1 import ( + reflection_pb2 as cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2, +) class ReflectionServiceStub(object): - """ReflectionService defines a service for interface reflection. - """ + """ReflectionService defines a service for interface reflection.""" def __init__(self, channel): """Constructor. @@ -16,77 +17,80 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.ListAllInterfaces = channel.unary_unary( - '/cosmos.base.reflection.v1beta1.ReflectionService/ListAllInterfaces', - request_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesResponse.FromString, - _registered_method=True) + "/cosmos.base.reflection.v1beta1.ReflectionService/ListAllInterfaces", + request_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesResponse.FromString, + _registered_method=True, + ) self.ListImplementations = channel.unary_unary( - '/cosmos.base.reflection.v1beta1.ReflectionService/ListImplementations', - request_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsResponse.FromString, - _registered_method=True) + "/cosmos.base.reflection.v1beta1.ReflectionService/ListImplementations", + request_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsResponse.FromString, + _registered_method=True, + ) class ReflectionServiceServicer(object): - """ReflectionService defines a service for interface reflection. - """ + """ReflectionService defines a service for interface reflection.""" def ListAllInterfaces(self, request, context): """ListAllInterfaces lists all the interfaces registered in the interface registry. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListImplementations(self, request, context): """ListImplementations list all the concrete types that implement a given interface. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_ReflectionServiceServicer_to_server(servicer, server): rpc_method_handlers = { - 'ListAllInterfaces': grpc.unary_unary_rpc_method_handler( - servicer.ListAllInterfaces, - request_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesRequest.FromString, - response_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesResponse.SerializeToString, - ), - 'ListImplementations': grpc.unary_unary_rpc_method_handler( - servicer.ListImplementations, - request_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsRequest.FromString, - response_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsResponse.SerializeToString, - ), + "ListAllInterfaces": grpc.unary_unary_rpc_method_handler( + servicer.ListAllInterfaces, + request_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesRequest.FromString, + response_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesResponse.SerializeToString, + ), + "ListImplementations": grpc.unary_unary_rpc_method_handler( + servicer.ListImplementations, + request_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsRequest.FromString, + response_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.base.reflection.v1beta1.ReflectionService', rpc_method_handlers) + "cosmos.base.reflection.v1beta1.ReflectionService", rpc_method_handlers + ) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.base.reflection.v1beta1.ReflectionService', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.base.reflection.v1beta1.ReflectionService", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class ReflectionService(object): - """ReflectionService defines a service for interface reflection. - """ + """ReflectionService defines a service for interface reflection.""" @staticmethod - def ListAllInterfaces(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ListAllInterfaces( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.base.reflection.v1beta1.ReflectionService/ListAllInterfaces', + "/cosmos.base.reflection.v1beta1.ReflectionService/ListAllInterfaces", cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesRequest.SerializeToString, cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesResponse.FromString, options, @@ -97,23 +101,26 @@ def ListAllInterfaces(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ListImplementations(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ListImplementations( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.base.reflection.v1beta1.ReflectionService/ListImplementations', + "/cosmos.base.reflection.v1beta1.ReflectionService/ListImplementations", cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsRequest.SerializeToString, cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsResponse.FromString, options, @@ -124,4 +131,5 @@ def ListImplementations(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py b/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py index 9b23a168..0ba11318 100644 --- a/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py +++ b/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,78 +16,94 @@ from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0cosmos/base/reflection/v2alpha1/reflection.proto\x12\x1f\x63osmos.base.reflection.v2alpha1\x1a\x1cgoogle/api/annotations.proto\"\xe7\x03\n\rAppDescriptor\x12\x46\n\x05\x61uthn\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.AuthnDescriptorR\x05\x61uthn\x12\x46\n\x05\x63hain\x18\x02 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.ChainDescriptorR\x05\x63hain\x12\x46\n\x05\x63odec\x18\x03 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.CodecDescriptorR\x05\x63odec\x12^\n\rconfiguration\x18\x04 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.ConfigurationDescriptorR\rconfiguration\x12_\n\x0equery_services\x18\x05 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.QueryServicesDescriptorR\rqueryServices\x12=\n\x02tx\x18\x06 \x01(\x0b\x32-.cosmos.base.reflection.v2alpha1.TxDescriptorR\x02tx\"n\n\x0cTxDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x42\n\x04msgs\x18\x02 \x03(\x0b\x32..cosmos.base.reflection.v2alpha1.MsgDescriptorR\x04msgs\"h\n\x0f\x41uthnDescriptor\x12U\n\nsign_modes\x18\x01 \x03(\x0b\x32\x36.cosmos.base.reflection.v2alpha1.SigningModeDescriptorR\tsignModes\"\x91\x01\n\x15SigningModeDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n\x06number\x18\x02 \x01(\x05R\x06number\x12L\n#authn_info_provider_method_fullname\x18\x03 \x01(\tR\x1f\x61uthnInfoProviderMethodFullname\"!\n\x0f\x43hainDescriptor\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"g\n\x0f\x43odecDescriptor\x12T\n\ninterfaces\x18\x01 \x03(\x0b\x32\x34.cosmos.base.reflection.v2alpha1.InterfaceDescriptorR\ninterfaces\"\xb2\x02\n\x13InterfaceDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x86\x01\n\x1cinterface_accepting_messages\x18\x02 \x03(\x0b\x32\x44.cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptorR\x1ainterfaceAcceptingMessages\x12v\n\x16interface_implementers\x18\x03 \x03(\x0b\x32?.cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptorR\x15interfaceImplementers\"W\n\x1eInterfaceImplementerDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x19\n\x08type_url\x18\x02 \x01(\tR\x07typeUrl\"w\n#InterfaceAcceptingMessageDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x34\n\x16\x66ield_descriptor_names\x18\x02 \x03(\tR\x14\x66ieldDescriptorNames\"\\\n\x17\x43onfigurationDescriptor\x12\x41\n\x1d\x62\x65\x63h32_account_address_prefix\x18\x01 \x01(\tR\x1a\x62\x65\x63h32AccountAddressPrefix\"1\n\rMsgDescriptor\x12 \n\x0cmsg_type_url\x18\x01 \x01(\tR\nmsgTypeUrl\"\x1b\n\x19GetAuthnDescriptorRequest\"d\n\x1aGetAuthnDescriptorResponse\x12\x46\n\x05\x61uthn\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.AuthnDescriptorR\x05\x61uthn\"\x1b\n\x19GetChainDescriptorRequest\"d\n\x1aGetChainDescriptorResponse\x12\x46\n\x05\x63hain\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.ChainDescriptorR\x05\x63hain\"\x1b\n\x19GetCodecDescriptorRequest\"d\n\x1aGetCodecDescriptorResponse\x12\x46\n\x05\x63odec\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.CodecDescriptorR\x05\x63odec\"#\n!GetConfigurationDescriptorRequest\"v\n\"GetConfigurationDescriptorResponse\x12P\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.ConfigurationDescriptorR\x06\x63onfig\"#\n!GetQueryServicesDescriptorRequest\"x\n\"GetQueryServicesDescriptorResponse\x12R\n\x07queries\x18\x01 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.QueryServicesDescriptorR\x07queries\"\x18\n\x16GetTxDescriptorRequest\"X\n\x17GetTxDescriptorResponse\x12=\n\x02tx\x18\x01 \x01(\x0b\x32-.cosmos.base.reflection.v2alpha1.TxDescriptorR\x02tx\"y\n\x17QueryServicesDescriptor\x12^\n\x0equery_services\x18\x01 \x03(\x0b\x32\x37.cosmos.base.reflection.v2alpha1.QueryServiceDescriptorR\rqueryServices\"\xa3\x01\n\x16QueryServiceDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x1b\n\tis_module\x18\x02 \x01(\x08R\x08isModule\x12P\n\x07methods\x18\x03 \x03(\x0b\x32\x36.cosmos.base.reflection.v2alpha1.QueryMethodDescriptorR\x07methods\"S\n\x15QueryMethodDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12&\n\x0f\x66ull_query_path\x18\x02 \x01(\tR\rfullQueryPath2\xa7\n\n\x11ReflectionService\x12\xcb\x01\n\x12GetAuthnDescriptor\x12:.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest\x1a;.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/base/reflection/v1beta1/app_descriptor/authn\x12\xcb\x01\n\x12GetChainDescriptor\x12:.cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest\x1a;.cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/base/reflection/v1beta1/app_descriptor/chain\x12\xcb\x01\n\x12GetCodecDescriptor\x12:.cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest\x1a;.cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/base/reflection/v1beta1/app_descriptor/codec\x12\xeb\x01\n\x1aGetConfigurationDescriptor\x12\x42.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest\x1a\x43.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse\"D\x82\xd3\xe4\x93\x02>\x12\x12\x12\x12\022\022\022\022.cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest\x1a?.cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/cosmos/base/tendermint/v1beta1/validatorsets/{height}\x12\xa4\x01\n\tABCIQuery\x12\x30.cosmos.base.tendermint.v1beta1.ABCIQueryRequest\x1a\x31.cosmos.base.tendermint.v1beta1.ABCIQueryResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmos/base/tendermint/v1beta1/abci_queryB\x80\x02\n\"com.cosmos.base.tendermint.v1beta1B\nQueryProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\xa2\x02\x03\x43\x42T\xaa\x02\x1e\x43osmos.Base.Tendermint.V1beta1\xca\x02\x1e\x43osmos\\Base\\Tendermint\\V1beta1\xe2\x02*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Tendermint::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n*cosmos/base/tendermint/v1beta1/query.proto\x12\x1e\x63osmos.base.tendermint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1atendermint/p2p/types.proto\x1a\x1ctendermint/types/types.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a*cosmos/base/tendermint/v1beta1/types.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1ctendermint/types/block.proto\x1a\x11\x61mino/amino.proto"\x80\x01\n\x1eGetValidatorSetByHeightRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xd8\x01\n\x1fGetValidatorSetByHeightResponse\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x03R\x0b\x62lockHeight\x12I\n\nvalidators\x18\x02 \x03(\x0b\x32).cosmos.base.tendermint.v1beta1.ValidatorR\nvalidators\x12G\n\npagination\x18\x03 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"f\n\x1cGetLatestValidatorSetRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xd6\x01\n\x1dGetLatestValidatorSetResponse\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x03R\x0b\x62lockHeight\x12I\n\nvalidators\x18\x02 \x03(\x0b\x32).cosmos.base.tendermint.v1beta1.ValidatorR\nvalidators\x12G\n\npagination\x18\x03 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xbe\x01\n\tValidator\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12-\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06pubKey\x12!\n\x0cvoting_power\x18\x03 \x01(\x03R\x0bvotingPower\x12+\n\x11proposer_priority\x18\x04 \x01(\x03R\x10proposerPriority"1\n\x17GetBlockByHeightRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height"\xc3\x01\n\x18GetBlockByHeightResponse\x12\x34\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDR\x07\x62lockId\x12-\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x17.tendermint.types.BlockR\x05\x62lock\x12\x42\n\tsdk_block\x18\x03 \x01(\x0b\x32%.cosmos.base.tendermint.v1beta1.BlockR\x08sdkBlock"\x17\n\x15GetLatestBlockRequest"\xc1\x01\n\x16GetLatestBlockResponse\x12\x34\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDR\x07\x62lockId\x12-\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x17.tendermint.types.BlockR\x05\x62lock\x12\x42\n\tsdk_block\x18\x03 \x01(\x0b\x32%.cosmos.base.tendermint.v1beta1.BlockR\x08sdkBlock"\x13\n\x11GetSyncingRequest".\n\x12GetSyncingResponse\x12\x18\n\x07syncing\x18\x01 \x01(\x08R\x07syncing"\x14\n\x12GetNodeInfoRequest"\xc0\x01\n\x13GetNodeInfoResponse\x12K\n\x11\x64\x65\x66\x61ult_node_info\x18\x01 \x01(\x0b\x32\x1f.tendermint.p2p.DefaultNodeInfoR\x0f\x64\x65\x66\x61ultNodeInfo\x12\\\n\x13\x61pplication_version\x18\x02 \x01(\x0b\x32+.cosmos.base.tendermint.v1beta1.VersionInfoR\x12\x61pplicationVersion"\xa8\x02\n\x0bVersionInfo\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x19\n\x08\x61pp_name\x18\x02 \x01(\tR\x07\x61ppName\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x1d\n\ngit_commit\x18\x04 \x01(\tR\tgitCommit\x12\x1d\n\nbuild_tags\x18\x05 \x01(\tR\tbuildTags\x12\x1d\n\ngo_version\x18\x06 \x01(\tR\tgoVersion\x12\x45\n\nbuild_deps\x18\x07 \x03(\x0b\x32&.cosmos.base.tendermint.v1beta1.ModuleR\tbuildDeps\x12,\n\x12\x63osmos_sdk_version\x18\x08 \x01(\tR\x10\x63osmosSdkVersion"H\n\x06Module\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12\x10\n\x03sum\x18\x03 \x01(\tR\x03sum"h\n\x10\x41\x42\x43IQueryRequest\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04path\x18\x02 \x01(\tR\x04path\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x14\n\x05prove\x18\x04 \x01(\x08R\x05prove"\x8e\x02\n\x11\x41\x42\x43IQueryResponse\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x14\n\x05index\x18\x05 \x01(\x03R\x05index\x12\x10\n\x03key\x18\x06 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x07 \x01(\x0cR\x05value\x12\x45\n\tproof_ops\x18\x08 \x01(\x0b\x32(.cosmos.base.tendermint.v1beta1.ProofOpsR\x08proofOps\x12\x16\n\x06height\x18\t \x01(\x03R\x06height\x12\x1c\n\tcodespace\x18\n \x01(\tR\tcodespaceJ\x04\x08\x02\x10\x03"C\n\x07ProofOp\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x10\n\x03key\x18\x02 \x01(\x0cR\x03key\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta"P\n\x08ProofOps\x12\x44\n\x03ops\x18\x01 \x03(\x0b\x32\'.cosmos.base.tendermint.v1beta1.ProofOpB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x03ops2\xaf\n\n\x07Service\x12\xa9\x01\n\x0bGetNodeInfo\x12\x32.cosmos.base.tendermint.v1beta1.GetNodeInfoRequest\x1a\x33.cosmos.base.tendermint.v1beta1.GetNodeInfoResponse"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/base/tendermint/v1beta1/node_info\x12\xa4\x01\n\nGetSyncing\x12\x31.cosmos.base.tendermint.v1beta1.GetSyncingRequest\x1a\x32.cosmos.base.tendermint.v1beta1.GetSyncingResponse"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/base/tendermint/v1beta1/syncing\x12\xb6\x01\n\x0eGetLatestBlock\x12\x35.cosmos.base.tendermint.v1beta1.GetLatestBlockRequest\x1a\x36.cosmos.base.tendermint.v1beta1.GetLatestBlockResponse"5\x82\xd3\xe4\x93\x02/\x12-/cosmos/base/tendermint/v1beta1/blocks/latest\x12\xbe\x01\n\x10GetBlockByHeight\x12\x37.cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest\x1a\x38.cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse"7\x82\xd3\xe4\x93\x02\x31\x12//cosmos/base/tendermint/v1beta1/blocks/{height}\x12\xd2\x01\n\x15GetLatestValidatorSet\x12<.cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest\x1a=.cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/base/tendermint/v1beta1/validatorsets/latest\x12\xda\x01\n\x17GetValidatorSetByHeight\x12>.cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest\x1a?.cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse">\x82\xd3\xe4\x93\x02\x38\x12\x36/cosmos/base/tendermint/v1beta1/validatorsets/{height}\x12\xa4\x01\n\tABCIQuery\x12\x30.cosmos.base.tendermint.v1beta1.ABCIQueryRequest\x1a\x31.cosmos.base.tendermint.v1beta1.ABCIQueryResponse"2\x82\xd3\xe4\x93\x02,\x12*/cosmos/base/tendermint/v1beta1/abci_queryB\x80\x02\n"com.cosmos.base.tendermint.v1beta1B\nQueryProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\xa2\x02\x03\x43\x42T\xaa\x02\x1e\x43osmos.Base.Tendermint.V1beta1\xca\x02\x1e\x43osmos\\Base\\Tendermint\\V1beta1\xe2\x02*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Tendermint::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.tendermint.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.base.tendermint.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.cosmos.base.tendermint.v1beta1B\nQueryProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\242\002\003CBT\252\002\036Cosmos.Base.Tendermint.V1beta1\312\002\036Cosmos\\Base\\Tendermint\\V1beta1\342\002*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Tendermint::V1beta1' - _globals['_VALIDATOR'].fields_by_name['address']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_PROOFOPS'].fields_by_name['ops']._loaded_options = None - _globals['_PROOFOPS'].fields_by_name['ops']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_SERVICE'].methods_by_name['GetNodeInfo']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetNodeInfo']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/base/tendermint/v1beta1/node_info' - _globals['_SERVICE'].methods_by_name['GetSyncing']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetSyncing']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/base/tendermint/v1beta1/syncing' - _globals['_SERVICE'].methods_by_name['GetLatestBlock']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetLatestBlock']._serialized_options = b'\202\323\344\223\002/\022-/cosmos/base/tendermint/v1beta1/blocks/latest' - _globals['_SERVICE'].methods_by_name['GetBlockByHeight']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetBlockByHeight']._serialized_options = b'\202\323\344\223\0021\022//cosmos/base/tendermint/v1beta1/blocks/{height}' - _globals['_SERVICE'].methods_by_name['GetLatestValidatorSet']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetLatestValidatorSet']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/base/tendermint/v1beta1/validatorsets/latest' - _globals['_SERVICE'].methods_by_name['GetValidatorSetByHeight']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetValidatorSetByHeight']._serialized_options = b'\202\323\344\223\0028\0226/cosmos/base/tendermint/v1beta1/validatorsets/{height}' - _globals['_SERVICE'].methods_by_name['ABCIQuery']._loaded_options = None - _globals['_SERVICE'].methods_by_name['ABCIQuery']._serialized_options = b'\202\323\344\223\002,\022*/cosmos/base/tendermint/v1beta1/abci_query' - _globals['_GETVALIDATORSETBYHEIGHTREQUEST']._serialized_start=380 - _globals['_GETVALIDATORSETBYHEIGHTREQUEST']._serialized_end=508 - _globals['_GETVALIDATORSETBYHEIGHTRESPONSE']._serialized_start=511 - _globals['_GETVALIDATORSETBYHEIGHTRESPONSE']._serialized_end=727 - _globals['_GETLATESTVALIDATORSETREQUEST']._serialized_start=729 - _globals['_GETLATESTVALIDATORSETREQUEST']._serialized_end=831 - _globals['_GETLATESTVALIDATORSETRESPONSE']._serialized_start=834 - _globals['_GETLATESTVALIDATORSETRESPONSE']._serialized_end=1048 - _globals['_VALIDATOR']._serialized_start=1051 - _globals['_VALIDATOR']._serialized_end=1241 - _globals['_GETBLOCKBYHEIGHTREQUEST']._serialized_start=1243 - _globals['_GETBLOCKBYHEIGHTREQUEST']._serialized_end=1292 - _globals['_GETBLOCKBYHEIGHTRESPONSE']._serialized_start=1295 - _globals['_GETBLOCKBYHEIGHTRESPONSE']._serialized_end=1490 - _globals['_GETLATESTBLOCKREQUEST']._serialized_start=1492 - _globals['_GETLATESTBLOCKREQUEST']._serialized_end=1515 - _globals['_GETLATESTBLOCKRESPONSE']._serialized_start=1518 - _globals['_GETLATESTBLOCKRESPONSE']._serialized_end=1711 - _globals['_GETSYNCINGREQUEST']._serialized_start=1713 - _globals['_GETSYNCINGREQUEST']._serialized_end=1732 - _globals['_GETSYNCINGRESPONSE']._serialized_start=1734 - _globals['_GETSYNCINGRESPONSE']._serialized_end=1780 - _globals['_GETNODEINFOREQUEST']._serialized_start=1782 - _globals['_GETNODEINFOREQUEST']._serialized_end=1802 - _globals['_GETNODEINFORESPONSE']._serialized_start=1805 - _globals['_GETNODEINFORESPONSE']._serialized_end=1997 - _globals['_VERSIONINFO']._serialized_start=2000 - _globals['_VERSIONINFO']._serialized_end=2296 - _globals['_MODULE']._serialized_start=2298 - _globals['_MODULE']._serialized_end=2370 - _globals['_ABCIQUERYREQUEST']._serialized_start=2372 - _globals['_ABCIQUERYREQUEST']._serialized_end=2476 - _globals['_ABCIQUERYRESPONSE']._serialized_start=2479 - _globals['_ABCIQUERYRESPONSE']._serialized_end=2749 - _globals['_PROOFOP']._serialized_start=2751 - _globals['_PROOFOP']._serialized_end=2818 - _globals['_PROOFOPS']._serialized_start=2820 - _globals['_PROOFOPS']._serialized_end=2900 - _globals['_SERVICE']._serialized_start=2903 - _globals['_SERVICE']._serialized_end=4230 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n"com.cosmos.base.tendermint.v1beta1B\nQueryProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\242\002\003CBT\252\002\036Cosmos.Base.Tendermint.V1beta1\312\002\036Cosmos\\Base\\Tendermint\\V1beta1\342\002*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Tendermint::V1beta1' + ) + _globals["_VALIDATOR"].fields_by_name["address"]._loaded_options = None + _globals["_VALIDATOR"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_PROOFOPS"].fields_by_name["ops"]._loaded_options = None + _globals["_PROOFOPS"].fields_by_name["ops"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_SERVICE"].methods_by_name["GetNodeInfo"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "GetNodeInfo" + ]._serialized_options = b"\202\323\344\223\002+\022)/cosmos/base/tendermint/v1beta1/node_info" + _globals["_SERVICE"].methods_by_name["GetSyncing"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "GetSyncing" + ]._serialized_options = b"\202\323\344\223\002)\022'/cosmos/base/tendermint/v1beta1/syncing" + _globals["_SERVICE"].methods_by_name["GetLatestBlock"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "GetLatestBlock" + ]._serialized_options = b"\202\323\344\223\002/\022-/cosmos/base/tendermint/v1beta1/blocks/latest" + _globals["_SERVICE"].methods_by_name["GetBlockByHeight"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "GetBlockByHeight" + ]._serialized_options = b"\202\323\344\223\0021\022//cosmos/base/tendermint/v1beta1/blocks/{height}" + _globals["_SERVICE"].methods_by_name["GetLatestValidatorSet"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "GetLatestValidatorSet" + ]._serialized_options = b"\202\323\344\223\0026\0224/cosmos/base/tendermint/v1beta1/validatorsets/latest" + _globals["_SERVICE"].methods_by_name["GetValidatorSetByHeight"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "GetValidatorSetByHeight" + ]._serialized_options = b"\202\323\344\223\0028\0226/cosmos/base/tendermint/v1beta1/validatorsets/{height}" + _globals["_SERVICE"].methods_by_name["ABCIQuery"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "ABCIQuery" + ]._serialized_options = b"\202\323\344\223\002,\022*/cosmos/base/tendermint/v1beta1/abci_query" + _globals["_GETVALIDATORSETBYHEIGHTREQUEST"]._serialized_start = 380 + _globals["_GETVALIDATORSETBYHEIGHTREQUEST"]._serialized_end = 508 + _globals["_GETVALIDATORSETBYHEIGHTRESPONSE"]._serialized_start = 511 + _globals["_GETVALIDATORSETBYHEIGHTRESPONSE"]._serialized_end = 727 + _globals["_GETLATESTVALIDATORSETREQUEST"]._serialized_start = 729 + _globals["_GETLATESTVALIDATORSETREQUEST"]._serialized_end = 831 + _globals["_GETLATESTVALIDATORSETRESPONSE"]._serialized_start = 834 + _globals["_GETLATESTVALIDATORSETRESPONSE"]._serialized_end = 1048 + _globals["_VALIDATOR"]._serialized_start = 1051 + _globals["_VALIDATOR"]._serialized_end = 1241 + _globals["_GETBLOCKBYHEIGHTREQUEST"]._serialized_start = 1243 + _globals["_GETBLOCKBYHEIGHTREQUEST"]._serialized_end = 1292 + _globals["_GETBLOCKBYHEIGHTRESPONSE"]._serialized_start = 1295 + _globals["_GETBLOCKBYHEIGHTRESPONSE"]._serialized_end = 1490 + _globals["_GETLATESTBLOCKREQUEST"]._serialized_start = 1492 + _globals["_GETLATESTBLOCKREQUEST"]._serialized_end = 1515 + _globals["_GETLATESTBLOCKRESPONSE"]._serialized_start = 1518 + _globals["_GETLATESTBLOCKRESPONSE"]._serialized_end = 1711 + _globals["_GETSYNCINGREQUEST"]._serialized_start = 1713 + _globals["_GETSYNCINGREQUEST"]._serialized_end = 1732 + _globals["_GETSYNCINGRESPONSE"]._serialized_start = 1734 + _globals["_GETSYNCINGRESPONSE"]._serialized_end = 1780 + _globals["_GETNODEINFOREQUEST"]._serialized_start = 1782 + _globals["_GETNODEINFOREQUEST"]._serialized_end = 1802 + _globals["_GETNODEINFORESPONSE"]._serialized_start = 1805 + _globals["_GETNODEINFORESPONSE"]._serialized_end = 1997 + _globals["_VERSIONINFO"]._serialized_start = 2000 + _globals["_VERSIONINFO"]._serialized_end = 2296 + _globals["_MODULE"]._serialized_start = 2298 + _globals["_MODULE"]._serialized_end = 2370 + _globals["_ABCIQUERYREQUEST"]._serialized_start = 2372 + _globals["_ABCIQUERYREQUEST"]._serialized_end = 2476 + _globals["_ABCIQUERYRESPONSE"]._serialized_start = 2479 + _globals["_ABCIQUERYRESPONSE"]._serialized_end = 2749 + _globals["_PROOFOP"]._serialized_start = 2751 + _globals["_PROOFOP"]._serialized_end = 2818 + _globals["_PROOFOPS"]._serialized_start = 2820 + _globals["_PROOFOPS"]._serialized_end = 2900 + _globals["_SERVICE"]._serialized_start = 2903 + _globals["_SERVICE"]._serialized_end = 4230 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py index 30707ac1..6d612a9e 100644 --- a/pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py @@ -2,12 +2,13 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.cosmos.base.tendermint.v1beta1 import query_pb2 as cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2 +from pyinjective.proto.cosmos.base.tendermint.v1beta1 import ( + query_pb2 as cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2, +) class ServiceStub(object): - """Service defines the gRPC querier service for tendermint queries. - """ + """Service defines the gRPC querier service for tendermint queries.""" def __init__(self, channel): """Constructor. @@ -16,87 +17,87 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetNodeInfo = channel.unary_unary( - '/cosmos.base.tendermint.v1beta1.Service/GetNodeInfo', - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoResponse.FromString, - _registered_method=True) + "/cosmos.base.tendermint.v1beta1.Service/GetNodeInfo", + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoResponse.FromString, + _registered_method=True, + ) self.GetSyncing = channel.unary_unary( - '/cosmos.base.tendermint.v1beta1.Service/GetSyncing', - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingResponse.FromString, - _registered_method=True) + "/cosmos.base.tendermint.v1beta1.Service/GetSyncing", + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingResponse.FromString, + _registered_method=True, + ) self.GetLatestBlock = channel.unary_unary( - '/cosmos.base.tendermint.v1beta1.Service/GetLatestBlock', - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockResponse.FromString, - _registered_method=True) + "/cosmos.base.tendermint.v1beta1.Service/GetLatestBlock", + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockResponse.FromString, + _registered_method=True, + ) self.GetBlockByHeight = channel.unary_unary( - '/cosmos.base.tendermint.v1beta1.Service/GetBlockByHeight', - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightResponse.FromString, - _registered_method=True) + "/cosmos.base.tendermint.v1beta1.Service/GetBlockByHeight", + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightResponse.FromString, + _registered_method=True, + ) self.GetLatestValidatorSet = channel.unary_unary( - '/cosmos.base.tendermint.v1beta1.Service/GetLatestValidatorSet', - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetResponse.FromString, - _registered_method=True) + "/cosmos.base.tendermint.v1beta1.Service/GetLatestValidatorSet", + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetResponse.FromString, + _registered_method=True, + ) self.GetValidatorSetByHeight = channel.unary_unary( - '/cosmos.base.tendermint.v1beta1.Service/GetValidatorSetByHeight', - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightResponse.FromString, - _registered_method=True) + "/cosmos.base.tendermint.v1beta1.Service/GetValidatorSetByHeight", + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightResponse.FromString, + _registered_method=True, + ) self.ABCIQuery = channel.unary_unary( - '/cosmos.base.tendermint.v1beta1.Service/ABCIQuery', - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryResponse.FromString, - _registered_method=True) + "/cosmos.base.tendermint.v1beta1.Service/ABCIQuery", + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryResponse.FromString, + _registered_method=True, + ) class ServiceServicer(object): - """Service defines the gRPC querier service for tendermint queries. - """ + """Service defines the gRPC querier service for tendermint queries.""" def GetNodeInfo(self, request, context): - """GetNodeInfo queries the current node info. - """ + """GetNodeInfo queries the current node info.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetSyncing(self, request, context): - """GetSyncing queries node syncing. - """ + """GetSyncing queries node syncing.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetLatestBlock(self, request, context): - """GetLatestBlock returns the latest block. - """ + """GetLatestBlock returns the latest block.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetBlockByHeight(self, request, context): - """GetBlockByHeight queries block for given height. - """ + """GetBlockByHeight queries block for given height.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetLatestValidatorSet(self, request, context): - """GetLatestValidatorSet queries latest validator-set. - """ + """GetLatestValidatorSet queries latest validator-set.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetValidatorSetByHeight(self, request, context): - """GetValidatorSetByHeight queries validator-set at a given height. - """ + """GetValidatorSetByHeight queries validator-set at a given height.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ABCIQuery(self, request, context): """ABCIQuery defines a query handler that supports ABCI queries directly to the @@ -106,74 +107,76 @@ def ABCIQuery(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_ServiceServicer_to_server(servicer, server): rpc_method_handlers = { - 'GetNodeInfo': grpc.unary_unary_rpc_method_handler( - servicer.GetNodeInfo, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoResponse.SerializeToString, - ), - 'GetSyncing': grpc.unary_unary_rpc_method_handler( - servicer.GetSyncing, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingResponse.SerializeToString, - ), - 'GetLatestBlock': grpc.unary_unary_rpc_method_handler( - servicer.GetLatestBlock, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockResponse.SerializeToString, - ), - 'GetBlockByHeight': grpc.unary_unary_rpc_method_handler( - servicer.GetBlockByHeight, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightResponse.SerializeToString, - ), - 'GetLatestValidatorSet': grpc.unary_unary_rpc_method_handler( - servicer.GetLatestValidatorSet, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetResponse.SerializeToString, - ), - 'GetValidatorSetByHeight': grpc.unary_unary_rpc_method_handler( - servicer.GetValidatorSetByHeight, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightResponse.SerializeToString, - ), - 'ABCIQuery': grpc.unary_unary_rpc_method_handler( - servicer.ABCIQuery, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryResponse.SerializeToString, - ), + "GetNodeInfo": grpc.unary_unary_rpc_method_handler( + servicer.GetNodeInfo, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoResponse.SerializeToString, + ), + "GetSyncing": grpc.unary_unary_rpc_method_handler( + servicer.GetSyncing, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingResponse.SerializeToString, + ), + "GetLatestBlock": grpc.unary_unary_rpc_method_handler( + servicer.GetLatestBlock, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockResponse.SerializeToString, + ), + "GetBlockByHeight": grpc.unary_unary_rpc_method_handler( + servicer.GetBlockByHeight, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightResponse.SerializeToString, + ), + "GetLatestValidatorSet": grpc.unary_unary_rpc_method_handler( + servicer.GetLatestValidatorSet, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetResponse.SerializeToString, + ), + "GetValidatorSetByHeight": grpc.unary_unary_rpc_method_handler( + servicer.GetValidatorSetByHeight, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightResponse.SerializeToString, + ), + "ABCIQuery": grpc.unary_unary_rpc_method_handler( + servicer.ABCIQuery, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.base.tendermint.v1beta1.Service', rpc_method_handlers) + "cosmos.base.tendermint.v1beta1.Service", rpc_method_handlers + ) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.base.tendermint.v1beta1.Service', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.base.tendermint.v1beta1.Service", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Service(object): - """Service defines the gRPC querier service for tendermint queries. - """ + """Service defines the gRPC querier service for tendermint queries.""" @staticmethod - def GetNodeInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GetNodeInfo( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.base.tendermint.v1beta1.Service/GetNodeInfo', + "/cosmos.base.tendermint.v1beta1.Service/GetNodeInfo", cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoRequest.SerializeToString, cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoResponse.FromString, options, @@ -184,23 +187,26 @@ def GetNodeInfo(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GetSyncing(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GetSyncing( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.base.tendermint.v1beta1.Service/GetSyncing', + "/cosmos.base.tendermint.v1beta1.Service/GetSyncing", cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingRequest.SerializeToString, cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingResponse.FromString, options, @@ -211,23 +217,26 @@ def GetSyncing(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GetLatestBlock(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GetLatestBlock( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.base.tendermint.v1beta1.Service/GetLatestBlock', + "/cosmos.base.tendermint.v1beta1.Service/GetLatestBlock", cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockRequest.SerializeToString, cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockResponse.FromString, options, @@ -238,23 +247,26 @@ def GetLatestBlock(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GetBlockByHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GetBlockByHeight( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.base.tendermint.v1beta1.Service/GetBlockByHeight', + "/cosmos.base.tendermint.v1beta1.Service/GetBlockByHeight", cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightRequest.SerializeToString, cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightResponse.FromString, options, @@ -265,23 +277,26 @@ def GetBlockByHeight(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GetLatestValidatorSet(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GetLatestValidatorSet( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.base.tendermint.v1beta1.Service/GetLatestValidatorSet', + "/cosmos.base.tendermint.v1beta1.Service/GetLatestValidatorSet", cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetRequest.SerializeToString, cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetResponse.FromString, options, @@ -292,23 +307,26 @@ def GetLatestValidatorSet(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GetValidatorSetByHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GetValidatorSetByHeight( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.base.tendermint.v1beta1.Service/GetValidatorSetByHeight', + "/cosmos.base.tendermint.v1beta1.Service/GetValidatorSetByHeight", cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightRequest.SerializeToString, cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightResponse.FromString, options, @@ -319,23 +337,26 @@ def GetValidatorSetByHeight(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ABCIQuery(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ABCIQuery( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.base.tendermint.v1beta1.Service/ABCIQuery', + "/cosmos.base.tendermint.v1beta1.Service/ABCIQuery", cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryRequest.SerializeToString, cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryResponse.FromString, options, @@ -346,4 +367,5 @@ def ABCIQuery(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py b/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py index ebfc1954..82694230 100644 --- a/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py +++ b/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py @@ -7,6 +7,7 @@ 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() @@ -20,30 +21,36 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*cosmos/base/tendermint/v1beta1/types.proto\x12\x1e\x63osmos.base.tendermint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ftendermint/types/evidence.proto\x1a\x1etendermint/version/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x11\x61mino/amino.proto\"\x8b\x02\n\x05\x42lock\x12I\n\x06header\x18\x01 \x01(\x0b\x32&.cosmos.base.tendermint.v1beta1.HeaderB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06header\x12\x35\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04\x64\x61ta\x12\x45\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x65vidence\x12\x39\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.CommitR\nlastCommit\"\xf5\x04\n\x06Header\x12\x42\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07version\x12&\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDR\x07\x63hainId\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12=\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12H\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0blastBlockId\x12(\n\x10last_commit_hash\x18\x06 \x01(\x0cR\x0elastCommitHash\x12\x1b\n\tdata_hash\x18\x07 \x01(\x0cR\x08\x64\x61taHash\x12\'\n\x0fvalidators_hash\x18\x08 \x01(\x0cR\x0evalidatorsHash\x12\x30\n\x14next_validators_hash\x18\t \x01(\x0cR\x12nextValidatorsHash\x12%\n\x0e\x63onsensus_hash\x18\n \x01(\x0cR\rconsensusHash\x12\x19\n\x08\x61pp_hash\x18\x0b \x01(\x0cR\x07\x61ppHash\x12*\n\x11last_results_hash\x18\x0c \x01(\x0cR\x0flastResultsHash\x12#\n\revidence_hash\x18\r \x01(\x0cR\x0c\x65videnceHash\x12)\n\x10proposer_address\x18\x0e \x01(\tR\x0fproposerAddressB\x80\x02\n\"com.cosmos.base.tendermint.v1beta1B\nTypesProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\xa2\x02\x03\x43\x42T\xaa\x02\x1e\x43osmos.Base.Tendermint.V1beta1\xca\x02\x1e\x43osmos\\Base\\Tendermint\\V1beta1\xe2\x02*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Tendermint::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n*cosmos/base/tendermint/v1beta1/types.proto\x12\x1e\x63osmos.base.tendermint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ftendermint/types/evidence.proto\x1a\x1etendermint/version/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x11\x61mino/amino.proto"\x8b\x02\n\x05\x42lock\x12I\n\x06header\x18\x01 \x01(\x0b\x32&.cosmos.base.tendermint.v1beta1.HeaderB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06header\x12\x35\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04\x64\x61ta\x12\x45\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x65vidence\x12\x39\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.CommitR\nlastCommit"\xf5\x04\n\x06Header\x12\x42\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07version\x12&\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDR\x07\x63hainId\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12=\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12H\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0blastBlockId\x12(\n\x10last_commit_hash\x18\x06 \x01(\x0cR\x0elastCommitHash\x12\x1b\n\tdata_hash\x18\x07 \x01(\x0cR\x08\x64\x61taHash\x12\'\n\x0fvalidators_hash\x18\x08 \x01(\x0cR\x0evalidatorsHash\x12\x30\n\x14next_validators_hash\x18\t \x01(\x0cR\x12nextValidatorsHash\x12%\n\x0e\x63onsensus_hash\x18\n \x01(\x0cR\rconsensusHash\x12\x19\n\x08\x61pp_hash\x18\x0b \x01(\x0cR\x07\x61ppHash\x12*\n\x11last_results_hash\x18\x0c \x01(\x0cR\x0flastResultsHash\x12#\n\revidence_hash\x18\r \x01(\x0cR\x0c\x65videnceHash\x12)\n\x10proposer_address\x18\x0e \x01(\tR\x0fproposerAddressB\x80\x02\n"com.cosmos.base.tendermint.v1beta1B\nTypesProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\xa2\x02\x03\x43\x42T\xaa\x02\x1e\x43osmos.Base.Tendermint.V1beta1\xca\x02\x1e\x43osmos\\Base\\Tendermint\\V1beta1\xe2\x02*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Tendermint::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.tendermint.v1beta1.types_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.base.tendermint.v1beta1.types_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.cosmos.base.tendermint.v1beta1B\nTypesProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\242\002\003CBT\252\002\036Cosmos.Base.Tendermint.V1beta1\312\002\036Cosmos\\Base\\Tendermint\\V1beta1\342\002*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Tendermint::V1beta1' - _globals['_BLOCK'].fields_by_name['header']._loaded_options = None - _globals['_BLOCK'].fields_by_name['header']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_BLOCK'].fields_by_name['data']._loaded_options = None - _globals['_BLOCK'].fields_by_name['data']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_BLOCK'].fields_by_name['evidence']._loaded_options = None - _globals['_BLOCK'].fields_by_name['evidence']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_HEADER'].fields_by_name['version']._loaded_options = None - _globals['_HEADER'].fields_by_name['version']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_HEADER'].fields_by_name['chain_id']._loaded_options = None - _globals['_HEADER'].fields_by_name['chain_id']._serialized_options = b'\342\336\037\007ChainID' - _globals['_HEADER'].fields_by_name['time']._loaded_options = None - _globals['_HEADER'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_HEADER'].fields_by_name['last_block_id']._loaded_options = None - _globals['_HEADER'].fields_by_name['last_block_id']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_BLOCK']._serialized_start=248 - _globals['_BLOCK']._serialized_end=515 - _globals['_HEADER']._serialized_start=518 - _globals['_HEADER']._serialized_end=1147 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n"com.cosmos.base.tendermint.v1beta1B\nTypesProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\242\002\003CBT\252\002\036Cosmos.Base.Tendermint.V1beta1\312\002\036Cosmos\\Base\\Tendermint\\V1beta1\342\002*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Tendermint::V1beta1' + ) + _globals["_BLOCK"].fields_by_name["header"]._loaded_options = None + _globals["_BLOCK"].fields_by_name["header"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_BLOCK"].fields_by_name["data"]._loaded_options = None + _globals["_BLOCK"].fields_by_name["data"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_BLOCK"].fields_by_name["evidence"]._loaded_options = None + _globals["_BLOCK"].fields_by_name["evidence"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_HEADER"].fields_by_name["version"]._loaded_options = None + _globals["_HEADER"].fields_by_name["version"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_HEADER"].fields_by_name["chain_id"]._loaded_options = None + _globals["_HEADER"].fields_by_name["chain_id"]._serialized_options = b"\342\336\037\007ChainID" + _globals["_HEADER"].fields_by_name["time"]._loaded_options = None + _globals["_HEADER"].fields_by_name[ + "time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_HEADER"].fields_by_name["last_block_id"]._loaded_options = None + _globals["_HEADER"].fields_by_name["last_block_id"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_BLOCK"]._serialized_start = 248 + _globals["_BLOCK"]._serialized_end = 515 + _globals["_HEADER"]._serialized_start = 518 + _globals["_HEADER"]._serialized_end = 1147 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2_grpc.py b/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2_grpc.py +++ b/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/base/v1beta1/coin_pb2.py b/pyinjective/proto/cosmos/base/v1beta1/coin_pb2.py index 59353c09..88131354 100644 --- a/pyinjective/proto/cosmos/base/v1beta1/coin_pb2.py +++ b/pyinjective/proto/cosmos/base/v1beta1/coin_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,32 +18,46 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/base/v1beta1/coin.proto\x12\x13\x63osmos.base.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"l\n\x04\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12H\n\x06\x61mount\x18\x02 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x06\x61mount:\x04\xe8\xa0\x1f\x01\"p\n\x07\x44\x65\x63\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12I\n\x06\x61mount\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x06\x61mount:\x04\xe8\xa0\x1f\x01\"I\n\x08IntProto\x12=\n\x03int\x18\x01 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x03int\"O\n\x08\x44\x65\x63Proto\x12\x43\n\x03\x64\x65\x63\x18\x01 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x03\x64\x65\x63\x42\xbe\x01\n\x17\x63om.cosmos.base.v1beta1B\tCoinProtoP\x01Z\"github.com/cosmos/cosmos-sdk/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Base.V1beta1\xca\x02\x13\x43osmos\\Base\\V1beta1\xe2\x02\x1f\x43osmos\\Base\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Base::V1beta1\xd8\xe1\x1e\x00\x80\xe2\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1e\x63osmos/base/v1beta1/coin.proto\x12\x13\x63osmos.base.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"l\n\x04\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12H\n\x06\x61mount\x18\x02 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x06\x61mount:\x04\xe8\xa0\x1f\x01"p\n\x07\x44\x65\x63\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12I\n\x06\x61mount\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x06\x61mount:\x04\xe8\xa0\x1f\x01"I\n\x08IntProto\x12=\n\x03int\x18\x01 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x03int"O\n\x08\x44\x65\x63Proto\x12\x43\n\x03\x64\x65\x63\x18\x01 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x03\x64\x65\x63\x42\xbe\x01\n\x17\x63om.cosmos.base.v1beta1B\tCoinProtoP\x01Z"github.com/cosmos/cosmos-sdk/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Base.V1beta1\xca\x02\x13\x43osmos\\Base\\V1beta1\xe2\x02\x1f\x43osmos\\Base\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Base::V1beta1\xd8\xe1\x1e\x00\x80\xe2\x1e\x00\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.v1beta1.coin_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.base.v1beta1.coin_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.base.v1beta1B\tCoinProtoP\001Z\"github.com/cosmos/cosmos-sdk/types\242\002\003CBX\252\002\023Cosmos.Base.V1beta1\312\002\023Cosmos\\Base\\V1beta1\342\002\037Cosmos\\Base\\V1beta1\\GPBMetadata\352\002\025Cosmos::Base::V1beta1\330\341\036\000\200\342\036\000' - _globals['_COIN'].fields_by_name['amount']._loaded_options = None - _globals['_COIN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001' - _globals['_COIN']._loaded_options = None - _globals['_COIN']._serialized_options = b'\350\240\037\001' - _globals['_DECCOIN'].fields_by_name['amount']._loaded_options = None - _globals['_DECCOIN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_DECCOIN']._loaded_options = None - _globals['_DECCOIN']._serialized_options = b'\350\240\037\001' - _globals['_INTPROTO'].fields_by_name['int']._loaded_options = None - _globals['_INTPROTO'].fields_by_name['int']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_DECPROTO'].fields_by_name['dec']._loaded_options = None - _globals['_DECPROTO'].fields_by_name['dec']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_COIN']._serialized_start=123 - _globals['_COIN']._serialized_end=231 - _globals['_DECCOIN']._serialized_start=233 - _globals['_DECCOIN']._serialized_end=345 - _globals['_INTPROTO']._serialized_start=347 - _globals['_INTPROTO']._serialized_end=420 - _globals['_DECPROTO']._serialized_start=422 - _globals['_DECPROTO']._serialized_end=501 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\027com.cosmos.base.v1beta1B\tCoinProtoP\001Z"github.com/cosmos/cosmos-sdk/types\242\002\003CBX\252\002\023Cosmos.Base.V1beta1\312\002\023Cosmos\\Base\\V1beta1\342\002\037Cosmos\\Base\\V1beta1\\GPBMetadata\352\002\025Cosmos::Base::V1beta1\330\341\036\000\200\342\036\000' + ) + _globals["_COIN"].fields_by_name["amount"]._loaded_options = None + _globals["_COIN"].fields_by_name[ + "amount" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001" + ) + _globals["_COIN"]._loaded_options = None + _globals["_COIN"]._serialized_options = b"\350\240\037\001" + _globals["_DECCOIN"].fields_by_name["amount"]._loaded_options = None + _globals["_DECCOIN"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" + _globals["_DECCOIN"]._loaded_options = None + _globals["_DECCOIN"]._serialized_options = b"\350\240\037\001" + _globals["_INTPROTO"].fields_by_name["int"]._loaded_options = None + _globals["_INTPROTO"].fields_by_name[ + "int" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" + _globals["_DECPROTO"].fields_by_name["dec"]._loaded_options = None + _globals["_DECPROTO"].fields_by_name[ + "dec" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" + _globals["_COIN"]._serialized_start = 123 + _globals["_COIN"]._serialized_end = 231 + _globals["_DECCOIN"]._serialized_start = 233 + _globals["_DECCOIN"]._serialized_end = 345 + _globals["_INTPROTO"]._serialized_start = 347 + _globals["_INTPROTO"]._serialized_end = 420 + _globals["_DECPROTO"]._serialized_start = 422 + _globals["_DECPROTO"]._serialized_end = 501 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/v1beta1/coin_pb2_grpc.py b/pyinjective/proto/cosmos/base/v1beta1/coin_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/base/v1beta1/coin_pb2_grpc.py +++ b/pyinjective/proto/cosmos/base/v1beta1/coin_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/circuit/module/v1/module_pb2.py b/pyinjective/proto/cosmos/circuit/module/v1/module_pb2.py index da033cd6..5147d7d1 100644 --- a/pyinjective/proto/cosmos/circuit/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/circuit/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/circuit/module/v1/module.proto\x12\x18\x63osmos.circuit.module.v1\x1a cosmos/app/v1alpha1/module.proto\"F\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:\x1e\xba\xc0\x96\xda\x01\x18\n\x16\x63osmossdk.io/x/circuitB\xae\x01\n\x1c\x63om.cosmos.circuit.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x18\x43osmos.Circuit.Module.V1\xca\x02\x18\x43osmos\\Circuit\\Module\\V1\xe2\x02$Cosmos\\Circuit\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Circuit::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%cosmos/circuit/module/v1/module.proto\x12\x18\x63osmos.circuit.module.v1\x1a cosmos/app/v1alpha1/module.proto"F\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:\x1e\xba\xc0\x96\xda\x01\x18\n\x16\x63osmossdk.io/x/circuitB\xae\x01\n\x1c\x63om.cosmos.circuit.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x18\x43osmos.Circuit.Module.V1\xca\x02\x18\x43osmos\\Circuit\\Module\\V1\xe2\x02$Cosmos\\Circuit\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Circuit::Module::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.circuit.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.circuit.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.circuit.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\030Cosmos.Circuit.Module.V1\312\002\030Cosmos\\Circuit\\Module\\V1\342\002$Cosmos\\Circuit\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Circuit::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\030\n\026cosmossdk.io/x/circuit' - _globals['_MODULE']._serialized_start=101 - _globals['_MODULE']._serialized_end=171 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\034com.cosmos.circuit.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\030Cosmos.Circuit.Module.V1\312\002\030Cosmos\\Circuit\\Module\\V1\342\002$Cosmos\\Circuit\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Circuit::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001\030\n\026cosmossdk.io/x/circuit" + _globals["_MODULE"]._serialized_start = 101 + _globals["_MODULE"]._serialized_end = 171 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/circuit/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/circuit/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/circuit/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/circuit/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/circuit/v1/query_pb2.py b/pyinjective/proto/cosmos/circuit/v1/query_pb2.py index a4b77b8b..f4de9dd3 100644 --- a/pyinjective/proto/cosmos/circuit/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/circuit/v1/query_pb2.py @@ -7,43 +7,56 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.cosmos.circuit.v1 import types_pb2 as cosmos_dot_circuit_dot_v1_dot_types__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/circuit/v1/query.proto\x12\x11\x63osmos.circuit.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1d\x63osmos/circuit/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/query/v1/query.proto\"/\n\x13QueryAccountRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"Q\n\x0f\x41\x63\x63ountResponse\x12>\n\npermission\x18\x01 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\npermission\"^\n\x14QueryAccountsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa5\x01\n\x10\x41\x63\x63ountsResponse\x12H\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32,.cosmos.circuit.v1.GenesisAccountPermissionsR\x08\x61\x63\x63ounts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x1a\n\x18QueryDisabledListRequest\";\n\x14\x44isabledListResponse\x12#\n\rdisabled_list\x18\x01 \x03(\tR\x0c\x64isabledList2\xad\x03\n\x05Query\x12\x89\x01\n\x07\x41\x63\x63ount\x12&.cosmos.circuit.v1.QueryAccountRequest\x1a\".cosmos.circuit.v1.AccountResponse\"2\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\'\x12%/cosmos/circuit/v1/accounts/{address}\x12\x82\x01\n\x08\x41\x63\x63ounts\x12\'.cosmos.circuit.v1.QueryAccountsRequest\x1a#.cosmos.circuit.v1.AccountsResponse\"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/circuit/v1/accounts\x12\x92\x01\n\x0c\x44isabledList\x12+.cosmos.circuit.v1.QueryDisabledListRequest\x1a\'.cosmos.circuit.v1.DisabledListResponse\",\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02!\x12\x1f/cosmos/circuit/v1/disable_listB\xa7\x01\n\x15\x63om.cosmos.circuit.v1B\nQueryProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1d\x63osmos/circuit/v1/query.proto\x12\x11\x63osmos.circuit.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1d\x63osmos/circuit/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/query/v1/query.proto"/\n\x13QueryAccountRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress"Q\n\x0f\x41\x63\x63ountResponse\x12>\n\npermission\x18\x01 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\npermission"^\n\x14QueryAccountsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xa5\x01\n\x10\x41\x63\x63ountsResponse\x12H\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32,.cosmos.circuit.v1.GenesisAccountPermissionsR\x08\x61\x63\x63ounts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x1a\n\x18QueryDisabledListRequest";\n\x14\x44isabledListResponse\x12#\n\rdisabled_list\x18\x01 \x03(\tR\x0c\x64isabledList2\xad\x03\n\x05Query\x12\x89\x01\n\x07\x41\x63\x63ount\x12&.cosmos.circuit.v1.QueryAccountRequest\x1a".cosmos.circuit.v1.AccountResponse"2\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\'\x12%/cosmos/circuit/v1/accounts/{address}\x12\x82\x01\n\x08\x41\x63\x63ounts\x12\'.cosmos.circuit.v1.QueryAccountsRequest\x1a#.cosmos.circuit.v1.AccountsResponse"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/circuit/v1/accounts\x12\x92\x01\n\x0c\x44isabledList\x12+.cosmos.circuit.v1.QueryDisabledListRequest\x1a\'.cosmos.circuit.v1.DisabledListResponse",\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02!\x12\x1f/cosmos/circuit/v1/disable_listB\xa7\x01\n\x15\x63om.cosmos.circuit.v1B\nQueryProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.circuit.v1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.circuit.v1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.circuit.v1B\nQueryProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1' - _globals['_QUERY'].methods_by_name['Account']._loaded_options = None - _globals['_QUERY'].methods_by_name['Account']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\'\022%/cosmos/circuit/v1/accounts/{address}' - _globals['_QUERY'].methods_by_name['Accounts']._loaded_options = None - _globals['_QUERY'].methods_by_name['Accounts']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/circuit/v1/accounts' - _globals['_QUERY'].methods_by_name['DisabledList']._loaded_options = None - _globals['_QUERY'].methods_by_name['DisabledList']._serialized_options = b'\210\347\260*\001\202\323\344\223\002!\022\037/cosmos/circuit/v1/disable_list' - _globals['_QUERYACCOUNTREQUEST']._serialized_start=186 - _globals['_QUERYACCOUNTREQUEST']._serialized_end=233 - _globals['_ACCOUNTRESPONSE']._serialized_start=235 - _globals['_ACCOUNTRESPONSE']._serialized_end=316 - _globals['_QUERYACCOUNTSREQUEST']._serialized_start=318 - _globals['_QUERYACCOUNTSREQUEST']._serialized_end=412 - _globals['_ACCOUNTSRESPONSE']._serialized_start=415 - _globals['_ACCOUNTSRESPONSE']._serialized_end=580 - _globals['_QUERYDISABLEDLISTREQUEST']._serialized_start=582 - _globals['_QUERYDISABLEDLISTREQUEST']._serialized_end=608 - _globals['_DISABLEDLISTRESPONSE']._serialized_start=610 - _globals['_DISABLEDLISTRESPONSE']._serialized_end=669 - _globals['_QUERY']._serialized_start=672 - _globals['_QUERY']._serialized_end=1101 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\025com.cosmos.circuit.v1B\nQueryProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1" + ) + _globals["_QUERY"].methods_by_name["Account"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Account" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002'\022%/cosmos/circuit/v1/accounts/{address}" + _globals["_QUERY"].methods_by_name["Accounts"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Accounts" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/circuit/v1/accounts" + _globals["_QUERY"].methods_by_name["DisabledList"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DisabledList" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002!\022\037/cosmos/circuit/v1/disable_list" + _globals["_QUERYACCOUNTREQUEST"]._serialized_start = 186 + _globals["_QUERYACCOUNTREQUEST"]._serialized_end = 233 + _globals["_ACCOUNTRESPONSE"]._serialized_start = 235 + _globals["_ACCOUNTRESPONSE"]._serialized_end = 316 + _globals["_QUERYACCOUNTSREQUEST"]._serialized_start = 318 + _globals["_QUERYACCOUNTSREQUEST"]._serialized_end = 412 + _globals["_ACCOUNTSRESPONSE"]._serialized_start = 415 + _globals["_ACCOUNTSRESPONSE"]._serialized_end = 580 + _globals["_QUERYDISABLEDLISTREQUEST"]._serialized_start = 582 + _globals["_QUERYDISABLEDLISTREQUEST"]._serialized_end = 608 + _globals["_DISABLEDLISTRESPONSE"]._serialized_start = 610 + _globals["_DISABLEDLISTRESPONSE"]._serialized_end = 669 + _globals["_QUERY"]._serialized_start = 672 + _globals["_QUERY"]._serialized_end = 1101 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/circuit/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/circuit/v1/query_pb2_grpc.py index 677ccf27..6114a5d0 100644 --- a/pyinjective/proto/cosmos/circuit/v1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/circuit/v1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the circuit gRPC querier service. - """ + """Query defines the circuit gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,92 +15,91 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Account = channel.unary_unary( - '/cosmos.circuit.v1.Query/Account', - request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountRequest.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountResponse.FromString, - _registered_method=True) + "/cosmos.circuit.v1.Query/Account", + request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountRequest.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountResponse.FromString, + _registered_method=True, + ) self.Accounts = channel.unary_unary( - '/cosmos.circuit.v1.Query/Accounts', - request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountsRequest.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountsResponse.FromString, - _registered_method=True) + "/cosmos.circuit.v1.Query/Accounts", + request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountsRequest.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountsResponse.FromString, + _registered_method=True, + ) self.DisabledList = channel.unary_unary( - '/cosmos.circuit.v1.Query/DisabledList', - request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryDisabledListRequest.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.DisabledListResponse.FromString, - _registered_method=True) + "/cosmos.circuit.v1.Query/DisabledList", + request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryDisabledListRequest.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.DisabledListResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the circuit gRPC querier service. - """ + """Query defines the circuit gRPC querier service.""" def Account(self, request, context): - """Account returns account permissions. - """ + """Account returns account permissions.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Accounts(self, request, context): - """Account returns account permissions. - """ + """Account returns account permissions.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DisabledList(self, request, context): - """DisabledList returns a list of disabled message urls - """ + """DisabledList returns a list of disabled message urls""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Account': grpc.unary_unary_rpc_method_handler( - servicer.Account, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountRequest.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountResponse.SerializeToString, - ), - 'Accounts': grpc.unary_unary_rpc_method_handler( - servicer.Accounts, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountsRequest.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountsResponse.SerializeToString, - ), - 'DisabledList': grpc.unary_unary_rpc_method_handler( - servicer.DisabledList, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryDisabledListRequest.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.DisabledListResponse.SerializeToString, - ), + "Account": grpc.unary_unary_rpc_method_handler( + servicer.Account, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountRequest.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountResponse.SerializeToString, + ), + "Accounts": grpc.unary_unary_rpc_method_handler( + servicer.Accounts, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountsRequest.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountsResponse.SerializeToString, + ), + "DisabledList": grpc.unary_unary_rpc_method_handler( + servicer.DisabledList, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryDisabledListRequest.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.DisabledListResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.circuit.v1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.circuit.v1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.circuit.v1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.circuit.v1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the circuit gRPC querier service. - """ + """Query defines the circuit gRPC querier service.""" @staticmethod - def Account(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Account( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.circuit.v1.Query/Account', + "/cosmos.circuit.v1.Query/Account", cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountRequest.SerializeToString, cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountResponse.FromString, options, @@ -112,23 +110,26 @@ def Account(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Accounts(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Accounts( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.circuit.v1.Query/Accounts', + "/cosmos.circuit.v1.Query/Accounts", cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountsRequest.SerializeToString, cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountsResponse.FromString, options, @@ -139,23 +140,26 @@ def Accounts(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DisabledList(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DisabledList( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.circuit.v1.Query/DisabledList', + "/cosmos.circuit.v1.Query/DisabledList", cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryDisabledListRequest.SerializeToString, cosmos_dot_circuit_dot_v1_dot_query__pb2.DisabledListResponse.FromString, options, @@ -166,4 +170,5 @@ def DisabledList(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/circuit/v1/tx_pb2.py b/pyinjective/proto/cosmos/circuit/v1/tx_pb2.py index 931bde0e..1fc42941 100644 --- a/pyinjective/proto/cosmos/circuit/v1/tx_pb2.py +++ b/pyinjective/proto/cosmos/circuit/v1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,34 +17,38 @@ from pyinjective.proto.cosmos.circuit.v1 import types_pb2 as cosmos_dot_circuit_dot_v1_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63osmos/circuit/v1/tx.proto\x12\x11\x63osmos.circuit.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1d\x63osmos/circuit/v1/types.proto\"\xa0\x01\n\x1aMsgAuthorizeCircuitBreaker\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x18\n\x07grantee\x18\x02 \x01(\tR\x07grantee\x12@\n\x0bpermissions\x18\x03 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\x0bpermissions:\x0c\x82\xe7\xb0*\x07granter\">\n\"MsgAuthorizeCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\"i\n\x15MsgTripCircuitBreaker\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12\"\n\rmsg_type_urls\x18\x02 \x03(\tR\x0bmsgTypeUrls:\x0e\x82\xe7\xb0*\tauthority\"9\n\x1dMsgTripCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\"j\n\x16MsgResetCircuitBreaker\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12\"\n\rmsg_type_urls\x18\x03 \x03(\tR\x0bmsgTypeUrls:\x0e\x82\xe7\xb0*\tauthority\":\n\x1eMsgResetCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success2\xf4\x02\n\x03Msg\x12\x7f\n\x17\x41uthorizeCircuitBreaker\x12-.cosmos.circuit.v1.MsgAuthorizeCircuitBreaker\x1a\x35.cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse\x12p\n\x12TripCircuitBreaker\x12(.cosmos.circuit.v1.MsgTripCircuitBreaker\x1a\x30.cosmos.circuit.v1.MsgTripCircuitBreakerResponse\x12s\n\x13ResetCircuitBreaker\x12).cosmos.circuit.v1.MsgResetCircuitBreaker\x1a\x31.cosmos.circuit.v1.MsgResetCircuitBreakerResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xa4\x01\n\x15\x63om.cosmos.circuit.v1B\x07TxProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1a\x63osmos/circuit/v1/tx.proto\x12\x11\x63osmos.circuit.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1d\x63osmos/circuit/v1/types.proto"\xa0\x01\n\x1aMsgAuthorizeCircuitBreaker\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x18\n\x07grantee\x18\x02 \x01(\tR\x07grantee\x12@\n\x0bpermissions\x18\x03 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\x0bpermissions:\x0c\x82\xe7\xb0*\x07granter">\n"MsgAuthorizeCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success"i\n\x15MsgTripCircuitBreaker\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12"\n\rmsg_type_urls\x18\x02 \x03(\tR\x0bmsgTypeUrls:\x0e\x82\xe7\xb0*\tauthority"9\n\x1dMsgTripCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success"j\n\x16MsgResetCircuitBreaker\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12"\n\rmsg_type_urls\x18\x03 \x03(\tR\x0bmsgTypeUrls:\x0e\x82\xe7\xb0*\tauthority":\n\x1eMsgResetCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success2\xf4\x02\n\x03Msg\x12\x7f\n\x17\x41uthorizeCircuitBreaker\x12-.cosmos.circuit.v1.MsgAuthorizeCircuitBreaker\x1a\x35.cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse\x12p\n\x12TripCircuitBreaker\x12(.cosmos.circuit.v1.MsgTripCircuitBreaker\x1a\x30.cosmos.circuit.v1.MsgTripCircuitBreakerResponse\x12s\n\x13ResetCircuitBreaker\x12).cosmos.circuit.v1.MsgResetCircuitBreaker\x1a\x31.cosmos.circuit.v1.MsgResetCircuitBreakerResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xa4\x01\n\x15\x63om.cosmos.circuit.v1B\x07TxProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.circuit.v1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.circuit.v1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.circuit.v1B\007TxProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1' - _globals['_MSGAUTHORIZECIRCUITBREAKER']._loaded_options = None - _globals['_MSGAUTHORIZECIRCUITBREAKER']._serialized_options = b'\202\347\260*\007granter' - _globals['_MSGTRIPCIRCUITBREAKER']._loaded_options = None - _globals['_MSGTRIPCIRCUITBREAKER']._serialized_options = b'\202\347\260*\tauthority' - _globals['_MSGRESETCIRCUITBREAKER']._loaded_options = None - _globals['_MSGRESETCIRCUITBREAKER']._serialized_options = b'\202\347\260*\tauthority' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGAUTHORIZECIRCUITBREAKER']._serialized_start=106 - _globals['_MSGAUTHORIZECIRCUITBREAKER']._serialized_end=266 - _globals['_MSGAUTHORIZECIRCUITBREAKERRESPONSE']._serialized_start=268 - _globals['_MSGAUTHORIZECIRCUITBREAKERRESPONSE']._serialized_end=330 - _globals['_MSGTRIPCIRCUITBREAKER']._serialized_start=332 - _globals['_MSGTRIPCIRCUITBREAKER']._serialized_end=437 - _globals['_MSGTRIPCIRCUITBREAKERRESPONSE']._serialized_start=439 - _globals['_MSGTRIPCIRCUITBREAKERRESPONSE']._serialized_end=496 - _globals['_MSGRESETCIRCUITBREAKER']._serialized_start=498 - _globals['_MSGRESETCIRCUITBREAKER']._serialized_end=604 - _globals['_MSGRESETCIRCUITBREAKERRESPONSE']._serialized_start=606 - _globals['_MSGRESETCIRCUITBREAKERRESPONSE']._serialized_end=664 - _globals['_MSG']._serialized_start=667 - _globals['_MSG']._serialized_end=1039 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\025com.cosmos.circuit.v1B\007TxProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1" + ) + _globals["_MSGAUTHORIZECIRCUITBREAKER"]._loaded_options = None + _globals["_MSGAUTHORIZECIRCUITBREAKER"]._serialized_options = b"\202\347\260*\007granter" + _globals["_MSGTRIPCIRCUITBREAKER"]._loaded_options = None + _globals["_MSGTRIPCIRCUITBREAKER"]._serialized_options = b"\202\347\260*\tauthority" + _globals["_MSGRESETCIRCUITBREAKER"]._loaded_options = None + _globals["_MSGRESETCIRCUITBREAKER"]._serialized_options = b"\202\347\260*\tauthority" + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGAUTHORIZECIRCUITBREAKER"]._serialized_start = 106 + _globals["_MSGAUTHORIZECIRCUITBREAKER"]._serialized_end = 266 + _globals["_MSGAUTHORIZECIRCUITBREAKERRESPONSE"]._serialized_start = 268 + _globals["_MSGAUTHORIZECIRCUITBREAKERRESPONSE"]._serialized_end = 330 + _globals["_MSGTRIPCIRCUITBREAKER"]._serialized_start = 332 + _globals["_MSGTRIPCIRCUITBREAKER"]._serialized_end = 437 + _globals["_MSGTRIPCIRCUITBREAKERRESPONSE"]._serialized_start = 439 + _globals["_MSGTRIPCIRCUITBREAKERRESPONSE"]._serialized_end = 496 + _globals["_MSGRESETCIRCUITBREAKER"]._serialized_start = 498 + _globals["_MSGRESETCIRCUITBREAKER"]._serialized_end = 604 + _globals["_MSGRESETCIRCUITBREAKERRESPONSE"]._serialized_start = 606 + _globals["_MSGRESETCIRCUITBREAKERRESPONSE"]._serialized_end = 664 + _globals["_MSG"]._serialized_start = 667 + _globals["_MSG"]._serialized_end = 1039 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/circuit/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/circuit/v1/tx_pb2_grpc.py index ab4dcc13..c13e7bce 100644 --- a/pyinjective/proto/cosmos/circuit/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/circuit/v1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the circuit Msg service. - """ + """Msg defines the circuit Msg service.""" def __init__(self, channel): """Constructor. @@ -16,94 +15,95 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.AuthorizeCircuitBreaker = channel.unary_unary( - '/cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker', - request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreaker.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreakerResponse.FromString, - _registered_method=True) + "/cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker", + request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreaker.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreakerResponse.FromString, + _registered_method=True, + ) self.TripCircuitBreaker = channel.unary_unary( - '/cosmos.circuit.v1.Msg/TripCircuitBreaker', - request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreaker.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreakerResponse.FromString, - _registered_method=True) + "/cosmos.circuit.v1.Msg/TripCircuitBreaker", + request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreaker.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreakerResponse.FromString, + _registered_method=True, + ) self.ResetCircuitBreaker = channel.unary_unary( - '/cosmos.circuit.v1.Msg/ResetCircuitBreaker', - request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreaker.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreakerResponse.FromString, - _registered_method=True) + "/cosmos.circuit.v1.Msg/ResetCircuitBreaker", + request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreaker.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreakerResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the circuit Msg service. - """ + """Msg defines the circuit Msg service.""" def AuthorizeCircuitBreaker(self, request, context): """AuthorizeCircuitBreaker allows a super-admin to grant (or revoke) another account's circuit breaker permissions. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TripCircuitBreaker(self, request, context): - """TripCircuitBreaker pauses processing of Msg's in the state machine. - """ + """TripCircuitBreaker pauses processing of Msg's in the state machine.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ResetCircuitBreaker(self, request, context): """ResetCircuitBreaker resumes processing of Msg's in the state machine that have been been paused using TripCircuitBreaker. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'AuthorizeCircuitBreaker': grpc.unary_unary_rpc_method_handler( - servicer.AuthorizeCircuitBreaker, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreaker.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreakerResponse.SerializeToString, - ), - 'TripCircuitBreaker': grpc.unary_unary_rpc_method_handler( - servicer.TripCircuitBreaker, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreaker.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreakerResponse.SerializeToString, - ), - 'ResetCircuitBreaker': grpc.unary_unary_rpc_method_handler( - servicer.ResetCircuitBreaker, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreaker.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreakerResponse.SerializeToString, - ), + "AuthorizeCircuitBreaker": grpc.unary_unary_rpc_method_handler( + servicer.AuthorizeCircuitBreaker, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreaker.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreakerResponse.SerializeToString, + ), + "TripCircuitBreaker": grpc.unary_unary_rpc_method_handler( + servicer.TripCircuitBreaker, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreaker.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreakerResponse.SerializeToString, + ), + "ResetCircuitBreaker": grpc.unary_unary_rpc_method_handler( + servicer.ResetCircuitBreaker, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreaker.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreakerResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.circuit.v1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.circuit.v1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.circuit.v1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.circuit.v1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the circuit Msg service. - """ + """Msg defines the circuit Msg service.""" @staticmethod - def AuthorizeCircuitBreaker(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AuthorizeCircuitBreaker( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker', + "/cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker", cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreaker.SerializeToString, cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreakerResponse.FromString, options, @@ -114,23 +114,26 @@ def AuthorizeCircuitBreaker(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def TripCircuitBreaker(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def TripCircuitBreaker( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.circuit.v1.Msg/TripCircuitBreaker', + "/cosmos.circuit.v1.Msg/TripCircuitBreaker", cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreaker.SerializeToString, cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreakerResponse.FromString, options, @@ -141,23 +144,26 @@ def TripCircuitBreaker(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ResetCircuitBreaker(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ResetCircuitBreaker( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.circuit.v1.Msg/ResetCircuitBreaker', + "/cosmos.circuit.v1.Msg/ResetCircuitBreaker", cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreaker.SerializeToString, cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreakerResponse.FromString, options, @@ -168,4 +174,5 @@ def ResetCircuitBreaker(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/circuit/v1/types_pb2.py b/pyinjective/proto/cosmos/circuit/v1/types_pb2.py index 53f8703e..9579bcaa 100644 --- a/pyinjective/proto/cosmos/circuit/v1/types_pb2.py +++ b/pyinjective/proto/cosmos/circuit/v1/types_pb2.py @@ -7,27 +7,30 @@ 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\x1d\x63osmos/circuit/v1/types.proto\x12\x11\x63osmos.circuit.v1\"\xd6\x01\n\x0bPermissions\x12:\n\x05level\x18\x01 \x01(\x0e\x32$.cosmos.circuit.v1.Permissions.LevelR\x05level\x12&\n\x0flimit_type_urls\x18\x02 \x03(\tR\rlimitTypeUrls\"c\n\x05Level\x12\x1a\n\x16LEVEL_NONE_UNSPECIFIED\x10\x00\x12\x13\n\x0fLEVEL_SOME_MSGS\x10\x01\x12\x12\n\x0eLEVEL_ALL_MSGS\x10\x02\x12\x15\n\x11LEVEL_SUPER_ADMIN\x10\x03\"w\n\x19GenesisAccountPermissions\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\x0bpermissions\x18\x02 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\x0bpermissions\"\x9b\x01\n\x0cGenesisState\x12]\n\x13\x61\x63\x63ount_permissions\x18\x01 \x03(\x0b\x32,.cosmos.circuit.v1.GenesisAccountPermissionsR\x12\x61\x63\x63ountPermissions\x12,\n\x12\x64isabled_type_urls\x18\x02 \x03(\tR\x10\x64isabledTypeUrlsB\xa7\x01\n\x15\x63om.cosmos.circuit.v1B\nTypesProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1d\x63osmos/circuit/v1/types.proto\x12\x11\x63osmos.circuit.v1"\xd6\x01\n\x0bPermissions\x12:\n\x05level\x18\x01 \x01(\x0e\x32$.cosmos.circuit.v1.Permissions.LevelR\x05level\x12&\n\x0flimit_type_urls\x18\x02 \x03(\tR\rlimitTypeUrls"c\n\x05Level\x12\x1a\n\x16LEVEL_NONE_UNSPECIFIED\x10\x00\x12\x13\n\x0fLEVEL_SOME_MSGS\x10\x01\x12\x12\n\x0eLEVEL_ALL_MSGS\x10\x02\x12\x15\n\x11LEVEL_SUPER_ADMIN\x10\x03"w\n\x19GenesisAccountPermissions\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\x0bpermissions\x18\x02 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\x0bpermissions"\x9b\x01\n\x0cGenesisState\x12]\n\x13\x61\x63\x63ount_permissions\x18\x01 \x03(\x0b\x32,.cosmos.circuit.v1.GenesisAccountPermissionsR\x12\x61\x63\x63ountPermissions\x12,\n\x12\x64isabled_type_urls\x18\x02 \x03(\tR\x10\x64isabledTypeUrlsB\xa7\x01\n\x15\x63om.cosmos.circuit.v1B\nTypesProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.circuit.v1.types_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.circuit.v1.types_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.circuit.v1B\nTypesProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1' - _globals['_PERMISSIONS']._serialized_start=53 - _globals['_PERMISSIONS']._serialized_end=267 - _globals['_PERMISSIONS_LEVEL']._serialized_start=168 - _globals['_PERMISSIONS_LEVEL']._serialized_end=267 - _globals['_GENESISACCOUNTPERMISSIONS']._serialized_start=269 - _globals['_GENESISACCOUNTPERMISSIONS']._serialized_end=388 - _globals['_GENESISSTATE']._serialized_start=391 - _globals['_GENESISSTATE']._serialized_end=546 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\025com.cosmos.circuit.v1B\nTypesProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1" + ) + _globals["_PERMISSIONS"]._serialized_start = 53 + _globals["_PERMISSIONS"]._serialized_end = 267 + _globals["_PERMISSIONS_LEVEL"]._serialized_start = 168 + _globals["_PERMISSIONS_LEVEL"]._serialized_end = 267 + _globals["_GENESISACCOUNTPERMISSIONS"]._serialized_start = 269 + _globals["_GENESISACCOUNTPERMISSIONS"]._serialized_end = 388 + _globals["_GENESISSTATE"]._serialized_start = 391 + _globals["_GENESISSTATE"]._serialized_end = 546 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/circuit/v1/types_pb2_grpc.py b/pyinjective/proto/cosmos/circuit/v1/types_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/circuit/v1/types_pb2_grpc.py +++ b/pyinjective/proto/cosmos/circuit/v1/types_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/consensus/module/v1/module_pb2.py b/pyinjective/proto/cosmos/consensus/module/v1/module_pb2.py index 723e1ebf..5628645e 100644 --- a/pyinjective/proto/cosmos/consensus/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/consensus/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/consensus/module/v1/module.proto\x12\x1a\x63osmos.consensus.module.v1\x1a cosmos/app/v1alpha1/module.proto\"X\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:0\xba\xc0\x96\xda\x01*\n(github.com/cosmos/cosmos-sdk/x/consensusB\xb8\x01\n\x1e\x63om.cosmos.consensus.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x1a\x43osmos.Consensus.Module.V1\xca\x02\x1a\x43osmos\\Consensus\\Module\\V1\xe2\x02&Cosmos\\Consensus\\Module\\V1\\GPBMetadata\xea\x02\x1d\x43osmos::Consensus::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n'cosmos/consensus/module/v1/module.proto\x12\x1a\x63osmos.consensus.module.v1\x1a cosmos/app/v1alpha1/module.proto\"X\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:0\xba\xc0\x96\xda\x01*\n(github.com/cosmos/cosmos-sdk/x/consensusB\xb8\x01\n\x1e\x63om.cosmos.consensus.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x1a\x43osmos.Consensus.Module.V1\xca\x02\x1a\x43osmos\\Consensus\\Module\\V1\xe2\x02&Cosmos\\Consensus\\Module\\V1\\GPBMetadata\xea\x02\x1d\x43osmos::Consensus::Module::V1b\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.consensus.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.cosmos.consensus.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\032Cosmos.Consensus.Module.V1\312\002\032Cosmos\\Consensus\\Module\\V1\342\002&Cosmos\\Consensus\\Module\\V1\\GPBMetadata\352\002\035Cosmos::Consensus::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001*\n(github.com/cosmos/cosmos-sdk/x/consensus' - _globals['_MODULE']._serialized_start=105 - _globals['_MODULE']._serialized_end=193 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\036com.cosmos.consensus.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\032Cosmos.Consensus.Module.V1\312\002\032Cosmos\\Consensus\\Module\\V1\342\002&Cosmos\\Consensus\\Module\\V1\\GPBMetadata\352\002\035Cosmos::Consensus::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001*\n(github.com/cosmos/cosmos-sdk/x/consensus" + _globals["_MODULE"]._serialized_start = 105 + _globals["_MODULE"]._serialized_end = 193 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/consensus/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/consensus/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/consensus/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/consensus/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/consensus/v1/query_pb2.py b/pyinjective/proto/cosmos/consensus/v1/query_pb2.py index 32464859..fefcdb2e 100644 --- a/pyinjective/proto/cosmos/consensus/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/consensus/v1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,20 +17,26 @@ from pyinjective.proto.tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/consensus/v1/query.proto\x12\x13\x63osmos.consensus.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dtendermint/types/params.proto\"\x14\n\x12QueryParamsRequest\"P\n\x13QueryParamsResponse\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x06params2\x8a\x01\n\x05Query\x12\x80\x01\n\x06Params\x12\'.cosmos.consensus.v1.QueryParamsRequest\x1a(.cosmos.consensus.v1.QueryParamsResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/consensus/v1/paramsB\xc3\x01\n\x17\x63om.cosmos.consensus.v1B\nQueryProtoP\x01Z.github.com/cosmos/cosmos-sdk/x/consensus/types\xa2\x02\x03\x43\x43X\xaa\x02\x13\x43osmos.Consensus.V1\xca\x02\x13\x43osmos\\Consensus\\V1\xe2\x02\x1f\x43osmos\\Consensus\\V1\\GPBMetadata\xea\x02\x15\x43osmos::Consensus::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1f\x63osmos/consensus/v1/query.proto\x12\x13\x63osmos.consensus.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dtendermint/types/params.proto"\x14\n\x12QueryParamsRequest"P\n\x13QueryParamsResponse\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x06params2\x8a\x01\n\x05Query\x12\x80\x01\n\x06Params\x12\'.cosmos.consensus.v1.QueryParamsRequest\x1a(.cosmos.consensus.v1.QueryParamsResponse"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/consensus/v1/paramsB\xc3\x01\n\x17\x63om.cosmos.consensus.v1B\nQueryProtoP\x01Z.github.com/cosmos/cosmos-sdk/x/consensus/types\xa2\x02\x03\x43\x43X\xaa\x02\x13\x43osmos.Consensus.V1\xca\x02\x13\x43osmos\\Consensus\\V1\xe2\x02\x1f\x43osmos\\Consensus\\V1\\GPBMetadata\xea\x02\x15\x43osmos::Consensus::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.v1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.consensus.v1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.consensus.v1B\nQueryProtoP\001Z.github.com/cosmos/cosmos-sdk/x/consensus/types\242\002\003CCX\252\002\023Cosmos.Consensus.V1\312\002\023Cosmos\\Consensus\\V1\342\002\037Cosmos\\Consensus\\V1\\GPBMetadata\352\002\025Cosmos::Consensus::V1' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/consensus/v1/params' - _globals['_QUERYPARAMSREQUEST']._serialized_start=117 - _globals['_QUERYPARAMSREQUEST']._serialized_end=137 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=139 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=219 - _globals['_QUERY']._serialized_start=222 - _globals['_QUERY']._serialized_end=360 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.consensus.v1B\nQueryProtoP\001Z.github.com/cosmos/cosmos-sdk/x/consensus/types\242\002\003CCX\252\002\023Cosmos.Consensus.V1\312\002\023Cosmos\\Consensus\\V1\342\002\037Cosmos\\Consensus\\V1\\GPBMetadata\352\002\025Cosmos::Consensus::V1" + ) + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\202\323\344\223\002\035\022\033/cosmos/consensus/v1/params" + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 117 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 137 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 139 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 219 + _globals["_QUERY"]._serialized_start = 222 + _globals["_QUERY"]._serialized_end = 360 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/consensus/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/consensus/v1/query_pb2_grpc.py index b1a719b2..077b51e9 100644 --- a/pyinjective/proto/cosmos/consensus/v1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/consensus/v1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,58 +15,57 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - '/cosmos.consensus.v1.Query/Params', - request_serializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/cosmos.consensus.v1.Query/Params", + request_serializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def Params(self, request, context): - """Params queries the parameters of x/consensus module. - """ + """Params queries the parameters of x/consensus module.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.consensus.v1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.consensus.v1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.consensus.v1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.consensus.v1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.consensus.v1.Query/Params', + "/cosmos.consensus.v1.Query/Params", cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -78,4 +76,5 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py b/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py index 584d4c38..e657c97b 100644 --- a/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py +++ b/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,24 +19,30 @@ from pyinjective.proto.tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/consensus/v1/tx.proto\x12\x13\x63osmos.consensus.v1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1dtendermint/types/params.proto\"\xea\x02\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x33\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x1d.tendermint.types.BlockParamsR\x05\x62lock\x12<\n\x08\x65vidence\x18\x03 \x01(\x0b\x32 .tendermint.types.EvidenceParamsR\x08\x65vidence\x12?\n\tvalidator\x18\x04 \x01(\x0b\x32!.tendermint.types.ValidatorParamsR\tvalidator\x12\x30\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParamsR\x04\x61\x62\x63i:9\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*&cosmos-sdk/x/consensus/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.consensus.v1.MsgUpdateParams\x1a,.cosmos.consensus.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc0\x01\n\x17\x63om.cosmos.consensus.v1B\x07TxProtoP\x01Z.github.com/cosmos/cosmos-sdk/x/consensus/types\xa2\x02\x03\x43\x43X\xaa\x02\x13\x43osmos.Consensus.V1\xca\x02\x13\x43osmos\\Consensus\\V1\xe2\x02\x1f\x43osmos\\Consensus\\V1\\GPBMetadata\xea\x02\x15\x43osmos::Consensus::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1c\x63osmos/consensus/v1/tx.proto\x12\x13\x63osmos.consensus.v1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1dtendermint/types/params.proto"\xea\x02\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x33\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x1d.tendermint.types.BlockParamsR\x05\x62lock\x12<\n\x08\x65vidence\x18\x03 \x01(\x0b\x32 .tendermint.types.EvidenceParamsR\x08\x65vidence\x12?\n\tvalidator\x18\x04 \x01(\x0b\x32!.tendermint.types.ValidatorParamsR\tvalidator\x12\x30\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParamsR\x04\x61\x62\x63i:9\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*&cosmos-sdk/x/consensus/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.consensus.v1.MsgUpdateParams\x1a,.cosmos.consensus.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc0\x01\n\x17\x63om.cosmos.consensus.v1B\x07TxProtoP\x01Z.github.com/cosmos/cosmos-sdk/x/consensus/types\xa2\x02\x03\x43\x43X\xaa\x02\x13\x43osmos.Consensus.V1\xca\x02\x13\x43osmos\\Consensus\\V1\xe2\x02\x1f\x43osmos\\Consensus\\V1\\GPBMetadata\xea\x02\x15\x43osmos::Consensus::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.v1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.consensus.v1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.consensus.v1B\007TxProtoP\001Z.github.com/cosmos/cosmos-sdk/x/consensus/types\242\002\003CCX\252\002\023Cosmos.Consensus.V1\312\002\023Cosmos\\Consensus\\V1\342\002\037Cosmos\\Consensus\\V1\\GPBMetadata\352\002\025Cosmos::Consensus::V1' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*&cosmos-sdk/x/consensus/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGUPDATEPARAMS']._serialized_start=156 - _globals['_MSGUPDATEPARAMS']._serialized_end=518 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=520 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=545 - _globals['_MSG']._serialized_start=547 - _globals['_MSG']._serialized_end=659 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.consensus.v1B\007TxProtoP\001Z.github.com/cosmos/cosmos-sdk/x/consensus/types\242\002\003CCX\252\002\023Cosmos.Consensus.V1\312\002\023Cosmos\\Consensus\\V1\342\002\037Cosmos\\Consensus\\V1\\GPBMetadata\352\002\025Cosmos::Consensus::V1" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*&cosmos-sdk/x/consensus/MsgUpdateParams" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGUPDATEPARAMS"]._serialized_start = 156 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 518 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 520 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 545 + _globals["_MSG"]._serialized_start = 547 + _globals["_MSG"]._serialized_end = 659 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/consensus/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/consensus/v1/tx_pb2_grpc.py index da512ed6..fbaee79a 100644 --- a/pyinjective/proto/cosmos/consensus/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/consensus/v1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the consensus Msg service. - """ + """Msg defines the consensus Msg service.""" def __init__(self, channel): """Constructor. @@ -16,15 +15,15 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.UpdateParams = channel.unary_unary( - '/cosmos.consensus.v1.Msg/UpdateParams', - request_serializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/cosmos.consensus.v1.Msg/UpdateParams", + request_serializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the consensus Msg service. - """ + """Msg defines the consensus Msg service.""" def UpdateParams(self, request, context): """UpdateParams defines a governance operation for updating the x/consensus module parameters. @@ -33,44 +32,44 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.consensus.v1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.consensus.v1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.consensus.v1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.consensus.v1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the consensus Msg service. - """ + """Msg defines the consensus Msg service.""" @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.consensus.v1.Msg/UpdateParams', + "/cosmos.consensus.v1.Msg/UpdateParams", cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -81,4 +80,5 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py b/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py index 2f26f291..edb32b1e 100644 --- a/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/crisis/module/v1/module.proto\x12\x17\x63osmos.crisis.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x83\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:-\xba\xc0\x96\xda\x01\'\n%github.com/cosmos/cosmos-sdk/x/crisisB\xa9\x01\n\x1b\x63om.cosmos.crisis.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x17\x43osmos.Crisis.Module.V1\xca\x02\x17\x43osmos\\Crisis\\Module\\V1\xe2\x02#Cosmos\\Crisis\\Module\\V1\\GPBMetadata\xea\x02\x1a\x43osmos::Crisis::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n$cosmos/crisis/module/v1/module.proto\x12\x17\x63osmos.crisis.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x83\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:-\xba\xc0\x96\xda\x01'\n%github.com/cosmos/cosmos-sdk/x/crisisB\xa9\x01\n\x1b\x63om.cosmos.crisis.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x17\x43osmos.Crisis.Module.V1\xca\x02\x17\x43osmos\\Crisis\\Module\\V1\xe2\x02#Cosmos\\Crisis\\Module\\V1\\GPBMetadata\xea\x02\x1a\x43osmos::Crisis::Module::V1b\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crisis.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.crisis.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\027Cosmos.Crisis.Module.V1\312\002\027Cosmos\\Crisis\\Module\\V1\342\002#Cosmos\\Crisis\\Module\\V1\\GPBMetadata\352\002\032Cosmos::Crisis::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\'\n%github.com/cosmos/cosmos-sdk/x/crisis' - _globals['_MODULE']._serialized_start=100 - _globals['_MODULE']._serialized_end=231 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.cosmos.crisis.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\027Cosmos.Crisis.Module.V1\312\002\027Cosmos\\Crisis\\Module\\V1\342\002#Cosmos\\Crisis\\Module\\V1\\GPBMetadata\352\002\032Cosmos::Crisis::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001'\n%github.com/cosmos/cosmos-sdk/x/crisis" + _globals["_MODULE"]._serialized_start = 100 + _globals["_MODULE"]._serialized_end = 231 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crisis/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/crisis/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/crisis/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crisis/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/crisis/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2.py index e2a3ae8e..f6ede622 100644 --- a/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,16 +18,20 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/crisis/v1beta1/genesis.proto\x12\x15\x63osmos.crisis.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"W\n\x0cGenesisState\x12G\n\x0c\x63onstant_fee\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x63onstantFeeB\xcc\x01\n\x19\x63om.cosmos.crisis.v1beta1B\x0cGenesisProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/crisis/types\xa2\x02\x03\x43\x43X\xaa\x02\x15\x43osmos.Crisis.V1beta1\xca\x02\x15\x43osmos\\Crisis\\V1beta1\xe2\x02!Cosmos\\Crisis\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Crisis::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n#cosmos/crisis/v1beta1/genesis.proto\x12\x15\x63osmos.crisis.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto"W\n\x0cGenesisState\x12G\n\x0c\x63onstant_fee\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x63onstantFeeB\xcc\x01\n\x19\x63om.cosmos.crisis.v1beta1B\x0cGenesisProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/crisis/types\xa2\x02\x03\x43\x43X\xaa\x02\x15\x43osmos.Crisis.V1beta1\xca\x02\x15\x43osmos\\Crisis\\V1beta1\xe2\x02!Cosmos\\Crisis\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Crisis::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crisis.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.crisis.v1beta1B\014GenesisProtoP\001Z+github.com/cosmos/cosmos-sdk/x/crisis/types\242\002\003CCX\252\002\025Cosmos.Crisis.V1beta1\312\002\025Cosmos\\Crisis\\V1beta1\342\002!Cosmos\\Crisis\\V1beta1\\GPBMetadata\352\002\027Cosmos::Crisis::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['constant_fee']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['constant_fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE']._serialized_start=135 - _globals['_GENESISSTATE']._serialized_end=222 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\031com.cosmos.crisis.v1beta1B\014GenesisProtoP\001Z+github.com/cosmos/cosmos-sdk/x/crisis/types\242\002\003CCX\252\002\025Cosmos.Crisis.V1beta1\312\002\025Cosmos\\Crisis\\V1beta1\342\002!Cosmos\\Crisis\\V1beta1\\GPBMetadata\352\002\027Cosmos::Crisis::V1beta1" + ) + _globals["_GENESISSTATE"].fields_by_name["constant_fee"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["constant_fee"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"]._serialized_start = 135 + _globals["_GENESISSTATE"]._serialized_end = 222 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/crisis/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2.py index 534ad09d..84c6afaf 100644 --- a/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,34 +20,44 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/crisis/v1beta1/tx.proto\x12\x15\x63osmos.crisis.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\xda\x01\n\x12MsgVerifyInvariant\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x32\n\x15invariant_module_name\x18\x02 \x01(\tR\x13invariantModuleName\x12\'\n\x0finvariant_route\x18\x03 \x01(\tR\x0einvariantRoute:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgVerifyInvariant\"\x1c\n\x1aMsgVerifyInvariantResponse\"\xca\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12G\n\x0c\x63onstant_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x63onstantFee:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#cosmos-sdk/x/crisis/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xe5\x01\n\x03Msg\x12o\n\x0fVerifyInvariant\x12).cosmos.crisis.v1beta1.MsgVerifyInvariant\x1a\x31.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse\x12\x66\n\x0cUpdateParams\x12&.cosmos.crisis.v1beta1.MsgUpdateParams\x1a..cosmos.crisis.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc7\x01\n\x19\x63om.cosmos.crisis.v1beta1B\x07TxProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/crisis/types\xa2\x02\x03\x43\x43X\xaa\x02\x15\x43osmos.Crisis.V1beta1\xca\x02\x15\x43osmos\\Crisis\\V1beta1\xe2\x02!Cosmos\\Crisis\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Crisis::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1e\x63osmos/crisis/v1beta1/tx.proto\x12\x15\x63osmos.crisis.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"\xda\x01\n\x12MsgVerifyInvariant\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x32\n\x15invariant_module_name\x18\x02 \x01(\tR\x13invariantModuleName\x12\'\n\x0finvariant_route\x18\x03 \x01(\tR\x0einvariantRoute:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgVerifyInvariant"\x1c\n\x1aMsgVerifyInvariantResponse"\xca\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12G\n\x0c\x63onstant_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x63onstantFee:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#cosmos-sdk/x/crisis/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2\xe5\x01\n\x03Msg\x12o\n\x0fVerifyInvariant\x12).cosmos.crisis.v1beta1.MsgVerifyInvariant\x1a\x31.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse\x12\x66\n\x0cUpdateParams\x12&.cosmos.crisis.v1beta1.MsgUpdateParams\x1a..cosmos.crisis.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc7\x01\n\x19\x63om.cosmos.crisis.v1beta1B\x07TxProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/crisis/types\xa2\x02\x03\x43\x43X\xaa\x02\x15\x43osmos.Crisis.V1beta1\xca\x02\x15\x43osmos\\Crisis\\V1beta1\xe2\x02!Cosmos\\Crisis\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Crisis::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crisis.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.crisis.v1beta1B\007TxProtoP\001Z+github.com/cosmos/cosmos-sdk/x/crisis/types\242\002\003CCX\252\002\025Cosmos.Crisis.V1beta1\312\002\025Cosmos\\Crisis\\V1beta1\342\002!Cosmos\\Crisis\\V1beta1\\GPBMetadata\352\002\027Cosmos::Crisis::V1beta1' - _globals['_MSGVERIFYINVARIANT'].fields_by_name['sender']._loaded_options = None - _globals['_MSGVERIFYINVARIANT'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGVERIFYINVARIANT']._loaded_options = None - _globals['_MSGVERIFYINVARIANT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035cosmos-sdk/MsgVerifyInvariant' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['constant_fee']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['constant_fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*#cosmos-sdk/x/crisis/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGVERIFYINVARIANT']._serialized_start=183 - _globals['_MSGVERIFYINVARIANT']._serialized_end=401 - _globals['_MSGVERIFYINVARIANTRESPONSE']._serialized_start=403 - _globals['_MSGVERIFYINVARIANTRESPONSE']._serialized_end=431 - _globals['_MSGUPDATEPARAMS']._serialized_start=434 - _globals['_MSGUPDATEPARAMS']._serialized_end=636 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=638 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=663 - _globals['_MSG']._serialized_start=666 - _globals['_MSG']._serialized_end=895 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\031com.cosmos.crisis.v1beta1B\007TxProtoP\001Z+github.com/cosmos/cosmos-sdk/x/crisis/types\242\002\003CCX\252\002\025Cosmos.Crisis.V1beta1\312\002\025Cosmos\\Crisis\\V1beta1\342\002!Cosmos\\Crisis\\V1beta1\\GPBMetadata\352\002\027Cosmos::Crisis::V1beta1" + ) + _globals["_MSGVERIFYINVARIANT"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGVERIFYINVARIANT"].fields_by_name["sender"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGVERIFYINVARIANT"]._loaded_options = None + _globals["_MSGVERIFYINVARIANT"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035cosmos-sdk/MsgVerifyInvariant" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["constant_fee"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name[ + "constant_fee" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*#cosmos-sdk/x/crisis/MsgUpdateParams" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGVERIFYINVARIANT"]._serialized_start = 183 + _globals["_MSGVERIFYINVARIANT"]._serialized_end = 401 + _globals["_MSGVERIFYINVARIANTRESPONSE"]._serialized_start = 403 + _globals["_MSGVERIFYINVARIANTRESPONSE"]._serialized_end = 431 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 434 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 636 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 638 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 663 + _globals["_MSG"]._serialized_start = 666 + _globals["_MSG"]._serialized_end = 895 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2_grpc.py index 1d15bace..b7ed74b5 100644 --- a/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the bank Msg service. - """ + """Msg defines the bank Msg service.""" def __init__(self, channel): """Constructor. @@ -16,27 +15,27 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.VerifyInvariant = channel.unary_unary( - '/cosmos.crisis.v1beta1.Msg/VerifyInvariant', - request_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariant.SerializeToString, - response_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariantResponse.FromString, - _registered_method=True) + "/cosmos.crisis.v1beta1.Msg/VerifyInvariant", + request_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariant.SerializeToString, + response_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariantResponse.FromString, + _registered_method=True, + ) self.UpdateParams = channel.unary_unary( - '/cosmos.crisis.v1beta1.Msg/UpdateParams', - request_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/cosmos.crisis.v1beta1.Msg/UpdateParams", + request_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the bank Msg service. - """ + """Msg defines the bank Msg service.""" def VerifyInvariant(self, request, context): - """VerifyInvariant defines a method to verify a particular invariant. - """ + """VerifyInvariant defines a method to verify a particular invariant.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateParams(self, request, context): """UpdateParams defines a governance operation for updating the x/crisis module @@ -45,49 +44,49 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'VerifyInvariant': grpc.unary_unary_rpc_method_handler( - servicer.VerifyInvariant, - request_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariant.FromString, - response_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariantResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + "VerifyInvariant": grpc.unary_unary_rpc_method_handler( + servicer.VerifyInvariant, + request_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariant.FromString, + response_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariantResponse.SerializeToString, + ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.crisis.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.crisis.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.crisis.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.crisis.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the bank Msg service. - """ + """Msg defines the bank Msg service.""" @staticmethod - def VerifyInvariant(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def VerifyInvariant( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.crisis.v1beta1.Msg/VerifyInvariant', + "/cosmos.crisis.v1beta1.Msg/VerifyInvariant", cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariant.SerializeToString, cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariantResponse.FromString, options, @@ -98,23 +97,26 @@ def VerifyInvariant(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.crisis.v1beta1.Msg/UpdateParams', + "/cosmos.crisis.v1beta1.Msg/UpdateParams", cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -125,4 +127,5 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py b/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py index 2855e3ba..e0b57f1f 100644 --- a/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py +++ b/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,24 +17,30 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/crypto/ed25519/keys.proto\x12\x15\x63osmos.crypto.ed25519\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\"i\n\x06PubKey\x12.\n\x03key\x18\x01 \x01(\x0c\x42\x1c\xfa\xde\x1f\x18\x63rypto/ed25519.PublicKeyR\x03key:/\x98\xa0\x1f\x00\x8a\xe7\xb0*\x18tendermint/PubKeyEd25519\x92\xe7\xb0*\tkey_field\"h\n\x07PrivKey\x12/\n\x03key\x18\x01 \x01(\x0c\x42\x1d\xfa\xde\x1f\x19\x63rypto/ed25519.PrivateKeyR\x03key:,\x8a\xe7\xb0*\x19tendermint/PrivKeyEd25519\x92\xe7\xb0*\tkey_fieldB\xce\x01\n\x19\x63om.cosmos.crypto.ed25519B\tKeysProtoP\x01Z0github.com/cosmos/cosmos-sdk/crypto/keys/ed25519\xa2\x02\x03\x43\x43\x45\xaa\x02\x15\x43osmos.Crypto.Ed25519\xca\x02\x15\x43osmos\\Crypto\\Ed25519\xe2\x02!Cosmos\\Crypto\\Ed25519\\GPBMetadata\xea\x02\x17\x43osmos::Crypto::Ed25519b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n cosmos/crypto/ed25519/keys.proto\x12\x15\x63osmos.crypto.ed25519\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto"i\n\x06PubKey\x12.\n\x03key\x18\x01 \x01(\x0c\x42\x1c\xfa\xde\x1f\x18\x63rypto/ed25519.PublicKeyR\x03key:/\x98\xa0\x1f\x00\x8a\xe7\xb0*\x18tendermint/PubKeyEd25519\x92\xe7\xb0*\tkey_field"h\n\x07PrivKey\x12/\n\x03key\x18\x01 \x01(\x0c\x42\x1d\xfa\xde\x1f\x19\x63rypto/ed25519.PrivateKeyR\x03key:,\x8a\xe7\xb0*\x19tendermint/PrivKeyEd25519\x92\xe7\xb0*\tkey_fieldB\xce\x01\n\x19\x63om.cosmos.crypto.ed25519B\tKeysProtoP\x01Z0github.com/cosmos/cosmos-sdk/crypto/keys/ed25519\xa2\x02\x03\x43\x43\x45\xaa\x02\x15\x43osmos.Crypto.Ed25519\xca\x02\x15\x43osmos\\Crypto\\Ed25519\xe2\x02!Cosmos\\Crypto\\Ed25519\\GPBMetadata\xea\x02\x17\x43osmos::Crypto::Ed25519b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.ed25519.keys_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crypto.ed25519.keys_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.crypto.ed25519B\tKeysProtoP\001Z0github.com/cosmos/cosmos-sdk/crypto/keys/ed25519\242\002\003CCE\252\002\025Cosmos.Crypto.Ed25519\312\002\025Cosmos\\Crypto\\Ed25519\342\002!Cosmos\\Crypto\\Ed25519\\GPBMetadata\352\002\027Cosmos::Crypto::Ed25519' - _globals['_PUBKEY'].fields_by_name['key']._loaded_options = None - _globals['_PUBKEY'].fields_by_name['key']._serialized_options = b'\372\336\037\030crypto/ed25519.PublicKey' - _globals['_PUBKEY']._loaded_options = None - _globals['_PUBKEY']._serialized_options = b'\230\240\037\000\212\347\260*\030tendermint/PubKeyEd25519\222\347\260*\tkey_field' - _globals['_PRIVKEY'].fields_by_name['key']._loaded_options = None - _globals['_PRIVKEY'].fields_by_name['key']._serialized_options = b'\372\336\037\031crypto/ed25519.PrivateKey' - _globals['_PRIVKEY']._loaded_options = None - _globals['_PRIVKEY']._serialized_options = b'\212\347\260*\031tendermint/PrivKeyEd25519\222\347\260*\tkey_field' - _globals['_PUBKEY']._serialized_start=100 - _globals['_PUBKEY']._serialized_end=205 - _globals['_PRIVKEY']._serialized_start=207 - _globals['_PRIVKEY']._serialized_end=311 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\031com.cosmos.crypto.ed25519B\tKeysProtoP\001Z0github.com/cosmos/cosmos-sdk/crypto/keys/ed25519\242\002\003CCE\252\002\025Cosmos.Crypto.Ed25519\312\002\025Cosmos\\Crypto\\Ed25519\342\002!Cosmos\\Crypto\\Ed25519\\GPBMetadata\352\002\027Cosmos::Crypto::Ed25519" + ) + _globals["_PUBKEY"].fields_by_name["key"]._loaded_options = None + _globals["_PUBKEY"].fields_by_name["key"]._serialized_options = b"\372\336\037\030crypto/ed25519.PublicKey" + _globals["_PUBKEY"]._loaded_options = None + _globals["_PUBKEY"]._serialized_options = ( + b"\230\240\037\000\212\347\260*\030tendermint/PubKeyEd25519\222\347\260*\tkey_field" + ) + _globals["_PRIVKEY"].fields_by_name["key"]._loaded_options = None + _globals["_PRIVKEY"].fields_by_name["key"]._serialized_options = b"\372\336\037\031crypto/ed25519.PrivateKey" + _globals["_PRIVKEY"]._loaded_options = None + _globals["_PRIVKEY"]._serialized_options = b"\212\347\260*\031tendermint/PrivKeyEd25519\222\347\260*\tkey_field" + _globals["_PUBKEY"]._serialized_start = 100 + _globals["_PUBKEY"]._serialized_end = 205 + _globals["_PRIVKEY"]._serialized_start = 207 + _globals["_PRIVKEY"]._serialized_end = 311 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/crypto/hd/v1/hd_pb2.py b/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2.py index f6d78427..e803ceb4 100644 --- a/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2.py +++ b/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,16 +17,20 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/crypto/hd/v1/hd.proto\x12\x13\x63osmos.crypto.hd.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\"\xc0\x01\n\x0b\x42IP44Params\x12\x18\n\x07purpose\x18\x01 \x01(\rR\x07purpose\x12\x1b\n\tcoin_type\x18\x02 \x01(\rR\x08\x63oinType\x12\x18\n\x07\x61\x63\x63ount\x18\x03 \x01(\rR\x07\x61\x63\x63ount\x12\x16\n\x06\x63hange\x18\x04 \x01(\x08R\x06\x63hange\x12#\n\raddress_index\x18\x05 \x01(\rR\x0c\x61\x64\x64ressIndex:#\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1a\x63rypto/keys/hd/BIP44ParamsB\xbd\x01\n\x17\x63om.cosmos.crypto.hd.v1B\x07HdProtoP\x01Z&github.com/cosmos/cosmos-sdk/crypto/hd\xa2\x02\x03\x43\x43H\xaa\x02\x13\x43osmos.Crypto.Hd.V1\xca\x02\x13\x43osmos\\Crypto\\Hd\\V1\xe2\x02\x1f\x43osmos\\Crypto\\Hd\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Crypto::Hd::V1\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1c\x63osmos/crypto/hd/v1/hd.proto\x12\x13\x63osmos.crypto.hd.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto"\xc0\x01\n\x0b\x42IP44Params\x12\x18\n\x07purpose\x18\x01 \x01(\rR\x07purpose\x12\x1b\n\tcoin_type\x18\x02 \x01(\rR\x08\x63oinType\x12\x18\n\x07\x61\x63\x63ount\x18\x03 \x01(\rR\x07\x61\x63\x63ount\x12\x16\n\x06\x63hange\x18\x04 \x01(\x08R\x06\x63hange\x12#\n\raddress_index\x18\x05 \x01(\rR\x0c\x61\x64\x64ressIndex:#\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1a\x63rypto/keys/hd/BIP44ParamsB\xbd\x01\n\x17\x63om.cosmos.crypto.hd.v1B\x07HdProtoP\x01Z&github.com/cosmos/cosmos-sdk/crypto/hd\xa2\x02\x03\x43\x43H\xaa\x02\x13\x43osmos.Crypto.Hd.V1\xca\x02\x13\x43osmos\\Crypto\\Hd\\V1\xe2\x02\x1f\x43osmos\\Crypto\\Hd\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Crypto::Hd::V1\xc8\xe1\x1e\x00\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.hd.v1.hd_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crypto.hd.v1.hd_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.crypto.hd.v1B\007HdProtoP\001Z&github.com/cosmos/cosmos-sdk/crypto/hd\242\002\003CCH\252\002\023Cosmos.Crypto.Hd.V1\312\002\023Cosmos\\Crypto\\Hd\\V1\342\002\037Cosmos\\Crypto\\Hd\\V1\\GPBMetadata\352\002\026Cosmos::Crypto::Hd::V1\310\341\036\000' - _globals['_BIP44PARAMS']._loaded_options = None - _globals['_BIP44PARAMS']._serialized_options = b'\230\240\037\000\212\347\260*\032crypto/keys/hd/BIP44Params' - _globals['_BIP44PARAMS']._serialized_start=95 - _globals['_BIP44PARAMS']._serialized_end=287 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.crypto.hd.v1B\007HdProtoP\001Z&github.com/cosmos/cosmos-sdk/crypto/hd\242\002\003CCH\252\002\023Cosmos.Crypto.Hd.V1\312\002\023Cosmos\\Crypto\\Hd\\V1\342\002\037Cosmos\\Crypto\\Hd\\V1\\GPBMetadata\352\002\026Cosmos::Crypto::Hd::V1\310\341\036\000" + ) + _globals["_BIP44PARAMS"]._loaded_options = None + _globals["_BIP44PARAMS"]._serialized_options = b"\230\240\037\000\212\347\260*\032crypto/keys/hd/BIP44Params" + _globals["_BIP44PARAMS"]._serialized_start = 95 + _globals["_BIP44PARAMS"]._serialized_end = 287 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/crypto/keyring/v1/record_pb2.py b/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2.py index 3d06ef24..050eee7b 100644 --- a/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2.py +++ b/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,22 +18,26 @@ from pyinjective.proto.cosmos.crypto.hd.v1 import hd_pb2 as cosmos_dot_crypto_dot_hd_dot_v1_dot_hd__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/crypto/keyring/v1/record.proto\x12\x18\x63osmos.crypto.keyring.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1c\x63osmos/crypto/hd/v1/hd.proto\"\xea\x03\n\x06Record\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06pubKey\x12>\n\x05local\x18\x03 \x01(\x0b\x32&.cosmos.crypto.keyring.v1.Record.LocalH\x00R\x05local\x12\x41\n\x06ledger\x18\x04 \x01(\x0b\x32\'.cosmos.crypto.keyring.v1.Record.LedgerH\x00R\x06ledger\x12>\n\x05multi\x18\x05 \x01(\x0b\x32&.cosmos.crypto.keyring.v1.Record.MultiH\x00R\x05multi\x12\x44\n\x07offline\x18\x06 \x01(\x0b\x32(.cosmos.crypto.keyring.v1.Record.OfflineH\x00R\x07offline\x1a\x38\n\x05Local\x12/\n\x08priv_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x07privKey\x1a>\n\x06Ledger\x12\x34\n\x04path\x18\x01 \x01(\x0b\x32 .cosmos.crypto.hd.v1.BIP44ParamsR\x04path\x1a\x07\n\x05Multi\x1a\t\n\x07OfflineB\x06\n\x04itemB\xe3\x01\n\x1c\x63om.cosmos.crypto.keyring.v1B\x0bRecordProtoP\x01Z+github.com/cosmos/cosmos-sdk/crypto/keyring\xa2\x02\x03\x43\x43K\xaa\x02\x18\x43osmos.Crypto.Keyring.V1\xca\x02\x18\x43osmos\\Crypto\\Keyring\\V1\xe2\x02$Cosmos\\Crypto\\Keyring\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Crypto::Keyring::V1\xc8\xe1\x1e\x00\x98\xe3\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n%cosmos/crypto/keyring/v1/record.proto\x12\x18\x63osmos.crypto.keyring.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1c\x63osmos/crypto/hd/v1/hd.proto\"\xea\x03\n\x06Record\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06pubKey\x12>\n\x05local\x18\x03 \x01(\x0b\x32&.cosmos.crypto.keyring.v1.Record.LocalH\x00R\x05local\x12\x41\n\x06ledger\x18\x04 \x01(\x0b\x32'.cosmos.crypto.keyring.v1.Record.LedgerH\x00R\x06ledger\x12>\n\x05multi\x18\x05 \x01(\x0b\x32&.cosmos.crypto.keyring.v1.Record.MultiH\x00R\x05multi\x12\x44\n\x07offline\x18\x06 \x01(\x0b\x32(.cosmos.crypto.keyring.v1.Record.OfflineH\x00R\x07offline\x1a\x38\n\x05Local\x12/\n\x08priv_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x07privKey\x1a>\n\x06Ledger\x12\x34\n\x04path\x18\x01 \x01(\x0b\x32 .cosmos.crypto.hd.v1.BIP44ParamsR\x04path\x1a\x07\n\x05Multi\x1a\t\n\x07OfflineB\x06\n\x04itemB\xe3\x01\n\x1c\x63om.cosmos.crypto.keyring.v1B\x0bRecordProtoP\x01Z+github.com/cosmos/cosmos-sdk/crypto/keyring\xa2\x02\x03\x43\x43K\xaa\x02\x18\x43osmos.Crypto.Keyring.V1\xca\x02\x18\x43osmos\\Crypto\\Keyring\\V1\xe2\x02$Cosmos\\Crypto\\Keyring\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Crypto::Keyring::V1\xc8\xe1\x1e\x00\x98\xe3\x1e\x00\x62\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.keyring.v1.record_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crypto.keyring.v1.record_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.crypto.keyring.v1B\013RecordProtoP\001Z+github.com/cosmos/cosmos-sdk/crypto/keyring\242\002\003CCK\252\002\030Cosmos.Crypto.Keyring.V1\312\002\030Cosmos\\Crypto\\Keyring\\V1\342\002$Cosmos\\Crypto\\Keyring\\V1\\GPBMetadata\352\002\033Cosmos::Crypto::Keyring::V1\310\341\036\000\230\343\036\000' - _globals['_RECORD']._serialized_start=147 - _globals['_RECORD']._serialized_end=637 - _globals['_RECORD_LOCAL']._serialized_start=489 - _globals['_RECORD_LOCAL']._serialized_end=545 - _globals['_RECORD_LEDGER']._serialized_start=547 - _globals['_RECORD_LEDGER']._serialized_end=609 - _globals['_RECORD_MULTI']._serialized_start=611 - _globals['_RECORD_MULTI']._serialized_end=618 - _globals['_RECORD_OFFLINE']._serialized_start=620 - _globals['_RECORD_OFFLINE']._serialized_end=629 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\034com.cosmos.crypto.keyring.v1B\013RecordProtoP\001Z+github.com/cosmos/cosmos-sdk/crypto/keyring\242\002\003CCK\252\002\030Cosmos.Crypto.Keyring.V1\312\002\030Cosmos\\Crypto\\Keyring\\V1\342\002$Cosmos\\Crypto\\Keyring\\V1\\GPBMetadata\352\002\033Cosmos::Crypto::Keyring::V1\310\341\036\000\230\343\036\000" + ) + _globals["_RECORD"]._serialized_start = 147 + _globals["_RECORD"]._serialized_end = 637 + _globals["_RECORD_LOCAL"]._serialized_start = 489 + _globals["_RECORD_LOCAL"]._serialized_end = 545 + _globals["_RECORD_LEDGER"]._serialized_start = 547 + _globals["_RECORD_LEDGER"]._serialized_end = 609 + _globals["_RECORD_MULTI"]._serialized_start = 611 + _globals["_RECORD_MULTI"]._serialized_end = 618 + _globals["_RECORD_OFFLINE"]._serialized_start = 620 + _globals["_RECORD_OFFLINE"]._serialized_end = 629 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/crypto/multisig/keys_pb2.py b/pyinjective/proto/cosmos/crypto/multisig/keys_pb2.py index 05f8c8e4..c71e2310 100644 --- a/pyinjective/proto/cosmos/crypto/multisig/keys_pb2.py +++ b/pyinjective/proto/cosmos/crypto/multisig/keys_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,18 +18,26 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/crypto/multisig/keys.proto\x12\x16\x63osmos.crypto.multisig\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xc3\x01\n\x11LegacyAminoPubKey\x12\x1c\n\tthreshold\x18\x01 \x01(\rR\tthreshold\x12N\n\x0bpublic_keys\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x17\xe2\xde\x1f\x07PubKeys\xa2\xe7\xb0*\x07pubkeysR\npublicKeys:@\x88\xa0\x1f\x00\x8a\xe7\xb0*\"tendermint/PubKeyMultisigThreshold\x92\xe7\xb0*\x10threshold_stringB\xd4\x01\n\x1a\x63om.cosmos.crypto.multisigB\tKeysProtoP\x01Z1github.com/cosmos/cosmos-sdk/crypto/keys/multisig\xa2\x02\x03\x43\x43M\xaa\x02\x16\x43osmos.Crypto.Multisig\xca\x02\x16\x43osmos\\Crypto\\Multisig\xe2\x02\"Cosmos\\Crypto\\Multisig\\GPBMetadata\xea\x02\x18\x43osmos::Crypto::Multisigb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n!cosmos/crypto/multisig/keys.proto\x12\x16\x63osmos.crypto.multisig\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto"\xc3\x01\n\x11LegacyAminoPubKey\x12\x1c\n\tthreshold\x18\x01 \x01(\rR\tthreshold\x12N\n\x0bpublic_keys\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x17\xe2\xde\x1f\x07PubKeys\xa2\xe7\xb0*\x07pubkeysR\npublicKeys:@\x88\xa0\x1f\x00\x8a\xe7\xb0*"tendermint/PubKeyMultisigThreshold\x92\xe7\xb0*\x10threshold_stringB\xd4\x01\n\x1a\x63om.cosmos.crypto.multisigB\tKeysProtoP\x01Z1github.com/cosmos/cosmos-sdk/crypto/keys/multisig\xa2\x02\x03\x43\x43M\xaa\x02\x16\x43osmos.Crypto.Multisig\xca\x02\x16\x43osmos\\Crypto\\Multisig\xe2\x02"Cosmos\\Crypto\\Multisig\\GPBMetadata\xea\x02\x18\x43osmos::Crypto::Multisigb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.multisig.keys_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crypto.multisig.keys_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.crypto.multisigB\tKeysProtoP\001Z1github.com/cosmos/cosmos-sdk/crypto/keys/multisig\242\002\003CCM\252\002\026Cosmos.Crypto.Multisig\312\002\026Cosmos\\Crypto\\Multisig\342\002\"Cosmos\\Crypto\\Multisig\\GPBMetadata\352\002\030Cosmos::Crypto::Multisig' - _globals['_LEGACYAMINOPUBKEY'].fields_by_name['public_keys']._loaded_options = None - _globals['_LEGACYAMINOPUBKEY'].fields_by_name['public_keys']._serialized_options = b'\342\336\037\007PubKeys\242\347\260*\007pubkeys' - _globals['_LEGACYAMINOPUBKEY']._loaded_options = None - _globals['_LEGACYAMINOPUBKEY']._serialized_options = b'\210\240\037\000\212\347\260*\"tendermint/PubKeyMultisigThreshold\222\347\260*\020threshold_string' - _globals['_LEGACYAMINOPUBKEY']._serialized_start=130 - _globals['_LEGACYAMINOPUBKEY']._serialized_end=325 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\032com.cosmos.crypto.multisigB\tKeysProtoP\001Z1github.com/cosmos/cosmos-sdk/crypto/keys/multisig\242\002\003CCM\252\002\026Cosmos.Crypto.Multisig\312\002\026Cosmos\\Crypto\\Multisig\342\002"Cosmos\\Crypto\\Multisig\\GPBMetadata\352\002\030Cosmos::Crypto::Multisig' + ) + _globals["_LEGACYAMINOPUBKEY"].fields_by_name["public_keys"]._loaded_options = None + _globals["_LEGACYAMINOPUBKEY"].fields_by_name[ + "public_keys" + ]._serialized_options = b"\342\336\037\007PubKeys\242\347\260*\007pubkeys" + _globals["_LEGACYAMINOPUBKEY"]._loaded_options = None + _globals["_LEGACYAMINOPUBKEY"]._serialized_options = ( + b'\210\240\037\000\212\347\260*"tendermint/PubKeyMultisigThreshold\222\347\260*\020threshold_string' + ) + _globals["_LEGACYAMINOPUBKEY"]._serialized_start = 130 + _globals["_LEGACYAMINOPUBKEY"]._serialized_end = 325 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/multisig/keys_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/multisig/keys_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/crypto/multisig/keys_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crypto/multisig/keys_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/crypto/multisig/v1beta1/multisig_pb2.py b/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py index 510661bf..c32629be 100644 --- a/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py +++ b/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,20 +16,24 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-cosmos/crypto/multisig/v1beta1/multisig.proto\x12\x1e\x63osmos.crypto.multisig.v1beta1\x1a\x14gogoproto/gogo.proto\"6\n\x0eMultiSignature\x12\x1e\n\nsignatures\x18\x01 \x03(\x0cR\nsignatures:\x04\xd0\xa1\x1f\x01\"Y\n\x0f\x43ompactBitArray\x12*\n\x11\x65xtra_bits_stored\x18\x01 \x01(\rR\x0f\x65xtraBitsStored\x12\x14\n\x05\x65lems\x18\x02 \x01(\x0cR\x05\x65lems:\x04\x98\xa0\x1f\x00\x42\xf9\x01\n\"com.cosmos.crypto.multisig.v1beta1B\rMultisigProtoP\x01Z)github.com/cosmos/cosmos-sdk/crypto/types\xa2\x02\x03\x43\x43M\xaa\x02\x1e\x43osmos.Crypto.Multisig.V1beta1\xca\x02\x1e\x43osmos\\Crypto\\Multisig\\V1beta1\xe2\x02*Cosmos\\Crypto\\Multisig\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Crypto::Multisig::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n-cosmos/crypto/multisig/v1beta1/multisig.proto\x12\x1e\x63osmos.crypto.multisig.v1beta1\x1a\x14gogoproto/gogo.proto"6\n\x0eMultiSignature\x12\x1e\n\nsignatures\x18\x01 \x03(\x0cR\nsignatures:\x04\xd0\xa1\x1f\x01"Y\n\x0f\x43ompactBitArray\x12*\n\x11\x65xtra_bits_stored\x18\x01 \x01(\rR\x0f\x65xtraBitsStored\x12\x14\n\x05\x65lems\x18\x02 \x01(\x0cR\x05\x65lems:\x04\x98\xa0\x1f\x00\x42\xf9\x01\n"com.cosmos.crypto.multisig.v1beta1B\rMultisigProtoP\x01Z)github.com/cosmos/cosmos-sdk/crypto/types\xa2\x02\x03\x43\x43M\xaa\x02\x1e\x43osmos.Crypto.Multisig.V1beta1\xca\x02\x1e\x43osmos\\Crypto\\Multisig\\V1beta1\xe2\x02*Cosmos\\Crypto\\Multisig\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Crypto::Multisig::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.multisig.v1beta1.multisig_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crypto.multisig.v1beta1.multisig_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.cosmos.crypto.multisig.v1beta1B\rMultisigProtoP\001Z)github.com/cosmos/cosmos-sdk/crypto/types\242\002\003CCM\252\002\036Cosmos.Crypto.Multisig.V1beta1\312\002\036Cosmos\\Crypto\\Multisig\\V1beta1\342\002*Cosmos\\Crypto\\Multisig\\V1beta1\\GPBMetadata\352\002!Cosmos::Crypto::Multisig::V1beta1' - _globals['_MULTISIGNATURE']._loaded_options = None - _globals['_MULTISIGNATURE']._serialized_options = b'\320\241\037\001' - _globals['_COMPACTBITARRAY']._loaded_options = None - _globals['_COMPACTBITARRAY']._serialized_options = b'\230\240\037\000' - _globals['_MULTISIGNATURE']._serialized_start=103 - _globals['_MULTISIGNATURE']._serialized_end=157 - _globals['_COMPACTBITARRAY']._serialized_start=159 - _globals['_COMPACTBITARRAY']._serialized_end=248 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n"com.cosmos.crypto.multisig.v1beta1B\rMultisigProtoP\001Z)github.com/cosmos/cosmos-sdk/crypto/types\242\002\003CCM\252\002\036Cosmos.Crypto.Multisig.V1beta1\312\002\036Cosmos\\Crypto\\Multisig\\V1beta1\342\002*Cosmos\\Crypto\\Multisig\\V1beta1\\GPBMetadata\352\002!Cosmos::Crypto::Multisig::V1beta1' + ) + _globals["_MULTISIGNATURE"]._loaded_options = None + _globals["_MULTISIGNATURE"]._serialized_options = b"\320\241\037\001" + _globals["_COMPACTBITARRAY"]._loaded_options = None + _globals["_COMPACTBITARRAY"]._serialized_options = b"\230\240\037\000" + _globals["_MULTISIGNATURE"]._serialized_start = 103 + _globals["_MULTISIGNATURE"]._serialized_end = 157 + _globals["_COMPACTBITARRAY"]._serialized_start = 159 + _globals["_COMPACTBITARRAY"]._serialized_end = 248 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/crypto/secp256k1/keys_pb2.py b/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2.py index 2b2cf7e6..a8d4cedb 100644 --- a/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2.py +++ b/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,20 +17,26 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/crypto/secp256k1/keys.proto\x12\x17\x63osmos.crypto.secp256k1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\"M\n\x06PubKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:1\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1atendermint/PubKeySecp256k1\x92\xe7\xb0*\tkey_field\"K\n\x07PrivKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:.\x8a\xe7\xb0*\x1btendermint/PrivKeySecp256k1\x92\xe7\xb0*\tkey_fieldB\xda\x01\n\x1b\x63om.cosmos.crypto.secp256k1B\tKeysProtoP\x01Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1\xa2\x02\x03\x43\x43S\xaa\x02\x17\x43osmos.Crypto.Secp256k1\xca\x02\x17\x43osmos\\Crypto\\Secp256k1\xe2\x02#Cosmos\\Crypto\\Secp256k1\\GPBMetadata\xea\x02\x19\x43osmos::Crypto::Secp256k1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n"cosmos/crypto/secp256k1/keys.proto\x12\x17\x63osmos.crypto.secp256k1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto"M\n\x06PubKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:1\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1atendermint/PubKeySecp256k1\x92\xe7\xb0*\tkey_field"K\n\x07PrivKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:.\x8a\xe7\xb0*\x1btendermint/PrivKeySecp256k1\x92\xe7\xb0*\tkey_fieldB\xda\x01\n\x1b\x63om.cosmos.crypto.secp256k1B\tKeysProtoP\x01Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1\xa2\x02\x03\x43\x43S\xaa\x02\x17\x43osmos.Crypto.Secp256k1\xca\x02\x17\x43osmos\\Crypto\\Secp256k1\xe2\x02#Cosmos\\Crypto\\Secp256k1\\GPBMetadata\xea\x02\x19\x43osmos::Crypto::Secp256k1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.secp256k1.keys_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crypto.secp256k1.keys_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.crypto.secp256k1B\tKeysProtoP\001Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1\242\002\003CCS\252\002\027Cosmos.Crypto.Secp256k1\312\002\027Cosmos\\Crypto\\Secp256k1\342\002#Cosmos\\Crypto\\Secp256k1\\GPBMetadata\352\002\031Cosmos::Crypto::Secp256k1' - _globals['_PUBKEY']._loaded_options = None - _globals['_PUBKEY']._serialized_options = b'\230\240\037\000\212\347\260*\032tendermint/PubKeySecp256k1\222\347\260*\tkey_field' - _globals['_PRIVKEY']._loaded_options = None - _globals['_PRIVKEY']._serialized_options = b'\212\347\260*\033tendermint/PrivKeySecp256k1\222\347\260*\tkey_field' - _globals['_PUBKEY']._serialized_start=104 - _globals['_PUBKEY']._serialized_end=181 - _globals['_PRIVKEY']._serialized_start=183 - _globals['_PRIVKEY']._serialized_end=258 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.cosmos.crypto.secp256k1B\tKeysProtoP\001Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1\242\002\003CCS\252\002\027Cosmos.Crypto.Secp256k1\312\002\027Cosmos\\Crypto\\Secp256k1\342\002#Cosmos\\Crypto\\Secp256k1\\GPBMetadata\352\002\031Cosmos::Crypto::Secp256k1" + ) + _globals["_PUBKEY"]._loaded_options = None + _globals["_PUBKEY"]._serialized_options = ( + b"\230\240\037\000\212\347\260*\032tendermint/PubKeySecp256k1\222\347\260*\tkey_field" + ) + _globals["_PRIVKEY"]._loaded_options = None + _globals["_PRIVKEY"]._serialized_options = b"\212\347\260*\033tendermint/PrivKeySecp256k1\222\347\260*\tkey_field" + _globals["_PUBKEY"]._serialized_start = 104 + _globals["_PUBKEY"]._serialized_end = 181 + _globals["_PRIVKEY"]._serialized_start = 183 + _globals["_PRIVKEY"]._serialized_end = 258 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/crypto/secp256r1/keys_pb2.py b/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2.py index b708fc50..f2a02e82 100644 --- a/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2.py +++ b/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,20 +16,24 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/crypto/secp256r1/keys.proto\x12\x17\x63osmos.crypto.secp256r1\x1a\x14gogoproto/gogo.proto\"\'\n\x06PubKey\x12\x1d\n\x03key\x18\x01 \x01(\x0c\x42\x0b\xda\xde\x1f\x07\x65\x63\x64saPKR\x03key\".\n\x07PrivKey\x12#\n\x06secret\x18\x01 \x01(\x0c\x42\x0b\xda\xde\x1f\x07\x65\x63\x64saSKR\x06secretB\xe6\x01\n\x1b\x63om.cosmos.crypto.secp256r1B\tKeysProtoP\x01Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1\xa2\x02\x03\x43\x43S\xaa\x02\x17\x43osmos.Crypto.Secp256r1\xca\x02\x17\x43osmos\\Crypto\\Secp256r1\xe2\x02#Cosmos\\Crypto\\Secp256r1\\GPBMetadata\xea\x02\x19\x43osmos::Crypto::Secp256r1\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xc8\xe3\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n"cosmos/crypto/secp256r1/keys.proto\x12\x17\x63osmos.crypto.secp256r1\x1a\x14gogoproto/gogo.proto"\'\n\x06PubKey\x12\x1d\n\x03key\x18\x01 \x01(\x0c\x42\x0b\xda\xde\x1f\x07\x65\x63\x64saPKR\x03key".\n\x07PrivKey\x12#\n\x06secret\x18\x01 \x01(\x0c\x42\x0b\xda\xde\x1f\x07\x65\x63\x64saSKR\x06secretB\xe6\x01\n\x1b\x63om.cosmos.crypto.secp256r1B\tKeysProtoP\x01Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1\xa2\x02\x03\x43\x43S\xaa\x02\x17\x43osmos.Crypto.Secp256r1\xca\x02\x17\x43osmos\\Crypto\\Secp256r1\xe2\x02#Cosmos\\Crypto\\Secp256r1\\GPBMetadata\xea\x02\x19\x43osmos::Crypto::Secp256r1\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xc8\xe3\x1e\x01\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.secp256r1.keys_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crypto.secp256r1.keys_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.crypto.secp256r1B\tKeysProtoP\001Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1\242\002\003CCS\252\002\027Cosmos.Crypto.Secp256r1\312\002\027Cosmos\\Crypto\\Secp256r1\342\002#Cosmos\\Crypto\\Secp256r1\\GPBMetadata\352\002\031Cosmos::Crypto::Secp256r1\310\341\036\000\330\341\036\000\310\343\036\001' - _globals['_PUBKEY'].fields_by_name['key']._loaded_options = None - _globals['_PUBKEY'].fields_by_name['key']._serialized_options = b'\332\336\037\007ecdsaPK' - _globals['_PRIVKEY'].fields_by_name['secret']._loaded_options = None - _globals['_PRIVKEY'].fields_by_name['secret']._serialized_options = b'\332\336\037\007ecdsaSK' - _globals['_PUBKEY']._serialized_start=85 - _globals['_PUBKEY']._serialized_end=124 - _globals['_PRIVKEY']._serialized_start=126 - _globals['_PRIVKEY']._serialized_end=172 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.cosmos.crypto.secp256r1B\tKeysProtoP\001Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1\242\002\003CCS\252\002\027Cosmos.Crypto.Secp256r1\312\002\027Cosmos\\Crypto\\Secp256r1\342\002#Cosmos\\Crypto\\Secp256r1\\GPBMetadata\352\002\031Cosmos::Crypto::Secp256r1\310\341\036\000\330\341\036\000\310\343\036\001" + ) + _globals["_PUBKEY"].fields_by_name["key"]._loaded_options = None + _globals["_PUBKEY"].fields_by_name["key"]._serialized_options = b"\332\336\037\007ecdsaPK" + _globals["_PRIVKEY"].fields_by_name["secret"]._loaded_options = None + _globals["_PRIVKEY"].fields_by_name["secret"]._serialized_options = b"\332\336\037\007ecdsaSK" + _globals["_PUBKEY"]._serialized_start = 85 + _globals["_PUBKEY"]._serialized_end = 124 + _globals["_PRIVKEY"]._serialized_start = 126 + _globals["_PRIVKEY"]._serialized_end = 172 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/distribution/module/v1/module_pb2.py b/pyinjective/proto/cosmos/distribution/module/v1/module_pb2.py index 98e66656..af3ad4cd 100644 --- a/pyinjective/proto/cosmos/distribution/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/distribution/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*cosmos/distribution/module/v1/module.proto\x12\x1d\x63osmos.distribution.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x89\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:3\xba\xc0\x96\xda\x01-\n+github.com/cosmos/cosmos-sdk/x/distributionB\xc7\x01\n!com.cosmos.distribution.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x44M\xaa\x02\x1d\x43osmos.Distribution.Module.V1\xca\x02\x1d\x43osmos\\Distribution\\Module\\V1\xe2\x02)Cosmos\\Distribution\\Module\\V1\\GPBMetadata\xea\x02 Cosmos::Distribution::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n*cosmos/distribution/module/v1/module.proto\x12\x1d\x63osmos.distribution.module.v1\x1a cosmos/app/v1alpha1/module.proto"\x89\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:3\xba\xc0\x96\xda\x01-\n+github.com/cosmos/cosmos-sdk/x/distributionB\xc7\x01\n!com.cosmos.distribution.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x44M\xaa\x02\x1d\x43osmos.Distribution.Module.V1\xca\x02\x1d\x43osmos\\Distribution\\Module\\V1\xe2\x02)Cosmos\\Distribution\\Module\\V1\\GPBMetadata\xea\x02 Cosmos::Distribution::Module::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.distribution.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n!com.cosmos.distribution.module.v1B\013ModuleProtoP\001\242\002\003CDM\252\002\035Cosmos.Distribution.Module.V1\312\002\035Cosmos\\Distribution\\Module\\V1\342\002)Cosmos\\Distribution\\Module\\V1\\GPBMetadata\352\002 Cosmos::Distribution::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001-\n+github.com/cosmos/cosmos-sdk/x/distribution' - _globals['_MODULE']._serialized_start=112 - _globals['_MODULE']._serialized_end=249 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n!com.cosmos.distribution.module.v1B\013ModuleProtoP\001\242\002\003CDM\252\002\035Cosmos.Distribution.Module.V1\312\002\035Cosmos\\Distribution\\Module\\V1\342\002)Cosmos\\Distribution\\Module\\V1\\GPBMetadata\352\002 Cosmos::Distribution::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001-\n+github.com/cosmos/cosmos-sdk/x/distribution" + _globals["_MODULE"]._serialized_start = 112 + _globals["_MODULE"]._serialized_end = 249 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/distribution/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/distribution/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/distribution/v1beta1/distribution_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2.py index db366a29..fcfc4e73 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,74 +19,120 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.cosmos/distribution/v1beta1/distribution.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x9a\x03\n\x06Params\x12[\n\rcommunity_tax\x18\x01 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0c\x63ommunityTax\x12j\n\x14\x62\x61se_proposer_reward\x18\x02 \x01(\tB8\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x12\x62\x61seProposerReward\x12l\n\x15\x62onus_proposer_reward\x18\x03 \x01(\tB8\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x13\x62onusProposerReward\x12\x32\n\x15withdraw_addr_enabled\x18\x04 \x01(\x08R\x13withdrawAddrEnabled:%\x8a\xe7\xb0* cosmos-sdk/x/distribution/Params\"\xd6\x01\n\x1aValidatorHistoricalRewards\x12\x8e\x01\n\x17\x63umulative_reward_ratio\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x15\x63umulativeRewardRatio\x12\'\n\x0freference_count\x18\x02 \x01(\rR\x0ereferenceCount\"\xa3\x01\n\x17ValidatorCurrentRewards\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards\x12\x16\n\x06period\x18\x02 \x01(\x04R\x06period\"\x98\x01\n\x1eValidatorAccumulatedCommission\x12v\n\ncommission\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\ncommission\"\x8f\x01\n\x1bValidatorOutstandingRewards\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards\"\x8f\x01\n\x13ValidatorSlashEvent\x12)\n\x10validator_period\x18\x01 \x01(\x04R\x0fvalidatorPeriod\x12M\n\x08\x66raction\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x08\x66raction\"\x89\x01\n\x14ValidatorSlashEvents\x12q\n\x16validator_slash_events\x18\x01 \x03(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSlashEvents\"\x88\x01\n\x07\x46\x65\x65Pool\x12}\n\x0e\x63ommunity_pool\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\rcommunityPool\"\x97\x02\n\x1a\x43ommunityPoolSpendProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\trecipient\x18\x03 \x01(\tR\trecipient\x12y\n\x06\x61mount\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:(\x18\x01\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd4\x01\n\x15\x44\x65legatorStartingInfo\x12\'\n\x0fprevious_period\x18\x01 \x01(\x04R\x0epreviousPeriod\x12L\n\x05stake\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x05stake\x12\x44\n\x06height\x18\x03 \x01(\x04\x42,\xea\xde\x1f\x0f\x63reation_height\xa2\xe7\xb0*\x0f\x63reation_height\xa8\xe7\xb0*\x01R\x06height\"\xe1\x01\n\x19\x44\x65legationDelegatorReward\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12n\n\x06reward\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x06reward:\x04\x88\xa0\x1f\x00\"\xd3\x01\n%CommunityPoolSpendProposalWithDeposit\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\trecipient\x18\x03 \x01(\tR\trecipient\x12\x16\n\x06\x61mount\x18\x04 \x01(\tR\x06\x61mount\x12\x18\n\x07\x64\x65posit\x18\x05 \x01(\tR\x07\x64\x65posit:\"\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB\xf9\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x11\x44istributionProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n.cosmos/distribution/v1beta1/distribution.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\x9a\x03\n\x06Params\x12[\n\rcommunity_tax\x18\x01 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0c\x63ommunityTax\x12j\n\x14\x62\x61se_proposer_reward\x18\x02 \x01(\tB8\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x12\x62\x61seProposerReward\x12l\n\x15\x62onus_proposer_reward\x18\x03 \x01(\tB8\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x13\x62onusProposerReward\x12\x32\n\x15withdraw_addr_enabled\x18\x04 \x01(\x08R\x13withdrawAddrEnabled:%\x8a\xe7\xb0* cosmos-sdk/x/distribution/Params"\xd6\x01\n\x1aValidatorHistoricalRewards\x12\x8e\x01\n\x17\x63umulative_reward_ratio\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x15\x63umulativeRewardRatio\x12\'\n\x0freference_count\x18\x02 \x01(\rR\x0ereferenceCount"\xa3\x01\n\x17ValidatorCurrentRewards\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards\x12\x16\n\x06period\x18\x02 \x01(\x04R\x06period"\x98\x01\n\x1eValidatorAccumulatedCommission\x12v\n\ncommission\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\ncommission"\x8f\x01\n\x1bValidatorOutstandingRewards\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards"\x8f\x01\n\x13ValidatorSlashEvent\x12)\n\x10validator_period\x18\x01 \x01(\x04R\x0fvalidatorPeriod\x12M\n\x08\x66raction\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x08\x66raction"\x89\x01\n\x14ValidatorSlashEvents\x12q\n\x16validator_slash_events\x18\x01 \x03(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSlashEvents"\x88\x01\n\x07\x46\x65\x65Pool\x12}\n\x0e\x63ommunity_pool\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\rcommunityPool"\x97\x02\n\x1a\x43ommunityPoolSpendProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\trecipient\x18\x03 \x01(\tR\trecipient\x12y\n\x06\x61mount\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:(\x18\x01\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content"\xd4\x01\n\x15\x44\x65legatorStartingInfo\x12\'\n\x0fprevious_period\x18\x01 \x01(\x04R\x0epreviousPeriod\x12L\n\x05stake\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x05stake\x12\x44\n\x06height\x18\x03 \x01(\x04\x42,\xea\xde\x1f\x0f\x63reation_height\xa2\xe7\xb0*\x0f\x63reation_height\xa8\xe7\xb0*\x01R\x06height"\xe1\x01\n\x19\x44\x65legationDelegatorReward\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12n\n\x06reward\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x06reward:\x04\x88\xa0\x1f\x00"\xd3\x01\n%CommunityPoolSpendProposalWithDeposit\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\trecipient\x18\x03 \x01(\tR\trecipient\x12\x16\n\x06\x61mount\x18\x04 \x01(\tR\x06\x61mount\x12\x18\n\x07\x64\x65posit\x18\x05 \x01(\tR\x07\x64\x65posit:"\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB\xf9\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x11\x44istributionProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.distribution_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.distribution.v1beta1.distribution_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.distribution.v1beta1B\021DistributionProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001' - _globals['_PARAMS'].fields_by_name['community_tax']._loaded_options = None - _globals['_PARAMS'].fields_by_name['community_tax']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['base_proposer_reward']._loaded_options = None - _globals['_PARAMS'].fields_by_name['base_proposer_reward']._serialized_options = b'\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['bonus_proposer_reward']._loaded_options = None - _globals['_PARAMS'].fields_by_name['bonus_proposer_reward']._serialized_options = b'\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\212\347\260* cosmos-sdk/x/distribution/Params' - _globals['_VALIDATORHISTORICALREWARDS'].fields_by_name['cumulative_reward_ratio']._loaded_options = None - _globals['_VALIDATORHISTORICALREWARDS'].fields_by_name['cumulative_reward_ratio']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_VALIDATORCURRENTREWARDS'].fields_by_name['rewards']._loaded_options = None - _globals['_VALIDATORCURRENTREWARDS'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_VALIDATORACCUMULATEDCOMMISSION'].fields_by_name['commission']._loaded_options = None - _globals['_VALIDATORACCUMULATEDCOMMISSION'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_VALIDATOROUTSTANDINGREWARDS'].fields_by_name['rewards']._loaded_options = None - _globals['_VALIDATOROUTSTANDINGREWARDS'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_VALIDATORSLASHEVENT'].fields_by_name['fraction']._loaded_options = None - _globals['_VALIDATORSLASHEVENT'].fields_by_name['fraction']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_VALIDATORSLASHEVENTS'].fields_by_name['validator_slash_events']._loaded_options = None - _globals['_VALIDATORSLASHEVENTS'].fields_by_name['validator_slash_events']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_FEEPOOL'].fields_by_name['community_pool']._loaded_options = None - _globals['_FEEPOOL'].fields_by_name['community_pool']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_COMMUNITYPOOLSPENDPROPOSAL'].fields_by_name['amount']._loaded_options = None - _globals['_COMMUNITYPOOLSPENDPROPOSAL'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_COMMUNITYPOOLSPENDPROPOSAL']._loaded_options = None - _globals['_COMMUNITYPOOLSPENDPROPOSAL']._serialized_options = b'\030\001\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_DELEGATORSTARTINGINFO'].fields_by_name['stake']._loaded_options = None - _globals['_DELEGATORSTARTINGINFO'].fields_by_name['stake']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_DELEGATORSTARTINGINFO'].fields_by_name['height']._loaded_options = None - _globals['_DELEGATORSTARTINGINFO'].fields_by_name['height']._serialized_options = b'\352\336\037\017creation_height\242\347\260*\017creation_height\250\347\260*\001' - _globals['_DELEGATIONDELEGATORREWARD'].fields_by_name['validator_address']._loaded_options = None - _globals['_DELEGATIONDELEGATORREWARD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_DELEGATIONDELEGATORREWARD'].fields_by_name['reward']._loaded_options = None - _globals['_DELEGATIONDELEGATORREWARD'].fields_by_name['reward']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_DELEGATIONDELEGATORREWARD']._loaded_options = None - _globals['_DELEGATIONDELEGATORREWARD']._serialized_options = b'\210\240\037\000' - _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._loaded_options = None - _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._serialized_options = b'\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_PARAMS']._serialized_start=180 - _globals['_PARAMS']._serialized_end=590 - _globals['_VALIDATORHISTORICALREWARDS']._serialized_start=593 - _globals['_VALIDATORHISTORICALREWARDS']._serialized_end=807 - _globals['_VALIDATORCURRENTREWARDS']._serialized_start=810 - _globals['_VALIDATORCURRENTREWARDS']._serialized_end=973 - _globals['_VALIDATORACCUMULATEDCOMMISSION']._serialized_start=976 - _globals['_VALIDATORACCUMULATEDCOMMISSION']._serialized_end=1128 - _globals['_VALIDATOROUTSTANDINGREWARDS']._serialized_start=1131 - _globals['_VALIDATOROUTSTANDINGREWARDS']._serialized_end=1274 - _globals['_VALIDATORSLASHEVENT']._serialized_start=1277 - _globals['_VALIDATORSLASHEVENT']._serialized_end=1420 - _globals['_VALIDATORSLASHEVENTS']._serialized_start=1423 - _globals['_VALIDATORSLASHEVENTS']._serialized_end=1560 - _globals['_FEEPOOL']._serialized_start=1563 - _globals['_FEEPOOL']._serialized_end=1699 - _globals['_COMMUNITYPOOLSPENDPROPOSAL']._serialized_start=1702 - _globals['_COMMUNITYPOOLSPENDPROPOSAL']._serialized_end=1981 - _globals['_DELEGATORSTARTINGINFO']._serialized_start=1984 - _globals['_DELEGATORSTARTINGINFO']._serialized_end=2196 - _globals['_DELEGATIONDELEGATORREWARD']._serialized_start=2199 - _globals['_DELEGATIONDELEGATORREWARD']._serialized_end=2424 - _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._serialized_start=2427 - _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._serialized_end=2638 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\037com.cosmos.distribution.v1beta1B\021DistributionProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001" + ) + _globals["_PARAMS"].fields_by_name["community_tax"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "community_tax" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_PARAMS"].fields_by_name["base_proposer_reward"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "base_proposer_reward" + ]._serialized_options = ( + b"\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_PARAMS"].fields_by_name["bonus_proposer_reward"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "bonus_proposer_reward" + ]._serialized_options = ( + b"\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_PARAMS"]._loaded_options = None + _globals["_PARAMS"]._serialized_options = b"\212\347\260* cosmos-sdk/x/distribution/Params" + _globals["_VALIDATORHISTORICALREWARDS"].fields_by_name["cumulative_reward_ratio"]._loaded_options = None + _globals["_VALIDATORHISTORICALREWARDS"].fields_by_name[ + "cumulative_reward_ratio" + ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" + _globals["_VALIDATORCURRENTREWARDS"].fields_by_name["rewards"]._loaded_options = None + _globals["_VALIDATORCURRENTREWARDS"].fields_by_name[ + "rewards" + ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" + _globals["_VALIDATORACCUMULATEDCOMMISSION"].fields_by_name["commission"]._loaded_options = None + _globals["_VALIDATORACCUMULATEDCOMMISSION"].fields_by_name[ + "commission" + ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" + _globals["_VALIDATOROUTSTANDINGREWARDS"].fields_by_name["rewards"]._loaded_options = None + _globals["_VALIDATOROUTSTANDINGREWARDS"].fields_by_name[ + "rewards" + ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" + _globals["_VALIDATORSLASHEVENT"].fields_by_name["fraction"]._loaded_options = None + _globals["_VALIDATORSLASHEVENT"].fields_by_name[ + "fraction" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" + _globals["_VALIDATORSLASHEVENTS"].fields_by_name["validator_slash_events"]._loaded_options = None + _globals["_VALIDATORSLASHEVENTS"].fields_by_name[ + "validator_slash_events" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_FEEPOOL"].fields_by_name["community_pool"]._loaded_options = None + _globals["_FEEPOOL"].fields_by_name[ + "community_pool" + ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" + _globals["_COMMUNITYPOOLSPENDPROPOSAL"].fields_by_name["amount"]._loaded_options = None + _globals["_COMMUNITYPOOLSPENDPROPOSAL"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_COMMUNITYPOOLSPENDPROPOSAL"]._loaded_options = None + _globals["_COMMUNITYPOOLSPENDPROPOSAL"]._serialized_options = ( + b"\030\001\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content" + ) + _globals["_DELEGATORSTARTINGINFO"].fields_by_name["stake"]._loaded_options = None + _globals["_DELEGATORSTARTINGINFO"].fields_by_name[ + "stake" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_DELEGATORSTARTINGINFO"].fields_by_name["height"]._loaded_options = None + _globals["_DELEGATORSTARTINGINFO"].fields_by_name[ + "height" + ]._serialized_options = b"\352\336\037\017creation_height\242\347\260*\017creation_height\250\347\260*\001" + _globals["_DELEGATIONDELEGATORREWARD"].fields_by_name["validator_address"]._loaded_options = None + _globals["_DELEGATIONDELEGATORREWARD"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_DELEGATIONDELEGATORREWARD"].fields_by_name["reward"]._loaded_options = None + _globals["_DELEGATIONDELEGATORREWARD"].fields_by_name[ + "reward" + ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" + _globals["_DELEGATIONDELEGATORREWARD"]._loaded_options = None + _globals["_DELEGATIONDELEGATORREWARD"]._serialized_options = b"\210\240\037\000" + _globals["_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT"]._loaded_options = None + _globals["_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT"]._serialized_options = ( + b"\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content" + ) + _globals["_PARAMS"]._serialized_start = 180 + _globals["_PARAMS"]._serialized_end = 590 + _globals["_VALIDATORHISTORICALREWARDS"]._serialized_start = 593 + _globals["_VALIDATORHISTORICALREWARDS"]._serialized_end = 807 + _globals["_VALIDATORCURRENTREWARDS"]._serialized_start = 810 + _globals["_VALIDATORCURRENTREWARDS"]._serialized_end = 973 + _globals["_VALIDATORACCUMULATEDCOMMISSION"]._serialized_start = 976 + _globals["_VALIDATORACCUMULATEDCOMMISSION"]._serialized_end = 1128 + _globals["_VALIDATOROUTSTANDINGREWARDS"]._serialized_start = 1131 + _globals["_VALIDATOROUTSTANDINGREWARDS"]._serialized_end = 1274 + _globals["_VALIDATORSLASHEVENT"]._serialized_start = 1277 + _globals["_VALIDATORSLASHEVENT"]._serialized_end = 1420 + _globals["_VALIDATORSLASHEVENTS"]._serialized_start = 1423 + _globals["_VALIDATORSLASHEVENTS"]._serialized_end = 1560 + _globals["_FEEPOOL"]._serialized_start = 1563 + _globals["_FEEPOOL"]._serialized_end = 1699 + _globals["_COMMUNITYPOOLSPENDPROPOSAL"]._serialized_start = 1702 + _globals["_COMMUNITYPOOLSPENDPROPOSAL"]._serialized_end = 1981 + _globals["_DELEGATORSTARTINGINFO"]._serialized_start = 1984 + _globals["_DELEGATORSTARTINGINFO"]._serialized_end = 2196 + _globals["_DELEGATIONDELEGATORREWARD"]._serialized_start = 2199 + _globals["_DELEGATIONDELEGATORREWARD"]._serialized_end = 2424 + _globals["_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT"]._serialized_start = 2427 + _globals["_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT"]._serialized_end = 2638 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2_grpc.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/distribution/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2.py index 49aaa896..9c5b76cd 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -14,99 +15,151 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 +from pyinjective.proto.cosmos.distribution.v1beta1 import ( + distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2, +) from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)cosmos/distribution/v1beta1/genesis.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xad\x01\n\x15\x44\x65legatorWithdrawInfo\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12\x43\n\x10withdraw_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x87\x02\n!ValidatorOutstandingRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x87\x01\n\x13outstanding_rewards\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x12outstandingRewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xea\x01\n$ValidatorAccumulatedCommissionRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12h\n\x0b\x61\x63\x63umulated\x18\x02 \x01(\x0b\x32;.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x61\x63\x63umulated:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf2\x01\n ValidatorHistoricalRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x16\n\x06period\x18\x02 \x01(\x04R\x06period\x12\\\n\x07rewards\x18\x03 \x01(\x0b\x32\x37.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd4\x01\n\x1dValidatorCurrentRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12Y\n\x07rewards\x18\x02 \x01(\x0b\x32\x34.cosmos.distribution.v1beta1.ValidatorCurrentRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa2\x02\n\x1b\x44\x65legatorStartingInfoRecord\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x62\n\rstarting_info\x18\x03 \x01(\x0b\x32\x32.cosmos.distribution.v1beta1.DelegatorStartingInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cstartingInfo:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x96\x02\n\x19ValidatorSlashEventRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x16\n\x06height\x18\x02 \x01(\x04R\x06height\x12\x16\n\x06period\x18\x03 \x01(\x04R\x06period\x12o\n\x15validator_slash_event\x18\x04 \x01(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13validatorSlashEvent:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8c\t\n\x0cGenesisState\x12\x46\n\x06params\x18\x01 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12J\n\x08\x66\x65\x65_pool\x18\x02 \x01(\x0b\x32$.cosmos.distribution.v1beta1.FeePoolB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x66\x65\x65Pool\x12w\n\x18\x64\x65legator_withdraw_infos\x18\x03 \x03(\x0b\x32\x32.cosmos.distribution.v1beta1.DelegatorWithdrawInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x16\x64\x65legatorWithdrawInfos\x12\x45\n\x11previous_proposer\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10previousProposer\x12z\n\x13outstanding_rewards\x18\x05 \x03(\x0b\x32>.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12outstandingRewards\x12\x98\x01\n!validator_accumulated_commissions\x18\x06 \x03(\x0b\x32\x41.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x1fvalidatorAccumulatedCommissions\x12\x8a\x01\n\x1cvalidator_historical_rewards\x18\x07 \x03(\x0b\x32=.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x1avalidatorHistoricalRewards\x12\x81\x01\n\x19validator_current_rewards\x18\x08 \x03(\x0b\x32:.cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x17validatorCurrentRewards\x12}\n\x18\x64\x65legator_starting_infos\x18\t \x03(\x0b\x32\x38.cosmos.distribution.v1beta1.DelegatorStartingInfoRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x16\x64\x65legatorStartingInfos\x12w\n\x16validator_slash_events\x18\n \x03(\x0b\x32\x36.cosmos.distribution.v1beta1.ValidatorSlashEventRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSlashEvents:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xf4\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x0cGenesisProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n)cosmos/distribution/v1beta1/genesis.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\xad\x01\n\x15\x44\x65legatorWithdrawInfo\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12\x43\n\x10withdraw_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x87\x02\n!ValidatorOutstandingRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x87\x01\n\x13outstanding_rewards\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x12outstandingRewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xea\x01\n$ValidatorAccumulatedCommissionRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12h\n\x0b\x61\x63\x63umulated\x18\x02 \x01(\x0b\x32;.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x61\x63\x63umulated:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xf2\x01\n ValidatorHistoricalRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x16\n\x06period\x18\x02 \x01(\x04R\x06period\x12\\\n\x07rewards\x18\x03 \x01(\x0b\x32\x37.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xd4\x01\n\x1dValidatorCurrentRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12Y\n\x07rewards\x18\x02 \x01(\x0b\x32\x34.cosmos.distribution.v1beta1.ValidatorCurrentRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xa2\x02\n\x1b\x44\x65legatorStartingInfoRecord\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x62\n\rstarting_info\x18\x03 \x01(\x0b\x32\x32.cosmos.distribution.v1beta1.DelegatorStartingInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cstartingInfo:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x96\x02\n\x19ValidatorSlashEventRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x16\n\x06height\x18\x02 \x01(\x04R\x06height\x12\x16\n\x06period\x18\x03 \x01(\x04R\x06period\x12o\n\x15validator_slash_event\x18\x04 \x01(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13validatorSlashEvent:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x8c\t\n\x0cGenesisState\x12\x46\n\x06params\x18\x01 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12J\n\x08\x66\x65\x65_pool\x18\x02 \x01(\x0b\x32$.cosmos.distribution.v1beta1.FeePoolB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x66\x65\x65Pool\x12w\n\x18\x64\x65legator_withdraw_infos\x18\x03 \x03(\x0b\x32\x32.cosmos.distribution.v1beta1.DelegatorWithdrawInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x16\x64\x65legatorWithdrawInfos\x12\x45\n\x11previous_proposer\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10previousProposer\x12z\n\x13outstanding_rewards\x18\x05 \x03(\x0b\x32>.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12outstandingRewards\x12\x98\x01\n!validator_accumulated_commissions\x18\x06 \x03(\x0b\x32\x41.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x1fvalidatorAccumulatedCommissions\x12\x8a\x01\n\x1cvalidator_historical_rewards\x18\x07 \x03(\x0b\x32=.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x1avalidatorHistoricalRewards\x12\x81\x01\n\x19validator_current_rewards\x18\x08 \x03(\x0b\x32:.cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x17validatorCurrentRewards\x12}\n\x18\x64\x65legator_starting_infos\x18\t \x03(\x0b\x32\x38.cosmos.distribution.v1beta1.DelegatorStartingInfoRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x16\x64\x65legatorStartingInfos\x12w\n\x16validator_slash_events\x18\n \x03(\x0b\x32\x36.cosmos.distribution.v1beta1.ValidatorSlashEventRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSlashEvents:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xf4\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x0cGenesisProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.distribution.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.distribution.v1beta1B\014GenesisProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001' - _globals['_DELEGATORWITHDRAWINFO'].fields_by_name['delegator_address']._loaded_options = None - _globals['_DELEGATORWITHDRAWINFO'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DELEGATORWITHDRAWINFO'].fields_by_name['withdraw_address']._loaded_options = None - _globals['_DELEGATORWITHDRAWINFO'].fields_by_name['withdraw_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DELEGATORWITHDRAWINFO']._loaded_options = None - _globals['_DELEGATORWITHDRAWINFO']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_VALIDATOROUTSTANDINGREWARDSRECORD'].fields_by_name['validator_address']._loaded_options = None - _globals['_VALIDATOROUTSTANDINGREWARDSRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_VALIDATOROUTSTANDINGREWARDSRECORD'].fields_by_name['outstanding_rewards']._loaded_options = None - _globals['_VALIDATOROUTSTANDINGREWARDSRECORD'].fields_by_name['outstanding_rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._loaded_options = None - _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD'].fields_by_name['validator_address']._loaded_options = None - _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD'].fields_by_name['accumulated']._loaded_options = None - _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD'].fields_by_name['accumulated']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._loaded_options = None - _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_VALIDATORHISTORICALREWARDSRECORD'].fields_by_name['validator_address']._loaded_options = None - _globals['_VALIDATORHISTORICALREWARDSRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_VALIDATORHISTORICALREWARDSRECORD'].fields_by_name['rewards']._loaded_options = None - _globals['_VALIDATORHISTORICALREWARDSRECORD'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_VALIDATORHISTORICALREWARDSRECORD']._loaded_options = None - _globals['_VALIDATORHISTORICALREWARDSRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_VALIDATORCURRENTREWARDSRECORD'].fields_by_name['validator_address']._loaded_options = None - _globals['_VALIDATORCURRENTREWARDSRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_VALIDATORCURRENTREWARDSRECORD'].fields_by_name['rewards']._loaded_options = None - _globals['_VALIDATORCURRENTREWARDSRECORD'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_VALIDATORCURRENTREWARDSRECORD']._loaded_options = None - _globals['_VALIDATORCURRENTREWARDSRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['delegator_address']._loaded_options = None - _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['validator_address']._loaded_options = None - _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['starting_info']._loaded_options = None - _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['starting_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_DELEGATORSTARTINGINFORECORD']._loaded_options = None - _globals['_DELEGATORSTARTINGINFORECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_VALIDATORSLASHEVENTRECORD'].fields_by_name['validator_address']._loaded_options = None - _globals['_VALIDATORSLASHEVENTRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_VALIDATORSLASHEVENTRECORD'].fields_by_name['validator_slash_event']._loaded_options = None - _globals['_VALIDATORSLASHEVENTRECORD'].fields_by_name['validator_slash_event']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_VALIDATORSLASHEVENTRECORD']._loaded_options = None - _globals['_VALIDATORSLASHEVENTRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['fee_pool']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['fee_pool']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['delegator_withdraw_infos']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['delegator_withdraw_infos']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['previous_proposer']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['previous_proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_GENESISSTATE'].fields_by_name['outstanding_rewards']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['outstanding_rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['validator_accumulated_commissions']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['validator_accumulated_commissions']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['validator_historical_rewards']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['validator_historical_rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['validator_current_rewards']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['validator_current_rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['delegator_starting_infos']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['delegator_starting_infos']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['validator_slash_events']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['validator_slash_events']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE']._loaded_options = None - _globals['_GENESISSTATE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_DELEGATORWITHDRAWINFO']._serialized_start=223 - _globals['_DELEGATORWITHDRAWINFO']._serialized_end=396 - _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._serialized_start=399 - _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._serialized_end=662 - _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._serialized_start=665 - _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._serialized_end=899 - _globals['_VALIDATORHISTORICALREWARDSRECORD']._serialized_start=902 - _globals['_VALIDATORHISTORICALREWARDSRECORD']._serialized_end=1144 - _globals['_VALIDATORCURRENTREWARDSRECORD']._serialized_start=1147 - _globals['_VALIDATORCURRENTREWARDSRECORD']._serialized_end=1359 - _globals['_DELEGATORSTARTINGINFORECORD']._serialized_start=1362 - _globals['_DELEGATORSTARTINGINFORECORD']._serialized_end=1652 - _globals['_VALIDATORSLASHEVENTRECORD']._serialized_start=1655 - _globals['_VALIDATORSLASHEVENTRECORD']._serialized_end=1933 - _globals['_GENESISSTATE']._serialized_start=1936 - _globals['_GENESISSTATE']._serialized_end=3100 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\037com.cosmos.distribution.v1beta1B\014GenesisProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001" + ) + _globals["_DELEGATORWITHDRAWINFO"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_DELEGATORWITHDRAWINFO"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_DELEGATORWITHDRAWINFO"].fields_by_name["withdraw_address"]._loaded_options = None + _globals["_DELEGATORWITHDRAWINFO"].fields_by_name[ + "withdraw_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_DELEGATORWITHDRAWINFO"]._loaded_options = None + _globals["_DELEGATORWITHDRAWINFO"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_VALIDATOROUTSTANDINGREWARDSRECORD"].fields_by_name["validator_address"]._loaded_options = None + _globals["_VALIDATOROUTSTANDINGREWARDSRECORD"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_VALIDATOROUTSTANDINGREWARDSRECORD"].fields_by_name["outstanding_rewards"]._loaded_options = None + _globals["_VALIDATOROUTSTANDINGREWARDSRECORD"].fields_by_name[ + "outstanding_rewards" + ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" + _globals["_VALIDATOROUTSTANDINGREWARDSRECORD"]._loaded_options = None + _globals["_VALIDATOROUTSTANDINGREWARDSRECORD"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_VALIDATORACCUMULATEDCOMMISSIONRECORD"].fields_by_name["validator_address"]._loaded_options = None + _globals["_VALIDATORACCUMULATEDCOMMISSIONRECORD"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_VALIDATORACCUMULATEDCOMMISSIONRECORD"].fields_by_name["accumulated"]._loaded_options = None + _globals["_VALIDATORACCUMULATEDCOMMISSIONRECORD"].fields_by_name[ + "accumulated" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_VALIDATORACCUMULATEDCOMMISSIONRECORD"]._loaded_options = None + _globals["_VALIDATORACCUMULATEDCOMMISSIONRECORD"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_VALIDATORHISTORICALREWARDSRECORD"].fields_by_name["validator_address"]._loaded_options = None + _globals["_VALIDATORHISTORICALREWARDSRECORD"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_VALIDATORHISTORICALREWARDSRECORD"].fields_by_name["rewards"]._loaded_options = None + _globals["_VALIDATORHISTORICALREWARDSRECORD"].fields_by_name[ + "rewards" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_VALIDATORHISTORICALREWARDSRECORD"]._loaded_options = None + _globals["_VALIDATORHISTORICALREWARDSRECORD"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_VALIDATORCURRENTREWARDSRECORD"].fields_by_name["validator_address"]._loaded_options = None + _globals["_VALIDATORCURRENTREWARDSRECORD"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_VALIDATORCURRENTREWARDSRECORD"].fields_by_name["rewards"]._loaded_options = None + _globals["_VALIDATORCURRENTREWARDSRECORD"].fields_by_name[ + "rewards" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_VALIDATORCURRENTREWARDSRECORD"]._loaded_options = None + _globals["_VALIDATORCURRENTREWARDSRECORD"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_DELEGATORSTARTINGINFORECORD"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_DELEGATORSTARTINGINFORECORD"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_DELEGATORSTARTINGINFORECORD"].fields_by_name["validator_address"]._loaded_options = None + _globals["_DELEGATORSTARTINGINFORECORD"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_DELEGATORSTARTINGINFORECORD"].fields_by_name["starting_info"]._loaded_options = None + _globals["_DELEGATORSTARTINGINFORECORD"].fields_by_name[ + "starting_info" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_DELEGATORSTARTINGINFORECORD"]._loaded_options = None + _globals["_DELEGATORSTARTINGINFORECORD"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_VALIDATORSLASHEVENTRECORD"].fields_by_name["validator_address"]._loaded_options = None + _globals["_VALIDATORSLASHEVENTRECORD"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_VALIDATORSLASHEVENTRECORD"].fields_by_name["validator_slash_event"]._loaded_options = None + _globals["_VALIDATORSLASHEVENTRECORD"].fields_by_name[ + "validator_slash_event" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_VALIDATORSLASHEVENTRECORD"]._loaded_options = None + _globals["_VALIDATORSLASHEVENTRECORD"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["fee_pool"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["fee_pool"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["delegator_withdraw_infos"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "delegator_withdraw_infos" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["previous_proposer"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "previous_proposer" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_GENESISSTATE"].fields_by_name["outstanding_rewards"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "outstanding_rewards" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["validator_accumulated_commissions"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "validator_accumulated_commissions" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["validator_historical_rewards"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "validator_historical_rewards" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["validator_current_rewards"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "validator_current_rewards" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["delegator_starting_infos"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "delegator_starting_infos" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["validator_slash_events"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "validator_slash_events" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"]._loaded_options = None + _globals["_GENESISSTATE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_DELEGATORWITHDRAWINFO"]._serialized_start = 223 + _globals["_DELEGATORWITHDRAWINFO"]._serialized_end = 396 + _globals["_VALIDATOROUTSTANDINGREWARDSRECORD"]._serialized_start = 399 + _globals["_VALIDATOROUTSTANDINGREWARDSRECORD"]._serialized_end = 662 + _globals["_VALIDATORACCUMULATEDCOMMISSIONRECORD"]._serialized_start = 665 + _globals["_VALIDATORACCUMULATEDCOMMISSIONRECORD"]._serialized_end = 899 + _globals["_VALIDATORHISTORICALREWARDSRECORD"]._serialized_start = 902 + _globals["_VALIDATORHISTORICALREWARDSRECORD"]._serialized_end = 1144 + _globals["_VALIDATORCURRENTREWARDSRECORD"]._serialized_start = 1147 + _globals["_VALIDATORCURRENTREWARDSRECORD"]._serialized_end = 1359 + _globals["_DELEGATORSTARTINGINFORECORD"]._serialized_start = 1362 + _globals["_DELEGATORSTARTINGINFORECORD"]._serialized_end = 1652 + _globals["_VALIDATORSLASHEVENTRECORD"]._serialized_start = 1655 + _globals["_VALIDATORSLASHEVENTRECORD"]._serialized_end = 1933 + _globals["_GENESISSTATE"]._serialized_start = 1936 + _globals["_GENESISSTATE"]._serialized_end = 3100 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/distribution/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2.py index 0344a05c..290f8b90 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2.py @@ -7,144 +7,225 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 +from pyinjective.proto.cosmos.distribution.v1beta1 import ( + distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2, +) from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/distribution/v1beta1/query.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x14\n\x12QueryParamsRequest\"]\n\x13QueryParamsResponse\x12\x46\n\x06params\x18\x01 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"w\n%QueryValidatorDistributionInfoRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\"\xee\x02\n&QueryValidatorDistributionInfoResponse\x12L\n\x10operator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x0foperatorAddress\x12\x82\x01\n\x11self_bond_rewards\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x0fselfBondRewards\x12q\n\ncommission\x18\x03 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB3\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoinsR\ncommission\"y\n\'QueryValidatorOutstandingRewardsRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\"\x89\x01\n(QueryValidatorOutstandingRewardsResponse\x12]\n\x07rewards\x18\x01 \x01(\x0b\x32\x38.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards\"q\n\x1fQueryValidatorCommissionRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\"\x8a\x01\n QueryValidatorCommissionResponse\x12\x66\n\ncommission\x18\x01 \x01(\x0b\x32;.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission\"\x8a\x02\n\x1cQueryValidatorSlashesRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\'\n\x0fstarting_height\x18\x02 \x01(\x04R\x0estartingHeight\x12#\n\rending_height\x18\x03 \x01(\x04R\x0c\x65ndingHeight\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x04\x88\xa0\x1f\x00\"\xbf\x01\n\x1dQueryValidatorSlashesResponse\x12U\n\x07slashes\x18\x01 \x03(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07slashes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xc0\x01\n\x1dQueryDelegationRewardsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x92\x01\n\x1eQueryDelegationRewardsResponse\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards\"u\n\"QueryDelegationTotalRewardsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf0\x01\n#QueryDelegationTotalRewardsResponse\x12[\n\x07rewards\x18\x01 \x03(\x0b\x32\x36.cosmos.distribution.v1beta1.DelegationDelegatorRewardB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards\x12l\n\x05total\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x05total\"r\n\x1fQueryDelegatorValidatorsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"L\n QueryDelegatorValidatorsResponse\x12\x1e\n\nvalidators\x18\x01 \x03(\tR\nvalidators:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"w\n$QueryDelegatorWithdrawAddressRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"v\n%QueryDelegatorWithdrawAddressResponse\x12\x43\n\x10withdraw_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1b\n\x19QueryCommunityPoolRequest\"\x88\x01\n\x1aQueryCommunityPoolResponse\x12j\n\x04pool\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x04pool2\xc4\x11\n\x05Query\x12\x98\x01\n\x06Params\x12/.cosmos.distribution.v1beta1.QueryParamsRequest\x1a\x30.cosmos.distribution.v1beta1.QueryParamsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/cosmos/distribution/v1beta1/params\x12\xe9\x01\n\x19ValidatorDistributionInfo\x12\x42.cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest\x1a\x43.cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse\"C\x82\xd3\xe4\x93\x02=\x12;/cosmos/distribution/v1beta1/validators/{validator_address}\x12\x83\x02\n\x1bValidatorOutstandingRewards\x12\x44.cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest\x1a\x45.cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse\"W\x82\xd3\xe4\x93\x02Q\x12O/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards\x12\xe2\x01\n\x13ValidatorCommission\x12<.cosmos.distribution.v1beta1.QueryValidatorCommissionRequest\x1a=.cosmos.distribution.v1beta1.QueryValidatorCommissionResponse\"N\x82\xd3\xe4\x93\x02H\x12\x46/cosmos/distribution/v1beta1/validators/{validator_address}/commission\x12\xd6\x01\n\x10ValidatorSlashes\x12\x39.cosmos.distribution.v1beta1.QueryValidatorSlashesRequest\x1a:.cosmos.distribution.v1beta1.QueryValidatorSlashesResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/cosmos/distribution/v1beta1/validators/{validator_address}/slashes\x12\xed\x01\n\x11\x44\x65legationRewards\x12:.cosmos.distribution.v1beta1.QueryDelegationRewardsRequest\x1a;.cosmos.distribution.v1beta1.QueryDelegationRewardsResponse\"_\x82\xd3\xe4\x93\x02Y\x12W/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}\x12\xe8\x01\n\x16\x44\x65legationTotalRewards\x12?.cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest\x1a@.cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards\x12\xe2\x01\n\x13\x44\x65legatorValidators\x12<.cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest\x1a=.cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse\"N\x82\xd3\xe4\x93\x02H\x12\x46/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators\x12\xf7\x01\n\x18\x44\x65legatorWithdrawAddress\x12\x41.cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest\x1a\x42.cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse\"T\x82\xd3\xe4\x93\x02N\x12L/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address\x12\xb5\x01\n\rCommunityPool\x12\x36.cosmos.distribution.v1beta1.QueryCommunityPoolRequest\x1a\x37.cosmos.distribution.v1beta1.QueryCommunityPoolResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/distribution/v1beta1/community_poolB\xee\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\nQueryProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\'cosmos/distribution/v1beta1/query.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\x14\n\x12QueryParamsRequest"]\n\x13QueryParamsResponse\x12\x46\n\x06params\x18\x01 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params"w\n%QueryValidatorDistributionInfoRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress"\xee\x02\n&QueryValidatorDistributionInfoResponse\x12L\n\x10operator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x0foperatorAddress\x12\x82\x01\n\x11self_bond_rewards\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x0fselfBondRewards\x12q\n\ncommission\x18\x03 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB3\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoinsR\ncommission"y\n\'QueryValidatorOutstandingRewardsRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress"\x89\x01\n(QueryValidatorOutstandingRewardsResponse\x12]\n\x07rewards\x18\x01 \x01(\x0b\x32\x38.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards"q\n\x1fQueryValidatorCommissionRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress"\x8a\x01\n QueryValidatorCommissionResponse\x12\x66\n\ncommission\x18\x01 \x01(\x0b\x32;.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission"\x8a\x02\n\x1cQueryValidatorSlashesRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\'\n\x0fstarting_height\x18\x02 \x01(\x04R\x0estartingHeight\x12#\n\rending_height\x18\x03 \x01(\x04R\x0c\x65ndingHeight\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x04\x88\xa0\x1f\x00"\xbf\x01\n\x1dQueryValidatorSlashesResponse\x12U\n\x07slashes\x18\x01 \x03(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07slashes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xc0\x01\n\x1dQueryDelegationRewardsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x92\x01\n\x1eQueryDelegationRewardsResponse\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards"u\n"QueryDelegationTotalRewardsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xf0\x01\n#QueryDelegationTotalRewardsResponse\x12[\n\x07rewards\x18\x01 \x03(\x0b\x32\x36.cosmos.distribution.v1beta1.DelegationDelegatorRewardB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards\x12l\n\x05total\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x05total"r\n\x1fQueryDelegatorValidatorsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"L\n QueryDelegatorValidatorsResponse\x12\x1e\n\nvalidators\x18\x01 \x03(\tR\nvalidators:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"w\n$QueryDelegatorWithdrawAddressRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"v\n%QueryDelegatorWithdrawAddressResponse\x12\x43\n\x10withdraw_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x1b\n\x19QueryCommunityPoolRequest"\x88\x01\n\x1aQueryCommunityPoolResponse\x12j\n\x04pool\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x04pool2\xc4\x11\n\x05Query\x12\x98\x01\n\x06Params\x12/.cosmos.distribution.v1beta1.QueryParamsRequest\x1a\x30.cosmos.distribution.v1beta1.QueryParamsResponse"+\x82\xd3\xe4\x93\x02%\x12#/cosmos/distribution/v1beta1/params\x12\xe9\x01\n\x19ValidatorDistributionInfo\x12\x42.cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest\x1a\x43.cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse"C\x82\xd3\xe4\x93\x02=\x12;/cosmos/distribution/v1beta1/validators/{validator_address}\x12\x83\x02\n\x1bValidatorOutstandingRewards\x12\x44.cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest\x1a\x45.cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse"W\x82\xd3\xe4\x93\x02Q\x12O/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards\x12\xe2\x01\n\x13ValidatorCommission\x12<.cosmos.distribution.v1beta1.QueryValidatorCommissionRequest\x1a=.cosmos.distribution.v1beta1.QueryValidatorCommissionResponse"N\x82\xd3\xe4\x93\x02H\x12\x46/cosmos/distribution/v1beta1/validators/{validator_address}/commission\x12\xd6\x01\n\x10ValidatorSlashes\x12\x39.cosmos.distribution.v1beta1.QueryValidatorSlashesRequest\x1a:.cosmos.distribution.v1beta1.QueryValidatorSlashesResponse"K\x82\xd3\xe4\x93\x02\x45\x12\x43/cosmos/distribution/v1beta1/validators/{validator_address}/slashes\x12\xed\x01\n\x11\x44\x65legationRewards\x12:.cosmos.distribution.v1beta1.QueryDelegationRewardsRequest\x1a;.cosmos.distribution.v1beta1.QueryDelegationRewardsResponse"_\x82\xd3\xe4\x93\x02Y\x12W/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}\x12\xe8\x01\n\x16\x44\x65legationTotalRewards\x12?.cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest\x1a@.cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse"K\x82\xd3\xe4\x93\x02\x45\x12\x43/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards\x12\xe2\x01\n\x13\x44\x65legatorValidators\x12<.cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest\x1a=.cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse"N\x82\xd3\xe4\x93\x02H\x12\x46/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators\x12\xf7\x01\n\x18\x44\x65legatorWithdrawAddress\x12\x41.cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest\x1a\x42.cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse"T\x82\xd3\xe4\x93\x02N\x12L/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address\x12\xb5\x01\n\rCommunityPool\x12\x36.cosmos.distribution.v1beta1.QueryCommunityPoolRequest\x1a\x37.cosmos.distribution.v1beta1.QueryCommunityPoolResponse"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/distribution/v1beta1/community_poolB\xee\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\nQueryProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.distribution.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.distribution.v1beta1B\nQueryProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST'].fields_by_name['validator_address']._loaded_options = None - _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['operator_address']._loaded_options = None - _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['operator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['self_bond_rewards']._loaded_options = None - _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['self_bond_rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['commission']._loaded_options = None - _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins' - _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST'].fields_by_name['validator_address']._loaded_options = None - _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE'].fields_by_name['rewards']._loaded_options = None - _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYVALIDATORCOMMISSIONREQUEST'].fields_by_name['validator_address']._loaded_options = None - _globals['_QUERYVALIDATORCOMMISSIONREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYVALIDATORCOMMISSIONRESPONSE'].fields_by_name['commission']._loaded_options = None - _globals['_QUERYVALIDATORCOMMISSIONRESPONSE'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYVALIDATORSLASHESREQUEST'].fields_by_name['validator_address']._loaded_options = None - _globals['_QUERYVALIDATORSLASHESREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYVALIDATORSLASHESREQUEST']._loaded_options = None - _globals['_QUERYVALIDATORSLASHESREQUEST']._serialized_options = b'\210\240\037\000' - _globals['_QUERYVALIDATORSLASHESRESPONSE'].fields_by_name['slashes']._loaded_options = None - _globals['_QUERYVALIDATORSLASHESRESPONSE'].fields_by_name['slashes']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDELEGATIONREWARDSREQUEST'].fields_by_name['delegator_address']._loaded_options = None - _globals['_QUERYDELEGATIONREWARDSREQUEST'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATIONREWARDSREQUEST'].fields_by_name['validator_address']._loaded_options = None - _globals['_QUERYDELEGATIONREWARDSREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYDELEGATIONREWARDSREQUEST']._loaded_options = None - _globals['_QUERYDELEGATIONREWARDSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATIONREWARDSRESPONSE'].fields_by_name['rewards']._loaded_options = None - _globals['_QUERYDELEGATIONREWARDSRESPONSE'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST'].fields_by_name['delegator_address']._loaded_options = None - _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._loaded_options = None - _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE'].fields_by_name['rewards']._loaded_options = None - _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE'].fields_by_name['total']._loaded_options = None - _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE'].fields_by_name['total']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_QUERYDELEGATORVALIDATORSREQUEST'].fields_by_name['delegator_address']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORSREQUEST'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATORVALIDATORSREQUEST']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST'].fields_by_name['delegator_address']._loaded_options = None - _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._loaded_options = None - _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE'].fields_by_name['withdraw_address']._loaded_options = None - _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE'].fields_by_name['withdraw_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._loaded_options = None - _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYCOMMUNITYPOOLRESPONSE'].fields_by_name['pool']._loaded_options = None - _globals['_QUERYCOMMUNITYPOOLRESPONSE'].fields_by_name['pool']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002%\022#/cosmos/distribution/v1beta1/params' - _globals['_QUERY'].methods_by_name['ValidatorDistributionInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValidatorDistributionInfo']._serialized_options = b'\202\323\344\223\002=\022;/cosmos/distribution/v1beta1/validators/{validator_address}' - _globals['_QUERY'].methods_by_name['ValidatorOutstandingRewards']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValidatorOutstandingRewards']._serialized_options = b'\202\323\344\223\002Q\022O/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards' - _globals['_QUERY'].methods_by_name['ValidatorCommission']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValidatorCommission']._serialized_options = b'\202\323\344\223\002H\022F/cosmos/distribution/v1beta1/validators/{validator_address}/commission' - _globals['_QUERY'].methods_by_name['ValidatorSlashes']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValidatorSlashes']._serialized_options = b'\202\323\344\223\002E\022C/cosmos/distribution/v1beta1/validators/{validator_address}/slashes' - _globals['_QUERY'].methods_by_name['DelegationRewards']._loaded_options = None - _globals['_QUERY'].methods_by_name['DelegationRewards']._serialized_options = b'\202\323\344\223\002Y\022W/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}' - _globals['_QUERY'].methods_by_name['DelegationTotalRewards']._loaded_options = None - _globals['_QUERY'].methods_by_name['DelegationTotalRewards']._serialized_options = b'\202\323\344\223\002E\022C/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards' - _globals['_QUERY'].methods_by_name['DelegatorValidators']._loaded_options = None - _globals['_QUERY'].methods_by_name['DelegatorValidators']._serialized_options = b'\202\323\344\223\002H\022F/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators' - _globals['_QUERY'].methods_by_name['DelegatorWithdrawAddress']._loaded_options = None - _globals['_QUERY'].methods_by_name['DelegatorWithdrawAddress']._serialized_options = b'\202\323\344\223\002N\022L/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address' - _globals['_QUERY'].methods_by_name['CommunityPool']._loaded_options = None - _globals['_QUERY'].methods_by_name['CommunityPool']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/distribution/v1beta1/community_pool' - _globals['_QUERYPARAMSREQUEST']._serialized_start=294 - _globals['_QUERYPARAMSREQUEST']._serialized_end=314 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=316 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=409 - _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST']._serialized_start=411 - _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST']._serialized_end=530 - _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE']._serialized_start=533 - _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE']._serialized_end=899 - _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST']._serialized_start=901 - _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST']._serialized_end=1022 - _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE']._serialized_start=1025 - _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE']._serialized_end=1162 - _globals['_QUERYVALIDATORCOMMISSIONREQUEST']._serialized_start=1164 - _globals['_QUERYVALIDATORCOMMISSIONREQUEST']._serialized_end=1277 - _globals['_QUERYVALIDATORCOMMISSIONRESPONSE']._serialized_start=1280 - _globals['_QUERYVALIDATORCOMMISSIONRESPONSE']._serialized_end=1418 - _globals['_QUERYVALIDATORSLASHESREQUEST']._serialized_start=1421 - _globals['_QUERYVALIDATORSLASHESREQUEST']._serialized_end=1687 - _globals['_QUERYVALIDATORSLASHESRESPONSE']._serialized_start=1690 - _globals['_QUERYVALIDATORSLASHESRESPONSE']._serialized_end=1881 - _globals['_QUERYDELEGATIONREWARDSREQUEST']._serialized_start=1884 - _globals['_QUERYDELEGATIONREWARDSREQUEST']._serialized_end=2076 - _globals['_QUERYDELEGATIONREWARDSRESPONSE']._serialized_start=2079 - _globals['_QUERYDELEGATIONREWARDSRESPONSE']._serialized_end=2225 - _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._serialized_start=2227 - _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._serialized_end=2344 - _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE']._serialized_start=2347 - _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE']._serialized_end=2587 - _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_start=2589 - _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_end=2703 - _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_start=2705 - _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_end=2781 - _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._serialized_start=2783 - _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._serialized_end=2902 - _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._serialized_start=2904 - _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._serialized_end=3022 - _globals['_QUERYCOMMUNITYPOOLREQUEST']._serialized_start=3024 - _globals['_QUERYCOMMUNITYPOOLREQUEST']._serialized_end=3051 - _globals['_QUERYCOMMUNITYPOOLRESPONSE']._serialized_start=3054 - _globals['_QUERYCOMMUNITYPOOLRESPONSE']._serialized_end=3190 - _globals['_QUERY']._serialized_start=3193 - _globals['_QUERY']._serialized_end=5437 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\037com.cosmos.distribution.v1beta1B\nQueryProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1" + ) + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYVALIDATORDISTRIBUTIONINFOREQUEST"].fields_by_name["validator_address"]._loaded_options = None + _globals["_QUERYVALIDATORDISTRIBUTIONINFOREQUEST"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_QUERYVALIDATORDISTRIBUTIONINFORESPONSE"].fields_by_name["operator_address"]._loaded_options = None + _globals["_QUERYVALIDATORDISTRIBUTIONINFORESPONSE"].fields_by_name[ + "operator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_QUERYVALIDATORDISTRIBUTIONINFORESPONSE"].fields_by_name["self_bond_rewards"]._loaded_options = None + _globals["_QUERYVALIDATORDISTRIBUTIONINFORESPONSE"].fields_by_name[ + "self_bond_rewards" + ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" + _globals["_QUERYVALIDATORDISTRIBUTIONINFORESPONSE"].fields_by_name["commission"]._loaded_options = None + _globals["_QUERYVALIDATORDISTRIBUTIONINFORESPONSE"].fields_by_name[ + "commission" + ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins" + _globals["_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST"].fields_by_name["validator_address"]._loaded_options = None + _globals["_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE"].fields_by_name["rewards"]._loaded_options = None + _globals["_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE"].fields_by_name[ + "rewards" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYVALIDATORCOMMISSIONREQUEST"].fields_by_name["validator_address"]._loaded_options = None + _globals["_QUERYVALIDATORCOMMISSIONREQUEST"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_QUERYVALIDATORCOMMISSIONRESPONSE"].fields_by_name["commission"]._loaded_options = None + _globals["_QUERYVALIDATORCOMMISSIONRESPONSE"].fields_by_name[ + "commission" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYVALIDATORSLASHESREQUEST"].fields_by_name["validator_address"]._loaded_options = None + _globals["_QUERYVALIDATORSLASHESREQUEST"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_QUERYVALIDATORSLASHESREQUEST"]._loaded_options = None + _globals["_QUERYVALIDATORSLASHESREQUEST"]._serialized_options = b"\210\240\037\000" + _globals["_QUERYVALIDATORSLASHESRESPONSE"].fields_by_name["slashes"]._loaded_options = None + _globals["_QUERYVALIDATORSLASHESRESPONSE"].fields_by_name[ + "slashes" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYDELEGATIONREWARDSREQUEST"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_QUERYDELEGATIONREWARDSREQUEST"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYDELEGATIONREWARDSREQUEST"].fields_by_name["validator_address"]._loaded_options = None + _globals["_QUERYDELEGATIONREWARDSREQUEST"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_QUERYDELEGATIONREWARDSREQUEST"]._loaded_options = None + _globals["_QUERYDELEGATIONREWARDSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYDELEGATIONREWARDSRESPONSE"].fields_by_name["rewards"]._loaded_options = None + _globals["_QUERYDELEGATIONREWARDSRESPONSE"].fields_by_name[ + "rewards" + ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" + _globals["_QUERYDELEGATIONTOTALREWARDSREQUEST"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_QUERYDELEGATIONTOTALREWARDSREQUEST"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYDELEGATIONTOTALREWARDSREQUEST"]._loaded_options = None + _globals["_QUERYDELEGATIONTOTALREWARDSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYDELEGATIONTOTALREWARDSRESPONSE"].fields_by_name["rewards"]._loaded_options = None + _globals["_QUERYDELEGATIONTOTALREWARDSRESPONSE"].fields_by_name[ + "rewards" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYDELEGATIONTOTALREWARDSRESPONSE"].fields_by_name["total"]._loaded_options = None + _globals["_QUERYDELEGATIONTOTALREWARDSRESPONSE"].fields_by_name[ + "total" + ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" + _globals["_QUERYDELEGATORVALIDATORSREQUEST"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_QUERYDELEGATORVALIDATORSREQUEST"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYDELEGATORVALIDATORSREQUEST"]._loaded_options = None + _globals["_QUERYDELEGATORVALIDATORSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYDELEGATORVALIDATORSRESPONSE"]._loaded_options = None + _globals["_QUERYDELEGATORVALIDATORSRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYDELEGATORWITHDRAWADDRESSREQUEST"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_QUERYDELEGATORWITHDRAWADDRESSREQUEST"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYDELEGATORWITHDRAWADDRESSREQUEST"]._loaded_options = None + _globals["_QUERYDELEGATORWITHDRAWADDRESSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYDELEGATORWITHDRAWADDRESSRESPONSE"].fields_by_name["withdraw_address"]._loaded_options = None + _globals["_QUERYDELEGATORWITHDRAWADDRESSRESPONSE"].fields_by_name[ + "withdraw_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYDELEGATORWITHDRAWADDRESSRESPONSE"]._loaded_options = None + _globals["_QUERYDELEGATORWITHDRAWADDRESSRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYCOMMUNITYPOOLRESPONSE"].fields_by_name["pool"]._loaded_options = None + _globals["_QUERYCOMMUNITYPOOLRESPONSE"].fields_by_name[ + "pool" + ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\202\323\344\223\002%\022#/cosmos/distribution/v1beta1/params" + _globals["_QUERY"].methods_by_name["ValidatorDistributionInfo"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ValidatorDistributionInfo" + ]._serialized_options = b"\202\323\344\223\002=\022;/cosmos/distribution/v1beta1/validators/{validator_address}" + _globals["_QUERY"].methods_by_name["ValidatorOutstandingRewards"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ValidatorOutstandingRewards" + ]._serialized_options = ( + b"\202\323\344\223\002Q\022O/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards" + ) + _globals["_QUERY"].methods_by_name["ValidatorCommission"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ValidatorCommission" + ]._serialized_options = ( + b"\202\323\344\223\002H\022F/cosmos/distribution/v1beta1/validators/{validator_address}/commission" + ) + _globals["_QUERY"].methods_by_name["ValidatorSlashes"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ValidatorSlashes" + ]._serialized_options = ( + b"\202\323\344\223\002E\022C/cosmos/distribution/v1beta1/validators/{validator_address}/slashes" + ) + _globals["_QUERY"].methods_by_name["DelegationRewards"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DelegationRewards" + ]._serialized_options = b"\202\323\344\223\002Y\022W/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}" + _globals["_QUERY"].methods_by_name["DelegationTotalRewards"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DelegationTotalRewards" + ]._serialized_options = ( + b"\202\323\344\223\002E\022C/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards" + ) + _globals["_QUERY"].methods_by_name["DelegatorValidators"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DelegatorValidators" + ]._serialized_options = ( + b"\202\323\344\223\002H\022F/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators" + ) + _globals["_QUERY"].methods_by_name["DelegatorWithdrawAddress"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DelegatorWithdrawAddress" + ]._serialized_options = ( + b"\202\323\344\223\002N\022L/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address" + ) + _globals["_QUERY"].methods_by_name["CommunityPool"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "CommunityPool" + ]._serialized_options = b"\202\323\344\223\002-\022+/cosmos/distribution/v1beta1/community_pool" + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 294 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 314 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 316 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 409 + _globals["_QUERYVALIDATORDISTRIBUTIONINFOREQUEST"]._serialized_start = 411 + _globals["_QUERYVALIDATORDISTRIBUTIONINFOREQUEST"]._serialized_end = 530 + _globals["_QUERYVALIDATORDISTRIBUTIONINFORESPONSE"]._serialized_start = 533 + _globals["_QUERYVALIDATORDISTRIBUTIONINFORESPONSE"]._serialized_end = 899 + _globals["_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST"]._serialized_start = 901 + _globals["_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST"]._serialized_end = 1022 + _globals["_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE"]._serialized_start = 1025 + _globals["_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE"]._serialized_end = 1162 + _globals["_QUERYVALIDATORCOMMISSIONREQUEST"]._serialized_start = 1164 + _globals["_QUERYVALIDATORCOMMISSIONREQUEST"]._serialized_end = 1277 + _globals["_QUERYVALIDATORCOMMISSIONRESPONSE"]._serialized_start = 1280 + _globals["_QUERYVALIDATORCOMMISSIONRESPONSE"]._serialized_end = 1418 + _globals["_QUERYVALIDATORSLASHESREQUEST"]._serialized_start = 1421 + _globals["_QUERYVALIDATORSLASHESREQUEST"]._serialized_end = 1687 + _globals["_QUERYVALIDATORSLASHESRESPONSE"]._serialized_start = 1690 + _globals["_QUERYVALIDATORSLASHESRESPONSE"]._serialized_end = 1881 + _globals["_QUERYDELEGATIONREWARDSREQUEST"]._serialized_start = 1884 + _globals["_QUERYDELEGATIONREWARDSREQUEST"]._serialized_end = 2076 + _globals["_QUERYDELEGATIONREWARDSRESPONSE"]._serialized_start = 2079 + _globals["_QUERYDELEGATIONREWARDSRESPONSE"]._serialized_end = 2225 + _globals["_QUERYDELEGATIONTOTALREWARDSREQUEST"]._serialized_start = 2227 + _globals["_QUERYDELEGATIONTOTALREWARDSREQUEST"]._serialized_end = 2344 + _globals["_QUERYDELEGATIONTOTALREWARDSRESPONSE"]._serialized_start = 2347 + _globals["_QUERYDELEGATIONTOTALREWARDSRESPONSE"]._serialized_end = 2587 + _globals["_QUERYDELEGATORVALIDATORSREQUEST"]._serialized_start = 2589 + _globals["_QUERYDELEGATORVALIDATORSREQUEST"]._serialized_end = 2703 + _globals["_QUERYDELEGATORVALIDATORSRESPONSE"]._serialized_start = 2705 + _globals["_QUERYDELEGATORVALIDATORSRESPONSE"]._serialized_end = 2781 + _globals["_QUERYDELEGATORWITHDRAWADDRESSREQUEST"]._serialized_start = 2783 + _globals["_QUERYDELEGATORWITHDRAWADDRESSREQUEST"]._serialized_end = 2902 + _globals["_QUERYDELEGATORWITHDRAWADDRESSRESPONSE"]._serialized_start = 2904 + _globals["_QUERYDELEGATORWITHDRAWADDRESSRESPONSE"]._serialized_end = 3022 + _globals["_QUERYCOMMUNITYPOOLREQUEST"]._serialized_start = 3024 + _globals["_QUERYCOMMUNITYPOOLREQUEST"]._serialized_end = 3051 + _globals["_QUERYCOMMUNITYPOOLRESPONSE"]._serialized_start = 3054 + _globals["_QUERYCOMMUNITYPOOLRESPONSE"]._serialized_end = 3190 + _globals["_QUERY"]._serialized_start = 3193 + _globals["_QUERY"]._serialized_end = 5437 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2_grpc.py index 583d9bda..8b72db5c 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2_grpc.py @@ -2,12 +2,13 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.cosmos.distribution.v1beta1 import query_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_query__pb2 +from pyinjective.proto.cosmos.distribution.v1beta1 import ( + query_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_query__pb2, +) class QueryStub(object): - """Query defines the gRPC querier service for distribution module. - """ + """Query defines the gRPC querier service for distribution module.""" def __init__(self, channel): """Constructor. @@ -16,212 +17,212 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/Params', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Query/Params", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) self.ValidatorDistributionInfo = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/ValidatorDistributionInfo', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Query/ValidatorDistributionInfo", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoResponse.FromString, + _registered_method=True, + ) self.ValidatorOutstandingRewards = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/ValidatorOutstandingRewards', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Query/ValidatorOutstandingRewards", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsResponse.FromString, + _registered_method=True, + ) self.ValidatorCommission = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/ValidatorCommission', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Query/ValidatorCommission", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionResponse.FromString, + _registered_method=True, + ) self.ValidatorSlashes = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/ValidatorSlashes', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Query/ValidatorSlashes", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesResponse.FromString, + _registered_method=True, + ) self.DelegationRewards = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/DelegationRewards', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Query/DelegationRewards", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsResponse.FromString, + _registered_method=True, + ) self.DelegationTotalRewards = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/DelegationTotalRewards', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Query/DelegationTotalRewards", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsResponse.FromString, + _registered_method=True, + ) self.DelegatorValidators = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/DelegatorValidators', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Query/DelegatorValidators", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, + _registered_method=True, + ) self.DelegatorWithdrawAddress = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/DelegatorWithdrawAddress', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Query/DelegatorWithdrawAddress", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressResponse.FromString, + _registered_method=True, + ) self.CommunityPool = channel.unary_unary( - '/cosmos.distribution.v1beta1.Query/CommunityPool', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Query/CommunityPool", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service for distribution module. - """ + """Query defines the gRPC querier service for distribution module.""" def Params(self, request, context): - """Params queries params of the distribution module. - """ + """Params queries params of the distribution module.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ValidatorDistributionInfo(self, request, context): - """ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator - """ + """ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ValidatorOutstandingRewards(self, request, context): - """ValidatorOutstandingRewards queries rewards of a validator address. - """ + """ValidatorOutstandingRewards queries rewards of a validator address.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ValidatorCommission(self, request, context): - """ValidatorCommission queries accumulated commission for a validator. - """ + """ValidatorCommission queries accumulated commission for a validator.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ValidatorSlashes(self, request, context): - """ValidatorSlashes queries slash events of a validator. - """ + """ValidatorSlashes queries slash events of a validator.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DelegationRewards(self, request, context): - """DelegationRewards queries the total rewards accrued by a delegation. - """ + """DelegationRewards queries the total rewards accrued by a delegation.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DelegationTotalRewards(self, request, context): """DelegationTotalRewards queries the total rewards accrued by each validator. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DelegatorValidators(self, request, context): - """DelegatorValidators queries the validators of a delegator. - """ + """DelegatorValidators queries the validators of a delegator.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DelegatorWithdrawAddress(self, request, context): - """DelegatorWithdrawAddress queries withdraw address of a delegator. - """ + """DelegatorWithdrawAddress queries withdraw address of a delegator.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CommunityPool(self, request, context): - """CommunityPool queries the community pool coins. - """ + """CommunityPool queries the community pool coins.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'ValidatorDistributionInfo': grpc.unary_unary_rpc_method_handler( - servicer.ValidatorDistributionInfo, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoResponse.SerializeToString, - ), - 'ValidatorOutstandingRewards': grpc.unary_unary_rpc_method_handler( - servicer.ValidatorOutstandingRewards, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsResponse.SerializeToString, - ), - 'ValidatorCommission': grpc.unary_unary_rpc_method_handler( - servicer.ValidatorCommission, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionResponse.SerializeToString, - ), - 'ValidatorSlashes': grpc.unary_unary_rpc_method_handler( - servicer.ValidatorSlashes, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesResponse.SerializeToString, - ), - 'DelegationRewards': grpc.unary_unary_rpc_method_handler( - servicer.DelegationRewards, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsResponse.SerializeToString, - ), - 'DelegationTotalRewards': grpc.unary_unary_rpc_method_handler( - servicer.DelegationTotalRewards, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsResponse.SerializeToString, - ), - 'DelegatorValidators': grpc.unary_unary_rpc_method_handler( - servicer.DelegatorValidators, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.SerializeToString, - ), - 'DelegatorWithdrawAddress': grpc.unary_unary_rpc_method_handler( - servicer.DelegatorWithdrawAddress, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressResponse.SerializeToString, - ), - 'CommunityPool': grpc.unary_unary_rpc_method_handler( - servicer.CommunityPool, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolResponse.SerializeToString, - ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + "ValidatorDistributionInfo": grpc.unary_unary_rpc_method_handler( + servicer.ValidatorDistributionInfo, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoResponse.SerializeToString, + ), + "ValidatorOutstandingRewards": grpc.unary_unary_rpc_method_handler( + servicer.ValidatorOutstandingRewards, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsResponse.SerializeToString, + ), + "ValidatorCommission": grpc.unary_unary_rpc_method_handler( + servicer.ValidatorCommission, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionResponse.SerializeToString, + ), + "ValidatorSlashes": grpc.unary_unary_rpc_method_handler( + servicer.ValidatorSlashes, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesResponse.SerializeToString, + ), + "DelegationRewards": grpc.unary_unary_rpc_method_handler( + servicer.DelegationRewards, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsResponse.SerializeToString, + ), + "DelegationTotalRewards": grpc.unary_unary_rpc_method_handler( + servicer.DelegationTotalRewards, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsResponse.SerializeToString, + ), + "DelegatorValidators": grpc.unary_unary_rpc_method_handler( + servicer.DelegatorValidators, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.SerializeToString, + ), + "DelegatorWithdrawAddress": grpc.unary_unary_rpc_method_handler( + servicer.DelegatorWithdrawAddress, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressResponse.SerializeToString, + ), + "CommunityPool": grpc.unary_unary_rpc_method_handler( + servicer.CommunityPool, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.distribution.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.distribution.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.distribution.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.distribution.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service for distribution module. - """ + """Query defines the gRPC querier service for distribution module.""" @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Query/Params', + "/cosmos.distribution.v1beta1.Query/Params", cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -232,23 +233,26 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ValidatorDistributionInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ValidatorDistributionInfo( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Query/ValidatorDistributionInfo', + "/cosmos.distribution.v1beta1.Query/ValidatorDistributionInfo", cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoResponse.FromString, options, @@ -259,23 +263,26 @@ def ValidatorDistributionInfo(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ValidatorOutstandingRewards(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ValidatorOutstandingRewards( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Query/ValidatorOutstandingRewards', + "/cosmos.distribution.v1beta1.Query/ValidatorOutstandingRewards", cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsResponse.FromString, options, @@ -286,23 +293,26 @@ def ValidatorOutstandingRewards(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ValidatorCommission(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ValidatorCommission( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Query/ValidatorCommission', + "/cosmos.distribution.v1beta1.Query/ValidatorCommission", cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionResponse.FromString, options, @@ -313,23 +323,26 @@ def ValidatorCommission(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ValidatorSlashes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ValidatorSlashes( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Query/ValidatorSlashes', + "/cosmos.distribution.v1beta1.Query/ValidatorSlashes", cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesResponse.FromString, options, @@ -340,23 +353,26 @@ def ValidatorSlashes(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DelegationRewards(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DelegationRewards( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Query/DelegationRewards', + "/cosmos.distribution.v1beta1.Query/DelegationRewards", cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsResponse.FromString, options, @@ -367,23 +383,26 @@ def DelegationRewards(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DelegationTotalRewards(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DelegationTotalRewards( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Query/DelegationTotalRewards', + "/cosmos.distribution.v1beta1.Query/DelegationTotalRewards", cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsResponse.FromString, options, @@ -394,23 +413,26 @@ def DelegationTotalRewards(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DelegatorValidators(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DelegatorValidators( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Query/DelegatorValidators', + "/cosmos.distribution.v1beta1.Query/DelegatorValidators", cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, options, @@ -421,23 +443,26 @@ def DelegatorValidators(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DelegatorWithdrawAddress(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DelegatorWithdrawAddress( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Query/DelegatorWithdrawAddress', + "/cosmos.distribution.v1beta1.Query/DelegatorWithdrawAddress", cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressResponse.FromString, options, @@ -448,23 +473,26 @@ def DelegatorWithdrawAddress(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CommunityPool(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CommunityPool( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Query/CommunityPool', + "/cosmos.distribution.v1beta1.Query/CommunityPool", cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolResponse.FromString, options, @@ -475,4 +503,5 @@ def CommunityPool(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py index fc830db8..c44356dd 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,93 +18,141 @@ from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 +from pyinjective.proto.cosmos.distribution.v1beta1 import ( + distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/distribution/v1beta1/tx.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\"\xeb\x01\n\x15MsgSetWithdrawAddress\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12\x43\n\x10withdraw_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:F\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*#cosmos-sdk/MsgModifyWithdrawAddress\"\x1f\n\x1dMsgSetWithdrawAddressResponse\"\xfe\x01\n\x1aMsgWithdrawDelegatorReward\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:I\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*&cosmos-sdk/MsgWithdrawDelegationReward\"\x9f\x01\n\"MsgWithdrawDelegatorRewardResponse\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\"\xb8\x01\n\x1eMsgWithdrawValidatorCommission\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:F\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*#cosmos-sdk/MsgWithdrawValCommission\"\xa3\x01\n&MsgWithdrawValidatorCommissionResponse\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\"\x85\x02\n\x14MsgFundCommunityPool\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor::\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgFundCommunityPool\"\x1e\n\x1cMsgFundCommunityPoolResponse\"\xcd\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x46\n\x06params\x18\x02 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'cosmos-sdk/distribution/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xa3\x02\n\x15MsgCommunityPoolSpend\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x1c\n\trecipient\x18\x02 \x01(\tR\trecipient\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:9\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*&cosmos-sdk/distr/MsgCommunityPoolSpend\"\x1f\n\x1dMsgCommunityPoolSpendResponse\"\xe5\x02\n\x1eMsgDepositValidatorRewardsPool\x12\x36\n\tdepositor\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*%cosmos-sdk/distr/MsgDepositValRewards\"(\n&MsgDepositValidatorRewardsPoolResponse2\xec\x07\n\x03Msg\x12\x84\x01\n\x12SetWithdrawAddress\x12\x32.cosmos.distribution.v1beta1.MsgSetWithdrawAddress\x1a:.cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse\x12\x93\x01\n\x17WithdrawDelegatorReward\x12\x37.cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward\x1a?.cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse\x12\x9f\x01\n\x1bWithdrawValidatorCommission\x12;.cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission\x1a\x43.cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse\x12\x81\x01\n\x11\x46undCommunityPool\x12\x31.cosmos.distribution.v1beta1.MsgFundCommunityPool\x1a\x39.cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse\x12r\n\x0cUpdateParams\x12,.cosmos.distribution.v1beta1.MsgUpdateParams\x1a\x34.cosmos.distribution.v1beta1.MsgUpdateParamsResponse\x12\x84\x01\n\x12\x43ommunityPoolSpend\x12\x32.cosmos.distribution.v1beta1.MsgCommunityPoolSpend\x1a:.cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse\x12\x9f\x01\n\x1b\x44\x65positValidatorRewardsPool\x12;.cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool\x1a\x43.cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xef\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x07TxProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$cosmos/distribution/v1beta1/tx.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a.cosmos/distribution/v1beta1/distribution.proto"\xeb\x01\n\x15MsgSetWithdrawAddress\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12\x43\n\x10withdraw_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:F\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*#cosmos-sdk/MsgModifyWithdrawAddress"\x1f\n\x1dMsgSetWithdrawAddressResponse"\xfe\x01\n\x1aMsgWithdrawDelegatorReward\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:I\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*&cosmos-sdk/MsgWithdrawDelegationReward"\x9f\x01\n"MsgWithdrawDelegatorRewardResponse\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount"\xb8\x01\n\x1eMsgWithdrawValidatorCommission\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:F\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*#cosmos-sdk/MsgWithdrawValCommission"\xa3\x01\n&MsgWithdrawValidatorCommissionResponse\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount"\x85\x02\n\x14MsgFundCommunityPool\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor::\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgFundCommunityPool"\x1e\n\x1cMsgFundCommunityPoolResponse"\xcd\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x46\n\x06params\x18\x02 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'cosmos-sdk/distribution/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse"\xa3\x02\n\x15MsgCommunityPoolSpend\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x1c\n\trecipient\x18\x02 \x01(\tR\trecipient\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:9\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*&cosmos-sdk/distr/MsgCommunityPoolSpend"\x1f\n\x1dMsgCommunityPoolSpendResponse"\xe5\x02\n\x1eMsgDepositValidatorRewardsPool\x12\x36\n\tdepositor\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*%cosmos-sdk/distr/MsgDepositValRewards"(\n&MsgDepositValidatorRewardsPoolResponse2\xec\x07\n\x03Msg\x12\x84\x01\n\x12SetWithdrawAddress\x12\x32.cosmos.distribution.v1beta1.MsgSetWithdrawAddress\x1a:.cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse\x12\x93\x01\n\x17WithdrawDelegatorReward\x12\x37.cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward\x1a?.cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse\x12\x9f\x01\n\x1bWithdrawValidatorCommission\x12;.cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission\x1a\x43.cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse\x12\x81\x01\n\x11\x46undCommunityPool\x12\x31.cosmos.distribution.v1beta1.MsgFundCommunityPool\x1a\x39.cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse\x12r\n\x0cUpdateParams\x12,.cosmos.distribution.v1beta1.MsgUpdateParams\x1a\x34.cosmos.distribution.v1beta1.MsgUpdateParamsResponse\x12\x84\x01\n\x12\x43ommunityPoolSpend\x12\x32.cosmos.distribution.v1beta1.MsgCommunityPoolSpend\x1a:.cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse\x12\x9f\x01\n\x1b\x44\x65positValidatorRewardsPool\x12;.cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool\x1a\x43.cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xef\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x07TxProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.distribution.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.distribution.v1beta1B\007TxProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001' - _globals['_MSGSETWITHDRAWADDRESS'].fields_by_name['delegator_address']._loaded_options = None - _globals['_MSGSETWITHDRAWADDRESS'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSETWITHDRAWADDRESS'].fields_by_name['withdraw_address']._loaded_options = None - _globals['_MSGSETWITHDRAWADDRESS'].fields_by_name['withdraw_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSETWITHDRAWADDRESS']._loaded_options = None - _globals['_MSGSETWITHDRAWADDRESS']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*#cosmos-sdk/MsgModifyWithdrawAddress' - _globals['_MSGWITHDRAWDELEGATORREWARD'].fields_by_name['delegator_address']._loaded_options = None - _globals['_MSGWITHDRAWDELEGATORREWARD'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGWITHDRAWDELEGATORREWARD'].fields_by_name['validator_address']._loaded_options = None - _globals['_MSGWITHDRAWDELEGATORREWARD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGWITHDRAWDELEGATORREWARD']._loaded_options = None - _globals['_MSGWITHDRAWDELEGATORREWARD']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*&cosmos-sdk/MsgWithdrawDelegationReward' - _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE'].fields_by_name['amount']._loaded_options = None - _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGWITHDRAWVALIDATORCOMMISSION'].fields_by_name['validator_address']._loaded_options = None - _globals['_MSGWITHDRAWVALIDATORCOMMISSION'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._loaded_options = None - _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*#cosmos-sdk/MsgWithdrawValCommission' - _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE'].fields_by_name['amount']._loaded_options = None - _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGFUNDCOMMUNITYPOOL'].fields_by_name['amount']._loaded_options = None - _globals['_MSGFUNDCOMMUNITYPOOL'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGFUNDCOMMUNITYPOOL'].fields_by_name['depositor']._loaded_options = None - _globals['_MSGFUNDCOMMUNITYPOOL'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGFUNDCOMMUNITYPOOL']._loaded_options = None - _globals['_MSGFUNDCOMMUNITYPOOL']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\tdepositor\212\347\260*\037cosmos-sdk/MsgFundCommunityPool' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\'cosmos-sdk/distribution/MsgUpdateParams' - _globals['_MSGCOMMUNITYPOOLSPEND'].fields_by_name['authority']._loaded_options = None - _globals['_MSGCOMMUNITYPOOLSPEND'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCOMMUNITYPOOLSPEND'].fields_by_name['amount']._loaded_options = None - _globals['_MSGCOMMUNITYPOOLSPEND'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGCOMMUNITYPOOLSPEND']._loaded_options = None - _globals['_MSGCOMMUNITYPOOLSPEND']._serialized_options = b'\202\347\260*\tauthority\212\347\260*&cosmos-sdk/distr/MsgCommunityPoolSpend' - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['depositor']._loaded_options = None - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['validator_address']._loaded_options = None - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['amount']._loaded_options = None - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL']._loaded_options = None - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\tdepositor\212\347\260*%cosmos-sdk/distr/MsgDepositValRewards' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGSETWITHDRAWADDRESS']._serialized_start=243 - _globals['_MSGSETWITHDRAWADDRESS']._serialized_end=478 - _globals['_MSGSETWITHDRAWADDRESSRESPONSE']._serialized_start=480 - _globals['_MSGSETWITHDRAWADDRESSRESPONSE']._serialized_end=511 - _globals['_MSGWITHDRAWDELEGATORREWARD']._serialized_start=514 - _globals['_MSGWITHDRAWDELEGATORREWARD']._serialized_end=768 - _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE']._serialized_start=771 - _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE']._serialized_end=930 - _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._serialized_start=933 - _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._serialized_end=1117 - _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE']._serialized_start=1120 - _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE']._serialized_end=1283 - _globals['_MSGFUNDCOMMUNITYPOOL']._serialized_start=1286 - _globals['_MSGFUNDCOMMUNITYPOOL']._serialized_end=1547 - _globals['_MSGFUNDCOMMUNITYPOOLRESPONSE']._serialized_start=1549 - _globals['_MSGFUNDCOMMUNITYPOOLRESPONSE']._serialized_end=1579 - _globals['_MSGUPDATEPARAMS']._serialized_start=1582 - _globals['_MSGUPDATEPARAMS']._serialized_end=1787 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1789 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1814 - _globals['_MSGCOMMUNITYPOOLSPEND']._serialized_start=1817 - _globals['_MSGCOMMUNITYPOOLSPEND']._serialized_end=2108 - _globals['_MSGCOMMUNITYPOOLSPENDRESPONSE']._serialized_start=2110 - _globals['_MSGCOMMUNITYPOOLSPENDRESPONSE']._serialized_end=2141 - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL']._serialized_start=2144 - _globals['_MSGDEPOSITVALIDATORREWARDSPOOL']._serialized_end=2501 - _globals['_MSGDEPOSITVALIDATORREWARDSPOOLRESPONSE']._serialized_start=2503 - _globals['_MSGDEPOSITVALIDATORREWARDSPOOLRESPONSE']._serialized_end=2543 - _globals['_MSG']._serialized_start=2546 - _globals['_MSG']._serialized_end=3550 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\037com.cosmos.distribution.v1beta1B\007TxProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001" + ) + _globals["_MSGSETWITHDRAWADDRESS"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_MSGSETWITHDRAWADDRESS"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSETWITHDRAWADDRESS"].fields_by_name["withdraw_address"]._loaded_options = None + _globals["_MSGSETWITHDRAWADDRESS"].fields_by_name[ + "withdraw_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSETWITHDRAWADDRESS"]._loaded_options = None + _globals["_MSGSETWITHDRAWADDRESS"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*#cosmos-sdk/MsgModifyWithdrawAddress" + ) + _globals["_MSGWITHDRAWDELEGATORREWARD"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_MSGWITHDRAWDELEGATORREWARD"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGWITHDRAWDELEGATORREWARD"].fields_by_name["validator_address"]._loaded_options = None + _globals["_MSGWITHDRAWDELEGATORREWARD"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_MSGWITHDRAWDELEGATORREWARD"]._loaded_options = None + _globals["_MSGWITHDRAWDELEGATORREWARD"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*&cosmos-sdk/MsgWithdrawDelegationReward" + ) + _globals["_MSGWITHDRAWDELEGATORREWARDRESPONSE"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGWITHDRAWDELEGATORREWARDRESPONSE"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_MSGWITHDRAWVALIDATORCOMMISSION"].fields_by_name["validator_address"]._loaded_options = None + _globals["_MSGWITHDRAWVALIDATORCOMMISSION"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_MSGWITHDRAWVALIDATORCOMMISSION"]._loaded_options = None + _globals["_MSGWITHDRAWVALIDATORCOMMISSION"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*#cosmos-sdk/MsgWithdrawValCommission" + ) + _globals["_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_MSGFUNDCOMMUNITYPOOL"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGFUNDCOMMUNITYPOOL"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_MSGFUNDCOMMUNITYPOOL"].fields_by_name["depositor"]._loaded_options = None + _globals["_MSGFUNDCOMMUNITYPOOL"].fields_by_name[ + "depositor" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGFUNDCOMMUNITYPOOL"]._loaded_options = None + _globals["_MSGFUNDCOMMUNITYPOOL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\tdepositor\212\347\260*\037cosmos-sdk/MsgFundCommunityPool" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*'cosmos-sdk/distribution/MsgUpdateParams" + ) + _globals["_MSGCOMMUNITYPOOLSPEND"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGCOMMUNITYPOOLSPEND"].fields_by_name[ + "authority" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGCOMMUNITYPOOLSPEND"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGCOMMUNITYPOOLSPEND"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_MSGCOMMUNITYPOOLSPEND"]._loaded_options = None + _globals["_MSGCOMMUNITYPOOLSPEND"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*&cosmos-sdk/distr/MsgCommunityPoolSpend" + ) + _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"].fields_by_name["depositor"]._loaded_options = None + _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"].fields_by_name[ + "depositor" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"].fields_by_name["validator_address"]._loaded_options = None + _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"]._loaded_options = None + _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\tdepositor\212\347\260*%cosmos-sdk/distr/MsgDepositValRewards" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGSETWITHDRAWADDRESS"]._serialized_start = 243 + _globals["_MSGSETWITHDRAWADDRESS"]._serialized_end = 478 + _globals["_MSGSETWITHDRAWADDRESSRESPONSE"]._serialized_start = 480 + _globals["_MSGSETWITHDRAWADDRESSRESPONSE"]._serialized_end = 511 + _globals["_MSGWITHDRAWDELEGATORREWARD"]._serialized_start = 514 + _globals["_MSGWITHDRAWDELEGATORREWARD"]._serialized_end = 768 + _globals["_MSGWITHDRAWDELEGATORREWARDRESPONSE"]._serialized_start = 771 + _globals["_MSGWITHDRAWDELEGATORREWARDRESPONSE"]._serialized_end = 930 + _globals["_MSGWITHDRAWVALIDATORCOMMISSION"]._serialized_start = 933 + _globals["_MSGWITHDRAWVALIDATORCOMMISSION"]._serialized_end = 1117 + _globals["_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE"]._serialized_start = 1120 + _globals["_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE"]._serialized_end = 1283 + _globals["_MSGFUNDCOMMUNITYPOOL"]._serialized_start = 1286 + _globals["_MSGFUNDCOMMUNITYPOOL"]._serialized_end = 1547 + _globals["_MSGFUNDCOMMUNITYPOOLRESPONSE"]._serialized_start = 1549 + _globals["_MSGFUNDCOMMUNITYPOOLRESPONSE"]._serialized_end = 1579 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 1582 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 1787 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1789 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1814 + _globals["_MSGCOMMUNITYPOOLSPEND"]._serialized_start = 1817 + _globals["_MSGCOMMUNITYPOOLSPEND"]._serialized_end = 2108 + _globals["_MSGCOMMUNITYPOOLSPENDRESPONSE"]._serialized_start = 2110 + _globals["_MSGCOMMUNITYPOOLSPENDRESPONSE"]._serialized_end = 2141 + _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"]._serialized_start = 2144 + _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"]._serialized_end = 2501 + _globals["_MSGDEPOSITVALIDATORREWARDSPOOLRESPONSE"]._serialized_start = 2503 + _globals["_MSGDEPOSITVALIDATORREWARDSPOOLRESPONSE"]._serialized_end = 2543 + _globals["_MSG"]._serialized_start = 2546 + _globals["_MSG"]._serialized_end = 3550 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2_grpc.py index 57ae313a..57fa99bb 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the distribution Msg service. - """ + """Msg defines the distribution Msg service.""" def __init__(self, channel): """Constructor. @@ -16,77 +15,83 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.SetWithdrawAddress = channel.unary_unary( - '/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddress.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddressResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddress.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddressResponse.FromString, + _registered_method=True, + ) self.WithdrawDelegatorReward = channel.unary_unary( - '/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorReward.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorRewardResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorReward.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorRewardResponse.FromString, + _registered_method=True, + ) self.WithdrawValidatorCommission = channel.unary_unary( - '/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommission.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommissionResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommission.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommissionResponse.FromString, + _registered_method=True, + ) self.FundCommunityPool = channel.unary_unary( - '/cosmos.distribution.v1beta1.Msg/FundCommunityPool', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPool.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPoolResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Msg/FundCommunityPool", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPool.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPoolResponse.FromString, + _registered_method=True, + ) self.UpdateParams = channel.unary_unary( - '/cosmos.distribution.v1beta1.Msg/UpdateParams', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Msg/UpdateParams", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) self.CommunityPoolSpend = channel.unary_unary( - '/cosmos.distribution.v1beta1.Msg/CommunityPoolSpend', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpend.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpendResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Msg/CommunityPoolSpend", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpend.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpendResponse.FromString, + _registered_method=True, + ) self.DepositValidatorRewardsPool = channel.unary_unary( - '/cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool', - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPool.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPoolResponse.FromString, - _registered_method=True) + "/cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool", + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPool.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPoolResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the distribution Msg service. - """ + """Msg defines the distribution Msg service.""" def SetWithdrawAddress(self, request, context): """SetWithdrawAddress defines a method to change the withdraw address for a delegator (or validator self-delegation). """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def WithdrawDelegatorReward(self, request, context): """WithdrawDelegatorReward defines a method to withdraw rewards of delegator from a single validator. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def WithdrawValidatorCommission(self, request, context): """WithdrawValidatorCommission defines a method to withdraw the full commission to the validator address. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def FundCommunityPool(self, request, context): """FundCommunityPool defines a method to allow an account to directly fund the community pool. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateParams(self, request, context): """UpdateParams defines a governance operation for updating the x/distribution @@ -95,8 +100,8 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CommunityPoolSpend(self, request, context): """CommunityPoolSpend defines a governance operation for sending tokens from @@ -107,8 +112,8 @@ def CommunityPoolSpend(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DepositValidatorRewardsPool(self, request, context): """DepositValidatorRewardsPool defines a method to provide additional rewards @@ -117,74 +122,74 @@ def DepositValidatorRewardsPool(self, request, context): Since: cosmos-sdk 0.50 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'SetWithdrawAddress': grpc.unary_unary_rpc_method_handler( - servicer.SetWithdrawAddress, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddress.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddressResponse.SerializeToString, - ), - 'WithdrawDelegatorReward': grpc.unary_unary_rpc_method_handler( - servicer.WithdrawDelegatorReward, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorReward.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorRewardResponse.SerializeToString, - ), - 'WithdrawValidatorCommission': grpc.unary_unary_rpc_method_handler( - servicer.WithdrawValidatorCommission, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommission.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommissionResponse.SerializeToString, - ), - 'FundCommunityPool': grpc.unary_unary_rpc_method_handler( - servicer.FundCommunityPool, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPool.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPoolResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'CommunityPoolSpend': grpc.unary_unary_rpc_method_handler( - servicer.CommunityPoolSpend, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpend.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpendResponse.SerializeToString, - ), - 'DepositValidatorRewardsPool': grpc.unary_unary_rpc_method_handler( - servicer.DepositValidatorRewardsPool, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPool.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPoolResponse.SerializeToString, - ), + "SetWithdrawAddress": grpc.unary_unary_rpc_method_handler( + servicer.SetWithdrawAddress, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddress.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddressResponse.SerializeToString, + ), + "WithdrawDelegatorReward": grpc.unary_unary_rpc_method_handler( + servicer.WithdrawDelegatorReward, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorReward.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorRewardResponse.SerializeToString, + ), + "WithdrawValidatorCommission": grpc.unary_unary_rpc_method_handler( + servicer.WithdrawValidatorCommission, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommission.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommissionResponse.SerializeToString, + ), + "FundCommunityPool": grpc.unary_unary_rpc_method_handler( + servicer.FundCommunityPool, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPool.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPoolResponse.SerializeToString, + ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + "CommunityPoolSpend": grpc.unary_unary_rpc_method_handler( + servicer.CommunityPoolSpend, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpend.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpendResponse.SerializeToString, + ), + "DepositValidatorRewardsPool": grpc.unary_unary_rpc_method_handler( + servicer.DepositValidatorRewardsPool, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPool.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPoolResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.distribution.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.distribution.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.distribution.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.distribution.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the distribution Msg service. - """ + """Msg defines the distribution Msg service.""" @staticmethod - def SetWithdrawAddress(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SetWithdrawAddress( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress', + "/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress", cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddress.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddressResponse.FromString, options, @@ -195,23 +200,26 @@ def SetWithdrawAddress(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def WithdrawDelegatorReward(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def WithdrawDelegatorReward( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward', + "/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward", cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorReward.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorRewardResponse.FromString, options, @@ -222,23 +230,26 @@ def WithdrawDelegatorReward(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def WithdrawValidatorCommission(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def WithdrawValidatorCommission( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission', + "/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission", cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommission.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommissionResponse.FromString, options, @@ -249,23 +260,26 @@ def WithdrawValidatorCommission(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def FundCommunityPool(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def FundCommunityPool( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Msg/FundCommunityPool', + "/cosmos.distribution.v1beta1.Msg/FundCommunityPool", cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPool.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPoolResponse.FromString, options, @@ -276,23 +290,26 @@ def FundCommunityPool(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Msg/UpdateParams', + "/cosmos.distribution.v1beta1.Msg/UpdateParams", cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -303,23 +320,26 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CommunityPoolSpend(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CommunityPoolSpend( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Msg/CommunityPoolSpend', + "/cosmos.distribution.v1beta1.Msg/CommunityPoolSpend", cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpend.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpendResponse.FromString, options, @@ -330,23 +350,26 @@ def CommunityPoolSpend(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DepositValidatorRewardsPool(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DepositValidatorRewardsPool( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool', + "/cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool", cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPool.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPoolResponse.FromString, options, @@ -357,4 +380,5 @@ def DepositValidatorRewardsPool(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py b/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py index 8cf95a40..1150908a 100644 --- a/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/evidence/module/v1/module.proto\x12\x19\x63osmos.evidence.module.v1\x1a cosmos/app/v1alpha1/module.proto\")\n\x06Module:\x1f\xba\xc0\x96\xda\x01\x19\n\x17\x63osmossdk.io/x/evidenceB\xb3\x01\n\x1d\x63om.cosmos.evidence.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x45M\xaa\x02\x19\x43osmos.Evidence.Module.V1\xca\x02\x19\x43osmos\\Evidence\\Module\\V1\xe2\x02%Cosmos\\Evidence\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Evidence::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&cosmos/evidence/module/v1/module.proto\x12\x19\x63osmos.evidence.module.v1\x1a cosmos/app/v1alpha1/module.proto")\n\x06Module:\x1f\xba\xc0\x96\xda\x01\x19\n\x17\x63osmossdk.io/x/evidenceB\xb3\x01\n\x1d\x63om.cosmos.evidence.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x45M\xaa\x02\x19\x43osmos.Evidence.Module.V1\xca\x02\x19\x43osmos\\Evidence\\Module\\V1\xe2\x02%Cosmos\\Evidence\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Evidence::Module::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.evidence.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.evidence.module.v1B\013ModuleProtoP\001\242\002\003CEM\252\002\031Cosmos.Evidence.Module.V1\312\002\031Cosmos\\Evidence\\Module\\V1\342\002%Cosmos\\Evidence\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Evidence::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\031\n\027cosmossdk.io/x/evidence' - _globals['_MODULE']._serialized_start=103 - _globals['_MODULE']._serialized_end=144 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\035com.cosmos.evidence.module.v1B\013ModuleProtoP\001\242\002\003CEM\252\002\031Cosmos.Evidence.Module.V1\312\002\031Cosmos\\Evidence\\Module\\V1\342\002%Cosmos\\Evidence\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Evidence::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001\031\n\027cosmossdk.io/x/evidence" + _globals["_MODULE"]._serialized_start = 103 + _globals["_MODULE"]._serialized_end = 144 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/evidence/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/evidence/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/evidence/v1beta1/evidence_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2.py index 69b76c34..6f9ac767 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,20 +19,30 @@ from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/evidence/v1beta1/evidence.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xe8\x01\n\x0c\x45quivocation\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12=\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12\x14\n\x05power\x18\x03 \x01(\x03R\x05power\x12\x45\n\x11\x63onsensus_address\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x63onsensusAddress:$\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x8a\xe7\xb0*\x17\x63osmos-sdk/EquivocationB\xcd\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\rEvidenceProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&cosmos/evidence/v1beta1/evidence.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto"\xe8\x01\n\x0c\x45quivocation\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12=\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12\x14\n\x05power\x18\x03 \x01(\x03R\x05power\x12\x45\n\x11\x63onsensus_address\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x63onsensusAddress:$\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x8a\xe7\xb0*\x17\x63osmos-sdk/EquivocationB\xcd\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\rEvidenceProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.evidence_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.evidence.v1beta1.evidence_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.evidence.v1beta1B\rEvidenceProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1\250\342\036\001' - _globals['_EQUIVOCATION'].fields_by_name['time']._loaded_options = None - _globals['_EQUIVOCATION'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_EQUIVOCATION'].fields_by_name['consensus_address']._loaded_options = None - _globals['_EQUIVOCATION'].fields_by_name['consensus_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EQUIVOCATION']._loaded_options = None - _globals['_EQUIVOCATION']._serialized_options = b'\210\240\037\000\350\240\037\000\212\347\260*\027cosmos-sdk/Equivocation' - _globals['_EQUIVOCATION']._serialized_start=169 - _globals['_EQUIVOCATION']._serialized_end=401 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.cosmos.evidence.v1beta1B\rEvidenceProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1\250\342\036\001" + ) + _globals["_EQUIVOCATION"].fields_by_name["time"]._loaded_options = None + _globals["_EQUIVOCATION"].fields_by_name[ + "time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_EQUIVOCATION"].fields_by_name["consensus_address"]._loaded_options = None + _globals["_EQUIVOCATION"].fields_by_name[ + "consensus_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_EQUIVOCATION"]._loaded_options = None + _globals["_EQUIVOCATION"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\212\347\260*\027cosmos-sdk/Equivocation" + ) + _globals["_EQUIVOCATION"]._serialized_start = 169 + _globals["_EQUIVOCATION"]._serialized_end = 401 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2_grpc.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/evidence/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2.py index 8e90b025..92c5c30b 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,14 +16,18 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/evidence/v1beta1/genesis.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x19google/protobuf/any.proto\"@\n\x0cGenesisState\x12\x30\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x65videnceB\xc8\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\x0cGenesisProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%cosmos/evidence/v1beta1/genesis.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x19google/protobuf/any.proto"@\n\x0cGenesisState\x12\x30\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x65videnceB\xc8\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\x0cGenesisProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.evidence.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.evidence.v1beta1B\014GenesisProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1' - _globals['_GENESISSTATE']._serialized_start=93 - _globals['_GENESISSTATE']._serialized_end=157 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.cosmos.evidence.v1beta1B\014GenesisProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1" + ) + _globals["_GENESISSTATE"]._serialized_start = 93 + _globals["_GENESISSTATE"]._serialized_end = 157 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/evidence/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2.py index 1879ef40..1378fd9e 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2.py @@ -7,38 +7,49 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/evidence/v1beta1/query.proto\x12\x17\x63osmos.evidence.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\"S\n\x14QueryEvidenceRequest\x12\'\n\revidence_hash\x18\x01 \x01(\x0c\x42\x02\x18\x01R\x0c\x65videnceHash\x12\x12\n\x04hash\x18\x02 \x01(\tR\x04hash\"I\n\x15QueryEvidenceResponse\x12\x30\n\x08\x65vidence\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x08\x65vidence\"a\n\x17QueryAllEvidenceRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x95\x01\n\x18QueryAllEvidenceResponse\x12\x30\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x65vidence\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xc5\x02\n\x05Query\x12\x9b\x01\n\x08\x45vidence\x12-.cosmos.evidence.v1beta1.QueryEvidenceRequest\x1a..cosmos.evidence.v1beta1.QueryEvidenceResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/evidence/v1beta1/evidence/{hash}\x12\x9d\x01\n\x0b\x41llEvidence\x12\x30.cosmos.evidence.v1beta1.QueryAllEvidenceRequest\x1a\x31.cosmos.evidence.v1beta1.QueryAllEvidenceResponse\")\x82\xd3\xe4\x93\x02#\x12!/cosmos/evidence/v1beta1/evidenceB\xc6\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\nQueryProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n#cosmos/evidence/v1beta1/query.proto\x12\x17\x63osmos.evidence.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto"S\n\x14QueryEvidenceRequest\x12\'\n\revidence_hash\x18\x01 \x01(\x0c\x42\x02\x18\x01R\x0c\x65videnceHash\x12\x12\n\x04hash\x18\x02 \x01(\tR\x04hash"I\n\x15QueryEvidenceResponse\x12\x30\n\x08\x65vidence\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x08\x65vidence"a\n\x17QueryAllEvidenceRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x95\x01\n\x18QueryAllEvidenceResponse\x12\x30\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x65vidence\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xc5\x02\n\x05Query\x12\x9b\x01\n\x08\x45vidence\x12-.cosmos.evidence.v1beta1.QueryEvidenceRequest\x1a..cosmos.evidence.v1beta1.QueryEvidenceResponse"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/evidence/v1beta1/evidence/{hash}\x12\x9d\x01\n\x0b\x41llEvidence\x12\x30.cosmos.evidence.v1beta1.QueryAllEvidenceRequest\x1a\x31.cosmos.evidence.v1beta1.QueryAllEvidenceResponse")\x82\xd3\xe4\x93\x02#\x12!/cosmos/evidence/v1beta1/evidenceB\xc6\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\nQueryProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.evidence.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.evidence.v1beta1B\nQueryProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1' - _globals['_QUERYEVIDENCEREQUEST'].fields_by_name['evidence_hash']._loaded_options = None - _globals['_QUERYEVIDENCEREQUEST'].fields_by_name['evidence_hash']._serialized_options = b'\030\001' - _globals['_QUERY'].methods_by_name['Evidence']._loaded_options = None - _globals['_QUERY'].methods_by_name['Evidence']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/evidence/v1beta1/evidence/{hash}' - _globals['_QUERY'].methods_by_name['AllEvidence']._loaded_options = None - _globals['_QUERY'].methods_by_name['AllEvidence']._serialized_options = b'\202\323\344\223\002#\022!/cosmos/evidence/v1beta1/evidence' - _globals['_QUERYEVIDENCEREQUEST']._serialized_start=165 - _globals['_QUERYEVIDENCEREQUEST']._serialized_end=248 - _globals['_QUERYEVIDENCERESPONSE']._serialized_start=250 - _globals['_QUERYEVIDENCERESPONSE']._serialized_end=323 - _globals['_QUERYALLEVIDENCEREQUEST']._serialized_start=325 - _globals['_QUERYALLEVIDENCEREQUEST']._serialized_end=422 - _globals['_QUERYALLEVIDENCERESPONSE']._serialized_start=425 - _globals['_QUERYALLEVIDENCERESPONSE']._serialized_end=574 - _globals['_QUERY']._serialized_start=577 - _globals['_QUERY']._serialized_end=902 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.cosmos.evidence.v1beta1B\nQueryProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1" + ) + _globals["_QUERYEVIDENCEREQUEST"].fields_by_name["evidence_hash"]._loaded_options = None + _globals["_QUERYEVIDENCEREQUEST"].fields_by_name["evidence_hash"]._serialized_options = b"\030\001" + _globals["_QUERY"].methods_by_name["Evidence"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Evidence" + ]._serialized_options = b"\202\323\344\223\002*\022(/cosmos/evidence/v1beta1/evidence/{hash}" + _globals["_QUERY"].methods_by_name["AllEvidence"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AllEvidence" + ]._serialized_options = b"\202\323\344\223\002#\022!/cosmos/evidence/v1beta1/evidence" + _globals["_QUERYEVIDENCEREQUEST"]._serialized_start = 165 + _globals["_QUERYEVIDENCEREQUEST"]._serialized_end = 248 + _globals["_QUERYEVIDENCERESPONSE"]._serialized_start = 250 + _globals["_QUERYEVIDENCERESPONSE"]._serialized_end = 323 + _globals["_QUERYALLEVIDENCEREQUEST"]._serialized_start = 325 + _globals["_QUERYALLEVIDENCEREQUEST"]._serialized_end = 422 + _globals["_QUERYALLEVIDENCERESPONSE"]._serialized_start = 425 + _globals["_QUERYALLEVIDENCERESPONSE"]._serialized_end = 574 + _globals["_QUERY"]._serialized_start = 577 + _globals["_QUERY"]._serialized_end = 902 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2_grpc.py index 879e2663..b77805fc 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,75 +15,74 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Evidence = channel.unary_unary( - '/cosmos.evidence.v1beta1.Query/Evidence', - request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceRequest.SerializeToString, - response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceResponse.FromString, - _registered_method=True) + "/cosmos.evidence.v1beta1.Query/Evidence", + request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceRequest.SerializeToString, + response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceResponse.FromString, + _registered_method=True, + ) self.AllEvidence = channel.unary_unary( - '/cosmos.evidence.v1beta1.Query/AllEvidence', - request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceRequest.SerializeToString, - response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceResponse.FromString, - _registered_method=True) + "/cosmos.evidence.v1beta1.Query/AllEvidence", + request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceRequest.SerializeToString, + response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def Evidence(self, request, context): - """Evidence queries evidence based on evidence hash. - """ + """Evidence queries evidence based on evidence hash.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AllEvidence(self, request, context): - """AllEvidence queries all evidence. - """ + """AllEvidence queries all evidence.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Evidence': grpc.unary_unary_rpc_method_handler( - servicer.Evidence, - request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceRequest.FromString, - response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceResponse.SerializeToString, - ), - 'AllEvidence': grpc.unary_unary_rpc_method_handler( - servicer.AllEvidence, - request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceRequest.FromString, - response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceResponse.SerializeToString, - ), + "Evidence": grpc.unary_unary_rpc_method_handler( + servicer.Evidence, + request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceRequest.FromString, + response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceResponse.SerializeToString, + ), + "AllEvidence": grpc.unary_unary_rpc_method_handler( + servicer.AllEvidence, + request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceRequest.FromString, + response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.evidence.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.evidence.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.evidence.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.evidence.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" @staticmethod - def Evidence(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Evidence( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.evidence.v1beta1.Query/Evidence', + "/cosmos.evidence.v1beta1.Query/Evidence", cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceRequest.SerializeToString, cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceResponse.FromString, options, @@ -95,23 +93,26 @@ def Evidence(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def AllEvidence(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AllEvidence( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.evidence.v1beta1.Query/AllEvidence', + "/cosmos.evidence.v1beta1.Query/AllEvidence", cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceRequest.SerializeToString, cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceResponse.FromString, options, @@ -122,4 +123,5 @@ def AllEvidence(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py index 41809b0f..eae91b6a 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,26 +20,36 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/evidence/v1beta1/tx.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xdc\x01\n\x11MsgSubmitEvidence\x12\x36\n\tsubmitter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tsubmitter\x12V\n\x08\x65vidence\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB$\xca\xb4- cosmos.evidence.v1beta1.EvidenceR\x08\x65vidence:7\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tsubmitter\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSubmitEvidence\"/\n\x19MsgSubmitEvidenceResponse\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash2~\n\x03Msg\x12p\n\x0eSubmitEvidence\x12*.cosmos.evidence.v1beta1.MsgSubmitEvidence\x1a\x32.cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc7\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\x07TxProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n cosmos/evidence/v1beta1/tx.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xdc\x01\n\x11MsgSubmitEvidence\x12\x36\n\tsubmitter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tsubmitter\x12V\n\x08\x65vidence\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB$\xca\xb4- cosmos.evidence.v1beta1.EvidenceR\x08\x65vidence:7\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tsubmitter\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSubmitEvidence"/\n\x19MsgSubmitEvidenceResponse\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash2~\n\x03Msg\x12p\n\x0eSubmitEvidence\x12*.cosmos.evidence.v1beta1.MsgSubmitEvidence\x1a\x32.cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc7\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\x07TxProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.evidence.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.evidence.v1beta1B\007TxProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1\250\342\036\001' - _globals['_MSGSUBMITEVIDENCE'].fields_by_name['submitter']._loaded_options = None - _globals['_MSGSUBMITEVIDENCE'].fields_by_name['submitter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSUBMITEVIDENCE'].fields_by_name['evidence']._loaded_options = None - _globals['_MSGSUBMITEVIDENCE'].fields_by_name['evidence']._serialized_options = b'\312\264- cosmos.evidence.v1beta1.Evidence' - _globals['_MSGSUBMITEVIDENCE']._loaded_options = None - _globals['_MSGSUBMITEVIDENCE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\tsubmitter\212\347\260*\034cosmos-sdk/MsgSubmitEvidence' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGSUBMITEVIDENCE']._serialized_start=182 - _globals['_MSGSUBMITEVIDENCE']._serialized_end=402 - _globals['_MSGSUBMITEVIDENCERESPONSE']._serialized_start=404 - _globals['_MSGSUBMITEVIDENCERESPONSE']._serialized_end=451 - _globals['_MSG']._serialized_start=453 - _globals['_MSG']._serialized_end=579 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.cosmos.evidence.v1beta1B\007TxProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1\250\342\036\001" + ) + _globals["_MSGSUBMITEVIDENCE"].fields_by_name["submitter"]._loaded_options = None + _globals["_MSGSUBMITEVIDENCE"].fields_by_name[ + "submitter" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSUBMITEVIDENCE"].fields_by_name["evidence"]._loaded_options = None + _globals["_MSGSUBMITEVIDENCE"].fields_by_name[ + "evidence" + ]._serialized_options = b"\312\264- cosmos.evidence.v1beta1.Evidence" + _globals["_MSGSUBMITEVIDENCE"]._loaded_options = None + _globals["_MSGSUBMITEVIDENCE"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\tsubmitter\212\347\260*\034cosmos-sdk/MsgSubmitEvidence" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGSUBMITEVIDENCE"]._serialized_start = 182 + _globals["_MSGSUBMITEVIDENCE"]._serialized_end = 402 + _globals["_MSGSUBMITEVIDENCERESPONSE"]._serialized_start = 404 + _globals["_MSGSUBMITEVIDENCERESPONSE"]._serialized_end = 451 + _globals["_MSG"]._serialized_start = 453 + _globals["_MSG"]._serialized_end = 579 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2_grpc.py index 404c0f89..ab4cc46f 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the evidence Msg service. - """ + """Msg defines the evidence Msg service.""" def __init__(self, channel): """Constructor. @@ -16,59 +15,59 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.SubmitEvidence = channel.unary_unary( - '/cosmos.evidence.v1beta1.Msg/SubmitEvidence', - request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidence.SerializeToString, - response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidenceResponse.FromString, - _registered_method=True) + "/cosmos.evidence.v1beta1.Msg/SubmitEvidence", + request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidence.SerializeToString, + response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidenceResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the evidence Msg service. - """ + """Msg defines the evidence Msg service.""" def SubmitEvidence(self, request, context): """SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or counterfactual signing. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'SubmitEvidence': grpc.unary_unary_rpc_method_handler( - servicer.SubmitEvidence, - request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidence.FromString, - response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidenceResponse.SerializeToString, - ), + "SubmitEvidence": grpc.unary_unary_rpc_method_handler( + servicer.SubmitEvidence, + request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidence.FromString, + response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidenceResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.evidence.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.evidence.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.evidence.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.evidence.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the evidence Msg service. - """ + """Msg defines the evidence Msg service.""" @staticmethod - def SubmitEvidence(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SubmitEvidence( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.evidence.v1beta1.Msg/SubmitEvidence', + "/cosmos.evidence.v1beta1.Msg/SubmitEvidence", cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidence.SerializeToString, cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidenceResponse.FromString, options, @@ -79,4 +78,5 @@ def SubmitEvidence(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py b/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py index ea894938..5e36025b 100644 --- a/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/feegrant/module/v1/module.proto\x12\x19\x63osmos.feegrant.module.v1\x1a cosmos/app/v1alpha1/module.proto\")\n\x06Module:\x1f\xba\xc0\x96\xda\x01\x19\n\x17\x63osmossdk.io/x/feegrantB\xb3\x01\n\x1d\x63om.cosmos.feegrant.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x46M\xaa\x02\x19\x43osmos.Feegrant.Module.V1\xca\x02\x19\x43osmos\\Feegrant\\Module\\V1\xe2\x02%Cosmos\\Feegrant\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Feegrant::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&cosmos/feegrant/module/v1/module.proto\x12\x19\x63osmos.feegrant.module.v1\x1a cosmos/app/v1alpha1/module.proto")\n\x06Module:\x1f\xba\xc0\x96\xda\x01\x19\n\x17\x63osmossdk.io/x/feegrantB\xb3\x01\n\x1d\x63om.cosmos.feegrant.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x46M\xaa\x02\x19\x43osmos.Feegrant.Module.V1\xca\x02\x19\x43osmos\\Feegrant\\Module\\V1\xe2\x02%Cosmos\\Feegrant\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Feegrant::Module::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.feegrant.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.feegrant.module.v1B\013ModuleProtoP\001\242\002\003CFM\252\002\031Cosmos.Feegrant.Module.V1\312\002\031Cosmos\\Feegrant\\Module\\V1\342\002%Cosmos\\Feegrant\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Feegrant::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\031\n\027cosmossdk.io/x/feegrant' - _globals['_MODULE']._serialized_start=103 - _globals['_MODULE']._serialized_end=144 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\035com.cosmos.feegrant.module.v1B\013ModuleProtoP\001\242\002\003CFM\252\002\031Cosmos.Feegrant.Module.V1\312\002\031Cosmos\\Feegrant\\Module\\V1\342\002%Cosmos\\Feegrant\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Feegrant::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001\031\n\027cosmossdk.io/x/feegrant" + _globals["_MODULE"]._serialized_start = 103 + _globals["_MODULE"]._serialized_end = 144 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/feegrant/v1beta1/feegrant_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2.py index 66be48b5..2e401b7d 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2.py @@ -7,6 +7,7 @@ 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() @@ -21,48 +22,72 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/feegrant/v1beta1/feegrant.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\"\xa0\x02\n\x0e\x42\x61sicAllowance\x12\x82\x01\n\x0bspend_limit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\nspendLimit\x12@\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nexpiration:G\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x19\x63osmos-sdk/BasicAllowance\"\xd9\x04\n\x11PeriodicAllowance\x12H\n\x05\x62\x61sic\x18\x01 \x01(\x0b\x32\'.cosmos.feegrant.v1beta1.BasicAllowanceB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05\x62\x61sic\x12@\n\x06period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x06period\x12\x8f\x01\n\x12period_spend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x10periodSpendLimit\x12\x8b\x01\n\x10period_can_spend\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0eperiodCanSpend\x12L\n\x0cperiod_reset\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0bperiodReset:J\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x1c\x63osmos-sdk/PeriodicAllowance\"\xf1\x01\n\x13\x41llowedMsgAllowance\x12]\n\tallowance\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowance\x12)\n\x10\x61llowed_messages\x18\x02 \x03(\tR\x0f\x61llowedMessages:P\x88\xa0\x1f\x00\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x1e\x63osmos-sdk/AllowedMsgAllowance\"\xce\x01\n\x05Grant\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12]\n\tallowance\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowanceB\xc3\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\rFeegrantProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&cosmos/feegrant/v1beta1/feegrant.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto"\xa0\x02\n\x0e\x42\x61sicAllowance\x12\x82\x01\n\x0bspend_limit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\nspendLimit\x12@\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nexpiration:G\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x19\x63osmos-sdk/BasicAllowance"\xd9\x04\n\x11PeriodicAllowance\x12H\n\x05\x62\x61sic\x18\x01 \x01(\x0b\x32\'.cosmos.feegrant.v1beta1.BasicAllowanceB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05\x62\x61sic\x12@\n\x06period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x06period\x12\x8f\x01\n\x12period_spend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x10periodSpendLimit\x12\x8b\x01\n\x10period_can_spend\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0eperiodCanSpend\x12L\n\x0cperiod_reset\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0bperiodReset:J\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x1c\x63osmos-sdk/PeriodicAllowance"\xf1\x01\n\x13\x41llowedMsgAllowance\x12]\n\tallowance\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowance\x12)\n\x10\x61llowed_messages\x18\x02 \x03(\tR\x0f\x61llowedMessages:P\x88\xa0\x1f\x00\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x1e\x63osmos-sdk/AllowedMsgAllowance"\xce\x01\n\x05Grant\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12]\n\tallowance\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowanceB\xc3\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\rFeegrantProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.feegrant_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.feegrant.v1beta1.feegrant_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.feegrant.v1beta1B\rFeegrantProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1' - _globals['_BASICALLOWANCE'].fields_by_name['spend_limit']._loaded_options = None - _globals['_BASICALLOWANCE'].fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_BASICALLOWANCE'].fields_by_name['expiration']._loaded_options = None - _globals['_BASICALLOWANCE'].fields_by_name['expiration']._serialized_options = b'\220\337\037\001' - _globals['_BASICALLOWANCE']._loaded_options = None - _globals['_BASICALLOWANCE']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\031cosmos-sdk/BasicAllowance' - _globals['_PERIODICALLOWANCE'].fields_by_name['basic']._loaded_options = None - _globals['_PERIODICALLOWANCE'].fields_by_name['basic']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PERIODICALLOWANCE'].fields_by_name['period']._loaded_options = None - _globals['_PERIODICALLOWANCE'].fields_by_name['period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' - _globals['_PERIODICALLOWANCE'].fields_by_name['period_spend_limit']._loaded_options = None - _globals['_PERIODICALLOWANCE'].fields_by_name['period_spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_PERIODICALLOWANCE'].fields_by_name['period_can_spend']._loaded_options = None - _globals['_PERIODICALLOWANCE'].fields_by_name['period_can_spend']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_PERIODICALLOWANCE'].fields_by_name['period_reset']._loaded_options = None - _globals['_PERIODICALLOWANCE'].fields_by_name['period_reset']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_PERIODICALLOWANCE']._loaded_options = None - _globals['_PERIODICALLOWANCE']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\034cosmos-sdk/PeriodicAllowance' - _globals['_ALLOWEDMSGALLOWANCE'].fields_by_name['allowance']._loaded_options = None - _globals['_ALLOWEDMSGALLOWANCE'].fields_by_name['allowance']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI' - _globals['_ALLOWEDMSGALLOWANCE']._loaded_options = None - _globals['_ALLOWEDMSGALLOWANCE']._serialized_options = b'\210\240\037\000\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\036cosmos-sdk/AllowedMsgAllowance' - _globals['_GRANT'].fields_by_name['granter']._loaded_options = None - _globals['_GRANT'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_GRANT'].fields_by_name['grantee']._loaded_options = None - _globals['_GRANT'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_GRANT'].fields_by_name['allowance']._loaded_options = None - _globals['_GRANT'].fields_by_name['allowance']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI' - _globals['_BASICALLOWANCE']._serialized_start=260 - _globals['_BASICALLOWANCE']._serialized_end=548 - _globals['_PERIODICALLOWANCE']._serialized_start=551 - _globals['_PERIODICALLOWANCE']._serialized_end=1152 - _globals['_ALLOWEDMSGALLOWANCE']._serialized_start=1155 - _globals['_ALLOWEDMSGALLOWANCE']._serialized_end=1396 - _globals['_GRANT']._serialized_start=1399 - _globals['_GRANT']._serialized_end=1605 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.cosmos.feegrant.v1beta1B\rFeegrantProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1" + ) + _globals["_BASICALLOWANCE"].fields_by_name["spend_limit"]._loaded_options = None + _globals["_BASICALLOWANCE"].fields_by_name[ + "spend_limit" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_BASICALLOWANCE"].fields_by_name["expiration"]._loaded_options = None + _globals["_BASICALLOWANCE"].fields_by_name["expiration"]._serialized_options = b"\220\337\037\001" + _globals["_BASICALLOWANCE"]._loaded_options = None + _globals["_BASICALLOWANCE"]._serialized_options = ( + b"\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\031cosmos-sdk/BasicAllowance" + ) + _globals["_PERIODICALLOWANCE"].fields_by_name["basic"]._loaded_options = None + _globals["_PERIODICALLOWANCE"].fields_by_name["basic"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_PERIODICALLOWANCE"].fields_by_name["period"]._loaded_options = None + _globals["_PERIODICALLOWANCE"].fields_by_name[ + "period" + ]._serialized_options = b"\310\336\037\000\230\337\037\001\250\347\260*\001" + _globals["_PERIODICALLOWANCE"].fields_by_name["period_spend_limit"]._loaded_options = None + _globals["_PERIODICALLOWANCE"].fields_by_name[ + "period_spend_limit" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_PERIODICALLOWANCE"].fields_by_name["period_can_spend"]._loaded_options = None + _globals["_PERIODICALLOWANCE"].fields_by_name[ + "period_can_spend" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_PERIODICALLOWANCE"].fields_by_name["period_reset"]._loaded_options = None + _globals["_PERIODICALLOWANCE"].fields_by_name[ + "period_reset" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_PERIODICALLOWANCE"]._loaded_options = None + _globals["_PERIODICALLOWANCE"]._serialized_options = ( + b"\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\034cosmos-sdk/PeriodicAllowance" + ) + _globals["_ALLOWEDMSGALLOWANCE"].fields_by_name["allowance"]._loaded_options = None + _globals["_ALLOWEDMSGALLOWANCE"].fields_by_name[ + "allowance" + ]._serialized_options = b"\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI" + _globals["_ALLOWEDMSGALLOWANCE"]._loaded_options = None + _globals["_ALLOWEDMSGALLOWANCE"]._serialized_options = ( + b"\210\240\037\000\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\036cosmos-sdk/AllowedMsgAllowance" + ) + _globals["_GRANT"].fields_by_name["granter"]._loaded_options = None + _globals["_GRANT"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_GRANT"].fields_by_name["grantee"]._loaded_options = None + _globals["_GRANT"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_GRANT"].fields_by_name["allowance"]._loaded_options = None + _globals["_GRANT"].fields_by_name[ + "allowance" + ]._serialized_options = b"\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI" + _globals["_BASICALLOWANCE"]._serialized_start = 260 + _globals["_BASICALLOWANCE"]._serialized_end = 548 + _globals["_PERIODICALLOWANCE"]._serialized_start = 551 + _globals["_PERIODICALLOWANCE"]._serialized_end = 1152 + _globals["_ALLOWEDMSGALLOWANCE"]._serialized_start = 1155 + _globals["_ALLOWEDMSGALLOWANCE"]._serialized_end = 1396 + _globals["_GRANT"]._serialized_start = 1399 + _globals["_GRANT"]._serialized_end = 1605 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2_grpc.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/feegrant/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2.py index 29d7e2ff..6319f1ea 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,16 +18,20 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/feegrant/v1beta1/genesis.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/feegrant/v1beta1/feegrant.proto\x1a\x11\x61mino/amino.proto\"Y\n\x0cGenesisState\x12I\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nallowancesB\xc2\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\x0cGenesisProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%cosmos/feegrant/v1beta1/genesis.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/feegrant/v1beta1/feegrant.proto\x1a\x11\x61mino/amino.proto"Y\n\x0cGenesisState\x12I\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nallowancesB\xc2\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\x0cGenesisProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.feegrant.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.feegrant.v1beta1B\014GenesisProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['allowances']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['allowances']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE']._serialized_start=147 - _globals['_GENESISSTATE']._serialized_end=236 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.cosmos.feegrant.v1beta1B\014GenesisProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1" + ) + _globals["_GENESISSTATE"].fields_by_name["allowances"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["allowances"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"]._serialized_start = 147 + _globals["_GENESISSTATE"]._serialized_end = 236 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/feegrant/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2.py index c81182e8..f06a013d 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2.py @@ -7,51 +7,72 @@ 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 pyinjective.proto.cosmos.feegrant.v1beta1 import feegrant_pb2 as cosmos_dot_feegrant_dot_v1beta1_dot_feegrant__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/feegrant/v1beta1/query.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a&cosmos/feegrant/v1beta1/feegrant.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x7f\n\x15QueryAllowanceRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\"V\n\x16QueryAllowanceResponse\x12<\n\tallowance\x18\x01 \x01(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\tallowance\"\x94\x01\n\x16QueryAllowancesRequest\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa2\x01\n\x17QueryAllowancesResponse\x12>\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\nallowances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x9d\x01\n\x1fQueryAllowancesByGranterRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xab\x01\n QueryAllowancesByGranterResponse\x12>\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\nallowances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\x9f\x04\n\x05Query\x12\xac\x01\n\tAllowance\x12..cosmos.feegrant.v1beta1.QueryAllowanceRequest\x1a/.cosmos.feegrant.v1beta1.QueryAllowanceResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}\x12\xa6\x01\n\nAllowances\x12/.cosmos.feegrant.v1beta1.QueryAllowancesRequest\x1a\x30.cosmos.feegrant.v1beta1.QueryAllowancesResponse\"5\x82\xd3\xe4\x93\x02/\x12-/cosmos/feegrant/v1beta1/allowances/{grantee}\x12\xbd\x01\n\x13\x41llowancesByGranter\x12\x38.cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest\x1a\x39.cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/feegrant/v1beta1/issued/{granter}B\xc0\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\nQueryProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n#cosmos/feegrant/v1beta1/query.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a&cosmos/feegrant/v1beta1/feegrant.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19\x63osmos_proto/cosmos.proto"\x7f\n\x15QueryAllowanceRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee"V\n\x16QueryAllowanceResponse\x12<\n\tallowance\x18\x01 \x01(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\tallowance"\x94\x01\n\x16QueryAllowancesRequest\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xa2\x01\n\x17QueryAllowancesResponse\x12>\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\nallowances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x9d\x01\n\x1fQueryAllowancesByGranterRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xab\x01\n QueryAllowancesByGranterResponse\x12>\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\nallowances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\x9f\x04\n\x05Query\x12\xac\x01\n\tAllowance\x12..cosmos.feegrant.v1beta1.QueryAllowanceRequest\x1a/.cosmos.feegrant.v1beta1.QueryAllowanceResponse">\x82\xd3\xe4\x93\x02\x38\x12\x36/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}\x12\xa6\x01\n\nAllowances\x12/.cosmos.feegrant.v1beta1.QueryAllowancesRequest\x1a\x30.cosmos.feegrant.v1beta1.QueryAllowancesResponse"5\x82\xd3\xe4\x93\x02/\x12-/cosmos/feegrant/v1beta1/allowances/{grantee}\x12\xbd\x01\n\x13\x41llowancesByGranter\x12\x38.cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest\x1a\x39.cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/feegrant/v1beta1/issued/{granter}B\xc0\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\nQueryProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.feegrant.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.feegrant.v1beta1B\nQueryProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1' - _globals['_QUERYALLOWANCEREQUEST'].fields_by_name['granter']._loaded_options = None - _globals['_QUERYALLOWANCEREQUEST'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYALLOWANCEREQUEST'].fields_by_name['grantee']._loaded_options = None - _globals['_QUERYALLOWANCEREQUEST'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYALLOWANCESREQUEST'].fields_by_name['grantee']._loaded_options = None - _globals['_QUERYALLOWANCESREQUEST'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYALLOWANCESBYGRANTERREQUEST'].fields_by_name['granter']._loaded_options = None - _globals['_QUERYALLOWANCESBYGRANTERREQUEST'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERY'].methods_by_name['Allowance']._loaded_options = None - _globals['_QUERY'].methods_by_name['Allowance']._serialized_options = b'\202\323\344\223\0028\0226/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}' - _globals['_QUERY'].methods_by_name['Allowances']._loaded_options = None - _globals['_QUERY'].methods_by_name['Allowances']._serialized_options = b'\202\323\344\223\002/\022-/cosmos/feegrant/v1beta1/allowances/{grantee}' - _globals['_QUERY'].methods_by_name['AllowancesByGranter']._loaded_options = None - _globals['_QUERY'].methods_by_name['AllowancesByGranter']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/feegrant/v1beta1/issued/{granter}' - _globals['_QUERYALLOWANCEREQUEST']._serialized_start=205 - _globals['_QUERYALLOWANCEREQUEST']._serialized_end=332 - _globals['_QUERYALLOWANCERESPONSE']._serialized_start=334 - _globals['_QUERYALLOWANCERESPONSE']._serialized_end=420 - _globals['_QUERYALLOWANCESREQUEST']._serialized_start=423 - _globals['_QUERYALLOWANCESREQUEST']._serialized_end=571 - _globals['_QUERYALLOWANCESRESPONSE']._serialized_start=574 - _globals['_QUERYALLOWANCESRESPONSE']._serialized_end=736 - _globals['_QUERYALLOWANCESBYGRANTERREQUEST']._serialized_start=739 - _globals['_QUERYALLOWANCESBYGRANTERREQUEST']._serialized_end=896 - _globals['_QUERYALLOWANCESBYGRANTERRESPONSE']._serialized_start=899 - _globals['_QUERYALLOWANCESBYGRANTERRESPONSE']._serialized_end=1070 - _globals['_QUERY']._serialized_start=1073 - _globals['_QUERY']._serialized_end=1616 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.cosmos.feegrant.v1beta1B\nQueryProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1" + ) + _globals["_QUERYALLOWANCEREQUEST"].fields_by_name["granter"]._loaded_options = None + _globals["_QUERYALLOWANCEREQUEST"].fields_by_name[ + "granter" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYALLOWANCEREQUEST"].fields_by_name["grantee"]._loaded_options = None + _globals["_QUERYALLOWANCEREQUEST"].fields_by_name[ + "grantee" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYALLOWANCESREQUEST"].fields_by_name["grantee"]._loaded_options = None + _globals["_QUERYALLOWANCESREQUEST"].fields_by_name[ + "grantee" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYALLOWANCESBYGRANTERREQUEST"].fields_by_name["granter"]._loaded_options = None + _globals["_QUERYALLOWANCESBYGRANTERREQUEST"].fields_by_name[ + "granter" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERY"].methods_by_name["Allowance"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Allowance" + ]._serialized_options = b"\202\323\344\223\0028\0226/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}" + _globals["_QUERY"].methods_by_name["Allowances"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Allowances" + ]._serialized_options = b"\202\323\344\223\002/\022-/cosmos/feegrant/v1beta1/allowances/{grantee}" + _globals["_QUERY"].methods_by_name["AllowancesByGranter"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AllowancesByGranter" + ]._serialized_options = b"\202\323\344\223\002+\022)/cosmos/feegrant/v1beta1/issued/{granter}" + _globals["_QUERYALLOWANCEREQUEST"]._serialized_start = 205 + _globals["_QUERYALLOWANCEREQUEST"]._serialized_end = 332 + _globals["_QUERYALLOWANCERESPONSE"]._serialized_start = 334 + _globals["_QUERYALLOWANCERESPONSE"]._serialized_end = 420 + _globals["_QUERYALLOWANCESREQUEST"]._serialized_start = 423 + _globals["_QUERYALLOWANCESREQUEST"]._serialized_end = 571 + _globals["_QUERYALLOWANCESRESPONSE"]._serialized_start = 574 + _globals["_QUERYALLOWANCESRESPONSE"]._serialized_end = 736 + _globals["_QUERYALLOWANCESBYGRANTERREQUEST"]._serialized_start = 739 + _globals["_QUERYALLOWANCESBYGRANTERREQUEST"]._serialized_end = 896 + _globals["_QUERYALLOWANCESBYGRANTERRESPONSE"]._serialized_start = 899 + _globals["_QUERYALLOWANCESBYGRANTERRESPONSE"]._serialized_end = 1070 + _globals["_QUERY"]._serialized_start = 1073 + _globals["_QUERY"]._serialized_end = 1616 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2_grpc.py index e5f502ad..7f3305f4 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,39 +15,39 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Allowance = channel.unary_unary( - '/cosmos.feegrant.v1beta1.Query/Allowance', - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceRequest.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceResponse.FromString, - _registered_method=True) + "/cosmos.feegrant.v1beta1.Query/Allowance", + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceRequest.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceResponse.FromString, + _registered_method=True, + ) self.Allowances = channel.unary_unary( - '/cosmos.feegrant.v1beta1.Query/Allowances', - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesRequest.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesResponse.FromString, - _registered_method=True) + "/cosmos.feegrant.v1beta1.Query/Allowances", + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesRequest.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesResponse.FromString, + _registered_method=True, + ) self.AllowancesByGranter = channel.unary_unary( - '/cosmos.feegrant.v1beta1.Query/AllowancesByGranter', - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterRequest.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterResponse.FromString, - _registered_method=True) + "/cosmos.feegrant.v1beta1.Query/AllowancesByGranter", + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterRequest.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def Allowance(self, request, context): - """Allowance returns granted allwance to the grantee by the granter. - """ + """Allowance returns granted allwance to the grantee by the granter.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Allowances(self, request, context): - """Allowances returns all the grants for the given grantee address. - """ + """Allowances returns all the grants for the given grantee address.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AllowancesByGranter(self, request, context): """AllowancesByGranter returns all the grants given by an address @@ -56,54 +55,54 @@ def AllowancesByGranter(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Allowance': grpc.unary_unary_rpc_method_handler( - servicer.Allowance, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceRequest.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceResponse.SerializeToString, - ), - 'Allowances': grpc.unary_unary_rpc_method_handler( - servicer.Allowances, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesRequest.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesResponse.SerializeToString, - ), - 'AllowancesByGranter': grpc.unary_unary_rpc_method_handler( - servicer.AllowancesByGranter, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterRequest.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterResponse.SerializeToString, - ), + "Allowance": grpc.unary_unary_rpc_method_handler( + servicer.Allowance, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceRequest.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceResponse.SerializeToString, + ), + "Allowances": grpc.unary_unary_rpc_method_handler( + servicer.Allowances, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesRequest.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesResponse.SerializeToString, + ), + "AllowancesByGranter": grpc.unary_unary_rpc_method_handler( + servicer.AllowancesByGranter, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterRequest.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.feegrant.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.feegrant.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.feegrant.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.feegrant.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" @staticmethod - def Allowance(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Allowance( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.feegrant.v1beta1.Query/Allowance', + "/cosmos.feegrant.v1beta1.Query/Allowance", cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceRequest.SerializeToString, cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceResponse.FromString, options, @@ -114,23 +113,26 @@ def Allowance(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Allowances(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Allowances( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.feegrant.v1beta1.Query/Allowances', + "/cosmos.feegrant.v1beta1.Query/Allowances", cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesRequest.SerializeToString, cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesResponse.FromString, options, @@ -141,23 +143,26 @@ def Allowances(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def AllowancesByGranter(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AllowancesByGranter( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.feegrant.v1beta1.Query/AllowancesByGranter', + "/cosmos.feegrant.v1beta1.Query/AllowancesByGranter", cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterRequest.SerializeToString, cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterResponse.FromString, options, @@ -168,4 +173,5 @@ def AllowancesByGranter(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py index d6d08cb8..b86528a4 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,46 +19,56 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/feegrant/v1beta1/tx.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\x89\x02\n\x11MsgGrantAllowance\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12]\n\tallowance\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowance:-\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgGrantAllowance\"\x1b\n\x19MsgGrantAllowanceResponse\"\xac\x01\n\x12MsgRevokeAllowance\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee:.\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgRevokeAllowance\"\x1c\n\x1aMsgRevokeAllowanceResponse\"S\n\x12MsgPruneAllowances\x12\x30\n\x06pruner\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06pruner:\x0b\x82\xe7\xb0*\x06pruner\"\x1c\n\x1aMsgPruneAllowancesResponse2\xe8\x02\n\x03Msg\x12p\n\x0eGrantAllowance\x12*.cosmos.feegrant.v1beta1.MsgGrantAllowance\x1a\x32.cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse\x12s\n\x0fRevokeAllowance\x12+.cosmos.feegrant.v1beta1.MsgRevokeAllowance\x1a\x33.cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse\x12s\n\x0fPruneAllowances\x12+.cosmos.feegrant.v1beta1.MsgPruneAllowances\x1a\x33.cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\x07TxProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n cosmos/feegrant/v1beta1/tx.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\x89\x02\n\x11MsgGrantAllowance\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12]\n\tallowance\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowance:-\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgGrantAllowance"\x1b\n\x19MsgGrantAllowanceResponse"\xac\x01\n\x12MsgRevokeAllowance\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee:.\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgRevokeAllowance"\x1c\n\x1aMsgRevokeAllowanceResponse"S\n\x12MsgPruneAllowances\x12\x30\n\x06pruner\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06pruner:\x0b\x82\xe7\xb0*\x06pruner"\x1c\n\x1aMsgPruneAllowancesResponse2\xe8\x02\n\x03Msg\x12p\n\x0eGrantAllowance\x12*.cosmos.feegrant.v1beta1.MsgGrantAllowance\x1a\x32.cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse\x12s\n\x0fRevokeAllowance\x12+.cosmos.feegrant.v1beta1.MsgRevokeAllowance\x1a\x33.cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse\x12s\n\x0fPruneAllowances\x12+.cosmos.feegrant.v1beta1.MsgPruneAllowances\x1a\x33.cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\x07TxProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.feegrant.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.feegrant.v1beta1B\007TxProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1' - _globals['_MSGGRANTALLOWANCE'].fields_by_name['granter']._loaded_options = None - _globals['_MSGGRANTALLOWANCE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGGRANTALLOWANCE'].fields_by_name['grantee']._loaded_options = None - _globals['_MSGGRANTALLOWANCE'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGGRANTALLOWANCE'].fields_by_name['allowance']._loaded_options = None - _globals['_MSGGRANTALLOWANCE'].fields_by_name['allowance']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI' - _globals['_MSGGRANTALLOWANCE']._loaded_options = None - _globals['_MSGGRANTALLOWANCE']._serialized_options = b'\202\347\260*\007granter\212\347\260*\034cosmos-sdk/MsgGrantAllowance' - _globals['_MSGREVOKEALLOWANCE'].fields_by_name['granter']._loaded_options = None - _globals['_MSGREVOKEALLOWANCE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGREVOKEALLOWANCE'].fields_by_name['grantee']._loaded_options = None - _globals['_MSGREVOKEALLOWANCE'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGREVOKEALLOWANCE']._loaded_options = None - _globals['_MSGREVOKEALLOWANCE']._serialized_options = b'\202\347\260*\007granter\212\347\260*\035cosmos-sdk/MsgRevokeAllowance' - _globals['_MSGPRUNEALLOWANCES'].fields_by_name['pruner']._loaded_options = None - _globals['_MSGPRUNEALLOWANCES'].fields_by_name['pruner']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGPRUNEALLOWANCES']._loaded_options = None - _globals['_MSGPRUNEALLOWANCES']._serialized_options = b'\202\347\260*\006pruner' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGGRANTALLOWANCE']._serialized_start=160 - _globals['_MSGGRANTALLOWANCE']._serialized_end=425 - _globals['_MSGGRANTALLOWANCERESPONSE']._serialized_start=427 - _globals['_MSGGRANTALLOWANCERESPONSE']._serialized_end=454 - _globals['_MSGREVOKEALLOWANCE']._serialized_start=457 - _globals['_MSGREVOKEALLOWANCE']._serialized_end=629 - _globals['_MSGREVOKEALLOWANCERESPONSE']._serialized_start=631 - _globals['_MSGREVOKEALLOWANCERESPONSE']._serialized_end=659 - _globals['_MSGPRUNEALLOWANCES']._serialized_start=661 - _globals['_MSGPRUNEALLOWANCES']._serialized_end=744 - _globals['_MSGPRUNEALLOWANCESRESPONSE']._serialized_start=746 - _globals['_MSGPRUNEALLOWANCESRESPONSE']._serialized_end=774 - _globals['_MSG']._serialized_start=777 - _globals['_MSG']._serialized_end=1137 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.cosmos.feegrant.v1beta1B\007TxProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1" + ) + _globals["_MSGGRANTALLOWANCE"].fields_by_name["granter"]._loaded_options = None + _globals["_MSGGRANTALLOWANCE"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGGRANTALLOWANCE"].fields_by_name["grantee"]._loaded_options = None + _globals["_MSGGRANTALLOWANCE"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGGRANTALLOWANCE"].fields_by_name["allowance"]._loaded_options = None + _globals["_MSGGRANTALLOWANCE"].fields_by_name[ + "allowance" + ]._serialized_options = b"\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI" + _globals["_MSGGRANTALLOWANCE"]._loaded_options = None + _globals["_MSGGRANTALLOWANCE"]._serialized_options = ( + b"\202\347\260*\007granter\212\347\260*\034cosmos-sdk/MsgGrantAllowance" + ) + _globals["_MSGREVOKEALLOWANCE"].fields_by_name["granter"]._loaded_options = None + _globals["_MSGREVOKEALLOWANCE"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGREVOKEALLOWANCE"].fields_by_name["grantee"]._loaded_options = None + _globals["_MSGREVOKEALLOWANCE"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGREVOKEALLOWANCE"]._loaded_options = None + _globals["_MSGREVOKEALLOWANCE"]._serialized_options = ( + b"\202\347\260*\007granter\212\347\260*\035cosmos-sdk/MsgRevokeAllowance" + ) + _globals["_MSGPRUNEALLOWANCES"].fields_by_name["pruner"]._loaded_options = None + _globals["_MSGPRUNEALLOWANCES"].fields_by_name["pruner"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGPRUNEALLOWANCES"]._loaded_options = None + _globals["_MSGPRUNEALLOWANCES"]._serialized_options = b"\202\347\260*\006pruner" + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGGRANTALLOWANCE"]._serialized_start = 160 + _globals["_MSGGRANTALLOWANCE"]._serialized_end = 425 + _globals["_MSGGRANTALLOWANCERESPONSE"]._serialized_start = 427 + _globals["_MSGGRANTALLOWANCERESPONSE"]._serialized_end = 454 + _globals["_MSGREVOKEALLOWANCE"]._serialized_start = 457 + _globals["_MSGREVOKEALLOWANCE"]._serialized_end = 629 + _globals["_MSGREVOKEALLOWANCERESPONSE"]._serialized_start = 631 + _globals["_MSGREVOKEALLOWANCERESPONSE"]._serialized_end = 659 + _globals["_MSGPRUNEALLOWANCES"]._serialized_start = 661 + _globals["_MSGPRUNEALLOWANCES"]._serialized_end = 744 + _globals["_MSGPRUNEALLOWANCESRESPONSE"]._serialized_start = 746 + _globals["_MSGPRUNEALLOWANCESRESPONSE"]._serialized_end = 774 + _globals["_MSG"]._serialized_start = 777 + _globals["_MSG"]._serialized_end = 1137 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2_grpc.py index 86ab0ccc..81dcb784 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the feegrant msg service. - """ + """Msg defines the feegrant msg service.""" def __init__(self, channel): """Constructor. @@ -16,41 +15,43 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GrantAllowance = channel.unary_unary( - '/cosmos.feegrant.v1beta1.Msg/GrantAllowance', - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowance.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowanceResponse.FromString, - _registered_method=True) + "/cosmos.feegrant.v1beta1.Msg/GrantAllowance", + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowance.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowanceResponse.FromString, + _registered_method=True, + ) self.RevokeAllowance = channel.unary_unary( - '/cosmos.feegrant.v1beta1.Msg/RevokeAllowance', - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowance.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowanceResponse.FromString, - _registered_method=True) + "/cosmos.feegrant.v1beta1.Msg/RevokeAllowance", + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowance.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowanceResponse.FromString, + _registered_method=True, + ) self.PruneAllowances = channel.unary_unary( - '/cosmos.feegrant.v1beta1.Msg/PruneAllowances', - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowances.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowancesResponse.FromString, - _registered_method=True) + "/cosmos.feegrant.v1beta1.Msg/PruneAllowances", + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowances.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowancesResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the feegrant msg service. - """ + """Msg defines the feegrant msg service.""" def GrantAllowance(self, request, context): """GrantAllowance grants fee allowance to the grantee on the granter's account with the provided expiration time. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RevokeAllowance(self, request, context): """RevokeAllowance revokes any fee allowance of granter's account that has been granted to the grantee. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PruneAllowances(self, request, context): """PruneAllowances prunes expired fee allowances, currently up to 75 at a time. @@ -58,54 +59,54 @@ def PruneAllowances(self, request, context): Since cosmos-sdk 0.50 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'GrantAllowance': grpc.unary_unary_rpc_method_handler( - servicer.GrantAllowance, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowance.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowanceResponse.SerializeToString, - ), - 'RevokeAllowance': grpc.unary_unary_rpc_method_handler( - servicer.RevokeAllowance, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowance.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowanceResponse.SerializeToString, - ), - 'PruneAllowances': grpc.unary_unary_rpc_method_handler( - servicer.PruneAllowances, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowances.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowancesResponse.SerializeToString, - ), + "GrantAllowance": grpc.unary_unary_rpc_method_handler( + servicer.GrantAllowance, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowance.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowanceResponse.SerializeToString, + ), + "RevokeAllowance": grpc.unary_unary_rpc_method_handler( + servicer.RevokeAllowance, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowance.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowanceResponse.SerializeToString, + ), + "PruneAllowances": grpc.unary_unary_rpc_method_handler( + servicer.PruneAllowances, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowances.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowancesResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.feegrant.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.feegrant.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.feegrant.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.feegrant.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the feegrant msg service. - """ + """Msg defines the feegrant msg service.""" @staticmethod - def GrantAllowance(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GrantAllowance( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.feegrant.v1beta1.Msg/GrantAllowance', + "/cosmos.feegrant.v1beta1.Msg/GrantAllowance", cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowance.SerializeToString, cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowanceResponse.FromString, options, @@ -116,23 +117,26 @@ def GrantAllowance(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RevokeAllowance(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RevokeAllowance( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.feegrant.v1beta1.Msg/RevokeAllowance', + "/cosmos.feegrant.v1beta1.Msg/RevokeAllowance", cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowance.SerializeToString, cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowanceResponse.FromString, options, @@ -143,23 +147,26 @@ def RevokeAllowance(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PruneAllowances(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PruneAllowances( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.feegrant.v1beta1.Msg/PruneAllowances', + "/cosmos.feegrant.v1beta1.Msg/PruneAllowances", cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowances.SerializeToString, cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowancesResponse.FromString, options, @@ -170,4 +177,5 @@ def PruneAllowances(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py b/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py index 35d5b23f..8b2c662b 100644 --- a/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/genutil/module/v1/module.proto\x12\x18\x63osmos.genutil.module.v1\x1a cosmos/app/v1alpha1/module.proto\"8\n\x06Module:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/genutilB\xae\x01\n\x1c\x63om.cosmos.genutil.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x18\x43osmos.Genutil.Module.V1\xca\x02\x18\x43osmos\\Genutil\\Module\\V1\xe2\x02$Cosmos\\Genutil\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Genutil::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%cosmos/genutil/module/v1/module.proto\x12\x18\x63osmos.genutil.module.v1\x1a cosmos/app/v1alpha1/module.proto"8\n\x06Module:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/genutilB\xae\x01\n\x1c\x63om.cosmos.genutil.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x18\x43osmos.Genutil.Module.V1\xca\x02\x18\x43osmos\\Genutil\\Module\\V1\xe2\x02$Cosmos\\Genutil\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Genutil::Module::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.genutil.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.genutil.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.genutil.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\030Cosmos.Genutil.Module.V1\312\002\030Cosmos\\Genutil\\Module\\V1\342\002$Cosmos\\Genutil\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Genutil::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/genutil' - _globals['_MODULE']._serialized_start=101 - _globals['_MODULE']._serialized_end=157 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\034com.cosmos.genutil.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\030Cosmos.Genutil.Module.V1\312\002\030Cosmos\\Genutil\\Module\\V1\342\002$Cosmos\\Genutil\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Genutil::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/genutil" + _globals["_MODULE"]._serialized_start = 101 + _globals["_MODULE"]._serialized_end = 157 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/genutil/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/genutil/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/genutil/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/genutil/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/genutil/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2.py index c9247007..402ac2cc 100644 --- a/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,16 +17,24 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/genutil/v1beta1/genesis.proto\x12\x16\x63osmos.genutil.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"_\n\x0cGenesisState\x12O\n\x07gen_txs\x18\x01 \x03(\x0c\x42\x36\xea\xde\x1f\x06gentxs\xfa\xde\x1f\x18\x65ncoding/json.RawMessage\xa2\xe7\xb0*\x06gentxs\xa8\xe7\xb0*\x01R\x06genTxsB\xd2\x01\n\x1a\x63om.cosmos.genutil.v1beta1B\x0cGenesisProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/genutil/types\xa2\x02\x03\x43GX\xaa\x02\x16\x43osmos.Genutil.V1beta1\xca\x02\x16\x43osmos\\Genutil\\V1beta1\xe2\x02\"Cosmos\\Genutil\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Genutil::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$cosmos/genutil/v1beta1/genesis.proto\x12\x16\x63osmos.genutil.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto"_\n\x0cGenesisState\x12O\n\x07gen_txs\x18\x01 \x03(\x0c\x42\x36\xea\xde\x1f\x06gentxs\xfa\xde\x1f\x18\x65ncoding/json.RawMessage\xa2\xe7\xb0*\x06gentxs\xa8\xe7\xb0*\x01R\x06genTxsB\xd2\x01\n\x1a\x63om.cosmos.genutil.v1beta1B\x0cGenesisProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/genutil/types\xa2\x02\x03\x43GX\xaa\x02\x16\x43osmos.Genutil.V1beta1\xca\x02\x16\x43osmos\\Genutil\\V1beta1\xe2\x02"Cosmos\\Genutil\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Genutil::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.genutil.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.genutil.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.genutil.v1beta1B\014GenesisProtoP\001Z,github.com/cosmos/cosmos-sdk/x/genutil/types\242\002\003CGX\252\002\026Cosmos.Genutil.V1beta1\312\002\026Cosmos\\Genutil\\V1beta1\342\002\"Cosmos\\Genutil\\V1beta1\\GPBMetadata\352\002\030Cosmos::Genutil::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['gen_txs']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['gen_txs']._serialized_options = b'\352\336\037\006gentxs\372\336\037\030encoding/json.RawMessage\242\347\260*\006gentxs\250\347\260*\001' - _globals['_GENESISSTATE']._serialized_start=105 - _globals['_GENESISSTATE']._serialized_end=200 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\032com.cosmos.genutil.v1beta1B\014GenesisProtoP\001Z,github.com/cosmos/cosmos-sdk/x/genutil/types\242\002\003CGX\252\002\026Cosmos.Genutil.V1beta1\312\002\026Cosmos\\Genutil\\V1beta1\342\002"Cosmos\\Genutil\\V1beta1\\GPBMetadata\352\002\030Cosmos::Genutil::V1beta1' + ) + _globals["_GENESISSTATE"].fields_by_name["gen_txs"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "gen_txs" + ]._serialized_options = ( + b"\352\336\037\006gentxs\372\336\037\030encoding/json.RawMessage\242\347\260*\006gentxs\250\347\260*\001" + ) + _globals["_GENESISSTATE"]._serialized_start = 105 + _globals["_GENESISSTATE"]._serialized_end = 200 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/gov/module/v1/module_pb2.py b/pyinjective/proto/cosmos/gov/module/v1/module_pb2.py index 114e7982..d777f702 100644 --- a/pyinjective/proto/cosmos/gov/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/gov/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/gov/module/v1/module.proto\x12\x14\x63osmos.gov.module.v1\x1a cosmos/app/v1alpha1/module.proto\"|\n\x06Module\x12(\n\x10max_metadata_len\x18\x01 \x01(\x04R\x0emaxMetadataLen\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:*\xba\xc0\x96\xda\x01$\n\"github.com/cosmos/cosmos-sdk/x/govB\x9a\x01\n\x18\x63om.cosmos.gov.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x14\x43osmos.Gov.Module.V1\xca\x02\x14\x43osmos\\Gov\\Module\\V1\xe2\x02 Cosmos\\Gov\\Module\\V1\\GPBMetadata\xea\x02\x17\x43osmos::Gov::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n!cosmos/gov/module/v1/module.proto\x12\x14\x63osmos.gov.module.v1\x1a cosmos/app/v1alpha1/module.proto"|\n\x06Module\x12(\n\x10max_metadata_len\x18\x01 \x01(\x04R\x0emaxMetadataLen\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:*\xba\xc0\x96\xda\x01$\n"github.com/cosmos/cosmos-sdk/x/govB\x9a\x01\n\x18\x63om.cosmos.gov.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x14\x43osmos.Gov.Module.V1\xca\x02\x14\x43osmos\\Gov\\Module\\V1\xe2\x02 Cosmos\\Gov\\Module\\V1\\GPBMetadata\xea\x02\x17\x43osmos::Gov::Module::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.gov.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\024Cosmos.Gov.Module.V1\312\002\024Cosmos\\Gov\\Module\\V1\342\002 Cosmos\\Gov\\Module\\V1\\GPBMetadata\352\002\027Cosmos::Gov::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001$\n\"github.com/cosmos/cosmos-sdk/x/gov' - _globals['_MODULE']._serialized_start=93 - _globals['_MODULE']._serialized_end=217 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\030com.cosmos.gov.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\024Cosmos.Gov.Module.V1\312\002\024Cosmos\\Gov\\Module\\V1\342\002 Cosmos\\Gov\\Module\\V1\\GPBMetadata\352\002\027Cosmos::Gov::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b'\272\300\226\332\001$\n"github.com/cosmos/cosmos-sdk/x/gov' + _globals["_MODULE"]._serialized_start = 93 + _globals["_MODULE"]._serialized_end = 217 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/gov/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/gov/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/gov/v1/genesis_pb2.py b/pyinjective/proto/cosmos/gov/v1/genesis_pb2.py index 72ccf1db..e4ce3179 100644 --- a/pyinjective/proto/cosmos/gov/v1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,20 +16,24 @@ from pyinjective.proto.cosmos.gov.v1 import gov_pb2 as cosmos_dot_gov_dot_v1_dot_gov__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/gov/v1/genesis.proto\x12\rcosmos.gov.v1\x1a\x17\x63osmos/gov/v1/gov.proto\"\xfb\x03\n\x0cGenesisState\x12\x30\n\x14starting_proposal_id\x18\x01 \x01(\x04R\x12startingProposalId\x12\x32\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32\x16.cosmos.gov.v1.DepositR\x08\x64\x65posits\x12)\n\x05votes\x18\x03 \x03(\x0b\x32\x13.cosmos.gov.v1.VoteR\x05votes\x12\x35\n\tproposals\x18\x04 \x03(\x0b\x32\x17.cosmos.gov.v1.ProposalR\tproposals\x12G\n\x0e\x64\x65posit_params\x18\x05 \x01(\x0b\x32\x1c.cosmos.gov.v1.DepositParamsB\x02\x18\x01R\rdepositParams\x12\x44\n\rvoting_params\x18\x06 \x01(\x0b\x32\x1b.cosmos.gov.v1.VotingParamsB\x02\x18\x01R\x0cvotingParams\x12\x41\n\x0ctally_params\x18\x07 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyParamsB\x02\x18\x01R\x0btallyParams\x12-\n\x06params\x18\x08 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsR\x06params\x12\"\n\x0c\x63onstitution\x18\t \x01(\tR\x0c\x63onstitutionB\xa4\x01\n\x11\x63om.cosmos.gov.v1B\x0cGenesisProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1b\x63osmos/gov/v1/genesis.proto\x12\rcosmos.gov.v1\x1a\x17\x63osmos/gov/v1/gov.proto"\xfb\x03\n\x0cGenesisState\x12\x30\n\x14starting_proposal_id\x18\x01 \x01(\x04R\x12startingProposalId\x12\x32\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32\x16.cosmos.gov.v1.DepositR\x08\x64\x65posits\x12)\n\x05votes\x18\x03 \x03(\x0b\x32\x13.cosmos.gov.v1.VoteR\x05votes\x12\x35\n\tproposals\x18\x04 \x03(\x0b\x32\x17.cosmos.gov.v1.ProposalR\tproposals\x12G\n\x0e\x64\x65posit_params\x18\x05 \x01(\x0b\x32\x1c.cosmos.gov.v1.DepositParamsB\x02\x18\x01R\rdepositParams\x12\x44\n\rvoting_params\x18\x06 \x01(\x0b\x32\x1b.cosmos.gov.v1.VotingParamsB\x02\x18\x01R\x0cvotingParams\x12\x41\n\x0ctally_params\x18\x07 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyParamsB\x02\x18\x01R\x0btallyParams\x12-\n\x06params\x18\x08 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsR\x06params\x12"\n\x0c\x63onstitution\x18\t \x01(\tR\x0c\x63onstitutionB\xa4\x01\n\x11\x63om.cosmos.gov.v1B\x0cGenesisProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.v1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.gov.v1B\014GenesisProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1' - _globals['_GENESISSTATE'].fields_by_name['deposit_params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['deposit_params']._serialized_options = b'\030\001' - _globals['_GENESISSTATE'].fields_by_name['voting_params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['voting_params']._serialized_options = b'\030\001' - _globals['_GENESISSTATE'].fields_by_name['tally_params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['tally_params']._serialized_options = b'\030\001' - _globals['_GENESISSTATE']._serialized_start=72 - _globals['_GENESISSTATE']._serialized_end=579 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\021com.cosmos.gov.v1B\014GenesisProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1" + ) + _globals["_GENESISSTATE"].fields_by_name["deposit_params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["deposit_params"]._serialized_options = b"\030\001" + _globals["_GENESISSTATE"].fields_by_name["voting_params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["voting_params"]._serialized_options = b"\030\001" + _globals["_GENESISSTATE"].fields_by_name["tally_params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["tally_params"]._serialized_options = b"\030\001" + _globals["_GENESISSTATE"]._serialized_start = 72 + _globals["_GENESISSTATE"]._serialized_end = 579 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/gov/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/v1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/gov/v1/gov_pb2.py b/pyinjective/proto/cosmos/gov/v1/gov_pb2.py index fe84d91f..1aebca89 100644 --- a/pyinjective/proto/cosmos/gov/v1/gov_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1/gov_pb2.py @@ -7,6 +7,7 @@ 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() @@ -21,106 +22,118 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63osmos/gov/v1/gov.proto\x12\rcosmos.gov.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"o\n\x12WeightedVoteOption\x12\x31\n\x06option\x18\x01 \x01(\x0e\x32\x19.cosmos.gov.v1.VoteOptionR\x06option\x12&\n\x06weight\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06weight\"\xa0\x01\n\x07\x44\x65posit\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12<\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\"\x84\x06\n\x08Proposal\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x30\n\x08messages\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x35\n\x06status\x18\x03 \x01(\x0e\x32\x1d.cosmos.gov.v1.ProposalStatusR\x06status\x12H\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyResultR\x10\x66inalTallyResult\x12\x41\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nsubmitTime\x12J\n\x10\x64\x65posit_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\x0e\x64\x65positEndTime\x12I\n\rtotal_deposit\x18\x07 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0ctotalDeposit\x12L\n\x11voting_start_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\x0fvotingStartTime\x12H\n\x0fvoting_end_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\rvotingEndTime\x12\x1a\n\x08metadata\x18\n \x01(\tR\x08metadata\x12\x14\n\x05title\x18\x0b \x01(\tR\x05title\x12\x18\n\x07summary\x18\x0c \x01(\tR\x07summary\x12\x34\n\x08proposer\x18\r \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer\x12\x1c\n\texpedited\x18\x0e \x01(\x08R\texpedited\x12#\n\rfailed_reason\x18\x0f \x01(\tR\x0c\x66\x61iledReason\"\xd7\x01\n\x0bTallyResult\x12+\n\tyes_count\x18\x01 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x08yesCount\x12\x33\n\rabstain_count\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x0c\x61\x62stainCount\x12)\n\x08no_count\x18\x03 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x07noCount\x12;\n\x12no_with_veto_count\x18\x04 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x0fnoWithVetoCount\"\xb6\x01\n\x04Vote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12;\n\x07options\x18\x04 \x03(\x0b\x32!.cosmos.gov.v1.WeightedVoteOptionR\x07options\x12\x1a\n\x08metadata\x18\x05 \x01(\tR\x08metadataJ\x04\x08\x03\x10\x04\"\xdd\x01\n\rDepositParams\x12Y\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x1d\xc8\xde\x1f\x00\xea\xde\x1f\x15min_deposit,omitemptyR\nminDeposit\x12m\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB$\xea\xde\x1f\x1cmax_deposit_period,omitempty\x98\xdf\x1f\x01R\x10maxDepositPeriod:\x02\x18\x01\"X\n\x0cVotingParams\x12\x44\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x0cvotingPeriod:\x02\x18\x01\"\x9e\x01\n\x0bTallyParams\x12&\n\x06quorum\x18\x01 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06quorum\x12,\n\tthreshold\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\tthreshold\x12\x35\n\x0eveto_threshold\x18\x03 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\rvetoThreshold:\x02\x18\x01\"\x8f\x08\n\x06Params\x12\x45\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nminDeposit\x12M\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x10maxDepositPeriod\x12\x44\n\rvoting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x0cvotingPeriod\x12&\n\x06quorum\x18\x04 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06quorum\x12,\n\tthreshold\x18\x05 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\tthreshold\x12\x35\n\x0eveto_threshold\x18\x06 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\rvetoThreshold\x12I\n\x19min_initial_deposit_ratio\x18\x07 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x16minInitialDepositRatio\x12\x42\n\x15proposal_cancel_ratio\x18\x08 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x13proposalCancelRatio\x12J\n\x14proposal_cancel_dest\x18\t \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12proposalCancelDest\x12W\n\x17\x65xpedited_voting_period\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x15\x65xpeditedVotingPeriod\x12?\n\x13\x65xpedited_threshold\x18\x0b \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x12\x65xpeditedThreshold\x12X\n\x15\x65xpedited_min_deposit\x18\x0c \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x65xpeditedMinDeposit\x12(\n\x10\x62urn_vote_quorum\x18\r \x01(\x08R\x0e\x62urnVoteQuorum\x12\x41\n\x1d\x62urn_proposal_deposit_prevote\x18\x0e \x01(\x08R\x1a\x62urnProposalDepositPrevote\x12$\n\x0e\x62urn_vote_veto\x18\x0f \x01(\x08R\x0c\x62urnVoteVeto\x12:\n\x11min_deposit_ratio\x18\x10 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x0fminDepositRatio*\x89\x01\n\nVoteOption\x12\x1b\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fVOTE_OPTION_YES\x10\x01\x12\x17\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x12\x12\n\x0eVOTE_OPTION_NO\x10\x03\x12\x1c\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04*\xce\x01\n\x0eProposalStatus\x12\x1f\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x12\"\n\x1ePROPOSAL_STATUS_DEPOSIT_PERIOD\x10\x01\x12!\n\x1dPROPOSAL_STATUS_VOTING_PERIOD\x10\x02\x12\x1a\n\x16PROPOSAL_STATUS_PASSED\x10\x03\x12\x1c\n\x18PROPOSAL_STATUS_REJECTED\x10\x04\x12\x1a\n\x16PROPOSAL_STATUS_FAILED\x10\x05\x42\xa0\x01\n\x11\x63om.cosmos.gov.v1B\x08GovProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x17\x63osmos/gov/v1/gov.proto\x12\rcosmos.gov.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"o\n\x12WeightedVoteOption\x12\x31\n\x06option\x18\x01 \x01(\x0e\x32\x19.cosmos.gov.v1.VoteOptionR\x06option\x12&\n\x06weight\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06weight"\xa0\x01\n\x07\x44\x65posit\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12<\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount"\x84\x06\n\x08Proposal\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x30\n\x08messages\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x35\n\x06status\x18\x03 \x01(\x0e\x32\x1d.cosmos.gov.v1.ProposalStatusR\x06status\x12H\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyResultR\x10\x66inalTallyResult\x12\x41\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nsubmitTime\x12J\n\x10\x64\x65posit_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\x0e\x64\x65positEndTime\x12I\n\rtotal_deposit\x18\x07 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0ctotalDeposit\x12L\n\x11voting_start_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\x0fvotingStartTime\x12H\n\x0fvoting_end_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\rvotingEndTime\x12\x1a\n\x08metadata\x18\n \x01(\tR\x08metadata\x12\x14\n\x05title\x18\x0b \x01(\tR\x05title\x12\x18\n\x07summary\x18\x0c \x01(\tR\x07summary\x12\x34\n\x08proposer\x18\r \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer\x12\x1c\n\texpedited\x18\x0e \x01(\x08R\texpedited\x12#\n\rfailed_reason\x18\x0f \x01(\tR\x0c\x66\x61iledReason"\xd7\x01\n\x0bTallyResult\x12+\n\tyes_count\x18\x01 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x08yesCount\x12\x33\n\rabstain_count\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x0c\x61\x62stainCount\x12)\n\x08no_count\x18\x03 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x07noCount\x12;\n\x12no_with_veto_count\x18\x04 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x0fnoWithVetoCount"\xb6\x01\n\x04Vote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12;\n\x07options\x18\x04 \x03(\x0b\x32!.cosmos.gov.v1.WeightedVoteOptionR\x07options\x12\x1a\n\x08metadata\x18\x05 \x01(\tR\x08metadataJ\x04\x08\x03\x10\x04"\xdd\x01\n\rDepositParams\x12Y\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x1d\xc8\xde\x1f\x00\xea\xde\x1f\x15min_deposit,omitemptyR\nminDeposit\x12m\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB$\xea\xde\x1f\x1cmax_deposit_period,omitempty\x98\xdf\x1f\x01R\x10maxDepositPeriod:\x02\x18\x01"X\n\x0cVotingParams\x12\x44\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x0cvotingPeriod:\x02\x18\x01"\x9e\x01\n\x0bTallyParams\x12&\n\x06quorum\x18\x01 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06quorum\x12,\n\tthreshold\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\tthreshold\x12\x35\n\x0eveto_threshold\x18\x03 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\rvetoThreshold:\x02\x18\x01"\x8f\x08\n\x06Params\x12\x45\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nminDeposit\x12M\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x10maxDepositPeriod\x12\x44\n\rvoting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x0cvotingPeriod\x12&\n\x06quorum\x18\x04 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06quorum\x12,\n\tthreshold\x18\x05 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\tthreshold\x12\x35\n\x0eveto_threshold\x18\x06 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\rvetoThreshold\x12I\n\x19min_initial_deposit_ratio\x18\x07 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x16minInitialDepositRatio\x12\x42\n\x15proposal_cancel_ratio\x18\x08 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x13proposalCancelRatio\x12J\n\x14proposal_cancel_dest\x18\t \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12proposalCancelDest\x12W\n\x17\x65xpedited_voting_period\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x15\x65xpeditedVotingPeriod\x12?\n\x13\x65xpedited_threshold\x18\x0b \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x12\x65xpeditedThreshold\x12X\n\x15\x65xpedited_min_deposit\x18\x0c \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x65xpeditedMinDeposit\x12(\n\x10\x62urn_vote_quorum\x18\r \x01(\x08R\x0e\x62urnVoteQuorum\x12\x41\n\x1d\x62urn_proposal_deposit_prevote\x18\x0e \x01(\x08R\x1a\x62urnProposalDepositPrevote\x12$\n\x0e\x62urn_vote_veto\x18\x0f \x01(\x08R\x0c\x62urnVoteVeto\x12:\n\x11min_deposit_ratio\x18\x10 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x0fminDepositRatio*\x89\x01\n\nVoteOption\x12\x1b\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fVOTE_OPTION_YES\x10\x01\x12\x17\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x12\x12\n\x0eVOTE_OPTION_NO\x10\x03\x12\x1c\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04*\xce\x01\n\x0eProposalStatus\x12\x1f\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x12"\n\x1ePROPOSAL_STATUS_DEPOSIT_PERIOD\x10\x01\x12!\n\x1dPROPOSAL_STATUS_VOTING_PERIOD\x10\x02\x12\x1a\n\x16PROPOSAL_STATUS_PASSED\x10\x03\x12\x1c\n\x18PROPOSAL_STATUS_REJECTED\x10\x04\x12\x1a\n\x16PROPOSAL_STATUS_FAILED\x10\x05\x42\xa0\x01\n\x11\x63om.cosmos.gov.v1B\x08GovProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.gov_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.v1.gov_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.gov.v1B\010GovProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1' - _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._loaded_options = None - _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_DEPOSIT'].fields_by_name['depositor']._loaded_options = None - _globals['_DEPOSIT'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DEPOSIT'].fields_by_name['amount']._loaded_options = None - _globals['_DEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['submit_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['submit_time']._serialized_options = b'\220\337\037\001' - _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._serialized_options = b'\220\337\037\001' - _globals['_PROPOSAL'].fields_by_name['total_deposit']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['total_deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['voting_start_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['voting_start_time']._serialized_options = b'\220\337\037\001' - _globals['_PROPOSAL'].fields_by_name['voting_end_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['voting_end_time']._serialized_options = b'\220\337\037\001' - _globals['_PROPOSAL'].fields_by_name['proposer']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_TALLYRESULT'].fields_by_name['yes_count']._loaded_options = None - _globals['_TALLYRESULT'].fields_by_name['yes_count']._serialized_options = b'\322\264-\ncosmos.Int' - _globals['_TALLYRESULT'].fields_by_name['abstain_count']._loaded_options = None - _globals['_TALLYRESULT'].fields_by_name['abstain_count']._serialized_options = b'\322\264-\ncosmos.Int' - _globals['_TALLYRESULT'].fields_by_name['no_count']._loaded_options = None - _globals['_TALLYRESULT'].fields_by_name['no_count']._serialized_options = b'\322\264-\ncosmos.Int' - _globals['_TALLYRESULT'].fields_by_name['no_with_veto_count']._loaded_options = None - _globals['_TALLYRESULT'].fields_by_name['no_with_veto_count']._serialized_options = b'\322\264-\ncosmos.Int' - _globals['_VOTE'].fields_by_name['voter']._loaded_options = None - _globals['_VOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._loaded_options = None - _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._serialized_options = b'\310\336\037\000\352\336\037\025min_deposit,omitempty' - _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._loaded_options = None - _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._serialized_options = b'\352\336\037\034max_deposit_period,omitempty\230\337\037\001' - _globals['_DEPOSITPARAMS']._loaded_options = None - _globals['_DEPOSITPARAMS']._serialized_options = b'\030\001' - _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._loaded_options = None - _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._serialized_options = b'\230\337\037\001' - _globals['_VOTINGPARAMS']._loaded_options = None - _globals['_VOTINGPARAMS']._serialized_options = b'\030\001' - _globals['_TALLYPARAMS'].fields_by_name['quorum']._loaded_options = None - _globals['_TALLYPARAMS'].fields_by_name['quorum']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_TALLYPARAMS'].fields_by_name['threshold']._loaded_options = None - _globals['_TALLYPARAMS'].fields_by_name['threshold']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._loaded_options = None - _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_TALLYPARAMS']._loaded_options = None - _globals['_TALLYPARAMS']._serialized_options = b'\030\001' - _globals['_PARAMS'].fields_by_name['min_deposit']._loaded_options = None - _globals['_PARAMS'].fields_by_name['min_deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['max_deposit_period']._loaded_options = None - _globals['_PARAMS'].fields_by_name['max_deposit_period']._serialized_options = b'\230\337\037\001' - _globals['_PARAMS'].fields_by_name['voting_period']._loaded_options = None - _globals['_PARAMS'].fields_by_name['voting_period']._serialized_options = b'\230\337\037\001' - _globals['_PARAMS'].fields_by_name['quorum']._loaded_options = None - _globals['_PARAMS'].fields_by_name['quorum']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_PARAMS'].fields_by_name['threshold']._loaded_options = None - _globals['_PARAMS'].fields_by_name['threshold']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_PARAMS'].fields_by_name['veto_threshold']._loaded_options = None - _globals['_PARAMS'].fields_by_name['veto_threshold']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_PARAMS'].fields_by_name['min_initial_deposit_ratio']._loaded_options = None - _globals['_PARAMS'].fields_by_name['min_initial_deposit_ratio']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_PARAMS'].fields_by_name['proposal_cancel_ratio']._loaded_options = None - _globals['_PARAMS'].fields_by_name['proposal_cancel_ratio']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_PARAMS'].fields_by_name['proposal_cancel_dest']._loaded_options = None - _globals['_PARAMS'].fields_by_name['proposal_cancel_dest']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_PARAMS'].fields_by_name['expedited_voting_period']._loaded_options = None - _globals['_PARAMS'].fields_by_name['expedited_voting_period']._serialized_options = b'\230\337\037\001' - _globals['_PARAMS'].fields_by_name['expedited_threshold']._loaded_options = None - _globals['_PARAMS'].fields_by_name['expedited_threshold']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_PARAMS'].fields_by_name['expedited_min_deposit']._loaded_options = None - _globals['_PARAMS'].fields_by_name['expedited_min_deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['min_deposit_ratio']._loaded_options = None - _globals['_PARAMS'].fields_by_name['min_deposit_ratio']._serialized_options = b'\322\264-\ncosmos.Dec' - _globals['_VOTEOPTION']._serialized_start=3206 - _globals['_VOTEOPTION']._serialized_end=3343 - _globals['_PROPOSALSTATUS']._serialized_start=3346 - _globals['_PROPOSALSTATUS']._serialized_end=3552 - _globals['_WEIGHTEDVOTEOPTION']._serialized_start=234 - _globals['_WEIGHTEDVOTEOPTION']._serialized_end=345 - _globals['_DEPOSIT']._serialized_start=348 - _globals['_DEPOSIT']._serialized_end=508 - _globals['_PROPOSAL']._serialized_start=511 - _globals['_PROPOSAL']._serialized_end=1283 - _globals['_TALLYRESULT']._serialized_start=1286 - _globals['_TALLYRESULT']._serialized_end=1501 - _globals['_VOTE']._serialized_start=1504 - _globals['_VOTE']._serialized_end=1686 - _globals['_DEPOSITPARAMS']._serialized_start=1689 - _globals['_DEPOSITPARAMS']._serialized_end=1910 - _globals['_VOTINGPARAMS']._serialized_start=1912 - _globals['_VOTINGPARAMS']._serialized_end=2000 - _globals['_TALLYPARAMS']._serialized_start=2003 - _globals['_TALLYPARAMS']._serialized_end=2161 - _globals['_PARAMS']._serialized_start=2164 - _globals['_PARAMS']._serialized_end=3203 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\021com.cosmos.gov.v1B\010GovProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1" + ) + _globals["_WEIGHTEDVOTEOPTION"].fields_by_name["weight"]._loaded_options = None + _globals["_WEIGHTEDVOTEOPTION"].fields_by_name["weight"]._serialized_options = b"\322\264-\ncosmos.Dec" + _globals["_DEPOSIT"].fields_by_name["depositor"]._loaded_options = None + _globals["_DEPOSIT"].fields_by_name["depositor"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_DEPOSIT"].fields_by_name["amount"]._loaded_options = None + _globals["_DEPOSIT"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_PROPOSAL"].fields_by_name["submit_time"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name["submit_time"]._serialized_options = b"\220\337\037\001" + _globals["_PROPOSAL"].fields_by_name["deposit_end_time"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name["deposit_end_time"]._serialized_options = b"\220\337\037\001" + _globals["_PROPOSAL"].fields_by_name["total_deposit"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name["total_deposit"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_PROPOSAL"].fields_by_name["voting_start_time"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name["voting_start_time"]._serialized_options = b"\220\337\037\001" + _globals["_PROPOSAL"].fields_by_name["voting_end_time"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name["voting_end_time"]._serialized_options = b"\220\337\037\001" + _globals["_PROPOSAL"].fields_by_name["proposer"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name["proposer"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_TALLYRESULT"].fields_by_name["yes_count"]._loaded_options = None + _globals["_TALLYRESULT"].fields_by_name["yes_count"]._serialized_options = b"\322\264-\ncosmos.Int" + _globals["_TALLYRESULT"].fields_by_name["abstain_count"]._loaded_options = None + _globals["_TALLYRESULT"].fields_by_name["abstain_count"]._serialized_options = b"\322\264-\ncosmos.Int" + _globals["_TALLYRESULT"].fields_by_name["no_count"]._loaded_options = None + _globals["_TALLYRESULT"].fields_by_name["no_count"]._serialized_options = b"\322\264-\ncosmos.Int" + _globals["_TALLYRESULT"].fields_by_name["no_with_veto_count"]._loaded_options = None + _globals["_TALLYRESULT"].fields_by_name["no_with_veto_count"]._serialized_options = b"\322\264-\ncosmos.Int" + _globals["_VOTE"].fields_by_name["voter"]._loaded_options = None + _globals["_VOTE"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_DEPOSITPARAMS"].fields_by_name["min_deposit"]._loaded_options = None + _globals["_DEPOSITPARAMS"].fields_by_name[ + "min_deposit" + ]._serialized_options = b"\310\336\037\000\352\336\037\025min_deposit,omitempty" + _globals["_DEPOSITPARAMS"].fields_by_name["max_deposit_period"]._loaded_options = None + _globals["_DEPOSITPARAMS"].fields_by_name[ + "max_deposit_period" + ]._serialized_options = b"\352\336\037\034max_deposit_period,omitempty\230\337\037\001" + _globals["_DEPOSITPARAMS"]._loaded_options = None + _globals["_DEPOSITPARAMS"]._serialized_options = b"\030\001" + _globals["_VOTINGPARAMS"].fields_by_name["voting_period"]._loaded_options = None + _globals["_VOTINGPARAMS"].fields_by_name["voting_period"]._serialized_options = b"\230\337\037\001" + _globals["_VOTINGPARAMS"]._loaded_options = None + _globals["_VOTINGPARAMS"]._serialized_options = b"\030\001" + _globals["_TALLYPARAMS"].fields_by_name["quorum"]._loaded_options = None + _globals["_TALLYPARAMS"].fields_by_name["quorum"]._serialized_options = b"\322\264-\ncosmos.Dec" + _globals["_TALLYPARAMS"].fields_by_name["threshold"]._loaded_options = None + _globals["_TALLYPARAMS"].fields_by_name["threshold"]._serialized_options = b"\322\264-\ncosmos.Dec" + _globals["_TALLYPARAMS"].fields_by_name["veto_threshold"]._loaded_options = None + _globals["_TALLYPARAMS"].fields_by_name["veto_threshold"]._serialized_options = b"\322\264-\ncosmos.Dec" + _globals["_TALLYPARAMS"]._loaded_options = None + _globals["_TALLYPARAMS"]._serialized_options = b"\030\001" + _globals["_PARAMS"].fields_by_name["min_deposit"]._loaded_options = None + _globals["_PARAMS"].fields_by_name["min_deposit"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_PARAMS"].fields_by_name["max_deposit_period"]._loaded_options = None + _globals["_PARAMS"].fields_by_name["max_deposit_period"]._serialized_options = b"\230\337\037\001" + _globals["_PARAMS"].fields_by_name["voting_period"]._loaded_options = None + _globals["_PARAMS"].fields_by_name["voting_period"]._serialized_options = b"\230\337\037\001" + _globals["_PARAMS"].fields_by_name["quorum"]._loaded_options = None + _globals["_PARAMS"].fields_by_name["quorum"]._serialized_options = b"\322\264-\ncosmos.Dec" + _globals["_PARAMS"].fields_by_name["threshold"]._loaded_options = None + _globals["_PARAMS"].fields_by_name["threshold"]._serialized_options = b"\322\264-\ncosmos.Dec" + _globals["_PARAMS"].fields_by_name["veto_threshold"]._loaded_options = None + _globals["_PARAMS"].fields_by_name["veto_threshold"]._serialized_options = b"\322\264-\ncosmos.Dec" + _globals["_PARAMS"].fields_by_name["min_initial_deposit_ratio"]._loaded_options = None + _globals["_PARAMS"].fields_by_name["min_initial_deposit_ratio"]._serialized_options = b"\322\264-\ncosmos.Dec" + _globals["_PARAMS"].fields_by_name["proposal_cancel_ratio"]._loaded_options = None + _globals["_PARAMS"].fields_by_name["proposal_cancel_ratio"]._serialized_options = b"\322\264-\ncosmos.Dec" + _globals["_PARAMS"].fields_by_name["proposal_cancel_dest"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "proposal_cancel_dest" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_PARAMS"].fields_by_name["expedited_voting_period"]._loaded_options = None + _globals["_PARAMS"].fields_by_name["expedited_voting_period"]._serialized_options = b"\230\337\037\001" + _globals["_PARAMS"].fields_by_name["expedited_threshold"]._loaded_options = None + _globals["_PARAMS"].fields_by_name["expedited_threshold"]._serialized_options = b"\322\264-\ncosmos.Dec" + _globals["_PARAMS"].fields_by_name["expedited_min_deposit"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "expedited_min_deposit" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_PARAMS"].fields_by_name["min_deposit_ratio"]._loaded_options = None + _globals["_PARAMS"].fields_by_name["min_deposit_ratio"]._serialized_options = b"\322\264-\ncosmos.Dec" + _globals["_VOTEOPTION"]._serialized_start = 3206 + _globals["_VOTEOPTION"]._serialized_end = 3343 + _globals["_PROPOSALSTATUS"]._serialized_start = 3346 + _globals["_PROPOSALSTATUS"]._serialized_end = 3552 + _globals["_WEIGHTEDVOTEOPTION"]._serialized_start = 234 + _globals["_WEIGHTEDVOTEOPTION"]._serialized_end = 345 + _globals["_DEPOSIT"]._serialized_start = 348 + _globals["_DEPOSIT"]._serialized_end = 508 + _globals["_PROPOSAL"]._serialized_start = 511 + _globals["_PROPOSAL"]._serialized_end = 1283 + _globals["_TALLYRESULT"]._serialized_start = 1286 + _globals["_TALLYRESULT"]._serialized_end = 1501 + _globals["_VOTE"]._serialized_start = 1504 + _globals["_VOTE"]._serialized_end = 1686 + _globals["_DEPOSITPARAMS"]._serialized_start = 1689 + _globals["_DEPOSITPARAMS"]._serialized_end = 1910 + _globals["_VOTINGPARAMS"]._serialized_start = 1912 + _globals["_VOTINGPARAMS"]._serialized_end = 2000 + _globals["_TALLYPARAMS"]._serialized_start = 2003 + _globals["_TALLYPARAMS"]._serialized_end = 2161 + _globals["_PARAMS"]._serialized_start = 2164 + _globals["_PARAMS"]._serialized_end = 3203 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/gov_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1/gov_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/gov/v1/gov_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/v1/gov_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/gov/v1/query_pb2.py b/pyinjective/proto/cosmos/gov/v1/query_pb2.py index 81093e6d..eb4ea9df 100644 --- a/pyinjective/proto/cosmos/gov/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1/query_pb2.py @@ -7,93 +7,124 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.gov.v1 import gov_pb2 as cosmos_dot_gov_dot_v1_dot_gov__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmos/gov/v1/query.proto\x12\rcosmos.gov.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17\x63osmos/gov/v1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x1a\n\x18QueryConstitutionRequest\"?\n\x19QueryConstitutionResponse\x12\"\n\x0c\x63onstitution\x18\x01 \x01(\tR\x0c\x63onstitution\"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"L\n\x15QueryProposalResponse\x12\x33\n\x08proposal\x18\x01 \x01(\x0b\x32\x17.cosmos.gov.v1.ProposalR\x08proposal\"\x8f\x02\n\x15QueryProposalsRequest\x12\x46\n\x0fproposal_status\x18\x01 \x01(\x0e\x32\x1d.cosmos.gov.v1.ProposalStatusR\x0eproposalStatus\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\tdepositor\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x98\x01\n\x16QueryProposalsResponse\x12\x35\n\tproposals\x18\x01 \x03(\x0b\x32\x17.cosmos.gov.v1.ProposalR\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"c\n\x10QueryVoteRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\"<\n\x11QueryVoteResponse\x12\'\n\x04vote\x18\x01 \x01(\x0b\x32\x13.cosmos.gov.v1.VoteR\x04vote\"|\n\x11QueryVotesRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x88\x01\n\x12QueryVotesResponse\x12)\n\x05votes\x18\x01 \x03(\x0b\x32\x13.cosmos.gov.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"5\n\x12QueryParamsRequest\x12\x1f\n\x0bparams_type\x18\x01 \x01(\tR\nparamsType\"\x96\x02\n\x13QueryParamsResponse\x12\x44\n\rvoting_params\x18\x01 \x01(\x0b\x32\x1b.cosmos.gov.v1.VotingParamsB\x02\x18\x01R\x0cvotingParams\x12G\n\x0e\x64\x65posit_params\x18\x02 \x01(\x0b\x32\x1c.cosmos.gov.v1.DepositParamsB\x02\x18\x01R\rdepositParams\x12\x41\n\x0ctally_params\x18\x03 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyParamsB\x02\x18\x01R\x0btallyParams\x12-\n\x06params\x18\x04 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsR\x06params\"n\n\x13QueryDepositRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\"H\n\x14QueryDepositResponse\x12\x30\n\x07\x64\x65posit\x18\x01 \x01(\x0b\x32\x16.cosmos.gov.v1.DepositR\x07\x64\x65posit\"\x7f\n\x14QueryDepositsRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x94\x01\n\x15QueryDepositsResponse\x12\x32\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x16.cosmos.gov.v1.DepositR\x08\x64\x65posits\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"L\n\x18QueryTallyResultResponse\x12\x30\n\x05tally\x18\x01 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyResultR\x05tally2\xe3\t\n\x05Query\x12\x86\x01\n\x0c\x43onstitution\x12\'.cosmos.gov.v1.QueryConstitutionRequest\x1a(.cosmos.gov.v1.QueryConstitutionResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/gov/v1/constitution\x12\x85\x01\n\x08Proposal\x12#.cosmos.gov.v1.QueryProposalRequest\x1a$.cosmos.gov.v1.QueryProposalResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/gov/v1/proposals/{proposal_id}\x12z\n\tProposals\x12$.cosmos.gov.v1.QueryProposalsRequest\x1a%.cosmos.gov.v1.QueryProposalsResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cosmos/gov/v1/proposals\x12\x87\x01\n\x04Vote\x12\x1f.cosmos.gov.v1.QueryVoteRequest\x1a .cosmos.gov.v1.QueryVoteResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}\x12\x82\x01\n\x05Votes\x12 .cosmos.gov.v1.QueryVotesRequest\x1a!.cosmos.gov.v1.QueryVotesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/gov/v1/proposals/{proposal_id}/votes\x12|\n\x06Params\x12!.cosmos.gov.v1.QueryParamsRequest\x1a\".cosmos.gov.v1.QueryParamsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/cosmos/gov/v1/params/{params_type}\x12\x97\x01\n\x07\x44\x65posit\x12\".cosmos.gov.v1.QueryDepositRequest\x1a#.cosmos.gov.v1.QueryDepositResponse\"C\x82\xd3\xe4\x93\x02=\x12;/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}\x12\x8e\x01\n\x08\x44\x65posits\x12#.cosmos.gov.v1.QueryDepositsRequest\x1a$.cosmos.gov.v1.QueryDepositsResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//cosmos/gov/v1/proposals/{proposal_id}/deposits\x12\x94\x01\n\x0bTallyResult\x12&.cosmos.gov.v1.QueryTallyResultRequest\x1a\'.cosmos.gov.v1.QueryTallyResultResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/gov/v1/proposals/{proposal_id}/tallyB\xa2\x01\n\x11\x63om.cosmos.gov.v1B\nQueryProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x19\x63osmos/gov/v1/query.proto\x12\rcosmos.gov.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17\x63osmos/gov/v1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto"\x1a\n\x18QueryConstitutionRequest"?\n\x19QueryConstitutionResponse\x12"\n\x0c\x63onstitution\x18\x01 \x01(\tR\x0c\x63onstitution"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"L\n\x15QueryProposalResponse\x12\x33\n\x08proposal\x18\x01 \x01(\x0b\x32\x17.cosmos.gov.v1.ProposalR\x08proposal"\x8f\x02\n\x15QueryProposalsRequest\x12\x46\n\x0fproposal_status\x18\x01 \x01(\x0e\x32\x1d.cosmos.gov.v1.ProposalStatusR\x0eproposalStatus\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\tdepositor\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x98\x01\n\x16QueryProposalsResponse\x12\x35\n\tproposals\x18\x01 \x03(\x0b\x32\x17.cosmos.gov.v1.ProposalR\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"c\n\x10QueryVoteRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter"<\n\x11QueryVoteResponse\x12\'\n\x04vote\x18\x01 \x01(\x0b\x32\x13.cosmos.gov.v1.VoteR\x04vote"|\n\x11QueryVotesRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x88\x01\n\x12QueryVotesResponse\x12)\n\x05votes\x18\x01 \x03(\x0b\x32\x13.cosmos.gov.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"5\n\x12QueryParamsRequest\x12\x1f\n\x0bparams_type\x18\x01 \x01(\tR\nparamsType"\x96\x02\n\x13QueryParamsResponse\x12\x44\n\rvoting_params\x18\x01 \x01(\x0b\x32\x1b.cosmos.gov.v1.VotingParamsB\x02\x18\x01R\x0cvotingParams\x12G\n\x0e\x64\x65posit_params\x18\x02 \x01(\x0b\x32\x1c.cosmos.gov.v1.DepositParamsB\x02\x18\x01R\rdepositParams\x12\x41\n\x0ctally_params\x18\x03 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyParamsB\x02\x18\x01R\x0btallyParams\x12-\n\x06params\x18\x04 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsR\x06params"n\n\x13QueryDepositRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor"H\n\x14QueryDepositResponse\x12\x30\n\x07\x64\x65posit\x18\x01 \x01(\x0b\x32\x16.cosmos.gov.v1.DepositR\x07\x64\x65posit"\x7f\n\x14QueryDepositsRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x94\x01\n\x15QueryDepositsResponse\x12\x32\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x16.cosmos.gov.v1.DepositR\x08\x64\x65posits\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"L\n\x18QueryTallyResultResponse\x12\x30\n\x05tally\x18\x01 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyResultR\x05tally2\xe3\t\n\x05Query\x12\x86\x01\n\x0c\x43onstitution\x12\'.cosmos.gov.v1.QueryConstitutionRequest\x1a(.cosmos.gov.v1.QueryConstitutionResponse"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/gov/v1/constitution\x12\x85\x01\n\x08Proposal\x12#.cosmos.gov.v1.QueryProposalRequest\x1a$.cosmos.gov.v1.QueryProposalResponse".\x82\xd3\xe4\x93\x02(\x12&/cosmos/gov/v1/proposals/{proposal_id}\x12z\n\tProposals\x12$.cosmos.gov.v1.QueryProposalsRequest\x1a%.cosmos.gov.v1.QueryProposalsResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cosmos/gov/v1/proposals\x12\x87\x01\n\x04Vote\x12\x1f.cosmos.gov.v1.QueryVoteRequest\x1a .cosmos.gov.v1.QueryVoteResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}\x12\x82\x01\n\x05Votes\x12 .cosmos.gov.v1.QueryVotesRequest\x1a!.cosmos.gov.v1.QueryVotesResponse"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/gov/v1/proposals/{proposal_id}/votes\x12|\n\x06Params\x12!.cosmos.gov.v1.QueryParamsRequest\x1a".cosmos.gov.v1.QueryParamsResponse"+\x82\xd3\xe4\x93\x02%\x12#/cosmos/gov/v1/params/{params_type}\x12\x97\x01\n\x07\x44\x65posit\x12".cosmos.gov.v1.QueryDepositRequest\x1a#.cosmos.gov.v1.QueryDepositResponse"C\x82\xd3\xe4\x93\x02=\x12;/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}\x12\x8e\x01\n\x08\x44\x65posits\x12#.cosmos.gov.v1.QueryDepositsRequest\x1a$.cosmos.gov.v1.QueryDepositsResponse"7\x82\xd3\xe4\x93\x02\x31\x12//cosmos/gov/v1/proposals/{proposal_id}/deposits\x12\x94\x01\n\x0bTallyResult\x12&.cosmos.gov.v1.QueryTallyResultRequest\x1a\'.cosmos.gov.v1.QueryTallyResultResponse"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/gov/v1/proposals/{proposal_id}/tallyB\xa2\x01\n\x11\x63om.cosmos.gov.v1B\nQueryProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.v1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.gov.v1B\nQueryProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1' - _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['voter']._loaded_options = None - _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['depositor']._loaded_options = None - _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYVOTEREQUEST'].fields_by_name['voter']._loaded_options = None - _globals['_QUERYVOTEREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['voting_params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['voting_params']._serialized_options = b'\030\001' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['deposit_params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['deposit_params']._serialized_options = b'\030\001' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['tally_params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['tally_params']._serialized_options = b'\030\001' - _globals['_QUERYDEPOSITREQUEST'].fields_by_name['depositor']._loaded_options = None - _globals['_QUERYDEPOSITREQUEST'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERY'].methods_by_name['Constitution']._loaded_options = None - _globals['_QUERY'].methods_by_name['Constitution']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/gov/v1/constitution' - _globals['_QUERY'].methods_by_name['Proposal']._loaded_options = None - _globals['_QUERY'].methods_by_name['Proposal']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/gov/v1/proposals/{proposal_id}' - _globals['_QUERY'].methods_by_name['Proposals']._loaded_options = None - _globals['_QUERY'].methods_by_name['Proposals']._serialized_options = b'\202\323\344\223\002\032\022\030/cosmos/gov/v1/proposals' - _globals['_QUERY'].methods_by_name['Vote']._loaded_options = None - _globals['_QUERY'].methods_by_name['Vote']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}' - _globals['_QUERY'].methods_by_name['Votes']._loaded_options = None - _globals['_QUERY'].methods_by_name['Votes']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/gov/v1/proposals/{proposal_id}/votes' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002%\022#/cosmos/gov/v1/params/{params_type}' - _globals['_QUERY'].methods_by_name['Deposit']._loaded_options = None - _globals['_QUERY'].methods_by_name['Deposit']._serialized_options = b'\202\323\344\223\002=\022;/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}' - _globals['_QUERY'].methods_by_name['Deposits']._loaded_options = None - _globals['_QUERY'].methods_by_name['Deposits']._serialized_options = b'\202\323\344\223\0021\022//cosmos/gov/v1/proposals/{proposal_id}/deposits' - _globals['_QUERY'].methods_by_name['TallyResult']._loaded_options = None - _globals['_QUERY'].methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/gov/v1/proposals/{proposal_id}/tally' - _globals['_QUERYCONSTITUTIONREQUEST']._serialized_start=170 - _globals['_QUERYCONSTITUTIONREQUEST']._serialized_end=196 - _globals['_QUERYCONSTITUTIONRESPONSE']._serialized_start=198 - _globals['_QUERYCONSTITUTIONRESPONSE']._serialized_end=261 - _globals['_QUERYPROPOSALREQUEST']._serialized_start=263 - _globals['_QUERYPROPOSALREQUEST']._serialized_end=318 - _globals['_QUERYPROPOSALRESPONSE']._serialized_start=320 - _globals['_QUERYPROPOSALRESPONSE']._serialized_end=396 - _globals['_QUERYPROPOSALSREQUEST']._serialized_start=399 - _globals['_QUERYPROPOSALSREQUEST']._serialized_end=670 - _globals['_QUERYPROPOSALSRESPONSE']._serialized_start=673 - _globals['_QUERYPROPOSALSRESPONSE']._serialized_end=825 - _globals['_QUERYVOTEREQUEST']._serialized_start=827 - _globals['_QUERYVOTEREQUEST']._serialized_end=926 - _globals['_QUERYVOTERESPONSE']._serialized_start=928 - _globals['_QUERYVOTERESPONSE']._serialized_end=988 - _globals['_QUERYVOTESREQUEST']._serialized_start=990 - _globals['_QUERYVOTESREQUEST']._serialized_end=1114 - _globals['_QUERYVOTESRESPONSE']._serialized_start=1117 - _globals['_QUERYVOTESRESPONSE']._serialized_end=1253 - _globals['_QUERYPARAMSREQUEST']._serialized_start=1255 - _globals['_QUERYPARAMSREQUEST']._serialized_end=1308 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=1311 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=1589 - _globals['_QUERYDEPOSITREQUEST']._serialized_start=1591 - _globals['_QUERYDEPOSITREQUEST']._serialized_end=1701 - _globals['_QUERYDEPOSITRESPONSE']._serialized_start=1703 - _globals['_QUERYDEPOSITRESPONSE']._serialized_end=1775 - _globals['_QUERYDEPOSITSREQUEST']._serialized_start=1777 - _globals['_QUERYDEPOSITSREQUEST']._serialized_end=1904 - _globals['_QUERYDEPOSITSRESPONSE']._serialized_start=1907 - _globals['_QUERYDEPOSITSRESPONSE']._serialized_end=2055 - _globals['_QUERYTALLYRESULTREQUEST']._serialized_start=2057 - _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=2115 - _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=2117 - _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=2193 - _globals['_QUERY']._serialized_start=2196 - _globals['_QUERY']._serialized_end=3447 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\021com.cosmos.gov.v1B\nQueryProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1" + ) + _globals["_QUERYPROPOSALSREQUEST"].fields_by_name["voter"]._loaded_options = None + _globals["_QUERYPROPOSALSREQUEST"].fields_by_name[ + "voter" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYPROPOSALSREQUEST"].fields_by_name["depositor"]._loaded_options = None + _globals["_QUERYPROPOSALSREQUEST"].fields_by_name[ + "depositor" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYVOTEREQUEST"].fields_by_name["voter"]._loaded_options = None + _globals["_QUERYVOTEREQUEST"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["voting_params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["voting_params"]._serialized_options = b"\030\001" + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["deposit_params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["deposit_params"]._serialized_options = b"\030\001" + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["tally_params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["tally_params"]._serialized_options = b"\030\001" + _globals["_QUERYDEPOSITREQUEST"].fields_by_name["depositor"]._loaded_options = None + _globals["_QUERYDEPOSITREQUEST"].fields_by_name[ + "depositor" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERY"].methods_by_name["Constitution"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Constitution" + ]._serialized_options = b"\202\323\344\223\002\035\022\033/cosmos/gov/v1/constitution" + _globals["_QUERY"].methods_by_name["Proposal"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Proposal" + ]._serialized_options = b"\202\323\344\223\002(\022&/cosmos/gov/v1/proposals/{proposal_id}" + _globals["_QUERY"].methods_by_name["Proposals"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Proposals" + ]._serialized_options = b"\202\323\344\223\002\032\022\030/cosmos/gov/v1/proposals" + _globals["_QUERY"].methods_by_name["Vote"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Vote" + ]._serialized_options = b"\202\323\344\223\0026\0224/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}" + _globals["_QUERY"].methods_by_name["Votes"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Votes" + ]._serialized_options = b"\202\323\344\223\002.\022,/cosmos/gov/v1/proposals/{proposal_id}/votes" + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\202\323\344\223\002%\022#/cosmos/gov/v1/params/{params_type}" + _globals["_QUERY"].methods_by_name["Deposit"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Deposit" + ]._serialized_options = b"\202\323\344\223\002=\022;/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}" + _globals["_QUERY"].methods_by_name["Deposits"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Deposits" + ]._serialized_options = b"\202\323\344\223\0021\022//cosmos/gov/v1/proposals/{proposal_id}/deposits" + _globals["_QUERY"].methods_by_name["TallyResult"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "TallyResult" + ]._serialized_options = b"\202\323\344\223\002.\022,/cosmos/gov/v1/proposals/{proposal_id}/tally" + _globals["_QUERYCONSTITUTIONREQUEST"]._serialized_start = 170 + _globals["_QUERYCONSTITUTIONREQUEST"]._serialized_end = 196 + _globals["_QUERYCONSTITUTIONRESPONSE"]._serialized_start = 198 + _globals["_QUERYCONSTITUTIONRESPONSE"]._serialized_end = 261 + _globals["_QUERYPROPOSALREQUEST"]._serialized_start = 263 + _globals["_QUERYPROPOSALREQUEST"]._serialized_end = 318 + _globals["_QUERYPROPOSALRESPONSE"]._serialized_start = 320 + _globals["_QUERYPROPOSALRESPONSE"]._serialized_end = 396 + _globals["_QUERYPROPOSALSREQUEST"]._serialized_start = 399 + _globals["_QUERYPROPOSALSREQUEST"]._serialized_end = 670 + _globals["_QUERYPROPOSALSRESPONSE"]._serialized_start = 673 + _globals["_QUERYPROPOSALSRESPONSE"]._serialized_end = 825 + _globals["_QUERYVOTEREQUEST"]._serialized_start = 827 + _globals["_QUERYVOTEREQUEST"]._serialized_end = 926 + _globals["_QUERYVOTERESPONSE"]._serialized_start = 928 + _globals["_QUERYVOTERESPONSE"]._serialized_end = 988 + _globals["_QUERYVOTESREQUEST"]._serialized_start = 990 + _globals["_QUERYVOTESREQUEST"]._serialized_end = 1114 + _globals["_QUERYVOTESRESPONSE"]._serialized_start = 1117 + _globals["_QUERYVOTESRESPONSE"]._serialized_end = 1253 + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 1255 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 1308 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 1311 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 1589 + _globals["_QUERYDEPOSITREQUEST"]._serialized_start = 1591 + _globals["_QUERYDEPOSITREQUEST"]._serialized_end = 1701 + _globals["_QUERYDEPOSITRESPONSE"]._serialized_start = 1703 + _globals["_QUERYDEPOSITRESPONSE"]._serialized_end = 1775 + _globals["_QUERYDEPOSITSREQUEST"]._serialized_start = 1777 + _globals["_QUERYDEPOSITSREQUEST"]._serialized_end = 1904 + _globals["_QUERYDEPOSITSRESPONSE"]._serialized_start = 1907 + _globals["_QUERYDEPOSITSRESPONSE"]._serialized_end = 2055 + _globals["_QUERYTALLYRESULTREQUEST"]._serialized_start = 2057 + _globals["_QUERYTALLYRESULTREQUEST"]._serialized_end = 2115 + _globals["_QUERYTALLYRESULTRESPONSE"]._serialized_start = 2117 + _globals["_QUERYTALLYRESULTRESPONSE"]._serialized_end = 2193 + _globals["_QUERY"]._serialized_start = 2196 + _globals["_QUERY"]._serialized_end = 3447 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1/query_pb2_grpc.py index 4189082a..26b10c89 100644 --- a/pyinjective/proto/cosmos/gov/v1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/v1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the gRPC querier service for gov module - """ + """Query defines the gRPC querier service for gov module""" def __init__(self, channel): """Constructor. @@ -16,194 +15,193 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Constitution = channel.unary_unary( - '/cosmos.gov.v1.Query/Constitution', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1.Query/Constitution", + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionResponse.FromString, + _registered_method=True, + ) self.Proposal = channel.unary_unary( - '/cosmos.gov.v1.Query/Proposal', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1.Query/Proposal", + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, + _registered_method=True, + ) self.Proposals = channel.unary_unary( - '/cosmos.gov.v1.Query/Proposals', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1.Query/Proposals", + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsResponse.FromString, + _registered_method=True, + ) self.Vote = channel.unary_unary( - '/cosmos.gov.v1.Query/Vote', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1.Query/Vote", + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteResponse.FromString, + _registered_method=True, + ) self.Votes = channel.unary_unary( - '/cosmos.gov.v1.Query/Votes', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1.Query/Votes", + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesResponse.FromString, + _registered_method=True, + ) self.Params = channel.unary_unary( - '/cosmos.gov.v1.Query/Params', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1.Query/Params", + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) self.Deposit = channel.unary_unary( - '/cosmos.gov.v1.Query/Deposit', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1.Query/Deposit", + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositResponse.FromString, + _registered_method=True, + ) self.Deposits = channel.unary_unary( - '/cosmos.gov.v1.Query/Deposits', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1.Query/Deposits", + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsResponse.FromString, + _registered_method=True, + ) self.TallyResult = channel.unary_unary( - '/cosmos.gov.v1.Query/TallyResult', - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1.Query/TallyResult", + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service for gov module - """ + """Query defines the gRPC querier service for gov module""" def Constitution(self, request, context): - """Constitution queries the chain's constitution. - """ + """Constitution queries the chain's constitution.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Proposal(self, request, context): - """Proposal queries proposal details based on ProposalID. - """ + """Proposal queries proposal details based on ProposalID.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Proposals(self, request, context): - """Proposals queries all proposals based on given status. - """ + """Proposals queries all proposals based on given status.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Vote(self, request, context): - """Vote queries voted information based on proposalID, voterAddr. - """ + """Vote queries voted information based on proposalID, voterAddr.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Votes(self, request, context): - """Votes queries votes of a given proposal. - """ + """Votes queries votes of a given proposal.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Params(self, request, context): - """Params queries all parameters of the gov module. - """ + """Params queries all parameters of the gov module.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Deposit(self, request, context): - """Deposit queries single deposit information based on proposalID, depositAddr. - """ + """Deposit queries single deposit information based on proposalID, depositAddr.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Deposits(self, request, context): - """Deposits queries all deposits of a single proposal. - """ + """Deposits queries all deposits of a single proposal.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TallyResult(self, request, context): - """TallyResult queries the tally of a proposal vote. - """ + """TallyResult queries the tally of a proposal vote.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Constitution': grpc.unary_unary_rpc_method_handler( - servicer.Constitution, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionResponse.SerializeToString, - ), - 'Proposal': grpc.unary_unary_rpc_method_handler( - servicer.Proposal, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalResponse.SerializeToString, - ), - 'Proposals': grpc.unary_unary_rpc_method_handler( - servicer.Proposals, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsResponse.SerializeToString, - ), - 'Vote': grpc.unary_unary_rpc_method_handler( - servicer.Vote, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteResponse.SerializeToString, - ), - 'Votes': grpc.unary_unary_rpc_method_handler( - servicer.Votes, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesResponse.SerializeToString, - ), - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'Deposit': grpc.unary_unary_rpc_method_handler( - servicer.Deposit, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositResponse.SerializeToString, - ), - 'Deposits': grpc.unary_unary_rpc_method_handler( - servicer.Deposits, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsResponse.SerializeToString, - ), - 'TallyResult': grpc.unary_unary_rpc_method_handler( - servicer.TallyResult, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, - ), + "Constitution": grpc.unary_unary_rpc_method_handler( + servicer.Constitution, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionResponse.SerializeToString, + ), + "Proposal": grpc.unary_unary_rpc_method_handler( + servicer.Proposal, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalResponse.SerializeToString, + ), + "Proposals": grpc.unary_unary_rpc_method_handler( + servicer.Proposals, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsResponse.SerializeToString, + ), + "Vote": grpc.unary_unary_rpc_method_handler( + servicer.Vote, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteResponse.SerializeToString, + ), + "Votes": grpc.unary_unary_rpc_method_handler( + servicer.Votes, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesResponse.SerializeToString, + ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + "Deposit": grpc.unary_unary_rpc_method_handler( + servicer.Deposit, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositResponse.SerializeToString, + ), + "Deposits": grpc.unary_unary_rpc_method_handler( + servicer.Deposits, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsResponse.SerializeToString, + ), + "TallyResult": grpc.unary_unary_rpc_method_handler( + servicer.TallyResult, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.gov.v1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.gov.v1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.gov.v1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.gov.v1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service for gov module - """ + """Query defines the gRPC querier service for gov module""" @staticmethod - def Constitution(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Constitution( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1.Query/Constitution', + "/cosmos.gov.v1.Query/Constitution", cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionResponse.FromString, options, @@ -214,23 +212,26 @@ def Constitution(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Proposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Proposal( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1.Query/Proposal', + "/cosmos.gov.v1.Query/Proposal", cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, options, @@ -241,23 +242,26 @@ def Proposal(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Proposals(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Proposals( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1.Query/Proposals', + "/cosmos.gov.v1.Query/Proposals", cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsResponse.FromString, options, @@ -268,23 +272,26 @@ def Proposals(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Vote(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Vote( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1.Query/Vote', + "/cosmos.gov.v1.Query/Vote", cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteResponse.FromString, options, @@ -295,23 +302,26 @@ def Vote(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Votes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Votes( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1.Query/Votes', + "/cosmos.gov.v1.Query/Votes", cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesResponse.FromString, options, @@ -322,23 +332,26 @@ def Votes(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1.Query/Params', + "/cosmos.gov.v1.Query/Params", cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -349,23 +362,26 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Deposit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Deposit( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1.Query/Deposit', + "/cosmos.gov.v1.Query/Deposit", cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositResponse.FromString, options, @@ -376,23 +392,26 @@ def Deposit(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Deposits(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Deposits( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1.Query/Deposits', + "/cosmos.gov.v1.Query/Deposits", cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsResponse.FromString, options, @@ -403,23 +422,26 @@ def Deposits(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def TallyResult(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def TallyResult( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1.Query/TallyResult', + "/cosmos.gov.v1.Query/TallyResult", cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, options, @@ -430,4 +452,5 @@ def TallyResult(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/gov/v1/tx_pb2.py b/pyinjective/proto/cosmos/gov/v1/tx_pb2.py index c2858275..de79952c 100644 --- a/pyinjective/proto/cosmos/gov/v1/tx_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -22,90 +23,116 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x63osmos/gov/v1/tx.proto\x12\rcosmos.gov.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/gov/v1/gov.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa5\x03\n\x11MsgSubmitProposal\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x8a\x01\n\x0finitial_deposit\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0einitialDeposit\x12\x34\n\x08proposer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12\x14\n\x05title\x18\x05 \x01(\tR\x05title\x12\x18\n\x07summary\x18\x06 \x01(\tR\x07summary\x12\x1c\n\texpedited\x18\x07 \x01(\x08R\texpedited:1\x82\xe7\xb0*\x08proposer\x8a\xe7\xb0*\x1f\x63osmos-sdk/v1/MsgSubmitProposal\"<\n\x19MsgSubmitProposalResponse\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\xbb\x01\n\x14MsgExecLegacyContent\x12N\n\x07\x63ontent\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:5\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\"cosmos-sdk/v1/MsgExecLegacyContent\"\x1e\n\x1cMsgExecLegacyContentResponse\"\xe5\x01\n\x07MsgVote\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x31\n\x06option\x18\x03 \x01(\x0e\x32\x19.cosmos.gov.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata:$\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x15\x63osmos-sdk/v1/MsgVote\"\x11\n\x0fMsgVoteResponse\"\xff\x01\n\x0fMsgVoteWeighted\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12;\n\x07options\x18\x03 \x03(\x0b\x32!.cosmos.gov.v1.WeightedVoteOptionR\x07options\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata:,\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x1d\x63osmos-sdk/v1/MsgVoteWeighted\"\x19\n\x17MsgVoteWeightedResponse\"\xe6\x01\n\nMsgDeposit\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12<\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:+\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x18\x63osmos-sdk/v1/MsgDeposit\"\x14\n\x12MsgDepositResponse\"\xbb\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#cosmos-sdk/x/gov/v1/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\x8a\x01\n\x11MsgCancelProposal\x12\x30\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x0f\xea\xde\x1f\x0bproposal_idR\nproposalId\x12\x34\n\x08proposer\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer:\r\x82\xe7\xb0*\x08proposer\"\xc1\x01\n\x19MsgCancelProposalResponse\x12\x30\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x0f\xea\xde\x1f\x0bproposal_idR\nproposalId\x12I\n\rcanceled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x0c\x63\x61nceledTime\x12\'\n\x0f\x63\x61nceled_height\x18\x03 \x01(\x04R\x0e\x63\x61nceledHeight2\xe8\x04\n\x03Msg\x12\\\n\x0eSubmitProposal\x12 .cosmos.gov.v1.MsgSubmitProposal\x1a(.cosmos.gov.v1.MsgSubmitProposalResponse\x12\x65\n\x11\x45xecLegacyContent\x12#.cosmos.gov.v1.MsgExecLegacyContent\x1a+.cosmos.gov.v1.MsgExecLegacyContentResponse\x12>\n\x04Vote\x12\x16.cosmos.gov.v1.MsgVote\x1a\x1e.cosmos.gov.v1.MsgVoteResponse\x12V\n\x0cVoteWeighted\x12\x1e.cosmos.gov.v1.MsgVoteWeighted\x1a&.cosmos.gov.v1.MsgVoteWeightedResponse\x12G\n\x07\x44\x65posit\x12\x19.cosmos.gov.v1.MsgDeposit\x1a!.cosmos.gov.v1.MsgDepositResponse\x12V\n\x0cUpdateParams\x12\x1e.cosmos.gov.v1.MsgUpdateParams\x1a&.cosmos.gov.v1.MsgUpdateParamsResponse\x12\\\n\x0e\x43\x61ncelProposal\x12 .cosmos.gov.v1.MsgCancelProposal\x1a(.cosmos.gov.v1.MsgCancelProposalResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9f\x01\n\x11\x63om.cosmos.gov.v1B\x07TxProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x16\x63osmos/gov/v1/tx.proto\x12\rcosmos.gov.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/gov/v1/gov.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xa5\x03\n\x11MsgSubmitProposal\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x8a\x01\n\x0finitial_deposit\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0einitialDeposit\x12\x34\n\x08proposer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12\x14\n\x05title\x18\x05 \x01(\tR\x05title\x12\x18\n\x07summary\x18\x06 \x01(\tR\x07summary\x12\x1c\n\texpedited\x18\x07 \x01(\x08R\texpedited:1\x82\xe7\xb0*\x08proposer\x8a\xe7\xb0*\x1f\x63osmos-sdk/v1/MsgSubmitProposal"<\n\x19MsgSubmitProposalResponse\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"\xbb\x01\n\x14MsgExecLegacyContent\x12N\n\x07\x63ontent\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:5\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*"cosmos-sdk/v1/MsgExecLegacyContent"\x1e\n\x1cMsgExecLegacyContentResponse"\xe5\x01\n\x07MsgVote\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x31\n\x06option\x18\x03 \x01(\x0e\x32\x19.cosmos.gov.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata:$\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x15\x63osmos-sdk/v1/MsgVote"\x11\n\x0fMsgVoteResponse"\xff\x01\n\x0fMsgVoteWeighted\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12;\n\x07options\x18\x03 \x03(\x0b\x32!.cosmos.gov.v1.WeightedVoteOptionR\x07options\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata:,\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x1d\x63osmos-sdk/v1/MsgVoteWeighted"\x19\n\x17MsgVoteWeightedResponse"\xe6\x01\n\nMsgDeposit\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12<\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:+\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x18\x63osmos-sdk/v1/MsgDeposit"\x14\n\x12MsgDepositResponse"\xbb\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#cosmos-sdk/x/gov/v1/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse"\x8a\x01\n\x11MsgCancelProposal\x12\x30\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x0f\xea\xde\x1f\x0bproposal_idR\nproposalId\x12\x34\n\x08proposer\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer:\r\x82\xe7\xb0*\x08proposer"\xc1\x01\n\x19MsgCancelProposalResponse\x12\x30\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x0f\xea\xde\x1f\x0bproposal_idR\nproposalId\x12I\n\rcanceled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x0c\x63\x61nceledTime\x12\'\n\x0f\x63\x61nceled_height\x18\x03 \x01(\x04R\x0e\x63\x61nceledHeight2\xe8\x04\n\x03Msg\x12\\\n\x0eSubmitProposal\x12 .cosmos.gov.v1.MsgSubmitProposal\x1a(.cosmos.gov.v1.MsgSubmitProposalResponse\x12\x65\n\x11\x45xecLegacyContent\x12#.cosmos.gov.v1.MsgExecLegacyContent\x1a+.cosmos.gov.v1.MsgExecLegacyContentResponse\x12>\n\x04Vote\x12\x16.cosmos.gov.v1.MsgVote\x1a\x1e.cosmos.gov.v1.MsgVoteResponse\x12V\n\x0cVoteWeighted\x12\x1e.cosmos.gov.v1.MsgVoteWeighted\x1a&.cosmos.gov.v1.MsgVoteWeightedResponse\x12G\n\x07\x44\x65posit\x12\x19.cosmos.gov.v1.MsgDeposit\x1a!.cosmos.gov.v1.MsgDepositResponse\x12V\n\x0cUpdateParams\x12\x1e.cosmos.gov.v1.MsgUpdateParams\x1a&.cosmos.gov.v1.MsgUpdateParamsResponse\x12\\\n\x0e\x43\x61ncelProposal\x12 .cosmos.gov.v1.MsgCancelProposal\x1a(.cosmos.gov.v1.MsgCancelProposalResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9f\x01\n\x11\x63om.cosmos.gov.v1B\x07TxProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.v1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.gov.v1B\007TxProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1' - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['initial_deposit']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['initial_deposit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['proposer']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSUBMITPROPOSAL']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL']._serialized_options = b'\202\347\260*\010proposer\212\347\260*\037cosmos-sdk/v1/MsgSubmitProposal' - _globals['_MSGEXECLEGACYCONTENT'].fields_by_name['content']._loaded_options = None - _globals['_MSGEXECLEGACYCONTENT'].fields_by_name['content']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_MSGEXECLEGACYCONTENT']._loaded_options = None - _globals['_MSGEXECLEGACYCONTENT']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\"cosmos-sdk/v1/MsgExecLegacyContent' - _globals['_MSGVOTE'].fields_by_name['proposal_id']._loaded_options = None - _globals['_MSGVOTE'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' - _globals['_MSGVOTE'].fields_by_name['voter']._loaded_options = None - _globals['_MSGVOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGVOTE']._loaded_options = None - _globals['_MSGVOTE']._serialized_options = b'\202\347\260*\005voter\212\347\260*\025cosmos-sdk/v1/MsgVote' - _globals['_MSGVOTEWEIGHTED'].fields_by_name['proposal_id']._loaded_options = None - _globals['_MSGVOTEWEIGHTED'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' - _globals['_MSGVOTEWEIGHTED'].fields_by_name['voter']._loaded_options = None - _globals['_MSGVOTEWEIGHTED'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGVOTEWEIGHTED']._loaded_options = None - _globals['_MSGVOTEWEIGHTED']._serialized_options = b'\202\347\260*\005voter\212\347\260*\035cosmos-sdk/v1/MsgVoteWeighted' - _globals['_MSGDEPOSIT'].fields_by_name['proposal_id']._loaded_options = None - _globals['_MSGDEPOSIT'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' - _globals['_MSGDEPOSIT'].fields_by_name['depositor']._loaded_options = None - _globals['_MSGDEPOSIT'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGDEPOSIT'].fields_by_name['amount']._loaded_options = None - _globals['_MSGDEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGDEPOSIT']._loaded_options = None - _globals['_MSGDEPOSIT']._serialized_options = b'\202\347\260*\tdepositor\212\347\260*\030cosmos-sdk/v1/MsgDeposit' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*#cosmos-sdk/x/gov/v1/MsgUpdateParams' - _globals['_MSGCANCELPROPOSAL'].fields_by_name['proposal_id']._loaded_options = None - _globals['_MSGCANCELPROPOSAL'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id' - _globals['_MSGCANCELPROPOSAL'].fields_by_name['proposer']._loaded_options = None - _globals['_MSGCANCELPROPOSAL'].fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCANCELPROPOSAL']._loaded_options = None - _globals['_MSGCANCELPROPOSAL']._serialized_options = b'\202\347\260*\010proposer' - _globals['_MSGCANCELPROPOSALRESPONSE'].fields_by_name['proposal_id']._loaded_options = None - _globals['_MSGCANCELPROPOSALRESPONSE'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id' - _globals['_MSGCANCELPROPOSALRESPONSE'].fields_by_name['canceled_time']._loaded_options = None - _globals['_MSGCANCELPROPOSALRESPONSE'].fields_by_name['canceled_time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGSUBMITPROPOSAL']._serialized_start=252 - _globals['_MSGSUBMITPROPOSAL']._serialized_end=673 - _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_start=675 - _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_end=735 - _globals['_MSGEXECLEGACYCONTENT']._serialized_start=738 - _globals['_MSGEXECLEGACYCONTENT']._serialized_end=925 - _globals['_MSGEXECLEGACYCONTENTRESPONSE']._serialized_start=927 - _globals['_MSGEXECLEGACYCONTENTRESPONSE']._serialized_end=957 - _globals['_MSGVOTE']._serialized_start=960 - _globals['_MSGVOTE']._serialized_end=1189 - _globals['_MSGVOTERESPONSE']._serialized_start=1191 - _globals['_MSGVOTERESPONSE']._serialized_end=1208 - _globals['_MSGVOTEWEIGHTED']._serialized_start=1211 - _globals['_MSGVOTEWEIGHTED']._serialized_end=1466 - _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_start=1468 - _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_end=1493 - _globals['_MSGDEPOSIT']._serialized_start=1496 - _globals['_MSGDEPOSIT']._serialized_end=1726 - _globals['_MSGDEPOSITRESPONSE']._serialized_start=1728 - _globals['_MSGDEPOSITRESPONSE']._serialized_end=1748 - _globals['_MSGUPDATEPARAMS']._serialized_start=1751 - _globals['_MSGUPDATEPARAMS']._serialized_end=1938 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1940 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1965 - _globals['_MSGCANCELPROPOSAL']._serialized_start=1968 - _globals['_MSGCANCELPROPOSAL']._serialized_end=2106 - _globals['_MSGCANCELPROPOSALRESPONSE']._serialized_start=2109 - _globals['_MSGCANCELPROPOSALRESPONSE']._serialized_end=2302 - _globals['_MSG']._serialized_start=2305 - _globals['_MSG']._serialized_end=2921 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\021com.cosmos.gov.v1B\007TxProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1" + ) + _globals["_MSGSUBMITPROPOSAL"].fields_by_name["initial_deposit"]._loaded_options = None + _globals["_MSGSUBMITPROPOSAL"].fields_by_name[ + "initial_deposit" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_MSGSUBMITPROPOSAL"].fields_by_name["proposer"]._loaded_options = None + _globals["_MSGSUBMITPROPOSAL"].fields_by_name["proposer"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSUBMITPROPOSAL"]._loaded_options = None + _globals["_MSGSUBMITPROPOSAL"]._serialized_options = ( + b"\202\347\260*\010proposer\212\347\260*\037cosmos-sdk/v1/MsgSubmitProposal" + ) + _globals["_MSGEXECLEGACYCONTENT"].fields_by_name["content"]._loaded_options = None + _globals["_MSGEXECLEGACYCONTENT"].fields_by_name[ + "content" + ]._serialized_options = b"\312\264-\032cosmos.gov.v1beta1.Content" + _globals["_MSGEXECLEGACYCONTENT"]._loaded_options = None + _globals["_MSGEXECLEGACYCONTENT"]._serialized_options = ( + b'\202\347\260*\tauthority\212\347\260*"cosmos-sdk/v1/MsgExecLegacyContent' + ) + _globals["_MSGVOTE"].fields_by_name["proposal_id"]._loaded_options = None + _globals["_MSGVOTE"].fields_by_name[ + "proposal_id" + ]._serialized_options = b"\352\336\037\013proposal_id\250\347\260*\001" + _globals["_MSGVOTE"].fields_by_name["voter"]._loaded_options = None + _globals["_MSGVOTE"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGVOTE"]._loaded_options = None + _globals["_MSGVOTE"]._serialized_options = b"\202\347\260*\005voter\212\347\260*\025cosmos-sdk/v1/MsgVote" + _globals["_MSGVOTEWEIGHTED"].fields_by_name["proposal_id"]._loaded_options = None + _globals["_MSGVOTEWEIGHTED"].fields_by_name[ + "proposal_id" + ]._serialized_options = b"\352\336\037\013proposal_id\250\347\260*\001" + _globals["_MSGVOTEWEIGHTED"].fields_by_name["voter"]._loaded_options = None + _globals["_MSGVOTEWEIGHTED"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGVOTEWEIGHTED"]._loaded_options = None + _globals["_MSGVOTEWEIGHTED"]._serialized_options = ( + b"\202\347\260*\005voter\212\347\260*\035cosmos-sdk/v1/MsgVoteWeighted" + ) + _globals["_MSGDEPOSIT"].fields_by_name["proposal_id"]._loaded_options = None + _globals["_MSGDEPOSIT"].fields_by_name[ + "proposal_id" + ]._serialized_options = b"\352\336\037\013proposal_id\250\347\260*\001" + _globals["_MSGDEPOSIT"].fields_by_name["depositor"]._loaded_options = None + _globals["_MSGDEPOSIT"].fields_by_name["depositor"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGDEPOSIT"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGDEPOSIT"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGDEPOSIT"]._loaded_options = None + _globals["_MSGDEPOSIT"]._serialized_options = b"\202\347\260*\tdepositor\212\347\260*\030cosmos-sdk/v1/MsgDeposit" + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*#cosmos-sdk/x/gov/v1/MsgUpdateParams" + ) + _globals["_MSGCANCELPROPOSAL"].fields_by_name["proposal_id"]._loaded_options = None + _globals["_MSGCANCELPROPOSAL"].fields_by_name["proposal_id"]._serialized_options = b"\352\336\037\013proposal_id" + _globals["_MSGCANCELPROPOSAL"].fields_by_name["proposer"]._loaded_options = None + _globals["_MSGCANCELPROPOSAL"].fields_by_name["proposer"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGCANCELPROPOSAL"]._loaded_options = None + _globals["_MSGCANCELPROPOSAL"]._serialized_options = b"\202\347\260*\010proposer" + _globals["_MSGCANCELPROPOSALRESPONSE"].fields_by_name["proposal_id"]._loaded_options = None + _globals["_MSGCANCELPROPOSALRESPONSE"].fields_by_name[ + "proposal_id" + ]._serialized_options = b"\352\336\037\013proposal_id" + _globals["_MSGCANCELPROPOSALRESPONSE"].fields_by_name["canceled_time"]._loaded_options = None + _globals["_MSGCANCELPROPOSALRESPONSE"].fields_by_name[ + "canceled_time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGSUBMITPROPOSAL"]._serialized_start = 252 + _globals["_MSGSUBMITPROPOSAL"]._serialized_end = 673 + _globals["_MSGSUBMITPROPOSALRESPONSE"]._serialized_start = 675 + _globals["_MSGSUBMITPROPOSALRESPONSE"]._serialized_end = 735 + _globals["_MSGEXECLEGACYCONTENT"]._serialized_start = 738 + _globals["_MSGEXECLEGACYCONTENT"]._serialized_end = 925 + _globals["_MSGEXECLEGACYCONTENTRESPONSE"]._serialized_start = 927 + _globals["_MSGEXECLEGACYCONTENTRESPONSE"]._serialized_end = 957 + _globals["_MSGVOTE"]._serialized_start = 960 + _globals["_MSGVOTE"]._serialized_end = 1189 + _globals["_MSGVOTERESPONSE"]._serialized_start = 1191 + _globals["_MSGVOTERESPONSE"]._serialized_end = 1208 + _globals["_MSGVOTEWEIGHTED"]._serialized_start = 1211 + _globals["_MSGVOTEWEIGHTED"]._serialized_end = 1466 + _globals["_MSGVOTEWEIGHTEDRESPONSE"]._serialized_start = 1468 + _globals["_MSGVOTEWEIGHTEDRESPONSE"]._serialized_end = 1493 + _globals["_MSGDEPOSIT"]._serialized_start = 1496 + _globals["_MSGDEPOSIT"]._serialized_end = 1726 + _globals["_MSGDEPOSITRESPONSE"]._serialized_start = 1728 + _globals["_MSGDEPOSITRESPONSE"]._serialized_end = 1748 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 1751 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 1938 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1940 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1965 + _globals["_MSGCANCELPROPOSAL"]._serialized_start = 1968 + _globals["_MSGCANCELPROPOSAL"]._serialized_end = 2106 + _globals["_MSGCANCELPROPOSALRESPONSE"]._serialized_start = 2109 + _globals["_MSGCANCELPROPOSALRESPONSE"]._serialized_end = 2302 + _globals["_MSG"]._serialized_start = 2305 + _globals["_MSG"]._serialized_end = 2921 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1/tx_pb2_grpc.py index a1defed3..fc8873c3 100644 --- a/pyinjective/proto/cosmos/gov/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/v1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the gov Msg service. - """ + """Msg defines the gov Msg service.""" def __init__(self, channel): """Constructor. @@ -16,81 +15,83 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.SubmitProposal = channel.unary_unary( - '/cosmos.gov.v1.Msg/SubmitProposal', - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1.Msg/SubmitProposal", + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, + _registered_method=True, + ) self.ExecLegacyContent = channel.unary_unary( - '/cosmos.gov.v1.Msg/ExecLegacyContent', - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContent.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContentResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1.Msg/ExecLegacyContent", + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContent.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContentResponse.FromString, + _registered_method=True, + ) self.Vote = channel.unary_unary( - '/cosmos.gov.v1.Msg/Vote', - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1.Msg/Vote", + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, + _registered_method=True, + ) self.VoteWeighted = channel.unary_unary( - '/cosmos.gov.v1.Msg/VoteWeighted', - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1.Msg/VoteWeighted", + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, + _registered_method=True, + ) self.Deposit = channel.unary_unary( - '/cosmos.gov.v1.Msg/Deposit', - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDeposit.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDepositResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1.Msg/Deposit", + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDeposit.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDepositResponse.FromString, + _registered_method=True, + ) self.UpdateParams = channel.unary_unary( - '/cosmos.gov.v1.Msg/UpdateParams', - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1.Msg/UpdateParams", + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) self.CancelProposal = channel.unary_unary( - '/cosmos.gov.v1.Msg/CancelProposal', - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposal.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposalResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1.Msg/CancelProposal", + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposal.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposalResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the gov Msg service. - """ + """Msg defines the gov Msg service.""" def SubmitProposal(self, request, context): - """SubmitProposal defines a method to create new proposal given the messages. - """ + """SubmitProposal defines a method to create new proposal given the messages.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ExecLegacyContent(self, request, context): """ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal to execute a legacy content-based proposal. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Vote(self, request, context): - """Vote defines a method to add a vote on a specific proposal. - """ + """Vote defines a method to add a vote on a specific proposal.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def VoteWeighted(self, request, context): - """VoteWeighted defines a method to add a weighted vote on a specific proposal. - """ + """VoteWeighted defines a method to add a weighted vote on a specific proposal.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Deposit(self, request, context): - """Deposit defines a method to add deposit on a specific proposal. - """ + """Deposit defines a method to add deposit on a specific proposal.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateParams(self, request, context): """UpdateParams defines a governance operation for updating the x/gov module @@ -99,8 +100,8 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CancelProposal(self, request, context): """CancelProposal defines a method to cancel governance proposal @@ -108,74 +109,74 @@ def CancelProposal(self, request, context): Since: cosmos-sdk 0.50 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'SubmitProposal': grpc.unary_unary_rpc_method_handler( - servicer.SubmitProposal, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposal.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, - ), - 'ExecLegacyContent': grpc.unary_unary_rpc_method_handler( - servicer.ExecLegacyContent, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContent.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContentResponse.SerializeToString, - ), - 'Vote': grpc.unary_unary_rpc_method_handler( - servicer.Vote, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVote.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteResponse.SerializeToString, - ), - 'VoteWeighted': grpc.unary_unary_rpc_method_handler( - servicer.VoteWeighted, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeighted.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeightedResponse.SerializeToString, - ), - 'Deposit': grpc.unary_unary_rpc_method_handler( - servicer.Deposit, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDeposit.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDepositResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'CancelProposal': grpc.unary_unary_rpc_method_handler( - servicer.CancelProposal, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposal.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposalResponse.SerializeToString, - ), + "SubmitProposal": grpc.unary_unary_rpc_method_handler( + servicer.SubmitProposal, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposal.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, + ), + "ExecLegacyContent": grpc.unary_unary_rpc_method_handler( + servicer.ExecLegacyContent, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContent.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContentResponse.SerializeToString, + ), + "Vote": grpc.unary_unary_rpc_method_handler( + servicer.Vote, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVote.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteResponse.SerializeToString, + ), + "VoteWeighted": grpc.unary_unary_rpc_method_handler( + servicer.VoteWeighted, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeighted.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeightedResponse.SerializeToString, + ), + "Deposit": grpc.unary_unary_rpc_method_handler( + servicer.Deposit, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDeposit.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDepositResponse.SerializeToString, + ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + "CancelProposal": grpc.unary_unary_rpc_method_handler( + servicer.CancelProposal, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposal.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposalResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.gov.v1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.gov.v1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.gov.v1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.gov.v1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the gov Msg service. - """ + """Msg defines the gov Msg service.""" @staticmethod - def SubmitProposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SubmitProposal( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1.Msg/SubmitProposal', + "/cosmos.gov.v1.Msg/SubmitProposal", cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, options, @@ -186,23 +187,26 @@ def SubmitProposal(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ExecLegacyContent(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ExecLegacyContent( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1.Msg/ExecLegacyContent', + "/cosmos.gov.v1.Msg/ExecLegacyContent", cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContent.SerializeToString, cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContentResponse.FromString, options, @@ -213,23 +217,26 @@ def ExecLegacyContent(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Vote(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Vote( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1.Msg/Vote', + "/cosmos.gov.v1.Msg/Vote", cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, options, @@ -240,23 +247,26 @@ def Vote(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def VoteWeighted(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def VoteWeighted( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1.Msg/VoteWeighted', + "/cosmos.gov.v1.Msg/VoteWeighted", cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, options, @@ -267,23 +277,26 @@ def VoteWeighted(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Deposit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Deposit( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1.Msg/Deposit', + "/cosmos.gov.v1.Msg/Deposit", cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDeposit.SerializeToString, cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDepositResponse.FromString, options, @@ -294,23 +307,26 @@ def Deposit(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1.Msg/UpdateParams', + "/cosmos.gov.v1.Msg/UpdateParams", cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -321,23 +337,26 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CancelProposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CancelProposal( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1.Msg/CancelProposal', + "/cosmos.gov.v1.Msg/CancelProposal", cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposal.SerializeToString, cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposalResponse.FromString, options, @@ -348,4 +367,5 @@ def CancelProposal(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py index 6b20275e..02e0c4b2 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,26 +18,38 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/gov/v1beta1/genesis.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x11\x61mino/amino.proto\"\x9e\x04\n\x0cGenesisState\x12\x30\n\x14starting_proposal_id\x18\x01 \x01(\x04R\x12startingProposalId\x12N\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\x15\xc8\xde\x1f\x00\xaa\xdf\x1f\x08\x44\x65posits\xa8\xe7\xb0*\x01R\x08\x64\x65posits\x12\x42\n\x05votes\x18\x03 \x03(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\x12\xc8\xde\x1f\x00\xaa\xdf\x1f\x05Votes\xa8\xe7\xb0*\x01R\x05votes\x12R\n\tproposals\x18\x04 \x03(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\x16\xc8\xde\x1f\x00\xaa\xdf\x1f\tProposals\xa8\xe7\xb0*\x01R\tproposals\x12S\n\x0e\x64\x65posit_params\x18\x05 \x01(\x0b\x32!.cosmos.gov.v1beta1.DepositParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdepositParams\x12P\n\rvoting_params\x18\x06 \x01(\x0b\x32 .cosmos.gov.v1beta1.VotingParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cvotingParams\x12M\n\x0ctally_params\x18\x07 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0btallyParamsB\xc2\x01\n\x16\x63om.cosmos.gov.v1beta1B\x0cGenesisProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n cosmos/gov/v1beta1/genesis.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x11\x61mino/amino.proto"\x9e\x04\n\x0cGenesisState\x12\x30\n\x14starting_proposal_id\x18\x01 \x01(\x04R\x12startingProposalId\x12N\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\x15\xc8\xde\x1f\x00\xaa\xdf\x1f\x08\x44\x65posits\xa8\xe7\xb0*\x01R\x08\x64\x65posits\x12\x42\n\x05votes\x18\x03 \x03(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\x12\xc8\xde\x1f\x00\xaa\xdf\x1f\x05Votes\xa8\xe7\xb0*\x01R\x05votes\x12R\n\tproposals\x18\x04 \x03(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\x16\xc8\xde\x1f\x00\xaa\xdf\x1f\tProposals\xa8\xe7\xb0*\x01R\tproposals\x12S\n\x0e\x64\x65posit_params\x18\x05 \x01(\x0b\x32!.cosmos.gov.v1beta1.DepositParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdepositParams\x12P\n\rvoting_params\x18\x06 \x01(\x0b\x32 .cosmos.gov.v1beta1.VotingParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cvotingParams\x12M\n\x0ctally_params\x18\x07 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0btallyParamsB\xc2\x01\n\x16\x63om.cosmos.gov.v1beta1B\x0cGenesisProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.gov.v1beta1B\014GenesisProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['deposits']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['deposits']._serialized_options = b'\310\336\037\000\252\337\037\010Deposits\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['votes']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['votes']._serialized_options = b'\310\336\037\000\252\337\037\005Votes\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['proposals']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['proposals']._serialized_options = b'\310\336\037\000\252\337\037\tProposals\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['deposit_params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['deposit_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['voting_params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['voting_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['tally_params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['tally_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE']._serialized_start=128 - _globals['_GENESISSTATE']._serialized_end=670 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.cosmos.gov.v1beta1B\014GenesisProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1" + ) + _globals["_GENESISSTATE"].fields_by_name["deposits"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "deposits" + ]._serialized_options = b"\310\336\037\000\252\337\037\010Deposits\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["votes"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "votes" + ]._serialized_options = b"\310\336\037\000\252\337\037\005Votes\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["proposals"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "proposals" + ]._serialized_options = b"\310\336\037\000\252\337\037\tProposals\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["deposit_params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "deposit_params" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["voting_params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["voting_params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["tally_params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["tally_params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"]._serialized_start = 128 + _globals["_GENESISSTATE"]._serialized_end = 670 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/gov/v1beta1/gov_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2.py index 100d1d14..58681715 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2.py @@ -7,6 +7,7 @@ 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() @@ -21,118 +22,180 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/gov/v1beta1/gov.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x9c\x01\n\x12WeightedVoteOption\x12\x36\n\x06option\x18\x01 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionR\x06option\x12N\n\x06weight\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x06weight\"\x86\x01\n\x0cTextProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription:>\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17\x63osmos-sdk/TextProposal\"\xd6\x01\n\x07\x44\x65posit\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12h\n\x06\x61mount\x18\x03 \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*\x01R\x06\x61mount:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd9\x05\n\x08Proposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12N\n\x07\x63ontent\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12:\n\x06status\x18\x03 \x01(\x0e\x32\".cosmos.gov.v1beta1.ProposalStatusR\x06status\x12X\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x10\x66inalTallyResult\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime\x12S\n\x10\x64\x65posit_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x64\x65positEndTime\x12u\n\rtotal_deposit\x18\x07 \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*\x01R\x0ctotalDeposit\x12U\n\x11voting_start_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0fvotingStartTime\x12Q\n\x0fvoting_end_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\rvotingEndTime:\x04\xe8\xa0\x1f\x01\"\xa5\x02\n\x0bTallyResult\x12=\n\x03yes\x18\x01 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x03yes\x12\x45\n\x07\x61\x62stain\x18\x02 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x61\x62stain\x12;\n\x02no\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x02no\x12M\n\x0cno_with_veto\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\nnoWithVeto:\x04\xe8\xa0\x1f\x01\"\xfa\x01\n\x04Vote\x12\x33\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x12\xea\xde\x1f\x02id\xa2\xe7\xb0*\x02id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12:\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionB\x02\x18\x01R\x06option\x12K\n\x07options\x18\x04 \x03(\x0b\x32&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07options:\x04\xe8\xa0\x1f\x00\"\x8a\x02\n\rDepositParams\x12\x85\x01\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBI\xc8\xde\x1f\x00\xea\xde\x1f\x15min_deposit,omitempty\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\nminDeposit\x12q\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB(\xc8\xde\x1f\x00\xea\xde\x1f\x1cmax_deposit_period,omitempty\x98\xdf\x1f\x01R\x10maxDepositPeriod\"s\n\x0cVotingParams\x12\x63\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB#\xc8\xde\x1f\x00\xea\xde\x1f\x17voting_period,omitempty\x98\xdf\x1f\x01R\x0cvotingPeriod\"\xca\x02\n\x0bTallyParams\x12]\n\x06quorum\x18\x01 \x01(\x0c\x42\x45\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x10quorum,omitempty\xd2\xb4-\ncosmos.DecR\x06quorum\x12\x66\n\tthreshold\x18\x02 \x01(\x0c\x42H\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x13threshold,omitempty\xd2\xb4-\ncosmos.DecR\tthreshold\x12t\n\x0eveto_threshold\x18\x03 \x01(\x0c\x42M\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x18veto_threshold,omitempty\xd2\xb4-\ncosmos.DecR\rvetoThreshold*\xe6\x01\n\nVoteOption\x12,\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bOptionEmpty\x12\"\n\x0fVOTE_OPTION_YES\x10\x01\x1a\r\x8a\x9d \tOptionYes\x12*\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x1a\x11\x8a\x9d \rOptionAbstain\x12 \n\x0eVOTE_OPTION_NO\x10\x03\x1a\x0c\x8a\x9d \x08OptionNo\x12\x32\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04\x1a\x14\x8a\x9d \x10OptionNoWithVeto\x1a\x04\x88\xa3\x1e\x00*\xcc\x02\n\x0eProposalStatus\x12.\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x1a\r\x8a\x9d \tStatusNil\x12;\n\x1ePROPOSAL_STATUS_DEPOSIT_PERIOD\x10\x01\x1a\x17\x8a\x9d \x13StatusDepositPeriod\x12\x39\n\x1dPROPOSAL_STATUS_VOTING_PERIOD\x10\x02\x1a\x16\x8a\x9d \x12StatusVotingPeriod\x12,\n\x16PROPOSAL_STATUS_PASSED\x10\x03\x1a\x10\x8a\x9d \x0cStatusPassed\x12\x30\n\x18PROPOSAL_STATUS_REJECTED\x10\x04\x1a\x12\x8a\x9d \x0eStatusRejected\x12,\n\x16PROPOSAL_STATUS_FAILED\x10\x05\x1a\x10\x8a\x9d \x0cStatusFailed\x1a\x04\x88\xa3\x1e\x00\x42\xc2\x01\n\x16\x63om.cosmos.gov.v1beta1B\x08GovProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1c\x63osmos/gov/v1beta1/gov.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\x9c\x01\n\x12WeightedVoteOption\x12\x36\n\x06option\x18\x01 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionR\x06option\x12N\n\x06weight\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x06weight"\x86\x01\n\x0cTextProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription:>\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17\x63osmos-sdk/TextProposal"\xd6\x01\n\x07\x44\x65posit\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12h\n\x06\x61mount\x18\x03 \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*\x01R\x06\x61mount:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xd9\x05\n\x08Proposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12N\n\x07\x63ontent\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12:\n\x06status\x18\x03 \x01(\x0e\x32".cosmos.gov.v1beta1.ProposalStatusR\x06status\x12X\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x10\x66inalTallyResult\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime\x12S\n\x10\x64\x65posit_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x64\x65positEndTime\x12u\n\rtotal_deposit\x18\x07 \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*\x01R\x0ctotalDeposit\x12U\n\x11voting_start_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0fvotingStartTime\x12Q\n\x0fvoting_end_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\rvotingEndTime:\x04\xe8\xa0\x1f\x01"\xa5\x02\n\x0bTallyResult\x12=\n\x03yes\x18\x01 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x03yes\x12\x45\n\x07\x61\x62stain\x18\x02 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x61\x62stain\x12;\n\x02no\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x02no\x12M\n\x0cno_with_veto\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\nnoWithVeto:\x04\xe8\xa0\x1f\x01"\xfa\x01\n\x04Vote\x12\x33\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x12\xea\xde\x1f\x02id\xa2\xe7\xb0*\x02id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12:\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionB\x02\x18\x01R\x06option\x12K\n\x07options\x18\x04 \x03(\x0b\x32&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07options:\x04\xe8\xa0\x1f\x00"\x8a\x02\n\rDepositParams\x12\x85\x01\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBI\xc8\xde\x1f\x00\xea\xde\x1f\x15min_deposit,omitempty\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\nminDeposit\x12q\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB(\xc8\xde\x1f\x00\xea\xde\x1f\x1cmax_deposit_period,omitempty\x98\xdf\x1f\x01R\x10maxDepositPeriod"s\n\x0cVotingParams\x12\x63\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB#\xc8\xde\x1f\x00\xea\xde\x1f\x17voting_period,omitempty\x98\xdf\x1f\x01R\x0cvotingPeriod"\xca\x02\n\x0bTallyParams\x12]\n\x06quorum\x18\x01 \x01(\x0c\x42\x45\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x10quorum,omitempty\xd2\xb4-\ncosmos.DecR\x06quorum\x12\x66\n\tthreshold\x18\x02 \x01(\x0c\x42H\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x13threshold,omitempty\xd2\xb4-\ncosmos.DecR\tthreshold\x12t\n\x0eveto_threshold\x18\x03 \x01(\x0c\x42M\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x18veto_threshold,omitempty\xd2\xb4-\ncosmos.DecR\rvetoThreshold*\xe6\x01\n\nVoteOption\x12,\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bOptionEmpty\x12"\n\x0fVOTE_OPTION_YES\x10\x01\x1a\r\x8a\x9d \tOptionYes\x12*\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x1a\x11\x8a\x9d \rOptionAbstain\x12 \n\x0eVOTE_OPTION_NO\x10\x03\x1a\x0c\x8a\x9d \x08OptionNo\x12\x32\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04\x1a\x14\x8a\x9d \x10OptionNoWithVeto\x1a\x04\x88\xa3\x1e\x00*\xcc\x02\n\x0eProposalStatus\x12.\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x1a\r\x8a\x9d \tStatusNil\x12;\n\x1ePROPOSAL_STATUS_DEPOSIT_PERIOD\x10\x01\x1a\x17\x8a\x9d \x13StatusDepositPeriod\x12\x39\n\x1dPROPOSAL_STATUS_VOTING_PERIOD\x10\x02\x1a\x16\x8a\x9d \x12StatusVotingPeriod\x12,\n\x16PROPOSAL_STATUS_PASSED\x10\x03\x1a\x10\x8a\x9d \x0cStatusPassed\x12\x30\n\x18PROPOSAL_STATUS_REJECTED\x10\x04\x1a\x12\x8a\x9d \x0eStatusRejected\x12,\n\x16PROPOSAL_STATUS_FAILED\x10\x05\x1a\x10\x8a\x9d \x0cStatusFailed\x1a\x04\x88\xa3\x1e\x00\x42\xc2\x01\n\x16\x63om.cosmos.gov.v1beta1B\x08GovProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.gov_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.v1beta1.gov_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.gov.v1beta1B\010GovProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1\310\341\036\000' - _globals['_VOTEOPTION']._loaded_options = None - _globals['_VOTEOPTION']._serialized_options = b'\210\243\036\000' - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_UNSPECIFIED"]._loaded_options = None - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_UNSPECIFIED"]._serialized_options = b'\212\235 \013OptionEmpty' - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_YES"]._loaded_options = None - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_YES"]._serialized_options = b'\212\235 \tOptionYes' - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_ABSTAIN"]._loaded_options = None - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_ABSTAIN"]._serialized_options = b'\212\235 \rOptionAbstain' - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_NO"]._loaded_options = None - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_NO"]._serialized_options = b'\212\235 \010OptionNo' - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_NO_WITH_VETO"]._loaded_options = None - _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_NO_WITH_VETO"]._serialized_options = b'\212\235 \020OptionNoWithVeto' - _globals['_PROPOSALSTATUS']._loaded_options = None - _globals['_PROPOSALSTATUS']._serialized_options = b'\210\243\036\000' - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_UNSPECIFIED"]._loaded_options = None - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_UNSPECIFIED"]._serialized_options = b'\212\235 \tStatusNil' - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_DEPOSIT_PERIOD"]._loaded_options = None - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_DEPOSIT_PERIOD"]._serialized_options = b'\212\235 \023StatusDepositPeriod' - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_VOTING_PERIOD"]._loaded_options = None - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_VOTING_PERIOD"]._serialized_options = b'\212\235 \022StatusVotingPeriod' - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_PASSED"]._loaded_options = None - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_PASSED"]._serialized_options = b'\212\235 \014StatusPassed' - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_REJECTED"]._loaded_options = None - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_REJECTED"]._serialized_options = b'\212\235 \016StatusRejected' - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_FAILED"]._loaded_options = None - _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_FAILED"]._serialized_options = b'\212\235 \014StatusFailed' - _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._loaded_options = None - _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_TEXTPROPOSAL']._loaded_options = None - _globals['_TEXTPROPOSAL']._serialized_options = b'\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027cosmos-sdk/TextProposal' - _globals['_DEPOSIT'].fields_by_name['depositor']._loaded_options = None - _globals['_DEPOSIT'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DEPOSIT'].fields_by_name['amount']._loaded_options = None - _globals['_DEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' - _globals['_DEPOSIT']._loaded_options = None - _globals['_DEPOSIT']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_PROPOSAL'].fields_by_name['content']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['content']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_PROPOSAL'].fields_by_name['final_tally_result']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['final_tally_result']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['submit_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['submit_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['total_deposit']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['total_deposit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['voting_start_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['voting_start_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['voting_end_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['voting_end_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_PROPOSAL']._loaded_options = None - _globals['_PROPOSAL']._serialized_options = b'\350\240\037\001' - _globals['_TALLYRESULT'].fields_by_name['yes']._loaded_options = None - _globals['_TALLYRESULT'].fields_by_name['yes']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_TALLYRESULT'].fields_by_name['abstain']._loaded_options = None - _globals['_TALLYRESULT'].fields_by_name['abstain']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_TALLYRESULT'].fields_by_name['no']._loaded_options = None - _globals['_TALLYRESULT'].fields_by_name['no']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_TALLYRESULT'].fields_by_name['no_with_veto']._loaded_options = None - _globals['_TALLYRESULT'].fields_by_name['no_with_veto']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_TALLYRESULT']._loaded_options = None - _globals['_TALLYRESULT']._serialized_options = b'\350\240\037\001' - _globals['_VOTE'].fields_by_name['proposal_id']._loaded_options = None - _globals['_VOTE'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\002id\242\347\260*\002id\250\347\260*\001' - _globals['_VOTE'].fields_by_name['voter']._loaded_options = None - _globals['_VOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_VOTE'].fields_by_name['option']._loaded_options = None - _globals['_VOTE'].fields_by_name['option']._serialized_options = b'\030\001' - _globals['_VOTE'].fields_by_name['options']._loaded_options = None - _globals['_VOTE'].fields_by_name['options']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_VOTE']._loaded_options = None - _globals['_VOTE']._serialized_options = b'\350\240\037\000' - _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._loaded_options = None - _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._serialized_options = b'\310\336\037\000\352\336\037\025min_deposit,omitempty\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._loaded_options = None - _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._serialized_options = b'\310\336\037\000\352\336\037\034max_deposit_period,omitempty\230\337\037\001' - _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._loaded_options = None - _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._serialized_options = b'\310\336\037\000\352\336\037\027voting_period,omitempty\230\337\037\001' - _globals['_TALLYPARAMS'].fields_by_name['quorum']._loaded_options = None - _globals['_TALLYPARAMS'].fields_by_name['quorum']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\020quorum,omitempty\322\264-\ncosmos.Dec' - _globals['_TALLYPARAMS'].fields_by_name['threshold']._loaded_options = None - _globals['_TALLYPARAMS'].fields_by_name['threshold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\023threshold,omitempty\322\264-\ncosmos.Dec' - _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._loaded_options = None - _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\030veto_threshold,omitempty\322\264-\ncosmos.Dec' - _globals['_VOTEOPTION']._serialized_start=2758 - _globals['_VOTEOPTION']._serialized_end=2988 - _globals['_PROPOSALSTATUS']._serialized_start=2991 - _globals['_PROPOSALSTATUS']._serialized_end=3323 - _globals['_WEIGHTEDVOTEOPTION']._serialized_start=245 - _globals['_WEIGHTEDVOTEOPTION']._serialized_end=401 - _globals['_TEXTPROPOSAL']._serialized_start=404 - _globals['_TEXTPROPOSAL']._serialized_end=538 - _globals['_DEPOSIT']._serialized_start=541 - _globals['_DEPOSIT']._serialized_end=755 - _globals['_PROPOSAL']._serialized_start=758 - _globals['_PROPOSAL']._serialized_end=1487 - _globals['_TALLYRESULT']._serialized_start=1490 - _globals['_TALLYRESULT']._serialized_end=1783 - _globals['_VOTE']._serialized_start=1786 - _globals['_VOTE']._serialized_end=2036 - _globals['_DEPOSITPARAMS']._serialized_start=2039 - _globals['_DEPOSITPARAMS']._serialized_end=2305 - _globals['_VOTINGPARAMS']._serialized_start=2307 - _globals['_VOTINGPARAMS']._serialized_end=2422 - _globals['_TALLYPARAMS']._serialized_start=2425 - _globals['_TALLYPARAMS']._serialized_end=2755 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.cosmos.gov.v1beta1B\010GovProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1\310\341\036\000" + ) + _globals["_VOTEOPTION"]._loaded_options = None + _globals["_VOTEOPTION"]._serialized_options = b"\210\243\036\000" + _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_UNSPECIFIED"]._loaded_options = None + _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_UNSPECIFIED"]._serialized_options = b"\212\235 \013OptionEmpty" + _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_YES"]._loaded_options = None + _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_YES"]._serialized_options = b"\212\235 \tOptionYes" + _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_ABSTAIN"]._loaded_options = None + _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_ABSTAIN"]._serialized_options = b"\212\235 \rOptionAbstain" + _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_NO"]._loaded_options = None + _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_NO"]._serialized_options = b"\212\235 \010OptionNo" + _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_NO_WITH_VETO"]._loaded_options = None + _globals["_VOTEOPTION"].values_by_name[ + "VOTE_OPTION_NO_WITH_VETO" + ]._serialized_options = b"\212\235 \020OptionNoWithVeto" + _globals["_PROPOSALSTATUS"]._loaded_options = None + _globals["_PROPOSALSTATUS"]._serialized_options = b"\210\243\036\000" + _globals["_PROPOSALSTATUS"].values_by_name["PROPOSAL_STATUS_UNSPECIFIED"]._loaded_options = None + _globals["_PROPOSALSTATUS"].values_by_name[ + "PROPOSAL_STATUS_UNSPECIFIED" + ]._serialized_options = b"\212\235 \tStatusNil" + _globals["_PROPOSALSTATUS"].values_by_name["PROPOSAL_STATUS_DEPOSIT_PERIOD"]._loaded_options = None + _globals["_PROPOSALSTATUS"].values_by_name[ + "PROPOSAL_STATUS_DEPOSIT_PERIOD" + ]._serialized_options = b"\212\235 \023StatusDepositPeriod" + _globals["_PROPOSALSTATUS"].values_by_name["PROPOSAL_STATUS_VOTING_PERIOD"]._loaded_options = None + _globals["_PROPOSALSTATUS"].values_by_name[ + "PROPOSAL_STATUS_VOTING_PERIOD" + ]._serialized_options = b"\212\235 \022StatusVotingPeriod" + _globals["_PROPOSALSTATUS"].values_by_name["PROPOSAL_STATUS_PASSED"]._loaded_options = None + _globals["_PROPOSALSTATUS"].values_by_name[ + "PROPOSAL_STATUS_PASSED" + ]._serialized_options = b"\212\235 \014StatusPassed" + _globals["_PROPOSALSTATUS"].values_by_name["PROPOSAL_STATUS_REJECTED"]._loaded_options = None + _globals["_PROPOSALSTATUS"].values_by_name[ + "PROPOSAL_STATUS_REJECTED" + ]._serialized_options = b"\212\235 \016StatusRejected" + _globals["_PROPOSALSTATUS"].values_by_name["PROPOSAL_STATUS_FAILED"]._loaded_options = None + _globals["_PROPOSALSTATUS"].values_by_name[ + "PROPOSAL_STATUS_FAILED" + ]._serialized_options = b"\212\235 \014StatusFailed" + _globals["_WEIGHTEDVOTEOPTION"].fields_by_name["weight"]._loaded_options = None + _globals["_WEIGHTEDVOTEOPTION"].fields_by_name[ + "weight" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_TEXTPROPOSAL"]._loaded_options = None + _globals["_TEXTPROPOSAL"]._serialized_options = ( + b"\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027cosmos-sdk/TextProposal" + ) + _globals["_DEPOSIT"].fields_by_name["depositor"]._loaded_options = None + _globals["_DEPOSIT"].fields_by_name["depositor"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_DEPOSIT"].fields_by_name["amount"]._loaded_options = None + _globals["_DEPOSIT"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001" + _globals["_DEPOSIT"]._loaded_options = None + _globals["_DEPOSIT"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_PROPOSAL"].fields_by_name["content"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name["content"]._serialized_options = b"\312\264-\032cosmos.gov.v1beta1.Content" + _globals["_PROPOSAL"].fields_by_name["final_tally_result"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name[ + "final_tally_result" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_PROPOSAL"].fields_by_name["submit_time"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name[ + "submit_time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_PROPOSAL"].fields_by_name["deposit_end_time"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name[ + "deposit_end_time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_PROPOSAL"].fields_by_name["total_deposit"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name[ + "total_deposit" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001" + _globals["_PROPOSAL"].fields_by_name["voting_start_time"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name[ + "voting_start_time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_PROPOSAL"].fields_by_name["voting_end_time"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name[ + "voting_end_time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_PROPOSAL"]._loaded_options = None + _globals["_PROPOSAL"]._serialized_options = b"\350\240\037\001" + _globals["_TALLYRESULT"].fields_by_name["yes"]._loaded_options = None + _globals["_TALLYRESULT"].fields_by_name[ + "yes" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" + _globals["_TALLYRESULT"].fields_by_name["abstain"]._loaded_options = None + _globals["_TALLYRESULT"].fields_by_name[ + "abstain" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" + _globals["_TALLYRESULT"].fields_by_name["no"]._loaded_options = None + _globals["_TALLYRESULT"].fields_by_name[ + "no" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" + _globals["_TALLYRESULT"].fields_by_name["no_with_veto"]._loaded_options = None + _globals["_TALLYRESULT"].fields_by_name[ + "no_with_veto" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" + _globals["_TALLYRESULT"]._loaded_options = None + _globals["_TALLYRESULT"]._serialized_options = b"\350\240\037\001" + _globals["_VOTE"].fields_by_name["proposal_id"]._loaded_options = None + _globals["_VOTE"].fields_by_name[ + "proposal_id" + ]._serialized_options = b"\352\336\037\002id\242\347\260*\002id\250\347\260*\001" + _globals["_VOTE"].fields_by_name["voter"]._loaded_options = None + _globals["_VOTE"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_VOTE"].fields_by_name["option"]._loaded_options = None + _globals["_VOTE"].fields_by_name["option"]._serialized_options = b"\030\001" + _globals["_VOTE"].fields_by_name["options"]._loaded_options = None + _globals["_VOTE"].fields_by_name["options"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_VOTE"]._loaded_options = None + _globals["_VOTE"]._serialized_options = b"\350\240\037\000" + _globals["_DEPOSITPARAMS"].fields_by_name["min_deposit"]._loaded_options = None + _globals["_DEPOSITPARAMS"].fields_by_name[ + "min_deposit" + ]._serialized_options = ( + b"\310\336\037\000\352\336\037\025min_deposit,omitempty\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" + ) + _globals["_DEPOSITPARAMS"].fields_by_name["max_deposit_period"]._loaded_options = None + _globals["_DEPOSITPARAMS"].fields_by_name[ + "max_deposit_period" + ]._serialized_options = b"\310\336\037\000\352\336\037\034max_deposit_period,omitempty\230\337\037\001" + _globals["_VOTINGPARAMS"].fields_by_name["voting_period"]._loaded_options = None + _globals["_VOTINGPARAMS"].fields_by_name[ + "voting_period" + ]._serialized_options = b"\310\336\037\000\352\336\037\027voting_period,omitempty\230\337\037\001" + _globals["_TALLYPARAMS"].fields_by_name["quorum"]._loaded_options = None + _globals["_TALLYPARAMS"].fields_by_name[ + "quorum" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\020quorum,omitempty\322\264-\ncosmos.Dec" + _globals["_TALLYPARAMS"].fields_by_name["threshold"]._loaded_options = None + _globals["_TALLYPARAMS"].fields_by_name[ + "threshold" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\023threshold,omitempty\322\264-\ncosmos.Dec" + _globals["_TALLYPARAMS"].fields_by_name["veto_threshold"]._loaded_options = None + _globals["_TALLYPARAMS"].fields_by_name[ + "veto_threshold" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\030veto_threshold,omitempty\322\264-\ncosmos.Dec" + _globals["_VOTEOPTION"]._serialized_start = 2758 + _globals["_VOTEOPTION"]._serialized_end = 2988 + _globals["_PROPOSALSTATUS"]._serialized_start = 2991 + _globals["_PROPOSALSTATUS"]._serialized_end = 3323 + _globals["_WEIGHTEDVOTEOPTION"]._serialized_start = 245 + _globals["_WEIGHTEDVOTEOPTION"]._serialized_end = 401 + _globals["_TEXTPROPOSAL"]._serialized_start = 404 + _globals["_TEXTPROPOSAL"]._serialized_end = 538 + _globals["_DEPOSIT"]._serialized_start = 541 + _globals["_DEPOSIT"]._serialized_end = 755 + _globals["_PROPOSAL"]._serialized_start = 758 + _globals["_PROPOSAL"]._serialized_end = 1487 + _globals["_TALLYRESULT"]._serialized_start = 1490 + _globals["_TALLYRESULT"]._serialized_end = 1783 + _globals["_VOTE"]._serialized_start = 1786 + _globals["_VOTE"]._serialized_end = 2036 + _globals["_DEPOSITPARAMS"]._serialized_start = 2039 + _globals["_DEPOSITPARAMS"]._serialized_end = 2305 + _globals["_VOTINGPARAMS"]._serialized_start = 2307 + _globals["_VOTINGPARAMS"]._serialized_end = 2422 + _globals["_TALLYPARAMS"]._serialized_start = 2425 + _globals["_TALLYPARAMS"]._serialized_end = 2755 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/gov/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/query_pb2.py index 9435f6f4..d1424dfa 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/query_pb2.py @@ -7,12 +7,15 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.gov.v1beta1 import gov_pb2 as cosmos_dot_gov_dot_v1beta1_dot_gov__pb2 @@ -20,96 +23,140 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/gov/v1beta1/query.proto\x12\x12\x63osmos.gov.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\\\n\x15QueryProposalResponse\x12\x43\n\x08proposal\x18\x01 \x01(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08proposal\"\x9e\x02\n\x15QueryProposalsRequest\x12K\n\x0fproposal_status\x18\x01 \x01(\x0e\x32\".cosmos.gov.v1beta1.ProposalStatusR\x0eproposalStatus\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\tdepositor\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa8\x01\n\x16QueryProposalsResponse\x12\x45\n\tproposals\x18\x01 \x03(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"m\n\x10QueryVoteRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"L\n\x11QueryVoteResponse\x12\x37\n\x04vote\x18\x01 \x01(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04vote\"|\n\x11QueryVotesRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x98\x01\n\x12QueryVotesResponse\x12\x39\n\x05votes\x18\x01 \x03(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"5\n\x12QueryParamsRequest\x12\x1f\n\x0bparams_type\x18\x01 \x01(\tR\nparamsType\"\x8b\x02\n\x13QueryParamsResponse\x12P\n\rvoting_params\x18\x01 \x01(\x0b\x32 .cosmos.gov.v1beta1.VotingParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cvotingParams\x12S\n\x0e\x64\x65posit_params\x18\x02 \x01(\x0b\x32!.cosmos.gov.v1beta1.DepositParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdepositParams\x12M\n\x0ctally_params\x18\x03 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0btallyParams\"x\n\x13QueryDepositRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"X\n\x14QueryDepositResponse\x12@\n\x07\x64\x65posit\x18\x01 \x01(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x64\x65posit\"\x7f\n\x14QueryDepositsRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa4\x01\n\x15QueryDepositsResponse\x12\x42\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x64\x65posits\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\\\n\x18QueryTallyResultResponse\x12@\n\x05tally\x18\x01 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05tally2\xd4\t\n\x05Query\x12\x94\x01\n\x08Proposal\x12(.cosmos.gov.v1beta1.QueryProposalRequest\x1a).cosmos.gov.v1beta1.QueryProposalResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/gov/v1beta1/proposals/{proposal_id}\x12\x89\x01\n\tProposals\x12).cosmos.gov.v1beta1.QueryProposalsRequest\x1a*.cosmos.gov.v1beta1.QueryProposalsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/gov/v1beta1/proposals\x12\x96\x01\n\x04Vote\x12$.cosmos.gov.v1beta1.QueryVoteRequest\x1a%.cosmos.gov.v1beta1.QueryVoteResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}\x12\x91\x01\n\x05Votes\x12%.cosmos.gov.v1beta1.QueryVotesRequest\x1a&.cosmos.gov.v1beta1.QueryVotesResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/gov/v1beta1/proposals/{proposal_id}/votes\x12\x8b\x01\n\x06Params\x12&.cosmos.gov.v1beta1.QueryParamsRequest\x1a\'.cosmos.gov.v1beta1.QueryParamsResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/gov/v1beta1/params/{params_type}\x12\xa6\x01\n\x07\x44\x65posit\x12\'.cosmos.gov.v1beta1.QueryDepositRequest\x1a(.cosmos.gov.v1beta1.QueryDepositResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}\x12\x9d\x01\n\x08\x44\x65posits\x12(.cosmos.gov.v1beta1.QueryDepositsRequest\x1a).cosmos.gov.v1beta1.QueryDepositsResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits\x12\xa3\x01\n\x0bTallyResult\x12+.cosmos.gov.v1beta1.QueryTallyResultRequest\x1a,.cosmos.gov.v1beta1.QueryTallyResultResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/gov/v1beta1/proposals/{proposal_id}/tallyB\xc0\x01\n\x16\x63om.cosmos.gov.v1beta1B\nQueryProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1e\x63osmos/gov/v1beta1/query.proto\x12\x12\x63osmos.gov.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"\\\n\x15QueryProposalResponse\x12\x43\n\x08proposal\x18\x01 \x01(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08proposal"\x9e\x02\n\x15QueryProposalsRequest\x12K\n\x0fproposal_status\x18\x01 \x01(\x0e\x32".cosmos.gov.v1beta1.ProposalStatusR\x0eproposalStatus\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\tdepositor\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xa8\x01\n\x16QueryProposalsResponse\x12\x45\n\tproposals\x18\x01 \x03(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"m\n\x10QueryVoteRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"L\n\x11QueryVoteResponse\x12\x37\n\x04vote\x18\x01 \x01(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04vote"|\n\x11QueryVotesRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x98\x01\n\x12QueryVotesResponse\x12\x39\n\x05votes\x18\x01 \x03(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"5\n\x12QueryParamsRequest\x12\x1f\n\x0bparams_type\x18\x01 \x01(\tR\nparamsType"\x8b\x02\n\x13QueryParamsResponse\x12P\n\rvoting_params\x18\x01 \x01(\x0b\x32 .cosmos.gov.v1beta1.VotingParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cvotingParams\x12S\n\x0e\x64\x65posit_params\x18\x02 \x01(\x0b\x32!.cosmos.gov.v1beta1.DepositParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdepositParams\x12M\n\x0ctally_params\x18\x03 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0btallyParams"x\n\x13QueryDepositRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"X\n\x14QueryDepositResponse\x12@\n\x07\x64\x65posit\x18\x01 \x01(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x64\x65posit"\x7f\n\x14QueryDepositsRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xa4\x01\n\x15QueryDepositsResponse\x12\x42\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x64\x65posits\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"\\\n\x18QueryTallyResultResponse\x12@\n\x05tally\x18\x01 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05tally2\xd4\t\n\x05Query\x12\x94\x01\n\x08Proposal\x12(.cosmos.gov.v1beta1.QueryProposalRequest\x1a).cosmos.gov.v1beta1.QueryProposalResponse"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/gov/v1beta1/proposals/{proposal_id}\x12\x89\x01\n\tProposals\x12).cosmos.gov.v1beta1.QueryProposalsRequest\x1a*.cosmos.gov.v1beta1.QueryProposalsResponse"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/gov/v1beta1/proposals\x12\x96\x01\n\x04Vote\x12$.cosmos.gov.v1beta1.QueryVoteRequest\x1a%.cosmos.gov.v1beta1.QueryVoteResponse"A\x82\xd3\xe4\x93\x02;\x12\x39/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}\x12\x91\x01\n\x05Votes\x12%.cosmos.gov.v1beta1.QueryVotesRequest\x1a&.cosmos.gov.v1beta1.QueryVotesResponse"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/gov/v1beta1/proposals/{proposal_id}/votes\x12\x8b\x01\n\x06Params\x12&.cosmos.gov.v1beta1.QueryParamsRequest\x1a\'.cosmos.gov.v1beta1.QueryParamsResponse"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/gov/v1beta1/params/{params_type}\x12\xa6\x01\n\x07\x44\x65posit\x12\'.cosmos.gov.v1beta1.QueryDepositRequest\x1a(.cosmos.gov.v1beta1.QueryDepositResponse"H\x82\xd3\xe4\x93\x02\x42\x12@/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}\x12\x9d\x01\n\x08\x44\x65posits\x12(.cosmos.gov.v1beta1.QueryDepositsRequest\x1a).cosmos.gov.v1beta1.QueryDepositsResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits\x12\xa3\x01\n\x0bTallyResult\x12+.cosmos.gov.v1beta1.QueryTallyResultRequest\x1a,.cosmos.gov.v1beta1.QueryTallyResultResponse"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/gov/v1beta1/proposals/{proposal_id}/tallyB\xc0\x01\n\x16\x63om.cosmos.gov.v1beta1B\nQueryProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.gov.v1beta1B\nQueryProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1' - _globals['_QUERYPROPOSALRESPONSE'].fields_by_name['proposal']._loaded_options = None - _globals['_QUERYPROPOSALRESPONSE'].fields_by_name['proposal']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['voter']._loaded_options = None - _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['depositor']._loaded_options = None - _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYPROPOSALSREQUEST']._loaded_options = None - _globals['_QUERYPROPOSALSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYPROPOSALSRESPONSE'].fields_by_name['proposals']._loaded_options = None - _globals['_QUERYPROPOSALSRESPONSE'].fields_by_name['proposals']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYVOTEREQUEST'].fields_by_name['voter']._loaded_options = None - _globals['_QUERYVOTEREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYVOTEREQUEST']._loaded_options = None - _globals['_QUERYVOTEREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYVOTERESPONSE'].fields_by_name['vote']._loaded_options = None - _globals['_QUERYVOTERESPONSE'].fields_by_name['vote']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYVOTESRESPONSE'].fields_by_name['votes']._loaded_options = None - _globals['_QUERYVOTESRESPONSE'].fields_by_name['votes']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['voting_params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['voting_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['deposit_params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['deposit_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['tally_params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['tally_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDEPOSITREQUEST'].fields_by_name['depositor']._loaded_options = None - _globals['_QUERYDEPOSITREQUEST'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDEPOSITREQUEST']._loaded_options = None - _globals['_QUERYDEPOSITREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDEPOSITRESPONSE'].fields_by_name['deposit']._loaded_options = None - _globals['_QUERYDEPOSITRESPONSE'].fields_by_name['deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDEPOSITSRESPONSE'].fields_by_name['deposits']._loaded_options = None - _globals['_QUERYDEPOSITSRESPONSE'].fields_by_name['deposits']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYTALLYRESULTRESPONSE'].fields_by_name['tally']._loaded_options = None - _globals['_QUERYTALLYRESULTRESPONSE'].fields_by_name['tally']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERY'].methods_by_name['Proposal']._loaded_options = None - _globals['_QUERY'].methods_by_name['Proposal']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/gov/v1beta1/proposals/{proposal_id}' - _globals['_QUERY'].methods_by_name['Proposals']._loaded_options = None - _globals['_QUERY'].methods_by_name['Proposals']._serialized_options = b'\202\323\344\223\002\037\022\035/cosmos/gov/v1beta1/proposals' - _globals['_QUERY'].methods_by_name['Vote']._loaded_options = None - _globals['_QUERY'].methods_by_name['Vote']._serialized_options = b'\202\323\344\223\002;\0229/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}' - _globals['_QUERY'].methods_by_name['Votes']._loaded_options = None - _globals['_QUERY'].methods_by_name['Votes']._serialized_options = b'\202\323\344\223\0023\0221/cosmos/gov/v1beta1/proposals/{proposal_id}/votes' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/gov/v1beta1/params/{params_type}' - _globals['_QUERY'].methods_by_name['Deposit']._loaded_options = None - _globals['_QUERY'].methods_by_name['Deposit']._serialized_options = b'\202\323\344\223\002B\022@/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}' - _globals['_QUERY'].methods_by_name['Deposits']._loaded_options = None - _globals['_QUERY'].methods_by_name['Deposits']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits' - _globals['_QUERY'].methods_by_name['TallyResult']._loaded_options = None - _globals['_QUERY'].methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\0023\0221/cosmos/gov/v1beta1/proposals/{proposal_id}/tally' - _globals['_QUERYPROPOSALREQUEST']._serialized_start=226 - _globals['_QUERYPROPOSALREQUEST']._serialized_end=281 - _globals['_QUERYPROPOSALRESPONSE']._serialized_start=283 - _globals['_QUERYPROPOSALRESPONSE']._serialized_end=375 - _globals['_QUERYPROPOSALSREQUEST']._serialized_start=378 - _globals['_QUERYPROPOSALSREQUEST']._serialized_end=664 - _globals['_QUERYPROPOSALSRESPONSE']._serialized_start=667 - _globals['_QUERYPROPOSALSRESPONSE']._serialized_end=835 - _globals['_QUERYVOTEREQUEST']._serialized_start=837 - _globals['_QUERYVOTEREQUEST']._serialized_end=946 - _globals['_QUERYVOTERESPONSE']._serialized_start=948 - _globals['_QUERYVOTERESPONSE']._serialized_end=1024 - _globals['_QUERYVOTESREQUEST']._serialized_start=1026 - _globals['_QUERYVOTESREQUEST']._serialized_end=1150 - _globals['_QUERYVOTESRESPONSE']._serialized_start=1153 - _globals['_QUERYVOTESRESPONSE']._serialized_end=1305 - _globals['_QUERYPARAMSREQUEST']._serialized_start=1307 - _globals['_QUERYPARAMSREQUEST']._serialized_end=1360 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=1363 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=1630 - _globals['_QUERYDEPOSITREQUEST']._serialized_start=1632 - _globals['_QUERYDEPOSITREQUEST']._serialized_end=1752 - _globals['_QUERYDEPOSITRESPONSE']._serialized_start=1754 - _globals['_QUERYDEPOSITRESPONSE']._serialized_end=1842 - _globals['_QUERYDEPOSITSREQUEST']._serialized_start=1844 - _globals['_QUERYDEPOSITSREQUEST']._serialized_end=1971 - _globals['_QUERYDEPOSITSRESPONSE']._serialized_start=1974 - _globals['_QUERYDEPOSITSRESPONSE']._serialized_end=2138 - _globals['_QUERYTALLYRESULTREQUEST']._serialized_start=2140 - _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=2198 - _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=2200 - _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=2292 - _globals['_QUERY']._serialized_start=2295 - _globals['_QUERY']._serialized_end=3531 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.cosmos.gov.v1beta1B\nQueryProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1" + ) + _globals["_QUERYPROPOSALRESPONSE"].fields_by_name["proposal"]._loaded_options = None + _globals["_QUERYPROPOSALRESPONSE"].fields_by_name[ + "proposal" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYPROPOSALSREQUEST"].fields_by_name["voter"]._loaded_options = None + _globals["_QUERYPROPOSALSREQUEST"].fields_by_name[ + "voter" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYPROPOSALSREQUEST"].fields_by_name["depositor"]._loaded_options = None + _globals["_QUERYPROPOSALSREQUEST"].fields_by_name[ + "depositor" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYPROPOSALSREQUEST"]._loaded_options = None + _globals["_QUERYPROPOSALSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYPROPOSALSRESPONSE"].fields_by_name["proposals"]._loaded_options = None + _globals["_QUERYPROPOSALSRESPONSE"].fields_by_name[ + "proposals" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYVOTEREQUEST"].fields_by_name["voter"]._loaded_options = None + _globals["_QUERYVOTEREQUEST"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYVOTEREQUEST"]._loaded_options = None + _globals["_QUERYVOTEREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYVOTERESPONSE"].fields_by_name["vote"]._loaded_options = None + _globals["_QUERYVOTERESPONSE"].fields_by_name["vote"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYVOTESRESPONSE"].fields_by_name["votes"]._loaded_options = None + _globals["_QUERYVOTESRESPONSE"].fields_by_name["votes"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["voting_params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name[ + "voting_params" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["deposit_params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name[ + "deposit_params" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["tally_params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name[ + "tally_params" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYDEPOSITREQUEST"].fields_by_name["depositor"]._loaded_options = None + _globals["_QUERYDEPOSITREQUEST"].fields_by_name[ + "depositor" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYDEPOSITREQUEST"]._loaded_options = None + _globals["_QUERYDEPOSITREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYDEPOSITRESPONSE"].fields_by_name["deposit"]._loaded_options = None + _globals["_QUERYDEPOSITRESPONSE"].fields_by_name[ + "deposit" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYDEPOSITSRESPONSE"].fields_by_name["deposits"]._loaded_options = None + _globals["_QUERYDEPOSITSRESPONSE"].fields_by_name[ + "deposits" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYTALLYRESULTRESPONSE"].fields_by_name["tally"]._loaded_options = None + _globals["_QUERYTALLYRESULTRESPONSE"].fields_by_name[ + "tally" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERY"].methods_by_name["Proposal"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Proposal" + ]._serialized_options = b"\202\323\344\223\002-\022+/cosmos/gov/v1beta1/proposals/{proposal_id}" + _globals["_QUERY"].methods_by_name["Proposals"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Proposals" + ]._serialized_options = b"\202\323\344\223\002\037\022\035/cosmos/gov/v1beta1/proposals" + _globals["_QUERY"].methods_by_name["Vote"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Vote" + ]._serialized_options = b"\202\323\344\223\002;\0229/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}" + _globals["_QUERY"].methods_by_name["Votes"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Votes" + ]._serialized_options = b"\202\323\344\223\0023\0221/cosmos/gov/v1beta1/proposals/{proposal_id}/votes" + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\202\323\344\223\002*\022(/cosmos/gov/v1beta1/params/{params_type}" + _globals["_QUERY"].methods_by_name["Deposit"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Deposit" + ]._serialized_options = ( + b"\202\323\344\223\002B\022@/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}" + ) + _globals["_QUERY"].methods_by_name["Deposits"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Deposits" + ]._serialized_options = b"\202\323\344\223\0026\0224/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits" + _globals["_QUERY"].methods_by_name["TallyResult"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "TallyResult" + ]._serialized_options = b"\202\323\344\223\0023\0221/cosmos/gov/v1beta1/proposals/{proposal_id}/tally" + _globals["_QUERYPROPOSALREQUEST"]._serialized_start = 226 + _globals["_QUERYPROPOSALREQUEST"]._serialized_end = 281 + _globals["_QUERYPROPOSALRESPONSE"]._serialized_start = 283 + _globals["_QUERYPROPOSALRESPONSE"]._serialized_end = 375 + _globals["_QUERYPROPOSALSREQUEST"]._serialized_start = 378 + _globals["_QUERYPROPOSALSREQUEST"]._serialized_end = 664 + _globals["_QUERYPROPOSALSRESPONSE"]._serialized_start = 667 + _globals["_QUERYPROPOSALSRESPONSE"]._serialized_end = 835 + _globals["_QUERYVOTEREQUEST"]._serialized_start = 837 + _globals["_QUERYVOTEREQUEST"]._serialized_end = 946 + _globals["_QUERYVOTERESPONSE"]._serialized_start = 948 + _globals["_QUERYVOTERESPONSE"]._serialized_end = 1024 + _globals["_QUERYVOTESREQUEST"]._serialized_start = 1026 + _globals["_QUERYVOTESREQUEST"]._serialized_end = 1150 + _globals["_QUERYVOTESRESPONSE"]._serialized_start = 1153 + _globals["_QUERYVOTESRESPONSE"]._serialized_end = 1305 + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 1307 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 1360 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 1363 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 1630 + _globals["_QUERYDEPOSITREQUEST"]._serialized_start = 1632 + _globals["_QUERYDEPOSITREQUEST"]._serialized_end = 1752 + _globals["_QUERYDEPOSITRESPONSE"]._serialized_start = 1754 + _globals["_QUERYDEPOSITRESPONSE"]._serialized_end = 1842 + _globals["_QUERYDEPOSITSREQUEST"]._serialized_start = 1844 + _globals["_QUERYDEPOSITSREQUEST"]._serialized_end = 1971 + _globals["_QUERYDEPOSITSRESPONSE"]._serialized_start = 1974 + _globals["_QUERYDEPOSITSRESPONSE"]._serialized_end = 2138 + _globals["_QUERYTALLYRESULTREQUEST"]._serialized_start = 2140 + _globals["_QUERYTALLYRESULTREQUEST"]._serialized_end = 2198 + _globals["_QUERYTALLYRESULTRESPONSE"]._serialized_start = 2200 + _globals["_QUERYTALLYRESULTRESPONSE"]._serialized_end = 2292 + _globals["_QUERY"]._serialized_start = 2295 + _globals["_QUERY"]._serialized_end = 3531 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1beta1/query_pb2_grpc.py index 1c268032..eada4b21 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the gRPC querier service for gov module - """ + """Query defines the gRPC querier service for gov module""" def __init__(self, channel): """Constructor. @@ -16,177 +15,176 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Proposal = channel.unary_unary( - '/cosmos.gov.v1beta1.Query/Proposal', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1beta1.Query/Proposal", + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalResponse.FromString, + _registered_method=True, + ) self.Proposals = channel.unary_unary( - '/cosmos.gov.v1beta1.Query/Proposals', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1beta1.Query/Proposals", + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsResponse.FromString, + _registered_method=True, + ) self.Vote = channel.unary_unary( - '/cosmos.gov.v1beta1.Query/Vote', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1beta1.Query/Vote", + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteResponse.FromString, + _registered_method=True, + ) self.Votes = channel.unary_unary( - '/cosmos.gov.v1beta1.Query/Votes', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1beta1.Query/Votes", + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesResponse.FromString, + _registered_method=True, + ) self.Params = channel.unary_unary( - '/cosmos.gov.v1beta1.Query/Params', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1beta1.Query/Params", + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) self.Deposit = channel.unary_unary( - '/cosmos.gov.v1beta1.Query/Deposit', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1beta1.Query/Deposit", + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositResponse.FromString, + _registered_method=True, + ) self.Deposits = channel.unary_unary( - '/cosmos.gov.v1beta1.Query/Deposits', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1beta1.Query/Deposits", + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsResponse.FromString, + _registered_method=True, + ) self.TallyResult = channel.unary_unary( - '/cosmos.gov.v1beta1.Query/TallyResult', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1beta1.Query/TallyResult", + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service for gov module - """ + """Query defines the gRPC querier service for gov module""" def Proposal(self, request, context): - """Proposal queries proposal details based on ProposalID. - """ + """Proposal queries proposal details based on ProposalID.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Proposals(self, request, context): - """Proposals queries all proposals based on given status. - """ + """Proposals queries all proposals based on given status.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Vote(self, request, context): - """Vote queries voted information based on proposalID, voterAddr. - """ + """Vote queries voted information based on proposalID, voterAddr.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Votes(self, request, context): - """Votes queries votes of a given proposal. - """ + """Votes queries votes of a given proposal.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Params(self, request, context): - """Params queries all parameters of the gov module. - """ + """Params queries all parameters of the gov module.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Deposit(self, request, context): - """Deposit queries single deposit information based on proposalID, depositor address. - """ + """Deposit queries single deposit information based on proposalID, depositor address.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Deposits(self, request, context): - """Deposits queries all deposits of a single proposal. - """ + """Deposits queries all deposits of a single proposal.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TallyResult(self, request, context): - """TallyResult queries the tally of a proposal vote. - """ + """TallyResult queries the tally of a proposal vote.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Proposal': grpc.unary_unary_rpc_method_handler( - servicer.Proposal, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalResponse.SerializeToString, - ), - 'Proposals': grpc.unary_unary_rpc_method_handler( - servicer.Proposals, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsResponse.SerializeToString, - ), - 'Vote': grpc.unary_unary_rpc_method_handler( - servicer.Vote, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteResponse.SerializeToString, - ), - 'Votes': grpc.unary_unary_rpc_method_handler( - servicer.Votes, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesResponse.SerializeToString, - ), - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'Deposit': grpc.unary_unary_rpc_method_handler( - servicer.Deposit, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositResponse.SerializeToString, - ), - 'Deposits': grpc.unary_unary_rpc_method_handler( - servicer.Deposits, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsResponse.SerializeToString, - ), - 'TallyResult': grpc.unary_unary_rpc_method_handler( - servicer.TallyResult, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, - ), + "Proposal": grpc.unary_unary_rpc_method_handler( + servicer.Proposal, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalResponse.SerializeToString, + ), + "Proposals": grpc.unary_unary_rpc_method_handler( + servicer.Proposals, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsResponse.SerializeToString, + ), + "Vote": grpc.unary_unary_rpc_method_handler( + servicer.Vote, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteResponse.SerializeToString, + ), + "Votes": grpc.unary_unary_rpc_method_handler( + servicer.Votes, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesResponse.SerializeToString, + ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + "Deposit": grpc.unary_unary_rpc_method_handler( + servicer.Deposit, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositResponse.SerializeToString, + ), + "Deposits": grpc.unary_unary_rpc_method_handler( + servicer.Deposits, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsResponse.SerializeToString, + ), + "TallyResult": grpc.unary_unary_rpc_method_handler( + servicer.TallyResult, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.gov.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.gov.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.gov.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.gov.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service for gov module - """ + """Query defines the gRPC querier service for gov module""" @staticmethod - def Proposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Proposal( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1beta1.Query/Proposal', + "/cosmos.gov.v1beta1.Query/Proposal", cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalRequest.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalResponse.FromString, options, @@ -197,23 +195,26 @@ def Proposal(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Proposals(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Proposals( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1beta1.Query/Proposals', + "/cosmos.gov.v1beta1.Query/Proposals", cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsRequest.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsResponse.FromString, options, @@ -224,23 +225,26 @@ def Proposals(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Vote(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Vote( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1beta1.Query/Vote', + "/cosmos.gov.v1beta1.Query/Vote", cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteRequest.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteResponse.FromString, options, @@ -251,23 +255,26 @@ def Vote(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Votes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Votes( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1beta1.Query/Votes', + "/cosmos.gov.v1beta1.Query/Votes", cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesRequest.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesResponse.FromString, options, @@ -278,23 +285,26 @@ def Votes(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1beta1.Query/Params', + "/cosmos.gov.v1beta1.Query/Params", cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -305,23 +315,26 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Deposit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Deposit( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1beta1.Query/Deposit', + "/cosmos.gov.v1beta1.Query/Deposit", cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositRequest.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositResponse.FromString, options, @@ -332,23 +345,26 @@ def Deposit(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Deposits(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Deposits( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1beta1.Query/Deposits', + "/cosmos.gov.v1beta1.Query/Deposits", cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsRequest.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsResponse.FromString, options, @@ -359,23 +375,26 @@ def Deposits(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def TallyResult(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def TallyResult( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1beta1.Query/TallyResult', + "/cosmos.gov.v1beta1.Query/TallyResult", cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultResponse.FromString, options, @@ -386,4 +405,5 @@ def TallyResult(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py index 9845faf0..8b95bb1f 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -21,62 +22,86 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/gov/v1beta1/tx.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xde\x02\n\x11MsgSubmitProposal\x12N\n\x07\x63ontent\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12\x8a\x01\n\x0finitial_deposit\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0einitialDeposit\x12\x34\n\x08proposer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer:6\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x08proposer\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSubmitProposal\"R\n\x19MsgSubmitProposalResponse\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\"\xbd\x01\n\x07MsgVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionR\x06option:)\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgVote\"\x11\n\x0fMsgVoteResponse\"\xf8\x01\n\x0fMsgVoteWeighted\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12K\n\x07options\x18\x03 \x03(\x0b\x32&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07options:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgVoteWeighted\"\x19\n\x17MsgVoteWeightedResponse\"\xac\x02\n\nMsgDeposit\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:4\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x80\xdc \x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x15\x63osmos-sdk/MsgDeposit\"\x14\n\x12MsgDepositResponse2\xf3\x02\n\x03Msg\x12\x66\n\x0eSubmitProposal\x12%.cosmos.gov.v1beta1.MsgSubmitProposal\x1a-.cosmos.gov.v1beta1.MsgSubmitProposalResponse\x12H\n\x04Vote\x12\x1b.cosmos.gov.v1beta1.MsgVote\x1a#.cosmos.gov.v1beta1.MsgVoteResponse\x12`\n\x0cVoteWeighted\x12#.cosmos.gov.v1beta1.MsgVoteWeighted\x1a+.cosmos.gov.v1beta1.MsgVoteWeightedResponse\x12Q\n\x07\x44\x65posit\x12\x1e.cosmos.gov.v1beta1.MsgDeposit\x1a&.cosmos.gov.v1beta1.MsgDepositResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x16\x63om.cosmos.gov.v1beta1B\x07TxProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1b\x63osmos/gov/v1beta1/tx.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xde\x02\n\x11MsgSubmitProposal\x12N\n\x07\x63ontent\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12\x8a\x01\n\x0finitial_deposit\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0einitialDeposit\x12\x34\n\x08proposer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer:6\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x08proposer\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSubmitProposal"R\n\x19MsgSubmitProposalResponse\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId"\xbd\x01\n\x07MsgVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionR\x06option:)\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgVote"\x11\n\x0fMsgVoteResponse"\xf8\x01\n\x0fMsgVoteWeighted\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12K\n\x07options\x18\x03 \x03(\x0b\x32&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07options:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgVoteWeighted"\x19\n\x17MsgVoteWeightedResponse"\xac\x02\n\nMsgDeposit\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:4\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x80\xdc \x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x15\x63osmos-sdk/MsgDeposit"\x14\n\x12MsgDepositResponse2\xf3\x02\n\x03Msg\x12\x66\n\x0eSubmitProposal\x12%.cosmos.gov.v1beta1.MsgSubmitProposal\x1a-.cosmos.gov.v1beta1.MsgSubmitProposalResponse\x12H\n\x04Vote\x12\x1b.cosmos.gov.v1beta1.MsgVote\x1a#.cosmos.gov.v1beta1.MsgVoteResponse\x12`\n\x0cVoteWeighted\x12#.cosmos.gov.v1beta1.MsgVoteWeighted\x1a+.cosmos.gov.v1beta1.MsgVoteWeightedResponse\x12Q\n\x07\x44\x65posit\x12\x1e.cosmos.gov.v1beta1.MsgDeposit\x1a&.cosmos.gov.v1beta1.MsgDepositResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x16\x63om.cosmos.gov.v1beta1B\x07TxProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.gov.v1beta1B\007TxProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1' - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['content']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['content']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['initial_deposit']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['initial_deposit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['proposer']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSUBMITPROPOSAL']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\010proposer\212\347\260*\034cosmos-sdk/MsgSubmitProposal' - _globals['_MSGSUBMITPROPOSALRESPONSE'].fields_by_name['proposal_id']._loaded_options = None - _globals['_MSGSUBMITPROPOSALRESPONSE'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' - _globals['_MSGVOTE'].fields_by_name['voter']._loaded_options = None - _globals['_MSGVOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGVOTE']._loaded_options = None - _globals['_MSGVOTE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\005voter\212\347\260*\022cosmos-sdk/MsgVote' - _globals['_MSGVOTEWEIGHTED'].fields_by_name['proposal_id']._loaded_options = None - _globals['_MSGVOTEWEIGHTED'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' - _globals['_MSGVOTEWEIGHTED'].fields_by_name['voter']._loaded_options = None - _globals['_MSGVOTEWEIGHTED'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGVOTEWEIGHTED'].fields_by_name['options']._loaded_options = None - _globals['_MSGVOTEWEIGHTED'].fields_by_name['options']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGVOTEWEIGHTED']._loaded_options = None - _globals['_MSGVOTEWEIGHTED']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\005voter\212\347\260*\032cosmos-sdk/MsgVoteWeighted' - _globals['_MSGDEPOSIT'].fields_by_name['proposal_id']._loaded_options = None - _globals['_MSGDEPOSIT'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' - _globals['_MSGDEPOSIT'].fields_by_name['depositor']._loaded_options = None - _globals['_MSGDEPOSIT'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGDEPOSIT'].fields_by_name['amount']._loaded_options = None - _globals['_MSGDEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGDEPOSIT']._loaded_options = None - _globals['_MSGDEPOSIT']._serialized_options = b'\210\240\037\000\350\240\037\000\200\334 \000\202\347\260*\tdepositor\212\347\260*\025cosmos-sdk/MsgDeposit' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGSUBMITPROPOSAL']._serialized_start=234 - _globals['_MSGSUBMITPROPOSAL']._serialized_end=584 - _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_start=586 - _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_end=668 - _globals['_MSGVOTE']._serialized_start=671 - _globals['_MSGVOTE']._serialized_end=860 - _globals['_MSGVOTERESPONSE']._serialized_start=862 - _globals['_MSGVOTERESPONSE']._serialized_end=879 - _globals['_MSGVOTEWEIGHTED']._serialized_start=882 - _globals['_MSGVOTEWEIGHTED']._serialized_end=1130 - _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_start=1132 - _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_end=1157 - _globals['_MSGDEPOSIT']._serialized_start=1160 - _globals['_MSGDEPOSIT']._serialized_end=1460 - _globals['_MSGDEPOSITRESPONSE']._serialized_start=1462 - _globals['_MSGDEPOSITRESPONSE']._serialized_end=1482 - _globals['_MSG']._serialized_start=1485 - _globals['_MSG']._serialized_end=1856 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.cosmos.gov.v1beta1B\007TxProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1" + ) + _globals["_MSGSUBMITPROPOSAL"].fields_by_name["content"]._loaded_options = None + _globals["_MSGSUBMITPROPOSAL"].fields_by_name[ + "content" + ]._serialized_options = b"\312\264-\032cosmos.gov.v1beta1.Content" + _globals["_MSGSUBMITPROPOSAL"].fields_by_name["initial_deposit"]._loaded_options = None + _globals["_MSGSUBMITPROPOSAL"].fields_by_name[ + "initial_deposit" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_MSGSUBMITPROPOSAL"].fields_by_name["proposer"]._loaded_options = None + _globals["_MSGSUBMITPROPOSAL"].fields_by_name["proposer"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSUBMITPROPOSAL"]._loaded_options = None + _globals["_MSGSUBMITPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\010proposer\212\347\260*\034cosmos-sdk/MsgSubmitProposal" + ) + _globals["_MSGSUBMITPROPOSALRESPONSE"].fields_by_name["proposal_id"]._loaded_options = None + _globals["_MSGSUBMITPROPOSALRESPONSE"].fields_by_name[ + "proposal_id" + ]._serialized_options = b"\352\336\037\013proposal_id\250\347\260*\001" + _globals["_MSGVOTE"].fields_by_name["voter"]._loaded_options = None + _globals["_MSGVOTE"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGVOTE"]._loaded_options = None + _globals["_MSGVOTE"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\005voter\212\347\260*\022cosmos-sdk/MsgVote" + ) + _globals["_MSGVOTEWEIGHTED"].fields_by_name["proposal_id"]._loaded_options = None + _globals["_MSGVOTEWEIGHTED"].fields_by_name[ + "proposal_id" + ]._serialized_options = b"\352\336\037\013proposal_id\250\347\260*\001" + _globals["_MSGVOTEWEIGHTED"].fields_by_name["voter"]._loaded_options = None + _globals["_MSGVOTEWEIGHTED"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGVOTEWEIGHTED"].fields_by_name["options"]._loaded_options = None + _globals["_MSGVOTEWEIGHTED"].fields_by_name["options"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGVOTEWEIGHTED"]._loaded_options = None + _globals["_MSGVOTEWEIGHTED"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\005voter\212\347\260*\032cosmos-sdk/MsgVoteWeighted" + ) + _globals["_MSGDEPOSIT"].fields_by_name["proposal_id"]._loaded_options = None + _globals["_MSGDEPOSIT"].fields_by_name[ + "proposal_id" + ]._serialized_options = b"\352\336\037\013proposal_id\250\347\260*\001" + _globals["_MSGDEPOSIT"].fields_by_name["depositor"]._loaded_options = None + _globals["_MSGDEPOSIT"].fields_by_name["depositor"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGDEPOSIT"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGDEPOSIT"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_MSGDEPOSIT"]._loaded_options = None + _globals["_MSGDEPOSIT"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\200\334 \000\202\347\260*\tdepositor\212\347\260*\025cosmos-sdk/MsgDeposit" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGSUBMITPROPOSAL"]._serialized_start = 234 + _globals["_MSGSUBMITPROPOSAL"]._serialized_end = 584 + _globals["_MSGSUBMITPROPOSALRESPONSE"]._serialized_start = 586 + _globals["_MSGSUBMITPROPOSALRESPONSE"]._serialized_end = 668 + _globals["_MSGVOTE"]._serialized_start = 671 + _globals["_MSGVOTE"]._serialized_end = 860 + _globals["_MSGVOTERESPONSE"]._serialized_start = 862 + _globals["_MSGVOTERESPONSE"]._serialized_end = 879 + _globals["_MSGVOTEWEIGHTED"]._serialized_start = 882 + _globals["_MSGVOTEWEIGHTED"]._serialized_end = 1130 + _globals["_MSGVOTEWEIGHTEDRESPONSE"]._serialized_start = 1132 + _globals["_MSGVOTEWEIGHTEDRESPONSE"]._serialized_end = 1157 + _globals["_MSGDEPOSIT"]._serialized_start = 1160 + _globals["_MSGDEPOSIT"]._serialized_end = 1460 + _globals["_MSGDEPOSITRESPONSE"]._serialized_start = 1462 + _globals["_MSGDEPOSITRESPONSE"]._serialized_end = 1482 + _globals["_MSG"]._serialized_start = 1485 + _globals["_MSG"]._serialized_end = 1856 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2_grpc.py index a8fbf803..17376dae 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the gov Msg service. - """ + """Msg defines the gov Msg service.""" def __init__(self, channel): """Constructor. @@ -16,44 +15,45 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.SubmitProposal = channel.unary_unary( - '/cosmos.gov.v1beta1.Msg/SubmitProposal', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1beta1.Msg/SubmitProposal", + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, + _registered_method=True, + ) self.Vote = channel.unary_unary( - '/cosmos.gov.v1beta1.Msg/Vote', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVote.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1beta1.Msg/Vote", + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVote.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteResponse.FromString, + _registered_method=True, + ) self.VoteWeighted = channel.unary_unary( - '/cosmos.gov.v1beta1.Msg/VoteWeighted', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1beta1.Msg/VoteWeighted", + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, + _registered_method=True, + ) self.Deposit = channel.unary_unary( - '/cosmos.gov.v1beta1.Msg/Deposit', - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, - _registered_method=True) + "/cosmos.gov.v1beta1.Msg/Deposit", + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the gov Msg service. - """ + """Msg defines the gov Msg service.""" def SubmitProposal(self, request, context): - """SubmitProposal defines a method to create new proposal given a content. - """ + """SubmitProposal defines a method to create new proposal given a content.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Vote(self, request, context): - """Vote defines a method to add a vote on a specific proposal. - """ + """Vote defines a method to add a vote on a specific proposal.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def VoteWeighted(self, request, context): """VoteWeighted defines a method to add a weighted vote on a specific proposal. @@ -61,66 +61,65 @@ def VoteWeighted(self, request, context): Since: cosmos-sdk 0.43 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Deposit(self, request, context): - """Deposit defines a method to add deposit on a specific proposal. - """ + """Deposit defines a method to add deposit on a specific proposal.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'SubmitProposal': grpc.unary_unary_rpc_method_handler( - servicer.SubmitProposal, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposal.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, - ), - 'Vote': grpc.unary_unary_rpc_method_handler( - servicer.Vote, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVote.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteResponse.SerializeToString, - ), - 'VoteWeighted': grpc.unary_unary_rpc_method_handler( - servicer.VoteWeighted, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeighted.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeightedResponse.SerializeToString, - ), - 'Deposit': grpc.unary_unary_rpc_method_handler( - servicer.Deposit, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDeposit.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.SerializeToString, - ), + "SubmitProposal": grpc.unary_unary_rpc_method_handler( + servicer.SubmitProposal, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposal.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, + ), + "Vote": grpc.unary_unary_rpc_method_handler( + servicer.Vote, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVote.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteResponse.SerializeToString, + ), + "VoteWeighted": grpc.unary_unary_rpc_method_handler( + servicer.VoteWeighted, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeighted.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeightedResponse.SerializeToString, + ), + "Deposit": grpc.unary_unary_rpc_method_handler( + servicer.Deposit, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDeposit.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.gov.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.gov.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.gov.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.gov.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the gov Msg service. - """ + """Msg defines the gov Msg service.""" @staticmethod - def SubmitProposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SubmitProposal( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1beta1.Msg/SubmitProposal', + "/cosmos.gov.v1beta1.Msg/SubmitProposal", cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, options, @@ -131,23 +130,26 @@ def SubmitProposal(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Vote(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Vote( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1beta1.Msg/Vote', + "/cosmos.gov.v1beta1.Msg/Vote", cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVote.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteResponse.FromString, options, @@ -158,23 +160,26 @@ def Vote(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def VoteWeighted(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def VoteWeighted( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1beta1.Msg/VoteWeighted', + "/cosmos.gov.v1beta1.Msg/VoteWeighted", cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, options, @@ -185,23 +190,26 @@ def VoteWeighted(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Deposit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Deposit( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.gov.v1beta1.Msg/Deposit', + "/cosmos.gov.v1beta1.Msg/Deposit", cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, options, @@ -212,4 +220,5 @@ def Deposit(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/group/module/v1/module_pb2.py b/pyinjective/proto/cosmos/group/module/v1/module_pb2.py index 163f5e86..8348ff21 100644 --- a/pyinjective/proto/cosmos/group/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/group/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,18 +19,24 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/group/module/v1/module.proto\x12\x16\x63osmos.group.module.v1\x1a cosmos/app/v1alpha1/module.proto\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x11\x61mino/amino.proto\"\xbc\x01\n\x06Module\x12Z\n\x14max_execution_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x12maxExecutionPeriod\x12(\n\x10max_metadata_len\x18\x02 \x01(\x04R\x0emaxMetadataLen:,\xba\xc0\x96\xda\x01&\n$github.com/cosmos/cosmos-sdk/x/groupB\xa4\x01\n\x1a\x63om.cosmos.group.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x16\x43osmos.Group.Module.V1\xca\x02\x16\x43osmos\\Group\\Module\\V1\xe2\x02\"Cosmos\\Group\\Module\\V1\\GPBMetadata\xea\x02\x19\x43osmos::Group::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n#cosmos/group/module/v1/module.proto\x12\x16\x63osmos.group.module.v1\x1a cosmos/app/v1alpha1/module.proto\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x11\x61mino/amino.proto"\xbc\x01\n\x06Module\x12Z\n\x14max_execution_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x12maxExecutionPeriod\x12(\n\x10max_metadata_len\x18\x02 \x01(\x04R\x0emaxMetadataLen:,\xba\xc0\x96\xda\x01&\n$github.com/cosmos/cosmos-sdk/x/groupB\xa4\x01\n\x1a\x63om.cosmos.group.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x16\x43osmos.Group.Module.V1\xca\x02\x16\x43osmos\\Group\\Module\\V1\xe2\x02"Cosmos\\Group\\Module\\V1\\GPBMetadata\xea\x02\x19\x43osmos::Group::Module::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.group.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.group.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\026Cosmos.Group.Module.V1\312\002\026Cosmos\\Group\\Module\\V1\342\002\"Cosmos\\Group\\Module\\V1\\GPBMetadata\352\002\031Cosmos::Group::Module::V1' - _globals['_MODULE'].fields_by_name['max_execution_period']._loaded_options = None - _globals['_MODULE'].fields_by_name['max_execution_period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/group' - _globals['_MODULE']._serialized_start=171 - _globals['_MODULE']._serialized_end=359 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\032com.cosmos.group.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\026Cosmos.Group.Module.V1\312\002\026Cosmos\\Group\\Module\\V1\342\002"Cosmos\\Group\\Module\\V1\\GPBMetadata\352\002\031Cosmos::Group::Module::V1' + ) + _globals["_MODULE"].fields_by_name["max_execution_period"]._loaded_options = None + _globals["_MODULE"].fields_by_name[ + "max_execution_period" + ]._serialized_options = b"\310\336\037\000\230\337\037\001\250\347\260*\001" + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/group" + _globals["_MODULE"]._serialized_start = 171 + _globals["_MODULE"]._serialized_end = 359 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/group/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/group/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/group/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/group/v1/events_pb2.py b/pyinjective/proto/cosmos/group/v1/events_pb2.py index 3d5129a1..4172b9cc 100644 --- a/pyinjective/proto/cosmos/group/v1/events_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/events_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,38 +17,46 @@ from pyinjective.proto.cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/group/v1/events.proto\x12\x0f\x63osmos.group.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/group/v1/types.proto\"-\n\x10\x45ventCreateGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\"-\n\x10\x45ventUpdateGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\"L\n\x16\x45ventCreateGroupPolicy\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"L\n\x16\x45ventUpdateGroupPolicy\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"6\n\x13\x45ventSubmitProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"8\n\x15\x45ventWithdrawProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\",\n\tEventVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\x81\x01\n\tEventExec\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12?\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x06result\x12\x12\n\x04logs\x18\x03 \x01(\tR\x04logs\"`\n\x0f\x45ventLeaveGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x32\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"\xb0\x01\n\x13\x45ventProposalPruned\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x37\n\x06status\x18\x02 \x01(\x0e\x32\x1f.cosmos.group.v1.ProposalStatusR\x06status\x12?\n\x0ctally_result\x18\x03 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultR\x0btallyResultB\xa6\x01\n\x13\x63om.cosmos.group.v1B\x0b\x45ventsProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1c\x63osmos/group/v1/events.proto\x12\x0f\x63osmos.group.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/group/v1/types.proto"-\n\x10\x45ventCreateGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId"-\n\x10\x45ventUpdateGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId"L\n\x16\x45ventCreateGroupPolicy\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress"L\n\x16\x45ventUpdateGroupPolicy\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress"6\n\x13\x45ventSubmitProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"8\n\x15\x45ventWithdrawProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId",\n\tEventVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"\x81\x01\n\tEventExec\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12?\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x06result\x12\x12\n\x04logs\x18\x03 \x01(\tR\x04logs"`\n\x0f\x45ventLeaveGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x32\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress"\xb0\x01\n\x13\x45ventProposalPruned\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x37\n\x06status\x18\x02 \x01(\x0e\x32\x1f.cosmos.group.v1.ProposalStatusR\x06status\x12?\n\x0ctally_result\x18\x03 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultR\x0btallyResultB\xa6\x01\n\x13\x63om.cosmos.group.v1B\x0b\x45ventsProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.events_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.group.v1.events_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\013EventsProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' - _globals['_EVENTCREATEGROUPPOLICY'].fields_by_name['address']._loaded_options = None - _globals['_EVENTCREATEGROUPPOLICY'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EVENTUPDATEGROUPPOLICY'].fields_by_name['address']._loaded_options = None - _globals['_EVENTUPDATEGROUPPOLICY'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EVENTLEAVEGROUP'].fields_by_name['address']._loaded_options = None - _globals['_EVENTLEAVEGROUP'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EVENTCREATEGROUP']._serialized_start=105 - _globals['_EVENTCREATEGROUP']._serialized_end=150 - _globals['_EVENTUPDATEGROUP']._serialized_start=152 - _globals['_EVENTUPDATEGROUP']._serialized_end=197 - _globals['_EVENTCREATEGROUPPOLICY']._serialized_start=199 - _globals['_EVENTCREATEGROUPPOLICY']._serialized_end=275 - _globals['_EVENTUPDATEGROUPPOLICY']._serialized_start=277 - _globals['_EVENTUPDATEGROUPPOLICY']._serialized_end=353 - _globals['_EVENTSUBMITPROPOSAL']._serialized_start=355 - _globals['_EVENTSUBMITPROPOSAL']._serialized_end=409 - _globals['_EVENTWITHDRAWPROPOSAL']._serialized_start=411 - _globals['_EVENTWITHDRAWPROPOSAL']._serialized_end=467 - _globals['_EVENTVOTE']._serialized_start=469 - _globals['_EVENTVOTE']._serialized_end=513 - _globals['_EVENTEXEC']._serialized_start=516 - _globals['_EVENTEXEC']._serialized_end=645 - _globals['_EVENTLEAVEGROUP']._serialized_start=647 - _globals['_EVENTLEAVEGROUP']._serialized_end=743 - _globals['_EVENTPROPOSALPRUNED']._serialized_start=746 - _globals['_EVENTPROPOSALPRUNED']._serialized_end=922 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\023com.cosmos.group.v1B\013EventsProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1" + ) + _globals["_EVENTCREATEGROUPPOLICY"].fields_by_name["address"]._loaded_options = None + _globals["_EVENTCREATEGROUPPOLICY"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_EVENTUPDATEGROUPPOLICY"].fields_by_name["address"]._loaded_options = None + _globals["_EVENTUPDATEGROUPPOLICY"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_EVENTLEAVEGROUP"].fields_by_name["address"]._loaded_options = None + _globals["_EVENTLEAVEGROUP"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_EVENTCREATEGROUP"]._serialized_start = 105 + _globals["_EVENTCREATEGROUP"]._serialized_end = 150 + _globals["_EVENTUPDATEGROUP"]._serialized_start = 152 + _globals["_EVENTUPDATEGROUP"]._serialized_end = 197 + _globals["_EVENTCREATEGROUPPOLICY"]._serialized_start = 199 + _globals["_EVENTCREATEGROUPPOLICY"]._serialized_end = 275 + _globals["_EVENTUPDATEGROUPPOLICY"]._serialized_start = 277 + _globals["_EVENTUPDATEGROUPPOLICY"]._serialized_end = 353 + _globals["_EVENTSUBMITPROPOSAL"]._serialized_start = 355 + _globals["_EVENTSUBMITPROPOSAL"]._serialized_end = 409 + _globals["_EVENTWITHDRAWPROPOSAL"]._serialized_start = 411 + _globals["_EVENTWITHDRAWPROPOSAL"]._serialized_end = 467 + _globals["_EVENTVOTE"]._serialized_start = 469 + _globals["_EVENTVOTE"]._serialized_end = 513 + _globals["_EVENTEXEC"]._serialized_start = 516 + _globals["_EVENTEXEC"]._serialized_end = 645 + _globals["_EVENTLEAVEGROUP"]._serialized_start = 647 + _globals["_EVENTLEAVEGROUP"]._serialized_end = 743 + _globals["_EVENTPROPOSALPRUNED"]._serialized_start = 746 + _globals["_EVENTPROPOSALPRUNED"]._serialized_end = 922 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/events_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/events_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/group/v1/events_pb2_grpc.py +++ b/pyinjective/proto/cosmos/group/v1/events_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/group/v1/genesis_pb2.py b/pyinjective/proto/cosmos/group/v1/genesis_pb2.py index 1ebf5b48..d170188c 100644 --- a/pyinjective/proto/cosmos/group/v1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,14 +16,18 @@ from pyinjective.proto.cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/group/v1/genesis.proto\x12\x0f\x63osmos.group.v1\x1a\x1b\x63osmos/group/v1/types.proto\"\x9e\x03\n\x0cGenesisState\x12\x1b\n\tgroup_seq\x18\x01 \x01(\x04R\x08groupSeq\x12\x32\n\x06groups\x18\x02 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12\x41\n\rgroup_members\x18\x03 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMemberR\x0cgroupMembers\x12(\n\x10group_policy_seq\x18\x04 \x01(\x04R\x0egroupPolicySeq\x12G\n\x0egroup_policies\x18\x05 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12!\n\x0cproposal_seq\x18\x06 \x01(\x04R\x0bproposalSeq\x12\x37\n\tproposals\x18\x07 \x03(\x0b\x32\x19.cosmos.group.v1.ProposalR\tproposals\x12+\n\x05votes\x18\x08 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votesB\xa7\x01\n\x13\x63om.cosmos.group.v1B\x0cGenesisProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1d\x63osmos/group/v1/genesis.proto\x12\x0f\x63osmos.group.v1\x1a\x1b\x63osmos/group/v1/types.proto"\x9e\x03\n\x0cGenesisState\x12\x1b\n\tgroup_seq\x18\x01 \x01(\x04R\x08groupSeq\x12\x32\n\x06groups\x18\x02 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12\x41\n\rgroup_members\x18\x03 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMemberR\x0cgroupMembers\x12(\n\x10group_policy_seq\x18\x04 \x01(\x04R\x0egroupPolicySeq\x12G\n\x0egroup_policies\x18\x05 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12!\n\x0cproposal_seq\x18\x06 \x01(\x04R\x0bproposalSeq\x12\x37\n\tproposals\x18\x07 \x03(\x0b\x32\x19.cosmos.group.v1.ProposalR\tproposals\x12+\n\x05votes\x18\x08 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votesB\xa7\x01\n\x13\x63om.cosmos.group.v1B\x0cGenesisProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.group.v1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\014GenesisProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' - _globals['_GENESISSTATE']._serialized_start=80 - _globals['_GENESISSTATE']._serialized_end=494 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\023com.cosmos.group.v1B\014GenesisProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1" + ) + _globals["_GENESISSTATE"]._serialized_start = 80 + _globals["_GENESISSTATE"]._serialized_end = 494 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/group/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/group/v1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/group/v1/query_pb2.py b/pyinjective/proto/cosmos/group/v1/query_pb2.py index a18e3520..c8f59698 100644 --- a/pyinjective/proto/cosmos/group/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,119 +16,169 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/group/v1/query.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"2\n\x15QueryGroupInfoRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\"H\n\x16QueryGroupInfoResponse\x12.\n\x04info\x18\x01 \x01(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x04info\"Q\n\x1bQueryGroupPolicyInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"T\n\x1cQueryGroupPolicyInfoResponse\x12\x34\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\x04info\"}\n\x18QueryGroupMembersRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x9c\x01\n\x19QueryGroupMembersResponse\x12\x36\n\x07members\x18\x01 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMemberR\x07members\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x93\x01\n\x19QueryGroupsByAdminRequest\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x99\x01\n\x1aQueryGroupsByAdminResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x85\x01\n QueryGroupPoliciesByGroupRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb5\x01\n!QueryGroupPoliciesByGroupResponse\x12G\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x9a\x01\n QueryGroupPoliciesByAdminRequest\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb5\x01\n!QueryGroupPoliciesByAdminResponse\x12G\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"N\n\x15QueryProposalResponse\x12\x35\n\x08proposal\x18\x01 \x01(\x0b\x32\x19.cosmos.group.v1.ProposalR\x08proposal\"\xa0\x01\n\"QueryProposalsByGroupPolicyRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa7\x01\n#QueryProposalsByGroupPolicyResponse\x12\x37\n\tproposals\x18\x01 \x03(\x0b\x32\x19.cosmos.group.v1.ProposalR\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"r\n\x1fQueryVoteByProposalVoterRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\"M\n QueryVoteByProposalVoterResponse\x12)\n\x04vote\x18\x01 \x01(\x0b\x32\x15.cosmos.group.v1.VoteR\x04vote\"\x86\x01\n\x1bQueryVotesByProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x94\x01\n\x1cQueryVotesByProposalResponse\x12+\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x92\x01\n\x18QueryVotesByVoterRequest\x12.\n\x05voter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x91\x01\n\x19QueryVotesByVoterResponse\x12+\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x98\x01\n\x1aQueryGroupsByMemberRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x9a\x01\n\x1bQueryGroupsByMemberResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"Y\n\x18QueryTallyResultResponse\x12=\n\x05tally\x18\x01 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05tally\"\\\n\x12QueryGroupsRequest\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x92\x01\n\x13QueryGroupsResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xfb\x11\n\x05Query\x12\x8c\x01\n\tGroupInfo\x12&.cosmos.group.v1.QueryGroupInfoRequest\x1a\'.cosmos.group.v1.QueryGroupInfoResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/group/v1/group_info/{group_id}\x12\xa4\x01\n\x0fGroupPolicyInfo\x12,.cosmos.group.v1.QueryGroupPolicyInfoRequest\x1a-.cosmos.group.v1.QueryGroupPolicyInfoResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/group/v1/group_policy_info/{address}\x12\x98\x01\n\x0cGroupMembers\x12).cosmos.group.v1.QueryGroupMembersRequest\x1a*.cosmos.group.v1.QueryGroupMembersResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/group/v1/group_members/{group_id}\x12\x9a\x01\n\rGroupsByAdmin\x12*.cosmos.group.v1.QueryGroupsByAdminRequest\x1a+.cosmos.group.v1.QueryGroupsByAdminResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/group/v1/groups_by_admin/{admin}\x12\xba\x01\n\x14GroupPoliciesByGroup\x12\x31.cosmos.group.v1.QueryGroupPoliciesByGroupRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByGroupResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/group/v1/group_policies_by_group/{group_id}\x12\xb7\x01\n\x14GroupPoliciesByAdmin\x12\x31.cosmos.group.v1.QueryGroupPoliciesByAdminRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByAdminResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/group_policies_by_admin/{admin}\x12\x8a\x01\n\x08Proposal\x12%.cosmos.group.v1.QueryProposalRequest\x1a&.cosmos.group.v1.QueryProposalResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/proposal/{proposal_id}\x12\xc1\x01\n\x16ProposalsByGroupPolicy\x12\x33.cosmos.group.v1.QueryProposalsByGroupPolicyRequest\x1a\x34.cosmos.group.v1.QueryProposalsByGroupPolicyResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/group/v1/proposals_by_group_policy/{address}\x12\xc1\x01\n\x13VoteByProposalVoter\x12\x30.cosmos.group.v1.QueryVoteByProposalVoterRequest\x1a\x31.cosmos.group.v1.QueryVoteByProposalVoterResponse\"E\x82\xd3\xe4\x93\x02?\x12=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}\x12\xa8\x01\n\x0fVotesByProposal\x12,.cosmos.group.v1.QueryVotesByProposalRequest\x1a-.cosmos.group.v1.QueryVotesByProposalResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/votes_by_proposal/{proposal_id}\x12\x96\x01\n\x0cVotesByVoter\x12).cosmos.group.v1.QueryVotesByVoterRequest\x1a*.cosmos.group.v1.QueryVotesByVoterResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/votes_by_voter/{voter}\x12\xa0\x01\n\x0eGroupsByMember\x12+.cosmos.group.v1.QueryGroupsByMemberRequest\x1a,.cosmos.group.v1.QueryGroupsByMemberResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/group/v1/groups_by_member/{address}\x12\x9a\x01\n\x0bTallyResult\x12(.cosmos.group.v1.QueryTallyResultRequest\x1a).cosmos.group.v1.QueryTallyResultResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/group/v1/proposals/{proposal_id}/tally\x12t\n\x06Groups\x12#.cosmos.group.v1.QueryGroupsRequest\x1a$.cosmos.group.v1.QueryGroupsResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cosmos/group/v1/groupsB\xa5\x01\n\x13\x63om.cosmos.group.v1B\nQueryProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1b\x63osmos/group/v1/query.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"2\n\x15QueryGroupInfoRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId"H\n\x16QueryGroupInfoResponse\x12.\n\x04info\x18\x01 \x01(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x04info"Q\n\x1bQueryGroupPolicyInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress"T\n\x1cQueryGroupPolicyInfoResponse\x12\x34\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\x04info"}\n\x18QueryGroupMembersRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x9c\x01\n\x19QueryGroupMembersResponse\x12\x36\n\x07members\x18\x01 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMemberR\x07members\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x93\x01\n\x19QueryGroupsByAdminRequest\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x99\x01\n\x1aQueryGroupsByAdminResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x85\x01\n QueryGroupPoliciesByGroupRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xb5\x01\n!QueryGroupPoliciesByGroupResponse\x12G\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x9a\x01\n QueryGroupPoliciesByAdminRequest\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xb5\x01\n!QueryGroupPoliciesByAdminResponse\x12G\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"N\n\x15QueryProposalResponse\x12\x35\n\x08proposal\x18\x01 \x01(\x0b\x32\x19.cosmos.group.v1.ProposalR\x08proposal"\xa0\x01\n"QueryProposalsByGroupPolicyRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xa7\x01\n#QueryProposalsByGroupPolicyResponse\x12\x37\n\tproposals\x18\x01 \x03(\x0b\x32\x19.cosmos.group.v1.ProposalR\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"r\n\x1fQueryVoteByProposalVoterRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter"M\n QueryVoteByProposalVoterResponse\x12)\n\x04vote\x18\x01 \x01(\x0b\x32\x15.cosmos.group.v1.VoteR\x04vote"\x86\x01\n\x1bQueryVotesByProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x94\x01\n\x1cQueryVotesByProposalResponse\x12+\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x92\x01\n\x18QueryVotesByVoterRequest\x12.\n\x05voter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x91\x01\n\x19QueryVotesByVoterResponse\x12+\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x98\x01\n\x1aQueryGroupsByMemberRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x9a\x01\n\x1bQueryGroupsByMemberResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"Y\n\x18QueryTallyResultResponse\x12=\n\x05tally\x18\x01 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05tally"\\\n\x12QueryGroupsRequest\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x92\x01\n\x13QueryGroupsResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xfb\x11\n\x05Query\x12\x8c\x01\n\tGroupInfo\x12&.cosmos.group.v1.QueryGroupInfoRequest\x1a\'.cosmos.group.v1.QueryGroupInfoResponse".\x82\xd3\xe4\x93\x02(\x12&/cosmos/group/v1/group_info/{group_id}\x12\xa4\x01\n\x0fGroupPolicyInfo\x12,.cosmos.group.v1.QueryGroupPolicyInfoRequest\x1a-.cosmos.group.v1.QueryGroupPolicyInfoResponse"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/group/v1/group_policy_info/{address}\x12\x98\x01\n\x0cGroupMembers\x12).cosmos.group.v1.QueryGroupMembersRequest\x1a*.cosmos.group.v1.QueryGroupMembersResponse"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/group/v1/group_members/{group_id}\x12\x9a\x01\n\rGroupsByAdmin\x12*.cosmos.group.v1.QueryGroupsByAdminRequest\x1a+.cosmos.group.v1.QueryGroupsByAdminResponse"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/group/v1/groups_by_admin/{admin}\x12\xba\x01\n\x14GroupPoliciesByGroup\x12\x31.cosmos.group.v1.QueryGroupPoliciesByGroupRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByGroupResponse";\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/group/v1/group_policies_by_group/{group_id}\x12\xb7\x01\n\x14GroupPoliciesByAdmin\x12\x31.cosmos.group.v1.QueryGroupPoliciesByAdminRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByAdminResponse"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/group_policies_by_admin/{admin}\x12\x8a\x01\n\x08Proposal\x12%.cosmos.group.v1.QueryProposalRequest\x1a&.cosmos.group.v1.QueryProposalResponse"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/proposal/{proposal_id}\x12\xc1\x01\n\x16ProposalsByGroupPolicy\x12\x33.cosmos.group.v1.QueryProposalsByGroupPolicyRequest\x1a\x34.cosmos.group.v1.QueryProposalsByGroupPolicyResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/group/v1/proposals_by_group_policy/{address}\x12\xc1\x01\n\x13VoteByProposalVoter\x12\x30.cosmos.group.v1.QueryVoteByProposalVoterRequest\x1a\x31.cosmos.group.v1.QueryVoteByProposalVoterResponse"E\x82\xd3\xe4\x93\x02?\x12=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}\x12\xa8\x01\n\x0fVotesByProposal\x12,.cosmos.group.v1.QueryVotesByProposalRequest\x1a-.cosmos.group.v1.QueryVotesByProposalResponse"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/votes_by_proposal/{proposal_id}\x12\x96\x01\n\x0cVotesByVoter\x12).cosmos.group.v1.QueryVotesByVoterRequest\x1a*.cosmos.group.v1.QueryVotesByVoterResponse"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/votes_by_voter/{voter}\x12\xa0\x01\n\x0eGroupsByMember\x12+.cosmos.group.v1.QueryGroupsByMemberRequest\x1a,.cosmos.group.v1.QueryGroupsByMemberResponse"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/group/v1/groups_by_member/{address}\x12\x9a\x01\n\x0bTallyResult\x12(.cosmos.group.v1.QueryTallyResultRequest\x1a).cosmos.group.v1.QueryTallyResultResponse"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/group/v1/proposals/{proposal_id}/tally\x12t\n\x06Groups\x12#.cosmos.group.v1.QueryGroupsRequest\x1a$.cosmos.group.v1.QueryGroupsResponse"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cosmos/group/v1/groupsB\xa5\x01\n\x13\x63om.cosmos.group.v1B\nQueryProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.group.v1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\nQueryProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' - _globals['_QUERYGROUPPOLICYINFOREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYGROUPPOLICYINFOREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYGROUPSBYADMINREQUEST'].fields_by_name['admin']._loaded_options = None - _globals['_QUERYGROUPSBYADMINREQUEST'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYGROUPPOLICIESBYADMINREQUEST'].fields_by_name['admin']._loaded_options = None - _globals['_QUERYGROUPPOLICIESBYADMINREQUEST'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST'].fields_by_name['voter']._loaded_options = None - _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYVOTESBYVOTERREQUEST'].fields_by_name['voter']._loaded_options = None - _globals['_QUERYVOTESBYVOTERREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYGROUPSBYMEMBERREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYGROUPSBYMEMBERREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYTALLYRESULTRESPONSE'].fields_by_name['tally']._loaded_options = None - _globals['_QUERYTALLYRESULTRESPONSE'].fields_by_name['tally']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERY'].methods_by_name['GroupInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['GroupInfo']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/group/v1/group_info/{group_id}' - _globals['_QUERY'].methods_by_name['GroupPolicyInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['GroupPolicyInfo']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/group/v1/group_policy_info/{address}' - _globals['_QUERY'].methods_by_name['GroupMembers']._loaded_options = None - _globals['_QUERY'].methods_by_name['GroupMembers']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/group/v1/group_members/{group_id}' - _globals['_QUERY'].methods_by_name['GroupsByAdmin']._loaded_options = None - _globals['_QUERY'].methods_by_name['GroupsByAdmin']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/group/v1/groups_by_admin/{admin}' - _globals['_QUERY'].methods_by_name['GroupPoliciesByGroup']._loaded_options = None - _globals['_QUERY'].methods_by_name['GroupPoliciesByGroup']._serialized_options = b'\202\323\344\223\0025\0223/cosmos/group/v1/group_policies_by_group/{group_id}' - _globals['_QUERY'].methods_by_name['GroupPoliciesByAdmin']._loaded_options = None - _globals['_QUERY'].methods_by_name['GroupPoliciesByAdmin']._serialized_options = b'\202\323\344\223\0022\0220/cosmos/group/v1/group_policies_by_admin/{admin}' - _globals['_QUERY'].methods_by_name['Proposal']._loaded_options = None - _globals['_QUERY'].methods_by_name['Proposal']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/group/v1/proposal/{proposal_id}' - _globals['_QUERY'].methods_by_name['ProposalsByGroupPolicy']._loaded_options = None - _globals['_QUERY'].methods_by_name['ProposalsByGroupPolicy']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/group/v1/proposals_by_group_policy/{address}' - _globals['_QUERY'].methods_by_name['VoteByProposalVoter']._loaded_options = None - _globals['_QUERY'].methods_by_name['VoteByProposalVoter']._serialized_options = b'\202\323\344\223\002?\022=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}' - _globals['_QUERY'].methods_by_name['VotesByProposal']._loaded_options = None - _globals['_QUERY'].methods_by_name['VotesByProposal']._serialized_options = b'\202\323\344\223\0022\0220/cosmos/group/v1/votes_by_proposal/{proposal_id}' - _globals['_QUERY'].methods_by_name['VotesByVoter']._loaded_options = None - _globals['_QUERY'].methods_by_name['VotesByVoter']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/group/v1/votes_by_voter/{voter}' - _globals['_QUERY'].methods_by_name['GroupsByMember']._loaded_options = None - _globals['_QUERY'].methods_by_name['GroupsByMember']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/group/v1/groups_by_member/{address}' - _globals['_QUERY'].methods_by_name['TallyResult']._loaded_options = None - _globals['_QUERY'].methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\0020\022./cosmos/group/v1/proposals/{proposal_id}/tally' - _globals['_QUERY'].methods_by_name['Groups']._loaded_options = None - _globals['_QUERY'].methods_by_name['Groups']._serialized_options = b'\202\323\344\223\002\031\022\027/cosmos/group/v1/groups' - _globals['_QUERYGROUPINFOREQUEST']._serialized_start=219 - _globals['_QUERYGROUPINFOREQUEST']._serialized_end=269 - _globals['_QUERYGROUPINFORESPONSE']._serialized_start=271 - _globals['_QUERYGROUPINFORESPONSE']._serialized_end=343 - _globals['_QUERYGROUPPOLICYINFOREQUEST']._serialized_start=345 - _globals['_QUERYGROUPPOLICYINFOREQUEST']._serialized_end=426 - _globals['_QUERYGROUPPOLICYINFORESPONSE']._serialized_start=428 - _globals['_QUERYGROUPPOLICYINFORESPONSE']._serialized_end=512 - _globals['_QUERYGROUPMEMBERSREQUEST']._serialized_start=514 - _globals['_QUERYGROUPMEMBERSREQUEST']._serialized_end=639 - _globals['_QUERYGROUPMEMBERSRESPONSE']._serialized_start=642 - _globals['_QUERYGROUPMEMBERSRESPONSE']._serialized_end=798 - _globals['_QUERYGROUPSBYADMINREQUEST']._serialized_start=801 - _globals['_QUERYGROUPSBYADMINREQUEST']._serialized_end=948 - _globals['_QUERYGROUPSBYADMINRESPONSE']._serialized_start=951 - _globals['_QUERYGROUPSBYADMINRESPONSE']._serialized_end=1104 - _globals['_QUERYGROUPPOLICIESBYGROUPREQUEST']._serialized_start=1107 - _globals['_QUERYGROUPPOLICIESBYGROUPREQUEST']._serialized_end=1240 - _globals['_QUERYGROUPPOLICIESBYGROUPRESPONSE']._serialized_start=1243 - _globals['_QUERYGROUPPOLICIESBYGROUPRESPONSE']._serialized_end=1424 - _globals['_QUERYGROUPPOLICIESBYADMINREQUEST']._serialized_start=1427 - _globals['_QUERYGROUPPOLICIESBYADMINREQUEST']._serialized_end=1581 - _globals['_QUERYGROUPPOLICIESBYADMINRESPONSE']._serialized_start=1584 - _globals['_QUERYGROUPPOLICIESBYADMINRESPONSE']._serialized_end=1765 - _globals['_QUERYPROPOSALREQUEST']._serialized_start=1767 - _globals['_QUERYPROPOSALREQUEST']._serialized_end=1822 - _globals['_QUERYPROPOSALRESPONSE']._serialized_start=1824 - _globals['_QUERYPROPOSALRESPONSE']._serialized_end=1902 - _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST']._serialized_start=1905 - _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST']._serialized_end=2065 - _globals['_QUERYPROPOSALSBYGROUPPOLICYRESPONSE']._serialized_start=2068 - _globals['_QUERYPROPOSALSBYGROUPPOLICYRESPONSE']._serialized_end=2235 - _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST']._serialized_start=2237 - _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST']._serialized_end=2351 - _globals['_QUERYVOTEBYPROPOSALVOTERRESPONSE']._serialized_start=2353 - _globals['_QUERYVOTEBYPROPOSALVOTERRESPONSE']._serialized_end=2430 - _globals['_QUERYVOTESBYPROPOSALREQUEST']._serialized_start=2433 - _globals['_QUERYVOTESBYPROPOSALREQUEST']._serialized_end=2567 - _globals['_QUERYVOTESBYPROPOSALRESPONSE']._serialized_start=2570 - _globals['_QUERYVOTESBYPROPOSALRESPONSE']._serialized_end=2718 - _globals['_QUERYVOTESBYVOTERREQUEST']._serialized_start=2721 - _globals['_QUERYVOTESBYVOTERREQUEST']._serialized_end=2867 - _globals['_QUERYVOTESBYVOTERRESPONSE']._serialized_start=2870 - _globals['_QUERYVOTESBYVOTERRESPONSE']._serialized_end=3015 - _globals['_QUERYGROUPSBYMEMBERREQUEST']._serialized_start=3018 - _globals['_QUERYGROUPSBYMEMBERREQUEST']._serialized_end=3170 - _globals['_QUERYGROUPSBYMEMBERRESPONSE']._serialized_start=3173 - _globals['_QUERYGROUPSBYMEMBERRESPONSE']._serialized_end=3327 - _globals['_QUERYTALLYRESULTREQUEST']._serialized_start=3329 - _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=3387 - _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=3389 - _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=3478 - _globals['_QUERYGROUPSREQUEST']._serialized_start=3480 - _globals['_QUERYGROUPSREQUEST']._serialized_end=3572 - _globals['_QUERYGROUPSRESPONSE']._serialized_start=3575 - _globals['_QUERYGROUPSRESPONSE']._serialized_end=3721 - _globals['_QUERY']._serialized_start=3724 - _globals['_QUERY']._serialized_end=6023 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\023com.cosmos.group.v1B\nQueryProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1" + ) + _globals["_QUERYGROUPPOLICYINFOREQUEST"].fields_by_name["address"]._loaded_options = None + _globals["_QUERYGROUPPOLICYINFOREQUEST"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYGROUPSBYADMINREQUEST"].fields_by_name["admin"]._loaded_options = None + _globals["_QUERYGROUPSBYADMINREQUEST"].fields_by_name[ + "admin" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYGROUPPOLICIESBYADMINREQUEST"].fields_by_name["admin"]._loaded_options = None + _globals["_QUERYGROUPPOLICIESBYADMINREQUEST"].fields_by_name[ + "admin" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYPROPOSALSBYGROUPPOLICYREQUEST"].fields_by_name["address"]._loaded_options = None + _globals["_QUERYPROPOSALSBYGROUPPOLICYREQUEST"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYVOTEBYPROPOSALVOTERREQUEST"].fields_by_name["voter"]._loaded_options = None + _globals["_QUERYVOTEBYPROPOSALVOTERREQUEST"].fields_by_name[ + "voter" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYVOTESBYVOTERREQUEST"].fields_by_name["voter"]._loaded_options = None + _globals["_QUERYVOTESBYVOTERREQUEST"].fields_by_name[ + "voter" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYGROUPSBYMEMBERREQUEST"].fields_by_name["address"]._loaded_options = None + _globals["_QUERYGROUPSBYMEMBERREQUEST"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYTALLYRESULTRESPONSE"].fields_by_name["tally"]._loaded_options = None + _globals["_QUERYTALLYRESULTRESPONSE"].fields_by_name[ + "tally" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERY"].methods_by_name["GroupInfo"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "GroupInfo" + ]._serialized_options = b"\202\323\344\223\002(\022&/cosmos/group/v1/group_info/{group_id}" + _globals["_QUERY"].methods_by_name["GroupPolicyInfo"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "GroupPolicyInfo" + ]._serialized_options = b"\202\323\344\223\002.\022,/cosmos/group/v1/group_policy_info/{address}" + _globals["_QUERY"].methods_by_name["GroupMembers"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "GroupMembers" + ]._serialized_options = b"\202\323\344\223\002+\022)/cosmos/group/v1/group_members/{group_id}" + _globals["_QUERY"].methods_by_name["GroupsByAdmin"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "GroupsByAdmin" + ]._serialized_options = b"\202\323\344\223\002*\022(/cosmos/group/v1/groups_by_admin/{admin}" + _globals["_QUERY"].methods_by_name["GroupPoliciesByGroup"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "GroupPoliciesByGroup" + ]._serialized_options = b"\202\323\344\223\0025\0223/cosmos/group/v1/group_policies_by_group/{group_id}" + _globals["_QUERY"].methods_by_name["GroupPoliciesByAdmin"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "GroupPoliciesByAdmin" + ]._serialized_options = b"\202\323\344\223\0022\0220/cosmos/group/v1/group_policies_by_admin/{admin}" + _globals["_QUERY"].methods_by_name["Proposal"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Proposal" + ]._serialized_options = b"\202\323\344\223\002)\022'/cosmos/group/v1/proposal/{proposal_id}" + _globals["_QUERY"].methods_by_name["ProposalsByGroupPolicy"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ProposalsByGroupPolicy" + ]._serialized_options = b"\202\323\344\223\0026\0224/cosmos/group/v1/proposals_by_group_policy/{address}" + _globals["_QUERY"].methods_by_name["VoteByProposalVoter"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "VoteByProposalVoter" + ]._serialized_options = b"\202\323\344\223\002?\022=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}" + _globals["_QUERY"].methods_by_name["VotesByProposal"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "VotesByProposal" + ]._serialized_options = b"\202\323\344\223\0022\0220/cosmos/group/v1/votes_by_proposal/{proposal_id}" + _globals["_QUERY"].methods_by_name["VotesByVoter"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "VotesByVoter" + ]._serialized_options = b"\202\323\344\223\002)\022'/cosmos/group/v1/votes_by_voter/{voter}" + _globals["_QUERY"].methods_by_name["GroupsByMember"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "GroupsByMember" + ]._serialized_options = b"\202\323\344\223\002-\022+/cosmos/group/v1/groups_by_member/{address}" + _globals["_QUERY"].methods_by_name["TallyResult"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "TallyResult" + ]._serialized_options = b"\202\323\344\223\0020\022./cosmos/group/v1/proposals/{proposal_id}/tally" + _globals["_QUERY"].methods_by_name["Groups"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Groups" + ]._serialized_options = b"\202\323\344\223\002\031\022\027/cosmos/group/v1/groups" + _globals["_QUERYGROUPINFOREQUEST"]._serialized_start = 219 + _globals["_QUERYGROUPINFOREQUEST"]._serialized_end = 269 + _globals["_QUERYGROUPINFORESPONSE"]._serialized_start = 271 + _globals["_QUERYGROUPINFORESPONSE"]._serialized_end = 343 + _globals["_QUERYGROUPPOLICYINFOREQUEST"]._serialized_start = 345 + _globals["_QUERYGROUPPOLICYINFOREQUEST"]._serialized_end = 426 + _globals["_QUERYGROUPPOLICYINFORESPONSE"]._serialized_start = 428 + _globals["_QUERYGROUPPOLICYINFORESPONSE"]._serialized_end = 512 + _globals["_QUERYGROUPMEMBERSREQUEST"]._serialized_start = 514 + _globals["_QUERYGROUPMEMBERSREQUEST"]._serialized_end = 639 + _globals["_QUERYGROUPMEMBERSRESPONSE"]._serialized_start = 642 + _globals["_QUERYGROUPMEMBERSRESPONSE"]._serialized_end = 798 + _globals["_QUERYGROUPSBYADMINREQUEST"]._serialized_start = 801 + _globals["_QUERYGROUPSBYADMINREQUEST"]._serialized_end = 948 + _globals["_QUERYGROUPSBYADMINRESPONSE"]._serialized_start = 951 + _globals["_QUERYGROUPSBYADMINRESPONSE"]._serialized_end = 1104 + _globals["_QUERYGROUPPOLICIESBYGROUPREQUEST"]._serialized_start = 1107 + _globals["_QUERYGROUPPOLICIESBYGROUPREQUEST"]._serialized_end = 1240 + _globals["_QUERYGROUPPOLICIESBYGROUPRESPONSE"]._serialized_start = 1243 + _globals["_QUERYGROUPPOLICIESBYGROUPRESPONSE"]._serialized_end = 1424 + _globals["_QUERYGROUPPOLICIESBYADMINREQUEST"]._serialized_start = 1427 + _globals["_QUERYGROUPPOLICIESBYADMINREQUEST"]._serialized_end = 1581 + _globals["_QUERYGROUPPOLICIESBYADMINRESPONSE"]._serialized_start = 1584 + _globals["_QUERYGROUPPOLICIESBYADMINRESPONSE"]._serialized_end = 1765 + _globals["_QUERYPROPOSALREQUEST"]._serialized_start = 1767 + _globals["_QUERYPROPOSALREQUEST"]._serialized_end = 1822 + _globals["_QUERYPROPOSALRESPONSE"]._serialized_start = 1824 + _globals["_QUERYPROPOSALRESPONSE"]._serialized_end = 1902 + _globals["_QUERYPROPOSALSBYGROUPPOLICYREQUEST"]._serialized_start = 1905 + _globals["_QUERYPROPOSALSBYGROUPPOLICYREQUEST"]._serialized_end = 2065 + _globals["_QUERYPROPOSALSBYGROUPPOLICYRESPONSE"]._serialized_start = 2068 + _globals["_QUERYPROPOSALSBYGROUPPOLICYRESPONSE"]._serialized_end = 2235 + _globals["_QUERYVOTEBYPROPOSALVOTERREQUEST"]._serialized_start = 2237 + _globals["_QUERYVOTEBYPROPOSALVOTERREQUEST"]._serialized_end = 2351 + _globals["_QUERYVOTEBYPROPOSALVOTERRESPONSE"]._serialized_start = 2353 + _globals["_QUERYVOTEBYPROPOSALVOTERRESPONSE"]._serialized_end = 2430 + _globals["_QUERYVOTESBYPROPOSALREQUEST"]._serialized_start = 2433 + _globals["_QUERYVOTESBYPROPOSALREQUEST"]._serialized_end = 2567 + _globals["_QUERYVOTESBYPROPOSALRESPONSE"]._serialized_start = 2570 + _globals["_QUERYVOTESBYPROPOSALRESPONSE"]._serialized_end = 2718 + _globals["_QUERYVOTESBYVOTERREQUEST"]._serialized_start = 2721 + _globals["_QUERYVOTESBYVOTERREQUEST"]._serialized_end = 2867 + _globals["_QUERYVOTESBYVOTERRESPONSE"]._serialized_start = 2870 + _globals["_QUERYVOTESBYVOTERRESPONSE"]._serialized_end = 3015 + _globals["_QUERYGROUPSBYMEMBERREQUEST"]._serialized_start = 3018 + _globals["_QUERYGROUPSBYMEMBERREQUEST"]._serialized_end = 3170 + _globals["_QUERYGROUPSBYMEMBERRESPONSE"]._serialized_start = 3173 + _globals["_QUERYGROUPSBYMEMBERRESPONSE"]._serialized_end = 3327 + _globals["_QUERYTALLYRESULTREQUEST"]._serialized_start = 3329 + _globals["_QUERYTALLYRESULTREQUEST"]._serialized_end = 3387 + _globals["_QUERYTALLYRESULTRESPONSE"]._serialized_start = 3389 + _globals["_QUERYTALLYRESULTRESPONSE"]._serialized_end = 3478 + _globals["_QUERYGROUPSREQUEST"]._serialized_start = 3480 + _globals["_QUERYGROUPSREQUEST"]._serialized_end = 3572 + _globals["_QUERYGROUPSRESPONSE"]._serialized_start = 3575 + _globals["_QUERYGROUPSRESPONSE"]._serialized_end = 3721 + _globals["_QUERY"]._serialized_start = 3724 + _globals["_QUERY"]._serialized_end = 6023 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py index 3018bf10..9cfe7214 100644 --- a/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query is the cosmos.group.v1 Query service. - """ + """Query is the cosmos.group.v1 Query service.""" def __init__(self, channel): """Constructor. @@ -16,164 +15,165 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GroupInfo = channel.unary_unary( - '/cosmos.group.v1.Query/GroupInfo', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Query/GroupInfo", + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoResponse.FromString, + _registered_method=True, + ) self.GroupPolicyInfo = channel.unary_unary( - '/cosmos.group.v1.Query/GroupPolicyInfo', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Query/GroupPolicyInfo", + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoResponse.FromString, + _registered_method=True, + ) self.GroupMembers = channel.unary_unary( - '/cosmos.group.v1.Query/GroupMembers', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Query/GroupMembers", + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersResponse.FromString, + _registered_method=True, + ) self.GroupsByAdmin = channel.unary_unary( - '/cosmos.group.v1.Query/GroupsByAdmin', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Query/GroupsByAdmin", + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminResponse.FromString, + _registered_method=True, + ) self.GroupPoliciesByGroup = channel.unary_unary( - '/cosmos.group.v1.Query/GroupPoliciesByGroup', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Query/GroupPoliciesByGroup", + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupResponse.FromString, + _registered_method=True, + ) self.GroupPoliciesByAdmin = channel.unary_unary( - '/cosmos.group.v1.Query/GroupPoliciesByAdmin', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Query/GroupPoliciesByAdmin", + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminResponse.FromString, + _registered_method=True, + ) self.Proposal = channel.unary_unary( - '/cosmos.group.v1.Query/Proposal', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Query/Proposal", + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, + _registered_method=True, + ) self.ProposalsByGroupPolicy = channel.unary_unary( - '/cosmos.group.v1.Query/ProposalsByGroupPolicy', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Query/ProposalsByGroupPolicy", + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyResponse.FromString, + _registered_method=True, + ) self.VoteByProposalVoter = channel.unary_unary( - '/cosmos.group.v1.Query/VoteByProposalVoter', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Query/VoteByProposalVoter", + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterResponse.FromString, + _registered_method=True, + ) self.VotesByProposal = channel.unary_unary( - '/cosmos.group.v1.Query/VotesByProposal', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Query/VotesByProposal", + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalResponse.FromString, + _registered_method=True, + ) self.VotesByVoter = channel.unary_unary( - '/cosmos.group.v1.Query/VotesByVoter', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Query/VotesByVoter", + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterResponse.FromString, + _registered_method=True, + ) self.GroupsByMember = channel.unary_unary( - '/cosmos.group.v1.Query/GroupsByMember', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Query/GroupsByMember", + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberResponse.FromString, + _registered_method=True, + ) self.TallyResult = channel.unary_unary( - '/cosmos.group.v1.Query/TallyResult', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Query/TallyResult", + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, + _registered_method=True, + ) self.Groups = channel.unary_unary( - '/cosmos.group.v1.Query/Groups', - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Query/Groups", + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query is the cosmos.group.v1 Query service. - """ + """Query is the cosmos.group.v1 Query service.""" def GroupInfo(self, request, context): - """GroupInfo queries group info based on group id. - """ + """GroupInfo queries group info based on group id.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GroupPolicyInfo(self, request, context): - """GroupPolicyInfo queries group policy info based on account address of group policy. - """ + """GroupPolicyInfo queries group policy info based on account address of group policy.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GroupMembers(self, request, context): - """GroupMembers queries members of a group by group id. - """ + """GroupMembers queries members of a group by group id.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GroupsByAdmin(self, request, context): - """GroupsByAdmin queries groups by admin address. - """ + """GroupsByAdmin queries groups by admin address.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GroupPoliciesByGroup(self, request, context): - """GroupPoliciesByGroup queries group policies by group id. - """ + """GroupPoliciesByGroup queries group policies by group id.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GroupPoliciesByAdmin(self, request, context): - """GroupPoliciesByAdmin queries group policies by admin address. - """ + """GroupPoliciesByAdmin queries group policies by admin address.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Proposal(self, request, context): - """Proposal queries a proposal based on proposal id. - """ + """Proposal queries a proposal based on proposal id.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ProposalsByGroupPolicy(self, request, context): - """ProposalsByGroupPolicy queries proposals based on account address of group policy. - """ + """ProposalsByGroupPolicy queries proposals based on account address of group policy.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def VoteByProposalVoter(self, request, context): - """VoteByProposalVoter queries a vote by proposal id and voter. - """ + """VoteByProposalVoter queries a vote by proposal id and voter.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def VotesByProposal(self, request, context): - """VotesByProposal queries a vote by proposal id. - """ + """VotesByProposal queries a vote by proposal id.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def VotesByVoter(self, request, context): - """VotesByVoter queries a vote by voter. - """ + """VotesByVoter queries a vote by voter.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GroupsByMember(self, request, context): - """GroupsByMember queries groups by member address. - """ + """GroupsByMember queries groups by member address.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TallyResult(self, request, context): """TallyResult returns the tally result of a proposal. If the proposal is @@ -183,8 +183,8 @@ def TallyResult(self, request, context): proposal itself. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Groups(self, request, context): """Groups queries all groups in state. @@ -192,109 +192,109 @@ def Groups(self, request, context): Since: cosmos-sdk 0.47.1 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'GroupInfo': grpc.unary_unary_rpc_method_handler( - servicer.GroupInfo, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoResponse.SerializeToString, - ), - 'GroupPolicyInfo': grpc.unary_unary_rpc_method_handler( - servicer.GroupPolicyInfo, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoResponse.SerializeToString, - ), - 'GroupMembers': grpc.unary_unary_rpc_method_handler( - servicer.GroupMembers, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersResponse.SerializeToString, - ), - 'GroupsByAdmin': grpc.unary_unary_rpc_method_handler( - servicer.GroupsByAdmin, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminResponse.SerializeToString, - ), - 'GroupPoliciesByGroup': grpc.unary_unary_rpc_method_handler( - servicer.GroupPoliciesByGroup, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupResponse.SerializeToString, - ), - 'GroupPoliciesByAdmin': grpc.unary_unary_rpc_method_handler( - servicer.GroupPoliciesByAdmin, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminResponse.SerializeToString, - ), - 'Proposal': grpc.unary_unary_rpc_method_handler( - servicer.Proposal, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalResponse.SerializeToString, - ), - 'ProposalsByGroupPolicy': grpc.unary_unary_rpc_method_handler( - servicer.ProposalsByGroupPolicy, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyResponse.SerializeToString, - ), - 'VoteByProposalVoter': grpc.unary_unary_rpc_method_handler( - servicer.VoteByProposalVoter, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterResponse.SerializeToString, - ), - 'VotesByProposal': grpc.unary_unary_rpc_method_handler( - servicer.VotesByProposal, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalResponse.SerializeToString, - ), - 'VotesByVoter': grpc.unary_unary_rpc_method_handler( - servicer.VotesByVoter, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterResponse.SerializeToString, - ), - 'GroupsByMember': grpc.unary_unary_rpc_method_handler( - servicer.GroupsByMember, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberResponse.SerializeToString, - ), - 'TallyResult': grpc.unary_unary_rpc_method_handler( - servicer.TallyResult, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, - ), - 'Groups': grpc.unary_unary_rpc_method_handler( - servicer.Groups, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.SerializeToString, - ), + "GroupInfo": grpc.unary_unary_rpc_method_handler( + servicer.GroupInfo, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoResponse.SerializeToString, + ), + "GroupPolicyInfo": grpc.unary_unary_rpc_method_handler( + servicer.GroupPolicyInfo, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoResponse.SerializeToString, + ), + "GroupMembers": grpc.unary_unary_rpc_method_handler( + servicer.GroupMembers, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersResponse.SerializeToString, + ), + "GroupsByAdmin": grpc.unary_unary_rpc_method_handler( + servicer.GroupsByAdmin, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminResponse.SerializeToString, + ), + "GroupPoliciesByGroup": grpc.unary_unary_rpc_method_handler( + servicer.GroupPoliciesByGroup, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupResponse.SerializeToString, + ), + "GroupPoliciesByAdmin": grpc.unary_unary_rpc_method_handler( + servicer.GroupPoliciesByAdmin, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminResponse.SerializeToString, + ), + "Proposal": grpc.unary_unary_rpc_method_handler( + servicer.Proposal, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalResponse.SerializeToString, + ), + "ProposalsByGroupPolicy": grpc.unary_unary_rpc_method_handler( + servicer.ProposalsByGroupPolicy, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyResponse.SerializeToString, + ), + "VoteByProposalVoter": grpc.unary_unary_rpc_method_handler( + servicer.VoteByProposalVoter, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterResponse.SerializeToString, + ), + "VotesByProposal": grpc.unary_unary_rpc_method_handler( + servicer.VotesByProposal, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalResponse.SerializeToString, + ), + "VotesByVoter": grpc.unary_unary_rpc_method_handler( + servicer.VotesByVoter, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterResponse.SerializeToString, + ), + "GroupsByMember": grpc.unary_unary_rpc_method_handler( + servicer.GroupsByMember, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberResponse.SerializeToString, + ), + "TallyResult": grpc.unary_unary_rpc_method_handler( + servicer.TallyResult, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, + ), + "Groups": grpc.unary_unary_rpc_method_handler( + servicer.Groups, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.group.v1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.group.v1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.group.v1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.group.v1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query is the cosmos.group.v1 Query service. - """ + """Query is the cosmos.group.v1 Query service.""" @staticmethod - def GroupInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GroupInfo( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Query/GroupInfo', + "/cosmos.group.v1.Query/GroupInfo", cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoResponse.FromString, options, @@ -305,23 +305,26 @@ def GroupInfo(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GroupPolicyInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GroupPolicyInfo( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Query/GroupPolicyInfo', + "/cosmos.group.v1.Query/GroupPolicyInfo", cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoResponse.FromString, options, @@ -332,23 +335,26 @@ def GroupPolicyInfo(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GroupMembers(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GroupMembers( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Query/GroupMembers', + "/cosmos.group.v1.Query/GroupMembers", cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersResponse.FromString, options, @@ -359,23 +365,26 @@ def GroupMembers(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GroupsByAdmin(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GroupsByAdmin( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Query/GroupsByAdmin', + "/cosmos.group.v1.Query/GroupsByAdmin", cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminResponse.FromString, options, @@ -386,23 +395,26 @@ def GroupsByAdmin(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GroupPoliciesByGroup(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GroupPoliciesByGroup( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Query/GroupPoliciesByGroup', + "/cosmos.group.v1.Query/GroupPoliciesByGroup", cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupResponse.FromString, options, @@ -413,23 +425,26 @@ def GroupPoliciesByGroup(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GroupPoliciesByAdmin(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GroupPoliciesByAdmin( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Query/GroupPoliciesByAdmin', + "/cosmos.group.v1.Query/GroupPoliciesByAdmin", cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminResponse.FromString, options, @@ -440,23 +455,26 @@ def GroupPoliciesByAdmin(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Proposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Proposal( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Query/Proposal', + "/cosmos.group.v1.Query/Proposal", cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, options, @@ -467,23 +485,26 @@ def Proposal(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ProposalsByGroupPolicy(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ProposalsByGroupPolicy( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Query/ProposalsByGroupPolicy', + "/cosmos.group.v1.Query/ProposalsByGroupPolicy", cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyResponse.FromString, options, @@ -494,23 +515,26 @@ def ProposalsByGroupPolicy(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def VoteByProposalVoter(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def VoteByProposalVoter( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Query/VoteByProposalVoter', + "/cosmos.group.v1.Query/VoteByProposalVoter", cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterResponse.FromString, options, @@ -521,23 +545,26 @@ def VoteByProposalVoter(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def VotesByProposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def VotesByProposal( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Query/VotesByProposal', + "/cosmos.group.v1.Query/VotesByProposal", cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalResponse.FromString, options, @@ -548,23 +575,26 @@ def VotesByProposal(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def VotesByVoter(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def VotesByVoter( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Query/VotesByVoter', + "/cosmos.group.v1.Query/VotesByVoter", cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterResponse.FromString, options, @@ -575,23 +605,26 @@ def VotesByVoter(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GroupsByMember(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GroupsByMember( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Query/GroupsByMember', + "/cosmos.group.v1.Query/GroupsByMember", cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberResponse.FromString, options, @@ -602,23 +635,26 @@ def GroupsByMember(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def TallyResult(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def TallyResult( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Query/TallyResult', + "/cosmos.group.v1.Query/TallyResult", cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, options, @@ -629,23 +665,26 @@ def TallyResult(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Groups(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Groups( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Query/Groups', + "/cosmos.group.v1.Query/Groups", cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.FromString, options, @@ -656,4 +695,5 @@ def Groups(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/group/v1/tx_pb2.py b/pyinjective/proto/cosmos/group/v1/tx_pb2.py index be5d27d0..c29e7fbb 100644 --- a/pyinjective/proto/cosmos/group/v1/tx_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -20,156 +21,224 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x63osmos/group/v1/tx.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xcb\x01\n\x0eMsgCreateGroup\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x43\n\x07members\x18\x02 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07members\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:(\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x19\x63osmos-sdk/MsgCreateGroup\"3\n\x16MsgCreateGroupResponse\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\"\xe5\x01\n\x15MsgUpdateGroupMembers\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12P\n\x0emember_updates\x18\x03 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rmemberUpdates:/\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0* cosmos-sdk/MsgUpdateGroupMembers\"\x1f\n\x1dMsgUpdateGroupMembersResponse\"\xc6\x01\n\x13MsgUpdateGroupAdmin\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x35\n\tnew_admin\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin:-\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1e\x63osmos-sdk/MsgUpdateGroupAdmin\"\x1d\n\x1bMsgUpdateGroupAdminResponse\"\xb1\x01\n\x16MsgUpdateGroupMetadata\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:0\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*!cosmos-sdk/MsgUpdateGroupMetadata\" \n\x1eMsgUpdateGroupMetadataResponse\"\x94\x02\n\x14MsgCreateGroupPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy:2\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgCreateGroupPolicy\"R\n\x1cMsgCreateGroupPolicyResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"\x83\x02\n\x19MsgUpdateGroupPolicyAdmin\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x35\n\tnew_admin\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin:3\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*$cosmos-sdk/MsgUpdateGroupPolicyAdmin\"#\n!MsgUpdateGroupPolicyAdminResponse\"\xb8\x03\n\x18MsgCreateGroupWithPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x43\n\x07members\x18\x02 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07members\x12%\n\x0egroup_metadata\x18\x03 \x01(\tR\rgroupMetadata\x12\x32\n\x15group_policy_metadata\x18\x04 \x01(\tR\x13groupPolicyMetadata\x12\x31\n\x15group_policy_as_admin\x18\x05 \x01(\x08R\x12groupPolicyAsAdmin\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy:6\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*#cosmos-sdk/MsgCreateGroupWithPolicy\"\x89\x01\n MsgCreateGroupWithPolicyResponse\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\"\xbf\x02\n\"MsgUpdateGroupPolicyDecisionPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy::\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\'cosmos-sdk/MsgUpdateGroupDecisionPolicy\",\n*MsgUpdateGroupPolicyDecisionPolicyResponse\"\xee\x01\n\x1cMsgUpdateGroupPolicyMetadata\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:6\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\'cosmos-sdk/MsgUpdateGroupPolicyMetadata\"&\n$MsgUpdateGroupPolicyMetadataResponse\"\xe1\x02\n\x11MsgSubmitProposal\x12J\n\x14group_policy_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1c\n\tproposers\x18\x02 \x03(\tR\tproposers\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x30\n\x08messages\x18\x04 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12)\n\x04\x65xec\x18\x05 \x01(\x0e\x32\x15.cosmos.group.v1.ExecR\x04\x65xec\x12\x14\n\x05title\x18\x06 \x01(\tR\x05title\x12\x18\n\x07summary\x18\x07 \x01(\tR\x07summary:9\x88\xa0\x1f\x00\x82\xe7\xb0*\tproposers\x8a\xe7\xb0*\"cosmos-sdk/group/MsgSubmitProposal\"<\n\x19MsgSubmitProposalResponse\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\xa1\x01\n\x13MsgWithdrawProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x32\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:5\x82\xe7\xb0*\x07\x61\x64\x64ress\x8a\xe7\xb0*$cosmos-sdk/group/MsgWithdrawProposal\"\x1d\n\x1bMsgWithdrawProposalResponse\"\xff\x01\n\x07MsgVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x33\n\x06option\x18\x03 \x01(\x0e\x32\x1b.cosmos.group.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12)\n\x04\x65xec\x18\x05 \x01(\x0e\x32\x15.cosmos.group.v1.ExecR\x04\x65xec:\'\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x18\x63osmos-sdk/group/MsgVote\"\x11\n\x0fMsgVoteResponse\"\x8c\x01\n\x07MsgExec\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x34\n\x08\x65xecutor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x65xecutor:*\x82\xe7\xb0*\x08\x65xecutor\x8a\xe7\xb0*\x18\x63osmos-sdk/group/MsgExec\"R\n\x0fMsgExecResponse\x12?\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x06result\"\x8f\x01\n\rMsgLeaveGroup\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId:/\x82\xe7\xb0*\x07\x61\x64\x64ress\x8a\xe7\xb0*\x1e\x63osmos-sdk/group/MsgLeaveGroup\"\x17\n\x15MsgLeaveGroupResponse**\n\x04\x45xec\x12\x14\n\x10\x45XEC_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45XEC_TRY\x10\x01\x32\xca\x0b\n\x03Msg\x12W\n\x0b\x43reateGroup\x12\x1f.cosmos.group.v1.MsgCreateGroup\x1a\'.cosmos.group.v1.MsgCreateGroupResponse\x12l\n\x12UpdateGroupMembers\x12&.cosmos.group.v1.MsgUpdateGroupMembers\x1a..cosmos.group.v1.MsgUpdateGroupMembersResponse\x12\x66\n\x10UpdateGroupAdmin\x12$.cosmos.group.v1.MsgUpdateGroupAdmin\x1a,.cosmos.group.v1.MsgUpdateGroupAdminResponse\x12o\n\x13UpdateGroupMetadata\x12\'.cosmos.group.v1.MsgUpdateGroupMetadata\x1a/.cosmos.group.v1.MsgUpdateGroupMetadataResponse\x12i\n\x11\x43reateGroupPolicy\x12%.cosmos.group.v1.MsgCreateGroupPolicy\x1a-.cosmos.group.v1.MsgCreateGroupPolicyResponse\x12u\n\x15\x43reateGroupWithPolicy\x12).cosmos.group.v1.MsgCreateGroupWithPolicy\x1a\x31.cosmos.group.v1.MsgCreateGroupWithPolicyResponse\x12x\n\x16UpdateGroupPolicyAdmin\x12*.cosmos.group.v1.MsgUpdateGroupPolicyAdmin\x1a\x32.cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse\x12\x93\x01\n\x1fUpdateGroupPolicyDecisionPolicy\x12\x33.cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy\x1a;.cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse\x12\x81\x01\n\x19UpdateGroupPolicyMetadata\x12-.cosmos.group.v1.MsgUpdateGroupPolicyMetadata\x1a\x35.cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse\x12`\n\x0eSubmitProposal\x12\".cosmos.group.v1.MsgSubmitProposal\x1a*.cosmos.group.v1.MsgSubmitProposalResponse\x12\x66\n\x10WithdrawProposal\x12$.cosmos.group.v1.MsgWithdrawProposal\x1a,.cosmos.group.v1.MsgWithdrawProposalResponse\x12\x42\n\x04Vote\x12\x18.cosmos.group.v1.MsgVote\x1a .cosmos.group.v1.MsgVoteResponse\x12\x42\n\x04\x45xec\x12\x18.cosmos.group.v1.MsgExec\x1a .cosmos.group.v1.MsgExecResponse\x12T\n\nLeaveGroup\x12\x1e.cosmos.group.v1.MsgLeaveGroup\x1a&.cosmos.group.v1.MsgLeaveGroupResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xa2\x01\n\x13\x63om.cosmos.group.v1B\x07TxProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x18\x63osmos/group/v1/tx.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xcb\x01\n\x0eMsgCreateGroup\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x43\n\x07members\x18\x02 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07members\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:(\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x19\x63osmos-sdk/MsgCreateGroup"3\n\x16MsgCreateGroupResponse\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId"\xe5\x01\n\x15MsgUpdateGroupMembers\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12P\n\x0emember_updates\x18\x03 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rmemberUpdates:/\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0* cosmos-sdk/MsgUpdateGroupMembers"\x1f\n\x1dMsgUpdateGroupMembersResponse"\xc6\x01\n\x13MsgUpdateGroupAdmin\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x35\n\tnew_admin\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin:-\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1e\x63osmos-sdk/MsgUpdateGroupAdmin"\x1d\n\x1bMsgUpdateGroupAdminResponse"\xb1\x01\n\x16MsgUpdateGroupMetadata\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:0\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*!cosmos-sdk/MsgUpdateGroupMetadata" \n\x1eMsgUpdateGroupMetadataResponse"\x94\x02\n\x14MsgCreateGroupPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy:2\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgCreateGroupPolicy"R\n\x1cMsgCreateGroupPolicyResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress"\x83\x02\n\x19MsgUpdateGroupPolicyAdmin\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x35\n\tnew_admin\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin:3\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*$cosmos-sdk/MsgUpdateGroupPolicyAdmin"#\n!MsgUpdateGroupPolicyAdminResponse"\xb8\x03\n\x18MsgCreateGroupWithPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x43\n\x07members\x18\x02 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07members\x12%\n\x0egroup_metadata\x18\x03 \x01(\tR\rgroupMetadata\x12\x32\n\x15group_policy_metadata\x18\x04 \x01(\tR\x13groupPolicyMetadata\x12\x31\n\x15group_policy_as_admin\x18\x05 \x01(\x08R\x12groupPolicyAsAdmin\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy:6\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*#cosmos-sdk/MsgCreateGroupWithPolicy"\x89\x01\n MsgCreateGroupWithPolicyResponse\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress"\xbf\x02\n"MsgUpdateGroupPolicyDecisionPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy::\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\'cosmos-sdk/MsgUpdateGroupDecisionPolicy",\n*MsgUpdateGroupPolicyDecisionPolicyResponse"\xee\x01\n\x1cMsgUpdateGroupPolicyMetadata\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:6\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\'cosmos-sdk/MsgUpdateGroupPolicyMetadata"&\n$MsgUpdateGroupPolicyMetadataResponse"\xe1\x02\n\x11MsgSubmitProposal\x12J\n\x14group_policy_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1c\n\tproposers\x18\x02 \x03(\tR\tproposers\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x30\n\x08messages\x18\x04 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12)\n\x04\x65xec\x18\x05 \x01(\x0e\x32\x15.cosmos.group.v1.ExecR\x04\x65xec\x12\x14\n\x05title\x18\x06 \x01(\tR\x05title\x12\x18\n\x07summary\x18\x07 \x01(\tR\x07summary:9\x88\xa0\x1f\x00\x82\xe7\xb0*\tproposers\x8a\xe7\xb0*"cosmos-sdk/group/MsgSubmitProposal"<\n\x19MsgSubmitProposalResponse\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"\xa1\x01\n\x13MsgWithdrawProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x32\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:5\x82\xe7\xb0*\x07\x61\x64\x64ress\x8a\xe7\xb0*$cosmos-sdk/group/MsgWithdrawProposal"\x1d\n\x1bMsgWithdrawProposalResponse"\xff\x01\n\x07MsgVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x33\n\x06option\x18\x03 \x01(\x0e\x32\x1b.cosmos.group.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12)\n\x04\x65xec\x18\x05 \x01(\x0e\x32\x15.cosmos.group.v1.ExecR\x04\x65xec:\'\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x18\x63osmos-sdk/group/MsgVote"\x11\n\x0fMsgVoteResponse"\x8c\x01\n\x07MsgExec\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x34\n\x08\x65xecutor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x65xecutor:*\x82\xe7\xb0*\x08\x65xecutor\x8a\xe7\xb0*\x18\x63osmos-sdk/group/MsgExec"R\n\x0fMsgExecResponse\x12?\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x06result"\x8f\x01\n\rMsgLeaveGroup\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId:/\x82\xe7\xb0*\x07\x61\x64\x64ress\x8a\xe7\xb0*\x1e\x63osmos-sdk/group/MsgLeaveGroup"\x17\n\x15MsgLeaveGroupResponse**\n\x04\x45xec\x12\x14\n\x10\x45XEC_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45XEC_TRY\x10\x01\x32\xca\x0b\n\x03Msg\x12W\n\x0b\x43reateGroup\x12\x1f.cosmos.group.v1.MsgCreateGroup\x1a\'.cosmos.group.v1.MsgCreateGroupResponse\x12l\n\x12UpdateGroupMembers\x12&.cosmos.group.v1.MsgUpdateGroupMembers\x1a..cosmos.group.v1.MsgUpdateGroupMembersResponse\x12\x66\n\x10UpdateGroupAdmin\x12$.cosmos.group.v1.MsgUpdateGroupAdmin\x1a,.cosmos.group.v1.MsgUpdateGroupAdminResponse\x12o\n\x13UpdateGroupMetadata\x12\'.cosmos.group.v1.MsgUpdateGroupMetadata\x1a/.cosmos.group.v1.MsgUpdateGroupMetadataResponse\x12i\n\x11\x43reateGroupPolicy\x12%.cosmos.group.v1.MsgCreateGroupPolicy\x1a-.cosmos.group.v1.MsgCreateGroupPolicyResponse\x12u\n\x15\x43reateGroupWithPolicy\x12).cosmos.group.v1.MsgCreateGroupWithPolicy\x1a\x31.cosmos.group.v1.MsgCreateGroupWithPolicyResponse\x12x\n\x16UpdateGroupPolicyAdmin\x12*.cosmos.group.v1.MsgUpdateGroupPolicyAdmin\x1a\x32.cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse\x12\x93\x01\n\x1fUpdateGroupPolicyDecisionPolicy\x12\x33.cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy\x1a;.cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse\x12\x81\x01\n\x19UpdateGroupPolicyMetadata\x12-.cosmos.group.v1.MsgUpdateGroupPolicyMetadata\x1a\x35.cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse\x12`\n\x0eSubmitProposal\x12".cosmos.group.v1.MsgSubmitProposal\x1a*.cosmos.group.v1.MsgSubmitProposalResponse\x12\x66\n\x10WithdrawProposal\x12$.cosmos.group.v1.MsgWithdrawProposal\x1a,.cosmos.group.v1.MsgWithdrawProposalResponse\x12\x42\n\x04Vote\x12\x18.cosmos.group.v1.MsgVote\x1a .cosmos.group.v1.MsgVoteResponse\x12\x42\n\x04\x45xec\x12\x18.cosmos.group.v1.MsgExec\x1a .cosmos.group.v1.MsgExecResponse\x12T\n\nLeaveGroup\x12\x1e.cosmos.group.v1.MsgLeaveGroup\x1a&.cosmos.group.v1.MsgLeaveGroupResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xa2\x01\n\x13\x63om.cosmos.group.v1B\x07TxProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.group.v1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\007TxProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' - _globals['_MSGCREATEGROUP'].fields_by_name['admin']._loaded_options = None - _globals['_MSGCREATEGROUP'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCREATEGROUP'].fields_by_name['members']._loaded_options = None - _globals['_MSGCREATEGROUP'].fields_by_name['members']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGCREATEGROUP']._loaded_options = None - _globals['_MSGCREATEGROUP']._serialized_options = b'\202\347\260*\005admin\212\347\260*\031cosmos-sdk/MsgCreateGroup' - _globals['_MSGUPDATEGROUPMEMBERS'].fields_by_name['admin']._loaded_options = None - _globals['_MSGUPDATEGROUPMEMBERS'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPMEMBERS'].fields_by_name['member_updates']._loaded_options = None - _globals['_MSGUPDATEGROUPMEMBERS'].fields_by_name['member_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEGROUPMEMBERS']._loaded_options = None - _globals['_MSGUPDATEGROUPMEMBERS']._serialized_options = b'\202\347\260*\005admin\212\347\260* cosmos-sdk/MsgUpdateGroupMembers' - _globals['_MSGUPDATEGROUPADMIN'].fields_by_name['admin']._loaded_options = None - _globals['_MSGUPDATEGROUPADMIN'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPADMIN'].fields_by_name['new_admin']._loaded_options = None - _globals['_MSGUPDATEGROUPADMIN'].fields_by_name['new_admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPADMIN']._loaded_options = None - _globals['_MSGUPDATEGROUPADMIN']._serialized_options = b'\202\347\260*\005admin\212\347\260*\036cosmos-sdk/MsgUpdateGroupAdmin' - _globals['_MSGUPDATEGROUPMETADATA'].fields_by_name['admin']._loaded_options = None - _globals['_MSGUPDATEGROUPMETADATA'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPMETADATA']._loaded_options = None - _globals['_MSGUPDATEGROUPMETADATA']._serialized_options = b'\202\347\260*\005admin\212\347\260*!cosmos-sdk/MsgUpdateGroupMetadata' - _globals['_MSGCREATEGROUPPOLICY'].fields_by_name['admin']._loaded_options = None - _globals['_MSGCREATEGROUPPOLICY'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCREATEGROUPPOLICY'].fields_by_name['decision_policy']._loaded_options = None - _globals['_MSGCREATEGROUPPOLICY'].fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' - _globals['_MSGCREATEGROUPPOLICY']._loaded_options = None - _globals['_MSGCREATEGROUPPOLICY']._serialized_options = b'\210\240\037\000\202\347\260*\005admin\212\347\260*\037cosmos-sdk/MsgCreateGroupPolicy' - _globals['_MSGCREATEGROUPPOLICYRESPONSE'].fields_by_name['address']._loaded_options = None - _globals['_MSGCREATEGROUPPOLICYRESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['admin']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['group_policy_address']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['new_admin']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['new_admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYADMIN']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYADMIN']._serialized_options = b'\202\347\260*\005admin\212\347\260*$cosmos-sdk/MsgUpdateGroupPolicyAdmin' - _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['admin']._loaded_options = None - _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['members']._loaded_options = None - _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['members']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['decision_policy']._loaded_options = None - _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' - _globals['_MSGCREATEGROUPWITHPOLICY']._loaded_options = None - _globals['_MSGCREATEGROUPWITHPOLICY']._serialized_options = b'\210\240\037\000\202\347\260*\005admin\212\347\260*#cosmos-sdk/MsgCreateGroupWithPolicy' - _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE'].fields_by_name['group_policy_address']._loaded_options = None - _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['admin']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['group_policy_address']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['decision_policy']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._serialized_options = b'\210\240\037\000\202\347\260*\005admin\212\347\260*\'cosmos-sdk/MsgUpdateGroupDecisionPolicy' - _globals['_MSGUPDATEGROUPPOLICYMETADATA'].fields_by_name['admin']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYMETADATA'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYMETADATA'].fields_by_name['group_policy_address']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYMETADATA'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEGROUPPOLICYMETADATA']._loaded_options = None - _globals['_MSGUPDATEGROUPPOLICYMETADATA']._serialized_options = b'\202\347\260*\005admin\212\347\260*\'cosmos-sdk/MsgUpdateGroupPolicyMetadata' - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['group_policy_address']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSUBMITPROPOSAL']._loaded_options = None - _globals['_MSGSUBMITPROPOSAL']._serialized_options = b'\210\240\037\000\202\347\260*\tproposers\212\347\260*\"cosmos-sdk/group/MsgSubmitProposal' - _globals['_MSGWITHDRAWPROPOSAL'].fields_by_name['address']._loaded_options = None - _globals['_MSGWITHDRAWPROPOSAL'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGWITHDRAWPROPOSAL']._loaded_options = None - _globals['_MSGWITHDRAWPROPOSAL']._serialized_options = b'\202\347\260*\007address\212\347\260*$cosmos-sdk/group/MsgWithdrawProposal' - _globals['_MSGVOTE'].fields_by_name['voter']._loaded_options = None - _globals['_MSGVOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGVOTE']._loaded_options = None - _globals['_MSGVOTE']._serialized_options = b'\202\347\260*\005voter\212\347\260*\030cosmos-sdk/group/MsgVote' - _globals['_MSGEXEC'].fields_by_name['executor']._loaded_options = None - _globals['_MSGEXEC'].fields_by_name['executor']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGEXEC']._loaded_options = None - _globals['_MSGEXEC']._serialized_options = b'\202\347\260*\010executor\212\347\260*\030cosmos-sdk/group/MsgExec' - _globals['_MSGLEAVEGROUP'].fields_by_name['address']._loaded_options = None - _globals['_MSGLEAVEGROUP'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGLEAVEGROUP']._loaded_options = None - _globals['_MSGLEAVEGROUP']._serialized_options = b'\202\347\260*\007address\212\347\260*\036cosmos-sdk/group/MsgLeaveGroup' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_EXEC']._serialized_start=4346 - _globals['_EXEC']._serialized_end=4388 - _globals['_MSGCREATEGROUP']._serialized_start=195 - _globals['_MSGCREATEGROUP']._serialized_end=398 - _globals['_MSGCREATEGROUPRESPONSE']._serialized_start=400 - _globals['_MSGCREATEGROUPRESPONSE']._serialized_end=451 - _globals['_MSGUPDATEGROUPMEMBERS']._serialized_start=454 - _globals['_MSGUPDATEGROUPMEMBERS']._serialized_end=683 - _globals['_MSGUPDATEGROUPMEMBERSRESPONSE']._serialized_start=685 - _globals['_MSGUPDATEGROUPMEMBERSRESPONSE']._serialized_end=716 - _globals['_MSGUPDATEGROUPADMIN']._serialized_start=719 - _globals['_MSGUPDATEGROUPADMIN']._serialized_end=917 - _globals['_MSGUPDATEGROUPADMINRESPONSE']._serialized_start=919 - _globals['_MSGUPDATEGROUPADMINRESPONSE']._serialized_end=948 - _globals['_MSGUPDATEGROUPMETADATA']._serialized_start=951 - _globals['_MSGUPDATEGROUPMETADATA']._serialized_end=1128 - _globals['_MSGUPDATEGROUPMETADATARESPONSE']._serialized_start=1130 - _globals['_MSGUPDATEGROUPMETADATARESPONSE']._serialized_end=1162 - _globals['_MSGCREATEGROUPPOLICY']._serialized_start=1165 - _globals['_MSGCREATEGROUPPOLICY']._serialized_end=1441 - _globals['_MSGCREATEGROUPPOLICYRESPONSE']._serialized_start=1443 - _globals['_MSGCREATEGROUPPOLICYRESPONSE']._serialized_end=1525 - _globals['_MSGUPDATEGROUPPOLICYADMIN']._serialized_start=1528 - _globals['_MSGUPDATEGROUPPOLICYADMIN']._serialized_end=1787 - _globals['_MSGUPDATEGROUPPOLICYADMINRESPONSE']._serialized_start=1789 - _globals['_MSGUPDATEGROUPPOLICYADMINRESPONSE']._serialized_end=1824 - _globals['_MSGCREATEGROUPWITHPOLICY']._serialized_start=1827 - _globals['_MSGCREATEGROUPWITHPOLICY']._serialized_end=2267 - _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE']._serialized_start=2270 - _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE']._serialized_end=2407 - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._serialized_start=2410 - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._serialized_end=2729 - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICYRESPONSE']._serialized_start=2731 - _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICYRESPONSE']._serialized_end=2775 - _globals['_MSGUPDATEGROUPPOLICYMETADATA']._serialized_start=2778 - _globals['_MSGUPDATEGROUPPOLICYMETADATA']._serialized_end=3016 - _globals['_MSGUPDATEGROUPPOLICYMETADATARESPONSE']._serialized_start=3018 - _globals['_MSGUPDATEGROUPPOLICYMETADATARESPONSE']._serialized_end=3056 - _globals['_MSGSUBMITPROPOSAL']._serialized_start=3059 - _globals['_MSGSUBMITPROPOSAL']._serialized_end=3412 - _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_start=3414 - _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_end=3474 - _globals['_MSGWITHDRAWPROPOSAL']._serialized_start=3477 - _globals['_MSGWITHDRAWPROPOSAL']._serialized_end=3638 - _globals['_MSGWITHDRAWPROPOSALRESPONSE']._serialized_start=3640 - _globals['_MSGWITHDRAWPROPOSALRESPONSE']._serialized_end=3669 - _globals['_MSGVOTE']._serialized_start=3672 - _globals['_MSGVOTE']._serialized_end=3927 - _globals['_MSGVOTERESPONSE']._serialized_start=3929 - _globals['_MSGVOTERESPONSE']._serialized_end=3946 - _globals['_MSGEXEC']._serialized_start=3949 - _globals['_MSGEXEC']._serialized_end=4089 - _globals['_MSGEXECRESPONSE']._serialized_start=4091 - _globals['_MSGEXECRESPONSE']._serialized_end=4173 - _globals['_MSGLEAVEGROUP']._serialized_start=4176 - _globals['_MSGLEAVEGROUP']._serialized_end=4319 - _globals['_MSGLEAVEGROUPRESPONSE']._serialized_start=4321 - _globals['_MSGLEAVEGROUPRESPONSE']._serialized_end=4344 - _globals['_MSG']._serialized_start=4391 - _globals['_MSG']._serialized_end=5873 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\023com.cosmos.group.v1B\007TxProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1" + ) + _globals["_MSGCREATEGROUP"].fields_by_name["admin"]._loaded_options = None + _globals["_MSGCREATEGROUP"].fields_by_name["admin"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGCREATEGROUP"].fields_by_name["members"]._loaded_options = None + _globals["_MSGCREATEGROUP"].fields_by_name["members"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGCREATEGROUP"]._loaded_options = None + _globals["_MSGCREATEGROUP"]._serialized_options = ( + b"\202\347\260*\005admin\212\347\260*\031cosmos-sdk/MsgCreateGroup" + ) + _globals["_MSGUPDATEGROUPMEMBERS"].fields_by_name["admin"]._loaded_options = None + _globals["_MSGUPDATEGROUPMEMBERS"].fields_by_name[ + "admin" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEGROUPMEMBERS"].fields_by_name["member_updates"]._loaded_options = None + _globals["_MSGUPDATEGROUPMEMBERS"].fields_by_name[ + "member_updates" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGUPDATEGROUPMEMBERS"]._loaded_options = None + _globals["_MSGUPDATEGROUPMEMBERS"]._serialized_options = ( + b"\202\347\260*\005admin\212\347\260* cosmos-sdk/MsgUpdateGroupMembers" + ) + _globals["_MSGUPDATEGROUPADMIN"].fields_by_name["admin"]._loaded_options = None + _globals["_MSGUPDATEGROUPADMIN"].fields_by_name["admin"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEGROUPADMIN"].fields_by_name["new_admin"]._loaded_options = None + _globals["_MSGUPDATEGROUPADMIN"].fields_by_name[ + "new_admin" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEGROUPADMIN"]._loaded_options = None + _globals["_MSGUPDATEGROUPADMIN"]._serialized_options = ( + b"\202\347\260*\005admin\212\347\260*\036cosmos-sdk/MsgUpdateGroupAdmin" + ) + _globals["_MSGUPDATEGROUPMETADATA"].fields_by_name["admin"]._loaded_options = None + _globals["_MSGUPDATEGROUPMETADATA"].fields_by_name[ + "admin" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEGROUPMETADATA"]._loaded_options = None + _globals["_MSGUPDATEGROUPMETADATA"]._serialized_options = ( + b"\202\347\260*\005admin\212\347\260*!cosmos-sdk/MsgUpdateGroupMetadata" + ) + _globals["_MSGCREATEGROUPPOLICY"].fields_by_name["admin"]._loaded_options = None + _globals["_MSGCREATEGROUPPOLICY"].fields_by_name["admin"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGCREATEGROUPPOLICY"].fields_by_name["decision_policy"]._loaded_options = None + _globals["_MSGCREATEGROUPPOLICY"].fields_by_name[ + "decision_policy" + ]._serialized_options = b"\312\264-\036cosmos.group.v1.DecisionPolicy" + _globals["_MSGCREATEGROUPPOLICY"]._loaded_options = None + _globals["_MSGCREATEGROUPPOLICY"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\005admin\212\347\260*\037cosmos-sdk/MsgCreateGroupPolicy" + ) + _globals["_MSGCREATEGROUPPOLICYRESPONSE"].fields_by_name["address"]._loaded_options = None + _globals["_MSGCREATEGROUPPOLICYRESPONSE"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEGROUPPOLICYADMIN"].fields_by_name["admin"]._loaded_options = None + _globals["_MSGUPDATEGROUPPOLICYADMIN"].fields_by_name[ + "admin" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEGROUPPOLICYADMIN"].fields_by_name["group_policy_address"]._loaded_options = None + _globals["_MSGUPDATEGROUPPOLICYADMIN"].fields_by_name[ + "group_policy_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEGROUPPOLICYADMIN"].fields_by_name["new_admin"]._loaded_options = None + _globals["_MSGUPDATEGROUPPOLICYADMIN"].fields_by_name[ + "new_admin" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEGROUPPOLICYADMIN"]._loaded_options = None + _globals["_MSGUPDATEGROUPPOLICYADMIN"]._serialized_options = ( + b"\202\347\260*\005admin\212\347\260*$cosmos-sdk/MsgUpdateGroupPolicyAdmin" + ) + _globals["_MSGCREATEGROUPWITHPOLICY"].fields_by_name["admin"]._loaded_options = None + _globals["_MSGCREATEGROUPWITHPOLICY"].fields_by_name[ + "admin" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGCREATEGROUPWITHPOLICY"].fields_by_name["members"]._loaded_options = None + _globals["_MSGCREATEGROUPWITHPOLICY"].fields_by_name[ + "members" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGCREATEGROUPWITHPOLICY"].fields_by_name["decision_policy"]._loaded_options = None + _globals["_MSGCREATEGROUPWITHPOLICY"].fields_by_name[ + "decision_policy" + ]._serialized_options = b"\312\264-\036cosmos.group.v1.DecisionPolicy" + _globals["_MSGCREATEGROUPWITHPOLICY"]._loaded_options = None + _globals["_MSGCREATEGROUPWITHPOLICY"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\005admin\212\347\260*#cosmos-sdk/MsgCreateGroupWithPolicy" + ) + _globals["_MSGCREATEGROUPWITHPOLICYRESPONSE"].fields_by_name["group_policy_address"]._loaded_options = None + _globals["_MSGCREATEGROUPWITHPOLICYRESPONSE"].fields_by_name[ + "group_policy_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"].fields_by_name["admin"]._loaded_options = None + _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"].fields_by_name[ + "admin" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"].fields_by_name["group_policy_address"]._loaded_options = None + _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"].fields_by_name[ + "group_policy_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"].fields_by_name["decision_policy"]._loaded_options = None + _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"].fields_by_name[ + "decision_policy" + ]._serialized_options = b"\312\264-\036cosmos.group.v1.DecisionPolicy" + _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"]._loaded_options = None + _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\005admin\212\347\260*'cosmos-sdk/MsgUpdateGroupDecisionPolicy" + ) + _globals["_MSGUPDATEGROUPPOLICYMETADATA"].fields_by_name["admin"]._loaded_options = None + _globals["_MSGUPDATEGROUPPOLICYMETADATA"].fields_by_name[ + "admin" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEGROUPPOLICYMETADATA"].fields_by_name["group_policy_address"]._loaded_options = None + _globals["_MSGUPDATEGROUPPOLICYMETADATA"].fields_by_name[ + "group_policy_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEGROUPPOLICYMETADATA"]._loaded_options = None + _globals["_MSGUPDATEGROUPPOLICYMETADATA"]._serialized_options = ( + b"\202\347\260*\005admin\212\347\260*'cosmos-sdk/MsgUpdateGroupPolicyMetadata" + ) + _globals["_MSGSUBMITPROPOSAL"].fields_by_name["group_policy_address"]._loaded_options = None + _globals["_MSGSUBMITPROPOSAL"].fields_by_name[ + "group_policy_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSUBMITPROPOSAL"]._loaded_options = None + _globals["_MSGSUBMITPROPOSAL"]._serialized_options = ( + b'\210\240\037\000\202\347\260*\tproposers\212\347\260*"cosmos-sdk/group/MsgSubmitProposal' + ) + _globals["_MSGWITHDRAWPROPOSAL"].fields_by_name["address"]._loaded_options = None + _globals["_MSGWITHDRAWPROPOSAL"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGWITHDRAWPROPOSAL"]._loaded_options = None + _globals["_MSGWITHDRAWPROPOSAL"]._serialized_options = ( + b"\202\347\260*\007address\212\347\260*$cosmos-sdk/group/MsgWithdrawProposal" + ) + _globals["_MSGVOTE"].fields_by_name["voter"]._loaded_options = None + _globals["_MSGVOTE"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGVOTE"]._loaded_options = None + _globals["_MSGVOTE"]._serialized_options = b"\202\347\260*\005voter\212\347\260*\030cosmos-sdk/group/MsgVote" + _globals["_MSGEXEC"].fields_by_name["executor"]._loaded_options = None + _globals["_MSGEXEC"].fields_by_name["executor"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGEXEC"]._loaded_options = None + _globals["_MSGEXEC"]._serialized_options = b"\202\347\260*\010executor\212\347\260*\030cosmos-sdk/group/MsgExec" + _globals["_MSGLEAVEGROUP"].fields_by_name["address"]._loaded_options = None + _globals["_MSGLEAVEGROUP"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGLEAVEGROUP"]._loaded_options = None + _globals["_MSGLEAVEGROUP"]._serialized_options = ( + b"\202\347\260*\007address\212\347\260*\036cosmos-sdk/group/MsgLeaveGroup" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_EXEC"]._serialized_start = 4346 + _globals["_EXEC"]._serialized_end = 4388 + _globals["_MSGCREATEGROUP"]._serialized_start = 195 + _globals["_MSGCREATEGROUP"]._serialized_end = 398 + _globals["_MSGCREATEGROUPRESPONSE"]._serialized_start = 400 + _globals["_MSGCREATEGROUPRESPONSE"]._serialized_end = 451 + _globals["_MSGUPDATEGROUPMEMBERS"]._serialized_start = 454 + _globals["_MSGUPDATEGROUPMEMBERS"]._serialized_end = 683 + _globals["_MSGUPDATEGROUPMEMBERSRESPONSE"]._serialized_start = 685 + _globals["_MSGUPDATEGROUPMEMBERSRESPONSE"]._serialized_end = 716 + _globals["_MSGUPDATEGROUPADMIN"]._serialized_start = 719 + _globals["_MSGUPDATEGROUPADMIN"]._serialized_end = 917 + _globals["_MSGUPDATEGROUPADMINRESPONSE"]._serialized_start = 919 + _globals["_MSGUPDATEGROUPADMINRESPONSE"]._serialized_end = 948 + _globals["_MSGUPDATEGROUPMETADATA"]._serialized_start = 951 + _globals["_MSGUPDATEGROUPMETADATA"]._serialized_end = 1128 + _globals["_MSGUPDATEGROUPMETADATARESPONSE"]._serialized_start = 1130 + _globals["_MSGUPDATEGROUPMETADATARESPONSE"]._serialized_end = 1162 + _globals["_MSGCREATEGROUPPOLICY"]._serialized_start = 1165 + _globals["_MSGCREATEGROUPPOLICY"]._serialized_end = 1441 + _globals["_MSGCREATEGROUPPOLICYRESPONSE"]._serialized_start = 1443 + _globals["_MSGCREATEGROUPPOLICYRESPONSE"]._serialized_end = 1525 + _globals["_MSGUPDATEGROUPPOLICYADMIN"]._serialized_start = 1528 + _globals["_MSGUPDATEGROUPPOLICYADMIN"]._serialized_end = 1787 + _globals["_MSGUPDATEGROUPPOLICYADMINRESPONSE"]._serialized_start = 1789 + _globals["_MSGUPDATEGROUPPOLICYADMINRESPONSE"]._serialized_end = 1824 + _globals["_MSGCREATEGROUPWITHPOLICY"]._serialized_start = 1827 + _globals["_MSGCREATEGROUPWITHPOLICY"]._serialized_end = 2267 + _globals["_MSGCREATEGROUPWITHPOLICYRESPONSE"]._serialized_start = 2270 + _globals["_MSGCREATEGROUPWITHPOLICYRESPONSE"]._serialized_end = 2407 + _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"]._serialized_start = 2410 + _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"]._serialized_end = 2729 + _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICYRESPONSE"]._serialized_start = 2731 + _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICYRESPONSE"]._serialized_end = 2775 + _globals["_MSGUPDATEGROUPPOLICYMETADATA"]._serialized_start = 2778 + _globals["_MSGUPDATEGROUPPOLICYMETADATA"]._serialized_end = 3016 + _globals["_MSGUPDATEGROUPPOLICYMETADATARESPONSE"]._serialized_start = 3018 + _globals["_MSGUPDATEGROUPPOLICYMETADATARESPONSE"]._serialized_end = 3056 + _globals["_MSGSUBMITPROPOSAL"]._serialized_start = 3059 + _globals["_MSGSUBMITPROPOSAL"]._serialized_end = 3412 + _globals["_MSGSUBMITPROPOSALRESPONSE"]._serialized_start = 3414 + _globals["_MSGSUBMITPROPOSALRESPONSE"]._serialized_end = 3474 + _globals["_MSGWITHDRAWPROPOSAL"]._serialized_start = 3477 + _globals["_MSGWITHDRAWPROPOSAL"]._serialized_end = 3638 + _globals["_MSGWITHDRAWPROPOSALRESPONSE"]._serialized_start = 3640 + _globals["_MSGWITHDRAWPROPOSALRESPONSE"]._serialized_end = 3669 + _globals["_MSGVOTE"]._serialized_start = 3672 + _globals["_MSGVOTE"]._serialized_end = 3927 + _globals["_MSGVOTERESPONSE"]._serialized_start = 3929 + _globals["_MSGVOTERESPONSE"]._serialized_end = 3946 + _globals["_MSGEXEC"]._serialized_start = 3949 + _globals["_MSGEXEC"]._serialized_end = 4089 + _globals["_MSGEXECRESPONSE"]._serialized_start = 4091 + _globals["_MSGEXECRESPONSE"]._serialized_end = 4173 + _globals["_MSGLEAVEGROUP"]._serialized_start = 4176 + _globals["_MSGLEAVEGROUP"]._serialized_end = 4319 + _globals["_MSGLEAVEGROUPRESPONSE"]._serialized_start = 4321 + _globals["_MSGLEAVEGROUPRESPONSE"]._serialized_end = 4344 + _globals["_MSG"]._serialized_start = 4391 + _globals["_MSG"]._serialized_end = 5873 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/tx_pb2_grpc.py index 39d77388..defa207d 100644 --- a/pyinjective/proto/cosmos/group/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/group/v1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg is the cosmos.group.v1 Msg service. - """ + """Msg is the cosmos.group.v1 Msg service.""" def __init__(self, channel): """Constructor. @@ -16,279 +15,278 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.CreateGroup = channel.unary_unary( - '/cosmos.group.v1.Msg/CreateGroup', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroup.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Msg/CreateGroup", + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroup.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupResponse.FromString, + _registered_method=True, + ) self.UpdateGroupMembers = channel.unary_unary( - '/cosmos.group.v1.Msg/UpdateGroupMembers', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembers.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembersResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Msg/UpdateGroupMembers", + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembers.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembersResponse.FromString, + _registered_method=True, + ) self.UpdateGroupAdmin = channel.unary_unary( - '/cosmos.group.v1.Msg/UpdateGroupAdmin', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdmin.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdminResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Msg/UpdateGroupAdmin", + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdmin.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdminResponse.FromString, + _registered_method=True, + ) self.UpdateGroupMetadata = channel.unary_unary( - '/cosmos.group.v1.Msg/UpdateGroupMetadata', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadata.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadataResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Msg/UpdateGroupMetadata", + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadata.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadataResponse.FromString, + _registered_method=True, + ) self.CreateGroupPolicy = channel.unary_unary( - '/cosmos.group.v1.Msg/CreateGroupPolicy', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicy.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicyResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Msg/CreateGroupPolicy", + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicy.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicyResponse.FromString, + _registered_method=True, + ) self.CreateGroupWithPolicy = channel.unary_unary( - '/cosmos.group.v1.Msg/CreateGroupWithPolicy', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicy.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicyResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Msg/CreateGroupWithPolicy", + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicy.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicyResponse.FromString, + _registered_method=True, + ) self.UpdateGroupPolicyAdmin = channel.unary_unary( - '/cosmos.group.v1.Msg/UpdateGroupPolicyAdmin', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdmin.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdminResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Msg/UpdateGroupPolicyAdmin", + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdmin.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdminResponse.FromString, + _registered_method=True, + ) self.UpdateGroupPolicyDecisionPolicy = channel.unary_unary( - '/cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicy.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicyResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy", + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicy.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicyResponse.FromString, + _registered_method=True, + ) self.UpdateGroupPolicyMetadata = channel.unary_unary( - '/cosmos.group.v1.Msg/UpdateGroupPolicyMetadata', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadata.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadataResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Msg/UpdateGroupPolicyMetadata", + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadata.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadataResponse.FromString, + _registered_method=True, + ) self.SubmitProposal = channel.unary_unary( - '/cosmos.group.v1.Msg/SubmitProposal', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Msg/SubmitProposal", + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, + _registered_method=True, + ) self.WithdrawProposal = channel.unary_unary( - '/cosmos.group.v1.Msg/WithdrawProposal', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposal.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposalResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Msg/WithdrawProposal", + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposal.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposalResponse.FromString, + _registered_method=True, + ) self.Vote = channel.unary_unary( - '/cosmos.group.v1.Msg/Vote', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Msg/Vote", + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, + _registered_method=True, + ) self.Exec = channel.unary_unary( - '/cosmos.group.v1.Msg/Exec', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExec.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExecResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Msg/Exec", + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExec.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExecResponse.FromString, + _registered_method=True, + ) self.LeaveGroup = channel.unary_unary( - '/cosmos.group.v1.Msg/LeaveGroup', - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroup.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroupResponse.FromString, - _registered_method=True) + "/cosmos.group.v1.Msg/LeaveGroup", + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroup.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroupResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg is the cosmos.group.v1 Msg service. - """ + """Msg is the cosmos.group.v1 Msg service.""" def CreateGroup(self, request, context): - """CreateGroup creates a new group with an admin account address, a list of members and some optional metadata. - """ + """CreateGroup creates a new group with an admin account address, a list of members and some optional metadata.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateGroupMembers(self, request, context): - """UpdateGroupMembers updates the group members with given group id and admin address. - """ + """UpdateGroupMembers updates the group members with given group id and admin address.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateGroupAdmin(self, request, context): - """UpdateGroupAdmin updates the group admin with given group id and previous admin address. - """ + """UpdateGroupAdmin updates the group admin with given group id and previous admin address.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateGroupMetadata(self, request, context): - """UpdateGroupMetadata updates the group metadata with given group id and admin address. - """ + """UpdateGroupMetadata updates the group metadata with given group id and admin address.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CreateGroupPolicy(self, request, context): - """CreateGroupPolicy creates a new group policy using given DecisionPolicy. - """ + """CreateGroupPolicy creates a new group policy using given DecisionPolicy.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CreateGroupWithPolicy(self, request, context): - """CreateGroupWithPolicy creates a new group with policy. - """ + """CreateGroupWithPolicy creates a new group with policy.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateGroupPolicyAdmin(self, request, context): - """UpdateGroupPolicyAdmin updates a group policy admin. - """ + """UpdateGroupPolicyAdmin updates a group policy admin.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateGroupPolicyDecisionPolicy(self, request, context): - """UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. - """ + """UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateGroupPolicyMetadata(self, request, context): - """UpdateGroupPolicyMetadata updates a group policy metadata. - """ + """UpdateGroupPolicyMetadata updates a group policy metadata.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SubmitProposal(self, request, context): - """SubmitProposal submits a new proposal. - """ + """SubmitProposal submits a new proposal.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def WithdrawProposal(self, request, context): - """WithdrawProposal withdraws a proposal. - """ + """WithdrawProposal withdraws a proposal.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Vote(self, request, context): - """Vote allows a voter to vote on a proposal. - """ + """Vote allows a voter to vote on a proposal.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Exec(self, request, context): - """Exec executes a proposal. - """ + """Exec executes a proposal.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def LeaveGroup(self, request, context): - """LeaveGroup allows a group member to leave the group. - """ + """LeaveGroup allows a group member to leave the group.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'CreateGroup': grpc.unary_unary_rpc_method_handler( - servicer.CreateGroup, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroup.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupResponse.SerializeToString, - ), - 'UpdateGroupMembers': grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupMembers, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembers.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembersResponse.SerializeToString, - ), - 'UpdateGroupAdmin': grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupAdmin, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdmin.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdminResponse.SerializeToString, - ), - 'UpdateGroupMetadata': grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupMetadata, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadata.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadataResponse.SerializeToString, - ), - 'CreateGroupPolicy': grpc.unary_unary_rpc_method_handler( - servicer.CreateGroupPolicy, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicy.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicyResponse.SerializeToString, - ), - 'CreateGroupWithPolicy': grpc.unary_unary_rpc_method_handler( - servicer.CreateGroupWithPolicy, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicy.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicyResponse.SerializeToString, - ), - 'UpdateGroupPolicyAdmin': grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupPolicyAdmin, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdmin.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdminResponse.SerializeToString, - ), - 'UpdateGroupPolicyDecisionPolicy': grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupPolicyDecisionPolicy, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicy.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicyResponse.SerializeToString, - ), - 'UpdateGroupPolicyMetadata': grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupPolicyMetadata, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadata.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadataResponse.SerializeToString, - ), - 'SubmitProposal': grpc.unary_unary_rpc_method_handler( - servicer.SubmitProposal, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposal.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, - ), - 'WithdrawProposal': grpc.unary_unary_rpc_method_handler( - servicer.WithdrawProposal, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposal.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposalResponse.SerializeToString, - ), - 'Vote': grpc.unary_unary_rpc_method_handler( - servicer.Vote, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVote.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVoteResponse.SerializeToString, - ), - 'Exec': grpc.unary_unary_rpc_method_handler( - servicer.Exec, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExec.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExecResponse.SerializeToString, - ), - 'LeaveGroup': grpc.unary_unary_rpc_method_handler( - servicer.LeaveGroup, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroup.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroupResponse.SerializeToString, - ), + "CreateGroup": grpc.unary_unary_rpc_method_handler( + servicer.CreateGroup, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroup.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupResponse.SerializeToString, + ), + "UpdateGroupMembers": grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupMembers, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembers.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembersResponse.SerializeToString, + ), + "UpdateGroupAdmin": grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupAdmin, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdmin.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdminResponse.SerializeToString, + ), + "UpdateGroupMetadata": grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupMetadata, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadata.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadataResponse.SerializeToString, + ), + "CreateGroupPolicy": grpc.unary_unary_rpc_method_handler( + servicer.CreateGroupPolicy, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicy.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicyResponse.SerializeToString, + ), + "CreateGroupWithPolicy": grpc.unary_unary_rpc_method_handler( + servicer.CreateGroupWithPolicy, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicy.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicyResponse.SerializeToString, + ), + "UpdateGroupPolicyAdmin": grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupPolicyAdmin, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdmin.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdminResponse.SerializeToString, + ), + "UpdateGroupPolicyDecisionPolicy": grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupPolicyDecisionPolicy, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicy.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicyResponse.SerializeToString, + ), + "UpdateGroupPolicyMetadata": grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupPolicyMetadata, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadata.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadataResponse.SerializeToString, + ), + "SubmitProposal": grpc.unary_unary_rpc_method_handler( + servicer.SubmitProposal, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposal.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, + ), + "WithdrawProposal": grpc.unary_unary_rpc_method_handler( + servicer.WithdrawProposal, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposal.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposalResponse.SerializeToString, + ), + "Vote": grpc.unary_unary_rpc_method_handler( + servicer.Vote, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVote.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVoteResponse.SerializeToString, + ), + "Exec": grpc.unary_unary_rpc_method_handler( + servicer.Exec, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExec.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExecResponse.SerializeToString, + ), + "LeaveGroup": grpc.unary_unary_rpc_method_handler( + servicer.LeaveGroup, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroup.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroupResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.group.v1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.group.v1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.group.v1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.group.v1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg is the cosmos.group.v1 Msg service. - """ + """Msg is the cosmos.group.v1 Msg service.""" @staticmethod - def CreateGroup(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreateGroup( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Msg/CreateGroup', + "/cosmos.group.v1.Msg/CreateGroup", cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroup.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupResponse.FromString, options, @@ -299,23 +297,26 @@ def CreateGroup(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateGroupMembers(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateGroupMembers( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Msg/UpdateGroupMembers', + "/cosmos.group.v1.Msg/UpdateGroupMembers", cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembers.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembersResponse.FromString, options, @@ -326,23 +327,26 @@ def UpdateGroupMembers(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateGroupAdmin(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateGroupAdmin( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Msg/UpdateGroupAdmin', + "/cosmos.group.v1.Msg/UpdateGroupAdmin", cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdmin.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdminResponse.FromString, options, @@ -353,23 +357,26 @@ def UpdateGroupAdmin(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateGroupMetadata(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateGroupMetadata( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Msg/UpdateGroupMetadata', + "/cosmos.group.v1.Msg/UpdateGroupMetadata", cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadata.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadataResponse.FromString, options, @@ -380,23 +387,26 @@ def UpdateGroupMetadata(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CreateGroupPolicy(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreateGroupPolicy( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Msg/CreateGroupPolicy', + "/cosmos.group.v1.Msg/CreateGroupPolicy", cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicy.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicyResponse.FromString, options, @@ -407,23 +417,26 @@ def CreateGroupPolicy(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CreateGroupWithPolicy(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreateGroupWithPolicy( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Msg/CreateGroupWithPolicy', + "/cosmos.group.v1.Msg/CreateGroupWithPolicy", cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicy.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicyResponse.FromString, options, @@ -434,23 +447,26 @@ def CreateGroupWithPolicy(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateGroupPolicyAdmin(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateGroupPolicyAdmin( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Msg/UpdateGroupPolicyAdmin', + "/cosmos.group.v1.Msg/UpdateGroupPolicyAdmin", cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdmin.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdminResponse.FromString, options, @@ -461,23 +477,26 @@ def UpdateGroupPolicyAdmin(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateGroupPolicyDecisionPolicy(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateGroupPolicyDecisionPolicy( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy', + "/cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy", cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicy.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicyResponse.FromString, options, @@ -488,23 +507,26 @@ def UpdateGroupPolicyDecisionPolicy(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateGroupPolicyMetadata(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateGroupPolicyMetadata( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Msg/UpdateGroupPolicyMetadata', + "/cosmos.group.v1.Msg/UpdateGroupPolicyMetadata", cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadata.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadataResponse.FromString, options, @@ -515,23 +537,26 @@ def UpdateGroupPolicyMetadata(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SubmitProposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SubmitProposal( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Msg/SubmitProposal', + "/cosmos.group.v1.Msg/SubmitProposal", cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, options, @@ -542,23 +567,26 @@ def SubmitProposal(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def WithdrawProposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def WithdrawProposal( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Msg/WithdrawProposal', + "/cosmos.group.v1.Msg/WithdrawProposal", cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposal.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposalResponse.FromString, options, @@ -569,23 +597,26 @@ def WithdrawProposal(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Vote(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Vote( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Msg/Vote', + "/cosmos.group.v1.Msg/Vote", cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, options, @@ -596,23 +627,26 @@ def Vote(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Exec(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Exec( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Msg/Exec', + "/cosmos.group.v1.Msg/Exec", cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExec.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExecResponse.FromString, options, @@ -623,23 +657,26 @@ def Exec(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def LeaveGroup(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def LeaveGroup( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.group.v1.Msg/LeaveGroup', + "/cosmos.group.v1.Msg/LeaveGroup", cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroup.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroupResponse.FromString, options, @@ -650,4 +687,5 @@ def LeaveGroup(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/group/v1/types_pb2.py b/pyinjective/proto/cosmos/group/v1/types_pb2.py index 103112b7..9fc46eba 100644 --- a/pyinjective/proto/cosmos/group/v1/types_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/types_pb2.py @@ -7,6 +7,7 @@ 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() @@ -20,92 +21,122 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/group/v1/types.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xb6\x01\n\x06Member\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x16\n\x06weight\x18\x02 \x01(\tR\x06weight\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x44\n\x08\x61\x64\x64\x65\x64_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x07\x61\x64\x64\x65\x64\x41t\"w\n\rMemberRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x16\n\x06weight\x18\x02 \x01(\tR\x06weight\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\"\xc4\x01\n\x17ThresholdDecisionPolicy\x12\x1c\n\tthreshold\x18\x01 \x01(\tR\tthreshold\x12@\n\x07windows\x18\x02 \x01(\x0b\x32&.cosmos.group.v1.DecisionPolicyWindowsR\x07windows:I\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x8a\xe7\xb0*\"cosmos-sdk/ThresholdDecisionPolicy\"\xc8\x01\n\x18PercentageDecisionPolicy\x12\x1e\n\npercentage\x18\x01 \x01(\tR\npercentage\x12@\n\x07windows\x18\x02 \x01(\x0b\x32&.cosmos.group.v1.DecisionPolicyWindowsR\x07windows:J\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x8a\xe7\xb0*#cosmos-sdk/PercentageDecisionPolicy\"\xc2\x01\n\x15\x44\x65\x63isionPolicyWindows\x12M\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0cvotingPeriod\x12Z\n\x14min_execution_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x12minExecutionPeriod\"\xee\x01\n\tGroupInfo\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x18\n\x07version\x18\x04 \x01(\x04R\x07version\x12!\n\x0ctotal_weight\x18\x05 \x01(\tR\x0btotalWeight\x12H\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\tcreatedAt\"Y\n\x0bGroupMember\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12/\n\x06member\x18\x02 \x01(\x0b\x32\x17.cosmos.group.v1.MemberR\x06member\"\xfd\x02\n\x0fGroupPolicyInfo\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12.\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12\x18\n\x07version\x18\x05 \x01(\x04R\x07version\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy\x12H\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\tcreatedAt:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x01\"\xfe\x05\n\x08Proposal\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x36\n\tproposers\x18\x04 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tproposers\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime\x12#\n\rgroup_version\x18\x06 \x01(\x04R\x0cgroupVersion\x12\x30\n\x14group_policy_version\x18\x07 \x01(\x04R\x12groupPolicyVersion\x12\x37\n\x06status\x18\x08 \x01(\x0e\x32\x1f.cosmos.group.v1.ProposalStatusR\x06status\x12U\n\x12\x66inal_tally_result\x18\t \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x10\x66inalTallyResult\x12U\n\x11voting_period_end\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0fvotingPeriodEnd\x12P\n\x0f\x65xecutor_result\x18\x0b \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x0e\x65xecutorResult\x12\x30\n\x08messages\x18\x0c \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x14\n\x05title\x18\r \x01(\tR\x05title\x12\x18\n\x07summary\x18\x0e \x01(\tR\x07summary:\x04\x88\xa0\x1f\x00\"\x9d\x01\n\x0bTallyResult\x12\x1b\n\tyes_count\x18\x01 \x01(\tR\x08yesCount\x12#\n\rabstain_count\x18\x02 \x01(\tR\x0c\x61\x62stainCount\x12\x19\n\x08no_count\x18\x03 \x01(\tR\x07noCount\x12+\n\x12no_with_veto_count\x18\x04 \x01(\tR\x0fnoWithVetoCount:\x04\x88\xa0\x1f\x00\"\xf4\x01\n\x04Vote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x33\n\x06option\x18\x03 \x01(\x0e\x32\x1b.cosmos.group.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime*\x8f\x01\n\nVoteOption\x12\x1b\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fVOTE_OPTION_YES\x10\x01\x12\x17\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x12\x12\n\x0eVOTE_OPTION_NO\x10\x03\x12\x1c\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04\x1a\x04\x88\xa3\x1e\x00*\xce\x01\n\x0eProposalStatus\x12\x1f\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19PROPOSAL_STATUS_SUBMITTED\x10\x01\x12\x1c\n\x18PROPOSAL_STATUS_ACCEPTED\x10\x02\x12\x1c\n\x18PROPOSAL_STATUS_REJECTED\x10\x03\x12\x1b\n\x17PROPOSAL_STATUS_ABORTED\x10\x04\x12\x1d\n\x19PROPOSAL_STATUS_WITHDRAWN\x10\x05\x1a\x04\x88\xa3\x1e\x00*\xba\x01\n\x16ProposalExecutorResult\x12(\n$PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED\x10\x00\x12$\n PROPOSAL_EXECUTOR_RESULT_NOT_RUN\x10\x01\x12$\n PROPOSAL_EXECUTOR_RESULT_SUCCESS\x10\x02\x12$\n PROPOSAL_EXECUTOR_RESULT_FAILURE\x10\x03\x1a\x04\x88\xa3\x1e\x00\x42\xa5\x01\n\x13\x63om.cosmos.group.v1B\nTypesProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1b\x63osmos/group/v1/types.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto"\xb6\x01\n\x06Member\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x16\n\x06weight\x18\x02 \x01(\tR\x06weight\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x44\n\x08\x61\x64\x64\x65\x64_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x07\x61\x64\x64\x65\x64\x41t"w\n\rMemberRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x16\n\x06weight\x18\x02 \x01(\tR\x06weight\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata"\xc4\x01\n\x17ThresholdDecisionPolicy\x12\x1c\n\tthreshold\x18\x01 \x01(\tR\tthreshold\x12@\n\x07windows\x18\x02 \x01(\x0b\x32&.cosmos.group.v1.DecisionPolicyWindowsR\x07windows:I\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x8a\xe7\xb0*"cosmos-sdk/ThresholdDecisionPolicy"\xc8\x01\n\x18PercentageDecisionPolicy\x12\x1e\n\npercentage\x18\x01 \x01(\tR\npercentage\x12@\n\x07windows\x18\x02 \x01(\x0b\x32&.cosmos.group.v1.DecisionPolicyWindowsR\x07windows:J\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x8a\xe7\xb0*#cosmos-sdk/PercentageDecisionPolicy"\xc2\x01\n\x15\x44\x65\x63isionPolicyWindows\x12M\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0cvotingPeriod\x12Z\n\x14min_execution_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x12minExecutionPeriod"\xee\x01\n\tGroupInfo\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x18\n\x07version\x18\x04 \x01(\x04R\x07version\x12!\n\x0ctotal_weight\x18\x05 \x01(\tR\x0btotalWeight\x12H\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\tcreatedAt"Y\n\x0bGroupMember\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12/\n\x06member\x18\x02 \x01(\x0b\x32\x17.cosmos.group.v1.MemberR\x06member"\xfd\x02\n\x0fGroupPolicyInfo\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12.\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12\x18\n\x07version\x18\x05 \x01(\x04R\x07version\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy\x12H\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\tcreatedAt:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x01"\xfe\x05\n\x08Proposal\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x36\n\tproposers\x18\x04 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tproposers\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime\x12#\n\rgroup_version\x18\x06 \x01(\x04R\x0cgroupVersion\x12\x30\n\x14group_policy_version\x18\x07 \x01(\x04R\x12groupPolicyVersion\x12\x37\n\x06status\x18\x08 \x01(\x0e\x32\x1f.cosmos.group.v1.ProposalStatusR\x06status\x12U\n\x12\x66inal_tally_result\x18\t \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x10\x66inalTallyResult\x12U\n\x11voting_period_end\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0fvotingPeriodEnd\x12P\n\x0f\x65xecutor_result\x18\x0b \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x0e\x65xecutorResult\x12\x30\n\x08messages\x18\x0c \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x14\n\x05title\x18\r \x01(\tR\x05title\x12\x18\n\x07summary\x18\x0e \x01(\tR\x07summary:\x04\x88\xa0\x1f\x00"\x9d\x01\n\x0bTallyResult\x12\x1b\n\tyes_count\x18\x01 \x01(\tR\x08yesCount\x12#\n\rabstain_count\x18\x02 \x01(\tR\x0c\x61\x62stainCount\x12\x19\n\x08no_count\x18\x03 \x01(\tR\x07noCount\x12+\n\x12no_with_veto_count\x18\x04 \x01(\tR\x0fnoWithVetoCount:\x04\x88\xa0\x1f\x00"\xf4\x01\n\x04Vote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x33\n\x06option\x18\x03 \x01(\x0e\x32\x1b.cosmos.group.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime*\x8f\x01\n\nVoteOption\x12\x1b\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fVOTE_OPTION_YES\x10\x01\x12\x17\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x12\x12\n\x0eVOTE_OPTION_NO\x10\x03\x12\x1c\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04\x1a\x04\x88\xa3\x1e\x00*\xce\x01\n\x0eProposalStatus\x12\x1f\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19PROPOSAL_STATUS_SUBMITTED\x10\x01\x12\x1c\n\x18PROPOSAL_STATUS_ACCEPTED\x10\x02\x12\x1c\n\x18PROPOSAL_STATUS_REJECTED\x10\x03\x12\x1b\n\x17PROPOSAL_STATUS_ABORTED\x10\x04\x12\x1d\n\x19PROPOSAL_STATUS_WITHDRAWN\x10\x05\x1a\x04\x88\xa3\x1e\x00*\xba\x01\n\x16ProposalExecutorResult\x12(\n$PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED\x10\x00\x12$\n PROPOSAL_EXECUTOR_RESULT_NOT_RUN\x10\x01\x12$\n PROPOSAL_EXECUTOR_RESULT_SUCCESS\x10\x02\x12$\n PROPOSAL_EXECUTOR_RESULT_FAILURE\x10\x03\x1a\x04\x88\xa3\x1e\x00\x42\xa5\x01\n\x13\x63om.cosmos.group.v1B\nTypesProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.types_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.group.v1.types_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\nTypesProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' - _globals['_VOTEOPTION']._loaded_options = None - _globals['_VOTEOPTION']._serialized_options = b'\210\243\036\000' - _globals['_PROPOSALSTATUS']._loaded_options = None - _globals['_PROPOSALSTATUS']._serialized_options = b'\210\243\036\000' - _globals['_PROPOSALEXECUTORRESULT']._loaded_options = None - _globals['_PROPOSALEXECUTORRESULT']._serialized_options = b'\210\243\036\000' - _globals['_MEMBER'].fields_by_name['address']._loaded_options = None - _globals['_MEMBER'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MEMBER'].fields_by_name['added_at']._loaded_options = None - _globals['_MEMBER'].fields_by_name['added_at']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_MEMBERREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_MEMBERREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_THRESHOLDDECISIONPOLICY']._loaded_options = None - _globals['_THRESHOLDDECISIONPOLICY']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy\212\347\260*\"cosmos-sdk/ThresholdDecisionPolicy' - _globals['_PERCENTAGEDECISIONPOLICY']._loaded_options = None - _globals['_PERCENTAGEDECISIONPOLICY']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy\212\347\260*#cosmos-sdk/PercentageDecisionPolicy' - _globals['_DECISIONPOLICYWINDOWS'].fields_by_name['voting_period']._loaded_options = None - _globals['_DECISIONPOLICYWINDOWS'].fields_by_name['voting_period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' - _globals['_DECISIONPOLICYWINDOWS'].fields_by_name['min_execution_period']._loaded_options = None - _globals['_DECISIONPOLICYWINDOWS'].fields_by_name['min_execution_period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' - _globals['_GROUPINFO'].fields_by_name['admin']._loaded_options = None - _globals['_GROUPINFO'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_GROUPINFO'].fields_by_name['created_at']._loaded_options = None - _globals['_GROUPINFO'].fields_by_name['created_at']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_GROUPPOLICYINFO'].fields_by_name['address']._loaded_options = None - _globals['_GROUPPOLICYINFO'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_GROUPPOLICYINFO'].fields_by_name['admin']._loaded_options = None - _globals['_GROUPPOLICYINFO'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_GROUPPOLICYINFO'].fields_by_name['decision_policy']._loaded_options = None - _globals['_GROUPPOLICYINFO'].fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' - _globals['_GROUPPOLICYINFO'].fields_by_name['created_at']._loaded_options = None - _globals['_GROUPPOLICYINFO'].fields_by_name['created_at']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_GROUPPOLICYINFO']._loaded_options = None - _globals['_GROUPPOLICYINFO']._serialized_options = b'\210\240\037\000\350\240\037\001' - _globals['_PROPOSAL'].fields_by_name['group_policy_address']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_PROPOSAL'].fields_by_name['proposers']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['proposers']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_PROPOSAL'].fields_by_name['submit_time']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['submit_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['final_tally_result']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['final_tally_result']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PROPOSAL'].fields_by_name['voting_period_end']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['voting_period_end']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_PROPOSAL']._loaded_options = None - _globals['_PROPOSAL']._serialized_options = b'\210\240\037\000' - _globals['_TALLYRESULT']._loaded_options = None - _globals['_TALLYRESULT']._serialized_options = b'\210\240\037\000' - _globals['_VOTE'].fields_by_name['voter']._loaded_options = None - _globals['_VOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_VOTE'].fields_by_name['submit_time']._loaded_options = None - _globals['_VOTE'].fields_by_name['submit_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_VOTEOPTION']._serialized_start=3006 - _globals['_VOTEOPTION']._serialized_end=3149 - _globals['_PROPOSALSTATUS']._serialized_start=3152 - _globals['_PROPOSALSTATUS']._serialized_end=3358 - _globals['_PROPOSALEXECUTORRESULT']._serialized_start=3361 - _globals['_PROPOSALEXECUTORRESULT']._serialized_end=3547 - _globals['_MEMBER']._serialized_start=209 - _globals['_MEMBER']._serialized_end=391 - _globals['_MEMBERREQUEST']._serialized_start=393 - _globals['_MEMBERREQUEST']._serialized_end=512 - _globals['_THRESHOLDDECISIONPOLICY']._serialized_start=515 - _globals['_THRESHOLDDECISIONPOLICY']._serialized_end=711 - _globals['_PERCENTAGEDECISIONPOLICY']._serialized_start=714 - _globals['_PERCENTAGEDECISIONPOLICY']._serialized_end=914 - _globals['_DECISIONPOLICYWINDOWS']._serialized_start=917 - _globals['_DECISIONPOLICYWINDOWS']._serialized_end=1111 - _globals['_GROUPINFO']._serialized_start=1114 - _globals['_GROUPINFO']._serialized_end=1352 - _globals['_GROUPMEMBER']._serialized_start=1354 - _globals['_GROUPMEMBER']._serialized_end=1443 - _globals['_GROUPPOLICYINFO']._serialized_start=1446 - _globals['_GROUPPOLICYINFO']._serialized_end=1827 - _globals['_PROPOSAL']._serialized_start=1830 - _globals['_PROPOSAL']._serialized_end=2596 - _globals['_TALLYRESULT']._serialized_start=2599 - _globals['_TALLYRESULT']._serialized_end=2756 - _globals['_VOTE']._serialized_start=2759 - _globals['_VOTE']._serialized_end=3003 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\023com.cosmos.group.v1B\nTypesProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1" + ) + _globals["_VOTEOPTION"]._loaded_options = None + _globals["_VOTEOPTION"]._serialized_options = b"\210\243\036\000" + _globals["_PROPOSALSTATUS"]._loaded_options = None + _globals["_PROPOSALSTATUS"]._serialized_options = b"\210\243\036\000" + _globals["_PROPOSALEXECUTORRESULT"]._loaded_options = None + _globals["_PROPOSALEXECUTORRESULT"]._serialized_options = b"\210\243\036\000" + _globals["_MEMBER"].fields_by_name["address"]._loaded_options = None + _globals["_MEMBER"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MEMBER"].fields_by_name["added_at"]._loaded_options = None + _globals["_MEMBER"].fields_by_name[ + "added_at" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_MEMBERREQUEST"].fields_by_name["address"]._loaded_options = None + _globals["_MEMBERREQUEST"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_THRESHOLDDECISIONPOLICY"]._loaded_options = None + _globals["_THRESHOLDDECISIONPOLICY"]._serialized_options = ( + b'\312\264-\036cosmos.group.v1.DecisionPolicy\212\347\260*"cosmos-sdk/ThresholdDecisionPolicy' + ) + _globals["_PERCENTAGEDECISIONPOLICY"]._loaded_options = None + _globals["_PERCENTAGEDECISIONPOLICY"]._serialized_options = ( + b"\312\264-\036cosmos.group.v1.DecisionPolicy\212\347\260*#cosmos-sdk/PercentageDecisionPolicy" + ) + _globals["_DECISIONPOLICYWINDOWS"].fields_by_name["voting_period"]._loaded_options = None + _globals["_DECISIONPOLICYWINDOWS"].fields_by_name[ + "voting_period" + ]._serialized_options = b"\310\336\037\000\230\337\037\001\250\347\260*\001" + _globals["_DECISIONPOLICYWINDOWS"].fields_by_name["min_execution_period"]._loaded_options = None + _globals["_DECISIONPOLICYWINDOWS"].fields_by_name[ + "min_execution_period" + ]._serialized_options = b"\310\336\037\000\230\337\037\001\250\347\260*\001" + _globals["_GROUPINFO"].fields_by_name["admin"]._loaded_options = None + _globals["_GROUPINFO"].fields_by_name["admin"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_GROUPINFO"].fields_by_name["created_at"]._loaded_options = None + _globals["_GROUPINFO"].fields_by_name[ + "created_at" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_GROUPPOLICYINFO"].fields_by_name["address"]._loaded_options = None + _globals["_GROUPPOLICYINFO"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_GROUPPOLICYINFO"].fields_by_name["admin"]._loaded_options = None + _globals["_GROUPPOLICYINFO"].fields_by_name["admin"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_GROUPPOLICYINFO"].fields_by_name["decision_policy"]._loaded_options = None + _globals["_GROUPPOLICYINFO"].fields_by_name[ + "decision_policy" + ]._serialized_options = b"\312\264-\036cosmos.group.v1.DecisionPolicy" + _globals["_GROUPPOLICYINFO"].fields_by_name["created_at"]._loaded_options = None + _globals["_GROUPPOLICYINFO"].fields_by_name[ + "created_at" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_GROUPPOLICYINFO"]._loaded_options = None + _globals["_GROUPPOLICYINFO"]._serialized_options = b"\210\240\037\000\350\240\037\001" + _globals["_PROPOSAL"].fields_by_name["group_policy_address"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name[ + "group_policy_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_PROPOSAL"].fields_by_name["proposers"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name["proposers"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_PROPOSAL"].fields_by_name["submit_time"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name[ + "submit_time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_PROPOSAL"].fields_by_name["final_tally_result"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name[ + "final_tally_result" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_PROPOSAL"].fields_by_name["voting_period_end"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name[ + "voting_period_end" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_PROPOSAL"]._loaded_options = None + _globals["_PROPOSAL"]._serialized_options = b"\210\240\037\000" + _globals["_TALLYRESULT"]._loaded_options = None + _globals["_TALLYRESULT"]._serialized_options = b"\210\240\037\000" + _globals["_VOTE"].fields_by_name["voter"]._loaded_options = None + _globals["_VOTE"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_VOTE"].fields_by_name["submit_time"]._loaded_options = None + _globals["_VOTE"].fields_by_name[ + "submit_time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_VOTEOPTION"]._serialized_start = 3006 + _globals["_VOTEOPTION"]._serialized_end = 3149 + _globals["_PROPOSALSTATUS"]._serialized_start = 3152 + _globals["_PROPOSALSTATUS"]._serialized_end = 3358 + _globals["_PROPOSALEXECUTORRESULT"]._serialized_start = 3361 + _globals["_PROPOSALEXECUTORRESULT"]._serialized_end = 3547 + _globals["_MEMBER"]._serialized_start = 209 + _globals["_MEMBER"]._serialized_end = 391 + _globals["_MEMBERREQUEST"]._serialized_start = 393 + _globals["_MEMBERREQUEST"]._serialized_end = 512 + _globals["_THRESHOLDDECISIONPOLICY"]._serialized_start = 515 + _globals["_THRESHOLDDECISIONPOLICY"]._serialized_end = 711 + _globals["_PERCENTAGEDECISIONPOLICY"]._serialized_start = 714 + _globals["_PERCENTAGEDECISIONPOLICY"]._serialized_end = 914 + _globals["_DECISIONPOLICYWINDOWS"]._serialized_start = 917 + _globals["_DECISIONPOLICYWINDOWS"]._serialized_end = 1111 + _globals["_GROUPINFO"]._serialized_start = 1114 + _globals["_GROUPINFO"]._serialized_end = 1352 + _globals["_GROUPMEMBER"]._serialized_start = 1354 + _globals["_GROUPMEMBER"]._serialized_end = 1443 + _globals["_GROUPPOLICYINFO"]._serialized_start = 1446 + _globals["_GROUPPOLICYINFO"]._serialized_end = 1827 + _globals["_PROPOSAL"]._serialized_start = 1830 + _globals["_PROPOSAL"]._serialized_end = 2596 + _globals["_TALLYRESULT"]._serialized_start = 2599 + _globals["_TALLYRESULT"]._serialized_end = 2756 + _globals["_VOTE"]._serialized_start = 2759 + _globals["_VOTE"]._serialized_end = 3003 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/types_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/types_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/group/v1/types_pb2_grpc.py +++ b/pyinjective/proto/cosmos/group/v1/types_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/ics23/v1/proofs_pb2.py b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py index 10a01ca2..6368f266 100644 --- a/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py +++ b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py @@ -7,49 +7,52 @@ 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\x1c\x63osmos/ics23/v1/proofs.proto\x12\x0f\x63osmos.ics23.v1\"\x93\x01\n\x0e\x45xistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12+\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x04leaf\x12,\n\x04path\x18\x04 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOpR\x04path\"\x91\x01\n\x11NonExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x33\n\x04left\x18\x02 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofR\x04left\x12\x35\n\x05right\x18\x03 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofR\x05right\"\x93\x02\n\x0f\x43ommitmentProof\x12\x37\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00R\x05\x65xist\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00R\x08nonexist\x12\x33\n\x05\x62\x61tch\x18\x03 \x01(\x0b\x32\x1b.cosmos.ics23.v1.BatchProofH\x00R\x05\x62\x61tch\x12G\n\ncompressed\x18\x04 \x01(\x0b\x32%.cosmos.ics23.v1.CompressedBatchProofH\x00R\ncompressedB\x07\n\x05proof\"\xf8\x01\n\x06LeafOp\x12+\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash\x12\x38\n\x0bprehash_key\x18\x02 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\nprehashKey\x12<\n\rprehash_value\x18\x03 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x0cprehashValue\x12\x31\n\x06length\x18\x04 \x01(\x0e\x32\x19.cosmos.ics23.v1.LengthOpR\x06length\x12\x16\n\x06prefix\x18\x05 \x01(\x0cR\x06prefix\"f\n\x07InnerOp\x12+\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash\x12\x16\n\x06prefix\x18\x02 \x01(\x0cR\x06prefix\x12\x16\n\x06suffix\x18\x03 \x01(\x0cR\x06suffix\"\xf9\x01\n\tProofSpec\x12\x34\n\tleaf_spec\x18\x01 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x08leafSpec\x12\x39\n\ninner_spec\x18\x02 \x01(\x0b\x32\x1a.cosmos.ics23.v1.InnerSpecR\tinnerSpec\x12\x1b\n\tmax_depth\x18\x03 \x01(\x05R\x08maxDepth\x12\x1b\n\tmin_depth\x18\x04 \x01(\x05R\x08minDepth\x12\x41\n\x1dprehash_key_before_comparison\x18\x05 \x01(\x08R\x1aprehashKeyBeforeComparison\"\xf1\x01\n\tInnerSpec\x12\x1f\n\x0b\x63hild_order\x18\x01 \x03(\x05R\nchildOrder\x12\x1d\n\nchild_size\x18\x02 \x01(\x05R\tchildSize\x12*\n\x11min_prefix_length\x18\x03 \x01(\x05R\x0fminPrefixLength\x12*\n\x11max_prefix_length\x18\x04 \x01(\x05R\x0fmaxPrefixLength\x12\x1f\n\x0b\x65mpty_child\x18\x05 \x01(\x0cR\nemptyChild\x12+\n\x04hash\x18\x06 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash\"C\n\nBatchProof\x12\x35\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1b.cosmos.ics23.v1.BatchEntryR\x07\x65ntries\"\x90\x01\n\nBatchEntry\x12\x37\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00R\x05\x65xist\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00R\x08nonexistB\x07\n\x05proof\"\x96\x01\n\x14\x43ompressedBatchProof\x12?\n\x07\x65ntries\x18\x01 \x03(\x0b\x32%.cosmos.ics23.v1.CompressedBatchEntryR\x07\x65ntries\x12=\n\rlookup_inners\x18\x02 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOpR\x0clookupInners\"\xae\x01\n\x14\x43ompressedBatchEntry\x12\x41\n\x05\x65xist\x18\x01 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofH\x00R\x05\x65xist\x12J\n\x08nonexist\x18\x02 \x01(\x0b\x32,.cosmos.ics23.v1.CompressedNonExistenceProofH\x00R\x08nonexistB\x07\n\x05proof\"\x83\x01\n\x18\x43ompressedExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12+\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x04leaf\x12\x12\n\x04path\x18\x04 \x03(\x05R\x04path\"\xaf\x01\n\x1b\x43ompressedNonExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12=\n\x04left\x18\x02 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofR\x04left\x12?\n\x05right\x18\x03 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofR\x05right*\x96\x01\n\x06HashOp\x12\x0b\n\x07NO_HASH\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\n\n\x06SHA512\x10\x02\x12\r\n\tKECCAK256\x10\x03\x12\r\n\tRIPEMD160\x10\x04\x12\x0b\n\x07\x42ITCOIN\x10\x05\x12\x0e\n\nSHA512_256\x10\x06\x12\x0f\n\x0b\x42LAKE2B_512\x10\x07\x12\x0f\n\x0b\x42LAKE2S_256\x10\x08\x12\n\n\x06\x42LAKE3\x10\t*\xab\x01\n\x08LengthOp\x12\r\n\tNO_PREFIX\x10\x00\x12\r\n\tVAR_PROTO\x10\x01\x12\x0b\n\x07VAR_RLP\x10\x02\x12\x0f\n\x0b\x46IXED32_BIG\x10\x03\x12\x12\n\x0e\x46IXED32_LITTLE\x10\x04\x12\x0f\n\x0b\x46IXED64_BIG\x10\x05\x12\x12\n\x0e\x46IXED64_LITTLE\x10\x06\x12\x14\n\x10REQUIRE_32_BYTES\x10\x07\x12\x14\n\x10REQUIRE_64_BYTES\x10\x08\x42\xa2\x01\n\x13\x63om.cosmos.ics23.v1B\x0bProofsProtoP\x01Z github.com/cosmos/ics23/go;ics23\xa2\x02\x03\x43IX\xaa\x02\x0f\x43osmos.Ics23.V1\xca\x02\x0f\x43osmos\\Ics23\\V1\xe2\x02\x1b\x43osmos\\Ics23\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Ics23::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1c\x63osmos/ics23/v1/proofs.proto\x12\x0f\x63osmos.ics23.v1"\x93\x01\n\x0e\x45xistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12+\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x04leaf\x12,\n\x04path\x18\x04 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOpR\x04path"\x91\x01\n\x11NonExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x33\n\x04left\x18\x02 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofR\x04left\x12\x35\n\x05right\x18\x03 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofR\x05right"\x93\x02\n\x0f\x43ommitmentProof\x12\x37\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00R\x05\x65xist\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32".cosmos.ics23.v1.NonExistenceProofH\x00R\x08nonexist\x12\x33\n\x05\x62\x61tch\x18\x03 \x01(\x0b\x32\x1b.cosmos.ics23.v1.BatchProofH\x00R\x05\x62\x61tch\x12G\n\ncompressed\x18\x04 \x01(\x0b\x32%.cosmos.ics23.v1.CompressedBatchProofH\x00R\ncompressedB\x07\n\x05proof"\xf8\x01\n\x06LeafOp\x12+\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash\x12\x38\n\x0bprehash_key\x18\x02 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\nprehashKey\x12<\n\rprehash_value\x18\x03 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x0cprehashValue\x12\x31\n\x06length\x18\x04 \x01(\x0e\x32\x19.cosmos.ics23.v1.LengthOpR\x06length\x12\x16\n\x06prefix\x18\x05 \x01(\x0cR\x06prefix"f\n\x07InnerOp\x12+\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash\x12\x16\n\x06prefix\x18\x02 \x01(\x0cR\x06prefix\x12\x16\n\x06suffix\x18\x03 \x01(\x0cR\x06suffix"\xf9\x01\n\tProofSpec\x12\x34\n\tleaf_spec\x18\x01 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x08leafSpec\x12\x39\n\ninner_spec\x18\x02 \x01(\x0b\x32\x1a.cosmos.ics23.v1.InnerSpecR\tinnerSpec\x12\x1b\n\tmax_depth\x18\x03 \x01(\x05R\x08maxDepth\x12\x1b\n\tmin_depth\x18\x04 \x01(\x05R\x08minDepth\x12\x41\n\x1dprehash_key_before_comparison\x18\x05 \x01(\x08R\x1aprehashKeyBeforeComparison"\xf1\x01\n\tInnerSpec\x12\x1f\n\x0b\x63hild_order\x18\x01 \x03(\x05R\nchildOrder\x12\x1d\n\nchild_size\x18\x02 \x01(\x05R\tchildSize\x12*\n\x11min_prefix_length\x18\x03 \x01(\x05R\x0fminPrefixLength\x12*\n\x11max_prefix_length\x18\x04 \x01(\x05R\x0fmaxPrefixLength\x12\x1f\n\x0b\x65mpty_child\x18\x05 \x01(\x0cR\nemptyChild\x12+\n\x04hash\x18\x06 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash"C\n\nBatchProof\x12\x35\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1b.cosmos.ics23.v1.BatchEntryR\x07\x65ntries"\x90\x01\n\nBatchEntry\x12\x37\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00R\x05\x65xist\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32".cosmos.ics23.v1.NonExistenceProofH\x00R\x08nonexistB\x07\n\x05proof"\x96\x01\n\x14\x43ompressedBatchProof\x12?\n\x07\x65ntries\x18\x01 \x03(\x0b\x32%.cosmos.ics23.v1.CompressedBatchEntryR\x07\x65ntries\x12=\n\rlookup_inners\x18\x02 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOpR\x0clookupInners"\xae\x01\n\x14\x43ompressedBatchEntry\x12\x41\n\x05\x65xist\x18\x01 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofH\x00R\x05\x65xist\x12J\n\x08nonexist\x18\x02 \x01(\x0b\x32,.cosmos.ics23.v1.CompressedNonExistenceProofH\x00R\x08nonexistB\x07\n\x05proof"\x83\x01\n\x18\x43ompressedExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12+\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x04leaf\x12\x12\n\x04path\x18\x04 \x03(\x05R\x04path"\xaf\x01\n\x1b\x43ompressedNonExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12=\n\x04left\x18\x02 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofR\x04left\x12?\n\x05right\x18\x03 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofR\x05right*\x96\x01\n\x06HashOp\x12\x0b\n\x07NO_HASH\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\n\n\x06SHA512\x10\x02\x12\r\n\tKECCAK256\x10\x03\x12\r\n\tRIPEMD160\x10\x04\x12\x0b\n\x07\x42ITCOIN\x10\x05\x12\x0e\n\nSHA512_256\x10\x06\x12\x0f\n\x0b\x42LAKE2B_512\x10\x07\x12\x0f\n\x0b\x42LAKE2S_256\x10\x08\x12\n\n\x06\x42LAKE3\x10\t*\xab\x01\n\x08LengthOp\x12\r\n\tNO_PREFIX\x10\x00\x12\r\n\tVAR_PROTO\x10\x01\x12\x0b\n\x07VAR_RLP\x10\x02\x12\x0f\n\x0b\x46IXED32_BIG\x10\x03\x12\x12\n\x0e\x46IXED32_LITTLE\x10\x04\x12\x0f\n\x0b\x46IXED64_BIG\x10\x05\x12\x12\n\x0e\x46IXED64_LITTLE\x10\x06\x12\x14\n\x10REQUIRE_32_BYTES\x10\x07\x12\x14\n\x10REQUIRE_64_BYTES\x10\x08\x42\xa2\x01\n\x13\x63om.cosmos.ics23.v1B\x0bProofsProtoP\x01Z github.com/cosmos/ics23/go;ics23\xa2\x02\x03\x43IX\xaa\x02\x0f\x43osmos.Ics23.V1\xca\x02\x0f\x43osmos\\Ics23\\V1\xe2\x02\x1b\x43osmos\\Ics23\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Ics23::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.ics23.v1.proofs_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.ics23.v1.proofs_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.ics23.v1B\013ProofsProtoP\001Z github.com/cosmos/ics23/go;ics23\242\002\003CIX\252\002\017Cosmos.Ics23.V1\312\002\017Cosmos\\Ics23\\V1\342\002\033Cosmos\\Ics23\\V1\\GPBMetadata\352\002\021Cosmos::Ics23::V1' - _globals['_HASHOP']._serialized_start=2335 - _globals['_HASHOP']._serialized_end=2485 - _globals['_LENGTHOP']._serialized_start=2488 - _globals['_LENGTHOP']._serialized_end=2659 - _globals['_EXISTENCEPROOF']._serialized_start=50 - _globals['_EXISTENCEPROOF']._serialized_end=197 - _globals['_NONEXISTENCEPROOF']._serialized_start=200 - _globals['_NONEXISTENCEPROOF']._serialized_end=345 - _globals['_COMMITMENTPROOF']._serialized_start=348 - _globals['_COMMITMENTPROOF']._serialized_end=623 - _globals['_LEAFOP']._serialized_start=626 - _globals['_LEAFOP']._serialized_end=874 - _globals['_INNEROP']._serialized_start=876 - _globals['_INNEROP']._serialized_end=978 - _globals['_PROOFSPEC']._serialized_start=981 - _globals['_PROOFSPEC']._serialized_end=1230 - _globals['_INNERSPEC']._serialized_start=1233 - _globals['_INNERSPEC']._serialized_end=1474 - _globals['_BATCHPROOF']._serialized_start=1476 - _globals['_BATCHPROOF']._serialized_end=1543 - _globals['_BATCHENTRY']._serialized_start=1546 - _globals['_BATCHENTRY']._serialized_end=1690 - _globals['_COMPRESSEDBATCHPROOF']._serialized_start=1693 - _globals['_COMPRESSEDBATCHPROOF']._serialized_end=1843 - _globals['_COMPRESSEDBATCHENTRY']._serialized_start=1846 - _globals['_COMPRESSEDBATCHENTRY']._serialized_end=2020 - _globals['_COMPRESSEDEXISTENCEPROOF']._serialized_start=2023 - _globals['_COMPRESSEDEXISTENCEPROOF']._serialized_end=2154 - _globals['_COMPRESSEDNONEXISTENCEPROOF']._serialized_start=2157 - _globals['_COMPRESSEDNONEXISTENCEPROOF']._serialized_end=2332 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\023com.cosmos.ics23.v1B\013ProofsProtoP\001Z github.com/cosmos/ics23/go;ics23\242\002\003CIX\252\002\017Cosmos.Ics23.V1\312\002\017Cosmos\\Ics23\\V1\342\002\033Cosmos\\Ics23\\V1\\GPBMetadata\352\002\021Cosmos::Ics23::V1" + ) + _globals["_HASHOP"]._serialized_start = 2335 + _globals["_HASHOP"]._serialized_end = 2485 + _globals["_LENGTHOP"]._serialized_start = 2488 + _globals["_LENGTHOP"]._serialized_end = 2659 + _globals["_EXISTENCEPROOF"]._serialized_start = 50 + _globals["_EXISTENCEPROOF"]._serialized_end = 197 + _globals["_NONEXISTENCEPROOF"]._serialized_start = 200 + _globals["_NONEXISTENCEPROOF"]._serialized_end = 345 + _globals["_COMMITMENTPROOF"]._serialized_start = 348 + _globals["_COMMITMENTPROOF"]._serialized_end = 623 + _globals["_LEAFOP"]._serialized_start = 626 + _globals["_LEAFOP"]._serialized_end = 874 + _globals["_INNEROP"]._serialized_start = 876 + _globals["_INNEROP"]._serialized_end = 978 + _globals["_PROOFSPEC"]._serialized_start = 981 + _globals["_PROOFSPEC"]._serialized_end = 1230 + _globals["_INNERSPEC"]._serialized_start = 1233 + _globals["_INNERSPEC"]._serialized_end = 1474 + _globals["_BATCHPROOF"]._serialized_start = 1476 + _globals["_BATCHPROOF"]._serialized_end = 1543 + _globals["_BATCHENTRY"]._serialized_start = 1546 + _globals["_BATCHENTRY"]._serialized_end = 1690 + _globals["_COMPRESSEDBATCHPROOF"]._serialized_start = 1693 + _globals["_COMPRESSEDBATCHPROOF"]._serialized_end = 1843 + _globals["_COMPRESSEDBATCHENTRY"]._serialized_start = 1846 + _globals["_COMPRESSEDBATCHENTRY"]._serialized_end = 2020 + _globals["_COMPRESSEDEXISTENCEPROOF"]._serialized_start = 2023 + _globals["_COMPRESSEDEXISTENCEPROOF"]._serialized_end = 2154 + _globals["_COMPRESSEDNONEXISTENCEPROOF"]._serialized_start = 2157 + _globals["_COMPRESSEDNONEXISTENCEPROOF"]._serialized_end = 2332 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/ics23/v1/proofs_pb2_grpc.py b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/ics23/v1/proofs_pb2_grpc.py +++ b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/mint/module/v1/module_pb2.py b/pyinjective/proto/cosmos/mint/module/v1/module_pb2.py index 0931d8c3..7518e8a6 100644 --- a/pyinjective/proto/cosmos/mint/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/mint/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/mint/module/v1/module.proto\x12\x15\x63osmos.mint.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x81\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/mintB\x9f\x01\n\x19\x63om.cosmos.mint.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43MM\xaa\x02\x15\x43osmos.Mint.Module.V1\xca\x02\x15\x43osmos\\Mint\\Module\\V1\xe2\x02!Cosmos\\Mint\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Mint::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n"cosmos/mint/module/v1/module.proto\x12\x15\x63osmos.mint.module.v1\x1a cosmos/app/v1alpha1/module.proto"\x81\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/mintB\x9f\x01\n\x19\x63om.cosmos.mint.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43MM\xaa\x02\x15\x43osmos.Mint.Module.V1\xca\x02\x15\x43osmos\\Mint\\Module\\V1\xe2\x02!Cosmos\\Mint\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Mint::Module::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.mint.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.mint.module.v1B\013ModuleProtoP\001\242\002\003CMM\252\002\025Cosmos.Mint.Module.V1\312\002\025Cosmos\\Mint\\Module\\V1\342\002!Cosmos\\Mint\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Mint::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/mint' - _globals['_MODULE']._serialized_start=96 - _globals['_MODULE']._serialized_end=225 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\031com.cosmos.mint.module.v1B\013ModuleProtoP\001\242\002\003CMM\252\002\025Cosmos.Mint.Module.V1\312\002\025Cosmos\\Mint\\Module\\V1\342\002!Cosmos\\Mint\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Mint::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/mint" + _globals["_MODULE"]._serialized_start = 96 + _globals["_MODULE"]._serialized_end = 225 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/mint/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/mint/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/mint/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/mint/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2.py index 09f9289d..7c44d234 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,18 +18,22 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/mint/v1beta1/genesis.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x11\x61mino/amino.proto\"\x8e\x01\n\x0cGenesisState\x12>\n\x06minter\x18\x01 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.MinterB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06minter\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06paramsB\xc0\x01\n\x17\x63om.cosmos.mint.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n!cosmos/mint/v1beta1/genesis.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x11\x61mino/amino.proto"\x8e\x01\n\x0cGenesisState\x12>\n\x06minter\x18\x01 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.MinterB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06minter\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06paramsB\xc0\x01\n\x17\x63om.cosmos.mint.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.mint.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.mint.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['minter']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['minter']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE']._serialized_start=132 - _globals['_GENESISSTATE']._serialized_end=274 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.mint.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1" + ) + _globals["_GENESISSTATE"].fields_by_name["minter"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["minter"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"]._serialized_start = 132 + _globals["_GENESISSTATE"]._serialized_end = 274 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/mint/v1beta1/mint_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2.py index 0c564108..76f9171c 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,30 +18,54 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/mint/v1beta1/mint.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xb9\x01\n\x06Minter\x12O\n\tinflation\x18\x01 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\tinflation\x12^\n\x11\x61nnual_provisions\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x10\x61nnualProvisions\"\xed\x03\n\x06Params\x12\x1d\n\nmint_denom\x18\x01 \x01(\tR\tmintDenom\x12j\n\x15inflation_rate_change\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x13inflationRateChange\x12[\n\rinflation_max\x18\x03 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0cinflationMax\x12[\n\rinflation_min\x18\x04 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0cinflationMin\x12W\n\x0bgoal_bonded\x18\x05 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\ngoalBonded\x12&\n\x0f\x62locks_per_year\x18\x06 \x01(\x04R\rblocksPerYear:\x1d\x8a\xe7\xb0*\x18\x63osmos-sdk/x/mint/ParamsB\xbd\x01\n\x17\x63om.cosmos.mint.v1beta1B\tMintProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1e\x63osmos/mint/v1beta1/mint.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\xb9\x01\n\x06Minter\x12O\n\tinflation\x18\x01 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\tinflation\x12^\n\x11\x61nnual_provisions\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x10\x61nnualProvisions"\xed\x03\n\x06Params\x12\x1d\n\nmint_denom\x18\x01 \x01(\tR\tmintDenom\x12j\n\x15inflation_rate_change\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x13inflationRateChange\x12[\n\rinflation_max\x18\x03 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0cinflationMax\x12[\n\rinflation_min\x18\x04 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0cinflationMin\x12W\n\x0bgoal_bonded\x18\x05 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\ngoalBonded\x12&\n\x0f\x62locks_per_year\x18\x06 \x01(\x04R\rblocksPerYear:\x1d\x8a\xe7\xb0*\x18\x63osmos-sdk/x/mint/ParamsB\xbd\x01\n\x17\x63om.cosmos.mint.v1beta1B\tMintProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.mint_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.mint.v1beta1.mint_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.mint.v1beta1B\tMintProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1' - _globals['_MINTER'].fields_by_name['inflation']._loaded_options = None - _globals['_MINTER'].fields_by_name['inflation']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_MINTER'].fields_by_name['annual_provisions']._loaded_options = None - _globals['_MINTER'].fields_by_name['annual_provisions']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_PARAMS'].fields_by_name['inflation_rate_change']._loaded_options = None - _globals['_PARAMS'].fields_by_name['inflation_rate_change']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['inflation_max']._loaded_options = None - _globals['_PARAMS'].fields_by_name['inflation_max']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['inflation_min']._loaded_options = None - _globals['_PARAMS'].fields_by_name['inflation_min']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['goal_bonded']._loaded_options = None - _globals['_PARAMS'].fields_by_name['goal_bonded']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\212\347\260*\030cosmos-sdk/x/mint/Params' - _globals['_MINTER']._serialized_start=124 - _globals['_MINTER']._serialized_end=309 - _globals['_PARAMS']._serialized_start=312 - _globals['_PARAMS']._serialized_end=805 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.mint.v1beta1B\tMintProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1" + ) + _globals["_MINTER"].fields_by_name["inflation"]._loaded_options = None + _globals["_MINTER"].fields_by_name[ + "inflation" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" + _globals["_MINTER"].fields_by_name["annual_provisions"]._loaded_options = None + _globals["_MINTER"].fields_by_name[ + "annual_provisions" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" + _globals["_PARAMS"].fields_by_name["inflation_rate_change"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "inflation_rate_change" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_PARAMS"].fields_by_name["inflation_max"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "inflation_max" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_PARAMS"].fields_by_name["inflation_min"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "inflation_min" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_PARAMS"].fields_by_name["goal_bonded"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "goal_bonded" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_PARAMS"]._loaded_options = None + _globals["_PARAMS"]._serialized_options = b"\212\347\260*\030cosmos-sdk/x/mint/Params" + _globals["_MINTER"]._serialized_start = 124 + _globals["_MINTER"]._serialized_end = 309 + _globals["_PARAMS"]._serialized_start = 312 + _globals["_PARAMS"]._serialized_end = 805 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2_grpc.py b/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2_grpc.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/mint/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/query_pb2.py index 973b10f1..00d8f0c0 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,38 +20,56 @@ from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/mint/v1beta1/query.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x14\n\x12QueryParamsRequest\"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"\x17\n\x15QueryInflationRequest\"n\n\x16QueryInflationResponse\x12T\n\tinflation\x18\x01 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\tinflation\"\x1e\n\x1cQueryAnnualProvisionsRequest\"\x84\x01\n\x1dQueryAnnualProvisionsResponse\x12\x63\n\x11\x61nnual_provisions\x18\x01 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x10\x61nnualProvisions2\xc5\x03\n\x05Query\x12\x80\x01\n\x06Params\x12\'.cosmos.mint.v1beta1.QueryParamsRequest\x1a(.cosmos.mint.v1beta1.QueryParamsResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/mint/v1beta1/params\x12\x8c\x01\n\tInflation\x12*.cosmos.mint.v1beta1.QueryInflationRequest\x1a+.cosmos.mint.v1beta1.QueryInflationResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmos/mint/v1beta1/inflation\x12\xa9\x01\n\x10\x41nnualProvisions\x12\x31.cosmos.mint.v1beta1.QueryAnnualProvisionsRequest\x1a\x32.cosmos.mint.v1beta1.QueryAnnualProvisionsResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/mint/v1beta1/annual_provisionsB\xbe\x01\n\x17\x63om.cosmos.mint.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1f\x63osmos/mint/v1beta1/query.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto"\x14\n\x12QueryParamsRequest"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params"\x17\n\x15QueryInflationRequest"n\n\x16QueryInflationResponse\x12T\n\tinflation\x18\x01 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\tinflation"\x1e\n\x1cQueryAnnualProvisionsRequest"\x84\x01\n\x1dQueryAnnualProvisionsResponse\x12\x63\n\x11\x61nnual_provisions\x18\x01 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x10\x61nnualProvisions2\xc5\x03\n\x05Query\x12\x80\x01\n\x06Params\x12\'.cosmos.mint.v1beta1.QueryParamsRequest\x1a(.cosmos.mint.v1beta1.QueryParamsResponse"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/mint/v1beta1/params\x12\x8c\x01\n\tInflation\x12*.cosmos.mint.v1beta1.QueryInflationRequest\x1a+.cosmos.mint.v1beta1.QueryInflationResponse"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmos/mint/v1beta1/inflation\x12\xa9\x01\n\x10\x41nnualProvisions\x12\x31.cosmos.mint.v1beta1.QueryAnnualProvisionsRequest\x1a\x32.cosmos.mint.v1beta1.QueryAnnualProvisionsResponse".\x82\xd3\xe4\x93\x02(\x12&/cosmos/mint/v1beta1/annual_provisionsB\xbe\x01\n\x17\x63om.cosmos.mint.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.mint.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.mint.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYINFLATIONRESPONSE'].fields_by_name['inflation']._loaded_options = None - _globals['_QUERYINFLATIONRESPONSE'].fields_by_name['inflation']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_QUERYANNUALPROVISIONSRESPONSE'].fields_by_name['annual_provisions']._loaded_options = None - _globals['_QUERYANNUALPROVISIONSRESPONSE'].fields_by_name['annual_provisions']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/mint/v1beta1/params' - _globals['_QUERY'].methods_by_name['Inflation']._loaded_options = None - _globals['_QUERY'].methods_by_name['Inflation']._serialized_options = b'\202\323\344\223\002 \022\036/cosmos/mint/v1beta1/inflation' - _globals['_QUERY'].methods_by_name['AnnualProvisions']._loaded_options = None - _globals['_QUERY'].methods_by_name['AnnualProvisions']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/mint/v1beta1/annual_provisions' - _globals['_QUERYPARAMSREQUEST']._serialized_start=186 - _globals['_QUERYPARAMSREQUEST']._serialized_end=206 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=208 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=293 - _globals['_QUERYINFLATIONREQUEST']._serialized_start=295 - _globals['_QUERYINFLATIONREQUEST']._serialized_end=318 - _globals['_QUERYINFLATIONRESPONSE']._serialized_start=320 - _globals['_QUERYINFLATIONRESPONSE']._serialized_end=430 - _globals['_QUERYANNUALPROVISIONSREQUEST']._serialized_start=432 - _globals['_QUERYANNUALPROVISIONSREQUEST']._serialized_end=462 - _globals['_QUERYANNUALPROVISIONSRESPONSE']._serialized_start=465 - _globals['_QUERYANNUALPROVISIONSRESPONSE']._serialized_end=597 - _globals['_QUERY']._serialized_start=600 - _globals['_QUERY']._serialized_end=1053 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.mint.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1" + ) + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYINFLATIONRESPONSE"].fields_by_name["inflation"]._loaded_options = None + _globals["_QUERYINFLATIONRESPONSE"].fields_by_name[ + "inflation" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_QUERYANNUALPROVISIONSRESPONSE"].fields_by_name["annual_provisions"]._loaded_options = None + _globals["_QUERYANNUALPROVISIONSRESPONSE"].fields_by_name[ + "annual_provisions" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\202\323\344\223\002\035\022\033/cosmos/mint/v1beta1/params" + _globals["_QUERY"].methods_by_name["Inflation"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Inflation" + ]._serialized_options = b"\202\323\344\223\002 \022\036/cosmos/mint/v1beta1/inflation" + _globals["_QUERY"].methods_by_name["AnnualProvisions"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AnnualProvisions" + ]._serialized_options = b"\202\323\344\223\002(\022&/cosmos/mint/v1beta1/annual_provisions" + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 186 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 206 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 208 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 293 + _globals["_QUERYINFLATIONREQUEST"]._serialized_start = 295 + _globals["_QUERYINFLATIONREQUEST"]._serialized_end = 318 + _globals["_QUERYINFLATIONRESPONSE"]._serialized_start = 320 + _globals["_QUERYINFLATIONRESPONSE"]._serialized_end = 430 + _globals["_QUERYANNUALPROVISIONSREQUEST"]._serialized_start = 432 + _globals["_QUERYANNUALPROVISIONSREQUEST"]._serialized_end = 462 + _globals["_QUERYANNUALPROVISIONSRESPONSE"]._serialized_start = 465 + _globals["_QUERYANNUALPROVISIONSRESPONSE"]._serialized_end = 597 + _globals["_QUERY"]._serialized_start = 600 + _globals["_QUERY"]._serialized_end = 1053 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/mint/v1beta1/query_pb2_grpc.py index c9ec00cb..71dc3c77 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query provides defines the gRPC querier service. - """ + """Query provides defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,92 +15,91 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - '/cosmos.mint.v1beta1.Query/Params', - request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/cosmos.mint.v1beta1.Query/Params", + request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) self.Inflation = channel.unary_unary( - '/cosmos.mint.v1beta1.Query/Inflation', - request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationRequest.SerializeToString, - response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationResponse.FromString, - _registered_method=True) + "/cosmos.mint.v1beta1.Query/Inflation", + request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationRequest.SerializeToString, + response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationResponse.FromString, + _registered_method=True, + ) self.AnnualProvisions = channel.unary_unary( - '/cosmos.mint.v1beta1.Query/AnnualProvisions', - request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsRequest.SerializeToString, - response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsResponse.FromString, - _registered_method=True) + "/cosmos.mint.v1beta1.Query/AnnualProvisions", + request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsRequest.SerializeToString, + response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query provides defines the gRPC querier service. - """ + """Query provides defines the gRPC querier service.""" def Params(self, request, context): - """Params returns the total set of minting parameters. - """ + """Params returns the total set of minting parameters.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Inflation(self, request, context): - """Inflation returns the current minting inflation value. - """ + """Inflation returns the current minting inflation value.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AnnualProvisions(self, request, context): - """AnnualProvisions current minting annual provisions value. - """ + """AnnualProvisions current minting annual provisions value.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'Inflation': grpc.unary_unary_rpc_method_handler( - servicer.Inflation, - request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationRequest.FromString, - response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationResponse.SerializeToString, - ), - 'AnnualProvisions': grpc.unary_unary_rpc_method_handler( - servicer.AnnualProvisions, - request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsRequest.FromString, - response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsResponse.SerializeToString, - ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + "Inflation": grpc.unary_unary_rpc_method_handler( + servicer.Inflation, + request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationRequest.FromString, + response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationResponse.SerializeToString, + ), + "AnnualProvisions": grpc.unary_unary_rpc_method_handler( + servicer.AnnualProvisions, + request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsRequest.FromString, + response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.mint.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.mint.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.mint.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.mint.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query provides defines the gRPC querier service. - """ + """Query provides defines the gRPC querier service.""" @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.mint.v1beta1.Query/Params', + "/cosmos.mint.v1beta1.Query/Params", cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -112,23 +110,26 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Inflation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Inflation( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.mint.v1beta1.Query/Inflation', + "/cosmos.mint.v1beta1.Query/Inflation", cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationRequest.SerializeToString, cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationResponse.FromString, options, @@ -139,23 +140,26 @@ def Inflation(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def AnnualProvisions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AnnualProvisions( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.mint.v1beta1.Query/AnnualProvisions', + "/cosmos.mint.v1beta1.Query/AnnualProvisions", cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsRequest.SerializeToString, cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsResponse.FromString, options, @@ -166,4 +170,5 @@ def AnnualProvisions(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py index 63e46787..106edf2f 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,26 +20,32 @@ from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/mint/v1beta1/tx.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/mint/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.mint.v1beta1.MsgUpdateParams\x1a,.cosmos.mint.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.mint.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1c\x63osmos/mint/v1beta1/tx.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/mint/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.mint.v1beta1.MsgUpdateParams\x1a,.cosmos.mint.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.mint.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.mint.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.mint.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/mint/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGUPDATEPARAMS']._serialized_start=179 - _globals['_MSGUPDATEPARAMS']._serialized_end=370 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=372 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=397 - _globals['_MSG']._serialized_start=399 - _globals['_MSG']._serialized_end=511 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.mint.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/mint/MsgUpdateParams" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGUPDATEPARAMS"]._serialized_start = 179 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 370 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 372 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 397 + _globals["_MSG"]._serialized_start = 399 + _globals["_MSG"]._serialized_end = 511 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2_grpc.py index 0d6e1328..32e6871a 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the x/mint Msg service. - """ + """Msg defines the x/mint Msg service.""" def __init__(self, channel): """Constructor. @@ -16,15 +15,15 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.UpdateParams = channel.unary_unary( - '/cosmos.mint.v1beta1.Msg/UpdateParams', - request_serializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/cosmos.mint.v1beta1.Msg/UpdateParams", + request_serializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the x/mint Msg service. - """ + """Msg defines the x/mint Msg service.""" def UpdateParams(self, request, context): """UpdateParams defines a governance operation for updating the x/mint module @@ -33,44 +32,44 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.mint.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.mint.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.mint.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.mint.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the x/mint Msg service. - """ + """Msg defines the x/mint Msg service.""" @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.mint.v1beta1.Msg/UpdateParams', + "/cosmos.mint.v1beta1.Msg/UpdateParams", cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -81,4 +80,5 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2.py b/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2.py index e85806b8..793227be 100644 --- a/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2.py +++ b/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,12 +16,16 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/msg/textual/v1/textual.proto\x12\x15\x63osmos.msg.textual.v1\x1a google/protobuf/descriptor.proto:X\n\x16\x65xpert_custom_renderer\x12\x1f.google.protobuf.MessageOptions\x18\xf9\x8c\xa6\x05 \x01(\tR\x14\x65xpertCustomRendererB\xa0\x01\n\x19\x63om.cosmos.msg.textual.v1B\x0cTextualProtoP\x01\xa2\x02\x03\x43MT\xaa\x02\x15\x43osmos.Msg.Textual.V1\xca\x02\x15\x43osmos\\Msg\\Textual\\V1\xe2\x02!Cosmos\\Msg\\Textual\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Msg::Textual::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n#cosmos/msg/textual/v1/textual.proto\x12\x15\x63osmos.msg.textual.v1\x1a google/protobuf/descriptor.proto:X\n\x16\x65xpert_custom_renderer\x12\x1f.google.protobuf.MessageOptions\x18\xf9\x8c\xa6\x05 \x01(\tR\x14\x65xpertCustomRendererB\xa0\x01\n\x19\x63om.cosmos.msg.textual.v1B\x0cTextualProtoP\x01\xa2\x02\x03\x43MT\xaa\x02\x15\x43osmos.Msg.Textual.V1\xca\x02\x15\x43osmos\\Msg\\Textual\\V1\xe2\x02!Cosmos\\Msg\\Textual\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Msg::Textual::V1b\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.msg.textual.v1.textual_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.msg.textual.v1.textual_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.msg.textual.v1B\014TextualProtoP\001\242\002\003CMT\252\002\025Cosmos.Msg.Textual.V1\312\002\025Cosmos\\Msg\\Textual\\V1\342\002!Cosmos\\Msg\\Textual\\V1\\GPBMetadata\352\002\030Cosmos::Msg::Textual::V1' + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\031com.cosmos.msg.textual.v1B\014TextualProtoP\001\242\002\003CMT\252\002\025Cosmos.Msg.Textual.V1\312\002\025Cosmos\\Msg\\Textual\\V1\342\002!Cosmos\\Msg\\Textual\\V1\\GPBMetadata\352\002\030Cosmos::Msg::Textual::V1" + ) # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2_grpc.py b/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2_grpc.py +++ b/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/msg/v1/msg_pb2.py b/pyinjective/proto/cosmos/msg/v1/msg_pb2.py index 0964b24b..78d1110b 100644 --- a/pyinjective/proto/cosmos/msg/v1/msg_pb2.py +++ b/pyinjective/proto/cosmos/msg/v1/msg_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,12 +16,16 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63osmos/msg/v1/msg.proto\x12\rcosmos.msg.v1\x1a google/protobuf/descriptor.proto:<\n\x07service\x12\x1f.google.protobuf.ServiceOptions\x18\xf0\x8c\xa6\x05 \x01(\x08R\x07service::\n\x06signer\x12\x1f.google.protobuf.MessageOptions\x18\xf0\x8c\xa6\x05 \x03(\tR\x06signerB\xa2\x01\n\x11\x63om.cosmos.msg.v1B\x08MsgProtoP\x01Z-github.com/cosmos/cosmos-sdk/types/msgservice\xa2\x02\x03\x43MX\xaa\x02\rCosmos.Msg.V1\xca\x02\rCosmos\\Msg\\V1\xe2\x02\x19\x43osmos\\Msg\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Msg::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n\x17\x63osmos/msg/v1/msg.proto\x12\rcosmos.msg.v1\x1a google/protobuf/descriptor.proto:<\n\x07service\x12\x1f.google.protobuf.ServiceOptions\x18\xf0\x8c\xa6\x05 \x01(\x08R\x07service::\n\x06signer\x12\x1f.google.protobuf.MessageOptions\x18\xf0\x8c\xa6\x05 \x03(\tR\x06signerB\xa2\x01\n\x11\x63om.cosmos.msg.v1B\x08MsgProtoP\x01Z-github.com/cosmos/cosmos-sdk/types/msgservice\xa2\x02\x03\x43MX\xaa\x02\rCosmos.Msg.V1\xca\x02\rCosmos\\Msg\\V1\xe2\x02\x19\x43osmos\\Msg\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Msg::V1b\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.msg.v1.msg_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.msg.v1.msg_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.msg.v1B\010MsgProtoP\001Z-github.com/cosmos/cosmos-sdk/types/msgservice\242\002\003CMX\252\002\rCosmos.Msg.V1\312\002\rCosmos\\Msg\\V1\342\002\031Cosmos\\Msg\\V1\\GPBMetadata\352\002\017Cosmos::Msg::V1' + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\021com.cosmos.msg.v1B\010MsgProtoP\001Z-github.com/cosmos/cosmos-sdk/types/msgservice\242\002\003CMX\252\002\rCosmos.Msg.V1\312\002\rCosmos\\Msg\\V1\342\002\031Cosmos\\Msg\\V1\\GPBMetadata\352\002\017Cosmos::Msg::V1" + ) # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/msg/v1/msg_pb2_grpc.py b/pyinjective/proto/cosmos/msg/v1/msg_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/msg/v1/msg_pb2_grpc.py +++ b/pyinjective/proto/cosmos/msg/v1/msg_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/nft/module/v1/module_pb2.py b/pyinjective/proto/cosmos/nft/module/v1/module_pb2.py index 79a1d5ec..aa6d9caa 100644 --- a/pyinjective/proto/cosmos/nft/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/nft/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/nft/module/v1/module.proto\x12\x14\x63osmos.nft.module.v1\x1a cosmos/app/v1alpha1/module.proto\"$\n\x06Module:\x1a\xba\xc0\x96\xda\x01\x14\n\x12\x63osmossdk.io/x/nftB\x9a\x01\n\x18\x63om.cosmos.nft.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43NM\xaa\x02\x14\x43osmos.Nft.Module.V1\xca\x02\x14\x43osmos\\Nft\\Module\\V1\xe2\x02 Cosmos\\Nft\\Module\\V1\\GPBMetadata\xea\x02\x17\x43osmos::Nft::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n!cosmos/nft/module/v1/module.proto\x12\x14\x63osmos.nft.module.v1\x1a cosmos/app/v1alpha1/module.proto"$\n\x06Module:\x1a\xba\xc0\x96\xda\x01\x14\n\x12\x63osmossdk.io/x/nftB\x9a\x01\n\x18\x63om.cosmos.nft.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43NM\xaa\x02\x14\x43osmos.Nft.Module.V1\xca\x02\x14\x43osmos\\Nft\\Module\\V1\xe2\x02 Cosmos\\Nft\\Module\\V1\\GPBMetadata\xea\x02\x17\x43osmos::Nft::Module::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.nft.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.nft.module.v1B\013ModuleProtoP\001\242\002\003CNM\252\002\024Cosmos.Nft.Module.V1\312\002\024Cosmos\\Nft\\Module\\V1\342\002 Cosmos\\Nft\\Module\\V1\\GPBMetadata\352\002\027Cosmos::Nft::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\024\n\022cosmossdk.io/x/nft' - _globals['_MODULE']._serialized_start=93 - _globals['_MODULE']._serialized_end=129 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\030com.cosmos.nft.module.v1B\013ModuleProtoP\001\242\002\003CNM\252\002\024Cosmos.Nft.Module.V1\312\002\024Cosmos\\Nft\\Module\\V1\342\002 Cosmos\\Nft\\Module\\V1\\GPBMetadata\352\002\027Cosmos::Nft::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001\024\n\022cosmossdk.io/x/nft" + _globals["_MODULE"]._serialized_start = 93 + _globals["_MODULE"]._serialized_end = 129 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/nft/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/nft/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/nft/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/nft/v1beta1/event_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/event_pb2.py index b714d392..b29cd86b 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/event_pb2.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/event_pb2.py @@ -7,25 +7,28 @@ 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\x1e\x63osmos/nft/v1beta1/event.proto\x12\x12\x63osmos.nft.v1beta1\"j\n\tEventSend\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x04 \x01(\tR\x08receiver\"L\n\tEventMint\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05owner\"L\n\tEventBurn\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05ownerB\xa2\x01\n\x16\x63om.cosmos.nft.v1beta1B\nEventProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1e\x63osmos/nft/v1beta1/event.proto\x12\x12\x63osmos.nft.v1beta1"j\n\tEventSend\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x04 \x01(\tR\x08receiver"L\n\tEventMint\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05owner"L\n\tEventBurn\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05ownerB\xa2\x01\n\x16\x63om.cosmos.nft.v1beta1B\nEventProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.event_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.nft.v1beta1.event_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\nEventProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' - _globals['_EVENTSEND']._serialized_start=54 - _globals['_EVENTSEND']._serialized_end=160 - _globals['_EVENTMINT']._serialized_start=162 - _globals['_EVENTMINT']._serialized_end=238 - _globals['_EVENTBURN']._serialized_start=240 - _globals['_EVENTBURN']._serialized_end=316 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.cosmos.nft.v1beta1B\nEventProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1" + ) + _globals["_EVENTSEND"]._serialized_start = 54 + _globals["_EVENTSEND"]._serialized_end = 160 + _globals["_EVENTMINT"]._serialized_start = 162 + _globals["_EVENTMINT"]._serialized_end = 238 + _globals["_EVENTBURN"]._serialized_start = 240 + _globals["_EVENTBURN"]._serialized_end = 316 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/event_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/event_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/event_pb2_grpc.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/event_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/nft/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2.py index 437eefb6..9111b0cf 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.nft.v1beta1 import nft_pb2 as cosmos_dot_nft_dot_v1beta1_dot_nft__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/nft/v1beta1/genesis.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x1c\x63osmos/nft/v1beta1/nft.proto\"x\n\x0cGenesisState\x12\x33\n\x07\x63lasses\x18\x01 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x07\x63lasses\x12\x33\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.EntryR\x07\x65ntries\"J\n\x05\x45ntry\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12+\n\x04nfts\x18\x02 \x03(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x04nftsB\xa4\x01\n\x16\x63om.cosmos.nft.v1beta1B\x0cGenesisProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n cosmos/nft/v1beta1/genesis.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x1c\x63osmos/nft/v1beta1/nft.proto"x\n\x0cGenesisState\x12\x33\n\x07\x63lasses\x18\x01 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x07\x63lasses\x12\x33\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.EntryR\x07\x65ntries"J\n\x05\x45ntry\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12+\n\x04nfts\x18\x02 \x03(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x04nftsB\xa4\x01\n\x16\x63om.cosmos.nft.v1beta1B\x0cGenesisProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.nft.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\014GenesisProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' - _globals['_GENESISSTATE']._serialized_start=86 - _globals['_GENESISSTATE']._serialized_end=206 - _globals['_ENTRY']._serialized_start=208 - _globals['_ENTRY']._serialized_end=282 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.cosmos.nft.v1beta1B\014GenesisProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1" + ) + _globals["_GENESISSTATE"]._serialized_start = 86 + _globals["_GENESISSTATE"]._serialized_end = 206 + _globals["_ENTRY"]._serialized_start = 208 + _globals["_ENTRY"]._serialized_end = 282 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/nft/v1beta1/nft_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2.py index 6eab1d6b..bbcb3536 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/nft/v1beta1/nft.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x19google/protobuf/any.proto\"\xbc\x01\n\x05\x43lass\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x03 \x01(\tR\x06symbol\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x10\n\x03uri\x18\x05 \x01(\tR\x03uri\x12\x19\n\x08uri_hash\x18\x06 \x01(\tR\x07uriHash\x12(\n\x04\x64\x61ta\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyR\x04\x64\x61ta\"\x87\x01\n\x03NFT\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x10\n\x03uri\x18\x03 \x01(\tR\x03uri\x12\x19\n\x08uri_hash\x18\x04 \x01(\tR\x07uriHash\x12(\n\x04\x64\x61ta\x18\n \x01(\x0b\x32\x14.google.protobuf.AnyR\x04\x64\x61taB\xa0\x01\n\x16\x63om.cosmos.nft.v1beta1B\x08NftProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1c\x63osmos/nft/v1beta1/nft.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x19google/protobuf/any.proto"\xbc\x01\n\x05\x43lass\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x03 \x01(\tR\x06symbol\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x10\n\x03uri\x18\x05 \x01(\tR\x03uri\x12\x19\n\x08uri_hash\x18\x06 \x01(\tR\x07uriHash\x12(\n\x04\x64\x61ta\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyR\x04\x64\x61ta"\x87\x01\n\x03NFT\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x10\n\x03uri\x18\x03 \x01(\tR\x03uri\x12\x19\n\x08uri_hash\x18\x04 \x01(\tR\x07uriHash\x12(\n\x04\x64\x61ta\x18\n \x01(\x0b\x32\x14.google.protobuf.AnyR\x04\x64\x61taB\xa0\x01\n\x16\x63om.cosmos.nft.v1beta1B\x08NftProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.nft_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.nft.v1beta1.nft_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\010NftProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' - _globals['_CLASS']._serialized_start=80 - _globals['_CLASS']._serialized_end=268 - _globals['_NFT']._serialized_start=271 - _globals['_NFT']._serialized_end=406 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.cosmos.nft.v1beta1B\010NftProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1" + ) + _globals["_CLASS"]._serialized_start = 80 + _globals["_CLASS"]._serialized_end = 268 + _globals["_NFT"]._serialized_start = 271 + _globals["_NFT"]._serialized_end = 406 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2_grpc.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/nft/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/query_pb2.py index d9559994..fd9e4575 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/query_pb2.py @@ -7,66 +7,87 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.nft.v1beta1 import nft_pb2 as cosmos_dot_nft_dot_v1beta1_dot_nft__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/nft/v1beta1/query.proto\x12\x12\x63osmos.nft.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1c\x63osmos/nft/v1beta1/nft.proto\"F\n\x13QueryBalanceRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner\".\n\x14QueryBalanceResponse\x12\x16\n\x06\x61mount\x18\x01 \x01(\x04R\x06\x61mount\">\n\x11QueryOwnerRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\"*\n\x12QueryOwnerResponse\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\"/\n\x12QuerySupplyRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\"-\n\x13QuerySupplyResponse\x12\x16\n\x06\x61mount\x18\x01 \x01(\x04R\x06\x61mount\"\x8b\x01\n\x10QueryNFTsRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x89\x01\n\x11QueryNFTsResponse\x12+\n\x04nfts\x18\x01 \x03(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x04nfts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"<\n\x0fQueryNFTRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\"=\n\x10QueryNFTResponse\x12)\n\x03nft\x18\x01 \x01(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x03nft\".\n\x11QueryClassRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\"E\n\x12QueryClassResponse\x12/\n\x05\x63lass\x18\x01 \x01(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x05\x63lass\"]\n\x13QueryClassesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x94\x01\n\x14QueryClassesResponse\x12\x33\n\x07\x63lasses\x18\x01 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x07\x63lasses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xbe\x07\n\x05Query\x12\x94\x01\n\x07\x42\x61lance\x12\'.cosmos.nft.v1beta1.QueryBalanceRequest\x1a(.cosmos.nft.v1beta1.QueryBalanceResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/nft/v1beta1/balance/{owner}/{class_id}\x12\x89\x01\n\x05Owner\x12%.cosmos.nft.v1beta1.QueryOwnerRequest\x1a&.cosmos.nft.v1beta1.QueryOwnerResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/nft/v1beta1/owner/{class_id}/{id}\x12\x88\x01\n\x06Supply\x12&.cosmos.nft.v1beta1.QuerySupplyRequest\x1a\'.cosmos.nft.v1beta1.QuerySupplyResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/cosmos/nft/v1beta1/supply/{class_id}\x12u\n\x04NFTs\x12$.cosmos.nft.v1beta1.QueryNFTsRequest\x1a%.cosmos.nft.v1beta1.QueryNFTsResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cosmos/nft/v1beta1/nfts\x12\x82\x01\n\x03NFT\x12#.cosmos.nft.v1beta1.QueryNFTRequest\x1a$.cosmos.nft.v1beta1.QueryNFTResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/nft/v1beta1/nfts/{class_id}/{id}\x12\x86\x01\n\x05\x43lass\x12%.cosmos.nft.v1beta1.QueryClassRequest\x1a&.cosmos.nft.v1beta1.QueryClassResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/nft/v1beta1/classes/{class_id}\x12\x81\x01\n\x07\x43lasses\x12\'.cosmos.nft.v1beta1.QueryClassesRequest\x1a(.cosmos.nft.v1beta1.QueryClassesResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/nft/v1beta1/classesB\xa2\x01\n\x16\x63om.cosmos.nft.v1beta1B\nQueryProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1e\x63osmos/nft/v1beta1/query.proto\x12\x12\x63osmos.nft.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1c\x63osmos/nft/v1beta1/nft.proto"F\n\x13QueryBalanceRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner".\n\x14QueryBalanceResponse\x12\x16\n\x06\x61mount\x18\x01 \x01(\x04R\x06\x61mount">\n\x11QueryOwnerRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id"*\n\x12QueryOwnerResponse\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner"/\n\x12QuerySupplyRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId"-\n\x13QuerySupplyResponse\x12\x16\n\x06\x61mount\x18\x01 \x01(\x04R\x06\x61mount"\x8b\x01\n\x10QueryNFTsRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x89\x01\n\x11QueryNFTsResponse\x12+\n\x04nfts\x18\x01 \x03(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x04nfts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"<\n\x0fQueryNFTRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id"=\n\x10QueryNFTResponse\x12)\n\x03nft\x18\x01 \x01(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x03nft".\n\x11QueryClassRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId"E\n\x12QueryClassResponse\x12/\n\x05\x63lass\x18\x01 \x01(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x05\x63lass"]\n\x13QueryClassesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x94\x01\n\x14QueryClassesResponse\x12\x33\n\x07\x63lasses\x18\x01 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x07\x63lasses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xbe\x07\n\x05Query\x12\x94\x01\n\x07\x42\x61lance\x12\'.cosmos.nft.v1beta1.QueryBalanceRequest\x1a(.cosmos.nft.v1beta1.QueryBalanceResponse"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/nft/v1beta1/balance/{owner}/{class_id}\x12\x89\x01\n\x05Owner\x12%.cosmos.nft.v1beta1.QueryOwnerRequest\x1a&.cosmos.nft.v1beta1.QueryOwnerResponse"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/nft/v1beta1/owner/{class_id}/{id}\x12\x88\x01\n\x06Supply\x12&.cosmos.nft.v1beta1.QuerySupplyRequest\x1a\'.cosmos.nft.v1beta1.QuerySupplyResponse"-\x82\xd3\xe4\x93\x02\'\x12%/cosmos/nft/v1beta1/supply/{class_id}\x12u\n\x04NFTs\x12$.cosmos.nft.v1beta1.QueryNFTsRequest\x1a%.cosmos.nft.v1beta1.QueryNFTsResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cosmos/nft/v1beta1/nfts\x12\x82\x01\n\x03NFT\x12#.cosmos.nft.v1beta1.QueryNFTRequest\x1a$.cosmos.nft.v1beta1.QueryNFTResponse"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/nft/v1beta1/nfts/{class_id}/{id}\x12\x86\x01\n\x05\x43lass\x12%.cosmos.nft.v1beta1.QueryClassRequest\x1a&.cosmos.nft.v1beta1.QueryClassResponse".\x82\xd3\xe4\x93\x02(\x12&/cosmos/nft/v1beta1/classes/{class_id}\x12\x81\x01\n\x07\x43lasses\x12\'.cosmos.nft.v1beta1.QueryClassesRequest\x1a(.cosmos.nft.v1beta1.QueryClassesResponse"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/nft/v1beta1/classesB\xa2\x01\n\x16\x63om.cosmos.nft.v1beta1B\nQueryProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.nft.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\nQueryProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' - _globals['_QUERY'].methods_by_name['Balance']._loaded_options = None - _globals['_QUERY'].methods_by_name['Balance']._serialized_options = b'\202\323\344\223\0020\022./cosmos/nft/v1beta1/balance/{owner}/{class_id}' - _globals['_QUERY'].methods_by_name['Owner']._loaded_options = None - _globals['_QUERY'].methods_by_name['Owner']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/nft/v1beta1/owner/{class_id}/{id}' - _globals['_QUERY'].methods_by_name['Supply']._loaded_options = None - _globals['_QUERY'].methods_by_name['Supply']._serialized_options = b'\202\323\344\223\002\'\022%/cosmos/nft/v1beta1/supply/{class_id}' - _globals['_QUERY'].methods_by_name['NFTs']._loaded_options = None - _globals['_QUERY'].methods_by_name['NFTs']._serialized_options = b'\202\323\344\223\002\032\022\030/cosmos/nft/v1beta1/nfts' - _globals['_QUERY'].methods_by_name['NFT']._loaded_options = None - _globals['_QUERY'].methods_by_name['NFT']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/nft/v1beta1/nfts/{class_id}/{id}' - _globals['_QUERY'].methods_by_name['Class']._loaded_options = None - _globals['_QUERY'].methods_by_name['Class']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/nft/v1beta1/classes/{class_id}' - _globals['_QUERY'].methods_by_name['Classes']._loaded_options = None - _globals['_QUERY'].methods_by_name['Classes']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/nft/v1beta1/classes' - _globals['_QUERYBALANCEREQUEST']._serialized_start=158 - _globals['_QUERYBALANCEREQUEST']._serialized_end=228 - _globals['_QUERYBALANCERESPONSE']._serialized_start=230 - _globals['_QUERYBALANCERESPONSE']._serialized_end=276 - _globals['_QUERYOWNERREQUEST']._serialized_start=278 - _globals['_QUERYOWNERREQUEST']._serialized_end=340 - _globals['_QUERYOWNERRESPONSE']._serialized_start=342 - _globals['_QUERYOWNERRESPONSE']._serialized_end=384 - _globals['_QUERYSUPPLYREQUEST']._serialized_start=386 - _globals['_QUERYSUPPLYREQUEST']._serialized_end=433 - _globals['_QUERYSUPPLYRESPONSE']._serialized_start=435 - _globals['_QUERYSUPPLYRESPONSE']._serialized_end=480 - _globals['_QUERYNFTSREQUEST']._serialized_start=483 - _globals['_QUERYNFTSREQUEST']._serialized_end=622 - _globals['_QUERYNFTSRESPONSE']._serialized_start=625 - _globals['_QUERYNFTSRESPONSE']._serialized_end=762 - _globals['_QUERYNFTREQUEST']._serialized_start=764 - _globals['_QUERYNFTREQUEST']._serialized_end=824 - _globals['_QUERYNFTRESPONSE']._serialized_start=826 - _globals['_QUERYNFTRESPONSE']._serialized_end=887 - _globals['_QUERYCLASSREQUEST']._serialized_start=889 - _globals['_QUERYCLASSREQUEST']._serialized_end=935 - _globals['_QUERYCLASSRESPONSE']._serialized_start=937 - _globals['_QUERYCLASSRESPONSE']._serialized_end=1006 - _globals['_QUERYCLASSESREQUEST']._serialized_start=1008 - _globals['_QUERYCLASSESREQUEST']._serialized_end=1101 - _globals['_QUERYCLASSESRESPONSE']._serialized_start=1104 - _globals['_QUERYCLASSESRESPONSE']._serialized_end=1252 - _globals['_QUERY']._serialized_start=1255 - _globals['_QUERY']._serialized_end=2213 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.cosmos.nft.v1beta1B\nQueryProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1" + ) + _globals["_QUERY"].methods_by_name["Balance"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Balance" + ]._serialized_options = b"\202\323\344\223\0020\022./cosmos/nft/v1beta1/balance/{owner}/{class_id}" + _globals["_QUERY"].methods_by_name["Owner"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Owner" + ]._serialized_options = b"\202\323\344\223\002+\022)/cosmos/nft/v1beta1/owner/{class_id}/{id}" + _globals["_QUERY"].methods_by_name["Supply"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Supply" + ]._serialized_options = b"\202\323\344\223\002'\022%/cosmos/nft/v1beta1/supply/{class_id}" + _globals["_QUERY"].methods_by_name["NFTs"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "NFTs" + ]._serialized_options = b"\202\323\344\223\002\032\022\030/cosmos/nft/v1beta1/nfts" + _globals["_QUERY"].methods_by_name["NFT"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "NFT" + ]._serialized_options = b"\202\323\344\223\002*\022(/cosmos/nft/v1beta1/nfts/{class_id}/{id}" + _globals["_QUERY"].methods_by_name["Class"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Class" + ]._serialized_options = b"\202\323\344\223\002(\022&/cosmos/nft/v1beta1/classes/{class_id}" + _globals["_QUERY"].methods_by_name["Classes"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Classes" + ]._serialized_options = b"\202\323\344\223\002\035\022\033/cosmos/nft/v1beta1/classes" + _globals["_QUERYBALANCEREQUEST"]._serialized_start = 158 + _globals["_QUERYBALANCEREQUEST"]._serialized_end = 228 + _globals["_QUERYBALANCERESPONSE"]._serialized_start = 230 + _globals["_QUERYBALANCERESPONSE"]._serialized_end = 276 + _globals["_QUERYOWNERREQUEST"]._serialized_start = 278 + _globals["_QUERYOWNERREQUEST"]._serialized_end = 340 + _globals["_QUERYOWNERRESPONSE"]._serialized_start = 342 + _globals["_QUERYOWNERRESPONSE"]._serialized_end = 384 + _globals["_QUERYSUPPLYREQUEST"]._serialized_start = 386 + _globals["_QUERYSUPPLYREQUEST"]._serialized_end = 433 + _globals["_QUERYSUPPLYRESPONSE"]._serialized_start = 435 + _globals["_QUERYSUPPLYRESPONSE"]._serialized_end = 480 + _globals["_QUERYNFTSREQUEST"]._serialized_start = 483 + _globals["_QUERYNFTSREQUEST"]._serialized_end = 622 + _globals["_QUERYNFTSRESPONSE"]._serialized_start = 625 + _globals["_QUERYNFTSRESPONSE"]._serialized_end = 762 + _globals["_QUERYNFTREQUEST"]._serialized_start = 764 + _globals["_QUERYNFTREQUEST"]._serialized_end = 824 + _globals["_QUERYNFTRESPONSE"]._serialized_start = 826 + _globals["_QUERYNFTRESPONSE"]._serialized_end = 887 + _globals["_QUERYCLASSREQUEST"]._serialized_start = 889 + _globals["_QUERYCLASSREQUEST"]._serialized_end = 935 + _globals["_QUERYCLASSRESPONSE"]._serialized_start = 937 + _globals["_QUERYCLASSRESPONSE"]._serialized_end = 1006 + _globals["_QUERYCLASSESREQUEST"]._serialized_start = 1008 + _globals["_QUERYCLASSESREQUEST"]._serialized_end = 1101 + _globals["_QUERYCLASSESRESPONSE"]._serialized_start = 1104 + _globals["_QUERYCLASSESRESPONSE"]._serialized_end = 1252 + _globals["_QUERY"]._serialized_start = 1255 + _globals["_QUERY"]._serialized_end = 2213 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/query_pb2_grpc.py index ab1f20be..43265d7b 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,161 +15,161 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Balance = channel.unary_unary( - '/cosmos.nft.v1beta1.Query/Balance', - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, - _registered_method=True) + "/cosmos.nft.v1beta1.Query/Balance", + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, + _registered_method=True, + ) self.Owner = channel.unary_unary( - '/cosmos.nft.v1beta1.Query/Owner', - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerResponse.FromString, - _registered_method=True) + "/cosmos.nft.v1beta1.Query/Owner", + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerResponse.FromString, + _registered_method=True, + ) self.Supply = channel.unary_unary( - '/cosmos.nft.v1beta1.Query/Supply', - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyResponse.FromString, - _registered_method=True) + "/cosmos.nft.v1beta1.Query/Supply", + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyResponse.FromString, + _registered_method=True, + ) self.NFTs = channel.unary_unary( - '/cosmos.nft.v1beta1.Query/NFTs', - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsResponse.FromString, - _registered_method=True) + "/cosmos.nft.v1beta1.Query/NFTs", + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsResponse.FromString, + _registered_method=True, + ) self.NFT = channel.unary_unary( - '/cosmos.nft.v1beta1.Query/NFT', - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTResponse.FromString, - _registered_method=True) + "/cosmos.nft.v1beta1.Query/NFT", + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTResponse.FromString, + _registered_method=True, + ) self.Class = channel.unary_unary( - '/cosmos.nft.v1beta1.Query/Class', - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassResponse.FromString, - _registered_method=True) + "/cosmos.nft.v1beta1.Query/Class", + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassResponse.FromString, + _registered_method=True, + ) self.Classes = channel.unary_unary( - '/cosmos.nft.v1beta1.Query/Classes', - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesResponse.FromString, - _registered_method=True) + "/cosmos.nft.v1beta1.Query/Classes", + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def Balance(self, request, context): - """Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 - """ + """Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Owner(self, request, context): - """Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 - """ + """Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Supply(self, request, context): - """Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. - """ + """Supply queries the number of NFTs from the given class, same as totalSupply of ERC721.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def NFTs(self, request, context): """NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in ERC721Enumerable """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def NFT(self, request, context): - """NFT queries an NFT based on its class and id. - """ + """NFT queries an NFT based on its class and id.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Class(self, request, context): - """Class queries an NFT class based on its id - """ + """Class queries an NFT class based on its id""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Classes(self, request, context): - """Classes queries all NFT classes - """ + """Classes queries all NFT classes""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Balance': grpc.unary_unary_rpc_method_handler( - servicer.Balance, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.SerializeToString, - ), - 'Owner': grpc.unary_unary_rpc_method_handler( - servicer.Owner, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerResponse.SerializeToString, - ), - 'Supply': grpc.unary_unary_rpc_method_handler( - servicer.Supply, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyResponse.SerializeToString, - ), - 'NFTs': grpc.unary_unary_rpc_method_handler( - servicer.NFTs, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsResponse.SerializeToString, - ), - 'NFT': grpc.unary_unary_rpc_method_handler( - servicer.NFT, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTResponse.SerializeToString, - ), - 'Class': grpc.unary_unary_rpc_method_handler( - servicer.Class, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassResponse.SerializeToString, - ), - 'Classes': grpc.unary_unary_rpc_method_handler( - servicer.Classes, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesResponse.SerializeToString, - ), + "Balance": grpc.unary_unary_rpc_method_handler( + servicer.Balance, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.SerializeToString, + ), + "Owner": grpc.unary_unary_rpc_method_handler( + servicer.Owner, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerResponse.SerializeToString, + ), + "Supply": grpc.unary_unary_rpc_method_handler( + servicer.Supply, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyResponse.SerializeToString, + ), + "NFTs": grpc.unary_unary_rpc_method_handler( + servicer.NFTs, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsResponse.SerializeToString, + ), + "NFT": grpc.unary_unary_rpc_method_handler( + servicer.NFT, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTResponse.SerializeToString, + ), + "Class": grpc.unary_unary_rpc_method_handler( + servicer.Class, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassResponse.SerializeToString, + ), + "Classes": grpc.unary_unary_rpc_method_handler( + servicer.Classes, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.nft.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.nft.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.nft.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.nft.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" @staticmethod - def Balance(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Balance( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.nft.v1beta1.Query/Balance', + "/cosmos.nft.v1beta1.Query/Balance", cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, options, @@ -181,23 +180,26 @@ def Balance(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Owner(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Owner( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.nft.v1beta1.Query/Owner', + "/cosmos.nft.v1beta1.Query/Owner", cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerRequest.SerializeToString, cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerResponse.FromString, options, @@ -208,23 +210,26 @@ def Owner(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Supply(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Supply( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.nft.v1beta1.Query/Supply', + "/cosmos.nft.v1beta1.Query/Supply", cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyRequest.SerializeToString, cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyResponse.FromString, options, @@ -235,23 +240,26 @@ def Supply(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def NFTs(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def NFTs( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.nft.v1beta1.Query/NFTs', + "/cosmos.nft.v1beta1.Query/NFTs", cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsRequest.SerializeToString, cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsResponse.FromString, options, @@ -262,23 +270,26 @@ def NFTs(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def NFT(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def NFT( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.nft.v1beta1.Query/NFT', + "/cosmos.nft.v1beta1.Query/NFT", cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTRequest.SerializeToString, cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTResponse.FromString, options, @@ -289,23 +300,26 @@ def NFT(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Class(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Class( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.nft.v1beta1.Query/Class', + "/cosmos.nft.v1beta1.Query/Class", cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassRequest.SerializeToString, cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassResponse.FromString, options, @@ -316,23 +330,26 @@ def Class(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Classes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Classes( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.nft.v1beta1.Query/Classes', + "/cosmos.nft.v1beta1.Query/Classes", cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesRequest.SerializeToString, cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesResponse.FromString, options, @@ -343,4 +360,5 @@ def Classes(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py index d1cfee9b..ad07d6f1 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,26 +17,30 @@ from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/nft/v1beta1/tx.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\xa9\x01\n\x07MsgSend\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x30\n\x06sender\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08receiver\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08receiver:\x0b\x82\xe7\xb0*\x06sender\"\x11\n\x0fMsgSendResponse2V\n\x03Msg\x12H\n\x04Send\x12\x1b.cosmos.nft.v1beta1.MsgSend\x1a#.cosmos.nft.v1beta1.MsgSendResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9f\x01\n\x16\x63om.cosmos.nft.v1beta1B\x07TxProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1b\x63osmos/nft/v1beta1/tx.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto"\xa9\x01\n\x07MsgSend\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x30\n\x06sender\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08receiver\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08receiver:\x0b\x82\xe7\xb0*\x06sender"\x11\n\x0fMsgSendResponse2V\n\x03Msg\x12H\n\x04Send\x12\x1b.cosmos.nft.v1beta1.MsgSend\x1a#.cosmos.nft.v1beta1.MsgSendResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9f\x01\n\x16\x63om.cosmos.nft.v1beta1B\x07TxProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.nft.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\007TxProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' - _globals['_MSGSEND'].fields_by_name['sender']._loaded_options = None - _globals['_MSGSEND'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSEND'].fields_by_name['receiver']._loaded_options = None - _globals['_MSGSEND'].fields_by_name['receiver']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSEND']._loaded_options = None - _globals['_MSGSEND']._serialized_options = b'\202\347\260*\006sender' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGSEND']._serialized_start=104 - _globals['_MSGSEND']._serialized_end=273 - _globals['_MSGSENDRESPONSE']._serialized_start=275 - _globals['_MSGSENDRESPONSE']._serialized_end=292 - _globals['_MSG']._serialized_start=294 - _globals['_MSG']._serialized_end=380 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.cosmos.nft.v1beta1B\007TxProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1" + ) + _globals["_MSGSEND"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGSEND"].fields_by_name["sender"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSEND"].fields_by_name["receiver"]._loaded_options = None + _globals["_MSGSEND"].fields_by_name["receiver"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSEND"]._loaded_options = None + _globals["_MSGSEND"]._serialized_options = b"\202\347\260*\006sender" + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGSEND"]._serialized_start = 104 + _globals["_MSGSEND"]._serialized_end = 273 + _globals["_MSGSENDRESPONSE"]._serialized_start = 275 + _globals["_MSGSENDRESPONSE"]._serialized_end = 292 + _globals["_MSG"]._serialized_start = 294 + _globals["_MSG"]._serialized_end = 380 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2_grpc.py index c932a6d7..212fa75a 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the nft Msg service. - """ + """Msg defines the nft Msg service.""" def __init__(self, channel): """Constructor. @@ -16,58 +15,57 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Send = channel.unary_unary( - '/cosmos.nft.v1beta1.Msg/Send', - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, - _registered_method=True) + "/cosmos.nft.v1beta1.Msg/Send", + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the nft Msg service. - """ + """Msg defines the nft Msg service.""" def Send(self, request, context): - """Send defines a method to send a nft from one account to another account. - """ + """Send defines a method to send a nft from one account to another account.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'Send': grpc.unary_unary_rpc_method_handler( - servicer.Send, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSend.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSendResponse.SerializeToString, - ), + "Send": grpc.unary_unary_rpc_method_handler( + servicer.Send, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSend.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSendResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.nft.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.nft.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.nft.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.nft.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the nft Msg service. - """ + """Msg defines the nft Msg service.""" @staticmethod - def Send(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Send( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.nft.v1beta1.Msg/Send', + "/cosmos.nft.v1beta1.Msg/Send", cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, options, @@ -78,4 +76,5 @@ def Send(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py index 54f1b29a..90954e8e 100644 --- a/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py +++ b/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/orm/module/v1alpha1/module.proto\x12\x1a\x63osmos.orm.module.v1alpha1\x1a cosmos/app/v1alpha1/module.proto\"\"\n\x06Module:\x18\xba\xc0\x96\xda\x01\x12\n\x10\x63osmossdk.io/ormB\xb8\x01\n\x1e\x63om.cosmos.orm.module.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43OM\xaa\x02\x1a\x43osmos.Orm.Module.V1alpha1\xca\x02\x1a\x43osmos\\Orm\\Module\\V1alpha1\xe2\x02&Cosmos\\Orm\\Module\\V1alpha1\\GPBMetadata\xea\x02\x1d\x43osmos::Orm::Module::V1alpha1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\'cosmos/orm/module/v1alpha1/module.proto\x12\x1a\x63osmos.orm.module.v1alpha1\x1a cosmos/app/v1alpha1/module.proto""\n\x06Module:\x18\xba\xc0\x96\xda\x01\x12\n\x10\x63osmossdk.io/ormB\xb8\x01\n\x1e\x63om.cosmos.orm.module.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43OM\xaa\x02\x1a\x43osmos.Orm.Module.V1alpha1\xca\x02\x1a\x43osmos\\Orm\\Module\\V1alpha1\xe2\x02&Cosmos\\Orm\\Module\\V1alpha1\\GPBMetadata\xea\x02\x1d\x43osmos::Orm::Module::V1alpha1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.module.v1alpha1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.orm.module.v1alpha1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.cosmos.orm.module.v1alpha1B\013ModuleProtoP\001\242\002\003COM\252\002\032Cosmos.Orm.Module.V1alpha1\312\002\032Cosmos\\Orm\\Module\\V1alpha1\342\002&Cosmos\\Orm\\Module\\V1alpha1\\GPBMetadata\352\002\035Cosmos::Orm::Module::V1alpha1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\022\n\020cosmossdk.io/orm' - _globals['_MODULE']._serialized_start=105 - _globals['_MODULE']._serialized_end=139 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\036com.cosmos.orm.module.v1alpha1B\013ModuleProtoP\001\242\002\003COM\252\002\032Cosmos.Orm.Module.V1alpha1\312\002\032Cosmos\\Orm\\Module\\V1alpha1\342\002&Cosmos\\Orm\\Module\\V1alpha1\\GPBMetadata\352\002\035Cosmos::Orm::Module::V1alpha1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001\022\n\020cosmossdk.io/orm" + _globals["_MODULE"]._serialized_start = 105 + _globals["_MODULE"]._serialized_end = 139 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2_grpc.py b/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/orm/query/v1alpha1/query_pb2.py b/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2.py index 7765a8a1..999e4278 100644 --- a/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2.py +++ b/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,31 +16,37 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/orm/query/v1alpha1/query.proto\x12\x19\x63osmos.orm.query.v1alpha1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19google/protobuf/any.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\"\x84\x01\n\nGetRequest\x12!\n\x0cmessage_name\x18\x01 \x01(\tR\x0bmessageName\x12\x14\n\x05index\x18\x02 \x01(\tR\x05index\x12=\n\x06values\x18\x03 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x06values\";\n\x0bGetResponse\x12,\n\x06result\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06result\"\xee\x03\n\x0bListRequest\x12!\n\x0cmessage_name\x18\x01 \x01(\tR\x0bmessageName\x12\x14\n\x05index\x18\x02 \x01(\tR\x05index\x12G\n\x06prefix\x18\x03 \x01(\x0b\x32-.cosmos.orm.query.v1alpha1.ListRequest.PrefixH\x00R\x06prefix\x12\x44\n\x05range\x18\x04 \x01(\x0b\x32,.cosmos.orm.query.v1alpha1.ListRequest.RangeH\x00R\x05range\x12\x46\n\npagination\x18\x05 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x1aG\n\x06Prefix\x12=\n\x06values\x18\x01 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x06values\x1a}\n\x05Range\x12;\n\x05start\x18\x01 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x05start\x12\x37\n\x03\x65nd\x18\x02 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x03\x65ndB\x07\n\x05query\"\x87\x01\n\x0cListResponse\x12.\n\x07results\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x07results\x12G\n\npagination\x18\x05 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x8c\x02\n\nIndexValue\x12\x14\n\x04uint\x18\x01 \x01(\x04H\x00R\x04uint\x12\x12\n\x03int\x18\x02 \x01(\x03H\x00R\x03int\x12\x12\n\x03str\x18\x03 \x01(\tH\x00R\x03str\x12\x16\n\x05\x62ytes\x18\x04 \x01(\x0cH\x00R\x05\x62ytes\x12\x14\n\x04\x65num\x18\x05 \x01(\tH\x00R\x04\x65num\x12\x14\n\x04\x62ool\x18\x06 \x01(\x08H\x00R\x04\x62ool\x12:\n\ttimestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\ttimestamp\x12\x37\n\x08\x64uration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00R\x08\x64urationB\x07\n\x05value2\xb6\x01\n\x05Query\x12T\n\x03Get\x12%.cosmos.orm.query.v1alpha1.GetRequest\x1a&.cosmos.orm.query.v1alpha1.GetResponse\x12W\n\x04List\x12&.cosmos.orm.query.v1alpha1.ListRequest\x1a\'.cosmos.orm.query.v1alpha1.ListResponseB\xb2\x01\n\x1d\x63om.cosmos.orm.query.v1alpha1B\nQueryProtoP\x01\xa2\x02\x03\x43OQ\xaa\x02\x19\x43osmos.Orm.Query.V1alpha1\xca\x02\x19\x43osmos\\Orm\\Query\\V1alpha1\xe2\x02%Cosmos\\Orm\\Query\\V1alpha1\\GPBMetadata\xea\x02\x1c\x43osmos::Orm::Query::V1alpha1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%cosmos/orm/query/v1alpha1/query.proto\x12\x19\x63osmos.orm.query.v1alpha1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19google/protobuf/any.proto\x1a*cosmos/base/query/v1beta1/pagination.proto"\x84\x01\n\nGetRequest\x12!\n\x0cmessage_name\x18\x01 \x01(\tR\x0bmessageName\x12\x14\n\x05index\x18\x02 \x01(\tR\x05index\x12=\n\x06values\x18\x03 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x06values";\n\x0bGetResponse\x12,\n\x06result\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06result"\xee\x03\n\x0bListRequest\x12!\n\x0cmessage_name\x18\x01 \x01(\tR\x0bmessageName\x12\x14\n\x05index\x18\x02 \x01(\tR\x05index\x12G\n\x06prefix\x18\x03 \x01(\x0b\x32-.cosmos.orm.query.v1alpha1.ListRequest.PrefixH\x00R\x06prefix\x12\x44\n\x05range\x18\x04 \x01(\x0b\x32,.cosmos.orm.query.v1alpha1.ListRequest.RangeH\x00R\x05range\x12\x46\n\npagination\x18\x05 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x1aG\n\x06Prefix\x12=\n\x06values\x18\x01 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x06values\x1a}\n\x05Range\x12;\n\x05start\x18\x01 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x05start\x12\x37\n\x03\x65nd\x18\x02 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x03\x65ndB\x07\n\x05query"\x87\x01\n\x0cListResponse\x12.\n\x07results\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x07results\x12G\n\npagination\x18\x05 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x8c\x02\n\nIndexValue\x12\x14\n\x04uint\x18\x01 \x01(\x04H\x00R\x04uint\x12\x12\n\x03int\x18\x02 \x01(\x03H\x00R\x03int\x12\x12\n\x03str\x18\x03 \x01(\tH\x00R\x03str\x12\x16\n\x05\x62ytes\x18\x04 \x01(\x0cH\x00R\x05\x62ytes\x12\x14\n\x04\x65num\x18\x05 \x01(\tH\x00R\x04\x65num\x12\x14\n\x04\x62ool\x18\x06 \x01(\x08H\x00R\x04\x62ool\x12:\n\ttimestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\ttimestamp\x12\x37\n\x08\x64uration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00R\x08\x64urationB\x07\n\x05value2\xb6\x01\n\x05Query\x12T\n\x03Get\x12%.cosmos.orm.query.v1alpha1.GetRequest\x1a&.cosmos.orm.query.v1alpha1.GetResponse\x12W\n\x04List\x12&.cosmos.orm.query.v1alpha1.ListRequest\x1a\'.cosmos.orm.query.v1alpha1.ListResponseB\xb2\x01\n\x1d\x63om.cosmos.orm.query.v1alpha1B\nQueryProtoP\x01\xa2\x02\x03\x43OQ\xaa\x02\x19\x43osmos.Orm.Query.V1alpha1\xca\x02\x19\x43osmos\\Orm\\Query\\V1alpha1\xe2\x02%Cosmos\\Orm\\Query\\V1alpha1\\GPBMetadata\xea\x02\x1c\x43osmos::Orm::Query::V1alpha1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.query.v1alpha1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.orm.query.v1alpha1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.orm.query.v1alpha1B\nQueryProtoP\001\242\002\003COQ\252\002\031Cosmos.Orm.Query.V1alpha1\312\002\031Cosmos\\Orm\\Query\\V1alpha1\342\002%Cosmos\\Orm\\Query\\V1alpha1\\GPBMetadata\352\002\034Cosmos::Orm::Query::V1alpha1' - _globals['_GETREQUEST']._serialized_start=205 - _globals['_GETREQUEST']._serialized_end=337 - _globals['_GETRESPONSE']._serialized_start=339 - _globals['_GETRESPONSE']._serialized_end=398 - _globals['_LISTREQUEST']._serialized_start=401 - _globals['_LISTREQUEST']._serialized_end=895 - _globals['_LISTREQUEST_PREFIX']._serialized_start=688 - _globals['_LISTREQUEST_PREFIX']._serialized_end=759 - _globals['_LISTREQUEST_RANGE']._serialized_start=761 - _globals['_LISTREQUEST_RANGE']._serialized_end=886 - _globals['_LISTRESPONSE']._serialized_start=898 - _globals['_LISTRESPONSE']._serialized_end=1033 - _globals['_INDEXVALUE']._serialized_start=1036 - _globals['_INDEXVALUE']._serialized_end=1304 - _globals['_QUERY']._serialized_start=1307 - _globals['_QUERY']._serialized_end=1489 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\035com.cosmos.orm.query.v1alpha1B\nQueryProtoP\001\242\002\003COQ\252\002\031Cosmos.Orm.Query.V1alpha1\312\002\031Cosmos\\Orm\\Query\\V1alpha1\342\002%Cosmos\\Orm\\Query\\V1alpha1\\GPBMetadata\352\002\034Cosmos::Orm::Query::V1alpha1" + ) + _globals["_GETREQUEST"]._serialized_start = 205 + _globals["_GETREQUEST"]._serialized_end = 337 + _globals["_GETRESPONSE"]._serialized_start = 339 + _globals["_GETRESPONSE"]._serialized_end = 398 + _globals["_LISTREQUEST"]._serialized_start = 401 + _globals["_LISTREQUEST"]._serialized_end = 895 + _globals["_LISTREQUEST_PREFIX"]._serialized_start = 688 + _globals["_LISTREQUEST_PREFIX"]._serialized_end = 759 + _globals["_LISTREQUEST_RANGE"]._serialized_start = 761 + _globals["_LISTREQUEST_RANGE"]._serialized_end = 886 + _globals["_LISTRESPONSE"]._serialized_start = 898 + _globals["_LISTRESPONSE"]._serialized_end = 1033 + _globals["_INDEXVALUE"]._serialized_start = 1036 + _globals["_INDEXVALUE"]._serialized_end = 1304 + _globals["_QUERY"]._serialized_start = 1307 + _globals["_QUERY"]._serialized_end = 1489 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2_grpc.py b/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2_grpc.py index fdcaaba1..42545492 100644 --- a/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2_grpc.py @@ -2,12 +2,13 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.cosmos.orm.query.v1alpha1 import query_pb2 as cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2 +from pyinjective.proto.cosmos.orm.query.v1alpha1 import ( + query_pb2 as cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2, +) class QueryStub(object): - """Query is a generic gRPC service for querying ORM data. - """ + """Query is a generic gRPC service for querying ORM data.""" def __init__(self, channel): """Constructor. @@ -16,75 +17,74 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Get = channel.unary_unary( - '/cosmos.orm.query.v1alpha1.Query/Get', - request_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetRequest.SerializeToString, - response_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetResponse.FromString, - _registered_method=True) + "/cosmos.orm.query.v1alpha1.Query/Get", + request_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetRequest.SerializeToString, + response_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetResponse.FromString, + _registered_method=True, + ) self.List = channel.unary_unary( - '/cosmos.orm.query.v1alpha1.Query/List', - request_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListRequest.SerializeToString, - response_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListResponse.FromString, - _registered_method=True) + "/cosmos.orm.query.v1alpha1.Query/List", + request_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListRequest.SerializeToString, + response_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query is a generic gRPC service for querying ORM data. - """ + """Query is a generic gRPC service for querying ORM data.""" def Get(self, request, context): - """Get queries an ORM table against an unique index. - """ + """Get queries an ORM table against an unique index.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def List(self, request, context): - """List queries an ORM table against an index. - """ + """List queries an ORM table against an index.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Get': grpc.unary_unary_rpc_method_handler( - servicer.Get, - request_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetRequest.FromString, - response_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetResponse.SerializeToString, - ), - 'List': grpc.unary_unary_rpc_method_handler( - servicer.List, - request_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListRequest.FromString, - response_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListResponse.SerializeToString, - ), + "Get": grpc.unary_unary_rpc_method_handler( + servicer.Get, + request_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetRequest.FromString, + response_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetResponse.SerializeToString, + ), + "List": grpc.unary_unary_rpc_method_handler( + servicer.List, + request_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListRequest.FromString, + response_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.orm.query.v1alpha1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.orm.query.v1alpha1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.orm.query.v1alpha1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.orm.query.v1alpha1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query is a generic gRPC service for querying ORM data. - """ + """Query is a generic gRPC service for querying ORM data.""" @staticmethod - def Get(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Get( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.orm.query.v1alpha1.Query/Get', + "/cosmos.orm.query.v1alpha1.Query/Get", cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetRequest.SerializeToString, cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetResponse.FromString, options, @@ -95,23 +95,26 @@ def Get(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def List(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def List( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.orm.query.v1alpha1.Query/List', + "/cosmos.orm.query.v1alpha1.Query/List", cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListRequest.SerializeToString, cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListResponse.FromString, options, @@ -122,4 +125,5 @@ def List(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/orm/v1/orm_pb2.py b/pyinjective/proto/cosmos/orm/v1/orm_pb2.py index cae563a1..066ee37a 100644 --- a/pyinjective/proto/cosmos/orm/v1/orm_pb2.py +++ b/pyinjective/proto/cosmos/orm/v1/orm_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,20 +16,24 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63osmos/orm/v1/orm.proto\x12\rcosmos.orm.v1\x1a google/protobuf/descriptor.proto\"\xa6\x01\n\x0fTableDescriptor\x12\x44\n\x0bprimary_key\x18\x01 \x01(\x0b\x32#.cosmos.orm.v1.PrimaryKeyDescriptorR\nprimaryKey\x12=\n\x05index\x18\x02 \x03(\x0b\x32\'.cosmos.orm.v1.SecondaryIndexDescriptorR\x05index\x12\x0e\n\x02id\x18\x03 \x01(\rR\x02id\"U\n\x14PrimaryKeyDescriptor\x12\x16\n\x06\x66ields\x18\x01 \x01(\tR\x06\x66ields\x12%\n\x0e\x61uto_increment\x18\x02 \x01(\x08R\rautoIncrement\"Z\n\x18SecondaryIndexDescriptor\x12\x16\n\x06\x66ields\x18\x01 \x01(\tR\x06\x66ields\x12\x0e\n\x02id\x18\x02 \x01(\rR\x02id\x12\x16\n\x06unique\x18\x03 \x01(\x08R\x06unique\"%\n\x13SingletonDescriptor\x12\x0e\n\x02id\x18\x01 \x01(\rR\x02id:X\n\x05table\x12\x1f.google.protobuf.MessageOptions\x18\xee\xb3\xea\x31 \x01(\x0b\x32\x1e.cosmos.orm.v1.TableDescriptorR\x05table:d\n\tsingleton\x12\x1f.google.protobuf.MessageOptions\x18\xef\xb3\xea\x31 \x01(\x0b\x32\".cosmos.orm.v1.SingletonDescriptorR\tsingletonBs\n\x11\x63om.cosmos.orm.v1B\x08OrmProtoP\x01\xa2\x02\x03\x43OX\xaa\x02\rCosmos.Orm.V1\xca\x02\rCosmos\\Orm\\V1\xe2\x02\x19\x43osmos\\Orm\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Orm::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x17\x63osmos/orm/v1/orm.proto\x12\rcosmos.orm.v1\x1a google/protobuf/descriptor.proto"\xa6\x01\n\x0fTableDescriptor\x12\x44\n\x0bprimary_key\x18\x01 \x01(\x0b\x32#.cosmos.orm.v1.PrimaryKeyDescriptorR\nprimaryKey\x12=\n\x05index\x18\x02 \x03(\x0b\x32\'.cosmos.orm.v1.SecondaryIndexDescriptorR\x05index\x12\x0e\n\x02id\x18\x03 \x01(\rR\x02id"U\n\x14PrimaryKeyDescriptor\x12\x16\n\x06\x66ields\x18\x01 \x01(\tR\x06\x66ields\x12%\n\x0e\x61uto_increment\x18\x02 \x01(\x08R\rautoIncrement"Z\n\x18SecondaryIndexDescriptor\x12\x16\n\x06\x66ields\x18\x01 \x01(\tR\x06\x66ields\x12\x0e\n\x02id\x18\x02 \x01(\rR\x02id\x12\x16\n\x06unique\x18\x03 \x01(\x08R\x06unique"%\n\x13SingletonDescriptor\x12\x0e\n\x02id\x18\x01 \x01(\rR\x02id:X\n\x05table\x12\x1f.google.protobuf.MessageOptions\x18\xee\xb3\xea\x31 \x01(\x0b\x32\x1e.cosmos.orm.v1.TableDescriptorR\x05table:d\n\tsingleton\x12\x1f.google.protobuf.MessageOptions\x18\xef\xb3\xea\x31 \x01(\x0b\x32".cosmos.orm.v1.SingletonDescriptorR\tsingletonBs\n\x11\x63om.cosmos.orm.v1B\x08OrmProtoP\x01\xa2\x02\x03\x43OX\xaa\x02\rCosmos.Orm.V1\xca\x02\rCosmos\\Orm\\V1\xe2\x02\x19\x43osmos\\Orm\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Orm::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.v1.orm_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.orm.v1.orm_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.orm.v1B\010OrmProtoP\001\242\002\003COX\252\002\rCosmos.Orm.V1\312\002\rCosmos\\Orm\\V1\342\002\031Cosmos\\Orm\\V1\\GPBMetadata\352\002\017Cosmos::Orm::V1' - _globals['_TABLEDESCRIPTOR']._serialized_start=77 - _globals['_TABLEDESCRIPTOR']._serialized_end=243 - _globals['_PRIMARYKEYDESCRIPTOR']._serialized_start=245 - _globals['_PRIMARYKEYDESCRIPTOR']._serialized_end=330 - _globals['_SECONDARYINDEXDESCRIPTOR']._serialized_start=332 - _globals['_SECONDARYINDEXDESCRIPTOR']._serialized_end=422 - _globals['_SINGLETONDESCRIPTOR']._serialized_start=424 - _globals['_SINGLETONDESCRIPTOR']._serialized_end=461 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\021com.cosmos.orm.v1B\010OrmProtoP\001\242\002\003COX\252\002\rCosmos.Orm.V1\312\002\rCosmos\\Orm\\V1\342\002\031Cosmos\\Orm\\V1\\GPBMetadata\352\002\017Cosmos::Orm::V1" + ) + _globals["_TABLEDESCRIPTOR"]._serialized_start = 77 + _globals["_TABLEDESCRIPTOR"]._serialized_end = 243 + _globals["_PRIMARYKEYDESCRIPTOR"]._serialized_start = 245 + _globals["_PRIMARYKEYDESCRIPTOR"]._serialized_end = 330 + _globals["_SECONDARYINDEXDESCRIPTOR"]._serialized_start = 332 + _globals["_SECONDARYINDEXDESCRIPTOR"]._serialized_end = 422 + _globals["_SINGLETONDESCRIPTOR"]._serialized_start = 424 + _globals["_SINGLETONDESCRIPTOR"]._serialized_end = 461 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/v1/orm_pb2_grpc.py b/pyinjective/proto/cosmos/orm/v1/orm_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/orm/v1/orm_pb2_grpc.py +++ b/pyinjective/proto/cosmos/orm/v1/orm_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/orm/v1alpha1/schema_pb2.py b/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2.py index 4f6e6666..d554919f 100644 --- a/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2.py +++ b/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,18 +16,22 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/orm/v1alpha1/schema.proto\x12\x13\x63osmos.orm.v1alpha1\x1a google/protobuf/descriptor.proto\"\x93\x02\n\x16ModuleSchemaDescriptor\x12V\n\x0bschema_file\x18\x01 \x03(\x0b\x32\x35.cosmos.orm.v1alpha1.ModuleSchemaDescriptor.FileEntryR\nschemaFile\x12\x16\n\x06prefix\x18\x02 \x01(\x0cR\x06prefix\x1a\x88\x01\n\tFileEntry\x12\x0e\n\x02id\x18\x01 \x01(\rR\x02id\x12&\n\x0fproto_file_name\x18\x02 \x01(\tR\rprotoFileName\x12\x43\n\x0cstorage_type\x18\x03 \x01(\x0e\x32 .cosmos.orm.v1alpha1.StorageTypeR\x0bstorageType*h\n\x0bStorageType\x12$\n STORAGE_TYPE_DEFAULT_UNSPECIFIED\x10\x00\x12\x17\n\x13STORAGE_TYPE_MEMORY\x10\x01\x12\x1a\n\x16STORAGE_TYPE_TRANSIENT\x10\x02:t\n\rmodule_schema\x12\x1f.google.protobuf.MessageOptions\x18\xf0\xb3\xea\x31 \x01(\x0b\x32+.cosmos.orm.v1alpha1.ModuleSchemaDescriptorR\x0cmoduleSchemaB\x94\x01\n\x17\x63om.cosmos.orm.v1alpha1B\x0bSchemaProtoP\x01\xa2\x02\x03\x43OX\xaa\x02\x13\x43osmos.Orm.V1alpha1\xca\x02\x13\x43osmos\\Orm\\V1alpha1\xe2\x02\x1f\x43osmos\\Orm\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::Orm::V1alpha1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n cosmos/orm/v1alpha1/schema.proto\x12\x13\x63osmos.orm.v1alpha1\x1a google/protobuf/descriptor.proto"\x93\x02\n\x16ModuleSchemaDescriptor\x12V\n\x0bschema_file\x18\x01 \x03(\x0b\x32\x35.cosmos.orm.v1alpha1.ModuleSchemaDescriptor.FileEntryR\nschemaFile\x12\x16\n\x06prefix\x18\x02 \x01(\x0cR\x06prefix\x1a\x88\x01\n\tFileEntry\x12\x0e\n\x02id\x18\x01 \x01(\rR\x02id\x12&\n\x0fproto_file_name\x18\x02 \x01(\tR\rprotoFileName\x12\x43\n\x0cstorage_type\x18\x03 \x01(\x0e\x32 .cosmos.orm.v1alpha1.StorageTypeR\x0bstorageType*h\n\x0bStorageType\x12$\n STORAGE_TYPE_DEFAULT_UNSPECIFIED\x10\x00\x12\x17\n\x13STORAGE_TYPE_MEMORY\x10\x01\x12\x1a\n\x16STORAGE_TYPE_TRANSIENT\x10\x02:t\n\rmodule_schema\x12\x1f.google.protobuf.MessageOptions\x18\xf0\xb3\xea\x31 \x01(\x0b\x32+.cosmos.orm.v1alpha1.ModuleSchemaDescriptorR\x0cmoduleSchemaB\x94\x01\n\x17\x63om.cosmos.orm.v1alpha1B\x0bSchemaProtoP\x01\xa2\x02\x03\x43OX\xaa\x02\x13\x43osmos.Orm.V1alpha1\xca\x02\x13\x43osmos\\Orm\\V1alpha1\xe2\x02\x1f\x43osmos\\Orm\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::Orm::V1alpha1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.v1alpha1.schema_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.orm.v1alpha1.schema_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.orm.v1alpha1B\013SchemaProtoP\001\242\002\003COX\252\002\023Cosmos.Orm.V1alpha1\312\002\023Cosmos\\Orm\\V1alpha1\342\002\037Cosmos\\Orm\\V1alpha1\\GPBMetadata\352\002\025Cosmos::Orm::V1alpha1' - _globals['_STORAGETYPE']._serialized_start=369 - _globals['_STORAGETYPE']._serialized_end=473 - _globals['_MODULESCHEMADESCRIPTOR']._serialized_start=92 - _globals['_MODULESCHEMADESCRIPTOR']._serialized_end=367 - _globals['_MODULESCHEMADESCRIPTOR_FILEENTRY']._serialized_start=231 - _globals['_MODULESCHEMADESCRIPTOR_FILEENTRY']._serialized_end=367 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.orm.v1alpha1B\013SchemaProtoP\001\242\002\003COX\252\002\023Cosmos.Orm.V1alpha1\312\002\023Cosmos\\Orm\\V1alpha1\342\002\037Cosmos\\Orm\\V1alpha1\\GPBMetadata\352\002\025Cosmos::Orm::V1alpha1" + ) + _globals["_STORAGETYPE"]._serialized_start = 369 + _globals["_STORAGETYPE"]._serialized_end = 473 + _globals["_MODULESCHEMADESCRIPTOR"]._serialized_start = 92 + _globals["_MODULESCHEMADESCRIPTOR"]._serialized_end = 367 + _globals["_MODULESCHEMADESCRIPTOR_FILEENTRY"]._serialized_start = 231 + _globals["_MODULESCHEMADESCRIPTOR_FILEENTRY"]._serialized_end = 367 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py b/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py +++ b/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/params/module/v1/module_pb2.py b/pyinjective/proto/cosmos/params/module/v1/module_pb2.py index 19e51257..e554258c 100644 --- a/pyinjective/proto/cosmos/params/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/params/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/params/module/v1/module.proto\x12\x17\x63osmos.params.module.v1\x1a cosmos/app/v1alpha1/module.proto\"7\n\x06Module:-\xba\xc0\x96\xda\x01\'\n%github.com/cosmos/cosmos-sdk/x/paramsB\xa9\x01\n\x1b\x63om.cosmos.params.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43PM\xaa\x02\x17\x43osmos.Params.Module.V1\xca\x02\x17\x43osmos\\Params\\Module\\V1\xe2\x02#Cosmos\\Params\\Module\\V1\\GPBMetadata\xea\x02\x1a\x43osmos::Params::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n$cosmos/params/module/v1/module.proto\x12\x17\x63osmos.params.module.v1\x1a cosmos/app/v1alpha1/module.proto\"7\n\x06Module:-\xba\xc0\x96\xda\x01'\n%github.com/cosmos/cosmos-sdk/x/paramsB\xa9\x01\n\x1b\x63om.cosmos.params.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43PM\xaa\x02\x17\x43osmos.Params.Module.V1\xca\x02\x17\x43osmos\\Params\\Module\\V1\xe2\x02#Cosmos\\Params\\Module\\V1\\GPBMetadata\xea\x02\x1a\x43osmos::Params::Module::V1b\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.params.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.params.module.v1B\013ModuleProtoP\001\242\002\003CPM\252\002\027Cosmos.Params.Module.V1\312\002\027Cosmos\\Params\\Module\\V1\342\002#Cosmos\\Params\\Module\\V1\\GPBMetadata\352\002\032Cosmos::Params::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\'\n%github.com/cosmos/cosmos-sdk/x/params' - _globals['_MODULE']._serialized_start=99 - _globals['_MODULE']._serialized_end=154 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.cosmos.params.module.v1B\013ModuleProtoP\001\242\002\003CPM\252\002\027Cosmos.Params.Module.V1\312\002\027Cosmos\\Params\\Module\\V1\342\002#Cosmos\\Params\\Module\\V1\\GPBMetadata\352\002\032Cosmos::Params::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001'\n%github.com/cosmos/cosmos-sdk/x/params" + _globals["_MODULE"]._serialized_start = 99 + _globals["_MODULE"]._serialized_end = 154 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/params/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/params/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/params/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/params/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/params/v1beta1/params_pb2.py b/pyinjective/proto/cosmos/params/v1beta1/params_pb2.py index b53d4ca7..0a80dd76 100644 --- a/pyinjective/proto/cosmos/params/v1beta1/params_pb2.py +++ b/pyinjective/proto/cosmos/params/v1beta1/params_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,20 +18,28 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/params/v1beta1/params.proto\x12\x15\x63osmos.params.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xe5\x01\n\x17ParameterChangeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12G\n\x07\x63hanges\x18\x03 \x03(\x0b\x32\".cosmos.params.v1beta1.ParamChangeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x63hanges:I\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\"cosmos-sdk/ParameterChangeProposal\"Q\n\x0bParamChange\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\x12\x14\n\x05value\x18\x03 \x01(\tR\x05valueB\xd8\x01\n\x19\x63om.cosmos.params.v1beta1B\x0bParamsProtoP\x01Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\xa2\x02\x03\x43PX\xaa\x02\x15\x43osmos.Params.V1beta1\xca\x02\x15\x43osmos\\Params\\V1beta1\xe2\x02!Cosmos\\Params\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Params::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n"cosmos/params/v1beta1/params.proto\x12\x15\x63osmos.params.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\xe5\x01\n\x17ParameterChangeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12G\n\x07\x63hanges\x18\x03 \x03(\x0b\x32".cosmos.params.v1beta1.ParamChangeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x63hanges:I\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*"cosmos-sdk/ParameterChangeProposal"Q\n\x0bParamChange\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\x12\x14\n\x05value\x18\x03 \x01(\tR\x05valueB\xd8\x01\n\x19\x63om.cosmos.params.v1beta1B\x0bParamsProtoP\x01Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\xa2\x02\x03\x43PX\xaa\x02\x15\x43osmos.Params.V1beta1\xca\x02\x15\x43osmos\\Params\\V1beta1\xe2\x02!Cosmos\\Params\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Params::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.v1beta1.params_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.params.v1beta1.params_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.params.v1beta1B\013ParamsProtoP\001Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\242\002\003CPX\252\002\025Cosmos.Params.V1beta1\312\002\025Cosmos\\Params\\V1beta1\342\002!Cosmos\\Params\\V1beta1\\GPBMetadata\352\002\027Cosmos::Params::V1beta1\250\342\036\001' - _globals['_PARAMETERCHANGEPROPOSAL'].fields_by_name['changes']._loaded_options = None - _globals['_PARAMETERCHANGEPROPOSAL'].fields_by_name['changes']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PARAMETERCHANGEPROPOSAL']._loaded_options = None - _globals['_PARAMETERCHANGEPROPOSAL']._serialized_options = b'\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\"cosmos-sdk/ParameterChangeProposal' - _globals['_PARAMETERCHANGEPROPOSAL']._serialized_start=130 - _globals['_PARAMETERCHANGEPROPOSAL']._serialized_end=359 - _globals['_PARAMCHANGE']._serialized_start=361 - _globals['_PARAMCHANGE']._serialized_end=442 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\031com.cosmos.params.v1beta1B\013ParamsProtoP\001Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\242\002\003CPX\252\002\025Cosmos.Params.V1beta1\312\002\025Cosmos\\Params\\V1beta1\342\002!Cosmos\\Params\\V1beta1\\GPBMetadata\352\002\027Cosmos::Params::V1beta1\250\342\036\001" + ) + _globals["_PARAMETERCHANGEPROPOSAL"].fields_by_name["changes"]._loaded_options = None + _globals["_PARAMETERCHANGEPROPOSAL"].fields_by_name[ + "changes" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_PARAMETERCHANGEPROPOSAL"]._loaded_options = None + _globals["_PARAMETERCHANGEPROPOSAL"]._serialized_options = ( + b'\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*"cosmos-sdk/ParameterChangeProposal' + ) + _globals["_PARAMETERCHANGEPROPOSAL"]._serialized_start = 130 + _globals["_PARAMETERCHANGEPROPOSAL"]._serialized_end = 359 + _globals["_PARAMCHANGE"]._serialized_start = 361 + _globals["_PARAMCHANGE"]._serialized_end = 442 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/params/v1beta1/params_pb2_grpc.py b/pyinjective/proto/cosmos/params/v1beta1/params_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/params/v1beta1/params_pb2_grpc.py +++ b/pyinjective/proto/cosmos/params/v1beta1/params_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/params/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/params/v1beta1/query_pb2.py index 27bdcffa..4bd74a6e 100644 --- a/pyinjective/proto/cosmos/params/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/params/v1beta1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,30 +19,38 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/params/v1beta1/query.proto\x12\x15\x63osmos.params.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\"cosmos/params/v1beta1/params.proto\x1a\x11\x61mino/amino.proto\"B\n\x12QueryParamsRequest\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\"Z\n\x13QueryParamsResponse\x12\x43\n\x05param\x18\x01 \x01(\x0b\x32\".cosmos.params.v1beta1.ParamChangeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05param\"\x17\n\x15QuerySubspacesRequest\"W\n\x16QuerySubspacesResponse\x12=\n\tsubspaces\x18\x01 \x03(\x0b\x32\x1f.cosmos.params.v1beta1.SubspaceR\tsubspaces\":\n\x08Subspace\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x12\n\x04keys\x18\x02 \x03(\tR\x04keys2\xa5\x02\n\x05Query\x12\x86\x01\n\x06Params\x12).cosmos.params.v1beta1.QueryParamsRequest\x1a*.cosmos.params.v1beta1.QueryParamsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/params/v1beta1/params\x12\x92\x01\n\tSubspaces\x12,.cosmos.params.v1beta1.QuerySubspacesRequest\x1a-.cosmos.params.v1beta1.QuerySubspacesResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmos/params/v1beta1/subspacesB\xd3\x01\n\x19\x63om.cosmos.params.v1beta1B\nQueryProtoP\x01Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\xa2\x02\x03\x43PX\xaa\x02\x15\x43osmos.Params.V1beta1\xca\x02\x15\x43osmos\\Params\\V1beta1\xe2\x02!Cosmos\\Params\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Params::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n!cosmos/params/v1beta1/query.proto\x12\x15\x63osmos.params.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a"cosmos/params/v1beta1/params.proto\x1a\x11\x61mino/amino.proto"B\n\x12QueryParamsRequest\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key"Z\n\x13QueryParamsResponse\x12\x43\n\x05param\x18\x01 \x01(\x0b\x32".cosmos.params.v1beta1.ParamChangeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05param"\x17\n\x15QuerySubspacesRequest"W\n\x16QuerySubspacesResponse\x12=\n\tsubspaces\x18\x01 \x03(\x0b\x32\x1f.cosmos.params.v1beta1.SubspaceR\tsubspaces":\n\x08Subspace\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x12\n\x04keys\x18\x02 \x03(\tR\x04keys2\xa5\x02\n\x05Query\x12\x86\x01\n\x06Params\x12).cosmos.params.v1beta1.QueryParamsRequest\x1a*.cosmos.params.v1beta1.QueryParamsResponse"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/params/v1beta1/params\x12\x92\x01\n\tSubspaces\x12,.cosmos.params.v1beta1.QuerySubspacesRequest\x1a-.cosmos.params.v1beta1.QuerySubspacesResponse"(\x82\xd3\xe4\x93\x02"\x12 /cosmos/params/v1beta1/subspacesB\xd3\x01\n\x19\x63om.cosmos.params.v1beta1B\nQueryProtoP\x01Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\xa2\x02\x03\x43PX\xaa\x02\x15\x43osmos.Params.V1beta1\xca\x02\x15\x43osmos\\Params\\V1beta1\xe2\x02!Cosmos\\Params\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Params::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.params.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.params.v1beta1B\nQueryProtoP\001Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\242\002\003CPX\252\002\025Cosmos.Params.V1beta1\312\002\025Cosmos\\Params\\V1beta1\342\002!Cosmos\\Params\\V1beta1\\GPBMetadata\352\002\027Cosmos::Params::V1beta1' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['param']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['param']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\037\022\035/cosmos/params/v1beta1/params' - _globals['_QUERY'].methods_by_name['Subspaces']._loaded_options = None - _globals['_QUERY'].methods_by_name['Subspaces']._serialized_options = b'\202\323\344\223\002\"\022 /cosmos/params/v1beta1/subspaces' - _globals['_QUERYPARAMSREQUEST']._serialized_start=167 - _globals['_QUERYPARAMSREQUEST']._serialized_end=233 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=235 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=325 - _globals['_QUERYSUBSPACESREQUEST']._serialized_start=327 - _globals['_QUERYSUBSPACESREQUEST']._serialized_end=350 - _globals['_QUERYSUBSPACESRESPONSE']._serialized_start=352 - _globals['_QUERYSUBSPACESRESPONSE']._serialized_end=439 - _globals['_SUBSPACE']._serialized_start=441 - _globals['_SUBSPACE']._serialized_end=499 - _globals['_QUERY']._serialized_start=502 - _globals['_QUERY']._serialized_end=795 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\031com.cosmos.params.v1beta1B\nQueryProtoP\001Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\242\002\003CPX\252\002\025Cosmos.Params.V1beta1\312\002\025Cosmos\\Params\\V1beta1\342\002!Cosmos\\Params\\V1beta1\\GPBMetadata\352\002\027Cosmos::Params::V1beta1" + ) + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["param"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["param"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\202\323\344\223\002\037\022\035/cosmos/params/v1beta1/params" + _globals["_QUERY"].methods_by_name["Subspaces"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Subspaces" + ]._serialized_options = b'\202\323\344\223\002"\022 /cosmos/params/v1beta1/subspaces' + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 167 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 233 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 235 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 325 + _globals["_QUERYSUBSPACESREQUEST"]._serialized_start = 327 + _globals["_QUERYSUBSPACESREQUEST"]._serialized_end = 350 + _globals["_QUERYSUBSPACESRESPONSE"]._serialized_start = 352 + _globals["_QUERYSUBSPACESRESPONSE"]._serialized_end = 439 + _globals["_SUBSPACE"]._serialized_start = 441 + _globals["_SUBSPACE"]._serialized_end = 499 + _globals["_QUERY"]._serialized_start = 502 + _globals["_QUERY"]._serialized_end = 795 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/params/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/params/v1beta1/query_pb2_grpc.py index b9ed1797..a218ef00 100644 --- a/pyinjective/proto/cosmos/params/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/params/v1beta1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,28 +15,29 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - '/cosmos.params.v1beta1.Query/Params', - request_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/cosmos.params.v1beta1.Query/Params", + request_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) self.Subspaces = channel.unary_unary( - '/cosmos.params.v1beta1.Query/Subspaces', - request_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesRequest.SerializeToString, - response_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesResponse.FromString, - _registered_method=True) + "/cosmos.params.v1beta1.Query/Subspaces", + request_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesRequest.SerializeToString, + response_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def Params(self, request, context): """Params queries a specific parameter of a module, given its subspace and key. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Subspaces(self, request, context): """Subspaces queries for all registered subspaces and all keys for a subspace. @@ -45,49 +45,49 @@ def Subspaces(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'Subspaces': grpc.unary_unary_rpc_method_handler( - servicer.Subspaces, - request_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesRequest.FromString, - response_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesResponse.SerializeToString, - ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + "Subspaces": grpc.unary_unary_rpc_method_handler( + servicer.Subspaces, + request_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesRequest.FromString, + response_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.params.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.params.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.params.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.params.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.params.v1beta1.Query/Params', + "/cosmos.params.v1beta1.Query/Params", cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -98,23 +98,26 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Subspaces(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Subspaces( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.params.v1beta1.Query/Subspaces', + "/cosmos.params.v1beta1.Query/Subspaces", cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesRequest.SerializeToString, cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesResponse.FromString, options, @@ -125,4 +128,5 @@ def Subspaces(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/query/v1/query_pb2.py b/pyinjective/proto/cosmos/query/v1/query_pb2.py index 1911653d..77488702 100644 --- a/pyinjective/proto/cosmos/query/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/query/v1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,12 +16,16 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/query/v1/query.proto\x12\x0f\x63osmos.query.v1\x1a google/protobuf/descriptor.proto:M\n\x11module_query_safe\x12\x1e.google.protobuf.MethodOptions\x18\xf1\x8c\xa6\x05 \x01(\x08R\x0fmoduleQuerySafeB\xa9\x01\n\x13\x63om.cosmos.query.v1B\nQueryProtoP\x01Z(github.com/cosmos/cosmos-sdk/types/query\xa2\x02\x03\x43QX\xaa\x02\x0f\x43osmos.Query.V1\xca\x02\x0f\x43osmos\\Query\\V1\xe2\x02\x1b\x43osmos\\Query\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Query::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n\x1b\x63osmos/query/v1/query.proto\x12\x0f\x63osmos.query.v1\x1a google/protobuf/descriptor.proto:M\n\x11module_query_safe\x12\x1e.google.protobuf.MethodOptions\x18\xf1\x8c\xa6\x05 \x01(\x08R\x0fmoduleQuerySafeB\xa9\x01\n\x13\x63om.cosmos.query.v1B\nQueryProtoP\x01Z(github.com/cosmos/cosmos-sdk/types/query\xa2\x02\x03\x43QX\xaa\x02\x0f\x43osmos.Query.V1\xca\x02\x0f\x43osmos\\Query\\V1\xe2\x02\x1b\x43osmos\\Query\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Query::V1b\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.query.v1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.query.v1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.query.v1B\nQueryProtoP\001Z(github.com/cosmos/cosmos-sdk/types/query\242\002\003CQX\252\002\017Cosmos.Query.V1\312\002\017Cosmos\\Query\\V1\342\002\033Cosmos\\Query\\V1\\GPBMetadata\352\002\021Cosmos::Query::V1' + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\023com.cosmos.query.v1B\nQueryProtoP\001Z(github.com/cosmos/cosmos-sdk/types/query\242\002\003CQX\252\002\017Cosmos.Query.V1\312\002\017Cosmos\\Query\\V1\342\002\033Cosmos\\Query\\V1\\GPBMetadata\352\002\021Cosmos::Query::V1" + ) # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/query/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/query/v1/query_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/query/v1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/query/v1/query_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/reflection/v1/reflection_pb2.py b/pyinjective/proto/cosmos/reflection/v1/reflection_pb2.py index 9608c2f9..084b50bd 100644 --- a/pyinjective/proto/cosmos/reflection/v1/reflection_pb2.py +++ b/pyinjective/proto/cosmos/reflection/v1/reflection_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,20 +17,24 @@ from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/reflection/v1/reflection.proto\x12\x14\x63osmos.reflection.v1\x1a google/protobuf/descriptor.proto\x1a\x1b\x63osmos/query/v1/query.proto\"\x18\n\x16\x46ileDescriptorsRequest\"U\n\x17\x46ileDescriptorsResponse\x12:\n\x05\x66iles\x18\x01 \x03(\x0b\x32$.google.protobuf.FileDescriptorProtoR\x05\x66iles2\x8a\x01\n\x11ReflectionService\x12u\n\x0f\x46ileDescriptors\x12,.cosmos.reflection.v1.FileDescriptorsRequest\x1a-.cosmos.reflection.v1.FileDescriptorsResponse\"\x05\x88\xe7\xb0*\x00\x42\x9d\x01\n\x18\x63om.cosmos.reflection.v1B\x0fReflectionProtoP\x01\xa2\x02\x03\x43RX\xaa\x02\x14\x43osmos.Reflection.V1\xca\x02\x14\x43osmos\\Reflection\\V1\xe2\x02 Cosmos\\Reflection\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Reflection::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%cosmos/reflection/v1/reflection.proto\x12\x14\x63osmos.reflection.v1\x1a google/protobuf/descriptor.proto\x1a\x1b\x63osmos/query/v1/query.proto"\x18\n\x16\x46ileDescriptorsRequest"U\n\x17\x46ileDescriptorsResponse\x12:\n\x05\x66iles\x18\x01 \x03(\x0b\x32$.google.protobuf.FileDescriptorProtoR\x05\x66iles2\x8a\x01\n\x11ReflectionService\x12u\n\x0f\x46ileDescriptors\x12,.cosmos.reflection.v1.FileDescriptorsRequest\x1a-.cosmos.reflection.v1.FileDescriptorsResponse"\x05\x88\xe7\xb0*\x00\x42\x9d\x01\n\x18\x63om.cosmos.reflection.v1B\x0fReflectionProtoP\x01\xa2\x02\x03\x43RX\xaa\x02\x14\x43osmos.Reflection.V1\xca\x02\x14\x43osmos\\Reflection\\V1\xe2\x02 Cosmos\\Reflection\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Reflection::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.reflection.v1.reflection_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.reflection.v1.reflection_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.reflection.v1B\017ReflectionProtoP\001\242\002\003CRX\252\002\024Cosmos.Reflection.V1\312\002\024Cosmos\\Reflection\\V1\342\002 Cosmos\\Reflection\\V1\\GPBMetadata\352\002\026Cosmos::Reflection::V1' - _globals['_REFLECTIONSERVICE'].methods_by_name['FileDescriptors']._loaded_options = None - _globals['_REFLECTIONSERVICE'].methods_by_name['FileDescriptors']._serialized_options = b'\210\347\260*\000' - _globals['_FILEDESCRIPTORSREQUEST']._serialized_start=126 - _globals['_FILEDESCRIPTORSREQUEST']._serialized_end=150 - _globals['_FILEDESCRIPTORSRESPONSE']._serialized_start=152 - _globals['_FILEDESCRIPTORSRESPONSE']._serialized_end=237 - _globals['_REFLECTIONSERVICE']._serialized_start=240 - _globals['_REFLECTIONSERVICE']._serialized_end=378 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\030com.cosmos.reflection.v1B\017ReflectionProtoP\001\242\002\003CRX\252\002\024Cosmos.Reflection.V1\312\002\024Cosmos\\Reflection\\V1\342\002 Cosmos\\Reflection\\V1\\GPBMetadata\352\002\026Cosmos::Reflection::V1" + ) + _globals["_REFLECTIONSERVICE"].methods_by_name["FileDescriptors"]._loaded_options = None + _globals["_REFLECTIONSERVICE"].methods_by_name["FileDescriptors"]._serialized_options = b"\210\347\260*\000" + _globals["_FILEDESCRIPTORSREQUEST"]._serialized_start = 126 + _globals["_FILEDESCRIPTORSREQUEST"]._serialized_end = 150 + _globals["_FILEDESCRIPTORSRESPONSE"]._serialized_start = 152 + _globals["_FILEDESCRIPTORSRESPONSE"]._serialized_end = 237 + _globals["_REFLECTIONSERVICE"]._serialized_start = 240 + _globals["_REFLECTIONSERVICE"]._serialized_end = 378 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/reflection/v1/reflection_pb2_grpc.py b/pyinjective/proto/cosmos/reflection/v1/reflection_pb2_grpc.py index 0c311309..c0abb924 100644 --- a/pyinjective/proto/cosmos/reflection/v1/reflection_pb2_grpc.py +++ b/pyinjective/proto/cosmos/reflection/v1/reflection_pb2_grpc.py @@ -17,10 +17,11 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.FileDescriptors = channel.unary_unary( - '/cosmos.reflection.v1.ReflectionService/FileDescriptors', - request_serializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsRequest.SerializeToString, - response_deserializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsResponse.FromString, - _registered_method=True) + "/cosmos.reflection.v1.ReflectionService/FileDescriptors", + request_serializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsRequest.SerializeToString, + response_deserializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsResponse.FromString, + _registered_method=True, + ) class ReflectionServiceServicer(object): @@ -33,45 +34,48 @@ def FileDescriptors(self, request, context): to enable easier generation of dynamic clients. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_ReflectionServiceServicer_to_server(servicer, server): rpc_method_handlers = { - 'FileDescriptors': grpc.unary_unary_rpc_method_handler( - servicer.FileDescriptors, - request_deserializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsRequest.FromString, - response_serializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsResponse.SerializeToString, - ), + "FileDescriptors": grpc.unary_unary_rpc_method_handler( + servicer.FileDescriptors, + request_deserializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsRequest.FromString, + response_serializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.reflection.v1.ReflectionService', rpc_method_handlers) + "cosmos.reflection.v1.ReflectionService", rpc_method_handlers + ) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.reflection.v1.ReflectionService', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.reflection.v1.ReflectionService", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class ReflectionService(object): """Package cosmos.reflection.v1 provides support for inspecting protobuf file descriptors. """ @staticmethod - def FileDescriptors(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def FileDescriptors( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.reflection.v1.ReflectionService/FileDescriptors', + "/cosmos.reflection.v1.ReflectionService/FileDescriptors", cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsRequest.SerializeToString, cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsResponse.FromString, options, @@ -82,4 +86,5 @@ def FileDescriptors(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py b/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py index 3e5352da..cbf4cefc 100644 --- a/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/slashing/module/v1/module.proto\x12\x19\x63osmos.slashing.module.v1\x1a cosmos/app/v1alpha1/module.proto\"W\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:/\xba\xc0\x96\xda\x01)\n\'github.com/cosmos/cosmos-sdk/x/slashingB\xb3\x01\n\x1d\x63om.cosmos.slashing.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43SM\xaa\x02\x19\x43osmos.Slashing.Module.V1\xca\x02\x19\x43osmos\\Slashing\\Module\\V1\xe2\x02%Cosmos\\Slashing\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Slashing::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n&cosmos/slashing/module/v1/module.proto\x12\x19\x63osmos.slashing.module.v1\x1a cosmos/app/v1alpha1/module.proto\"W\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:/\xba\xc0\x96\xda\x01)\n'github.com/cosmos/cosmos-sdk/x/slashingB\xb3\x01\n\x1d\x63om.cosmos.slashing.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43SM\xaa\x02\x19\x43osmos.Slashing.Module.V1\xca\x02\x19\x43osmos\\Slashing\\Module\\V1\xe2\x02%Cosmos\\Slashing\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Slashing::Module::V1b\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.slashing.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.slashing.module.v1B\013ModuleProtoP\001\242\002\003CSM\252\002\031Cosmos.Slashing.Module.V1\312\002\031Cosmos\\Slashing\\Module\\V1\342\002%Cosmos\\Slashing\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Slashing::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001)\n\'github.com/cosmos/cosmos-sdk/x/slashing' - _globals['_MODULE']._serialized_start=103 - _globals['_MODULE']._serialized_end=190 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\035com.cosmos.slashing.module.v1B\013ModuleProtoP\001\242\002\003CSM\252\002\031Cosmos.Slashing.Module.V1\312\002\031Cosmos\\Slashing\\Module\\V1\342\002%Cosmos\\Slashing\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Slashing::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001)\n'github.com/cosmos/cosmos-sdk/x/slashing" + _globals["_MODULE"]._serialized_start = 103 + _globals["_MODULE"]._serialized_end = 190 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/slashing/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/slashing/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/slashing/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2.py index 76a206a8..d58db20c 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,34 +19,46 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/slashing/v1beta1/genesis.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x88\x02\n\x0cGenesisState\x12\x42\n\x06params\x18\x01 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12T\n\rsigning_infos\x18\x02 \x03(\x0b\x32$.cosmos.slashing.v1beta1.SigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0csigningInfos\x12^\n\rmissed_blocks\x18\x03 \x03(\x0b\x32..cosmos.slashing.v1beta1.ValidatorMissedBlocksB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cmissedBlocks\"\xba\x01\n\x0bSigningInfo\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12n\n\x16validator_signing_info\x18\x02 \x01(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSigningInfo\"\xaa\x01\n\x15ValidatorMissedBlocks\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12T\n\rmissed_blocks\x18\x02 \x03(\x0b\x32$.cosmos.slashing.v1beta1.MissedBlockB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cmissedBlocks\";\n\x0bMissedBlock\x12\x14\n\x05index\x18\x01 \x01(\x03R\x05index\x12\x16\n\x06missed\x18\x02 \x01(\x08R\x06missedB\xd8\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\x0cGenesisProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%cosmos/slashing/v1beta1/genesis.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\x88\x02\n\x0cGenesisState\x12\x42\n\x06params\x18\x01 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12T\n\rsigning_infos\x18\x02 \x03(\x0b\x32$.cosmos.slashing.v1beta1.SigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0csigningInfos\x12^\n\rmissed_blocks\x18\x03 \x03(\x0b\x32..cosmos.slashing.v1beta1.ValidatorMissedBlocksB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cmissedBlocks"\xba\x01\n\x0bSigningInfo\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12n\n\x16validator_signing_info\x18\x02 \x01(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSigningInfo"\xaa\x01\n\x15ValidatorMissedBlocks\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12T\n\rmissed_blocks\x18\x02 \x03(\x0b\x32$.cosmos.slashing.v1beta1.MissedBlockB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cmissedBlocks";\n\x0bMissedBlock\x12\x14\n\x05index\x18\x01 \x01(\x03R\x05index\x12\x16\n\x06missed\x18\x02 \x01(\x08R\x06missedB\xd8\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\x0cGenesisProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.slashing.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.slashing.v1beta1B\014GenesisProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['signing_infos']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['signing_infos']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['missed_blocks']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['missed_blocks']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_SIGNINGINFO'].fields_by_name['address']._loaded_options = None - _globals['_SIGNINGINFO'].fields_by_name['address']._serialized_options = b'\322\264-\035cosmos.ConsensusAddressString' - _globals['_SIGNINGINFO'].fields_by_name['validator_signing_info']._loaded_options = None - _globals['_SIGNINGINFO'].fields_by_name['validator_signing_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_VALIDATORMISSEDBLOCKS'].fields_by_name['address']._loaded_options = None - _globals['_VALIDATORMISSEDBLOCKS'].fields_by_name['address']._serialized_options = b'\322\264-\035cosmos.ConsensusAddressString' - _globals['_VALIDATORMISSEDBLOCKS'].fields_by_name['missed_blocks']._loaded_options = None - _globals['_VALIDATORMISSEDBLOCKS'].fields_by_name['missed_blocks']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE']._serialized_start=175 - _globals['_GENESISSTATE']._serialized_end=439 - _globals['_SIGNINGINFO']._serialized_start=442 - _globals['_SIGNINGINFO']._serialized_end=628 - _globals['_VALIDATORMISSEDBLOCKS']._serialized_start=631 - _globals['_VALIDATORMISSEDBLOCKS']._serialized_end=801 - _globals['_MISSEDBLOCK']._serialized_start=803 - _globals['_MISSEDBLOCK']._serialized_end=862 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.cosmos.slashing.v1beta1B\014GenesisProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1" + ) + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["signing_infos"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["signing_infos"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["missed_blocks"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["missed_blocks"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_SIGNINGINFO"].fields_by_name["address"]._loaded_options = None + _globals["_SIGNINGINFO"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\035cosmos.ConsensusAddressString" + _globals["_SIGNINGINFO"].fields_by_name["validator_signing_info"]._loaded_options = None + _globals["_SIGNINGINFO"].fields_by_name[ + "validator_signing_info" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_VALIDATORMISSEDBLOCKS"].fields_by_name["address"]._loaded_options = None + _globals["_VALIDATORMISSEDBLOCKS"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\035cosmos.ConsensusAddressString" + _globals["_VALIDATORMISSEDBLOCKS"].fields_by_name["missed_blocks"]._loaded_options = None + _globals["_VALIDATORMISSEDBLOCKS"].fields_by_name[ + "missed_blocks" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"]._serialized_start = 175 + _globals["_GENESISSTATE"]._serialized_end = 439 + _globals["_SIGNINGINFO"]._serialized_start = 442 + _globals["_SIGNINGINFO"]._serialized_end = 628 + _globals["_VALIDATORMISSEDBLOCKS"]._serialized_start = 631 + _globals["_VALIDATORMISSEDBLOCKS"]._serialized_end = 801 + _globals["_MISSEDBLOCK"]._serialized_start = 803 + _globals["_MISSEDBLOCK"]._serialized_end = 862 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/slashing/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2.py index 6ada740b..25f20d95 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2.py @@ -7,12 +7,15 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.slashing.v1beta1 import slashing_pb2 as cosmos_dot_slashing_dot_v1beta1_dot_slashing__pb2 @@ -20,40 +23,56 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/slashing/v1beta1/query.proto\x12\x17\x63osmos.slashing.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x14\n\x12QueryParamsRequest\"Y\n\x13QueryParamsResponse\x12\x42\n\x06params\x18\x01 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"_\n\x17QuerySigningInfoRequest\x12\x44\n\x0c\x63ons_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x0b\x63onsAddress\"~\n\x18QuerySigningInfoResponse\x12\x62\n\x10val_signing_info\x18\x01 \x01(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evalSigningInfo\"b\n\x18QuerySigningInfosRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb2\x01\n\x19QuerySigningInfosResponse\x12L\n\x04info\x18\x01 \x03(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04info\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xf2\x03\n\x05Query\x12\x8c\x01\n\x06Params\x12+.cosmos.slashing.v1beta1.QueryParamsRequest\x1a,.cosmos.slashing.v1beta1.QueryParamsResponse\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/cosmos/slashing/v1beta1/params\x12\xb1\x01\n\x0bSigningInfo\x12\x30.cosmos.slashing.v1beta1.QuerySigningInfoRequest\x1a\x31.cosmos.slashing.v1beta1.QuerySigningInfoResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmos/slashing/v1beta1/signing_infos/{cons_address}\x12\xa5\x01\n\x0cSigningInfos\x12\x31.cosmos.slashing.v1beta1.QuerySigningInfosRequest\x1a\x32.cosmos.slashing.v1beta1.QuerySigningInfosResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/slashing/v1beta1/signing_infosB\xd6\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\nQueryProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n#cosmos/slashing/v1beta1/query.proto\x12\x17\x63osmos.slashing.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\x14\n\x12QueryParamsRequest"Y\n\x13QueryParamsResponse\x12\x42\n\x06params\x18\x01 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params"_\n\x17QuerySigningInfoRequest\x12\x44\n\x0c\x63ons_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x0b\x63onsAddress"~\n\x18QuerySigningInfoResponse\x12\x62\n\x10val_signing_info\x18\x01 \x01(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evalSigningInfo"b\n\x18QuerySigningInfosRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xb2\x01\n\x19QuerySigningInfosResponse\x12L\n\x04info\x18\x01 \x03(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04info\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xf2\x03\n\x05Query\x12\x8c\x01\n\x06Params\x12+.cosmos.slashing.v1beta1.QueryParamsRequest\x1a,.cosmos.slashing.v1beta1.QueryParamsResponse"\'\x82\xd3\xe4\x93\x02!\x12\x1f/cosmos/slashing/v1beta1/params\x12\xb1\x01\n\x0bSigningInfo\x12\x30.cosmos.slashing.v1beta1.QuerySigningInfoRequest\x1a\x31.cosmos.slashing.v1beta1.QuerySigningInfoResponse"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmos/slashing/v1beta1/signing_infos/{cons_address}\x12\xa5\x01\n\x0cSigningInfos\x12\x31.cosmos.slashing.v1beta1.QuerySigningInfosRequest\x1a\x32.cosmos.slashing.v1beta1.QuerySigningInfosResponse".\x82\xd3\xe4\x93\x02(\x12&/cosmos/slashing/v1beta1/signing_infosB\xd6\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\nQueryProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.slashing.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.slashing.v1beta1B\nQueryProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYSIGNINGINFOREQUEST'].fields_by_name['cons_address']._loaded_options = None - _globals['_QUERYSIGNINGINFOREQUEST'].fields_by_name['cons_address']._serialized_options = b'\322\264-\035cosmos.ConsensusAddressString' - _globals['_QUERYSIGNINGINFORESPONSE'].fields_by_name['val_signing_info']._loaded_options = None - _globals['_QUERYSIGNINGINFORESPONSE'].fields_by_name['val_signing_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYSIGNINGINFOSRESPONSE'].fields_by_name['info']._loaded_options = None - _globals['_QUERYSIGNINGINFOSRESPONSE'].fields_by_name['info']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002!\022\037/cosmos/slashing/v1beta1/params' - _globals['_QUERY'].methods_by_name['SigningInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['SigningInfo']._serialized_options = b'\202\323\344\223\0027\0225/cosmos/slashing/v1beta1/signing_infos/{cons_address}' - _globals['_QUERY'].methods_by_name['SigningInfos']._loaded_options = None - _globals['_QUERY'].methods_by_name['SigningInfos']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/slashing/v1beta1/signing_infos' - _globals['_QUERYPARAMSREQUEST']._serialized_start=246 - _globals['_QUERYPARAMSREQUEST']._serialized_end=266 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=268 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=357 - _globals['_QUERYSIGNINGINFOREQUEST']._serialized_start=359 - _globals['_QUERYSIGNINGINFOREQUEST']._serialized_end=454 - _globals['_QUERYSIGNINGINFORESPONSE']._serialized_start=456 - _globals['_QUERYSIGNINGINFORESPONSE']._serialized_end=582 - _globals['_QUERYSIGNINGINFOSREQUEST']._serialized_start=584 - _globals['_QUERYSIGNINGINFOSREQUEST']._serialized_end=682 - _globals['_QUERYSIGNINGINFOSRESPONSE']._serialized_start=685 - _globals['_QUERYSIGNINGINFOSRESPONSE']._serialized_end=863 - _globals['_QUERY']._serialized_start=866 - _globals['_QUERY']._serialized_end=1364 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.cosmos.slashing.v1beta1B\nQueryProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1" + ) + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYSIGNINGINFOREQUEST"].fields_by_name["cons_address"]._loaded_options = None + _globals["_QUERYSIGNINGINFOREQUEST"].fields_by_name[ + "cons_address" + ]._serialized_options = b"\322\264-\035cosmos.ConsensusAddressString" + _globals["_QUERYSIGNINGINFORESPONSE"].fields_by_name["val_signing_info"]._loaded_options = None + _globals["_QUERYSIGNINGINFORESPONSE"].fields_by_name[ + "val_signing_info" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYSIGNINGINFOSRESPONSE"].fields_by_name["info"]._loaded_options = None + _globals["_QUERYSIGNINGINFOSRESPONSE"].fields_by_name[ + "info" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\202\323\344\223\002!\022\037/cosmos/slashing/v1beta1/params" + _globals["_QUERY"].methods_by_name["SigningInfo"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "SigningInfo" + ]._serialized_options = b"\202\323\344\223\0027\0225/cosmos/slashing/v1beta1/signing_infos/{cons_address}" + _globals["_QUERY"].methods_by_name["SigningInfos"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "SigningInfos" + ]._serialized_options = b"\202\323\344\223\002(\022&/cosmos/slashing/v1beta1/signing_infos" + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 246 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 266 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 268 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 357 + _globals["_QUERYSIGNINGINFOREQUEST"]._serialized_start = 359 + _globals["_QUERYSIGNINGINFOREQUEST"]._serialized_end = 454 + _globals["_QUERYSIGNINGINFORESPONSE"]._serialized_start = 456 + _globals["_QUERYSIGNINGINFORESPONSE"]._serialized_end = 582 + _globals["_QUERYSIGNINGINFOSREQUEST"]._serialized_start = 584 + _globals["_QUERYSIGNINGINFOSREQUEST"]._serialized_end = 682 + _globals["_QUERYSIGNINGINFOSRESPONSE"]._serialized_start = 685 + _globals["_QUERYSIGNINGINFOSRESPONSE"]._serialized_end = 863 + _globals["_QUERY"]._serialized_start = 866 + _globals["_QUERY"]._serialized_end = 1364 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2_grpc.py index 69674eb7..0238dad4 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query provides defines the gRPC querier service - """ + """Query provides defines the gRPC querier service""" def __init__(self, channel): """Constructor. @@ -16,92 +15,91 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - '/cosmos.slashing.v1beta1.Query/Params', - request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/cosmos.slashing.v1beta1.Query/Params", + request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) self.SigningInfo = channel.unary_unary( - '/cosmos.slashing.v1beta1.Query/SigningInfo', - request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoResponse.FromString, - _registered_method=True) + "/cosmos.slashing.v1beta1.Query/SigningInfo", + request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoResponse.FromString, + _registered_method=True, + ) self.SigningInfos = channel.unary_unary( - '/cosmos.slashing.v1beta1.Query/SigningInfos', - request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosRequest.SerializeToString, - response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosResponse.FromString, - _registered_method=True) + "/cosmos.slashing.v1beta1.Query/SigningInfos", + request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosRequest.SerializeToString, + response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query provides defines the gRPC querier service - """ + """Query provides defines the gRPC querier service""" def Params(self, request, context): - """Params queries the parameters of slashing module - """ + """Params queries the parameters of slashing module""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SigningInfo(self, request, context): - """SigningInfo queries the signing info of given cons address - """ + """SigningInfo queries the signing info of given cons address""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SigningInfos(self, request, context): - """SigningInfos queries signing info of all validators - """ + """SigningInfos queries signing info of all validators""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'SigningInfo': grpc.unary_unary_rpc_method_handler( - servicer.SigningInfo, - request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoRequest.FromString, - response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoResponse.SerializeToString, - ), - 'SigningInfos': grpc.unary_unary_rpc_method_handler( - servicer.SigningInfos, - request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosRequest.FromString, - response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosResponse.SerializeToString, - ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + "SigningInfo": grpc.unary_unary_rpc_method_handler( + servicer.SigningInfo, + request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoRequest.FromString, + response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoResponse.SerializeToString, + ), + "SigningInfos": grpc.unary_unary_rpc_method_handler( + servicer.SigningInfos, + request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosRequest.FromString, + response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.slashing.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.slashing.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.slashing.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.slashing.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query provides defines the gRPC querier service - """ + """Query provides defines the gRPC querier service""" @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.slashing.v1beta1.Query/Params', + "/cosmos.slashing.v1beta1.Query/Params", cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -112,23 +110,26 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SigningInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SigningInfo( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.slashing.v1beta1.Query/SigningInfo', + "/cosmos.slashing.v1beta1.Query/SigningInfo", cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoRequest.SerializeToString, cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoResponse.FromString, options, @@ -139,23 +140,26 @@ def SigningInfo(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SigningInfos(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SigningInfos( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.slashing.v1beta1.Query/SigningInfos', + "/cosmos.slashing.v1beta1.Query/SigningInfos", cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosRequest.SerializeToString, cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosResponse.FromString, options, @@ -166,4 +170,5 @@ def SigningInfos(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py index 112ce1a6..1dfa6d33 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,32 +20,54 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/slashing/v1beta1/slashing.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xc1\x02\n\x14ValidatorSigningInfo\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12!\n\x0cstart_height\x18\x02 \x01(\x03R\x0bstartHeight\x12!\n\x0cindex_offset\x18\x03 \x01(\x03R\x0bindexOffset\x12L\n\x0cjailed_until\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0bjailedUntil\x12\x1e\n\ntombstoned\x18\x05 \x01(\x08R\ntombstoned\x12\x32\n\x15missed_blocks_counter\x18\x06 \x01(\x03R\x13missedBlocksCounter:\x04\xe8\xa0\x1f\x01\"\x8d\x04\n\x06Params\x12\x30\n\x14signed_blocks_window\x18\x01 \x01(\x03R\x12signedBlocksWindow\x12i\n\x15min_signed_per_window\x18\x02 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x12minSignedPerWindow\x12^\n\x16\x64owntime_jail_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x14\x64owntimeJailDuration\x12s\n\x1aslash_fraction_double_sign\x18\x04 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x17slashFractionDoubleSign\x12n\n\x17slash_fraction_downtime\x18\x05 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x15slashFractionDowntime:!\x8a\xe7\xb0*\x1c\x63osmos-sdk/x/slashing/ParamsB\xdd\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\rSlashingProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&cosmos/slashing/v1beta1/slashing.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\xc1\x02\n\x14ValidatorSigningInfo\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12!\n\x0cstart_height\x18\x02 \x01(\x03R\x0bstartHeight\x12!\n\x0cindex_offset\x18\x03 \x01(\x03R\x0bindexOffset\x12L\n\x0cjailed_until\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0bjailedUntil\x12\x1e\n\ntombstoned\x18\x05 \x01(\x08R\ntombstoned\x12\x32\n\x15missed_blocks_counter\x18\x06 \x01(\x03R\x13missedBlocksCounter:\x04\xe8\xa0\x1f\x01"\x8d\x04\n\x06Params\x12\x30\n\x14signed_blocks_window\x18\x01 \x01(\x03R\x12signedBlocksWindow\x12i\n\x15min_signed_per_window\x18\x02 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x12minSignedPerWindow\x12^\n\x16\x64owntime_jail_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x14\x64owntimeJailDuration\x12s\n\x1aslash_fraction_double_sign\x18\x04 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x17slashFractionDoubleSign\x12n\n\x17slash_fraction_downtime\x18\x05 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x15slashFractionDowntime:!\x8a\xe7\xb0*\x1c\x63osmos-sdk/x/slashing/ParamsB\xdd\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\rSlashingProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.slashing_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.slashing.v1beta1.slashing_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.slashing.v1beta1B\rSlashingProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1\250\342\036\001' - _globals['_VALIDATORSIGNINGINFO'].fields_by_name['address']._loaded_options = None - _globals['_VALIDATORSIGNINGINFO'].fields_by_name['address']._serialized_options = b'\322\264-\035cosmos.ConsensusAddressString' - _globals['_VALIDATORSIGNINGINFO'].fields_by_name['jailed_until']._loaded_options = None - _globals['_VALIDATORSIGNINGINFO'].fields_by_name['jailed_until']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_VALIDATORSIGNINGINFO']._loaded_options = None - _globals['_VALIDATORSIGNINGINFO']._serialized_options = b'\350\240\037\001' - _globals['_PARAMS'].fields_by_name['min_signed_per_window']._loaded_options = None - _globals['_PARAMS'].fields_by_name['min_signed_per_window']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['downtime_jail_duration']._loaded_options = None - _globals['_PARAMS'].fields_by_name['downtime_jail_duration']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['slash_fraction_double_sign']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_double_sign']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['slash_fraction_downtime']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_downtime']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\212\347\260*\034cosmos-sdk/x/slashing/Params' - _globals['_VALIDATORSIGNINGINFO']._serialized_start=201 - _globals['_VALIDATORSIGNINGINFO']._serialized_end=522 - _globals['_PARAMS']._serialized_start=525 - _globals['_PARAMS']._serialized_end=1050 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.cosmos.slashing.v1beta1B\rSlashingProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1\250\342\036\001" + ) + _globals["_VALIDATORSIGNINGINFO"].fields_by_name["address"]._loaded_options = None + _globals["_VALIDATORSIGNINGINFO"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\035cosmos.ConsensusAddressString" + _globals["_VALIDATORSIGNINGINFO"].fields_by_name["jailed_until"]._loaded_options = None + _globals["_VALIDATORSIGNINGINFO"].fields_by_name[ + "jailed_until" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_VALIDATORSIGNINGINFO"]._loaded_options = None + _globals["_VALIDATORSIGNINGINFO"]._serialized_options = b"\350\240\037\001" + _globals["_PARAMS"].fields_by_name["min_signed_per_window"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "min_signed_per_window" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_PARAMS"].fields_by_name["downtime_jail_duration"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "downtime_jail_duration" + ]._serialized_options = b"\310\336\037\000\230\337\037\001\250\347\260*\001" + _globals["_PARAMS"].fields_by_name["slash_fraction_double_sign"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "slash_fraction_double_sign" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_PARAMS"].fields_by_name["slash_fraction_downtime"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "slash_fraction_downtime" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_PARAMS"]._loaded_options = None + _globals["_PARAMS"]._serialized_options = b"\212\347\260*\034cosmos-sdk/x/slashing/Params" + _globals["_VALIDATORSIGNINGINFO"]._serialized_start = 201 + _globals["_VALIDATORSIGNINGINFO"]._serialized_end = 522 + _globals["_PARAMS"]._serialized_start = 525 + _globals["_PARAMS"]._serialized_end = 1050 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2_grpc.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/slashing/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2.py index 2e825073..36702ab9 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,34 +20,46 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/slashing/v1beta1/tx.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xa3\x01\n\tMsgUnjail\x12\x64\n\x0evalidator_addr\x18\x01 \x01(\tB=\xea\xde\x1f\x07\x61\x64\x64ress\xd2\xb4-\x1d\x63osmos.ValidatorAddressString\xa2\xe7\xb0*\x07\x61\x64\x64ress\xa8\xe7\xb0*\x01R\rvalidatorAddr:0\x88\xa0\x1f\x00\x82\xe7\xb0*\x0evalidator_addr\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgUnjail\"\x13\n\x11MsgUnjailResponse\"\xc7\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x42\n\x06params\x18\x02 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:8\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*%cosmos-sdk/x/slashing/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xd2\x01\n\x03Msg\x12X\n\x06Unjail\x12\".cosmos.slashing.v1beta1.MsgUnjail\x1a*.cosmos.slashing.v1beta1.MsgUnjailResponse\x12j\n\x0cUpdateParams\x12(.cosmos.slashing.v1beta1.MsgUpdateParams\x1a\x30.cosmos.slashing.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd7\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\x07TxProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n cosmos/slashing/v1beta1/tx.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xa3\x01\n\tMsgUnjail\x12\x64\n\x0evalidator_addr\x18\x01 \x01(\tB=\xea\xde\x1f\x07\x61\x64\x64ress\xd2\xb4-\x1d\x63osmos.ValidatorAddressString\xa2\xe7\xb0*\x07\x61\x64\x64ress\xa8\xe7\xb0*\x01R\rvalidatorAddr:0\x88\xa0\x1f\x00\x82\xe7\xb0*\x0evalidator_addr\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgUnjail"\x13\n\x11MsgUnjailResponse"\xc7\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x42\n\x06params\x18\x02 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:8\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*%cosmos-sdk/x/slashing/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2\xd2\x01\n\x03Msg\x12X\n\x06Unjail\x12".cosmos.slashing.v1beta1.MsgUnjail\x1a*.cosmos.slashing.v1beta1.MsgUnjailResponse\x12j\n\x0cUpdateParams\x12(.cosmos.slashing.v1beta1.MsgUpdateParams\x1a\x30.cosmos.slashing.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd7\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\x07TxProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.slashing.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.slashing.v1beta1B\007TxProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1\250\342\036\001' - _globals['_MSGUNJAIL'].fields_by_name['validator_addr']._loaded_options = None - _globals['_MSGUNJAIL'].fields_by_name['validator_addr']._serialized_options = b'\352\336\037\007address\322\264-\035cosmos.ValidatorAddressString\242\347\260*\007address\250\347\260*\001' - _globals['_MSGUNJAIL']._loaded_options = None - _globals['_MSGUNJAIL']._serialized_options = b'\210\240\037\000\202\347\260*\016validator_addr\212\347\260*\024cosmos-sdk/MsgUnjail' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*%cosmos-sdk/x/slashing/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGUNJAIL']._serialized_start=195 - _globals['_MSGUNJAIL']._serialized_end=358 - _globals['_MSGUNJAILRESPONSE']._serialized_start=360 - _globals['_MSGUNJAILRESPONSE']._serialized_end=379 - _globals['_MSGUPDATEPARAMS']._serialized_start=382 - _globals['_MSGUPDATEPARAMS']._serialized_end=581 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=583 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=608 - _globals['_MSG']._serialized_start=611 - _globals['_MSG']._serialized_end=821 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.cosmos.slashing.v1beta1B\007TxProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1\250\342\036\001" + ) + _globals["_MSGUNJAIL"].fields_by_name["validator_addr"]._loaded_options = None + _globals["_MSGUNJAIL"].fields_by_name[ + "validator_addr" + ]._serialized_options = ( + b"\352\336\037\007address\322\264-\035cosmos.ValidatorAddressString\242\347\260*\007address\250\347\260*\001" + ) + _globals["_MSGUNJAIL"]._loaded_options = None + _globals["_MSGUNJAIL"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\016validator_addr\212\347\260*\024cosmos-sdk/MsgUnjail" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*%cosmos-sdk/x/slashing/MsgUpdateParams" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGUNJAIL"]._serialized_start = 195 + _globals["_MSGUNJAIL"]._serialized_end = 358 + _globals["_MSGUNJAILRESPONSE"]._serialized_start = 360 + _globals["_MSGUNJAILRESPONSE"]._serialized_end = 379 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 382 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 581 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 583 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 608 + _globals["_MSG"]._serialized_start = 611 + _globals["_MSG"]._serialized_end = 821 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2_grpc.py index 63fd5cdd..3bfe87ee 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the slashing Msg service. - """ + """Msg defines the slashing Msg service.""" def __init__(self, channel): """Constructor. @@ -16,20 +15,21 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Unjail = channel.unary_unary( - '/cosmos.slashing.v1beta1.Msg/Unjail', - request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjail.SerializeToString, - response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjailResponse.FromString, - _registered_method=True) + "/cosmos.slashing.v1beta1.Msg/Unjail", + request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjail.SerializeToString, + response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjailResponse.FromString, + _registered_method=True, + ) self.UpdateParams = channel.unary_unary( - '/cosmos.slashing.v1beta1.Msg/UpdateParams', - request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/cosmos.slashing.v1beta1.Msg/UpdateParams", + request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the slashing Msg service. - """ + """Msg defines the slashing Msg service.""" def Unjail(self, request, context): """Unjail defines a method for unjailing a jailed validator, thus returning @@ -37,8 +37,8 @@ def Unjail(self, request, context): and rewards again. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateParams(self, request, context): """UpdateParams defines a governance operation for updating the x/slashing module @@ -47,49 +47,49 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'Unjail': grpc.unary_unary_rpc_method_handler( - servicer.Unjail, - request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjail.FromString, - response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjailResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + "Unjail": grpc.unary_unary_rpc_method_handler( + servicer.Unjail, + request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjail.FromString, + response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjailResponse.SerializeToString, + ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.slashing.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.slashing.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.slashing.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.slashing.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the slashing Msg service. - """ + """Msg defines the slashing Msg service.""" @staticmethod - def Unjail(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Unjail( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.slashing.v1beta1.Msg/Unjail', + "/cosmos.slashing.v1beta1.Msg/Unjail", cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjail.SerializeToString, cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjailResponse.FromString, options, @@ -100,23 +100,26 @@ def Unjail(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.slashing.v1beta1.Msg/UpdateParams', + "/cosmos.slashing.v1beta1.Msg/UpdateParams", cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -127,4 +130,5 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py b/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py index 6abb3c62..bbebecd1 100644 --- a/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/staking/module/v1/module.proto\x12\x18\x63osmos.staking.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\xe7\x01\n\x06Module\x12\x1f\n\x0bhooks_order\x18\x01 \x03(\tR\nhooksOrder\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority\x12\x36\n\x17\x62\x65\x63h32_prefix_validator\x18\x03 \x01(\tR\x15\x62\x65\x63h32PrefixValidator\x12\x36\n\x17\x62\x65\x63h32_prefix_consensus\x18\x04 \x01(\tR\x15\x62\x65\x63h32PrefixConsensus:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/stakingB\xae\x01\n\x1c\x63om.cosmos.staking.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43SM\xaa\x02\x18\x43osmos.Staking.Module.V1\xca\x02\x18\x43osmos\\Staking\\Module\\V1\xe2\x02$Cosmos\\Staking\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Staking::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%cosmos/staking/module/v1/module.proto\x12\x18\x63osmos.staking.module.v1\x1a cosmos/app/v1alpha1/module.proto"\xe7\x01\n\x06Module\x12\x1f\n\x0bhooks_order\x18\x01 \x03(\tR\nhooksOrder\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority\x12\x36\n\x17\x62\x65\x63h32_prefix_validator\x18\x03 \x01(\tR\x15\x62\x65\x63h32PrefixValidator\x12\x36\n\x17\x62\x65\x63h32_prefix_consensus\x18\x04 \x01(\tR\x15\x62\x65\x63h32PrefixConsensus:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/stakingB\xae\x01\n\x1c\x63om.cosmos.staking.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43SM\xaa\x02\x18\x43osmos.Staking.Module.V1\xca\x02\x18\x43osmos\\Staking\\Module\\V1\xe2\x02$Cosmos\\Staking\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Staking::Module::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.staking.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.staking.module.v1B\013ModuleProtoP\001\242\002\003CSM\252\002\030Cosmos.Staking.Module.V1\312\002\030Cosmos\\Staking\\Module\\V1\342\002$Cosmos\\Staking\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Staking::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/staking' - _globals['_MODULE']._serialized_start=102 - _globals['_MODULE']._serialized_end=333 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\034com.cosmos.staking.module.v1B\013ModuleProtoP\001\242\002\003CSM\252\002\030Cosmos.Staking.Module.V1\312\002\030Cosmos\\Staking\\Module\\V1\342\002$Cosmos\\Staking\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Staking::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/staking" + _globals["_MODULE"]._serialized_start = 102 + _globals["_MODULE"]._serialized_end = 333 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/staking/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/staking/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/staking/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/staking/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2.py index 444597ee..8881a00a 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,28 +19,42 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/staking/v1beta1/authz.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"\xfa\x04\n\x12StakeAuthorization\x12\x65\n\nmax_tokens\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB+\xaa\xdf\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\tmaxTokens\x12\x84\x01\n\nallow_list\x18\x02 \x01(\x0b\x32\x35.cosmos.staking.v1beta1.StakeAuthorization.ValidatorsB,\xb2\xe7\xb0*\'cosmos-sdk/StakeAuthorization/AllowListH\x00R\tallowList\x12\x81\x01\n\tdeny_list\x18\x03 \x01(\x0b\x32\x35.cosmos.staking.v1beta1.StakeAuthorization.ValidatorsB+\xb2\xe7\xb0*&cosmos-sdk/StakeAuthorization/DenyListH\x00R\x08\x64\x65nyList\x12X\n\x12\x61uthorization_type\x18\x04 \x01(\x0e\x32).cosmos.staking.v1beta1.AuthorizationTypeR\x11\x61uthorizationType\x1a@\n\nValidators\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:H\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1d\x63osmos-sdk/StakeAuthorizationB\x0c\n\nvalidators*\xd2\x01\n\x11\x41uthorizationType\x12\"\n\x1e\x41UTHORIZATION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x41UTHORIZATION_TYPE_DELEGATE\x10\x01\x12!\n\x1d\x41UTHORIZATION_TYPE_UNDELEGATE\x10\x02\x12!\n\x1d\x41UTHORIZATION_TYPE_REDELEGATE\x10\x03\x12\x32\n.AUTHORIZATION_TYPE_CANCEL_UNBONDING_DELEGATION\x10\x04\x42\xd0\x01\n\x1a\x63om.cosmos.staking.v1beta1B\nAuthzProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n"cosmos/staking/v1beta1/authz.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto"\xfa\x04\n\x12StakeAuthorization\x12\x65\n\nmax_tokens\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB+\xaa\xdf\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\tmaxTokens\x12\x84\x01\n\nallow_list\x18\x02 \x01(\x0b\x32\x35.cosmos.staking.v1beta1.StakeAuthorization.ValidatorsB,\xb2\xe7\xb0*\'cosmos-sdk/StakeAuthorization/AllowListH\x00R\tallowList\x12\x81\x01\n\tdeny_list\x18\x03 \x01(\x0b\x32\x35.cosmos.staking.v1beta1.StakeAuthorization.ValidatorsB+\xb2\xe7\xb0*&cosmos-sdk/StakeAuthorization/DenyListH\x00R\x08\x64\x65nyList\x12X\n\x12\x61uthorization_type\x18\x04 \x01(\x0e\x32).cosmos.staking.v1beta1.AuthorizationTypeR\x11\x61uthorizationType\x1a@\n\nValidators\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:H\xca\xb4-"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1d\x63osmos-sdk/StakeAuthorizationB\x0c\n\nvalidators*\xd2\x01\n\x11\x41uthorizationType\x12"\n\x1e\x41UTHORIZATION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x41UTHORIZATION_TYPE_DELEGATE\x10\x01\x12!\n\x1d\x41UTHORIZATION_TYPE_UNDELEGATE\x10\x02\x12!\n\x1d\x41UTHORIZATION_TYPE_REDELEGATE\x10\x03\x12\x32\n.AUTHORIZATION_TYPE_CANCEL_UNBONDING_DELEGATION\x10\x04\x42\xd0\x01\n\x1a\x63om.cosmos.staking.v1beta1B\nAuthzProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.authz_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.staking.v1beta1.authz_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\nAuthzProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' - _globals['_STAKEAUTHORIZATION_VALIDATORS'].fields_by_name['address']._loaded_options = None - _globals['_STAKEAUTHORIZATION_VALIDATORS'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_STAKEAUTHORIZATION'].fields_by_name['max_tokens']._loaded_options = None - _globals['_STAKEAUTHORIZATION'].fields_by_name['max_tokens']._serialized_options = b'\252\337\037\'github.com/cosmos/cosmos-sdk/types.Coin' - _globals['_STAKEAUTHORIZATION'].fields_by_name['allow_list']._loaded_options = None - _globals['_STAKEAUTHORIZATION'].fields_by_name['allow_list']._serialized_options = b'\262\347\260*\'cosmos-sdk/StakeAuthorization/AllowList' - _globals['_STAKEAUTHORIZATION'].fields_by_name['deny_list']._loaded_options = None - _globals['_STAKEAUTHORIZATION'].fields_by_name['deny_list']._serialized_options = b'\262\347\260*&cosmos-sdk/StakeAuthorization/DenyList' - _globals['_STAKEAUTHORIZATION']._loaded_options = None - _globals['_STAKEAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\035cosmos-sdk/StakeAuthorization' - _globals['_AUTHORIZATIONTYPE']._serialized_start=800 - _globals['_AUTHORIZATIONTYPE']._serialized_end=1010 - _globals['_STAKEAUTHORIZATION']._serialized_start=163 - _globals['_STAKEAUTHORIZATION']._serialized_end=797 - _globals['_STAKEAUTHORIZATION_VALIDATORS']._serialized_start=645 - _globals['_STAKEAUTHORIZATION_VALIDATORS']._serialized_end=709 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\032com.cosmos.staking.v1beta1B\nAuthzProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' + ) + _globals["_STAKEAUTHORIZATION_VALIDATORS"].fields_by_name["address"]._loaded_options = None + _globals["_STAKEAUTHORIZATION_VALIDATORS"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_STAKEAUTHORIZATION"].fields_by_name["max_tokens"]._loaded_options = None + _globals["_STAKEAUTHORIZATION"].fields_by_name[ + "max_tokens" + ]._serialized_options = b"\252\337\037'github.com/cosmos/cosmos-sdk/types.Coin" + _globals["_STAKEAUTHORIZATION"].fields_by_name["allow_list"]._loaded_options = None + _globals["_STAKEAUTHORIZATION"].fields_by_name[ + "allow_list" + ]._serialized_options = b"\262\347\260*'cosmos-sdk/StakeAuthorization/AllowList" + _globals["_STAKEAUTHORIZATION"].fields_by_name["deny_list"]._loaded_options = None + _globals["_STAKEAUTHORIZATION"].fields_by_name[ + "deny_list" + ]._serialized_options = b"\262\347\260*&cosmos-sdk/StakeAuthorization/DenyList" + _globals["_STAKEAUTHORIZATION"]._loaded_options = None + _globals["_STAKEAUTHORIZATION"]._serialized_options = ( + b'\312\264-"cosmos.authz.v1beta1.Authorization\212\347\260*\035cosmos-sdk/StakeAuthorization' + ) + _globals["_AUTHORIZATIONTYPE"]._serialized_start = 800 + _globals["_AUTHORIZATIONTYPE"]._serialized_end = 1010 + _globals["_STAKEAUTHORIZATION"]._serialized_start = 163 + _globals["_STAKEAUTHORIZATION"]._serialized_end = 797 + _globals["_STAKEAUTHORIZATION_VALIDATORS"]._serialized_start = 645 + _globals["_STAKEAUTHORIZATION_VALIDATORS"]._serialized_end = 709 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2_grpc.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/staking/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2.py index 4186446e..0202e242 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,34 +19,46 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/staking/v1beta1/genesis.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x97\x05\n\x0cGenesisState\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12Z\n\x10last_total_power\x18\x02 \x01(\x0c\x42\x30\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0elastTotalPower\x12i\n\x15last_validator_powers\x18\x03 \x03(\x0b\x32*.cosmos.staking.v1beta1.LastValidatorPowerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13lastValidatorPowers\x12L\n\nvalidators\x18\x04 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12O\n\x0b\x64\x65legations\x18\x05 \x03(\x0b\x32\".cosmos.staking.v1beta1.DelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65legations\x12k\n\x15unbonding_delegations\x18\x06 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14unbondingDelegations\x12U\n\rredelegations\x18\x07 \x03(\x0b\x32$.cosmos.staking.v1beta1.RedelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rredelegations\x12\x1a\n\x08\x65xported\x18\x08 \x01(\x08R\x08\x65xported\"h\n\x12LastValidatorPower\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05power\x18\x02 \x01(\x03R\x05power:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xd2\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x0cGenesisProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$cosmos/staking/v1beta1/genesis.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\x97\x05\n\x0cGenesisState\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12Z\n\x10last_total_power\x18\x02 \x01(\x0c\x42\x30\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0elastTotalPower\x12i\n\x15last_validator_powers\x18\x03 \x03(\x0b\x32*.cosmos.staking.v1beta1.LastValidatorPowerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13lastValidatorPowers\x12L\n\nvalidators\x18\x04 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12O\n\x0b\x64\x65legations\x18\x05 \x03(\x0b\x32".cosmos.staking.v1beta1.DelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65legations\x12k\n\x15unbonding_delegations\x18\x06 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14unbondingDelegations\x12U\n\rredelegations\x18\x07 \x03(\x0b\x32$.cosmos.staking.v1beta1.RedelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rredelegations\x12\x1a\n\x08\x65xported\x18\x08 \x01(\x08R\x08\x65xported"h\n\x12LastValidatorPower\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05power\x18\x02 \x01(\x03R\x05power:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xd2\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x0cGenesisProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.staking.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\014GenesisProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['last_total_power']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['last_total_power']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['last_validator_powers']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['last_validator_powers']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['validators']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['validators']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['delegations']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['delegations']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['unbonding_delegations']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['unbonding_delegations']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['redelegations']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['redelegations']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_LASTVALIDATORPOWER'].fields_by_name['address']._loaded_options = None - _globals['_LASTVALIDATORPOWER'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_LASTVALIDATORPOWER']._loaded_options = None - _globals['_LASTVALIDATORPOWER']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_GENESISSTATE']._serialized_start=171 - _globals['_GENESISSTATE']._serialized_end=834 - _globals['_LASTVALIDATORPOWER']._serialized_start=836 - _globals['_LASTVALIDATORPOWER']._serialized_end=940 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\032com.cosmos.staking.v1beta1B\014GenesisProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' + ) + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["last_total_power"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "last_total_power" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001" + ) + _globals["_GENESISSTATE"].fields_by_name["last_validator_powers"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "last_validator_powers" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["validators"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["validators"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["delegations"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["delegations"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["unbonding_delegations"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "unbonding_delegations" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["redelegations"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["redelegations"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_LASTVALIDATORPOWER"].fields_by_name["address"]._loaded_options = None + _globals["_LASTVALIDATORPOWER"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_LASTVALIDATORPOWER"]._loaded_options = None + _globals["_LASTVALIDATORPOWER"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_GENESISSTATE"]._serialized_start = 171 + _globals["_GENESISSTATE"]._serialized_end = 834 + _globals["_LASTVALIDATORPOWER"]._serialized_start = 836 + _globals["_LASTVALIDATORPOWER"]._serialized_end = 940 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/staking/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/query_pb2.py index 971db76b..0c501d67 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/query_pb2.py @@ -7,12 +7,15 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.staking.v1beta1 import staking_pb2 as cosmos_dot_staking_dot_v1beta1_dot_staking__pb2 @@ -21,166 +24,260 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/staking/v1beta1/query.proto\x12\x16\x63osmos.staking.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x11\x61mino/amino.proto\"x\n\x16QueryValidatorsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb0\x01\n\x17QueryValidatorsResponse\x12L\n\nvalidators\x18\x01 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"a\n\x15QueryValidatorRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr\"d\n\x16QueryValidatorResponse\x12J\n\tvalidator\x18\x01 \x01(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tvalidator\"\xb4\x01\n QueryValidatorDelegationsRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xed\x01\n!QueryValidatorDelegationsResponse\x12\x7f\n\x14\x64\x65legation_responses\x18\x01 \x03(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseB \xc8\xde\x1f\x00\xaa\xdf\x1f\x13\x44\x65legationResponses\xa8\xe7\xb0*\x01R\x13\x64\x65legationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xbd\x01\n)QueryValidatorUnbondingDelegationsRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xde\x01\n*QueryValidatorUnbondingDelegationsResponse\x12g\n\x13unbonding_responses\x18\x01 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12unbondingResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xad\x01\n\x16QueryDelegationRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"v\n\x17QueryDelegationResponse\x12[\n\x13\x64\x65legation_response\x18\x01 \x01(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseR\x12\x64\x65legationResponse\"\xb6\x01\n\x1fQueryUnbondingDelegationRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"r\n QueryUnbondingDelegationResponse\x12N\n\x06unbond\x18\x01 \x01(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06unbond\"\xb5\x01\n QueryDelegatorDelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd6\x01\n!QueryDelegatorDelegationsResponse\x12h\n\x14\x64\x65legation_responses\x18\x01 \x03(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x64\x65legationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xbe\x01\n)QueryDelegatorUnbondingDelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xde\x01\n*QueryDelegatorUnbondingDelegationsResponse\x12g\n\x13unbonding_responses\x18\x01 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12unbondingResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xbe\x02\n\x19QueryRedelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\x12src_validator_addr\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10srcValidatorAddr\x12\x46\n\x12\x64st_validator_addr\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64stValidatorAddr\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd5\x01\n\x1aQueryRedelegationsResponse\x12n\n\x16redelegation_responses\x18\x01 \x03(\x0b\x32,.cosmos.staking.v1beta1.RedelegationResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15redelegationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xb4\x01\n\x1fQueryDelegatorValidatorsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb9\x01\n QueryDelegatorValidatorsResponse\x12L\n\nvalidators\x18\x01 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xb5\x01\n\x1eQueryDelegatorValidatorRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"m\n\x1fQueryDelegatorValidatorResponse\x12J\n\tvalidator\x18\x01 \x01(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tvalidator\"4\n\x1aQueryHistoricalInfoRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\"Y\n\x1bQueryHistoricalInfoResponse\x12:\n\x04hist\x18\x01 \x01(\x0b\x32&.cosmos.staking.v1beta1.HistoricalInfoR\x04hist\"\x12\n\x10QueryPoolRequest\"P\n\x11QueryPoolResponse\x12;\n\x04pool\x18\x01 \x01(\x0b\x32\x1c.cosmos.staking.v1beta1.PoolB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04pool\"\x14\n\x12QueryParamsRequest\"X\n\x13QueryParamsResponse\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params2\xb0\x16\n\x05Query\x12\x9e\x01\n\nValidators\x12..cosmos.staking.v1beta1.QueryValidatorsRequest\x1a/.cosmos.staking.v1beta1.QueryValidatorsResponse\"/\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02$\x12\"/cosmos/staking/v1beta1/validators\x12\xac\x01\n\tValidator\x12-.cosmos.staking.v1beta1.QueryValidatorRequest\x1a..cosmos.staking.v1beta1.QueryValidatorResponse\"@\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/staking/v1beta1/validators/{validator_addr}\x12\xd9\x01\n\x14ValidatorDelegations\x12\x38.cosmos.staking.v1beta1.QueryValidatorDelegationsRequest\x1a\x39.cosmos.staking.v1beta1.QueryValidatorDelegationsResponse\"L\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x41\x12?/cosmos/staking/v1beta1/validators/{validator_addr}/delegations\x12\xfe\x01\n\x1dValidatorUnbondingDelegations\x12\x41.cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest\x1a\x42.cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse\"V\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02K\x12I/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations\x12\xcc\x01\n\nDelegation\x12..cosmos.staking.v1beta1.QueryDelegationRequest\x1a/.cosmos.staking.v1beta1.QueryDelegationResponse\"]\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02R\x12P/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}\x12\xfc\x01\n\x13UnbondingDelegation\x12\x37.cosmos.staking.v1beta1.QueryUnbondingDelegationRequest\x1a\x38.cosmos.staking.v1beta1.QueryUnbondingDelegationResponse\"r\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02g\x12\x65/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation\x12\xce\x01\n\x14\x44\x65legatorDelegations\x12\x38.cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest\x1a\x39.cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse\"A\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/staking/v1beta1/delegations/{delegator_addr}\x12\xfe\x01\n\x1d\x44\x65legatorUnbondingDelegations\x12\x41.cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest\x1a\x42.cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse\"V\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02K\x12I/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations\x12\xc6\x01\n\rRedelegations\x12\x31.cosmos.staking.v1beta1.QueryRedelegationsRequest\x1a\x32.cosmos.staking.v1beta1.QueryRedelegationsResponse\"N\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x43\x12\x41/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations\x12\xd5\x01\n\x13\x44\x65legatorValidators\x12\x37.cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest\x1a\x38.cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse\"K\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02@\x12>/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators\x12\xe3\x01\n\x12\x44\x65legatorValidator\x12\x36.cosmos.staking.v1beta1.QueryDelegatorValidatorRequest\x1a\x37.cosmos.staking.v1beta1.QueryDelegatorValidatorResponse\"\\\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02Q\x12O/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}\x12\xb8\x01\n\x0eHistoricalInfo\x12\x32.cosmos.staking.v1beta1.QueryHistoricalInfoRequest\x1a\x33.cosmos.staking.v1beta1.QueryHistoricalInfoResponse\"=\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/staking/v1beta1/historical_info/{height}\x12\x86\x01\n\x04Pool\x12(.cosmos.staking.v1beta1.QueryPoolRequest\x1a).cosmos.staking.v1beta1.QueryPoolResponse\")\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1e\x12\x1c/cosmos/staking/v1beta1/pool\x12\x8e\x01\n\x06Params\x12*.cosmos.staking.v1beta1.QueryParamsRequest\x1a+.cosmos.staking.v1beta1.QueryParamsResponse\"+\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02 \x12\x1e/cosmos/staking/v1beta1/paramsB\xd0\x01\n\x1a\x63om.cosmos.staking.v1beta1B\nQueryProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n"cosmos/staking/v1beta1/query.proto\x12\x16\x63osmos.staking.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x11\x61mino/amino.proto"x\n\x16QueryValidatorsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xb0\x01\n\x17QueryValidatorsResponse\x12L\n\nvalidators\x18\x01 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"a\n\x15QueryValidatorRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr"d\n\x16QueryValidatorResponse\x12J\n\tvalidator\x18\x01 \x01(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tvalidator"\xb4\x01\n QueryValidatorDelegationsRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xed\x01\n!QueryValidatorDelegationsResponse\x12\x7f\n\x14\x64\x65legation_responses\x18\x01 \x03(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseB \xc8\xde\x1f\x00\xaa\xdf\x1f\x13\x44\x65legationResponses\xa8\xe7\xb0*\x01R\x13\x64\x65legationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xbd\x01\n)QueryValidatorUnbondingDelegationsRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xde\x01\n*QueryValidatorUnbondingDelegationsResponse\x12g\n\x13unbonding_responses\x18\x01 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12unbondingResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xad\x01\n\x16QueryDelegationRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"v\n\x17QueryDelegationResponse\x12[\n\x13\x64\x65legation_response\x18\x01 \x01(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseR\x12\x64\x65legationResponse"\xb6\x01\n\x1fQueryUnbondingDelegationRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"r\n QueryUnbondingDelegationResponse\x12N\n\x06unbond\x18\x01 \x01(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06unbond"\xb5\x01\n QueryDelegatorDelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xd6\x01\n!QueryDelegatorDelegationsResponse\x12h\n\x14\x64\x65legation_responses\x18\x01 \x03(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x64\x65legationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xbe\x01\n)QueryDelegatorUnbondingDelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xde\x01\n*QueryDelegatorUnbondingDelegationsResponse\x12g\n\x13unbonding_responses\x18\x01 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12unbondingResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xbe\x02\n\x19QueryRedelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\x12src_validator_addr\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10srcValidatorAddr\x12\x46\n\x12\x64st_validator_addr\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64stValidatorAddr\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xd5\x01\n\x1aQueryRedelegationsResponse\x12n\n\x16redelegation_responses\x18\x01 \x03(\x0b\x32,.cosmos.staking.v1beta1.RedelegationResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15redelegationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xb4\x01\n\x1fQueryDelegatorValidatorsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xb9\x01\n QueryDelegatorValidatorsResponse\x12L\n\nvalidators\x18\x01 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xb5\x01\n\x1eQueryDelegatorValidatorRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"m\n\x1fQueryDelegatorValidatorResponse\x12J\n\tvalidator\x18\x01 \x01(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tvalidator"4\n\x1aQueryHistoricalInfoRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height"Y\n\x1bQueryHistoricalInfoResponse\x12:\n\x04hist\x18\x01 \x01(\x0b\x32&.cosmos.staking.v1beta1.HistoricalInfoR\x04hist"\x12\n\x10QueryPoolRequest"P\n\x11QueryPoolResponse\x12;\n\x04pool\x18\x01 \x01(\x0b\x32\x1c.cosmos.staking.v1beta1.PoolB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04pool"\x14\n\x12QueryParamsRequest"X\n\x13QueryParamsResponse\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params2\xb0\x16\n\x05Query\x12\x9e\x01\n\nValidators\x12..cosmos.staking.v1beta1.QueryValidatorsRequest\x1a/.cosmos.staking.v1beta1.QueryValidatorsResponse"/\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02$\x12"/cosmos/staking/v1beta1/validators\x12\xac\x01\n\tValidator\x12-.cosmos.staking.v1beta1.QueryValidatorRequest\x1a..cosmos.staking.v1beta1.QueryValidatorResponse"@\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/staking/v1beta1/validators/{validator_addr}\x12\xd9\x01\n\x14ValidatorDelegations\x12\x38.cosmos.staking.v1beta1.QueryValidatorDelegationsRequest\x1a\x39.cosmos.staking.v1beta1.QueryValidatorDelegationsResponse"L\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x41\x12?/cosmos/staking/v1beta1/validators/{validator_addr}/delegations\x12\xfe\x01\n\x1dValidatorUnbondingDelegations\x12\x41.cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest\x1a\x42.cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse"V\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02K\x12I/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations\x12\xcc\x01\n\nDelegation\x12..cosmos.staking.v1beta1.QueryDelegationRequest\x1a/.cosmos.staking.v1beta1.QueryDelegationResponse"]\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02R\x12P/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}\x12\xfc\x01\n\x13UnbondingDelegation\x12\x37.cosmos.staking.v1beta1.QueryUnbondingDelegationRequest\x1a\x38.cosmos.staking.v1beta1.QueryUnbondingDelegationResponse"r\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02g\x12\x65/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation\x12\xce\x01\n\x14\x44\x65legatorDelegations\x12\x38.cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest\x1a\x39.cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse"A\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/staking/v1beta1/delegations/{delegator_addr}\x12\xfe\x01\n\x1d\x44\x65legatorUnbondingDelegations\x12\x41.cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest\x1a\x42.cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse"V\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02K\x12I/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations\x12\xc6\x01\n\rRedelegations\x12\x31.cosmos.staking.v1beta1.QueryRedelegationsRequest\x1a\x32.cosmos.staking.v1beta1.QueryRedelegationsResponse"N\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x43\x12\x41/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations\x12\xd5\x01\n\x13\x44\x65legatorValidators\x12\x37.cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest\x1a\x38.cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse"K\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02@\x12>/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators\x12\xe3\x01\n\x12\x44\x65legatorValidator\x12\x36.cosmos.staking.v1beta1.QueryDelegatorValidatorRequest\x1a\x37.cosmos.staking.v1beta1.QueryDelegatorValidatorResponse"\\\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02Q\x12O/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}\x12\xb8\x01\n\x0eHistoricalInfo\x12\x32.cosmos.staking.v1beta1.QueryHistoricalInfoRequest\x1a\x33.cosmos.staking.v1beta1.QueryHistoricalInfoResponse"=\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/staking/v1beta1/historical_info/{height}\x12\x86\x01\n\x04Pool\x12(.cosmos.staking.v1beta1.QueryPoolRequest\x1a).cosmos.staking.v1beta1.QueryPoolResponse")\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1e\x12\x1c/cosmos/staking/v1beta1/pool\x12\x8e\x01\n\x06Params\x12*.cosmos.staking.v1beta1.QueryParamsRequest\x1a+.cosmos.staking.v1beta1.QueryParamsResponse"+\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02 \x12\x1e/cosmos/staking/v1beta1/paramsB\xd0\x01\n\x1a\x63om.cosmos.staking.v1beta1B\nQueryProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.staking.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\nQueryProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' - _globals['_QUERYVALIDATORSRESPONSE'].fields_by_name['validators']._loaded_options = None - _globals['_QUERYVALIDATORSRESPONSE'].fields_by_name['validators']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYVALIDATORREQUEST'].fields_by_name['validator_addr']._loaded_options = None - _globals['_QUERYVALIDATORREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYVALIDATORRESPONSE'].fields_by_name['validator']._loaded_options = None - _globals['_QUERYVALIDATORRESPONSE'].fields_by_name['validator']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYVALIDATORDELEGATIONSREQUEST'].fields_by_name['validator_addr']._loaded_options = None - _globals['_QUERYVALIDATORDELEGATIONSREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYVALIDATORDELEGATIONSRESPONSE'].fields_by_name['delegation_responses']._loaded_options = None - _globals['_QUERYVALIDATORDELEGATIONSRESPONSE'].fields_by_name['delegation_responses']._serialized_options = b'\310\336\037\000\252\337\037\023DelegationResponses\250\347\260*\001' - _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST'].fields_by_name['validator_addr']._loaded_options = None - _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE'].fields_by_name['unbonding_responses']._loaded_options = None - _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE'].fields_by_name['unbonding_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDELEGATIONREQUEST'].fields_by_name['delegator_addr']._loaded_options = None - _globals['_QUERYDELEGATIONREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATIONREQUEST'].fields_by_name['validator_addr']._loaded_options = None - _globals['_QUERYDELEGATIONREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYDELEGATIONREQUEST']._loaded_options = None - _globals['_QUERYDELEGATIONREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYUNBONDINGDELEGATIONREQUEST'].fields_by_name['delegator_addr']._loaded_options = None - _globals['_QUERYUNBONDINGDELEGATIONREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYUNBONDINGDELEGATIONREQUEST'].fields_by_name['validator_addr']._loaded_options = None - _globals['_QUERYUNBONDINGDELEGATIONREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._loaded_options = None - _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYUNBONDINGDELEGATIONRESPONSE'].fields_by_name['unbond']._loaded_options = None - _globals['_QUERYUNBONDINGDELEGATIONRESPONSE'].fields_by_name['unbond']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDELEGATORDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._loaded_options = None - _globals['_QUERYDELEGATORDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._loaded_options = None - _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATORDELEGATIONSRESPONSE'].fields_by_name['delegation_responses']._loaded_options = None - _globals['_QUERYDELEGATORDELEGATIONSRESPONSE'].fields_by_name['delegation_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._loaded_options = None - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._loaded_options = None - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE'].fields_by_name['unbonding_responses']._loaded_options = None - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE'].fields_by_name['unbonding_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._loaded_options = None - _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['src_validator_addr']._loaded_options = None - _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['src_validator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['dst_validator_addr']._loaded_options = None - _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['dst_validator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYREDELEGATIONSREQUEST']._loaded_options = None - _globals['_QUERYREDELEGATIONSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYREDELEGATIONSRESPONSE'].fields_by_name['redelegation_responses']._loaded_options = None - _globals['_QUERYREDELEGATIONSRESPONSE'].fields_by_name['redelegation_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDELEGATORVALIDATORSREQUEST'].fields_by_name['delegator_addr']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORSREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATORVALIDATORSREQUEST']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATORVALIDATORSRESPONSE'].fields_by_name['validators']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORSRESPONSE'].fields_by_name['validators']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYDELEGATORVALIDATORREQUEST'].fields_by_name['delegator_addr']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYDELEGATORVALIDATORREQUEST'].fields_by_name['validator_addr']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_QUERYDELEGATORVALIDATORREQUEST']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_QUERYDELEGATORVALIDATORRESPONSE'].fields_by_name['validator']._loaded_options = None - _globals['_QUERYDELEGATORVALIDATORRESPONSE'].fields_by_name['validator']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYPOOLRESPONSE'].fields_by_name['pool']._loaded_options = None - _globals['_QUERYPOOLRESPONSE'].fields_by_name['pool']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERY'].methods_by_name['Validators']._loaded_options = None - _globals['_QUERY'].methods_by_name['Validators']._serialized_options = b'\210\347\260*\001\202\323\344\223\002$\022\"/cosmos/staking/v1beta1/validators' - _globals['_QUERY'].methods_by_name['Validator']._loaded_options = None - _globals['_QUERY'].methods_by_name['Validator']._serialized_options = b'\210\347\260*\001\202\323\344\223\0025\0223/cosmos/staking/v1beta1/validators/{validator_addr}' - _globals['_QUERY'].methods_by_name['ValidatorDelegations']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValidatorDelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\002A\022?/cosmos/staking/v1beta1/validators/{validator_addr}/delegations' - _globals['_QUERY'].methods_by_name['ValidatorUnbondingDelegations']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValidatorUnbondingDelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\002K\022I/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations' - _globals['_QUERY'].methods_by_name['Delegation']._loaded_options = None - _globals['_QUERY'].methods_by_name['Delegation']._serialized_options = b'\210\347\260*\001\202\323\344\223\002R\022P/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}' - _globals['_QUERY'].methods_by_name['UnbondingDelegation']._loaded_options = None - _globals['_QUERY'].methods_by_name['UnbondingDelegation']._serialized_options = b'\210\347\260*\001\202\323\344\223\002g\022e/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation' - _globals['_QUERY'].methods_by_name['DelegatorDelegations']._loaded_options = None - _globals['_QUERY'].methods_by_name['DelegatorDelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\0026\0224/cosmos/staking/v1beta1/delegations/{delegator_addr}' - _globals['_QUERY'].methods_by_name['DelegatorUnbondingDelegations']._loaded_options = None - _globals['_QUERY'].methods_by_name['DelegatorUnbondingDelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\002K\022I/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations' - _globals['_QUERY'].methods_by_name['Redelegations']._loaded_options = None - _globals['_QUERY'].methods_by_name['Redelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\002C\022A/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations' - _globals['_QUERY'].methods_by_name['DelegatorValidators']._loaded_options = None - _globals['_QUERY'].methods_by_name['DelegatorValidators']._serialized_options = b'\210\347\260*\001\202\323\344\223\002@\022>/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators' - _globals['_QUERY'].methods_by_name['DelegatorValidator']._loaded_options = None - _globals['_QUERY'].methods_by_name['DelegatorValidator']._serialized_options = b'\210\347\260*\001\202\323\344\223\002Q\022O/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}' - _globals['_QUERY'].methods_by_name['HistoricalInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['HistoricalInfo']._serialized_options = b'\210\347\260*\001\202\323\344\223\0022\0220/cosmos/staking/v1beta1/historical_info/{height}' - _globals['_QUERY'].methods_by_name['Pool']._loaded_options = None - _globals['_QUERY'].methods_by_name['Pool']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\036\022\034/cosmos/staking/v1beta1/pool' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\210\347\260*\001\202\323\344\223\002 \022\036/cosmos/staking/v1beta1/params' - _globals['_QUERYVALIDATORSREQUEST']._serialized_start=271 - _globals['_QUERYVALIDATORSREQUEST']._serialized_end=391 - _globals['_QUERYVALIDATORSRESPONSE']._serialized_start=394 - _globals['_QUERYVALIDATORSRESPONSE']._serialized_end=570 - _globals['_QUERYVALIDATORREQUEST']._serialized_start=572 - _globals['_QUERYVALIDATORREQUEST']._serialized_end=669 - _globals['_QUERYVALIDATORRESPONSE']._serialized_start=671 - _globals['_QUERYVALIDATORRESPONSE']._serialized_end=771 - _globals['_QUERYVALIDATORDELEGATIONSREQUEST']._serialized_start=774 - _globals['_QUERYVALIDATORDELEGATIONSREQUEST']._serialized_end=954 - _globals['_QUERYVALIDATORDELEGATIONSRESPONSE']._serialized_start=957 - _globals['_QUERYVALIDATORDELEGATIONSRESPONSE']._serialized_end=1194 - _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST']._serialized_start=1197 - _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST']._serialized_end=1386 - _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE']._serialized_start=1389 - _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE']._serialized_end=1611 - _globals['_QUERYDELEGATIONREQUEST']._serialized_start=1614 - _globals['_QUERYDELEGATIONREQUEST']._serialized_end=1787 - _globals['_QUERYDELEGATIONRESPONSE']._serialized_start=1789 - _globals['_QUERYDELEGATIONRESPONSE']._serialized_end=1907 - _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._serialized_start=1910 - _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._serialized_end=2092 - _globals['_QUERYUNBONDINGDELEGATIONRESPONSE']._serialized_start=2094 - _globals['_QUERYUNBONDINGDELEGATIONRESPONSE']._serialized_end=2208 - _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._serialized_start=2211 - _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._serialized_end=2392 - _globals['_QUERYDELEGATORDELEGATIONSRESPONSE']._serialized_start=2395 - _globals['_QUERYDELEGATORDELEGATIONSRESPONSE']._serialized_end=2609 - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._serialized_start=2612 - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._serialized_end=2802 - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE']._serialized_start=2805 - _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE']._serialized_end=3027 - _globals['_QUERYREDELEGATIONSREQUEST']._serialized_start=3030 - _globals['_QUERYREDELEGATIONSREQUEST']._serialized_end=3348 - _globals['_QUERYREDELEGATIONSRESPONSE']._serialized_start=3351 - _globals['_QUERYREDELEGATIONSRESPONSE']._serialized_end=3564 - _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_start=3567 - _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_end=3747 - _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_start=3750 - _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_end=3935 - _globals['_QUERYDELEGATORVALIDATORREQUEST']._serialized_start=3938 - _globals['_QUERYDELEGATORVALIDATORREQUEST']._serialized_end=4119 - _globals['_QUERYDELEGATORVALIDATORRESPONSE']._serialized_start=4121 - _globals['_QUERYDELEGATORVALIDATORRESPONSE']._serialized_end=4230 - _globals['_QUERYHISTORICALINFOREQUEST']._serialized_start=4232 - _globals['_QUERYHISTORICALINFOREQUEST']._serialized_end=4284 - _globals['_QUERYHISTORICALINFORESPONSE']._serialized_start=4286 - _globals['_QUERYHISTORICALINFORESPONSE']._serialized_end=4375 - _globals['_QUERYPOOLREQUEST']._serialized_start=4377 - _globals['_QUERYPOOLREQUEST']._serialized_end=4395 - _globals['_QUERYPOOLRESPONSE']._serialized_start=4397 - _globals['_QUERYPOOLRESPONSE']._serialized_end=4477 - _globals['_QUERYPARAMSREQUEST']._serialized_start=4479 - _globals['_QUERYPARAMSREQUEST']._serialized_end=4499 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=4501 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=4589 - _globals['_QUERY']._serialized_start=4592 - _globals['_QUERY']._serialized_end=7456 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\032com.cosmos.staking.v1beta1B\nQueryProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' + ) + _globals["_QUERYVALIDATORSRESPONSE"].fields_by_name["validators"]._loaded_options = None + _globals["_QUERYVALIDATORSRESPONSE"].fields_by_name[ + "validators" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYVALIDATORREQUEST"].fields_by_name["validator_addr"]._loaded_options = None + _globals["_QUERYVALIDATORREQUEST"].fields_by_name[ + "validator_addr" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_QUERYVALIDATORRESPONSE"].fields_by_name["validator"]._loaded_options = None + _globals["_QUERYVALIDATORRESPONSE"].fields_by_name[ + "validator" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYVALIDATORDELEGATIONSREQUEST"].fields_by_name["validator_addr"]._loaded_options = None + _globals["_QUERYVALIDATORDELEGATIONSREQUEST"].fields_by_name[ + "validator_addr" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_QUERYVALIDATORDELEGATIONSRESPONSE"].fields_by_name["delegation_responses"]._loaded_options = None + _globals["_QUERYVALIDATORDELEGATIONSRESPONSE"].fields_by_name[ + "delegation_responses" + ]._serialized_options = b"\310\336\037\000\252\337\037\023DelegationResponses\250\347\260*\001" + _globals["_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST"].fields_by_name["validator_addr"]._loaded_options = None + _globals["_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST"].fields_by_name[ + "validator_addr" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE"].fields_by_name["unbonding_responses"]._loaded_options = None + _globals["_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE"].fields_by_name[ + "unbonding_responses" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYDELEGATIONREQUEST"].fields_by_name["delegator_addr"]._loaded_options = None + _globals["_QUERYDELEGATIONREQUEST"].fields_by_name[ + "delegator_addr" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYDELEGATIONREQUEST"].fields_by_name["validator_addr"]._loaded_options = None + _globals["_QUERYDELEGATIONREQUEST"].fields_by_name[ + "validator_addr" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_QUERYDELEGATIONREQUEST"]._loaded_options = None + _globals["_QUERYDELEGATIONREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYUNBONDINGDELEGATIONREQUEST"].fields_by_name["delegator_addr"]._loaded_options = None + _globals["_QUERYUNBONDINGDELEGATIONREQUEST"].fields_by_name[ + "delegator_addr" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYUNBONDINGDELEGATIONREQUEST"].fields_by_name["validator_addr"]._loaded_options = None + _globals["_QUERYUNBONDINGDELEGATIONREQUEST"].fields_by_name[ + "validator_addr" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_QUERYUNBONDINGDELEGATIONREQUEST"]._loaded_options = None + _globals["_QUERYUNBONDINGDELEGATIONREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYUNBONDINGDELEGATIONRESPONSE"].fields_by_name["unbond"]._loaded_options = None + _globals["_QUERYUNBONDINGDELEGATIONRESPONSE"].fields_by_name[ + "unbond" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYDELEGATORDELEGATIONSREQUEST"].fields_by_name["delegator_addr"]._loaded_options = None + _globals["_QUERYDELEGATORDELEGATIONSREQUEST"].fields_by_name[ + "delegator_addr" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYDELEGATORDELEGATIONSREQUEST"]._loaded_options = None + _globals["_QUERYDELEGATORDELEGATIONSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYDELEGATORDELEGATIONSRESPONSE"].fields_by_name["delegation_responses"]._loaded_options = None + _globals["_QUERYDELEGATORDELEGATIONSRESPONSE"].fields_by_name[ + "delegation_responses" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST"].fields_by_name["delegator_addr"]._loaded_options = None + _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST"].fields_by_name[ + "delegator_addr" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST"]._loaded_options = None + _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE"].fields_by_name["unbonding_responses"]._loaded_options = None + _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE"].fields_by_name[ + "unbonding_responses" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYREDELEGATIONSREQUEST"].fields_by_name["delegator_addr"]._loaded_options = None + _globals["_QUERYREDELEGATIONSREQUEST"].fields_by_name[ + "delegator_addr" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYREDELEGATIONSREQUEST"].fields_by_name["src_validator_addr"]._loaded_options = None + _globals["_QUERYREDELEGATIONSREQUEST"].fields_by_name[ + "src_validator_addr" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYREDELEGATIONSREQUEST"].fields_by_name["dst_validator_addr"]._loaded_options = None + _globals["_QUERYREDELEGATIONSREQUEST"].fields_by_name[ + "dst_validator_addr" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYREDELEGATIONSREQUEST"]._loaded_options = None + _globals["_QUERYREDELEGATIONSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYREDELEGATIONSRESPONSE"].fields_by_name["redelegation_responses"]._loaded_options = None + _globals["_QUERYREDELEGATIONSRESPONSE"].fields_by_name[ + "redelegation_responses" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYDELEGATORVALIDATORSREQUEST"].fields_by_name["delegator_addr"]._loaded_options = None + _globals["_QUERYDELEGATORVALIDATORSREQUEST"].fields_by_name[ + "delegator_addr" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYDELEGATORVALIDATORSREQUEST"]._loaded_options = None + _globals["_QUERYDELEGATORVALIDATORSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYDELEGATORVALIDATORSRESPONSE"].fields_by_name["validators"]._loaded_options = None + _globals["_QUERYDELEGATORVALIDATORSRESPONSE"].fields_by_name[ + "validators" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYDELEGATORVALIDATORREQUEST"].fields_by_name["delegator_addr"]._loaded_options = None + _globals["_QUERYDELEGATORVALIDATORREQUEST"].fields_by_name[ + "delegator_addr" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYDELEGATORVALIDATORREQUEST"].fields_by_name["validator_addr"]._loaded_options = None + _globals["_QUERYDELEGATORVALIDATORREQUEST"].fields_by_name[ + "validator_addr" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_QUERYDELEGATORVALIDATORREQUEST"]._loaded_options = None + _globals["_QUERYDELEGATORVALIDATORREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_QUERYDELEGATORVALIDATORRESPONSE"].fields_by_name["validator"]._loaded_options = None + _globals["_QUERYDELEGATORVALIDATORRESPONSE"].fields_by_name[ + "validator" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYPOOLRESPONSE"].fields_by_name["pool"]._loaded_options = None + _globals["_QUERYPOOLRESPONSE"].fields_by_name["pool"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERY"].methods_by_name["Validators"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Validators" + ]._serialized_options = b'\210\347\260*\001\202\323\344\223\002$\022"/cosmos/staking/v1beta1/validators' + _globals["_QUERY"].methods_by_name["Validator"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Validator" + ]._serialized_options = ( + b"\210\347\260*\001\202\323\344\223\0025\0223/cosmos/staking/v1beta1/validators/{validator_addr}" + ) + _globals["_QUERY"].methods_by_name["ValidatorDelegations"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ValidatorDelegations" + ]._serialized_options = ( + b"\210\347\260*\001\202\323\344\223\002A\022?/cosmos/staking/v1beta1/validators/{validator_addr}/delegations" + ) + _globals["_QUERY"].methods_by_name["ValidatorUnbondingDelegations"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ValidatorUnbondingDelegations" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002K\022I/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations" + _globals["_QUERY"].methods_by_name["Delegation"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Delegation" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002R\022P/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}" + _globals["_QUERY"].methods_by_name["UnbondingDelegation"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "UnbondingDelegation" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002g\022e/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation" + _globals["_QUERY"].methods_by_name["DelegatorDelegations"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DelegatorDelegations" + ]._serialized_options = ( + b"\210\347\260*\001\202\323\344\223\0026\0224/cosmos/staking/v1beta1/delegations/{delegator_addr}" + ) + _globals["_QUERY"].methods_by_name["DelegatorUnbondingDelegations"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DelegatorUnbondingDelegations" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002K\022I/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations" + _globals["_QUERY"].methods_by_name["Redelegations"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Redelegations" + ]._serialized_options = ( + b"\210\347\260*\001\202\323\344\223\002C\022A/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations" + ) + _globals["_QUERY"].methods_by_name["DelegatorValidators"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DelegatorValidators" + ]._serialized_options = ( + b"\210\347\260*\001\202\323\344\223\002@\022>/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators" + ) + _globals["_QUERY"].methods_by_name["DelegatorValidator"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DelegatorValidator" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002Q\022O/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}" + _globals["_QUERY"].methods_by_name["HistoricalInfo"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "HistoricalInfo" + ]._serialized_options = ( + b"\210\347\260*\001\202\323\344\223\0022\0220/cosmos/staking/v1beta1/historical_info/{height}" + ) + _globals["_QUERY"].methods_by_name["Pool"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Pool" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002\036\022\034/cosmos/staking/v1beta1/pool" + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002 \022\036/cosmos/staking/v1beta1/params" + _globals["_QUERYVALIDATORSREQUEST"]._serialized_start = 271 + _globals["_QUERYVALIDATORSREQUEST"]._serialized_end = 391 + _globals["_QUERYVALIDATORSRESPONSE"]._serialized_start = 394 + _globals["_QUERYVALIDATORSRESPONSE"]._serialized_end = 570 + _globals["_QUERYVALIDATORREQUEST"]._serialized_start = 572 + _globals["_QUERYVALIDATORREQUEST"]._serialized_end = 669 + _globals["_QUERYVALIDATORRESPONSE"]._serialized_start = 671 + _globals["_QUERYVALIDATORRESPONSE"]._serialized_end = 771 + _globals["_QUERYVALIDATORDELEGATIONSREQUEST"]._serialized_start = 774 + _globals["_QUERYVALIDATORDELEGATIONSREQUEST"]._serialized_end = 954 + _globals["_QUERYVALIDATORDELEGATIONSRESPONSE"]._serialized_start = 957 + _globals["_QUERYVALIDATORDELEGATIONSRESPONSE"]._serialized_end = 1194 + _globals["_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST"]._serialized_start = 1197 + _globals["_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST"]._serialized_end = 1386 + _globals["_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE"]._serialized_start = 1389 + _globals["_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE"]._serialized_end = 1611 + _globals["_QUERYDELEGATIONREQUEST"]._serialized_start = 1614 + _globals["_QUERYDELEGATIONREQUEST"]._serialized_end = 1787 + _globals["_QUERYDELEGATIONRESPONSE"]._serialized_start = 1789 + _globals["_QUERYDELEGATIONRESPONSE"]._serialized_end = 1907 + _globals["_QUERYUNBONDINGDELEGATIONREQUEST"]._serialized_start = 1910 + _globals["_QUERYUNBONDINGDELEGATIONREQUEST"]._serialized_end = 2092 + _globals["_QUERYUNBONDINGDELEGATIONRESPONSE"]._serialized_start = 2094 + _globals["_QUERYUNBONDINGDELEGATIONRESPONSE"]._serialized_end = 2208 + _globals["_QUERYDELEGATORDELEGATIONSREQUEST"]._serialized_start = 2211 + _globals["_QUERYDELEGATORDELEGATIONSREQUEST"]._serialized_end = 2392 + _globals["_QUERYDELEGATORDELEGATIONSRESPONSE"]._serialized_start = 2395 + _globals["_QUERYDELEGATORDELEGATIONSRESPONSE"]._serialized_end = 2609 + _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST"]._serialized_start = 2612 + _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST"]._serialized_end = 2802 + _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE"]._serialized_start = 2805 + _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE"]._serialized_end = 3027 + _globals["_QUERYREDELEGATIONSREQUEST"]._serialized_start = 3030 + _globals["_QUERYREDELEGATIONSREQUEST"]._serialized_end = 3348 + _globals["_QUERYREDELEGATIONSRESPONSE"]._serialized_start = 3351 + _globals["_QUERYREDELEGATIONSRESPONSE"]._serialized_end = 3564 + _globals["_QUERYDELEGATORVALIDATORSREQUEST"]._serialized_start = 3567 + _globals["_QUERYDELEGATORVALIDATORSREQUEST"]._serialized_end = 3747 + _globals["_QUERYDELEGATORVALIDATORSRESPONSE"]._serialized_start = 3750 + _globals["_QUERYDELEGATORVALIDATORSRESPONSE"]._serialized_end = 3935 + _globals["_QUERYDELEGATORVALIDATORREQUEST"]._serialized_start = 3938 + _globals["_QUERYDELEGATORVALIDATORREQUEST"]._serialized_end = 4119 + _globals["_QUERYDELEGATORVALIDATORRESPONSE"]._serialized_start = 4121 + _globals["_QUERYDELEGATORVALIDATORRESPONSE"]._serialized_end = 4230 + _globals["_QUERYHISTORICALINFOREQUEST"]._serialized_start = 4232 + _globals["_QUERYHISTORICALINFOREQUEST"]._serialized_end = 4284 + _globals["_QUERYHISTORICALINFORESPONSE"]._serialized_start = 4286 + _globals["_QUERYHISTORICALINFORESPONSE"]._serialized_end = 4375 + _globals["_QUERYPOOLREQUEST"]._serialized_start = 4377 + _globals["_QUERYPOOLREQUEST"]._serialized_end = 4395 + _globals["_QUERYPOOLRESPONSE"]._serialized_start = 4397 + _globals["_QUERYPOOLRESPONSE"]._serialized_end = 4477 + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 4479 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 4499 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 4501 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 4589 + _globals["_QUERY"]._serialized_start = 4592 + _globals["_QUERY"]._serialized_end = 7456 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/query_pb2_grpc.py index 9ed468d7..4b0a54f7 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,80 +15,93 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Validators = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/Validators', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Query/Validators", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsResponse.FromString, + _registered_method=True, + ) self.Validator = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/Validator', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Query/Validator", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorResponse.FromString, + _registered_method=True, + ) self.ValidatorDelegations = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/ValidatorDelegations', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Query/ValidatorDelegations", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsResponse.FromString, + _registered_method=True, + ) self.ValidatorUnbondingDelegations = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/ValidatorUnbondingDelegations', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Query/ValidatorUnbondingDelegations", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsResponse.FromString, + _registered_method=True, + ) self.Delegation = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/Delegation', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Query/Delegation", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationResponse.FromString, + _registered_method=True, + ) self.UnbondingDelegation = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/UnbondingDelegation', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Query/UnbondingDelegation", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationResponse.FromString, + _registered_method=True, + ) self.DelegatorDelegations = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/DelegatorDelegations', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Query/DelegatorDelegations", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsResponse.FromString, + _registered_method=True, + ) self.DelegatorUnbondingDelegations = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/DelegatorUnbondingDelegations', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Query/DelegatorUnbondingDelegations", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsResponse.FromString, + _registered_method=True, + ) self.Redelegations = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/Redelegations', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Query/Redelegations", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsResponse.FromString, + _registered_method=True, + ) self.DelegatorValidators = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/DelegatorValidators', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Query/DelegatorValidators", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, + _registered_method=True, + ) self.DelegatorValidator = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/DelegatorValidator', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Query/DelegatorValidator", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorResponse.FromString, + _registered_method=True, + ) self.HistoricalInfo = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/HistoricalInfo', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Query/HistoricalInfo", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoResponse.FromString, + _registered_method=True, + ) self.Pool = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/Pool', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Query/Pool", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolResponse.FromString, + _registered_method=True, + ) self.Params = channel.unary_unary( - '/cosmos.staking.v1beta1.Query/Params', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Query/Params", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def Validators(self, request, context): """Validators queries all validators that match the given status. @@ -98,15 +110,14 @@ def Validators(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Validator(self, request, context): - """Validator queries validator info for given validator address. - """ + """Validator queries validator info for given validator address.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ValidatorDelegations(self, request, context): """ValidatorDelegations queries delegate info for given validator. @@ -115,8 +126,8 @@ def ValidatorDelegations(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ValidatorUnbondingDelegations(self, request, context): """ValidatorUnbondingDelegations queries unbonding delegations of a validator. @@ -125,23 +136,22 @@ def ValidatorUnbondingDelegations(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Delegation(self, request, context): - """Delegation queries delegate info for given validator delegator pair. - """ + """Delegation queries delegate info for given validator delegator pair.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UnbondingDelegation(self, request, context): """UnbondingDelegation queries unbonding info for given validator delegator pair. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DelegatorDelegations(self, request, context): """DelegatorDelegations queries all delegations of a given delegator address. @@ -150,8 +160,8 @@ def DelegatorDelegations(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DelegatorUnbondingDelegations(self, request, context): """DelegatorUnbondingDelegations queries all unbonding delegations of a given @@ -161,8 +171,8 @@ def DelegatorUnbondingDelegations(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Redelegations(self, request, context): """Redelegations queries redelegations of given address. @@ -171,8 +181,8 @@ def Redelegations(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DelegatorValidators(self, request, context): """DelegatorValidators queries all validators info for given delegator @@ -182,138 +192,135 @@ def DelegatorValidators(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DelegatorValidator(self, request, context): """DelegatorValidator queries validator info for given delegator validator pair. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def HistoricalInfo(self, request, context): - """HistoricalInfo queries the historical info for given height. - """ + """HistoricalInfo queries the historical info for given height.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Pool(self, request, context): - """Pool queries the pool info. - """ + """Pool queries the pool info.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Params(self, request, context): - """Parameters queries the staking parameters. - """ + """Parameters queries the staking parameters.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Validators': grpc.unary_unary_rpc_method_handler( - servicer.Validators, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsResponse.SerializeToString, - ), - 'Validator': grpc.unary_unary_rpc_method_handler( - servicer.Validator, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorResponse.SerializeToString, - ), - 'ValidatorDelegations': grpc.unary_unary_rpc_method_handler( - servicer.ValidatorDelegations, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsResponse.SerializeToString, - ), - 'ValidatorUnbondingDelegations': grpc.unary_unary_rpc_method_handler( - servicer.ValidatorUnbondingDelegations, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsResponse.SerializeToString, - ), - 'Delegation': grpc.unary_unary_rpc_method_handler( - servicer.Delegation, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationResponse.SerializeToString, - ), - 'UnbondingDelegation': grpc.unary_unary_rpc_method_handler( - servicer.UnbondingDelegation, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationResponse.SerializeToString, - ), - 'DelegatorDelegations': grpc.unary_unary_rpc_method_handler( - servicer.DelegatorDelegations, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsResponse.SerializeToString, - ), - 'DelegatorUnbondingDelegations': grpc.unary_unary_rpc_method_handler( - servicer.DelegatorUnbondingDelegations, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsResponse.SerializeToString, - ), - 'Redelegations': grpc.unary_unary_rpc_method_handler( - servicer.Redelegations, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsResponse.SerializeToString, - ), - 'DelegatorValidators': grpc.unary_unary_rpc_method_handler( - servicer.DelegatorValidators, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.SerializeToString, - ), - 'DelegatorValidator': grpc.unary_unary_rpc_method_handler( - servicer.DelegatorValidator, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorResponse.SerializeToString, - ), - 'HistoricalInfo': grpc.unary_unary_rpc_method_handler( - servicer.HistoricalInfo, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoResponse.SerializeToString, - ), - 'Pool': grpc.unary_unary_rpc_method_handler( - servicer.Pool, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolResponse.SerializeToString, - ), - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), + "Validators": grpc.unary_unary_rpc_method_handler( + servicer.Validators, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsResponse.SerializeToString, + ), + "Validator": grpc.unary_unary_rpc_method_handler( + servicer.Validator, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorResponse.SerializeToString, + ), + "ValidatorDelegations": grpc.unary_unary_rpc_method_handler( + servicer.ValidatorDelegations, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsResponse.SerializeToString, + ), + "ValidatorUnbondingDelegations": grpc.unary_unary_rpc_method_handler( + servicer.ValidatorUnbondingDelegations, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsResponse.SerializeToString, + ), + "Delegation": grpc.unary_unary_rpc_method_handler( + servicer.Delegation, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationResponse.SerializeToString, + ), + "UnbondingDelegation": grpc.unary_unary_rpc_method_handler( + servicer.UnbondingDelegation, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationResponse.SerializeToString, + ), + "DelegatorDelegations": grpc.unary_unary_rpc_method_handler( + servicer.DelegatorDelegations, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsResponse.SerializeToString, + ), + "DelegatorUnbondingDelegations": grpc.unary_unary_rpc_method_handler( + servicer.DelegatorUnbondingDelegations, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsResponse.SerializeToString, + ), + "Redelegations": grpc.unary_unary_rpc_method_handler( + servicer.Redelegations, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsResponse.SerializeToString, + ), + "DelegatorValidators": grpc.unary_unary_rpc_method_handler( + servicer.DelegatorValidators, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.SerializeToString, + ), + "DelegatorValidator": grpc.unary_unary_rpc_method_handler( + servicer.DelegatorValidator, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorResponse.SerializeToString, + ), + "HistoricalInfo": grpc.unary_unary_rpc_method_handler( + servicer.HistoricalInfo, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoResponse.SerializeToString, + ), + "Pool": grpc.unary_unary_rpc_method_handler( + servicer.Pool, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolResponse.SerializeToString, + ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.staking.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.staking.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.staking.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.staking.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" @staticmethod - def Validators(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Validators( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Query/Validators', + "/cosmos.staking.v1beta1.Query/Validators", cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsResponse.FromString, options, @@ -324,23 +331,26 @@ def Validators(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Validator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Validator( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Query/Validator', + "/cosmos.staking.v1beta1.Query/Validator", cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorResponse.FromString, options, @@ -351,23 +361,26 @@ def Validator(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ValidatorDelegations(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ValidatorDelegations( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Query/ValidatorDelegations', + "/cosmos.staking.v1beta1.Query/ValidatorDelegations", cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsResponse.FromString, options, @@ -378,23 +391,26 @@ def ValidatorDelegations(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ValidatorUnbondingDelegations(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ValidatorUnbondingDelegations( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Query/ValidatorUnbondingDelegations', + "/cosmos.staking.v1beta1.Query/ValidatorUnbondingDelegations", cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsResponse.FromString, options, @@ -405,23 +421,26 @@ def ValidatorUnbondingDelegations(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Delegation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Delegation( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Query/Delegation', + "/cosmos.staking.v1beta1.Query/Delegation", cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationResponse.FromString, options, @@ -432,23 +451,26 @@ def Delegation(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UnbondingDelegation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UnbondingDelegation( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Query/UnbondingDelegation', + "/cosmos.staking.v1beta1.Query/UnbondingDelegation", cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationResponse.FromString, options, @@ -459,23 +481,26 @@ def UnbondingDelegation(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DelegatorDelegations(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DelegatorDelegations( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Query/DelegatorDelegations', + "/cosmos.staking.v1beta1.Query/DelegatorDelegations", cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsResponse.FromString, options, @@ -486,23 +511,26 @@ def DelegatorDelegations(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DelegatorUnbondingDelegations(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DelegatorUnbondingDelegations( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Query/DelegatorUnbondingDelegations', + "/cosmos.staking.v1beta1.Query/DelegatorUnbondingDelegations", cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsResponse.FromString, options, @@ -513,23 +541,26 @@ def DelegatorUnbondingDelegations(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Redelegations(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Redelegations( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Query/Redelegations', + "/cosmos.staking.v1beta1.Query/Redelegations", cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsResponse.FromString, options, @@ -540,23 +571,26 @@ def Redelegations(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DelegatorValidators(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DelegatorValidators( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Query/DelegatorValidators', + "/cosmos.staking.v1beta1.Query/DelegatorValidators", cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, options, @@ -567,23 +601,26 @@ def DelegatorValidators(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DelegatorValidator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DelegatorValidator( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Query/DelegatorValidator', + "/cosmos.staking.v1beta1.Query/DelegatorValidator", cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorResponse.FromString, options, @@ -594,23 +631,26 @@ def DelegatorValidator(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def HistoricalInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def HistoricalInfo( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Query/HistoricalInfo', + "/cosmos.staking.v1beta1.Query/HistoricalInfo", cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoResponse.FromString, options, @@ -621,23 +661,26 @@ def HistoricalInfo(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Pool(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Pool( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Query/Pool', + "/cosmos.staking.v1beta1.Query/Pool", cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolResponse.FromString, options, @@ -648,23 +691,26 @@ def Pool(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Query/Params', + "/cosmos.staking.v1beta1.Query/Params", cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -675,4 +721,5 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py index 0183a45a..7fa85151 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py @@ -7,6 +7,7 @@ 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() @@ -23,200 +24,284 @@ from pyinjective.proto.tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/staking/v1beta1/staking.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\x1a\x1ctendermint/types/types.proto\x1a\x1btendermint/abci/types.proto\"\x93\x01\n\x0eHistoricalInfo\x12;\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06header\x12\x44\n\x06valset\x18\x02 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06valset\"\x96\x02\n\x0f\x43ommissionRates\x12J\n\x04rate\x18\x01 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x04rate\x12Q\n\x08max_rate\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x07maxRate\x12^\n\x0fmax_change_rate\x18\x03 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\rmaxChangeRate:\x04\xe8\xa0\x1f\x01\"\xc1\x01\n\nCommission\x12\x61\n\x10\x63ommission_rates\x18\x01 \x01(\x0b\x32\'.cosmos.staking.v1beta1.CommissionRatesB\r\xc8\xde\x1f\x00\xd0\xde\x1f\x01\xa8\xe7\xb0*\x01R\x0f\x63ommissionRates\x12J\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nupdateTime:\x04\xe8\xa0\x1f\x01\"\xa8\x01\n\x0b\x44\x65scription\x12\x18\n\x07moniker\x18\x01 \x01(\tR\x07moniker\x12\x1a\n\x08identity\x18\x02 \x01(\tR\x08identity\x12\x18\n\x07website\x18\x03 \x01(\tR\x07website\x12)\n\x10security_contact\x18\x04 \x01(\tR\x0fsecurityContact\x12\x18\n\x07\x64\x65tails\x18\x05 \x01(\tR\x07\x64\x65tails:\x04\xe8\xa0\x1f\x01\"\x8a\x07\n\tValidator\x12\x43\n\x10operator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0foperatorAddress\x12Y\n\x10\x63onsensus_pubkey\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x18\xca\xb4-\x14\x63osmos.crypto.PubKeyR\x0f\x63onsensusPubkey\x12\x16\n\x06jailed\x18\x03 \x01(\x08R\x06jailed\x12:\n\x06status\x18\x04 \x01(\x0e\x32\".cosmos.staking.v1beta1.BondStatusR\x06status\x12\x43\n\x06tokens\x18\x05 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x06tokens\x12\\\n\x10\x64\x65legator_shares\x18\x06 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x0f\x64\x65legatorShares\x12P\n\x0b\x64\x65scription\x18\x07 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12)\n\x10unbonding_height\x18\x08 \x01(\x03R\x0funbondingHeight\x12P\n\x0eunbonding_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\runbondingTime\x12M\n\ncommission\x18\n \x01(\x0b\x32\".cosmos.staking.v1beta1.CommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission\x12[\n\x13min_self_delegation\x18\x0b \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x11minSelfDelegation\x12<\n\x1bunbonding_on_hold_ref_count\x18\x0c \x01(\x03R\x17unbondingOnHoldRefCount\x12#\n\runbonding_ids\x18\r \x03(\x04R\x0cunbondingIds:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"F\n\x0cValAddresses\x12\x36\n\taddresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\taddresses\"\xa9\x01\n\x06\x44VPair\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"J\n\x07\x44VPairs\x12?\n\x05pairs\x18\x01 \x03(\x0b\x32\x1e.cosmos.staking.v1beta1.DVPairB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05pairs\"\x8b\x02\n\nDVVTriplet\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"X\n\x0b\x44VVTriplets\x12I\n\x08triplets\x18\x01 \x03(\x0b\x32\".cosmos.staking.v1beta1.DVVTripletB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08triplets\"\xf8\x01\n\nDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12I\n\x06shares\x18\x03 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x06shares:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8d\x02\n\x13UnbondingDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12U\n\x07\x65ntries\x18\x03 \x03(\x0b\x32\x30.cosmos.staking.v1beta1.UnbondingDelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x9b\x03\n\x18UnbondingDelegationEntry\x12\'\n\x0f\x63reation_height\x18\x01 \x01(\x03R\x0e\x63reationHeight\x12R\n\x0f\x63ompletion_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12T\n\x0finitial_balance\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x0einitialBalance\x12\x45\n\x07\x62\x61lance\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x62\x61lance\x12!\n\x0cunbonding_id\x18\x05 \x01(\x04R\x0bunbondingId\x12<\n\x1bunbonding_on_hold_ref_count\x18\x06 \x01(\x03R\x17unbondingOnHoldRefCount:\x04\xe8\xa0\x1f\x01\"\x9f\x03\n\x11RedelegationEntry\x12\'\n\x0f\x63reation_height\x18\x01 \x01(\x03R\x0e\x63reationHeight\x12R\n\x0f\x63ompletion_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12T\n\x0finitial_balance\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x0einitialBalance\x12P\n\nshares_dst\x18\x04 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\tsharesDst\x12!\n\x0cunbonding_id\x18\x05 \x01(\x04R\x0bunbondingId\x12<\n\x1bunbonding_on_hold_ref_count\x18\x06 \x01(\x03R\x17unbondingOnHoldRefCount:\x04\xe8\xa0\x1f\x01\"\xdd\x02\n\x0cRedelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress\x12N\n\x07\x65ntries\x18\x04 \x03(\x0b\x32).cosmos.staking.v1beta1.RedelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x9c\x03\n\x06Params\x12O\n\x0eunbonding_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\runbondingTime\x12%\n\x0emax_validators\x18\x02 \x01(\rR\rmaxValidators\x12\x1f\n\x0bmax_entries\x18\x03 \x01(\rR\nmaxEntries\x12-\n\x12historical_entries\x18\x04 \x01(\rR\x11historicalEntries\x12\x1d\n\nbond_denom\x18\x05 \x01(\tR\tbondDenom\x12\x84\x01\n\x13min_commission_rate\x18\x06 \x01(\tBT\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xf2\xde\x1f\x1ayaml:\"min_commission_rate\"\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x11minCommissionRate:$\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x1b\x63osmos-sdk/x/staking/Params\"\xa9\x01\n\x12\x44\x65legationResponse\x12M\n\ndelegation\x18\x01 \x01(\x0b\x32\".cosmos.staking.v1beta1.DelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ndelegation\x12>\n\x07\x62\x61lance\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x62\x61lance:\x04\xe8\xa0\x1f\x00\"\xcd\x01\n\x19RedelegationEntryResponse\x12\x63\n\x12redelegation_entry\x18\x01 \x01(\x0b\x32).cosmos.staking.v1beta1.RedelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x11redelegationEntry\x12\x45\n\x07\x62\x61lance\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x62\x61lance:\x04\xe8\xa0\x1f\x01\"\xc9\x01\n\x14RedelegationResponse\x12S\n\x0credelegation\x18\x01 \x01(\x0b\x32$.cosmos.staking.v1beta1.RedelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0credelegation\x12V\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x31.cosmos.staking.v1beta1.RedelegationEntryResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x04\xe8\xa0\x1f\x00\"\xeb\x01\n\x04Pool\x12q\n\x11not_bonded_tokens\x18\x01 \x01(\tBE\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xea\xde\x1f\x11not_bonded_tokens\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0fnotBondedTokens\x12\x66\n\rbonded_tokens\x18\x02 \x01(\tBA\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xea\xde\x1f\rbonded_tokens\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0c\x62ondedTokens:\x08\xe8\xa0\x1f\x01\xf0\xa0\x1f\x01\"Y\n\x10ValidatorUpdates\x12\x45\n\x07updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07updates*\xb6\x01\n\nBondStatus\x12,\n\x17\x42OND_STATUS_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUnspecified\x12&\n\x14\x42OND_STATUS_UNBONDED\x10\x01\x1a\x0c\x8a\x9d \x08Unbonded\x12(\n\x15\x42OND_STATUS_UNBONDING\x10\x02\x1a\r\x8a\x9d \tUnbonding\x12\"\n\x12\x42OND_STATUS_BONDED\x10\x03\x1a\n\x8a\x9d \x06\x42onded\x1a\x04\x88\xa3\x1e\x00*]\n\nInfraction\x12\x1a\n\x16INFRACTION_UNSPECIFIED\x10\x00\x12\x1a\n\x16INFRACTION_DOUBLE_SIGN\x10\x01\x12\x17\n\x13INFRACTION_DOWNTIME\x10\x02\x42\xd2\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x0cStakingProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$cosmos/staking/v1beta1/staking.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\x1a\x1ctendermint/types/types.proto\x1a\x1btendermint/abci/types.proto"\x93\x01\n\x0eHistoricalInfo\x12;\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06header\x12\x44\n\x06valset\x18\x02 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06valset"\x96\x02\n\x0f\x43ommissionRates\x12J\n\x04rate\x18\x01 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x04rate\x12Q\n\x08max_rate\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x07maxRate\x12^\n\x0fmax_change_rate\x18\x03 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\rmaxChangeRate:\x04\xe8\xa0\x1f\x01"\xc1\x01\n\nCommission\x12\x61\n\x10\x63ommission_rates\x18\x01 \x01(\x0b\x32\'.cosmos.staking.v1beta1.CommissionRatesB\r\xc8\xde\x1f\x00\xd0\xde\x1f\x01\xa8\xe7\xb0*\x01R\x0f\x63ommissionRates\x12J\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nupdateTime:\x04\xe8\xa0\x1f\x01"\xa8\x01\n\x0b\x44\x65scription\x12\x18\n\x07moniker\x18\x01 \x01(\tR\x07moniker\x12\x1a\n\x08identity\x18\x02 \x01(\tR\x08identity\x12\x18\n\x07website\x18\x03 \x01(\tR\x07website\x12)\n\x10security_contact\x18\x04 \x01(\tR\x0fsecurityContact\x12\x18\n\x07\x64\x65tails\x18\x05 \x01(\tR\x07\x64\x65tails:\x04\xe8\xa0\x1f\x01"\x8a\x07\n\tValidator\x12\x43\n\x10operator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0foperatorAddress\x12Y\n\x10\x63onsensus_pubkey\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x18\xca\xb4-\x14\x63osmos.crypto.PubKeyR\x0f\x63onsensusPubkey\x12\x16\n\x06jailed\x18\x03 \x01(\x08R\x06jailed\x12:\n\x06status\x18\x04 \x01(\x0e\x32".cosmos.staking.v1beta1.BondStatusR\x06status\x12\x43\n\x06tokens\x18\x05 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x06tokens\x12\\\n\x10\x64\x65legator_shares\x18\x06 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x0f\x64\x65legatorShares\x12P\n\x0b\x64\x65scription\x18\x07 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12)\n\x10unbonding_height\x18\x08 \x01(\x03R\x0funbondingHeight\x12P\n\x0eunbonding_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\runbondingTime\x12M\n\ncommission\x18\n \x01(\x0b\x32".cosmos.staking.v1beta1.CommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission\x12[\n\x13min_self_delegation\x18\x0b \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x11minSelfDelegation\x12<\n\x1bunbonding_on_hold_ref_count\x18\x0c \x01(\x03R\x17unbondingOnHoldRefCount\x12#\n\runbonding_ids\x18\r \x03(\x04R\x0cunbondingIds:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"F\n\x0cValAddresses\x12\x36\n\taddresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\taddresses"\xa9\x01\n\x06\x44VPair\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"J\n\x07\x44VPairs\x12?\n\x05pairs\x18\x01 \x03(\x0b\x32\x1e.cosmos.staking.v1beta1.DVPairB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05pairs"\x8b\x02\n\nDVVTriplet\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"X\n\x0b\x44VVTriplets\x12I\n\x08triplets\x18\x01 \x03(\x0b\x32".cosmos.staking.v1beta1.DVVTripletB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08triplets"\xf8\x01\n\nDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12I\n\x06shares\x18\x03 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x06shares:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x8d\x02\n\x13UnbondingDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12U\n\x07\x65ntries\x18\x03 \x03(\x0b\x32\x30.cosmos.staking.v1beta1.UnbondingDelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x9b\x03\n\x18UnbondingDelegationEntry\x12\'\n\x0f\x63reation_height\x18\x01 \x01(\x03R\x0e\x63reationHeight\x12R\n\x0f\x63ompletion_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12T\n\x0finitial_balance\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x0einitialBalance\x12\x45\n\x07\x62\x61lance\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x62\x61lance\x12!\n\x0cunbonding_id\x18\x05 \x01(\x04R\x0bunbondingId\x12<\n\x1bunbonding_on_hold_ref_count\x18\x06 \x01(\x03R\x17unbondingOnHoldRefCount:\x04\xe8\xa0\x1f\x01"\x9f\x03\n\x11RedelegationEntry\x12\'\n\x0f\x63reation_height\x18\x01 \x01(\x03R\x0e\x63reationHeight\x12R\n\x0f\x63ompletion_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12T\n\x0finitial_balance\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x0einitialBalance\x12P\n\nshares_dst\x18\x04 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\tsharesDst\x12!\n\x0cunbonding_id\x18\x05 \x01(\x04R\x0bunbondingId\x12<\n\x1bunbonding_on_hold_ref_count\x18\x06 \x01(\x03R\x17unbondingOnHoldRefCount:\x04\xe8\xa0\x1f\x01"\xdd\x02\n\x0cRedelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress\x12N\n\x07\x65ntries\x18\x04 \x03(\x0b\x32).cosmos.staking.v1beta1.RedelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x9c\x03\n\x06Params\x12O\n\x0eunbonding_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\runbondingTime\x12%\n\x0emax_validators\x18\x02 \x01(\rR\rmaxValidators\x12\x1f\n\x0bmax_entries\x18\x03 \x01(\rR\nmaxEntries\x12-\n\x12historical_entries\x18\x04 \x01(\rR\x11historicalEntries\x12\x1d\n\nbond_denom\x18\x05 \x01(\tR\tbondDenom\x12\x84\x01\n\x13min_commission_rate\x18\x06 \x01(\tBT\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xf2\xde\x1f\x1ayaml:"min_commission_rate"\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x11minCommissionRate:$\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x1b\x63osmos-sdk/x/staking/Params"\xa9\x01\n\x12\x44\x65legationResponse\x12M\n\ndelegation\x18\x01 \x01(\x0b\x32".cosmos.staking.v1beta1.DelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ndelegation\x12>\n\x07\x62\x61lance\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x62\x61lance:\x04\xe8\xa0\x1f\x00"\xcd\x01\n\x19RedelegationEntryResponse\x12\x63\n\x12redelegation_entry\x18\x01 \x01(\x0b\x32).cosmos.staking.v1beta1.RedelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x11redelegationEntry\x12\x45\n\x07\x62\x61lance\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x62\x61lance:\x04\xe8\xa0\x1f\x01"\xc9\x01\n\x14RedelegationResponse\x12S\n\x0credelegation\x18\x01 \x01(\x0b\x32$.cosmos.staking.v1beta1.RedelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0credelegation\x12V\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x31.cosmos.staking.v1beta1.RedelegationEntryResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x04\xe8\xa0\x1f\x00"\xeb\x01\n\x04Pool\x12q\n\x11not_bonded_tokens\x18\x01 \x01(\tBE\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xea\xde\x1f\x11not_bonded_tokens\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0fnotBondedTokens\x12\x66\n\rbonded_tokens\x18\x02 \x01(\tBA\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xea\xde\x1f\rbonded_tokens\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0c\x62ondedTokens:\x08\xe8\xa0\x1f\x01\xf0\xa0\x1f\x01"Y\n\x10ValidatorUpdates\x12\x45\n\x07updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07updates*\xb6\x01\n\nBondStatus\x12,\n\x17\x42OND_STATUS_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUnspecified\x12&\n\x14\x42OND_STATUS_UNBONDED\x10\x01\x1a\x0c\x8a\x9d \x08Unbonded\x12(\n\x15\x42OND_STATUS_UNBONDING\x10\x02\x1a\r\x8a\x9d \tUnbonding\x12"\n\x12\x42OND_STATUS_BONDED\x10\x03\x1a\n\x8a\x9d \x06\x42onded\x1a\x04\x88\xa3\x1e\x00*]\n\nInfraction\x12\x1a\n\x16INFRACTION_UNSPECIFIED\x10\x00\x12\x1a\n\x16INFRACTION_DOUBLE_SIGN\x10\x01\x12\x17\n\x13INFRACTION_DOWNTIME\x10\x02\x42\xd2\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x0cStakingProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.staking_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.staking.v1beta1.staking_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\014StakingProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' - _globals['_BONDSTATUS']._loaded_options = None - _globals['_BONDSTATUS']._serialized_options = b'\210\243\036\000' - _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNSPECIFIED"]._loaded_options = None - _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNSPECIFIED"]._serialized_options = b'\212\235 \013Unspecified' - _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNBONDED"]._loaded_options = None - _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNBONDED"]._serialized_options = b'\212\235 \010Unbonded' - _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNBONDING"]._loaded_options = None - _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNBONDING"]._serialized_options = b'\212\235 \tUnbonding' - _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_BONDED"]._loaded_options = None - _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_BONDED"]._serialized_options = b'\212\235 \006Bonded' - _globals['_HISTORICALINFO'].fields_by_name['header']._loaded_options = None - _globals['_HISTORICALINFO'].fields_by_name['header']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_HISTORICALINFO'].fields_by_name['valset']._loaded_options = None - _globals['_HISTORICALINFO'].fields_by_name['valset']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_COMMISSIONRATES'].fields_by_name['rate']._loaded_options = None - _globals['_COMMISSIONRATES'].fields_by_name['rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_COMMISSIONRATES'].fields_by_name['max_rate']._loaded_options = None - _globals['_COMMISSIONRATES'].fields_by_name['max_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_COMMISSIONRATES'].fields_by_name['max_change_rate']._loaded_options = None - _globals['_COMMISSIONRATES'].fields_by_name['max_change_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_COMMISSIONRATES']._loaded_options = None - _globals['_COMMISSIONRATES']._serialized_options = b'\350\240\037\001' - _globals['_COMMISSION'].fields_by_name['commission_rates']._loaded_options = None - _globals['_COMMISSION'].fields_by_name['commission_rates']._serialized_options = b'\310\336\037\000\320\336\037\001\250\347\260*\001' - _globals['_COMMISSION'].fields_by_name['update_time']._loaded_options = None - _globals['_COMMISSION'].fields_by_name['update_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_COMMISSION']._loaded_options = None - _globals['_COMMISSION']._serialized_options = b'\350\240\037\001' - _globals['_DESCRIPTION']._loaded_options = None - _globals['_DESCRIPTION']._serialized_options = b'\350\240\037\001' - _globals['_VALIDATOR'].fields_by_name['operator_address']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['operator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_VALIDATOR'].fields_by_name['consensus_pubkey']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['consensus_pubkey']._serialized_options = b'\312\264-\024cosmos.crypto.PubKey' - _globals['_VALIDATOR'].fields_by_name['tokens']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['tokens']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_VALIDATOR'].fields_by_name['delegator_shares']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['delegator_shares']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_VALIDATOR'].fields_by_name['description']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['description']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_VALIDATOR'].fields_by_name['unbonding_time']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['unbonding_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_VALIDATOR'].fields_by_name['commission']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_VALIDATOR'].fields_by_name['min_self_delegation']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['min_self_delegation']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_VALIDATOR']._loaded_options = None - _globals['_VALIDATOR']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_VALADDRESSES'].fields_by_name['addresses']._loaded_options = None - _globals['_VALADDRESSES'].fields_by_name['addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DVPAIR'].fields_by_name['delegator_address']._loaded_options = None - _globals['_DVPAIR'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DVPAIR'].fields_by_name['validator_address']._loaded_options = None - _globals['_DVPAIR'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_DVPAIR']._loaded_options = None - _globals['_DVPAIR']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_DVPAIRS'].fields_by_name['pairs']._loaded_options = None - _globals['_DVPAIRS'].fields_by_name['pairs']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_DVVTRIPLET'].fields_by_name['delegator_address']._loaded_options = None - _globals['_DVVTRIPLET'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DVVTRIPLET'].fields_by_name['validator_src_address']._loaded_options = None - _globals['_DVVTRIPLET'].fields_by_name['validator_src_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_DVVTRIPLET'].fields_by_name['validator_dst_address']._loaded_options = None - _globals['_DVVTRIPLET'].fields_by_name['validator_dst_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_DVVTRIPLET']._loaded_options = None - _globals['_DVVTRIPLET']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_DVVTRIPLETS'].fields_by_name['triplets']._loaded_options = None - _globals['_DVVTRIPLETS'].fields_by_name['triplets']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_DELEGATION'].fields_by_name['delegator_address']._loaded_options = None - _globals['_DELEGATION'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_DELEGATION'].fields_by_name['validator_address']._loaded_options = None - _globals['_DELEGATION'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_DELEGATION'].fields_by_name['shares']._loaded_options = None - _globals['_DELEGATION'].fields_by_name['shares']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_DELEGATION']._loaded_options = None - _globals['_DELEGATION']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_UNBONDINGDELEGATION'].fields_by_name['delegator_address']._loaded_options = None - _globals['_UNBONDINGDELEGATION'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_UNBONDINGDELEGATION'].fields_by_name['validator_address']._loaded_options = None - _globals['_UNBONDINGDELEGATION'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_UNBONDINGDELEGATION'].fields_by_name['entries']._loaded_options = None - _globals['_UNBONDINGDELEGATION'].fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_UNBONDINGDELEGATION']._loaded_options = None - _globals['_UNBONDINGDELEGATION']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['completion_time']._loaded_options = None - _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['initial_balance']._loaded_options = None - _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['initial_balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['balance']._loaded_options = None - _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_UNBONDINGDELEGATIONENTRY']._loaded_options = None - _globals['_UNBONDINGDELEGATIONENTRY']._serialized_options = b'\350\240\037\001' - _globals['_REDELEGATIONENTRY'].fields_by_name['completion_time']._loaded_options = None - _globals['_REDELEGATIONENTRY'].fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_REDELEGATIONENTRY'].fields_by_name['initial_balance']._loaded_options = None - _globals['_REDELEGATIONENTRY'].fields_by_name['initial_balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_REDELEGATIONENTRY'].fields_by_name['shares_dst']._loaded_options = None - _globals['_REDELEGATIONENTRY'].fields_by_name['shares_dst']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_REDELEGATIONENTRY']._loaded_options = None - _globals['_REDELEGATIONENTRY']._serialized_options = b'\350\240\037\001' - _globals['_REDELEGATION'].fields_by_name['delegator_address']._loaded_options = None - _globals['_REDELEGATION'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_REDELEGATION'].fields_by_name['validator_src_address']._loaded_options = None - _globals['_REDELEGATION'].fields_by_name['validator_src_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_REDELEGATION'].fields_by_name['validator_dst_address']._loaded_options = None - _globals['_REDELEGATION'].fields_by_name['validator_dst_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_REDELEGATION'].fields_by_name['entries']._loaded_options = None - _globals['_REDELEGATION'].fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_REDELEGATION']._loaded_options = None - _globals['_REDELEGATION']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_PARAMS'].fields_by_name['unbonding_time']._loaded_options = None - _globals['_PARAMS'].fields_by_name['unbonding_time']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['min_commission_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['min_commission_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\362\336\037\032yaml:\"min_commission_rate\"\322\264-\ncosmos.Dec\250\347\260*\001' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\033cosmos-sdk/x/staking/Params' - _globals['_DELEGATIONRESPONSE'].fields_by_name['delegation']._loaded_options = None - _globals['_DELEGATIONRESPONSE'].fields_by_name['delegation']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_DELEGATIONRESPONSE'].fields_by_name['balance']._loaded_options = None - _globals['_DELEGATIONRESPONSE'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_DELEGATIONRESPONSE']._loaded_options = None - _globals['_DELEGATIONRESPONSE']._serialized_options = b'\350\240\037\000' - _globals['_REDELEGATIONENTRYRESPONSE'].fields_by_name['redelegation_entry']._loaded_options = None - _globals['_REDELEGATIONENTRYRESPONSE'].fields_by_name['redelegation_entry']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_REDELEGATIONENTRYRESPONSE'].fields_by_name['balance']._loaded_options = None - _globals['_REDELEGATIONENTRYRESPONSE'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_REDELEGATIONENTRYRESPONSE']._loaded_options = None - _globals['_REDELEGATIONENTRYRESPONSE']._serialized_options = b'\350\240\037\001' - _globals['_REDELEGATIONRESPONSE'].fields_by_name['redelegation']._loaded_options = None - _globals['_REDELEGATIONRESPONSE'].fields_by_name['redelegation']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_REDELEGATIONRESPONSE'].fields_by_name['entries']._loaded_options = None - _globals['_REDELEGATIONRESPONSE'].fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_REDELEGATIONRESPONSE']._loaded_options = None - _globals['_REDELEGATIONRESPONSE']._serialized_options = b'\350\240\037\000' - _globals['_POOL'].fields_by_name['not_bonded_tokens']._loaded_options = None - _globals['_POOL'].fields_by_name['not_bonded_tokens']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\352\336\037\021not_bonded_tokens\322\264-\ncosmos.Int\250\347\260*\001' - _globals['_POOL'].fields_by_name['bonded_tokens']._loaded_options = None - _globals['_POOL'].fields_by_name['bonded_tokens']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\352\336\037\rbonded_tokens\322\264-\ncosmos.Int\250\347\260*\001' - _globals['_POOL']._loaded_options = None - _globals['_POOL']._serialized_options = b'\350\240\037\001\360\240\037\001' - _globals['_VALIDATORUPDATES'].fields_by_name['updates']._loaded_options = None - _globals['_VALIDATORUPDATES'].fields_by_name['updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_BONDSTATUS']._serialized_start=5738 - _globals['_BONDSTATUS']._serialized_end=5920 - _globals['_INFRACTION']._serialized_start=5922 - _globals['_INFRACTION']._serialized_end=6015 - _globals['_HISTORICALINFO']._serialized_start=316 - _globals['_HISTORICALINFO']._serialized_end=463 - _globals['_COMMISSIONRATES']._serialized_start=466 - _globals['_COMMISSIONRATES']._serialized_end=744 - _globals['_COMMISSION']._serialized_start=747 - _globals['_COMMISSION']._serialized_end=940 - _globals['_DESCRIPTION']._serialized_start=943 - _globals['_DESCRIPTION']._serialized_end=1111 - _globals['_VALIDATOR']._serialized_start=1114 - _globals['_VALIDATOR']._serialized_end=2020 - _globals['_VALADDRESSES']._serialized_start=2022 - _globals['_VALADDRESSES']._serialized_end=2092 - _globals['_DVPAIR']._serialized_start=2095 - _globals['_DVPAIR']._serialized_end=2264 - _globals['_DVPAIRS']._serialized_start=2266 - _globals['_DVPAIRS']._serialized_end=2340 - _globals['_DVVTRIPLET']._serialized_start=2343 - _globals['_DVVTRIPLET']._serialized_end=2610 - _globals['_DVVTRIPLETS']._serialized_start=2612 - _globals['_DVVTRIPLETS']._serialized_end=2700 - _globals['_DELEGATION']._serialized_start=2703 - _globals['_DELEGATION']._serialized_end=2951 - _globals['_UNBONDINGDELEGATION']._serialized_start=2954 - _globals['_UNBONDINGDELEGATION']._serialized_end=3223 - _globals['_UNBONDINGDELEGATIONENTRY']._serialized_start=3226 - _globals['_UNBONDINGDELEGATIONENTRY']._serialized_end=3637 - _globals['_REDELEGATIONENTRY']._serialized_start=3640 - _globals['_REDELEGATIONENTRY']._serialized_end=4055 - _globals['_REDELEGATION']._serialized_start=4058 - _globals['_REDELEGATION']._serialized_end=4407 - _globals['_PARAMS']._serialized_start=4410 - _globals['_PARAMS']._serialized_end=4822 - _globals['_DELEGATIONRESPONSE']._serialized_start=4825 - _globals['_DELEGATIONRESPONSE']._serialized_end=4994 - _globals['_REDELEGATIONENTRYRESPONSE']._serialized_start=4997 - _globals['_REDELEGATIONENTRYRESPONSE']._serialized_end=5202 - _globals['_REDELEGATIONRESPONSE']._serialized_start=5205 - _globals['_REDELEGATIONRESPONSE']._serialized_end=5406 - _globals['_POOL']._serialized_start=5409 - _globals['_POOL']._serialized_end=5644 - _globals['_VALIDATORUPDATES']._serialized_start=5646 - _globals['_VALIDATORUPDATES']._serialized_end=5735 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\032com.cosmos.staking.v1beta1B\014StakingProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' + ) + _globals["_BONDSTATUS"]._loaded_options = None + _globals["_BONDSTATUS"]._serialized_options = b"\210\243\036\000" + _globals["_BONDSTATUS"].values_by_name["BOND_STATUS_UNSPECIFIED"]._loaded_options = None + _globals["_BONDSTATUS"].values_by_name["BOND_STATUS_UNSPECIFIED"]._serialized_options = b"\212\235 \013Unspecified" + _globals["_BONDSTATUS"].values_by_name["BOND_STATUS_UNBONDED"]._loaded_options = None + _globals["_BONDSTATUS"].values_by_name["BOND_STATUS_UNBONDED"]._serialized_options = b"\212\235 \010Unbonded" + _globals["_BONDSTATUS"].values_by_name["BOND_STATUS_UNBONDING"]._loaded_options = None + _globals["_BONDSTATUS"].values_by_name["BOND_STATUS_UNBONDING"]._serialized_options = b"\212\235 \tUnbonding" + _globals["_BONDSTATUS"].values_by_name["BOND_STATUS_BONDED"]._loaded_options = None + _globals["_BONDSTATUS"].values_by_name["BOND_STATUS_BONDED"]._serialized_options = b"\212\235 \006Bonded" + _globals["_HISTORICALINFO"].fields_by_name["header"]._loaded_options = None + _globals["_HISTORICALINFO"].fields_by_name["header"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_HISTORICALINFO"].fields_by_name["valset"]._loaded_options = None + _globals["_HISTORICALINFO"].fields_by_name["valset"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_COMMISSIONRATES"].fields_by_name["rate"]._loaded_options = None + _globals["_COMMISSIONRATES"].fields_by_name[ + "rate" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_COMMISSIONRATES"].fields_by_name["max_rate"]._loaded_options = None + _globals["_COMMISSIONRATES"].fields_by_name[ + "max_rate" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_COMMISSIONRATES"].fields_by_name["max_change_rate"]._loaded_options = None + _globals["_COMMISSIONRATES"].fields_by_name[ + "max_change_rate" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" + ) + _globals["_COMMISSIONRATES"]._loaded_options = None + _globals["_COMMISSIONRATES"]._serialized_options = b"\350\240\037\001" + _globals["_COMMISSION"].fields_by_name["commission_rates"]._loaded_options = None + _globals["_COMMISSION"].fields_by_name[ + "commission_rates" + ]._serialized_options = b"\310\336\037\000\320\336\037\001\250\347\260*\001" + _globals["_COMMISSION"].fields_by_name["update_time"]._loaded_options = None + _globals["_COMMISSION"].fields_by_name[ + "update_time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_COMMISSION"]._loaded_options = None + _globals["_COMMISSION"]._serialized_options = b"\350\240\037\001" + _globals["_DESCRIPTION"]._loaded_options = None + _globals["_DESCRIPTION"]._serialized_options = b"\350\240\037\001" + _globals["_VALIDATOR"].fields_by_name["operator_address"]._loaded_options = None + _globals["_VALIDATOR"].fields_by_name["operator_address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_VALIDATOR"].fields_by_name["consensus_pubkey"]._loaded_options = None + _globals["_VALIDATOR"].fields_by_name["consensus_pubkey"]._serialized_options = b"\312\264-\024cosmos.crypto.PubKey" + _globals["_VALIDATOR"].fields_by_name["tokens"]._loaded_options = None + _globals["_VALIDATOR"].fields_by_name[ + "tokens" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" + _globals["_VALIDATOR"].fields_by_name["delegator_shares"]._loaded_options = None + _globals["_VALIDATOR"].fields_by_name[ + "delegator_shares" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" + _globals["_VALIDATOR"].fields_by_name["description"]._loaded_options = None + _globals["_VALIDATOR"].fields_by_name["description"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_VALIDATOR"].fields_by_name["unbonding_time"]._loaded_options = None + _globals["_VALIDATOR"].fields_by_name[ + "unbonding_time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_VALIDATOR"].fields_by_name["commission"]._loaded_options = None + _globals["_VALIDATOR"].fields_by_name["commission"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_VALIDATOR"].fields_by_name["min_self_delegation"]._loaded_options = None + _globals["_VALIDATOR"].fields_by_name[ + "min_self_delegation" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" + _globals["_VALIDATOR"]._loaded_options = None + _globals["_VALIDATOR"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_VALADDRESSES"].fields_by_name["addresses"]._loaded_options = None + _globals["_VALADDRESSES"].fields_by_name["addresses"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_DVPAIR"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_DVPAIR"].fields_by_name["delegator_address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_DVPAIR"].fields_by_name["validator_address"]._loaded_options = None + _globals["_DVPAIR"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_DVPAIR"]._loaded_options = None + _globals["_DVPAIR"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_DVPAIRS"].fields_by_name["pairs"]._loaded_options = None + _globals["_DVPAIRS"].fields_by_name["pairs"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_DVVTRIPLET"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_DVVTRIPLET"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_DVVTRIPLET"].fields_by_name["validator_src_address"]._loaded_options = None + _globals["_DVVTRIPLET"].fields_by_name[ + "validator_src_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_DVVTRIPLET"].fields_by_name["validator_dst_address"]._loaded_options = None + _globals["_DVVTRIPLET"].fields_by_name[ + "validator_dst_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_DVVTRIPLET"]._loaded_options = None + _globals["_DVVTRIPLET"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_DVVTRIPLETS"].fields_by_name["triplets"]._loaded_options = None + _globals["_DVVTRIPLETS"].fields_by_name["triplets"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_DELEGATION"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_DELEGATION"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_DELEGATION"].fields_by_name["validator_address"]._loaded_options = None + _globals["_DELEGATION"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_DELEGATION"].fields_by_name["shares"]._loaded_options = None + _globals["_DELEGATION"].fields_by_name[ + "shares" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" + _globals["_DELEGATION"]._loaded_options = None + _globals["_DELEGATION"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_UNBONDINGDELEGATION"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_UNBONDINGDELEGATION"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_UNBONDINGDELEGATION"].fields_by_name["validator_address"]._loaded_options = None + _globals["_UNBONDINGDELEGATION"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_UNBONDINGDELEGATION"].fields_by_name["entries"]._loaded_options = None + _globals["_UNBONDINGDELEGATION"].fields_by_name[ + "entries" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_UNBONDINGDELEGATION"]._loaded_options = None + _globals["_UNBONDINGDELEGATION"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_UNBONDINGDELEGATIONENTRY"].fields_by_name["completion_time"]._loaded_options = None + _globals["_UNBONDINGDELEGATIONENTRY"].fields_by_name[ + "completion_time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_UNBONDINGDELEGATIONENTRY"].fields_by_name["initial_balance"]._loaded_options = None + _globals["_UNBONDINGDELEGATIONENTRY"].fields_by_name[ + "initial_balance" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" + _globals["_UNBONDINGDELEGATIONENTRY"].fields_by_name["balance"]._loaded_options = None + _globals["_UNBONDINGDELEGATIONENTRY"].fields_by_name[ + "balance" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" + _globals["_UNBONDINGDELEGATIONENTRY"]._loaded_options = None + _globals["_UNBONDINGDELEGATIONENTRY"]._serialized_options = b"\350\240\037\001" + _globals["_REDELEGATIONENTRY"].fields_by_name["completion_time"]._loaded_options = None + _globals["_REDELEGATIONENTRY"].fields_by_name[ + "completion_time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_REDELEGATIONENTRY"].fields_by_name["initial_balance"]._loaded_options = None + _globals["_REDELEGATIONENTRY"].fields_by_name[ + "initial_balance" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" + _globals["_REDELEGATIONENTRY"].fields_by_name["shares_dst"]._loaded_options = None + _globals["_REDELEGATIONENTRY"].fields_by_name[ + "shares_dst" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" + _globals["_REDELEGATIONENTRY"]._loaded_options = None + _globals["_REDELEGATIONENTRY"]._serialized_options = b"\350\240\037\001" + _globals["_REDELEGATION"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_REDELEGATION"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_REDELEGATION"].fields_by_name["validator_src_address"]._loaded_options = None + _globals["_REDELEGATION"].fields_by_name[ + "validator_src_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_REDELEGATION"].fields_by_name["validator_dst_address"]._loaded_options = None + _globals["_REDELEGATION"].fields_by_name[ + "validator_dst_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_REDELEGATION"].fields_by_name["entries"]._loaded_options = None + _globals["_REDELEGATION"].fields_by_name["entries"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_REDELEGATION"]._loaded_options = None + _globals["_REDELEGATION"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_PARAMS"].fields_by_name["unbonding_time"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "unbonding_time" + ]._serialized_options = b"\310\336\037\000\230\337\037\001\250\347\260*\001" + _globals["_PARAMS"].fields_by_name["min_commission_rate"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "min_commission_rate" + ]._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\362\336\037\032yaml:"min_commission_rate"\322\264-\ncosmos.Dec\250\347\260*\001' + _globals["_PARAMS"]._loaded_options = None + _globals["_PARAMS"]._serialized_options = b"\350\240\037\001\212\347\260*\033cosmos-sdk/x/staking/Params" + _globals["_DELEGATIONRESPONSE"].fields_by_name["delegation"]._loaded_options = None + _globals["_DELEGATIONRESPONSE"].fields_by_name[ + "delegation" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_DELEGATIONRESPONSE"].fields_by_name["balance"]._loaded_options = None + _globals["_DELEGATIONRESPONSE"].fields_by_name["balance"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_DELEGATIONRESPONSE"]._loaded_options = None + _globals["_DELEGATIONRESPONSE"]._serialized_options = b"\350\240\037\000" + _globals["_REDELEGATIONENTRYRESPONSE"].fields_by_name["redelegation_entry"]._loaded_options = None + _globals["_REDELEGATIONENTRYRESPONSE"].fields_by_name[ + "redelegation_entry" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_REDELEGATIONENTRYRESPONSE"].fields_by_name["balance"]._loaded_options = None + _globals["_REDELEGATIONENTRYRESPONSE"].fields_by_name[ + "balance" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" + _globals["_REDELEGATIONENTRYRESPONSE"]._loaded_options = None + _globals["_REDELEGATIONENTRYRESPONSE"]._serialized_options = b"\350\240\037\001" + _globals["_REDELEGATIONRESPONSE"].fields_by_name["redelegation"]._loaded_options = None + _globals["_REDELEGATIONRESPONSE"].fields_by_name[ + "redelegation" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_REDELEGATIONRESPONSE"].fields_by_name["entries"]._loaded_options = None + _globals["_REDELEGATIONRESPONSE"].fields_by_name[ + "entries" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_REDELEGATIONRESPONSE"]._loaded_options = None + _globals["_REDELEGATIONRESPONSE"]._serialized_options = b"\350\240\037\000" + _globals["_POOL"].fields_by_name["not_bonded_tokens"]._loaded_options = None + _globals["_POOL"].fields_by_name[ + "not_bonded_tokens" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\352\336\037\021not_bonded_tokens\322\264-\ncosmos.Int\250\347\260*\001" + _globals["_POOL"].fields_by_name["bonded_tokens"]._loaded_options = None + _globals["_POOL"].fields_by_name[ + "bonded_tokens" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\352\336\037\rbonded_tokens\322\264-\ncosmos.Int\250\347\260*\001" + _globals["_POOL"]._loaded_options = None + _globals["_POOL"]._serialized_options = b"\350\240\037\001\360\240\037\001" + _globals["_VALIDATORUPDATES"].fields_by_name["updates"]._loaded_options = None + _globals["_VALIDATORUPDATES"].fields_by_name["updates"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_BONDSTATUS"]._serialized_start = 5738 + _globals["_BONDSTATUS"]._serialized_end = 5920 + _globals["_INFRACTION"]._serialized_start = 5922 + _globals["_INFRACTION"]._serialized_end = 6015 + _globals["_HISTORICALINFO"]._serialized_start = 316 + _globals["_HISTORICALINFO"]._serialized_end = 463 + _globals["_COMMISSIONRATES"]._serialized_start = 466 + _globals["_COMMISSIONRATES"]._serialized_end = 744 + _globals["_COMMISSION"]._serialized_start = 747 + _globals["_COMMISSION"]._serialized_end = 940 + _globals["_DESCRIPTION"]._serialized_start = 943 + _globals["_DESCRIPTION"]._serialized_end = 1111 + _globals["_VALIDATOR"]._serialized_start = 1114 + _globals["_VALIDATOR"]._serialized_end = 2020 + _globals["_VALADDRESSES"]._serialized_start = 2022 + _globals["_VALADDRESSES"]._serialized_end = 2092 + _globals["_DVPAIR"]._serialized_start = 2095 + _globals["_DVPAIR"]._serialized_end = 2264 + _globals["_DVPAIRS"]._serialized_start = 2266 + _globals["_DVPAIRS"]._serialized_end = 2340 + _globals["_DVVTRIPLET"]._serialized_start = 2343 + _globals["_DVVTRIPLET"]._serialized_end = 2610 + _globals["_DVVTRIPLETS"]._serialized_start = 2612 + _globals["_DVVTRIPLETS"]._serialized_end = 2700 + _globals["_DELEGATION"]._serialized_start = 2703 + _globals["_DELEGATION"]._serialized_end = 2951 + _globals["_UNBONDINGDELEGATION"]._serialized_start = 2954 + _globals["_UNBONDINGDELEGATION"]._serialized_end = 3223 + _globals["_UNBONDINGDELEGATIONENTRY"]._serialized_start = 3226 + _globals["_UNBONDINGDELEGATIONENTRY"]._serialized_end = 3637 + _globals["_REDELEGATIONENTRY"]._serialized_start = 3640 + _globals["_REDELEGATIONENTRY"]._serialized_end = 4055 + _globals["_REDELEGATION"]._serialized_start = 4058 + _globals["_REDELEGATION"]._serialized_end = 4407 + _globals["_PARAMS"]._serialized_start = 4410 + _globals["_PARAMS"]._serialized_end = 4822 + _globals["_DELEGATIONRESPONSE"]._serialized_start = 4825 + _globals["_DELEGATIONRESPONSE"]._serialized_end = 4994 + _globals["_REDELEGATIONENTRYRESPONSE"]._serialized_start = 4997 + _globals["_REDELEGATIONENTRYRESPONSE"]._serialized_end = 5202 + _globals["_REDELEGATIONRESPONSE"]._serialized_start = 5205 + _globals["_REDELEGATIONRESPONSE"]._serialized_end = 5406 + _globals["_POOL"]._serialized_start = 5409 + _globals["_POOL"]._serialized_end = 5644 + _globals["_VALIDATORUPDATES"]._serialized_start = 5646 + _globals["_VALIDATORUPDATES"]._serialized_end = 5735 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2_grpc.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/staking/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2.py index ecf2a7aa..9cfbfcc4 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -22,116 +23,180 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/staking/v1beta1/tx.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xfb\x04\n\x12MsgCreateValidator\x12P\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12R\n\ncommission\x18\x02 \x01(\x0b\x32\'.cosmos.staking.v1beta1.CommissionRatesB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission\x12`\n\x13min_self_delegation\x18\x03 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x11minSelfDelegation\x12G\n\x11\x64\x65legator_address\x18\x04 \x01(\tB\x1a\x18\x01\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x05 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x46\n\x06pubkey\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\x18\xca\xb4-\x14\x63osmos.crypto.PubKeyR\x06pubkey\x12:\n\x05value\x18\x07 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05value:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgCreateValidator\"\x1c\n\x1aMsgCreateValidatorResponse\"\xa5\x03\n\x10MsgEditValidator\x12P\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12V\n\x0f\x63ommission_rate\x18\x03 \x01(\tB-\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x0e\x63ommissionRate\x12W\n\x13min_self_delegation\x18\x04 \x01(\tB\'\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x11minSelfDelegation:>\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgEditValidator\"\x1a\n\x18MsgEditValidatorResponse\"\x9d\x02\n\x0bMsgDelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgDelegate\"\x15\n\x13MsgDelegateResponse\"\x89\x03\n\x12MsgBeginRedelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress\x12<\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgBeginRedelegate\"p\n\x1aMsgBeginRedelegateResponse\x12R\n\x0f\x63ompletion_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\"\xa1\x02\n\rMsgUndelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x18\x63osmos-sdk/MsgUndelegate\"\xa9\x01\n\x15MsgUndelegateResponse\x12R\n\x0f\x63ompletion_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12<\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\"\xe8\x02\n\x1cMsgCancelUnbondingDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\x12\'\n\x0f\x63reation_height\x18\x04 \x01(\x03R\x0e\x63reationHeight:J\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\'cosmos-sdk/MsgCancelUnbondingDelegation\"&\n$MsgCancelUnbondingDelegationResponse\"\xc5\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x41\n\x06params\x18\x02 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$cosmos-sdk/x/staking/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\x9d\x06\n\x03Msg\x12q\n\x0f\x43reateValidator\x12*.cosmos.staking.v1beta1.MsgCreateValidator\x1a\x32.cosmos.staking.v1beta1.MsgCreateValidatorResponse\x12k\n\rEditValidator\x12(.cosmos.staking.v1beta1.MsgEditValidator\x1a\x30.cosmos.staking.v1beta1.MsgEditValidatorResponse\x12\\\n\x08\x44\x65legate\x12#.cosmos.staking.v1beta1.MsgDelegate\x1a+.cosmos.staking.v1beta1.MsgDelegateResponse\x12q\n\x0f\x42\x65ginRedelegate\x12*.cosmos.staking.v1beta1.MsgBeginRedelegate\x1a\x32.cosmos.staking.v1beta1.MsgBeginRedelegateResponse\x12\x62\n\nUndelegate\x12%.cosmos.staking.v1beta1.MsgUndelegate\x1a-.cosmos.staking.v1beta1.MsgUndelegateResponse\x12\x8f\x01\n\x19\x43\x61ncelUnbondingDelegation\x12\x34.cosmos.staking.v1beta1.MsgCancelUnbondingDelegation\x1a<.cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse\x12h\n\x0cUpdateParams\x12\'.cosmos.staking.v1beta1.MsgUpdateParams\x1a/.cosmos.staking.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xcd\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x07TxProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1f\x63osmos/staking/v1beta1/tx.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xfb\x04\n\x12MsgCreateValidator\x12P\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12R\n\ncommission\x18\x02 \x01(\x0b\x32\'.cosmos.staking.v1beta1.CommissionRatesB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission\x12`\n\x13min_self_delegation\x18\x03 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x11minSelfDelegation\x12G\n\x11\x64\x65legator_address\x18\x04 \x01(\tB\x1a\x18\x01\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x05 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x46\n\x06pubkey\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\x18\xca\xb4-\x14\x63osmos.crypto.PubKeyR\x06pubkey\x12:\n\x05value\x18\x07 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05value:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgCreateValidator"\x1c\n\x1aMsgCreateValidatorResponse"\xa5\x03\n\x10MsgEditValidator\x12P\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12V\n\x0f\x63ommission_rate\x18\x03 \x01(\tB-\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x0e\x63ommissionRate\x12W\n\x13min_self_delegation\x18\x04 \x01(\tB\'\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x11minSelfDelegation:>\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgEditValidator"\x1a\n\x18MsgEditValidatorResponse"\x9d\x02\n\x0bMsgDelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgDelegate"\x15\n\x13MsgDelegateResponse"\x89\x03\n\x12MsgBeginRedelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress\x12<\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgBeginRedelegate"p\n\x1aMsgBeginRedelegateResponse\x12R\n\x0f\x63ompletion_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime"\xa1\x02\n\rMsgUndelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x18\x63osmos-sdk/MsgUndelegate"\xa9\x01\n\x15MsgUndelegateResponse\x12R\n\x0f\x63ompletion_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12<\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount"\xe8\x02\n\x1cMsgCancelUnbondingDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\x12\'\n\x0f\x63reation_height\x18\x04 \x01(\x03R\x0e\x63reationHeight:J\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\'cosmos-sdk/MsgCancelUnbondingDelegation"&\n$MsgCancelUnbondingDelegationResponse"\xc5\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x41\n\x06params\x18\x02 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$cosmos-sdk/x/staking/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2\x9d\x06\n\x03Msg\x12q\n\x0f\x43reateValidator\x12*.cosmos.staking.v1beta1.MsgCreateValidator\x1a\x32.cosmos.staking.v1beta1.MsgCreateValidatorResponse\x12k\n\rEditValidator\x12(.cosmos.staking.v1beta1.MsgEditValidator\x1a\x30.cosmos.staking.v1beta1.MsgEditValidatorResponse\x12\\\n\x08\x44\x65legate\x12#.cosmos.staking.v1beta1.MsgDelegate\x1a+.cosmos.staking.v1beta1.MsgDelegateResponse\x12q\n\x0f\x42\x65ginRedelegate\x12*.cosmos.staking.v1beta1.MsgBeginRedelegate\x1a\x32.cosmos.staking.v1beta1.MsgBeginRedelegateResponse\x12\x62\n\nUndelegate\x12%.cosmos.staking.v1beta1.MsgUndelegate\x1a-.cosmos.staking.v1beta1.MsgUndelegateResponse\x12\x8f\x01\n\x19\x43\x61ncelUnbondingDelegation\x12\x34.cosmos.staking.v1beta1.MsgCancelUnbondingDelegation\x1a<.cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse\x12h\n\x0cUpdateParams\x12\'.cosmos.staking.v1beta1.MsgUpdateParams\x1a/.cosmos.staking.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xcd\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x07TxProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.staking.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\007TxProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' - _globals['_MSGCREATEVALIDATOR'].fields_by_name['description']._loaded_options = None - _globals['_MSGCREATEVALIDATOR'].fields_by_name['description']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGCREATEVALIDATOR'].fields_by_name['commission']._loaded_options = None - _globals['_MSGCREATEVALIDATOR'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGCREATEVALIDATOR'].fields_by_name['min_self_delegation']._loaded_options = None - _globals['_MSGCREATEVALIDATOR'].fields_by_name['min_self_delegation']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001' - _globals['_MSGCREATEVALIDATOR'].fields_by_name['delegator_address']._loaded_options = None - _globals['_MSGCREATEVALIDATOR'].fields_by_name['delegator_address']._serialized_options = b'\030\001\322\264-\024cosmos.AddressString' - _globals['_MSGCREATEVALIDATOR'].fields_by_name['validator_address']._loaded_options = None - _globals['_MSGCREATEVALIDATOR'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGCREATEVALIDATOR'].fields_by_name['pubkey']._loaded_options = None - _globals['_MSGCREATEVALIDATOR'].fields_by_name['pubkey']._serialized_options = b'\312\264-\024cosmos.crypto.PubKey' - _globals['_MSGCREATEVALIDATOR'].fields_by_name['value']._loaded_options = None - _globals['_MSGCREATEVALIDATOR'].fields_by_name['value']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGCREATEVALIDATOR']._loaded_options = None - _globals['_MSGCREATEVALIDATOR']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*\035cosmos-sdk/MsgCreateValidator' - _globals['_MSGEDITVALIDATOR'].fields_by_name['description']._loaded_options = None - _globals['_MSGEDITVALIDATOR'].fields_by_name['description']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGEDITVALIDATOR'].fields_by_name['validator_address']._loaded_options = None - _globals['_MSGEDITVALIDATOR'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGEDITVALIDATOR'].fields_by_name['commission_rate']._loaded_options = None - _globals['_MSGEDITVALIDATOR'].fields_by_name['commission_rate']._serialized_options = b'\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' - _globals['_MSGEDITVALIDATOR'].fields_by_name['min_self_delegation']._loaded_options = None - _globals['_MSGEDITVALIDATOR'].fields_by_name['min_self_delegation']._serialized_options = b'\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' - _globals['_MSGEDITVALIDATOR']._loaded_options = None - _globals['_MSGEDITVALIDATOR']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*\033cosmos-sdk/MsgEditValidator' - _globals['_MSGDELEGATE'].fields_by_name['delegator_address']._loaded_options = None - _globals['_MSGDELEGATE'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGDELEGATE'].fields_by_name['validator_address']._loaded_options = None - _globals['_MSGDELEGATE'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGDELEGATE'].fields_by_name['amount']._loaded_options = None - _globals['_MSGDELEGATE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGDELEGATE']._loaded_options = None - _globals['_MSGDELEGATE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\026cosmos-sdk/MsgDelegate' - _globals['_MSGBEGINREDELEGATE'].fields_by_name['delegator_address']._loaded_options = None - _globals['_MSGBEGINREDELEGATE'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGBEGINREDELEGATE'].fields_by_name['validator_src_address']._loaded_options = None - _globals['_MSGBEGINREDELEGATE'].fields_by_name['validator_src_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGBEGINREDELEGATE'].fields_by_name['validator_dst_address']._loaded_options = None - _globals['_MSGBEGINREDELEGATE'].fields_by_name['validator_dst_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGBEGINREDELEGATE'].fields_by_name['amount']._loaded_options = None - _globals['_MSGBEGINREDELEGATE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGBEGINREDELEGATE']._loaded_options = None - _globals['_MSGBEGINREDELEGATE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\035cosmos-sdk/MsgBeginRedelegate' - _globals['_MSGBEGINREDELEGATERESPONSE'].fields_by_name['completion_time']._loaded_options = None - _globals['_MSGBEGINREDELEGATERESPONSE'].fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_MSGUNDELEGATE'].fields_by_name['delegator_address']._loaded_options = None - _globals['_MSGUNDELEGATE'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUNDELEGATE'].fields_by_name['validator_address']._loaded_options = None - _globals['_MSGUNDELEGATE'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGUNDELEGATE'].fields_by_name['amount']._loaded_options = None - _globals['_MSGUNDELEGATE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUNDELEGATE']._loaded_options = None - _globals['_MSGUNDELEGATE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\030cosmos-sdk/MsgUndelegate' - _globals['_MSGUNDELEGATERESPONSE'].fields_by_name['completion_time']._loaded_options = None - _globals['_MSGUNDELEGATERESPONSE'].fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_MSGUNDELEGATERESPONSE'].fields_by_name['amount']._loaded_options = None - _globals['_MSGUNDELEGATERESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['delegator_address']._loaded_options = None - _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['validator_address']._loaded_options = None - _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' - _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['amount']._loaded_options = None - _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGCANCELUNBONDINGDELEGATION']._loaded_options = None - _globals['_MSGCANCELUNBONDINGDELEGATION']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\'cosmos-sdk/MsgCancelUnbondingDelegation' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*$cosmos-sdk/x/staking/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGCREATEVALIDATOR']._serialized_start=283 - _globals['_MSGCREATEVALIDATOR']._serialized_end=918 - _globals['_MSGCREATEVALIDATORRESPONSE']._serialized_start=920 - _globals['_MSGCREATEVALIDATORRESPONSE']._serialized_end=948 - _globals['_MSGEDITVALIDATOR']._serialized_start=951 - _globals['_MSGEDITVALIDATOR']._serialized_end=1372 - _globals['_MSGEDITVALIDATORRESPONSE']._serialized_start=1374 - _globals['_MSGEDITVALIDATORRESPONSE']._serialized_end=1400 - _globals['_MSGDELEGATE']._serialized_start=1403 - _globals['_MSGDELEGATE']._serialized_end=1688 - _globals['_MSGDELEGATERESPONSE']._serialized_start=1690 - _globals['_MSGDELEGATERESPONSE']._serialized_end=1711 - _globals['_MSGBEGINREDELEGATE']._serialized_start=1714 - _globals['_MSGBEGINREDELEGATE']._serialized_end=2107 - _globals['_MSGBEGINREDELEGATERESPONSE']._serialized_start=2109 - _globals['_MSGBEGINREDELEGATERESPONSE']._serialized_end=2221 - _globals['_MSGUNDELEGATE']._serialized_start=2224 - _globals['_MSGUNDELEGATE']._serialized_end=2513 - _globals['_MSGUNDELEGATERESPONSE']._serialized_start=2516 - _globals['_MSGUNDELEGATERESPONSE']._serialized_end=2685 - _globals['_MSGCANCELUNBONDINGDELEGATION']._serialized_start=2688 - _globals['_MSGCANCELUNBONDINGDELEGATION']._serialized_end=3048 - _globals['_MSGCANCELUNBONDINGDELEGATIONRESPONSE']._serialized_start=3050 - _globals['_MSGCANCELUNBONDINGDELEGATIONRESPONSE']._serialized_end=3088 - _globals['_MSGUPDATEPARAMS']._serialized_start=3091 - _globals['_MSGUPDATEPARAMS']._serialized_end=3288 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=3290 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=3315 - _globals['_MSG']._serialized_start=3318 - _globals['_MSG']._serialized_end=4115 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\032com.cosmos.staking.v1beta1B\007TxProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' + ) + _globals["_MSGCREATEVALIDATOR"].fields_by_name["description"]._loaded_options = None + _globals["_MSGCREATEVALIDATOR"].fields_by_name[ + "description" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGCREATEVALIDATOR"].fields_by_name["commission"]._loaded_options = None + _globals["_MSGCREATEVALIDATOR"].fields_by_name[ + "commission" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGCREATEVALIDATOR"].fields_by_name["min_self_delegation"]._loaded_options = None + _globals["_MSGCREATEVALIDATOR"].fields_by_name[ + "min_self_delegation" + ]._serialized_options = ( + b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001" + ) + _globals["_MSGCREATEVALIDATOR"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_MSGCREATEVALIDATOR"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\030\001\322\264-\024cosmos.AddressString" + _globals["_MSGCREATEVALIDATOR"].fields_by_name["validator_address"]._loaded_options = None + _globals["_MSGCREATEVALIDATOR"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_MSGCREATEVALIDATOR"].fields_by_name["pubkey"]._loaded_options = None + _globals["_MSGCREATEVALIDATOR"].fields_by_name["pubkey"]._serialized_options = b"\312\264-\024cosmos.crypto.PubKey" + _globals["_MSGCREATEVALIDATOR"].fields_by_name["value"]._loaded_options = None + _globals["_MSGCREATEVALIDATOR"].fields_by_name["value"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGCREATEVALIDATOR"]._loaded_options = None + _globals["_MSGCREATEVALIDATOR"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*\035cosmos-sdk/MsgCreateValidator" + ) + _globals["_MSGEDITVALIDATOR"].fields_by_name["description"]._loaded_options = None + _globals["_MSGEDITVALIDATOR"].fields_by_name[ + "description" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGEDITVALIDATOR"].fields_by_name["validator_address"]._loaded_options = None + _globals["_MSGEDITVALIDATOR"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_MSGEDITVALIDATOR"].fields_by_name["commission_rate"]._loaded_options = None + _globals["_MSGEDITVALIDATOR"].fields_by_name[ + "commission_rate" + ]._serialized_options = b"\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" + _globals["_MSGEDITVALIDATOR"].fields_by_name["min_self_delegation"]._loaded_options = None + _globals["_MSGEDITVALIDATOR"].fields_by_name[ + "min_self_delegation" + ]._serialized_options = b"\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" + _globals["_MSGEDITVALIDATOR"]._loaded_options = None + _globals["_MSGEDITVALIDATOR"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*\033cosmos-sdk/MsgEditValidator" + ) + _globals["_MSGDELEGATE"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_MSGDELEGATE"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGDELEGATE"].fields_by_name["validator_address"]._loaded_options = None + _globals["_MSGDELEGATE"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_MSGDELEGATE"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGDELEGATE"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGDELEGATE"]._loaded_options = None + _globals["_MSGDELEGATE"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\026cosmos-sdk/MsgDelegate" + ) + _globals["_MSGBEGINREDELEGATE"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_MSGBEGINREDELEGATE"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGBEGINREDELEGATE"].fields_by_name["validator_src_address"]._loaded_options = None + _globals["_MSGBEGINREDELEGATE"].fields_by_name[ + "validator_src_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_MSGBEGINREDELEGATE"].fields_by_name["validator_dst_address"]._loaded_options = None + _globals["_MSGBEGINREDELEGATE"].fields_by_name[ + "validator_dst_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_MSGBEGINREDELEGATE"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGBEGINREDELEGATE"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGBEGINREDELEGATE"]._loaded_options = None + _globals["_MSGBEGINREDELEGATE"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\035cosmos-sdk/MsgBeginRedelegate" + ) + _globals["_MSGBEGINREDELEGATERESPONSE"].fields_by_name["completion_time"]._loaded_options = None + _globals["_MSGBEGINREDELEGATERESPONSE"].fields_by_name[ + "completion_time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_MSGUNDELEGATE"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_MSGUNDELEGATE"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUNDELEGATE"].fields_by_name["validator_address"]._loaded_options = None + _globals["_MSGUNDELEGATE"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_MSGUNDELEGATE"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGUNDELEGATE"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGUNDELEGATE"]._loaded_options = None + _globals["_MSGUNDELEGATE"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\030cosmos-sdk/MsgUndelegate" + ) + _globals["_MSGUNDELEGATERESPONSE"].fields_by_name["completion_time"]._loaded_options = None + _globals["_MSGUNDELEGATERESPONSE"].fields_by_name[ + "completion_time" + ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_MSGUNDELEGATERESPONSE"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGUNDELEGATERESPONSE"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGCANCELUNBONDINGDELEGATION"].fields_by_name["delegator_address"]._loaded_options = None + _globals["_MSGCANCELUNBONDINGDELEGATION"].fields_by_name[ + "delegator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGCANCELUNBONDINGDELEGATION"].fields_by_name["validator_address"]._loaded_options = None + _globals["_MSGCANCELUNBONDINGDELEGATION"].fields_by_name[ + "validator_address" + ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" + _globals["_MSGCANCELUNBONDINGDELEGATION"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGCANCELUNBONDINGDELEGATION"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGCANCELUNBONDINGDELEGATION"]._loaded_options = None + _globals["_MSGCANCELUNBONDINGDELEGATION"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*'cosmos-sdk/MsgCancelUnbondingDelegation" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*$cosmos-sdk/x/staking/MsgUpdateParams" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGCREATEVALIDATOR"]._serialized_start = 283 + _globals["_MSGCREATEVALIDATOR"]._serialized_end = 918 + _globals["_MSGCREATEVALIDATORRESPONSE"]._serialized_start = 920 + _globals["_MSGCREATEVALIDATORRESPONSE"]._serialized_end = 948 + _globals["_MSGEDITVALIDATOR"]._serialized_start = 951 + _globals["_MSGEDITVALIDATOR"]._serialized_end = 1372 + _globals["_MSGEDITVALIDATORRESPONSE"]._serialized_start = 1374 + _globals["_MSGEDITVALIDATORRESPONSE"]._serialized_end = 1400 + _globals["_MSGDELEGATE"]._serialized_start = 1403 + _globals["_MSGDELEGATE"]._serialized_end = 1688 + _globals["_MSGDELEGATERESPONSE"]._serialized_start = 1690 + _globals["_MSGDELEGATERESPONSE"]._serialized_end = 1711 + _globals["_MSGBEGINREDELEGATE"]._serialized_start = 1714 + _globals["_MSGBEGINREDELEGATE"]._serialized_end = 2107 + _globals["_MSGBEGINREDELEGATERESPONSE"]._serialized_start = 2109 + _globals["_MSGBEGINREDELEGATERESPONSE"]._serialized_end = 2221 + _globals["_MSGUNDELEGATE"]._serialized_start = 2224 + _globals["_MSGUNDELEGATE"]._serialized_end = 2513 + _globals["_MSGUNDELEGATERESPONSE"]._serialized_start = 2516 + _globals["_MSGUNDELEGATERESPONSE"]._serialized_end = 2685 + _globals["_MSGCANCELUNBONDINGDELEGATION"]._serialized_start = 2688 + _globals["_MSGCANCELUNBONDINGDELEGATION"]._serialized_end = 3048 + _globals["_MSGCANCELUNBONDINGDELEGATIONRESPONSE"]._serialized_start = 3050 + _globals["_MSGCANCELUNBONDINGDELEGATIONRESPONSE"]._serialized_end = 3088 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 3091 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 3288 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 3290 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 3315 + _globals["_MSG"]._serialized_start = 3318 + _globals["_MSG"]._serialized_end = 4115 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2_grpc.py index f4113b4b..fbc65aaa 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the staking Msg service. - """ + """Msg defines the staking Msg service.""" def __init__(self, channel): """Constructor. @@ -16,83 +15,87 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.CreateValidator = channel.unary_unary( - '/cosmos.staking.v1beta1.Msg/CreateValidator', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidator.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidatorResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Msg/CreateValidator", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidator.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidatorResponse.FromString, + _registered_method=True, + ) self.EditValidator = channel.unary_unary( - '/cosmos.staking.v1beta1.Msg/EditValidator', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidator.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidatorResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Msg/EditValidator", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidator.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidatorResponse.FromString, + _registered_method=True, + ) self.Delegate = channel.unary_unary( - '/cosmos.staking.v1beta1.Msg/Delegate', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegate.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegateResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Msg/Delegate", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegate.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegateResponse.FromString, + _registered_method=True, + ) self.BeginRedelegate = channel.unary_unary( - '/cosmos.staking.v1beta1.Msg/BeginRedelegate', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegate.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegateResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Msg/BeginRedelegate", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegate.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegateResponse.FromString, + _registered_method=True, + ) self.Undelegate = channel.unary_unary( - '/cosmos.staking.v1beta1.Msg/Undelegate', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegate.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegateResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Msg/Undelegate", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegate.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegateResponse.FromString, + _registered_method=True, + ) self.CancelUnbondingDelegation = channel.unary_unary( - '/cosmos.staking.v1beta1.Msg/CancelUnbondingDelegation', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegation.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegationResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Msg/CancelUnbondingDelegation", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegation.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegationResponse.FromString, + _registered_method=True, + ) self.UpdateParams = channel.unary_unary( - '/cosmos.staking.v1beta1.Msg/UpdateParams', - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/cosmos.staking.v1beta1.Msg/UpdateParams", + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the staking Msg service. - """ + """Msg defines the staking Msg service.""" def CreateValidator(self, request, context): - """CreateValidator defines a method for creating a new validator. - """ + """CreateValidator defines a method for creating a new validator.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def EditValidator(self, request, context): - """EditValidator defines a method for editing an existing validator. - """ + """EditValidator defines a method for editing an existing validator.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Delegate(self, request, context): """Delegate defines a method for performing a delegation of coins from a delegator to a validator. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def BeginRedelegate(self, request, context): """BeginRedelegate defines a method for performing a redelegation of coins from a delegator and source validator to a destination validator. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Undelegate(self, request, context): """Undelegate defines a method for performing an undelegation from a delegate and a validator. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CancelUnbondingDelegation(self, request, context): """CancelUnbondingDelegation defines a method for performing canceling the unbonding delegation @@ -101,8 +104,8 @@ def CancelUnbondingDelegation(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateParams(self, request, context): """UpdateParams defines an operation for updating the x/staking module @@ -110,74 +113,74 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'CreateValidator': grpc.unary_unary_rpc_method_handler( - servicer.CreateValidator, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidator.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidatorResponse.SerializeToString, - ), - 'EditValidator': grpc.unary_unary_rpc_method_handler( - servicer.EditValidator, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidator.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidatorResponse.SerializeToString, - ), - 'Delegate': grpc.unary_unary_rpc_method_handler( - servicer.Delegate, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegate.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegateResponse.SerializeToString, - ), - 'BeginRedelegate': grpc.unary_unary_rpc_method_handler( - servicer.BeginRedelegate, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegate.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegateResponse.SerializeToString, - ), - 'Undelegate': grpc.unary_unary_rpc_method_handler( - servicer.Undelegate, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegate.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegateResponse.SerializeToString, - ), - 'CancelUnbondingDelegation': grpc.unary_unary_rpc_method_handler( - servicer.CancelUnbondingDelegation, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegation.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegationResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + "CreateValidator": grpc.unary_unary_rpc_method_handler( + servicer.CreateValidator, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidator.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidatorResponse.SerializeToString, + ), + "EditValidator": grpc.unary_unary_rpc_method_handler( + servicer.EditValidator, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidator.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidatorResponse.SerializeToString, + ), + "Delegate": grpc.unary_unary_rpc_method_handler( + servicer.Delegate, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegate.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegateResponse.SerializeToString, + ), + "BeginRedelegate": grpc.unary_unary_rpc_method_handler( + servicer.BeginRedelegate, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegate.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegateResponse.SerializeToString, + ), + "Undelegate": grpc.unary_unary_rpc_method_handler( + servicer.Undelegate, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegate.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegateResponse.SerializeToString, + ), + "CancelUnbondingDelegation": grpc.unary_unary_rpc_method_handler( + servicer.CancelUnbondingDelegation, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegation.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegationResponse.SerializeToString, + ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.staking.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.staking.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.staking.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.staking.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the staking Msg service. - """ + """Msg defines the staking Msg service.""" @staticmethod - def CreateValidator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreateValidator( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Msg/CreateValidator', + "/cosmos.staking.v1beta1.Msg/CreateValidator", cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidator.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidatorResponse.FromString, options, @@ -188,23 +191,26 @@ def CreateValidator(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def EditValidator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def EditValidator( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Msg/EditValidator', + "/cosmos.staking.v1beta1.Msg/EditValidator", cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidator.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidatorResponse.FromString, options, @@ -215,23 +221,26 @@ def EditValidator(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Delegate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Delegate( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Msg/Delegate', + "/cosmos.staking.v1beta1.Msg/Delegate", cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegate.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegateResponse.FromString, options, @@ -242,23 +251,26 @@ def Delegate(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def BeginRedelegate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def BeginRedelegate( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Msg/BeginRedelegate', + "/cosmos.staking.v1beta1.Msg/BeginRedelegate", cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegate.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegateResponse.FromString, options, @@ -269,23 +281,26 @@ def BeginRedelegate(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Undelegate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Undelegate( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Msg/Undelegate', + "/cosmos.staking.v1beta1.Msg/Undelegate", cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegate.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegateResponse.FromString, options, @@ -296,23 +311,26 @@ def Undelegate(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CancelUnbondingDelegation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CancelUnbondingDelegation( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Msg/CancelUnbondingDelegation', + "/cosmos.staking.v1beta1.Msg/CancelUnbondingDelegation", cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegation.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegationResponse.FromString, options, @@ -323,23 +341,26 @@ def CancelUnbondingDelegation(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.staking.v1beta1.Msg/UpdateParams', + "/cosmos.staking.v1beta1.Msg/UpdateParams", cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -350,4 +371,5 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2.py b/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2.py index 38edb1c1..3d99e32a 100644 --- a/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2.py +++ b/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,18 +16,22 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)cosmos/store/internal/kv/v1beta1/kv.proto\x12 cosmos.store.internal.kv.v1beta1\x1a\x14gogoproto/gogo.proto\"K\n\x05Pairs\x12\x42\n\x05pairs\x18\x01 \x03(\x0b\x32&.cosmos.store.internal.kv.v1beta1.PairB\x04\xc8\xde\x1f\x00R\x05pairs\".\n\x04Pair\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05valueB\xf4\x01\n$com.cosmos.store.internal.kv.v1beta1B\x07KvProtoP\x01Z\x1e\x63osmossdk.io/store/internal/kv\xa2\x02\x04\x43SIK\xaa\x02 Cosmos.Store.Internal.Kv.V1beta1\xca\x02 Cosmos\\Store\\Internal\\Kv\\V1beta1\xe2\x02,Cosmos\\Store\\Internal\\Kv\\V1beta1\\GPBMetadata\xea\x02$Cosmos::Store::Internal::Kv::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n)cosmos/store/internal/kv/v1beta1/kv.proto\x12 cosmos.store.internal.kv.v1beta1\x1a\x14gogoproto/gogo.proto"K\n\x05Pairs\x12\x42\n\x05pairs\x18\x01 \x03(\x0b\x32&.cosmos.store.internal.kv.v1beta1.PairB\x04\xc8\xde\x1f\x00R\x05pairs".\n\x04Pair\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05valueB\xf4\x01\n$com.cosmos.store.internal.kv.v1beta1B\x07KvProtoP\x01Z\x1e\x63osmossdk.io/store/internal/kv\xa2\x02\x04\x43SIK\xaa\x02 Cosmos.Store.Internal.Kv.V1beta1\xca\x02 Cosmos\\Store\\Internal\\Kv\\V1beta1\xe2\x02,Cosmos\\Store\\Internal\\Kv\\V1beta1\\GPBMetadata\xea\x02$Cosmos::Store::Internal::Kv::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.internal.kv.v1beta1.kv_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.store.internal.kv.v1beta1.kv_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n$com.cosmos.store.internal.kv.v1beta1B\007KvProtoP\001Z\036cosmossdk.io/store/internal/kv\242\002\004CSIK\252\002 Cosmos.Store.Internal.Kv.V1beta1\312\002 Cosmos\\Store\\Internal\\Kv\\V1beta1\342\002,Cosmos\\Store\\Internal\\Kv\\V1beta1\\GPBMetadata\352\002$Cosmos::Store::Internal::Kv::V1beta1' - _globals['_PAIRS'].fields_by_name['pairs']._loaded_options = None - _globals['_PAIRS'].fields_by_name['pairs']._serialized_options = b'\310\336\037\000' - _globals['_PAIRS']._serialized_start=101 - _globals['_PAIRS']._serialized_end=176 - _globals['_PAIR']._serialized_start=178 - _globals['_PAIR']._serialized_end=224 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n$com.cosmos.store.internal.kv.v1beta1B\007KvProtoP\001Z\036cosmossdk.io/store/internal/kv\242\002\004CSIK\252\002 Cosmos.Store.Internal.Kv.V1beta1\312\002 Cosmos\\Store\\Internal\\Kv\\V1beta1\342\002,Cosmos\\Store\\Internal\\Kv\\V1beta1\\GPBMetadata\352\002$Cosmos::Store::Internal::Kv::V1beta1" + ) + _globals["_PAIRS"].fields_by_name["pairs"]._loaded_options = None + _globals["_PAIRS"].fields_by_name["pairs"]._serialized_options = b"\310\336\037\000" + _globals["_PAIRS"]._serialized_start = 101 + _globals["_PAIRS"]._serialized_end = 176 + _globals["_PAIR"]._serialized_start = 178 + _globals["_PAIR"]._serialized_end = 224 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2_grpc.py b/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2_grpc.py +++ b/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/store/snapshots/v1/snapshot_pb2.py b/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2.py index 82ec32df..6bc16d14 100644 --- a/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2.py +++ b/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,30 +16,34 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(cosmos/store/snapshots/v1/snapshot.proto\x12\x19\x63osmos.store.snapshots.v1\x1a\x14gogoproto/gogo.proto\"\xad\x01\n\x08Snapshot\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x16\n\x06\x63hunks\x18\x03 \x01(\rR\x06\x63hunks\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x45\n\x08metadata\x18\x05 \x01(\x0b\x32#.cosmos.store.snapshots.v1.MetadataB\x04\xc8\xde\x1f\x00R\x08metadata\"-\n\x08Metadata\x12!\n\x0c\x63hunk_hashes\x18\x01 \x03(\x0cR\x0b\x63hunkHashes\"\xdf\x02\n\x0cSnapshotItem\x12\x44\n\x05store\x18\x01 \x01(\x0b\x32,.cosmos.store.snapshots.v1.SnapshotStoreItemH\x00R\x05store\x12K\n\x04iavl\x18\x02 \x01(\x0b\x32+.cosmos.store.snapshots.v1.SnapshotIAVLItemB\x08\xe2\xde\x1f\x04IAVLH\x00R\x04iavl\x12P\n\textension\x18\x03 \x01(\x0b\x32\x30.cosmos.store.snapshots.v1.SnapshotExtensionMetaH\x00R\textension\x12\x62\n\x11\x65xtension_payload\x18\x04 \x01(\x0b\x32\x33.cosmos.store.snapshots.v1.SnapshotExtensionPayloadH\x00R\x10\x65xtensionPayloadB\x06\n\x04item\"\'\n\x11SnapshotStoreItem\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"l\n\x10SnapshotIAVLItem\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12\x18\n\x07version\x18\x03 \x01(\x03R\x07version\x12\x16\n\x06height\x18\x04 \x01(\x05R\x06height\"C\n\x15SnapshotExtensionMeta\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\"4\n\x18SnapshotExtensionPayload\x12\x18\n\x07payload\x18\x01 \x01(\x0cR\x07payloadB\xd9\x01\n\x1d\x63om.cosmos.store.snapshots.v1B\rSnapshotProtoP\x01Z\"cosmossdk.io/store/snapshots/types\xa2\x02\x03\x43SS\xaa\x02\x19\x43osmos.Store.Snapshots.V1\xca\x02\x19\x43osmos\\Store\\Snapshots\\V1\xe2\x02%Cosmos\\Store\\Snapshots\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Store::Snapshots::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n(cosmos/store/snapshots/v1/snapshot.proto\x12\x19\x63osmos.store.snapshots.v1\x1a\x14gogoproto/gogo.proto"\xad\x01\n\x08Snapshot\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x16\n\x06\x63hunks\x18\x03 \x01(\rR\x06\x63hunks\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x45\n\x08metadata\x18\x05 \x01(\x0b\x32#.cosmos.store.snapshots.v1.MetadataB\x04\xc8\xde\x1f\x00R\x08metadata"-\n\x08Metadata\x12!\n\x0c\x63hunk_hashes\x18\x01 \x03(\x0cR\x0b\x63hunkHashes"\xdf\x02\n\x0cSnapshotItem\x12\x44\n\x05store\x18\x01 \x01(\x0b\x32,.cosmos.store.snapshots.v1.SnapshotStoreItemH\x00R\x05store\x12K\n\x04iavl\x18\x02 \x01(\x0b\x32+.cosmos.store.snapshots.v1.SnapshotIAVLItemB\x08\xe2\xde\x1f\x04IAVLH\x00R\x04iavl\x12P\n\textension\x18\x03 \x01(\x0b\x32\x30.cosmos.store.snapshots.v1.SnapshotExtensionMetaH\x00R\textension\x12\x62\n\x11\x65xtension_payload\x18\x04 \x01(\x0b\x32\x33.cosmos.store.snapshots.v1.SnapshotExtensionPayloadH\x00R\x10\x65xtensionPayloadB\x06\n\x04item"\'\n\x11SnapshotStoreItem\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"l\n\x10SnapshotIAVLItem\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12\x18\n\x07version\x18\x03 \x01(\x03R\x07version\x12\x16\n\x06height\x18\x04 \x01(\x05R\x06height"C\n\x15SnapshotExtensionMeta\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat"4\n\x18SnapshotExtensionPayload\x12\x18\n\x07payload\x18\x01 \x01(\x0cR\x07payloadB\xd9\x01\n\x1d\x63om.cosmos.store.snapshots.v1B\rSnapshotProtoP\x01Z"cosmossdk.io/store/snapshots/types\xa2\x02\x03\x43SS\xaa\x02\x19\x43osmos.Store.Snapshots.V1\xca\x02\x19\x43osmos\\Store\\Snapshots\\V1\xe2\x02%Cosmos\\Store\\Snapshots\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Store::Snapshots::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.snapshots.v1.snapshot_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.store.snapshots.v1.snapshot_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.store.snapshots.v1B\rSnapshotProtoP\001Z\"cosmossdk.io/store/snapshots/types\242\002\003CSS\252\002\031Cosmos.Store.Snapshots.V1\312\002\031Cosmos\\Store\\Snapshots\\V1\342\002%Cosmos\\Store\\Snapshots\\V1\\GPBMetadata\352\002\034Cosmos::Store::Snapshots::V1' - _globals['_SNAPSHOT'].fields_by_name['metadata']._loaded_options = None - _globals['_SNAPSHOT'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000' - _globals['_SNAPSHOTITEM'].fields_by_name['iavl']._loaded_options = None - _globals['_SNAPSHOTITEM'].fields_by_name['iavl']._serialized_options = b'\342\336\037\004IAVL' - _globals['_SNAPSHOT']._serialized_start=94 - _globals['_SNAPSHOT']._serialized_end=267 - _globals['_METADATA']._serialized_start=269 - _globals['_METADATA']._serialized_end=314 - _globals['_SNAPSHOTITEM']._serialized_start=317 - _globals['_SNAPSHOTITEM']._serialized_end=668 - _globals['_SNAPSHOTSTOREITEM']._serialized_start=670 - _globals['_SNAPSHOTSTOREITEM']._serialized_end=709 - _globals['_SNAPSHOTIAVLITEM']._serialized_start=711 - _globals['_SNAPSHOTIAVLITEM']._serialized_end=819 - _globals['_SNAPSHOTEXTENSIONMETA']._serialized_start=821 - _globals['_SNAPSHOTEXTENSIONMETA']._serialized_end=888 - _globals['_SNAPSHOTEXTENSIONPAYLOAD']._serialized_start=890 - _globals['_SNAPSHOTEXTENSIONPAYLOAD']._serialized_end=942 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\035com.cosmos.store.snapshots.v1B\rSnapshotProtoP\001Z"cosmossdk.io/store/snapshots/types\242\002\003CSS\252\002\031Cosmos.Store.Snapshots.V1\312\002\031Cosmos\\Store\\Snapshots\\V1\342\002%Cosmos\\Store\\Snapshots\\V1\\GPBMetadata\352\002\034Cosmos::Store::Snapshots::V1' + ) + _globals["_SNAPSHOT"].fields_by_name["metadata"]._loaded_options = None + _globals["_SNAPSHOT"].fields_by_name["metadata"]._serialized_options = b"\310\336\037\000" + _globals["_SNAPSHOTITEM"].fields_by_name["iavl"]._loaded_options = None + _globals["_SNAPSHOTITEM"].fields_by_name["iavl"]._serialized_options = b"\342\336\037\004IAVL" + _globals["_SNAPSHOT"]._serialized_start = 94 + _globals["_SNAPSHOT"]._serialized_end = 267 + _globals["_METADATA"]._serialized_start = 269 + _globals["_METADATA"]._serialized_end = 314 + _globals["_SNAPSHOTITEM"]._serialized_start = 317 + _globals["_SNAPSHOTITEM"]._serialized_end = 668 + _globals["_SNAPSHOTSTOREITEM"]._serialized_start = 670 + _globals["_SNAPSHOTSTOREITEM"]._serialized_end = 709 + _globals["_SNAPSHOTIAVLITEM"]._serialized_start = 711 + _globals["_SNAPSHOTIAVLITEM"]._serialized_end = 819 + _globals["_SNAPSHOTEXTENSIONMETA"]._serialized_start = 821 + _globals["_SNAPSHOTEXTENSIONMETA"]._serialized_end = 888 + _globals["_SNAPSHOTEXTENSIONPAYLOAD"]._serialized_start = 890 + _globals["_SNAPSHOTEXTENSIONPAYLOAD"]._serialized_end = 942 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2_grpc.py b/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2_grpc.py +++ b/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/store/streaming/abci/grpc_pb2.py b/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2.py index c1d7ec5c..a688fa58 100644 --- a/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2.py +++ b/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,22 +17,26 @@ from pyinjective.proto.cosmos.store.v1beta1 import listening_pb2 as cosmos_dot_store_dot_v1beta1_dot_listening__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/store/streaming/abci/grpc.proto\x12\x1b\x63osmos.store.streaming.abci\x1a\x1btendermint/abci/types.proto\x1a$cosmos/store/v1beta1/listening.proto\"\x8f\x01\n\x1aListenFinalizeBlockRequest\x12\x37\n\x03req\x18\x01 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockR\x03req\x12\x38\n\x03res\x18\x02 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockR\x03res\"\x1d\n\x1bListenFinalizeBlockResponse\"\xad\x01\n\x13ListenCommitRequest\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x03R\x0b\x62lockHeight\x12\x31\n\x03res\x18\x02 \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitR\x03res\x12@\n\nchange_set\x18\x03 \x03(\x0b\x32!.cosmos.store.v1beta1.StoreKVPairR\tchangeSet\"\x16\n\x14ListenCommitResponse2\x95\x02\n\x13\x41\x42\x43IListenerService\x12\x88\x01\n\x13ListenFinalizeBlock\x12\x37.cosmos.store.streaming.abci.ListenFinalizeBlockRequest\x1a\x38.cosmos.store.streaming.abci.ListenFinalizeBlockResponse\x12s\n\x0cListenCommit\x12\x30.cosmos.store.streaming.abci.ListenCommitRequest\x1a\x31.cosmos.store.streaming.abci.ListenCommitResponseB\xdf\x01\n\x1f\x63om.cosmos.store.streaming.abciB\tGrpcProtoP\x01Z!cosmossdk.io/store/streaming/abci\xa2\x02\x04\x43SSA\xaa\x02\x1b\x43osmos.Store.Streaming.Abci\xca\x02\x1b\x43osmos\\Store\\Streaming\\Abci\xe2\x02\'Cosmos\\Store\\Streaming\\Abci\\GPBMetadata\xea\x02\x1e\x43osmos::Store::Streaming::Abcib\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&cosmos/store/streaming/abci/grpc.proto\x12\x1b\x63osmos.store.streaming.abci\x1a\x1btendermint/abci/types.proto\x1a$cosmos/store/v1beta1/listening.proto"\x8f\x01\n\x1aListenFinalizeBlockRequest\x12\x37\n\x03req\x18\x01 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockR\x03req\x12\x38\n\x03res\x18\x02 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockR\x03res"\x1d\n\x1bListenFinalizeBlockResponse"\xad\x01\n\x13ListenCommitRequest\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x03R\x0b\x62lockHeight\x12\x31\n\x03res\x18\x02 \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitR\x03res\x12@\n\nchange_set\x18\x03 \x03(\x0b\x32!.cosmos.store.v1beta1.StoreKVPairR\tchangeSet"\x16\n\x14ListenCommitResponse2\x95\x02\n\x13\x41\x42\x43IListenerService\x12\x88\x01\n\x13ListenFinalizeBlock\x12\x37.cosmos.store.streaming.abci.ListenFinalizeBlockRequest\x1a\x38.cosmos.store.streaming.abci.ListenFinalizeBlockResponse\x12s\n\x0cListenCommit\x12\x30.cosmos.store.streaming.abci.ListenCommitRequest\x1a\x31.cosmos.store.streaming.abci.ListenCommitResponseB\xdf\x01\n\x1f\x63om.cosmos.store.streaming.abciB\tGrpcProtoP\x01Z!cosmossdk.io/store/streaming/abci\xa2\x02\x04\x43SSA\xaa\x02\x1b\x43osmos.Store.Streaming.Abci\xca\x02\x1b\x43osmos\\Store\\Streaming\\Abci\xe2\x02\'Cosmos\\Store\\Streaming\\Abci\\GPBMetadata\xea\x02\x1e\x43osmos::Store::Streaming::Abcib\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.streaming.abci.grpc_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.store.streaming.abci.grpc_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.store.streaming.abciB\tGrpcProtoP\001Z!cosmossdk.io/store/streaming/abci\242\002\004CSSA\252\002\033Cosmos.Store.Streaming.Abci\312\002\033Cosmos\\Store\\Streaming\\Abci\342\002\'Cosmos\\Store\\Streaming\\Abci\\GPBMetadata\352\002\036Cosmos::Store::Streaming::Abci' - _globals['_LISTENFINALIZEBLOCKREQUEST']._serialized_start=139 - _globals['_LISTENFINALIZEBLOCKREQUEST']._serialized_end=282 - _globals['_LISTENFINALIZEBLOCKRESPONSE']._serialized_start=284 - _globals['_LISTENFINALIZEBLOCKRESPONSE']._serialized_end=313 - _globals['_LISTENCOMMITREQUEST']._serialized_start=316 - _globals['_LISTENCOMMITREQUEST']._serialized_end=489 - _globals['_LISTENCOMMITRESPONSE']._serialized_start=491 - _globals['_LISTENCOMMITRESPONSE']._serialized_end=513 - _globals['_ABCILISTENERSERVICE']._serialized_start=516 - _globals['_ABCILISTENERSERVICE']._serialized_end=793 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\037com.cosmos.store.streaming.abciB\tGrpcProtoP\001Z!cosmossdk.io/store/streaming/abci\242\002\004CSSA\252\002\033Cosmos.Store.Streaming.Abci\312\002\033Cosmos\\Store\\Streaming\\Abci\342\002'Cosmos\\Store\\Streaming\\Abci\\GPBMetadata\352\002\036Cosmos::Store::Streaming::Abci" + ) + _globals["_LISTENFINALIZEBLOCKREQUEST"]._serialized_start = 139 + _globals["_LISTENFINALIZEBLOCKREQUEST"]._serialized_end = 282 + _globals["_LISTENFINALIZEBLOCKRESPONSE"]._serialized_start = 284 + _globals["_LISTENFINALIZEBLOCKRESPONSE"]._serialized_end = 313 + _globals["_LISTENCOMMITREQUEST"]._serialized_start = 316 + _globals["_LISTENCOMMITREQUEST"]._serialized_end = 489 + _globals["_LISTENCOMMITRESPONSE"]._serialized_start = 491 + _globals["_LISTENCOMMITRESPONSE"]._serialized_end = 513 + _globals["_ABCILISTENERSERVICE"]._serialized_start = 516 + _globals["_ABCILISTENERSERVICE"]._serialized_end = 793 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2_grpc.py b/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2_grpc.py index da99ee14..c32af410 100644 --- a/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2_grpc.py +++ b/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2_grpc.py @@ -2,12 +2,13 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.cosmos.store.streaming.abci import grpc_pb2 as cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2 +from pyinjective.proto.cosmos.store.streaming.abci import ( + grpc_pb2 as cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2, +) class ABCIListenerServiceStub(object): - """ABCIListenerService is the service for the BaseApp ABCIListener interface - """ + """ABCIListenerService is the service for the BaseApp ABCIListener interface""" def __init__(self, channel): """Constructor. @@ -16,75 +17,76 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.ListenFinalizeBlock = channel.unary_unary( - '/cosmos.store.streaming.abci.ABCIListenerService/ListenFinalizeBlock', - request_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockRequest.SerializeToString, - response_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockResponse.FromString, - _registered_method=True) + "/cosmos.store.streaming.abci.ABCIListenerService/ListenFinalizeBlock", + request_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockRequest.SerializeToString, + response_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockResponse.FromString, + _registered_method=True, + ) self.ListenCommit = channel.unary_unary( - '/cosmos.store.streaming.abci.ABCIListenerService/ListenCommit', - request_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitRequest.SerializeToString, - response_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitResponse.FromString, - _registered_method=True) + "/cosmos.store.streaming.abci.ABCIListenerService/ListenCommit", + request_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitRequest.SerializeToString, + response_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitResponse.FromString, + _registered_method=True, + ) class ABCIListenerServiceServicer(object): - """ABCIListenerService is the service for the BaseApp ABCIListener interface - """ + """ABCIListenerService is the service for the BaseApp ABCIListener interface""" def ListenFinalizeBlock(self, request, context): - """ListenFinalizeBlock is the corresponding endpoint for ABCIListener.ListenEndBlock - """ + """ListenFinalizeBlock is the corresponding endpoint for ABCIListener.ListenEndBlock""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListenCommit(self, request, context): - """ListenCommit is the corresponding endpoint for ABCIListener.ListenCommit - """ + """ListenCommit is the corresponding endpoint for ABCIListener.ListenCommit""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_ABCIListenerServiceServicer_to_server(servicer, server): rpc_method_handlers = { - 'ListenFinalizeBlock': grpc.unary_unary_rpc_method_handler( - servicer.ListenFinalizeBlock, - request_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockRequest.FromString, - response_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockResponse.SerializeToString, - ), - 'ListenCommit': grpc.unary_unary_rpc_method_handler( - servicer.ListenCommit, - request_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitRequest.FromString, - response_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitResponse.SerializeToString, - ), + "ListenFinalizeBlock": grpc.unary_unary_rpc_method_handler( + servicer.ListenFinalizeBlock, + request_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockRequest.FromString, + response_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockResponse.SerializeToString, + ), + "ListenCommit": grpc.unary_unary_rpc_method_handler( + servicer.ListenCommit, + request_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitRequest.FromString, + response_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.store.streaming.abci.ABCIListenerService', rpc_method_handlers) + "cosmos.store.streaming.abci.ABCIListenerService", rpc_method_handlers + ) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.store.streaming.abci.ABCIListenerService', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.store.streaming.abci.ABCIListenerService", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class ABCIListenerService(object): - """ABCIListenerService is the service for the BaseApp ABCIListener interface - """ + """ABCIListenerService is the service for the BaseApp ABCIListener interface""" @staticmethod - def ListenFinalizeBlock(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ListenFinalizeBlock( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.store.streaming.abci.ABCIListenerService/ListenFinalizeBlock', + "/cosmos.store.streaming.abci.ABCIListenerService/ListenFinalizeBlock", cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockRequest.SerializeToString, cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockResponse.FromString, options, @@ -95,23 +97,26 @@ def ListenFinalizeBlock(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ListenCommit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ListenCommit( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.store.streaming.abci.ABCIListenerService/ListenCommit', + "/cosmos.store.streaming.abci.ABCIListenerService/ListenCommit", cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitRequest.SerializeToString, cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitResponse.FromString, options, @@ -122,4 +127,5 @@ def ListenCommit(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2.py b/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2.py index d6612ccd..44bd7c4f 100644 --- a/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2.py +++ b/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,26 +17,30 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/store/v1beta1/commit_info.proto\x12\x14\x63osmos.store.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb2\x01\n\nCommitInfo\x12\x18\n\x07version\x18\x01 \x01(\x03R\x07version\x12\x46\n\x0bstore_infos\x18\x02 \x03(\x0b\x32\x1f.cosmos.store.v1beta1.StoreInfoB\x04\xc8\xde\x1f\x00R\nstoreInfos\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\"b\n\tStoreInfo\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x41\n\tcommit_id\x18\x02 \x01(\x0b\x32\x1e.cosmos.store.v1beta1.CommitIDB\x04\xc8\xde\x1f\x00R\x08\x63ommitId\">\n\x08\x43ommitID\x12\x18\n\x07version\x18\x01 \x01(\x03R\x07version\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash:\x04\x98\xa0\x1f\x00\x42\xb7\x01\n\x18\x63om.cosmos.store.v1beta1B\x0f\x43ommitInfoProtoP\x01Z\x18\x63osmossdk.io/store/types\xa2\x02\x03\x43SX\xaa\x02\x14\x43osmos.Store.V1beta1\xca\x02\x14\x43osmos\\Store\\V1beta1\xe2\x02 Cosmos\\Store\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Store::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&cosmos/store/v1beta1/commit_info.proto\x12\x14\x63osmos.store.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xb2\x01\n\nCommitInfo\x12\x18\n\x07version\x18\x01 \x01(\x03R\x07version\x12\x46\n\x0bstore_infos\x18\x02 \x03(\x0b\x32\x1f.cosmos.store.v1beta1.StoreInfoB\x04\xc8\xde\x1f\x00R\nstoreInfos\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp"b\n\tStoreInfo\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x41\n\tcommit_id\x18\x02 \x01(\x0b\x32\x1e.cosmos.store.v1beta1.CommitIDB\x04\xc8\xde\x1f\x00R\x08\x63ommitId">\n\x08\x43ommitID\x12\x18\n\x07version\x18\x01 \x01(\x03R\x07version\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash:\x04\x98\xa0\x1f\x00\x42\xb7\x01\n\x18\x63om.cosmos.store.v1beta1B\x0f\x43ommitInfoProtoP\x01Z\x18\x63osmossdk.io/store/types\xa2\x02\x03\x43SX\xaa\x02\x14\x43osmos.Store.V1beta1\xca\x02\x14\x43osmos\\Store\\V1beta1\xe2\x02 Cosmos\\Store\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Store::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.v1beta1.commit_info_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.store.v1beta1.commit_info_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.store.v1beta1B\017CommitInfoProtoP\001Z\030cosmossdk.io/store/types\242\002\003CSX\252\002\024Cosmos.Store.V1beta1\312\002\024Cosmos\\Store\\V1beta1\342\002 Cosmos\\Store\\V1beta1\\GPBMetadata\352\002\026Cosmos::Store::V1beta1' - _globals['_COMMITINFO'].fields_by_name['store_infos']._loaded_options = None - _globals['_COMMITINFO'].fields_by_name['store_infos']._serialized_options = b'\310\336\037\000' - _globals['_COMMITINFO'].fields_by_name['timestamp']._loaded_options = None - _globals['_COMMITINFO'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_STOREINFO'].fields_by_name['commit_id']._loaded_options = None - _globals['_STOREINFO'].fields_by_name['commit_id']._serialized_options = b'\310\336\037\000' - _globals['_COMMITID']._loaded_options = None - _globals['_COMMITID']._serialized_options = b'\230\240\037\000' - _globals['_COMMITINFO']._serialized_start=120 - _globals['_COMMITINFO']._serialized_end=298 - _globals['_STOREINFO']._serialized_start=300 - _globals['_STOREINFO']._serialized_end=398 - _globals['_COMMITID']._serialized_start=400 - _globals['_COMMITID']._serialized_end=462 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\030com.cosmos.store.v1beta1B\017CommitInfoProtoP\001Z\030cosmossdk.io/store/types\242\002\003CSX\252\002\024Cosmos.Store.V1beta1\312\002\024Cosmos\\Store\\V1beta1\342\002 Cosmos\\Store\\V1beta1\\GPBMetadata\352\002\026Cosmos::Store::V1beta1" + ) + _globals["_COMMITINFO"].fields_by_name["store_infos"]._loaded_options = None + _globals["_COMMITINFO"].fields_by_name["store_infos"]._serialized_options = b"\310\336\037\000" + _globals["_COMMITINFO"].fields_by_name["timestamp"]._loaded_options = None + _globals["_COMMITINFO"].fields_by_name["timestamp"]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_STOREINFO"].fields_by_name["commit_id"]._loaded_options = None + _globals["_STOREINFO"].fields_by_name["commit_id"]._serialized_options = b"\310\336\037\000" + _globals["_COMMITID"]._loaded_options = None + _globals["_COMMITID"]._serialized_options = b"\230\240\037\000" + _globals["_COMMITINFO"]._serialized_start = 120 + _globals["_COMMITINFO"]._serialized_end = 298 + _globals["_STOREINFO"]._serialized_start = 300 + _globals["_STOREINFO"]._serialized_end = 398 + _globals["_COMMITID"]._serialized_start = 400 + _globals["_COMMITID"]._serialized_end = 462 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2_grpc.py b/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2_grpc.py +++ b/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/store/v1beta1/listening_pb2.py b/pyinjective/proto/cosmos/store/v1beta1/listening_pb2.py index 2234f381..2dd196b5 100644 --- a/pyinjective/proto/cosmos/store/v1beta1/listening_pb2.py +++ b/pyinjective/proto/cosmos/store/v1beta1/listening_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/store/v1beta1/listening.proto\x12\x14\x63osmos.store.v1beta1\x1a\x1btendermint/abci/types.proto\"j\n\x0bStoreKVPair\x12\x1b\n\tstore_key\x18\x01 \x01(\tR\x08storeKey\x12\x16\n\x06\x64\x65lete\x18\x02 \x01(\x08R\x06\x64\x65lete\x12\x10\n\x03key\x18\x03 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x04 \x01(\x0cR\x05value\"\xb4\x02\n\rBlockMetadata\x12H\n\x0fresponse_commit\x18\x06 \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitR\x0eresponseCommit\x12[\n\x16request_finalize_block\x18\x07 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockR\x14requestFinalizeBlock\x12^\n\x17response_finalize_block\x18\x08 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockR\x15responseFinalizeBlockJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\x42\xb6\x01\n\x18\x63om.cosmos.store.v1beta1B\x0eListeningProtoP\x01Z\x18\x63osmossdk.io/store/types\xa2\x02\x03\x43SX\xaa\x02\x14\x43osmos.Store.V1beta1\xca\x02\x14\x43osmos\\Store\\V1beta1\xe2\x02 Cosmos\\Store\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Store::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$cosmos/store/v1beta1/listening.proto\x12\x14\x63osmos.store.v1beta1\x1a\x1btendermint/abci/types.proto"j\n\x0bStoreKVPair\x12\x1b\n\tstore_key\x18\x01 \x01(\tR\x08storeKey\x12\x16\n\x06\x64\x65lete\x18\x02 \x01(\x08R\x06\x64\x65lete\x12\x10\n\x03key\x18\x03 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x04 \x01(\x0cR\x05value"\xb4\x02\n\rBlockMetadata\x12H\n\x0fresponse_commit\x18\x06 \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitR\x0eresponseCommit\x12[\n\x16request_finalize_block\x18\x07 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockR\x14requestFinalizeBlock\x12^\n\x17response_finalize_block\x18\x08 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockR\x15responseFinalizeBlockJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\x42\xb6\x01\n\x18\x63om.cosmos.store.v1beta1B\x0eListeningProtoP\x01Z\x18\x63osmossdk.io/store/types\xa2\x02\x03\x43SX\xaa\x02\x14\x43osmos.Store.V1beta1\xca\x02\x14\x43osmos\\Store\\V1beta1\xe2\x02 Cosmos\\Store\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Store::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.v1beta1.listening_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.store.v1beta1.listening_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.store.v1beta1B\016ListeningProtoP\001Z\030cosmossdk.io/store/types\242\002\003CSX\252\002\024Cosmos.Store.V1beta1\312\002\024Cosmos\\Store\\V1beta1\342\002 Cosmos\\Store\\V1beta1\\GPBMetadata\352\002\026Cosmos::Store::V1beta1' - _globals['_STOREKVPAIR']._serialized_start=91 - _globals['_STOREKVPAIR']._serialized_end=197 - _globals['_BLOCKMETADATA']._serialized_start=200 - _globals['_BLOCKMETADATA']._serialized_end=508 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\030com.cosmos.store.v1beta1B\016ListeningProtoP\001Z\030cosmossdk.io/store/types\242\002\003CSX\252\002\024Cosmos.Store.V1beta1\312\002\024Cosmos\\Store\\V1beta1\342\002 Cosmos\\Store\\V1beta1\\GPBMetadata\352\002\026Cosmos::Store::V1beta1" + ) + _globals["_STOREKVPAIR"]._serialized_start = 91 + _globals["_STOREKVPAIR"]._serialized_end = 197 + _globals["_BLOCKMETADATA"]._serialized_start = 200 + _globals["_BLOCKMETADATA"]._serialized_end = 508 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/v1beta1/listening_pb2_grpc.py b/pyinjective/proto/cosmos/store/v1beta1/listening_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/store/v1beta1/listening_pb2_grpc.py +++ b/pyinjective/proto/cosmos/store/v1beta1/listening_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/tx/config/v1/config_pb2.py b/pyinjective/proto/cosmos/tx/config/v1/config_pb2.py index c255f1db..5b46fa9f 100644 --- a/pyinjective/proto/cosmos/tx/config/v1/config_pb2.py +++ b/pyinjective/proto/cosmos/tx/config/v1/config_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/tx/config/v1/config.proto\x12\x13\x63osmos.tx.config.v1\x1a cosmos/app/v1alpha1/module.proto\"\x90\x01\n\x06\x43onfig\x12*\n\x11skip_ante_handler\x18\x01 \x01(\x08R\x0fskipAnteHandler\x12*\n\x11skip_post_handler\x18\x02 \x01(\x08R\x0fskipPostHandler:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/auth/txB\x95\x01\n\x17\x63om.cosmos.tx.config.v1B\x0b\x43onfigProtoP\x01\xa2\x02\x03\x43TC\xaa\x02\x13\x43osmos.Tx.Config.V1\xca\x02\x13\x43osmos\\Tx\\Config\\V1\xe2\x02\x1f\x43osmos\\Tx\\Config\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Tx::Config::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n cosmos/tx/config/v1/config.proto\x12\x13\x63osmos.tx.config.v1\x1a cosmos/app/v1alpha1/module.proto"\x90\x01\n\x06\x43onfig\x12*\n\x11skip_ante_handler\x18\x01 \x01(\x08R\x0fskipAnteHandler\x12*\n\x11skip_post_handler\x18\x02 \x01(\x08R\x0fskipPostHandler:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/auth/txB\x95\x01\n\x17\x63om.cosmos.tx.config.v1B\x0b\x43onfigProtoP\x01\xa2\x02\x03\x43TC\xaa\x02\x13\x43osmos.Tx.Config.V1\xca\x02\x13\x43osmos\\Tx\\Config\\V1\xe2\x02\x1f\x43osmos\\Tx\\Config\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Tx::Config::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.config.v1.config_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.tx.config.v1.config_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.tx.config.v1B\013ConfigProtoP\001\242\002\003CTC\252\002\023Cosmos.Tx.Config.V1\312\002\023Cosmos\\Tx\\Config\\V1\342\002\037Cosmos\\Tx\\Config\\V1\\GPBMetadata\352\002\026Cosmos::Tx::Config::V1' - _globals['_CONFIG']._loaded_options = None - _globals['_CONFIG']._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/auth/tx' - _globals['_CONFIG']._serialized_start=92 - _globals['_CONFIG']._serialized_end=236 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.cosmos.tx.config.v1B\013ConfigProtoP\001\242\002\003CTC\252\002\023Cosmos.Tx.Config.V1\312\002\023Cosmos\\Tx\\Config\\V1\342\002\037Cosmos\\Tx\\Config\\V1\\GPBMetadata\352\002\026Cosmos::Tx::Config::V1" + ) + _globals["_CONFIG"]._loaded_options = None + _globals["_CONFIG"]._serialized_options = b"\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/auth/tx" + _globals["_CONFIG"]._serialized_start = 92 + _globals["_CONFIG"]._serialized_end = 236 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/config/v1/config_pb2_grpc.py b/pyinjective/proto/cosmos/tx/config/v1/config_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/tx/config/v1/config_pb2_grpc.py +++ b/pyinjective/proto/cosmos/tx/config/v1/config_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/tx/signing/v1beta1/signing_pb2.py b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py index cf473ea7..4454dd09 100644 --- a/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py +++ b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py @@ -7,33 +7,40 @@ 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 pyinjective.proto.cosmos.crypto.multisig.v1beta1 import multisig_pb2 as cosmos_dot_crypto_dot_multisig_dot_v1beta1_dot_multisig__pb2 +from pyinjective.proto.cosmos.crypto.multisig.v1beta1 import ( + multisig_pb2 as cosmos_dot_crypto_dot_multisig_dot_v1beta1_dot_multisig__pb2, +) from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/tx/signing/v1beta1/signing.proto\x12\x19\x63osmos.tx.signing.v1beta1\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x19google/protobuf/any.proto\"f\n\x14SignatureDescriptors\x12N\n\nsignatures\x18\x01 \x03(\x0b\x32..cosmos.tx.signing.v1beta1.SignatureDescriptorR\nsignatures\"\xf5\x04\n\x13SignatureDescriptor\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12G\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataR\x04\x64\x61ta\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x1a\xc3\x03\n\x04\x44\x61ta\x12T\n\x06single\x18\x01 \x01(\x0b\x32:.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.SingleH\x00R\x06single\x12Q\n\x05multi\x18\x02 \x01(\x0b\x32\x39.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.MultiH\x00R\x05multi\x1a_\n\x06Single\x12\x37\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x12\x1c\n\tsignature\x18\x02 \x01(\x0cR\tsignature\x1a\xa9\x01\n\x05Multi\x12K\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArrayR\x08\x62itarray\x12S\n\nsignatures\x18\x02 \x03(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataR\nsignaturesB\x05\n\x03sum*\xbf\x01\n\x08SignMode\x12\x19\n\x15SIGN_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10SIGN_MODE_DIRECT\x10\x01\x12\x15\n\x11SIGN_MODE_TEXTUAL\x10\x02\x12\x18\n\x14SIGN_MODE_DIRECT_AUX\x10\x03\x12\x1f\n\x1bSIGN_MODE_LEGACY_AMINO_JSON\x10\x7f\x12\x18\n\x13SIGN_MODE_EIP712_V2\x10\x80\x01\x12\x16\n\x11SIGN_MODE_EIP_191\x10\xbf\x01\x42\xe3\x01\n\x1d\x63om.cosmos.tx.signing.v1beta1B\x0cSigningProtoP\x01Z-github.com/cosmos/cosmos-sdk/types/tx/signing\xa2\x02\x03\x43TS\xaa\x02\x19\x43osmos.Tx.Signing.V1beta1\xca\x02\x19\x43osmos\\Tx\\Signing\\V1beta1\xe2\x02%Cosmos\\Tx\\Signing\\V1beta1\\GPBMetadata\xea\x02\x1c\x43osmos::Tx::Signing::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\'cosmos/tx/signing/v1beta1/signing.proto\x12\x19\x63osmos.tx.signing.v1beta1\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x19google/protobuf/any.proto"f\n\x14SignatureDescriptors\x12N\n\nsignatures\x18\x01 \x03(\x0b\x32..cosmos.tx.signing.v1beta1.SignatureDescriptorR\nsignatures"\xf5\x04\n\x13SignatureDescriptor\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12G\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataR\x04\x64\x61ta\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x1a\xc3\x03\n\x04\x44\x61ta\x12T\n\x06single\x18\x01 \x01(\x0b\x32:.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.SingleH\x00R\x06single\x12Q\n\x05multi\x18\x02 \x01(\x0b\x32\x39.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.MultiH\x00R\x05multi\x1a_\n\x06Single\x12\x37\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x12\x1c\n\tsignature\x18\x02 \x01(\x0cR\tsignature\x1a\xa9\x01\n\x05Multi\x12K\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArrayR\x08\x62itarray\x12S\n\nsignatures\x18\x02 \x03(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataR\nsignaturesB\x05\n\x03sum*\xbf\x01\n\x08SignMode\x12\x19\n\x15SIGN_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10SIGN_MODE_DIRECT\x10\x01\x12\x15\n\x11SIGN_MODE_TEXTUAL\x10\x02\x12\x18\n\x14SIGN_MODE_DIRECT_AUX\x10\x03\x12\x1f\n\x1bSIGN_MODE_LEGACY_AMINO_JSON\x10\x7f\x12\x18\n\x13SIGN_MODE_EIP712_V2\x10\x80\x01\x12\x16\n\x11SIGN_MODE_EIP_191\x10\xbf\x01\x42\xe3\x01\n\x1d\x63om.cosmos.tx.signing.v1beta1B\x0cSigningProtoP\x01Z-github.com/cosmos/cosmos-sdk/types/tx/signing\xa2\x02\x03\x43TS\xaa\x02\x19\x43osmos.Tx.Signing.V1beta1\xca\x02\x19\x43osmos\\Tx\\Signing\\V1beta1\xe2\x02%Cosmos\\Tx\\Signing\\V1beta1\\GPBMetadata\xea\x02\x1c\x43osmos::Tx::Signing::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.signing.v1beta1.signing_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.tx.signing.v1beta1.signing_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.tx.signing.v1beta1B\014SigningProtoP\001Z-github.com/cosmos/cosmos-sdk/types/tx/signing\242\002\003CTS\252\002\031Cosmos.Tx.Signing.V1beta1\312\002\031Cosmos\\Tx\\Signing\\V1beta1\342\002%Cosmos\\Tx\\Signing\\V1beta1\\GPBMetadata\352\002\034Cosmos::Tx::Signing::V1beta1' - _globals['_SIGNMODE']._serialized_start=881 - _globals['_SIGNMODE']._serialized_end=1072 - _globals['_SIGNATUREDESCRIPTORS']._serialized_start=144 - _globals['_SIGNATUREDESCRIPTORS']._serialized_end=246 - _globals['_SIGNATUREDESCRIPTOR']._serialized_start=249 - _globals['_SIGNATUREDESCRIPTOR']._serialized_end=878 - _globals['_SIGNATUREDESCRIPTOR_DATA']._serialized_start=427 - _globals['_SIGNATUREDESCRIPTOR_DATA']._serialized_end=878 - _globals['_SIGNATUREDESCRIPTOR_DATA_SINGLE']._serialized_start=604 - _globals['_SIGNATUREDESCRIPTOR_DATA_SINGLE']._serialized_end=699 - _globals['_SIGNATUREDESCRIPTOR_DATA_MULTI']._serialized_start=702 - _globals['_SIGNATUREDESCRIPTOR_DATA_MULTI']._serialized_end=871 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\035com.cosmos.tx.signing.v1beta1B\014SigningProtoP\001Z-github.com/cosmos/cosmos-sdk/types/tx/signing\242\002\003CTS\252\002\031Cosmos.Tx.Signing.V1beta1\312\002\031Cosmos\\Tx\\Signing\\V1beta1\342\002%Cosmos\\Tx\\Signing\\V1beta1\\GPBMetadata\352\002\034Cosmos::Tx::Signing::V1beta1" + ) + _globals["_SIGNMODE"]._serialized_start = 881 + _globals["_SIGNMODE"]._serialized_end = 1072 + _globals["_SIGNATUREDESCRIPTORS"]._serialized_start = 144 + _globals["_SIGNATUREDESCRIPTORS"]._serialized_end = 246 + _globals["_SIGNATUREDESCRIPTOR"]._serialized_start = 249 + _globals["_SIGNATUREDESCRIPTOR"]._serialized_end = 878 + _globals["_SIGNATUREDESCRIPTOR_DATA"]._serialized_start = 427 + _globals["_SIGNATUREDESCRIPTOR_DATA"]._serialized_end = 878 + _globals["_SIGNATUREDESCRIPTOR_DATA_SINGLE"]._serialized_start = 604 + _globals["_SIGNATUREDESCRIPTOR_DATA_SINGLE"]._serialized_end = 699 + _globals["_SIGNATUREDESCRIPTOR_DATA_MULTI"]._serialized_start = 702 + _globals["_SIGNATUREDESCRIPTOR_DATA_MULTI"]._serialized_end = 871 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2_grpc.py b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2_grpc.py +++ b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/tx/v1beta1/service_pb2.py b/pyinjective/proto/cosmos/tx/v1beta1/service_pb2.py index e2512d9e..b7d4a1d1 100644 --- a/pyinjective/proto/cosmos/tx/v1beta1/service_pb2.py +++ b/pyinjective/proto/cosmos/tx/v1beta1/service_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,87 +16,111 @@ from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.base.abci.v1beta1 import abci_pb2 as cosmos_dot_base_dot_abci_dot_v1beta1_dot_abci__pb2 from pyinjective.proto.cosmos.tx.v1beta1 import tx_pb2 as cosmos_dot_tx_dot_v1beta1_dot_tx__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.tendermint.types import block_pb2 as tendermint_dot_types_dot_block__pb2 from pyinjective.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/tx/v1beta1/service.proto\x12\x11\x63osmos.tx.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a#cosmos/base/abci/v1beta1/abci.proto\x1a\x1a\x63osmos/tx/v1beta1/tx.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1ctendermint/types/block.proto\x1a\x1ctendermint/types/types.proto\"\xf3\x01\n\x12GetTxsEventRequest\x12\x1a\n\x06\x65vents\x18\x01 \x03(\tB\x02\x18\x01R\x06\x65vents\x12J\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestB\x02\x18\x01R\npagination\x12\x35\n\x08order_by\x18\x03 \x01(\x0e\x32\x1a.cosmos.tx.v1beta1.OrderByR\x07orderBy\x12\x12\n\x04page\x18\x04 \x01(\x04R\x04page\x12\x14\n\x05limit\x18\x05 \x01(\x04R\x05limit\x12\x14\n\x05query\x18\x06 \x01(\tR\x05query\"\xea\x01\n\x13GetTxsEventResponse\x12\'\n\x03txs\x18\x01 \x03(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x03txs\x12G\n\x0ctx_responses\x18\x02 \x03(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\x0btxResponses\x12K\n\npagination\x18\x03 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseB\x02\x18\x01R\npagination\x12\x14\n\x05total\x18\x04 \x01(\x04R\x05total\"e\n\x12\x42roadcastTxRequest\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes\x12\x34\n\x04mode\x18\x02 \x01(\x0e\x32 .cosmos.tx.v1beta1.BroadcastModeR\x04mode\"\\\n\x13\x42roadcastTxResponse\x12\x45\n\x0btx_response\x18\x01 \x01(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\ntxResponse\"W\n\x0fSimulateRequest\x12)\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxB\x02\x18\x01R\x02tx\x12\x19\n\x08tx_bytes\x18\x02 \x01(\x0cR\x07txBytes\"\x8a\x01\n\x10SimulateResponse\x12<\n\x08gas_info\x18\x01 \x01(\x0b\x32!.cosmos.base.abci.v1beta1.GasInfoR\x07gasInfo\x12\x38\n\x06result\x18\x02 \x01(\x0b\x32 .cosmos.base.abci.v1beta1.ResultR\x06result\"\"\n\x0cGetTxRequest\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\"}\n\rGetTxResponse\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx\x12\x45\n\x0btx_response\x18\x02 \x01(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\ntxResponse\"x\n\x16GetBlockWithTxsRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xf0\x01\n\x17GetBlockWithTxsResponse\x12\'\n\x03txs\x18\x01 \x03(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x03txs\x12\x34\n\x08\x62lock_id\x18\x02 \x01(\x0b\x32\x19.tendermint.types.BlockIDR\x07\x62lockId\x12-\n\x05\x62lock\x18\x03 \x01(\x0b\x32\x17.tendermint.types.BlockR\x05\x62lock\x12G\n\npagination\x18\x04 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\",\n\x0fTxDecodeRequest\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes\"9\n\x10TxDecodeResponse\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx\"8\n\x0fTxEncodeRequest\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx\"-\n\x10TxEncodeResponse\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes\"5\n\x14TxEncodeAminoRequest\x12\x1d\n\namino_json\x18\x01 \x01(\tR\taminoJson\":\n\x15TxEncodeAminoResponse\x12!\n\x0c\x61mino_binary\x18\x01 \x01(\x0cR\x0b\x61minoBinary\"9\n\x14TxDecodeAminoRequest\x12!\n\x0c\x61mino_binary\x18\x01 \x01(\x0cR\x0b\x61minoBinary\"6\n\x15TxDecodeAminoResponse\x12\x1d\n\namino_json\x18\x01 \x01(\tR\taminoJson*H\n\x07OrderBy\x12\x18\n\x14ORDER_BY_UNSPECIFIED\x10\x00\x12\x10\n\x0cORDER_BY_ASC\x10\x01\x12\x11\n\rORDER_BY_DESC\x10\x02*\x80\x01\n\rBroadcastMode\x12\x1e\n\x1a\x42ROADCAST_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x14\x42ROADCAST_MODE_BLOCK\x10\x01\x1a\x02\x08\x01\x12\x17\n\x13\x42ROADCAST_MODE_SYNC\x10\x02\x12\x18\n\x14\x42ROADCAST_MODE_ASYNC\x10\x03\x32\xaa\t\n\x07Service\x12{\n\x08Simulate\x12\".cosmos.tx.v1beta1.SimulateRequest\x1a#.cosmos.tx.v1beta1.SimulateResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/cosmos/tx/v1beta1/simulate:\x01*\x12q\n\x05GetTx\x12\x1f.cosmos.tx.v1beta1.GetTxRequest\x1a .cosmos.tx.v1beta1.GetTxResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/tx/v1beta1/txs/{hash}\x12\x7f\n\x0b\x42roadcastTx\x12%.cosmos.tx.v1beta1.BroadcastTxRequest\x1a&.cosmos.tx.v1beta1.BroadcastTxResponse\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/cosmos/tx/v1beta1/txs:\x01*\x12|\n\x0bGetTxsEvent\x12%.cosmos.tx.v1beta1.GetTxsEventRequest\x1a&.cosmos.tx.v1beta1.GetTxsEventResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cosmos/tx/v1beta1/txs\x12\x97\x01\n\x0fGetBlockWithTxs\x12).cosmos.tx.v1beta1.GetBlockWithTxsRequest\x1a*.cosmos.tx.v1beta1.GetBlockWithTxsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/cosmos/tx/v1beta1/txs/block/{height}\x12y\n\x08TxDecode\x12\".cosmos.tx.v1beta1.TxDecodeRequest\x1a#.cosmos.tx.v1beta1.TxDecodeResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/cosmos/tx/v1beta1/decode:\x01*\x12y\n\x08TxEncode\x12\".cosmos.tx.v1beta1.TxEncodeRequest\x1a#.cosmos.tx.v1beta1.TxEncodeResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/cosmos/tx/v1beta1/encode:\x01*\x12\x8e\x01\n\rTxEncodeAmino\x12\'.cosmos.tx.v1beta1.TxEncodeAminoRequest\x1a(.cosmos.tx.v1beta1.TxEncodeAminoResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/cosmos/tx/v1beta1/encode/amino:\x01*\x12\x8e\x01\n\rTxDecodeAmino\x12\'.cosmos.tx.v1beta1.TxDecodeAminoRequest\x1a(.cosmos.tx.v1beta1.TxDecodeAminoResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/cosmos/tx/v1beta1/decode/amino:\x01*B\xb2\x01\n\x15\x63om.cosmos.tx.v1beta1B\x0cServiceProtoP\x01Z%github.com/cosmos/cosmos-sdk/types/tx\xa2\x02\x03\x43TX\xaa\x02\x11\x43osmos.Tx.V1beta1\xca\x02\x11\x43osmos\\Tx\\V1beta1\xe2\x02\x1d\x43osmos\\Tx\\V1beta1\\GPBMetadata\xea\x02\x13\x43osmos::Tx::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1f\x63osmos/tx/v1beta1/service.proto\x12\x11\x63osmos.tx.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a#cosmos/base/abci/v1beta1/abci.proto\x1a\x1a\x63osmos/tx/v1beta1/tx.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1ctendermint/types/block.proto\x1a\x1ctendermint/types/types.proto"\xf3\x01\n\x12GetTxsEventRequest\x12\x1a\n\x06\x65vents\x18\x01 \x03(\tB\x02\x18\x01R\x06\x65vents\x12J\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestB\x02\x18\x01R\npagination\x12\x35\n\x08order_by\x18\x03 \x01(\x0e\x32\x1a.cosmos.tx.v1beta1.OrderByR\x07orderBy\x12\x12\n\x04page\x18\x04 \x01(\x04R\x04page\x12\x14\n\x05limit\x18\x05 \x01(\x04R\x05limit\x12\x14\n\x05query\x18\x06 \x01(\tR\x05query"\xea\x01\n\x13GetTxsEventResponse\x12\'\n\x03txs\x18\x01 \x03(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x03txs\x12G\n\x0ctx_responses\x18\x02 \x03(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\x0btxResponses\x12K\n\npagination\x18\x03 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseB\x02\x18\x01R\npagination\x12\x14\n\x05total\x18\x04 \x01(\x04R\x05total"e\n\x12\x42roadcastTxRequest\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes\x12\x34\n\x04mode\x18\x02 \x01(\x0e\x32 .cosmos.tx.v1beta1.BroadcastModeR\x04mode"\\\n\x13\x42roadcastTxResponse\x12\x45\n\x0btx_response\x18\x01 \x01(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\ntxResponse"W\n\x0fSimulateRequest\x12)\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxB\x02\x18\x01R\x02tx\x12\x19\n\x08tx_bytes\x18\x02 \x01(\x0cR\x07txBytes"\x8a\x01\n\x10SimulateResponse\x12<\n\x08gas_info\x18\x01 \x01(\x0b\x32!.cosmos.base.abci.v1beta1.GasInfoR\x07gasInfo\x12\x38\n\x06result\x18\x02 \x01(\x0b\x32 .cosmos.base.abci.v1beta1.ResultR\x06result""\n\x0cGetTxRequest\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash"}\n\rGetTxResponse\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx\x12\x45\n\x0btx_response\x18\x02 \x01(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\ntxResponse"x\n\x16GetBlockWithTxsRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xf0\x01\n\x17GetBlockWithTxsResponse\x12\'\n\x03txs\x18\x01 \x03(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x03txs\x12\x34\n\x08\x62lock_id\x18\x02 \x01(\x0b\x32\x19.tendermint.types.BlockIDR\x07\x62lockId\x12-\n\x05\x62lock\x18\x03 \x01(\x0b\x32\x17.tendermint.types.BlockR\x05\x62lock\x12G\n\npagination\x18\x04 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination",\n\x0fTxDecodeRequest\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes"9\n\x10TxDecodeResponse\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx"8\n\x0fTxEncodeRequest\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx"-\n\x10TxEncodeResponse\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes"5\n\x14TxEncodeAminoRequest\x12\x1d\n\namino_json\x18\x01 \x01(\tR\taminoJson":\n\x15TxEncodeAminoResponse\x12!\n\x0c\x61mino_binary\x18\x01 \x01(\x0cR\x0b\x61minoBinary"9\n\x14TxDecodeAminoRequest\x12!\n\x0c\x61mino_binary\x18\x01 \x01(\x0cR\x0b\x61minoBinary"6\n\x15TxDecodeAminoResponse\x12\x1d\n\namino_json\x18\x01 \x01(\tR\taminoJson*H\n\x07OrderBy\x12\x18\n\x14ORDER_BY_UNSPECIFIED\x10\x00\x12\x10\n\x0cORDER_BY_ASC\x10\x01\x12\x11\n\rORDER_BY_DESC\x10\x02*\x80\x01\n\rBroadcastMode\x12\x1e\n\x1a\x42ROADCAST_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x14\x42ROADCAST_MODE_BLOCK\x10\x01\x1a\x02\x08\x01\x12\x17\n\x13\x42ROADCAST_MODE_SYNC\x10\x02\x12\x18\n\x14\x42ROADCAST_MODE_ASYNC\x10\x03\x32\xaa\t\n\x07Service\x12{\n\x08Simulate\x12".cosmos.tx.v1beta1.SimulateRequest\x1a#.cosmos.tx.v1beta1.SimulateResponse"&\x82\xd3\xe4\x93\x02 "\x1b/cosmos/tx/v1beta1/simulate:\x01*\x12q\n\x05GetTx\x12\x1f.cosmos.tx.v1beta1.GetTxRequest\x1a .cosmos.tx.v1beta1.GetTxResponse"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/tx/v1beta1/txs/{hash}\x12\x7f\n\x0b\x42roadcastTx\x12%.cosmos.tx.v1beta1.BroadcastTxRequest\x1a&.cosmos.tx.v1beta1.BroadcastTxResponse"!\x82\xd3\xe4\x93\x02\x1b"\x16/cosmos/tx/v1beta1/txs:\x01*\x12|\n\x0bGetTxsEvent\x12%.cosmos.tx.v1beta1.GetTxsEventRequest\x1a&.cosmos.tx.v1beta1.GetTxsEventResponse"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cosmos/tx/v1beta1/txs\x12\x97\x01\n\x0fGetBlockWithTxs\x12).cosmos.tx.v1beta1.GetBlockWithTxsRequest\x1a*.cosmos.tx.v1beta1.GetBlockWithTxsResponse"-\x82\xd3\xe4\x93\x02\'\x12%/cosmos/tx/v1beta1/txs/block/{height}\x12y\n\x08TxDecode\x12".cosmos.tx.v1beta1.TxDecodeRequest\x1a#.cosmos.tx.v1beta1.TxDecodeResponse"$\x82\xd3\xe4\x93\x02\x1e"\x19/cosmos/tx/v1beta1/decode:\x01*\x12y\n\x08TxEncode\x12".cosmos.tx.v1beta1.TxEncodeRequest\x1a#.cosmos.tx.v1beta1.TxEncodeResponse"$\x82\xd3\xe4\x93\x02\x1e"\x19/cosmos/tx/v1beta1/encode:\x01*\x12\x8e\x01\n\rTxEncodeAmino\x12\'.cosmos.tx.v1beta1.TxEncodeAminoRequest\x1a(.cosmos.tx.v1beta1.TxEncodeAminoResponse"*\x82\xd3\xe4\x93\x02$"\x1f/cosmos/tx/v1beta1/encode/amino:\x01*\x12\x8e\x01\n\rTxDecodeAmino\x12\'.cosmos.tx.v1beta1.TxDecodeAminoRequest\x1a(.cosmos.tx.v1beta1.TxDecodeAminoResponse"*\x82\xd3\xe4\x93\x02$"\x1f/cosmos/tx/v1beta1/decode/amino:\x01*B\xb2\x01\n\x15\x63om.cosmos.tx.v1beta1B\x0cServiceProtoP\x01Z%github.com/cosmos/cosmos-sdk/types/tx\xa2\x02\x03\x43TX\xaa\x02\x11\x43osmos.Tx.V1beta1\xca\x02\x11\x43osmos\\Tx\\V1beta1\xe2\x02\x1d\x43osmos\\Tx\\V1beta1\\GPBMetadata\xea\x02\x13\x43osmos::Tx::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.v1beta1.service_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.tx.v1beta1.service_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.tx.v1beta1B\014ServiceProtoP\001Z%github.com/cosmos/cosmos-sdk/types/tx\242\002\003CTX\252\002\021Cosmos.Tx.V1beta1\312\002\021Cosmos\\Tx\\V1beta1\342\002\035Cosmos\\Tx\\V1beta1\\GPBMetadata\352\002\023Cosmos::Tx::V1beta1' - _globals['_BROADCASTMODE'].values_by_name["BROADCAST_MODE_BLOCK"]._loaded_options = None - _globals['_BROADCASTMODE'].values_by_name["BROADCAST_MODE_BLOCK"]._serialized_options = b'\010\001' - _globals['_GETTXSEVENTREQUEST'].fields_by_name['events']._loaded_options = None - _globals['_GETTXSEVENTREQUEST'].fields_by_name['events']._serialized_options = b'\030\001' - _globals['_GETTXSEVENTREQUEST'].fields_by_name['pagination']._loaded_options = None - _globals['_GETTXSEVENTREQUEST'].fields_by_name['pagination']._serialized_options = b'\030\001' - _globals['_GETTXSEVENTRESPONSE'].fields_by_name['pagination']._loaded_options = None - _globals['_GETTXSEVENTRESPONSE'].fields_by_name['pagination']._serialized_options = b'\030\001' - _globals['_SIMULATEREQUEST'].fields_by_name['tx']._loaded_options = None - _globals['_SIMULATEREQUEST'].fields_by_name['tx']._serialized_options = b'\030\001' - _globals['_SERVICE'].methods_by_name['Simulate']._loaded_options = None - _globals['_SERVICE'].methods_by_name['Simulate']._serialized_options = b'\202\323\344\223\002 \"\033/cosmos/tx/v1beta1/simulate:\001*' - _globals['_SERVICE'].methods_by_name['GetTx']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetTx']._serialized_options = b'\202\323\344\223\002\037\022\035/cosmos/tx/v1beta1/txs/{hash}' - _globals['_SERVICE'].methods_by_name['BroadcastTx']._loaded_options = None - _globals['_SERVICE'].methods_by_name['BroadcastTx']._serialized_options = b'\202\323\344\223\002\033\"\026/cosmos/tx/v1beta1/txs:\001*' - _globals['_SERVICE'].methods_by_name['GetTxsEvent']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetTxsEvent']._serialized_options = b'\202\323\344\223\002\030\022\026/cosmos/tx/v1beta1/txs' - _globals['_SERVICE'].methods_by_name['GetBlockWithTxs']._loaded_options = None - _globals['_SERVICE'].methods_by_name['GetBlockWithTxs']._serialized_options = b'\202\323\344\223\002\'\022%/cosmos/tx/v1beta1/txs/block/{height}' - _globals['_SERVICE'].methods_by_name['TxDecode']._loaded_options = None - _globals['_SERVICE'].methods_by_name['TxDecode']._serialized_options = b'\202\323\344\223\002\036\"\031/cosmos/tx/v1beta1/decode:\001*' - _globals['_SERVICE'].methods_by_name['TxEncode']._loaded_options = None - _globals['_SERVICE'].methods_by_name['TxEncode']._serialized_options = b'\202\323\344\223\002\036\"\031/cosmos/tx/v1beta1/encode:\001*' - _globals['_SERVICE'].methods_by_name['TxEncodeAmino']._loaded_options = None - _globals['_SERVICE'].methods_by_name['TxEncodeAmino']._serialized_options = b'\202\323\344\223\002$\"\037/cosmos/tx/v1beta1/encode/amino:\001*' - _globals['_SERVICE'].methods_by_name['TxDecodeAmino']._loaded_options = None - _globals['_SERVICE'].methods_by_name['TxDecodeAmino']._serialized_options = b'\202\323\344\223\002$\"\037/cosmos/tx/v1beta1/decode/amino:\001*' - _globals['_ORDERBY']._serialized_start=2131 - _globals['_ORDERBY']._serialized_end=2203 - _globals['_BROADCASTMODE']._serialized_start=2206 - _globals['_BROADCASTMODE']._serialized_end=2334 - _globals['_GETTXSEVENTREQUEST']._serialized_start=254 - _globals['_GETTXSEVENTREQUEST']._serialized_end=497 - _globals['_GETTXSEVENTRESPONSE']._serialized_start=500 - _globals['_GETTXSEVENTRESPONSE']._serialized_end=734 - _globals['_BROADCASTTXREQUEST']._serialized_start=736 - _globals['_BROADCASTTXREQUEST']._serialized_end=837 - _globals['_BROADCASTTXRESPONSE']._serialized_start=839 - _globals['_BROADCASTTXRESPONSE']._serialized_end=931 - _globals['_SIMULATEREQUEST']._serialized_start=933 - _globals['_SIMULATEREQUEST']._serialized_end=1020 - _globals['_SIMULATERESPONSE']._serialized_start=1023 - _globals['_SIMULATERESPONSE']._serialized_end=1161 - _globals['_GETTXREQUEST']._serialized_start=1163 - _globals['_GETTXREQUEST']._serialized_end=1197 - _globals['_GETTXRESPONSE']._serialized_start=1199 - _globals['_GETTXRESPONSE']._serialized_end=1324 - _globals['_GETBLOCKWITHTXSREQUEST']._serialized_start=1326 - _globals['_GETBLOCKWITHTXSREQUEST']._serialized_end=1446 - _globals['_GETBLOCKWITHTXSRESPONSE']._serialized_start=1449 - _globals['_GETBLOCKWITHTXSRESPONSE']._serialized_end=1689 - _globals['_TXDECODEREQUEST']._serialized_start=1691 - _globals['_TXDECODEREQUEST']._serialized_end=1735 - _globals['_TXDECODERESPONSE']._serialized_start=1737 - _globals['_TXDECODERESPONSE']._serialized_end=1794 - _globals['_TXENCODEREQUEST']._serialized_start=1796 - _globals['_TXENCODEREQUEST']._serialized_end=1852 - _globals['_TXENCODERESPONSE']._serialized_start=1854 - _globals['_TXENCODERESPONSE']._serialized_end=1899 - _globals['_TXENCODEAMINOREQUEST']._serialized_start=1901 - _globals['_TXENCODEAMINOREQUEST']._serialized_end=1954 - _globals['_TXENCODEAMINORESPONSE']._serialized_start=1956 - _globals['_TXENCODEAMINORESPONSE']._serialized_end=2014 - _globals['_TXDECODEAMINOREQUEST']._serialized_start=2016 - _globals['_TXDECODEAMINOREQUEST']._serialized_end=2073 - _globals['_TXDECODEAMINORESPONSE']._serialized_start=2075 - _globals['_TXDECODEAMINORESPONSE']._serialized_end=2129 - _globals['_SERVICE']._serialized_start=2337 - _globals['_SERVICE']._serialized_end=3531 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\025com.cosmos.tx.v1beta1B\014ServiceProtoP\001Z%github.com/cosmos/cosmos-sdk/types/tx\242\002\003CTX\252\002\021Cosmos.Tx.V1beta1\312\002\021Cosmos\\Tx\\V1beta1\342\002\035Cosmos\\Tx\\V1beta1\\GPBMetadata\352\002\023Cosmos::Tx::V1beta1" + ) + _globals["_BROADCASTMODE"].values_by_name["BROADCAST_MODE_BLOCK"]._loaded_options = None + _globals["_BROADCASTMODE"].values_by_name["BROADCAST_MODE_BLOCK"]._serialized_options = b"\010\001" + _globals["_GETTXSEVENTREQUEST"].fields_by_name["events"]._loaded_options = None + _globals["_GETTXSEVENTREQUEST"].fields_by_name["events"]._serialized_options = b"\030\001" + _globals["_GETTXSEVENTREQUEST"].fields_by_name["pagination"]._loaded_options = None + _globals["_GETTXSEVENTREQUEST"].fields_by_name["pagination"]._serialized_options = b"\030\001" + _globals["_GETTXSEVENTRESPONSE"].fields_by_name["pagination"]._loaded_options = None + _globals["_GETTXSEVENTRESPONSE"].fields_by_name["pagination"]._serialized_options = b"\030\001" + _globals["_SIMULATEREQUEST"].fields_by_name["tx"]._loaded_options = None + _globals["_SIMULATEREQUEST"].fields_by_name["tx"]._serialized_options = b"\030\001" + _globals["_SERVICE"].methods_by_name["Simulate"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "Simulate" + ]._serialized_options = b'\202\323\344\223\002 "\033/cosmos/tx/v1beta1/simulate:\001*' + _globals["_SERVICE"].methods_by_name["GetTx"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "GetTx" + ]._serialized_options = b"\202\323\344\223\002\037\022\035/cosmos/tx/v1beta1/txs/{hash}" + _globals["_SERVICE"].methods_by_name["BroadcastTx"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "BroadcastTx" + ]._serialized_options = b'\202\323\344\223\002\033"\026/cosmos/tx/v1beta1/txs:\001*' + _globals["_SERVICE"].methods_by_name["GetTxsEvent"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "GetTxsEvent" + ]._serialized_options = b"\202\323\344\223\002\030\022\026/cosmos/tx/v1beta1/txs" + _globals["_SERVICE"].methods_by_name["GetBlockWithTxs"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "GetBlockWithTxs" + ]._serialized_options = b"\202\323\344\223\002'\022%/cosmos/tx/v1beta1/txs/block/{height}" + _globals["_SERVICE"].methods_by_name["TxDecode"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "TxDecode" + ]._serialized_options = b'\202\323\344\223\002\036"\031/cosmos/tx/v1beta1/decode:\001*' + _globals["_SERVICE"].methods_by_name["TxEncode"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "TxEncode" + ]._serialized_options = b'\202\323\344\223\002\036"\031/cosmos/tx/v1beta1/encode:\001*' + _globals["_SERVICE"].methods_by_name["TxEncodeAmino"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "TxEncodeAmino" + ]._serialized_options = b'\202\323\344\223\002$"\037/cosmos/tx/v1beta1/encode/amino:\001*' + _globals["_SERVICE"].methods_by_name["TxDecodeAmino"]._loaded_options = None + _globals["_SERVICE"].methods_by_name[ + "TxDecodeAmino" + ]._serialized_options = b'\202\323\344\223\002$"\037/cosmos/tx/v1beta1/decode/amino:\001*' + _globals["_ORDERBY"]._serialized_start = 2131 + _globals["_ORDERBY"]._serialized_end = 2203 + _globals["_BROADCASTMODE"]._serialized_start = 2206 + _globals["_BROADCASTMODE"]._serialized_end = 2334 + _globals["_GETTXSEVENTREQUEST"]._serialized_start = 254 + _globals["_GETTXSEVENTREQUEST"]._serialized_end = 497 + _globals["_GETTXSEVENTRESPONSE"]._serialized_start = 500 + _globals["_GETTXSEVENTRESPONSE"]._serialized_end = 734 + _globals["_BROADCASTTXREQUEST"]._serialized_start = 736 + _globals["_BROADCASTTXREQUEST"]._serialized_end = 837 + _globals["_BROADCASTTXRESPONSE"]._serialized_start = 839 + _globals["_BROADCASTTXRESPONSE"]._serialized_end = 931 + _globals["_SIMULATEREQUEST"]._serialized_start = 933 + _globals["_SIMULATEREQUEST"]._serialized_end = 1020 + _globals["_SIMULATERESPONSE"]._serialized_start = 1023 + _globals["_SIMULATERESPONSE"]._serialized_end = 1161 + _globals["_GETTXREQUEST"]._serialized_start = 1163 + _globals["_GETTXREQUEST"]._serialized_end = 1197 + _globals["_GETTXRESPONSE"]._serialized_start = 1199 + _globals["_GETTXRESPONSE"]._serialized_end = 1324 + _globals["_GETBLOCKWITHTXSREQUEST"]._serialized_start = 1326 + _globals["_GETBLOCKWITHTXSREQUEST"]._serialized_end = 1446 + _globals["_GETBLOCKWITHTXSRESPONSE"]._serialized_start = 1449 + _globals["_GETBLOCKWITHTXSRESPONSE"]._serialized_end = 1689 + _globals["_TXDECODEREQUEST"]._serialized_start = 1691 + _globals["_TXDECODEREQUEST"]._serialized_end = 1735 + _globals["_TXDECODERESPONSE"]._serialized_start = 1737 + _globals["_TXDECODERESPONSE"]._serialized_end = 1794 + _globals["_TXENCODEREQUEST"]._serialized_start = 1796 + _globals["_TXENCODEREQUEST"]._serialized_end = 1852 + _globals["_TXENCODERESPONSE"]._serialized_start = 1854 + _globals["_TXENCODERESPONSE"]._serialized_end = 1899 + _globals["_TXENCODEAMINOREQUEST"]._serialized_start = 1901 + _globals["_TXENCODEAMINOREQUEST"]._serialized_end = 1954 + _globals["_TXENCODEAMINORESPONSE"]._serialized_start = 1956 + _globals["_TXENCODEAMINORESPONSE"]._serialized_end = 2014 + _globals["_TXDECODEAMINOREQUEST"]._serialized_start = 2016 + _globals["_TXDECODEAMINOREQUEST"]._serialized_end = 2073 + _globals["_TXDECODEAMINORESPONSE"]._serialized_start = 2075 + _globals["_TXDECODEAMINORESPONSE"]._serialized_end = 2129 + _globals["_SERVICE"]._serialized_start = 2337 + _globals["_SERVICE"]._serialized_end = 3531 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/v1beta1/service_pb2_grpc.py b/pyinjective/proto/cosmos/tx/v1beta1/service_pb2_grpc.py index df830953..76881ca7 100644 --- a/pyinjective/proto/cosmos/tx/v1beta1/service_pb2_grpc.py +++ b/pyinjective/proto/cosmos/tx/v1beta1/service_pb2_grpc.py @@ -6,8 +6,7 @@ class ServiceStub(object): - """Service defines a gRPC service for interacting with transactions. - """ + """Service defines a gRPC service for interacting with transactions.""" def __init__(self, channel): """Constructor. @@ -16,83 +15,87 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Simulate = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/Simulate', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateResponse.FromString, - _registered_method=True) + "/cosmos.tx.v1beta1.Service/Simulate", + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateResponse.FromString, + _registered_method=True, + ) self.GetTx = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/GetTx', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxResponse.FromString, - _registered_method=True) + "/cosmos.tx.v1beta1.Service/GetTx", + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxResponse.FromString, + _registered_method=True, + ) self.BroadcastTx = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/BroadcastTx', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxResponse.FromString, - _registered_method=True) + "/cosmos.tx.v1beta1.Service/BroadcastTx", + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxResponse.FromString, + _registered_method=True, + ) self.GetTxsEvent = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/GetTxsEvent', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventResponse.FromString, - _registered_method=True) + "/cosmos.tx.v1beta1.Service/GetTxsEvent", + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventResponse.FromString, + _registered_method=True, + ) self.GetBlockWithTxs = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/GetBlockWithTxs', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsResponse.FromString, - _registered_method=True) + "/cosmos.tx.v1beta1.Service/GetBlockWithTxs", + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsResponse.FromString, + _registered_method=True, + ) self.TxDecode = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/TxDecode', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeResponse.FromString, - _registered_method=True) + "/cosmos.tx.v1beta1.Service/TxDecode", + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeResponse.FromString, + _registered_method=True, + ) self.TxEncode = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/TxEncode', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeResponse.FromString, - _registered_method=True) + "/cosmos.tx.v1beta1.Service/TxEncode", + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeResponse.FromString, + _registered_method=True, + ) self.TxEncodeAmino = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/TxEncodeAmino', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoResponse.FromString, - _registered_method=True) + "/cosmos.tx.v1beta1.Service/TxEncodeAmino", + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoResponse.FromString, + _registered_method=True, + ) self.TxDecodeAmino = channel.unary_unary( - '/cosmos.tx.v1beta1.Service/TxDecodeAmino', - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoResponse.FromString, - _registered_method=True) + "/cosmos.tx.v1beta1.Service/TxDecodeAmino", + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoResponse.FromString, + _registered_method=True, + ) class ServiceServicer(object): - """Service defines a gRPC service for interacting with transactions. - """ + """Service defines a gRPC service for interacting with transactions.""" def Simulate(self, request, context): - """Simulate simulates executing a transaction for estimating gas usage. - """ + """Simulate simulates executing a transaction for estimating gas usage.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetTx(self, request, context): - """GetTx fetches a tx by hash. - """ + """GetTx fetches a tx by hash.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def BroadcastTx(self, request, context): - """BroadcastTx broadcast transaction. - """ + """BroadcastTx broadcast transaction.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetTxsEvent(self, request, context): - """GetTxsEvent fetches txs by event. - """ + """GetTxsEvent fetches txs by event.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetBlockWithTxs(self, request, context): """GetBlockWithTxs fetches a block with decoded txs. @@ -100,8 +103,8 @@ def GetBlockWithTxs(self, request, context): Since: cosmos-sdk 0.45.2 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TxDecode(self, request, context): """TxDecode decodes the transaction. @@ -109,8 +112,8 @@ def TxDecode(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TxEncode(self, request, context): """TxEncode encodes the transaction. @@ -118,8 +121,8 @@ def TxEncode(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TxEncodeAmino(self, request, context): """TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes. @@ -127,8 +130,8 @@ def TxEncodeAmino(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TxDecodeAmino(self, request, context): """TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON. @@ -136,84 +139,84 @@ def TxDecodeAmino(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_ServiceServicer_to_server(servicer, server): rpc_method_handlers = { - 'Simulate': grpc.unary_unary_rpc_method_handler( - servicer.Simulate, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateResponse.SerializeToString, - ), - 'GetTx': grpc.unary_unary_rpc_method_handler( - servicer.GetTx, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxResponse.SerializeToString, - ), - 'BroadcastTx': grpc.unary_unary_rpc_method_handler( - servicer.BroadcastTx, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxResponse.SerializeToString, - ), - 'GetTxsEvent': grpc.unary_unary_rpc_method_handler( - servicer.GetTxsEvent, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventResponse.SerializeToString, - ), - 'GetBlockWithTxs': grpc.unary_unary_rpc_method_handler( - servicer.GetBlockWithTxs, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsResponse.SerializeToString, - ), - 'TxDecode': grpc.unary_unary_rpc_method_handler( - servicer.TxDecode, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeResponse.SerializeToString, - ), - 'TxEncode': grpc.unary_unary_rpc_method_handler( - servicer.TxEncode, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeResponse.SerializeToString, - ), - 'TxEncodeAmino': grpc.unary_unary_rpc_method_handler( - servicer.TxEncodeAmino, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoResponse.SerializeToString, - ), - 'TxDecodeAmino': grpc.unary_unary_rpc_method_handler( - servicer.TxDecodeAmino, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoResponse.SerializeToString, - ), + "Simulate": grpc.unary_unary_rpc_method_handler( + servicer.Simulate, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateResponse.SerializeToString, + ), + "GetTx": grpc.unary_unary_rpc_method_handler( + servicer.GetTx, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxResponse.SerializeToString, + ), + "BroadcastTx": grpc.unary_unary_rpc_method_handler( + servicer.BroadcastTx, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxResponse.SerializeToString, + ), + "GetTxsEvent": grpc.unary_unary_rpc_method_handler( + servicer.GetTxsEvent, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventResponse.SerializeToString, + ), + "GetBlockWithTxs": grpc.unary_unary_rpc_method_handler( + servicer.GetBlockWithTxs, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsResponse.SerializeToString, + ), + "TxDecode": grpc.unary_unary_rpc_method_handler( + servicer.TxDecode, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeResponse.SerializeToString, + ), + "TxEncode": grpc.unary_unary_rpc_method_handler( + servicer.TxEncode, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeResponse.SerializeToString, + ), + "TxEncodeAmino": grpc.unary_unary_rpc_method_handler( + servicer.TxEncodeAmino, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoResponse.SerializeToString, + ), + "TxDecodeAmino": grpc.unary_unary_rpc_method_handler( + servicer.TxDecodeAmino, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.tx.v1beta1.Service', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.tx.v1beta1.Service", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.tx.v1beta1.Service', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.tx.v1beta1.Service", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Service(object): - """Service defines a gRPC service for interacting with transactions. - """ + """Service defines a gRPC service for interacting with transactions.""" @staticmethod - def Simulate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Simulate( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.tx.v1beta1.Service/Simulate', + "/cosmos.tx.v1beta1.Service/Simulate", cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateResponse.FromString, options, @@ -224,23 +227,26 @@ def Simulate(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GetTx(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GetTx( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.tx.v1beta1.Service/GetTx', + "/cosmos.tx.v1beta1.Service/GetTx", cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxResponse.FromString, options, @@ -251,23 +257,26 @@ def GetTx(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def BroadcastTx(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def BroadcastTx( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.tx.v1beta1.Service/BroadcastTx', + "/cosmos.tx.v1beta1.Service/BroadcastTx", cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxResponse.FromString, options, @@ -278,23 +287,26 @@ def BroadcastTx(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GetTxsEvent(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GetTxsEvent( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.tx.v1beta1.Service/GetTxsEvent', + "/cosmos.tx.v1beta1.Service/GetTxsEvent", cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventResponse.FromString, options, @@ -305,23 +317,26 @@ def GetTxsEvent(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GetBlockWithTxs(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GetBlockWithTxs( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.tx.v1beta1.Service/GetBlockWithTxs', + "/cosmos.tx.v1beta1.Service/GetBlockWithTxs", cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsResponse.FromString, options, @@ -332,23 +347,26 @@ def GetBlockWithTxs(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def TxDecode(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def TxDecode( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.tx.v1beta1.Service/TxDecode', + "/cosmos.tx.v1beta1.Service/TxDecode", cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeResponse.FromString, options, @@ -359,23 +377,26 @@ def TxDecode(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def TxEncode(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def TxEncode( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.tx.v1beta1.Service/TxEncode', + "/cosmos.tx.v1beta1.Service/TxEncode", cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeResponse.FromString, options, @@ -386,23 +407,26 @@ def TxEncode(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def TxEncodeAmino(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def TxEncodeAmino( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.tx.v1beta1.Service/TxEncodeAmino', + "/cosmos.tx.v1beta1.Service/TxEncodeAmino", cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoResponse.FromString, options, @@ -413,23 +437,26 @@ def TxEncodeAmino(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def TxDecodeAmino(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def TxDecodeAmino( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.tx.v1beta1.Service/TxDecodeAmino', + "/cosmos.tx.v1beta1.Service/TxDecodeAmino", cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoResponse.FromString, options, @@ -440,4 +467,5 @@ def TxDecodeAmino(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py index 00abd56e..2bd91fb2 100644 --- a/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -14,63 +15,75 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.crypto.multisig.v1beta1 import multisig_pb2 as cosmos_dot_crypto_dot_multisig_dot_v1beta1_dot_multisig__pb2 +from pyinjective.proto.cosmos.crypto.multisig.v1beta1 import ( + multisig_pb2 as cosmos_dot_crypto_dot_multisig_dot_v1beta1_dot_multisig__pb2, +) from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.tx.signing.v1beta1 import signing_pb2 as cosmos_dot_tx_dot_signing_dot_v1beta1_dot_signing__pb2 +from pyinjective.proto.cosmos.tx.signing.v1beta1 import ( + signing_pb2 as cosmos_dot_tx_dot_signing_dot_v1beta1_dot_signing__pb2, +) from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63osmos/tx/v1beta1/tx.proto\x12\x11\x63osmos.tx.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\'cosmos/tx/signing/v1beta1/signing.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x8d\x01\n\x02Tx\x12-\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x19.cosmos.tx.v1beta1.TxBodyR\x04\x62ody\x12\x38\n\tauth_info\x18\x02 \x01(\x0b\x32\x1b.cosmos.tx.v1beta1.AuthInfoR\x08\x61uthInfo\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures\"n\n\x05TxRaw\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12&\n\x0f\x61uth_info_bytes\x18\x02 \x01(\x0cR\rauthInfoBytes\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures\"\x92\x01\n\x07SignDoc\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12&\n\x0f\x61uth_info_bytes\x18\x02 \x01(\x0cR\rauthInfoBytes\x12\x19\n\x08\x63hain_id\x18\x03 \x01(\tR\x07\x63hainId\x12%\n\x0e\x61\x63\x63ount_number\x18\x04 \x01(\x04R\raccountNumber\"\xf2\x01\n\x10SignDocDirectAux\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12\x33\n\npublic_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12\x19\n\x08\x63hain_id\x18\x03 \x01(\tR\x07\x63hainId\x12%\n\x0e\x61\x63\x63ount_number\x18\x04 \x01(\x04R\raccountNumber\x12\x1a\n\x08sequence\x18\x05 \x01(\x04R\x08sequence\x12,\n\x03tip\x18\x06 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.TipB\x02\x18\x01R\x03tip\"\x95\x02\n\x06TxBody\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x12\n\x04memo\x18\x02 \x01(\tR\x04memo\x12%\n\x0etimeout_height\x18\x03 \x01(\x04R\rtimeoutHeight\x12\x42\n\x11\x65xtension_options\x18\xff\x07 \x03(\x0b\x32\x14.google.protobuf.AnyR\x10\x65xtensionOptions\x12Z\n\x1enon_critical_extension_options\x18\xff\x0f \x03(\x0b\x32\x14.google.protobuf.AnyR\x1bnonCriticalExtensionOptions\"\xa4\x01\n\x08\x41uthInfo\x12@\n\x0csigner_infos\x18\x01 \x03(\x0b\x32\x1d.cosmos.tx.v1beta1.SignerInfoR\x0bsignerInfos\x12(\n\x03\x66\x65\x65\x18\x02 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.FeeR\x03\x66\x65\x65\x12,\n\x03tip\x18\x03 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.TipB\x02\x18\x01R\x03tip\"\x97\x01\n\nSignerInfo\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12\x38\n\tmode_info\x18\x02 \x01(\x0b\x32\x1b.cosmos.tx.v1beta1.ModeInfoR\x08modeInfo\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\"\xe0\x02\n\x08ModeInfo\x12<\n\x06single\x18\x01 \x01(\x0b\x32\".cosmos.tx.v1beta1.ModeInfo.SingleH\x00R\x06single\x12\x39\n\x05multi\x18\x02 \x01(\x0b\x32!.cosmos.tx.v1beta1.ModeInfo.MultiH\x00R\x05multi\x1a\x41\n\x06Single\x12\x37\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x1a\x90\x01\n\x05Multi\x12K\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArrayR\x08\x62itarray\x12:\n\nmode_infos\x18\x02 \x03(\x0b\x32\x1b.cosmos.tx.v1beta1.ModeInfoR\tmodeInfosB\x05\n\x03sum\"\x81\x02\n\x03\x46\x65\x65\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x1b\n\tgas_limit\x18\x02 \x01(\x04R\x08gasLimit\x12.\n\x05payer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05payer\x12\x32\n\x07granter\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\"\xb6\x01\n\x03Tip\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x30\n\x06tipper\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06tipper:\x02\x18\x01\"\xce\x01\n\rAuxSignerData\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12>\n\x08sign_doc\x18\x02 \x01(\x0b\x32#.cosmos.tx.v1beta1.SignDocDirectAuxR\x07signDoc\x12\x37\n\x04mode\x18\x03 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x12\x10\n\x03sig\x18\x04 \x01(\x0cR\x03sigB\xad\x01\n\x15\x63om.cosmos.tx.v1beta1B\x07TxProtoP\x01Z%github.com/cosmos/cosmos-sdk/types/tx\xa2\x02\x03\x43TX\xaa\x02\x11\x43osmos.Tx.V1beta1\xca\x02\x11\x43osmos\\Tx\\V1beta1\xe2\x02\x1d\x43osmos\\Tx\\V1beta1\\GPBMetadata\xea\x02\x13\x43osmos::Tx::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1a\x63osmos/tx/v1beta1/tx.proto\x12\x11\x63osmos.tx.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\'cosmos/tx/signing/v1beta1/signing.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto"\x8d\x01\n\x02Tx\x12-\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x19.cosmos.tx.v1beta1.TxBodyR\x04\x62ody\x12\x38\n\tauth_info\x18\x02 \x01(\x0b\x32\x1b.cosmos.tx.v1beta1.AuthInfoR\x08\x61uthInfo\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures"n\n\x05TxRaw\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12&\n\x0f\x61uth_info_bytes\x18\x02 \x01(\x0cR\rauthInfoBytes\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures"\x92\x01\n\x07SignDoc\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12&\n\x0f\x61uth_info_bytes\x18\x02 \x01(\x0cR\rauthInfoBytes\x12\x19\n\x08\x63hain_id\x18\x03 \x01(\tR\x07\x63hainId\x12%\n\x0e\x61\x63\x63ount_number\x18\x04 \x01(\x04R\raccountNumber"\xf2\x01\n\x10SignDocDirectAux\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12\x33\n\npublic_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12\x19\n\x08\x63hain_id\x18\x03 \x01(\tR\x07\x63hainId\x12%\n\x0e\x61\x63\x63ount_number\x18\x04 \x01(\x04R\raccountNumber\x12\x1a\n\x08sequence\x18\x05 \x01(\x04R\x08sequence\x12,\n\x03tip\x18\x06 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.TipB\x02\x18\x01R\x03tip"\x95\x02\n\x06TxBody\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x12\n\x04memo\x18\x02 \x01(\tR\x04memo\x12%\n\x0etimeout_height\x18\x03 \x01(\x04R\rtimeoutHeight\x12\x42\n\x11\x65xtension_options\x18\xff\x07 \x03(\x0b\x32\x14.google.protobuf.AnyR\x10\x65xtensionOptions\x12Z\n\x1enon_critical_extension_options\x18\xff\x0f \x03(\x0b\x32\x14.google.protobuf.AnyR\x1bnonCriticalExtensionOptions"\xa4\x01\n\x08\x41uthInfo\x12@\n\x0csigner_infos\x18\x01 \x03(\x0b\x32\x1d.cosmos.tx.v1beta1.SignerInfoR\x0bsignerInfos\x12(\n\x03\x66\x65\x65\x18\x02 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.FeeR\x03\x66\x65\x65\x12,\n\x03tip\x18\x03 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.TipB\x02\x18\x01R\x03tip"\x97\x01\n\nSignerInfo\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12\x38\n\tmode_info\x18\x02 \x01(\x0b\x32\x1b.cosmos.tx.v1beta1.ModeInfoR\x08modeInfo\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence"\xe0\x02\n\x08ModeInfo\x12<\n\x06single\x18\x01 \x01(\x0b\x32".cosmos.tx.v1beta1.ModeInfo.SingleH\x00R\x06single\x12\x39\n\x05multi\x18\x02 \x01(\x0b\x32!.cosmos.tx.v1beta1.ModeInfo.MultiH\x00R\x05multi\x1a\x41\n\x06Single\x12\x37\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x1a\x90\x01\n\x05Multi\x12K\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArrayR\x08\x62itarray\x12:\n\nmode_infos\x18\x02 \x03(\x0b\x32\x1b.cosmos.tx.v1beta1.ModeInfoR\tmodeInfosB\x05\n\x03sum"\x81\x02\n\x03\x46\x65\x65\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x1b\n\tgas_limit\x18\x02 \x01(\x04R\x08gasLimit\x12.\n\x05payer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05payer\x12\x32\n\x07granter\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter"\xb6\x01\n\x03Tip\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x30\n\x06tipper\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06tipper:\x02\x18\x01"\xce\x01\n\rAuxSignerData\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12>\n\x08sign_doc\x18\x02 \x01(\x0b\x32#.cosmos.tx.v1beta1.SignDocDirectAuxR\x07signDoc\x12\x37\n\x04mode\x18\x03 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x12\x10\n\x03sig\x18\x04 \x01(\x0cR\x03sigB\xad\x01\n\x15\x63om.cosmos.tx.v1beta1B\x07TxProtoP\x01Z%github.com/cosmos/cosmos-sdk/types/tx\xa2\x02\x03\x43TX\xaa\x02\x11\x43osmos.Tx.V1beta1\xca\x02\x11\x43osmos\\Tx\\V1beta1\xe2\x02\x1d\x43osmos\\Tx\\V1beta1\\GPBMetadata\xea\x02\x13\x43osmos::Tx::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.tx.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.tx.v1beta1B\007TxProtoP\001Z%github.com/cosmos/cosmos-sdk/types/tx\242\002\003CTX\252\002\021Cosmos.Tx.V1beta1\312\002\021Cosmos\\Tx\\V1beta1\342\002\035Cosmos\\Tx\\V1beta1\\GPBMetadata\352\002\023Cosmos::Tx::V1beta1' - _globals['_SIGNDOCDIRECTAUX'].fields_by_name['tip']._loaded_options = None - _globals['_SIGNDOCDIRECTAUX'].fields_by_name['tip']._serialized_options = b'\030\001' - _globals['_AUTHINFO'].fields_by_name['tip']._loaded_options = None - _globals['_AUTHINFO'].fields_by_name['tip']._serialized_options = b'\030\001' - _globals['_FEE'].fields_by_name['amount']._loaded_options = None - _globals['_FEE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_FEE'].fields_by_name['payer']._loaded_options = None - _globals['_FEE'].fields_by_name['payer']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_FEE'].fields_by_name['granter']._loaded_options = None - _globals['_FEE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_TIP'].fields_by_name['amount']._loaded_options = None - _globals['_TIP'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_TIP'].fields_by_name['tipper']._loaded_options = None - _globals['_TIP'].fields_by_name['tipper']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_TIP']._loaded_options = None - _globals['_TIP']._serialized_options = b'\030\001' - _globals['_AUXSIGNERDATA'].fields_by_name['address']._loaded_options = None - _globals['_AUXSIGNERDATA'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_TX']._serialized_start=265 - _globals['_TX']._serialized_end=406 - _globals['_TXRAW']._serialized_start=408 - _globals['_TXRAW']._serialized_end=518 - _globals['_SIGNDOC']._serialized_start=521 - _globals['_SIGNDOC']._serialized_end=667 - _globals['_SIGNDOCDIRECTAUX']._serialized_start=670 - _globals['_SIGNDOCDIRECTAUX']._serialized_end=912 - _globals['_TXBODY']._serialized_start=915 - _globals['_TXBODY']._serialized_end=1192 - _globals['_AUTHINFO']._serialized_start=1195 - _globals['_AUTHINFO']._serialized_end=1359 - _globals['_SIGNERINFO']._serialized_start=1362 - _globals['_SIGNERINFO']._serialized_end=1513 - _globals['_MODEINFO']._serialized_start=1516 - _globals['_MODEINFO']._serialized_end=1868 - _globals['_MODEINFO_SINGLE']._serialized_start=1649 - _globals['_MODEINFO_SINGLE']._serialized_end=1714 - _globals['_MODEINFO_MULTI']._serialized_start=1717 - _globals['_MODEINFO_MULTI']._serialized_end=1861 - _globals['_FEE']._serialized_start=1871 - _globals['_FEE']._serialized_end=2128 - _globals['_TIP']._serialized_start=2131 - _globals['_TIP']._serialized_end=2313 - _globals['_AUXSIGNERDATA']._serialized_start=2316 - _globals['_AUXSIGNERDATA']._serialized_end=2522 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\025com.cosmos.tx.v1beta1B\007TxProtoP\001Z%github.com/cosmos/cosmos-sdk/types/tx\242\002\003CTX\252\002\021Cosmos.Tx.V1beta1\312\002\021Cosmos\\Tx\\V1beta1\342\002\035Cosmos\\Tx\\V1beta1\\GPBMetadata\352\002\023Cosmos::Tx::V1beta1" + ) + _globals["_SIGNDOCDIRECTAUX"].fields_by_name["tip"]._loaded_options = None + _globals["_SIGNDOCDIRECTAUX"].fields_by_name["tip"]._serialized_options = b"\030\001" + _globals["_AUTHINFO"].fields_by_name["tip"]._loaded_options = None + _globals["_AUTHINFO"].fields_by_name["tip"]._serialized_options = b"\030\001" + _globals["_FEE"].fields_by_name["amount"]._loaded_options = None + _globals["_FEE"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_FEE"].fields_by_name["payer"]._loaded_options = None + _globals["_FEE"].fields_by_name["payer"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_FEE"].fields_by_name["granter"]._loaded_options = None + _globals["_FEE"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_TIP"].fields_by_name["amount"]._loaded_options = None + _globals["_TIP"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_TIP"].fields_by_name["tipper"]._loaded_options = None + _globals["_TIP"].fields_by_name["tipper"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_TIP"]._loaded_options = None + _globals["_TIP"]._serialized_options = b"\030\001" + _globals["_AUXSIGNERDATA"].fields_by_name["address"]._loaded_options = None + _globals["_AUXSIGNERDATA"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_TX"]._serialized_start = 265 + _globals["_TX"]._serialized_end = 406 + _globals["_TXRAW"]._serialized_start = 408 + _globals["_TXRAW"]._serialized_end = 518 + _globals["_SIGNDOC"]._serialized_start = 521 + _globals["_SIGNDOC"]._serialized_end = 667 + _globals["_SIGNDOCDIRECTAUX"]._serialized_start = 670 + _globals["_SIGNDOCDIRECTAUX"]._serialized_end = 912 + _globals["_TXBODY"]._serialized_start = 915 + _globals["_TXBODY"]._serialized_end = 1192 + _globals["_AUTHINFO"]._serialized_start = 1195 + _globals["_AUTHINFO"]._serialized_end = 1359 + _globals["_SIGNERINFO"]._serialized_start = 1362 + _globals["_SIGNERINFO"]._serialized_end = 1513 + _globals["_MODEINFO"]._serialized_start = 1516 + _globals["_MODEINFO"]._serialized_end = 1868 + _globals["_MODEINFO_SINGLE"]._serialized_start = 1649 + _globals["_MODEINFO_SINGLE"]._serialized_end = 1714 + _globals["_MODEINFO_MULTI"]._serialized_start = 1717 + _globals["_MODEINFO_MULTI"]._serialized_end = 1861 + _globals["_FEE"]._serialized_start = 1871 + _globals["_FEE"]._serialized_end = 2128 + _globals["_TIP"]._serialized_start = 2131 + _globals["_TIP"]._serialized_end = 2313 + _globals["_AUXSIGNERDATA"]._serialized_start = 2316 + _globals["_AUXSIGNERDATA"]._serialized_end = 2522 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/upgrade/module/v1/module_pb2.py b/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2.py index 5104a264..4d22e2e9 100644 --- a/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/upgrade/module/v1/module.proto\x12\x18\x63osmos.upgrade.module.v1\x1a cosmos/app/v1alpha1/module.proto\"F\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:\x1e\xba\xc0\x96\xda\x01\x18\n\x16\x63osmossdk.io/x/upgradeB\xae\x01\n\x1c\x63om.cosmos.upgrade.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43UM\xaa\x02\x18\x43osmos.Upgrade.Module.V1\xca\x02\x18\x43osmos\\Upgrade\\Module\\V1\xe2\x02$Cosmos\\Upgrade\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Upgrade::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%cosmos/upgrade/module/v1/module.proto\x12\x18\x63osmos.upgrade.module.v1\x1a cosmos/app/v1alpha1/module.proto"F\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:\x1e\xba\xc0\x96\xda\x01\x18\n\x16\x63osmossdk.io/x/upgradeB\xae\x01\n\x1c\x63om.cosmos.upgrade.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43UM\xaa\x02\x18\x43osmos.Upgrade.Module.V1\xca\x02\x18\x43osmos\\Upgrade\\Module\\V1\xe2\x02$Cosmos\\Upgrade\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Upgrade::Module::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.upgrade.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.upgrade.module.v1B\013ModuleProtoP\001\242\002\003CUM\252\002\030Cosmos.Upgrade.Module.V1\312\002\030Cosmos\\Upgrade\\Module\\V1\342\002$Cosmos\\Upgrade\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Upgrade::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\030\n\026cosmossdk.io/x/upgrade' - _globals['_MODULE']._serialized_start=101 - _globals['_MODULE']._serialized_end=171 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\034com.cosmos.upgrade.module.v1B\013ModuleProtoP\001\242\002\003CUM\252\002\030Cosmos.Upgrade.Module.V1\312\002\030Cosmos\\Upgrade\\Module\\V1\342\002$Cosmos\\Upgrade\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Upgrade::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001\030\n\026cosmossdk.io/x/upgrade" + _globals["_MODULE"]._serialized_start = 101 + _globals["_MODULE"]._serialized_end = 171 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/upgrade/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2.py index bd1e46f1..fe01419b 100644 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,48 +17,64 @@ from pyinjective.proto.cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/upgrade/v1beta1/query.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\"\x19\n\x17QueryCurrentPlanRequest\"L\n\x18QueryCurrentPlanResponse\x12\x30\n\x04plan\x18\x01 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanR\x04plan\"-\n\x17QueryAppliedPlanRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"2\n\x18QueryAppliedPlanResponse\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\"I\n\"QueryUpgradedConsensusStateRequest\x12\x1f\n\x0blast_height\x18\x01 \x01(\x03R\nlastHeight:\x02\x18\x01\"i\n#QueryUpgradedConsensusStateResponse\x12\x38\n\x18upgraded_consensus_state\x18\x02 \x01(\x0cR\x16upgradedConsensusState:\x02\x18\x01J\x04\x08\x01\x10\x02\"=\n\x1aQueryModuleVersionsRequest\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName\"m\n\x1bQueryModuleVersionsResponse\x12N\n\x0fmodule_versions\x18\x01 \x03(\x0b\x32%.cosmos.upgrade.v1beta1.ModuleVersionR\x0emoduleVersions\"\x17\n\x15QueryAuthorityRequest\"2\n\x16QueryAuthorityResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress2\xf4\x06\n\x05Query\x12\x9e\x01\n\x0b\x43urrentPlan\x12/.cosmos.upgrade.v1beta1.QueryCurrentPlanRequest\x1a\x30.cosmos.upgrade.v1beta1.QueryCurrentPlanResponse\",\x82\xd3\xe4\x93\x02&\x12$/cosmos/upgrade/v1beta1/current_plan\x12\xa5\x01\n\x0b\x41ppliedPlan\x12/.cosmos.upgrade.v1beta1.QueryAppliedPlanRequest\x1a\x30.cosmos.upgrade.v1beta1.QueryAppliedPlanResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/upgrade/v1beta1/applied_plan/{name}\x12\xdc\x01\n\x16UpgradedConsensusState\x12:.cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest\x1a;.cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse\"I\x88\x02\x01\x82\xd3\xe4\x93\x02@\x12>/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}\x12\xaa\x01\n\x0eModuleVersions\x12\x32.cosmos.upgrade.v1beta1.QueryModuleVersionsRequest\x1a\x33.cosmos.upgrade.v1beta1.QueryModuleVersionsResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/upgrade/v1beta1/module_versions\x12\x95\x01\n\tAuthority\x12-.cosmos.upgrade.v1beta1.QueryAuthorityRequest\x1a..cosmos.upgrade.v1beta1.QueryAuthorityResponse\")\x82\xd3\xe4\x93\x02#\x12!/cosmos/upgrade/v1beta1/authorityB\xc0\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\nQueryProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n"cosmos/upgrade/v1beta1/query.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto"\x19\n\x17QueryCurrentPlanRequest"L\n\x18QueryCurrentPlanResponse\x12\x30\n\x04plan\x18\x01 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanR\x04plan"-\n\x17QueryAppliedPlanRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"2\n\x18QueryAppliedPlanResponse\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height"I\n"QueryUpgradedConsensusStateRequest\x12\x1f\n\x0blast_height\x18\x01 \x01(\x03R\nlastHeight:\x02\x18\x01"i\n#QueryUpgradedConsensusStateResponse\x12\x38\n\x18upgraded_consensus_state\x18\x02 \x01(\x0cR\x16upgradedConsensusState:\x02\x18\x01J\x04\x08\x01\x10\x02"=\n\x1aQueryModuleVersionsRequest\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName"m\n\x1bQueryModuleVersionsResponse\x12N\n\x0fmodule_versions\x18\x01 \x03(\x0b\x32%.cosmos.upgrade.v1beta1.ModuleVersionR\x0emoduleVersions"\x17\n\x15QueryAuthorityRequest"2\n\x16QueryAuthorityResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress2\xf4\x06\n\x05Query\x12\x9e\x01\n\x0b\x43urrentPlan\x12/.cosmos.upgrade.v1beta1.QueryCurrentPlanRequest\x1a\x30.cosmos.upgrade.v1beta1.QueryCurrentPlanResponse",\x82\xd3\xe4\x93\x02&\x12$/cosmos/upgrade/v1beta1/current_plan\x12\xa5\x01\n\x0b\x41ppliedPlan\x12/.cosmos.upgrade.v1beta1.QueryAppliedPlanRequest\x1a\x30.cosmos.upgrade.v1beta1.QueryAppliedPlanResponse"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/upgrade/v1beta1/applied_plan/{name}\x12\xdc\x01\n\x16UpgradedConsensusState\x12:.cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest\x1a;.cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse"I\x88\x02\x01\x82\xd3\xe4\x93\x02@\x12>/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}\x12\xaa\x01\n\x0eModuleVersions\x12\x32.cosmos.upgrade.v1beta1.QueryModuleVersionsRequest\x1a\x33.cosmos.upgrade.v1beta1.QueryModuleVersionsResponse"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/upgrade/v1beta1/module_versions\x12\x95\x01\n\tAuthority\x12-.cosmos.upgrade.v1beta1.QueryAuthorityRequest\x1a..cosmos.upgrade.v1beta1.QueryAuthorityResponse")\x82\xd3\xe4\x93\x02#\x12!/cosmos/upgrade/v1beta1/authorityB\xc0\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\nQueryProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.upgrade.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.upgrade.v1beta1B\nQueryProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1' - _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._loaded_options = None - _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_options = b'\030\001' - _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._loaded_options = None - _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_options = b'\030\001' - _globals['_QUERY'].methods_by_name['CurrentPlan']._loaded_options = None - _globals['_QUERY'].methods_by_name['CurrentPlan']._serialized_options = b'\202\323\344\223\002&\022$/cosmos/upgrade/v1beta1/current_plan' - _globals['_QUERY'].methods_by_name['AppliedPlan']._loaded_options = None - _globals['_QUERY'].methods_by_name['AppliedPlan']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/upgrade/v1beta1/applied_plan/{name}' - _globals['_QUERY'].methods_by_name['UpgradedConsensusState']._loaded_options = None - _globals['_QUERY'].methods_by_name['UpgradedConsensusState']._serialized_options = b'\210\002\001\202\323\344\223\002@\022>/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}' - _globals['_QUERY'].methods_by_name['ModuleVersions']._loaded_options = None - _globals['_QUERY'].methods_by_name['ModuleVersions']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/upgrade/v1beta1/module_versions' - _globals['_QUERY'].methods_by_name['Authority']._loaded_options = None - _globals['_QUERY'].methods_by_name['Authority']._serialized_options = b'\202\323\344\223\002#\022!/cosmos/upgrade/v1beta1/authority' - _globals['_QUERYCURRENTPLANREQUEST']._serialized_start=130 - _globals['_QUERYCURRENTPLANREQUEST']._serialized_end=155 - _globals['_QUERYCURRENTPLANRESPONSE']._serialized_start=157 - _globals['_QUERYCURRENTPLANRESPONSE']._serialized_end=233 - _globals['_QUERYAPPLIEDPLANREQUEST']._serialized_start=235 - _globals['_QUERYAPPLIEDPLANREQUEST']._serialized_end=280 - _globals['_QUERYAPPLIEDPLANRESPONSE']._serialized_start=282 - _globals['_QUERYAPPLIEDPLANRESPONSE']._serialized_end=332 - _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_start=334 - _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_end=407 - _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_start=409 - _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_end=514 - _globals['_QUERYMODULEVERSIONSREQUEST']._serialized_start=516 - _globals['_QUERYMODULEVERSIONSREQUEST']._serialized_end=577 - _globals['_QUERYMODULEVERSIONSRESPONSE']._serialized_start=579 - _globals['_QUERYMODULEVERSIONSRESPONSE']._serialized_end=688 - _globals['_QUERYAUTHORITYREQUEST']._serialized_start=690 - _globals['_QUERYAUTHORITYREQUEST']._serialized_end=713 - _globals['_QUERYAUTHORITYRESPONSE']._serialized_start=715 - _globals['_QUERYAUTHORITYRESPONSE']._serialized_end=765 - _globals['_QUERY']._serialized_start=768 - _globals['_QUERY']._serialized_end=1652 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\032com.cosmos.upgrade.v1beta1B\nQueryProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1' + ) + _globals["_QUERYUPGRADEDCONSENSUSSTATEREQUEST"]._loaded_options = None + _globals["_QUERYUPGRADEDCONSENSUSSTATEREQUEST"]._serialized_options = b"\030\001" + _globals["_QUERYUPGRADEDCONSENSUSSTATERESPONSE"]._loaded_options = None + _globals["_QUERYUPGRADEDCONSENSUSSTATERESPONSE"]._serialized_options = b"\030\001" + _globals["_QUERY"].methods_by_name["CurrentPlan"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "CurrentPlan" + ]._serialized_options = b"\202\323\344\223\002&\022$/cosmos/upgrade/v1beta1/current_plan" + _globals["_QUERY"].methods_by_name["AppliedPlan"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AppliedPlan" + ]._serialized_options = b"\202\323\344\223\002-\022+/cosmos/upgrade/v1beta1/applied_plan/{name}" + _globals["_QUERY"].methods_by_name["UpgradedConsensusState"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "UpgradedConsensusState" + ]._serialized_options = ( + b"\210\002\001\202\323\344\223\002@\022>/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}" + ) + _globals["_QUERY"].methods_by_name["ModuleVersions"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ModuleVersions" + ]._serialized_options = b"\202\323\344\223\002)\022'/cosmos/upgrade/v1beta1/module_versions" + _globals["_QUERY"].methods_by_name["Authority"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Authority" + ]._serialized_options = b"\202\323\344\223\002#\022!/cosmos/upgrade/v1beta1/authority" + _globals["_QUERYCURRENTPLANREQUEST"]._serialized_start = 130 + _globals["_QUERYCURRENTPLANREQUEST"]._serialized_end = 155 + _globals["_QUERYCURRENTPLANRESPONSE"]._serialized_start = 157 + _globals["_QUERYCURRENTPLANRESPONSE"]._serialized_end = 233 + _globals["_QUERYAPPLIEDPLANREQUEST"]._serialized_start = 235 + _globals["_QUERYAPPLIEDPLANREQUEST"]._serialized_end = 280 + _globals["_QUERYAPPLIEDPLANRESPONSE"]._serialized_start = 282 + _globals["_QUERYAPPLIEDPLANRESPONSE"]._serialized_end = 332 + _globals["_QUERYUPGRADEDCONSENSUSSTATEREQUEST"]._serialized_start = 334 + _globals["_QUERYUPGRADEDCONSENSUSSTATEREQUEST"]._serialized_end = 407 + _globals["_QUERYUPGRADEDCONSENSUSSTATERESPONSE"]._serialized_start = 409 + _globals["_QUERYUPGRADEDCONSENSUSSTATERESPONSE"]._serialized_end = 514 + _globals["_QUERYMODULEVERSIONSREQUEST"]._serialized_start = 516 + _globals["_QUERYMODULEVERSIONSREQUEST"]._serialized_end = 577 + _globals["_QUERYMODULEVERSIONSRESPONSE"]._serialized_start = 579 + _globals["_QUERYMODULEVERSIONSRESPONSE"]._serialized_end = 688 + _globals["_QUERYAUTHORITYREQUEST"]._serialized_start = 690 + _globals["_QUERYAUTHORITYREQUEST"]._serialized_end = 713 + _globals["_QUERYAUTHORITYRESPONSE"]._serialized_start = 715 + _globals["_QUERYAUTHORITYRESPONSE"]._serialized_end = 765 + _globals["_QUERY"]._serialized_start = 768 + _globals["_QUERY"]._serialized_end = 1652 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2_grpc.py index d5092b8d..32c9838d 100644 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the gRPC upgrade querier service. - """ + """Query defines the gRPC upgrade querier service.""" def __init__(self, channel): """Constructor. @@ -16,49 +15,51 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.CurrentPlan = channel.unary_unary( - '/cosmos.upgrade.v1beta1.Query/CurrentPlan', - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanRequest.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanResponse.FromString, - _registered_method=True) + "/cosmos.upgrade.v1beta1.Query/CurrentPlan", + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanRequest.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanResponse.FromString, + _registered_method=True, + ) self.AppliedPlan = channel.unary_unary( - '/cosmos.upgrade.v1beta1.Query/AppliedPlan', - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanRequest.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanResponse.FromString, - _registered_method=True) + "/cosmos.upgrade.v1beta1.Query/AppliedPlan", + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanRequest.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanResponse.FromString, + _registered_method=True, + ) self.UpgradedConsensusState = channel.unary_unary( - '/cosmos.upgrade.v1beta1.Query/UpgradedConsensusState', - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, - _registered_method=True) + "/cosmos.upgrade.v1beta1.Query/UpgradedConsensusState", + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, + _registered_method=True, + ) self.ModuleVersions = channel.unary_unary( - '/cosmos.upgrade.v1beta1.Query/ModuleVersions', - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsRequest.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsResponse.FromString, - _registered_method=True) + "/cosmos.upgrade.v1beta1.Query/ModuleVersions", + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsRequest.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsResponse.FromString, + _registered_method=True, + ) self.Authority = channel.unary_unary( - '/cosmos.upgrade.v1beta1.Query/Authority', - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityRequest.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityResponse.FromString, - _registered_method=True) + "/cosmos.upgrade.v1beta1.Query/Authority", + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityRequest.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC upgrade querier service. - """ + """Query defines the gRPC upgrade querier service.""" def CurrentPlan(self, request, context): - """CurrentPlan queries the current upgrade plan. - """ + """CurrentPlan queries the current upgrade plan.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AppliedPlan(self, request, context): - """AppliedPlan queries a previously applied upgrade plan by its name. - """ + """AppliedPlan queries a previously applied upgrade plan by its name.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpgradedConsensusState(self, request, context): """UpgradedConsensusState queries the consensus state that will serve @@ -69,8 +70,8 @@ def UpgradedConsensusState(self, request, context): (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ModuleVersions(self, request, context): """ModuleVersions queries the list of module versions from state. @@ -78,8 +79,8 @@ def ModuleVersions(self, request, context): Since: cosmos-sdk 0.43 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Authority(self, request, context): """Returns the account with authority to conduct upgrades @@ -87,64 +88,64 @@ def Authority(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'CurrentPlan': grpc.unary_unary_rpc_method_handler( - servicer.CurrentPlan, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanRequest.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanResponse.SerializeToString, - ), - 'AppliedPlan': grpc.unary_unary_rpc_method_handler( - servicer.AppliedPlan, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanRequest.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanResponse.SerializeToString, - ), - 'UpgradedConsensusState': grpc.unary_unary_rpc_method_handler( - servicer.UpgradedConsensusState, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateRequest.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateResponse.SerializeToString, - ), - 'ModuleVersions': grpc.unary_unary_rpc_method_handler( - servicer.ModuleVersions, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsRequest.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsResponse.SerializeToString, - ), - 'Authority': grpc.unary_unary_rpc_method_handler( - servicer.Authority, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityRequest.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityResponse.SerializeToString, - ), + "CurrentPlan": grpc.unary_unary_rpc_method_handler( + servicer.CurrentPlan, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanRequest.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanResponse.SerializeToString, + ), + "AppliedPlan": grpc.unary_unary_rpc_method_handler( + servicer.AppliedPlan, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanRequest.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanResponse.SerializeToString, + ), + "UpgradedConsensusState": grpc.unary_unary_rpc_method_handler( + servicer.UpgradedConsensusState, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateRequest.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateResponse.SerializeToString, + ), + "ModuleVersions": grpc.unary_unary_rpc_method_handler( + servicer.ModuleVersions, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsRequest.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsResponse.SerializeToString, + ), + "Authority": grpc.unary_unary_rpc_method_handler( + servicer.Authority, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityRequest.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.upgrade.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.upgrade.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.upgrade.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.upgrade.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC upgrade querier service. - """ + """Query defines the gRPC upgrade querier service.""" @staticmethod - def CurrentPlan(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CurrentPlan( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.upgrade.v1beta1.Query/CurrentPlan', + "/cosmos.upgrade.v1beta1.Query/CurrentPlan", cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanRequest.SerializeToString, cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanResponse.FromString, options, @@ -155,23 +156,26 @@ def CurrentPlan(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def AppliedPlan(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AppliedPlan( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.upgrade.v1beta1.Query/AppliedPlan', + "/cosmos.upgrade.v1beta1.Query/AppliedPlan", cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanRequest.SerializeToString, cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanResponse.FromString, options, @@ -182,23 +186,26 @@ def AppliedPlan(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpgradedConsensusState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpgradedConsensusState( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.upgrade.v1beta1.Query/UpgradedConsensusState', + "/cosmos.upgrade.v1beta1.Query/UpgradedConsensusState", cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, options, @@ -209,23 +216,26 @@ def UpgradedConsensusState(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ModuleVersions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ModuleVersions( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.upgrade.v1beta1.Query/ModuleVersions', + "/cosmos.upgrade.v1beta1.Query/ModuleVersions", cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsRequest.SerializeToString, cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsResponse.FromString, options, @@ -236,23 +246,26 @@ def ModuleVersions(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Authority(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Authority( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.upgrade.v1beta1.Query/Authority', + "/cosmos.upgrade.v1beta1.Query/Authority", cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityRequest.SerializeToString, cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityResponse.FromString, options, @@ -263,4 +276,5 @@ def Authority(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py index 7fdd9d6e..2e77cd24 100644 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,34 +20,44 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/upgrade/v1beta1/tx.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xbb\x01\n\x12MsgSoftwareUpgrade\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12;\n\x04plan\x18\x02 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04plan:0\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgSoftwareUpgrade\"\x1c\n\x1aMsgSoftwareUpgradeResponse\"z\n\x10MsgCancelUpgrade\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority:.\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgCancelUpgrade\"\x1a\n\x18MsgCancelUpgradeResponse2\xec\x01\n\x03Msg\x12q\n\x0fSoftwareUpgrade\x12*.cosmos.upgrade.v1beta1.MsgSoftwareUpgrade\x1a\x32.cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse\x12k\n\rCancelUpgrade\x12(.cosmos.upgrade.v1beta1.MsgCancelUpgrade\x1a\x30.cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\x07TxProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1f\x63osmos/upgrade/v1beta1/tx.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xbb\x01\n\x12MsgSoftwareUpgrade\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12;\n\x04plan\x18\x02 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04plan:0\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgSoftwareUpgrade"\x1c\n\x1aMsgSoftwareUpgradeResponse"z\n\x10MsgCancelUpgrade\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority:.\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgCancelUpgrade"\x1a\n\x18MsgCancelUpgradeResponse2\xec\x01\n\x03Msg\x12q\n\x0fSoftwareUpgrade\x12*.cosmos.upgrade.v1beta1.MsgSoftwareUpgrade\x1a\x32.cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse\x12k\n\rCancelUpgrade\x12(.cosmos.upgrade.v1beta1.MsgCancelUpgrade\x1a\x30.cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\x07TxProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.upgrade.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.upgrade.v1beta1B\007TxProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1' - _globals['_MSGSOFTWAREUPGRADE'].fields_by_name['authority']._loaded_options = None - _globals['_MSGSOFTWAREUPGRADE'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSOFTWAREUPGRADE'].fields_by_name['plan']._loaded_options = None - _globals['_MSGSOFTWAREUPGRADE'].fields_by_name['plan']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGSOFTWAREUPGRADE']._loaded_options = None - _globals['_MSGSOFTWAREUPGRADE']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\035cosmos-sdk/MsgSoftwareUpgrade' - _globals['_MSGCANCELUPGRADE'].fields_by_name['authority']._loaded_options = None - _globals['_MSGCANCELUPGRADE'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCANCELUPGRADE']._loaded_options = None - _globals['_MSGCANCELUPGRADE']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\033cosmos-sdk/MsgCancelUpgrade' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGSOFTWAREUPGRADE']._serialized_start=191 - _globals['_MSGSOFTWAREUPGRADE']._serialized_end=378 - _globals['_MSGSOFTWAREUPGRADERESPONSE']._serialized_start=380 - _globals['_MSGSOFTWAREUPGRADERESPONSE']._serialized_end=408 - _globals['_MSGCANCELUPGRADE']._serialized_start=410 - _globals['_MSGCANCELUPGRADE']._serialized_end=532 - _globals['_MSGCANCELUPGRADERESPONSE']._serialized_start=534 - _globals['_MSGCANCELUPGRADERESPONSE']._serialized_end=560 - _globals['_MSG']._serialized_start=563 - _globals['_MSG']._serialized_end=799 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\032com.cosmos.upgrade.v1beta1B\007TxProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1' + ) + _globals["_MSGSOFTWAREUPGRADE"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGSOFTWAREUPGRADE"].fields_by_name[ + "authority" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSOFTWAREUPGRADE"].fields_by_name["plan"]._loaded_options = None + _globals["_MSGSOFTWAREUPGRADE"].fields_by_name["plan"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGSOFTWAREUPGRADE"]._loaded_options = None + _globals["_MSGSOFTWAREUPGRADE"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*\035cosmos-sdk/MsgSoftwareUpgrade" + ) + _globals["_MSGCANCELUPGRADE"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGCANCELUPGRADE"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGCANCELUPGRADE"]._loaded_options = None + _globals["_MSGCANCELUPGRADE"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*\033cosmos-sdk/MsgCancelUpgrade" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGSOFTWAREUPGRADE"]._serialized_start = 191 + _globals["_MSGSOFTWAREUPGRADE"]._serialized_end = 378 + _globals["_MSGSOFTWAREUPGRADERESPONSE"]._serialized_start = 380 + _globals["_MSGSOFTWAREUPGRADERESPONSE"]._serialized_end = 408 + _globals["_MSGCANCELUPGRADE"]._serialized_start = 410 + _globals["_MSGCANCELUPGRADE"]._serialized_end = 532 + _globals["_MSGCANCELUPGRADERESPONSE"]._serialized_start = 534 + _globals["_MSGCANCELUPGRADERESPONSE"]._serialized_end = 560 + _globals["_MSG"]._serialized_start = 563 + _globals["_MSG"]._serialized_end = 799 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2_grpc.py index 2a4012ac..49e3c237 100644 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the upgrade Msg service. - """ + """Msg defines the upgrade Msg service.""" def __init__(self, channel): """Constructor. @@ -16,20 +15,21 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.SoftwareUpgrade = channel.unary_unary( - '/cosmos.upgrade.v1beta1.Msg/SoftwareUpgrade', - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgrade.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgradeResponse.FromString, - _registered_method=True) + "/cosmos.upgrade.v1beta1.Msg/SoftwareUpgrade", + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgrade.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgradeResponse.FromString, + _registered_method=True, + ) self.CancelUpgrade = channel.unary_unary( - '/cosmos.upgrade.v1beta1.Msg/CancelUpgrade', - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgrade.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgradeResponse.FromString, - _registered_method=True) + "/cosmos.upgrade.v1beta1.Msg/CancelUpgrade", + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgrade.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgradeResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the upgrade Msg service. - """ + """Msg defines the upgrade Msg service.""" def SoftwareUpgrade(self, request, context): """SoftwareUpgrade is a governance operation for initiating a software upgrade. @@ -37,8 +37,8 @@ def SoftwareUpgrade(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CancelUpgrade(self, request, context): """CancelUpgrade is a governance operation for cancelling a previously @@ -47,49 +47,49 @@ def CancelUpgrade(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'SoftwareUpgrade': grpc.unary_unary_rpc_method_handler( - servicer.SoftwareUpgrade, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgrade.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgradeResponse.SerializeToString, - ), - 'CancelUpgrade': grpc.unary_unary_rpc_method_handler( - servicer.CancelUpgrade, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgrade.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgradeResponse.SerializeToString, - ), + "SoftwareUpgrade": grpc.unary_unary_rpc_method_handler( + servicer.SoftwareUpgrade, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgrade.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgradeResponse.SerializeToString, + ), + "CancelUpgrade": grpc.unary_unary_rpc_method_handler( + servicer.CancelUpgrade, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgrade.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgradeResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.upgrade.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.upgrade.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.upgrade.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.upgrade.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the upgrade Msg service. - """ + """Msg defines the upgrade Msg service.""" @staticmethod - def SoftwareUpgrade(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SoftwareUpgrade( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.upgrade.v1beta1.Msg/SoftwareUpgrade', + "/cosmos.upgrade.v1beta1.Msg/SoftwareUpgrade", cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgrade.SerializeToString, cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgradeResponse.FromString, options, @@ -100,23 +100,26 @@ def SoftwareUpgrade(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CancelUpgrade(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CancelUpgrade( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.upgrade.v1beta1.Msg/CancelUpgrade', + "/cosmos.upgrade.v1beta1.Msg/CancelUpgrade", cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgrade.SerializeToString, cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgradeResponse.FromString, options, @@ -127,4 +130,5 @@ def CancelUpgrade(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py b/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py index 1b9f1627..57dba09e 100644 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,34 +20,46 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/upgrade/v1beta1/upgrade.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xef\x01\n\x04Plan\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12?\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0f\x18\x01\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12L\n\x15upgraded_client_state\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyB\x02\x18\x01R\x13upgradedClientState:\x18\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0f\x63osmos-sdk/Plan\"\xdb\x01\n\x17SoftwareUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12;\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04plan:K\x18\x01\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\"cosmos-sdk/SoftwareUpgradeProposal\"\xaa\x01\n\x1d\x43\x61ncelSoftwareUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription:Q\x18\x01\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(cosmos-sdk/CancelSoftwareUpgradeProposal\"C\n\rModuleVersion\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07version\x18\x02 \x01(\x04R\x07version:\x04\xe8\xa0\x1f\x01\x42\xc6\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\x0cUpgradeProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$cosmos/upgrade/v1beta1/upgrade.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\xef\x01\n\x04Plan\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12?\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0f\x18\x01\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12L\n\x15upgraded_client_state\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyB\x02\x18\x01R\x13upgradedClientState:\x18\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0f\x63osmos-sdk/Plan"\xdb\x01\n\x17SoftwareUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12;\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04plan:K\x18\x01\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*"cosmos-sdk/SoftwareUpgradeProposal"\xaa\x01\n\x1d\x43\x61ncelSoftwareUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription:Q\x18\x01\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(cosmos-sdk/CancelSoftwareUpgradeProposal"C\n\rModuleVersion\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07version\x18\x02 \x01(\x04R\x07version:\x04\xe8\xa0\x1f\x01\x42\xc6\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\x0cUpgradeProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.upgrade_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.upgrade.v1beta1.upgrade_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.upgrade.v1beta1B\014UpgradeProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1\310\341\036\000' - _globals['_PLAN'].fields_by_name['time']._loaded_options = None - _globals['_PLAN'].fields_by_name['time']._serialized_options = b'\030\001\310\336\037\000\220\337\037\001\250\347\260*\001' - _globals['_PLAN'].fields_by_name['upgraded_client_state']._loaded_options = None - _globals['_PLAN'].fields_by_name['upgraded_client_state']._serialized_options = b'\030\001' - _globals['_PLAN']._loaded_options = None - _globals['_PLAN']._serialized_options = b'\350\240\037\001\212\347\260*\017cosmos-sdk/Plan' - _globals['_SOFTWAREUPGRADEPROPOSAL'].fields_by_name['plan']._loaded_options = None - _globals['_SOFTWAREUPGRADEPROPOSAL'].fields_by_name['plan']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_SOFTWAREUPGRADEPROPOSAL']._loaded_options = None - _globals['_SOFTWAREUPGRADEPROPOSAL']._serialized_options = b'\030\001\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\"cosmos-sdk/SoftwareUpgradeProposal' - _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._loaded_options = None - _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._serialized_options = b'\030\001\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(cosmos-sdk/CancelSoftwareUpgradeProposal' - _globals['_MODULEVERSION']._loaded_options = None - _globals['_MODULEVERSION']._serialized_options = b'\350\240\037\001' - _globals['_PLAN']._serialized_start=193 - _globals['_PLAN']._serialized_end=432 - _globals['_SOFTWAREUPGRADEPROPOSAL']._serialized_start=435 - _globals['_SOFTWAREUPGRADEPROPOSAL']._serialized_end=654 - _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._serialized_start=657 - _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._serialized_end=827 - _globals['_MODULEVERSION']._serialized_start=829 - _globals['_MODULEVERSION']._serialized_end=896 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\032com.cosmos.upgrade.v1beta1B\014UpgradeProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1\310\341\036\000' + ) + _globals["_PLAN"].fields_by_name["time"]._loaded_options = None + _globals["_PLAN"].fields_by_name[ + "time" + ]._serialized_options = b"\030\001\310\336\037\000\220\337\037\001\250\347\260*\001" + _globals["_PLAN"].fields_by_name["upgraded_client_state"]._loaded_options = None + _globals["_PLAN"].fields_by_name["upgraded_client_state"]._serialized_options = b"\030\001" + _globals["_PLAN"]._loaded_options = None + _globals["_PLAN"]._serialized_options = b"\350\240\037\001\212\347\260*\017cosmos-sdk/Plan" + _globals["_SOFTWAREUPGRADEPROPOSAL"].fields_by_name["plan"]._loaded_options = None + _globals["_SOFTWAREUPGRADEPROPOSAL"].fields_by_name[ + "plan" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_SOFTWAREUPGRADEPROPOSAL"]._loaded_options = None + _globals["_SOFTWAREUPGRADEPROPOSAL"]._serialized_options = ( + b'\030\001\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*"cosmos-sdk/SoftwareUpgradeProposal' + ) + _globals["_CANCELSOFTWAREUPGRADEPROPOSAL"]._loaded_options = None + _globals["_CANCELSOFTWAREUPGRADEPROPOSAL"]._serialized_options = ( + b"\030\001\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(cosmos-sdk/CancelSoftwareUpgradeProposal" + ) + _globals["_MODULEVERSION"]._loaded_options = None + _globals["_MODULEVERSION"]._serialized_options = b"\350\240\037\001" + _globals["_PLAN"]._serialized_start = 193 + _globals["_PLAN"]._serialized_end = 432 + _globals["_SOFTWAREUPGRADEPROPOSAL"]._serialized_start = 435 + _globals["_SOFTWAREUPGRADEPROPOSAL"]._serialized_end = 654 + _globals["_CANCELSOFTWAREUPGRADEPROPOSAL"]._serialized_start = 657 + _globals["_CANCELSOFTWAREUPGRADEPROPOSAL"]._serialized_end = 827 + _globals["_MODULEVERSION"]._serialized_start = 829 + _globals["_MODULEVERSION"]._serialized_end = 896 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2_grpc.py b/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2_grpc.py +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/vesting/module/v1/module_pb2.py b/pyinjective/proto/cosmos/vesting/module/v1/module_pb2.py index d1a70ea6..5c0af564 100644 --- a/pyinjective/proto/cosmos/vesting/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/vesting/module/v1/module_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/vesting/module/v1/module.proto\x12\x18\x63osmos.vesting.module.v1\x1a cosmos/app/v1alpha1/module.proto\"=\n\x06Module:3\xba\xc0\x96\xda\x01-\n+github.com/cosmos/cosmos-sdk/x/auth/vestingB\xae\x01\n\x1c\x63om.cosmos.vesting.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43VM\xaa\x02\x18\x43osmos.Vesting.Module.V1\xca\x02\x18\x43osmos\\Vesting\\Module\\V1\xe2\x02$Cosmos\\Vesting\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Vesting::Module::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%cosmos/vesting/module/v1/module.proto\x12\x18\x63osmos.vesting.module.v1\x1a cosmos/app/v1alpha1/module.proto"=\n\x06Module:3\xba\xc0\x96\xda\x01-\n+github.com/cosmos/cosmos-sdk/x/auth/vestingB\xae\x01\n\x1c\x63om.cosmos.vesting.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43VM\xaa\x02\x18\x43osmos.Vesting.Module.V1\xca\x02\x18\x43osmos\\Vesting\\Module\\V1\xe2\x02$Cosmos\\Vesting\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Vesting::Module::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.module.v1.module_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.vesting.module.v1.module_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.vesting.module.v1B\013ModuleProtoP\001\242\002\003CVM\252\002\030Cosmos.Vesting.Module.V1\312\002\030Cosmos\\Vesting\\Module\\V1\342\002$Cosmos\\Vesting\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Vesting::Module::V1' - _globals['_MODULE']._loaded_options = None - _globals['_MODULE']._serialized_options = b'\272\300\226\332\001-\n+github.com/cosmos/cosmos-sdk/x/auth/vesting' - _globals['_MODULE']._serialized_start=101 - _globals['_MODULE']._serialized_end=162 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\034com.cosmos.vesting.module.v1B\013ModuleProtoP\001\242\002\003CVM\252\002\030Cosmos.Vesting.Module.V1\312\002\030Cosmos\\Vesting\\Module\\V1\342\002$Cosmos\\Vesting\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Vesting::Module::V1" + ) + _globals["_MODULE"]._loaded_options = None + _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001-\n+github.com/cosmos/cosmos-sdk/x/auth/vesting" + _globals["_MODULE"]._serialized_start = 101 + _globals["_MODULE"]._serialized_end = 162 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/vesting/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/vesting/module/v1/module_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/vesting/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/vesting/module/v1/module_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos/vesting/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2.py index 0aa7baa2..aba73478 100644 --- a/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -20,48 +21,72 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/vesting/v1beta1/tx.proto\x12\x16\x63osmos.vesting.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a$cosmos/vesting/v1beta1/vesting.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xfd\x02\n\x17MsgCreateVestingAccount\x12;\n\x0c\x66rom_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0b\x66romAddress\x12\x37\n\nto_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x19\n\x08\x65nd_time\x18\x04 \x01(\x03R\x07\x65ndTime\x12\x18\n\x07\x64\x65layed\x18\x05 \x01(\x08R\x07\x64\x65layed:<\xe8\xa0\x1f\x01\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*\"cosmos-sdk/MsgCreateVestingAccount\"!\n\x1fMsgCreateVestingAccountResponse\"\xcf\x02\n\x1fMsgCreatePermanentLockedAccount\x12:\n\x0c\x66rom_address\x18\x01 \x01(\tB\x17\xf2\xde\x1f\x13yaml:\"from_address\"R\x0b\x66romAddress\x12\x34\n\nto_address\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"to_address\"R\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:?\xe8\xa0\x1f\x01\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*%cosmos-sdk/MsgCreatePermLockedAccount\")\n\'MsgCreatePermanentLockedAccountResponse\"\x97\x02\n\x1fMsgCreatePeriodicVestingAccount\x12!\n\x0c\x66rom_address\x18\x01 \x01(\tR\x0b\x66romAddress\x12\x1d\n\nto_address\x18\x02 \x01(\tR\ttoAddress\x12\x1d\n\nstart_time\x18\x03 \x01(\x03R\tstartTime\x12R\n\x0fvesting_periods\x18\x04 \x03(\x0b\x32\x1e.cosmos.vesting.v1beta1.PeriodB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evestingPeriods:?\xe8\xa0\x1f\x00\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*%cosmos-sdk/MsgCreatePeriodVestAccount\")\n\'MsgCreatePeriodicVestingAccountResponse2\xc5\x03\n\x03Msg\x12\x80\x01\n\x14\x43reateVestingAccount\x12/.cosmos.vesting.v1beta1.MsgCreateVestingAccount\x1a\x37.cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse\x12\x98\x01\n\x1c\x43reatePermanentLockedAccount\x12\x37.cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount\x1a?.cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse\x12\x98\x01\n\x1c\x43reatePeriodicVestingAccount\x12\x37.cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount\x1a?.cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd2\x01\n\x1a\x63om.cosmos.vesting.v1beta1B\x07TxProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\xa2\x02\x03\x43VX\xaa\x02\x16\x43osmos.Vesting.V1beta1\xca\x02\x16\x43osmos\\Vesting\\V1beta1\xe2\x02\"Cosmos\\Vesting\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Vesting::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1f\x63osmos/vesting/v1beta1/tx.proto\x12\x16\x63osmos.vesting.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a$cosmos/vesting/v1beta1/vesting.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xfd\x02\n\x17MsgCreateVestingAccount\x12;\n\x0c\x66rom_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0b\x66romAddress\x12\x37\n\nto_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x19\n\x08\x65nd_time\x18\x04 \x01(\x03R\x07\x65ndTime\x12\x18\n\x07\x64\x65layed\x18\x05 \x01(\x08R\x07\x64\x65layed:<\xe8\xa0\x1f\x01\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*"cosmos-sdk/MsgCreateVestingAccount"!\n\x1fMsgCreateVestingAccountResponse"\xcf\x02\n\x1fMsgCreatePermanentLockedAccount\x12:\n\x0c\x66rom_address\x18\x01 \x01(\tB\x17\xf2\xde\x1f\x13yaml:"from_address"R\x0b\x66romAddress\x12\x34\n\nto_address\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:"to_address"R\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:?\xe8\xa0\x1f\x01\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*%cosmos-sdk/MsgCreatePermLockedAccount")\n\'MsgCreatePermanentLockedAccountResponse"\x97\x02\n\x1fMsgCreatePeriodicVestingAccount\x12!\n\x0c\x66rom_address\x18\x01 \x01(\tR\x0b\x66romAddress\x12\x1d\n\nto_address\x18\x02 \x01(\tR\ttoAddress\x12\x1d\n\nstart_time\x18\x03 \x01(\x03R\tstartTime\x12R\n\x0fvesting_periods\x18\x04 \x03(\x0b\x32\x1e.cosmos.vesting.v1beta1.PeriodB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evestingPeriods:?\xe8\xa0\x1f\x00\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*%cosmos-sdk/MsgCreatePeriodVestAccount")\n\'MsgCreatePeriodicVestingAccountResponse2\xc5\x03\n\x03Msg\x12\x80\x01\n\x14\x43reateVestingAccount\x12/.cosmos.vesting.v1beta1.MsgCreateVestingAccount\x1a\x37.cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse\x12\x98\x01\n\x1c\x43reatePermanentLockedAccount\x12\x37.cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount\x1a?.cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse\x12\x98\x01\n\x1c\x43reatePeriodicVestingAccount\x12\x37.cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount\x1a?.cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd2\x01\n\x1a\x63om.cosmos.vesting.v1beta1B\x07TxProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\xa2\x02\x03\x43VX\xaa\x02\x16\x43osmos.Vesting.V1beta1\xca\x02\x16\x43osmos\\Vesting\\V1beta1\xe2\x02"Cosmos\\Vesting\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Vesting::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.vesting.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.vesting.v1beta1B\007TxProtoP\001Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\242\002\003CVX\252\002\026Cosmos.Vesting.V1beta1\312\002\026Cosmos\\Vesting\\V1beta1\342\002\"Cosmos\\Vesting\\V1beta1\\GPBMetadata\352\002\030Cosmos::Vesting::V1beta1' - _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['from_address']._loaded_options = None - _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['from_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['to_address']._loaded_options = None - _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['to_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['amount']._loaded_options = None - _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGCREATEVESTINGACCOUNT']._loaded_options = None - _globals['_MSGCREATEVESTINGACCOUNT']._serialized_options = b'\350\240\037\001\202\347\260*\014from_address\212\347\260*\"cosmos-sdk/MsgCreateVestingAccount' - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['from_address']._loaded_options = None - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['from_address']._serialized_options = b'\362\336\037\023yaml:\"from_address\"' - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['to_address']._loaded_options = None - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['to_address']._serialized_options = b'\362\336\037\021yaml:\"to_address\"' - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['amount']._loaded_options = None - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._loaded_options = None - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._serialized_options = b'\350\240\037\001\202\347\260*\014from_address\212\347\260*%cosmos-sdk/MsgCreatePermLockedAccount' - _globals['_MSGCREATEPERIODICVESTINGACCOUNT'].fields_by_name['vesting_periods']._loaded_options = None - _globals['_MSGCREATEPERIODICVESTINGACCOUNT'].fields_by_name['vesting_periods']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._loaded_options = None - _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._serialized_options = b'\350\240\037\000\202\347\260*\014from_address\212\347\260*%cosmos-sdk/MsgCreatePeriodVestAccount' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGCREATEVESTINGACCOUNT']._serialized_start=223 - _globals['_MSGCREATEVESTINGACCOUNT']._serialized_end=604 - _globals['_MSGCREATEVESTINGACCOUNTRESPONSE']._serialized_start=606 - _globals['_MSGCREATEVESTINGACCOUNTRESPONSE']._serialized_end=639 - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._serialized_start=642 - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._serialized_end=977 - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNTRESPONSE']._serialized_start=979 - _globals['_MSGCREATEPERMANENTLOCKEDACCOUNTRESPONSE']._serialized_end=1020 - _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._serialized_start=1023 - _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._serialized_end=1302 - _globals['_MSGCREATEPERIODICVESTINGACCOUNTRESPONSE']._serialized_start=1304 - _globals['_MSGCREATEPERIODICVESTINGACCOUNTRESPONSE']._serialized_end=1345 - _globals['_MSG']._serialized_start=1348 - _globals['_MSG']._serialized_end=1801 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\032com.cosmos.vesting.v1beta1B\007TxProtoP\001Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\242\002\003CVX\252\002\026Cosmos.Vesting.V1beta1\312\002\026Cosmos\\Vesting\\V1beta1\342\002"Cosmos\\Vesting\\V1beta1\\GPBMetadata\352\002\030Cosmos::Vesting::V1beta1' + ) + _globals["_MSGCREATEVESTINGACCOUNT"].fields_by_name["from_address"]._loaded_options = None + _globals["_MSGCREATEVESTINGACCOUNT"].fields_by_name[ + "from_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGCREATEVESTINGACCOUNT"].fields_by_name["to_address"]._loaded_options = None + _globals["_MSGCREATEVESTINGACCOUNT"].fields_by_name[ + "to_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGCREATEVESTINGACCOUNT"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGCREATEVESTINGACCOUNT"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_MSGCREATEVESTINGACCOUNT"]._loaded_options = None + _globals["_MSGCREATEVESTINGACCOUNT"]._serialized_options = ( + b'\350\240\037\001\202\347\260*\014from_address\212\347\260*"cosmos-sdk/MsgCreateVestingAccount' + ) + _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"].fields_by_name["from_address"]._loaded_options = None + _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"].fields_by_name[ + "from_address" + ]._serialized_options = b'\362\336\037\023yaml:"from_address"' + _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"].fields_by_name["to_address"]._loaded_options = None + _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"].fields_by_name[ + "to_address" + ]._serialized_options = b'\362\336\037\021yaml:"to_address"' + _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"]._loaded_options = None + _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"]._serialized_options = ( + b"\350\240\037\001\202\347\260*\014from_address\212\347\260*%cosmos-sdk/MsgCreatePermLockedAccount" + ) + _globals["_MSGCREATEPERIODICVESTINGACCOUNT"].fields_by_name["vesting_periods"]._loaded_options = None + _globals["_MSGCREATEPERIODICVESTINGACCOUNT"].fields_by_name[ + "vesting_periods" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGCREATEPERIODICVESTINGACCOUNT"]._loaded_options = None + _globals["_MSGCREATEPERIODICVESTINGACCOUNT"]._serialized_options = ( + b"\350\240\037\000\202\347\260*\014from_address\212\347\260*%cosmos-sdk/MsgCreatePeriodVestAccount" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGCREATEVESTINGACCOUNT"]._serialized_start = 223 + _globals["_MSGCREATEVESTINGACCOUNT"]._serialized_end = 604 + _globals["_MSGCREATEVESTINGACCOUNTRESPONSE"]._serialized_start = 606 + _globals["_MSGCREATEVESTINGACCOUNTRESPONSE"]._serialized_end = 639 + _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"]._serialized_start = 642 + _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"]._serialized_end = 977 + _globals["_MSGCREATEPERMANENTLOCKEDACCOUNTRESPONSE"]._serialized_start = 979 + _globals["_MSGCREATEPERMANENTLOCKEDACCOUNTRESPONSE"]._serialized_end = 1020 + _globals["_MSGCREATEPERIODICVESTINGACCOUNT"]._serialized_start = 1023 + _globals["_MSGCREATEPERIODICVESTINGACCOUNT"]._serialized_end = 1302 + _globals["_MSGCREATEPERIODICVESTINGACCOUNTRESPONSE"]._serialized_start = 1304 + _globals["_MSGCREATEPERIODICVESTINGACCOUNTRESPONSE"]._serialized_end = 1345 + _globals["_MSG"]._serialized_start = 1348 + _globals["_MSG"]._serialized_end = 1801 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2_grpc.py index 023b77e1..889ea892 100644 --- a/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the bank Msg service. - """ + """Msg defines the bank Msg service.""" def __init__(self, channel): """Constructor. @@ -16,33 +15,35 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.CreateVestingAccount = channel.unary_unary( - '/cosmos.vesting.v1beta1.Msg/CreateVestingAccount', - request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccount.SerializeToString, - response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccountResponse.FromString, - _registered_method=True) + "/cosmos.vesting.v1beta1.Msg/CreateVestingAccount", + request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccount.SerializeToString, + response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccountResponse.FromString, + _registered_method=True, + ) self.CreatePermanentLockedAccount = channel.unary_unary( - '/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount', - request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccount.SerializeToString, - response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccountResponse.FromString, - _registered_method=True) + "/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount", + request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccount.SerializeToString, + response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccountResponse.FromString, + _registered_method=True, + ) self.CreatePeriodicVestingAccount = channel.unary_unary( - '/cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount', - request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccount.SerializeToString, - response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccountResponse.FromString, - _registered_method=True) + "/cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount", + request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccount.SerializeToString, + response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccountResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the bank Msg service. - """ + """Msg defines the bank Msg service.""" def CreateVestingAccount(self, request, context): """CreateVestingAccount defines a method that enables creating a vesting account. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CreatePermanentLockedAccount(self, request, context): """CreatePermanentLockedAccount defines a method that enables creating a permanent @@ -51,8 +52,8 @@ def CreatePermanentLockedAccount(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CreatePeriodicVestingAccount(self, request, context): """CreatePeriodicVestingAccount defines a method that enables creating a @@ -61,54 +62,54 @@ def CreatePeriodicVestingAccount(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'CreateVestingAccount': grpc.unary_unary_rpc_method_handler( - servicer.CreateVestingAccount, - request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccount.FromString, - response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccountResponse.SerializeToString, - ), - 'CreatePermanentLockedAccount': grpc.unary_unary_rpc_method_handler( - servicer.CreatePermanentLockedAccount, - request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccount.FromString, - response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccountResponse.SerializeToString, - ), - 'CreatePeriodicVestingAccount': grpc.unary_unary_rpc_method_handler( - servicer.CreatePeriodicVestingAccount, - request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccount.FromString, - response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccountResponse.SerializeToString, - ), + "CreateVestingAccount": grpc.unary_unary_rpc_method_handler( + servicer.CreateVestingAccount, + request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccount.FromString, + response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccountResponse.SerializeToString, + ), + "CreatePermanentLockedAccount": grpc.unary_unary_rpc_method_handler( + servicer.CreatePermanentLockedAccount, + request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccount.FromString, + response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccountResponse.SerializeToString, + ), + "CreatePeriodicVestingAccount": grpc.unary_unary_rpc_method_handler( + servicer.CreatePeriodicVestingAccount, + request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccount.FromString, + response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccountResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmos.vesting.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmos.vesting.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmos.vesting.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmos.vesting.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the bank Msg service. - """ + """Msg defines the bank Msg service.""" @staticmethod - def CreateVestingAccount(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreateVestingAccount( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.vesting.v1beta1.Msg/CreateVestingAccount', + "/cosmos.vesting.v1beta1.Msg/CreateVestingAccount", cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccount.SerializeToString, cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccountResponse.FromString, options, @@ -119,23 +120,26 @@ def CreateVestingAccount(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CreatePermanentLockedAccount(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreatePermanentLockedAccount( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount', + "/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount", cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccount.SerializeToString, cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccountResponse.FromString, options, @@ -146,23 +150,26 @@ def CreatePermanentLockedAccount(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CreatePeriodicVestingAccount(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreatePeriodicVestingAccount( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount', + "/cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount", cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccount.SerializeToString, cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccountResponse.FromString, options, @@ -173,4 +180,5 @@ def CreatePeriodicVestingAccount(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py b/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py index 4972c18c..cfce7871 100644 --- a/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py +++ b/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,54 +19,80 @@ from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/vesting/v1beta1/vesting.proto\x12\x16\x63osmos.vesting.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xcd\x04\n\x12\x42\x61seVestingAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12\x8c\x01\n\x10original_vesting\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0foriginalVesting\x12\x88\x01\n\x0e\x64\x65legated_free\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\rdelegatedFree\x12\x8e\x01\n\x11\x64\x65legated_vesting\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x10\x64\x65legatedVesting\x12\x19\n\x08\x65nd_time\x18\x05 \x01(\x03R\x07\x65ndTime:&\x88\xa0\x1f\x00\x8a\xe7\xb0*\x1d\x63osmos-sdk/BaseVestingAccount\"\xcb\x01\n\x18\x43ontinuousVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount\x12\x1d\n\nstart_time\x18\x02 \x01(\x03R\tstartTime:,\x88\xa0\x1f\x00\x8a\xe7\xb0*#cosmos-sdk/ContinuousVestingAccount\"\xa6\x01\n\x15\x44\x65layedVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount:)\x88\xa0\x1f\x00\x8a\xe7\xb0* cosmos-sdk/DelayedVestingAccount\"\x9b\x01\n\x06Period\x12\x16\n\x06length\x18\x01 \x01(\x03R\x06length\x12y\n\x06\x61mount\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\"\x9b\x02\n\x16PeriodicVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount\x12\x1d\n\nstart_time\x18\x02 \x01(\x03R\tstartTime\x12R\n\x0fvesting_periods\x18\x03 \x03(\x0b\x32\x1e.cosmos.vesting.v1beta1.PeriodB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evestingPeriods:*\x88\xa0\x1f\x00\x8a\xe7\xb0*!cosmos-sdk/PeriodicVestingAccount\"\xa8\x01\n\x16PermanentLockedAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount:*\x88\xa0\x1f\x00\x8a\xe7\xb0*!cosmos-sdk/PermanentLockedAccountB\xd7\x01\n\x1a\x63om.cosmos.vesting.v1beta1B\x0cVestingProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\xa2\x02\x03\x43VX\xaa\x02\x16\x43osmos.Vesting.V1beta1\xca\x02\x16\x43osmos\\Vesting\\V1beta1\xe2\x02\"Cosmos\\Vesting\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Vesting::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$cosmos/vesting/v1beta1/vesting.proto\x12\x16\x63osmos.vesting.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto"\xcd\x04\n\x12\x42\x61seVestingAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12\x8c\x01\n\x10original_vesting\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0foriginalVesting\x12\x88\x01\n\x0e\x64\x65legated_free\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\rdelegatedFree\x12\x8e\x01\n\x11\x64\x65legated_vesting\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x10\x64\x65legatedVesting\x12\x19\n\x08\x65nd_time\x18\x05 \x01(\x03R\x07\x65ndTime:&\x88\xa0\x1f\x00\x8a\xe7\xb0*\x1d\x63osmos-sdk/BaseVestingAccount"\xcb\x01\n\x18\x43ontinuousVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount\x12\x1d\n\nstart_time\x18\x02 \x01(\x03R\tstartTime:,\x88\xa0\x1f\x00\x8a\xe7\xb0*#cosmos-sdk/ContinuousVestingAccount"\xa6\x01\n\x15\x44\x65layedVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount:)\x88\xa0\x1f\x00\x8a\xe7\xb0* cosmos-sdk/DelayedVestingAccount"\x9b\x01\n\x06Period\x12\x16\n\x06length\x18\x01 \x01(\x03R\x06length\x12y\n\x06\x61mount\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount"\x9b\x02\n\x16PeriodicVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount\x12\x1d\n\nstart_time\x18\x02 \x01(\x03R\tstartTime\x12R\n\x0fvesting_periods\x18\x03 \x03(\x0b\x32\x1e.cosmos.vesting.v1beta1.PeriodB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evestingPeriods:*\x88\xa0\x1f\x00\x8a\xe7\xb0*!cosmos-sdk/PeriodicVestingAccount"\xa8\x01\n\x16PermanentLockedAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount:*\x88\xa0\x1f\x00\x8a\xe7\xb0*!cosmos-sdk/PermanentLockedAccountB\xd7\x01\n\x1a\x63om.cosmos.vesting.v1beta1B\x0cVestingProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\xa2\x02\x03\x43VX\xaa\x02\x16\x43osmos.Vesting.V1beta1\xca\x02\x16\x43osmos\\Vesting\\V1beta1\xe2\x02"Cosmos\\Vesting\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Vesting::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.v1beta1.vesting_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.vesting.v1beta1.vesting_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.vesting.v1beta1B\014VestingProtoP\001Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\242\002\003CVX\252\002\026Cosmos.Vesting.V1beta1\312\002\026Cosmos\\Vesting\\V1beta1\342\002\"Cosmos\\Vesting\\V1beta1\\GPBMetadata\352\002\030Cosmos::Vesting::V1beta1' - _globals['_BASEVESTINGACCOUNT'].fields_by_name['base_account']._loaded_options = None - _globals['_BASEVESTINGACCOUNT'].fields_by_name['base_account']._serialized_options = b'\320\336\037\001' - _globals['_BASEVESTINGACCOUNT'].fields_by_name['original_vesting']._loaded_options = None - _globals['_BASEVESTINGACCOUNT'].fields_by_name['original_vesting']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_BASEVESTINGACCOUNT'].fields_by_name['delegated_free']._loaded_options = None - _globals['_BASEVESTINGACCOUNT'].fields_by_name['delegated_free']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_BASEVESTINGACCOUNT'].fields_by_name['delegated_vesting']._loaded_options = None - _globals['_BASEVESTINGACCOUNT'].fields_by_name['delegated_vesting']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_BASEVESTINGACCOUNT']._loaded_options = None - _globals['_BASEVESTINGACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260*\035cosmos-sdk/BaseVestingAccount' - _globals['_CONTINUOUSVESTINGACCOUNT'].fields_by_name['base_vesting_account']._loaded_options = None - _globals['_CONTINUOUSVESTINGACCOUNT'].fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' - _globals['_CONTINUOUSVESTINGACCOUNT']._loaded_options = None - _globals['_CONTINUOUSVESTINGACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260*#cosmos-sdk/ContinuousVestingAccount' - _globals['_DELAYEDVESTINGACCOUNT'].fields_by_name['base_vesting_account']._loaded_options = None - _globals['_DELAYEDVESTINGACCOUNT'].fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' - _globals['_DELAYEDVESTINGACCOUNT']._loaded_options = None - _globals['_DELAYEDVESTINGACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260* cosmos-sdk/DelayedVestingAccount' - _globals['_PERIOD'].fields_by_name['amount']._loaded_options = None - _globals['_PERIOD'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_PERIODICVESTINGACCOUNT'].fields_by_name['base_vesting_account']._loaded_options = None - _globals['_PERIODICVESTINGACCOUNT'].fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' - _globals['_PERIODICVESTINGACCOUNT'].fields_by_name['vesting_periods']._loaded_options = None - _globals['_PERIODICVESTINGACCOUNT'].fields_by_name['vesting_periods']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_PERIODICVESTINGACCOUNT']._loaded_options = None - _globals['_PERIODICVESTINGACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260*!cosmos-sdk/PeriodicVestingAccount' - _globals['_PERMANENTLOCKEDACCOUNT'].fields_by_name['base_vesting_account']._loaded_options = None - _globals['_PERMANENTLOCKEDACCOUNT'].fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' - _globals['_PERMANENTLOCKEDACCOUNT']._loaded_options = None - _globals['_PERMANENTLOCKEDACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260*!cosmos-sdk/PermanentLockedAccount' - _globals['_BASEVESTINGACCOUNT']._serialized_start=170 - _globals['_BASEVESTINGACCOUNT']._serialized_end=759 - _globals['_CONTINUOUSVESTINGACCOUNT']._serialized_start=762 - _globals['_CONTINUOUSVESTINGACCOUNT']._serialized_end=965 - _globals['_DELAYEDVESTINGACCOUNT']._serialized_start=968 - _globals['_DELAYEDVESTINGACCOUNT']._serialized_end=1134 - _globals['_PERIOD']._serialized_start=1137 - _globals['_PERIOD']._serialized_end=1292 - _globals['_PERIODICVESTINGACCOUNT']._serialized_start=1295 - _globals['_PERIODICVESTINGACCOUNT']._serialized_end=1578 - _globals['_PERMANENTLOCKEDACCOUNT']._serialized_start=1581 - _globals['_PERMANENTLOCKEDACCOUNT']._serialized_end=1749 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n\032com.cosmos.vesting.v1beta1B\014VestingProtoP\001Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\242\002\003CVX\252\002\026Cosmos.Vesting.V1beta1\312\002\026Cosmos\\Vesting\\V1beta1\342\002"Cosmos\\Vesting\\V1beta1\\GPBMetadata\352\002\030Cosmos::Vesting::V1beta1' + ) + _globals["_BASEVESTINGACCOUNT"].fields_by_name["base_account"]._loaded_options = None + _globals["_BASEVESTINGACCOUNT"].fields_by_name["base_account"]._serialized_options = b"\320\336\037\001" + _globals["_BASEVESTINGACCOUNT"].fields_by_name["original_vesting"]._loaded_options = None + _globals["_BASEVESTINGACCOUNT"].fields_by_name[ + "original_vesting" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_BASEVESTINGACCOUNT"].fields_by_name["delegated_free"]._loaded_options = None + _globals["_BASEVESTINGACCOUNT"].fields_by_name[ + "delegated_free" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_BASEVESTINGACCOUNT"].fields_by_name["delegated_vesting"]._loaded_options = None + _globals["_BASEVESTINGACCOUNT"].fields_by_name[ + "delegated_vesting" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_BASEVESTINGACCOUNT"]._loaded_options = None + _globals["_BASEVESTINGACCOUNT"]._serialized_options = ( + b"\210\240\037\000\212\347\260*\035cosmos-sdk/BaseVestingAccount" + ) + _globals["_CONTINUOUSVESTINGACCOUNT"].fields_by_name["base_vesting_account"]._loaded_options = None + _globals["_CONTINUOUSVESTINGACCOUNT"].fields_by_name[ + "base_vesting_account" + ]._serialized_options = b"\320\336\037\001" + _globals["_CONTINUOUSVESTINGACCOUNT"]._loaded_options = None + _globals["_CONTINUOUSVESTINGACCOUNT"]._serialized_options = ( + b"\210\240\037\000\212\347\260*#cosmos-sdk/ContinuousVestingAccount" + ) + _globals["_DELAYEDVESTINGACCOUNT"].fields_by_name["base_vesting_account"]._loaded_options = None + _globals["_DELAYEDVESTINGACCOUNT"].fields_by_name["base_vesting_account"]._serialized_options = b"\320\336\037\001" + _globals["_DELAYEDVESTINGACCOUNT"]._loaded_options = None + _globals["_DELAYEDVESTINGACCOUNT"]._serialized_options = ( + b"\210\240\037\000\212\347\260* cosmos-sdk/DelayedVestingAccount" + ) + _globals["_PERIOD"].fields_by_name["amount"]._loaded_options = None + _globals["_PERIOD"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_PERIODICVESTINGACCOUNT"].fields_by_name["base_vesting_account"]._loaded_options = None + _globals["_PERIODICVESTINGACCOUNT"].fields_by_name["base_vesting_account"]._serialized_options = b"\320\336\037\001" + _globals["_PERIODICVESTINGACCOUNT"].fields_by_name["vesting_periods"]._loaded_options = None + _globals["_PERIODICVESTINGACCOUNT"].fields_by_name[ + "vesting_periods" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_PERIODICVESTINGACCOUNT"]._loaded_options = None + _globals["_PERIODICVESTINGACCOUNT"]._serialized_options = ( + b"\210\240\037\000\212\347\260*!cosmos-sdk/PeriodicVestingAccount" + ) + _globals["_PERMANENTLOCKEDACCOUNT"].fields_by_name["base_vesting_account"]._loaded_options = None + _globals["_PERMANENTLOCKEDACCOUNT"].fields_by_name["base_vesting_account"]._serialized_options = b"\320\336\037\001" + _globals["_PERMANENTLOCKEDACCOUNT"]._loaded_options = None + _globals["_PERMANENTLOCKEDACCOUNT"]._serialized_options = ( + b"\210\240\037\000\212\347\260*!cosmos-sdk/PermanentLockedAccount" + ) + _globals["_BASEVESTINGACCOUNT"]._serialized_start = 170 + _globals["_BASEVESTINGACCOUNT"]._serialized_end = 759 + _globals["_CONTINUOUSVESTINGACCOUNT"]._serialized_start = 762 + _globals["_CONTINUOUSVESTINGACCOUNT"]._serialized_end = 965 + _globals["_DELAYEDVESTINGACCOUNT"]._serialized_start = 968 + _globals["_DELAYEDVESTINGACCOUNT"]._serialized_end = 1134 + _globals["_PERIOD"]._serialized_start = 1137 + _globals["_PERIOD"]._serialized_end = 1292 + _globals["_PERIODICVESTINGACCOUNT"]._serialized_start = 1295 + _globals["_PERIODICVESTINGACCOUNT"]._serialized_end = 1578 + _globals["_PERMANENTLOCKEDACCOUNT"]._serialized_start = 1581 + _globals["_PERMANENTLOCKEDACCOUNT"]._serialized_end = 1749 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2_grpc.py b/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2_grpc.py +++ b/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmos_proto/cosmos_pb2.py b/pyinjective/proto/cosmos_proto/cosmos_pb2.py index e9f88646..ac3ba6e2 100644 --- a/pyinjective/proto/cosmos_proto/cosmos_pb2.py +++ b/pyinjective/proto/cosmos_proto/cosmos_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,18 +16,22 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmos_proto/cosmos.proto\x12\x0c\x63osmos_proto\x1a google/protobuf/descriptor.proto\"K\n\x13InterfaceDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\"\x81\x01\n\x10ScalarDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x37\n\nfield_type\x18\x03 \x03(\x0e\x32\x18.cosmos_proto.ScalarTypeR\tfieldType*X\n\nScalarType\x12\x1b\n\x17SCALAR_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12SCALAR_TYPE_STRING\x10\x01\x12\x15\n\x11SCALAR_TYPE_BYTES\x10\x02:H\n\x0fmethod_added_in\x12\x1e.google.protobuf.MethodOptions\x18\xc9\xd6\x05 \x01(\tR\rmethodAddedIn:T\n\x14implements_interface\x12\x1f.google.protobuf.MessageOptions\x18\xc9\xd6\x05 \x03(\tR\x13implementsInterface:K\n\x10message_added_in\x12\x1f.google.protobuf.MessageOptions\x18\xca\xd6\x05 \x01(\tR\x0emessageAddedIn:L\n\x11\x61\x63\x63\x65pts_interface\x12\x1d.google.protobuf.FieldOptions\x18\xc9\xd6\x05 \x01(\tR\x10\x61\x63\x63\x65ptsInterface:7\n\x06scalar\x12\x1d.google.protobuf.FieldOptions\x18\xca\xd6\x05 \x01(\tR\x06scalar:E\n\x0e\x66ield_added_in\x12\x1d.google.protobuf.FieldOptions\x18\xcb\xd6\x05 \x01(\tR\x0c\x66ieldAddedIn:n\n\x11\x64\x65\x63lare_interface\x12\x1c.google.protobuf.FileOptions\x18\xbd\xb3\x30 \x03(\x0b\x32!.cosmos_proto.InterfaceDescriptorR\x10\x64\x65\x63lareInterface:e\n\x0e\x64\x65\x63lare_scalar\x12\x1c.google.protobuf.FileOptions\x18\xbe\xb3\x30 \x03(\x0b\x32\x1e.cosmos_proto.ScalarDescriptorR\rdeclareScalar:B\n\rfile_added_in\x12\x1c.google.protobuf.FileOptions\x18\xbf\xb3\x30 \x01(\tR\x0b\x66ileAddedInB\x98\x01\n\x10\x63om.cosmos_protoB\x0b\x43osmosProtoP\x01Z+github.com/cosmos/cosmos-proto;cosmos_proto\xa2\x02\x03\x43XX\xaa\x02\x0b\x43osmosProto\xca\x02\x0b\x43osmosProto\xe2\x02\x17\x43osmosProto\\GPBMetadata\xea\x02\x0b\x43osmosProtob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x19\x63osmos_proto/cosmos.proto\x12\x0c\x63osmos_proto\x1a google/protobuf/descriptor.proto"K\n\x13InterfaceDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription"\x81\x01\n\x10ScalarDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x37\n\nfield_type\x18\x03 \x03(\x0e\x32\x18.cosmos_proto.ScalarTypeR\tfieldType*X\n\nScalarType\x12\x1b\n\x17SCALAR_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12SCALAR_TYPE_STRING\x10\x01\x12\x15\n\x11SCALAR_TYPE_BYTES\x10\x02:H\n\x0fmethod_added_in\x12\x1e.google.protobuf.MethodOptions\x18\xc9\xd6\x05 \x01(\tR\rmethodAddedIn:T\n\x14implements_interface\x12\x1f.google.protobuf.MessageOptions\x18\xc9\xd6\x05 \x03(\tR\x13implementsInterface:K\n\x10message_added_in\x12\x1f.google.protobuf.MessageOptions\x18\xca\xd6\x05 \x01(\tR\x0emessageAddedIn:L\n\x11\x61\x63\x63\x65pts_interface\x12\x1d.google.protobuf.FieldOptions\x18\xc9\xd6\x05 \x01(\tR\x10\x61\x63\x63\x65ptsInterface:7\n\x06scalar\x12\x1d.google.protobuf.FieldOptions\x18\xca\xd6\x05 \x01(\tR\x06scalar:E\n\x0e\x66ield_added_in\x12\x1d.google.protobuf.FieldOptions\x18\xcb\xd6\x05 \x01(\tR\x0c\x66ieldAddedIn:n\n\x11\x64\x65\x63lare_interface\x12\x1c.google.protobuf.FileOptions\x18\xbd\xb3\x30 \x03(\x0b\x32!.cosmos_proto.InterfaceDescriptorR\x10\x64\x65\x63lareInterface:e\n\x0e\x64\x65\x63lare_scalar\x12\x1c.google.protobuf.FileOptions\x18\xbe\xb3\x30 \x03(\x0b\x32\x1e.cosmos_proto.ScalarDescriptorR\rdeclareScalar:B\n\rfile_added_in\x12\x1c.google.protobuf.FileOptions\x18\xbf\xb3\x30 \x01(\tR\x0b\x66ileAddedInB\x98\x01\n\x10\x63om.cosmos_protoB\x0b\x43osmosProtoP\x01Z+github.com/cosmos/cosmos-proto;cosmos_proto\xa2\x02\x03\x43XX\xaa\x02\x0b\x43osmosProto\xca\x02\x0b\x43osmosProto\xe2\x02\x17\x43osmosProto\\GPBMetadata\xea\x02\x0b\x43osmosProtob\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos_proto.cosmos_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos_proto.cosmos_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\020com.cosmos_protoB\013CosmosProtoP\001Z+github.com/cosmos/cosmos-proto;cosmos_proto\242\002\003CXX\252\002\013CosmosProto\312\002\013CosmosProto\342\002\027CosmosProto\\GPBMetadata\352\002\013CosmosProto' - _globals['_SCALARTYPE']._serialized_start=286 - _globals['_SCALARTYPE']._serialized_end=374 - _globals['_INTERFACEDESCRIPTOR']._serialized_start=77 - _globals['_INTERFACEDESCRIPTOR']._serialized_end=152 - _globals['_SCALARDESCRIPTOR']._serialized_start=155 - _globals['_SCALARDESCRIPTOR']._serialized_end=284 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\020com.cosmos_protoB\013CosmosProtoP\001Z+github.com/cosmos/cosmos-proto;cosmos_proto\242\002\003CXX\252\002\013CosmosProto\312\002\013CosmosProto\342\002\027CosmosProto\\GPBMetadata\352\002\013CosmosProto" + ) + _globals["_SCALARTYPE"]._serialized_start = 286 + _globals["_SCALARTYPE"]._serialized_end = 374 + _globals["_INTERFACEDESCRIPTOR"]._serialized_start = 77 + _globals["_INTERFACEDESCRIPTOR"]._serialized_end = 152 + _globals["_SCALARDESCRIPTOR"]._serialized_start = 155 + _globals["_SCALARDESCRIPTOR"]._serialized_end = 284 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos_proto/cosmos_pb2_grpc.py b/pyinjective/proto/cosmos_proto/cosmos_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmos_proto/cosmos_pb2_grpc.py +++ b/pyinjective/proto/cosmos_proto/cosmos_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmwasm/wasm/v1/authz_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py index 2f350a08..866c05e5 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py @@ -7,6 +7,7 @@ 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() @@ -20,70 +21,108 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/authz.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xa0\x01\n\x16StoreCodeAuthorization\x12>\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmwasm.wasm.v1.CodeGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:F\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1bwasm/StoreCodeAuthorization\"\xb4\x01\n\x1e\x43ontractExecutionAuthorization\x12\x42\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization\"\xb4\x01\n\x1e\x43ontractMigrationAuthorization\x12\x42\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization\"\x7f\n\tCodeGrant\x12\x1b\n\tcode_hash\x18\x01 \x01(\x0cR\x08\x63odeHash\x12U\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\"\xf4\x01\n\rContractGrant\x12\x34\n\x08\x63ontract\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12T\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitXR\x05limit\x12W\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterXR\x06\x66ilter\"n\n\rMaxCallsLimit\x12\x1c\n\tremaining\x18\x01 \x01(\x04R\tremaining:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit\"\xcd\x01\n\rMaxFundsLimit\x12{\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x07\x61mounts:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit\"\xf6\x01\n\rCombinedLimit\x12\'\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04R\x0e\x63\x61llsRemaining\x12{\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x07\x61mounts:?\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\"}\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x12\n\x04keys\x18\x01 \x03(\tR\x04keys:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter\"\xa7\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12\x42\n\x08messages\x18\x01 \x03(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x08messages:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB\xb0\x01\n\x14\x63om.cosmwasm.wasm.v1B\nAuthzProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\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"\xa0\x01\n\x16StoreCodeAuthorization\x12>\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmwasm.wasm.v1.CodeGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:F\xca\xb4-"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1bwasm/StoreCodeAuthorization"\xb4\x01\n\x1e\x43ontractExecutionAuthorization\x12\x42\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:N\xca\xb4-"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization"\xb4\x01\n\x1e\x43ontractMigrationAuthorization\x12\x42\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:N\xca\xb4-"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization"\x7f\n\tCodeGrant\x12\x1b\n\tcode_hash\x18\x01 \x01(\x0cR\x08\x63odeHash\x12U\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission"\xf4\x01\n\rContractGrant\x12\x34\n\x08\x63ontract\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12T\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitXR\x05limit\x12W\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterXR\x06\x66ilter"n\n\rMaxCallsLimit\x12\x1c\n\tremaining\x18\x01 \x01(\x04R\tremaining:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit"\xcd\x01\n\rMaxFundsLimit\x12{\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x07\x61mounts:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit"\xf6\x01\n\rCombinedLimit\x12\'\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04R\x0e\x63\x61llsRemaining\x12{\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x07\x61mounts:?\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"}\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x12\n\x04keys\x18\x01 \x03(\tR\x04keys:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter"\xa7\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12\x42\n\x08messages\x18\x01 \x03(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x08messages:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB\xb0\x01\n\x14\x63om.cosmwasm.wasm.v1B\nAuthzProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.authz_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmwasm.wasm.v1.authz_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\nAuthzProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000' - _globals['_STORECODEAUTHORIZATION'].fields_by_name['grants']._loaded_options = None - _globals['_STORECODEAUTHORIZATION'].fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_STORECODEAUTHORIZATION']._loaded_options = None - _globals['_STORECODEAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\033wasm/StoreCodeAuthorization' - _globals['_CONTRACTEXECUTIONAUTHORIZATION'].fields_by_name['grants']._loaded_options = None - _globals['_CONTRACTEXECUTIONAUTHORIZATION'].fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._loaded_options = None - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractExecutionAuthorization' - _globals['_CONTRACTMIGRATIONAUTHORIZATION'].fields_by_name['grants']._loaded_options = None - _globals['_CONTRACTMIGRATIONAUTHORIZATION'].fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._loaded_options = None - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractMigrationAuthorization' - _globals['_CONTRACTGRANT'].fields_by_name['contract']._loaded_options = None - _globals['_CONTRACTGRANT'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_CONTRACTGRANT'].fields_by_name['limit']._loaded_options = None - _globals['_CONTRACTGRANT'].fields_by_name['limit']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX' - _globals['_CONTRACTGRANT'].fields_by_name['filter']._loaded_options = None - _globals['_CONTRACTGRANT'].fields_by_name['filter']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX' - _globals['_MAXCALLSLIMIT']._loaded_options = None - _globals['_MAXCALLSLIMIT']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/MaxCallsLimit' - _globals['_MAXFUNDSLIMIT'].fields_by_name['amounts']._loaded_options = None - _globals['_MAXFUNDSLIMIT'].fields_by_name['amounts']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MAXFUNDSLIMIT']._loaded_options = None - _globals['_MAXFUNDSLIMIT']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/MaxFundsLimit' - _globals['_COMBINEDLIMIT'].fields_by_name['amounts']._loaded_options = None - _globals['_COMBINEDLIMIT'].fields_by_name['amounts']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_COMBINEDLIMIT']._loaded_options = None - _globals['_COMBINEDLIMIT']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/CombinedLimit' - _globals['_ALLOWALLMESSAGESFILTER']._loaded_options = None - _globals['_ALLOWALLMESSAGESFILTER']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AllowAllMessagesFilter' - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._loaded_options = None - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\036wasm/AcceptedMessageKeysFilter' - _globals['_ACCEPTEDMESSAGESFILTER'].fields_by_name['messages']._loaded_options = None - _globals['_ACCEPTEDMESSAGESFILTER'].fields_by_name['messages']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_ACCEPTEDMESSAGESFILTER']._loaded_options = None - _globals['_ACCEPTEDMESSAGESFILTER']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AcceptedMessagesFilter' - _globals['_STORECODEAUTHORIZATION']._serialized_start=208 - _globals['_STORECODEAUTHORIZATION']._serialized_end=368 - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_start=371 - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_end=551 - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_start=554 - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_end=734 - _globals['_CODEGRANT']._serialized_start=736 - _globals['_CODEGRANT']._serialized_end=863 - _globals['_CONTRACTGRANT']._serialized_start=866 - _globals['_CONTRACTGRANT']._serialized_end=1110 - _globals['_MAXCALLSLIMIT']._serialized_start=1112 - _globals['_MAXCALLSLIMIT']._serialized_end=1222 - _globals['_MAXFUNDSLIMIT']._serialized_start=1225 - _globals['_MAXFUNDSLIMIT']._serialized_end=1430 - _globals['_COMBINEDLIMIT']._serialized_start=1433 - _globals['_COMBINEDLIMIT']._serialized_end=1679 - _globals['_ALLOWALLMESSAGESFILTER']._serialized_start=1681 - _globals['_ALLOWALLMESSAGESFILTER']._serialized_end=1780 - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_start=1782 - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_end=1907 - _globals['_ACCEPTEDMESSAGESFILTER']._serialized_start=1910 - _globals['_ACCEPTEDMESSAGESFILTER']._serialized_end=2077 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\024com.cosmwasm.wasm.v1B\nAuthzProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000" + ) + _globals["_STORECODEAUTHORIZATION"].fields_by_name["grants"]._loaded_options = None + _globals["_STORECODEAUTHORIZATION"].fields_by_name[ + "grants" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_STORECODEAUTHORIZATION"]._loaded_options = None + _globals["_STORECODEAUTHORIZATION"]._serialized_options = ( + b'\312\264-"cosmos.authz.v1beta1.Authorization\212\347\260*\033wasm/StoreCodeAuthorization' + ) + _globals["_CONTRACTEXECUTIONAUTHORIZATION"].fields_by_name["grants"]._loaded_options = None + _globals["_CONTRACTEXECUTIONAUTHORIZATION"].fields_by_name[ + "grants" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_CONTRACTEXECUTIONAUTHORIZATION"]._loaded_options = None + _globals["_CONTRACTEXECUTIONAUTHORIZATION"]._serialized_options = ( + b'\312\264-"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractExecutionAuthorization' + ) + _globals["_CONTRACTMIGRATIONAUTHORIZATION"].fields_by_name["grants"]._loaded_options = None + _globals["_CONTRACTMIGRATIONAUTHORIZATION"].fields_by_name[ + "grants" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_CONTRACTMIGRATIONAUTHORIZATION"]._loaded_options = None + _globals["_CONTRACTMIGRATIONAUTHORIZATION"]._serialized_options = ( + b'\312\264-"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractMigrationAuthorization' + ) + _globals["_CONTRACTGRANT"].fields_by_name["contract"]._loaded_options = None + _globals["_CONTRACTGRANT"].fields_by_name["contract"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_CONTRACTGRANT"].fields_by_name["limit"]._loaded_options = None + _globals["_CONTRACTGRANT"].fields_by_name[ + "limit" + ]._serialized_options = b"\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX" + _globals["_CONTRACTGRANT"].fields_by_name["filter"]._loaded_options = None + _globals["_CONTRACTGRANT"].fields_by_name[ + "filter" + ]._serialized_options = b"\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX" + _globals["_MAXCALLSLIMIT"]._loaded_options = None + _globals["_MAXCALLSLIMIT"]._serialized_options = ( + b"\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/MaxCallsLimit" + ) + _globals["_MAXFUNDSLIMIT"].fields_by_name["amounts"]._loaded_options = None + _globals["_MAXFUNDSLIMIT"].fields_by_name[ + "amounts" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_MAXFUNDSLIMIT"]._loaded_options = None + _globals["_MAXFUNDSLIMIT"]._serialized_options = ( + b"\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/MaxFundsLimit" + ) + _globals["_COMBINEDLIMIT"].fields_by_name["amounts"]._loaded_options = None + _globals["_COMBINEDLIMIT"].fields_by_name[ + "amounts" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_COMBINEDLIMIT"]._loaded_options = None + _globals["_COMBINEDLIMIT"]._serialized_options = ( + b"\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/CombinedLimit" + ) + _globals["_ALLOWALLMESSAGESFILTER"]._loaded_options = None + _globals["_ALLOWALLMESSAGESFILTER"]._serialized_options = ( + b"\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AllowAllMessagesFilter" + ) + _globals["_ACCEPTEDMESSAGEKEYSFILTER"]._loaded_options = None + _globals["_ACCEPTEDMESSAGEKEYSFILTER"]._serialized_options = ( + b"\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\036wasm/AcceptedMessageKeysFilter" + ) + _globals["_ACCEPTEDMESSAGESFILTER"].fields_by_name["messages"]._loaded_options = None + _globals["_ACCEPTEDMESSAGESFILTER"].fields_by_name[ + "messages" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_ACCEPTEDMESSAGESFILTER"]._loaded_options = None + _globals["_ACCEPTEDMESSAGESFILTER"]._serialized_options = ( + b"\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AcceptedMessagesFilter" + ) + _globals["_STORECODEAUTHORIZATION"]._serialized_start = 208 + _globals["_STORECODEAUTHORIZATION"]._serialized_end = 368 + _globals["_CONTRACTEXECUTIONAUTHORIZATION"]._serialized_start = 371 + _globals["_CONTRACTEXECUTIONAUTHORIZATION"]._serialized_end = 551 + _globals["_CONTRACTMIGRATIONAUTHORIZATION"]._serialized_start = 554 + _globals["_CONTRACTMIGRATIONAUTHORIZATION"]._serialized_end = 734 + _globals["_CODEGRANT"]._serialized_start = 736 + _globals["_CODEGRANT"]._serialized_end = 863 + _globals["_CONTRACTGRANT"]._serialized_start = 866 + _globals["_CONTRACTGRANT"]._serialized_end = 1110 + _globals["_MAXCALLSLIMIT"]._serialized_start = 1112 + _globals["_MAXCALLSLIMIT"]._serialized_end = 1222 + _globals["_MAXFUNDSLIMIT"]._serialized_start = 1225 + _globals["_MAXFUNDSLIMIT"]._serialized_end = 1430 + _globals["_COMBINEDLIMIT"]._serialized_start = 1433 + _globals["_COMBINEDLIMIT"]._serialized_end = 1679 + _globals["_ALLOWALLMESSAGESFILTER"]._serialized_start = 1681 + _globals["_ALLOWALLMESSAGESFILTER"]._serialized_end = 1780 + _globals["_ACCEPTEDMESSAGEKEYSFILTER"]._serialized_start = 1782 + _globals["_ACCEPTEDMESSAGEKEYSFILTER"]._serialized_end = 1907 + _globals["_ACCEPTEDMESSAGESFILTER"]._serialized_start = 1910 + _globals["_ACCEPTEDMESSAGESFILTER"]._serialized_end = 2077 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmwasm/wasm/v1/genesis_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py index 535084e8..bea88afa 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,42 +19,54 @@ from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmwasm/wasm/v1/genesis.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xcf\x02\n\x0cGenesisState\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12J\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*\x01R\x05\x63odes\x12Z\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*\x01R\tcontracts\x12Z\n\tsequences\x18\x04 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.SequenceB \xc8\xde\x1f\x00\xea\xde\x1f\x13sequences,omitempty\xa8\xe7\xb0*\x01R\tsequences\"\xa6\x01\n\x04\x43ode\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x42\n\tcode_info\x18\x02 \x01(\x0b\x32\x1a.cosmwasm.wasm.v1.CodeInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x63odeInfo\x12\x1d\n\ncode_bytes\x18\x03 \x01(\x0cR\tcodeBytes\x12\x16\n\x06pinned\x18\x04 \x01(\x08R\x06pinned\"\xd5\x02\n\x08\x43ontract\x12\x43\n\x10\x63ontract_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0f\x63ontractAddress\x12N\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0c\x63ontractInfo\x12I\n\x0e\x63ontract_state\x18\x03 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rcontractState\x12i\n\x15\x63ontract_code_history\x18\x04 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x63ontractCodeHistory\"B\n\x08Sequence\x12 \n\x06id_key\x18\x01 \x01(\x0c\x42\t\xe2\xde\x1f\x05IDKeyR\x05idKey\x12\x14\n\x05value\x18\x02 \x01(\x04R\x05valueB\xae\x01\n\x14\x63om.cosmwasm.wasm.v1B\x0cGenesisProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1b\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"\xcf\x02\n\x0cGenesisState\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12J\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*\x01R\x05\x63odes\x12Z\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*\x01R\tcontracts\x12Z\n\tsequences\x18\x04 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.SequenceB \xc8\xde\x1f\x00\xea\xde\x1f\x13sequences,omitempty\xa8\xe7\xb0*\x01R\tsequences"\xa6\x01\n\x04\x43ode\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x42\n\tcode_info\x18\x02 \x01(\x0b\x32\x1a.cosmwasm.wasm.v1.CodeInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x63odeInfo\x12\x1d\n\ncode_bytes\x18\x03 \x01(\x0cR\tcodeBytes\x12\x16\n\x06pinned\x18\x04 \x01(\x08R\x06pinned"\xd5\x02\n\x08\x43ontract\x12\x43\n\x10\x63ontract_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0f\x63ontractAddress\x12N\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0c\x63ontractInfo\x12I\n\x0e\x63ontract_state\x18\x03 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rcontractState\x12i\n\x15\x63ontract_code_history\x18\x04 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x63ontractCodeHistory"B\n\x08Sequence\x12 \n\x06id_key\x18\x01 \x01(\x0c\x42\t\xe2\xde\x1f\x05IDKeyR\x05idKey\x12\x14\n\x05value\x18\x02 \x01(\x04R\x05valueB\xae\x01\n\x14\x63om.cosmwasm.wasm.v1B\x0cGenesisProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmwasm.wasm.v1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\014GenesisProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['codes']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['codes']._serialized_options = b'\310\336\037\000\352\336\037\017codes,omitempty\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['contracts']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['contracts']._serialized_options = b'\310\336\037\000\352\336\037\023contracts,omitempty\250\347\260*\001' - _globals['_GENESISSTATE'].fields_by_name['sequences']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['sequences']._serialized_options = b'\310\336\037\000\352\336\037\023sequences,omitempty\250\347\260*\001' - _globals['_CODE'].fields_by_name['code_id']._loaded_options = None - _globals['_CODE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_CODE'].fields_by_name['code_info']._loaded_options = None - _globals['_CODE'].fields_by_name['code_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CONTRACT'].fields_by_name['contract_address']._loaded_options = None - _globals['_CONTRACT'].fields_by_name['contract_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_CONTRACT'].fields_by_name['contract_info']._loaded_options = None - _globals['_CONTRACT'].fields_by_name['contract_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CONTRACT'].fields_by_name['contract_state']._loaded_options = None - _globals['_CONTRACT'].fields_by_name['contract_state']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CONTRACT'].fields_by_name['contract_code_history']._loaded_options = None - _globals['_CONTRACT'].fields_by_name['contract_code_history']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_SEQUENCE'].fields_by_name['id_key']._loaded_options = None - _globals['_SEQUENCE'].fields_by_name['id_key']._serialized_options = b'\342\336\037\005IDKey' - _globals['_GENESISSTATE']._serialized_start=151 - _globals['_GENESISSTATE']._serialized_end=486 - _globals['_CODE']._serialized_start=489 - _globals['_CODE']._serialized_end=655 - _globals['_CONTRACT']._serialized_start=658 - _globals['_CONTRACT']._serialized_end=999 - _globals['_SEQUENCE']._serialized_start=1001 - _globals['_SEQUENCE']._serialized_end=1067 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\024com.cosmwasm.wasm.v1B\014GenesisProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1" + ) + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["codes"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "codes" + ]._serialized_options = b"\310\336\037\000\352\336\037\017codes,omitempty\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["contracts"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "contracts" + ]._serialized_options = b"\310\336\037\000\352\336\037\023contracts,omitempty\250\347\260*\001" + _globals["_GENESISSTATE"].fields_by_name["sequences"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "sequences" + ]._serialized_options = b"\310\336\037\000\352\336\037\023sequences,omitempty\250\347\260*\001" + _globals["_CODE"].fields_by_name["code_id"]._loaded_options = None + _globals["_CODE"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" + _globals["_CODE"].fields_by_name["code_info"]._loaded_options = None + _globals["_CODE"].fields_by_name["code_info"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_CONTRACT"].fields_by_name["contract_address"]._loaded_options = None + _globals["_CONTRACT"].fields_by_name["contract_address"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_CONTRACT"].fields_by_name["contract_info"]._loaded_options = None + _globals["_CONTRACT"].fields_by_name["contract_info"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_CONTRACT"].fields_by_name["contract_state"]._loaded_options = None + _globals["_CONTRACT"].fields_by_name["contract_state"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_CONTRACT"].fields_by_name["contract_code_history"]._loaded_options = None + _globals["_CONTRACT"].fields_by_name[ + "contract_code_history" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_SEQUENCE"].fields_by_name["id_key"]._loaded_options = None + _globals["_SEQUENCE"].fields_by_name["id_key"]._serialized_options = b"\342\336\037\005IDKey" + _globals["_GENESISSTATE"]._serialized_start = 151 + _globals["_GENESISSTATE"]._serialized_end = 486 + _globals["_CODE"]._serialized_start = 489 + _globals["_CODE"]._serialized_end = 655 + _globals["_CONTRACT"]._serialized_start = 658 + _globals["_CONTRACT"]._serialized_end = 999 + _globals["_SEQUENCE"]._serialized_start = 1001 + _globals["_SEQUENCE"]._serialized_end = 1067 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmwasm/wasm/v1/ibc_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py index a0548a24..1aa59bf6 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,26 +16,36 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63osmwasm/wasm/v1/ibc.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\"\xe2\x01\n\nMsgIBCSend\x12\x33\n\x07\x63hannel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_channel\"R\x07\x63hannel\x12@\n\x0etimeout_height\x18\x04 \x01(\x04\x42\x19\xf2\xde\x1f\x15yaml:\"timeout_height\"R\rtimeoutHeight\x12I\n\x11timeout_timestamp\x18\x05 \x01(\x04\x42\x1c\xf2\xde\x1f\x18yaml:\"timeout_timestamp\"R\x10timeoutTimestamp\x12\x12\n\x04\x64\x61ta\x18\x06 \x01(\x0cR\x04\x64\x61ta\"0\n\x12MsgIBCSendResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\"I\n\x12MsgIBCCloseChannel\x12\x33\n\x07\x63hannel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_channel\"R\x07\x63hannelB\xae\x01\n\x14\x63om.cosmwasm.wasm.v1B\x08IbcProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1a\x63osmwasm/wasm/v1/ibc.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto"\xe2\x01\n\nMsgIBCSend\x12\x33\n\x07\x63hannel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:"source_channel"R\x07\x63hannel\x12@\n\x0etimeout_height\x18\x04 \x01(\x04\x42\x19\xf2\xde\x1f\x15yaml:"timeout_height"R\rtimeoutHeight\x12I\n\x11timeout_timestamp\x18\x05 \x01(\x04\x42\x1c\xf2\xde\x1f\x18yaml:"timeout_timestamp"R\x10timeoutTimestamp\x12\x12\n\x04\x64\x61ta\x18\x06 \x01(\x0cR\x04\x64\x61ta"0\n\x12MsgIBCSendResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence"I\n\x12MsgIBCCloseChannel\x12\x33\n\x07\x63hannel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:"source_channel"R\x07\x63hannelB\xae\x01\n\x14\x63om.cosmwasm.wasm.v1B\x08IbcProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.ibc_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmwasm.wasm.v1.ibc_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\010IbcProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000' - _globals['_MSGIBCSEND'].fields_by_name['channel']._loaded_options = None - _globals['_MSGIBCSEND'].fields_by_name['channel']._serialized_options = b'\362\336\037\025yaml:\"source_channel\"' - _globals['_MSGIBCSEND'].fields_by_name['timeout_height']._loaded_options = None - _globals['_MSGIBCSEND'].fields_by_name['timeout_height']._serialized_options = b'\362\336\037\025yaml:\"timeout_height\"' - _globals['_MSGIBCSEND'].fields_by_name['timeout_timestamp']._loaded_options = None - _globals['_MSGIBCSEND'].fields_by_name['timeout_timestamp']._serialized_options = b'\362\336\037\030yaml:\"timeout_timestamp\"' - _globals['_MSGIBCCLOSECHANNEL'].fields_by_name['channel']._loaded_options = None - _globals['_MSGIBCCLOSECHANNEL'].fields_by_name['channel']._serialized_options = b'\362\336\037\025yaml:\"source_channel\"' - _globals['_MSGIBCSEND']._serialized_start=71 - _globals['_MSGIBCSEND']._serialized_end=297 - _globals['_MSGIBCSENDRESPONSE']._serialized_start=299 - _globals['_MSGIBCSENDRESPONSE']._serialized_end=347 - _globals['_MSGIBCCLOSECHANNEL']._serialized_start=349 - _globals['_MSGIBCCLOSECHANNEL']._serialized_end=422 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\024com.cosmwasm.wasm.v1B\010IbcProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000" + ) + _globals["_MSGIBCSEND"].fields_by_name["channel"]._loaded_options = None + _globals["_MSGIBCSEND"].fields_by_name["channel"]._serialized_options = b'\362\336\037\025yaml:"source_channel"' + _globals["_MSGIBCSEND"].fields_by_name["timeout_height"]._loaded_options = None + _globals["_MSGIBCSEND"].fields_by_name[ + "timeout_height" + ]._serialized_options = b'\362\336\037\025yaml:"timeout_height"' + _globals["_MSGIBCSEND"].fields_by_name["timeout_timestamp"]._loaded_options = None + _globals["_MSGIBCSEND"].fields_by_name[ + "timeout_timestamp" + ]._serialized_options = b'\362\336\037\030yaml:"timeout_timestamp"' + _globals["_MSGIBCCLOSECHANNEL"].fields_by_name["channel"]._loaded_options = None + _globals["_MSGIBCCLOSECHANNEL"].fields_by_name[ + "channel" + ]._serialized_options = b'\362\336\037\025yaml:"source_channel"' + _globals["_MSGIBCSEND"]._serialized_start = 71 + _globals["_MSGIBCSEND"]._serialized_end = 297 + _globals["_MSGIBCSENDRESPONSE"]._serialized_start = 299 + _globals["_MSGIBCSENDRESPONSE"]._serialized_end = 347 + _globals["_MSGIBCCLOSECHANNEL"]._serialized_start = 349 + _globals["_MSGIBCCLOSECHANNEL"]._serialized_end = 422 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmwasm/wasm/v1/proposal_legacy_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2.py index 7a284f58..80103624 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,132 +20,220 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmwasm/wasm/v1/proposal_legacy.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\x03\n\x11StoreCodeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x36\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x08 \x01(\x08R\tunpinCode\x12\x16\n\x06source\x18\t \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\n \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\x0b \x01(\x0cR\x08\x63odeHash:;\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x16wasm/StoreCodeProposalJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\xeb\x03\n\x1bInstantiateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12.\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x07 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:E\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0* wasm/InstantiateContractProposal\"\x9a\x04\n\x1cInstantiateContract2Proposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12.\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x07 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x12\n\x04salt\x18\t \x01(\x0cR\x04salt\x12\x17\n\x07\x66ix_msg\x18\n \x01(\x08R\x06\x66ixMsg:F\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal\"\xa9\x02\n\x17MigrateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x38\n\x03msg\x18\x06 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal\"\xfe\x01\n\x14SudoContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:>\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x19wasm/SudoContractProposal\"\xae\x03\n\x17\x45xecuteContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal\"\x8d\x02\n\x13UpdateAdminProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12I\n\tnew_admin\x18\x03 \x01(\tB,\xf2\xde\x1f\x10yaml:\"new_admin\"\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal\"\xc0\x01\n\x12\x43learAdminProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal\"\xc1\x01\n\x10PinCodesProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"R\x07\x63odeIds::\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15wasm/PinCodesProposal\"\xc5\x01\n\x12UnpinCodesProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"R\x07\x63odeIds:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal\"\x9b\x01\n\x12\x41\x63\x63\x65ssConfigUpdate\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12`\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15instantiatePermission\"\xb3\x02\n\x1fUpdateInstantiateConfigProposal\x12&\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"R\x05title\x12\x38\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"R\x0b\x64\x65scription\x12\x63\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*\x01R\x13\x61\x63\x63\x65ssConfigUpdates:I\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal\"\xb9\x05\n#StoreAndInstantiateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x36\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x06 \x01(\x08R\tunpinCode\x12\x14\n\x05\x61\x64min\x18\x07 \x01(\tR\x05\x61\x64min\x12\x14\n\x05label\x18\x08 \x01(\tR\x05label\x12\x38\n\x03msg\x18\t \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x16\n\x06source\x18\x0b \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\x0c \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\r \x01(\x0cR\x08\x63odeHash:M\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposalB\xc1\x01\n\x14\x63om.cosmwasm.wasm.v1B\x13ProposalLegacyProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&cosmwasm/wasm/v1/proposal_legacy.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\x03\n\x11StoreCodeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x36\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x08 \x01(\x08R\tunpinCode\x12\x16\n\x06source\x18\t \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\n \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\x0b \x01(\x0cR\x08\x63odeHash:;\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x16wasm/StoreCodeProposalJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07"\xeb\x03\n\x1bInstantiateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12.\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x07 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:E\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0* wasm/InstantiateContractProposal"\x9a\x04\n\x1cInstantiateContract2Proposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12.\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x07 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x12\n\x04salt\x18\t \x01(\x0cR\x04salt\x12\x17\n\x07\x66ix_msg\x18\n \x01(\x08R\x06\x66ixMsg:F\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal"\xa9\x02\n\x17MigrateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x38\n\x03msg\x18\x06 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal"\xfe\x01\n\x14SudoContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:>\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x19wasm/SudoContractProposal"\xae\x03\n\x17\x45xecuteContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal"\x8d\x02\n\x13UpdateAdminProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12I\n\tnew_admin\x18\x03 \x01(\tB,\xf2\xde\x1f\x10yaml:"new_admin"\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal"\xc0\x01\n\x12\x43learAdminProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal"\xc1\x01\n\x10PinCodesProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:"code_ids"R\x07\x63odeIds::\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15wasm/PinCodesProposal"\xc5\x01\n\x12UnpinCodesProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:"code_ids"R\x07\x63odeIds:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal"\x9b\x01\n\x12\x41\x63\x63\x65ssConfigUpdate\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12`\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15instantiatePermission"\xb3\x02\n\x1fUpdateInstantiateConfigProposal\x12&\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:"title"R\x05title\x12\x38\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:"description"R\x0b\x64\x65scription\x12\x63\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*\x01R\x13\x61\x63\x63\x65ssConfigUpdates:I\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal"\xb9\x05\n#StoreAndInstantiateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x36\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x06 \x01(\x08R\tunpinCode\x12\x14\n\x05\x61\x64min\x18\x07 \x01(\tR\x05\x61\x64min\x12\x14\n\x05label\x18\x08 \x01(\tR\x05label\x12\x38\n\x03msg\x18\t \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x16\n\x06source\x18\x0b \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\x0c \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\r \x01(\x0cR\x08\x63odeHash:M\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposalB\xc1\x01\n\x14\x63om.cosmwasm.wasm.v1B\x13ProposalLegacyProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.proposal_legacy_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmwasm.wasm.v1.proposal_legacy_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\023ProposalLegacyProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\330\341\036\000\250\342\036\001' - _globals['_STORECODEPROPOSAL'].fields_by_name['run_as']._loaded_options = None - _globals['_STORECODEPROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_STORECODEPROPOSAL'].fields_by_name['wasm_byte_code']._loaded_options = None - _globals['_STORECODEPROPOSAL'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _globals['_STORECODEPROPOSAL']._loaded_options = None - _globals['_STORECODEPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\026wasm/StoreCodeProposal' - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['run_as']._loaded_options = None - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['admin']._loaded_options = None - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['code_id']._loaded_options = None - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['funds']._loaded_options = None - _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_INSTANTIATECONTRACTPROPOSAL']._loaded_options = None - _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260* wasm/InstantiateContractProposal' - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['run_as']._loaded_options = None - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['admin']._loaded_options = None - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['code_id']._loaded_options = None - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['msg']._loaded_options = None - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['funds']._loaded_options = None - _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_INSTANTIATECONTRACT2PROPOSAL']._loaded_options = None - _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!wasm/InstantiateContract2Proposal' - _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['contract']._loaded_options = None - _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['code_id']._loaded_options = None - _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None - _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MIGRATECONTRACTPROPOSAL']._loaded_options = None - _globals['_MIGRATECONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/MigrateContractProposal' - _globals['_SUDOCONTRACTPROPOSAL'].fields_by_name['contract']._loaded_options = None - _globals['_SUDOCONTRACTPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_SUDOCONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None - _globals['_SUDOCONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_SUDOCONTRACTPROPOSAL']._loaded_options = None - _globals['_SUDOCONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\031wasm/SudoContractProposal' - _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['run_as']._loaded_options = None - _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['contract']._loaded_options = None - _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None - _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['funds']._loaded_options = None - _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_EXECUTECONTRACTPROPOSAL']._loaded_options = None - _globals['_EXECUTECONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/ExecuteContractProposal' - _globals['_UPDATEADMINPROPOSAL'].fields_by_name['new_admin']._loaded_options = None - _globals['_UPDATEADMINPROPOSAL'].fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"\322\264-\024cosmos.AddressString' - _globals['_UPDATEADMINPROPOSAL'].fields_by_name['contract']._loaded_options = None - _globals['_UPDATEADMINPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_UPDATEADMINPROPOSAL']._loaded_options = None - _globals['_UPDATEADMINPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\030wasm/UpdateAdminProposal' - _globals['_CLEARADMINPROPOSAL'].fields_by_name['contract']._loaded_options = None - _globals['_CLEARADMINPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_CLEARADMINPROPOSAL']._loaded_options = None - _globals['_CLEARADMINPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/ClearAdminProposal' - _globals['_PINCODESPROPOSAL'].fields_by_name['code_ids']._loaded_options = None - _globals['_PINCODESPROPOSAL'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' - _globals['_PINCODESPROPOSAL']._loaded_options = None - _globals['_PINCODESPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025wasm/PinCodesProposal' - _globals['_UNPINCODESPROPOSAL'].fields_by_name['code_ids']._loaded_options = None - _globals['_UNPINCODESPROPOSAL'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' - _globals['_UNPINCODESPROPOSAL']._loaded_options = None - _globals['_UNPINCODESPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/UnpinCodesProposal' - _globals['_ACCESSCONFIGUPDATE'].fields_by_name['code_id']._loaded_options = None - _globals['_ACCESSCONFIGUPDATE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_ACCESSCONFIGUPDATE'].fields_by_name['instantiate_permission']._loaded_options = None - _globals['_ACCESSCONFIGUPDATE'].fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['title']._loaded_options = None - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['description']._loaded_options = None - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['access_config_updates']._loaded_options = None - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['access_config_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._loaded_options = None - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$wasm/UpdateInstantiateConfigProposal' - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['run_as']._loaded_options = None - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['wasm_byte_code']._loaded_options = None - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['funds']._loaded_options = None - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._loaded_options = None - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(wasm/StoreAndInstantiateContractProposal' - _globals['_STORECODEPROPOSAL']._serialized_start=191 - _globals['_STORECODEPROPOSAL']._serialized_end=641 - _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_start=644 - _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_end=1135 - _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_start=1138 - _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_end=1676 - _globals['_MIGRATECONTRACTPROPOSAL']._serialized_start=1679 - _globals['_MIGRATECONTRACTPROPOSAL']._serialized_end=1976 - _globals['_SUDOCONTRACTPROPOSAL']._serialized_start=1979 - _globals['_SUDOCONTRACTPROPOSAL']._serialized_end=2233 - _globals['_EXECUTECONTRACTPROPOSAL']._serialized_start=2236 - _globals['_EXECUTECONTRACTPROPOSAL']._serialized_end=2666 - _globals['_UPDATEADMINPROPOSAL']._serialized_start=2669 - _globals['_UPDATEADMINPROPOSAL']._serialized_end=2938 - _globals['_CLEARADMINPROPOSAL']._serialized_start=2941 - _globals['_CLEARADMINPROPOSAL']._serialized_end=3133 - _globals['_PINCODESPROPOSAL']._serialized_start=3136 - _globals['_PINCODESPROPOSAL']._serialized_end=3329 - _globals['_UNPINCODESPROPOSAL']._serialized_start=3332 - _globals['_UNPINCODESPROPOSAL']._serialized_end=3529 - _globals['_ACCESSCONFIGUPDATE']._serialized_start=3532 - _globals['_ACCESSCONFIGUPDATE']._serialized_end=3687 - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_start=3690 - _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_end=3997 - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_start=4000 - _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_end=4697 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\024com.cosmwasm.wasm.v1B\023ProposalLegacyProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\330\341\036\000\250\342\036\001" + ) + _globals["_STORECODEPROPOSAL"].fields_by_name["run_as"]._loaded_options = None + _globals["_STORECODEPROPOSAL"].fields_by_name["run_as"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_STORECODEPROPOSAL"].fields_by_name["wasm_byte_code"]._loaded_options = None + _globals["_STORECODEPROPOSAL"].fields_by_name[ + "wasm_byte_code" + ]._serialized_options = b"\342\336\037\014WASMByteCode" + _globals["_STORECODEPROPOSAL"]._loaded_options = None + _globals["_STORECODEPROPOSAL"]._serialized_options = ( + b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\026wasm/StoreCodeProposal" + ) + _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name["run_as"]._loaded_options = None + _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name[ + "run_as" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name["admin"]._loaded_options = None + _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name[ + "admin" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name["code_id"]._loaded_options = None + _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" + _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name["msg"]._loaded_options = None + _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name[ + "msg" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name["funds"]._loaded_options = None + _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name[ + "funds" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_INSTANTIATECONTRACTPROPOSAL"]._loaded_options = None + _globals["_INSTANTIATECONTRACTPROPOSAL"]._serialized_options = ( + b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260* wasm/InstantiateContractProposal" + ) + _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name["run_as"]._loaded_options = None + _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name[ + "run_as" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name["admin"]._loaded_options = None + _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name[ + "admin" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name["code_id"]._loaded_options = None + _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" + _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name["msg"]._loaded_options = None + _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name[ + "msg" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name["funds"]._loaded_options = None + _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name[ + "funds" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_INSTANTIATECONTRACT2PROPOSAL"]._loaded_options = None + _globals["_INSTANTIATECONTRACT2PROPOSAL"]._serialized_options = ( + b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!wasm/InstantiateContract2Proposal" + ) + _globals["_MIGRATECONTRACTPROPOSAL"].fields_by_name["contract"]._loaded_options = None + _globals["_MIGRATECONTRACTPROPOSAL"].fields_by_name[ + "contract" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MIGRATECONTRACTPROPOSAL"].fields_by_name["code_id"]._loaded_options = None + _globals["_MIGRATECONTRACTPROPOSAL"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" + _globals["_MIGRATECONTRACTPROPOSAL"].fields_by_name["msg"]._loaded_options = None + _globals["_MIGRATECONTRACTPROPOSAL"].fields_by_name[ + "msg" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_MIGRATECONTRACTPROPOSAL"]._loaded_options = None + _globals["_MIGRATECONTRACTPROPOSAL"]._serialized_options = ( + b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/MigrateContractProposal" + ) + _globals["_SUDOCONTRACTPROPOSAL"].fields_by_name["contract"]._loaded_options = None + _globals["_SUDOCONTRACTPROPOSAL"].fields_by_name[ + "contract" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_SUDOCONTRACTPROPOSAL"].fields_by_name["msg"]._loaded_options = None + _globals["_SUDOCONTRACTPROPOSAL"].fields_by_name[ + "msg" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_SUDOCONTRACTPROPOSAL"]._loaded_options = None + _globals["_SUDOCONTRACTPROPOSAL"]._serialized_options = ( + b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\031wasm/SudoContractProposal" + ) + _globals["_EXECUTECONTRACTPROPOSAL"].fields_by_name["run_as"]._loaded_options = None + _globals["_EXECUTECONTRACTPROPOSAL"].fields_by_name[ + "run_as" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_EXECUTECONTRACTPROPOSAL"].fields_by_name["contract"]._loaded_options = None + _globals["_EXECUTECONTRACTPROPOSAL"].fields_by_name[ + "contract" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_EXECUTECONTRACTPROPOSAL"].fields_by_name["msg"]._loaded_options = None + _globals["_EXECUTECONTRACTPROPOSAL"].fields_by_name[ + "msg" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_EXECUTECONTRACTPROPOSAL"].fields_by_name["funds"]._loaded_options = None + _globals["_EXECUTECONTRACTPROPOSAL"].fields_by_name[ + "funds" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_EXECUTECONTRACTPROPOSAL"]._loaded_options = None + _globals["_EXECUTECONTRACTPROPOSAL"]._serialized_options = ( + b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/ExecuteContractProposal" + ) + _globals["_UPDATEADMINPROPOSAL"].fields_by_name["new_admin"]._loaded_options = None + _globals["_UPDATEADMINPROPOSAL"].fields_by_name[ + "new_admin" + ]._serialized_options = b'\362\336\037\020yaml:"new_admin"\322\264-\024cosmos.AddressString' + _globals["_UPDATEADMINPROPOSAL"].fields_by_name["contract"]._loaded_options = None + _globals["_UPDATEADMINPROPOSAL"].fields_by_name[ + "contract" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_UPDATEADMINPROPOSAL"]._loaded_options = None + _globals["_UPDATEADMINPROPOSAL"]._serialized_options = ( + b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\030wasm/UpdateAdminProposal" + ) + _globals["_CLEARADMINPROPOSAL"].fields_by_name["contract"]._loaded_options = None + _globals["_CLEARADMINPROPOSAL"].fields_by_name[ + "contract" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_CLEARADMINPROPOSAL"]._loaded_options = None + _globals["_CLEARADMINPROPOSAL"]._serialized_options = ( + b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/ClearAdminProposal" + ) + _globals["_PINCODESPROPOSAL"].fields_by_name["code_ids"]._loaded_options = None + _globals["_PINCODESPROPOSAL"].fields_by_name[ + "code_ids" + ]._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:"code_ids"' + _globals["_PINCODESPROPOSAL"]._loaded_options = None + _globals["_PINCODESPROPOSAL"]._serialized_options = ( + b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025wasm/PinCodesProposal" + ) + _globals["_UNPINCODESPROPOSAL"].fields_by_name["code_ids"]._loaded_options = None + _globals["_UNPINCODESPROPOSAL"].fields_by_name[ + "code_ids" + ]._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:"code_ids"' + _globals["_UNPINCODESPROPOSAL"]._loaded_options = None + _globals["_UNPINCODESPROPOSAL"]._serialized_options = ( + b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/UnpinCodesProposal" + ) + _globals["_ACCESSCONFIGUPDATE"].fields_by_name["code_id"]._loaded_options = None + _globals["_ACCESSCONFIGUPDATE"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" + _globals["_ACCESSCONFIGUPDATE"].fields_by_name["instantiate_permission"]._loaded_options = None + _globals["_ACCESSCONFIGUPDATE"].fields_by_name[ + "instantiate_permission" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"].fields_by_name["title"]._loaded_options = None + _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"].fields_by_name[ + "title" + ]._serialized_options = b'\362\336\037\014yaml:"title"' + _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"].fields_by_name["description"]._loaded_options = None + _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"].fields_by_name[ + "description" + ]._serialized_options = b'\362\336\037\022yaml:"description"' + _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"].fields_by_name["access_config_updates"]._loaded_options = None + _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"].fields_by_name[ + "access_config_updates" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"]._loaded_options = None + _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"]._serialized_options = ( + b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$wasm/UpdateInstantiateConfigProposal" + ) + _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"].fields_by_name["run_as"]._loaded_options = None + _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"].fields_by_name[ + "run_as" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"].fields_by_name["wasm_byte_code"]._loaded_options = None + _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"].fields_by_name[ + "wasm_byte_code" + ]._serialized_options = b"\342\336\037\014WASMByteCode" + _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"].fields_by_name["msg"]._loaded_options = None + _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"].fields_by_name[ + "msg" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"].fields_by_name["funds"]._loaded_options = None + _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"].fields_by_name[ + "funds" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"]._loaded_options = None + _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"]._serialized_options = ( + b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(wasm/StoreAndInstantiateContractProposal" + ) + _globals["_STORECODEPROPOSAL"]._serialized_start = 191 + _globals["_STORECODEPROPOSAL"]._serialized_end = 641 + _globals["_INSTANTIATECONTRACTPROPOSAL"]._serialized_start = 644 + _globals["_INSTANTIATECONTRACTPROPOSAL"]._serialized_end = 1135 + _globals["_INSTANTIATECONTRACT2PROPOSAL"]._serialized_start = 1138 + _globals["_INSTANTIATECONTRACT2PROPOSAL"]._serialized_end = 1676 + _globals["_MIGRATECONTRACTPROPOSAL"]._serialized_start = 1679 + _globals["_MIGRATECONTRACTPROPOSAL"]._serialized_end = 1976 + _globals["_SUDOCONTRACTPROPOSAL"]._serialized_start = 1979 + _globals["_SUDOCONTRACTPROPOSAL"]._serialized_end = 2233 + _globals["_EXECUTECONTRACTPROPOSAL"]._serialized_start = 2236 + _globals["_EXECUTECONTRACTPROPOSAL"]._serialized_end = 2666 + _globals["_UPDATEADMINPROPOSAL"]._serialized_start = 2669 + _globals["_UPDATEADMINPROPOSAL"]._serialized_end = 2938 + _globals["_CLEARADMINPROPOSAL"]._serialized_start = 2941 + _globals["_CLEARADMINPROPOSAL"]._serialized_end = 3133 + _globals["_PINCODESPROPOSAL"]._serialized_start = 3136 + _globals["_PINCODESPROPOSAL"]._serialized_end = 3329 + _globals["_UNPINCODESPROPOSAL"]._serialized_start = 3332 + _globals["_UNPINCODESPROPOSAL"]._serialized_end = 3529 + _globals["_ACCESSCONFIGUPDATE"]._serialized_start = 3532 + _globals["_ACCESSCONFIGUPDATE"]._serialized_end = 3687 + _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"]._serialized_start = 3690 + _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"]._serialized_end = 3997 + _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"]._serialized_start = 4000 + _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"]._serialized_end = 4697 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/cosmwasm/wasm/v1/query_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py index 6defc46e..7c7fc22a 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,149 +16,219 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/query.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\"N\n\x18QueryContractInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"\xad\x01\n\x19QueryContractInfoResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12V\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*\x01R\x0c\x63ontractInfo:\x04\xe8\xa0\x1f\x01\"\x99\x01\n\x1bQueryContractHistoryRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb8\x01\n\x1cQueryContractHistoryResponse\x12O\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"~\n\x1bQueryContractsByCodeRequest\x12\x17\n\x07\x63ode_id\x18\x01 \x01(\x04R\x06\x63odeId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x9f\x01\n\x1cQueryContractsByCodeResponse\x12\x36\n\tcontracts\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tcontracts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x9a\x01\n\x1cQueryAllContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa4\x01\n\x1dQueryAllContractStateResponse\x12:\n\x06models\x18\x01 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06models\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"q\n\x1cQueryRawContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x1d\n\nquery_data\x18\x02 \x01(\x0cR\tqueryData\"3\n\x1dQueryRawContractStateResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\x9b\x01\n\x1eQuerySmartContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x45\n\nquery_data\x18\x02 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\tqueryData\"]\n\x1fQuerySmartContractStateResponse\x12:\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x04\x64\x61ta\"+\n\x10QueryCodeRequest\x12\x17\n\x07\x63ode_id\x18\x01 \x01(\x04R\x06\x63odeId\"\xb8\x02\n\x10\x43odeInfoResponse\x12)\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\x10\xe2\xde\x1f\x06\x43odeID\xea\xde\x1f\x02idR\x06\x63odeId\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12Q\n\tdata_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x08\x64\x61taHash\x12`\n\x16instantiate_permission\x18\x06 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15instantiatePermission:\x04\xe8\xa0\x1f\x01J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"\x82\x01\n\x11QueryCodeResponse\x12I\n\tcode_info\x18\x01 \x01(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\x08\xd0\xde\x1f\x01\xea\xde\x1f\x00R\x08\x63odeInfo\x12\x1c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61taR\x04\x64\x61ta:\x04\xe8\xa0\x1f\x01\"[\n\x11QueryCodesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xab\x01\n\x12QueryCodesResponse\x12L\n\ncode_infos\x18\x01 \x03(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tcodeInfos\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"a\n\x17QueryPinnedCodesRequest\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x8b\x01\n\x18QueryPinnedCodesResponse\x12&\n\x08\x63ode_ids\x18\x01 \x03(\x04\x42\x0b\xe2\xde\x1f\x07\x43odeIDsR\x07\x63odeIds\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x14\n\x12QueryParamsRequest\"R\n\x13QueryParamsResponse\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"\xab\x01\n\x1eQueryContractsByCreatorRequest\x12\x41\n\x0f\x63reator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x63reatorAddress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb3\x01\n\x1fQueryContractsByCreatorResponse\x12G\n\x12\x63ontract_addresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x11\x63ontractAddresses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xab\x01\n\x18QueryBuildAddressRequest\x12\x1b\n\tcode_hash\x18\x01 \x01(\tR\x08\x63odeHash\x12\x41\n\x0f\x63reator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x63reatorAddress\x12\x12\n\x04salt\x18\x03 \x01(\tR\x04salt\x12\x1b\n\tinit_args\x18\x04 \x01(\x0cR\x08initArgs\"O\n\x19QueryBuildAddressResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress2\xdf\x0e\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}\x12\x99\x01\n\x0c\x42uildAddress\x12*.cosmwasm.wasm.v1.QueryBuildAddressRequest\x1a+.cosmwasm.wasm.v1.QueryBuildAddressResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmwasm/wasm/v1/contract/build_addressB\xb4\x01\n\x14\x63om.cosmwasm.wasm.v1B\nQueryProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\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"N\n\x18QueryContractInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress"\xad\x01\n\x19QueryContractInfoResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12V\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*\x01R\x0c\x63ontractInfo:\x04\xe8\xa0\x1f\x01"\x99\x01\n\x1bQueryContractHistoryRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xb8\x01\n\x1cQueryContractHistoryResponse\x12O\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"~\n\x1bQueryContractsByCodeRequest\x12\x17\n\x07\x63ode_id\x18\x01 \x01(\x04R\x06\x63odeId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x9f\x01\n\x1cQueryContractsByCodeResponse\x12\x36\n\tcontracts\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tcontracts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x9a\x01\n\x1cQueryAllContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xa4\x01\n\x1dQueryAllContractStateResponse\x12:\n\x06models\x18\x01 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06models\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"q\n\x1cQueryRawContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x1d\n\nquery_data\x18\x02 \x01(\x0cR\tqueryData"3\n\x1dQueryRawContractStateResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta"\x9b\x01\n\x1eQuerySmartContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x45\n\nquery_data\x18\x02 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\tqueryData"]\n\x1fQuerySmartContractStateResponse\x12:\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x04\x64\x61ta"+\n\x10QueryCodeRequest\x12\x17\n\x07\x63ode_id\x18\x01 \x01(\x04R\x06\x63odeId"\xb8\x02\n\x10\x43odeInfoResponse\x12)\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\x10\xe2\xde\x1f\x06\x43odeID\xea\xde\x1f\x02idR\x06\x63odeId\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12Q\n\tdata_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x08\x64\x61taHash\x12`\n\x16instantiate_permission\x18\x06 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15instantiatePermission:\x04\xe8\xa0\x1f\x01J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06"\x82\x01\n\x11QueryCodeResponse\x12I\n\tcode_info\x18\x01 \x01(\x0b\x32".cosmwasm.wasm.v1.CodeInfoResponseB\x08\xd0\xde\x1f\x01\xea\xde\x1f\x00R\x08\x63odeInfo\x12\x1c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61taR\x04\x64\x61ta:\x04\xe8\xa0\x1f\x01"[\n\x11QueryCodesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xab\x01\n\x12QueryCodesResponse\x12L\n\ncode_infos\x18\x01 \x03(\x0b\x32".cosmwasm.wasm.v1.CodeInfoResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tcodeInfos\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"a\n\x17QueryPinnedCodesRequest\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x8b\x01\n\x18QueryPinnedCodesResponse\x12&\n\x08\x63ode_ids\x18\x01 \x03(\x04\x42\x0b\xe2\xde\x1f\x07\x43odeIDsR\x07\x63odeIds\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x14\n\x12QueryParamsRequest"R\n\x13QueryParamsResponse\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params"\xab\x01\n\x1eQueryContractsByCreatorRequest\x12\x41\n\x0f\x63reator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x63reatorAddress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xb3\x01\n\x1fQueryContractsByCreatorResponse\x12G\n\x12\x63ontract_addresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x11\x63ontractAddresses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xab\x01\n\x18QueryBuildAddressRequest\x12\x1b\n\tcode_hash\x18\x01 \x01(\tR\x08\x63odeHash\x12\x41\n\x0f\x63reator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x63reatorAddress\x12\x12\n\x04salt\x18\x03 \x01(\tR\x04salt\x12\x1b\n\tinit_args\x18\x04 \x01(\x0cR\x08initArgs"O\n\x19QueryBuildAddressResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress2\xdf\x0e\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}\x12\x99\x01\n\x0c\x42uildAddress\x12*.cosmwasm.wasm.v1.QueryBuildAddressRequest\x1a+.cosmwasm.wasm.v1.QueryBuildAddressResponse"0\x82\xd3\xe4\x93\x02*\x12(/cosmwasm/wasm/v1/contract/build_addressB\xb4\x01\n\x14\x63om.cosmwasm.wasm.v1B\nQueryProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\xa8\xe2\x1e\x00\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmwasm.wasm.v1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\nQueryProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\250\342\036\000' - _globals['_QUERYCONTRACTINFOREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYCONTRACTINFOREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYCONTRACTINFORESPONSE'].fields_by_name['address']._loaded_options = None - _globals['_QUERYCONTRACTINFORESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYCONTRACTINFORESPONSE'].fields_by_name['contract_info']._loaded_options = None - _globals['_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' - _globals['_QUERYCONTRACTINFORESPONSE']._loaded_options = None - _globals['_QUERYCONTRACTINFORESPONSE']._serialized_options = b'\350\240\037\001' - _globals['_QUERYCONTRACTHISTORYREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYCONTRACTHISTORYREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYCONTRACTHISTORYRESPONSE'].fields_by_name['entries']._loaded_options = None - _globals['_QUERYCONTRACTHISTORYRESPONSE'].fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYCONTRACTSBYCODERESPONSE'].fields_by_name['contracts']._loaded_options = None - _globals['_QUERYCONTRACTSBYCODERESPONSE'].fields_by_name['contracts']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYALLCONTRACTSTATEREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYALLCONTRACTSTATEREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYALLCONTRACTSTATERESPONSE'].fields_by_name['models']._loaded_options = None - _globals['_QUERYALLCONTRACTSTATERESPONSE'].fields_by_name['models']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYRAWCONTRACTSTATEREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYRAWCONTRACTSTATEREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYSMARTCONTRACTSTATEREQUEST'].fields_by_name['address']._loaded_options = None - _globals['_QUERYSMARTCONTRACTSTATEREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYSMARTCONTRACTSTATEREQUEST'].fields_by_name['query_data']._loaded_options = None - _globals['_QUERYSMARTCONTRACTSTATEREQUEST'].fields_by_name['query_data']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_QUERYSMARTCONTRACTSTATERESPONSE'].fields_by_name['data']._loaded_options = None - _globals['_QUERYSMARTCONTRACTSTATERESPONSE'].fields_by_name['data']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_CODEINFORESPONSE'].fields_by_name['code_id']._loaded_options = None - _globals['_CODEINFORESPONSE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID\352\336\037\002id' - _globals['_CODEINFORESPONSE'].fields_by_name['creator']._loaded_options = None - _globals['_CODEINFORESPONSE'].fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_CODEINFORESPONSE'].fields_by_name['data_hash']._loaded_options = None - _globals['_CODEINFORESPONSE'].fields_by_name['data_hash']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' - _globals['_CODEINFORESPONSE'].fields_by_name['instantiate_permission']._loaded_options = None - _globals['_CODEINFORESPONSE'].fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CODEINFORESPONSE']._loaded_options = None - _globals['_CODEINFORESPONSE']._serialized_options = b'\350\240\037\001' - _globals['_QUERYCODERESPONSE'].fields_by_name['code_info']._loaded_options = None - _globals['_QUERYCODERESPONSE'].fields_by_name['code_info']._serialized_options = b'\320\336\037\001\352\336\037\000' - _globals['_QUERYCODERESPONSE'].fields_by_name['data']._loaded_options = None - _globals['_QUERYCODERESPONSE'].fields_by_name['data']._serialized_options = b'\352\336\037\004data' - _globals['_QUERYCODERESPONSE']._loaded_options = None - _globals['_QUERYCODERESPONSE']._serialized_options = b'\350\240\037\001' - _globals['_QUERYCODESRESPONSE'].fields_by_name['code_infos']._loaded_options = None - _globals['_QUERYCODESRESPONSE'].fields_by_name['code_infos']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYPINNEDCODESRESPONSE'].fields_by_name['code_ids']._loaded_options = None - _globals['_QUERYPINNEDCODESRESPONSE'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_QUERYCONTRACTSBYCREATORREQUEST'].fields_by_name['creator_address']._loaded_options = None - _globals['_QUERYCONTRACTSBYCREATORREQUEST'].fields_by_name['creator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYCONTRACTSBYCREATORRESPONSE'].fields_by_name['contract_addresses']._loaded_options = None - _globals['_QUERYCONTRACTSBYCREATORRESPONSE'].fields_by_name['contract_addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYBUILDADDRESSREQUEST'].fields_by_name['creator_address']._loaded_options = None - _globals['_QUERYBUILDADDRESSREQUEST'].fields_by_name['creator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERYBUILDADDRESSRESPONSE'].fields_by_name['address']._loaded_options = None - _globals['_QUERYBUILDADDRESSRESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_QUERY'].methods_by_name['ContractInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['ContractInfo']._serialized_options = b'\202\323\344\223\002&\022$/cosmwasm/wasm/v1/contract/{address}' - _globals['_QUERY'].methods_by_name['ContractHistory']._loaded_options = None - _globals['_QUERY'].methods_by_name['ContractHistory']._serialized_options = b'\202\323\344\223\002.\022,/cosmwasm/wasm/v1/contract/{address}/history' - _globals['_QUERY'].methods_by_name['ContractsByCode']._loaded_options = None - _globals['_QUERY'].methods_by_name['ContractsByCode']._serialized_options = b'\202\323\344\223\002,\022*/cosmwasm/wasm/v1/code/{code_id}/contracts' - _globals['_QUERY'].methods_by_name['AllContractState']._loaded_options = None - _globals['_QUERY'].methods_by_name['AllContractState']._serialized_options = b'\202\323\344\223\002,\022*/cosmwasm/wasm/v1/contract/{address}/state' - _globals['_QUERY'].methods_by_name['RawContractState']._loaded_options = None - _globals['_QUERY'].methods_by_name['RawContractState']._serialized_options = b'\202\323\344\223\0027\0225/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}' - _globals['_QUERY'].methods_by_name['SmartContractState']._loaded_options = None - _globals['_QUERY'].methods_by_name['SmartContractState']._serialized_options = b'\202\323\344\223\0029\0227/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}' - _globals['_QUERY'].methods_by_name['Code']._loaded_options = None - _globals['_QUERY'].methods_by_name['Code']._serialized_options = b'\202\323\344\223\002\"\022 /cosmwasm/wasm/v1/code/{code_id}' - _globals['_QUERY'].methods_by_name['Codes']._loaded_options = None - _globals['_QUERY'].methods_by_name['Codes']._serialized_options = b'\202\323\344\223\002\030\022\026/cosmwasm/wasm/v1/code' - _globals['_QUERY'].methods_by_name['PinnedCodes']._loaded_options = None - _globals['_QUERY'].methods_by_name['PinnedCodes']._serialized_options = b'\202\323\344\223\002 \022\036/cosmwasm/wasm/v1/codes/pinned' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002 \022\036/cosmwasm/wasm/v1/codes/params' - _globals['_QUERY'].methods_by_name['ContractsByCreator']._loaded_options = None - _globals['_QUERY'].methods_by_name['ContractsByCreator']._serialized_options = b'\202\323\344\223\0027\0225/cosmwasm/wasm/v1/contracts/creator/{creator_address}' - _globals['_QUERY'].methods_by_name['BuildAddress']._loaded_options = None - _globals['_QUERY'].methods_by_name['BuildAddress']._serialized_options = b'\202\323\344\223\002*\022(/cosmwasm/wasm/v1/contract/build_address' - _globals['_QUERYCONTRACTINFOREQUEST']._serialized_start=222 - _globals['_QUERYCONTRACTINFOREQUEST']._serialized_end=300 - _globals['_QUERYCONTRACTINFORESPONSE']._serialized_start=303 - _globals['_QUERYCONTRACTINFORESPONSE']._serialized_end=476 - _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_start=479 - _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_end=632 - _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_start=635 - _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_end=819 - _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_start=821 - _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_end=947 - _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_start=950 - _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_end=1109 - _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_start=1112 - _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_end=1266 - _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_start=1269 - _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_end=1433 - _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_start=1435 - _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_end=1548 - _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_start=1550 - _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_end=1601 - _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_start=1604 - _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_end=1759 - _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_start=1761 - _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_end=1854 - _globals['_QUERYCODEREQUEST']._serialized_start=1856 - _globals['_QUERYCODEREQUEST']._serialized_end=1899 - _globals['_CODEINFORESPONSE']._serialized_start=1902 - _globals['_CODEINFORESPONSE']._serialized_end=2214 - _globals['_QUERYCODERESPONSE']._serialized_start=2217 - _globals['_QUERYCODERESPONSE']._serialized_end=2347 - _globals['_QUERYCODESREQUEST']._serialized_start=2349 - _globals['_QUERYCODESREQUEST']._serialized_end=2440 - _globals['_QUERYCODESRESPONSE']._serialized_start=2443 - _globals['_QUERYCODESRESPONSE']._serialized_end=2614 - _globals['_QUERYPINNEDCODESREQUEST']._serialized_start=2616 - _globals['_QUERYPINNEDCODESREQUEST']._serialized_end=2713 - _globals['_QUERYPINNEDCODESRESPONSE']._serialized_start=2716 - _globals['_QUERYPINNEDCODESRESPONSE']._serialized_end=2855 - _globals['_QUERYPARAMSREQUEST']._serialized_start=2857 - _globals['_QUERYPARAMSREQUEST']._serialized_end=2877 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=2879 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=2961 - _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_start=2964 - _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_end=3135 - _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_start=3138 - _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_end=3317 - _globals['_QUERYBUILDADDRESSREQUEST']._serialized_start=3320 - _globals['_QUERYBUILDADDRESSREQUEST']._serialized_end=3491 - _globals['_QUERYBUILDADDRESSRESPONSE']._serialized_start=3493 - _globals['_QUERYBUILDADDRESSRESPONSE']._serialized_end=3572 - _globals['_QUERY']._serialized_start=3575 - _globals['_QUERY']._serialized_end=5462 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\024com.cosmwasm.wasm.v1B\nQueryProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\250\342\036\000" + ) + _globals["_QUERYCONTRACTINFOREQUEST"].fields_by_name["address"]._loaded_options = None + _globals["_QUERYCONTRACTINFOREQUEST"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYCONTRACTINFORESPONSE"].fields_by_name["address"]._loaded_options = None + _globals["_QUERYCONTRACTINFORESPONSE"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYCONTRACTINFORESPONSE"].fields_by_name["contract_info"]._loaded_options = None + _globals["_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" + _globals["_QUERYCONTRACTINFORESPONSE"]._loaded_options = None + _globals["_QUERYCONTRACTINFORESPONSE"]._serialized_options = b"\350\240\037\001" + _globals["_QUERYCONTRACTHISTORYREQUEST"].fields_by_name["address"]._loaded_options = None + _globals["_QUERYCONTRACTHISTORYREQUEST"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYCONTRACTHISTORYRESPONSE"].fields_by_name["entries"]._loaded_options = None + _globals["_QUERYCONTRACTHISTORYRESPONSE"].fields_by_name[ + "entries" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYCONTRACTSBYCODERESPONSE"].fields_by_name["contracts"]._loaded_options = None + _globals["_QUERYCONTRACTSBYCODERESPONSE"].fields_by_name[ + "contracts" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYALLCONTRACTSTATEREQUEST"].fields_by_name["address"]._loaded_options = None + _globals["_QUERYALLCONTRACTSTATEREQUEST"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYALLCONTRACTSTATERESPONSE"].fields_by_name["models"]._loaded_options = None + _globals["_QUERYALLCONTRACTSTATERESPONSE"].fields_by_name[ + "models" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYRAWCONTRACTSTATEREQUEST"].fields_by_name["address"]._loaded_options = None + _globals["_QUERYRAWCONTRACTSTATEREQUEST"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYSMARTCONTRACTSTATEREQUEST"].fields_by_name["address"]._loaded_options = None + _globals["_QUERYSMARTCONTRACTSTATEREQUEST"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYSMARTCONTRACTSTATEREQUEST"].fields_by_name["query_data"]._loaded_options = None + _globals["_QUERYSMARTCONTRACTSTATEREQUEST"].fields_by_name[ + "query_data" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_QUERYSMARTCONTRACTSTATERESPONSE"].fields_by_name["data"]._loaded_options = None + _globals["_QUERYSMARTCONTRACTSTATERESPONSE"].fields_by_name[ + "data" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_CODEINFORESPONSE"].fields_by_name["code_id"]._loaded_options = None + _globals["_CODEINFORESPONSE"].fields_by_name[ + "code_id" + ]._serialized_options = b"\342\336\037\006CodeID\352\336\037\002id" + _globals["_CODEINFORESPONSE"].fields_by_name["creator"]._loaded_options = None + _globals["_CODEINFORESPONSE"].fields_by_name["creator"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_CODEINFORESPONSE"].fields_by_name["data_hash"]._loaded_options = None + _globals["_CODEINFORESPONSE"].fields_by_name[ + "data_hash" + ]._serialized_options = b"\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes" + _globals["_CODEINFORESPONSE"].fields_by_name["instantiate_permission"]._loaded_options = None + _globals["_CODEINFORESPONSE"].fields_by_name[ + "instantiate_permission" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_CODEINFORESPONSE"]._loaded_options = None + _globals["_CODEINFORESPONSE"]._serialized_options = b"\350\240\037\001" + _globals["_QUERYCODERESPONSE"].fields_by_name["code_info"]._loaded_options = None + _globals["_QUERYCODERESPONSE"].fields_by_name["code_info"]._serialized_options = b"\320\336\037\001\352\336\037\000" + _globals["_QUERYCODERESPONSE"].fields_by_name["data"]._loaded_options = None + _globals["_QUERYCODERESPONSE"].fields_by_name["data"]._serialized_options = b"\352\336\037\004data" + _globals["_QUERYCODERESPONSE"]._loaded_options = None + _globals["_QUERYCODERESPONSE"]._serialized_options = b"\350\240\037\001" + _globals["_QUERYCODESRESPONSE"].fields_by_name["code_infos"]._loaded_options = None + _globals["_QUERYCODESRESPONSE"].fields_by_name[ + "code_infos" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYPINNEDCODESRESPONSE"].fields_by_name["code_ids"]._loaded_options = None + _globals["_QUERYPINNEDCODESRESPONSE"].fields_by_name["code_ids"]._serialized_options = b"\342\336\037\007CodeIDs" + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_QUERYCONTRACTSBYCREATORREQUEST"].fields_by_name["creator_address"]._loaded_options = None + _globals["_QUERYCONTRACTSBYCREATORREQUEST"].fields_by_name[ + "creator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYCONTRACTSBYCREATORRESPONSE"].fields_by_name["contract_addresses"]._loaded_options = None + _globals["_QUERYCONTRACTSBYCREATORRESPONSE"].fields_by_name[ + "contract_addresses" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYBUILDADDRESSREQUEST"].fields_by_name["creator_address"]._loaded_options = None + _globals["_QUERYBUILDADDRESSREQUEST"].fields_by_name[ + "creator_address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERYBUILDADDRESSRESPONSE"].fields_by_name["address"]._loaded_options = None + _globals["_QUERYBUILDADDRESSRESPONSE"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_QUERY"].methods_by_name["ContractInfo"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ContractInfo" + ]._serialized_options = b"\202\323\344\223\002&\022$/cosmwasm/wasm/v1/contract/{address}" + _globals["_QUERY"].methods_by_name["ContractHistory"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ContractHistory" + ]._serialized_options = b"\202\323\344\223\002.\022,/cosmwasm/wasm/v1/contract/{address}/history" + _globals["_QUERY"].methods_by_name["ContractsByCode"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ContractsByCode" + ]._serialized_options = b"\202\323\344\223\002,\022*/cosmwasm/wasm/v1/code/{code_id}/contracts" + _globals["_QUERY"].methods_by_name["AllContractState"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AllContractState" + ]._serialized_options = b"\202\323\344\223\002,\022*/cosmwasm/wasm/v1/contract/{address}/state" + _globals["_QUERY"].methods_by_name["RawContractState"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "RawContractState" + ]._serialized_options = b"\202\323\344\223\0027\0225/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}" + _globals["_QUERY"].methods_by_name["SmartContractState"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "SmartContractState" + ]._serialized_options = b"\202\323\344\223\0029\0227/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}" + _globals["_QUERY"].methods_by_name["Code"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Code" + ]._serialized_options = b'\202\323\344\223\002"\022 /cosmwasm/wasm/v1/code/{code_id}' + _globals["_QUERY"].methods_by_name["Codes"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Codes" + ]._serialized_options = b"\202\323\344\223\002\030\022\026/cosmwasm/wasm/v1/code" + _globals["_QUERY"].methods_by_name["PinnedCodes"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "PinnedCodes" + ]._serialized_options = b"\202\323\344\223\002 \022\036/cosmwasm/wasm/v1/codes/pinned" + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\202\323\344\223\002 \022\036/cosmwasm/wasm/v1/codes/params" + _globals["_QUERY"].methods_by_name["ContractsByCreator"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ContractsByCreator" + ]._serialized_options = b"\202\323\344\223\0027\0225/cosmwasm/wasm/v1/contracts/creator/{creator_address}" + _globals["_QUERY"].methods_by_name["BuildAddress"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "BuildAddress" + ]._serialized_options = b"\202\323\344\223\002*\022(/cosmwasm/wasm/v1/contract/build_address" + _globals["_QUERYCONTRACTINFOREQUEST"]._serialized_start = 222 + _globals["_QUERYCONTRACTINFOREQUEST"]._serialized_end = 300 + _globals["_QUERYCONTRACTINFORESPONSE"]._serialized_start = 303 + _globals["_QUERYCONTRACTINFORESPONSE"]._serialized_end = 476 + _globals["_QUERYCONTRACTHISTORYREQUEST"]._serialized_start = 479 + _globals["_QUERYCONTRACTHISTORYREQUEST"]._serialized_end = 632 + _globals["_QUERYCONTRACTHISTORYRESPONSE"]._serialized_start = 635 + _globals["_QUERYCONTRACTHISTORYRESPONSE"]._serialized_end = 819 + _globals["_QUERYCONTRACTSBYCODEREQUEST"]._serialized_start = 821 + _globals["_QUERYCONTRACTSBYCODEREQUEST"]._serialized_end = 947 + _globals["_QUERYCONTRACTSBYCODERESPONSE"]._serialized_start = 950 + _globals["_QUERYCONTRACTSBYCODERESPONSE"]._serialized_end = 1109 + _globals["_QUERYALLCONTRACTSTATEREQUEST"]._serialized_start = 1112 + _globals["_QUERYALLCONTRACTSTATEREQUEST"]._serialized_end = 1266 + _globals["_QUERYALLCONTRACTSTATERESPONSE"]._serialized_start = 1269 + _globals["_QUERYALLCONTRACTSTATERESPONSE"]._serialized_end = 1433 + _globals["_QUERYRAWCONTRACTSTATEREQUEST"]._serialized_start = 1435 + _globals["_QUERYRAWCONTRACTSTATEREQUEST"]._serialized_end = 1548 + _globals["_QUERYRAWCONTRACTSTATERESPONSE"]._serialized_start = 1550 + _globals["_QUERYRAWCONTRACTSTATERESPONSE"]._serialized_end = 1601 + _globals["_QUERYSMARTCONTRACTSTATEREQUEST"]._serialized_start = 1604 + _globals["_QUERYSMARTCONTRACTSTATEREQUEST"]._serialized_end = 1759 + _globals["_QUERYSMARTCONTRACTSTATERESPONSE"]._serialized_start = 1761 + _globals["_QUERYSMARTCONTRACTSTATERESPONSE"]._serialized_end = 1854 + _globals["_QUERYCODEREQUEST"]._serialized_start = 1856 + _globals["_QUERYCODEREQUEST"]._serialized_end = 1899 + _globals["_CODEINFORESPONSE"]._serialized_start = 1902 + _globals["_CODEINFORESPONSE"]._serialized_end = 2214 + _globals["_QUERYCODERESPONSE"]._serialized_start = 2217 + _globals["_QUERYCODERESPONSE"]._serialized_end = 2347 + _globals["_QUERYCODESREQUEST"]._serialized_start = 2349 + _globals["_QUERYCODESREQUEST"]._serialized_end = 2440 + _globals["_QUERYCODESRESPONSE"]._serialized_start = 2443 + _globals["_QUERYCODESRESPONSE"]._serialized_end = 2614 + _globals["_QUERYPINNEDCODESREQUEST"]._serialized_start = 2616 + _globals["_QUERYPINNEDCODESREQUEST"]._serialized_end = 2713 + _globals["_QUERYPINNEDCODESRESPONSE"]._serialized_start = 2716 + _globals["_QUERYPINNEDCODESRESPONSE"]._serialized_end = 2855 + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 2857 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 2877 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 2879 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 2961 + _globals["_QUERYCONTRACTSBYCREATORREQUEST"]._serialized_start = 2964 + _globals["_QUERYCONTRACTSBYCREATORREQUEST"]._serialized_end = 3135 + _globals["_QUERYCONTRACTSBYCREATORRESPONSE"]._serialized_start = 3138 + _globals["_QUERYCONTRACTSBYCREATORRESPONSE"]._serialized_end = 3317 + _globals["_QUERYBUILDADDRESSREQUEST"]._serialized_start = 3320 + _globals["_QUERYBUILDADDRESSREQUEST"]._serialized_end = 3491 + _globals["_QUERYBUILDADDRESSRESPONSE"]._serialized_start = 3493 + _globals["_QUERYBUILDADDRESSRESPONSE"]._serialized_end = 3572 + _globals["_QUERY"]._serialized_start = 3575 + _globals["_QUERY"]._serialized_end = 5462 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2_grpc.py index ed773a07..45ad1c31 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query provides defines the gRPC querier service - """ + """Query provides defines the gRPC querier service""" def __init__(self, channel): """Constructor. @@ -16,245 +15,244 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.ContractInfo = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/ContractInfo', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Query/ContractInfo", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoResponse.FromString, + _registered_method=True, + ) self.ContractHistory = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/ContractHistory', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Query/ContractHistory", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryResponse.FromString, + _registered_method=True, + ) self.ContractsByCode = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/ContractsByCode', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Query/ContractsByCode", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeResponse.FromString, + _registered_method=True, + ) self.AllContractState = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/AllContractState', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Query/AllContractState", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateResponse.FromString, + _registered_method=True, + ) self.RawContractState = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/RawContractState', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Query/RawContractState", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateResponse.FromString, + _registered_method=True, + ) self.SmartContractState = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/SmartContractState', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Query/SmartContractState", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateResponse.FromString, + _registered_method=True, + ) self.Code = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/Code', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Query/Code", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeResponse.FromString, + _registered_method=True, + ) self.Codes = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/Codes', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Query/Codes", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.FromString, + _registered_method=True, + ) self.PinnedCodes = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/PinnedCodes', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Query/PinnedCodes", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesResponse.FromString, + _registered_method=True, + ) self.Params = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/Params', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Query/Params", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) self.ContractsByCreator = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/ContractsByCreator', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Query/ContractsByCreator", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.FromString, + _registered_method=True, + ) self.BuildAddress = channel.unary_unary( - '/cosmwasm.wasm.v1.Query/BuildAddress', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Query/BuildAddress", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query provides defines the gRPC querier service - """ + """Query provides defines the gRPC querier service""" def ContractInfo(self, request, context): - """ContractInfo gets the contract meta data - """ + """ContractInfo gets the contract meta data""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ContractHistory(self, request, context): - """ContractHistory gets the contract code history - """ + """ContractHistory gets the contract code history""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ContractsByCode(self, request, context): - """ContractsByCode lists all smart contracts for a code id - """ + """ContractsByCode lists all smart contracts for a code id""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AllContractState(self, request, context): - """AllContractState gets all raw store data for a single contract - """ + """AllContractState gets all raw store data for a single contract""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RawContractState(self, request, context): - """RawContractState gets single key from the raw store data of a contract - """ + """RawContractState gets single key from the raw store data of a contract""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SmartContractState(self, request, context): - """SmartContractState get smart query result from the contract - """ + """SmartContractState get smart query result from the contract""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Code(self, request, context): - """Code gets the binary code and metadata for a singe wasm code - """ + """Code gets the binary code and metadata for a singe wasm code""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Codes(self, request, context): - """Codes gets the metadata for all stored wasm codes - """ + """Codes gets the metadata for all stored wasm codes""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PinnedCodes(self, request, context): - """PinnedCodes gets the pinned code ids - """ + """PinnedCodes gets the pinned code ids""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Params(self, request, context): - """Params gets the module params - """ + """Params gets the module params""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ContractsByCreator(self, request, context): - """ContractsByCreator gets the contracts by creator - """ + """ContractsByCreator gets the contracts by creator""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def BuildAddress(self, request, context): - """BuildAddress builds a contract address - """ + """BuildAddress builds a contract address""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'ContractInfo': grpc.unary_unary_rpc_method_handler( - servicer.ContractInfo, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoResponse.SerializeToString, - ), - 'ContractHistory': grpc.unary_unary_rpc_method_handler( - servicer.ContractHistory, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryResponse.SerializeToString, - ), - 'ContractsByCode': grpc.unary_unary_rpc_method_handler( - servicer.ContractsByCode, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeResponse.SerializeToString, - ), - 'AllContractState': grpc.unary_unary_rpc_method_handler( - servicer.AllContractState, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateResponse.SerializeToString, - ), - 'RawContractState': grpc.unary_unary_rpc_method_handler( - servicer.RawContractState, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateResponse.SerializeToString, - ), - 'SmartContractState': grpc.unary_unary_rpc_method_handler( - servicer.SmartContractState, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateResponse.SerializeToString, - ), - 'Code': grpc.unary_unary_rpc_method_handler( - servicer.Code, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeResponse.SerializeToString, - ), - 'Codes': grpc.unary_unary_rpc_method_handler( - servicer.Codes, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.SerializeToString, - ), - 'PinnedCodes': grpc.unary_unary_rpc_method_handler( - servicer.PinnedCodes, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesResponse.SerializeToString, - ), - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'ContractsByCreator': grpc.unary_unary_rpc_method_handler( - servicer.ContractsByCreator, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.SerializeToString, - ), - 'BuildAddress': grpc.unary_unary_rpc_method_handler( - servicer.BuildAddress, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressResponse.SerializeToString, - ), + "ContractInfo": grpc.unary_unary_rpc_method_handler( + servicer.ContractInfo, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoResponse.SerializeToString, + ), + "ContractHistory": grpc.unary_unary_rpc_method_handler( + servicer.ContractHistory, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryResponse.SerializeToString, + ), + "ContractsByCode": grpc.unary_unary_rpc_method_handler( + servicer.ContractsByCode, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeResponse.SerializeToString, + ), + "AllContractState": grpc.unary_unary_rpc_method_handler( + servicer.AllContractState, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateResponse.SerializeToString, + ), + "RawContractState": grpc.unary_unary_rpc_method_handler( + servicer.RawContractState, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateResponse.SerializeToString, + ), + "SmartContractState": grpc.unary_unary_rpc_method_handler( + servicer.SmartContractState, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateResponse.SerializeToString, + ), + "Code": grpc.unary_unary_rpc_method_handler( + servicer.Code, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeResponse.SerializeToString, + ), + "Codes": grpc.unary_unary_rpc_method_handler( + servicer.Codes, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.SerializeToString, + ), + "PinnedCodes": grpc.unary_unary_rpc_method_handler( + servicer.PinnedCodes, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesResponse.SerializeToString, + ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + "ContractsByCreator": grpc.unary_unary_rpc_method_handler( + servicer.ContractsByCreator, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.SerializeToString, + ), + "BuildAddress": grpc.unary_unary_rpc_method_handler( + servicer.BuildAddress, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmwasm.wasm.v1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmwasm.wasm.v1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmwasm.wasm.v1.Query', rpc_method_handlers) + server.add_registered_method_handlers("cosmwasm.wasm.v1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query provides defines the gRPC querier service - """ + """Query provides defines the gRPC querier service""" @staticmethod - def ContractInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ContractInfo( + 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.Query/ContractInfo', + "/cosmwasm.wasm.v1.Query/ContractInfo", cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoResponse.FromString, options, @@ -265,23 +263,26 @@ def ContractInfo(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ContractHistory(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ContractHistory( + 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.Query/ContractHistory', + "/cosmwasm.wasm.v1.Query/ContractHistory", cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryResponse.FromString, options, @@ -292,23 +293,26 @@ def ContractHistory(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ContractsByCode(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ContractsByCode( + 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.Query/ContractsByCode', + "/cosmwasm.wasm.v1.Query/ContractsByCode", cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeResponse.FromString, options, @@ -319,23 +323,26 @@ def ContractsByCode(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def AllContractState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AllContractState( + 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.Query/AllContractState', + "/cosmwasm.wasm.v1.Query/AllContractState", cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateResponse.FromString, options, @@ -346,23 +353,26 @@ def AllContractState(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RawContractState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RawContractState( + 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.Query/RawContractState', + "/cosmwasm.wasm.v1.Query/RawContractState", cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateResponse.FromString, options, @@ -373,23 +383,26 @@ def RawContractState(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SmartContractState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SmartContractState( + 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.Query/SmartContractState', + "/cosmwasm.wasm.v1.Query/SmartContractState", cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateResponse.FromString, options, @@ -400,23 +413,26 @@ def SmartContractState(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Code(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Code( + 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.Query/Code', + "/cosmwasm.wasm.v1.Query/Code", cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeResponse.FromString, options, @@ -427,23 +443,26 @@ def Code(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Codes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Codes( + 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.Query/Codes', + "/cosmwasm.wasm.v1.Query/Codes", cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.FromString, options, @@ -454,23 +473,26 @@ def Codes(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PinnedCodes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PinnedCodes( + 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.Query/PinnedCodes', + "/cosmwasm.wasm.v1.Query/PinnedCodes", cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesResponse.FromString, options, @@ -481,23 +503,26 @@ def PinnedCodes(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + 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.Query/Params', + "/cosmwasm.wasm.v1.Query/Params", cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -508,23 +533,26 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ContractsByCreator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ContractsByCreator( + 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.Query/ContractsByCreator', + "/cosmwasm.wasm.v1.Query/ContractsByCreator", cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.FromString, options, @@ -535,23 +563,26 @@ def ContractsByCreator(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def BuildAddress(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def BuildAddress( + 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.Query/BuildAddress', + "/cosmwasm.wasm.v1.Query/BuildAddress", cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressResponse.FromString, options, @@ -562,4 +593,5 @@ def BuildAddress(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py index 96079c0b..ea98bf6c 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -20,228 +21,322 @@ from pyinjective.proto.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\"\xfe\x01\n\x0cMsgStoreCode\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x36\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"W\n\x14MsgStoreCodeResponse\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x1a\n\x08\x63hecksum\x18\x02 \x01(\x0cR\x08\x63hecksum\"\x95\x03\n\x16MsgInstantiateContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"h\n\x1eMsgInstantiateContractResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\"\xc4\x03\n\x17MsgInstantiateContract2\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x12\n\x04salt\x18\x07 \x01(\x0cR\x04salt\x12\x17\n\x07\x66ix_msg\x18\x08 \x01(\x08R\x06\x66ixMsg:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"i\n\x1fMsgInstantiateContract2Response\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\"\xd8\x02\n\x12MsgExecuteContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x03 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"0\n\x1aMsgExecuteContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\x84\x02\n\x12MsgMigrateContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"0\n\x1aMsgMigrateContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\xd4\x01\n\x0eMsgUpdateAdmin\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x35\n\tnew_admin\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"\x9b\x01\n\rMsgClearAdmin\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"\x82\x02\n\x1aMsgUpdateInstantiateConfig\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12#\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\\\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x18newInstantiatePermission:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\xaf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12;\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xe2\x01\n\x0fMsgSudoContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x03 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"-\n\x17MsgSudoContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\xa5\x01\n\x0bMsgPinCodes\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x39\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"R\x07\x63odeIds:#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\xa9\x01\n\rMsgUnpinCodes\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x39\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"R\x07\x63odeIds:%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\x86\x05\n\x1eMsgStoreAndInstantiateContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x36\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x05 \x01(\x08R\tunpinCode\x12.\n\x05\x61\x64min\x18\x06 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x14\n\x05label\x18\x07 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x08 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x16\n\x06source\x18\n \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\x0b \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\x0c \x01(\x0cR\x08\x63odeHash:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"p\n&MsgStoreAndInstantiateContractResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\"\xc6\x01\n\x1fMsgAddCodeUploadParamsAddresses\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x32\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"R\taddresses:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$wasm/MsgAddCodeUploadParamsAddresses\")\n\'MsgAddCodeUploadParamsAddressesResponse\"\xcc\x01\n\"MsgRemoveCodeUploadParamsAddresses\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x32\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"R\taddresses::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'wasm/MsgRemoveCodeUploadParamsAddresses\",\n*MsgRemoveCodeUploadParamsAddressesResponse\"\xed\x02\n\x1aMsgStoreAndMigrateContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x36\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1a\n\x08\x63ontract\x18\x04 \x01(\tR\x08\x63ontract\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:2\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1fwasm/MsgStoreAndMigrateContract\"y\n\"MsgStoreAndMigrateContractResponse\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x1a\n\x08\x63hecksum\x18\x02 \x01(\x0cR\x08\x63hecksum\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\"\xca\x01\n\x16MsgUpdateContractLabel\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x1b\n\tnew_label\x18\x02 \x01(\tR\x08newLabel\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:+\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\xad\x01\n\x14\x63om.cosmwasm.wasm.v1B\x07TxProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\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"\xfe\x01\n\x0cMsgStoreCode\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x36\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05"W\n\x14MsgStoreCodeResponse\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x1a\n\x08\x63hecksum\x18\x02 \x01(\x0cR\x08\x63hecksum"\x95\x03\n\x16MsgInstantiateContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract"h\n\x1eMsgInstantiateContractResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta"\xc4\x03\n\x17MsgInstantiateContract2\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x12\n\x04salt\x18\x07 \x01(\x0cR\x04salt\x12\x17\n\x07\x66ix_msg\x18\x08 \x01(\x08R\x06\x66ixMsg:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2"i\n\x1fMsgInstantiateContract2Response\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta"\xd8\x02\n\x12MsgExecuteContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x03 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract"0\n\x1aMsgExecuteContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta"\x84\x02\n\x12MsgMigrateContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract"0\n\x1aMsgMigrateContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta"\xd4\x01\n\x0eMsgUpdateAdmin\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x35\n\tnew_admin\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin"\x18\n\x16MsgUpdateAdminResponse"\x9b\x01\n\rMsgClearAdmin\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin"\x17\n\x15MsgClearAdminResponse"\x82\x02\n\x1aMsgUpdateInstantiateConfig\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12#\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\\\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x18newInstantiatePermission:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig"$\n"MsgUpdateInstantiateConfigResponse"\xaf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12;\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse"\xe2\x01\n\x0fMsgSudoContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x03 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract"-\n\x17MsgSudoContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta"\xa5\x01\n\x0bMsgPinCodes\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x39\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:"code_ids"R\x07\x63odeIds:#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes"\x15\n\x13MsgPinCodesResponse"\xa9\x01\n\rMsgUnpinCodes\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x39\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:"code_ids"R\x07\x63odeIds:%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes"\x17\n\x15MsgUnpinCodesResponse"\x86\x05\n\x1eMsgStoreAndInstantiateContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x36\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x05 \x01(\x08R\tunpinCode\x12.\n\x05\x61\x64min\x18\x06 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x14\n\x05label\x18\x07 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x08 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x16\n\x06source\x18\n \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\x0b \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\x0c \x01(\x0cR\x08\x63odeHash:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract"p\n&MsgStoreAndInstantiateContractResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta"\xc6\x01\n\x1fMsgAddCodeUploadParamsAddresses\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x32\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:"addresses"R\taddresses:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$wasm/MsgAddCodeUploadParamsAddresses")\n\'MsgAddCodeUploadParamsAddressesResponse"\xcc\x01\n"MsgRemoveCodeUploadParamsAddresses\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x32\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:"addresses"R\taddresses::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'wasm/MsgRemoveCodeUploadParamsAddresses",\n*MsgRemoveCodeUploadParamsAddressesResponse"\xed\x02\n\x1aMsgStoreAndMigrateContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x36\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1a\n\x08\x63ontract\x18\x04 \x01(\tR\x08\x63ontract\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:2\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1fwasm/MsgStoreAndMigrateContract"y\n"MsgStoreAndMigrateContractResponse\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x1a\n\x08\x63hecksum\x18\x02 \x01(\x0cR\x08\x63hecksum\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta"\xca\x01\n\x16MsgUpdateContractLabel\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x1b\n\tnew_label\x18\x02 \x01(\tR\x08newLabel\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:+\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\xad\x01\n\x14\x63om.cosmwasm.wasm.v1B\x07TxProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmwasm.wasm.v1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\007TxProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000' - _globals['_MSGSTORECODE'].fields_by_name['sender']._loaded_options = None - _globals['_MSGSTORECODE'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSTORECODE'].fields_by_name['wasm_byte_code']._loaded_options = None - _globals['_MSGSTORECODE'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _globals['_MSGSTORECODE']._loaded_options = None - _globals['_MSGSTORECODE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\021wasm/MsgStoreCode' - _globals['_MSGSTORECODERESPONSE'].fields_by_name['code_id']._loaded_options = None - _globals['_MSGSTORECODERESPONSE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['sender']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['admin']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['code_id']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['msg']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['funds']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGINSTANTIATECONTRACT']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgInstantiateContract' - _globals['_MSGINSTANTIATECONTRACTRESPONSE'].fields_by_name['address']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACTRESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['sender']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['admin']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['code_id']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['msg']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['funds']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGINSTANTIATECONTRACT2']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT2']._serialized_options = b'\202\347\260*\006sender\212\347\260*\034wasm/MsgInstantiateContract2' - _globals['_MSGINSTANTIATECONTRACT2RESPONSE'].fields_by_name['address']._loaded_options = None - _globals['_MSGINSTANTIATECONTRACT2RESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGEXECUTECONTRACT'].fields_by_name['sender']._loaded_options = None - _globals['_MSGEXECUTECONTRACT'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGEXECUTECONTRACT'].fields_by_name['contract']._loaded_options = None - _globals['_MSGEXECUTECONTRACT'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGEXECUTECONTRACT'].fields_by_name['msg']._loaded_options = None - _globals['_MSGEXECUTECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MSGEXECUTECONTRACT'].fields_by_name['funds']._loaded_options = None - _globals['_MSGEXECUTECONTRACT'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGEXECUTECONTRACT']._loaded_options = None - _globals['_MSGEXECUTECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasm/MsgExecuteContract' - _globals['_MSGMIGRATECONTRACT'].fields_by_name['sender']._loaded_options = None - _globals['_MSGMIGRATECONTRACT'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGMIGRATECONTRACT'].fields_by_name['contract']._loaded_options = None - _globals['_MSGMIGRATECONTRACT'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGMIGRATECONTRACT'].fields_by_name['code_id']._loaded_options = None - _globals['_MSGMIGRATECONTRACT'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_MSGMIGRATECONTRACT'].fields_by_name['msg']._loaded_options = None - _globals['_MSGMIGRATECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MSGMIGRATECONTRACT']._loaded_options = None - _globals['_MSGMIGRATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasm/MsgMigrateContract' - _globals['_MSGUPDATEADMIN'].fields_by_name['sender']._loaded_options = None - _globals['_MSGUPDATEADMIN'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEADMIN'].fields_by_name['new_admin']._loaded_options = None - _globals['_MSGUPDATEADMIN'].fields_by_name['new_admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEADMIN'].fields_by_name['contract']._loaded_options = None - _globals['_MSGUPDATEADMIN'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEADMIN']._loaded_options = None - _globals['_MSGUPDATEADMIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\023wasm/MsgUpdateAdmin' - _globals['_MSGCLEARADMIN'].fields_by_name['sender']._loaded_options = None - _globals['_MSGCLEARADMIN'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCLEARADMIN'].fields_by_name['contract']._loaded_options = None - _globals['_MSGCLEARADMIN'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGCLEARADMIN']._loaded_options = None - _globals['_MSGCLEARADMIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\022wasm/MsgClearAdmin' - _globals['_MSGUPDATEINSTANTIATECONFIG'].fields_by_name['sender']._loaded_options = None - _globals['_MSGUPDATEINSTANTIATECONFIG'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEINSTANTIATECONFIG'].fields_by_name['code_id']._loaded_options = None - _globals['_MSGUPDATEINSTANTIATECONFIG'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_MSGUPDATEINSTANTIATECONFIG']._loaded_options = None - _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_options = b'\202\347\260*\006sender\212\347\260*\037wasm/MsgUpdateInstantiateConfig' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\024wasm/MsgUpdateParams' - _globals['_MSGSUDOCONTRACT'].fields_by_name['authority']._loaded_options = None - _globals['_MSGSUDOCONTRACT'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSUDOCONTRACT'].fields_by_name['contract']._loaded_options = None - _globals['_MSGSUDOCONTRACT'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSUDOCONTRACT'].fields_by_name['msg']._loaded_options = None - _globals['_MSGSUDOCONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MSGSUDOCONTRACT']._loaded_options = None - _globals['_MSGSUDOCONTRACT']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\024wasm/MsgSudoContract' - _globals['_MSGPINCODES'].fields_by_name['authority']._loaded_options = None - _globals['_MSGPINCODES'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGPINCODES'].fields_by_name['code_ids']._loaded_options = None - _globals['_MSGPINCODES'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' - _globals['_MSGPINCODES']._loaded_options = None - _globals['_MSGPINCODES']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\020wasm/MsgPinCodes' - _globals['_MSGUNPINCODES'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUNPINCODES'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUNPINCODES'].fields_by_name['code_ids']._loaded_options = None - _globals['_MSGUNPINCODES'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' - _globals['_MSGUNPINCODES']._loaded_options = None - _globals['_MSGUNPINCODES']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\022wasm/MsgUnpinCodes' - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['authority']._loaded_options = None - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['wasm_byte_code']._loaded_options = None - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['admin']._loaded_options = None - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['msg']._loaded_options = None - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['funds']._loaded_options = None - _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' - _globals['_MSGSTOREANDINSTANTIATECONTRACT']._loaded_options = None - _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_options = b'\202\347\260*\tauthority\212\347\260*#wasm/MsgStoreAndInstantiateContract' - _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE'].fields_by_name['address']._loaded_options = None - _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES'].fields_by_name['authority']._loaded_options = None - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES'].fields_by_name['addresses']._loaded_options = None - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES'].fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._loaded_options = None - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_options = b'\202\347\260*\tauthority\212\347\260*$wasm/MsgAddCodeUploadParamsAddresses' - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES'].fields_by_name['authority']._loaded_options = None - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES'].fields_by_name['addresses']._loaded_options = None - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES'].fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._loaded_options = None - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\'wasm/MsgRemoveCodeUploadParamsAddresses' - _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['authority']._loaded_options = None - _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['wasm_byte_code']._loaded_options = None - _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['msg']._loaded_options = None - _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MSGSTOREANDMIGRATECONTRACT']._loaded_options = None - _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\037wasm/MsgStoreAndMigrateContract' - _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE'].fields_by_name['code_id']._loaded_options = None - _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_MSGUPDATECONTRACTLABEL'].fields_by_name['sender']._loaded_options = None - _globals['_MSGUPDATECONTRACTLABEL'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATECONTRACTLABEL'].fields_by_name['contract']._loaded_options = None - _globals['_MSGUPDATECONTRACTLABEL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATECONTRACTLABEL']._loaded_options = None - _globals['_MSGUPDATECONTRACTLABEL']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgUpdateContractLabel' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGSTORECODE']._serialized_start=203 - _globals['_MSGSTORECODE']._serialized_end=457 - _globals['_MSGSTORECODERESPONSE']._serialized_start=459 - _globals['_MSGSTORECODERESPONSE']._serialized_end=546 - _globals['_MSGINSTANTIATECONTRACT']._serialized_start=549 - _globals['_MSGINSTANTIATECONTRACT']._serialized_end=954 - _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_start=956 - _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_end=1060 - _globals['_MSGINSTANTIATECONTRACT2']._serialized_start=1063 - _globals['_MSGINSTANTIATECONTRACT2']._serialized_end=1515 - _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_start=1517 - _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_end=1622 - _globals['_MSGEXECUTECONTRACT']._serialized_start=1625 - _globals['_MSGEXECUTECONTRACT']._serialized_end=1969 - _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_start=1971 - _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_end=2019 - _globals['_MSGMIGRATECONTRACT']._serialized_start=2022 - _globals['_MSGMIGRATECONTRACT']._serialized_end=2282 - _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_start=2284 - _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_end=2332 - _globals['_MSGUPDATEADMIN']._serialized_start=2335 - _globals['_MSGUPDATEADMIN']._serialized_end=2547 - _globals['_MSGUPDATEADMINRESPONSE']._serialized_start=2549 - _globals['_MSGUPDATEADMINRESPONSE']._serialized_end=2573 - _globals['_MSGCLEARADMIN']._serialized_start=2576 - _globals['_MSGCLEARADMIN']._serialized_end=2731 - _globals['_MSGCLEARADMINRESPONSE']._serialized_start=2733 - _globals['_MSGCLEARADMINRESPONSE']._serialized_end=2756 - _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_start=2759 - _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_end=3017 - _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_start=3019 - _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_end=3055 - _globals['_MSGUPDATEPARAMS']._serialized_start=3058 - _globals['_MSGUPDATEPARAMS']._serialized_end=3233 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=3235 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=3260 - _globals['_MSGSUDOCONTRACT']._serialized_start=3263 - _globals['_MSGSUDOCONTRACT']._serialized_end=3489 - _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_start=3491 - _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_end=3536 - _globals['_MSGPINCODES']._serialized_start=3539 - _globals['_MSGPINCODES']._serialized_end=3704 - _globals['_MSGPINCODESRESPONSE']._serialized_start=3706 - _globals['_MSGPINCODESRESPONSE']._serialized_end=3727 - _globals['_MSGUNPINCODES']._serialized_start=3730 - _globals['_MSGUNPINCODES']._serialized_end=3899 - _globals['_MSGUNPINCODESRESPONSE']._serialized_start=3901 - _globals['_MSGUNPINCODESRESPONSE']._serialized_end=3924 - _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_start=3927 - _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_end=4573 - _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_start=4575 - _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_end=4687 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_start=4690 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_end=4888 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=4890 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=4931 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_start=4934 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_end=5138 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=5140 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=5184 - _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_start=5187 - _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_end=5552 - _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_start=5554 - _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_end=5675 - _globals['_MSGUPDATECONTRACTLABEL']._serialized_start=5678 - _globals['_MSGUPDATECONTRACTLABEL']._serialized_end=5880 - _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_start=5882 - _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_end=5914 - _globals['_MSG']._serialized_start=5917 - _globals['_MSG']._serialized_end=7794 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\024com.cosmwasm.wasm.v1B\007TxProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000" + ) + _globals["_MSGSTORECODE"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGSTORECODE"].fields_by_name["sender"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSTORECODE"].fields_by_name["wasm_byte_code"]._loaded_options = None + _globals["_MSGSTORECODE"].fields_by_name["wasm_byte_code"]._serialized_options = b"\342\336\037\014WASMByteCode" + _globals["_MSGSTORECODE"]._loaded_options = None + _globals["_MSGSTORECODE"]._serialized_options = b"\202\347\260*\006sender\212\347\260*\021wasm/MsgStoreCode" + _globals["_MSGSTORECODERESPONSE"].fields_by_name["code_id"]._loaded_options = None + _globals["_MSGSTORECODERESPONSE"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" + _globals["_MSGINSTANTIATECONTRACT"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGINSTANTIATECONTRACT"].fields_by_name[ + "sender" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGINSTANTIATECONTRACT"].fields_by_name["admin"]._loaded_options = None + _globals["_MSGINSTANTIATECONTRACT"].fields_by_name[ + "admin" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGINSTANTIATECONTRACT"].fields_by_name["code_id"]._loaded_options = None + _globals["_MSGINSTANTIATECONTRACT"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" + _globals["_MSGINSTANTIATECONTRACT"].fields_by_name["msg"]._loaded_options = None + _globals["_MSGINSTANTIATECONTRACT"].fields_by_name[ + "msg" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_MSGINSTANTIATECONTRACT"].fields_by_name["funds"]._loaded_options = None + _globals["_MSGINSTANTIATECONTRACT"].fields_by_name[ + "funds" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_MSGINSTANTIATECONTRACT"]._loaded_options = None + _globals["_MSGINSTANTIATECONTRACT"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\033wasm/MsgInstantiateContract" + ) + _globals["_MSGINSTANTIATECONTRACTRESPONSE"].fields_by_name["address"]._loaded_options = None + _globals["_MSGINSTANTIATECONTRACTRESPONSE"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name[ + "sender" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name["admin"]._loaded_options = None + _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name[ + "admin" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name["code_id"]._loaded_options = None + _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" + _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name["msg"]._loaded_options = None + _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name[ + "msg" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name["funds"]._loaded_options = None + _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name[ + "funds" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_MSGINSTANTIATECONTRACT2"]._loaded_options = None + _globals["_MSGINSTANTIATECONTRACT2"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\034wasm/MsgInstantiateContract2" + ) + _globals["_MSGINSTANTIATECONTRACT2RESPONSE"].fields_by_name["address"]._loaded_options = None + _globals["_MSGINSTANTIATECONTRACT2RESPONSE"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGEXECUTECONTRACT"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGEXECUTECONTRACT"].fields_by_name["sender"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGEXECUTECONTRACT"].fields_by_name["contract"]._loaded_options = None + _globals["_MSGEXECUTECONTRACT"].fields_by_name[ + "contract" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGEXECUTECONTRACT"].fields_by_name["msg"]._loaded_options = None + _globals["_MSGEXECUTECONTRACT"].fields_by_name[ + "msg" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_MSGEXECUTECONTRACT"].fields_by_name["funds"]._loaded_options = None + _globals["_MSGEXECUTECONTRACT"].fields_by_name[ + "funds" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_MSGEXECUTECONTRACT"]._loaded_options = None + _globals["_MSGEXECUTECONTRACT"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\027wasm/MsgExecuteContract" + ) + _globals["_MSGMIGRATECONTRACT"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGMIGRATECONTRACT"].fields_by_name["sender"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGMIGRATECONTRACT"].fields_by_name["contract"]._loaded_options = None + _globals["_MSGMIGRATECONTRACT"].fields_by_name[ + "contract" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGMIGRATECONTRACT"].fields_by_name["code_id"]._loaded_options = None + _globals["_MSGMIGRATECONTRACT"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" + _globals["_MSGMIGRATECONTRACT"].fields_by_name["msg"]._loaded_options = None + _globals["_MSGMIGRATECONTRACT"].fields_by_name[ + "msg" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_MSGMIGRATECONTRACT"]._loaded_options = None + _globals["_MSGMIGRATECONTRACT"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\027wasm/MsgMigrateContract" + ) + _globals["_MSGUPDATEADMIN"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGUPDATEADMIN"].fields_by_name["sender"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEADMIN"].fields_by_name["new_admin"]._loaded_options = None + _globals["_MSGUPDATEADMIN"].fields_by_name["new_admin"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEADMIN"].fields_by_name["contract"]._loaded_options = None + _globals["_MSGUPDATEADMIN"].fields_by_name["contract"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEADMIN"]._loaded_options = None + _globals["_MSGUPDATEADMIN"]._serialized_options = b"\202\347\260*\006sender\212\347\260*\023wasm/MsgUpdateAdmin" + _globals["_MSGCLEARADMIN"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGCLEARADMIN"].fields_by_name["sender"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGCLEARADMIN"].fields_by_name["contract"]._loaded_options = None + _globals["_MSGCLEARADMIN"].fields_by_name["contract"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGCLEARADMIN"]._loaded_options = None + _globals["_MSGCLEARADMIN"]._serialized_options = b"\202\347\260*\006sender\212\347\260*\022wasm/MsgClearAdmin" + _globals["_MSGUPDATEINSTANTIATECONFIG"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGUPDATEINSTANTIATECONFIG"].fields_by_name[ + "sender" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEINSTANTIATECONFIG"].fields_by_name["code_id"]._loaded_options = None + _globals["_MSGUPDATEINSTANTIATECONFIG"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" + _globals["_MSGUPDATEINSTANTIATECONFIG"]._loaded_options = None + _globals["_MSGUPDATEINSTANTIATECONFIG"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\037wasm/MsgUpdateInstantiateConfig" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = b"\202\347\260*\tauthority\212\347\260*\024wasm/MsgUpdateParams" + _globals["_MSGSUDOCONTRACT"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGSUDOCONTRACT"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSUDOCONTRACT"].fields_by_name["contract"]._loaded_options = None + _globals["_MSGSUDOCONTRACT"].fields_by_name["contract"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSUDOCONTRACT"].fields_by_name["msg"]._loaded_options = None + _globals["_MSGSUDOCONTRACT"].fields_by_name[ + "msg" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_MSGSUDOCONTRACT"]._loaded_options = None + _globals["_MSGSUDOCONTRACT"]._serialized_options = b"\202\347\260*\tauthority\212\347\260*\024wasm/MsgSudoContract" + _globals["_MSGPINCODES"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGPINCODES"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGPINCODES"].fields_by_name["code_ids"]._loaded_options = None + _globals["_MSGPINCODES"].fields_by_name[ + "code_ids" + ]._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:"code_ids"' + _globals["_MSGPINCODES"]._loaded_options = None + _globals["_MSGPINCODES"]._serialized_options = b"\202\347\260*\tauthority\212\347\260*\020wasm/MsgPinCodes" + _globals["_MSGUNPINCODES"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUNPINCODES"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUNPINCODES"].fields_by_name["code_ids"]._loaded_options = None + _globals["_MSGUNPINCODES"].fields_by_name[ + "code_ids" + ]._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:"code_ids"' + _globals["_MSGUNPINCODES"]._loaded_options = None + _globals["_MSGUNPINCODES"]._serialized_options = b"\202\347\260*\tauthority\212\347\260*\022wasm/MsgUnpinCodes" + _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name[ + "authority" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name["wasm_byte_code"]._loaded_options = None + _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name[ + "wasm_byte_code" + ]._serialized_options = b"\342\336\037\014WASMByteCode" + _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name["admin"]._loaded_options = None + _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name[ + "admin" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name["msg"]._loaded_options = None + _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name[ + "msg" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name["funds"]._loaded_options = None + _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name[ + "funds" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" + _globals["_MSGSTOREANDINSTANTIATECONTRACT"]._loaded_options = None + _globals["_MSGSTOREANDINSTANTIATECONTRACT"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*#wasm/MsgStoreAndInstantiateContract" + ) + _globals["_MSGSTOREANDINSTANTIATECONTRACTRESPONSE"].fields_by_name["address"]._loaded_options = None + _globals["_MSGSTOREANDINSTANTIATECONTRACTRESPONSE"].fields_by_name[ + "address" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGADDCODEUPLOADPARAMSADDRESSES"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGADDCODEUPLOADPARAMSADDRESSES"].fields_by_name[ + "authority" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGADDCODEUPLOADPARAMSADDRESSES"].fields_by_name["addresses"]._loaded_options = None + _globals["_MSGADDCODEUPLOADPARAMSADDRESSES"].fields_by_name[ + "addresses" + ]._serialized_options = b'\362\336\037\020yaml:"addresses"' + _globals["_MSGADDCODEUPLOADPARAMSADDRESSES"]._loaded_options = None + _globals["_MSGADDCODEUPLOADPARAMSADDRESSES"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*$wasm/MsgAddCodeUploadParamsAddresses" + ) + _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSES"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSES"].fields_by_name[ + "authority" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSES"].fields_by_name["addresses"]._loaded_options = None + _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSES"].fields_by_name[ + "addresses" + ]._serialized_options = b'\362\336\037\020yaml:"addresses"' + _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSES"]._loaded_options = None + _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSES"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*'wasm/MsgRemoveCodeUploadParamsAddresses" + ) + _globals["_MSGSTOREANDMIGRATECONTRACT"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGSTOREANDMIGRATECONTRACT"].fields_by_name[ + "authority" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGSTOREANDMIGRATECONTRACT"].fields_by_name["wasm_byte_code"]._loaded_options = None + _globals["_MSGSTOREANDMIGRATECONTRACT"].fields_by_name[ + "wasm_byte_code" + ]._serialized_options = b"\342\336\037\014WASMByteCode" + _globals["_MSGSTOREANDMIGRATECONTRACT"].fields_by_name["msg"]._loaded_options = None + _globals["_MSGSTOREANDMIGRATECONTRACT"].fields_by_name[ + "msg" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_MSGSTOREANDMIGRATECONTRACT"]._loaded_options = None + _globals["_MSGSTOREANDMIGRATECONTRACT"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*\037wasm/MsgStoreAndMigrateContract" + ) + _globals["_MSGSTOREANDMIGRATECONTRACTRESPONSE"].fields_by_name["code_id"]._loaded_options = None + _globals["_MSGSTOREANDMIGRATECONTRACTRESPONSE"].fields_by_name[ + "code_id" + ]._serialized_options = b"\342\336\037\006CodeID" + _globals["_MSGUPDATECONTRACTLABEL"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGUPDATECONTRACTLABEL"].fields_by_name[ + "sender" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATECONTRACTLABEL"].fields_by_name["contract"]._loaded_options = None + _globals["_MSGUPDATECONTRACTLABEL"].fields_by_name[ + "contract" + ]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATECONTRACTLABEL"]._loaded_options = None + _globals["_MSGUPDATECONTRACTLABEL"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\033wasm/MsgUpdateContractLabel" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGSTORECODE"]._serialized_start = 203 + _globals["_MSGSTORECODE"]._serialized_end = 457 + _globals["_MSGSTORECODERESPONSE"]._serialized_start = 459 + _globals["_MSGSTORECODERESPONSE"]._serialized_end = 546 + _globals["_MSGINSTANTIATECONTRACT"]._serialized_start = 549 + _globals["_MSGINSTANTIATECONTRACT"]._serialized_end = 954 + _globals["_MSGINSTANTIATECONTRACTRESPONSE"]._serialized_start = 956 + _globals["_MSGINSTANTIATECONTRACTRESPONSE"]._serialized_end = 1060 + _globals["_MSGINSTANTIATECONTRACT2"]._serialized_start = 1063 + _globals["_MSGINSTANTIATECONTRACT2"]._serialized_end = 1515 + _globals["_MSGINSTANTIATECONTRACT2RESPONSE"]._serialized_start = 1517 + _globals["_MSGINSTANTIATECONTRACT2RESPONSE"]._serialized_end = 1622 + _globals["_MSGEXECUTECONTRACT"]._serialized_start = 1625 + _globals["_MSGEXECUTECONTRACT"]._serialized_end = 1969 + _globals["_MSGEXECUTECONTRACTRESPONSE"]._serialized_start = 1971 + _globals["_MSGEXECUTECONTRACTRESPONSE"]._serialized_end = 2019 + _globals["_MSGMIGRATECONTRACT"]._serialized_start = 2022 + _globals["_MSGMIGRATECONTRACT"]._serialized_end = 2282 + _globals["_MSGMIGRATECONTRACTRESPONSE"]._serialized_start = 2284 + _globals["_MSGMIGRATECONTRACTRESPONSE"]._serialized_end = 2332 + _globals["_MSGUPDATEADMIN"]._serialized_start = 2335 + _globals["_MSGUPDATEADMIN"]._serialized_end = 2547 + _globals["_MSGUPDATEADMINRESPONSE"]._serialized_start = 2549 + _globals["_MSGUPDATEADMINRESPONSE"]._serialized_end = 2573 + _globals["_MSGCLEARADMIN"]._serialized_start = 2576 + _globals["_MSGCLEARADMIN"]._serialized_end = 2731 + _globals["_MSGCLEARADMINRESPONSE"]._serialized_start = 2733 + _globals["_MSGCLEARADMINRESPONSE"]._serialized_end = 2756 + _globals["_MSGUPDATEINSTANTIATECONFIG"]._serialized_start = 2759 + _globals["_MSGUPDATEINSTANTIATECONFIG"]._serialized_end = 3017 + _globals["_MSGUPDATEINSTANTIATECONFIGRESPONSE"]._serialized_start = 3019 + _globals["_MSGUPDATEINSTANTIATECONFIGRESPONSE"]._serialized_end = 3055 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 3058 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 3233 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 3235 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 3260 + _globals["_MSGSUDOCONTRACT"]._serialized_start = 3263 + _globals["_MSGSUDOCONTRACT"]._serialized_end = 3489 + _globals["_MSGSUDOCONTRACTRESPONSE"]._serialized_start = 3491 + _globals["_MSGSUDOCONTRACTRESPONSE"]._serialized_end = 3536 + _globals["_MSGPINCODES"]._serialized_start = 3539 + _globals["_MSGPINCODES"]._serialized_end = 3704 + _globals["_MSGPINCODESRESPONSE"]._serialized_start = 3706 + _globals["_MSGPINCODESRESPONSE"]._serialized_end = 3727 + _globals["_MSGUNPINCODES"]._serialized_start = 3730 + _globals["_MSGUNPINCODES"]._serialized_end = 3899 + _globals["_MSGUNPINCODESRESPONSE"]._serialized_start = 3901 + _globals["_MSGUNPINCODESRESPONSE"]._serialized_end = 3924 + _globals["_MSGSTOREANDINSTANTIATECONTRACT"]._serialized_start = 3927 + _globals["_MSGSTOREANDINSTANTIATECONTRACT"]._serialized_end = 4573 + _globals["_MSGSTOREANDINSTANTIATECONTRACTRESPONSE"]._serialized_start = 4575 + _globals["_MSGSTOREANDINSTANTIATECONTRACTRESPONSE"]._serialized_end = 4687 + _globals["_MSGADDCODEUPLOADPARAMSADDRESSES"]._serialized_start = 4690 + _globals["_MSGADDCODEUPLOADPARAMSADDRESSES"]._serialized_end = 4888 + _globals["_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE"]._serialized_start = 4890 + _globals["_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE"]._serialized_end = 4931 + _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSES"]._serialized_start = 4934 + _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSES"]._serialized_end = 5138 + _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE"]._serialized_start = 5140 + _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE"]._serialized_end = 5184 + _globals["_MSGSTOREANDMIGRATECONTRACT"]._serialized_start = 5187 + _globals["_MSGSTOREANDMIGRATECONTRACT"]._serialized_end = 5552 + _globals["_MSGSTOREANDMIGRATECONTRACTRESPONSE"]._serialized_start = 5554 + _globals["_MSGSTOREANDMIGRATECONTRACTRESPONSE"]._serialized_end = 5675 + _globals["_MSGUPDATECONTRACTLABEL"]._serialized_start = 5678 + _globals["_MSGUPDATECONTRACTLABEL"]._serialized_end = 5880 + _globals["_MSGUPDATECONTRACTLABELRESPONSE"]._serialized_start = 5882 + _globals["_MSGUPDATECONTRACTLABELRESPONSE"]._serialized_end = 5914 + _globals["_MSG"]._serialized_start = 5917 + _globals["_MSG"]._serialized_end = 7794 # @@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 7dbc1734..20c46417 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the wasm Msg service. - """ + """Msg defines the wasm Msg service.""" def __init__(self, channel): """Constructor. @@ -16,153 +15,163 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.StoreCode = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/StoreCode', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCode.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCodeResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Msg/StoreCode", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCode.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCodeResponse.FromString, + _registered_method=True, + ) self.InstantiateContract = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/InstantiateContract', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContractResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Msg/InstantiateContract", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContractResponse.FromString, + _registered_method=True, + ) self.InstantiateContract2 = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/InstantiateContract2', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2Response.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Msg/InstantiateContract2", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2Response.FromString, + _registered_method=True, + ) self.ExecuteContract = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/ExecuteContract', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContractResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Msg/ExecuteContract", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContractResponse.FromString, + _registered_method=True, + ) self.MigrateContract = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/MigrateContract', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContractResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Msg/MigrateContract", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContractResponse.FromString, + _registered_method=True, + ) self.UpdateAdmin = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/UpdateAdmin', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdmin.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdminResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Msg/UpdateAdmin", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdmin.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdminResponse.FromString, + _registered_method=True, + ) self.ClearAdmin = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/ClearAdmin', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdmin.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdminResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Msg/ClearAdmin", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdmin.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdminResponse.FromString, + _registered_method=True, + ) self.UpdateInstantiateConfig = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/UpdateInstantiateConfig', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfig.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfigResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Msg/UpdateInstantiateConfig", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfig.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfigResponse.FromString, + _registered_method=True, + ) self.UpdateParams = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/UpdateParams', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Msg/UpdateParams", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) self.SudoContract = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/SudoContract', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContractResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Msg/SudoContract", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContractResponse.FromString, + _registered_method=True, + ) self.PinCodes = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/PinCodes', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodes.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodesResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Msg/PinCodes", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodes.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodesResponse.FromString, + _registered_method=True, + ) self.UnpinCodes = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/UnpinCodes', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodes.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodesResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Msg/UnpinCodes", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodes.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodesResponse.FromString, + _registered_method=True, + ) self.StoreAndInstantiateContract = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/StoreAndInstantiateContract', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Msg/StoreAndInstantiateContract", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, + _registered_method=True, + ) self.RemoveCodeUploadParamsAddresses = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, + _registered_method=True, + ) self.AddCodeUploadParamsAddresses = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, - _registered_method=True) + "/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses", + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, + _registered_method=True, + ) 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, - _registered_method=True) + "/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, + _registered_method=True, + ) 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, - _registered_method=True) + "/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, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the wasm Msg service. - """ + """Msg defines the wasm Msg service.""" def StoreCode(self, request, context): - """StoreCode to submit Wasm code to the system - """ + """StoreCode to submit Wasm code to the system""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def InstantiateContract(self, request, context): """InstantiateContract creates a new smart contract instance for the given code id. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def InstantiateContract2(self, request, context): """InstantiateContract2 creates a new smart contract instance for the given code id with a predictable address """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ExecuteContract(self, request, context): - """Execute submits the given message data to a smart contract - """ + """Execute submits the given message data to a smart contract""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def MigrateContract(self, request, context): - """Migrate runs a code upgrade/ downgrade for a smart contract - """ + """Migrate runs a code upgrade/ downgrade for a smart contract""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + 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!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ClearAdmin(self, request, context): - """ClearAdmin removes any admin stored for a smart contract - """ + """ClearAdmin removes any admin stored for a smart contract""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateInstantiateConfig(self, request, context): - """UpdateInstantiateConfig updates instantiate config for a smart contract - """ + """UpdateInstantiateConfig updates instantiate config for a smart contract""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateParams(self, request, context): """UpdateParams defines a governance operation for updating the x/wasm @@ -171,8 +180,8 @@ def UpdateParams(self, request, context): Since: 0.40 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SudoContract(self, request, context): """SudoContract defines a governance operation for calling sudo @@ -181,8 +190,8 @@ def SudoContract(self, request, context): Since: 0.40 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PinCodes(self, request, context): """PinCodes defines a governance operation for pinning a set of @@ -191,8 +200,8 @@ def PinCodes(self, request, context): Since: 0.40 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UnpinCodes(self, request, context): """UnpinCodes defines a governance operation for unpinning a set of @@ -201,8 +210,8 @@ def UnpinCodes(self, request, context): Since: 0.40 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def StoreAndInstantiateContract(self, request, context): """StoreAndInstantiateContract defines a governance operation for storing @@ -211,8 +220,8 @@ def StoreAndInstantiateContract(self, request, context): Since: 0.40 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RemoveCodeUploadParamsAddresses(self, request, context): """RemoveCodeUploadParamsAddresses defines a governance operation for @@ -220,8 +229,8 @@ def RemoveCodeUploadParamsAddresses(self, request, context): The authority is defined in the keeper. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AddCodeUploadParamsAddresses(self, request, context): """AddCodeUploadParamsAddresses defines a governance operation for @@ -229,8 +238,8 @@ def AddCodeUploadParamsAddresses(self, request, context): The authority is defined in the keeper. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def StoreAndMigrateContract(self, request, context): """StoreAndMigrateContract defines a governance operation for storing @@ -239,8 +248,8 @@ def StoreAndMigrateContract(self, request, context): Since: 0.42 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + 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 @@ -248,124 +257,124 @@ def UpdateContractLabel(self, request, context): Since: 0.43 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'StoreCode': grpc.unary_unary_rpc_method_handler( - servicer.StoreCode, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCode.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCodeResponse.SerializeToString, - ), - 'InstantiateContract': grpc.unary_unary_rpc_method_handler( - servicer.InstantiateContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContractResponse.SerializeToString, - ), - 'InstantiateContract2': grpc.unary_unary_rpc_method_handler( - servicer.InstantiateContract2, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2Response.SerializeToString, - ), - 'ExecuteContract': grpc.unary_unary_rpc_method_handler( - servicer.ExecuteContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContractResponse.SerializeToString, - ), - 'MigrateContract': grpc.unary_unary_rpc_method_handler( - servicer.MigrateContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContractResponse.SerializeToString, - ), - 'UpdateAdmin': grpc.unary_unary_rpc_method_handler( - servicer.UpdateAdmin, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdmin.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdminResponse.SerializeToString, - ), - 'ClearAdmin': grpc.unary_unary_rpc_method_handler( - servicer.ClearAdmin, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdmin.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdminResponse.SerializeToString, - ), - 'UpdateInstantiateConfig': grpc.unary_unary_rpc_method_handler( - servicer.UpdateInstantiateConfig, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfig.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfigResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'SudoContract': grpc.unary_unary_rpc_method_handler( - servicer.SudoContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContractResponse.SerializeToString, - ), - 'PinCodes': grpc.unary_unary_rpc_method_handler( - servicer.PinCodes, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodes.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodesResponse.SerializeToString, - ), - 'UnpinCodes': grpc.unary_unary_rpc_method_handler( - servicer.UnpinCodes, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodes.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodesResponse.SerializeToString, - ), - 'StoreAndInstantiateContract': grpc.unary_unary_rpc_method_handler( - servicer.StoreAndInstantiateContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.SerializeToString, - ), - 'RemoveCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( - servicer.RemoveCodeUploadParamsAddresses, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.SerializeToString, - ), - 'AddCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( - servicer.AddCodeUploadParamsAddresses, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.SerializeToString, - ), - 'StoreAndMigrateContract': grpc.unary_unary_rpc_method_handler( - servicer.StoreAndMigrateContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.SerializeToString, - ), - 'UpdateContractLabel': grpc.unary_unary_rpc_method_handler( - servicer.UpdateContractLabel, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.SerializeToString, - ), + "StoreCode": grpc.unary_unary_rpc_method_handler( + servicer.StoreCode, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCode.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCodeResponse.SerializeToString, + ), + "InstantiateContract": grpc.unary_unary_rpc_method_handler( + servicer.InstantiateContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContractResponse.SerializeToString, + ), + "InstantiateContract2": grpc.unary_unary_rpc_method_handler( + servicer.InstantiateContract2, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2Response.SerializeToString, + ), + "ExecuteContract": grpc.unary_unary_rpc_method_handler( + servicer.ExecuteContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContractResponse.SerializeToString, + ), + "MigrateContract": grpc.unary_unary_rpc_method_handler( + servicer.MigrateContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContractResponse.SerializeToString, + ), + "UpdateAdmin": grpc.unary_unary_rpc_method_handler( + servicer.UpdateAdmin, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdmin.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdminResponse.SerializeToString, + ), + "ClearAdmin": grpc.unary_unary_rpc_method_handler( + servicer.ClearAdmin, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdmin.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdminResponse.SerializeToString, + ), + "UpdateInstantiateConfig": grpc.unary_unary_rpc_method_handler( + servicer.UpdateInstantiateConfig, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfig.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfigResponse.SerializeToString, + ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + "SudoContract": grpc.unary_unary_rpc_method_handler( + servicer.SudoContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContractResponse.SerializeToString, + ), + "PinCodes": grpc.unary_unary_rpc_method_handler( + servicer.PinCodes, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodes.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodesResponse.SerializeToString, + ), + "UnpinCodes": grpc.unary_unary_rpc_method_handler( + servicer.UnpinCodes, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodes.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodesResponse.SerializeToString, + ), + "StoreAndInstantiateContract": grpc.unary_unary_rpc_method_handler( + servicer.StoreAndInstantiateContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.SerializeToString, + ), + "RemoveCodeUploadParamsAddresses": grpc.unary_unary_rpc_method_handler( + servicer.RemoveCodeUploadParamsAddresses, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.SerializeToString, + ), + "AddCodeUploadParamsAddresses": grpc.unary_unary_rpc_method_handler( + servicer.AddCodeUploadParamsAddresses, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.SerializeToString, + ), + "StoreAndMigrateContract": grpc.unary_unary_rpc_method_handler( + servicer.StoreAndMigrateContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.SerializeToString, + ), + "UpdateContractLabel": grpc.unary_unary_rpc_method_handler( + servicer.UpdateContractLabel, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'cosmwasm.wasm.v1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("cosmwasm.wasm.v1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('cosmwasm.wasm.v1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("cosmwasm.wasm.v1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the wasm Msg service. - """ + """Msg defines the wasm Msg service.""" @staticmethod - def StoreCode(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def StoreCode( + 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/StoreCode', + "/cosmwasm.wasm.v1.Msg/StoreCode", cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCode.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCodeResponse.FromString, options, @@ -376,23 +385,26 @@ def StoreCode(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def InstantiateContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def InstantiateContract( + 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/InstantiateContract', + "/cosmwasm.wasm.v1.Msg/InstantiateContract", cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContractResponse.FromString, options, @@ -403,23 +415,26 @@ def InstantiateContract(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def InstantiateContract2(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def InstantiateContract2( + 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/InstantiateContract2', + "/cosmwasm.wasm.v1.Msg/InstantiateContract2", cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2Response.FromString, options, @@ -430,23 +445,26 @@ def InstantiateContract2(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ExecuteContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ExecuteContract( + 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/ExecuteContract', + "/cosmwasm.wasm.v1.Msg/ExecuteContract", cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContract.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContractResponse.FromString, options, @@ -457,23 +475,26 @@ def ExecuteContract(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def MigrateContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def MigrateContract( + 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/MigrateContract', + "/cosmwasm.wasm.v1.Msg/MigrateContract", cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContract.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContractResponse.FromString, options, @@ -484,23 +505,26 @@ def MigrateContract(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateAdmin(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateAdmin( + 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/UpdateAdmin', + "/cosmwasm.wasm.v1.Msg/UpdateAdmin", cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdmin.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdminResponse.FromString, options, @@ -511,23 +535,26 @@ def UpdateAdmin(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ClearAdmin(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ClearAdmin( + 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/ClearAdmin', + "/cosmwasm.wasm.v1.Msg/ClearAdmin", cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdmin.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdminResponse.FromString, options, @@ -538,23 +565,26 @@ def ClearAdmin(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateInstantiateConfig(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateInstantiateConfig( + 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/UpdateInstantiateConfig', + "/cosmwasm.wasm.v1.Msg/UpdateInstantiateConfig", cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfig.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfigResponse.FromString, options, @@ -565,23 +595,26 @@ def UpdateInstantiateConfig(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmwasm.wasm.v1.Msg/UpdateParams', + "/cosmwasm.wasm.v1.Msg/UpdateParams", cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -592,23 +625,26 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SudoContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SudoContract( + 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/SudoContract', + "/cosmwasm.wasm.v1.Msg/SudoContract", cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContract.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContractResponse.FromString, options, @@ -619,23 +655,26 @@ def SudoContract(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PinCodes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PinCodes( + 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/PinCodes', + "/cosmwasm.wasm.v1.Msg/PinCodes", cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodes.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodesResponse.FromString, options, @@ -646,23 +685,26 @@ def PinCodes(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UnpinCodes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UnpinCodes( + 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/UnpinCodes', + "/cosmwasm.wasm.v1.Msg/UnpinCodes", cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodes.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodesResponse.FromString, options, @@ -673,23 +715,26 @@ def UnpinCodes(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def StoreAndInstantiateContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def StoreAndInstantiateContract( + 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/StoreAndInstantiateContract', + "/cosmwasm.wasm.v1.Msg/StoreAndInstantiateContract", cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, options, @@ -700,23 +745,26 @@ def StoreAndInstantiateContract(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RemoveCodeUploadParamsAddresses(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RemoveCodeUploadParamsAddresses( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', + "/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses", cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, options, @@ -727,23 +775,26 @@ def RemoveCodeUploadParamsAddresses(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def AddCodeUploadParamsAddresses(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AddCodeUploadParamsAddresses( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', + "/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses", cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, options, @@ -754,23 +805,26 @@ def AddCodeUploadParamsAddresses(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def StoreAndMigrateContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + 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.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, @@ -781,23 +835,26 @@ def StoreAndMigrateContract(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateContractLabel(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + 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.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, @@ -808,4 +865,5 @@ def UpdateContractLabel(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py index 4c48f996..da5d58cc 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,110 +20,152 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"]\n\x0f\x41\x63\x63\x65ssTypeParam\x12\x44\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:\"value\"R\x05value:\x04\x98\xa0\x1f\x01\"\xa7\x01\n\x0c\x41\x63\x63\x65ssConfig\x12S\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:\"permission\"R\npermission\x12\x36\n\taddresses\x18\x03 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\taddresses:\x04\x98\xa0\x1f\x01J\x04\x08\x02\x10\x03\"\x94\x02\n\x06Params\x12t\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*\x01R\x10\x63odeUploadAccess\x12\x8d\x01\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:\"instantiate_default_permission\"R\x1cinstantiateDefaultPermission:\x04\x98\xa0\x1f\x00\"\xc1\x01\n\x08\x43odeInfo\x12\x1b\n\tcode_hash\x18\x01 \x01(\x0cR\x08\x63odeHash\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12X\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x11instantiateConfigJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\x82\x03\n\x0c\x43ontractInfo\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12.\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12>\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPositionR\x07\x63reated\x12-\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortIDR\tibcPortId\x12^\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtensionR\textension:\x04\xe8\xa0\x1f\x01\"\x8b\x02\n\x18\x43ontractCodeHistoryEntry\x12P\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationTypeR\toperation\x12#\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12>\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPositionR\x07updated\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\"R\n\x12\x41\x62soluteTxPosition\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\x12\x19\n\x08tx_index\x18\x02 \x01(\x04R\x07txIndex\"e\n\x05Model\x12\x46\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\"\xb1\x01\n\x0f\x45ventCodeStored\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x18\n\x07\x63reator\x18\x02 \x01(\tR\x07\x63reator\x12\x43\n\raccess_config\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x0c\x61\x63\x63\x65ssConfig\x12\x1a\n\x08\x63hecksum\x18\x04 \x01(\x0cR\x08\x63hecksum\"\xbe\x02\n\x19\x45ventContractInstantiated\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x14\n\x05\x61\x64min\x18\x02 \x01(\tR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x61\n\x05\x66unds\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x05\x66unds\x12(\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessageR\x03msg\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x18\n\x07\x63reator\x18\x07 \x01(\tR\x07\x63reator\"\x91\x01\n\x15\x45ventContractMigrated\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12(\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessageR\x03msg\"_\n\x15\x45ventContractAdminSet\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tnew_admin\x18\x02 \x01(\tR\x08newAdmin*\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\xb4\x01\n\x14\x63om.cosmwasm.wasm.v1B\nTypesProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"]\n\x0f\x41\x63\x63\x65ssTypeParam\x12\x44\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:"value"R\x05value:\x04\x98\xa0\x1f\x01"\xa7\x01\n\x0c\x41\x63\x63\x65ssConfig\x12S\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:"permission"R\npermission\x12\x36\n\taddresses\x18\x03 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\taddresses:\x04\x98\xa0\x1f\x01J\x04\x08\x02\x10\x03"\x94\x02\n\x06Params\x12t\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*\x01R\x10\x63odeUploadAccess\x12\x8d\x01\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:"instantiate_default_permission"R\x1cinstantiateDefaultPermission:\x04\x98\xa0\x1f\x00"\xc1\x01\n\x08\x43odeInfo\x12\x1b\n\tcode_hash\x18\x01 \x01(\x0cR\x08\x63odeHash\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12X\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x11instantiateConfigJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05"\x82\x03\n\x0c\x43ontractInfo\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12.\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12>\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPositionR\x07\x63reated\x12-\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortIDR\tibcPortId\x12^\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtensionR\textension:\x04\xe8\xa0\x1f\x01"\x8b\x02\n\x18\x43ontractCodeHistoryEntry\x12P\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationTypeR\toperation\x12#\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12>\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPositionR\x07updated\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg"R\n\x12\x41\x62soluteTxPosition\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\x12\x19\n\x08tx_index\x18\x02 \x01(\x04R\x07txIndex"e\n\x05Model\x12\x46\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value"\xb1\x01\n\x0f\x45ventCodeStored\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x18\n\x07\x63reator\x18\x02 \x01(\tR\x07\x63reator\x12\x43\n\raccess_config\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x0c\x61\x63\x63\x65ssConfig\x12\x1a\n\x08\x63hecksum\x18\x04 \x01(\x0cR\x08\x63hecksum"\xbe\x02\n\x19\x45ventContractInstantiated\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x14\n\x05\x61\x64min\x18\x02 \x01(\tR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x61\n\x05\x66unds\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x05\x66unds\x12(\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessageR\x03msg\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x18\n\x07\x63reator\x18\x07 \x01(\tR\x07\x63reator"\x91\x01\n\x15\x45ventContractMigrated\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12(\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessageR\x03msg"_\n\x15\x45ventContractAdminSet\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tnew_admin\x18\x02 \x01(\tR\x08newAdmin*\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\xb4\x01\n\x14\x63om.cosmwasm.wasm.v1B\nTypesProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.types_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmwasm.wasm.v1.types_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\nTypesProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\250\342\036\001' - _globals['_ACCESSTYPE']._loaded_options = None - _globals['_ACCESSTYPE']._serialized_options = b'\210\243\036\000\250\244\036\000' - _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_UNSPECIFIED"]._loaded_options = None - _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \025AccessTypeUnspecified' - _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_NOBODY"]._loaded_options = None - _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_NOBODY"]._serialized_options = b'\212\235 \020AccessTypeNobody' - _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_EVERYBODY"]._loaded_options = None - _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_EVERYBODY"]._serialized_options = b'\212\235 \023AccessTypeEverybody' - _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_ANY_OF_ADDRESSES"]._loaded_options = None - _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_ANY_OF_ADDRESSES"]._serialized_options = b'\212\235 \030AccessTypeAnyOfAddresses' - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._loaded_options = None - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_options = b'\210\243\036\000' - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED"]._loaded_options = None - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 +ContractCodeHistoryOperationTypeUnspecified' - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT"]._loaded_options = None - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT"]._serialized_options = b'\212\235 $ContractCodeHistoryOperationTypeInit' - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE"]._loaded_options = None - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE"]._serialized_options = b'\212\235 \'ContractCodeHistoryOperationTypeMigrate' - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS"]._loaded_options = None - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS"]._serialized_options = b'\212\235 \'ContractCodeHistoryOperationTypeGenesis' - _globals['_ACCESSTYPEPARAM'].fields_by_name['value']._loaded_options = None - _globals['_ACCESSTYPEPARAM'].fields_by_name['value']._serialized_options = b'\362\336\037\014yaml:\"value\"' - _globals['_ACCESSTYPEPARAM']._loaded_options = None - _globals['_ACCESSTYPEPARAM']._serialized_options = b'\230\240\037\001' - _globals['_ACCESSCONFIG'].fields_by_name['permission']._loaded_options = None - _globals['_ACCESSCONFIG'].fields_by_name['permission']._serialized_options = b'\362\336\037\021yaml:\"permission\"' - _globals['_ACCESSCONFIG'].fields_by_name['addresses']._loaded_options = None - _globals['_ACCESSCONFIG'].fields_by_name['addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_ACCESSCONFIG']._loaded_options = None - _globals['_ACCESSCONFIG']._serialized_options = b'\230\240\037\001' - _globals['_PARAMS'].fields_by_name['code_upload_access']._loaded_options = None - _globals['_PARAMS'].fields_by_name['code_upload_access']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"code_upload_access\"\250\347\260*\001' - _globals['_PARAMS'].fields_by_name['instantiate_default_permission']._loaded_options = None - _globals['_PARAMS'].fields_by_name['instantiate_default_permission']._serialized_options = b'\362\336\037%yaml:\"instantiate_default_permission\"' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\230\240\037\000' - _globals['_CODEINFO'].fields_by_name['creator']._loaded_options = None - _globals['_CODEINFO'].fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_CODEINFO'].fields_by_name['instantiate_config']._loaded_options = None - _globals['_CODEINFO'].fields_by_name['instantiate_config']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CONTRACTINFO'].fields_by_name['code_id']._loaded_options = None - _globals['_CONTRACTINFO'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_CONTRACTINFO'].fields_by_name['creator']._loaded_options = None - _globals['_CONTRACTINFO'].fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_CONTRACTINFO'].fields_by_name['admin']._loaded_options = None - _globals['_CONTRACTINFO'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_CONTRACTINFO'].fields_by_name['ibc_port_id']._loaded_options = None - _globals['_CONTRACTINFO'].fields_by_name['ibc_port_id']._serialized_options = b'\342\336\037\tIBCPortID' - _globals['_CONTRACTINFO'].fields_by_name['extension']._loaded_options = None - _globals['_CONTRACTINFO'].fields_by_name['extension']._serialized_options = b'\312\264-&cosmwasm.wasm.v1.ContractInfoExtension' - _globals['_CONTRACTINFO']._loaded_options = None - _globals['_CONTRACTINFO']._serialized_options = b'\350\240\037\001' - _globals['_CONTRACTCODEHISTORYENTRY'].fields_by_name['code_id']._loaded_options = None - _globals['_CONTRACTCODEHISTORYENTRY'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_CONTRACTCODEHISTORYENTRY'].fields_by_name['msg']._loaded_options = None - _globals['_CONTRACTCODEHISTORYENTRY'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' - _globals['_MODEL'].fields_by_name['key']._loaded_options = None - _globals['_MODEL'].fields_by_name['key']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' - _globals['_EVENTCODESTORED'].fields_by_name['code_id']._loaded_options = None - _globals['_EVENTCODESTORED'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['code_id']._loaded_options = None - _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['funds']._loaded_options = None - _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['msg']._loaded_options = None - _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _globals['_EVENTCONTRACTMIGRATED'].fields_by_name['code_id']._loaded_options = None - _globals['_EVENTCONTRACTMIGRATED'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _globals['_EVENTCONTRACTMIGRATED'].fields_by_name['msg']._loaded_options = None - _globals['_EVENTCONTRACTMIGRATED'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _globals['_ACCESSTYPE']._serialized_start=2510 - _globals['_ACCESSTYPE']._serialized_end=2756 - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_start=2759 - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_end=3181 - _globals['_ACCESSTYPEPARAM']._serialized_start=177 - _globals['_ACCESSTYPEPARAM']._serialized_end=270 - _globals['_ACCESSCONFIG']._serialized_start=273 - _globals['_ACCESSCONFIG']._serialized_end=440 - _globals['_PARAMS']._serialized_start=443 - _globals['_PARAMS']._serialized_end=719 - _globals['_CODEINFO']._serialized_start=722 - _globals['_CODEINFO']._serialized_end=915 - _globals['_CONTRACTINFO']._serialized_start=918 - _globals['_CONTRACTINFO']._serialized_end=1304 - _globals['_CONTRACTCODEHISTORYENTRY']._serialized_start=1307 - _globals['_CONTRACTCODEHISTORYENTRY']._serialized_end=1574 - _globals['_ABSOLUTETXPOSITION']._serialized_start=1576 - _globals['_ABSOLUTETXPOSITION']._serialized_end=1658 - _globals['_MODEL']._serialized_start=1660 - _globals['_MODEL']._serialized_end=1761 - _globals['_EVENTCODESTORED']._serialized_start=1764 - _globals['_EVENTCODESTORED']._serialized_end=1941 - _globals['_EVENTCONTRACTINSTANTIATED']._serialized_start=1944 - _globals['_EVENTCONTRACTINSTANTIATED']._serialized_end=2262 - _globals['_EVENTCONTRACTMIGRATED']._serialized_start=2265 - _globals['_EVENTCONTRACTMIGRATED']._serialized_end=2410 - _globals['_EVENTCONTRACTADMINSET']._serialized_start=2412 - _globals['_EVENTCONTRACTADMINSET']._serialized_end=2507 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\024com.cosmwasm.wasm.v1B\nTypesProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\250\342\036\001" + ) + _globals["_ACCESSTYPE"]._loaded_options = None + _globals["_ACCESSTYPE"]._serialized_options = b"\210\243\036\000\250\244\036\000" + _globals["_ACCESSTYPE"].values_by_name["ACCESS_TYPE_UNSPECIFIED"]._loaded_options = None + _globals["_ACCESSTYPE"].values_by_name[ + "ACCESS_TYPE_UNSPECIFIED" + ]._serialized_options = b"\212\235 \025AccessTypeUnspecified" + _globals["_ACCESSTYPE"].values_by_name["ACCESS_TYPE_NOBODY"]._loaded_options = None + _globals["_ACCESSTYPE"].values_by_name["ACCESS_TYPE_NOBODY"]._serialized_options = b"\212\235 \020AccessTypeNobody" + _globals["_ACCESSTYPE"].values_by_name["ACCESS_TYPE_EVERYBODY"]._loaded_options = None + _globals["_ACCESSTYPE"].values_by_name[ + "ACCESS_TYPE_EVERYBODY" + ]._serialized_options = b"\212\235 \023AccessTypeEverybody" + _globals["_ACCESSTYPE"].values_by_name["ACCESS_TYPE_ANY_OF_ADDRESSES"]._loaded_options = None + _globals["_ACCESSTYPE"].values_by_name[ + "ACCESS_TYPE_ANY_OF_ADDRESSES" + ]._serialized_options = b"\212\235 \030AccessTypeAnyOfAddresses" + _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"]._loaded_options = None + _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"]._serialized_options = b"\210\243\036\000" + _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"].values_by_name[ + "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED" + ]._loaded_options = None + _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"].values_by_name[ + "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED" + ]._serialized_options = b"\212\235 +ContractCodeHistoryOperationTypeUnspecified" + _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"].values_by_name[ + "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT" + ]._loaded_options = None + _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"].values_by_name[ + "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT" + ]._serialized_options = b"\212\235 $ContractCodeHistoryOperationTypeInit" + _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"].values_by_name[ + "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE" + ]._loaded_options = None + _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"].values_by_name[ + "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE" + ]._serialized_options = b"\212\235 'ContractCodeHistoryOperationTypeMigrate" + _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"].values_by_name[ + "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS" + ]._loaded_options = None + _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"].values_by_name[ + "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS" + ]._serialized_options = b"\212\235 'ContractCodeHistoryOperationTypeGenesis" + _globals["_ACCESSTYPEPARAM"].fields_by_name["value"]._loaded_options = None + _globals["_ACCESSTYPEPARAM"].fields_by_name["value"]._serialized_options = b'\362\336\037\014yaml:"value"' + _globals["_ACCESSTYPEPARAM"]._loaded_options = None + _globals["_ACCESSTYPEPARAM"]._serialized_options = b"\230\240\037\001" + _globals["_ACCESSCONFIG"].fields_by_name["permission"]._loaded_options = None + _globals["_ACCESSCONFIG"].fields_by_name["permission"]._serialized_options = b'\362\336\037\021yaml:"permission"' + _globals["_ACCESSCONFIG"].fields_by_name["addresses"]._loaded_options = None + _globals["_ACCESSCONFIG"].fields_by_name["addresses"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_ACCESSCONFIG"]._loaded_options = None + _globals["_ACCESSCONFIG"]._serialized_options = b"\230\240\037\001" + _globals["_PARAMS"].fields_by_name["code_upload_access"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "code_upload_access" + ]._serialized_options = b'\310\336\037\000\362\336\037\031yaml:"code_upload_access"\250\347\260*\001' + _globals["_PARAMS"].fields_by_name["instantiate_default_permission"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "instantiate_default_permission" + ]._serialized_options = b'\362\336\037%yaml:"instantiate_default_permission"' + _globals["_PARAMS"]._loaded_options = None + _globals["_PARAMS"]._serialized_options = b"\230\240\037\000" + _globals["_CODEINFO"].fields_by_name["creator"]._loaded_options = None + _globals["_CODEINFO"].fields_by_name["creator"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_CODEINFO"].fields_by_name["instantiate_config"]._loaded_options = None + _globals["_CODEINFO"].fields_by_name[ + "instantiate_config" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_CONTRACTINFO"].fields_by_name["code_id"]._loaded_options = None + _globals["_CONTRACTINFO"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" + _globals["_CONTRACTINFO"].fields_by_name["creator"]._loaded_options = None + _globals["_CONTRACTINFO"].fields_by_name["creator"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_CONTRACTINFO"].fields_by_name["admin"]._loaded_options = None + _globals["_CONTRACTINFO"].fields_by_name["admin"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_CONTRACTINFO"].fields_by_name["ibc_port_id"]._loaded_options = None + _globals["_CONTRACTINFO"].fields_by_name["ibc_port_id"]._serialized_options = b"\342\336\037\tIBCPortID" + _globals["_CONTRACTINFO"].fields_by_name["extension"]._loaded_options = None + _globals["_CONTRACTINFO"].fields_by_name[ + "extension" + ]._serialized_options = b"\312\264-&cosmwasm.wasm.v1.ContractInfoExtension" + _globals["_CONTRACTINFO"]._loaded_options = None + _globals["_CONTRACTINFO"]._serialized_options = b"\350\240\037\001" + _globals["_CONTRACTCODEHISTORYENTRY"].fields_by_name["code_id"]._loaded_options = None + _globals["_CONTRACTCODEHISTORYENTRY"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" + _globals["_CONTRACTCODEHISTORYENTRY"].fields_by_name["msg"]._loaded_options = None + _globals["_CONTRACTCODEHISTORYENTRY"].fields_by_name[ + "msg" + ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" + _globals["_MODEL"].fields_by_name["key"]._loaded_options = None + _globals["_MODEL"].fields_by_name[ + "key" + ]._serialized_options = b"\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes" + _globals["_EVENTCODESTORED"].fields_by_name["code_id"]._loaded_options = None + _globals["_EVENTCODESTORED"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" + _globals["_EVENTCONTRACTINSTANTIATED"].fields_by_name["code_id"]._loaded_options = None + _globals["_EVENTCONTRACTINSTANTIATED"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" + _globals["_EVENTCONTRACTINSTANTIATED"].fields_by_name["funds"]._loaded_options = None + _globals["_EVENTCONTRACTINSTANTIATED"].fields_by_name[ + "funds" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" + _globals["_EVENTCONTRACTINSTANTIATED"].fields_by_name["msg"]._loaded_options = None + _globals["_EVENTCONTRACTINSTANTIATED"].fields_by_name[ + "msg" + ]._serialized_options = b"\372\336\037\022RawContractMessage" + _globals["_EVENTCONTRACTMIGRATED"].fields_by_name["code_id"]._loaded_options = None + _globals["_EVENTCONTRACTMIGRATED"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" + _globals["_EVENTCONTRACTMIGRATED"].fields_by_name["msg"]._loaded_options = None + _globals["_EVENTCONTRACTMIGRATED"].fields_by_name["msg"]._serialized_options = b"\372\336\037\022RawContractMessage" + _globals["_ACCESSTYPE"]._serialized_start = 2510 + _globals["_ACCESSTYPE"]._serialized_end = 2756 + _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"]._serialized_start = 2759 + _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"]._serialized_end = 3181 + _globals["_ACCESSTYPEPARAM"]._serialized_start = 177 + _globals["_ACCESSTYPEPARAM"]._serialized_end = 270 + _globals["_ACCESSCONFIG"]._serialized_start = 273 + _globals["_ACCESSCONFIG"]._serialized_end = 440 + _globals["_PARAMS"]._serialized_start = 443 + _globals["_PARAMS"]._serialized_end = 719 + _globals["_CODEINFO"]._serialized_start = 722 + _globals["_CODEINFO"]._serialized_end = 915 + _globals["_CONTRACTINFO"]._serialized_start = 918 + _globals["_CONTRACTINFO"]._serialized_end = 1304 + _globals["_CONTRACTCODEHISTORYENTRY"]._serialized_start = 1307 + _globals["_CONTRACTCODEHISTORYENTRY"]._serialized_end = 1574 + _globals["_ABSOLUTETXPOSITION"]._serialized_start = 1576 + _globals["_ABSOLUTETXPOSITION"]._serialized_end = 1658 + _globals["_MODEL"]._serialized_start = 1660 + _globals["_MODEL"]._serialized_end = 1761 + _globals["_EVENTCODESTORED"]._serialized_start = 1764 + _globals["_EVENTCODESTORED"]._serialized_end = 1941 + _globals["_EVENTCONTRACTINSTANTIATED"]._serialized_start = 1944 + _globals["_EVENTCONTRACTINSTANTIATED"]._serialized_end = 2262 + _globals["_EVENTCONTRACTMIGRATED"]._serialized_start = 2265 + _globals["_EVENTCONTRACTMIGRATED"]._serialized_end = 2410 + _globals["_EVENTCONTRACTADMINSET"]._serialized_start = 2412 + _globals["_EVENTCONTRACTADMINSET"]._serialized_end = 2507 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/gogoproto/gogo_pb2.py b/pyinjective/proto/gogoproto/gogo_pb2.py index 7ba03436..69657fa3 100644 --- a/pyinjective/proto/gogoproto/gogo_pb2.py +++ b/pyinjective/proto/gogoproto/gogo_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,12 +16,16 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14gogoproto/gogo.proto\x12\tgogoproto\x1a google/protobuf/descriptor.proto:N\n\x13goproto_enum_prefix\x12\x1c.google.protobuf.EnumOptions\x18\xb1\xe4\x03 \x01(\x08R\x11goprotoEnumPrefix:R\n\x15goproto_enum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc5\xe4\x03 \x01(\x08R\x13goprotoEnumStringer:C\n\renum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc6\xe4\x03 \x01(\x08R\x0c\x65numStringer:G\n\x0f\x65num_customname\x12\x1c.google.protobuf.EnumOptions\x18\xc7\xe4\x03 \x01(\tR\x0e\x65numCustomname::\n\x08\x65numdecl\x12\x1c.google.protobuf.EnumOptions\x18\xc8\xe4\x03 \x01(\x08R\x08\x65numdecl:V\n\x14\x65numvalue_customname\x12!.google.protobuf.EnumValueOptions\x18\xd1\x83\x04 \x01(\tR\x13\x65numvalueCustomname:N\n\x13goproto_getters_all\x12\x1c.google.protobuf.FileOptions\x18\x99\xec\x03 \x01(\x08R\x11goprotoGettersAll:U\n\x17goproto_enum_prefix_all\x12\x1c.google.protobuf.FileOptions\x18\x9a\xec\x03 \x01(\x08R\x14goprotoEnumPrefixAll:P\n\x14goproto_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\x9b\xec\x03 \x01(\x08R\x12goprotoStringerAll:J\n\x11verbose_equal_all\x12\x1c.google.protobuf.FileOptions\x18\x9c\xec\x03 \x01(\x08R\x0fverboseEqualAll:9\n\x08\x66\x61\x63\x65_all\x12\x1c.google.protobuf.FileOptions\x18\x9d\xec\x03 \x01(\x08R\x07\x66\x61\x63\x65\x41ll:A\n\x0cgostring_all\x12\x1c.google.protobuf.FileOptions\x18\x9e\xec\x03 \x01(\x08R\x0bgostringAll:A\n\x0cpopulate_all\x12\x1c.google.protobuf.FileOptions\x18\x9f\xec\x03 \x01(\x08R\x0bpopulateAll:A\n\x0cstringer_all\x12\x1c.google.protobuf.FileOptions\x18\xa0\xec\x03 \x01(\x08R\x0bstringerAll:?\n\x0bonlyone_all\x12\x1c.google.protobuf.FileOptions\x18\xa1\xec\x03 \x01(\x08R\nonlyoneAll:;\n\tequal_all\x12\x1c.google.protobuf.FileOptions\x18\xa5\xec\x03 \x01(\x08R\x08\x65qualAll:G\n\x0f\x64\x65scription_all\x12\x1c.google.protobuf.FileOptions\x18\xa6\xec\x03 \x01(\x08R\x0e\x64\x65scriptionAll:?\n\x0btestgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa7\xec\x03 \x01(\x08R\ntestgenAll:A\n\x0c\x62\x65nchgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa8\xec\x03 \x01(\x08R\x0b\x62\x65nchgenAll:C\n\rmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xa9\xec\x03 \x01(\x08R\x0cmarshalerAll:G\n\x0funmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaa\xec\x03 \x01(\x08R\x0eunmarshalerAll:P\n\x14stable_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xab\xec\x03 \x01(\x08R\x12stableMarshalerAll:;\n\tsizer_all\x12\x1c.google.protobuf.FileOptions\x18\xac\xec\x03 \x01(\x08R\x08sizerAll:Y\n\x19goproto_enum_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xad\xec\x03 \x01(\x08R\x16goprotoEnumStringerAll:J\n\x11\x65num_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xae\xec\x03 \x01(\x08R\x0f\x65numStringerAll:P\n\x14unsafe_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaf\xec\x03 \x01(\x08R\x12unsafeMarshalerAll:T\n\x16unsafe_unmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xb0\xec\x03 \x01(\x08R\x14unsafeUnmarshalerAll:[\n\x1agoproto_extensions_map_all\x12\x1c.google.protobuf.FileOptions\x18\xb1\xec\x03 \x01(\x08R\x17goprotoExtensionsMapAll:X\n\x18goproto_unrecognized_all\x12\x1c.google.protobuf.FileOptions\x18\xb2\xec\x03 \x01(\x08R\x16goprotoUnrecognizedAll:I\n\x10gogoproto_import\x12\x1c.google.protobuf.FileOptions\x18\xb3\xec\x03 \x01(\x08R\x0fgogoprotoImport:E\n\x0eprotosizer_all\x12\x1c.google.protobuf.FileOptions\x18\xb4\xec\x03 \x01(\x08R\rprotosizerAll:?\n\x0b\x63ompare_all\x12\x1c.google.protobuf.FileOptions\x18\xb5\xec\x03 \x01(\x08R\ncompareAll:A\n\x0ctypedecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb6\xec\x03 \x01(\x08R\x0btypedeclAll:A\n\x0c\x65numdecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb7\xec\x03 \x01(\x08R\x0b\x65numdeclAll:Q\n\x14goproto_registration\x12\x1c.google.protobuf.FileOptions\x18\xb8\xec\x03 \x01(\x08R\x13goprotoRegistration:G\n\x0fmessagename_all\x12\x1c.google.protobuf.FileOptions\x18\xb9\xec\x03 \x01(\x08R\x0emessagenameAll:R\n\x15goproto_sizecache_all\x12\x1c.google.protobuf.FileOptions\x18\xba\xec\x03 \x01(\x08R\x13goprotoSizecacheAll:N\n\x13goproto_unkeyed_all\x12\x1c.google.protobuf.FileOptions\x18\xbb\xec\x03 \x01(\x08R\x11goprotoUnkeyedAll:J\n\x0fgoproto_getters\x12\x1f.google.protobuf.MessageOptions\x18\x81\xf4\x03 \x01(\x08R\x0egoprotoGetters:L\n\x10goproto_stringer\x12\x1f.google.protobuf.MessageOptions\x18\x83\xf4\x03 \x01(\x08R\x0fgoprotoStringer:F\n\rverbose_equal\x12\x1f.google.protobuf.MessageOptions\x18\x84\xf4\x03 \x01(\x08R\x0cverboseEqual:5\n\x04\x66\x61\x63\x65\x12\x1f.google.protobuf.MessageOptions\x18\x85\xf4\x03 \x01(\x08R\x04\x66\x61\x63\x65:=\n\x08gostring\x12\x1f.google.protobuf.MessageOptions\x18\x86\xf4\x03 \x01(\x08R\x08gostring:=\n\x08populate\x12\x1f.google.protobuf.MessageOptions\x18\x87\xf4\x03 \x01(\x08R\x08populate:=\n\x08stringer\x12\x1f.google.protobuf.MessageOptions\x18\xc0\x8b\x04 \x01(\x08R\x08stringer:;\n\x07onlyone\x12\x1f.google.protobuf.MessageOptions\x18\x89\xf4\x03 \x01(\x08R\x07onlyone:7\n\x05\x65qual\x12\x1f.google.protobuf.MessageOptions\x18\x8d\xf4\x03 \x01(\x08R\x05\x65qual:C\n\x0b\x64\x65scription\x12\x1f.google.protobuf.MessageOptions\x18\x8e\xf4\x03 \x01(\x08R\x0b\x64\x65scription:;\n\x07testgen\x12\x1f.google.protobuf.MessageOptions\x18\x8f\xf4\x03 \x01(\x08R\x07testgen:=\n\x08\x62\x65nchgen\x12\x1f.google.protobuf.MessageOptions\x18\x90\xf4\x03 \x01(\x08R\x08\x62\x65nchgen:?\n\tmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x91\xf4\x03 \x01(\x08R\tmarshaler:C\n\x0bunmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x92\xf4\x03 \x01(\x08R\x0bunmarshaler:L\n\x10stable_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x93\xf4\x03 \x01(\x08R\x0fstableMarshaler:7\n\x05sizer\x12\x1f.google.protobuf.MessageOptions\x18\x94\xf4\x03 \x01(\x08R\x05sizer:L\n\x10unsafe_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x97\xf4\x03 \x01(\x08R\x0funsafeMarshaler:P\n\x12unsafe_unmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x98\xf4\x03 \x01(\x08R\x11unsafeUnmarshaler:W\n\x16goproto_extensions_map\x12\x1f.google.protobuf.MessageOptions\x18\x99\xf4\x03 \x01(\x08R\x14goprotoExtensionsMap:T\n\x14goproto_unrecognized\x12\x1f.google.protobuf.MessageOptions\x18\x9a\xf4\x03 \x01(\x08R\x13goprotoUnrecognized:A\n\nprotosizer\x12\x1f.google.protobuf.MessageOptions\x18\x9c\xf4\x03 \x01(\x08R\nprotosizer:;\n\x07\x63ompare\x12\x1f.google.protobuf.MessageOptions\x18\x9d\xf4\x03 \x01(\x08R\x07\x63ompare:=\n\x08typedecl\x12\x1f.google.protobuf.MessageOptions\x18\x9e\xf4\x03 \x01(\x08R\x08typedecl:C\n\x0bmessagename\x12\x1f.google.protobuf.MessageOptions\x18\xa1\xf4\x03 \x01(\x08R\x0bmessagename:N\n\x11goproto_sizecache\x12\x1f.google.protobuf.MessageOptions\x18\xa2\xf4\x03 \x01(\x08R\x10goprotoSizecache:J\n\x0fgoproto_unkeyed\x12\x1f.google.protobuf.MessageOptions\x18\xa3\xf4\x03 \x01(\x08R\x0egoprotoUnkeyed:;\n\x08nullable\x12\x1d.google.protobuf.FieldOptions\x18\xe9\xfb\x03 \x01(\x08R\x08nullable:5\n\x05\x65mbed\x12\x1d.google.protobuf.FieldOptions\x18\xea\xfb\x03 \x01(\x08R\x05\x65mbed:?\n\ncustomtype\x12\x1d.google.protobuf.FieldOptions\x18\xeb\xfb\x03 \x01(\tR\ncustomtype:?\n\ncustomname\x12\x1d.google.protobuf.FieldOptions\x18\xec\xfb\x03 \x01(\tR\ncustomname:9\n\x07jsontag\x12\x1d.google.protobuf.FieldOptions\x18\xed\xfb\x03 \x01(\tR\x07jsontag:;\n\x08moretags\x12\x1d.google.protobuf.FieldOptions\x18\xee\xfb\x03 \x01(\tR\x08moretags:;\n\x08\x63\x61sttype\x12\x1d.google.protobuf.FieldOptions\x18\xef\xfb\x03 \x01(\tR\x08\x63\x61sttype:9\n\x07\x63\x61stkey\x12\x1d.google.protobuf.FieldOptions\x18\xf0\xfb\x03 \x01(\tR\x07\x63\x61stkey:=\n\tcastvalue\x12\x1d.google.protobuf.FieldOptions\x18\xf1\xfb\x03 \x01(\tR\tcastvalue:9\n\x07stdtime\x12\x1d.google.protobuf.FieldOptions\x18\xf2\xfb\x03 \x01(\x08R\x07stdtime:A\n\x0bstdduration\x12\x1d.google.protobuf.FieldOptions\x18\xf3\xfb\x03 \x01(\x08R\x0bstdduration:?\n\nwktpointer\x12\x1d.google.protobuf.FieldOptions\x18\xf4\xfb\x03 \x01(\x08R\nwktpointer:C\n\x0c\x63\x61strepeated\x12\x1d.google.protobuf.FieldOptions\x18\xf5\xfb\x03 \x01(\tR\x0c\x63\x61strepeatedB\x85\x01\n\rcom.gogoprotoB\tGogoProtoP\x01Z%github.com/cosmos/gogoproto/gogoproto\xa2\x02\x03GXX\xaa\x02\tGogoproto\xca\x02\tGogoproto\xe2\x02\x15Gogoproto\\GPBMetadata\xea\x02\tGogoproto') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n\x14gogoproto/gogo.proto\x12\tgogoproto\x1a google/protobuf/descriptor.proto:N\n\x13goproto_enum_prefix\x12\x1c.google.protobuf.EnumOptions\x18\xb1\xe4\x03 \x01(\x08R\x11goprotoEnumPrefix:R\n\x15goproto_enum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc5\xe4\x03 \x01(\x08R\x13goprotoEnumStringer:C\n\renum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc6\xe4\x03 \x01(\x08R\x0c\x65numStringer:G\n\x0f\x65num_customname\x12\x1c.google.protobuf.EnumOptions\x18\xc7\xe4\x03 \x01(\tR\x0e\x65numCustomname::\n\x08\x65numdecl\x12\x1c.google.protobuf.EnumOptions\x18\xc8\xe4\x03 \x01(\x08R\x08\x65numdecl:V\n\x14\x65numvalue_customname\x12!.google.protobuf.EnumValueOptions\x18\xd1\x83\x04 \x01(\tR\x13\x65numvalueCustomname:N\n\x13goproto_getters_all\x12\x1c.google.protobuf.FileOptions\x18\x99\xec\x03 \x01(\x08R\x11goprotoGettersAll:U\n\x17goproto_enum_prefix_all\x12\x1c.google.protobuf.FileOptions\x18\x9a\xec\x03 \x01(\x08R\x14goprotoEnumPrefixAll:P\n\x14goproto_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\x9b\xec\x03 \x01(\x08R\x12goprotoStringerAll:J\n\x11verbose_equal_all\x12\x1c.google.protobuf.FileOptions\x18\x9c\xec\x03 \x01(\x08R\x0fverboseEqualAll:9\n\x08\x66\x61\x63\x65_all\x12\x1c.google.protobuf.FileOptions\x18\x9d\xec\x03 \x01(\x08R\x07\x66\x61\x63\x65\x41ll:A\n\x0cgostring_all\x12\x1c.google.protobuf.FileOptions\x18\x9e\xec\x03 \x01(\x08R\x0bgostringAll:A\n\x0cpopulate_all\x12\x1c.google.protobuf.FileOptions\x18\x9f\xec\x03 \x01(\x08R\x0bpopulateAll:A\n\x0cstringer_all\x12\x1c.google.protobuf.FileOptions\x18\xa0\xec\x03 \x01(\x08R\x0bstringerAll:?\n\x0bonlyone_all\x12\x1c.google.protobuf.FileOptions\x18\xa1\xec\x03 \x01(\x08R\nonlyoneAll:;\n\tequal_all\x12\x1c.google.protobuf.FileOptions\x18\xa5\xec\x03 \x01(\x08R\x08\x65qualAll:G\n\x0f\x64\x65scription_all\x12\x1c.google.protobuf.FileOptions\x18\xa6\xec\x03 \x01(\x08R\x0e\x64\x65scriptionAll:?\n\x0btestgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa7\xec\x03 \x01(\x08R\ntestgenAll:A\n\x0c\x62\x65nchgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa8\xec\x03 \x01(\x08R\x0b\x62\x65nchgenAll:C\n\rmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xa9\xec\x03 \x01(\x08R\x0cmarshalerAll:G\n\x0funmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaa\xec\x03 \x01(\x08R\x0eunmarshalerAll:P\n\x14stable_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xab\xec\x03 \x01(\x08R\x12stableMarshalerAll:;\n\tsizer_all\x12\x1c.google.protobuf.FileOptions\x18\xac\xec\x03 \x01(\x08R\x08sizerAll:Y\n\x19goproto_enum_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xad\xec\x03 \x01(\x08R\x16goprotoEnumStringerAll:J\n\x11\x65num_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xae\xec\x03 \x01(\x08R\x0f\x65numStringerAll:P\n\x14unsafe_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaf\xec\x03 \x01(\x08R\x12unsafeMarshalerAll:T\n\x16unsafe_unmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xb0\xec\x03 \x01(\x08R\x14unsafeUnmarshalerAll:[\n\x1agoproto_extensions_map_all\x12\x1c.google.protobuf.FileOptions\x18\xb1\xec\x03 \x01(\x08R\x17goprotoExtensionsMapAll:X\n\x18goproto_unrecognized_all\x12\x1c.google.protobuf.FileOptions\x18\xb2\xec\x03 \x01(\x08R\x16goprotoUnrecognizedAll:I\n\x10gogoproto_import\x12\x1c.google.protobuf.FileOptions\x18\xb3\xec\x03 \x01(\x08R\x0fgogoprotoImport:E\n\x0eprotosizer_all\x12\x1c.google.protobuf.FileOptions\x18\xb4\xec\x03 \x01(\x08R\rprotosizerAll:?\n\x0b\x63ompare_all\x12\x1c.google.protobuf.FileOptions\x18\xb5\xec\x03 \x01(\x08R\ncompareAll:A\n\x0ctypedecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb6\xec\x03 \x01(\x08R\x0btypedeclAll:A\n\x0c\x65numdecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb7\xec\x03 \x01(\x08R\x0b\x65numdeclAll:Q\n\x14goproto_registration\x12\x1c.google.protobuf.FileOptions\x18\xb8\xec\x03 \x01(\x08R\x13goprotoRegistration:G\n\x0fmessagename_all\x12\x1c.google.protobuf.FileOptions\x18\xb9\xec\x03 \x01(\x08R\x0emessagenameAll:R\n\x15goproto_sizecache_all\x12\x1c.google.protobuf.FileOptions\x18\xba\xec\x03 \x01(\x08R\x13goprotoSizecacheAll:N\n\x13goproto_unkeyed_all\x12\x1c.google.protobuf.FileOptions\x18\xbb\xec\x03 \x01(\x08R\x11goprotoUnkeyedAll:J\n\x0fgoproto_getters\x12\x1f.google.protobuf.MessageOptions\x18\x81\xf4\x03 \x01(\x08R\x0egoprotoGetters:L\n\x10goproto_stringer\x12\x1f.google.protobuf.MessageOptions\x18\x83\xf4\x03 \x01(\x08R\x0fgoprotoStringer:F\n\rverbose_equal\x12\x1f.google.protobuf.MessageOptions\x18\x84\xf4\x03 \x01(\x08R\x0cverboseEqual:5\n\x04\x66\x61\x63\x65\x12\x1f.google.protobuf.MessageOptions\x18\x85\xf4\x03 \x01(\x08R\x04\x66\x61\x63\x65:=\n\x08gostring\x12\x1f.google.protobuf.MessageOptions\x18\x86\xf4\x03 \x01(\x08R\x08gostring:=\n\x08populate\x12\x1f.google.protobuf.MessageOptions\x18\x87\xf4\x03 \x01(\x08R\x08populate:=\n\x08stringer\x12\x1f.google.protobuf.MessageOptions\x18\xc0\x8b\x04 \x01(\x08R\x08stringer:;\n\x07onlyone\x12\x1f.google.protobuf.MessageOptions\x18\x89\xf4\x03 \x01(\x08R\x07onlyone:7\n\x05\x65qual\x12\x1f.google.protobuf.MessageOptions\x18\x8d\xf4\x03 \x01(\x08R\x05\x65qual:C\n\x0b\x64\x65scription\x12\x1f.google.protobuf.MessageOptions\x18\x8e\xf4\x03 \x01(\x08R\x0b\x64\x65scription:;\n\x07testgen\x12\x1f.google.protobuf.MessageOptions\x18\x8f\xf4\x03 \x01(\x08R\x07testgen:=\n\x08\x62\x65nchgen\x12\x1f.google.protobuf.MessageOptions\x18\x90\xf4\x03 \x01(\x08R\x08\x62\x65nchgen:?\n\tmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x91\xf4\x03 \x01(\x08R\tmarshaler:C\n\x0bunmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x92\xf4\x03 \x01(\x08R\x0bunmarshaler:L\n\x10stable_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x93\xf4\x03 \x01(\x08R\x0fstableMarshaler:7\n\x05sizer\x12\x1f.google.protobuf.MessageOptions\x18\x94\xf4\x03 \x01(\x08R\x05sizer:L\n\x10unsafe_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x97\xf4\x03 \x01(\x08R\x0funsafeMarshaler:P\n\x12unsafe_unmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x98\xf4\x03 \x01(\x08R\x11unsafeUnmarshaler:W\n\x16goproto_extensions_map\x12\x1f.google.protobuf.MessageOptions\x18\x99\xf4\x03 \x01(\x08R\x14goprotoExtensionsMap:T\n\x14goproto_unrecognized\x12\x1f.google.protobuf.MessageOptions\x18\x9a\xf4\x03 \x01(\x08R\x13goprotoUnrecognized:A\n\nprotosizer\x12\x1f.google.protobuf.MessageOptions\x18\x9c\xf4\x03 \x01(\x08R\nprotosizer:;\n\x07\x63ompare\x12\x1f.google.protobuf.MessageOptions\x18\x9d\xf4\x03 \x01(\x08R\x07\x63ompare:=\n\x08typedecl\x12\x1f.google.protobuf.MessageOptions\x18\x9e\xf4\x03 \x01(\x08R\x08typedecl:C\n\x0bmessagename\x12\x1f.google.protobuf.MessageOptions\x18\xa1\xf4\x03 \x01(\x08R\x0bmessagename:N\n\x11goproto_sizecache\x12\x1f.google.protobuf.MessageOptions\x18\xa2\xf4\x03 \x01(\x08R\x10goprotoSizecache:J\n\x0fgoproto_unkeyed\x12\x1f.google.protobuf.MessageOptions\x18\xa3\xf4\x03 \x01(\x08R\x0egoprotoUnkeyed:;\n\x08nullable\x12\x1d.google.protobuf.FieldOptions\x18\xe9\xfb\x03 \x01(\x08R\x08nullable:5\n\x05\x65mbed\x12\x1d.google.protobuf.FieldOptions\x18\xea\xfb\x03 \x01(\x08R\x05\x65mbed:?\n\ncustomtype\x12\x1d.google.protobuf.FieldOptions\x18\xeb\xfb\x03 \x01(\tR\ncustomtype:?\n\ncustomname\x12\x1d.google.protobuf.FieldOptions\x18\xec\xfb\x03 \x01(\tR\ncustomname:9\n\x07jsontag\x12\x1d.google.protobuf.FieldOptions\x18\xed\xfb\x03 \x01(\tR\x07jsontag:;\n\x08moretags\x12\x1d.google.protobuf.FieldOptions\x18\xee\xfb\x03 \x01(\tR\x08moretags:;\n\x08\x63\x61sttype\x12\x1d.google.protobuf.FieldOptions\x18\xef\xfb\x03 \x01(\tR\x08\x63\x61sttype:9\n\x07\x63\x61stkey\x12\x1d.google.protobuf.FieldOptions\x18\xf0\xfb\x03 \x01(\tR\x07\x63\x61stkey:=\n\tcastvalue\x12\x1d.google.protobuf.FieldOptions\x18\xf1\xfb\x03 \x01(\tR\tcastvalue:9\n\x07stdtime\x12\x1d.google.protobuf.FieldOptions\x18\xf2\xfb\x03 \x01(\x08R\x07stdtime:A\n\x0bstdduration\x12\x1d.google.protobuf.FieldOptions\x18\xf3\xfb\x03 \x01(\x08R\x0bstdduration:?\n\nwktpointer\x12\x1d.google.protobuf.FieldOptions\x18\xf4\xfb\x03 \x01(\x08R\nwktpointer:C\n\x0c\x63\x61strepeated\x12\x1d.google.protobuf.FieldOptions\x18\xf5\xfb\x03 \x01(\tR\x0c\x63\x61strepeatedB\x85\x01\n\rcom.gogoprotoB\tGogoProtoP\x01Z%github.com/cosmos/gogoproto/gogoproto\xa2\x02\x03GXX\xaa\x02\tGogoproto\xca\x02\tGogoproto\xe2\x02\x15Gogoproto\\GPBMetadata\xea\x02\tGogoproto" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gogoproto.gogo_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "gogoproto.gogo_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\rcom.gogoprotoB\tGogoProtoP\001Z%github.com/cosmos/gogoproto/gogoproto\242\002\003GXX\252\002\tGogoproto\312\002\tGogoproto\342\002\025Gogoproto\\GPBMetadata\352\002\tGogoproto' + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\rcom.gogoprotoB\tGogoProtoP\001Z%github.com/cosmos/gogoproto/gogoproto\242\002\003GXX\252\002\tGogoproto\312\002\tGogoproto\342\002\025Gogoproto\\GPBMetadata\352\002\tGogoproto" + ) # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/gogoproto/gogo_pb2_grpc.py b/pyinjective/proto/gogoproto/gogo_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/gogoproto/gogo_pb2_grpc.py +++ b/pyinjective/proto/gogoproto/gogo_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/google/api/annotations_pb2.py b/pyinjective/proto/google/api/annotations_pb2.py index e746af34..5d7d02e1 100644 --- a/pyinjective/proto/google/api/annotations_pb2.py +++ b/pyinjective/proto/google/api/annotations_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,12 +17,16 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cgoogle/api/annotations.proto\x12\ngoogle.api\x1a\x15google/api/http.proto\x1a google/protobuf/descriptor.proto:K\n\x04http\x12\x1e.google.protobuf.MethodOptions\x18\xb0\xca\xbc\" \x01(\x0b\x32\x14.google.api.HttpRuleR\x04httpB\xae\x01\n\x0e\x63om.google.apiB\x10\x41nnotationsProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x03GAX\xaa\x02\nGoogle.Api\xca\x02\nGoogle\\Api\xe2\x02\x16Google\\Api\\GPBMetadata\xea\x02\x0bGoogle::Apib\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1cgoogle/api/annotations.proto\x12\ngoogle.api\x1a\x15google/api/http.proto\x1a google/protobuf/descriptor.proto:K\n\x04http\x12\x1e.google.protobuf.MethodOptions\x18\xb0\xca\xbc" \x01(\x0b\x32\x14.google.api.HttpRuleR\x04httpB\xae\x01\n\x0e\x63om.google.apiB\x10\x41nnotationsProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x03GAX\xaa\x02\nGoogle.Api\xca\x02\nGoogle\\Api\xe2\x02\x16Google\\Api\\GPBMetadata\xea\x02\x0bGoogle::Apib\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.annotations_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.annotations_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.apiB\020AnnotationsProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\003GAX\252\002\nGoogle.Api\312\002\nGoogle\\Api\342\002\026Google\\Api\\GPBMetadata\352\002\013Google::Api' + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\016com.google.apiB\020AnnotationsProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\003GAX\252\002\nGoogle.Api\312\002\nGoogle\\Api\342\002\026Google\\Api\\GPBMetadata\352\002\013Google::Api" + ) # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/api/annotations_pb2_grpc.py b/pyinjective/proto/google/api/annotations_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/google/api/annotations_pb2_grpc.py +++ b/pyinjective/proto/google/api/annotations_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/google/api/client_pb2.py b/pyinjective/proto/google/api/client_pb2.py index db55b0ba..f74d4cf8 100644 --- a/pyinjective/proto/google/api/client_pb2.py +++ b/pyinjective/proto/google/api/client_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,64 +18,68 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17google/api/client.proto\x12\ngoogle.api\x1a\x1dgoogle/api/launch_stage.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\"\xf8\x01\n\x16\x43ommonLanguageSettings\x12\x30\n\x12reference_docs_uri\x18\x01 \x01(\tB\x02\x18\x01R\x10referenceDocsUri\x12H\n\x0c\x64\x65stinations\x18\x02 \x03(\x0e\x32$.google.api.ClientLibraryDestinationR\x0c\x64\x65stinations\x12\x62\n\x1aselective_gapic_generation\x18\x03 \x01(\x0b\x32$.google.api.SelectiveGapicGenerationR\x18selectiveGapicGeneration\"\x93\x05\n\x15\x43lientLibrarySettings\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12:\n\x0claunch_stage\x18\x02 \x01(\x0e\x32\x17.google.api.LaunchStageR\x0blaunchStage\x12,\n\x12rest_numeric_enums\x18\x03 \x01(\x08R\x10restNumericEnums\x12=\n\rjava_settings\x18\x15 \x01(\x0b\x32\x18.google.api.JavaSettingsR\x0cjavaSettings\x12:\n\x0c\x63pp_settings\x18\x16 \x01(\x0b\x32\x17.google.api.CppSettingsR\x0b\x63ppSettings\x12:\n\x0cphp_settings\x18\x17 \x01(\x0b\x32\x17.google.api.PhpSettingsR\x0bphpSettings\x12\x43\n\x0fpython_settings\x18\x18 \x01(\x0b\x32\x1a.google.api.PythonSettingsR\x0epythonSettings\x12=\n\rnode_settings\x18\x19 \x01(\x0b\x32\x18.google.api.NodeSettingsR\x0cnodeSettings\x12\x43\n\x0f\x64otnet_settings\x18\x1a \x01(\x0b\x32\x1a.google.api.DotnetSettingsR\x0e\x64otnetSettings\x12=\n\rruby_settings\x18\x1b \x01(\x0b\x32\x18.google.api.RubySettingsR\x0crubySettings\x12\x37\n\x0bgo_settings\x18\x1c \x01(\x0b\x32\x16.google.api.GoSettingsR\ngoSettings\"\xf4\x04\n\nPublishing\x12\x43\n\x0fmethod_settings\x18\x02 \x03(\x0b\x32\x1a.google.api.MethodSettingsR\x0emethodSettings\x12\"\n\rnew_issue_uri\x18\x65 \x01(\tR\x0bnewIssueUri\x12+\n\x11\x64ocumentation_uri\x18\x66 \x01(\tR\x10\x64ocumentationUri\x12$\n\x0e\x61pi_short_name\x18g \x01(\tR\x0c\x61piShortName\x12!\n\x0cgithub_label\x18h \x01(\tR\x0bgithubLabel\x12\x34\n\x16\x63odeowner_github_teams\x18i \x03(\tR\x14\x63odeownerGithubTeams\x12$\n\x0e\x64oc_tag_prefix\x18j \x01(\tR\x0c\x64ocTagPrefix\x12I\n\x0corganization\x18k \x01(\x0e\x32%.google.api.ClientLibraryOrganizationR\x0corganization\x12L\n\x10library_settings\x18m \x03(\x0b\x32!.google.api.ClientLibrarySettingsR\x0flibrarySettings\x12I\n!proto_reference_documentation_uri\x18n \x01(\tR\x1eprotoReferenceDocumentationUri\x12G\n rest_reference_documentation_uri\x18o \x01(\tR\x1drestReferenceDocumentationUri\"\x9a\x02\n\x0cJavaSettings\x12\'\n\x0flibrary_package\x18\x01 \x01(\tR\x0elibraryPackage\x12_\n\x13service_class_names\x18\x02 \x03(\x0b\x32/.google.api.JavaSettings.ServiceClassNamesEntryR\x11serviceClassNames\x12:\n\x06\x63ommon\x18\x03 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\x1a\x44\n\x16ServiceClassNamesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"I\n\x0b\x43ppSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"I\n\x0bPhpSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"\xc5\x02\n\x0ePythonSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\x12\x64\n\x15\x65xperimental_features\x18\x02 \x01(\x0b\x32/.google.api.PythonSettings.ExperimentalFeaturesR\x14\x65xperimentalFeatures\x1a\x90\x01\n\x14\x45xperimentalFeatures\x12\x31\n\x15rest_async_io_enabled\x18\x01 \x01(\x08R\x12restAsyncIoEnabled\x12\x45\n\x1fprotobuf_pythonic_types_enabled\x18\x02 \x01(\x08R\x1cprotobufPythonicTypesEnabled\"J\n\x0cNodeSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"\xae\x04\n\x0e\x44otnetSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\x12Z\n\x10renamed_services\x18\x02 \x03(\x0b\x32/.google.api.DotnetSettings.RenamedServicesEntryR\x0frenamedServices\x12]\n\x11renamed_resources\x18\x03 \x03(\x0b\x32\x30.google.api.DotnetSettings.RenamedResourcesEntryR\x10renamedResources\x12+\n\x11ignored_resources\x18\x04 \x03(\tR\x10ignoredResources\x12\x38\n\x18\x66orced_namespace_aliases\x18\x05 \x03(\tR\x16\x66orcedNamespaceAliases\x12\x35\n\x16handwritten_signatures\x18\x06 \x03(\tR\x15handwrittenSignatures\x1a\x42\n\x14RenamedServicesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\x43\n\x15RenamedResourcesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"J\n\x0cRubySettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"\xe4\x01\n\nGoSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\x12V\n\x10renamed_services\x18\x02 \x03(\x0b\x32+.google.api.GoSettings.RenamedServicesEntryR\x0frenamedServices\x1a\x42\n\x14RenamedServicesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xc2\x03\n\x0eMethodSettings\x12\x1a\n\x08selector\x18\x01 \x01(\tR\x08selector\x12I\n\x0clong_running\x18\x02 \x01(\x0b\x32&.google.api.MethodSettings.LongRunningR\x0blongRunning\x12\x32\n\x15\x61uto_populated_fields\x18\x03 \x03(\tR\x13\x61utoPopulatedFields\x1a\x94\x02\n\x0bLongRunning\x12G\n\x12initial_poll_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10initialPollDelay\x12\x32\n\x15poll_delay_multiplier\x18\x02 \x01(\x02R\x13pollDelayMultiplier\x12?\n\x0emax_poll_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0cmaxPollDelay\x12G\n\x12total_poll_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10totalPollTimeout\"4\n\x18SelectiveGapicGeneration\x12\x18\n\x07methods\x18\x01 \x03(\tR\x07methods*\xa3\x01\n\x19\x43lientLibraryOrganization\x12+\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x43LOUD\x10\x01\x12\x07\n\x03\x41\x44S\x10\x02\x12\n\n\x06PHOTOS\x10\x03\x12\x0f\n\x0bSTREET_VIEW\x10\x04\x12\x0c\n\x08SHOPPING\x10\x05\x12\x07\n\x03GEO\x10\x06\x12\x11\n\rGENERATIVE_AI\x10\x07*g\n\x18\x43lientLibraryDestination\x12*\n&CLIENT_LIBRARY_DESTINATION_UNSPECIFIED\x10\x00\x12\n\n\x06GITHUB\x10\n\x12\x13\n\x0fPACKAGE_MANAGER\x10\x14:J\n\x10method_signature\x12\x1e.google.protobuf.MethodOptions\x18\x9b\x08 \x03(\tR\x0fmethodSignature:C\n\x0c\x64\x65\x66\x61ult_host\x12\x1f.google.protobuf.ServiceOptions\x18\x99\x08 \x01(\tR\x0b\x64\x65\x66\x61ultHost:C\n\x0coauth_scopes\x12\x1f.google.protobuf.ServiceOptions\x18\x9a\x08 \x01(\tR\x0boauthScopes:D\n\x0b\x61pi_version\x12\x1f.google.protobuf.ServiceOptions\x18\xc1\xba\xab\xfa\x01 \x01(\tR\napiVersionB\xa9\x01\n\x0e\x63om.google.apiB\x0b\x43lientProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x03GAX\xaa\x02\nGoogle.Api\xca\x02\nGoogle\\Api\xe2\x02\x16Google\\Api\\GPBMetadata\xea\x02\x0bGoogle::Apib\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x17google/api/client.proto\x12\ngoogle.api\x1a\x1dgoogle/api/launch_stage.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto"\xf8\x01\n\x16\x43ommonLanguageSettings\x12\x30\n\x12reference_docs_uri\x18\x01 \x01(\tB\x02\x18\x01R\x10referenceDocsUri\x12H\n\x0c\x64\x65stinations\x18\x02 \x03(\x0e\x32$.google.api.ClientLibraryDestinationR\x0c\x64\x65stinations\x12\x62\n\x1aselective_gapic_generation\x18\x03 \x01(\x0b\x32$.google.api.SelectiveGapicGenerationR\x18selectiveGapicGeneration"\x93\x05\n\x15\x43lientLibrarySettings\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12:\n\x0claunch_stage\x18\x02 \x01(\x0e\x32\x17.google.api.LaunchStageR\x0blaunchStage\x12,\n\x12rest_numeric_enums\x18\x03 \x01(\x08R\x10restNumericEnums\x12=\n\rjava_settings\x18\x15 \x01(\x0b\x32\x18.google.api.JavaSettingsR\x0cjavaSettings\x12:\n\x0c\x63pp_settings\x18\x16 \x01(\x0b\x32\x17.google.api.CppSettingsR\x0b\x63ppSettings\x12:\n\x0cphp_settings\x18\x17 \x01(\x0b\x32\x17.google.api.PhpSettingsR\x0bphpSettings\x12\x43\n\x0fpython_settings\x18\x18 \x01(\x0b\x32\x1a.google.api.PythonSettingsR\x0epythonSettings\x12=\n\rnode_settings\x18\x19 \x01(\x0b\x32\x18.google.api.NodeSettingsR\x0cnodeSettings\x12\x43\n\x0f\x64otnet_settings\x18\x1a \x01(\x0b\x32\x1a.google.api.DotnetSettingsR\x0e\x64otnetSettings\x12=\n\rruby_settings\x18\x1b \x01(\x0b\x32\x18.google.api.RubySettingsR\x0crubySettings\x12\x37\n\x0bgo_settings\x18\x1c \x01(\x0b\x32\x16.google.api.GoSettingsR\ngoSettings"\xf4\x04\n\nPublishing\x12\x43\n\x0fmethod_settings\x18\x02 \x03(\x0b\x32\x1a.google.api.MethodSettingsR\x0emethodSettings\x12"\n\rnew_issue_uri\x18\x65 \x01(\tR\x0bnewIssueUri\x12+\n\x11\x64ocumentation_uri\x18\x66 \x01(\tR\x10\x64ocumentationUri\x12$\n\x0e\x61pi_short_name\x18g \x01(\tR\x0c\x61piShortName\x12!\n\x0cgithub_label\x18h \x01(\tR\x0bgithubLabel\x12\x34\n\x16\x63odeowner_github_teams\x18i \x03(\tR\x14\x63odeownerGithubTeams\x12$\n\x0e\x64oc_tag_prefix\x18j \x01(\tR\x0c\x64ocTagPrefix\x12I\n\x0corganization\x18k \x01(\x0e\x32%.google.api.ClientLibraryOrganizationR\x0corganization\x12L\n\x10library_settings\x18m \x03(\x0b\x32!.google.api.ClientLibrarySettingsR\x0flibrarySettings\x12I\n!proto_reference_documentation_uri\x18n \x01(\tR\x1eprotoReferenceDocumentationUri\x12G\n rest_reference_documentation_uri\x18o \x01(\tR\x1drestReferenceDocumentationUri"\x9a\x02\n\x0cJavaSettings\x12\'\n\x0flibrary_package\x18\x01 \x01(\tR\x0elibraryPackage\x12_\n\x13service_class_names\x18\x02 \x03(\x0b\x32/.google.api.JavaSettings.ServiceClassNamesEntryR\x11serviceClassNames\x12:\n\x06\x63ommon\x18\x03 \x01(\x0b\x32".google.api.CommonLanguageSettingsR\x06\x63ommon\x1a\x44\n\x16ServiceClassNamesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"I\n\x0b\x43ppSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettingsR\x06\x63ommon"I\n\x0bPhpSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettingsR\x06\x63ommon"\xc5\x02\n\x0ePythonSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettingsR\x06\x63ommon\x12\x64\n\x15\x65xperimental_features\x18\x02 \x01(\x0b\x32/.google.api.PythonSettings.ExperimentalFeaturesR\x14\x65xperimentalFeatures\x1a\x90\x01\n\x14\x45xperimentalFeatures\x12\x31\n\x15rest_async_io_enabled\x18\x01 \x01(\x08R\x12restAsyncIoEnabled\x12\x45\n\x1fprotobuf_pythonic_types_enabled\x18\x02 \x01(\x08R\x1cprotobufPythonicTypesEnabled"J\n\x0cNodeSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettingsR\x06\x63ommon"\xae\x04\n\x0e\x44otnetSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettingsR\x06\x63ommon\x12Z\n\x10renamed_services\x18\x02 \x03(\x0b\x32/.google.api.DotnetSettings.RenamedServicesEntryR\x0frenamedServices\x12]\n\x11renamed_resources\x18\x03 \x03(\x0b\x32\x30.google.api.DotnetSettings.RenamedResourcesEntryR\x10renamedResources\x12+\n\x11ignored_resources\x18\x04 \x03(\tR\x10ignoredResources\x12\x38\n\x18\x66orced_namespace_aliases\x18\x05 \x03(\tR\x16\x66orcedNamespaceAliases\x12\x35\n\x16handwritten_signatures\x18\x06 \x03(\tR\x15handwrittenSignatures\x1a\x42\n\x14RenamedServicesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\x43\n\x15RenamedResourcesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"J\n\x0cRubySettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettingsR\x06\x63ommon"\xe4\x01\n\nGoSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettingsR\x06\x63ommon\x12V\n\x10renamed_services\x18\x02 \x03(\x0b\x32+.google.api.GoSettings.RenamedServicesEntryR\x0frenamedServices\x1a\x42\n\x14RenamedServicesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"\xc2\x03\n\x0eMethodSettings\x12\x1a\n\x08selector\x18\x01 \x01(\tR\x08selector\x12I\n\x0clong_running\x18\x02 \x01(\x0b\x32&.google.api.MethodSettings.LongRunningR\x0blongRunning\x12\x32\n\x15\x61uto_populated_fields\x18\x03 \x03(\tR\x13\x61utoPopulatedFields\x1a\x94\x02\n\x0bLongRunning\x12G\n\x12initial_poll_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10initialPollDelay\x12\x32\n\x15poll_delay_multiplier\x18\x02 \x01(\x02R\x13pollDelayMultiplier\x12?\n\x0emax_poll_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0cmaxPollDelay\x12G\n\x12total_poll_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10totalPollTimeout"4\n\x18SelectiveGapicGeneration\x12\x18\n\x07methods\x18\x01 \x03(\tR\x07methods*\xa3\x01\n\x19\x43lientLibraryOrganization\x12+\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x43LOUD\x10\x01\x12\x07\n\x03\x41\x44S\x10\x02\x12\n\n\x06PHOTOS\x10\x03\x12\x0f\n\x0bSTREET_VIEW\x10\x04\x12\x0c\n\x08SHOPPING\x10\x05\x12\x07\n\x03GEO\x10\x06\x12\x11\n\rGENERATIVE_AI\x10\x07*g\n\x18\x43lientLibraryDestination\x12*\n&CLIENT_LIBRARY_DESTINATION_UNSPECIFIED\x10\x00\x12\n\n\x06GITHUB\x10\n\x12\x13\n\x0fPACKAGE_MANAGER\x10\x14:J\n\x10method_signature\x12\x1e.google.protobuf.MethodOptions\x18\x9b\x08 \x03(\tR\x0fmethodSignature:C\n\x0c\x64\x65\x66\x61ult_host\x12\x1f.google.protobuf.ServiceOptions\x18\x99\x08 \x01(\tR\x0b\x64\x65\x66\x61ultHost:C\n\x0coauth_scopes\x12\x1f.google.protobuf.ServiceOptions\x18\x9a\x08 \x01(\tR\x0boauthScopes:D\n\x0b\x61pi_version\x12\x1f.google.protobuf.ServiceOptions\x18\xc1\xba\xab\xfa\x01 \x01(\tR\napiVersionB\xa9\x01\n\x0e\x63om.google.apiB\x0b\x43lientProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x03GAX\xaa\x02\nGoogle.Api\xca\x02\nGoogle\\Api\xe2\x02\x16Google\\Api\\GPBMetadata\xea\x02\x0bGoogle::Apib\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.client_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.client_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.apiB\013ClientProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\003GAX\252\002\nGoogle.Api\312\002\nGoogle\\Api\342\002\026Google\\Api\\GPBMetadata\352\002\013Google::Api' - _globals['_COMMONLANGUAGESETTINGS'].fields_by_name['reference_docs_uri']._loaded_options = None - _globals['_COMMONLANGUAGESETTINGS'].fields_by_name['reference_docs_uri']._serialized_options = b'\030\001' - _globals['_JAVASETTINGS_SERVICECLASSNAMESENTRY']._loaded_options = None - _globals['_JAVASETTINGS_SERVICECLASSNAMESENTRY']._serialized_options = b'8\001' - _globals['_DOTNETSETTINGS_RENAMEDSERVICESENTRY']._loaded_options = None - _globals['_DOTNETSETTINGS_RENAMEDSERVICESENTRY']._serialized_options = b'8\001' - _globals['_DOTNETSETTINGS_RENAMEDRESOURCESENTRY']._loaded_options = None - _globals['_DOTNETSETTINGS_RENAMEDRESOURCESENTRY']._serialized_options = b'8\001' - _globals['_GOSETTINGS_RENAMEDSERVICESENTRY']._loaded_options = None - _globals['_GOSETTINGS_RENAMEDSERVICESENTRY']._serialized_options = b'8\001' - _globals['_CLIENTLIBRARYORGANIZATION']._serialized_start=3895 - _globals['_CLIENTLIBRARYORGANIZATION']._serialized_end=4058 - _globals['_CLIENTLIBRARYDESTINATION']._serialized_start=4060 - _globals['_CLIENTLIBRARYDESTINATION']._serialized_end=4163 - _globals['_COMMONLANGUAGESETTINGS']._serialized_start=137 - _globals['_COMMONLANGUAGESETTINGS']._serialized_end=385 - _globals['_CLIENTLIBRARYSETTINGS']._serialized_start=388 - _globals['_CLIENTLIBRARYSETTINGS']._serialized_end=1047 - _globals['_PUBLISHING']._serialized_start=1050 - _globals['_PUBLISHING']._serialized_end=1678 - _globals['_JAVASETTINGS']._serialized_start=1681 - _globals['_JAVASETTINGS']._serialized_end=1963 - _globals['_JAVASETTINGS_SERVICECLASSNAMESENTRY']._serialized_start=1895 - _globals['_JAVASETTINGS_SERVICECLASSNAMESENTRY']._serialized_end=1963 - _globals['_CPPSETTINGS']._serialized_start=1965 - _globals['_CPPSETTINGS']._serialized_end=2038 - _globals['_PHPSETTINGS']._serialized_start=2040 - _globals['_PHPSETTINGS']._serialized_end=2113 - _globals['_PYTHONSETTINGS']._serialized_start=2116 - _globals['_PYTHONSETTINGS']._serialized_end=2441 - _globals['_PYTHONSETTINGS_EXPERIMENTALFEATURES']._serialized_start=2297 - _globals['_PYTHONSETTINGS_EXPERIMENTALFEATURES']._serialized_end=2441 - _globals['_NODESETTINGS']._serialized_start=2443 - _globals['_NODESETTINGS']._serialized_end=2517 - _globals['_DOTNETSETTINGS']._serialized_start=2520 - _globals['_DOTNETSETTINGS']._serialized_end=3078 - _globals['_DOTNETSETTINGS_RENAMEDSERVICESENTRY']._serialized_start=2943 - _globals['_DOTNETSETTINGS_RENAMEDSERVICESENTRY']._serialized_end=3009 - _globals['_DOTNETSETTINGS_RENAMEDRESOURCESENTRY']._serialized_start=3011 - _globals['_DOTNETSETTINGS_RENAMEDRESOURCESENTRY']._serialized_end=3078 - _globals['_RUBYSETTINGS']._serialized_start=3080 - _globals['_RUBYSETTINGS']._serialized_end=3154 - _globals['_GOSETTINGS']._serialized_start=3157 - _globals['_GOSETTINGS']._serialized_end=3385 - _globals['_GOSETTINGS_RENAMEDSERVICESENTRY']._serialized_start=2943 - _globals['_GOSETTINGS_RENAMEDSERVICESENTRY']._serialized_end=3009 - _globals['_METHODSETTINGS']._serialized_start=3388 - _globals['_METHODSETTINGS']._serialized_end=3838 - _globals['_METHODSETTINGS_LONGRUNNING']._serialized_start=3562 - _globals['_METHODSETTINGS_LONGRUNNING']._serialized_end=3838 - _globals['_SELECTIVEGAPICGENERATION']._serialized_start=3840 - _globals['_SELECTIVEGAPICGENERATION']._serialized_end=3892 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\016com.google.apiB\013ClientProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\003GAX\252\002\nGoogle.Api\312\002\nGoogle\\Api\342\002\026Google\\Api\\GPBMetadata\352\002\013Google::Api" + ) + _globals["_COMMONLANGUAGESETTINGS"].fields_by_name["reference_docs_uri"]._loaded_options = None + _globals["_COMMONLANGUAGESETTINGS"].fields_by_name["reference_docs_uri"]._serialized_options = b"\030\001" + _globals["_JAVASETTINGS_SERVICECLASSNAMESENTRY"]._loaded_options = None + _globals["_JAVASETTINGS_SERVICECLASSNAMESENTRY"]._serialized_options = b"8\001" + _globals["_DOTNETSETTINGS_RENAMEDSERVICESENTRY"]._loaded_options = None + _globals["_DOTNETSETTINGS_RENAMEDSERVICESENTRY"]._serialized_options = b"8\001" + _globals["_DOTNETSETTINGS_RENAMEDRESOURCESENTRY"]._loaded_options = None + _globals["_DOTNETSETTINGS_RENAMEDRESOURCESENTRY"]._serialized_options = b"8\001" + _globals["_GOSETTINGS_RENAMEDSERVICESENTRY"]._loaded_options = None + _globals["_GOSETTINGS_RENAMEDSERVICESENTRY"]._serialized_options = b"8\001" + _globals["_CLIENTLIBRARYORGANIZATION"]._serialized_start = 3895 + _globals["_CLIENTLIBRARYORGANIZATION"]._serialized_end = 4058 + _globals["_CLIENTLIBRARYDESTINATION"]._serialized_start = 4060 + _globals["_CLIENTLIBRARYDESTINATION"]._serialized_end = 4163 + _globals["_COMMONLANGUAGESETTINGS"]._serialized_start = 137 + _globals["_COMMONLANGUAGESETTINGS"]._serialized_end = 385 + _globals["_CLIENTLIBRARYSETTINGS"]._serialized_start = 388 + _globals["_CLIENTLIBRARYSETTINGS"]._serialized_end = 1047 + _globals["_PUBLISHING"]._serialized_start = 1050 + _globals["_PUBLISHING"]._serialized_end = 1678 + _globals["_JAVASETTINGS"]._serialized_start = 1681 + _globals["_JAVASETTINGS"]._serialized_end = 1963 + _globals["_JAVASETTINGS_SERVICECLASSNAMESENTRY"]._serialized_start = 1895 + _globals["_JAVASETTINGS_SERVICECLASSNAMESENTRY"]._serialized_end = 1963 + _globals["_CPPSETTINGS"]._serialized_start = 1965 + _globals["_CPPSETTINGS"]._serialized_end = 2038 + _globals["_PHPSETTINGS"]._serialized_start = 2040 + _globals["_PHPSETTINGS"]._serialized_end = 2113 + _globals["_PYTHONSETTINGS"]._serialized_start = 2116 + _globals["_PYTHONSETTINGS"]._serialized_end = 2441 + _globals["_PYTHONSETTINGS_EXPERIMENTALFEATURES"]._serialized_start = 2297 + _globals["_PYTHONSETTINGS_EXPERIMENTALFEATURES"]._serialized_end = 2441 + _globals["_NODESETTINGS"]._serialized_start = 2443 + _globals["_NODESETTINGS"]._serialized_end = 2517 + _globals["_DOTNETSETTINGS"]._serialized_start = 2520 + _globals["_DOTNETSETTINGS"]._serialized_end = 3078 + _globals["_DOTNETSETTINGS_RENAMEDSERVICESENTRY"]._serialized_start = 2943 + _globals["_DOTNETSETTINGS_RENAMEDSERVICESENTRY"]._serialized_end = 3009 + _globals["_DOTNETSETTINGS_RENAMEDRESOURCESENTRY"]._serialized_start = 3011 + _globals["_DOTNETSETTINGS_RENAMEDRESOURCESENTRY"]._serialized_end = 3078 + _globals["_RUBYSETTINGS"]._serialized_start = 3080 + _globals["_RUBYSETTINGS"]._serialized_end = 3154 + _globals["_GOSETTINGS"]._serialized_start = 3157 + _globals["_GOSETTINGS"]._serialized_end = 3385 + _globals["_GOSETTINGS_RENAMEDSERVICESENTRY"]._serialized_start = 2943 + _globals["_GOSETTINGS_RENAMEDSERVICESENTRY"]._serialized_end = 3009 + _globals["_METHODSETTINGS"]._serialized_start = 3388 + _globals["_METHODSETTINGS"]._serialized_end = 3838 + _globals["_METHODSETTINGS_LONGRUNNING"]._serialized_start = 3562 + _globals["_METHODSETTINGS_LONGRUNNING"]._serialized_end = 3838 + _globals["_SELECTIVEGAPICGENERATION"]._serialized_start = 3840 + _globals["_SELECTIVEGAPICGENERATION"]._serialized_end = 3892 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/api/client_pb2_grpc.py b/pyinjective/proto/google/api/client_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/google/api/client_pb2_grpc.py +++ b/pyinjective/proto/google/api/client_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/google/api/expr/v1alpha1/checked_pb2.py b/pyinjective/proto/google/api/expr/v1alpha1/checked_pb2.py index 1aef2660..17fc4330 100644 --- a/pyinjective/proto/google/api/expr/v1alpha1/checked_pb2.py +++ b/pyinjective/proto/google/api/expr/v1alpha1/checked_pb2.py @@ -7,56 +7,63 @@ 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 pyinjective.proto.google.api.expr.v1alpha1 import syntax_pb2 as google_dot_api_dot_expr_dot_v1alpha1_dot_syntax__pb2 +from pyinjective.proto.google.api.expr.v1alpha1 import ( + syntax_pb2 as google_dot_api_dot_expr_dot_v1alpha1_dot_syntax__pb2, +) from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&google/api/expr/v1alpha1/checked.proto\x12\x18google.api.expr.v1alpha1\x1a%google/api/expr/v1alpha1/syntax.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x9a\x04\n\x0b\x43heckedExpr\x12\\\n\rreference_map\x18\x02 \x03(\x0b\x32\x37.google.api.expr.v1alpha1.CheckedExpr.ReferenceMapEntryR\x0creferenceMap\x12M\n\x08type_map\x18\x03 \x03(\x0b\x32\x32.google.api.expr.v1alpha1.CheckedExpr.TypeMapEntryR\x07typeMap\x12\x45\n\x0bsource_info\x18\x05 \x01(\x0b\x32$.google.api.expr.v1alpha1.SourceInfoR\nsourceInfo\x12!\n\x0c\x65xpr_version\x18\x06 \x01(\tR\x0b\x65xprVersion\x12\x32\n\x04\x65xpr\x18\x04 \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.ExprR\x04\x65xpr\x1a\x64\n\x11ReferenceMapEntry\x12\x10\n\x03key\x18\x01 \x01(\x03R\x03key\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32#.google.api.expr.v1alpha1.ReferenceR\x05value:\x02\x38\x01\x1aZ\n\x0cTypeMapEntry\x12\x10\n\x03key\x18\x01 \x01(\x03R\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\x05value:\x02\x38\x01\"\xc8\x0b\n\x04Type\x12*\n\x03\x64yn\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00R\x03\x64yn\x12\x30\n\x04null\x18\x02 \x01(\x0e\x32\x1a.google.protobuf.NullValueH\x00R\x04null\x12L\n\tprimitive\x18\x03 \x01(\x0e\x32,.google.api.expr.v1alpha1.Type.PrimitiveTypeH\x00R\tprimitive\x12H\n\x07wrapper\x18\x04 \x01(\x0e\x32,.google.api.expr.v1alpha1.Type.PrimitiveTypeH\x00R\x07wrapper\x12M\n\nwell_known\x18\x05 \x01(\x0e\x32,.google.api.expr.v1alpha1.Type.WellKnownTypeH\x00R\twellKnown\x12\x46\n\tlist_type\x18\x06 \x01(\x0b\x32\'.google.api.expr.v1alpha1.Type.ListTypeH\x00R\x08listType\x12\x43\n\x08map_type\x18\x07 \x01(\x0b\x32&.google.api.expr.v1alpha1.Type.MapTypeH\x00R\x07mapType\x12I\n\x08\x66unction\x18\x08 \x01(\x0b\x32+.google.api.expr.v1alpha1.Type.FunctionTypeH\x00R\x08\x66unction\x12#\n\x0cmessage_type\x18\t \x01(\tH\x00R\x0bmessageType\x12\x1f\n\ntype_param\x18\n \x01(\tH\x00R\ttypeParam\x12\x34\n\x04type\x18\x0b \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeH\x00R\x04type\x12.\n\x05\x65rror\x18\x0c \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00R\x05\x65rror\x12R\n\rabstract_type\x18\x0e \x01(\x0b\x32+.google.api.expr.v1alpha1.Type.AbstractTypeH\x00R\x0c\x61\x62stractType\x1aG\n\x08ListType\x12;\n\telem_type\x18\x01 \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\x08\x65lemType\x1a\x83\x01\n\x07MapType\x12\x39\n\x08key_type\x18\x01 \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\x07keyType\x12=\n\nvalue_type\x18\x02 \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\tvalueType\x1a\x8c\x01\n\x0c\x46unctionType\x12?\n\x0bresult_type\x18\x01 \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\nresultType\x12;\n\targ_types\x18\x02 \x03(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\x08\x61rgTypes\x1ak\n\x0c\x41\x62stractType\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12G\n\x0fparameter_types\x18\x02 \x03(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\x0eparameterTypes\"s\n\rPrimitiveType\x12\x1e\n\x1aPRIMITIVE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42OOL\x10\x01\x12\t\n\x05INT64\x10\x02\x12\n\n\x06UINT64\x10\x03\x12\n\n\x06\x44OUBLE\x10\x04\x12\n\n\x06STRING\x10\x05\x12\t\n\x05\x42YTES\x10\x06\"V\n\rWellKnownType\x12\x1f\n\x1bWELL_KNOWN_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41NY\x10\x01\x12\r\n\tTIMESTAMP\x10\x02\x12\x0c\n\x08\x44URATION\x10\x03\x42\x0b\n\ttype_kind\"\xb3\x05\n\x04\x44\x65\x63l\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12@\n\x05ident\x18\x02 \x01(\x0b\x32(.google.api.expr.v1alpha1.Decl.IdentDeclH\x00R\x05ident\x12I\n\x08\x66unction\x18\x03 \x01(\x0b\x32+.google.api.expr.v1alpha1.Decl.FunctionDeclH\x00R\x08\x66unction\x1a\x8b\x01\n\tIdentDecl\x12\x32\n\x04type\x18\x01 \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\x04type\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32\".google.api.expr.v1alpha1.ConstantR\x05value\x12\x10\n\x03\x64oc\x18\x03 \x01(\tR\x03\x64oc\x1a\xee\x02\n\x0c\x46unctionDecl\x12R\n\toverloads\x18\x01 \x03(\x0b\x32\x34.google.api.expr.v1alpha1.Decl.FunctionDecl.OverloadR\toverloads\x1a\x89\x02\n\x08Overload\x12\x1f\n\x0boverload_id\x18\x01 \x01(\tR\noverloadId\x12\x36\n\x06params\x18\x02 \x03(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\x06params\x12\x1f\n\x0btype_params\x18\x03 \x03(\tR\ntypeParams\x12?\n\x0bresult_type\x18\x04 \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\nresultType\x12\x30\n\x14is_instance_function\x18\x05 \x01(\x08R\x12isInstanceFunction\x12\x10\n\x03\x64oc\x18\x06 \x01(\tR\x03\x64ocB\x0b\n\tdecl_kind\"z\n\tReference\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1f\n\x0boverload_id\x18\x03 \x03(\tR\noverloadId\x12\x38\n\x05value\x18\x04 \x01(\x0b\x32\".google.api.expr.v1alpha1.ConstantR\x05valueB\xf0\x01\n\x1c\x63om.google.api.expr.v1alpha1B\x0c\x43heckedProtoP\x01Z\n\nVisibility\x12\x30\n\x05rules\x18\x01 \x03(\x0b\x32\x1a.google.api.VisibilityRuleR\x05rules\"N\n\x0eVisibilityRule\x12\x1a\n\x08selector\x18\x01 \x01(\tR\x08selector\x12 \n\x0brestriction\x18\x02 \x01(\tR\x0brestriction:d\n\x0f\x65num_visibility\x12\x1c.google.protobuf.EnumOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x0e\x65numVisibility:k\n\x10value_visibility\x12!.google.protobuf.EnumValueOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x0fvalueVisibility:g\n\x10\x66ield_visibility\x12\x1d.google.protobuf.FieldOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x0f\x66ieldVisibility:m\n\x12message_visibility\x12\x1f.google.protobuf.MessageOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x11messageVisibility:j\n\x11method_visibility\x12\x1e.google.protobuf.MethodOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x10methodVisibility:e\n\x0e\x61pi_visibility\x12\x1f.google.protobuf.ServiceOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\rapiVisibilityB\xae\x01\n\x0e\x63om.google.apiB\x0fVisibilityProtoP\x01Z?google.golang.org/genproto/googleapis/api/visibility;visibility\xf8\x01\x01\xa2\x02\x03GAX\xaa\x02\nGoogle.Api\xca\x02\nGoogle\\Api\xe2\x02\x16Google\\Api\\GPBMetadata\xea\x02\x0bGoogle::Apib\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1bgoogle/api/visibility.proto\x12\ngoogle.api\x1a google/protobuf/descriptor.proto">\n\nVisibility\x12\x30\n\x05rules\x18\x01 \x03(\x0b\x32\x1a.google.api.VisibilityRuleR\x05rules"N\n\x0eVisibilityRule\x12\x1a\n\x08selector\x18\x01 \x01(\tR\x08selector\x12 \n\x0brestriction\x18\x02 \x01(\tR\x0brestriction:d\n\x0f\x65num_visibility\x12\x1c.google.protobuf.EnumOptions\x18\xaf\xca\xbc" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x0e\x65numVisibility:k\n\x10value_visibility\x12!.google.protobuf.EnumValueOptions\x18\xaf\xca\xbc" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x0fvalueVisibility:g\n\x10\x66ield_visibility\x12\x1d.google.protobuf.FieldOptions\x18\xaf\xca\xbc" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x0f\x66ieldVisibility:m\n\x12message_visibility\x12\x1f.google.protobuf.MessageOptions\x18\xaf\xca\xbc" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x11messageVisibility:j\n\x11method_visibility\x12\x1e.google.protobuf.MethodOptions\x18\xaf\xca\xbc" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x10methodVisibility:e\n\x0e\x61pi_visibility\x12\x1f.google.protobuf.ServiceOptions\x18\xaf\xca\xbc" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\rapiVisibilityB\xae\x01\n\x0e\x63om.google.apiB\x0fVisibilityProtoP\x01Z?google.golang.org/genproto/googleapis/api/visibility;visibility\xf8\x01\x01\xa2\x02\x03GAX\xaa\x02\nGoogle.Api\xca\x02\nGoogle\\Api\xe2\x02\x16Google\\Api\\GPBMetadata\xea\x02\x0bGoogle::Apib\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.visibility_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.visibility_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.apiB\017VisibilityProtoP\001Z?google.golang.org/genproto/googleapis/api/visibility;visibility\370\001\001\242\002\003GAX\252\002\nGoogle.Api\312\002\nGoogle\\Api\342\002\026Google\\Api\\GPBMetadata\352\002\013Google::Api' - _globals['_VISIBILITY']._serialized_start=77 - _globals['_VISIBILITY']._serialized_end=139 - _globals['_VISIBILITYRULE']._serialized_start=141 - _globals['_VISIBILITYRULE']._serialized_end=219 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\016com.google.apiB\017VisibilityProtoP\001Z?google.golang.org/genproto/googleapis/api/visibility;visibility\370\001\001\242\002\003GAX\252\002\nGoogle.Api\312\002\nGoogle\\Api\342\002\026Google\\Api\\GPBMetadata\352\002\013Google::Api" + ) + _globals["_VISIBILITY"]._serialized_start = 77 + _globals["_VISIBILITY"]._serialized_end = 139 + _globals["_VISIBILITYRULE"]._serialized_start = 141 + _globals["_VISIBILITYRULE"]._serialized_end = 219 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/api/visibility_pb2_grpc.py b/pyinjective/proto/google/api/visibility_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/google/api/visibility_pb2_grpc.py +++ b/pyinjective/proto/google/api/visibility_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/google/bytestream/bytestream_pb2.py b/pyinjective/proto/google/bytestream/bytestream_pb2.py index 2d270d9a..f184077f 100644 --- a/pyinjective/proto/google/bytestream/bytestream_pb2.py +++ b/pyinjective/proto/google/bytestream/bytestream_pb2.py @@ -7,33 +7,36 @@ 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\"google/bytestream/bytestream.proto\x12\x11google.bytestream\"r\n\x0bReadRequest\x12#\n\rresource_name\x18\x01 \x01(\tR\x0cresourceName\x12\x1f\n\x0bread_offset\x18\x02 \x01(\x03R\nreadOffset\x12\x1d\n\nread_limit\x18\x03 \x01(\x03R\treadLimit\"\"\n\x0cReadResponse\x12\x12\n\x04\x64\x61ta\x18\n \x01(\x0cR\x04\x64\x61ta\"\x8d\x01\n\x0cWriteRequest\x12#\n\rresource_name\x18\x01 \x01(\tR\x0cresourceName\x12!\n\x0cwrite_offset\x18\x02 \x01(\x03R\x0bwriteOffset\x12!\n\x0c\x66inish_write\x18\x03 \x01(\x08R\x0b\x66inishWrite\x12\x12\n\x04\x64\x61ta\x18\n \x01(\x0cR\x04\x64\x61ta\"6\n\rWriteResponse\x12%\n\x0e\x63ommitted_size\x18\x01 \x01(\x03R\rcommittedSize\">\n\x17QueryWriteStatusRequest\x12#\n\rresource_name\x18\x01 \x01(\tR\x0cresourceName\"]\n\x18QueryWriteStatusResponse\x12%\n\x0e\x63ommitted_size\x18\x01 \x01(\x03R\rcommittedSize\x12\x1a\n\x08\x63omplete\x18\x02 \x01(\x08R\x08\x63omplete2\x92\x02\n\nByteStream\x12I\n\x04Read\x12\x1e.google.bytestream.ReadRequest\x1a\x1f.google.bytestream.ReadResponse0\x01\x12L\n\x05Write\x12\x1f.google.bytestream.WriteRequest\x1a .google.bytestream.WriteResponse(\x01\x12k\n\x10QueryWriteStatus\x12*.google.bytestream.QueryWriteStatusRequest\x1a+.google.bytestream.QueryWriteStatusResponseB\xca\x01\n\x15\x63om.google.bytestreamB\x0f\x42ytestreamProtoP\x01Z;google.golang.org/genproto/googleapis/bytestream;bytestream\xa2\x02\x03GBX\xaa\x02\x11Google.Bytestream\xca\x02\x11Google\\Bytestream\xe2\x02\x1dGoogle\\Bytestream\\GPBMetadata\xea\x02\x12Google::Bytestreamb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n"google/bytestream/bytestream.proto\x12\x11google.bytestream"r\n\x0bReadRequest\x12#\n\rresource_name\x18\x01 \x01(\tR\x0cresourceName\x12\x1f\n\x0bread_offset\x18\x02 \x01(\x03R\nreadOffset\x12\x1d\n\nread_limit\x18\x03 \x01(\x03R\treadLimit""\n\x0cReadResponse\x12\x12\n\x04\x64\x61ta\x18\n \x01(\x0cR\x04\x64\x61ta"\x8d\x01\n\x0cWriteRequest\x12#\n\rresource_name\x18\x01 \x01(\tR\x0cresourceName\x12!\n\x0cwrite_offset\x18\x02 \x01(\x03R\x0bwriteOffset\x12!\n\x0c\x66inish_write\x18\x03 \x01(\x08R\x0b\x66inishWrite\x12\x12\n\x04\x64\x61ta\x18\n \x01(\x0cR\x04\x64\x61ta"6\n\rWriteResponse\x12%\n\x0e\x63ommitted_size\x18\x01 \x01(\x03R\rcommittedSize">\n\x17QueryWriteStatusRequest\x12#\n\rresource_name\x18\x01 \x01(\tR\x0cresourceName"]\n\x18QueryWriteStatusResponse\x12%\n\x0e\x63ommitted_size\x18\x01 \x01(\x03R\rcommittedSize\x12\x1a\n\x08\x63omplete\x18\x02 \x01(\x08R\x08\x63omplete2\x92\x02\n\nByteStream\x12I\n\x04Read\x12\x1e.google.bytestream.ReadRequest\x1a\x1f.google.bytestream.ReadResponse0\x01\x12L\n\x05Write\x12\x1f.google.bytestream.WriteRequest\x1a .google.bytestream.WriteResponse(\x01\x12k\n\x10QueryWriteStatus\x12*.google.bytestream.QueryWriteStatusRequest\x1a+.google.bytestream.QueryWriteStatusResponseB\xca\x01\n\x15\x63om.google.bytestreamB\x0f\x42ytestreamProtoP\x01Z;google.golang.org/genproto/googleapis/bytestream;bytestream\xa2\x02\x03GBX\xaa\x02\x11Google.Bytestream\xca\x02\x11Google\\Bytestream\xe2\x02\x1dGoogle\\Bytestream\\GPBMetadata\xea\x02\x12Google::Bytestreamb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.bytestream.bytestream_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.bytestream.bytestream_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.google.bytestreamB\017BytestreamProtoP\001Z;google.golang.org/genproto/googleapis/bytestream;bytestream\242\002\003GBX\252\002\021Google.Bytestream\312\002\021Google\\Bytestream\342\002\035Google\\Bytestream\\GPBMetadata\352\002\022Google::Bytestream' - _globals['_READREQUEST']._serialized_start=57 - _globals['_READREQUEST']._serialized_end=171 - _globals['_READRESPONSE']._serialized_start=173 - _globals['_READRESPONSE']._serialized_end=207 - _globals['_WRITEREQUEST']._serialized_start=210 - _globals['_WRITEREQUEST']._serialized_end=351 - _globals['_WRITERESPONSE']._serialized_start=353 - _globals['_WRITERESPONSE']._serialized_end=407 - _globals['_QUERYWRITESTATUSREQUEST']._serialized_start=409 - _globals['_QUERYWRITESTATUSREQUEST']._serialized_end=471 - _globals['_QUERYWRITESTATUSRESPONSE']._serialized_start=473 - _globals['_QUERYWRITESTATUSRESPONSE']._serialized_end=566 - _globals['_BYTESTREAM']._serialized_start=569 - _globals['_BYTESTREAM']._serialized_end=843 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\025com.google.bytestreamB\017BytestreamProtoP\001Z;google.golang.org/genproto/googleapis/bytestream;bytestream\242\002\003GBX\252\002\021Google.Bytestream\312\002\021Google\\Bytestream\342\002\035Google\\Bytestream\\GPBMetadata\352\002\022Google::Bytestream" + ) + _globals["_READREQUEST"]._serialized_start = 57 + _globals["_READREQUEST"]._serialized_end = 171 + _globals["_READRESPONSE"]._serialized_start = 173 + _globals["_READRESPONSE"]._serialized_end = 207 + _globals["_WRITEREQUEST"]._serialized_start = 210 + _globals["_WRITEREQUEST"]._serialized_end = 351 + _globals["_WRITERESPONSE"]._serialized_start = 353 + _globals["_WRITERESPONSE"]._serialized_end = 407 + _globals["_QUERYWRITESTATUSREQUEST"]._serialized_start = 409 + _globals["_QUERYWRITESTATUSREQUEST"]._serialized_end = 471 + _globals["_QUERYWRITESTATUSRESPONSE"]._serialized_start = 473 + _globals["_QUERYWRITESTATUSRESPONSE"]._serialized_end = 566 + _globals["_BYTESTREAM"]._serialized_start = 569 + _globals["_BYTESTREAM"]._serialized_end = 843 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/bytestream/bytestream_pb2_grpc.py b/pyinjective/proto/google/bytestream/bytestream_pb2_grpc.py index 7492af43..a55a12a2 100644 --- a/pyinjective/proto/google/bytestream/bytestream_pb2_grpc.py +++ b/pyinjective/proto/google/bytestream/bytestream_pb2_grpc.py @@ -38,20 +38,23 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Read = channel.unary_stream( - '/google.bytestream.ByteStream/Read', - request_serializer=google_dot_bytestream_dot_bytestream__pb2.ReadRequest.SerializeToString, - response_deserializer=google_dot_bytestream_dot_bytestream__pb2.ReadResponse.FromString, - _registered_method=True) + "/google.bytestream.ByteStream/Read", + request_serializer=google_dot_bytestream_dot_bytestream__pb2.ReadRequest.SerializeToString, + response_deserializer=google_dot_bytestream_dot_bytestream__pb2.ReadResponse.FromString, + _registered_method=True, + ) self.Write = channel.stream_unary( - '/google.bytestream.ByteStream/Write', - request_serializer=google_dot_bytestream_dot_bytestream__pb2.WriteRequest.SerializeToString, - response_deserializer=google_dot_bytestream_dot_bytestream__pb2.WriteResponse.FromString, - _registered_method=True) + "/google.bytestream.ByteStream/Write", + request_serializer=google_dot_bytestream_dot_bytestream__pb2.WriteRequest.SerializeToString, + response_deserializer=google_dot_bytestream_dot_bytestream__pb2.WriteResponse.FromString, + _registered_method=True, + ) self.QueryWriteStatus = channel.unary_unary( - '/google.bytestream.ByteStream/QueryWriteStatus', - request_serializer=google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusRequest.SerializeToString, - response_deserializer=google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusResponse.FromString, - _registered_method=True) + "/google.bytestream.ByteStream/QueryWriteStatus", + request_serializer=google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusRequest.SerializeToString, + response_deserializer=google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusResponse.FromString, + _registered_method=True, + ) class ByteStreamServicer(object): @@ -86,8 +89,8 @@ def Read(self, request, context): responses are delivered as the results of a server-side streaming RPC. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Write(self, request_iterator, context): """`Write()` is used to send the contents of a resource as a sequence of @@ -114,8 +117,8 @@ def Write(self, request_iterator, context): `complete` or not. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def QueryWriteStatus(self, request, context): """`QueryWriteStatus()` is used to find the `committed_size` for a resource @@ -134,35 +137,34 @@ def QueryWriteStatus(self, request, context): non-decreasing. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_ByteStreamServicer_to_server(servicer, server): rpc_method_handlers = { - 'Read': grpc.unary_stream_rpc_method_handler( - servicer.Read, - request_deserializer=google_dot_bytestream_dot_bytestream__pb2.ReadRequest.FromString, - response_serializer=google_dot_bytestream_dot_bytestream__pb2.ReadResponse.SerializeToString, - ), - 'Write': grpc.stream_unary_rpc_method_handler( - servicer.Write, - request_deserializer=google_dot_bytestream_dot_bytestream__pb2.WriteRequest.FromString, - response_serializer=google_dot_bytestream_dot_bytestream__pb2.WriteResponse.SerializeToString, - ), - 'QueryWriteStatus': grpc.unary_unary_rpc_method_handler( - servicer.QueryWriteStatus, - request_deserializer=google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusRequest.FromString, - response_serializer=google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusResponse.SerializeToString, - ), + "Read": grpc.unary_stream_rpc_method_handler( + servicer.Read, + request_deserializer=google_dot_bytestream_dot_bytestream__pb2.ReadRequest.FromString, + response_serializer=google_dot_bytestream_dot_bytestream__pb2.ReadResponse.SerializeToString, + ), + "Write": grpc.stream_unary_rpc_method_handler( + servicer.Write, + request_deserializer=google_dot_bytestream_dot_bytestream__pb2.WriteRequest.FromString, + response_serializer=google_dot_bytestream_dot_bytestream__pb2.WriteResponse.SerializeToString, + ), + "QueryWriteStatus": grpc.unary_unary_rpc_method_handler( + servicer.QueryWriteStatus, + request_deserializer=google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusRequest.FromString, + response_serializer=google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'google.bytestream.ByteStream', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("google.bytestream.ByteStream", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('google.bytestream.ByteStream', rpc_method_handlers) + server.add_registered_method_handlers("google.bytestream.ByteStream", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class ByteStream(object): """#### Introduction @@ -190,20 +192,22 @@ class ByteStream(object): """ @staticmethod - def Read(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Read( + 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, - '/google.bytestream.ByteStream/Read', + "/google.bytestream.ByteStream/Read", google_dot_bytestream_dot_bytestream__pb2.ReadRequest.SerializeToString, google_dot_bytestream_dot_bytestream__pb2.ReadResponse.FromString, options, @@ -214,23 +218,26 @@ def Read(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Write(request_iterator, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Write( + request_iterator, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.stream_unary( request_iterator, target, - '/google.bytestream.ByteStream/Write', + "/google.bytestream.ByteStream/Write", google_dot_bytestream_dot_bytestream__pb2.WriteRequest.SerializeToString, google_dot_bytestream_dot_bytestream__pb2.WriteResponse.FromString, options, @@ -241,23 +248,26 @@ def Write(request_iterator, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def QueryWriteStatus(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def QueryWriteStatus( + 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, - '/google.bytestream.ByteStream/QueryWriteStatus', + "/google.bytestream.ByteStream/QueryWriteStatus", google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusRequest.SerializeToString, google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusResponse.FromString, options, @@ -268,4 +278,5 @@ def QueryWriteStatus(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/google/geo/type/viewport_pb2.py b/pyinjective/proto/google/geo/type/viewport_pb2.py index 69ebbf59..b0209066 100644 --- a/pyinjective/proto/google/geo/type/viewport_pb2.py +++ b/pyinjective/proto/google/geo/type/viewport_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,14 +16,18 @@ from google.type import latlng_pb2 as google_dot_type_dot_latlng__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1egoogle/geo/type/viewport.proto\x12\x0fgoogle.geo.type\x1a\x18google/type/latlng.proto\"Z\n\x08Viewport\x12%\n\x03low\x18\x01 \x01(\x0b\x32\x13.google.type.LatLngR\x03low\x12\'\n\x04high\x18\x02 \x01(\x0b\x32\x13.google.type.LatLngR\x04highB\xc4\x01\n\x13\x63om.google.geo.typeB\rViewportProtoP\x01Z@google.golang.org/genproto/googleapis/geo/type/viewport;viewport\xa2\x02\x03GGT\xaa\x02\x0fGoogle.Geo.Type\xca\x02\x0fGoogle\\Geo\\Type\xe2\x02\x1bGoogle\\Geo\\Type\\GPBMetadata\xea\x02\x11Google::Geo::Typeb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n\x1egoogle/geo/type/viewport.proto\x12\x0fgoogle.geo.type\x1a\x18google/type/latlng.proto\"Z\n\x08Viewport\x12%\n\x03low\x18\x01 \x01(\x0b\x32\x13.google.type.LatLngR\x03low\x12'\n\x04high\x18\x02 \x01(\x0b\x32\x13.google.type.LatLngR\x04highB\xc4\x01\n\x13\x63om.google.geo.typeB\rViewportProtoP\x01Z@google.golang.org/genproto/googleapis/geo/type/viewport;viewport\xa2\x02\x03GGT\xaa\x02\x0fGoogle.Geo.Type\xca\x02\x0fGoogle\\Geo\\Type\xe2\x02\x1bGoogle\\Geo\\Type\\GPBMetadata\xea\x02\x11Google::Geo::Typeb\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.geo.type.viewport_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.geo.type.viewport_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.google.geo.typeB\rViewportProtoP\001Z@google.golang.org/genproto/googleapis/geo/type/viewport;viewport\242\002\003GGT\252\002\017Google.Geo.Type\312\002\017Google\\Geo\\Type\342\002\033Google\\Geo\\Type\\GPBMetadata\352\002\021Google::Geo::Type' - _globals['_VIEWPORT']._serialized_start=77 - _globals['_VIEWPORT']._serialized_end=167 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\023com.google.geo.typeB\rViewportProtoP\001Z@google.golang.org/genproto/googleapis/geo/type/viewport;viewport\242\002\003GGT\252\002\017Google.Geo.Type\312\002\017Google\\Geo\\Type\342\002\033Google\\Geo\\Type\\GPBMetadata\352\002\021Google::Geo::Type" + ) + _globals["_VIEWPORT"]._serialized_start = 77 + _globals["_VIEWPORT"]._serialized_end = 167 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/geo/type/viewport_pb2_grpc.py b/pyinjective/proto/google/geo/type/viewport_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/google/geo/type/viewport_pb2_grpc.py +++ b/pyinjective/proto/google/geo/type/viewport_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/google/longrunning/operations_pb2.py b/pyinjective/proto/google/longrunning/operations_pb2.py index 72a5cef3..d50db07b 100644 --- a/pyinjective/proto/google/longrunning/operations_pb2.py +++ b/pyinjective/proto/google/longrunning/operations_pb2.py @@ -7,6 +7,7 @@ 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() @@ -21,40 +22,52 @@ from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#google/longrunning/operations.proto\x12\x12google.longrunning\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x19google/protobuf/any.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x17google/rpc/status.proto\"\xcf\x01\n\tOperation\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x30\n\x08metadata\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x08metadata\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12*\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusH\x00R\x05\x65rror\x12\x32\n\x08response\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00R\x08responseB\x08\n\x06result\")\n\x13GetOperationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"\x7f\n\x15ListOperationsRequest\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12\x16\n\x06\x66ilter\x18\x01 \x01(\tR\x06\x66ilter\x12\x1b\n\tpage_size\x18\x02 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\"\x7f\n\x16ListOperationsResponse\x12=\n\noperations\x18\x01 \x03(\x0b\x32\x1d.google.longrunning.OperationR\noperations\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\",\n\x16\x43\x61ncelOperationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\",\n\x16\x44\x65leteOperationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"_\n\x14WaitOperationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x33\n\x07timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\x07timeout\"Y\n\rOperationInfo\x12#\n\rresponse_type\x18\x01 \x01(\tR\x0cresponseType\x12#\n\rmetadata_type\x18\x02 \x01(\tR\x0cmetadataType2\xaa\x05\n\nOperations\x12\x94\x01\n\x0eListOperations\x12).google.longrunning.ListOperationsRequest\x1a*.google.longrunning.ListOperationsResponse\"+\xda\x41\x0bname,filter\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/{name=operations}\x12\x7f\n\x0cGetOperation\x12\'.google.longrunning.GetOperationRequest\x1a\x1d.google.longrunning.Operation\"\'\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/{name=operations/**}\x12~\n\x0f\x44\x65leteOperation\x12*.google.longrunning.DeleteOperationRequest\x1a\x16.google.protobuf.Empty\"\'\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1a*\x18/v1/{name=operations/**}\x12\x88\x01\n\x0f\x43\x61ncelOperation\x12*.google.longrunning.CancelOperationRequest\x1a\x16.google.protobuf.Empty\"1\xda\x41\x04name\x82\xd3\xe4\x93\x02$\"\x1f/v1/{name=operations/**}:cancel:\x01*\x12Z\n\rWaitOperation\x12(.google.longrunning.WaitOperationRequest\x1a\x1d.google.longrunning.Operation\"\x00\x1a\x1d\xca\x41\x1alongrunning.googleapis.com:i\n\x0eoperation_info\x12\x1e.google.protobuf.MethodOptions\x18\x99\x08 \x01(\x0b\x32!.google.longrunning.OperationInfoR\roperationInfoB\xda\x01\n\x16\x63om.google.longrunningB\x0fOperationsProtoP\x01ZCcloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb\xf8\x01\x01\xa2\x02\x03GLX\xaa\x02\x12Google.Longrunning\xca\x02\x12Google\\Longrunning\xe2\x02\x1eGoogle\\Longrunning\\GPBMetadata\xea\x02\x13Google::Longrunningb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n#google/longrunning/operations.proto\x12\x12google.longrunning\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x19google/protobuf/any.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x17google/rpc/status.proto"\xcf\x01\n\tOperation\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x30\n\x08metadata\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x08metadata\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12*\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusH\x00R\x05\x65rror\x12\x32\n\x08response\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00R\x08responseB\x08\n\x06result")\n\x13GetOperationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"\x7f\n\x15ListOperationsRequest\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12\x16\n\x06\x66ilter\x18\x01 \x01(\tR\x06\x66ilter\x12\x1b\n\tpage_size\x18\x02 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken"\x7f\n\x16ListOperationsResponse\x12=\n\noperations\x18\x01 \x03(\x0b\x32\x1d.google.longrunning.OperationR\noperations\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken",\n\x16\x43\x61ncelOperationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name",\n\x16\x44\x65leteOperationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"_\n\x14WaitOperationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x33\n\x07timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\x07timeout"Y\n\rOperationInfo\x12#\n\rresponse_type\x18\x01 \x01(\tR\x0cresponseType\x12#\n\rmetadata_type\x18\x02 \x01(\tR\x0cmetadataType2\xaa\x05\n\nOperations\x12\x94\x01\n\x0eListOperations\x12).google.longrunning.ListOperationsRequest\x1a*.google.longrunning.ListOperationsResponse"+\xda\x41\x0bname,filter\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/{name=operations}\x12\x7f\n\x0cGetOperation\x12\'.google.longrunning.GetOperationRequest\x1a\x1d.google.longrunning.Operation"\'\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/{name=operations/**}\x12~\n\x0f\x44\x65leteOperation\x12*.google.longrunning.DeleteOperationRequest\x1a\x16.google.protobuf.Empty"\'\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1a*\x18/v1/{name=operations/**}\x12\x88\x01\n\x0f\x43\x61ncelOperation\x12*.google.longrunning.CancelOperationRequest\x1a\x16.google.protobuf.Empty"1\xda\x41\x04name\x82\xd3\xe4\x93\x02$"\x1f/v1/{name=operations/**}:cancel:\x01*\x12Z\n\rWaitOperation\x12(.google.longrunning.WaitOperationRequest\x1a\x1d.google.longrunning.Operation"\x00\x1a\x1d\xca\x41\x1alongrunning.googleapis.com:i\n\x0eoperation_info\x12\x1e.google.protobuf.MethodOptions\x18\x99\x08 \x01(\x0b\x32!.google.longrunning.OperationInfoR\roperationInfoB\xda\x01\n\x16\x63om.google.longrunningB\x0fOperationsProtoP\x01ZCcloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb\xf8\x01\x01\xa2\x02\x03GLX\xaa\x02\x12Google.Longrunning\xca\x02\x12Google\\Longrunning\xe2\x02\x1eGoogle\\Longrunning\\GPBMetadata\xea\x02\x13Google::Longrunningb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.longrunning.operations_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.longrunning.operations_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.google.longrunningB\017OperationsProtoP\001ZCcloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb\370\001\001\242\002\003GLX\252\002\022Google.Longrunning\312\002\022Google\\Longrunning\342\002\036Google\\Longrunning\\GPBMetadata\352\002\023Google::Longrunning' - _globals['_OPERATIONS']._loaded_options = None - _globals['_OPERATIONS']._serialized_options = b'\312A\032longrunning.googleapis.com' - _globals['_OPERATIONS'].methods_by_name['ListOperations']._loaded_options = None - _globals['_OPERATIONS'].methods_by_name['ListOperations']._serialized_options = b'\332A\013name,filter\202\323\344\223\002\027\022\025/v1/{name=operations}' - _globals['_OPERATIONS'].methods_by_name['GetOperation']._loaded_options = None - _globals['_OPERATIONS'].methods_by_name['GetOperation']._serialized_options = b'\332A\004name\202\323\344\223\002\032\022\030/v1/{name=operations/**}' - _globals['_OPERATIONS'].methods_by_name['DeleteOperation']._loaded_options = None - _globals['_OPERATIONS'].methods_by_name['DeleteOperation']._serialized_options = b'\332A\004name\202\323\344\223\002\032*\030/v1/{name=operations/**}' - _globals['_OPERATIONS'].methods_by_name['CancelOperation']._loaded_options = None - _globals['_OPERATIONS'].methods_by_name['CancelOperation']._serialized_options = b'\332A\004name\202\323\344\223\002$\"\037/v1/{name=operations/**}:cancel:\001*' - _globals['_OPERATION']._serialized_start=262 - _globals['_OPERATION']._serialized_end=469 - _globals['_GETOPERATIONREQUEST']._serialized_start=471 - _globals['_GETOPERATIONREQUEST']._serialized_end=512 - _globals['_LISTOPERATIONSREQUEST']._serialized_start=514 - _globals['_LISTOPERATIONSREQUEST']._serialized_end=641 - _globals['_LISTOPERATIONSRESPONSE']._serialized_start=643 - _globals['_LISTOPERATIONSRESPONSE']._serialized_end=770 - _globals['_CANCELOPERATIONREQUEST']._serialized_start=772 - _globals['_CANCELOPERATIONREQUEST']._serialized_end=816 - _globals['_DELETEOPERATIONREQUEST']._serialized_start=818 - _globals['_DELETEOPERATIONREQUEST']._serialized_end=862 - _globals['_WAITOPERATIONREQUEST']._serialized_start=864 - _globals['_WAITOPERATIONREQUEST']._serialized_end=959 - _globals['_OPERATIONINFO']._serialized_start=961 - _globals['_OPERATIONINFO']._serialized_end=1050 - _globals['_OPERATIONS']._serialized_start=1053 - _globals['_OPERATIONS']._serialized_end=1735 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.google.longrunningB\017OperationsProtoP\001ZCcloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb\370\001\001\242\002\003GLX\252\002\022Google.Longrunning\312\002\022Google\\Longrunning\342\002\036Google\\Longrunning\\GPBMetadata\352\002\023Google::Longrunning" + ) + _globals["_OPERATIONS"]._loaded_options = None + _globals["_OPERATIONS"]._serialized_options = b"\312A\032longrunning.googleapis.com" + _globals["_OPERATIONS"].methods_by_name["ListOperations"]._loaded_options = None + _globals["_OPERATIONS"].methods_by_name[ + "ListOperations" + ]._serialized_options = b"\332A\013name,filter\202\323\344\223\002\027\022\025/v1/{name=operations}" + _globals["_OPERATIONS"].methods_by_name["GetOperation"]._loaded_options = None + _globals["_OPERATIONS"].methods_by_name[ + "GetOperation" + ]._serialized_options = b"\332A\004name\202\323\344\223\002\032\022\030/v1/{name=operations/**}" + _globals["_OPERATIONS"].methods_by_name["DeleteOperation"]._loaded_options = None + _globals["_OPERATIONS"].methods_by_name[ + "DeleteOperation" + ]._serialized_options = b"\332A\004name\202\323\344\223\002\032*\030/v1/{name=operations/**}" + _globals["_OPERATIONS"].methods_by_name["CancelOperation"]._loaded_options = None + _globals["_OPERATIONS"].methods_by_name[ + "CancelOperation" + ]._serialized_options = b'\332A\004name\202\323\344\223\002$"\037/v1/{name=operations/**}:cancel:\001*' + _globals["_OPERATION"]._serialized_start = 262 + _globals["_OPERATION"]._serialized_end = 469 + _globals["_GETOPERATIONREQUEST"]._serialized_start = 471 + _globals["_GETOPERATIONREQUEST"]._serialized_end = 512 + _globals["_LISTOPERATIONSREQUEST"]._serialized_start = 514 + _globals["_LISTOPERATIONSREQUEST"]._serialized_end = 641 + _globals["_LISTOPERATIONSRESPONSE"]._serialized_start = 643 + _globals["_LISTOPERATIONSRESPONSE"]._serialized_end = 770 + _globals["_CANCELOPERATIONREQUEST"]._serialized_start = 772 + _globals["_CANCELOPERATIONREQUEST"]._serialized_end = 816 + _globals["_DELETEOPERATIONREQUEST"]._serialized_start = 818 + _globals["_DELETEOPERATIONREQUEST"]._serialized_end = 862 + _globals["_WAITOPERATIONREQUEST"]._serialized_start = 864 + _globals["_WAITOPERATIONREQUEST"]._serialized_end = 959 + _globals["_OPERATIONINFO"]._serialized_start = 961 + _globals["_OPERATIONINFO"]._serialized_end = 1050 + _globals["_OPERATIONS"]._serialized_start = 1053 + _globals["_OPERATIONS"]._serialized_end = 1735 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/longrunning/operations_pb2_grpc.py b/pyinjective/proto/google/longrunning/operations_pb2_grpc.py index e0b9948f..c0f86c57 100644 --- a/pyinjective/proto/google/longrunning/operations_pb2_grpc.py +++ b/pyinjective/proto/google/longrunning/operations_pb2_grpc.py @@ -25,30 +25,35 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.ListOperations = channel.unary_unary( - '/google.longrunning.Operations/ListOperations', - request_serializer=google_dot_longrunning_dot_operations__pb2.ListOperationsRequest.SerializeToString, - response_deserializer=google_dot_longrunning_dot_operations__pb2.ListOperationsResponse.FromString, - _registered_method=True) + "/google.longrunning.Operations/ListOperations", + request_serializer=google_dot_longrunning_dot_operations__pb2.ListOperationsRequest.SerializeToString, + response_deserializer=google_dot_longrunning_dot_operations__pb2.ListOperationsResponse.FromString, + _registered_method=True, + ) self.GetOperation = channel.unary_unary( - '/google.longrunning.Operations/GetOperation', - request_serializer=google_dot_longrunning_dot_operations__pb2.GetOperationRequest.SerializeToString, - response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString, - _registered_method=True) + "/google.longrunning.Operations/GetOperation", + request_serializer=google_dot_longrunning_dot_operations__pb2.GetOperationRequest.SerializeToString, + response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString, + _registered_method=True, + ) self.DeleteOperation = channel.unary_unary( - '/google.longrunning.Operations/DeleteOperation', - request_serializer=google_dot_longrunning_dot_operations__pb2.DeleteOperationRequest.SerializeToString, - response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + "/google.longrunning.Operations/DeleteOperation", + request_serializer=google_dot_longrunning_dot_operations__pb2.DeleteOperationRequest.SerializeToString, + response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, + _registered_method=True, + ) self.CancelOperation = channel.unary_unary( - '/google.longrunning.Operations/CancelOperation', - request_serializer=google_dot_longrunning_dot_operations__pb2.CancelOperationRequest.SerializeToString, - response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + "/google.longrunning.Operations/CancelOperation", + request_serializer=google_dot_longrunning_dot_operations__pb2.CancelOperationRequest.SerializeToString, + response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, + _registered_method=True, + ) self.WaitOperation = channel.unary_unary( - '/google.longrunning.Operations/WaitOperation', - request_serializer=google_dot_longrunning_dot_operations__pb2.WaitOperationRequest.SerializeToString, - response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString, - _registered_method=True) + "/google.longrunning.Operations/WaitOperation", + request_serializer=google_dot_longrunning_dot_operations__pb2.WaitOperationRequest.SerializeToString, + response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString, + _registered_method=True, + ) class OperationsServicer(object): @@ -68,8 +73,8 @@ def ListOperations(self, request, context): server doesn't support this method, it returns `UNIMPLEMENTED`. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetOperation(self, request, context): """Gets the latest state of a long-running operation. Clients can use this @@ -77,8 +82,8 @@ def GetOperation(self, request, context): service. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DeleteOperation(self, request, context): """Deletes a long-running operation. This method indicates that the client is @@ -87,8 +92,8 @@ def DeleteOperation(self, request, context): `google.rpc.Code.UNIMPLEMENTED`. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CancelOperation(self, request, context): """Starts asynchronous cancellation on a long-running operation. The server @@ -104,8 +109,8 @@ def CancelOperation(self, request, context): `Code.CANCELLED`. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def WaitOperation(self, request, context): """Waits until the specified long-running operation is done or reaches at most @@ -119,45 +124,44 @@ def WaitOperation(self, request, context): immediate response is no guarantee that the operation is done. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_OperationsServicer_to_server(servicer, server): rpc_method_handlers = { - 'ListOperations': grpc.unary_unary_rpc_method_handler( - servicer.ListOperations, - request_deserializer=google_dot_longrunning_dot_operations__pb2.ListOperationsRequest.FromString, - response_serializer=google_dot_longrunning_dot_operations__pb2.ListOperationsResponse.SerializeToString, - ), - 'GetOperation': grpc.unary_unary_rpc_method_handler( - servicer.GetOperation, - request_deserializer=google_dot_longrunning_dot_operations__pb2.GetOperationRequest.FromString, - response_serializer=google_dot_longrunning_dot_operations__pb2.Operation.SerializeToString, - ), - 'DeleteOperation': grpc.unary_unary_rpc_method_handler( - servicer.DeleteOperation, - request_deserializer=google_dot_longrunning_dot_operations__pb2.DeleteOperationRequest.FromString, - response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, - ), - 'CancelOperation': grpc.unary_unary_rpc_method_handler( - servicer.CancelOperation, - request_deserializer=google_dot_longrunning_dot_operations__pb2.CancelOperationRequest.FromString, - response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, - ), - 'WaitOperation': grpc.unary_unary_rpc_method_handler( - servicer.WaitOperation, - request_deserializer=google_dot_longrunning_dot_operations__pb2.WaitOperationRequest.FromString, - response_serializer=google_dot_longrunning_dot_operations__pb2.Operation.SerializeToString, - ), + "ListOperations": grpc.unary_unary_rpc_method_handler( + servicer.ListOperations, + request_deserializer=google_dot_longrunning_dot_operations__pb2.ListOperationsRequest.FromString, + response_serializer=google_dot_longrunning_dot_operations__pb2.ListOperationsResponse.SerializeToString, + ), + "GetOperation": grpc.unary_unary_rpc_method_handler( + servicer.GetOperation, + request_deserializer=google_dot_longrunning_dot_operations__pb2.GetOperationRequest.FromString, + response_serializer=google_dot_longrunning_dot_operations__pb2.Operation.SerializeToString, + ), + "DeleteOperation": grpc.unary_unary_rpc_method_handler( + servicer.DeleteOperation, + request_deserializer=google_dot_longrunning_dot_operations__pb2.DeleteOperationRequest.FromString, + response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, + ), + "CancelOperation": grpc.unary_unary_rpc_method_handler( + servicer.CancelOperation, + request_deserializer=google_dot_longrunning_dot_operations__pb2.CancelOperationRequest.FromString, + response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, + ), + "WaitOperation": grpc.unary_unary_rpc_method_handler( + servicer.WaitOperation, + request_deserializer=google_dot_longrunning_dot_operations__pb2.WaitOperationRequest.FromString, + response_serializer=google_dot_longrunning_dot_operations__pb2.Operation.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'google.longrunning.Operations', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("google.longrunning.Operations", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('google.longrunning.Operations', rpc_method_handlers) + server.add_registered_method_handlers("google.longrunning.Operations", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Operations(object): """Manages long-running operations with an API service. @@ -171,20 +175,22 @@ class Operations(object): """ @staticmethod - def ListOperations(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ListOperations( + 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, - '/google.longrunning.Operations/ListOperations', + "/google.longrunning.Operations/ListOperations", google_dot_longrunning_dot_operations__pb2.ListOperationsRequest.SerializeToString, google_dot_longrunning_dot_operations__pb2.ListOperationsResponse.FromString, options, @@ -195,23 +201,26 @@ def ListOperations(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GetOperation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GetOperation( + 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, - '/google.longrunning.Operations/GetOperation', + "/google.longrunning.Operations/GetOperation", google_dot_longrunning_dot_operations__pb2.GetOperationRequest.SerializeToString, google_dot_longrunning_dot_operations__pb2.Operation.FromString, options, @@ -222,23 +231,26 @@ def GetOperation(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DeleteOperation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DeleteOperation( + 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, - '/google.longrunning.Operations/DeleteOperation', + "/google.longrunning.Operations/DeleteOperation", google_dot_longrunning_dot_operations__pb2.DeleteOperationRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, options, @@ -249,23 +261,26 @@ def DeleteOperation(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CancelOperation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CancelOperation( + 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, - '/google.longrunning.Operations/CancelOperation', + "/google.longrunning.Operations/CancelOperation", google_dot_longrunning_dot_operations__pb2.CancelOperationRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, options, @@ -276,23 +291,26 @@ def CancelOperation(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def WaitOperation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def WaitOperation( + 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, - '/google.longrunning.Operations/WaitOperation', + "/google.longrunning.Operations/WaitOperation", google_dot_longrunning_dot_operations__pb2.WaitOperationRequest.SerializeToString, google_dot_longrunning_dot_operations__pb2.Operation.FromString, options, @@ -303,4 +321,5 @@ def WaitOperation(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/google/rpc/code_pb2.py b/pyinjective/proto/google/rpc/code_pb2.py index 9dfe716c..d8ccbe2e 100644 --- a/pyinjective/proto/google/rpc/code_pb2.py +++ b/pyinjective/proto/google/rpc/code_pb2.py @@ -7,21 +7,24 @@ 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\x15google/rpc/code.proto\x12\ngoogle.rpc*\xb7\x02\n\x04\x43ode\x12\x06\n\x02OK\x10\x00\x12\r\n\tCANCELLED\x10\x01\x12\x0b\n\x07UNKNOWN\x10\x02\x12\x14\n\x10INVALID_ARGUMENT\x10\x03\x12\x15\n\x11\x44\x45\x41\x44LINE_EXCEEDED\x10\x04\x12\r\n\tNOT_FOUND\x10\x05\x12\x12\n\x0e\x41LREADY_EXISTS\x10\x06\x12\x15\n\x11PERMISSION_DENIED\x10\x07\x12\x13\n\x0fUNAUTHENTICATED\x10\x10\x12\x16\n\x12RESOURCE_EXHAUSTED\x10\x08\x12\x17\n\x13\x46\x41ILED_PRECONDITION\x10\t\x12\x0b\n\x07\x41\x42ORTED\x10\n\x12\x10\n\x0cOUT_OF_RANGE\x10\x0b\x12\x11\n\rUNIMPLEMENTED\x10\x0c\x12\x0c\n\x08INTERNAL\x10\r\x12\x0f\n\x0bUNAVAILABLE\x10\x0e\x12\r\n\tDATA_LOSS\x10\x0f\x42\x99\x01\n\x0e\x63om.google.rpcB\tCodeProtoP\x01Z3google.golang.org/genproto/googleapis/rpc/code;code\xa2\x02\x03GRX\xaa\x02\nGoogle.Rpc\xca\x02\nGoogle\\Rpc\xe2\x02\x16Google\\Rpc\\GPBMetadata\xea\x02\x0bGoogle::Rpcb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n\x15google/rpc/code.proto\x12\ngoogle.rpc*\xb7\x02\n\x04\x43ode\x12\x06\n\x02OK\x10\x00\x12\r\n\tCANCELLED\x10\x01\x12\x0b\n\x07UNKNOWN\x10\x02\x12\x14\n\x10INVALID_ARGUMENT\x10\x03\x12\x15\n\x11\x44\x45\x41\x44LINE_EXCEEDED\x10\x04\x12\r\n\tNOT_FOUND\x10\x05\x12\x12\n\x0e\x41LREADY_EXISTS\x10\x06\x12\x15\n\x11PERMISSION_DENIED\x10\x07\x12\x13\n\x0fUNAUTHENTICATED\x10\x10\x12\x16\n\x12RESOURCE_EXHAUSTED\x10\x08\x12\x17\n\x13\x46\x41ILED_PRECONDITION\x10\t\x12\x0b\n\x07\x41\x42ORTED\x10\n\x12\x10\n\x0cOUT_OF_RANGE\x10\x0b\x12\x11\n\rUNIMPLEMENTED\x10\x0c\x12\x0c\n\x08INTERNAL\x10\r\x12\x0f\n\x0bUNAVAILABLE\x10\x0e\x12\r\n\tDATA_LOSS\x10\x0f\x42\x99\x01\n\x0e\x63om.google.rpcB\tCodeProtoP\x01Z3google.golang.org/genproto/googleapis/rpc/code;code\xa2\x02\x03GRX\xaa\x02\nGoogle.Rpc\xca\x02\nGoogle\\Rpc\xe2\x02\x16Google\\Rpc\\GPBMetadata\xea\x02\x0bGoogle::Rpcb\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.rpc.code_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.rpc.code_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.rpcB\tCodeProtoP\001Z3google.golang.org/genproto/googleapis/rpc/code;code\242\002\003GRX\252\002\nGoogle.Rpc\312\002\nGoogle\\Rpc\342\002\026Google\\Rpc\\GPBMetadata\352\002\013Google::Rpc' - _globals['_CODE']._serialized_start=38 - _globals['_CODE']._serialized_end=349 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\016com.google.rpcB\tCodeProtoP\001Z3google.golang.org/genproto/googleapis/rpc/code;code\242\002\003GRX\252\002\nGoogle.Rpc\312\002\nGoogle\\Rpc\342\002\026Google\\Rpc\\GPBMetadata\352\002\013Google::Rpc" + ) + _globals["_CODE"]._serialized_start = 38 + _globals["_CODE"]._serialized_end = 349 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/rpc/code_pb2_grpc.py b/pyinjective/proto/google/rpc/code_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/google/rpc/code_pb2_grpc.py +++ b/pyinjective/proto/google/rpc/code_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/google/rpc/context/attribute_context_pb2.py b/pyinjective/proto/google/rpc/context/attribute_context_pb2.py index 4f3a626d..f81e964b 100644 --- a/pyinjective/proto/google/rpc/context/attribute_context_pb2.py +++ b/pyinjective/proto/google/rpc/context/attribute_context_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,46 +19,50 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*google/rpc/context/attribute_context.proto\x12\x12google.rpc.context\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x81\x14\n\x10\x41ttributeContext\x12\x41\n\x06origin\x18\x07 \x01(\x0b\x32).google.rpc.context.AttributeContext.PeerR\x06origin\x12\x41\n\x06source\x18\x01 \x01(\x0b\x32).google.rpc.context.AttributeContext.PeerR\x06source\x12K\n\x0b\x64\x65stination\x18\x02 \x01(\x0b\x32).google.rpc.context.AttributeContext.PeerR\x0b\x64\x65stination\x12\x46\n\x07request\x18\x03 \x01(\x0b\x32,.google.rpc.context.AttributeContext.RequestR\x07request\x12I\n\x08response\x18\x04 \x01(\x0b\x32-.google.rpc.context.AttributeContext.ResponseR\x08response\x12I\n\x08resource\x18\x05 \x01(\x0b\x32-.google.rpc.context.AttributeContext.ResourceR\x08resource\x12:\n\x03\x61pi\x18\x06 \x01(\x0b\x32(.google.rpc.context.AttributeContext.ApiR\x03\x61pi\x12\x34\n\nextensions\x18\x08 \x03(\x0b\x32\x14.google.protobuf.AnyR\nextensions\x1a\xf3\x01\n\x04Peer\x12\x0e\n\x02ip\x18\x01 \x01(\tR\x02ip\x12\x12\n\x04port\x18\x02 \x01(\x03R\x04port\x12M\n\x06labels\x18\x06 \x03(\x0b\x32\x35.google.rpc.context.AttributeContext.Peer.LabelsEntryR\x06labels\x12\x1c\n\tprincipal\x18\x07 \x01(\tR\tprincipal\x12\x1f\n\x0bregion_code\x18\x08 \x01(\tR\nregionCode\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1as\n\x03\x41pi\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x1c\n\toperation\x18\x02 \x01(\tR\toperation\x12\x1a\n\x08protocol\x18\x03 \x01(\tR\x08protocol\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x1a\xb6\x01\n\x04\x41uth\x12\x1c\n\tprincipal\x18\x01 \x01(\tR\tprincipal\x12\x1c\n\taudiences\x18\x02 \x03(\tR\taudiences\x12\x1c\n\tpresenter\x18\x03 \x01(\tR\tpresenter\x12/\n\x06\x63laims\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructR\x06\x63laims\x12#\n\raccess_levels\x18\x05 \x03(\tR\x0c\x61\x63\x63\x65ssLevels\x1a\xcf\x03\n\x07Request\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n\x06method\x18\x02 \x01(\tR\x06method\x12S\n\x07headers\x18\x03 \x03(\x0b\x32\x39.google.rpc.context.AttributeContext.Request.HeadersEntryR\x07headers\x12\x12\n\x04path\x18\x04 \x01(\tR\x04path\x12\x12\n\x04host\x18\x05 \x01(\tR\x04host\x12\x16\n\x06scheme\x18\x06 \x01(\tR\x06scheme\x12\x14\n\x05query\x18\x07 \x01(\tR\x05query\x12.\n\x04time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x04time\x12\x12\n\x04size\x18\n \x01(\x03R\x04size\x12\x1a\n\x08protocol\x18\x0b \x01(\tR\x08protocol\x12\x16\n\x06reason\x18\x0c \x01(\tR\x06reason\x12=\n\x04\x61uth\x18\r \x01(\x0b\x32).google.rpc.context.AttributeContext.AuthR\x04\x61uth\x1a:\n\x0cHeadersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\xb8\x02\n\x08Response\x12\x12\n\x04\x63ode\x18\x01 \x01(\x03R\x04\x63ode\x12\x12\n\x04size\x18\x02 \x01(\x03R\x04size\x12T\n\x07headers\x18\x03 \x03(\x0b\x32:.google.rpc.context.AttributeContext.Response.HeadersEntryR\x07headers\x12.\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x04time\x12\x42\n\x0f\x62\x61\x63kend_latency\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x62\x61\x63kendLatency\x1a:\n\x0cHeadersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\x98\x05\n\x08Resource\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x12Q\n\x06labels\x18\x04 \x03(\x0b\x32\x39.google.rpc.context.AttributeContext.Resource.LabelsEntryR\x06labels\x12\x10\n\x03uid\x18\x05 \x01(\tR\x03uid\x12`\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32>.google.rpc.context.AttributeContext.Resource.AnnotationsEntryR\x0b\x61nnotations\x12!\n\x0c\x64isplay_name\x18\x07 \x01(\tR\x0b\x64isplayName\x12;\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\x12;\n\x0b\x64\x65lete_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ndeleteTime\x12\x12\n\x04\x65tag\x18\x0b \x01(\tR\x04\x65tag\x12\x1a\n\x08location\x18\x0c \x01(\tR\x08location\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a>\n\x10\x41nnotationsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\xf3\x01\n\x16\x63om.google.rpc.contextB\x15\x41ttributeContextProtoP\x01ZUgoogle.golang.org/genproto/googleapis/rpc/context/attribute_context;attribute_context\xf8\x01\x01\xa2\x02\x03GRC\xaa\x02\x12Google.Rpc.Context\xca\x02\x12Google\\Rpc\\Context\xe2\x02\x1eGoogle\\Rpc\\Context\\GPBMetadata\xea\x02\x14Google::Rpc::Contextb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n*google/rpc/context/attribute_context.proto\x12\x12google.rpc.context\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x81\x14\n\x10\x41ttributeContext\x12\x41\n\x06origin\x18\x07 \x01(\x0b\x32).google.rpc.context.AttributeContext.PeerR\x06origin\x12\x41\n\x06source\x18\x01 \x01(\x0b\x32).google.rpc.context.AttributeContext.PeerR\x06source\x12K\n\x0b\x64\x65stination\x18\x02 \x01(\x0b\x32).google.rpc.context.AttributeContext.PeerR\x0b\x64\x65stination\x12\x46\n\x07request\x18\x03 \x01(\x0b\x32,.google.rpc.context.AttributeContext.RequestR\x07request\x12I\n\x08response\x18\x04 \x01(\x0b\x32-.google.rpc.context.AttributeContext.ResponseR\x08response\x12I\n\x08resource\x18\x05 \x01(\x0b\x32-.google.rpc.context.AttributeContext.ResourceR\x08resource\x12:\n\x03\x61pi\x18\x06 \x01(\x0b\x32(.google.rpc.context.AttributeContext.ApiR\x03\x61pi\x12\x34\n\nextensions\x18\x08 \x03(\x0b\x32\x14.google.protobuf.AnyR\nextensions\x1a\xf3\x01\n\x04Peer\x12\x0e\n\x02ip\x18\x01 \x01(\tR\x02ip\x12\x12\n\x04port\x18\x02 \x01(\x03R\x04port\x12M\n\x06labels\x18\x06 \x03(\x0b\x32\x35.google.rpc.context.AttributeContext.Peer.LabelsEntryR\x06labels\x12\x1c\n\tprincipal\x18\x07 \x01(\tR\tprincipal\x12\x1f\n\x0bregion_code\x18\x08 \x01(\tR\nregionCode\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1as\n\x03\x41pi\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x1c\n\toperation\x18\x02 \x01(\tR\toperation\x12\x1a\n\x08protocol\x18\x03 \x01(\tR\x08protocol\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x1a\xb6\x01\n\x04\x41uth\x12\x1c\n\tprincipal\x18\x01 \x01(\tR\tprincipal\x12\x1c\n\taudiences\x18\x02 \x03(\tR\taudiences\x12\x1c\n\tpresenter\x18\x03 \x01(\tR\tpresenter\x12/\n\x06\x63laims\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructR\x06\x63laims\x12#\n\raccess_levels\x18\x05 \x03(\tR\x0c\x61\x63\x63\x65ssLevels\x1a\xcf\x03\n\x07Request\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n\x06method\x18\x02 \x01(\tR\x06method\x12S\n\x07headers\x18\x03 \x03(\x0b\x32\x39.google.rpc.context.AttributeContext.Request.HeadersEntryR\x07headers\x12\x12\n\x04path\x18\x04 \x01(\tR\x04path\x12\x12\n\x04host\x18\x05 \x01(\tR\x04host\x12\x16\n\x06scheme\x18\x06 \x01(\tR\x06scheme\x12\x14\n\x05query\x18\x07 \x01(\tR\x05query\x12.\n\x04time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x04time\x12\x12\n\x04size\x18\n \x01(\x03R\x04size\x12\x1a\n\x08protocol\x18\x0b \x01(\tR\x08protocol\x12\x16\n\x06reason\x18\x0c \x01(\tR\x06reason\x12=\n\x04\x61uth\x18\r \x01(\x0b\x32).google.rpc.context.AttributeContext.AuthR\x04\x61uth\x1a:\n\x0cHeadersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\xb8\x02\n\x08Response\x12\x12\n\x04\x63ode\x18\x01 \x01(\x03R\x04\x63ode\x12\x12\n\x04size\x18\x02 \x01(\x03R\x04size\x12T\n\x07headers\x18\x03 \x03(\x0b\x32:.google.rpc.context.AttributeContext.Response.HeadersEntryR\x07headers\x12.\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x04time\x12\x42\n\x0f\x62\x61\x63kend_latency\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x62\x61\x63kendLatency\x1a:\n\x0cHeadersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\x98\x05\n\x08Resource\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x12Q\n\x06labels\x18\x04 \x03(\x0b\x32\x39.google.rpc.context.AttributeContext.Resource.LabelsEntryR\x06labels\x12\x10\n\x03uid\x18\x05 \x01(\tR\x03uid\x12`\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32>.google.rpc.context.AttributeContext.Resource.AnnotationsEntryR\x0b\x61nnotations\x12!\n\x0c\x64isplay_name\x18\x07 \x01(\tR\x0b\x64isplayName\x12;\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\x12;\n\x0b\x64\x65lete_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ndeleteTime\x12\x12\n\x04\x65tag\x18\x0b \x01(\tR\x04\x65tag\x12\x1a\n\x08location\x18\x0c \x01(\tR\x08location\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a>\n\x10\x41nnotationsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\xf3\x01\n\x16\x63om.google.rpc.contextB\x15\x41ttributeContextProtoP\x01ZUgoogle.golang.org/genproto/googleapis/rpc/context/attribute_context;attribute_context\xf8\x01\x01\xa2\x02\x03GRC\xaa\x02\x12Google.Rpc.Context\xca\x02\x12Google\\Rpc\\Context\xe2\x02\x1eGoogle\\Rpc\\Context\\GPBMetadata\xea\x02\x14Google::Rpc::Contextb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.rpc.context.attribute_context_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.rpc.context.attribute_context_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.google.rpc.contextB\025AttributeContextProtoP\001ZUgoogle.golang.org/genproto/googleapis/rpc/context/attribute_context;attribute_context\370\001\001\242\002\003GRC\252\002\022Google.Rpc.Context\312\002\022Google\\Rpc\\Context\342\002\036Google\\Rpc\\Context\\GPBMetadata\352\002\024Google::Rpc::Context' - _globals['_ATTRIBUTECONTEXT_PEER_LABELSENTRY']._loaded_options = None - _globals['_ATTRIBUTECONTEXT_PEER_LABELSENTRY']._serialized_options = b'8\001' - _globals['_ATTRIBUTECONTEXT_REQUEST_HEADERSENTRY']._loaded_options = None - _globals['_ATTRIBUTECONTEXT_REQUEST_HEADERSENTRY']._serialized_options = b'8\001' - _globals['_ATTRIBUTECONTEXT_RESPONSE_HEADERSENTRY']._loaded_options = None - _globals['_ATTRIBUTECONTEXT_RESPONSE_HEADERSENTRY']._serialized_options = b'8\001' - _globals['_ATTRIBUTECONTEXT_RESOURCE_LABELSENTRY']._loaded_options = None - _globals['_ATTRIBUTECONTEXT_RESOURCE_LABELSENTRY']._serialized_options = b'8\001' - _globals['_ATTRIBUTECONTEXT_RESOURCE_ANNOTATIONSENTRY']._loaded_options = None - _globals['_ATTRIBUTECONTEXT_RESOURCE_ANNOTATIONSENTRY']._serialized_options = b'8\001' - _globals['_ATTRIBUTECONTEXT']._serialized_start=189 - _globals['_ATTRIBUTECONTEXT']._serialized_end=2750 - _globals['_ATTRIBUTECONTEXT_PEER']._serialized_start=757 - _globals['_ATTRIBUTECONTEXT_PEER']._serialized_end=1000 - _globals['_ATTRIBUTECONTEXT_PEER_LABELSENTRY']._serialized_start=943 - _globals['_ATTRIBUTECONTEXT_PEER_LABELSENTRY']._serialized_end=1000 - _globals['_ATTRIBUTECONTEXT_API']._serialized_start=1002 - _globals['_ATTRIBUTECONTEXT_API']._serialized_end=1117 - _globals['_ATTRIBUTECONTEXT_AUTH']._serialized_start=1120 - _globals['_ATTRIBUTECONTEXT_AUTH']._serialized_end=1302 - _globals['_ATTRIBUTECONTEXT_REQUEST']._serialized_start=1305 - _globals['_ATTRIBUTECONTEXT_REQUEST']._serialized_end=1768 - _globals['_ATTRIBUTECONTEXT_REQUEST_HEADERSENTRY']._serialized_start=1710 - _globals['_ATTRIBUTECONTEXT_REQUEST_HEADERSENTRY']._serialized_end=1768 - _globals['_ATTRIBUTECONTEXT_RESPONSE']._serialized_start=1771 - _globals['_ATTRIBUTECONTEXT_RESPONSE']._serialized_end=2083 - _globals['_ATTRIBUTECONTEXT_RESPONSE_HEADERSENTRY']._serialized_start=1710 - _globals['_ATTRIBUTECONTEXT_RESPONSE_HEADERSENTRY']._serialized_end=1768 - _globals['_ATTRIBUTECONTEXT_RESOURCE']._serialized_start=2086 - _globals['_ATTRIBUTECONTEXT_RESOURCE']._serialized_end=2750 - _globals['_ATTRIBUTECONTEXT_RESOURCE_LABELSENTRY']._serialized_start=943 - _globals['_ATTRIBUTECONTEXT_RESOURCE_LABELSENTRY']._serialized_end=1000 - _globals['_ATTRIBUTECONTEXT_RESOURCE_ANNOTATIONSENTRY']._serialized_start=2688 - _globals['_ATTRIBUTECONTEXT_RESOURCE_ANNOTATIONSENTRY']._serialized_end=2750 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.google.rpc.contextB\025AttributeContextProtoP\001ZUgoogle.golang.org/genproto/googleapis/rpc/context/attribute_context;attribute_context\370\001\001\242\002\003GRC\252\002\022Google.Rpc.Context\312\002\022Google\\Rpc\\Context\342\002\036Google\\Rpc\\Context\\GPBMetadata\352\002\024Google::Rpc::Context" + ) + _globals["_ATTRIBUTECONTEXT_PEER_LABELSENTRY"]._loaded_options = None + _globals["_ATTRIBUTECONTEXT_PEER_LABELSENTRY"]._serialized_options = b"8\001" + _globals["_ATTRIBUTECONTEXT_REQUEST_HEADERSENTRY"]._loaded_options = None + _globals["_ATTRIBUTECONTEXT_REQUEST_HEADERSENTRY"]._serialized_options = b"8\001" + _globals["_ATTRIBUTECONTEXT_RESPONSE_HEADERSENTRY"]._loaded_options = None + _globals["_ATTRIBUTECONTEXT_RESPONSE_HEADERSENTRY"]._serialized_options = b"8\001" + _globals["_ATTRIBUTECONTEXT_RESOURCE_LABELSENTRY"]._loaded_options = None + _globals["_ATTRIBUTECONTEXT_RESOURCE_LABELSENTRY"]._serialized_options = b"8\001" + _globals["_ATTRIBUTECONTEXT_RESOURCE_ANNOTATIONSENTRY"]._loaded_options = None + _globals["_ATTRIBUTECONTEXT_RESOURCE_ANNOTATIONSENTRY"]._serialized_options = b"8\001" + _globals["_ATTRIBUTECONTEXT"]._serialized_start = 189 + _globals["_ATTRIBUTECONTEXT"]._serialized_end = 2750 + _globals["_ATTRIBUTECONTEXT_PEER"]._serialized_start = 757 + _globals["_ATTRIBUTECONTEXT_PEER"]._serialized_end = 1000 + _globals["_ATTRIBUTECONTEXT_PEER_LABELSENTRY"]._serialized_start = 943 + _globals["_ATTRIBUTECONTEXT_PEER_LABELSENTRY"]._serialized_end = 1000 + _globals["_ATTRIBUTECONTEXT_API"]._serialized_start = 1002 + _globals["_ATTRIBUTECONTEXT_API"]._serialized_end = 1117 + _globals["_ATTRIBUTECONTEXT_AUTH"]._serialized_start = 1120 + _globals["_ATTRIBUTECONTEXT_AUTH"]._serialized_end = 1302 + _globals["_ATTRIBUTECONTEXT_REQUEST"]._serialized_start = 1305 + _globals["_ATTRIBUTECONTEXT_REQUEST"]._serialized_end = 1768 + _globals["_ATTRIBUTECONTEXT_REQUEST_HEADERSENTRY"]._serialized_start = 1710 + _globals["_ATTRIBUTECONTEXT_REQUEST_HEADERSENTRY"]._serialized_end = 1768 + _globals["_ATTRIBUTECONTEXT_RESPONSE"]._serialized_start = 1771 + _globals["_ATTRIBUTECONTEXT_RESPONSE"]._serialized_end = 2083 + _globals["_ATTRIBUTECONTEXT_RESPONSE_HEADERSENTRY"]._serialized_start = 1710 + _globals["_ATTRIBUTECONTEXT_RESPONSE_HEADERSENTRY"]._serialized_end = 1768 + _globals["_ATTRIBUTECONTEXT_RESOURCE"]._serialized_start = 2086 + _globals["_ATTRIBUTECONTEXT_RESOURCE"]._serialized_end = 2750 + _globals["_ATTRIBUTECONTEXT_RESOURCE_LABELSENTRY"]._serialized_start = 943 + _globals["_ATTRIBUTECONTEXT_RESOURCE_LABELSENTRY"]._serialized_end = 1000 + _globals["_ATTRIBUTECONTEXT_RESOURCE_ANNOTATIONSENTRY"]._serialized_start = 2688 + _globals["_ATTRIBUTECONTEXT_RESOURCE_ANNOTATIONSENTRY"]._serialized_end = 2750 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/rpc/context/attribute_context_pb2_grpc.py b/pyinjective/proto/google/rpc/context/attribute_context_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/google/rpc/context/attribute_context_pb2_grpc.py +++ b/pyinjective/proto/google/rpc/context/attribute_context_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/google/rpc/error_details_pb2.py b/pyinjective/proto/google/rpc/error_details_pb2.py index 8e61e43c..d9daddeb 100644 --- a/pyinjective/proto/google/rpc/error_details_pb2.py +++ b/pyinjective/proto/google/rpc/error_details_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,44 +16,48 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1egoogle/rpc/error_details.proto\x12\ngoogle.rpc\x1a\x1egoogle/protobuf/duration.proto\"\xb9\x01\n\tErrorInfo\x12\x16\n\x06reason\x18\x01 \x01(\tR\x06reason\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12?\n\x08metadata\x18\x03 \x03(\x0b\x32#.google.rpc.ErrorInfo.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"G\n\tRetryInfo\x12:\n\x0bretry_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\nretryDelay\"H\n\tDebugInfo\x12#\n\rstack_entries\x18\x01 \x03(\tR\x0cstackEntries\x12\x16\n\x06\x64\x65tail\x18\x02 \x01(\tR\x06\x64\x65tail\"\x9b\x01\n\x0cQuotaFailure\x12\x42\n\nviolations\x18\x01 \x03(\x0b\x32\".google.rpc.QuotaFailure.ViolationR\nviolations\x1aG\n\tViolation\x12\x18\n\x07subject\x18\x01 \x01(\tR\x07subject\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\"\xbd\x01\n\x13PreconditionFailure\x12I\n\nviolations\x18\x01 \x03(\x0b\x32).google.rpc.PreconditionFailure.ViolationR\nviolations\x1a[\n\tViolation\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x18\n\x07subject\x18\x02 \x01(\tR\x07subject\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\"\x8c\x02\n\nBadRequest\x12P\n\x10\x66ield_violations\x18\x01 \x03(\x0b\x32%.google.rpc.BadRequest.FieldViolationR\x0f\x66ieldViolations\x1a\xab\x01\n\x0e\x46ieldViolation\x12\x14\n\x05\x66ield\x18\x01 \x01(\tR\x05\x66ield\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason\x12I\n\x11localized_message\x18\x04 \x01(\x0b\x32\x1c.google.rpc.LocalizedMessageR\x10localizedMessage\"O\n\x0bRequestInfo\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12!\n\x0cserving_data\x18\x02 \x01(\tR\x0bservingData\"\x90\x01\n\x0cResourceInfo\x12#\n\rresource_type\x18\x01 \x01(\tR\x0cresourceType\x12#\n\rresource_name\x18\x02 \x01(\tR\x0cresourceName\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05owner\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\"o\n\x04Help\x12+\n\x05links\x18\x01 \x03(\x0b\x32\x15.google.rpc.Help.LinkR\x05links\x1a:\n\x04Link\x12 \n\x0b\x64\x65scription\x18\x01 \x01(\tR\x0b\x64\x65scription\x12\x10\n\x03url\x18\x02 \x01(\tR\x03url\"D\n\x10LocalizedMessage\x12\x16\n\x06locale\x18\x01 \x01(\tR\x06locale\x12\x18\n\x07message\x18\x02 \x01(\tR\x07messageB\xad\x01\n\x0e\x63om.google.rpcB\x11\x45rrorDetailsProtoP\x01Z?google.golang.org/genproto/googleapis/rpc/errdetails;errdetails\xa2\x02\x03GRX\xaa\x02\nGoogle.Rpc\xca\x02\nGoogle\\Rpc\xe2\x02\x16Google\\Rpc\\GPBMetadata\xea\x02\x0bGoogle::Rpcb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1egoogle/rpc/error_details.proto\x12\ngoogle.rpc\x1a\x1egoogle/protobuf/duration.proto"\xb9\x01\n\tErrorInfo\x12\x16\n\x06reason\x18\x01 \x01(\tR\x06reason\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12?\n\x08metadata\x18\x03 \x03(\x0b\x32#.google.rpc.ErrorInfo.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"G\n\tRetryInfo\x12:\n\x0bretry_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\nretryDelay"H\n\tDebugInfo\x12#\n\rstack_entries\x18\x01 \x03(\tR\x0cstackEntries\x12\x16\n\x06\x64\x65tail\x18\x02 \x01(\tR\x06\x64\x65tail"\x9b\x01\n\x0cQuotaFailure\x12\x42\n\nviolations\x18\x01 \x03(\x0b\x32".google.rpc.QuotaFailure.ViolationR\nviolations\x1aG\n\tViolation\x12\x18\n\x07subject\x18\x01 \x01(\tR\x07subject\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription"\xbd\x01\n\x13PreconditionFailure\x12I\n\nviolations\x18\x01 \x03(\x0b\x32).google.rpc.PreconditionFailure.ViolationR\nviolations\x1a[\n\tViolation\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x18\n\x07subject\x18\x02 \x01(\tR\x07subject\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription"\x8c\x02\n\nBadRequest\x12P\n\x10\x66ield_violations\x18\x01 \x03(\x0b\x32%.google.rpc.BadRequest.FieldViolationR\x0f\x66ieldViolations\x1a\xab\x01\n\x0e\x46ieldViolation\x12\x14\n\x05\x66ield\x18\x01 \x01(\tR\x05\x66ield\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason\x12I\n\x11localized_message\x18\x04 \x01(\x0b\x32\x1c.google.rpc.LocalizedMessageR\x10localizedMessage"O\n\x0bRequestInfo\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12!\n\x0cserving_data\x18\x02 \x01(\tR\x0bservingData"\x90\x01\n\x0cResourceInfo\x12#\n\rresource_type\x18\x01 \x01(\tR\x0cresourceType\x12#\n\rresource_name\x18\x02 \x01(\tR\x0cresourceName\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05owner\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription"o\n\x04Help\x12+\n\x05links\x18\x01 \x03(\x0b\x32\x15.google.rpc.Help.LinkR\x05links\x1a:\n\x04Link\x12 \n\x0b\x64\x65scription\x18\x01 \x01(\tR\x0b\x64\x65scription\x12\x10\n\x03url\x18\x02 \x01(\tR\x03url"D\n\x10LocalizedMessage\x12\x16\n\x06locale\x18\x01 \x01(\tR\x06locale\x12\x18\n\x07message\x18\x02 \x01(\tR\x07messageB\xad\x01\n\x0e\x63om.google.rpcB\x11\x45rrorDetailsProtoP\x01Z?google.golang.org/genproto/googleapis/rpc/errdetails;errdetails\xa2\x02\x03GRX\xaa\x02\nGoogle.Rpc\xca\x02\nGoogle\\Rpc\xe2\x02\x16Google\\Rpc\\GPBMetadata\xea\x02\x0bGoogle::Rpcb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.rpc.error_details_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.rpc.error_details_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.rpcB\021ErrorDetailsProtoP\001Z?google.golang.org/genproto/googleapis/rpc/errdetails;errdetails\242\002\003GRX\252\002\nGoogle.Rpc\312\002\nGoogle\\Rpc\342\002\026Google\\Rpc\\GPBMetadata\352\002\013Google::Rpc' - _globals['_ERRORINFO_METADATAENTRY']._loaded_options = None - _globals['_ERRORINFO_METADATAENTRY']._serialized_options = b'8\001' - _globals['_ERRORINFO']._serialized_start=79 - _globals['_ERRORINFO']._serialized_end=264 - _globals['_ERRORINFO_METADATAENTRY']._serialized_start=205 - _globals['_ERRORINFO_METADATAENTRY']._serialized_end=264 - _globals['_RETRYINFO']._serialized_start=266 - _globals['_RETRYINFO']._serialized_end=337 - _globals['_DEBUGINFO']._serialized_start=339 - _globals['_DEBUGINFO']._serialized_end=411 - _globals['_QUOTAFAILURE']._serialized_start=414 - _globals['_QUOTAFAILURE']._serialized_end=569 - _globals['_QUOTAFAILURE_VIOLATION']._serialized_start=498 - _globals['_QUOTAFAILURE_VIOLATION']._serialized_end=569 - _globals['_PRECONDITIONFAILURE']._serialized_start=572 - _globals['_PRECONDITIONFAILURE']._serialized_end=761 - _globals['_PRECONDITIONFAILURE_VIOLATION']._serialized_start=670 - _globals['_PRECONDITIONFAILURE_VIOLATION']._serialized_end=761 - _globals['_BADREQUEST']._serialized_start=764 - _globals['_BADREQUEST']._serialized_end=1032 - _globals['_BADREQUEST_FIELDVIOLATION']._serialized_start=861 - _globals['_BADREQUEST_FIELDVIOLATION']._serialized_end=1032 - _globals['_REQUESTINFO']._serialized_start=1034 - _globals['_REQUESTINFO']._serialized_end=1113 - _globals['_RESOURCEINFO']._serialized_start=1116 - _globals['_RESOURCEINFO']._serialized_end=1260 - _globals['_HELP']._serialized_start=1262 - _globals['_HELP']._serialized_end=1373 - _globals['_HELP_LINK']._serialized_start=1315 - _globals['_HELP_LINK']._serialized_end=1373 - _globals['_LOCALIZEDMESSAGE']._serialized_start=1375 - _globals['_LOCALIZEDMESSAGE']._serialized_end=1443 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\016com.google.rpcB\021ErrorDetailsProtoP\001Z?google.golang.org/genproto/googleapis/rpc/errdetails;errdetails\242\002\003GRX\252\002\nGoogle.Rpc\312\002\nGoogle\\Rpc\342\002\026Google\\Rpc\\GPBMetadata\352\002\013Google::Rpc" + ) + _globals["_ERRORINFO_METADATAENTRY"]._loaded_options = None + _globals["_ERRORINFO_METADATAENTRY"]._serialized_options = b"8\001" + _globals["_ERRORINFO"]._serialized_start = 79 + _globals["_ERRORINFO"]._serialized_end = 264 + _globals["_ERRORINFO_METADATAENTRY"]._serialized_start = 205 + _globals["_ERRORINFO_METADATAENTRY"]._serialized_end = 264 + _globals["_RETRYINFO"]._serialized_start = 266 + _globals["_RETRYINFO"]._serialized_end = 337 + _globals["_DEBUGINFO"]._serialized_start = 339 + _globals["_DEBUGINFO"]._serialized_end = 411 + _globals["_QUOTAFAILURE"]._serialized_start = 414 + _globals["_QUOTAFAILURE"]._serialized_end = 569 + _globals["_QUOTAFAILURE_VIOLATION"]._serialized_start = 498 + _globals["_QUOTAFAILURE_VIOLATION"]._serialized_end = 569 + _globals["_PRECONDITIONFAILURE"]._serialized_start = 572 + _globals["_PRECONDITIONFAILURE"]._serialized_end = 761 + _globals["_PRECONDITIONFAILURE_VIOLATION"]._serialized_start = 670 + _globals["_PRECONDITIONFAILURE_VIOLATION"]._serialized_end = 761 + _globals["_BADREQUEST"]._serialized_start = 764 + _globals["_BADREQUEST"]._serialized_end = 1032 + _globals["_BADREQUEST_FIELDVIOLATION"]._serialized_start = 861 + _globals["_BADREQUEST_FIELDVIOLATION"]._serialized_end = 1032 + _globals["_REQUESTINFO"]._serialized_start = 1034 + _globals["_REQUESTINFO"]._serialized_end = 1113 + _globals["_RESOURCEINFO"]._serialized_start = 1116 + _globals["_RESOURCEINFO"]._serialized_end = 1260 + _globals["_HELP"]._serialized_start = 1262 + _globals["_HELP"]._serialized_end = 1373 + _globals["_HELP_LINK"]._serialized_start = 1315 + _globals["_HELP_LINK"]._serialized_end = 1373 + _globals["_LOCALIZEDMESSAGE"]._serialized_start = 1375 + _globals["_LOCALIZEDMESSAGE"]._serialized_end = 1443 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/rpc/error_details_pb2_grpc.py b/pyinjective/proto/google/rpc/error_details_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/google/rpc/error_details_pb2_grpc.py +++ b/pyinjective/proto/google/rpc/error_details_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/google/rpc/status_pb2.py b/pyinjective/proto/google/rpc/status_pb2.py index f631b92b..36bc97ac 100644 --- a/pyinjective/proto/google/rpc/status_pb2.py +++ b/pyinjective/proto/google/rpc/status_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,14 +16,18 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17google/rpc/status.proto\x12\ngoogle.rpc\x1a\x19google/protobuf/any.proto\"f\n\x06Status\x12\x12\n\x04\x63ode\x18\x01 \x01(\x05R\x04\x63ode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12.\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyR\x07\x64\x65tailsB\xa2\x01\n\x0e\x63om.google.rpcB\x0bStatusProtoP\x01Z7google.golang.org/genproto/googleapis/rpc/status;status\xf8\x01\x01\xa2\x02\x03GRX\xaa\x02\nGoogle.Rpc\xca\x02\nGoogle\\Rpc\xe2\x02\x16Google\\Rpc\\GPBMetadata\xea\x02\x0bGoogle::Rpcb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x17google/rpc/status.proto\x12\ngoogle.rpc\x1a\x19google/protobuf/any.proto"f\n\x06Status\x12\x12\n\x04\x63ode\x18\x01 \x01(\x05R\x04\x63ode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12.\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyR\x07\x64\x65tailsB\xa2\x01\n\x0e\x63om.google.rpcB\x0bStatusProtoP\x01Z7google.golang.org/genproto/googleapis/rpc/status;status\xf8\x01\x01\xa2\x02\x03GRX\xaa\x02\nGoogle.Rpc\xca\x02\nGoogle\\Rpc\xe2\x02\x16Google\\Rpc\\GPBMetadata\xea\x02\x0bGoogle::Rpcb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.rpc.status_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.rpc.status_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.rpcB\013StatusProtoP\001Z7google.golang.org/genproto/googleapis/rpc/status;status\370\001\001\242\002\003GRX\252\002\nGoogle.Rpc\312\002\nGoogle\\Rpc\342\002\026Google\\Rpc\\GPBMetadata\352\002\013Google::Rpc' - _globals['_STATUS']._serialized_start=66 - _globals['_STATUS']._serialized_end=168 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\016com.google.rpcB\013StatusProtoP\001Z7google.golang.org/genproto/googleapis/rpc/status;status\370\001\001\242\002\003GRX\252\002\nGoogle.Rpc\312\002\nGoogle\\Rpc\342\002\026Google\\Rpc\\GPBMetadata\352\002\013Google::Rpc" + ) + _globals["_STATUS"]._serialized_start = 66 + _globals["_STATUS"]._serialized_end = 168 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/rpc/status_pb2_grpc.py b/pyinjective/proto/google/rpc/status_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/google/rpc/status_pb2_grpc.py +++ b/pyinjective/proto/google/rpc/status_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/google/type/calendar_period_pb2.py b/pyinjective/proto/google/type/calendar_period_pb2.py index 0afa1071..18df0bd7 100644 --- a/pyinjective/proto/google/type/calendar_period_pb2.py +++ b/pyinjective/proto/google/type/calendar_period_pb2.py @@ -7,21 +7,24 @@ 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!google/type/calendar_period.proto\x12\x0bgoogle.type*\x7f\n\x0e\x43\x61lendarPeriod\x12\x1f\n\x1b\x43\x41LENDAR_PERIOD_UNSPECIFIED\x10\x00\x12\x07\n\x03\x44\x41Y\x10\x01\x12\x08\n\x04WEEK\x10\x02\x12\r\n\tFORTNIGHT\x10\x03\x12\t\n\x05MONTH\x10\x04\x12\x0b\n\x07QUARTER\x10\x05\x12\x08\n\x04HALF\x10\x06\x12\x08\n\x04YEAR\x10\x07\x42\xbd\x01\n\x0f\x63om.google.typeB\x13\x43\x61lendarPeriodProtoP\x01ZHgoogle.golang.org/genproto/googleapis/type/calendarperiod;calendarperiod\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n!google/type/calendar_period.proto\x12\x0bgoogle.type*\x7f\n\x0e\x43\x61lendarPeriod\x12\x1f\n\x1b\x43\x41LENDAR_PERIOD_UNSPECIFIED\x10\x00\x12\x07\n\x03\x44\x41Y\x10\x01\x12\x08\n\x04WEEK\x10\x02\x12\r\n\tFORTNIGHT\x10\x03\x12\t\n\x05MONTH\x10\x04\x12\x0b\n\x07QUARTER\x10\x05\x12\x08\n\x04HALF\x10\x06\x12\x08\n\x04YEAR\x10\x07\x42\xbd\x01\n\x0f\x63om.google.typeB\x13\x43\x61lendarPeriodProtoP\x01ZHgoogle.golang.org/genproto/googleapis/type/calendarperiod;calendarperiod\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.type.calendar_period_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.type.calendar_period_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\017com.google.typeB\023CalendarPeriodProtoP\001ZHgoogle.golang.org/genproto/googleapis/type/calendarperiod;calendarperiod\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type' - _globals['_CALENDARPERIOD']._serialized_start=50 - _globals['_CALENDARPERIOD']._serialized_end=177 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\017com.google.typeB\023CalendarPeriodProtoP\001ZHgoogle.golang.org/genproto/googleapis/type/calendarperiod;calendarperiod\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type" + ) + _globals["_CALENDARPERIOD"]._serialized_start = 50 + _globals["_CALENDARPERIOD"]._serialized_end = 177 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/type/calendar_period_pb2_grpc.py b/pyinjective/proto/google/type/calendar_period_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/google/type/calendar_period_pb2_grpc.py +++ b/pyinjective/proto/google/type/calendar_period_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/google/type/color_pb2.py b/pyinjective/proto/google/type/color_pb2.py index 1ed0f915..4db884ce 100644 --- a/pyinjective/proto/google/type/color_pb2.py +++ b/pyinjective/proto/google/type/color_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,14 +16,18 @@ from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17google/type/color.proto\x12\x0bgoogle.type\x1a\x1egoogle/protobuf/wrappers.proto\"v\n\x05\x43olor\x12\x10\n\x03red\x18\x01 \x01(\x02R\x03red\x12\x14\n\x05green\x18\x02 \x01(\x02R\x05green\x12\x12\n\x04\x62lue\x18\x03 \x01(\x02R\x04\x62lue\x12\x31\n\x05\x61lpha\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.FloatValueR\x05\x61lphaB\xa5\x01\n\x0f\x63om.google.typeB\nColorProtoP\x01Z6google.golang.org/genproto/googleapis/type/color;color\xf8\x01\x01\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x17google/type/color.proto\x12\x0bgoogle.type\x1a\x1egoogle/protobuf/wrappers.proto"v\n\x05\x43olor\x12\x10\n\x03red\x18\x01 \x01(\x02R\x03red\x12\x14\n\x05green\x18\x02 \x01(\x02R\x05green\x12\x12\n\x04\x62lue\x18\x03 \x01(\x02R\x04\x62lue\x12\x31\n\x05\x61lpha\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.FloatValueR\x05\x61lphaB\xa5\x01\n\x0f\x63om.google.typeB\nColorProtoP\x01Z6google.golang.org/genproto/googleapis/type/color;color\xf8\x01\x01\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.type.color_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.type.color_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\017com.google.typeB\nColorProtoP\001Z6google.golang.org/genproto/googleapis/type/color;color\370\001\001\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type' - _globals['_COLOR']._serialized_start=72 - _globals['_COLOR']._serialized_end=190 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\017com.google.typeB\nColorProtoP\001Z6google.golang.org/genproto/googleapis/type/color;color\370\001\001\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type" + ) + _globals["_COLOR"]._serialized_start = 72 + _globals["_COLOR"]._serialized_end = 190 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/type/color_pb2_grpc.py b/pyinjective/proto/google/type/color_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/google/type/color_pb2_grpc.py +++ b/pyinjective/proto/google/type/color_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/google/type/date_pb2.py b/pyinjective/proto/google/type/date_pb2.py index ac5364e7..fd3f51c4 100644 --- a/pyinjective/proto/google/type/date_pb2.py +++ b/pyinjective/proto/google/type/date_pb2.py @@ -7,21 +7,24 @@ 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\x16google/type/date.proto\x12\x0bgoogle.type\"B\n\x04\x44\x61te\x12\x12\n\x04year\x18\x01 \x01(\x05R\x04year\x12\x14\n\x05month\x18\x02 \x01(\x05R\x05month\x12\x10\n\x03\x64\x61y\x18\x03 \x01(\x05R\x03\x64\x61yB\xa2\x01\n\x0f\x63om.google.typeB\tDateProtoP\x01Z4google.golang.org/genproto/googleapis/type/date;date\xf8\x01\x01\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x16google/type/date.proto\x12\x0bgoogle.type"B\n\x04\x44\x61te\x12\x12\n\x04year\x18\x01 \x01(\x05R\x04year\x12\x14\n\x05month\x18\x02 \x01(\x05R\x05month\x12\x10\n\x03\x64\x61y\x18\x03 \x01(\x05R\x03\x64\x61yB\xa2\x01\n\x0f\x63om.google.typeB\tDateProtoP\x01Z4google.golang.org/genproto/googleapis/type/date;date\xf8\x01\x01\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.type.date_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.type.date_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\017com.google.typeB\tDateProtoP\001Z4google.golang.org/genproto/googleapis/type/date;date\370\001\001\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type' - _globals['_DATE']._serialized_start=39 - _globals['_DATE']._serialized_end=105 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\017com.google.typeB\tDateProtoP\001Z4google.golang.org/genproto/googleapis/type/date;date\370\001\001\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type" + ) + _globals["_DATE"]._serialized_start = 39 + _globals["_DATE"]._serialized_end = 105 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/type/date_pb2_grpc.py b/pyinjective/proto/google/type/date_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/google/type/date_pb2_grpc.py +++ b/pyinjective/proto/google/type/date_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/google/type/datetime_pb2.py b/pyinjective/proto/google/type/datetime_pb2.py index 24a5a73f..4d613bc3 100644 --- a/pyinjective/proto/google/type/datetime_pb2.py +++ b/pyinjective/proto/google/type/datetime_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1agoogle/type/datetime.proto\x12\x0bgoogle.type\x1a\x1egoogle/protobuf/duration.proto\"\xa7\x02\n\x08\x44\x61teTime\x12\x12\n\x04year\x18\x01 \x01(\x05R\x04year\x12\x14\n\x05month\x18\x02 \x01(\x05R\x05month\x12\x10\n\x03\x64\x61y\x18\x03 \x01(\x05R\x03\x64\x61y\x12\x14\n\x05hours\x18\x04 \x01(\x05R\x05hours\x12\x18\n\x07minutes\x18\x05 \x01(\x05R\x07minutes\x12\x18\n\x07seconds\x18\x06 \x01(\x05R\x07seconds\x12\x14\n\x05nanos\x18\x07 \x01(\x05R\x05nanos\x12:\n\nutc_offset\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00R\tutcOffset\x12\x34\n\ttime_zone\x18\t \x01(\x0b\x32\x15.google.type.TimeZoneH\x00R\x08timeZoneB\r\n\x0btime_offset\"4\n\x08TimeZone\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n\x07version\x18\x02 \x01(\tR\x07versionB\xae\x01\n\x0f\x63om.google.typeB\rDatetimeProtoP\x01Zgoogle.golang.org/genproto/googleapis/type/dayofweek;dayofweek\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n\x1bgoogle/type/dayofweek.proto\x12\x0bgoogle.type*\x84\x01\n\tDayOfWeek\x12\x1b\n\x17\x44\x41Y_OF_WEEK_UNSPECIFIED\x10\x00\x12\n\n\x06MONDAY\x10\x01\x12\x0b\n\x07TUESDAY\x10\x02\x12\r\n\tWEDNESDAY\x10\x03\x12\x0c\n\x08THURSDAY\x10\x04\x12\n\n\x06\x46RIDAY\x10\x05\x12\x0c\n\x08SATURDAY\x10\x06\x12\n\n\x06SUNDAY\x10\x07\x42\xae\x01\n\x0f\x63om.google.typeB\x0e\x44\x61yofweekProtoP\x01Z>google.golang.org/genproto/googleapis/type/dayofweek;dayofweek\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.type.dayofweek_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.type.dayofweek_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\017com.google.typeB\016DayofweekProtoP\001Z>google.golang.org/genproto/googleapis/type/dayofweek;dayofweek\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type' - _globals['_DAYOFWEEK']._serialized_start=45 - _globals['_DAYOFWEEK']._serialized_end=177 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\017com.google.typeB\016DayofweekProtoP\001Z>google.golang.org/genproto/googleapis/type/dayofweek;dayofweek\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type" + ) + _globals["_DAYOFWEEK"]._serialized_start = 45 + _globals["_DAYOFWEEK"]._serialized_end = 177 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/type/dayofweek_pb2_grpc.py b/pyinjective/proto/google/type/dayofweek_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/google/type/dayofweek_pb2_grpc.py +++ b/pyinjective/proto/google/type/dayofweek_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/google/type/decimal_pb2.py b/pyinjective/proto/google/type/decimal_pb2.py index 67ba6ef1..50a72f3c 100644 --- a/pyinjective/proto/google/type/decimal_pb2.py +++ b/pyinjective/proto/google/type/decimal_pb2.py @@ -7,21 +7,24 @@ 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\x19google/type/decimal.proto\x12\x0bgoogle.type\"\x1f\n\x07\x44\x65\x63imal\x12\x14\n\x05value\x18\x01 \x01(\tR\x05valueB\xab\x01\n\x0f\x63om.google.typeB\x0c\x44\x65\x63imalProtoP\x01Z:google.golang.org/genproto/googleapis/type/decimal;decimal\xf8\x01\x01\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x19google/type/decimal.proto\x12\x0bgoogle.type"\x1f\n\x07\x44\x65\x63imal\x12\x14\n\x05value\x18\x01 \x01(\tR\x05valueB\xab\x01\n\x0f\x63om.google.typeB\x0c\x44\x65\x63imalProtoP\x01Z:google.golang.org/genproto/googleapis/type/decimal;decimal\xf8\x01\x01\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.type.decimal_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.type.decimal_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\017com.google.typeB\014DecimalProtoP\001Z:google.golang.org/genproto/googleapis/type/decimal;decimal\370\001\001\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type' - _globals['_DECIMAL']._serialized_start=42 - _globals['_DECIMAL']._serialized_end=73 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\017com.google.typeB\014DecimalProtoP\001Z:google.golang.org/genproto/googleapis/type/decimal;decimal\370\001\001\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type" + ) + _globals["_DECIMAL"]._serialized_start = 42 + _globals["_DECIMAL"]._serialized_end = 73 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/type/decimal_pb2_grpc.py b/pyinjective/proto/google/type/decimal_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/google/type/decimal_pb2_grpc.py +++ b/pyinjective/proto/google/type/decimal_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/google/type/expr_pb2.py b/pyinjective/proto/google/type/expr_pb2.py index f3799ecc..b7664206 100644 --- a/pyinjective/proto/google/type/expr_pb2.py +++ b/pyinjective/proto/google/type/expr_pb2.py @@ -7,21 +7,24 @@ 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\x16google/type/expr.proto\x12\x0bgoogle.type\"z\n\x04\x45xpr\x12\x1e\n\nexpression\x18\x01 \x01(\tR\nexpression\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08location\x18\x04 \x01(\tR\x08locationB\x9f\x01\n\x0f\x63om.google.typeB\tExprProtoP\x01Z4google.golang.org/genproto/googleapis/type/expr;expr\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x16google/type/expr.proto\x12\x0bgoogle.type"z\n\x04\x45xpr\x12\x1e\n\nexpression\x18\x01 \x01(\tR\nexpression\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08location\x18\x04 \x01(\tR\x08locationB\x9f\x01\n\x0f\x63om.google.typeB\tExprProtoP\x01Z4google.golang.org/genproto/googleapis/type/expr;expr\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.type.expr_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.type.expr_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\017com.google.typeB\tExprProtoP\001Z4google.golang.org/genproto/googleapis/type/expr;expr\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type' - _globals['_EXPR']._serialized_start=39 - _globals['_EXPR']._serialized_end=161 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\017com.google.typeB\tExprProtoP\001Z4google.golang.org/genproto/googleapis/type/expr;expr\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type" + ) + _globals["_EXPR"]._serialized_start = 39 + _globals["_EXPR"]._serialized_end = 161 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/type/expr_pb2_grpc.py b/pyinjective/proto/google/type/expr_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/google/type/expr_pb2_grpc.py +++ b/pyinjective/proto/google/type/expr_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/google/type/fraction_pb2.py b/pyinjective/proto/google/type/fraction_pb2.py index 4331d1bc..7269f810 100644 --- a/pyinjective/proto/google/type/fraction_pb2.py +++ b/pyinjective/proto/google/type/fraction_pb2.py @@ -7,21 +7,24 @@ 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\x1agoogle/type/fraction.proto\x12\x0bgoogle.type\"J\n\x08\x46raction\x12\x1c\n\tnumerator\x18\x01 \x01(\x03R\tnumerator\x12 \n\x0b\x64\x65nominator\x18\x02 \x01(\x03R\x0b\x64\x65nominatorB\xab\x01\n\x0f\x63om.google.typeB\rFractionProtoP\x01Zgoogle.golang.org/genproto/googleapis/type/timeofday;timeofday\xf8\x01\x01\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1bgoogle/type/timeofday.proto\x12\x0bgoogle.type"k\n\tTimeOfDay\x12\x14\n\x05hours\x18\x01 \x01(\x05R\x05hours\x12\x18\n\x07minutes\x18\x02 \x01(\x05R\x07minutes\x12\x18\n\x07seconds\x18\x03 \x01(\x05R\x07seconds\x12\x14\n\x05nanos\x18\x04 \x01(\x05R\x05nanosB\xb1\x01\n\x0f\x63om.google.typeB\x0eTimeofdayProtoP\x01Z>google.golang.org/genproto/googleapis/type/timeofday;timeofday\xf8\x01\x01\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.type.timeofday_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.type.timeofday_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\017com.google.typeB\016TimeofdayProtoP\001Z>google.golang.org/genproto/googleapis/type/timeofday;timeofday\370\001\001\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type' - _globals['_TIMEOFDAY']._serialized_start=44 - _globals['_TIMEOFDAY']._serialized_end=151 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\017com.google.typeB\016TimeofdayProtoP\001Z>google.golang.org/genproto/googleapis/type/timeofday;timeofday\370\001\001\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type" + ) + _globals["_TIMEOFDAY"]._serialized_start = 44 + _globals["_TIMEOFDAY"]._serialized_end = 151 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/type/timeofday_pb2_grpc.py b/pyinjective/proto/google/type/timeofday_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/google/type/timeofday_pb2_grpc.py +++ b/pyinjective/proto/google/type/timeofday_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/applications/fee/v1/ack_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py index 9aad2964..2159921a 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py @@ -7,21 +7,24 @@ 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!ibc/applications/fee/v1/ack.proto\x12\x17ibc.applications.fee.v1\"\xbc\x01\n\x1bIncentivizedAcknowledgement\x12/\n\x13\x61pp_acknowledgement\x18\x01 \x01(\x0cR\x12\x61ppAcknowledgement\x12\x36\n\x17\x66orward_relayer_address\x18\x02 \x01(\tR\x15\x66orwardRelayerAddress\x12\x34\n\x16underlying_app_success\x18\x03 \x01(\x08R\x14underlyingAppSuccessB\xdd\x01\n\x1b\x63om.ibc.applications.fee.v1B\x08\x41\x63kProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n!ibc/applications/fee/v1/ack.proto\x12\x17ibc.applications.fee.v1"\xbc\x01\n\x1bIncentivizedAcknowledgement\x12/\n\x13\x61pp_acknowledgement\x18\x01 \x01(\x0cR\x12\x61ppAcknowledgement\x12\x36\n\x17\x66orward_relayer_address\x18\x02 \x01(\tR\x15\x66orwardRelayerAddress\x12\x34\n\x16underlying_app_success\x18\x03 \x01(\x08R\x14underlyingAppSuccessB\xdd\x01\n\x1b\x63om.ibc.applications.fee.v1B\x08\x41\x63kProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.ack_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.fee.v1.ack_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\010AckProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' - _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_start=63 - _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_end=251 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.ibc.applications.fee.v1B\010AckProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1" + ) + _globals["_INCENTIVIZEDACKNOWLEDGEMENT"]._serialized_start = 63 + _globals["_INCENTIVIZEDACKNOWLEDGEMENT"]._serialized_end = 251 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/applications/fee/v1/fee_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py index 9ceb29cf..2300a619 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,36 +20,52 @@ from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/fee.proto\x12\x17ibc.applications.fee.v1\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\xf4\x02\n\x03\x46\x65\x65\x12w\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_coinsR\x07recvFee\x12u\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_coinsR\x06\x61\x63kFee\x12}\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_coinsR\ntimeoutFee\"\x99\x01\n\tPacketFee\x12\x34\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00R\x03\x66\x65\x65\x12%\n\x0erefund_address\x18\x02 \x01(\tR\rrefundAddress\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:\x13\x82\xe7\xb0*\x0erefund_address\"W\n\nPacketFees\x12I\n\x0bpacket_fees\x18\x01 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00R\npacketFees\"\xa3\x01\n\x14IdentifiedPacketFees\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\x12I\n\x0bpacket_fees\x18\x02 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00R\npacketFeesB\xdd\x01\n\x1b\x63om.ibc.applications.fee.v1B\x08\x46\x65\x65ProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\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"\xf4\x02\n\x03\x46\x65\x65\x12w\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_coinsR\x07recvFee\x12u\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_coinsR\x06\x61\x63kFee\x12}\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_coinsR\ntimeoutFee"\x99\x01\n\tPacketFee\x12\x34\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00R\x03\x66\x65\x65\x12%\n\x0erefund_address\x18\x02 \x01(\tR\rrefundAddress\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:\x13\x82\xe7\xb0*\x0erefund_address"W\n\nPacketFees\x12I\n\x0bpacket_fees\x18\x01 \x03(\x0b\x32".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00R\npacketFees"\xa3\x01\n\x14IdentifiedPacketFees\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\x12I\n\x0bpacket_fees\x18\x02 \x03(\x0b\x32".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00R\npacketFeesB\xdd\x01\n\x1b\x63om.ibc.applications.fee.v1B\x08\x46\x65\x65ProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.fee_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.fee.v1.fee_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\010FeeProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' - _globals['_FEE'].fields_by_name['recv_fee']._loaded_options = None - _globals['_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' - _globals['_FEE'].fields_by_name['ack_fee']._loaded_options = None - _globals['_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' - _globals['_FEE'].fields_by_name['timeout_fee']._loaded_options = None - _globals['_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' - _globals['_PACKETFEE'].fields_by_name['fee']._loaded_options = None - _globals['_PACKETFEE'].fields_by_name['fee']._serialized_options = b'\310\336\037\000' - _globals['_PACKETFEE']._loaded_options = None - _globals['_PACKETFEE']._serialized_options = b'\202\347\260*\016refund_address' - _globals['_PACKETFEES'].fields_by_name['packet_fees']._loaded_options = None - _globals['_PACKETFEES'].fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000' - _globals['_IDENTIFIEDPACKETFEES'].fields_by_name['packet_id']._loaded_options = None - _globals['_IDENTIFIEDPACKETFEES'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' - _globals['_IDENTIFIEDPACKETFEES'].fields_by_name['packet_fees']._loaded_options = None - _globals['_IDENTIFIEDPACKETFEES'].fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000' - _globals['_FEE']._serialized_start=196 - _globals['_FEE']._serialized_end=568 - _globals['_PACKETFEE']._serialized_start=571 - _globals['_PACKETFEE']._serialized_end=724 - _globals['_PACKETFEES']._serialized_start=726 - _globals['_PACKETFEES']._serialized_end=813 - _globals['_IDENTIFIEDPACKETFEES']._serialized_start=816 - _globals['_IDENTIFIEDPACKETFEES']._serialized_end=979 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.ibc.applications.fee.v1B\010FeeProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1" + ) + _globals["_FEE"].fields_by_name["recv_fee"]._loaded_options = None + _globals["_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" + ) + _globals["_FEE"].fields_by_name["ack_fee"]._loaded_options = None + _globals["_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" + ) + _globals["_FEE"].fields_by_name["timeout_fee"]._loaded_options = None + _globals["_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" + ) + _globals["_PACKETFEE"].fields_by_name["fee"]._loaded_options = None + _globals["_PACKETFEE"].fields_by_name["fee"]._serialized_options = b"\310\336\037\000" + _globals["_PACKETFEE"]._loaded_options = None + _globals["_PACKETFEE"]._serialized_options = b"\202\347\260*\016refund_address" + _globals["_PACKETFEES"].fields_by_name["packet_fees"]._loaded_options = None + _globals["_PACKETFEES"].fields_by_name["packet_fees"]._serialized_options = b"\310\336\037\000" + _globals["_IDENTIFIEDPACKETFEES"].fields_by_name["packet_id"]._loaded_options = None + _globals["_IDENTIFIEDPACKETFEES"].fields_by_name["packet_id"]._serialized_options = b"\310\336\037\000" + _globals["_IDENTIFIEDPACKETFEES"].fields_by_name["packet_fees"]._loaded_options = None + _globals["_IDENTIFIEDPACKETFEES"].fields_by_name["packet_fees"]._serialized_options = b"\310\336\037\000" + _globals["_FEE"]._serialized_start = 196 + _globals["_FEE"]._serialized_end = 568 + _globals["_PACKETFEE"]._serialized_start = 571 + _globals["_PACKETFEE"]._serialized_end = 724 + _globals["_PACKETFEES"]._serialized_start = 726 + _globals["_PACKETFEES"]._serialized_end = 813 + _globals["_IDENTIFIEDPACKETFEES"]._serialized_start = 816 + _globals["_IDENTIFIEDPACKETFEES"]._serialized_end = 979 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/applications/fee/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py index ec4bd3ba..9ab193b3 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,34 +18,38 @@ from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/fee/v1/genesis.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\"\x91\x04\n\x0cGenesisState\x12\\\n\x0fidentified_fees\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00R\x0eidentifiedFees\x12\x62\n\x14\x66\x65\x65_enabled_channels\x18\x02 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00R\x12\x66\x65\x65\x45nabledChannels\x12[\n\x11registered_payees\x18\x03 \x03(\x0b\x32(.ibc.applications.fee.v1.RegisteredPayeeB\x04\xc8\xde\x1f\x00R\x10registeredPayees\x12\x80\x01\n\x1eregistered_counterparty_payees\x18\x04 \x03(\x0b\x32\x34.ibc.applications.fee.v1.RegisteredCounterpartyPayeeB\x04\xc8\xde\x1f\x00R\x1cregisteredCounterpartyPayees\x12_\n\x10\x66orward_relayers\x18\x05 \x03(\x0b\x32..ibc.applications.fee.v1.ForwardRelayerAddressB\x04\xc8\xde\x1f\x00R\x0f\x66orwardRelayers\"K\n\x11\x46\x65\x65\x45nabledChannel\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"`\n\x0fRegisteredPayee\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\x12\x14\n\x05payee\x18\x03 \x01(\tR\x05payee\"\x85\x01\n\x1bRegisteredCounterpartyPayee\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\x12-\n\x12\x63ounterparty_payee\x18\x03 \x01(\tR\x11\x63ounterpartyPayee\"s\n\x15\x46orwardRelayerAddress\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\tpacket_id\x18\x02 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetIdB\xe1\x01\n\x1b\x63om.ibc.applications.fee.v1B\x0cGenesisProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%ibc/applications/fee/v1/genesis.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto"\x91\x04\n\x0cGenesisState\x12\\\n\x0fidentified_fees\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00R\x0eidentifiedFees\x12\x62\n\x14\x66\x65\x65_enabled_channels\x18\x02 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00R\x12\x66\x65\x65\x45nabledChannels\x12[\n\x11registered_payees\x18\x03 \x03(\x0b\x32(.ibc.applications.fee.v1.RegisteredPayeeB\x04\xc8\xde\x1f\x00R\x10registeredPayees\x12\x80\x01\n\x1eregistered_counterparty_payees\x18\x04 \x03(\x0b\x32\x34.ibc.applications.fee.v1.RegisteredCounterpartyPayeeB\x04\xc8\xde\x1f\x00R\x1cregisteredCounterpartyPayees\x12_\n\x10\x66orward_relayers\x18\x05 \x03(\x0b\x32..ibc.applications.fee.v1.ForwardRelayerAddressB\x04\xc8\xde\x1f\x00R\x0f\x66orwardRelayers"K\n\x11\x46\x65\x65\x45nabledChannel\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"`\n\x0fRegisteredPayee\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\x12\x14\n\x05payee\x18\x03 \x01(\tR\x05payee"\x85\x01\n\x1bRegisteredCounterpartyPayee\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\x12-\n\x12\x63ounterparty_payee\x18\x03 \x01(\tR\x11\x63ounterpartyPayee"s\n\x15\x46orwardRelayerAddress\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\tpacket_id\x18\x02 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetIdB\xe1\x01\n\x1b\x63om.ibc.applications.fee.v1B\x0cGenesisProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.fee.v1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\014GenesisProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' - _globals['_GENESISSTATE'].fields_by_name['identified_fees']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['identified_fees']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['fee_enabled_channels']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['fee_enabled_channels']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['registered_payees']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['registered_payees']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['registered_counterparty_payees']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['registered_counterparty_payees']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['forward_relayers']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['forward_relayers']._serialized_options = b'\310\336\037\000' - _globals['_FORWARDRELAYERADDRESS'].fields_by_name['packet_id']._loaded_options = None - _globals['_FORWARDRELAYERADDRESS'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=159 - _globals['_GENESISSTATE']._serialized_end=688 - _globals['_FEEENABLEDCHANNEL']._serialized_start=690 - _globals['_FEEENABLEDCHANNEL']._serialized_end=765 - _globals['_REGISTEREDPAYEE']._serialized_start=767 - _globals['_REGISTEREDPAYEE']._serialized_end=863 - _globals['_REGISTEREDCOUNTERPARTYPAYEE']._serialized_start=866 - _globals['_REGISTEREDCOUNTERPARTYPAYEE']._serialized_end=999 - _globals['_FORWARDRELAYERADDRESS']._serialized_start=1001 - _globals['_FORWARDRELAYERADDRESS']._serialized_end=1116 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.ibc.applications.fee.v1B\014GenesisProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1" + ) + _globals["_GENESISSTATE"].fields_by_name["identified_fees"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["identified_fees"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["fee_enabled_channels"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["fee_enabled_channels"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["registered_payees"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["registered_payees"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["registered_counterparty_payees"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["registered_counterparty_payees"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["forward_relayers"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["forward_relayers"]._serialized_options = b"\310\336\037\000" + _globals["_FORWARDRELAYERADDRESS"].fields_by_name["packet_id"]._loaded_options = None + _globals["_FORWARDRELAYERADDRESS"].fields_by_name["packet_id"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"]._serialized_start = 159 + _globals["_GENESISSTATE"]._serialized_end = 688 + _globals["_FEEENABLEDCHANNEL"]._serialized_start = 690 + _globals["_FEEENABLEDCHANNEL"]._serialized_end = 765 + _globals["_REGISTEREDPAYEE"]._serialized_start = 767 + _globals["_REGISTEREDPAYEE"]._serialized_end = 863 + _globals["_REGISTEREDCOUNTERPARTYPAYEE"]._serialized_start = 866 + _globals["_REGISTEREDCOUNTERPARTYPAYEE"]._serialized_end = 999 + _globals["_FORWARDRELAYERADDRESS"]._serialized_start = 1001 + _globals["_FORWARDRELAYERADDRESS"]._serialized_end = 1116 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/applications/fee/v1/metadata_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py index 59685938..6c73cb36 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py @@ -7,21 +7,24 @@ 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&ibc/applications/fee/v1/metadata.proto\x12\x17ibc.applications.fee.v1\"L\n\x08Metadata\x12\x1f\n\x0b\x66\x65\x65_version\x18\x01 \x01(\tR\nfeeVersion\x12\x1f\n\x0b\x61pp_version\x18\x02 \x01(\tR\nappVersionB\xe2\x01\n\x1b\x63om.ibc.applications.fee.v1B\rMetadataProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&ibc/applications/fee/v1/metadata.proto\x12\x17ibc.applications.fee.v1"L\n\x08Metadata\x12\x1f\n\x0b\x66\x65\x65_version\x18\x01 \x01(\tR\nfeeVersion\x12\x1f\n\x0b\x61pp_version\x18\x02 \x01(\tR\nappVersionB\xe2\x01\n\x1b\x63om.ibc.applications.fee.v1B\rMetadataProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.metadata_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.fee.v1.metadata_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\rMetadataProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' - _globals['_METADATA']._serialized_start=67 - _globals['_METADATA']._serialized_end=143 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.ibc.applications.fee.v1B\rMetadataProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1" + ) + _globals["_METADATA"]._serialized_start = 67 + _globals["_METADATA"]._serialized_end = 143 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/applications/fee/v1/query_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py index db19a05b..b958bcc7 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,100 +16,146 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.ibc.applications.fee.v1 import fee_pb2 as ibc_dot_applications_dot_fee_dot_v1_dot_fee__pb2 -from pyinjective.proto.ibc.applications.fee.v1 import genesis_pb2 as ibc_dot_applications_dot_fee_dot_v1_dot_genesis__pb2 +from pyinjective.proto.ibc.applications.fee.v1 import ( + genesis_pb2 as ibc_dot_applications_dot_fee_dot_v1_dot_genesis__pb2, +) from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#ibc/applications/fee/v1/query.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a%ibc/applications/fee/v1/genesis.proto\x1a!ibc/core/channel/v1/channel.proto\"\x8c\x01\n\x1fQueryIncentivizedPacketsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12!\n\x0cquery_height\x18\x02 \x01(\x04R\x0bqueryHeight\"\xd3\x01\n QueryIncentivizedPacketsResponse\x12\x66\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00R\x13incentivizedPackets\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x85\x01\n\x1eQueryIncentivizedPacketRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\x12!\n\x0cquery_height\x18\x02 \x01(\x04R\x0bqueryHeight\"\x87\x01\n\x1fQueryIncentivizedPacketResponse\x12\x64\n\x13incentivized_packet\x18\x01 \x01(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00R\x12incentivizedPacket\"\xce\x01\n)QueryIncentivizedPacketsForChannelRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x03 \x01(\tR\tchannelId\x12!\n\x0cquery_height\x18\x04 \x01(\x04R\x0bqueryHeight\"\xd7\x01\n*QueryIncentivizedPacketsForChannelResponse\x12`\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesR\x13incentivizedPackets\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"]\n\x19QueryTotalRecvFeesRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\"\x86\x01\n\x1aQueryTotalRecvFeesResponse\x12h\n\trecv_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08recvFees\"\\\n\x18QueryTotalAckFeesRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\"\x83\x01\n\x19QueryTotalAckFeesResponse\x12\x66\n\x08\x61\x63k_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x07\x61\x63kFees\"`\n\x1cQueryTotalTimeoutFeesRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\"\x8f\x01\n\x1dQueryTotalTimeoutFeesResponse\x12n\n\x0ctimeout_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x0btimeoutFees\"L\n\x11QueryPayeeRequest\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\"9\n\x12QueryPayeeResponse\x12#\n\rpayee_address\x18\x01 \x01(\tR\x0cpayeeAddress\"X\n\x1dQueryCounterpartyPayeeRequest\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\"O\n\x1eQueryCounterpartyPayeeResponse\x12-\n\x12\x63ounterparty_payee\x18\x01 \x01(\tR\x11\x63ounterpartyPayee\"\x8b\x01\n\x1eQueryFeeEnabledChannelsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12!\n\x0cquery_height\x18\x02 \x01(\x04R\x0bqueryHeight\"\xce\x01\n\x1fQueryFeeEnabledChannelsResponse\x12\x62\n\x14\x66\x65\x65_enabled_channels\x18\x01 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00R\x12\x66\x65\x65\x45nabledChannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"W\n\x1dQueryFeeEnabledChannelRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"A\n\x1eQueryFeeEnabledChannelResponse\x12\x1f\n\x0b\x66\x65\x65_enabled\x18\x01 \x01(\x08R\nfeeEnabled2\xe6\x11\n\x05Query\x12\xb9\x01\n\x13IncentivizedPackets\x12\x38.ibc.applications.fee.v1.QueryIncentivizedPacketsRequest\x1a\x39.ibc.applications.fee.v1.QueryIncentivizedPacketsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/ibc/apps/fee/v1/incentivized_packets\x12\x8f\x02\n\x12IncentivizedPacket\x12\x37.ibc.applications.fee.v1.QueryIncentivizedPacketRequest\x1a\x38.ibc.applications.fee.v1.QueryIncentivizedPacketResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12}/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet\x12\xfd\x01\n\x1dIncentivizedPacketsForChannel\x12\x42.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelRequest\x1a\x43.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse\"S\x82\xd3\xe4\x93\x02M\x12K/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets\x12\xfc\x01\n\rTotalRecvFees\x12\x32.ibc.applications.fee.v1.QueryTotalRecvFeesRequest\x1a\x33.ibc.applications.fee.v1.QueryTotalRecvFeesResponse\"\x81\x01\x82\xd3\xe4\x93\x02{\x12y/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees\x12\xf8\x01\n\x0cTotalAckFees\x12\x31.ibc.applications.fee.v1.QueryTotalAckFeesRequest\x1a\x32.ibc.applications.fee.v1.QueryTotalAckFeesResponse\"\x80\x01\x82\xd3\xe4\x93\x02z\x12x/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees\x12\x88\x02\n\x10TotalTimeoutFees\x12\x35.ibc.applications.fee.v1.QueryTotalTimeoutFeesRequest\x1a\x36.ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse\"\x84\x01\x82\xd3\xe4\x93\x02~\x12|/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees\x12\xa9\x01\n\x05Payee\x12*.ibc.applications.fee.v1.QueryPayeeRequest\x1a+.ibc.applications.fee.v1.QueryPayeeResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee\x12\xda\x01\n\x11\x43ounterpartyPayee\x12\x36.ibc.applications.fee.v1.QueryCounterpartyPayeeRequest\x1a\x37.ibc.applications.fee.v1.QueryCounterpartyPayeeResponse\"T\x82\xd3\xe4\x93\x02N\x12L/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee\x12\xad\x01\n\x12\x46\x65\x65\x45nabledChannels\x12\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelsRequest\x1a\x38.ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/fee/v1/fee_enabled\x12\xd0\x01\n\x11\x46\x65\x65\x45nabledChannel\x12\x36.ibc.applications.fee.v1.QueryFeeEnabledChannelRequest\x1a\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabledB\xdf\x01\n\x1b\x63om.ibc.applications.fee.v1B\nQueryProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n#ibc/applications/fee/v1/query.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a%ibc/applications/fee/v1/genesis.proto\x1a!ibc/core/channel/v1/channel.proto"\x8c\x01\n\x1fQueryIncentivizedPacketsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12!\n\x0cquery_height\x18\x02 \x01(\x04R\x0bqueryHeight"\xd3\x01\n QueryIncentivizedPacketsResponse\x12\x66\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00R\x13incentivizedPackets\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x85\x01\n\x1eQueryIncentivizedPacketRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\x12!\n\x0cquery_height\x18\x02 \x01(\x04R\x0bqueryHeight"\x87\x01\n\x1fQueryIncentivizedPacketResponse\x12\x64\n\x13incentivized_packet\x18\x01 \x01(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00R\x12incentivizedPacket"\xce\x01\n)QueryIncentivizedPacketsForChannelRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x03 \x01(\tR\tchannelId\x12!\n\x0cquery_height\x18\x04 \x01(\x04R\x0bqueryHeight"\xd7\x01\n*QueryIncentivizedPacketsForChannelResponse\x12`\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesR\x13incentivizedPackets\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"]\n\x19QueryTotalRecvFeesRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId"\x86\x01\n\x1aQueryTotalRecvFeesResponse\x12h\n\trecv_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08recvFees"\\\n\x18QueryTotalAckFeesRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId"\x83\x01\n\x19QueryTotalAckFeesResponse\x12\x66\n\x08\x61\x63k_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x07\x61\x63kFees"`\n\x1cQueryTotalTimeoutFeesRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId"\x8f\x01\n\x1dQueryTotalTimeoutFeesResponse\x12n\n\x0ctimeout_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x0btimeoutFees"L\n\x11QueryPayeeRequest\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer"9\n\x12QueryPayeeResponse\x12#\n\rpayee_address\x18\x01 \x01(\tR\x0cpayeeAddress"X\n\x1dQueryCounterpartyPayeeRequest\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer"O\n\x1eQueryCounterpartyPayeeResponse\x12-\n\x12\x63ounterparty_payee\x18\x01 \x01(\tR\x11\x63ounterpartyPayee"\x8b\x01\n\x1eQueryFeeEnabledChannelsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12!\n\x0cquery_height\x18\x02 \x01(\x04R\x0bqueryHeight"\xce\x01\n\x1fQueryFeeEnabledChannelsResponse\x12\x62\n\x14\x66\x65\x65_enabled_channels\x18\x01 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00R\x12\x66\x65\x65\x45nabledChannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"W\n\x1dQueryFeeEnabledChannelRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"A\n\x1eQueryFeeEnabledChannelResponse\x12\x1f\n\x0b\x66\x65\x65_enabled\x18\x01 \x01(\x08R\nfeeEnabled2\xe6\x11\n\x05Query\x12\xb9\x01\n\x13IncentivizedPackets\x12\x38.ibc.applications.fee.v1.QueryIncentivizedPacketsRequest\x1a\x39.ibc.applications.fee.v1.QueryIncentivizedPacketsResponse"-\x82\xd3\xe4\x93\x02\'\x12%/ibc/apps/fee/v1/incentivized_packets\x12\x8f\x02\n\x12IncentivizedPacket\x12\x37.ibc.applications.fee.v1.QueryIncentivizedPacketRequest\x1a\x38.ibc.applications.fee.v1.QueryIncentivizedPacketResponse"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12}/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet\x12\xfd\x01\n\x1dIncentivizedPacketsForChannel\x12\x42.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelRequest\x1a\x43.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse"S\x82\xd3\xe4\x93\x02M\x12K/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets\x12\xfc\x01\n\rTotalRecvFees\x12\x32.ibc.applications.fee.v1.QueryTotalRecvFeesRequest\x1a\x33.ibc.applications.fee.v1.QueryTotalRecvFeesResponse"\x81\x01\x82\xd3\xe4\x93\x02{\x12y/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees\x12\xf8\x01\n\x0cTotalAckFees\x12\x31.ibc.applications.fee.v1.QueryTotalAckFeesRequest\x1a\x32.ibc.applications.fee.v1.QueryTotalAckFeesResponse"\x80\x01\x82\xd3\xe4\x93\x02z\x12x/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees\x12\x88\x02\n\x10TotalTimeoutFees\x12\x35.ibc.applications.fee.v1.QueryTotalTimeoutFeesRequest\x1a\x36.ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse"\x84\x01\x82\xd3\xe4\x93\x02~\x12|/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees\x12\xa9\x01\n\x05Payee\x12*.ibc.applications.fee.v1.QueryPayeeRequest\x1a+.ibc.applications.fee.v1.QueryPayeeResponse"G\x82\xd3\xe4\x93\x02\x41\x12?/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee\x12\xda\x01\n\x11\x43ounterpartyPayee\x12\x36.ibc.applications.fee.v1.QueryCounterpartyPayeeRequest\x1a\x37.ibc.applications.fee.v1.QueryCounterpartyPayeeResponse"T\x82\xd3\xe4\x93\x02N\x12L/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee\x12\xad\x01\n\x12\x46\x65\x65\x45nabledChannels\x12\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelsRequest\x1a\x38.ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/fee/v1/fee_enabled\x12\xd0\x01\n\x11\x46\x65\x65\x45nabledChannel\x12\x36.ibc.applications.fee.v1.QueryFeeEnabledChannelRequest\x1a\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelResponse"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabledB\xdf\x01\n\x1b\x63om.ibc.applications.fee.v1B\nQueryProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.fee.v1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\nQueryProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' - _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE'].fields_by_name['incentivized_packets']._loaded_options = None - _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE'].fields_by_name['incentivized_packets']._serialized_options = b'\310\336\037\000' - _globals['_QUERYINCENTIVIZEDPACKETREQUEST'].fields_by_name['packet_id']._loaded_options = None - _globals['_QUERYINCENTIVIZEDPACKETREQUEST'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' - _globals['_QUERYINCENTIVIZEDPACKETRESPONSE'].fields_by_name['incentivized_packet']._loaded_options = None - _globals['_QUERYINCENTIVIZEDPACKETRESPONSE'].fields_by_name['incentivized_packet']._serialized_options = b'\310\336\037\000' - _globals['_QUERYTOTALRECVFEESREQUEST'].fields_by_name['packet_id']._loaded_options = None - _globals['_QUERYTOTALRECVFEESREQUEST'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' - _globals['_QUERYTOTALRECVFEESRESPONSE'].fields_by_name['recv_fees']._loaded_options = None - _globals['_QUERYTOTALRECVFEESRESPONSE'].fields_by_name['recv_fees']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_QUERYTOTALACKFEESREQUEST'].fields_by_name['packet_id']._loaded_options = None - _globals['_QUERYTOTALACKFEESREQUEST'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' - _globals['_QUERYTOTALACKFEESRESPONSE'].fields_by_name['ack_fees']._loaded_options = None - _globals['_QUERYTOTALACKFEESRESPONSE'].fields_by_name['ack_fees']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_QUERYTOTALTIMEOUTFEESREQUEST'].fields_by_name['packet_id']._loaded_options = None - _globals['_QUERYTOTALTIMEOUTFEESREQUEST'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' - _globals['_QUERYTOTALTIMEOUTFEESRESPONSE'].fields_by_name['timeout_fees']._loaded_options = None - _globals['_QUERYTOTALTIMEOUTFEESRESPONSE'].fields_by_name['timeout_fees']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_QUERYFEEENABLEDCHANNELSRESPONSE'].fields_by_name['fee_enabled_channels']._loaded_options = None - _globals['_QUERYFEEENABLEDCHANNELSRESPONSE'].fields_by_name['fee_enabled_channels']._serialized_options = b'\310\336\037\000' - _globals['_QUERY'].methods_by_name['IncentivizedPackets']._loaded_options = None - _globals['_QUERY'].methods_by_name['IncentivizedPackets']._serialized_options = b'\202\323\344\223\002\'\022%/ibc/apps/fee/v1/incentivized_packets' - _globals['_QUERY'].methods_by_name['IncentivizedPacket']._loaded_options = None - _globals['_QUERY'].methods_by_name['IncentivizedPacket']._serialized_options = b'\202\323\344\223\002\177\022}/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet' - _globals['_QUERY'].methods_by_name['IncentivizedPacketsForChannel']._loaded_options = None - _globals['_QUERY'].methods_by_name['IncentivizedPacketsForChannel']._serialized_options = b'\202\323\344\223\002M\022K/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets' - _globals['_QUERY'].methods_by_name['TotalRecvFees']._loaded_options = None - _globals['_QUERY'].methods_by_name['TotalRecvFees']._serialized_options = b'\202\323\344\223\002{\022y/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees' - _globals['_QUERY'].methods_by_name['TotalAckFees']._loaded_options = None - _globals['_QUERY'].methods_by_name['TotalAckFees']._serialized_options = b'\202\323\344\223\002z\022x/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees' - _globals['_QUERY'].methods_by_name['TotalTimeoutFees']._loaded_options = None - _globals['_QUERY'].methods_by_name['TotalTimeoutFees']._serialized_options = b'\202\323\344\223\002~\022|/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees' - _globals['_QUERY'].methods_by_name['Payee']._loaded_options = None - _globals['_QUERY'].methods_by_name['Payee']._serialized_options = b'\202\323\344\223\002A\022?/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee' - _globals['_QUERY'].methods_by_name['CounterpartyPayee']._loaded_options = None - _globals['_QUERY'].methods_by_name['CounterpartyPayee']._serialized_options = b'\202\323\344\223\002N\022L/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee' - _globals['_QUERY'].methods_by_name['FeeEnabledChannels']._loaded_options = None - _globals['_QUERY'].methods_by_name['FeeEnabledChannels']._serialized_options = b'\202\323\344\223\002\036\022\034/ibc/apps/fee/v1/fee_enabled' - _globals['_QUERY'].methods_by_name['FeeEnabledChannel']._loaded_options = None - _globals['_QUERY'].methods_by_name['FeeEnabledChannel']._serialized_options = b'\202\323\344\223\002D\022B/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabled' - _globals['_QUERYINCENTIVIZEDPACKETSREQUEST']._serialized_start=302 - _globals['_QUERYINCENTIVIZEDPACKETSREQUEST']._serialized_end=442 - _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE']._serialized_start=445 - _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE']._serialized_end=656 - _globals['_QUERYINCENTIVIZEDPACKETREQUEST']._serialized_start=659 - _globals['_QUERYINCENTIVIZEDPACKETREQUEST']._serialized_end=792 - _globals['_QUERYINCENTIVIZEDPACKETRESPONSE']._serialized_start=795 - _globals['_QUERYINCENTIVIZEDPACKETRESPONSE']._serialized_end=930 - _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST']._serialized_start=933 - _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST']._serialized_end=1139 - _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE']._serialized_start=1142 - _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE']._serialized_end=1357 - _globals['_QUERYTOTALRECVFEESREQUEST']._serialized_start=1359 - _globals['_QUERYTOTALRECVFEESREQUEST']._serialized_end=1452 - _globals['_QUERYTOTALRECVFEESRESPONSE']._serialized_start=1455 - _globals['_QUERYTOTALRECVFEESRESPONSE']._serialized_end=1589 - _globals['_QUERYTOTALACKFEESREQUEST']._serialized_start=1591 - _globals['_QUERYTOTALACKFEESREQUEST']._serialized_end=1683 - _globals['_QUERYTOTALACKFEESRESPONSE']._serialized_start=1686 - _globals['_QUERYTOTALACKFEESRESPONSE']._serialized_end=1817 - _globals['_QUERYTOTALTIMEOUTFEESREQUEST']._serialized_start=1819 - _globals['_QUERYTOTALTIMEOUTFEESREQUEST']._serialized_end=1915 - _globals['_QUERYTOTALTIMEOUTFEESRESPONSE']._serialized_start=1918 - _globals['_QUERYTOTALTIMEOUTFEESRESPONSE']._serialized_end=2061 - _globals['_QUERYPAYEEREQUEST']._serialized_start=2063 - _globals['_QUERYPAYEEREQUEST']._serialized_end=2139 - _globals['_QUERYPAYEERESPONSE']._serialized_start=2141 - _globals['_QUERYPAYEERESPONSE']._serialized_end=2198 - _globals['_QUERYCOUNTERPARTYPAYEEREQUEST']._serialized_start=2200 - _globals['_QUERYCOUNTERPARTYPAYEEREQUEST']._serialized_end=2288 - _globals['_QUERYCOUNTERPARTYPAYEERESPONSE']._serialized_start=2290 - _globals['_QUERYCOUNTERPARTYPAYEERESPONSE']._serialized_end=2369 - _globals['_QUERYFEEENABLEDCHANNELSREQUEST']._serialized_start=2372 - _globals['_QUERYFEEENABLEDCHANNELSREQUEST']._serialized_end=2511 - _globals['_QUERYFEEENABLEDCHANNELSRESPONSE']._serialized_start=2514 - _globals['_QUERYFEEENABLEDCHANNELSRESPONSE']._serialized_end=2720 - _globals['_QUERYFEEENABLEDCHANNELREQUEST']._serialized_start=2722 - _globals['_QUERYFEEENABLEDCHANNELREQUEST']._serialized_end=2809 - _globals['_QUERYFEEENABLEDCHANNELRESPONSE']._serialized_start=2811 - _globals['_QUERYFEEENABLEDCHANNELRESPONSE']._serialized_end=2876 - _globals['_QUERY']._serialized_start=2879 - _globals['_QUERY']._serialized_end=5157 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.ibc.applications.fee.v1B\nQueryProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1" + ) + _globals["_QUERYINCENTIVIZEDPACKETSRESPONSE"].fields_by_name["incentivized_packets"]._loaded_options = None + _globals["_QUERYINCENTIVIZEDPACKETSRESPONSE"].fields_by_name[ + "incentivized_packets" + ]._serialized_options = b"\310\336\037\000" + _globals["_QUERYINCENTIVIZEDPACKETREQUEST"].fields_by_name["packet_id"]._loaded_options = None + _globals["_QUERYINCENTIVIZEDPACKETREQUEST"].fields_by_name["packet_id"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYINCENTIVIZEDPACKETRESPONSE"].fields_by_name["incentivized_packet"]._loaded_options = None + _globals["_QUERYINCENTIVIZEDPACKETRESPONSE"].fields_by_name[ + "incentivized_packet" + ]._serialized_options = b"\310\336\037\000" + _globals["_QUERYTOTALRECVFEESREQUEST"].fields_by_name["packet_id"]._loaded_options = None + _globals["_QUERYTOTALRECVFEESREQUEST"].fields_by_name["packet_id"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYTOTALRECVFEESRESPONSE"].fields_by_name["recv_fees"]._loaded_options = None + _globals["_QUERYTOTALRECVFEESRESPONSE"].fields_by_name[ + "recv_fees" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" + _globals["_QUERYTOTALACKFEESREQUEST"].fields_by_name["packet_id"]._loaded_options = None + _globals["_QUERYTOTALACKFEESREQUEST"].fields_by_name["packet_id"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYTOTALACKFEESRESPONSE"].fields_by_name["ack_fees"]._loaded_options = None + _globals["_QUERYTOTALACKFEESRESPONSE"].fields_by_name[ + "ack_fees" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" + _globals["_QUERYTOTALTIMEOUTFEESREQUEST"].fields_by_name["packet_id"]._loaded_options = None + _globals["_QUERYTOTALTIMEOUTFEESREQUEST"].fields_by_name["packet_id"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYTOTALTIMEOUTFEESRESPONSE"].fields_by_name["timeout_fees"]._loaded_options = None + _globals["_QUERYTOTALTIMEOUTFEESRESPONSE"].fields_by_name[ + "timeout_fees" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" + _globals["_QUERYFEEENABLEDCHANNELSRESPONSE"].fields_by_name["fee_enabled_channels"]._loaded_options = None + _globals["_QUERYFEEENABLEDCHANNELSRESPONSE"].fields_by_name[ + "fee_enabled_channels" + ]._serialized_options = b"\310\336\037\000" + _globals["_QUERY"].methods_by_name["IncentivizedPackets"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "IncentivizedPackets" + ]._serialized_options = b"\202\323\344\223\002'\022%/ibc/apps/fee/v1/incentivized_packets" + _globals["_QUERY"].methods_by_name["IncentivizedPacket"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "IncentivizedPacket" + ]._serialized_options = b"\202\323\344\223\002\177\022}/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet" + _globals["_QUERY"].methods_by_name["IncentivizedPacketsForChannel"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "IncentivizedPacketsForChannel" + ]._serialized_options = ( + b"\202\323\344\223\002M\022K/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets" + ) + _globals["_QUERY"].methods_by_name["TotalRecvFees"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "TotalRecvFees" + ]._serialized_options = b"\202\323\344\223\002{\022y/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees" + _globals["_QUERY"].methods_by_name["TotalAckFees"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "TotalAckFees" + ]._serialized_options = b"\202\323\344\223\002z\022x/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees" + _globals["_QUERY"].methods_by_name["TotalTimeoutFees"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "TotalTimeoutFees" + ]._serialized_options = b"\202\323\344\223\002~\022|/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees" + _globals["_QUERY"].methods_by_name["Payee"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Payee" + ]._serialized_options = b"\202\323\344\223\002A\022?/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee" + _globals["_QUERY"].methods_by_name["CounterpartyPayee"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "CounterpartyPayee" + ]._serialized_options = ( + b"\202\323\344\223\002N\022L/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee" + ) + _globals["_QUERY"].methods_by_name["FeeEnabledChannels"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "FeeEnabledChannels" + ]._serialized_options = b"\202\323\344\223\002\036\022\034/ibc/apps/fee/v1/fee_enabled" + _globals["_QUERY"].methods_by_name["FeeEnabledChannel"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "FeeEnabledChannel" + ]._serialized_options = ( + b"\202\323\344\223\002D\022B/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabled" + ) + _globals["_QUERYINCENTIVIZEDPACKETSREQUEST"]._serialized_start = 302 + _globals["_QUERYINCENTIVIZEDPACKETSREQUEST"]._serialized_end = 442 + _globals["_QUERYINCENTIVIZEDPACKETSRESPONSE"]._serialized_start = 445 + _globals["_QUERYINCENTIVIZEDPACKETSRESPONSE"]._serialized_end = 656 + _globals["_QUERYINCENTIVIZEDPACKETREQUEST"]._serialized_start = 659 + _globals["_QUERYINCENTIVIZEDPACKETREQUEST"]._serialized_end = 792 + _globals["_QUERYINCENTIVIZEDPACKETRESPONSE"]._serialized_start = 795 + _globals["_QUERYINCENTIVIZEDPACKETRESPONSE"]._serialized_end = 930 + _globals["_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST"]._serialized_start = 933 + _globals["_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST"]._serialized_end = 1139 + _globals["_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE"]._serialized_start = 1142 + _globals["_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE"]._serialized_end = 1357 + _globals["_QUERYTOTALRECVFEESREQUEST"]._serialized_start = 1359 + _globals["_QUERYTOTALRECVFEESREQUEST"]._serialized_end = 1452 + _globals["_QUERYTOTALRECVFEESRESPONSE"]._serialized_start = 1455 + _globals["_QUERYTOTALRECVFEESRESPONSE"]._serialized_end = 1589 + _globals["_QUERYTOTALACKFEESREQUEST"]._serialized_start = 1591 + _globals["_QUERYTOTALACKFEESREQUEST"]._serialized_end = 1683 + _globals["_QUERYTOTALACKFEESRESPONSE"]._serialized_start = 1686 + _globals["_QUERYTOTALACKFEESRESPONSE"]._serialized_end = 1817 + _globals["_QUERYTOTALTIMEOUTFEESREQUEST"]._serialized_start = 1819 + _globals["_QUERYTOTALTIMEOUTFEESREQUEST"]._serialized_end = 1915 + _globals["_QUERYTOTALTIMEOUTFEESRESPONSE"]._serialized_start = 1918 + _globals["_QUERYTOTALTIMEOUTFEESRESPONSE"]._serialized_end = 2061 + _globals["_QUERYPAYEEREQUEST"]._serialized_start = 2063 + _globals["_QUERYPAYEEREQUEST"]._serialized_end = 2139 + _globals["_QUERYPAYEERESPONSE"]._serialized_start = 2141 + _globals["_QUERYPAYEERESPONSE"]._serialized_end = 2198 + _globals["_QUERYCOUNTERPARTYPAYEEREQUEST"]._serialized_start = 2200 + _globals["_QUERYCOUNTERPARTYPAYEEREQUEST"]._serialized_end = 2288 + _globals["_QUERYCOUNTERPARTYPAYEERESPONSE"]._serialized_start = 2290 + _globals["_QUERYCOUNTERPARTYPAYEERESPONSE"]._serialized_end = 2369 + _globals["_QUERYFEEENABLEDCHANNELSREQUEST"]._serialized_start = 2372 + _globals["_QUERYFEEENABLEDCHANNELSREQUEST"]._serialized_end = 2511 + _globals["_QUERYFEEENABLEDCHANNELSRESPONSE"]._serialized_start = 2514 + _globals["_QUERYFEEENABLEDCHANNELSRESPONSE"]._serialized_end = 2720 + _globals["_QUERYFEEENABLEDCHANNELREQUEST"]._serialized_start = 2722 + _globals["_QUERYFEEENABLEDCHANNELREQUEST"]._serialized_end = 2809 + _globals["_QUERYFEEENABLEDCHANNELRESPONSE"]._serialized_start = 2811 + _globals["_QUERYFEEENABLEDCHANNELRESPONSE"]._serialized_end = 2876 + _globals["_QUERY"]._serialized_start = 2879 + _globals["_QUERY"]._serialized_end = 5157 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/query_pb2_grpc.py index f0e2ecd1..b492ebc3 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/fee/v1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the ICS29 gRPC querier service. - """ + """Query defines the ICS29 gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,211 +15,210 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.IncentivizedPackets = channel.unary_unary( - '/ibc.applications.fee.v1.Query/IncentivizedPackets', - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsResponse.FromString, - _registered_method=True) + "/ibc.applications.fee.v1.Query/IncentivizedPackets", + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsResponse.FromString, + _registered_method=True, + ) self.IncentivizedPacket = channel.unary_unary( - '/ibc.applications.fee.v1.Query/IncentivizedPacket', - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketResponse.FromString, - _registered_method=True) + "/ibc.applications.fee.v1.Query/IncentivizedPacket", + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketResponse.FromString, + _registered_method=True, + ) self.IncentivizedPacketsForChannel = channel.unary_unary( - '/ibc.applications.fee.v1.Query/IncentivizedPacketsForChannel', - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelResponse.FromString, - _registered_method=True) + "/ibc.applications.fee.v1.Query/IncentivizedPacketsForChannel", + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelResponse.FromString, + _registered_method=True, + ) self.TotalRecvFees = channel.unary_unary( - '/ibc.applications.fee.v1.Query/TotalRecvFees', - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesResponse.FromString, - _registered_method=True) + "/ibc.applications.fee.v1.Query/TotalRecvFees", + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesResponse.FromString, + _registered_method=True, + ) self.TotalAckFees = channel.unary_unary( - '/ibc.applications.fee.v1.Query/TotalAckFees', - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesResponse.FromString, - _registered_method=True) + "/ibc.applications.fee.v1.Query/TotalAckFees", + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesResponse.FromString, + _registered_method=True, + ) self.TotalTimeoutFees = channel.unary_unary( - '/ibc.applications.fee.v1.Query/TotalTimeoutFees', - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesResponse.FromString, - _registered_method=True) + "/ibc.applications.fee.v1.Query/TotalTimeoutFees", + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesResponse.FromString, + _registered_method=True, + ) self.Payee = channel.unary_unary( - '/ibc.applications.fee.v1.Query/Payee', - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeResponse.FromString, - _registered_method=True) + "/ibc.applications.fee.v1.Query/Payee", + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeResponse.FromString, + _registered_method=True, + ) self.CounterpartyPayee = channel.unary_unary( - '/ibc.applications.fee.v1.Query/CounterpartyPayee', - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeResponse.FromString, - _registered_method=True) + "/ibc.applications.fee.v1.Query/CounterpartyPayee", + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeResponse.FromString, + _registered_method=True, + ) self.FeeEnabledChannels = channel.unary_unary( - '/ibc.applications.fee.v1.Query/FeeEnabledChannels', - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsResponse.FromString, - _registered_method=True) + "/ibc.applications.fee.v1.Query/FeeEnabledChannels", + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsResponse.FromString, + _registered_method=True, + ) self.FeeEnabledChannel = channel.unary_unary( - '/ibc.applications.fee.v1.Query/FeeEnabledChannel', - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelResponse.FromString, - _registered_method=True) + "/ibc.applications.fee.v1.Query/FeeEnabledChannel", + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the ICS29 gRPC querier service. - """ + """Query defines the ICS29 gRPC querier service.""" def IncentivizedPackets(self, request, context): - """IncentivizedPackets returns all incentivized packets and their associated fees - """ + """IncentivizedPackets returns all incentivized packets and their associated fees""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def IncentivizedPacket(self, request, context): - """IncentivizedPacket returns all packet fees for a packet given its identifier - """ + """IncentivizedPacket returns all packet fees for a packet given its identifier""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def IncentivizedPacketsForChannel(self, request, context): - """Gets all incentivized packets for a specific channel - """ + """Gets all incentivized packets for a specific channel""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TotalRecvFees(self, request, context): - """TotalRecvFees returns the total receive fees for a packet given its identifier - """ + """TotalRecvFees returns the total receive fees for a packet given its identifier""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TotalAckFees(self, request, context): - """TotalAckFees returns the total acknowledgement fees for a packet given its identifier - """ + """TotalAckFees returns the total acknowledgement fees for a packet given its identifier""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TotalTimeoutFees(self, request, context): - """TotalTimeoutFees returns the total timeout fees for a packet given its identifier - """ + """TotalTimeoutFees returns the total timeout fees for a packet given its identifier""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Payee(self, request, context): - """Payee returns the registered payee address for a specific channel given the relayer address - """ + """Payee returns the registered payee address for a specific channel given the relayer address""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CounterpartyPayee(self, request, context): - """CounterpartyPayee returns the registered counterparty payee for forward relaying - """ + """CounterpartyPayee returns the registered counterparty payee for forward relaying""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def FeeEnabledChannels(self, request, context): - """FeeEnabledChannels returns a list of all fee enabled channels - """ + """FeeEnabledChannels returns a list of all fee enabled channels""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def FeeEnabledChannel(self, request, context): - """FeeEnabledChannel returns true if the provided port and channel identifiers belong to a fee enabled channel - """ + """FeeEnabledChannel returns true if the provided port and channel identifiers belong to a fee enabled channel""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'IncentivizedPackets': grpc.unary_unary_rpc_method_handler( - servicer.IncentivizedPackets, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsResponse.SerializeToString, - ), - 'IncentivizedPacket': grpc.unary_unary_rpc_method_handler( - servicer.IncentivizedPacket, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketResponse.SerializeToString, - ), - 'IncentivizedPacketsForChannel': grpc.unary_unary_rpc_method_handler( - servicer.IncentivizedPacketsForChannel, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelResponse.SerializeToString, - ), - 'TotalRecvFees': grpc.unary_unary_rpc_method_handler( - servicer.TotalRecvFees, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesResponse.SerializeToString, - ), - 'TotalAckFees': grpc.unary_unary_rpc_method_handler( - servicer.TotalAckFees, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesResponse.SerializeToString, - ), - 'TotalTimeoutFees': grpc.unary_unary_rpc_method_handler( - servicer.TotalTimeoutFees, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesResponse.SerializeToString, - ), - 'Payee': grpc.unary_unary_rpc_method_handler( - servicer.Payee, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeResponse.SerializeToString, - ), - 'CounterpartyPayee': grpc.unary_unary_rpc_method_handler( - servicer.CounterpartyPayee, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeResponse.SerializeToString, - ), - 'FeeEnabledChannels': grpc.unary_unary_rpc_method_handler( - servicer.FeeEnabledChannels, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsResponse.SerializeToString, - ), - 'FeeEnabledChannel': grpc.unary_unary_rpc_method_handler( - servicer.FeeEnabledChannel, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelResponse.SerializeToString, - ), + "IncentivizedPackets": grpc.unary_unary_rpc_method_handler( + servicer.IncentivizedPackets, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsResponse.SerializeToString, + ), + "IncentivizedPacket": grpc.unary_unary_rpc_method_handler( + servicer.IncentivizedPacket, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketResponse.SerializeToString, + ), + "IncentivizedPacketsForChannel": grpc.unary_unary_rpc_method_handler( + servicer.IncentivizedPacketsForChannel, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelResponse.SerializeToString, + ), + "TotalRecvFees": grpc.unary_unary_rpc_method_handler( + servicer.TotalRecvFees, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesResponse.SerializeToString, + ), + "TotalAckFees": grpc.unary_unary_rpc_method_handler( + servicer.TotalAckFees, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesResponse.SerializeToString, + ), + "TotalTimeoutFees": grpc.unary_unary_rpc_method_handler( + servicer.TotalTimeoutFees, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesResponse.SerializeToString, + ), + "Payee": grpc.unary_unary_rpc_method_handler( + servicer.Payee, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeResponse.SerializeToString, + ), + "CounterpartyPayee": grpc.unary_unary_rpc_method_handler( + servicer.CounterpartyPayee, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeResponse.SerializeToString, + ), + "FeeEnabledChannels": grpc.unary_unary_rpc_method_handler( + servicer.FeeEnabledChannels, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsResponse.SerializeToString, + ), + "FeeEnabledChannel": grpc.unary_unary_rpc_method_handler( + servicer.FeeEnabledChannel, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.applications.fee.v1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("ibc.applications.fee.v1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.applications.fee.v1.Query', rpc_method_handlers) + server.add_registered_method_handlers("ibc.applications.fee.v1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the ICS29 gRPC querier service. - """ + """Query defines the ICS29 gRPC querier service.""" @staticmethod - def IncentivizedPackets(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def IncentivizedPackets( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.fee.v1.Query/IncentivizedPackets', + "/ibc.applications.fee.v1.Query/IncentivizedPackets", ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsResponse.FromString, options, @@ -231,23 +229,26 @@ def IncentivizedPackets(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def IncentivizedPacket(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def IncentivizedPacket( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.fee.v1.Query/IncentivizedPacket', + "/ibc.applications.fee.v1.Query/IncentivizedPacket", ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketResponse.FromString, options, @@ -258,23 +259,26 @@ def IncentivizedPacket(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def IncentivizedPacketsForChannel(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def IncentivizedPacketsForChannel( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.fee.v1.Query/IncentivizedPacketsForChannel', + "/ibc.applications.fee.v1.Query/IncentivizedPacketsForChannel", ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelResponse.FromString, options, @@ -285,23 +289,26 @@ def IncentivizedPacketsForChannel(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def TotalRecvFees(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def TotalRecvFees( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.fee.v1.Query/TotalRecvFees', + "/ibc.applications.fee.v1.Query/TotalRecvFees", ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesResponse.FromString, options, @@ -312,23 +319,26 @@ def TotalRecvFees(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def TotalAckFees(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def TotalAckFees( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.fee.v1.Query/TotalAckFees', + "/ibc.applications.fee.v1.Query/TotalAckFees", ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesResponse.FromString, options, @@ -339,23 +349,26 @@ def TotalAckFees(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def TotalTimeoutFees(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def TotalTimeoutFees( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.fee.v1.Query/TotalTimeoutFees', + "/ibc.applications.fee.v1.Query/TotalTimeoutFees", ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesResponse.FromString, options, @@ -366,23 +379,26 @@ def TotalTimeoutFees(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Payee(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Payee( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.fee.v1.Query/Payee', + "/ibc.applications.fee.v1.Query/Payee", ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeResponse.FromString, options, @@ -393,23 +409,26 @@ def Payee(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CounterpartyPayee(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CounterpartyPayee( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.fee.v1.Query/CounterpartyPayee', + "/ibc.applications.fee.v1.Query/CounterpartyPayee", ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeResponse.FromString, options, @@ -420,23 +439,26 @@ def CounterpartyPayee(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def FeeEnabledChannels(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def FeeEnabledChannels( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.fee.v1.Query/FeeEnabledChannels', + "/ibc.applications.fee.v1.Query/FeeEnabledChannels", ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsResponse.FromString, options, @@ -447,23 +469,26 @@ def FeeEnabledChannels(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def FeeEnabledChannel(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def FeeEnabledChannel( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.fee.v1.Query/FeeEnabledChannel', + "/ibc.applications.fee.v1.Query/FeeEnabledChannel", ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelResponse.FromString, options, @@ -474,4 +499,5 @@ def FeeEnabledChannel(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py index 372241fc..a06b8160 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,46 +20,62 @@ from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/applications/fee/v1/tx.proto\x12\x17ibc.applications.fee.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\xac\x01\n\x10MsgRegisterPayee\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x03 \x01(\tR\x07relayer\x12\x14\n\x05payee\x18\x04 \x01(\tR\x05payee:0\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgRegisterPayee\"\x1a\n\x18MsgRegisterPayeeResponse\"\xdd\x01\n\x1cMsgRegisterCounterpartyPayee\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x03 \x01(\tR\x07relayer\x12-\n\x12\x63ounterparty_payee\x18\x04 \x01(\tR\x11\x63ounterpartyPayee:<\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\'cosmos-sdk/MsgRegisterCounterpartyPayee\"&\n$MsgRegisterCounterpartyPayeeResponse\"\x82\x02\n\x0fMsgPayPacketFee\x12\x39\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x03\x66\x65\x65\x12$\n\x0esource_port_id\x18\x02 \x01(\tR\x0csourcePortId\x12*\n\x11source_channel_id\x18\x03 \x01(\tR\x0fsourceChannelId\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:.\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgPayPacketFee\"\x19\n\x17MsgPayPacketFeeResponse\"\xe4\x01\n\x14MsgPayPacketFeeAsync\x12\x45\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08packetId\x12L\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tpacketFee: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\xdc\x01\n\x1b\x63om.ibc.applications.fee.v1B\x07TxProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\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"\xac\x01\n\x10MsgRegisterPayee\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x03 \x01(\tR\x07relayer\x12\x14\n\x05payee\x18\x04 \x01(\tR\x05payee:0\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgRegisterPayee"\x1a\n\x18MsgRegisterPayeeResponse"\xdd\x01\n\x1cMsgRegisterCounterpartyPayee\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x03 \x01(\tR\x07relayer\x12-\n\x12\x63ounterparty_payee\x18\x04 \x01(\tR\x11\x63ounterpartyPayee:<\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\'cosmos-sdk/MsgRegisterCounterpartyPayee"&\n$MsgRegisterCounterpartyPayeeResponse"\x82\x02\n\x0fMsgPayPacketFee\x12\x39\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x03\x66\x65\x65\x12$\n\x0esource_port_id\x18\x02 \x01(\tR\x0csourcePortId\x12*\n\x11source_channel_id\x18\x03 \x01(\tR\x0fsourceChannelId\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:.\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgPayPacketFee"\x19\n\x17MsgPayPacketFeeResponse"\xe4\x01\n\x14MsgPayPacketFeeAsync\x12\x45\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08packetId\x12L\n\npacket_fee\x18\x02 \x01(\x0b\x32".ibc.applications.fee.v1.PacketFeeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tpacketFee: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\xdc\x01\n\x1b\x63om.ibc.applications.fee.v1B\x07TxProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.fee.v1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\007TxProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' - _globals['_MSGREGISTERPAYEE']._loaded_options = None - _globals['_MSGREGISTERPAYEE']._serialized_options = b'\210\240\037\000\202\347\260*\007relayer\212\347\260*\033cosmos-sdk/MsgRegisterPayee' - _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._loaded_options = None - _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_options = b'\210\240\037\000\202\347\260*\007relayer\212\347\260*\'cosmos-sdk/MsgRegisterCounterpartyPayee' - _globals['_MSGPAYPACKETFEE'].fields_by_name['fee']._loaded_options = None - _globals['_MSGPAYPACKETFEE'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGPAYPACKETFEE']._loaded_options = None - _globals['_MSGPAYPACKETFEE']._serialized_options = b'\210\240\037\000\202\347\260*\006signer\212\347\260*\032cosmos-sdk/MsgPayPacketFee' - _globals['_MSGPAYPACKETFEEASYNC'].fields_by_name['packet_id']._loaded_options = None - _globals['_MSGPAYPACKETFEEASYNC'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGPAYPACKETFEEASYNC'].fields_by_name['packet_fee']._loaded_options = None - _globals['_MSGPAYPACKETFEEASYNC'].fields_by_name['packet_fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGPAYPACKETFEEASYNC']._loaded_options = None - _globals['_MSGPAYPACKETFEEASYNC']._serialized_options = b'\210\240\037\000\202\347\260*\npacket_fee\212\347\260*\037cosmos-sdk/MsgPayPacketFeeAsync' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGREGISTERPAYEE']._serialized_start=198 - _globals['_MSGREGISTERPAYEE']._serialized_end=370 - _globals['_MSGREGISTERPAYEERESPONSE']._serialized_start=372 - _globals['_MSGREGISTERPAYEERESPONSE']._serialized_end=398 - _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_start=401 - _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_end=622 - _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_start=624 - _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_end=662 - _globals['_MSGPAYPACKETFEE']._serialized_start=665 - _globals['_MSGPAYPACKETFEE']._serialized_end=923 - _globals['_MSGPAYPACKETFEERESPONSE']._serialized_start=925 - _globals['_MSGPAYPACKETFEERESPONSE']._serialized_end=950 - _globals['_MSGPAYPACKETFEEASYNC']._serialized_start=953 - _globals['_MSGPAYPACKETFEEASYNC']._serialized_end=1181 - _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_start=1183 - _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_end=1213 - _globals['_MSG']._serialized_start=1216 - _globals['_MSG']._serialized_end=1718 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.ibc.applications.fee.v1B\007TxProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1" + ) + _globals["_MSGREGISTERPAYEE"]._loaded_options = None + _globals["_MSGREGISTERPAYEE"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\007relayer\212\347\260*\033cosmos-sdk/MsgRegisterPayee" + ) + _globals["_MSGREGISTERCOUNTERPARTYPAYEE"]._loaded_options = None + _globals["_MSGREGISTERCOUNTERPARTYPAYEE"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\007relayer\212\347\260*'cosmos-sdk/MsgRegisterCounterpartyPayee" + ) + _globals["_MSGPAYPACKETFEE"].fields_by_name["fee"]._loaded_options = None + _globals["_MSGPAYPACKETFEE"].fields_by_name["fee"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGPAYPACKETFEE"]._loaded_options = None + _globals["_MSGPAYPACKETFEE"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\006signer\212\347\260*\032cosmos-sdk/MsgPayPacketFee" + ) + _globals["_MSGPAYPACKETFEEASYNC"].fields_by_name["packet_id"]._loaded_options = None + _globals["_MSGPAYPACKETFEEASYNC"].fields_by_name[ + "packet_id" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGPAYPACKETFEEASYNC"].fields_by_name["packet_fee"]._loaded_options = None + _globals["_MSGPAYPACKETFEEASYNC"].fields_by_name[ + "packet_fee" + ]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGPAYPACKETFEEASYNC"]._loaded_options = None + _globals["_MSGPAYPACKETFEEASYNC"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\npacket_fee\212\347\260*\037cosmos-sdk/MsgPayPacketFeeAsync" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGREGISTERPAYEE"]._serialized_start = 198 + _globals["_MSGREGISTERPAYEE"]._serialized_end = 370 + _globals["_MSGREGISTERPAYEERESPONSE"]._serialized_start = 372 + _globals["_MSGREGISTERPAYEERESPONSE"]._serialized_end = 398 + _globals["_MSGREGISTERCOUNTERPARTYPAYEE"]._serialized_start = 401 + _globals["_MSGREGISTERCOUNTERPARTYPAYEE"]._serialized_end = 622 + _globals["_MSGREGISTERCOUNTERPARTYPAYEERESPONSE"]._serialized_start = 624 + _globals["_MSGREGISTERCOUNTERPARTYPAYEERESPONSE"]._serialized_end = 662 + _globals["_MSGPAYPACKETFEE"]._serialized_start = 665 + _globals["_MSGPAYPACKETFEE"]._serialized_end = 923 + _globals["_MSGPAYPACKETFEERESPONSE"]._serialized_start = 925 + _globals["_MSGPAYPACKETFEERESPONSE"]._serialized_end = 950 + _globals["_MSGPAYPACKETFEEASYNC"]._serialized_start = 953 + _globals["_MSGPAYPACKETFEEASYNC"]._serialized_end = 1181 + _globals["_MSGPAYPACKETFEEASYNCRESPONSE"]._serialized_start = 1183 + _globals["_MSGPAYPACKETFEEASYNCRESPONSE"]._serialized_end = 1213 + _globals["_MSG"]._serialized_start = 1216 + _globals["_MSG"]._serialized_end = 1718 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2_grpc.py index a5cf040a..07b1b027 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the ICS29 Msg service. - """ + """Msg defines the ICS29 Msg service.""" def __init__(self, channel): """Constructor. @@ -16,30 +15,33 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.RegisterPayee = channel.unary_unary( - '/ibc.applications.fee.v1.Msg/RegisterPayee', - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayee.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayeeResponse.FromString, - _registered_method=True) + "/ibc.applications.fee.v1.Msg/RegisterPayee", + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayee.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayeeResponse.FromString, + _registered_method=True, + ) self.RegisterCounterpartyPayee = channel.unary_unary( - '/ibc.applications.fee.v1.Msg/RegisterCounterpartyPayee', - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayee.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayeeResponse.FromString, - _registered_method=True) + "/ibc.applications.fee.v1.Msg/RegisterCounterpartyPayee", + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayee.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayeeResponse.FromString, + _registered_method=True, + ) self.PayPacketFee = channel.unary_unary( - '/ibc.applications.fee.v1.Msg/PayPacketFee', - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFee.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeResponse.FromString, - _registered_method=True) + "/ibc.applications.fee.v1.Msg/PayPacketFee", + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFee.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeResponse.FromString, + _registered_method=True, + ) self.PayPacketFeeAsync = channel.unary_unary( - '/ibc.applications.fee.v1.Msg/PayPacketFeeAsync', - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsync.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsyncResponse.FromString, - _registered_method=True) + "/ibc.applications.fee.v1.Msg/PayPacketFeeAsync", + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsync.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsyncResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the ICS29 Msg service. - """ + """Msg defines the ICS29 Msg service.""" def RegisterPayee(self, request, context): """RegisterPayee defines a rpc handler method for MsgRegisterPayee @@ -49,8 +51,8 @@ def RegisterPayee(self, request, context): called more than once by a relayer, in which case, the latest payee is always used. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RegisterCounterpartyPayee(self, request, context): """RegisterCounterpartyPayee defines a rpc handler method for MsgRegisterCounterpartyPayee @@ -60,8 +62,8 @@ def RegisterCounterpartyPayee(self, request, context): may be called more than once by a relayer, in which case, the latest counterparty payee address is always used. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PayPacketFee(self, request, context): """PayPacketFee defines a rpc handler method for MsgPayPacketFee @@ -71,8 +73,8 @@ def PayPacketFee(self, request, context): initiates the lifecycle of the incentivized packet """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PayPacketFeeAsync(self, request, context): """PayPacketFeeAsync defines a rpc handler method for MsgPayPacketFeeAsync @@ -80,59 +82,59 @@ def PayPacketFeeAsync(self, request, context): incentivize the relaying of a known packet (i.e. at a particular sequence) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'RegisterPayee': grpc.unary_unary_rpc_method_handler( - servicer.RegisterPayee, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayee.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayeeResponse.SerializeToString, - ), - 'RegisterCounterpartyPayee': grpc.unary_unary_rpc_method_handler( - servicer.RegisterCounterpartyPayee, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayee.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayeeResponse.SerializeToString, - ), - 'PayPacketFee': grpc.unary_unary_rpc_method_handler( - servicer.PayPacketFee, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFee.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeResponse.SerializeToString, - ), - 'PayPacketFeeAsync': grpc.unary_unary_rpc_method_handler( - servicer.PayPacketFeeAsync, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsync.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsyncResponse.SerializeToString, - ), + "RegisterPayee": grpc.unary_unary_rpc_method_handler( + servicer.RegisterPayee, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayee.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayeeResponse.SerializeToString, + ), + "RegisterCounterpartyPayee": grpc.unary_unary_rpc_method_handler( + servicer.RegisterCounterpartyPayee, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayee.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayeeResponse.SerializeToString, + ), + "PayPacketFee": grpc.unary_unary_rpc_method_handler( + servicer.PayPacketFee, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFee.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeResponse.SerializeToString, + ), + "PayPacketFeeAsync": grpc.unary_unary_rpc_method_handler( + servicer.PayPacketFeeAsync, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsync.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsyncResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.applications.fee.v1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("ibc.applications.fee.v1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.applications.fee.v1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("ibc.applications.fee.v1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the ICS29 Msg service. - """ + """Msg defines the ICS29 Msg service.""" @staticmethod - def RegisterPayee(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RegisterPayee( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.fee.v1.Msg/RegisterPayee', + "/ibc.applications.fee.v1.Msg/RegisterPayee", ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayee.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayeeResponse.FromString, options, @@ -143,23 +145,26 @@ def RegisterPayee(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RegisterCounterpartyPayee(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RegisterCounterpartyPayee( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.fee.v1.Msg/RegisterCounterpartyPayee', + "/ibc.applications.fee.v1.Msg/RegisterCounterpartyPayee", ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayee.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayeeResponse.FromString, options, @@ -170,23 +175,26 @@ def RegisterCounterpartyPayee(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PayPacketFee(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PayPacketFee( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.fee.v1.Msg/PayPacketFee', + "/ibc.applications.fee.v1.Msg/PayPacketFee", ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFee.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeResponse.FromString, options, @@ -197,23 +205,26 @@ def PayPacketFee(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PayPacketFeeAsync(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PayPacketFeeAsync( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.fee.v1.Msg/PayPacketFeeAsync', + "/ibc.applications.fee.v1.Msg/PayPacketFeeAsync", ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsync.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsyncResponse.FromString, options, @@ -224,4 +235,5 @@ def PayPacketFeeAsync(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py index f1fa0f0f..88841bdd 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py @@ -7,21 +7,26 @@ 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'\nCibc/applications/interchain_accounts/controller/v1/controller.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\"7\n\x06Params\x12-\n\x12\x63ontroller_enabled\x18\x01 \x01(\x08R\x11\x63ontrollerEnabledB\x84\x03\n6com.ibc.applications.interchain_accounts.controller.v1B\x0f\x43ontrollerProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\nCibc/applications/interchain_accounts/controller/v1/controller.proto\x12\x32ibc.applications.interchain_accounts.controller.v1"7\n\x06Params\x12-\n\x12\x63ontroller_enabled\x18\x01 \x01(\x08R\x11\x63ontrollerEnabledB\x84\x03\n6com.ibc.applications.interchain_accounts.controller.v1B\x0f\x43ontrollerProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.controller_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "ibc.applications.interchain_accounts.controller.v1.controller_pb2", _globals +) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n6com.ibc.applications.interchain_accounts.controller.v1B\017ControllerProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1' - _globals['_PARAMS']._serialized_start=123 - _globals['_PARAMS']._serialized_end=178 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n6com.ibc.applications.interchain_accounts.controller.v1B\017ControllerProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1" + ) + _globals["_PARAMS"]._serialized_start = 123 + _globals["_PARAMS"]._serialized_end = 178 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/applications/interchain_accounts/controller/v1/query_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py index b8b32282..e19ad9ba 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py @@ -7,35 +7,48 @@ 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 pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import ( + controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2, +) from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>ibc/applications/interchain_accounts/controller/v1/query.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x1cgoogle/api/annotations.proto\"Z\n\x1dQueryInterchainAccountRequest\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId\":\n\x1eQueryInterchainAccountResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"\x14\n\x12QueryParamsRequest\"i\n\x13QueryParamsResponse\x12R\n\x06params\x18\x01 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsR\x06params2\xfc\x03\n\x05Query\x12\x9a\x02\n\x11InterchainAccount\x12Q.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest\x1aR.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse\"^\x82\xd3\xe4\x93\x02X\x12V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}\x12\xd5\x01\n\x06Params\x12\x46.ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest\x1aG.ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/ibc/apps/interchain_accounts/controller/v1/paramsB\xff\x02\n6com.ibc.applications.interchain_accounts.controller.v1B\nQueryProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n>ibc/applications/interchain_accounts/controller/v1/query.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x1cgoogle/api/annotations.proto"Z\n\x1dQueryInterchainAccountRequest\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId":\n\x1eQueryInterchainAccountResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress"\x14\n\x12QueryParamsRequest"i\n\x13QueryParamsResponse\x12R\n\x06params\x18\x01 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsR\x06params2\xfc\x03\n\x05Query\x12\x9a\x02\n\x11InterchainAccount\x12Q.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest\x1aR.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse"^\x82\xd3\xe4\x93\x02X\x12V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}\x12\xd5\x01\n\x06Params\x12\x46.ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest\x1aG.ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse":\x82\xd3\xe4\x93\x02\x34\x12\x32/ibc/apps/interchain_accounts/controller/v1/paramsB\xff\x02\n6com.ibc.applications.interchain_accounts.controller.v1B\nQueryProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "ibc.applications.interchain_accounts.controller.v1.query_pb2", _globals +) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n6com.ibc.applications.interchain_accounts.controller.v1B\nQueryProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1' - _globals['_QUERY'].methods_by_name['InterchainAccount']._loaded_options = None - _globals['_QUERY'].methods_by_name['InterchainAccount']._serialized_options = b'\202\323\344\223\002X\022V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\0024\0222/ibc/apps/interchain_accounts/controller/v1/params' - _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_start=217 - _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_end=307 - _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_start=309 - _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_end=367 - _globals['_QUERYPARAMSREQUEST']._serialized_start=369 - _globals['_QUERYPARAMSREQUEST']._serialized_end=389 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=391 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=496 - _globals['_QUERY']._serialized_start=499 - _globals['_QUERY']._serialized_end=1007 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n6com.ibc.applications.interchain_accounts.controller.v1B\nQueryProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1" + ) + _globals["_QUERY"].methods_by_name["InterchainAccount"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "InterchainAccount" + ]._serialized_options = b"\202\323\344\223\002X\022V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}" + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\202\323\344\223\0024\0222/ibc/apps/interchain_accounts/controller/v1/params" + _globals["_QUERYINTERCHAINACCOUNTREQUEST"]._serialized_start = 217 + _globals["_QUERYINTERCHAINACCOUNTREQUEST"]._serialized_end = 307 + _globals["_QUERYINTERCHAINACCOUNTRESPONSE"]._serialized_start = 309 + _globals["_QUERYINTERCHAINACCOUNTRESPONSE"]._serialized_end = 367 + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 369 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 389 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 391 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 496 + _globals["_QUERY"]._serialized_start = 499 + _globals["_QUERY"]._serialized_end = 1007 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2_grpc.py index 20b6b332..5b34f10e 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2_grpc.py @@ -2,12 +2,13 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import query_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import ( + query_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2, +) class QueryStub(object): - """Query provides defines the gRPC querier service. - """ + """Query provides defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,75 +17,78 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.InterchainAccount = channel.unary_unary( - '/ibc.applications.interchain_accounts.controller.v1.Query/InterchainAccount', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountResponse.FromString, - _registered_method=True) + "/ibc.applications.interchain_accounts.controller.v1.Query/InterchainAccount", + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountResponse.FromString, + _registered_method=True, + ) self.Params = channel.unary_unary( - '/ibc.applications.interchain_accounts.controller.v1.Query/Params', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/ibc.applications.interchain_accounts.controller.v1.Query/Params", + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query provides defines the gRPC querier service. - """ + """Query provides defines the gRPC querier service.""" def InterchainAccount(self, request, context): - """InterchainAccount returns the interchain account address for a given owner address on a given connection - """ + """InterchainAccount returns the interchain account address for a given owner address on a given connection""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Params(self, request, context): - """Params queries all parameters of the ICA controller submodule. - """ + """Params queries all parameters of the ICA controller submodule.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'InterchainAccount': grpc.unary_unary_rpc_method_handler( - servicer.InterchainAccount, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountRequest.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountResponse.SerializeToString, - ), - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), + "InterchainAccount": grpc.unary_unary_rpc_method_handler( + servicer.InterchainAccount, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountRequest.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountResponse.SerializeToString, + ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - 'ibc.applications.interchain_accounts.controller.v1.Query', rpc_method_handlers) + "ibc.applications.interchain_accounts.controller.v1.Query", rpc_method_handlers + ) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.applications.interchain_accounts.controller.v1.Query', rpc_method_handlers) + server.add_registered_method_handlers( + "ibc.applications.interchain_accounts.controller.v1.Query", rpc_method_handlers + ) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query provides defines the gRPC querier service. - """ + """Query provides defines the gRPC querier service.""" @staticmethod - def InterchainAccount(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def InterchainAccount( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.interchain_accounts.controller.v1.Query/InterchainAccount', + "/ibc.applications.interchain_accounts.controller.v1.Query/InterchainAccount", ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountRequest.SerializeToString, ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountResponse.FromString, options, @@ -95,23 +99,26 @@ def InterchainAccount(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.interchain_accounts.controller.v1.Query/Params', + "/ibc.applications.interchain_accounts.controller.v1.Query/Params", ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -122,4 +129,5 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py index b28dfc6d..f23f4ec4 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py @@ -7,54 +7,65 @@ 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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.ibc.applications.interchain_accounts.v1 import packet_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_v1_dot_packet__pb2 -from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.v1 import ( + packet_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_v1_dot_packet__pb2, +) +from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import ( + controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2, +) from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;ibc/applications/interchain_accounts/controller/v1/tx.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x14gogoproto/gogo.proto\x1a\x34ibc/applications/interchain_accounts/v1/packet.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a!ibc/core/channel/v1/channel.proto\"\xbb\x01\n\x1cMsgRegisterInterchainAccount\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x36\n\x08ordering\x18\x04 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner\"d\n$MsgRegisterInterchainAccountResponse\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId:\x04\x88\xa0\x1f\x00\"\xee\x01\n\tMsgSendTx\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId\x12k\n\x0bpacket_data\x18\x03 \x01(\x0b\x32\x44.ibc.applications.interchain_accounts.v1.InterchainAccountPacketDataB\x04\xc8\xde\x1f\x00R\npacketData\x12)\n\x10relative_timeout\x18\x04 \x01(\x04R\x0frelativeTimeout:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner\"5\n\x11MsgSendTxResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00\"\x94\x01\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12X\n\x06params\x18\x02 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\x8a\x04\n\x03Msg\x12\xc7\x01\n\x19RegisterInterchainAccount\x12P.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount\x1aX.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse\x12\x8e\x01\n\x06SendTx\x12=.ibc.applications.interchain_accounts.controller.v1.MsgSendTx\x1a\x45.ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse\x12\xa0\x01\n\x0cUpdateParams\x12\x43.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams\x1aK.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xfc\x02\n6com.ibc.applications.interchain_accounts.controller.v1B\x07TxProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n;ibc/applications/interchain_accounts/controller/v1/tx.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x14gogoproto/gogo.proto\x1a\x34ibc/applications/interchain_accounts/v1/packet.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a!ibc/core/channel/v1/channel.proto"\xbb\x01\n\x1cMsgRegisterInterchainAccount\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x36\n\x08ordering\x18\x04 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner"d\n$MsgRegisterInterchainAccountResponse\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId:\x04\x88\xa0\x1f\x00"\xee\x01\n\tMsgSendTx\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId\x12k\n\x0bpacket_data\x18\x03 \x01(\x0b\x32\x44.ibc.applications.interchain_accounts.v1.InterchainAccountPacketDataB\x04\xc8\xde\x1f\x00R\npacketData\x12)\n\x10relative_timeout\x18\x04 \x01(\x04R\x0frelativeTimeout:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner"5\n\x11MsgSendTxResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00"\x94\x01\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12X\n\x06params\x18\x02 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x19\n\x17MsgUpdateParamsResponse2\x8a\x04\n\x03Msg\x12\xc7\x01\n\x19RegisterInterchainAccount\x12P.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount\x1aX.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse\x12\x8e\x01\n\x06SendTx\x12=.ibc.applications.interchain_accounts.controller.v1.MsgSendTx\x1a\x45.ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse\x12\xa0\x01\n\x0cUpdateParams\x12\x43.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams\x1aK.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xfc\x02\n6com.ibc.applications.interchain_accounts.controller.v1B\x07TxProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "ibc.applications.interchain_accounts.controller.v1.tx_pb2", _globals +) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n6com.ibc.applications.interchain_accounts.controller.v1B\007TxProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1' - _globals['_MSGREGISTERINTERCHAINACCOUNT']._loaded_options = None - _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_options = b'\210\240\037\000\202\347\260*\005owner' - _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._loaded_options = None - _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGSENDTX'].fields_by_name['packet_data']._loaded_options = None - _globals['_MSGSENDTX'].fields_by_name['packet_data']._serialized_options = b'\310\336\037\000' - _globals['_MSGSENDTX']._loaded_options = None - _globals['_MSGSENDTX']._serialized_options = b'\210\240\037\000\202\347\260*\005owner' - _globals['_MSGSENDTXRESPONSE']._loaded_options = None - _globals['_MSGSENDTXRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_start=321 - _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_end=508 - _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_start=510 - _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_end=610 - _globals['_MSGSENDTX']._serialized_start=613 - _globals['_MSGSENDTX']._serialized_end=851 - _globals['_MSGSENDTXRESPONSE']._serialized_start=853 - _globals['_MSGSENDTXRESPONSE']._serialized_end=906 - _globals['_MSGUPDATEPARAMS']._serialized_start=909 - _globals['_MSGUPDATEPARAMS']._serialized_end=1057 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1059 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1084 - _globals['_MSG']._serialized_start=1087 - _globals['_MSG']._serialized_end=1609 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n6com.ibc.applications.interchain_accounts.controller.v1B\007TxProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1" + ) + _globals["_MSGREGISTERINTERCHAINACCOUNT"]._loaded_options = None + _globals["_MSGREGISTERINTERCHAINACCOUNT"]._serialized_options = b"\210\240\037\000\202\347\260*\005owner" + _globals["_MSGREGISTERINTERCHAINACCOUNTRESPONSE"]._loaded_options = None + _globals["_MSGREGISTERINTERCHAINACCOUNTRESPONSE"]._serialized_options = b"\210\240\037\000" + _globals["_MSGSENDTX"].fields_by_name["packet_data"]._loaded_options = None + _globals["_MSGSENDTX"].fields_by_name["packet_data"]._serialized_options = b"\310\336\037\000" + _globals["_MSGSENDTX"]._loaded_options = None + _globals["_MSGSENDTX"]._serialized_options = b"\210\240\037\000\202\347\260*\005owner" + _globals["_MSGSENDTXRESPONSE"]._loaded_options = None + _globals["_MSGSENDTXRESPONSE"]._serialized_options = b"\210\240\037\000" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGREGISTERINTERCHAINACCOUNT"]._serialized_start = 321 + _globals["_MSGREGISTERINTERCHAINACCOUNT"]._serialized_end = 508 + _globals["_MSGREGISTERINTERCHAINACCOUNTRESPONSE"]._serialized_start = 510 + _globals["_MSGREGISTERINTERCHAINACCOUNTRESPONSE"]._serialized_end = 610 + _globals["_MSGSENDTX"]._serialized_start = 613 + _globals["_MSGSENDTX"]._serialized_end = 851 + _globals["_MSGSENDTXRESPONSE"]._serialized_start = 853 + _globals["_MSGSENDTXRESPONSE"]._serialized_end = 906 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 909 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 1057 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1059 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1084 + _globals["_MSG"]._serialized_start = 1087 + _globals["_MSG"]._serialized_end = 1609 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py index bc8d5510..48f10718 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py @@ -2,12 +2,13 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import tx_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import ( + tx_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2, +) class MsgStub(object): - """Msg defines the 27-interchain-accounts/controller Msg service. - """ + """Msg defines the 27-interchain-accounts/controller Msg service.""" def __init__(self, channel): """Constructor. @@ -16,92 +17,93 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.RegisterInterchainAccount = channel.unary_unary( - '/ibc.applications.interchain_accounts.controller.v1.Msg/RegisterInterchainAccount', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccount.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccountResponse.FromString, - _registered_method=True) + "/ibc.applications.interchain_accounts.controller.v1.Msg/RegisterInterchainAccount", + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccount.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccountResponse.FromString, + _registered_method=True, + ) self.SendTx = channel.unary_unary( - '/ibc.applications.interchain_accounts.controller.v1.Msg/SendTx', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.FromString, - _registered_method=True) + "/ibc.applications.interchain_accounts.controller.v1.Msg/SendTx", + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.FromString, + _registered_method=True, + ) self.UpdateParams = channel.unary_unary( - '/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams", + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the 27-interchain-accounts/controller Msg service. - """ + """Msg defines the 27-interchain-accounts/controller Msg service.""" def RegisterInterchainAccount(self, request, context): - """RegisterInterchainAccount defines a rpc handler for MsgRegisterInterchainAccount. - """ + """RegisterInterchainAccount defines a rpc handler for MsgRegisterInterchainAccount.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SendTx(self, request, context): - """SendTx defines a rpc handler for MsgSendTx. - """ + """SendTx defines a rpc handler for MsgSendTx.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateParams(self, request, context): - """UpdateParams defines a rpc handler for MsgUpdateParams. - """ + """UpdateParams defines a rpc handler for MsgUpdateParams.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'RegisterInterchainAccount': grpc.unary_unary_rpc_method_handler( - servicer.RegisterInterchainAccount, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccount.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccountResponse.SerializeToString, - ), - 'SendTx': grpc.unary_unary_rpc_method_handler( - servicer.SendTx, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + "RegisterInterchainAccount": grpc.unary_unary_rpc_method_handler( + servicer.RegisterInterchainAccount, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccount.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccountResponse.SerializeToString, + ), + "SendTx": grpc.unary_unary_rpc_method_handler( + servicer.SendTx, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.SerializeToString, + ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - 'ibc.applications.interchain_accounts.controller.v1.Msg', rpc_method_handlers) + "ibc.applications.interchain_accounts.controller.v1.Msg", rpc_method_handlers + ) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.applications.interchain_accounts.controller.v1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("ibc.applications.interchain_accounts.controller.v1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the 27-interchain-accounts/controller Msg service. - """ + """Msg defines the 27-interchain-accounts/controller Msg service.""" @staticmethod - def RegisterInterchainAccount(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RegisterInterchainAccount( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.interchain_accounts.controller.v1.Msg/RegisterInterchainAccount', + "/ibc.applications.interchain_accounts.controller.v1.Msg/RegisterInterchainAccount", ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccount.SerializeToString, ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccountResponse.FromString, options, @@ -112,23 +114,26 @@ def RegisterInterchainAccount(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SendTx(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SendTx( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.interchain_accounts.controller.v1.Msg/SendTx', + "/ibc.applications.interchain_accounts.controller.v1.Msg/SendTx", ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.SerializeToString, ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.FromString, options, @@ -139,23 +144,26 @@ def SendTx(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams', + "/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams", ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -166,4 +174,5 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py index 194654ee..49b8f7c3 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py @@ -7,48 +7,59 @@ 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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2 -from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import ( + controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2, +) +from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import ( + host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=ibc/applications/interchain_accounts/genesis/v1/genesis.proto\x12/ibc.applications.interchain_accounts.genesis.v1\x1a\x14gogoproto/gogo.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x8f\x02\n\x0cGenesisState\x12\x87\x01\n\x18\x63ontroller_genesis_state\x18\x01 \x01(\x0b\x32G.ibc.applications.interchain_accounts.genesis.v1.ControllerGenesisStateB\x04\xc8\xde\x1f\x00R\x16\x63ontrollerGenesisState\x12u\n\x12host_genesis_state\x18\x02 \x01(\x0b\x32\x41.ibc.applications.interchain_accounts.genesis.v1.HostGenesisStateB\x04\xc8\xde\x1f\x00R\x10hostGenesisState\"\xfd\x02\n\x16\x43ontrollerGenesisState\x12m\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00R\x0e\x61\x63tiveChannels\x12\x83\x01\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00R\x12interchainAccounts\x12\x14\n\x05ports\x18\x03 \x03(\tR\x05ports\x12X\n\x06params\x18\x04 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\xef\x02\n\x10HostGenesisState\x12m\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00R\x0e\x61\x63tiveChannels\x12\x83\x01\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00R\x12interchainAccounts\x12\x12\n\x04port\x18\x03 \x01(\tR\x04port\x12R\n\x06params\x18\x04 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\xa0\x01\n\rActiveChannel\x12#\n\rconnection_id\x18\x01 \x01(\tR\x0c\x63onnectionId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x03 \x01(\tR\tchannelId\x12\x32\n\x15is_middleware_enabled\x18\x04 \x01(\x08R\x13isMiddlewareEnabled\"\x84\x01\n\x1bRegisteredInterchainAccount\x12#\n\rconnection_id\x18\x01 \x01(\tR\x0c\x63onnectionId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tR\x0e\x61\x63\x63ountAddressB\xef\x02\n3com.ibc.applications.interchain_accounts.genesis.v1B\x0cGenesisProtoP\x01ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types\xa2\x02\x04IAIG\xaa\x02.Ibc.Applications.InterchainAccounts.Genesis.V1\xca\x02.Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\xe2\x02:Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\\GPBMetadata\xea\x02\x32Ibc::Applications::InterchainAccounts::Genesis::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n=ibc/applications/interchain_accounts/genesis/v1/genesis.proto\x12/ibc.applications.interchain_accounts.genesis.v1\x1a\x14gogoproto/gogo.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto"\x8f\x02\n\x0cGenesisState\x12\x87\x01\n\x18\x63ontroller_genesis_state\x18\x01 \x01(\x0b\x32G.ibc.applications.interchain_accounts.genesis.v1.ControllerGenesisStateB\x04\xc8\xde\x1f\x00R\x16\x63ontrollerGenesisState\x12u\n\x12host_genesis_state\x18\x02 \x01(\x0b\x32\x41.ibc.applications.interchain_accounts.genesis.v1.HostGenesisStateB\x04\xc8\xde\x1f\x00R\x10hostGenesisState"\xfd\x02\n\x16\x43ontrollerGenesisState\x12m\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00R\x0e\x61\x63tiveChannels\x12\x83\x01\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00R\x12interchainAccounts\x12\x14\n\x05ports\x18\x03 \x03(\tR\x05ports\x12X\n\x06params\x18\x04 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\xef\x02\n\x10HostGenesisState\x12m\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00R\x0e\x61\x63tiveChannels\x12\x83\x01\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00R\x12interchainAccounts\x12\x12\n\x04port\x18\x03 \x01(\tR\x04port\x12R\n\x06params\x18\x04 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\xa0\x01\n\rActiveChannel\x12#\n\rconnection_id\x18\x01 \x01(\tR\x0c\x63onnectionId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x03 \x01(\tR\tchannelId\x12\x32\n\x15is_middleware_enabled\x18\x04 \x01(\x08R\x13isMiddlewareEnabled"\x84\x01\n\x1bRegisteredInterchainAccount\x12#\n\rconnection_id\x18\x01 \x01(\tR\x0c\x63onnectionId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tR\x0e\x61\x63\x63ountAddressB\xef\x02\n3com.ibc.applications.interchain_accounts.genesis.v1B\x0cGenesisProtoP\x01ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types\xa2\x02\x04IAIG\xaa\x02.Ibc.Applications.InterchainAccounts.Genesis.V1\xca\x02.Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\xe2\x02:Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\\GPBMetadata\xea\x02\x32Ibc::Applications::InterchainAccounts::Genesis::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.genesis.v1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "ibc.applications.interchain_accounts.genesis.v1.genesis_pb2", _globals +) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n3com.ibc.applications.interchain_accounts.genesis.v1B\014GenesisProtoP\001ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types\242\002\004IAIG\252\002.Ibc.Applications.InterchainAccounts.Genesis.V1\312\002.Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\342\002:Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\\GPBMetadata\352\0022Ibc::Applications::InterchainAccounts::Genesis::V1' - _globals['_GENESISSTATE'].fields_by_name['controller_genesis_state']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['controller_genesis_state']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['host_genesis_state']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['host_genesis_state']._serialized_options = b'\310\336\037\000' - _globals['_CONTROLLERGENESISSTATE'].fields_by_name['active_channels']._loaded_options = None - _globals['_CONTROLLERGENESISSTATE'].fields_by_name['active_channels']._serialized_options = b'\310\336\037\000' - _globals['_CONTROLLERGENESISSTATE'].fields_by_name['interchain_accounts']._loaded_options = None - _globals['_CONTROLLERGENESISSTATE'].fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000' - _globals['_CONTROLLERGENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_CONTROLLERGENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_HOSTGENESISSTATE'].fields_by_name['active_channels']._loaded_options = None - _globals['_HOSTGENESISSTATE'].fields_by_name['active_channels']._serialized_options = b'\310\336\037\000' - _globals['_HOSTGENESISSTATE'].fields_by_name['interchain_accounts']._loaded_options = None - _globals['_HOSTGENESISSTATE'].fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000' - _globals['_HOSTGENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_HOSTGENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=263 - _globals['_GENESISSTATE']._serialized_end=534 - _globals['_CONTROLLERGENESISSTATE']._serialized_start=537 - _globals['_CONTROLLERGENESISSTATE']._serialized_end=918 - _globals['_HOSTGENESISSTATE']._serialized_start=921 - _globals['_HOSTGENESISSTATE']._serialized_end=1288 - _globals['_ACTIVECHANNEL']._serialized_start=1291 - _globals['_ACTIVECHANNEL']._serialized_end=1451 - _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_start=1454 - _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_end=1586 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n3com.ibc.applications.interchain_accounts.genesis.v1B\014GenesisProtoP\001ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types\242\002\004IAIG\252\002.Ibc.Applications.InterchainAccounts.Genesis.V1\312\002.Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\342\002:Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\\GPBMetadata\352\0022Ibc::Applications::InterchainAccounts::Genesis::V1" + ) + _globals["_GENESISSTATE"].fields_by_name["controller_genesis_state"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["controller_genesis_state"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["host_genesis_state"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["host_genesis_state"]._serialized_options = b"\310\336\037\000" + _globals["_CONTROLLERGENESISSTATE"].fields_by_name["active_channels"]._loaded_options = None + _globals["_CONTROLLERGENESISSTATE"].fields_by_name["active_channels"]._serialized_options = b"\310\336\037\000" + _globals["_CONTROLLERGENESISSTATE"].fields_by_name["interchain_accounts"]._loaded_options = None + _globals["_CONTROLLERGENESISSTATE"].fields_by_name["interchain_accounts"]._serialized_options = b"\310\336\037\000" + _globals["_CONTROLLERGENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_CONTROLLERGENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_HOSTGENESISSTATE"].fields_by_name["active_channels"]._loaded_options = None + _globals["_HOSTGENESISSTATE"].fields_by_name["active_channels"]._serialized_options = b"\310\336\037\000" + _globals["_HOSTGENESISSTATE"].fields_by_name["interchain_accounts"]._loaded_options = None + _globals["_HOSTGENESISSTATE"].fields_by_name["interchain_accounts"]._serialized_options = b"\310\336\037\000" + _globals["_HOSTGENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_HOSTGENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"]._serialized_start = 263 + _globals["_GENESISSTATE"]._serialized_end = 534 + _globals["_CONTROLLERGENESISSTATE"]._serialized_start = 537 + _globals["_CONTROLLERGENESISSTATE"]._serialized_end = 918 + _globals["_HOSTGENESISSTATE"]._serialized_start = 921 + _globals["_HOSTGENESISSTATE"]._serialized_end = 1288 + _globals["_ACTIVECHANNEL"]._serialized_start = 1291 + _globals["_ACTIVECHANNEL"]._serialized_end = 1451 + _globals["_REGISTEREDINTERCHAINACCOUNT"]._serialized_start = 1454 + _globals["_REGISTEREDINTERCHAINACCOUNT"]._serialized_end = 1586 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/applications/interchain_accounts/host/v1/host_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py index 8c967b28..f47f3de6 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py @@ -7,23 +7,26 @@ 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'\n7ibc/applications/interchain_accounts/host/v1/host.proto\x12,ibc.applications.interchain_accounts.host.v1\"R\n\x06Params\x12!\n\x0chost_enabled\x18\x01 \x01(\x08R\x0bhostEnabled\x12%\n\x0e\x61llow_messages\x18\x02 \x03(\tR\rallowMessages\"6\n\x0cQueryRequest\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61taB\xda\x02\n0com.ibc.applications.interchain_accounts.host.v1B\tHostProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n7ibc/applications/interchain_accounts/host/v1/host.proto\x12,ibc.applications.interchain_accounts.host.v1"R\n\x06Params\x12!\n\x0chost_enabled\x18\x01 \x01(\x08R\x0bhostEnabled\x12%\n\x0e\x61llow_messages\x18\x02 \x03(\tR\rallowMessages"6\n\x0cQueryRequest\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61taB\xda\x02\n0com.ibc.applications.interchain_accounts.host.v1B\tHostProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.host_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.interchain_accounts.host.v1.host_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n0com.ibc.applications.interchain_accounts.host.v1B\tHostProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1' - _globals['_PARAMS']._serialized_start=105 - _globals['_PARAMS']._serialized_end=187 - _globals['_QUERYREQUEST']._serialized_start=189 - _globals['_QUERYREQUEST']._serialized_end=243 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n0com.ibc.applications.interchain_accounts.host.v1B\tHostProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1" + ) + _globals["_PARAMS"]._serialized_start = 105 + _globals["_PARAMS"]._serialized_end = 187 + _globals["_QUERYREQUEST"]._serialized_start = 189 + _globals["_QUERYREQUEST"]._serialized_end = 243 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/applications/interchain_accounts/host/v1/query_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py index fa34caa5..bd0e6a1c 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py @@ -7,29 +7,38 @@ 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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import ( + host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8ibc/applications/interchain_accounts/host/v1/query.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x14\n\x12QueryParamsRequest\"c\n\x13QueryParamsResponse\x12L\n\x06params\x18\x01 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsR\x06params2\xcd\x01\n\x05Query\x12\xc3\x01\n\x06Params\x12@.ibc.applications.interchain_accounts.host.v1.QueryParamsRequest\x1a\x41.ibc.applications.interchain_accounts.host.v1.QueryParamsResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/interchain_accounts/host/v1/paramsB\xdb\x02\n0com.ibc.applications.interchain_accounts.host.v1B\nQueryProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n8ibc/applications/interchain_accounts/host/v1/query.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto"\x14\n\x12QueryParamsRequest"c\n\x13QueryParamsResponse\x12L\n\x06params\x18\x01 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsR\x06params2\xcd\x01\n\x05Query\x12\xc3\x01\n\x06Params\x12@.ibc.applications.interchain_accounts.host.v1.QueryParamsRequest\x1a\x41.ibc.applications.interchain_accounts.host.v1.QueryParamsResponse"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/interchain_accounts/host/v1/paramsB\xdb\x02\n0com.ibc.applications.interchain_accounts.host.v1B\nQueryProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.interchain_accounts.host.v1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n0com.ibc.applications.interchain_accounts.host.v1B\nQueryProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002.\022,/ibc/apps/interchain_accounts/host/v1/params' - _globals['_QUERYPARAMSREQUEST']._serialized_start=193 - _globals['_QUERYPARAMSREQUEST']._serialized_end=213 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=215 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=314 - _globals['_QUERY']._serialized_start=317 - _globals['_QUERY']._serialized_end=522 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n0com.ibc.applications.interchain_accounts.host.v1B\nQueryProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1" + ) + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\202\323\344\223\002.\022,/ibc/apps/interchain_accounts/host/v1/params" + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 193 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 213 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 215 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 314 + _globals["_QUERY"]._serialized_start = 317 + _globals["_QUERY"]._serialized_end = 522 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2_grpc.py index 705d751a..4fafb54b 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2_grpc.py @@ -2,12 +2,13 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import query_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import ( + query_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2, +) class QueryStub(object): - """Query provides defines the gRPC querier service. - """ + """Query provides defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,58 +17,59 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - '/ibc.applications.interchain_accounts.host.v1.Query/Params', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/ibc.applications.interchain_accounts.host.v1.Query/Params", + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query provides defines the gRPC querier service. - """ + """Query provides defines the gRPC querier service.""" def Params(self, request, context): - """Params queries all parameters of the ICA host submodule. - """ + """Params queries all parameters of the ICA host submodule.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - 'ibc.applications.interchain_accounts.host.v1.Query', rpc_method_handlers) + "ibc.applications.interchain_accounts.host.v1.Query", rpc_method_handlers + ) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.applications.interchain_accounts.host.v1.Query', rpc_method_handlers) + server.add_registered_method_handlers("ibc.applications.interchain_accounts.host.v1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query provides defines the gRPC querier service. - """ + """Query provides defines the gRPC querier service.""" @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.interchain_accounts.host.v1.Query/Params', + "/ibc.applications.interchain_accounts.host.v1.Query/Params", ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -78,4 +80,5 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py index ae1b1562..ecde1ec8 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -14,33 +15,39 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import ( + host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/host/v1/tx.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x8e\x01\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12R\n\x06params\x18\x02 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse\"\x95\x01\n\x12MsgModuleQuerySafe\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12V\n\x08requests\x18\x02 \x03(\x0b\x32:.ibc.applications.interchain_accounts.host.v1.QueryRequestR\x08requests:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"R\n\x1aMsgModuleQuerySafeResponse\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x1c\n\tresponses\x18\x02 \x03(\x0cR\tresponses2\xc3\x02\n\x03Msg\x12\x94\x01\n\x0cUpdateParams\x12=.ibc.applications.interchain_accounts.host.v1.MsgUpdateParams\x1a\x45.ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse\x12\x9d\x01\n\x0fModuleQuerySafe\x12@.ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe\x1aH.ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafeResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd8\x02\n0com.ibc.applications.interchain_accounts.host.v1B\x07TxProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n5ibc/applications/interchain_accounts/host/v1/tx.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto"\x8e\x01\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12R\n\x06params\x18\x02 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x19\n\x17MsgUpdateParamsResponse"\x95\x01\n\x12MsgModuleQuerySafe\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12V\n\x08requests\x18\x02 \x03(\x0b\x32:.ibc.applications.interchain_accounts.host.v1.QueryRequestR\x08requests:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"R\n\x1aMsgModuleQuerySafeResponse\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x1c\n\tresponses\x18\x02 \x03(\x0cR\tresponses2\xc3\x02\n\x03Msg\x12\x94\x01\n\x0cUpdateParams\x12=.ibc.applications.interchain_accounts.host.v1.MsgUpdateParams\x1a\x45.ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse\x12\x9d\x01\n\x0fModuleQuerySafe\x12@.ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe\x1aH.ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafeResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd8\x02\n0com.ibc.applications.interchain_accounts.host.v1B\x07TxProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.interchain_accounts.host.v1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n0com.ibc.applications.interchain_accounts.host.v1B\007TxProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGMODULEQUERYSAFE']._loaded_options = None - _globals['_MSGMODULEQUERYSAFE']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGUPDATEPARAMS']._serialized_start=208 - _globals['_MSGUPDATEPARAMS']._serialized_end=350 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=352 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=377 - _globals['_MSGMODULEQUERYSAFE']._serialized_start=380 - _globals['_MSGMODULEQUERYSAFE']._serialized_end=529 - _globals['_MSGMODULEQUERYSAFERESPONSE']._serialized_start=531 - _globals['_MSGMODULEQUERYSAFERESPONSE']._serialized_end=613 - _globals['_MSG']._serialized_start=616 - _globals['_MSG']._serialized_end=939 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n0com.ibc.applications.interchain_accounts.host.v1B\007TxProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGMODULEQUERYSAFE"]._loaded_options = None + _globals["_MSGMODULEQUERYSAFE"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGUPDATEPARAMS"]._serialized_start = 208 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 350 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 352 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 377 + _globals["_MSGMODULEQUERYSAFE"]._serialized_start = 380 + _globals["_MSGMODULEQUERYSAFE"]._serialized_end = 529 + _globals["_MSGMODULEQUERYSAFERESPONSE"]._serialized_start = 531 + _globals["_MSGMODULEQUERYSAFERESPONSE"]._serialized_end = 613 + _globals["_MSG"]._serialized_start = 616 + _globals["_MSG"]._serialized_end = 939 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py index 67d91a1e..4ee64292 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py @@ -2,12 +2,13 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import tx_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import ( + tx_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2, +) class MsgStub(object): - """Msg defines the 27-interchain-accounts/host Msg service. - """ + """Msg defines the 27-interchain-accounts/host Msg service.""" def __init__(self, channel): """Constructor. @@ -16,75 +17,76 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.UpdateParams = channel.unary_unary( - '/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams", + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) self.ModuleQuerySafe = channel.unary_unary( - '/ibc.applications.interchain_accounts.host.v1.Msg/ModuleQuerySafe', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafe.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafeResponse.FromString, - _registered_method=True) + "/ibc.applications.interchain_accounts.host.v1.Msg/ModuleQuerySafe", + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafe.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafeResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the 27-interchain-accounts/host Msg service. - """ + """Msg defines the 27-interchain-accounts/host Msg service.""" def UpdateParams(self, request, context): - """UpdateParams defines a rpc handler for MsgUpdateParams. - """ + """UpdateParams defines a rpc handler for MsgUpdateParams.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ModuleQuerySafe(self, request, context): - """ModuleQuerySafe defines a rpc handler for MsgModuleQuerySafe. - """ + """ModuleQuerySafe defines a rpc handler for MsgModuleQuerySafe.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'ModuleQuerySafe': grpc.unary_unary_rpc_method_handler( - servicer.ModuleQuerySafe, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafe.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafeResponse.SerializeToString, - ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + "ModuleQuerySafe": grpc.unary_unary_rpc_method_handler( + servicer.ModuleQuerySafe, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafe.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafeResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - 'ibc.applications.interchain_accounts.host.v1.Msg', rpc_method_handlers) + "ibc.applications.interchain_accounts.host.v1.Msg", rpc_method_handlers + ) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.applications.interchain_accounts.host.v1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("ibc.applications.interchain_accounts.host.v1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the 27-interchain-accounts/host Msg service. - """ + """Msg defines the 27-interchain-accounts/host Msg service.""" @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams', + "/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams", ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -95,23 +97,26 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ModuleQuerySafe(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ModuleQuerySafe( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.interchain_accounts.host.v1.Msg/ModuleQuerySafe', + "/ibc.applications.interchain_accounts.host.v1.Msg/ModuleQuerySafe", ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafe.SerializeToString, ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafeResponse.FromString, options, @@ -122,4 +127,5 @@ def ModuleQuerySafe(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py index 256eb9e6..4ead5cf9 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,18 +18,24 @@ from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/v1/account.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xcb\x01\n\x11InterchainAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12#\n\raccount_owner\x18\x02 \x01(\tR\x0c\x61\x63\x63ountOwner:F\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xca\xb4-:ibc.applications.interchain_accounts.v1.InterchainAccountIB\xbd\x02\n+com.ibc.applications.interchain_accounts.v1B\x0c\x41\x63\x63ountProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n5ibc/applications/interchain_accounts/v1/account.proto\x12'ibc.applications.interchain_accounts.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xcb\x01\n\x11InterchainAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12#\n\raccount_owner\x18\x02 \x01(\tR\x0c\x61\x63\x63ountOwner:F\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xca\xb4-:ibc.applications.interchain_accounts.v1.InterchainAccountIB\xbd\x02\n+com.ibc.applications.interchain_accounts.v1B\x0c\x41\x63\x63ountProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.account_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.interchain_accounts.v1.account_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n+com.ibc.applications.interchain_accounts.v1B\014AccountProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1' - _globals['_INTERCHAINACCOUNT'].fields_by_name['base_account']._loaded_options = None - _globals['_INTERCHAINACCOUNT'].fields_by_name['base_account']._serialized_options = b'\320\336\037\001' - _globals['_INTERCHAINACCOUNT']._loaded_options = None - _globals['_INTERCHAINACCOUNT']._serialized_options = b'\210\240\037\000\230\240\037\000\312\264-:ibc.applications.interchain_accounts.v1.InterchainAccountI' - _globals['_INTERCHAINACCOUNT']._serialized_start=180 - _globals['_INTERCHAINACCOUNT']._serialized_end=383 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n+com.ibc.applications.interchain_accounts.v1B\014AccountProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1" + ) + _globals["_INTERCHAINACCOUNT"].fields_by_name["base_account"]._loaded_options = None + _globals["_INTERCHAINACCOUNT"].fields_by_name["base_account"]._serialized_options = b"\320\336\037\001" + _globals["_INTERCHAINACCOUNT"]._loaded_options = None + _globals["_INTERCHAINACCOUNT"]._serialized_options = ( + b"\210\240\037\000\230\240\037\000\312\264-:ibc.applications.interchain_accounts.v1.InterchainAccountI" + ) + _globals["_INTERCHAINACCOUNT"]._serialized_start = 180 + _globals["_INTERCHAINACCOUNT"]._serialized_end = 383 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/applications/interchain_accounts/v1/metadata_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py index 86ec209d..3e25baa7 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py @@ -7,21 +7,24 @@ 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'\n6ibc/applications/interchain_accounts/v1/metadata.proto\x12\'ibc.applications.interchain_accounts.v1\"\xdb\x01\n\x08Metadata\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x38\n\x18\x63ontroller_connection_id\x18\x02 \x01(\tR\x16\x63ontrollerConnectionId\x12,\n\x12host_connection_id\x18\x03 \x01(\tR\x10hostConnectionId\x12\x18\n\x07\x61\x64\x64ress\x18\x04 \x01(\tR\x07\x61\x64\x64ress\x12\x1a\n\x08\x65ncoding\x18\x05 \x01(\tR\x08\x65ncoding\x12\x17\n\x07tx_type\x18\x06 \x01(\tR\x06txTypeB\xbe\x02\n+com.ibc.applications.interchain_accounts.v1B\rMetadataProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n6ibc/applications/interchain_accounts/v1/metadata.proto\x12'ibc.applications.interchain_accounts.v1\"\xdb\x01\n\x08Metadata\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x38\n\x18\x63ontroller_connection_id\x18\x02 \x01(\tR\x16\x63ontrollerConnectionId\x12,\n\x12host_connection_id\x18\x03 \x01(\tR\x10hostConnectionId\x12\x18\n\x07\x61\x64\x64ress\x18\x04 \x01(\tR\x07\x61\x64\x64ress\x12\x1a\n\x08\x65ncoding\x18\x05 \x01(\tR\x08\x65ncoding\x12\x17\n\x07tx_type\x18\x06 \x01(\tR\x06txTypeB\xbe\x02\n+com.ibc.applications.interchain_accounts.v1B\rMetadataProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.metadata_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.interchain_accounts.v1.metadata_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n+com.ibc.applications.interchain_accounts.v1B\rMetadataProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1' - _globals['_METADATA']._serialized_start=100 - _globals['_METADATA']._serialized_end=319 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n+com.ibc.applications.interchain_accounts.v1B\rMetadataProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1" + ) + _globals["_METADATA"]._serialized_start = 100 + _globals["_METADATA"]._serialized_end = 319 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/applications/interchain_accounts/v1/packet_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py index b5369237..ac1cbf8d 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,24 +17,28 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4ibc/applications/interchain_accounts/v1/packet.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\"\x88\x01\n\x1bInterchainAccountPacketData\x12\x41\n\x04type\x18\x01 \x01(\x0e\x32-.ibc.applications.interchain_accounts.v1.TypeR\x04type\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04memo\x18\x03 \x01(\tR\x04memo\"<\n\x08\x43osmosTx\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages*X\n\x04Type\x12%\n\x10TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12#\n\x0fTYPE_EXECUTE_TX\x10\x01\x1a\x0e\x8a\x9d \nEXECUTE_TX\x1a\x04\x88\xa3\x1e\x00\x42\xbc\x02\n+com.ibc.applications.interchain_accounts.v1B\x0bPacketProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n4ibc/applications/interchain_accounts/v1/packet.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto"\x88\x01\n\x1bInterchainAccountPacketData\x12\x41\n\x04type\x18\x01 \x01(\x0e\x32-.ibc.applications.interchain_accounts.v1.TypeR\x04type\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04memo\x18\x03 \x01(\tR\x04memo"<\n\x08\x43osmosTx\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages*X\n\x04Type\x12%\n\x10TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12#\n\x0fTYPE_EXECUTE_TX\x10\x01\x1a\x0e\x8a\x9d \nEXECUTE_TX\x1a\x04\x88\xa3\x1e\x00\x42\xbc\x02\n+com.ibc.applications.interchain_accounts.v1B\x0bPacketProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.packet_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.interchain_accounts.v1.packet_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n+com.ibc.applications.interchain_accounts.v1B\013PacketProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1' - _globals['_TYPE']._loaded_options = None - _globals['_TYPE']._serialized_options = b'\210\243\036\000' - _globals['_TYPE'].values_by_name["TYPE_UNSPECIFIED"]._loaded_options = None - _globals['_TYPE'].values_by_name["TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' - _globals['_TYPE'].values_by_name["TYPE_EXECUTE_TX"]._loaded_options = None - _globals['_TYPE'].values_by_name["TYPE_EXECUTE_TX"]._serialized_options = b'\212\235 \nEXECUTE_TX' - _globals['_TYPE']._serialized_start=347 - _globals['_TYPE']._serialized_end=435 - _globals['_INTERCHAINACCOUNTPACKETDATA']._serialized_start=147 - _globals['_INTERCHAINACCOUNTPACKETDATA']._serialized_end=283 - _globals['_COSMOSTX']._serialized_start=285 - _globals['_COSMOSTX']._serialized_end=345 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n+com.ibc.applications.interchain_accounts.v1B\013PacketProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1" + ) + _globals["_TYPE"]._loaded_options = None + _globals["_TYPE"]._serialized_options = b"\210\243\036\000" + _globals["_TYPE"].values_by_name["TYPE_UNSPECIFIED"]._loaded_options = None + _globals["_TYPE"].values_by_name["TYPE_UNSPECIFIED"]._serialized_options = b"\212\235 \013UNSPECIFIED" + _globals["_TYPE"].values_by_name["TYPE_EXECUTE_TX"]._loaded_options = None + _globals["_TYPE"].values_by_name["TYPE_EXECUTE_TX"]._serialized_options = b"\212\235 \nEXECUTE_TX" + _globals["_TYPE"]._serialized_start = 347 + _globals["_TYPE"]._serialized_end = 435 + _globals["_INTERCHAINACCOUNTPACKETDATA"]._serialized_start = 147 + _globals["_INTERCHAINACCOUNTPACKETDATA"]._serialized_end = 283 + _globals["_COSMOSTX"]._serialized_start = 285 + _globals["_COSMOSTX"]._serialized_end = 345 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/applications/transfer/v1/authz_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py index 3d4eef1e..6afe21e6 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,22 +18,28 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/authz.proto\x12\x1cibc.applications.transfer.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x91\x02\n\nAllocation\x12\x1f\n\x0bsource_port\x18\x01 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x02 \x01(\tR\rsourceChannel\x12l\n\x0bspend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\nspendLimit\x12\x1d\n\nallow_list\x18\x04 \x03(\tR\tallowList\x12.\n\x13\x61llowed_packet_data\x18\x05 \x03(\tR\x11\x61llowedPacketData\"\x91\x01\n\x15TransferAuthorization\x12P\n\x0b\x61llocations\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.AllocationB\x04\xc8\xde\x1f\x00R\x0b\x61llocations:&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationB\xfa\x01\n com.ibc.applications.transfer.v1B\nAuthzProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n(ibc/applications/transfer/v1/authz.proto\x12\x1cibc.applications.transfer.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"\x91\x02\n\nAllocation\x12\x1f\n\x0bsource_port\x18\x01 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x02 \x01(\tR\rsourceChannel\x12l\n\x0bspend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\nspendLimit\x12\x1d\n\nallow_list\x18\x04 \x03(\tR\tallowList\x12.\n\x13\x61llowed_packet_data\x18\x05 \x03(\tR\x11\x61llowedPacketData"\x91\x01\n\x15TransferAuthorization\x12P\n\x0b\x61llocations\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.AllocationB\x04\xc8\xde\x1f\x00R\x0b\x61llocations:&\xca\xb4-"cosmos.authz.v1beta1.AuthorizationB\xfa\x01\n com.ibc.applications.transfer.v1B\nAuthzProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.authz_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.transfer.v1.authz_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\nAuthzProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' - _globals['_ALLOCATION'].fields_by_name['spend_limit']._loaded_options = None - _globals['_ALLOCATION'].fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_TRANSFERAUTHORIZATION'].fields_by_name['allocations']._loaded_options = None - _globals['_TRANSFERAUTHORIZATION'].fields_by_name['allocations']._serialized_options = b'\310\336\037\000' - _globals['_TRANSFERAUTHORIZATION']._loaded_options = None - _globals['_TRANSFERAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' - _globals['_ALLOCATION']._serialized_start=156 - _globals['_ALLOCATION']._serialized_end=429 - _globals['_TRANSFERAUTHORIZATION']._serialized_start=432 - _globals['_TRANSFERAUTHORIZATION']._serialized_end=577 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n com.ibc.applications.transfer.v1B\nAuthzProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1" + ) + _globals["_ALLOCATION"].fields_by_name["spend_limit"]._loaded_options = None + _globals["_ALLOCATION"].fields_by_name[ + "spend_limit" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" + _globals["_TRANSFERAUTHORIZATION"].fields_by_name["allocations"]._loaded_options = None + _globals["_TRANSFERAUTHORIZATION"].fields_by_name["allocations"]._serialized_options = b"\310\336\037\000" + _globals["_TRANSFERAUTHORIZATION"]._loaded_options = None + _globals["_TRANSFERAUTHORIZATION"]._serialized_options = b'\312\264-"cosmos.authz.v1beta1.Authorization' + _globals["_ALLOCATION"]._serialized_start = 156 + _globals["_ALLOCATION"]._serialized_end = 429 + _globals["_TRANSFERAUTHORIZATION"]._serialized_start = 432 + _globals["_TRANSFERAUTHORIZATION"]._serialized_end = 577 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/applications/transfer/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py index 60e49908..9ef6f5ab 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py @@ -7,30 +7,41 @@ 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 pyinjective.proto.ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 +from pyinjective.proto.ibc.applications.transfer.v1 import ( + transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2, +) from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*ibc/applications/transfer/v1/genesis.proto\x12\x1cibc.applications.transfer.v1\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\"\xbc\x02\n\x0cGenesisState\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12[\n\x0c\x64\x65nom_traces\x18\x02 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06TracesR\x0b\x64\x65nomTraces\x12\x42\n\x06params\x18\x03 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12r\n\x0etotal_escrowed\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\rtotalEscrowedB\xfc\x01\n com.ibc.applications.transfer.v1B\x0cGenesisProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n*ibc/applications/transfer/v1/genesis.proto\x12\x1cibc.applications.transfer.v1\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto"\xbc\x02\n\x0cGenesisState\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12[\n\x0c\x64\x65nom_traces\x18\x02 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06TracesR\x0b\x64\x65nomTraces\x12\x42\n\x06params\x18\x03 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12r\n\x0etotal_escrowed\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\rtotalEscrowedB\xfc\x01\n com.ibc.applications.transfer.v1B\x0cGenesisProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.transfer.v1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\014GenesisProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' - _globals['_GENESISSTATE'].fields_by_name['denom_traces']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\252\337\037\006Traces' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['total_escrowed']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['total_escrowed']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_GENESISSTATE']._serialized_start=176 - _globals['_GENESISSTATE']._serialized_end=492 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n com.ibc.applications.transfer.v1B\014GenesisProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1" + ) + _globals["_GENESISSTATE"].fields_by_name["denom_traces"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "denom_traces" + ]._serialized_options = b"\310\336\037\000\252\337\037\006Traces" + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["total_escrowed"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "total_escrowed" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" + _globals["_GENESISSTATE"]._serialized_start = 176 + _globals["_GENESISSTATE"]._serialized_end = 492 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/applications/transfer/v1/query_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py index eb1189bc..50d8b36b 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -14,59 +15,83 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) +from pyinjective.proto.ibc.applications.transfer.v1 import ( + transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2, +) from pyinjective.proto.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\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\"d\n\x17QueryDenomTraceResponse\x12I\n\x0b\x64\x65nom_trace\x18\x01 \x01(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceR\ndenomTrace\"a\n\x17QueryDenomTracesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xc0\x01\n\x18QueryDenomTracesResponse\x12[\n\x0c\x64\x65nom_traces\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06TracesR\x0b\x64\x65nomTraces\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x14\n\x12QueryParamsRequest\"S\n\x13QueryParamsResponse\x12<\n\x06params\x18\x01 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsR\x06params\"-\n\x15QueryDenomHashRequest\x12\x14\n\x05trace\x18\x01 \x01(\tR\x05trace\",\n\x16QueryDenomHashResponse\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\"S\n\x19QueryEscrowAddressRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"C\n\x1aQueryEscrowAddressResponse\x12%\n\x0e\x65scrow_address\x18\x01 \x01(\tR\rescrowAddress\"7\n\x1fQueryTotalEscrowForDenomRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"[\n QueryTotalEscrowForDenomResponse\x12\x37\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount2\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_escrowB\xfa\x01\n com.ibc.applications.transfer.v1B\nQueryProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\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\x12\n\x04hash\x18\x01 \x01(\tR\x04hash"d\n\x17QueryDenomTraceResponse\x12I\n\x0b\x64\x65nom_trace\x18\x01 \x01(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceR\ndenomTrace"a\n\x17QueryDenomTracesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xc0\x01\n\x18QueryDenomTracesResponse\x12[\n\x0c\x64\x65nom_traces\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06TracesR\x0b\x64\x65nomTraces\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x14\n\x12QueryParamsRequest"S\n\x13QueryParamsResponse\x12<\n\x06params\x18\x01 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsR\x06params"-\n\x15QueryDenomHashRequest\x12\x14\n\x05trace\x18\x01 \x01(\tR\x05trace",\n\x16QueryDenomHashResponse\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash"S\n\x19QueryEscrowAddressRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"C\n\x1aQueryEscrowAddressResponse\x12%\n\x0e\x65scrow_address\x18\x01 \x01(\tR\rescrowAddress"7\n\x1fQueryTotalEscrowForDenomRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom"[\n QueryTotalEscrowForDenomResponse\x12\x37\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount2\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_escrowB\xfa\x01\n com.ibc.applications.transfer.v1B\nQueryProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.transfer.v1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\nQueryProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' - _globals['_QUERYDENOMTRACESRESPONSE'].fields_by_name['denom_traces']._loaded_options = None - _globals['_QUERYDENOMTRACESRESPONSE'].fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\252\337\037\006Traces' - _globals['_QUERYTOTALESCROWFORDENOMRESPONSE'].fields_by_name['amount']._loaded_options = None - _globals['_QUERYTOTALESCROWFORDENOMRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_QUERY'].methods_by_name['DenomTraces']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomTraces']._serialized_options = b'\202\323\344\223\002$\022\"/ibc/apps/transfer/v1/denom_traces' - _globals['_QUERY'].methods_by_name['DenomTrace']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomTrace']._serialized_options = b'\202\323\344\223\002.\022,/ibc/apps/transfer/v1/denom_traces/{hash=**}' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\036\022\034/ibc/apps/transfer/v1/params' - _globals['_QUERY'].methods_by_name['DenomHash']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomHash']._serialized_options = b'\202\323\344\223\002/\022-/ibc/apps/transfer/v1/denom_hashes/{trace=**}' - _globals['_QUERY'].methods_by_name['EscrowAddress']._loaded_options = None - _globals['_QUERY'].methods_by_name['EscrowAddress']._serialized_options = b'\202\323\344\223\002L\022J/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address' - _globals['_QUERY'].methods_by_name['TotalEscrowForDenom']._loaded_options = None - _globals['_QUERY'].methods_by_name['TotalEscrowForDenom']._serialized_options = b'\202\323\344\223\0026\0224/ibc/apps/transfer/v1/denoms/{denom=**}/total_escrow' - _globals['_QUERYDENOMTRACEREQUEST']._serialized_start=247 - _globals['_QUERYDENOMTRACEREQUEST']._serialized_end=291 - _globals['_QUERYDENOMTRACERESPONSE']._serialized_start=293 - _globals['_QUERYDENOMTRACERESPONSE']._serialized_end=393 - _globals['_QUERYDENOMTRACESREQUEST']._serialized_start=395 - _globals['_QUERYDENOMTRACESREQUEST']._serialized_end=492 - _globals['_QUERYDENOMTRACESRESPONSE']._serialized_start=495 - _globals['_QUERYDENOMTRACESRESPONSE']._serialized_end=687 - _globals['_QUERYPARAMSREQUEST']._serialized_start=689 - _globals['_QUERYPARAMSREQUEST']._serialized_end=709 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=711 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=794 - _globals['_QUERYDENOMHASHREQUEST']._serialized_start=796 - _globals['_QUERYDENOMHASHREQUEST']._serialized_end=841 - _globals['_QUERYDENOMHASHRESPONSE']._serialized_start=843 - _globals['_QUERYDENOMHASHRESPONSE']._serialized_end=887 - _globals['_QUERYESCROWADDRESSREQUEST']._serialized_start=889 - _globals['_QUERYESCROWADDRESSREQUEST']._serialized_end=972 - _globals['_QUERYESCROWADDRESSRESPONSE']._serialized_start=974 - _globals['_QUERYESCROWADDRESSRESPONSE']._serialized_end=1041 - _globals['_QUERYTOTALESCROWFORDENOMREQUEST']._serialized_start=1043 - _globals['_QUERYTOTALESCROWFORDENOMREQUEST']._serialized_end=1098 - _globals['_QUERYTOTALESCROWFORDENOMRESPONSE']._serialized_start=1100 - _globals['_QUERYTOTALESCROWFORDENOMRESPONSE']._serialized_end=1191 - _globals['_QUERY']._serialized_start=1194 - _globals['_QUERY']._serialized_end=2306 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n com.ibc.applications.transfer.v1B\nQueryProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1" + ) + _globals["_QUERYDENOMTRACESRESPONSE"].fields_by_name["denom_traces"]._loaded_options = None + _globals["_QUERYDENOMTRACESRESPONSE"].fields_by_name[ + "denom_traces" + ]._serialized_options = b"\310\336\037\000\252\337\037\006Traces" + _globals["_QUERYTOTALESCROWFORDENOMRESPONSE"].fields_by_name["amount"]._loaded_options = None + _globals["_QUERYTOTALESCROWFORDENOMRESPONSE"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" + _globals["_QUERY"].methods_by_name["DenomTraces"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DenomTraces" + ]._serialized_options = b'\202\323\344\223\002$\022"/ibc/apps/transfer/v1/denom_traces' + _globals["_QUERY"].methods_by_name["DenomTrace"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DenomTrace" + ]._serialized_options = b"\202\323\344\223\002.\022,/ibc/apps/transfer/v1/denom_traces/{hash=**}" + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\202\323\344\223\002\036\022\034/ibc/apps/transfer/v1/params" + _globals["_QUERY"].methods_by_name["DenomHash"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DenomHash" + ]._serialized_options = b"\202\323\344\223\002/\022-/ibc/apps/transfer/v1/denom_hashes/{trace=**}" + _globals["_QUERY"].methods_by_name["EscrowAddress"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "EscrowAddress" + ]._serialized_options = ( + b"\202\323\344\223\002L\022J/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address" + ) + _globals["_QUERY"].methods_by_name["TotalEscrowForDenom"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "TotalEscrowForDenom" + ]._serialized_options = b"\202\323\344\223\0026\0224/ibc/apps/transfer/v1/denoms/{denom=**}/total_escrow" + _globals["_QUERYDENOMTRACEREQUEST"]._serialized_start = 247 + _globals["_QUERYDENOMTRACEREQUEST"]._serialized_end = 291 + _globals["_QUERYDENOMTRACERESPONSE"]._serialized_start = 293 + _globals["_QUERYDENOMTRACERESPONSE"]._serialized_end = 393 + _globals["_QUERYDENOMTRACESREQUEST"]._serialized_start = 395 + _globals["_QUERYDENOMTRACESREQUEST"]._serialized_end = 492 + _globals["_QUERYDENOMTRACESRESPONSE"]._serialized_start = 495 + _globals["_QUERYDENOMTRACESRESPONSE"]._serialized_end = 687 + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 689 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 709 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 711 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 794 + _globals["_QUERYDENOMHASHREQUEST"]._serialized_start = 796 + _globals["_QUERYDENOMHASHREQUEST"]._serialized_end = 841 + _globals["_QUERYDENOMHASHRESPONSE"]._serialized_start = 843 + _globals["_QUERYDENOMHASHRESPONSE"]._serialized_end = 887 + _globals["_QUERYESCROWADDRESSREQUEST"]._serialized_start = 889 + _globals["_QUERYESCROWADDRESSREQUEST"]._serialized_end = 972 + _globals["_QUERYESCROWADDRESSRESPONSE"]._serialized_start = 974 + _globals["_QUERYESCROWADDRESSRESPONSE"]._serialized_end = 1041 + _globals["_QUERYTOTALESCROWFORDENOMREQUEST"]._serialized_start = 1043 + _globals["_QUERYTOTALESCROWFORDENOMREQUEST"]._serialized_end = 1098 + _globals["_QUERYTOTALESCROWFORDENOMRESPONSE"]._serialized_start = 1100 + _globals["_QUERYTOTALESCROWFORDENOMRESPONSE"]._serialized_end = 1191 + _globals["_QUERY"]._serialized_start = 1194 + _globals["_QUERY"]._serialized_end = 2306 # @@protoc_insertion_point(module_scope) 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 b2f8831e..05419095 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py @@ -2,12 +2,13 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.ibc.applications.transfer.v1 import query_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2 +from pyinjective.proto.ibc.applications.transfer.v1 import ( + query_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2, +) class QueryStub(object): - """Query provides defines the gRPC querier service. - """ + """Query provides defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,143 +17,142 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.DenomTraces = channel.unary_unary( - '/ibc.applications.transfer.v1.Query/DenomTraces', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.FromString, - _registered_method=True) + "/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, + _registered_method=True, + ) 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, - _registered_method=True) + "/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, + _registered_method=True, + ) 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, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/ibc.applications.transfer.v1.Query/Params", + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) self.DenomHash = channel.unary_unary( - '/ibc.applications.transfer.v1.Query/DenomHash', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashResponse.FromString, - _registered_method=True) + "/ibc.applications.transfer.v1.Query/DenomHash", + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashResponse.FromString, + _registered_method=True, + ) self.EscrowAddress = channel.unary_unary( - '/ibc.applications.transfer.v1.Query/EscrowAddress', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressResponse.FromString, - _registered_method=True) + "/ibc.applications.transfer.v1.Query/EscrowAddress", + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressResponse.FromString, + _registered_method=True, + ) self.TotalEscrowForDenom = channel.unary_unary( - '/ibc.applications.transfer.v1.Query/TotalEscrowForDenom', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomResponse.FromString, - _registered_method=True) + "/ibc.applications.transfer.v1.Query/TotalEscrowForDenom", + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query provides defines the gRPC querier service. - """ + """Query provides defines the gRPC querier service.""" def DenomTraces(self, request, context): - """DenomTraces queries all denomination traces. - """ + """DenomTraces queries all denomination traces.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DenomTrace(self, request, context): - """DenomTrace queries a denomination trace information. - """ + """DenomTrace queries a denomination trace information.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Params(self, request, context): - """Params queries all parameters of the ibc-transfer module. - """ + """Params queries all parameters of the ibc-transfer module.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DenomHash(self, request, context): - """DenomHash queries a denomination hash information. - """ + """DenomHash queries a denomination hash information.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def EscrowAddress(self, request, context): - """EscrowAddress returns the escrow address for a particular port and channel id. - """ + """EscrowAddress returns the escrow address for a particular port and channel id.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TotalEscrowForDenom(self, request, context): - """TotalEscrowForDenom returns the total amount of tokens in escrow based on the denom. - """ + """TotalEscrowForDenom returns the total amount of tokens in escrow based on the denom.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'DenomTraces': grpc.unary_unary_rpc_method_handler( - servicer.DenomTraces, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.SerializeToString, - ), - 'DenomTrace': grpc.unary_unary_rpc_method_handler( - servicer.DenomTrace, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceResponse.SerializeToString, - ), - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'DenomHash': grpc.unary_unary_rpc_method_handler( - servicer.DenomHash, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashResponse.SerializeToString, - ), - 'EscrowAddress': grpc.unary_unary_rpc_method_handler( - servicer.EscrowAddress, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressResponse.SerializeToString, - ), - 'TotalEscrowForDenom': grpc.unary_unary_rpc_method_handler( - servicer.TotalEscrowForDenom, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomResponse.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, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + "DenomHash": grpc.unary_unary_rpc_method_handler( + servicer.DenomHash, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashRequest.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashResponse.SerializeToString, + ), + "EscrowAddress": grpc.unary_unary_rpc_method_handler( + servicer.EscrowAddress, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressRequest.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressResponse.SerializeToString, + ), + "TotalEscrowForDenom": grpc.unary_unary_rpc_method_handler( + servicer.TotalEscrowForDenom, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomRequest.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.applications.transfer.v1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("ibc.applications.transfer.v1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.applications.transfer.v1.Query', rpc_method_handlers) + server.add_registered_method_handlers("ibc.applications.transfer.v1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query provides defines the gRPC querier service. - """ + """Query provides defines the gRPC querier service.""" @staticmethod - def DenomTraces(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DenomTraces( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.transfer.v1.Query/DenomTraces', + "/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, @@ -163,23 +163,26 @@ def DenomTraces(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DenomTrace(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DenomTrace( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.transfer.v1.Query/DenomTrace', + "/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, @@ -190,23 +193,26 @@ def DenomTrace(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.transfer.v1.Query/Params', + "/ibc.applications.transfer.v1.Query/Params", ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -217,23 +223,26 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DenomHash(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DenomHash( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.transfer.v1.Query/DenomHash', + "/ibc.applications.transfer.v1.Query/DenomHash", ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashRequest.SerializeToString, ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashResponse.FromString, options, @@ -244,23 +253,26 @@ def DenomHash(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def EscrowAddress(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def EscrowAddress( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.transfer.v1.Query/EscrowAddress', + "/ibc.applications.transfer.v1.Query/EscrowAddress", ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressRequest.SerializeToString, ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressResponse.FromString, options, @@ -271,23 +283,26 @@ def EscrowAddress(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def TotalEscrowForDenom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def TotalEscrowForDenom( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.transfer.v1.Query/TotalEscrowForDenom', + "/ibc.applications.transfer.v1.Query/TotalEscrowForDenom", ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomRequest.SerializeToString, ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomResponse.FromString, options, @@ -298,4 +313,5 @@ def TotalEscrowForDenom(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py index 73ebddbc..68d4d7fe 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py @@ -7,23 +7,26 @@ 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+ibc/applications/transfer/v1/transfer.proto\x12\x1cibc.applications.transfer.v1\"?\n\nDenomTrace\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12\x1d\n\nbase_denom\x18\x02 \x01(\tR\tbaseDenom\"T\n\x06Params\x12!\n\x0csend_enabled\x18\x01 \x01(\x08R\x0bsendEnabled\x12\'\n\x0freceive_enabled\x18\x02 \x01(\x08R\x0ereceiveEnabledB\xfd\x01\n com.ibc.applications.transfer.v1B\rTransferProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n+ibc/applications/transfer/v1/transfer.proto\x12\x1cibc.applications.transfer.v1"?\n\nDenomTrace\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12\x1d\n\nbase_denom\x18\x02 \x01(\tR\tbaseDenom"T\n\x06Params\x12!\n\x0csend_enabled\x18\x01 \x01(\x08R\x0bsendEnabled\x12\'\n\x0freceive_enabled\x18\x02 \x01(\x08R\x0ereceiveEnabledB\xfd\x01\n com.ibc.applications.transfer.v1B\rTransferProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.transfer_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.transfer.v1.transfer_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\rTransferProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' - _globals['_DENOMTRACE']._serialized_start=77 - _globals['_DENOMTRACE']._serialized_end=140 - _globals['_PARAMS']._serialized_start=142 - _globals['_PARAMS']._serialized_end=226 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n com.ibc.applications.transfer.v1B\rTransferProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1" + ) + _globals["_DENOMTRACE"]._serialized_start = 77 + _globals["_DENOMTRACE"]._serialized_end = 140 + _globals["_PARAMS"]._serialized_start = 142 + _globals["_PARAMS"]._serialized_end = 226 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/applications/transfer/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py index 28a24526..1c0f6d42 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,39 +18,47 @@ from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -from pyinjective.proto.ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 +from pyinjective.proto.ibc.applications.transfer.v1 import ( + transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/transfer/v1/tx.proto\x12\x1cibc.applications.transfer.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1fibc/core/client/v1/client.proto\x1a+ibc/applications/transfer/v1/transfer.proto\"\x80\x03\n\x0bMsgTransfer\x12\x1f\n\x0bsource_port\x18\x01 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x02 \x01(\tR\rsourceChannel\x12:\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05token\x12\x16\n\x06sender\x18\x04 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x05 \x01(\tR\x08receiver\x12L\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rtimeoutHeight\x12+\n\x11timeout_timestamp\x18\x07 \x01(\x04R\x10timeoutTimestamp\x12\x12\n\x04memo\x18\x08 \x01(\tR\x04memo:*\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgTransfer\"7\n\x13MsgTransferResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00\"~\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12\x42\n\x06params\x18\x02 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\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\xf7\x01\n com.ibc.applications.transfer.v1B\x07TxProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\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"\x80\x03\n\x0bMsgTransfer\x12\x1f\n\x0bsource_port\x18\x01 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x02 \x01(\tR\rsourceChannel\x12:\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05token\x12\x16\n\x06sender\x18\x04 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x05 \x01(\tR\x08receiver\x12L\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rtimeoutHeight\x12+\n\x11timeout_timestamp\x18\x07 \x01(\x04R\x10timeoutTimestamp\x12\x12\n\x04memo\x18\x08 \x01(\tR\x04memo:*\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgTransfer"7\n\x13MsgTransferResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00"~\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12\x42\n\x06params\x18\x02 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\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\xf7\x01\n com.ibc.applications.transfer.v1B\x07TxProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.transfer.v1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\007TxProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' - _globals['_MSGTRANSFER'].fields_by_name['token']._loaded_options = None - _globals['_MSGTRANSFER'].fields_by_name['token']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGTRANSFER'].fields_by_name['timeout_height']._loaded_options = None - _globals['_MSGTRANSFER'].fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_MSGTRANSFER']._loaded_options = None - _globals['_MSGTRANSFER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\026cosmos-sdk/MsgTransfer' - _globals['_MSGTRANSFERRESPONSE']._loaded_options = None - _globals['_MSGTRANSFERRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGTRANSFER']._serialized_start=248 - _globals['_MSGTRANSFER']._serialized_end=632 - _globals['_MSGTRANSFERRESPONSE']._serialized_start=634 - _globals['_MSGTRANSFERRESPONSE']._serialized_end=689 - _globals['_MSGUPDATEPARAMS']._serialized_start=691 - _globals['_MSGUPDATEPARAMS']._serialized_end=817 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=819 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=844 - _globals['_MSG']._serialized_start=847 - _globals['_MSG']._serialized_end=1083 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n com.ibc.applications.transfer.v1B\007TxProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1" + ) + _globals["_MSGTRANSFER"].fields_by_name["token"]._loaded_options = None + _globals["_MSGTRANSFER"].fields_by_name["token"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGTRANSFER"].fields_by_name["timeout_height"]._loaded_options = None + _globals["_MSGTRANSFER"].fields_by_name["timeout_height"]._serialized_options = b"\310\336\037\000\250\347\260*\001" + _globals["_MSGTRANSFER"]._loaded_options = None + _globals["_MSGTRANSFER"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\006sender\212\347\260*\026cosmos-sdk/MsgTransfer" + ) + _globals["_MSGTRANSFERRESPONSE"]._loaded_options = None + _globals["_MSGTRANSFERRESPONSE"]._serialized_options = b"\210\240\037\000" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGTRANSFER"]._serialized_start = 248 + _globals["_MSGTRANSFER"]._serialized_end = 632 + _globals["_MSGTRANSFERRESPONSE"]._serialized_start = 634 + _globals["_MSGTRANSFERRESPONSE"]._serialized_end = 689 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 691 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 817 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 819 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 844 + _globals["_MSG"]._serialized_start = 847 + _globals["_MSG"]._serialized_end = 1083 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py index 6b97abb4..15c9d187 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py @@ -2,12 +2,13 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.ibc.applications.transfer.v1 import tx_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2 +from pyinjective.proto.ibc.applications.transfer.v1 import ( + tx_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2, +) class MsgStub(object): - """Msg defines the ibc/transfer Msg service. - """ + """Msg defines the ibc/transfer Msg service.""" def __init__(self, channel): """Constructor. @@ -16,75 +17,74 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Transfer = channel.unary_unary( - '/ibc.applications.transfer.v1.Msg/Transfer', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.FromString, - _registered_method=True) + "/ibc.applications.transfer.v1.Msg/Transfer", + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.FromString, + _registered_method=True, + ) self.UpdateParams = channel.unary_unary( - '/ibc.applications.transfer.v1.Msg/UpdateParams', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/ibc.applications.transfer.v1.Msg/UpdateParams", + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the ibc/transfer Msg service. - """ + """Msg defines the ibc/transfer Msg service.""" def Transfer(self, request, context): - """Transfer defines a rpc handler method for MsgTransfer. - """ + """Transfer defines a rpc handler method for MsgTransfer.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateParams(self, request, context): - """UpdateParams defines a rpc handler for MsgUpdateParams. - """ + """UpdateParams defines a rpc handler for MsgUpdateParams.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'Transfer': grpc.unary_unary_rpc_method_handler( - servicer.Transfer, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + "Transfer": grpc.unary_unary_rpc_method_handler( + servicer.Transfer, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.SerializeToString, + ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.applications.transfer.v1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("ibc.applications.transfer.v1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.applications.transfer.v1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("ibc.applications.transfer.v1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the ibc/transfer Msg service. - """ + """Msg defines the ibc/transfer Msg service.""" @staticmethod - def Transfer(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Transfer( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.transfer.v1.Msg/Transfer', + "/ibc.applications.transfer.v1.Msg/Transfer", ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.SerializeToString, ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.FromString, options, @@ -95,23 +95,26 @@ def Transfer(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.applications.transfer.v1.Msg/UpdateParams', + "/ibc.applications.transfer.v1.Msg/UpdateParams", ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -122,4 +125,5 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py index 5ad4d53a..9d683ca4 100644 --- a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py @@ -7,21 +7,24 @@ 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)ibc/applications/transfer/v2/packet.proto\x12\x1cibc.applications.transfer.v2\"\x8f\x01\n\x17\x46ungibleTokenPacketData\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x04 \x01(\tR\x08receiver\x12\x12\n\x04memo\x18\x05 \x01(\tR\x04memoB\xfb\x01\n com.ibc.applications.transfer.v2B\x0bPacketProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V2\xca\x02\x1cIbc\\Applications\\Transfer\\V2\xe2\x02(Ibc\\Applications\\Transfer\\V2\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V2b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n)ibc/applications/transfer/v2/packet.proto\x12\x1cibc.applications.transfer.v2"\x8f\x01\n\x17\x46ungibleTokenPacketData\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x04 \x01(\tR\x08receiver\x12\x12\n\x04memo\x18\x05 \x01(\tR\x04memoB\xfb\x01\n com.ibc.applications.transfer.v2B\x0bPacketProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V2\xca\x02\x1cIbc\\Applications\\Transfer\\V2\xe2\x02(Ibc\\Applications\\Transfer\\V2\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V2b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v2.packet_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.transfer.v2.packet_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v2B\013PacketProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V2\312\002\034Ibc\\Applications\\Transfer\\V2\342\002(Ibc\\Applications\\Transfer\\V2\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V2' - _globals['_FUNGIBLETOKENPACKETDATA']._serialized_start=76 - _globals['_FUNGIBLETOKENPACKETDATA']._serialized_end=219 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n com.ibc.applications.transfer.v2B\013PacketProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V2\312\002\034Ibc\\Applications\\Transfer\\V2\342\002(Ibc\\Applications\\Transfer\\V2\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V2" + ) + _globals["_FUNGIBLETOKENPACKETDATA"]._serialized_start = 76 + _globals["_FUNGIBLETOKENPACKETDATA"]._serialized_end = 219 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/core/channel/v1/channel_pb2.py b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py index e2e386d0..b7a12203 100644 --- a/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,80 +17,86 @@ from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/channel.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\"\xb4\x02\n\x07\x43hannel\x12\x30\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x05state\x12\x36\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12K\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00R\x0c\x63ounterparty\x12\'\n\x0f\x63onnection_hops\x18\x04 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12)\n\x10upgrade_sequence\x18\x06 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00\"\xf6\x02\n\x11IdentifiedChannel\x12\x30\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x05state\x12\x36\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12K\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00R\x0c\x63ounterparty\x12\'\n\x0f\x63onnection_hops\x18\x04 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12\x17\n\x07port_id\x18\x06 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x07 \x01(\tR\tchannelId\x12)\n\x10upgrade_sequence\x18\x08 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00\"L\n\x0c\x43ounterparty\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId:\x04\x88\xa0\x1f\x00\"\xd8\x02\n\x06Packet\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1f\n\x0bsource_port\x18\x02 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x03 \x01(\tR\rsourceChannel\x12)\n\x10\x64\x65stination_port\x18\x04 \x01(\tR\x0f\x64\x65stinationPort\x12/\n\x13\x64\x65stination_channel\x18\x05 \x01(\tR\x12\x64\x65stinationChannel\x12\x12\n\x04\x64\x61ta\x18\x06 \x01(\x0cR\x04\x64\x61ta\x12G\n\x0etimeout_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\rtimeoutHeight\x12+\n\x11timeout_timestamp\x18\x08 \x01(\x04R\x10timeoutTimestamp:\x04\x88\xa0\x1f\x00\"{\n\x0bPacketState\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x12\x12\n\x04\x64\x61ta\x18\x04 \x01(\x0cR\x04\x64\x61ta:\x04\x88\xa0\x1f\x00\"d\n\x08PacketId\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00\"O\n\x0f\x41\x63knowledgement\x12\x18\n\x06result\x18\x15 \x01(\x0cH\x00R\x06result\x12\x16\n\x05\x65rror\x18\x16 \x01(\tH\x00R\x05\x65rrorB\n\n\x08response\"a\n\x07Timeout\x12\x38\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\"U\n\x06Params\x12K\n\x0fupgrade_timeout\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.TimeoutB\x04\xc8\xde\x1f\x00R\x0eupgradeTimeout*\x85\x02\n\x05State\x12\x36\n\x1fSTATE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x11\x8a\x9d \rUNINITIALIZED\x12\x18\n\nSTATE_INIT\x10\x01\x1a\x08\x8a\x9d \x04INIT\x12\x1e\n\rSTATE_TRYOPEN\x10\x02\x1a\x0b\x8a\x9d \x07TRYOPEN\x12\x18\n\nSTATE_OPEN\x10\x03\x1a\x08\x8a\x9d \x04OPEN\x12\x1c\n\x0cSTATE_CLOSED\x10\x04\x1a\n\x8a\x9d \x06\x43LOSED\x12 \n\x0eSTATE_FLUSHING\x10\x05\x1a\x0c\x8a\x9d \x08\x46LUSHING\x12*\n\x13STATE_FLUSHCOMPLETE\x10\x06\x1a\x11\x8a\x9d \rFLUSHCOMPLETE\x1a\x04\x88\xa3\x1e\x00*w\n\x05Order\x12$\n\x16ORDER_NONE_UNSPECIFIED\x10\x00\x1a\x08\x8a\x9d \x04NONE\x12\"\n\x0fORDER_UNORDERED\x10\x01\x1a\r\x8a\x9d \tUNORDERED\x12\x1e\n\rORDER_ORDERED\x10\x02\x1a\x0b\x8a\x9d \x07ORDERED\x1a\x04\x88\xa3\x1e\x00\x42\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0c\x43hannelProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n!ibc/core/channel/v1/channel.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto"\xb4\x02\n\x07\x43hannel\x12\x30\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x05state\x12\x36\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12K\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00R\x0c\x63ounterparty\x12\'\n\x0f\x63onnection_hops\x18\x04 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12)\n\x10upgrade_sequence\x18\x06 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00"\xf6\x02\n\x11IdentifiedChannel\x12\x30\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x05state\x12\x36\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12K\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00R\x0c\x63ounterparty\x12\'\n\x0f\x63onnection_hops\x18\x04 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12\x17\n\x07port_id\x18\x06 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x07 \x01(\tR\tchannelId\x12)\n\x10upgrade_sequence\x18\x08 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00"L\n\x0c\x43ounterparty\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId:\x04\x88\xa0\x1f\x00"\xd8\x02\n\x06Packet\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1f\n\x0bsource_port\x18\x02 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x03 \x01(\tR\rsourceChannel\x12)\n\x10\x64\x65stination_port\x18\x04 \x01(\tR\x0f\x64\x65stinationPort\x12/\n\x13\x64\x65stination_channel\x18\x05 \x01(\tR\x12\x64\x65stinationChannel\x12\x12\n\x04\x64\x61ta\x18\x06 \x01(\x0cR\x04\x64\x61ta\x12G\n\x0etimeout_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\rtimeoutHeight\x12+\n\x11timeout_timestamp\x18\x08 \x01(\x04R\x10timeoutTimestamp:\x04\x88\xa0\x1f\x00"{\n\x0bPacketState\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x12\x12\n\x04\x64\x61ta\x18\x04 \x01(\x0cR\x04\x64\x61ta:\x04\x88\xa0\x1f\x00"d\n\x08PacketId\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00"O\n\x0f\x41\x63knowledgement\x12\x18\n\x06result\x18\x15 \x01(\x0cH\x00R\x06result\x12\x16\n\x05\x65rror\x18\x16 \x01(\tH\x00R\x05\x65rrorB\n\n\x08response"a\n\x07Timeout\x12\x38\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp"U\n\x06Params\x12K\n\x0fupgrade_timeout\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.TimeoutB\x04\xc8\xde\x1f\x00R\x0eupgradeTimeout*\x85\x02\n\x05State\x12\x36\n\x1fSTATE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x11\x8a\x9d \rUNINITIALIZED\x12\x18\n\nSTATE_INIT\x10\x01\x1a\x08\x8a\x9d \x04INIT\x12\x1e\n\rSTATE_TRYOPEN\x10\x02\x1a\x0b\x8a\x9d \x07TRYOPEN\x12\x18\n\nSTATE_OPEN\x10\x03\x1a\x08\x8a\x9d \x04OPEN\x12\x1c\n\x0cSTATE_CLOSED\x10\x04\x1a\n\x8a\x9d \x06\x43LOSED\x12 \n\x0eSTATE_FLUSHING\x10\x05\x1a\x0c\x8a\x9d \x08\x46LUSHING\x12*\n\x13STATE_FLUSHCOMPLETE\x10\x06\x1a\x11\x8a\x9d \rFLUSHCOMPLETE\x1a\x04\x88\xa3\x1e\x00*w\n\x05Order\x12$\n\x16ORDER_NONE_UNSPECIFIED\x10\x00\x1a\x08\x8a\x9d \x04NONE\x12"\n\x0fORDER_UNORDERED\x10\x01\x1a\r\x8a\x9d \tUNORDERED\x12\x1e\n\rORDER_ORDERED\x10\x02\x1a\x0b\x8a\x9d \x07ORDERED\x1a\x04\x88\xa3\x1e\x00\x42\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0c\x43hannelProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.channel_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.channel.v1.channel_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\014ChannelProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' - _globals['_STATE']._loaded_options = None - _globals['_STATE']._serialized_options = b'\210\243\036\000' - _globals['_STATE'].values_by_name["STATE_UNINITIALIZED_UNSPECIFIED"]._loaded_options = None - _globals['_STATE'].values_by_name["STATE_UNINITIALIZED_UNSPECIFIED"]._serialized_options = b'\212\235 \rUNINITIALIZED' - _globals['_STATE'].values_by_name["STATE_INIT"]._loaded_options = None - _globals['_STATE'].values_by_name["STATE_INIT"]._serialized_options = b'\212\235 \004INIT' - _globals['_STATE'].values_by_name["STATE_TRYOPEN"]._loaded_options = None - _globals['_STATE'].values_by_name["STATE_TRYOPEN"]._serialized_options = b'\212\235 \007TRYOPEN' - _globals['_STATE'].values_by_name["STATE_OPEN"]._loaded_options = None - _globals['_STATE'].values_by_name["STATE_OPEN"]._serialized_options = b'\212\235 \004OPEN' - _globals['_STATE'].values_by_name["STATE_CLOSED"]._loaded_options = None - _globals['_STATE'].values_by_name["STATE_CLOSED"]._serialized_options = b'\212\235 \006CLOSED' - _globals['_STATE'].values_by_name["STATE_FLUSHING"]._loaded_options = None - _globals['_STATE'].values_by_name["STATE_FLUSHING"]._serialized_options = b'\212\235 \010FLUSHING' - _globals['_STATE'].values_by_name["STATE_FLUSHCOMPLETE"]._loaded_options = None - _globals['_STATE'].values_by_name["STATE_FLUSHCOMPLETE"]._serialized_options = b'\212\235 \rFLUSHCOMPLETE' - _globals['_ORDER']._loaded_options = None - _globals['_ORDER']._serialized_options = b'\210\243\036\000' - _globals['_ORDER'].values_by_name["ORDER_NONE_UNSPECIFIED"]._loaded_options = None - _globals['_ORDER'].values_by_name["ORDER_NONE_UNSPECIFIED"]._serialized_options = b'\212\235 \004NONE' - _globals['_ORDER'].values_by_name["ORDER_UNORDERED"]._loaded_options = None - _globals['_ORDER'].values_by_name["ORDER_UNORDERED"]._serialized_options = b'\212\235 \tUNORDERED' - _globals['_ORDER'].values_by_name["ORDER_ORDERED"]._loaded_options = None - _globals['_ORDER'].values_by_name["ORDER_ORDERED"]._serialized_options = b'\212\235 \007ORDERED' - _globals['_CHANNEL'].fields_by_name['counterparty']._loaded_options = None - _globals['_CHANNEL'].fields_by_name['counterparty']._serialized_options = b'\310\336\037\000' - _globals['_CHANNEL']._loaded_options = None - _globals['_CHANNEL']._serialized_options = b'\210\240\037\000' - _globals['_IDENTIFIEDCHANNEL'].fields_by_name['counterparty']._loaded_options = None - _globals['_IDENTIFIEDCHANNEL'].fields_by_name['counterparty']._serialized_options = b'\310\336\037\000' - _globals['_IDENTIFIEDCHANNEL']._loaded_options = None - _globals['_IDENTIFIEDCHANNEL']._serialized_options = b'\210\240\037\000' - _globals['_COUNTERPARTY']._loaded_options = None - _globals['_COUNTERPARTY']._serialized_options = b'\210\240\037\000' - _globals['_PACKET'].fields_by_name['timeout_height']._loaded_options = None - _globals['_PACKET'].fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000' - _globals['_PACKET']._loaded_options = None - _globals['_PACKET']._serialized_options = b'\210\240\037\000' - _globals['_PACKETSTATE']._loaded_options = None - _globals['_PACKETSTATE']._serialized_options = b'\210\240\037\000' - _globals['_PACKETID']._loaded_options = None - _globals['_PACKETID']._serialized_options = b'\210\240\037\000' - _globals['_TIMEOUT'].fields_by_name['height']._loaded_options = None - _globals['_TIMEOUT'].fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_PARAMS'].fields_by_name['upgrade_timeout']._loaded_options = None - _globals['_PARAMS'].fields_by_name['upgrade_timeout']._serialized_options = b'\310\336\037\000' - _globals['_STATE']._serialized_start=1721 - _globals['_STATE']._serialized_end=1982 - _globals['_ORDER']._serialized_start=1984 - _globals['_ORDER']._serialized_end=2103 - _globals['_CHANNEL']._serialized_start=114 - _globals['_CHANNEL']._serialized_end=422 - _globals['_IDENTIFIEDCHANNEL']._serialized_start=425 - _globals['_IDENTIFIEDCHANNEL']._serialized_end=799 - _globals['_COUNTERPARTY']._serialized_start=801 - _globals['_COUNTERPARTY']._serialized_end=877 - _globals['_PACKET']._serialized_start=880 - _globals['_PACKET']._serialized_end=1224 - _globals['_PACKETSTATE']._serialized_start=1226 - _globals['_PACKETSTATE']._serialized_end=1349 - _globals['_PACKETID']._serialized_start=1351 - _globals['_PACKETID']._serialized_end=1451 - _globals['_ACKNOWLEDGEMENT']._serialized_start=1453 - _globals['_ACKNOWLEDGEMENT']._serialized_end=1532 - _globals['_TIMEOUT']._serialized_start=1534 - _globals['_TIMEOUT']._serialized_end=1631 - _globals['_PARAMS']._serialized_start=1633 - _globals['_PARAMS']._serialized_end=1718 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.ibc.core.channel.v1B\014ChannelProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1" + ) + _globals["_STATE"]._loaded_options = None + _globals["_STATE"]._serialized_options = b"\210\243\036\000" + _globals["_STATE"].values_by_name["STATE_UNINITIALIZED_UNSPECIFIED"]._loaded_options = None + _globals["_STATE"].values_by_name[ + "STATE_UNINITIALIZED_UNSPECIFIED" + ]._serialized_options = b"\212\235 \rUNINITIALIZED" + _globals["_STATE"].values_by_name["STATE_INIT"]._loaded_options = None + _globals["_STATE"].values_by_name["STATE_INIT"]._serialized_options = b"\212\235 \004INIT" + _globals["_STATE"].values_by_name["STATE_TRYOPEN"]._loaded_options = None + _globals["_STATE"].values_by_name["STATE_TRYOPEN"]._serialized_options = b"\212\235 \007TRYOPEN" + _globals["_STATE"].values_by_name["STATE_OPEN"]._loaded_options = None + _globals["_STATE"].values_by_name["STATE_OPEN"]._serialized_options = b"\212\235 \004OPEN" + _globals["_STATE"].values_by_name["STATE_CLOSED"]._loaded_options = None + _globals["_STATE"].values_by_name["STATE_CLOSED"]._serialized_options = b"\212\235 \006CLOSED" + _globals["_STATE"].values_by_name["STATE_FLUSHING"]._loaded_options = None + _globals["_STATE"].values_by_name["STATE_FLUSHING"]._serialized_options = b"\212\235 \010FLUSHING" + _globals["_STATE"].values_by_name["STATE_FLUSHCOMPLETE"]._loaded_options = None + _globals["_STATE"].values_by_name["STATE_FLUSHCOMPLETE"]._serialized_options = b"\212\235 \rFLUSHCOMPLETE" + _globals["_ORDER"]._loaded_options = None + _globals["_ORDER"]._serialized_options = b"\210\243\036\000" + _globals["_ORDER"].values_by_name["ORDER_NONE_UNSPECIFIED"]._loaded_options = None + _globals["_ORDER"].values_by_name["ORDER_NONE_UNSPECIFIED"]._serialized_options = b"\212\235 \004NONE" + _globals["_ORDER"].values_by_name["ORDER_UNORDERED"]._loaded_options = None + _globals["_ORDER"].values_by_name["ORDER_UNORDERED"]._serialized_options = b"\212\235 \tUNORDERED" + _globals["_ORDER"].values_by_name["ORDER_ORDERED"]._loaded_options = None + _globals["_ORDER"].values_by_name["ORDER_ORDERED"]._serialized_options = b"\212\235 \007ORDERED" + _globals["_CHANNEL"].fields_by_name["counterparty"]._loaded_options = None + _globals["_CHANNEL"].fields_by_name["counterparty"]._serialized_options = b"\310\336\037\000" + _globals["_CHANNEL"]._loaded_options = None + _globals["_CHANNEL"]._serialized_options = b"\210\240\037\000" + _globals["_IDENTIFIEDCHANNEL"].fields_by_name["counterparty"]._loaded_options = None + _globals["_IDENTIFIEDCHANNEL"].fields_by_name["counterparty"]._serialized_options = b"\310\336\037\000" + _globals["_IDENTIFIEDCHANNEL"]._loaded_options = None + _globals["_IDENTIFIEDCHANNEL"]._serialized_options = b"\210\240\037\000" + _globals["_COUNTERPARTY"]._loaded_options = None + _globals["_COUNTERPARTY"]._serialized_options = b"\210\240\037\000" + _globals["_PACKET"].fields_by_name["timeout_height"]._loaded_options = None + _globals["_PACKET"].fields_by_name["timeout_height"]._serialized_options = b"\310\336\037\000" + _globals["_PACKET"]._loaded_options = None + _globals["_PACKET"]._serialized_options = b"\210\240\037\000" + _globals["_PACKETSTATE"]._loaded_options = None + _globals["_PACKETSTATE"]._serialized_options = b"\210\240\037\000" + _globals["_PACKETID"]._loaded_options = None + _globals["_PACKETID"]._serialized_options = b"\210\240\037\000" + _globals["_TIMEOUT"].fields_by_name["height"]._loaded_options = None + _globals["_TIMEOUT"].fields_by_name["height"]._serialized_options = b"\310\336\037\000" + _globals["_PARAMS"].fields_by_name["upgrade_timeout"]._loaded_options = None + _globals["_PARAMS"].fields_by_name["upgrade_timeout"]._serialized_options = b"\310\336\037\000" + _globals["_STATE"]._serialized_start = 1721 + _globals["_STATE"]._serialized_end = 1982 + _globals["_ORDER"]._serialized_start = 1984 + _globals["_ORDER"]._serialized_end = 2103 + _globals["_CHANNEL"]._serialized_start = 114 + _globals["_CHANNEL"]._serialized_end = 422 + _globals["_IDENTIFIEDCHANNEL"]._serialized_start = 425 + _globals["_IDENTIFIEDCHANNEL"]._serialized_end = 799 + _globals["_COUNTERPARTY"]._serialized_start = 801 + _globals["_COUNTERPARTY"]._serialized_end = 877 + _globals["_PACKET"]._serialized_start = 880 + _globals["_PACKET"]._serialized_end = 1224 + _globals["_PACKETSTATE"]._serialized_start = 1226 + _globals["_PACKETSTATE"]._serialized_end = 1349 + _globals["_PACKETID"]._serialized_start = 1351 + _globals["_PACKETID"]._serialized_end = 1451 + _globals["_ACKNOWLEDGEMENT"]._serialized_start = 1453 + _globals["_ACKNOWLEDGEMENT"]._serialized_end = 1532 + _globals["_TIMEOUT"]._serialized_start = 1534 + _globals["_TIMEOUT"]._serialized_end = 1631 + _globals["_PARAMS"]._serialized_start = 1633 + _globals["_PARAMS"]._serialized_end = 1718 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/channel_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/channel_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/core/channel/v1/channel_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/channel/v1/channel_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/core/channel/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py index 5b3a9feb..37ffee7d 100644 --- a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,32 +17,38 @@ from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/genesis.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\xb2\x05\n\x0cGenesisState\x12]\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelB\x19\xc8\xde\x1f\x00\xfa\xde\x1f\x11IdentifiedChannelR\x08\x63hannels\x12R\n\x10\x61\x63knowledgements\x18\x02 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x10\x61\x63knowledgements\x12H\n\x0b\x63ommitments\x18\x03 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x0b\x63ommitments\x12\x42\n\x08receipts\x18\x04 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x08receipts\x12P\n\x0esend_sequences\x18\x05 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\rsendSequences\x12P\n\x0erecv_sequences\x18\x06 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\rrecvSequences\x12N\n\rack_sequences\x18\x07 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\x0c\x61\x63kSequences\x12\x32\n\x15next_channel_sequence\x18\x08 \x01(\x04R\x13nextChannelSequence\x12\x39\n\x06params\x18\t \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"d\n\x0ePacketSequence\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequenceB\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0cGenesisProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n!ibc/core/channel/v1/genesis.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto"\xb2\x05\n\x0cGenesisState\x12]\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelB\x19\xc8\xde\x1f\x00\xfa\xde\x1f\x11IdentifiedChannelR\x08\x63hannels\x12R\n\x10\x61\x63knowledgements\x18\x02 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x10\x61\x63knowledgements\x12H\n\x0b\x63ommitments\x18\x03 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x0b\x63ommitments\x12\x42\n\x08receipts\x18\x04 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x08receipts\x12P\n\x0esend_sequences\x18\x05 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\rsendSequences\x12P\n\x0erecv_sequences\x18\x06 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\rrecvSequences\x12N\n\rack_sequences\x18\x07 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\x0c\x61\x63kSequences\x12\x32\n\x15next_channel_sequence\x18\x08 \x01(\x04R\x13nextChannelSequence\x12\x39\n\x06params\x18\t \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"d\n\x0ePacketSequence\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequenceB\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0cGenesisProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.channel.v1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\014GenesisProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' - _globals['_GENESISSTATE'].fields_by_name['channels']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['channels']._serialized_options = b'\310\336\037\000\372\336\037\021IdentifiedChannel' - _globals['_GENESISSTATE'].fields_by_name['acknowledgements']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['acknowledgements']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['commitments']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['commitments']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['receipts']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['receipts']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['send_sequences']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['send_sequences']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['recv_sequences']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['recv_sequences']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['ack_sequences']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['ack_sequences']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=116 - _globals['_GENESISSTATE']._serialized_end=806 - _globals['_PACKETSEQUENCE']._serialized_start=808 - _globals['_PACKETSEQUENCE']._serialized_end=908 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.ibc.core.channel.v1B\014GenesisProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1" + ) + _globals["_GENESISSTATE"].fields_by_name["channels"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "channels" + ]._serialized_options = b"\310\336\037\000\372\336\037\021IdentifiedChannel" + _globals["_GENESISSTATE"].fields_by_name["acknowledgements"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["acknowledgements"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["commitments"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["commitments"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["receipts"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["receipts"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["send_sequences"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["send_sequences"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["recv_sequences"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["recv_sequences"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["ack_sequences"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["ack_sequences"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"]._serialized_start = 116 + _globals["_GENESISSTATE"]._serialized_end = 806 + _globals["_PACKETSEQUENCE"]._serialized_start = 808 + _globals["_PACKETSEQUENCE"]._serialized_end = 908 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/core/channel/v1/query_pb2.py b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py index f631eefc..e41b40d4 100644 --- a/pyinjective/proto/ibc/core/channel/v1/query_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py @@ -7,13 +7,16 @@ 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 pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 @@ -21,152 +24,214 @@ from pyinjective.proto.ibc.core.channel.v1 import upgrade_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_upgrade__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/channel/v1/query.proto\x12\x13ibc.core.channel.v1\x1a\x1fibc/core/client/v1/client.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/upgrade.proto\"M\n\x13QueryChannelRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xa9\x01\n\x14QueryChannelResponse\x12\x36\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelR\x07\x63hannel\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"^\n\x14QueryChannelsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xde\x01\n\x15QueryChannelsResponse\x12\x42\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelR\x08\x63hannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"\x88\x01\n\x1eQueryConnectionChannelsRequest\x12\x1e\n\nconnection\x18\x01 \x01(\tR\nconnection\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xe8\x01\n\x1fQueryConnectionChannelsResponse\x12\x42\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelR\x08\x63hannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"X\n\x1eQueryChannelClientStateRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xdf\x01\n\x1fQueryChannelClientStateResponse\x12\x61\n\x17identified_client_state\x18\x01 \x01(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateR\x15identifiedClientState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\xad\x01\n!QueryChannelConsensusStateRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\'\n\x0frevision_number\x18\x03 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x04 \x01(\x04R\x0erevisionHeight\"\xdb\x01\n\"QueryChannelConsensusStateResponse\x12=\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x1b\n\tclient_id\x18\x02 \x01(\tR\x08\x63lientId\x12\x14\n\x05proof\x18\x03 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"r\n\x1cQueryPacketCommitmentRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\"\x9a\x01\n\x1dQueryPacketCommitmentResponse\x12\x1e\n\ncommitment\x18\x01 \x01(\x0cR\ncommitment\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\x9f\x01\n\x1dQueryPacketCommitmentsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xe7\x01\n\x1eQueryPacketCommitmentsResponse\x12\x42\n\x0b\x63ommitments\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateR\x0b\x63ommitments\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"o\n\x19QueryPacketReceiptRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\"\x93\x01\n\x1aQueryPacketReceiptResponse\x12\x1a\n\x08received\x18\x02 \x01(\x08R\x08received\x12\x14\n\x05proof\x18\x03 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"w\n!QueryPacketAcknowledgementRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\"\xa9\x01\n\"QueryPacketAcknowledgementResponse\x12(\n\x0f\x61\x63knowledgement\x18\x01 \x01(\x0cR\x0f\x61\x63knowledgement\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\xe4\x01\n\"QueryPacketAcknowledgementsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12>\n\x1bpacket_commitment_sequences\x18\x04 \x03(\x04R\x19packetCommitmentSequences\"\xf6\x01\n#QueryPacketAcknowledgementsResponse\x12L\n\x10\x61\x63knowledgements\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateR\x10\x61\x63knowledgements\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"\x97\x01\n\x1dQueryUnreceivedPacketsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12>\n\x1bpacket_commitment_sequences\x18\x03 \x03(\x04R\x19packetCommitmentSequences\"x\n\x1eQueryUnreceivedPacketsResponse\x12\x1c\n\tsequences\x18\x01 \x03(\x04R\tsequences\x12\x38\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"\x86\x01\n\x1aQueryUnreceivedAcksRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x30\n\x14packet_ack_sequences\x18\x03 \x03(\x04R\x12packetAckSequences\"u\n\x1bQueryUnreceivedAcksResponse\x12\x1c\n\tsequences\x18\x01 \x03(\x04R\tsequences\x12\x38\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"Y\n\x1fQueryNextSequenceReceiveRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xb1\x01\n QueryNextSequenceReceiveResponse\x12\x32\n\x15next_sequence_receive\x18\x01 \x01(\x04R\x13nextSequenceReceive\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"V\n\x1cQueryNextSequenceSendRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xa8\x01\n\x1dQueryNextSequenceSendResponse\x12,\n\x12next_sequence_send\x18\x01 \x01(\x04R\x10nextSequenceSend\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"R\n\x18QueryUpgradeErrorRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xc4\x01\n\x19QueryUpgradeErrorResponse\x12L\n\rerror_receipt\x18\x01 \x01(\x0b\x32!.ibc.core.channel.v1.ErrorReceiptB\x04\xc8\xde\x1f\x00R\x0c\x65rrorReceipt\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"M\n\x13QueryUpgradeRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xaf\x01\n\x14QueryUpgradeResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\x1b\n\x19QueryChannelParamsRequest\"Q\n\x1aQueryChannelParamsResponse\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsR\x06params2\xe5\x1b\n\x05Query\x12\xa2\x01\n\x07\x43hannel\x12(.ibc.core.channel.v1.QueryChannelRequest\x1a).ibc.core.channel.v1.QueryChannelResponse\"B\x82\xd3\xe4\x93\x02<\x12:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}\x12\x88\x01\n\x08\x43hannels\x12).ibc.core.channel.v1.QueryChannelsRequest\x1a*.ibc.core.channel.v1.QueryChannelsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/ibc/core/channel/v1/channels\x12\xbf\x01\n\x12\x43onnectionChannels\x12\x33.ibc.core.channel.v1.QueryConnectionChannelsRequest\x1a\x34.ibc.core.channel.v1.QueryConnectionChannelsResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/channel/v1/connections/{connection}/channels\x12\xd0\x01\n\x12\x43hannelClientState\x12\x33.ibc.core.channel.v1.QueryChannelClientStateRequest\x1a\x34.ibc.core.channel.v1.QueryChannelClientStateResponse\"O\x82\xd3\xe4\x93\x02I\x12G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state\x12\x92\x02\n\x15\x43hannelConsensusState\x12\x36.ibc.core.channel.v1.QueryChannelConsensusStateRequest\x1a\x37.ibc.core.channel.v1.QueryChannelConsensusStateResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xdb\x01\n\x10PacketCommitment\x12\x31.ibc.core.channel.v1.QueryPacketCommitmentRequest\x1a\x32.ibc.core.channel.v1.QueryPacketCommitmentResponse\"`\x82\xd3\xe4\x93\x02Z\x12X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}\x12\xd3\x01\n\x11PacketCommitments\x12\x32.ibc.core.channel.v1.QueryPacketCommitmentsRequest\x1a\x33.ibc.core.channel.v1.QueryPacketCommitmentsResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments\x12\xcf\x01\n\rPacketReceipt\x12..ibc.core.channel.v1.QueryPacketReceiptRequest\x1a/.ibc.core.channel.v1.QueryPacketReceiptResponse\"]\x82\xd3\xe4\x93\x02W\x12U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}\x12\xe3\x01\n\x15PacketAcknowledgement\x12\x36.ibc.core.channel.v1.QueryPacketAcknowledgementRequest\x1a\x37.ibc.core.channel.v1.QueryPacketAcknowledgementResponse\"Y\x82\xd3\xe4\x93\x02S\x12Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}\x12\xe7\x01\n\x16PacketAcknowledgements\x12\x37.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest\x1a\x38.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse\"Z\x82\xd3\xe4\x93\x02T\x12R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements\x12\x86\x02\n\x11UnreceivedPackets\x12\x32.ibc.core.channel.v1.QueryUnreceivedPacketsRequest\x1a\x33.ibc.core.channel.v1.QueryUnreceivedPacketsResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets\x12\xf1\x01\n\x0eUnreceivedAcks\x12/.ibc.core.channel.v1.QueryUnreceivedAcksRequest\x1a\x30.ibc.core.channel.v1.QueryUnreceivedAcksResponse\"|\x82\xd3\xe4\x93\x02v\x12t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks\x12\xd4\x01\n\x13NextSequenceReceive\x12\x34.ibc.core.channel.v1.QueryNextSequenceReceiveRequest\x1a\x35.ibc.core.channel.v1.QueryNextSequenceReceiveResponse\"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence\x12\xd0\x01\n\x10NextSequenceSend\x12\x31.ibc.core.channel.v1.QueryNextSequenceSendRequest\x1a\x32.ibc.core.channel.v1.QueryNextSequenceSendResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send\x12\xbf\x01\n\x0cUpgradeError\x12-.ibc.core.channel.v1.QueryUpgradeErrorRequest\x1a..ibc.core.channel.v1.QueryUpgradeErrorResponse\"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade_error\x12\xaa\x01\n\x07Upgrade\x12(.ibc.core.channel.v1.QueryUpgradeRequest\x1a).ibc.core.channel.v1.QueryUpgradeResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade\x12\x95\x01\n\rChannelParams\x12..ibc.core.channel.v1.QueryChannelParamsRequest\x1a/.ibc.core.channel.v1.QueryChannelParamsResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/ibc/core/channel/v1/paramsB\xcf\x01\n\x17\x63om.ibc.core.channel.v1B\nQueryProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1fibc/core/channel/v1/query.proto\x12\x13ibc.core.channel.v1\x1a\x1fibc/core/client/v1/client.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/upgrade.proto"M\n\x13QueryChannelRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"\xa9\x01\n\x14QueryChannelResponse\x12\x36\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelR\x07\x63hannel\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"^\n\x14QueryChannelsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xde\x01\n\x15QueryChannelsResponse\x12\x42\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelR\x08\x63hannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height"\x88\x01\n\x1eQueryConnectionChannelsRequest\x12\x1e\n\nconnection\x18\x01 \x01(\tR\nconnection\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xe8\x01\n\x1fQueryConnectionChannelsResponse\x12\x42\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelR\x08\x63hannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height"X\n\x1eQueryChannelClientStateRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"\xdf\x01\n\x1fQueryChannelClientStateResponse\x12\x61\n\x17identified_client_state\x18\x01 \x01(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateR\x15identifiedClientState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"\xad\x01\n!QueryChannelConsensusStateRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\'\n\x0frevision_number\x18\x03 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x04 \x01(\x04R\x0erevisionHeight"\xdb\x01\n"QueryChannelConsensusStateResponse\x12=\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x1b\n\tclient_id\x18\x02 \x01(\tR\x08\x63lientId\x12\x14\n\x05proof\x18\x03 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"r\n\x1cQueryPacketCommitmentRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence"\x9a\x01\n\x1dQueryPacketCommitmentResponse\x12\x1e\n\ncommitment\x18\x01 \x01(\x0cR\ncommitment\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"\x9f\x01\n\x1dQueryPacketCommitmentsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xe7\x01\n\x1eQueryPacketCommitmentsResponse\x12\x42\n\x0b\x63ommitments\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateR\x0b\x63ommitments\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height"o\n\x19QueryPacketReceiptRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence"\x93\x01\n\x1aQueryPacketReceiptResponse\x12\x1a\n\x08received\x18\x02 \x01(\x08R\x08received\x12\x14\n\x05proof\x18\x03 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"w\n!QueryPacketAcknowledgementRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence"\xa9\x01\n"QueryPacketAcknowledgementResponse\x12(\n\x0f\x61\x63knowledgement\x18\x01 \x01(\x0cR\x0f\x61\x63knowledgement\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"\xe4\x01\n"QueryPacketAcknowledgementsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12>\n\x1bpacket_commitment_sequences\x18\x04 \x03(\x04R\x19packetCommitmentSequences"\xf6\x01\n#QueryPacketAcknowledgementsResponse\x12L\n\x10\x61\x63knowledgements\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateR\x10\x61\x63knowledgements\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height"\x97\x01\n\x1dQueryUnreceivedPacketsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12>\n\x1bpacket_commitment_sequences\x18\x03 \x03(\x04R\x19packetCommitmentSequences"x\n\x1eQueryUnreceivedPacketsResponse\x12\x1c\n\tsequences\x18\x01 \x03(\x04R\tsequences\x12\x38\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height"\x86\x01\n\x1aQueryUnreceivedAcksRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x30\n\x14packet_ack_sequences\x18\x03 \x03(\x04R\x12packetAckSequences"u\n\x1bQueryUnreceivedAcksResponse\x12\x1c\n\tsequences\x18\x01 \x03(\x04R\tsequences\x12\x38\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height"Y\n\x1fQueryNextSequenceReceiveRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"\xb1\x01\n QueryNextSequenceReceiveResponse\x12\x32\n\x15next_sequence_receive\x18\x01 \x01(\x04R\x13nextSequenceReceive\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"V\n\x1cQueryNextSequenceSendRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"\xa8\x01\n\x1dQueryNextSequenceSendResponse\x12,\n\x12next_sequence_send\x18\x01 \x01(\x04R\x10nextSequenceSend\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"R\n\x18QueryUpgradeErrorRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"\xc4\x01\n\x19QueryUpgradeErrorResponse\x12L\n\rerror_receipt\x18\x01 \x01(\x0b\x32!.ibc.core.channel.v1.ErrorReceiptB\x04\xc8\xde\x1f\x00R\x0c\x65rrorReceipt\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"M\n\x13QueryUpgradeRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"\xaf\x01\n\x14QueryUpgradeResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"\x1b\n\x19QueryChannelParamsRequest"Q\n\x1aQueryChannelParamsResponse\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsR\x06params2\xe5\x1b\n\x05Query\x12\xa2\x01\n\x07\x43hannel\x12(.ibc.core.channel.v1.QueryChannelRequest\x1a).ibc.core.channel.v1.QueryChannelResponse"B\x82\xd3\xe4\x93\x02<\x12:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}\x12\x88\x01\n\x08\x43hannels\x12).ibc.core.channel.v1.QueryChannelsRequest\x1a*.ibc.core.channel.v1.QueryChannelsResponse"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/ibc/core/channel/v1/channels\x12\xbf\x01\n\x12\x43onnectionChannels\x12\x33.ibc.core.channel.v1.QueryConnectionChannelsRequest\x1a\x34.ibc.core.channel.v1.QueryConnectionChannelsResponse">\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/channel/v1/connections/{connection}/channels\x12\xd0\x01\n\x12\x43hannelClientState\x12\x33.ibc.core.channel.v1.QueryChannelClientStateRequest\x1a\x34.ibc.core.channel.v1.QueryChannelClientStateResponse"O\x82\xd3\xe4\x93\x02I\x12G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state\x12\x92\x02\n\x15\x43hannelConsensusState\x12\x36.ibc.core.channel.v1.QueryChannelConsensusStateRequest\x1a\x37.ibc.core.channel.v1.QueryChannelConsensusStateResponse"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xdb\x01\n\x10PacketCommitment\x12\x31.ibc.core.channel.v1.QueryPacketCommitmentRequest\x1a\x32.ibc.core.channel.v1.QueryPacketCommitmentResponse"`\x82\xd3\xe4\x93\x02Z\x12X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}\x12\xd3\x01\n\x11PacketCommitments\x12\x32.ibc.core.channel.v1.QueryPacketCommitmentsRequest\x1a\x33.ibc.core.channel.v1.QueryPacketCommitmentsResponse"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments\x12\xcf\x01\n\rPacketReceipt\x12..ibc.core.channel.v1.QueryPacketReceiptRequest\x1a/.ibc.core.channel.v1.QueryPacketReceiptResponse"]\x82\xd3\xe4\x93\x02W\x12U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}\x12\xe3\x01\n\x15PacketAcknowledgement\x12\x36.ibc.core.channel.v1.QueryPacketAcknowledgementRequest\x1a\x37.ibc.core.channel.v1.QueryPacketAcknowledgementResponse"Y\x82\xd3\xe4\x93\x02S\x12Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}\x12\xe7\x01\n\x16PacketAcknowledgements\x12\x37.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest\x1a\x38.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse"Z\x82\xd3\xe4\x93\x02T\x12R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements\x12\x86\x02\n\x11UnreceivedPackets\x12\x32.ibc.core.channel.v1.QueryUnreceivedPacketsRequest\x1a\x33.ibc.core.channel.v1.QueryUnreceivedPacketsResponse"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets\x12\xf1\x01\n\x0eUnreceivedAcks\x12/.ibc.core.channel.v1.QueryUnreceivedAcksRequest\x1a\x30.ibc.core.channel.v1.QueryUnreceivedAcksResponse"|\x82\xd3\xe4\x93\x02v\x12t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks\x12\xd4\x01\n\x13NextSequenceReceive\x12\x34.ibc.core.channel.v1.QueryNextSequenceReceiveRequest\x1a\x35.ibc.core.channel.v1.QueryNextSequenceReceiveResponse"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence\x12\xd0\x01\n\x10NextSequenceSend\x12\x31.ibc.core.channel.v1.QueryNextSequenceSendRequest\x1a\x32.ibc.core.channel.v1.QueryNextSequenceSendResponse"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send\x12\xbf\x01\n\x0cUpgradeError\x12-.ibc.core.channel.v1.QueryUpgradeErrorRequest\x1a..ibc.core.channel.v1.QueryUpgradeErrorResponse"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade_error\x12\xaa\x01\n\x07Upgrade\x12(.ibc.core.channel.v1.QueryUpgradeRequest\x1a).ibc.core.channel.v1.QueryUpgradeResponse"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade\x12\x95\x01\n\rChannelParams\x12..ibc.core.channel.v1.QueryChannelParamsRequest\x1a/.ibc.core.channel.v1.QueryChannelParamsResponse"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/ibc/core/channel/v1/paramsB\xcf\x01\n\x17\x63om.ibc.core.channel.v1B\nQueryProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.channel.v1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\nQueryProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' - _globals['_QUERYCHANNELRESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYCHANNELRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYCHANNELSRESPONSE'].fields_by_name['height']._loaded_options = None - _globals['_QUERYCHANNELSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYCONNECTIONCHANNELSRESPONSE'].fields_by_name['height']._loaded_options = None - _globals['_QUERYCONNECTIONCHANNELSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYCHANNELCLIENTSTATERESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYCHANNELCLIENTSTATERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYPACKETCOMMITMENTRESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYPACKETCOMMITMENTRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYPACKETCOMMITMENTSRESPONSE'].fields_by_name['height']._loaded_options = None - _globals['_QUERYPACKETCOMMITMENTSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYPACKETRECEIPTRESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYPACKETRECEIPTRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE'].fields_by_name['height']._loaded_options = None - _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYUNRECEIVEDPACKETSRESPONSE'].fields_by_name['height']._loaded_options = None - _globals['_QUERYUNRECEIVEDPACKETSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYUNRECEIVEDACKSRESPONSE'].fields_by_name['height']._loaded_options = None - _globals['_QUERYUNRECEIVEDACKSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYNEXTSEQUENCESENDRESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYNEXTSEQUENCESENDRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYUPGRADEERRORRESPONSE'].fields_by_name['error_receipt']._loaded_options = None - _globals['_QUERYUPGRADEERRORRESPONSE'].fields_by_name['error_receipt']._serialized_options = b'\310\336\037\000' - _globals['_QUERYUPGRADEERRORRESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYUPGRADEERRORRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYUPGRADERESPONSE'].fields_by_name['upgrade']._loaded_options = None - _globals['_QUERYUPGRADERESPONSE'].fields_by_name['upgrade']._serialized_options = b'\310\336\037\000' - _globals['_QUERYUPGRADERESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYUPGRADERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERY'].methods_by_name['Channel']._loaded_options = None - _globals['_QUERY'].methods_by_name['Channel']._serialized_options = b'\202\323\344\223\002<\022:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}' - _globals['_QUERY'].methods_by_name['Channels']._loaded_options = None - _globals['_QUERY'].methods_by_name['Channels']._serialized_options = b'\202\323\344\223\002\037\022\035/ibc/core/channel/v1/channels' - _globals['_QUERY'].methods_by_name['ConnectionChannels']._loaded_options = None - _globals['_QUERY'].methods_by_name['ConnectionChannels']._serialized_options = b'\202\323\344\223\0028\0226/ibc/core/channel/v1/connections/{connection}/channels' - _globals['_QUERY'].methods_by_name['ChannelClientState']._loaded_options = None - _globals['_QUERY'].methods_by_name['ChannelClientState']._serialized_options = b'\202\323\344\223\002I\022G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state' - _globals['_QUERY'].methods_by_name['ChannelConsensusState']._loaded_options = None - _globals['_QUERY'].methods_by_name['ChannelConsensusState']._serialized_options = b'\202\323\344\223\002\200\001\022~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}' - _globals['_QUERY'].methods_by_name['PacketCommitment']._loaded_options = None - _globals['_QUERY'].methods_by_name['PacketCommitment']._serialized_options = b'\202\323\344\223\002Z\022X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}' - _globals['_QUERY'].methods_by_name['PacketCommitments']._loaded_options = None - _globals['_QUERY'].methods_by_name['PacketCommitments']._serialized_options = b'\202\323\344\223\002O\022M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments' - _globals['_QUERY'].methods_by_name['PacketReceipt']._loaded_options = None - _globals['_QUERY'].methods_by_name['PacketReceipt']._serialized_options = b'\202\323\344\223\002W\022U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}' - _globals['_QUERY'].methods_by_name['PacketAcknowledgement']._loaded_options = None - _globals['_QUERY'].methods_by_name['PacketAcknowledgement']._serialized_options = b'\202\323\344\223\002S\022Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}' - _globals['_QUERY'].methods_by_name['PacketAcknowledgements']._loaded_options = None - _globals['_QUERY'].methods_by_name['PacketAcknowledgements']._serialized_options = b'\202\323\344\223\002T\022R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements' - _globals['_QUERY'].methods_by_name['UnreceivedPackets']._loaded_options = None - _globals['_QUERY'].methods_by_name['UnreceivedPackets']._serialized_options = b'\202\323\344\223\002\200\001\022~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets' - _globals['_QUERY'].methods_by_name['UnreceivedAcks']._loaded_options = None - _globals['_QUERY'].methods_by_name['UnreceivedAcks']._serialized_options = b'\202\323\344\223\002v\022t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks' - _globals['_QUERY'].methods_by_name['NextSequenceReceive']._loaded_options = None - _globals['_QUERY'].methods_by_name['NextSequenceReceive']._serialized_options = b'\202\323\344\223\002J\022H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence' - _globals['_QUERY'].methods_by_name['NextSequenceSend']._loaded_options = None - _globals['_QUERY'].methods_by_name['NextSequenceSend']._serialized_options = b'\202\323\344\223\002O\022M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send' - _globals['_QUERY'].methods_by_name['UpgradeError']._loaded_options = None - _globals['_QUERY'].methods_by_name['UpgradeError']._serialized_options = b'\202\323\344\223\002J\022H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade_error' - _globals['_QUERY'].methods_by_name['Upgrade']._loaded_options = None - _globals['_QUERY'].methods_by_name['Upgrade']._serialized_options = b'\202\323\344\223\002D\022B/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade' - _globals['_QUERY'].methods_by_name['ChannelParams']._loaded_options = None - _globals['_QUERY'].methods_by_name['ChannelParams']._serialized_options = b'\202\323\344\223\002\035\022\033/ibc/core/channel/v1/params' - _globals['_QUERYCHANNELREQUEST']._serialized_start=282 - _globals['_QUERYCHANNELREQUEST']._serialized_end=359 - _globals['_QUERYCHANNELRESPONSE']._serialized_start=362 - _globals['_QUERYCHANNELRESPONSE']._serialized_end=531 - _globals['_QUERYCHANNELSREQUEST']._serialized_start=533 - _globals['_QUERYCHANNELSREQUEST']._serialized_end=627 - _globals['_QUERYCHANNELSRESPONSE']._serialized_start=630 - _globals['_QUERYCHANNELSRESPONSE']._serialized_end=852 - _globals['_QUERYCONNECTIONCHANNELSREQUEST']._serialized_start=855 - _globals['_QUERYCONNECTIONCHANNELSREQUEST']._serialized_end=991 - _globals['_QUERYCONNECTIONCHANNELSRESPONSE']._serialized_start=994 - _globals['_QUERYCONNECTIONCHANNELSRESPONSE']._serialized_end=1226 - _globals['_QUERYCHANNELCLIENTSTATEREQUEST']._serialized_start=1228 - _globals['_QUERYCHANNELCLIENTSTATEREQUEST']._serialized_end=1316 - _globals['_QUERYCHANNELCLIENTSTATERESPONSE']._serialized_start=1319 - _globals['_QUERYCHANNELCLIENTSTATERESPONSE']._serialized_end=1542 - _globals['_QUERYCHANNELCONSENSUSSTATEREQUEST']._serialized_start=1545 - _globals['_QUERYCHANNELCONSENSUSSTATEREQUEST']._serialized_end=1718 - _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE']._serialized_start=1721 - _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE']._serialized_end=1940 - _globals['_QUERYPACKETCOMMITMENTREQUEST']._serialized_start=1942 - _globals['_QUERYPACKETCOMMITMENTREQUEST']._serialized_end=2056 - _globals['_QUERYPACKETCOMMITMENTRESPONSE']._serialized_start=2059 - _globals['_QUERYPACKETCOMMITMENTRESPONSE']._serialized_end=2213 - _globals['_QUERYPACKETCOMMITMENTSREQUEST']._serialized_start=2216 - _globals['_QUERYPACKETCOMMITMENTSREQUEST']._serialized_end=2375 - _globals['_QUERYPACKETCOMMITMENTSRESPONSE']._serialized_start=2378 - _globals['_QUERYPACKETCOMMITMENTSRESPONSE']._serialized_end=2609 - _globals['_QUERYPACKETRECEIPTREQUEST']._serialized_start=2611 - _globals['_QUERYPACKETRECEIPTREQUEST']._serialized_end=2722 - _globals['_QUERYPACKETRECEIPTRESPONSE']._serialized_start=2725 - _globals['_QUERYPACKETRECEIPTRESPONSE']._serialized_end=2872 - _globals['_QUERYPACKETACKNOWLEDGEMENTREQUEST']._serialized_start=2874 - _globals['_QUERYPACKETACKNOWLEDGEMENTREQUEST']._serialized_end=2993 - _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE']._serialized_start=2996 - _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE']._serialized_end=3165 - _globals['_QUERYPACKETACKNOWLEDGEMENTSREQUEST']._serialized_start=3168 - _globals['_QUERYPACKETACKNOWLEDGEMENTSREQUEST']._serialized_end=3396 - _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE']._serialized_start=3399 - _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE']._serialized_end=3645 - _globals['_QUERYUNRECEIVEDPACKETSREQUEST']._serialized_start=3648 - _globals['_QUERYUNRECEIVEDPACKETSREQUEST']._serialized_end=3799 - _globals['_QUERYUNRECEIVEDPACKETSRESPONSE']._serialized_start=3801 - _globals['_QUERYUNRECEIVEDPACKETSRESPONSE']._serialized_end=3921 - _globals['_QUERYUNRECEIVEDACKSREQUEST']._serialized_start=3924 - _globals['_QUERYUNRECEIVEDACKSREQUEST']._serialized_end=4058 - _globals['_QUERYUNRECEIVEDACKSRESPONSE']._serialized_start=4060 - _globals['_QUERYUNRECEIVEDACKSRESPONSE']._serialized_end=4177 - _globals['_QUERYNEXTSEQUENCERECEIVEREQUEST']._serialized_start=4179 - _globals['_QUERYNEXTSEQUENCERECEIVEREQUEST']._serialized_end=4268 - _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE']._serialized_start=4271 - _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE']._serialized_end=4448 - _globals['_QUERYNEXTSEQUENCESENDREQUEST']._serialized_start=4450 - _globals['_QUERYNEXTSEQUENCESENDREQUEST']._serialized_end=4536 - _globals['_QUERYNEXTSEQUENCESENDRESPONSE']._serialized_start=4539 - _globals['_QUERYNEXTSEQUENCESENDRESPONSE']._serialized_end=4707 - _globals['_QUERYUPGRADEERRORREQUEST']._serialized_start=4709 - _globals['_QUERYUPGRADEERRORREQUEST']._serialized_end=4791 - _globals['_QUERYUPGRADEERRORRESPONSE']._serialized_start=4794 - _globals['_QUERYUPGRADEERRORRESPONSE']._serialized_end=4990 - _globals['_QUERYUPGRADEREQUEST']._serialized_start=4992 - _globals['_QUERYUPGRADEREQUEST']._serialized_end=5069 - _globals['_QUERYUPGRADERESPONSE']._serialized_start=5072 - _globals['_QUERYUPGRADERESPONSE']._serialized_end=5247 - _globals['_QUERYCHANNELPARAMSREQUEST']._serialized_start=5249 - _globals['_QUERYCHANNELPARAMSREQUEST']._serialized_end=5276 - _globals['_QUERYCHANNELPARAMSRESPONSE']._serialized_start=5278 - _globals['_QUERYCHANNELPARAMSRESPONSE']._serialized_end=5359 - _globals['_QUERY']._serialized_start=5362 - _globals['_QUERY']._serialized_end=8919 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.ibc.core.channel.v1B\nQueryProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1" + ) + _globals["_QUERYCHANNELRESPONSE"].fields_by_name["proof_height"]._loaded_options = None + _globals["_QUERYCHANNELRESPONSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYCHANNELSRESPONSE"].fields_by_name["height"]._loaded_options = None + _globals["_QUERYCHANNELSRESPONSE"].fields_by_name["height"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYCONNECTIONCHANNELSRESPONSE"].fields_by_name["height"]._loaded_options = None + _globals["_QUERYCONNECTIONCHANNELSRESPONSE"].fields_by_name["height"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYCHANNELCLIENTSTATERESPONSE"].fields_by_name["proof_height"]._loaded_options = None + _globals["_QUERYCHANNELCLIENTSTATERESPONSE"].fields_by_name[ + "proof_height" + ]._serialized_options = b"\310\336\037\000" + _globals["_QUERYCHANNELCONSENSUSSTATERESPONSE"].fields_by_name["proof_height"]._loaded_options = None + _globals["_QUERYCHANNELCONSENSUSSTATERESPONSE"].fields_by_name[ + "proof_height" + ]._serialized_options = b"\310\336\037\000" + _globals["_QUERYPACKETCOMMITMENTRESPONSE"].fields_by_name["proof_height"]._loaded_options = None + _globals["_QUERYPACKETCOMMITMENTRESPONSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYPACKETCOMMITMENTSRESPONSE"].fields_by_name["height"]._loaded_options = None + _globals["_QUERYPACKETCOMMITMENTSRESPONSE"].fields_by_name["height"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYPACKETRECEIPTRESPONSE"].fields_by_name["proof_height"]._loaded_options = None + _globals["_QUERYPACKETRECEIPTRESPONSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYPACKETACKNOWLEDGEMENTRESPONSE"].fields_by_name["proof_height"]._loaded_options = None + _globals["_QUERYPACKETACKNOWLEDGEMENTRESPONSE"].fields_by_name[ + "proof_height" + ]._serialized_options = b"\310\336\037\000" + _globals["_QUERYPACKETACKNOWLEDGEMENTSRESPONSE"].fields_by_name["height"]._loaded_options = None + _globals["_QUERYPACKETACKNOWLEDGEMENTSRESPONSE"].fields_by_name["height"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYUNRECEIVEDPACKETSRESPONSE"].fields_by_name["height"]._loaded_options = None + _globals["_QUERYUNRECEIVEDPACKETSRESPONSE"].fields_by_name["height"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYUNRECEIVEDACKSRESPONSE"].fields_by_name["height"]._loaded_options = None + _globals["_QUERYUNRECEIVEDACKSRESPONSE"].fields_by_name["height"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYNEXTSEQUENCERECEIVERESPONSE"].fields_by_name["proof_height"]._loaded_options = None + _globals["_QUERYNEXTSEQUENCERECEIVERESPONSE"].fields_by_name[ + "proof_height" + ]._serialized_options = b"\310\336\037\000" + _globals["_QUERYNEXTSEQUENCESENDRESPONSE"].fields_by_name["proof_height"]._loaded_options = None + _globals["_QUERYNEXTSEQUENCESENDRESPONSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYUPGRADEERRORRESPONSE"].fields_by_name["error_receipt"]._loaded_options = None + _globals["_QUERYUPGRADEERRORRESPONSE"].fields_by_name["error_receipt"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYUPGRADEERRORRESPONSE"].fields_by_name["proof_height"]._loaded_options = None + _globals["_QUERYUPGRADEERRORRESPONSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYUPGRADERESPONSE"].fields_by_name["upgrade"]._loaded_options = None + _globals["_QUERYUPGRADERESPONSE"].fields_by_name["upgrade"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYUPGRADERESPONSE"].fields_by_name["proof_height"]._loaded_options = None + _globals["_QUERYUPGRADERESPONSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_QUERY"].methods_by_name["Channel"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Channel" + ]._serialized_options = b"\202\323\344\223\002<\022:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}" + _globals["_QUERY"].methods_by_name["Channels"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Channels" + ]._serialized_options = b"\202\323\344\223\002\037\022\035/ibc/core/channel/v1/channels" + _globals["_QUERY"].methods_by_name["ConnectionChannels"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ConnectionChannels" + ]._serialized_options = b"\202\323\344\223\0028\0226/ibc/core/channel/v1/connections/{connection}/channels" + _globals["_QUERY"].methods_by_name["ChannelClientState"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ChannelClientState" + ]._serialized_options = ( + b"\202\323\344\223\002I\022G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state" + ) + _globals["_QUERY"].methods_by_name["ChannelConsensusState"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ChannelConsensusState" + ]._serialized_options = b"\202\323\344\223\002\200\001\022~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}" + _globals["_QUERY"].methods_by_name["PacketCommitment"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "PacketCommitment" + ]._serialized_options = b"\202\323\344\223\002Z\022X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}" + _globals["_QUERY"].methods_by_name["PacketCommitments"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "PacketCommitments" + ]._serialized_options = ( + b"\202\323\344\223\002O\022M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments" + ) + _globals["_QUERY"].methods_by_name["PacketReceipt"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "PacketReceipt" + ]._serialized_options = b"\202\323\344\223\002W\022U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}" + _globals["_QUERY"].methods_by_name["PacketAcknowledgement"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "PacketAcknowledgement" + ]._serialized_options = ( + b"\202\323\344\223\002S\022Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}" + ) + _globals["_QUERY"].methods_by_name["PacketAcknowledgements"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "PacketAcknowledgements" + ]._serialized_options = ( + b"\202\323\344\223\002T\022R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements" + ) + _globals["_QUERY"].methods_by_name["UnreceivedPackets"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "UnreceivedPackets" + ]._serialized_options = b"\202\323\344\223\002\200\001\022~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets" + _globals["_QUERY"].methods_by_name["UnreceivedAcks"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "UnreceivedAcks" + ]._serialized_options = b"\202\323\344\223\002v\022t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks" + _globals["_QUERY"].methods_by_name["NextSequenceReceive"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "NextSequenceReceive" + ]._serialized_options = ( + b"\202\323\344\223\002J\022H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence" + ) + _globals["_QUERY"].methods_by_name["NextSequenceSend"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "NextSequenceSend" + ]._serialized_options = ( + b"\202\323\344\223\002O\022M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send" + ) + _globals["_QUERY"].methods_by_name["UpgradeError"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "UpgradeError" + ]._serialized_options = ( + b"\202\323\344\223\002J\022H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade_error" + ) + _globals["_QUERY"].methods_by_name["Upgrade"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Upgrade" + ]._serialized_options = ( + b"\202\323\344\223\002D\022B/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade" + ) + _globals["_QUERY"].methods_by_name["ChannelParams"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ChannelParams" + ]._serialized_options = b"\202\323\344\223\002\035\022\033/ibc/core/channel/v1/params" + _globals["_QUERYCHANNELREQUEST"]._serialized_start = 282 + _globals["_QUERYCHANNELREQUEST"]._serialized_end = 359 + _globals["_QUERYCHANNELRESPONSE"]._serialized_start = 362 + _globals["_QUERYCHANNELRESPONSE"]._serialized_end = 531 + _globals["_QUERYCHANNELSREQUEST"]._serialized_start = 533 + _globals["_QUERYCHANNELSREQUEST"]._serialized_end = 627 + _globals["_QUERYCHANNELSRESPONSE"]._serialized_start = 630 + _globals["_QUERYCHANNELSRESPONSE"]._serialized_end = 852 + _globals["_QUERYCONNECTIONCHANNELSREQUEST"]._serialized_start = 855 + _globals["_QUERYCONNECTIONCHANNELSREQUEST"]._serialized_end = 991 + _globals["_QUERYCONNECTIONCHANNELSRESPONSE"]._serialized_start = 994 + _globals["_QUERYCONNECTIONCHANNELSRESPONSE"]._serialized_end = 1226 + _globals["_QUERYCHANNELCLIENTSTATEREQUEST"]._serialized_start = 1228 + _globals["_QUERYCHANNELCLIENTSTATEREQUEST"]._serialized_end = 1316 + _globals["_QUERYCHANNELCLIENTSTATERESPONSE"]._serialized_start = 1319 + _globals["_QUERYCHANNELCLIENTSTATERESPONSE"]._serialized_end = 1542 + _globals["_QUERYCHANNELCONSENSUSSTATEREQUEST"]._serialized_start = 1545 + _globals["_QUERYCHANNELCONSENSUSSTATEREQUEST"]._serialized_end = 1718 + _globals["_QUERYCHANNELCONSENSUSSTATERESPONSE"]._serialized_start = 1721 + _globals["_QUERYCHANNELCONSENSUSSTATERESPONSE"]._serialized_end = 1940 + _globals["_QUERYPACKETCOMMITMENTREQUEST"]._serialized_start = 1942 + _globals["_QUERYPACKETCOMMITMENTREQUEST"]._serialized_end = 2056 + _globals["_QUERYPACKETCOMMITMENTRESPONSE"]._serialized_start = 2059 + _globals["_QUERYPACKETCOMMITMENTRESPONSE"]._serialized_end = 2213 + _globals["_QUERYPACKETCOMMITMENTSREQUEST"]._serialized_start = 2216 + _globals["_QUERYPACKETCOMMITMENTSREQUEST"]._serialized_end = 2375 + _globals["_QUERYPACKETCOMMITMENTSRESPONSE"]._serialized_start = 2378 + _globals["_QUERYPACKETCOMMITMENTSRESPONSE"]._serialized_end = 2609 + _globals["_QUERYPACKETRECEIPTREQUEST"]._serialized_start = 2611 + _globals["_QUERYPACKETRECEIPTREQUEST"]._serialized_end = 2722 + _globals["_QUERYPACKETRECEIPTRESPONSE"]._serialized_start = 2725 + _globals["_QUERYPACKETRECEIPTRESPONSE"]._serialized_end = 2872 + _globals["_QUERYPACKETACKNOWLEDGEMENTREQUEST"]._serialized_start = 2874 + _globals["_QUERYPACKETACKNOWLEDGEMENTREQUEST"]._serialized_end = 2993 + _globals["_QUERYPACKETACKNOWLEDGEMENTRESPONSE"]._serialized_start = 2996 + _globals["_QUERYPACKETACKNOWLEDGEMENTRESPONSE"]._serialized_end = 3165 + _globals["_QUERYPACKETACKNOWLEDGEMENTSREQUEST"]._serialized_start = 3168 + _globals["_QUERYPACKETACKNOWLEDGEMENTSREQUEST"]._serialized_end = 3396 + _globals["_QUERYPACKETACKNOWLEDGEMENTSRESPONSE"]._serialized_start = 3399 + _globals["_QUERYPACKETACKNOWLEDGEMENTSRESPONSE"]._serialized_end = 3645 + _globals["_QUERYUNRECEIVEDPACKETSREQUEST"]._serialized_start = 3648 + _globals["_QUERYUNRECEIVEDPACKETSREQUEST"]._serialized_end = 3799 + _globals["_QUERYUNRECEIVEDPACKETSRESPONSE"]._serialized_start = 3801 + _globals["_QUERYUNRECEIVEDPACKETSRESPONSE"]._serialized_end = 3921 + _globals["_QUERYUNRECEIVEDACKSREQUEST"]._serialized_start = 3924 + _globals["_QUERYUNRECEIVEDACKSREQUEST"]._serialized_end = 4058 + _globals["_QUERYUNRECEIVEDACKSRESPONSE"]._serialized_start = 4060 + _globals["_QUERYUNRECEIVEDACKSRESPONSE"]._serialized_end = 4177 + _globals["_QUERYNEXTSEQUENCERECEIVEREQUEST"]._serialized_start = 4179 + _globals["_QUERYNEXTSEQUENCERECEIVEREQUEST"]._serialized_end = 4268 + _globals["_QUERYNEXTSEQUENCERECEIVERESPONSE"]._serialized_start = 4271 + _globals["_QUERYNEXTSEQUENCERECEIVERESPONSE"]._serialized_end = 4448 + _globals["_QUERYNEXTSEQUENCESENDREQUEST"]._serialized_start = 4450 + _globals["_QUERYNEXTSEQUENCESENDREQUEST"]._serialized_end = 4536 + _globals["_QUERYNEXTSEQUENCESENDRESPONSE"]._serialized_start = 4539 + _globals["_QUERYNEXTSEQUENCESENDRESPONSE"]._serialized_end = 4707 + _globals["_QUERYUPGRADEERRORREQUEST"]._serialized_start = 4709 + _globals["_QUERYUPGRADEERRORREQUEST"]._serialized_end = 4791 + _globals["_QUERYUPGRADEERRORRESPONSE"]._serialized_start = 4794 + _globals["_QUERYUPGRADEERRORRESPONSE"]._serialized_end = 4990 + _globals["_QUERYUPGRADEREQUEST"]._serialized_start = 4992 + _globals["_QUERYUPGRADEREQUEST"]._serialized_end = 5069 + _globals["_QUERYUPGRADERESPONSE"]._serialized_start = 5072 + _globals["_QUERYUPGRADERESPONSE"]._serialized_end = 5247 + _globals["_QUERYCHANNELPARAMSREQUEST"]._serialized_start = 5249 + _globals["_QUERYCHANNELPARAMSREQUEST"]._serialized_end = 5276 + _globals["_QUERYCHANNELPARAMSRESPONSE"]._serialized_start = 5278 + _globals["_QUERYCHANNELPARAMSRESPONSE"]._serialized_end = 5359 + _globals["_QUERY"]._serialized_start = 5362 + _globals["_QUERY"]._serialized_end = 8919 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py index f6e0e336..b58d6631 100644 --- a/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query provides defines the gRPC querier service - """ + """Query provides defines the gRPC querier service""" def __init__(self, channel): """Constructor. @@ -16,338 +15,345 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Channel = channel.unary_unary( - '/ibc.core.channel.v1.Query/Channel', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/Channel", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelResponse.FromString, + _registered_method=True, + ) self.Channels = channel.unary_unary( - '/ibc.core.channel.v1.Query/Channels', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/Channels", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsResponse.FromString, + _registered_method=True, + ) self.ConnectionChannels = channel.unary_unary( - '/ibc.core.channel.v1.Query/ConnectionChannels', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/ConnectionChannels", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsResponse.FromString, + _registered_method=True, + ) self.ChannelClientState = channel.unary_unary( - '/ibc.core.channel.v1.Query/ChannelClientState', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/ChannelClientState", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateResponse.FromString, + _registered_method=True, + ) self.ChannelConsensusState = channel.unary_unary( - '/ibc.core.channel.v1.Query/ChannelConsensusState', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/ChannelConsensusState", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateResponse.FromString, + _registered_method=True, + ) self.PacketCommitment = channel.unary_unary( - '/ibc.core.channel.v1.Query/PacketCommitment', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/PacketCommitment", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentResponse.FromString, + _registered_method=True, + ) self.PacketCommitments = channel.unary_unary( - '/ibc.core.channel.v1.Query/PacketCommitments', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/PacketCommitments", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsResponse.FromString, + _registered_method=True, + ) self.PacketReceipt = channel.unary_unary( - '/ibc.core.channel.v1.Query/PacketReceipt', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/PacketReceipt", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptResponse.FromString, + _registered_method=True, + ) self.PacketAcknowledgement = channel.unary_unary( - '/ibc.core.channel.v1.Query/PacketAcknowledgement', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/PacketAcknowledgement", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementResponse.FromString, + _registered_method=True, + ) self.PacketAcknowledgements = channel.unary_unary( - '/ibc.core.channel.v1.Query/PacketAcknowledgements', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/PacketAcknowledgements", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsResponse.FromString, + _registered_method=True, + ) self.UnreceivedPackets = channel.unary_unary( - '/ibc.core.channel.v1.Query/UnreceivedPackets', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/UnreceivedPackets", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsResponse.FromString, + _registered_method=True, + ) self.UnreceivedAcks = channel.unary_unary( - '/ibc.core.channel.v1.Query/UnreceivedAcks', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/UnreceivedAcks", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksResponse.FromString, + _registered_method=True, + ) self.NextSequenceReceive = channel.unary_unary( - '/ibc.core.channel.v1.Query/NextSequenceReceive', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/NextSequenceReceive", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.FromString, + _registered_method=True, + ) self.NextSequenceSend = channel.unary_unary( - '/ibc.core.channel.v1.Query/NextSequenceSend', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/NextSequenceSend", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.FromString, + _registered_method=True, + ) self.UpgradeError = channel.unary_unary( - '/ibc.core.channel.v1.Query/UpgradeError', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/UpgradeError", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorResponse.FromString, + _registered_method=True, + ) self.Upgrade = channel.unary_unary( - '/ibc.core.channel.v1.Query/Upgrade', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/Upgrade", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeResponse.FromString, + _registered_method=True, + ) self.ChannelParams = channel.unary_unary( - '/ibc.core.channel.v1.Query/ChannelParams', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Query/ChannelParams", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query provides defines the gRPC querier service - """ + """Query provides defines the gRPC querier service""" def Channel(self, request, context): - """Channel queries an IBC Channel. - """ + """Channel queries an IBC Channel.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Channels(self, request, context): - """Channels queries all the IBC channels of a chain. - """ + """Channels queries all the IBC channels of a chain.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ConnectionChannels(self, request, context): """ConnectionChannels queries all the channels associated with a connection end. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ChannelClientState(self, request, context): """ChannelClientState queries for the client state for the channel associated with the provided channel identifiers. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ChannelConsensusState(self, request, context): """ChannelConsensusState queries for the consensus state for the channel associated with the provided channel identifiers. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PacketCommitment(self, request, context): - """PacketCommitment queries a stored packet commitment hash. - """ + """PacketCommitment queries a stored packet commitment hash.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PacketCommitments(self, request, context): """PacketCommitments returns all the packet commitments hashes associated with a channel. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PacketReceipt(self, request, context): """PacketReceipt queries if a given packet sequence has been received on the queried chain """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PacketAcknowledgement(self, request, context): - """PacketAcknowledgement queries a stored packet acknowledgement hash. - """ + """PacketAcknowledgement queries a stored packet acknowledgement hash.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PacketAcknowledgements(self, request, context): """PacketAcknowledgements returns all the packet acknowledgements associated with a channel. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UnreceivedPackets(self, request, context): """UnreceivedPackets returns all the unreceived IBC packets associated with a channel and sequences. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UnreceivedAcks(self, request, context): """UnreceivedAcks returns all the unreceived IBC acknowledgements associated with a channel and sequences. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def NextSequenceReceive(self, request, context): - """NextSequenceReceive returns the next receive sequence for a given channel. - """ + """NextSequenceReceive returns the next receive sequence for a given channel.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def NextSequenceSend(self, request, context): - """NextSequenceSend returns the next send sequence for a given channel. - """ + """NextSequenceSend returns the next send sequence for a given channel.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpgradeError(self, request, context): - """UpgradeError returns the error receipt if the upgrade handshake failed. - """ + """UpgradeError returns the error receipt if the upgrade handshake failed.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Upgrade(self, request, context): - """Upgrade returns the upgrade for a given port and channel id. - """ + """Upgrade returns the upgrade for a given port and channel id.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ChannelParams(self, request, context): - """ChannelParams queries all parameters of the ibc channel submodule. - """ + """ChannelParams queries all parameters of the ibc channel submodule.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Channel': grpc.unary_unary_rpc_method_handler( - servicer.Channel, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelResponse.SerializeToString, - ), - 'Channels': grpc.unary_unary_rpc_method_handler( - servicer.Channels, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsResponse.SerializeToString, - ), - 'ConnectionChannels': grpc.unary_unary_rpc_method_handler( - servicer.ConnectionChannels, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsResponse.SerializeToString, - ), - 'ChannelClientState': grpc.unary_unary_rpc_method_handler( - servicer.ChannelClientState, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateResponse.SerializeToString, - ), - 'ChannelConsensusState': grpc.unary_unary_rpc_method_handler( - servicer.ChannelConsensusState, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateResponse.SerializeToString, - ), - 'PacketCommitment': grpc.unary_unary_rpc_method_handler( - servicer.PacketCommitment, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentResponse.SerializeToString, - ), - 'PacketCommitments': grpc.unary_unary_rpc_method_handler( - servicer.PacketCommitments, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsResponse.SerializeToString, - ), - 'PacketReceipt': grpc.unary_unary_rpc_method_handler( - servicer.PacketReceipt, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptResponse.SerializeToString, - ), - 'PacketAcknowledgement': grpc.unary_unary_rpc_method_handler( - servicer.PacketAcknowledgement, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementResponse.SerializeToString, - ), - 'PacketAcknowledgements': grpc.unary_unary_rpc_method_handler( - servicer.PacketAcknowledgements, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsResponse.SerializeToString, - ), - 'UnreceivedPackets': grpc.unary_unary_rpc_method_handler( - servicer.UnreceivedPackets, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsResponse.SerializeToString, - ), - 'UnreceivedAcks': grpc.unary_unary_rpc_method_handler( - servicer.UnreceivedAcks, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksResponse.SerializeToString, - ), - 'NextSequenceReceive': grpc.unary_unary_rpc_method_handler( - servicer.NextSequenceReceive, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.SerializeToString, - ), - 'NextSequenceSend': grpc.unary_unary_rpc_method_handler( - servicer.NextSequenceSend, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.SerializeToString, - ), - 'UpgradeError': grpc.unary_unary_rpc_method_handler( - servicer.UpgradeError, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorResponse.SerializeToString, - ), - 'Upgrade': grpc.unary_unary_rpc_method_handler( - servicer.Upgrade, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeResponse.SerializeToString, - ), - 'ChannelParams': grpc.unary_unary_rpc_method_handler( - servicer.ChannelParams, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsResponse.SerializeToString, - ), + "Channel": grpc.unary_unary_rpc_method_handler( + servicer.Channel, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelResponse.SerializeToString, + ), + "Channels": grpc.unary_unary_rpc_method_handler( + servicer.Channels, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsResponse.SerializeToString, + ), + "ConnectionChannels": grpc.unary_unary_rpc_method_handler( + servicer.ConnectionChannels, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsResponse.SerializeToString, + ), + "ChannelClientState": grpc.unary_unary_rpc_method_handler( + servicer.ChannelClientState, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateResponse.SerializeToString, + ), + "ChannelConsensusState": grpc.unary_unary_rpc_method_handler( + servicer.ChannelConsensusState, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateResponse.SerializeToString, + ), + "PacketCommitment": grpc.unary_unary_rpc_method_handler( + servicer.PacketCommitment, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentResponse.SerializeToString, + ), + "PacketCommitments": grpc.unary_unary_rpc_method_handler( + servicer.PacketCommitments, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsResponse.SerializeToString, + ), + "PacketReceipt": grpc.unary_unary_rpc_method_handler( + servicer.PacketReceipt, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptResponse.SerializeToString, + ), + "PacketAcknowledgement": grpc.unary_unary_rpc_method_handler( + servicer.PacketAcknowledgement, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementResponse.SerializeToString, + ), + "PacketAcknowledgements": grpc.unary_unary_rpc_method_handler( + servicer.PacketAcknowledgements, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsResponse.SerializeToString, + ), + "UnreceivedPackets": grpc.unary_unary_rpc_method_handler( + servicer.UnreceivedPackets, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsResponse.SerializeToString, + ), + "UnreceivedAcks": grpc.unary_unary_rpc_method_handler( + servicer.UnreceivedAcks, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksResponse.SerializeToString, + ), + "NextSequenceReceive": grpc.unary_unary_rpc_method_handler( + servicer.NextSequenceReceive, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.SerializeToString, + ), + "NextSequenceSend": grpc.unary_unary_rpc_method_handler( + servicer.NextSequenceSend, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.SerializeToString, + ), + "UpgradeError": grpc.unary_unary_rpc_method_handler( + servicer.UpgradeError, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorResponse.SerializeToString, + ), + "Upgrade": grpc.unary_unary_rpc_method_handler( + servicer.Upgrade, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeResponse.SerializeToString, + ), + "ChannelParams": grpc.unary_unary_rpc_method_handler( + servicer.ChannelParams, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.core.channel.v1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("ibc.core.channel.v1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.core.channel.v1.Query', rpc_method_handlers) + server.add_registered_method_handlers("ibc.core.channel.v1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query provides defines the gRPC querier service - """ + """Query provides defines the gRPC querier service""" @staticmethod - def Channel(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Channel( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/Channel', + "/ibc.core.channel.v1.Query/Channel", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelResponse.FromString, options, @@ -358,23 +364,26 @@ def Channel(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Channels(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Channels( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/Channels', + "/ibc.core.channel.v1.Query/Channels", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsResponse.FromString, options, @@ -385,23 +394,26 @@ def Channels(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ConnectionChannels(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ConnectionChannels( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/ConnectionChannels', + "/ibc.core.channel.v1.Query/ConnectionChannels", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsResponse.FromString, options, @@ -412,23 +424,26 @@ def ConnectionChannels(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ChannelClientState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChannelClientState( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/ChannelClientState', + "/ibc.core.channel.v1.Query/ChannelClientState", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateResponse.FromString, options, @@ -439,23 +454,26 @@ def ChannelClientState(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ChannelConsensusState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChannelConsensusState( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/ChannelConsensusState', + "/ibc.core.channel.v1.Query/ChannelConsensusState", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateResponse.FromString, options, @@ -466,23 +484,26 @@ def ChannelConsensusState(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PacketCommitment(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PacketCommitment( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/PacketCommitment', + "/ibc.core.channel.v1.Query/PacketCommitment", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentResponse.FromString, options, @@ -493,23 +514,26 @@ def PacketCommitment(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PacketCommitments(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PacketCommitments( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/PacketCommitments', + "/ibc.core.channel.v1.Query/PacketCommitments", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsResponse.FromString, options, @@ -520,23 +544,26 @@ def PacketCommitments(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PacketReceipt(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PacketReceipt( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/PacketReceipt', + "/ibc.core.channel.v1.Query/PacketReceipt", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptResponse.FromString, options, @@ -547,23 +574,26 @@ def PacketReceipt(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PacketAcknowledgement(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PacketAcknowledgement( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/PacketAcknowledgement', + "/ibc.core.channel.v1.Query/PacketAcknowledgement", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementResponse.FromString, options, @@ -574,23 +604,26 @@ def PacketAcknowledgement(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PacketAcknowledgements(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PacketAcknowledgements( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/PacketAcknowledgements', + "/ibc.core.channel.v1.Query/PacketAcknowledgements", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsResponse.FromString, options, @@ -601,23 +634,26 @@ def PacketAcknowledgements(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UnreceivedPackets(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UnreceivedPackets( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/UnreceivedPackets', + "/ibc.core.channel.v1.Query/UnreceivedPackets", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsResponse.FromString, options, @@ -628,23 +664,26 @@ def UnreceivedPackets(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UnreceivedAcks(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UnreceivedAcks( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/UnreceivedAcks', + "/ibc.core.channel.v1.Query/UnreceivedAcks", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksResponse.FromString, options, @@ -655,23 +694,26 @@ def UnreceivedAcks(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def NextSequenceReceive(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def NextSequenceReceive( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/NextSequenceReceive', + "/ibc.core.channel.v1.Query/NextSequenceReceive", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.FromString, options, @@ -682,23 +724,26 @@ def NextSequenceReceive(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def NextSequenceSend(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def NextSequenceSend( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/NextSequenceSend', + "/ibc.core.channel.v1.Query/NextSequenceSend", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.FromString, options, @@ -709,23 +754,26 @@ def NextSequenceSend(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpgradeError(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpgradeError( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/UpgradeError', + "/ibc.core.channel.v1.Query/UpgradeError", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorResponse.FromString, options, @@ -736,23 +784,26 @@ def UpgradeError(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Upgrade(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Upgrade( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/Upgrade', + "/ibc.core.channel.v1.Query/Upgrade", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeResponse.FromString, options, @@ -763,23 +814,26 @@ def Upgrade(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ChannelParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChannelParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Query/ChannelParams', + "/ibc.core.channel.v1.Query/ChannelParams", ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsResponse.FromString, options, @@ -790,4 +844,5 @@ def ChannelParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py index 84303770..2abcf047 100644 --- a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,222 +20,240 @@ from pyinjective.proto.ibc.core.channel.v1 import upgrade_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_upgrade__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cibc/core/channel/v1/tx.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1fibc/core/client/v1/client.proto\x1a!ibc/core/channel/v1/channel.proto\x1a!ibc/core/channel/v1/upgrade.proto\"\x94\x01\n\x12MsgChannelOpenInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12<\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x07\x63hannel\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"[\n\x1aMsgChannelOpenInitResponse\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version:\x04\x88\xa0\x1f\x00\"\xde\x02\n\x11MsgChannelOpenTry\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x32\n\x13previous_channel_id\x18\x02 \x01(\tB\x02\x18\x01R\x11previousChannelId\x12<\n\x07\x63hannel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x07\x63hannel\x12\x31\n\x14\x63ounterparty_version\x18\x04 \x01(\tR\x13\x63ounterpartyVersion\x12\x1d\n\nproof_init\x18\x05 \x01(\x0cR\tproofInit\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"Z\n\x19MsgChannelOpenTryResponse\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId:\x04\x88\xa0\x1f\x00\"\xc1\x02\n\x11MsgChannelOpenAck\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x36\n\x17\x63ounterparty_channel_id\x18\x03 \x01(\tR\x15\x63ounterpartyChannelId\x12\x31\n\x14\x63ounterparty_version\x18\x04 \x01(\tR\x13\x63ounterpartyVersion\x12\x1b\n\tproof_try\x18\x05 \x01(\x0cR\x08proofTry\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1b\n\x19MsgChannelOpenAckResponse\"\xda\x01\n\x15MsgChannelOpenConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1b\n\tproof_ack\x18\x03 \x01(\x0cR\x08proofAck\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgChannelOpenConfirmResponse\"v\n\x13MsgChannelCloseInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1d\n\x1bMsgChannelCloseInitResponse\"\xa1\x02\n\x16MsgChannelCloseConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1d\n\nproof_init\x18\x03 \x01(\x0cR\tproofInit\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x06 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\" \n\x1eMsgChannelCloseConfirmResponse\"\xe3\x01\n\rMsgRecvPacket\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_commitment\x18\x02 \x01(\x0cR\x0fproofCommitment\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"^\n\x15MsgRecvPacketResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\x8e\x02\n\nMsgTimeout\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_unreceived\x18\x02 \x01(\x0cR\x0fproofUnreceived\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12,\n\x12next_sequence_recv\x18\x04 \x01(\x04R\x10nextSequenceRecv\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"[\n\x12MsgTimeoutResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\xfa\x02\n\x11MsgTimeoutOnClose\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_unreceived\x18\x02 \x01(\x0cR\x0fproofUnreceived\x12\x1f\n\x0bproof_close\x18\x03 \x01(\x0cR\nproofClose\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12,\n\x12next_sequence_recv\x18\x05 \x01(\x04R\x10nextSequenceRecv\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x07 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"b\n\x19MsgTimeoutOnCloseResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\x88\x02\n\x12MsgAcknowledgement\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12(\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0cR\x0f\x61\x63knowledgement\x12\x1f\n\x0bproof_acked\x18\x03 \x01(\x0cR\nproofAcked\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"c\n\x1aMsgAcknowledgementResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\xba\x01\n\x15MsgChannelUpgradeInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12@\n\x06\x66ields\x18\x03 \x01(\x0b\x32\".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x06\x66ields\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x8e\x01\n\x1dMsgChannelUpgradeInitResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12)\n\x10upgrade_sequence\x18\x02 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00\"\xfd\x03\n\x14MsgChannelUpgradeTry\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12G\n proposed_upgrade_connection_hops\x18\x03 \x03(\tR\x1dproposedUpgradeConnectionHops\x12h\n\x1b\x63ounterparty_upgrade_fields\x18\x04 \x01(\x0b\x32\".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x19\x63ounterpartyUpgradeFields\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x05 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence\x12#\n\rproof_channel\x18\x06 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x07 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x08 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\t \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\xce\x01\n\x1cMsgChannelUpgradeTryResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12)\n\x10upgrade_sequence\x18\x02 \x01(\x04R\x0fupgradeSequence\x12?\n\x06result\x18\x03 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\xdd\x02\n\x14MsgChannelUpgradeAck\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12U\n\x14\x63ounterparty_upgrade\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyUpgrade\x12#\n\rproof_channel\x18\x04 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x05 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"e\n\x1cMsgChannelUpgradeAckResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\xbb\x03\n\x18MsgChannelUpgradeConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12X\n\x1a\x63ounterparty_channel_state\x18\x03 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x18\x63ounterpartyChannelState\x12U\n\x14\x63ounterparty_upgrade\x18\x04 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyUpgrade\x12#\n\rproof_channel\x18\x05 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x06 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x08 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"i\n MsgChannelUpgradeConfirmResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\x80\x03\n\x15MsgChannelUpgradeOpen\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12X\n\x1a\x63ounterparty_channel_state\x18\x03 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x18\x63ounterpartyChannelState\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x04 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence\x12#\n\rproof_channel\x18\x05 \x01(\x0cR\x0cproofChannel\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgChannelUpgradeOpenResponse\"\xbc\x02\n\x18MsgChannelUpgradeTimeout\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12U\n\x14\x63ounterparty_channel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyChannel\x12#\n\rproof_channel\x18\x04 \x01(\x0cR\x0cproofChannel\x12\x43\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\"\n MsgChannelUpgradeTimeoutResponse\"\xbd\x02\n\x17MsgChannelUpgradeCancel\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12L\n\rerror_receipt\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.ErrorReceiptB\x04\xc8\xde\x1f\x00R\x0c\x65rrorReceipt\x12.\n\x13proof_error_receipt\x18\x04 \x01(\x0cR\x11proofErrorReceipt\x12\x43\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"!\n\x1fMsgChannelUpgradeCancelResponse\"~\n\x0fMsgUpdateParams\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12\x39\n\x06params\x18\x02 \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x12\x88\xa0\x1f\x00\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"\x91\x01\n\x18MsgPruneAcknowledgements\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x14\n\x05limit\x18\x03 \x01(\x04R\x05limit\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x94\x01\n MsgPruneAcknowledgementsResponse\x12\x34\n\x16total_pruned_sequences\x18\x01 \x01(\x04R\x14totalPrunedSequences\x12:\n\x19total_remaining_sequences\x18\x02 \x01(\x04R\x17totalRemainingSequences*\xd8\x01\n\x12ResponseResultType\x12\x35\n RESPONSE_RESULT_TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\'\n\x19RESPONSE_RESULT_TYPE_NOOP\x10\x01\x1a\x08\x8a\x9d \x04NOOP\x12-\n\x1cRESPONSE_RESULT_TYPE_SUCCESS\x10\x02\x1a\x0b\x8a\x9d \x07SUCCESS\x12-\n\x1cRESPONSE_RESULT_TYPE_FAILURE\x10\x03\x1a\x0b\x8a\x9d \x07\x46\x41ILURE\x1a\x04\x88\xa3\x1e\x00\x32\xec\x10\n\x03Msg\x12k\n\x0f\x43hannelOpenInit\x12\'.ibc.core.channel.v1.MsgChannelOpenInit\x1a/.ibc.core.channel.v1.MsgChannelOpenInitResponse\x12h\n\x0e\x43hannelOpenTry\x12&.ibc.core.channel.v1.MsgChannelOpenTry\x1a..ibc.core.channel.v1.MsgChannelOpenTryResponse\x12h\n\x0e\x43hannelOpenAck\x12&.ibc.core.channel.v1.MsgChannelOpenAck\x1a..ibc.core.channel.v1.MsgChannelOpenAckResponse\x12t\n\x12\x43hannelOpenConfirm\x12*.ibc.core.channel.v1.MsgChannelOpenConfirm\x1a\x32.ibc.core.channel.v1.MsgChannelOpenConfirmResponse\x12n\n\x10\x43hannelCloseInit\x12(.ibc.core.channel.v1.MsgChannelCloseInit\x1a\x30.ibc.core.channel.v1.MsgChannelCloseInitResponse\x12w\n\x13\x43hannelCloseConfirm\x12+.ibc.core.channel.v1.MsgChannelCloseConfirm\x1a\x33.ibc.core.channel.v1.MsgChannelCloseConfirmResponse\x12\\\n\nRecvPacket\x12\".ibc.core.channel.v1.MsgRecvPacket\x1a*.ibc.core.channel.v1.MsgRecvPacketResponse\x12S\n\x07Timeout\x12\x1f.ibc.core.channel.v1.MsgTimeout\x1a\'.ibc.core.channel.v1.MsgTimeoutResponse\x12h\n\x0eTimeoutOnClose\x12&.ibc.core.channel.v1.MsgTimeoutOnClose\x1a..ibc.core.channel.v1.MsgTimeoutOnCloseResponse\x12k\n\x0f\x41\x63knowledgement\x12\'.ibc.core.channel.v1.MsgAcknowledgement\x1a/.ibc.core.channel.v1.MsgAcknowledgementResponse\x12t\n\x12\x43hannelUpgradeInit\x12*.ibc.core.channel.v1.MsgChannelUpgradeInit\x1a\x32.ibc.core.channel.v1.MsgChannelUpgradeInitResponse\x12q\n\x11\x43hannelUpgradeTry\x12).ibc.core.channel.v1.MsgChannelUpgradeTry\x1a\x31.ibc.core.channel.v1.MsgChannelUpgradeTryResponse\x12q\n\x11\x43hannelUpgradeAck\x12).ibc.core.channel.v1.MsgChannelUpgradeAck\x1a\x31.ibc.core.channel.v1.MsgChannelUpgradeAckResponse\x12}\n\x15\x43hannelUpgradeConfirm\x12-.ibc.core.channel.v1.MsgChannelUpgradeConfirm\x1a\x35.ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse\x12t\n\x12\x43hannelUpgradeOpen\x12*.ibc.core.channel.v1.MsgChannelUpgradeOpen\x1a\x32.ibc.core.channel.v1.MsgChannelUpgradeOpenResponse\x12}\n\x15\x43hannelUpgradeTimeout\x12-.ibc.core.channel.v1.MsgChannelUpgradeTimeout\x1a\x35.ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse\x12z\n\x14\x43hannelUpgradeCancel\x12,.ibc.core.channel.v1.MsgChannelUpgradeCancel\x1a\x34.ibc.core.channel.v1.MsgChannelUpgradeCancelResponse\x12i\n\x13UpdateChannelParams\x12$.ibc.core.channel.v1.MsgUpdateParams\x1a,.ibc.core.channel.v1.MsgUpdateParamsResponse\x12}\n\x15PruneAcknowledgements\x12-.ibc.core.channel.v1.MsgPruneAcknowledgements\x1a\x35.ibc.core.channel.v1.MsgPruneAcknowledgementsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xcc\x01\n\x17\x63om.ibc.core.channel.v1B\x07TxProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1cibc/core/channel/v1/tx.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1fibc/core/client/v1/client.proto\x1a!ibc/core/channel/v1/channel.proto\x1a!ibc/core/channel/v1/upgrade.proto"\x94\x01\n\x12MsgChannelOpenInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12<\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x07\x63hannel\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"[\n\x1aMsgChannelOpenInitResponse\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version:\x04\x88\xa0\x1f\x00"\xde\x02\n\x11MsgChannelOpenTry\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x32\n\x13previous_channel_id\x18\x02 \x01(\tB\x02\x18\x01R\x11previousChannelId\x12<\n\x07\x63hannel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x07\x63hannel\x12\x31\n\x14\x63ounterparty_version\x18\x04 \x01(\tR\x13\x63ounterpartyVersion\x12\x1d\n\nproof_init\x18\x05 \x01(\x0cR\tproofInit\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"Z\n\x19MsgChannelOpenTryResponse\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId:\x04\x88\xa0\x1f\x00"\xc1\x02\n\x11MsgChannelOpenAck\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x36\n\x17\x63ounterparty_channel_id\x18\x03 \x01(\tR\x15\x63ounterpartyChannelId\x12\x31\n\x14\x63ounterparty_version\x18\x04 \x01(\tR\x13\x63ounterpartyVersion\x12\x1b\n\tproof_try\x18\x05 \x01(\x0cR\x08proofTry\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x1b\n\x19MsgChannelOpenAckResponse"\xda\x01\n\x15MsgChannelOpenConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1b\n\tproof_ack\x18\x03 \x01(\x0cR\x08proofAck\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x1f\n\x1dMsgChannelOpenConfirmResponse"v\n\x13MsgChannelCloseInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x1d\n\x1bMsgChannelCloseInitResponse"\xa1\x02\n\x16MsgChannelCloseConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1d\n\nproof_init\x18\x03 \x01(\x0cR\tproofInit\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x06 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer" \n\x1eMsgChannelCloseConfirmResponse"\xe3\x01\n\rMsgRecvPacket\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_commitment\x18\x02 \x01(\x0cR\x0fproofCommitment\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"^\n\x15MsgRecvPacketResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00"\x8e\x02\n\nMsgTimeout\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_unreceived\x18\x02 \x01(\x0cR\x0fproofUnreceived\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12,\n\x12next_sequence_recv\x18\x04 \x01(\x04R\x10nextSequenceRecv\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"[\n\x12MsgTimeoutResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00"\xfa\x02\n\x11MsgTimeoutOnClose\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_unreceived\x18\x02 \x01(\x0cR\x0fproofUnreceived\x12\x1f\n\x0bproof_close\x18\x03 \x01(\x0cR\nproofClose\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12,\n\x12next_sequence_recv\x18\x05 \x01(\x04R\x10nextSequenceRecv\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x07 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"b\n\x19MsgTimeoutOnCloseResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00"\x88\x02\n\x12MsgAcknowledgement\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12(\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0cR\x0f\x61\x63knowledgement\x12\x1f\n\x0bproof_acked\x18\x03 \x01(\x0cR\nproofAcked\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"c\n\x1aMsgAcknowledgementResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00"\xba\x01\n\x15MsgChannelUpgradeInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12@\n\x06\x66ields\x18\x03 \x01(\x0b\x32".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x06\x66ields\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x8e\x01\n\x1dMsgChannelUpgradeInitResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12)\n\x10upgrade_sequence\x18\x02 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00"\xfd\x03\n\x14MsgChannelUpgradeTry\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12G\n proposed_upgrade_connection_hops\x18\x03 \x03(\tR\x1dproposedUpgradeConnectionHops\x12h\n\x1b\x63ounterparty_upgrade_fields\x18\x04 \x01(\x0b\x32".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x19\x63ounterpartyUpgradeFields\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x05 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence\x12#\n\rproof_channel\x18\x06 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x07 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x08 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\t \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\xce\x01\n\x1cMsgChannelUpgradeTryResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12)\n\x10upgrade_sequence\x18\x02 \x01(\x04R\x0fupgradeSequence\x12?\n\x06result\x18\x03 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00"\xdd\x02\n\x14MsgChannelUpgradeAck\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12U\n\x14\x63ounterparty_upgrade\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyUpgrade\x12#\n\rproof_channel\x18\x04 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x05 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"e\n\x1cMsgChannelUpgradeAckResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00"\xbb\x03\n\x18MsgChannelUpgradeConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12X\n\x1a\x63ounterparty_channel_state\x18\x03 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x18\x63ounterpartyChannelState\x12U\n\x14\x63ounterparty_upgrade\x18\x04 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyUpgrade\x12#\n\rproof_channel\x18\x05 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x06 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x08 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"i\n MsgChannelUpgradeConfirmResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00"\x80\x03\n\x15MsgChannelUpgradeOpen\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12X\n\x1a\x63ounterparty_channel_state\x18\x03 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x18\x63ounterpartyChannelState\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x04 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence\x12#\n\rproof_channel\x18\x05 \x01(\x0cR\x0cproofChannel\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x1f\n\x1dMsgChannelUpgradeOpenResponse"\xbc\x02\n\x18MsgChannelUpgradeTimeout\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12U\n\x14\x63ounterparty_channel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyChannel\x12#\n\rproof_channel\x18\x04 \x01(\x0cR\x0cproofChannel\x12\x43\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer""\n MsgChannelUpgradeTimeoutResponse"\xbd\x02\n\x17MsgChannelUpgradeCancel\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12L\n\rerror_receipt\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.ErrorReceiptB\x04\xc8\xde\x1f\x00R\x0c\x65rrorReceipt\x12.\n\x13proof_error_receipt\x18\x04 \x01(\x0cR\x11proofErrorReceipt\x12\x43\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"!\n\x1fMsgChannelUpgradeCancelResponse"~\n\x0fMsgUpdateParams\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12\x39\n\x06params\x18\x02 \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x12\x88\xa0\x1f\x00\x82\xe7\xb0*\tauthority"\x19\n\x17MsgUpdateParamsResponse"\x91\x01\n\x18MsgPruneAcknowledgements\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x14\n\x05limit\x18\x03 \x01(\x04R\x05limit\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x94\x01\n MsgPruneAcknowledgementsResponse\x12\x34\n\x16total_pruned_sequences\x18\x01 \x01(\x04R\x14totalPrunedSequences\x12:\n\x19total_remaining_sequences\x18\x02 \x01(\x04R\x17totalRemainingSequences*\xd8\x01\n\x12ResponseResultType\x12\x35\n RESPONSE_RESULT_TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\'\n\x19RESPONSE_RESULT_TYPE_NOOP\x10\x01\x1a\x08\x8a\x9d \x04NOOP\x12-\n\x1cRESPONSE_RESULT_TYPE_SUCCESS\x10\x02\x1a\x0b\x8a\x9d \x07SUCCESS\x12-\n\x1cRESPONSE_RESULT_TYPE_FAILURE\x10\x03\x1a\x0b\x8a\x9d \x07\x46\x41ILURE\x1a\x04\x88\xa3\x1e\x00\x32\xec\x10\n\x03Msg\x12k\n\x0f\x43hannelOpenInit\x12\'.ibc.core.channel.v1.MsgChannelOpenInit\x1a/.ibc.core.channel.v1.MsgChannelOpenInitResponse\x12h\n\x0e\x43hannelOpenTry\x12&.ibc.core.channel.v1.MsgChannelOpenTry\x1a..ibc.core.channel.v1.MsgChannelOpenTryResponse\x12h\n\x0e\x43hannelOpenAck\x12&.ibc.core.channel.v1.MsgChannelOpenAck\x1a..ibc.core.channel.v1.MsgChannelOpenAckResponse\x12t\n\x12\x43hannelOpenConfirm\x12*.ibc.core.channel.v1.MsgChannelOpenConfirm\x1a\x32.ibc.core.channel.v1.MsgChannelOpenConfirmResponse\x12n\n\x10\x43hannelCloseInit\x12(.ibc.core.channel.v1.MsgChannelCloseInit\x1a\x30.ibc.core.channel.v1.MsgChannelCloseInitResponse\x12w\n\x13\x43hannelCloseConfirm\x12+.ibc.core.channel.v1.MsgChannelCloseConfirm\x1a\x33.ibc.core.channel.v1.MsgChannelCloseConfirmResponse\x12\\\n\nRecvPacket\x12".ibc.core.channel.v1.MsgRecvPacket\x1a*.ibc.core.channel.v1.MsgRecvPacketResponse\x12S\n\x07Timeout\x12\x1f.ibc.core.channel.v1.MsgTimeout\x1a\'.ibc.core.channel.v1.MsgTimeoutResponse\x12h\n\x0eTimeoutOnClose\x12&.ibc.core.channel.v1.MsgTimeoutOnClose\x1a..ibc.core.channel.v1.MsgTimeoutOnCloseResponse\x12k\n\x0f\x41\x63knowledgement\x12\'.ibc.core.channel.v1.MsgAcknowledgement\x1a/.ibc.core.channel.v1.MsgAcknowledgementResponse\x12t\n\x12\x43hannelUpgradeInit\x12*.ibc.core.channel.v1.MsgChannelUpgradeInit\x1a\x32.ibc.core.channel.v1.MsgChannelUpgradeInitResponse\x12q\n\x11\x43hannelUpgradeTry\x12).ibc.core.channel.v1.MsgChannelUpgradeTry\x1a\x31.ibc.core.channel.v1.MsgChannelUpgradeTryResponse\x12q\n\x11\x43hannelUpgradeAck\x12).ibc.core.channel.v1.MsgChannelUpgradeAck\x1a\x31.ibc.core.channel.v1.MsgChannelUpgradeAckResponse\x12}\n\x15\x43hannelUpgradeConfirm\x12-.ibc.core.channel.v1.MsgChannelUpgradeConfirm\x1a\x35.ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse\x12t\n\x12\x43hannelUpgradeOpen\x12*.ibc.core.channel.v1.MsgChannelUpgradeOpen\x1a\x32.ibc.core.channel.v1.MsgChannelUpgradeOpenResponse\x12}\n\x15\x43hannelUpgradeTimeout\x12-.ibc.core.channel.v1.MsgChannelUpgradeTimeout\x1a\x35.ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse\x12z\n\x14\x43hannelUpgradeCancel\x12,.ibc.core.channel.v1.MsgChannelUpgradeCancel\x1a\x34.ibc.core.channel.v1.MsgChannelUpgradeCancelResponse\x12i\n\x13UpdateChannelParams\x12$.ibc.core.channel.v1.MsgUpdateParams\x1a,.ibc.core.channel.v1.MsgUpdateParamsResponse\x12}\n\x15PruneAcknowledgements\x12-.ibc.core.channel.v1.MsgPruneAcknowledgements\x1a\x35.ibc.core.channel.v1.MsgPruneAcknowledgementsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xcc\x01\n\x17\x63om.ibc.core.channel.v1B\x07TxProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.channel.v1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\007TxProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' - _globals['_RESPONSERESULTTYPE']._loaded_options = None - _globals['_RESPONSERESULTTYPE']._serialized_options = b'\210\243\036\000' - _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_UNSPECIFIED"]._loaded_options = None - _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' - _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_NOOP"]._loaded_options = None - _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_NOOP"]._serialized_options = b'\212\235 \004NOOP' - _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_SUCCESS"]._loaded_options = None - _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_SUCCESS"]._serialized_options = b'\212\235 \007SUCCESS' - _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_FAILURE"]._loaded_options = None - _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_FAILURE"]._serialized_options = b'\212\235 \007FAILURE' - _globals['_MSGCHANNELOPENINIT'].fields_by_name['channel']._loaded_options = None - _globals['_MSGCHANNELOPENINIT'].fields_by_name['channel']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELOPENINIT']._loaded_options = None - _globals['_MSGCHANNELOPENINIT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELOPENINITRESPONSE']._loaded_options = None - _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGCHANNELOPENTRY'].fields_by_name['previous_channel_id']._loaded_options = None - _globals['_MSGCHANNELOPENTRY'].fields_by_name['previous_channel_id']._serialized_options = b'\030\001' - _globals['_MSGCHANNELOPENTRY'].fields_by_name['channel']._loaded_options = None - _globals['_MSGCHANNELOPENTRY'].fields_by_name['channel']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELOPENTRY'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELOPENTRY'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELOPENTRY']._loaded_options = None - _globals['_MSGCHANNELOPENTRY']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELOPENTRYRESPONSE']._loaded_options = None - _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGCHANNELOPENACK'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELOPENACK'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELOPENACK']._loaded_options = None - _globals['_MSGCHANNELOPENACK']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELOPENCONFIRM'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELOPENCONFIRM'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELOPENCONFIRM']._loaded_options = None - _globals['_MSGCHANNELOPENCONFIRM']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELCLOSEINIT']._loaded_options = None - _globals['_MSGCHANNELCLOSEINIT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELCLOSECONFIRM'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELCLOSECONFIRM'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELCLOSECONFIRM']._loaded_options = None - _globals['_MSGCHANNELCLOSECONFIRM']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGRECVPACKET'].fields_by_name['packet']._loaded_options = None - _globals['_MSGRECVPACKET'].fields_by_name['packet']._serialized_options = b'\310\336\037\000' - _globals['_MSGRECVPACKET'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGRECVPACKET'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGRECVPACKET']._loaded_options = None - _globals['_MSGRECVPACKET']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGRECVPACKETRESPONSE']._loaded_options = None - _globals['_MSGRECVPACKETRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGTIMEOUT'].fields_by_name['packet']._loaded_options = None - _globals['_MSGTIMEOUT'].fields_by_name['packet']._serialized_options = b'\310\336\037\000' - _globals['_MSGTIMEOUT'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGTIMEOUT'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGTIMEOUT']._loaded_options = None - _globals['_MSGTIMEOUT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGTIMEOUTRESPONSE']._loaded_options = None - _globals['_MSGTIMEOUTRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGTIMEOUTONCLOSE'].fields_by_name['packet']._loaded_options = None - _globals['_MSGTIMEOUTONCLOSE'].fields_by_name['packet']._serialized_options = b'\310\336\037\000' - _globals['_MSGTIMEOUTONCLOSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGTIMEOUTONCLOSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGTIMEOUTONCLOSE']._loaded_options = None - _globals['_MSGTIMEOUTONCLOSE']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGTIMEOUTONCLOSERESPONSE']._loaded_options = None - _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGACKNOWLEDGEMENT'].fields_by_name['packet']._loaded_options = None - _globals['_MSGACKNOWLEDGEMENT'].fields_by_name['packet']._serialized_options = b'\310\336\037\000' - _globals['_MSGACKNOWLEDGEMENT'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGACKNOWLEDGEMENT'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGACKNOWLEDGEMENT']._loaded_options = None - _globals['_MSGACKNOWLEDGEMENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGACKNOWLEDGEMENTRESPONSE']._loaded_options = None - _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGCHANNELUPGRADEINIT'].fields_by_name['fields']._loaded_options = None - _globals['_MSGCHANNELUPGRADEINIT'].fields_by_name['fields']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADEINIT']._loaded_options = None - _globals['_MSGCHANNELUPGRADEINIT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELUPGRADEINITRESPONSE'].fields_by_name['upgrade']._loaded_options = None - _globals['_MSGCHANNELUPGRADEINITRESPONSE'].fields_by_name['upgrade']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADEINITRESPONSE']._loaded_options = None - _globals['_MSGCHANNELUPGRADEINITRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGCHANNELUPGRADETRY'].fields_by_name['counterparty_upgrade_fields']._loaded_options = None - _globals['_MSGCHANNELUPGRADETRY'].fields_by_name['counterparty_upgrade_fields']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADETRY'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELUPGRADETRY'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADETRY']._loaded_options = None - _globals['_MSGCHANNELUPGRADETRY']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELUPGRADETRYRESPONSE'].fields_by_name['upgrade']._loaded_options = None - _globals['_MSGCHANNELUPGRADETRYRESPONSE'].fields_by_name['upgrade']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADETRYRESPONSE']._loaded_options = None - _globals['_MSGCHANNELUPGRADETRYRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGCHANNELUPGRADEACK'].fields_by_name['counterparty_upgrade']._loaded_options = None - _globals['_MSGCHANNELUPGRADEACK'].fields_by_name['counterparty_upgrade']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADEACK'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELUPGRADEACK'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADEACK']._loaded_options = None - _globals['_MSGCHANNELUPGRADEACK']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELUPGRADEACKRESPONSE']._loaded_options = None - _globals['_MSGCHANNELUPGRADEACKRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGCHANNELUPGRADECONFIRM'].fields_by_name['counterparty_upgrade']._loaded_options = None - _globals['_MSGCHANNELUPGRADECONFIRM'].fields_by_name['counterparty_upgrade']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADECONFIRM'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELUPGRADECONFIRM'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADECONFIRM']._loaded_options = None - _globals['_MSGCHANNELUPGRADECONFIRM']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELUPGRADECONFIRMRESPONSE']._loaded_options = None - _globals['_MSGCHANNELUPGRADECONFIRMRESPONSE']._serialized_options = b'\210\240\037\000' - _globals['_MSGCHANNELUPGRADEOPEN'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELUPGRADEOPEN'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADEOPEN']._loaded_options = None - _globals['_MSGCHANNELUPGRADEOPEN']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELUPGRADETIMEOUT'].fields_by_name['counterparty_channel']._loaded_options = None - _globals['_MSGCHANNELUPGRADETIMEOUT'].fields_by_name['counterparty_channel']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADETIMEOUT'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELUPGRADETIMEOUT'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADETIMEOUT']._loaded_options = None - _globals['_MSGCHANNELUPGRADETIMEOUT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGCHANNELUPGRADECANCEL'].fields_by_name['error_receipt']._loaded_options = None - _globals['_MSGCHANNELUPGRADECANCEL'].fields_by_name['error_receipt']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADECANCEL'].fields_by_name['proof_height']._loaded_options = None - _globals['_MSGCHANNELUPGRADECANCEL'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_MSGCHANNELUPGRADECANCEL']._loaded_options = None - _globals['_MSGCHANNELUPGRADECANCEL']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\tauthority' - _globals['_MSGPRUNEACKNOWLEDGEMENTS']._loaded_options = None - _globals['_MSGPRUNEACKNOWLEDGEMENTS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_RESPONSERESULTTYPE']._serialized_start=7165 - _globals['_RESPONSERESULTTYPE']._serialized_end=7381 - _globals['_MSGCHANNELOPENINIT']._serialized_start=204 - _globals['_MSGCHANNELOPENINIT']._serialized_end=352 - _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_start=354 - _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_end=445 - _globals['_MSGCHANNELOPENTRY']._serialized_start=448 - _globals['_MSGCHANNELOPENTRY']._serialized_end=798 - _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_start=800 - _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_end=890 - _globals['_MSGCHANNELOPENACK']._serialized_start=893 - _globals['_MSGCHANNELOPENACK']._serialized_end=1214 - _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_start=1216 - _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_end=1243 - _globals['_MSGCHANNELOPENCONFIRM']._serialized_start=1246 - _globals['_MSGCHANNELOPENCONFIRM']._serialized_end=1464 - _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_start=1466 - _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_end=1497 - _globals['_MSGCHANNELCLOSEINIT']._serialized_start=1499 - _globals['_MSGCHANNELCLOSEINIT']._serialized_end=1617 - _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_start=1619 - _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_end=1648 - _globals['_MSGCHANNELCLOSECONFIRM']._serialized_start=1651 - _globals['_MSGCHANNELCLOSECONFIRM']._serialized_end=1940 - _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_start=1942 - _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_end=1974 - _globals['_MSGRECVPACKET']._serialized_start=1977 - _globals['_MSGRECVPACKET']._serialized_end=2204 - _globals['_MSGRECVPACKETRESPONSE']._serialized_start=2206 - _globals['_MSGRECVPACKETRESPONSE']._serialized_end=2300 - _globals['_MSGTIMEOUT']._serialized_start=2303 - _globals['_MSGTIMEOUT']._serialized_end=2573 - _globals['_MSGTIMEOUTRESPONSE']._serialized_start=2575 - _globals['_MSGTIMEOUTRESPONSE']._serialized_end=2666 - _globals['_MSGTIMEOUTONCLOSE']._serialized_start=2669 - _globals['_MSGTIMEOUTONCLOSE']._serialized_end=3047 - _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_start=3049 - _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_end=3147 - _globals['_MSGACKNOWLEDGEMENT']._serialized_start=3150 - _globals['_MSGACKNOWLEDGEMENT']._serialized_end=3414 - _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_start=3416 - _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_end=3515 - _globals['_MSGCHANNELUPGRADEINIT']._serialized_start=3518 - _globals['_MSGCHANNELUPGRADEINIT']._serialized_end=3704 - _globals['_MSGCHANNELUPGRADEINITRESPONSE']._serialized_start=3707 - _globals['_MSGCHANNELUPGRADEINITRESPONSE']._serialized_end=3849 - _globals['_MSGCHANNELUPGRADETRY']._serialized_start=3852 - _globals['_MSGCHANNELUPGRADETRY']._serialized_end=4361 - _globals['_MSGCHANNELUPGRADETRYRESPONSE']._serialized_start=4364 - _globals['_MSGCHANNELUPGRADETRYRESPONSE']._serialized_end=4570 - _globals['_MSGCHANNELUPGRADEACK']._serialized_start=4573 - _globals['_MSGCHANNELUPGRADEACK']._serialized_end=4922 - _globals['_MSGCHANNELUPGRADEACKRESPONSE']._serialized_start=4924 - _globals['_MSGCHANNELUPGRADEACKRESPONSE']._serialized_end=5025 - _globals['_MSGCHANNELUPGRADECONFIRM']._serialized_start=5028 - _globals['_MSGCHANNELUPGRADECONFIRM']._serialized_end=5471 - _globals['_MSGCHANNELUPGRADECONFIRMRESPONSE']._serialized_start=5473 - _globals['_MSGCHANNELUPGRADECONFIRMRESPONSE']._serialized_end=5578 - _globals['_MSGCHANNELUPGRADEOPEN']._serialized_start=5581 - _globals['_MSGCHANNELUPGRADEOPEN']._serialized_end=5965 - _globals['_MSGCHANNELUPGRADEOPENRESPONSE']._serialized_start=5967 - _globals['_MSGCHANNELUPGRADEOPENRESPONSE']._serialized_end=5998 - _globals['_MSGCHANNELUPGRADETIMEOUT']._serialized_start=6001 - _globals['_MSGCHANNELUPGRADETIMEOUT']._serialized_end=6317 - _globals['_MSGCHANNELUPGRADETIMEOUTRESPONSE']._serialized_start=6319 - _globals['_MSGCHANNELUPGRADETIMEOUTRESPONSE']._serialized_end=6353 - _globals['_MSGCHANNELUPGRADECANCEL']._serialized_start=6356 - _globals['_MSGCHANNELUPGRADECANCEL']._serialized_end=6673 - _globals['_MSGCHANNELUPGRADECANCELRESPONSE']._serialized_start=6675 - _globals['_MSGCHANNELUPGRADECANCELRESPONSE']._serialized_end=6708 - _globals['_MSGUPDATEPARAMS']._serialized_start=6710 - _globals['_MSGUPDATEPARAMS']._serialized_end=6836 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=6838 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=6863 - _globals['_MSGPRUNEACKNOWLEDGEMENTS']._serialized_start=6866 - _globals['_MSGPRUNEACKNOWLEDGEMENTS']._serialized_end=7011 - _globals['_MSGPRUNEACKNOWLEDGEMENTSRESPONSE']._serialized_start=7014 - _globals['_MSGPRUNEACKNOWLEDGEMENTSRESPONSE']._serialized_end=7162 - _globals['_MSG']._serialized_start=7384 - _globals['_MSG']._serialized_end=9540 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.ibc.core.channel.v1B\007TxProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1" + ) + _globals["_RESPONSERESULTTYPE"]._loaded_options = None + _globals["_RESPONSERESULTTYPE"]._serialized_options = b"\210\243\036\000" + _globals["_RESPONSERESULTTYPE"].values_by_name["RESPONSE_RESULT_TYPE_UNSPECIFIED"]._loaded_options = None + _globals["_RESPONSERESULTTYPE"].values_by_name[ + "RESPONSE_RESULT_TYPE_UNSPECIFIED" + ]._serialized_options = b"\212\235 \013UNSPECIFIED" + _globals["_RESPONSERESULTTYPE"].values_by_name["RESPONSE_RESULT_TYPE_NOOP"]._loaded_options = None + _globals["_RESPONSERESULTTYPE"].values_by_name[ + "RESPONSE_RESULT_TYPE_NOOP" + ]._serialized_options = b"\212\235 \004NOOP" + _globals["_RESPONSERESULTTYPE"].values_by_name["RESPONSE_RESULT_TYPE_SUCCESS"]._loaded_options = None + _globals["_RESPONSERESULTTYPE"].values_by_name[ + "RESPONSE_RESULT_TYPE_SUCCESS" + ]._serialized_options = b"\212\235 \007SUCCESS" + _globals["_RESPONSERESULTTYPE"].values_by_name["RESPONSE_RESULT_TYPE_FAILURE"]._loaded_options = None + _globals["_RESPONSERESULTTYPE"].values_by_name[ + "RESPONSE_RESULT_TYPE_FAILURE" + ]._serialized_options = b"\212\235 \007FAILURE" + _globals["_MSGCHANNELOPENINIT"].fields_by_name["channel"]._loaded_options = None + _globals["_MSGCHANNELOPENINIT"].fields_by_name["channel"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELOPENINIT"]._loaded_options = None + _globals["_MSGCHANNELOPENINIT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGCHANNELOPENINITRESPONSE"]._loaded_options = None + _globals["_MSGCHANNELOPENINITRESPONSE"]._serialized_options = b"\210\240\037\000" + _globals["_MSGCHANNELOPENTRY"].fields_by_name["previous_channel_id"]._loaded_options = None + _globals["_MSGCHANNELOPENTRY"].fields_by_name["previous_channel_id"]._serialized_options = b"\030\001" + _globals["_MSGCHANNELOPENTRY"].fields_by_name["channel"]._loaded_options = None + _globals["_MSGCHANNELOPENTRY"].fields_by_name["channel"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELOPENTRY"].fields_by_name["proof_height"]._loaded_options = None + _globals["_MSGCHANNELOPENTRY"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELOPENTRY"]._loaded_options = None + _globals["_MSGCHANNELOPENTRY"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGCHANNELOPENTRYRESPONSE"]._loaded_options = None + _globals["_MSGCHANNELOPENTRYRESPONSE"]._serialized_options = b"\210\240\037\000" + _globals["_MSGCHANNELOPENACK"].fields_by_name["proof_height"]._loaded_options = None + _globals["_MSGCHANNELOPENACK"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELOPENACK"]._loaded_options = None + _globals["_MSGCHANNELOPENACK"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGCHANNELOPENCONFIRM"].fields_by_name["proof_height"]._loaded_options = None + _globals["_MSGCHANNELOPENCONFIRM"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELOPENCONFIRM"]._loaded_options = None + _globals["_MSGCHANNELOPENCONFIRM"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGCHANNELCLOSEINIT"]._loaded_options = None + _globals["_MSGCHANNELCLOSEINIT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGCHANNELCLOSECONFIRM"].fields_by_name["proof_height"]._loaded_options = None + _globals["_MSGCHANNELCLOSECONFIRM"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELCLOSECONFIRM"]._loaded_options = None + _globals["_MSGCHANNELCLOSECONFIRM"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGRECVPACKET"].fields_by_name["packet"]._loaded_options = None + _globals["_MSGRECVPACKET"].fields_by_name["packet"]._serialized_options = b"\310\336\037\000" + _globals["_MSGRECVPACKET"].fields_by_name["proof_height"]._loaded_options = None + _globals["_MSGRECVPACKET"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_MSGRECVPACKET"]._loaded_options = None + _globals["_MSGRECVPACKET"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGRECVPACKETRESPONSE"]._loaded_options = None + _globals["_MSGRECVPACKETRESPONSE"]._serialized_options = b"\210\240\037\000" + _globals["_MSGTIMEOUT"].fields_by_name["packet"]._loaded_options = None + _globals["_MSGTIMEOUT"].fields_by_name["packet"]._serialized_options = b"\310\336\037\000" + _globals["_MSGTIMEOUT"].fields_by_name["proof_height"]._loaded_options = None + _globals["_MSGTIMEOUT"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_MSGTIMEOUT"]._loaded_options = None + _globals["_MSGTIMEOUT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGTIMEOUTRESPONSE"]._loaded_options = None + _globals["_MSGTIMEOUTRESPONSE"]._serialized_options = b"\210\240\037\000" + _globals["_MSGTIMEOUTONCLOSE"].fields_by_name["packet"]._loaded_options = None + _globals["_MSGTIMEOUTONCLOSE"].fields_by_name["packet"]._serialized_options = b"\310\336\037\000" + _globals["_MSGTIMEOUTONCLOSE"].fields_by_name["proof_height"]._loaded_options = None + _globals["_MSGTIMEOUTONCLOSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_MSGTIMEOUTONCLOSE"]._loaded_options = None + _globals["_MSGTIMEOUTONCLOSE"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGTIMEOUTONCLOSERESPONSE"]._loaded_options = None + _globals["_MSGTIMEOUTONCLOSERESPONSE"]._serialized_options = b"\210\240\037\000" + _globals["_MSGACKNOWLEDGEMENT"].fields_by_name["packet"]._loaded_options = None + _globals["_MSGACKNOWLEDGEMENT"].fields_by_name["packet"]._serialized_options = b"\310\336\037\000" + _globals["_MSGACKNOWLEDGEMENT"].fields_by_name["proof_height"]._loaded_options = None + _globals["_MSGACKNOWLEDGEMENT"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_MSGACKNOWLEDGEMENT"]._loaded_options = None + _globals["_MSGACKNOWLEDGEMENT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGACKNOWLEDGEMENTRESPONSE"]._loaded_options = None + _globals["_MSGACKNOWLEDGEMENTRESPONSE"]._serialized_options = b"\210\240\037\000" + _globals["_MSGCHANNELUPGRADEINIT"].fields_by_name["fields"]._loaded_options = None + _globals["_MSGCHANNELUPGRADEINIT"].fields_by_name["fields"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELUPGRADEINIT"]._loaded_options = None + _globals["_MSGCHANNELUPGRADEINIT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGCHANNELUPGRADEINITRESPONSE"].fields_by_name["upgrade"]._loaded_options = None + _globals["_MSGCHANNELUPGRADEINITRESPONSE"].fields_by_name["upgrade"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELUPGRADEINITRESPONSE"]._loaded_options = None + _globals["_MSGCHANNELUPGRADEINITRESPONSE"]._serialized_options = b"\210\240\037\000" + _globals["_MSGCHANNELUPGRADETRY"].fields_by_name["counterparty_upgrade_fields"]._loaded_options = None + _globals["_MSGCHANNELUPGRADETRY"].fields_by_name[ + "counterparty_upgrade_fields" + ]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELUPGRADETRY"].fields_by_name["proof_height"]._loaded_options = None + _globals["_MSGCHANNELUPGRADETRY"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELUPGRADETRY"]._loaded_options = None + _globals["_MSGCHANNELUPGRADETRY"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGCHANNELUPGRADETRYRESPONSE"].fields_by_name["upgrade"]._loaded_options = None + _globals["_MSGCHANNELUPGRADETRYRESPONSE"].fields_by_name["upgrade"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELUPGRADETRYRESPONSE"]._loaded_options = None + _globals["_MSGCHANNELUPGRADETRYRESPONSE"]._serialized_options = b"\210\240\037\000" + _globals["_MSGCHANNELUPGRADEACK"].fields_by_name["counterparty_upgrade"]._loaded_options = None + _globals["_MSGCHANNELUPGRADEACK"].fields_by_name["counterparty_upgrade"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELUPGRADEACK"].fields_by_name["proof_height"]._loaded_options = None + _globals["_MSGCHANNELUPGRADEACK"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELUPGRADEACK"]._loaded_options = None + _globals["_MSGCHANNELUPGRADEACK"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGCHANNELUPGRADEACKRESPONSE"]._loaded_options = None + _globals["_MSGCHANNELUPGRADEACKRESPONSE"]._serialized_options = b"\210\240\037\000" + _globals["_MSGCHANNELUPGRADECONFIRM"].fields_by_name["counterparty_upgrade"]._loaded_options = None + _globals["_MSGCHANNELUPGRADECONFIRM"].fields_by_name[ + "counterparty_upgrade" + ]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELUPGRADECONFIRM"].fields_by_name["proof_height"]._loaded_options = None + _globals["_MSGCHANNELUPGRADECONFIRM"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELUPGRADECONFIRM"]._loaded_options = None + _globals["_MSGCHANNELUPGRADECONFIRM"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGCHANNELUPGRADECONFIRMRESPONSE"]._loaded_options = None + _globals["_MSGCHANNELUPGRADECONFIRMRESPONSE"]._serialized_options = b"\210\240\037\000" + _globals["_MSGCHANNELUPGRADEOPEN"].fields_by_name["proof_height"]._loaded_options = None + _globals["_MSGCHANNELUPGRADEOPEN"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELUPGRADEOPEN"]._loaded_options = None + _globals["_MSGCHANNELUPGRADEOPEN"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGCHANNELUPGRADETIMEOUT"].fields_by_name["counterparty_channel"]._loaded_options = None + _globals["_MSGCHANNELUPGRADETIMEOUT"].fields_by_name[ + "counterparty_channel" + ]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELUPGRADETIMEOUT"].fields_by_name["proof_height"]._loaded_options = None + _globals["_MSGCHANNELUPGRADETIMEOUT"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELUPGRADETIMEOUT"]._loaded_options = None + _globals["_MSGCHANNELUPGRADETIMEOUT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGCHANNELUPGRADECANCEL"].fields_by_name["error_receipt"]._loaded_options = None + _globals["_MSGCHANNELUPGRADECANCEL"].fields_by_name["error_receipt"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELUPGRADECANCEL"].fields_by_name["proof_height"]._loaded_options = None + _globals["_MSGCHANNELUPGRADECANCEL"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCHANNELUPGRADECANCEL"]._loaded_options = None + _globals["_MSGCHANNELUPGRADECANCEL"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = b"\210\240\037\000\202\347\260*\tauthority" + _globals["_MSGPRUNEACKNOWLEDGEMENTS"]._loaded_options = None + _globals["_MSGPRUNEACKNOWLEDGEMENTS"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_RESPONSERESULTTYPE"]._serialized_start = 7165 + _globals["_RESPONSERESULTTYPE"]._serialized_end = 7381 + _globals["_MSGCHANNELOPENINIT"]._serialized_start = 204 + _globals["_MSGCHANNELOPENINIT"]._serialized_end = 352 + _globals["_MSGCHANNELOPENINITRESPONSE"]._serialized_start = 354 + _globals["_MSGCHANNELOPENINITRESPONSE"]._serialized_end = 445 + _globals["_MSGCHANNELOPENTRY"]._serialized_start = 448 + _globals["_MSGCHANNELOPENTRY"]._serialized_end = 798 + _globals["_MSGCHANNELOPENTRYRESPONSE"]._serialized_start = 800 + _globals["_MSGCHANNELOPENTRYRESPONSE"]._serialized_end = 890 + _globals["_MSGCHANNELOPENACK"]._serialized_start = 893 + _globals["_MSGCHANNELOPENACK"]._serialized_end = 1214 + _globals["_MSGCHANNELOPENACKRESPONSE"]._serialized_start = 1216 + _globals["_MSGCHANNELOPENACKRESPONSE"]._serialized_end = 1243 + _globals["_MSGCHANNELOPENCONFIRM"]._serialized_start = 1246 + _globals["_MSGCHANNELOPENCONFIRM"]._serialized_end = 1464 + _globals["_MSGCHANNELOPENCONFIRMRESPONSE"]._serialized_start = 1466 + _globals["_MSGCHANNELOPENCONFIRMRESPONSE"]._serialized_end = 1497 + _globals["_MSGCHANNELCLOSEINIT"]._serialized_start = 1499 + _globals["_MSGCHANNELCLOSEINIT"]._serialized_end = 1617 + _globals["_MSGCHANNELCLOSEINITRESPONSE"]._serialized_start = 1619 + _globals["_MSGCHANNELCLOSEINITRESPONSE"]._serialized_end = 1648 + _globals["_MSGCHANNELCLOSECONFIRM"]._serialized_start = 1651 + _globals["_MSGCHANNELCLOSECONFIRM"]._serialized_end = 1940 + _globals["_MSGCHANNELCLOSECONFIRMRESPONSE"]._serialized_start = 1942 + _globals["_MSGCHANNELCLOSECONFIRMRESPONSE"]._serialized_end = 1974 + _globals["_MSGRECVPACKET"]._serialized_start = 1977 + _globals["_MSGRECVPACKET"]._serialized_end = 2204 + _globals["_MSGRECVPACKETRESPONSE"]._serialized_start = 2206 + _globals["_MSGRECVPACKETRESPONSE"]._serialized_end = 2300 + _globals["_MSGTIMEOUT"]._serialized_start = 2303 + _globals["_MSGTIMEOUT"]._serialized_end = 2573 + _globals["_MSGTIMEOUTRESPONSE"]._serialized_start = 2575 + _globals["_MSGTIMEOUTRESPONSE"]._serialized_end = 2666 + _globals["_MSGTIMEOUTONCLOSE"]._serialized_start = 2669 + _globals["_MSGTIMEOUTONCLOSE"]._serialized_end = 3047 + _globals["_MSGTIMEOUTONCLOSERESPONSE"]._serialized_start = 3049 + _globals["_MSGTIMEOUTONCLOSERESPONSE"]._serialized_end = 3147 + _globals["_MSGACKNOWLEDGEMENT"]._serialized_start = 3150 + _globals["_MSGACKNOWLEDGEMENT"]._serialized_end = 3414 + _globals["_MSGACKNOWLEDGEMENTRESPONSE"]._serialized_start = 3416 + _globals["_MSGACKNOWLEDGEMENTRESPONSE"]._serialized_end = 3515 + _globals["_MSGCHANNELUPGRADEINIT"]._serialized_start = 3518 + _globals["_MSGCHANNELUPGRADEINIT"]._serialized_end = 3704 + _globals["_MSGCHANNELUPGRADEINITRESPONSE"]._serialized_start = 3707 + _globals["_MSGCHANNELUPGRADEINITRESPONSE"]._serialized_end = 3849 + _globals["_MSGCHANNELUPGRADETRY"]._serialized_start = 3852 + _globals["_MSGCHANNELUPGRADETRY"]._serialized_end = 4361 + _globals["_MSGCHANNELUPGRADETRYRESPONSE"]._serialized_start = 4364 + _globals["_MSGCHANNELUPGRADETRYRESPONSE"]._serialized_end = 4570 + _globals["_MSGCHANNELUPGRADEACK"]._serialized_start = 4573 + _globals["_MSGCHANNELUPGRADEACK"]._serialized_end = 4922 + _globals["_MSGCHANNELUPGRADEACKRESPONSE"]._serialized_start = 4924 + _globals["_MSGCHANNELUPGRADEACKRESPONSE"]._serialized_end = 5025 + _globals["_MSGCHANNELUPGRADECONFIRM"]._serialized_start = 5028 + _globals["_MSGCHANNELUPGRADECONFIRM"]._serialized_end = 5471 + _globals["_MSGCHANNELUPGRADECONFIRMRESPONSE"]._serialized_start = 5473 + _globals["_MSGCHANNELUPGRADECONFIRMRESPONSE"]._serialized_end = 5578 + _globals["_MSGCHANNELUPGRADEOPEN"]._serialized_start = 5581 + _globals["_MSGCHANNELUPGRADEOPEN"]._serialized_end = 5965 + _globals["_MSGCHANNELUPGRADEOPENRESPONSE"]._serialized_start = 5967 + _globals["_MSGCHANNELUPGRADEOPENRESPONSE"]._serialized_end = 5998 + _globals["_MSGCHANNELUPGRADETIMEOUT"]._serialized_start = 6001 + _globals["_MSGCHANNELUPGRADETIMEOUT"]._serialized_end = 6317 + _globals["_MSGCHANNELUPGRADETIMEOUTRESPONSE"]._serialized_start = 6319 + _globals["_MSGCHANNELUPGRADETIMEOUTRESPONSE"]._serialized_end = 6353 + _globals["_MSGCHANNELUPGRADECANCEL"]._serialized_start = 6356 + _globals["_MSGCHANNELUPGRADECANCEL"]._serialized_end = 6673 + _globals["_MSGCHANNELUPGRADECANCELRESPONSE"]._serialized_start = 6675 + _globals["_MSGCHANNELUPGRADECANCELRESPONSE"]._serialized_end = 6708 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 6710 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 6836 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 6838 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 6863 + _globals["_MSGPRUNEACKNOWLEDGEMENTS"]._serialized_start = 6866 + _globals["_MSGPRUNEACKNOWLEDGEMENTS"]._serialized_end = 7011 + _globals["_MSGPRUNEACKNOWLEDGEMENTSRESPONSE"]._serialized_start = 7014 + _globals["_MSGPRUNEACKNOWLEDGEMENTSRESPONSE"]._serialized_end = 7162 + _globals["_MSG"]._serialized_start = 7384 + _globals["_MSG"]._serialized_end = 9540 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/tx_pb2_grpc.py index 3dc03c7c..0f70d23b 100644 --- a/pyinjective/proto/ibc/core/channel/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/channel/v1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the ibc/channel Msg service. - """ + """Msg defines the ibc/channel Msg service.""" def __init__(self, channel): """Constructor. @@ -16,365 +15,365 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.ChannelOpenInit = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelOpenInit', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInit.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInitResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/ChannelOpenInit", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInit.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInitResponse.FromString, + _registered_method=True, + ) self.ChannelOpenTry = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelOpenTry', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTry.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTryResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/ChannelOpenTry", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTry.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTryResponse.FromString, + _registered_method=True, + ) self.ChannelOpenAck = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelOpenAck', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAck.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAckResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/ChannelOpenAck", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAck.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAckResponse.FromString, + _registered_method=True, + ) self.ChannelOpenConfirm = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelOpenConfirm', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirm.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirmResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/ChannelOpenConfirm", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirm.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirmResponse.FromString, + _registered_method=True, + ) self.ChannelCloseInit = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelCloseInit', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInit.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInitResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/ChannelCloseInit", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInit.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInitResponse.FromString, + _registered_method=True, + ) self.ChannelCloseConfirm = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelCloseConfirm', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirm.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirmResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/ChannelCloseConfirm", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirm.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirmResponse.FromString, + _registered_method=True, + ) self.RecvPacket = channel.unary_unary( - '/ibc.core.channel.v1.Msg/RecvPacket', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacket.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacketResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/RecvPacket", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacket.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacketResponse.FromString, + _registered_method=True, + ) self.Timeout = channel.unary_unary( - '/ibc.core.channel.v1.Msg/Timeout', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeout.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/Timeout", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeout.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutResponse.FromString, + _registered_method=True, + ) self.TimeoutOnClose = channel.unary_unary( - '/ibc.core.channel.v1.Msg/TimeoutOnClose', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnClose.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnCloseResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/TimeoutOnClose", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnClose.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnCloseResponse.FromString, + _registered_method=True, + ) self.Acknowledgement = channel.unary_unary( - '/ibc.core.channel.v1.Msg/Acknowledgement', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgement.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgementResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/Acknowledgement", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgement.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgementResponse.FromString, + _registered_method=True, + ) self.ChannelUpgradeInit = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelUpgradeInit', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInit.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInitResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/ChannelUpgradeInit", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInit.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInitResponse.FromString, + _registered_method=True, + ) self.ChannelUpgradeTry = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelUpgradeTry', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTry.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTryResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/ChannelUpgradeTry", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTry.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTryResponse.FromString, + _registered_method=True, + ) self.ChannelUpgradeAck = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelUpgradeAck', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAck.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAckResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/ChannelUpgradeAck", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAck.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAckResponse.FromString, + _registered_method=True, + ) self.ChannelUpgradeConfirm = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelUpgradeConfirm', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirm.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirmResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/ChannelUpgradeConfirm", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirm.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirmResponse.FromString, + _registered_method=True, + ) self.ChannelUpgradeOpen = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelUpgradeOpen', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpen.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpenResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/ChannelUpgradeOpen", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpen.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpenResponse.FromString, + _registered_method=True, + ) self.ChannelUpgradeTimeout = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelUpgradeTimeout', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeout.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeoutResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/ChannelUpgradeTimeout", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeout.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeoutResponse.FromString, + _registered_method=True, + ) self.ChannelUpgradeCancel = channel.unary_unary( - '/ibc.core.channel.v1.Msg/ChannelUpgradeCancel', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancel.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancelResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/ChannelUpgradeCancel", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancel.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancelResponse.FromString, + _registered_method=True, + ) self.UpdateChannelParams = channel.unary_unary( - '/ibc.core.channel.v1.Msg/UpdateChannelParams', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/UpdateChannelParams", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) self.PruneAcknowledgements = channel.unary_unary( - '/ibc.core.channel.v1.Msg/PruneAcknowledgements', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgements.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgementsResponse.FromString, - _registered_method=True) + "/ibc.core.channel.v1.Msg/PruneAcknowledgements", + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgements.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgementsResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the ibc/channel Msg service. - """ + """Msg defines the ibc/channel Msg service.""" def ChannelOpenInit(self, request, context): - """ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. - """ + """ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ChannelOpenTry(self, request, context): - """ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. - """ + """ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ChannelOpenAck(self, request, context): - """ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. - """ + """ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ChannelOpenConfirm(self, request, context): - """ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. - """ + """ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ChannelCloseInit(self, request, context): - """ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. - """ + """ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ChannelCloseConfirm(self, request, context): """ChannelCloseConfirm defines a rpc handler method for MsgChannelCloseConfirm. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RecvPacket(self, request, context): - """RecvPacket defines a rpc handler method for MsgRecvPacket. - """ + """RecvPacket defines a rpc handler method for MsgRecvPacket.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Timeout(self, request, context): - """Timeout defines a rpc handler method for MsgTimeout. - """ + """Timeout defines a rpc handler method for MsgTimeout.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TimeoutOnClose(self, request, context): - """TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. - """ + """TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Acknowledgement(self, request, context): - """Acknowledgement defines a rpc handler method for MsgAcknowledgement. - """ + """Acknowledgement defines a rpc handler method for MsgAcknowledgement.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ChannelUpgradeInit(self, request, context): - """ChannelUpgradeInit defines a rpc handler method for MsgChannelUpgradeInit. - """ + """ChannelUpgradeInit defines a rpc handler method for MsgChannelUpgradeInit.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ChannelUpgradeTry(self, request, context): - """ChannelUpgradeTry defines a rpc handler method for MsgChannelUpgradeTry. - """ + """ChannelUpgradeTry defines a rpc handler method for MsgChannelUpgradeTry.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ChannelUpgradeAck(self, request, context): - """ChannelUpgradeAck defines a rpc handler method for MsgChannelUpgradeAck. - """ + """ChannelUpgradeAck defines a rpc handler method for MsgChannelUpgradeAck.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ChannelUpgradeConfirm(self, request, context): - """ChannelUpgradeConfirm defines a rpc handler method for MsgChannelUpgradeConfirm. - """ + """ChannelUpgradeConfirm defines a rpc handler method for MsgChannelUpgradeConfirm.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ChannelUpgradeOpen(self, request, context): - """ChannelUpgradeOpen defines a rpc handler method for MsgChannelUpgradeOpen. - """ + """ChannelUpgradeOpen defines a rpc handler method for MsgChannelUpgradeOpen.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ChannelUpgradeTimeout(self, request, context): - """ChannelUpgradeTimeout defines a rpc handler method for MsgChannelUpgradeTimeout. - """ + """ChannelUpgradeTimeout defines a rpc handler method for MsgChannelUpgradeTimeout.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ChannelUpgradeCancel(self, request, context): - """ChannelUpgradeCancel defines a rpc handler method for MsgChannelUpgradeCancel. - """ + """ChannelUpgradeCancel defines a rpc handler method for MsgChannelUpgradeCancel.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateChannelParams(self, request, context): - """UpdateChannelParams defines a rpc handler method for MsgUpdateParams. - """ + """UpdateChannelParams defines a rpc handler method for MsgUpdateParams.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PruneAcknowledgements(self, request, context): - """PruneAcknowledgements defines a rpc handler method for MsgPruneAcknowledgements. - """ + """PruneAcknowledgements defines a rpc handler method for MsgPruneAcknowledgements.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'ChannelOpenInit': grpc.unary_unary_rpc_method_handler( - servicer.ChannelOpenInit, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInit.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInitResponse.SerializeToString, - ), - 'ChannelOpenTry': grpc.unary_unary_rpc_method_handler( - servicer.ChannelOpenTry, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTry.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTryResponse.SerializeToString, - ), - 'ChannelOpenAck': grpc.unary_unary_rpc_method_handler( - servicer.ChannelOpenAck, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAck.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAckResponse.SerializeToString, - ), - 'ChannelOpenConfirm': grpc.unary_unary_rpc_method_handler( - servicer.ChannelOpenConfirm, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirm.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirmResponse.SerializeToString, - ), - 'ChannelCloseInit': grpc.unary_unary_rpc_method_handler( - servicer.ChannelCloseInit, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInit.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInitResponse.SerializeToString, - ), - 'ChannelCloseConfirm': grpc.unary_unary_rpc_method_handler( - servicer.ChannelCloseConfirm, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirm.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirmResponse.SerializeToString, - ), - 'RecvPacket': grpc.unary_unary_rpc_method_handler( - servicer.RecvPacket, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacket.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacketResponse.SerializeToString, - ), - 'Timeout': grpc.unary_unary_rpc_method_handler( - servicer.Timeout, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeout.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutResponse.SerializeToString, - ), - 'TimeoutOnClose': grpc.unary_unary_rpc_method_handler( - servicer.TimeoutOnClose, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnClose.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnCloseResponse.SerializeToString, - ), - 'Acknowledgement': grpc.unary_unary_rpc_method_handler( - servicer.Acknowledgement, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgement.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgementResponse.SerializeToString, - ), - 'ChannelUpgradeInit': grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeInit, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInit.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInitResponse.SerializeToString, - ), - 'ChannelUpgradeTry': grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeTry, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTry.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTryResponse.SerializeToString, - ), - 'ChannelUpgradeAck': grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeAck, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAck.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAckResponse.SerializeToString, - ), - 'ChannelUpgradeConfirm': grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeConfirm, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirm.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirmResponse.SerializeToString, - ), - 'ChannelUpgradeOpen': grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeOpen, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpen.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpenResponse.SerializeToString, - ), - 'ChannelUpgradeTimeout': grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeTimeout, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeout.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeoutResponse.SerializeToString, - ), - 'ChannelUpgradeCancel': grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeCancel, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancel.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancelResponse.SerializeToString, - ), - 'UpdateChannelParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateChannelParams, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'PruneAcknowledgements': grpc.unary_unary_rpc_method_handler( - servicer.PruneAcknowledgements, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgements.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgementsResponse.SerializeToString, - ), + "ChannelOpenInit": grpc.unary_unary_rpc_method_handler( + servicer.ChannelOpenInit, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInit.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInitResponse.SerializeToString, + ), + "ChannelOpenTry": grpc.unary_unary_rpc_method_handler( + servicer.ChannelOpenTry, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTry.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTryResponse.SerializeToString, + ), + "ChannelOpenAck": grpc.unary_unary_rpc_method_handler( + servicer.ChannelOpenAck, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAck.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAckResponse.SerializeToString, + ), + "ChannelOpenConfirm": grpc.unary_unary_rpc_method_handler( + servicer.ChannelOpenConfirm, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirm.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirmResponse.SerializeToString, + ), + "ChannelCloseInit": grpc.unary_unary_rpc_method_handler( + servicer.ChannelCloseInit, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInit.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInitResponse.SerializeToString, + ), + "ChannelCloseConfirm": grpc.unary_unary_rpc_method_handler( + servicer.ChannelCloseConfirm, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirm.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirmResponse.SerializeToString, + ), + "RecvPacket": grpc.unary_unary_rpc_method_handler( + servicer.RecvPacket, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacket.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacketResponse.SerializeToString, + ), + "Timeout": grpc.unary_unary_rpc_method_handler( + servicer.Timeout, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeout.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutResponse.SerializeToString, + ), + "TimeoutOnClose": grpc.unary_unary_rpc_method_handler( + servicer.TimeoutOnClose, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnClose.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnCloseResponse.SerializeToString, + ), + "Acknowledgement": grpc.unary_unary_rpc_method_handler( + servicer.Acknowledgement, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgement.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgementResponse.SerializeToString, + ), + "ChannelUpgradeInit": grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeInit, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInit.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInitResponse.SerializeToString, + ), + "ChannelUpgradeTry": grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeTry, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTry.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTryResponse.SerializeToString, + ), + "ChannelUpgradeAck": grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeAck, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAck.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAckResponse.SerializeToString, + ), + "ChannelUpgradeConfirm": grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeConfirm, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirm.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirmResponse.SerializeToString, + ), + "ChannelUpgradeOpen": grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeOpen, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpen.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpenResponse.SerializeToString, + ), + "ChannelUpgradeTimeout": grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeTimeout, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeout.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeoutResponse.SerializeToString, + ), + "ChannelUpgradeCancel": grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeCancel, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancel.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancelResponse.SerializeToString, + ), + "UpdateChannelParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateChannelParams, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + "PruneAcknowledgements": grpc.unary_unary_rpc_method_handler( + servicer.PruneAcknowledgements, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgements.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgementsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.core.channel.v1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("ibc.core.channel.v1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.core.channel.v1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("ibc.core.channel.v1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the ibc/channel Msg service. - """ + """Msg defines the ibc/channel Msg service.""" @staticmethod - def ChannelOpenInit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChannelOpenInit( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/ChannelOpenInit', + "/ibc.core.channel.v1.Msg/ChannelOpenInit", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInit.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInitResponse.FromString, options, @@ -385,23 +384,26 @@ def ChannelOpenInit(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ChannelOpenTry(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChannelOpenTry( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/ChannelOpenTry', + "/ibc.core.channel.v1.Msg/ChannelOpenTry", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTry.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTryResponse.FromString, options, @@ -412,23 +414,26 @@ def ChannelOpenTry(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ChannelOpenAck(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChannelOpenAck( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/ChannelOpenAck', + "/ibc.core.channel.v1.Msg/ChannelOpenAck", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAck.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAckResponse.FromString, options, @@ -439,23 +444,26 @@ def ChannelOpenAck(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ChannelOpenConfirm(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChannelOpenConfirm( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/ChannelOpenConfirm', + "/ibc.core.channel.v1.Msg/ChannelOpenConfirm", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirm.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirmResponse.FromString, options, @@ -466,23 +474,26 @@ def ChannelOpenConfirm(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ChannelCloseInit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChannelCloseInit( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/ChannelCloseInit', + "/ibc.core.channel.v1.Msg/ChannelCloseInit", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInit.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInitResponse.FromString, options, @@ -493,23 +504,26 @@ def ChannelCloseInit(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ChannelCloseConfirm(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChannelCloseConfirm( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/ChannelCloseConfirm', + "/ibc.core.channel.v1.Msg/ChannelCloseConfirm", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirm.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirmResponse.FromString, options, @@ -520,23 +534,26 @@ def ChannelCloseConfirm(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RecvPacket(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RecvPacket( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/RecvPacket', + "/ibc.core.channel.v1.Msg/RecvPacket", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacket.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacketResponse.FromString, options, @@ -547,23 +564,26 @@ def RecvPacket(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Timeout(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Timeout( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/Timeout', + "/ibc.core.channel.v1.Msg/Timeout", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeout.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutResponse.FromString, options, @@ -574,23 +594,26 @@ def Timeout(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def TimeoutOnClose(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def TimeoutOnClose( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/TimeoutOnClose', + "/ibc.core.channel.v1.Msg/TimeoutOnClose", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnClose.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnCloseResponse.FromString, options, @@ -601,23 +624,26 @@ def TimeoutOnClose(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Acknowledgement(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Acknowledgement( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/Acknowledgement', + "/ibc.core.channel.v1.Msg/Acknowledgement", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgement.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgementResponse.FromString, options, @@ -628,23 +654,26 @@ def Acknowledgement(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ChannelUpgradeInit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChannelUpgradeInit( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/ChannelUpgradeInit', + "/ibc.core.channel.v1.Msg/ChannelUpgradeInit", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInit.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInitResponse.FromString, options, @@ -655,23 +684,26 @@ def ChannelUpgradeInit(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ChannelUpgradeTry(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChannelUpgradeTry( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/ChannelUpgradeTry', + "/ibc.core.channel.v1.Msg/ChannelUpgradeTry", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTry.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTryResponse.FromString, options, @@ -682,23 +714,26 @@ def ChannelUpgradeTry(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ChannelUpgradeAck(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChannelUpgradeAck( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/ChannelUpgradeAck', + "/ibc.core.channel.v1.Msg/ChannelUpgradeAck", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAck.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAckResponse.FromString, options, @@ -709,23 +744,26 @@ def ChannelUpgradeAck(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ChannelUpgradeConfirm(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChannelUpgradeConfirm( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/ChannelUpgradeConfirm', + "/ibc.core.channel.v1.Msg/ChannelUpgradeConfirm", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirm.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirmResponse.FromString, options, @@ -736,23 +774,26 @@ def ChannelUpgradeConfirm(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ChannelUpgradeOpen(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChannelUpgradeOpen( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/ChannelUpgradeOpen', + "/ibc.core.channel.v1.Msg/ChannelUpgradeOpen", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpen.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpenResponse.FromString, options, @@ -763,23 +804,26 @@ def ChannelUpgradeOpen(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ChannelUpgradeTimeout(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChannelUpgradeTimeout( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/ChannelUpgradeTimeout', + "/ibc.core.channel.v1.Msg/ChannelUpgradeTimeout", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeout.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeoutResponse.FromString, options, @@ -790,23 +834,26 @@ def ChannelUpgradeTimeout(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ChannelUpgradeCancel(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChannelUpgradeCancel( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/ChannelUpgradeCancel', + "/ibc.core.channel.v1.Msg/ChannelUpgradeCancel", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancel.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancelResponse.FromString, options, @@ -817,23 +864,26 @@ def ChannelUpgradeCancel(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateChannelParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateChannelParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/UpdateChannelParams', + "/ibc.core.channel.v1.Msg/UpdateChannelParams", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -844,23 +894,26 @@ def UpdateChannelParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PruneAcknowledgements(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PruneAcknowledgements( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.channel.v1.Msg/PruneAcknowledgements', + "/ibc.core.channel.v1.Msg/PruneAcknowledgements", ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgements.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgementsResponse.FromString, options, @@ -871,4 +924,5 @@ def PruneAcknowledgements(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2.py b/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2.py index 6fb380f8..869bf5e7 100644 --- a/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,28 +17,32 @@ from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/upgrade.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\xbd\x01\n\x07Upgrade\x12@\n\x06\x66ields\x18\x01 \x01(\x0b\x32\".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x06\x66ields\x12<\n\x07timeout\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.TimeoutB\x04\xc8\xde\x1f\x00R\x07timeout\x12,\n\x12next_sequence_send\x18\x03 \x01(\x04R\x10nextSequenceSend:\x04\x88\xa0\x1f\x00\"\x90\x01\n\rUpgradeFields\x12\x36\n\x08ordering\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12\'\n\x0f\x63onnection_hops\x18\x02 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version:\x04\x88\xa0\x1f\x00\"J\n\x0c\x45rrorReceipt\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message:\x04\x88\xa0\x1f\x00\x42\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0cUpgradeProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n!ibc/core/channel/v1/upgrade.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto"\xbd\x01\n\x07Upgrade\x12@\n\x06\x66ields\x18\x01 \x01(\x0b\x32".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x06\x66ields\x12<\n\x07timeout\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.TimeoutB\x04\xc8\xde\x1f\x00R\x07timeout\x12,\n\x12next_sequence_send\x18\x03 \x01(\x04R\x10nextSequenceSend:\x04\x88\xa0\x1f\x00"\x90\x01\n\rUpgradeFields\x12\x36\n\x08ordering\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12\'\n\x0f\x63onnection_hops\x18\x02 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version:\x04\x88\xa0\x1f\x00"J\n\x0c\x45rrorReceipt\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message:\x04\x88\xa0\x1f\x00\x42\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0cUpgradeProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.upgrade_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.channel.v1.upgrade_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\014UpgradeProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' - _globals['_UPGRADE'].fields_by_name['fields']._loaded_options = None - _globals['_UPGRADE'].fields_by_name['fields']._serialized_options = b'\310\336\037\000' - _globals['_UPGRADE'].fields_by_name['timeout']._loaded_options = None - _globals['_UPGRADE'].fields_by_name['timeout']._serialized_options = b'\310\336\037\000' - _globals['_UPGRADE']._loaded_options = None - _globals['_UPGRADE']._serialized_options = b'\210\240\037\000' - _globals['_UPGRADEFIELDS']._loaded_options = None - _globals['_UPGRADEFIELDS']._serialized_options = b'\210\240\037\000' - _globals['_ERRORRECEIPT']._loaded_options = None - _globals['_ERRORRECEIPT']._serialized_options = b'\210\240\037\000' - _globals['_UPGRADE']._serialized_start=116 - _globals['_UPGRADE']._serialized_end=305 - _globals['_UPGRADEFIELDS']._serialized_start=308 - _globals['_UPGRADEFIELDS']._serialized_end=452 - _globals['_ERRORRECEIPT']._serialized_start=454 - _globals['_ERRORRECEIPT']._serialized_end=528 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\027com.ibc.core.channel.v1B\014UpgradeProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1" + ) + _globals["_UPGRADE"].fields_by_name["fields"]._loaded_options = None + _globals["_UPGRADE"].fields_by_name["fields"]._serialized_options = b"\310\336\037\000" + _globals["_UPGRADE"].fields_by_name["timeout"]._loaded_options = None + _globals["_UPGRADE"].fields_by_name["timeout"]._serialized_options = b"\310\336\037\000" + _globals["_UPGRADE"]._loaded_options = None + _globals["_UPGRADE"]._serialized_options = b"\210\240\037\000" + _globals["_UPGRADEFIELDS"]._loaded_options = None + _globals["_UPGRADEFIELDS"]._serialized_options = b"\210\240\037\000" + _globals["_ERRORRECEIPT"]._loaded_options = None + _globals["_ERRORRECEIPT"]._serialized_options = b"\210\240\037\000" + _globals["_UPGRADE"]._serialized_start = 116 + _globals["_UPGRADE"]._serialized_end = 305 + _globals["_UPGRADEFIELDS"]._serialized_start = 308 + _globals["_UPGRADEFIELDS"]._serialized_end = 452 + _globals["_ERRORRECEIPT"]._serialized_start = 454 + _globals["_ERRORRECEIPT"]._serialized_end = 528 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/core/client/v1/client_pb2.py b/pyinjective/proto/ibc/core/client/v1/client_pb2.py index a56c2582..e1b6ec55 100644 --- a/pyinjective/proto/ibc/core/client/v1/client_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/client_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,44 +19,58 @@ 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$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"m\n\x15IdentifiedClientState\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x37\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\"\x93\x01\n\x18\x43onsensusStateWithHeight\x12\x38\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\x12=\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\"\x93\x01\n\x15\x43lientConsensusStates\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12]\n\x10\x63onsensus_states\x18\x02 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00R\x0f\x63onsensusStates\"d\n\x06Height\x12\'\n\x0frevision_number\x18\x01 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x02 \x01(\x04R\x0erevisionHeight:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"1\n\x06Params\x12\'\n\x0f\x61llowed_clients\x18\x01 \x03(\tR\x0e\x61llowedClients\"\x91\x02\n\x14\x43lientUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12H\n\x11subject_client_id\x18\x03 \x01(\tB\x1c\xf2\xde\x1f\x18yaml:\"subject_client_id\"R\x0fsubjectClientId\x12Q\n\x14substitute_client_id\x18\x04 \x01(\tB\x1f\xf2\xde\x1f\x1byaml:\"substitute_client_id\"R\x12substituteClientId:$\x18\x01\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x9b\x02\n\x0fUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x36\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00R\x04plan\x12j\n\x15upgraded_client_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB \xf2\xde\x1f\x1cyaml:\"upgraded_client_state\"R\x13upgradedClientState:,\x18\x01\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB\xca\x01\n\x16\x63om.ibc.core.client.v1B\x0b\x43lientProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\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"m\n\x15IdentifiedClientState\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x37\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState"\x93\x01\n\x18\x43onsensusStateWithHeight\x12\x38\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\x12=\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState"\x93\x01\n\x15\x43lientConsensusStates\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12]\n\x10\x63onsensus_states\x18\x02 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00R\x0f\x63onsensusStates"d\n\x06Height\x12\'\n\x0frevision_number\x18\x01 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x02 \x01(\x04R\x0erevisionHeight:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00"1\n\x06Params\x12\'\n\x0f\x61llowed_clients\x18\x01 \x03(\tR\x0e\x61llowedClients"\x91\x02\n\x14\x43lientUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12H\n\x11subject_client_id\x18\x03 \x01(\tB\x1c\xf2\xde\x1f\x18yaml:"subject_client_id"R\x0fsubjectClientId\x12Q\n\x14substitute_client_id\x18\x04 \x01(\tB\x1f\xf2\xde\x1f\x1byaml:"substitute_client_id"R\x12substituteClientId:$\x18\x01\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content"\x9b\x02\n\x0fUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x36\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00R\x04plan\x12j\n\x15upgraded_client_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB \xf2\xde\x1f\x1cyaml:"upgraded_client_state"R\x13upgradedClientState:,\x18\x01\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB\xca\x01\n\x16\x63om.ibc.core.client.v1B\x0b\x43lientProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.client_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.client.v1.client_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ibc.core.client.v1B\013ClientProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1' - _globals['_CONSENSUSSTATEWITHHEIGHT'].fields_by_name['height']._loaded_options = None - _globals['_CONSENSUSSTATEWITHHEIGHT'].fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_CLIENTCONSENSUSSTATES'].fields_by_name['consensus_states']._loaded_options = None - _globals['_CLIENTCONSENSUSSTATES'].fields_by_name['consensus_states']._serialized_options = b'\310\336\037\000' - _globals['_HEIGHT']._loaded_options = None - _globals['_HEIGHT']._serialized_options = b'\210\240\037\000\230\240\037\000' - _globals['_CLIENTUPDATEPROPOSAL'].fields_by_name['subject_client_id']._loaded_options = None - _globals['_CLIENTUPDATEPROPOSAL'].fields_by_name['subject_client_id']._serialized_options = b'\362\336\037\030yaml:\"subject_client_id\"' - _globals['_CLIENTUPDATEPROPOSAL'].fields_by_name['substitute_client_id']._loaded_options = None - _globals['_CLIENTUPDATEPROPOSAL'].fields_by_name['substitute_client_id']._serialized_options = b'\362\336\037\033yaml:\"substitute_client_id\"' - _globals['_CLIENTUPDATEPROPOSAL']._loaded_options = None - _globals['_CLIENTUPDATEPROPOSAL']._serialized_options = b'\030\001\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_UPGRADEPROPOSAL'].fields_by_name['plan']._loaded_options = None - _globals['_UPGRADEPROPOSAL'].fields_by_name['plan']._serialized_options = b'\310\336\037\000' - _globals['_UPGRADEPROPOSAL'].fields_by_name['upgraded_client_state']._loaded_options = None - _globals['_UPGRADEPROPOSAL'].fields_by_name['upgraded_client_state']._serialized_options = b'\362\336\037\034yaml:\"upgraded_client_state\"' - _globals['_UPGRADEPROPOSAL']._loaded_options = None - _globals['_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=278 - _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_start=281 - _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_end=428 - _globals['_CLIENTCONSENSUSSTATES']._serialized_start=431 - _globals['_CLIENTCONSENSUSSTATES']._serialized_end=578 - _globals['_HEIGHT']._serialized_start=580 - _globals['_HEIGHT']._serialized_end=680 - _globals['_PARAMS']._serialized_start=682 - _globals['_PARAMS']._serialized_end=731 - _globals['_CLIENTUPDATEPROPOSAL']._serialized_start=734 - _globals['_CLIENTUPDATEPROPOSAL']._serialized_end=1007 - _globals['_UPGRADEPROPOSAL']._serialized_start=1010 - _globals['_UPGRADEPROPOSAL']._serialized_end=1293 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.ibc.core.client.v1B\013ClientProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1" + ) + _globals["_CONSENSUSSTATEWITHHEIGHT"].fields_by_name["height"]._loaded_options = None + _globals["_CONSENSUSSTATEWITHHEIGHT"].fields_by_name["height"]._serialized_options = b"\310\336\037\000" + _globals["_CLIENTCONSENSUSSTATES"].fields_by_name["consensus_states"]._loaded_options = None + _globals["_CLIENTCONSENSUSSTATES"].fields_by_name["consensus_states"]._serialized_options = b"\310\336\037\000" + _globals["_HEIGHT"]._loaded_options = None + _globals["_HEIGHT"]._serialized_options = b"\210\240\037\000\230\240\037\000" + _globals["_CLIENTUPDATEPROPOSAL"].fields_by_name["subject_client_id"]._loaded_options = None + _globals["_CLIENTUPDATEPROPOSAL"].fields_by_name[ + "subject_client_id" + ]._serialized_options = b'\362\336\037\030yaml:"subject_client_id"' + _globals["_CLIENTUPDATEPROPOSAL"].fields_by_name["substitute_client_id"]._loaded_options = None + _globals["_CLIENTUPDATEPROPOSAL"].fields_by_name[ + "substitute_client_id" + ]._serialized_options = b'\362\336\037\033yaml:"substitute_client_id"' + _globals["_CLIENTUPDATEPROPOSAL"]._loaded_options = None + _globals["_CLIENTUPDATEPROPOSAL"]._serialized_options = ( + b"\030\001\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content" + ) + _globals["_UPGRADEPROPOSAL"].fields_by_name["plan"]._loaded_options = None + _globals["_UPGRADEPROPOSAL"].fields_by_name["plan"]._serialized_options = b"\310\336\037\000" + _globals["_UPGRADEPROPOSAL"].fields_by_name["upgraded_client_state"]._loaded_options = None + _globals["_UPGRADEPROPOSAL"].fields_by_name[ + "upgraded_client_state" + ]._serialized_options = b'\362\336\037\034yaml:"upgraded_client_state"' + _globals["_UPGRADEPROPOSAL"]._loaded_options = None + _globals["_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 = 278 + _globals["_CONSENSUSSTATEWITHHEIGHT"]._serialized_start = 281 + _globals["_CONSENSUSSTATEWITHHEIGHT"]._serialized_end = 428 + _globals["_CLIENTCONSENSUSSTATES"]._serialized_start = 431 + _globals["_CLIENTCONSENSUSSTATES"]._serialized_end = 578 + _globals["_HEIGHT"]._serialized_start = 580 + _globals["_HEIGHT"]._serialized_end = 680 + _globals["_PARAMS"]._serialized_start = 682 + _globals["_PARAMS"]._serialized_end = 731 + _globals["_CLIENTUPDATEPROPOSAL"]._serialized_start = 734 + _globals["_CLIENTUPDATEPROPOSAL"]._serialized_end = 1007 + _globals["_UPGRADEPROPOSAL"]._serialized_start = 1010 + _globals["_UPGRADEPROPOSAL"]._serialized_end = 1293 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/client_pb2_grpc.py b/pyinjective/proto/ibc/core/client/v1/client_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/core/client/v1/client_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/client/v1/client_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/core/client/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py index 3137f37f..7238dce4 100644 --- a/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,32 +17,40 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/core/client/v1/genesis.proto\x12\x12ibc.core.client.v1\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto\"\xe6\x03\n\x0cGenesisState\x12\x63\n\x07\x63lients\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStatesR\x07\x63lients\x12v\n\x11\x63lients_consensus\x18\x02 \x03(\x0b\x32).ibc.core.client.v1.ClientConsensusStatesB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16\x43lientsConsensusStatesR\x10\x63lientsConsensus\x12^\n\x10\x63lients_metadata\x18\x03 \x03(\x0b\x32-.ibc.core.client.v1.IdentifiedGenesisMetadataB\x04\xc8\xde\x1f\x00R\x0f\x63lientsMetadata\x12\x38\n\x06params\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12-\n\x10\x63reate_localhost\x18\x05 \x01(\x08\x42\x02\x18\x01R\x0f\x63reateLocalhost\x12\x30\n\x14next_client_sequence\x18\x06 \x01(\x04R\x12nextClientSequence\"?\n\x0fGenesisMetadata\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value:\x04\x88\xa0\x1f\x00\"\x8c\x01\n\x19IdentifiedGenesisMetadata\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12R\n\x0f\x63lient_metadata\x18\x02 \x03(\x0b\x32#.ibc.core.client.v1.GenesisMetadataB\x04\xc8\xde\x1f\x00R\x0e\x63lientMetadataB\xcb\x01\n\x16\x63om.ibc.core.client.v1B\x0cGenesisProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n ibc/core/client/v1/genesis.proto\x12\x12ibc.core.client.v1\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto"\xe6\x03\n\x0cGenesisState\x12\x63\n\x07\x63lients\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStatesR\x07\x63lients\x12v\n\x11\x63lients_consensus\x18\x02 \x03(\x0b\x32).ibc.core.client.v1.ClientConsensusStatesB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16\x43lientsConsensusStatesR\x10\x63lientsConsensus\x12^\n\x10\x63lients_metadata\x18\x03 \x03(\x0b\x32-.ibc.core.client.v1.IdentifiedGenesisMetadataB\x04\xc8\xde\x1f\x00R\x0f\x63lientsMetadata\x12\x38\n\x06params\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12-\n\x10\x63reate_localhost\x18\x05 \x01(\x08\x42\x02\x18\x01R\x0f\x63reateLocalhost\x12\x30\n\x14next_client_sequence\x18\x06 \x01(\x04R\x12nextClientSequence"?\n\x0fGenesisMetadata\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value:\x04\x88\xa0\x1f\x00"\x8c\x01\n\x19IdentifiedGenesisMetadata\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12R\n\x0f\x63lient_metadata\x18\x02 \x03(\x0b\x32#.ibc.core.client.v1.GenesisMetadataB\x04\xc8\xde\x1f\x00R\x0e\x63lientMetadataB\xcb\x01\n\x16\x63om.ibc.core.client.v1B\x0cGenesisProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.client.v1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ibc.core.client.v1B\014GenesisProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1' - _globals['_GENESISSTATE'].fields_by_name['clients']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['clients']._serialized_options = b'\310\336\037\000\252\337\037\026IdentifiedClientStates' - _globals['_GENESISSTATE'].fields_by_name['clients_consensus']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['clients_consensus']._serialized_options = b'\310\336\037\000\252\337\037\026ClientsConsensusStates' - _globals['_GENESISSTATE'].fields_by_name['clients_metadata']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['clients_metadata']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['create_localhost']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['create_localhost']._serialized_options = b'\030\001' - _globals['_GENESISMETADATA']._loaded_options = None - _globals['_GENESISMETADATA']._serialized_options = b'\210\240\037\000' - _globals['_IDENTIFIEDGENESISMETADATA'].fields_by_name['client_metadata']._loaded_options = None - _globals['_IDENTIFIEDGENESISMETADATA'].fields_by_name['client_metadata']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=112 - _globals['_GENESISSTATE']._serialized_end=598 - _globals['_GENESISMETADATA']._serialized_start=600 - _globals['_GENESISMETADATA']._serialized_end=663 - _globals['_IDENTIFIEDGENESISMETADATA']._serialized_start=666 - _globals['_IDENTIFIEDGENESISMETADATA']._serialized_end=806 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.ibc.core.client.v1B\014GenesisProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1" + ) + _globals["_GENESISSTATE"].fields_by_name["clients"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "clients" + ]._serialized_options = b"\310\336\037\000\252\337\037\026IdentifiedClientStates" + _globals["_GENESISSTATE"].fields_by_name["clients_consensus"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "clients_consensus" + ]._serialized_options = b"\310\336\037\000\252\337\037\026ClientsConsensusStates" + _globals["_GENESISSTATE"].fields_by_name["clients_metadata"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["clients_metadata"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["create_localhost"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["create_localhost"]._serialized_options = b"\030\001" + _globals["_GENESISMETADATA"]._loaded_options = None + _globals["_GENESISMETADATA"]._serialized_options = b"\210\240\037\000" + _globals["_IDENTIFIEDGENESISMETADATA"].fields_by_name["client_metadata"]._loaded_options = None + _globals["_IDENTIFIEDGENESISMETADATA"].fields_by_name["client_metadata"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"]._serialized_start = 112 + _globals["_GENESISSTATE"]._serialized_end = 598 + _globals["_GENESISMETADATA"]._serialized_start = 600 + _globals["_GENESISMETADATA"]._serialized_end = 663 + _globals["_IDENTIFIEDGENESISMETADATA"]._serialized_start = 666 + _globals["_IDENTIFIEDGENESISMETADATA"]._serialized_end = 806 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/core/client/v1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/core/client/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/client/v1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/core/client/v1/query_pb2.py b/pyinjective/proto/ibc/core/client/v1/query_pb2.py index 66b76708..45ae5f36 100644 --- a/pyinjective/proto/ibc/core/client/v1/query_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/query_pb2.py @@ -7,102 +7,137 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -from pyinjective.proto.ibc.core.commitment.v1 import commitment_pb2 as ibc_dot_core_dot_commitment_dot_v1_dot_commitment__pb2 +from pyinjective.proto.ibc.core.commitment.v1 import ( + commitment_pb2 as ibc_dot_core_dot_commitment_dot_v1_dot_commitment__pb2, +) from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eibc/core/client/v1/query.proto\x12\x12ibc.core.client.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto\"6\n\x17QueryClientStateRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\"\xae\x01\n\x18QueryClientStateResponse\x12\x37\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"b\n\x18QueryClientStatesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xd4\x01\n\x19QueryClientStatesResponse\x12n\n\rclient_states\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStatesR\x0c\x63lientStates\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xb0\x01\n\x1aQueryConsensusStateRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\'\n\x0frevision_number\x18\x02 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x03 \x01(\x04R\x0erevisionHeight\x12#\n\rlatest_height\x18\x04 \x01(\x08R\x0clatestHeight\"\xb7\x01\n\x1bQueryConsensusStateResponse\x12=\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\x82\x01\n\x1bQueryConsensusStatesRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xc6\x01\n\x1cQueryConsensusStatesResponse\x12]\n\x10\x63onsensus_states\x18\x01 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00R\x0f\x63onsensusStates\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x88\x01\n!QueryConsensusStateHeightsRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xc7\x01\n\"QueryConsensusStateHeightsResponse\x12X\n\x17\x63onsensus_state_heights\x18\x01 \x03(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x15\x63onsensusStateHeights\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"7\n\x18QueryClientStatusRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\"3\n\x19QueryClientStatusResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\"\x1a\n\x18QueryClientParamsRequest\"O\n\x19QueryClientParamsResponse\x12\x32\n\x06params\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsR\x06params\"!\n\x1fQueryUpgradedClientStateRequest\"l\n QueryUpgradedClientStateResponse\x12H\n\x15upgraded_client_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x13upgradedClientState\"$\n\"QueryUpgradedConsensusStateRequest\"u\n#QueryUpgradedConsensusStateResponse\x12N\n\x18upgraded_consensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x16upgradedConsensusState\"\xb7\x02\n\x1cQueryVerifyMembershipRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12I\n\x0bmerkle_path\x18\x04 \x01(\x0b\x32\".ibc.core.commitment.v1.MerklePathB\x04\xc8\xde\x1f\x00R\nmerklePath\x12\x14\n\x05value\x18\x05 \x01(\x0cR\x05value\x12\x1d\n\ntime_delay\x18\x06 \x01(\x04R\ttimeDelay\x12\x1f\n\x0b\x62lock_delay\x18\x07 \x01(\x04R\nblockDelay\"9\n\x1dQueryVerifyMembershipResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success2\x82\x0e\n\x05Query\x12\x9f\x01\n\x0b\x43lientState\x12+.ibc.core.client.v1.QueryClientStateRequest\x1a,.ibc.core.client.v1.QueryClientStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_states/{client_id}\x12\x96\x01\n\x0c\x43lientStates\x12,.ibc.core.client.v1.QueryClientStatesRequest\x1a-.ibc.core.client.v1.QueryClientStatesResponse\")\x82\xd3\xe4\x93\x02#\x12!/ibc/core/client/v1/client_states\x12\xdf\x01\n\x0e\x43onsensusState\x12..ibc.core.client.v1.QueryConsensusStateRequest\x1a/.ibc.core.client.v1.QueryConsensusStateResponse\"l\x82\xd3\xe4\x93\x02\x66\x12\x64/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}\x12\xae\x01\n\x0f\x43onsensusStates\x12/.ibc.core.client.v1.QueryConsensusStatesRequest\x1a\x30.ibc.core.client.v1.QueryConsensusStatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/ibc/core/client/v1/consensus_states/{client_id}\x12\xc8\x01\n\x15\x43onsensusStateHeights\x12\x35.ibc.core.client.v1.QueryConsensusStateHeightsRequest\x1a\x36.ibc.core.client.v1.QueryConsensusStateHeightsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/ibc/core/client/v1/consensus_states/{client_id}/heights\x12\xa2\x01\n\x0c\x43lientStatus\x12,.ibc.core.client.v1.QueryClientStatusRequest\x1a-.ibc.core.client.v1.QueryClientStatusResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_status/{client_id}\x12\x8f\x01\n\x0c\x43lientParams\x12,.ibc.core.client.v1.QueryClientParamsRequest\x1a-.ibc.core.client.v1.QueryClientParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/ibc/core/client/v1/params\x12\xb4\x01\n\x13UpgradedClientState\x12\x33.ibc.core.client.v1.QueryUpgradedClientStateRequest\x1a\x34.ibc.core.client.v1.QueryUpgradedClientStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/ibc/core/client/v1/upgraded_client_states\x12\xc0\x01\n\x16UpgradedConsensusState\x12\x36.ibc.core.client.v1.QueryUpgradedConsensusStateRequest\x1a\x37.ibc.core.client.v1.QueryUpgradedConsensusStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/upgraded_consensus_states\x12\xae\x01\n\x10VerifyMembership\x12\x30.ibc.core.client.v1.QueryVerifyMembershipRequest\x1a\x31.ibc.core.client.v1.QueryVerifyMembershipResponse\"5\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02*\"%/ibc/core/client/v1/verify_membership:\x01*B\xc9\x01\n\x16\x63om.ibc.core.client.v1B\nQueryProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1eibc/core/client/v1/query.proto\x12\x12ibc.core.client.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto"6\n\x17QueryClientStateRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId"\xae\x01\n\x18QueryClientStateResponse\x12\x37\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"b\n\x18QueryClientStatesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xd4\x01\n\x19QueryClientStatesResponse\x12n\n\rclient_states\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStatesR\x0c\x63lientStates\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xb0\x01\n\x1aQueryConsensusStateRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\'\n\x0frevision_number\x18\x02 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x03 \x01(\x04R\x0erevisionHeight\x12#\n\rlatest_height\x18\x04 \x01(\x08R\x0clatestHeight"\xb7\x01\n\x1bQueryConsensusStateResponse\x12=\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"\x82\x01\n\x1bQueryConsensusStatesRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xc6\x01\n\x1cQueryConsensusStatesResponse\x12]\n\x10\x63onsensus_states\x18\x01 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00R\x0f\x63onsensusStates\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x88\x01\n!QueryConsensusStateHeightsRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xc7\x01\n"QueryConsensusStateHeightsResponse\x12X\n\x17\x63onsensus_state_heights\x18\x01 \x03(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x15\x63onsensusStateHeights\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"7\n\x18QueryClientStatusRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId"3\n\x19QueryClientStatusResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status"\x1a\n\x18QueryClientParamsRequest"O\n\x19QueryClientParamsResponse\x12\x32\n\x06params\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsR\x06params"!\n\x1fQueryUpgradedClientStateRequest"l\n QueryUpgradedClientStateResponse\x12H\n\x15upgraded_client_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x13upgradedClientState"$\n"QueryUpgradedConsensusStateRequest"u\n#QueryUpgradedConsensusStateResponse\x12N\n\x18upgraded_consensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x16upgradedConsensusState"\xb7\x02\n\x1cQueryVerifyMembershipRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12I\n\x0bmerkle_path\x18\x04 \x01(\x0b\x32".ibc.core.commitment.v1.MerklePathB\x04\xc8\xde\x1f\x00R\nmerklePath\x12\x14\n\x05value\x18\x05 \x01(\x0cR\x05value\x12\x1d\n\ntime_delay\x18\x06 \x01(\x04R\ttimeDelay\x12\x1f\n\x0b\x62lock_delay\x18\x07 \x01(\x04R\nblockDelay"9\n\x1dQueryVerifyMembershipResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success2\x82\x0e\n\x05Query\x12\x9f\x01\n\x0b\x43lientState\x12+.ibc.core.client.v1.QueryClientStateRequest\x1a,.ibc.core.client.v1.QueryClientStateResponse"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_states/{client_id}\x12\x96\x01\n\x0c\x43lientStates\x12,.ibc.core.client.v1.QueryClientStatesRequest\x1a-.ibc.core.client.v1.QueryClientStatesResponse")\x82\xd3\xe4\x93\x02#\x12!/ibc/core/client/v1/client_states\x12\xdf\x01\n\x0e\x43onsensusState\x12..ibc.core.client.v1.QueryConsensusStateRequest\x1a/.ibc.core.client.v1.QueryConsensusStateResponse"l\x82\xd3\xe4\x93\x02\x66\x12\x64/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}\x12\xae\x01\n\x0f\x43onsensusStates\x12/.ibc.core.client.v1.QueryConsensusStatesRequest\x1a\x30.ibc.core.client.v1.QueryConsensusStatesResponse"8\x82\xd3\xe4\x93\x02\x32\x12\x30/ibc/core/client/v1/consensus_states/{client_id}\x12\xc8\x01\n\x15\x43onsensusStateHeights\x12\x35.ibc.core.client.v1.QueryConsensusStateHeightsRequest\x1a\x36.ibc.core.client.v1.QueryConsensusStateHeightsResponse"@\x82\xd3\xe4\x93\x02:\x12\x38/ibc/core/client/v1/consensus_states/{client_id}/heights\x12\xa2\x01\n\x0c\x43lientStatus\x12,.ibc.core.client.v1.QueryClientStatusRequest\x1a-.ibc.core.client.v1.QueryClientStatusResponse"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_status/{client_id}\x12\x8f\x01\n\x0c\x43lientParams\x12,.ibc.core.client.v1.QueryClientParamsRequest\x1a-.ibc.core.client.v1.QueryClientParamsResponse""\x82\xd3\xe4\x93\x02\x1c\x12\x1a/ibc/core/client/v1/params\x12\xb4\x01\n\x13UpgradedClientState\x12\x33.ibc.core.client.v1.QueryUpgradedClientStateRequest\x1a\x34.ibc.core.client.v1.QueryUpgradedClientStateResponse"2\x82\xd3\xe4\x93\x02,\x12*/ibc/core/client/v1/upgraded_client_states\x12\xc0\x01\n\x16UpgradedConsensusState\x12\x36.ibc.core.client.v1.QueryUpgradedConsensusStateRequest\x1a\x37.ibc.core.client.v1.QueryUpgradedConsensusStateResponse"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/upgraded_consensus_states\x12\xae\x01\n\x10VerifyMembership\x12\x30.ibc.core.client.v1.QueryVerifyMembershipRequest\x1a\x31.ibc.core.client.v1.QueryVerifyMembershipResponse"5\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02*"%/ibc/core/client/v1/verify_membership:\x01*B\xc9\x01\n\x16\x63om.ibc.core.client.v1B\nQueryProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.client.v1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ibc.core.client.v1B\nQueryProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1' - _globals['_QUERYCLIENTSTATERESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYCLIENTSTATERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYCLIENTSTATESRESPONSE'].fields_by_name['client_states']._loaded_options = None - _globals['_QUERYCLIENTSTATESRESPONSE'].fields_by_name['client_states']._serialized_options = b'\310\336\037\000\252\337\037\026IdentifiedClientStates' - _globals['_QUERYCONSENSUSSTATERESPONSE'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYCONSENSUSSTATERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYCONSENSUSSTATESRESPONSE'].fields_by_name['consensus_states']._loaded_options = None - _globals['_QUERYCONSENSUSSTATESRESPONSE'].fields_by_name['consensus_states']._serialized_options = b'\310\336\037\000' - _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE'].fields_by_name['consensus_state_heights']._loaded_options = None - _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE'].fields_by_name['consensus_state_heights']._serialized_options = b'\310\336\037\000' - _globals['_QUERYVERIFYMEMBERSHIPREQUEST'].fields_by_name['proof_height']._loaded_options = None - _globals['_QUERYVERIFYMEMBERSHIPREQUEST'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _globals['_QUERYVERIFYMEMBERSHIPREQUEST'].fields_by_name['merkle_path']._loaded_options = None - _globals['_QUERYVERIFYMEMBERSHIPREQUEST'].fields_by_name['merkle_path']._serialized_options = b'\310\336\037\000' - _globals['_QUERY'].methods_by_name['ClientState']._loaded_options = None - _globals['_QUERY'].methods_by_name['ClientState']._serialized_options = b'\202\323\344\223\002/\022-/ibc/core/client/v1/client_states/{client_id}' - _globals['_QUERY'].methods_by_name['ClientStates']._loaded_options = None - _globals['_QUERY'].methods_by_name['ClientStates']._serialized_options = b'\202\323\344\223\002#\022!/ibc/core/client/v1/client_states' - _globals['_QUERY'].methods_by_name['ConsensusState']._loaded_options = None - _globals['_QUERY'].methods_by_name['ConsensusState']._serialized_options = b'\202\323\344\223\002f\022d/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}' - _globals['_QUERY'].methods_by_name['ConsensusStates']._loaded_options = None - _globals['_QUERY'].methods_by_name['ConsensusStates']._serialized_options = b'\202\323\344\223\0022\0220/ibc/core/client/v1/consensus_states/{client_id}' - _globals['_QUERY'].methods_by_name['ConsensusStateHeights']._loaded_options = None - _globals['_QUERY'].methods_by_name['ConsensusStateHeights']._serialized_options = b'\202\323\344\223\002:\0228/ibc/core/client/v1/consensus_states/{client_id}/heights' - _globals['_QUERY'].methods_by_name['ClientStatus']._loaded_options = None - _globals['_QUERY'].methods_by_name['ClientStatus']._serialized_options = b'\202\323\344\223\002/\022-/ibc/core/client/v1/client_status/{client_id}' - _globals['_QUERY'].methods_by_name['ClientParams']._loaded_options = None - _globals['_QUERY'].methods_by_name['ClientParams']._serialized_options = b'\202\323\344\223\002\034\022\032/ibc/core/client/v1/params' - _globals['_QUERY'].methods_by_name['UpgradedClientState']._loaded_options = None - _globals['_QUERY'].methods_by_name['UpgradedClientState']._serialized_options = b'\202\323\344\223\002,\022*/ibc/core/client/v1/upgraded_client_states' - _globals['_QUERY'].methods_by_name['UpgradedConsensusState']._loaded_options = None - _globals['_QUERY'].methods_by_name['UpgradedConsensusState']._serialized_options = b'\202\323\344\223\002/\022-/ibc/core/client/v1/upgraded_consensus_states' - _globals['_QUERY'].methods_by_name['VerifyMembership']._loaded_options = None - _globals['_QUERY'].methods_by_name['VerifyMembership']._serialized_options = b'\210\347\260*\001\202\323\344\223\002*\"%/ibc/core/client/v1/verify_membership:\001*' - _globals['_QUERYCLIENTSTATEREQUEST']._serialized_start=280 - _globals['_QUERYCLIENTSTATEREQUEST']._serialized_end=334 - _globals['_QUERYCLIENTSTATERESPONSE']._serialized_start=337 - _globals['_QUERYCLIENTSTATERESPONSE']._serialized_end=511 - _globals['_QUERYCLIENTSTATESREQUEST']._serialized_start=513 - _globals['_QUERYCLIENTSTATESREQUEST']._serialized_end=611 - _globals['_QUERYCLIENTSTATESRESPONSE']._serialized_start=614 - _globals['_QUERYCLIENTSTATESRESPONSE']._serialized_end=826 - _globals['_QUERYCONSENSUSSTATEREQUEST']._serialized_start=829 - _globals['_QUERYCONSENSUSSTATEREQUEST']._serialized_end=1005 - _globals['_QUERYCONSENSUSSTATERESPONSE']._serialized_start=1008 - _globals['_QUERYCONSENSUSSTATERESPONSE']._serialized_end=1191 - _globals['_QUERYCONSENSUSSTATESREQUEST']._serialized_start=1194 - _globals['_QUERYCONSENSUSSTATESREQUEST']._serialized_end=1324 - _globals['_QUERYCONSENSUSSTATESRESPONSE']._serialized_start=1327 - _globals['_QUERYCONSENSUSSTATESRESPONSE']._serialized_end=1525 - _globals['_QUERYCONSENSUSSTATEHEIGHTSREQUEST']._serialized_start=1528 - _globals['_QUERYCONSENSUSSTATEHEIGHTSREQUEST']._serialized_end=1664 - _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE']._serialized_start=1667 - _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE']._serialized_end=1866 - _globals['_QUERYCLIENTSTATUSREQUEST']._serialized_start=1868 - _globals['_QUERYCLIENTSTATUSREQUEST']._serialized_end=1923 - _globals['_QUERYCLIENTSTATUSRESPONSE']._serialized_start=1925 - _globals['_QUERYCLIENTSTATUSRESPONSE']._serialized_end=1976 - _globals['_QUERYCLIENTPARAMSREQUEST']._serialized_start=1978 - _globals['_QUERYCLIENTPARAMSREQUEST']._serialized_end=2004 - _globals['_QUERYCLIENTPARAMSRESPONSE']._serialized_start=2006 - _globals['_QUERYCLIENTPARAMSRESPONSE']._serialized_end=2085 - _globals['_QUERYUPGRADEDCLIENTSTATEREQUEST']._serialized_start=2087 - _globals['_QUERYUPGRADEDCLIENTSTATEREQUEST']._serialized_end=2120 - _globals['_QUERYUPGRADEDCLIENTSTATERESPONSE']._serialized_start=2122 - _globals['_QUERYUPGRADEDCLIENTSTATERESPONSE']._serialized_end=2230 - _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_start=2232 - _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_end=2268 - _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_start=2270 - _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_end=2387 - _globals['_QUERYVERIFYMEMBERSHIPREQUEST']._serialized_start=2390 - _globals['_QUERYVERIFYMEMBERSHIPREQUEST']._serialized_end=2701 - _globals['_QUERYVERIFYMEMBERSHIPRESPONSE']._serialized_start=2703 - _globals['_QUERYVERIFYMEMBERSHIPRESPONSE']._serialized_end=2760 - _globals['_QUERY']._serialized_start=2763 - _globals['_QUERY']._serialized_end=4557 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.ibc.core.client.v1B\nQueryProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1" + ) + _globals["_QUERYCLIENTSTATERESPONSE"].fields_by_name["proof_height"]._loaded_options = None + _globals["_QUERYCLIENTSTATERESPONSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYCLIENTSTATESRESPONSE"].fields_by_name["client_states"]._loaded_options = None + _globals["_QUERYCLIENTSTATESRESPONSE"].fields_by_name[ + "client_states" + ]._serialized_options = b"\310\336\037\000\252\337\037\026IdentifiedClientStates" + _globals["_QUERYCONSENSUSSTATERESPONSE"].fields_by_name["proof_height"]._loaded_options = None + _globals["_QUERYCONSENSUSSTATERESPONSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYCONSENSUSSTATESRESPONSE"].fields_by_name["consensus_states"]._loaded_options = None + _globals["_QUERYCONSENSUSSTATESRESPONSE"].fields_by_name[ + "consensus_states" + ]._serialized_options = b"\310\336\037\000" + _globals["_QUERYCONSENSUSSTATEHEIGHTSRESPONSE"].fields_by_name["consensus_state_heights"]._loaded_options = None + _globals["_QUERYCONSENSUSSTATEHEIGHTSRESPONSE"].fields_by_name[ + "consensus_state_heights" + ]._serialized_options = b"\310\336\037\000" + _globals["_QUERYVERIFYMEMBERSHIPREQUEST"].fields_by_name["proof_height"]._loaded_options = None + _globals["_QUERYVERIFYMEMBERSHIPREQUEST"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYVERIFYMEMBERSHIPREQUEST"].fields_by_name["merkle_path"]._loaded_options = None + _globals["_QUERYVERIFYMEMBERSHIPREQUEST"].fields_by_name["merkle_path"]._serialized_options = b"\310\336\037\000" + _globals["_QUERY"].methods_by_name["ClientState"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ClientState" + ]._serialized_options = b"\202\323\344\223\002/\022-/ibc/core/client/v1/client_states/{client_id}" + _globals["_QUERY"].methods_by_name["ClientStates"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ClientStates" + ]._serialized_options = b"\202\323\344\223\002#\022!/ibc/core/client/v1/client_states" + _globals["_QUERY"].methods_by_name["ConsensusState"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ConsensusState" + ]._serialized_options = b"\202\323\344\223\002f\022d/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}" + _globals["_QUERY"].methods_by_name["ConsensusStates"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ConsensusStates" + ]._serialized_options = b"\202\323\344\223\0022\0220/ibc/core/client/v1/consensus_states/{client_id}" + _globals["_QUERY"].methods_by_name["ConsensusStateHeights"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ConsensusStateHeights" + ]._serialized_options = b"\202\323\344\223\002:\0228/ibc/core/client/v1/consensus_states/{client_id}/heights" + _globals["_QUERY"].methods_by_name["ClientStatus"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ClientStatus" + ]._serialized_options = b"\202\323\344\223\002/\022-/ibc/core/client/v1/client_status/{client_id}" + _globals["_QUERY"].methods_by_name["ClientParams"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ClientParams" + ]._serialized_options = b"\202\323\344\223\002\034\022\032/ibc/core/client/v1/params" + _globals["_QUERY"].methods_by_name["UpgradedClientState"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "UpgradedClientState" + ]._serialized_options = b"\202\323\344\223\002,\022*/ibc/core/client/v1/upgraded_client_states" + _globals["_QUERY"].methods_by_name["UpgradedConsensusState"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "UpgradedConsensusState" + ]._serialized_options = b"\202\323\344\223\002/\022-/ibc/core/client/v1/upgraded_consensus_states" + _globals["_QUERY"].methods_by_name["VerifyMembership"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "VerifyMembership" + ]._serialized_options = b'\210\347\260*\001\202\323\344\223\002*"%/ibc/core/client/v1/verify_membership:\001*' + _globals["_QUERYCLIENTSTATEREQUEST"]._serialized_start = 280 + _globals["_QUERYCLIENTSTATEREQUEST"]._serialized_end = 334 + _globals["_QUERYCLIENTSTATERESPONSE"]._serialized_start = 337 + _globals["_QUERYCLIENTSTATERESPONSE"]._serialized_end = 511 + _globals["_QUERYCLIENTSTATESREQUEST"]._serialized_start = 513 + _globals["_QUERYCLIENTSTATESREQUEST"]._serialized_end = 611 + _globals["_QUERYCLIENTSTATESRESPONSE"]._serialized_start = 614 + _globals["_QUERYCLIENTSTATESRESPONSE"]._serialized_end = 826 + _globals["_QUERYCONSENSUSSTATEREQUEST"]._serialized_start = 829 + _globals["_QUERYCONSENSUSSTATEREQUEST"]._serialized_end = 1005 + _globals["_QUERYCONSENSUSSTATERESPONSE"]._serialized_start = 1008 + _globals["_QUERYCONSENSUSSTATERESPONSE"]._serialized_end = 1191 + _globals["_QUERYCONSENSUSSTATESREQUEST"]._serialized_start = 1194 + _globals["_QUERYCONSENSUSSTATESREQUEST"]._serialized_end = 1324 + _globals["_QUERYCONSENSUSSTATESRESPONSE"]._serialized_start = 1327 + _globals["_QUERYCONSENSUSSTATESRESPONSE"]._serialized_end = 1525 + _globals["_QUERYCONSENSUSSTATEHEIGHTSREQUEST"]._serialized_start = 1528 + _globals["_QUERYCONSENSUSSTATEHEIGHTSREQUEST"]._serialized_end = 1664 + _globals["_QUERYCONSENSUSSTATEHEIGHTSRESPONSE"]._serialized_start = 1667 + _globals["_QUERYCONSENSUSSTATEHEIGHTSRESPONSE"]._serialized_end = 1866 + _globals["_QUERYCLIENTSTATUSREQUEST"]._serialized_start = 1868 + _globals["_QUERYCLIENTSTATUSREQUEST"]._serialized_end = 1923 + _globals["_QUERYCLIENTSTATUSRESPONSE"]._serialized_start = 1925 + _globals["_QUERYCLIENTSTATUSRESPONSE"]._serialized_end = 1976 + _globals["_QUERYCLIENTPARAMSREQUEST"]._serialized_start = 1978 + _globals["_QUERYCLIENTPARAMSREQUEST"]._serialized_end = 2004 + _globals["_QUERYCLIENTPARAMSRESPONSE"]._serialized_start = 2006 + _globals["_QUERYCLIENTPARAMSRESPONSE"]._serialized_end = 2085 + _globals["_QUERYUPGRADEDCLIENTSTATEREQUEST"]._serialized_start = 2087 + _globals["_QUERYUPGRADEDCLIENTSTATEREQUEST"]._serialized_end = 2120 + _globals["_QUERYUPGRADEDCLIENTSTATERESPONSE"]._serialized_start = 2122 + _globals["_QUERYUPGRADEDCLIENTSTATERESPONSE"]._serialized_end = 2230 + _globals["_QUERYUPGRADEDCONSENSUSSTATEREQUEST"]._serialized_start = 2232 + _globals["_QUERYUPGRADEDCONSENSUSSTATEREQUEST"]._serialized_end = 2268 + _globals["_QUERYUPGRADEDCONSENSUSSTATERESPONSE"]._serialized_start = 2270 + _globals["_QUERYUPGRADEDCONSENSUSSTATERESPONSE"]._serialized_end = 2387 + _globals["_QUERYVERIFYMEMBERSHIPREQUEST"]._serialized_start = 2390 + _globals["_QUERYVERIFYMEMBERSHIPREQUEST"]._serialized_end = 2701 + _globals["_QUERYVERIFYMEMBERSHIPRESPONSE"]._serialized_start = 2703 + _globals["_QUERYVERIFYMEMBERSHIPRESPONSE"]._serialized_end = 2760 + _globals["_QUERY"]._serialized_start = 2763 + _globals["_QUERY"]._serialized_end = 4557 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/core/client/v1/query_pb2_grpc.py index 91c747aa..f4455300 100644 --- a/pyinjective/proto/ibc/core/client/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/client/v1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query provides defines the gRPC querier service - """ + """Query provides defines the gRPC querier service""" def __init__(self, channel): """Constructor. @@ -16,213 +15,214 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.ClientState = channel.unary_unary( - '/ibc.core.client.v1.Query/ClientState', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateResponse.FromString, - _registered_method=True) + "/ibc.core.client.v1.Query/ClientState", + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateResponse.FromString, + _registered_method=True, + ) self.ClientStates = channel.unary_unary( - '/ibc.core.client.v1.Query/ClientStates', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesResponse.FromString, - _registered_method=True) + "/ibc.core.client.v1.Query/ClientStates", + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesResponse.FromString, + _registered_method=True, + ) self.ConsensusState = channel.unary_unary( - '/ibc.core.client.v1.Query/ConsensusState', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateResponse.FromString, - _registered_method=True) + "/ibc.core.client.v1.Query/ConsensusState", + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateResponse.FromString, + _registered_method=True, + ) self.ConsensusStates = channel.unary_unary( - '/ibc.core.client.v1.Query/ConsensusStates', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesResponse.FromString, - _registered_method=True) + "/ibc.core.client.v1.Query/ConsensusStates", + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesResponse.FromString, + _registered_method=True, + ) self.ConsensusStateHeights = channel.unary_unary( - '/ibc.core.client.v1.Query/ConsensusStateHeights', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsResponse.FromString, - _registered_method=True) + "/ibc.core.client.v1.Query/ConsensusStateHeights", + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsResponse.FromString, + _registered_method=True, + ) self.ClientStatus = channel.unary_unary( - '/ibc.core.client.v1.Query/ClientStatus', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusResponse.FromString, - _registered_method=True) + "/ibc.core.client.v1.Query/ClientStatus", + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusResponse.FromString, + _registered_method=True, + ) self.ClientParams = channel.unary_unary( - '/ibc.core.client.v1.Query/ClientParams', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsResponse.FromString, - _registered_method=True) + "/ibc.core.client.v1.Query/ClientParams", + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsResponse.FromString, + _registered_method=True, + ) self.UpgradedClientState = channel.unary_unary( - '/ibc.core.client.v1.Query/UpgradedClientState', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateResponse.FromString, - _registered_method=True) + "/ibc.core.client.v1.Query/UpgradedClientState", + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateResponse.FromString, + _registered_method=True, + ) self.UpgradedConsensusState = channel.unary_unary( - '/ibc.core.client.v1.Query/UpgradedConsensusState', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, - _registered_method=True) + "/ibc.core.client.v1.Query/UpgradedConsensusState", + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, + _registered_method=True, + ) self.VerifyMembership = channel.unary_unary( - '/ibc.core.client.v1.Query/VerifyMembership', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipResponse.FromString, - _registered_method=True) + "/ibc.core.client.v1.Query/VerifyMembership", + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query provides defines the gRPC querier service - """ + """Query provides defines the gRPC querier service""" def ClientState(self, request, context): - """ClientState queries an IBC light client. - """ + """ClientState queries an IBC light client.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ClientStates(self, request, context): - """ClientStates queries all the IBC light clients of a chain. - """ + """ClientStates queries all the IBC light clients of a chain.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ConsensusState(self, request, context): """ConsensusState queries a consensus state associated with a client state at a given height. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ConsensusStates(self, request, context): """ConsensusStates queries all the consensus state associated with a given client. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ConsensusStateHeights(self, request, context): - """ConsensusStateHeights queries the height of every consensus states associated with a given client. - """ + """ConsensusStateHeights queries the height of every consensus states associated with a given client.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ClientStatus(self, request, context): - """Status queries the status of an IBC client. - """ + """Status queries the status of an IBC client.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ClientParams(self, request, context): - """ClientParams queries all parameters of the ibc client submodule. - """ + """ClientParams queries all parameters of the ibc client submodule.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpgradedClientState(self, request, context): - """UpgradedClientState queries an Upgraded IBC light client. - """ + """UpgradedClientState queries an Upgraded IBC light client.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpgradedConsensusState(self, request, context): - """UpgradedConsensusState queries an Upgraded IBC consensus state. - """ + """UpgradedConsensusState queries an Upgraded IBC consensus state.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def VerifyMembership(self, request, context): - """VerifyMembership queries an IBC light client for proof verification of a value at a given key path. - """ + """VerifyMembership queries an IBC light client for proof verification of a value at a given key path.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'ClientState': grpc.unary_unary_rpc_method_handler( - servicer.ClientState, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateResponse.SerializeToString, - ), - 'ClientStates': grpc.unary_unary_rpc_method_handler( - servicer.ClientStates, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesResponse.SerializeToString, - ), - 'ConsensusState': grpc.unary_unary_rpc_method_handler( - servicer.ConsensusState, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateResponse.SerializeToString, - ), - 'ConsensusStates': grpc.unary_unary_rpc_method_handler( - servicer.ConsensusStates, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesResponse.SerializeToString, - ), - 'ConsensusStateHeights': grpc.unary_unary_rpc_method_handler( - servicer.ConsensusStateHeights, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsResponse.SerializeToString, - ), - 'ClientStatus': grpc.unary_unary_rpc_method_handler( - servicer.ClientStatus, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusResponse.SerializeToString, - ), - 'ClientParams': grpc.unary_unary_rpc_method_handler( - servicer.ClientParams, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsResponse.SerializeToString, - ), - 'UpgradedClientState': grpc.unary_unary_rpc_method_handler( - servicer.UpgradedClientState, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateResponse.SerializeToString, - ), - 'UpgradedConsensusState': grpc.unary_unary_rpc_method_handler( - servicer.UpgradedConsensusState, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateResponse.SerializeToString, - ), - 'VerifyMembership': grpc.unary_unary_rpc_method_handler( - servicer.VerifyMembership, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipResponse.SerializeToString, - ), + "ClientState": grpc.unary_unary_rpc_method_handler( + servicer.ClientState, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateResponse.SerializeToString, + ), + "ClientStates": grpc.unary_unary_rpc_method_handler( + servicer.ClientStates, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesResponse.SerializeToString, + ), + "ConsensusState": grpc.unary_unary_rpc_method_handler( + servicer.ConsensusState, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateResponse.SerializeToString, + ), + "ConsensusStates": grpc.unary_unary_rpc_method_handler( + servicer.ConsensusStates, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesResponse.SerializeToString, + ), + "ConsensusStateHeights": grpc.unary_unary_rpc_method_handler( + servicer.ConsensusStateHeights, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsResponse.SerializeToString, + ), + "ClientStatus": grpc.unary_unary_rpc_method_handler( + servicer.ClientStatus, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusResponse.SerializeToString, + ), + "ClientParams": grpc.unary_unary_rpc_method_handler( + servicer.ClientParams, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsResponse.SerializeToString, + ), + "UpgradedClientState": grpc.unary_unary_rpc_method_handler( + servicer.UpgradedClientState, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateResponse.SerializeToString, + ), + "UpgradedConsensusState": grpc.unary_unary_rpc_method_handler( + servicer.UpgradedConsensusState, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateResponse.SerializeToString, + ), + "VerifyMembership": grpc.unary_unary_rpc_method_handler( + servicer.VerifyMembership, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.core.client.v1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("ibc.core.client.v1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.core.client.v1.Query', rpc_method_handlers) + server.add_registered_method_handlers("ibc.core.client.v1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query provides defines the gRPC querier service - """ + """Query provides defines the gRPC querier service""" @staticmethod - def ClientState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ClientState( + 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.Query/ClientState', + "/ibc.core.client.v1.Query/ClientState", ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateResponse.FromString, options, @@ -233,23 +233,26 @@ def ClientState(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ClientStates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ClientStates( + 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.Query/ClientStates', + "/ibc.core.client.v1.Query/ClientStates", ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesResponse.FromString, options, @@ -260,23 +263,26 @@ def ClientStates(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ConsensusState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ConsensusState( + 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.Query/ConsensusState', + "/ibc.core.client.v1.Query/ConsensusState", ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateResponse.FromString, options, @@ -287,23 +293,26 @@ def ConsensusState(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ConsensusStates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ConsensusStates( + 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.Query/ConsensusStates', + "/ibc.core.client.v1.Query/ConsensusStates", ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesResponse.FromString, options, @@ -314,23 +323,26 @@ def ConsensusStates(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ConsensusStateHeights(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ConsensusStateHeights( + 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.Query/ConsensusStateHeights', + "/ibc.core.client.v1.Query/ConsensusStateHeights", ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsResponse.FromString, options, @@ -341,23 +353,26 @@ def ConsensusStateHeights(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ClientStatus(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ClientStatus( + 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.Query/ClientStatus', + "/ibc.core.client.v1.Query/ClientStatus", ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusResponse.FromString, options, @@ -368,23 +383,26 @@ def ClientStatus(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ClientParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ClientParams( + 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.Query/ClientParams', + "/ibc.core.client.v1.Query/ClientParams", ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsResponse.FromString, options, @@ -395,23 +413,26 @@ def ClientParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpgradedClientState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpgradedClientState( + 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.Query/UpgradedClientState', + "/ibc.core.client.v1.Query/UpgradedClientState", ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateResponse.FromString, options, @@ -422,23 +443,26 @@ def UpgradedClientState(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpgradedConsensusState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpgradedConsensusState( + 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.Query/UpgradedConsensusState', + "/ibc.core.client.v1.Query/UpgradedConsensusState", ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, options, @@ -449,23 +473,26 @@ def UpgradedConsensusState(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def VerifyMembership(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def VerifyMembership( + 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.Query/VerifyMembership', + "/ibc.core.client.v1.Query/VerifyMembership", ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipResponse.FromString, options, @@ -476,4 +503,5 @@ def VerifyMembership(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py index cfd73150..11b2ea5b 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,62 +20,66 @@ from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bibc/core/client/v1/tx.proto\x12\x12ibc.core.client.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1fibc/core/client/v1/client.proto\"\xb2\x01\n\x0fMsgCreateClient\x12\x37\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12=\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgCreateClientResponse\"\x94\x01\n\x0fMsgUpdateClient\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12;\n\x0e\x63lient_message\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\rclientMessage\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateClientResponse\"\xc5\x02\n\x10MsgUpgradeClient\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x37\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12=\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x30\n\x14proof_upgrade_client\x18\x04 \x01(\x0cR\x12proofUpgradeClient\x12\x41\n\x1dproof_upgrade_consensus_state\x18\x05 \x01(\x0cR\x1aproofUpgradeConsensusState\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1a\n\x18MsgUpgradeClientResponse\"\x99\x01\n\x15MsgSubmitMisbehaviour\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x38\n\x0cmisbehaviour\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cmisbehaviour\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x11\x18\x01\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgSubmitMisbehaviourResponse\"\x99\x01\n\x10MsgRecoverClient\x12*\n\x11subject_client_id\x18\x01 \x01(\tR\x0fsubjectClientId\x12\x30\n\x14substitute_client_id\x18\x02 \x01(\tR\x12substituteClientId\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1a\n\x18MsgRecoverClientResponse\"\xbe\x01\n\x15MsgIBCSoftwareUpgrade\x12\x36\n\x04plan\x18\x01 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00R\x04plan\x12H\n\x15upgraded_client_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x13upgradedClientState\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0b\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgIBCSoftwareUpgradeResponse\"t\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\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\xc6\x01\n\x16\x63om.ibc.core.client.v1B\x07TxProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\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"\xb2\x01\n\x0fMsgCreateClient\x12\x37\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12=\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x19\n\x17MsgCreateClientResponse"\x94\x01\n\x0fMsgUpdateClient\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12;\n\x0e\x63lient_message\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\rclientMessage\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x19\n\x17MsgUpdateClientResponse"\xc5\x02\n\x10MsgUpgradeClient\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x37\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12=\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x30\n\x14proof_upgrade_client\x18\x04 \x01(\x0cR\x12proofUpgradeClient\x12\x41\n\x1dproof_upgrade_consensus_state\x18\x05 \x01(\x0cR\x1aproofUpgradeConsensusState\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x1a\n\x18MsgUpgradeClientResponse"\x99\x01\n\x15MsgSubmitMisbehaviour\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x38\n\x0cmisbehaviour\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cmisbehaviour\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x11\x18\x01\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x1f\n\x1dMsgSubmitMisbehaviourResponse"\x99\x01\n\x10MsgRecoverClient\x12*\n\x11subject_client_id\x18\x01 \x01(\tR\x0fsubjectClientId\x12\x30\n\x14substitute_client_id\x18\x02 \x01(\tR\x12substituteClientId\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x1a\n\x18MsgRecoverClientResponse"\xbe\x01\n\x15MsgIBCSoftwareUpgrade\x12\x36\n\x04plan\x18\x01 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00R\x04plan\x12H\n\x15upgraded_client_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x13upgradedClientState\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0b\x82\xe7\xb0*\x06signer"\x1f\n\x1dMsgIBCSoftwareUpgradeResponse"t\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\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\xc6\x01\n\x16\x63om.ibc.core.client.v1B\x07TxProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.client.v1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ibc.core.client.v1B\007TxProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1' - _globals['_MSGCREATECLIENT']._loaded_options = None - _globals['_MSGCREATECLIENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGUPDATECLIENT']._loaded_options = None - _globals['_MSGUPDATECLIENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGUPGRADECLIENT']._loaded_options = None - _globals['_MSGUPGRADECLIENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGSUBMITMISBEHAVIOUR']._loaded_options = None - _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_options = b'\030\001\210\240\037\000\202\347\260*\006signer' - _globals['_MSGRECOVERCLIENT']._loaded_options = None - _globals['_MSGRECOVERCLIENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSGIBCSOFTWAREUPGRADE'].fields_by_name['plan']._loaded_options = None - _globals['_MSGIBCSOFTWAREUPGRADE'].fields_by_name['plan']._serialized_options = b'\310\336\037\000' - _globals['_MSGIBCSOFTWAREUPGRADE']._loaded_options = None - _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_options = b'\202\347\260*\006signer' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGCREATECLIENT']._serialized_start=197 - _globals['_MSGCREATECLIENT']._serialized_end=375 - _globals['_MSGCREATECLIENTRESPONSE']._serialized_start=377 - _globals['_MSGCREATECLIENTRESPONSE']._serialized_end=402 - _globals['_MSGUPDATECLIENT']._serialized_start=405 - _globals['_MSGUPDATECLIENT']._serialized_end=553 - _globals['_MSGUPDATECLIENTRESPONSE']._serialized_start=555 - _globals['_MSGUPDATECLIENTRESPONSE']._serialized_end=580 - _globals['_MSGUPGRADECLIENT']._serialized_start=583 - _globals['_MSGUPGRADECLIENT']._serialized_end=908 - _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_start=910 - _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_end=936 - _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_start=939 - _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_end=1092 - _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_start=1094 - _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_end=1125 - _globals['_MSGRECOVERCLIENT']._serialized_start=1128 - _globals['_MSGRECOVERCLIENT']._serialized_end=1281 - _globals['_MSGRECOVERCLIENTRESPONSE']._serialized_start=1283 - _globals['_MSGRECOVERCLIENTRESPONSE']._serialized_end=1309 - _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_start=1312 - _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_end=1502 - _globals['_MSGIBCSOFTWAREUPGRADERESPONSE']._serialized_start=1504 - _globals['_MSGIBCSOFTWAREUPGRADERESPONSE']._serialized_end=1535 - _globals['_MSGUPDATEPARAMS']._serialized_start=1537 - _globals['_MSGUPDATEPARAMS']._serialized_end=1653 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1655 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1680 - _globals['_MSG']._serialized_start=1683 - _globals['_MSG']._serialized_end=2429 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.ibc.core.client.v1B\007TxProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1" + ) + _globals["_MSGCREATECLIENT"]._loaded_options = None + _globals["_MSGCREATECLIENT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGUPDATECLIENT"]._loaded_options = None + _globals["_MSGUPDATECLIENT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGUPGRADECLIENT"]._loaded_options = None + _globals["_MSGUPGRADECLIENT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGSUBMITMISBEHAVIOUR"]._loaded_options = None + _globals["_MSGSUBMITMISBEHAVIOUR"]._serialized_options = b"\030\001\210\240\037\000\202\347\260*\006signer" + _globals["_MSGRECOVERCLIENT"]._loaded_options = None + _globals["_MSGRECOVERCLIENT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSGIBCSOFTWAREUPGRADE"].fields_by_name["plan"]._loaded_options = None + _globals["_MSGIBCSOFTWAREUPGRADE"].fields_by_name["plan"]._serialized_options = b"\310\336\037\000" + _globals["_MSGIBCSOFTWAREUPGRADE"]._loaded_options = None + _globals["_MSGIBCSOFTWAREUPGRADE"]._serialized_options = b"\202\347\260*\006signer" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGCREATECLIENT"]._serialized_start = 197 + _globals["_MSGCREATECLIENT"]._serialized_end = 375 + _globals["_MSGCREATECLIENTRESPONSE"]._serialized_start = 377 + _globals["_MSGCREATECLIENTRESPONSE"]._serialized_end = 402 + _globals["_MSGUPDATECLIENT"]._serialized_start = 405 + _globals["_MSGUPDATECLIENT"]._serialized_end = 553 + _globals["_MSGUPDATECLIENTRESPONSE"]._serialized_start = 555 + _globals["_MSGUPDATECLIENTRESPONSE"]._serialized_end = 580 + _globals["_MSGUPGRADECLIENT"]._serialized_start = 583 + _globals["_MSGUPGRADECLIENT"]._serialized_end = 908 + _globals["_MSGUPGRADECLIENTRESPONSE"]._serialized_start = 910 + _globals["_MSGUPGRADECLIENTRESPONSE"]._serialized_end = 936 + _globals["_MSGSUBMITMISBEHAVIOUR"]._serialized_start = 939 + _globals["_MSGSUBMITMISBEHAVIOUR"]._serialized_end = 1092 + _globals["_MSGSUBMITMISBEHAVIOURRESPONSE"]._serialized_start = 1094 + _globals["_MSGSUBMITMISBEHAVIOURRESPONSE"]._serialized_end = 1125 + _globals["_MSGRECOVERCLIENT"]._serialized_start = 1128 + _globals["_MSGRECOVERCLIENT"]._serialized_end = 1281 + _globals["_MSGRECOVERCLIENTRESPONSE"]._serialized_start = 1283 + _globals["_MSGRECOVERCLIENTRESPONSE"]._serialized_end = 1309 + _globals["_MSGIBCSOFTWAREUPGRADE"]._serialized_start = 1312 + _globals["_MSGIBCSOFTWAREUPGRADE"]._serialized_end = 1502 + _globals["_MSGIBCSOFTWAREUPGRADERESPONSE"]._serialized_start = 1504 + _globals["_MSGIBCSOFTWAREUPGRADERESPONSE"]._serialized_end = 1535 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 1537 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 1653 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1655 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1680 + _globals["_MSG"]._serialized_start = 1683 + _globals["_MSG"]._serialized_end = 2429 # @@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 9c44899a..26edcd1d 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the ibc/client Msg service. - """ + """Msg defines the ibc/client Msg service.""" def __init__(self, channel): """Constructor. @@ -16,160 +15,159 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.CreateClient = channel.unary_unary( - '/ibc.core.client.v1.Msg/CreateClient', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClient.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClientResponse.FromString, - _registered_method=True) + "/ibc.core.client.v1.Msg/CreateClient", + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClient.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClientResponse.FromString, + _registered_method=True, + ) self.UpdateClient = channel.unary_unary( - '/ibc.core.client.v1.Msg/UpdateClient', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClient.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientResponse.FromString, - _registered_method=True) + "/ibc.core.client.v1.Msg/UpdateClient", + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClient.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientResponse.FromString, + _registered_method=True, + ) self.UpgradeClient = channel.unary_unary( - '/ibc.core.client.v1.Msg/UpgradeClient', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClient.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClientResponse.FromString, - _registered_method=True) + "/ibc.core.client.v1.Msg/UpgradeClient", + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClient.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClientResponse.FromString, + _registered_method=True, + ) self.SubmitMisbehaviour = channel.unary_unary( - '/ibc.core.client.v1.Msg/SubmitMisbehaviour', - 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, - _registered_method=True) + "/ibc.core.client.v1.Msg/SubmitMisbehaviour", + 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, + _registered_method=True, + ) 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, - _registered_method=True) + "/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, + _registered_method=True, + ) 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, - _registered_method=True) + "/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, + _registered_method=True, + ) self.UpdateClientParams = channel.unary_unary( - '/ibc.core.client.v1.Msg/UpdateClientParams', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/ibc.core.client.v1.Msg/UpdateClientParams", + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the ibc/client Msg service. - """ + """Msg defines the ibc/client Msg service.""" def CreateClient(self, request, context): - """CreateClient defines a rpc handler method for MsgCreateClient. - """ + """CreateClient defines a rpc handler method for MsgCreateClient.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateClient(self, request, context): - """UpdateClient defines a rpc handler method for MsgUpdateClient. - """ + """UpdateClient defines a rpc handler method for MsgUpdateClient.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpgradeClient(self, request, context): - """UpgradeClient defines a rpc handler method for MsgUpgradeClient. - """ + """UpgradeClient defines a rpc handler method for MsgUpgradeClient.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SubmitMisbehaviour(self, request, context): - """SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. - """ + """SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RecoverClient(self, request, context): - """RecoverClient defines a rpc handler method for MsgRecoverClient. - """ + """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!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def IBCSoftwareUpgrade(self, request, context): - """IBCSoftwareUpgrade defines a rpc handler method for MsgIBCSoftwareUpgrade. - """ + """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!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateClientParams(self, request, context): - """UpdateClientParams defines a rpc handler method for MsgUpdateParams. - """ + """UpdateClientParams defines a rpc handler method for MsgUpdateParams.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'CreateClient': grpc.unary_unary_rpc_method_handler( - servicer.CreateClient, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClient.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClientResponse.SerializeToString, - ), - 'UpdateClient': grpc.unary_unary_rpc_method_handler( - servicer.UpdateClient, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClient.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientResponse.SerializeToString, - ), - 'UpgradeClient': grpc.unary_unary_rpc_method_handler( - servicer.UpgradeClient, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClient.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClientResponse.SerializeToString, - ), - 'SubmitMisbehaviour': grpc.unary_unary_rpc_method_handler( - servicer.SubmitMisbehaviour, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviour.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.SerializeToString, - ), - 'RecoverClient': grpc.unary_unary_rpc_method_handler( - servicer.RecoverClient, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClient.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClientResponse.SerializeToString, - ), - 'IBCSoftwareUpgrade': grpc.unary_unary_rpc_method_handler( - servicer.IBCSoftwareUpgrade, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgrade.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgradeResponse.SerializeToString, - ), - 'UpdateClientParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateClientParams, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + "CreateClient": grpc.unary_unary_rpc_method_handler( + servicer.CreateClient, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClient.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClientResponse.SerializeToString, + ), + "UpdateClient": grpc.unary_unary_rpc_method_handler( + servicer.UpdateClient, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClient.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientResponse.SerializeToString, + ), + "UpgradeClient": grpc.unary_unary_rpc_method_handler( + servicer.UpgradeClient, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClient.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClientResponse.SerializeToString, + ), + "SubmitMisbehaviour": grpc.unary_unary_rpc_method_handler( + servicer.SubmitMisbehaviour, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviour.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.SerializeToString, + ), + "RecoverClient": grpc.unary_unary_rpc_method_handler( + servicer.RecoverClient, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClient.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClientResponse.SerializeToString, + ), + "IBCSoftwareUpgrade": grpc.unary_unary_rpc_method_handler( + servicer.IBCSoftwareUpgrade, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgrade.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgradeResponse.SerializeToString, + ), + "UpdateClientParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateClientParams, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.core.client.v1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("ibc.core.client.v1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('ibc.core.client.v1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("ibc.core.client.v1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the ibc/client Msg service. - """ + """Msg defines the ibc/client Msg service.""" @staticmethod - def CreateClient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreateClient( + 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/CreateClient', + "/ibc.core.client.v1.Msg/CreateClient", ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClient.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClientResponse.FromString, options, @@ -180,23 +178,26 @@ def CreateClient(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateClient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateClient( + 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/UpdateClient', + "/ibc.core.client.v1.Msg/UpdateClient", ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClient.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientResponse.FromString, options, @@ -207,23 +208,26 @@ def UpdateClient(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpgradeClient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpgradeClient( + 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/UpgradeClient', + "/ibc.core.client.v1.Msg/UpgradeClient", ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClient.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClientResponse.FromString, options, @@ -234,23 +238,26 @@ def UpgradeClient(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SubmitMisbehaviour(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SubmitMisbehaviour( + 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/SubmitMisbehaviour', + "/ibc.core.client.v1.Msg/SubmitMisbehaviour", ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviour.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.FromString, options, @@ -261,23 +268,26 @@ def SubmitMisbehaviour(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RecoverClient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + 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.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, @@ -288,23 +298,26 @@ def RecoverClient(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def IBCSoftwareUpgrade(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + 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.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, @@ -315,23 +328,26 @@ def IBCSoftwareUpgrade(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateClientParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateClientParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/ibc.core.client.v1.Msg/UpdateClientParams', + "/ibc.core.client.v1.Msg/UpdateClientParams", ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -342,4 +358,5 @@ def UpdateClientParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py index 2d0e0d50..084cf01c 100644 --- a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py +++ b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,22 +17,26 @@ from pyinjective.proto.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\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash:\x04\x88\xa0\x1f\x00\"-\n\x0cMerklePrefix\x12\x1d\n\nkey_prefix\x18\x01 \x01(\x0cR\tkeyPrefix\"\'\n\nMerklePath\x12\x19\n\x08key_path\x18\x01 \x03(\tR\x07keyPath\"G\n\x0bMerkleProof\x12\x38\n\x06proofs\x18\x01 \x03(\x0b\x32 .cosmos.ics23.v1.CommitmentProofR\x06proofsB\xe6\x01\n\x1a\x63om.ibc.core.commitment.v1B\x0f\x43ommitmentProtoP\x01Z\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/connection/v1/client_connections/{client_id}\x12\xd8\x01\n\x15\x43onnectionClientState\x12\x39.ibc.core.connection.v1.QueryConnectionClientStateRequest\x1a:.ibc.core.connection.v1.QueryConnectionClientStateResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/ibc/core/connection/v1/connections/{connection_id}/client_state\x12\x98\x02\n\x18\x43onnectionConsensusState\x12<.ibc.core.connection.v1.QueryConnectionConsensusStateRequest\x1a=.ibc.core.connection.v1.QueryConnectionConsensusStateResponse\"\x7f\x82\xd3\xe4\x93\x02y\x12w/ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xa7\x01\n\x10\x43onnectionParams\x12\x34.ibc.core.connection.v1.QueryConnectionParamsRequest\x1a\x35.ibc.core.connection.v1.QueryConnectionParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/ibc/core/connection/v1/paramsB\xe1\x01\n\x1a\x63om.ibc.core.connection.v1B\nQueryProtoP\x01Z\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/connection/v1/client_connections/{client_id}\x12\xd8\x01\n\x15\x43onnectionClientState\x12\x39.ibc.core.connection.v1.QueryConnectionClientStateRequest\x1a:.ibc.core.connection.v1.QueryConnectionClientStateResponse"H\x82\xd3\xe4\x93\x02\x42\x12@/ibc/core/connection/v1/connections/{connection_id}/client_state\x12\x98\x02\n\x18\x43onnectionConsensusState\x12<.ibc.core.connection.v1.QueryConnectionConsensusStateRequest\x1a=.ibc.core.connection.v1.QueryConnectionConsensusStateResponse"\x7f\x82\xd3\xe4\x93\x02y\x12w/ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xa7\x01\n\x10\x43onnectionParams\x12\x34.ibc.core.connection.v1.QueryConnectionParamsRequest\x1a\x35.ibc.core.connection.v1.QueryConnectionParamsResponse"&\x82\xd3\xe4\x93\x02 \x12\x1e/ibc/core/connection/v1/paramsB\xe1\x01\n\x1a\x63om.ibc.core.connection.v1B\nQueryProtoP\x01Z\n DATA_TYPE_PACKET_RECEIPT_ABSENCE\x10\x07\x1a\x18\x8a\x9d \x14PACKETRECEIPTABSENCE\x12\x36\n\x1c\x44\x41TA_TYPE_NEXT_SEQUENCE_RECV\x10\x08\x1a\x14\x8a\x9d \x10NEXTSEQUENCERECV\x12 \n\x10\x44\x41TA_TYPE_HEADER\x10\t\x1a\n\x8a\x9d \x06HEADER\x1a\x04\x88\xa3\x1e\x00\x42\x98\x02\n#com.ibc.lightclients.solomachine.v2B\x10SolomachineProtoP\x01Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7\xa2\x02\x03ILS\xaa\x02\x1fIbc.Lightclients.Solomachine.V2\xca\x02\x1fIbc\\Lightclients\\Solomachine\\V2\xe2\x02+Ibc\\Lightclients\\Solomachine\\V2\\GPBMetadata\xea\x02\"Ibc::Lightclients::Solomachine::V2b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n1ibc/lightclients/solomachine/v2/solomachine.proto\x12\x1fibc.lightclients.solomachine.v2\x1a\'ibc/core/connection/v1/connection.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto"\xe5\x01\n\x0b\x43lientState\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1b\n\tis_frozen\x18\x02 \x01(\x08R\x08isFrozen\x12X\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v2.ConsensusStateR\x0e\x63onsensusState\x12=\n\x1b\x61llow_update_after_proposal\x18\x04 \x01(\x08R\x18\x61llowUpdateAfterProposal:\x04\x88\xa0\x1f\x00"\x8b\x01\n\x0e\x43onsensusState\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12 \n\x0b\x64iversifier\x18\x02 \x01(\tR\x0b\x64iversifier\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00"\xcb\x01\n\x06Header\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x1c\n\tsignature\x18\x03 \x01(\x0cR\tsignature\x12:\n\x0enew_public_key\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cnewPublicKey\x12\'\n\x0fnew_diversifier\x18\x05 \x01(\tR\x0enewDiversifier:\x04\x88\xa0\x1f\x00"\xfd\x01\n\x0cMisbehaviour\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x1a\n\x08sequence\x18\x02 \x01(\x04R\x08sequence\x12V\n\rsignature_one\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v2.SignatureAndDataR\x0csignatureOne\x12V\n\rsignature_two\x18\x04 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v2.SignatureAndDataR\x0csignatureTwo:\x04\x88\xa0\x1f\x00"\xb0\x01\n\x10SignatureAndData\x12\x1c\n\tsignature\x18\x01 \x01(\x0cR\tsignature\x12\x46\n\tdata_type\x18\x02 \x01(\x0e\x32).ibc.lightclients.solomachine.v2.DataTypeR\x08\x64\x61taType\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\x12\x1c\n\ttimestamp\x18\x04 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00"e\n\x18TimestampedSignatureData\x12%\n\x0esignature_data\x18\x01 \x01(\x0cR\rsignatureData\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00"\xc9\x01\n\tSignBytes\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12 \n\x0b\x64iversifier\x18\x03 \x01(\tR\x0b\x64iversifier\x12\x46\n\tdata_type\x18\x04 \x01(\x0e\x32).ibc.lightclients.solomachine.v2.DataTypeR\x08\x64\x61taType\x12\x12\n\x04\x64\x61ta\x18\x05 \x01(\x0cR\x04\x64\x61ta:\x04\x88\xa0\x1f\x00"q\n\nHeaderData\x12\x34\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tnewPubKey\x12\'\n\x0fnew_diversifier\x18\x02 \x01(\tR\x0enewDiversifier:\x04\x88\xa0\x1f\x00"d\n\x0f\x43lientStateData\x12\x12\n\x04path\x18\x01 \x01(\x0cR\x04path\x12\x37\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState:\x04\x88\xa0\x1f\x00"m\n\x12\x43onsensusStateData\x12\x12\n\x04path\x18\x01 \x01(\x0cR\x04path\x12=\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState:\x04\x88\xa0\x1f\x00"v\n\x13\x43onnectionStateData\x12\x12\n\x04path\x18\x01 \x01(\x0cR\x04path\x12\x45\n\nconnection\x18\x02 \x01(\x0b\x32%.ibc.core.connection.v1.ConnectionEndR\nconnection:\x04\x88\xa0\x1f\x00"d\n\x10\x43hannelStateData\x12\x12\n\x04path\x18\x01 \x01(\x0cR\x04path\x12\x36\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelR\x07\x63hannel:\x04\x88\xa0\x1f\x00"J\n\x14PacketCommitmentData\x12\x12\n\x04path\x18\x01 \x01(\x0cR\x04path\x12\x1e\n\ncommitment\x18\x02 \x01(\x0cR\ncommitment"Y\n\x19PacketAcknowledgementData\x12\x12\n\x04path\x18\x01 \x01(\x0cR\x04path\x12(\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0cR\x0f\x61\x63knowledgement".\n\x18PacketReceiptAbsenceData\x12\x12\n\x04path\x18\x01 \x01(\x0cR\x04path"N\n\x14NextSequenceRecvData\x12\x12\n\x04path\x18\x01 \x01(\x0cR\x04path\x12"\n\rnext_seq_recv\x18\x02 \x01(\x04R\x0bnextSeqRecv*\x8c\x04\n\x08\x44\x61taType\x12\x38\n#DATA_TYPE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12&\n\x16\x44\x41TA_TYPE_CLIENT_STATE\x10\x01\x1a\n\x8a\x9d \x06\x43LIENT\x12,\n\x19\x44\x41TA_TYPE_CONSENSUS_STATE\x10\x02\x1a\r\x8a\x9d \tCONSENSUS\x12.\n\x1a\x44\x41TA_TYPE_CONNECTION_STATE\x10\x03\x1a\x0e\x8a\x9d \nCONNECTION\x12(\n\x17\x44\x41TA_TYPE_CHANNEL_STATE\x10\x04\x1a\x0b\x8a\x9d \x07\x43HANNEL\x12\x35\n\x1b\x44\x41TA_TYPE_PACKET_COMMITMENT\x10\x05\x1a\x14\x8a\x9d \x10PACKETCOMMITMENT\x12?\n DATA_TYPE_PACKET_ACKNOWLEDGEMENT\x10\x06\x1a\x19\x8a\x9d \x15PACKETACKNOWLEDGEMENT\x12>\n DATA_TYPE_PACKET_RECEIPT_ABSENCE\x10\x07\x1a\x18\x8a\x9d \x14PACKETRECEIPTABSENCE\x12\x36\n\x1c\x44\x41TA_TYPE_NEXT_SEQUENCE_RECV\x10\x08\x1a\x14\x8a\x9d \x10NEXTSEQUENCERECV\x12 \n\x10\x44\x41TA_TYPE_HEADER\x10\t\x1a\n\x8a\x9d \x06HEADER\x1a\x04\x88\xa3\x1e\x00\x42\x98\x02\n#com.ibc.lightclients.solomachine.v2B\x10SolomachineProtoP\x01Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7\xa2\x02\x03ILS\xaa\x02\x1fIbc.Lightclients.Solomachine.V2\xca\x02\x1fIbc\\Lightclients\\Solomachine\\V2\xe2\x02+Ibc\\Lightclients\\Solomachine\\V2\\GPBMetadata\xea\x02"Ibc::Lightclients::Solomachine::V2b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.solomachine.v2.solomachine_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.lightclients.solomachine.v2.solomachine_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n#com.ibc.lightclients.solomachine.v2B\020SolomachineProtoP\001Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7\242\002\003ILS\252\002\037Ibc.Lightclients.Solomachine.V2\312\002\037Ibc\\Lightclients\\Solomachine\\V2\342\002+Ibc\\Lightclients\\Solomachine\\V2\\GPBMetadata\352\002\"Ibc::Lightclients::Solomachine::V2' - _globals['_DATATYPE']._loaded_options = None - _globals['_DATATYPE']._serialized_options = b'\210\243\036\000' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_UNINITIALIZED_UNSPECIFIED"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_UNINITIALIZED_UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_CLIENT_STATE"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_CLIENT_STATE"]._serialized_options = b'\212\235 \006CLIENT' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_CONSENSUS_STATE"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_CONSENSUS_STATE"]._serialized_options = b'\212\235 \tCONSENSUS' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_CONNECTION_STATE"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_CONNECTION_STATE"]._serialized_options = b'\212\235 \nCONNECTION' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_CHANNEL_STATE"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_CHANNEL_STATE"]._serialized_options = b'\212\235 \007CHANNEL' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_COMMITMENT"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_COMMITMENT"]._serialized_options = b'\212\235 \020PACKETCOMMITMENT' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_ACKNOWLEDGEMENT"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_ACKNOWLEDGEMENT"]._serialized_options = b'\212\235 \025PACKETACKNOWLEDGEMENT' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_RECEIPT_ABSENCE"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_RECEIPT_ABSENCE"]._serialized_options = b'\212\235 \024PACKETRECEIPTABSENCE' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_NEXT_SEQUENCE_RECV"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_NEXT_SEQUENCE_RECV"]._serialized_options = b'\212\235 \020NEXTSEQUENCERECV' - _globals['_DATATYPE'].values_by_name["DATA_TYPE_HEADER"]._loaded_options = None - _globals['_DATATYPE'].values_by_name["DATA_TYPE_HEADER"]._serialized_options = b'\212\235 \006HEADER' - _globals['_CLIENTSTATE']._loaded_options = None - _globals['_CLIENTSTATE']._serialized_options = b'\210\240\037\000' - _globals['_CONSENSUSSTATE']._loaded_options = None - _globals['_CONSENSUSSTATE']._serialized_options = b'\210\240\037\000' - _globals['_HEADER']._loaded_options = None - _globals['_HEADER']._serialized_options = b'\210\240\037\000' - _globals['_MISBEHAVIOUR']._loaded_options = None - _globals['_MISBEHAVIOUR']._serialized_options = b'\210\240\037\000' - _globals['_SIGNATUREANDDATA']._loaded_options = None - _globals['_SIGNATUREANDDATA']._serialized_options = b'\210\240\037\000' - _globals['_TIMESTAMPEDSIGNATUREDATA']._loaded_options = None - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_options = b'\210\240\037\000' - _globals['_SIGNBYTES']._loaded_options = None - _globals['_SIGNBYTES']._serialized_options = b'\210\240\037\000' - _globals['_HEADERDATA']._loaded_options = None - _globals['_HEADERDATA']._serialized_options = b'\210\240\037\000' - _globals['_CLIENTSTATEDATA']._loaded_options = None - _globals['_CLIENTSTATEDATA']._serialized_options = b'\210\240\037\000' - _globals['_CONSENSUSSTATEDATA']._loaded_options = None - _globals['_CONSENSUSSTATEDATA']._serialized_options = b'\210\240\037\000' - _globals['_CONNECTIONSTATEDATA']._loaded_options = None - _globals['_CONNECTIONSTATEDATA']._serialized_options = b'\210\240\037\000' - _globals['_CHANNELSTATEDATA']._loaded_options = None - _globals['_CHANNELSTATEDATA']._serialized_options = b'\210\240\037\000' - _globals['_DATATYPE']._serialized_start=2379 - _globals['_DATATYPE']._serialized_end=2903 - _globals['_CLIENTSTATE']._serialized_start=212 - _globals['_CLIENTSTATE']._serialized_end=441 - _globals['_CONSENSUSSTATE']._serialized_start=444 - _globals['_CONSENSUSSTATE']._serialized_end=583 - _globals['_HEADER']._serialized_start=586 - _globals['_HEADER']._serialized_end=789 - _globals['_MISBEHAVIOUR']._serialized_start=792 - _globals['_MISBEHAVIOUR']._serialized_end=1045 - _globals['_SIGNATUREANDDATA']._serialized_start=1048 - _globals['_SIGNATUREANDDATA']._serialized_end=1224 - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=1226 - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=1327 - _globals['_SIGNBYTES']._serialized_start=1330 - _globals['_SIGNBYTES']._serialized_end=1531 - _globals['_HEADERDATA']._serialized_start=1533 - _globals['_HEADERDATA']._serialized_end=1646 - _globals['_CLIENTSTATEDATA']._serialized_start=1648 - _globals['_CLIENTSTATEDATA']._serialized_end=1748 - _globals['_CONSENSUSSTATEDATA']._serialized_start=1750 - _globals['_CONSENSUSSTATEDATA']._serialized_end=1859 - _globals['_CONNECTIONSTATEDATA']._serialized_start=1861 - _globals['_CONNECTIONSTATEDATA']._serialized_end=1979 - _globals['_CHANNELSTATEDATA']._serialized_start=1981 - _globals['_CHANNELSTATEDATA']._serialized_end=2081 - _globals['_PACKETCOMMITMENTDATA']._serialized_start=2083 - _globals['_PACKETCOMMITMENTDATA']._serialized_end=2157 - _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_start=2159 - _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_end=2248 - _globals['_PACKETRECEIPTABSENCEDATA']._serialized_start=2250 - _globals['_PACKETRECEIPTABSENCEDATA']._serialized_end=2296 - _globals['_NEXTSEQUENCERECVDATA']._serialized_start=2298 - _globals['_NEXTSEQUENCERECVDATA']._serialized_end=2376 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n#com.ibc.lightclients.solomachine.v2B\020SolomachineProtoP\001Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7\242\002\003ILS\252\002\037Ibc.Lightclients.Solomachine.V2\312\002\037Ibc\\Lightclients\\Solomachine\\V2\342\002+Ibc\\Lightclients\\Solomachine\\V2\\GPBMetadata\352\002"Ibc::Lightclients::Solomachine::V2' + ) + _globals["_DATATYPE"]._loaded_options = None + _globals["_DATATYPE"]._serialized_options = b"\210\243\036\000" + _globals["_DATATYPE"].values_by_name["DATA_TYPE_UNINITIALIZED_UNSPECIFIED"]._loaded_options = None + _globals["_DATATYPE"].values_by_name[ + "DATA_TYPE_UNINITIALIZED_UNSPECIFIED" + ]._serialized_options = b"\212\235 \013UNSPECIFIED" + _globals["_DATATYPE"].values_by_name["DATA_TYPE_CLIENT_STATE"]._loaded_options = None + _globals["_DATATYPE"].values_by_name["DATA_TYPE_CLIENT_STATE"]._serialized_options = b"\212\235 \006CLIENT" + _globals["_DATATYPE"].values_by_name["DATA_TYPE_CONSENSUS_STATE"]._loaded_options = None + _globals["_DATATYPE"].values_by_name["DATA_TYPE_CONSENSUS_STATE"]._serialized_options = b"\212\235 \tCONSENSUS" + _globals["_DATATYPE"].values_by_name["DATA_TYPE_CONNECTION_STATE"]._loaded_options = None + _globals["_DATATYPE"].values_by_name["DATA_TYPE_CONNECTION_STATE"]._serialized_options = b"\212\235 \nCONNECTION" + _globals["_DATATYPE"].values_by_name["DATA_TYPE_CHANNEL_STATE"]._loaded_options = None + _globals["_DATATYPE"].values_by_name["DATA_TYPE_CHANNEL_STATE"]._serialized_options = b"\212\235 \007CHANNEL" + _globals["_DATATYPE"].values_by_name["DATA_TYPE_PACKET_COMMITMENT"]._loaded_options = None + _globals["_DATATYPE"].values_by_name[ + "DATA_TYPE_PACKET_COMMITMENT" + ]._serialized_options = b"\212\235 \020PACKETCOMMITMENT" + _globals["_DATATYPE"].values_by_name["DATA_TYPE_PACKET_ACKNOWLEDGEMENT"]._loaded_options = None + _globals["_DATATYPE"].values_by_name[ + "DATA_TYPE_PACKET_ACKNOWLEDGEMENT" + ]._serialized_options = b"\212\235 \025PACKETACKNOWLEDGEMENT" + _globals["_DATATYPE"].values_by_name["DATA_TYPE_PACKET_RECEIPT_ABSENCE"]._loaded_options = None + _globals["_DATATYPE"].values_by_name[ + "DATA_TYPE_PACKET_RECEIPT_ABSENCE" + ]._serialized_options = b"\212\235 \024PACKETRECEIPTABSENCE" + _globals["_DATATYPE"].values_by_name["DATA_TYPE_NEXT_SEQUENCE_RECV"]._loaded_options = None + _globals["_DATATYPE"].values_by_name[ + "DATA_TYPE_NEXT_SEQUENCE_RECV" + ]._serialized_options = b"\212\235 \020NEXTSEQUENCERECV" + _globals["_DATATYPE"].values_by_name["DATA_TYPE_HEADER"]._loaded_options = None + _globals["_DATATYPE"].values_by_name["DATA_TYPE_HEADER"]._serialized_options = b"\212\235 \006HEADER" + _globals["_CLIENTSTATE"]._loaded_options = None + _globals["_CLIENTSTATE"]._serialized_options = b"\210\240\037\000" + _globals["_CONSENSUSSTATE"]._loaded_options = None + _globals["_CONSENSUSSTATE"]._serialized_options = b"\210\240\037\000" + _globals["_HEADER"]._loaded_options = None + _globals["_HEADER"]._serialized_options = b"\210\240\037\000" + _globals["_MISBEHAVIOUR"]._loaded_options = None + _globals["_MISBEHAVIOUR"]._serialized_options = b"\210\240\037\000" + _globals["_SIGNATUREANDDATA"]._loaded_options = None + _globals["_SIGNATUREANDDATA"]._serialized_options = b"\210\240\037\000" + _globals["_TIMESTAMPEDSIGNATUREDATA"]._loaded_options = None + _globals["_TIMESTAMPEDSIGNATUREDATA"]._serialized_options = b"\210\240\037\000" + _globals["_SIGNBYTES"]._loaded_options = None + _globals["_SIGNBYTES"]._serialized_options = b"\210\240\037\000" + _globals["_HEADERDATA"]._loaded_options = None + _globals["_HEADERDATA"]._serialized_options = b"\210\240\037\000" + _globals["_CLIENTSTATEDATA"]._loaded_options = None + _globals["_CLIENTSTATEDATA"]._serialized_options = b"\210\240\037\000" + _globals["_CONSENSUSSTATEDATA"]._loaded_options = None + _globals["_CONSENSUSSTATEDATA"]._serialized_options = b"\210\240\037\000" + _globals["_CONNECTIONSTATEDATA"]._loaded_options = None + _globals["_CONNECTIONSTATEDATA"]._serialized_options = b"\210\240\037\000" + _globals["_CHANNELSTATEDATA"]._loaded_options = None + _globals["_CHANNELSTATEDATA"]._serialized_options = b"\210\240\037\000" + _globals["_DATATYPE"]._serialized_start = 2379 + _globals["_DATATYPE"]._serialized_end = 2903 + _globals["_CLIENTSTATE"]._serialized_start = 212 + _globals["_CLIENTSTATE"]._serialized_end = 441 + _globals["_CONSENSUSSTATE"]._serialized_start = 444 + _globals["_CONSENSUSSTATE"]._serialized_end = 583 + _globals["_HEADER"]._serialized_start = 586 + _globals["_HEADER"]._serialized_end = 789 + _globals["_MISBEHAVIOUR"]._serialized_start = 792 + _globals["_MISBEHAVIOUR"]._serialized_end = 1045 + _globals["_SIGNATUREANDDATA"]._serialized_start = 1048 + _globals["_SIGNATUREANDDATA"]._serialized_end = 1224 + _globals["_TIMESTAMPEDSIGNATUREDATA"]._serialized_start = 1226 + _globals["_TIMESTAMPEDSIGNATUREDATA"]._serialized_end = 1327 + _globals["_SIGNBYTES"]._serialized_start = 1330 + _globals["_SIGNBYTES"]._serialized_end = 1531 + _globals["_HEADERDATA"]._serialized_start = 1533 + _globals["_HEADERDATA"]._serialized_end = 1646 + _globals["_CLIENTSTATEDATA"]._serialized_start = 1648 + _globals["_CLIENTSTATEDATA"]._serialized_end = 1748 + _globals["_CONSENSUSSTATEDATA"]._serialized_start = 1750 + _globals["_CONSENSUSSTATEDATA"]._serialized_end = 1859 + _globals["_CONNECTIONSTATEDATA"]._serialized_start = 1861 + _globals["_CONNECTIONSTATEDATA"]._serialized_end = 1979 + _globals["_CHANNELSTATEDATA"]._serialized_start = 1981 + _globals["_CHANNELSTATEDATA"]._serialized_end = 2081 + _globals["_PACKETCOMMITMENTDATA"]._serialized_start = 2083 + _globals["_PACKETCOMMITMENTDATA"]._serialized_end = 2157 + _globals["_PACKETACKNOWLEDGEMENTDATA"]._serialized_start = 2159 + _globals["_PACKETACKNOWLEDGEMENTDATA"]._serialized_end = 2248 + _globals["_PACKETRECEIPTABSENCEDATA"]._serialized_start = 2250 + _globals["_PACKETRECEIPTABSENCEDATA"]._serialized_end = 2296 + _globals["_NEXTSEQUENCERECVDATA"]._serialized_start = 2298 + _globals["_NEXTSEQUENCERECVDATA"]._serialized_end = 2376 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2_grpc.py b/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2_grpc.py +++ b/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/lightclients/solomachine/v3/solomachine_pb2.py b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py index 8dbb7917..90c7444f 100644 --- a/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py +++ b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,44 +17,48 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ibc/lightclients/solomachine/v3/solomachine.proto\x12\x1fibc.lightclients.solomachine.v3\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xa6\x01\n\x0b\x43lientState\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1b\n\tis_frozen\x18\x02 \x01(\x08R\x08isFrozen\x12X\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v3.ConsensusStateR\x0e\x63onsensusState:\x04\x88\xa0\x1f\x00\"\x8b\x01\n\x0e\x43onsensusState\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12 \n\x0b\x64iversifier\x18\x02 \x01(\tR\x0b\x64iversifier\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00\"\xaf\x01\n\x06Header\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\x1c\n\tsignature\x18\x02 \x01(\x0cR\tsignature\x12:\n\x0enew_public_key\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cnewPublicKey\x12\'\n\x0fnew_diversifier\x18\x04 \x01(\tR\x0enewDiversifier:\x04\x88\xa0\x1f\x00\"\xe0\x01\n\x0cMisbehaviour\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12V\n\rsignature_one\x18\x02 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndDataR\x0csignatureOne\x12V\n\rsignature_two\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndDataR\x0csignatureTwo:\x04\x88\xa0\x1f\x00\"|\n\x10SignatureAndData\x12\x1c\n\tsignature\x18\x01 \x01(\x0cR\tsignature\x12\x12\n\x04path\x18\x02 \x01(\x0cR\x04path\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\x12\x1c\n\ttimestamp\x18\x04 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00\"e\n\x18TimestampedSignatureData\x12%\n\x0esignature_data\x18\x01 \x01(\x0cR\rsignatureData\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00\"\x95\x01\n\tSignBytes\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12 \n\x0b\x64iversifier\x18\x03 \x01(\tR\x0b\x64iversifier\x12\x12\n\x04path\x18\x04 \x01(\x0cR\x04path\x12\x12\n\x04\x64\x61ta\x18\x05 \x01(\x0cR\x04\x64\x61ta:\x04\x88\xa0\x1f\x00\"q\n\nHeaderData\x12\x34\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tnewPubKey\x12\'\n\x0fnew_diversifier\x18\x02 \x01(\tR\x0enewDiversifier:\x04\x88\xa0\x1f\x00\x42\xa4\x02\n#com.ibc.lightclients.solomachine.v3B\x10SolomachineProtoP\x01ZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachine\xa2\x02\x03ILS\xaa\x02\x1fIbc.Lightclients.Solomachine.V3\xca\x02\x1fIbc\\Lightclients\\Solomachine\\V3\xe2\x02+Ibc\\Lightclients\\Solomachine\\V3\\GPBMetadata\xea\x02\"Ibc::Lightclients::Solomachine::V3b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n1ibc/lightclients/solomachine/v3/solomachine.proto\x12\x1fibc.lightclients.solomachine.v3\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto"\xa6\x01\n\x0b\x43lientState\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1b\n\tis_frozen\x18\x02 \x01(\x08R\x08isFrozen\x12X\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v3.ConsensusStateR\x0e\x63onsensusState:\x04\x88\xa0\x1f\x00"\x8b\x01\n\x0e\x43onsensusState\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12 \n\x0b\x64iversifier\x18\x02 \x01(\tR\x0b\x64iversifier\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00"\xaf\x01\n\x06Header\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\x1c\n\tsignature\x18\x02 \x01(\x0cR\tsignature\x12:\n\x0enew_public_key\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cnewPublicKey\x12\'\n\x0fnew_diversifier\x18\x04 \x01(\tR\x0enewDiversifier:\x04\x88\xa0\x1f\x00"\xe0\x01\n\x0cMisbehaviour\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12V\n\rsignature_one\x18\x02 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndDataR\x0csignatureOne\x12V\n\rsignature_two\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndDataR\x0csignatureTwo:\x04\x88\xa0\x1f\x00"|\n\x10SignatureAndData\x12\x1c\n\tsignature\x18\x01 \x01(\x0cR\tsignature\x12\x12\n\x04path\x18\x02 \x01(\x0cR\x04path\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\x12\x1c\n\ttimestamp\x18\x04 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00"e\n\x18TimestampedSignatureData\x12%\n\x0esignature_data\x18\x01 \x01(\x0cR\rsignatureData\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00"\x95\x01\n\tSignBytes\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12 \n\x0b\x64iversifier\x18\x03 \x01(\tR\x0b\x64iversifier\x12\x12\n\x04path\x18\x04 \x01(\x0cR\x04path\x12\x12\n\x04\x64\x61ta\x18\x05 \x01(\x0cR\x04\x64\x61ta:\x04\x88\xa0\x1f\x00"q\n\nHeaderData\x12\x34\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tnewPubKey\x12\'\n\x0fnew_diversifier\x18\x02 \x01(\tR\x0enewDiversifier:\x04\x88\xa0\x1f\x00\x42\xa4\x02\n#com.ibc.lightclients.solomachine.v3B\x10SolomachineProtoP\x01ZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachine\xa2\x02\x03ILS\xaa\x02\x1fIbc.Lightclients.Solomachine.V3\xca\x02\x1fIbc\\Lightclients\\Solomachine\\V3\xe2\x02+Ibc\\Lightclients\\Solomachine\\V3\\GPBMetadata\xea\x02"Ibc::Lightclients::Solomachine::V3b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.solomachine.v3.solomachine_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.lightclients.solomachine.v3.solomachine_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n#com.ibc.lightclients.solomachine.v3B\020SolomachineProtoP\001ZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachine\242\002\003ILS\252\002\037Ibc.Lightclients.Solomachine.V3\312\002\037Ibc\\Lightclients\\Solomachine\\V3\342\002+Ibc\\Lightclients\\Solomachine\\V3\\GPBMetadata\352\002\"Ibc::Lightclients::Solomachine::V3' - _globals['_CLIENTSTATE']._loaded_options = None - _globals['_CLIENTSTATE']._serialized_options = b'\210\240\037\000' - _globals['_CONSENSUSSTATE']._loaded_options = None - _globals['_CONSENSUSSTATE']._serialized_options = b'\210\240\037\000' - _globals['_HEADER']._loaded_options = None - _globals['_HEADER']._serialized_options = b'\210\240\037\000' - _globals['_MISBEHAVIOUR']._loaded_options = None - _globals['_MISBEHAVIOUR']._serialized_options = b'\210\240\037\000' - _globals['_SIGNATUREANDDATA']._loaded_options = None - _globals['_SIGNATUREANDDATA']._serialized_options = b'\210\240\037\000' - _globals['_TIMESTAMPEDSIGNATUREDATA']._loaded_options = None - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_options = b'\210\240\037\000' - _globals['_SIGNBYTES']._loaded_options = None - _globals['_SIGNBYTES']._serialized_options = b'\210\240\037\000' - _globals['_HEADERDATA']._loaded_options = None - _globals['_HEADERDATA']._serialized_options = b'\210\240\037\000' - _globals['_CLIENTSTATE']._serialized_start=136 - _globals['_CLIENTSTATE']._serialized_end=302 - _globals['_CONSENSUSSTATE']._serialized_start=305 - _globals['_CONSENSUSSTATE']._serialized_end=444 - _globals['_HEADER']._serialized_start=447 - _globals['_HEADER']._serialized_end=622 - _globals['_MISBEHAVIOUR']._serialized_start=625 - _globals['_MISBEHAVIOUR']._serialized_end=849 - _globals['_SIGNATUREANDDATA']._serialized_start=851 - _globals['_SIGNATUREANDDATA']._serialized_end=975 - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=977 - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=1078 - _globals['_SIGNBYTES']._serialized_start=1081 - _globals['_SIGNBYTES']._serialized_end=1230 - _globals['_HEADERDATA']._serialized_start=1232 - _globals['_HEADERDATA']._serialized_end=1345 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n#com.ibc.lightclients.solomachine.v3B\020SolomachineProtoP\001ZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachine\242\002\003ILS\252\002\037Ibc.Lightclients.Solomachine.V3\312\002\037Ibc\\Lightclients\\Solomachine\\V3\342\002+Ibc\\Lightclients\\Solomachine\\V3\\GPBMetadata\352\002"Ibc::Lightclients::Solomachine::V3' + ) + _globals["_CLIENTSTATE"]._loaded_options = None + _globals["_CLIENTSTATE"]._serialized_options = b"\210\240\037\000" + _globals["_CONSENSUSSTATE"]._loaded_options = None + _globals["_CONSENSUSSTATE"]._serialized_options = b"\210\240\037\000" + _globals["_HEADER"]._loaded_options = None + _globals["_HEADER"]._serialized_options = b"\210\240\037\000" + _globals["_MISBEHAVIOUR"]._loaded_options = None + _globals["_MISBEHAVIOUR"]._serialized_options = b"\210\240\037\000" + _globals["_SIGNATUREANDDATA"]._loaded_options = None + _globals["_SIGNATUREANDDATA"]._serialized_options = b"\210\240\037\000" + _globals["_TIMESTAMPEDSIGNATUREDATA"]._loaded_options = None + _globals["_TIMESTAMPEDSIGNATUREDATA"]._serialized_options = b"\210\240\037\000" + _globals["_SIGNBYTES"]._loaded_options = None + _globals["_SIGNBYTES"]._serialized_options = b"\210\240\037\000" + _globals["_HEADERDATA"]._loaded_options = None + _globals["_HEADERDATA"]._serialized_options = b"\210\240\037\000" + _globals["_CLIENTSTATE"]._serialized_start = 136 + _globals["_CLIENTSTATE"]._serialized_end = 302 + _globals["_CONSENSUSSTATE"]._serialized_start = 305 + _globals["_CONSENSUSSTATE"]._serialized_end = 444 + _globals["_HEADER"]._serialized_start = 447 + _globals["_HEADER"]._serialized_end = 622 + _globals["_MISBEHAVIOUR"]._serialized_start = 625 + _globals["_MISBEHAVIOUR"]._serialized_end = 849 + _globals["_SIGNATUREANDDATA"]._serialized_start = 851 + _globals["_SIGNATUREANDDATA"]._serialized_end = 975 + _globals["_TIMESTAMPEDSIGNATUREDATA"]._serialized_start = 977 + _globals["_TIMESTAMPEDSIGNATUREDATA"]._serialized_end = 1078 + _globals["_SIGNBYTES"]._serialized_start = 1081 + _globals["_SIGNBYTES"]._serialized_end = 1230 + _globals["_HEADERDATA"]._serialized_start = 1232 + _globals["_HEADERDATA"]._serialized_end = 1345 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2_grpc.py b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2_grpc.py +++ b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/lightclients/tendermint/v1/tendermint_pb2.py b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py index 31cbde92..7e094d74 100644 --- a/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py +++ b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,64 +19,74 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -from pyinjective.proto.ibc.core.commitment.v1 import commitment_pb2 as ibc_dot_core_dot_commitment_dot_v1_dot_commitment__pb2 +from pyinjective.proto.ibc.core.commitment.v1 import ( + commitment_pb2 as ibc_dot_core_dot_commitment_dot_v1_dot_commitment__pb2, +) from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/ibc/lightclients/tendermint/v1/tendermint.proto\x12\x1eibc.lightclients.tendermint.v1\x1a tendermint/types/validator.proto\x1a\x1ctendermint/types/types.proto\x1a\x1c\x63osmos/ics23/v1/proofs.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x14gogoproto/gogo.proto\"\xe2\x05\n\x0b\x43lientState\x12\x19\n\x08\x63hain_id\x18\x01 \x01(\tR\x07\x63hainId\x12O\n\x0btrust_level\x18\x02 \x01(\x0b\x32(.ibc.lightclients.tendermint.v1.FractionB\x04\xc8\xde\x1f\x00R\ntrustLevel\x12L\n\x0ftrusting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0etrustingPeriod\x12N\n\x10unbonding_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0funbondingPeriod\x12K\n\x0fmax_clock_drift\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\rmaxClockDrift\x12\x45\n\rfrozen_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0c\x66rozenHeight\x12\x45\n\rlatest_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0clatestHeight\x12;\n\x0bproof_specs\x18\x08 \x03(\x0b\x32\x1a.cosmos.ics23.v1.ProofSpecR\nproofSpecs\x12!\n\x0cupgrade_path\x18\t \x03(\tR\x0bupgradePath\x12=\n\x19\x61llow_update_after_expiry\x18\n \x01(\x08\x42\x02\x18\x01R\x16\x61llowUpdateAfterExpiry\x12I\n\x1f\x61llow_update_after_misbehaviour\x18\x0b \x01(\x08\x42\x02\x18\x01R\x1c\x61llowUpdateAfterMisbehaviour:\x04\x88\xa0\x1f\x00\"\x80\x02\n\x0e\x43onsensusState\x12\x42\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12<\n\x04root\x18\x02 \x01(\x0b\x32\".ibc.core.commitment.v1.MerkleRootB\x04\xc8\xde\x1f\x00R\x04root\x12\x66\n\x14next_validators_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x12nextValidatorsHash:\x04\x88\xa0\x1f\x00\"\xd5\x01\n\x0cMisbehaviour\x12\x1f\n\tclient_id\x18\x01 \x01(\tB\x02\x18\x01R\x08\x63lientId\x12N\n\x08header_1\x18\x02 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header1R\x07header1\x12N\n\x08header_2\x18\x03 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header2R\x07header2:\x04\x88\xa0\x1f\x00\"\xb0\x02\n\x06Header\x12I\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderB\x04\xd0\xde\x1f\x01R\x0csignedHeader\x12\x43\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x0cvalidatorSet\x12G\n\x0etrusted_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\rtrustedHeight\x12M\n\x12trusted_validators\x18\x04 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x11trustedValidators\"J\n\x08\x46raction\x12\x1c\n\tnumerator\x18\x01 \x01(\x04R\tnumerator\x12 \n\x0b\x64\x65nominator\x18\x02 \x01(\x04R\x0b\x64\x65nominatorB\x9c\x02\n\"com.ibc.lightclients.tendermint.v1B\x0fTendermintProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermint\xa2\x02\x03ILT\xaa\x02\x1eIbc.Lightclients.Tendermint.V1\xca\x02\x1eIbc\\Lightclients\\Tendermint\\V1\xe2\x02*Ibc\\Lightclients\\Tendermint\\V1\\GPBMetadata\xea\x02!Ibc::Lightclients::Tendermint::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n/ibc/lightclients/tendermint/v1/tendermint.proto\x12\x1eibc.lightclients.tendermint.v1\x1a tendermint/types/validator.proto\x1a\x1ctendermint/types/types.proto\x1a\x1c\x63osmos/ics23/v1/proofs.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x14gogoproto/gogo.proto"\xe2\x05\n\x0b\x43lientState\x12\x19\n\x08\x63hain_id\x18\x01 \x01(\tR\x07\x63hainId\x12O\n\x0btrust_level\x18\x02 \x01(\x0b\x32(.ibc.lightclients.tendermint.v1.FractionB\x04\xc8\xde\x1f\x00R\ntrustLevel\x12L\n\x0ftrusting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0etrustingPeriod\x12N\n\x10unbonding_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0funbondingPeriod\x12K\n\x0fmax_clock_drift\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\rmaxClockDrift\x12\x45\n\rfrozen_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0c\x66rozenHeight\x12\x45\n\rlatest_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0clatestHeight\x12;\n\x0bproof_specs\x18\x08 \x03(\x0b\x32\x1a.cosmos.ics23.v1.ProofSpecR\nproofSpecs\x12!\n\x0cupgrade_path\x18\t \x03(\tR\x0bupgradePath\x12=\n\x19\x61llow_update_after_expiry\x18\n \x01(\x08\x42\x02\x18\x01R\x16\x61llowUpdateAfterExpiry\x12I\n\x1f\x61llow_update_after_misbehaviour\x18\x0b \x01(\x08\x42\x02\x18\x01R\x1c\x61llowUpdateAfterMisbehaviour:\x04\x88\xa0\x1f\x00"\x80\x02\n\x0e\x43onsensusState\x12\x42\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12<\n\x04root\x18\x02 \x01(\x0b\x32".ibc.core.commitment.v1.MerkleRootB\x04\xc8\xde\x1f\x00R\x04root\x12\x66\n\x14next_validators_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x12nextValidatorsHash:\x04\x88\xa0\x1f\x00"\xd5\x01\n\x0cMisbehaviour\x12\x1f\n\tclient_id\x18\x01 \x01(\tB\x02\x18\x01R\x08\x63lientId\x12N\n\x08header_1\x18\x02 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header1R\x07header1\x12N\n\x08header_2\x18\x03 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header2R\x07header2:\x04\x88\xa0\x1f\x00"\xb0\x02\n\x06Header\x12I\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderB\x04\xd0\xde\x1f\x01R\x0csignedHeader\x12\x43\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x0cvalidatorSet\x12G\n\x0etrusted_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\rtrustedHeight\x12M\n\x12trusted_validators\x18\x04 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x11trustedValidators"J\n\x08\x46raction\x12\x1c\n\tnumerator\x18\x01 \x01(\x04R\tnumerator\x12 \n\x0b\x64\x65nominator\x18\x02 \x01(\x04R\x0b\x64\x65nominatorB\x9c\x02\n"com.ibc.lightclients.tendermint.v1B\x0fTendermintProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermint\xa2\x02\x03ILT\xaa\x02\x1eIbc.Lightclients.Tendermint.V1\xca\x02\x1eIbc\\Lightclients\\Tendermint\\V1\xe2\x02*Ibc\\Lightclients\\Tendermint\\V1\\GPBMetadata\xea\x02!Ibc::Lightclients::Tendermint::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.tendermint.v1.tendermint_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.lightclients.tendermint.v1.tendermint_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.ibc.lightclients.tendermint.v1B\017TendermintProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermint\242\002\003ILT\252\002\036Ibc.Lightclients.Tendermint.V1\312\002\036Ibc\\Lightclients\\Tendermint\\V1\342\002*Ibc\\Lightclients\\Tendermint\\V1\\GPBMetadata\352\002!Ibc::Lightclients::Tendermint::V1' - _globals['_CLIENTSTATE'].fields_by_name['trust_level']._loaded_options = None - _globals['_CLIENTSTATE'].fields_by_name['trust_level']._serialized_options = b'\310\336\037\000' - _globals['_CLIENTSTATE'].fields_by_name['trusting_period']._loaded_options = None - _globals['_CLIENTSTATE'].fields_by_name['trusting_period']._serialized_options = b'\310\336\037\000\230\337\037\001' - _globals['_CLIENTSTATE'].fields_by_name['unbonding_period']._loaded_options = None - _globals['_CLIENTSTATE'].fields_by_name['unbonding_period']._serialized_options = b'\310\336\037\000\230\337\037\001' - _globals['_CLIENTSTATE'].fields_by_name['max_clock_drift']._loaded_options = None - _globals['_CLIENTSTATE'].fields_by_name['max_clock_drift']._serialized_options = b'\310\336\037\000\230\337\037\001' - _globals['_CLIENTSTATE'].fields_by_name['frozen_height']._loaded_options = None - _globals['_CLIENTSTATE'].fields_by_name['frozen_height']._serialized_options = b'\310\336\037\000' - _globals['_CLIENTSTATE'].fields_by_name['latest_height']._loaded_options = None - _globals['_CLIENTSTATE'].fields_by_name['latest_height']._serialized_options = b'\310\336\037\000' - _globals['_CLIENTSTATE'].fields_by_name['allow_update_after_expiry']._loaded_options = None - _globals['_CLIENTSTATE'].fields_by_name['allow_update_after_expiry']._serialized_options = b'\030\001' - _globals['_CLIENTSTATE'].fields_by_name['allow_update_after_misbehaviour']._loaded_options = None - _globals['_CLIENTSTATE'].fields_by_name['allow_update_after_misbehaviour']._serialized_options = b'\030\001' - _globals['_CLIENTSTATE']._loaded_options = None - _globals['_CLIENTSTATE']._serialized_options = b'\210\240\037\000' - _globals['_CONSENSUSSTATE'].fields_by_name['timestamp']._loaded_options = None - _globals['_CONSENSUSSTATE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_CONSENSUSSTATE'].fields_by_name['root']._loaded_options = None - _globals['_CONSENSUSSTATE'].fields_by_name['root']._serialized_options = b'\310\336\037\000' - _globals['_CONSENSUSSTATE'].fields_by_name['next_validators_hash']._loaded_options = None - _globals['_CONSENSUSSTATE'].fields_by_name['next_validators_hash']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' - _globals['_CONSENSUSSTATE']._loaded_options = None - _globals['_CONSENSUSSTATE']._serialized_options = b'\210\240\037\000' - _globals['_MISBEHAVIOUR'].fields_by_name['client_id']._loaded_options = None - _globals['_MISBEHAVIOUR'].fields_by_name['client_id']._serialized_options = b'\030\001' - _globals['_MISBEHAVIOUR'].fields_by_name['header_1']._loaded_options = None - _globals['_MISBEHAVIOUR'].fields_by_name['header_1']._serialized_options = b'\342\336\037\007Header1' - _globals['_MISBEHAVIOUR'].fields_by_name['header_2']._loaded_options = None - _globals['_MISBEHAVIOUR'].fields_by_name['header_2']._serialized_options = b'\342\336\037\007Header2' - _globals['_MISBEHAVIOUR']._loaded_options = None - _globals['_MISBEHAVIOUR']._serialized_options = b'\210\240\037\000' - _globals['_HEADER'].fields_by_name['signed_header']._loaded_options = None - _globals['_HEADER'].fields_by_name['signed_header']._serialized_options = b'\320\336\037\001' - _globals['_HEADER'].fields_by_name['trusted_height']._loaded_options = None - _globals['_HEADER'].fields_by_name['trusted_height']._serialized_options = b'\310\336\037\000' - _globals['_CLIENTSTATE']._serialized_start=339 - _globals['_CLIENTSTATE']._serialized_end=1077 - _globals['_CONSENSUSSTATE']._serialized_start=1080 - _globals['_CONSENSUSSTATE']._serialized_end=1336 - _globals['_MISBEHAVIOUR']._serialized_start=1339 - _globals['_MISBEHAVIOUR']._serialized_end=1552 - _globals['_HEADER']._serialized_start=1555 - _globals['_HEADER']._serialized_end=1859 - _globals['_FRACTION']._serialized_start=1861 - _globals['_FRACTION']._serialized_end=1935 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n"com.ibc.lightclients.tendermint.v1B\017TendermintProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermint\242\002\003ILT\252\002\036Ibc.Lightclients.Tendermint.V1\312\002\036Ibc\\Lightclients\\Tendermint\\V1\342\002*Ibc\\Lightclients\\Tendermint\\V1\\GPBMetadata\352\002!Ibc::Lightclients::Tendermint::V1' + ) + _globals["_CLIENTSTATE"].fields_by_name["trust_level"]._loaded_options = None + _globals["_CLIENTSTATE"].fields_by_name["trust_level"]._serialized_options = b"\310\336\037\000" + _globals["_CLIENTSTATE"].fields_by_name["trusting_period"]._loaded_options = None + _globals["_CLIENTSTATE"].fields_by_name["trusting_period"]._serialized_options = b"\310\336\037\000\230\337\037\001" + _globals["_CLIENTSTATE"].fields_by_name["unbonding_period"]._loaded_options = None + _globals["_CLIENTSTATE"].fields_by_name[ + "unbonding_period" + ]._serialized_options = b"\310\336\037\000\230\337\037\001" + _globals["_CLIENTSTATE"].fields_by_name["max_clock_drift"]._loaded_options = None + _globals["_CLIENTSTATE"].fields_by_name["max_clock_drift"]._serialized_options = b"\310\336\037\000\230\337\037\001" + _globals["_CLIENTSTATE"].fields_by_name["frozen_height"]._loaded_options = None + _globals["_CLIENTSTATE"].fields_by_name["frozen_height"]._serialized_options = b"\310\336\037\000" + _globals["_CLIENTSTATE"].fields_by_name["latest_height"]._loaded_options = None + _globals["_CLIENTSTATE"].fields_by_name["latest_height"]._serialized_options = b"\310\336\037\000" + _globals["_CLIENTSTATE"].fields_by_name["allow_update_after_expiry"]._loaded_options = None + _globals["_CLIENTSTATE"].fields_by_name["allow_update_after_expiry"]._serialized_options = b"\030\001" + _globals["_CLIENTSTATE"].fields_by_name["allow_update_after_misbehaviour"]._loaded_options = None + _globals["_CLIENTSTATE"].fields_by_name["allow_update_after_misbehaviour"]._serialized_options = b"\030\001" + _globals["_CLIENTSTATE"]._loaded_options = None + _globals["_CLIENTSTATE"]._serialized_options = b"\210\240\037\000" + _globals["_CONSENSUSSTATE"].fields_by_name["timestamp"]._loaded_options = None + _globals["_CONSENSUSSTATE"].fields_by_name["timestamp"]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_CONSENSUSSTATE"].fields_by_name["root"]._loaded_options = None + _globals["_CONSENSUSSTATE"].fields_by_name["root"]._serialized_options = b"\310\336\037\000" + _globals["_CONSENSUSSTATE"].fields_by_name["next_validators_hash"]._loaded_options = None + _globals["_CONSENSUSSTATE"].fields_by_name[ + "next_validators_hash" + ]._serialized_options = b"\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes" + _globals["_CONSENSUSSTATE"]._loaded_options = None + _globals["_CONSENSUSSTATE"]._serialized_options = b"\210\240\037\000" + _globals["_MISBEHAVIOUR"].fields_by_name["client_id"]._loaded_options = None + _globals["_MISBEHAVIOUR"].fields_by_name["client_id"]._serialized_options = b"\030\001" + _globals["_MISBEHAVIOUR"].fields_by_name["header_1"]._loaded_options = None + _globals["_MISBEHAVIOUR"].fields_by_name["header_1"]._serialized_options = b"\342\336\037\007Header1" + _globals["_MISBEHAVIOUR"].fields_by_name["header_2"]._loaded_options = None + _globals["_MISBEHAVIOUR"].fields_by_name["header_2"]._serialized_options = b"\342\336\037\007Header2" + _globals["_MISBEHAVIOUR"]._loaded_options = None + _globals["_MISBEHAVIOUR"]._serialized_options = b"\210\240\037\000" + _globals["_HEADER"].fields_by_name["signed_header"]._loaded_options = None + _globals["_HEADER"].fields_by_name["signed_header"]._serialized_options = b"\320\336\037\001" + _globals["_HEADER"].fields_by_name["trusted_height"]._loaded_options = None + _globals["_HEADER"].fields_by_name["trusted_height"]._serialized_options = b"\310\336\037\000" + _globals["_CLIENTSTATE"]._serialized_start = 339 + _globals["_CLIENTSTATE"]._serialized_end = 1077 + _globals["_CONSENSUSSTATE"]._serialized_start = 1080 + _globals["_CONSENSUSSTATE"]._serialized_end = 1336 + _globals["_MISBEHAVIOUR"]._serialized_start = 1339 + _globals["_MISBEHAVIOUR"]._serialized_end = 1552 + _globals["_HEADER"]._serialized_start = 1555 + _globals["_HEADER"]._serialized_end = 1859 + _globals["_FRACTION"]._serialized_start = 1861 + _globals["_FRACTION"]._serialized_end = 1935 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2_grpc.py b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2_grpc.py +++ b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/ibc/lightclients/wasm/v1/genesis_pb2.py b/pyinjective/proto/ibc/lightclients/wasm/v1/genesis_pb2.py index dff12841..76813741 100644 --- a/pyinjective/proto/ibc/lightclients/wasm/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/lightclients/wasm/v1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,20 +16,24 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&ibc/lightclients/wasm/v1/genesis.proto\x12\x18ibc.lightclients.wasm.v1\x1a\x14gogoproto/gogo.proto\"V\n\x0cGenesisState\x12\x46\n\tcontracts\x18\x01 \x03(\x0b\x32\".ibc.lightclients.wasm.v1.ContractB\x04\xc8\xde\x1f\x00R\tcontracts\"/\n\x08\x43ontract\x12\x1d\n\ncode_bytes\x18\x01 \x01(\x0cR\tcodeBytes:\x04\x88\xa0\x1f\x00\x42\xed\x01\n\x1c\x63om.ibc.lightclients.wasm.v1B\x0cGenesisProtoP\x01Z\n\nbid_amount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\tbidAmount\x12\x14\n\x05round\x18\x03 \x01(\x04R\x05round:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x0e\x61uction/MsgBid\"\x10\n\x0eMsgBidResponse\"\xb6\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12?\n\x06params\x18\x02 \x01(\x0b\x32!.injective.auction.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:*\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x17\x61uction/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xd1\x01\n\x03Msg\x12S\n\x03\x42id\x12!.injective.auction.v1beta1.MsgBid\x1a).injective.auction.v1beta1.MsgBidResponse\x12n\n\x0cUpdateParams\x12*.injective.auction.v1beta1.MsgUpdateParams\x1a\x32.injective.auction.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xfd\x01\n\x1d\x63om.injective.auction.v1beta1B\x07TxProtoP\x01ZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/types\xa2\x02\x03IAX\xaa\x02\x19Injective.Auction.V1beta1\xca\x02\x19Injective\\Auction\\V1beta1\xe2\x02%Injective\\Auction\\V1beta1\\GPBMetadata\xea\x02\x1bInjective::Auction::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n"injective/auction/v1beta1/tx.proto\x12\x19injective.auction.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\'injective/auction/v1beta1/auction.proto\x1a\x11\x61mino/amino.proto"\x9e\x01\n\x06MsgBid\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12>\n\nbid_amount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\tbidAmount\x12\x14\n\x05round\x18\x03 \x01(\x04R\x05round:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x0e\x61uction/MsgBid"\x10\n\x0eMsgBidResponse"\xb6\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12?\n\x06params\x18\x02 \x01(\x0b\x32!.injective.auction.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:*\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x17\x61uction/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2\xd1\x01\n\x03Msg\x12S\n\x03\x42id\x12!.injective.auction.v1beta1.MsgBid\x1a).injective.auction.v1beta1.MsgBidResponse\x12n\n\x0cUpdateParams\x12*.injective.auction.v1beta1.MsgUpdateParams\x1a\x32.injective.auction.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xfd\x01\n\x1d\x63om.injective.auction.v1beta1B\x07TxProtoP\x01ZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/types\xa2\x02\x03IAX\xaa\x02\x19Injective.Auction.V1beta1\xca\x02\x19Injective\\Auction\\V1beta1\xe2\x02%Injective\\Auction\\V1beta1\\GPBMetadata\xea\x02\x1bInjective::Auction::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.auction.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.auction.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.injective.auction.v1beta1B\007TxProtoP\001ZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/types\242\002\003IAX\252\002\031Injective.Auction.V1beta1\312\002\031Injective\\Auction\\V1beta1\342\002%Injective\\Auction\\V1beta1\\GPBMetadata\352\002\033Injective::Auction::V1beta1' - _globals['_MSGBID'].fields_by_name['bid_amount']._loaded_options = None - _globals['_MSGBID'].fields_by_name['bid_amount']._serialized_options = b'\310\336\037\000' - _globals['_MSGBID']._loaded_options = None - _globals['_MSGBID']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\016auction/MsgBid' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\027auction/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGBID']._serialized_start=232 - _globals['_MSGBID']._serialized_end=390 - _globals['_MSGBIDRESPONSE']._serialized_start=392 - _globals['_MSGBIDRESPONSE']._serialized_end=408 - _globals['_MSGUPDATEPARAMS']._serialized_start=411 - _globals['_MSGUPDATEPARAMS']._serialized_end=593 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=595 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=620 - _globals['_MSG']._serialized_start=623 - _globals['_MSG']._serialized_end=832 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\035com.injective.auction.v1beta1B\007TxProtoP\001ZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/types\242\002\003IAX\252\002\031Injective.Auction.V1beta1\312\002\031Injective\\Auction\\V1beta1\342\002%Injective\\Auction\\V1beta1\\GPBMetadata\352\002\033Injective::Auction::V1beta1" + ) + _globals["_MSGBID"].fields_by_name["bid_amount"]._loaded_options = None + _globals["_MSGBID"].fields_by_name["bid_amount"]._serialized_options = b"\310\336\037\000" + _globals["_MSGBID"]._loaded_options = None + _globals["_MSGBID"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\016auction/MsgBid" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*\027auction/MsgUpdateParams" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGBID"]._serialized_start = 232 + _globals["_MSGBID"]._serialized_end = 390 + _globals["_MSGBIDRESPONSE"]._serialized_start = 392 + _globals["_MSGBIDRESPONSE"]._serialized_end = 408 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 411 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 593 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 595 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 620 + _globals["_MSG"]._serialized_start = 623 + _globals["_MSG"]._serialized_end = 832 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/auction/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/auction/v1beta1/tx_pb2_grpc.py index f699a2f6..96f55095 100644 --- a/pyinjective/proto/injective/auction/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/auction/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the auction Msg service. - """ + """Msg defines the auction Msg service.""" def __init__(self, channel): """Constructor. @@ -16,74 +15,74 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Bid = channel.unary_unary( - '/injective.auction.v1beta1.Msg/Bid', - request_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBid.SerializeToString, - response_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBidResponse.FromString, - _registered_method=True) + "/injective.auction.v1beta1.Msg/Bid", + request_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBid.SerializeToString, + response_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBidResponse.FromString, + _registered_method=True, + ) self.UpdateParams = channel.unary_unary( - '/injective.auction.v1beta1.Msg/UpdateParams', - request_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/injective.auction.v1beta1.Msg/UpdateParams", + request_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the auction Msg service. - """ + """Msg defines the auction Msg service.""" def Bid(self, request, context): - """Bid defines a method for placing a bid for an auction - """ + """Bid defines a method for placing a bid for an auction""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateParams(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'Bid': grpc.unary_unary_rpc_method_handler( - servicer.Bid, - request_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBid.FromString, - response_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBidResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + "Bid": grpc.unary_unary_rpc_method_handler( + servicer.Bid, + request_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBid.FromString, + response_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBidResponse.SerializeToString, + ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.auction.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("injective.auction.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.auction.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("injective.auction.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the auction Msg service. - """ + """Msg defines the auction Msg service.""" @staticmethod - def Bid(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Bid( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.auction.v1beta1.Msg/Bid', + "/injective.auction.v1beta1.Msg/Bid", injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBid.SerializeToString, injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBidResponse.FromString, options, @@ -94,23 +93,26 @@ def Bid(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.auction.v1beta1.Msg/UpdateParams', + "/injective.auction.v1beta1.Msg/UpdateParams", injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -121,4 +123,5 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py b/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py index 26a7a19c..492fc198 100644 --- a/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py +++ b/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,20 +17,26 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0injective/crypto/v1beta1/ethsecp256k1/keys.proto\x12%injective.crypto.v1beta1.ethsecp256k1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"O\n\x06PubKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:3\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1cinjective/PubKeyEthSecp256k1\x92\xe7\xb0*\tkey_field\"M\n\x07PrivKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:0\x8a\xe7\xb0*\x1dinjective/PrivKeyEthSecp256k1\x92\xe7\xb0*\tkey_fieldB\xbb\x02\n)com.injective.crypto.v1beta1.ethsecp256k1B\tKeysProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/crypto/ethsecp256k1\xa2\x02\x04ICVE\xaa\x02%Injective.Crypto.V1beta1.Ethsecp256k1\xca\x02%Injective\\Crypto\\V1beta1\\Ethsecp256k1\xe2\x02\x31Injective\\Crypto\\V1beta1\\Ethsecp256k1\\GPBMetadata\xea\x02(Injective::Crypto::V1beta1::Ethsecp256k1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n0injective/crypto/v1beta1/ethsecp256k1/keys.proto\x12%injective.crypto.v1beta1.ethsecp256k1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto"O\n\x06PubKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:3\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1cinjective/PubKeyEthSecp256k1\x92\xe7\xb0*\tkey_field"M\n\x07PrivKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:0\x8a\xe7\xb0*\x1dinjective/PrivKeyEthSecp256k1\x92\xe7\xb0*\tkey_fieldB\xbb\x02\n)com.injective.crypto.v1beta1.ethsecp256k1B\tKeysProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/crypto/ethsecp256k1\xa2\x02\x04ICVE\xaa\x02%Injective.Crypto.V1beta1.Ethsecp256k1\xca\x02%Injective\\Crypto\\V1beta1\\Ethsecp256k1\xe2\x02\x31Injective\\Crypto\\V1beta1\\Ethsecp256k1\\GPBMetadata\xea\x02(Injective::Crypto::V1beta1::Ethsecp256k1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.crypto.v1beta1.ethsecp256k1.keys_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.crypto.v1beta1.ethsecp256k1.keys_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n)com.injective.crypto.v1beta1.ethsecp256k1B\tKeysProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/crypto/ethsecp256k1\242\002\004ICVE\252\002%Injective.Crypto.V1beta1.Ethsecp256k1\312\002%Injective\\Crypto\\V1beta1\\Ethsecp256k1\342\0021Injective\\Crypto\\V1beta1\\Ethsecp256k1\\GPBMetadata\352\002(Injective::Crypto::V1beta1::Ethsecp256k1' - _globals['_PUBKEY']._loaded_options = None - _globals['_PUBKEY']._serialized_options = b'\230\240\037\000\212\347\260*\034injective/PubKeyEthSecp256k1\222\347\260*\tkey_field' - _globals['_PRIVKEY']._loaded_options = None - _globals['_PRIVKEY']._serialized_options = b'\212\347\260*\035injective/PrivKeyEthSecp256k1\222\347\260*\tkey_field' - _globals['_PUBKEY']._serialized_start=132 - _globals['_PUBKEY']._serialized_end=211 - _globals['_PRIVKEY']._serialized_start=213 - _globals['_PRIVKEY']._serialized_end=290 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n)com.injective.crypto.v1beta1.ethsecp256k1B\tKeysProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/crypto/ethsecp256k1\242\002\004ICVE\252\002%Injective.Crypto.V1beta1.Ethsecp256k1\312\002%Injective\\Crypto\\V1beta1\\Ethsecp256k1\342\0021Injective\\Crypto\\V1beta1\\Ethsecp256k1\\GPBMetadata\352\002(Injective::Crypto::V1beta1::Ethsecp256k1" + ) + _globals["_PUBKEY"]._loaded_options = None + _globals["_PUBKEY"]._serialized_options = ( + b"\230\240\037\000\212\347\260*\034injective/PubKeyEthSecp256k1\222\347\260*\tkey_field" + ) + _globals["_PRIVKEY"]._loaded_options = None + _globals["_PRIVKEY"]._serialized_options = b"\212\347\260*\035injective/PrivKeyEthSecp256k1\222\347\260*\tkey_field" + _globals["_PUBKEY"]._serialized_start = 132 + _globals["_PUBKEY"]._serialized_end = 211 + _globals["_PRIVKEY"]._serialized_start = 213 + _globals["_PRIVKEY"]._serialized_end = 290 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2_grpc.py b/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2_grpc.py +++ b/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py index 6fa71602..246cf94d 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,56 +17,82 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&injective/exchange/v1beta1/authz.proto\x12\x1ainjective.exchange.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x99\x01\n\x19\x43reateSpotLimitOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:8\xca\xb4-\rAuthorization\x8a\xe7\xb0*\"exchange/CreateSpotLimitOrderAuthz\"\x9b\x01\n\x1a\x43reateSpotMarketOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/CreateSpotMarketOrderAuthz\"\xa5\x01\n\x1f\x42\x61tchCreateSpotLimitOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:>\xca\xb4-\rAuthorization\x8a\xe7\xb0*(exchange/BatchCreateSpotLimitOrdersAuthz\"\x8f\x01\n\x14\x43\x61ncelSpotOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:3\xca\xb4-\rAuthorization\x8a\xe7\xb0*\x1d\x65xchange/CancelSpotOrderAuthz\"\x9b\x01\n\x1a\x42\x61tchCancelSpotOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/BatchCancelSpotOrdersAuthz\"\xa5\x01\n\x1f\x43reateDerivativeLimitOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:>\xca\xb4-\rAuthorization\x8a\xe7\xb0*(exchange/CreateDerivativeLimitOrderAuthz\"\xa7\x01\n CreateDerivativeMarketOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:?\xca\xb4-\rAuthorization\x8a\xe7\xb0*)exchange/CreateDerivativeMarketOrderAuthz\"\xb1\x01\n%BatchCreateDerivativeLimitOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:D\xca\xb4-\rAuthorization\x8a\xe7\xb0*.exchange/BatchCreateDerivativeLimitOrdersAuthz\"\x9b\x01\n\x1a\x43\x61ncelDerivativeOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/CancelDerivativeOrderAuthz\"\xa7\x01\n BatchCancelDerivativeOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:?\xca\xb4-\rAuthorization\x8a\xe7\xb0*)exchange/BatchCancelDerivativeOrdersAuthz\"\xc6\x01\n\x16\x42\x61tchUpdateOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12!\n\x0cspot_markets\x18\x02 \x03(\tR\x0bspotMarkets\x12-\n\x12\x64\x65rivative_markets\x18\x03 \x03(\tR\x11\x64\x65rivativeMarkets:5\xca\xb4-\rAuthorization\x8a\xe7\xb0*\x1f\x65xchange/BatchUpdateOrdersAuthzB\x86\x02\n\x1e\x63om.injective.exchange.v1beta1B\nAuthzProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&injective/exchange/v1beta1/authz.proto\x12\x1ainjective.exchange.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\x99\x01\n\x19\x43reateSpotLimitOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:8\xca\xb4-\rAuthorization\x8a\xe7\xb0*"exchange/CreateSpotLimitOrderAuthz"\x9b\x01\n\x1a\x43reateSpotMarketOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/CreateSpotMarketOrderAuthz"\xa5\x01\n\x1f\x42\x61tchCreateSpotLimitOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:>\xca\xb4-\rAuthorization\x8a\xe7\xb0*(exchange/BatchCreateSpotLimitOrdersAuthz"\x8f\x01\n\x14\x43\x61ncelSpotOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:3\xca\xb4-\rAuthorization\x8a\xe7\xb0*\x1d\x65xchange/CancelSpotOrderAuthz"\x9b\x01\n\x1a\x42\x61tchCancelSpotOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/BatchCancelSpotOrdersAuthz"\xa5\x01\n\x1f\x43reateDerivativeLimitOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:>\xca\xb4-\rAuthorization\x8a\xe7\xb0*(exchange/CreateDerivativeLimitOrderAuthz"\xa7\x01\n CreateDerivativeMarketOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:?\xca\xb4-\rAuthorization\x8a\xe7\xb0*)exchange/CreateDerivativeMarketOrderAuthz"\xb1\x01\n%BatchCreateDerivativeLimitOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:D\xca\xb4-\rAuthorization\x8a\xe7\xb0*.exchange/BatchCreateDerivativeLimitOrdersAuthz"\x9b\x01\n\x1a\x43\x61ncelDerivativeOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/CancelDerivativeOrderAuthz"\xa7\x01\n BatchCancelDerivativeOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:?\xca\xb4-\rAuthorization\x8a\xe7\xb0*)exchange/BatchCancelDerivativeOrdersAuthz"\xc6\x01\n\x16\x42\x61tchUpdateOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12!\n\x0cspot_markets\x18\x02 \x03(\tR\x0bspotMarkets\x12-\n\x12\x64\x65rivative_markets\x18\x03 \x03(\tR\x11\x64\x65rivativeMarkets:5\xca\xb4-\rAuthorization\x8a\xe7\xb0*\x1f\x65xchange/BatchUpdateOrdersAuthzB\x86\x02\n\x1e\x63om.injective.exchange.v1beta1B\nAuthzProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.authz_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.exchange.v1beta1.authz_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\nAuthzProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' - _globals['_CREATESPOTLIMITORDERAUTHZ']._loaded_options = None - _globals['_CREATESPOTLIMITORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*\"exchange/CreateSpotLimitOrderAuthz' - _globals['_CREATESPOTMARKETORDERAUTHZ']._loaded_options = None - _globals['_CREATESPOTMARKETORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*#exchange/CreateSpotMarketOrderAuthz' - _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._loaded_options = None - _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*(exchange/BatchCreateSpotLimitOrdersAuthz' - _globals['_CANCELSPOTORDERAUTHZ']._loaded_options = None - _globals['_CANCELSPOTORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*\035exchange/CancelSpotOrderAuthz' - _globals['_BATCHCANCELSPOTORDERSAUTHZ']._loaded_options = None - _globals['_BATCHCANCELSPOTORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*#exchange/BatchCancelSpotOrdersAuthz' - _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._loaded_options = None - _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*(exchange/CreateDerivativeLimitOrderAuthz' - _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._loaded_options = None - _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*)exchange/CreateDerivativeMarketOrderAuthz' - _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._loaded_options = None - _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*.exchange/BatchCreateDerivativeLimitOrdersAuthz' - _globals['_CANCELDERIVATIVEORDERAUTHZ']._loaded_options = None - _globals['_CANCELDERIVATIVEORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*#exchange/CancelDerivativeOrderAuthz' - _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._loaded_options = None - _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*)exchange/BatchCancelDerivativeOrdersAuthz' - _globals['_BATCHUPDATEORDERSAUTHZ']._loaded_options = None - _globals['_BATCHUPDATEORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*\037exchange/BatchUpdateOrdersAuthz' - _globals['_CREATESPOTLIMITORDERAUTHZ']._serialized_start=117 - _globals['_CREATESPOTLIMITORDERAUTHZ']._serialized_end=270 - _globals['_CREATESPOTMARKETORDERAUTHZ']._serialized_start=273 - _globals['_CREATESPOTMARKETORDERAUTHZ']._serialized_end=428 - _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._serialized_start=431 - _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._serialized_end=596 - _globals['_CANCELSPOTORDERAUTHZ']._serialized_start=599 - _globals['_CANCELSPOTORDERAUTHZ']._serialized_end=742 - _globals['_BATCHCANCELSPOTORDERSAUTHZ']._serialized_start=745 - _globals['_BATCHCANCELSPOTORDERSAUTHZ']._serialized_end=900 - _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._serialized_start=903 - _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._serialized_end=1068 - _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._serialized_start=1071 - _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._serialized_end=1238 - _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._serialized_start=1241 - _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._serialized_end=1418 - _globals['_CANCELDERIVATIVEORDERAUTHZ']._serialized_start=1421 - _globals['_CANCELDERIVATIVEORDERAUTHZ']._serialized_end=1576 - _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._serialized_start=1579 - _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._serialized_end=1746 - _globals['_BATCHUPDATEORDERSAUTHZ']._serialized_start=1749 - _globals['_BATCHUPDATEORDERSAUTHZ']._serialized_end=1947 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\036com.injective.exchange.v1beta1B\nAuthzProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1" + ) + _globals["_CREATESPOTLIMITORDERAUTHZ"]._loaded_options = None + _globals["_CREATESPOTLIMITORDERAUTHZ"]._serialized_options = ( + b'\312\264-\rAuthorization\212\347\260*"exchange/CreateSpotLimitOrderAuthz' + ) + _globals["_CREATESPOTMARKETORDERAUTHZ"]._loaded_options = None + _globals["_CREATESPOTMARKETORDERAUTHZ"]._serialized_options = ( + b"\312\264-\rAuthorization\212\347\260*#exchange/CreateSpotMarketOrderAuthz" + ) + _globals["_BATCHCREATESPOTLIMITORDERSAUTHZ"]._loaded_options = None + _globals["_BATCHCREATESPOTLIMITORDERSAUTHZ"]._serialized_options = ( + b"\312\264-\rAuthorization\212\347\260*(exchange/BatchCreateSpotLimitOrdersAuthz" + ) + _globals["_CANCELSPOTORDERAUTHZ"]._loaded_options = None + _globals["_CANCELSPOTORDERAUTHZ"]._serialized_options = ( + b"\312\264-\rAuthorization\212\347\260*\035exchange/CancelSpotOrderAuthz" + ) + _globals["_BATCHCANCELSPOTORDERSAUTHZ"]._loaded_options = None + _globals["_BATCHCANCELSPOTORDERSAUTHZ"]._serialized_options = ( + b"\312\264-\rAuthorization\212\347\260*#exchange/BatchCancelSpotOrdersAuthz" + ) + _globals["_CREATEDERIVATIVELIMITORDERAUTHZ"]._loaded_options = None + _globals["_CREATEDERIVATIVELIMITORDERAUTHZ"]._serialized_options = ( + b"\312\264-\rAuthorization\212\347\260*(exchange/CreateDerivativeLimitOrderAuthz" + ) + _globals["_CREATEDERIVATIVEMARKETORDERAUTHZ"]._loaded_options = None + _globals["_CREATEDERIVATIVEMARKETORDERAUTHZ"]._serialized_options = ( + b"\312\264-\rAuthorization\212\347\260*)exchange/CreateDerivativeMarketOrderAuthz" + ) + _globals["_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ"]._loaded_options = None + _globals["_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ"]._serialized_options = ( + b"\312\264-\rAuthorization\212\347\260*.exchange/BatchCreateDerivativeLimitOrdersAuthz" + ) + _globals["_CANCELDERIVATIVEORDERAUTHZ"]._loaded_options = None + _globals["_CANCELDERIVATIVEORDERAUTHZ"]._serialized_options = ( + b"\312\264-\rAuthorization\212\347\260*#exchange/CancelDerivativeOrderAuthz" + ) + _globals["_BATCHCANCELDERIVATIVEORDERSAUTHZ"]._loaded_options = None + _globals["_BATCHCANCELDERIVATIVEORDERSAUTHZ"]._serialized_options = ( + b"\312\264-\rAuthorization\212\347\260*)exchange/BatchCancelDerivativeOrdersAuthz" + ) + _globals["_BATCHUPDATEORDERSAUTHZ"]._loaded_options = None + _globals["_BATCHUPDATEORDERSAUTHZ"]._serialized_options = ( + b"\312\264-\rAuthorization\212\347\260*\037exchange/BatchUpdateOrdersAuthz" + ) + _globals["_CREATESPOTLIMITORDERAUTHZ"]._serialized_start = 117 + _globals["_CREATESPOTLIMITORDERAUTHZ"]._serialized_end = 270 + _globals["_CREATESPOTMARKETORDERAUTHZ"]._serialized_start = 273 + _globals["_CREATESPOTMARKETORDERAUTHZ"]._serialized_end = 428 + _globals["_BATCHCREATESPOTLIMITORDERSAUTHZ"]._serialized_start = 431 + _globals["_BATCHCREATESPOTLIMITORDERSAUTHZ"]._serialized_end = 596 + _globals["_CANCELSPOTORDERAUTHZ"]._serialized_start = 599 + _globals["_CANCELSPOTORDERAUTHZ"]._serialized_end = 742 + _globals["_BATCHCANCELSPOTORDERSAUTHZ"]._serialized_start = 745 + _globals["_BATCHCANCELSPOTORDERSAUTHZ"]._serialized_end = 900 + _globals["_CREATEDERIVATIVELIMITORDERAUTHZ"]._serialized_start = 903 + _globals["_CREATEDERIVATIVELIMITORDERAUTHZ"]._serialized_end = 1068 + _globals["_CREATEDERIVATIVEMARKETORDERAUTHZ"]._serialized_start = 1071 + _globals["_CREATEDERIVATIVEMARKETORDERAUTHZ"]._serialized_end = 1238 + _globals["_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ"]._serialized_start = 1241 + _globals["_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ"]._serialized_end = 1418 + _globals["_CANCELDERIVATIVEORDERAUTHZ"]._serialized_start = 1421 + _globals["_CANCELDERIVATIVEORDERAUTHZ"]._serialized_end = 1576 + _globals["_BATCHCANCELDERIVATIVEORDERSAUTHZ"]._serialized_start = 1579 + _globals["_BATCHCANCELDERIVATIVEORDERSAUTHZ"]._serialized_end = 1746 + _globals["_BATCHUPDATEORDERSAUTHZ"]._serialized_start = 1749 + _globals["_BATCHUPDATEORDERSAUTHZ"]._serialized_end = 1947 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/authz_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/authz_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/authz_pb2_grpc.py +++ b/pyinjective/proto/injective/exchange/v1beta1/authz_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py index a500fb8d..92900f3d 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,135 +16,167 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 +from pyinjective.proto.injective.exchange.v1beta1 import ( + exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/exchange/v1beta1/events.proto\x12\x1ainjective.exchange.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a)injective/exchange/v1beta1/exchange.proto\"\xdc\x01\n\x17\x45ventBatchSpotExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12O\n\rexecutionType\x18\x03 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionTypeR\rexecutionType\x12<\n\x06trades\x18\x04 \x03(\x0b\x32$.injective.exchange.v1beta1.TradeLogR\x06trades\"\xe7\x02\n\x1d\x45ventBatchDerivativeExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12%\n\x0eis_liquidation\x18\x03 \x01(\x08R\risLiquidation\x12R\n\x12\x63umulative_funding\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12O\n\rexecutionType\x18\x05 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionTypeR\rexecutionType\x12\x46\n\x06trades\x18\x06 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativeTradeLogR\x06trades\"\xc2\x02\n\x1d\x45ventLostFundsFromLiquidation\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12x\n\'lost_funds_from_available_during_payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"lostFundsFromAvailableDuringPayout\x12\x65\n\x1dlost_funds_from_order_cancels\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19lostFundsFromOrderCancels\"\x89\x01\n\x1c\x45ventBatchDerivativePosition\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\tpositions\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.SubaccountPositionR\tpositions\"\xbb\x01\n\x1b\x45ventDerivativeMarketPaused\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12.\n\x13total_missing_funds\x18\x03 \x01(\tR\x11totalMissingFunds\x12,\n\x12missing_funds_rate\x18\x04 \x01(\tR\x10missingFundsRate\"\x8f\x01\n\x1b\x45ventMarketBeyondBankruptcy\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12\x30\n\x14missing_market_funds\x18\x03 \x01(\tR\x12missingMarketFunds\"\x88\x01\n\x18\x45ventAllPositionsHaircut\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12,\n\x12missing_funds_rate\x18\x03 \x01(\tR\x10missingFundsRate\"o\n\x1e\x45ventBinaryOptionsMarketUpdate\x12M\n\x06market\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketB\x04\xc8\xde\x1f\x00R\x06market\"\xc9\x01\n\x12\x45ventNewSpotOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12I\n\nbuy_orders\x18\x02 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\tbuyOrders\x12K\n\x0bsell_orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\nsellOrders\"\xdb\x01\n\x18\x45ventNewDerivativeOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12O\n\nbuy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\tbuyOrders\x12Q\n\x0bsell_orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\nsellOrders\"{\n\x14\x45ventCancelSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\"]\n\x15\x45ventSpotMarketUpdate\x12\x44\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketB\x04\xc8\xde\x1f\x00R\x06market\"\xa7\x02\n\x1a\x45ventPerpetualMarketUpdate\x12J\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12i\n\x15perpetual_market_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x01R\x13perpetualMarketInfo\x12R\n\x07\x66unding\x18\x03 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x01R\x07\x66unding\"\xe4\x01\n\x1e\x45ventExpiryFuturesMarketUpdate\x12J\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12v\n\x1a\x65xpiry_futures_market_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x01R\x17\x65xpiryFuturesMarketInfo\"\xcc\x02\n!EventPerpetualMarketFundingUpdate\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12R\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x07\x66unding\x12*\n\x11is_hourly_funding\x18\x03 \x01(\x08R\x0fisHourlyFunding\x12\x46\n\x0c\x66unding_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x66undingRate\x12\x42\n\nmark_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\"\x97\x01\n\x16\x45ventSubaccountDeposit\x12\x1f\n\x0bsrc_address\x18\x01 \x01(\tR\nsrcAddress\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\x98\x01\n\x17\x45ventSubaccountWithdraw\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12\x1f\n\x0b\x64st_address\x18\x02 \x01(\tR\ndstAddress\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\xb1\x01\n\x1e\x45ventSubaccountBalanceTransfer\x12*\n\x11src_subaccount_id\x18\x01 \x01(\tR\x0fsrcSubaccountId\x12*\n\x11\x64st_subaccount_id\x18\x02 \x01(\tR\x0f\x64stSubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"m\n\x17\x45ventBatchDepositUpdate\x12R\n\x0f\x64\x65posit_updates\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DepositUpdateR\x0e\x64\x65positUpdates\"\xc7\x01\n\x1b\x44\x65rivativeMarketOrderCancel\x12Z\n\x0cmarket_order\x18\x01 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\x12L\n\x0f\x63\x61ncel_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x63\x61ncelQuantity\"\xa7\x02\n\x1a\x45ventCancelDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12W\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12m\n\x13market_order_cancel\x18\x04 \x01(\x0b\x32\x37.injective.exchange.v1beta1.DerivativeMarketOrderCancelB\x04\xc8\xde\x1f\x01R\x11marketOrderCancel\"g\n\x18\x45ventFeeDiscountSchedule\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x08schedule\"\xe2\x01\n EventTradingRewardCampaignUpdate\x12Z\n\rcampaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12\x62\n\x15\x63\x61mpaign_reward_pools\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools\"u\n\x1e\x45ventTradingRewardDistribution\x12S\n\x0f\x61\x63\x63ount_rewards\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.AccountRewardsR\x0e\x61\x63\x63ountRewards\"\xb5\x01\n\"EventNewConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderR\x05order\x12\x12\n\x04hash\x18\x03 \x01(\x0cR\x04hash\x12\x1b\n\tis_market\x18\x04 \x01(\x08R\x08isMarket\"\x9f\x02\n%EventCancelConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12W\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12Z\n\x0cmarket_order\x18\x04 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\"\xfb\x01\n&EventConditionalDerivativeOrderTrigger\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12&\n\x0eisLimitTrigger\x18\x02 \x01(\x08R\x0eisLimitTrigger\x12\x30\n\x14triggered_order_hash\x18\x03 \x01(\x0cR\x12triggeredOrderHash\x12*\n\x11placed_order_hash\x18\x04 \x01(\x0cR\x0fplacedOrderHash\x12.\n\x13triggered_order_cid\x18\x05 \x01(\tR\x11triggeredOrderCid\"l\n\x0e\x45ventOrderFail\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0cR\x07\x61\x63\x63ount\x12\x16\n\x06hashes\x18\x02 \x03(\x0cR\x06hashes\x12\x14\n\x05\x66lags\x18\x03 \x03(\rR\x05\x66lags\x12\x12\n\x04\x63ids\x18\x04 \x03(\tR\x04\x63ids\"\x94\x01\n+EventAtomicMarketOrderFeeMultipliersUpdated\x12\x65\n\x16market_fee_multipliers\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers\"\xc2\x01\n\x14\x45ventOrderbookUpdate\x12N\n\x0cspot_updates\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdateR\x0bspotUpdates\x12Z\n\x12\x64\x65rivative_updates\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdateR\x11\x64\x65rivativeUpdates\"h\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x43\n\torderbook\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderbookR\torderbook\"\xae\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12@\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\tbuyLevels\x12\x42\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\nsellLevels\"|\n\x18\x45ventGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants\"\x81\x01\n\x14\x45ventGrantActivation\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"G\n\x11\x45ventInvalidGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\"\xab\x01\n\x14\x45ventOrderCancelFail\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scriptionB\x87\x02\n\x1e\x63om.injective.exchange.v1beta1B\x0b\x45ventsProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\'injective/exchange/v1beta1/events.proto\x12\x1ainjective.exchange.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a)injective/exchange/v1beta1/exchange.proto"\xdc\x01\n\x17\x45ventBatchSpotExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12O\n\rexecutionType\x18\x03 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionTypeR\rexecutionType\x12<\n\x06trades\x18\x04 \x03(\x0b\x32$.injective.exchange.v1beta1.TradeLogR\x06trades"\xe7\x02\n\x1d\x45ventBatchDerivativeExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12%\n\x0eis_liquidation\x18\x03 \x01(\x08R\risLiquidation\x12R\n\x12\x63umulative_funding\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12O\n\rexecutionType\x18\x05 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionTypeR\rexecutionType\x12\x46\n\x06trades\x18\x06 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativeTradeLogR\x06trades"\xc2\x02\n\x1d\x45ventLostFundsFromLiquidation\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12x\n\'lost_funds_from_available_during_payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR"lostFundsFromAvailableDuringPayout\x12\x65\n\x1dlost_funds_from_order_cancels\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19lostFundsFromOrderCancels"\x89\x01\n\x1c\x45ventBatchDerivativePosition\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\tpositions\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.SubaccountPositionR\tpositions"\xbb\x01\n\x1b\x45ventDerivativeMarketPaused\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12.\n\x13total_missing_funds\x18\x03 \x01(\tR\x11totalMissingFunds\x12,\n\x12missing_funds_rate\x18\x04 \x01(\tR\x10missingFundsRate"\x8f\x01\n\x1b\x45ventMarketBeyondBankruptcy\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12\x30\n\x14missing_market_funds\x18\x03 \x01(\tR\x12missingMarketFunds"\x88\x01\n\x18\x45ventAllPositionsHaircut\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12,\n\x12missing_funds_rate\x18\x03 \x01(\tR\x10missingFundsRate"o\n\x1e\x45ventBinaryOptionsMarketUpdate\x12M\n\x06market\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketB\x04\xc8\xde\x1f\x00R\x06market"\xc9\x01\n\x12\x45ventNewSpotOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12I\n\nbuy_orders\x18\x02 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\tbuyOrders\x12K\n\x0bsell_orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\nsellOrders"\xdb\x01\n\x18\x45ventNewDerivativeOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12O\n\nbuy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\tbuyOrders\x12Q\n\x0bsell_orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\nsellOrders"{\n\x14\x45ventCancelSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order"]\n\x15\x45ventSpotMarketUpdate\x12\x44\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketB\x04\xc8\xde\x1f\x00R\x06market"\xa7\x02\n\x1a\x45ventPerpetualMarketUpdate\x12J\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12i\n\x15perpetual_market_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x01R\x13perpetualMarketInfo\x12R\n\x07\x66unding\x18\x03 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x01R\x07\x66unding"\xe4\x01\n\x1e\x45ventExpiryFuturesMarketUpdate\x12J\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12v\n\x1a\x65xpiry_futures_market_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x01R\x17\x65xpiryFuturesMarketInfo"\xcc\x02\n!EventPerpetualMarketFundingUpdate\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12R\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x07\x66unding\x12*\n\x11is_hourly_funding\x18\x03 \x01(\x08R\x0fisHourlyFunding\x12\x46\n\x0c\x66unding_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x66undingRate\x12\x42\n\nmark_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice"\x97\x01\n\x16\x45ventSubaccountDeposit\x12\x1f\n\x0bsrc_address\x18\x01 \x01(\tR\nsrcAddress\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"\x98\x01\n\x17\x45ventSubaccountWithdraw\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12\x1f\n\x0b\x64st_address\x18\x02 \x01(\tR\ndstAddress\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"\xb1\x01\n\x1e\x45ventSubaccountBalanceTransfer\x12*\n\x11src_subaccount_id\x18\x01 \x01(\tR\x0fsrcSubaccountId\x12*\n\x11\x64st_subaccount_id\x18\x02 \x01(\tR\x0f\x64stSubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"m\n\x17\x45ventBatchDepositUpdate\x12R\n\x0f\x64\x65posit_updates\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DepositUpdateR\x0e\x64\x65positUpdates"\xc7\x01\n\x1b\x44\x65rivativeMarketOrderCancel\x12Z\n\x0cmarket_order\x18\x01 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\x12L\n\x0f\x63\x61ncel_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x63\x61ncelQuantity"\xa7\x02\n\x1a\x45ventCancelDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12W\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12m\n\x13market_order_cancel\x18\x04 \x01(\x0b\x32\x37.injective.exchange.v1beta1.DerivativeMarketOrderCancelB\x04\xc8\xde\x1f\x01R\x11marketOrderCancel"g\n\x18\x45ventFeeDiscountSchedule\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x08schedule"\xe2\x01\n EventTradingRewardCampaignUpdate\x12Z\n\rcampaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12\x62\n\x15\x63\x61mpaign_reward_pools\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools"u\n\x1e\x45ventTradingRewardDistribution\x12S\n\x0f\x61\x63\x63ount_rewards\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.AccountRewardsR\x0e\x61\x63\x63ountRewards"\xb5\x01\n"EventNewConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderR\x05order\x12\x12\n\x04hash\x18\x03 \x01(\x0cR\x04hash\x12\x1b\n\tis_market\x18\x04 \x01(\x08R\x08isMarket"\x9f\x02\n%EventCancelConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12W\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12Z\n\x0cmarket_order\x18\x04 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder"\xfb\x01\n&EventConditionalDerivativeOrderTrigger\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12&\n\x0eisLimitTrigger\x18\x02 \x01(\x08R\x0eisLimitTrigger\x12\x30\n\x14triggered_order_hash\x18\x03 \x01(\x0cR\x12triggeredOrderHash\x12*\n\x11placed_order_hash\x18\x04 \x01(\x0cR\x0fplacedOrderHash\x12.\n\x13triggered_order_cid\x18\x05 \x01(\tR\x11triggeredOrderCid"l\n\x0e\x45ventOrderFail\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0cR\x07\x61\x63\x63ount\x12\x16\n\x06hashes\x18\x02 \x03(\x0cR\x06hashes\x12\x14\n\x05\x66lags\x18\x03 \x03(\rR\x05\x66lags\x12\x12\n\x04\x63ids\x18\x04 \x03(\tR\x04\x63ids"\x94\x01\n+EventAtomicMarketOrderFeeMultipliersUpdated\x12\x65\n\x16market_fee_multipliers\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers"\xc2\x01\n\x14\x45ventOrderbookUpdate\x12N\n\x0cspot_updates\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdateR\x0bspotUpdates\x12Z\n\x12\x64\x65rivative_updates\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdateR\x11\x64\x65rivativeUpdates"h\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x43\n\torderbook\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderbookR\torderbook"\xae\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12@\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\tbuyLevels\x12\x42\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\nsellLevels"|\n\x18\x45ventGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants"\x81\x01\n\x14\x45ventGrantActivation\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount"G\n\x11\x45ventInvalidGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter"\xab\x01\n\x14\x45ventOrderCancelFail\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scriptionB\x87\x02\n\x1e\x63om.injective.exchange.v1beta1B\x0b\x45ventsProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.events_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.exchange.v1beta1.events_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\013EventsProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' - _globals['_EVENTBATCHDERIVATIVEEXECUTION'].fields_by_name['cumulative_funding']._loaded_options = None - _globals['_EVENTBATCHDERIVATIVEEXECUTION'].fields_by_name['cumulative_funding']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_available_during_payout']._loaded_options = None - _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_available_during_payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_order_cancels']._loaded_options = None - _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_order_cancels']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EVENTBINARYOPTIONSMARKETUPDATE'].fields_by_name['market']._loaded_options = None - _globals['_EVENTBINARYOPTIONSMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' - _globals['_EVENTCANCELSPOTORDER'].fields_by_name['order']._loaded_options = None - _globals['_EVENTCANCELSPOTORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_EVENTSPOTMARKETUPDATE'].fields_by_name['market']._loaded_options = None - _globals['_EVENTSPOTMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' - _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['market']._loaded_options = None - _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' - _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['perpetual_market_info']._loaded_options = None - _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['perpetual_market_info']._serialized_options = b'\310\336\037\001' - _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['funding']._loaded_options = None - _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['funding']._serialized_options = b'\310\336\037\001' - _globals['_EVENTEXPIRYFUTURESMARKETUPDATE'].fields_by_name['market']._loaded_options = None - _globals['_EVENTEXPIRYFUTURESMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' - _globals['_EVENTEXPIRYFUTURESMARKETUPDATE'].fields_by_name['expiry_futures_market_info']._loaded_options = None - _globals['_EVENTEXPIRYFUTURESMARKETUPDATE'].fields_by_name['expiry_futures_market_info']._serialized_options = b'\310\336\037\001' - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['funding']._loaded_options = None - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['funding']._serialized_options = b'\310\336\037\000' - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['funding_rate']._loaded_options = None - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['funding_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['mark_price']._loaded_options = None - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['mark_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EVENTSUBACCOUNTDEPOSIT'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTSUBACCOUNTDEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_EVENTSUBACCOUNTWITHDRAW'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTSUBACCOUNTWITHDRAW'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_EVENTSUBACCOUNTBALANCETRANSFER'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTSUBACCOUNTBALANCETRANSFER'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['market_order']._loaded_options = None - _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['market_order']._serialized_options = b'\310\336\037\001' - _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['cancel_quantity']._loaded_options = None - _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['cancel_quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EVENTCANCELDERIVATIVEORDER'].fields_by_name['limit_order']._loaded_options = None - _globals['_EVENTCANCELDERIVATIVEORDER'].fields_by_name['limit_order']._serialized_options = b'\310\336\037\001' - _globals['_EVENTCANCELDERIVATIVEORDER'].fields_by_name['market_order_cancel']._loaded_options = None - _globals['_EVENTCANCELDERIVATIVEORDER'].fields_by_name['market_order_cancel']._serialized_options = b'\310\336\037\001' - _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER'].fields_by_name['limit_order']._loaded_options = None - _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER'].fields_by_name['limit_order']._serialized_options = b'\310\336\037\001' - _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER'].fields_by_name['market_order']._loaded_options = None - _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER'].fields_by_name['market_order']._serialized_options = b'\310\336\037\001' - _globals['_EVENTGRANTACTIVATION'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTGRANTACTIVATION'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_EVENTBATCHSPOTEXECUTION']._serialized_start=208 - _globals['_EVENTBATCHSPOTEXECUTION']._serialized_end=428 - _globals['_EVENTBATCHDERIVATIVEEXECUTION']._serialized_start=431 - _globals['_EVENTBATCHDERIVATIVEEXECUTION']._serialized_end=790 - _globals['_EVENTLOSTFUNDSFROMLIQUIDATION']._serialized_start=793 - _globals['_EVENTLOSTFUNDSFROMLIQUIDATION']._serialized_end=1115 - _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_start=1118 - _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_end=1255 - _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_start=1258 - _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_end=1445 - _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_start=1448 - _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_end=1591 - _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_start=1594 - _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_end=1730 - _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_start=1732 - _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_end=1843 - _globals['_EVENTNEWSPOTORDERS']._serialized_start=1846 - _globals['_EVENTNEWSPOTORDERS']._serialized_end=2047 - _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_start=2050 - _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_end=2269 - _globals['_EVENTCANCELSPOTORDER']._serialized_start=2271 - _globals['_EVENTCANCELSPOTORDER']._serialized_end=2394 - _globals['_EVENTSPOTMARKETUPDATE']._serialized_start=2396 - _globals['_EVENTSPOTMARKETUPDATE']._serialized_end=2489 - _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_start=2492 - _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_end=2787 - _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_start=2790 - _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_end=3018 - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_start=3021 - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_end=3353 - _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_start=3356 - _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_end=3507 - _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_start=3510 - _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_end=3662 - _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_start=3665 - _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_end=3842 - _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_start=3844 - _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_end=3953 - _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_start=3956 - _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_end=4155 - _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_start=4158 - _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_end=4453 - _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_start=4455 - _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_end=4558 - _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_start=4561 - _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_end=4787 - _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_start=4789 - _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_end=4906 - _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_start=4909 - _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_end=5090 - _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_start=5093 - _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_end=5380 - _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_start=5383 - _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_end=5634 - _globals['_EVENTORDERFAIL']._serialized_start=5636 - _globals['_EVENTORDERFAIL']._serialized_end=5744 - _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_start=5747 - _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_end=5895 - _globals['_EVENTORDERBOOKUPDATE']._serialized_start=5898 - _globals['_EVENTORDERBOOKUPDATE']._serialized_end=6092 - _globals['_ORDERBOOKUPDATE']._serialized_start=6094 - _globals['_ORDERBOOKUPDATE']._serialized_end=6198 - _globals['_ORDERBOOK']._serialized_start=6201 - _globals['_ORDERBOOK']._serialized_end=6375 - _globals['_EVENTGRANTAUTHORIZATIONS']._serialized_start=6377 - _globals['_EVENTGRANTAUTHORIZATIONS']._serialized_end=6501 - _globals['_EVENTGRANTACTIVATION']._serialized_start=6504 - _globals['_EVENTGRANTACTIVATION']._serialized_end=6633 - _globals['_EVENTINVALIDGRANT']._serialized_start=6635 - _globals['_EVENTINVALIDGRANT']._serialized_end=6706 - _globals['_EVENTORDERCANCELFAIL']._serialized_start=6709 - _globals['_EVENTORDERCANCELFAIL']._serialized_end=6880 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\036com.injective.exchange.v1beta1B\013EventsProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1" + ) + _globals["_EVENTBATCHDERIVATIVEEXECUTION"].fields_by_name["cumulative_funding"]._loaded_options = None + _globals["_EVENTBATCHDERIVATIVEEXECUTION"].fields_by_name[ + "cumulative_funding" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_EVENTLOSTFUNDSFROMLIQUIDATION"].fields_by_name[ + "lost_funds_from_available_during_payout" + ]._loaded_options = None + _globals["_EVENTLOSTFUNDSFROMLIQUIDATION"].fields_by_name[ + "lost_funds_from_available_during_payout" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_EVENTLOSTFUNDSFROMLIQUIDATION"].fields_by_name["lost_funds_from_order_cancels"]._loaded_options = None + _globals["_EVENTLOSTFUNDSFROMLIQUIDATION"].fields_by_name[ + "lost_funds_from_order_cancels" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_EVENTBINARYOPTIONSMARKETUPDATE"].fields_by_name["market"]._loaded_options = None + _globals["_EVENTBINARYOPTIONSMARKETUPDATE"].fields_by_name["market"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTCANCELSPOTORDER"].fields_by_name["order"]._loaded_options = None + _globals["_EVENTCANCELSPOTORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTSPOTMARKETUPDATE"].fields_by_name["market"]._loaded_options = None + _globals["_EVENTSPOTMARKETUPDATE"].fields_by_name["market"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTPERPETUALMARKETUPDATE"].fields_by_name["market"]._loaded_options = None + _globals["_EVENTPERPETUALMARKETUPDATE"].fields_by_name["market"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTPERPETUALMARKETUPDATE"].fields_by_name["perpetual_market_info"]._loaded_options = None + _globals["_EVENTPERPETUALMARKETUPDATE"].fields_by_name[ + "perpetual_market_info" + ]._serialized_options = b"\310\336\037\001" + _globals["_EVENTPERPETUALMARKETUPDATE"].fields_by_name["funding"]._loaded_options = None + _globals["_EVENTPERPETUALMARKETUPDATE"].fields_by_name["funding"]._serialized_options = b"\310\336\037\001" + _globals["_EVENTEXPIRYFUTURESMARKETUPDATE"].fields_by_name["market"]._loaded_options = None + _globals["_EVENTEXPIRYFUTURESMARKETUPDATE"].fields_by_name["market"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTEXPIRYFUTURESMARKETUPDATE"].fields_by_name["expiry_futures_market_info"]._loaded_options = None + _globals["_EVENTEXPIRYFUTURESMARKETUPDATE"].fields_by_name[ + "expiry_futures_market_info" + ]._serialized_options = b"\310\336\037\001" + _globals["_EVENTPERPETUALMARKETFUNDINGUPDATE"].fields_by_name["funding"]._loaded_options = None + _globals["_EVENTPERPETUALMARKETFUNDINGUPDATE"].fields_by_name["funding"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTPERPETUALMARKETFUNDINGUPDATE"].fields_by_name["funding_rate"]._loaded_options = None + _globals["_EVENTPERPETUALMARKETFUNDINGUPDATE"].fields_by_name[ + "funding_rate" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_EVENTPERPETUALMARKETFUNDINGUPDATE"].fields_by_name["mark_price"]._loaded_options = None + _globals["_EVENTPERPETUALMARKETFUNDINGUPDATE"].fields_by_name[ + "mark_price" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_EVENTSUBACCOUNTDEPOSIT"].fields_by_name["amount"]._loaded_options = None + _globals["_EVENTSUBACCOUNTDEPOSIT"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTSUBACCOUNTWITHDRAW"].fields_by_name["amount"]._loaded_options = None + _globals["_EVENTSUBACCOUNTWITHDRAW"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTSUBACCOUNTBALANCETRANSFER"].fields_by_name["amount"]._loaded_options = None + _globals["_EVENTSUBACCOUNTBALANCETRANSFER"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" + _globals["_DERIVATIVEMARKETORDERCANCEL"].fields_by_name["market_order"]._loaded_options = None + _globals["_DERIVATIVEMARKETORDERCANCEL"].fields_by_name["market_order"]._serialized_options = b"\310\336\037\001" + _globals["_DERIVATIVEMARKETORDERCANCEL"].fields_by_name["cancel_quantity"]._loaded_options = None + _globals["_DERIVATIVEMARKETORDERCANCEL"].fields_by_name[ + "cancel_quantity" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_EVENTCANCELDERIVATIVEORDER"].fields_by_name["limit_order"]._loaded_options = None + _globals["_EVENTCANCELDERIVATIVEORDER"].fields_by_name["limit_order"]._serialized_options = b"\310\336\037\001" + _globals["_EVENTCANCELDERIVATIVEORDER"].fields_by_name["market_order_cancel"]._loaded_options = None + _globals["_EVENTCANCELDERIVATIVEORDER"].fields_by_name[ + "market_order_cancel" + ]._serialized_options = b"\310\336\037\001" + _globals["_EVENTCANCELCONDITIONALDERIVATIVEORDER"].fields_by_name["limit_order"]._loaded_options = None + _globals["_EVENTCANCELCONDITIONALDERIVATIVEORDER"].fields_by_name[ + "limit_order" + ]._serialized_options = b"\310\336\037\001" + _globals["_EVENTCANCELCONDITIONALDERIVATIVEORDER"].fields_by_name["market_order"]._loaded_options = None + _globals["_EVENTCANCELCONDITIONALDERIVATIVEORDER"].fields_by_name[ + "market_order" + ]._serialized_options = b"\310\336\037\001" + _globals["_EVENTGRANTACTIVATION"].fields_by_name["amount"]._loaded_options = None + _globals["_EVENTGRANTACTIVATION"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_EVENTBATCHSPOTEXECUTION"]._serialized_start = 208 + _globals["_EVENTBATCHSPOTEXECUTION"]._serialized_end = 428 + _globals["_EVENTBATCHDERIVATIVEEXECUTION"]._serialized_start = 431 + _globals["_EVENTBATCHDERIVATIVEEXECUTION"]._serialized_end = 790 + _globals["_EVENTLOSTFUNDSFROMLIQUIDATION"]._serialized_start = 793 + _globals["_EVENTLOSTFUNDSFROMLIQUIDATION"]._serialized_end = 1115 + _globals["_EVENTBATCHDERIVATIVEPOSITION"]._serialized_start = 1118 + _globals["_EVENTBATCHDERIVATIVEPOSITION"]._serialized_end = 1255 + _globals["_EVENTDERIVATIVEMARKETPAUSED"]._serialized_start = 1258 + _globals["_EVENTDERIVATIVEMARKETPAUSED"]._serialized_end = 1445 + _globals["_EVENTMARKETBEYONDBANKRUPTCY"]._serialized_start = 1448 + _globals["_EVENTMARKETBEYONDBANKRUPTCY"]._serialized_end = 1591 + _globals["_EVENTALLPOSITIONSHAIRCUT"]._serialized_start = 1594 + _globals["_EVENTALLPOSITIONSHAIRCUT"]._serialized_end = 1730 + _globals["_EVENTBINARYOPTIONSMARKETUPDATE"]._serialized_start = 1732 + _globals["_EVENTBINARYOPTIONSMARKETUPDATE"]._serialized_end = 1843 + _globals["_EVENTNEWSPOTORDERS"]._serialized_start = 1846 + _globals["_EVENTNEWSPOTORDERS"]._serialized_end = 2047 + _globals["_EVENTNEWDERIVATIVEORDERS"]._serialized_start = 2050 + _globals["_EVENTNEWDERIVATIVEORDERS"]._serialized_end = 2269 + _globals["_EVENTCANCELSPOTORDER"]._serialized_start = 2271 + _globals["_EVENTCANCELSPOTORDER"]._serialized_end = 2394 + _globals["_EVENTSPOTMARKETUPDATE"]._serialized_start = 2396 + _globals["_EVENTSPOTMARKETUPDATE"]._serialized_end = 2489 + _globals["_EVENTPERPETUALMARKETUPDATE"]._serialized_start = 2492 + _globals["_EVENTPERPETUALMARKETUPDATE"]._serialized_end = 2787 + _globals["_EVENTEXPIRYFUTURESMARKETUPDATE"]._serialized_start = 2790 + _globals["_EVENTEXPIRYFUTURESMARKETUPDATE"]._serialized_end = 3018 + _globals["_EVENTPERPETUALMARKETFUNDINGUPDATE"]._serialized_start = 3021 + _globals["_EVENTPERPETUALMARKETFUNDINGUPDATE"]._serialized_end = 3353 + _globals["_EVENTSUBACCOUNTDEPOSIT"]._serialized_start = 3356 + _globals["_EVENTSUBACCOUNTDEPOSIT"]._serialized_end = 3507 + _globals["_EVENTSUBACCOUNTWITHDRAW"]._serialized_start = 3510 + _globals["_EVENTSUBACCOUNTWITHDRAW"]._serialized_end = 3662 + _globals["_EVENTSUBACCOUNTBALANCETRANSFER"]._serialized_start = 3665 + _globals["_EVENTSUBACCOUNTBALANCETRANSFER"]._serialized_end = 3842 + _globals["_EVENTBATCHDEPOSITUPDATE"]._serialized_start = 3844 + _globals["_EVENTBATCHDEPOSITUPDATE"]._serialized_end = 3953 + _globals["_DERIVATIVEMARKETORDERCANCEL"]._serialized_start = 3956 + _globals["_DERIVATIVEMARKETORDERCANCEL"]._serialized_end = 4155 + _globals["_EVENTCANCELDERIVATIVEORDER"]._serialized_start = 4158 + _globals["_EVENTCANCELDERIVATIVEORDER"]._serialized_end = 4453 + _globals["_EVENTFEEDISCOUNTSCHEDULE"]._serialized_start = 4455 + _globals["_EVENTFEEDISCOUNTSCHEDULE"]._serialized_end = 4558 + _globals["_EVENTTRADINGREWARDCAMPAIGNUPDATE"]._serialized_start = 4561 + _globals["_EVENTTRADINGREWARDCAMPAIGNUPDATE"]._serialized_end = 4787 + _globals["_EVENTTRADINGREWARDDISTRIBUTION"]._serialized_start = 4789 + _globals["_EVENTTRADINGREWARDDISTRIBUTION"]._serialized_end = 4906 + _globals["_EVENTNEWCONDITIONALDERIVATIVEORDER"]._serialized_start = 4909 + _globals["_EVENTNEWCONDITIONALDERIVATIVEORDER"]._serialized_end = 5090 + _globals["_EVENTCANCELCONDITIONALDERIVATIVEORDER"]._serialized_start = 5093 + _globals["_EVENTCANCELCONDITIONALDERIVATIVEORDER"]._serialized_end = 5380 + _globals["_EVENTCONDITIONALDERIVATIVEORDERTRIGGER"]._serialized_start = 5383 + _globals["_EVENTCONDITIONALDERIVATIVEORDERTRIGGER"]._serialized_end = 5634 + _globals["_EVENTORDERFAIL"]._serialized_start = 5636 + _globals["_EVENTORDERFAIL"]._serialized_end = 5744 + _globals["_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED"]._serialized_start = 5747 + _globals["_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED"]._serialized_end = 5895 + _globals["_EVENTORDERBOOKUPDATE"]._serialized_start = 5898 + _globals["_EVENTORDERBOOKUPDATE"]._serialized_end = 6092 + _globals["_ORDERBOOKUPDATE"]._serialized_start = 6094 + _globals["_ORDERBOOKUPDATE"]._serialized_end = 6198 + _globals["_ORDERBOOK"]._serialized_start = 6201 + _globals["_ORDERBOOK"]._serialized_end = 6375 + _globals["_EVENTGRANTAUTHORIZATIONS"]._serialized_start = 6377 + _globals["_EVENTGRANTAUTHORIZATIONS"]._serialized_end = 6501 + _globals["_EVENTGRANTACTIVATION"]._serialized_start = 6504 + _globals["_EVENTGRANTACTIVATION"]._serialized_end = 6633 + _globals["_EVENTINVALIDGRANT"]._serialized_start = 6635 + _globals["_EVENTINVALIDGRANT"]._serialized_end = 6706 + _globals["_EVENTORDERCANCELFAIL"]._serialized_start = 6709 + _globals["_EVENTORDERCANCELFAIL"]._serialized_end = 6880 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/events_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/events_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/events_pb2_grpc.py +++ b/pyinjective/proto/injective/exchange/v1beta1/events_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py index 7c6af0b8..9e397ef8 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,402 +19,616 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -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\x1a\x11\x61mino/amino.proto\"\xdd\x15\n\x06Params\x12\x65\n\x1fspot_market_instant_listing_fee\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x1bspotMarketInstantListingFee\x12q\n%derivative_market_instant_listing_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R!derivativeMarketInstantListingFee\x12\x61\n\x1b\x64\x65\x66\x61ult_spot_maker_fee_rate\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17\x64\x65\x66\x61ultSpotMakerFeeRate\x12\x61\n\x1b\x64\x65\x66\x61ult_spot_taker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17\x64\x65\x66\x61ultSpotTakerFeeRate\x12m\n!default_derivative_maker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultDerivativeMakerFeeRate\x12m\n!default_derivative_taker_fee_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultDerivativeTakerFeeRate\x12\x64\n\x1c\x64\x65\x66\x61ult_initial_margin_ratio\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19\x64\x65\x66\x61ultInitialMarginRatio\x12l\n default_maintenance_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultMaintenanceMarginRatio\x12\x38\n\x18\x64\x65\x66\x61ult_funding_interval\x18\t \x01(\x03R\x16\x64\x65\x66\x61ultFundingInterval\x12)\n\x10\x66unding_multiple\x18\n \x01(\x03R\x0f\x66undingMultiple\x12X\n\x16relayer_fee_share_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12i\n\x1f\x64\x65\x66\x61ult_hourly_funding_rate_cap\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1b\x64\x65\x66\x61ultHourlyFundingRateCap\x12\x64\n\x1c\x64\x65\x66\x61ult_hourly_interest_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19\x64\x65\x66\x61ultHourlyInterestRate\x12\x44\n\x1fmax_derivative_order_side_count\x18\x0e \x01(\rR\x1bmaxDerivativeOrderSideCount\x12s\n\'inj_reward_staked_requirement_threshold\x18\x0f \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR#injRewardStakedRequirementThreshold\x12G\n trading_rewards_vesting_duration\x18\x10 \x01(\x03R\x1dtradingRewardsVestingDuration\x12\x64\n\x1cliquidator_reward_share_rate\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19liquidatorRewardShareRate\x12x\n)binary_options_market_instant_listing_fee\x18\x12 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R$binaryOptionsMarketInstantListingFee\x12\x80\x01\n atomic_market_order_access_level\x18\x13 \x01(\x0e\x32\x38.injective.exchange.v1beta1.AtomicMarketOrderAccessLevelR\x1c\x61tomicMarketOrderAccessLevel\x12x\n\'spot_atomic_market_order_fee_multiplier\x18\x14 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"spotAtomicMarketOrderFeeMultiplier\x12\x84\x01\n-derivative_atomic_market_order_fee_multiplier\x18\x15 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR(derivativeAtomicMarketOrderFeeMultiplier\x12\x8b\x01\n1binary_options_atomic_market_order_fee_multiplier\x18\x16 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR+binaryOptionsAtomicMarketOrderFeeMultiplier\x12^\n\x19minimal_protocol_fee_rate\x18\x17 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16minimalProtocolFeeRate\x12[\n+is_instant_derivative_market_launch_enabled\x18\x18 \x01(\x08R&isInstantDerivativeMarketLaunchEnabled\x12\x44\n\x1fpost_only_mode_height_threshold\x18\x19 \x01(\x03R\x1bpostOnlyModeHeightThreshold\x12g\n1margin_decrease_price_timestamp_threshold_seconds\x18\x1a \x01(\x03R,marginDecreasePriceTimestampThresholdSeconds\x12\'\n\x0f\x65xchange_admins\x18\x1b \x03(\tR\x0e\x65xchangeAdmins\x12L\n\x13inj_auction_max_cap\x18\x1c \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10injAuctionMaxCap:\x18\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0f\x65xchange/Params\"\x84\x01\n\x13MarketFeeMultiplier\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\x0e\x66\x65\x65_multiplier\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rfeeMultiplier:\x04\x88\xa0\x1f\x00\"\xec\x08\n\x10\x44\x65rivativeMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1f\n\x0boracle_base\x18\x02 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x03 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x05 \x01(\rR\x11oracleScaleFactor\x12\x1f\n\x0bquote_denom\x18\x06 \x01(\tR\nquoteDenom\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12U\n\x14initial_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12 \n\x0bisPerpetual\x18\r \x01(\x08R\x0bisPerpetual\x12@\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x14\n\x05\x61\x64min\x18\x12 \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\x13 \x01(\rR\x10\x61\x64minPermissions:\x04\x88\xa0\x1f\x00\"\xd7\x08\n\x13\x42inaryOptionsMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x02 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x03 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x05 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x06 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\x07 \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\x08 \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\t \x01(\tR\nquoteDenom\x12\x1b\n\tmarket_id\x18\n \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12@\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12N\n\x10settlement_price\x18\x11 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x46\n\x0cmin_notional\x18\x12 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12+\n\x11\x61\x64min_permissions\x18\x13 \x01(\rR\x10\x61\x64minPermissions:\x04\x88\xa0\x1f\x00\"\xe4\x02\n\x17\x45xpiryFuturesMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x31\n\x14\x65xpiration_timestamp\x18\x02 \x01(\x03R\x13\x65xpirationTimestamp\x12\x30\n\x14twap_start_timestamp\x18\x03 \x01(\x03R\x12twapStartTimestamp\x12w\n&expiration_twap_start_price_cumulative\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"expirationTwapStartPriceCumulative\x12N\n\x10settlement_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\"\xc6\x02\n\x13PerpetualMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Z\n\x17hourly_funding_rate_cap\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14hourlyFundingRateCap\x12U\n\x14hourly_interest_rate\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12hourlyInterestRate\x12\x34\n\x16next_funding_timestamp\x18\x04 \x01(\x03R\x14nextFundingTimestamp\x12)\n\x10\x66unding_interval\x18\x05 \x01(\x03R\x0f\x66undingInterval\"\xe3\x01\n\x16PerpetualMarketFunding\x12R\n\x12\x63umulative_funding\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12N\n\x10\x63umulative_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x63umulativePrice\x12%\n\x0elast_timestamp\x18\x03 \x01(\x03R\rlastTimestamp\"\x8d\x01\n\x1e\x44\x65rivativeMarketSettlementInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\"=\n\x14NextFundingTimestamp\x12%\n\x0enext_timestamp\x18\x01 \x01(\x03R\rnextTimestamp\"\xea\x01\n\x0eMidPriceAndTOB\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"\xec\x05\n\nSpotMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x02 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12@\n\x06status\x18\x08 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x14\n\x05\x61\x64min\x18\x0c \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\r \x01(\rR\x10\x61\x64minPermissions\"\xa5\x01\n\x07\x44\x65posit\x12P\n\x11\x61vailable_balance\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10\x61vailableBalance\x12H\n\rtotal_balance\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctotalBalance\",\n\x14SubaccountTradeNonce\x12\x14\n\x05nonce\x18\x01 \x01(\rR\x05nonce\"\xe3\x01\n\tOrderInfo\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12#\n\rfee_recipient\x18\x02 \x01(\tR\x0c\x66\x65\x65Recipient\x12\x39\n\x05price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id\"\x84\x02\n\tSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12H\n\rtrigger_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\"\xcc\x02\n\x0eSpotLimitOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12?\n\x08\x66illable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12H\n\rtrigger_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\"\xd4\x02\n\x0fSpotMarketOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x46\n\x0c\x62\x61lance_hold\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\x12\x1d\n\norder_hash\x18\x03 \x01(\x0cR\torderHash\x12\x44\n\norder_type\x18\x04 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\"\xc7\x02\n\x0f\x44\x65rivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\"\xfc\x03\n\x1bSubaccountOrderbookMetadata\x12\x39\n\x19vanilla_limit_order_count\x18\x01 \x01(\rR\x16vanillaLimitOrderCount\x12@\n\x1dreduce_only_limit_order_count\x18\x02 \x01(\rR\x19reduceOnlyLimitOrderCount\x12h\n\x1e\x61ggregate_reduce_only_quantity\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1b\x61ggregateReduceOnlyQuantity\x12\x61\n\x1a\x61ggregate_vanilla_quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x18\x61ggregateVanillaQuantity\x12\x45\n\x1fvanilla_conditional_order_count\x18\x05 \x01(\rR\x1cvanillaConditionalOrderCount\x12L\n#reduce_only_conditional_order_count\x18\x06 \x01(\rR\x1freduceOnlyConditionalOrderCount\"\xc3\x01\n\x0fSubaccountOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\"\n\x0cisReduceOnly\x18\x03 \x01(\x08R\x0cisReduceOnly\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id\"w\n\x13SubaccountOrderData\x12\x41\n\x05order\x18\x01 \x01(\x0b\x32+.injective.exchange.v1beta1.SubaccountOrderR\x05order\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\"\x8f\x03\n\x14\x44\x65rivativeLimitOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12?\n\x08\x66illable\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x06 \x01(\x0cR\torderHash\"\x95\x03\n\x15\x44\x65rivativeMarketOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12\x44\n\x0bmargin_hold\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nmarginHold\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x06 \x01(\x0cR\torderHash\"\xc5\x02\n\x08Position\x12\x16\n\x06isLong\x18\x01 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12;\n\x06margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12]\n\x18\x63umulative_funding_entry\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16\x63umulativeFundingEntry\"I\n\x14MarketOrderIndicator\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05isBuy\x18\x02 \x01(\x08R\x05isBuy\"\xcd\x02\n\x08TradeLog\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12#\n\rsubaccount_id\x18\x03 \x01(\x0cR\x0csubaccountId\x12\x35\n\x03\x66\x65\x65\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\"\x9a\x02\n\rPositionDelta\x12\x17\n\x07is_long\x18\x01 \x01(\x08R\x06isLong\x12R\n\x12\x65xecution_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x65xecutionQuantity\x12N\n\x10\x65xecution_margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65xecutionMargin\x12L\n\x0f\x65xecution_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x65xecutionPrice\"\xa1\x03\n\x12\x44\x65rivativeTradeLog\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12P\n\x0eposition_delta\x18\x02 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaR\rpositionDelta\x12;\n\x06payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout\x12\x35\n\x03\x66\x65\x65\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\x12\x35\n\x03pnl\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03pnl\"{\n\x12SubaccountPosition\x12@\n\x08position\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionR\x08position\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\"w\n\x11SubaccountDeposit\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12=\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x07\x64\x65posit\"p\n\rDepositUpdate\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12I\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.SubaccountDepositR\x08\x64\x65posits\"\xcc\x01\n\x10PointsMultiplier\x12[\n\x17maker_points_multiplier\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15makerPointsMultiplier\x12[\n\x17taker_points_multiplier\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15takerPointsMultiplier\"\xfe\x02\n\x1eTradingRewardCampaignBoostInfo\x12\x35\n\x17\x62oosted_spot_market_ids\x18\x01 \x03(\tR\x14\x62oostedSpotMarketIds\x12j\n\x17spot_market_multipliers\x18\x02 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00R\x15spotMarketMultipliers\x12\x41\n\x1d\x62oosted_derivative_market_ids\x18\x03 \x03(\tR\x1a\x62oostedDerivativeMarketIds\x12v\n\x1d\x64\x65rivative_market_multipliers\x18\x04 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00R\x1b\x64\x65rivativeMarketMultipliers\"\xbc\x01\n\x12\x43\x61mpaignRewardPool\x12\'\n\x0fstart_timestamp\x18\x01 \x01(\x03R\x0estartTimestamp\x12}\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.CoinsR\x12maxCampaignRewards\"\xa9\x02\n\x19TradingRewardCampaignInfo\x12:\n\x19\x63\x61mpaign_duration_seconds\x18\x01 \x01(\x03R\x17\x63\x61mpaignDurationSeconds\x12!\n\x0cquote_denoms\x18\x02 \x03(\tR\x0bquoteDenoms\x12u\n\x19trading_reward_boost_info\x18\x03 \x01(\x0b\x32:.injective.exchange.v1beta1.TradingRewardCampaignBoostInfoR\x16tradingRewardBoostInfo\x12\x36\n\x17\x64isqualified_market_ids\x18\x04 \x03(\tR\x15\x64isqualifiedMarketIds\"\xc0\x02\n\x13\x46\x65\x65\x44iscountTierInfo\x12S\n\x13maker_discount_rate\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11makerDiscountRate\x12S\n\x13taker_discount_rate\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11takerDiscountRate\x12\x42\n\rstaked_amount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0cstakedAmount\x12;\n\x06volume\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06volume\"\x8c\x02\n\x13\x46\x65\x65\x44iscountSchedule\x12!\n\x0c\x62ucket_count\x18\x01 \x01(\x04R\x0b\x62ucketCount\x12\'\n\x0f\x62ucket_duration\x18\x02 \x01(\x03R\x0e\x62ucketDuration\x12!\n\x0cquote_denoms\x18\x03 \x03(\tR\x0bquoteDenoms\x12N\n\ntier_infos\x18\x04 \x03(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfoR\ttierInfos\x12\x36\n\x17\x64isqualified_market_ids\x18\x05 \x03(\tR\x15\x64isqualifiedMarketIds\"M\n\x12\x46\x65\x65\x44iscountTierTTL\x12\x12\n\x04tier\x18\x01 \x01(\x04R\x04tier\x12#\n\rttl_timestamp\x18\x02 \x01(\x03R\x0cttlTimestamp\"\x9e\x01\n\x0cVolumeRecord\x12\x46\n\x0cmaker_volume\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bmakerVolume\x12\x46\n\x0ctaker_volume\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0btakerVolume\"\x91\x01\n\x0e\x41\x63\x63ountRewards\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x65\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.CoinsR\x07rewards\"\x86\x01\n\x0cTradeRecords\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Y\n\x14latest_trade_records\x18\x02 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecordR\x12latestTradeRecords\"6\n\rSubaccountIDs\x12%\n\x0esubaccount_ids\x18\x01 \x03(\x0cR\rsubaccountIds\"\xa7\x01\n\x0bTradeRecord\x12\x1c\n\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\"m\n\x05Level\x12\x31\n\x01p\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01p\x12\x31\n\x01q\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01q\"\xd3\x01\n\x11TrimmedLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\"\x97\x01\n\x1f\x41ggregateSubaccountVolumeRecord\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12O\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes\"\x89\x01\n\x1c\x41ggregateAccountVolumeRecord\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12O\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes\"s\n\x0cMarketVolume\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x06volume\x18\x02 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00R\x06volume\"A\n\rDenomDecimals\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1a\n\x08\x64\x65\x63imals\x18\x02 \x01(\x04R\x08\x64\x65\x63imals\"e\n\x12GrantAuthorization\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"^\n\x0b\x41\x63tiveGrant\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"\x90\x01\n\x0e\x45\x66\x66\x65\x63tiveGrant\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12I\n\x11net_granted_stake\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0fnetGrantedStake\x12\x19\n\x08is_valid\x18\x03 \x01(\x08R\x07isValid*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 \x05LIMITB\x89\x02\n\x1e\x63om.injective.exchange.v1beta1B\rExchangeProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\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\x1a\x11\x61mino/amino.proto"\xdd\x15\n\x06Params\x12\x65\n\x1fspot_market_instant_listing_fee\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x1bspotMarketInstantListingFee\x12q\n%derivative_market_instant_listing_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R!derivativeMarketInstantListingFee\x12\x61\n\x1b\x64\x65\x66\x61ult_spot_maker_fee_rate\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17\x64\x65\x66\x61ultSpotMakerFeeRate\x12\x61\n\x1b\x64\x65\x66\x61ult_spot_taker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17\x64\x65\x66\x61ultSpotTakerFeeRate\x12m\n!default_derivative_maker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultDerivativeMakerFeeRate\x12m\n!default_derivative_taker_fee_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultDerivativeTakerFeeRate\x12\x64\n\x1c\x64\x65\x66\x61ult_initial_margin_ratio\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19\x64\x65\x66\x61ultInitialMarginRatio\x12l\n default_maintenance_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultMaintenanceMarginRatio\x12\x38\n\x18\x64\x65\x66\x61ult_funding_interval\x18\t \x01(\x03R\x16\x64\x65\x66\x61ultFundingInterval\x12)\n\x10\x66unding_multiple\x18\n \x01(\x03R\x0f\x66undingMultiple\x12X\n\x16relayer_fee_share_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12i\n\x1f\x64\x65\x66\x61ult_hourly_funding_rate_cap\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1b\x64\x65\x66\x61ultHourlyFundingRateCap\x12\x64\n\x1c\x64\x65\x66\x61ult_hourly_interest_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19\x64\x65\x66\x61ultHourlyInterestRate\x12\x44\n\x1fmax_derivative_order_side_count\x18\x0e \x01(\rR\x1bmaxDerivativeOrderSideCount\x12s\n\'inj_reward_staked_requirement_threshold\x18\x0f \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR#injRewardStakedRequirementThreshold\x12G\n trading_rewards_vesting_duration\x18\x10 \x01(\x03R\x1dtradingRewardsVestingDuration\x12\x64\n\x1cliquidator_reward_share_rate\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19liquidatorRewardShareRate\x12x\n)binary_options_market_instant_listing_fee\x18\x12 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R$binaryOptionsMarketInstantListingFee\x12\x80\x01\n atomic_market_order_access_level\x18\x13 \x01(\x0e\x32\x38.injective.exchange.v1beta1.AtomicMarketOrderAccessLevelR\x1c\x61tomicMarketOrderAccessLevel\x12x\n\'spot_atomic_market_order_fee_multiplier\x18\x14 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR"spotAtomicMarketOrderFeeMultiplier\x12\x84\x01\n-derivative_atomic_market_order_fee_multiplier\x18\x15 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR(derivativeAtomicMarketOrderFeeMultiplier\x12\x8b\x01\n1binary_options_atomic_market_order_fee_multiplier\x18\x16 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR+binaryOptionsAtomicMarketOrderFeeMultiplier\x12^\n\x19minimal_protocol_fee_rate\x18\x17 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16minimalProtocolFeeRate\x12[\n+is_instant_derivative_market_launch_enabled\x18\x18 \x01(\x08R&isInstantDerivativeMarketLaunchEnabled\x12\x44\n\x1fpost_only_mode_height_threshold\x18\x19 \x01(\x03R\x1bpostOnlyModeHeightThreshold\x12g\n1margin_decrease_price_timestamp_threshold_seconds\x18\x1a \x01(\x03R,marginDecreasePriceTimestampThresholdSeconds\x12\'\n\x0f\x65xchange_admins\x18\x1b \x03(\tR\x0e\x65xchangeAdmins\x12L\n\x13inj_auction_max_cap\x18\x1c \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10injAuctionMaxCap:\x18\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0f\x65xchange/Params"\x84\x01\n\x13MarketFeeMultiplier\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\x0e\x66\x65\x65_multiplier\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rfeeMultiplier:\x04\x88\xa0\x1f\x00"\xec\x08\n\x10\x44\x65rivativeMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1f\n\x0boracle_base\x18\x02 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x03 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x05 \x01(\rR\x11oracleScaleFactor\x12\x1f\n\x0bquote_denom\x18\x06 \x01(\tR\nquoteDenom\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12U\n\x14initial_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12 \n\x0bisPerpetual\x18\r \x01(\x08R\x0bisPerpetual\x12@\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x14\n\x05\x61\x64min\x18\x12 \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\x13 \x01(\rR\x10\x61\x64minPermissions:\x04\x88\xa0\x1f\x00"\xd7\x08\n\x13\x42inaryOptionsMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x02 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x03 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x05 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x06 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\x07 \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\x08 \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\t \x01(\tR\nquoteDenom\x12\x1b\n\tmarket_id\x18\n \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12@\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12N\n\x10settlement_price\x18\x11 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x46\n\x0cmin_notional\x18\x12 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12+\n\x11\x61\x64min_permissions\x18\x13 \x01(\rR\x10\x61\x64minPermissions:\x04\x88\xa0\x1f\x00"\xe4\x02\n\x17\x45xpiryFuturesMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x31\n\x14\x65xpiration_timestamp\x18\x02 \x01(\x03R\x13\x65xpirationTimestamp\x12\x30\n\x14twap_start_timestamp\x18\x03 \x01(\x03R\x12twapStartTimestamp\x12w\n&expiration_twap_start_price_cumulative\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR"expirationTwapStartPriceCumulative\x12N\n\x10settlement_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice"\xc6\x02\n\x13PerpetualMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Z\n\x17hourly_funding_rate_cap\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14hourlyFundingRateCap\x12U\n\x14hourly_interest_rate\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12hourlyInterestRate\x12\x34\n\x16next_funding_timestamp\x18\x04 \x01(\x03R\x14nextFundingTimestamp\x12)\n\x10\x66unding_interval\x18\x05 \x01(\x03R\x0f\x66undingInterval"\xe3\x01\n\x16PerpetualMarketFunding\x12R\n\x12\x63umulative_funding\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12N\n\x10\x63umulative_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x63umulativePrice\x12%\n\x0elast_timestamp\x18\x03 \x01(\x03R\rlastTimestamp"\x8d\x01\n\x1e\x44\x65rivativeMarketSettlementInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice"=\n\x14NextFundingTimestamp\x12%\n\x0enext_timestamp\x18\x01 \x01(\x03R\rnextTimestamp"\xea\x01\n\x0eMidPriceAndTOB\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice"\xec\x05\n\nSpotMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x02 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12@\n\x06status\x18\x08 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x14\n\x05\x61\x64min\x18\x0c \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\r \x01(\rR\x10\x61\x64minPermissions"\xa5\x01\n\x07\x44\x65posit\x12P\n\x11\x61vailable_balance\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10\x61vailableBalance\x12H\n\rtotal_balance\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctotalBalance",\n\x14SubaccountTradeNonce\x12\x14\n\x05nonce\x18\x01 \x01(\rR\x05nonce"\xe3\x01\n\tOrderInfo\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12#\n\rfee_recipient\x18\x02 \x01(\tR\x0c\x66\x65\x65Recipient\x12\x39\n\x05price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id"\x84\x02\n\tSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12H\n\rtrigger_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice"\xcc\x02\n\x0eSpotLimitOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12?\n\x08\x66illable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12H\n\rtrigger_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash"\xd4\x02\n\x0fSpotMarketOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x46\n\x0c\x62\x61lance_hold\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\x12\x1d\n\norder_hash\x18\x03 \x01(\x0cR\torderHash\x12\x44\n\norder_type\x18\x04 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice"\xc7\x02\n\x0f\x44\x65rivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice"\xfc\x03\n\x1bSubaccountOrderbookMetadata\x12\x39\n\x19vanilla_limit_order_count\x18\x01 \x01(\rR\x16vanillaLimitOrderCount\x12@\n\x1dreduce_only_limit_order_count\x18\x02 \x01(\rR\x19reduceOnlyLimitOrderCount\x12h\n\x1e\x61ggregate_reduce_only_quantity\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1b\x61ggregateReduceOnlyQuantity\x12\x61\n\x1a\x61ggregate_vanilla_quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x18\x61ggregateVanillaQuantity\x12\x45\n\x1fvanilla_conditional_order_count\x18\x05 \x01(\rR\x1cvanillaConditionalOrderCount\x12L\n#reduce_only_conditional_order_count\x18\x06 \x01(\rR\x1freduceOnlyConditionalOrderCount"\xc3\x01\n\x0fSubaccountOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12"\n\x0cisReduceOnly\x18\x03 \x01(\x08R\x0cisReduceOnly\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id"w\n\x13SubaccountOrderData\x12\x41\n\x05order\x18\x01 \x01(\x0b\x32+.injective.exchange.v1beta1.SubaccountOrderR\x05order\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash"\x8f\x03\n\x14\x44\x65rivativeLimitOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12?\n\x08\x66illable\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x06 \x01(\x0cR\torderHash"\x95\x03\n\x15\x44\x65rivativeMarketOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12\x44\n\x0bmargin_hold\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nmarginHold\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x06 \x01(\x0cR\torderHash"\xc5\x02\n\x08Position\x12\x16\n\x06isLong\x18\x01 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12;\n\x06margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12]\n\x18\x63umulative_funding_entry\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16\x63umulativeFundingEntry"I\n\x14MarketOrderIndicator\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05isBuy\x18\x02 \x01(\x08R\x05isBuy"\xcd\x02\n\x08TradeLog\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12#\n\rsubaccount_id\x18\x03 \x01(\x0cR\x0csubaccountId\x12\x35\n\x03\x66\x65\x65\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id"\x9a\x02\n\rPositionDelta\x12\x17\n\x07is_long\x18\x01 \x01(\x08R\x06isLong\x12R\n\x12\x65xecution_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x65xecutionQuantity\x12N\n\x10\x65xecution_margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65xecutionMargin\x12L\n\x0f\x65xecution_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x65xecutionPrice"\xa1\x03\n\x12\x44\x65rivativeTradeLog\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12P\n\x0eposition_delta\x18\x02 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaR\rpositionDelta\x12;\n\x06payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout\x12\x35\n\x03\x66\x65\x65\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\x12\x35\n\x03pnl\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03pnl"{\n\x12SubaccountPosition\x12@\n\x08position\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionR\x08position\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId"w\n\x11SubaccountDeposit\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12=\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x07\x64\x65posit"p\n\rDepositUpdate\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12I\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.SubaccountDepositR\x08\x64\x65posits"\xcc\x01\n\x10PointsMultiplier\x12[\n\x17maker_points_multiplier\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15makerPointsMultiplier\x12[\n\x17taker_points_multiplier\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15takerPointsMultiplier"\xfe\x02\n\x1eTradingRewardCampaignBoostInfo\x12\x35\n\x17\x62oosted_spot_market_ids\x18\x01 \x03(\tR\x14\x62oostedSpotMarketIds\x12j\n\x17spot_market_multipliers\x18\x02 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00R\x15spotMarketMultipliers\x12\x41\n\x1d\x62oosted_derivative_market_ids\x18\x03 \x03(\tR\x1a\x62oostedDerivativeMarketIds\x12v\n\x1d\x64\x65rivative_market_multipliers\x18\x04 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00R\x1b\x64\x65rivativeMarketMultipliers"\xbc\x01\n\x12\x43\x61mpaignRewardPool\x12\'\n\x0fstart_timestamp\x18\x01 \x01(\x03R\x0estartTimestamp\x12}\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.CoinsR\x12maxCampaignRewards"\xa9\x02\n\x19TradingRewardCampaignInfo\x12:\n\x19\x63\x61mpaign_duration_seconds\x18\x01 \x01(\x03R\x17\x63\x61mpaignDurationSeconds\x12!\n\x0cquote_denoms\x18\x02 \x03(\tR\x0bquoteDenoms\x12u\n\x19trading_reward_boost_info\x18\x03 \x01(\x0b\x32:.injective.exchange.v1beta1.TradingRewardCampaignBoostInfoR\x16tradingRewardBoostInfo\x12\x36\n\x17\x64isqualified_market_ids\x18\x04 \x03(\tR\x15\x64isqualifiedMarketIds"\xc0\x02\n\x13\x46\x65\x65\x44iscountTierInfo\x12S\n\x13maker_discount_rate\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11makerDiscountRate\x12S\n\x13taker_discount_rate\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11takerDiscountRate\x12\x42\n\rstaked_amount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0cstakedAmount\x12;\n\x06volume\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06volume"\x8c\x02\n\x13\x46\x65\x65\x44iscountSchedule\x12!\n\x0c\x62ucket_count\x18\x01 \x01(\x04R\x0b\x62ucketCount\x12\'\n\x0f\x62ucket_duration\x18\x02 \x01(\x03R\x0e\x62ucketDuration\x12!\n\x0cquote_denoms\x18\x03 \x03(\tR\x0bquoteDenoms\x12N\n\ntier_infos\x18\x04 \x03(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfoR\ttierInfos\x12\x36\n\x17\x64isqualified_market_ids\x18\x05 \x03(\tR\x15\x64isqualifiedMarketIds"M\n\x12\x46\x65\x65\x44iscountTierTTL\x12\x12\n\x04tier\x18\x01 \x01(\x04R\x04tier\x12#\n\rttl_timestamp\x18\x02 \x01(\x03R\x0cttlTimestamp"\x9e\x01\n\x0cVolumeRecord\x12\x46\n\x0cmaker_volume\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bmakerVolume\x12\x46\n\x0ctaker_volume\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0btakerVolume"\x91\x01\n\x0e\x41\x63\x63ountRewards\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x65\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.CoinsR\x07rewards"\x86\x01\n\x0cTradeRecords\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Y\n\x14latest_trade_records\x18\x02 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecordR\x12latestTradeRecords"6\n\rSubaccountIDs\x12%\n\x0esubaccount_ids\x18\x01 \x03(\x0cR\rsubaccountIds"\xa7\x01\n\x0bTradeRecord\x12\x1c\n\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity"m\n\x05Level\x12\x31\n\x01p\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01p\x12\x31\n\x01q\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01q"\xd3\x01\n\x11TrimmedLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId"\x97\x01\n\x1f\x41ggregateSubaccountVolumeRecord\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12O\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes"\x89\x01\n\x1c\x41ggregateAccountVolumeRecord\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12O\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes"s\n\x0cMarketVolume\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x06volume\x18\x02 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00R\x06volume"A\n\rDenomDecimals\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1a\n\x08\x64\x65\x63imals\x18\x02 \x01(\x04R\x08\x64\x65\x63imals"e\n\x12GrantAuthorization\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount"^\n\x0b\x41\x63tiveGrant\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount"\x90\x01\n\x0e\x45\x66\x66\x65\x63tiveGrant\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12I\n\x11net_granted_stake\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0fnetGrantedStake\x12\x19\n\x08is_valid\x18\x03 \x01(\x08R\x07isValid*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 \x05LIMITB\x89\x02\n\x1e\x63om.injective.exchange.v1beta1B\rExchangeProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.exchange_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.exchange.v1beta1.exchange_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\rExchangeProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' - _globals['_ORDERTYPE'].values_by_name["UNSPECIFIED"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' - _globals['_ORDERTYPE'].values_by_name["BUY"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["BUY"]._serialized_options = b'\212\235 \003BUY' - _globals['_ORDERTYPE'].values_by_name["SELL"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["SELL"]._serialized_options = b'\212\235 \004SELL' - _globals['_ORDERTYPE'].values_by_name["STOP_BUY"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["STOP_BUY"]._serialized_options = b'\212\235 \010STOP_BUY' - _globals['_ORDERTYPE'].values_by_name["STOP_SELL"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["STOP_SELL"]._serialized_options = b'\212\235 \tSTOP_SELL' - _globals['_ORDERTYPE'].values_by_name["TAKE_BUY"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["TAKE_BUY"]._serialized_options = b'\212\235 \010TAKE_BUY' - _globals['_ORDERTYPE'].values_by_name["TAKE_SELL"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["TAKE_SELL"]._serialized_options = b'\212\235 \tTAKE_SELL' - _globals['_ORDERTYPE'].values_by_name["BUY_PO"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["BUY_PO"]._serialized_options = b'\212\235 \006BUY_PO' - _globals['_ORDERTYPE'].values_by_name["SELL_PO"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["SELL_PO"]._serialized_options = b'\212\235 \007SELL_PO' - _globals['_ORDERTYPE'].values_by_name["BUY_ATOMIC"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["BUY_ATOMIC"]._serialized_options = b'\212\235 \nBUY_ATOMIC' - _globals['_ORDERTYPE'].values_by_name["SELL_ATOMIC"]._loaded_options = None - _globals['_ORDERTYPE'].values_by_name["SELL_ATOMIC"]._serialized_options = b'\212\235 \013SELL_ATOMIC' - _globals['_ORDERMASK'].values_by_name["UNUSED"]._loaded_options = None - _globals['_ORDERMASK'].values_by_name["UNUSED"]._serialized_options = b'\212\235 \006UNUSED' - _globals['_ORDERMASK'].values_by_name["ANY"]._loaded_options = None - _globals['_ORDERMASK'].values_by_name["ANY"]._serialized_options = b'\212\235 \003ANY' - _globals['_ORDERMASK'].values_by_name["REGULAR"]._loaded_options = None - _globals['_ORDERMASK'].values_by_name["REGULAR"]._serialized_options = b'\212\235 \007REGULAR' - _globals['_ORDERMASK'].values_by_name["CONDITIONAL"]._loaded_options = None - _globals['_ORDERMASK'].values_by_name["CONDITIONAL"]._serialized_options = b'\212\235 \013CONDITIONAL' - _globals['_ORDERMASK'].values_by_name["DIRECTION_BUY_OR_HIGHER"]._loaded_options = None - _globals['_ORDERMASK'].values_by_name["DIRECTION_BUY_OR_HIGHER"]._serialized_options = b'\212\235 \rBUY_OR_HIGHER' - _globals['_ORDERMASK'].values_by_name["DIRECTION_SELL_OR_LOWER"]._loaded_options = None - _globals['_ORDERMASK'].values_by_name["DIRECTION_SELL_OR_LOWER"]._serialized_options = b'\212\235 \rSELL_OR_LOWER' - _globals['_ORDERMASK'].values_by_name["TYPE_MARKET"]._loaded_options = None - _globals['_ORDERMASK'].values_by_name["TYPE_MARKET"]._serialized_options = b'\212\235 \006MARKET' - _globals['_ORDERMASK'].values_by_name["TYPE_LIMIT"]._loaded_options = None - _globals['_ORDERMASK'].values_by_name["TYPE_LIMIT"]._serialized_options = b'\212\235 \005LIMIT' - _globals['_PARAMS'].fields_by_name['spot_market_instant_listing_fee']._loaded_options = None - _globals['_PARAMS'].fields_by_name['spot_market_instant_listing_fee']._serialized_options = b'\310\336\037\000' - _globals['_PARAMS'].fields_by_name['derivative_market_instant_listing_fee']._loaded_options = None - _globals['_PARAMS'].fields_by_name['derivative_market_instant_listing_fee']._serialized_options = b'\310\336\037\000' - _globals['_PARAMS'].fields_by_name['default_spot_maker_fee_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_spot_maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['default_spot_taker_fee_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_spot_taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['default_derivative_maker_fee_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_derivative_maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['default_derivative_taker_fee_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_derivative_taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['default_initial_margin_ratio']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['default_maintenance_margin_ratio']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['relayer_fee_share_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['default_hourly_funding_rate_cap']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_hourly_funding_rate_cap']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['default_hourly_interest_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_hourly_interest_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['inj_reward_staked_requirement_threshold']._loaded_options = None - _globals['_PARAMS'].fields_by_name['inj_reward_staked_requirement_threshold']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_PARAMS'].fields_by_name['liquidator_reward_share_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['liquidator_reward_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['binary_options_market_instant_listing_fee']._loaded_options = None - _globals['_PARAMS'].fields_by_name['binary_options_market_instant_listing_fee']._serialized_options = b'\310\336\037\000' - _globals['_PARAMS'].fields_by_name['spot_atomic_market_order_fee_multiplier']._loaded_options = None - _globals['_PARAMS'].fields_by_name['spot_atomic_market_order_fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['derivative_atomic_market_order_fee_multiplier']._loaded_options = None - _globals['_PARAMS'].fields_by_name['derivative_atomic_market_order_fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['binary_options_atomic_market_order_fee_multiplier']._loaded_options = None - _globals['_PARAMS'].fields_by_name['binary_options_atomic_market_order_fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['minimal_protocol_fee_rate']._loaded_options = None - _globals['_PARAMS'].fields_by_name['minimal_protocol_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['inj_auction_max_cap']._loaded_options = None - _globals['_PARAMS'].fields_by_name['inj_auction_max_cap']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\017exchange/Params' - _globals['_MARKETFEEMULTIPLIER'].fields_by_name['fee_multiplier']._loaded_options = None - _globals['_MARKETFEEMULTIPLIER'].fields_by_name['fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MARKETFEEMULTIPLIER']._loaded_options = None - _globals['_MARKETFEEMULTIPLIER']._serialized_options = b'\210\240\037\000' - _globals['_DERIVATIVEMARKET'].fields_by_name['initial_margin_ratio']._loaded_options = None - _globals['_DERIVATIVEMARKET'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKET'].fields_by_name['maintenance_margin_ratio']._loaded_options = None - _globals['_DERIVATIVEMARKET'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKET'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_DERIVATIVEMARKET'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKET'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_DERIVATIVEMARKET'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKET'].fields_by_name['relayer_fee_share_rate']._loaded_options = None - _globals['_DERIVATIVEMARKET'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKET'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_DERIVATIVEMARKET'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKET'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_DERIVATIVEMARKET'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKET'].fields_by_name['min_notional']._loaded_options = None - _globals['_DERIVATIVEMARKET'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKET']._loaded_options = None - _globals['_DERIVATIVEMARKET']._serialized_options = b'\210\240\037\000' - _globals['_BINARYOPTIONSMARKET'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_BINARYOPTIONSMARKET'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKET'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_BINARYOPTIONSMARKET'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKET'].fields_by_name['relayer_fee_share_rate']._loaded_options = None - _globals['_BINARYOPTIONSMARKET'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKET'].fields_by_name['settlement_price']._loaded_options = None - _globals['_BINARYOPTIONSMARKET'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_notional']._loaded_options = None - _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKET']._loaded_options = None - _globals['_BINARYOPTIONSMARKET']._serialized_options = b'\210\240\037\000' - _globals['_EXPIRYFUTURESMARKETINFO'].fields_by_name['expiration_twap_start_price_cumulative']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETINFO'].fields_by_name['expiration_twap_start_price_cumulative']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXPIRYFUTURESMARKETINFO'].fields_by_name['settlement_price']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETINFO'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETINFO'].fields_by_name['hourly_funding_rate_cap']._loaded_options = None - _globals['_PERPETUALMARKETINFO'].fields_by_name['hourly_funding_rate_cap']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETINFO'].fields_by_name['hourly_interest_rate']._loaded_options = None - _globals['_PERPETUALMARKETINFO'].fields_by_name['hourly_interest_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_funding']._loaded_options = None - _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_funding']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_price']._loaded_options = None - _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETSETTLEMENTINFO'].fields_by_name['settlement_price']._loaded_options = None - _globals['_DERIVATIVEMARKETSETTLEMENTINFO'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MIDPRICEANDTOB'].fields_by_name['mid_price']._loaded_options = None - _globals['_MIDPRICEANDTOB'].fields_by_name['mid_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MIDPRICEANDTOB'].fields_by_name['best_buy_price']._loaded_options = None - _globals['_MIDPRICEANDTOB'].fields_by_name['best_buy_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MIDPRICEANDTOB'].fields_by_name['best_sell_price']._loaded_options = None - _globals['_MIDPRICEANDTOB'].fields_by_name['best_sell_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKET'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_SPOTMARKET'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKET'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_SPOTMARKET'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKET'].fields_by_name['relayer_fee_share_rate']._loaded_options = None - _globals['_SPOTMARKET'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKET'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_SPOTMARKET'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKET'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_SPOTMARKET'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKET'].fields_by_name['min_notional']._loaded_options = None - _globals['_SPOTMARKET'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DEPOSIT'].fields_by_name['available_balance']._loaded_options = None - _globals['_DEPOSIT'].fields_by_name['available_balance']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DEPOSIT'].fields_by_name['total_balance']._loaded_options = None - _globals['_DEPOSIT'].fields_by_name['total_balance']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_ORDERINFO'].fields_by_name['price']._loaded_options = None - _globals['_ORDERINFO'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_ORDERINFO'].fields_by_name['quantity']._loaded_options = None - _globals['_ORDERINFO'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTORDER'].fields_by_name['order_info']._loaded_options = None - _globals['_SPOTORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' - _globals['_SPOTORDER'].fields_by_name['trigger_price']._loaded_options = None - _globals['_SPOTORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTLIMITORDER'].fields_by_name['order_info']._loaded_options = None - _globals['_SPOTLIMITORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' - _globals['_SPOTLIMITORDER'].fields_by_name['fillable']._loaded_options = None - _globals['_SPOTLIMITORDER'].fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTLIMITORDER'].fields_by_name['trigger_price']._loaded_options = None - _globals['_SPOTLIMITORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETORDER'].fields_by_name['order_info']._loaded_options = None - _globals['_SPOTMARKETORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' - _globals['_SPOTMARKETORDER'].fields_by_name['balance_hold']._loaded_options = None - _globals['_SPOTMARKETORDER'].fields_by_name['balance_hold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETORDER'].fields_by_name['trigger_price']._loaded_options = None - _globals['_SPOTMARKETORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEORDER'].fields_by_name['order_info']._loaded_options = None - _globals['_DERIVATIVEORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' - _globals['_DERIVATIVEORDER'].fields_by_name['margin']._loaded_options = None - _globals['_DERIVATIVEORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEORDER'].fields_by_name['trigger_price']._loaded_options = None - _globals['_DERIVATIVEORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SUBACCOUNTORDERBOOKMETADATA'].fields_by_name['aggregate_reduce_only_quantity']._loaded_options = None - _globals['_SUBACCOUNTORDERBOOKMETADATA'].fields_by_name['aggregate_reduce_only_quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SUBACCOUNTORDERBOOKMETADATA'].fields_by_name['aggregate_vanilla_quantity']._loaded_options = None - _globals['_SUBACCOUNTORDERBOOKMETADATA'].fields_by_name['aggregate_vanilla_quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SUBACCOUNTORDER'].fields_by_name['price']._loaded_options = None - _globals['_SUBACCOUNTORDER'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SUBACCOUNTORDER'].fields_by_name['quantity']._loaded_options = None - _globals['_SUBACCOUNTORDER'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVELIMITORDER'].fields_by_name['order_info']._loaded_options = None - _globals['_DERIVATIVELIMITORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' - _globals['_DERIVATIVELIMITORDER'].fields_by_name['margin']._loaded_options = None - _globals['_DERIVATIVELIMITORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVELIMITORDER'].fields_by_name['fillable']._loaded_options = None - _globals['_DERIVATIVELIMITORDER'].fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVELIMITORDER'].fields_by_name['trigger_price']._loaded_options = None - _globals['_DERIVATIVELIMITORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETORDER'].fields_by_name['order_info']._loaded_options = None - _globals['_DERIVATIVEMARKETORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' - _globals['_DERIVATIVEMARKETORDER'].fields_by_name['margin']._loaded_options = None - _globals['_DERIVATIVEMARKETORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETORDER'].fields_by_name['margin_hold']._loaded_options = None - _globals['_DERIVATIVEMARKETORDER'].fields_by_name['margin_hold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETORDER'].fields_by_name['trigger_price']._loaded_options = None - _globals['_DERIVATIVEMARKETORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITION'].fields_by_name['quantity']._loaded_options = None - _globals['_POSITION'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITION'].fields_by_name['entry_price']._loaded_options = None - _globals['_POSITION'].fields_by_name['entry_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITION'].fields_by_name['margin']._loaded_options = None - _globals['_POSITION'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITION'].fields_by_name['cumulative_funding_entry']._loaded_options = None - _globals['_POSITION'].fields_by_name['cumulative_funding_entry']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRADELOG'].fields_by_name['quantity']._loaded_options = None - _globals['_TRADELOG'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRADELOG'].fields_by_name['price']._loaded_options = None - _globals['_TRADELOG'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRADELOG'].fields_by_name['fee']._loaded_options = None - _globals['_TRADELOG'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRADELOG'].fields_by_name['fee_recipient_address']._loaded_options = None - _globals['_TRADELOG'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' - _globals['_POSITIONDELTA'].fields_by_name['execution_quantity']._loaded_options = None - _globals['_POSITIONDELTA'].fields_by_name['execution_quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITIONDELTA'].fields_by_name['execution_margin']._loaded_options = None - _globals['_POSITIONDELTA'].fields_by_name['execution_margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITIONDELTA'].fields_by_name['execution_price']._loaded_options = None - _globals['_POSITIONDELTA'].fields_by_name['execution_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVETRADELOG'].fields_by_name['payout']._loaded_options = None - _globals['_DERIVATIVETRADELOG'].fields_by_name['payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVETRADELOG'].fields_by_name['fee']._loaded_options = None - _globals['_DERIVATIVETRADELOG'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVETRADELOG'].fields_by_name['fee_recipient_address']._loaded_options = None - _globals['_DERIVATIVETRADELOG'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' - _globals['_DERIVATIVETRADELOG'].fields_by_name['pnl']._loaded_options = None - _globals['_DERIVATIVETRADELOG'].fields_by_name['pnl']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POINTSMULTIPLIER'].fields_by_name['maker_points_multiplier']._loaded_options = None - _globals['_POINTSMULTIPLIER'].fields_by_name['maker_points_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POINTSMULTIPLIER'].fields_by_name['taker_points_multiplier']._loaded_options = None - _globals['_POINTSMULTIPLIER'].fields_by_name['taker_points_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO'].fields_by_name['spot_market_multipliers']._loaded_options = None - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO'].fields_by_name['spot_market_multipliers']._serialized_options = b'\310\336\037\000' - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO'].fields_by_name['derivative_market_multipliers']._loaded_options = None - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO'].fields_by_name['derivative_market_multipliers']._serialized_options = b'\310\336\037\000' - _globals['_CAMPAIGNREWARDPOOL'].fields_by_name['max_campaign_rewards']._loaded_options = None - _globals['_CAMPAIGNREWARDPOOL'].fields_by_name['max_campaign_rewards']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['maker_discount_rate']._loaded_options = None - _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['maker_discount_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['taker_discount_rate']._loaded_options = None - _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['taker_discount_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['staked_amount']._loaded_options = None - _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['staked_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['volume']._loaded_options = None - _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['volume']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_VOLUMERECORD'].fields_by_name['maker_volume']._loaded_options = None - _globals['_VOLUMERECORD'].fields_by_name['maker_volume']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_VOLUMERECORD'].fields_by_name['taker_volume']._loaded_options = None - _globals['_VOLUMERECORD'].fields_by_name['taker_volume']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_ACCOUNTREWARDS'].fields_by_name['rewards']._loaded_options = None - _globals['_ACCOUNTREWARDS'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_TRADERECORD'].fields_by_name['price']._loaded_options = None - _globals['_TRADERECORD'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRADERECORD'].fields_by_name['quantity']._loaded_options = None - _globals['_TRADERECORD'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_LEVEL'].fields_by_name['p']._loaded_options = None - _globals['_LEVEL'].fields_by_name['p']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_LEVEL'].fields_by_name['q']._loaded_options = None - _globals['_LEVEL'].fields_by_name['q']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDLIMITORDER'].fields_by_name['price']._loaded_options = None - _globals['_TRIMMEDLIMITORDER'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDLIMITORDER'].fields_by_name['quantity']._loaded_options = None - _globals['_TRIMMEDLIMITORDER'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MARKETVOLUME'].fields_by_name['volume']._loaded_options = None - _globals['_MARKETVOLUME'].fields_by_name['volume']._serialized_options = b'\310\336\037\000' - _globals['_GRANTAUTHORIZATION'].fields_by_name['amount']._loaded_options = None - _globals['_GRANTAUTHORIZATION'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_ACTIVEGRANT'].fields_by_name['amount']._loaded_options = None - _globals['_ACTIVEGRANT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_EFFECTIVEGRANT'].fields_by_name['net_granted_stake']._loaded_options = None - _globals['_EFFECTIVEGRANT'].fields_by_name['net_granted_stake']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_start=16202 - _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_end=16318 - _globals['_MARKETSTATUS']._serialized_start=16320 - _globals['_MARKETSTATUS']._serialized_end=16404 - _globals['_ORDERTYPE']._serialized_start=16407 - _globals['_ORDERTYPE']._serialized_end=16722 - _globals['_EXECUTIONTYPE']._serialized_start=16725 - _globals['_EXECUTIONTYPE']._serialized_end=16900 - _globals['_ORDERMASK']._serialized_start=16903 - _globals['_ORDERMASK']._serialized_end=17168 - _globals['_PARAMS']._serialized_start=186 - _globals['_PARAMS']._serialized_end=2967 - _globals['_MARKETFEEMULTIPLIER']._serialized_start=2970 - _globals['_MARKETFEEMULTIPLIER']._serialized_end=3102 - _globals['_DERIVATIVEMARKET']._serialized_start=3105 - _globals['_DERIVATIVEMARKET']._serialized_end=4237 - _globals['_BINARYOPTIONSMARKET']._serialized_start=4240 - _globals['_BINARYOPTIONSMARKET']._serialized_end=5351 - _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=5354 - _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=5710 - _globals['_PERPETUALMARKETINFO']._serialized_start=5713 - _globals['_PERPETUALMARKETINFO']._serialized_end=6039 - _globals['_PERPETUALMARKETFUNDING']._serialized_start=6042 - _globals['_PERPETUALMARKETFUNDING']._serialized_end=6269 - _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_start=6272 - _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_end=6413 - _globals['_NEXTFUNDINGTIMESTAMP']._serialized_start=6415 - _globals['_NEXTFUNDINGTIMESTAMP']._serialized_end=6476 - _globals['_MIDPRICEANDTOB']._serialized_start=6479 - _globals['_MIDPRICEANDTOB']._serialized_end=6713 - _globals['_SPOTMARKET']._serialized_start=6716 - _globals['_SPOTMARKET']._serialized_end=7464 - _globals['_DEPOSIT']._serialized_start=7467 - _globals['_DEPOSIT']._serialized_end=7632 - _globals['_SUBACCOUNTTRADENONCE']._serialized_start=7634 - _globals['_SUBACCOUNTTRADENONCE']._serialized_end=7678 - _globals['_ORDERINFO']._serialized_start=7681 - _globals['_ORDERINFO']._serialized_end=7908 - _globals['_SPOTORDER']._serialized_start=7911 - _globals['_SPOTORDER']._serialized_end=8171 - _globals['_SPOTLIMITORDER']._serialized_start=8174 - _globals['_SPOTLIMITORDER']._serialized_end=8506 - _globals['_SPOTMARKETORDER']._serialized_start=8509 - _globals['_SPOTMARKETORDER']._serialized_end=8849 - _globals['_DERIVATIVEORDER']._serialized_start=8852 - _globals['_DERIVATIVEORDER']._serialized_end=9179 - _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_start=9182 - _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_end=9690 - _globals['_SUBACCOUNTORDER']._serialized_start=9693 - _globals['_SUBACCOUNTORDER']._serialized_end=9888 - _globals['_SUBACCOUNTORDERDATA']._serialized_start=9890 - _globals['_SUBACCOUNTORDERDATA']._serialized_end=10009 - _globals['_DERIVATIVELIMITORDER']._serialized_start=10012 - _globals['_DERIVATIVELIMITORDER']._serialized_end=10411 - _globals['_DERIVATIVEMARKETORDER']._serialized_start=10414 - _globals['_DERIVATIVEMARKETORDER']._serialized_end=10819 - _globals['_POSITION']._serialized_start=10822 - _globals['_POSITION']._serialized_end=11147 - _globals['_MARKETORDERINDICATOR']._serialized_start=11149 - _globals['_MARKETORDERINDICATOR']._serialized_end=11222 - _globals['_TRADELOG']._serialized_start=11225 - _globals['_TRADELOG']._serialized_end=11558 - _globals['_POSITIONDELTA']._serialized_start=11561 - _globals['_POSITIONDELTA']._serialized_end=11843 - _globals['_DERIVATIVETRADELOG']._serialized_start=11846 - _globals['_DERIVATIVETRADELOG']._serialized_end=12263 - _globals['_SUBACCOUNTPOSITION']._serialized_start=12265 - _globals['_SUBACCOUNTPOSITION']._serialized_end=12388 - _globals['_SUBACCOUNTDEPOSIT']._serialized_start=12390 - _globals['_SUBACCOUNTDEPOSIT']._serialized_end=12509 - _globals['_DEPOSITUPDATE']._serialized_start=12511 - _globals['_DEPOSITUPDATE']._serialized_end=12623 - _globals['_POINTSMULTIPLIER']._serialized_start=12626 - _globals['_POINTSMULTIPLIER']._serialized_end=12830 - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_start=12833 - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_end=13215 - _globals['_CAMPAIGNREWARDPOOL']._serialized_start=13218 - _globals['_CAMPAIGNREWARDPOOL']._serialized_end=13406 - _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_start=13409 - _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_end=13706 - _globals['_FEEDISCOUNTTIERINFO']._serialized_start=13709 - _globals['_FEEDISCOUNTTIERINFO']._serialized_end=14029 - _globals['_FEEDISCOUNTSCHEDULE']._serialized_start=14032 - _globals['_FEEDISCOUNTSCHEDULE']._serialized_end=14300 - _globals['_FEEDISCOUNTTIERTTL']._serialized_start=14302 - _globals['_FEEDISCOUNTTIERTTL']._serialized_end=14379 - _globals['_VOLUMERECORD']._serialized_start=14382 - _globals['_VOLUMERECORD']._serialized_end=14540 - _globals['_ACCOUNTREWARDS']._serialized_start=14543 - _globals['_ACCOUNTREWARDS']._serialized_end=14688 - _globals['_TRADERECORDS']._serialized_start=14691 - _globals['_TRADERECORDS']._serialized_end=14825 - _globals['_SUBACCOUNTIDS']._serialized_start=14827 - _globals['_SUBACCOUNTIDS']._serialized_end=14881 - _globals['_TRADERECORD']._serialized_start=14884 - _globals['_TRADERECORD']._serialized_end=15051 - _globals['_LEVEL']._serialized_start=15053 - _globals['_LEVEL']._serialized_end=15162 - _globals['_TRIMMEDLIMITORDER']._serialized_start=15165 - _globals['_TRIMMEDLIMITORDER']._serialized_end=15376 - _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_start=15379 - _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_end=15530 - _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_start=15533 - _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_end=15670 - _globals['_MARKETVOLUME']._serialized_start=15672 - _globals['_MARKETVOLUME']._serialized_end=15787 - _globals['_DENOMDECIMALS']._serialized_start=15789 - _globals['_DENOMDECIMALS']._serialized_end=15854 - _globals['_GRANTAUTHORIZATION']._serialized_start=15856 - _globals['_GRANTAUTHORIZATION']._serialized_end=15957 - _globals['_ACTIVEGRANT']._serialized_start=15959 - _globals['_ACTIVEGRANT']._serialized_end=16053 - _globals['_EFFECTIVEGRANT']._serialized_start=16056 - _globals['_EFFECTIVEGRANT']._serialized_end=16200 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\036com.injective.exchange.v1beta1B\rExchangeProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1" + ) + _globals["_ORDERTYPE"].values_by_name["UNSPECIFIED"]._loaded_options = None + _globals["_ORDERTYPE"].values_by_name["UNSPECIFIED"]._serialized_options = b"\212\235 \013UNSPECIFIED" + _globals["_ORDERTYPE"].values_by_name["BUY"]._loaded_options = None + _globals["_ORDERTYPE"].values_by_name["BUY"]._serialized_options = b"\212\235 \003BUY" + _globals["_ORDERTYPE"].values_by_name["SELL"]._loaded_options = None + _globals["_ORDERTYPE"].values_by_name["SELL"]._serialized_options = b"\212\235 \004SELL" + _globals["_ORDERTYPE"].values_by_name["STOP_BUY"]._loaded_options = None + _globals["_ORDERTYPE"].values_by_name["STOP_BUY"]._serialized_options = b"\212\235 \010STOP_BUY" + _globals["_ORDERTYPE"].values_by_name["STOP_SELL"]._loaded_options = None + _globals["_ORDERTYPE"].values_by_name["STOP_SELL"]._serialized_options = b"\212\235 \tSTOP_SELL" + _globals["_ORDERTYPE"].values_by_name["TAKE_BUY"]._loaded_options = None + _globals["_ORDERTYPE"].values_by_name["TAKE_BUY"]._serialized_options = b"\212\235 \010TAKE_BUY" + _globals["_ORDERTYPE"].values_by_name["TAKE_SELL"]._loaded_options = None + _globals["_ORDERTYPE"].values_by_name["TAKE_SELL"]._serialized_options = b"\212\235 \tTAKE_SELL" + _globals["_ORDERTYPE"].values_by_name["BUY_PO"]._loaded_options = None + _globals["_ORDERTYPE"].values_by_name["BUY_PO"]._serialized_options = b"\212\235 \006BUY_PO" + _globals["_ORDERTYPE"].values_by_name["SELL_PO"]._loaded_options = None + _globals["_ORDERTYPE"].values_by_name["SELL_PO"]._serialized_options = b"\212\235 \007SELL_PO" + _globals["_ORDERTYPE"].values_by_name["BUY_ATOMIC"]._loaded_options = None + _globals["_ORDERTYPE"].values_by_name["BUY_ATOMIC"]._serialized_options = b"\212\235 \nBUY_ATOMIC" + _globals["_ORDERTYPE"].values_by_name["SELL_ATOMIC"]._loaded_options = None + _globals["_ORDERTYPE"].values_by_name["SELL_ATOMIC"]._serialized_options = b"\212\235 \013SELL_ATOMIC" + _globals["_ORDERMASK"].values_by_name["UNUSED"]._loaded_options = None + _globals["_ORDERMASK"].values_by_name["UNUSED"]._serialized_options = b"\212\235 \006UNUSED" + _globals["_ORDERMASK"].values_by_name["ANY"]._loaded_options = None + _globals["_ORDERMASK"].values_by_name["ANY"]._serialized_options = b"\212\235 \003ANY" + _globals["_ORDERMASK"].values_by_name["REGULAR"]._loaded_options = None + _globals["_ORDERMASK"].values_by_name["REGULAR"]._serialized_options = b"\212\235 \007REGULAR" + _globals["_ORDERMASK"].values_by_name["CONDITIONAL"]._loaded_options = None + _globals["_ORDERMASK"].values_by_name["CONDITIONAL"]._serialized_options = b"\212\235 \013CONDITIONAL" + _globals["_ORDERMASK"].values_by_name["DIRECTION_BUY_OR_HIGHER"]._loaded_options = None + _globals["_ORDERMASK"].values_by_name["DIRECTION_BUY_OR_HIGHER"]._serialized_options = b"\212\235 \rBUY_OR_HIGHER" + _globals["_ORDERMASK"].values_by_name["DIRECTION_SELL_OR_LOWER"]._loaded_options = None + _globals["_ORDERMASK"].values_by_name["DIRECTION_SELL_OR_LOWER"]._serialized_options = b"\212\235 \rSELL_OR_LOWER" + _globals["_ORDERMASK"].values_by_name["TYPE_MARKET"]._loaded_options = None + _globals["_ORDERMASK"].values_by_name["TYPE_MARKET"]._serialized_options = b"\212\235 \006MARKET" + _globals["_ORDERMASK"].values_by_name["TYPE_LIMIT"]._loaded_options = None + _globals["_ORDERMASK"].values_by_name["TYPE_LIMIT"]._serialized_options = b"\212\235 \005LIMIT" + _globals["_PARAMS"].fields_by_name["spot_market_instant_listing_fee"]._loaded_options = None + _globals["_PARAMS"].fields_by_name["spot_market_instant_listing_fee"]._serialized_options = b"\310\336\037\000" + _globals["_PARAMS"].fields_by_name["derivative_market_instant_listing_fee"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "derivative_market_instant_listing_fee" + ]._serialized_options = b"\310\336\037\000" + _globals["_PARAMS"].fields_by_name["default_spot_maker_fee_rate"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "default_spot_maker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["default_spot_taker_fee_rate"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "default_spot_taker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["default_derivative_maker_fee_rate"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "default_derivative_maker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["default_derivative_taker_fee_rate"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "default_derivative_taker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["default_initial_margin_ratio"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "default_initial_margin_ratio" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["default_maintenance_margin_ratio"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "default_maintenance_margin_ratio" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["relayer_fee_share_rate"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "relayer_fee_share_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["default_hourly_funding_rate_cap"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "default_hourly_funding_rate_cap" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["default_hourly_interest_rate"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "default_hourly_interest_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["inj_reward_staked_requirement_threshold"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "inj_reward_staked_requirement_threshold" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_PARAMS"].fields_by_name["liquidator_reward_share_rate"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "liquidator_reward_share_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["binary_options_market_instant_listing_fee"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "binary_options_market_instant_listing_fee" + ]._serialized_options = b"\310\336\037\000" + _globals["_PARAMS"].fields_by_name["spot_atomic_market_order_fee_multiplier"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "spot_atomic_market_order_fee_multiplier" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["derivative_atomic_market_order_fee_multiplier"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "derivative_atomic_market_order_fee_multiplier" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["binary_options_atomic_market_order_fee_multiplier"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "binary_options_atomic_market_order_fee_multiplier" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["minimal_protocol_fee_rate"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "minimal_protocol_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["inj_auction_max_cap"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "inj_auction_max_cap" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_PARAMS"]._loaded_options = None + _globals["_PARAMS"]._serialized_options = b"\350\240\037\001\212\347\260*\017exchange/Params" + _globals["_MARKETFEEMULTIPLIER"].fields_by_name["fee_multiplier"]._loaded_options = None + _globals["_MARKETFEEMULTIPLIER"].fields_by_name[ + "fee_multiplier" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MARKETFEEMULTIPLIER"]._loaded_options = None + _globals["_MARKETFEEMULTIPLIER"]._serialized_options = b"\210\240\037\000" + _globals["_DERIVATIVEMARKET"].fields_by_name["initial_margin_ratio"]._loaded_options = None + _globals["_DERIVATIVEMARKET"].fields_by_name[ + "initial_margin_ratio" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKET"].fields_by_name["maintenance_margin_ratio"]._loaded_options = None + _globals["_DERIVATIVEMARKET"].fields_by_name[ + "maintenance_margin_ratio" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKET"].fields_by_name["maker_fee_rate"]._loaded_options = None + _globals["_DERIVATIVEMARKET"].fields_by_name[ + "maker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKET"].fields_by_name["taker_fee_rate"]._loaded_options = None + _globals["_DERIVATIVEMARKET"].fields_by_name[ + "taker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKET"].fields_by_name["relayer_fee_share_rate"]._loaded_options = None + _globals["_DERIVATIVEMARKET"].fields_by_name[ + "relayer_fee_share_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKET"].fields_by_name["min_price_tick_size"]._loaded_options = None + _globals["_DERIVATIVEMARKET"].fields_by_name[ + "min_price_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKET"].fields_by_name["min_quantity_tick_size"]._loaded_options = None + _globals["_DERIVATIVEMARKET"].fields_by_name[ + "min_quantity_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKET"].fields_by_name["min_notional"]._loaded_options = None + _globals["_DERIVATIVEMARKET"].fields_by_name[ + "min_notional" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKET"]._loaded_options = None + _globals["_DERIVATIVEMARKET"]._serialized_options = b"\210\240\037\000" + _globals["_BINARYOPTIONSMARKET"].fields_by_name["maker_fee_rate"]._loaded_options = None + _globals["_BINARYOPTIONSMARKET"].fields_by_name[ + "maker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKET"].fields_by_name["taker_fee_rate"]._loaded_options = None + _globals["_BINARYOPTIONSMARKET"].fields_by_name[ + "taker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKET"].fields_by_name["relayer_fee_share_rate"]._loaded_options = None + _globals["_BINARYOPTIONSMARKET"].fields_by_name[ + "relayer_fee_share_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKET"].fields_by_name["min_price_tick_size"]._loaded_options = None + _globals["_BINARYOPTIONSMARKET"].fields_by_name[ + "min_price_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKET"].fields_by_name["min_quantity_tick_size"]._loaded_options = None + _globals["_BINARYOPTIONSMARKET"].fields_by_name[ + "min_quantity_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKET"].fields_by_name["settlement_price"]._loaded_options = None + _globals["_BINARYOPTIONSMARKET"].fields_by_name[ + "settlement_price" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKET"].fields_by_name["min_notional"]._loaded_options = None + _globals["_BINARYOPTIONSMARKET"].fields_by_name[ + "min_notional" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKET"]._loaded_options = None + _globals["_BINARYOPTIONSMARKET"]._serialized_options = b"\210\240\037\000" + _globals["_EXPIRYFUTURESMARKETINFO"].fields_by_name["expiration_twap_start_price_cumulative"]._loaded_options = None + _globals["_EXPIRYFUTURESMARKETINFO"].fields_by_name[ + "expiration_twap_start_price_cumulative" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_EXPIRYFUTURESMARKETINFO"].fields_by_name["settlement_price"]._loaded_options = None + _globals["_EXPIRYFUTURESMARKETINFO"].fields_by_name[ + "settlement_price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PERPETUALMARKETINFO"].fields_by_name["hourly_funding_rate_cap"]._loaded_options = None + _globals["_PERPETUALMARKETINFO"].fields_by_name[ + "hourly_funding_rate_cap" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PERPETUALMARKETINFO"].fields_by_name["hourly_interest_rate"]._loaded_options = None + _globals["_PERPETUALMARKETINFO"].fields_by_name[ + "hourly_interest_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PERPETUALMARKETFUNDING"].fields_by_name["cumulative_funding"]._loaded_options = None + _globals["_PERPETUALMARKETFUNDING"].fields_by_name[ + "cumulative_funding" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PERPETUALMARKETFUNDING"].fields_by_name["cumulative_price"]._loaded_options = None + _globals["_PERPETUALMARKETFUNDING"].fields_by_name[ + "cumulative_price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETSETTLEMENTINFO"].fields_by_name["settlement_price"]._loaded_options = None + _globals["_DERIVATIVEMARKETSETTLEMENTINFO"].fields_by_name[ + "settlement_price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MIDPRICEANDTOB"].fields_by_name["mid_price"]._loaded_options = None + _globals["_MIDPRICEANDTOB"].fields_by_name[ + "mid_price" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MIDPRICEANDTOB"].fields_by_name["best_buy_price"]._loaded_options = None + _globals["_MIDPRICEANDTOB"].fields_by_name[ + "best_buy_price" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MIDPRICEANDTOB"].fields_by_name["best_sell_price"]._loaded_options = None + _globals["_MIDPRICEANDTOB"].fields_by_name[ + "best_sell_price" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKET"].fields_by_name["maker_fee_rate"]._loaded_options = None + _globals["_SPOTMARKET"].fields_by_name[ + "maker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKET"].fields_by_name["taker_fee_rate"]._loaded_options = None + _globals["_SPOTMARKET"].fields_by_name[ + "taker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKET"].fields_by_name["relayer_fee_share_rate"]._loaded_options = None + _globals["_SPOTMARKET"].fields_by_name[ + "relayer_fee_share_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKET"].fields_by_name["min_price_tick_size"]._loaded_options = None + _globals["_SPOTMARKET"].fields_by_name[ + "min_price_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKET"].fields_by_name["min_quantity_tick_size"]._loaded_options = None + _globals["_SPOTMARKET"].fields_by_name[ + "min_quantity_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKET"].fields_by_name["min_notional"]._loaded_options = None + _globals["_SPOTMARKET"].fields_by_name[ + "min_notional" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DEPOSIT"].fields_by_name["available_balance"]._loaded_options = None + _globals["_DEPOSIT"].fields_by_name[ + "available_balance" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DEPOSIT"].fields_by_name["total_balance"]._loaded_options = None + _globals["_DEPOSIT"].fields_by_name[ + "total_balance" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_ORDERINFO"].fields_by_name["price"]._loaded_options = None + _globals["_ORDERINFO"].fields_by_name[ + "price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_ORDERINFO"].fields_by_name["quantity"]._loaded_options = None + _globals["_ORDERINFO"].fields_by_name[ + "quantity" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTORDER"].fields_by_name["order_info"]._loaded_options = None + _globals["_SPOTORDER"].fields_by_name["order_info"]._serialized_options = b"\310\336\037\000" + _globals["_SPOTORDER"].fields_by_name["trigger_price"]._loaded_options = None + _globals["_SPOTORDER"].fields_by_name[ + "trigger_price" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTLIMITORDER"].fields_by_name["order_info"]._loaded_options = None + _globals["_SPOTLIMITORDER"].fields_by_name["order_info"]._serialized_options = b"\310\336\037\000" + _globals["_SPOTLIMITORDER"].fields_by_name["fillable"]._loaded_options = None + _globals["_SPOTLIMITORDER"].fields_by_name[ + "fillable" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTLIMITORDER"].fields_by_name["trigger_price"]._loaded_options = None + _globals["_SPOTLIMITORDER"].fields_by_name[ + "trigger_price" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKETORDER"].fields_by_name["order_info"]._loaded_options = None + _globals["_SPOTMARKETORDER"].fields_by_name["order_info"]._serialized_options = b"\310\336\037\000" + _globals["_SPOTMARKETORDER"].fields_by_name["balance_hold"]._loaded_options = None + _globals["_SPOTMARKETORDER"].fields_by_name[ + "balance_hold" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKETORDER"].fields_by_name["trigger_price"]._loaded_options = None + _globals["_SPOTMARKETORDER"].fields_by_name[ + "trigger_price" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEORDER"].fields_by_name["order_info"]._loaded_options = None + _globals["_DERIVATIVEORDER"].fields_by_name["order_info"]._serialized_options = b"\310\336\037\000" + _globals["_DERIVATIVEORDER"].fields_by_name["margin"]._loaded_options = None + _globals["_DERIVATIVEORDER"].fields_by_name[ + "margin" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEORDER"].fields_by_name["trigger_price"]._loaded_options = None + _globals["_DERIVATIVEORDER"].fields_by_name[ + "trigger_price" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SUBACCOUNTORDERBOOKMETADATA"].fields_by_name["aggregate_reduce_only_quantity"]._loaded_options = None + _globals["_SUBACCOUNTORDERBOOKMETADATA"].fields_by_name[ + "aggregate_reduce_only_quantity" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SUBACCOUNTORDERBOOKMETADATA"].fields_by_name["aggregate_vanilla_quantity"]._loaded_options = None + _globals["_SUBACCOUNTORDERBOOKMETADATA"].fields_by_name[ + "aggregate_vanilla_quantity" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SUBACCOUNTORDER"].fields_by_name["price"]._loaded_options = None + _globals["_SUBACCOUNTORDER"].fields_by_name[ + "price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SUBACCOUNTORDER"].fields_by_name["quantity"]._loaded_options = None + _globals["_SUBACCOUNTORDER"].fields_by_name[ + "quantity" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVELIMITORDER"].fields_by_name["order_info"]._loaded_options = None + _globals["_DERIVATIVELIMITORDER"].fields_by_name["order_info"]._serialized_options = b"\310\336\037\000" + _globals["_DERIVATIVELIMITORDER"].fields_by_name["margin"]._loaded_options = None + _globals["_DERIVATIVELIMITORDER"].fields_by_name[ + "margin" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVELIMITORDER"].fields_by_name["fillable"]._loaded_options = None + _globals["_DERIVATIVELIMITORDER"].fields_by_name[ + "fillable" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVELIMITORDER"].fields_by_name["trigger_price"]._loaded_options = None + _globals["_DERIVATIVELIMITORDER"].fields_by_name[ + "trigger_price" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETORDER"].fields_by_name["order_info"]._loaded_options = None + _globals["_DERIVATIVEMARKETORDER"].fields_by_name["order_info"]._serialized_options = b"\310\336\037\000" + _globals["_DERIVATIVEMARKETORDER"].fields_by_name["margin"]._loaded_options = None + _globals["_DERIVATIVEMARKETORDER"].fields_by_name[ + "margin" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETORDER"].fields_by_name["margin_hold"]._loaded_options = None + _globals["_DERIVATIVEMARKETORDER"].fields_by_name[ + "margin_hold" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETORDER"].fields_by_name["trigger_price"]._loaded_options = None + _globals["_DERIVATIVEMARKETORDER"].fields_by_name[ + "trigger_price" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_POSITION"].fields_by_name["quantity"]._loaded_options = None + _globals["_POSITION"].fields_by_name[ + "quantity" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_POSITION"].fields_by_name["entry_price"]._loaded_options = None + _globals["_POSITION"].fields_by_name[ + "entry_price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_POSITION"].fields_by_name["margin"]._loaded_options = None + _globals["_POSITION"].fields_by_name[ + "margin" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_POSITION"].fields_by_name["cumulative_funding_entry"]._loaded_options = None + _globals["_POSITION"].fields_by_name[ + "cumulative_funding_entry" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_TRADELOG"].fields_by_name["quantity"]._loaded_options = None + _globals["_TRADELOG"].fields_by_name[ + "quantity" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_TRADELOG"].fields_by_name["price"]._loaded_options = None + _globals["_TRADELOG"].fields_by_name[ + "price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_TRADELOG"].fields_by_name["fee"]._loaded_options = None + _globals["_TRADELOG"].fields_by_name[ + "fee" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_TRADELOG"].fields_by_name["fee_recipient_address"]._loaded_options = None + _globals["_TRADELOG"].fields_by_name["fee_recipient_address"]._serialized_options = b"\310\336\037\001" + _globals["_POSITIONDELTA"].fields_by_name["execution_quantity"]._loaded_options = None + _globals["_POSITIONDELTA"].fields_by_name[ + "execution_quantity" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_POSITIONDELTA"].fields_by_name["execution_margin"]._loaded_options = None + _globals["_POSITIONDELTA"].fields_by_name[ + "execution_margin" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_POSITIONDELTA"].fields_by_name["execution_price"]._loaded_options = None + _globals["_POSITIONDELTA"].fields_by_name[ + "execution_price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVETRADELOG"].fields_by_name["payout"]._loaded_options = None + _globals["_DERIVATIVETRADELOG"].fields_by_name[ + "payout" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVETRADELOG"].fields_by_name["fee"]._loaded_options = None + _globals["_DERIVATIVETRADELOG"].fields_by_name[ + "fee" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVETRADELOG"].fields_by_name["fee_recipient_address"]._loaded_options = None + _globals["_DERIVATIVETRADELOG"].fields_by_name["fee_recipient_address"]._serialized_options = b"\310\336\037\001" + _globals["_DERIVATIVETRADELOG"].fields_by_name["pnl"]._loaded_options = None + _globals["_DERIVATIVETRADELOG"].fields_by_name[ + "pnl" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_POINTSMULTIPLIER"].fields_by_name["maker_points_multiplier"]._loaded_options = None + _globals["_POINTSMULTIPLIER"].fields_by_name[ + "maker_points_multiplier" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_POINTSMULTIPLIER"].fields_by_name["taker_points_multiplier"]._loaded_options = None + _globals["_POINTSMULTIPLIER"].fields_by_name[ + "taker_points_multiplier" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_TRADINGREWARDCAMPAIGNBOOSTINFO"].fields_by_name["spot_market_multipliers"]._loaded_options = None + _globals["_TRADINGREWARDCAMPAIGNBOOSTINFO"].fields_by_name[ + "spot_market_multipliers" + ]._serialized_options = b"\310\336\037\000" + _globals["_TRADINGREWARDCAMPAIGNBOOSTINFO"].fields_by_name["derivative_market_multipliers"]._loaded_options = None + _globals["_TRADINGREWARDCAMPAIGNBOOSTINFO"].fields_by_name[ + "derivative_market_multipliers" + ]._serialized_options = b"\310\336\037\000" + _globals["_CAMPAIGNREWARDPOOL"].fields_by_name["max_campaign_rewards"]._loaded_options = None + _globals["_CAMPAIGNREWARDPOOL"].fields_by_name[ + "max_campaign_rewards" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" + _globals["_FEEDISCOUNTTIERINFO"].fields_by_name["maker_discount_rate"]._loaded_options = None + _globals["_FEEDISCOUNTTIERINFO"].fields_by_name[ + "maker_discount_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_FEEDISCOUNTTIERINFO"].fields_by_name["taker_discount_rate"]._loaded_options = None + _globals["_FEEDISCOUNTTIERINFO"].fields_by_name[ + "taker_discount_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_FEEDISCOUNTTIERINFO"].fields_by_name["staked_amount"]._loaded_options = None + _globals["_FEEDISCOUNTTIERINFO"].fields_by_name[ + "staked_amount" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_FEEDISCOUNTTIERINFO"].fields_by_name["volume"]._loaded_options = None + _globals["_FEEDISCOUNTTIERINFO"].fields_by_name[ + "volume" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_VOLUMERECORD"].fields_by_name["maker_volume"]._loaded_options = None + _globals["_VOLUMERECORD"].fields_by_name[ + "maker_volume" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_VOLUMERECORD"].fields_by_name["taker_volume"]._loaded_options = None + _globals["_VOLUMERECORD"].fields_by_name[ + "taker_volume" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_ACCOUNTREWARDS"].fields_by_name["rewards"]._loaded_options = None + _globals["_ACCOUNTREWARDS"].fields_by_name[ + "rewards" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" + _globals["_TRADERECORD"].fields_by_name["price"]._loaded_options = None + _globals["_TRADERECORD"].fields_by_name[ + "price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_TRADERECORD"].fields_by_name["quantity"]._loaded_options = None + _globals["_TRADERECORD"].fields_by_name[ + "quantity" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_LEVEL"].fields_by_name["p"]._loaded_options = None + _globals["_LEVEL"].fields_by_name[ + "p" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_LEVEL"].fields_by_name["q"]._loaded_options = None + _globals["_LEVEL"].fields_by_name[ + "q" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_TRIMMEDLIMITORDER"].fields_by_name["price"]._loaded_options = None + _globals["_TRIMMEDLIMITORDER"].fields_by_name[ + "price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_TRIMMEDLIMITORDER"].fields_by_name["quantity"]._loaded_options = None + _globals["_TRIMMEDLIMITORDER"].fields_by_name[ + "quantity" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MARKETVOLUME"].fields_by_name["volume"]._loaded_options = None + _globals["_MARKETVOLUME"].fields_by_name["volume"]._serialized_options = b"\310\336\037\000" + _globals["_GRANTAUTHORIZATION"].fields_by_name["amount"]._loaded_options = None + _globals["_GRANTAUTHORIZATION"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_ACTIVEGRANT"].fields_by_name["amount"]._loaded_options = None + _globals["_ACTIVEGRANT"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_EFFECTIVEGRANT"].fields_by_name["net_granted_stake"]._loaded_options = None + _globals["_EFFECTIVEGRANT"].fields_by_name[ + "net_granted_stake" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_ATOMICMARKETORDERACCESSLEVEL"]._serialized_start = 16202 + _globals["_ATOMICMARKETORDERACCESSLEVEL"]._serialized_end = 16318 + _globals["_MARKETSTATUS"]._serialized_start = 16320 + _globals["_MARKETSTATUS"]._serialized_end = 16404 + _globals["_ORDERTYPE"]._serialized_start = 16407 + _globals["_ORDERTYPE"]._serialized_end = 16722 + _globals["_EXECUTIONTYPE"]._serialized_start = 16725 + _globals["_EXECUTIONTYPE"]._serialized_end = 16900 + _globals["_ORDERMASK"]._serialized_start = 16903 + _globals["_ORDERMASK"]._serialized_end = 17168 + _globals["_PARAMS"]._serialized_start = 186 + _globals["_PARAMS"]._serialized_end = 2967 + _globals["_MARKETFEEMULTIPLIER"]._serialized_start = 2970 + _globals["_MARKETFEEMULTIPLIER"]._serialized_end = 3102 + _globals["_DERIVATIVEMARKET"]._serialized_start = 3105 + _globals["_DERIVATIVEMARKET"]._serialized_end = 4237 + _globals["_BINARYOPTIONSMARKET"]._serialized_start = 4240 + _globals["_BINARYOPTIONSMARKET"]._serialized_end = 5351 + _globals["_EXPIRYFUTURESMARKETINFO"]._serialized_start = 5354 + _globals["_EXPIRYFUTURESMARKETINFO"]._serialized_end = 5710 + _globals["_PERPETUALMARKETINFO"]._serialized_start = 5713 + _globals["_PERPETUALMARKETINFO"]._serialized_end = 6039 + _globals["_PERPETUALMARKETFUNDING"]._serialized_start = 6042 + _globals["_PERPETUALMARKETFUNDING"]._serialized_end = 6269 + _globals["_DERIVATIVEMARKETSETTLEMENTINFO"]._serialized_start = 6272 + _globals["_DERIVATIVEMARKETSETTLEMENTINFO"]._serialized_end = 6413 + _globals["_NEXTFUNDINGTIMESTAMP"]._serialized_start = 6415 + _globals["_NEXTFUNDINGTIMESTAMP"]._serialized_end = 6476 + _globals["_MIDPRICEANDTOB"]._serialized_start = 6479 + _globals["_MIDPRICEANDTOB"]._serialized_end = 6713 + _globals["_SPOTMARKET"]._serialized_start = 6716 + _globals["_SPOTMARKET"]._serialized_end = 7464 + _globals["_DEPOSIT"]._serialized_start = 7467 + _globals["_DEPOSIT"]._serialized_end = 7632 + _globals["_SUBACCOUNTTRADENONCE"]._serialized_start = 7634 + _globals["_SUBACCOUNTTRADENONCE"]._serialized_end = 7678 + _globals["_ORDERINFO"]._serialized_start = 7681 + _globals["_ORDERINFO"]._serialized_end = 7908 + _globals["_SPOTORDER"]._serialized_start = 7911 + _globals["_SPOTORDER"]._serialized_end = 8171 + _globals["_SPOTLIMITORDER"]._serialized_start = 8174 + _globals["_SPOTLIMITORDER"]._serialized_end = 8506 + _globals["_SPOTMARKETORDER"]._serialized_start = 8509 + _globals["_SPOTMARKETORDER"]._serialized_end = 8849 + _globals["_DERIVATIVEORDER"]._serialized_start = 8852 + _globals["_DERIVATIVEORDER"]._serialized_end = 9179 + _globals["_SUBACCOUNTORDERBOOKMETADATA"]._serialized_start = 9182 + _globals["_SUBACCOUNTORDERBOOKMETADATA"]._serialized_end = 9690 + _globals["_SUBACCOUNTORDER"]._serialized_start = 9693 + _globals["_SUBACCOUNTORDER"]._serialized_end = 9888 + _globals["_SUBACCOUNTORDERDATA"]._serialized_start = 9890 + _globals["_SUBACCOUNTORDERDATA"]._serialized_end = 10009 + _globals["_DERIVATIVELIMITORDER"]._serialized_start = 10012 + _globals["_DERIVATIVELIMITORDER"]._serialized_end = 10411 + _globals["_DERIVATIVEMARKETORDER"]._serialized_start = 10414 + _globals["_DERIVATIVEMARKETORDER"]._serialized_end = 10819 + _globals["_POSITION"]._serialized_start = 10822 + _globals["_POSITION"]._serialized_end = 11147 + _globals["_MARKETORDERINDICATOR"]._serialized_start = 11149 + _globals["_MARKETORDERINDICATOR"]._serialized_end = 11222 + _globals["_TRADELOG"]._serialized_start = 11225 + _globals["_TRADELOG"]._serialized_end = 11558 + _globals["_POSITIONDELTA"]._serialized_start = 11561 + _globals["_POSITIONDELTA"]._serialized_end = 11843 + _globals["_DERIVATIVETRADELOG"]._serialized_start = 11846 + _globals["_DERIVATIVETRADELOG"]._serialized_end = 12263 + _globals["_SUBACCOUNTPOSITION"]._serialized_start = 12265 + _globals["_SUBACCOUNTPOSITION"]._serialized_end = 12388 + _globals["_SUBACCOUNTDEPOSIT"]._serialized_start = 12390 + _globals["_SUBACCOUNTDEPOSIT"]._serialized_end = 12509 + _globals["_DEPOSITUPDATE"]._serialized_start = 12511 + _globals["_DEPOSITUPDATE"]._serialized_end = 12623 + _globals["_POINTSMULTIPLIER"]._serialized_start = 12626 + _globals["_POINTSMULTIPLIER"]._serialized_end = 12830 + _globals["_TRADINGREWARDCAMPAIGNBOOSTINFO"]._serialized_start = 12833 + _globals["_TRADINGREWARDCAMPAIGNBOOSTINFO"]._serialized_end = 13215 + _globals["_CAMPAIGNREWARDPOOL"]._serialized_start = 13218 + _globals["_CAMPAIGNREWARDPOOL"]._serialized_end = 13406 + _globals["_TRADINGREWARDCAMPAIGNINFO"]._serialized_start = 13409 + _globals["_TRADINGREWARDCAMPAIGNINFO"]._serialized_end = 13706 + _globals["_FEEDISCOUNTTIERINFO"]._serialized_start = 13709 + _globals["_FEEDISCOUNTTIERINFO"]._serialized_end = 14029 + _globals["_FEEDISCOUNTSCHEDULE"]._serialized_start = 14032 + _globals["_FEEDISCOUNTSCHEDULE"]._serialized_end = 14300 + _globals["_FEEDISCOUNTTIERTTL"]._serialized_start = 14302 + _globals["_FEEDISCOUNTTIERTTL"]._serialized_end = 14379 + _globals["_VOLUMERECORD"]._serialized_start = 14382 + _globals["_VOLUMERECORD"]._serialized_end = 14540 + _globals["_ACCOUNTREWARDS"]._serialized_start = 14543 + _globals["_ACCOUNTREWARDS"]._serialized_end = 14688 + _globals["_TRADERECORDS"]._serialized_start = 14691 + _globals["_TRADERECORDS"]._serialized_end = 14825 + _globals["_SUBACCOUNTIDS"]._serialized_start = 14827 + _globals["_SUBACCOUNTIDS"]._serialized_end = 14881 + _globals["_TRADERECORD"]._serialized_start = 14884 + _globals["_TRADERECORD"]._serialized_end = 15051 + _globals["_LEVEL"]._serialized_start = 15053 + _globals["_LEVEL"]._serialized_end = 15162 + _globals["_TRIMMEDLIMITORDER"]._serialized_start = 15165 + _globals["_TRIMMEDLIMITORDER"]._serialized_end = 15376 + _globals["_AGGREGATESUBACCOUNTVOLUMERECORD"]._serialized_start = 15379 + _globals["_AGGREGATESUBACCOUNTVOLUMERECORD"]._serialized_end = 15530 + _globals["_AGGREGATEACCOUNTVOLUMERECORD"]._serialized_start = 15533 + _globals["_AGGREGATEACCOUNTVOLUMERECORD"]._serialized_end = 15670 + _globals["_MARKETVOLUME"]._serialized_start = 15672 + _globals["_MARKETVOLUME"]._serialized_end = 15787 + _globals["_DENOMDECIMALS"]._serialized_start = 15789 + _globals["_DENOMDECIMALS"]._serialized_end = 15854 + _globals["_GRANTAUTHORIZATION"]._serialized_start = 15856 + _globals["_GRANTAUTHORIZATION"]._serialized_end = 15957 + _globals["_ACTIVEGRANT"]._serialized_start = 15959 + _globals["_ACTIVEGRANT"]._serialized_end = 16053 + _globals["_EFFECTIVEGRANT"]._serialized_start = 16056 + _globals["_EFFECTIVEGRANT"]._serialized_end = 16200 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2_grpc.py +++ b/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py index 62b1d57b..3ca11adc 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py @@ -7,98 +7,115 @@ 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 pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 +from pyinjective.proto.injective.exchange.v1beta1 import ( + exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2, +) from pyinjective.proto.injective.exchange.v1beta1 import tx_pb2 as injective_dot_exchange_dot_v1beta1_dot_tx__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(injective/exchange/v1beta1/genesis.proto\x12\x1ainjective.exchange.v1beta1\x1a)injective/exchange/v1beta1/exchange.proto\x1a#injective/exchange/v1beta1/tx.proto\x1a\x14gogoproto/gogo.proto\"\xab\x1d\n\x0cGenesisState\x12@\n\x06params\x18\x01 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12I\n\x0cspot_markets\x18\x02 \x03(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x0bspotMarkets\x12[\n\x12\x64\x65rivative_markets\x18\x03 \x03(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketR\x11\x64\x65rivativeMarkets\x12V\n\x0espot_orderbook\x18\x04 \x03(\x0b\x32).injective.exchange.v1beta1.SpotOrderBookB\x04\xc8\xde\x1f\x00R\rspotOrderbook\x12h\n\x14\x64\x65rivative_orderbook\x18\x05 \x03(\x0b\x32/.injective.exchange.v1beta1.DerivativeOrderBookB\x04\xc8\xde\x1f\x00R\x13\x64\x65rivativeOrderbook\x12\x45\n\x08\x62\x61lances\x18\x06 \x03(\x0b\x32#.injective.exchange.v1beta1.BalanceB\x04\xc8\xde\x1f\x00R\x08\x62\x61lances\x12R\n\tpositions\x18\x07 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\tpositions\x12i\n\x17subaccount_trade_nonces\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.SubaccountNonceB\x04\xc8\xde\x1f\x00R\x15subaccountTradeNonces\x12\x86\x01\n expiry_futures_market_info_state\x18\t \x03(\x0b\x32\x38.injective.exchange.v1beta1.ExpiryFuturesMarketInfoStateB\x04\xc8\xde\x1f\x00R\x1c\x65xpiryFuturesMarketInfoState\x12i\n\x15perpetual_market_info\x18\n \x03(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00R\x13perpetualMarketInfo\x12\x82\x01\n\x1eperpetual_market_funding_state\x18\x0b \x03(\x0b\x32\x37.injective.exchange.v1beta1.PerpetualMarketFundingStateB\x04\xc8\xde\x1f\x00R\x1bperpetualMarketFundingState\x12\x95\x01\n&derivative_market_settlement_scheduled\x18\x0c \x03(\x0b\x32:.injective.exchange.v1beta1.DerivativeMarketSettlementInfoB\x04\xc8\xde\x1f\x00R#derivativeMarketSettlementScheduled\x12\x37\n\x18is_spot_exchange_enabled\x18\r \x01(\x08R\x15isSpotExchangeEnabled\x12\x45\n\x1fis_derivatives_exchange_enabled\x18\x0e \x01(\x08R\x1cisDerivativesExchangeEnabled\x12v\n\x1ctrading_reward_campaign_info\x18\x0f \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x19tradingRewardCampaignInfo\x12\x80\x01\n%trading_reward_pool_campaign_schedule\x18\x10 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR!tradingRewardPoolCampaignSchedule\x12\x92\x01\n&trading_reward_campaign_account_points\x18\x11 \x03(\x0b\x32>.injective.exchange.v1beta1.TradingRewardCampaignAccountPointsR\"tradingRewardCampaignAccountPoints\x12\x63\n\x15\x66\x65\x65_discount_schedule\x18\x12 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x13\x66\x65\x65\x44iscountSchedule\x12w\n\x1d\x66\x65\x65_discount_account_tier_ttl\x18\x13 \x03(\x0b\x32\x35.injective.exchange.v1beta1.FeeDiscountAccountTierTTLR\x19\x66\x65\x65\x44iscountAccountTierTtl\x12\x89\x01\n#fee_discount_bucket_volume_accounts\x18\x14 \x03(\x0b\x32;.injective.exchange.v1beta1.FeeDiscountBucketVolumeAccountsR\x1f\x66\x65\x65\x44iscountBucketVolumeAccounts\x12<\n\x1bis_first_fee_cycle_finished\x18\x15 \x01(\x08R\x17isFirstFeeCycleFinished\x12\x8f\x01\n-pending_trading_reward_pool_campaign_schedule\x18\x16 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR(pendingTradingRewardPoolCampaignSchedule\x12\xa8\x01\n.pending_trading_reward_campaign_account_points\x18\x17 \x03(\x0b\x32\x45.injective.exchange.v1beta1.TradingRewardCampaignAccountPendingPointsR)pendingTradingRewardCampaignAccountPoints\x12\x39\n\x19rewards_opt_out_addresses\x18\x18 \x03(\tR\x16rewardsOptOutAddresses\x12\x62\n\x18historical_trade_records\x18\x19 \x03(\x0b\x32(.injective.exchange.v1beta1.TradeRecordsR\x16historicalTradeRecords\x12\x65\n\x16\x62inary_options_markets\x18\x1a \x03(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketR\x14\x62inaryOptionsMarkets\x12h\n2binary_options_market_ids_scheduled_for_settlement\x18\x1b \x03(\tR,binaryOptionsMarketIdsScheduledForSettlement\x12T\n(spot_market_ids_scheduled_to_force_close\x18\x1c \x03(\tR\"spotMarketIdsScheduledToForceClose\x12V\n\x0e\x64\x65nom_decimals\x18\x1d \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsB\x04\xc8\xde\x1f\x00R\rdenomDecimals\x12\x86\x01\n!conditional_derivative_orderbooks\x18\x1e \x03(\x0b\x32:.injective.exchange.v1beta1.ConditionalDerivativeOrderBookR\x1f\x63onditionalDerivativeOrderbooks\x12\x65\n\x16market_fee_multipliers\x18\x1f \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers\x12^\n\x13orderbook_sequences\x18 \x03(\x0b\x32-.injective.exchange.v1beta1.OrderbookSequenceR\x12orderbookSequences\x12j\n\x12subaccount_volumes\x18! \x03(\x0b\x32;.injective.exchange.v1beta1.AggregateSubaccountVolumeRecordR\x11subaccountVolumes\x12O\n\x0emarket_volumes\x18\" \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes\x12\x66\n\x14grant_authorizations\x18# \x03(\x0b\x32\x33.injective.exchange.v1beta1.FullGrantAuthorizationsR\x13grantAuthorizations\x12P\n\ractive_grants\x18$ \x03(\x0b\x32+.injective.exchange.v1beta1.FullActiveGrantR\x0c\x61\x63tiveGrants\"L\n\x11OrderbookSequence\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"\x80\x01\n\x19\x46\x65\x65\x44iscountAccountTierTTL\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12I\n\x08tier_ttl\x18\x02 \x01(\x0b\x32..injective.exchange.v1beta1.FeeDiscountTierTTLR\x07tierTtl\"\xa9\x01\n\x1f\x46\x65\x65\x44iscountBucketVolumeAccounts\x12\x34\n\x16\x62ucket_start_timestamp\x18\x01 \x01(\x03R\x14\x62ucketStartTimestamp\x12P\n\x0e\x61\x63\x63ount_volume\x18\x02 \x03(\x0b\x32).injective.exchange.v1beta1.AccountVolumeR\raccountVolume\"f\n\rAccountVolume\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12;\n\x06volume\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06volume\"{\n\"TradingRewardCampaignAccountPoints\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12;\n\x06points\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06points\"\xd1\x01\n)TradingRewardCampaignAccountPendingPoints\x12=\n\x1breward_pool_start_timestamp\x18\x01 \x01(\x03R\x18rewardPoolStartTimestamp\x12\x65\n\x0e\x61\x63\x63ount_points\x18\x02 \x03(\x0b\x32>.injective.exchange.v1beta1.TradingRewardCampaignAccountPointsR\raccountPoints\"\x98\x01\n\rSpotOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1c\n\tisBuySide\x18\x02 \x01(\x08R\tisBuySide\x12\x42\n\x06orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\x06orders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa4\x01\n\x13\x44\x65rivativeOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1c\n\tisBuySide\x18\x02 \x01(\x08R\tisBuySide\x12H\n\x06orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x06orders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc1\x03\n\x1e\x43onditionalDerivativeOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Z\n\x10limit_buy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x0elimitBuyOrders\x12]\n\x11market_buy_orders\x18\x03 \x03(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderR\x0fmarketBuyOrders\x12\\\n\x11limit_sell_orders\x18\x04 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x0flimitSellOrders\x12_\n\x12market_sell_orders\x18\x05 \x03(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderR\x10marketSellOrders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8f\x01\n\x07\x42\x61lance\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12?\n\x08\x64\x65posits\x18\x03 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x08\x64\x65posits:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa2\x01\n\x12\x44\x65rivativePosition\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12@\n\x08position\x18\x03 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionR\x08position:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xae\x01\n\x0fSubaccountNonce\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12l\n\x16subaccount_trade_nonce\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.SubaccountTradeNonceB\x04\xc8\xde\x1f\x00R\x14subaccountTradeNonce:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x91\x01\n\x1c\x45xpiryFuturesMarketInfoState\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12T\n\x0bmarket_info\x18\x02 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoR\nmarketInfo\"\x88\x01\n\x1bPerpetualMarketFundingState\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingR\x07\x66unding\"\x8b\x02\n\x17\x46ullGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12K\n\x12total_grant_amount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10totalGrantAmount\x12\x41\n\x1dlast_delegations_checked_time\x18\x03 \x01(\x03R\x1alastDelegationsCheckedTime\x12\x46\n\x06grants\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants\"w\n\x0f\x46ullActiveGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12J\n\x0c\x61\x63tive_grant\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.ActiveGrantR\x0b\x61\x63tiveGrantB\x88\x02\n\x1e\x63om.injective.exchange.v1beta1B\x0cGenesisProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n(injective/exchange/v1beta1/genesis.proto\x12\x1ainjective.exchange.v1beta1\x1a)injective/exchange/v1beta1/exchange.proto\x1a#injective/exchange/v1beta1/tx.proto\x1a\x14gogoproto/gogo.proto"\xab\x1d\n\x0cGenesisState\x12@\n\x06params\x18\x01 \x01(\x0b\x32".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12I\n\x0cspot_markets\x18\x02 \x03(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x0bspotMarkets\x12[\n\x12\x64\x65rivative_markets\x18\x03 \x03(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketR\x11\x64\x65rivativeMarkets\x12V\n\x0espot_orderbook\x18\x04 \x03(\x0b\x32).injective.exchange.v1beta1.SpotOrderBookB\x04\xc8\xde\x1f\x00R\rspotOrderbook\x12h\n\x14\x64\x65rivative_orderbook\x18\x05 \x03(\x0b\x32/.injective.exchange.v1beta1.DerivativeOrderBookB\x04\xc8\xde\x1f\x00R\x13\x64\x65rivativeOrderbook\x12\x45\n\x08\x62\x61lances\x18\x06 \x03(\x0b\x32#.injective.exchange.v1beta1.BalanceB\x04\xc8\xde\x1f\x00R\x08\x62\x61lances\x12R\n\tpositions\x18\x07 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\tpositions\x12i\n\x17subaccount_trade_nonces\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.SubaccountNonceB\x04\xc8\xde\x1f\x00R\x15subaccountTradeNonces\x12\x86\x01\n expiry_futures_market_info_state\x18\t \x03(\x0b\x32\x38.injective.exchange.v1beta1.ExpiryFuturesMarketInfoStateB\x04\xc8\xde\x1f\x00R\x1c\x65xpiryFuturesMarketInfoState\x12i\n\x15perpetual_market_info\x18\n \x03(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00R\x13perpetualMarketInfo\x12\x82\x01\n\x1eperpetual_market_funding_state\x18\x0b \x03(\x0b\x32\x37.injective.exchange.v1beta1.PerpetualMarketFundingStateB\x04\xc8\xde\x1f\x00R\x1bperpetualMarketFundingState\x12\x95\x01\n&derivative_market_settlement_scheduled\x18\x0c \x03(\x0b\x32:.injective.exchange.v1beta1.DerivativeMarketSettlementInfoB\x04\xc8\xde\x1f\x00R#derivativeMarketSettlementScheduled\x12\x37\n\x18is_spot_exchange_enabled\x18\r \x01(\x08R\x15isSpotExchangeEnabled\x12\x45\n\x1fis_derivatives_exchange_enabled\x18\x0e \x01(\x08R\x1cisDerivativesExchangeEnabled\x12v\n\x1ctrading_reward_campaign_info\x18\x0f \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x19tradingRewardCampaignInfo\x12\x80\x01\n%trading_reward_pool_campaign_schedule\x18\x10 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR!tradingRewardPoolCampaignSchedule\x12\x92\x01\n&trading_reward_campaign_account_points\x18\x11 \x03(\x0b\x32>.injective.exchange.v1beta1.TradingRewardCampaignAccountPointsR"tradingRewardCampaignAccountPoints\x12\x63\n\x15\x66\x65\x65_discount_schedule\x18\x12 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x13\x66\x65\x65\x44iscountSchedule\x12w\n\x1d\x66\x65\x65_discount_account_tier_ttl\x18\x13 \x03(\x0b\x32\x35.injective.exchange.v1beta1.FeeDiscountAccountTierTTLR\x19\x66\x65\x65\x44iscountAccountTierTtl\x12\x89\x01\n#fee_discount_bucket_volume_accounts\x18\x14 \x03(\x0b\x32;.injective.exchange.v1beta1.FeeDiscountBucketVolumeAccountsR\x1f\x66\x65\x65\x44iscountBucketVolumeAccounts\x12<\n\x1bis_first_fee_cycle_finished\x18\x15 \x01(\x08R\x17isFirstFeeCycleFinished\x12\x8f\x01\n-pending_trading_reward_pool_campaign_schedule\x18\x16 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR(pendingTradingRewardPoolCampaignSchedule\x12\xa8\x01\n.pending_trading_reward_campaign_account_points\x18\x17 \x03(\x0b\x32\x45.injective.exchange.v1beta1.TradingRewardCampaignAccountPendingPointsR)pendingTradingRewardCampaignAccountPoints\x12\x39\n\x19rewards_opt_out_addresses\x18\x18 \x03(\tR\x16rewardsOptOutAddresses\x12\x62\n\x18historical_trade_records\x18\x19 \x03(\x0b\x32(.injective.exchange.v1beta1.TradeRecordsR\x16historicalTradeRecords\x12\x65\n\x16\x62inary_options_markets\x18\x1a \x03(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketR\x14\x62inaryOptionsMarkets\x12h\n2binary_options_market_ids_scheduled_for_settlement\x18\x1b \x03(\tR,binaryOptionsMarketIdsScheduledForSettlement\x12T\n(spot_market_ids_scheduled_to_force_close\x18\x1c \x03(\tR"spotMarketIdsScheduledToForceClose\x12V\n\x0e\x64\x65nom_decimals\x18\x1d \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsB\x04\xc8\xde\x1f\x00R\rdenomDecimals\x12\x86\x01\n!conditional_derivative_orderbooks\x18\x1e \x03(\x0b\x32:.injective.exchange.v1beta1.ConditionalDerivativeOrderBookR\x1f\x63onditionalDerivativeOrderbooks\x12\x65\n\x16market_fee_multipliers\x18\x1f \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers\x12^\n\x13orderbook_sequences\x18 \x03(\x0b\x32-.injective.exchange.v1beta1.OrderbookSequenceR\x12orderbookSequences\x12j\n\x12subaccount_volumes\x18! \x03(\x0b\x32;.injective.exchange.v1beta1.AggregateSubaccountVolumeRecordR\x11subaccountVolumes\x12O\n\x0emarket_volumes\x18" \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes\x12\x66\n\x14grant_authorizations\x18# \x03(\x0b\x32\x33.injective.exchange.v1beta1.FullGrantAuthorizationsR\x13grantAuthorizations\x12P\n\ractive_grants\x18$ \x03(\x0b\x32+.injective.exchange.v1beta1.FullActiveGrantR\x0c\x61\x63tiveGrants"L\n\x11OrderbookSequence\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId"\x80\x01\n\x19\x46\x65\x65\x44iscountAccountTierTTL\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12I\n\x08tier_ttl\x18\x02 \x01(\x0b\x32..injective.exchange.v1beta1.FeeDiscountTierTTLR\x07tierTtl"\xa9\x01\n\x1f\x46\x65\x65\x44iscountBucketVolumeAccounts\x12\x34\n\x16\x62ucket_start_timestamp\x18\x01 \x01(\x03R\x14\x62ucketStartTimestamp\x12P\n\x0e\x61\x63\x63ount_volume\x18\x02 \x03(\x0b\x32).injective.exchange.v1beta1.AccountVolumeR\raccountVolume"f\n\rAccountVolume\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12;\n\x06volume\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06volume"{\n"TradingRewardCampaignAccountPoints\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12;\n\x06points\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06points"\xd1\x01\n)TradingRewardCampaignAccountPendingPoints\x12=\n\x1breward_pool_start_timestamp\x18\x01 \x01(\x03R\x18rewardPoolStartTimestamp\x12\x65\n\x0e\x61\x63\x63ount_points\x18\x02 \x03(\x0b\x32>.injective.exchange.v1beta1.TradingRewardCampaignAccountPointsR\raccountPoints"\x98\x01\n\rSpotOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1c\n\tisBuySide\x18\x02 \x01(\x08R\tisBuySide\x12\x42\n\x06orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\x06orders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xa4\x01\n\x13\x44\x65rivativeOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1c\n\tisBuySide\x18\x02 \x01(\x08R\tisBuySide\x12H\n\x06orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x06orders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xc1\x03\n\x1e\x43onditionalDerivativeOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Z\n\x10limit_buy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x0elimitBuyOrders\x12]\n\x11market_buy_orders\x18\x03 \x03(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderR\x0fmarketBuyOrders\x12\\\n\x11limit_sell_orders\x18\x04 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x0flimitSellOrders\x12_\n\x12market_sell_orders\x18\x05 \x03(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderR\x10marketSellOrders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x8f\x01\n\x07\x42\x61lance\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12?\n\x08\x64\x65posits\x18\x03 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x08\x64\x65posits:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xa2\x01\n\x12\x44\x65rivativePosition\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12@\n\x08position\x18\x03 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionR\x08position:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xae\x01\n\x0fSubaccountNonce\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12l\n\x16subaccount_trade_nonce\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.SubaccountTradeNonceB\x04\xc8\xde\x1f\x00R\x14subaccountTradeNonce:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x91\x01\n\x1c\x45xpiryFuturesMarketInfoState\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12T\n\x0bmarket_info\x18\x02 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoR\nmarketInfo"\x88\x01\n\x1bPerpetualMarketFundingState\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingR\x07\x66unding"\x8b\x02\n\x17\x46ullGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12K\n\x12total_grant_amount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10totalGrantAmount\x12\x41\n\x1dlast_delegations_checked_time\x18\x03 \x01(\x03R\x1alastDelegationsCheckedTime\x12\x46\n\x06grants\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants"w\n\x0f\x46ullActiveGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12J\n\x0c\x61\x63tive_grant\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.ActiveGrantR\x0b\x61\x63tiveGrantB\x88\x02\n\x1e\x63om.injective.exchange.v1beta1B\x0cGenesisProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.exchange.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\014GenesisProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['spot_orderbook']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['spot_orderbook']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['derivative_orderbook']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['derivative_orderbook']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['balances']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['positions']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['positions']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['subaccount_trade_nonces']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['subaccount_trade_nonces']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['expiry_futures_market_info_state']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['expiry_futures_market_info_state']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['perpetual_market_info']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['perpetual_market_info']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['perpetual_market_funding_state']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['perpetual_market_funding_state']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['derivative_market_settlement_scheduled']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['derivative_market_settlement_scheduled']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['denom_decimals']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['denom_decimals']._serialized_options = b'\310\336\037\000' - _globals['_ACCOUNTVOLUME'].fields_by_name['volume']._loaded_options = None - _globals['_ACCOUNTVOLUME'].fields_by_name['volume']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS'].fields_by_name['points']._loaded_options = None - _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS'].fields_by_name['points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTORDERBOOK']._loaded_options = None - _globals['_SPOTORDERBOOK']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_DERIVATIVEORDERBOOK']._loaded_options = None - _globals['_DERIVATIVEORDERBOOK']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_CONDITIONALDERIVATIVEORDERBOOK']._loaded_options = None - _globals['_CONDITIONALDERIVATIVEORDERBOOK']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_BALANCE']._loaded_options = None - _globals['_BALANCE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_DERIVATIVEPOSITION']._loaded_options = None - _globals['_DERIVATIVEPOSITION']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_SUBACCOUNTNONCE'].fields_by_name['subaccount_trade_nonce']._loaded_options = None - _globals['_SUBACCOUNTNONCE'].fields_by_name['subaccount_trade_nonce']._serialized_options = b'\310\336\037\000' - _globals['_SUBACCOUNTNONCE']._loaded_options = None - _globals['_SUBACCOUNTNONCE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_FULLGRANTAUTHORIZATIONS'].fields_by_name['total_grant_amount']._loaded_options = None - _globals['_FULLGRANTAUTHORIZATIONS'].fields_by_name['total_grant_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_GENESISSTATE']._serialized_start=175 - _globals['_GENESISSTATE']._serialized_end=3930 - _globals['_ORDERBOOKSEQUENCE']._serialized_start=3932 - _globals['_ORDERBOOKSEQUENCE']._serialized_end=4008 - _globals['_FEEDISCOUNTACCOUNTTIERTTL']._serialized_start=4011 - _globals['_FEEDISCOUNTACCOUNTTIERTTL']._serialized_end=4139 - _globals['_FEEDISCOUNTBUCKETVOLUMEACCOUNTS']._serialized_start=4142 - _globals['_FEEDISCOUNTBUCKETVOLUMEACCOUNTS']._serialized_end=4311 - _globals['_ACCOUNTVOLUME']._serialized_start=4313 - _globals['_ACCOUNTVOLUME']._serialized_end=4415 - _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS']._serialized_start=4417 - _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS']._serialized_end=4540 - _globals['_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS']._serialized_start=4543 - _globals['_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS']._serialized_end=4752 - _globals['_SPOTORDERBOOK']._serialized_start=4755 - _globals['_SPOTORDERBOOK']._serialized_end=4907 - _globals['_DERIVATIVEORDERBOOK']._serialized_start=4910 - _globals['_DERIVATIVEORDERBOOK']._serialized_end=5074 - _globals['_CONDITIONALDERIVATIVEORDERBOOK']._serialized_start=5077 - _globals['_CONDITIONALDERIVATIVEORDERBOOK']._serialized_end=5526 - _globals['_BALANCE']._serialized_start=5529 - _globals['_BALANCE']._serialized_end=5672 - _globals['_DERIVATIVEPOSITION']._serialized_start=5675 - _globals['_DERIVATIVEPOSITION']._serialized_end=5837 - _globals['_SUBACCOUNTNONCE']._serialized_start=5840 - _globals['_SUBACCOUNTNONCE']._serialized_end=6014 - _globals['_EXPIRYFUTURESMARKETINFOSTATE']._serialized_start=6017 - _globals['_EXPIRYFUTURESMARKETINFOSTATE']._serialized_end=6162 - _globals['_PERPETUALMARKETFUNDINGSTATE']._serialized_start=6165 - _globals['_PERPETUALMARKETFUNDINGSTATE']._serialized_end=6301 - _globals['_FULLGRANTAUTHORIZATIONS']._serialized_start=6304 - _globals['_FULLGRANTAUTHORIZATIONS']._serialized_end=6571 - _globals['_FULLACTIVEGRANT']._serialized_start=6573 - _globals['_FULLACTIVEGRANT']._serialized_end=6692 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\036com.injective.exchange.v1beta1B\014GenesisProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1" + ) + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["spot_orderbook"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["spot_orderbook"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["derivative_orderbook"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["derivative_orderbook"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["balances"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["balances"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["positions"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["positions"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["subaccount_trade_nonces"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["subaccount_trade_nonces"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["expiry_futures_market_info_state"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "expiry_futures_market_info_state" + ]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["perpetual_market_info"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["perpetual_market_info"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["perpetual_market_funding_state"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["perpetual_market_funding_state"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["derivative_market_settlement_scheduled"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "derivative_market_settlement_scheduled" + ]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["denom_decimals"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["denom_decimals"]._serialized_options = b"\310\336\037\000" + _globals["_ACCOUNTVOLUME"].fields_by_name["volume"]._loaded_options = None + _globals["_ACCOUNTVOLUME"].fields_by_name[ + "volume" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_TRADINGREWARDCAMPAIGNACCOUNTPOINTS"].fields_by_name["points"]._loaded_options = None + _globals["_TRADINGREWARDCAMPAIGNACCOUNTPOINTS"].fields_by_name[ + "points" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTORDERBOOK"]._loaded_options = None + _globals["_SPOTORDERBOOK"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_DERIVATIVEORDERBOOK"]._loaded_options = None + _globals["_DERIVATIVEORDERBOOK"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_CONDITIONALDERIVATIVEORDERBOOK"]._loaded_options = None + _globals["_CONDITIONALDERIVATIVEORDERBOOK"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_BALANCE"]._loaded_options = None + _globals["_BALANCE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_DERIVATIVEPOSITION"]._loaded_options = None + _globals["_DERIVATIVEPOSITION"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_SUBACCOUNTNONCE"].fields_by_name["subaccount_trade_nonce"]._loaded_options = None + _globals["_SUBACCOUNTNONCE"].fields_by_name["subaccount_trade_nonce"]._serialized_options = b"\310\336\037\000" + _globals["_SUBACCOUNTNONCE"]._loaded_options = None + _globals["_SUBACCOUNTNONCE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_FULLGRANTAUTHORIZATIONS"].fields_by_name["total_grant_amount"]._loaded_options = None + _globals["_FULLGRANTAUTHORIZATIONS"].fields_by_name[ + "total_grant_amount" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_GENESISSTATE"]._serialized_start = 175 + _globals["_GENESISSTATE"]._serialized_end = 3930 + _globals["_ORDERBOOKSEQUENCE"]._serialized_start = 3932 + _globals["_ORDERBOOKSEQUENCE"]._serialized_end = 4008 + _globals["_FEEDISCOUNTACCOUNTTIERTTL"]._serialized_start = 4011 + _globals["_FEEDISCOUNTACCOUNTTIERTTL"]._serialized_end = 4139 + _globals["_FEEDISCOUNTBUCKETVOLUMEACCOUNTS"]._serialized_start = 4142 + _globals["_FEEDISCOUNTBUCKETVOLUMEACCOUNTS"]._serialized_end = 4311 + _globals["_ACCOUNTVOLUME"]._serialized_start = 4313 + _globals["_ACCOUNTVOLUME"]._serialized_end = 4415 + _globals["_TRADINGREWARDCAMPAIGNACCOUNTPOINTS"]._serialized_start = 4417 + _globals["_TRADINGREWARDCAMPAIGNACCOUNTPOINTS"]._serialized_end = 4540 + _globals["_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS"]._serialized_start = 4543 + _globals["_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS"]._serialized_end = 4752 + _globals["_SPOTORDERBOOK"]._serialized_start = 4755 + _globals["_SPOTORDERBOOK"]._serialized_end = 4907 + _globals["_DERIVATIVEORDERBOOK"]._serialized_start = 4910 + _globals["_DERIVATIVEORDERBOOK"]._serialized_end = 5074 + _globals["_CONDITIONALDERIVATIVEORDERBOOK"]._serialized_start = 5077 + _globals["_CONDITIONALDERIVATIVEORDERBOOK"]._serialized_end = 5526 + _globals["_BALANCE"]._serialized_start = 5529 + _globals["_BALANCE"]._serialized_end = 5672 + _globals["_DERIVATIVEPOSITION"]._serialized_start = 5675 + _globals["_DERIVATIVEPOSITION"]._serialized_end = 5837 + _globals["_SUBACCOUNTNONCE"]._serialized_start = 5840 + _globals["_SUBACCOUNTNONCE"]._serialized_end = 6014 + _globals["_EXPIRYFUTURESMARKETINFOSTATE"]._serialized_start = 6017 + _globals["_EXPIRYFUTURESMARKETINFOSTATE"]._serialized_end = 6162 + _globals["_PERPETUALMARKETFUNDINGSTATE"]._serialized_start = 6165 + _globals["_PERPETUALMARKETFUNDINGSTATE"]._serialized_end = 6301 + _globals["_FULLGRANTAUTHORIZATIONS"]._serialized_start = 6304 + _globals["_FULLGRANTAUTHORIZATIONS"]._serialized_end = 6571 + _globals["_FULLACTIVEGRANT"]._serialized_start = 6573 + _globals["_FULLACTIVEGRANT"]._serialized_end = 6692 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py index 962502a2..878ae1f8 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py @@ -7,215 +7,360 @@ 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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 +from pyinjective.proto.cosmos.distribution.v1beta1 import ( + distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2, +) from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 +from pyinjective.proto.injective.exchange.v1beta1 import ( + exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2, +) from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/exchange/v1beta1/proposal.proto\x12\x1ainjective.exchange.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a)injective/exchange/v1beta1/exchange.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\xd3\x06\n\x1dSpotMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12@\n\x06status\x18\t \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12\x1c\n\x06ticker\x18\n \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x0c \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&exchange/SpotMarketParamUpdateProposal\"\xcc\x01\n\x16\x45xchangeEnableProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12L\n\x0c\x65xchangeType\x18\x03 \x01(\x0e\x32(.injective.exchange.v1beta1.ExchangeTypeR\x0c\x65xchangeType:,\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x8a\xe7\xb0*\x1f\x65xchange/ExchangeEnableProposal\"\x96\r\n!BatchExchangeModificationProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x85\x01\n\"spot_market_param_update_proposals\x18\x03 \x03(\x0b\x32\x39.injective.exchange.v1beta1.SpotMarketParamUpdateProposalR\x1espotMarketParamUpdateProposals\x12\x97\x01\n(derivative_market_param_update_proposals\x18\x04 \x03(\x0b\x32?.injective.exchange.v1beta1.DerivativeMarketParamUpdateProposalR$derivativeMarketParamUpdateProposals\x12u\n\x1cspot_market_launch_proposals\x18\x05 \x03(\x0b\x32\x34.injective.exchange.v1beta1.SpotMarketLaunchProposalR\x19spotMarketLaunchProposals\x12\x84\x01\n!perpetual_market_launch_proposals\x18\x06 \x03(\x0b\x32\x39.injective.exchange.v1beta1.PerpetualMarketLaunchProposalR\x1eperpetualMarketLaunchProposals\x12\x91\x01\n&expiry_futures_market_launch_proposals\x18\x07 \x03(\x0b\x32=.injective.exchange.v1beta1.ExpiryFuturesMarketLaunchProposalR\"expiryFuturesMarketLaunchProposals\x12\x95\x01\n\'trading_reward_campaign_update_proposal\x18\x08 \x01(\x0b\x32?.injective.exchange.v1beta1.TradingRewardCampaignUpdateProposalR#tradingRewardCampaignUpdateProposal\x12\x91\x01\n&binary_options_market_launch_proposals\x18\t \x03(\x0b\x32=.injective.exchange.v1beta1.BinaryOptionsMarketLaunchProposalR\"binaryOptionsMarketLaunchProposals\x12\x94\x01\n%binary_options_param_update_proposals\x18\n \x03(\x0b\x32\x42.injective.exchange.v1beta1.BinaryOptionsMarketParamUpdateProposalR!binaryOptionsParamUpdateProposals\x12|\n\x1e\x64\x65nom_decimals_update_proposal\x18\x0b \x01(\x0b\x32\x37.injective.exchange.v1beta1.UpdateDenomDecimalsProposalR\x1b\x64\x65nomDecimalsUpdateProposal\x12\x63\n\x15\x66\x65\x65_discount_proposal\x18\x0c \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountProposalR\x13\x66\x65\x65\x44iscountProposal\x12\x87\x01\n\"market_forced_settlement_proposals\x18\r \x03(\x0b\x32:.injective.exchange.v1beta1.MarketForcedSettlementProposalR\x1fmarketForcedSettlementProposals:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/BatchExchangeModificationProposal\"\xca\x05\n\x18SpotMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x04 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x05 \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12I\n\x0emaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12\x46\n\x0cmin_notional\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x0b \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:L\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!exchange/SpotMarketLaunchProposal\"\xa6\x08\n\x1dPerpetualMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x05 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x06 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12U\n\x14initial_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x10 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&exchange/PerpetualMarketLaunchProposal\"\xe5\x07\n!BinaryOptionsMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x04 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x05 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\t \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\n \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\x0b \x01(\tR\nquoteDenom\x12I\n\x0emaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12+\n\x11\x61\x64min_permissions\x18\x11 \x01(\rR\x10\x61\x64minPermissions:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/BinaryOptionsMarketLaunchProposal\"\xc6\x08\n!ExpiryFuturesMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x05 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x06 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\t \x01(\x03R\x06\x65xpiry\x12U\n\x14initial_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x11 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/ExpiryFuturesMarketLaunchProposal\"\x92\n\n#DerivativeMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12U\n\x14initial_margin_ratio\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\t \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\n \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12S\n\x12HourlyInterestRate\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12HourlyInterestRate\x12W\n\x14HourlyFundingRateCap\x18\x0c \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14HourlyFundingRateCap\x12@\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12M\n\roracle_params\x18\x0e \x01(\x0b\x32(.injective.exchange.v1beta1.OracleParamsR\x0coracleParams\x12\x1c\n\x06ticker\x18\x0f \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x11 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/DerivativeMarketParamUpdateProposal\"N\n\tAdminInfo\x12\x14\n\x05\x61\x64min\x18\x01 \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\x02 \x01(\rR\x10\x61\x64minPermissions\"\x99\x02\n\x1eMarketForcedSettlementProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice:R\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\'exchange/MarketForcedSettlementProposal\"\xf8\x01\n\x1bUpdateDenomDecimalsProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12P\n\x0e\x64\x65nom_decimals\x18\x03 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsR\rdenomDecimals:O\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$exchange/UpdateDenomDecimalsProposal\"\xc2\x08\n&BinaryOptionsMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x31\n\x14\x65xpiration_timestamp\x18\t \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\n \x01(\x03R\x13settlementTimestamp\x12N\n\x10settlement_price\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x14\n\x05\x61\x64min\x18\x0c \x01(\tR\x05\x61\x64min\x12@\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12U\n\roracle_params\x18\x0e \x01(\x0b\x32\x30.injective.exchange.v1beta1.ProviderOracleParamsR\x0coracleParams\x12\x1c\n\x06ticker\x18\x0f \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:Z\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*/exchange/BinaryOptionsMarketParamUpdateProposal\"\xc1\x01\n\x14ProviderOracleParams\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12.\n\x13oracle_scale_factor\x18\x03 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xc9\x01\n\x0cOracleParams\x12\x1f\n\x0boracle_base\x18\x01 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x02 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x03 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xf6\x02\n#TradingRewardCampaignLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12Z\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12\x62\n\x15\x63\x61mpaign_reward_pools\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/TradingRewardCampaignLaunchProposal\"\xfc\x03\n#TradingRewardCampaignUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12Z\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12u\n\x1f\x63\x61mpaign_reward_pools_additions\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x1c\x63\x61mpaignRewardPoolsAdditions\x12q\n\x1d\x63\x61mpaign_reward_pools_updates\x18\x05 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x1a\x63\x61mpaignRewardPoolsUpdates:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/TradingRewardCampaignUpdateProposal\"\x80\x01\n\x11RewardPointUpdate\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x42\n\nnew_points\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tnewPoints\"\xd7\x02\n(TradingRewardPendingPointsUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x16pending_pool_timestamp\x18\x03 \x01(\x03R\x14pendingPoolTimestamp\x12_\n\x14reward_point_updates\x18\x04 \x03(\x0b\x32-.injective.exchange.v1beta1.RewardPointUpdateR\x12rewardPointUpdates:\\\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*1exchange/TradingRewardPendingPointsUpdateProposal\"\xe3\x01\n\x13\x46\x65\x65\x44iscountProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12K\n\x08schedule\x18\x03 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x08schedule:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1c\x65xchange/FeeDiscountProposal\"\x85\x02\n\x1f\x42\x61tchCommunityPoolSpendProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\tproposals\x18\x03 \x03(\x0b\x32\x37.cosmos.distribution.v1beta1.CommunityPoolSpendProposalR\tproposals:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(exchange/BatchCommunityPoolSpendProposal\"\xb3\x02\n.AtomicMarketOrderFeeMultiplierScheduleProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x65\n\x16market_fee_multipliers\x18\x03 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers:b\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*7exchange/AtomicMarketOrderFeeMultiplierScheduleProposal*x\n\x0c\x45xchangeType\x12\x32\n\x14\x45XCHANGE_UNSPECIFIED\x10\x00\x1a\x18\x8a\x9d \x14\x45XCHANGE_UNSPECIFIED\x12\x12\n\x04SPOT\x10\x01\x1a\x08\x8a\x9d \x04SPOT\x12 \n\x0b\x44\x45RIVATIVES\x10\x02\x1a\x0f\x8a\x9d \x0b\x44\x45RIVATIVESB\x89\x02\n\x1e\x63om.injective.exchange.v1beta1B\rProposalProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n)injective/exchange/v1beta1/proposal.proto\x12\x1ainjective.exchange.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a)injective/exchange/v1beta1/exchange.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto"\xd3\x06\n\x1dSpotMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12@\n\x06status\x18\t \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12\x1c\n\x06ticker\x18\n \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x0c \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&exchange/SpotMarketParamUpdateProposal"\xcc\x01\n\x16\x45xchangeEnableProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12L\n\x0c\x65xchangeType\x18\x03 \x01(\x0e\x32(.injective.exchange.v1beta1.ExchangeTypeR\x0c\x65xchangeType:,\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x8a\xe7\xb0*\x1f\x65xchange/ExchangeEnableProposal"\x96\r\n!BatchExchangeModificationProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x85\x01\n"spot_market_param_update_proposals\x18\x03 \x03(\x0b\x32\x39.injective.exchange.v1beta1.SpotMarketParamUpdateProposalR\x1espotMarketParamUpdateProposals\x12\x97\x01\n(derivative_market_param_update_proposals\x18\x04 \x03(\x0b\x32?.injective.exchange.v1beta1.DerivativeMarketParamUpdateProposalR$derivativeMarketParamUpdateProposals\x12u\n\x1cspot_market_launch_proposals\x18\x05 \x03(\x0b\x32\x34.injective.exchange.v1beta1.SpotMarketLaunchProposalR\x19spotMarketLaunchProposals\x12\x84\x01\n!perpetual_market_launch_proposals\x18\x06 \x03(\x0b\x32\x39.injective.exchange.v1beta1.PerpetualMarketLaunchProposalR\x1eperpetualMarketLaunchProposals\x12\x91\x01\n&expiry_futures_market_launch_proposals\x18\x07 \x03(\x0b\x32=.injective.exchange.v1beta1.ExpiryFuturesMarketLaunchProposalR"expiryFuturesMarketLaunchProposals\x12\x95\x01\n\'trading_reward_campaign_update_proposal\x18\x08 \x01(\x0b\x32?.injective.exchange.v1beta1.TradingRewardCampaignUpdateProposalR#tradingRewardCampaignUpdateProposal\x12\x91\x01\n&binary_options_market_launch_proposals\x18\t \x03(\x0b\x32=.injective.exchange.v1beta1.BinaryOptionsMarketLaunchProposalR"binaryOptionsMarketLaunchProposals\x12\x94\x01\n%binary_options_param_update_proposals\x18\n \x03(\x0b\x32\x42.injective.exchange.v1beta1.BinaryOptionsMarketParamUpdateProposalR!binaryOptionsParamUpdateProposals\x12|\n\x1e\x64\x65nom_decimals_update_proposal\x18\x0b \x01(\x0b\x32\x37.injective.exchange.v1beta1.UpdateDenomDecimalsProposalR\x1b\x64\x65nomDecimalsUpdateProposal\x12\x63\n\x15\x66\x65\x65_discount_proposal\x18\x0c \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountProposalR\x13\x66\x65\x65\x44iscountProposal\x12\x87\x01\n"market_forced_settlement_proposals\x18\r \x03(\x0b\x32:.injective.exchange.v1beta1.MarketForcedSettlementProposalR\x1fmarketForcedSettlementProposals:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/BatchExchangeModificationProposal"\xca\x05\n\x18SpotMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x04 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x05 \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12I\n\x0emaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12\x46\n\x0cmin_notional\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x0b \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:L\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!exchange/SpotMarketLaunchProposal"\xa6\x08\n\x1dPerpetualMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x05 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x06 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12U\n\x14initial_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x10 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&exchange/PerpetualMarketLaunchProposal"\xe5\x07\n!BinaryOptionsMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x04 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x05 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\t \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\n \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\x0b \x01(\tR\nquoteDenom\x12I\n\x0emaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12+\n\x11\x61\x64min_permissions\x18\x11 \x01(\rR\x10\x61\x64minPermissions:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/BinaryOptionsMarketLaunchProposal"\xc6\x08\n!ExpiryFuturesMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x05 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x06 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\t \x01(\x03R\x06\x65xpiry\x12U\n\x14initial_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x11 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/ExpiryFuturesMarketLaunchProposal"\x92\n\n#DerivativeMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12U\n\x14initial_margin_ratio\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\t \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\n \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12S\n\x12HourlyInterestRate\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12HourlyInterestRate\x12W\n\x14HourlyFundingRateCap\x18\x0c \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14HourlyFundingRateCap\x12@\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12M\n\roracle_params\x18\x0e \x01(\x0b\x32(.injective.exchange.v1beta1.OracleParamsR\x0coracleParams\x12\x1c\n\x06ticker\x18\x0f \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x11 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/DerivativeMarketParamUpdateProposal"N\n\tAdminInfo\x12\x14\n\x05\x61\x64min\x18\x01 \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\x02 \x01(\rR\x10\x61\x64minPermissions"\x99\x02\n\x1eMarketForcedSettlementProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice:R\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\'exchange/MarketForcedSettlementProposal"\xf8\x01\n\x1bUpdateDenomDecimalsProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12P\n\x0e\x64\x65nom_decimals\x18\x03 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsR\rdenomDecimals:O\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$exchange/UpdateDenomDecimalsProposal"\xc2\x08\n&BinaryOptionsMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x31\n\x14\x65xpiration_timestamp\x18\t \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\n \x01(\x03R\x13settlementTimestamp\x12N\n\x10settlement_price\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x14\n\x05\x61\x64min\x18\x0c \x01(\tR\x05\x61\x64min\x12@\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12U\n\roracle_params\x18\x0e \x01(\x0b\x32\x30.injective.exchange.v1beta1.ProviderOracleParamsR\x0coracleParams\x12\x1c\n\x06ticker\x18\x0f \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:Z\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*/exchange/BinaryOptionsMarketParamUpdateProposal"\xc1\x01\n\x14ProviderOracleParams\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12.\n\x13oracle_scale_factor\x18\x03 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType"\xc9\x01\n\x0cOracleParams\x12\x1f\n\x0boracle_base\x18\x01 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x02 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x03 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType"\xf6\x02\n#TradingRewardCampaignLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12Z\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12\x62\n\x15\x63\x61mpaign_reward_pools\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/TradingRewardCampaignLaunchProposal"\xfc\x03\n#TradingRewardCampaignUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12Z\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12u\n\x1f\x63\x61mpaign_reward_pools_additions\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x1c\x63\x61mpaignRewardPoolsAdditions\x12q\n\x1d\x63\x61mpaign_reward_pools_updates\x18\x05 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x1a\x63\x61mpaignRewardPoolsUpdates:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/TradingRewardCampaignUpdateProposal"\x80\x01\n\x11RewardPointUpdate\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x42\n\nnew_points\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tnewPoints"\xd7\x02\n(TradingRewardPendingPointsUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x16pending_pool_timestamp\x18\x03 \x01(\x03R\x14pendingPoolTimestamp\x12_\n\x14reward_point_updates\x18\x04 \x03(\x0b\x32-.injective.exchange.v1beta1.RewardPointUpdateR\x12rewardPointUpdates:\\\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*1exchange/TradingRewardPendingPointsUpdateProposal"\xe3\x01\n\x13\x46\x65\x65\x44iscountProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12K\n\x08schedule\x18\x03 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x08schedule:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1c\x65xchange/FeeDiscountProposal"\x85\x02\n\x1f\x42\x61tchCommunityPoolSpendProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\tproposals\x18\x03 \x03(\x0b\x32\x37.cosmos.distribution.v1beta1.CommunityPoolSpendProposalR\tproposals:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(exchange/BatchCommunityPoolSpendProposal"\xb3\x02\n.AtomicMarketOrderFeeMultiplierScheduleProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x65\n\x16market_fee_multipliers\x18\x03 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers:b\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*7exchange/AtomicMarketOrderFeeMultiplierScheduleProposal*x\n\x0c\x45xchangeType\x12\x32\n\x14\x45XCHANGE_UNSPECIFIED\x10\x00\x1a\x18\x8a\x9d \x14\x45XCHANGE_UNSPECIFIED\x12\x12\n\x04SPOT\x10\x01\x1a\x08\x8a\x9d \x04SPOT\x12 \n\x0b\x44\x45RIVATIVES\x10\x02\x1a\x0f\x8a\x9d \x0b\x44\x45RIVATIVESB\x89\x02\n\x1e\x63om.injective.exchange.v1beta1B\rProposalProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.proposal_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.exchange.v1beta1.proposal_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\rProposalProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' - _globals['_EXCHANGETYPE'].values_by_name["EXCHANGE_UNSPECIFIED"]._loaded_options = None - _globals['_EXCHANGETYPE'].values_by_name["EXCHANGE_UNSPECIFIED"]._serialized_options = b'\212\235 \024EXCHANGE_UNSPECIFIED' - _globals['_EXCHANGETYPE'].values_by_name["SPOT"]._loaded_options = None - _globals['_EXCHANGETYPE'].values_by_name["SPOT"]._serialized_options = b'\212\235 \004SPOT' - _globals['_EXCHANGETYPE'].values_by_name["DERIVATIVES"]._loaded_options = None - _globals['_EXCHANGETYPE'].values_by_name["DERIVATIVES"]._serialized_options = b'\212\235 \013DERIVATIVES' - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._loaded_options = None - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._loaded_options = None - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._serialized_options = b'\310\336\037\001' - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._loaded_options = None - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._loaded_options = None - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&exchange/SpotMarketParamUpdateProposal' - _globals['_EXCHANGEENABLEPROPOSAL']._loaded_options = None - _globals['_EXCHANGEENABLEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\212\347\260*\037exchange/ExchangeEnableProposal' - _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._loaded_options = None - _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/BatchExchangeModificationProposal' - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._loaded_options = None - _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETLAUNCHPROPOSAL']._loaded_options = None - _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!exchange/SpotMarketLaunchProposal' - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['initial_margin_ratio']._loaded_options = None - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['maintenance_margin_ratio']._loaded_options = None - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._loaded_options = None - _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._loaded_options = None - _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&exchange/PerpetualMarketLaunchProposal' - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._loaded_options = None - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._loaded_options = None - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/BinaryOptionsMarketLaunchProposal' - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['initial_margin_ratio']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['maintenance_margin_ratio']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._loaded_options = None - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/ExpiryFuturesMarketLaunchProposal' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['initial_margin_ratio']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maintenance_margin_ratio']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['HourlyInterestRate']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['HourlyInterestRate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['HourlyFundingRateCap']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['HourlyFundingRateCap']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._serialized_options = b'\310\336\037\001' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._loaded_options = None - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/DerivativeMarketParamUpdateProposal' - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL'].fields_by_name['settlement_price']._loaded_options = None - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._loaded_options = None - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\'exchange/MarketForcedSettlementProposal' - _globals['_UPDATEDENOMDECIMALSPROPOSAL']._loaded_options = None - _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$exchange/UpdateDenomDecimalsProposal' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['settlement_price']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._serialized_options = b'\310\336\037\001' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._loaded_options = None - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*/exchange/BinaryOptionsMarketParamUpdateProposal' - _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._loaded_options = None - _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/TradingRewardCampaignLaunchProposal' - _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._loaded_options = None - _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/TradingRewardCampaignUpdateProposal' - _globals['_REWARDPOINTUPDATE'].fields_by_name['new_points']._loaded_options = None - _globals['_REWARDPOINTUPDATE'].fields_by_name['new_points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._loaded_options = None - _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*1exchange/TradingRewardPendingPointsUpdateProposal' - _globals['_FEEDISCOUNTPROPOSAL']._loaded_options = None - _globals['_FEEDISCOUNTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034exchange/FeeDiscountProposal' - _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._loaded_options = None - _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(exchange/BatchCommunityPoolSpendProposal' - _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._loaded_options = None - _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*7exchange/AtomicMarketOrderFeeMultiplierScheduleProposal' - _globals['_EXCHANGETYPE']._serialized_start=12535 - _globals['_EXCHANGETYPE']._serialized_end=12655 - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_start=329 - _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_end=1180 - _globals['_EXCHANGEENABLEPROPOSAL']._serialized_start=1183 - _globals['_EXCHANGEENABLEPROPOSAL']._serialized_end=1387 - _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_start=1390 - _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_end=3076 - _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_start=3079 - _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_end=3793 - _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_start=3796 - _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_end=4858 - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_start=4861 - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_end=5858 - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_start=5861 - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_end=6955 - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_start=6958 - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_end=8256 - _globals['_ADMININFO']._serialized_start=8258 - _globals['_ADMININFO']._serialized_end=8336 - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_start=8339 - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_end=8620 - _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_start=8623 - _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_end=8871 - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_start=8874 - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_end=9964 - _globals['_PROVIDERORACLEPARAMS']._serialized_start=9967 - _globals['_PROVIDERORACLEPARAMS']._serialized_end=10160 - _globals['_ORACLEPARAMS']._serialized_start=10163 - _globals['_ORACLEPARAMS']._serialized_end=10364 - _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_start=10367 - _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_end=10741 - _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_start=10744 - _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_end=11252 - _globals['_REWARDPOINTUPDATE']._serialized_start=11255 - _globals['_REWARDPOINTUPDATE']._serialized_end=11383 - _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_start=11386 - _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_end=11729 - _globals['_FEEDISCOUNTPROPOSAL']._serialized_start=11732 - _globals['_FEEDISCOUNTPROPOSAL']._serialized_end=11959 - _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_start=11962 - _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_end=12223 - _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_start=12226 - _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_end=12533 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\036com.injective.exchange.v1beta1B\rProposalProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1" + ) + _globals["_EXCHANGETYPE"].values_by_name["EXCHANGE_UNSPECIFIED"]._loaded_options = None + _globals["_EXCHANGETYPE"].values_by_name[ + "EXCHANGE_UNSPECIFIED" + ]._serialized_options = b"\212\235 \024EXCHANGE_UNSPECIFIED" + _globals["_EXCHANGETYPE"].values_by_name["SPOT"]._loaded_options = None + _globals["_EXCHANGETYPE"].values_by_name["SPOT"]._serialized_options = b"\212\235 \004SPOT" + _globals["_EXCHANGETYPE"].values_by_name["DERIVATIVES"]._loaded_options = None + _globals["_EXCHANGETYPE"].values_by_name["DERIVATIVES"]._serialized_options = b"\212\235 \013DERIVATIVES" + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name["maker_fee_rate"]._loaded_options = None + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "maker_fee_rate" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name["taker_fee_rate"]._loaded_options = None + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "taker_fee_rate" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name["relayer_fee_share_rate"]._loaded_options = None + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "relayer_fee_share_rate" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_price_tick_size"]._loaded_options = None + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "min_price_tick_size" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_quantity_tick_size"]._loaded_options = None + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "min_quantity_tick_size" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name["ticker"]._loaded_options = None + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name["ticker"]._serialized_options = b"\310\336\037\001" + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_notional"]._loaded_options = None + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "min_notional" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"]._loaded_options = None + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&exchange/SpotMarketParamUpdateProposal" + ) + _globals["_EXCHANGEENABLEPROPOSAL"]._loaded_options = None + _globals["_EXCHANGEENABLEPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\212\347\260*\037exchange/ExchangeEnableProposal" + ) + _globals["_BATCHEXCHANGEMODIFICATIONPROPOSAL"]._loaded_options = None + _globals["_BATCHEXCHANGEMODIFICATIONPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/BatchExchangeModificationProposal" + ) + _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name["min_price_tick_size"]._loaded_options = None + _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name[ + "min_price_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name["min_quantity_tick_size"]._loaded_options = None + _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name[ + "min_quantity_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name["maker_fee_rate"]._loaded_options = None + _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name[ + "maker_fee_rate" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name["taker_fee_rate"]._loaded_options = None + _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name[ + "taker_fee_rate" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name["min_notional"]._loaded_options = None + _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name[ + "min_notional" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKETLAUNCHPROPOSAL"]._loaded_options = None + _globals["_SPOTMARKETLAUNCHPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!exchange/SpotMarketLaunchProposal" + ) + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name["initial_margin_ratio"]._loaded_options = None + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name[ + "initial_margin_ratio" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name["maintenance_margin_ratio"]._loaded_options = None + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name[ + "maintenance_margin_ratio" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name["maker_fee_rate"]._loaded_options = None + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name[ + "maker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name["taker_fee_rate"]._loaded_options = None + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name[ + "taker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name["min_price_tick_size"]._loaded_options = None + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name[ + "min_price_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name["min_quantity_tick_size"]._loaded_options = None + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name[ + "min_quantity_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name["min_notional"]._loaded_options = None + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name[ + "min_notional" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"]._loaded_options = None + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&exchange/PerpetualMarketLaunchProposal" + ) + _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name["maker_fee_rate"]._loaded_options = None + _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name[ + "maker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name["taker_fee_rate"]._loaded_options = None + _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name[ + "taker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name["min_price_tick_size"]._loaded_options = None + _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name[ + "min_price_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name["min_quantity_tick_size"]._loaded_options = None + _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name[ + "min_quantity_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name["min_notional"]._loaded_options = None + _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name[ + "min_notional" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"]._loaded_options = None + _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/BinaryOptionsMarketLaunchProposal" + ) + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name["initial_margin_ratio"]._loaded_options = None + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name[ + "initial_margin_ratio" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name["maintenance_margin_ratio"]._loaded_options = None + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name[ + "maintenance_margin_ratio" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name["maker_fee_rate"]._loaded_options = None + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name[ + "maker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name["taker_fee_rate"]._loaded_options = None + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name[ + "taker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name["min_price_tick_size"]._loaded_options = None + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name[ + "min_price_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name["min_quantity_tick_size"]._loaded_options = None + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name[ + "min_quantity_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name["min_notional"]._loaded_options = None + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name[ + "min_notional" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"]._loaded_options = None + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/ExpiryFuturesMarketLaunchProposal" + ) + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["initial_margin_ratio"]._loaded_options = None + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "initial_margin_ratio" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["maintenance_margin_ratio"]._loaded_options = None + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "maintenance_margin_ratio" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["maker_fee_rate"]._loaded_options = None + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "maker_fee_rate" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["taker_fee_rate"]._loaded_options = None + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "taker_fee_rate" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["relayer_fee_share_rate"]._loaded_options = None + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "relayer_fee_share_rate" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_price_tick_size"]._loaded_options = None + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "min_price_tick_size" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_quantity_tick_size"]._loaded_options = None + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "min_quantity_tick_size" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["HourlyInterestRate"]._loaded_options = None + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "HourlyInterestRate" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["HourlyFundingRateCap"]._loaded_options = None + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "HourlyFundingRateCap" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["ticker"]._loaded_options = None + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["ticker"]._serialized_options = b"\310\336\037\001" + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_notional"]._loaded_options = None + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "min_notional" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"]._loaded_options = None + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/DerivativeMarketParamUpdateProposal" + ) + _globals["_MARKETFORCEDSETTLEMENTPROPOSAL"].fields_by_name["settlement_price"]._loaded_options = None + _globals["_MARKETFORCEDSETTLEMENTPROPOSAL"].fields_by_name[ + "settlement_price" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MARKETFORCEDSETTLEMENTPROPOSAL"]._loaded_options = None + _globals["_MARKETFORCEDSETTLEMENTPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*'exchange/MarketForcedSettlementProposal" + ) + _globals["_UPDATEDENOMDECIMALSPROPOSAL"]._loaded_options = None + _globals["_UPDATEDENOMDECIMALSPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$exchange/UpdateDenomDecimalsProposal" + ) + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name["maker_fee_rate"]._loaded_options = None + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "maker_fee_rate" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name["taker_fee_rate"]._loaded_options = None + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "taker_fee_rate" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name["relayer_fee_share_rate"]._loaded_options = None + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "relayer_fee_share_rate" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_price_tick_size"]._loaded_options = None + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "min_price_tick_size" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_quantity_tick_size"]._loaded_options = None + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "min_quantity_tick_size" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name["settlement_price"]._loaded_options = None + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "settlement_price" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name["ticker"]._loaded_options = None + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "ticker" + ]._serialized_options = b"\310\336\037\001" + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_notional"]._loaded_options = None + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ + "min_notional" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"]._loaded_options = None + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*/exchange/BinaryOptionsMarketParamUpdateProposal" + ) + _globals["_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL"]._loaded_options = None + _globals["_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/TradingRewardCampaignLaunchProposal" + ) + _globals["_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL"]._loaded_options = None + _globals["_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/TradingRewardCampaignUpdateProposal" + ) + _globals["_REWARDPOINTUPDATE"].fields_by_name["new_points"]._loaded_options = None + _globals["_REWARDPOINTUPDATE"].fields_by_name[ + "new_points" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL"]._loaded_options = None + _globals["_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*1exchange/TradingRewardPendingPointsUpdateProposal" + ) + _globals["_FEEDISCOUNTPROPOSAL"]._loaded_options = None + _globals["_FEEDISCOUNTPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034exchange/FeeDiscountProposal" + ) + _globals["_BATCHCOMMUNITYPOOLSPENDPROPOSAL"]._loaded_options = None + _globals["_BATCHCOMMUNITYPOOLSPENDPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(exchange/BatchCommunityPoolSpendProposal" + ) + _globals["_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL"]._loaded_options = None + _globals["_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*7exchange/AtomicMarketOrderFeeMultiplierScheduleProposal" + ) + _globals["_EXCHANGETYPE"]._serialized_start = 12535 + _globals["_EXCHANGETYPE"]._serialized_end = 12655 + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"]._serialized_start = 329 + _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"]._serialized_end = 1180 + _globals["_EXCHANGEENABLEPROPOSAL"]._serialized_start = 1183 + _globals["_EXCHANGEENABLEPROPOSAL"]._serialized_end = 1387 + _globals["_BATCHEXCHANGEMODIFICATIONPROPOSAL"]._serialized_start = 1390 + _globals["_BATCHEXCHANGEMODIFICATIONPROPOSAL"]._serialized_end = 3076 + _globals["_SPOTMARKETLAUNCHPROPOSAL"]._serialized_start = 3079 + _globals["_SPOTMARKETLAUNCHPROPOSAL"]._serialized_end = 3793 + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"]._serialized_start = 3796 + _globals["_PERPETUALMARKETLAUNCHPROPOSAL"]._serialized_end = 4858 + _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"]._serialized_start = 4861 + _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"]._serialized_end = 5858 + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"]._serialized_start = 5861 + _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"]._serialized_end = 6955 + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"]._serialized_start = 6958 + _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"]._serialized_end = 8256 + _globals["_ADMININFO"]._serialized_start = 8258 + _globals["_ADMININFO"]._serialized_end = 8336 + _globals["_MARKETFORCEDSETTLEMENTPROPOSAL"]._serialized_start = 8339 + _globals["_MARKETFORCEDSETTLEMENTPROPOSAL"]._serialized_end = 8620 + _globals["_UPDATEDENOMDECIMALSPROPOSAL"]._serialized_start = 8623 + _globals["_UPDATEDENOMDECIMALSPROPOSAL"]._serialized_end = 8871 + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"]._serialized_start = 8874 + _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"]._serialized_end = 9964 + _globals["_PROVIDERORACLEPARAMS"]._serialized_start = 9967 + _globals["_PROVIDERORACLEPARAMS"]._serialized_end = 10160 + _globals["_ORACLEPARAMS"]._serialized_start = 10163 + _globals["_ORACLEPARAMS"]._serialized_end = 10364 + _globals["_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL"]._serialized_start = 10367 + _globals["_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL"]._serialized_end = 10741 + _globals["_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL"]._serialized_start = 10744 + _globals["_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL"]._serialized_end = 11252 + _globals["_REWARDPOINTUPDATE"]._serialized_start = 11255 + _globals["_REWARDPOINTUPDATE"]._serialized_end = 11383 + _globals["_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL"]._serialized_start = 11386 + _globals["_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL"]._serialized_end = 11729 + _globals["_FEEDISCOUNTPROPOSAL"]._serialized_start = 11732 + _globals["_FEEDISCOUNTPROPOSAL"]._serialized_end = 11959 + _globals["_BATCHCOMMUNITYPOOLSPENDPROPOSAL"]._serialized_start = 11962 + _globals["_BATCHCOMMUNITYPOOLSPENDPROPOSAL"]._serialized_end = 12223 + _globals["_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL"]._serialized_start = 12226 + _globals["_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL"]._serialized_end = 12533 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2_grpc.py +++ b/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py index f7f9e90c..82430eda 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py @@ -7,554 +7,825 @@ 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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 -from pyinjective.proto.injective.exchange.v1beta1 import genesis_pb2 as injective_dot_exchange_dot_v1beta1_dot_genesis__pb2 +from pyinjective.proto.injective.exchange.v1beta1 import ( + exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2, +) +from pyinjective.proto.injective.exchange.v1beta1 import ( + genesis_pb2 as injective_dot_exchange_dot_v1beta1_dot_genesis__pb2, +) from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&injective/exchange/v1beta1/query.proto\x12\x1ainjective.exchange.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a)injective/exchange/v1beta1/exchange.proto\x1a(injective/exchange/v1beta1/genesis.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x14gogoproto/gogo.proto\"O\n\nSubaccount\x12\x16\n\x06trader\x18\x01 \x01(\tR\x06trader\x12)\n\x10subaccount_nonce\x18\x02 \x01(\rR\x0fsubaccountNonce\"`\n\x1cQuerySubaccountOrdersRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"\xc1\x01\n\x1dQuerySubaccountOrdersResponse\x12N\n\nbuy_orders\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.SubaccountOrderDataR\tbuyOrders\x12P\n\x0bsell_orders\x18\x02 \x03(\x0b\x32/.injective.exchange.v1beta1.SubaccountOrderDataR\nsellOrders\"\xaf\x01\n%SubaccountOrderbookMetadataWithMarket\x12S\n\x08metadata\x18\x01 \x01(\x0b\x32\x37.injective.exchange.v1beta1.SubaccountOrderbookMetadataR\x08metadata\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x14\n\x05isBuy\x18\x03 \x01(\x08R\x05isBuy\"\x1c\n\x1aQueryExchangeParamsRequest\"_\n\x1bQueryExchangeParamsResponse\x12@\n\x06params\x18\x01 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x93\x01\n\x1eQuerySubaccountDepositsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12L\n\nsubaccount\x18\x02 \x01(\x0b\x32&.injective.exchange.v1beta1.SubaccountB\x04\xc8\xde\x1f\x01R\nsubaccount\"\xea\x01\n\x1fQuerySubaccountDepositsResponse\x12\x65\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32I.injective.exchange.v1beta1.QuerySubaccountDepositsResponse.DepositsEntryR\x08\x64\x65posits\x1a`\n\rDepositsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x05value:\x02\x38\x01\"\x1e\n\x1cQueryExchangeBalancesRequest\"f\n\x1dQueryExchangeBalancesResponse\x12\x45\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32#.injective.exchange.v1beta1.BalanceB\x04\xc8\xde\x1f\x00R\x08\x62\x61lances\"7\n\x1bQueryAggregateVolumeRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"u\n\x1cQueryAggregateVolumeResponse\x12U\n\x11\x61ggregate_volumes\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x10\x61ggregateVolumes\"Y\n\x1cQueryAggregateVolumesRequest\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"\xf9\x01\n\x1dQueryAggregateVolumesResponse\x12t\n\x19\x61ggregate_account_volumes\x18\x01 \x03(\x0b\x32\x38.injective.exchange.v1beta1.AggregateAccountVolumeRecordR\x17\x61ggregateAccountVolumes\x12\x62\n\x18\x61ggregate_market_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x16\x61ggregateMarketVolumes\"@\n!QueryAggregateMarketVolumeRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"l\n\"QueryAggregateMarketVolumeResponse\x12\x46\n\x06volume\x18\x01 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00R\x06volume\"0\n\x18QueryDenomDecimalRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"5\n\x19QueryDenomDecimalResponse\x12\x18\n\x07\x64\x65\x63imal\x18\x01 \x01(\x04R\x07\x64\x65\x63imal\"3\n\x19QueryDenomDecimalsRequest\x12\x16\n\x06\x64\x65noms\x18\x01 \x03(\tR\x06\x64\x65noms\"t\n\x1aQueryDenomDecimalsResponse\x12V\n\x0e\x64\x65nom_decimals\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsB\x04\xc8\xde\x1f\x00R\rdenomDecimals\"C\n\"QueryAggregateMarketVolumesRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"i\n#QueryAggregateMarketVolumesResponse\x12\x42\n\x07volumes\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x07volumes\"Z\n\x1dQuerySubaccountDepositRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\"a\n\x1eQuerySubaccountDepositResponse\x12?\n\x08\x64\x65posits\x18\x01 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x08\x64\x65posits\"P\n\x17QuerySpotMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"\\\n\x18QuerySpotMarketsResponse\x12@\n\x07markets\x18\x01 \x03(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x07markets\"5\n\x16QuerySpotMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"Y\n\x17QuerySpotMarketResponse\x12>\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x06market\"\xd6\x02\n\x19QuerySpotOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12\x44\n\norder_side\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderSideR\torderSide\x12_\n\x19limit_cumulative_notional\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeNotional\x12_\n\x19limit_cumulative_quantity\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeQuantity\"\xb8\x01\n\x1aQuerySpotOrderbookResponse\x12K\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0e\x62uysPriceLevel\x12M\n\x11sells_price_level\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0fsellsPriceLevel\"\xad\x01\n\x0e\x46ullSpotMarket\x12>\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x06market\x12[\n\x11mid_price_and_tob\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.MidPriceAndTOBB\x04\xc8\xde\x1f\x01R\x0emidPriceAndTob\"\x88\x01\n\x1bQueryFullSpotMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\x12\x32\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08R\x12withMidPriceAndTob\"d\n\x1cQueryFullSpotMarketsResponse\x12\x44\n\x07markets\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.FullSpotMarketR\x07markets\"m\n\x1aQueryFullSpotMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x32\n\x16with_mid_price_and_tob\x18\x02 \x01(\x08R\x12withMidPriceAndTob\"a\n\x1bQueryFullSpotMarketResponse\x12\x42\n\x06market\x18\x01 \x01(\x0b\x32*.injective.exchange.v1beta1.FullSpotMarketR\x06market\"\x85\x01\n\x1eQuerySpotOrdersByHashesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12!\n\x0corder_hashes\x18\x03 \x03(\tR\x0borderHashes\"l\n\x1fQuerySpotOrdersByHashesResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders\"`\n\x1cQueryTraderSpotOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"l\n$QueryAccountAddressSpotOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\x9b\x02\n\x15TrimmedSpotLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12?\n\x08\x66illable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12\x14\n\x05isBuy\x18\x04 \x01(\x08R\x05isBuy\x12\x1d\n\norder_hash\x18\x05 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id\"j\n\x1dQueryTraderSpotOrdersResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders\"r\n%QueryAccountAddressSpotOrdersResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders\"=\n\x1eQuerySpotMidPriceAndTOBRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\xfb\x01\n\x1fQuerySpotMidPriceAndTOBResponse\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"C\n$QueryDerivativeMidPriceAndTOBRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\x81\x02\n%QueryDerivativeMidPriceAndTOBResponse\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"\xb5\x01\n\x1fQueryDerivativeOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12_\n\x19limit_cumulative_notional\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeNotional\"\xbe\x01\n QueryDerivativeOrderbookResponse\x12K\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0e\x62uysPriceLevel\x12M\n\x11sells_price_level\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0fsellsPriceLevel\"\x9c\x03\n.QueryTraderSpotOrdersToCancelUpToAmountRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x44\n\x0b\x62\x61se_amount\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nbaseAmount\x12\x46\n\x0cquote_amount\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bquoteAmount\x12L\n\x08strategy\x18\x05 \x01(\x0e\x32\x30.injective.exchange.v1beta1.CancellationStrategyR\x08strategy\x12L\n\x0freference_price\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ereferencePrice\"\xdc\x02\n4QueryTraderDerivativeOrdersToCancelUpToAmountRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x46\n\x0cquote_amount\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bquoteAmount\x12L\n\x08strategy\x18\x04 \x01(\x0e\x32\x30.injective.exchange.v1beta1.CancellationStrategyR\x08strategy\x12L\n\x0freference_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ereferencePrice\"f\n\"QueryTraderDerivativeOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"r\n*QueryAccountAddressDerivativeOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\xe9\x02\n\x1bTrimmedDerivativeLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12?\n\x08\x66illable\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12\x1f\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuyR\x05isBuy\x12\x1d\n\norder_hash\x18\x06 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\"v\n#QueryTraderDerivativeOrdersResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders\"~\n+QueryAccountAddressDerivativeOrdersResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders\"\x8b\x01\n$QueryDerivativeOrdersByHashesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12!\n\x0corder_hashes\x18\x03 \x03(\tR\x0borderHashes\"x\n%QueryDerivativeOrdersByHashesResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders\"\x8a\x01\n\x1dQueryDerivativeMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\x12\x32\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08R\x12withMidPriceAndTob\"\x88\x01\n\nPriceLevel\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\"\xbf\x01\n\x14PerpetualMarketState\x12P\n\x0bmarket_info\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoR\nmarketInfo\x12U\n\x0c\x66unding_info\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingR\x0b\x66undingInfo\"\xba\x03\n\x14\x46ullDerivativeMarket\x12\x44\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketR\x06market\x12Y\n\x0eperpetual_info\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.PerpetualMarketStateH\x00R\rperpetualInfo\x12X\n\x0c\x66utures_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoH\x00R\x0b\x66uturesInfo\x12\x42\n\nmark_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\x12[\n\x11mid_price_and_tob\x18\x05 \x01(\x0b\x32*.injective.exchange.v1beta1.MidPriceAndTOBB\x04\xc8\xde\x1f\x01R\x0emidPriceAndTobB\x06\n\x04info\"l\n\x1eQueryDerivativeMarketsResponse\x12J\n\x07markets\x18\x01 \x03(\x0b\x32\x30.injective.exchange.v1beta1.FullDerivativeMarketR\x07markets\";\n\x1cQueryDerivativeMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"i\n\x1dQueryDerivativeMarketResponse\x12H\n\x06market\x18\x01 \x01(\x0b\x32\x30.injective.exchange.v1beta1.FullDerivativeMarketR\x06market\"B\n#QueryDerivativeMarketAddressRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"e\n$QueryDerivativeMarketAddressResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"G\n QuerySubaccountTradeNonceRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"F\n\x1fQuerySubaccountPositionsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"j\n&QuerySubaccountPositionInMarketRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"s\n/QuerySubaccountEffectivePositionInMarketRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"J\n#QuerySubaccountOrderMetadataRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"n\n QuerySubaccountPositionsResponse\x12J\n\x05state\x18\x01 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\x05state\"k\n\'QuerySubaccountPositionInMarketResponse\x12@\n\x05state\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionB\x04\xc8\xde\x1f\x01R\x05state\"\x83\x02\n\x11\x45\x66\x66\x65\x63tivePosition\x12\x17\n\x07is_long\x18\x01 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12N\n\x10\x65\x66\x66\x65\x63tive_margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65\x66\x66\x65\x63tiveMargin\"}\n0QuerySubaccountEffectivePositionInMarketResponse\x12I\n\x05state\x18\x01 \x01(\x0b\x32-.injective.exchange.v1beta1.EffectivePositionB\x04\xc8\xde\x1f\x01R\x05state\">\n\x1fQueryPerpetualMarketInfoRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"m\n QueryPerpetualMarketInfoResponse\x12I\n\x04info\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00R\x04info\"B\n#QueryExpiryFuturesMarketInfoRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"u\n$QueryExpiryFuturesMarketInfoResponse\x12M\n\x04info\x18\x01 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x00R\x04info\"A\n\"QueryPerpetualMarketFundingRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"u\n#QueryPerpetualMarketFundingResponse\x12N\n\x05state\x18\x01 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x05state\"\x8b\x01\n$QuerySubaccountOrderMetadataResponse\x12\x63\n\x08metadata\x18\x01 \x03(\x0b\x32\x41.injective.exchange.v1beta1.SubaccountOrderbookMetadataWithMarketB\x04\xc8\xde\x1f\x00R\x08metadata\"9\n!QuerySubaccountTradeNonceResponse\x12\x14\n\x05nonce\x18\x01 \x01(\rR\x05nonce\"\x19\n\x17QueryModuleStateRequest\"Z\n\x18QueryModuleStateResponse\x12>\n\x05state\x18\x01 \x01(\x0b\x32(.injective.exchange.v1beta1.GenesisStateR\x05state\"\x17\n\x15QueryPositionsRequest\"d\n\x16QueryPositionsResponse\x12J\n\x05state\x18\x01 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\x05state\"q\n\x1dQueryTradeRewardPointsRequest\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\x12\x34\n\x16pending_pool_timestamp\x18\x02 \x01(\x03R\x14pendingPoolTimestamp\"\x84\x01\n\x1eQueryTradeRewardPointsResponse\x12\x62\n\x1b\x61\x63\x63ount_trade_reward_points\x18\x01 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x18\x61\x63\x63ountTradeRewardPoints\"!\n\x1fQueryTradeRewardCampaignRequest\"\xfe\x04\n QueryTradeRewardCampaignResponse\x12v\n\x1ctrading_reward_campaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x19tradingRewardCampaignInfo\x12\x80\x01\n%trading_reward_pool_campaign_schedule\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR!tradingRewardPoolCampaignSchedule\x12^\n\x19total_trade_reward_points\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16totalTradeRewardPoints\x12\x8f\x01\n-pending_trading_reward_pool_campaign_schedule\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR(pendingTradingRewardPoolCampaignSchedule\x12m\n!pending_total_trade_reward_points\x18\x05 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1dpendingTotalTradeRewardPoints\";\n\x1fQueryIsOptedOutOfRewardsRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"D\n QueryIsOptedOutOfRewardsResponse\x12 \n\x0cis_opted_out\x18\x01 \x01(\x08R\nisOptedOut\"\'\n%QueryOptedOutOfRewardsAccountsRequest\"D\n&QueryOptedOutOfRewardsAccountsResponse\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\">\n\"QueryFeeDiscountAccountInfoRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"\xe9\x01\n#QueryFeeDiscountAccountInfoResponse\x12\x1d\n\ntier_level\x18\x01 \x01(\x04R\ttierLevel\x12R\n\x0c\x61\x63\x63ount_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfoR\x0b\x61\x63\x63ountInfo\x12O\n\x0b\x61\x63\x63ount_ttl\x18\x03 \x01(\x0b\x32..injective.exchange.v1beta1.FeeDiscountTierTTLR\naccountTtl\"!\n\x1fQueryFeeDiscountScheduleRequest\"\x87\x01\n QueryFeeDiscountScheduleResponse\x12\x63\n\x15\x66\x65\x65_discount_schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x13\x66\x65\x65\x44iscountSchedule\"@\n\x1dQueryBalanceMismatchesRequest\x12\x1f\n\x0b\x64ust_factor\x18\x01 \x01(\x03R\ndustFactor\"\xa2\x03\n\x0f\x42\x61lanceMismatch\x12\"\n\x0csubaccountId\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x41\n\tavailable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tavailable\x12\x39\n\x05total\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05total\x12\x46\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\x12J\n\x0e\x65xpected_total\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rexpectedTotal\x12\x43\n\ndifference\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\ndifference\"|\n\x1eQueryBalanceMismatchesResponse\x12Z\n\x12\x62\x61lance_mismatches\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.BalanceMismatchR\x11\x62\x61lanceMismatches\"%\n#QueryBalanceWithBalanceHoldsRequest\"\x97\x02\n\x15\x42\x61lanceWithMarginHold\x12\"\n\x0csubaccountId\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x41\n\tavailable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tavailable\x12\x39\n\x05total\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05total\x12\x46\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\"\x96\x01\n$QueryBalanceWithBalanceHoldsResponse\x12n\n\x1a\x62\x61lance_with_balance_holds\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.BalanceWithMarginHoldR\x17\x62\x61lanceWithBalanceHolds\"\'\n%QueryFeeDiscountTierStatisticsRequest\"9\n\rTierStatistic\x12\x12\n\x04tier\x18\x01 \x01(\x04R\x04tier\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\"s\n&QueryFeeDiscountTierStatisticsResponse\x12I\n\nstatistics\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.TierStatisticR\nstatistics\"\x17\n\x15MitoVaultInfosRequest\"\xc4\x01\n\x16MitoVaultInfosResponse\x12)\n\x10master_addresses\x18\x01 \x03(\tR\x0fmasterAddresses\x12\x31\n\x14\x64\x65rivative_addresses\x18\x02 \x03(\tR\x13\x64\x65rivativeAddresses\x12%\n\x0espot_addresses\x18\x03 \x03(\tR\rspotAddresses\x12%\n\x0e\x63w20_addresses\x18\x04 \x03(\tR\rcw20Addresses\"D\n\x1dQueryMarketIDFromVaultRequest\x12#\n\rvault_address\x18\x01 \x01(\tR\x0cvaultAddress\"=\n\x1eQueryMarketIDFromVaultResponse\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"A\n\"QueryHistoricalTradeRecordsRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"t\n#QueryHistoricalTradeRecordsResponse\x12M\n\rtrade_records\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.TradeRecordsR\x0ctradeRecords\"\xb7\x01\n\x13TradeHistoryOptions\x12,\n\x12trade_grouping_sec\x18\x01 \x01(\x04R\x10tradeGroupingSec\x12\x17\n\x07max_age\x18\x02 \x01(\x04R\x06maxAge\x12.\n\x13include_raw_history\x18\x04 \x01(\x08R\x11includeRawHistory\x12)\n\x10include_metadata\x18\x05 \x01(\x08R\x0fincludeMetadata\"\xa0\x01\n\x1cQueryMarketVolatilityRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x63\n\x15trade_history_options\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.TradeHistoryOptionsR\x13tradeHistoryOptions\"\x83\x02\n\x1dQueryMarketVolatilityResponse\x12?\n\nvolatility\x18\x01 \x01(\tB\x1f\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nvolatility\x12W\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatisticsR\x0fhistoryMetadata\x12H\n\x0braw_history\x18\x03 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecordR\nrawHistory\"3\n\x19QueryBinaryMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\"g\n\x1aQueryBinaryMarketsResponse\x12I\n\x07markets\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketR\x07markets\"q\n-QueryTraderDerivativeConditionalOrdersRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"\x9e\x03\n!TrimmedDerivativeConditionalOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12G\n\x0ctriggerPrice\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1f\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuyR\x05isBuy\x12%\n\x07isLimit\x18\x06 \x01(\x08\x42\x0b\xea\xde\x1f\x07isLimitR\x07isLimit\x12\x1d\n\norder_hash\x18\x07 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x08 \x01(\tR\x03\x63id\"\x87\x01\n.QueryTraderDerivativeConditionalOrdersResponse\x12U\n\x06orders\x18\x01 \x03(\x0b\x32=.injective.exchange.v1beta1.TrimmedDerivativeConditionalOrderR\x06orders\"M\n.QueryMarketAtomicExecutionFeeMultiplierRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"<\n\x1dQueryFullSpotOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\xa6\x01\n\x1eQueryFullSpotOrderbookResponse\x12\x41\n\x04\x42ids\x18\x01 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x42ids\x12\x41\n\x04\x41sks\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x41sks\"B\n#QueryFullDerivativeOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\xac\x01\n$QueryFullDerivativeOrderbookResponse\x12\x41\n\x04\x42ids\x18\x01 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x42ids\x12\x41\n\x04\x41sks\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x41sks\"v\n/QueryMarketAtomicExecutionFeeMultiplierResponse\x12\x43\n\nmultiplier\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nmultiplier\"8\n\x1cQueryActiveStakeGrantRequest\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\"\xb3\x01\n\x1dQueryActiveStakeGrantResponse\x12=\n\x05grant\x18\x01 \x01(\x0b\x32\'.injective.exchange.v1beta1.ActiveGrantR\x05grant\x12S\n\x0f\x65\x66\x66\x65\x63tive_grant\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.EffectiveGrantR\x0e\x65\x66\x66\x65\x63tiveGrant\"T\n\x1eQueryGrantAuthorizationRequest\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x18\n\x07grantee\x18\x02 \x01(\tR\x07grantee\"X\n\x1fQueryGrantAuthorizationResponse\x12\x35\n\x06\x61mount\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\";\n\x1fQueryGrantAuthorizationsRequest\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\"\xb7\x01\n QueryGrantAuthorizationsResponse\x12K\n\x12total_grant_amount\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10totalGrantAmount\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants*4\n\tOrderSide\x12\x14\n\x10Side_Unspecified\x10\x00\x12\x07\n\x03\x42uy\x10\x01\x12\x08\n\x04Sell\x10\x02*V\n\x14\x43\x61ncellationStrategy\x12\x14\n\x10UnspecifiedOrder\x10\x00\x12\x13\n\x0f\x46romWorstToBest\x10\x01\x12\x13\n\x0f\x46romBestToWorst\x10\x02\x32\xffh\n\x05Query\x12\xe2\x01\n\x15L3DerivativeOrderBook\x12?.injective.exchange.v1beta1.QueryFullDerivativeOrderbookRequest\x1a@.injective.exchange.v1beta1.QueryFullDerivativeOrderbookResponse\"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/derivative/L3OrderBook/{market_id}\x12\xca\x01\n\x0fL3SpotOrderBook\x12\x39.injective.exchange.v1beta1.QueryFullSpotOrderbookRequest\x1a:.injective.exchange.v1beta1.QueryFullSpotOrderbookResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/spot/L3OrderBook/{market_id}\x12\xba\x01\n\x13QueryExchangeParams\x12\x36.injective.exchange.v1beta1.QueryExchangeParamsRequest\x1a\x37.injective.exchange.v1beta1.QueryExchangeParamsResponse\"2\x82\xd3\xe4\x93\x02,\x12*/injective/exchange/v1beta1/exchangeParams\x12\xce\x01\n\x12SubaccountDeposits\x12:.injective.exchange.v1beta1.QuerySubaccountDepositsRequest\x1a;.injective.exchange.v1beta1.QuerySubaccountDepositsResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/exchange/subaccountDeposits\x12\xca\x01\n\x11SubaccountDeposit\x12\x39.injective.exchange.v1beta1.QuerySubaccountDepositRequest\x1a:.injective.exchange.v1beta1.QuerySubaccountDepositResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v1beta1/exchange/subaccountDeposit\x12\xc6\x01\n\x10\x45xchangeBalances\x12\x38.injective.exchange.v1beta1.QueryExchangeBalancesRequest\x1a\x39.injective.exchange.v1beta1.QueryExchangeBalancesResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/exchange/exchangeBalances\x12\xcc\x01\n\x0f\x41ggregateVolume\x12\x37.injective.exchange.v1beta1.QueryAggregateVolumeRequest\x1a\x38.injective.exchange.v1beta1.QueryAggregateVolumeResponse\"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/exchange/aggregateVolume/{account}\x12\xc6\x01\n\x10\x41ggregateVolumes\x12\x38.injective.exchange.v1beta1.QueryAggregateVolumesRequest\x1a\x39.injective.exchange.v1beta1.QueryAggregateVolumesResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/exchange/aggregateVolumes\x12\xe6\x01\n\x15\x41ggregateMarketVolume\x12=.injective.exchange.v1beta1.QueryAggregateMarketVolumeRequest\x1a>.injective.exchange.v1beta1.QueryAggregateMarketVolumeResponse\"N\x82\xd3\xe4\x93\x02H\x12\x46/injective/exchange/v1beta1/exchange/aggregateMarketVolume/{market_id}\x12\xde\x01\n\x16\x41ggregateMarketVolumes\x12>.injective.exchange.v1beta1.QueryAggregateMarketVolumesRequest\x1a?.injective.exchange.v1beta1.QueryAggregateMarketVolumesResponse\"C\x82\xd3\xe4\x93\x02=\x12;/injective/exchange/v1beta1/exchange/aggregateMarketVolumes\x12\xbf\x01\n\x0c\x44\x65nomDecimal\x12\x34.injective.exchange.v1beta1.QueryDenomDecimalRequest\x1a\x35.injective.exchange.v1beta1.QueryDenomDecimalResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/exchange/denom_decimal/{denom}\x12\xbb\x01\n\rDenomDecimals\x12\x35.injective.exchange.v1beta1.QueryDenomDecimalsRequest\x1a\x36.injective.exchange.v1beta1.QueryDenomDecimalsResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/exchange/v1beta1/exchange/denom_decimals\x12\xaa\x01\n\x0bSpotMarkets\x12\x33.injective.exchange.v1beta1.QuerySpotMarketsRequest\x1a\x34.injective.exchange.v1beta1.QuerySpotMarketsResponse\"0\x82\xd3\xe4\x93\x02*\x12(/injective/exchange/v1beta1/spot/markets\x12\xb3\x01\n\nSpotMarket\x12\x32.injective.exchange.v1beta1.QuerySpotMarketRequest\x1a\x33.injective.exchange.v1beta1.QuerySpotMarketResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/spot/markets/{market_id}\x12\xbb\x01\n\x0f\x46ullSpotMarkets\x12\x37.injective.exchange.v1beta1.QueryFullSpotMarketsRequest\x1a\x38.injective.exchange.v1beta1.QueryFullSpotMarketsResponse\"5\x82\xd3\xe4\x93\x02/\x12-/injective/exchange/v1beta1/spot/full_markets\x12\xc3\x01\n\x0e\x46ullSpotMarket\x12\x36.injective.exchange.v1beta1.QueryFullSpotMarketRequest\x1a\x37.injective.exchange.v1beta1.QueryFullSpotMarketResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/spot/full_market/{market_id}\x12\xbe\x01\n\rSpotOrderbook\x12\x35.injective.exchange.v1beta1.QuerySpotOrderbookRequest\x1a\x36.injective.exchange.v1beta1.QuerySpotOrderbookResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v1beta1/spot/orderbook/{market_id}\x12\xd4\x01\n\x10TraderSpotOrders\x12\x38.injective.exchange.v1beta1.QueryTraderSpotOrdersRequest\x1a\x39.injective.exchange.v1beta1.QueryTraderSpotOrdersResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/injective/exchange/v1beta1/spot/orders/{market_id}/{subaccount_id}\x12\xf6\x01\n\x18\x41\x63\x63ountAddressSpotOrders\x12@.injective.exchange.v1beta1.QueryAccountAddressSpotOrdersRequest\x1a\x41.injective.exchange.v1beta1.QueryAccountAddressSpotOrdersResponse\"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/orders/{market_id}/account/{account_address}\x12\xe4\x01\n\x12SpotOrdersByHashes\x12:.injective.exchange.v1beta1.QuerySpotOrdersByHashesRequest\x1a;.injective.exchange.v1beta1.QuerySpotOrdersByHashesResponse\"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/orders_by_hashes/{market_id}/{subaccount_id}\x12\xc3\x01\n\x10SubaccountOrders\x12\x38.injective.exchange.v1beta1.QuerySubaccountOrdersRequest\x1a\x39.injective.exchange.v1beta1.QuerySubaccountOrdersResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/exchange/v1beta1/orders/{subaccount_id}\x12\xe7\x01\n\x19TraderSpotTransientOrders\x12\x38.injective.exchange.v1beta1.QueryTraderSpotOrdersRequest\x1a\x39.injective.exchange.v1beta1.QueryTraderSpotOrdersResponse\"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/transient_orders/{market_id}/{subaccount_id}\x12\xd5\x01\n\x12SpotMidPriceAndTOB\x12:.injective.exchange.v1beta1.QuerySpotMidPriceAndTOBRequest\x1a;.injective.exchange.v1beta1.QuerySpotMidPriceAndTOBResponse\"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/spot/mid_price_and_tob/{market_id}\x12\xed\x01\n\x18\x44\x65rivativeMidPriceAndTOB\x12@.injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBRequest\x1a\x41.injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBResponse\"L\x82\xd3\xe4\x93\x02\x46\x12\x44/injective/exchange/v1beta1/derivative/mid_price_and_tob/{market_id}\x12\xd6\x01\n\x13\x44\x65rivativeOrderbook\x12;.injective.exchange.v1beta1.QueryDerivativeOrderbookRequest\x1a<.injective.exchange.v1beta1.QueryDerivativeOrderbookResponse\"D\x82\xd3\xe4\x93\x02>\x12.injective.exchange.v1beta1.QueryTraderDerivativeOrdersRequest\x1a?.injective.exchange.v1beta1.QueryTraderDerivativeOrdersResponse\"Q\x82\xd3\xe4\x93\x02K\x12I/injective/exchange/v1beta1/derivative/orders/{market_id}/{subaccount_id}\x12\x8e\x02\n\x1e\x41\x63\x63ountAddressDerivativeOrders\x12\x46.injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersRequest\x1aG.injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersResponse\"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/orders/{market_id}/account/{account_address}\x12\xfc\x01\n\x18\x44\x65rivativeOrdersByHashes\x12@.injective.exchange.v1beta1.QueryDerivativeOrdersByHashesRequest\x1a\x41.injective.exchange.v1beta1.QueryDerivativeOrdersByHashesResponse\"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/orders_by_hashes/{market_id}/{subaccount_id}\x12\xff\x01\n\x1fTraderDerivativeTransientOrders\x12>.injective.exchange.v1beta1.QueryTraderDerivativeOrdersRequest\x1a?.injective.exchange.v1beta1.QueryTraderDerivativeOrdersResponse\"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/transient_orders/{market_id}/{subaccount_id}\x12\xc2\x01\n\x11\x44\x65rivativeMarkets\x12\x39.injective.exchange.v1beta1.QueryDerivativeMarketsRequest\x1a:.injective.exchange.v1beta1.QueryDerivativeMarketsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./injective/exchange/v1beta1/derivative/markets\x12\xcb\x01\n\x10\x44\x65rivativeMarket\x12\x38.injective.exchange.v1beta1.QueryDerivativeMarketRequest\x1a\x39.injective.exchange.v1beta1.QueryDerivativeMarketResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/derivative/markets/{market_id}\x12\xe7\x01\n\x17\x44\x65rivativeMarketAddress\x12?.injective.exchange.v1beta1.QueryDerivativeMarketAddressRequest\x1a@.injective.exchange.v1beta1.QueryDerivativeMarketAddressResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/injective/exchange/v1beta1/derivative/market_address/{market_id}\x12\xd1\x01\n\x14SubaccountTradeNonce\x12<.injective.exchange.v1beta1.QuerySubaccountTradeNonceRequest\x1a=.injective.exchange.v1beta1.QuerySubaccountTradeNonceResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/exchange/{subaccount_id}\x12\xb2\x01\n\x13\x45xchangeModuleState\x12\x33.injective.exchange.v1beta1.QueryModuleStateRequest\x1a\x34.injective.exchange.v1beta1.QueryModuleStateResponse\"0\x82\xd3\xe4\x93\x02*\x12(/injective/exchange/v1beta1/module_state\x12\xa1\x01\n\tPositions\x12\x31.injective.exchange.v1beta1.QueryPositionsRequest\x1a\x32.injective.exchange.v1beta1.QueryPositionsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/injective/exchange/v1beta1/positions\x12\xcf\x01\n\x13SubaccountPositions\x12;.injective.exchange.v1beta1.QuerySubaccountPositionsRequest\x1a<.injective.exchange.v1beta1.QuerySubaccountPositionsResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/positions/{subaccount_id}\x12\xf0\x01\n\x1aSubaccountPositionInMarket\x12\x42.injective.exchange.v1beta1.QuerySubaccountPositionInMarketRequest\x1a\x43.injective.exchange.v1beta1.QuerySubaccountPositionInMarketResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/injective/exchange/v1beta1/positions/{subaccount_id}/{market_id}\x12\x95\x02\n#SubaccountEffectivePositionInMarket\x12K.injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketRequest\x1aL.injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketResponse\"S\x82\xd3\xe4\x93\x02M\x12K/injective/exchange/v1beta1/effective_positions/{subaccount_id}/{market_id}\x12\xd7\x01\n\x13PerpetualMarketInfo\x12;.injective.exchange.v1beta1.QueryPerpetualMarketInfoRequest\x1a<.injective.exchange.v1beta1.QueryPerpetualMarketInfoResponse\"E\x82\xd3\xe4\x93\x02?\x12=/injective/exchange/v1beta1/perpetual_market_info/{market_id}\x12\xe0\x01\n\x17\x45xpiryFuturesMarketInfo\x12?.injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoRequest\x1a@.injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/expiry_market_info/{market_id}\x12\xe3\x01\n\x16PerpetualMarketFunding\x12>.injective.exchange.v1beta1.QueryPerpetualMarketFundingRequest\x1a?.injective.exchange.v1beta1.QueryPerpetualMarketFundingResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/injective/exchange/v1beta1/perpetual_market_funding/{market_id}\x12\xe0\x01\n\x17SubaccountOrderMetadata\x12?.injective.exchange.v1beta1.QuerySubaccountOrderMetadataRequest\x1a@.injective.exchange.v1beta1.QuerySubaccountOrderMetadataResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/order_metadata/{subaccount_id}\x12\xc3\x01\n\x11TradeRewardPoints\x12\x39.injective.exchange.v1beta1.QueryTradeRewardPointsRequest\x1a:.injective.exchange.v1beta1.QueryTradeRewardPointsResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/exchange/v1beta1/trade_reward_points\x12\xd2\x01\n\x18PendingTradeRewardPoints\x12\x39.injective.exchange.v1beta1.QueryTradeRewardPointsRequest\x1a:.injective.exchange.v1beta1.QueryTradeRewardPointsResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/pending_trade_reward_points\x12\xcb\x01\n\x13TradeRewardCampaign\x12;.injective.exchange.v1beta1.QueryTradeRewardCampaignRequest\x1a<.injective.exchange.v1beta1.QueryTradeRewardCampaignResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v1beta1/trade_reward_campaign\x12\xe2\x01\n\x16\x46\x65\x65\x44iscountAccountInfo\x12>.injective.exchange.v1beta1.QueryFeeDiscountAccountInfoRequest\x1a?.injective.exchange.v1beta1.QueryFeeDiscountAccountInfoResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/injective/exchange/v1beta1/fee_discount_account_info/{account}\x12\xcb\x01\n\x13\x46\x65\x65\x44iscountSchedule\x12;.injective.exchange.v1beta1.QueryFeeDiscountScheduleRequest\x1a<.injective.exchange.v1beta1.QueryFeeDiscountScheduleResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v1beta1/fee_discount_schedule\x12\xd0\x01\n\x11\x42\x61lanceMismatches\x12\x39.injective.exchange.v1beta1.QueryBalanceMismatchesRequest\x1a:.injective.exchange.v1beta1.QueryBalanceMismatchesResponse\"D\x82\xd3\xe4\x93\x02>\x12.injective.exchange.v1beta1.QueryHistoricalTradeRecordsRequest\x1a?.injective.exchange.v1beta1.QueryHistoricalTradeRecordsResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/historical_trade_records\x12\xd7\x01\n\x13IsOptedOutOfRewards\x12;.injective.exchange.v1beta1.QueryIsOptedOutOfRewardsRequest\x1a<.injective.exchange.v1beta1.QueryIsOptedOutOfRewardsResponse\"E\x82\xd3\xe4\x93\x02?\x12=/injective/exchange/v1beta1/is_opted_out_of_rewards/{account}\x12\xe5\x01\n\x19OptedOutOfRewardsAccounts\x12\x41.injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsRequest\x1a\x42.injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v1beta1/opted_out_of_rewards_accounts\x12\xca\x01\n\x10MarketVolatility\x12\x38.injective.exchange.v1beta1.QueryMarketVolatilityRequest\x1a\x39.injective.exchange.v1beta1.QueryMarketVolatilityResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v1beta1/market_volatility/{market_id}\x12\xc1\x01\n\x14\x42inaryOptionsMarkets\x12\x35.injective.exchange.v1beta1.QueryBinaryMarketsRequest\x1a\x36.injective.exchange.v1beta1.QueryBinaryMarketsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/exchange/v1beta1/binary_options/markets\x12\x99\x02\n!TraderDerivativeConditionalOrders\x12I.injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersRequest\x1aJ.injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersResponse\"]\x82\xd3\xe4\x93\x02W\x12U/injective/exchange/v1beta1/derivative/orders/conditional/{market_id}/{subaccount_id}\x12\xfe\x01\n\"MarketAtomicExecutionFeeMultiplier\x12J.injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierRequest\x1aK.injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/atomic_order_fee_multiplier\x12\xc9\x01\n\x10\x41\x63tiveStakeGrant\x12\x38.injective.exchange.v1beta1.QueryActiveStakeGrantRequest\x1a\x39.injective.exchange.v1beta1.QueryActiveStakeGrantResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/active_stake_grant/{grantee}\x12\xda\x01\n\x12GrantAuthorization\x12:.injective.exchange.v1beta1.QueryGrantAuthorizationRequest\x1a;.injective.exchange.v1beta1.QueryGrantAuthorizationResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/injective/exchange/v1beta1/grant_authorization/{granter}/{grantee}\x12\xd4\x01\n\x13GrantAuthorizations\x12;.injective.exchange.v1beta1.QueryGrantAuthorizationsRequest\x1a<.injective.exchange.v1beta1.QueryGrantAuthorizationsResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/grant_authorizations/{granter}B\x86\x02\n\x1e\x63om.injective.exchange.v1beta1B\nQueryProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&injective/exchange/v1beta1/query.proto\x12\x1ainjective.exchange.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a)injective/exchange/v1beta1/exchange.proto\x1a(injective/exchange/v1beta1/genesis.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x14gogoproto/gogo.proto"O\n\nSubaccount\x12\x16\n\x06trader\x18\x01 \x01(\tR\x06trader\x12)\n\x10subaccount_nonce\x18\x02 \x01(\rR\x0fsubaccountNonce"`\n\x1cQuerySubaccountOrdersRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId"\xc1\x01\n\x1dQuerySubaccountOrdersResponse\x12N\n\nbuy_orders\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.SubaccountOrderDataR\tbuyOrders\x12P\n\x0bsell_orders\x18\x02 \x03(\x0b\x32/.injective.exchange.v1beta1.SubaccountOrderDataR\nsellOrders"\xaf\x01\n%SubaccountOrderbookMetadataWithMarket\x12S\n\x08metadata\x18\x01 \x01(\x0b\x32\x37.injective.exchange.v1beta1.SubaccountOrderbookMetadataR\x08metadata\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x14\n\x05isBuy\x18\x03 \x01(\x08R\x05isBuy"\x1c\n\x1aQueryExchangeParamsRequest"_\n\x1bQueryExchangeParamsResponse\x12@\n\x06params\x18\x01 \x01(\x0b\x32".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\x93\x01\n\x1eQuerySubaccountDepositsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12L\n\nsubaccount\x18\x02 \x01(\x0b\x32&.injective.exchange.v1beta1.SubaccountB\x04\xc8\xde\x1f\x01R\nsubaccount"\xea\x01\n\x1fQuerySubaccountDepositsResponse\x12\x65\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32I.injective.exchange.v1beta1.QuerySubaccountDepositsResponse.DepositsEntryR\x08\x64\x65posits\x1a`\n\rDepositsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x05value:\x02\x38\x01"\x1e\n\x1cQueryExchangeBalancesRequest"f\n\x1dQueryExchangeBalancesResponse\x12\x45\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32#.injective.exchange.v1beta1.BalanceB\x04\xc8\xde\x1f\x00R\x08\x62\x61lances"7\n\x1bQueryAggregateVolumeRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount"u\n\x1cQueryAggregateVolumeResponse\x12U\n\x11\x61ggregate_volumes\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x10\x61ggregateVolumes"Y\n\x1cQueryAggregateVolumesRequest\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds"\xf9\x01\n\x1dQueryAggregateVolumesResponse\x12t\n\x19\x61ggregate_account_volumes\x18\x01 \x03(\x0b\x32\x38.injective.exchange.v1beta1.AggregateAccountVolumeRecordR\x17\x61ggregateAccountVolumes\x12\x62\n\x18\x61ggregate_market_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x16\x61ggregateMarketVolumes"@\n!QueryAggregateMarketVolumeRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"l\n"QueryAggregateMarketVolumeResponse\x12\x46\n\x06volume\x18\x01 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00R\x06volume"0\n\x18QueryDenomDecimalRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom"5\n\x19QueryDenomDecimalResponse\x12\x18\n\x07\x64\x65\x63imal\x18\x01 \x01(\x04R\x07\x64\x65\x63imal"3\n\x19QueryDenomDecimalsRequest\x12\x16\n\x06\x64\x65noms\x18\x01 \x03(\tR\x06\x64\x65noms"t\n\x1aQueryDenomDecimalsResponse\x12V\n\x0e\x64\x65nom_decimals\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsB\x04\xc8\xde\x1f\x00R\rdenomDecimals"C\n"QueryAggregateMarketVolumesRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds"i\n#QueryAggregateMarketVolumesResponse\x12\x42\n\x07volumes\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x07volumes"Z\n\x1dQuerySubaccountDepositRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom"a\n\x1eQuerySubaccountDepositResponse\x12?\n\x08\x64\x65posits\x18\x01 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x08\x64\x65posits"P\n\x17QuerySpotMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds"\\\n\x18QuerySpotMarketsResponse\x12@\n\x07markets\x18\x01 \x03(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x07markets"5\n\x16QuerySpotMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"Y\n\x17QuerySpotMarketResponse\x12>\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x06market"\xd6\x02\n\x19QuerySpotOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12\x44\n\norder_side\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderSideR\torderSide\x12_\n\x19limit_cumulative_notional\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeNotional\x12_\n\x19limit_cumulative_quantity\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeQuantity"\xb8\x01\n\x1aQuerySpotOrderbookResponse\x12K\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0e\x62uysPriceLevel\x12M\n\x11sells_price_level\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0fsellsPriceLevel"\xad\x01\n\x0e\x46ullSpotMarket\x12>\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x06market\x12[\n\x11mid_price_and_tob\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.MidPriceAndTOBB\x04\xc8\xde\x1f\x01R\x0emidPriceAndTob"\x88\x01\n\x1bQueryFullSpotMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\x12\x32\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08R\x12withMidPriceAndTob"d\n\x1cQueryFullSpotMarketsResponse\x12\x44\n\x07markets\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.FullSpotMarketR\x07markets"m\n\x1aQueryFullSpotMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x32\n\x16with_mid_price_and_tob\x18\x02 \x01(\x08R\x12withMidPriceAndTob"a\n\x1bQueryFullSpotMarketResponse\x12\x42\n\x06market\x18\x01 \x01(\x0b\x32*.injective.exchange.v1beta1.FullSpotMarketR\x06market"\x85\x01\n\x1eQuerySpotOrdersByHashesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12!\n\x0corder_hashes\x18\x03 \x03(\tR\x0borderHashes"l\n\x1fQuerySpotOrdersByHashesResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders"`\n\x1cQueryTraderSpotOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId"l\n$QueryAccountAddressSpotOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress"\x9b\x02\n\x15TrimmedSpotLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12?\n\x08\x66illable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12\x14\n\x05isBuy\x18\x04 \x01(\x08R\x05isBuy\x12\x1d\n\norder_hash\x18\x05 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id"j\n\x1dQueryTraderSpotOrdersResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders"r\n%QueryAccountAddressSpotOrdersResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders"=\n\x1eQuerySpotMidPriceAndTOBRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"\xfb\x01\n\x1fQuerySpotMidPriceAndTOBResponse\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice"C\n$QueryDerivativeMidPriceAndTOBRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"\x81\x02\n%QueryDerivativeMidPriceAndTOBResponse\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice"\xb5\x01\n\x1fQueryDerivativeOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12_\n\x19limit_cumulative_notional\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeNotional"\xbe\x01\n QueryDerivativeOrderbookResponse\x12K\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0e\x62uysPriceLevel\x12M\n\x11sells_price_level\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0fsellsPriceLevel"\x9c\x03\n.QueryTraderSpotOrdersToCancelUpToAmountRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x44\n\x0b\x62\x61se_amount\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nbaseAmount\x12\x46\n\x0cquote_amount\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bquoteAmount\x12L\n\x08strategy\x18\x05 \x01(\x0e\x32\x30.injective.exchange.v1beta1.CancellationStrategyR\x08strategy\x12L\n\x0freference_price\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ereferencePrice"\xdc\x02\n4QueryTraderDerivativeOrdersToCancelUpToAmountRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x46\n\x0cquote_amount\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bquoteAmount\x12L\n\x08strategy\x18\x04 \x01(\x0e\x32\x30.injective.exchange.v1beta1.CancellationStrategyR\x08strategy\x12L\n\x0freference_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ereferencePrice"f\n"QueryTraderDerivativeOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId"r\n*QueryAccountAddressDerivativeOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress"\xe9\x02\n\x1bTrimmedDerivativeLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12?\n\x08\x66illable\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12\x1f\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuyR\x05isBuy\x12\x1d\n\norder_hash\x18\x06 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id"v\n#QueryTraderDerivativeOrdersResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders"~\n+QueryAccountAddressDerivativeOrdersResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders"\x8b\x01\n$QueryDerivativeOrdersByHashesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12!\n\x0corder_hashes\x18\x03 \x03(\tR\x0borderHashes"x\n%QueryDerivativeOrdersByHashesResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders"\x8a\x01\n\x1dQueryDerivativeMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\x12\x32\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08R\x12withMidPriceAndTob"\x88\x01\n\nPriceLevel\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity"\xbf\x01\n\x14PerpetualMarketState\x12P\n\x0bmarket_info\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoR\nmarketInfo\x12U\n\x0c\x66unding_info\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingR\x0b\x66undingInfo"\xba\x03\n\x14\x46ullDerivativeMarket\x12\x44\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketR\x06market\x12Y\n\x0eperpetual_info\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.PerpetualMarketStateH\x00R\rperpetualInfo\x12X\n\x0c\x66utures_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoH\x00R\x0b\x66uturesInfo\x12\x42\n\nmark_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\x12[\n\x11mid_price_and_tob\x18\x05 \x01(\x0b\x32*.injective.exchange.v1beta1.MidPriceAndTOBB\x04\xc8\xde\x1f\x01R\x0emidPriceAndTobB\x06\n\x04info"l\n\x1eQueryDerivativeMarketsResponse\x12J\n\x07markets\x18\x01 \x03(\x0b\x32\x30.injective.exchange.v1beta1.FullDerivativeMarketR\x07markets";\n\x1cQueryDerivativeMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"i\n\x1dQueryDerivativeMarketResponse\x12H\n\x06market\x18\x01 \x01(\x0b\x32\x30.injective.exchange.v1beta1.FullDerivativeMarketR\x06market"B\n#QueryDerivativeMarketAddressRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"e\n$QueryDerivativeMarketAddressResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId"G\n QuerySubaccountTradeNonceRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId"F\n\x1fQuerySubaccountPositionsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId"j\n&QuerySubaccountPositionInMarketRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId"s\n/QuerySubaccountEffectivePositionInMarketRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId"J\n#QuerySubaccountOrderMetadataRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId"n\n QuerySubaccountPositionsResponse\x12J\n\x05state\x18\x01 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\x05state"k\n\'QuerySubaccountPositionInMarketResponse\x12@\n\x05state\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionB\x04\xc8\xde\x1f\x01R\x05state"\x83\x02\n\x11\x45\x66\x66\x65\x63tivePosition\x12\x17\n\x07is_long\x18\x01 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12N\n\x10\x65\x66\x66\x65\x63tive_margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65\x66\x66\x65\x63tiveMargin"}\n0QuerySubaccountEffectivePositionInMarketResponse\x12I\n\x05state\x18\x01 \x01(\x0b\x32-.injective.exchange.v1beta1.EffectivePositionB\x04\xc8\xde\x1f\x01R\x05state">\n\x1fQueryPerpetualMarketInfoRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"m\n QueryPerpetualMarketInfoResponse\x12I\n\x04info\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00R\x04info"B\n#QueryExpiryFuturesMarketInfoRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"u\n$QueryExpiryFuturesMarketInfoResponse\x12M\n\x04info\x18\x01 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x00R\x04info"A\n"QueryPerpetualMarketFundingRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"u\n#QueryPerpetualMarketFundingResponse\x12N\n\x05state\x18\x01 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x05state"\x8b\x01\n$QuerySubaccountOrderMetadataResponse\x12\x63\n\x08metadata\x18\x01 \x03(\x0b\x32\x41.injective.exchange.v1beta1.SubaccountOrderbookMetadataWithMarketB\x04\xc8\xde\x1f\x00R\x08metadata"9\n!QuerySubaccountTradeNonceResponse\x12\x14\n\x05nonce\x18\x01 \x01(\rR\x05nonce"\x19\n\x17QueryModuleStateRequest"Z\n\x18QueryModuleStateResponse\x12>\n\x05state\x18\x01 \x01(\x0b\x32(.injective.exchange.v1beta1.GenesisStateR\x05state"\x17\n\x15QueryPositionsRequest"d\n\x16QueryPositionsResponse\x12J\n\x05state\x18\x01 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\x05state"q\n\x1dQueryTradeRewardPointsRequest\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\x12\x34\n\x16pending_pool_timestamp\x18\x02 \x01(\x03R\x14pendingPoolTimestamp"\x84\x01\n\x1eQueryTradeRewardPointsResponse\x12\x62\n\x1b\x61\x63\x63ount_trade_reward_points\x18\x01 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x18\x61\x63\x63ountTradeRewardPoints"!\n\x1fQueryTradeRewardCampaignRequest"\xfe\x04\n QueryTradeRewardCampaignResponse\x12v\n\x1ctrading_reward_campaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x19tradingRewardCampaignInfo\x12\x80\x01\n%trading_reward_pool_campaign_schedule\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR!tradingRewardPoolCampaignSchedule\x12^\n\x19total_trade_reward_points\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16totalTradeRewardPoints\x12\x8f\x01\n-pending_trading_reward_pool_campaign_schedule\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR(pendingTradingRewardPoolCampaignSchedule\x12m\n!pending_total_trade_reward_points\x18\x05 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1dpendingTotalTradeRewardPoints";\n\x1fQueryIsOptedOutOfRewardsRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount"D\n QueryIsOptedOutOfRewardsResponse\x12 \n\x0cis_opted_out\x18\x01 \x01(\x08R\nisOptedOut"\'\n%QueryOptedOutOfRewardsAccountsRequest"D\n&QueryOptedOutOfRewardsAccountsResponse\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts">\n"QueryFeeDiscountAccountInfoRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount"\xe9\x01\n#QueryFeeDiscountAccountInfoResponse\x12\x1d\n\ntier_level\x18\x01 \x01(\x04R\ttierLevel\x12R\n\x0c\x61\x63\x63ount_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfoR\x0b\x61\x63\x63ountInfo\x12O\n\x0b\x61\x63\x63ount_ttl\x18\x03 \x01(\x0b\x32..injective.exchange.v1beta1.FeeDiscountTierTTLR\naccountTtl"!\n\x1fQueryFeeDiscountScheduleRequest"\x87\x01\n QueryFeeDiscountScheduleResponse\x12\x63\n\x15\x66\x65\x65_discount_schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x13\x66\x65\x65\x44iscountSchedule"@\n\x1dQueryBalanceMismatchesRequest\x12\x1f\n\x0b\x64ust_factor\x18\x01 \x01(\x03R\ndustFactor"\xa2\x03\n\x0f\x42\x61lanceMismatch\x12"\n\x0csubaccountId\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x41\n\tavailable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tavailable\x12\x39\n\x05total\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05total\x12\x46\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\x12J\n\x0e\x65xpected_total\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rexpectedTotal\x12\x43\n\ndifference\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\ndifference"|\n\x1eQueryBalanceMismatchesResponse\x12Z\n\x12\x62\x61lance_mismatches\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.BalanceMismatchR\x11\x62\x61lanceMismatches"%\n#QueryBalanceWithBalanceHoldsRequest"\x97\x02\n\x15\x42\x61lanceWithMarginHold\x12"\n\x0csubaccountId\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x41\n\tavailable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tavailable\x12\x39\n\x05total\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05total\x12\x46\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold"\x96\x01\n$QueryBalanceWithBalanceHoldsResponse\x12n\n\x1a\x62\x61lance_with_balance_holds\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.BalanceWithMarginHoldR\x17\x62\x61lanceWithBalanceHolds"\'\n%QueryFeeDiscountTierStatisticsRequest"9\n\rTierStatistic\x12\x12\n\x04tier\x18\x01 \x01(\x04R\x04tier\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount"s\n&QueryFeeDiscountTierStatisticsResponse\x12I\n\nstatistics\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.TierStatisticR\nstatistics"\x17\n\x15MitoVaultInfosRequest"\xc4\x01\n\x16MitoVaultInfosResponse\x12)\n\x10master_addresses\x18\x01 \x03(\tR\x0fmasterAddresses\x12\x31\n\x14\x64\x65rivative_addresses\x18\x02 \x03(\tR\x13\x64\x65rivativeAddresses\x12%\n\x0espot_addresses\x18\x03 \x03(\tR\rspotAddresses\x12%\n\x0e\x63w20_addresses\x18\x04 \x03(\tR\rcw20Addresses"D\n\x1dQueryMarketIDFromVaultRequest\x12#\n\rvault_address\x18\x01 \x01(\tR\x0cvaultAddress"=\n\x1eQueryMarketIDFromVaultResponse\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"A\n"QueryHistoricalTradeRecordsRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"t\n#QueryHistoricalTradeRecordsResponse\x12M\n\rtrade_records\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.TradeRecordsR\x0ctradeRecords"\xb7\x01\n\x13TradeHistoryOptions\x12,\n\x12trade_grouping_sec\x18\x01 \x01(\x04R\x10tradeGroupingSec\x12\x17\n\x07max_age\x18\x02 \x01(\x04R\x06maxAge\x12.\n\x13include_raw_history\x18\x04 \x01(\x08R\x11includeRawHistory\x12)\n\x10include_metadata\x18\x05 \x01(\x08R\x0fincludeMetadata"\xa0\x01\n\x1cQueryMarketVolatilityRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x63\n\x15trade_history_options\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.TradeHistoryOptionsR\x13tradeHistoryOptions"\x83\x02\n\x1dQueryMarketVolatilityResponse\x12?\n\nvolatility\x18\x01 \x01(\tB\x1f\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nvolatility\x12W\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatisticsR\x0fhistoryMetadata\x12H\n\x0braw_history\x18\x03 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecordR\nrawHistory"3\n\x19QueryBinaryMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status"g\n\x1aQueryBinaryMarketsResponse\x12I\n\x07markets\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketR\x07markets"q\n-QueryTraderDerivativeConditionalOrdersRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId"\x9e\x03\n!TrimmedDerivativeConditionalOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12G\n\x0ctriggerPrice\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1f\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuyR\x05isBuy\x12%\n\x07isLimit\x18\x06 \x01(\x08\x42\x0b\xea\xde\x1f\x07isLimitR\x07isLimit\x12\x1d\n\norder_hash\x18\x07 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x08 \x01(\tR\x03\x63id"\x87\x01\n.QueryTraderDerivativeConditionalOrdersResponse\x12U\n\x06orders\x18\x01 \x03(\x0b\x32=.injective.exchange.v1beta1.TrimmedDerivativeConditionalOrderR\x06orders"M\n.QueryMarketAtomicExecutionFeeMultiplierRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"<\n\x1dQueryFullSpotOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"\xa6\x01\n\x1eQueryFullSpotOrderbookResponse\x12\x41\n\x04\x42ids\x18\x01 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x42ids\x12\x41\n\x04\x41sks\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x41sks"B\n#QueryFullDerivativeOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"\xac\x01\n$QueryFullDerivativeOrderbookResponse\x12\x41\n\x04\x42ids\x18\x01 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x42ids\x12\x41\n\x04\x41sks\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x41sks"v\n/QueryMarketAtomicExecutionFeeMultiplierResponse\x12\x43\n\nmultiplier\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nmultiplier"8\n\x1cQueryActiveStakeGrantRequest\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee"\xb3\x01\n\x1dQueryActiveStakeGrantResponse\x12=\n\x05grant\x18\x01 \x01(\x0b\x32\'.injective.exchange.v1beta1.ActiveGrantR\x05grant\x12S\n\x0f\x65\x66\x66\x65\x63tive_grant\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.EffectiveGrantR\x0e\x65\x66\x66\x65\x63tiveGrant"T\n\x1eQueryGrantAuthorizationRequest\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x18\n\x07grantee\x18\x02 \x01(\tR\x07grantee"X\n\x1fQueryGrantAuthorizationResponse\x12\x35\n\x06\x61mount\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount";\n\x1fQueryGrantAuthorizationsRequest\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter"\xb7\x01\n QueryGrantAuthorizationsResponse\x12K\n\x12total_grant_amount\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10totalGrantAmount\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants*4\n\tOrderSide\x12\x14\n\x10Side_Unspecified\x10\x00\x12\x07\n\x03\x42uy\x10\x01\x12\x08\n\x04Sell\x10\x02*V\n\x14\x43\x61ncellationStrategy\x12\x14\n\x10UnspecifiedOrder\x10\x00\x12\x13\n\x0f\x46romWorstToBest\x10\x01\x12\x13\n\x0f\x46romBestToWorst\x10\x02\x32\xffh\n\x05Query\x12\xe2\x01\n\x15L3DerivativeOrderBook\x12?.injective.exchange.v1beta1.QueryFullDerivativeOrderbookRequest\x1a@.injective.exchange.v1beta1.QueryFullDerivativeOrderbookResponse"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/derivative/L3OrderBook/{market_id}\x12\xca\x01\n\x0fL3SpotOrderBook\x12\x39.injective.exchange.v1beta1.QueryFullSpotOrderbookRequest\x1a:.injective.exchange.v1beta1.QueryFullSpotOrderbookResponse"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/spot/L3OrderBook/{market_id}\x12\xba\x01\n\x13QueryExchangeParams\x12\x36.injective.exchange.v1beta1.QueryExchangeParamsRequest\x1a\x37.injective.exchange.v1beta1.QueryExchangeParamsResponse"2\x82\xd3\xe4\x93\x02,\x12*/injective/exchange/v1beta1/exchangeParams\x12\xce\x01\n\x12SubaccountDeposits\x12:.injective.exchange.v1beta1.QuerySubaccountDepositsRequest\x1a;.injective.exchange.v1beta1.QuerySubaccountDepositsResponse"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/exchange/subaccountDeposits\x12\xca\x01\n\x11SubaccountDeposit\x12\x39.injective.exchange.v1beta1.QuerySubaccountDepositRequest\x1a:.injective.exchange.v1beta1.QuerySubaccountDepositResponse">\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v1beta1/exchange/subaccountDeposit\x12\xc6\x01\n\x10\x45xchangeBalances\x12\x38.injective.exchange.v1beta1.QueryExchangeBalancesRequest\x1a\x39.injective.exchange.v1beta1.QueryExchangeBalancesResponse"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/exchange/exchangeBalances\x12\xcc\x01\n\x0f\x41ggregateVolume\x12\x37.injective.exchange.v1beta1.QueryAggregateVolumeRequest\x1a\x38.injective.exchange.v1beta1.QueryAggregateVolumeResponse"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/exchange/aggregateVolume/{account}\x12\xc6\x01\n\x10\x41ggregateVolumes\x12\x38.injective.exchange.v1beta1.QueryAggregateVolumesRequest\x1a\x39.injective.exchange.v1beta1.QueryAggregateVolumesResponse"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/exchange/aggregateVolumes\x12\xe6\x01\n\x15\x41ggregateMarketVolume\x12=.injective.exchange.v1beta1.QueryAggregateMarketVolumeRequest\x1a>.injective.exchange.v1beta1.QueryAggregateMarketVolumeResponse"N\x82\xd3\xe4\x93\x02H\x12\x46/injective/exchange/v1beta1/exchange/aggregateMarketVolume/{market_id}\x12\xde\x01\n\x16\x41ggregateMarketVolumes\x12>.injective.exchange.v1beta1.QueryAggregateMarketVolumesRequest\x1a?.injective.exchange.v1beta1.QueryAggregateMarketVolumesResponse"C\x82\xd3\xe4\x93\x02=\x12;/injective/exchange/v1beta1/exchange/aggregateMarketVolumes\x12\xbf\x01\n\x0c\x44\x65nomDecimal\x12\x34.injective.exchange.v1beta1.QueryDenomDecimalRequest\x1a\x35.injective.exchange.v1beta1.QueryDenomDecimalResponse"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/exchange/denom_decimal/{denom}\x12\xbb\x01\n\rDenomDecimals\x12\x35.injective.exchange.v1beta1.QueryDenomDecimalsRequest\x1a\x36.injective.exchange.v1beta1.QueryDenomDecimalsResponse";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/exchange/v1beta1/exchange/denom_decimals\x12\xaa\x01\n\x0bSpotMarkets\x12\x33.injective.exchange.v1beta1.QuerySpotMarketsRequest\x1a\x34.injective.exchange.v1beta1.QuerySpotMarketsResponse"0\x82\xd3\xe4\x93\x02*\x12(/injective/exchange/v1beta1/spot/markets\x12\xb3\x01\n\nSpotMarket\x12\x32.injective.exchange.v1beta1.QuerySpotMarketRequest\x1a\x33.injective.exchange.v1beta1.QuerySpotMarketResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/spot/markets/{market_id}\x12\xbb\x01\n\x0f\x46ullSpotMarkets\x12\x37.injective.exchange.v1beta1.QueryFullSpotMarketsRequest\x1a\x38.injective.exchange.v1beta1.QueryFullSpotMarketsResponse"5\x82\xd3\xe4\x93\x02/\x12-/injective/exchange/v1beta1/spot/full_markets\x12\xc3\x01\n\x0e\x46ullSpotMarket\x12\x36.injective.exchange.v1beta1.QueryFullSpotMarketRequest\x1a\x37.injective.exchange.v1beta1.QueryFullSpotMarketResponse"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/spot/full_market/{market_id}\x12\xbe\x01\n\rSpotOrderbook\x12\x35.injective.exchange.v1beta1.QuerySpotOrderbookRequest\x1a\x36.injective.exchange.v1beta1.QuerySpotOrderbookResponse">\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v1beta1/spot/orderbook/{market_id}\x12\xd4\x01\n\x10TraderSpotOrders\x12\x38.injective.exchange.v1beta1.QueryTraderSpotOrdersRequest\x1a\x39.injective.exchange.v1beta1.QueryTraderSpotOrdersResponse"K\x82\xd3\xe4\x93\x02\x45\x12\x43/injective/exchange/v1beta1/spot/orders/{market_id}/{subaccount_id}\x12\xf6\x01\n\x18\x41\x63\x63ountAddressSpotOrders\x12@.injective.exchange.v1beta1.QueryAccountAddressSpotOrdersRequest\x1a\x41.injective.exchange.v1beta1.QueryAccountAddressSpotOrdersResponse"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/orders/{market_id}/account/{account_address}\x12\xe4\x01\n\x12SpotOrdersByHashes\x12:.injective.exchange.v1beta1.QuerySpotOrdersByHashesRequest\x1a;.injective.exchange.v1beta1.QuerySpotOrdersByHashesResponse"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/orders_by_hashes/{market_id}/{subaccount_id}\x12\xc3\x01\n\x10SubaccountOrders\x12\x38.injective.exchange.v1beta1.QuerySubaccountOrdersRequest\x1a\x39.injective.exchange.v1beta1.QuerySubaccountOrdersResponse":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/exchange/v1beta1/orders/{subaccount_id}\x12\xe7\x01\n\x19TraderSpotTransientOrders\x12\x38.injective.exchange.v1beta1.QueryTraderSpotOrdersRequest\x1a\x39.injective.exchange.v1beta1.QueryTraderSpotOrdersResponse"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/transient_orders/{market_id}/{subaccount_id}\x12\xd5\x01\n\x12SpotMidPriceAndTOB\x12:.injective.exchange.v1beta1.QuerySpotMidPriceAndTOBRequest\x1a;.injective.exchange.v1beta1.QuerySpotMidPriceAndTOBResponse"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/spot/mid_price_and_tob/{market_id}\x12\xed\x01\n\x18\x44\x65rivativeMidPriceAndTOB\x12@.injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBRequest\x1a\x41.injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBResponse"L\x82\xd3\xe4\x93\x02\x46\x12\x44/injective/exchange/v1beta1/derivative/mid_price_and_tob/{market_id}\x12\xd6\x01\n\x13\x44\x65rivativeOrderbook\x12;.injective.exchange.v1beta1.QueryDerivativeOrderbookRequest\x1a<.injective.exchange.v1beta1.QueryDerivativeOrderbookResponse"D\x82\xd3\xe4\x93\x02>\x12.injective.exchange.v1beta1.QueryTraderDerivativeOrdersRequest\x1a?.injective.exchange.v1beta1.QueryTraderDerivativeOrdersResponse"Q\x82\xd3\xe4\x93\x02K\x12I/injective/exchange/v1beta1/derivative/orders/{market_id}/{subaccount_id}\x12\x8e\x02\n\x1e\x41\x63\x63ountAddressDerivativeOrders\x12\x46.injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersRequest\x1aG.injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersResponse"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/orders/{market_id}/account/{account_address}\x12\xfc\x01\n\x18\x44\x65rivativeOrdersByHashes\x12@.injective.exchange.v1beta1.QueryDerivativeOrdersByHashesRequest\x1a\x41.injective.exchange.v1beta1.QueryDerivativeOrdersByHashesResponse"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/orders_by_hashes/{market_id}/{subaccount_id}\x12\xff\x01\n\x1fTraderDerivativeTransientOrders\x12>.injective.exchange.v1beta1.QueryTraderDerivativeOrdersRequest\x1a?.injective.exchange.v1beta1.QueryTraderDerivativeOrdersResponse"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/transient_orders/{market_id}/{subaccount_id}\x12\xc2\x01\n\x11\x44\x65rivativeMarkets\x12\x39.injective.exchange.v1beta1.QueryDerivativeMarketsRequest\x1a:.injective.exchange.v1beta1.QueryDerivativeMarketsResponse"6\x82\xd3\xe4\x93\x02\x30\x12./injective/exchange/v1beta1/derivative/markets\x12\xcb\x01\n\x10\x44\x65rivativeMarket\x12\x38.injective.exchange.v1beta1.QueryDerivativeMarketRequest\x1a\x39.injective.exchange.v1beta1.QueryDerivativeMarketResponse"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/derivative/markets/{market_id}\x12\xe7\x01\n\x17\x44\x65rivativeMarketAddress\x12?.injective.exchange.v1beta1.QueryDerivativeMarketAddressRequest\x1a@.injective.exchange.v1beta1.QueryDerivativeMarketAddressResponse"I\x82\xd3\xe4\x93\x02\x43\x12\x41/injective/exchange/v1beta1/derivative/market_address/{market_id}\x12\xd1\x01\n\x14SubaccountTradeNonce\x12<.injective.exchange.v1beta1.QuerySubaccountTradeNonceRequest\x1a=.injective.exchange.v1beta1.QuerySubaccountTradeNonceResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/exchange/{subaccount_id}\x12\xb2\x01\n\x13\x45xchangeModuleState\x12\x33.injective.exchange.v1beta1.QueryModuleStateRequest\x1a\x34.injective.exchange.v1beta1.QueryModuleStateResponse"0\x82\xd3\xe4\x93\x02*\x12(/injective/exchange/v1beta1/module_state\x12\xa1\x01\n\tPositions\x12\x31.injective.exchange.v1beta1.QueryPositionsRequest\x1a\x32.injective.exchange.v1beta1.QueryPositionsResponse"-\x82\xd3\xe4\x93\x02\'\x12%/injective/exchange/v1beta1/positions\x12\xcf\x01\n\x13SubaccountPositions\x12;.injective.exchange.v1beta1.QuerySubaccountPositionsRequest\x1a<.injective.exchange.v1beta1.QuerySubaccountPositionsResponse"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/positions/{subaccount_id}\x12\xf0\x01\n\x1aSubaccountPositionInMarket\x12\x42.injective.exchange.v1beta1.QuerySubaccountPositionInMarketRequest\x1a\x43.injective.exchange.v1beta1.QuerySubaccountPositionInMarketResponse"I\x82\xd3\xe4\x93\x02\x43\x12\x41/injective/exchange/v1beta1/positions/{subaccount_id}/{market_id}\x12\x95\x02\n#SubaccountEffectivePositionInMarket\x12K.injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketRequest\x1aL.injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketResponse"S\x82\xd3\xe4\x93\x02M\x12K/injective/exchange/v1beta1/effective_positions/{subaccount_id}/{market_id}\x12\xd7\x01\n\x13PerpetualMarketInfo\x12;.injective.exchange.v1beta1.QueryPerpetualMarketInfoRequest\x1a<.injective.exchange.v1beta1.QueryPerpetualMarketInfoResponse"E\x82\xd3\xe4\x93\x02?\x12=/injective/exchange/v1beta1/perpetual_market_info/{market_id}\x12\xe0\x01\n\x17\x45xpiryFuturesMarketInfo\x12?.injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoRequest\x1a@.injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoResponse"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/expiry_market_info/{market_id}\x12\xe3\x01\n\x16PerpetualMarketFunding\x12>.injective.exchange.v1beta1.QueryPerpetualMarketFundingRequest\x1a?.injective.exchange.v1beta1.QueryPerpetualMarketFundingResponse"H\x82\xd3\xe4\x93\x02\x42\x12@/injective/exchange/v1beta1/perpetual_market_funding/{market_id}\x12\xe0\x01\n\x17SubaccountOrderMetadata\x12?.injective.exchange.v1beta1.QuerySubaccountOrderMetadataRequest\x1a@.injective.exchange.v1beta1.QuerySubaccountOrderMetadataResponse"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/order_metadata/{subaccount_id}\x12\xc3\x01\n\x11TradeRewardPoints\x12\x39.injective.exchange.v1beta1.QueryTradeRewardPointsRequest\x1a:.injective.exchange.v1beta1.QueryTradeRewardPointsResponse"7\x82\xd3\xe4\x93\x02\x31\x12//injective/exchange/v1beta1/trade_reward_points\x12\xd2\x01\n\x18PendingTradeRewardPoints\x12\x39.injective.exchange.v1beta1.QueryTradeRewardPointsRequest\x1a:.injective.exchange.v1beta1.QueryTradeRewardPointsResponse"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/pending_trade_reward_points\x12\xcb\x01\n\x13TradeRewardCampaign\x12;.injective.exchange.v1beta1.QueryTradeRewardCampaignRequest\x1a<.injective.exchange.v1beta1.QueryTradeRewardCampaignResponse"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v1beta1/trade_reward_campaign\x12\xe2\x01\n\x16\x46\x65\x65\x44iscountAccountInfo\x12>.injective.exchange.v1beta1.QueryFeeDiscountAccountInfoRequest\x1a?.injective.exchange.v1beta1.QueryFeeDiscountAccountInfoResponse"G\x82\xd3\xe4\x93\x02\x41\x12?/injective/exchange/v1beta1/fee_discount_account_info/{account}\x12\xcb\x01\n\x13\x46\x65\x65\x44iscountSchedule\x12;.injective.exchange.v1beta1.QueryFeeDiscountScheduleRequest\x1a<.injective.exchange.v1beta1.QueryFeeDiscountScheduleResponse"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v1beta1/fee_discount_schedule\x12\xd0\x01\n\x11\x42\x61lanceMismatches\x12\x39.injective.exchange.v1beta1.QueryBalanceMismatchesRequest\x1a:.injective.exchange.v1beta1.QueryBalanceMismatchesResponse"D\x82\xd3\xe4\x93\x02>\x12.injective.exchange.v1beta1.QueryHistoricalTradeRecordsRequest\x1a?.injective.exchange.v1beta1.QueryHistoricalTradeRecordsResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/historical_trade_records\x12\xd7\x01\n\x13IsOptedOutOfRewards\x12;.injective.exchange.v1beta1.QueryIsOptedOutOfRewardsRequest\x1a<.injective.exchange.v1beta1.QueryIsOptedOutOfRewardsResponse"E\x82\xd3\xe4\x93\x02?\x12=/injective/exchange/v1beta1/is_opted_out_of_rewards/{account}\x12\xe5\x01\n\x19OptedOutOfRewardsAccounts\x12\x41.injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsRequest\x1a\x42.injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsResponse"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v1beta1/opted_out_of_rewards_accounts\x12\xca\x01\n\x10MarketVolatility\x12\x38.injective.exchange.v1beta1.QueryMarketVolatilityRequest\x1a\x39.injective.exchange.v1beta1.QueryMarketVolatilityResponse"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v1beta1/market_volatility/{market_id}\x12\xc1\x01\n\x14\x42inaryOptionsMarkets\x12\x35.injective.exchange.v1beta1.QueryBinaryMarketsRequest\x1a\x36.injective.exchange.v1beta1.QueryBinaryMarketsResponse":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/exchange/v1beta1/binary_options/markets\x12\x99\x02\n!TraderDerivativeConditionalOrders\x12I.injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersRequest\x1aJ.injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersResponse"]\x82\xd3\xe4\x93\x02W\x12U/injective/exchange/v1beta1/derivative/orders/conditional/{market_id}/{subaccount_id}\x12\xfe\x01\n"MarketAtomicExecutionFeeMultiplier\x12J.injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierRequest\x1aK.injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierResponse"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/atomic_order_fee_multiplier\x12\xc9\x01\n\x10\x41\x63tiveStakeGrant\x12\x38.injective.exchange.v1beta1.QueryActiveStakeGrantRequest\x1a\x39.injective.exchange.v1beta1.QueryActiveStakeGrantResponse"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/active_stake_grant/{grantee}\x12\xda\x01\n\x12GrantAuthorization\x12:.injective.exchange.v1beta1.QueryGrantAuthorizationRequest\x1a;.injective.exchange.v1beta1.QueryGrantAuthorizationResponse"K\x82\xd3\xe4\x93\x02\x45\x12\x43/injective/exchange/v1beta1/grant_authorization/{granter}/{grantee}\x12\xd4\x01\n\x13GrantAuthorizations\x12;.injective.exchange.v1beta1.QueryGrantAuthorizationsRequest\x1a<.injective.exchange.v1beta1.QueryGrantAuthorizationsResponse"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/grant_authorizations/{granter}B\x86\x02\n\x1e\x63om.injective.exchange.v1beta1B\nQueryProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.exchange.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\nQueryProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' - _globals['_QUERYEXCHANGEPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYEXCHANGEPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_QUERYSUBACCOUNTDEPOSITSREQUEST'].fields_by_name['subaccount']._loaded_options = None - _globals['_QUERYSUBACCOUNTDEPOSITSREQUEST'].fields_by_name['subaccount']._serialized_options = b'\310\336\037\001' - _globals['_QUERYSUBACCOUNTDEPOSITSRESPONSE_DEPOSITSENTRY']._loaded_options = None - _globals['_QUERYSUBACCOUNTDEPOSITSRESPONSE_DEPOSITSENTRY']._serialized_options = b'8\001' - _globals['_QUERYEXCHANGEBALANCESRESPONSE'].fields_by_name['balances']._loaded_options = None - _globals['_QUERYEXCHANGEBALANCESRESPONSE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000' - _globals['_QUERYAGGREGATEMARKETVOLUMERESPONSE'].fields_by_name['volume']._loaded_options = None - _globals['_QUERYAGGREGATEMARKETVOLUMERESPONSE'].fields_by_name['volume']._serialized_options = b'\310\336\037\000' - _globals['_QUERYDENOMDECIMALSRESPONSE'].fields_by_name['denom_decimals']._loaded_options = None - _globals['_QUERYDENOMDECIMALSRESPONSE'].fields_by_name['denom_decimals']._serialized_options = b'\310\336\037\000' - _globals['_QUERYSPOTORDERBOOKREQUEST'].fields_by_name['limit_cumulative_notional']._loaded_options = None - _globals['_QUERYSPOTORDERBOOKREQUEST'].fields_by_name['limit_cumulative_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYSPOTORDERBOOKREQUEST'].fields_by_name['limit_cumulative_quantity']._loaded_options = None - _globals['_QUERYSPOTORDERBOOKREQUEST'].fields_by_name['limit_cumulative_quantity']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_FULLSPOTMARKET'].fields_by_name['mid_price_and_tob']._loaded_options = None - _globals['_FULLSPOTMARKET'].fields_by_name['mid_price_and_tob']._serialized_options = b'\310\336\037\001' - _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['price']._loaded_options = None - _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['quantity']._loaded_options = None - _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['fillable']._loaded_options = None - _globals['_TRIMMEDSPOTLIMITORDER'].fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['mid_price']._loaded_options = None - _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['mid_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['best_buy_price']._loaded_options = None - _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['best_buy_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['best_sell_price']._loaded_options = None - _globals['_QUERYSPOTMIDPRICEANDTOBRESPONSE'].fields_by_name['best_sell_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['mid_price']._loaded_options = None - _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['mid_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['best_buy_price']._loaded_options = None - _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['best_buy_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['best_sell_price']._loaded_options = None - _globals['_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE'].fields_by_name['best_sell_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYDERIVATIVEORDERBOOKREQUEST'].fields_by_name['limit_cumulative_notional']._loaded_options = None - _globals['_QUERYDERIVATIVEORDERBOOKREQUEST'].fields_by_name['limit_cumulative_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['base_amount']._loaded_options = None - _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['base_amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['quote_amount']._loaded_options = None - _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['quote_amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['reference_price']._loaded_options = None - _globals['_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['reference_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['quote_amount']._loaded_options = None - _globals['_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['quote_amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['reference_price']._loaded_options = None - _globals['_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST'].fields_by_name['reference_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['price']._loaded_options = None - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['quantity']._loaded_options = None - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['margin']._loaded_options = None - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['fillable']._loaded_options = None - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['isBuy']._loaded_options = None - _globals['_TRIMMEDDERIVATIVELIMITORDER'].fields_by_name['isBuy']._serialized_options = b'\352\336\037\005isBuy' - _globals['_PRICELEVEL'].fields_by_name['price']._loaded_options = None - _globals['_PRICELEVEL'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PRICELEVEL'].fields_by_name['quantity']._loaded_options = None - _globals['_PRICELEVEL'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_FULLDERIVATIVEMARKET'].fields_by_name['mark_price']._loaded_options = None - _globals['_FULLDERIVATIVEMARKET'].fields_by_name['mark_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_FULLDERIVATIVEMARKET'].fields_by_name['mid_price_and_tob']._loaded_options = None - _globals['_FULLDERIVATIVEMARKET'].fields_by_name['mid_price_and_tob']._serialized_options = b'\310\336\037\001' - _globals['_QUERYSUBACCOUNTPOSITIONSRESPONSE'].fields_by_name['state']._loaded_options = None - _globals['_QUERYSUBACCOUNTPOSITIONSRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\000' - _globals['_QUERYSUBACCOUNTPOSITIONINMARKETRESPONSE'].fields_by_name['state']._loaded_options = None - _globals['_QUERYSUBACCOUNTPOSITIONINMARKETRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\001' - _globals['_EFFECTIVEPOSITION'].fields_by_name['quantity']._loaded_options = None - _globals['_EFFECTIVEPOSITION'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EFFECTIVEPOSITION'].fields_by_name['entry_price']._loaded_options = None - _globals['_EFFECTIVEPOSITION'].fields_by_name['entry_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EFFECTIVEPOSITION'].fields_by_name['effective_margin']._loaded_options = None - _globals['_EFFECTIVEPOSITION'].fields_by_name['effective_margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETRESPONSE'].fields_by_name['state']._loaded_options = None - _globals['_QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\001' - _globals['_QUERYPERPETUALMARKETINFORESPONSE'].fields_by_name['info']._loaded_options = None - _globals['_QUERYPERPETUALMARKETINFORESPONSE'].fields_by_name['info']._serialized_options = b'\310\336\037\000' - _globals['_QUERYEXPIRYFUTURESMARKETINFORESPONSE'].fields_by_name['info']._loaded_options = None - _globals['_QUERYEXPIRYFUTURESMARKETINFORESPONSE'].fields_by_name['info']._serialized_options = b'\310\336\037\000' - _globals['_QUERYPERPETUALMARKETFUNDINGRESPONSE'].fields_by_name['state']._loaded_options = None - _globals['_QUERYPERPETUALMARKETFUNDINGRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\000' - _globals['_QUERYSUBACCOUNTORDERMETADATARESPONSE'].fields_by_name['metadata']._loaded_options = None - _globals['_QUERYSUBACCOUNTORDERMETADATARESPONSE'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000' - _globals['_QUERYPOSITIONSRESPONSE'].fields_by_name['state']._loaded_options = None - _globals['_QUERYPOSITIONSRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\000' - _globals['_QUERYTRADEREWARDPOINTSRESPONSE'].fields_by_name['account_trade_reward_points']._loaded_options = None - _globals['_QUERYTRADEREWARDPOINTSRESPONSE'].fields_by_name['account_trade_reward_points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYTRADEREWARDCAMPAIGNRESPONSE'].fields_by_name['total_trade_reward_points']._loaded_options = None - _globals['_QUERYTRADEREWARDCAMPAIGNRESPONSE'].fields_by_name['total_trade_reward_points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYTRADEREWARDCAMPAIGNRESPONSE'].fields_by_name['pending_total_trade_reward_points']._loaded_options = None - _globals['_QUERYTRADEREWARDCAMPAIGNRESPONSE'].fields_by_name['pending_total_trade_reward_points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BALANCEMISMATCH'].fields_by_name['available']._loaded_options = None - _globals['_BALANCEMISMATCH'].fields_by_name['available']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BALANCEMISMATCH'].fields_by_name['total']._loaded_options = None - _globals['_BALANCEMISMATCH'].fields_by_name['total']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BALANCEMISMATCH'].fields_by_name['balance_hold']._loaded_options = None - _globals['_BALANCEMISMATCH'].fields_by_name['balance_hold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BALANCEMISMATCH'].fields_by_name['expected_total']._loaded_options = None - _globals['_BALANCEMISMATCH'].fields_by_name['expected_total']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BALANCEMISMATCH'].fields_by_name['difference']._loaded_options = None - _globals['_BALANCEMISMATCH'].fields_by_name['difference']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['available']._loaded_options = None - _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['available']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['total']._loaded_options = None - _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['total']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['balance_hold']._loaded_options = None - _globals['_BALANCEWITHMARGINHOLD'].fields_by_name['balance_hold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYMARKETVOLATILITYRESPONSE'].fields_by_name['volatility']._loaded_options = None - _globals['_QUERYMARKETVOLATILITYRESPONSE'].fields_by_name['volatility']._serialized_options = b'\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['price']._loaded_options = None - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['quantity']._loaded_options = None - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['margin']._loaded_options = None - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['triggerPrice']._loaded_options = None - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['triggerPrice']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['isBuy']._loaded_options = None - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['isBuy']._serialized_options = b'\352\336\037\005isBuy' - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['isLimit']._loaded_options = None - _globals['_TRIMMEDDERIVATIVECONDITIONALORDER'].fields_by_name['isLimit']._serialized_options = b'\352\336\037\007isLimit' - _globals['_QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERRESPONSE'].fields_by_name['multiplier']._loaded_options = None - _globals['_QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERRESPONSE'].fields_by_name['multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYGRANTAUTHORIZATIONRESPONSE'].fields_by_name['amount']._loaded_options = None - _globals['_QUERYGRANTAUTHORIZATIONRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_QUERYGRANTAUTHORIZATIONSRESPONSE'].fields_by_name['total_grant_amount']._loaded_options = None - _globals['_QUERYGRANTAUTHORIZATIONSRESPONSE'].fields_by_name['total_grant_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_QUERY'].methods_by_name['L3DerivativeOrderBook']._loaded_options = None - _globals['_QUERY'].methods_by_name['L3DerivativeOrderBook']._serialized_options = b'\202\323\344\223\002@\022>/injective/exchange/v1beta1/derivative/L3OrderBook/{market_id}' - _globals['_QUERY'].methods_by_name['L3SpotOrderBook']._loaded_options = None - _globals['_QUERY'].methods_by_name['L3SpotOrderBook']._serialized_options = b'\202\323\344\223\002:\0228/injective/exchange/v1beta1/spot/L3OrderBook/{market_id}' - _globals['_QUERY'].methods_by_name['QueryExchangeParams']._loaded_options = None - _globals['_QUERY'].methods_by_name['QueryExchangeParams']._serialized_options = b'\202\323\344\223\002,\022*/injective/exchange/v1beta1/exchangeParams' - _globals['_QUERY'].methods_by_name['SubaccountDeposits']._loaded_options = None - _globals['_QUERY'].methods_by_name['SubaccountDeposits']._serialized_options = b'\202\323\344\223\0029\0227/injective/exchange/v1beta1/exchange/subaccountDeposits' - _globals['_QUERY'].methods_by_name['SubaccountDeposit']._loaded_options = None - _globals['_QUERY'].methods_by_name['SubaccountDeposit']._serialized_options = b'\202\323\344\223\0028\0226/injective/exchange/v1beta1/exchange/subaccountDeposit' - _globals['_QUERY'].methods_by_name['ExchangeBalances']._loaded_options = None - _globals['_QUERY'].methods_by_name['ExchangeBalances']._serialized_options = b'\202\323\344\223\0027\0225/injective/exchange/v1beta1/exchange/exchangeBalances' - _globals['_QUERY'].methods_by_name['AggregateVolume']._loaded_options = None - _globals['_QUERY'].methods_by_name['AggregateVolume']._serialized_options = b'\202\323\344\223\002@\022>/injective/exchange/v1beta1/exchange/aggregateVolume/{account}' - _globals['_QUERY'].methods_by_name['AggregateVolumes']._loaded_options = None - _globals['_QUERY'].methods_by_name['AggregateVolumes']._serialized_options = b'\202\323\344\223\0027\0225/injective/exchange/v1beta1/exchange/aggregateVolumes' - _globals['_QUERY'].methods_by_name['AggregateMarketVolume']._loaded_options = None - _globals['_QUERY'].methods_by_name['AggregateMarketVolume']._serialized_options = b'\202\323\344\223\002H\022F/injective/exchange/v1beta1/exchange/aggregateMarketVolume/{market_id}' - _globals['_QUERY'].methods_by_name['AggregateMarketVolumes']._loaded_options = None - _globals['_QUERY'].methods_by_name['AggregateMarketVolumes']._serialized_options = b'\202\323\344\223\002=\022;/injective/exchange/v1beta1/exchange/aggregateMarketVolumes' - _globals['_QUERY'].methods_by_name['DenomDecimal']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomDecimal']._serialized_options = b'\202\323\344\223\002<\022:/injective/exchange/v1beta1/exchange/denom_decimal/{denom}' - _globals['_QUERY'].methods_by_name['DenomDecimals']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomDecimals']._serialized_options = b'\202\323\344\223\0025\0223/injective/exchange/v1beta1/exchange/denom_decimals' - _globals['_QUERY'].methods_by_name['SpotMarkets']._loaded_options = None - _globals['_QUERY'].methods_by_name['SpotMarkets']._serialized_options = b'\202\323\344\223\002*\022(/injective/exchange/v1beta1/spot/markets' - _globals['_QUERY'].methods_by_name['SpotMarket']._loaded_options = None - _globals['_QUERY'].methods_by_name['SpotMarket']._serialized_options = b'\202\323\344\223\0026\0224/injective/exchange/v1beta1/spot/markets/{market_id}' - _globals['_QUERY'].methods_by_name['FullSpotMarkets']._loaded_options = None - _globals['_QUERY'].methods_by_name['FullSpotMarkets']._serialized_options = b'\202\323\344\223\002/\022-/injective/exchange/v1beta1/spot/full_markets' - _globals['_QUERY'].methods_by_name['FullSpotMarket']._loaded_options = None - _globals['_QUERY'].methods_by_name['FullSpotMarket']._serialized_options = b'\202\323\344\223\002:\0228/injective/exchange/v1beta1/spot/full_market/{market_id}' - _globals['_QUERY'].methods_by_name['SpotOrderbook']._loaded_options = None - _globals['_QUERY'].methods_by_name['SpotOrderbook']._serialized_options = b'\202\323\344\223\0028\0226/injective/exchange/v1beta1/spot/orderbook/{market_id}' - _globals['_QUERY'].methods_by_name['TraderSpotOrders']._loaded_options = None - _globals['_QUERY'].methods_by_name['TraderSpotOrders']._serialized_options = b'\202\323\344\223\002E\022C/injective/exchange/v1beta1/spot/orders/{market_id}/{subaccount_id}' - _globals['_QUERY'].methods_by_name['AccountAddressSpotOrders']._loaded_options = None - _globals['_QUERY'].methods_by_name['AccountAddressSpotOrders']._serialized_options = b'\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/orders/{market_id}/account/{account_address}' - _globals['_QUERY'].methods_by_name['SpotOrdersByHashes']._loaded_options = None - _globals['_QUERY'].methods_by_name['SpotOrdersByHashes']._serialized_options = b'\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/orders_by_hashes/{market_id}/{subaccount_id}' - _globals['_QUERY'].methods_by_name['SubaccountOrders']._loaded_options = None - _globals['_QUERY'].methods_by_name['SubaccountOrders']._serialized_options = b'\202\323\344\223\0024\0222/injective/exchange/v1beta1/orders/{subaccount_id}' - _globals['_QUERY'].methods_by_name['TraderSpotTransientOrders']._loaded_options = None - _globals['_QUERY'].methods_by_name['TraderSpotTransientOrders']._serialized_options = b'\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/transient_orders/{market_id}/{subaccount_id}' - _globals['_QUERY'].methods_by_name['SpotMidPriceAndTOB']._loaded_options = None - _globals['_QUERY'].methods_by_name['SpotMidPriceAndTOB']._serialized_options = b'\202\323\344\223\002@\022>/injective/exchange/v1beta1/spot/mid_price_and_tob/{market_id}' - _globals['_QUERY'].methods_by_name['DerivativeMidPriceAndTOB']._loaded_options = None - _globals['_QUERY'].methods_by_name['DerivativeMidPriceAndTOB']._serialized_options = b'\202\323\344\223\002F\022D/injective/exchange/v1beta1/derivative/mid_price_and_tob/{market_id}' - _globals['_QUERY'].methods_by_name['DerivativeOrderbook']._loaded_options = None - _globals['_QUERY'].methods_by_name['DerivativeOrderbook']._serialized_options = b'\202\323\344\223\002>\022\022/injective/exchange/v1beta1/derivative/L3OrderBook/{market_id}" + _globals["_QUERY"].methods_by_name["L3SpotOrderBook"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "L3SpotOrderBook" + ]._serialized_options = b"\202\323\344\223\002:\0228/injective/exchange/v1beta1/spot/L3OrderBook/{market_id}" + _globals["_QUERY"].methods_by_name["QueryExchangeParams"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "QueryExchangeParams" + ]._serialized_options = b"\202\323\344\223\002,\022*/injective/exchange/v1beta1/exchangeParams" + _globals["_QUERY"].methods_by_name["SubaccountDeposits"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "SubaccountDeposits" + ]._serialized_options = b"\202\323\344\223\0029\0227/injective/exchange/v1beta1/exchange/subaccountDeposits" + _globals["_QUERY"].methods_by_name["SubaccountDeposit"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "SubaccountDeposit" + ]._serialized_options = b"\202\323\344\223\0028\0226/injective/exchange/v1beta1/exchange/subaccountDeposit" + _globals["_QUERY"].methods_by_name["ExchangeBalances"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ExchangeBalances" + ]._serialized_options = b"\202\323\344\223\0027\0225/injective/exchange/v1beta1/exchange/exchangeBalances" + _globals["_QUERY"].methods_by_name["AggregateVolume"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AggregateVolume" + ]._serialized_options = b"\202\323\344\223\002@\022>/injective/exchange/v1beta1/exchange/aggregateVolume/{account}" + _globals["_QUERY"].methods_by_name["AggregateVolumes"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AggregateVolumes" + ]._serialized_options = b"\202\323\344\223\0027\0225/injective/exchange/v1beta1/exchange/aggregateVolumes" + _globals["_QUERY"].methods_by_name["AggregateMarketVolume"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AggregateMarketVolume" + ]._serialized_options = ( + b"\202\323\344\223\002H\022F/injective/exchange/v1beta1/exchange/aggregateMarketVolume/{market_id}" + ) + _globals["_QUERY"].methods_by_name["AggregateMarketVolumes"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AggregateMarketVolumes" + ]._serialized_options = b"\202\323\344\223\002=\022;/injective/exchange/v1beta1/exchange/aggregateMarketVolumes" + _globals["_QUERY"].methods_by_name["DenomDecimal"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DenomDecimal" + ]._serialized_options = b"\202\323\344\223\002<\022:/injective/exchange/v1beta1/exchange/denom_decimal/{denom}" + _globals["_QUERY"].methods_by_name["DenomDecimals"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DenomDecimals" + ]._serialized_options = b"\202\323\344\223\0025\0223/injective/exchange/v1beta1/exchange/denom_decimals" + _globals["_QUERY"].methods_by_name["SpotMarkets"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "SpotMarkets" + ]._serialized_options = b"\202\323\344\223\002*\022(/injective/exchange/v1beta1/spot/markets" + _globals["_QUERY"].methods_by_name["SpotMarket"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "SpotMarket" + ]._serialized_options = b"\202\323\344\223\0026\0224/injective/exchange/v1beta1/spot/markets/{market_id}" + _globals["_QUERY"].methods_by_name["FullSpotMarkets"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "FullSpotMarkets" + ]._serialized_options = b"\202\323\344\223\002/\022-/injective/exchange/v1beta1/spot/full_markets" + _globals["_QUERY"].methods_by_name["FullSpotMarket"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "FullSpotMarket" + ]._serialized_options = b"\202\323\344\223\002:\0228/injective/exchange/v1beta1/spot/full_market/{market_id}" + _globals["_QUERY"].methods_by_name["SpotOrderbook"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "SpotOrderbook" + ]._serialized_options = b"\202\323\344\223\0028\0226/injective/exchange/v1beta1/spot/orderbook/{market_id}" + _globals["_QUERY"].methods_by_name["TraderSpotOrders"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "TraderSpotOrders" + ]._serialized_options = ( + b"\202\323\344\223\002E\022C/injective/exchange/v1beta1/spot/orders/{market_id}/{subaccount_id}" + ) + _globals["_QUERY"].methods_by_name["AccountAddressSpotOrders"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AccountAddressSpotOrders" + ]._serialized_options = ( + b"\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/orders/{market_id}/account/{account_address}" + ) + _globals["_QUERY"].methods_by_name["SpotOrdersByHashes"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "SpotOrdersByHashes" + ]._serialized_options = ( + b"\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/orders_by_hashes/{market_id}/{subaccount_id}" + ) + _globals["_QUERY"].methods_by_name["SubaccountOrders"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "SubaccountOrders" + ]._serialized_options = b"\202\323\344\223\0024\0222/injective/exchange/v1beta1/orders/{subaccount_id}" + _globals["_QUERY"].methods_by_name["TraderSpotTransientOrders"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "TraderSpotTransientOrders" + ]._serialized_options = ( + b"\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/transient_orders/{market_id}/{subaccount_id}" + ) + _globals["_QUERY"].methods_by_name["SpotMidPriceAndTOB"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "SpotMidPriceAndTOB" + ]._serialized_options = b"\202\323\344\223\002@\022>/injective/exchange/v1beta1/spot/mid_price_and_tob/{market_id}" + _globals["_QUERY"].methods_by_name["DerivativeMidPriceAndTOB"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DerivativeMidPriceAndTOB" + ]._serialized_options = ( + b"\202\323\344\223\002F\022D/injective/exchange/v1beta1/derivative/mid_price_and_tob/{market_id}" + ) + _globals["_QUERY"].methods_by_name["DerivativeOrderbook"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DerivativeOrderbook" + ]._serialized_options = b"\202\323\344\223\002>\022\022\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*&exchange/MsgBatchCreateSpotLimitOrders\"\xb2\x01\n%MsgBatchCreateSpotLimitOrdersResponse\x12!\n\x0corder_hashes\x18\x01 \x03(\tR\x0borderHashes\x12.\n\x13\x63reated_orders_cids\x18\x02 \x03(\tR\x11\x63reatedOrdersCids\x12,\n\x12\x66\x61iled_orders_cids\x18\x03 \x03(\tR\x10\x66\x61iledOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbf\x03\n\x1aMsgInstantSpotMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x03 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#exchange/MsgInstantSpotMarketLaunch\"$\n\"MsgInstantSpotMarketLaunchResponse\"\xb1\x07\n\x1fMsgInstantPerpetualMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x06 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x07 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12I\n\x0emaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12U\n\x14initial_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12R\n\x13min_price_tick_size\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*(exchange/MsgInstantPerpetualMarketLaunch\")\n\'MsgInstantPerpetualMarketLaunchResponse\"\x89\x07\n#MsgInstantBinaryOptionsMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x03 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x04 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x05 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x06 \x01(\rR\x11oracleScaleFactor\x12I\n\x0emaker_fee_rate\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12\x31\n\x14\x65xpiration_timestamp\x18\t \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\n \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\x0b \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\x0c \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgInstantBinaryOptionsMarketLaunch\"-\n+MsgInstantBinaryOptionsMarketLaunchResponse\"\xd1\x07\n#MsgInstantExpiryFuturesMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x16\n\x06\x65xpiry\x18\x08 \x01(\x03R\x06\x65xpiry\x12I\n\x0emaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12U\n\x14initial_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgInstantExpiryFuturesMarketLaunch\"-\n+MsgInstantExpiryFuturesMarketLaunchResponse\"\xb0\x01\n\x18MsgCreateSpotMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00R\x05order:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgCreateSpotMarketOrder\"\xb1\x01\n MsgCreateSpotMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12R\n\x07results\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.SpotMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd5\x01\n\x16SpotMarketOrderResults\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x35\n\x03\x66\x65\x65\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbc\x01\n\x1dMsgCreateDerivativeLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order::\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*&exchange/MsgCreateDerivativeLimitOrder\"b\n%MsgCreateDerivativeLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc2\x01\n MsgCreateBinaryOptionsLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:=\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*)exchange/MsgCreateBinaryOptionsLimitOrder\"e\n(MsgCreateBinaryOptionsLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xca\x01\n#MsgBatchCreateDerivativeLimitOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12I\n\x06orders\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x06orders:@\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgBatchCreateDerivativeLimitOrders\"\xb8\x01\n+MsgBatchCreateDerivativeLimitOrdersResponse\x12!\n\x0corder_hashes\x18\x01 \x03(\tR\x0borderHashes\x12.\n\x13\x63reated_orders_cids\x18\x02 \x03(\tR\x11\x63reatedOrdersCids\x12,\n\x12\x66\x61iled_orders_cids\x18\x03 \x03(\tR\x10\x66\x61iledOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd0\x01\n\x12MsgCancelSpotOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id:/\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1b\x65xchange/MsgCancelSpotOrder\"\x1c\n\x1aMsgCancelSpotOrderResponse\"\xaa\x01\n\x18MsgBatchCancelSpotOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:5\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgBatchCancelSpotOrders\"F\n MsgBatchCancelSpotOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbc\x01\n!MsgBatchCancelBinaryOptionsOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:>\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgBatchCancelBinaryOptionsOrders\"O\n)MsgBatchCancelBinaryOptionsOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf2\x07\n\x14MsgBatchUpdateOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12?\n\x1dspot_market_ids_to_cancel_all\x18\x03 \x03(\tR\x18spotMarketIdsToCancelAll\x12K\n#derivative_market_ids_to_cancel_all\x18\x04 \x03(\tR\x1e\x64\x65rivativeMarketIdsToCancelAll\x12^\n\x15spot_orders_to_cancel\x18\x05 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x12spotOrdersToCancel\x12j\n\x1b\x64\x65rivative_orders_to_cancel\x18\x06 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x18\x64\x65rivativeOrdersToCancel\x12^\n\x15spot_orders_to_create\x18\x07 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x01R\x12spotOrdersToCreate\x12p\n\x1b\x64\x65rivative_orders_to_create\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x18\x64\x65rivativeOrdersToCreate\x12q\n\x1f\x62inary_options_orders_to_cancel\x18\t \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x1b\x62inaryOptionsOrdersToCancel\x12R\n\'binary_options_market_ids_to_cancel_all\x18\n \x03(\tR!binaryOptionsMarketIdsToCancelAll\x12w\n\x1f\x62inary_options_orders_to_create\x18\x0b \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x1b\x62inaryOptionsOrdersToCreate:1\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x65xchange/MsgBatchUpdateOrders\"\x88\x06\n\x1cMsgBatchUpdateOrdersResponse\x12.\n\x13spot_cancel_success\x18\x01 \x03(\x08R\x11spotCancelSuccess\x12:\n\x19\x64\x65rivative_cancel_success\x18\x02 \x03(\x08R\x17\x64\x65rivativeCancelSuccess\x12*\n\x11spot_order_hashes\x18\x03 \x03(\tR\x0fspotOrderHashes\x12\x36\n\x17\x64\x65rivative_order_hashes\x18\x04 \x03(\tR\x15\x64\x65rivativeOrderHashes\x12\x41\n\x1d\x62inary_options_cancel_success\x18\x05 \x03(\x08R\x1a\x62inaryOptionsCancelSuccess\x12=\n\x1b\x62inary_options_order_hashes\x18\x06 \x03(\tR\x18\x62inaryOptionsOrderHashes\x12\x37\n\x18\x63reated_spot_orders_cids\x18\x07 \x03(\tR\x15\x63reatedSpotOrdersCids\x12\x35\n\x17\x66\x61iled_spot_orders_cids\x18\x08 \x03(\tR\x14\x66\x61iledSpotOrdersCids\x12\x43\n\x1e\x63reated_derivative_orders_cids\x18\t \x03(\tR\x1b\x63reatedDerivativeOrdersCids\x12\x41\n\x1d\x66\x61iled_derivative_orders_cids\x18\n \x03(\tR\x1a\x66\x61iledDerivativeOrdersCids\x12J\n\"created_binary_options_orders_cids\x18\x0b \x03(\tR\x1e\x63reatedBinaryOptionsOrdersCids\x12H\n!failed_binary_options_orders_cids\x18\x0c \x03(\tR\x1d\x66\x61iledBinaryOptionsOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbe\x01\n\x1eMsgCreateDerivativeMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:;\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgCreateDerivativeMarketOrder\"\xbd\x01\n&MsgCreateDerivativeMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12X\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf0\x02\n\x1c\x44\x65rivativeMarketOrderResults\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x35\n\x03\x66\x65\x65\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12V\n\x0eposition_delta\x18\x04 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaB\x04\xc8\xde\x1f\x00R\rpositionDelta\x12;\n\x06payout\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc4\x01\n!MsgCreateBinaryOptionsMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:>\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgCreateBinaryOptionsMarketOrder\"\xc0\x01\n)MsgCreateBinaryOptionsMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12X\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xfb\x01\n\x18MsgCancelDerivativeOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x05 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id:5\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgCancelDerivativeOrder\"\"\n MsgCancelDerivativeOrderResponse\"\x81\x02\n\x1bMsgCancelBinaryOptionsOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x05 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id:8\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*$exchange/MsgCancelBinaryOptionsOrder\"%\n#MsgCancelBinaryOptionsOrderResponse\"\x9d\x01\n\tOrderData\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x04 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id\"\xb6\x01\n\x1eMsgBatchCancelDerivativeOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:;\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgBatchCancelDerivativeOrders\"L\n&MsgBatchCancelDerivativeOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x86\x02\n\x15MsgSubaccountTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x37\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgSubaccountTransfer\"\x1f\n\x1dMsgSubaccountTransferResponse\"\x82\x02\n\x13MsgExternalTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x37\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1c\x65xchange/MsgExternalTransfer\"\x1d\n\x1bMsgExternalTransferResponse\"\xe8\x01\n\x14MsgLiquidatePosition\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12G\n\x05order\x18\x04 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x05order:-\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x65xchange/MsgLiquidatePosition\"\x1e\n\x1cMsgLiquidatePositionResponse\"\xa7\x01\n\x18MsgEmergencySettleMarket\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId:1\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgEmergencySettleMarket\"\"\n MsgEmergencySettleMarketResponse\"\xaf\x02\n\x19MsgIncreasePositionMargin\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\x12;\n\x06\x61mount\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount:2\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\"exchange/MsgIncreasePositionMargin\"#\n!MsgIncreasePositionMarginResponse\"\xaf\x02\n\x19MsgDecreasePositionMargin\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\x12;\n\x06\x61mount\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount:2\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\"exchange/MsgDecreasePositionMargin\"#\n!MsgDecreasePositionMarginResponse\"\xca\x01\n\x1cMsgPrivilegedExecuteContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x14\n\x05\x66unds\x18\x02 \x01(\tR\x05\x66unds\x12)\n\x10\x63ontract_address\x18\x03 \x01(\tR\x0f\x63ontractAddress\x12\x12\n\x04\x64\x61ta\x18\x04 \x01(\tR\x04\x64\x61ta:=\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*%exchange/MsgPrivilegedExecuteContract\"\xa7\x01\n$MsgPrivilegedExecuteContractResponse\x12j\n\nfunds_diff\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\tfundsDiff:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"]\n\x10MsgRewardsOptOut\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19\x65xchange/MsgRewardsOptOut\"\x1a\n\x18MsgRewardsOptOutResponse\"\xaf\x01\n\x15MsgReclaimLockedFunds\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x13lockedAccountPubKey\x18\x02 \x01(\x0cR\x13lockedAccountPubKey\x12\x1c\n\tsignature\x18\x03 \x01(\x0cR\tsignature:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgReclaimLockedFunds\"\x1f\n\x1dMsgReclaimLockedFundsResponse\"\x80\x01\n\x0bMsgSignData\x12S\n\x06Signer\x18\x01 \x01(\x0c\x42;\xea\xde\x1f\x06signer\xfa\xde\x1f-github.com/cosmos/cosmos-sdk/types.AccAddressR\x06Signer\x12\x1c\n\x04\x44\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61taR\x04\x44\x61ta\"x\n\nMsgSignDoc\x12%\n\tsign_type\x18\x01 \x01(\tB\x08\xea\xde\x1f\x04typeR\x08signType\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.MsgSignDataB\x04\xc8\xde\x1f\x00R\x05value\"\x8c\x03\n!MsgAdminUpdateBinaryOptionsMarket\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x31\n\x14\x65xpiration_timestamp\x18\x04 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\x05 \x01(\x03R\x13settlementTimestamp\x12@\n\x06status\x18\x06 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status::\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgAdminUpdateBinaryOptionsMarket\"+\n)MsgAdminUpdateBinaryOptionsMarketResponse\"\xab\x01\n\x17MsgAuthorizeStakeGrants\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants:0\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* exchange/MsgAuthorizeStakeGrants\"!\n\x1fMsgAuthorizeStakeGrantsResponse\"y\n\x15MsgActivateStakeGrant\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgActivateStakeGrant\"\x1f\n\x1dMsgActivateStakeGrantResponse2\xd0\'\n\x03Msg\x12\x61\n\x07\x44\x65posit\x12&.injective.exchange.v1beta1.MsgDeposit\x1a..injective.exchange.v1beta1.MsgDepositResponse\x12\x64\n\x08Withdraw\x12\'.injective.exchange.v1beta1.MsgWithdraw\x1a/.injective.exchange.v1beta1.MsgWithdrawResponse\x12\x91\x01\n\x17InstantSpotMarketLaunch\x12\x36.injective.exchange.v1beta1.MsgInstantSpotMarketLaunch\x1a>.injective.exchange.v1beta1.MsgInstantSpotMarketLaunchResponse\x12\xa0\x01\n\x1cInstantPerpetualMarketLaunch\x12;.injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch\x1a\x43.injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunchResponse\x12\xac\x01\n InstantExpiryFuturesMarketLaunch\x12?.injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch\x1aG.injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunchResponse\x12\x88\x01\n\x14\x43reateSpotLimitOrder\x12\x33.injective.exchange.v1beta1.MsgCreateSpotLimitOrder\x1a;.injective.exchange.v1beta1.MsgCreateSpotLimitOrderResponse\x12\x9a\x01\n\x1a\x42\x61tchCreateSpotLimitOrders\x12\x39.injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders\x1a\x41.injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrdersResponse\x12\x8b\x01\n\x15\x43reateSpotMarketOrder\x12\x34.injective.exchange.v1beta1.MsgCreateSpotMarketOrder\x1a<.injective.exchange.v1beta1.MsgCreateSpotMarketOrderResponse\x12y\n\x0f\x43\x61ncelSpotOrder\x12..injective.exchange.v1beta1.MsgCancelSpotOrder\x1a\x36.injective.exchange.v1beta1.MsgCancelSpotOrderResponse\x12\x8b\x01\n\x15\x42\x61tchCancelSpotOrders\x12\x34.injective.exchange.v1beta1.MsgBatchCancelSpotOrders\x1a<.injective.exchange.v1beta1.MsgBatchCancelSpotOrdersResponse\x12\x7f\n\x11\x42\x61tchUpdateOrders\x12\x30.injective.exchange.v1beta1.MsgBatchUpdateOrders\x1a\x38.injective.exchange.v1beta1.MsgBatchUpdateOrdersResponse\x12\x97\x01\n\x19PrivilegedExecuteContract\x12\x38.injective.exchange.v1beta1.MsgPrivilegedExecuteContract\x1a@.injective.exchange.v1beta1.MsgPrivilegedExecuteContractResponse\x12\x9a\x01\n\x1a\x43reateDerivativeLimitOrder\x12\x39.injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder\x1a\x41.injective.exchange.v1beta1.MsgCreateDerivativeLimitOrderResponse\x12\xac\x01\n BatchCreateDerivativeLimitOrders\x12?.injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders\x1aG.injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrdersResponse\x12\x9d\x01\n\x1b\x43reateDerivativeMarketOrder\x12:.injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder\x1a\x42.injective.exchange.v1beta1.MsgCreateDerivativeMarketOrderResponse\x12\x8b\x01\n\x15\x43\x61ncelDerivativeOrder\x12\x34.injective.exchange.v1beta1.MsgCancelDerivativeOrder\x1a<.injective.exchange.v1beta1.MsgCancelDerivativeOrderResponse\x12\x9d\x01\n\x1b\x42\x61tchCancelDerivativeOrders\x12:.injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders\x1a\x42.injective.exchange.v1beta1.MsgBatchCancelDerivativeOrdersResponse\x12\xac\x01\n InstantBinaryOptionsMarketLaunch\x12?.injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch\x1aG.injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunchResponse\x12\xa3\x01\n\x1d\x43reateBinaryOptionsLimitOrder\x12<.injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder\x1a\x44.injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrderResponse\x12\xa6\x01\n\x1e\x43reateBinaryOptionsMarketOrder\x12=.injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder\x1a\x45.injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrderResponse\x12\x94\x01\n\x18\x43\x61ncelBinaryOptionsOrder\x12\x37.injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder\x1a?.injective.exchange.v1beta1.MsgCancelBinaryOptionsOrderResponse\x12\xa6\x01\n\x1e\x42\x61tchCancelBinaryOptionsOrders\x12=.injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders\x1a\x45.injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrdersResponse\x12\x82\x01\n\x12SubaccountTransfer\x12\x31.injective.exchange.v1beta1.MsgSubaccountTransfer\x1a\x39.injective.exchange.v1beta1.MsgSubaccountTransferResponse\x12|\n\x10\x45xternalTransfer\x12/.injective.exchange.v1beta1.MsgExternalTransfer\x1a\x37.injective.exchange.v1beta1.MsgExternalTransferResponse\x12\x7f\n\x11LiquidatePosition\x12\x30.injective.exchange.v1beta1.MsgLiquidatePosition\x1a\x38.injective.exchange.v1beta1.MsgLiquidatePositionResponse\x12\x8b\x01\n\x15\x45mergencySettleMarket\x12\x34.injective.exchange.v1beta1.MsgEmergencySettleMarket\x1a<.injective.exchange.v1beta1.MsgEmergencySettleMarketResponse\x12\x8e\x01\n\x16IncreasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgIncreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgIncreasePositionMarginResponse\x12\x8e\x01\n\x16\x44\x65\x63reasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgDecreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgDecreasePositionMarginResponse\x12s\n\rRewardsOptOut\x12,.injective.exchange.v1beta1.MsgRewardsOptOut\x1a\x34.injective.exchange.v1beta1.MsgRewardsOptOutResponse\x12\xa6\x01\n\x1e\x41\x64minUpdateBinaryOptionsMarket\x12=.injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket\x1a\x45.injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarketResponse\x12p\n\x0cUpdateParams\x12+.injective.exchange.v1beta1.MsgUpdateParams\x1a\x33.injective.exchange.v1beta1.MsgUpdateParamsResponse\x12|\n\x10UpdateSpotMarket\x12/.injective.exchange.v1beta1.MsgUpdateSpotMarket\x1a\x37.injective.exchange.v1beta1.MsgUpdateSpotMarketResponse\x12\x8e\x01\n\x16UpdateDerivativeMarket\x12\x35.injective.exchange.v1beta1.MsgUpdateDerivativeMarket\x1a=.injective.exchange.v1beta1.MsgUpdateDerivativeMarketResponse\x12\x88\x01\n\x14\x41uthorizeStakeGrants\x12\x33.injective.exchange.v1beta1.MsgAuthorizeStakeGrants\x1a;.injective.exchange.v1beta1.MsgAuthorizeStakeGrantsResponse\x12\x82\x01\n\x12\x41\x63tivateStakeGrant\x12\x31.injective.exchange.v1beta1.MsgActivateStakeGrant\x1a\x39.injective.exchange.v1beta1.MsgActivateStakeGrantResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x83\x02\n\x1e\x63om.injective.exchange.v1beta1B\x07TxProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n#injective/exchange/v1beta1/tx.proto\x12\x1ainjective.exchange.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a)injective/exchange/v1beta1/exchange.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto"\xa7\x03\n\x13MsgUpdateSpotMarket\x12\x14\n\x05\x61\x64min\x18\x01 \x01(\tR\x05\x61\x64min\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1d\n\nnew_ticker\x18\x03 \x01(\tR\tnewTicker\x12Y\n\x17new_min_price_tick_size\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13newMinPriceTickSize\x12_\n\x1anew_min_quantity_tick_size\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16newMinQuantityTickSize\x12M\n\x10new_min_notional\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0enewMinNotional:3\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1c\x65xchange/MsgUpdateSpotMarket"\x1d\n\x1bMsgUpdateSpotMarketResponse"\xf7\x04\n\x19MsgUpdateDerivativeMarket\x12\x14\n\x05\x61\x64min\x18\x01 \x01(\tR\x05\x61\x64min\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1d\n\nnew_ticker\x18\x03 \x01(\tR\tnewTicker\x12Y\n\x17new_min_price_tick_size\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13newMinPriceTickSize\x12_\n\x1anew_min_quantity_tick_size\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16newMinQuantityTickSize\x12M\n\x10new_min_notional\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0enewMinNotional\x12\\\n\x18new_initial_margin_ratio\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15newInitialMarginRatio\x12\x64\n\x1cnew_maintenance_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19newMaintenanceMarginRatio:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*"exchange/MsgUpdateDerivativeMarket"#\n!MsgUpdateDerivativeMarketResponse"\xb8\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12@\n\x06params\x18\x02 \x01(\x0b\x32".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:+\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x18\x65xchange/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse"\xaf\x01\n\nMsgDeposit\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:+\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13\x65xchange/MsgDeposit"\x14\n\x12MsgDepositResponse"\xb1\x01\n\x0bMsgWithdraw\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:,\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x14\x65xchange/MsgWithdraw"\x15\n\x13MsgWithdrawResponse"\xae\x01\n\x17MsgCreateSpotLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00R\x05order:8\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* exchange/MsgCreateSpotLimitOrder"\\\n\x1fMsgCreateSpotLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xbc\x01\n\x1dMsgBatchCreateSpotLimitOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x43\n\x06orders\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00R\x06orders:>\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*&exchange/MsgBatchCreateSpotLimitOrders"\xb2\x01\n%MsgBatchCreateSpotLimitOrdersResponse\x12!\n\x0corder_hashes\x18\x01 \x03(\tR\x0borderHashes\x12.\n\x13\x63reated_orders_cids\x18\x02 \x03(\tR\x11\x63reatedOrdersCids\x12,\n\x12\x66\x61iled_orders_cids\x18\x03 \x03(\tR\x10\x66\x61iledOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xbf\x03\n\x1aMsgInstantSpotMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x03 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#exchange/MsgInstantSpotMarketLaunch"$\n"MsgInstantSpotMarketLaunchResponse"\xb1\x07\n\x1fMsgInstantPerpetualMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x06 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x07 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12I\n\x0emaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12U\n\x14initial_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12R\n\x13min_price_tick_size\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*(exchange/MsgInstantPerpetualMarketLaunch")\n\'MsgInstantPerpetualMarketLaunchResponse"\x89\x07\n#MsgInstantBinaryOptionsMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x03 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x04 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x05 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x06 \x01(\rR\x11oracleScaleFactor\x12I\n\x0emaker_fee_rate\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12\x31\n\x14\x65xpiration_timestamp\x18\t \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\n \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\x0b \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\x0c \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgInstantBinaryOptionsMarketLaunch"-\n+MsgInstantBinaryOptionsMarketLaunchResponse"\xd1\x07\n#MsgInstantExpiryFuturesMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x16\n\x06\x65xpiry\x18\x08 \x01(\x03R\x06\x65xpiry\x12I\n\x0emaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12U\n\x14initial_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgInstantExpiryFuturesMarketLaunch"-\n+MsgInstantExpiryFuturesMarketLaunchResponse"\xb0\x01\n\x18MsgCreateSpotMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00R\x05order:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgCreateSpotMarketOrder"\xb1\x01\n MsgCreateSpotMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12R\n\x07results\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.SpotMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xd5\x01\n\x16SpotMarketOrderResults\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x35\n\x03\x66\x65\x65\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xbc\x01\n\x1dMsgCreateDerivativeLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order::\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*&exchange/MsgCreateDerivativeLimitOrder"b\n%MsgCreateDerivativeLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xc2\x01\n MsgCreateBinaryOptionsLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:=\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*)exchange/MsgCreateBinaryOptionsLimitOrder"e\n(MsgCreateBinaryOptionsLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xca\x01\n#MsgBatchCreateDerivativeLimitOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12I\n\x06orders\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x06orders:@\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgBatchCreateDerivativeLimitOrders"\xb8\x01\n+MsgBatchCreateDerivativeLimitOrdersResponse\x12!\n\x0corder_hashes\x18\x01 \x03(\tR\x0borderHashes\x12.\n\x13\x63reated_orders_cids\x18\x02 \x03(\tR\x11\x63reatedOrdersCids\x12,\n\x12\x66\x61iled_orders_cids\x18\x03 \x03(\tR\x10\x66\x61iledOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xd0\x01\n\x12MsgCancelSpotOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id:/\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1b\x65xchange/MsgCancelSpotOrder"\x1c\n\x1aMsgCancelSpotOrderResponse"\xaa\x01\n\x18MsgBatchCancelSpotOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:5\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgBatchCancelSpotOrders"F\n MsgBatchCancelSpotOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xbc\x01\n!MsgBatchCancelBinaryOptionsOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:>\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgBatchCancelBinaryOptionsOrders"O\n)MsgBatchCancelBinaryOptionsOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xf2\x07\n\x14MsgBatchUpdateOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12?\n\x1dspot_market_ids_to_cancel_all\x18\x03 \x03(\tR\x18spotMarketIdsToCancelAll\x12K\n#derivative_market_ids_to_cancel_all\x18\x04 \x03(\tR\x1e\x64\x65rivativeMarketIdsToCancelAll\x12^\n\x15spot_orders_to_cancel\x18\x05 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x12spotOrdersToCancel\x12j\n\x1b\x64\x65rivative_orders_to_cancel\x18\x06 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x18\x64\x65rivativeOrdersToCancel\x12^\n\x15spot_orders_to_create\x18\x07 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x01R\x12spotOrdersToCreate\x12p\n\x1b\x64\x65rivative_orders_to_create\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x18\x64\x65rivativeOrdersToCreate\x12q\n\x1f\x62inary_options_orders_to_cancel\x18\t \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x1b\x62inaryOptionsOrdersToCancel\x12R\n\'binary_options_market_ids_to_cancel_all\x18\n \x03(\tR!binaryOptionsMarketIdsToCancelAll\x12w\n\x1f\x62inary_options_orders_to_create\x18\x0b \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x1b\x62inaryOptionsOrdersToCreate:1\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x65xchange/MsgBatchUpdateOrders"\x88\x06\n\x1cMsgBatchUpdateOrdersResponse\x12.\n\x13spot_cancel_success\x18\x01 \x03(\x08R\x11spotCancelSuccess\x12:\n\x19\x64\x65rivative_cancel_success\x18\x02 \x03(\x08R\x17\x64\x65rivativeCancelSuccess\x12*\n\x11spot_order_hashes\x18\x03 \x03(\tR\x0fspotOrderHashes\x12\x36\n\x17\x64\x65rivative_order_hashes\x18\x04 \x03(\tR\x15\x64\x65rivativeOrderHashes\x12\x41\n\x1d\x62inary_options_cancel_success\x18\x05 \x03(\x08R\x1a\x62inaryOptionsCancelSuccess\x12=\n\x1b\x62inary_options_order_hashes\x18\x06 \x03(\tR\x18\x62inaryOptionsOrderHashes\x12\x37\n\x18\x63reated_spot_orders_cids\x18\x07 \x03(\tR\x15\x63reatedSpotOrdersCids\x12\x35\n\x17\x66\x61iled_spot_orders_cids\x18\x08 \x03(\tR\x14\x66\x61iledSpotOrdersCids\x12\x43\n\x1e\x63reated_derivative_orders_cids\x18\t \x03(\tR\x1b\x63reatedDerivativeOrdersCids\x12\x41\n\x1d\x66\x61iled_derivative_orders_cids\x18\n \x03(\tR\x1a\x66\x61iledDerivativeOrdersCids\x12J\n"created_binary_options_orders_cids\x18\x0b \x03(\tR\x1e\x63reatedBinaryOptionsOrdersCids\x12H\n!failed_binary_options_orders_cids\x18\x0c \x03(\tR\x1d\x66\x61iledBinaryOptionsOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xbe\x01\n\x1eMsgCreateDerivativeMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:;\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgCreateDerivativeMarketOrder"\xbd\x01\n&MsgCreateDerivativeMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12X\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xf0\x02\n\x1c\x44\x65rivativeMarketOrderResults\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x35\n\x03\x66\x65\x65\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12V\n\x0eposition_delta\x18\x04 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaB\x04\xc8\xde\x1f\x00R\rpositionDelta\x12;\n\x06payout\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xc4\x01\n!MsgCreateBinaryOptionsMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:>\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgCreateBinaryOptionsMarketOrder"\xc0\x01\n)MsgCreateBinaryOptionsMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12X\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xfb\x01\n\x18MsgCancelDerivativeOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x05 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id:5\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgCancelDerivativeOrder""\n MsgCancelDerivativeOrderResponse"\x81\x02\n\x1bMsgCancelBinaryOptionsOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x05 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id:8\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*$exchange/MsgCancelBinaryOptionsOrder"%\n#MsgCancelBinaryOptionsOrderResponse"\x9d\x01\n\tOrderData\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x04 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id"\xb6\x01\n\x1eMsgBatchCancelDerivativeOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:;\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgBatchCancelDerivativeOrders"L\n&MsgBatchCancelDerivativeOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x86\x02\n\x15MsgSubaccountTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x37\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgSubaccountTransfer"\x1f\n\x1dMsgSubaccountTransferResponse"\x82\x02\n\x13MsgExternalTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x37\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1c\x65xchange/MsgExternalTransfer"\x1d\n\x1bMsgExternalTransferResponse"\xe8\x01\n\x14MsgLiquidatePosition\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12G\n\x05order\x18\x04 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x05order:-\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x65xchange/MsgLiquidatePosition"\x1e\n\x1cMsgLiquidatePositionResponse"\xa7\x01\n\x18MsgEmergencySettleMarket\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId:1\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgEmergencySettleMarket""\n MsgEmergencySettleMarketResponse"\xaf\x02\n\x19MsgIncreasePositionMargin\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\x12;\n\x06\x61mount\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount:2\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*"exchange/MsgIncreasePositionMargin"#\n!MsgIncreasePositionMarginResponse"\xaf\x02\n\x19MsgDecreasePositionMargin\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\x12;\n\x06\x61mount\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount:2\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*"exchange/MsgDecreasePositionMargin"#\n!MsgDecreasePositionMarginResponse"\xca\x01\n\x1cMsgPrivilegedExecuteContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x14\n\x05\x66unds\x18\x02 \x01(\tR\x05\x66unds\x12)\n\x10\x63ontract_address\x18\x03 \x01(\tR\x0f\x63ontractAddress\x12\x12\n\x04\x64\x61ta\x18\x04 \x01(\tR\x04\x64\x61ta:=\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*%exchange/MsgPrivilegedExecuteContract"\xa7\x01\n$MsgPrivilegedExecuteContractResponse\x12j\n\nfunds_diff\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\tfundsDiff:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender"]\n\x10MsgRewardsOptOut\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19\x65xchange/MsgRewardsOptOut"\x1a\n\x18MsgRewardsOptOutResponse"\xaf\x01\n\x15MsgReclaimLockedFunds\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x13lockedAccountPubKey\x18\x02 \x01(\x0cR\x13lockedAccountPubKey\x12\x1c\n\tsignature\x18\x03 \x01(\x0cR\tsignature:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgReclaimLockedFunds"\x1f\n\x1dMsgReclaimLockedFundsResponse"\x80\x01\n\x0bMsgSignData\x12S\n\x06Signer\x18\x01 \x01(\x0c\x42;\xea\xde\x1f\x06signer\xfa\xde\x1f-github.com/cosmos/cosmos-sdk/types.AccAddressR\x06Signer\x12\x1c\n\x04\x44\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61taR\x04\x44\x61ta"x\n\nMsgSignDoc\x12%\n\tsign_type\x18\x01 \x01(\tB\x08\xea\xde\x1f\x04typeR\x08signType\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.MsgSignDataB\x04\xc8\xde\x1f\x00R\x05value"\x8c\x03\n!MsgAdminUpdateBinaryOptionsMarket\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x31\n\x14\x65xpiration_timestamp\x18\x04 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\x05 \x01(\x03R\x13settlementTimestamp\x12@\n\x06status\x18\x06 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status::\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgAdminUpdateBinaryOptionsMarket"+\n)MsgAdminUpdateBinaryOptionsMarketResponse"\xab\x01\n\x17MsgAuthorizeStakeGrants\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants:0\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* exchange/MsgAuthorizeStakeGrants"!\n\x1fMsgAuthorizeStakeGrantsResponse"y\n\x15MsgActivateStakeGrant\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgActivateStakeGrant"\x1f\n\x1dMsgActivateStakeGrantResponse2\xd0\'\n\x03Msg\x12\x61\n\x07\x44\x65posit\x12&.injective.exchange.v1beta1.MsgDeposit\x1a..injective.exchange.v1beta1.MsgDepositResponse\x12\x64\n\x08Withdraw\x12\'.injective.exchange.v1beta1.MsgWithdraw\x1a/.injective.exchange.v1beta1.MsgWithdrawResponse\x12\x91\x01\n\x17InstantSpotMarketLaunch\x12\x36.injective.exchange.v1beta1.MsgInstantSpotMarketLaunch\x1a>.injective.exchange.v1beta1.MsgInstantSpotMarketLaunchResponse\x12\xa0\x01\n\x1cInstantPerpetualMarketLaunch\x12;.injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch\x1a\x43.injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunchResponse\x12\xac\x01\n InstantExpiryFuturesMarketLaunch\x12?.injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch\x1aG.injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunchResponse\x12\x88\x01\n\x14\x43reateSpotLimitOrder\x12\x33.injective.exchange.v1beta1.MsgCreateSpotLimitOrder\x1a;.injective.exchange.v1beta1.MsgCreateSpotLimitOrderResponse\x12\x9a\x01\n\x1a\x42\x61tchCreateSpotLimitOrders\x12\x39.injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders\x1a\x41.injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrdersResponse\x12\x8b\x01\n\x15\x43reateSpotMarketOrder\x12\x34.injective.exchange.v1beta1.MsgCreateSpotMarketOrder\x1a<.injective.exchange.v1beta1.MsgCreateSpotMarketOrderResponse\x12y\n\x0f\x43\x61ncelSpotOrder\x12..injective.exchange.v1beta1.MsgCancelSpotOrder\x1a\x36.injective.exchange.v1beta1.MsgCancelSpotOrderResponse\x12\x8b\x01\n\x15\x42\x61tchCancelSpotOrders\x12\x34.injective.exchange.v1beta1.MsgBatchCancelSpotOrders\x1a<.injective.exchange.v1beta1.MsgBatchCancelSpotOrdersResponse\x12\x7f\n\x11\x42\x61tchUpdateOrders\x12\x30.injective.exchange.v1beta1.MsgBatchUpdateOrders\x1a\x38.injective.exchange.v1beta1.MsgBatchUpdateOrdersResponse\x12\x97\x01\n\x19PrivilegedExecuteContract\x12\x38.injective.exchange.v1beta1.MsgPrivilegedExecuteContract\x1a@.injective.exchange.v1beta1.MsgPrivilegedExecuteContractResponse\x12\x9a\x01\n\x1a\x43reateDerivativeLimitOrder\x12\x39.injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder\x1a\x41.injective.exchange.v1beta1.MsgCreateDerivativeLimitOrderResponse\x12\xac\x01\n BatchCreateDerivativeLimitOrders\x12?.injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders\x1aG.injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrdersResponse\x12\x9d\x01\n\x1b\x43reateDerivativeMarketOrder\x12:.injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder\x1a\x42.injective.exchange.v1beta1.MsgCreateDerivativeMarketOrderResponse\x12\x8b\x01\n\x15\x43\x61ncelDerivativeOrder\x12\x34.injective.exchange.v1beta1.MsgCancelDerivativeOrder\x1a<.injective.exchange.v1beta1.MsgCancelDerivativeOrderResponse\x12\x9d\x01\n\x1b\x42\x61tchCancelDerivativeOrders\x12:.injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders\x1a\x42.injective.exchange.v1beta1.MsgBatchCancelDerivativeOrdersResponse\x12\xac\x01\n InstantBinaryOptionsMarketLaunch\x12?.injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch\x1aG.injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunchResponse\x12\xa3\x01\n\x1d\x43reateBinaryOptionsLimitOrder\x12<.injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder\x1a\x44.injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrderResponse\x12\xa6\x01\n\x1e\x43reateBinaryOptionsMarketOrder\x12=.injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder\x1a\x45.injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrderResponse\x12\x94\x01\n\x18\x43\x61ncelBinaryOptionsOrder\x12\x37.injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder\x1a?.injective.exchange.v1beta1.MsgCancelBinaryOptionsOrderResponse\x12\xa6\x01\n\x1e\x42\x61tchCancelBinaryOptionsOrders\x12=.injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders\x1a\x45.injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrdersResponse\x12\x82\x01\n\x12SubaccountTransfer\x12\x31.injective.exchange.v1beta1.MsgSubaccountTransfer\x1a\x39.injective.exchange.v1beta1.MsgSubaccountTransferResponse\x12|\n\x10\x45xternalTransfer\x12/.injective.exchange.v1beta1.MsgExternalTransfer\x1a\x37.injective.exchange.v1beta1.MsgExternalTransferResponse\x12\x7f\n\x11LiquidatePosition\x12\x30.injective.exchange.v1beta1.MsgLiquidatePosition\x1a\x38.injective.exchange.v1beta1.MsgLiquidatePositionResponse\x12\x8b\x01\n\x15\x45mergencySettleMarket\x12\x34.injective.exchange.v1beta1.MsgEmergencySettleMarket\x1a<.injective.exchange.v1beta1.MsgEmergencySettleMarketResponse\x12\x8e\x01\n\x16IncreasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgIncreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgIncreasePositionMarginResponse\x12\x8e\x01\n\x16\x44\x65\x63reasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgDecreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgDecreasePositionMarginResponse\x12s\n\rRewardsOptOut\x12,.injective.exchange.v1beta1.MsgRewardsOptOut\x1a\x34.injective.exchange.v1beta1.MsgRewardsOptOutResponse\x12\xa6\x01\n\x1e\x41\x64minUpdateBinaryOptionsMarket\x12=.injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket\x1a\x45.injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarketResponse\x12p\n\x0cUpdateParams\x12+.injective.exchange.v1beta1.MsgUpdateParams\x1a\x33.injective.exchange.v1beta1.MsgUpdateParamsResponse\x12|\n\x10UpdateSpotMarket\x12/.injective.exchange.v1beta1.MsgUpdateSpotMarket\x1a\x37.injective.exchange.v1beta1.MsgUpdateSpotMarketResponse\x12\x8e\x01\n\x16UpdateDerivativeMarket\x12\x35.injective.exchange.v1beta1.MsgUpdateDerivativeMarket\x1a=.injective.exchange.v1beta1.MsgUpdateDerivativeMarketResponse\x12\x88\x01\n\x14\x41uthorizeStakeGrants\x12\x33.injective.exchange.v1beta1.MsgAuthorizeStakeGrants\x1a;.injective.exchange.v1beta1.MsgAuthorizeStakeGrantsResponse\x12\x82\x01\n\x12\x41\x63tivateStakeGrant\x12\x31.injective.exchange.v1beta1.MsgActivateStakeGrant\x1a\x39.injective.exchange.v1beta1.MsgActivateStakeGrantResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x83\x02\n\x1e\x63om.injective.exchange.v1beta1B\x07TxProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.exchange.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\007TxProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' - _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_price_tick_size']._loaded_options = None - _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_quantity_tick_size']._loaded_options = None - _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_notional']._loaded_options = None - _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGUPDATESPOTMARKET']._loaded_options = None - _globals['_MSGUPDATESPOTMARKET']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\005admin\212\347\260*\034exchange/MsgUpdateSpotMarket' - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_price_tick_size']._loaded_options = None - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_quantity_tick_size']._loaded_options = None - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_notional']._loaded_options = None - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_initial_margin_ratio']._loaded_options = None - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_maintenance_margin_ratio']._loaded_options = None - _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGUPDATEDERIVATIVEMARKET']._loaded_options = None - _globals['_MSGUPDATEDERIVATIVEMARKET']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\005admin\212\347\260*\"exchange/MsgUpdateDerivativeMarket' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\030exchange/MsgUpdateParams' - _globals['_MSGDEPOSIT'].fields_by_name['amount']._loaded_options = None - _globals['_MSGDEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_MSGDEPOSIT']._loaded_options = None - _globals['_MSGDEPOSIT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\023exchange/MsgDeposit' - _globals['_MSGWITHDRAW'].fields_by_name['amount']._loaded_options = None - _globals['_MSGWITHDRAW'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_MSGWITHDRAW']._loaded_options = None - _globals['_MSGWITHDRAW']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\024exchange/MsgWithdraw' - _globals['_MSGCREATESPOTLIMITORDER'].fields_by_name['order']._loaded_options = None - _globals['_MSGCREATESPOTLIMITORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_MSGCREATESPOTLIMITORDER']._loaded_options = None - _globals['_MSGCREATESPOTLIMITORDER']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260* exchange/MsgCreateSpotLimitOrder' - _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._loaded_options = None - _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGBATCHCREATESPOTLIMITORDERS'].fields_by_name['orders']._loaded_options = None - _globals['_MSGBATCHCREATESPOTLIMITORDERS'].fields_by_name['orders']._serialized_options = b'\310\336\037\000' - _globals['_MSGBATCHCREATESPOTLIMITORDERS']._loaded_options = None - _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*&exchange/MsgBatchCreateSpotLimitOrders' - _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._loaded_options = None - _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_notional']._loaded_options = None - _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTSPOTMARKETLAUNCH']._loaded_options = None - _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*#exchange/MsgInstantSpotMarketLaunch' - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['initial_margin_ratio']._loaded_options = None - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['maintenance_margin_ratio']._loaded_options = None - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_notional']._loaded_options = None - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._loaded_options = None - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*(exchange/MsgInstantPerpetualMarketLaunch' - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_notional']._loaded_options = None - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._loaded_options = None - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgInstantBinaryOptionsMarketLaunch' - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['maker_fee_rate']._loaded_options = None - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['taker_fee_rate']._loaded_options = None - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['initial_margin_ratio']._loaded_options = None - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['maintenance_margin_ratio']._loaded_options = None - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_price_tick_size']._loaded_options = None - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._loaded_options = None - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_notional']._loaded_options = None - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._loaded_options = None - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgInstantExpiryFuturesMarketLaunch' - _globals['_MSGCREATESPOTMARKETORDER'].fields_by_name['order']._loaded_options = None - _globals['_MSGCREATESPOTMARKETORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_MSGCREATESPOTMARKETORDER']._loaded_options = None - _globals['_MSGCREATESPOTMARKETORDER']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgCreateSpotMarketOrder' - _globals['_MSGCREATESPOTMARKETORDERRESPONSE'].fields_by_name['results']._loaded_options = None - _globals['_MSGCREATESPOTMARKETORDERRESPONSE'].fields_by_name['results']._serialized_options = b'\310\336\037\001' - _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._loaded_options = None - _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['quantity']._loaded_options = None - _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['price']._loaded_options = None - _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['fee']._loaded_options = None - _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTMARKETORDERRESULTS']._loaded_options = None - _globals['_SPOTMARKETORDERRESULTS']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGCREATEDERIVATIVELIMITORDER'].fields_by_name['order']._loaded_options = None - _globals['_MSGCREATEDERIVATIVELIMITORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_MSGCREATEDERIVATIVELIMITORDER']._loaded_options = None - _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*&exchange/MsgCreateDerivativeLimitOrder' - _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._loaded_options = None - _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGCREATEBINARYOPTIONSLIMITORDER'].fields_by_name['order']._loaded_options = None - _globals['_MSGCREATEBINARYOPTIONSLIMITORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._loaded_options = None - _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*)exchange/MsgCreateBinaryOptionsLimitOrder' - _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._loaded_options = None - _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS'].fields_by_name['orders']._loaded_options = None - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS'].fields_by_name['orders']._serialized_options = b'\310\336\037\000' - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._loaded_options = None - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgBatchCreateDerivativeLimitOrders' - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._loaded_options = None - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGCANCELSPOTORDER']._loaded_options = None - _globals['_MSGCANCELSPOTORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\033exchange/MsgCancelSpotOrder' - _globals['_MSGBATCHCANCELSPOTORDERS'].fields_by_name['data']._loaded_options = None - _globals['_MSGBATCHCANCELSPOTORDERS'].fields_by_name['data']._serialized_options = b'\310\336\037\000' - _globals['_MSGBATCHCANCELSPOTORDERS']._loaded_options = None - _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgBatchCancelSpotOrders' - _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._loaded_options = None - _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS'].fields_by_name['data']._loaded_options = None - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS'].fields_by_name['data']._serialized_options = b'\310\336\037\000' - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._loaded_options = None - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260**exchange/MsgBatchCancelBinaryOptionsOrders' - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._loaded_options = None - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['spot_orders_to_cancel']._loaded_options = None - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['spot_orders_to_cancel']._serialized_options = b'\310\336\037\001' - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['derivative_orders_to_cancel']._loaded_options = None - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['derivative_orders_to_cancel']._serialized_options = b'\310\336\037\001' - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['spot_orders_to_create']._loaded_options = None - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['spot_orders_to_create']._serialized_options = b'\310\336\037\001' - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['derivative_orders_to_create']._loaded_options = None - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['derivative_orders_to_create']._serialized_options = b'\310\336\037\001' - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['binary_options_orders_to_cancel']._loaded_options = None - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['binary_options_orders_to_cancel']._serialized_options = b'\310\336\037\001' - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['binary_options_orders_to_create']._loaded_options = None - _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['binary_options_orders_to_create']._serialized_options = b'\310\336\037\001' - _globals['_MSGBATCHUPDATEORDERS']._loaded_options = None - _globals['_MSGBATCHUPDATEORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\035exchange/MsgBatchUpdateOrders' - _globals['_MSGBATCHUPDATEORDERSRESPONSE']._loaded_options = None - _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGCREATEDERIVATIVEMARKETORDER'].fields_by_name['order']._loaded_options = None - _globals['_MSGCREATEDERIVATIVEMARKETORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_MSGCREATEDERIVATIVEMARKETORDER']._loaded_options = None - _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\'exchange/MsgCreateDerivativeMarketOrder' - _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE'].fields_by_name['results']._loaded_options = None - _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE'].fields_by_name['results']._serialized_options = b'\310\336\037\001' - _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._loaded_options = None - _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['quantity']._loaded_options = None - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['price']._loaded_options = None - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['fee']._loaded_options = None - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['position_delta']._loaded_options = None - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['position_delta']._serialized_options = b'\310\336\037\000' - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['payout']._loaded_options = None - _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVEMARKETORDERRESULTS']._loaded_options = None - _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGCREATEBINARYOPTIONSMARKETORDER'].fields_by_name['order']._loaded_options = None - _globals['_MSGCREATEBINARYOPTIONSMARKETORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._loaded_options = None - _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260**exchange/MsgCreateBinaryOptionsMarketOrder' - _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE'].fields_by_name['results']._loaded_options = None - _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE'].fields_by_name['results']._serialized_options = b'\310\336\037\001' - _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._loaded_options = None - _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGCANCELDERIVATIVEORDER']._loaded_options = None - _globals['_MSGCANCELDERIVATIVEORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgCancelDerivativeOrder' - _globals['_MSGCANCELBINARYOPTIONSORDER']._loaded_options = None - _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*$exchange/MsgCancelBinaryOptionsOrder' - _globals['_MSGBATCHCANCELDERIVATIVEORDERS'].fields_by_name['data']._loaded_options = None - _globals['_MSGBATCHCANCELDERIVATIVEORDERS'].fields_by_name['data']._serialized_options = b'\310\336\037\000' - _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._loaded_options = None - _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\'exchange/MsgBatchCancelDerivativeOrders' - _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._loaded_options = None - _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' - _globals['_MSGSUBACCOUNTTRANSFER'].fields_by_name['amount']._loaded_options = None - _globals['_MSGSUBACCOUNTTRANSFER'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_MSGSUBACCOUNTTRANSFER']._loaded_options = None - _globals['_MSGSUBACCOUNTTRANSFER']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036exchange/MsgSubaccountTransfer' - _globals['_MSGEXTERNALTRANSFER'].fields_by_name['amount']._loaded_options = None - _globals['_MSGEXTERNALTRANSFER'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_MSGEXTERNALTRANSFER']._loaded_options = None - _globals['_MSGEXTERNALTRANSFER']._serialized_options = b'\202\347\260*\006sender\212\347\260*\034exchange/MsgExternalTransfer' - _globals['_MSGLIQUIDATEPOSITION'].fields_by_name['order']._loaded_options = None - _globals['_MSGLIQUIDATEPOSITION'].fields_by_name['order']._serialized_options = b'\310\336\037\001' - _globals['_MSGLIQUIDATEPOSITION']._loaded_options = None - _globals['_MSGLIQUIDATEPOSITION']._serialized_options = b'\202\347\260*\006sender\212\347\260*\035exchange/MsgLiquidatePosition' - _globals['_MSGEMERGENCYSETTLEMARKET']._loaded_options = None - _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_options = b'\202\347\260*\006sender\212\347\260*!exchange/MsgEmergencySettleMarket' - _globals['_MSGINCREASEPOSITIONMARGIN'].fields_by_name['amount']._loaded_options = None - _globals['_MSGINCREASEPOSITIONMARGIN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGINCREASEPOSITIONMARGIN']._loaded_options = None - _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\"exchange/MsgIncreasePositionMargin' - _globals['_MSGDECREASEPOSITIONMARGIN'].fields_by_name['amount']._loaded_options = None - _globals['_MSGDECREASEPOSITIONMARGIN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGDECREASEPOSITIONMARGIN']._loaded_options = None - _globals['_MSGDECREASEPOSITIONMARGIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\"exchange/MsgDecreasePositionMargin' - _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._loaded_options = None - _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*%exchange/MsgPrivilegedExecuteContract' - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE'].fields_by_name['funds_diff']._loaded_options = None - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE'].fields_by_name['funds_diff']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._loaded_options = None - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' - _globals['_MSGREWARDSOPTOUT']._loaded_options = None - _globals['_MSGREWARDSOPTOUT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\031exchange/MsgRewardsOptOut' - _globals['_MSGRECLAIMLOCKEDFUNDS']._loaded_options = None - _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036exchange/MsgReclaimLockedFunds' - _globals['_MSGSIGNDATA'].fields_by_name['Signer']._loaded_options = None - _globals['_MSGSIGNDATA'].fields_by_name['Signer']._serialized_options = b'\352\336\037\006signer\372\336\037-github.com/cosmos/cosmos-sdk/types.AccAddress' - _globals['_MSGSIGNDATA'].fields_by_name['Data']._loaded_options = None - _globals['_MSGSIGNDATA'].fields_by_name['Data']._serialized_options = b'\352\336\037\004data' - _globals['_MSGSIGNDOC'].fields_by_name['sign_type']._loaded_options = None - _globals['_MSGSIGNDOC'].fields_by_name['sign_type']._serialized_options = b'\352\336\037\004type' - _globals['_MSGSIGNDOC'].fields_by_name['value']._loaded_options = None - _globals['_MSGSIGNDOC'].fields_by_name['value']._serialized_options = b'\310\336\037\000' - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET'].fields_by_name['settlement_price']._loaded_options = None - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._loaded_options = None - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_options = b'\202\347\260*\006sender\212\347\260**exchange/MsgAdminUpdateBinaryOptionsMarket' - _globals['_MSGAUTHORIZESTAKEGRANTS']._loaded_options = None - _globals['_MSGAUTHORIZESTAKEGRANTS']._serialized_options = b'\202\347\260*\006sender\212\347\260* exchange/MsgAuthorizeStakeGrants' - _globals['_MSGACTIVATESTAKEGRANT']._loaded_options = None - _globals['_MSGACTIVATESTAKEGRANT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036exchange/MsgActivateStakeGrant' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGUPDATESPOTMARKET']._serialized_start=323 - _globals['_MSGUPDATESPOTMARKET']._serialized_end=746 - _globals['_MSGUPDATESPOTMARKETRESPONSE']._serialized_start=748 - _globals['_MSGUPDATESPOTMARKETRESPONSE']._serialized_end=777 - _globals['_MSGUPDATEDERIVATIVEMARKET']._serialized_start=780 - _globals['_MSGUPDATEDERIVATIVEMARKET']._serialized_end=1411 - _globals['_MSGUPDATEDERIVATIVEMARKETRESPONSE']._serialized_start=1413 - _globals['_MSGUPDATEDERIVATIVEMARKETRESPONSE']._serialized_end=1448 - _globals['_MSGUPDATEPARAMS']._serialized_start=1451 - _globals['_MSGUPDATEPARAMS']._serialized_end=1635 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1637 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1662 - _globals['_MSGDEPOSIT']._serialized_start=1665 - _globals['_MSGDEPOSIT']._serialized_end=1840 - _globals['_MSGDEPOSITRESPONSE']._serialized_start=1842 - _globals['_MSGDEPOSITRESPONSE']._serialized_end=1862 - _globals['_MSGWITHDRAW']._serialized_start=1865 - _globals['_MSGWITHDRAW']._serialized_end=2042 - _globals['_MSGWITHDRAWRESPONSE']._serialized_start=2044 - _globals['_MSGWITHDRAWRESPONSE']._serialized_end=2065 - _globals['_MSGCREATESPOTLIMITORDER']._serialized_start=2068 - _globals['_MSGCREATESPOTLIMITORDER']._serialized_end=2242 - _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_start=2244 - _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_end=2336 - _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_start=2339 - _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_end=2527 - _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_start=2530 - _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_end=2708 - _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_start=2711 - _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_end=3158 - _globals['_MSGINSTANTSPOTMARKETLAUNCHRESPONSE']._serialized_start=3160 - _globals['_MSGINSTANTSPOTMARKETLAUNCHRESPONSE']._serialized_end=3196 - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_start=3199 - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_end=4144 - _globals['_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE']._serialized_start=4146 - _globals['_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE']._serialized_end=4187 - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_start=4190 - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_end=5095 - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_start=5097 - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_end=5142 - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_start=5145 - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_end=6122 - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_start=6124 - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_end=6169 - _globals['_MSGCREATESPOTMARKETORDER']._serialized_start=6172 - _globals['_MSGCREATESPOTMARKETORDER']._serialized_end=6348 - _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_start=6351 - _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_end=6528 - _globals['_SPOTMARKETORDERRESULTS']._serialized_start=6531 - _globals['_SPOTMARKETORDERRESULTS']._serialized_end=6744 - _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_start=6747 - _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_end=6935 - _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_start=6937 - _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_end=7035 - _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_start=7038 - _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_end=7232 - _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_start=7234 - _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_end=7335 - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_start=7338 - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_end=7540 - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_start=7543 - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_end=7727 - _globals['_MSGCANCELSPOTORDER']._serialized_start=7730 - _globals['_MSGCANCELSPOTORDER']._serialized_end=7938 - _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_start=7940 - _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_end=7968 - _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_start=7971 - _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_end=8141 - _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_start=8143 - _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_end=8213 - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_start=8216 - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_end=8404 - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_start=8406 - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_end=8485 - _globals['_MSGBATCHUPDATEORDERS']._serialized_start=8488 - _globals['_MSGBATCHUPDATEORDERS']._serialized_end=9498 - _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_start=9501 - _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_end=10277 - _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_start=10280 - _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_end=10470 - _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_start=10473 - _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_end=10662 - _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_start=10665 - _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_end=11033 - _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_start=11036 - _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_end=11232 - _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_start=11235 - _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_end=11427 - _globals['_MSGCANCELDERIVATIVEORDER']._serialized_start=11430 - _globals['_MSGCANCELDERIVATIVEORDER']._serialized_end=11681 - _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_start=11683 - _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_end=11717 - _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_start=11720 - _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_end=11977 - _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_start=11979 - _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_end=12016 - _globals['_ORDERDATA']._serialized_start=12019 - _globals['_ORDERDATA']._serialized_end=12176 - _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_start=12179 - _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_end=12361 - _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_start=12363 - _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_end=12439 - _globals['_MSGSUBACCOUNTTRANSFER']._serialized_start=12442 - _globals['_MSGSUBACCOUNTTRANSFER']._serialized_end=12704 - _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_start=12706 - _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_end=12737 - _globals['_MSGEXTERNALTRANSFER']._serialized_start=12740 - _globals['_MSGEXTERNALTRANSFER']._serialized_end=12998 - _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_start=13000 - _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_end=13029 - _globals['_MSGLIQUIDATEPOSITION']._serialized_start=13032 - _globals['_MSGLIQUIDATEPOSITION']._serialized_end=13264 - _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_start=13266 - _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_end=13296 - _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_start=13299 - _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_end=13466 - _globals['_MSGEMERGENCYSETTLEMARKETRESPONSE']._serialized_start=13468 - _globals['_MSGEMERGENCYSETTLEMARKETRESPONSE']._serialized_end=13502 - _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_start=13505 - _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_end=13808 - _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_start=13810 - _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_end=13845 - _globals['_MSGDECREASEPOSITIONMARGIN']._serialized_start=13848 - _globals['_MSGDECREASEPOSITIONMARGIN']._serialized_end=14151 - _globals['_MSGDECREASEPOSITIONMARGINRESPONSE']._serialized_start=14153 - _globals['_MSGDECREASEPOSITIONMARGINRESPONSE']._serialized_end=14188 - _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_start=14191 - _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_end=14393 - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_start=14396 - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_end=14563 - _globals['_MSGREWARDSOPTOUT']._serialized_start=14565 - _globals['_MSGREWARDSOPTOUT']._serialized_end=14658 - _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_start=14660 - _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_end=14686 - _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_start=14689 - _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_end=14864 - _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_start=14866 - _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_end=14897 - _globals['_MSGSIGNDATA']._serialized_start=14900 - _globals['_MSGSIGNDATA']._serialized_end=15028 - _globals['_MSGSIGNDOC']._serialized_start=15030 - _globals['_MSGSIGNDOC']._serialized_end=15150 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_start=15153 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_end=15549 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_start=15551 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_end=15594 - _globals['_MSGAUTHORIZESTAKEGRANTS']._serialized_start=15597 - _globals['_MSGAUTHORIZESTAKEGRANTS']._serialized_end=15768 - _globals['_MSGAUTHORIZESTAKEGRANTSRESPONSE']._serialized_start=15770 - _globals['_MSGAUTHORIZESTAKEGRANTSRESPONSE']._serialized_end=15803 - _globals['_MSGACTIVATESTAKEGRANT']._serialized_start=15805 - _globals['_MSGACTIVATESTAKEGRANT']._serialized_end=15926 - _globals['_MSGACTIVATESTAKEGRANTRESPONSE']._serialized_start=15928 - _globals['_MSGACTIVATESTAKEGRANTRESPONSE']._serialized_end=15959 - _globals['_MSG']._serialized_start=15962 - _globals['_MSG']._serialized_end=21034 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\036com.injective.exchange.v1beta1B\007TxProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1" + ) + _globals["_MSGUPDATESPOTMARKET"].fields_by_name["new_min_price_tick_size"]._loaded_options = None + _globals["_MSGUPDATESPOTMARKET"].fields_by_name[ + "new_min_price_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGUPDATESPOTMARKET"].fields_by_name["new_min_quantity_tick_size"]._loaded_options = None + _globals["_MSGUPDATESPOTMARKET"].fields_by_name[ + "new_min_quantity_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGUPDATESPOTMARKET"].fields_by_name["new_min_notional"]._loaded_options = None + _globals["_MSGUPDATESPOTMARKET"].fields_by_name[ + "new_min_notional" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGUPDATESPOTMARKET"]._loaded_options = None + _globals["_MSGUPDATESPOTMARKET"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\005admin\212\347\260*\034exchange/MsgUpdateSpotMarket" + ) + _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name["new_min_price_tick_size"]._loaded_options = None + _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name[ + "new_min_price_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name["new_min_quantity_tick_size"]._loaded_options = None + _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name[ + "new_min_quantity_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name["new_min_notional"]._loaded_options = None + _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name[ + "new_min_notional" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name["new_initial_margin_ratio"]._loaded_options = None + _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name[ + "new_initial_margin_ratio" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name["new_maintenance_margin_ratio"]._loaded_options = None + _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name[ + "new_maintenance_margin_ratio" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGUPDATEDERIVATIVEMARKET"]._loaded_options = None + _globals["_MSGUPDATEDERIVATIVEMARKET"]._serialized_options = ( + b'\210\240\037\000\350\240\037\000\202\347\260*\005admin\212\347\260*"exchange/MsgUpdateDerivativeMarket' + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*\030exchange/MsgUpdateParams" + ) + _globals["_MSGDEPOSIT"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGDEPOSIT"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" + _globals["_MSGDEPOSIT"]._loaded_options = None + _globals["_MSGDEPOSIT"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\023exchange/MsgDeposit" + ) + _globals["_MSGWITHDRAW"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGWITHDRAW"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" + _globals["_MSGWITHDRAW"]._loaded_options = None + _globals["_MSGWITHDRAW"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\024exchange/MsgWithdraw" + ) + _globals["_MSGCREATESPOTLIMITORDER"].fields_by_name["order"]._loaded_options = None + _globals["_MSGCREATESPOTLIMITORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCREATESPOTLIMITORDER"]._loaded_options = None + _globals["_MSGCREATESPOTLIMITORDER"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260* exchange/MsgCreateSpotLimitOrder" + ) + _globals["_MSGCREATESPOTLIMITORDERRESPONSE"]._loaded_options = None + _globals["_MSGCREATESPOTLIMITORDERRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_MSGBATCHCREATESPOTLIMITORDERS"].fields_by_name["orders"]._loaded_options = None + _globals["_MSGBATCHCREATESPOTLIMITORDERS"].fields_by_name["orders"]._serialized_options = b"\310\336\037\000" + _globals["_MSGBATCHCREATESPOTLIMITORDERS"]._loaded_options = None + _globals["_MSGBATCHCREATESPOTLIMITORDERS"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*&exchange/MsgBatchCreateSpotLimitOrders" + ) + _globals["_MSGBATCHCREATESPOTLIMITORDERSRESPONSE"]._loaded_options = None + _globals["_MSGBATCHCREATESPOTLIMITORDERSRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_MSGINSTANTSPOTMARKETLAUNCH"].fields_by_name["min_price_tick_size"]._loaded_options = None + _globals["_MSGINSTANTSPOTMARKETLAUNCH"].fields_by_name[ + "min_price_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTSPOTMARKETLAUNCH"].fields_by_name["min_quantity_tick_size"]._loaded_options = None + _globals["_MSGINSTANTSPOTMARKETLAUNCH"].fields_by_name[ + "min_quantity_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTSPOTMARKETLAUNCH"].fields_by_name["min_notional"]._loaded_options = None + _globals["_MSGINSTANTSPOTMARKETLAUNCH"].fields_by_name[ + "min_notional" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTSPOTMARKETLAUNCH"]._loaded_options = None + _globals["_MSGINSTANTSPOTMARKETLAUNCH"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*#exchange/MsgInstantSpotMarketLaunch" + ) + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name["maker_fee_rate"]._loaded_options = None + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name[ + "maker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name["taker_fee_rate"]._loaded_options = None + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name[ + "taker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name["initial_margin_ratio"]._loaded_options = None + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name[ + "initial_margin_ratio" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name["maintenance_margin_ratio"]._loaded_options = None + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name[ + "maintenance_margin_ratio" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name["min_price_tick_size"]._loaded_options = None + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name[ + "min_price_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name["min_quantity_tick_size"]._loaded_options = None + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name[ + "min_quantity_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name["min_notional"]._loaded_options = None + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name[ + "min_notional" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"]._loaded_options = None + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*(exchange/MsgInstantPerpetualMarketLaunch" + ) + _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name["maker_fee_rate"]._loaded_options = None + _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name[ + "maker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name["taker_fee_rate"]._loaded_options = None + _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name[ + "taker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name["min_price_tick_size"]._loaded_options = None + _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name[ + "min_price_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name["min_quantity_tick_size"]._loaded_options = None + _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name[ + "min_quantity_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name["min_notional"]._loaded_options = None + _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name[ + "min_notional" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"]._loaded_options = None + _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgInstantBinaryOptionsMarketLaunch" + ) + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name["maker_fee_rate"]._loaded_options = None + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name[ + "maker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name["taker_fee_rate"]._loaded_options = None + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name[ + "taker_fee_rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name["initial_margin_ratio"]._loaded_options = None + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name[ + "initial_margin_ratio" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name["maintenance_margin_ratio"]._loaded_options = None + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name[ + "maintenance_margin_ratio" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name["min_price_tick_size"]._loaded_options = None + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name[ + "min_price_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name["min_quantity_tick_size"]._loaded_options = None + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name[ + "min_quantity_tick_size" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name["min_notional"]._loaded_options = None + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name[ + "min_notional" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"]._loaded_options = None + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgInstantExpiryFuturesMarketLaunch" + ) + _globals["_MSGCREATESPOTMARKETORDER"].fields_by_name["order"]._loaded_options = None + _globals["_MSGCREATESPOTMARKETORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCREATESPOTMARKETORDER"]._loaded_options = None + _globals["_MSGCREATESPOTMARKETORDER"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgCreateSpotMarketOrder" + ) + _globals["_MSGCREATESPOTMARKETORDERRESPONSE"].fields_by_name["results"]._loaded_options = None + _globals["_MSGCREATESPOTMARKETORDERRESPONSE"].fields_by_name["results"]._serialized_options = b"\310\336\037\001" + _globals["_MSGCREATESPOTMARKETORDERRESPONSE"]._loaded_options = None + _globals["_MSGCREATESPOTMARKETORDERRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_SPOTMARKETORDERRESULTS"].fields_by_name["quantity"]._loaded_options = None + _globals["_SPOTMARKETORDERRESULTS"].fields_by_name[ + "quantity" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKETORDERRESULTS"].fields_by_name["price"]._loaded_options = None + _globals["_SPOTMARKETORDERRESULTS"].fields_by_name[ + "price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKETORDERRESULTS"].fields_by_name["fee"]._loaded_options = None + _globals["_SPOTMARKETORDERRESULTS"].fields_by_name[ + "fee" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTMARKETORDERRESULTS"]._loaded_options = None + _globals["_SPOTMARKETORDERRESULTS"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_MSGCREATEDERIVATIVELIMITORDER"].fields_by_name["order"]._loaded_options = None + _globals["_MSGCREATEDERIVATIVELIMITORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCREATEDERIVATIVELIMITORDER"]._loaded_options = None + _globals["_MSGCREATEDERIVATIVELIMITORDER"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\006sender\212\347\260*&exchange/MsgCreateDerivativeLimitOrder" + ) + _globals["_MSGCREATEDERIVATIVELIMITORDERRESPONSE"]._loaded_options = None + _globals["_MSGCREATEDERIVATIVELIMITORDERRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_MSGCREATEBINARYOPTIONSLIMITORDER"].fields_by_name["order"]._loaded_options = None + _globals["_MSGCREATEBINARYOPTIONSLIMITORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCREATEBINARYOPTIONSLIMITORDER"]._loaded_options = None + _globals["_MSGCREATEBINARYOPTIONSLIMITORDER"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\006sender\212\347\260*)exchange/MsgCreateBinaryOptionsLimitOrder" + ) + _globals["_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE"]._loaded_options = None + _globals["_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERS"].fields_by_name["orders"]._loaded_options = None + _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERS"].fields_by_name["orders"]._serialized_options = b"\310\336\037\000" + _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERS"]._loaded_options = None + _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERS"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgBatchCreateDerivativeLimitOrders" + ) + _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE"]._loaded_options = None + _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_MSGCANCELSPOTORDER"]._loaded_options = None + _globals["_MSGCANCELSPOTORDER"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\006sender\212\347\260*\033exchange/MsgCancelSpotOrder" + ) + _globals["_MSGBATCHCANCELSPOTORDERS"].fields_by_name["data"]._loaded_options = None + _globals["_MSGBATCHCANCELSPOTORDERS"].fields_by_name["data"]._serialized_options = b"\310\336\037\000" + _globals["_MSGBATCHCANCELSPOTORDERS"]._loaded_options = None + _globals["_MSGBATCHCANCELSPOTORDERS"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgBatchCancelSpotOrders" + ) + _globals["_MSGBATCHCANCELSPOTORDERSRESPONSE"]._loaded_options = None + _globals["_MSGBATCHCANCELSPOTORDERSRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_MSGBATCHCANCELBINARYOPTIONSORDERS"].fields_by_name["data"]._loaded_options = None + _globals["_MSGBATCHCANCELBINARYOPTIONSORDERS"].fields_by_name["data"]._serialized_options = b"\310\336\037\000" + _globals["_MSGBATCHCANCELBINARYOPTIONSORDERS"]._loaded_options = None + _globals["_MSGBATCHCANCELBINARYOPTIONSORDERS"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\006sender\212\347\260**exchange/MsgBatchCancelBinaryOptionsOrders" + ) + _globals["_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE"]._loaded_options = None + _globals["_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_MSGBATCHUPDATEORDERS"].fields_by_name["spot_orders_to_cancel"]._loaded_options = None + _globals["_MSGBATCHUPDATEORDERS"].fields_by_name["spot_orders_to_cancel"]._serialized_options = b"\310\336\037\001" + _globals["_MSGBATCHUPDATEORDERS"].fields_by_name["derivative_orders_to_cancel"]._loaded_options = None + _globals["_MSGBATCHUPDATEORDERS"].fields_by_name[ + "derivative_orders_to_cancel" + ]._serialized_options = b"\310\336\037\001" + _globals["_MSGBATCHUPDATEORDERS"].fields_by_name["spot_orders_to_create"]._loaded_options = None + _globals["_MSGBATCHUPDATEORDERS"].fields_by_name["spot_orders_to_create"]._serialized_options = b"\310\336\037\001" + _globals["_MSGBATCHUPDATEORDERS"].fields_by_name["derivative_orders_to_create"]._loaded_options = None + _globals["_MSGBATCHUPDATEORDERS"].fields_by_name[ + "derivative_orders_to_create" + ]._serialized_options = b"\310\336\037\001" + _globals["_MSGBATCHUPDATEORDERS"].fields_by_name["binary_options_orders_to_cancel"]._loaded_options = None + _globals["_MSGBATCHUPDATEORDERS"].fields_by_name[ + "binary_options_orders_to_cancel" + ]._serialized_options = b"\310\336\037\001" + _globals["_MSGBATCHUPDATEORDERS"].fields_by_name["binary_options_orders_to_create"]._loaded_options = None + _globals["_MSGBATCHUPDATEORDERS"].fields_by_name[ + "binary_options_orders_to_create" + ]._serialized_options = b"\310\336\037\001" + _globals["_MSGBATCHUPDATEORDERS"]._loaded_options = None + _globals["_MSGBATCHUPDATEORDERS"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\006sender\212\347\260*\035exchange/MsgBatchUpdateOrders" + ) + _globals["_MSGBATCHUPDATEORDERSRESPONSE"]._loaded_options = None + _globals["_MSGBATCHUPDATEORDERSRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_MSGCREATEDERIVATIVEMARKETORDER"].fields_by_name["order"]._loaded_options = None + _globals["_MSGCREATEDERIVATIVEMARKETORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCREATEDERIVATIVEMARKETORDER"]._loaded_options = None + _globals["_MSGCREATEDERIVATIVEMARKETORDER"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\006sender\212\347\260*'exchange/MsgCreateDerivativeMarketOrder" + ) + _globals["_MSGCREATEDERIVATIVEMARKETORDERRESPONSE"].fields_by_name["results"]._loaded_options = None + _globals["_MSGCREATEDERIVATIVEMARKETORDERRESPONSE"].fields_by_name[ + "results" + ]._serialized_options = b"\310\336\037\001" + _globals["_MSGCREATEDERIVATIVEMARKETORDERRESPONSE"]._loaded_options = None + _globals["_MSGCREATEDERIVATIVEMARKETORDERRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name["quantity"]._loaded_options = None + _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name[ + "quantity" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name["price"]._loaded_options = None + _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name[ + "price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name["fee"]._loaded_options = None + _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name[ + "fee" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name["position_delta"]._loaded_options = None + _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name["position_delta"]._serialized_options = b"\310\336\037\000" + _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name["payout"]._loaded_options = None + _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name[ + "payout" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVEMARKETORDERRESULTS"]._loaded_options = None + _globals["_DERIVATIVEMARKETORDERRESULTS"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_MSGCREATEBINARYOPTIONSMARKETORDER"].fields_by_name["order"]._loaded_options = None + _globals["_MSGCREATEBINARYOPTIONSMARKETORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCREATEBINARYOPTIONSMARKETORDER"]._loaded_options = None + _globals["_MSGCREATEBINARYOPTIONSMARKETORDER"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\006sender\212\347\260**exchange/MsgCreateBinaryOptionsMarketOrder" + ) + _globals["_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE"].fields_by_name["results"]._loaded_options = None + _globals["_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE"].fields_by_name[ + "results" + ]._serialized_options = b"\310\336\037\001" + _globals["_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE"]._loaded_options = None + _globals["_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_MSGCANCELDERIVATIVEORDER"]._loaded_options = None + _globals["_MSGCANCELDERIVATIVEORDER"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgCancelDerivativeOrder" + ) + _globals["_MSGCANCELBINARYOPTIONSORDER"]._loaded_options = None + _globals["_MSGCANCELBINARYOPTIONSORDER"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\006sender\212\347\260*$exchange/MsgCancelBinaryOptionsOrder" + ) + _globals["_MSGBATCHCANCELDERIVATIVEORDERS"].fields_by_name["data"]._loaded_options = None + _globals["_MSGBATCHCANCELDERIVATIVEORDERS"].fields_by_name["data"]._serialized_options = b"\310\336\037\000" + _globals["_MSGBATCHCANCELDERIVATIVEORDERS"]._loaded_options = None + _globals["_MSGBATCHCANCELDERIVATIVEORDERS"]._serialized_options = ( + b"\210\240\037\000\202\347\260*\006sender\212\347\260*'exchange/MsgBatchCancelDerivativeOrders" + ) + _globals["_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE"]._loaded_options = None + _globals["_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" + _globals["_MSGSUBACCOUNTTRANSFER"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGSUBACCOUNTTRANSFER"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" + _globals["_MSGSUBACCOUNTTRANSFER"]._loaded_options = None + _globals["_MSGSUBACCOUNTTRANSFER"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\036exchange/MsgSubaccountTransfer" + ) + _globals["_MSGEXTERNALTRANSFER"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGEXTERNALTRANSFER"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" + _globals["_MSGEXTERNALTRANSFER"]._loaded_options = None + _globals["_MSGEXTERNALTRANSFER"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\034exchange/MsgExternalTransfer" + ) + _globals["_MSGLIQUIDATEPOSITION"].fields_by_name["order"]._loaded_options = None + _globals["_MSGLIQUIDATEPOSITION"].fields_by_name["order"]._serialized_options = b"\310\336\037\001" + _globals["_MSGLIQUIDATEPOSITION"]._loaded_options = None + _globals["_MSGLIQUIDATEPOSITION"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\035exchange/MsgLiquidatePosition" + ) + _globals["_MSGEMERGENCYSETTLEMARKET"]._loaded_options = None + _globals["_MSGEMERGENCYSETTLEMARKET"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*!exchange/MsgEmergencySettleMarket" + ) + _globals["_MSGINCREASEPOSITIONMARGIN"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGINCREASEPOSITIONMARGIN"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGINCREASEPOSITIONMARGIN"]._loaded_options = None + _globals["_MSGINCREASEPOSITIONMARGIN"]._serialized_options = ( + b'\202\347\260*\006sender\212\347\260*"exchange/MsgIncreasePositionMargin' + ) + _globals["_MSGDECREASEPOSITIONMARGIN"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGDECREASEPOSITIONMARGIN"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGDECREASEPOSITIONMARGIN"]._loaded_options = None + _globals["_MSGDECREASEPOSITIONMARGIN"]._serialized_options = ( + b'\202\347\260*\006sender\212\347\260*"exchange/MsgDecreasePositionMargin' + ) + _globals["_MSGPRIVILEGEDEXECUTECONTRACT"]._loaded_options = None + _globals["_MSGPRIVILEGEDEXECUTECONTRACT"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*%exchange/MsgPrivilegedExecuteContract" + ) + _globals["_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE"].fields_by_name["funds_diff"]._loaded_options = None + _globals["_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE"].fields_by_name[ + "funds_diff" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" + _globals["_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE"]._loaded_options = None + _globals["_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender" + ) + _globals["_MSGREWARDSOPTOUT"]._loaded_options = None + _globals["_MSGREWARDSOPTOUT"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\031exchange/MsgRewardsOptOut" + ) + _globals["_MSGRECLAIMLOCKEDFUNDS"]._loaded_options = None + _globals["_MSGRECLAIMLOCKEDFUNDS"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\036exchange/MsgReclaimLockedFunds" + ) + _globals["_MSGSIGNDATA"].fields_by_name["Signer"]._loaded_options = None + _globals["_MSGSIGNDATA"].fields_by_name[ + "Signer" + ]._serialized_options = b"\352\336\037\006signer\372\336\037-github.com/cosmos/cosmos-sdk/types.AccAddress" + _globals["_MSGSIGNDATA"].fields_by_name["Data"]._loaded_options = None + _globals["_MSGSIGNDATA"].fields_by_name["Data"]._serialized_options = b"\352\336\037\004data" + _globals["_MSGSIGNDOC"].fields_by_name["sign_type"]._loaded_options = None + _globals["_MSGSIGNDOC"].fields_by_name["sign_type"]._serialized_options = b"\352\336\037\004type" + _globals["_MSGSIGNDOC"].fields_by_name["value"]._loaded_options = None + _globals["_MSGSIGNDOC"].fields_by_name["value"]._serialized_options = b"\310\336\037\000" + _globals["_MSGADMINUPDATEBINARYOPTIONSMARKET"].fields_by_name["settlement_price"]._loaded_options = None + _globals["_MSGADMINUPDATEBINARYOPTIONSMARKET"].fields_by_name[ + "settlement_price" + ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGADMINUPDATEBINARYOPTIONSMARKET"]._loaded_options = None + _globals["_MSGADMINUPDATEBINARYOPTIONSMARKET"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260**exchange/MsgAdminUpdateBinaryOptionsMarket" + ) + _globals["_MSGAUTHORIZESTAKEGRANTS"]._loaded_options = None + _globals["_MSGAUTHORIZESTAKEGRANTS"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260* exchange/MsgAuthorizeStakeGrants" + ) + _globals["_MSGACTIVATESTAKEGRANT"]._loaded_options = None + _globals["_MSGACTIVATESTAKEGRANT"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\036exchange/MsgActivateStakeGrant" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGUPDATESPOTMARKET"]._serialized_start = 323 + _globals["_MSGUPDATESPOTMARKET"]._serialized_end = 746 + _globals["_MSGUPDATESPOTMARKETRESPONSE"]._serialized_start = 748 + _globals["_MSGUPDATESPOTMARKETRESPONSE"]._serialized_end = 777 + _globals["_MSGUPDATEDERIVATIVEMARKET"]._serialized_start = 780 + _globals["_MSGUPDATEDERIVATIVEMARKET"]._serialized_end = 1411 + _globals["_MSGUPDATEDERIVATIVEMARKETRESPONSE"]._serialized_start = 1413 + _globals["_MSGUPDATEDERIVATIVEMARKETRESPONSE"]._serialized_end = 1448 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 1451 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 1635 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1637 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1662 + _globals["_MSGDEPOSIT"]._serialized_start = 1665 + _globals["_MSGDEPOSIT"]._serialized_end = 1840 + _globals["_MSGDEPOSITRESPONSE"]._serialized_start = 1842 + _globals["_MSGDEPOSITRESPONSE"]._serialized_end = 1862 + _globals["_MSGWITHDRAW"]._serialized_start = 1865 + _globals["_MSGWITHDRAW"]._serialized_end = 2042 + _globals["_MSGWITHDRAWRESPONSE"]._serialized_start = 2044 + _globals["_MSGWITHDRAWRESPONSE"]._serialized_end = 2065 + _globals["_MSGCREATESPOTLIMITORDER"]._serialized_start = 2068 + _globals["_MSGCREATESPOTLIMITORDER"]._serialized_end = 2242 + _globals["_MSGCREATESPOTLIMITORDERRESPONSE"]._serialized_start = 2244 + _globals["_MSGCREATESPOTLIMITORDERRESPONSE"]._serialized_end = 2336 + _globals["_MSGBATCHCREATESPOTLIMITORDERS"]._serialized_start = 2339 + _globals["_MSGBATCHCREATESPOTLIMITORDERS"]._serialized_end = 2527 + _globals["_MSGBATCHCREATESPOTLIMITORDERSRESPONSE"]._serialized_start = 2530 + _globals["_MSGBATCHCREATESPOTLIMITORDERSRESPONSE"]._serialized_end = 2708 + _globals["_MSGINSTANTSPOTMARKETLAUNCH"]._serialized_start = 2711 + _globals["_MSGINSTANTSPOTMARKETLAUNCH"]._serialized_end = 3158 + _globals["_MSGINSTANTSPOTMARKETLAUNCHRESPONSE"]._serialized_start = 3160 + _globals["_MSGINSTANTSPOTMARKETLAUNCHRESPONSE"]._serialized_end = 3196 + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"]._serialized_start = 3199 + _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"]._serialized_end = 4144 + _globals["_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE"]._serialized_start = 4146 + _globals["_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE"]._serialized_end = 4187 + _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"]._serialized_start = 4190 + _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"]._serialized_end = 5095 + _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE"]._serialized_start = 5097 + _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE"]._serialized_end = 5142 + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"]._serialized_start = 5145 + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"]._serialized_end = 6122 + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE"]._serialized_start = 6124 + _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE"]._serialized_end = 6169 + _globals["_MSGCREATESPOTMARKETORDER"]._serialized_start = 6172 + _globals["_MSGCREATESPOTMARKETORDER"]._serialized_end = 6348 + _globals["_MSGCREATESPOTMARKETORDERRESPONSE"]._serialized_start = 6351 + _globals["_MSGCREATESPOTMARKETORDERRESPONSE"]._serialized_end = 6528 + _globals["_SPOTMARKETORDERRESULTS"]._serialized_start = 6531 + _globals["_SPOTMARKETORDERRESULTS"]._serialized_end = 6744 + _globals["_MSGCREATEDERIVATIVELIMITORDER"]._serialized_start = 6747 + _globals["_MSGCREATEDERIVATIVELIMITORDER"]._serialized_end = 6935 + _globals["_MSGCREATEDERIVATIVELIMITORDERRESPONSE"]._serialized_start = 6937 + _globals["_MSGCREATEDERIVATIVELIMITORDERRESPONSE"]._serialized_end = 7035 + _globals["_MSGCREATEBINARYOPTIONSLIMITORDER"]._serialized_start = 7038 + _globals["_MSGCREATEBINARYOPTIONSLIMITORDER"]._serialized_end = 7232 + _globals["_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE"]._serialized_start = 7234 + _globals["_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE"]._serialized_end = 7335 + _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERS"]._serialized_start = 7338 + _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERS"]._serialized_end = 7540 + _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE"]._serialized_start = 7543 + _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE"]._serialized_end = 7727 + _globals["_MSGCANCELSPOTORDER"]._serialized_start = 7730 + _globals["_MSGCANCELSPOTORDER"]._serialized_end = 7938 + _globals["_MSGCANCELSPOTORDERRESPONSE"]._serialized_start = 7940 + _globals["_MSGCANCELSPOTORDERRESPONSE"]._serialized_end = 7968 + _globals["_MSGBATCHCANCELSPOTORDERS"]._serialized_start = 7971 + _globals["_MSGBATCHCANCELSPOTORDERS"]._serialized_end = 8141 + _globals["_MSGBATCHCANCELSPOTORDERSRESPONSE"]._serialized_start = 8143 + _globals["_MSGBATCHCANCELSPOTORDERSRESPONSE"]._serialized_end = 8213 + _globals["_MSGBATCHCANCELBINARYOPTIONSORDERS"]._serialized_start = 8216 + _globals["_MSGBATCHCANCELBINARYOPTIONSORDERS"]._serialized_end = 8404 + _globals["_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE"]._serialized_start = 8406 + _globals["_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE"]._serialized_end = 8485 + _globals["_MSGBATCHUPDATEORDERS"]._serialized_start = 8488 + _globals["_MSGBATCHUPDATEORDERS"]._serialized_end = 9498 + _globals["_MSGBATCHUPDATEORDERSRESPONSE"]._serialized_start = 9501 + _globals["_MSGBATCHUPDATEORDERSRESPONSE"]._serialized_end = 10277 + _globals["_MSGCREATEDERIVATIVEMARKETORDER"]._serialized_start = 10280 + _globals["_MSGCREATEDERIVATIVEMARKETORDER"]._serialized_end = 10470 + _globals["_MSGCREATEDERIVATIVEMARKETORDERRESPONSE"]._serialized_start = 10473 + _globals["_MSGCREATEDERIVATIVEMARKETORDERRESPONSE"]._serialized_end = 10662 + _globals["_DERIVATIVEMARKETORDERRESULTS"]._serialized_start = 10665 + _globals["_DERIVATIVEMARKETORDERRESULTS"]._serialized_end = 11033 + _globals["_MSGCREATEBINARYOPTIONSMARKETORDER"]._serialized_start = 11036 + _globals["_MSGCREATEBINARYOPTIONSMARKETORDER"]._serialized_end = 11232 + _globals["_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE"]._serialized_start = 11235 + _globals["_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE"]._serialized_end = 11427 + _globals["_MSGCANCELDERIVATIVEORDER"]._serialized_start = 11430 + _globals["_MSGCANCELDERIVATIVEORDER"]._serialized_end = 11681 + _globals["_MSGCANCELDERIVATIVEORDERRESPONSE"]._serialized_start = 11683 + _globals["_MSGCANCELDERIVATIVEORDERRESPONSE"]._serialized_end = 11717 + _globals["_MSGCANCELBINARYOPTIONSORDER"]._serialized_start = 11720 + _globals["_MSGCANCELBINARYOPTIONSORDER"]._serialized_end = 11977 + _globals["_MSGCANCELBINARYOPTIONSORDERRESPONSE"]._serialized_start = 11979 + _globals["_MSGCANCELBINARYOPTIONSORDERRESPONSE"]._serialized_end = 12016 + _globals["_ORDERDATA"]._serialized_start = 12019 + _globals["_ORDERDATA"]._serialized_end = 12176 + _globals["_MSGBATCHCANCELDERIVATIVEORDERS"]._serialized_start = 12179 + _globals["_MSGBATCHCANCELDERIVATIVEORDERS"]._serialized_end = 12361 + _globals["_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE"]._serialized_start = 12363 + _globals["_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE"]._serialized_end = 12439 + _globals["_MSGSUBACCOUNTTRANSFER"]._serialized_start = 12442 + _globals["_MSGSUBACCOUNTTRANSFER"]._serialized_end = 12704 + _globals["_MSGSUBACCOUNTTRANSFERRESPONSE"]._serialized_start = 12706 + _globals["_MSGSUBACCOUNTTRANSFERRESPONSE"]._serialized_end = 12737 + _globals["_MSGEXTERNALTRANSFER"]._serialized_start = 12740 + _globals["_MSGEXTERNALTRANSFER"]._serialized_end = 12998 + _globals["_MSGEXTERNALTRANSFERRESPONSE"]._serialized_start = 13000 + _globals["_MSGEXTERNALTRANSFERRESPONSE"]._serialized_end = 13029 + _globals["_MSGLIQUIDATEPOSITION"]._serialized_start = 13032 + _globals["_MSGLIQUIDATEPOSITION"]._serialized_end = 13264 + _globals["_MSGLIQUIDATEPOSITIONRESPONSE"]._serialized_start = 13266 + _globals["_MSGLIQUIDATEPOSITIONRESPONSE"]._serialized_end = 13296 + _globals["_MSGEMERGENCYSETTLEMARKET"]._serialized_start = 13299 + _globals["_MSGEMERGENCYSETTLEMARKET"]._serialized_end = 13466 + _globals["_MSGEMERGENCYSETTLEMARKETRESPONSE"]._serialized_start = 13468 + _globals["_MSGEMERGENCYSETTLEMARKETRESPONSE"]._serialized_end = 13502 + _globals["_MSGINCREASEPOSITIONMARGIN"]._serialized_start = 13505 + _globals["_MSGINCREASEPOSITIONMARGIN"]._serialized_end = 13808 + _globals["_MSGINCREASEPOSITIONMARGINRESPONSE"]._serialized_start = 13810 + _globals["_MSGINCREASEPOSITIONMARGINRESPONSE"]._serialized_end = 13845 + _globals["_MSGDECREASEPOSITIONMARGIN"]._serialized_start = 13848 + _globals["_MSGDECREASEPOSITIONMARGIN"]._serialized_end = 14151 + _globals["_MSGDECREASEPOSITIONMARGINRESPONSE"]._serialized_start = 14153 + _globals["_MSGDECREASEPOSITIONMARGINRESPONSE"]._serialized_end = 14188 + _globals["_MSGPRIVILEGEDEXECUTECONTRACT"]._serialized_start = 14191 + _globals["_MSGPRIVILEGEDEXECUTECONTRACT"]._serialized_end = 14393 + _globals["_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE"]._serialized_start = 14396 + _globals["_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE"]._serialized_end = 14563 + _globals["_MSGREWARDSOPTOUT"]._serialized_start = 14565 + _globals["_MSGREWARDSOPTOUT"]._serialized_end = 14658 + _globals["_MSGREWARDSOPTOUTRESPONSE"]._serialized_start = 14660 + _globals["_MSGREWARDSOPTOUTRESPONSE"]._serialized_end = 14686 + _globals["_MSGRECLAIMLOCKEDFUNDS"]._serialized_start = 14689 + _globals["_MSGRECLAIMLOCKEDFUNDS"]._serialized_end = 14864 + _globals["_MSGRECLAIMLOCKEDFUNDSRESPONSE"]._serialized_start = 14866 + _globals["_MSGRECLAIMLOCKEDFUNDSRESPONSE"]._serialized_end = 14897 + _globals["_MSGSIGNDATA"]._serialized_start = 14900 + _globals["_MSGSIGNDATA"]._serialized_end = 15028 + _globals["_MSGSIGNDOC"]._serialized_start = 15030 + _globals["_MSGSIGNDOC"]._serialized_end = 15150 + _globals["_MSGADMINUPDATEBINARYOPTIONSMARKET"]._serialized_start = 15153 + _globals["_MSGADMINUPDATEBINARYOPTIONSMARKET"]._serialized_end = 15549 + _globals["_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE"]._serialized_start = 15551 + _globals["_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE"]._serialized_end = 15594 + _globals["_MSGAUTHORIZESTAKEGRANTS"]._serialized_start = 15597 + _globals["_MSGAUTHORIZESTAKEGRANTS"]._serialized_end = 15768 + _globals["_MSGAUTHORIZESTAKEGRANTSRESPONSE"]._serialized_start = 15770 + _globals["_MSGAUTHORIZESTAKEGRANTSRESPONSE"]._serialized_end = 15803 + _globals["_MSGACTIVATESTAKEGRANT"]._serialized_start = 15805 + _globals["_MSGACTIVATESTAKEGRANT"]._serialized_end = 15926 + _globals["_MSGACTIVATESTAKEGRANTRESPONSE"]._serialized_start = 15928 + _globals["_MSGACTIVATESTAKEGRANTRESPONSE"]._serialized_end = 15959 + _globals["_MSG"]._serialized_start = 15962 + _globals["_MSG"]._serialized_end = 21034 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py index e8346ec5..9ab69c4f 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the exchange Msg service. - """ + """Msg defines the exchange Msg service.""" def __init__(self, channel): """Constructor. @@ -16,654 +15,677 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Deposit = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/Deposit', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/Deposit", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, + _registered_method=True, + ) self.Withdraw = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/Withdraw', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdraw.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdrawResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/Withdraw", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdraw.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdrawResponse.FromString, + _registered_method=True, + ) self.InstantSpotMarketLaunch = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunch.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunchResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunch.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunchResponse.FromString, + _registered_method=True, + ) self.InstantPerpetualMarketLaunch = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunch.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunchResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunch.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunchResponse.FromString, + _registered_method=True, + ) self.InstantExpiryFuturesMarketLaunch = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunch.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunchResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunch.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunchResponse.FromString, + _registered_method=True, + ) self.CreateSpotLimitOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrderResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrderResponse.FromString, + _registered_method=True, + ) self.BatchCreateSpotLimitOrders = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrdersResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrdersResponse.FromString, + _registered_method=True, + ) self.CreateSpotMarketOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrderResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrderResponse.FromString, + _registered_method=True, + ) self.CancelSpotOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CancelSpotOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrderResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/CancelSpotOrder", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrderResponse.FromString, + _registered_method=True, + ) self.BatchCancelSpotOrders = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrdersResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrdersResponse.FromString, + _registered_method=True, + ) self.BatchUpdateOrders = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/BatchUpdateOrders', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrdersResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/BatchUpdateOrders", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrdersResponse.FromString, + _registered_method=True, + ) self.PrivilegedExecuteContract = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContract.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContractResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContract.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContractResponse.FromString, + _registered_method=True, + ) self.CreateDerivativeLimitOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrderResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrderResponse.FromString, + _registered_method=True, + ) self.BatchCreateDerivativeLimitOrders = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrdersResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrdersResponse.FromString, + _registered_method=True, + ) self.CreateDerivativeMarketOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrderResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrderResponse.FromString, + _registered_method=True, + ) self.CancelDerivativeOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CancelDerivativeOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrderResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/CancelDerivativeOrder", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrderResponse.FromString, + _registered_method=True, + ) self.BatchCancelDerivativeOrders = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrdersResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrdersResponse.FromString, + _registered_method=True, + ) self.InstantBinaryOptionsMarketLaunch = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunch.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunchResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunch.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunchResponse.FromString, + _registered_method=True, + ) self.CreateBinaryOptionsLimitOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrderResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrderResponse.FromString, + _registered_method=True, + ) self.CreateBinaryOptionsMarketOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrderResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrderResponse.FromString, + _registered_method=True, + ) self.CancelBinaryOptionsOrder = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrderResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrderResponse.FromString, + _registered_method=True, + ) self.BatchCancelBinaryOptionsOrders = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrdersResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrdersResponse.FromString, + _registered_method=True, + ) self.SubaccountTransfer = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/SubaccountTransfer', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransfer.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransferResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/SubaccountTransfer", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransfer.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransferResponse.FromString, + _registered_method=True, + ) self.ExternalTransfer = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/ExternalTransfer', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransfer.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransferResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/ExternalTransfer", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransfer.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransferResponse.FromString, + _registered_method=True, + ) self.LiquidatePosition = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/LiquidatePosition', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/LiquidatePosition", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.FromString, + _registered_method=True, + ) self.EmergencySettleMarket = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/EmergencySettleMarket', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarket.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarketResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/EmergencySettleMarket", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarket.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarketResponse.FromString, + _registered_method=True, + ) self.IncreasePositionMargin = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/IncreasePositionMargin', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMarginResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/IncreasePositionMargin", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMarginResponse.FromString, + _registered_method=True, + ) self.DecreasePositionMargin = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/DecreasePositionMargin', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMargin.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMarginResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/DecreasePositionMargin", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMargin.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMarginResponse.FromString, + _registered_method=True, + ) self.RewardsOptOut = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/RewardsOptOut', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOut.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOutResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/RewardsOptOut", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOut.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOutResponse.FromString, + _registered_method=True, + ) self.AdminUpdateBinaryOptionsMarket = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarket.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarketResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarket.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarketResponse.FromString, + _registered_method=True, + ) self.UpdateParams = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/UpdateParams', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/UpdateParams", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) self.UpdateSpotMarket = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/UpdateSpotMarket', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarket.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarketResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/UpdateSpotMarket", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarket.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarketResponse.FromString, + _registered_method=True, + ) self.UpdateDerivativeMarket = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/UpdateDerivativeMarket', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarket.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarketResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/UpdateDerivativeMarket", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarket.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarketResponse.FromString, + _registered_method=True, + ) self.AuthorizeStakeGrants = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/AuthorizeStakeGrants', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrants.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrantsResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/AuthorizeStakeGrants", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrants.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrantsResponse.FromString, + _registered_method=True, + ) self.ActivateStakeGrant = channel.unary_unary( - '/injective.exchange.v1beta1.Msg/ActivateStakeGrant', - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrant.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrantResponse.FromString, - _registered_method=True) + "/injective.exchange.v1beta1.Msg/ActivateStakeGrant", + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrant.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrantResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the exchange Msg service. - """ + """Msg defines the exchange Msg service.""" def Deposit(self, request, context): """Deposit defines a method for transferring coins from the sender's bank balance into the subaccount's exchange deposits """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Withdraw(self, request, context): """Withdraw defines a method for withdrawing coins from a subaccount's deposits to the user's bank balance """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def InstantSpotMarketLaunch(self, request, context): """InstantSpotMarketLaunch defines method for creating a spot market by paying listing fee without governance """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def InstantPerpetualMarketLaunch(self, request, context): """InstantPerpetualMarketLaunch defines a method for creating a new perpetual futures market by paying listing fee without governance """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def InstantExpiryFuturesMarketLaunch(self, request, context): """InstantExpiryFuturesMarketLaunch defines a method for creating a new expiry futures market by paying listing fee without governance """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CreateSpotLimitOrder(self, request, context): - """CreateSpotLimitOrder defines a method for creating a new spot limit order. - """ + """CreateSpotLimitOrder defines a method for creating a new spot limit order.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def BatchCreateSpotLimitOrders(self, request, context): """BatchCreateSpotLimitOrder defines a method for creating a new batch of spot limit orders. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CreateSpotMarketOrder(self, request, context): """CreateSpotMarketOrder defines a method for creating a new spot market order. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CancelSpotOrder(self, request, context): - """MsgCancelSpotOrder defines a method for cancelling a spot order. - """ + """MsgCancelSpotOrder defines a method for cancelling a spot order.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def BatchCancelSpotOrders(self, request, context): """BatchCancelSpotOrders defines a method for cancelling a batch of spot orders in a given market. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def BatchUpdateOrders(self, request, context): - """BatchUpdateOrders defines a method for updating a batch of orders. - """ + """BatchUpdateOrders defines a method for updating a batch of orders.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PrivilegedExecuteContract(self, request, context): """PrivilegedExecuteContract defines a method for executing a Cosmwasm contract from the exchange module with privileged capabilities. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CreateDerivativeLimitOrder(self, request, context): """CreateDerivativeLimitOrder defines a method for creating a new derivative limit order. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def BatchCreateDerivativeLimitOrders(self, request, context): """BatchCreateDerivativeLimitOrders defines a method for creating a new batch of derivative limit orders. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CreateDerivativeMarketOrder(self, request, context): """MsgCreateDerivativeLimitOrder defines a method for creating a new derivative market order. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CancelDerivativeOrder(self, request, context): """MsgCancelDerivativeOrder defines a method for cancelling a derivative order. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def BatchCancelDerivativeOrders(self, request, context): """MsgBatchCancelDerivativeOrders defines a method for cancelling a batch of derivative limit orders. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def InstantBinaryOptionsMarketLaunch(self, request, context): """InstantBinaryOptionsMarketLaunch defines method for creating a binary options market by paying listing fee without governance """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CreateBinaryOptionsLimitOrder(self, request, context): """CreateBinaryOptionsLimitOrder defines a method for creating a new binary options limit order. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CreateBinaryOptionsMarketOrder(self, request, context): """CreateBinaryOptionsMarketOrder defines a method for creating a new binary options market order. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CancelBinaryOptionsOrder(self, request, context): """MsgCancelBinaryOptionsOrder defines a method for cancelling a binary options order. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def BatchCancelBinaryOptionsOrders(self, request, context): """BatchCancelBinaryOptionsOrders defines a method for cancelling a batch of binary options limit orders. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SubaccountTransfer(self, request, context): - """SubaccountTransfer defines a method for transfer between subaccounts - """ + """SubaccountTransfer defines a method for transfer between subaccounts""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ExternalTransfer(self, request, context): - """ExternalTransfer defines a method for transfer between external accounts - """ + """ExternalTransfer defines a method for transfer between external accounts""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def LiquidatePosition(self, request, context): - """LiquidatePosition defines a method for liquidating a position - """ + """LiquidatePosition defines a method for liquidating a position""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def EmergencySettleMarket(self, request, context): - """EmergencySettleMarket defines a method for emergency settling a market - """ + """EmergencySettleMarket defines a method for emergency settling a market""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def IncreasePositionMargin(self, request, context): - """IncreasePositionMargin defines a method for increasing margin of a position - """ + """IncreasePositionMargin defines a method for increasing margin of a position""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DecreasePositionMargin(self, request, context): - """DecreasePositionMargin defines a method for decreasing margin of a position - """ + """DecreasePositionMargin defines a method for decreasing margin of a position""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RewardsOptOut(self, request, context): - """RewardsOptOut defines a method for opting out of rewards - """ + """RewardsOptOut defines a method for opting out of rewards""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AdminUpdateBinaryOptionsMarket(self, request, context): """AdminUpdateBinaryOptionsMarket defines method for updating a binary options market by admin """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateParams(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateSpotMarket(self, request, context): - """UpdateSpotMarket modifies certain spot market fields (admin only) - """ + """UpdateSpotMarket modifies certain spot market fields (admin only)""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateDerivativeMarket(self, request, context): """UpdateDerivativeMarket modifies certain derivative market fields (admin only) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AuthorizeStakeGrants(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ActivateStakeGrant(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'Deposit': grpc.unary_unary_rpc_method_handler( - servicer.Deposit, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDeposit.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.SerializeToString, - ), - 'Withdraw': grpc.unary_unary_rpc_method_handler( - servicer.Withdraw, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdraw.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdrawResponse.SerializeToString, - ), - 'InstantSpotMarketLaunch': grpc.unary_unary_rpc_method_handler( - servicer.InstantSpotMarketLaunch, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunch.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunchResponse.SerializeToString, - ), - 'InstantPerpetualMarketLaunch': grpc.unary_unary_rpc_method_handler( - servicer.InstantPerpetualMarketLaunch, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunch.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunchResponse.SerializeToString, - ), - 'InstantExpiryFuturesMarketLaunch': grpc.unary_unary_rpc_method_handler( - servicer.InstantExpiryFuturesMarketLaunch, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunch.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunchResponse.SerializeToString, - ), - 'CreateSpotLimitOrder': grpc.unary_unary_rpc_method_handler( - servicer.CreateSpotLimitOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrderResponse.SerializeToString, - ), - 'BatchCreateSpotLimitOrders': grpc.unary_unary_rpc_method_handler( - servicer.BatchCreateSpotLimitOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrdersResponse.SerializeToString, - ), - 'CreateSpotMarketOrder': grpc.unary_unary_rpc_method_handler( - servicer.CreateSpotMarketOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrderResponse.SerializeToString, - ), - 'CancelSpotOrder': grpc.unary_unary_rpc_method_handler( - servicer.CancelSpotOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrderResponse.SerializeToString, - ), - 'BatchCancelSpotOrders': grpc.unary_unary_rpc_method_handler( - servicer.BatchCancelSpotOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrdersResponse.SerializeToString, - ), - 'BatchUpdateOrders': grpc.unary_unary_rpc_method_handler( - servicer.BatchUpdateOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrdersResponse.SerializeToString, - ), - 'PrivilegedExecuteContract': grpc.unary_unary_rpc_method_handler( - servicer.PrivilegedExecuteContract, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContract.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContractResponse.SerializeToString, - ), - 'CreateDerivativeLimitOrder': grpc.unary_unary_rpc_method_handler( - servicer.CreateDerivativeLimitOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrderResponse.SerializeToString, - ), - 'BatchCreateDerivativeLimitOrders': grpc.unary_unary_rpc_method_handler( - servicer.BatchCreateDerivativeLimitOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrdersResponse.SerializeToString, - ), - 'CreateDerivativeMarketOrder': grpc.unary_unary_rpc_method_handler( - servicer.CreateDerivativeMarketOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrderResponse.SerializeToString, - ), - 'CancelDerivativeOrder': grpc.unary_unary_rpc_method_handler( - servicer.CancelDerivativeOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrderResponse.SerializeToString, - ), - 'BatchCancelDerivativeOrders': grpc.unary_unary_rpc_method_handler( - servicer.BatchCancelDerivativeOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrdersResponse.SerializeToString, - ), - 'InstantBinaryOptionsMarketLaunch': grpc.unary_unary_rpc_method_handler( - servicer.InstantBinaryOptionsMarketLaunch, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunch.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunchResponse.SerializeToString, - ), - 'CreateBinaryOptionsLimitOrder': grpc.unary_unary_rpc_method_handler( - servicer.CreateBinaryOptionsLimitOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrderResponse.SerializeToString, - ), - 'CreateBinaryOptionsMarketOrder': grpc.unary_unary_rpc_method_handler( - servicer.CreateBinaryOptionsMarketOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrderResponse.SerializeToString, - ), - 'CancelBinaryOptionsOrder': grpc.unary_unary_rpc_method_handler( - servicer.CancelBinaryOptionsOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrderResponse.SerializeToString, - ), - 'BatchCancelBinaryOptionsOrders': grpc.unary_unary_rpc_method_handler( - servicer.BatchCancelBinaryOptionsOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrdersResponse.SerializeToString, - ), - 'SubaccountTransfer': grpc.unary_unary_rpc_method_handler( - servicer.SubaccountTransfer, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransfer.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransferResponse.SerializeToString, - ), - 'ExternalTransfer': grpc.unary_unary_rpc_method_handler( - servicer.ExternalTransfer, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransfer.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransferResponse.SerializeToString, - ), - 'LiquidatePosition': grpc.unary_unary_rpc_method_handler( - servicer.LiquidatePosition, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.SerializeToString, - ), - 'EmergencySettleMarket': grpc.unary_unary_rpc_method_handler( - servicer.EmergencySettleMarket, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarket.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarketResponse.SerializeToString, - ), - 'IncreasePositionMargin': grpc.unary_unary_rpc_method_handler( - servicer.IncreasePositionMargin, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMarginResponse.SerializeToString, - ), - 'DecreasePositionMargin': grpc.unary_unary_rpc_method_handler( - servicer.DecreasePositionMargin, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMargin.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMarginResponse.SerializeToString, - ), - 'RewardsOptOut': grpc.unary_unary_rpc_method_handler( - servicer.RewardsOptOut, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOut.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOutResponse.SerializeToString, - ), - 'AdminUpdateBinaryOptionsMarket': grpc.unary_unary_rpc_method_handler( - servicer.AdminUpdateBinaryOptionsMarket, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarket.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarketResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'UpdateSpotMarket': grpc.unary_unary_rpc_method_handler( - servicer.UpdateSpotMarket, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarket.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarketResponse.SerializeToString, - ), - 'UpdateDerivativeMarket': grpc.unary_unary_rpc_method_handler( - servicer.UpdateDerivativeMarket, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarket.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarketResponse.SerializeToString, - ), - 'AuthorizeStakeGrants': grpc.unary_unary_rpc_method_handler( - servicer.AuthorizeStakeGrants, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrants.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrantsResponse.SerializeToString, - ), - 'ActivateStakeGrant': grpc.unary_unary_rpc_method_handler( - servicer.ActivateStakeGrant, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrant.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrantResponse.SerializeToString, - ), + "Deposit": grpc.unary_unary_rpc_method_handler( + servicer.Deposit, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDeposit.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.SerializeToString, + ), + "Withdraw": grpc.unary_unary_rpc_method_handler( + servicer.Withdraw, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdraw.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdrawResponse.SerializeToString, + ), + "InstantSpotMarketLaunch": grpc.unary_unary_rpc_method_handler( + servicer.InstantSpotMarketLaunch, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunch.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunchResponse.SerializeToString, + ), + "InstantPerpetualMarketLaunch": grpc.unary_unary_rpc_method_handler( + servicer.InstantPerpetualMarketLaunch, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunch.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunchResponse.SerializeToString, + ), + "InstantExpiryFuturesMarketLaunch": grpc.unary_unary_rpc_method_handler( + servicer.InstantExpiryFuturesMarketLaunch, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunch.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunchResponse.SerializeToString, + ), + "CreateSpotLimitOrder": grpc.unary_unary_rpc_method_handler( + servicer.CreateSpotLimitOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrderResponse.SerializeToString, + ), + "BatchCreateSpotLimitOrders": grpc.unary_unary_rpc_method_handler( + servicer.BatchCreateSpotLimitOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrdersResponse.SerializeToString, + ), + "CreateSpotMarketOrder": grpc.unary_unary_rpc_method_handler( + servicer.CreateSpotMarketOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrderResponse.SerializeToString, + ), + "CancelSpotOrder": grpc.unary_unary_rpc_method_handler( + servicer.CancelSpotOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrderResponse.SerializeToString, + ), + "BatchCancelSpotOrders": grpc.unary_unary_rpc_method_handler( + servicer.BatchCancelSpotOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrdersResponse.SerializeToString, + ), + "BatchUpdateOrders": grpc.unary_unary_rpc_method_handler( + servicer.BatchUpdateOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrdersResponse.SerializeToString, + ), + "PrivilegedExecuteContract": grpc.unary_unary_rpc_method_handler( + servicer.PrivilegedExecuteContract, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContract.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContractResponse.SerializeToString, + ), + "CreateDerivativeLimitOrder": grpc.unary_unary_rpc_method_handler( + servicer.CreateDerivativeLimitOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrderResponse.SerializeToString, + ), + "BatchCreateDerivativeLimitOrders": grpc.unary_unary_rpc_method_handler( + servicer.BatchCreateDerivativeLimitOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrdersResponse.SerializeToString, + ), + "CreateDerivativeMarketOrder": grpc.unary_unary_rpc_method_handler( + servicer.CreateDerivativeMarketOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrderResponse.SerializeToString, + ), + "CancelDerivativeOrder": grpc.unary_unary_rpc_method_handler( + servicer.CancelDerivativeOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrderResponse.SerializeToString, + ), + "BatchCancelDerivativeOrders": grpc.unary_unary_rpc_method_handler( + servicer.BatchCancelDerivativeOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrdersResponse.SerializeToString, + ), + "InstantBinaryOptionsMarketLaunch": grpc.unary_unary_rpc_method_handler( + servicer.InstantBinaryOptionsMarketLaunch, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunch.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunchResponse.SerializeToString, + ), + "CreateBinaryOptionsLimitOrder": grpc.unary_unary_rpc_method_handler( + servicer.CreateBinaryOptionsLimitOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrderResponse.SerializeToString, + ), + "CreateBinaryOptionsMarketOrder": grpc.unary_unary_rpc_method_handler( + servicer.CreateBinaryOptionsMarketOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrderResponse.SerializeToString, + ), + "CancelBinaryOptionsOrder": grpc.unary_unary_rpc_method_handler( + servicer.CancelBinaryOptionsOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrderResponse.SerializeToString, + ), + "BatchCancelBinaryOptionsOrders": grpc.unary_unary_rpc_method_handler( + servicer.BatchCancelBinaryOptionsOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrdersResponse.SerializeToString, + ), + "SubaccountTransfer": grpc.unary_unary_rpc_method_handler( + servicer.SubaccountTransfer, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransfer.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransferResponse.SerializeToString, + ), + "ExternalTransfer": grpc.unary_unary_rpc_method_handler( + servicer.ExternalTransfer, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransfer.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransferResponse.SerializeToString, + ), + "LiquidatePosition": grpc.unary_unary_rpc_method_handler( + servicer.LiquidatePosition, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.SerializeToString, + ), + "EmergencySettleMarket": grpc.unary_unary_rpc_method_handler( + servicer.EmergencySettleMarket, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarket.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarketResponse.SerializeToString, + ), + "IncreasePositionMargin": grpc.unary_unary_rpc_method_handler( + servicer.IncreasePositionMargin, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMarginResponse.SerializeToString, + ), + "DecreasePositionMargin": grpc.unary_unary_rpc_method_handler( + servicer.DecreasePositionMargin, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMargin.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMarginResponse.SerializeToString, + ), + "RewardsOptOut": grpc.unary_unary_rpc_method_handler( + servicer.RewardsOptOut, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOut.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOutResponse.SerializeToString, + ), + "AdminUpdateBinaryOptionsMarket": grpc.unary_unary_rpc_method_handler( + servicer.AdminUpdateBinaryOptionsMarket, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarket.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarketResponse.SerializeToString, + ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + "UpdateSpotMarket": grpc.unary_unary_rpc_method_handler( + servicer.UpdateSpotMarket, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarket.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarketResponse.SerializeToString, + ), + "UpdateDerivativeMarket": grpc.unary_unary_rpc_method_handler( + servicer.UpdateDerivativeMarket, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarket.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarketResponse.SerializeToString, + ), + "AuthorizeStakeGrants": grpc.unary_unary_rpc_method_handler( + servicer.AuthorizeStakeGrants, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrants.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrantsResponse.SerializeToString, + ), + "ActivateStakeGrant": grpc.unary_unary_rpc_method_handler( + servicer.ActivateStakeGrant, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrant.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrantResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.exchange.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("injective.exchange.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.exchange.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("injective.exchange.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the exchange Msg service. - """ + """Msg defines the exchange Msg service.""" @staticmethod - def Deposit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Deposit( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/Deposit', + "/injective.exchange.v1beta1.Msg/Deposit", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, options, @@ -674,23 +696,26 @@ def Deposit(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Withdraw(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Withdraw( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/Withdraw', + "/injective.exchange.v1beta1.Msg/Withdraw", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdraw.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdrawResponse.FromString, options, @@ -701,23 +726,26 @@ def Withdraw(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def InstantSpotMarketLaunch(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def InstantSpotMarketLaunch( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch', + "/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunch.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunchResponse.FromString, options, @@ -728,23 +756,26 @@ def InstantSpotMarketLaunch(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def InstantPerpetualMarketLaunch(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def InstantPerpetualMarketLaunch( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch', + "/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunch.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunchResponse.FromString, options, @@ -755,23 +786,26 @@ def InstantPerpetualMarketLaunch(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def InstantExpiryFuturesMarketLaunch(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def InstantExpiryFuturesMarketLaunch( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch', + "/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunch.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunchResponse.FromString, options, @@ -782,23 +816,26 @@ def InstantExpiryFuturesMarketLaunch(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CreateSpotLimitOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreateSpotLimitOrder( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder', + "/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrderResponse.FromString, options, @@ -809,23 +846,26 @@ def CreateSpotLimitOrder(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def BatchCreateSpotLimitOrders(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def BatchCreateSpotLimitOrders( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders', + "/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrders.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrdersResponse.FromString, options, @@ -836,23 +876,26 @@ def BatchCreateSpotLimitOrders(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CreateSpotMarketOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreateSpotMarketOrder( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder', + "/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrderResponse.FromString, options, @@ -863,23 +906,26 @@ def CreateSpotMarketOrder(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CancelSpotOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CancelSpotOrder( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/CancelSpotOrder', + "/injective.exchange.v1beta1.Msg/CancelSpotOrder", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrderResponse.FromString, options, @@ -890,23 +936,26 @@ def CancelSpotOrder(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def BatchCancelSpotOrders(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def BatchCancelSpotOrders( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders', + "/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrders.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrdersResponse.FromString, options, @@ -917,23 +966,26 @@ def BatchCancelSpotOrders(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def BatchUpdateOrders(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def BatchUpdateOrders( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/BatchUpdateOrders', + "/injective.exchange.v1beta1.Msg/BatchUpdateOrders", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrders.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrdersResponse.FromString, options, @@ -944,23 +996,26 @@ def BatchUpdateOrders(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PrivilegedExecuteContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PrivilegedExecuteContract( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract', + "/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContract.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContractResponse.FromString, options, @@ -971,23 +1026,26 @@ def PrivilegedExecuteContract(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CreateDerivativeLimitOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreateDerivativeLimitOrder( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder', + "/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrderResponse.FromString, options, @@ -998,23 +1056,26 @@ def CreateDerivativeLimitOrder(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def BatchCreateDerivativeLimitOrders(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def BatchCreateDerivativeLimitOrders( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders', + "/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrders.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrdersResponse.FromString, options, @@ -1025,23 +1086,26 @@ def BatchCreateDerivativeLimitOrders(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CreateDerivativeMarketOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreateDerivativeMarketOrder( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder', + "/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrderResponse.FromString, options, @@ -1052,23 +1116,26 @@ def CreateDerivativeMarketOrder(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CancelDerivativeOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CancelDerivativeOrder( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/CancelDerivativeOrder', + "/injective.exchange.v1beta1.Msg/CancelDerivativeOrder", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrderResponse.FromString, options, @@ -1079,23 +1146,26 @@ def CancelDerivativeOrder(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def BatchCancelDerivativeOrders(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def BatchCancelDerivativeOrders( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders', + "/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrders.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrdersResponse.FromString, options, @@ -1106,23 +1176,26 @@ def BatchCancelDerivativeOrders(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def InstantBinaryOptionsMarketLaunch(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def InstantBinaryOptionsMarketLaunch( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch', + "/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunch.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunchResponse.FromString, options, @@ -1133,23 +1206,26 @@ def InstantBinaryOptionsMarketLaunch(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CreateBinaryOptionsLimitOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreateBinaryOptionsLimitOrder( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder', + "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrderResponse.FromString, options, @@ -1160,23 +1236,26 @@ def CreateBinaryOptionsLimitOrder(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CreateBinaryOptionsMarketOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreateBinaryOptionsMarketOrder( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder', + "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrderResponse.FromString, options, @@ -1187,23 +1266,26 @@ def CreateBinaryOptionsMarketOrder(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CancelBinaryOptionsOrder(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CancelBinaryOptionsOrder( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder', + "/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrderResponse.FromString, options, @@ -1214,23 +1296,26 @@ def CancelBinaryOptionsOrder(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def BatchCancelBinaryOptionsOrders(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def BatchCancelBinaryOptionsOrders( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders', + "/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrders.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrdersResponse.FromString, options, @@ -1241,23 +1326,26 @@ def BatchCancelBinaryOptionsOrders(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SubaccountTransfer(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SubaccountTransfer( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/SubaccountTransfer', + "/injective.exchange.v1beta1.Msg/SubaccountTransfer", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransfer.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransferResponse.FromString, options, @@ -1268,23 +1356,26 @@ def SubaccountTransfer(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ExternalTransfer(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ExternalTransfer( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/ExternalTransfer', + "/injective.exchange.v1beta1.Msg/ExternalTransfer", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransfer.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransferResponse.FromString, options, @@ -1295,23 +1386,26 @@ def ExternalTransfer(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def LiquidatePosition(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def LiquidatePosition( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/LiquidatePosition', + "/injective.exchange.v1beta1.Msg/LiquidatePosition", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.FromString, options, @@ -1322,23 +1416,26 @@ def LiquidatePosition(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def EmergencySettleMarket(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def EmergencySettleMarket( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/EmergencySettleMarket', + "/injective.exchange.v1beta1.Msg/EmergencySettleMarket", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarket.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarketResponse.FromString, options, @@ -1349,23 +1446,26 @@ def EmergencySettleMarket(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def IncreasePositionMargin(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def IncreasePositionMargin( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/IncreasePositionMargin', + "/injective.exchange.v1beta1.Msg/IncreasePositionMargin", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMarginResponse.FromString, options, @@ -1376,23 +1476,26 @@ def IncreasePositionMargin(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DecreasePositionMargin(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DecreasePositionMargin( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/DecreasePositionMargin', + "/injective.exchange.v1beta1.Msg/DecreasePositionMargin", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMargin.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMarginResponse.FromString, options, @@ -1403,23 +1506,26 @@ def DecreasePositionMargin(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RewardsOptOut(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RewardsOptOut( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/RewardsOptOut', + "/injective.exchange.v1beta1.Msg/RewardsOptOut", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOut.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOutResponse.FromString, options, @@ -1430,23 +1536,26 @@ def RewardsOptOut(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def AdminUpdateBinaryOptionsMarket(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AdminUpdateBinaryOptionsMarket( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket', + "/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarket.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarketResponse.FromString, options, @@ -1457,23 +1566,26 @@ def AdminUpdateBinaryOptionsMarket(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/UpdateParams', + "/injective.exchange.v1beta1.Msg/UpdateParams", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -1484,23 +1596,26 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateSpotMarket(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateSpotMarket( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/UpdateSpotMarket', + "/injective.exchange.v1beta1.Msg/UpdateSpotMarket", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarket.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarketResponse.FromString, options, @@ -1511,23 +1626,26 @@ def UpdateSpotMarket(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateDerivativeMarket(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateDerivativeMarket( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/UpdateDerivativeMarket', + "/injective.exchange.v1beta1.Msg/UpdateDerivativeMarket", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarket.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarketResponse.FromString, options, @@ -1538,23 +1656,26 @@ def UpdateDerivativeMarket(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def AuthorizeStakeGrants(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AuthorizeStakeGrants( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/AuthorizeStakeGrants', + "/injective.exchange.v1beta1.Msg/AuthorizeStakeGrants", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrants.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrantsResponse.FromString, options, @@ -1565,23 +1686,26 @@ def AuthorizeStakeGrants(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ActivateStakeGrant(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ActivateStakeGrant( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.exchange.v1beta1.Msg/ActivateStakeGrant', + "/injective.exchange.v1beta1.Msg/ActivateStakeGrant", injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrant.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrantResponse.FromString, options, @@ -1592,4 +1716,5 @@ def ActivateStakeGrant(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/injective/insurance/v1beta1/events_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/events_pb2.py index e6d0bcd1..0885ceb2 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/events_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/events_pb2.py @@ -7,6 +7,7 @@ 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() @@ -14,33 +15,39 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.injective.insurance.v1beta1 import insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2 +from pyinjective.proto.injective.insurance.v1beta1 import ( + insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(injective/insurance/v1beta1/events.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a+injective/insurance/v1beta1/insurance.proto\"Z\n\x18\x45ventInsuranceFundUpdate\x12>\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundR\x04\x66und\"e\n\x16\x45ventRequestRedemption\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleR\x08schedule\"\xa8\x01\n\x17\x45ventWithdrawRedemption\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleR\x08schedule\x12@\n\x0bredeem_coin\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\nredeemCoin\"\xc3\x01\n\x0f\x45ventUnderwrite\x12 \n\x0bunderwriter\x18\x01 \x01(\tR\x0bunderwriter\x12\x1a\n\x08marketId\x18\x02 \x01(\tR\x08marketId\x12\x39\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit\x12\x37\n\x06shares\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06shares\"\x9b\x01\n\x16\x45ventInsuranceWithdraw\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rmarket_ticker\x18\x02 \x01(\tR\x0cmarketTicker\x12?\n\nwithdrawal\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\nwithdrawalB\x8d\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0b\x45ventsProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n(injective/insurance/v1beta1/events.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a+injective/insurance/v1beta1/insurance.proto"Z\n\x18\x45ventInsuranceFundUpdate\x12>\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundR\x04\x66und"e\n\x16\x45ventRequestRedemption\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleR\x08schedule"\xa8\x01\n\x17\x45ventWithdrawRedemption\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleR\x08schedule\x12@\n\x0bredeem_coin\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\nredeemCoin"\xc3\x01\n\x0f\x45ventUnderwrite\x12 \n\x0bunderwriter\x18\x01 \x01(\tR\x0bunderwriter\x12\x1a\n\x08marketId\x18\x02 \x01(\tR\x08marketId\x12\x39\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit\x12\x37\n\x06shares\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06shares"\x9b\x01\n\x16\x45ventInsuranceWithdraw\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rmarket_ticker\x18\x02 \x01(\tR\x0cmarketTicker\x12?\n\nwithdrawal\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\nwithdrawalB\x8d\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0b\x45ventsProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.events_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.insurance.v1beta1.events_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\013EventsProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' - _globals['_EVENTWITHDRAWREDEMPTION'].fields_by_name['redeem_coin']._loaded_options = None - _globals['_EVENTWITHDRAWREDEMPTION'].fields_by_name['redeem_coin']._serialized_options = b'\310\336\037\000' - _globals['_EVENTUNDERWRITE'].fields_by_name['deposit']._loaded_options = None - _globals['_EVENTUNDERWRITE'].fields_by_name['deposit']._serialized_options = b'\310\336\037\000' - _globals['_EVENTUNDERWRITE'].fields_by_name['shares']._loaded_options = None - _globals['_EVENTUNDERWRITE'].fields_by_name['shares']._serialized_options = b'\310\336\037\000' - _globals['_EVENTINSURANCEWITHDRAW'].fields_by_name['withdrawal']._loaded_options = None - _globals['_EVENTINSURANCEWITHDRAW'].fields_by_name['withdrawal']._serialized_options = b'\310\336\037\000' - _globals['_EVENTINSURANCEFUNDUPDATE']._serialized_start=172 - _globals['_EVENTINSURANCEFUNDUPDATE']._serialized_end=262 - _globals['_EVENTREQUESTREDEMPTION']._serialized_start=264 - _globals['_EVENTREQUESTREDEMPTION']._serialized_end=365 - _globals['_EVENTWITHDRAWREDEMPTION']._serialized_start=368 - _globals['_EVENTWITHDRAWREDEMPTION']._serialized_end=536 - _globals['_EVENTUNDERWRITE']._serialized_start=539 - _globals['_EVENTUNDERWRITE']._serialized_end=734 - _globals['_EVENTINSURANCEWITHDRAW']._serialized_start=737 - _globals['_EVENTINSURANCEWITHDRAW']._serialized_end=892 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\037com.injective.insurance.v1beta1B\013EventsProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1" + ) + _globals["_EVENTWITHDRAWREDEMPTION"].fields_by_name["redeem_coin"]._loaded_options = None + _globals["_EVENTWITHDRAWREDEMPTION"].fields_by_name["redeem_coin"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTUNDERWRITE"].fields_by_name["deposit"]._loaded_options = None + _globals["_EVENTUNDERWRITE"].fields_by_name["deposit"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTUNDERWRITE"].fields_by_name["shares"]._loaded_options = None + _globals["_EVENTUNDERWRITE"].fields_by_name["shares"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTINSURANCEWITHDRAW"].fields_by_name["withdrawal"]._loaded_options = None + _globals["_EVENTINSURANCEWITHDRAW"].fields_by_name["withdrawal"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTINSURANCEFUNDUPDATE"]._serialized_start = 172 + _globals["_EVENTINSURANCEFUNDUPDATE"]._serialized_end = 262 + _globals["_EVENTREQUESTREDEMPTION"]._serialized_start = 264 + _globals["_EVENTREQUESTREDEMPTION"]._serialized_end = 365 + _globals["_EVENTWITHDRAWREDEMPTION"]._serialized_start = 368 + _globals["_EVENTWITHDRAWREDEMPTION"]._serialized_end = 536 + _globals["_EVENTUNDERWRITE"]._serialized_start = 539 + _globals["_EVENTUNDERWRITE"]._serialized_end = 734 + _globals["_EVENTINSURANCEWITHDRAW"]._serialized_start = 737 + _globals["_EVENTINSURANCEWITHDRAW"]._serialized_end = 892 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py +++ b/pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py index 684b7b57..36ac36e2 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py @@ -7,29 +7,36 @@ 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 pyinjective.proto.injective.insurance.v1beta1 import insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2 +from pyinjective.proto.injective.insurance.v1beta1 import ( + insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2, +) from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/insurance/v1beta1/genesis.proto\x12\x1binjective.insurance.v1beta1\x1a+injective/insurance/v1beta1/insurance.proto\x1a\x14gogoproto/gogo.proto\"\x82\x03\n\x0cGenesisState\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12Y\n\x0finsurance_funds\x18\x02 \x03(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundB\x04\xc8\xde\x1f\x00R\x0einsuranceFunds\x12\x66\n\x13redemption_schedule\x18\x03 \x03(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleB\x04\xc8\xde\x1f\x00R\x12redemptionSchedule\x12-\n\x13next_share_denom_id\x18\x04 \x01(\x04R\x10nextShareDenomId\x12=\n\x1bnext_redemption_schedule_id\x18\x05 \x01(\x04R\x18nextRedemptionScheduleIdB\x8e\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0cGenesisProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n)injective/insurance/v1beta1/genesis.proto\x12\x1binjective.insurance.v1beta1\x1a+injective/insurance/v1beta1/insurance.proto\x1a\x14gogoproto/gogo.proto\"\x82\x03\n\x0cGenesisState\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12Y\n\x0finsurance_funds\x18\x02 \x03(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundB\x04\xc8\xde\x1f\x00R\x0einsuranceFunds\x12\x66\n\x13redemption_schedule\x18\x03 \x03(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleB\x04\xc8\xde\x1f\x00R\x12redemptionSchedule\x12-\n\x13next_share_denom_id\x18\x04 \x01(\x04R\x10nextShareDenomId\x12=\n\x1bnext_redemption_schedule_id\x18\x05 \x01(\x04R\x18nextRedemptionScheduleIdB\x8e\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0cGenesisProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.insurance.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\014GenesisProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['insurance_funds']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['insurance_funds']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['redemption_schedule']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['redemption_schedule']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=142 - _globals['_GENESISSTATE']._serialized_end=528 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\037com.injective.insurance.v1beta1B\014GenesisProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1" + ) + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["insurance_funds"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["insurance_funds"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["redemption_schedule"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["redemption_schedule"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"]._serialized_start = 142 + _globals["_GENESISSTATE"]._serialized_end = 528 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py index f62013cb..efb5836a 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py @@ -7,6 +7,7 @@ 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() @@ -20,32 +21,48 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+injective/insurance/v1beta1/insurance.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\xd7\x01\n\x06Params\x12\xb1\x01\n)default_redemption_notice_period_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB<\xc8\xde\x1f\x00\xf2\xde\x1f\x30yaml:\"default_redemption_notice_period_duration\"\x98\xdf\x1f\x01R%defaultRedemptionNoticePeriodDuration:\x19\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x10insurance/Params\"\xec\x04\n\rInsuranceFund\x12#\n\rdeposit_denom\x18\x01 \x01(\tR\x0c\x64\x65positDenom\x12;\n\x1ainsurance_pool_token_denom\x18\x02 \x01(\tR\x17insurancePoolTokenDenom\x12\x9a\x01\n!redemption_notice_period_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB4\xc8\xde\x1f\x00\xf2\xde\x1f(yaml:\"redemption_notice_period_duration\"\x98\xdf\x1f\x01R\x1eredemptionNoticePeriodDuration\x12\x37\n\x07\x62\x61lance\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07\x62\x61lance\x12>\n\x0btotal_share\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\ntotalShare\x12\x1b\n\tmarket_id\x18\x06 \x01(\tR\x08marketId\x12#\n\rmarket_ticker\x18\x07 \x01(\tR\x0cmarketTicker\x12\x1f\n\x0boracle_base\x18\x08 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\t \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\n \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\x0b \x01(\x03R\x06\x65xpiry\"\xb1\x02\n\x12RedemptionSchedule\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x1a\n\x08marketId\x18\x02 \x01(\tR\x08marketId\x12\x1a\n\x08redeemer\x18\x03 \x01(\tR\x08redeemer\x12\x84\x01\n\x19\x63laimable_redemption_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB,\xc8\xde\x1f\x00\xf2\xde\x1f yaml:\"claimable_redemption_time\"\x90\xdf\x1f\x01R\x17\x63laimableRedemptionTime\x12L\n\x11redemption_amount\x18\x05 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x10redemptionAmountB\x90\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0eInsuranceProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n+injective/insurance/v1beta1/insurance.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto"\xd7\x01\n\x06Params\x12\xb1\x01\n)default_redemption_notice_period_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB<\xc8\xde\x1f\x00\xf2\xde\x1f\x30yaml:"default_redemption_notice_period_duration"\x98\xdf\x1f\x01R%defaultRedemptionNoticePeriodDuration:\x19\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x10insurance/Params"\xec\x04\n\rInsuranceFund\x12#\n\rdeposit_denom\x18\x01 \x01(\tR\x0c\x64\x65positDenom\x12;\n\x1ainsurance_pool_token_denom\x18\x02 \x01(\tR\x17insurancePoolTokenDenom\x12\x9a\x01\n!redemption_notice_period_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB4\xc8\xde\x1f\x00\xf2\xde\x1f(yaml:"redemption_notice_period_duration"\x98\xdf\x1f\x01R\x1eredemptionNoticePeriodDuration\x12\x37\n\x07\x62\x61lance\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07\x62\x61lance\x12>\n\x0btotal_share\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\ntotalShare\x12\x1b\n\tmarket_id\x18\x06 \x01(\tR\x08marketId\x12#\n\rmarket_ticker\x18\x07 \x01(\tR\x0cmarketTicker\x12\x1f\n\x0boracle_base\x18\x08 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\t \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\n \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\x0b \x01(\x03R\x06\x65xpiry"\xb1\x02\n\x12RedemptionSchedule\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x1a\n\x08marketId\x18\x02 \x01(\tR\x08marketId\x12\x1a\n\x08redeemer\x18\x03 \x01(\tR\x08redeemer\x12\x84\x01\n\x19\x63laimable_redemption_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB,\xc8\xde\x1f\x00\xf2\xde\x1f yaml:"claimable_redemption_time"\x90\xdf\x1f\x01R\x17\x63laimableRedemptionTime\x12L\n\x11redemption_amount\x18\x05 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x10redemptionAmountB\x90\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0eInsuranceProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.insurance_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.insurance.v1beta1.insurance_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\016InsuranceProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' - _globals['_PARAMS'].fields_by_name['default_redemption_notice_period_duration']._loaded_options = None - _globals['_PARAMS'].fields_by_name['default_redemption_notice_period_duration']._serialized_options = b'\310\336\037\000\362\336\0370yaml:\"default_redemption_notice_period_duration\"\230\337\037\001' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\020insurance/Params' - _globals['_INSURANCEFUND'].fields_by_name['redemption_notice_period_duration']._loaded_options = None - _globals['_INSURANCEFUND'].fields_by_name['redemption_notice_period_duration']._serialized_options = b'\310\336\037\000\362\336\037(yaml:\"redemption_notice_period_duration\"\230\337\037\001' - _globals['_INSURANCEFUND'].fields_by_name['balance']._loaded_options = None - _globals['_INSURANCEFUND'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_INSURANCEFUND'].fields_by_name['total_share']._loaded_options = None - _globals['_INSURANCEFUND'].fields_by_name['total_share']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_REDEMPTIONSCHEDULE'].fields_by_name['claimable_redemption_time']._loaded_options = None - _globals['_REDEMPTIONSCHEDULE'].fields_by_name['claimable_redemption_time']._serialized_options = b'\310\336\037\000\362\336\037 yaml:\"claimable_redemption_time\"\220\337\037\001' - _globals['_REDEMPTIONSCHEDULE'].fields_by_name['redemption_amount']._loaded_options = None - _globals['_REDEMPTIONSCHEDULE'].fields_by_name['redemption_amount']._serialized_options = b'\310\336\037\000' - _globals['_PARAMS']._serialized_start=254 - _globals['_PARAMS']._serialized_end=469 - _globals['_INSURANCEFUND']._serialized_start=472 - _globals['_INSURANCEFUND']._serialized_end=1092 - _globals['_REDEMPTIONSCHEDULE']._serialized_start=1095 - _globals['_REDEMPTIONSCHEDULE']._serialized_end=1400 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\037com.injective.insurance.v1beta1B\016InsuranceProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1" + ) + _globals["_PARAMS"].fields_by_name["default_redemption_notice_period_duration"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "default_redemption_notice_period_duration" + ]._serialized_options = ( + b'\310\336\037\000\362\336\0370yaml:"default_redemption_notice_period_duration"\230\337\037\001' + ) + _globals["_PARAMS"]._loaded_options = None + _globals["_PARAMS"]._serialized_options = b"\350\240\037\001\212\347\260*\020insurance/Params" + _globals["_INSURANCEFUND"].fields_by_name["redemption_notice_period_duration"]._loaded_options = None + _globals["_INSURANCEFUND"].fields_by_name[ + "redemption_notice_period_duration" + ]._serialized_options = b'\310\336\037\000\362\336\037(yaml:"redemption_notice_period_duration"\230\337\037\001' + _globals["_INSURANCEFUND"].fields_by_name["balance"]._loaded_options = None + _globals["_INSURANCEFUND"].fields_by_name[ + "balance" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_INSURANCEFUND"].fields_by_name["total_share"]._loaded_options = None + _globals["_INSURANCEFUND"].fields_by_name[ + "total_share" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_REDEMPTIONSCHEDULE"].fields_by_name["claimable_redemption_time"]._loaded_options = None + _globals["_REDEMPTIONSCHEDULE"].fields_by_name[ + "claimable_redemption_time" + ]._serialized_options = b'\310\336\037\000\362\336\037 yaml:"claimable_redemption_time"\220\337\037\001' + _globals["_REDEMPTIONSCHEDULE"].fields_by_name["redemption_amount"]._loaded_options = None + _globals["_REDEMPTIONSCHEDULE"].fields_by_name["redemption_amount"]._serialized_options = b"\310\336\037\000" + _globals["_PARAMS"]._serialized_start = 254 + _globals["_PARAMS"]._serialized_end = 469 + _globals["_INSURANCEFUND"]._serialized_start = 472 + _globals["_INSURANCEFUND"]._serialized_end = 1092 + _globals["_REDEMPTIONSCHEDULE"]._serialized_start = 1095 + _globals["_REDEMPTIONSCHEDULE"]._serialized_end = 1400 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2_grpc.py +++ b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py index 2562ac5a..c29e3a67 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py @@ -7,70 +7,91 @@ 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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.injective.insurance.v1beta1 import insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2 +from pyinjective.proto.injective.insurance.v1beta1 import ( + insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2, +) from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.injective.insurance.v1beta1 import genesis_pb2 as injective_dot_insurance_dot_v1beta1_dot_genesis__pb2 +from pyinjective.proto.injective.insurance.v1beta1 import ( + genesis_pb2 as injective_dot_insurance_dot_v1beta1_dot_genesis__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/insurance/v1beta1/query.proto\x12\x1binjective.insurance.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a+injective/insurance/v1beta1/insurance.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a)injective/insurance/v1beta1/genesis.proto\"\x1d\n\x1bQueryInsuranceParamsRequest\"a\n\x1cQueryInsuranceParamsResponse\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"8\n\x19QueryInsuranceFundRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\\\n\x1aQueryInsuranceFundResponse\x12>\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundR\x04\x66und\"\x1c\n\x1aQueryInsuranceFundsRequest\"e\n\x1bQueryInsuranceFundsResponse\x12\x46\n\x05\x66unds\x18\x01 \x03(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundB\x04\xc8\xde\x1f\x00R\x05\x66unds\"X\n QueryEstimatedRedemptionsRequest\x12\x1a\n\x08marketId\x18\x01 \x01(\tR\x08marketId\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"\\\n!QueryEstimatedRedemptionsResponse\x12\x37\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"V\n\x1eQueryPendingRedemptionsRequest\x12\x1a\n\x08marketId\x18\x01 \x01(\tR\x08marketId\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"Z\n\x1fQueryPendingRedemptionsResponse\x12\x37\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\x19\n\x17QueryModuleStateRequest\"[\n\x18QueryModuleStateResponse\x12?\n\x05state\x18\x01 \x01(\x0b\x32).injective.insurance.v1beta1.GenesisStateR\x05state2\x96\t\n\x05Query\x12\xb3\x01\n\x0fInsuranceParams\x12\x38.injective.insurance.v1beta1.QueryInsuranceParamsRequest\x1a\x39.injective.insurance.v1beta1.QueryInsuranceParamsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/injective/insurance/v1beta1/params\x12\xc1\x01\n\rInsuranceFund\x12\x36.injective.insurance.v1beta1.QueryInsuranceFundRequest\x1a\x37.injective.insurance.v1beta1.QueryInsuranceFundResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/insurance/v1beta1/insurance_fund/{market_id}\x12\xb9\x01\n\x0eInsuranceFunds\x12\x37.injective.insurance.v1beta1.QueryInsuranceFundsRequest\x1a\x38.injective.insurance.v1beta1.QueryInsuranceFundsResponse\"4\x82\xd3\xe4\x93\x02.\x12,/injective/insurance/v1beta1/insurance_funds\x12\xd1\x01\n\x14\x45stimatedRedemptions\x12=.injective.insurance.v1beta1.QueryEstimatedRedemptionsRequest\x1a>.injective.insurance.v1beta1.QueryEstimatedRedemptionsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/insurance/v1beta1/estimated_redemptions\x12\xc9\x01\n\x12PendingRedemptions\x12;.injective.insurance.v1beta1.QueryPendingRedemptionsRequest\x1a<.injective.insurance.v1beta1.QueryPendingRedemptionsResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/insurance/v1beta1/pending_redemptions\x12\xb6\x01\n\x14InsuranceModuleState\x12\x34.injective.insurance.v1beta1.QueryModuleStateRequest\x1a\x35.injective.insurance.v1beta1.QueryModuleStateResponse\"1\x82\xd3\xe4\x93\x02+\x12)/injective/insurance/v1beta1/module_stateB\x8c\x02\n\x1f\x63om.injective.insurance.v1beta1B\nQueryProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\'injective/insurance/v1beta1/query.proto\x12\x1binjective.insurance.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a+injective/insurance/v1beta1/insurance.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a)injective/insurance/v1beta1/genesis.proto"\x1d\n\x1bQueryInsuranceParamsRequest"a\n\x1cQueryInsuranceParamsResponse\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"8\n\x19QueryInsuranceFundRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"\\\n\x1aQueryInsuranceFundResponse\x12>\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundR\x04\x66und"\x1c\n\x1aQueryInsuranceFundsRequest"e\n\x1bQueryInsuranceFundsResponse\x12\x46\n\x05\x66unds\x18\x01 \x03(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundB\x04\xc8\xde\x1f\x00R\x05\x66unds"X\n QueryEstimatedRedemptionsRequest\x12\x1a\n\x08marketId\x18\x01 \x01(\tR\x08marketId\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress"\\\n!QueryEstimatedRedemptionsResponse\x12\x37\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"V\n\x1eQueryPendingRedemptionsRequest\x12\x1a\n\x08marketId\x18\x01 \x01(\tR\x08marketId\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress"Z\n\x1fQueryPendingRedemptionsResponse\x12\x37\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"\x19\n\x17QueryModuleStateRequest"[\n\x18QueryModuleStateResponse\x12?\n\x05state\x18\x01 \x01(\x0b\x32).injective.insurance.v1beta1.GenesisStateR\x05state2\x96\t\n\x05Query\x12\xb3\x01\n\x0fInsuranceParams\x12\x38.injective.insurance.v1beta1.QueryInsuranceParamsRequest\x1a\x39.injective.insurance.v1beta1.QueryInsuranceParamsResponse"+\x82\xd3\xe4\x93\x02%\x12#/injective/insurance/v1beta1/params\x12\xc1\x01\n\rInsuranceFund\x12\x36.injective.insurance.v1beta1.QueryInsuranceFundRequest\x1a\x37.injective.insurance.v1beta1.QueryInsuranceFundResponse"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/insurance/v1beta1/insurance_fund/{market_id}\x12\xb9\x01\n\x0eInsuranceFunds\x12\x37.injective.insurance.v1beta1.QueryInsuranceFundsRequest\x1a\x38.injective.insurance.v1beta1.QueryInsuranceFundsResponse"4\x82\xd3\xe4\x93\x02.\x12,/injective/insurance/v1beta1/insurance_funds\x12\xd1\x01\n\x14\x45stimatedRedemptions\x12=.injective.insurance.v1beta1.QueryEstimatedRedemptionsRequest\x1a>.injective.insurance.v1beta1.QueryEstimatedRedemptionsResponse":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/insurance/v1beta1/estimated_redemptions\x12\xc9\x01\n\x12PendingRedemptions\x12;.injective.insurance.v1beta1.QueryPendingRedemptionsRequest\x1a<.injective.insurance.v1beta1.QueryPendingRedemptionsResponse"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/insurance/v1beta1/pending_redemptions\x12\xb6\x01\n\x14InsuranceModuleState\x12\x34.injective.insurance.v1beta1.QueryModuleStateRequest\x1a\x35.injective.insurance.v1beta1.QueryModuleStateResponse"1\x82\xd3\xe4\x93\x02+\x12)/injective/insurance/v1beta1/module_stateB\x8c\x02\n\x1f\x63om.injective.insurance.v1beta1B\nQueryProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.insurance.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\nQueryProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' - _globals['_QUERYINSURANCEPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYINSURANCEPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_QUERYINSURANCEFUNDSRESPONSE'].fields_by_name['funds']._loaded_options = None - _globals['_QUERYINSURANCEFUNDSRESPONSE'].fields_by_name['funds']._serialized_options = b'\310\336\037\000' - _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE'].fields_by_name['amount']._loaded_options = None - _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_QUERYPENDINGREDEMPTIONSRESPONSE'].fields_by_name['amount']._loaded_options = None - _globals['_QUERYPENDINGREDEMPTIONSRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_QUERY'].methods_by_name['InsuranceParams']._loaded_options = None - _globals['_QUERY'].methods_by_name['InsuranceParams']._serialized_options = b'\202\323\344\223\002%\022#/injective/insurance/v1beta1/params' - _globals['_QUERY'].methods_by_name['InsuranceFund']._loaded_options = None - _globals['_QUERY'].methods_by_name['InsuranceFund']._serialized_options = b'\202\323\344\223\0029\0227/injective/insurance/v1beta1/insurance_fund/{market_id}' - _globals['_QUERY'].methods_by_name['InsuranceFunds']._loaded_options = None - _globals['_QUERY'].methods_by_name['InsuranceFunds']._serialized_options = b'\202\323\344\223\002.\022,/injective/insurance/v1beta1/insurance_funds' - _globals['_QUERY'].methods_by_name['EstimatedRedemptions']._loaded_options = None - _globals['_QUERY'].methods_by_name['EstimatedRedemptions']._serialized_options = b'\202\323\344\223\0024\0222/injective/insurance/v1beta1/estimated_redemptions' - _globals['_QUERY'].methods_by_name['PendingRedemptions']._loaded_options = None - _globals['_QUERY'].methods_by_name['PendingRedemptions']._serialized_options = b'\202\323\344\223\0022\0220/injective/insurance/v1beta1/pending_redemptions' - _globals['_QUERY'].methods_by_name['InsuranceModuleState']._loaded_options = None - _globals['_QUERY'].methods_by_name['InsuranceModuleState']._serialized_options = b'\202\323\344\223\002+\022)/injective/insurance/v1beta1/module_state' - _globals['_QUERYINSURANCEPARAMSREQUEST']._serialized_start=244 - _globals['_QUERYINSURANCEPARAMSREQUEST']._serialized_end=273 - _globals['_QUERYINSURANCEPARAMSRESPONSE']._serialized_start=275 - _globals['_QUERYINSURANCEPARAMSRESPONSE']._serialized_end=372 - _globals['_QUERYINSURANCEFUNDREQUEST']._serialized_start=374 - _globals['_QUERYINSURANCEFUNDREQUEST']._serialized_end=430 - _globals['_QUERYINSURANCEFUNDRESPONSE']._serialized_start=432 - _globals['_QUERYINSURANCEFUNDRESPONSE']._serialized_end=524 - _globals['_QUERYINSURANCEFUNDSREQUEST']._serialized_start=526 - _globals['_QUERYINSURANCEFUNDSREQUEST']._serialized_end=554 - _globals['_QUERYINSURANCEFUNDSRESPONSE']._serialized_start=556 - _globals['_QUERYINSURANCEFUNDSRESPONSE']._serialized_end=657 - _globals['_QUERYESTIMATEDREDEMPTIONSREQUEST']._serialized_start=659 - _globals['_QUERYESTIMATEDREDEMPTIONSREQUEST']._serialized_end=747 - _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE']._serialized_start=749 - _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE']._serialized_end=841 - _globals['_QUERYPENDINGREDEMPTIONSREQUEST']._serialized_start=843 - _globals['_QUERYPENDINGREDEMPTIONSREQUEST']._serialized_end=929 - _globals['_QUERYPENDINGREDEMPTIONSRESPONSE']._serialized_start=931 - _globals['_QUERYPENDINGREDEMPTIONSRESPONSE']._serialized_end=1021 - _globals['_QUERYMODULESTATEREQUEST']._serialized_start=1023 - _globals['_QUERYMODULESTATEREQUEST']._serialized_end=1048 - _globals['_QUERYMODULESTATERESPONSE']._serialized_start=1050 - _globals['_QUERYMODULESTATERESPONSE']._serialized_end=1141 - _globals['_QUERY']._serialized_start=1144 - _globals['_QUERY']._serialized_end=2318 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\037com.injective.insurance.v1beta1B\nQueryProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1" + ) + _globals["_QUERYINSURANCEPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None + _globals["_QUERYINSURANCEPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYINSURANCEFUNDSRESPONSE"].fields_by_name["funds"]._loaded_options = None + _globals["_QUERYINSURANCEFUNDSRESPONSE"].fields_by_name["funds"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYESTIMATEDREDEMPTIONSRESPONSE"].fields_by_name["amount"]._loaded_options = None + _globals["_QUERYESTIMATEDREDEMPTIONSRESPONSE"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYPENDINGREDEMPTIONSRESPONSE"].fields_by_name["amount"]._loaded_options = None + _globals["_QUERYPENDINGREDEMPTIONSRESPONSE"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" + _globals["_QUERY"].methods_by_name["InsuranceParams"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "InsuranceParams" + ]._serialized_options = b"\202\323\344\223\002%\022#/injective/insurance/v1beta1/params" + _globals["_QUERY"].methods_by_name["InsuranceFund"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "InsuranceFund" + ]._serialized_options = b"\202\323\344\223\0029\0227/injective/insurance/v1beta1/insurance_fund/{market_id}" + _globals["_QUERY"].methods_by_name["InsuranceFunds"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "InsuranceFunds" + ]._serialized_options = b"\202\323\344\223\002.\022,/injective/insurance/v1beta1/insurance_funds" + _globals["_QUERY"].methods_by_name["EstimatedRedemptions"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "EstimatedRedemptions" + ]._serialized_options = b"\202\323\344\223\0024\0222/injective/insurance/v1beta1/estimated_redemptions" + _globals["_QUERY"].methods_by_name["PendingRedemptions"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "PendingRedemptions" + ]._serialized_options = b"\202\323\344\223\0022\0220/injective/insurance/v1beta1/pending_redemptions" + _globals["_QUERY"].methods_by_name["InsuranceModuleState"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "InsuranceModuleState" + ]._serialized_options = b"\202\323\344\223\002+\022)/injective/insurance/v1beta1/module_state" + _globals["_QUERYINSURANCEPARAMSREQUEST"]._serialized_start = 244 + _globals["_QUERYINSURANCEPARAMSREQUEST"]._serialized_end = 273 + _globals["_QUERYINSURANCEPARAMSRESPONSE"]._serialized_start = 275 + _globals["_QUERYINSURANCEPARAMSRESPONSE"]._serialized_end = 372 + _globals["_QUERYINSURANCEFUNDREQUEST"]._serialized_start = 374 + _globals["_QUERYINSURANCEFUNDREQUEST"]._serialized_end = 430 + _globals["_QUERYINSURANCEFUNDRESPONSE"]._serialized_start = 432 + _globals["_QUERYINSURANCEFUNDRESPONSE"]._serialized_end = 524 + _globals["_QUERYINSURANCEFUNDSREQUEST"]._serialized_start = 526 + _globals["_QUERYINSURANCEFUNDSREQUEST"]._serialized_end = 554 + _globals["_QUERYINSURANCEFUNDSRESPONSE"]._serialized_start = 556 + _globals["_QUERYINSURANCEFUNDSRESPONSE"]._serialized_end = 657 + _globals["_QUERYESTIMATEDREDEMPTIONSREQUEST"]._serialized_start = 659 + _globals["_QUERYESTIMATEDREDEMPTIONSREQUEST"]._serialized_end = 747 + _globals["_QUERYESTIMATEDREDEMPTIONSRESPONSE"]._serialized_start = 749 + _globals["_QUERYESTIMATEDREDEMPTIONSRESPONSE"]._serialized_end = 841 + _globals["_QUERYPENDINGREDEMPTIONSREQUEST"]._serialized_start = 843 + _globals["_QUERYPENDINGREDEMPTIONSREQUEST"]._serialized_end = 929 + _globals["_QUERYPENDINGREDEMPTIONSRESPONSE"]._serialized_start = 931 + _globals["_QUERYPENDINGREDEMPTIONSRESPONSE"]._serialized_end = 1021 + _globals["_QUERYMODULESTATEREQUEST"]._serialized_start = 1023 + _globals["_QUERYMODULESTATEREQUEST"]._serialized_end = 1048 + _globals["_QUERYMODULESTATERESPONSE"]._serialized_start = 1050 + _globals["_QUERYMODULESTATERESPONSE"]._serialized_end = 1141 + _globals["_QUERY"]._serialized_start = 1144 + _globals["_QUERY"]._serialized_end = 2318 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/query_pb2_grpc.py index 3404f464..5f866b75 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/injective/insurance/v1beta1/query_pb2_grpc.py @@ -2,12 +2,13 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.injective.insurance.v1beta1 import query_pb2 as injective_dot_insurance_dot_v1beta1_dot_query__pb2 +from pyinjective.proto.injective.insurance.v1beta1 import ( + query_pb2 as injective_dot_insurance_dot_v1beta1_dot_query__pb2, +) class QueryStub(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,144 +17,144 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.InsuranceParams = channel.unary_unary( - '/injective.insurance.v1beta1.Query/InsuranceParams', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsResponse.FromString, - _registered_method=True) + "/injective.insurance.v1beta1.Query/InsuranceParams", + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsResponse.FromString, + _registered_method=True, + ) self.InsuranceFund = channel.unary_unary( - '/injective.insurance.v1beta1.Query/InsuranceFund', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundResponse.FromString, - _registered_method=True) + "/injective.insurance.v1beta1.Query/InsuranceFund", + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundResponse.FromString, + _registered_method=True, + ) self.InsuranceFunds = channel.unary_unary( - '/injective.insurance.v1beta1.Query/InsuranceFunds', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsResponse.FromString, - _registered_method=True) + "/injective.insurance.v1beta1.Query/InsuranceFunds", + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsResponse.FromString, + _registered_method=True, + ) self.EstimatedRedemptions = channel.unary_unary( - '/injective.insurance.v1beta1.Query/EstimatedRedemptions', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsResponse.FromString, - _registered_method=True) + "/injective.insurance.v1beta1.Query/EstimatedRedemptions", + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsResponse.FromString, + _registered_method=True, + ) self.PendingRedemptions = channel.unary_unary( - '/injective.insurance.v1beta1.Query/PendingRedemptions', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsResponse.FromString, - _registered_method=True) + "/injective.insurance.v1beta1.Query/PendingRedemptions", + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsResponse.FromString, + _registered_method=True, + ) self.InsuranceModuleState = channel.unary_unary( - '/injective.insurance.v1beta1.Query/InsuranceModuleState', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, - _registered_method=True) + "/injective.insurance.v1beta1.Query/InsuranceModuleState", + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def InsuranceParams(self, request, context): - """Retrieves insurance params - """ + """Retrieves insurance params""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def InsuranceFund(self, request, context): - """Retrieves individual insurance fund information from market id - """ + """Retrieves individual insurance fund information from market id""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def InsuranceFunds(self, request, context): - """Retrieves all insurance funds - """ + """Retrieves all insurance funds""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def EstimatedRedemptions(self, request, context): """Retrives the value of insurance fund share token at current price (not pending redemption) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PendingRedemptions(self, request, context): - """Retrieves pending redemptions' share token at current price - """ + """Retrieves pending redemptions' share token at current price""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def InsuranceModuleState(self, request, context): - """Retrieves the entire insurance module's state - """ + """Retrieves the entire insurance module's state""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'InsuranceParams': grpc.unary_unary_rpc_method_handler( - servicer.InsuranceParams, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsResponse.SerializeToString, - ), - 'InsuranceFund': grpc.unary_unary_rpc_method_handler( - servicer.InsuranceFund, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundResponse.SerializeToString, - ), - 'InsuranceFunds': grpc.unary_unary_rpc_method_handler( - servicer.InsuranceFunds, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsResponse.SerializeToString, - ), - 'EstimatedRedemptions': grpc.unary_unary_rpc_method_handler( - servicer.EstimatedRedemptions, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsResponse.SerializeToString, - ), - 'PendingRedemptions': grpc.unary_unary_rpc_method_handler( - servicer.PendingRedemptions, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsResponse.SerializeToString, - ), - 'InsuranceModuleState': grpc.unary_unary_rpc_method_handler( - servicer.InsuranceModuleState, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, - ), + "InsuranceParams": grpc.unary_unary_rpc_method_handler( + servicer.InsuranceParams, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsResponse.SerializeToString, + ), + "InsuranceFund": grpc.unary_unary_rpc_method_handler( + servicer.InsuranceFund, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundResponse.SerializeToString, + ), + "InsuranceFunds": grpc.unary_unary_rpc_method_handler( + servicer.InsuranceFunds, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsResponse.SerializeToString, + ), + "EstimatedRedemptions": grpc.unary_unary_rpc_method_handler( + servicer.EstimatedRedemptions, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsResponse.SerializeToString, + ), + "PendingRedemptions": grpc.unary_unary_rpc_method_handler( + servicer.PendingRedemptions, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsResponse.SerializeToString, + ), + "InsuranceModuleState": grpc.unary_unary_rpc_method_handler( + servicer.InsuranceModuleState, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.insurance.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("injective.insurance.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.insurance.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("injective.insurance.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" @staticmethod - def InsuranceParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def InsuranceParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.insurance.v1beta1.Query/InsuranceParams', + "/injective.insurance.v1beta1.Query/InsuranceParams", injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsRequest.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsResponse.FromString, options, @@ -164,23 +165,26 @@ def InsuranceParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def InsuranceFund(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def InsuranceFund( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.insurance.v1beta1.Query/InsuranceFund', + "/injective.insurance.v1beta1.Query/InsuranceFund", injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundRequest.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundResponse.FromString, options, @@ -191,23 +195,26 @@ def InsuranceFund(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def InsuranceFunds(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def InsuranceFunds( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.insurance.v1beta1.Query/InsuranceFunds', + "/injective.insurance.v1beta1.Query/InsuranceFunds", injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsRequest.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsResponse.FromString, options, @@ -218,23 +225,26 @@ def InsuranceFunds(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def EstimatedRedemptions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def EstimatedRedemptions( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.insurance.v1beta1.Query/EstimatedRedemptions', + "/injective.insurance.v1beta1.Query/EstimatedRedemptions", injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsRequest.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsResponse.FromString, options, @@ -245,23 +255,26 @@ def EstimatedRedemptions(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PendingRedemptions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PendingRedemptions( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.insurance.v1beta1.Query/PendingRedemptions', + "/injective.insurance.v1beta1.Query/PendingRedemptions", injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsRequest.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsResponse.FromString, options, @@ -272,23 +285,26 @@ def PendingRedemptions(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def InsuranceModuleState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def InsuranceModuleState( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.insurance.v1beta1.Query/InsuranceModuleState', + "/injective.insurance.v1beta1.Query/InsuranceModuleState", injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, options, @@ -299,4 +315,5 @@ def InsuranceModuleState(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py index b46ec667..63fca095 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,55 +17,69 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.injective.insurance.v1beta1 import insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2 +from pyinjective.proto.injective.insurance.v1beta1 import ( + insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2, +) from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/insurance/v1beta1/tx.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a+injective/insurance/v1beta1/insurance.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\x90\x03\n\x16MsgCreateInsuranceFund\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\x07 \x01(\x03R\x06\x65xpiry\x12H\n\x0finitial_deposit\x18\x08 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x0einitialDeposit:8\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* insurance/MsgCreateInsuranceFund\" \n\x1eMsgCreateInsuranceFundResponse\"\xb0\x01\n\rMsgUnderwrite\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x39\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit:/\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17insurance/MsgUnderwrite\"\x17\n\x15MsgUnderwriteResponse\"\xbc\x01\n\x14MsgRequestRedemption\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:6\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1einsurance/MsgRequestRedemption\"\x1e\n\x1cMsgRequestRedemptionResponse\"\xba\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x41\n\x06params\x18\x02 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:,\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x19insurance/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xfc\x03\n\x03Msg\x12\x87\x01\n\x13\x43reateInsuranceFund\x12\x33.injective.insurance.v1beta1.MsgCreateInsuranceFund\x1a;.injective.insurance.v1beta1.MsgCreateInsuranceFundResponse\x12l\n\nUnderwrite\x12*.injective.insurance.v1beta1.MsgUnderwrite\x1a\x32.injective.insurance.v1beta1.MsgUnderwriteResponse\x12\x81\x01\n\x11RequestRedemption\x12\x31.injective.insurance.v1beta1.MsgRequestRedemption\x1a\x39.injective.insurance.v1beta1.MsgRequestRedemptionResponse\x12r\n\x0cUpdateParams\x12,.injective.insurance.v1beta1.MsgUpdateParams\x1a\x34.injective.insurance.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x89\x02\n\x1f\x63om.injective.insurance.v1beta1B\x07TxProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$injective/insurance/v1beta1/tx.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a+injective/insurance/v1beta1/insurance.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto"\x90\x03\n\x16MsgCreateInsuranceFund\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\x07 \x01(\x03R\x06\x65xpiry\x12H\n\x0finitial_deposit\x18\x08 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x0einitialDeposit:8\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* insurance/MsgCreateInsuranceFund" \n\x1eMsgCreateInsuranceFundResponse"\xb0\x01\n\rMsgUnderwrite\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x39\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit:/\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17insurance/MsgUnderwrite"\x17\n\x15MsgUnderwriteResponse"\xbc\x01\n\x14MsgRequestRedemption\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:6\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1einsurance/MsgRequestRedemption"\x1e\n\x1cMsgRequestRedemptionResponse"\xba\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x41\n\x06params\x18\x02 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:,\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x19insurance/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2\xfc\x03\n\x03Msg\x12\x87\x01\n\x13\x43reateInsuranceFund\x12\x33.injective.insurance.v1beta1.MsgCreateInsuranceFund\x1a;.injective.insurance.v1beta1.MsgCreateInsuranceFundResponse\x12l\n\nUnderwrite\x12*.injective.insurance.v1beta1.MsgUnderwrite\x1a\x32.injective.insurance.v1beta1.MsgUnderwriteResponse\x12\x81\x01\n\x11RequestRedemption\x12\x31.injective.insurance.v1beta1.MsgRequestRedemption\x1a\x39.injective.insurance.v1beta1.MsgRequestRedemptionResponse\x12r\n\x0cUpdateParams\x12,.injective.insurance.v1beta1.MsgUpdateParams\x1a\x34.injective.insurance.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x89\x02\n\x1f\x63om.injective.insurance.v1beta1B\x07TxProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.insurance.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\007TxProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' - _globals['_MSGCREATEINSURANCEFUND'].fields_by_name['initial_deposit']._loaded_options = None - _globals['_MSGCREATEINSURANCEFUND'].fields_by_name['initial_deposit']._serialized_options = b'\310\336\037\000' - _globals['_MSGCREATEINSURANCEFUND']._loaded_options = None - _globals['_MSGCREATEINSURANCEFUND']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260* insurance/MsgCreateInsuranceFund' - _globals['_MSGUNDERWRITE'].fields_by_name['deposit']._loaded_options = None - _globals['_MSGUNDERWRITE'].fields_by_name['deposit']._serialized_options = b'\310\336\037\000' - _globals['_MSGUNDERWRITE']._loaded_options = None - _globals['_MSGUNDERWRITE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\027insurance/MsgUnderwrite' - _globals['_MSGREQUESTREDEMPTION'].fields_by_name['amount']._loaded_options = None - _globals['_MSGREQUESTREDEMPTION'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_MSGREQUESTREDEMPTION']._loaded_options = None - _globals['_MSGREQUESTREDEMPTION']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\036insurance/MsgRequestRedemption' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\031insurance/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGCREATEINSURANCEFUND']._serialized_start=279 - _globals['_MSGCREATEINSURANCEFUND']._serialized_end=679 - _globals['_MSGCREATEINSURANCEFUNDRESPONSE']._serialized_start=681 - _globals['_MSGCREATEINSURANCEFUNDRESPONSE']._serialized_end=713 - _globals['_MSGUNDERWRITE']._serialized_start=716 - _globals['_MSGUNDERWRITE']._serialized_end=892 - _globals['_MSGUNDERWRITERESPONSE']._serialized_start=894 - _globals['_MSGUNDERWRITERESPONSE']._serialized_end=917 - _globals['_MSGREQUESTREDEMPTION']._serialized_start=920 - _globals['_MSGREQUESTREDEMPTION']._serialized_end=1108 - _globals['_MSGREQUESTREDEMPTIONRESPONSE']._serialized_start=1110 - _globals['_MSGREQUESTREDEMPTIONRESPONSE']._serialized_end=1140 - _globals['_MSGUPDATEPARAMS']._serialized_start=1143 - _globals['_MSGUPDATEPARAMS']._serialized_end=1329 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1331 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1356 - _globals['_MSG']._serialized_start=1359 - _globals['_MSG']._serialized_end=1867 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\037com.injective.insurance.v1beta1B\007TxProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1" + ) + _globals["_MSGCREATEINSURANCEFUND"].fields_by_name["initial_deposit"]._loaded_options = None + _globals["_MSGCREATEINSURANCEFUND"].fields_by_name["initial_deposit"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCREATEINSURANCEFUND"]._loaded_options = None + _globals["_MSGCREATEINSURANCEFUND"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260* insurance/MsgCreateInsuranceFund" + ) + _globals["_MSGUNDERWRITE"].fields_by_name["deposit"]._loaded_options = None + _globals["_MSGUNDERWRITE"].fields_by_name["deposit"]._serialized_options = b"\310\336\037\000" + _globals["_MSGUNDERWRITE"]._loaded_options = None + _globals["_MSGUNDERWRITE"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\027insurance/MsgUnderwrite" + ) + _globals["_MSGREQUESTREDEMPTION"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGREQUESTREDEMPTION"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" + _globals["_MSGREQUESTREDEMPTION"]._loaded_options = None + _globals["_MSGREQUESTREDEMPTION"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\036insurance/MsgRequestRedemption" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*\031insurance/MsgUpdateParams" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGCREATEINSURANCEFUND"]._serialized_start = 279 + _globals["_MSGCREATEINSURANCEFUND"]._serialized_end = 679 + _globals["_MSGCREATEINSURANCEFUNDRESPONSE"]._serialized_start = 681 + _globals["_MSGCREATEINSURANCEFUNDRESPONSE"]._serialized_end = 713 + _globals["_MSGUNDERWRITE"]._serialized_start = 716 + _globals["_MSGUNDERWRITE"]._serialized_end = 892 + _globals["_MSGUNDERWRITERESPONSE"]._serialized_start = 894 + _globals["_MSGUNDERWRITERESPONSE"]._serialized_end = 917 + _globals["_MSGREQUESTREDEMPTION"]._serialized_start = 920 + _globals["_MSGREQUESTREDEMPTION"]._serialized_end = 1108 + _globals["_MSGREQUESTREDEMPTIONRESPONSE"]._serialized_start = 1110 + _globals["_MSGREQUESTREDEMPTIONRESPONSE"]._serialized_end = 1140 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 1143 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 1329 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1331 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1356 + _globals["_MSG"]._serialized_start = 1359 + _globals["_MSG"]._serialized_end = 1867 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2_grpc.py index b3f99501..842c287c 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the insurance Msg service. - """ + """Msg defines the insurance Msg service.""" def __init__(self, channel): """Constructor. @@ -16,110 +15,112 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.CreateInsuranceFund = channel.unary_unary( - '/injective.insurance.v1beta1.Msg/CreateInsuranceFund', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFund.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFundResponse.FromString, - _registered_method=True) + "/injective.insurance.v1beta1.Msg/CreateInsuranceFund", + request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFund.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFundResponse.FromString, + _registered_method=True, + ) self.Underwrite = channel.unary_unary( - '/injective.insurance.v1beta1.Msg/Underwrite', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwrite.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwriteResponse.FromString, - _registered_method=True) + "/injective.insurance.v1beta1.Msg/Underwrite", + request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwrite.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwriteResponse.FromString, + _registered_method=True, + ) self.RequestRedemption = channel.unary_unary( - '/injective.insurance.v1beta1.Msg/RequestRedemption', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemption.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemptionResponse.FromString, - _registered_method=True) + "/injective.insurance.v1beta1.Msg/RequestRedemption", + request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemption.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemptionResponse.FromString, + _registered_method=True, + ) self.UpdateParams = channel.unary_unary( - '/injective.insurance.v1beta1.Msg/UpdateParams', - request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/injective.insurance.v1beta1.Msg/UpdateParams", + request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the insurance Msg service. - """ + """Msg defines the insurance Msg service.""" def CreateInsuranceFund(self, request, context): - """CreateInsuranceFund defines a method for creating an insurance fund - """ + """CreateInsuranceFund defines a method for creating an insurance fund""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Underwrite(self, request, context): """Underwrite defines a method for depositing tokens to underwrite an insurance fund """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RequestRedemption(self, request, context): """RequestRedemption defines a method for requesting a redemption of the sender's insurance fund tokens """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateParams(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'CreateInsuranceFund': grpc.unary_unary_rpc_method_handler( - servicer.CreateInsuranceFund, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFund.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFundResponse.SerializeToString, - ), - 'Underwrite': grpc.unary_unary_rpc_method_handler( - servicer.Underwrite, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwrite.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwriteResponse.SerializeToString, - ), - 'RequestRedemption': grpc.unary_unary_rpc_method_handler( - servicer.RequestRedemption, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemption.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemptionResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + "CreateInsuranceFund": grpc.unary_unary_rpc_method_handler( + servicer.CreateInsuranceFund, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFund.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFundResponse.SerializeToString, + ), + "Underwrite": grpc.unary_unary_rpc_method_handler( + servicer.Underwrite, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwrite.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwriteResponse.SerializeToString, + ), + "RequestRedemption": grpc.unary_unary_rpc_method_handler( + servicer.RequestRedemption, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemption.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemptionResponse.SerializeToString, + ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.insurance.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("injective.insurance.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.insurance.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("injective.insurance.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the insurance Msg service. - """ + """Msg defines the insurance Msg service.""" @staticmethod - def CreateInsuranceFund(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreateInsuranceFund( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.insurance.v1beta1.Msg/CreateInsuranceFund', + "/injective.insurance.v1beta1.Msg/CreateInsuranceFund", injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFund.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFundResponse.FromString, options, @@ -130,23 +131,26 @@ def CreateInsuranceFund(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Underwrite(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Underwrite( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.insurance.v1beta1.Msg/Underwrite', + "/injective.insurance.v1beta1.Msg/Underwrite", injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwrite.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwriteResponse.FromString, options, @@ -157,23 +161,26 @@ def Underwrite(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RequestRedemption(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RequestRedemption( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.insurance.v1beta1.Msg/RequestRedemption', + "/injective.insurance.v1beta1.Msg/RequestRedemption", injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemption.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemptionResponse.FromString, options, @@ -184,23 +191,26 @@ def RequestRedemption(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.insurance.v1beta1.Msg/UpdateParams', + "/injective.insurance.v1beta1.Msg/UpdateParams", injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -211,4 +221,5 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py index 6fb032f4..3fd95efa 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,32 +18,36 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#injective/ocr/v1beta1/genesis.proto\x12\x15injective.ocr.v1beta1\x1a\x1finjective/ocr/v1beta1/ocr.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x94\x06\n\x0cGenesisState\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x1d.injective.ocr.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12\x44\n\x0c\x66\x65\x65\x64_configs\x18\x02 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x0b\x66\x65\x65\x64\x43onfigs\x12_\n\x17latest_epoch_and_rounds\x18\x03 \x03(\x0b\x32(.injective.ocr.v1beta1.FeedEpochAndRoundR\x14latestEpochAndRounds\x12V\n\x12\x66\x65\x65\x64_transmissions\x18\x04 \x03(\x0b\x32\'.injective.ocr.v1beta1.FeedTransmissionR\x11\x66\x65\x65\x64Transmissions\x12r\n\x1blatest_aggregator_round_ids\x18\x05 \x03(\x0b\x32\x33.injective.ocr.v1beta1.FeedLatestAggregatorRoundIDsR\x18latestAggregatorRoundIds\x12\x44\n\x0creward_pools\x18\x06 \x03(\x0b\x32!.injective.ocr.v1beta1.RewardPoolR\x0brewardPools\x12Y\n\x17\x66\x65\x65\x64_observation_counts\x18\x07 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedCountsR\x15\x66\x65\x65\x64ObservationCounts\x12[\n\x18\x66\x65\x65\x64_transmission_counts\x18\x08 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedCountsR\x16\x66\x65\x65\x64TransmissionCounts\x12V\n\x12pending_payeeships\x18\t \x03(\x0b\x32\'.injective.ocr.v1beta1.PendingPayeeshipR\x11pendingPayeeships\"t\n\x10\x46\x65\x65\x64Transmission\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12G\n\x0ctransmission\x18\x02 \x01(\x0b\x32#.injective.ocr.v1beta1.TransmissionR\x0ctransmission\"z\n\x11\x46\x65\x65\x64\x45pochAndRound\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12L\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound\"g\n\x1c\x46\x65\x65\x64LatestAggregatorRoundIDs\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12.\n\x13\x61ggregator_round_id\x18\x02 \x01(\x04R\x11\x61ggregatorRoundId\"^\n\nRewardPool\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"[\n\nFeedCounts\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x34\n\x06\x63ounts\x18\x02 \x03(\x0b\x32\x1c.injective.ocr.v1beta1.CountR\x06\x63ounts\"7\n\x05\x43ount\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\"t\n\x10PendingPayeeship\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12 \n\x0btransmitter\x18\x02 \x01(\tR\x0btransmitter\x12%\n\x0eproposed_payee\x18\x03 \x01(\tR\rproposedPayeeB\xea\x01\n\x19\x63om.injective.ocr.v1beta1B\x0cGenesisProtoP\x01ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\xa2\x02\x03IOX\xaa\x02\x15Injective.Ocr.V1beta1\xca\x02\x15Injective\\Ocr\\V1beta1\xe2\x02!Injective\\Ocr\\V1beta1\\GPBMetadata\xea\x02\x17Injective::Ocr::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n#injective/ocr/v1beta1/genesis.proto\x12\x15injective.ocr.v1beta1\x1a\x1finjective/ocr/v1beta1/ocr.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"\x94\x06\n\x0cGenesisState\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x1d.injective.ocr.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12\x44\n\x0c\x66\x65\x65\x64_configs\x18\x02 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x0b\x66\x65\x65\x64\x43onfigs\x12_\n\x17latest_epoch_and_rounds\x18\x03 \x03(\x0b\x32(.injective.ocr.v1beta1.FeedEpochAndRoundR\x14latestEpochAndRounds\x12V\n\x12\x66\x65\x65\x64_transmissions\x18\x04 \x03(\x0b\x32\'.injective.ocr.v1beta1.FeedTransmissionR\x11\x66\x65\x65\x64Transmissions\x12r\n\x1blatest_aggregator_round_ids\x18\x05 \x03(\x0b\x32\x33.injective.ocr.v1beta1.FeedLatestAggregatorRoundIDsR\x18latestAggregatorRoundIds\x12\x44\n\x0creward_pools\x18\x06 \x03(\x0b\x32!.injective.ocr.v1beta1.RewardPoolR\x0brewardPools\x12Y\n\x17\x66\x65\x65\x64_observation_counts\x18\x07 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedCountsR\x15\x66\x65\x65\x64ObservationCounts\x12[\n\x18\x66\x65\x65\x64_transmission_counts\x18\x08 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedCountsR\x16\x66\x65\x65\x64TransmissionCounts\x12V\n\x12pending_payeeships\x18\t \x03(\x0b\x32\'.injective.ocr.v1beta1.PendingPayeeshipR\x11pendingPayeeships"t\n\x10\x46\x65\x65\x64Transmission\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12G\n\x0ctransmission\x18\x02 \x01(\x0b\x32#.injective.ocr.v1beta1.TransmissionR\x0ctransmission"z\n\x11\x46\x65\x65\x64\x45pochAndRound\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12L\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound"g\n\x1c\x46\x65\x65\x64LatestAggregatorRoundIDs\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12.\n\x13\x61ggregator_round_id\x18\x02 \x01(\x04R\x11\x61ggregatorRoundId"^\n\nRewardPool\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"[\n\nFeedCounts\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x34\n\x06\x63ounts\x18\x02 \x03(\x0b\x32\x1c.injective.ocr.v1beta1.CountR\x06\x63ounts"7\n\x05\x43ount\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount"t\n\x10PendingPayeeship\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12 \n\x0btransmitter\x18\x02 \x01(\tR\x0btransmitter\x12%\n\x0eproposed_payee\x18\x03 \x01(\tR\rproposedPayeeB\xea\x01\n\x19\x63om.injective.ocr.v1beta1B\x0cGenesisProtoP\x01ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\xa2\x02\x03IOX\xaa\x02\x15Injective.Ocr.V1beta1\xca\x02\x15Injective\\Ocr\\V1beta1\xe2\x02!Injective\\Ocr\\V1beta1\\GPBMetadata\xea\x02\x17Injective::Ocr::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.ocr.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.ocr.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.injective.ocr.v1beta1B\014GenesisProtoP\001ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\242\002\003IOX\252\002\025Injective.Ocr.V1beta1\312\002\025Injective\\Ocr\\V1beta1\342\002!Injective\\Ocr\\V1beta1\\GPBMetadata\352\002\027Injective::Ocr::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_REWARDPOOL'].fields_by_name['amount']._loaded_options = None - _globals['_REWARDPOOL'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=150 - _globals['_GENESISSTATE']._serialized_end=938 - _globals['_FEEDTRANSMISSION']._serialized_start=940 - _globals['_FEEDTRANSMISSION']._serialized_end=1056 - _globals['_FEEDEPOCHANDROUND']._serialized_start=1058 - _globals['_FEEDEPOCHANDROUND']._serialized_end=1180 - _globals['_FEEDLATESTAGGREGATORROUNDIDS']._serialized_start=1182 - _globals['_FEEDLATESTAGGREGATORROUNDIDS']._serialized_end=1285 - _globals['_REWARDPOOL']._serialized_start=1287 - _globals['_REWARDPOOL']._serialized_end=1381 - _globals['_FEEDCOUNTS']._serialized_start=1383 - _globals['_FEEDCOUNTS']._serialized_end=1474 - _globals['_COUNT']._serialized_start=1476 - _globals['_COUNT']._serialized_end=1531 - _globals['_PENDINGPAYEESHIP']._serialized_start=1533 - _globals['_PENDINGPAYEESHIP']._serialized_end=1649 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\031com.injective.ocr.v1beta1B\014GenesisProtoP\001ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\242\002\003IOX\252\002\025Injective.Ocr.V1beta1\312\002\025Injective\\Ocr\\V1beta1\342\002!Injective\\Ocr\\V1beta1\\GPBMetadata\352\002\027Injective::Ocr::V1beta1" + ) + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_REWARDPOOL"].fields_by_name["amount"]._loaded_options = None + _globals["_REWARDPOOL"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"]._serialized_start = 150 + _globals["_GENESISSTATE"]._serialized_end = 938 + _globals["_FEEDTRANSMISSION"]._serialized_start = 940 + _globals["_FEEDTRANSMISSION"]._serialized_end = 1056 + _globals["_FEEDEPOCHANDROUND"]._serialized_start = 1058 + _globals["_FEEDEPOCHANDROUND"]._serialized_end = 1180 + _globals["_FEEDLATESTAGGREGATORROUNDIDS"]._serialized_start = 1182 + _globals["_FEEDLATESTAGGREGATORROUNDIDS"]._serialized_end = 1285 + _globals["_REWARDPOOL"]._serialized_start = 1287 + _globals["_REWARDPOOL"]._serialized_end = 1381 + _globals["_FEEDCOUNTS"]._serialized_start = 1383 + _globals["_FEEDCOUNTS"]._serialized_end = 1474 + _globals["_COUNT"]._serialized_start = 1476 + _globals["_COUNT"]._serialized_end = 1531 + _globals["_PENDINGPAYEESHIP"]._serialized_start = 1533 + _globals["_PENDINGPAYEESHIP"]._serialized_end = 1649 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py index 3bd0c99d..d8c61fa4 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py +++ b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,96 +20,136 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/ocr/v1beta1/ocr.proto\x12\x15injective.ocr.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x11\x61mino/amino.proto\"\x93\x01\n\x06Params\x12\x1d\n\nlink_denom\x18\x01 \x01(\tR\tlinkDenom\x12\x32\n\x15payout_block_interval\x18\x02 \x01(\x04R\x13payoutBlockInterval\x12!\n\x0cmodule_admin\x18\x03 \x01(\tR\x0bmoduleAdmin:\x13\xe8\xa0\x1f\x01\x8a\xe7\xb0*\nocr/Params\"\xaa\x02\n\nFeedConfig\x12\x18\n\x07signers\x18\x01 \x03(\tR\x07signers\x12\"\n\x0ctransmitters\x18\x02 \x03(\tR\x0ctransmitters\x12\x0c\n\x01\x66\x18\x03 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x04 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x05 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x06 \x01(\x0cR\x0eoffchainConfig\x12H\n\rmodule_params\x18\x07 \x01(\x0b\x32#.injective.ocr.v1beta1.ModuleParamsR\x0cmoduleParams\"\xbe\x01\n\x0e\x46\x65\x65\x64\x43onfigInfo\x12\x30\n\x14latest_config_digest\x18\x01 \x01(\x0cR\x12latestConfigDigest\x12\x0c\n\x01\x66\x18\x02 \x01(\rR\x01\x66\x12\x0c\n\x01n\x18\x03 \x01(\rR\x01n\x12!\n\x0c\x63onfig_count\x18\x04 \x01(\x04R\x0b\x63onfigCount\x12;\n\x1alatest_config_block_number\x18\x05 \x01(\x03R\x17latestConfigBlockNumber\"\xff\x03\n\x0cModuleParams\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x42\n\nmin_answer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tminAnswer\x12\x42\n\nmax_answer\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmaxAnswer\x12O\n\x14link_per_observation\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x12linkPerObservation\x12Q\n\x15link_per_transmission\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x13linkPerTransmission\x12\x1d\n\nlink_denom\x18\x06 \x01(\tR\tlinkDenom\x12%\n\x0eunique_reports\x18\x07 \x01(\x08R\runiqueReports\x12 \n\x0b\x64\x65scription\x18\x08 \x01(\tR\x0b\x64\x65scription\x12\x1d\n\nfeed_admin\x18\t \x01(\tR\tfeedAdmin\x12#\n\rbilling_admin\x18\n \x01(\tR\x0c\x62illingAdmin\"\x87\x02\n\x0e\x43ontractConfig\x12!\n\x0c\x63onfig_count\x18\x01 \x01(\x04R\x0b\x63onfigCount\x12\x18\n\x07signers\x18\x02 \x03(\tR\x07signers\x12\"\n\x0ctransmitters\x18\x03 \x03(\tR\x0ctransmitters\x12\x0c\n\x01\x66\x18\x04 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x05 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x06 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x07 \x01(\x0cR\x0eoffchainConfig\"\xc8\x01\n\x11SetConfigProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x06\x63onfig\x18\x03 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x06\x63onfig:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15ocr/SetConfigProposal\"\xb4\x04\n\x0e\x46\x65\x65\x64Properties\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x0c\n\x01\x66\x18\x02 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x03 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x04 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x05 \x01(\x0cR\x0eoffchainConfig\x12\x42\n\nmin_answer\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tminAnswer\x12\x42\n\nmax_answer\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmaxAnswer\x12O\n\x14link_per_observation\x18\x08 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x12linkPerObservation\x12Q\n\x15link_per_transmission\x18\t \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x13linkPerTransmission\x12%\n\x0eunique_reports\x18\n \x01(\x08R\runiqueReports\x12 \n\x0b\x64\x65scription\x18\x0b \x01(\tR\x0b\x64\x65scription\"\xc4\x02\n\x16SetBatchConfigProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x18\n\x07signers\x18\x03 \x03(\tR\x07signers\x12\"\n\x0ctransmitters\x18\x04 \x03(\tR\x0ctransmitters\x12\x1d\n\nlink_denom\x18\x05 \x01(\tR\tlinkDenom\x12N\n\x0f\x66\x65\x65\x64_properties\x18\x06 \x03(\x0b\x32%.injective.ocr.v1beta1.FeedPropertiesR\x0e\x66\x65\x65\x64Properties:E\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1aocr/SetBatchConfigProposal\"2\n\x18OracleObservationsCounts\x12\x16\n\x06\x63ounts\x18\x01 \x03(\rR\x06\x63ounts\"V\n\x11GasReimbursements\x12\x41\n\x0ereimbursements\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x0ereimbursements\"U\n\x05Payee\x12)\n\x10transmitter_addr\x18\x01 \x01(\tR\x0ftransmitterAddr\x12!\n\x0cpayment_addr\x18\x02 \x01(\tR\x0bpaymentAddr\"\xb9\x01\n\x0cTransmission\x12;\n\x06\x61nswer\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12\x35\n\x16observations_timestamp\x18\x02 \x01(\x03R\x15observationsTimestamp\x12\x35\n\x16transmission_timestamp\x18\x03 \x01(\x03R\x15transmissionTimestamp\";\n\rEpochAndRound\x12\x14\n\x05\x65poch\x18\x01 \x01(\x04R\x05\x65poch\x12\x14\n\x05round\x18\x02 \x01(\x04R\x05round\"\xa6\x01\n\x06Report\x12\x35\n\x16observations_timestamp\x18\x01 \x01(\x03R\x15observationsTimestamp\x12\x1c\n\tobservers\x18\x02 \x01(\x0cR\tobservers\x12G\n\x0cobservations\x18\x03 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cobservations\"\x96\x01\n\x0cReportToSign\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12\x14\n\x05\x65poch\x18\x02 \x01(\x04R\x05\x65poch\x12\x14\n\x05round\x18\x03 \x01(\x04R\x05round\x12\x1d\n\nextra_hash\x18\x04 \x01(\x0cR\textraHash\x12\x16\n\x06report\x18\x05 \x01(\x0cR\x06report\"\x94\x01\n\x0f\x45ventOraclePaid\x12)\n\x10transmitter_addr\x18\x01 \x01(\tR\x0ftransmitterAddr\x12\x1d\n\npayee_addr\x18\x02 \x01(\tR\tpayeeAddr\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\xcc\x01\n\x12\x45ventAnswerUpdated\x12\x37\n\x07\x63urrent\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07\x63urrent\x12\x38\n\x08round_id\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07roundId\x12\x43\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\tupdatedAt\"\xad\x01\n\rEventNewRound\x12\x38\n\x08round_id\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07roundId\x12\x1d\n\nstarted_by\x18\x02 \x01(\tR\tstartedBy\x12\x43\n\nstarted_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\tstartedAt\"M\n\x10\x45ventTransmitted\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12\x14\n\x05\x65poch\x18\x02 \x01(\x04R\x05\x65poch\"\xcf\x03\n\x14\x45ventNewTransmission\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12.\n\x13\x61ggregator_round_id\x18\x02 \x01(\rR\x11\x61ggregatorRoundId\x12;\n\x06\x61nswer\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12 \n\x0btransmitter\x18\x04 \x01(\tR\x0btransmitter\x12\x35\n\x16observations_timestamp\x18\x05 \x01(\x03R\x15observationsTimestamp\x12G\n\x0cobservations\x18\x06 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cobservations\x12\x1c\n\tobservers\x18\x07 \x01(\x0cR\tobservers\x12#\n\rconfig_digest\x18\x08 \x01(\x0cR\x0c\x63onfigDigest\x12L\n\x0f\x65poch_and_round\x18\t \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound\"\xf9\x01\n\x0e\x45ventConfigSet\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12?\n\x1cprevious_config_block_number\x18\x02 \x01(\x03R\x19previousConfigBlockNumber\x12\x39\n\x06\x63onfig\x18\x03 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x06\x63onfig\x12\x46\n\x0b\x63onfig_info\x18\x04 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfoR\nconfigInfoB\xe6\x01\n\x19\x63om.injective.ocr.v1beta1B\x08OcrProtoP\x01ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\xa2\x02\x03IOX\xaa\x02\x15Injective.Ocr.V1beta1\xca\x02\x15Injective\\Ocr\\V1beta1\xe2\x02!Injective\\Ocr\\V1beta1\\GPBMetadata\xea\x02\x17Injective::Ocr::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1finjective/ocr/v1beta1/ocr.proto\x12\x15injective.ocr.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x11\x61mino/amino.proto"\x93\x01\n\x06Params\x12\x1d\n\nlink_denom\x18\x01 \x01(\tR\tlinkDenom\x12\x32\n\x15payout_block_interval\x18\x02 \x01(\x04R\x13payoutBlockInterval\x12!\n\x0cmodule_admin\x18\x03 \x01(\tR\x0bmoduleAdmin:\x13\xe8\xa0\x1f\x01\x8a\xe7\xb0*\nocr/Params"\xaa\x02\n\nFeedConfig\x12\x18\n\x07signers\x18\x01 \x03(\tR\x07signers\x12"\n\x0ctransmitters\x18\x02 \x03(\tR\x0ctransmitters\x12\x0c\n\x01\x66\x18\x03 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x04 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x05 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x06 \x01(\x0cR\x0eoffchainConfig\x12H\n\rmodule_params\x18\x07 \x01(\x0b\x32#.injective.ocr.v1beta1.ModuleParamsR\x0cmoduleParams"\xbe\x01\n\x0e\x46\x65\x65\x64\x43onfigInfo\x12\x30\n\x14latest_config_digest\x18\x01 \x01(\x0cR\x12latestConfigDigest\x12\x0c\n\x01\x66\x18\x02 \x01(\rR\x01\x66\x12\x0c\n\x01n\x18\x03 \x01(\rR\x01n\x12!\n\x0c\x63onfig_count\x18\x04 \x01(\x04R\x0b\x63onfigCount\x12;\n\x1alatest_config_block_number\x18\x05 \x01(\x03R\x17latestConfigBlockNumber"\xff\x03\n\x0cModuleParams\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x42\n\nmin_answer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tminAnswer\x12\x42\n\nmax_answer\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmaxAnswer\x12O\n\x14link_per_observation\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x12linkPerObservation\x12Q\n\x15link_per_transmission\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x13linkPerTransmission\x12\x1d\n\nlink_denom\x18\x06 \x01(\tR\tlinkDenom\x12%\n\x0eunique_reports\x18\x07 \x01(\x08R\runiqueReports\x12 \n\x0b\x64\x65scription\x18\x08 \x01(\tR\x0b\x64\x65scription\x12\x1d\n\nfeed_admin\x18\t \x01(\tR\tfeedAdmin\x12#\n\rbilling_admin\x18\n \x01(\tR\x0c\x62illingAdmin"\x87\x02\n\x0e\x43ontractConfig\x12!\n\x0c\x63onfig_count\x18\x01 \x01(\x04R\x0b\x63onfigCount\x12\x18\n\x07signers\x18\x02 \x03(\tR\x07signers\x12"\n\x0ctransmitters\x18\x03 \x03(\tR\x0ctransmitters\x12\x0c\n\x01\x66\x18\x04 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x05 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x06 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x07 \x01(\x0cR\x0eoffchainConfig"\xc8\x01\n\x11SetConfigProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x06\x63onfig\x18\x03 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x06\x63onfig:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15ocr/SetConfigProposal"\xb4\x04\n\x0e\x46\x65\x65\x64Properties\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x0c\n\x01\x66\x18\x02 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x03 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x04 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x05 \x01(\x0cR\x0eoffchainConfig\x12\x42\n\nmin_answer\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tminAnswer\x12\x42\n\nmax_answer\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmaxAnswer\x12O\n\x14link_per_observation\x18\x08 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x12linkPerObservation\x12Q\n\x15link_per_transmission\x18\t \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x13linkPerTransmission\x12%\n\x0eunique_reports\x18\n \x01(\x08R\runiqueReports\x12 \n\x0b\x64\x65scription\x18\x0b \x01(\tR\x0b\x64\x65scription"\xc4\x02\n\x16SetBatchConfigProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x18\n\x07signers\x18\x03 \x03(\tR\x07signers\x12"\n\x0ctransmitters\x18\x04 \x03(\tR\x0ctransmitters\x12\x1d\n\nlink_denom\x18\x05 \x01(\tR\tlinkDenom\x12N\n\x0f\x66\x65\x65\x64_properties\x18\x06 \x03(\x0b\x32%.injective.ocr.v1beta1.FeedPropertiesR\x0e\x66\x65\x65\x64Properties:E\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1aocr/SetBatchConfigProposal"2\n\x18OracleObservationsCounts\x12\x16\n\x06\x63ounts\x18\x01 \x03(\rR\x06\x63ounts"V\n\x11GasReimbursements\x12\x41\n\x0ereimbursements\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x0ereimbursements"U\n\x05Payee\x12)\n\x10transmitter_addr\x18\x01 \x01(\tR\x0ftransmitterAddr\x12!\n\x0cpayment_addr\x18\x02 \x01(\tR\x0bpaymentAddr"\xb9\x01\n\x0cTransmission\x12;\n\x06\x61nswer\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12\x35\n\x16observations_timestamp\x18\x02 \x01(\x03R\x15observationsTimestamp\x12\x35\n\x16transmission_timestamp\x18\x03 \x01(\x03R\x15transmissionTimestamp";\n\rEpochAndRound\x12\x14\n\x05\x65poch\x18\x01 \x01(\x04R\x05\x65poch\x12\x14\n\x05round\x18\x02 \x01(\x04R\x05round"\xa6\x01\n\x06Report\x12\x35\n\x16observations_timestamp\x18\x01 \x01(\x03R\x15observationsTimestamp\x12\x1c\n\tobservers\x18\x02 \x01(\x0cR\tobservers\x12G\n\x0cobservations\x18\x03 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cobservations"\x96\x01\n\x0cReportToSign\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12\x14\n\x05\x65poch\x18\x02 \x01(\x04R\x05\x65poch\x12\x14\n\x05round\x18\x03 \x01(\x04R\x05round\x12\x1d\n\nextra_hash\x18\x04 \x01(\x0cR\textraHash\x12\x16\n\x06report\x18\x05 \x01(\x0cR\x06report"\x94\x01\n\x0f\x45ventOraclePaid\x12)\n\x10transmitter_addr\x18\x01 \x01(\tR\x0ftransmitterAddr\x12\x1d\n\npayee_addr\x18\x02 \x01(\tR\tpayeeAddr\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"\xcc\x01\n\x12\x45ventAnswerUpdated\x12\x37\n\x07\x63urrent\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07\x63urrent\x12\x38\n\x08round_id\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07roundId\x12\x43\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\tupdatedAt"\xad\x01\n\rEventNewRound\x12\x38\n\x08round_id\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07roundId\x12\x1d\n\nstarted_by\x18\x02 \x01(\tR\tstartedBy\x12\x43\n\nstarted_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\tstartedAt"M\n\x10\x45ventTransmitted\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12\x14\n\x05\x65poch\x18\x02 \x01(\x04R\x05\x65poch"\xcf\x03\n\x14\x45ventNewTransmission\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12.\n\x13\x61ggregator_round_id\x18\x02 \x01(\rR\x11\x61ggregatorRoundId\x12;\n\x06\x61nswer\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12 \n\x0btransmitter\x18\x04 \x01(\tR\x0btransmitter\x12\x35\n\x16observations_timestamp\x18\x05 \x01(\x03R\x15observationsTimestamp\x12G\n\x0cobservations\x18\x06 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cobservations\x12\x1c\n\tobservers\x18\x07 \x01(\x0cR\tobservers\x12#\n\rconfig_digest\x18\x08 \x01(\x0cR\x0c\x63onfigDigest\x12L\n\x0f\x65poch_and_round\x18\t \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound"\xf9\x01\n\x0e\x45ventConfigSet\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12?\n\x1cprevious_config_block_number\x18\x02 \x01(\x03R\x19previousConfigBlockNumber\x12\x39\n\x06\x63onfig\x18\x03 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x06\x63onfig\x12\x46\n\x0b\x63onfig_info\x18\x04 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfoR\nconfigInfoB\xe6\x01\n\x19\x63om.injective.ocr.v1beta1B\x08OcrProtoP\x01ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\xa2\x02\x03IOX\xaa\x02\x15Injective.Ocr.V1beta1\xca\x02\x15Injective\\Ocr\\V1beta1\xe2\x02!Injective\\Ocr\\V1beta1\\GPBMetadata\xea\x02\x17Injective::Ocr::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.ocr.v1beta1.ocr_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.ocr.v1beta1.ocr_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\031com.injective.ocr.v1beta1B\010OcrProtoP\001ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\242\002\003IOX\252\002\025Injective.Ocr.V1beta1\312\002\025Injective\\Ocr\\V1beta1\342\002!Injective\\Ocr\\V1beta1\\GPBMetadata\352\002\027Injective::Ocr::V1beta1' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\nocr/Params' - _globals['_MODULEPARAMS'].fields_by_name['min_answer']._loaded_options = None - _globals['_MODULEPARAMS'].fields_by_name['min_answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MODULEPARAMS'].fields_by_name['max_answer']._loaded_options = None - _globals['_MODULEPARAMS'].fields_by_name['max_answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MODULEPARAMS'].fields_by_name['link_per_observation']._loaded_options = None - _globals['_MODULEPARAMS'].fields_by_name['link_per_observation']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_MODULEPARAMS'].fields_by_name['link_per_transmission']._loaded_options = None - _globals['_MODULEPARAMS'].fields_by_name['link_per_transmission']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_SETCONFIGPROPOSAL']._loaded_options = None - _globals['_SETCONFIGPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025ocr/SetConfigProposal' - _globals['_FEEDPROPERTIES'].fields_by_name['min_answer']._loaded_options = None - _globals['_FEEDPROPERTIES'].fields_by_name['min_answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_FEEDPROPERTIES'].fields_by_name['max_answer']._loaded_options = None - _globals['_FEEDPROPERTIES'].fields_by_name['max_answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_FEEDPROPERTIES'].fields_by_name['link_per_observation']._loaded_options = None - _globals['_FEEDPROPERTIES'].fields_by_name['link_per_observation']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_FEEDPROPERTIES'].fields_by_name['link_per_transmission']._loaded_options = None - _globals['_FEEDPROPERTIES'].fields_by_name['link_per_transmission']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_SETBATCHCONFIGPROPOSAL']._loaded_options = None - _globals['_SETBATCHCONFIGPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\032ocr/SetBatchConfigProposal' - _globals['_TRANSMISSION'].fields_by_name['answer']._loaded_options = None - _globals['_TRANSMISSION'].fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_REPORT'].fields_by_name['observations']._loaded_options = None - _globals['_REPORT'].fields_by_name['observations']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EVENTORACLEPAID'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTORACLEPAID'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_EVENTANSWERUPDATED'].fields_by_name['current']._loaded_options = None - _globals['_EVENTANSWERUPDATED'].fields_by_name['current']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_EVENTANSWERUPDATED'].fields_by_name['round_id']._loaded_options = None - _globals['_EVENTANSWERUPDATED'].fields_by_name['round_id']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_EVENTANSWERUPDATED'].fields_by_name['updated_at']._loaded_options = None - _globals['_EVENTANSWERUPDATED'].fields_by_name['updated_at']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_EVENTNEWROUND'].fields_by_name['round_id']._loaded_options = None - _globals['_EVENTNEWROUND'].fields_by_name['round_id']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_EVENTNEWROUND'].fields_by_name['started_at']._loaded_options = None - _globals['_EVENTNEWROUND'].fields_by_name['started_at']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_EVENTNEWTRANSMISSION'].fields_by_name['answer']._loaded_options = None - _globals['_EVENTNEWTRANSMISSION'].fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EVENTNEWTRANSMISSION'].fields_by_name['observations']._loaded_options = None - _globals['_EVENTNEWTRANSMISSION'].fields_by_name['observations']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS']._serialized_start=192 - _globals['_PARAMS']._serialized_end=339 - _globals['_FEEDCONFIG']._serialized_start=342 - _globals['_FEEDCONFIG']._serialized_end=640 - _globals['_FEEDCONFIGINFO']._serialized_start=643 - _globals['_FEEDCONFIGINFO']._serialized_end=833 - _globals['_MODULEPARAMS']._serialized_start=836 - _globals['_MODULEPARAMS']._serialized_end=1347 - _globals['_CONTRACTCONFIG']._serialized_start=1350 - _globals['_CONTRACTCONFIG']._serialized_end=1613 - _globals['_SETCONFIGPROPOSAL']._serialized_start=1616 - _globals['_SETCONFIGPROPOSAL']._serialized_end=1816 - _globals['_FEEDPROPERTIES']._serialized_start=1819 - _globals['_FEEDPROPERTIES']._serialized_end=2383 - _globals['_SETBATCHCONFIGPROPOSAL']._serialized_start=2386 - _globals['_SETBATCHCONFIGPROPOSAL']._serialized_end=2710 - _globals['_ORACLEOBSERVATIONSCOUNTS']._serialized_start=2712 - _globals['_ORACLEOBSERVATIONSCOUNTS']._serialized_end=2762 - _globals['_GASREIMBURSEMENTS']._serialized_start=2764 - _globals['_GASREIMBURSEMENTS']._serialized_end=2850 - _globals['_PAYEE']._serialized_start=2852 - _globals['_PAYEE']._serialized_end=2937 - _globals['_TRANSMISSION']._serialized_start=2940 - _globals['_TRANSMISSION']._serialized_end=3125 - _globals['_EPOCHANDROUND']._serialized_start=3127 - _globals['_EPOCHANDROUND']._serialized_end=3186 - _globals['_REPORT']._serialized_start=3189 - _globals['_REPORT']._serialized_end=3355 - _globals['_REPORTTOSIGN']._serialized_start=3358 - _globals['_REPORTTOSIGN']._serialized_end=3508 - _globals['_EVENTORACLEPAID']._serialized_start=3511 - _globals['_EVENTORACLEPAID']._serialized_end=3659 - _globals['_EVENTANSWERUPDATED']._serialized_start=3662 - _globals['_EVENTANSWERUPDATED']._serialized_end=3866 - _globals['_EVENTNEWROUND']._serialized_start=3869 - _globals['_EVENTNEWROUND']._serialized_end=4042 - _globals['_EVENTTRANSMITTED']._serialized_start=4044 - _globals['_EVENTTRANSMITTED']._serialized_end=4121 - _globals['_EVENTNEWTRANSMISSION']._serialized_start=4124 - _globals['_EVENTNEWTRANSMISSION']._serialized_end=4587 - _globals['_EVENTCONFIGSET']._serialized_start=4590 - _globals['_EVENTCONFIGSET']._serialized_end=4839 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\031com.injective.ocr.v1beta1B\010OcrProtoP\001ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\242\002\003IOX\252\002\025Injective.Ocr.V1beta1\312\002\025Injective\\Ocr\\V1beta1\342\002!Injective\\Ocr\\V1beta1\\GPBMetadata\352\002\027Injective::Ocr::V1beta1" + ) + _globals["_PARAMS"]._loaded_options = None + _globals["_PARAMS"]._serialized_options = b"\350\240\037\001\212\347\260*\nocr/Params" + _globals["_MODULEPARAMS"].fields_by_name["min_answer"]._loaded_options = None + _globals["_MODULEPARAMS"].fields_by_name[ + "min_answer" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MODULEPARAMS"].fields_by_name["max_answer"]._loaded_options = None + _globals["_MODULEPARAMS"].fields_by_name[ + "max_answer" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MODULEPARAMS"].fields_by_name["link_per_observation"]._loaded_options = None + _globals["_MODULEPARAMS"].fields_by_name[ + "link_per_observation" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_MODULEPARAMS"].fields_by_name["link_per_transmission"]._loaded_options = None + _globals["_MODULEPARAMS"].fields_by_name[ + "link_per_transmission" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_SETCONFIGPROPOSAL"]._loaded_options = None + _globals["_SETCONFIGPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025ocr/SetConfigProposal" + ) + _globals["_FEEDPROPERTIES"].fields_by_name["min_answer"]._loaded_options = None + _globals["_FEEDPROPERTIES"].fields_by_name[ + "min_answer" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_FEEDPROPERTIES"].fields_by_name["max_answer"]._loaded_options = None + _globals["_FEEDPROPERTIES"].fields_by_name[ + "max_answer" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_FEEDPROPERTIES"].fields_by_name["link_per_observation"]._loaded_options = None + _globals["_FEEDPROPERTIES"].fields_by_name[ + "link_per_observation" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_FEEDPROPERTIES"].fields_by_name["link_per_transmission"]._loaded_options = None + _globals["_FEEDPROPERTIES"].fields_by_name[ + "link_per_transmission" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_SETBATCHCONFIGPROPOSAL"]._loaded_options = None + _globals["_SETBATCHCONFIGPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\032ocr/SetBatchConfigProposal" + ) + _globals["_TRANSMISSION"].fields_by_name["answer"]._loaded_options = None + _globals["_TRANSMISSION"].fields_by_name[ + "answer" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_REPORT"].fields_by_name["observations"]._loaded_options = None + _globals["_REPORT"].fields_by_name[ + "observations" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_EVENTORACLEPAID"].fields_by_name["amount"]._loaded_options = None + _globals["_EVENTORACLEPAID"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTANSWERUPDATED"].fields_by_name["current"]._loaded_options = None + _globals["_EVENTANSWERUPDATED"].fields_by_name[ + "current" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_EVENTANSWERUPDATED"].fields_by_name["round_id"]._loaded_options = None + _globals["_EVENTANSWERUPDATED"].fields_by_name[ + "round_id" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_EVENTANSWERUPDATED"].fields_by_name["updated_at"]._loaded_options = None + _globals["_EVENTANSWERUPDATED"].fields_by_name[ + "updated_at" + ]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_EVENTNEWROUND"].fields_by_name["round_id"]._loaded_options = None + _globals["_EVENTNEWROUND"].fields_by_name[ + "round_id" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_EVENTNEWROUND"].fields_by_name["started_at"]._loaded_options = None + _globals["_EVENTNEWROUND"].fields_by_name["started_at"]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_EVENTNEWTRANSMISSION"].fields_by_name["answer"]._loaded_options = None + _globals["_EVENTNEWTRANSMISSION"].fields_by_name[ + "answer" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_EVENTNEWTRANSMISSION"].fields_by_name["observations"]._loaded_options = None + _globals["_EVENTNEWTRANSMISSION"].fields_by_name[ + "observations" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"]._serialized_start = 192 + _globals["_PARAMS"]._serialized_end = 339 + _globals["_FEEDCONFIG"]._serialized_start = 342 + _globals["_FEEDCONFIG"]._serialized_end = 640 + _globals["_FEEDCONFIGINFO"]._serialized_start = 643 + _globals["_FEEDCONFIGINFO"]._serialized_end = 833 + _globals["_MODULEPARAMS"]._serialized_start = 836 + _globals["_MODULEPARAMS"]._serialized_end = 1347 + _globals["_CONTRACTCONFIG"]._serialized_start = 1350 + _globals["_CONTRACTCONFIG"]._serialized_end = 1613 + _globals["_SETCONFIGPROPOSAL"]._serialized_start = 1616 + _globals["_SETCONFIGPROPOSAL"]._serialized_end = 1816 + _globals["_FEEDPROPERTIES"]._serialized_start = 1819 + _globals["_FEEDPROPERTIES"]._serialized_end = 2383 + _globals["_SETBATCHCONFIGPROPOSAL"]._serialized_start = 2386 + _globals["_SETBATCHCONFIGPROPOSAL"]._serialized_end = 2710 + _globals["_ORACLEOBSERVATIONSCOUNTS"]._serialized_start = 2712 + _globals["_ORACLEOBSERVATIONSCOUNTS"]._serialized_end = 2762 + _globals["_GASREIMBURSEMENTS"]._serialized_start = 2764 + _globals["_GASREIMBURSEMENTS"]._serialized_end = 2850 + _globals["_PAYEE"]._serialized_start = 2852 + _globals["_PAYEE"]._serialized_end = 2937 + _globals["_TRANSMISSION"]._serialized_start = 2940 + _globals["_TRANSMISSION"]._serialized_end = 3125 + _globals["_EPOCHANDROUND"]._serialized_start = 3127 + _globals["_EPOCHANDROUND"]._serialized_end = 3186 + _globals["_REPORT"]._serialized_start = 3189 + _globals["_REPORT"]._serialized_end = 3355 + _globals["_REPORTTOSIGN"]._serialized_start = 3358 + _globals["_REPORTTOSIGN"]._serialized_end = 3508 + _globals["_EVENTORACLEPAID"]._serialized_start = 3511 + _globals["_EVENTORACLEPAID"]._serialized_end = 3659 + _globals["_EVENTANSWERUPDATED"]._serialized_start = 3662 + _globals["_EVENTANSWERUPDATED"]._serialized_end = 3866 + _globals["_EVENTNEWROUND"]._serialized_start = 3869 + _globals["_EVENTNEWROUND"]._serialized_end = 4042 + _globals["_EVENTTRANSMITTED"]._serialized_start = 4044 + _globals["_EVENTTRANSMITTED"]._serialized_end = 4121 + _globals["_EVENTNEWTRANSMISSION"]._serialized_start = 4124 + _globals["_EVENTNEWTRANSMISSION"]._serialized_end = 4587 + _globals["_EVENTCONFIGSET"]._serialized_start = 4590 + _globals["_EVENTCONFIGSET"]._serialized_end = 4839 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2_grpc.py b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2_grpc.py +++ b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py index 3f1bd1a4..0420b4b3 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,60 +20,78 @@ from pyinjective.proto.injective.ocr.v1beta1 import genesis_pb2 as injective_dot_ocr_dot_v1beta1_dot_genesis__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/ocr/v1beta1/query.proto\x12\x15injective.ocr.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1finjective/ocr/v1beta1/ocr.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a#injective/ocr/v1beta1/genesis.proto\"\x14\n\x12QueryParamsRequest\"R\n\x13QueryParamsResponse\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x1d.injective.ocr.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"1\n\x16QueryFeedConfigRequest\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\"\xae\x01\n\x17QueryFeedConfigResponse\x12O\n\x10\x66\x65\x65\x64_config_info\x18\x01 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfoR\x0e\x66\x65\x65\x64\x43onfigInfo\x12\x42\n\x0b\x66\x65\x65\x64_config\x18\x02 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\nfeedConfig\"5\n\x1aQueryFeedConfigInfoRequest\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\"\xbc\x01\n\x1bQueryFeedConfigInfoResponse\x12O\n\x10\x66\x65\x65\x64_config_info\x18\x01 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfoR\x0e\x66\x65\x65\x64\x43onfigInfo\x12L\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound\"2\n\x17QueryLatestRoundRequest\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\"{\n\x18QueryLatestRoundResponse\x12&\n\x0flatest_round_id\x18\x01 \x01(\x04R\rlatestRoundId\x12\x37\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32#.injective.ocr.v1beta1.TransmissionR\x04\x64\x61ta\"@\n%QueryLatestTransmissionDetailsRequest\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\"\xd4\x01\n&QueryLatestTransmissionDetailsResponse\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12L\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound\x12\x37\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32#.injective.ocr.v1beta1.TransmissionR\x04\x64\x61ta\":\n\x16QueryOwedAmountRequest\x12 \n\x0btransmitter\x18\x01 \x01(\tR\x0btransmitter\"R\n\x17QueryOwedAmountResponse\x12\x37\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\x19\n\x17QueryModuleStateRequest\"U\n\x18QueryModuleStateResponse\x12\x39\n\x05state\x18\x01 \x01(\x0b\x32#.injective.ocr.v1beta1.GenesisStateR\x05state2\xbb\t\n\x05Query\x12\x86\x01\n\x06Params\x12).injective.ocr.v1beta1.QueryParamsRequest\x1a*.injective.ocr.v1beta1.QueryParamsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/chainlink/ocr/v1beta1/params\x12\xa1\x01\n\nFeedConfig\x12-.injective.ocr.v1beta1.QueryFeedConfigRequest\x1a..injective.ocr.v1beta1.QueryFeedConfigResponse\"4\x82\xd3\xe4\x93\x02.\x12,/chainlink/ocr/v1beta1/feed_config/{feed_id}\x12\xb2\x01\n\x0e\x46\x65\x65\x64\x43onfigInfo\x12\x31.injective.ocr.v1beta1.QueryFeedConfigInfoRequest\x1a\x32.injective.ocr.v1beta1.QueryFeedConfigInfoResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/chainlink/ocr/v1beta1/feed_config_info/{feed_id}\x12\xa5\x01\n\x0bLatestRound\x12..injective.ocr.v1beta1.QueryLatestRoundRequest\x1a/.injective.ocr.v1beta1.QueryLatestRoundResponse\"5\x82\xd3\xe4\x93\x02/\x12-/chainlink/ocr/v1beta1/latest_round/{feed_id}\x12\xde\x01\n\x19LatestTransmissionDetails\x12<.injective.ocr.v1beta1.QueryLatestTransmissionDetailsRequest\x1a=.injective.ocr.v1beta1.QueryLatestTransmissionDetailsResponse\"D\x82\xd3\xe4\x93\x02>\x12\x12\022\022\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12#\n\rband_relayers\x18\x02 \x03(\tR\x0c\x62\x61ndRelayers\x12T\n\x11\x62\x61nd_price_states\x18\x03 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0f\x62\x61ndPriceStates\x12_\n\x17price_feed_price_states\x18\x04 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedStateR\x14priceFeedPriceStates\x12`\n\x15\x63oinbase_price_states\x18\x05 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceStateR\x13\x63oinbasePriceStates\x12[\n\x15\x62\x61nd_ibc_price_states\x18\x06 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x12\x62\x61ndIbcPriceStates\x12\x64\n\x18\x62\x61nd_ibc_oracle_requests\x18\x07 \x03(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestR\x15\x62\x61ndIbcOracleRequests\x12U\n\x0f\x62\x61nd_ibc_params\x18\x08 \x01(\x0b\x32\'.injective.oracle.v1beta1.BandIBCParamsB\x04\xc8\xde\x1f\x00R\rbandIbcParams\x12\x38\n\x19\x62\x61nd_ibc_latest_client_id\x18\t \x01(\x04R\x15\x62\x61ndIbcLatestClientId\x12S\n\x10\x63\x61lldata_records\x18\n \x03(\x0b\x32(.injective.oracle.v1beta1.CalldataRecordR\x0f\x63\x61lldataRecords\x12:\n\x1a\x62\x61nd_ibc_latest_request_id\x18\x0b \x01(\x04R\x16\x62\x61ndIbcLatestRequestId\x12\x63\n\x16\x63hainlink_price_states\x18\x0c \x03(\x0b\x32-.injective.oracle.v1beta1.ChainlinkPriceStateR\x14\x63hainlinkPriceStates\x12`\n\x18historical_price_records\x18\r \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecordsR\x16historicalPriceRecords\x12P\n\x0fprovider_states\x18\x0e \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderStateR\x0eproviderStates\x12T\n\x11pyth_price_states\x18\x0f \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x0fpythPriceStates\x12W\n\x12stork_price_states\x18\x10 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x10storkPriceStates\x12)\n\x10stork_publishers\x18\x11 \x03(\tR\x0fstorkPublishers\"I\n\x0e\x43\x61lldataRecord\x12\x1b\n\tclient_id\x18\x01 \x01(\x04R\x08\x63lientId\x12\x1a\n\x08\x63\x61lldata\x18\x02 \x01(\x0cR\x08\x63\x61lldataB\xfc\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0cGenesisProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n&injective/oracle/v1beta1/genesis.proto\x12\x18injective.oracle.v1beta1\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x14gogoproto/gogo.proto\"\xe4\n\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12#\n\rband_relayers\x18\x02 \x03(\tR\x0c\x62\x61ndRelayers\x12T\n\x11\x62\x61nd_price_states\x18\x03 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0f\x62\x61ndPriceStates\x12_\n\x17price_feed_price_states\x18\x04 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedStateR\x14priceFeedPriceStates\x12`\n\x15\x63oinbase_price_states\x18\x05 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceStateR\x13\x63oinbasePriceStates\x12[\n\x15\x62\x61nd_ibc_price_states\x18\x06 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x12\x62\x61ndIbcPriceStates\x12\x64\n\x18\x62\x61nd_ibc_oracle_requests\x18\x07 \x03(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestR\x15\x62\x61ndIbcOracleRequests\x12U\n\x0f\x62\x61nd_ibc_params\x18\x08 \x01(\x0b\x32'.injective.oracle.v1beta1.BandIBCParamsB\x04\xc8\xde\x1f\x00R\rbandIbcParams\x12\x38\n\x19\x62\x61nd_ibc_latest_client_id\x18\t \x01(\x04R\x15\x62\x61ndIbcLatestClientId\x12S\n\x10\x63\x61lldata_records\x18\n \x03(\x0b\x32(.injective.oracle.v1beta1.CalldataRecordR\x0f\x63\x61lldataRecords\x12:\n\x1a\x62\x61nd_ibc_latest_request_id\x18\x0b \x01(\x04R\x16\x62\x61ndIbcLatestRequestId\x12\x63\n\x16\x63hainlink_price_states\x18\x0c \x03(\x0b\x32-.injective.oracle.v1beta1.ChainlinkPriceStateR\x14\x63hainlinkPriceStates\x12`\n\x18historical_price_records\x18\r \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecordsR\x16historicalPriceRecords\x12P\n\x0fprovider_states\x18\x0e \x03(\x0b\x32'.injective.oracle.v1beta1.ProviderStateR\x0eproviderStates\x12T\n\x11pyth_price_states\x18\x0f \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x0fpythPriceStates\x12W\n\x12stork_price_states\x18\x10 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x10storkPriceStates\x12)\n\x10stork_publishers\x18\x11 \x03(\tR\x0fstorkPublishers\"I\n\x0e\x43\x61lldataRecord\x12\x1b\n\tclient_id\x18\x01 \x01(\x04R\x08\x63lientId\x12\x1a\n\x08\x63\x61lldata\x18\x02 \x01(\x0cR\x08\x63\x61lldataB\xfc\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0cGenesisProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.oracle.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\014GenesisProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['band_ibc_params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['band_ibc_params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=130 - _globals['_GENESISSTATE']._serialized_end=1510 - _globals['_CALLDATARECORD']._serialized_start=1512 - _globals['_CALLDATARECORD']._serialized_end=1585 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\034com.injective.oracle.v1beta1B\014GenesisProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1" + ) + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["band_ibc_params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["band_ibc_params"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"]._serialized_start = 130 + _globals["_GENESISSTATE"]._serialized_end = 1510 + _globals["_CALLDATARECORD"]._serialized_start = 1512 + _globals["_CALLDATARECORD"]._serialized_end = 1585 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py index e25462f1..1a1c5e0f 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,108 +18,146 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%injective/oracle/v1beta1/oracle.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"E\n\x06Params\x12#\n\rpyth_contract\x18\x01 \x01(\tR\x0cpythContract:\x16\xe8\xa0\x1f\x01\x8a\xe7\xb0*\roracle/Params\"k\n\nOracleInfo\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x45\n\x0boracle_type\x18\x02 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xd6\x01\n\x13\x43hainlinkPriceState\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12;\n\x06\x61nswer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp\x12K\n\x0bprice_state\x18\x04 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xea\x01\n\x0e\x42\x61ndPriceState\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x31\n\x04rate\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x04rate\x12!\n\x0cresolve_time\x18\x03 \x01(\x04R\x0bresolveTime\x12\x1d\n\nrequest_ID\x18\x04 \x01(\x04R\trequestID\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\x9d\x01\n\x0ePriceFeedState\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x02 \x01(\tR\x05quote\x12\x45\n\x0bprice_state\x18\x03 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\npriceState\x12\x1a\n\x08relayers\x18\x04 \x03(\tR\x08relayers\"F\n\x0cProviderInfo\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x02 \x03(\tR\x08relayers\"\xbe\x01\n\rProviderState\x12K\n\rprovider_info\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.ProviderInfoR\x0cproviderInfo\x12`\n\x15provider_price_states\x18\x02 \x03(\x0b\x32,.injective.oracle.v1beta1.ProviderPriceStateR\x13providerPriceStates\"h\n\x12ProviderPriceState\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12:\n\x05state\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\x05state\"9\n\rPriceFeedInfo\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x02 \x01(\tR\x05quote\"K\n\x0ePriceFeedPrice\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\"\xbb\x01\n\x12\x43oinbasePriceState\x12\x12\n\x04kind\x18\x01 \x01(\tR\x04kind\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x10\n\x03key\x18\x03 \x01(\tR\x03key\x12\x14\n\x05value\x18\x04 \x01(\x04R\x05value\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xcf\x01\n\x0fStorkPriceState\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\x12\x39\n\x05value\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05value\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xb5\x01\n\nPriceState\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12N\n\x10\x63umulative_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x63umulativePrice\x12\x1c\n\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\"\xd6\x02\n\x0ePythPriceState\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12@\n\tema_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x65maPrice\x12>\n\x08\x65ma_conf\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x07\x65maConf\x12\x37\n\x04\x63onf\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04\x63onf\x12!\n\x0cpublish_time\x18\x05 \x01(\x04R\x0bpublishTime\x12K\n\x0bprice_state\x18\x06 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\x86\x03\n\x11\x42\x61ndOracleRequest\x12\x1d\n\nrequest_id\x18\x01 \x01(\x04R\trequestId\x12(\n\x10oracle_script_id\x18\x02 \x01(\x03R\x0eoracleScriptId\x12\x18\n\x07symbols\x18\x03 \x03(\tR\x07symbols\x12\x1b\n\task_count\x18\x04 \x01(\x04R\x08\x61skCount\x12\x1b\n\tmin_count\x18\x05 \x01(\x04R\x08minCount\x12h\n\tfee_limit\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08\x66\x65\x65Limit\x12\x1f\n\x0bprepare_gas\x18\x07 \x01(\x04R\nprepareGas\x12\x1f\n\x0b\x65xecute_gas\x18\x08 \x01(\x04R\nexecuteGas\x12(\n\x10min_source_count\x18\t \x01(\x04R\x0eminSourceCount\"\x86\x02\n\rBandIBCParams\x12(\n\x10\x62\x61nd_ibc_enabled\x18\x01 \x01(\x08R\x0e\x62\x61ndIbcEnabled\x12\x30\n\x14ibc_request_interval\x18\x02 \x01(\x03R\x12ibcRequestInterval\x12,\n\x12ibc_source_channel\x18\x03 \x01(\tR\x10ibcSourceChannel\x12\x1f\n\x0bibc_version\x18\x04 \x01(\tR\nibcVersion\x12\x1e\n\x0bibc_port_id\x18\x05 \x01(\tR\tibcPortId\x12*\n\x11legacy_oracle_ids\x18\x06 \x03(\x03R\x0flegacyOracleIds\"\x8f\x01\n\x14SymbolPriceTimestamp\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\x12\x1c\n\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\"y\n\x13LastPriceTimestamps\x12\x62\n\x15last_price_timestamps\x18\x01 \x03(\x0b\x32..injective.oracle.v1beta1.SymbolPriceTimestampR\x13lastPriceTimestamps\"\xc2\x01\n\x0cPriceRecords\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\x12W\n\x14latest_price_records\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecordR\x12latestPriceRecords\"f\n\x0bPriceRecord\x12\x1c\n\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\"\xf3\x03\n\x12MetadataStatistics\x12\x1f\n\x0bgroup_count\x18\x01 \x01(\rR\ngroupCount\x12.\n\x13records_sample_size\x18\x02 \x01(\rR\x11recordsSampleSize\x12\x37\n\x04mean\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04mean\x12\x37\n\x04twap\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04twap\x12\'\n\x0f\x66irst_timestamp\x18\x05 \x01(\x03R\x0e\x66irstTimestamp\x12%\n\x0elast_timestamp\x18\x06 \x01(\x03R\rlastTimestamp\x12@\n\tmin_price\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08minPrice\x12@\n\tmax_price\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08maxPrice\x12\x46\n\x0cmedian_price\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bmedianPrice\"\xe1\x01\n\x10PriceAttestation\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12\x14\n\x05price\x18\x02 \x01(\x03R\x05price\x12\x12\n\x04\x63onf\x18\x03 \x01(\x04R\x04\x63onf\x12\x12\n\x04\x65xpo\x18\x04 \x01(\x05R\x04\x65xpo\x12\x1b\n\tema_price\x18\x05 \x01(\x03R\x08\x65maPrice\x12\x19\n\x08\x65ma_conf\x18\x06 \x01(\x04R\x07\x65maConf\x12\x19\n\x08\x65ma_expo\x18\x07 \x01(\x05R\x07\x65maExpo\x12!\n\x0cpublish_time\x18\x08 \x01(\x03R\x0bpublishTime\"}\n\tAssetPair\x12\x19\n\x08\x61sset_id\x18\x01 \x01(\tR\x07\x61ssetId\x12U\n\rsigned_prices\x18\x02 \x03(\x0b\x32\x30.injective.oracle.v1beta1.SignedPriceOfAssetPairR\x0csignedPrices\"\xb4\x01\n\x16SignedPriceOfAssetPair\x12#\n\rpublisher_key\x18\x01 \x01(\tR\x0cpublisherKey\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x39\n\x05price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature*\xaa\x01\n\nOracleType\x12\x0f\n\x0bUnspecified\x10\x00\x12\x08\n\x04\x42\x61nd\x10\x01\x12\r\n\tPriceFeed\x10\x02\x12\x0c\n\x08\x43oinbase\x10\x03\x12\r\n\tChainlink\x10\x04\x12\t\n\x05Razor\x10\x05\x12\x07\n\x03\x44ia\x10\x06\x12\x08\n\x04\x41PI3\x10\x07\x12\x07\n\x03Uma\x10\x08\x12\x08\n\x04Pyth\x10\t\x12\x0b\n\x07\x42\x61ndIBC\x10\n\x12\x0c\n\x08Provider\x10\x0b\x12\t\n\x05Stork\x10\x0c\x42\xff\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0bOracleProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1\xc0\xe3\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%injective/oracle/v1beta1/oracle.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto"E\n\x06Params\x12#\n\rpyth_contract\x18\x01 \x01(\tR\x0cpythContract:\x16\xe8\xa0\x1f\x01\x8a\xe7\xb0*\roracle/Params"k\n\nOracleInfo\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x45\n\x0boracle_type\x18\x02 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType"\xd6\x01\n\x13\x43hainlinkPriceState\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12;\n\x06\x61nswer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp\x12K\n\x0bprice_state\x18\x04 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState"\xea\x01\n\x0e\x42\x61ndPriceState\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x31\n\x04rate\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x04rate\x12!\n\x0cresolve_time\x18\x03 \x01(\x04R\x0bresolveTime\x12\x1d\n\nrequest_ID\x18\x04 \x01(\x04R\trequestID\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState"\x9d\x01\n\x0ePriceFeedState\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x02 \x01(\tR\x05quote\x12\x45\n\x0bprice_state\x18\x03 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\npriceState\x12\x1a\n\x08relayers\x18\x04 \x03(\tR\x08relayers"F\n\x0cProviderInfo\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x02 \x03(\tR\x08relayers"\xbe\x01\n\rProviderState\x12K\n\rprovider_info\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.ProviderInfoR\x0cproviderInfo\x12`\n\x15provider_price_states\x18\x02 \x03(\x0b\x32,.injective.oracle.v1beta1.ProviderPriceStateR\x13providerPriceStates"h\n\x12ProviderPriceState\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12:\n\x05state\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\x05state"9\n\rPriceFeedInfo\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x02 \x01(\tR\x05quote"K\n\x0ePriceFeedPrice\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price"\xbb\x01\n\x12\x43oinbasePriceState\x12\x12\n\x04kind\x18\x01 \x01(\tR\x04kind\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x10\n\x03key\x18\x03 \x01(\tR\x03key\x12\x14\n\x05value\x18\x04 \x01(\x04R\x05value\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState"\xcf\x01\n\x0fStorkPriceState\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\x12\x39\n\x05value\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05value\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState"\xb5\x01\n\nPriceState\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12N\n\x10\x63umulative_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x63umulativePrice\x12\x1c\n\ttimestamp\x18\x03 \x01(\x03R\ttimestamp"\xd6\x02\n\x0ePythPriceState\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12@\n\tema_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x65maPrice\x12>\n\x08\x65ma_conf\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x07\x65maConf\x12\x37\n\x04\x63onf\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04\x63onf\x12!\n\x0cpublish_time\x18\x05 \x01(\x04R\x0bpublishTime\x12K\n\x0bprice_state\x18\x06 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState"\x86\x03\n\x11\x42\x61ndOracleRequest\x12\x1d\n\nrequest_id\x18\x01 \x01(\x04R\trequestId\x12(\n\x10oracle_script_id\x18\x02 \x01(\x03R\x0eoracleScriptId\x12\x18\n\x07symbols\x18\x03 \x03(\tR\x07symbols\x12\x1b\n\task_count\x18\x04 \x01(\x04R\x08\x61skCount\x12\x1b\n\tmin_count\x18\x05 \x01(\x04R\x08minCount\x12h\n\tfee_limit\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08\x66\x65\x65Limit\x12\x1f\n\x0bprepare_gas\x18\x07 \x01(\x04R\nprepareGas\x12\x1f\n\x0b\x65xecute_gas\x18\x08 \x01(\x04R\nexecuteGas\x12(\n\x10min_source_count\x18\t \x01(\x04R\x0eminSourceCount"\x86\x02\n\rBandIBCParams\x12(\n\x10\x62\x61nd_ibc_enabled\x18\x01 \x01(\x08R\x0e\x62\x61ndIbcEnabled\x12\x30\n\x14ibc_request_interval\x18\x02 \x01(\x03R\x12ibcRequestInterval\x12,\n\x12ibc_source_channel\x18\x03 \x01(\tR\x10ibcSourceChannel\x12\x1f\n\x0bibc_version\x18\x04 \x01(\tR\nibcVersion\x12\x1e\n\x0bibc_port_id\x18\x05 \x01(\tR\tibcPortId\x12*\n\x11legacy_oracle_ids\x18\x06 \x03(\x03R\x0flegacyOracleIds"\x8f\x01\n\x14SymbolPriceTimestamp\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\x12\x1c\n\ttimestamp\x18\x03 \x01(\x03R\ttimestamp"y\n\x13LastPriceTimestamps\x12\x62\n\x15last_price_timestamps\x18\x01 \x03(\x0b\x32..injective.oracle.v1beta1.SymbolPriceTimestampR\x13lastPriceTimestamps"\xc2\x01\n\x0cPriceRecords\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\x12W\n\x14latest_price_records\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecordR\x12latestPriceRecords"f\n\x0bPriceRecord\x12\x1c\n\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price"\xf3\x03\n\x12MetadataStatistics\x12\x1f\n\x0bgroup_count\x18\x01 \x01(\rR\ngroupCount\x12.\n\x13records_sample_size\x18\x02 \x01(\rR\x11recordsSampleSize\x12\x37\n\x04mean\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04mean\x12\x37\n\x04twap\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04twap\x12\'\n\x0f\x66irst_timestamp\x18\x05 \x01(\x03R\x0e\x66irstTimestamp\x12%\n\x0elast_timestamp\x18\x06 \x01(\x03R\rlastTimestamp\x12@\n\tmin_price\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08minPrice\x12@\n\tmax_price\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08maxPrice\x12\x46\n\x0cmedian_price\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bmedianPrice"\xe1\x01\n\x10PriceAttestation\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12\x14\n\x05price\x18\x02 \x01(\x03R\x05price\x12\x12\n\x04\x63onf\x18\x03 \x01(\x04R\x04\x63onf\x12\x12\n\x04\x65xpo\x18\x04 \x01(\x05R\x04\x65xpo\x12\x1b\n\tema_price\x18\x05 \x01(\x03R\x08\x65maPrice\x12\x19\n\x08\x65ma_conf\x18\x06 \x01(\x04R\x07\x65maConf\x12\x19\n\x08\x65ma_expo\x18\x07 \x01(\x05R\x07\x65maExpo\x12!\n\x0cpublish_time\x18\x08 \x01(\x03R\x0bpublishTime"}\n\tAssetPair\x12\x19\n\x08\x61sset_id\x18\x01 \x01(\tR\x07\x61ssetId\x12U\n\rsigned_prices\x18\x02 \x03(\x0b\x32\x30.injective.oracle.v1beta1.SignedPriceOfAssetPairR\x0csignedPrices"\xb4\x01\n\x16SignedPriceOfAssetPair\x12#\n\rpublisher_key\x18\x01 \x01(\tR\x0cpublisherKey\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x39\n\x05price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature*\xaa\x01\n\nOracleType\x12\x0f\n\x0bUnspecified\x10\x00\x12\x08\n\x04\x42\x61nd\x10\x01\x12\r\n\tPriceFeed\x10\x02\x12\x0c\n\x08\x43oinbase\x10\x03\x12\r\n\tChainlink\x10\x04\x12\t\n\x05Razor\x10\x05\x12\x07\n\x03\x44ia\x10\x06\x12\x08\n\x04\x41PI3\x10\x07\x12\x07\n\x03Uma\x10\x08\x12\x08\n\x04Pyth\x10\t\x12\x0b\n\x07\x42\x61ndIBC\x10\n\x12\x0c\n\x08Provider\x10\x0b\x12\t\n\x05Stork\x10\x0c\x42\xff\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0bOracleProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1\xc0\xe3\x1e\x01\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.oracle_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.oracle.v1beta1.oracle_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\013OracleProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1\300\343\036\001' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\roracle/Params' - _globals['_CHAINLINKPRICESTATE'].fields_by_name['answer']._loaded_options = None - _globals['_CHAINLINKPRICESTATE'].fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_CHAINLINKPRICESTATE'].fields_by_name['price_state']._loaded_options = None - _globals['_CHAINLINKPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' - _globals['_BANDPRICESTATE'].fields_by_name['rate']._loaded_options = None - _globals['_BANDPRICESTATE'].fields_by_name['rate']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_BANDPRICESTATE'].fields_by_name['price_state']._loaded_options = None - _globals['_BANDPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' - _globals['_PRICEFEEDPRICE'].fields_by_name['price']._loaded_options = None - _globals['_PRICEFEEDPRICE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_COINBASEPRICESTATE'].fields_by_name['price_state']._loaded_options = None - _globals['_COINBASEPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' - _globals['_STORKPRICESTATE'].fields_by_name['value']._loaded_options = None - _globals['_STORKPRICESTATE'].fields_by_name['value']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_STORKPRICESTATE'].fields_by_name['price_state']._loaded_options = None - _globals['_STORKPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' - _globals['_PRICESTATE'].fields_by_name['price']._loaded_options = None - _globals['_PRICESTATE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PRICESTATE'].fields_by_name['cumulative_price']._loaded_options = None - _globals['_PRICESTATE'].fields_by_name['cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PYTHPRICESTATE'].fields_by_name['ema_price']._loaded_options = None - _globals['_PYTHPRICESTATE'].fields_by_name['ema_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PYTHPRICESTATE'].fields_by_name['ema_conf']._loaded_options = None - _globals['_PYTHPRICESTATE'].fields_by_name['ema_conf']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PYTHPRICESTATE'].fields_by_name['conf']._loaded_options = None - _globals['_PYTHPRICESTATE'].fields_by_name['conf']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PYTHPRICESTATE'].fields_by_name['price_state']._loaded_options = None - _globals['_PYTHPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' - _globals['_BANDORACLEREQUEST'].fields_by_name['fee_limit']._loaded_options = None - _globals['_BANDORACLEREQUEST'].fields_by_name['fee_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_PRICERECORD'].fields_by_name['price']._loaded_options = None - _globals['_PRICERECORD'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_METADATASTATISTICS'].fields_by_name['mean']._loaded_options = None - _globals['_METADATASTATISTICS'].fields_by_name['mean']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_METADATASTATISTICS'].fields_by_name['twap']._loaded_options = None - _globals['_METADATASTATISTICS'].fields_by_name['twap']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_METADATASTATISTICS'].fields_by_name['min_price']._loaded_options = None - _globals['_METADATASTATISTICS'].fields_by_name['min_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_METADATASTATISTICS'].fields_by_name['max_price']._loaded_options = None - _globals['_METADATASTATISTICS'].fields_by_name['max_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_METADATASTATISTICS'].fields_by_name['median_price']._loaded_options = None - _globals['_METADATASTATISTICS'].fields_by_name['median_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SIGNEDPRICEOFASSETPAIR'].fields_by_name['price']._loaded_options = None - _globals['_SIGNEDPRICEOFASSETPAIR'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_ORACLETYPE']._serialized_start=4639 - _globals['_ORACLETYPE']._serialized_end=4809 - _globals['_PARAMS']._serialized_start=140 - _globals['_PARAMS']._serialized_end=209 - _globals['_ORACLEINFO']._serialized_start=211 - _globals['_ORACLEINFO']._serialized_end=318 - _globals['_CHAINLINKPRICESTATE']._serialized_start=321 - _globals['_CHAINLINKPRICESTATE']._serialized_end=535 - _globals['_BANDPRICESTATE']._serialized_start=538 - _globals['_BANDPRICESTATE']._serialized_end=772 - _globals['_PRICEFEEDSTATE']._serialized_start=775 - _globals['_PRICEFEEDSTATE']._serialized_end=932 - _globals['_PROVIDERINFO']._serialized_start=934 - _globals['_PROVIDERINFO']._serialized_end=1004 - _globals['_PROVIDERSTATE']._serialized_start=1007 - _globals['_PROVIDERSTATE']._serialized_end=1197 - _globals['_PROVIDERPRICESTATE']._serialized_start=1199 - _globals['_PROVIDERPRICESTATE']._serialized_end=1303 - _globals['_PRICEFEEDINFO']._serialized_start=1305 - _globals['_PRICEFEEDINFO']._serialized_end=1362 - _globals['_PRICEFEEDPRICE']._serialized_start=1364 - _globals['_PRICEFEEDPRICE']._serialized_end=1439 - _globals['_COINBASEPRICESTATE']._serialized_start=1442 - _globals['_COINBASEPRICESTATE']._serialized_end=1629 - _globals['_STORKPRICESTATE']._serialized_start=1632 - _globals['_STORKPRICESTATE']._serialized_end=1839 - _globals['_PRICESTATE']._serialized_start=1842 - _globals['_PRICESTATE']._serialized_end=2023 - _globals['_PYTHPRICESTATE']._serialized_start=2026 - _globals['_PYTHPRICESTATE']._serialized_end=2368 - _globals['_BANDORACLEREQUEST']._serialized_start=2371 - _globals['_BANDORACLEREQUEST']._serialized_end=2761 - _globals['_BANDIBCPARAMS']._serialized_start=2764 - _globals['_BANDIBCPARAMS']._serialized_end=3026 - _globals['_SYMBOLPRICETIMESTAMP']._serialized_start=3029 - _globals['_SYMBOLPRICETIMESTAMP']._serialized_end=3172 - _globals['_LASTPRICETIMESTAMPS']._serialized_start=3174 - _globals['_LASTPRICETIMESTAMPS']._serialized_end=3295 - _globals['_PRICERECORDS']._serialized_start=3298 - _globals['_PRICERECORDS']._serialized_end=3492 - _globals['_PRICERECORD']._serialized_start=3494 - _globals['_PRICERECORD']._serialized_end=3596 - _globals['_METADATASTATISTICS']._serialized_start=3599 - _globals['_METADATASTATISTICS']._serialized_end=4098 - _globals['_PRICEATTESTATION']._serialized_start=4101 - _globals['_PRICEATTESTATION']._serialized_end=4326 - _globals['_ASSETPAIR']._serialized_start=4328 - _globals['_ASSETPAIR']._serialized_end=4453 - _globals['_SIGNEDPRICEOFASSETPAIR']._serialized_start=4456 - _globals['_SIGNEDPRICEOFASSETPAIR']._serialized_end=4636 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\034com.injective.oracle.v1beta1B\013OracleProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1\300\343\036\001" + ) + _globals["_PARAMS"]._loaded_options = None + _globals["_PARAMS"]._serialized_options = b"\350\240\037\001\212\347\260*\roracle/Params" + _globals["_CHAINLINKPRICESTATE"].fields_by_name["answer"]._loaded_options = None + _globals["_CHAINLINKPRICESTATE"].fields_by_name[ + "answer" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_CHAINLINKPRICESTATE"].fields_by_name["price_state"]._loaded_options = None + _globals["_CHAINLINKPRICESTATE"].fields_by_name["price_state"]._serialized_options = b"\310\336\037\000" + _globals["_BANDPRICESTATE"].fields_by_name["rate"]._loaded_options = None + _globals["_BANDPRICESTATE"].fields_by_name[ + "rate" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_BANDPRICESTATE"].fields_by_name["price_state"]._loaded_options = None + _globals["_BANDPRICESTATE"].fields_by_name["price_state"]._serialized_options = b"\310\336\037\000" + _globals["_PRICEFEEDPRICE"].fields_by_name["price"]._loaded_options = None + _globals["_PRICEFEEDPRICE"].fields_by_name[ + "price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_COINBASEPRICESTATE"].fields_by_name["price_state"]._loaded_options = None + _globals["_COINBASEPRICESTATE"].fields_by_name["price_state"]._serialized_options = b"\310\336\037\000" + _globals["_STORKPRICESTATE"].fields_by_name["value"]._loaded_options = None + _globals["_STORKPRICESTATE"].fields_by_name[ + "value" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_STORKPRICESTATE"].fields_by_name["price_state"]._loaded_options = None + _globals["_STORKPRICESTATE"].fields_by_name["price_state"]._serialized_options = b"\310\336\037\000" + _globals["_PRICESTATE"].fields_by_name["price"]._loaded_options = None + _globals["_PRICESTATE"].fields_by_name[ + "price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PRICESTATE"].fields_by_name["cumulative_price"]._loaded_options = None + _globals["_PRICESTATE"].fields_by_name[ + "cumulative_price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PYTHPRICESTATE"].fields_by_name["ema_price"]._loaded_options = None + _globals["_PYTHPRICESTATE"].fields_by_name[ + "ema_price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PYTHPRICESTATE"].fields_by_name["ema_conf"]._loaded_options = None + _globals["_PYTHPRICESTATE"].fields_by_name[ + "ema_conf" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PYTHPRICESTATE"].fields_by_name["conf"]._loaded_options = None + _globals["_PYTHPRICESTATE"].fields_by_name[ + "conf" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PYTHPRICESTATE"].fields_by_name["price_state"]._loaded_options = None + _globals["_PYTHPRICESTATE"].fields_by_name["price_state"]._serialized_options = b"\310\336\037\000" + _globals["_BANDORACLEREQUEST"].fields_by_name["fee_limit"]._loaded_options = None + _globals["_BANDORACLEREQUEST"].fields_by_name[ + "fee_limit" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" + _globals["_PRICERECORD"].fields_by_name["price"]._loaded_options = None + _globals["_PRICERECORD"].fields_by_name[ + "price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_METADATASTATISTICS"].fields_by_name["mean"]._loaded_options = None + _globals["_METADATASTATISTICS"].fields_by_name[ + "mean" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_METADATASTATISTICS"].fields_by_name["twap"]._loaded_options = None + _globals["_METADATASTATISTICS"].fields_by_name[ + "twap" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_METADATASTATISTICS"].fields_by_name["min_price"]._loaded_options = None + _globals["_METADATASTATISTICS"].fields_by_name[ + "min_price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_METADATASTATISTICS"].fields_by_name["max_price"]._loaded_options = None + _globals["_METADATASTATISTICS"].fields_by_name[ + "max_price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_METADATASTATISTICS"].fields_by_name["median_price"]._loaded_options = None + _globals["_METADATASTATISTICS"].fields_by_name[ + "median_price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SIGNEDPRICEOFASSETPAIR"].fields_by_name["price"]._loaded_options = None + _globals["_SIGNEDPRICEOFASSETPAIR"].fields_by_name[ + "price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_ORACLETYPE"]._serialized_start = 4639 + _globals["_ORACLETYPE"]._serialized_end = 4809 + _globals["_PARAMS"]._serialized_start = 140 + _globals["_PARAMS"]._serialized_end = 209 + _globals["_ORACLEINFO"]._serialized_start = 211 + _globals["_ORACLEINFO"]._serialized_end = 318 + _globals["_CHAINLINKPRICESTATE"]._serialized_start = 321 + _globals["_CHAINLINKPRICESTATE"]._serialized_end = 535 + _globals["_BANDPRICESTATE"]._serialized_start = 538 + _globals["_BANDPRICESTATE"]._serialized_end = 772 + _globals["_PRICEFEEDSTATE"]._serialized_start = 775 + _globals["_PRICEFEEDSTATE"]._serialized_end = 932 + _globals["_PROVIDERINFO"]._serialized_start = 934 + _globals["_PROVIDERINFO"]._serialized_end = 1004 + _globals["_PROVIDERSTATE"]._serialized_start = 1007 + _globals["_PROVIDERSTATE"]._serialized_end = 1197 + _globals["_PROVIDERPRICESTATE"]._serialized_start = 1199 + _globals["_PROVIDERPRICESTATE"]._serialized_end = 1303 + _globals["_PRICEFEEDINFO"]._serialized_start = 1305 + _globals["_PRICEFEEDINFO"]._serialized_end = 1362 + _globals["_PRICEFEEDPRICE"]._serialized_start = 1364 + _globals["_PRICEFEEDPRICE"]._serialized_end = 1439 + _globals["_COINBASEPRICESTATE"]._serialized_start = 1442 + _globals["_COINBASEPRICESTATE"]._serialized_end = 1629 + _globals["_STORKPRICESTATE"]._serialized_start = 1632 + _globals["_STORKPRICESTATE"]._serialized_end = 1839 + _globals["_PRICESTATE"]._serialized_start = 1842 + _globals["_PRICESTATE"]._serialized_end = 2023 + _globals["_PYTHPRICESTATE"]._serialized_start = 2026 + _globals["_PYTHPRICESTATE"]._serialized_end = 2368 + _globals["_BANDORACLEREQUEST"]._serialized_start = 2371 + _globals["_BANDORACLEREQUEST"]._serialized_end = 2761 + _globals["_BANDIBCPARAMS"]._serialized_start = 2764 + _globals["_BANDIBCPARAMS"]._serialized_end = 3026 + _globals["_SYMBOLPRICETIMESTAMP"]._serialized_start = 3029 + _globals["_SYMBOLPRICETIMESTAMP"]._serialized_end = 3172 + _globals["_LASTPRICETIMESTAMPS"]._serialized_start = 3174 + _globals["_LASTPRICETIMESTAMPS"]._serialized_end = 3295 + _globals["_PRICERECORDS"]._serialized_start = 3298 + _globals["_PRICERECORDS"]._serialized_end = 3492 + _globals["_PRICERECORD"]._serialized_start = 3494 + _globals["_PRICERECORD"]._serialized_end = 3596 + _globals["_METADATASTATISTICS"]._serialized_start = 3599 + _globals["_METADATASTATISTICS"]._serialized_end = 4098 + _globals["_PRICEATTESTATION"]._serialized_start = 4101 + _globals["_PRICEATTESTATION"]._serialized_end = 4326 + _globals["_ASSETPAIR"]._serialized_start = 4328 + _globals["_ASSETPAIR"]._serialized_end = 4453 + _globals["_SIGNEDPRICEOFASSETPAIR"]._serialized_start = 4456 + _globals["_SIGNEDPRICEOFASSETPAIR"]._serialized_end = 4636 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2_grpc.py +++ b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py index be531435..986b1f03 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,60 +20,86 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/oracle/v1beta1/proposal.proto\x12\x18injective.oracle.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\xca\x01\n GrantBandOraclePrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:R\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\'oracle/GrantBandOraclePrivilegeProposal\"\xcc\x01\n!RevokeBandOraclePrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(oracle/RevokeBandOraclePrivilegeProposal\"\xf6\x01\n!GrantPriceFeederPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x04 \x01(\tR\x05quote\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(oracle/GrantPriceFeederPrivilegeProposal\"\xe2\x01\n\x1eGrantProviderPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08provider\x18\x03 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x04 \x03(\tR\x08relayers:P\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*%oracle/GrantProviderPrivilegeProposal\"\xe4\x01\n\x1fRevokeProviderPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08provider\x18\x03 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&oracle/RevokeProviderPrivilegeProposal\"\xf8\x01\n\"RevokePriceFeederPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x04 \x01(\tR\x05quote\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)oracle/RevokePriceFeederPrivilegeProposal\"\xff\x01\n\"AuthorizeBandOracleRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12K\n\x07request\x18\x03 \x01(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestB\x04\xc8\xde\x1f\x00R\x07request:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)oracle/AuthorizeBandOracleRequestProposal\"\xbb\x02\n\x1fUpdateBandOracleRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12,\n\x12\x64\x65lete_request_ids\x18\x03 \x03(\x04R\x10\x64\x65leteRequestIds\x12_\n\x15update_oracle_request\x18\x04 \x01(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestR\x13updateOracleRequest:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&oracle/UpdateBandOracleRequestProposal\"\xef\x01\n\x15\x45nableBandIBCProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\x0f\x62\x61nd_ibc_params\x18\x03 \x01(\x0b\x32\'.injective.oracle.v1beta1.BandIBCParamsB\x04\xc8\xde\x1f\x00R\rbandIbcParams:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1coracle/EnableBandIBCProposal\"\xe1\x01\n$GrantStorkPublisherPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12)\n\x10stork_publishers\x18\x03 \x03(\tR\x0fstorkPublishers:V\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*+oracle/GrantStorkPublisherPrivilegeProposal\"\xe3\x01\n%RevokeStorkPublisherPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12)\n\x10stork_publishers\x18\x03 \x03(\tR\x0fstorkPublishers:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,oracle/RevokeStorkPublisherPrivilegeProposalB\xfd\x01\n\x1c\x63om.injective.oracle.v1beta1B\rProposalProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\'injective/oracle/v1beta1/proposal.proto\x12\x18injective.oracle.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto"\xca\x01\n GrantBandOraclePrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:R\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\'oracle/GrantBandOraclePrivilegeProposal"\xcc\x01\n!RevokeBandOraclePrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(oracle/RevokeBandOraclePrivilegeProposal"\xf6\x01\n!GrantPriceFeederPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x04 \x01(\tR\x05quote\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(oracle/GrantPriceFeederPrivilegeProposal"\xe2\x01\n\x1eGrantProviderPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08provider\x18\x03 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x04 \x03(\tR\x08relayers:P\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*%oracle/GrantProviderPrivilegeProposal"\xe4\x01\n\x1fRevokeProviderPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08provider\x18\x03 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&oracle/RevokeProviderPrivilegeProposal"\xf8\x01\n"RevokePriceFeederPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x04 \x01(\tR\x05quote\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)oracle/RevokePriceFeederPrivilegeProposal"\xff\x01\n"AuthorizeBandOracleRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12K\n\x07request\x18\x03 \x01(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestB\x04\xc8\xde\x1f\x00R\x07request:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)oracle/AuthorizeBandOracleRequestProposal"\xbb\x02\n\x1fUpdateBandOracleRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12,\n\x12\x64\x65lete_request_ids\x18\x03 \x03(\x04R\x10\x64\x65leteRequestIds\x12_\n\x15update_oracle_request\x18\x04 \x01(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestR\x13updateOracleRequest:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&oracle/UpdateBandOracleRequestProposal"\xef\x01\n\x15\x45nableBandIBCProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\x0f\x62\x61nd_ibc_params\x18\x03 \x01(\x0b\x32\'.injective.oracle.v1beta1.BandIBCParamsB\x04\xc8\xde\x1f\x00R\rbandIbcParams:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1coracle/EnableBandIBCProposal"\xe1\x01\n$GrantStorkPublisherPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12)\n\x10stork_publishers\x18\x03 \x03(\tR\x0fstorkPublishers:V\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*+oracle/GrantStorkPublisherPrivilegeProposal"\xe3\x01\n%RevokeStorkPublisherPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12)\n\x10stork_publishers\x18\x03 \x03(\tR\x0fstorkPublishers:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,oracle/RevokeStorkPublisherPrivilegeProposalB\xfd\x01\n\x1c\x63om.injective.oracle.v1beta1B\rProposalProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.proposal_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.oracle.v1beta1.proposal_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\rProposalProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1' - _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._loaded_options = None - _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\'oracle/GrantBandOraclePrivilegeProposal' - _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._loaded_options = None - _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(oracle/RevokeBandOraclePrivilegeProposal' - _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._loaded_options = None - _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(oracle/GrantPriceFeederPrivilegeProposal' - _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._loaded_options = None - _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*%oracle/GrantProviderPrivilegeProposal' - _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._loaded_options = None - _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&oracle/RevokeProviderPrivilegeProposal' - _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._loaded_options = None - _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)oracle/RevokePriceFeederPrivilegeProposal' - _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL'].fields_by_name['request']._loaded_options = None - _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL'].fields_by_name['request']._serialized_options = b'\310\336\037\000' - _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._loaded_options = None - _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)oracle/AuthorizeBandOracleRequestProposal' - _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._loaded_options = None - _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&oracle/UpdateBandOracleRequestProposal' - _globals['_ENABLEBANDIBCPROPOSAL'].fields_by_name['band_ibc_params']._loaded_options = None - _globals['_ENABLEBANDIBCPROPOSAL'].fields_by_name['band_ibc_params']._serialized_options = b'\310\336\037\000' - _globals['_ENABLEBANDIBCPROPOSAL']._loaded_options = None - _globals['_ENABLEBANDIBCPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034oracle/EnableBandIBCProposal' - _globals['_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL']._loaded_options = None - _globals['_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*+oracle/GrantStorkPublisherPrivilegeProposal' - _globals['_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL']._loaded_options = None - _globals['_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,oracle/RevokeStorkPublisherPrivilegeProposal' - _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._serialized_start=209 - _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._serialized_end=411 - _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._serialized_start=414 - _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._serialized_end=618 - _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_start=621 - _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_end=867 - _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._serialized_start=870 - _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._serialized_end=1096 - _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._serialized_start=1099 - _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._serialized_end=1327 - _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_start=1330 - _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_end=1578 - _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._serialized_start=1581 - _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._serialized_end=1836 - _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._serialized_start=1839 - _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._serialized_end=2154 - _globals['_ENABLEBANDIBCPROPOSAL']._serialized_start=2157 - _globals['_ENABLEBANDIBCPROPOSAL']._serialized_end=2396 - _globals['_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_start=2399 - _globals['_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_end=2624 - _globals['_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_start=2627 - _globals['_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_end=2854 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\034com.injective.oracle.v1beta1B\rProposalProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1" + ) + _globals["_GRANTBANDORACLEPRIVILEGEPROPOSAL"]._loaded_options = None + _globals["_GRANTBANDORACLEPRIVILEGEPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*'oracle/GrantBandOraclePrivilegeProposal" + ) + _globals["_REVOKEBANDORACLEPRIVILEGEPROPOSAL"]._loaded_options = None + _globals["_REVOKEBANDORACLEPRIVILEGEPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(oracle/RevokeBandOraclePrivilegeProposal" + ) + _globals["_GRANTPRICEFEEDERPRIVILEGEPROPOSAL"]._loaded_options = None + _globals["_GRANTPRICEFEEDERPRIVILEGEPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(oracle/GrantPriceFeederPrivilegeProposal" + ) + _globals["_GRANTPROVIDERPRIVILEGEPROPOSAL"]._loaded_options = None + _globals["_GRANTPROVIDERPRIVILEGEPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*%oracle/GrantProviderPrivilegeProposal" + ) + _globals["_REVOKEPROVIDERPRIVILEGEPROPOSAL"]._loaded_options = None + _globals["_REVOKEPROVIDERPRIVILEGEPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&oracle/RevokeProviderPrivilegeProposal" + ) + _globals["_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL"]._loaded_options = None + _globals["_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)oracle/RevokePriceFeederPrivilegeProposal" + ) + _globals["_AUTHORIZEBANDORACLEREQUESTPROPOSAL"].fields_by_name["request"]._loaded_options = None + _globals["_AUTHORIZEBANDORACLEREQUESTPROPOSAL"].fields_by_name["request"]._serialized_options = b"\310\336\037\000" + _globals["_AUTHORIZEBANDORACLEREQUESTPROPOSAL"]._loaded_options = None + _globals["_AUTHORIZEBANDORACLEREQUESTPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)oracle/AuthorizeBandOracleRequestProposal" + ) + _globals["_UPDATEBANDORACLEREQUESTPROPOSAL"]._loaded_options = None + _globals["_UPDATEBANDORACLEREQUESTPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&oracle/UpdateBandOracleRequestProposal" + ) + _globals["_ENABLEBANDIBCPROPOSAL"].fields_by_name["band_ibc_params"]._loaded_options = None + _globals["_ENABLEBANDIBCPROPOSAL"].fields_by_name["band_ibc_params"]._serialized_options = b"\310\336\037\000" + _globals["_ENABLEBANDIBCPROPOSAL"]._loaded_options = None + _globals["_ENABLEBANDIBCPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034oracle/EnableBandIBCProposal" + ) + _globals["_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL"]._loaded_options = None + _globals["_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*+oracle/GrantStorkPublisherPrivilegeProposal" + ) + _globals["_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL"]._loaded_options = None + _globals["_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,oracle/RevokeStorkPublisherPrivilegeProposal" + ) + _globals["_GRANTBANDORACLEPRIVILEGEPROPOSAL"]._serialized_start = 209 + _globals["_GRANTBANDORACLEPRIVILEGEPROPOSAL"]._serialized_end = 411 + _globals["_REVOKEBANDORACLEPRIVILEGEPROPOSAL"]._serialized_start = 414 + _globals["_REVOKEBANDORACLEPRIVILEGEPROPOSAL"]._serialized_end = 618 + _globals["_GRANTPRICEFEEDERPRIVILEGEPROPOSAL"]._serialized_start = 621 + _globals["_GRANTPRICEFEEDERPRIVILEGEPROPOSAL"]._serialized_end = 867 + _globals["_GRANTPROVIDERPRIVILEGEPROPOSAL"]._serialized_start = 870 + _globals["_GRANTPROVIDERPRIVILEGEPROPOSAL"]._serialized_end = 1096 + _globals["_REVOKEPROVIDERPRIVILEGEPROPOSAL"]._serialized_start = 1099 + _globals["_REVOKEPROVIDERPRIVILEGEPROPOSAL"]._serialized_end = 1327 + _globals["_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL"]._serialized_start = 1330 + _globals["_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL"]._serialized_end = 1578 + _globals["_AUTHORIZEBANDORACLEREQUESTPROPOSAL"]._serialized_start = 1581 + _globals["_AUTHORIZEBANDORACLEREQUESTPROPOSAL"]._serialized_end = 1836 + _globals["_UPDATEBANDORACLEREQUESTPROPOSAL"]._serialized_start = 1839 + _globals["_UPDATEBANDORACLEREQUESTPROPOSAL"]._serialized_end = 2154 + _globals["_ENABLEBANDIBCPROPOSAL"]._serialized_start = 2157 + _globals["_ENABLEBANDIBCPROPOSAL"]._serialized_end = 2396 + _globals["_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL"]._serialized_start = 2399 + _globals["_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL"]._serialized_end = 2624 + _globals["_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL"]._serialized_start = 2627 + _globals["_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL"]._serialized_end = 2854 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2_grpc.py +++ b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py index 31138e67..94998ec3 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,138 +19,190 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/oracle/v1beta1/query.proto\x12\x18injective.oracle.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a&injective/oracle/v1beta1/genesis.proto\x1a\x14gogoproto/gogo.proto\"2\n\x15QueryPythPriceRequest\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\"c\n\x16QueryPythPriceResponse\x12I\n\x0bprice_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\npriceState\"\x14\n\x12QueryParamsRequest\"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1a\n\x18QueryBandRelayersRequest\"7\n\x19QueryBandRelayersResponse\x12\x1a\n\x08relayers\x18\x01 \x03(\tR\x08relayers\"\x1d\n\x1bQueryBandPriceStatesRequest\"k\n\x1cQueryBandPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0bpriceStates\" \n\x1eQueryBandIBCPriceStatesRequest\"n\n\x1fQueryBandIBCPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0bpriceStates\"\"\n QueryPriceFeedPriceStatesRequest\"p\n!QueryPriceFeedPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedStateR\x0bpriceStates\"!\n\x1fQueryCoinbasePriceStatesRequest\"s\n QueryCoinbasePriceStatesResponse\x12O\n\x0cprice_states\x18\x01 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceStateR\x0bpriceStates\"\x1d\n\x1bQueryPythPriceStatesRequest\"k\n\x1cQueryPythPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x0bpriceStates\"\x1e\n\x1cQueryStorkPriceStatesRequest\"m\n\x1dQueryStorkPriceStatesResponse\x12L\n\x0cprice_states\x18\x01 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x0bpriceStates\"\x1d\n\x1bQueryStorkPublishersRequest\">\n\x1cQueryStorkPublishersResponse\x12\x1e\n\npublishers\x18\x01 \x03(\tR\npublishers\"T\n\x1eQueryProviderPriceStateRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\"h\n\x1fQueryProviderPriceStateResponse\x12\x45\n\x0bprice_state\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\npriceState\"\x19\n\x17QueryModuleStateRequest\"X\n\x18QueryModuleStateResponse\x12<\n\x05state\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.GenesisStateR\x05state\"\x7f\n\"QueryHistoricalPriceRecordsRequest\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\"r\n#QueryHistoricalPriceRecordsResponse\x12K\n\rprice_records\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecordsR\x0cpriceRecords\"\x8a\x01\n\x14OracleHistoryOptions\x12\x17\n\x07max_age\x18\x01 \x01(\x04R\x06maxAge\x12.\n\x13include_raw_history\x18\x02 \x01(\x08R\x11includeRawHistory\x12)\n\x10include_metadata\x18\x03 \x01(\x08R\x0fincludeMetadata\"\x8c\x02\n\x1cQueryOracleVolatilityRequest\x12\x41\n\tbase_info\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfoR\x08\x62\x61seInfo\x12\x43\n\nquote_info\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfoR\tquoteInfo\x12\x64\n\x16oracle_history_options\x18\x03 \x01(\x0b\x32..injective.oracle.v1beta1.OracleHistoryOptionsR\x14oracleHistoryOptions\"\x81\x02\n\x1dQueryOracleVolatilityResponse\x12?\n\nvolatility\x18\x01 \x01(\tB\x1f\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nvolatility\x12W\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatisticsR\x0fhistoryMetadata\x12\x46\n\x0braw_history\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecordR\nrawHistory\"!\n\x1fQueryOracleProvidersInfoRequest\"h\n QueryOracleProvidersInfoResponse\x12\x44\n\tproviders\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.ProviderInfoR\tproviders\">\n QueryOracleProviderPricesRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\"r\n!QueryOracleProviderPricesResponse\x12M\n\rproviderState\x18\x01 \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderStateR\rproviderState\"\\\n\x0eScalingOptions\x12#\n\rbase_decimals\x18\x01 \x01(\rR\x0c\x62\x61seDecimals\x12%\n\x0equote_decimals\x18\x02 \x01(\rR\rquoteDecimals\"\xe3\x01\n\x17QueryOraclePriceRequest\x12\x45\n\x0boracle_type\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x12\n\x04\x62\x61se\x18\x02 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x01(\tR\x05quote\x12W\n\x0fscaling_options\x18\x04 \x01(\x0b\x32(.injective.oracle.v1beta1.ScalingOptionsB\x04\xc8\xde\x1f\x01R\x0escalingOptions\"\xe2\x03\n\x0ePricePairState\x12\x42\n\npair_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tpairPrice\x12\x42\n\nbase_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tbasePrice\x12\x44\n\x0bquote_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nquotePrice\x12W\n\x15\x62\x61se_cumulative_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13\x62\x61seCumulativePrice\x12Y\n\x16quote_cumulative_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14quoteCumulativePrice\x12%\n\x0e\x62\x61se_timestamp\x18\x06 \x01(\x03R\rbaseTimestamp\x12\'\n\x0fquote_timestamp\x18\x07 \x01(\x03R\x0equoteTimestamp\"n\n\x18QueryOraclePriceResponse\x12R\n\x10price_pair_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PricePairStateR\x0epricePairState2\xcd\x18\n\x05Query\x12\x8f\x01\n\x06Params\x12,.injective.oracle.v1beta1.QueryParamsRequest\x1a-.injective.oracle.v1beta1.QueryParamsResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /injective/oracle/v1beta1/params\x12\xa8\x01\n\x0c\x42\x61ndRelayers\x12\x32.injective.oracle.v1beta1.QueryBandRelayersRequest\x1a\x33.injective.oracle.v1beta1.QueryBandRelayersResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/injective/oracle/v1beta1/band_relayers\x12\xb5\x01\n\x0f\x42\x61ndPriceStates\x12\x35.injective.oracle.v1beta1.QueryBandPriceStatesRequest\x1a\x36.injective.oracle.v1beta1.QueryBandPriceStatesResponse\"3\x82\xd3\xe4\x93\x02-\x12+/injective/oracle/v1beta1/band_price_states\x12\xc2\x01\n\x12\x42\x61ndIBCPriceStates\x12\x38.injective.oracle.v1beta1.QueryBandIBCPriceStatesRequest\x1a\x39.injective.oracle.v1beta1.QueryBandIBCPriceStatesResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/oracle/v1beta1/band_ibc_price_states\x12\xc9\x01\n\x14PriceFeedPriceStates\x12:.injective.oracle.v1beta1.QueryPriceFeedPriceStatesRequest\x1a;.injective.oracle.v1beta1.QueryPriceFeedPriceStatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/oracle/v1beta1/pricefeed_price_states\x12\xc5\x01\n\x13\x43oinbasePriceStates\x12\x39.injective.oracle.v1beta1.QueryCoinbasePriceStatesRequest\x1a:.injective.oracle.v1beta1.QueryCoinbasePriceStatesResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/oracle/v1beta1/coinbase_price_states\x12\xb5\x01\n\x0fPythPriceStates\x12\x35.injective.oracle.v1beta1.QueryPythPriceStatesRequest\x1a\x36.injective.oracle.v1beta1.QueryPythPriceStatesResponse\"3\x82\xd3\xe4\x93\x02-\x12+/injective/oracle/v1beta1/pyth_price_states\x12\xb9\x01\n\x10StorkPriceStates\x12\x36.injective.oracle.v1beta1.QueryStorkPriceStatesRequest\x1a\x37.injective.oracle.v1beta1.QueryStorkPriceStatesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/injective/oracle/v1beta1/stork_price_states\x12\xb4\x01\n\x0fStorkPublishers\x12\x35.injective.oracle.v1beta1.QueryStorkPublishersRequest\x1a\x36.injective.oracle.v1beta1.QueryStorkPublishersResponse\"2\x82\xd3\xe4\x93\x02,\x12*/injective/oracle/v1beta1/stork_publishers\x12\xd5\x01\n\x12ProviderPriceState\x12\x38.injective.oracle.v1beta1.QueryProviderPriceStateRequest\x1a\x39.injective.oracle.v1beta1.QueryProviderPriceStateResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/injective/oracle/v1beta1/provider_price_state/{provider}/{symbol}\x12\xaa\x01\n\x11OracleModuleState\x12\x31.injective.oracle.v1beta1.QueryModuleStateRequest\x1a\x32.injective.oracle.v1beta1.QueryModuleStateResponse\".\x82\xd3\xe4\x93\x02(\x12&/injective/oracle/v1beta1/module_state\x12\xd1\x01\n\x16HistoricalPriceRecords\x12<.injective.oracle.v1beta1.QueryHistoricalPriceRecordsRequest\x1a=.injective.oracle.v1beta1.QueryHistoricalPriceRecordsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/oracle/v1beta1/historical_price_records\x12\xb1\x01\n\x10OracleVolatility\x12\x36.injective.oracle.v1beta1.QueryOracleVolatilityRequest\x1a\x37.injective.oracle.v1beta1.QueryOracleVolatilityResponse\",\x82\xd3\xe4\x93\x02&\x12$/injective/oracle/v1beta1/volatility\x12\xb9\x01\n\x13OracleProvidersInfo\x12\x39.injective.oracle.v1beta1.QueryOracleProvidersInfoRequest\x1a:.injective.oracle.v1beta1.QueryOracleProvidersInfoResponse\"+\x82\xd3\xe4\x93\x02%\x12#/injective/oracle/v1beta1/providers\x12\xc2\x01\n\x14OracleProviderPrices\x12:.injective.oracle.v1beta1.QueryOracleProviderPricesRequest\x1a;.injective.oracle.v1beta1.QueryOracleProviderPricesResponse\"1\x82\xd3\xe4\x93\x02+\x12)/injective/oracle/v1beta1/provider_prices\x12\x9d\x01\n\x0bOraclePrice\x12\x31.injective.oracle.v1beta1.QueryOraclePriceRequest\x1a\x32.injective.oracle.v1beta1.QueryOraclePriceResponse\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/injective/oracle/v1beta1/price\x12\x9c\x01\n\tPythPrice\x12/.injective.oracle.v1beta1.QueryPythPriceRequest\x1a\x30.injective.oracle.v1beta1.QueryPythPriceResponse\",\x82\xd3\xe4\x93\x02&\x12$/injective/oracle/v1beta1/pyth_priceB\xfa\x01\n\x1c\x63om.injective.oracle.v1beta1B\nQueryProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$injective/oracle/v1beta1/query.proto\x12\x18injective.oracle.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a&injective/oracle/v1beta1/genesis.proto\x1a\x14gogoproto/gogo.proto"2\n\x15QueryPythPriceRequest\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId"c\n\x16QueryPythPriceResponse\x12I\n\x0bprice_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\npriceState"\x14\n\x12QueryParamsRequest"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\x1a\n\x18QueryBandRelayersRequest"7\n\x19QueryBandRelayersResponse\x12\x1a\n\x08relayers\x18\x01 \x03(\tR\x08relayers"\x1d\n\x1bQueryBandPriceStatesRequest"k\n\x1cQueryBandPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0bpriceStates" \n\x1eQueryBandIBCPriceStatesRequest"n\n\x1fQueryBandIBCPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0bpriceStates""\n QueryPriceFeedPriceStatesRequest"p\n!QueryPriceFeedPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedStateR\x0bpriceStates"!\n\x1fQueryCoinbasePriceStatesRequest"s\n QueryCoinbasePriceStatesResponse\x12O\n\x0cprice_states\x18\x01 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceStateR\x0bpriceStates"\x1d\n\x1bQueryPythPriceStatesRequest"k\n\x1cQueryPythPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x0bpriceStates"\x1e\n\x1cQueryStorkPriceStatesRequest"m\n\x1dQueryStorkPriceStatesResponse\x12L\n\x0cprice_states\x18\x01 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x0bpriceStates"\x1d\n\x1bQueryStorkPublishersRequest">\n\x1cQueryStorkPublishersResponse\x12\x1e\n\npublishers\x18\x01 \x03(\tR\npublishers"T\n\x1eQueryProviderPriceStateRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol"h\n\x1fQueryProviderPriceStateResponse\x12\x45\n\x0bprice_state\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\npriceState"\x19\n\x17QueryModuleStateRequest"X\n\x18QueryModuleStateResponse\x12<\n\x05state\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.GenesisStateR\x05state"\x7f\n"QueryHistoricalPriceRecordsRequest\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId"r\n#QueryHistoricalPriceRecordsResponse\x12K\n\rprice_records\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecordsR\x0cpriceRecords"\x8a\x01\n\x14OracleHistoryOptions\x12\x17\n\x07max_age\x18\x01 \x01(\x04R\x06maxAge\x12.\n\x13include_raw_history\x18\x02 \x01(\x08R\x11includeRawHistory\x12)\n\x10include_metadata\x18\x03 \x01(\x08R\x0fincludeMetadata"\x8c\x02\n\x1cQueryOracleVolatilityRequest\x12\x41\n\tbase_info\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfoR\x08\x62\x61seInfo\x12\x43\n\nquote_info\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfoR\tquoteInfo\x12\x64\n\x16oracle_history_options\x18\x03 \x01(\x0b\x32..injective.oracle.v1beta1.OracleHistoryOptionsR\x14oracleHistoryOptions"\x81\x02\n\x1dQueryOracleVolatilityResponse\x12?\n\nvolatility\x18\x01 \x01(\tB\x1f\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nvolatility\x12W\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatisticsR\x0fhistoryMetadata\x12\x46\n\x0braw_history\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecordR\nrawHistory"!\n\x1fQueryOracleProvidersInfoRequest"h\n QueryOracleProvidersInfoResponse\x12\x44\n\tproviders\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.ProviderInfoR\tproviders">\n QueryOracleProviderPricesRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider"r\n!QueryOracleProviderPricesResponse\x12M\n\rproviderState\x18\x01 \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderStateR\rproviderState"\\\n\x0eScalingOptions\x12#\n\rbase_decimals\x18\x01 \x01(\rR\x0c\x62\x61seDecimals\x12%\n\x0equote_decimals\x18\x02 \x01(\rR\rquoteDecimals"\xe3\x01\n\x17QueryOraclePriceRequest\x12\x45\n\x0boracle_type\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x12\n\x04\x62\x61se\x18\x02 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x01(\tR\x05quote\x12W\n\x0fscaling_options\x18\x04 \x01(\x0b\x32(.injective.oracle.v1beta1.ScalingOptionsB\x04\xc8\xde\x1f\x01R\x0escalingOptions"\xe2\x03\n\x0ePricePairState\x12\x42\n\npair_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tpairPrice\x12\x42\n\nbase_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tbasePrice\x12\x44\n\x0bquote_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nquotePrice\x12W\n\x15\x62\x61se_cumulative_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13\x62\x61seCumulativePrice\x12Y\n\x16quote_cumulative_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14quoteCumulativePrice\x12%\n\x0e\x62\x61se_timestamp\x18\x06 \x01(\x03R\rbaseTimestamp\x12\'\n\x0fquote_timestamp\x18\x07 \x01(\x03R\x0equoteTimestamp"n\n\x18QueryOraclePriceResponse\x12R\n\x10price_pair_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PricePairStateR\x0epricePairState2\xcd\x18\n\x05Query\x12\x8f\x01\n\x06Params\x12,.injective.oracle.v1beta1.QueryParamsRequest\x1a-.injective.oracle.v1beta1.QueryParamsResponse"(\x82\xd3\xe4\x93\x02"\x12 /injective/oracle/v1beta1/params\x12\xa8\x01\n\x0c\x42\x61ndRelayers\x12\x32.injective.oracle.v1beta1.QueryBandRelayersRequest\x1a\x33.injective.oracle.v1beta1.QueryBandRelayersResponse"/\x82\xd3\xe4\x93\x02)\x12\'/injective/oracle/v1beta1/band_relayers\x12\xb5\x01\n\x0f\x42\x61ndPriceStates\x12\x35.injective.oracle.v1beta1.QueryBandPriceStatesRequest\x1a\x36.injective.oracle.v1beta1.QueryBandPriceStatesResponse"3\x82\xd3\xe4\x93\x02-\x12+/injective/oracle/v1beta1/band_price_states\x12\xc2\x01\n\x12\x42\x61ndIBCPriceStates\x12\x38.injective.oracle.v1beta1.QueryBandIBCPriceStatesRequest\x1a\x39.injective.oracle.v1beta1.QueryBandIBCPriceStatesResponse"7\x82\xd3\xe4\x93\x02\x31\x12//injective/oracle/v1beta1/band_ibc_price_states\x12\xc9\x01\n\x14PriceFeedPriceStates\x12:.injective.oracle.v1beta1.QueryPriceFeedPriceStatesRequest\x1a;.injective.oracle.v1beta1.QueryPriceFeedPriceStatesResponse"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/oracle/v1beta1/pricefeed_price_states\x12\xc5\x01\n\x13\x43oinbasePriceStates\x12\x39.injective.oracle.v1beta1.QueryCoinbasePriceStatesRequest\x1a:.injective.oracle.v1beta1.QueryCoinbasePriceStatesResponse"7\x82\xd3\xe4\x93\x02\x31\x12//injective/oracle/v1beta1/coinbase_price_states\x12\xb5\x01\n\x0fPythPriceStates\x12\x35.injective.oracle.v1beta1.QueryPythPriceStatesRequest\x1a\x36.injective.oracle.v1beta1.QueryPythPriceStatesResponse"3\x82\xd3\xe4\x93\x02-\x12+/injective/oracle/v1beta1/pyth_price_states\x12\xb9\x01\n\x10StorkPriceStates\x12\x36.injective.oracle.v1beta1.QueryStorkPriceStatesRequest\x1a\x37.injective.oracle.v1beta1.QueryStorkPriceStatesResponse"4\x82\xd3\xe4\x93\x02.\x12,/injective/oracle/v1beta1/stork_price_states\x12\xb4\x01\n\x0fStorkPublishers\x12\x35.injective.oracle.v1beta1.QueryStorkPublishersRequest\x1a\x36.injective.oracle.v1beta1.QueryStorkPublishersResponse"2\x82\xd3\xe4\x93\x02,\x12*/injective/oracle/v1beta1/stork_publishers\x12\xd5\x01\n\x12ProviderPriceState\x12\x38.injective.oracle.v1beta1.QueryProviderPriceStateRequest\x1a\x39.injective.oracle.v1beta1.QueryProviderPriceStateResponse"J\x82\xd3\xe4\x93\x02\x44\x12\x42/injective/oracle/v1beta1/provider_price_state/{provider}/{symbol}\x12\xaa\x01\n\x11OracleModuleState\x12\x31.injective.oracle.v1beta1.QueryModuleStateRequest\x1a\x32.injective.oracle.v1beta1.QueryModuleStateResponse".\x82\xd3\xe4\x93\x02(\x12&/injective/oracle/v1beta1/module_state\x12\xd1\x01\n\x16HistoricalPriceRecords\x12<.injective.oracle.v1beta1.QueryHistoricalPriceRecordsRequest\x1a=.injective.oracle.v1beta1.QueryHistoricalPriceRecordsResponse":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/oracle/v1beta1/historical_price_records\x12\xb1\x01\n\x10OracleVolatility\x12\x36.injective.oracle.v1beta1.QueryOracleVolatilityRequest\x1a\x37.injective.oracle.v1beta1.QueryOracleVolatilityResponse",\x82\xd3\xe4\x93\x02&\x12$/injective/oracle/v1beta1/volatility\x12\xb9\x01\n\x13OracleProvidersInfo\x12\x39.injective.oracle.v1beta1.QueryOracleProvidersInfoRequest\x1a:.injective.oracle.v1beta1.QueryOracleProvidersInfoResponse"+\x82\xd3\xe4\x93\x02%\x12#/injective/oracle/v1beta1/providers\x12\xc2\x01\n\x14OracleProviderPrices\x12:.injective.oracle.v1beta1.QueryOracleProviderPricesRequest\x1a;.injective.oracle.v1beta1.QueryOracleProviderPricesResponse"1\x82\xd3\xe4\x93\x02+\x12)/injective/oracle/v1beta1/provider_prices\x12\x9d\x01\n\x0bOraclePrice\x12\x31.injective.oracle.v1beta1.QueryOraclePriceRequest\x1a\x32.injective.oracle.v1beta1.QueryOraclePriceResponse"\'\x82\xd3\xe4\x93\x02!\x12\x1f/injective/oracle/v1beta1/price\x12\x9c\x01\n\tPythPrice\x12/.injective.oracle.v1beta1.QueryPythPriceRequest\x1a\x30.injective.oracle.v1beta1.QueryPythPriceResponse",\x82\xd3\xe4\x93\x02&\x12$/injective/oracle/v1beta1/pyth_priceB\xfa\x01\n\x1c\x63om.injective.oracle.v1beta1B\nQueryProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.oracle.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\nQueryProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_QUERYORACLEVOLATILITYRESPONSE'].fields_by_name['volatility']._loaded_options = None - _globals['_QUERYORACLEVOLATILITYRESPONSE'].fields_by_name['volatility']._serialized_options = b'\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERYORACLEPRICEREQUEST'].fields_by_name['scaling_options']._loaded_options = None - _globals['_QUERYORACLEPRICEREQUEST'].fields_by_name['scaling_options']._serialized_options = b'\310\336\037\001' - _globals['_PRICEPAIRSTATE'].fields_by_name['pair_price']._loaded_options = None - _globals['_PRICEPAIRSTATE'].fields_by_name['pair_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PRICEPAIRSTATE'].fields_by_name['base_price']._loaded_options = None - _globals['_PRICEPAIRSTATE'].fields_by_name['base_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PRICEPAIRSTATE'].fields_by_name['quote_price']._loaded_options = None - _globals['_PRICEPAIRSTATE'].fields_by_name['quote_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PRICEPAIRSTATE'].fields_by_name['base_cumulative_price']._loaded_options = None - _globals['_PRICEPAIRSTATE'].fields_by_name['base_cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PRICEPAIRSTATE'].fields_by_name['quote_cumulative_price']._loaded_options = None - _globals['_PRICEPAIRSTATE'].fields_by_name['quote_cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\"\022 /injective/oracle/v1beta1/params' - _globals['_QUERY'].methods_by_name['BandRelayers']._loaded_options = None - _globals['_QUERY'].methods_by_name['BandRelayers']._serialized_options = b'\202\323\344\223\002)\022\'/injective/oracle/v1beta1/band_relayers' - _globals['_QUERY'].methods_by_name['BandPriceStates']._loaded_options = None - _globals['_QUERY'].methods_by_name['BandPriceStates']._serialized_options = b'\202\323\344\223\002-\022+/injective/oracle/v1beta1/band_price_states' - _globals['_QUERY'].methods_by_name['BandIBCPriceStates']._loaded_options = None - _globals['_QUERY'].methods_by_name['BandIBCPriceStates']._serialized_options = b'\202\323\344\223\0021\022//injective/oracle/v1beta1/band_ibc_price_states' - _globals['_QUERY'].methods_by_name['PriceFeedPriceStates']._loaded_options = None - _globals['_QUERY'].methods_by_name['PriceFeedPriceStates']._serialized_options = b'\202\323\344\223\0022\0220/injective/oracle/v1beta1/pricefeed_price_states' - _globals['_QUERY'].methods_by_name['CoinbasePriceStates']._loaded_options = None - _globals['_QUERY'].methods_by_name['CoinbasePriceStates']._serialized_options = b'\202\323\344\223\0021\022//injective/oracle/v1beta1/coinbase_price_states' - _globals['_QUERY'].methods_by_name['PythPriceStates']._loaded_options = None - _globals['_QUERY'].methods_by_name['PythPriceStates']._serialized_options = b'\202\323\344\223\002-\022+/injective/oracle/v1beta1/pyth_price_states' - _globals['_QUERY'].methods_by_name['StorkPriceStates']._loaded_options = None - _globals['_QUERY'].methods_by_name['StorkPriceStates']._serialized_options = b'\202\323\344\223\002.\022,/injective/oracle/v1beta1/stork_price_states' - _globals['_QUERY'].methods_by_name['StorkPublishers']._loaded_options = None - _globals['_QUERY'].methods_by_name['StorkPublishers']._serialized_options = b'\202\323\344\223\002,\022*/injective/oracle/v1beta1/stork_publishers' - _globals['_QUERY'].methods_by_name['ProviderPriceState']._loaded_options = None - _globals['_QUERY'].methods_by_name['ProviderPriceState']._serialized_options = b'\202\323\344\223\002D\022B/injective/oracle/v1beta1/provider_price_state/{provider}/{symbol}' - _globals['_QUERY'].methods_by_name['OracleModuleState']._loaded_options = None - _globals['_QUERY'].methods_by_name['OracleModuleState']._serialized_options = b'\202\323\344\223\002(\022&/injective/oracle/v1beta1/module_state' - _globals['_QUERY'].methods_by_name['HistoricalPriceRecords']._loaded_options = None - _globals['_QUERY'].methods_by_name['HistoricalPriceRecords']._serialized_options = b'\202\323\344\223\0024\0222/injective/oracle/v1beta1/historical_price_records' - _globals['_QUERY'].methods_by_name['OracleVolatility']._loaded_options = None - _globals['_QUERY'].methods_by_name['OracleVolatility']._serialized_options = b'\202\323\344\223\002&\022$/injective/oracle/v1beta1/volatility' - _globals['_QUERY'].methods_by_name['OracleProvidersInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['OracleProvidersInfo']._serialized_options = b'\202\323\344\223\002%\022#/injective/oracle/v1beta1/providers' - _globals['_QUERY'].methods_by_name['OracleProviderPrices']._loaded_options = None - _globals['_QUERY'].methods_by_name['OracleProviderPrices']._serialized_options = b'\202\323\344\223\002+\022)/injective/oracle/v1beta1/provider_prices' - _globals['_QUERY'].methods_by_name['OraclePrice']._loaded_options = None - _globals['_QUERY'].methods_by_name['OraclePrice']._serialized_options = b'\202\323\344\223\002!\022\037/injective/oracle/v1beta1/price' - _globals['_QUERY'].methods_by_name['PythPrice']._loaded_options = None - _globals['_QUERY'].methods_by_name['PythPrice']._serialized_options = b'\202\323\344\223\002&\022$/injective/oracle/v1beta1/pyth_price' - _globals['_QUERYPYTHPRICEREQUEST']._serialized_start=197 - _globals['_QUERYPYTHPRICEREQUEST']._serialized_end=247 - _globals['_QUERYPYTHPRICERESPONSE']._serialized_start=249 - _globals['_QUERYPYTHPRICERESPONSE']._serialized_end=348 - _globals['_QUERYPARAMSREQUEST']._serialized_start=350 - _globals['_QUERYPARAMSREQUEST']._serialized_end=370 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=372 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=457 - _globals['_QUERYBANDRELAYERSREQUEST']._serialized_start=459 - _globals['_QUERYBANDRELAYERSREQUEST']._serialized_end=485 - _globals['_QUERYBANDRELAYERSRESPONSE']._serialized_start=487 - _globals['_QUERYBANDRELAYERSRESPONSE']._serialized_end=542 - _globals['_QUERYBANDPRICESTATESREQUEST']._serialized_start=544 - _globals['_QUERYBANDPRICESTATESREQUEST']._serialized_end=573 - _globals['_QUERYBANDPRICESTATESRESPONSE']._serialized_start=575 - _globals['_QUERYBANDPRICESTATESRESPONSE']._serialized_end=682 - _globals['_QUERYBANDIBCPRICESTATESREQUEST']._serialized_start=684 - _globals['_QUERYBANDIBCPRICESTATESREQUEST']._serialized_end=716 - _globals['_QUERYBANDIBCPRICESTATESRESPONSE']._serialized_start=718 - _globals['_QUERYBANDIBCPRICESTATESRESPONSE']._serialized_end=828 - _globals['_QUERYPRICEFEEDPRICESTATESREQUEST']._serialized_start=830 - _globals['_QUERYPRICEFEEDPRICESTATESREQUEST']._serialized_end=864 - _globals['_QUERYPRICEFEEDPRICESTATESRESPONSE']._serialized_start=866 - _globals['_QUERYPRICEFEEDPRICESTATESRESPONSE']._serialized_end=978 - _globals['_QUERYCOINBASEPRICESTATESREQUEST']._serialized_start=980 - _globals['_QUERYCOINBASEPRICESTATESREQUEST']._serialized_end=1013 - _globals['_QUERYCOINBASEPRICESTATESRESPONSE']._serialized_start=1015 - _globals['_QUERYCOINBASEPRICESTATESRESPONSE']._serialized_end=1130 - _globals['_QUERYPYTHPRICESTATESREQUEST']._serialized_start=1132 - _globals['_QUERYPYTHPRICESTATESREQUEST']._serialized_end=1161 - _globals['_QUERYPYTHPRICESTATESRESPONSE']._serialized_start=1163 - _globals['_QUERYPYTHPRICESTATESRESPONSE']._serialized_end=1270 - _globals['_QUERYSTORKPRICESTATESREQUEST']._serialized_start=1272 - _globals['_QUERYSTORKPRICESTATESREQUEST']._serialized_end=1302 - _globals['_QUERYSTORKPRICESTATESRESPONSE']._serialized_start=1304 - _globals['_QUERYSTORKPRICESTATESRESPONSE']._serialized_end=1413 - _globals['_QUERYSTORKPUBLISHERSREQUEST']._serialized_start=1415 - _globals['_QUERYSTORKPUBLISHERSREQUEST']._serialized_end=1444 - _globals['_QUERYSTORKPUBLISHERSRESPONSE']._serialized_start=1446 - _globals['_QUERYSTORKPUBLISHERSRESPONSE']._serialized_end=1508 - _globals['_QUERYPROVIDERPRICESTATEREQUEST']._serialized_start=1510 - _globals['_QUERYPROVIDERPRICESTATEREQUEST']._serialized_end=1594 - _globals['_QUERYPROVIDERPRICESTATERESPONSE']._serialized_start=1596 - _globals['_QUERYPROVIDERPRICESTATERESPONSE']._serialized_end=1700 - _globals['_QUERYMODULESTATEREQUEST']._serialized_start=1702 - _globals['_QUERYMODULESTATEREQUEST']._serialized_end=1727 - _globals['_QUERYMODULESTATERESPONSE']._serialized_start=1729 - _globals['_QUERYMODULESTATERESPONSE']._serialized_end=1817 - _globals['_QUERYHISTORICALPRICERECORDSREQUEST']._serialized_start=1819 - _globals['_QUERYHISTORICALPRICERECORDSREQUEST']._serialized_end=1946 - _globals['_QUERYHISTORICALPRICERECORDSRESPONSE']._serialized_start=1948 - _globals['_QUERYHISTORICALPRICERECORDSRESPONSE']._serialized_end=2062 - _globals['_ORACLEHISTORYOPTIONS']._serialized_start=2065 - _globals['_ORACLEHISTORYOPTIONS']._serialized_end=2203 - _globals['_QUERYORACLEVOLATILITYREQUEST']._serialized_start=2206 - _globals['_QUERYORACLEVOLATILITYREQUEST']._serialized_end=2474 - _globals['_QUERYORACLEVOLATILITYRESPONSE']._serialized_start=2477 - _globals['_QUERYORACLEVOLATILITYRESPONSE']._serialized_end=2734 - _globals['_QUERYORACLEPROVIDERSINFOREQUEST']._serialized_start=2736 - _globals['_QUERYORACLEPROVIDERSINFOREQUEST']._serialized_end=2769 - _globals['_QUERYORACLEPROVIDERSINFORESPONSE']._serialized_start=2771 - _globals['_QUERYORACLEPROVIDERSINFORESPONSE']._serialized_end=2875 - _globals['_QUERYORACLEPROVIDERPRICESREQUEST']._serialized_start=2877 - _globals['_QUERYORACLEPROVIDERPRICESREQUEST']._serialized_end=2939 - _globals['_QUERYORACLEPROVIDERPRICESRESPONSE']._serialized_start=2941 - _globals['_QUERYORACLEPROVIDERPRICESRESPONSE']._serialized_end=3055 - _globals['_SCALINGOPTIONS']._serialized_start=3057 - _globals['_SCALINGOPTIONS']._serialized_end=3149 - _globals['_QUERYORACLEPRICEREQUEST']._serialized_start=3152 - _globals['_QUERYORACLEPRICEREQUEST']._serialized_end=3379 - _globals['_PRICEPAIRSTATE']._serialized_start=3382 - _globals['_PRICEPAIRSTATE']._serialized_end=3864 - _globals['_QUERYORACLEPRICERESPONSE']._serialized_start=3866 - _globals['_QUERYORACLEPRICERESPONSE']._serialized_end=3976 - _globals['_QUERY']._serialized_start=3979 - _globals['_QUERY']._serialized_end=7128 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\034com.injective.oracle.v1beta1B\nQueryProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1" + ) + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYORACLEVOLATILITYRESPONSE"].fields_by_name["volatility"]._loaded_options = None + _globals["_QUERYORACLEVOLATILITYRESPONSE"].fields_by_name[ + "volatility" + ]._serialized_options = b"\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_QUERYORACLEPRICEREQUEST"].fields_by_name["scaling_options"]._loaded_options = None + _globals["_QUERYORACLEPRICEREQUEST"].fields_by_name["scaling_options"]._serialized_options = b"\310\336\037\001" + _globals["_PRICEPAIRSTATE"].fields_by_name["pair_price"]._loaded_options = None + _globals["_PRICEPAIRSTATE"].fields_by_name[ + "pair_price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PRICEPAIRSTATE"].fields_by_name["base_price"]._loaded_options = None + _globals["_PRICEPAIRSTATE"].fields_by_name[ + "base_price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PRICEPAIRSTATE"].fields_by_name["quote_price"]._loaded_options = None + _globals["_PRICEPAIRSTATE"].fields_by_name[ + "quote_price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PRICEPAIRSTATE"].fields_by_name["base_cumulative_price"]._loaded_options = None + _globals["_PRICEPAIRSTATE"].fields_by_name[ + "base_cumulative_price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PRICEPAIRSTATE"].fields_by_name["quote_cumulative_price"]._loaded_options = None + _globals["_PRICEPAIRSTATE"].fields_by_name[ + "quote_cumulative_price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b'\202\323\344\223\002"\022 /injective/oracle/v1beta1/params' + _globals["_QUERY"].methods_by_name["BandRelayers"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "BandRelayers" + ]._serialized_options = b"\202\323\344\223\002)\022'/injective/oracle/v1beta1/band_relayers" + _globals["_QUERY"].methods_by_name["BandPriceStates"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "BandPriceStates" + ]._serialized_options = b"\202\323\344\223\002-\022+/injective/oracle/v1beta1/band_price_states" + _globals["_QUERY"].methods_by_name["BandIBCPriceStates"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "BandIBCPriceStates" + ]._serialized_options = b"\202\323\344\223\0021\022//injective/oracle/v1beta1/band_ibc_price_states" + _globals["_QUERY"].methods_by_name["PriceFeedPriceStates"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "PriceFeedPriceStates" + ]._serialized_options = b"\202\323\344\223\0022\0220/injective/oracle/v1beta1/pricefeed_price_states" + _globals["_QUERY"].methods_by_name["CoinbasePriceStates"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "CoinbasePriceStates" + ]._serialized_options = b"\202\323\344\223\0021\022//injective/oracle/v1beta1/coinbase_price_states" + _globals["_QUERY"].methods_by_name["PythPriceStates"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "PythPriceStates" + ]._serialized_options = b"\202\323\344\223\002-\022+/injective/oracle/v1beta1/pyth_price_states" + _globals["_QUERY"].methods_by_name["StorkPriceStates"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "StorkPriceStates" + ]._serialized_options = b"\202\323\344\223\002.\022,/injective/oracle/v1beta1/stork_price_states" + _globals["_QUERY"].methods_by_name["StorkPublishers"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "StorkPublishers" + ]._serialized_options = b"\202\323\344\223\002,\022*/injective/oracle/v1beta1/stork_publishers" + _globals["_QUERY"].methods_by_name["ProviderPriceState"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ProviderPriceState" + ]._serialized_options = ( + b"\202\323\344\223\002D\022B/injective/oracle/v1beta1/provider_price_state/{provider}/{symbol}" + ) + _globals["_QUERY"].methods_by_name["OracleModuleState"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "OracleModuleState" + ]._serialized_options = b"\202\323\344\223\002(\022&/injective/oracle/v1beta1/module_state" + _globals["_QUERY"].methods_by_name["HistoricalPriceRecords"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "HistoricalPriceRecords" + ]._serialized_options = b"\202\323\344\223\0024\0222/injective/oracle/v1beta1/historical_price_records" + _globals["_QUERY"].methods_by_name["OracleVolatility"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "OracleVolatility" + ]._serialized_options = b"\202\323\344\223\002&\022$/injective/oracle/v1beta1/volatility" + _globals["_QUERY"].methods_by_name["OracleProvidersInfo"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "OracleProvidersInfo" + ]._serialized_options = b"\202\323\344\223\002%\022#/injective/oracle/v1beta1/providers" + _globals["_QUERY"].methods_by_name["OracleProviderPrices"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "OracleProviderPrices" + ]._serialized_options = b"\202\323\344\223\002+\022)/injective/oracle/v1beta1/provider_prices" + _globals["_QUERY"].methods_by_name["OraclePrice"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "OraclePrice" + ]._serialized_options = b"\202\323\344\223\002!\022\037/injective/oracle/v1beta1/price" + _globals["_QUERY"].methods_by_name["PythPrice"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "PythPrice" + ]._serialized_options = b"\202\323\344\223\002&\022$/injective/oracle/v1beta1/pyth_price" + _globals["_QUERYPYTHPRICEREQUEST"]._serialized_start = 197 + _globals["_QUERYPYTHPRICEREQUEST"]._serialized_end = 247 + _globals["_QUERYPYTHPRICERESPONSE"]._serialized_start = 249 + _globals["_QUERYPYTHPRICERESPONSE"]._serialized_end = 348 + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 350 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 370 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 372 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 457 + _globals["_QUERYBANDRELAYERSREQUEST"]._serialized_start = 459 + _globals["_QUERYBANDRELAYERSREQUEST"]._serialized_end = 485 + _globals["_QUERYBANDRELAYERSRESPONSE"]._serialized_start = 487 + _globals["_QUERYBANDRELAYERSRESPONSE"]._serialized_end = 542 + _globals["_QUERYBANDPRICESTATESREQUEST"]._serialized_start = 544 + _globals["_QUERYBANDPRICESTATESREQUEST"]._serialized_end = 573 + _globals["_QUERYBANDPRICESTATESRESPONSE"]._serialized_start = 575 + _globals["_QUERYBANDPRICESTATESRESPONSE"]._serialized_end = 682 + _globals["_QUERYBANDIBCPRICESTATESREQUEST"]._serialized_start = 684 + _globals["_QUERYBANDIBCPRICESTATESREQUEST"]._serialized_end = 716 + _globals["_QUERYBANDIBCPRICESTATESRESPONSE"]._serialized_start = 718 + _globals["_QUERYBANDIBCPRICESTATESRESPONSE"]._serialized_end = 828 + _globals["_QUERYPRICEFEEDPRICESTATESREQUEST"]._serialized_start = 830 + _globals["_QUERYPRICEFEEDPRICESTATESREQUEST"]._serialized_end = 864 + _globals["_QUERYPRICEFEEDPRICESTATESRESPONSE"]._serialized_start = 866 + _globals["_QUERYPRICEFEEDPRICESTATESRESPONSE"]._serialized_end = 978 + _globals["_QUERYCOINBASEPRICESTATESREQUEST"]._serialized_start = 980 + _globals["_QUERYCOINBASEPRICESTATESREQUEST"]._serialized_end = 1013 + _globals["_QUERYCOINBASEPRICESTATESRESPONSE"]._serialized_start = 1015 + _globals["_QUERYCOINBASEPRICESTATESRESPONSE"]._serialized_end = 1130 + _globals["_QUERYPYTHPRICESTATESREQUEST"]._serialized_start = 1132 + _globals["_QUERYPYTHPRICESTATESREQUEST"]._serialized_end = 1161 + _globals["_QUERYPYTHPRICESTATESRESPONSE"]._serialized_start = 1163 + _globals["_QUERYPYTHPRICESTATESRESPONSE"]._serialized_end = 1270 + _globals["_QUERYSTORKPRICESTATESREQUEST"]._serialized_start = 1272 + _globals["_QUERYSTORKPRICESTATESREQUEST"]._serialized_end = 1302 + _globals["_QUERYSTORKPRICESTATESRESPONSE"]._serialized_start = 1304 + _globals["_QUERYSTORKPRICESTATESRESPONSE"]._serialized_end = 1413 + _globals["_QUERYSTORKPUBLISHERSREQUEST"]._serialized_start = 1415 + _globals["_QUERYSTORKPUBLISHERSREQUEST"]._serialized_end = 1444 + _globals["_QUERYSTORKPUBLISHERSRESPONSE"]._serialized_start = 1446 + _globals["_QUERYSTORKPUBLISHERSRESPONSE"]._serialized_end = 1508 + _globals["_QUERYPROVIDERPRICESTATEREQUEST"]._serialized_start = 1510 + _globals["_QUERYPROVIDERPRICESTATEREQUEST"]._serialized_end = 1594 + _globals["_QUERYPROVIDERPRICESTATERESPONSE"]._serialized_start = 1596 + _globals["_QUERYPROVIDERPRICESTATERESPONSE"]._serialized_end = 1700 + _globals["_QUERYMODULESTATEREQUEST"]._serialized_start = 1702 + _globals["_QUERYMODULESTATEREQUEST"]._serialized_end = 1727 + _globals["_QUERYMODULESTATERESPONSE"]._serialized_start = 1729 + _globals["_QUERYMODULESTATERESPONSE"]._serialized_end = 1817 + _globals["_QUERYHISTORICALPRICERECORDSREQUEST"]._serialized_start = 1819 + _globals["_QUERYHISTORICALPRICERECORDSREQUEST"]._serialized_end = 1946 + _globals["_QUERYHISTORICALPRICERECORDSRESPONSE"]._serialized_start = 1948 + _globals["_QUERYHISTORICALPRICERECORDSRESPONSE"]._serialized_end = 2062 + _globals["_ORACLEHISTORYOPTIONS"]._serialized_start = 2065 + _globals["_ORACLEHISTORYOPTIONS"]._serialized_end = 2203 + _globals["_QUERYORACLEVOLATILITYREQUEST"]._serialized_start = 2206 + _globals["_QUERYORACLEVOLATILITYREQUEST"]._serialized_end = 2474 + _globals["_QUERYORACLEVOLATILITYRESPONSE"]._serialized_start = 2477 + _globals["_QUERYORACLEVOLATILITYRESPONSE"]._serialized_end = 2734 + _globals["_QUERYORACLEPROVIDERSINFOREQUEST"]._serialized_start = 2736 + _globals["_QUERYORACLEPROVIDERSINFOREQUEST"]._serialized_end = 2769 + _globals["_QUERYORACLEPROVIDERSINFORESPONSE"]._serialized_start = 2771 + _globals["_QUERYORACLEPROVIDERSINFORESPONSE"]._serialized_end = 2875 + _globals["_QUERYORACLEPROVIDERPRICESREQUEST"]._serialized_start = 2877 + _globals["_QUERYORACLEPROVIDERPRICESREQUEST"]._serialized_end = 2939 + _globals["_QUERYORACLEPROVIDERPRICESRESPONSE"]._serialized_start = 2941 + _globals["_QUERYORACLEPROVIDERPRICESRESPONSE"]._serialized_end = 3055 + _globals["_SCALINGOPTIONS"]._serialized_start = 3057 + _globals["_SCALINGOPTIONS"]._serialized_end = 3149 + _globals["_QUERYORACLEPRICEREQUEST"]._serialized_start = 3152 + _globals["_QUERYORACLEPRICEREQUEST"]._serialized_end = 3379 + _globals["_PRICEPAIRSTATE"]._serialized_start = 3382 + _globals["_PRICEPAIRSTATE"]._serialized_end = 3864 + _globals["_QUERYORACLEPRICERESPONSE"]._serialized_start = 3866 + _globals["_QUERYORACLEPRICERESPONSE"]._serialized_end = 3976 + _globals["_QUERY"]._serialized_start = 3979 + _globals["_QUERY"]._serialized_end = 7128 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/query_pb2_grpc.py index a368d998..b61be636 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/injective/oracle/v1beta1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,326 +15,329 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - '/injective.oracle.v1beta1.Query/Params', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/Params", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) self.BandRelayers = channel.unary_unary( - '/injective.oracle.v1beta1.Query/BandRelayers', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/BandRelayers", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersResponse.FromString, + _registered_method=True, + ) self.BandPriceStates = channel.unary_unary( - '/injective.oracle.v1beta1.Query/BandPriceStates', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/BandPriceStates", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesResponse.FromString, + _registered_method=True, + ) self.BandIBCPriceStates = channel.unary_unary( - '/injective.oracle.v1beta1.Query/BandIBCPriceStates', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/BandIBCPriceStates", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesResponse.FromString, + _registered_method=True, + ) self.PriceFeedPriceStates = channel.unary_unary( - '/injective.oracle.v1beta1.Query/PriceFeedPriceStates', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/PriceFeedPriceStates", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesResponse.FromString, + _registered_method=True, + ) self.CoinbasePriceStates = channel.unary_unary( - '/injective.oracle.v1beta1.Query/CoinbasePriceStates', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/CoinbasePriceStates", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesResponse.FromString, + _registered_method=True, + ) self.PythPriceStates = channel.unary_unary( - '/injective.oracle.v1beta1.Query/PythPriceStates', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/PythPriceStates", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesResponse.FromString, + _registered_method=True, + ) self.StorkPriceStates = channel.unary_unary( - '/injective.oracle.v1beta1.Query/StorkPriceStates', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/StorkPriceStates", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesResponse.FromString, + _registered_method=True, + ) self.StorkPublishers = channel.unary_unary( - '/injective.oracle.v1beta1.Query/StorkPublishers', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/StorkPublishers", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersResponse.FromString, + _registered_method=True, + ) self.ProviderPriceState = channel.unary_unary( - '/injective.oracle.v1beta1.Query/ProviderPriceState', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/ProviderPriceState", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateResponse.FromString, + _registered_method=True, + ) self.OracleModuleState = channel.unary_unary( - '/injective.oracle.v1beta1.Query/OracleModuleState', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/OracleModuleState", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, + _registered_method=True, + ) self.HistoricalPriceRecords = channel.unary_unary( - '/injective.oracle.v1beta1.Query/HistoricalPriceRecords', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/HistoricalPriceRecords", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsResponse.FromString, + _registered_method=True, + ) self.OracleVolatility = channel.unary_unary( - '/injective.oracle.v1beta1.Query/OracleVolatility', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/OracleVolatility", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityResponse.FromString, + _registered_method=True, + ) self.OracleProvidersInfo = channel.unary_unary( - '/injective.oracle.v1beta1.Query/OracleProvidersInfo', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/OracleProvidersInfo", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoResponse.FromString, + _registered_method=True, + ) self.OracleProviderPrices = channel.unary_unary( - '/injective.oracle.v1beta1.Query/OracleProviderPrices', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/OracleProviderPrices", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesResponse.FromString, + _registered_method=True, + ) self.OraclePrice = channel.unary_unary( - '/injective.oracle.v1beta1.Query/OraclePrice', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/OraclePrice", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceResponse.FromString, + _registered_method=True, + ) self.PythPrice = channel.unary_unary( - '/injective.oracle.v1beta1.Query/PythPrice', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Query/PythPrice", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def Params(self, request, context): - """Retrieves oracle params - """ + """Retrieves oracle params""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def BandRelayers(self, request, context): - """Retrieves the band relayers - """ + """Retrieves the band relayers""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def BandPriceStates(self, request, context): - """Retrieves the state for all band price feeds - """ + """Retrieves the state for all band price feeds""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def BandIBCPriceStates(self, request, context): - """Retrieves the state for all band ibc price feeds - """ + """Retrieves the state for all band ibc price feeds""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PriceFeedPriceStates(self, request, context): - """Retrieves the state for all price feeds - """ + """Retrieves the state for all price feeds""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CoinbasePriceStates(self, request, context): - """Retrieves the state for all coinbase price feeds - """ + """Retrieves the state for all coinbase price feeds""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PythPriceStates(self, request, context): - """Retrieves the state for all pyth price feeds - """ + """Retrieves the state for all pyth price feeds""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def StorkPriceStates(self, request, context): - """Retrieves the state for all stork price feeds - """ + """Retrieves the state for all stork price feeds""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def StorkPublishers(self, request, context): - """Retrieves all stork publishers - """ + """Retrieves all stork publishers""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ProviderPriceState(self, request, context): - """Retrieves the state for all provider price feeds - """ + """Retrieves the state for all provider price feeds""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def OracleModuleState(self, request, context): - """Retrieves the entire oracle module's state - """ + """Retrieves the entire oracle module's state""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def HistoricalPriceRecords(self, request, context): - """Retrieves historical price records for a given OracleType and Symbol - """ + """Retrieves historical price records for a given OracleType and Symbol""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def OracleVolatility(self, request, context): - """Retrieves mixed volatility value for the specified pair of base/quote - """ + """Retrieves mixed volatility value for the specified pair of base/quote""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def OracleProvidersInfo(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def OracleProviderPrices(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def OraclePrice(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PythPrice(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'BandRelayers': grpc.unary_unary_rpc_method_handler( - servicer.BandRelayers, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersResponse.SerializeToString, - ), - 'BandPriceStates': grpc.unary_unary_rpc_method_handler( - servicer.BandPriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesResponse.SerializeToString, - ), - 'BandIBCPriceStates': grpc.unary_unary_rpc_method_handler( - servicer.BandIBCPriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesResponse.SerializeToString, - ), - 'PriceFeedPriceStates': grpc.unary_unary_rpc_method_handler( - servicer.PriceFeedPriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesResponse.SerializeToString, - ), - 'CoinbasePriceStates': grpc.unary_unary_rpc_method_handler( - servicer.CoinbasePriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesResponse.SerializeToString, - ), - 'PythPriceStates': grpc.unary_unary_rpc_method_handler( - servicer.PythPriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesResponse.SerializeToString, - ), - 'StorkPriceStates': grpc.unary_unary_rpc_method_handler( - servicer.StorkPriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesResponse.SerializeToString, - ), - 'StorkPublishers': grpc.unary_unary_rpc_method_handler( - servicer.StorkPublishers, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersResponse.SerializeToString, - ), - 'ProviderPriceState': grpc.unary_unary_rpc_method_handler( - servicer.ProviderPriceState, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateResponse.SerializeToString, - ), - 'OracleModuleState': grpc.unary_unary_rpc_method_handler( - servicer.OracleModuleState, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, - ), - 'HistoricalPriceRecords': grpc.unary_unary_rpc_method_handler( - servicer.HistoricalPriceRecords, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsResponse.SerializeToString, - ), - 'OracleVolatility': grpc.unary_unary_rpc_method_handler( - servicer.OracleVolatility, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityResponse.SerializeToString, - ), - 'OracleProvidersInfo': grpc.unary_unary_rpc_method_handler( - servicer.OracleProvidersInfo, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoResponse.SerializeToString, - ), - 'OracleProviderPrices': grpc.unary_unary_rpc_method_handler( - servicer.OracleProviderPrices, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesResponse.SerializeToString, - ), - 'OraclePrice': grpc.unary_unary_rpc_method_handler( - servicer.OraclePrice, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceResponse.SerializeToString, - ), - 'PythPrice': grpc.unary_unary_rpc_method_handler( - servicer.PythPrice, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceResponse.SerializeToString, - ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + "BandRelayers": grpc.unary_unary_rpc_method_handler( + servicer.BandRelayers, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersResponse.SerializeToString, + ), + "BandPriceStates": grpc.unary_unary_rpc_method_handler( + servicer.BandPriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesResponse.SerializeToString, + ), + "BandIBCPriceStates": grpc.unary_unary_rpc_method_handler( + servicer.BandIBCPriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesResponse.SerializeToString, + ), + "PriceFeedPriceStates": grpc.unary_unary_rpc_method_handler( + servicer.PriceFeedPriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesResponse.SerializeToString, + ), + "CoinbasePriceStates": grpc.unary_unary_rpc_method_handler( + servicer.CoinbasePriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesResponse.SerializeToString, + ), + "PythPriceStates": grpc.unary_unary_rpc_method_handler( + servicer.PythPriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesResponse.SerializeToString, + ), + "StorkPriceStates": grpc.unary_unary_rpc_method_handler( + servicer.StorkPriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesResponse.SerializeToString, + ), + "StorkPublishers": grpc.unary_unary_rpc_method_handler( + servicer.StorkPublishers, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersResponse.SerializeToString, + ), + "ProviderPriceState": grpc.unary_unary_rpc_method_handler( + servicer.ProviderPriceState, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateResponse.SerializeToString, + ), + "OracleModuleState": grpc.unary_unary_rpc_method_handler( + servicer.OracleModuleState, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), + "HistoricalPriceRecords": grpc.unary_unary_rpc_method_handler( + servicer.HistoricalPriceRecords, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsResponse.SerializeToString, + ), + "OracleVolatility": grpc.unary_unary_rpc_method_handler( + servicer.OracleVolatility, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityResponse.SerializeToString, + ), + "OracleProvidersInfo": grpc.unary_unary_rpc_method_handler( + servicer.OracleProvidersInfo, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoResponse.SerializeToString, + ), + "OracleProviderPrices": grpc.unary_unary_rpc_method_handler( + servicer.OracleProviderPrices, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesResponse.SerializeToString, + ), + "OraclePrice": grpc.unary_unary_rpc_method_handler( + servicer.OraclePrice, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceResponse.SerializeToString, + ), + "PythPrice": grpc.unary_unary_rpc_method_handler( + servicer.PythPrice, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.oracle.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("injective.oracle.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.oracle.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("injective.oracle.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/Params', + "/injective.oracle.v1beta1.Query/Params", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -346,23 +348,26 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def BandRelayers(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def BandRelayers( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/BandRelayers', + "/injective.oracle.v1beta1.Query/BandRelayers", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersResponse.FromString, options, @@ -373,23 +378,26 @@ def BandRelayers(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def BandPriceStates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def BandPriceStates( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/BandPriceStates', + "/injective.oracle.v1beta1.Query/BandPriceStates", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesResponse.FromString, options, @@ -400,23 +408,26 @@ def BandPriceStates(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def BandIBCPriceStates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def BandIBCPriceStates( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/BandIBCPriceStates', + "/injective.oracle.v1beta1.Query/BandIBCPriceStates", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesResponse.FromString, options, @@ -427,23 +438,26 @@ def BandIBCPriceStates(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PriceFeedPriceStates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PriceFeedPriceStates( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/PriceFeedPriceStates', + "/injective.oracle.v1beta1.Query/PriceFeedPriceStates", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesResponse.FromString, options, @@ -454,23 +468,26 @@ def PriceFeedPriceStates(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CoinbasePriceStates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CoinbasePriceStates( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/CoinbasePriceStates', + "/injective.oracle.v1beta1.Query/CoinbasePriceStates", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesResponse.FromString, options, @@ -481,23 +498,26 @@ def CoinbasePriceStates(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PythPriceStates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PythPriceStates( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/PythPriceStates', + "/injective.oracle.v1beta1.Query/PythPriceStates", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesResponse.FromString, options, @@ -508,23 +528,26 @@ def PythPriceStates(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def StorkPriceStates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def StorkPriceStates( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/StorkPriceStates', + "/injective.oracle.v1beta1.Query/StorkPriceStates", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesResponse.FromString, options, @@ -535,23 +558,26 @@ def StorkPriceStates(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def StorkPublishers(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def StorkPublishers( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/StorkPublishers', + "/injective.oracle.v1beta1.Query/StorkPublishers", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersResponse.FromString, options, @@ -562,23 +588,26 @@ def StorkPublishers(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ProviderPriceState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ProviderPriceState( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/ProviderPriceState', + "/injective.oracle.v1beta1.Query/ProviderPriceState", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateResponse.FromString, options, @@ -589,23 +618,26 @@ def ProviderPriceState(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def OracleModuleState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def OracleModuleState( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/OracleModuleState', + "/injective.oracle.v1beta1.Query/OracleModuleState", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, options, @@ -616,23 +648,26 @@ def OracleModuleState(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def HistoricalPriceRecords(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def HistoricalPriceRecords( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/HistoricalPriceRecords', + "/injective.oracle.v1beta1.Query/HistoricalPriceRecords", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsResponse.FromString, options, @@ -643,23 +678,26 @@ def HistoricalPriceRecords(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def OracleVolatility(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def OracleVolatility( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/OracleVolatility', + "/injective.oracle.v1beta1.Query/OracleVolatility", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityResponse.FromString, options, @@ -670,23 +708,26 @@ def OracleVolatility(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def OracleProvidersInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def OracleProvidersInfo( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/OracleProvidersInfo', + "/injective.oracle.v1beta1.Query/OracleProvidersInfo", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoResponse.FromString, options, @@ -697,23 +738,26 @@ def OracleProvidersInfo(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def OracleProviderPrices(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def OracleProviderPrices( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/OracleProviderPrices', + "/injective.oracle.v1beta1.Query/OracleProviderPrices", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesResponse.FromString, options, @@ -724,23 +768,26 @@ def OracleProviderPrices(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def OraclePrice(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def OraclePrice( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/OraclePrice', + "/injective.oracle.v1beta1.Query/OraclePrice", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceResponse.FromString, options, @@ -751,23 +798,26 @@ def OraclePrice(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PythPrice(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PythPrice( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Query/PythPrice', + "/injective.oracle.v1beta1.Query/PythPrice", injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceResponse.FromString, options, @@ -778,4 +828,5 @@ def PythPrice(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py index cfc4efa0..93269420 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,72 +20,94 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/oracle/v1beta1/tx.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xda\x01\n\x16MsgRelayProviderPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12\x18\n\x07symbols\x18\x03 \x03(\tR\x07symbols\x12;\n\x06prices\x18\x04 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06prices:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRelayProviderPrices\" \n\x1eMsgRelayProviderPricesResponse\"\xcc\x01\n\x16MsgRelayPriceFeedPrice\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x12\n\x04\x62\x61se\x18\x02 \x03(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x03(\tR\x05quote\x12\x39\n\x05price\x18\x04 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRelayPriceFeedPrice\" \n\x1eMsgRelayPriceFeedPriceResponse\"\xcd\x01\n\x11MsgRelayBandRates\x12\x18\n\x07relayer\x18\x01 \x01(\tR\x07relayer\x12\x18\n\x07symbols\x18\x02 \x03(\tR\x07symbols\x12\x14\n\x05rates\x18\x03 \x03(\x04R\x05rates\x12#\n\rresolve_times\x18\x04 \x03(\x04R\x0cresolveTimes\x12\x1e\n\nrequestIDs\x18\x05 \x03(\x04R\nrequestIDs:)\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x18oracle/MsgRelayBandRates\"\x1b\n\x19MsgRelayBandRatesResponse\"\xa7\x01\n\x18MsgRelayCoinbaseMessages\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08messages\x18\x02 \x03(\x0cR\x08messages\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures:7\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1foracle/MsgRelayCoinbaseMessages\"\"\n MsgRelayCoinbaseMessagesResponse\"\x88\x01\n\x13MsgRelayStorkPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x44\n\x0b\x61sset_pairs\x18\x02 \x03(\x0b\x32#.injective.oracle.v1beta1.AssetPairR\nassetPairs:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgRelayStorkPricesResponse\"\x86\x01\n\x16MsgRequestBandIBCRates\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1d\n\nrequest_id\x18\x02 \x01(\x04R\trequestId:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRequestBandIBCRates\" \n\x1eMsgRequestBandIBCRatesResponse\"\xba\x01\n\x12MsgRelayPythPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12Y\n\x12price_attestations\x18\x02 \x03(\x0b\x32*.injective.oracle.v1beta1.PriceAttestationR\x11priceAttestations:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19oracle/MsgRelayPythPrices\"\x1c\n\x1aMsgRelayPythPricesResponse\"\xb4\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:)\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x16oracle/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xf6\x07\n\x03Msg\x12\x81\x01\n\x13RelayProviderPrices\x12\x30.injective.oracle.v1beta1.MsgRelayProviderPrices\x1a\x38.injective.oracle.v1beta1.MsgRelayProviderPricesResponse\x12\x81\x01\n\x13RelayPriceFeedPrice\x12\x30.injective.oracle.v1beta1.MsgRelayPriceFeedPrice\x1a\x38.injective.oracle.v1beta1.MsgRelayPriceFeedPriceResponse\x12r\n\x0eRelayBandRates\x12+.injective.oracle.v1beta1.MsgRelayBandRates\x1a\x33.injective.oracle.v1beta1.MsgRelayBandRatesResponse\x12\x81\x01\n\x13RequestBandIBCRates\x12\x30.injective.oracle.v1beta1.MsgRequestBandIBCRates\x1a\x38.injective.oracle.v1beta1.MsgRequestBandIBCRatesResponse\x12\x87\x01\n\x15RelayCoinbaseMessages\x12\x32.injective.oracle.v1beta1.MsgRelayCoinbaseMessages\x1a:.injective.oracle.v1beta1.MsgRelayCoinbaseMessagesResponse\x12y\n\x11RelayStorkMessage\x12-.injective.oracle.v1beta1.MsgRelayStorkPrices\x1a\x35.injective.oracle.v1beta1.MsgRelayStorkPricesResponse\x12u\n\x0fRelayPythPrices\x12,.injective.oracle.v1beta1.MsgRelayPythPrices\x1a\x34.injective.oracle.v1beta1.MsgRelayPythPricesResponse\x12l\n\x0cUpdateParams\x12).injective.oracle.v1beta1.MsgUpdateParams\x1a\x31.injective.oracle.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xf7\x01\n\x1c\x63om.injective.oracle.v1beta1B\x07TxProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n!injective/oracle/v1beta1/tx.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\xda\x01\n\x16MsgRelayProviderPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12\x18\n\x07symbols\x18\x03 \x03(\tR\x07symbols\x12;\n\x06prices\x18\x04 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06prices:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRelayProviderPrices" \n\x1eMsgRelayProviderPricesResponse"\xcc\x01\n\x16MsgRelayPriceFeedPrice\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x12\n\x04\x62\x61se\x18\x02 \x03(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x03(\tR\x05quote\x12\x39\n\x05price\x18\x04 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRelayPriceFeedPrice" \n\x1eMsgRelayPriceFeedPriceResponse"\xcd\x01\n\x11MsgRelayBandRates\x12\x18\n\x07relayer\x18\x01 \x01(\tR\x07relayer\x12\x18\n\x07symbols\x18\x02 \x03(\tR\x07symbols\x12\x14\n\x05rates\x18\x03 \x03(\x04R\x05rates\x12#\n\rresolve_times\x18\x04 \x03(\x04R\x0cresolveTimes\x12\x1e\n\nrequestIDs\x18\x05 \x03(\x04R\nrequestIDs:)\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x18oracle/MsgRelayBandRates"\x1b\n\x19MsgRelayBandRatesResponse"\xa7\x01\n\x18MsgRelayCoinbaseMessages\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08messages\x18\x02 \x03(\x0cR\x08messages\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures:7\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1foracle/MsgRelayCoinbaseMessages""\n MsgRelayCoinbaseMessagesResponse"\x88\x01\n\x13MsgRelayStorkPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x44\n\x0b\x61sset_pairs\x18\x02 \x03(\x0b\x32#.injective.oracle.v1beta1.AssetPairR\nassetPairs:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender"\x1d\n\x1bMsgRelayStorkPricesResponse"\x86\x01\n\x16MsgRequestBandIBCRates\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1d\n\nrequest_id\x18\x02 \x01(\x04R\trequestId:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRequestBandIBCRates" \n\x1eMsgRequestBandIBCRatesResponse"\xba\x01\n\x12MsgRelayPythPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12Y\n\x12price_attestations\x18\x02 \x03(\x0b\x32*.injective.oracle.v1beta1.PriceAttestationR\x11priceAttestations:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19oracle/MsgRelayPythPrices"\x1c\n\x1aMsgRelayPythPricesResponse"\xb4\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:)\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x16oracle/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2\xf6\x07\n\x03Msg\x12\x81\x01\n\x13RelayProviderPrices\x12\x30.injective.oracle.v1beta1.MsgRelayProviderPrices\x1a\x38.injective.oracle.v1beta1.MsgRelayProviderPricesResponse\x12\x81\x01\n\x13RelayPriceFeedPrice\x12\x30.injective.oracle.v1beta1.MsgRelayPriceFeedPrice\x1a\x38.injective.oracle.v1beta1.MsgRelayPriceFeedPriceResponse\x12r\n\x0eRelayBandRates\x12+.injective.oracle.v1beta1.MsgRelayBandRates\x1a\x33.injective.oracle.v1beta1.MsgRelayBandRatesResponse\x12\x81\x01\n\x13RequestBandIBCRates\x12\x30.injective.oracle.v1beta1.MsgRequestBandIBCRates\x1a\x38.injective.oracle.v1beta1.MsgRequestBandIBCRatesResponse\x12\x87\x01\n\x15RelayCoinbaseMessages\x12\x32.injective.oracle.v1beta1.MsgRelayCoinbaseMessages\x1a:.injective.oracle.v1beta1.MsgRelayCoinbaseMessagesResponse\x12y\n\x11RelayStorkMessage\x12-.injective.oracle.v1beta1.MsgRelayStorkPrices\x1a\x35.injective.oracle.v1beta1.MsgRelayStorkPricesResponse\x12u\n\x0fRelayPythPrices\x12,.injective.oracle.v1beta1.MsgRelayPythPrices\x1a\x34.injective.oracle.v1beta1.MsgRelayPythPricesResponse\x12l\n\x0cUpdateParams\x12).injective.oracle.v1beta1.MsgUpdateParams\x1a\x31.injective.oracle.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xf7\x01\n\x1c\x63om.injective.oracle.v1beta1B\x07TxProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.oracle.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\007TxProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1' - _globals['_MSGRELAYPROVIDERPRICES'].fields_by_name['prices']._loaded_options = None - _globals['_MSGRELAYPROVIDERPRICES'].fields_by_name['prices']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGRELAYPROVIDERPRICES']._loaded_options = None - _globals['_MSGRELAYPROVIDERPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRelayProviderPrices' - _globals['_MSGRELAYPRICEFEEDPRICE'].fields_by_name['price']._loaded_options = None - _globals['_MSGRELAYPRICEFEEDPRICE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MSGRELAYPRICEFEEDPRICE']._loaded_options = None - _globals['_MSGRELAYPRICEFEEDPRICE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRelayPriceFeedPrice' - _globals['_MSGRELAYBANDRATES']._loaded_options = None - _globals['_MSGRELAYBANDRATES']._serialized_options = b'\202\347\260*\007relayer\212\347\260*\030oracle/MsgRelayBandRates' - _globals['_MSGRELAYCOINBASEMESSAGES']._loaded_options = None - _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\037oracle/MsgRelayCoinbaseMessages' - _globals['_MSGRELAYSTORKPRICES']._loaded_options = None - _globals['_MSGRELAYSTORKPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' - _globals['_MSGREQUESTBANDIBCRATES']._loaded_options = None - _globals['_MSGREQUESTBANDIBCRATES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRequestBandIBCRates' - _globals['_MSGRELAYPYTHPRICES']._loaded_options = None - _globals['_MSGRELAYPYTHPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\031oracle/MsgRelayPythPrices' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\026oracle/MsgUpdateParams' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGRELAYPROVIDERPRICES']._serialized_start=196 - _globals['_MSGRELAYPROVIDERPRICES']._serialized_end=414 - _globals['_MSGRELAYPROVIDERPRICESRESPONSE']._serialized_start=416 - _globals['_MSGRELAYPROVIDERPRICESRESPONSE']._serialized_end=448 - _globals['_MSGRELAYPRICEFEEDPRICE']._serialized_start=451 - _globals['_MSGRELAYPRICEFEEDPRICE']._serialized_end=655 - _globals['_MSGRELAYPRICEFEEDPRICERESPONSE']._serialized_start=657 - _globals['_MSGRELAYPRICEFEEDPRICERESPONSE']._serialized_end=689 - _globals['_MSGRELAYBANDRATES']._serialized_start=692 - _globals['_MSGRELAYBANDRATES']._serialized_end=897 - _globals['_MSGRELAYBANDRATESRESPONSE']._serialized_start=899 - _globals['_MSGRELAYBANDRATESRESPONSE']._serialized_end=926 - _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_start=929 - _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_end=1096 - _globals['_MSGRELAYCOINBASEMESSAGESRESPONSE']._serialized_start=1098 - _globals['_MSGRELAYCOINBASEMESSAGESRESPONSE']._serialized_end=1132 - _globals['_MSGRELAYSTORKPRICES']._serialized_start=1135 - _globals['_MSGRELAYSTORKPRICES']._serialized_end=1271 - _globals['_MSGRELAYSTORKPRICESRESPONSE']._serialized_start=1273 - _globals['_MSGRELAYSTORKPRICESRESPONSE']._serialized_end=1302 - _globals['_MSGREQUESTBANDIBCRATES']._serialized_start=1305 - _globals['_MSGREQUESTBANDIBCRATES']._serialized_end=1439 - _globals['_MSGREQUESTBANDIBCRATESRESPONSE']._serialized_start=1441 - _globals['_MSGREQUESTBANDIBCRATESRESPONSE']._serialized_end=1473 - _globals['_MSGRELAYPYTHPRICES']._serialized_start=1476 - _globals['_MSGRELAYPYTHPRICES']._serialized_end=1662 - _globals['_MSGRELAYPYTHPRICESRESPONSE']._serialized_start=1664 - _globals['_MSGRELAYPYTHPRICESRESPONSE']._serialized_end=1692 - _globals['_MSGUPDATEPARAMS']._serialized_start=1695 - _globals['_MSGUPDATEPARAMS']._serialized_end=1875 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1877 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1902 - _globals['_MSG']._serialized_start=1905 - _globals['_MSG']._serialized_end=2919 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\034com.injective.oracle.v1beta1B\007TxProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1" + ) + _globals["_MSGRELAYPROVIDERPRICES"].fields_by_name["prices"]._loaded_options = None + _globals["_MSGRELAYPROVIDERPRICES"].fields_by_name[ + "prices" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGRELAYPROVIDERPRICES"]._loaded_options = None + _globals["_MSGRELAYPROVIDERPRICES"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRelayProviderPrices" + ) + _globals["_MSGRELAYPRICEFEEDPRICE"].fields_by_name["price"]._loaded_options = None + _globals["_MSGRELAYPRICEFEEDPRICE"].fields_by_name[ + "price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_MSGRELAYPRICEFEEDPRICE"]._loaded_options = None + _globals["_MSGRELAYPRICEFEEDPRICE"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRelayPriceFeedPrice" + ) + _globals["_MSGRELAYBANDRATES"]._loaded_options = None + _globals["_MSGRELAYBANDRATES"]._serialized_options = ( + b"\202\347\260*\007relayer\212\347\260*\030oracle/MsgRelayBandRates" + ) + _globals["_MSGRELAYCOINBASEMESSAGES"]._loaded_options = None + _globals["_MSGRELAYCOINBASEMESSAGES"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\037oracle/MsgRelayCoinbaseMessages" + ) + _globals["_MSGRELAYSTORKPRICES"]._loaded_options = None + _globals["_MSGRELAYSTORKPRICES"]._serialized_options = b"\210\240\037\000\350\240\037\000\202\347\260*\006sender" + _globals["_MSGREQUESTBANDIBCRATES"]._loaded_options = None + _globals["_MSGREQUESTBANDIBCRATES"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRequestBandIBCRates" + ) + _globals["_MSGRELAYPYTHPRICES"]._loaded_options = None + _globals["_MSGRELAYPYTHPRICES"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\031oracle/MsgRelayPythPrices" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*\026oracle/MsgUpdateParams" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGRELAYPROVIDERPRICES"]._serialized_start = 196 + _globals["_MSGRELAYPROVIDERPRICES"]._serialized_end = 414 + _globals["_MSGRELAYPROVIDERPRICESRESPONSE"]._serialized_start = 416 + _globals["_MSGRELAYPROVIDERPRICESRESPONSE"]._serialized_end = 448 + _globals["_MSGRELAYPRICEFEEDPRICE"]._serialized_start = 451 + _globals["_MSGRELAYPRICEFEEDPRICE"]._serialized_end = 655 + _globals["_MSGRELAYPRICEFEEDPRICERESPONSE"]._serialized_start = 657 + _globals["_MSGRELAYPRICEFEEDPRICERESPONSE"]._serialized_end = 689 + _globals["_MSGRELAYBANDRATES"]._serialized_start = 692 + _globals["_MSGRELAYBANDRATES"]._serialized_end = 897 + _globals["_MSGRELAYBANDRATESRESPONSE"]._serialized_start = 899 + _globals["_MSGRELAYBANDRATESRESPONSE"]._serialized_end = 926 + _globals["_MSGRELAYCOINBASEMESSAGES"]._serialized_start = 929 + _globals["_MSGRELAYCOINBASEMESSAGES"]._serialized_end = 1096 + _globals["_MSGRELAYCOINBASEMESSAGESRESPONSE"]._serialized_start = 1098 + _globals["_MSGRELAYCOINBASEMESSAGESRESPONSE"]._serialized_end = 1132 + _globals["_MSGRELAYSTORKPRICES"]._serialized_start = 1135 + _globals["_MSGRELAYSTORKPRICES"]._serialized_end = 1271 + _globals["_MSGRELAYSTORKPRICESRESPONSE"]._serialized_start = 1273 + _globals["_MSGRELAYSTORKPRICESRESPONSE"]._serialized_end = 1302 + _globals["_MSGREQUESTBANDIBCRATES"]._serialized_start = 1305 + _globals["_MSGREQUESTBANDIBCRATES"]._serialized_end = 1439 + _globals["_MSGREQUESTBANDIBCRATESRESPONSE"]._serialized_start = 1441 + _globals["_MSGREQUESTBANDIBCRATESRESPONSE"]._serialized_end = 1473 + _globals["_MSGRELAYPYTHPRICES"]._serialized_start = 1476 + _globals["_MSGRELAYPYTHPRICES"]._serialized_end = 1662 + _globals["_MSGRELAYPYTHPRICESRESPONSE"]._serialized_start = 1664 + _globals["_MSGRELAYPYTHPRICESRESPONSE"]._serialized_end = 1692 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 1695 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 1875 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1877 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1902 + _globals["_MSG"]._serialized_start = 1905 + _globals["_MSG"]._serialized_end = 2919 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py index 7c505717..413c92cf 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the oracle Msg service. - """ + """Msg defines the oracle Msg service.""" def __init__(self, channel): """Constructor. @@ -16,181 +15,184 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.RelayProviderPrices = channel.unary_unary( - '/injective.oracle.v1beta1.Msg/RelayProviderPrices', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPrices.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPricesResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Msg/RelayProviderPrices", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPrices.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPricesResponse.FromString, + _registered_method=True, + ) self.RelayPriceFeedPrice = channel.unary_unary( - '/injective.oracle.v1beta1.Msg/RelayPriceFeedPrice', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPrice.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPriceResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Msg/RelayPriceFeedPrice", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPrice.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPriceResponse.FromString, + _registered_method=True, + ) self.RelayBandRates = channel.unary_unary( - '/injective.oracle.v1beta1.Msg/RelayBandRates', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRates.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRatesResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Msg/RelayBandRates", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRates.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRatesResponse.FromString, + _registered_method=True, + ) self.RequestBandIBCRates = channel.unary_unary( - '/injective.oracle.v1beta1.Msg/RequestBandIBCRates', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRates.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRatesResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Msg/RequestBandIBCRates", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRates.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRatesResponse.FromString, + _registered_method=True, + ) self.RelayCoinbaseMessages = channel.unary_unary( - '/injective.oracle.v1beta1.Msg/RelayCoinbaseMessages', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessages.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessagesResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Msg/RelayCoinbaseMessages", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessages.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessagesResponse.FromString, + _registered_method=True, + ) self.RelayStorkMessage = channel.unary_unary( - '/injective.oracle.v1beta1.Msg/RelayStorkMessage', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPrices.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPricesResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Msg/RelayStorkMessage", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPrices.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPricesResponse.FromString, + _registered_method=True, + ) self.RelayPythPrices = channel.unary_unary( - '/injective.oracle.v1beta1.Msg/RelayPythPrices', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPrices.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPricesResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Msg/RelayPythPrices", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPrices.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPricesResponse.FromString, + _registered_method=True, + ) self.UpdateParams = channel.unary_unary( - '/injective.oracle.v1beta1.Msg/UpdateParams', - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/injective.oracle.v1beta1.Msg/UpdateParams", + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the oracle Msg service. - """ + """Msg defines the oracle Msg service.""" def RelayProviderPrices(self, request, context): """RelayProviderPrice defines a method for relaying a price for a provider-based oracle """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RelayPriceFeedPrice(self, request, context): """RelayPriceFeedPrice defines a method for relaying a price for a price feeder-based oracle """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RelayBandRates(self, request, context): - """RelayBandRates defines a method for relaying rates from Band - """ + """RelayBandRates defines a method for relaying rates from Band""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RequestBandIBCRates(self, request, context): - """RequestBandIBCRates defines a method for fetching rates from Band ibc - """ + """RequestBandIBCRates defines a method for fetching rates from Band ibc""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RelayCoinbaseMessages(self, request, context): """RelayCoinbaseMessages defines a method for relaying price messages from Coinbase API """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RelayStorkMessage(self, request, context): """RelayStorkMessage defines a method for relaying price message from Stork API """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RelayPythPrices(self, request, context): - """RelayPythPrices defines a method for relaying rates from the Pyth contract - """ + """RelayPythPrices defines a method for relaying rates from the Pyth contract""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateParams(self, request, context): - """UpdateParams enables updating oracle module's params via governance - """ + """UpdateParams enables updating oracle module's params via governance""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'RelayProviderPrices': grpc.unary_unary_rpc_method_handler( - servicer.RelayProviderPrices, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPrices.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPricesResponse.SerializeToString, - ), - 'RelayPriceFeedPrice': grpc.unary_unary_rpc_method_handler( - servicer.RelayPriceFeedPrice, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPrice.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPriceResponse.SerializeToString, - ), - 'RelayBandRates': grpc.unary_unary_rpc_method_handler( - servicer.RelayBandRates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRates.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRatesResponse.SerializeToString, - ), - 'RequestBandIBCRates': grpc.unary_unary_rpc_method_handler( - servicer.RequestBandIBCRates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRates.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRatesResponse.SerializeToString, - ), - 'RelayCoinbaseMessages': grpc.unary_unary_rpc_method_handler( - servicer.RelayCoinbaseMessages, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessages.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessagesResponse.SerializeToString, - ), - 'RelayStorkMessage': grpc.unary_unary_rpc_method_handler( - servicer.RelayStorkMessage, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPrices.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPricesResponse.SerializeToString, - ), - 'RelayPythPrices': grpc.unary_unary_rpc_method_handler( - servicer.RelayPythPrices, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPrices.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPricesResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + "RelayProviderPrices": grpc.unary_unary_rpc_method_handler( + servicer.RelayProviderPrices, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPrices.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPricesResponse.SerializeToString, + ), + "RelayPriceFeedPrice": grpc.unary_unary_rpc_method_handler( + servicer.RelayPriceFeedPrice, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPrice.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPriceResponse.SerializeToString, + ), + "RelayBandRates": grpc.unary_unary_rpc_method_handler( + servicer.RelayBandRates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRates.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRatesResponse.SerializeToString, + ), + "RequestBandIBCRates": grpc.unary_unary_rpc_method_handler( + servicer.RequestBandIBCRates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRates.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRatesResponse.SerializeToString, + ), + "RelayCoinbaseMessages": grpc.unary_unary_rpc_method_handler( + servicer.RelayCoinbaseMessages, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessages.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessagesResponse.SerializeToString, + ), + "RelayStorkMessage": grpc.unary_unary_rpc_method_handler( + servicer.RelayStorkMessage, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPrices.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPricesResponse.SerializeToString, + ), + "RelayPythPrices": grpc.unary_unary_rpc_method_handler( + servicer.RelayPythPrices, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPrices.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPricesResponse.SerializeToString, + ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.oracle.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("injective.oracle.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.oracle.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("injective.oracle.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the oracle Msg service. - """ + """Msg defines the oracle Msg service.""" @staticmethod - def RelayProviderPrices(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RelayProviderPrices( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Msg/RelayProviderPrices', + "/injective.oracle.v1beta1.Msg/RelayProviderPrices", injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPrices.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPricesResponse.FromString, options, @@ -201,23 +203,26 @@ def RelayProviderPrices(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RelayPriceFeedPrice(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RelayPriceFeedPrice( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Msg/RelayPriceFeedPrice', + "/injective.oracle.v1beta1.Msg/RelayPriceFeedPrice", injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPrice.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPriceResponse.FromString, options, @@ -228,23 +233,26 @@ def RelayPriceFeedPrice(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RelayBandRates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RelayBandRates( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Msg/RelayBandRates', + "/injective.oracle.v1beta1.Msg/RelayBandRates", injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRates.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRatesResponse.FromString, options, @@ -255,23 +263,26 @@ def RelayBandRates(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RequestBandIBCRates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RequestBandIBCRates( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Msg/RequestBandIBCRates', + "/injective.oracle.v1beta1.Msg/RequestBandIBCRates", injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRates.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRatesResponse.FromString, options, @@ -282,23 +293,26 @@ def RequestBandIBCRates(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RelayCoinbaseMessages(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RelayCoinbaseMessages( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Msg/RelayCoinbaseMessages', + "/injective.oracle.v1beta1.Msg/RelayCoinbaseMessages", injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessages.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessagesResponse.FromString, options, @@ -309,23 +323,26 @@ def RelayCoinbaseMessages(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RelayStorkMessage(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RelayStorkMessage( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Msg/RelayStorkMessage', + "/injective.oracle.v1beta1.Msg/RelayStorkMessage", injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPrices.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPricesResponse.FromString, options, @@ -336,23 +353,26 @@ def RelayStorkMessage(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RelayPythPrices(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RelayPythPrices( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Msg/RelayPythPrices', + "/injective.oracle.v1beta1.Msg/RelayPythPrices", injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPrices.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPricesResponse.FromString, options, @@ -363,23 +383,26 @@ def RelayPythPrices(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.oracle.v1beta1.Msg/UpdateParams', + "/injective.oracle.v1beta1.Msg/UpdateParams", injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -390,4 +413,5 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/injective/peggy/v1/attestation_pb2.py b/pyinjective/proto/injective/peggy/v1/attestation_pb2.py index 7eb9cb25..4d2916f5 100644 --- a/pyinjective/proto/injective/peggy/v1/attestation_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/attestation_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,32 +17,44 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/peggy/v1/attestation.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\x83\x01\n\x0b\x41ttestation\x12\x1a\n\x08observed\x18\x01 \x01(\x08R\x08observed\x12\x14\n\x05votes\x18\x02 \x03(\tR\x05votes\x12\x16\n\x06height\x18\x03 \x01(\x04R\x06height\x12*\n\x05\x63laim\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x05\x63laim\"_\n\nERC20Token\x12\x1a\n\x08\x63ontract\x18\x01 \x01(\tR\x08\x63ontract\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount*\x9f\x02\n\tClaimType\x12.\n\x12\x43LAIM_TYPE_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x43LAIM_TYPE_UNKNOWN\x12.\n\x12\x43LAIM_TYPE_DEPOSIT\x10\x01\x1a\x16\x8a\x9d \x12\x43LAIM_TYPE_DEPOSIT\x12\x30\n\x13\x43LAIM_TYPE_WITHDRAW\x10\x02\x1a\x17\x8a\x9d \x13\x43LAIM_TYPE_WITHDRAW\x12<\n\x19\x43LAIM_TYPE_ERC20_DEPLOYED\x10\x03\x1a\x1d\x8a\x9d \x19\x43LAIM_TYPE_ERC20_DEPLOYED\x12<\n\x19\x43LAIM_TYPE_VALSET_UPDATED\x10\x04\x1a\x1d\x8a\x9d \x19\x43LAIM_TYPE_VALSET_UPDATED\x1a\x04\x88\xa3\x1e\x00\x42\xe1\x01\n\x16\x63om.injective.peggy.v1B\x10\x41ttestationProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$injective/peggy/v1/attestation.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto"\x83\x01\n\x0b\x41ttestation\x12\x1a\n\x08observed\x18\x01 \x01(\x08R\x08observed\x12\x14\n\x05votes\x18\x02 \x03(\tR\x05votes\x12\x16\n\x06height\x18\x03 \x01(\x04R\x06height\x12*\n\x05\x63laim\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x05\x63laim"_\n\nERC20Token\x12\x1a\n\x08\x63ontract\x18\x01 \x01(\tR\x08\x63ontract\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount*\x9f\x02\n\tClaimType\x12.\n\x12\x43LAIM_TYPE_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x43LAIM_TYPE_UNKNOWN\x12.\n\x12\x43LAIM_TYPE_DEPOSIT\x10\x01\x1a\x16\x8a\x9d \x12\x43LAIM_TYPE_DEPOSIT\x12\x30\n\x13\x43LAIM_TYPE_WITHDRAW\x10\x02\x1a\x17\x8a\x9d \x13\x43LAIM_TYPE_WITHDRAW\x12<\n\x19\x43LAIM_TYPE_ERC20_DEPLOYED\x10\x03\x1a\x1d\x8a\x9d \x19\x43LAIM_TYPE_ERC20_DEPLOYED\x12<\n\x19\x43LAIM_TYPE_VALSET_UPDATED\x10\x04\x1a\x1d\x8a\x9d \x19\x43LAIM_TYPE_VALSET_UPDATED\x1a\x04\x88\xa3\x1e\x00\x42\xe1\x01\n\x16\x63om.injective.peggy.v1B\x10\x41ttestationProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.attestation_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.attestation_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\020AttestationProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_CLAIMTYPE']._loaded_options = None - _globals['_CLAIMTYPE']._serialized_options = b'\210\243\036\000' - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_UNKNOWN"]._loaded_options = None - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_UNKNOWN"]._serialized_options = b'\212\235 \022CLAIM_TYPE_UNKNOWN' - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_DEPOSIT"]._loaded_options = None - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_DEPOSIT"]._serialized_options = b'\212\235 \022CLAIM_TYPE_DEPOSIT' - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_WITHDRAW"]._loaded_options = None - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_WITHDRAW"]._serialized_options = b'\212\235 \023CLAIM_TYPE_WITHDRAW' - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_ERC20_DEPLOYED"]._loaded_options = None - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_ERC20_DEPLOYED"]._serialized_options = b'\212\235 \031CLAIM_TYPE_ERC20_DEPLOYED' - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_VALSET_UPDATED"]._loaded_options = None - _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_VALSET_UPDATED"]._serialized_options = b'\212\235 \031CLAIM_TYPE_VALSET_UPDATED' - _globals['_ERC20TOKEN'].fields_by_name['amount']._loaded_options = None - _globals['_ERC20TOKEN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_CLAIMTYPE']._serialized_start=341 - _globals['_CLAIMTYPE']._serialized_end=628 - _globals['_ATTESTATION']._serialized_start=110 - _globals['_ATTESTATION']._serialized_end=241 - _globals['_ERC20TOKEN']._serialized_start=243 - _globals['_ERC20TOKEN']._serialized_end=338 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.injective.peggy.v1B\020AttestationProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" + ) + _globals["_CLAIMTYPE"]._loaded_options = None + _globals["_CLAIMTYPE"]._serialized_options = b"\210\243\036\000" + _globals["_CLAIMTYPE"].values_by_name["CLAIM_TYPE_UNKNOWN"]._loaded_options = None + _globals["_CLAIMTYPE"].values_by_name["CLAIM_TYPE_UNKNOWN"]._serialized_options = b"\212\235 \022CLAIM_TYPE_UNKNOWN" + _globals["_CLAIMTYPE"].values_by_name["CLAIM_TYPE_DEPOSIT"]._loaded_options = None + _globals["_CLAIMTYPE"].values_by_name["CLAIM_TYPE_DEPOSIT"]._serialized_options = b"\212\235 \022CLAIM_TYPE_DEPOSIT" + _globals["_CLAIMTYPE"].values_by_name["CLAIM_TYPE_WITHDRAW"]._loaded_options = None + _globals["_CLAIMTYPE"].values_by_name[ + "CLAIM_TYPE_WITHDRAW" + ]._serialized_options = b"\212\235 \023CLAIM_TYPE_WITHDRAW" + _globals["_CLAIMTYPE"].values_by_name["CLAIM_TYPE_ERC20_DEPLOYED"]._loaded_options = None + _globals["_CLAIMTYPE"].values_by_name[ + "CLAIM_TYPE_ERC20_DEPLOYED" + ]._serialized_options = b"\212\235 \031CLAIM_TYPE_ERC20_DEPLOYED" + _globals["_CLAIMTYPE"].values_by_name["CLAIM_TYPE_VALSET_UPDATED"]._loaded_options = None + _globals["_CLAIMTYPE"].values_by_name[ + "CLAIM_TYPE_VALSET_UPDATED" + ]._serialized_options = b"\212\235 \031CLAIM_TYPE_VALSET_UPDATED" + _globals["_ERC20TOKEN"].fields_by_name["amount"]._loaded_options = None + _globals["_ERC20TOKEN"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_CLAIMTYPE"]._serialized_start = 341 + _globals["_CLAIMTYPE"]._serialized_end = 628 + _globals["_ATTESTATION"]._serialized_start = 110 + _globals["_ATTESTATION"]._serialized_end = 241 + _globals["_ERC20TOKEN"]._serialized_start = 243 + _globals["_ERC20TOKEN"]._serialized_end = 338 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/attestation_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/attestation_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/peggy/v1/attestation_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/attestation_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/peggy/v1/batch_pb2.py b/pyinjective/proto/injective/peggy/v1/batch_pb2.py index de226d8d..3e9b6202 100644 --- a/pyinjective/proto/injective/peggy/v1/batch_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/batch_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.injective.peggy.v1 import attestation_pb2 as injective_dot_peggy_dot_v1_dot_attestation__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/peggy/v1/batch.proto\x12\x12injective.peggy.v1\x1a$injective/peggy/v1/attestation.proto\"\xe0\x01\n\x0fOutgoingTxBatch\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x01 \x01(\x04R\nbatchNonce\x12#\n\rbatch_timeout\x18\x02 \x01(\x04R\x0c\x62\x61tchTimeout\x12J\n\x0ctransactions\x18\x03 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x0ctransactions\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12\x14\n\x05\x62lock\x18\x05 \x01(\x04R\x05\x62lock\"\xdd\x01\n\x12OutgoingTransferTx\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender\x12!\n\x0c\x64\x65st_address\x18\x03 \x01(\tR\x0b\x64\x65stAddress\x12?\n\x0b\x65rc20_token\x18\x04 \x01(\x0b\x32\x1e.injective.peggy.v1.ERC20TokenR\nerc20Token\x12;\n\terc20_fee\x18\x05 \x01(\x0b\x32\x1e.injective.peggy.v1.ERC20TokenR\x08\x65rc20FeeB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nBatchProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1einjective/peggy/v1/batch.proto\x12\x12injective.peggy.v1\x1a$injective/peggy/v1/attestation.proto"\xe0\x01\n\x0fOutgoingTxBatch\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x01 \x01(\x04R\nbatchNonce\x12#\n\rbatch_timeout\x18\x02 \x01(\x04R\x0c\x62\x61tchTimeout\x12J\n\x0ctransactions\x18\x03 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x0ctransactions\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12\x14\n\x05\x62lock\x18\x05 \x01(\x04R\x05\x62lock"\xdd\x01\n\x12OutgoingTransferTx\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender\x12!\n\x0c\x64\x65st_address\x18\x03 \x01(\tR\x0b\x64\x65stAddress\x12?\n\x0b\x65rc20_token\x18\x04 \x01(\x0b\x32\x1e.injective.peggy.v1.ERC20TokenR\nerc20Token\x12;\n\terc20_fee\x18\x05 \x01(\x0b\x32\x1e.injective.peggy.v1.ERC20TokenR\x08\x65rc20FeeB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nBatchProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.batch_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.batch_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\nBatchProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_OUTGOINGTXBATCH']._serialized_start=93 - _globals['_OUTGOINGTXBATCH']._serialized_end=317 - _globals['_OUTGOINGTRANSFERTX']._serialized_start=320 - _globals['_OUTGOINGTRANSFERTX']._serialized_end=541 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.injective.peggy.v1B\nBatchProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" + ) + _globals["_OUTGOINGTXBATCH"]._serialized_start = 93 + _globals["_OUTGOINGTXBATCH"]._serialized_end = 317 + _globals["_OUTGOINGTRANSFERTX"]._serialized_start = 320 + _globals["_OUTGOINGTRANSFERTX"]._serialized_end = 541 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/batch_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/batch_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/peggy/v1/batch_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/batch_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py index 471b8812..82fe7159 100644 --- a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(injective/peggy/v1/ethereum_signer.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto*\x91\x01\n\x08SignType\x12\x15\n\x11SIGN_TYPE_UNKNOWN\x10\x00\x12\x32\n.SIGN_TYPE_ORCHESTRATOR_SIGNED_MULTI_SIG_UPDATE\x10\x01\x12\x30\n,SIGN_TYPE_ORCHESTRATOR_SIGNED_WITHDRAW_BATCH\x10\x02\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00\x42\xe4\x01\n\x16\x63om.injective.peggy.v1B\x13\x45thereumSignerProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b"\n(injective/peggy/v1/ethereum_signer.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto*\x91\x01\n\x08SignType\x12\x15\n\x11SIGN_TYPE_UNKNOWN\x10\x00\x12\x32\n.SIGN_TYPE_ORCHESTRATOR_SIGNED_MULTI_SIG_UPDATE\x10\x01\x12\x30\n,SIGN_TYPE_ORCHESTRATOR_SIGNED_WITHDRAW_BATCH\x10\x02\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00\x42\xe4\x01\n\x16\x63om.injective.peggy.v1B\x13\x45thereumSignerProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3" +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.ethereum_signer_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.ethereum_signer_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\023EthereumSignerProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_SIGNTYPE']._loaded_options = None - _globals['_SIGNTYPE']._serialized_options = b'\210\243\036\000\250\244\036\000' - _globals['_SIGNTYPE']._serialized_start=87 - _globals['_SIGNTYPE']._serialized_end=232 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.injective.peggy.v1B\023EthereumSignerProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" + ) + _globals["_SIGNTYPE"]._loaded_options = None + _globals["_SIGNTYPE"]._serialized_options = b"\210\243\036\000\250\244\036\000" + _globals["_SIGNTYPE"]._serialized_start = 87 + _globals["_SIGNTYPE"]._serialized_end = 232 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/peggy/v1/events_pb2.py b/pyinjective/proto/injective/peggy/v1/events_pb2.py index 921a69ac..b51f93a1 100644 --- a/pyinjective/proto/injective/peggy/v1/events_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/events_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,56 +18,70 @@ from pyinjective.proto.injective.peggy.v1 import types_pb2 as injective_dot_peggy_dot_v1_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/peggy/v1/events.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a$injective/peggy/v1/attestation.proto\x1a\x1einjective/peggy/v1/types.proto\"\xf2\x01\n\x18\x45ventAttestationObserved\x12H\n\x10\x61ttestation_type\x18\x01 \x01(\x0e\x32\x1d.injective.peggy.v1.ClaimTypeR\x0f\x61ttestationType\x12\'\n\x0f\x62ridge_contract\x18\x02 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x03 \x01(\x04R\rbridgeChainId\x12%\n\x0e\x61ttestation_id\x18\x04 \x01(\x0cR\rattestationId\x12\x14\n\x05nonce\x18\x05 \x01(\x04R\x05nonce\"n\n\x1b\x45ventBridgeWithdrawCanceled\x12\'\n\x0f\x62ridge_contract\x18\x01 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x02 \x01(\x04R\rbridgeChainId\"\xc5\x01\n\x12\x45ventOutgoingBatch\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04R\nbatchNonce\x12#\n\rbatch_timeout\x18\x04 \x01(\x04R\x0c\x62\x61tchTimeout\x12 \n\x0c\x62\x61tch_tx_ids\x18\x05 \x03(\x04R\nbatchTxIds\"\x9e\x01\n\x1a\x45ventOutgoingBatchCanceled\x12\'\n\x0f\x62ridge_contract\x18\x01 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x02 \x01(\x04R\rbridgeChainId\x12\x19\n\x08\x62\x61tch_id\x18\x03 \x01(\x04R\x07\x62\x61tchId\x12\x14\n\x05nonce\x18\x04 \x01(\x04R\x05nonce\"\x95\x02\n\x18\x45ventValsetUpdateRequest\x12!\n\x0cvalset_nonce\x18\x01 \x01(\x04R\x0bvalsetNonce\x12#\n\rvalset_height\x18\x02 \x01(\x04R\x0cvalsetHeight\x12J\n\x0evalset_members\x18\x03 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\rvalsetMembers\x12\x42\n\rreward_amount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x05 \x01(\tR\x0brewardToken\"\xb1\x01\n\x1d\x45ventSetOrchestratorAddresses\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\x12\x30\n\x14operator_eth_address\x18\x03 \x01(\tR\x12operatorEthAddress\"j\n\x12\x45ventValsetConfirm\x12!\n\x0cvalset_nonce\x18\x01 \x01(\x04R\x0bvalsetNonce\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\"\x83\x02\n\x0e\x45ventSendToEth\x12$\n\x0eoutgoing_tx_id\x18\x01 \x01(\x04R\x0coutgoingTxId\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x03 \x01(\tR\x08receiver\x12G\n\x06\x61mount\x18\x04 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\x06\x61mount\x12N\n\nbridge_fee\x18\x05 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\tbridgeFee\"g\n\x11\x45ventConfirmBatch\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x01 \x01(\x04R\nbatchNonce\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\"t\n\x14\x45ventAttestationVote\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12%\n\x0e\x61ttestation_id\x18\x02 \x01(\x0cR\rattestationId\x12\x14\n\x05voter\x18\x03 \x01(\tR\x05voter\"\xf5\x02\n\x11\x45ventDepositClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12\'\n\x0f\x65thereum_sender\x18\x04 \x01(\tR\x0e\x65thereumSender\x12\'\n\x0f\x63osmos_receiver\x18\x05 \x01(\tR\x0e\x63osmosReceiver\x12%\n\x0etoken_contract\x18\x06 \x01(\tR\rtokenContract\x12\x35\n\x06\x61mount\x18\x07 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\x12\x31\n\x14orchestrator_address\x18\x08 \x01(\tR\x13orchestratorAddress\x12\x12\n\x04\x64\x61ta\x18\t \x01(\tR\x04\x64\x61ta\"\xfa\x01\n\x12\x45ventWithdrawClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x04 \x01(\x04R\nbatchNonce\x12%\n\x0etoken_contract\x18\x05 \x01(\tR\rtokenContract\x12\x31\n\x14orchestrator_address\x18\x06 \x01(\tR\x13orchestratorAddress\"\xc9\x02\n\x17\x45ventERC20DeployedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12!\n\x0c\x63osmos_denom\x18\x04 \x01(\tR\x0b\x63osmosDenom\x12%\n\x0etoken_contract\x18\x05 \x01(\tR\rtokenContract\x12\x12\n\x04name\x18\x06 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x07 \x01(\tR\x06symbol\x12\x1a\n\x08\x64\x65\x63imals\x18\x08 \x01(\x04R\x08\x64\x65\x63imals\x12\x31\n\x14orchestrator_address\x18\t \x01(\tR\x13orchestratorAddress\"\x8c\x03\n\x16\x45ventValsetUpdateClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12!\n\x0cvalset_nonce\x18\x04 \x01(\x04R\x0bvalsetNonce\x12J\n\x0evalset_members\x18\x05 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\rvalsetMembers\x12\x42\n\rreward_amount\x18\x06 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x07 \x01(\tR\x0brewardToken\x12\x31\n\x14orchestrator_address\x18\x08 \x01(\tR\x13orchestratorAddress\"<\n\x14\x45ventCancelSendToEth\x12$\n\x0eoutgoing_tx_id\x18\x01 \x01(\x04R\x0coutgoingTxId\"\x88\x01\n\x1f\x45ventSubmitBadSignatureEvidence\x12*\n\x11\x62\x61\x64_eth_signature\x18\x01 \x01(\tR\x0f\x62\x61\x64\x45thSignature\x12\x39\n\x19\x62\x61\x64_eth_signature_subject\x18\x02 \x01(\tR\x16\x62\x61\x64\x45thSignatureSubject\"\xb5\x01\n\x13\x45ventValidatorSlash\x12\x14\n\x05power\x18\x01 \x01(\x03R\x05power\x12\x16\n\x06reason\x18\x02 \x01(\tR\x06reason\x12+\n\x11\x63onsensus_address\x18\x03 \x01(\tR\x10\x63onsensusAddress\x12)\n\x10operator_address\x18\x04 \x01(\tR\x0foperatorAddress\x12\x18\n\x07moniker\x18\x05 \x01(\tR\x07monikerB\xdc\x01\n\x16\x63om.injective.peggy.v1B\x0b\x45ventsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1finjective/peggy/v1/events.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a$injective/peggy/v1/attestation.proto\x1a\x1einjective/peggy/v1/types.proto"\xf2\x01\n\x18\x45ventAttestationObserved\x12H\n\x10\x61ttestation_type\x18\x01 \x01(\x0e\x32\x1d.injective.peggy.v1.ClaimTypeR\x0f\x61ttestationType\x12\'\n\x0f\x62ridge_contract\x18\x02 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x03 \x01(\x04R\rbridgeChainId\x12%\n\x0e\x61ttestation_id\x18\x04 \x01(\x0cR\rattestationId\x12\x14\n\x05nonce\x18\x05 \x01(\x04R\x05nonce"n\n\x1b\x45ventBridgeWithdrawCanceled\x12\'\n\x0f\x62ridge_contract\x18\x01 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x02 \x01(\x04R\rbridgeChainId"\xc5\x01\n\x12\x45ventOutgoingBatch\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04R\nbatchNonce\x12#\n\rbatch_timeout\x18\x04 \x01(\x04R\x0c\x62\x61tchTimeout\x12 \n\x0c\x62\x61tch_tx_ids\x18\x05 \x03(\x04R\nbatchTxIds"\x9e\x01\n\x1a\x45ventOutgoingBatchCanceled\x12\'\n\x0f\x62ridge_contract\x18\x01 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x02 \x01(\x04R\rbridgeChainId\x12\x19\n\x08\x62\x61tch_id\x18\x03 \x01(\x04R\x07\x62\x61tchId\x12\x14\n\x05nonce\x18\x04 \x01(\x04R\x05nonce"\x95\x02\n\x18\x45ventValsetUpdateRequest\x12!\n\x0cvalset_nonce\x18\x01 \x01(\x04R\x0bvalsetNonce\x12#\n\rvalset_height\x18\x02 \x01(\x04R\x0cvalsetHeight\x12J\n\x0evalset_members\x18\x03 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\rvalsetMembers\x12\x42\n\rreward_amount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x05 \x01(\tR\x0brewardToken"\xb1\x01\n\x1d\x45ventSetOrchestratorAddresses\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\x12\x30\n\x14operator_eth_address\x18\x03 \x01(\tR\x12operatorEthAddress"j\n\x12\x45ventValsetConfirm\x12!\n\x0cvalset_nonce\x18\x01 \x01(\x04R\x0bvalsetNonce\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress"\x83\x02\n\x0e\x45ventSendToEth\x12$\n\x0eoutgoing_tx_id\x18\x01 \x01(\x04R\x0coutgoingTxId\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x03 \x01(\tR\x08receiver\x12G\n\x06\x61mount\x18\x04 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\x06\x61mount\x12N\n\nbridge_fee\x18\x05 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\tbridgeFee"g\n\x11\x45ventConfirmBatch\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x01 \x01(\x04R\nbatchNonce\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress"t\n\x14\x45ventAttestationVote\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12%\n\x0e\x61ttestation_id\x18\x02 \x01(\x0cR\rattestationId\x12\x14\n\x05voter\x18\x03 \x01(\tR\x05voter"\xf5\x02\n\x11\x45ventDepositClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12\'\n\x0f\x65thereum_sender\x18\x04 \x01(\tR\x0e\x65thereumSender\x12\'\n\x0f\x63osmos_receiver\x18\x05 \x01(\tR\x0e\x63osmosReceiver\x12%\n\x0etoken_contract\x18\x06 \x01(\tR\rtokenContract\x12\x35\n\x06\x61mount\x18\x07 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\x12\x31\n\x14orchestrator_address\x18\x08 \x01(\tR\x13orchestratorAddress\x12\x12\n\x04\x64\x61ta\x18\t \x01(\tR\x04\x64\x61ta"\xfa\x01\n\x12\x45ventWithdrawClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x04 \x01(\x04R\nbatchNonce\x12%\n\x0etoken_contract\x18\x05 \x01(\tR\rtokenContract\x12\x31\n\x14orchestrator_address\x18\x06 \x01(\tR\x13orchestratorAddress"\xc9\x02\n\x17\x45ventERC20DeployedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12!\n\x0c\x63osmos_denom\x18\x04 \x01(\tR\x0b\x63osmosDenom\x12%\n\x0etoken_contract\x18\x05 \x01(\tR\rtokenContract\x12\x12\n\x04name\x18\x06 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x07 \x01(\tR\x06symbol\x12\x1a\n\x08\x64\x65\x63imals\x18\x08 \x01(\x04R\x08\x64\x65\x63imals\x12\x31\n\x14orchestrator_address\x18\t \x01(\tR\x13orchestratorAddress"\x8c\x03\n\x16\x45ventValsetUpdateClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12!\n\x0cvalset_nonce\x18\x04 \x01(\x04R\x0bvalsetNonce\x12J\n\x0evalset_members\x18\x05 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\rvalsetMembers\x12\x42\n\rreward_amount\x18\x06 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x07 \x01(\tR\x0brewardToken\x12\x31\n\x14orchestrator_address\x18\x08 \x01(\tR\x13orchestratorAddress"<\n\x14\x45ventCancelSendToEth\x12$\n\x0eoutgoing_tx_id\x18\x01 \x01(\x04R\x0coutgoingTxId"\x88\x01\n\x1f\x45ventSubmitBadSignatureEvidence\x12*\n\x11\x62\x61\x64_eth_signature\x18\x01 \x01(\tR\x0f\x62\x61\x64\x45thSignature\x12\x39\n\x19\x62\x61\x64_eth_signature_subject\x18\x02 \x01(\tR\x16\x62\x61\x64\x45thSignatureSubject"\xb5\x01\n\x13\x45ventValidatorSlash\x12\x14\n\x05power\x18\x01 \x01(\x03R\x05power\x12\x16\n\x06reason\x18\x02 \x01(\tR\x06reason\x12+\n\x11\x63onsensus_address\x18\x03 \x01(\tR\x10\x63onsensusAddress\x12)\n\x10operator_address\x18\x04 \x01(\tR\x0foperatorAddress\x12\x18\n\x07moniker\x18\x05 \x01(\tR\x07monikerB\xdc\x01\n\x16\x63om.injective.peggy.v1B\x0b\x45ventsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.events_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.events_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\013EventsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_EVENTVALSETUPDATEREQUEST'].fields_by_name['reward_amount']._loaded_options = None - _globals['_EVENTVALSETUPDATEREQUEST'].fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_EVENTSENDTOETH'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTSENDTOETH'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin' - _globals['_EVENTSENDTOETH'].fields_by_name['bridge_fee']._loaded_options = None - _globals['_EVENTSENDTOETH'].fields_by_name['bridge_fee']._serialized_options = b'\310\336\037\000\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin' - _globals['_EVENTDEPOSITCLAIM'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTDEPOSITCLAIM'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_EVENTVALSETUPDATECLAIM'].fields_by_name['reward_amount']._loaded_options = None - _globals['_EVENTVALSETUPDATECLAIM'].fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_EVENTATTESTATIONOBSERVED']._serialized_start=148 - _globals['_EVENTATTESTATIONOBSERVED']._serialized_end=390 - _globals['_EVENTBRIDGEWITHDRAWCANCELED']._serialized_start=392 - _globals['_EVENTBRIDGEWITHDRAWCANCELED']._serialized_end=502 - _globals['_EVENTOUTGOINGBATCH']._serialized_start=505 - _globals['_EVENTOUTGOINGBATCH']._serialized_end=702 - _globals['_EVENTOUTGOINGBATCHCANCELED']._serialized_start=705 - _globals['_EVENTOUTGOINGBATCHCANCELED']._serialized_end=863 - _globals['_EVENTVALSETUPDATEREQUEST']._serialized_start=866 - _globals['_EVENTVALSETUPDATEREQUEST']._serialized_end=1143 - _globals['_EVENTSETORCHESTRATORADDRESSES']._serialized_start=1146 - _globals['_EVENTSETORCHESTRATORADDRESSES']._serialized_end=1323 - _globals['_EVENTVALSETCONFIRM']._serialized_start=1325 - _globals['_EVENTVALSETCONFIRM']._serialized_end=1431 - _globals['_EVENTSENDTOETH']._serialized_start=1434 - _globals['_EVENTSENDTOETH']._serialized_end=1693 - _globals['_EVENTCONFIRMBATCH']._serialized_start=1695 - _globals['_EVENTCONFIRMBATCH']._serialized_end=1798 - _globals['_EVENTATTESTATIONVOTE']._serialized_start=1800 - _globals['_EVENTATTESTATIONVOTE']._serialized_end=1916 - _globals['_EVENTDEPOSITCLAIM']._serialized_start=1919 - _globals['_EVENTDEPOSITCLAIM']._serialized_end=2292 - _globals['_EVENTWITHDRAWCLAIM']._serialized_start=2295 - _globals['_EVENTWITHDRAWCLAIM']._serialized_end=2545 - _globals['_EVENTERC20DEPLOYEDCLAIM']._serialized_start=2548 - _globals['_EVENTERC20DEPLOYEDCLAIM']._serialized_end=2877 - _globals['_EVENTVALSETUPDATECLAIM']._serialized_start=2880 - _globals['_EVENTVALSETUPDATECLAIM']._serialized_end=3276 - _globals['_EVENTCANCELSENDTOETH']._serialized_start=3278 - _globals['_EVENTCANCELSENDTOETH']._serialized_end=3338 - _globals['_EVENTSUBMITBADSIGNATUREEVIDENCE']._serialized_start=3341 - _globals['_EVENTSUBMITBADSIGNATUREEVIDENCE']._serialized_end=3477 - _globals['_EVENTVALIDATORSLASH']._serialized_start=3480 - _globals['_EVENTVALIDATORSLASH']._serialized_end=3661 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.injective.peggy.v1B\013EventsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" + ) + _globals["_EVENTVALSETUPDATEREQUEST"].fields_by_name["reward_amount"]._loaded_options = None + _globals["_EVENTVALSETUPDATEREQUEST"].fields_by_name[ + "reward_amount" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_EVENTSENDTOETH"].fields_by_name["amount"]._loaded_options = None + _globals["_EVENTSENDTOETH"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\332\336\037'github.com/cosmos/cosmos-sdk/types.Coin" + _globals["_EVENTSENDTOETH"].fields_by_name["bridge_fee"]._loaded_options = None + _globals["_EVENTSENDTOETH"].fields_by_name[ + "bridge_fee" + ]._serialized_options = b"\310\336\037\000\332\336\037'github.com/cosmos/cosmos-sdk/types.Coin" + _globals["_EVENTDEPOSITCLAIM"].fields_by_name["amount"]._loaded_options = None + _globals["_EVENTDEPOSITCLAIM"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_EVENTVALSETUPDATECLAIM"].fields_by_name["reward_amount"]._loaded_options = None + _globals["_EVENTVALSETUPDATECLAIM"].fields_by_name[ + "reward_amount" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_EVENTATTESTATIONOBSERVED"]._serialized_start = 148 + _globals["_EVENTATTESTATIONOBSERVED"]._serialized_end = 390 + _globals["_EVENTBRIDGEWITHDRAWCANCELED"]._serialized_start = 392 + _globals["_EVENTBRIDGEWITHDRAWCANCELED"]._serialized_end = 502 + _globals["_EVENTOUTGOINGBATCH"]._serialized_start = 505 + _globals["_EVENTOUTGOINGBATCH"]._serialized_end = 702 + _globals["_EVENTOUTGOINGBATCHCANCELED"]._serialized_start = 705 + _globals["_EVENTOUTGOINGBATCHCANCELED"]._serialized_end = 863 + _globals["_EVENTVALSETUPDATEREQUEST"]._serialized_start = 866 + _globals["_EVENTVALSETUPDATEREQUEST"]._serialized_end = 1143 + _globals["_EVENTSETORCHESTRATORADDRESSES"]._serialized_start = 1146 + _globals["_EVENTSETORCHESTRATORADDRESSES"]._serialized_end = 1323 + _globals["_EVENTVALSETCONFIRM"]._serialized_start = 1325 + _globals["_EVENTVALSETCONFIRM"]._serialized_end = 1431 + _globals["_EVENTSENDTOETH"]._serialized_start = 1434 + _globals["_EVENTSENDTOETH"]._serialized_end = 1693 + _globals["_EVENTCONFIRMBATCH"]._serialized_start = 1695 + _globals["_EVENTCONFIRMBATCH"]._serialized_end = 1798 + _globals["_EVENTATTESTATIONVOTE"]._serialized_start = 1800 + _globals["_EVENTATTESTATIONVOTE"]._serialized_end = 1916 + _globals["_EVENTDEPOSITCLAIM"]._serialized_start = 1919 + _globals["_EVENTDEPOSITCLAIM"]._serialized_end = 2292 + _globals["_EVENTWITHDRAWCLAIM"]._serialized_start = 2295 + _globals["_EVENTWITHDRAWCLAIM"]._serialized_end = 2545 + _globals["_EVENTERC20DEPLOYEDCLAIM"]._serialized_start = 2548 + _globals["_EVENTERC20DEPLOYEDCLAIM"]._serialized_end = 2877 + _globals["_EVENTVALSETUPDATECLAIM"]._serialized_start = 2880 + _globals["_EVENTVALSETUPDATECLAIM"]._serialized_end = 3276 + _globals["_EVENTCANCELSENDTOETH"]._serialized_start = 3278 + _globals["_EVENTCANCELSENDTOETH"]._serialized_end = 3338 + _globals["_EVENTSUBMITBADSIGNATUREEVIDENCE"]._serialized_start = 3341 + _globals["_EVENTSUBMITBADSIGNATUREEVIDENCE"]._serialized_end = 3477 + _globals["_EVENTVALIDATORSLASH"]._serialized_start = 3480 + _globals["_EVENTVALIDATORSLASH"]._serialized_end = 3661 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/events_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/events_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/peggy/v1/events_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/events_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/peggy/v1/genesis_pb2.py b/pyinjective/proto/injective/peggy/v1/genesis_pb2.py index 4d9e4d60..34a7108c 100644 --- a/pyinjective/proto/injective/peggy/v1/genesis_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -21,16 +22,20 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n injective/peggy/v1/genesis.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1dinjective/peggy/v1/msgs.proto\x1a\x1einjective/peggy/v1/batch.proto\x1a$injective/peggy/v1/attestation.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x80\x08\n\x0cGenesisState\x12\x32\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsR\x06params\x12.\n\x13last_observed_nonce\x18\x02 \x01(\x04R\x11lastObservedNonce\x12\x34\n\x07valsets\x18\x03 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets\x12M\n\x0fvalset_confirms\x18\x04 \x03(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x0evalsetConfirms\x12=\n\x07\x62\x61tches\x18\x05 \x03(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x07\x62\x61tches\x12J\n\x0e\x62\x61tch_confirms\x18\x06 \x03(\x0b\x32#.injective.peggy.v1.MsgConfirmBatchR\rbatchConfirms\x12\x43\n\x0c\x61ttestations\x18\x07 \x03(\x0b\x32\x1f.injective.peggy.v1.AttestationR\x0c\x61ttestations\x12\x66\n\x16orchestrator_addresses\x18\x08 \x03(\x0b\x32/.injective.peggy.v1.MsgSetOrchestratorAddressesR\x15orchestratorAddresses\x12H\n\x0f\x65rc20_to_denoms\x18\t \x03(\x0b\x32 .injective.peggy.v1.ERC20ToDenomR\rerc20ToDenoms\x12W\n\x13unbatched_transfers\x18\n \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12unbatchedTransfers\x12\x41\n\x1dlast_observed_ethereum_height\x18\x0b \x01(\x04R\x1alastObservedEthereumHeight\x12\x33\n\x16last_outgoing_batch_id\x18\x0c \x01(\x04R\x13lastOutgoingBatchId\x12\x31\n\x15last_outgoing_pool_id\x18\r \x01(\x04R\x12lastOutgoingPoolId\x12R\n\x14last_observed_valset\x18\x0e \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetB\x04\xc8\xde\x1f\x00R\x12lastObservedValset\x12-\n\x12\x65thereum_blacklist\x18\x0f \x03(\tR\x11\x65thereumBlacklistB\xdd\x01\n\x16\x63om.injective.peggy.v1B\x0cGenesisProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n injective/peggy/v1/genesis.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1dinjective/peggy/v1/msgs.proto\x1a\x1einjective/peggy/v1/batch.proto\x1a$injective/peggy/v1/attestation.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"\x80\x08\n\x0cGenesisState\x12\x32\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsR\x06params\x12.\n\x13last_observed_nonce\x18\x02 \x01(\x04R\x11lastObservedNonce\x12\x34\n\x07valsets\x18\x03 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets\x12M\n\x0fvalset_confirms\x18\x04 \x03(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x0evalsetConfirms\x12=\n\x07\x62\x61tches\x18\x05 \x03(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x07\x62\x61tches\x12J\n\x0e\x62\x61tch_confirms\x18\x06 \x03(\x0b\x32#.injective.peggy.v1.MsgConfirmBatchR\rbatchConfirms\x12\x43\n\x0c\x61ttestations\x18\x07 \x03(\x0b\x32\x1f.injective.peggy.v1.AttestationR\x0c\x61ttestations\x12\x66\n\x16orchestrator_addresses\x18\x08 \x03(\x0b\x32/.injective.peggy.v1.MsgSetOrchestratorAddressesR\x15orchestratorAddresses\x12H\n\x0f\x65rc20_to_denoms\x18\t \x03(\x0b\x32 .injective.peggy.v1.ERC20ToDenomR\rerc20ToDenoms\x12W\n\x13unbatched_transfers\x18\n \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12unbatchedTransfers\x12\x41\n\x1dlast_observed_ethereum_height\x18\x0b \x01(\x04R\x1alastObservedEthereumHeight\x12\x33\n\x16last_outgoing_batch_id\x18\x0c \x01(\x04R\x13lastOutgoingBatchId\x12\x31\n\x15last_outgoing_pool_id\x18\r \x01(\x04R\x12lastOutgoingPoolId\x12R\n\x14last_observed_valset\x18\x0e \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetB\x04\xc8\xde\x1f\x00R\x12lastObservedValset\x12-\n\x12\x65thereum_blacklist\x18\x0f \x03(\tR\x11\x65thereumBlacklistB\xdd\x01\n\x16\x63om.injective.peggy.v1B\x0cGenesisProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\014GenesisProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_GENESISSTATE'].fields_by_name['last_observed_valset']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['last_observed_valset']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=277 - _globals['_GENESISSTATE']._serialized_end=1301 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.injective.peggy.v1B\014GenesisProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" + ) + _globals["_GENESISSTATE"].fields_by_name["last_observed_valset"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["last_observed_valset"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"]._serialized_start = 277 + _globals["_GENESISSTATE"]._serialized_end = 1301 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/genesis_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/peggy/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/peggy/v1/msgs_pb2.py b/pyinjective/proto/injective/peggy/v1/msgs_pb2.py index 098d38cb..f330d886 100644 --- a/pyinjective/proto/injective/peggy/v1/msgs_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/msgs_pb2.py @@ -7,6 +7,7 @@ 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() @@ -23,134 +24,188 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dinjective/peggy/v1/msgs.proto\x12\x12injective.peggy.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xad\x01\n\x1bMsgSetOrchestratorAddresses\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\"\n\x0corchestrator\x18\x02 \x01(\tR\x0corchestrator\x12\x1f\n\x0b\x65th_address\x18\x03 \x01(\tR\nethAddress:1\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!peggy/MsgSetOrchestratorAddresses\"%\n#MsgSetOrchestratorAddressesResponse\"\xb9\x01\n\x10MsgValsetConfirm\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12\"\n\x0corchestrator\x18\x02 \x01(\tR\x0corchestrator\x12\x1f\n\x0b\x65th_address\x18\x03 \x01(\tR\nethAddress\x12\x1c\n\tsignature\x18\x04 \x01(\tR\tsignature:,\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x16peggy/MsgValsetConfirm\"\x1a\n\x18MsgValsetConfirmResponse\"\xde\x01\n\x0cMsgSendToEth\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x19\n\x08\x65th_dest\x18\x02 \x01(\tR\x07\x65thDest\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\x12>\n\nbridge_fee\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\tbridgeFee:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12peggy/MsgSendToEth\"\x16\n\x14MsgSendToEthResponse\"x\n\x0fMsgRequestBatch\x12\"\n\x0corchestrator\x18\x01 \x01(\tR\x0corchestrator\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgRequestBatch\"\x19\n\x17MsgRequestBatchResponse\"\xdc\x01\n\x0fMsgConfirmBatch\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12%\n\x0etoken_contract\x18\x02 \x01(\tR\rtokenContract\x12\x1d\n\neth_signer\x18\x03 \x01(\tR\tethSigner\x12\"\n\x0corchestrator\x18\x04 \x01(\tR\x0corchestrator\x12\x1c\n\tsignature\x18\x05 \x01(\tR\tsignature:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgConfirmBatch\"\x19\n\x17MsgConfirmBatchResponse\"\xea\x02\n\x0fMsgDepositClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12%\n\x0etoken_contract\x18\x03 \x01(\tR\rtokenContract\x12\x35\n\x06\x61mount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\x12\'\n\x0f\x65thereum_sender\x18\x05 \x01(\tR\x0e\x65thereumSender\x12\'\n\x0f\x63osmos_receiver\x18\x06 \x01(\tR\x0e\x63osmosReceiver\x12\"\n\x0corchestrator\x18\x07 \x01(\tR\x0corchestrator\x12\x12\n\x04\x64\x61ta\x18\x08 \x01(\tR\x04\x64\x61ta:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgDepositClaim\"\x19\n\x17MsgDepositClaimResponse\"\xf0\x01\n\x10MsgWithdrawClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04R\nbatchNonce\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12\"\n\x0corchestrator\x18\x05 \x01(\tR\x0corchestrator:,\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x16peggy/MsgWithdrawClaim\"\x1a\n\x18MsgWithdrawClaimResponse\"\xc4\x02\n\x15MsgERC20DeployedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12!\n\x0c\x63osmos_denom\x18\x03 \x01(\tR\x0b\x63osmosDenom\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x06 \x01(\tR\x06symbol\x12\x1a\n\x08\x64\x65\x63imals\x18\x07 \x01(\x04R\x08\x64\x65\x63imals\x12\"\n\x0corchestrator\x18\x08 \x01(\tR\x0corchestrator:1\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x1bpeggy/MsgERC20DeployedClaim\"\x1f\n\x1dMsgERC20DeployedClaimResponse\"}\n\x12MsgCancelSendToEth\x12%\n\x0etransaction_id\x18\x01 \x01(\x04R\rtransactionId\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender:(\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x18peggy/MsgCancelSendToEth\"\x1c\n\x1aMsgCancelSendToEthResponse\"\xba\x01\n\x1dMsgSubmitBadSignatureEvidence\x12.\n\x07subject\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x07subject\x12\x1c\n\tsignature\x18\x02 \x01(\tR\tsignature\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#peggy/MsgSubmitBadSignatureEvidence\"\'\n%MsgSubmitBadSignatureEvidenceResponse\"\xfb\x02\n\x15MsgValsetUpdatedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0cvalset_nonce\x18\x02 \x01(\x04R\x0bvalsetNonce\x12!\n\x0c\x62lock_height\x18\x03 \x01(\x04R\x0b\x62lockHeight\x12=\n\x07members\x18\x04 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\x07members\x12\x42\n\rreward_amount\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x06 \x01(\tR\x0brewardToken\x12\"\n\x0corchestrator\x18\x07 \x01(\tR\x0corchestrator:1\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x1bpeggy/MsgValsetUpdatedClaim\"\x1f\n\x1dMsgValsetUpdatedClaimResponse\"\xad\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:(\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x15peggy/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\x9d\x01\n\x1dMsgBlacklistEthereumAddresses\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12/\n\x13\x62lacklist_addresses\x18\x02 \x03(\tR\x12\x62lacklistAddresses:3\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*#peggy/MsgBlacklistEthereumAddresses\"\'\n%MsgBlacklistEthereumAddressesResponse\"\x97\x01\n\x1aMsgRevokeEthereumBlacklist\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12/\n\x13\x62lacklist_addresses\x18\x02 \x03(\tR\x12\x62lacklistAddresses:0\x82\xe7\xb0*\x06signer\x8a\xe7\xb0* peggy/MsgRevokeEthereumBlacklist\"$\n\"MsgRevokeEthereumBlacklistResponse2\xbe\x10\n\x03Msg\x12\x8f\x01\n\rValsetConfirm\x12$.injective.peggy.v1.MsgValsetConfirm\x1a,.injective.peggy.v1.MsgValsetConfirmResponse\"*\x82\xd3\xe4\x93\x02$\"\"/injective/peggy/v1/valset_confirm\x12\x80\x01\n\tSendToEth\x12 .injective.peggy.v1.MsgSendToEth\x1a(.injective.peggy.v1.MsgSendToEthResponse\"\'\x82\xd3\xe4\x93\x02!\"\x1f/injective/peggy/v1/send_to_eth\x12\x8b\x01\n\x0cRequestBatch\x12#.injective.peggy.v1.MsgRequestBatch\x1a+.injective.peggy.v1.MsgRequestBatchResponse\")\x82\xd3\xe4\x93\x02#\"!/injective/peggy/v1/request_batch\x12\x8b\x01\n\x0c\x43onfirmBatch\x12#.injective.peggy.v1.MsgConfirmBatch\x1a+.injective.peggy.v1.MsgConfirmBatchResponse\")\x82\xd3\xe4\x93\x02#\"!/injective/peggy/v1/confirm_batch\x12\x8b\x01\n\x0c\x44\x65positClaim\x12#.injective.peggy.v1.MsgDepositClaim\x1a+.injective.peggy.v1.MsgDepositClaimResponse\")\x82\xd3\xe4\x93\x02#\"!/injective/peggy/v1/deposit_claim\x12\x8f\x01\n\rWithdrawClaim\x12$.injective.peggy.v1.MsgWithdrawClaim\x1a,.injective.peggy.v1.MsgWithdrawClaimResponse\"*\x82\xd3\xe4\x93\x02$\"\"/injective/peggy/v1/withdraw_claim\x12\xa3\x01\n\x11ValsetUpdateClaim\x12).injective.peggy.v1.MsgValsetUpdatedClaim\x1a\x31.injective.peggy.v1.MsgValsetUpdatedClaimResponse\"0\x82\xd3\xe4\x93\x02*\"(/injective/peggy/v1/valset_updated_claim\x12\xa4\x01\n\x12\x45RC20DeployedClaim\x12).injective.peggy.v1.MsgERC20DeployedClaim\x1a\x31.injective.peggy.v1.MsgERC20DeployedClaimResponse\"0\x82\xd3\xe4\x93\x02*\"(/injective/peggy/v1/erc20_deployed_claim\x12\xba\x01\n\x18SetOrchestratorAddresses\x12/.injective.peggy.v1.MsgSetOrchestratorAddresses\x1a\x37.injective.peggy.v1.MsgSetOrchestratorAddressesResponse\"4\x82\xd3\xe4\x93\x02.\",/injective/peggy/v1/set_orchestrator_address\x12\x99\x01\n\x0f\x43\x61ncelSendToEth\x12&.injective.peggy.v1.MsgCancelSendToEth\x1a..injective.peggy.v1.MsgCancelSendToEthResponse\".\x82\xd3\xe4\x93\x02(\"&/injective/peggy/v1/cancel_send_to_eth\x12\xc5\x01\n\x1aSubmitBadSignatureEvidence\x12\x31.injective.peggy.v1.MsgSubmitBadSignatureEvidence\x1a\x39.injective.peggy.v1.MsgSubmitBadSignatureEvidenceResponse\"9\x82\xd3\xe4\x93\x02\x33\"1/injective/peggy/v1/submit_bad_signature_evidence\x12`\n\x0cUpdateParams\x12#.injective.peggy.v1.MsgUpdateParams\x1a+.injective.peggy.v1.MsgUpdateParamsResponse\x12\x8a\x01\n\x1a\x42lacklistEthereumAddresses\x12\x31.injective.peggy.v1.MsgBlacklistEthereumAddresses\x1a\x39.injective.peggy.v1.MsgBlacklistEthereumAddressesResponse\x12\x81\x01\n\x17RevokeEthereumBlacklist\x12..injective.peggy.v1.MsgRevokeEthereumBlacklist\x1a\x36.injective.peggy.v1.MsgRevokeEthereumBlacklistResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xda\x01\n\x16\x63om.injective.peggy.v1B\tMsgsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1dinjective/peggy/v1/msgs.proto\x12\x12injective.peggy.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\xad\x01\n\x1bMsgSetOrchestratorAddresses\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12"\n\x0corchestrator\x18\x02 \x01(\tR\x0corchestrator\x12\x1f\n\x0b\x65th_address\x18\x03 \x01(\tR\nethAddress:1\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!peggy/MsgSetOrchestratorAddresses"%\n#MsgSetOrchestratorAddressesResponse"\xb9\x01\n\x10MsgValsetConfirm\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12"\n\x0corchestrator\x18\x02 \x01(\tR\x0corchestrator\x12\x1f\n\x0b\x65th_address\x18\x03 \x01(\tR\nethAddress\x12\x1c\n\tsignature\x18\x04 \x01(\tR\tsignature:,\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x16peggy/MsgValsetConfirm"\x1a\n\x18MsgValsetConfirmResponse"\xde\x01\n\x0cMsgSendToEth\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x19\n\x08\x65th_dest\x18\x02 \x01(\tR\x07\x65thDest\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\x12>\n\nbridge_fee\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\tbridgeFee:"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12peggy/MsgSendToEth"\x16\n\x14MsgSendToEthResponse"x\n\x0fMsgRequestBatch\x12"\n\x0corchestrator\x18\x01 \x01(\tR\x0corchestrator\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgRequestBatch"\x19\n\x17MsgRequestBatchResponse"\xdc\x01\n\x0fMsgConfirmBatch\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12%\n\x0etoken_contract\x18\x02 \x01(\tR\rtokenContract\x12\x1d\n\neth_signer\x18\x03 \x01(\tR\tethSigner\x12"\n\x0corchestrator\x18\x04 \x01(\tR\x0corchestrator\x12\x1c\n\tsignature\x18\x05 \x01(\tR\tsignature:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgConfirmBatch"\x19\n\x17MsgConfirmBatchResponse"\xea\x02\n\x0fMsgDepositClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12%\n\x0etoken_contract\x18\x03 \x01(\tR\rtokenContract\x12\x35\n\x06\x61mount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\x12\'\n\x0f\x65thereum_sender\x18\x05 \x01(\tR\x0e\x65thereumSender\x12\'\n\x0f\x63osmos_receiver\x18\x06 \x01(\tR\x0e\x63osmosReceiver\x12"\n\x0corchestrator\x18\x07 \x01(\tR\x0corchestrator\x12\x12\n\x04\x64\x61ta\x18\x08 \x01(\tR\x04\x64\x61ta:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgDepositClaim"\x19\n\x17MsgDepositClaimResponse"\xf0\x01\n\x10MsgWithdrawClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04R\nbatchNonce\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12"\n\x0corchestrator\x18\x05 \x01(\tR\x0corchestrator:,\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x16peggy/MsgWithdrawClaim"\x1a\n\x18MsgWithdrawClaimResponse"\xc4\x02\n\x15MsgERC20DeployedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12!\n\x0c\x63osmos_denom\x18\x03 \x01(\tR\x0b\x63osmosDenom\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x06 \x01(\tR\x06symbol\x12\x1a\n\x08\x64\x65\x63imals\x18\x07 \x01(\x04R\x08\x64\x65\x63imals\x12"\n\x0corchestrator\x18\x08 \x01(\tR\x0corchestrator:1\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x1bpeggy/MsgERC20DeployedClaim"\x1f\n\x1dMsgERC20DeployedClaimResponse"}\n\x12MsgCancelSendToEth\x12%\n\x0etransaction_id\x18\x01 \x01(\x04R\rtransactionId\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender:(\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x18peggy/MsgCancelSendToEth"\x1c\n\x1aMsgCancelSendToEthResponse"\xba\x01\n\x1dMsgSubmitBadSignatureEvidence\x12.\n\x07subject\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x07subject\x12\x1c\n\tsignature\x18\x02 \x01(\tR\tsignature\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#peggy/MsgSubmitBadSignatureEvidence"\'\n%MsgSubmitBadSignatureEvidenceResponse"\xfb\x02\n\x15MsgValsetUpdatedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0cvalset_nonce\x18\x02 \x01(\x04R\x0bvalsetNonce\x12!\n\x0c\x62lock_height\x18\x03 \x01(\x04R\x0b\x62lockHeight\x12=\n\x07members\x18\x04 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\x07members\x12\x42\n\rreward_amount\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x06 \x01(\tR\x0brewardToken\x12"\n\x0corchestrator\x18\x07 \x01(\tR\x0corchestrator:1\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x1bpeggy/MsgValsetUpdatedClaim"\x1f\n\x1dMsgValsetUpdatedClaimResponse"\xad\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:(\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x15peggy/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse"\x9d\x01\n\x1dMsgBlacklistEthereumAddresses\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12/\n\x13\x62lacklist_addresses\x18\x02 \x03(\tR\x12\x62lacklistAddresses:3\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*#peggy/MsgBlacklistEthereumAddresses"\'\n%MsgBlacklistEthereumAddressesResponse"\x97\x01\n\x1aMsgRevokeEthereumBlacklist\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12/\n\x13\x62lacklist_addresses\x18\x02 \x03(\tR\x12\x62lacklistAddresses:0\x82\xe7\xb0*\x06signer\x8a\xe7\xb0* peggy/MsgRevokeEthereumBlacklist"$\n"MsgRevokeEthereumBlacklistResponse2\xbe\x10\n\x03Msg\x12\x8f\x01\n\rValsetConfirm\x12$.injective.peggy.v1.MsgValsetConfirm\x1a,.injective.peggy.v1.MsgValsetConfirmResponse"*\x82\xd3\xe4\x93\x02$""/injective/peggy/v1/valset_confirm\x12\x80\x01\n\tSendToEth\x12 .injective.peggy.v1.MsgSendToEth\x1a(.injective.peggy.v1.MsgSendToEthResponse"\'\x82\xd3\xe4\x93\x02!"\x1f/injective/peggy/v1/send_to_eth\x12\x8b\x01\n\x0cRequestBatch\x12#.injective.peggy.v1.MsgRequestBatch\x1a+.injective.peggy.v1.MsgRequestBatchResponse")\x82\xd3\xe4\x93\x02#"!/injective/peggy/v1/request_batch\x12\x8b\x01\n\x0c\x43onfirmBatch\x12#.injective.peggy.v1.MsgConfirmBatch\x1a+.injective.peggy.v1.MsgConfirmBatchResponse")\x82\xd3\xe4\x93\x02#"!/injective/peggy/v1/confirm_batch\x12\x8b\x01\n\x0c\x44\x65positClaim\x12#.injective.peggy.v1.MsgDepositClaim\x1a+.injective.peggy.v1.MsgDepositClaimResponse")\x82\xd3\xe4\x93\x02#"!/injective/peggy/v1/deposit_claim\x12\x8f\x01\n\rWithdrawClaim\x12$.injective.peggy.v1.MsgWithdrawClaim\x1a,.injective.peggy.v1.MsgWithdrawClaimResponse"*\x82\xd3\xe4\x93\x02$""/injective/peggy/v1/withdraw_claim\x12\xa3\x01\n\x11ValsetUpdateClaim\x12).injective.peggy.v1.MsgValsetUpdatedClaim\x1a\x31.injective.peggy.v1.MsgValsetUpdatedClaimResponse"0\x82\xd3\xe4\x93\x02*"(/injective/peggy/v1/valset_updated_claim\x12\xa4\x01\n\x12\x45RC20DeployedClaim\x12).injective.peggy.v1.MsgERC20DeployedClaim\x1a\x31.injective.peggy.v1.MsgERC20DeployedClaimResponse"0\x82\xd3\xe4\x93\x02*"(/injective/peggy/v1/erc20_deployed_claim\x12\xba\x01\n\x18SetOrchestratorAddresses\x12/.injective.peggy.v1.MsgSetOrchestratorAddresses\x1a\x37.injective.peggy.v1.MsgSetOrchestratorAddressesResponse"4\x82\xd3\xe4\x93\x02.",/injective/peggy/v1/set_orchestrator_address\x12\x99\x01\n\x0f\x43\x61ncelSendToEth\x12&.injective.peggy.v1.MsgCancelSendToEth\x1a..injective.peggy.v1.MsgCancelSendToEthResponse".\x82\xd3\xe4\x93\x02("&/injective/peggy/v1/cancel_send_to_eth\x12\xc5\x01\n\x1aSubmitBadSignatureEvidence\x12\x31.injective.peggy.v1.MsgSubmitBadSignatureEvidence\x1a\x39.injective.peggy.v1.MsgSubmitBadSignatureEvidenceResponse"9\x82\xd3\xe4\x93\x02\x33"1/injective/peggy/v1/submit_bad_signature_evidence\x12`\n\x0cUpdateParams\x12#.injective.peggy.v1.MsgUpdateParams\x1a+.injective.peggy.v1.MsgUpdateParamsResponse\x12\x8a\x01\n\x1a\x42lacklistEthereumAddresses\x12\x31.injective.peggy.v1.MsgBlacklistEthereumAddresses\x1a\x39.injective.peggy.v1.MsgBlacklistEthereumAddressesResponse\x12\x81\x01\n\x17RevokeEthereumBlacklist\x12..injective.peggy.v1.MsgRevokeEthereumBlacklist\x1a\x36.injective.peggy.v1.MsgRevokeEthereumBlacklistResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xda\x01\n\x16\x63om.injective.peggy.v1B\tMsgsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.msgs_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.msgs_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\tMsgsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_MSGSETORCHESTRATORADDRESSES']._loaded_options = None - _globals['_MSGSETORCHESTRATORADDRESSES']._serialized_options = b'\202\347\260*\006sender\212\347\260*!peggy/MsgSetOrchestratorAddresses' - _globals['_MSGVALSETCONFIRM']._loaded_options = None - _globals['_MSGVALSETCONFIRM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\026peggy/MsgValsetConfirm' - _globals['_MSGSENDTOETH'].fields_by_name['amount']._loaded_options = None - _globals['_MSGSENDTOETH'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_MSGSENDTOETH'].fields_by_name['bridge_fee']._loaded_options = None - _globals['_MSGSENDTOETH'].fields_by_name['bridge_fee']._serialized_options = b'\310\336\037\000' - _globals['_MSGSENDTOETH']._loaded_options = None - _globals['_MSGSENDTOETH']._serialized_options = b'\202\347\260*\006sender\212\347\260*\022peggy/MsgSendToEth' - _globals['_MSGREQUESTBATCH']._loaded_options = None - _globals['_MSGREQUESTBATCH']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgRequestBatch' - _globals['_MSGCONFIRMBATCH']._loaded_options = None - _globals['_MSGCONFIRMBATCH']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgConfirmBatch' - _globals['_MSGDEPOSITCLAIM'].fields_by_name['amount']._loaded_options = None - _globals['_MSGDEPOSITCLAIM'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_MSGDEPOSITCLAIM']._loaded_options = None - _globals['_MSGDEPOSITCLAIM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgDepositClaim' - _globals['_MSGWITHDRAWCLAIM']._loaded_options = None - _globals['_MSGWITHDRAWCLAIM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\026peggy/MsgWithdrawClaim' - _globals['_MSGERC20DEPLOYEDCLAIM']._loaded_options = None - _globals['_MSGERC20DEPLOYEDCLAIM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\033peggy/MsgERC20DeployedClaim' - _globals['_MSGCANCELSENDTOETH']._loaded_options = None - _globals['_MSGCANCELSENDTOETH']._serialized_options = b'\202\347\260*\006sender\212\347\260*\030peggy/MsgCancelSendToEth' - _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._loaded_options = None - _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._serialized_options = b'\202\347\260*\006sender\212\347\260*#peggy/MsgSubmitBadSignatureEvidence' - _globals['_MSGVALSETUPDATEDCLAIM'].fields_by_name['reward_amount']._loaded_options = None - _globals['_MSGVALSETUPDATEDCLAIM'].fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_MSGVALSETUPDATEDCLAIM']._loaded_options = None - _globals['_MSGVALSETUPDATEDCLAIM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\033peggy/MsgValsetUpdatedClaim' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\025peggy/MsgUpdateParams' - _globals['_MSGBLACKLISTETHEREUMADDRESSES']._loaded_options = None - _globals['_MSGBLACKLISTETHEREUMADDRESSES']._serialized_options = b'\202\347\260*\006signer\212\347\260*#peggy/MsgBlacklistEthereumAddresses' - _globals['_MSGREVOKEETHEREUMBLACKLIST']._loaded_options = None - _globals['_MSGREVOKEETHEREUMBLACKLIST']._serialized_options = b'\202\347\260*\006signer\212\347\260* peggy/MsgRevokeEthereumBlacklist' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSG'].methods_by_name['ValsetConfirm']._loaded_options = None - _globals['_MSG'].methods_by_name['ValsetConfirm']._serialized_options = b'\202\323\344\223\002$\"\"/injective/peggy/v1/valset_confirm' - _globals['_MSG'].methods_by_name['SendToEth']._loaded_options = None - _globals['_MSG'].methods_by_name['SendToEth']._serialized_options = b'\202\323\344\223\002!\"\037/injective/peggy/v1/send_to_eth' - _globals['_MSG'].methods_by_name['RequestBatch']._loaded_options = None - _globals['_MSG'].methods_by_name['RequestBatch']._serialized_options = b'\202\323\344\223\002#\"!/injective/peggy/v1/request_batch' - _globals['_MSG'].methods_by_name['ConfirmBatch']._loaded_options = None - _globals['_MSG'].methods_by_name['ConfirmBatch']._serialized_options = b'\202\323\344\223\002#\"!/injective/peggy/v1/confirm_batch' - _globals['_MSG'].methods_by_name['DepositClaim']._loaded_options = None - _globals['_MSG'].methods_by_name['DepositClaim']._serialized_options = b'\202\323\344\223\002#\"!/injective/peggy/v1/deposit_claim' - _globals['_MSG'].methods_by_name['WithdrawClaim']._loaded_options = None - _globals['_MSG'].methods_by_name['WithdrawClaim']._serialized_options = b'\202\323\344\223\002$\"\"/injective/peggy/v1/withdraw_claim' - _globals['_MSG'].methods_by_name['ValsetUpdateClaim']._loaded_options = None - _globals['_MSG'].methods_by_name['ValsetUpdateClaim']._serialized_options = b'\202\323\344\223\002*\"(/injective/peggy/v1/valset_updated_claim' - _globals['_MSG'].methods_by_name['ERC20DeployedClaim']._loaded_options = None - _globals['_MSG'].methods_by_name['ERC20DeployedClaim']._serialized_options = b'\202\323\344\223\002*\"(/injective/peggy/v1/erc20_deployed_claim' - _globals['_MSG'].methods_by_name['SetOrchestratorAddresses']._loaded_options = None - _globals['_MSG'].methods_by_name['SetOrchestratorAddresses']._serialized_options = b'\202\323\344\223\002.\",/injective/peggy/v1/set_orchestrator_address' - _globals['_MSG'].methods_by_name['CancelSendToEth']._loaded_options = None - _globals['_MSG'].methods_by_name['CancelSendToEth']._serialized_options = b'\202\323\344\223\002(\"&/injective/peggy/v1/cancel_send_to_eth' - _globals['_MSG'].methods_by_name['SubmitBadSignatureEvidence']._loaded_options = None - _globals['_MSG'].methods_by_name['SubmitBadSignatureEvidence']._serialized_options = b'\202\323\344\223\0023\"1/injective/peggy/v1/submit_bad_signature_evidence' - _globals['_MSGSETORCHESTRATORADDRESSES']._serialized_start=301 - _globals['_MSGSETORCHESTRATORADDRESSES']._serialized_end=474 - _globals['_MSGSETORCHESTRATORADDRESSESRESPONSE']._serialized_start=476 - _globals['_MSGSETORCHESTRATORADDRESSESRESPONSE']._serialized_end=513 - _globals['_MSGVALSETCONFIRM']._serialized_start=516 - _globals['_MSGVALSETCONFIRM']._serialized_end=701 - _globals['_MSGVALSETCONFIRMRESPONSE']._serialized_start=703 - _globals['_MSGVALSETCONFIRMRESPONSE']._serialized_end=729 - _globals['_MSGSENDTOETH']._serialized_start=732 - _globals['_MSGSENDTOETH']._serialized_end=954 - _globals['_MSGSENDTOETHRESPONSE']._serialized_start=956 - _globals['_MSGSENDTOETHRESPONSE']._serialized_end=978 - _globals['_MSGREQUESTBATCH']._serialized_start=980 - _globals['_MSGREQUESTBATCH']._serialized_end=1100 - _globals['_MSGREQUESTBATCHRESPONSE']._serialized_start=1102 - _globals['_MSGREQUESTBATCHRESPONSE']._serialized_end=1127 - _globals['_MSGCONFIRMBATCH']._serialized_start=1130 - _globals['_MSGCONFIRMBATCH']._serialized_end=1350 - _globals['_MSGCONFIRMBATCHRESPONSE']._serialized_start=1352 - _globals['_MSGCONFIRMBATCHRESPONSE']._serialized_end=1377 - _globals['_MSGDEPOSITCLAIM']._serialized_start=1380 - _globals['_MSGDEPOSITCLAIM']._serialized_end=1742 - _globals['_MSGDEPOSITCLAIMRESPONSE']._serialized_start=1744 - _globals['_MSGDEPOSITCLAIMRESPONSE']._serialized_end=1769 - _globals['_MSGWITHDRAWCLAIM']._serialized_start=1772 - _globals['_MSGWITHDRAWCLAIM']._serialized_end=2012 - _globals['_MSGWITHDRAWCLAIMRESPONSE']._serialized_start=2014 - _globals['_MSGWITHDRAWCLAIMRESPONSE']._serialized_end=2040 - _globals['_MSGERC20DEPLOYEDCLAIM']._serialized_start=2043 - _globals['_MSGERC20DEPLOYEDCLAIM']._serialized_end=2367 - _globals['_MSGERC20DEPLOYEDCLAIMRESPONSE']._serialized_start=2369 - _globals['_MSGERC20DEPLOYEDCLAIMRESPONSE']._serialized_end=2400 - _globals['_MSGCANCELSENDTOETH']._serialized_start=2402 - _globals['_MSGCANCELSENDTOETH']._serialized_end=2527 - _globals['_MSGCANCELSENDTOETHRESPONSE']._serialized_start=2529 - _globals['_MSGCANCELSENDTOETHRESPONSE']._serialized_end=2557 - _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._serialized_start=2560 - _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._serialized_end=2746 - _globals['_MSGSUBMITBADSIGNATUREEVIDENCERESPONSE']._serialized_start=2748 - _globals['_MSGSUBMITBADSIGNATUREEVIDENCERESPONSE']._serialized_end=2787 - _globals['_MSGVALSETUPDATEDCLAIM']._serialized_start=2790 - _globals['_MSGVALSETUPDATEDCLAIM']._serialized_end=3169 - _globals['_MSGVALSETUPDATEDCLAIMRESPONSE']._serialized_start=3171 - _globals['_MSGVALSETUPDATEDCLAIMRESPONSE']._serialized_end=3202 - _globals['_MSGUPDATEPARAMS']._serialized_start=3205 - _globals['_MSGUPDATEPARAMS']._serialized_end=3378 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=3380 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=3405 - _globals['_MSGBLACKLISTETHEREUMADDRESSES']._serialized_start=3408 - _globals['_MSGBLACKLISTETHEREUMADDRESSES']._serialized_end=3565 - _globals['_MSGBLACKLISTETHEREUMADDRESSESRESPONSE']._serialized_start=3567 - _globals['_MSGBLACKLISTETHEREUMADDRESSESRESPONSE']._serialized_end=3606 - _globals['_MSGREVOKEETHEREUMBLACKLIST']._serialized_start=3609 - _globals['_MSGREVOKEETHEREUMBLACKLIST']._serialized_end=3760 - _globals['_MSGREVOKEETHEREUMBLACKLISTRESPONSE']._serialized_start=3762 - _globals['_MSGREVOKEETHEREUMBLACKLISTRESPONSE']._serialized_end=3798 - _globals['_MSG']._serialized_start=3801 - _globals['_MSG']._serialized_end=5911 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.injective.peggy.v1B\tMsgsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" + ) + _globals["_MSGSETORCHESTRATORADDRESSES"]._loaded_options = None + _globals["_MSGSETORCHESTRATORADDRESSES"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*!peggy/MsgSetOrchestratorAddresses" + ) + _globals["_MSGVALSETCONFIRM"]._loaded_options = None + _globals["_MSGVALSETCONFIRM"]._serialized_options = ( + b"\202\347\260*\014orchestrator\212\347\260*\026peggy/MsgValsetConfirm" + ) + _globals["_MSGSENDTOETH"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGSENDTOETH"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" + _globals["_MSGSENDTOETH"].fields_by_name["bridge_fee"]._loaded_options = None + _globals["_MSGSENDTOETH"].fields_by_name["bridge_fee"]._serialized_options = b"\310\336\037\000" + _globals["_MSGSENDTOETH"]._loaded_options = None + _globals["_MSGSENDTOETH"]._serialized_options = b"\202\347\260*\006sender\212\347\260*\022peggy/MsgSendToEth" + _globals["_MSGREQUESTBATCH"]._loaded_options = None + _globals["_MSGREQUESTBATCH"]._serialized_options = ( + b"\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgRequestBatch" + ) + _globals["_MSGCONFIRMBATCH"]._loaded_options = None + _globals["_MSGCONFIRMBATCH"]._serialized_options = ( + b"\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgConfirmBatch" + ) + _globals["_MSGDEPOSITCLAIM"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGDEPOSITCLAIM"].fields_by_name[ + "amount" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_MSGDEPOSITCLAIM"]._loaded_options = None + _globals["_MSGDEPOSITCLAIM"]._serialized_options = ( + b"\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgDepositClaim" + ) + _globals["_MSGWITHDRAWCLAIM"]._loaded_options = None + _globals["_MSGWITHDRAWCLAIM"]._serialized_options = ( + b"\202\347\260*\014orchestrator\212\347\260*\026peggy/MsgWithdrawClaim" + ) + _globals["_MSGERC20DEPLOYEDCLAIM"]._loaded_options = None + _globals["_MSGERC20DEPLOYEDCLAIM"]._serialized_options = ( + b"\202\347\260*\014orchestrator\212\347\260*\033peggy/MsgERC20DeployedClaim" + ) + _globals["_MSGCANCELSENDTOETH"]._loaded_options = None + _globals["_MSGCANCELSENDTOETH"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\030peggy/MsgCancelSendToEth" + ) + _globals["_MSGSUBMITBADSIGNATUREEVIDENCE"]._loaded_options = None + _globals["_MSGSUBMITBADSIGNATUREEVIDENCE"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*#peggy/MsgSubmitBadSignatureEvidence" + ) + _globals["_MSGVALSETUPDATEDCLAIM"].fields_by_name["reward_amount"]._loaded_options = None + _globals["_MSGVALSETUPDATEDCLAIM"].fields_by_name[ + "reward_amount" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_MSGVALSETUPDATEDCLAIM"]._loaded_options = None + _globals["_MSGVALSETUPDATEDCLAIM"]._serialized_options = ( + b"\202\347\260*\014orchestrator\212\347\260*\033peggy/MsgValsetUpdatedClaim" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = b"\202\347\260*\tauthority\212\347\260*\025peggy/MsgUpdateParams" + _globals["_MSGBLACKLISTETHEREUMADDRESSES"]._loaded_options = None + _globals["_MSGBLACKLISTETHEREUMADDRESSES"]._serialized_options = ( + b"\202\347\260*\006signer\212\347\260*#peggy/MsgBlacklistEthereumAddresses" + ) + _globals["_MSGREVOKEETHEREUMBLACKLIST"]._loaded_options = None + _globals["_MSGREVOKEETHEREUMBLACKLIST"]._serialized_options = ( + b"\202\347\260*\006signer\212\347\260* peggy/MsgRevokeEthereumBlacklist" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSG"].methods_by_name["ValsetConfirm"]._loaded_options = None + _globals["_MSG"].methods_by_name[ + "ValsetConfirm" + ]._serialized_options = b'\202\323\344\223\002$""/injective/peggy/v1/valset_confirm' + _globals["_MSG"].methods_by_name["SendToEth"]._loaded_options = None + _globals["_MSG"].methods_by_name[ + "SendToEth" + ]._serialized_options = b'\202\323\344\223\002!"\037/injective/peggy/v1/send_to_eth' + _globals["_MSG"].methods_by_name["RequestBatch"]._loaded_options = None + _globals["_MSG"].methods_by_name[ + "RequestBatch" + ]._serialized_options = b'\202\323\344\223\002#"!/injective/peggy/v1/request_batch' + _globals["_MSG"].methods_by_name["ConfirmBatch"]._loaded_options = None + _globals["_MSG"].methods_by_name[ + "ConfirmBatch" + ]._serialized_options = b'\202\323\344\223\002#"!/injective/peggy/v1/confirm_batch' + _globals["_MSG"].methods_by_name["DepositClaim"]._loaded_options = None + _globals["_MSG"].methods_by_name[ + "DepositClaim" + ]._serialized_options = b'\202\323\344\223\002#"!/injective/peggy/v1/deposit_claim' + _globals["_MSG"].methods_by_name["WithdrawClaim"]._loaded_options = None + _globals["_MSG"].methods_by_name[ + "WithdrawClaim" + ]._serialized_options = b'\202\323\344\223\002$""/injective/peggy/v1/withdraw_claim' + _globals["_MSG"].methods_by_name["ValsetUpdateClaim"]._loaded_options = None + _globals["_MSG"].methods_by_name[ + "ValsetUpdateClaim" + ]._serialized_options = b'\202\323\344\223\002*"(/injective/peggy/v1/valset_updated_claim' + _globals["_MSG"].methods_by_name["ERC20DeployedClaim"]._loaded_options = None + _globals["_MSG"].methods_by_name[ + "ERC20DeployedClaim" + ]._serialized_options = b'\202\323\344\223\002*"(/injective/peggy/v1/erc20_deployed_claim' + _globals["_MSG"].methods_by_name["SetOrchestratorAddresses"]._loaded_options = None + _globals["_MSG"].methods_by_name[ + "SetOrchestratorAddresses" + ]._serialized_options = b'\202\323\344\223\002.",/injective/peggy/v1/set_orchestrator_address' + _globals["_MSG"].methods_by_name["CancelSendToEth"]._loaded_options = None + _globals["_MSG"].methods_by_name[ + "CancelSendToEth" + ]._serialized_options = b'\202\323\344\223\002("&/injective/peggy/v1/cancel_send_to_eth' + _globals["_MSG"].methods_by_name["SubmitBadSignatureEvidence"]._loaded_options = None + _globals["_MSG"].methods_by_name[ + "SubmitBadSignatureEvidence" + ]._serialized_options = b'\202\323\344\223\0023"1/injective/peggy/v1/submit_bad_signature_evidence' + _globals["_MSGSETORCHESTRATORADDRESSES"]._serialized_start = 301 + _globals["_MSGSETORCHESTRATORADDRESSES"]._serialized_end = 474 + _globals["_MSGSETORCHESTRATORADDRESSESRESPONSE"]._serialized_start = 476 + _globals["_MSGSETORCHESTRATORADDRESSESRESPONSE"]._serialized_end = 513 + _globals["_MSGVALSETCONFIRM"]._serialized_start = 516 + _globals["_MSGVALSETCONFIRM"]._serialized_end = 701 + _globals["_MSGVALSETCONFIRMRESPONSE"]._serialized_start = 703 + _globals["_MSGVALSETCONFIRMRESPONSE"]._serialized_end = 729 + _globals["_MSGSENDTOETH"]._serialized_start = 732 + _globals["_MSGSENDTOETH"]._serialized_end = 954 + _globals["_MSGSENDTOETHRESPONSE"]._serialized_start = 956 + _globals["_MSGSENDTOETHRESPONSE"]._serialized_end = 978 + _globals["_MSGREQUESTBATCH"]._serialized_start = 980 + _globals["_MSGREQUESTBATCH"]._serialized_end = 1100 + _globals["_MSGREQUESTBATCHRESPONSE"]._serialized_start = 1102 + _globals["_MSGREQUESTBATCHRESPONSE"]._serialized_end = 1127 + _globals["_MSGCONFIRMBATCH"]._serialized_start = 1130 + _globals["_MSGCONFIRMBATCH"]._serialized_end = 1350 + _globals["_MSGCONFIRMBATCHRESPONSE"]._serialized_start = 1352 + _globals["_MSGCONFIRMBATCHRESPONSE"]._serialized_end = 1377 + _globals["_MSGDEPOSITCLAIM"]._serialized_start = 1380 + _globals["_MSGDEPOSITCLAIM"]._serialized_end = 1742 + _globals["_MSGDEPOSITCLAIMRESPONSE"]._serialized_start = 1744 + _globals["_MSGDEPOSITCLAIMRESPONSE"]._serialized_end = 1769 + _globals["_MSGWITHDRAWCLAIM"]._serialized_start = 1772 + _globals["_MSGWITHDRAWCLAIM"]._serialized_end = 2012 + _globals["_MSGWITHDRAWCLAIMRESPONSE"]._serialized_start = 2014 + _globals["_MSGWITHDRAWCLAIMRESPONSE"]._serialized_end = 2040 + _globals["_MSGERC20DEPLOYEDCLAIM"]._serialized_start = 2043 + _globals["_MSGERC20DEPLOYEDCLAIM"]._serialized_end = 2367 + _globals["_MSGERC20DEPLOYEDCLAIMRESPONSE"]._serialized_start = 2369 + _globals["_MSGERC20DEPLOYEDCLAIMRESPONSE"]._serialized_end = 2400 + _globals["_MSGCANCELSENDTOETH"]._serialized_start = 2402 + _globals["_MSGCANCELSENDTOETH"]._serialized_end = 2527 + _globals["_MSGCANCELSENDTOETHRESPONSE"]._serialized_start = 2529 + _globals["_MSGCANCELSENDTOETHRESPONSE"]._serialized_end = 2557 + _globals["_MSGSUBMITBADSIGNATUREEVIDENCE"]._serialized_start = 2560 + _globals["_MSGSUBMITBADSIGNATUREEVIDENCE"]._serialized_end = 2746 + _globals["_MSGSUBMITBADSIGNATUREEVIDENCERESPONSE"]._serialized_start = 2748 + _globals["_MSGSUBMITBADSIGNATUREEVIDENCERESPONSE"]._serialized_end = 2787 + _globals["_MSGVALSETUPDATEDCLAIM"]._serialized_start = 2790 + _globals["_MSGVALSETUPDATEDCLAIM"]._serialized_end = 3169 + _globals["_MSGVALSETUPDATEDCLAIMRESPONSE"]._serialized_start = 3171 + _globals["_MSGVALSETUPDATEDCLAIMRESPONSE"]._serialized_end = 3202 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 3205 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 3378 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 3380 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 3405 + _globals["_MSGBLACKLISTETHEREUMADDRESSES"]._serialized_start = 3408 + _globals["_MSGBLACKLISTETHEREUMADDRESSES"]._serialized_end = 3565 + _globals["_MSGBLACKLISTETHEREUMADDRESSESRESPONSE"]._serialized_start = 3567 + _globals["_MSGBLACKLISTETHEREUMADDRESSESRESPONSE"]._serialized_end = 3606 + _globals["_MSGREVOKEETHEREUMBLACKLIST"]._serialized_start = 3609 + _globals["_MSGREVOKEETHEREUMBLACKLIST"]._serialized_end = 3760 + _globals["_MSGREVOKEETHEREUMBLACKLISTRESPONSE"]._serialized_start = 3762 + _globals["_MSGREVOKEETHEREUMBLACKLISTRESPONSE"]._serialized_end = 3798 + _globals["_MSG"]._serialized_start = 3801 + _globals["_MSG"]._serialized_end = 5911 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/msgs_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/msgs_pb2_grpc.py index 34f5ab26..58a0826e 100644 --- a/pyinjective/proto/injective/peggy/v1/msgs_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/msgs_pb2_grpc.py @@ -15,75 +15,89 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.ValsetConfirm = channel.unary_unary( - '/injective.peggy.v1.Msg/ValsetConfirm', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirm.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirmResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Msg/ValsetConfirm", + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirm.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirmResponse.FromString, + _registered_method=True, + ) self.SendToEth = channel.unary_unary( - '/injective.peggy.v1.Msg/SendToEth', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEth.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEthResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Msg/SendToEth", + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEth.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEthResponse.FromString, + _registered_method=True, + ) self.RequestBatch = channel.unary_unary( - '/injective.peggy.v1.Msg/RequestBatch', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatch.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatchResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Msg/RequestBatch", + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatch.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatchResponse.FromString, + _registered_method=True, + ) self.ConfirmBatch = channel.unary_unary( - '/injective.peggy.v1.Msg/ConfirmBatch', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatch.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatchResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Msg/ConfirmBatch", + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatch.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatchResponse.FromString, + _registered_method=True, + ) self.DepositClaim = channel.unary_unary( - '/injective.peggy.v1.Msg/DepositClaim', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaim.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaimResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Msg/DepositClaim", + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaim.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaimResponse.FromString, + _registered_method=True, + ) self.WithdrawClaim = channel.unary_unary( - '/injective.peggy.v1.Msg/WithdrawClaim', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaim.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaimResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Msg/WithdrawClaim", + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaim.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaimResponse.FromString, + _registered_method=True, + ) self.ValsetUpdateClaim = channel.unary_unary( - '/injective.peggy.v1.Msg/ValsetUpdateClaim', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaim.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaimResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Msg/ValsetUpdateClaim", + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaim.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaimResponse.FromString, + _registered_method=True, + ) self.ERC20DeployedClaim = channel.unary_unary( - '/injective.peggy.v1.Msg/ERC20DeployedClaim', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaim.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaimResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Msg/ERC20DeployedClaim", + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaim.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaimResponse.FromString, + _registered_method=True, + ) self.SetOrchestratorAddresses = channel.unary_unary( - '/injective.peggy.v1.Msg/SetOrchestratorAddresses', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddresses.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddressesResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Msg/SetOrchestratorAddresses", + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddresses.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddressesResponse.FromString, + _registered_method=True, + ) self.CancelSendToEth = channel.unary_unary( - '/injective.peggy.v1.Msg/CancelSendToEth', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEth.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEthResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Msg/CancelSendToEth", + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEth.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEthResponse.FromString, + _registered_method=True, + ) self.SubmitBadSignatureEvidence = channel.unary_unary( - '/injective.peggy.v1.Msg/SubmitBadSignatureEvidence', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidence.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidenceResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Msg/SubmitBadSignatureEvidence", + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidence.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidenceResponse.FromString, + _registered_method=True, + ) self.UpdateParams = channel.unary_unary( - '/injective.peggy.v1.Msg/UpdateParams', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Msg/UpdateParams", + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) self.BlacklistEthereumAddresses = channel.unary_unary( - '/injective.peggy.v1.Msg/BlacklistEthereumAddresses', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddresses.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddressesResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Msg/BlacklistEthereumAddresses", + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddresses.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddressesResponse.FromString, + _registered_method=True, + ) self.RevokeEthereumBlacklist = channel.unary_unary( - '/injective.peggy.v1.Msg/RevokeEthereumBlacklist', - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklist.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklistResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Msg/RevokeEthereumBlacklist", + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklist.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklistResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): @@ -92,189 +106,189 @@ class MsgServicer(object): def ValsetConfirm(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SendToEth(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RequestBatch(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ConfirmBatch(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DepositClaim(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def WithdrawClaim(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ValsetUpdateClaim(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ERC20DeployedClaim(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SetOrchestratorAddresses(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CancelSendToEth(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SubmitBadSignatureEvidence(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateParams(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def BlacklistEthereumAddresses(self, request, context): - """BlacklistEthereumAddresses adds Ethereum addresses to the peggy blacklist. - """ + """BlacklistEthereumAddresses adds Ethereum addresses to the peggy blacklist.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RevokeEthereumBlacklist(self, request, context): """RevokeEthereumBlacklist removes Ethereum addresses from the peggy blacklist. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'ValsetConfirm': grpc.unary_unary_rpc_method_handler( - servicer.ValsetConfirm, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirm.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirmResponse.SerializeToString, - ), - 'SendToEth': grpc.unary_unary_rpc_method_handler( - servicer.SendToEth, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEth.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEthResponse.SerializeToString, - ), - 'RequestBatch': grpc.unary_unary_rpc_method_handler( - servicer.RequestBatch, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatch.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatchResponse.SerializeToString, - ), - 'ConfirmBatch': grpc.unary_unary_rpc_method_handler( - servicer.ConfirmBatch, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatch.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatchResponse.SerializeToString, - ), - 'DepositClaim': grpc.unary_unary_rpc_method_handler( - servicer.DepositClaim, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaim.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaimResponse.SerializeToString, - ), - 'WithdrawClaim': grpc.unary_unary_rpc_method_handler( - servicer.WithdrawClaim, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaim.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaimResponse.SerializeToString, - ), - 'ValsetUpdateClaim': grpc.unary_unary_rpc_method_handler( - servicer.ValsetUpdateClaim, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaim.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaimResponse.SerializeToString, - ), - 'ERC20DeployedClaim': grpc.unary_unary_rpc_method_handler( - servicer.ERC20DeployedClaim, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaim.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaimResponse.SerializeToString, - ), - 'SetOrchestratorAddresses': grpc.unary_unary_rpc_method_handler( - servicer.SetOrchestratorAddresses, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddresses.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddressesResponse.SerializeToString, - ), - 'CancelSendToEth': grpc.unary_unary_rpc_method_handler( - servicer.CancelSendToEth, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEth.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEthResponse.SerializeToString, - ), - 'SubmitBadSignatureEvidence': grpc.unary_unary_rpc_method_handler( - servicer.SubmitBadSignatureEvidence, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidence.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidenceResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'BlacklistEthereumAddresses': grpc.unary_unary_rpc_method_handler( - servicer.BlacklistEthereumAddresses, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddresses.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddressesResponse.SerializeToString, - ), - 'RevokeEthereumBlacklist': grpc.unary_unary_rpc_method_handler( - servicer.RevokeEthereumBlacklist, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklist.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklistResponse.SerializeToString, - ), + "ValsetConfirm": grpc.unary_unary_rpc_method_handler( + servicer.ValsetConfirm, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirm.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirmResponse.SerializeToString, + ), + "SendToEth": grpc.unary_unary_rpc_method_handler( + servicer.SendToEth, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEth.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEthResponse.SerializeToString, + ), + "RequestBatch": grpc.unary_unary_rpc_method_handler( + servicer.RequestBatch, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatch.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatchResponse.SerializeToString, + ), + "ConfirmBatch": grpc.unary_unary_rpc_method_handler( + servicer.ConfirmBatch, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatch.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatchResponse.SerializeToString, + ), + "DepositClaim": grpc.unary_unary_rpc_method_handler( + servicer.DepositClaim, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaim.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaimResponse.SerializeToString, + ), + "WithdrawClaim": grpc.unary_unary_rpc_method_handler( + servicer.WithdrawClaim, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaim.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaimResponse.SerializeToString, + ), + "ValsetUpdateClaim": grpc.unary_unary_rpc_method_handler( + servicer.ValsetUpdateClaim, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaim.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaimResponse.SerializeToString, + ), + "ERC20DeployedClaim": grpc.unary_unary_rpc_method_handler( + servicer.ERC20DeployedClaim, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaim.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaimResponse.SerializeToString, + ), + "SetOrchestratorAddresses": grpc.unary_unary_rpc_method_handler( + servicer.SetOrchestratorAddresses, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddresses.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddressesResponse.SerializeToString, + ), + "CancelSendToEth": grpc.unary_unary_rpc_method_handler( + servicer.CancelSendToEth, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEth.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEthResponse.SerializeToString, + ), + "SubmitBadSignatureEvidence": grpc.unary_unary_rpc_method_handler( + servicer.SubmitBadSignatureEvidence, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidence.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidenceResponse.SerializeToString, + ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + "BlacklistEthereumAddresses": grpc.unary_unary_rpc_method_handler( + servicer.BlacklistEthereumAddresses, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddresses.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddressesResponse.SerializeToString, + ), + "RevokeEthereumBlacklist": grpc.unary_unary_rpc_method_handler( + servicer.RevokeEthereumBlacklist, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklist.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklistResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.peggy.v1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("injective.peggy.v1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.peggy.v1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("injective.peggy.v1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): """Missing associated documentation comment in .proto file.""" @staticmethod - def ValsetConfirm(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ValsetConfirm( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Msg/ValsetConfirm', + "/injective.peggy.v1.Msg/ValsetConfirm", injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirm.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirmResponse.FromString, options, @@ -285,23 +299,26 @@ def ValsetConfirm(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SendToEth(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SendToEth( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Msg/SendToEth', + "/injective.peggy.v1.Msg/SendToEth", injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEth.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEthResponse.FromString, options, @@ -312,23 +329,26 @@ def SendToEth(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RequestBatch(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RequestBatch( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Msg/RequestBatch', + "/injective.peggy.v1.Msg/RequestBatch", injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatch.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatchResponse.FromString, options, @@ -339,23 +359,26 @@ def RequestBatch(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ConfirmBatch(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ConfirmBatch( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Msg/ConfirmBatch', + "/injective.peggy.v1.Msg/ConfirmBatch", injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatch.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatchResponse.FromString, options, @@ -366,23 +389,26 @@ def ConfirmBatch(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DepositClaim(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DepositClaim( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Msg/DepositClaim', + "/injective.peggy.v1.Msg/DepositClaim", injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaim.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaimResponse.FromString, options, @@ -393,23 +419,26 @@ def DepositClaim(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def WithdrawClaim(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def WithdrawClaim( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Msg/WithdrawClaim', + "/injective.peggy.v1.Msg/WithdrawClaim", injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaim.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaimResponse.FromString, options, @@ -420,23 +449,26 @@ def WithdrawClaim(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ValsetUpdateClaim(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ValsetUpdateClaim( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Msg/ValsetUpdateClaim', + "/injective.peggy.v1.Msg/ValsetUpdateClaim", injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaim.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaimResponse.FromString, options, @@ -447,23 +479,26 @@ def ValsetUpdateClaim(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ERC20DeployedClaim(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ERC20DeployedClaim( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Msg/ERC20DeployedClaim', + "/injective.peggy.v1.Msg/ERC20DeployedClaim", injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaim.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaimResponse.FromString, options, @@ -474,23 +509,26 @@ def ERC20DeployedClaim(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SetOrchestratorAddresses(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SetOrchestratorAddresses( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Msg/SetOrchestratorAddresses', + "/injective.peggy.v1.Msg/SetOrchestratorAddresses", injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddresses.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddressesResponse.FromString, options, @@ -501,23 +539,26 @@ def SetOrchestratorAddresses(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CancelSendToEth(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CancelSendToEth( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Msg/CancelSendToEth', + "/injective.peggy.v1.Msg/CancelSendToEth", injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEth.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEthResponse.FromString, options, @@ -528,23 +569,26 @@ def CancelSendToEth(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SubmitBadSignatureEvidence(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SubmitBadSignatureEvidence( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Msg/SubmitBadSignatureEvidence', + "/injective.peggy.v1.Msg/SubmitBadSignatureEvidence", injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidence.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidenceResponse.FromString, options, @@ -555,23 +599,26 @@ def SubmitBadSignatureEvidence(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Msg/UpdateParams', + "/injective.peggy.v1.Msg/UpdateParams", injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParams.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParamsResponse.FromString, options, @@ -582,23 +629,26 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def BlacklistEthereumAddresses(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def BlacklistEthereumAddresses( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Msg/BlacklistEthereumAddresses', + "/injective.peggy.v1.Msg/BlacklistEthereumAddresses", injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddresses.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddressesResponse.FromString, options, @@ -609,23 +659,26 @@ def BlacklistEthereumAddresses(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RevokeEthereumBlacklist(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RevokeEthereumBlacklist( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Msg/RevokeEthereumBlacklist', + "/injective.peggy.v1.Msg/RevokeEthereumBlacklist", injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklist.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklistResponse.FromString, options, @@ -636,4 +689,5 @@ def RevokeEthereumBlacklist(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/injective/peggy/v1/params_pb2.py b/pyinjective/proto/injective/peggy/v1/params_pb2.py index de890733..5bce7465 100644 --- a/pyinjective/proto/injective/peggy/v1/params_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/params_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,28 +18,42 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/peggy/v1/params.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"\xea\n\n\x06Params\x12\x19\n\x08peggy_id\x18\x01 \x01(\tR\x07peggyId\x12\x30\n\x14\x63ontract_source_hash\x18\x02 \x01(\tR\x12\x63ontractSourceHash\x12\x36\n\x17\x62ridge_ethereum_address\x18\x03 \x01(\tR\x15\x62ridgeEthereumAddress\x12&\n\x0f\x62ridge_chain_id\x18\x04 \x01(\x04R\rbridgeChainId\x12\x32\n\x15signed_valsets_window\x18\x05 \x01(\x04R\x13signedValsetsWindow\x12\x32\n\x15signed_batches_window\x18\x06 \x01(\x04R\x13signedBatchesWindow\x12\x30\n\x14signed_claims_window\x18\x07 \x01(\x04R\x12signedClaimsWindow\x12\x30\n\x14target_batch_timeout\x18\x08 \x01(\x04R\x12targetBatchTimeout\x12,\n\x12\x61verage_block_time\x18\t \x01(\x04R\x10\x61verageBlockTime\x12=\n\x1b\x61verage_ethereum_block_time\x18\n \x01(\x04R\x18\x61verageEthereumBlockTime\x12W\n\x15slash_fraction_valset\x18\x0b \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13slashFractionValset\x12U\n\x14slash_fraction_batch\x18\x0c \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12slashFractionBatch\x12U\n\x14slash_fraction_claim\x18\r \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12slashFractionClaim\x12l\n slash_fraction_conflicting_claim\x18\x0e \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1dslashFractionConflictingClaim\x12\x43\n\x1eunbond_slashing_valsets_window\x18\x0f \x01(\x04R\x1bunbondSlashingValsetsWindow\x12k\n slash_fraction_bad_eth_signature\x18\x10 \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1cslashFractionBadEthSignature\x12*\n\x11\x63osmos_coin_denom\x18\x11 \x01(\tR\x0f\x63osmosCoinDenom\x12;\n\x1a\x63osmos_coin_erc20_contract\x18\x12 \x01(\tR\x17\x63osmosCoinErc20Contract\x12\x34\n\x16\x63laim_slashing_enabled\x18\x13 \x01(\x08R\x14\x63laimSlashingEnabled\x12?\n\x1c\x62ridge_contract_start_height\x18\x14 \x01(\x04R\x19\x62ridgeContractStartHeight\x12\x44\n\rvalset_reward\x18\x15 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x0cvalsetReward\x12\x16\n\x06\x61\x64mins\x18\x16 \x03(\tR\x06\x61\x64mins:\x15\x80\xdc \x00\x8a\xe7\xb0*\x0cpeggy/ParamsB\xdc\x01\n\x16\x63om.injective.peggy.v1B\x0bParamsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1finjective/peggy/v1/params.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto"\xea\n\n\x06Params\x12\x19\n\x08peggy_id\x18\x01 \x01(\tR\x07peggyId\x12\x30\n\x14\x63ontract_source_hash\x18\x02 \x01(\tR\x12\x63ontractSourceHash\x12\x36\n\x17\x62ridge_ethereum_address\x18\x03 \x01(\tR\x15\x62ridgeEthereumAddress\x12&\n\x0f\x62ridge_chain_id\x18\x04 \x01(\x04R\rbridgeChainId\x12\x32\n\x15signed_valsets_window\x18\x05 \x01(\x04R\x13signedValsetsWindow\x12\x32\n\x15signed_batches_window\x18\x06 \x01(\x04R\x13signedBatchesWindow\x12\x30\n\x14signed_claims_window\x18\x07 \x01(\x04R\x12signedClaimsWindow\x12\x30\n\x14target_batch_timeout\x18\x08 \x01(\x04R\x12targetBatchTimeout\x12,\n\x12\x61verage_block_time\x18\t \x01(\x04R\x10\x61verageBlockTime\x12=\n\x1b\x61verage_ethereum_block_time\x18\n \x01(\x04R\x18\x61verageEthereumBlockTime\x12W\n\x15slash_fraction_valset\x18\x0b \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13slashFractionValset\x12U\n\x14slash_fraction_batch\x18\x0c \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12slashFractionBatch\x12U\n\x14slash_fraction_claim\x18\r \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12slashFractionClaim\x12l\n slash_fraction_conflicting_claim\x18\x0e \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1dslashFractionConflictingClaim\x12\x43\n\x1eunbond_slashing_valsets_window\x18\x0f \x01(\x04R\x1bunbondSlashingValsetsWindow\x12k\n slash_fraction_bad_eth_signature\x18\x10 \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1cslashFractionBadEthSignature\x12*\n\x11\x63osmos_coin_denom\x18\x11 \x01(\tR\x0f\x63osmosCoinDenom\x12;\n\x1a\x63osmos_coin_erc20_contract\x18\x12 \x01(\tR\x17\x63osmosCoinErc20Contract\x12\x34\n\x16\x63laim_slashing_enabled\x18\x13 \x01(\x08R\x14\x63laimSlashingEnabled\x12?\n\x1c\x62ridge_contract_start_height\x18\x14 \x01(\x04R\x19\x62ridgeContractStartHeight\x12\x44\n\rvalset_reward\x18\x15 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x0cvalsetReward\x12\x16\n\x06\x61\x64mins\x18\x16 \x03(\tR\x06\x61\x64mins:\x15\x80\xdc \x00\x8a\xe7\xb0*\x0cpeggy/ParamsB\xdc\x01\n\x16\x63om.injective.peggy.v1B\x0bParamsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.params_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.params_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\013ParamsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_PARAMS'].fields_by_name['slash_fraction_valset']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_valset']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['slash_fraction_batch']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_batch']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['slash_fraction_claim']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_claim']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['slash_fraction_conflicting_claim']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_conflicting_claim']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['slash_fraction_bad_eth_signature']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_bad_eth_signature']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_PARAMS'].fields_by_name['valset_reward']._loaded_options = None - _globals['_PARAMS'].fields_by_name['valset_reward']._serialized_options = b'\310\336\037\000' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\200\334 \000\212\347\260*\014peggy/Params' - _globals['_PARAMS']._serialized_start=129 - _globals['_PARAMS']._serialized_end=1515 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.injective.peggy.v1B\013ParamsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" + ) + _globals["_PARAMS"].fields_by_name["slash_fraction_valset"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "slash_fraction_valset" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["slash_fraction_batch"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "slash_fraction_batch" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["slash_fraction_claim"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "slash_fraction_claim" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["slash_fraction_conflicting_claim"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "slash_fraction_conflicting_claim" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["slash_fraction_bad_eth_signature"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "slash_fraction_bad_eth_signature" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_PARAMS"].fields_by_name["valset_reward"]._loaded_options = None + _globals["_PARAMS"].fields_by_name["valset_reward"]._serialized_options = b"\310\336\037\000" + _globals["_PARAMS"]._loaded_options = None + _globals["_PARAMS"]._serialized_options = b"\200\334 \000\212\347\260*\014peggy/Params" + _globals["_PARAMS"]._serialized_start = 129 + _globals["_PARAMS"]._serialized_end = 1515 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/params_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/params_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/peggy/v1/params_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/params_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/peggy/v1/pool_pb2.py b/pyinjective/proto/injective/peggy/v1/pool_pb2.py index 2358a594..e07280d1 100644 --- a/pyinjective/proto/injective/peggy/v1/pool_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/pool_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,18 +16,24 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dinjective/peggy/v1/pool.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\"\x19\n\x05IDSet\x12\x10\n\x03ids\x18\x01 \x03(\x04R\x03ids\"_\n\tBatchFees\x12\x14\n\x05token\x18\x01 \x01(\tR\x05token\x12<\n\ntotal_fees\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\ttotalFeesB\xda\x01\n\x16\x63om.injective.peggy.v1B\tPoolProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1dinjective/peggy/v1/pool.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto"\x19\n\x05IDSet\x12\x10\n\x03ids\x18\x01 \x03(\x04R\x03ids"_\n\tBatchFees\x12\x14\n\x05token\x18\x01 \x01(\tR\x05token\x12<\n\ntotal_fees\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\ttotalFeesB\xda\x01\n\x16\x63om.injective.peggy.v1B\tPoolProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.pool_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.pool_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\tPoolProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_BATCHFEES'].fields_by_name['total_fees']._loaded_options = None - _globals['_BATCHFEES'].fields_by_name['total_fees']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_IDSET']._serialized_start=75 - _globals['_IDSET']._serialized_end=100 - _globals['_BATCHFEES']._serialized_start=102 - _globals['_BATCHFEES']._serialized_end=197 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.injective.peggy.v1B\tPoolProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" + ) + _globals["_BATCHFEES"].fields_by_name["total_fees"]._loaded_options = None + _globals["_BATCHFEES"].fields_by_name[ + "total_fees" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_IDSET"]._serialized_start = 75 + _globals["_IDSET"]._serialized_end = 100 + _globals["_BATCHFEES"]._serialized_start = 102 + _globals["_BATCHFEES"]._serialized_end = 197 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/pool_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/pool_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/peggy/v1/pool_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/pool_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/peggy/v1/query_pb2.py b/pyinjective/proto/injective/peggy/v1/query_pb2.py index 8e78efca..954bcdbf 100644 --- a/pyinjective/proto/injective/peggy/v1/query_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -22,142 +23,188 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/peggy/v1/query.proto\x12\x12injective.peggy.v1\x1a injective/peggy/v1/genesis.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1dinjective/peggy/v1/msgs.proto\x1a\x1dinjective/peggy/v1/pool.proto\x1a\x1einjective/peggy/v1/batch.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto\"\x14\n\x12QueryParamsRequest\"O\n\x13QueryParamsResponse\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1b\n\x19QueryCurrentValsetRequest\"P\n\x1aQueryCurrentValsetResponse\x12\x32\n\x06valset\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x06valset\"1\n\x19QueryValsetRequestRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\"P\n\x1aQueryValsetRequestResponse\x12\x32\n\x06valset\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x06valset\"K\n\x19QueryValsetConfirmRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"\\\n\x1aQueryValsetConfirmResponse\x12>\n\x07\x63onfirm\x18\x01 \x01(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x07\x63onfirm\"9\n!QueryValsetConfirmsByNonceRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\"f\n\"QueryValsetConfirmsByNonceResponse\x12@\n\x08\x63onfirms\x18\x01 \x03(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x08\x63onfirms\" \n\x1eQueryLastValsetRequestsRequest\"W\n\x1fQueryLastValsetRequestsResponse\x12\x34\n\x07valsets\x18\x01 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets\"F\n*QueryLastPendingValsetRequestByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"c\n+QueryLastPendingValsetRequestByAddrResponse\x12\x34\n\x07valsets\x18\x01 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets\"\x16\n\x14QueryBatchFeeRequest\"T\n\x15QueryBatchFeeResponse\x12;\n\tbatchFees\x18\x01 \x03(\x0b\x32\x1d.injective.peggy.v1.BatchFeesR\tbatchFees\"E\n)QueryLastPendingBatchRequestByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"g\n*QueryLastPendingBatchRequestByAddrResponse\x12\x39\n\x05\x62\x61tch\x18\x01 \x01(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x05\x62\x61tch\"\x1f\n\x1dQueryOutgoingTxBatchesRequest\"_\n\x1eQueryOutgoingTxBatchesResponse\x12=\n\x07\x62\x61tches\x18\x01 \x03(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x07\x62\x61tches\"b\n\x1fQueryBatchRequestByNonceRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\"]\n QueryBatchRequestByNonceResponse\x12\x39\n\x05\x62\x61tch\x18\x01 \x01(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x05\x62\x61tch\"\\\n\x19QueryBatchConfirmsRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\"]\n\x1aQueryBatchConfirmsResponse\x12?\n\x08\x63onfirms\x18\x01 \x03(\x0b\x32#.injective.peggy.v1.MsgConfirmBatchR\x08\x63onfirms\"7\n\x1bQueryLastEventByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"l\n\x1cQueryLastEventByAddrResponse\x12L\n\x10last_claim_event\x18\x01 \x01(\x0b\x32\".injective.peggy.v1.LastClaimEventR\x0elastClaimEvent\"0\n\x18QueryERC20ToDenomRequest\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20\"^\n\x19QueryERC20ToDenomResponse\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12+\n\x11\x63osmos_originated\x18\x02 \x01(\x08R\x10\x63osmosOriginated\"0\n\x18QueryDenomToERC20Request\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"^\n\x19QueryDenomToERC20Response\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20\x12+\n\x11\x63osmos_originated\x18\x02 \x01(\x08R\x10\x63osmosOriginated\"R\n#QueryDelegateKeysByValidatorAddress\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\"\x81\x01\n+QueryDelegateKeysByValidatorAddressResponse\x12\x1f\n\x0b\x65th_address\x18\x01 \x01(\tR\nethAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\"@\n\x1dQueryDelegateKeysByEthAddress\x12\x1f\n\x0b\x65th_address\x18\x01 \x01(\tR\nethAddress\"\x87\x01\n%QueryDelegateKeysByEthAddressResponse\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\"[\n&QueryDelegateKeysByOrchestratorAddress\x12\x31\n\x14orchestrator_address\x18\x01 \x01(\tR\x13orchestratorAddress\"~\n.QueryDelegateKeysByOrchestratorAddressResponse\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x1f\n\x0b\x65th_address\x18\x02 \x01(\tR\nethAddress\">\n\x15QueryPendingSendToEth\x12%\n\x0esender_address\x18\x01 \x01(\tR\rsenderAddress\"\xd2\x01\n\x1dQueryPendingSendToEthResponse\x12X\n\x14transfers_in_batches\x18\x01 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12transfersInBatches\x12W\n\x13unbatched_transfers\x18\x02 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12unbatchedTransfers\"\x19\n\x17QueryModuleStateRequest\"R\n\x18QueryModuleStateResponse\x12\x36\n\x05state\x18\x01 \x01(\x0b\x32 .injective.peggy.v1.GenesisStateR\x05state\"\x16\n\x14MissingNoncesRequest\"F\n\x15MissingNoncesResponse\x12-\n\x12operator_addresses\x18\x01 \x03(\tR\x11operatorAddresses2\xc6\x1a\n\x05Query\x12s\n\x06Params\x12&.injective.peggy.v1.QueryParamsRequest\x1a\'.injective.peggy.v1.QueryParamsResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/peggy/v1/params\x12\x90\x01\n\rCurrentValset\x12-.injective.peggy.v1.QueryCurrentValsetRequest\x1a..injective.peggy.v1.QueryCurrentValsetResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/valset/current\x12\x88\x01\n\rValsetRequest\x12-.injective.peggy.v1.QueryValsetRequestRequest\x1a..injective.peggy.v1.QueryValsetRequestResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/peggy/v1/valset\x12\x90\x01\n\rValsetConfirm\x12-.injective.peggy.v1.QueryValsetConfirmRequest\x1a..injective.peggy.v1.QueryValsetConfirmResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/valset/confirm\x12\xaa\x01\n\x15ValsetConfirmsByNonce\x12\x35.injective.peggy.v1.QueryValsetConfirmsByNonceRequest\x1a\x36.injective.peggy.v1.QueryValsetConfirmsByNonceResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/peggy/v1/confirms/{nonce}\x12\xa0\x01\n\x12LastValsetRequests\x12\x32.injective.peggy.v1.QueryLastValsetRequestsRequest\x1a\x33.injective.peggy.v1.QueryLastValsetRequestsResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/peggy/v1/valset/requests\x12\xc0\x01\n\x1eLastPendingValsetRequestByAddr\x12>.injective.peggy.v1.QueryLastPendingValsetRequestByAddrRequest\x1a?.injective.peggy.v1.QueryLastPendingValsetRequestByAddrResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/peggy/v1/valset/last\x12\x9e\x01\n\x0fLastEventByAddr\x12/.injective.peggy.v1.QueryLastEventByAddrRequest\x1a\x30.injective.peggy.v1.QueryLastEventByAddrResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /peggy/v1/oracle/event/{address}\x12\x9a\x01\n\x13GetPendingSendToEth\x12).injective.peggy.v1.QueryPendingSendToEth\x1a\x31.injective.peggy.v1.QueryPendingSendToEthResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/peggy/v1/pending_send_to_eth\x12}\n\tBatchFees\x12(.injective.peggy.v1.QueryBatchFeeRequest\x1a).injective.peggy.v1.QueryBatchFeeResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/peggy/v1/batchfees\x12\x9e\x01\n\x11OutgoingTxBatches\x12\x31.injective.peggy.v1.QueryOutgoingTxBatchesRequest\x1a\x32.injective.peggy.v1.QueryOutgoingTxBatchesResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/peggy/v1/batch/outgoingtx\x12\xbc\x01\n\x1dLastPendingBatchRequestByAddr\x12=.injective.peggy.v1.QueryLastPendingBatchRequestByAddrRequest\x1a>.injective.peggy.v1.QueryLastPendingBatchRequestByAddrResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/peggy/v1/batch/last\x12\x99\x01\n\x13\x42\x61tchRequestByNonce\x12\x33.injective.peggy.v1.QueryBatchRequestByNonceRequest\x1a\x34.injective.peggy.v1.QueryBatchRequestByNonceResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/peggy/v1/batch\x12\x90\x01\n\rBatchConfirms\x12-.injective.peggy.v1.QueryBatchConfirmsRequest\x1a..injective.peggy.v1.QueryBatchConfirmsResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/batch/confirms\x12\x9f\x01\n\x0c\x45RC20ToDenom\x12,.injective.peggy.v1.QueryERC20ToDenomRequest\x1a-.injective.peggy.v1.QueryERC20ToDenomResponse\"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/cosmos_originated/erc20_to_denom\x12\x9f\x01\n\x0c\x44\x65nomToERC20\x12,.injective.peggy.v1.QueryDenomToERC20Request\x1a-.injective.peggy.v1.QueryDenomToERC20Response\"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/cosmos_originated/denom_to_erc20\x12\xc9\x01\n\x19GetDelegateKeyByValidator\x12\x37.injective.peggy.v1.QueryDelegateKeysByValidatorAddress\x1a?.injective.peggy.v1.QueryDelegateKeysByValidatorAddressResponse\"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/query_delegate_keys_by_validator\x12\xb1\x01\n\x13GetDelegateKeyByEth\x12\x31.injective.peggy.v1.QueryDelegateKeysByEthAddress\x1a\x39.injective.peggy.v1.QueryDelegateKeysByEthAddressResponse\",\x82\xd3\xe4\x93\x02&\x12$/peggy/v1/query_delegate_keys_by_eth\x12\xd5\x01\n\x1cGetDelegateKeyByOrchestrator\x12:.injective.peggy.v1.QueryDelegateKeysByOrchestratorAddress\x1a\x42.injective.peggy.v1.QueryDelegateKeysByOrchestratorAddressResponse\"5\x82\xd3\xe4\x93\x02/\x12-/peggy/v1/query_delegate_keys_by_orchestrator\x12\x8d\x01\n\x10PeggyModuleState\x12+.injective.peggy.v1.QueryModuleStateRequest\x1a,.injective.peggy.v1.QueryModuleStateResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/peggy/v1/module_state\x12\x8b\x01\n\x12MissingPeggoNonces\x12(.injective.peggy.v1.MissingNoncesRequest\x1a).injective.peggy.v1.MissingNoncesResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/missing_noncesB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nQueryProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1einjective/peggy/v1/query.proto\x12\x12injective.peggy.v1\x1a injective/peggy/v1/genesis.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1dinjective/peggy/v1/msgs.proto\x1a\x1dinjective/peggy/v1/pool.proto\x1a\x1einjective/peggy/v1/batch.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto"\x14\n\x12QueryParamsRequest"O\n\x13QueryParamsResponse\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\x1b\n\x19QueryCurrentValsetRequest"P\n\x1aQueryCurrentValsetResponse\x12\x32\n\x06valset\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x06valset"1\n\x19QueryValsetRequestRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce"P\n\x1aQueryValsetRequestResponse\x12\x32\n\x06valset\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x06valset"K\n\x19QueryValsetConfirmRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress"\\\n\x1aQueryValsetConfirmResponse\x12>\n\x07\x63onfirm\x18\x01 \x01(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x07\x63onfirm"9\n!QueryValsetConfirmsByNonceRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce"f\n"QueryValsetConfirmsByNonceResponse\x12@\n\x08\x63onfirms\x18\x01 \x03(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x08\x63onfirms" \n\x1eQueryLastValsetRequestsRequest"W\n\x1fQueryLastValsetRequestsResponse\x12\x34\n\x07valsets\x18\x01 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets"F\n*QueryLastPendingValsetRequestByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress"c\n+QueryLastPendingValsetRequestByAddrResponse\x12\x34\n\x07valsets\x18\x01 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets"\x16\n\x14QueryBatchFeeRequest"T\n\x15QueryBatchFeeResponse\x12;\n\tbatchFees\x18\x01 \x03(\x0b\x32\x1d.injective.peggy.v1.BatchFeesR\tbatchFees"E\n)QueryLastPendingBatchRequestByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress"g\n*QueryLastPendingBatchRequestByAddrResponse\x12\x39\n\x05\x62\x61tch\x18\x01 \x01(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x05\x62\x61tch"\x1f\n\x1dQueryOutgoingTxBatchesRequest"_\n\x1eQueryOutgoingTxBatchesResponse\x12=\n\x07\x62\x61tches\x18\x01 \x03(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x07\x62\x61tches"b\n\x1fQueryBatchRequestByNonceRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress"]\n QueryBatchRequestByNonceResponse\x12\x39\n\x05\x62\x61tch\x18\x01 \x01(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x05\x62\x61tch"\\\n\x19QueryBatchConfirmsRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress"]\n\x1aQueryBatchConfirmsResponse\x12?\n\x08\x63onfirms\x18\x01 \x03(\x0b\x32#.injective.peggy.v1.MsgConfirmBatchR\x08\x63onfirms"7\n\x1bQueryLastEventByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress"l\n\x1cQueryLastEventByAddrResponse\x12L\n\x10last_claim_event\x18\x01 \x01(\x0b\x32".injective.peggy.v1.LastClaimEventR\x0elastClaimEvent"0\n\x18QueryERC20ToDenomRequest\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20"^\n\x19QueryERC20ToDenomResponse\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12+\n\x11\x63osmos_originated\x18\x02 \x01(\x08R\x10\x63osmosOriginated"0\n\x18QueryDenomToERC20Request\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom"^\n\x19QueryDenomToERC20Response\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20\x12+\n\x11\x63osmos_originated\x18\x02 \x01(\x08R\x10\x63osmosOriginated"R\n#QueryDelegateKeysByValidatorAddress\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress"\x81\x01\n+QueryDelegateKeysByValidatorAddressResponse\x12\x1f\n\x0b\x65th_address\x18\x01 \x01(\tR\nethAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress"@\n\x1dQueryDelegateKeysByEthAddress\x12\x1f\n\x0b\x65th_address\x18\x01 \x01(\tR\nethAddress"\x87\x01\n%QueryDelegateKeysByEthAddressResponse\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress"[\n&QueryDelegateKeysByOrchestratorAddress\x12\x31\n\x14orchestrator_address\x18\x01 \x01(\tR\x13orchestratorAddress"~\n.QueryDelegateKeysByOrchestratorAddressResponse\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x1f\n\x0b\x65th_address\x18\x02 \x01(\tR\nethAddress">\n\x15QueryPendingSendToEth\x12%\n\x0esender_address\x18\x01 \x01(\tR\rsenderAddress"\xd2\x01\n\x1dQueryPendingSendToEthResponse\x12X\n\x14transfers_in_batches\x18\x01 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12transfersInBatches\x12W\n\x13unbatched_transfers\x18\x02 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12unbatchedTransfers"\x19\n\x17QueryModuleStateRequest"R\n\x18QueryModuleStateResponse\x12\x36\n\x05state\x18\x01 \x01(\x0b\x32 .injective.peggy.v1.GenesisStateR\x05state"\x16\n\x14MissingNoncesRequest"F\n\x15MissingNoncesResponse\x12-\n\x12operator_addresses\x18\x01 \x03(\tR\x11operatorAddresses2\xc6\x1a\n\x05Query\x12s\n\x06Params\x12&.injective.peggy.v1.QueryParamsRequest\x1a\'.injective.peggy.v1.QueryParamsResponse"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/peggy/v1/params\x12\x90\x01\n\rCurrentValset\x12-.injective.peggy.v1.QueryCurrentValsetRequest\x1a..injective.peggy.v1.QueryCurrentValsetResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/valset/current\x12\x88\x01\n\rValsetRequest\x12-.injective.peggy.v1.QueryValsetRequestRequest\x1a..injective.peggy.v1.QueryValsetRequestResponse"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/peggy/v1/valset\x12\x90\x01\n\rValsetConfirm\x12-.injective.peggy.v1.QueryValsetConfirmRequest\x1a..injective.peggy.v1.QueryValsetConfirmResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/valset/confirm\x12\xaa\x01\n\x15ValsetConfirmsByNonce\x12\x35.injective.peggy.v1.QueryValsetConfirmsByNonceRequest\x1a\x36.injective.peggy.v1.QueryValsetConfirmsByNonceResponse""\x82\xd3\xe4\x93\x02\x1c\x12\x1a/peggy/v1/confirms/{nonce}\x12\xa0\x01\n\x12LastValsetRequests\x12\x32.injective.peggy.v1.QueryLastValsetRequestsRequest\x1a\x33.injective.peggy.v1.QueryLastValsetRequestsResponse"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/peggy/v1/valset/requests\x12\xc0\x01\n\x1eLastPendingValsetRequestByAddr\x12>.injective.peggy.v1.QueryLastPendingValsetRequestByAddrRequest\x1a?.injective.peggy.v1.QueryLastPendingValsetRequestByAddrResponse"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/peggy/v1/valset/last\x12\x9e\x01\n\x0fLastEventByAddr\x12/.injective.peggy.v1.QueryLastEventByAddrRequest\x1a\x30.injective.peggy.v1.QueryLastEventByAddrResponse"(\x82\xd3\xe4\x93\x02"\x12 /peggy/v1/oracle/event/{address}\x12\x9a\x01\n\x13GetPendingSendToEth\x12).injective.peggy.v1.QueryPendingSendToEth\x1a\x31.injective.peggy.v1.QueryPendingSendToEthResponse"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/peggy/v1/pending_send_to_eth\x12}\n\tBatchFees\x12(.injective.peggy.v1.QueryBatchFeeRequest\x1a).injective.peggy.v1.QueryBatchFeeResponse"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/peggy/v1/batchfees\x12\x9e\x01\n\x11OutgoingTxBatches\x12\x31.injective.peggy.v1.QueryOutgoingTxBatchesRequest\x1a\x32.injective.peggy.v1.QueryOutgoingTxBatchesResponse""\x82\xd3\xe4\x93\x02\x1c\x12\x1a/peggy/v1/batch/outgoingtx\x12\xbc\x01\n\x1dLastPendingBatchRequestByAddr\x12=.injective.peggy.v1.QueryLastPendingBatchRequestByAddrRequest\x1a>.injective.peggy.v1.QueryLastPendingBatchRequestByAddrResponse"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/peggy/v1/batch/last\x12\x99\x01\n\x13\x42\x61tchRequestByNonce\x12\x33.injective.peggy.v1.QueryBatchRequestByNonceRequest\x1a\x34.injective.peggy.v1.QueryBatchRequestByNonceResponse"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/peggy/v1/batch\x12\x90\x01\n\rBatchConfirms\x12-.injective.peggy.v1.QueryBatchConfirmsRequest\x1a..injective.peggy.v1.QueryBatchConfirmsResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/batch/confirms\x12\x9f\x01\n\x0c\x45RC20ToDenom\x12,.injective.peggy.v1.QueryERC20ToDenomRequest\x1a-.injective.peggy.v1.QueryERC20ToDenomResponse"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/cosmos_originated/erc20_to_denom\x12\x9f\x01\n\x0c\x44\x65nomToERC20\x12,.injective.peggy.v1.QueryDenomToERC20Request\x1a-.injective.peggy.v1.QueryDenomToERC20Response"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/cosmos_originated/denom_to_erc20\x12\xc9\x01\n\x19GetDelegateKeyByValidator\x12\x37.injective.peggy.v1.QueryDelegateKeysByValidatorAddress\x1a?.injective.peggy.v1.QueryDelegateKeysByValidatorAddressResponse"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/query_delegate_keys_by_validator\x12\xb1\x01\n\x13GetDelegateKeyByEth\x12\x31.injective.peggy.v1.QueryDelegateKeysByEthAddress\x1a\x39.injective.peggy.v1.QueryDelegateKeysByEthAddressResponse",\x82\xd3\xe4\x93\x02&\x12$/peggy/v1/query_delegate_keys_by_eth\x12\xd5\x01\n\x1cGetDelegateKeyByOrchestrator\x12:.injective.peggy.v1.QueryDelegateKeysByOrchestratorAddress\x1a\x42.injective.peggy.v1.QueryDelegateKeysByOrchestratorAddressResponse"5\x82\xd3\xe4\x93\x02/\x12-/peggy/v1/query_delegate_keys_by_orchestrator\x12\x8d\x01\n\x10PeggyModuleState\x12+.injective.peggy.v1.QueryModuleStateRequest\x1a,.injective.peggy.v1.QueryModuleStateResponse"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/peggy/v1/module_state\x12\x8b\x01\n\x12MissingPeggoNonces\x12(.injective.peggy.v1.MissingNoncesRequest\x1a).injective.peggy.v1.MissingNoncesResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/missing_noncesB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nQueryProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\nQueryProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\022\022\020/peggy/v1/params' - _globals['_QUERY'].methods_by_name['CurrentValset']._loaded_options = None - _globals['_QUERY'].methods_by_name['CurrentValset']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/valset/current' - _globals['_QUERY'].methods_by_name['ValsetRequest']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValsetRequest']._serialized_options = b'\202\323\344\223\002\022\022\020/peggy/v1/valset' - _globals['_QUERY'].methods_by_name['ValsetConfirm']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValsetConfirm']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/valset/confirm' - _globals['_QUERY'].methods_by_name['ValsetConfirmsByNonce']._loaded_options = None - _globals['_QUERY'].methods_by_name['ValsetConfirmsByNonce']._serialized_options = b'\202\323\344\223\002\034\022\032/peggy/v1/confirms/{nonce}' - _globals['_QUERY'].methods_by_name['LastValsetRequests']._loaded_options = None - _globals['_QUERY'].methods_by_name['LastValsetRequests']._serialized_options = b'\202\323\344\223\002\033\022\031/peggy/v1/valset/requests' - _globals['_QUERY'].methods_by_name['LastPendingValsetRequestByAddr']._loaded_options = None - _globals['_QUERY'].methods_by_name['LastPendingValsetRequestByAddr']._serialized_options = b'\202\323\344\223\002\027\022\025/peggy/v1/valset/last' - _globals['_QUERY'].methods_by_name['LastEventByAddr']._loaded_options = None - _globals['_QUERY'].methods_by_name['LastEventByAddr']._serialized_options = b'\202\323\344\223\002\"\022 /peggy/v1/oracle/event/{address}' - _globals['_QUERY'].methods_by_name['GetPendingSendToEth']._loaded_options = None - _globals['_QUERY'].methods_by_name['GetPendingSendToEth']._serialized_options = b'\202\323\344\223\002\037\022\035/peggy/v1/pending_send_to_eth' - _globals['_QUERY'].methods_by_name['BatchFees']._loaded_options = None - _globals['_QUERY'].methods_by_name['BatchFees']._serialized_options = b'\202\323\344\223\002\025\022\023/peggy/v1/batchfees' - _globals['_QUERY'].methods_by_name['OutgoingTxBatches']._loaded_options = None - _globals['_QUERY'].methods_by_name['OutgoingTxBatches']._serialized_options = b'\202\323\344\223\002\034\022\032/peggy/v1/batch/outgoingtx' - _globals['_QUERY'].methods_by_name['LastPendingBatchRequestByAddr']._loaded_options = None - _globals['_QUERY'].methods_by_name['LastPendingBatchRequestByAddr']._serialized_options = b'\202\323\344\223\002\026\022\024/peggy/v1/batch/last' - _globals['_QUERY'].methods_by_name['BatchRequestByNonce']._loaded_options = None - _globals['_QUERY'].methods_by_name['BatchRequestByNonce']._serialized_options = b'\202\323\344\223\002\021\022\017/peggy/v1/batch' - _globals['_QUERY'].methods_by_name['BatchConfirms']._loaded_options = None - _globals['_QUERY'].methods_by_name['BatchConfirms']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/batch/confirms' - _globals['_QUERY'].methods_by_name['ERC20ToDenom']._loaded_options = None - _globals['_QUERY'].methods_by_name['ERC20ToDenom']._serialized_options = b'\202\323\344\223\002,\022*/peggy/v1/cosmos_originated/erc20_to_denom' - _globals['_QUERY'].methods_by_name['DenomToERC20']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomToERC20']._serialized_options = b'\202\323\344\223\002,\022*/peggy/v1/cosmos_originated/denom_to_erc20' - _globals['_QUERY'].methods_by_name['GetDelegateKeyByValidator']._loaded_options = None - _globals['_QUERY'].methods_by_name['GetDelegateKeyByValidator']._serialized_options = b'\202\323\344\223\002,\022*/peggy/v1/query_delegate_keys_by_validator' - _globals['_QUERY'].methods_by_name['GetDelegateKeyByEth']._loaded_options = None - _globals['_QUERY'].methods_by_name['GetDelegateKeyByEth']._serialized_options = b'\202\323\344\223\002&\022$/peggy/v1/query_delegate_keys_by_eth' - _globals['_QUERY'].methods_by_name['GetDelegateKeyByOrchestrator']._loaded_options = None - _globals['_QUERY'].methods_by_name['GetDelegateKeyByOrchestrator']._serialized_options = b'\202\323\344\223\002/\022-/peggy/v1/query_delegate_keys_by_orchestrator' - _globals['_QUERY'].methods_by_name['PeggyModuleState']._loaded_options = None - _globals['_QUERY'].methods_by_name['PeggyModuleState']._serialized_options = b'\202\323\344\223\002\030\022\026/peggy/v1/module_state' - _globals['_QUERY'].methods_by_name['MissingPeggoNonces']._loaded_options = None - _globals['_QUERY'].methods_by_name['MissingPeggoNonces']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/missing_nonces' - _globals['_QUERYPARAMSREQUEST']._serialized_start=299 - _globals['_QUERYPARAMSREQUEST']._serialized_end=319 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=321 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=400 - _globals['_QUERYCURRENTVALSETREQUEST']._serialized_start=402 - _globals['_QUERYCURRENTVALSETREQUEST']._serialized_end=429 - _globals['_QUERYCURRENTVALSETRESPONSE']._serialized_start=431 - _globals['_QUERYCURRENTVALSETRESPONSE']._serialized_end=511 - _globals['_QUERYVALSETREQUESTREQUEST']._serialized_start=513 - _globals['_QUERYVALSETREQUESTREQUEST']._serialized_end=562 - _globals['_QUERYVALSETREQUESTRESPONSE']._serialized_start=564 - _globals['_QUERYVALSETREQUESTRESPONSE']._serialized_end=644 - _globals['_QUERYVALSETCONFIRMREQUEST']._serialized_start=646 - _globals['_QUERYVALSETCONFIRMREQUEST']._serialized_end=721 - _globals['_QUERYVALSETCONFIRMRESPONSE']._serialized_start=723 - _globals['_QUERYVALSETCONFIRMRESPONSE']._serialized_end=815 - _globals['_QUERYVALSETCONFIRMSBYNONCEREQUEST']._serialized_start=817 - _globals['_QUERYVALSETCONFIRMSBYNONCEREQUEST']._serialized_end=874 - _globals['_QUERYVALSETCONFIRMSBYNONCERESPONSE']._serialized_start=876 - _globals['_QUERYVALSETCONFIRMSBYNONCERESPONSE']._serialized_end=978 - _globals['_QUERYLASTVALSETREQUESTSREQUEST']._serialized_start=980 - _globals['_QUERYLASTVALSETREQUESTSREQUEST']._serialized_end=1012 - _globals['_QUERYLASTVALSETREQUESTSRESPONSE']._serialized_start=1014 - _globals['_QUERYLASTVALSETREQUESTSRESPONSE']._serialized_end=1101 - _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRREQUEST']._serialized_start=1103 - _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRREQUEST']._serialized_end=1173 - _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRRESPONSE']._serialized_start=1175 - _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRRESPONSE']._serialized_end=1274 - _globals['_QUERYBATCHFEEREQUEST']._serialized_start=1276 - _globals['_QUERYBATCHFEEREQUEST']._serialized_end=1298 - _globals['_QUERYBATCHFEERESPONSE']._serialized_start=1300 - _globals['_QUERYBATCHFEERESPONSE']._serialized_end=1384 - _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRREQUEST']._serialized_start=1386 - _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRREQUEST']._serialized_end=1455 - _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRRESPONSE']._serialized_start=1457 - _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRRESPONSE']._serialized_end=1560 - _globals['_QUERYOUTGOINGTXBATCHESREQUEST']._serialized_start=1562 - _globals['_QUERYOUTGOINGTXBATCHESREQUEST']._serialized_end=1593 - _globals['_QUERYOUTGOINGTXBATCHESRESPONSE']._serialized_start=1595 - _globals['_QUERYOUTGOINGTXBATCHESRESPONSE']._serialized_end=1690 - _globals['_QUERYBATCHREQUESTBYNONCEREQUEST']._serialized_start=1692 - _globals['_QUERYBATCHREQUESTBYNONCEREQUEST']._serialized_end=1790 - _globals['_QUERYBATCHREQUESTBYNONCERESPONSE']._serialized_start=1792 - _globals['_QUERYBATCHREQUESTBYNONCERESPONSE']._serialized_end=1885 - _globals['_QUERYBATCHCONFIRMSREQUEST']._serialized_start=1887 - _globals['_QUERYBATCHCONFIRMSREQUEST']._serialized_end=1979 - _globals['_QUERYBATCHCONFIRMSRESPONSE']._serialized_start=1981 - _globals['_QUERYBATCHCONFIRMSRESPONSE']._serialized_end=2074 - _globals['_QUERYLASTEVENTBYADDRREQUEST']._serialized_start=2076 - _globals['_QUERYLASTEVENTBYADDRREQUEST']._serialized_end=2131 - _globals['_QUERYLASTEVENTBYADDRRESPONSE']._serialized_start=2133 - _globals['_QUERYLASTEVENTBYADDRRESPONSE']._serialized_end=2241 - _globals['_QUERYERC20TODENOMREQUEST']._serialized_start=2243 - _globals['_QUERYERC20TODENOMREQUEST']._serialized_end=2291 - _globals['_QUERYERC20TODENOMRESPONSE']._serialized_start=2293 - _globals['_QUERYERC20TODENOMRESPONSE']._serialized_end=2387 - _globals['_QUERYDENOMTOERC20REQUEST']._serialized_start=2389 - _globals['_QUERYDENOMTOERC20REQUEST']._serialized_end=2437 - _globals['_QUERYDENOMTOERC20RESPONSE']._serialized_start=2439 - _globals['_QUERYDENOMTOERC20RESPONSE']._serialized_end=2533 - _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESS']._serialized_start=2535 - _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESS']._serialized_end=2617 - _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESSRESPONSE']._serialized_start=2620 - _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESSRESPONSE']._serialized_end=2749 - _globals['_QUERYDELEGATEKEYSBYETHADDRESS']._serialized_start=2751 - _globals['_QUERYDELEGATEKEYSBYETHADDRESS']._serialized_end=2815 - _globals['_QUERYDELEGATEKEYSBYETHADDRESSRESPONSE']._serialized_start=2818 - _globals['_QUERYDELEGATEKEYSBYETHADDRESSRESPONSE']._serialized_end=2953 - _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESS']._serialized_start=2955 - _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESS']._serialized_end=3046 - _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESSRESPONSE']._serialized_start=3048 - _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESSRESPONSE']._serialized_end=3174 - _globals['_QUERYPENDINGSENDTOETH']._serialized_start=3176 - _globals['_QUERYPENDINGSENDTOETH']._serialized_end=3238 - _globals['_QUERYPENDINGSENDTOETHRESPONSE']._serialized_start=3241 - _globals['_QUERYPENDINGSENDTOETHRESPONSE']._serialized_end=3451 - _globals['_QUERYMODULESTATEREQUEST']._serialized_start=3453 - _globals['_QUERYMODULESTATEREQUEST']._serialized_end=3478 - _globals['_QUERYMODULESTATERESPONSE']._serialized_start=3480 - _globals['_QUERYMODULESTATERESPONSE']._serialized_end=3562 - _globals['_MISSINGNONCESREQUEST']._serialized_start=3564 - _globals['_MISSINGNONCESREQUEST']._serialized_end=3586 - _globals['_MISSINGNONCESRESPONSE']._serialized_start=3588 - _globals['_MISSINGNONCESRESPONSE']._serialized_end=3658 - _globals['_QUERY']._serialized_start=3661 - _globals['_QUERY']._serialized_end=7059 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.injective.peggy.v1B\nQueryProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" + ) + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\202\323\344\223\002\022\022\020/peggy/v1/params" + _globals["_QUERY"].methods_by_name["CurrentValset"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "CurrentValset" + ]._serialized_options = b"\202\323\344\223\002\032\022\030/peggy/v1/valset/current" + _globals["_QUERY"].methods_by_name["ValsetRequest"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ValsetRequest" + ]._serialized_options = b"\202\323\344\223\002\022\022\020/peggy/v1/valset" + _globals["_QUERY"].methods_by_name["ValsetConfirm"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ValsetConfirm" + ]._serialized_options = b"\202\323\344\223\002\032\022\030/peggy/v1/valset/confirm" + _globals["_QUERY"].methods_by_name["ValsetConfirmsByNonce"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ValsetConfirmsByNonce" + ]._serialized_options = b"\202\323\344\223\002\034\022\032/peggy/v1/confirms/{nonce}" + _globals["_QUERY"].methods_by_name["LastValsetRequests"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "LastValsetRequests" + ]._serialized_options = b"\202\323\344\223\002\033\022\031/peggy/v1/valset/requests" + _globals["_QUERY"].methods_by_name["LastPendingValsetRequestByAddr"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "LastPendingValsetRequestByAddr" + ]._serialized_options = b"\202\323\344\223\002\027\022\025/peggy/v1/valset/last" + _globals["_QUERY"].methods_by_name["LastEventByAddr"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "LastEventByAddr" + ]._serialized_options = b'\202\323\344\223\002"\022 /peggy/v1/oracle/event/{address}' + _globals["_QUERY"].methods_by_name["GetPendingSendToEth"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "GetPendingSendToEth" + ]._serialized_options = b"\202\323\344\223\002\037\022\035/peggy/v1/pending_send_to_eth" + _globals["_QUERY"].methods_by_name["BatchFees"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "BatchFees" + ]._serialized_options = b"\202\323\344\223\002\025\022\023/peggy/v1/batchfees" + _globals["_QUERY"].methods_by_name["OutgoingTxBatches"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "OutgoingTxBatches" + ]._serialized_options = b"\202\323\344\223\002\034\022\032/peggy/v1/batch/outgoingtx" + _globals["_QUERY"].methods_by_name["LastPendingBatchRequestByAddr"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "LastPendingBatchRequestByAddr" + ]._serialized_options = b"\202\323\344\223\002\026\022\024/peggy/v1/batch/last" + _globals["_QUERY"].methods_by_name["BatchRequestByNonce"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "BatchRequestByNonce" + ]._serialized_options = b"\202\323\344\223\002\021\022\017/peggy/v1/batch" + _globals["_QUERY"].methods_by_name["BatchConfirms"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "BatchConfirms" + ]._serialized_options = b"\202\323\344\223\002\032\022\030/peggy/v1/batch/confirms" + _globals["_QUERY"].methods_by_name["ERC20ToDenom"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ERC20ToDenom" + ]._serialized_options = b"\202\323\344\223\002,\022*/peggy/v1/cosmos_originated/erc20_to_denom" + _globals["_QUERY"].methods_by_name["DenomToERC20"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DenomToERC20" + ]._serialized_options = b"\202\323\344\223\002,\022*/peggy/v1/cosmos_originated/denom_to_erc20" + _globals["_QUERY"].methods_by_name["GetDelegateKeyByValidator"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "GetDelegateKeyByValidator" + ]._serialized_options = b"\202\323\344\223\002,\022*/peggy/v1/query_delegate_keys_by_validator" + _globals["_QUERY"].methods_by_name["GetDelegateKeyByEth"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "GetDelegateKeyByEth" + ]._serialized_options = b"\202\323\344\223\002&\022$/peggy/v1/query_delegate_keys_by_eth" + _globals["_QUERY"].methods_by_name["GetDelegateKeyByOrchestrator"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "GetDelegateKeyByOrchestrator" + ]._serialized_options = b"\202\323\344\223\002/\022-/peggy/v1/query_delegate_keys_by_orchestrator" + _globals["_QUERY"].methods_by_name["PeggyModuleState"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "PeggyModuleState" + ]._serialized_options = b"\202\323\344\223\002\030\022\026/peggy/v1/module_state" + _globals["_QUERY"].methods_by_name["MissingPeggoNonces"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "MissingPeggoNonces" + ]._serialized_options = b"\202\323\344\223\002\032\022\030/peggy/v1/missing_nonces" + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 299 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 319 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 321 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 400 + _globals["_QUERYCURRENTVALSETREQUEST"]._serialized_start = 402 + _globals["_QUERYCURRENTVALSETREQUEST"]._serialized_end = 429 + _globals["_QUERYCURRENTVALSETRESPONSE"]._serialized_start = 431 + _globals["_QUERYCURRENTVALSETRESPONSE"]._serialized_end = 511 + _globals["_QUERYVALSETREQUESTREQUEST"]._serialized_start = 513 + _globals["_QUERYVALSETREQUESTREQUEST"]._serialized_end = 562 + _globals["_QUERYVALSETREQUESTRESPONSE"]._serialized_start = 564 + _globals["_QUERYVALSETREQUESTRESPONSE"]._serialized_end = 644 + _globals["_QUERYVALSETCONFIRMREQUEST"]._serialized_start = 646 + _globals["_QUERYVALSETCONFIRMREQUEST"]._serialized_end = 721 + _globals["_QUERYVALSETCONFIRMRESPONSE"]._serialized_start = 723 + _globals["_QUERYVALSETCONFIRMRESPONSE"]._serialized_end = 815 + _globals["_QUERYVALSETCONFIRMSBYNONCEREQUEST"]._serialized_start = 817 + _globals["_QUERYVALSETCONFIRMSBYNONCEREQUEST"]._serialized_end = 874 + _globals["_QUERYVALSETCONFIRMSBYNONCERESPONSE"]._serialized_start = 876 + _globals["_QUERYVALSETCONFIRMSBYNONCERESPONSE"]._serialized_end = 978 + _globals["_QUERYLASTVALSETREQUESTSREQUEST"]._serialized_start = 980 + _globals["_QUERYLASTVALSETREQUESTSREQUEST"]._serialized_end = 1012 + _globals["_QUERYLASTVALSETREQUESTSRESPONSE"]._serialized_start = 1014 + _globals["_QUERYLASTVALSETREQUESTSRESPONSE"]._serialized_end = 1101 + _globals["_QUERYLASTPENDINGVALSETREQUESTBYADDRREQUEST"]._serialized_start = 1103 + _globals["_QUERYLASTPENDINGVALSETREQUESTBYADDRREQUEST"]._serialized_end = 1173 + _globals["_QUERYLASTPENDINGVALSETREQUESTBYADDRRESPONSE"]._serialized_start = 1175 + _globals["_QUERYLASTPENDINGVALSETREQUESTBYADDRRESPONSE"]._serialized_end = 1274 + _globals["_QUERYBATCHFEEREQUEST"]._serialized_start = 1276 + _globals["_QUERYBATCHFEEREQUEST"]._serialized_end = 1298 + _globals["_QUERYBATCHFEERESPONSE"]._serialized_start = 1300 + _globals["_QUERYBATCHFEERESPONSE"]._serialized_end = 1384 + _globals["_QUERYLASTPENDINGBATCHREQUESTBYADDRREQUEST"]._serialized_start = 1386 + _globals["_QUERYLASTPENDINGBATCHREQUESTBYADDRREQUEST"]._serialized_end = 1455 + _globals["_QUERYLASTPENDINGBATCHREQUESTBYADDRRESPONSE"]._serialized_start = 1457 + _globals["_QUERYLASTPENDINGBATCHREQUESTBYADDRRESPONSE"]._serialized_end = 1560 + _globals["_QUERYOUTGOINGTXBATCHESREQUEST"]._serialized_start = 1562 + _globals["_QUERYOUTGOINGTXBATCHESREQUEST"]._serialized_end = 1593 + _globals["_QUERYOUTGOINGTXBATCHESRESPONSE"]._serialized_start = 1595 + _globals["_QUERYOUTGOINGTXBATCHESRESPONSE"]._serialized_end = 1690 + _globals["_QUERYBATCHREQUESTBYNONCEREQUEST"]._serialized_start = 1692 + _globals["_QUERYBATCHREQUESTBYNONCEREQUEST"]._serialized_end = 1790 + _globals["_QUERYBATCHREQUESTBYNONCERESPONSE"]._serialized_start = 1792 + _globals["_QUERYBATCHREQUESTBYNONCERESPONSE"]._serialized_end = 1885 + _globals["_QUERYBATCHCONFIRMSREQUEST"]._serialized_start = 1887 + _globals["_QUERYBATCHCONFIRMSREQUEST"]._serialized_end = 1979 + _globals["_QUERYBATCHCONFIRMSRESPONSE"]._serialized_start = 1981 + _globals["_QUERYBATCHCONFIRMSRESPONSE"]._serialized_end = 2074 + _globals["_QUERYLASTEVENTBYADDRREQUEST"]._serialized_start = 2076 + _globals["_QUERYLASTEVENTBYADDRREQUEST"]._serialized_end = 2131 + _globals["_QUERYLASTEVENTBYADDRRESPONSE"]._serialized_start = 2133 + _globals["_QUERYLASTEVENTBYADDRRESPONSE"]._serialized_end = 2241 + _globals["_QUERYERC20TODENOMREQUEST"]._serialized_start = 2243 + _globals["_QUERYERC20TODENOMREQUEST"]._serialized_end = 2291 + _globals["_QUERYERC20TODENOMRESPONSE"]._serialized_start = 2293 + _globals["_QUERYERC20TODENOMRESPONSE"]._serialized_end = 2387 + _globals["_QUERYDENOMTOERC20REQUEST"]._serialized_start = 2389 + _globals["_QUERYDENOMTOERC20REQUEST"]._serialized_end = 2437 + _globals["_QUERYDENOMTOERC20RESPONSE"]._serialized_start = 2439 + _globals["_QUERYDENOMTOERC20RESPONSE"]._serialized_end = 2533 + _globals["_QUERYDELEGATEKEYSBYVALIDATORADDRESS"]._serialized_start = 2535 + _globals["_QUERYDELEGATEKEYSBYVALIDATORADDRESS"]._serialized_end = 2617 + _globals["_QUERYDELEGATEKEYSBYVALIDATORADDRESSRESPONSE"]._serialized_start = 2620 + _globals["_QUERYDELEGATEKEYSBYVALIDATORADDRESSRESPONSE"]._serialized_end = 2749 + _globals["_QUERYDELEGATEKEYSBYETHADDRESS"]._serialized_start = 2751 + _globals["_QUERYDELEGATEKEYSBYETHADDRESS"]._serialized_end = 2815 + _globals["_QUERYDELEGATEKEYSBYETHADDRESSRESPONSE"]._serialized_start = 2818 + _globals["_QUERYDELEGATEKEYSBYETHADDRESSRESPONSE"]._serialized_end = 2953 + _globals["_QUERYDELEGATEKEYSBYORCHESTRATORADDRESS"]._serialized_start = 2955 + _globals["_QUERYDELEGATEKEYSBYORCHESTRATORADDRESS"]._serialized_end = 3046 + _globals["_QUERYDELEGATEKEYSBYORCHESTRATORADDRESSRESPONSE"]._serialized_start = 3048 + _globals["_QUERYDELEGATEKEYSBYORCHESTRATORADDRESSRESPONSE"]._serialized_end = 3174 + _globals["_QUERYPENDINGSENDTOETH"]._serialized_start = 3176 + _globals["_QUERYPENDINGSENDTOETH"]._serialized_end = 3238 + _globals["_QUERYPENDINGSENDTOETHRESPONSE"]._serialized_start = 3241 + _globals["_QUERYPENDINGSENDTOETHRESPONSE"]._serialized_end = 3451 + _globals["_QUERYMODULESTATEREQUEST"]._serialized_start = 3453 + _globals["_QUERYMODULESTATEREQUEST"]._serialized_end = 3478 + _globals["_QUERYMODULESTATERESPONSE"]._serialized_start = 3480 + _globals["_QUERYMODULESTATERESPONSE"]._serialized_end = 3562 + _globals["_MISSINGNONCESREQUEST"]._serialized_start = 3564 + _globals["_MISSINGNONCESREQUEST"]._serialized_end = 3586 + _globals["_MISSINGNONCESRESPONSE"]._serialized_start = 3588 + _globals["_MISSINGNONCESRESPONSE"]._serialized_end = 3658 + _globals["_QUERY"]._serialized_start = 3661 + _globals["_QUERY"]._serialized_end = 7059 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/query_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/query_pb2_grpc.py index 2d54c874..b8fc462b 100644 --- a/pyinjective/proto/injective/peggy/v1/query_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the gRPC querier service - """ + """Query defines the gRPC querier service""" def __init__(self, channel): """Constructor. @@ -16,382 +15,397 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - '/injective.peggy.v1.Query/Params', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/Params", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) self.CurrentValset = channel.unary_unary( - '/injective.peggy.v1.Query/CurrentValset', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/CurrentValset", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetResponse.FromString, + _registered_method=True, + ) self.ValsetRequest = channel.unary_unary( - '/injective.peggy.v1.Query/ValsetRequest', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/ValsetRequest", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestResponse.FromString, + _registered_method=True, + ) self.ValsetConfirm = channel.unary_unary( - '/injective.peggy.v1.Query/ValsetConfirm', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/ValsetConfirm", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmResponse.FromString, + _registered_method=True, + ) self.ValsetConfirmsByNonce = channel.unary_unary( - '/injective.peggy.v1.Query/ValsetConfirmsByNonce', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/ValsetConfirmsByNonce", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceResponse.FromString, + _registered_method=True, + ) self.LastValsetRequests = channel.unary_unary( - '/injective.peggy.v1.Query/LastValsetRequests', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/LastValsetRequests", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsResponse.FromString, + _registered_method=True, + ) self.LastPendingValsetRequestByAddr = channel.unary_unary( - '/injective.peggy.v1.Query/LastPendingValsetRequestByAddr', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/LastPendingValsetRequestByAddr", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrResponse.FromString, + _registered_method=True, + ) self.LastEventByAddr = channel.unary_unary( - '/injective.peggy.v1.Query/LastEventByAddr', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/LastEventByAddr", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrResponse.FromString, + _registered_method=True, + ) self.GetPendingSendToEth = channel.unary_unary( - '/injective.peggy.v1.Query/GetPendingSendToEth', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEth.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEthResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/GetPendingSendToEth", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEth.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEthResponse.FromString, + _registered_method=True, + ) self.BatchFees = channel.unary_unary( - '/injective.peggy.v1.Query/BatchFees', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/BatchFees", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeResponse.FromString, + _registered_method=True, + ) self.OutgoingTxBatches = channel.unary_unary( - '/injective.peggy.v1.Query/OutgoingTxBatches', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/OutgoingTxBatches", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesResponse.FromString, + _registered_method=True, + ) self.LastPendingBatchRequestByAddr = channel.unary_unary( - '/injective.peggy.v1.Query/LastPendingBatchRequestByAddr', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/LastPendingBatchRequestByAddr", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrResponse.FromString, + _registered_method=True, + ) self.BatchRequestByNonce = channel.unary_unary( - '/injective.peggy.v1.Query/BatchRequestByNonce', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/BatchRequestByNonce", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceResponse.FromString, + _registered_method=True, + ) self.BatchConfirms = channel.unary_unary( - '/injective.peggy.v1.Query/BatchConfirms', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/BatchConfirms", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsResponse.FromString, + _registered_method=True, + ) self.ERC20ToDenom = channel.unary_unary( - '/injective.peggy.v1.Query/ERC20ToDenom', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/ERC20ToDenom", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomResponse.FromString, + _registered_method=True, + ) self.DenomToERC20 = channel.unary_unary( - '/injective.peggy.v1.Query/DenomToERC20', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Request.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Response.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/DenomToERC20", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Request.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Response.FromString, + _registered_method=True, + ) self.GetDelegateKeyByValidator = channel.unary_unary( - '/injective.peggy.v1.Query/GetDelegateKeyByValidator', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddress.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddressResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/GetDelegateKeyByValidator", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddress.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddressResponse.FromString, + _registered_method=True, + ) self.GetDelegateKeyByEth = channel.unary_unary( - '/injective.peggy.v1.Query/GetDelegateKeyByEth', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddress.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddressResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/GetDelegateKeyByEth", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddress.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddressResponse.FromString, + _registered_method=True, + ) self.GetDelegateKeyByOrchestrator = channel.unary_unary( - '/injective.peggy.v1.Query/GetDelegateKeyByOrchestrator', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddress.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddressResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/GetDelegateKeyByOrchestrator", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddress.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddressResponse.FromString, + _registered_method=True, + ) self.PeggyModuleState = channel.unary_unary( - '/injective.peggy.v1.Query/PeggyModuleState', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/PeggyModuleState", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, + _registered_method=True, + ) self.MissingPeggoNonces = channel.unary_unary( - '/injective.peggy.v1.Query/MissingPeggoNonces', - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesResponse.FromString, - _registered_method=True) + "/injective.peggy.v1.Query/MissingPeggoNonces", + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service - """ + """Query defines the gRPC querier service""" def Params(self, request, context): - """Deployments queries deployments - """ + """Deployments queries deployments""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CurrentValset(self, request, context): - """valset - """ + """valset""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ValsetRequest(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ValsetConfirm(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ValsetConfirmsByNonce(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def LastValsetRequests(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def LastPendingValsetRequestByAddr(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def LastEventByAddr(self, request, context): - """claim - """ + """claim""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetPendingSendToEth(self, request, context): - """batch - """ + """batch""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def BatchFees(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def OutgoingTxBatches(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def LastPendingBatchRequestByAddr(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def BatchRequestByNonce(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def BatchConfirms(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ERC20ToDenom(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DenomToERC20(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetDelegateKeyByValidator(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetDelegateKeyByEth(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def GetDelegateKeyByOrchestrator(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PeggyModuleState(self, request, context): - """Retrieves the entire peggy module's state - """ + """Retrieves the entire peggy module's state""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def MissingPeggoNonces(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'CurrentValset': grpc.unary_unary_rpc_method_handler( - servicer.CurrentValset, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetResponse.SerializeToString, - ), - 'ValsetRequest': grpc.unary_unary_rpc_method_handler( - servicer.ValsetRequest, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestResponse.SerializeToString, - ), - 'ValsetConfirm': grpc.unary_unary_rpc_method_handler( - servicer.ValsetConfirm, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmResponse.SerializeToString, - ), - 'ValsetConfirmsByNonce': grpc.unary_unary_rpc_method_handler( - servicer.ValsetConfirmsByNonce, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceResponse.SerializeToString, - ), - 'LastValsetRequests': grpc.unary_unary_rpc_method_handler( - servicer.LastValsetRequests, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsResponse.SerializeToString, - ), - 'LastPendingValsetRequestByAddr': grpc.unary_unary_rpc_method_handler( - servicer.LastPendingValsetRequestByAddr, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrResponse.SerializeToString, - ), - 'LastEventByAddr': grpc.unary_unary_rpc_method_handler( - servicer.LastEventByAddr, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrResponse.SerializeToString, - ), - 'GetPendingSendToEth': grpc.unary_unary_rpc_method_handler( - servicer.GetPendingSendToEth, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEth.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEthResponse.SerializeToString, - ), - 'BatchFees': grpc.unary_unary_rpc_method_handler( - servicer.BatchFees, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeResponse.SerializeToString, - ), - 'OutgoingTxBatches': grpc.unary_unary_rpc_method_handler( - servicer.OutgoingTxBatches, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesResponse.SerializeToString, - ), - 'LastPendingBatchRequestByAddr': grpc.unary_unary_rpc_method_handler( - servicer.LastPendingBatchRequestByAddr, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrResponse.SerializeToString, - ), - 'BatchRequestByNonce': grpc.unary_unary_rpc_method_handler( - servicer.BatchRequestByNonce, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceResponse.SerializeToString, - ), - 'BatchConfirms': grpc.unary_unary_rpc_method_handler( - servicer.BatchConfirms, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsResponse.SerializeToString, - ), - 'ERC20ToDenom': grpc.unary_unary_rpc_method_handler( - servicer.ERC20ToDenom, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomResponse.SerializeToString, - ), - 'DenomToERC20': grpc.unary_unary_rpc_method_handler( - servicer.DenomToERC20, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Request.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Response.SerializeToString, - ), - 'GetDelegateKeyByValidator': grpc.unary_unary_rpc_method_handler( - servicer.GetDelegateKeyByValidator, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddress.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddressResponse.SerializeToString, - ), - 'GetDelegateKeyByEth': grpc.unary_unary_rpc_method_handler( - servicer.GetDelegateKeyByEth, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddress.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddressResponse.SerializeToString, - ), - 'GetDelegateKeyByOrchestrator': grpc.unary_unary_rpc_method_handler( - servicer.GetDelegateKeyByOrchestrator, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddress.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddressResponse.SerializeToString, - ), - 'PeggyModuleState': grpc.unary_unary_rpc_method_handler( - servicer.PeggyModuleState, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, - ), - 'MissingPeggoNonces': grpc.unary_unary_rpc_method_handler( - servicer.MissingPeggoNonces, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesResponse.SerializeToString, - ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + "CurrentValset": grpc.unary_unary_rpc_method_handler( + servicer.CurrentValset, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetResponse.SerializeToString, + ), + "ValsetRequest": grpc.unary_unary_rpc_method_handler( + servicer.ValsetRequest, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestResponse.SerializeToString, + ), + "ValsetConfirm": grpc.unary_unary_rpc_method_handler( + servicer.ValsetConfirm, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmResponse.SerializeToString, + ), + "ValsetConfirmsByNonce": grpc.unary_unary_rpc_method_handler( + servicer.ValsetConfirmsByNonce, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceResponse.SerializeToString, + ), + "LastValsetRequests": grpc.unary_unary_rpc_method_handler( + servicer.LastValsetRequests, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsResponse.SerializeToString, + ), + "LastPendingValsetRequestByAddr": grpc.unary_unary_rpc_method_handler( + servicer.LastPendingValsetRequestByAddr, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrResponse.SerializeToString, + ), + "LastEventByAddr": grpc.unary_unary_rpc_method_handler( + servicer.LastEventByAddr, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrResponse.SerializeToString, + ), + "GetPendingSendToEth": grpc.unary_unary_rpc_method_handler( + servicer.GetPendingSendToEth, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEth.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEthResponse.SerializeToString, + ), + "BatchFees": grpc.unary_unary_rpc_method_handler( + servicer.BatchFees, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeResponse.SerializeToString, + ), + "OutgoingTxBatches": grpc.unary_unary_rpc_method_handler( + servicer.OutgoingTxBatches, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesResponse.SerializeToString, + ), + "LastPendingBatchRequestByAddr": grpc.unary_unary_rpc_method_handler( + servicer.LastPendingBatchRequestByAddr, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrResponse.SerializeToString, + ), + "BatchRequestByNonce": grpc.unary_unary_rpc_method_handler( + servicer.BatchRequestByNonce, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceResponse.SerializeToString, + ), + "BatchConfirms": grpc.unary_unary_rpc_method_handler( + servicer.BatchConfirms, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsResponse.SerializeToString, + ), + "ERC20ToDenom": grpc.unary_unary_rpc_method_handler( + servicer.ERC20ToDenom, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomResponse.SerializeToString, + ), + "DenomToERC20": grpc.unary_unary_rpc_method_handler( + servicer.DenomToERC20, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Request.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Response.SerializeToString, + ), + "GetDelegateKeyByValidator": grpc.unary_unary_rpc_method_handler( + servicer.GetDelegateKeyByValidator, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddress.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddressResponse.SerializeToString, + ), + "GetDelegateKeyByEth": grpc.unary_unary_rpc_method_handler( + servicer.GetDelegateKeyByEth, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddress.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddressResponse.SerializeToString, + ), + "GetDelegateKeyByOrchestrator": grpc.unary_unary_rpc_method_handler( + servicer.GetDelegateKeyByOrchestrator, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddress.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddressResponse.SerializeToString, + ), + "PeggyModuleState": grpc.unary_unary_rpc_method_handler( + servicer.PeggyModuleState, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), + "MissingPeggoNonces": grpc.unary_unary_rpc_method_handler( + servicer.MissingPeggoNonces, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.peggy.v1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("injective.peggy.v1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.peggy.v1.Query', rpc_method_handlers) + server.add_registered_method_handlers("injective.peggy.v1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service - """ + """Query defines the gRPC querier service""" @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/Params', + "/injective.peggy.v1.Query/Params", injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -402,23 +416,26 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CurrentValset(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CurrentValset( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/CurrentValset', + "/injective.peggy.v1.Query/CurrentValset", injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetResponse.FromString, options, @@ -429,23 +446,26 @@ def CurrentValset(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ValsetRequest(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ValsetRequest( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/ValsetRequest', + "/injective.peggy.v1.Query/ValsetRequest", injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestResponse.FromString, options, @@ -456,23 +476,26 @@ def ValsetRequest(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ValsetConfirm(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ValsetConfirm( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/ValsetConfirm', + "/injective.peggy.v1.Query/ValsetConfirm", injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmResponse.FromString, options, @@ -483,23 +506,26 @@ def ValsetConfirm(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ValsetConfirmsByNonce(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ValsetConfirmsByNonce( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/ValsetConfirmsByNonce', + "/injective.peggy.v1.Query/ValsetConfirmsByNonce", injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceResponse.FromString, options, @@ -510,23 +536,26 @@ def ValsetConfirmsByNonce(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def LastValsetRequests(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def LastValsetRequests( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/LastValsetRequests', + "/injective.peggy.v1.Query/LastValsetRequests", injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsResponse.FromString, options, @@ -537,23 +566,26 @@ def LastValsetRequests(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def LastPendingValsetRequestByAddr(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def LastPendingValsetRequestByAddr( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/LastPendingValsetRequestByAddr', + "/injective.peggy.v1.Query/LastPendingValsetRequestByAddr", injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrResponse.FromString, options, @@ -564,23 +596,26 @@ def LastPendingValsetRequestByAddr(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def LastEventByAddr(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def LastEventByAddr( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/LastEventByAddr', + "/injective.peggy.v1.Query/LastEventByAddr", injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrResponse.FromString, options, @@ -591,23 +626,26 @@ def LastEventByAddr(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GetPendingSendToEth(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GetPendingSendToEth( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/GetPendingSendToEth', + "/injective.peggy.v1.Query/GetPendingSendToEth", injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEth.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEthResponse.FromString, options, @@ -618,23 +656,26 @@ def GetPendingSendToEth(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def BatchFees(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def BatchFees( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/BatchFees', + "/injective.peggy.v1.Query/BatchFees", injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeResponse.FromString, options, @@ -645,23 +686,26 @@ def BatchFees(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def OutgoingTxBatches(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def OutgoingTxBatches( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/OutgoingTxBatches', + "/injective.peggy.v1.Query/OutgoingTxBatches", injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesResponse.FromString, options, @@ -672,23 +716,26 @@ def OutgoingTxBatches(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def LastPendingBatchRequestByAddr(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def LastPendingBatchRequestByAddr( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/LastPendingBatchRequestByAddr', + "/injective.peggy.v1.Query/LastPendingBatchRequestByAddr", injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrResponse.FromString, options, @@ -699,23 +746,26 @@ def LastPendingBatchRequestByAddr(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def BatchRequestByNonce(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def BatchRequestByNonce( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/BatchRequestByNonce', + "/injective.peggy.v1.Query/BatchRequestByNonce", injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceResponse.FromString, options, @@ -726,23 +776,26 @@ def BatchRequestByNonce(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def BatchConfirms(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def BatchConfirms( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/BatchConfirms', + "/injective.peggy.v1.Query/BatchConfirms", injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsResponse.FromString, options, @@ -753,23 +806,26 @@ def BatchConfirms(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ERC20ToDenom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ERC20ToDenom( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/ERC20ToDenom', + "/injective.peggy.v1.Query/ERC20ToDenom", injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomResponse.FromString, options, @@ -780,23 +836,26 @@ def ERC20ToDenom(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DenomToERC20(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DenomToERC20( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/DenomToERC20', + "/injective.peggy.v1.Query/DenomToERC20", injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Request.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Response.FromString, options, @@ -807,23 +866,26 @@ def DenomToERC20(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GetDelegateKeyByValidator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GetDelegateKeyByValidator( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/GetDelegateKeyByValidator', + "/injective.peggy.v1.Query/GetDelegateKeyByValidator", injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddress.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddressResponse.FromString, options, @@ -834,23 +896,26 @@ def GetDelegateKeyByValidator(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GetDelegateKeyByEth(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GetDelegateKeyByEth( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/GetDelegateKeyByEth', + "/injective.peggy.v1.Query/GetDelegateKeyByEth", injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddress.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddressResponse.FromString, options, @@ -861,23 +926,26 @@ def GetDelegateKeyByEth(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def GetDelegateKeyByOrchestrator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def GetDelegateKeyByOrchestrator( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/GetDelegateKeyByOrchestrator', + "/injective.peggy.v1.Query/GetDelegateKeyByOrchestrator", injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddress.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddressResponse.FromString, options, @@ -888,23 +956,26 @@ def GetDelegateKeyByOrchestrator(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PeggyModuleState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PeggyModuleState( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/PeggyModuleState', + "/injective.peggy.v1.Query/PeggyModuleState", injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, options, @@ -915,23 +986,26 @@ def PeggyModuleState(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def MissingPeggoNonces(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def MissingPeggoNonces( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.peggy.v1.Query/MissingPeggoNonces', + "/injective.peggy.v1.Query/MissingPeggoNonces", injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesResponse.FromString, options, @@ -942,4 +1016,5 @@ def MissingPeggoNonces(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/injective/peggy/v1/types_pb2.py b/pyinjective/proto/injective/peggy/v1/types_pb2.py index a651b2b2..e0da9580 100644 --- a/pyinjective/proto/injective/peggy/v1/types_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/types_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,24 +16,30 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/peggy/v1/types.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\"R\n\x0f\x42ridgeValidator\x12\x14\n\x05power\x18\x01 \x01(\x04R\x05power\x12)\n\x10\x65thereum_address\x18\x02 \x01(\tR\x0f\x65thereumAddress\"\xdc\x01\n\x06Valset\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12=\n\x07members\x18\x02 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\x07members\x12\x16\n\x06height\x18\x03 \x01(\x04R\x06height\x12\x42\n\rreward_amount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x05 \x01(\tR\x0brewardToken\"\x85\x01\n\x1fLastObservedEthereumBlockHeight\x12.\n\x13\x63osmos_block_height\x18\x01 \x01(\x04R\x11\x63osmosBlockHeight\x12\x32\n\x15\x65thereum_block_height\x18\x02 \x01(\x04R\x13\x65thereumBlockHeight\"v\n\x0eLastClaimEvent\x12\x30\n\x14\x65thereum_event_nonce\x18\x01 \x01(\x04R\x12\x65thereumEventNonce\x12\x32\n\x15\x65thereum_event_height\x18\x02 \x01(\x04R\x13\x65thereumEventHeight\":\n\x0c\x45RC20ToDenom\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nomB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nTypesProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1einjective/peggy/v1/types.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto"R\n\x0f\x42ridgeValidator\x12\x14\n\x05power\x18\x01 \x01(\x04R\x05power\x12)\n\x10\x65thereum_address\x18\x02 \x01(\tR\x0f\x65thereumAddress"\xdc\x01\n\x06Valset\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12=\n\x07members\x18\x02 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\x07members\x12\x16\n\x06height\x18\x03 \x01(\x04R\x06height\x12\x42\n\rreward_amount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x05 \x01(\tR\x0brewardToken"\x85\x01\n\x1fLastObservedEthereumBlockHeight\x12.\n\x13\x63osmos_block_height\x18\x01 \x01(\x04R\x11\x63osmosBlockHeight\x12\x32\n\x15\x65thereum_block_height\x18\x02 \x01(\x04R\x13\x65thereumBlockHeight"v\n\x0eLastClaimEvent\x12\x30\n\x14\x65thereum_event_nonce\x18\x01 \x01(\x04R\x12\x65thereumEventNonce\x12\x32\n\x15\x65thereum_event_height\x18\x02 \x01(\x04R\x13\x65thereumEventHeight":\n\x0c\x45RC20ToDenom\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nomB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nTypesProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.types_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.types_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\nTypesProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' - _globals['_VALSET'].fields_by_name['reward_amount']._loaded_options = None - _globals['_VALSET'].fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' - _globals['_BRIDGEVALIDATOR']._serialized_start=76 - _globals['_BRIDGEVALIDATOR']._serialized_end=158 - _globals['_VALSET']._serialized_start=161 - _globals['_VALSET']._serialized_end=381 - _globals['_LASTOBSERVEDETHEREUMBLOCKHEIGHT']._serialized_start=384 - _globals['_LASTOBSERVEDETHEREUMBLOCKHEIGHT']._serialized_end=517 - _globals['_LASTCLAIMEVENT']._serialized_start=519 - _globals['_LASTCLAIMEVENT']._serialized_end=637 - _globals['_ERC20TODENOM']._serialized_start=639 - _globals['_ERC20TODENOM']._serialized_end=697 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.injective.peggy.v1B\nTypesProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" + ) + _globals["_VALSET"].fields_by_name["reward_amount"]._loaded_options = None + _globals["_VALSET"].fields_by_name[ + "reward_amount" + ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" + _globals["_BRIDGEVALIDATOR"]._serialized_start = 76 + _globals["_BRIDGEVALIDATOR"]._serialized_end = 158 + _globals["_VALSET"]._serialized_start = 161 + _globals["_VALSET"]._serialized_end = 381 + _globals["_LASTOBSERVEDETHEREUMBLOCKHEIGHT"]._serialized_start = 384 + _globals["_LASTOBSERVEDETHEREUMBLOCKHEIGHT"]._serialized_end = 517 + _globals["_LASTCLAIMEVENT"]._serialized_start = 519 + _globals["_LASTCLAIMEVENT"]._serialized_end = 637 + _globals["_ERC20TODENOM"]._serialized_start = 639 + _globals["_ERC20TODENOM"]._serialized_end = 697 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/types_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/types_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/peggy/v1/types_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/types_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/permissions/v1beta1/events_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/events_pb2.py index 2e4df26b..fb8d80de 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/events_pb2.py +++ b/pyinjective/proto/injective/permissions/v1beta1/events_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,16 +18,20 @@ from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*injective/permissions/v1beta1/events.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\"`\n\x0f\x45ventSetVoucher\x12\x12\n\x04\x61\x64\x64r\x18\x01 \x01(\tR\x04\x61\x64\x64r\x12\x39\n\x07voucher\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07voucherB\x99\x02\n!com.injective.permissions.v1beta1B\x0b\x45ventsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n*injective/permissions/v1beta1/events.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto"`\n\x0f\x45ventSetVoucher\x12\x12\n\x04\x61\x64\x64r\x18\x01 \x01(\tR\x04\x61\x64\x64r\x12\x39\n\x07voucher\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07voucherB\x99\x02\n!com.injective.permissions.v1beta1B\x0b\x45ventsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.events_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.permissions.v1beta1.events_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\013EventsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' - _globals['_EVENTSETVOUCHER'].fields_by_name['voucher']._loaded_options = None - _globals['_EVENTSETVOUCHER'].fields_by_name['voucher']._serialized_options = b'\310\336\037\000' - _globals['_EVENTSETVOUCHER']._serialized_start=163 - _globals['_EVENTSETVOUCHER']._serialized_end=259 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n!com.injective.permissions.v1beta1B\013EventsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1" + ) + _globals["_EVENTSETVOUCHER"].fields_by_name["voucher"]._loaded_options = None + _globals["_EVENTSETVOUCHER"].fields_by_name["voucher"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTSETVOUCHER"]._serialized_start = 163 + _globals["_EVENTSETVOUCHER"]._serialized_end = 259 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/events_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/events_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/events_pb2_grpc.py +++ b/pyinjective/proto/injective/permissions/v1beta1/events_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2.py index 6fa1a73a..6abd415c 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2.py @@ -7,28 +7,37 @@ 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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.permissions.v1beta1 import params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2 -from pyinjective.proto.injective.permissions.v1beta1 import permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2 +from pyinjective.proto.injective.permissions.v1beta1 import ( + params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2, +) +from pyinjective.proto.injective.permissions.v1beta1 import ( + permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+injective/permissions/v1beta1/genesis.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a*injective/permissions/v1beta1/params.proto\x1a/injective/permissions/v1beta1/permissions.proto\"\xa3\x01\n\x0cGenesisState\x12\x43\n\x06params\x18\x01 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12N\n\nnamespaces\x18\x02 \x03(\x0b\x32(.injective.permissions.v1beta1.NamespaceB\x04\xc8\xde\x1f\x00R\nnamespacesB\x9a\x02\n!com.injective.permissions.v1beta1B\x0cGenesisProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n+injective/permissions/v1beta1/genesis.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a*injective/permissions/v1beta1/params.proto\x1a/injective/permissions/v1beta1/permissions.proto"\xa3\x01\n\x0cGenesisState\x12\x43\n\x06params\x18\x01 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12N\n\nnamespaces\x18\x02 \x03(\x0b\x32(.injective.permissions.v1beta1.NamespaceB\x04\xc8\xde\x1f\x00R\nnamespacesB\x9a\x02\n!com.injective.permissions.v1beta1B\x0cGenesisProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.permissions.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\014GenesisProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['namespaces']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['namespaces']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE']._serialized_start=194 - _globals['_GENESISSTATE']._serialized_end=357 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n!com.injective.permissions.v1beta1B\014GenesisProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1" + ) + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["namespaces"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["namespaces"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"]._serialized_start = 194 + _globals["_GENESISSTATE"]._serialized_end = 357 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/permissions/v1beta1/params_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/params_pb2.py index d6bf69a1..0f3520a8 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/params_pb2.py +++ b/pyinjective/proto/injective/permissions/v1beta1/params_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,16 +19,20 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*injective/permissions/v1beta1/params.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"[\n\x06Params\x12\x34\n\x17wasm_hook_query_max_gas\x18\x01 \x01(\x04R\x13wasmHookQueryMaxGas:\x1b\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x12permissions/ParamsB\x99\x02\n!com.injective.permissions.v1beta1B\x0bParamsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n*injective/permissions/v1beta1/params.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto"[\n\x06Params\x12\x34\n\x17wasm_hook_query_max_gas\x18\x01 \x01(\x04R\x13wasmHookQueryMaxGas:\x1b\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x12permissions/ParamsB\x99\x02\n!com.injective.permissions.v1beta1B\x0bParamsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.params_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.permissions.v1beta1.params_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\013ParamsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\022permissions/Params' - _globals['_PARAMS']._serialized_start=177 - _globals['_PARAMS']._serialized_end=268 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n!com.injective.permissions.v1beta1B\013ParamsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1" + ) + _globals["_PARAMS"]._loaded_options = None + _globals["_PARAMS"]._serialized_options = b"\350\240\037\001\212\347\260*\022permissions/Params" + _globals["_PARAMS"]._serialized_start = 177 + _globals["_PARAMS"]._serialized_end = 268 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/params_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/params_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/params_pb2_grpc.py +++ b/pyinjective/proto/injective/permissions/v1beta1/params_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py index cab8953a..ac4799d2 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py +++ b/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,28 +17,34 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/injective/permissions/v1beta1/permissions.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\xc9\x02\n\tNamespace\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1b\n\twasm_hook\x18\x02 \x01(\tR\x08wasmHook\x12!\n\x0cmints_paused\x18\x03 \x01(\x08R\x0bmintsPaused\x12!\n\x0csends_paused\x18\x04 \x01(\x08R\x0bsendsPaused\x12!\n\x0c\x62urns_paused\x18\x05 \x01(\x08R\x0b\x62urnsPaused\x12N\n\x10role_permissions\x18\x06 \x03(\x0b\x32#.injective.permissions.v1beta1.RoleR\x0frolePermissions\x12P\n\raddress_roles\x18\x07 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x0c\x61\x64\x64ressRoles\">\n\x0c\x41\x64\x64ressRoles\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12\x14\n\x05roles\x18\x02 \x03(\tR\x05roles\"<\n\x04Role\x12\x12\n\x04role\x18\x01 \x01(\tR\x04role\x12 \n\x0bpermissions\x18\x02 \x01(\rR\x0bpermissions\"$\n\x07RoleIDs\x12\x19\n\x08role_ids\x18\x01 \x03(\rR\x07roleIds\"l\n\x07Voucher\x12\x61\n\x05\x63oins\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x05\x63oins\"l\n\x0e\x41\x64\x64ressVoucher\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\x07voucher\x18\x02 \x01(\x0b\x32&.injective.permissions.v1beta1.VoucherR\x07voucher*:\n\x06\x41\x63tion\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x08\n\x04MINT\x10\x01\x12\x0b\n\x07RECEIVE\x10\x02\x12\x08\n\x04\x42URN\x10\x04\x42\x9e\x02\n!com.injective.permissions.v1beta1B\x10PermissionsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n/injective/permissions/v1beta1/permissions.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"\xc9\x02\n\tNamespace\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1b\n\twasm_hook\x18\x02 \x01(\tR\x08wasmHook\x12!\n\x0cmints_paused\x18\x03 \x01(\x08R\x0bmintsPaused\x12!\n\x0csends_paused\x18\x04 \x01(\x08R\x0bsendsPaused\x12!\n\x0c\x62urns_paused\x18\x05 \x01(\x08R\x0b\x62urnsPaused\x12N\n\x10role_permissions\x18\x06 \x03(\x0b\x32#.injective.permissions.v1beta1.RoleR\x0frolePermissions\x12P\n\raddress_roles\x18\x07 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x0c\x61\x64\x64ressRoles">\n\x0c\x41\x64\x64ressRoles\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12\x14\n\x05roles\x18\x02 \x03(\tR\x05roles"<\n\x04Role\x12\x12\n\x04role\x18\x01 \x01(\tR\x04role\x12 \n\x0bpermissions\x18\x02 \x01(\rR\x0bpermissions"$\n\x07RoleIDs\x12\x19\n\x08role_ids\x18\x01 \x03(\rR\x07roleIds"l\n\x07Voucher\x12\x61\n\x05\x63oins\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x05\x63oins"l\n\x0e\x41\x64\x64ressVoucher\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\x07voucher\x18\x02 \x01(\x0b\x32&.injective.permissions.v1beta1.VoucherR\x07voucher*:\n\x06\x41\x63tion\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x08\n\x04MINT\x10\x01\x12\x0b\n\x07RECEIVE\x10\x02\x12\x08\n\x04\x42URN\x10\x04\x42\x9e\x02\n!com.injective.permissions.v1beta1B\x10PermissionsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.permissions_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.permissions.v1beta1.permissions_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\020PermissionsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' - _globals['_VOUCHER'].fields_by_name['coins']._loaded_options = None - _globals['_VOUCHER'].fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_ACTION']._serialized_start=852 - _globals['_ACTION']._serialized_end=910 - _globals['_NAMESPACE']._serialized_start=137 - _globals['_NAMESPACE']._serialized_end=466 - _globals['_ADDRESSROLES']._serialized_start=468 - _globals['_ADDRESSROLES']._serialized_end=530 - _globals['_ROLE']._serialized_start=532 - _globals['_ROLE']._serialized_end=592 - _globals['_ROLEIDS']._serialized_start=594 - _globals['_ROLEIDS']._serialized_end=630 - _globals['_VOUCHER']._serialized_start=632 - _globals['_VOUCHER']._serialized_end=740 - _globals['_ADDRESSVOUCHER']._serialized_start=742 - _globals['_ADDRESSVOUCHER']._serialized_end=850 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n!com.injective.permissions.v1beta1B\020PermissionsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1" + ) + _globals["_VOUCHER"].fields_by_name["coins"]._loaded_options = None + _globals["_VOUCHER"].fields_by_name[ + "coins" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" + _globals["_ACTION"]._serialized_start = 852 + _globals["_ACTION"]._serialized_end = 910 + _globals["_NAMESPACE"]._serialized_start = 137 + _globals["_NAMESPACE"]._serialized_end = 466 + _globals["_ADDRESSROLES"]._serialized_start = 468 + _globals["_ADDRESSROLES"]._serialized_end = 530 + _globals["_ROLE"]._serialized_start = 532 + _globals["_ROLE"]._serialized_end = 592 + _globals["_ROLEIDS"]._serialized_start = 594 + _globals["_ROLEIDS"]._serialized_end = 630 + _globals["_VOUCHER"]._serialized_start = 632 + _globals["_VOUCHER"]._serialized_end = 740 + _globals["_ADDRESSVOUCHER"]._serialized_start = 742 + _globals["_ADDRESSVOUCHER"]._serialized_end = 850 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2_grpc.py +++ b/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/permissions/v1beta1/query_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/query_pb2.py index a03ce809..b4f5bffd 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/permissions/v1beta1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,60 +16,88 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.injective.permissions.v1beta1 import params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2 -from pyinjective.proto.injective.permissions.v1beta1 import genesis_pb2 as injective_dot_permissions_dot_v1beta1_dot_genesis__pb2 -from pyinjective.proto.injective.permissions.v1beta1 import permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) +from pyinjective.proto.injective.permissions.v1beta1 import ( + params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2, +) +from pyinjective.proto.injective.permissions.v1beta1 import ( + genesis_pb2 as injective_dot_permissions_dot_v1beta1_dot_genesis__pb2, +) +from pyinjective.proto.injective.permissions.v1beta1 import ( + permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/permissions/v1beta1/query.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a*injective/permissions/v1beta1/params.proto\x1a+injective/permissions/v1beta1/genesis.proto\x1a/injective/permissions/v1beta1/permissions.proto\"\x14\n\x12QueryParamsRequest\"Z\n\x13QueryParamsResponse\x12\x43\n\x06params\x18\x01 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1b\n\x19QueryAllNamespacesRequest\"f\n\x1aQueryAllNamespacesResponse\x12H\n\nnamespaces\x18\x01 \x03(\x0b\x32(.injective.permissions.v1beta1.NamespaceR\nnamespaces\"Y\n\x1cQueryNamespaceByDenomRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12#\n\rinclude_roles\x18\x02 \x01(\x08R\x0cincludeRoles\"g\n\x1dQueryNamespaceByDenomResponse\x12\x46\n\tnamespace\x18\x01 \x01(\x0b\x32(.injective.permissions.v1beta1.NamespaceR\tnamespace\"G\n\x1bQueryAddressesByRoleRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x12\n\x04role\x18\x02 \x01(\tR\x04role\"<\n\x1cQueryAddressesByRoleResponse\x12\x1c\n\taddresses\x18\x01 \x03(\tR\taddresses\"J\n\x18QueryAddressRolesRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"1\n\x19QueryAddressRolesResponse\x12\x14\n\x05roles\x18\x01 \x03(\tR\x05roles\":\n\x1eQueryVouchersForAddressRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"\xa0\x01\n\x1fQueryVouchersForAddressResponse\x12}\n\x08vouchers\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xea\xde\x1f\x12vouchers,omitempty\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08vouchers2\x89\t\n\x05Query\x12\x9e\x01\n\x06Params\x12\x31.injective.permissions.v1beta1.QueryParamsRequest\x1a\x32.injective.permissions.v1beta1.QueryParamsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/injective/permissions/v1beta1/params\x12\xbb\x01\n\rAllNamespaces\x12\x38.injective.permissions.v1beta1.QueryAllNamespacesRequest\x1a\x39.injective.permissions.v1beta1.QueryAllNamespacesResponse\"5\x82\xd3\xe4\x93\x02/\x12-/injective/permissions/v1beta1/all_namespaces\x12\xc8\x01\n\x10NamespaceByDenom\x12;.injective.permissions.v1beta1.QueryNamespaceByDenomRequest\x1a<.injective.permissions.v1beta1.QueryNamespaceByDenomResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/permissions/v1beta1/namespace_by_denom\x12\xbb\x01\n\x0c\x41\x64\x64ressRoles\x12\x37.injective.permissions.v1beta1.QueryAddressRolesRequest\x1a\x38.injective.permissions.v1beta1.QueryAddressRolesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/permissions/v1beta1/addresses_by_role\x12\xc4\x01\n\x0f\x41\x64\x64ressesByRole\x12:.injective.permissions.v1beta1.QueryAddressesByRoleRequest\x1a;.injective.permissions.v1beta1.QueryAddressesByRoleResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/permissions/v1beta1/addresses_by_role\x12\xd0\x01\n\x12VouchersForAddress\x12=.injective.permissions.v1beta1.QueryVouchersForAddressRequest\x1a>.injective.permissions.v1beta1.QueryVouchersForAddressResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/permissions/v1beta1/vouchers_for_addressB\x98\x02\n!com.injective.permissions.v1beta1B\nQueryProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n)injective/permissions/v1beta1/query.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a*injective/permissions/v1beta1/params.proto\x1a+injective/permissions/v1beta1/genesis.proto\x1a/injective/permissions/v1beta1/permissions.proto"\x14\n\x12QueryParamsRequest"Z\n\x13QueryParamsResponse\x12\x43\n\x06params\x18\x01 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\x1b\n\x19QueryAllNamespacesRequest"f\n\x1aQueryAllNamespacesResponse\x12H\n\nnamespaces\x18\x01 \x03(\x0b\x32(.injective.permissions.v1beta1.NamespaceR\nnamespaces"Y\n\x1cQueryNamespaceByDenomRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12#\n\rinclude_roles\x18\x02 \x01(\x08R\x0cincludeRoles"g\n\x1dQueryNamespaceByDenomResponse\x12\x46\n\tnamespace\x18\x01 \x01(\x0b\x32(.injective.permissions.v1beta1.NamespaceR\tnamespace"G\n\x1bQueryAddressesByRoleRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x12\n\x04role\x18\x02 \x01(\tR\x04role"<\n\x1cQueryAddressesByRoleResponse\x12\x1c\n\taddresses\x18\x01 \x03(\tR\taddresses"J\n\x18QueryAddressRolesRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress"1\n\x19QueryAddressRolesResponse\x12\x14\n\x05roles\x18\x01 \x03(\tR\x05roles":\n\x1eQueryVouchersForAddressRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress"\xa0\x01\n\x1fQueryVouchersForAddressResponse\x12}\n\x08vouchers\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xea\xde\x1f\x12vouchers,omitempty\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08vouchers2\x89\t\n\x05Query\x12\x9e\x01\n\x06Params\x12\x31.injective.permissions.v1beta1.QueryParamsRequest\x1a\x32.injective.permissions.v1beta1.QueryParamsResponse"-\x82\xd3\xe4\x93\x02\'\x12%/injective/permissions/v1beta1/params\x12\xbb\x01\n\rAllNamespaces\x12\x38.injective.permissions.v1beta1.QueryAllNamespacesRequest\x1a\x39.injective.permissions.v1beta1.QueryAllNamespacesResponse"5\x82\xd3\xe4\x93\x02/\x12-/injective/permissions/v1beta1/all_namespaces\x12\xc8\x01\n\x10NamespaceByDenom\x12;.injective.permissions.v1beta1.QueryNamespaceByDenomRequest\x1a<.injective.permissions.v1beta1.QueryNamespaceByDenomResponse"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/permissions/v1beta1/namespace_by_denom\x12\xbb\x01\n\x0c\x41\x64\x64ressRoles\x12\x37.injective.permissions.v1beta1.QueryAddressRolesRequest\x1a\x38.injective.permissions.v1beta1.QueryAddressRolesResponse"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/permissions/v1beta1/addresses_by_role\x12\xc4\x01\n\x0f\x41\x64\x64ressesByRole\x12:.injective.permissions.v1beta1.QueryAddressesByRoleRequest\x1a;.injective.permissions.v1beta1.QueryAddressesByRoleResponse"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/permissions/v1beta1/addresses_by_role\x12\xd0\x01\n\x12VouchersForAddress\x12=.injective.permissions.v1beta1.QueryVouchersForAddressRequest\x1a>.injective.permissions.v1beta1.QueryVouchersForAddressResponse";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/permissions/v1beta1/vouchers_for_addressB\x98\x02\n!com.injective.permissions.v1beta1B\nQueryProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.permissions.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\nQueryProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_QUERYVOUCHERSFORADDRESSRESPONSE'].fields_by_name['vouchers']._loaded_options = None - _globals['_QUERYVOUCHERSFORADDRESSRESPONSE'].fields_by_name['vouchers']._serialized_options = b'\310\336\037\000\352\336\037\022vouchers,omitempty\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\'\022%/injective/permissions/v1beta1/params' - _globals['_QUERY'].methods_by_name['AllNamespaces']._loaded_options = None - _globals['_QUERY'].methods_by_name['AllNamespaces']._serialized_options = b'\202\323\344\223\002/\022-/injective/permissions/v1beta1/all_namespaces' - _globals['_QUERY'].methods_by_name['NamespaceByDenom']._loaded_options = None - _globals['_QUERY'].methods_by_name['NamespaceByDenom']._serialized_options = b'\202\323\344\223\0023\0221/injective/permissions/v1beta1/namespace_by_denom' - _globals['_QUERY'].methods_by_name['AddressRoles']._loaded_options = None - _globals['_QUERY'].methods_by_name['AddressRoles']._serialized_options = b'\202\323\344\223\0022\0220/injective/permissions/v1beta1/addresses_by_role' - _globals['_QUERY'].methods_by_name['AddressesByRole']._loaded_options = None - _globals['_QUERY'].methods_by_name['AddressesByRole']._serialized_options = b'\202\323\344\223\0022\0220/injective/permissions/v1beta1/addresses_by_role' - _globals['_QUERY'].methods_by_name['VouchersForAddress']._loaded_options = None - _globals['_QUERY'].methods_by_name['VouchersForAddress']._serialized_options = b'\202\323\344\223\0025\0223/injective/permissions/v1beta1/vouchers_for_address' - _globals['_QUERYPARAMSREQUEST']._serialized_start=342 - _globals['_QUERYPARAMSREQUEST']._serialized_end=362 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=364 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=454 - _globals['_QUERYALLNAMESPACESREQUEST']._serialized_start=456 - _globals['_QUERYALLNAMESPACESREQUEST']._serialized_end=483 - _globals['_QUERYALLNAMESPACESRESPONSE']._serialized_start=485 - _globals['_QUERYALLNAMESPACESRESPONSE']._serialized_end=587 - _globals['_QUERYNAMESPACEBYDENOMREQUEST']._serialized_start=589 - _globals['_QUERYNAMESPACEBYDENOMREQUEST']._serialized_end=678 - _globals['_QUERYNAMESPACEBYDENOMRESPONSE']._serialized_start=680 - _globals['_QUERYNAMESPACEBYDENOMRESPONSE']._serialized_end=783 - _globals['_QUERYADDRESSESBYROLEREQUEST']._serialized_start=785 - _globals['_QUERYADDRESSESBYROLEREQUEST']._serialized_end=856 - _globals['_QUERYADDRESSESBYROLERESPONSE']._serialized_start=858 - _globals['_QUERYADDRESSESBYROLERESPONSE']._serialized_end=918 - _globals['_QUERYADDRESSROLESREQUEST']._serialized_start=920 - _globals['_QUERYADDRESSROLESREQUEST']._serialized_end=994 - _globals['_QUERYADDRESSROLESRESPONSE']._serialized_start=996 - _globals['_QUERYADDRESSROLESRESPONSE']._serialized_end=1045 - _globals['_QUERYVOUCHERSFORADDRESSREQUEST']._serialized_start=1047 - _globals['_QUERYVOUCHERSFORADDRESSREQUEST']._serialized_end=1105 - _globals['_QUERYVOUCHERSFORADDRESSRESPONSE']._serialized_start=1108 - _globals['_QUERYVOUCHERSFORADDRESSRESPONSE']._serialized_end=1268 - _globals['_QUERY']._serialized_start=1271 - _globals['_QUERY']._serialized_end=2432 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n!com.injective.permissions.v1beta1B\nQueryProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1" + ) + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYVOUCHERSFORADDRESSRESPONSE"].fields_by_name["vouchers"]._loaded_options = None + _globals["_QUERYVOUCHERSFORADDRESSRESPONSE"].fields_by_name[ + "vouchers" + ]._serialized_options = ( + b"\310\336\037\000\352\336\037\022vouchers,omitempty\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" + ) + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\202\323\344\223\002'\022%/injective/permissions/v1beta1/params" + _globals["_QUERY"].methods_by_name["AllNamespaces"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AllNamespaces" + ]._serialized_options = b"\202\323\344\223\002/\022-/injective/permissions/v1beta1/all_namespaces" + _globals["_QUERY"].methods_by_name["NamespaceByDenom"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "NamespaceByDenom" + ]._serialized_options = b"\202\323\344\223\0023\0221/injective/permissions/v1beta1/namespace_by_denom" + _globals["_QUERY"].methods_by_name["AddressRoles"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AddressRoles" + ]._serialized_options = b"\202\323\344\223\0022\0220/injective/permissions/v1beta1/addresses_by_role" + _globals["_QUERY"].methods_by_name["AddressesByRole"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "AddressesByRole" + ]._serialized_options = b"\202\323\344\223\0022\0220/injective/permissions/v1beta1/addresses_by_role" + _globals["_QUERY"].methods_by_name["VouchersForAddress"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "VouchersForAddress" + ]._serialized_options = b"\202\323\344\223\0025\0223/injective/permissions/v1beta1/vouchers_for_address" + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 342 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 362 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 364 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 454 + _globals["_QUERYALLNAMESPACESREQUEST"]._serialized_start = 456 + _globals["_QUERYALLNAMESPACESREQUEST"]._serialized_end = 483 + _globals["_QUERYALLNAMESPACESRESPONSE"]._serialized_start = 485 + _globals["_QUERYALLNAMESPACESRESPONSE"]._serialized_end = 587 + _globals["_QUERYNAMESPACEBYDENOMREQUEST"]._serialized_start = 589 + _globals["_QUERYNAMESPACEBYDENOMREQUEST"]._serialized_end = 678 + _globals["_QUERYNAMESPACEBYDENOMRESPONSE"]._serialized_start = 680 + _globals["_QUERYNAMESPACEBYDENOMRESPONSE"]._serialized_end = 783 + _globals["_QUERYADDRESSESBYROLEREQUEST"]._serialized_start = 785 + _globals["_QUERYADDRESSESBYROLEREQUEST"]._serialized_end = 856 + _globals["_QUERYADDRESSESBYROLERESPONSE"]._serialized_start = 858 + _globals["_QUERYADDRESSESBYROLERESPONSE"]._serialized_end = 918 + _globals["_QUERYADDRESSROLESREQUEST"]._serialized_start = 920 + _globals["_QUERYADDRESSROLESREQUEST"]._serialized_end = 994 + _globals["_QUERYADDRESSROLESRESPONSE"]._serialized_start = 996 + _globals["_QUERYADDRESSROLESRESPONSE"]._serialized_end = 1045 + _globals["_QUERYVOUCHERSFORADDRESSREQUEST"]._serialized_start = 1047 + _globals["_QUERYVOUCHERSFORADDRESSREQUEST"]._serialized_end = 1105 + _globals["_QUERYVOUCHERSFORADDRESSRESPONSE"]._serialized_start = 1108 + _globals["_QUERYVOUCHERSFORADDRESSRESPONSE"]._serialized_end = 1268 + _globals["_QUERY"]._serialized_start = 1271 + _globals["_QUERY"]._serialized_end = 2432 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py index 1d335252..1c4b2e26 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py @@ -2,12 +2,13 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.injective.permissions.v1beta1 import query_pb2 as injective_dot_permissions_dot_v1beta1_dot_query__pb2 +from pyinjective.proto.injective.permissions.v1beta1 import ( + query_pb2 as injective_dot_permissions_dot_v1beta1_dot_query__pb2, +) class QueryStub(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,80 +17,85 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - '/injective.permissions.v1beta1.Query/Params', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/injective.permissions.v1beta1.Query/Params", + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) self.AllNamespaces = channel.unary_unary( - '/injective.permissions.v1beta1.Query/AllNamespaces', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesResponse.FromString, - _registered_method=True) + "/injective.permissions.v1beta1.Query/AllNamespaces", + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesResponse.FromString, + _registered_method=True, + ) self.NamespaceByDenom = channel.unary_unary( - '/injective.permissions.v1beta1.Query/NamespaceByDenom', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomResponse.FromString, - _registered_method=True) + "/injective.permissions.v1beta1.Query/NamespaceByDenom", + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomResponse.FromString, + _registered_method=True, + ) self.AddressRoles = channel.unary_unary( - '/injective.permissions.v1beta1.Query/AddressRoles', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesResponse.FromString, - _registered_method=True) + "/injective.permissions.v1beta1.Query/AddressRoles", + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesResponse.FromString, + _registered_method=True, + ) self.AddressesByRole = channel.unary_unary( - '/injective.permissions.v1beta1.Query/AddressesByRole', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleResponse.FromString, - _registered_method=True) + "/injective.permissions.v1beta1.Query/AddressesByRole", + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleResponse.FromString, + _registered_method=True, + ) self.VouchersForAddress = channel.unary_unary( - '/injective.permissions.v1beta1.Query/VouchersForAddress', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressResponse.FromString, - _registered_method=True) + "/injective.permissions.v1beta1.Query/VouchersForAddress", + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def Params(self, request, context): """Params defines a gRPC query method that returns the permissions module's parameters. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AllNamespaces(self, request, context): """AllNamespaces defines a gRPC query method that returns the permissions module's created namespaces. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def NamespaceByDenom(self, request, context): """NamespaceByDenom defines a gRPC query method that returns the permissions module's namespace associated with the provided denom. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AddressRoles(self, request, context): """AddressRoles defines a gRPC query method that returns address roles in the namespace """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def AddressesByRole(self, request, context): """AddressesByRole defines a gRPC query method that returns a namespace's roles associated with the provided address. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def VouchersForAddress(self, request, context): """VouchersForAddress defines a gRPC query method that returns a map of @@ -97,69 +103,69 @@ def VouchersForAddress(self, request, context): originator address """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'AllNamespaces': grpc.unary_unary_rpc_method_handler( - servicer.AllNamespaces, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesResponse.SerializeToString, - ), - 'NamespaceByDenom': grpc.unary_unary_rpc_method_handler( - servicer.NamespaceByDenom, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomResponse.SerializeToString, - ), - 'AddressRoles': grpc.unary_unary_rpc_method_handler( - servicer.AddressRoles, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesResponse.SerializeToString, - ), - 'AddressesByRole': grpc.unary_unary_rpc_method_handler( - servicer.AddressesByRole, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleResponse.SerializeToString, - ), - 'VouchersForAddress': grpc.unary_unary_rpc_method_handler( - servicer.VouchersForAddress, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressResponse.SerializeToString, - ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + "AllNamespaces": grpc.unary_unary_rpc_method_handler( + servicer.AllNamespaces, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesResponse.SerializeToString, + ), + "NamespaceByDenom": grpc.unary_unary_rpc_method_handler( + servicer.NamespaceByDenom, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomResponse.SerializeToString, + ), + "AddressRoles": grpc.unary_unary_rpc_method_handler( + servicer.AddressRoles, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesResponse.SerializeToString, + ), + "AddressesByRole": grpc.unary_unary_rpc_method_handler( + servicer.AddressesByRole, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleResponse.SerializeToString, + ), + "VouchersForAddress": grpc.unary_unary_rpc_method_handler( + servicer.VouchersForAddress, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.permissions.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("injective.permissions.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.permissions.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("injective.permissions.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.permissions.v1beta1.Query/Params', + "/injective.permissions.v1beta1.Query/Params", injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -170,23 +176,26 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def AllNamespaces(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AllNamespaces( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.permissions.v1beta1.Query/AllNamespaces', + "/injective.permissions.v1beta1.Query/AllNamespaces", injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesRequest.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesResponse.FromString, options, @@ -197,23 +206,26 @@ def AllNamespaces(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def NamespaceByDenom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def NamespaceByDenom( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.permissions.v1beta1.Query/NamespaceByDenom', + "/injective.permissions.v1beta1.Query/NamespaceByDenom", injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomRequest.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomResponse.FromString, options, @@ -224,23 +236,26 @@ def NamespaceByDenom(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def AddressRoles(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AddressRoles( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.permissions.v1beta1.Query/AddressRoles', + "/injective.permissions.v1beta1.Query/AddressRoles", injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesRequest.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesResponse.FromString, options, @@ -251,23 +266,26 @@ def AddressRoles(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def AddressesByRole(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def AddressesByRole( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.permissions.v1beta1.Query/AddressesByRole', + "/injective.permissions.v1beta1.Query/AddressesByRole", injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleRequest.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleResponse.FromString, options, @@ -278,23 +296,26 @@ def AddressesByRole(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def VouchersForAddress(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def VouchersForAddress( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.permissions.v1beta1.Query/VouchersForAddress', + "/injective.permissions.v1beta1.Query/VouchersForAddress", injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressRequest.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressResponse.FromString, options, @@ -305,4 +326,5 @@ def VouchersForAddress(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py index 0a1dcbbb..568809e1 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,89 +18,111 @@ from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.injective.permissions.v1beta1 import params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2 -from pyinjective.proto.injective.permissions.v1beta1 import permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2 +from pyinjective.proto.injective.permissions.v1beta1 import ( + params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2, +) +from pyinjective.proto.injective.permissions.v1beta1 import ( + permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2, +) from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&injective/permissions/v1beta1/tx.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a*injective/permissions/v1beta1/params.proto\x1a/injective/permissions/v1beta1/permissions.proto\x1a\x11\x61mino/amino.proto\"\xbe\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x43\n\x06params\x18\x02 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:.\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1bpermissions/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xbd\x01\n\x12MsgCreateNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12L\n\tnamespace\x18\x02 \x01(\x0b\x32(.injective.permissions.v1beta1.NamespaceB\x04\xc8\xde\x1f\x00R\tnamespace:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgCreateNamespace\"\x1c\n\x1aMsgCreateNamespaceResponse\"\x98\x01\n\x12MsgDeleteNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgDeleteNamespace\"\x1c\n\x1aMsgDeleteNamespaceResponse\"\xf4\x05\n\x12MsgUpdateNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12]\n\twasm_hook\x18\x03 \x01(\x0b\x32@.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetWasmHookR\x08wasmHook\x12\x66\n\x0cmints_paused\x18\x04 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetMintsPausedR\x0bmintsPaused\x12\x66\n\x0csends_paused\x18\x05 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetSendsPausedR\x0bsendsPaused\x12\x66\n\x0c\x62urns_paused\x18\x06 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetBurnsPausedR\x0b\x62urnsPaused\x1a-\n\x0eMsgSetWasmHook\x12\x1b\n\tnew_value\x18\x01 \x01(\tR\x08newValue\x1a\x30\n\x11MsgSetMintsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue\x1a\x30\n\x11MsgSetSendsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue\x1a\x30\n\x11MsgSetBurnsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgUpdateNamespace\"\x1c\n\x1aMsgUpdateNamespaceResponse\"\xc4\x02\n\x17MsgUpdateNamespaceRoles\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12N\n\x10role_permissions\x18\x03 \x03(\x0b\x32#.injective.permissions.v1beta1.RoleR\x0frolePermissions\x12P\n\raddress_roles\x18\x04 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x0c\x61\x64\x64ressRoles:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#permissions/MsgUpdateNamespaceRoles\"!\n\x1fMsgUpdateNamespaceRolesResponse\"\x86\x02\n\x17MsgRevokeNamespaceRoles\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12\x62\n\x17\x61\x64\x64ress_roles_to_revoke\x18\x03 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x14\x61\x64\x64ressRolesToRevoke:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#permissions/MsgRevokeNamespaceRoles\"!\n\x1fMsgRevokeNamespaceRolesResponse\"\x7f\n\x0fMsgClaimVoucher\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bpermissions/MsgClaimVoucher\"\x19\n\x17MsgClaimVoucherResponse2\xa1\x07\n\x03Msg\x12v\n\x0cUpdateParams\x12..injective.permissions.v1beta1.MsgUpdateParams\x1a\x36.injective.permissions.v1beta1.MsgUpdateParamsResponse\x12\x7f\n\x0f\x43reateNamespace\x12\x31.injective.permissions.v1beta1.MsgCreateNamespace\x1a\x39.injective.permissions.v1beta1.MsgCreateNamespaceResponse\x12\x7f\n\x0f\x44\x65leteNamespace\x12\x31.injective.permissions.v1beta1.MsgDeleteNamespace\x1a\x39.injective.permissions.v1beta1.MsgDeleteNamespaceResponse\x12\x7f\n\x0fUpdateNamespace\x12\x31.injective.permissions.v1beta1.MsgUpdateNamespace\x1a\x39.injective.permissions.v1beta1.MsgUpdateNamespaceResponse\x12\x8e\x01\n\x14UpdateNamespaceRoles\x12\x36.injective.permissions.v1beta1.MsgUpdateNamespaceRoles\x1a>.injective.permissions.v1beta1.MsgUpdateNamespaceRolesResponse\x12\x8e\x01\n\x14RevokeNamespaceRoles\x12\x36.injective.permissions.v1beta1.MsgRevokeNamespaceRoles\x1a>.injective.permissions.v1beta1.MsgRevokeNamespaceRolesResponse\x12v\n\x0c\x43laimVoucher\x12..injective.permissions.v1beta1.MsgClaimVoucher\x1a\x36.injective.permissions.v1beta1.MsgClaimVoucherResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x95\x02\n!com.injective.permissions.v1beta1B\x07TxProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n&injective/permissions/v1beta1/tx.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a*injective/permissions/v1beta1/params.proto\x1a/injective/permissions/v1beta1/permissions.proto\x1a\x11\x61mino/amino.proto"\xbe\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x43\n\x06params\x18\x02 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:.\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1bpermissions/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse"\xbd\x01\n\x12MsgCreateNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12L\n\tnamespace\x18\x02 \x01(\x0b\x32(.injective.permissions.v1beta1.NamespaceB\x04\xc8\xde\x1f\x00R\tnamespace:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgCreateNamespace"\x1c\n\x1aMsgCreateNamespaceResponse"\x98\x01\n\x12MsgDeleteNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgDeleteNamespace"\x1c\n\x1aMsgDeleteNamespaceResponse"\xf4\x05\n\x12MsgUpdateNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12]\n\twasm_hook\x18\x03 \x01(\x0b\x32@.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetWasmHookR\x08wasmHook\x12\x66\n\x0cmints_paused\x18\x04 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetMintsPausedR\x0bmintsPaused\x12\x66\n\x0csends_paused\x18\x05 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetSendsPausedR\x0bsendsPaused\x12\x66\n\x0c\x62urns_paused\x18\x06 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetBurnsPausedR\x0b\x62urnsPaused\x1a-\n\x0eMsgSetWasmHook\x12\x1b\n\tnew_value\x18\x01 \x01(\tR\x08newValue\x1a\x30\n\x11MsgSetMintsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue\x1a\x30\n\x11MsgSetSendsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue\x1a\x30\n\x11MsgSetBurnsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgUpdateNamespace"\x1c\n\x1aMsgUpdateNamespaceResponse"\xc4\x02\n\x17MsgUpdateNamespaceRoles\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12N\n\x10role_permissions\x18\x03 \x03(\x0b\x32#.injective.permissions.v1beta1.RoleR\x0frolePermissions\x12P\n\raddress_roles\x18\x04 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x0c\x61\x64\x64ressRoles:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#permissions/MsgUpdateNamespaceRoles"!\n\x1fMsgUpdateNamespaceRolesResponse"\x86\x02\n\x17MsgRevokeNamespaceRoles\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12\x62\n\x17\x61\x64\x64ress_roles_to_revoke\x18\x03 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x14\x61\x64\x64ressRolesToRevoke:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#permissions/MsgRevokeNamespaceRoles"!\n\x1fMsgRevokeNamespaceRolesResponse"\x7f\n\x0fMsgClaimVoucher\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bpermissions/MsgClaimVoucher"\x19\n\x17MsgClaimVoucherResponse2\xa1\x07\n\x03Msg\x12v\n\x0cUpdateParams\x12..injective.permissions.v1beta1.MsgUpdateParams\x1a\x36.injective.permissions.v1beta1.MsgUpdateParamsResponse\x12\x7f\n\x0f\x43reateNamespace\x12\x31.injective.permissions.v1beta1.MsgCreateNamespace\x1a\x39.injective.permissions.v1beta1.MsgCreateNamespaceResponse\x12\x7f\n\x0f\x44\x65leteNamespace\x12\x31.injective.permissions.v1beta1.MsgDeleteNamespace\x1a\x39.injective.permissions.v1beta1.MsgDeleteNamespaceResponse\x12\x7f\n\x0fUpdateNamespace\x12\x31.injective.permissions.v1beta1.MsgUpdateNamespace\x1a\x39.injective.permissions.v1beta1.MsgUpdateNamespaceResponse\x12\x8e\x01\n\x14UpdateNamespaceRoles\x12\x36.injective.permissions.v1beta1.MsgUpdateNamespaceRoles\x1a>.injective.permissions.v1beta1.MsgUpdateNamespaceRolesResponse\x12\x8e\x01\n\x14RevokeNamespaceRoles\x12\x36.injective.permissions.v1beta1.MsgRevokeNamespaceRoles\x1a>.injective.permissions.v1beta1.MsgRevokeNamespaceRolesResponse\x12v\n\x0c\x43laimVoucher\x12..injective.permissions.v1beta1.MsgClaimVoucher\x1a\x36.injective.permissions.v1beta1.MsgClaimVoucherResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x95\x02\n!com.injective.permissions.v1beta1B\x07TxProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.permissions.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\007TxProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\033permissions/MsgUpdateParams' - _globals['_MSGCREATENAMESPACE'].fields_by_name['sender']._loaded_options = None - _globals['_MSGCREATENAMESPACE'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGCREATENAMESPACE'].fields_by_name['namespace']._loaded_options = None - _globals['_MSGCREATENAMESPACE'].fields_by_name['namespace']._serialized_options = b'\310\336\037\000' - _globals['_MSGCREATENAMESPACE']._loaded_options = None - _globals['_MSGCREATENAMESPACE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036permissions/MsgCreateNamespace' - _globals['_MSGDELETENAMESPACE'].fields_by_name['sender']._loaded_options = None - _globals['_MSGDELETENAMESPACE'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGDELETENAMESPACE']._loaded_options = None - _globals['_MSGDELETENAMESPACE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036permissions/MsgDeleteNamespace' - _globals['_MSGUPDATENAMESPACE'].fields_by_name['sender']._loaded_options = None - _globals['_MSGUPDATENAMESPACE'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGUPDATENAMESPACE']._loaded_options = None - _globals['_MSGUPDATENAMESPACE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036permissions/MsgUpdateNamespace' - _globals['_MSGUPDATENAMESPACEROLES'].fields_by_name['sender']._loaded_options = None - _globals['_MSGUPDATENAMESPACEROLES'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGUPDATENAMESPACEROLES']._loaded_options = None - _globals['_MSGUPDATENAMESPACEROLES']._serialized_options = b'\202\347\260*\006sender\212\347\260*#permissions/MsgUpdateNamespaceRoles' - _globals['_MSGREVOKENAMESPACEROLES'].fields_by_name['sender']._loaded_options = None - _globals['_MSGREVOKENAMESPACEROLES'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGREVOKENAMESPACEROLES']._loaded_options = None - _globals['_MSGREVOKENAMESPACEROLES']._serialized_options = b'\202\347\260*\006sender\212\347\260*#permissions/MsgRevokeNamespaceRoles' - _globals['_MSGCLAIMVOUCHER'].fields_by_name['sender']._loaded_options = None - _globals['_MSGCLAIMVOUCHER'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGCLAIMVOUCHER']._loaded_options = None - _globals['_MSGCLAIMVOUCHER']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033permissions/MsgClaimVoucher' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGUPDATEPARAMS']._serialized_start=324 - _globals['_MSGUPDATEPARAMS']._serialized_end=514 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=516 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=541 - _globals['_MSGCREATENAMESPACE']._serialized_start=544 - _globals['_MSGCREATENAMESPACE']._serialized_end=733 - _globals['_MSGCREATENAMESPACERESPONSE']._serialized_start=735 - _globals['_MSGCREATENAMESPACERESPONSE']._serialized_end=763 - _globals['_MSGDELETENAMESPACE']._serialized_start=766 - _globals['_MSGDELETENAMESPACE']._serialized_end=918 - _globals['_MSGDELETENAMESPACERESPONSE']._serialized_start=920 - _globals['_MSGDELETENAMESPACERESPONSE']._serialized_end=948 - _globals['_MSGUPDATENAMESPACE']._serialized_start=951 - _globals['_MSGUPDATENAMESPACE']._serialized_end=1707 - _globals['_MSGUPDATENAMESPACE_MSGSETWASMHOOK']._serialized_start=1464 - _globals['_MSGUPDATENAMESPACE_MSGSETWASMHOOK']._serialized_end=1509 - _globals['_MSGUPDATENAMESPACE_MSGSETMINTSPAUSED']._serialized_start=1511 - _globals['_MSGUPDATENAMESPACE_MSGSETMINTSPAUSED']._serialized_end=1559 - _globals['_MSGUPDATENAMESPACE_MSGSETSENDSPAUSED']._serialized_start=1561 - _globals['_MSGUPDATENAMESPACE_MSGSETSENDSPAUSED']._serialized_end=1609 - _globals['_MSGUPDATENAMESPACE_MSGSETBURNSPAUSED']._serialized_start=1611 - _globals['_MSGUPDATENAMESPACE_MSGSETBURNSPAUSED']._serialized_end=1659 - _globals['_MSGUPDATENAMESPACERESPONSE']._serialized_start=1709 - _globals['_MSGUPDATENAMESPACERESPONSE']._serialized_end=1737 - _globals['_MSGUPDATENAMESPACEROLES']._serialized_start=1740 - _globals['_MSGUPDATENAMESPACEROLES']._serialized_end=2064 - _globals['_MSGUPDATENAMESPACEROLESRESPONSE']._serialized_start=2066 - _globals['_MSGUPDATENAMESPACEROLESRESPONSE']._serialized_end=2099 - _globals['_MSGREVOKENAMESPACEROLES']._serialized_start=2102 - _globals['_MSGREVOKENAMESPACEROLES']._serialized_end=2364 - _globals['_MSGREVOKENAMESPACEROLESRESPONSE']._serialized_start=2366 - _globals['_MSGREVOKENAMESPACEROLESRESPONSE']._serialized_end=2399 - _globals['_MSGCLAIMVOUCHER']._serialized_start=2401 - _globals['_MSGCLAIMVOUCHER']._serialized_end=2528 - _globals['_MSGCLAIMVOUCHERRESPONSE']._serialized_start=2530 - _globals['_MSGCLAIMVOUCHERRESPONSE']._serialized_end=2555 - _globals['_MSG']._serialized_start=2558 - _globals['_MSG']._serialized_end=3487 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n!com.injective.permissions.v1beta1B\007TxProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*\033permissions/MsgUpdateParams" + ) + _globals["_MSGCREATENAMESPACE"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGCREATENAMESPACE"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' + _globals["_MSGCREATENAMESPACE"].fields_by_name["namespace"]._loaded_options = None + _globals["_MSGCREATENAMESPACE"].fields_by_name["namespace"]._serialized_options = b"\310\336\037\000" + _globals["_MSGCREATENAMESPACE"]._loaded_options = None + _globals["_MSGCREATENAMESPACE"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\036permissions/MsgCreateNamespace" + ) + _globals["_MSGDELETENAMESPACE"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGDELETENAMESPACE"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' + _globals["_MSGDELETENAMESPACE"]._loaded_options = None + _globals["_MSGDELETENAMESPACE"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\036permissions/MsgDeleteNamespace" + ) + _globals["_MSGUPDATENAMESPACE"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGUPDATENAMESPACE"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' + _globals["_MSGUPDATENAMESPACE"]._loaded_options = None + _globals["_MSGUPDATENAMESPACE"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\036permissions/MsgUpdateNamespace" + ) + _globals["_MSGUPDATENAMESPACEROLES"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGUPDATENAMESPACEROLES"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' + _globals["_MSGUPDATENAMESPACEROLES"]._loaded_options = None + _globals["_MSGUPDATENAMESPACEROLES"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*#permissions/MsgUpdateNamespaceRoles" + ) + _globals["_MSGREVOKENAMESPACEROLES"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGREVOKENAMESPACEROLES"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' + _globals["_MSGREVOKENAMESPACEROLES"]._loaded_options = None + _globals["_MSGREVOKENAMESPACEROLES"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*#permissions/MsgRevokeNamespaceRoles" + ) + _globals["_MSGCLAIMVOUCHER"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGCLAIMVOUCHER"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' + _globals["_MSGCLAIMVOUCHER"]._loaded_options = None + _globals["_MSGCLAIMVOUCHER"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\033permissions/MsgClaimVoucher" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGUPDATEPARAMS"]._serialized_start = 324 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 514 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 516 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 541 + _globals["_MSGCREATENAMESPACE"]._serialized_start = 544 + _globals["_MSGCREATENAMESPACE"]._serialized_end = 733 + _globals["_MSGCREATENAMESPACERESPONSE"]._serialized_start = 735 + _globals["_MSGCREATENAMESPACERESPONSE"]._serialized_end = 763 + _globals["_MSGDELETENAMESPACE"]._serialized_start = 766 + _globals["_MSGDELETENAMESPACE"]._serialized_end = 918 + _globals["_MSGDELETENAMESPACERESPONSE"]._serialized_start = 920 + _globals["_MSGDELETENAMESPACERESPONSE"]._serialized_end = 948 + _globals["_MSGUPDATENAMESPACE"]._serialized_start = 951 + _globals["_MSGUPDATENAMESPACE"]._serialized_end = 1707 + _globals["_MSGUPDATENAMESPACE_MSGSETWASMHOOK"]._serialized_start = 1464 + _globals["_MSGUPDATENAMESPACE_MSGSETWASMHOOK"]._serialized_end = 1509 + _globals["_MSGUPDATENAMESPACE_MSGSETMINTSPAUSED"]._serialized_start = 1511 + _globals["_MSGUPDATENAMESPACE_MSGSETMINTSPAUSED"]._serialized_end = 1559 + _globals["_MSGUPDATENAMESPACE_MSGSETSENDSPAUSED"]._serialized_start = 1561 + _globals["_MSGUPDATENAMESPACE_MSGSETSENDSPAUSED"]._serialized_end = 1609 + _globals["_MSGUPDATENAMESPACE_MSGSETBURNSPAUSED"]._serialized_start = 1611 + _globals["_MSGUPDATENAMESPACE_MSGSETBURNSPAUSED"]._serialized_end = 1659 + _globals["_MSGUPDATENAMESPACERESPONSE"]._serialized_start = 1709 + _globals["_MSGUPDATENAMESPACERESPONSE"]._serialized_end = 1737 + _globals["_MSGUPDATENAMESPACEROLES"]._serialized_start = 1740 + _globals["_MSGUPDATENAMESPACEROLES"]._serialized_end = 2064 + _globals["_MSGUPDATENAMESPACEROLESRESPONSE"]._serialized_start = 2066 + _globals["_MSGUPDATENAMESPACEROLESRESPONSE"]._serialized_end = 2099 + _globals["_MSGREVOKENAMESPACEROLES"]._serialized_start = 2102 + _globals["_MSGREVOKENAMESPACEROLES"]._serialized_end = 2364 + _globals["_MSGREVOKENAMESPACEROLESRESPONSE"]._serialized_start = 2366 + _globals["_MSGREVOKENAMESPACEROLESRESPONSE"]._serialized_end = 2399 + _globals["_MSGCLAIMVOUCHER"]._serialized_start = 2401 + _globals["_MSGCLAIMVOUCHER"]._serialized_end = 2528 + _globals["_MSGCLAIMVOUCHERRESPONSE"]._serialized_start = 2530 + _globals["_MSGCLAIMVOUCHERRESPONSE"]._serialized_end = 2555 + _globals["_MSG"]._serialized_start = 2558 + _globals["_MSG"]._serialized_end = 3487 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py index dbfc052d..204ea89b 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the permissions module's gRPC message service. - """ + """Msg defines the permissions module's gRPC message service.""" def __init__(self, channel): """Constructor. @@ -16,153 +15,159 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.UpdateParams = channel.unary_unary( - '/injective.permissions.v1beta1.Msg/UpdateParams', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/injective.permissions.v1beta1.Msg/UpdateParams", + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) self.CreateNamespace = channel.unary_unary( - '/injective.permissions.v1beta1.Msg/CreateNamespace', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespace.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespaceResponse.FromString, - _registered_method=True) + "/injective.permissions.v1beta1.Msg/CreateNamespace", + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespace.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespaceResponse.FromString, + _registered_method=True, + ) self.DeleteNamespace = channel.unary_unary( - '/injective.permissions.v1beta1.Msg/DeleteNamespace', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespace.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespaceResponse.FromString, - _registered_method=True) + "/injective.permissions.v1beta1.Msg/DeleteNamespace", + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespace.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespaceResponse.FromString, + _registered_method=True, + ) self.UpdateNamespace = channel.unary_unary( - '/injective.permissions.v1beta1.Msg/UpdateNamespace', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespace.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceResponse.FromString, - _registered_method=True) + "/injective.permissions.v1beta1.Msg/UpdateNamespace", + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespace.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceResponse.FromString, + _registered_method=True, + ) self.UpdateNamespaceRoles = channel.unary_unary( - '/injective.permissions.v1beta1.Msg/UpdateNamespaceRoles', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRoles.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRolesResponse.FromString, - _registered_method=True) + "/injective.permissions.v1beta1.Msg/UpdateNamespaceRoles", + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRoles.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRolesResponse.FromString, + _registered_method=True, + ) self.RevokeNamespaceRoles = channel.unary_unary( - '/injective.permissions.v1beta1.Msg/RevokeNamespaceRoles', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRoles.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRolesResponse.FromString, - _registered_method=True) + "/injective.permissions.v1beta1.Msg/RevokeNamespaceRoles", + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRoles.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRolesResponse.FromString, + _registered_method=True, + ) self.ClaimVoucher = channel.unary_unary( - '/injective.permissions.v1beta1.Msg/ClaimVoucher', - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucher.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucherResponse.FromString, - _registered_method=True) + "/injective.permissions.v1beta1.Msg/ClaimVoucher", + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucher.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucherResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the permissions module's gRPC message service. - """ + """Msg defines the permissions module's gRPC message service.""" def UpdateParams(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CreateNamespace(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DeleteNamespace(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateNamespace(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateNamespaceRoles(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RevokeNamespaceRoles(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ClaimVoucher(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'CreateNamespace': grpc.unary_unary_rpc_method_handler( - servicer.CreateNamespace, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespace.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespaceResponse.SerializeToString, - ), - 'DeleteNamespace': grpc.unary_unary_rpc_method_handler( - servicer.DeleteNamespace, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespace.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespaceResponse.SerializeToString, - ), - 'UpdateNamespace': grpc.unary_unary_rpc_method_handler( - servicer.UpdateNamespace, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespace.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceResponse.SerializeToString, - ), - 'UpdateNamespaceRoles': grpc.unary_unary_rpc_method_handler( - servicer.UpdateNamespaceRoles, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRoles.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRolesResponse.SerializeToString, - ), - 'RevokeNamespaceRoles': grpc.unary_unary_rpc_method_handler( - servicer.RevokeNamespaceRoles, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRoles.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRolesResponse.SerializeToString, - ), - 'ClaimVoucher': grpc.unary_unary_rpc_method_handler( - servicer.ClaimVoucher, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucher.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucherResponse.SerializeToString, - ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + "CreateNamespace": grpc.unary_unary_rpc_method_handler( + servicer.CreateNamespace, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespace.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespaceResponse.SerializeToString, + ), + "DeleteNamespace": grpc.unary_unary_rpc_method_handler( + servicer.DeleteNamespace, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespace.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespaceResponse.SerializeToString, + ), + "UpdateNamespace": grpc.unary_unary_rpc_method_handler( + servicer.UpdateNamespace, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespace.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceResponse.SerializeToString, + ), + "UpdateNamespaceRoles": grpc.unary_unary_rpc_method_handler( + servicer.UpdateNamespaceRoles, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRoles.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRolesResponse.SerializeToString, + ), + "RevokeNamespaceRoles": grpc.unary_unary_rpc_method_handler( + servicer.RevokeNamespaceRoles, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRoles.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRolesResponse.SerializeToString, + ), + "ClaimVoucher": grpc.unary_unary_rpc_method_handler( + servicer.ClaimVoucher, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucher.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucherResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.permissions.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("injective.permissions.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.permissions.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("injective.permissions.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the permissions module's gRPC message service. - """ + """Msg defines the permissions module's gRPC message service.""" @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.permissions.v1beta1.Msg/UpdateParams', + "/injective.permissions.v1beta1.Msg/UpdateParams", injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -173,23 +178,26 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CreateNamespace(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreateNamespace( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.permissions.v1beta1.Msg/CreateNamespace', + "/injective.permissions.v1beta1.Msg/CreateNamespace", injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespace.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespaceResponse.FromString, options, @@ -200,23 +208,26 @@ def CreateNamespace(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DeleteNamespace(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DeleteNamespace( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.permissions.v1beta1.Msg/DeleteNamespace', + "/injective.permissions.v1beta1.Msg/DeleteNamespace", injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespace.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespaceResponse.FromString, options, @@ -227,23 +238,26 @@ def DeleteNamespace(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateNamespace(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateNamespace( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.permissions.v1beta1.Msg/UpdateNamespace', + "/injective.permissions.v1beta1.Msg/UpdateNamespace", injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespace.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceResponse.FromString, options, @@ -254,23 +268,26 @@ def UpdateNamespace(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateNamespaceRoles(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateNamespaceRoles( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.permissions.v1beta1.Msg/UpdateNamespaceRoles', + "/injective.permissions.v1beta1.Msg/UpdateNamespaceRoles", injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRoles.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRolesResponse.FromString, options, @@ -281,23 +298,26 @@ def UpdateNamespaceRoles(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RevokeNamespaceRoles(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RevokeNamespaceRoles( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.permissions.v1beta1.Msg/RevokeNamespaceRoles', + "/injective.permissions.v1beta1.Msg/RevokeNamespaceRoles", injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRoles.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRolesResponse.FromString, options, @@ -308,23 +328,26 @@ def RevokeNamespaceRoles(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ClaimVoucher(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ClaimVoucher( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.permissions.v1beta1.Msg/ClaimVoucher', + "/injective.permissions.v1beta1.Msg/ClaimVoucher", injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucher.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucherResponse.FromString, options, @@ -335,4 +358,5 @@ def ClaimVoucher(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/injective/stream/v1beta1/query_pb2.py b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py index e2952511..b15e114c 100644 --- a/pyinjective/proto/injective/stream/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -14,128 +15,160 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.exchange.v1beta1 import events_pb2 as injective_dot_exchange_dot_v1beta1_dot_events__pb2 -from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 +from pyinjective.proto.injective.exchange.v1beta1 import ( + events_pb2 as injective_dot_exchange_dot_v1beta1_dot_events__pb2, +) +from pyinjective.proto.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\"\x82\n\n\rStreamRequest\x12\x64\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32,.injective.stream.v1beta1.BankBalancesFilterB\x04\xc8\xde\x1f\x01R\x12\x62\x61nkBalancesFilter\x12v\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32\x32.injective.stream.v1beta1.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01R\x18subaccountDepositsFilter\x12Z\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01R\x10spotTradesFilter\x12\x66\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01R\x16\x64\x65rivativeTradesFilter\x12Z\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01R\x10spotOrdersFilter\x12\x66\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01R\x16\x64\x65rivativeOrdersFilter\x12\x65\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01R\x14spotOrderbooksFilter\x12q\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01R\x1a\x64\x65rivativeOrderbooksFilter\x12Z\n\x10positions_filter\x18\t \x01(\x0b\x32).injective.stream.v1beta1.PositionsFilterB\x04\xc8\xde\x1f\x01R\x0fpositionsFilter\x12\x61\n\x13oracle_price_filter\x18\n \x01(\x0b\x32+.injective.stream.v1beta1.OraclePriceFilterB\x04\xc8\xde\x1f\x01R\x11oraclePriceFilter\x12r\n\x1b\x66ull_spot_orderbooks_filter\x18\x0b \x01(\x0b\x32-.injective.stream.v1beta1.FullOrderbookFilterB\x04\xc8\xde\x1f\x01R\x18\x66ullSpotOrderbooksFilter\x12~\n!full_derivative_orderbooks_filter\x18\x0c \x01(\x0b\x32-.injective.stream.v1beta1.FullOrderbookFilterB\x04\xc8\xde\x1f\x01R\x1e\x66ullDerivativeOrderbooksFilter\"\x89\t\n\x0eStreamResponse\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\x12\x1d\n\nblock_time\x18\x02 \x01(\x03R\tblockTime\x12J\n\rbank_balances\x18\x03 \x03(\x0b\x32%.injective.stream.v1beta1.BankBalanceR\x0c\x62\x61nkBalances\x12]\n\x13subaccount_deposits\x18\x04 \x03(\x0b\x32,.injective.stream.v1beta1.SubaccountDepositsR\x12subaccountDeposits\x12\x44\n\x0bspot_trades\x18\x05 \x03(\x0b\x32#.injective.stream.v1beta1.SpotTradeR\nspotTrades\x12V\n\x11\x64\x65rivative_trades\x18\x06 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeTradeR\x10\x64\x65rivativeTrades\x12J\n\x0bspot_orders\x18\x07 \x03(\x0b\x32).injective.stream.v1beta1.SpotOrderUpdateR\nspotOrders\x12\\\n\x11\x64\x65rivative_orders\x18\x08 \x03(\x0b\x32/.injective.stream.v1beta1.DerivativeOrderUpdateR\x10\x64\x65rivativeOrders\x12_\n\x16spot_orderbook_updates\x18\t \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdateR\x14spotOrderbookUpdates\x12k\n\x1c\x64\x65rivative_orderbook_updates\x18\n \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdateR\x1a\x64\x65rivativeOrderbookUpdates\x12@\n\tpositions\x18\x0b \x03(\x0b\x32\".injective.stream.v1beta1.PositionR\tpositions\x12J\n\roracle_prices\x18\x0c \x03(\x0b\x32%.injective.stream.v1beta1.OraclePriceR\x0coraclePrices\x12l\n\x1b\x66ull_spot_orderbook_updates\x18\r \x03(\x0b\x32-.injective.stream.v1beta1.FullOrderbookUpdateR\x18\x66ullSpotOrderbookUpdates\x12x\n!full_derivative_orderbook_updates\x18\x0e \x03(\x0b\x32-.injective.stream.v1beta1.FullOrderbookUpdateR\x1e\x66ullDerivativeOrderbookUpdates\"n\n\x13\x46ullOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x45\n\torderbook\x18\x02 \x01(\x0b\x32\'.injective.stream.v1beta1.FullOrderbookR\torderbook\"f\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x41\n\torderbook\x18\x02 \x01(\x0b\x32#.injective.stream.v1beta1.OrderbookR\torderbook\"\xae\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12@\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\tbuyLevels\x12\x42\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\nsellLevels\"\xb4\x01\n\rFullOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x04\x62uys\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x62uys\x12\x43\n\x05sells\x18\x03 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x05sells\"\x90\x01\n\x0b\x42\x61nkBalance\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12g\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.CoinsR\x08\x62\x61lances\"\x88\x01\n\x12SubaccountDeposits\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12M\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32+.injective.stream.v1beta1.SubaccountDepositB\x04\xc8\xde\x1f\x00R\x08\x64\x65posits\"n\n\x11SubaccountDeposit\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x43\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit\"\xc2\x01\n\x0fSpotOrderUpdate\x12\x43\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatusR\x06status\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12\x39\n\x05order\x18\x04 \x01(\x0b\x32#.injective.stream.v1beta1.SpotOrderR\x05order\"p\n\tSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\"\xce\x01\n\x15\x44\x65rivativeOrderUpdate\x12\x43\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatusR\x06status\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12?\n\x05order\x18\x04 \x01(\x0b\x32).injective.stream.v1beta1.DerivativeOrderR\x05order\"\x99\x01\n\x0f\x44\x65rivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\x05order\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\x12\x1b\n\tis_market\x18\x03 \x01(\x08R\x08isMarket\"\x87\x03\n\x08Position\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x16\n\x06isLong\x18\x03 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12;\n\x06margin\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12]\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16\x63umulativeFundingEntry\"t\n\x0bOraclePrice\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\"\xc3\x03\n\tSpotTrade\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12$\n\rexecutionType\x18\x03 \x01(\tR\rexecutionType\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12#\n\rsubaccount_id\x18\x06 \x01(\tR\x0csubaccountId\x12\x35\n\x03\x66\x65\x65\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x08 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\n \x01(\tR\x03\x63id\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\"\xdc\x03\n\x0f\x44\x65rivativeTrade\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12$\n\rexecutionType\x18\x03 \x01(\tR\rexecutionType\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12P\n\x0eposition_delta\x18\x05 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaR\rpositionDelta\x12;\n\x06payout\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout\x12\x35\n\x03\x66\x65\x65\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x08 \x01(\tR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\n \x01(\tR\x03\x63id\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\"T\n\x0cTradesFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"W\n\x0fPositionsFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"T\n\x0cOrdersFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"0\n\x0fOrderbookFilter\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"4\n\x13\x46ullOrderbookFilter\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"0\n\x12\x42\x61nkBalancesFilter\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\"A\n\x18SubaccountDepositsFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\"+\n\x11OraclePriceFilter\x12\x16\n\x06symbol\x18\x01 \x03(\tR\x06symbol*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\xf2\x01\n\x1c\x63om.injective.stream.v1beta1B\nQueryProtoP\x01ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/types\xa2\x02\x03ISX\xaa\x02\x18Injective.Stream.V1beta1\xca\x02\x18Injective\\Stream\\V1beta1\xe2\x02$Injective\\Stream\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Stream::V1beta1b\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"\x82\n\n\rStreamRequest\x12\x64\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32,.injective.stream.v1beta1.BankBalancesFilterB\x04\xc8\xde\x1f\x01R\x12\x62\x61nkBalancesFilter\x12v\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32\x32.injective.stream.v1beta1.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01R\x18subaccountDepositsFilter\x12Z\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01R\x10spotTradesFilter\x12\x66\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01R\x16\x64\x65rivativeTradesFilter\x12Z\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01R\x10spotOrdersFilter\x12\x66\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01R\x16\x64\x65rivativeOrdersFilter\x12\x65\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01R\x14spotOrderbooksFilter\x12q\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01R\x1a\x64\x65rivativeOrderbooksFilter\x12Z\n\x10positions_filter\x18\t \x01(\x0b\x32).injective.stream.v1beta1.PositionsFilterB\x04\xc8\xde\x1f\x01R\x0fpositionsFilter\x12\x61\n\x13oracle_price_filter\x18\n \x01(\x0b\x32+.injective.stream.v1beta1.OraclePriceFilterB\x04\xc8\xde\x1f\x01R\x11oraclePriceFilter\x12r\n\x1b\x66ull_spot_orderbooks_filter\x18\x0b \x01(\x0b\x32-.injective.stream.v1beta1.FullOrderbookFilterB\x04\xc8\xde\x1f\x01R\x18\x66ullSpotOrderbooksFilter\x12~\n!full_derivative_orderbooks_filter\x18\x0c \x01(\x0b\x32-.injective.stream.v1beta1.FullOrderbookFilterB\x04\xc8\xde\x1f\x01R\x1e\x66ullDerivativeOrderbooksFilter"\x89\t\n\x0eStreamResponse\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\x12\x1d\n\nblock_time\x18\x02 \x01(\x03R\tblockTime\x12J\n\rbank_balances\x18\x03 \x03(\x0b\x32%.injective.stream.v1beta1.BankBalanceR\x0c\x62\x61nkBalances\x12]\n\x13subaccount_deposits\x18\x04 \x03(\x0b\x32,.injective.stream.v1beta1.SubaccountDepositsR\x12subaccountDeposits\x12\x44\n\x0bspot_trades\x18\x05 \x03(\x0b\x32#.injective.stream.v1beta1.SpotTradeR\nspotTrades\x12V\n\x11\x64\x65rivative_trades\x18\x06 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeTradeR\x10\x64\x65rivativeTrades\x12J\n\x0bspot_orders\x18\x07 \x03(\x0b\x32).injective.stream.v1beta1.SpotOrderUpdateR\nspotOrders\x12\\\n\x11\x64\x65rivative_orders\x18\x08 \x03(\x0b\x32/.injective.stream.v1beta1.DerivativeOrderUpdateR\x10\x64\x65rivativeOrders\x12_\n\x16spot_orderbook_updates\x18\t \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdateR\x14spotOrderbookUpdates\x12k\n\x1c\x64\x65rivative_orderbook_updates\x18\n \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdateR\x1a\x64\x65rivativeOrderbookUpdates\x12@\n\tpositions\x18\x0b \x03(\x0b\x32".injective.stream.v1beta1.PositionR\tpositions\x12J\n\roracle_prices\x18\x0c \x03(\x0b\x32%.injective.stream.v1beta1.OraclePriceR\x0coraclePrices\x12l\n\x1b\x66ull_spot_orderbook_updates\x18\r \x03(\x0b\x32-.injective.stream.v1beta1.FullOrderbookUpdateR\x18\x66ullSpotOrderbookUpdates\x12x\n!full_derivative_orderbook_updates\x18\x0e \x03(\x0b\x32-.injective.stream.v1beta1.FullOrderbookUpdateR\x1e\x66ullDerivativeOrderbookUpdates"n\n\x13\x46ullOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x45\n\torderbook\x18\x02 \x01(\x0b\x32\'.injective.stream.v1beta1.FullOrderbookR\torderbook"f\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x41\n\torderbook\x18\x02 \x01(\x0b\x32#.injective.stream.v1beta1.OrderbookR\torderbook"\xae\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12@\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\tbuyLevels\x12\x42\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\nsellLevels"\xb4\x01\n\rFullOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x04\x62uys\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x62uys\x12\x43\n\x05sells\x18\x03 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x05sells"\x90\x01\n\x0b\x42\x61nkBalance\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12g\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.CoinsR\x08\x62\x61lances"\x88\x01\n\x12SubaccountDeposits\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12M\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32+.injective.stream.v1beta1.SubaccountDepositB\x04\xc8\xde\x1f\x00R\x08\x64\x65posits"n\n\x11SubaccountDeposit\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x43\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit"\xc2\x01\n\x0fSpotOrderUpdate\x12\x43\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatusR\x06status\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12\x39\n\x05order\x18\x04 \x01(\x0b\x32#.injective.stream.v1beta1.SpotOrderR\x05order"p\n\tSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order"\xce\x01\n\x15\x44\x65rivativeOrderUpdate\x12\x43\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatusR\x06status\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12?\n\x05order\x18\x04 \x01(\x0b\x32).injective.stream.v1beta1.DerivativeOrderR\x05order"\x99\x01\n\x0f\x44\x65rivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\x05order\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\x12\x1b\n\tis_market\x18\x03 \x01(\x08R\x08isMarket"\x87\x03\n\x08Position\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x16\n\x06isLong\x18\x03 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12;\n\x06margin\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12]\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16\x63umulativeFundingEntry"t\n\x0bOraclePrice\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type"\xc3\x03\n\tSpotTrade\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12$\n\rexecutionType\x18\x03 \x01(\tR\rexecutionType\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12#\n\rsubaccount_id\x18\x06 \x01(\tR\x0csubaccountId\x12\x35\n\x03\x66\x65\x65\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x08 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\n \x01(\tR\x03\x63id\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId"\xdc\x03\n\x0f\x44\x65rivativeTrade\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12$\n\rexecutionType\x18\x03 \x01(\tR\rexecutionType\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12P\n\x0eposition_delta\x18\x05 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaR\rpositionDelta\x12;\n\x06payout\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout\x12\x35\n\x03\x66\x65\x65\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x08 \x01(\tR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\n \x01(\tR\x03\x63id\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId"T\n\x0cTradesFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds"W\n\x0fPositionsFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds"T\n\x0cOrdersFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds"0\n\x0fOrderbookFilter\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds"4\n\x13\x46ullOrderbookFilter\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds"0\n\x12\x42\x61nkBalancesFilter\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts"A\n\x18SubaccountDepositsFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds"+\n\x11OraclePriceFilter\x12\x16\n\x06symbol\x18\x01 \x03(\tR\x06symbol*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\xf2\x01\n\x1c\x63om.injective.stream.v1beta1B\nQueryProtoP\x01ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/types\xa2\x02\x03ISX\xaa\x02\x18Injective.Stream.V1beta1\xca\x02\x18Injective\\Stream\\V1beta1\xe2\x02$Injective\\Stream\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Stream::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.stream.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.stream.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.stream.v1beta1B\nQueryProtoP\001ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/types\242\002\003ISX\252\002\030Injective.Stream.V1beta1\312\002\030Injective\\Stream\\V1beta1\342\002$Injective\\Stream\\V1beta1\\GPBMetadata\352\002\032Injective::Stream::V1beta1' - _globals['_STREAMREQUEST'].fields_by_name['bank_balances_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['bank_balances_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['subaccount_deposits_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['subaccount_deposits_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['spot_trades_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['spot_trades_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['derivative_trades_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['derivative_trades_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['spot_orders_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['spot_orders_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['derivative_orders_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['derivative_orders_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['spot_orderbooks_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['spot_orderbooks_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['derivative_orderbooks_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['derivative_orderbooks_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['positions_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['positions_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['oracle_price_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['oracle_price_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['full_spot_orderbooks_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['full_spot_orderbooks_filter']._serialized_options = b'\310\336\037\001' - _globals['_STREAMREQUEST'].fields_by_name['full_derivative_orderbooks_filter']._loaded_options = None - _globals['_STREAMREQUEST'].fields_by_name['full_derivative_orderbooks_filter']._serialized_options = b'\310\336\037\001' - _globals['_BANKBALANCE'].fields_by_name['balances']._loaded_options = None - _globals['_BANKBALANCE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_SUBACCOUNTDEPOSITS'].fields_by_name['deposits']._loaded_options = None - _globals['_SUBACCOUNTDEPOSITS'].fields_by_name['deposits']._serialized_options = b'\310\336\037\000' - _globals['_SUBACCOUNTDEPOSIT'].fields_by_name['deposit']._loaded_options = None - _globals['_SUBACCOUNTDEPOSIT'].fields_by_name['deposit']._serialized_options = b'\310\336\037\000' - _globals['_SPOTORDER'].fields_by_name['order']._loaded_options = None - _globals['_SPOTORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_DERIVATIVEORDER'].fields_by_name['order']._loaded_options = None - _globals['_DERIVATIVEORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' - _globals['_POSITION'].fields_by_name['quantity']._loaded_options = None - _globals['_POSITION'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITION'].fields_by_name['entry_price']._loaded_options = None - _globals['_POSITION'].fields_by_name['entry_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITION'].fields_by_name['margin']._loaded_options = None - _globals['_POSITION'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_POSITION'].fields_by_name['cumulative_funding_entry']._loaded_options = None - _globals['_POSITION'].fields_by_name['cumulative_funding_entry']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_ORACLEPRICE'].fields_by_name['price']._loaded_options = None - _globals['_ORACLEPRICE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTTRADE'].fields_by_name['quantity']._loaded_options = None - _globals['_SPOTTRADE'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTTRADE'].fields_by_name['price']._loaded_options = None - _globals['_SPOTTRADE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTTRADE'].fields_by_name['fee']._loaded_options = None - _globals['_SPOTTRADE'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_SPOTTRADE'].fields_by_name['fee_recipient_address']._loaded_options = None - _globals['_SPOTTRADE'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' - _globals['_DERIVATIVETRADE'].fields_by_name['payout']._loaded_options = None - _globals['_DERIVATIVETRADE'].fields_by_name['payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVETRADE'].fields_by_name['fee']._loaded_options = None - _globals['_DERIVATIVETRADE'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_DERIVATIVETRADE'].fields_by_name['fee_recipient_address']._loaded_options = None - _globals['_DERIVATIVETRADE'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' - _globals['_ORDERUPDATESTATUS']._serialized_start=6275 - _globals['_ORDERUPDATESTATUS']._serialized_end=6351 - _globals['_STREAMREQUEST']._serialized_start=205 - _globals['_STREAMREQUEST']._serialized_end=1487 - _globals['_STREAMRESPONSE']._serialized_start=1490 - _globals['_STREAMRESPONSE']._serialized_end=2651 - _globals['_FULLORDERBOOKUPDATE']._serialized_start=2653 - _globals['_FULLORDERBOOKUPDATE']._serialized_end=2763 - _globals['_ORDERBOOKUPDATE']._serialized_start=2765 - _globals['_ORDERBOOKUPDATE']._serialized_end=2867 - _globals['_ORDERBOOK']._serialized_start=2870 - _globals['_ORDERBOOK']._serialized_end=3044 - _globals['_FULLORDERBOOK']._serialized_start=3047 - _globals['_FULLORDERBOOK']._serialized_end=3227 - _globals['_BANKBALANCE']._serialized_start=3230 - _globals['_BANKBALANCE']._serialized_end=3374 - _globals['_SUBACCOUNTDEPOSITS']._serialized_start=3377 - _globals['_SUBACCOUNTDEPOSITS']._serialized_end=3513 - _globals['_SUBACCOUNTDEPOSIT']._serialized_start=3515 - _globals['_SUBACCOUNTDEPOSIT']._serialized_end=3625 - _globals['_SPOTORDERUPDATE']._serialized_start=3628 - _globals['_SPOTORDERUPDATE']._serialized_end=3822 - _globals['_SPOTORDER']._serialized_start=3824 - _globals['_SPOTORDER']._serialized_end=3936 - _globals['_DERIVATIVEORDERUPDATE']._serialized_start=3939 - _globals['_DERIVATIVEORDERUPDATE']._serialized_end=4145 - _globals['_DERIVATIVEORDER']._serialized_start=4148 - _globals['_DERIVATIVEORDER']._serialized_end=4301 - _globals['_POSITION']._serialized_start=4304 - _globals['_POSITION']._serialized_end=4695 - _globals['_ORACLEPRICE']._serialized_start=4697 - _globals['_ORACLEPRICE']._serialized_end=4813 - _globals['_SPOTTRADE']._serialized_start=4816 - _globals['_SPOTTRADE']._serialized_end=5267 - _globals['_DERIVATIVETRADE']._serialized_start=5270 - _globals['_DERIVATIVETRADE']._serialized_end=5746 - _globals['_TRADESFILTER']._serialized_start=5748 - _globals['_TRADESFILTER']._serialized_end=5832 - _globals['_POSITIONSFILTER']._serialized_start=5834 - _globals['_POSITIONSFILTER']._serialized_end=5921 - _globals['_ORDERSFILTER']._serialized_start=5923 - _globals['_ORDERSFILTER']._serialized_end=6007 - _globals['_ORDERBOOKFILTER']._serialized_start=6009 - _globals['_ORDERBOOKFILTER']._serialized_end=6057 - _globals['_FULLORDERBOOKFILTER']._serialized_start=6059 - _globals['_FULLORDERBOOKFILTER']._serialized_end=6111 - _globals['_BANKBALANCESFILTER']._serialized_start=6113 - _globals['_BANKBALANCESFILTER']._serialized_end=6161 - _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_start=6163 - _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_end=6228 - _globals['_ORACLEPRICEFILTER']._serialized_start=6230 - _globals['_ORACLEPRICEFILTER']._serialized_end=6273 - _globals['_STREAM']._serialized_start=6353 - _globals['_STREAM']._serialized_end=6456 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\034com.injective.stream.v1beta1B\nQueryProtoP\001ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/types\242\002\003ISX\252\002\030Injective.Stream.V1beta1\312\002\030Injective\\Stream\\V1beta1\342\002$Injective\\Stream\\V1beta1\\GPBMetadata\352\002\032Injective::Stream::V1beta1" + ) + _globals["_STREAMREQUEST"].fields_by_name["bank_balances_filter"]._loaded_options = None + _globals["_STREAMREQUEST"].fields_by_name["bank_balances_filter"]._serialized_options = b"\310\336\037\001" + _globals["_STREAMREQUEST"].fields_by_name["subaccount_deposits_filter"]._loaded_options = None + _globals["_STREAMREQUEST"].fields_by_name["subaccount_deposits_filter"]._serialized_options = b"\310\336\037\001" + _globals["_STREAMREQUEST"].fields_by_name["spot_trades_filter"]._loaded_options = None + _globals["_STREAMREQUEST"].fields_by_name["spot_trades_filter"]._serialized_options = b"\310\336\037\001" + _globals["_STREAMREQUEST"].fields_by_name["derivative_trades_filter"]._loaded_options = None + _globals["_STREAMREQUEST"].fields_by_name["derivative_trades_filter"]._serialized_options = b"\310\336\037\001" + _globals["_STREAMREQUEST"].fields_by_name["spot_orders_filter"]._loaded_options = None + _globals["_STREAMREQUEST"].fields_by_name["spot_orders_filter"]._serialized_options = b"\310\336\037\001" + _globals["_STREAMREQUEST"].fields_by_name["derivative_orders_filter"]._loaded_options = None + _globals["_STREAMREQUEST"].fields_by_name["derivative_orders_filter"]._serialized_options = b"\310\336\037\001" + _globals["_STREAMREQUEST"].fields_by_name["spot_orderbooks_filter"]._loaded_options = None + _globals["_STREAMREQUEST"].fields_by_name["spot_orderbooks_filter"]._serialized_options = b"\310\336\037\001" + _globals["_STREAMREQUEST"].fields_by_name["derivative_orderbooks_filter"]._loaded_options = None + _globals["_STREAMREQUEST"].fields_by_name["derivative_orderbooks_filter"]._serialized_options = b"\310\336\037\001" + _globals["_STREAMREQUEST"].fields_by_name["positions_filter"]._loaded_options = None + _globals["_STREAMREQUEST"].fields_by_name["positions_filter"]._serialized_options = b"\310\336\037\001" + _globals["_STREAMREQUEST"].fields_by_name["oracle_price_filter"]._loaded_options = None + _globals["_STREAMREQUEST"].fields_by_name["oracle_price_filter"]._serialized_options = b"\310\336\037\001" + _globals["_STREAMREQUEST"].fields_by_name["full_spot_orderbooks_filter"]._loaded_options = None + _globals["_STREAMREQUEST"].fields_by_name["full_spot_orderbooks_filter"]._serialized_options = b"\310\336\037\001" + _globals["_STREAMREQUEST"].fields_by_name["full_derivative_orderbooks_filter"]._loaded_options = None + _globals["_STREAMREQUEST"].fields_by_name[ + "full_derivative_orderbooks_filter" + ]._serialized_options = b"\310\336\037\001" + _globals["_BANKBALANCE"].fields_by_name["balances"]._loaded_options = None + _globals["_BANKBALANCE"].fields_by_name[ + "balances" + ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" + _globals["_SUBACCOUNTDEPOSITS"].fields_by_name["deposits"]._loaded_options = None + _globals["_SUBACCOUNTDEPOSITS"].fields_by_name["deposits"]._serialized_options = b"\310\336\037\000" + _globals["_SUBACCOUNTDEPOSIT"].fields_by_name["deposit"]._loaded_options = None + _globals["_SUBACCOUNTDEPOSIT"].fields_by_name["deposit"]._serialized_options = b"\310\336\037\000" + _globals["_SPOTORDER"].fields_by_name["order"]._loaded_options = None + _globals["_SPOTORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" + _globals["_DERIVATIVEORDER"].fields_by_name["order"]._loaded_options = None + _globals["_DERIVATIVEORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" + _globals["_POSITION"].fields_by_name["quantity"]._loaded_options = None + _globals["_POSITION"].fields_by_name[ + "quantity" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_POSITION"].fields_by_name["entry_price"]._loaded_options = None + _globals["_POSITION"].fields_by_name[ + "entry_price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_POSITION"].fields_by_name["margin"]._loaded_options = None + _globals["_POSITION"].fields_by_name[ + "margin" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_POSITION"].fields_by_name["cumulative_funding_entry"]._loaded_options = None + _globals["_POSITION"].fields_by_name[ + "cumulative_funding_entry" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_ORACLEPRICE"].fields_by_name["price"]._loaded_options = None + _globals["_ORACLEPRICE"].fields_by_name[ + "price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTTRADE"].fields_by_name["quantity"]._loaded_options = None + _globals["_SPOTTRADE"].fields_by_name[ + "quantity" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTTRADE"].fields_by_name["price"]._loaded_options = None + _globals["_SPOTTRADE"].fields_by_name[ + "price" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTTRADE"].fields_by_name["fee"]._loaded_options = None + _globals["_SPOTTRADE"].fields_by_name[ + "fee" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_SPOTTRADE"].fields_by_name["fee_recipient_address"]._loaded_options = None + _globals["_SPOTTRADE"].fields_by_name["fee_recipient_address"]._serialized_options = b"\310\336\037\001" + _globals["_DERIVATIVETRADE"].fields_by_name["payout"]._loaded_options = None + _globals["_DERIVATIVETRADE"].fields_by_name[ + "payout" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVETRADE"].fields_by_name["fee"]._loaded_options = None + _globals["_DERIVATIVETRADE"].fields_by_name[ + "fee" + ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" + _globals["_DERIVATIVETRADE"].fields_by_name["fee_recipient_address"]._loaded_options = None + _globals["_DERIVATIVETRADE"].fields_by_name["fee_recipient_address"]._serialized_options = b"\310\336\037\001" + _globals["_ORDERUPDATESTATUS"]._serialized_start = 6275 + _globals["_ORDERUPDATESTATUS"]._serialized_end = 6351 + _globals["_STREAMREQUEST"]._serialized_start = 205 + _globals["_STREAMREQUEST"]._serialized_end = 1487 + _globals["_STREAMRESPONSE"]._serialized_start = 1490 + _globals["_STREAMRESPONSE"]._serialized_end = 2651 + _globals["_FULLORDERBOOKUPDATE"]._serialized_start = 2653 + _globals["_FULLORDERBOOKUPDATE"]._serialized_end = 2763 + _globals["_ORDERBOOKUPDATE"]._serialized_start = 2765 + _globals["_ORDERBOOKUPDATE"]._serialized_end = 2867 + _globals["_ORDERBOOK"]._serialized_start = 2870 + _globals["_ORDERBOOK"]._serialized_end = 3044 + _globals["_FULLORDERBOOK"]._serialized_start = 3047 + _globals["_FULLORDERBOOK"]._serialized_end = 3227 + _globals["_BANKBALANCE"]._serialized_start = 3230 + _globals["_BANKBALANCE"]._serialized_end = 3374 + _globals["_SUBACCOUNTDEPOSITS"]._serialized_start = 3377 + _globals["_SUBACCOUNTDEPOSITS"]._serialized_end = 3513 + _globals["_SUBACCOUNTDEPOSIT"]._serialized_start = 3515 + _globals["_SUBACCOUNTDEPOSIT"]._serialized_end = 3625 + _globals["_SPOTORDERUPDATE"]._serialized_start = 3628 + _globals["_SPOTORDERUPDATE"]._serialized_end = 3822 + _globals["_SPOTORDER"]._serialized_start = 3824 + _globals["_SPOTORDER"]._serialized_end = 3936 + _globals["_DERIVATIVEORDERUPDATE"]._serialized_start = 3939 + _globals["_DERIVATIVEORDERUPDATE"]._serialized_end = 4145 + _globals["_DERIVATIVEORDER"]._serialized_start = 4148 + _globals["_DERIVATIVEORDER"]._serialized_end = 4301 + _globals["_POSITION"]._serialized_start = 4304 + _globals["_POSITION"]._serialized_end = 4695 + _globals["_ORACLEPRICE"]._serialized_start = 4697 + _globals["_ORACLEPRICE"]._serialized_end = 4813 + _globals["_SPOTTRADE"]._serialized_start = 4816 + _globals["_SPOTTRADE"]._serialized_end = 5267 + _globals["_DERIVATIVETRADE"]._serialized_start = 5270 + _globals["_DERIVATIVETRADE"]._serialized_end = 5746 + _globals["_TRADESFILTER"]._serialized_start = 5748 + _globals["_TRADESFILTER"]._serialized_end = 5832 + _globals["_POSITIONSFILTER"]._serialized_start = 5834 + _globals["_POSITIONSFILTER"]._serialized_end = 5921 + _globals["_ORDERSFILTER"]._serialized_start = 5923 + _globals["_ORDERSFILTER"]._serialized_end = 6007 + _globals["_ORDERBOOKFILTER"]._serialized_start = 6009 + _globals["_ORDERBOOKFILTER"]._serialized_end = 6057 + _globals["_FULLORDERBOOKFILTER"]._serialized_start = 6059 + _globals["_FULLORDERBOOKFILTER"]._serialized_end = 6111 + _globals["_BANKBALANCESFILTER"]._serialized_start = 6113 + _globals["_BANKBALANCESFILTER"]._serialized_end = 6161 + _globals["_SUBACCOUNTDEPOSITSFILTER"]._serialized_start = 6163 + _globals["_SUBACCOUNTDEPOSITSFILTER"]._serialized_end = 6228 + _globals["_ORACLEPRICEFILTER"]._serialized_start = 6230 + _globals["_ORACLEPRICEFILTER"]._serialized_end = 6273 + _globals["_STREAM"]._serialized_start = 6353 + _globals["_STREAM"]._serialized_end = 6456 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py index d60a571a..e93cc19c 100644 --- a/pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class StreamStub(object): - """ChainStream defines the gRPC streaming service. - """ + """ChainStream defines the gRPC streaming service.""" def __init__(self, channel): """Constructor. @@ -16,57 +15,57 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Stream = channel.unary_stream( - '/injective.stream.v1beta1.Stream/Stream', - request_serializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamRequest.SerializeToString, - response_deserializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamResponse.FromString, - _registered_method=True) + "/injective.stream.v1beta1.Stream/Stream", + request_serializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamRequest.SerializeToString, + response_deserializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamResponse.FromString, + _registered_method=True, + ) class StreamServicer(object): - """ChainStream defines the gRPC streaming service. - """ + """ChainStream defines the gRPC streaming service.""" def Stream(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_StreamServicer_to_server(servicer, server): rpc_method_handlers = { - 'Stream': grpc.unary_stream_rpc_method_handler( - servicer.Stream, - request_deserializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamRequest.FromString, - response_serializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamResponse.SerializeToString, - ), + "Stream": grpc.unary_stream_rpc_method_handler( + servicer.Stream, + request_deserializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamRequest.FromString, + response_serializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.stream.v1beta1.Stream', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("injective.stream.v1beta1.Stream", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.stream.v1beta1.Stream', rpc_method_handlers) + server.add_registered_method_handlers("injective.stream.v1beta1.Stream", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Stream(object): - """ChainStream defines the gRPC streaming service. - """ + """ChainStream defines the gRPC streaming service.""" @staticmethod - def Stream(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Stream( + 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, - '/injective.stream.v1beta1.Stream/Stream', + "/injective.stream.v1beta1.Stream/Stream", injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamRequest.SerializeToString, injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamResponse.FromString, options, @@ -77,4 +76,5 @@ def Stream(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py index 00205780..d241e3a0 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,18 +17,22 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6injective/tokenfactory/v1beta1/authorityMetadata.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"F\n\x16\x44\x65nomAuthorityMetadata\x12&\n\x05\x61\x64min\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"admin\"R\x05\x61\x64min:\x04\xe8\xa0\x1f\x01\x42\xaa\x02\n\"com.injective.tokenfactory.v1beta1B\x16\x41uthorityMetadataProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n6injective/tokenfactory/v1beta1/authorityMetadata.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"F\n\x16\x44\x65nomAuthorityMetadata\x12&\n\x05\x61\x64min\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:"admin"R\x05\x61\x64min:\x04\xe8\xa0\x1f\x01\x42\xaa\x02\n"com.injective.tokenfactory.v1beta1B\x16\x41uthorityMetadataProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.authorityMetadata_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.tokenfactory.v1beta1.authorityMetadata_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\026AuthorityMetadataProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - _globals['_DENOMAUTHORITYMETADATA'].fields_by_name['admin']._loaded_options = None - _globals['_DENOMAUTHORITYMETADATA'].fields_by_name['admin']._serialized_options = b'\362\336\037\014yaml:\"admin\"' - _globals['_DENOMAUTHORITYMETADATA']._loaded_options = None - _globals['_DENOMAUTHORITYMETADATA']._serialized_options = b'\350\240\037\001' - _globals['_DENOMAUTHORITYMETADATA']._serialized_start=144 - _globals['_DENOMAUTHORITYMETADATA']._serialized_end=214 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n"com.injective.tokenfactory.v1beta1B\026AuthorityMetadataProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + ) + _globals["_DENOMAUTHORITYMETADATA"].fields_by_name["admin"]._loaded_options = None + _globals["_DENOMAUTHORITYMETADATA"].fields_by_name["admin"]._serialized_options = b'\362\336\037\014yaml:"admin"' + _globals["_DENOMAUTHORITYMETADATA"]._loaded_options = None + _globals["_DENOMAUTHORITYMETADATA"]._serialized_options = b"\350\240\037\001" + _globals["_DENOMAUTHORITYMETADATA"]._serialized_start = 144 + _globals["_DENOMAUTHORITYMETADATA"]._serialized_end = 214 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2_grpc.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py index 8ef8bf5c..c7ffc815 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,31 +16,37 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+injective/tokenfactory/v1beta1/events.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\"D\n\x12\x45ventCreateTFDenom\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\"x\n\x10\x45ventMintTFDenom\x12+\n\x11recipient_address\x18\x01 \x01(\tR\x10recipientAddress\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"p\n\x0e\x45ventBurnDenom\x12%\n\x0e\x62urner_address\x18\x01 \x01(\tR\rburnerAddress\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"V\n\x12\x45ventChangeTFAdmin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12*\n\x11new_admin_address\x18\x02 \x01(\tR\x0fnewAdminAddress\"p\n\x17\x45ventSetTFDenomMetadata\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12?\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x04\xc8\xde\x1f\x00R\x08metadataB\x9f\x02\n\"com.injective.tokenfactory.v1beta1B\x0b\x45ventsProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n+injective/tokenfactory/v1beta1/events.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto"D\n\x12\x45ventCreateTFDenom\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom"x\n\x10\x45ventMintTFDenom\x12+\n\x11recipient_address\x18\x01 \x01(\tR\x10recipientAddress\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"p\n\x0e\x45ventBurnDenom\x12%\n\x0e\x62urner_address\x18\x01 \x01(\tR\rburnerAddress\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"V\n\x12\x45ventChangeTFAdmin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12*\n\x11new_admin_address\x18\x02 \x01(\tR\x0fnewAdminAddress"p\n\x17\x45ventSetTFDenomMetadata\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12?\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x04\xc8\xde\x1f\x00R\x08metadataB\x9f\x02\n"com.injective.tokenfactory.v1beta1B\x0b\x45ventsProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.events_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.tokenfactory.v1beta1.events_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\013EventsProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - _globals['_EVENTMINTTFDENOM'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTMINTTFDENOM'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_EVENTBURNDENOM'].fields_by_name['amount']._loaded_options = None - _globals['_EVENTBURNDENOM'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _globals['_EVENTSETTFDENOMMETADATA'].fields_by_name['metadata']._loaded_options = None - _globals['_EVENTSETTFDENOMMETADATA'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000' - _globals['_EVENTCREATETFDENOM']._serialized_start=221 - _globals['_EVENTCREATETFDENOM']._serialized_end=289 - _globals['_EVENTMINTTFDENOM']._serialized_start=291 - _globals['_EVENTMINTTFDENOM']._serialized_end=411 - _globals['_EVENTBURNDENOM']._serialized_start=413 - _globals['_EVENTBURNDENOM']._serialized_end=525 - _globals['_EVENTCHANGETFADMIN']._serialized_start=527 - _globals['_EVENTCHANGETFADMIN']._serialized_end=613 - _globals['_EVENTSETTFDENOMMETADATA']._serialized_start=615 - _globals['_EVENTSETTFDENOMMETADATA']._serialized_end=727 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n"com.injective.tokenfactory.v1beta1B\013EventsProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + ) + _globals["_EVENTMINTTFDENOM"].fields_by_name["amount"]._loaded_options = None + _globals["_EVENTMINTTFDENOM"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTBURNDENOM"].fields_by_name["amount"]._loaded_options = None + _globals["_EVENTBURNDENOM"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTSETTFDENOMMETADATA"].fields_by_name["metadata"]._loaded_options = None + _globals["_EVENTSETTFDENOMMETADATA"].fields_by_name["metadata"]._serialized_options = b"\310\336\037\000" + _globals["_EVENTCREATETFDENOM"]._serialized_start = 221 + _globals["_EVENTCREATETFDENOM"]._serialized_end = 289 + _globals["_EVENTMINTTFDENOM"]._serialized_start = 291 + _globals["_EVENTMINTTFDENOM"]._serialized_end = 411 + _globals["_EVENTBURNDENOM"]._serialized_start = 413 + _globals["_EVENTBURNDENOM"]._serialized_end = 525 + _globals["_EVENTCHANGETFADMIN"]._serialized_start = 527 + _globals["_EVENTCHANGETFADMIN"]._serialized_end = 613 + _globals["_EVENTSETTFDENOMMETADATA"]._serialized_start = 615 + _globals["_EVENTSETTFDENOMMETADATA"]._serialized_end = 727 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2_grpc.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py index 8dfd3aac..9133b06a 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py @@ -7,42 +7,55 @@ 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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2, +) +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,injective/tokenfactory/v1beta1/genesis.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a+injective/tokenfactory/v1beta1/params.proto\"\xc8\x01\n\x0cGenesisState\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12r\n\x0e\x66\x61\x63tory_denoms\x18\x02 \x03(\x0b\x32,.injective.tokenfactory.v1beta1.GenesisDenomB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"factory_denoms\"R\rfactoryDenoms\"\xc8\x02\n\x0cGenesisDenom\x12&\n\x05\x64\x65nom\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"R\x05\x64\x65nom\x12\x88\x01\n\x12\x61uthority_metadata\x18\x02 \x01(\x0b\x32\x36.injective.tokenfactory.v1beta1.DenomAuthorityMetadataB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"authority_metadata\"R\x11\x61uthorityMetadata\x12#\n\x04name\x18\x03 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:\"name\"R\x04name\x12)\n\x06symbol\x18\x04 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"symbol\"R\x06symbol\x12/\n\x08\x64\x65\x63imals\x18\x05 \x01(\rB\x13\xf2\xde\x1f\x0fyaml:\"decimals\"R\x08\x64\x65\x63imals:\x04\xe8\xa0\x1f\x01\x42\xa0\x02\n\"com.injective.tokenfactory.v1beta1B\x0cGenesisProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n,injective/tokenfactory/v1beta1/genesis.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a+injective/tokenfactory/v1beta1/params.proto"\xc8\x01\n\x0cGenesisState\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12r\n\x0e\x66\x61\x63tory_denoms\x18\x02 \x03(\x0b\x32,.injective.tokenfactory.v1beta1.GenesisDenomB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:"factory_denoms"R\rfactoryDenoms"\xc8\x02\n\x0cGenesisDenom\x12&\n\x05\x64\x65nom\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:"denom"R\x05\x64\x65nom\x12\x88\x01\n\x12\x61uthority_metadata\x18\x02 \x01(\x0b\x32\x36.injective.tokenfactory.v1beta1.DenomAuthorityMetadataB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:"authority_metadata"R\x11\x61uthorityMetadata\x12#\n\x04name\x18\x03 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:"name"R\x04name\x12)\n\x06symbol\x18\x04 \x01(\tB\x11\xf2\xde\x1f\ryaml:"symbol"R\x06symbol\x12/\n\x08\x64\x65\x63imals\x18\x05 \x01(\rB\x13\xf2\xde\x1f\x0fyaml:"decimals"R\x08\x64\x65\x63imals:\x04\xe8\xa0\x1f\x01\x42\xa0\x02\n"com.injective.tokenfactory.v1beta1B\x0cGenesisProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.tokenfactory.v1beta1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\014GenesisProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['factory_denoms']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['factory_denoms']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"factory_denoms\"' - _globals['_GENESISDENOM'].fields_by_name['denom']._loaded_options = None - _globals['_GENESISDENOM'].fields_by_name['denom']._serialized_options = b'\362\336\037\014yaml:\"denom\"' - _globals['_GENESISDENOM'].fields_by_name['authority_metadata']._loaded_options = None - _globals['_GENESISDENOM'].fields_by_name['authority_metadata']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"authority_metadata\"' - _globals['_GENESISDENOM'].fields_by_name['name']._loaded_options = None - _globals['_GENESISDENOM'].fields_by_name['name']._serialized_options = b'\362\336\037\013yaml:\"name\"' - _globals['_GENESISDENOM'].fields_by_name['symbol']._loaded_options = None - _globals['_GENESISDENOM'].fields_by_name['symbol']._serialized_options = b'\362\336\037\ryaml:\"symbol\"' - _globals['_GENESISDENOM'].fields_by_name['decimals']._loaded_options = None - _globals['_GENESISDENOM'].fields_by_name['decimals']._serialized_options = b'\362\336\037\017yaml:\"decimals\"' - _globals['_GENESISDENOM']._loaded_options = None - _globals['_GENESISDENOM']._serialized_options = b'\350\240\037\001' - _globals['_GENESISSTATE']._serialized_start=204 - _globals['_GENESISSTATE']._serialized_end=404 - _globals['_GENESISDENOM']._serialized_start=407 - _globals['_GENESISDENOM']._serialized_end=735 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n"com.injective.tokenfactory.v1beta1B\014GenesisProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + ) + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["factory_denoms"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name[ + "factory_denoms" + ]._serialized_options = b'\310\336\037\000\362\336\037\025yaml:"factory_denoms"' + _globals["_GENESISDENOM"].fields_by_name["denom"]._loaded_options = None + _globals["_GENESISDENOM"].fields_by_name["denom"]._serialized_options = b'\362\336\037\014yaml:"denom"' + _globals["_GENESISDENOM"].fields_by_name["authority_metadata"]._loaded_options = None + _globals["_GENESISDENOM"].fields_by_name[ + "authority_metadata" + ]._serialized_options = b'\310\336\037\000\362\336\037\031yaml:"authority_metadata"' + _globals["_GENESISDENOM"].fields_by_name["name"]._loaded_options = None + _globals["_GENESISDENOM"].fields_by_name["name"]._serialized_options = b'\362\336\037\013yaml:"name"' + _globals["_GENESISDENOM"].fields_by_name["symbol"]._loaded_options = None + _globals["_GENESISDENOM"].fields_by_name["symbol"]._serialized_options = b'\362\336\037\ryaml:"symbol"' + _globals["_GENESISDENOM"].fields_by_name["decimals"]._loaded_options = None + _globals["_GENESISDENOM"].fields_by_name["decimals"]._serialized_options = b'\362\336\037\017yaml:"decimals"' + _globals["_GENESISDENOM"]._loaded_options = None + _globals["_GENESISDENOM"]._serialized_options = b"\350\240\037\001" + _globals["_GENESISSTATE"]._serialized_start = 204 + _globals["_GENESISSTATE"]._serialized_end = 404 + _globals["_GENESISDENOM"]._serialized_start = 407 + _globals["_GENESISDENOM"]._serialized_end = 735 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py index a234316c..0f799b86 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py @@ -7,30 +7,39 @@ 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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2, +) from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+injective/tokenfactory/v1beta1/params.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"\xc5\x01\n\x06Params\x12\x96\x01\n\x12\x64\x65nom_creation_fee\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBM\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"denom_creation_fee\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x10\x64\x65nomCreationFee:\"\x8a\xe7\xb0*\x1dinjective/tokenfactory/ParamsB\x9f\x02\n\"com.injective.tokenfactory.v1beta1B\x0bParamsProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n+injective/tokenfactory/v1beta1/params.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto"\xc5\x01\n\x06Params\x12\x96\x01\n\x12\x64\x65nom_creation_fee\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBM\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:"denom_creation_fee"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x10\x64\x65nomCreationFee:"\x8a\xe7\xb0*\x1dinjective/tokenfactory/ParamsB\x9f\x02\n"com.injective.tokenfactory.v1beta1B\x0bParamsProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.params_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.tokenfactory.v1beta1.params_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\013ParamsProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - _globals['_PARAMS'].fields_by_name['denom_creation_fee']._loaded_options = None - _globals['_PARAMS'].fields_by_name['denom_creation_fee']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"denom_creation_fee\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\212\347\260*\035injective/tokenfactory/Params' - _globals['_PARAMS']._serialized_start=236 - _globals['_PARAMS']._serialized_end=433 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n"com.injective.tokenfactory.v1beta1B\013ParamsProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + ) + _globals["_PARAMS"].fields_by_name["denom_creation_fee"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "denom_creation_fee" + ]._serialized_options = b'\310\336\037\000\362\336\037\031yaml:"denom_creation_fee"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals["_PARAMS"]._loaded_options = None + _globals["_PARAMS"]._serialized_options = b"\212\347\260*\035injective/tokenfactory/Params" + _globals["_PARAMS"]._serialized_start = 236 + _globals["_PARAMS"]._serialized_end = 433 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2_grpc.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py index 047ca535..d5acbe83 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -14,56 +15,88 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import genesis_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_genesis__pb2 +from pyinjective.proto.cosmos.base.query.v1beta1 import ( + pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, +) +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2, +) +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2, +) +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + genesis_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_genesis__pb2, +) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*injective/tokenfactory/v1beta1/query.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a+injective/tokenfactory/v1beta1/params.proto\x1a,injective/tokenfactory/v1beta1/genesis.proto\"\x14\n\x12QueryParamsRequest\"[\n\x13QueryParamsResponse\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x83\x01\n\"QueryDenomAuthorityMetadataRequest\x12*\n\x07\x63reator\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"R\x07\x63reator\x12\x31\n\tsub_denom\x18\x02 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"sub_denom\"R\x08subDenom\"\xb0\x01\n#QueryDenomAuthorityMetadataResponse\x12\x88\x01\n\x12\x61uthority_metadata\x18\x01 \x01(\x0b\x32\x36.injective.tokenfactory.v1beta1.DenomAuthorityMetadataB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"authority_metadata\"R\x11\x61uthorityMetadata\"M\n\x1dQueryDenomsFromCreatorRequest\x12,\n\x07\x63reator\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"creator\"R\x07\x63reator\"K\n\x1eQueryDenomsFromCreatorResponse\x12)\n\x06\x64\x65noms\x18\x01 \x03(\tB\x11\xf2\xde\x1f\ryaml:\"denoms\"R\x06\x64\x65noms\"\x19\n\x17QueryModuleStateRequest\"^\n\x18QueryModuleStateResponse\x12\x42\n\x05state\x18\x01 \x01(\x0b\x32,.injective.tokenfactory.v1beta1.GenesisStateR\x05state2\xc9\x06\n\x05Query\x12\xa1\x01\n\x06Params\x12\x32.injective.tokenfactory.v1beta1.QueryParamsRequest\x1a\x33.injective.tokenfactory.v1beta1.QueryParamsResponse\".\x82\xd3\xe4\x93\x02(\x12&/injective/tokenfactory/v1beta1/params\x12\xfa\x01\n\x16\x44\x65nomAuthorityMetadata\x12\x42.injective.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest\x1a\x43.injective.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse\"W\x82\xd3\xe4\x93\x02Q\x12O/injective/tokenfactory/v1beta1/denoms/{creator}/{sub_denom}/authority_metadata\x12\xd9\x01\n\x11\x44\x65nomsFromCreator\x12=.injective.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest\x1a>.injective.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse\"E\x82\xd3\xe4\x93\x02?\x12=/injective/tokenfactory/v1beta1/denoms_from_creator/{creator}\x12\xc2\x01\n\x17TokenfactoryModuleState\x12\x37.injective.tokenfactory.v1beta1.QueryModuleStateRequest\x1a\x38.injective.tokenfactory.v1beta1.QueryModuleStateResponse\"4\x82\xd3\xe4\x93\x02.\x12,/injective/tokenfactory/v1beta1/module_stateB\x9e\x02\n\"com.injective.tokenfactory.v1beta1B\nQueryProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n*injective/tokenfactory/v1beta1/query.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a+injective/tokenfactory/v1beta1/params.proto\x1a,injective/tokenfactory/v1beta1/genesis.proto"\x14\n\x12QueryParamsRequest"[\n\x13QueryParamsResponse\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\x83\x01\n"QueryDenomAuthorityMetadataRequest\x12*\n\x07\x63reator\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:"denom"R\x07\x63reator\x12\x31\n\tsub_denom\x18\x02 \x01(\tB\x14\xf2\xde\x1f\x10yaml:"sub_denom"R\x08subDenom"\xb0\x01\n#QueryDenomAuthorityMetadataResponse\x12\x88\x01\n\x12\x61uthority_metadata\x18\x01 \x01(\x0b\x32\x36.injective.tokenfactory.v1beta1.DenomAuthorityMetadataB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:"authority_metadata"R\x11\x61uthorityMetadata"M\n\x1dQueryDenomsFromCreatorRequest\x12,\n\x07\x63reator\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:"creator"R\x07\x63reator"K\n\x1eQueryDenomsFromCreatorResponse\x12)\n\x06\x64\x65noms\x18\x01 \x03(\tB\x11\xf2\xde\x1f\ryaml:"denoms"R\x06\x64\x65noms"\x19\n\x17QueryModuleStateRequest"^\n\x18QueryModuleStateResponse\x12\x42\n\x05state\x18\x01 \x01(\x0b\x32,.injective.tokenfactory.v1beta1.GenesisStateR\x05state2\xc9\x06\n\x05Query\x12\xa1\x01\n\x06Params\x12\x32.injective.tokenfactory.v1beta1.QueryParamsRequest\x1a\x33.injective.tokenfactory.v1beta1.QueryParamsResponse".\x82\xd3\xe4\x93\x02(\x12&/injective/tokenfactory/v1beta1/params\x12\xfa\x01\n\x16\x44\x65nomAuthorityMetadata\x12\x42.injective.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest\x1a\x43.injective.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse"W\x82\xd3\xe4\x93\x02Q\x12O/injective/tokenfactory/v1beta1/denoms/{creator}/{sub_denom}/authority_metadata\x12\xd9\x01\n\x11\x44\x65nomsFromCreator\x12=.injective.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest\x1a>.injective.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse"E\x82\xd3\xe4\x93\x02?\x12=/injective/tokenfactory/v1beta1/denoms_from_creator/{creator}\x12\xc2\x01\n\x17TokenfactoryModuleState\x12\x37.injective.tokenfactory.v1beta1.QueryModuleStateRequest\x1a\x38.injective.tokenfactory.v1beta1.QueryModuleStateResponse"4\x82\xd3\xe4\x93\x02.\x12,/injective/tokenfactory/v1beta1/module_stateB\x9e\x02\n"com.injective.tokenfactory.v1beta1B\nQueryProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.tokenfactory.v1beta1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\nQueryProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST'].fields_by_name['creator']._loaded_options = None - _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST'].fields_by_name['creator']._serialized_options = b'\362\336\037\014yaml:\"denom\"' - _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST'].fields_by_name['sub_denom']._loaded_options = None - _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST'].fields_by_name['sub_denom']._serialized_options = b'\362\336\037\020yaml:\"sub_denom\"' - _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE'].fields_by_name['authority_metadata']._loaded_options = None - _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE'].fields_by_name['authority_metadata']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"authority_metadata\"' - _globals['_QUERYDENOMSFROMCREATORREQUEST'].fields_by_name['creator']._loaded_options = None - _globals['_QUERYDENOMSFROMCREATORREQUEST'].fields_by_name['creator']._serialized_options = b'\362\336\037\016yaml:\"creator\"' - _globals['_QUERYDENOMSFROMCREATORRESPONSE'].fields_by_name['denoms']._loaded_options = None - _globals['_QUERYDENOMSFROMCREATORRESPONSE'].fields_by_name['denoms']._serialized_options = b'\362\336\037\ryaml:\"denoms\"' - _globals['_QUERY'].methods_by_name['Params']._loaded_options = None - _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002(\022&/injective/tokenfactory/v1beta1/params' - _globals['_QUERY'].methods_by_name['DenomAuthorityMetadata']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomAuthorityMetadata']._serialized_options = b'\202\323\344\223\002Q\022O/injective/tokenfactory/v1beta1/denoms/{creator}/{sub_denom}/authority_metadata' - _globals['_QUERY'].methods_by_name['DenomsFromCreator']._loaded_options = None - _globals['_QUERY'].methods_by_name['DenomsFromCreator']._serialized_options = b'\202\323\344\223\002?\022=/injective/tokenfactory/v1beta1/denoms_from_creator/{creator}' - _globals['_QUERY'].methods_by_name['TokenfactoryModuleState']._loaded_options = None - _globals['_QUERY'].methods_by_name['TokenfactoryModuleState']._serialized_options = b'\202\323\344\223\002.\022,/injective/tokenfactory/v1beta1/module_state' - _globals['_QUERYPARAMSREQUEST']._serialized_start=321 - _globals['_QUERYPARAMSREQUEST']._serialized_end=341 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=343 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=434 - _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST']._serialized_start=437 - _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST']._serialized_end=568 - _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE']._serialized_start=571 - _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE']._serialized_end=747 - _globals['_QUERYDENOMSFROMCREATORREQUEST']._serialized_start=749 - _globals['_QUERYDENOMSFROMCREATORREQUEST']._serialized_end=826 - _globals['_QUERYDENOMSFROMCREATORRESPONSE']._serialized_start=828 - _globals['_QUERYDENOMSFROMCREATORRESPONSE']._serialized_end=903 - _globals['_QUERYMODULESTATEREQUEST']._serialized_start=905 - _globals['_QUERYMODULESTATEREQUEST']._serialized_end=930 - _globals['_QUERYMODULESTATERESPONSE']._serialized_start=932 - _globals['_QUERYMODULESTATERESPONSE']._serialized_end=1026 - _globals['_QUERY']._serialized_start=1029 - _globals['_QUERY']._serialized_end=1870 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n"com.injective.tokenfactory.v1beta1B\nQueryProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + ) + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None + _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_QUERYDENOMAUTHORITYMETADATAREQUEST"].fields_by_name["creator"]._loaded_options = None + _globals["_QUERYDENOMAUTHORITYMETADATAREQUEST"].fields_by_name[ + "creator" + ]._serialized_options = b'\362\336\037\014yaml:"denom"' + _globals["_QUERYDENOMAUTHORITYMETADATAREQUEST"].fields_by_name["sub_denom"]._loaded_options = None + _globals["_QUERYDENOMAUTHORITYMETADATAREQUEST"].fields_by_name[ + "sub_denom" + ]._serialized_options = b'\362\336\037\020yaml:"sub_denom"' + _globals["_QUERYDENOMAUTHORITYMETADATARESPONSE"].fields_by_name["authority_metadata"]._loaded_options = None + _globals["_QUERYDENOMAUTHORITYMETADATARESPONSE"].fields_by_name[ + "authority_metadata" + ]._serialized_options = b'\310\336\037\000\362\336\037\031yaml:"authority_metadata"' + _globals["_QUERYDENOMSFROMCREATORREQUEST"].fields_by_name["creator"]._loaded_options = None + _globals["_QUERYDENOMSFROMCREATORREQUEST"].fields_by_name[ + "creator" + ]._serialized_options = b'\362\336\037\016yaml:"creator"' + _globals["_QUERYDENOMSFROMCREATORRESPONSE"].fields_by_name["denoms"]._loaded_options = None + _globals["_QUERYDENOMSFROMCREATORRESPONSE"].fields_by_name[ + "denoms" + ]._serialized_options = b'\362\336\037\ryaml:"denoms"' + _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "Params" + ]._serialized_options = b"\202\323\344\223\002(\022&/injective/tokenfactory/v1beta1/params" + _globals["_QUERY"].methods_by_name["DenomAuthorityMetadata"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DenomAuthorityMetadata" + ]._serialized_options = ( + b"\202\323\344\223\002Q\022O/injective/tokenfactory/v1beta1/denoms/{creator}/{sub_denom}/authority_metadata" + ) + _globals["_QUERY"].methods_by_name["DenomsFromCreator"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "DenomsFromCreator" + ]._serialized_options = b"\202\323\344\223\002?\022=/injective/tokenfactory/v1beta1/denoms_from_creator/{creator}" + _globals["_QUERY"].methods_by_name["TokenfactoryModuleState"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "TokenfactoryModuleState" + ]._serialized_options = b"\202\323\344\223\002.\022,/injective/tokenfactory/v1beta1/module_state" + _globals["_QUERYPARAMSREQUEST"]._serialized_start = 321 + _globals["_QUERYPARAMSREQUEST"]._serialized_end = 341 + _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 343 + _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 434 + _globals["_QUERYDENOMAUTHORITYMETADATAREQUEST"]._serialized_start = 437 + _globals["_QUERYDENOMAUTHORITYMETADATAREQUEST"]._serialized_end = 568 + _globals["_QUERYDENOMAUTHORITYMETADATARESPONSE"]._serialized_start = 571 + _globals["_QUERYDENOMAUTHORITYMETADATARESPONSE"]._serialized_end = 747 + _globals["_QUERYDENOMSFROMCREATORREQUEST"]._serialized_start = 749 + _globals["_QUERYDENOMSFROMCREATORREQUEST"]._serialized_end = 826 + _globals["_QUERYDENOMSFROMCREATORRESPONSE"]._serialized_start = 828 + _globals["_QUERYDENOMSFROMCREATORRESPONSE"]._serialized_end = 903 + _globals["_QUERYMODULESTATEREQUEST"]._serialized_start = 905 + _globals["_QUERYMODULESTATEREQUEST"]._serialized_end = 930 + _globals["_QUERYMODULESTATERESPONSE"]._serialized_start = 932 + _globals["_QUERYMODULESTATERESPONSE"]._serialized_end = 1026 + _globals["_QUERY"]._serialized_start = 1029 + _globals["_QUERY"]._serialized_end = 1870 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2_grpc.py index 7a7ab8c6..2fcfa9a3 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2_grpc.py @@ -2,12 +2,13 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.injective.tokenfactory.v1beta1 import query_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + query_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2, +) class QueryStub(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,112 +17,114 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Query/Params', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True) + "/injective.tokenfactory.v1beta1.Query/Params", + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True, + ) self.DenomAuthorityMetadata = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Query/DenomAuthorityMetadata', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataRequest.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataResponse.FromString, - _registered_method=True) + "/injective.tokenfactory.v1beta1.Query/DenomAuthorityMetadata", + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataRequest.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataResponse.FromString, + _registered_method=True, + ) self.DenomsFromCreator = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Query/DenomsFromCreator', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorRequest.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorResponse.FromString, - _registered_method=True) + "/injective.tokenfactory.v1beta1.Query/DenomsFromCreator", + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorRequest.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorResponse.FromString, + _registered_method=True, + ) self.TokenfactoryModuleState = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Query/TokenfactoryModuleState', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, - _registered_method=True) + "/injective.tokenfactory.v1beta1.Query/TokenfactoryModuleState", + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def Params(self, request, context): """Params defines a gRPC query method that returns the tokenfactory module's parameters. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DenomAuthorityMetadata(self, request, context): """DenomAuthorityMetadata defines a gRPC query method for fetching DenomAuthorityMetadata for a particular denom. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DenomsFromCreator(self, request, context): """DenomsFromCreator defines a gRPC query method for fetching all denominations created by a specific admin/creator. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def TokenfactoryModuleState(self, request, context): - """Retrieves the entire auction module's state - """ + """Retrieves the entire auction module's state""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'Params': grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - 'DenomAuthorityMetadata': grpc.unary_unary_rpc_method_handler( - servicer.DenomAuthorityMetadata, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataRequest.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataResponse.SerializeToString, - ), - 'DenomsFromCreator': grpc.unary_unary_rpc_method_handler( - servicer.DenomsFromCreator, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorRequest.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorResponse.SerializeToString, - ), - 'TokenfactoryModuleState': grpc.unary_unary_rpc_method_handler( - servicer.TokenfactoryModuleState, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, - ), + "Params": grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + "DenomAuthorityMetadata": grpc.unary_unary_rpc_method_handler( + servicer.DenomAuthorityMetadata, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataRequest.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataResponse.SerializeToString, + ), + "DenomsFromCreator": grpc.unary_unary_rpc_method_handler( + servicer.DenomsFromCreator, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorRequest.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorResponse.SerializeToString, + ), + "TokenfactoryModuleState": grpc.unary_unary_rpc_method_handler( + servicer.TokenfactoryModuleState, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.tokenfactory.v1beta1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("injective.tokenfactory.v1beta1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.tokenfactory.v1beta1.Query', rpc_method_handlers) + server.add_registered_method_handlers("injective.tokenfactory.v1beta1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" @staticmethod - def Params(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Params( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.tokenfactory.v1beta1.Query/Params', + "/injective.tokenfactory.v1beta1.Query/Params", injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -132,23 +135,26 @@ def Params(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DenomAuthorityMetadata(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DenomAuthorityMetadata( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.tokenfactory.v1beta1.Query/DenomAuthorityMetadata', + "/injective.tokenfactory.v1beta1.Query/DenomAuthorityMetadata", injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataRequest.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataResponse.FromString, options, @@ -159,23 +165,26 @@ def DenomAuthorityMetadata(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DenomsFromCreator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DenomsFromCreator( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.tokenfactory.v1beta1.Query/DenomsFromCreator', + "/injective.tokenfactory.v1beta1.Query/DenomsFromCreator", injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorRequest.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorResponse.FromString, options, @@ -186,23 +195,26 @@ def DenomsFromCreator(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def TokenfactoryModuleState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def TokenfactoryModuleState( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.tokenfactory.v1beta1.Query/TokenfactoryModuleState', + "/injective.tokenfactory.v1beta1.Query/TokenfactoryModuleState", injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, options, @@ -213,4 +225,5 @@ def TokenfactoryModuleState(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py index ebcba559..343c7479 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,90 +18,108 @@ from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2, +) from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/tokenfactory/v1beta1/tx.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a+injective/tokenfactory/v1beta1/params.proto\x1a\x11\x61mino/amino.proto\"\xa2\x02\n\x0eMsgCreateDenom\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12/\n\x08subdenom\x18\x02 \x01(\tB\x13\xf2\xde\x1f\x0fyaml:\"subdenom\"R\x08subdenom\x12#\n\x04name\x18\x03 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:\"name\"R\x04name\x12)\n\x06symbol\x18\x04 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"symbol\"R\x06symbol\x12/\n\x08\x64\x65\x63imals\x18\x05 \x01(\rB\x13\xf2\xde\x1f\x0fyaml:\"decimals\"R\x08\x64\x65\x63imals:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#injective/tokenfactory/create-denom\"\\\n\x16MsgCreateDenomResponse\x12\x42\n\x0fnew_token_denom\x18\x01 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:\"new_token_denom\"R\rnewTokenDenom\"\xab\x01\n\x07MsgMint\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12H\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x15\xc8\xde\x1f\x00\xf2\xde\x1f\ryaml:\"amount\"R\x06\x61mount:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1binjective/tokenfactory/mint\"\x11\n\x0fMsgMintResponse\"\xab\x01\n\x07MsgBurn\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12H\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x15\xc8\xde\x1f\x00\xf2\xde\x1f\ryaml:\"amount\"R\x06\x61mount:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1binjective/tokenfactory/burn\"\x11\n\x0fMsgBurnResponse\"\xcb\x01\n\x0eMsgChangeAdmin\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12&\n\x05\x64\x65nom\x18\x02 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"R\x05\x64\x65nom\x12\x31\n\tnew_admin\x18\x03 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"new_admin\"R\x08newAdmin:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#injective/tokenfactory/change-admin\"\x18\n\x16MsgChangeAdminResponse\"\xcf\x01\n\x13MsgSetDenomMetadata\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12R\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x17\xc8\xde\x1f\x00\xf2\xde\x1f\x0fyaml:\"metadata\"R\x08metadata:9\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*)injective/tokenfactory/set-denom-metadata\"\x1d\n\x1bMsgSetDenomMetadataResponse\"\xc8\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x44\n\x06params\x18\x02 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$injective/tokenfactory/update-params\"\x19\n\x17MsgUpdateParamsResponse2\xbf\x05\n\x03Msg\x12u\n\x0b\x43reateDenom\x12..injective.tokenfactory.v1beta1.MsgCreateDenom\x1a\x36.injective.tokenfactory.v1beta1.MsgCreateDenomResponse\x12`\n\x04Mint\x12\'.injective.tokenfactory.v1beta1.MsgMint\x1a/.injective.tokenfactory.v1beta1.MsgMintResponse\x12`\n\x04\x42urn\x12\'.injective.tokenfactory.v1beta1.MsgBurn\x1a/.injective.tokenfactory.v1beta1.MsgBurnResponse\x12u\n\x0b\x43hangeAdmin\x12..injective.tokenfactory.v1beta1.MsgChangeAdmin\x1a\x36.injective.tokenfactory.v1beta1.MsgChangeAdminResponse\x12\x84\x01\n\x10SetDenomMetadata\x12\x33.injective.tokenfactory.v1beta1.MsgSetDenomMetadata\x1a;.injective.tokenfactory.v1beta1.MsgSetDenomMetadataResponse\x12x\n\x0cUpdateParams\x12/.injective.tokenfactory.v1beta1.MsgUpdateParams\x1a\x37.injective.tokenfactory.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9b\x02\n\"com.injective.tokenfactory.v1beta1B\x07TxProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\'injective/tokenfactory/v1beta1/tx.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a+injective/tokenfactory/v1beta1/params.proto\x1a\x11\x61mino/amino.proto"\xa2\x02\n\x0eMsgCreateDenom\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12/\n\x08subdenom\x18\x02 \x01(\tB\x13\xf2\xde\x1f\x0fyaml:"subdenom"R\x08subdenom\x12#\n\x04name\x18\x03 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:"name"R\x04name\x12)\n\x06symbol\x18\x04 \x01(\tB\x11\xf2\xde\x1f\ryaml:"symbol"R\x06symbol\x12/\n\x08\x64\x65\x63imals\x18\x05 \x01(\rB\x13\xf2\xde\x1f\x0fyaml:"decimals"R\x08\x64\x65\x63imals:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#injective/tokenfactory/create-denom"\\\n\x16MsgCreateDenomResponse\x12\x42\n\x0fnew_token_denom\x18\x01 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:"new_token_denom"R\rnewTokenDenom"\xab\x01\n\x07MsgMint\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12H\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x15\xc8\xde\x1f\x00\xf2\xde\x1f\ryaml:"amount"R\x06\x61mount:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1binjective/tokenfactory/mint"\x11\n\x0fMsgMintResponse"\xab\x01\n\x07MsgBurn\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12H\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x15\xc8\xde\x1f\x00\xf2\xde\x1f\ryaml:"amount"R\x06\x61mount:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1binjective/tokenfactory/burn"\x11\n\x0fMsgBurnResponse"\xcb\x01\n\x0eMsgChangeAdmin\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12&\n\x05\x64\x65nom\x18\x02 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:"denom"R\x05\x64\x65nom\x12\x31\n\tnew_admin\x18\x03 \x01(\tB\x14\xf2\xde\x1f\x10yaml:"new_admin"R\x08newAdmin:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#injective/tokenfactory/change-admin"\x18\n\x16MsgChangeAdminResponse"\xcf\x01\n\x13MsgSetDenomMetadata\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12R\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x17\xc8\xde\x1f\x00\xf2\xde\x1f\x0fyaml:"metadata"R\x08metadata:9\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*)injective/tokenfactory/set-denom-metadata"\x1d\n\x1bMsgSetDenomMetadataResponse"\xc8\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x44\n\x06params\x18\x02 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$injective/tokenfactory/update-params"\x19\n\x17MsgUpdateParamsResponse2\xbf\x05\n\x03Msg\x12u\n\x0b\x43reateDenom\x12..injective.tokenfactory.v1beta1.MsgCreateDenom\x1a\x36.injective.tokenfactory.v1beta1.MsgCreateDenomResponse\x12`\n\x04Mint\x12\'.injective.tokenfactory.v1beta1.MsgMint\x1a/.injective.tokenfactory.v1beta1.MsgMintResponse\x12`\n\x04\x42urn\x12\'.injective.tokenfactory.v1beta1.MsgBurn\x1a/.injective.tokenfactory.v1beta1.MsgBurnResponse\x12u\n\x0b\x43hangeAdmin\x12..injective.tokenfactory.v1beta1.MsgChangeAdmin\x1a\x36.injective.tokenfactory.v1beta1.MsgChangeAdminResponse\x12\x84\x01\n\x10SetDenomMetadata\x12\x33.injective.tokenfactory.v1beta1.MsgSetDenomMetadata\x1a;.injective.tokenfactory.v1beta1.MsgSetDenomMetadataResponse\x12x\n\x0cUpdateParams\x12/.injective.tokenfactory.v1beta1.MsgUpdateParams\x1a\x37.injective.tokenfactory.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9b\x02\n"com.injective.tokenfactory.v1beta1B\x07TxProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.tokenfactory.v1beta1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\007TxProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - _globals['_MSGCREATEDENOM'].fields_by_name['sender']._loaded_options = None - _globals['_MSGCREATEDENOM'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGCREATEDENOM'].fields_by_name['subdenom']._loaded_options = None - _globals['_MSGCREATEDENOM'].fields_by_name['subdenom']._serialized_options = b'\362\336\037\017yaml:\"subdenom\"' - _globals['_MSGCREATEDENOM'].fields_by_name['name']._loaded_options = None - _globals['_MSGCREATEDENOM'].fields_by_name['name']._serialized_options = b'\362\336\037\013yaml:\"name\"' - _globals['_MSGCREATEDENOM'].fields_by_name['symbol']._loaded_options = None - _globals['_MSGCREATEDENOM'].fields_by_name['symbol']._serialized_options = b'\362\336\037\ryaml:\"symbol\"' - _globals['_MSGCREATEDENOM'].fields_by_name['decimals']._loaded_options = None - _globals['_MSGCREATEDENOM'].fields_by_name['decimals']._serialized_options = b'\362\336\037\017yaml:\"decimals\"' - _globals['_MSGCREATEDENOM']._loaded_options = None - _globals['_MSGCREATEDENOM']._serialized_options = b'\202\347\260*\006sender\212\347\260*#injective/tokenfactory/create-denom' - _globals['_MSGCREATEDENOMRESPONSE'].fields_by_name['new_token_denom']._loaded_options = None - _globals['_MSGCREATEDENOMRESPONSE'].fields_by_name['new_token_denom']._serialized_options = b'\362\336\037\026yaml:\"new_token_denom\"' - _globals['_MSGMINT'].fields_by_name['sender']._loaded_options = None - _globals['_MSGMINT'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGMINT'].fields_by_name['amount']._loaded_options = None - _globals['_MSGMINT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\362\336\037\ryaml:\"amount\"' - _globals['_MSGMINT']._loaded_options = None - _globals['_MSGMINT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033injective/tokenfactory/mint' - _globals['_MSGBURN'].fields_by_name['sender']._loaded_options = None - _globals['_MSGBURN'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGBURN'].fields_by_name['amount']._loaded_options = None - _globals['_MSGBURN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\362\336\037\ryaml:\"amount\"' - _globals['_MSGBURN']._loaded_options = None - _globals['_MSGBURN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033injective/tokenfactory/burn' - _globals['_MSGCHANGEADMIN'].fields_by_name['sender']._loaded_options = None - _globals['_MSGCHANGEADMIN'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGCHANGEADMIN'].fields_by_name['denom']._loaded_options = None - _globals['_MSGCHANGEADMIN'].fields_by_name['denom']._serialized_options = b'\362\336\037\014yaml:\"denom\"' - _globals['_MSGCHANGEADMIN'].fields_by_name['new_admin']._loaded_options = None - _globals['_MSGCHANGEADMIN'].fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"' - _globals['_MSGCHANGEADMIN']._loaded_options = None - _globals['_MSGCHANGEADMIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*#injective/tokenfactory/change-admin' - _globals['_MSGSETDENOMMETADATA'].fields_by_name['sender']._loaded_options = None - _globals['_MSGSETDENOMMETADATA'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' - _globals['_MSGSETDENOMMETADATA'].fields_by_name['metadata']._loaded_options = None - _globals['_MSGSETDENOMMETADATA'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000\362\336\037\017yaml:\"metadata\"' - _globals['_MSGSETDENOMMETADATA']._loaded_options = None - _globals['_MSGSETDENOMMETADATA']._serialized_options = b'\202\347\260*\006sender\212\347\260*)injective/tokenfactory/set-denom-metadata' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*$injective/tokenfactory/update-params' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGCREATEDENOM']._serialized_start=278 - _globals['_MSGCREATEDENOM']._serialized_end=568 - _globals['_MSGCREATEDENOMRESPONSE']._serialized_start=570 - _globals['_MSGCREATEDENOMRESPONSE']._serialized_end=662 - _globals['_MSGMINT']._serialized_start=665 - _globals['_MSGMINT']._serialized_end=836 - _globals['_MSGMINTRESPONSE']._serialized_start=838 - _globals['_MSGMINTRESPONSE']._serialized_end=855 - _globals['_MSGBURN']._serialized_start=858 - _globals['_MSGBURN']._serialized_end=1029 - _globals['_MSGBURNRESPONSE']._serialized_start=1031 - _globals['_MSGBURNRESPONSE']._serialized_end=1048 - _globals['_MSGCHANGEADMIN']._serialized_start=1051 - _globals['_MSGCHANGEADMIN']._serialized_end=1254 - _globals['_MSGCHANGEADMINRESPONSE']._serialized_start=1256 - _globals['_MSGCHANGEADMINRESPONSE']._serialized_end=1280 - _globals['_MSGSETDENOMMETADATA']._serialized_start=1283 - _globals['_MSGSETDENOMMETADATA']._serialized_end=1490 - _globals['_MSGSETDENOMMETADATARESPONSE']._serialized_start=1492 - _globals['_MSGSETDENOMMETADATARESPONSE']._serialized_end=1521 - _globals['_MSGUPDATEPARAMS']._serialized_start=1524 - _globals['_MSGUPDATEPARAMS']._serialized_end=1724 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1726 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1751 - _globals['_MSG']._serialized_start=1754 - _globals['_MSG']._serialized_end=2457 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b'\n"com.injective.tokenfactory.v1beta1B\007TxProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + ) + _globals["_MSGCREATEDENOM"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGCREATEDENOM"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' + _globals["_MSGCREATEDENOM"].fields_by_name["subdenom"]._loaded_options = None + _globals["_MSGCREATEDENOM"].fields_by_name["subdenom"]._serialized_options = b'\362\336\037\017yaml:"subdenom"' + _globals["_MSGCREATEDENOM"].fields_by_name["name"]._loaded_options = None + _globals["_MSGCREATEDENOM"].fields_by_name["name"]._serialized_options = b'\362\336\037\013yaml:"name"' + _globals["_MSGCREATEDENOM"].fields_by_name["symbol"]._loaded_options = None + _globals["_MSGCREATEDENOM"].fields_by_name["symbol"]._serialized_options = b'\362\336\037\ryaml:"symbol"' + _globals["_MSGCREATEDENOM"].fields_by_name["decimals"]._loaded_options = None + _globals["_MSGCREATEDENOM"].fields_by_name["decimals"]._serialized_options = b'\362\336\037\017yaml:"decimals"' + _globals["_MSGCREATEDENOM"]._loaded_options = None + _globals["_MSGCREATEDENOM"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*#injective/tokenfactory/create-denom" + ) + _globals["_MSGCREATEDENOMRESPONSE"].fields_by_name["new_token_denom"]._loaded_options = None + _globals["_MSGCREATEDENOMRESPONSE"].fields_by_name[ + "new_token_denom" + ]._serialized_options = b'\362\336\037\026yaml:"new_token_denom"' + _globals["_MSGMINT"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGMINT"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' + _globals["_MSGMINT"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGMINT"].fields_by_name["amount"]._serialized_options = b'\310\336\037\000\362\336\037\ryaml:"amount"' + _globals["_MSGMINT"]._loaded_options = None + _globals["_MSGMINT"]._serialized_options = b"\202\347\260*\006sender\212\347\260*\033injective/tokenfactory/mint" + _globals["_MSGBURN"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGBURN"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' + _globals["_MSGBURN"].fields_by_name["amount"]._loaded_options = None + _globals["_MSGBURN"].fields_by_name["amount"]._serialized_options = b'\310\336\037\000\362\336\037\ryaml:"amount"' + _globals["_MSGBURN"]._loaded_options = None + _globals["_MSGBURN"]._serialized_options = b"\202\347\260*\006sender\212\347\260*\033injective/tokenfactory/burn" + _globals["_MSGCHANGEADMIN"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGCHANGEADMIN"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' + _globals["_MSGCHANGEADMIN"].fields_by_name["denom"]._loaded_options = None + _globals["_MSGCHANGEADMIN"].fields_by_name["denom"]._serialized_options = b'\362\336\037\014yaml:"denom"' + _globals["_MSGCHANGEADMIN"].fields_by_name["new_admin"]._loaded_options = None + _globals["_MSGCHANGEADMIN"].fields_by_name["new_admin"]._serialized_options = b'\362\336\037\020yaml:"new_admin"' + _globals["_MSGCHANGEADMIN"]._loaded_options = None + _globals["_MSGCHANGEADMIN"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*#injective/tokenfactory/change-admin" + ) + _globals["_MSGSETDENOMMETADATA"].fields_by_name["sender"]._loaded_options = None + _globals["_MSGSETDENOMMETADATA"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' + _globals["_MSGSETDENOMMETADATA"].fields_by_name["metadata"]._loaded_options = None + _globals["_MSGSETDENOMMETADATA"].fields_by_name[ + "metadata" + ]._serialized_options = b'\310\336\037\000\362\336\037\017yaml:"metadata"' + _globals["_MSGSETDENOMMETADATA"]._loaded_options = None + _globals["_MSGSETDENOMMETADATA"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*)injective/tokenfactory/set-denom-metadata" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = ( + b"\202\347\260*\tauthority\212\347\260*$injective/tokenfactory/update-params" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGCREATEDENOM"]._serialized_start = 278 + _globals["_MSGCREATEDENOM"]._serialized_end = 568 + _globals["_MSGCREATEDENOMRESPONSE"]._serialized_start = 570 + _globals["_MSGCREATEDENOMRESPONSE"]._serialized_end = 662 + _globals["_MSGMINT"]._serialized_start = 665 + _globals["_MSGMINT"]._serialized_end = 836 + _globals["_MSGMINTRESPONSE"]._serialized_start = 838 + _globals["_MSGMINTRESPONSE"]._serialized_end = 855 + _globals["_MSGBURN"]._serialized_start = 858 + _globals["_MSGBURN"]._serialized_end = 1029 + _globals["_MSGBURNRESPONSE"]._serialized_start = 1031 + _globals["_MSGBURNRESPONSE"]._serialized_end = 1048 + _globals["_MSGCHANGEADMIN"]._serialized_start = 1051 + _globals["_MSGCHANGEADMIN"]._serialized_end = 1254 + _globals["_MSGCHANGEADMINRESPONSE"]._serialized_start = 1256 + _globals["_MSGCHANGEADMINRESPONSE"]._serialized_end = 1280 + _globals["_MSGSETDENOMMETADATA"]._serialized_start = 1283 + _globals["_MSGSETDENOMMETADATA"]._serialized_end = 1490 + _globals["_MSGSETDENOMMETADATARESPONSE"]._serialized_start = 1492 + _globals["_MSGSETDENOMMETADATARESPONSE"]._serialized_end = 1521 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 1524 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 1724 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1726 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1751 + _globals["_MSG"]._serialized_start = 1754 + _globals["_MSG"]._serialized_end = 2457 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2_grpc.py index f96ee560..de057d1b 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2_grpc.py @@ -2,12 +2,13 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.injective.tokenfactory.v1beta1 import tx_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import ( + tx_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2, +) class MsgStub(object): - """Msg defines the tokefactory module's gRPC message service. - """ + """Msg defines the tokefactory module's gRPC message service.""" def __init__(self, channel): """Constructor. @@ -16,137 +17,142 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.CreateDenom = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Msg/CreateDenom', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenom.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenomResponse.FromString, - _registered_method=True) + "/injective.tokenfactory.v1beta1.Msg/CreateDenom", + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenom.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenomResponse.FromString, + _registered_method=True, + ) self.Mint = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Msg/Mint', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMint.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMintResponse.FromString, - _registered_method=True) + "/injective.tokenfactory.v1beta1.Msg/Mint", + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMint.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMintResponse.FromString, + _registered_method=True, + ) self.Burn = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Msg/Burn', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurn.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurnResponse.FromString, - _registered_method=True) + "/injective.tokenfactory.v1beta1.Msg/Burn", + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurn.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurnResponse.FromString, + _registered_method=True, + ) self.ChangeAdmin = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Msg/ChangeAdmin', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdmin.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdminResponse.FromString, - _registered_method=True) + "/injective.tokenfactory.v1beta1.Msg/ChangeAdmin", + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdmin.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdminResponse.FromString, + _registered_method=True, + ) self.SetDenomMetadata = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Msg/SetDenomMetadata', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadata.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadataResponse.FromString, - _registered_method=True) + "/injective.tokenfactory.v1beta1.Msg/SetDenomMetadata", + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadata.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadataResponse.FromString, + _registered_method=True, + ) self.UpdateParams = channel.unary_unary( - '/injective.tokenfactory.v1beta1.Msg/UpdateParams', - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/injective.tokenfactory.v1beta1.Msg/UpdateParams", + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the tokefactory module's gRPC message service. - """ + """Msg defines the tokefactory module's gRPC message service.""" def CreateDenom(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Mint(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Burn(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ChangeAdmin(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def SetDenomMetadata(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateParams(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'CreateDenom': grpc.unary_unary_rpc_method_handler( - servicer.CreateDenom, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenom.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenomResponse.SerializeToString, - ), - 'Mint': grpc.unary_unary_rpc_method_handler( - servicer.Mint, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMint.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMintResponse.SerializeToString, - ), - 'Burn': grpc.unary_unary_rpc_method_handler( - servicer.Burn, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurn.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurnResponse.SerializeToString, - ), - 'ChangeAdmin': grpc.unary_unary_rpc_method_handler( - servicer.ChangeAdmin, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdmin.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdminResponse.SerializeToString, - ), - 'SetDenomMetadata': grpc.unary_unary_rpc_method_handler( - servicer.SetDenomMetadata, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadata.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadataResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + "CreateDenom": grpc.unary_unary_rpc_method_handler( + servicer.CreateDenom, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenom.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenomResponse.SerializeToString, + ), + "Mint": grpc.unary_unary_rpc_method_handler( + servicer.Mint, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMint.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMintResponse.SerializeToString, + ), + "Burn": grpc.unary_unary_rpc_method_handler( + servicer.Burn, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurn.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurnResponse.SerializeToString, + ), + "ChangeAdmin": grpc.unary_unary_rpc_method_handler( + servicer.ChangeAdmin, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdmin.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdminResponse.SerializeToString, + ), + "SetDenomMetadata": grpc.unary_unary_rpc_method_handler( + servicer.SetDenomMetadata, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadata.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadataResponse.SerializeToString, + ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.tokenfactory.v1beta1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("injective.tokenfactory.v1beta1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.tokenfactory.v1beta1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("injective.tokenfactory.v1beta1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the tokefactory module's gRPC message service. - """ + """Msg defines the tokefactory module's gRPC message service.""" @staticmethod - def CreateDenom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CreateDenom( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.tokenfactory.v1beta1.Msg/CreateDenom', + "/injective.tokenfactory.v1beta1.Msg/CreateDenom", injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenom.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenomResponse.FromString, options, @@ -157,23 +163,26 @@ def CreateDenom(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Mint(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Mint( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.tokenfactory.v1beta1.Msg/Mint', + "/injective.tokenfactory.v1beta1.Msg/Mint", injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMint.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMintResponse.FromString, options, @@ -184,23 +193,26 @@ def Mint(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Burn(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Burn( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.tokenfactory.v1beta1.Msg/Burn', + "/injective.tokenfactory.v1beta1.Msg/Burn", injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurn.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurnResponse.FromString, options, @@ -211,23 +223,26 @@ def Burn(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ChangeAdmin(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ChangeAdmin( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.tokenfactory.v1beta1.Msg/ChangeAdmin', + "/injective.tokenfactory.v1beta1.Msg/ChangeAdmin", injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdmin.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdminResponse.FromString, options, @@ -238,23 +253,26 @@ def ChangeAdmin(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def SetDenomMetadata(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def SetDenomMetadata( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.tokenfactory.v1beta1.Msg/SetDenomMetadata', + "/injective.tokenfactory.v1beta1.Msg/SetDenomMetadata", injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadata.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadataResponse.FromString, options, @@ -265,23 +283,26 @@ def SetDenomMetadata(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.tokenfactory.v1beta1.Msg/UpdateParams', + "/injective.tokenfactory.v1beta1.Msg/UpdateParams", injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -292,4 +313,5 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/injective/types/v1beta1/account_pb2.py b/pyinjective/proto/injective/types/v1beta1/account_pb2.py index eab1bf71..386bb9dc 100644 --- a/pyinjective/proto/injective/types/v1beta1/account_pb2.py +++ b/pyinjective/proto/injective/types/v1beta1/account_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,20 +18,28 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%injective/types/v1beta1/account.proto\x12\x17injective.types.v1beta1\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\"\xcf\x01\n\nEthAccount\x12`\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x1b\xd0\xde\x1f\x01\xf2\xde\x1f\x13yaml:\"base_account\"R\x0b\x62\x61seAccount\x12\x31\n\tcode_hash\x18\x02 \x01(\x0c\x42\x14\xf2\xde\x1f\x10yaml:\"code_hash\"R\x08\x63odeHash:,\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIB\xe8\x01\n\x1b\x63om.injective.types.v1beta1B\x0c\x41\x63\x63ountProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n%injective/types/v1beta1/account.proto\x12\x17injective.types.v1beta1\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto"\xcf\x01\n\nEthAccount\x12`\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x1b\xd0\xde\x1f\x01\xf2\xde\x1f\x13yaml:"base_account"R\x0b\x62\x61seAccount\x12\x31\n\tcode_hash\x18\x02 \x01(\x0c\x42\x14\xf2\xde\x1f\x10yaml:"code_hash"R\x08\x63odeHash:,\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIB\xe8\x01\n\x1b\x63om.injective.types.v1beta1B\x0c\x41\x63\x63ountProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.account_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.types.v1beta1.account_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.injective.types.v1beta1B\014AccountProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1' - _globals['_ETHACCOUNT'].fields_by_name['base_account']._loaded_options = None - _globals['_ETHACCOUNT'].fields_by_name['base_account']._serialized_options = b'\320\336\037\001\362\336\037\023yaml:\"base_account\"' - _globals['_ETHACCOUNT'].fields_by_name['code_hash']._loaded_options = None - _globals['_ETHACCOUNT'].fields_by_name['code_hash']._serialized_options = b'\362\336\037\020yaml:\"code_hash\"' - _globals['_ETHACCOUNT']._loaded_options = None - _globals['_ETHACCOUNT']._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000\312\264-\034cosmos.auth.v1beta1.AccountI' - _globals['_ETHACCOUNT']._serialized_start=148 - _globals['_ETHACCOUNT']._serialized_end=355 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.injective.types.v1beta1B\014AccountProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1" + ) + _globals["_ETHACCOUNT"].fields_by_name["base_account"]._loaded_options = None + _globals["_ETHACCOUNT"].fields_by_name[ + "base_account" + ]._serialized_options = b'\320\336\037\001\362\336\037\023yaml:"base_account"' + _globals["_ETHACCOUNT"].fields_by_name["code_hash"]._loaded_options = None + _globals["_ETHACCOUNT"].fields_by_name["code_hash"]._serialized_options = b'\362\336\037\020yaml:"code_hash"' + _globals["_ETHACCOUNT"]._loaded_options = None + _globals["_ETHACCOUNT"]._serialized_options = ( + b"\210\240\037\000\230\240\037\000\350\240\037\000\312\264-\034cosmos.auth.v1beta1.AccountI" + ) + _globals["_ETHACCOUNT"]._serialized_start = 148 + _globals["_ETHACCOUNT"]._serialized_end = 355 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/types/v1beta1/account_pb2_grpc.py b/pyinjective/proto/injective/types/v1beta1/account_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/types/v1beta1/account_pb2_grpc.py +++ b/pyinjective/proto/injective/types/v1beta1/account_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py index a8971e76..1d9a15fa 100644 --- a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py +++ b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/types/v1beta1/tx_ext.proto\x12\x17injective.types.v1beta1\x1a\x14gogoproto/gogo.proto\"\x88\x01\n\x16\x45xtensionOptionsWeb3Tx\x12*\n\x10typedDataChainID\x18\x01 \x01(\x04R\x10typedDataChainID\x12\x1a\n\x08\x66\x65\x65Payer\x18\x02 \x01(\tR\x08\x66\x65\x65Payer\x12 \n\x0b\x66\x65\x65PayerSig\x18\x03 \x01(\x0cR\x0b\x66\x65\x65PayerSig:\x04\x88\xa0\x1f\x00\x42\xe6\x01\n\x1b\x63om.injective.types.v1beta1B\nTxExtProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n$injective/types/v1beta1/tx_ext.proto\x12\x17injective.types.v1beta1\x1a\x14gogoproto/gogo.proto"\x88\x01\n\x16\x45xtensionOptionsWeb3Tx\x12*\n\x10typedDataChainID\x18\x01 \x01(\x04R\x10typedDataChainID\x12\x1a\n\x08\x66\x65\x65Payer\x18\x02 \x01(\tR\x08\x66\x65\x65Payer\x12 \n\x0b\x66\x65\x65PayerSig\x18\x03 \x01(\x0cR\x0b\x66\x65\x65PayerSig:\x04\x88\xa0\x1f\x00\x42\xe6\x01\n\x1b\x63om.injective.types.v1beta1B\nTxExtProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.tx_ext_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.types.v1beta1.tx_ext_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.injective.types.v1beta1B\nTxExtProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1' - _globals['_EXTENSIONOPTIONSWEB3TX']._loaded_options = None - _globals['_EXTENSIONOPTIONSWEB3TX']._serialized_options = b'\210\240\037\000' - _globals['_EXTENSIONOPTIONSWEB3TX']._serialized_start=88 - _globals['_EXTENSIONOPTIONSWEB3TX']._serialized_end=224 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.injective.types.v1beta1B\nTxExtProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1" + ) + _globals["_EXTENSIONOPTIONSWEB3TX"]._loaded_options = None + _globals["_EXTENSIONOPTIONSWEB3TX"]._serialized_options = b"\210\240\037\000" + _globals["_EXTENSIONOPTIONSWEB3TX"]._serialized_start = 88 + _globals["_EXTENSIONOPTIONSWEB3TX"]._serialized_end = 224 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2_grpc.py b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2_grpc.py +++ b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py index 8ada0173..5394d131 100644 --- a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py +++ b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py @@ -7,23 +7,26 @@ 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)injective/types/v1beta1/tx_response.proto\x12\x17injective.types.v1beta1\"F\n\x18TxResponseGenericMessage\x12\x16\n\x06header\x18\x01 \x01(\tR\x06header\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\"_\n\x0eTxResponseData\x12M\n\x08messages\x18\x01 \x03(\x0b\x32\x31.injective.types.v1beta1.TxResponseGenericMessageR\x08messagesB\xeb\x01\n\x1b\x63om.injective.types.v1beta1B\x0fTxResponseProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n)injective/types/v1beta1/tx_response.proto\x12\x17injective.types.v1beta1"F\n\x18TxResponseGenericMessage\x12\x16\n\x06header\x18\x01 \x01(\tR\x06header\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta"_\n\x0eTxResponseData\x12M\n\x08messages\x18\x01 \x03(\x0b\x32\x31.injective.types.v1beta1.TxResponseGenericMessageR\x08messagesB\xeb\x01\n\x1b\x63om.injective.types.v1beta1B\x0fTxResponseProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.tx_response_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.types.v1beta1.tx_response_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\033com.injective.types.v1beta1B\017TxResponseProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1' - _globals['_TXRESPONSEGENERICMESSAGE']._serialized_start=70 - _globals['_TXRESPONSEGENERICMESSAGE']._serialized_end=140 - _globals['_TXRESPONSEDATA']._serialized_start=142 - _globals['_TXRESPONSEDATA']._serialized_end=237 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\033com.injective.types.v1beta1B\017TxResponseProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1" + ) + _globals["_TXRESPONSEGENERICMESSAGE"]._serialized_start = 70 + _globals["_TXRESPONSEGENERICMESSAGE"]._serialized_end = 140 + _globals["_TXRESPONSEDATA"]._serialized_start = 142 + _globals["_TXRESPONSEDATA"]._serialized_end = 237 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2_grpc.py b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2_grpc.py +++ b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/wasmx/v1/events_pb2.py b/pyinjective/proto/injective/wasmx/v1/events_pb2.py index c1e3da01..6ff25bcf 100644 --- a/pyinjective/proto/injective/wasmx/v1/events_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/events_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,18 +18,22 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/wasmx/v1/events.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x14gogoproto/gogo.proto\"\xa9\x01\n\x16\x45ventContractExecution\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1a\n\x08response\x18\x02 \x01(\x0cR\x08response\x12\x1f\n\x0bother_error\x18\x03 \x01(\tR\notherError\x12\'\n\x0f\x65xecution_error\x18\x04 \x01(\tR\x0e\x65xecutionError\"\xee\x02\n\x17\x45ventContractRegistered\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_price\x18\x03 \x01(\x04R\x08gasPrice\x12.\n\x13should_pin_contract\x18\x04 \x01(\x08R\x11shouldPinContract\x12\x30\n\x14is_migration_allowed\x18\x05 \x01(\x08R\x12isMigrationAllowed\x12\x17\n\x07\x63ode_id\x18\x06 \x01(\x04R\x06\x63odeId\x12#\n\radmin_address\x18\x07 \x01(\tR\x0c\x61\x64minAddress\x12\'\n\x0fgranter_address\x18\x08 \x01(\tR\x0egranterAddress\x12\x42\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x0b\x66undingMode\"F\n\x19\x45ventContractDeregistered\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddressB\xdc\x01\n\x16\x63om.injective.wasmx.v1B\x0b\x45ventsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1finjective/wasmx/v1/events.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x14gogoproto/gogo.proto"\xa9\x01\n\x16\x45ventContractExecution\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1a\n\x08response\x18\x02 \x01(\x0cR\x08response\x12\x1f\n\x0bother_error\x18\x03 \x01(\tR\notherError\x12\'\n\x0f\x65xecution_error\x18\x04 \x01(\tR\x0e\x65xecutionError"\xee\x02\n\x17\x45ventContractRegistered\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_price\x18\x03 \x01(\x04R\x08gasPrice\x12.\n\x13should_pin_contract\x18\x04 \x01(\x08R\x11shouldPinContract\x12\x30\n\x14is_migration_allowed\x18\x05 \x01(\x08R\x12isMigrationAllowed\x12\x17\n\x07\x63ode_id\x18\x06 \x01(\x04R\x06\x63odeId\x12#\n\radmin_address\x18\x07 \x01(\tR\x0c\x61\x64minAddress\x12\'\n\x0fgranter_address\x18\x08 \x01(\tR\x0egranterAddress\x12\x42\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x0b\x66undingMode"F\n\x19\x45ventContractDeregistered\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddressB\xdc\x01\n\x16\x63om.injective.wasmx.v1B\x0b\x45ventsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.events_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.wasmx.v1.events_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\013EventsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' - _globals['_EVENTCONTRACTEXECUTION']._serialized_start=145 - _globals['_EVENTCONTRACTEXECUTION']._serialized_end=314 - _globals['_EVENTCONTRACTREGISTERED']._serialized_start=317 - _globals['_EVENTCONTRACTREGISTERED']._serialized_end=683 - _globals['_EVENTCONTRACTDEREGISTERED']._serialized_start=685 - _globals['_EVENTCONTRACTDEREGISTERED']._serialized_end=755 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.injective.wasmx.v1B\013EventsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1" + ) + _globals["_EVENTCONTRACTEXECUTION"]._serialized_start = 145 + _globals["_EVENTCONTRACTEXECUTION"]._serialized_end = 314 + _globals["_EVENTCONTRACTREGISTERED"]._serialized_start = 317 + _globals["_EVENTCONTRACTREGISTERED"]._serialized_end = 683 + _globals["_EVENTCONTRACTDEREGISTERED"]._serialized_start = 685 + _globals["_EVENTCONTRACTDEREGISTERED"]._serialized_end = 755 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py +++ b/pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py b/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py index 763dd63b..3f30dec0 100644 --- a/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,20 +17,24 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n injective/wasmx/v1/genesis.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a\x14gogoproto/gogo.proto\"\x92\x01\n\x1dRegisteredContractWithAddress\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12W\n\x13registered_contract\x18\x02 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContractR\x12registeredContract\"\xb4\x01\n\x0cGenesisState\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12j\n\x14registered_contracts\x18\x02 \x03(\x0b\x32\x31.injective.wasmx.v1.RegisteredContractWithAddressB\x04\xc8\xde\x1f\x00R\x13registeredContractsB\xdd\x01\n\x16\x63om.injective.wasmx.v1B\x0cGenesisProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n injective/wasmx/v1/genesis.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a\x14gogoproto/gogo.proto"\x92\x01\n\x1dRegisteredContractWithAddress\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12W\n\x13registered_contract\x18\x02 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContractR\x12registeredContract"\xb4\x01\n\x0cGenesisState\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12j\n\x14registered_contracts\x18\x02 \x03(\x0b\x32\x31.injective.wasmx.v1.RegisteredContractWithAddressB\x04\xc8\xde\x1f\x00R\x13registeredContractsB\xdd\x01\n\x16\x63om.injective.wasmx.v1B\x0cGenesisProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.genesis_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.wasmx.v1.genesis_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\014GenesisProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' - _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_GENESISSTATE'].fields_by_name['registered_contracts']._loaded_options = None - _globals['_GENESISSTATE'].fields_by_name['registered_contracts']._serialized_options = b'\310\336\037\000' - _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_start=111 - _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_end=257 - _globals['_GENESISSTATE']._serialized_start=260 - _globals['_GENESISSTATE']._serialized_end=440 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.injective.wasmx.v1B\014GenesisProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1" + ) + _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_GENESISSTATE"].fields_by_name["registered_contracts"]._loaded_options = None + _globals["_GENESISSTATE"].fields_by_name["registered_contracts"]._serialized_options = b"\310\336\037\000" + _globals["_REGISTEREDCONTRACTWITHADDRESS"]._serialized_start = 111 + _globals["_REGISTEREDCONTRACTWITHADDRESS"]._serialized_end = 257 + _globals["_GENESISSTATE"]._serialized_start = 260 + _globals["_GENESISSTATE"]._serialized_end = 440 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py b/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py index 96a0f775..67e8999a 100644 --- a/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,40 +19,60 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/wasmx/v1/proposal.proto\x12\x12injective.wasmx.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a&cosmwasm/wasm/v1/proposal_legacy.proto\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"\xae\x02\n#ContractRegistrationRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12y\n\x1d\x63ontract_registration_request\x18\x03 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1b\x63ontractRegistrationRequest:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)wasmx/ContractRegistrationRequestProposal\"\xba\x02\n(BatchContractRegistrationRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12{\n\x1e\x63ontract_registration_requests\x18\x03 \x03(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1c\x63ontractRegistrationRequests:Y\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*.wasmx/BatchContractRegistrationRequestProposal\"\xd1\x01\n#BatchContractDeregistrationProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\tcontracts\x18\x03 \x03(\tR\tcontracts:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)wasmx/BatchContractDeregistrationProposal\"\xaf\x03\n\x1b\x43ontractRegistrationRequest\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_limit\x18\x02 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x03 \x01(\x04R\x08gasPrice\x12.\n\x13should_pin_contract\x18\x04 \x01(\x08R\x11shouldPinContract\x12\x30\n\x14is_migration_allowed\x18\x05 \x01(\x08R\x12isMigrationAllowed\x12\x17\n\x07\x63ode_id\x18\x06 \x01(\x04R\x06\x63odeId\x12#\n\radmin_address\x18\x07 \x01(\tR\x0c\x61\x64minAddress\x12\'\n\x0fgranter_address\x18\x08 \x01(\tR\x0egranterAddress\x12\x42\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x0b\x66undingMode:\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xe2\x01\n\x16\x42\x61tchStoreCodeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12G\n\tproposals\x18\x03 \x03(\x0b\x32#.cosmwasm.wasm.v1.StoreCodeProposalB\x04\xc8\xde\x1f\x00R\tproposals:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasmx/BatchStoreCodeProposal*G\n\x0b\x46undingMode\x12\x0f\n\x0bUnspecified\x10\x00\x12\x0e\n\nSelfFunded\x10\x01\x12\r\n\tGrantOnly\x10\x02\x12\x08\n\x04\x44ual\x10\x03\x42\xde\x01\n\x16\x63om.injective.wasmx.v1B\rProposalProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n!injective/wasmx/v1/proposal.proto\x12\x12injective.wasmx.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a&cosmwasm/wasm/v1/proposal_legacy.proto\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto"\xae\x02\n#ContractRegistrationRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12y\n\x1d\x63ontract_registration_request\x18\x03 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1b\x63ontractRegistrationRequest:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)wasmx/ContractRegistrationRequestProposal"\xba\x02\n(BatchContractRegistrationRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12{\n\x1e\x63ontract_registration_requests\x18\x03 \x03(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1c\x63ontractRegistrationRequests:Y\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*.wasmx/BatchContractRegistrationRequestProposal"\xd1\x01\n#BatchContractDeregistrationProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\tcontracts\x18\x03 \x03(\tR\tcontracts:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)wasmx/BatchContractDeregistrationProposal"\xaf\x03\n\x1b\x43ontractRegistrationRequest\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_limit\x18\x02 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x03 \x01(\x04R\x08gasPrice\x12.\n\x13should_pin_contract\x18\x04 \x01(\x08R\x11shouldPinContract\x12\x30\n\x14is_migration_allowed\x18\x05 \x01(\x08R\x12isMigrationAllowed\x12\x17\n\x07\x63ode_id\x18\x06 \x01(\x04R\x06\x63odeId\x12#\n\radmin_address\x18\x07 \x01(\tR\x0c\x61\x64minAddress\x12\'\n\x0fgranter_address\x18\x08 \x01(\tR\x0egranterAddress\x12\x42\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x0b\x66undingMode:\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content"\xe2\x01\n\x16\x42\x61tchStoreCodeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12G\n\tproposals\x18\x03 \x03(\x0b\x32#.cosmwasm.wasm.v1.StoreCodeProposalB\x04\xc8\xde\x1f\x00R\tproposals:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasmx/BatchStoreCodeProposal*G\n\x0b\x46undingMode\x12\x0f\n\x0bUnspecified\x10\x00\x12\x0e\n\nSelfFunded\x10\x01\x12\r\n\tGrantOnly\x10\x02\x12\x08\n\x04\x44ual\x10\x03\x42\xde\x01\n\x16\x63om.injective.wasmx.v1B\rProposalProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.proposal_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.wasmx.v1.proposal_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\rProposalProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' - _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL'].fields_by_name['contract_registration_request']._loaded_options = None - _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL'].fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' - _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._loaded_options = None - _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)wasmx/ContractRegistrationRequestProposal' - _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL'].fields_by_name['contract_registration_requests']._loaded_options = None - _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL'].fields_by_name['contract_registration_requests']._serialized_options = b'\310\336\037\000' - _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._loaded_options = None - _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*.wasmx/BatchContractRegistrationRequestProposal' - _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._loaded_options = None - _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)wasmx/BatchContractDeregistrationProposal' - _globals['_CONTRACTREGISTRATIONREQUEST']._loaded_options = None - _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_BATCHSTORECODEPROPOSAL'].fields_by_name['proposals']._loaded_options = None - _globals['_BATCHSTORECODEPROPOSAL'].fields_by_name['proposals']._serialized_options = b'\310\336\037\000' - _globals['_BATCHSTORECODEPROPOSAL']._loaded_options = None - _globals['_BATCHSTORECODEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasmx/BatchStoreCodeProposal' - _globals['_FUNDINGMODE']._serialized_start=1662 - _globals['_FUNDINGMODE']._serialized_end=1733 - _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=166 - _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=468 - _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=471 - _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=785 - _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_start=788 - _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_end=997 - _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_start=1000 - _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_end=1431 - _globals['_BATCHSTORECODEPROPOSAL']._serialized_start=1434 - _globals['_BATCHSTORECODEPROPOSAL']._serialized_end=1660 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.injective.wasmx.v1B\rProposalProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1" + ) + _globals["_CONTRACTREGISTRATIONREQUESTPROPOSAL"].fields_by_name[ + "contract_registration_request" + ]._loaded_options = None + _globals["_CONTRACTREGISTRATIONREQUESTPROPOSAL"].fields_by_name[ + "contract_registration_request" + ]._serialized_options = b"\310\336\037\000" + _globals["_CONTRACTREGISTRATIONREQUESTPROPOSAL"]._loaded_options = None + _globals["_CONTRACTREGISTRATIONREQUESTPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)wasmx/ContractRegistrationRequestProposal" + ) + _globals["_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL"].fields_by_name[ + "contract_registration_requests" + ]._loaded_options = None + _globals["_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL"].fields_by_name[ + "contract_registration_requests" + ]._serialized_options = b"\310\336\037\000" + _globals["_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL"]._loaded_options = None + _globals["_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*.wasmx/BatchContractRegistrationRequestProposal" + ) + _globals["_BATCHCONTRACTDEREGISTRATIONPROPOSAL"]._loaded_options = None + _globals["_BATCHCONTRACTDEREGISTRATIONPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)wasmx/BatchContractDeregistrationProposal" + ) + _globals["_CONTRACTREGISTRATIONREQUEST"]._loaded_options = None + _globals["_CONTRACTREGISTRATIONREQUEST"]._serialized_options = b"\312\264-\032cosmos.gov.v1beta1.Content" + _globals["_BATCHSTORECODEPROPOSAL"].fields_by_name["proposals"]._loaded_options = None + _globals["_BATCHSTORECODEPROPOSAL"].fields_by_name["proposals"]._serialized_options = b"\310\336\037\000" + _globals["_BATCHSTORECODEPROPOSAL"]._loaded_options = None + _globals["_BATCHSTORECODEPROPOSAL"]._serialized_options = ( + b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasmx/BatchStoreCodeProposal" + ) + _globals["_FUNDINGMODE"]._serialized_start = 1662 + _globals["_FUNDINGMODE"]._serialized_end = 1733 + _globals["_CONTRACTREGISTRATIONREQUESTPROPOSAL"]._serialized_start = 166 + _globals["_CONTRACTREGISTRATIONREQUESTPROPOSAL"]._serialized_end = 468 + _globals["_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL"]._serialized_start = 471 + _globals["_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL"]._serialized_end = 785 + _globals["_BATCHCONTRACTDEREGISTRATIONPROPOSAL"]._serialized_start = 788 + _globals["_BATCHCONTRACTDEREGISTRATIONPROPOSAL"]._serialized_end = 997 + _globals["_CONTRACTREGISTRATIONREQUEST"]._serialized_start = 1000 + _globals["_CONTRACTREGISTRATIONREQUEST"]._serialized_end = 1431 + _globals["_BATCHSTORECODEPROPOSAL"]._serialized_start = 1434 + _globals["_BATCHSTORECODEPROPOSAL"]._serialized_end = 1660 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py +++ b/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2.py b/pyinjective/proto/injective/wasmx/v1/query_pb2.py index 2bba8f41..faa5a417 100644 --- a/pyinjective/proto/injective/wasmx/v1/query_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/query_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,34 +19,44 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/query.proto\x12\x12injective.wasmx.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a injective/wasmx/v1/genesis.proto\x1a\x14gogoproto/gogo.proto\"\x19\n\x17QueryWasmxParamsRequest\"T\n\x18QueryWasmxParamsResponse\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x19\n\x17QueryModuleStateRequest\"R\n\x18QueryModuleStateResponse\x12\x36\n\x05state\x18\x01 \x01(\x0b\x32 .injective.wasmx.v1.GenesisStateR\x05state\"Q\n$QueryContractRegistrationInfoRequest\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\"k\n%QueryContractRegistrationInfoResponse\x12\x42\n\x08\x63ontract\x18\x01 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContractR\x08\x63ontract2\x84\x04\n\x05Query\x12\x8c\x01\n\x0bWasmxParams\x12+.injective.wasmx.v1.QueryWasmxParamsRequest\x1a,.injective.wasmx.v1.QueryWasmxParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/injective/wasmx/v1/params\x12\xd1\x01\n\x18\x43ontractRegistrationInfo\x12\x38.injective.wasmx.v1.QueryContractRegistrationInfoRequest\x1a\x39.injective.wasmx.v1.QueryContractRegistrationInfoResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/wasmx/v1/registration_info/{contract_address}\x12\x97\x01\n\x10WasmxModuleState\x12+.injective.wasmx.v1.QueryModuleStateRequest\x1a,.injective.wasmx.v1.QueryModuleStateResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /injective/wasmx/v1/module_stateB\xdb\x01\n\x16\x63om.injective.wasmx.v1B\nQueryProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1einjective/wasmx/v1/query.proto\x12\x12injective.wasmx.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a injective/wasmx/v1/genesis.proto\x1a\x14gogoproto/gogo.proto"\x19\n\x17QueryWasmxParamsRequest"T\n\x18QueryWasmxParamsResponse\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\x19\n\x17QueryModuleStateRequest"R\n\x18QueryModuleStateResponse\x12\x36\n\x05state\x18\x01 \x01(\x0b\x32 .injective.wasmx.v1.GenesisStateR\x05state"Q\n$QueryContractRegistrationInfoRequest\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress"k\n%QueryContractRegistrationInfoResponse\x12\x42\n\x08\x63ontract\x18\x01 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContractR\x08\x63ontract2\x84\x04\n\x05Query\x12\x8c\x01\n\x0bWasmxParams\x12+.injective.wasmx.v1.QueryWasmxParamsRequest\x1a,.injective.wasmx.v1.QueryWasmxParamsResponse""\x82\xd3\xe4\x93\x02\x1c\x12\x1a/injective/wasmx/v1/params\x12\xd1\x01\n\x18\x43ontractRegistrationInfo\x12\x38.injective.wasmx.v1.QueryContractRegistrationInfoRequest\x1a\x39.injective.wasmx.v1.QueryContractRegistrationInfoResponse"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/wasmx/v1/registration_info/{contract_address}\x12\x97\x01\n\x10WasmxModuleState\x12+.injective.wasmx.v1.QueryModuleStateRequest\x1a,.injective.wasmx.v1.QueryModuleStateResponse"(\x82\xd3\xe4\x93\x02"\x12 /injective/wasmx/v1/module_stateB\xdb\x01\n\x16\x63om.injective.wasmx.v1B\nQueryProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.query_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.wasmx.v1.query_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\nQueryProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' - _globals['_QUERYWASMXPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None - _globals['_QUERYWASMXPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_QUERY'].methods_by_name['WasmxParams']._loaded_options = None - _globals['_QUERY'].methods_by_name['WasmxParams']._serialized_options = b'\202\323\344\223\002\034\022\032/injective/wasmx/v1/params' - _globals['_QUERY'].methods_by_name['ContractRegistrationInfo']._loaded_options = None - _globals['_QUERY'].methods_by_name['ContractRegistrationInfo']._serialized_options = b'\202\323\344\223\002:\0228/injective/wasmx/v1/registration_info/{contract_address}' - _globals['_QUERY'].methods_by_name['WasmxModuleState']._loaded_options = None - _globals['_QUERY'].methods_by_name['WasmxModuleState']._serialized_options = b'\202\323\344\223\002\"\022 /injective/wasmx/v1/module_state' - _globals['_QUERYWASMXPARAMSREQUEST']._serialized_start=172 - _globals['_QUERYWASMXPARAMSREQUEST']._serialized_end=197 - _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_start=199 - _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_end=283 - _globals['_QUERYMODULESTATEREQUEST']._serialized_start=285 - _globals['_QUERYMODULESTATEREQUEST']._serialized_end=310 - _globals['_QUERYMODULESTATERESPONSE']._serialized_start=312 - _globals['_QUERYMODULESTATERESPONSE']._serialized_end=394 - _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_start=396 - _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_end=477 - _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_start=479 - _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_end=586 - _globals['_QUERY']._serialized_start=589 - _globals['_QUERY']._serialized_end=1105 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.injective.wasmx.v1B\nQueryProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1" + ) + _globals["_QUERYWASMXPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None + _globals["_QUERYWASMXPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_QUERY"].methods_by_name["WasmxParams"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "WasmxParams" + ]._serialized_options = b"\202\323\344\223\002\034\022\032/injective/wasmx/v1/params" + _globals["_QUERY"].methods_by_name["ContractRegistrationInfo"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "ContractRegistrationInfo" + ]._serialized_options = b"\202\323\344\223\002:\0228/injective/wasmx/v1/registration_info/{contract_address}" + _globals["_QUERY"].methods_by_name["WasmxModuleState"]._loaded_options = None + _globals["_QUERY"].methods_by_name[ + "WasmxModuleState" + ]._serialized_options = b'\202\323\344\223\002"\022 /injective/wasmx/v1/module_state' + _globals["_QUERYWASMXPARAMSREQUEST"]._serialized_start = 172 + _globals["_QUERYWASMXPARAMSREQUEST"]._serialized_end = 197 + _globals["_QUERYWASMXPARAMSRESPONSE"]._serialized_start = 199 + _globals["_QUERYWASMXPARAMSRESPONSE"]._serialized_end = 283 + _globals["_QUERYMODULESTATEREQUEST"]._serialized_start = 285 + _globals["_QUERYMODULESTATEREQUEST"]._serialized_end = 310 + _globals["_QUERYMODULESTATERESPONSE"]._serialized_start = 312 + _globals["_QUERYMODULESTATERESPONSE"]._serialized_end = 394 + _globals["_QUERYCONTRACTREGISTRATIONINFOREQUEST"]._serialized_start = 396 + _globals["_QUERYCONTRACTREGISTRATIONINFOREQUEST"]._serialized_end = 477 + _globals["_QUERYCONTRACTREGISTRATIONINFORESPONSE"]._serialized_start = 479 + _globals["_QUERYCONTRACTREGISTRATIONINFORESPONSE"]._serialized_end = 586 + _globals["_QUERY"]._serialized_start = 589 + _globals["_QUERY"]._serialized_end = 1105 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py index 8f940368..509bb4d2 100644 --- a/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py +++ b/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py @@ -6,8 +6,7 @@ class QueryStub(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def __init__(self, channel): """Constructor. @@ -16,92 +15,91 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.WasmxParams = channel.unary_unary( - '/injective.wasmx.v1.Query/WasmxParams', - request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, - _registered_method=True) + "/injective.wasmx.v1.Query/WasmxParams", + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, + _registered_method=True, + ) self.ContractRegistrationInfo = channel.unary_unary( - '/injective.wasmx.v1.Query/ContractRegistrationInfo', - request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, - _registered_method=True) + "/injective.wasmx.v1.Query/ContractRegistrationInfo", + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, + _registered_method=True, + ) self.WasmxModuleState = channel.unary_unary( - '/injective.wasmx.v1.Query/WasmxModuleState', - request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, - _registered_method=True) + "/injective.wasmx.v1.Query/WasmxModuleState", + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, + _registered_method=True, + ) class QueryServicer(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" def WasmxParams(self, request, context): - """Retrieves wasmx params - """ + """Retrieves wasmx params""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ContractRegistrationInfo(self, request, context): - """Retrieves contract registration info - """ + """Retrieves contract registration info""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def WasmxModuleState(self, request, context): - """Retrieves the entire wasmx module's state - """ + """Retrieves the entire wasmx module's state""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'WasmxParams': grpc.unary_unary_rpc_method_handler( - servicer.WasmxParams, - request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.SerializeToString, - ), - 'ContractRegistrationInfo': grpc.unary_unary_rpc_method_handler( - servicer.ContractRegistrationInfo, - request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.SerializeToString, - ), - 'WasmxModuleState': grpc.unary_unary_rpc_method_handler( - servicer.WasmxModuleState, - request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, - ), + "WasmxParams": grpc.unary_unary_rpc_method_handler( + servicer.WasmxParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.SerializeToString, + ), + "ContractRegistrationInfo": grpc.unary_unary_rpc_method_handler( + servicer.ContractRegistrationInfo, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.SerializeToString, + ), + "WasmxModuleState": grpc.unary_unary_rpc_method_handler( + servicer.WasmxModuleState, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.wasmx.v1.Query', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("injective.wasmx.v1.Query", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.wasmx.v1.Query', rpc_method_handlers) + server.add_registered_method_handlers("injective.wasmx.v1.Query", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service. - """ + """Query defines the gRPC querier service.""" @staticmethod - def WasmxParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def WasmxParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.wasmx.v1.Query/WasmxParams', + "/injective.wasmx.v1.Query/WasmxParams", injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, options, @@ -112,23 +110,26 @@ def WasmxParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ContractRegistrationInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ContractRegistrationInfo( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.wasmx.v1.Query/ContractRegistrationInfo', + "/injective.wasmx.v1.Query/ContractRegistrationInfo", injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, options, @@ -139,23 +140,26 @@ def ContractRegistrationInfo(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def WasmxModuleState(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def WasmxModuleState( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.wasmx.v1.Query/WasmxModuleState', + "/injective.wasmx.v1.Query/WasmxModuleState", injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, options, @@ -166,4 +170,5 @@ def WasmxModuleState(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py index 84f38d96..6579c994 100644 --- a/pyinjective/proto/injective/wasmx/v1/tx_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -21,60 +22,76 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1binjective/wasmx/v1/tx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x11\x61mino/amino.proto\"\xa6\x01\n\x18MsgExecuteContractCompat\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08\x63ontract\x18\x02 \x01(\tR\x08\x63ontract\x12\x10\n\x03msg\x18\x03 \x01(\tR\x03msg\x12\x14\n\x05\x66unds\x18\x04 \x01(\tR\x05\x66unds:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1ewasmx/MsgExecuteContractCompat\"6\n MsgExecuteContractCompatResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\xe4\x01\n\x11MsgUpdateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_limit\x18\x03 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x04 \x01(\x04R\x08gasPrice\x12)\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01R\x0c\x61\x64minAddress:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasmx/MsgUpdateContract\"\x1b\n\x19MsgUpdateContractResponse\"\x83\x01\n\x13MsgActivateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress:)\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19wasmx/MsgActivateContract\"\x1d\n\x1bMsgActivateContractResponse\"\x87\x01\n\x15MsgDeactivateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasmx/MsgDeactivateContract\"\x1f\n\x1dMsgDeactivateContractResponse\"\xad\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:(\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x15wasmx/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xd3\x01\n\x13MsgRegisterContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12y\n\x1d\x63ontract_registration_request\x18\x02 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1b\x63ontractRegistrationRequest:)\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19wasmx/MsgRegisterContract\"\x1d\n\x1bMsgRegisterContractResponse2\xc1\x05\n\x03Msg\x12t\n\x1cUpdateRegistryContractParams\x12%.injective.wasmx.v1.MsgUpdateContract\x1a-.injective.wasmx.v1.MsgUpdateContractResponse\x12t\n\x18\x41\x63tivateRegistryContract\x12\'.injective.wasmx.v1.MsgActivateContract\x1a/.injective.wasmx.v1.MsgActivateContractResponse\x12z\n\x1a\x44\x65\x61\x63tivateRegistryContract\x12).injective.wasmx.v1.MsgDeactivateContract\x1a\x31.injective.wasmx.v1.MsgDeactivateContractResponse\x12{\n\x15\x45xecuteContractCompat\x12,.injective.wasmx.v1.MsgExecuteContractCompat\x1a\x34.injective.wasmx.v1.MsgExecuteContractCompatResponse\x12`\n\x0cUpdateParams\x12#.injective.wasmx.v1.MsgUpdateParams\x1a+.injective.wasmx.v1.MsgUpdateParamsResponse\x12l\n\x10RegisterContract\x12\'.injective.wasmx.v1.MsgRegisterContract\x1a/.injective.wasmx.v1.MsgRegisterContractResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd8\x01\n\x16\x63om.injective.wasmx.v1B\x07TxProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1binjective/wasmx/v1/tx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x11\x61mino/amino.proto"\xa6\x01\n\x18MsgExecuteContractCompat\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08\x63ontract\x18\x02 \x01(\tR\x08\x63ontract\x12\x10\n\x03msg\x18\x03 \x01(\tR\x03msg\x12\x14\n\x05\x66unds\x18\x04 \x01(\tR\x05\x66unds:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1ewasmx/MsgExecuteContractCompat"6\n MsgExecuteContractCompatResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta"\xe4\x01\n\x11MsgUpdateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_limit\x18\x03 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x04 \x01(\x04R\x08gasPrice\x12)\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01R\x0c\x61\x64minAddress:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasmx/MsgUpdateContract"\x1b\n\x19MsgUpdateContractResponse"\x83\x01\n\x13MsgActivateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress:)\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19wasmx/MsgActivateContract"\x1d\n\x1bMsgActivateContractResponse"\x87\x01\n\x15MsgDeactivateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasmx/MsgDeactivateContract"\x1f\n\x1dMsgDeactivateContractResponse"\xad\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:(\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x15wasmx/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse"\xd3\x01\n\x13MsgRegisterContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12y\n\x1d\x63ontract_registration_request\x18\x02 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1b\x63ontractRegistrationRequest:)\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19wasmx/MsgRegisterContract"\x1d\n\x1bMsgRegisterContractResponse2\xc1\x05\n\x03Msg\x12t\n\x1cUpdateRegistryContractParams\x12%.injective.wasmx.v1.MsgUpdateContract\x1a-.injective.wasmx.v1.MsgUpdateContractResponse\x12t\n\x18\x41\x63tivateRegistryContract\x12\'.injective.wasmx.v1.MsgActivateContract\x1a/.injective.wasmx.v1.MsgActivateContractResponse\x12z\n\x1a\x44\x65\x61\x63tivateRegistryContract\x12).injective.wasmx.v1.MsgDeactivateContract\x1a\x31.injective.wasmx.v1.MsgDeactivateContractResponse\x12{\n\x15\x45xecuteContractCompat\x12,.injective.wasmx.v1.MsgExecuteContractCompat\x1a\x34.injective.wasmx.v1.MsgExecuteContractCompatResponse\x12`\n\x0cUpdateParams\x12#.injective.wasmx.v1.MsgUpdateParams\x1a+.injective.wasmx.v1.MsgUpdateParamsResponse\x12l\n\x10RegisterContract\x12\'.injective.wasmx.v1.MsgRegisterContract\x1a/.injective.wasmx.v1.MsgRegisterContractResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd8\x01\n\x16\x63om.injective.wasmx.v1B\x07TxProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.tx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.wasmx.v1.tx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\007TxProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' - _globals['_MSGEXECUTECONTRACTCOMPAT']._loaded_options = None - _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036wasmx/MsgExecuteContractCompat' - _globals['_MSGUPDATECONTRACT'].fields_by_name['admin_address']._loaded_options = None - _globals['_MSGUPDATECONTRACT'].fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' - _globals['_MSGUPDATECONTRACT']._loaded_options = None - _globals['_MSGUPDATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasmx/MsgUpdateContract' - _globals['_MSGACTIVATECONTRACT']._loaded_options = None - _globals['_MSGACTIVATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\031wasmx/MsgActivateContract' - _globals['_MSGDEACTIVATECONTRACT']._loaded_options = None - _globals['_MSGDEACTIVATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasmx/MsgDeactivateContract' - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None - _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' - _globals['_MSGUPDATEPARAMS']._loaded_options = None - _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\025wasmx/MsgUpdateParams' - _globals['_MSGREGISTERCONTRACT'].fields_by_name['contract_registration_request']._loaded_options = None - _globals['_MSGREGISTERCONTRACT'].fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' - _globals['_MSGREGISTERCONTRACT']._loaded_options = None - _globals['_MSGREGISTERCONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\031wasmx/MsgRegisterContract' - _globals['_MSG']._loaded_options = None - _globals['_MSG']._serialized_options = b'\200\347\260*\001' - _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_start=239 - _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_end=405 - _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_start=407 - _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_end=461 - _globals['_MSGUPDATECONTRACT']._serialized_start=464 - _globals['_MSGUPDATECONTRACT']._serialized_end=692 - _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_start=694 - _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_end=721 - _globals['_MSGACTIVATECONTRACT']._serialized_start=724 - _globals['_MSGACTIVATECONTRACT']._serialized_end=855 - _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_start=857 - _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_end=886 - _globals['_MSGDEACTIVATECONTRACT']._serialized_start=889 - _globals['_MSGDEACTIVATECONTRACT']._serialized_end=1024 - _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_start=1026 - _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_end=1057 - _globals['_MSGUPDATEPARAMS']._serialized_start=1060 - _globals['_MSGUPDATEPARAMS']._serialized_end=1233 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1235 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1260 - _globals['_MSGREGISTERCONTRACT']._serialized_start=1263 - _globals['_MSGREGISTERCONTRACT']._serialized_end=1474 - _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_start=1476 - _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_end=1505 - _globals['_MSG']._serialized_start=1508 - _globals['_MSG']._serialized_end=2213 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.injective.wasmx.v1B\007TxProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1" + ) + _globals["_MSGEXECUTECONTRACTCOMPAT"]._loaded_options = None + _globals["_MSGEXECUTECONTRACTCOMPAT"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\036wasmx/MsgExecuteContractCompat" + ) + _globals["_MSGUPDATECONTRACT"].fields_by_name["admin_address"]._loaded_options = None + _globals["_MSGUPDATECONTRACT"].fields_by_name["admin_address"]._serialized_options = b"\310\336\037\001" + _globals["_MSGUPDATECONTRACT"]._loaded_options = None + _globals["_MSGUPDATECONTRACT"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\027wasmx/MsgUpdateContract" + ) + _globals["_MSGACTIVATECONTRACT"]._loaded_options = None + _globals["_MSGACTIVATECONTRACT"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\031wasmx/MsgActivateContract" + ) + _globals["_MSGDEACTIVATECONTRACT"]._loaded_options = None + _globals["_MSGDEACTIVATECONTRACT"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\033wasmx/MsgDeactivateContract" + ) + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" + _globals["_MSGUPDATEPARAMS"]._loaded_options = None + _globals["_MSGUPDATEPARAMS"]._serialized_options = b"\202\347\260*\tauthority\212\347\260*\025wasmx/MsgUpdateParams" + _globals["_MSGREGISTERCONTRACT"].fields_by_name["contract_registration_request"]._loaded_options = None + _globals["_MSGREGISTERCONTRACT"].fields_by_name[ + "contract_registration_request" + ]._serialized_options = b"\310\336\037\000" + _globals["_MSGREGISTERCONTRACT"]._loaded_options = None + _globals["_MSGREGISTERCONTRACT"]._serialized_options = ( + b"\202\347\260*\006sender\212\347\260*\031wasmx/MsgRegisterContract" + ) + _globals["_MSG"]._loaded_options = None + _globals["_MSG"]._serialized_options = b"\200\347\260*\001" + _globals["_MSGEXECUTECONTRACTCOMPAT"]._serialized_start = 239 + _globals["_MSGEXECUTECONTRACTCOMPAT"]._serialized_end = 405 + _globals["_MSGEXECUTECONTRACTCOMPATRESPONSE"]._serialized_start = 407 + _globals["_MSGEXECUTECONTRACTCOMPATRESPONSE"]._serialized_end = 461 + _globals["_MSGUPDATECONTRACT"]._serialized_start = 464 + _globals["_MSGUPDATECONTRACT"]._serialized_end = 692 + _globals["_MSGUPDATECONTRACTRESPONSE"]._serialized_start = 694 + _globals["_MSGUPDATECONTRACTRESPONSE"]._serialized_end = 721 + _globals["_MSGACTIVATECONTRACT"]._serialized_start = 724 + _globals["_MSGACTIVATECONTRACT"]._serialized_end = 855 + _globals["_MSGACTIVATECONTRACTRESPONSE"]._serialized_start = 857 + _globals["_MSGACTIVATECONTRACTRESPONSE"]._serialized_end = 886 + _globals["_MSGDEACTIVATECONTRACT"]._serialized_start = 889 + _globals["_MSGDEACTIVATECONTRACT"]._serialized_end = 1024 + _globals["_MSGDEACTIVATECONTRACTRESPONSE"]._serialized_start = 1026 + _globals["_MSGDEACTIVATECONTRACTRESPONSE"]._serialized_end = 1057 + _globals["_MSGUPDATEPARAMS"]._serialized_start = 1060 + _globals["_MSGUPDATEPARAMS"]._serialized_end = 1233 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1235 + _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1260 + _globals["_MSGREGISTERCONTRACT"]._serialized_start = 1263 + _globals["_MSGREGISTERCONTRACT"]._serialized_end = 1474 + _globals["_MSGREGISTERCONTRACTRESPONSE"]._serialized_start = 1476 + _globals["_MSGREGISTERCONTRACTRESPONSE"]._serialized_end = 1505 + _globals["_MSG"]._serialized_start = 1508 + _globals["_MSG"]._serialized_end = 2213 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py index 5f2c8a9a..5440898b 100644 --- a/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py @@ -6,8 +6,7 @@ class MsgStub(object): - """Msg defines the wasmx Msg service. - """ + """Msg defines the wasmx Msg service.""" def __init__(self, channel): """Constructor. @@ -16,137 +15,142 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.UpdateRegistryContractParams = channel.unary_unary( - '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, - _registered_method=True) + "/injective.wasmx.v1.Msg/UpdateRegistryContractParams", + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, + _registered_method=True, + ) self.ActivateRegistryContract = channel.unary_unary( - '/injective.wasmx.v1.Msg/ActivateRegistryContract', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, - _registered_method=True) + "/injective.wasmx.v1.Msg/ActivateRegistryContract", + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, + _registered_method=True, + ) self.DeactivateRegistryContract = channel.unary_unary( - '/injective.wasmx.v1.Msg/DeactivateRegistryContract', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, - _registered_method=True) + "/injective.wasmx.v1.Msg/DeactivateRegistryContract", + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, + _registered_method=True, + ) self.ExecuteContractCompat = channel.unary_unary( - '/injective.wasmx.v1.Msg/ExecuteContractCompat', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, - _registered_method=True) + "/injective.wasmx.v1.Msg/ExecuteContractCompat", + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, + _registered_method=True, + ) self.UpdateParams = channel.unary_unary( - '/injective.wasmx.v1.Msg/UpdateParams', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True) + "/injective.wasmx.v1.Msg/UpdateParams", + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True, + ) self.RegisterContract = channel.unary_unary( - '/injective.wasmx.v1.Msg/RegisterContract', - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, - _registered_method=True) + "/injective.wasmx.v1.Msg/RegisterContract", + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, + _registered_method=True, + ) class MsgServicer(object): - """Msg defines the wasmx Msg service. - """ + """Msg defines the wasmx Msg service.""" def UpdateRegistryContractParams(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ActivateRegistryContract(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def DeactivateRegistryContract(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ExecuteContractCompat(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def UpdateParams(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def RegisterContract(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - 'UpdateRegistryContractParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateRegistryContractParams, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.SerializeToString, - ), - 'ActivateRegistryContract': grpc.unary_unary_rpc_method_handler( - servicer.ActivateRegistryContract, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.SerializeToString, - ), - 'DeactivateRegistryContract': grpc.unary_unary_rpc_method_handler( - servicer.DeactivateRegistryContract, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.SerializeToString, - ), - 'ExecuteContractCompat': grpc.unary_unary_rpc_method_handler( - servicer.ExecuteContractCompat, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.SerializeToString, - ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - 'RegisterContract': grpc.unary_unary_rpc_method_handler( - servicer.RegisterContract, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.SerializeToString, - ), + "UpdateRegistryContractParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateRegistryContractParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.SerializeToString, + ), + "ActivateRegistryContract": grpc.unary_unary_rpc_method_handler( + servicer.ActivateRegistryContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.SerializeToString, + ), + "DeactivateRegistryContract": grpc.unary_unary_rpc_method_handler( + servicer.DeactivateRegistryContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.SerializeToString, + ), + "ExecuteContractCompat": grpc.unary_unary_rpc_method_handler( + servicer.ExecuteContractCompat, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.SerializeToString, + ), + "UpdateParams": grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + "RegisterContract": grpc.unary_unary_rpc_method_handler( + servicer.RegisterContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'injective.wasmx.v1.Msg', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("injective.wasmx.v1.Msg", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('injective.wasmx.v1.Msg', rpc_method_handlers) + server.add_registered_method_handlers("injective.wasmx.v1.Msg", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the wasmx Msg service. - """ + """Msg defines the wasmx Msg service.""" @staticmethod - def UpdateRegistryContractParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateRegistryContractParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', + "/injective.wasmx.v1.Msg/UpdateRegistryContractParams", injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, options, @@ -157,23 +161,26 @@ def UpdateRegistryContractParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ActivateRegistryContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ActivateRegistryContract( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.wasmx.v1.Msg/ActivateRegistryContract', + "/injective.wasmx.v1.Msg/ActivateRegistryContract", injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, options, @@ -184,23 +191,26 @@ def ActivateRegistryContract(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def DeactivateRegistryContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def DeactivateRegistryContract( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.wasmx.v1.Msg/DeactivateRegistryContract', + "/injective.wasmx.v1.Msg/DeactivateRegistryContract", injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, options, @@ -211,23 +221,26 @@ def DeactivateRegistryContract(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ExecuteContractCompat(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ExecuteContractCompat( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.wasmx.v1.Msg/ExecuteContractCompat', + "/injective.wasmx.v1.Msg/ExecuteContractCompat", injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, options, @@ -238,23 +251,26 @@ def ExecuteContractCompat(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def UpdateParams( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.wasmx.v1.Msg/UpdateParams', + "/injective.wasmx.v1.Msg/UpdateParams", injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -265,23 +281,26 @@ def UpdateParams(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def RegisterContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def RegisterContract( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): return grpc.experimental.unary_unary( request, target, - '/injective.wasmx.v1.Msg/RegisterContract', + "/injective.wasmx.v1.Msg/RegisterContract", injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, options, @@ -292,4 +311,5 @@ def RegisterContract(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py index 074c9fd6..7fb7507a 100644 --- a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,28 +19,34 @@ from pyinjective.proto.injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/wasmx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\x1a!injective/wasmx/v1/proposal.proto\"\xed\x02\n\x06Params\x12\x30\n\x14is_execution_enabled\x18\x01 \x01(\x08R\x12isExecutionEnabled\x12\x38\n\x19max_begin_block_total_gas\x18\x02 \x01(\x04R\x15maxBeginBlockTotalGas\x12\x33\n\x16max_contract_gas_limit\x18\x03 \x01(\x04R\x13maxContractGasLimit\x12\"\n\rmin_gas_price\x18\x04 \x01(\x04R\x0bminGasPrice\x12\x86\x01\n\x18register_contract_access\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB,\xc8\xde\x1f\x00\xf2\xde\x1f\x1fyaml:\"register_contract_access\"\xa8\xe7\xb0*\x01R\x16registerContractAccess:\x15\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0cwasmx/Params\"\xb0\x02\n\x12RegisteredContract\x12\x1b\n\tgas_limit\x18\x01 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x02 \x01(\x04R\x08gasPrice\x12#\n\ris_executable\x18\x03 \x01(\x08R\x0cisExecutable\x12\x1d\n\x07\x63ode_id\x18\x04 \x01(\x04\x42\x04\xc8\xde\x1f\x01R\x06\x63odeId\x12)\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01R\x0c\x61\x64minAddress\x12-\n\x0fgranter_address\x18\x06 \x01(\tB\x04\xc8\xde\x1f\x01R\x0egranterAddress\x12<\n\tfund_mode\x18\x07 \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x08\x66undMode:\x04\xe8\xa0\x1f\x01\x42\xdb\x01\n\x16\x63om.injective.wasmx.v1B\nWasmxProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1einjective/wasmx/v1/wasmx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\x1a!injective/wasmx/v1/proposal.proto"\xed\x02\n\x06Params\x12\x30\n\x14is_execution_enabled\x18\x01 \x01(\x08R\x12isExecutionEnabled\x12\x38\n\x19max_begin_block_total_gas\x18\x02 \x01(\x04R\x15maxBeginBlockTotalGas\x12\x33\n\x16max_contract_gas_limit\x18\x03 \x01(\x04R\x13maxContractGasLimit\x12"\n\rmin_gas_price\x18\x04 \x01(\x04R\x0bminGasPrice\x12\x86\x01\n\x18register_contract_access\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB,\xc8\xde\x1f\x00\xf2\xde\x1f\x1fyaml:"register_contract_access"\xa8\xe7\xb0*\x01R\x16registerContractAccess:\x15\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0cwasmx/Params"\xb0\x02\n\x12RegisteredContract\x12\x1b\n\tgas_limit\x18\x01 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x02 \x01(\x04R\x08gasPrice\x12#\n\ris_executable\x18\x03 \x01(\x08R\x0cisExecutable\x12\x1d\n\x07\x63ode_id\x18\x04 \x01(\x04\x42\x04\xc8\xde\x1f\x01R\x06\x63odeId\x12)\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01R\x0c\x61\x64minAddress\x12-\n\x0fgranter_address\x18\x06 \x01(\tB\x04\xc8\xde\x1f\x01R\x0egranterAddress\x12<\n\tfund_mode\x18\x07 \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x08\x66undMode:\x04\xe8\xa0\x1f\x01\x42\xdb\x01\n\x16\x63om.injective.wasmx.v1B\nWasmxProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.wasmx_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.wasmx.v1.wasmx_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\nWasmxProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' - _globals['_PARAMS'].fields_by_name['register_contract_access']._loaded_options = None - _globals['_PARAMS'].fields_by_name['register_contract_access']._serialized_options = b'\310\336\037\000\362\336\037\037yaml:\"register_contract_access\"\250\347\260*\001' - _globals['_PARAMS']._loaded_options = None - _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\014wasmx/Params' - _globals['_REGISTEREDCONTRACT'].fields_by_name['code_id']._loaded_options = None - _globals['_REGISTEREDCONTRACT'].fields_by_name['code_id']._serialized_options = b'\310\336\037\001' - _globals['_REGISTEREDCONTRACT'].fields_by_name['admin_address']._loaded_options = None - _globals['_REGISTEREDCONTRACT'].fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' - _globals['_REGISTEREDCONTRACT'].fields_by_name['granter_address']._loaded_options = None - _globals['_REGISTEREDCONTRACT'].fields_by_name['granter_address']._serialized_options = b'\310\336\037\001' - _globals['_REGISTEREDCONTRACT']._loaded_options = None - _globals['_REGISTEREDCONTRACT']._serialized_options = b'\350\240\037\001' - _globals['_PARAMS']._serialized_start=161 - _globals['_PARAMS']._serialized_end=526 - _globals['_REGISTEREDCONTRACT']._serialized_start=529 - _globals['_REGISTEREDCONTRACT']._serialized_end=833 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.injective.wasmx.v1B\nWasmxProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1" + ) + _globals["_PARAMS"].fields_by_name["register_contract_access"]._loaded_options = None + _globals["_PARAMS"].fields_by_name[ + "register_contract_access" + ]._serialized_options = b'\310\336\037\000\362\336\037\037yaml:"register_contract_access"\250\347\260*\001' + _globals["_PARAMS"]._loaded_options = None + _globals["_PARAMS"]._serialized_options = b"\350\240\037\001\212\347\260*\014wasmx/Params" + _globals["_REGISTEREDCONTRACT"].fields_by_name["code_id"]._loaded_options = None + _globals["_REGISTEREDCONTRACT"].fields_by_name["code_id"]._serialized_options = b"\310\336\037\001" + _globals["_REGISTEREDCONTRACT"].fields_by_name["admin_address"]._loaded_options = None + _globals["_REGISTEREDCONTRACT"].fields_by_name["admin_address"]._serialized_options = b"\310\336\037\001" + _globals["_REGISTEREDCONTRACT"].fields_by_name["granter_address"]._loaded_options = None + _globals["_REGISTEREDCONTRACT"].fields_by_name["granter_address"]._serialized_options = b"\310\336\037\001" + _globals["_REGISTEREDCONTRACT"]._loaded_options = None + _globals["_REGISTEREDCONTRACT"]._serialized_options = b"\350\240\037\001" + _globals["_PARAMS"]._serialized_start = 161 + _globals["_PARAMS"]._serialized_end = 526 + _globals["_REGISTEREDCONTRACT"]._serialized_start = 529 + _globals["_REGISTEREDCONTRACT"]._serialized_end = 833 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py +++ b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - diff --git a/pyinjective/proto/tendermint/abci/types_pb2.py b/pyinjective/proto/tendermint/abci/types_pb2.py index f097f91e..e7a68289 100644 --- a/pyinjective/proto/tendermint/abci/types_pb2.py +++ b/pyinjective/proto/tendermint/abci/types_pb2.py @@ -7,6 +7,7 @@ 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() @@ -20,180 +21,192 @@ from pyinjective.proto.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\"\xbf\t\n\x07Request\x12\x32\n\x04\x65\x63ho\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.RequestEchoH\x00R\x04\x65\x63ho\x12\x35\n\x05\x66lush\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.RequestFlushH\x00R\x05\x66lush\x12\x32\n\x04info\x18\x03 \x01(\x0b\x32\x1c.tendermint.abci.RequestInfoH\x00R\x04info\x12\x42\n\ninit_chain\x18\x05 \x01(\x0b\x32!.tendermint.abci.RequestInitChainH\x00R\tinitChain\x12\x35\n\x05query\x18\x06 \x01(\x0b\x32\x1d.tendermint.abci.RequestQueryH\x00R\x05query\x12<\n\x08\x63heck_tx\x18\x08 \x01(\x0b\x32\x1f.tendermint.abci.RequestCheckTxH\x00R\x07\x63heckTx\x12\x38\n\x06\x63ommit\x18\x0b \x01(\x0b\x32\x1e.tendermint.abci.RequestCommitH\x00R\x06\x63ommit\x12N\n\x0elist_snapshots\x18\x0c \x01(\x0b\x32%.tendermint.abci.RequestListSnapshotsH\x00R\rlistSnapshots\x12N\n\x0eoffer_snapshot\x18\r \x01(\x0b\x32%.tendermint.abci.RequestOfferSnapshotH\x00R\rofferSnapshot\x12[\n\x13load_snapshot_chunk\x18\x0e \x01(\x0b\x32).tendermint.abci.RequestLoadSnapshotChunkH\x00R\x11loadSnapshotChunk\x12^\n\x14\x61pply_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.RequestApplySnapshotChunkH\x00R\x12\x61pplySnapshotChunk\x12T\n\x10prepare_proposal\x18\x10 \x01(\x0b\x32\'.tendermint.abci.RequestPrepareProposalH\x00R\x0fprepareProposal\x12T\n\x10process_proposal\x18\x11 \x01(\x0b\x32\'.tendermint.abci.RequestProcessProposalH\x00R\x0fprocessProposal\x12\x45\n\x0b\x65xtend_vote\x18\x12 \x01(\x0b\x32\".tendermint.abci.RequestExtendVoteH\x00R\nextendVote\x12\x61\n\x15verify_vote_extension\x18\x13 \x01(\x0b\x32+.tendermint.abci.RequestVerifyVoteExtensionH\x00R\x13verifyVoteExtension\x12N\n\x0e\x66inalize_block\x18\x14 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockH\x00R\rfinalizeBlockB\x07\n\x05valueJ\x04\x08\x04\x10\x05J\x04\x08\x07\x10\x08J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\"\'\n\x0bRequestEcho\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message\"\x0e\n\x0cRequestFlush\"\x90\x01\n\x0bRequestInfo\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12#\n\rblock_version\x18\x02 \x01(\x04R\x0c\x62lockVersion\x12\x1f\n\x0bp2p_version\x18\x03 \x01(\x04R\np2pVersion\x12!\n\x0c\x61\x62\x63i_version\x18\x04 \x01(\tR\x0b\x61\x62\x63iVersion\"\xcc\x02\n\x10RequestInitChain\x12\x38\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x19\n\x08\x63hain_id\x18\x02 \x01(\tR\x07\x63hainId\x12L\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x0f\x63onsensusParams\x12\x46\n\nvalidators\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\nvalidators\x12&\n\x0f\x61pp_state_bytes\x18\x05 \x01(\x0cR\rappStateBytes\x12%\n\x0einitial_height\x18\x06 \x01(\x03R\rinitialHeight\"d\n\x0cRequestQuery\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04path\x18\x02 \x01(\tR\x04path\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x14\n\x05prove\x18\x04 \x01(\x08R\x05prove\"R\n\x0eRequestCheckTx\x12\x0e\n\x02tx\x18\x01 \x01(\x0cR\x02tx\x12\x30\n\x04type\x18\x02 \x01(\x0e\x32\x1c.tendermint.abci.CheckTxTypeR\x04type\"\x0f\n\rRequestCommit\"\x16\n\x14RequestListSnapshots\"h\n\x14RequestOfferSnapshot\x12\x35\n\x08snapshot\x18\x01 \x01(\x0b\x32\x19.tendermint.abci.SnapshotR\x08snapshot\x12\x19\n\x08\x61pp_hash\x18\x02 \x01(\x0cR\x07\x61ppHash\"`\n\x18RequestLoadSnapshotChunk\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x14\n\x05\x63hunk\x18\x03 \x01(\rR\x05\x63hunk\"_\n\x19RequestApplySnapshotChunk\x12\x14\n\x05index\x18\x01 \x01(\rR\x05index\x12\x14\n\x05\x63hunk\x18\x02 \x01(\x0cR\x05\x63hunk\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\"\x98\x03\n\x16RequestPrepareProposal\x12 \n\x0cmax_tx_bytes\x18\x01 \x01(\x03R\nmaxTxBytes\x12\x10\n\x03txs\x18\x02 \x03(\x0cR\x03txs\x12U\n\x11local_last_commit\x18\x03 \x01(\x0b\x32#.tendermint.abci.ExtendedCommitInfoB\x04\xc8\xde\x1f\x00R\x0flocalLastCommit\x12\x44\n\x0bmisbehavior\x18\x04 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x88\x03\n\x16RequestProcessProposal\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\x12S\n\x14proposed_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x12proposedLastCommit\x12\x44\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x83\x03\n\x11RequestExtendVote\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x10\n\x03txs\x18\x04 \x03(\x0cR\x03txs\x12S\n\x14proposed_last_commit\x18\x05 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x12proposedLastCommit\x12\x44\n\x0bmisbehavior\x18\x06 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x9c\x01\n\x1aRequestVerifyVoteExtension\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12%\n\x0evote_extension\x18\x04 \x01(\x0cR\rvoteExtension\"\x84\x03\n\x14RequestFinalizeBlock\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\x12Q\n\x13\x64\x65\x63ided_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x11\x64\x65\x63idedLastCommit\x12\x44\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x94\n\n\x08Response\x12\x42\n\texception\x18\x01 \x01(\x0b\x32\".tendermint.abci.ResponseExceptionH\x00R\texception\x12\x33\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00R\x04\x65\x63ho\x12\x36\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00R\x05\x66lush\x12\x33\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00R\x04info\x12\x43\n\ninit_chain\x18\x06 \x01(\x0b\x32\".tendermint.abci.ResponseInitChainH\x00R\tinitChain\x12\x36\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00R\x05query\x12=\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00R\x07\x63heckTx\x12\x39\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00R\x06\x63ommit\x12O\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00R\rlistSnapshots\x12O\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00R\rofferSnapshot\x12\\\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00R\x11loadSnapshotChunk\x12_\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00R\x12\x61pplySnapshotChunk\x12U\n\x10prepare_proposal\x18\x11 \x01(\x0b\x32(.tendermint.abci.ResponsePrepareProposalH\x00R\x0fprepareProposal\x12U\n\x10process_proposal\x18\x12 \x01(\x0b\x32(.tendermint.abci.ResponseProcessProposalH\x00R\x0fprocessProposal\x12\x46\n\x0b\x65xtend_vote\x18\x13 \x01(\x0b\x32#.tendermint.abci.ResponseExtendVoteH\x00R\nextendVote\x12\x62\n\x15verify_vote_extension\x18\x14 \x01(\x0b\x32,.tendermint.abci.ResponseVerifyVoteExtensionH\x00R\x13verifyVoteExtension\x12O\n\x0e\x66inalize_block\x18\x15 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockH\x00R\rfinalizeBlockB\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\x14\n\x05\x65rror\x18\x01 \x01(\tR\x05\x65rror\"(\n\x0cResponseEcho\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message\"\x0f\n\rResponseFlush\"\xb8\x01\n\x0cResponseInfo\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\tR\x04\x64\x61ta\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12\x1f\n\x0b\x61pp_version\x18\x03 \x01(\x04R\nappVersion\x12*\n\x11last_block_height\x18\x04 \x01(\x03R\x0flastBlockHeight\x12-\n\x13last_block_app_hash\x18\x05 \x01(\x0cR\x10lastBlockAppHash\"\xc4\x01\n\x11ResponseInitChain\x12L\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x0f\x63onsensusParams\x12\x46\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\nvalidators\x12\x19\n\x08\x61pp_hash\x18\x03 \x01(\x0cR\x07\x61ppHash\"\xf7\x01\n\rResponseQuery\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x14\n\x05index\x18\x05 \x01(\x03R\x05index\x12\x10\n\x03key\x18\x06 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x07 \x01(\x0cR\x05value\x12\x38\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOpsR\x08proofOps\x12\x16\n\x06height\x18\t \x01(\x03R\x06height\x12\x1c\n\tcodespace\x18\n \x01(\tR\tcodespace\"\xaa\x02\n\x0fResponseCheckTx\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12H\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12\x1c\n\tcodespace\x18\x08 \x01(\tR\tcodespaceJ\x04\x08\t\x10\x0cR\x06senderR\x08priorityR\rmempool_error\"A\n\x0eResponseCommit\x12#\n\rretain_height\x18\x03 \x01(\x03R\x0cretainHeightJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"P\n\x15ResponseListSnapshots\x12\x37\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.SnapshotR\tsnapshots\"\xbe\x01\n\x15ResponseOfferSnapshot\x12\x45\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.ResultR\x06result\"^\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\"1\n\x19ResponseLoadSnapshotChunk\x12\x14\n\x05\x63hunk\x18\x01 \x01(\x0cR\x05\x63hunk\"\x98\x02\n\x1aResponseApplySnapshotChunk\x12J\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.ResultR\x06result\x12%\n\x0erefetch_chunks\x18\x02 \x03(\rR\rrefetchChunks\x12%\n\x0ereject_senders\x18\x03 \x03(\tR\rrejectSenders\"`\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\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\"\xa1\x01\n\x17ResponseProcessProposal\x12O\n\x06status\x18\x01 \x01(\x0e\x32\x37.tendermint.abci.ResponseProcessProposal.ProposalStatusR\x06status\"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%\n\x0evote_extension\x18\x01 \x01(\x0cR\rvoteExtension\"\xa5\x01\n\x1bResponseVerifyVoteExtension\x12Q\n\x06status\x18\x01 \x01(\x0e\x32\x39.tendermint.abci.ResponseVerifyVoteExtension.VerifyStatusR\x06status\"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\"\xea\x02\n\x15ResponseFinalizeBlock\x12H\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12<\n\ntx_results\x18\x02 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResultR\ttxResults\x12S\n\x11validator_updates\x18\x03 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\x10validatorUpdates\x12Y\n\x17\x63onsensus_param_updates\x18\x04 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x15\x63onsensusParamUpdates\x12\x19\n\x08\x61pp_hash\x18\x05 \x01(\x0cR\x07\x61ppHash\"Y\n\nCommitInfo\x12\x14\n\x05round\x18\x01 \x01(\x05R\x05round\x12\x35\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00R\x05votes\"i\n\x12\x45xtendedCommitInfo\x12\x14\n\x05round\x18\x01 \x01(\x05R\x05round\x12=\n\x05votes\x18\x02 \x03(\x0b\x32!.tendermint.abci.ExtendedVoteInfoB\x04\xc8\xde\x1f\x00R\x05votes\"z\n\x05\x45vent\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12]\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitemptyR\nattributes\"N\n\x0e\x45ventAttribute\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x14\n\x05index\x18\x03 \x01(\x08R\x05index\"\x80\x02\n\x0c\x45xecTxResult\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12H\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12\x1c\n\tcodespace\x18\x08 \x01(\tR\tcodespace\"\x85\x01\n\x08TxResult\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05index\x18\x02 \x01(\rR\x05index\x12\x0e\n\x02tx\x18\x03 \x01(\x0cR\x02tx\x12;\n\x06result\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ExecTxResultB\x04\xc8\xde\x1f\x00R\x06result\";\n\tValidator\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0cR\x07\x61\x64\x64ress\x12\x14\n\x05power\x18\x03 \x01(\x03R\x05power\"d\n\x0fValidatorUpdate\x12;\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12\x14\n\x05power\x18\x02 \x01(\x03R\x05power\"\x93\x01\n\x08VoteInfo\x12>\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12\x41\n\rblock_id_flag\x18\x03 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlagJ\x04\x08\x02\x10\x03\"\xf3\x01\n\x10\x45xtendedVoteInfo\x12>\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12%\n\x0evote_extension\x18\x03 \x01(\x0cR\rvoteExtension\x12/\n\x13\x65xtension_signature\x18\x04 \x01(\x0cR\x12\x65xtensionSignature\x12\x41\n\rblock_id_flag\x18\x05 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlagJ\x04\x08\x02\x10\x03\"\x83\x02\n\x0bMisbehavior\x12\x34\n\x04type\x18\x01 \x01(\x0e\x32 .tendermint.abci.MisbehaviorTypeR\x04type\x12>\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12,\n\x12total_voting_power\x18\x05 \x01(\x03R\x10totalVotingPower\"\x82\x01\n\x08Snapshot\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x16\n\x06\x63hunks\x18\x03 \x01(\rR\x06\x63hunks\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x1a\n\x08metadata\x18\x05 \x01(\x0cR\x08metadata*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\xa7\x01\n\x13\x63om.tendermint.abciB\nTypesProtoP\x01Z\'github.com/cometbft/cometbft/abci/types\xa2\x02\x03TAX\xaa\x02\x0fTendermint.Abci\xca\x02\x0fTendermint\\Abci\xe2\x02\x1bTendermint\\Abci\\GPBMetadata\xea\x02\x10Tendermint::Abcib\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"\xbf\t\n\x07Request\x12\x32\n\x04\x65\x63ho\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.RequestEchoH\x00R\x04\x65\x63ho\x12\x35\n\x05\x66lush\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.RequestFlushH\x00R\x05\x66lush\x12\x32\n\x04info\x18\x03 \x01(\x0b\x32\x1c.tendermint.abci.RequestInfoH\x00R\x04info\x12\x42\n\ninit_chain\x18\x05 \x01(\x0b\x32!.tendermint.abci.RequestInitChainH\x00R\tinitChain\x12\x35\n\x05query\x18\x06 \x01(\x0b\x32\x1d.tendermint.abci.RequestQueryH\x00R\x05query\x12<\n\x08\x63heck_tx\x18\x08 \x01(\x0b\x32\x1f.tendermint.abci.RequestCheckTxH\x00R\x07\x63heckTx\x12\x38\n\x06\x63ommit\x18\x0b \x01(\x0b\x32\x1e.tendermint.abci.RequestCommitH\x00R\x06\x63ommit\x12N\n\x0elist_snapshots\x18\x0c \x01(\x0b\x32%.tendermint.abci.RequestListSnapshotsH\x00R\rlistSnapshots\x12N\n\x0eoffer_snapshot\x18\r \x01(\x0b\x32%.tendermint.abci.RequestOfferSnapshotH\x00R\rofferSnapshot\x12[\n\x13load_snapshot_chunk\x18\x0e \x01(\x0b\x32).tendermint.abci.RequestLoadSnapshotChunkH\x00R\x11loadSnapshotChunk\x12^\n\x14\x61pply_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.RequestApplySnapshotChunkH\x00R\x12\x61pplySnapshotChunk\x12T\n\x10prepare_proposal\x18\x10 \x01(\x0b\x32\'.tendermint.abci.RequestPrepareProposalH\x00R\x0fprepareProposal\x12T\n\x10process_proposal\x18\x11 \x01(\x0b\x32\'.tendermint.abci.RequestProcessProposalH\x00R\x0fprocessProposal\x12\x45\n\x0b\x65xtend_vote\x18\x12 \x01(\x0b\x32".tendermint.abci.RequestExtendVoteH\x00R\nextendVote\x12\x61\n\x15verify_vote_extension\x18\x13 \x01(\x0b\x32+.tendermint.abci.RequestVerifyVoteExtensionH\x00R\x13verifyVoteExtension\x12N\n\x0e\x66inalize_block\x18\x14 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockH\x00R\rfinalizeBlockB\x07\n\x05valueJ\x04\x08\x04\x10\x05J\x04\x08\x07\x10\x08J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b"\'\n\x0bRequestEcho\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"\x0e\n\x0cRequestFlush"\x90\x01\n\x0bRequestInfo\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12#\n\rblock_version\x18\x02 \x01(\x04R\x0c\x62lockVersion\x12\x1f\n\x0bp2p_version\x18\x03 \x01(\x04R\np2pVersion\x12!\n\x0c\x61\x62\x63i_version\x18\x04 \x01(\tR\x0b\x61\x62\x63iVersion"\xcc\x02\n\x10RequestInitChain\x12\x38\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x19\n\x08\x63hain_id\x18\x02 \x01(\tR\x07\x63hainId\x12L\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x0f\x63onsensusParams\x12\x46\n\nvalidators\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\nvalidators\x12&\n\x0f\x61pp_state_bytes\x18\x05 \x01(\x0cR\rappStateBytes\x12%\n\x0einitial_height\x18\x06 \x01(\x03R\rinitialHeight"d\n\x0cRequestQuery\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04path\x18\x02 \x01(\tR\x04path\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x14\n\x05prove\x18\x04 \x01(\x08R\x05prove"R\n\x0eRequestCheckTx\x12\x0e\n\x02tx\x18\x01 \x01(\x0cR\x02tx\x12\x30\n\x04type\x18\x02 \x01(\x0e\x32\x1c.tendermint.abci.CheckTxTypeR\x04type"\x0f\n\rRequestCommit"\x16\n\x14RequestListSnapshots"h\n\x14RequestOfferSnapshot\x12\x35\n\x08snapshot\x18\x01 \x01(\x0b\x32\x19.tendermint.abci.SnapshotR\x08snapshot\x12\x19\n\x08\x61pp_hash\x18\x02 \x01(\x0cR\x07\x61ppHash"`\n\x18RequestLoadSnapshotChunk\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x14\n\x05\x63hunk\x18\x03 \x01(\rR\x05\x63hunk"_\n\x19RequestApplySnapshotChunk\x12\x14\n\x05index\x18\x01 \x01(\rR\x05index\x12\x14\n\x05\x63hunk\x18\x02 \x01(\x0cR\x05\x63hunk\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender"\x98\x03\n\x16RequestPrepareProposal\x12 \n\x0cmax_tx_bytes\x18\x01 \x01(\x03R\nmaxTxBytes\x12\x10\n\x03txs\x18\x02 \x03(\x0cR\x03txs\x12U\n\x11local_last_commit\x18\x03 \x01(\x0b\x32#.tendermint.abci.ExtendedCommitInfoB\x04\xc8\xde\x1f\x00R\x0flocalLastCommit\x12\x44\n\x0bmisbehavior\x18\x04 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress"\x88\x03\n\x16RequestProcessProposal\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\x12S\n\x14proposed_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x12proposedLastCommit\x12\x44\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress"\x83\x03\n\x11RequestExtendVote\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x10\n\x03txs\x18\x04 \x03(\x0cR\x03txs\x12S\n\x14proposed_last_commit\x18\x05 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x12proposedLastCommit\x12\x44\n\x0bmisbehavior\x18\x06 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress"\x9c\x01\n\x1aRequestVerifyVoteExtension\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12%\n\x0evote_extension\x18\x04 \x01(\x0cR\rvoteExtension"\x84\x03\n\x14RequestFinalizeBlock\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\x12Q\n\x13\x64\x65\x63ided_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x11\x64\x65\x63idedLastCommit\x12\x44\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress"\x94\n\n\x08Response\x12\x42\n\texception\x18\x01 \x01(\x0b\x32".tendermint.abci.ResponseExceptionH\x00R\texception\x12\x33\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00R\x04\x65\x63ho\x12\x36\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00R\x05\x66lush\x12\x33\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00R\x04info\x12\x43\n\ninit_chain\x18\x06 \x01(\x0b\x32".tendermint.abci.ResponseInitChainH\x00R\tinitChain\x12\x36\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00R\x05query\x12=\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00R\x07\x63heckTx\x12\x39\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00R\x06\x63ommit\x12O\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00R\rlistSnapshots\x12O\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00R\rofferSnapshot\x12\\\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00R\x11loadSnapshotChunk\x12_\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00R\x12\x61pplySnapshotChunk\x12U\n\x10prepare_proposal\x18\x11 \x01(\x0b\x32(.tendermint.abci.ResponsePrepareProposalH\x00R\x0fprepareProposal\x12U\n\x10process_proposal\x18\x12 \x01(\x0b\x32(.tendermint.abci.ResponseProcessProposalH\x00R\x0fprocessProposal\x12\x46\n\x0b\x65xtend_vote\x18\x13 \x01(\x0b\x32#.tendermint.abci.ResponseExtendVoteH\x00R\nextendVote\x12\x62\n\x15verify_vote_extension\x18\x14 \x01(\x0b\x32,.tendermint.abci.ResponseVerifyVoteExtensionH\x00R\x13verifyVoteExtension\x12O\n\x0e\x66inalize_block\x18\x15 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockH\x00R\rfinalizeBlockB\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\x14\n\x05\x65rror\x18\x01 \x01(\tR\x05\x65rror"(\n\x0cResponseEcho\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"\x0f\n\rResponseFlush"\xb8\x01\n\x0cResponseInfo\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\tR\x04\x64\x61ta\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12\x1f\n\x0b\x61pp_version\x18\x03 \x01(\x04R\nappVersion\x12*\n\x11last_block_height\x18\x04 \x01(\x03R\x0flastBlockHeight\x12-\n\x13last_block_app_hash\x18\x05 \x01(\x0cR\x10lastBlockAppHash"\xc4\x01\n\x11ResponseInitChain\x12L\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x0f\x63onsensusParams\x12\x46\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\nvalidators\x12\x19\n\x08\x61pp_hash\x18\x03 \x01(\x0cR\x07\x61ppHash"\xf7\x01\n\rResponseQuery\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x14\n\x05index\x18\x05 \x01(\x03R\x05index\x12\x10\n\x03key\x18\x06 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x07 \x01(\x0cR\x05value\x12\x38\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOpsR\x08proofOps\x12\x16\n\x06height\x18\t \x01(\x03R\x06height\x12\x1c\n\tcodespace\x18\n \x01(\tR\tcodespace"\xaa\x02\n\x0fResponseCheckTx\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12H\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12\x1c\n\tcodespace\x18\x08 \x01(\tR\tcodespaceJ\x04\x08\t\x10\x0cR\x06senderR\x08priorityR\rmempool_error"A\n\x0eResponseCommit\x12#\n\rretain_height\x18\x03 \x01(\x03R\x0cretainHeightJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03"P\n\x15ResponseListSnapshots\x12\x37\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.SnapshotR\tsnapshots"\xbe\x01\n\x15ResponseOfferSnapshot\x12\x45\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.ResultR\x06result"^\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"1\n\x19ResponseLoadSnapshotChunk\x12\x14\n\x05\x63hunk\x18\x01 \x01(\x0cR\x05\x63hunk"\x98\x02\n\x1aResponseApplySnapshotChunk\x12J\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.ResultR\x06result\x12%\n\x0erefetch_chunks\x18\x02 \x03(\rR\rrefetchChunks\x12%\n\x0ereject_senders\x18\x03 \x03(\tR\rrejectSenders"`\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\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs"\xa1\x01\n\x17ResponseProcessProposal\x12O\n\x06status\x18\x01 \x01(\x0e\x32\x37.tendermint.abci.ResponseProcessProposal.ProposalStatusR\x06status"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%\n\x0evote_extension\x18\x01 \x01(\x0cR\rvoteExtension"\xa5\x01\n\x1bResponseVerifyVoteExtension\x12Q\n\x06status\x18\x01 \x01(\x0e\x32\x39.tendermint.abci.ResponseVerifyVoteExtension.VerifyStatusR\x06status"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"\xea\x02\n\x15ResponseFinalizeBlock\x12H\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12<\n\ntx_results\x18\x02 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResultR\ttxResults\x12S\n\x11validator_updates\x18\x03 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\x10validatorUpdates\x12Y\n\x17\x63onsensus_param_updates\x18\x04 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x15\x63onsensusParamUpdates\x12\x19\n\x08\x61pp_hash\x18\x05 \x01(\x0cR\x07\x61ppHash"Y\n\nCommitInfo\x12\x14\n\x05round\x18\x01 \x01(\x05R\x05round\x12\x35\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00R\x05votes"i\n\x12\x45xtendedCommitInfo\x12\x14\n\x05round\x18\x01 \x01(\x05R\x05round\x12=\n\x05votes\x18\x02 \x03(\x0b\x32!.tendermint.abci.ExtendedVoteInfoB\x04\xc8\xde\x1f\x00R\x05votes"z\n\x05\x45vent\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12]\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitemptyR\nattributes"N\n\x0e\x45ventAttribute\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x14\n\x05index\x18\x03 \x01(\x08R\x05index"\x80\x02\n\x0c\x45xecTxResult\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12H\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12\x1c\n\tcodespace\x18\x08 \x01(\tR\tcodespace"\x85\x01\n\x08TxResult\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05index\x18\x02 \x01(\rR\x05index\x12\x0e\n\x02tx\x18\x03 \x01(\x0cR\x02tx\x12;\n\x06result\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ExecTxResultB\x04\xc8\xde\x1f\x00R\x06result";\n\tValidator\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0cR\x07\x61\x64\x64ress\x12\x14\n\x05power\x18\x03 \x01(\x03R\x05power"d\n\x0fValidatorUpdate\x12;\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12\x14\n\x05power\x18\x02 \x01(\x03R\x05power"\x93\x01\n\x08VoteInfo\x12>\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12\x41\n\rblock_id_flag\x18\x03 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlagJ\x04\x08\x02\x10\x03"\xf3\x01\n\x10\x45xtendedVoteInfo\x12>\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12%\n\x0evote_extension\x18\x03 \x01(\x0cR\rvoteExtension\x12/\n\x13\x65xtension_signature\x18\x04 \x01(\x0cR\x12\x65xtensionSignature\x12\x41\n\rblock_id_flag\x18\x05 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlagJ\x04\x08\x02\x10\x03"\x83\x02\n\x0bMisbehavior\x12\x34\n\x04type\x18\x01 \x01(\x0e\x32 .tendermint.abci.MisbehaviorTypeR\x04type\x12>\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12,\n\x12total_voting_power\x18\x05 \x01(\x03R\x10totalVotingPower"\x82\x01\n\x08Snapshot\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x16\n\x06\x63hunks\x18\x03 \x01(\rR\x06\x63hunks\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x1a\n\x08metadata\x18\x05 \x01(\x0cR\x08metadata*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\xa7\x01\n\x13\x63om.tendermint.abciB\nTypesProtoP\x01Z\'github.com/cometbft/cometbft/abci/types\xa2\x02\x03TAX\xaa\x02\x0fTendermint.Abci\xca\x02\x0fTendermint\\Abci\xe2\x02\x1bTendermint\\Abci\\GPBMetadata\xea\x02\x10Tendermint::Abcib\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.abci.types_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.abci.types_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.tendermint.abciB\nTypesProtoP\001Z\'github.com/cometbft/cometbft/abci/types\242\002\003TAX\252\002\017Tendermint.Abci\312\002\017Tendermint\\Abci\342\002\033Tendermint\\Abci\\GPBMetadata\352\002\020Tendermint::Abci' - _globals['_CHECKTXTYPE'].values_by_name["NEW"]._loaded_options = None - _globals['_CHECKTXTYPE'].values_by_name["NEW"]._serialized_options = b'\212\235 \003New' - _globals['_CHECKTXTYPE'].values_by_name["RECHECK"]._loaded_options = None - _globals['_CHECKTXTYPE'].values_by_name["RECHECK"]._serialized_options = b'\212\235 \007Recheck' - _globals['_REQUESTINITCHAIN'].fields_by_name['time']._loaded_options = None - _globals['_REQUESTINITCHAIN'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_REQUESTINITCHAIN'].fields_by_name['validators']._loaded_options = None - _globals['_REQUESTINITCHAIN'].fields_by_name['validators']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['local_last_commit']._loaded_options = None - _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['local_last_commit']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['misbehavior']._loaded_options = None - _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['time']._loaded_options = None - _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['proposed_last_commit']._loaded_options = None - _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['proposed_last_commit']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['misbehavior']._loaded_options = None - _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['time']._loaded_options = None - _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_REQUESTEXTENDVOTE'].fields_by_name['time']._loaded_options = None - _globals['_REQUESTEXTENDVOTE'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_REQUESTEXTENDVOTE'].fields_by_name['proposed_last_commit']._loaded_options = None - _globals['_REQUESTEXTENDVOTE'].fields_by_name['proposed_last_commit']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTEXTENDVOTE'].fields_by_name['misbehavior']._loaded_options = None - _globals['_REQUESTEXTENDVOTE'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['decided_last_commit']._loaded_options = None - _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['decided_last_commit']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['misbehavior']._loaded_options = None - _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' - _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['time']._loaded_options = None - _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_RESPONSEINITCHAIN'].fields_by_name['validators']._loaded_options = None - _globals['_RESPONSEINITCHAIN'].fields_by_name['validators']._serialized_options = b'\310\336\037\000' - _globals['_RESPONSECHECKTX'].fields_by_name['events']._loaded_options = None - _globals['_RESPONSECHECKTX'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' - _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['events']._loaded_options = None - _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' - _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['validator_updates']._loaded_options = None - _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['validator_updates']._serialized_options = b'\310\336\037\000' - _globals['_COMMITINFO'].fields_by_name['votes']._loaded_options = None - _globals['_COMMITINFO'].fields_by_name['votes']._serialized_options = b'\310\336\037\000' - _globals['_EXTENDEDCOMMITINFO'].fields_by_name['votes']._loaded_options = None - _globals['_EXTENDEDCOMMITINFO'].fields_by_name['votes']._serialized_options = b'\310\336\037\000' - _globals['_EVENT'].fields_by_name['attributes']._loaded_options = None - _globals['_EVENT'].fields_by_name['attributes']._serialized_options = b'\310\336\037\000\352\336\037\024attributes,omitempty' - _globals['_EXECTXRESULT'].fields_by_name['events']._loaded_options = None - _globals['_EXECTXRESULT'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' - _globals['_TXRESULT'].fields_by_name['result']._loaded_options = None - _globals['_TXRESULT'].fields_by_name['result']._serialized_options = b'\310\336\037\000' - _globals['_VALIDATORUPDATE'].fields_by_name['pub_key']._loaded_options = None - _globals['_VALIDATORUPDATE'].fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' - _globals['_VOTEINFO'].fields_by_name['validator']._loaded_options = None - _globals['_VOTEINFO'].fields_by_name['validator']._serialized_options = b'\310\336\037\000' - _globals['_EXTENDEDVOTEINFO'].fields_by_name['validator']._loaded_options = None - _globals['_EXTENDEDVOTEINFO'].fields_by_name['validator']._serialized_options = b'\310\336\037\000' - _globals['_MISBEHAVIOR'].fields_by_name['validator']._loaded_options = None - _globals['_MISBEHAVIOR'].fields_by_name['validator']._serialized_options = b'\310\336\037\000' - _globals['_MISBEHAVIOR'].fields_by_name['time']._loaded_options = None - _globals['_MISBEHAVIOR'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_CHECKTXTYPE']._serialized_start=9832 - _globals['_CHECKTXTYPE']._serialized_end=9889 - _globals['_MISBEHAVIORTYPE']._serialized_start=9891 - _globals['_MISBEHAVIORTYPE']._serialized_end=9966 - _globals['_REQUEST']._serialized_start=230 - _globals['_REQUEST']._serialized_end=1445 - _globals['_REQUESTECHO']._serialized_start=1447 - _globals['_REQUESTECHO']._serialized_end=1486 - _globals['_REQUESTFLUSH']._serialized_start=1488 - _globals['_REQUESTFLUSH']._serialized_end=1502 - _globals['_REQUESTINFO']._serialized_start=1505 - _globals['_REQUESTINFO']._serialized_end=1649 - _globals['_REQUESTINITCHAIN']._serialized_start=1652 - _globals['_REQUESTINITCHAIN']._serialized_end=1984 - _globals['_REQUESTQUERY']._serialized_start=1986 - _globals['_REQUESTQUERY']._serialized_end=2086 - _globals['_REQUESTCHECKTX']._serialized_start=2088 - _globals['_REQUESTCHECKTX']._serialized_end=2170 - _globals['_REQUESTCOMMIT']._serialized_start=2172 - _globals['_REQUESTCOMMIT']._serialized_end=2187 - _globals['_REQUESTLISTSNAPSHOTS']._serialized_start=2189 - _globals['_REQUESTLISTSNAPSHOTS']._serialized_end=2211 - _globals['_REQUESTOFFERSNAPSHOT']._serialized_start=2213 - _globals['_REQUESTOFFERSNAPSHOT']._serialized_end=2317 - _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_start=2319 - _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_end=2415 - _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_start=2417 - _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_end=2512 - _globals['_REQUESTPREPAREPROPOSAL']._serialized_start=2515 - _globals['_REQUESTPREPAREPROPOSAL']._serialized_end=2923 - _globals['_REQUESTPROCESSPROPOSAL']._serialized_start=2926 - _globals['_REQUESTPROCESSPROPOSAL']._serialized_end=3318 - _globals['_REQUESTEXTENDVOTE']._serialized_start=3321 - _globals['_REQUESTEXTENDVOTE']._serialized_end=3708 - _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_start=3711 - _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_end=3867 - _globals['_REQUESTFINALIZEBLOCK']._serialized_start=3870 - _globals['_REQUESTFINALIZEBLOCK']._serialized_end=4258 - _globals['_RESPONSE']._serialized_start=4261 - _globals['_RESPONSE']._serialized_end=5561 - _globals['_RESPONSEEXCEPTION']._serialized_start=5563 - _globals['_RESPONSEEXCEPTION']._serialized_end=5604 - _globals['_RESPONSEECHO']._serialized_start=5606 - _globals['_RESPONSEECHO']._serialized_end=5646 - _globals['_RESPONSEFLUSH']._serialized_start=5648 - _globals['_RESPONSEFLUSH']._serialized_end=5663 - _globals['_RESPONSEINFO']._serialized_start=5666 - _globals['_RESPONSEINFO']._serialized_end=5850 - _globals['_RESPONSEINITCHAIN']._serialized_start=5853 - _globals['_RESPONSEINITCHAIN']._serialized_end=6049 - _globals['_RESPONSEQUERY']._serialized_start=6052 - _globals['_RESPONSEQUERY']._serialized_end=6299 - _globals['_RESPONSECHECKTX']._serialized_start=6302 - _globals['_RESPONSECHECKTX']._serialized_end=6600 - _globals['_RESPONSECOMMIT']._serialized_start=6602 - _globals['_RESPONSECOMMIT']._serialized_end=6667 - _globals['_RESPONSELISTSNAPSHOTS']._serialized_start=6669 - _globals['_RESPONSELISTSNAPSHOTS']._serialized_end=6749 - _globals['_RESPONSEOFFERSNAPSHOT']._serialized_start=6752 - _globals['_RESPONSEOFFERSNAPSHOT']._serialized_end=6942 - _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_start=6848 - _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_end=6942 - _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_start=6944 - _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_end=6993 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_start=6996 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_end=7276 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_start=7180 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_end=7276 - _globals['_RESPONSEPREPAREPROPOSAL']._serialized_start=7278 - _globals['_RESPONSEPREPAREPROPOSAL']._serialized_end=7321 - _globals['_RESPONSEPROCESSPROPOSAL']._serialized_start=7324 - _globals['_RESPONSEPROCESSPROPOSAL']._serialized_end=7485 - _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_start=7432 - _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_end=7485 - _globals['_RESPONSEEXTENDVOTE']._serialized_start=7487 - _globals['_RESPONSEEXTENDVOTE']._serialized_end=7546 - _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_start=7549 - _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_end=7714 - _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_start=7663 - _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_end=7714 - _globals['_RESPONSEFINALIZEBLOCK']._serialized_start=7717 - _globals['_RESPONSEFINALIZEBLOCK']._serialized_end=8079 - _globals['_COMMITINFO']._serialized_start=8081 - _globals['_COMMITINFO']._serialized_end=8170 - _globals['_EXTENDEDCOMMITINFO']._serialized_start=8172 - _globals['_EXTENDEDCOMMITINFO']._serialized_end=8277 - _globals['_EVENT']._serialized_start=8279 - _globals['_EVENT']._serialized_end=8401 - _globals['_EVENTATTRIBUTE']._serialized_start=8403 - _globals['_EVENTATTRIBUTE']._serialized_end=8481 - _globals['_EXECTXRESULT']._serialized_start=8484 - _globals['_EXECTXRESULT']._serialized_end=8740 - _globals['_TXRESULT']._serialized_start=8743 - _globals['_TXRESULT']._serialized_end=8876 - _globals['_VALIDATOR']._serialized_start=8878 - _globals['_VALIDATOR']._serialized_end=8937 - _globals['_VALIDATORUPDATE']._serialized_start=8939 - _globals['_VALIDATORUPDATE']._serialized_end=9039 - _globals['_VOTEINFO']._serialized_start=9042 - _globals['_VOTEINFO']._serialized_end=9189 - _globals['_EXTENDEDVOTEINFO']._serialized_start=9192 - _globals['_EXTENDEDVOTEINFO']._serialized_end=9435 - _globals['_MISBEHAVIOR']._serialized_start=9438 - _globals['_MISBEHAVIOR']._serialized_end=9697 - _globals['_SNAPSHOT']._serialized_start=9700 - _globals['_SNAPSHOT']._serialized_end=9830 - _globals['_ABCI']._serialized_start=9969 - _globals['_ABCI']._serialized_end=11406 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\023com.tendermint.abciB\nTypesProtoP\001Z'github.com/cometbft/cometbft/abci/types\242\002\003TAX\252\002\017Tendermint.Abci\312\002\017Tendermint\\Abci\342\002\033Tendermint\\Abci\\GPBMetadata\352\002\020Tendermint::Abci" + ) + _globals["_CHECKTXTYPE"].values_by_name["NEW"]._loaded_options = None + _globals["_CHECKTXTYPE"].values_by_name["NEW"]._serialized_options = b"\212\235 \003New" + _globals["_CHECKTXTYPE"].values_by_name["RECHECK"]._loaded_options = None + _globals["_CHECKTXTYPE"].values_by_name["RECHECK"]._serialized_options = b"\212\235 \007Recheck" + _globals["_REQUESTINITCHAIN"].fields_by_name["time"]._loaded_options = None + _globals["_REQUESTINITCHAIN"].fields_by_name["time"]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_REQUESTINITCHAIN"].fields_by_name["validators"]._loaded_options = None + _globals["_REQUESTINITCHAIN"].fields_by_name["validators"]._serialized_options = b"\310\336\037\000" + _globals["_REQUESTPREPAREPROPOSAL"].fields_by_name["local_last_commit"]._loaded_options = None + _globals["_REQUESTPREPAREPROPOSAL"].fields_by_name["local_last_commit"]._serialized_options = b"\310\336\037\000" + _globals["_REQUESTPREPAREPROPOSAL"].fields_by_name["misbehavior"]._loaded_options = None + _globals["_REQUESTPREPAREPROPOSAL"].fields_by_name["misbehavior"]._serialized_options = b"\310\336\037\000" + _globals["_REQUESTPREPAREPROPOSAL"].fields_by_name["time"]._loaded_options = None + _globals["_REQUESTPREPAREPROPOSAL"].fields_by_name["time"]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_REQUESTPROCESSPROPOSAL"].fields_by_name["proposed_last_commit"]._loaded_options = None + _globals["_REQUESTPROCESSPROPOSAL"].fields_by_name["proposed_last_commit"]._serialized_options = b"\310\336\037\000" + _globals["_REQUESTPROCESSPROPOSAL"].fields_by_name["misbehavior"]._loaded_options = None + _globals["_REQUESTPROCESSPROPOSAL"].fields_by_name["misbehavior"]._serialized_options = b"\310\336\037\000" + _globals["_REQUESTPROCESSPROPOSAL"].fields_by_name["time"]._loaded_options = None + _globals["_REQUESTPROCESSPROPOSAL"].fields_by_name["time"]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_REQUESTEXTENDVOTE"].fields_by_name["time"]._loaded_options = None + _globals["_REQUESTEXTENDVOTE"].fields_by_name["time"]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_REQUESTEXTENDVOTE"].fields_by_name["proposed_last_commit"]._loaded_options = None + _globals["_REQUESTEXTENDVOTE"].fields_by_name["proposed_last_commit"]._serialized_options = b"\310\336\037\000" + _globals["_REQUESTEXTENDVOTE"].fields_by_name["misbehavior"]._loaded_options = None + _globals["_REQUESTEXTENDVOTE"].fields_by_name["misbehavior"]._serialized_options = b"\310\336\037\000" + _globals["_REQUESTFINALIZEBLOCK"].fields_by_name["decided_last_commit"]._loaded_options = None + _globals["_REQUESTFINALIZEBLOCK"].fields_by_name["decided_last_commit"]._serialized_options = b"\310\336\037\000" + _globals["_REQUESTFINALIZEBLOCK"].fields_by_name["misbehavior"]._loaded_options = None + _globals["_REQUESTFINALIZEBLOCK"].fields_by_name["misbehavior"]._serialized_options = b"\310\336\037\000" + _globals["_REQUESTFINALIZEBLOCK"].fields_by_name["time"]._loaded_options = None + _globals["_REQUESTFINALIZEBLOCK"].fields_by_name["time"]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_RESPONSEINITCHAIN"].fields_by_name["validators"]._loaded_options = None + _globals["_RESPONSEINITCHAIN"].fields_by_name["validators"]._serialized_options = b"\310\336\037\000" + _globals["_RESPONSECHECKTX"].fields_by_name["events"]._loaded_options = None + _globals["_RESPONSECHECKTX"].fields_by_name[ + "events" + ]._serialized_options = b"\310\336\037\000\352\336\037\020events,omitempty" + _globals["_RESPONSEFINALIZEBLOCK"].fields_by_name["events"]._loaded_options = None + _globals["_RESPONSEFINALIZEBLOCK"].fields_by_name[ + "events" + ]._serialized_options = b"\310\336\037\000\352\336\037\020events,omitempty" + _globals["_RESPONSEFINALIZEBLOCK"].fields_by_name["validator_updates"]._loaded_options = None + _globals["_RESPONSEFINALIZEBLOCK"].fields_by_name["validator_updates"]._serialized_options = b"\310\336\037\000" + _globals["_COMMITINFO"].fields_by_name["votes"]._loaded_options = None + _globals["_COMMITINFO"].fields_by_name["votes"]._serialized_options = b"\310\336\037\000" + _globals["_EXTENDEDCOMMITINFO"].fields_by_name["votes"]._loaded_options = None + _globals["_EXTENDEDCOMMITINFO"].fields_by_name["votes"]._serialized_options = b"\310\336\037\000" + _globals["_EVENT"].fields_by_name["attributes"]._loaded_options = None + _globals["_EVENT"].fields_by_name[ + "attributes" + ]._serialized_options = b"\310\336\037\000\352\336\037\024attributes,omitempty" + _globals["_EXECTXRESULT"].fields_by_name["events"]._loaded_options = None + _globals["_EXECTXRESULT"].fields_by_name[ + "events" + ]._serialized_options = b"\310\336\037\000\352\336\037\020events,omitempty" + _globals["_TXRESULT"].fields_by_name["result"]._loaded_options = None + _globals["_TXRESULT"].fields_by_name["result"]._serialized_options = b"\310\336\037\000" + _globals["_VALIDATORUPDATE"].fields_by_name["pub_key"]._loaded_options = None + _globals["_VALIDATORUPDATE"].fields_by_name["pub_key"]._serialized_options = b"\310\336\037\000" + _globals["_VOTEINFO"].fields_by_name["validator"]._loaded_options = None + _globals["_VOTEINFO"].fields_by_name["validator"]._serialized_options = b"\310\336\037\000" + _globals["_EXTENDEDVOTEINFO"].fields_by_name["validator"]._loaded_options = None + _globals["_EXTENDEDVOTEINFO"].fields_by_name["validator"]._serialized_options = b"\310\336\037\000" + _globals["_MISBEHAVIOR"].fields_by_name["validator"]._loaded_options = None + _globals["_MISBEHAVIOR"].fields_by_name["validator"]._serialized_options = b"\310\336\037\000" + _globals["_MISBEHAVIOR"].fields_by_name["time"]._loaded_options = None + _globals["_MISBEHAVIOR"].fields_by_name["time"]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_CHECKTXTYPE"]._serialized_start = 9832 + _globals["_CHECKTXTYPE"]._serialized_end = 9889 + _globals["_MISBEHAVIORTYPE"]._serialized_start = 9891 + _globals["_MISBEHAVIORTYPE"]._serialized_end = 9966 + _globals["_REQUEST"]._serialized_start = 230 + _globals["_REQUEST"]._serialized_end = 1445 + _globals["_REQUESTECHO"]._serialized_start = 1447 + _globals["_REQUESTECHO"]._serialized_end = 1486 + _globals["_REQUESTFLUSH"]._serialized_start = 1488 + _globals["_REQUESTFLUSH"]._serialized_end = 1502 + _globals["_REQUESTINFO"]._serialized_start = 1505 + _globals["_REQUESTINFO"]._serialized_end = 1649 + _globals["_REQUESTINITCHAIN"]._serialized_start = 1652 + _globals["_REQUESTINITCHAIN"]._serialized_end = 1984 + _globals["_REQUESTQUERY"]._serialized_start = 1986 + _globals["_REQUESTQUERY"]._serialized_end = 2086 + _globals["_REQUESTCHECKTX"]._serialized_start = 2088 + _globals["_REQUESTCHECKTX"]._serialized_end = 2170 + _globals["_REQUESTCOMMIT"]._serialized_start = 2172 + _globals["_REQUESTCOMMIT"]._serialized_end = 2187 + _globals["_REQUESTLISTSNAPSHOTS"]._serialized_start = 2189 + _globals["_REQUESTLISTSNAPSHOTS"]._serialized_end = 2211 + _globals["_REQUESTOFFERSNAPSHOT"]._serialized_start = 2213 + _globals["_REQUESTOFFERSNAPSHOT"]._serialized_end = 2317 + _globals["_REQUESTLOADSNAPSHOTCHUNK"]._serialized_start = 2319 + _globals["_REQUESTLOADSNAPSHOTCHUNK"]._serialized_end = 2415 + _globals["_REQUESTAPPLYSNAPSHOTCHUNK"]._serialized_start = 2417 + _globals["_REQUESTAPPLYSNAPSHOTCHUNK"]._serialized_end = 2512 + _globals["_REQUESTPREPAREPROPOSAL"]._serialized_start = 2515 + _globals["_REQUESTPREPAREPROPOSAL"]._serialized_end = 2923 + _globals["_REQUESTPROCESSPROPOSAL"]._serialized_start = 2926 + _globals["_REQUESTPROCESSPROPOSAL"]._serialized_end = 3318 + _globals["_REQUESTEXTENDVOTE"]._serialized_start = 3321 + _globals["_REQUESTEXTENDVOTE"]._serialized_end = 3708 + _globals["_REQUESTVERIFYVOTEEXTENSION"]._serialized_start = 3711 + _globals["_REQUESTVERIFYVOTEEXTENSION"]._serialized_end = 3867 + _globals["_REQUESTFINALIZEBLOCK"]._serialized_start = 3870 + _globals["_REQUESTFINALIZEBLOCK"]._serialized_end = 4258 + _globals["_RESPONSE"]._serialized_start = 4261 + _globals["_RESPONSE"]._serialized_end = 5561 + _globals["_RESPONSEEXCEPTION"]._serialized_start = 5563 + _globals["_RESPONSEEXCEPTION"]._serialized_end = 5604 + _globals["_RESPONSEECHO"]._serialized_start = 5606 + _globals["_RESPONSEECHO"]._serialized_end = 5646 + _globals["_RESPONSEFLUSH"]._serialized_start = 5648 + _globals["_RESPONSEFLUSH"]._serialized_end = 5663 + _globals["_RESPONSEINFO"]._serialized_start = 5666 + _globals["_RESPONSEINFO"]._serialized_end = 5850 + _globals["_RESPONSEINITCHAIN"]._serialized_start = 5853 + _globals["_RESPONSEINITCHAIN"]._serialized_end = 6049 + _globals["_RESPONSEQUERY"]._serialized_start = 6052 + _globals["_RESPONSEQUERY"]._serialized_end = 6299 + _globals["_RESPONSECHECKTX"]._serialized_start = 6302 + _globals["_RESPONSECHECKTX"]._serialized_end = 6600 + _globals["_RESPONSECOMMIT"]._serialized_start = 6602 + _globals["_RESPONSECOMMIT"]._serialized_end = 6667 + _globals["_RESPONSELISTSNAPSHOTS"]._serialized_start = 6669 + _globals["_RESPONSELISTSNAPSHOTS"]._serialized_end = 6749 + _globals["_RESPONSEOFFERSNAPSHOT"]._serialized_start = 6752 + _globals["_RESPONSEOFFERSNAPSHOT"]._serialized_end = 6942 + _globals["_RESPONSEOFFERSNAPSHOT_RESULT"]._serialized_start = 6848 + _globals["_RESPONSEOFFERSNAPSHOT_RESULT"]._serialized_end = 6942 + _globals["_RESPONSELOADSNAPSHOTCHUNK"]._serialized_start = 6944 + _globals["_RESPONSELOADSNAPSHOTCHUNK"]._serialized_end = 6993 + _globals["_RESPONSEAPPLYSNAPSHOTCHUNK"]._serialized_start = 6996 + _globals["_RESPONSEAPPLYSNAPSHOTCHUNK"]._serialized_end = 7276 + _globals["_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT"]._serialized_start = 7180 + _globals["_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT"]._serialized_end = 7276 + _globals["_RESPONSEPREPAREPROPOSAL"]._serialized_start = 7278 + _globals["_RESPONSEPREPAREPROPOSAL"]._serialized_end = 7321 + _globals["_RESPONSEPROCESSPROPOSAL"]._serialized_start = 7324 + _globals["_RESPONSEPROCESSPROPOSAL"]._serialized_end = 7485 + _globals["_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS"]._serialized_start = 7432 + _globals["_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS"]._serialized_end = 7485 + _globals["_RESPONSEEXTENDVOTE"]._serialized_start = 7487 + _globals["_RESPONSEEXTENDVOTE"]._serialized_end = 7546 + _globals["_RESPONSEVERIFYVOTEEXTENSION"]._serialized_start = 7549 + _globals["_RESPONSEVERIFYVOTEEXTENSION"]._serialized_end = 7714 + _globals["_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS"]._serialized_start = 7663 + _globals["_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS"]._serialized_end = 7714 + _globals["_RESPONSEFINALIZEBLOCK"]._serialized_start = 7717 + _globals["_RESPONSEFINALIZEBLOCK"]._serialized_end = 8079 + _globals["_COMMITINFO"]._serialized_start = 8081 + _globals["_COMMITINFO"]._serialized_end = 8170 + _globals["_EXTENDEDCOMMITINFO"]._serialized_start = 8172 + _globals["_EXTENDEDCOMMITINFO"]._serialized_end = 8277 + _globals["_EVENT"]._serialized_start = 8279 + _globals["_EVENT"]._serialized_end = 8401 + _globals["_EVENTATTRIBUTE"]._serialized_start = 8403 + _globals["_EVENTATTRIBUTE"]._serialized_end = 8481 + _globals["_EXECTXRESULT"]._serialized_start = 8484 + _globals["_EXECTXRESULT"]._serialized_end = 8740 + _globals["_TXRESULT"]._serialized_start = 8743 + _globals["_TXRESULT"]._serialized_end = 8876 + _globals["_VALIDATOR"]._serialized_start = 8878 + _globals["_VALIDATOR"]._serialized_end = 8937 + _globals["_VALIDATORUPDATE"]._serialized_start = 8939 + _globals["_VALIDATORUPDATE"]._serialized_end = 9039 + _globals["_VOTEINFO"]._serialized_start = 9042 + _globals["_VOTEINFO"]._serialized_end = 9189 + _globals["_EXTENDEDVOTEINFO"]._serialized_start = 9192 + _globals["_EXTENDEDVOTEINFO"]._serialized_end = 9435 + _globals["_MISBEHAVIOR"]._serialized_start = 9438 + _globals["_MISBEHAVIOR"]._serialized_end = 9697 + _globals["_SNAPSHOT"]._serialized_start = 9700 + _globals["_SNAPSHOT"]._serialized_end = 9830 + _globals["_ABCI"]._serialized_start = 9969 + _globals["_ABCI"]._serialized_end = 11406 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/abci/types_pb2_grpc.py b/pyinjective/proto/tendermint/abci/types_pb2_grpc.py index d18cc0b2..654f4c46 100644 --- a/pyinjective/proto/tendermint/abci/types_pb2_grpc.py +++ b/pyinjective/proto/tendermint/abci/types_pb2_grpc.py @@ -18,85 +18,101 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Echo = channel.unary_unary( - '/tendermint.abci.ABCI/Echo', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestEcho.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseEcho.FromString, - _registered_method=True) + "/tendermint.abci.ABCI/Echo", + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestEcho.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseEcho.FromString, + _registered_method=True, + ) self.Flush = channel.unary_unary( - '/tendermint.abci.ABCI/Flush', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFlush.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFlush.FromString, - _registered_method=True) + "/tendermint.abci.ABCI/Flush", + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFlush.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFlush.FromString, + _registered_method=True, + ) self.Info = channel.unary_unary( - '/tendermint.abci.ABCI/Info', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.FromString, - _registered_method=True) + "/tendermint.abci.ABCI/Info", + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.FromString, + _registered_method=True, + ) self.CheckTx = channel.unary_unary( - '/tendermint.abci.ABCI/CheckTx', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, - _registered_method=True) + "/tendermint.abci.ABCI/CheckTx", + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, + _registered_method=True, + ) self.Query = channel.unary_unary( - '/tendermint.abci.ABCI/Query', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, - _registered_method=True) + "/tendermint.abci.ABCI/Query", + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, + _registered_method=True, + ) self.Commit = channel.unary_unary( - '/tendermint.abci.ABCI/Commit', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, - _registered_method=True) + "/tendermint.abci.ABCI/Commit", + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, + _registered_method=True, + ) self.InitChain = channel.unary_unary( - '/tendermint.abci.ABCI/InitChain', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, - _registered_method=True) + "/tendermint.abci.ABCI/InitChain", + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, + _registered_method=True, + ) self.ListSnapshots = channel.unary_unary( - '/tendermint.abci.ABCI/ListSnapshots', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, - _registered_method=True) + "/tendermint.abci.ABCI/ListSnapshots", + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, + _registered_method=True, + ) self.OfferSnapshot = channel.unary_unary( - '/tendermint.abci.ABCI/OfferSnapshot', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, - _registered_method=True) + "/tendermint.abci.ABCI/OfferSnapshot", + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, + _registered_method=True, + ) self.LoadSnapshotChunk = channel.unary_unary( - '/tendermint.abci.ABCI/LoadSnapshotChunk', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, - _registered_method=True) + "/tendermint.abci.ABCI/LoadSnapshotChunk", + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, + _registered_method=True, + ) self.ApplySnapshotChunk = channel.unary_unary( - '/tendermint.abci.ABCI/ApplySnapshotChunk', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, - _registered_method=True) + "/tendermint.abci.ABCI/ApplySnapshotChunk", + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, + _registered_method=True, + ) self.PrepareProposal = channel.unary_unary( - '/tendermint.abci.ABCI/PrepareProposal', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, - _registered_method=True) + "/tendermint.abci.ABCI/PrepareProposal", + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, + _registered_method=True, + ) self.ProcessProposal = channel.unary_unary( - '/tendermint.abci.ABCI/ProcessProposal', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, - _registered_method=True) + "/tendermint.abci.ABCI/ProcessProposal", + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, + _registered_method=True, + ) self.ExtendVote = channel.unary_unary( - '/tendermint.abci.ABCI/ExtendVote', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.FromString, - _registered_method=True) + "/tendermint.abci.ABCI/ExtendVote", + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.FromString, + _registered_method=True, + ) self.VerifyVoteExtension = channel.unary_unary( - '/tendermint.abci.ABCI/VerifyVoteExtension', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.FromString, - _registered_method=True) + "/tendermint.abci.ABCI/VerifyVoteExtension", + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.FromString, + _registered_method=True, + ) self.FinalizeBlock = channel.unary_unary( - '/tendermint.abci.ABCI/FinalizeBlock', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.FromString, - _registered_method=True) + "/tendermint.abci.ABCI/FinalizeBlock", + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.FromString, + _registered_method=True, + ) class ABCIServicer(object): @@ -108,190 +124,189 @@ class ABCIServicer(object): def Echo(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Flush(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Info(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def CheckTx(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Query(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def Commit(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def InitChain(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ListSnapshots(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def OfferSnapshot(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def LoadSnapshotChunk(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ApplySnapshotChunk(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def PrepareProposal(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ProcessProposal(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def ExtendVote(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def VerifyVoteExtension(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def FinalizeBlock(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") def add_ABCIServicer_to_server(servicer, server): rpc_method_handlers = { - 'Echo': grpc.unary_unary_rpc_method_handler( - servicer.Echo, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestEcho.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseEcho.SerializeToString, - ), - 'Flush': grpc.unary_unary_rpc_method_handler( - servicer.Flush, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestFlush.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseFlush.SerializeToString, - ), - 'Info': grpc.unary_unary_rpc_method_handler( - servicer.Info, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.SerializeToString, - ), - 'CheckTx': grpc.unary_unary_rpc_method_handler( - servicer.CheckTx, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.SerializeToString, - ), - 'Query': grpc.unary_unary_rpc_method_handler( - servicer.Query, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestQuery.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseQuery.SerializeToString, - ), - 'Commit': grpc.unary_unary_rpc_method_handler( - servicer.Commit, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestCommit.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseCommit.SerializeToString, - ), - 'InitChain': grpc.unary_unary_rpc_method_handler( - servicer.InitChain, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.SerializeToString, - ), - 'ListSnapshots': grpc.unary_unary_rpc_method_handler( - servicer.ListSnapshots, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.SerializeToString, - ), - 'OfferSnapshot': grpc.unary_unary_rpc_method_handler( - servicer.OfferSnapshot, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.SerializeToString, - ), - 'LoadSnapshotChunk': grpc.unary_unary_rpc_method_handler( - servicer.LoadSnapshotChunk, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.SerializeToString, - ), - 'ApplySnapshotChunk': grpc.unary_unary_rpc_method_handler( - servicer.ApplySnapshotChunk, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.SerializeToString, - ), - 'PrepareProposal': grpc.unary_unary_rpc_method_handler( - servicer.PrepareProposal, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.SerializeToString, - ), - 'ProcessProposal': grpc.unary_unary_rpc_method_handler( - servicer.ProcessProposal, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.SerializeToString, - ), - 'ExtendVote': grpc.unary_unary_rpc_method_handler( - servicer.ExtendVote, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.SerializeToString, - ), - 'VerifyVoteExtension': grpc.unary_unary_rpc_method_handler( - servicer.VerifyVoteExtension, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.SerializeToString, - ), - 'FinalizeBlock': grpc.unary_unary_rpc_method_handler( - servicer.FinalizeBlock, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.SerializeToString, - ), + "Echo": grpc.unary_unary_rpc_method_handler( + servicer.Echo, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestEcho.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseEcho.SerializeToString, + ), + "Flush": grpc.unary_unary_rpc_method_handler( + servicer.Flush, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestFlush.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseFlush.SerializeToString, + ), + "Info": grpc.unary_unary_rpc_method_handler( + servicer.Info, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.SerializeToString, + ), + "CheckTx": grpc.unary_unary_rpc_method_handler( + servicer.CheckTx, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.SerializeToString, + ), + "Query": grpc.unary_unary_rpc_method_handler( + servicer.Query, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestQuery.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseQuery.SerializeToString, + ), + "Commit": grpc.unary_unary_rpc_method_handler( + servicer.Commit, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestCommit.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseCommit.SerializeToString, + ), + "InitChain": grpc.unary_unary_rpc_method_handler( + servicer.InitChain, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.SerializeToString, + ), + "ListSnapshots": grpc.unary_unary_rpc_method_handler( + servicer.ListSnapshots, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.SerializeToString, + ), + "OfferSnapshot": grpc.unary_unary_rpc_method_handler( + servicer.OfferSnapshot, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.SerializeToString, + ), + "LoadSnapshotChunk": grpc.unary_unary_rpc_method_handler( + servicer.LoadSnapshotChunk, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.SerializeToString, + ), + "ApplySnapshotChunk": grpc.unary_unary_rpc_method_handler( + servicer.ApplySnapshotChunk, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.SerializeToString, + ), + "PrepareProposal": grpc.unary_unary_rpc_method_handler( + servicer.PrepareProposal, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.SerializeToString, + ), + "ProcessProposal": grpc.unary_unary_rpc_method_handler( + servicer.ProcessProposal, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.SerializeToString, + ), + "ExtendVote": grpc.unary_unary_rpc_method_handler( + servicer.ExtendVote, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.SerializeToString, + ), + "VerifyVoteExtension": grpc.unary_unary_rpc_method_handler( + servicer.VerifyVoteExtension, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.SerializeToString, + ), + "FinalizeBlock": grpc.unary_unary_rpc_method_handler( + servicer.FinalizeBlock, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler( - 'tendermint.abci.ABCI', rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler("tendermint.abci.ABCI", rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('tendermint.abci.ABCI', rpc_method_handlers) + server.add_registered_method_handlers("tendermint.abci.ABCI", rpc_method_handlers) - # This class is part of an EXPERIMENTAL API. +# This class is part of an EXPERIMENTAL API. class ABCI(object): """NOTE: When using custom types, mind the warnings. https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues @@ -299,20 +314,22 @@ class ABCI(object): """ @staticmethod - def Echo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Echo( + 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.abci.ABCI/Echo', + "/tendermint.abci.ABCI/Echo", tendermint_dot_abci_dot_types__pb2.RequestEcho.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseEcho.FromString, options, @@ -323,23 +340,26 @@ def Echo(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Flush(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Flush( + 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.abci.ABCI/Flush', + "/tendermint.abci.ABCI/Flush", tendermint_dot_abci_dot_types__pb2.RequestFlush.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseFlush.FromString, options, @@ -350,23 +370,26 @@ def Flush(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Info(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Info( + 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.abci.ABCI/Info', + "/tendermint.abci.ABCI/Info", tendermint_dot_abci_dot_types__pb2.RequestInfo.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseInfo.FromString, options, @@ -377,23 +400,26 @@ def Info(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def CheckTx(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def CheckTx( + 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.abci.ABCI/CheckTx', + "/tendermint.abci.ABCI/CheckTx", tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, options, @@ -404,23 +430,26 @@ def CheckTx(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Query(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Query( + 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.abci.ABCI/Query', + "/tendermint.abci.ABCI/Query", tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, options, @@ -431,23 +460,26 @@ def Query(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def Commit(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def Commit( + 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.abci.ABCI/Commit', + "/tendermint.abci.ABCI/Commit", tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, options, @@ -458,23 +490,26 @@ def Commit(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def InitChain(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def InitChain( + 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.abci.ABCI/InitChain', + "/tendermint.abci.ABCI/InitChain", tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, options, @@ -485,23 +520,26 @@ def InitChain(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ListSnapshots(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ListSnapshots( + 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.abci.ABCI/ListSnapshots', + "/tendermint.abci.ABCI/ListSnapshots", tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, options, @@ -512,23 +550,26 @@ def ListSnapshots(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def OfferSnapshot(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def OfferSnapshot( + 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.abci.ABCI/OfferSnapshot', + "/tendermint.abci.ABCI/OfferSnapshot", tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, options, @@ -539,23 +580,26 @@ def OfferSnapshot(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def LoadSnapshotChunk(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def LoadSnapshotChunk( + 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.abci.ABCI/LoadSnapshotChunk', + "/tendermint.abci.ABCI/LoadSnapshotChunk", tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, options, @@ -566,23 +610,26 @@ def LoadSnapshotChunk(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ApplySnapshotChunk(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ApplySnapshotChunk( + 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.abci.ABCI/ApplySnapshotChunk', + "/tendermint.abci.ABCI/ApplySnapshotChunk", tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, options, @@ -593,23 +640,26 @@ def ApplySnapshotChunk(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def PrepareProposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def PrepareProposal( + 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.abci.ABCI/PrepareProposal', + "/tendermint.abci.ABCI/PrepareProposal", tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, options, @@ -620,23 +670,26 @@ def PrepareProposal(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ProcessProposal(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ProcessProposal( + 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.abci.ABCI/ProcessProposal', + "/tendermint.abci.ABCI/ProcessProposal", tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, options, @@ -647,23 +700,26 @@ def ProcessProposal(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def ExtendVote(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def ExtendVote( + 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.abci.ABCI/ExtendVote', + "/tendermint.abci.ABCI/ExtendVote", tendermint_dot_abci_dot_types__pb2.RequestExtendVote.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.FromString, options, @@ -674,23 +730,26 @@ def ExtendVote(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def VerifyVoteExtension(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def VerifyVoteExtension( + 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.abci.ABCI/VerifyVoteExtension', + "/tendermint.abci.ABCI/VerifyVoteExtension", tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.FromString, options, @@ -701,23 +760,26 @@ def VerifyVoteExtension(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) @staticmethod - def FinalizeBlock(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): + def FinalizeBlock( + 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.abci.ABCI/FinalizeBlock', + "/tendermint.abci.ABCI/FinalizeBlock", tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.FromString, options, @@ -728,4 +790,5 @@ def FinalizeBlock(request, wait_for_ready, timeout, metadata, - _registered_method=True) + _registered_method=True, + ) diff --git a/pyinjective/proto/tendermint/crypto/keys_pb2.py b/pyinjective/proto/tendermint/crypto/keys_pb2.py index 6d1762da..cae6bb10 100644 --- a/pyinjective/proto/tendermint/crypto/keys_pb2.py +++ b/pyinjective/proto/tendermint/crypto/keys_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,16 +16,20 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/crypto/keys.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto\"X\n\tPublicKey\x12\x1a\n\x07\x65\x64\x32\x35\x35\x31\x39\x18\x01 \x01(\x0cH\x00R\x07\x65\x64\x32\x35\x35\x31\x39\x12\x1e\n\tsecp256k1\x18\x02 \x01(\x0cH\x00R\tsecp256k1:\x08\xe8\xa0\x1f\x01\xe8\xa1\x1f\x01\x42\x05\n\x03sumB\xbd\x01\n\x15\x63om.tendermint.cryptoB\tKeysProtoP\x01Z4github.com/cometbft/cometbft/proto/tendermint/crypto\xa2\x02\x03TCX\xaa\x02\x11Tendermint.Crypto\xca\x02\x11Tendermint\\Crypto\xe2\x02\x1dTendermint\\Crypto\\GPBMetadata\xea\x02\x12Tendermint::Cryptob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1ctendermint/crypto/keys.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto"X\n\tPublicKey\x12\x1a\n\x07\x65\x64\x32\x35\x35\x31\x39\x18\x01 \x01(\x0cH\x00R\x07\x65\x64\x32\x35\x35\x31\x39\x12\x1e\n\tsecp256k1\x18\x02 \x01(\x0cH\x00R\tsecp256k1:\x08\xe8\xa0\x1f\x01\xe8\xa1\x1f\x01\x42\x05\n\x03sumB\xbd\x01\n\x15\x63om.tendermint.cryptoB\tKeysProtoP\x01Z4github.com/cometbft/cometbft/proto/tendermint/crypto\xa2\x02\x03TCX\xaa\x02\x11Tendermint.Crypto\xca\x02\x11Tendermint\\Crypto\xe2\x02\x1dTendermint\\Crypto\\GPBMetadata\xea\x02\x12Tendermint::Cryptob\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.keys_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.crypto.keys_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.tendermint.cryptoB\tKeysProtoP\001Z4github.com/cometbft/cometbft/proto/tendermint/crypto\242\002\003TCX\252\002\021Tendermint.Crypto\312\002\021Tendermint\\Crypto\342\002\035Tendermint\\Crypto\\GPBMetadata\352\002\022Tendermint::Crypto' - _globals['_PUBLICKEY']._loaded_options = None - _globals['_PUBLICKEY']._serialized_options = b'\350\240\037\001\350\241\037\001' - _globals['_PUBLICKEY']._serialized_start=73 - _globals['_PUBLICKEY']._serialized_end=161 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\025com.tendermint.cryptoB\tKeysProtoP\001Z4github.com/cometbft/cometbft/proto/tendermint/crypto\242\002\003TCX\252\002\021Tendermint.Crypto\312\002\021Tendermint\\Crypto\342\002\035Tendermint\\Crypto\\GPBMetadata\352\002\022Tendermint::Crypto" + ) + _globals["_PUBLICKEY"]._loaded_options = None + _globals["_PUBLICKEY"]._serialized_options = b"\350\240\037\001\350\241\037\001" + _globals["_PUBLICKEY"]._serialized_start = 73 + _globals["_PUBLICKEY"]._serialized_end = 161 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/crypto/keys_pb2_grpc.py b/pyinjective/proto/tendermint/crypto/keys_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/tendermint/crypto/keys_pb2_grpc.py +++ b/pyinjective/proto/tendermint/crypto/keys_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/crypto/proof_pb2.py b/pyinjective/proto/tendermint/crypto/proof_pb2.py index 5681a5e2..b11108d3 100644 --- a/pyinjective/proto/tendermint/crypto/proof_pb2.py +++ b/pyinjective/proto/tendermint/crypto/proof_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,24 +16,28 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/crypto/proof.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto\"f\n\x05Proof\x12\x14\n\x05total\x18\x01 \x01(\x03R\x05total\x12\x14\n\x05index\x18\x02 \x01(\x03R\x05index\x12\x1b\n\tleaf_hash\x18\x03 \x01(\x0cR\x08leafHash\x12\x14\n\x05\x61unts\x18\x04 \x03(\x0cR\x05\x61unts\"K\n\x07ValueOp\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12.\n\x05proof\x18\x02 \x01(\x0b\x32\x18.tendermint.crypto.ProofR\x05proof\"J\n\x08\x44ominoOp\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05input\x18\x02 \x01(\tR\x05input\x12\x16\n\x06output\x18\x03 \x01(\tR\x06output\"C\n\x07ProofOp\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x10\n\x03key\x18\x02 \x01(\x0cR\x03key\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\">\n\x08ProofOps\x12\x32\n\x03ops\x18\x01 \x03(\x0b\x32\x1a.tendermint.crypto.ProofOpB\x04\xc8\xde\x1f\x00R\x03opsB\xbe\x01\n\x15\x63om.tendermint.cryptoB\nProofProtoP\x01Z4github.com/cometbft/cometbft/proto/tendermint/crypto\xa2\x02\x03TCX\xaa\x02\x11Tendermint.Crypto\xca\x02\x11Tendermint\\Crypto\xe2\x02\x1dTendermint\\Crypto\\GPBMetadata\xea\x02\x12Tendermint::Cryptob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1dtendermint/crypto/proof.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto"f\n\x05Proof\x12\x14\n\x05total\x18\x01 \x01(\x03R\x05total\x12\x14\n\x05index\x18\x02 \x01(\x03R\x05index\x12\x1b\n\tleaf_hash\x18\x03 \x01(\x0cR\x08leafHash\x12\x14\n\x05\x61unts\x18\x04 \x03(\x0cR\x05\x61unts"K\n\x07ValueOp\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12.\n\x05proof\x18\x02 \x01(\x0b\x32\x18.tendermint.crypto.ProofR\x05proof"J\n\x08\x44ominoOp\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05input\x18\x02 \x01(\tR\x05input\x12\x16\n\x06output\x18\x03 \x01(\tR\x06output"C\n\x07ProofOp\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x10\n\x03key\x18\x02 \x01(\x0cR\x03key\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta">\n\x08ProofOps\x12\x32\n\x03ops\x18\x01 \x03(\x0b\x32\x1a.tendermint.crypto.ProofOpB\x04\xc8\xde\x1f\x00R\x03opsB\xbe\x01\n\x15\x63om.tendermint.cryptoB\nProofProtoP\x01Z4github.com/cometbft/cometbft/proto/tendermint/crypto\xa2\x02\x03TCX\xaa\x02\x11Tendermint.Crypto\xca\x02\x11Tendermint\\Crypto\xe2\x02\x1dTendermint\\Crypto\\GPBMetadata\xea\x02\x12Tendermint::Cryptob\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.proof_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.crypto.proof_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.tendermint.cryptoB\nProofProtoP\001Z4github.com/cometbft/cometbft/proto/tendermint/crypto\242\002\003TCX\252\002\021Tendermint.Crypto\312\002\021Tendermint\\Crypto\342\002\035Tendermint\\Crypto\\GPBMetadata\352\002\022Tendermint::Crypto' - _globals['_PROOFOPS'].fields_by_name['ops']._loaded_options = None - _globals['_PROOFOPS'].fields_by_name['ops']._serialized_options = b'\310\336\037\000' - _globals['_PROOF']._serialized_start=74 - _globals['_PROOF']._serialized_end=176 - _globals['_VALUEOP']._serialized_start=178 - _globals['_VALUEOP']._serialized_end=253 - _globals['_DOMINOOP']._serialized_start=255 - _globals['_DOMINOOP']._serialized_end=329 - _globals['_PROOFOP']._serialized_start=331 - _globals['_PROOFOP']._serialized_end=398 - _globals['_PROOFOPS']._serialized_start=400 - _globals['_PROOFOPS']._serialized_end=462 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\025com.tendermint.cryptoB\nProofProtoP\001Z4github.com/cometbft/cometbft/proto/tendermint/crypto\242\002\003TCX\252\002\021Tendermint.Crypto\312\002\021Tendermint\\Crypto\342\002\035Tendermint\\Crypto\\GPBMetadata\352\002\022Tendermint::Crypto" + ) + _globals["_PROOFOPS"].fields_by_name["ops"]._loaded_options = None + _globals["_PROOFOPS"].fields_by_name["ops"]._serialized_options = b"\310\336\037\000" + _globals["_PROOF"]._serialized_start = 74 + _globals["_PROOF"]._serialized_end = 176 + _globals["_VALUEOP"]._serialized_start = 178 + _globals["_VALUEOP"]._serialized_end = 253 + _globals["_DOMINOOP"]._serialized_start = 255 + _globals["_DOMINOOP"]._serialized_end = 329 + _globals["_PROOFOP"]._serialized_start = 331 + _globals["_PROOFOP"]._serialized_end = 398 + _globals["_PROOFOPS"]._serialized_start = 400 + _globals["_PROOFOPS"]._serialized_end = 462 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/crypto/proof_pb2_grpc.py b/pyinjective/proto/tendermint/crypto/proof_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/tendermint/crypto/proof_pb2_grpc.py +++ b/pyinjective/proto/tendermint/crypto/proof_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/libs/bits/types_pb2.py b/pyinjective/proto/tendermint/libs/bits/types_pb2.py index 207b36a4..fa27e978 100644 --- a/pyinjective/proto/tendermint/libs/bits/types_pb2.py +++ b/pyinjective/proto/tendermint/libs/bits/types_pb2.py @@ -7,21 +7,24 @@ 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/libs/bits/types.proto\x12\x14tendermint.libs.bits\"4\n\x08\x42itArray\x12\x12\n\x04\x62its\x18\x01 \x01(\x03R\x04\x62its\x12\x14\n\x05\x65lems\x18\x02 \x03(\x04R\x05\x65lemsB\xd1\x01\n\x18\x63om.tendermint.libs.bitsB\nTypesProtoP\x01Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits\xa2\x02\x03TLB\xaa\x02\x14Tendermint.Libs.Bits\xca\x02\x14Tendermint\\Libs\\Bits\xe2\x02 Tendermint\\Libs\\Bits\\GPBMetadata\xea\x02\x16Tendermint::Libs::Bitsb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n tendermint/libs/bits/types.proto\x12\x14tendermint.libs.bits"4\n\x08\x42itArray\x12\x12\n\x04\x62its\x18\x01 \x01(\x03R\x04\x62its\x12\x14\n\x05\x65lems\x18\x02 \x03(\x04R\x05\x65lemsB\xd1\x01\n\x18\x63om.tendermint.libs.bitsB\nTypesProtoP\x01Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits\xa2\x02\x03TLB\xaa\x02\x14Tendermint.Libs.Bits\xca\x02\x14Tendermint\\Libs\\Bits\xe2\x02 Tendermint\\Libs\\Bits\\GPBMetadata\xea\x02\x16Tendermint::Libs::Bitsb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.libs.bits.types_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.libs.bits.types_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.tendermint.libs.bitsB\nTypesProtoP\001Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits\242\002\003TLB\252\002\024Tendermint.Libs.Bits\312\002\024Tendermint\\Libs\\Bits\342\002 Tendermint\\Libs\\Bits\\GPBMetadata\352\002\026Tendermint::Libs::Bits' - _globals['_BITARRAY']._serialized_start=58 - _globals['_BITARRAY']._serialized_end=110 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\030com.tendermint.libs.bitsB\nTypesProtoP\001Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits\242\002\003TLB\252\002\024Tendermint.Libs.Bits\312\002\024Tendermint\\Libs\\Bits\342\002 Tendermint\\Libs\\Bits\\GPBMetadata\352\002\026Tendermint::Libs::Bits" + ) + _globals["_BITARRAY"]._serialized_start = 58 + _globals["_BITARRAY"]._serialized_end = 110 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/libs/bits/types_pb2_grpc.py b/pyinjective/proto/tendermint/libs/bits/types_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/tendermint/libs/bits/types_pb2_grpc.py +++ b/pyinjective/proto/tendermint/libs/bits/types_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/p2p/types_pb2.py b/pyinjective/proto/tendermint/p2p/types_pb2.py index 585eff1d..1f08ef94 100644 --- a/pyinjective/proto/tendermint/p2p/types_pb2.py +++ b/pyinjective/proto/tendermint/p2p/types_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,34 +16,38 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1atendermint/p2p/types.proto\x12\x0etendermint.p2p\x1a\x14gogoproto/gogo.proto\"P\n\nNetAddress\x12\x16\n\x02id\x18\x01 \x01(\tB\x06\xe2\xde\x1f\x02IDR\x02id\x12\x16\n\x02ip\x18\x02 \x01(\tB\x06\xe2\xde\x1f\x02IPR\x02ip\x12\x12\n\x04port\x18\x03 \x01(\rR\x04port\"T\n\x0fProtocolVersion\x12\x19\n\x03p2p\x18\x01 \x01(\x04\x42\x07\xe2\xde\x1f\x03P2PR\x03p2p\x12\x14\n\x05\x62lock\x18\x02 \x01(\x04R\x05\x62lock\x12\x10\n\x03\x61pp\x18\x03 \x01(\x04R\x03\x61pp\"\xeb\x02\n\x0f\x44\x65\x66\x61ultNodeInfo\x12P\n\x10protocol_version\x18\x01 \x01(\x0b\x32\x1f.tendermint.p2p.ProtocolVersionB\x04\xc8\xde\x1f\x00R\x0fprotocolVersion\x12\x39\n\x0f\x64\x65\x66\x61ult_node_id\x18\x02 \x01(\tB\x11\xe2\xde\x1f\rDefaultNodeIDR\rdefaultNodeId\x12\x1f\n\x0blisten_addr\x18\x03 \x01(\tR\nlistenAddr\x12\x18\n\x07network\x18\x04 \x01(\tR\x07network\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12\x1a\n\x08\x63hannels\x18\x06 \x01(\x0cR\x08\x63hannels\x12\x18\n\x07moniker\x18\x07 \x01(\tR\x07moniker\x12@\n\x05other\x18\x08 \x01(\x0b\x32$.tendermint.p2p.DefaultNodeInfoOtherB\x04\xc8\xde\x1f\x00R\x05other\"b\n\x14\x44\x65\x66\x61ultNodeInfoOther\x12\x19\n\x08tx_index\x18\x01 \x01(\tR\x07txIndex\x12/\n\x0brpc_address\x18\x02 \x01(\tB\x0e\xe2\xde\x1f\nRPCAddressR\nrpcAddressB\xac\x01\n\x12\x63om.tendermint.p2pB\nTypesProtoP\x01Z1github.com/cometbft/cometbft/proto/tendermint/p2p\xa2\x02\x03TPX\xaa\x02\x0eTendermint.P2p\xca\x02\x0eTendermint\\P2p\xe2\x02\x1aTendermint\\P2p\\GPBMetadata\xea\x02\x0fTendermint::P2pb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1atendermint/p2p/types.proto\x12\x0etendermint.p2p\x1a\x14gogoproto/gogo.proto"P\n\nNetAddress\x12\x16\n\x02id\x18\x01 \x01(\tB\x06\xe2\xde\x1f\x02IDR\x02id\x12\x16\n\x02ip\x18\x02 \x01(\tB\x06\xe2\xde\x1f\x02IPR\x02ip\x12\x12\n\x04port\x18\x03 \x01(\rR\x04port"T\n\x0fProtocolVersion\x12\x19\n\x03p2p\x18\x01 \x01(\x04\x42\x07\xe2\xde\x1f\x03P2PR\x03p2p\x12\x14\n\x05\x62lock\x18\x02 \x01(\x04R\x05\x62lock\x12\x10\n\x03\x61pp\x18\x03 \x01(\x04R\x03\x61pp"\xeb\x02\n\x0f\x44\x65\x66\x61ultNodeInfo\x12P\n\x10protocol_version\x18\x01 \x01(\x0b\x32\x1f.tendermint.p2p.ProtocolVersionB\x04\xc8\xde\x1f\x00R\x0fprotocolVersion\x12\x39\n\x0f\x64\x65\x66\x61ult_node_id\x18\x02 \x01(\tB\x11\xe2\xde\x1f\rDefaultNodeIDR\rdefaultNodeId\x12\x1f\n\x0blisten_addr\x18\x03 \x01(\tR\nlistenAddr\x12\x18\n\x07network\x18\x04 \x01(\tR\x07network\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12\x1a\n\x08\x63hannels\x18\x06 \x01(\x0cR\x08\x63hannels\x12\x18\n\x07moniker\x18\x07 \x01(\tR\x07moniker\x12@\n\x05other\x18\x08 \x01(\x0b\x32$.tendermint.p2p.DefaultNodeInfoOtherB\x04\xc8\xde\x1f\x00R\x05other"b\n\x14\x44\x65\x66\x61ultNodeInfoOther\x12\x19\n\x08tx_index\x18\x01 \x01(\tR\x07txIndex\x12/\n\x0brpc_address\x18\x02 \x01(\tB\x0e\xe2\xde\x1f\nRPCAddressR\nrpcAddressB\xac\x01\n\x12\x63om.tendermint.p2pB\nTypesProtoP\x01Z1github.com/cometbft/cometbft/proto/tendermint/p2p\xa2\x02\x03TPX\xaa\x02\x0eTendermint.P2p\xca\x02\x0eTendermint\\P2p\xe2\x02\x1aTendermint\\P2p\\GPBMetadata\xea\x02\x0fTendermint::P2pb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.types_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.p2p.types_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\022com.tendermint.p2pB\nTypesProtoP\001Z1github.com/cometbft/cometbft/proto/tendermint/p2p\242\002\003TPX\252\002\016Tendermint.P2p\312\002\016Tendermint\\P2p\342\002\032Tendermint\\P2p\\GPBMetadata\352\002\017Tendermint::P2p' - _globals['_NETADDRESS'].fields_by_name['id']._loaded_options = None - _globals['_NETADDRESS'].fields_by_name['id']._serialized_options = b'\342\336\037\002ID' - _globals['_NETADDRESS'].fields_by_name['ip']._loaded_options = None - _globals['_NETADDRESS'].fields_by_name['ip']._serialized_options = b'\342\336\037\002IP' - _globals['_PROTOCOLVERSION'].fields_by_name['p2p']._loaded_options = None - _globals['_PROTOCOLVERSION'].fields_by_name['p2p']._serialized_options = b'\342\336\037\003P2P' - _globals['_DEFAULTNODEINFO'].fields_by_name['protocol_version']._loaded_options = None - _globals['_DEFAULTNODEINFO'].fields_by_name['protocol_version']._serialized_options = b'\310\336\037\000' - _globals['_DEFAULTNODEINFO'].fields_by_name['default_node_id']._loaded_options = None - _globals['_DEFAULTNODEINFO'].fields_by_name['default_node_id']._serialized_options = b'\342\336\037\rDefaultNodeID' - _globals['_DEFAULTNODEINFO'].fields_by_name['other']._loaded_options = None - _globals['_DEFAULTNODEINFO'].fields_by_name['other']._serialized_options = b'\310\336\037\000' - _globals['_DEFAULTNODEINFOOTHER'].fields_by_name['rpc_address']._loaded_options = None - _globals['_DEFAULTNODEINFOOTHER'].fields_by_name['rpc_address']._serialized_options = b'\342\336\037\nRPCAddress' - _globals['_NETADDRESS']._serialized_start=68 - _globals['_NETADDRESS']._serialized_end=148 - _globals['_PROTOCOLVERSION']._serialized_start=150 - _globals['_PROTOCOLVERSION']._serialized_end=234 - _globals['_DEFAULTNODEINFO']._serialized_start=237 - _globals['_DEFAULTNODEINFO']._serialized_end=600 - _globals['_DEFAULTNODEINFOOTHER']._serialized_start=602 - _globals['_DEFAULTNODEINFOOTHER']._serialized_end=700 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\022com.tendermint.p2pB\nTypesProtoP\001Z1github.com/cometbft/cometbft/proto/tendermint/p2p\242\002\003TPX\252\002\016Tendermint.P2p\312\002\016Tendermint\\P2p\342\002\032Tendermint\\P2p\\GPBMetadata\352\002\017Tendermint::P2p" + ) + _globals["_NETADDRESS"].fields_by_name["id"]._loaded_options = None + _globals["_NETADDRESS"].fields_by_name["id"]._serialized_options = b"\342\336\037\002ID" + _globals["_NETADDRESS"].fields_by_name["ip"]._loaded_options = None + _globals["_NETADDRESS"].fields_by_name["ip"]._serialized_options = b"\342\336\037\002IP" + _globals["_PROTOCOLVERSION"].fields_by_name["p2p"]._loaded_options = None + _globals["_PROTOCOLVERSION"].fields_by_name["p2p"]._serialized_options = b"\342\336\037\003P2P" + _globals["_DEFAULTNODEINFO"].fields_by_name["protocol_version"]._loaded_options = None + _globals["_DEFAULTNODEINFO"].fields_by_name["protocol_version"]._serialized_options = b"\310\336\037\000" + _globals["_DEFAULTNODEINFO"].fields_by_name["default_node_id"]._loaded_options = None + _globals["_DEFAULTNODEINFO"].fields_by_name["default_node_id"]._serialized_options = b"\342\336\037\rDefaultNodeID" + _globals["_DEFAULTNODEINFO"].fields_by_name["other"]._loaded_options = None + _globals["_DEFAULTNODEINFO"].fields_by_name["other"]._serialized_options = b"\310\336\037\000" + _globals["_DEFAULTNODEINFOOTHER"].fields_by_name["rpc_address"]._loaded_options = None + _globals["_DEFAULTNODEINFOOTHER"].fields_by_name["rpc_address"]._serialized_options = b"\342\336\037\nRPCAddress" + _globals["_NETADDRESS"]._serialized_start = 68 + _globals["_NETADDRESS"]._serialized_end = 148 + _globals["_PROTOCOLVERSION"]._serialized_start = 150 + _globals["_PROTOCOLVERSION"]._serialized_end = 234 + _globals["_DEFAULTNODEINFO"]._serialized_start = 237 + _globals["_DEFAULTNODEINFO"]._serialized_end = 600 + _globals["_DEFAULTNODEINFOOTHER"]._serialized_start = 602 + _globals["_DEFAULTNODEINFOOTHER"]._serialized_end = 700 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/p2p/types_pb2_grpc.py b/pyinjective/proto/tendermint/p2p/types_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/tendermint/p2p/types_pb2_grpc.py +++ b/pyinjective/proto/tendermint/p2p/types_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/types/block_pb2.py b/pyinjective/proto/tendermint/types/block_pb2.py index fcbd42d0..55732e22 100644 --- a/pyinjective/proto/tendermint/types/block_pb2.py +++ b/pyinjective/proto/tendermint/types/block_pb2.py @@ -7,6 +7,7 @@ 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() @@ -17,20 +18,24 @@ from pyinjective.proto.tendermint.types import evidence_pb2 as tendermint_dot_types_dot_evidence__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/block.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ftendermint/types/evidence.proto\"\xee\x01\n\x05\x42lock\x12\x36\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00R\x06header\x12\x30\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta\x12@\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\x04\xc8\xde\x1f\x00R\x08\x65vidence\x12\x39\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.CommitR\nlastCommitB\xb8\x01\n\x14\x63om.tendermint.typesB\nBlockProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1ctendermint/types/block.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ftendermint/types/evidence.proto"\xee\x01\n\x05\x42lock\x12\x36\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00R\x06header\x12\x30\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta\x12@\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\x04\xc8\xde\x1f\x00R\x08\x65vidence\x12\x39\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.CommitR\nlastCommitB\xb8\x01\n\x14\x63om.tendermint.typesB\nBlockProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.block_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.types.block_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\nBlockProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types' - _globals['_BLOCK'].fields_by_name['header']._loaded_options = None - _globals['_BLOCK'].fields_by_name['header']._serialized_options = b'\310\336\037\000' - _globals['_BLOCK'].fields_by_name['data']._loaded_options = None - _globals['_BLOCK'].fields_by_name['data']._serialized_options = b'\310\336\037\000' - _globals['_BLOCK'].fields_by_name['evidence']._loaded_options = None - _globals['_BLOCK'].fields_by_name['evidence']._serialized_options = b'\310\336\037\000' - _globals['_BLOCK']._serialized_start=136 - _globals['_BLOCK']._serialized_end=374 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\024com.tendermint.typesB\nBlockProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types" + ) + _globals["_BLOCK"].fields_by_name["header"]._loaded_options = None + _globals["_BLOCK"].fields_by_name["header"]._serialized_options = b"\310\336\037\000" + _globals["_BLOCK"].fields_by_name["data"]._loaded_options = None + _globals["_BLOCK"].fields_by_name["data"]._serialized_options = b"\310\336\037\000" + _globals["_BLOCK"].fields_by_name["evidence"]._loaded_options = None + _globals["_BLOCK"].fields_by_name["evidence"]._serialized_options = b"\310\336\037\000" + _globals["_BLOCK"]._serialized_start = 136 + _globals["_BLOCK"]._serialized_end = 374 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/block_pb2_grpc.py b/pyinjective/proto/tendermint/types/block_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/tendermint/types/block_pb2_grpc.py +++ b/pyinjective/proto/tendermint/types/block_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/types/evidence_pb2.py b/pyinjective/proto/tendermint/types/evidence_pb2.py index d7f5ae43..d9f7394e 100644 --- a/pyinjective/proto/tendermint/types/evidence_pb2.py +++ b/pyinjective/proto/tendermint/types/evidence_pb2.py @@ -7,6 +7,7 @@ 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() @@ -18,26 +19,34 @@ from pyinjective.proto.tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ftendermint/types/evidence.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/types/validator.proto\"\xe4\x01\n\x08\x45vidence\x12\x61\n\x17\x64uplicate_vote_evidence\x18\x01 \x01(\x0b\x32\'.tendermint.types.DuplicateVoteEvidenceH\x00R\x15\x64uplicateVoteEvidence\x12n\n\x1clight_client_attack_evidence\x18\x02 \x01(\x0b\x32+.tendermint.types.LightClientAttackEvidenceH\x00R\x19lightClientAttackEvidenceB\x05\n\x03sum\"\x90\x02\n\x15\x44uplicateVoteEvidence\x12-\n\x06vote_a\x18\x01 \x01(\x0b\x32\x16.tendermint.types.VoteR\x05voteA\x12-\n\x06vote_b\x18\x02 \x01(\x0b\x32\x16.tendermint.types.VoteR\x05voteB\x12,\n\x12total_voting_power\x18\x03 \x01(\x03R\x10totalVotingPower\x12\'\n\x0fvalidator_power\x18\x04 \x01(\x03R\x0evalidatorPower\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\"\xcd\x02\n\x19LightClientAttackEvidence\x12I\n\x11\x63onflicting_block\x18\x01 \x01(\x0b\x32\x1c.tendermint.types.LightBlockR\x10\x63onflictingBlock\x12#\n\rcommon_height\x18\x02 \x01(\x03R\x0c\x63ommonHeight\x12N\n\x14\x62yzantine_validators\x18\x03 \x03(\x0b\x32\x1b.tendermint.types.ValidatorR\x13\x62yzantineValidators\x12,\n\x12total_voting_power\x18\x04 \x01(\x03R\x10totalVotingPower\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\"L\n\x0c\x45videnceList\x12<\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x1a.tendermint.types.EvidenceB\x04\xc8\xde\x1f\x00R\x08\x65videnceB\xbb\x01\n\x14\x63om.tendermint.typesB\rEvidenceProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1ftendermint/types/evidence.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/types/validator.proto"\xe4\x01\n\x08\x45vidence\x12\x61\n\x17\x64uplicate_vote_evidence\x18\x01 \x01(\x0b\x32\'.tendermint.types.DuplicateVoteEvidenceH\x00R\x15\x64uplicateVoteEvidence\x12n\n\x1clight_client_attack_evidence\x18\x02 \x01(\x0b\x32+.tendermint.types.LightClientAttackEvidenceH\x00R\x19lightClientAttackEvidenceB\x05\n\x03sum"\x90\x02\n\x15\x44uplicateVoteEvidence\x12-\n\x06vote_a\x18\x01 \x01(\x0b\x32\x16.tendermint.types.VoteR\x05voteA\x12-\n\x06vote_b\x18\x02 \x01(\x0b\x32\x16.tendermint.types.VoteR\x05voteB\x12,\n\x12total_voting_power\x18\x03 \x01(\x03R\x10totalVotingPower\x12\'\n\x0fvalidator_power\x18\x04 \x01(\x03R\x0evalidatorPower\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp"\xcd\x02\n\x19LightClientAttackEvidence\x12I\n\x11\x63onflicting_block\x18\x01 \x01(\x0b\x32\x1c.tendermint.types.LightBlockR\x10\x63onflictingBlock\x12#\n\rcommon_height\x18\x02 \x01(\x03R\x0c\x63ommonHeight\x12N\n\x14\x62yzantine_validators\x18\x03 \x03(\x0b\x32\x1b.tendermint.types.ValidatorR\x13\x62yzantineValidators\x12,\n\x12total_voting_power\x18\x04 \x01(\x03R\x10totalVotingPower\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp"L\n\x0c\x45videnceList\x12<\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x1a.tendermint.types.EvidenceB\x04\xc8\xde\x1f\x00R\x08\x65videnceB\xbb\x01\n\x14\x63om.tendermint.typesB\rEvidenceProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.evidence_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.types.evidence_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\rEvidenceProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types' - _globals['_DUPLICATEVOTEEVIDENCE'].fields_by_name['timestamp']._loaded_options = None - _globals['_DUPLICATEVOTEEVIDENCE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_LIGHTCLIENTATTACKEVIDENCE'].fields_by_name['timestamp']._loaded_options = None - _globals['_LIGHTCLIENTATTACKEVIDENCE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_EVIDENCELIST'].fields_by_name['evidence']._loaded_options = None - _globals['_EVIDENCELIST'].fields_by_name['evidence']._serialized_options = b'\310\336\037\000' - _globals['_EVIDENCE']._serialized_start=173 - _globals['_EVIDENCE']._serialized_end=401 - _globals['_DUPLICATEVOTEEVIDENCE']._serialized_start=404 - _globals['_DUPLICATEVOTEEVIDENCE']._serialized_end=676 - _globals['_LIGHTCLIENTATTACKEVIDENCE']._serialized_start=679 - _globals['_LIGHTCLIENTATTACKEVIDENCE']._serialized_end=1012 - _globals['_EVIDENCELIST']._serialized_start=1014 - _globals['_EVIDENCELIST']._serialized_end=1090 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\024com.tendermint.typesB\rEvidenceProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types" + ) + _globals["_DUPLICATEVOTEEVIDENCE"].fields_by_name["timestamp"]._loaded_options = None + _globals["_DUPLICATEVOTEEVIDENCE"].fields_by_name[ + "timestamp" + ]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_LIGHTCLIENTATTACKEVIDENCE"].fields_by_name["timestamp"]._loaded_options = None + _globals["_LIGHTCLIENTATTACKEVIDENCE"].fields_by_name[ + "timestamp" + ]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_EVIDENCELIST"].fields_by_name["evidence"]._loaded_options = None + _globals["_EVIDENCELIST"].fields_by_name["evidence"]._serialized_options = b"\310\336\037\000" + _globals["_EVIDENCE"]._serialized_start = 173 + _globals["_EVIDENCE"]._serialized_end = 401 + _globals["_DUPLICATEVOTEEVIDENCE"]._serialized_start = 404 + _globals["_DUPLICATEVOTEEVIDENCE"]._serialized_end = 676 + _globals["_LIGHTCLIENTATTACKEVIDENCE"]._serialized_start = 679 + _globals["_LIGHTCLIENTATTACKEVIDENCE"]._serialized_end = 1012 + _globals["_EVIDENCELIST"]._serialized_start = 1014 + _globals["_EVIDENCELIST"]._serialized_end = 1090 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/evidence_pb2_grpc.py b/pyinjective/proto/tendermint/types/evidence_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/tendermint/types/evidence_pb2_grpc.py +++ b/pyinjective/proto/tendermint/types/evidence_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/types/params_pb2.py b/pyinjective/proto/tendermint/types/params_pb2.py index 1f8df4df..19d497fb 100644 --- a/pyinjective/proto/tendermint/types/params_pb2.py +++ b/pyinjective/proto/tendermint/types/params_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,32 +17,38 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/types/params.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\"\xb2\x02\n\x0f\x43onsensusParams\x12\x33\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1d.tendermint.types.BlockParamsR\x05\x62lock\x12<\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParamsR\x08\x65vidence\x12?\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParamsR\tvalidator\x12\x39\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParamsR\x07version\x12\x30\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParamsR\x04\x61\x62\x63i\"I\n\x0b\x42lockParams\x12\x1b\n\tmax_bytes\x18\x01 \x01(\x03R\x08maxBytes\x12\x17\n\x07max_gas\x18\x02 \x01(\x03R\x06maxGasJ\x04\x08\x03\x10\x04\"\xa9\x01\n\x0e\x45videnceParams\x12+\n\x12max_age_num_blocks\x18\x01 \x01(\x03R\x0fmaxAgeNumBlocks\x12M\n\x10max_age_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0emaxAgeDuration\x12\x1b\n\tmax_bytes\x18\x03 \x01(\x03R\x08maxBytes\"?\n\x0fValidatorParams\x12\"\n\rpub_key_types\x18\x01 \x03(\tR\x0bpubKeyTypes:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\"+\n\rVersionParams\x12\x10\n\x03\x61pp\x18\x01 \x01(\x04R\x03\x61pp:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\"Z\n\x0cHashedParams\x12&\n\x0f\x62lock_max_bytes\x18\x01 \x01(\x03R\rblockMaxBytes\x12\"\n\rblock_max_gas\x18\x02 \x01(\x03R\x0b\x62lockMaxGas\"O\n\nABCIParams\x12\x41\n\x1dvote_extensions_enable_height\x18\x01 \x01(\x03R\x1avoteExtensionsEnableHeightB\xbd\x01\n\x14\x63om.tendermint.typesB\x0bParamsProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Types\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1dtendermint/types/params.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto"\xb2\x02\n\x0f\x43onsensusParams\x12\x33\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1d.tendermint.types.BlockParamsR\x05\x62lock\x12<\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParamsR\x08\x65vidence\x12?\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParamsR\tvalidator\x12\x39\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParamsR\x07version\x12\x30\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParamsR\x04\x61\x62\x63i"I\n\x0b\x42lockParams\x12\x1b\n\tmax_bytes\x18\x01 \x01(\x03R\x08maxBytes\x12\x17\n\x07max_gas\x18\x02 \x01(\x03R\x06maxGasJ\x04\x08\x03\x10\x04"\xa9\x01\n\x0e\x45videnceParams\x12+\n\x12max_age_num_blocks\x18\x01 \x01(\x03R\x0fmaxAgeNumBlocks\x12M\n\x10max_age_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0emaxAgeDuration\x12\x1b\n\tmax_bytes\x18\x03 \x01(\x03R\x08maxBytes"?\n\x0fValidatorParams\x12"\n\rpub_key_types\x18\x01 \x03(\tR\x0bpubKeyTypes:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01"+\n\rVersionParams\x12\x10\n\x03\x61pp\x18\x01 \x01(\x04R\x03\x61pp:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01"Z\n\x0cHashedParams\x12&\n\x0f\x62lock_max_bytes\x18\x01 \x01(\x03R\rblockMaxBytes\x12"\n\rblock_max_gas\x18\x02 \x01(\x03R\x0b\x62lockMaxGas"O\n\nABCIParams\x12\x41\n\x1dvote_extensions_enable_height\x18\x01 \x01(\x03R\x1avoteExtensionsEnableHeightB\xbd\x01\n\x14\x63om.tendermint.typesB\x0bParamsProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Types\xa8\xe2\x1e\x01\x62\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.params_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.types.params_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\013ParamsProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types\250\342\036\001' - _globals['_EVIDENCEPARAMS'].fields_by_name['max_age_duration']._loaded_options = None - _globals['_EVIDENCEPARAMS'].fields_by_name['max_age_duration']._serialized_options = b'\310\336\037\000\230\337\037\001' - _globals['_VALIDATORPARAMS']._loaded_options = None - _globals['_VALIDATORPARAMS']._serialized_options = b'\270\240\037\001\350\240\037\001' - _globals['_VERSIONPARAMS']._loaded_options = None - _globals['_VERSIONPARAMS']._serialized_options = b'\270\240\037\001\350\240\037\001' - _globals['_CONSENSUSPARAMS']._serialized_start=106 - _globals['_CONSENSUSPARAMS']._serialized_end=412 - _globals['_BLOCKPARAMS']._serialized_start=414 - _globals['_BLOCKPARAMS']._serialized_end=487 - _globals['_EVIDENCEPARAMS']._serialized_start=490 - _globals['_EVIDENCEPARAMS']._serialized_end=659 - _globals['_VALIDATORPARAMS']._serialized_start=661 - _globals['_VALIDATORPARAMS']._serialized_end=724 - _globals['_VERSIONPARAMS']._serialized_start=726 - _globals['_VERSIONPARAMS']._serialized_end=769 - _globals['_HASHEDPARAMS']._serialized_start=771 - _globals['_HASHEDPARAMS']._serialized_end=861 - _globals['_ABCIPARAMS']._serialized_start=863 - _globals['_ABCIPARAMS']._serialized_end=942 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\024com.tendermint.typesB\013ParamsProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types\250\342\036\001" + ) + _globals["_EVIDENCEPARAMS"].fields_by_name["max_age_duration"]._loaded_options = None + _globals["_EVIDENCEPARAMS"].fields_by_name[ + "max_age_duration" + ]._serialized_options = b"\310\336\037\000\230\337\037\001" + _globals["_VALIDATORPARAMS"]._loaded_options = None + _globals["_VALIDATORPARAMS"]._serialized_options = b"\270\240\037\001\350\240\037\001" + _globals["_VERSIONPARAMS"]._loaded_options = None + _globals["_VERSIONPARAMS"]._serialized_options = b"\270\240\037\001\350\240\037\001" + _globals["_CONSENSUSPARAMS"]._serialized_start = 106 + _globals["_CONSENSUSPARAMS"]._serialized_end = 412 + _globals["_BLOCKPARAMS"]._serialized_start = 414 + _globals["_BLOCKPARAMS"]._serialized_end = 487 + _globals["_EVIDENCEPARAMS"]._serialized_start = 490 + _globals["_EVIDENCEPARAMS"]._serialized_end = 659 + _globals["_VALIDATORPARAMS"]._serialized_start = 661 + _globals["_VALIDATORPARAMS"]._serialized_end = 724 + _globals["_VERSIONPARAMS"]._serialized_start = 726 + _globals["_VERSIONPARAMS"]._serialized_end = 769 + _globals["_HASHEDPARAMS"]._serialized_start = 771 + _globals["_HASHEDPARAMS"]._serialized_end = 861 + _globals["_ABCIPARAMS"]._serialized_start = 863 + _globals["_ABCIPARAMS"]._serialized_end = 942 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/params_pb2_grpc.py b/pyinjective/proto/tendermint/types/params_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/tendermint/types/params_pb2_grpc.py +++ b/pyinjective/proto/tendermint/types/params_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/types/types_pb2.py b/pyinjective/proto/tendermint/types/types_pb2.py index 8d569a24..72d94d60 100644 --- a/pyinjective/proto/tendermint/types/types_pb2.py +++ b/pyinjective/proto/tendermint/types/types_pb2.py @@ -7,6 +7,7 @@ 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() @@ -19,90 +20,104 @@ from pyinjective.proto.tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/types.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dtendermint/crypto/proof.proto\x1a\x1etendermint/version/types.proto\x1a tendermint/types/validator.proto\"9\n\rPartSetHeader\x12\x14\n\x05total\x18\x01 \x01(\rR\x05total\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash\"h\n\x04Part\x12\x14\n\x05index\x18\x01 \x01(\rR\x05index\x12\x14\n\x05\x62ytes\x18\x02 \x01(\x0cR\x05\x62ytes\x12\x34\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00R\x05proof\"l\n\x07\x42lockID\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12M\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00R\rpartSetHeader\"\xe6\x04\n\x06Header\x12=\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00R\x07version\x12&\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDR\x07\x63hainId\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x43\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00R\x0blastBlockId\x12(\n\x10last_commit_hash\x18\x06 \x01(\x0cR\x0elastCommitHash\x12\x1b\n\tdata_hash\x18\x07 \x01(\x0cR\x08\x64\x61taHash\x12\'\n\x0fvalidators_hash\x18\x08 \x01(\x0cR\x0evalidatorsHash\x12\x30\n\x14next_validators_hash\x18\t \x01(\x0cR\x12nextValidatorsHash\x12%\n\x0e\x63onsensus_hash\x18\n \x01(\x0cR\rconsensusHash\x12\x19\n\x08\x61pp_hash\x18\x0b \x01(\x0cR\x07\x61ppHash\x12*\n\x11last_results_hash\x18\x0c \x01(\x0cR\x0flastResultsHash\x12#\n\revidence_hash\x18\r \x01(\x0cR\x0c\x65videnceHash\x12)\n\x10proposer_address\x18\x0e \x01(\x0cR\x0fproposerAddress\"\x18\n\x04\x44\x61ta\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\"\xb7\x03\n\x04Vote\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12+\n\x11validator_address\x18\x06 \x01(\x0cR\x10validatorAddress\x12\'\n\x0fvalidator_index\x18\x07 \x01(\x05R\x0evalidatorIndex\x12\x1c\n\tsignature\x18\x08 \x01(\x0cR\tsignature\x12\x1c\n\textension\x18\t \x01(\x0cR\textension\x12/\n\x13\x65xtension_signature\x18\n \x01(\x0cR\x12\x65xtensionSignature\"\xc0\x01\n\x06\x43ommit\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x41\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00R\nsignatures\"\xdd\x01\n\tCommitSig\x12\x41\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlag\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature\"\xe1\x01\n\x0e\x45xtendedCommit\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12Z\n\x13\x65xtended_signatures\x18\x04 \x03(\x0b\x32#.tendermint.types.ExtendedCommitSigB\x04\xc8\xde\x1f\x00R\x12\x65xtendedSignatures\"\xb4\x02\n\x11\x45xtendedCommitSig\x12\x41\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlag\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature\x12\x1c\n\textension\x18\x05 \x01(\x0cR\textension\x12/\n\x13\x65xtension_signature\x18\x06 \x01(\x0cR\x12\x65xtensionSignature\"\xb3\x02\n\x08Proposal\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x05R\x05round\x12\x1b\n\tpol_round\x18\x04 \x01(\x05R\x08polRound\x12\x45\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x42\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x07 \x01(\x0cR\tsignature\"r\n\x0cSignedHeader\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderR\x06header\x12\x30\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.CommitR\x06\x63ommit\"\x96\x01\n\nLightBlock\x12\x43\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderR\x0csignedHeader\x12\x43\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x0cvalidatorSet\"\xc2\x01\n\tBlockMeta\x12\x45\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x1d\n\nblock_size\x18\x02 \x01(\x03R\tblockSize\x12\x36\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00R\x06header\x12\x17\n\x07num_txs\x18\x04 \x01(\x03R\x06numTxs\"j\n\x07TxProof\x12\x1b\n\troot_hash\x18\x01 \x01(\x0cR\x08rootHash\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12.\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofR\x05proof*\xd7\x01\n\rSignedMsgType\x12,\n\x17SIGNED_MSG_TYPE_UNKNOWN\x10\x00\x1a\x0f\x8a\x9d \x0bUnknownType\x12,\n\x17SIGNED_MSG_TYPE_PREVOTE\x10\x01\x1a\x0f\x8a\x9d \x0bPrevoteType\x12\x30\n\x19SIGNED_MSG_TYPE_PRECOMMIT\x10\x02\x1a\x11\x8a\x9d \rPrecommitType\x12.\n\x18SIGNED_MSG_TYPE_PROPOSAL\x10 \x1a\x10\x8a\x9d \x0cProposalType\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\xb8\x01\n\x14\x63om.tendermint.typesB\nTypesProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1ctendermint/types/types.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dtendermint/crypto/proof.proto\x1a\x1etendermint/version/types.proto\x1a tendermint/types/validator.proto"9\n\rPartSetHeader\x12\x14\n\x05total\x18\x01 \x01(\rR\x05total\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash"h\n\x04Part\x12\x14\n\x05index\x18\x01 \x01(\rR\x05index\x12\x14\n\x05\x62ytes\x18\x02 \x01(\x0cR\x05\x62ytes\x12\x34\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00R\x05proof"l\n\x07\x42lockID\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12M\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00R\rpartSetHeader"\xe6\x04\n\x06Header\x12=\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00R\x07version\x12&\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDR\x07\x63hainId\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x43\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00R\x0blastBlockId\x12(\n\x10last_commit_hash\x18\x06 \x01(\x0cR\x0elastCommitHash\x12\x1b\n\tdata_hash\x18\x07 \x01(\x0cR\x08\x64\x61taHash\x12\'\n\x0fvalidators_hash\x18\x08 \x01(\x0cR\x0evalidatorsHash\x12\x30\n\x14next_validators_hash\x18\t \x01(\x0cR\x12nextValidatorsHash\x12%\n\x0e\x63onsensus_hash\x18\n \x01(\x0cR\rconsensusHash\x12\x19\n\x08\x61pp_hash\x18\x0b \x01(\x0cR\x07\x61ppHash\x12*\n\x11last_results_hash\x18\x0c \x01(\x0cR\x0flastResultsHash\x12#\n\revidence_hash\x18\r \x01(\x0cR\x0c\x65videnceHash\x12)\n\x10proposer_address\x18\x0e \x01(\x0cR\x0fproposerAddress"\x18\n\x04\x44\x61ta\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs"\xb7\x03\n\x04Vote\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12+\n\x11validator_address\x18\x06 \x01(\x0cR\x10validatorAddress\x12\'\n\x0fvalidator_index\x18\x07 \x01(\x05R\x0evalidatorIndex\x12\x1c\n\tsignature\x18\x08 \x01(\x0cR\tsignature\x12\x1c\n\textension\x18\t \x01(\x0cR\textension\x12/\n\x13\x65xtension_signature\x18\n \x01(\x0cR\x12\x65xtensionSignature"\xc0\x01\n\x06\x43ommit\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x41\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00R\nsignatures"\xdd\x01\n\tCommitSig\x12\x41\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlag\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature"\xe1\x01\n\x0e\x45xtendedCommit\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12Z\n\x13\x65xtended_signatures\x18\x04 \x03(\x0b\x32#.tendermint.types.ExtendedCommitSigB\x04\xc8\xde\x1f\x00R\x12\x65xtendedSignatures"\xb4\x02\n\x11\x45xtendedCommitSig\x12\x41\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlag\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature\x12\x1c\n\textension\x18\x05 \x01(\x0cR\textension\x12/\n\x13\x65xtension_signature\x18\x06 \x01(\x0cR\x12\x65xtensionSignature"\xb3\x02\n\x08Proposal\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x05R\x05round\x12\x1b\n\tpol_round\x18\x04 \x01(\x05R\x08polRound\x12\x45\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x42\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x07 \x01(\x0cR\tsignature"r\n\x0cSignedHeader\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderR\x06header\x12\x30\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.CommitR\x06\x63ommit"\x96\x01\n\nLightBlock\x12\x43\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderR\x0csignedHeader\x12\x43\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x0cvalidatorSet"\xc2\x01\n\tBlockMeta\x12\x45\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x1d\n\nblock_size\x18\x02 \x01(\x03R\tblockSize\x12\x36\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00R\x06header\x12\x17\n\x07num_txs\x18\x04 \x01(\x03R\x06numTxs"j\n\x07TxProof\x12\x1b\n\troot_hash\x18\x01 \x01(\x0cR\x08rootHash\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12.\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofR\x05proof*\xd7\x01\n\rSignedMsgType\x12,\n\x17SIGNED_MSG_TYPE_UNKNOWN\x10\x00\x1a\x0f\x8a\x9d \x0bUnknownType\x12,\n\x17SIGNED_MSG_TYPE_PREVOTE\x10\x01\x1a\x0f\x8a\x9d \x0bPrevoteType\x12\x30\n\x19SIGNED_MSG_TYPE_PRECOMMIT\x10\x02\x1a\x11\x8a\x9d \rPrecommitType\x12.\n\x18SIGNED_MSG_TYPE_PROPOSAL\x10 \x1a\x10\x8a\x9d \x0cProposalType\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\xb8\x01\n\x14\x63om.tendermint.typesB\nTypesProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.types_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.types.types_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\nTypesProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types' - _globals['_SIGNEDMSGTYPE']._loaded_options = None - _globals['_SIGNEDMSGTYPE']._serialized_options = b'\210\243\036\000\250\244\036\001' - _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._loaded_options = None - _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._serialized_options = b'\212\235 \013UnknownType' - _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PREVOTE"]._loaded_options = None - _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PREVOTE"]._serialized_options = b'\212\235 \013PrevoteType' - _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PRECOMMIT"]._loaded_options = None - _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PRECOMMIT"]._serialized_options = b'\212\235 \rPrecommitType' - _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PROPOSAL"]._loaded_options = None - _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PROPOSAL"]._serialized_options = b'\212\235 \014ProposalType' - _globals['_PART'].fields_by_name['proof']._loaded_options = None - _globals['_PART'].fields_by_name['proof']._serialized_options = b'\310\336\037\000' - _globals['_BLOCKID'].fields_by_name['part_set_header']._loaded_options = None - _globals['_BLOCKID'].fields_by_name['part_set_header']._serialized_options = b'\310\336\037\000' - _globals['_HEADER'].fields_by_name['version']._loaded_options = None - _globals['_HEADER'].fields_by_name['version']._serialized_options = b'\310\336\037\000' - _globals['_HEADER'].fields_by_name['chain_id']._loaded_options = None - _globals['_HEADER'].fields_by_name['chain_id']._serialized_options = b'\342\336\037\007ChainID' - _globals['_HEADER'].fields_by_name['time']._loaded_options = None - _globals['_HEADER'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_HEADER'].fields_by_name['last_block_id']._loaded_options = None - _globals['_HEADER'].fields_by_name['last_block_id']._serialized_options = b'\310\336\037\000' - _globals['_VOTE'].fields_by_name['block_id']._loaded_options = None - _globals['_VOTE'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' - _globals['_VOTE'].fields_by_name['timestamp']._loaded_options = None - _globals['_VOTE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_COMMIT'].fields_by_name['block_id']._loaded_options = None - _globals['_COMMIT'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' - _globals['_COMMIT'].fields_by_name['signatures']._loaded_options = None - _globals['_COMMIT'].fields_by_name['signatures']._serialized_options = b'\310\336\037\000' - _globals['_COMMITSIG'].fields_by_name['timestamp']._loaded_options = None - _globals['_COMMITSIG'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_EXTENDEDCOMMIT'].fields_by_name['block_id']._loaded_options = None - _globals['_EXTENDEDCOMMIT'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' - _globals['_EXTENDEDCOMMIT'].fields_by_name['extended_signatures']._loaded_options = None - _globals['_EXTENDEDCOMMIT'].fields_by_name['extended_signatures']._serialized_options = b'\310\336\037\000' - _globals['_EXTENDEDCOMMITSIG'].fields_by_name['timestamp']._loaded_options = None - _globals['_EXTENDEDCOMMITSIG'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_PROPOSAL'].fields_by_name['block_id']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' - _globals['_PROPOSAL'].fields_by_name['timestamp']._loaded_options = None - _globals['_PROPOSAL'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_BLOCKMETA'].fields_by_name['block_id']._loaded_options = None - _globals['_BLOCKMETA'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' - _globals['_BLOCKMETA'].fields_by_name['header']._loaded_options = None - _globals['_BLOCKMETA'].fields_by_name['header']._serialized_options = b'\310\336\037\000' - _globals['_SIGNEDMSGTYPE']._serialized_start=3405 - _globals['_SIGNEDMSGTYPE']._serialized_end=3620 - _globals['_PARTSETHEADER']._serialized_start=202 - _globals['_PARTSETHEADER']._serialized_end=259 - _globals['_PART']._serialized_start=261 - _globals['_PART']._serialized_end=365 - _globals['_BLOCKID']._serialized_start=367 - _globals['_BLOCKID']._serialized_end=475 - _globals['_HEADER']._serialized_start=478 - _globals['_HEADER']._serialized_end=1092 - _globals['_DATA']._serialized_start=1094 - _globals['_DATA']._serialized_end=1118 - _globals['_VOTE']._serialized_start=1121 - _globals['_VOTE']._serialized_end=1560 - _globals['_COMMIT']._serialized_start=1563 - _globals['_COMMIT']._serialized_end=1755 - _globals['_COMMITSIG']._serialized_start=1758 - _globals['_COMMITSIG']._serialized_end=1979 - _globals['_EXTENDEDCOMMIT']._serialized_start=1982 - _globals['_EXTENDEDCOMMIT']._serialized_end=2207 - _globals['_EXTENDEDCOMMITSIG']._serialized_start=2210 - _globals['_EXTENDEDCOMMITSIG']._serialized_end=2518 - _globals['_PROPOSAL']._serialized_start=2521 - _globals['_PROPOSAL']._serialized_end=2828 - _globals['_SIGNEDHEADER']._serialized_start=2830 - _globals['_SIGNEDHEADER']._serialized_end=2944 - _globals['_LIGHTBLOCK']._serialized_start=2947 - _globals['_LIGHTBLOCK']._serialized_end=3097 - _globals['_BLOCKMETA']._serialized_start=3100 - _globals['_BLOCKMETA']._serialized_end=3294 - _globals['_TXPROOF']._serialized_start=3296 - _globals['_TXPROOF']._serialized_end=3402 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\024com.tendermint.typesB\nTypesProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types" + ) + _globals["_SIGNEDMSGTYPE"]._loaded_options = None + _globals["_SIGNEDMSGTYPE"]._serialized_options = b"\210\243\036\000\250\244\036\001" + _globals["_SIGNEDMSGTYPE"].values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._loaded_options = None + _globals["_SIGNEDMSGTYPE"].values_by_name[ + "SIGNED_MSG_TYPE_UNKNOWN" + ]._serialized_options = b"\212\235 \013UnknownType" + _globals["_SIGNEDMSGTYPE"].values_by_name["SIGNED_MSG_TYPE_PREVOTE"]._loaded_options = None + _globals["_SIGNEDMSGTYPE"].values_by_name[ + "SIGNED_MSG_TYPE_PREVOTE" + ]._serialized_options = b"\212\235 \013PrevoteType" + _globals["_SIGNEDMSGTYPE"].values_by_name["SIGNED_MSG_TYPE_PRECOMMIT"]._loaded_options = None + _globals["_SIGNEDMSGTYPE"].values_by_name[ + "SIGNED_MSG_TYPE_PRECOMMIT" + ]._serialized_options = b"\212\235 \rPrecommitType" + _globals["_SIGNEDMSGTYPE"].values_by_name["SIGNED_MSG_TYPE_PROPOSAL"]._loaded_options = None + _globals["_SIGNEDMSGTYPE"].values_by_name[ + "SIGNED_MSG_TYPE_PROPOSAL" + ]._serialized_options = b"\212\235 \014ProposalType" + _globals["_PART"].fields_by_name["proof"]._loaded_options = None + _globals["_PART"].fields_by_name["proof"]._serialized_options = b"\310\336\037\000" + _globals["_BLOCKID"].fields_by_name["part_set_header"]._loaded_options = None + _globals["_BLOCKID"].fields_by_name["part_set_header"]._serialized_options = b"\310\336\037\000" + _globals["_HEADER"].fields_by_name["version"]._loaded_options = None + _globals["_HEADER"].fields_by_name["version"]._serialized_options = b"\310\336\037\000" + _globals["_HEADER"].fields_by_name["chain_id"]._loaded_options = None + _globals["_HEADER"].fields_by_name["chain_id"]._serialized_options = b"\342\336\037\007ChainID" + _globals["_HEADER"].fields_by_name["time"]._loaded_options = None + _globals["_HEADER"].fields_by_name["time"]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_HEADER"].fields_by_name["last_block_id"]._loaded_options = None + _globals["_HEADER"].fields_by_name["last_block_id"]._serialized_options = b"\310\336\037\000" + _globals["_VOTE"].fields_by_name["block_id"]._loaded_options = None + _globals["_VOTE"].fields_by_name["block_id"]._serialized_options = b"\310\336\037\000\342\336\037\007BlockID" + _globals["_VOTE"].fields_by_name["timestamp"]._loaded_options = None + _globals["_VOTE"].fields_by_name["timestamp"]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_COMMIT"].fields_by_name["block_id"]._loaded_options = None + _globals["_COMMIT"].fields_by_name["block_id"]._serialized_options = b"\310\336\037\000\342\336\037\007BlockID" + _globals["_COMMIT"].fields_by_name["signatures"]._loaded_options = None + _globals["_COMMIT"].fields_by_name["signatures"]._serialized_options = b"\310\336\037\000" + _globals["_COMMITSIG"].fields_by_name["timestamp"]._loaded_options = None + _globals["_COMMITSIG"].fields_by_name["timestamp"]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_EXTENDEDCOMMIT"].fields_by_name["block_id"]._loaded_options = None + _globals["_EXTENDEDCOMMIT"].fields_by_name[ + "block_id" + ]._serialized_options = b"\310\336\037\000\342\336\037\007BlockID" + _globals["_EXTENDEDCOMMIT"].fields_by_name["extended_signatures"]._loaded_options = None + _globals["_EXTENDEDCOMMIT"].fields_by_name["extended_signatures"]._serialized_options = b"\310\336\037\000" + _globals["_EXTENDEDCOMMITSIG"].fields_by_name["timestamp"]._loaded_options = None + _globals["_EXTENDEDCOMMITSIG"].fields_by_name["timestamp"]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_PROPOSAL"].fields_by_name["block_id"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name["block_id"]._serialized_options = b"\310\336\037\000\342\336\037\007BlockID" + _globals["_PROPOSAL"].fields_by_name["timestamp"]._loaded_options = None + _globals["_PROPOSAL"].fields_by_name["timestamp"]._serialized_options = b"\310\336\037\000\220\337\037\001" + _globals["_BLOCKMETA"].fields_by_name["block_id"]._loaded_options = None + _globals["_BLOCKMETA"].fields_by_name["block_id"]._serialized_options = b"\310\336\037\000\342\336\037\007BlockID" + _globals["_BLOCKMETA"].fields_by_name["header"]._loaded_options = None + _globals["_BLOCKMETA"].fields_by_name["header"]._serialized_options = b"\310\336\037\000" + _globals["_SIGNEDMSGTYPE"]._serialized_start = 3405 + _globals["_SIGNEDMSGTYPE"]._serialized_end = 3620 + _globals["_PARTSETHEADER"]._serialized_start = 202 + _globals["_PARTSETHEADER"]._serialized_end = 259 + _globals["_PART"]._serialized_start = 261 + _globals["_PART"]._serialized_end = 365 + _globals["_BLOCKID"]._serialized_start = 367 + _globals["_BLOCKID"]._serialized_end = 475 + _globals["_HEADER"]._serialized_start = 478 + _globals["_HEADER"]._serialized_end = 1092 + _globals["_DATA"]._serialized_start = 1094 + _globals["_DATA"]._serialized_end = 1118 + _globals["_VOTE"]._serialized_start = 1121 + _globals["_VOTE"]._serialized_end = 1560 + _globals["_COMMIT"]._serialized_start = 1563 + _globals["_COMMIT"]._serialized_end = 1755 + _globals["_COMMITSIG"]._serialized_start = 1758 + _globals["_COMMITSIG"]._serialized_end = 1979 + _globals["_EXTENDEDCOMMIT"]._serialized_start = 1982 + _globals["_EXTENDEDCOMMIT"]._serialized_end = 2207 + _globals["_EXTENDEDCOMMITSIG"]._serialized_start = 2210 + _globals["_EXTENDEDCOMMITSIG"]._serialized_end = 2518 + _globals["_PROPOSAL"]._serialized_start = 2521 + _globals["_PROPOSAL"]._serialized_end = 2828 + _globals["_SIGNEDHEADER"]._serialized_start = 2830 + _globals["_SIGNEDHEADER"]._serialized_end = 2944 + _globals["_LIGHTBLOCK"]._serialized_start = 2947 + _globals["_LIGHTBLOCK"]._serialized_end = 3097 + _globals["_BLOCKMETA"]._serialized_start = 3100 + _globals["_BLOCKMETA"]._serialized_end = 3294 + _globals["_TXPROOF"]._serialized_start = 3296 + _globals["_TXPROOF"]._serialized_end = 3402 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/types_pb2_grpc.py b/pyinjective/proto/tendermint/types/types_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/tendermint/types/types_pb2_grpc.py +++ b/pyinjective/proto/tendermint/types/types_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/types/validator_pb2.py b/pyinjective/proto/tendermint/types/validator_pb2.py index 74283b73..d4af0f01 100644 --- a/pyinjective/proto/tendermint/types/validator_pb2.py +++ b/pyinjective/proto/tendermint/types/validator_pb2.py @@ -7,6 +7,7 @@ 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() @@ -16,32 +17,42 @@ from pyinjective.proto.tendermint.crypto import keys_pb2 as tendermint_dot_crypto_dot_keys__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/validator.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto\"\xb2\x01\n\x0cValidatorSet\x12;\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.ValidatorR\nvalidators\x12\x37\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.ValidatorR\x08proposer\x12,\n\x12total_voting_power\x18\x03 \x01(\x03R\x10totalVotingPower\"\xb2\x01\n\tValidator\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0cR\x07\x61\x64\x64ress\x12;\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12!\n\x0cvoting_power\x18\x03 \x01(\x03R\x0bvotingPower\x12+\n\x11proposer_priority\x18\x04 \x01(\x03R\x10proposerPriority\"k\n\x0fSimpleValidator\x12\x35\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyR\x06pubKey\x12!\n\x0cvoting_power\x18\x02 \x01(\x03R\x0bvotingPower*\xd7\x01\n\x0b\x42lockIDFlag\x12\x31\n\x15\x42LOCK_ID_FLAG_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x42lockIDFlagUnknown\x12/\n\x14\x42LOCK_ID_FLAG_ABSENT\x10\x01\x1a\x15\x8a\x9d \x11\x42lockIDFlagAbsent\x12/\n\x14\x42LOCK_ID_FLAG_COMMIT\x10\x02\x1a\x15\x8a\x9d \x11\x42lockIDFlagCommit\x12)\n\x11\x42LOCK_ID_FLAG_NIL\x10\x03\x1a\x12\x8a\x9d \x0e\x42lockIDFlagNil\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\xbc\x01\n\x14\x63om.tendermint.typesB\x0eValidatorProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n tendermint/types/validator.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto"\xb2\x01\n\x0cValidatorSet\x12;\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.ValidatorR\nvalidators\x12\x37\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.ValidatorR\x08proposer\x12,\n\x12total_voting_power\x18\x03 \x01(\x03R\x10totalVotingPower"\xb2\x01\n\tValidator\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0cR\x07\x61\x64\x64ress\x12;\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12!\n\x0cvoting_power\x18\x03 \x01(\x03R\x0bvotingPower\x12+\n\x11proposer_priority\x18\x04 \x01(\x03R\x10proposerPriority"k\n\x0fSimpleValidator\x12\x35\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyR\x06pubKey\x12!\n\x0cvoting_power\x18\x02 \x01(\x03R\x0bvotingPower*\xd7\x01\n\x0b\x42lockIDFlag\x12\x31\n\x15\x42LOCK_ID_FLAG_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x42lockIDFlagUnknown\x12/\n\x14\x42LOCK_ID_FLAG_ABSENT\x10\x01\x1a\x15\x8a\x9d \x11\x42lockIDFlagAbsent\x12/\n\x14\x42LOCK_ID_FLAG_COMMIT\x10\x02\x1a\x15\x8a\x9d \x11\x42lockIDFlagCommit\x12)\n\x11\x42LOCK_ID_FLAG_NIL\x10\x03\x1a\x12\x8a\x9d \x0e\x42lockIDFlagNil\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\xbc\x01\n\x14\x63om.tendermint.typesB\x0eValidatorProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.validator_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.types.validator_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\016ValidatorProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types' - _globals['_BLOCKIDFLAG']._loaded_options = None - _globals['_BLOCKIDFLAG']._serialized_options = b'\210\243\036\000\250\244\036\001' - _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._loaded_options = None - _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._serialized_options = b'\212\235 \022BlockIDFlagUnknown' - _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_ABSENT"]._loaded_options = None - _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_ABSENT"]._serialized_options = b'\212\235 \021BlockIDFlagAbsent' - _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_COMMIT"]._loaded_options = None - _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_COMMIT"]._serialized_options = b'\212\235 \021BlockIDFlagCommit' - _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_NIL"]._loaded_options = None - _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_NIL"]._serialized_options = b'\212\235 \016BlockIDFlagNil' - _globals['_VALIDATOR'].fields_by_name['pub_key']._loaded_options = None - _globals['_VALIDATOR'].fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' - _globals['_BLOCKIDFLAG']._serialized_start=578 - _globals['_BLOCKIDFLAG']._serialized_end=793 - _globals['_VALIDATORSET']._serialized_start=107 - _globals['_VALIDATORSET']._serialized_end=285 - _globals['_VALIDATOR']._serialized_start=288 - _globals['_VALIDATOR']._serialized_end=466 - _globals['_SIMPLEVALIDATOR']._serialized_start=468 - _globals['_SIMPLEVALIDATOR']._serialized_end=575 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\024com.tendermint.typesB\016ValidatorProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types" + ) + _globals["_BLOCKIDFLAG"]._loaded_options = None + _globals["_BLOCKIDFLAG"]._serialized_options = b"\210\243\036\000\250\244\036\001" + _globals["_BLOCKIDFLAG"].values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._loaded_options = None + _globals["_BLOCKIDFLAG"].values_by_name[ + "BLOCK_ID_FLAG_UNKNOWN" + ]._serialized_options = b"\212\235 \022BlockIDFlagUnknown" + _globals["_BLOCKIDFLAG"].values_by_name["BLOCK_ID_FLAG_ABSENT"]._loaded_options = None + _globals["_BLOCKIDFLAG"].values_by_name[ + "BLOCK_ID_FLAG_ABSENT" + ]._serialized_options = b"\212\235 \021BlockIDFlagAbsent" + _globals["_BLOCKIDFLAG"].values_by_name["BLOCK_ID_FLAG_COMMIT"]._loaded_options = None + _globals["_BLOCKIDFLAG"].values_by_name[ + "BLOCK_ID_FLAG_COMMIT" + ]._serialized_options = b"\212\235 \021BlockIDFlagCommit" + _globals["_BLOCKIDFLAG"].values_by_name["BLOCK_ID_FLAG_NIL"]._loaded_options = None + _globals["_BLOCKIDFLAG"].values_by_name["BLOCK_ID_FLAG_NIL"]._serialized_options = b"\212\235 \016BlockIDFlagNil" + _globals["_VALIDATOR"].fields_by_name["pub_key"]._loaded_options = None + _globals["_VALIDATOR"].fields_by_name["pub_key"]._serialized_options = b"\310\336\037\000" + _globals["_BLOCKIDFLAG"]._serialized_start = 578 + _globals["_BLOCKIDFLAG"]._serialized_end = 793 + _globals["_VALIDATORSET"]._serialized_start = 107 + _globals["_VALIDATORSET"]._serialized_end = 285 + _globals["_VALIDATOR"]._serialized_start = 288 + _globals["_VALIDATOR"]._serialized_end = 466 + _globals["_SIMPLEVALIDATOR"]._serialized_start = 468 + _globals["_SIMPLEVALIDATOR"]._serialized_end = 575 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/validator_pb2_grpc.py b/pyinjective/proto/tendermint/types/validator_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/tendermint/types/validator_pb2_grpc.py +++ b/pyinjective/proto/tendermint/types/validator_pb2_grpc.py @@ -1,4 +1,3 @@ # 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/version/types_pb2.py b/pyinjective/proto/tendermint/version/types_pb2.py index e93791f7..7e88ac28 100644 --- a/pyinjective/proto/tendermint/version/types_pb2.py +++ b/pyinjective/proto/tendermint/version/types_pb2.py @@ -7,6 +7,7 @@ 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() @@ -15,18 +16,22 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/version/types.proto\x12\x12tendermint.version\x1a\x14gogoproto/gogo.proto\"=\n\x03\x41pp\x12\x1a\n\x08protocol\x18\x01 \x01(\x04R\x08protocol\x12\x1a\n\x08software\x18\x02 \x01(\tR\x08software\"9\n\tConsensus\x12\x14\n\x05\x62lock\x18\x01 \x01(\x04R\x05\x62lock\x12\x10\n\x03\x61pp\x18\x02 \x01(\x04R\x03\x61pp:\x04\xe8\xa0\x1f\x01\x42\xc4\x01\n\x16\x63om.tendermint.versionB\nTypesProtoP\x01Z5github.com/cometbft/cometbft/proto/tendermint/version\xa2\x02\x03TVX\xaa\x02\x12Tendermint.Version\xca\x02\x12Tendermint\\Version\xe2\x02\x1eTendermint\\Version\\GPBMetadata\xea\x02\x13Tendermint::Versionb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n\x1etendermint/version/types.proto\x12\x12tendermint.version\x1a\x14gogoproto/gogo.proto"=\n\x03\x41pp\x12\x1a\n\x08protocol\x18\x01 \x01(\x04R\x08protocol\x12\x1a\n\x08software\x18\x02 \x01(\tR\x08software"9\n\tConsensus\x12\x14\n\x05\x62lock\x18\x01 \x01(\x04R\x05\x62lock\x12\x10\n\x03\x61pp\x18\x02 \x01(\x04R\x03\x61pp:\x04\xe8\xa0\x1f\x01\x42\xc4\x01\n\x16\x63om.tendermint.versionB\nTypesProtoP\x01Z5github.com/cometbft/cometbft/proto/tendermint/version\xa2\x02\x03TVX\xaa\x02\x12Tendermint.Version\xca\x02\x12Tendermint\\Version\xe2\x02\x1eTendermint\\Version\\GPBMetadata\xea\x02\x13Tendermint::Versionb\x06proto3' +) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.version.types_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.version.types_pb2", _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\026com.tendermint.versionB\nTypesProtoP\001Z5github.com/cometbft/cometbft/proto/tendermint/version\242\002\003TVX\252\002\022Tendermint.Version\312\002\022Tendermint\\Version\342\002\036Tendermint\\Version\\GPBMetadata\352\002\023Tendermint::Version' - _globals['_CONSENSUS']._loaded_options = None - _globals['_CONSENSUS']._serialized_options = b'\350\240\037\001' - _globals['_APP']._serialized_start=76 - _globals['_APP']._serialized_end=137 - _globals['_CONSENSUS']._serialized_start=139 - _globals['_CONSENSUS']._serialized_end=196 + _globals["DESCRIPTOR"]._loaded_options = None + _globals["DESCRIPTOR"]._serialized_options = ( + b"\n\026com.tendermint.versionB\nTypesProtoP\001Z5github.com/cometbft/cometbft/proto/tendermint/version\242\002\003TVX\252\002\022Tendermint.Version\312\002\022Tendermint\\Version\342\002\036Tendermint\\Version\\GPBMetadata\352\002\023Tendermint::Version" + ) + _globals["_CONSENSUS"]._loaded_options = None + _globals["_CONSENSUS"]._serialized_options = b"\350\240\037\001" + _globals["_APP"]._serialized_start = 76 + _globals["_APP"]._serialized_end = 137 + _globals["_CONSENSUS"]._serialized_start = 139 + _globals["_CONSENSUS"]._serialized_end = 196 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/version/types_pb2_grpc.py b/pyinjective/proto/tendermint/version/types_pb2_grpc.py index 2daafffe..8a939394 100644 --- a/pyinjective/proto/tendermint/version/types_pb2_grpc.py +++ b/pyinjective/proto/tendermint/version/types_pb2_grpc.py @@ -1,4 +1,3 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc - From d19b5eec6c8bedbd1dcdf4125969328e682296fc Mon Sep 17 00:00:00 2001 From: enigmarikki Date: Fri, 31 Jan 2025 16:05:00 -0500 Subject: [PATCH 7/7] "chore : fixed build dependencies" --- poetry.lock | 1515 ++++---- pyinjective/core/network.py | 9 - pyinjective/proto/amino/amino_pb2.py | 13 +- pyinjective/proto/amino/amino_pb2_grpc.py | 1 + .../proto/capability/v1/capability_pb2.py | 37 +- .../capability/v1/capability_pb2_grpc.py | 1 + .../proto/capability/v1/genesis_pb2.py | 29 +- .../proto/capability/v1/genesis_pb2_grpc.py | 1 + .../cosmos/app/runtime/v1alpha1/module_pb2.py | 27 +- .../app/runtime/v1alpha1/module_pb2_grpc.py | 1 + .../proto/cosmos/app/v1alpha1/config_pb2.py | 25 +- .../cosmos/app/v1alpha1/config_pb2_grpc.py | 1 + .../proto/cosmos/app/v1alpha1/module_pb2.py | 25 +- .../cosmos/app/v1alpha1/module_pb2_grpc.py | 1 + .../proto/cosmos/app/v1alpha1/query_pb2.py | 25 +- .../cosmos/app/v1alpha1/query_pb2_grpc.py | 69 +- .../proto/cosmos/auth/module/v1/module_pb2.py | 25 +- .../cosmos/auth/module/v1/module_pb2_grpc.py | 1 + .../proto/cosmos/auth/v1beta1/auth_pb2.py | 75 +- .../cosmos/auth/v1beta1/auth_pb2_grpc.py | 1 + .../proto/cosmos/auth/v1beta1/genesis_pb2.py | 21 +- .../cosmos/auth/v1beta1/genesis_pb2_grpc.py | 1 + .../proto/cosmos/auth/v1beta1/query_pb2.py | 215 +- .../cosmos/auth/v1beta1/query_pb2_grpc.py | 525 ++- .../proto/cosmos/auth/v1beta1/tx_pb2.py | 43 +- .../proto/cosmos/auth/v1beta1/tx_pb2_grpc.py | 66 +- .../cosmos/authz/module/v1/module_pb2.py | 21 +- .../cosmos/authz/module/v1/module_pb2_grpc.py | 1 + .../proto/cosmos/authz/v1beta1/authz_pb2.py | 63 +- .../cosmos/authz/v1beta1/authz_pb2_grpc.py | 1 + .../proto/cosmos/authz/v1beta1/event_pb2.py | 37 +- .../cosmos/authz/v1beta1/event_pb2_grpc.py | 1 + .../proto/cosmos/authz/v1beta1/genesis_pb2.py | 21 +- .../cosmos/authz/v1beta1/genesis_pb2_grpc.py | 1 + .../proto/cosmos/authz/v1beta1/query_pb2.py | 83 +- .../cosmos/authz/v1beta1/query_pb2_grpc.py | 169 +- .../proto/cosmos/authz/v1beta1/tx_pb2.py | 101 +- .../proto/cosmos/authz/v1beta1/tx_pb2_grpc.py | 219 +- .../proto/cosmos/autocli/v1/options_pb2.py | 51 +- .../cosmos/autocli/v1/options_pb2_grpc.py | 1 + .../proto/cosmos/autocli/v1/query_pb2.py | 37 +- .../proto/cosmos/autocli/v1/query_pb2_grpc.py | 60 +- .../proto/cosmos/bank/module/v1/module_pb2.py | 21 +- .../cosmos/bank/module/v1/module_pb2_grpc.py | 1 + .../proto/cosmos/bank/v1beta1/authz_pb2.py | 35 +- .../cosmos/bank/v1beta1/authz_pb2_grpc.py | 1 + .../proto/cosmos/bank/v1beta1/bank_pb2.py | 101 +- .../cosmos/bank/v1beta1/bank_pb2_grpc.py | 1 + .../proto/cosmos/bank/v1beta1/events_pb2.py | 29 +- .../cosmos/bank/v1beta1/events_pb2_grpc.py | 1 + .../proto/cosmos/bank/v1beta1/genesis_pb2.py | 59 +- .../cosmos/bank/v1beta1/genesis_pb2_grpc.py | 1 + .../proto/cosmos/bank/v1beta1/query_pb2.py | 313 +- .../cosmos/bank/v1beta1/query_pb2_grpc.py | 678 ++-- .../proto/cosmos/bank/v1beta1/tx_pb2.py | 113 +- .../proto/cosmos/bank/v1beta1/tx_pb2_grpc.py | 222 +- .../cosmos/base/abci/v1beta1/abci_pb2.py | 133 +- .../cosmos/base/abci/v1beta1/abci_pb2_grpc.py | 1 + .../cosmos/base/node/v1beta1/query_pb2.py | 49 +- .../base/node/v1beta1/query_pb2_grpc.py | 122 +- .../base/query/v1beta1/pagination_pb2.py | 23 +- .../base/query/v1beta1/pagination_pb2_grpc.py | 1 + .../base/reflection/v1beta1/reflection_pb2.py | 47 +- .../reflection/v1beta1/reflection_pb2_grpc.py | 120 +- .../reflection/v2alpha1/reflection_pb2.py | 157 +- .../v2alpha1/reflection_pb2_grpc.py | 335 +- .../base/tendermint/v1beta1/query_pb2.py | 151 +- .../base/tendermint/v1beta1/query_pb2_grpc.py | 388 +- .../base/tendermint/v1beta1/types_pb2.py | 51 +- .../base/tendermint/v1beta1/types_pb2_grpc.py | 1 + .../proto/cosmos/base/v1beta1/coin_pb2.py | 63 +- .../cosmos/base/v1beta1/coin_pb2_grpc.py | 1 + .../cosmos/circuit/module/v1/module_pb2.py | 21 +- .../circuit/module/v1/module_pb2_grpc.py | 1 + .../proto/cosmos/circuit/v1/query_pb2.py | 63 +- .../proto/cosmos/circuit/v1/query_pb2_grpc.py | 175 +- pyinjective/proto/cosmos/circuit/v1/tx_pb2.py | 57 +- .../proto/cosmos/circuit/v1/tx_pb2_grpc.py | 169 +- .../proto/cosmos/circuit/v1/types_pb2.py | 31 +- .../proto/cosmos/circuit/v1/types_pb2_grpc.py | 1 + .../cosmos/consensus/module/v1/module_pb2.py | 21 +- .../consensus/module/v1/module_pb2_grpc.py | 1 + .../proto/cosmos/consensus/v1/query_pb2.py | 31 +- .../cosmos/consensus/v1/query_pb2_grpc.py | 69 +- .../proto/cosmos/consensus/v1/tx_pb2.py | 39 +- .../proto/cosmos/consensus/v1/tx_pb2_grpc.py | 66 +- .../cosmos/crisis/module/v1/module_pb2.py | 21 +- .../crisis/module/v1/module_pb2_grpc.py | 1 + .../cosmos/crisis/v1beta1/genesis_pb2.py | 21 +- .../cosmos/crisis/v1beta1/genesis_pb2_grpc.py | 1 + .../proto/cosmos/crisis/v1beta1/tx_pb2.py | 63 +- .../cosmos/crisis/v1beta1/tx_pb2_grpc.py | 119 +- .../proto/cosmos/crypto/ed25519/keys_pb2.py | 39 +- .../cosmos/crypto/ed25519/keys_pb2_grpc.py | 1 + .../proto/cosmos/crypto/hd/v1/hd_pb2.py | 21 +- .../proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py | 1 + .../cosmos/crypto/keyring/v1/record_pb2.py | 33 +- .../crypto/keyring/v1/record_pb2_grpc.py | 1 + .../proto/cosmos/crypto/multisig/keys_pb2.py | 29 +- .../cosmos/crypto/multisig/keys_pb2_grpc.py | 1 + .../crypto/multisig/v1beta1/multisig_pb2.py | 29 +- .../multisig/v1beta1/multisig_pb2_grpc.py | 1 + .../proto/cosmos/crypto/secp256k1/keys_pb2.py | 31 +- .../cosmos/crypto/secp256k1/keys_pb2_grpc.py | 1 + .../proto/cosmos/crypto/secp256r1/keys_pb2.py | 29 +- .../cosmos/crypto/secp256r1/keys_pb2_grpc.py | 1 + .../distribution/module/v1/module_pb2.py | 21 +- .../distribution/module/v1/module_pb2_grpc.py | 1 + .../distribution/v1beta1/distribution_pb2.py | 179 +- .../v1beta1/distribution_pb2_grpc.py | 1 + .../distribution/v1beta1/genesis_pb2.py | 227 +- .../distribution/v1beta1/genesis_pb2_grpc.py | 1 + .../cosmos/distribution/v1beta1/query_pb2.py | 329 +- .../distribution/v1beta1/query_pb2_grpc.py | 547 ++- .../cosmos/distribution/v1beta1/tx_pb2.py | 215 +- .../distribution/v1beta1/tx_pb2_grpc.py | 366 +- .../cosmos/evidence/module/v1/module_pb2.py | 21 +- .../evidence/module/v1/module_pb2_grpc.py | 1 + .../cosmos/evidence/v1beta1/evidence_pb2.py | 35 +- .../evidence/v1beta1/evidence_pb2_grpc.py | 1 + .../cosmos/evidence/v1beta1/genesis_pb2.py | 17 +- .../evidence/v1beta1/genesis_pb2_grpc.py | 1 + .../cosmos/evidence/v1beta1/query_pb2.py | 53 +- .../cosmos/evidence/v1beta1/query_pb2_grpc.py | 122 +- .../proto/cosmos/evidence/v1beta1/tx_pb2.py | 47 +- .../cosmos/evidence/v1beta1/tx_pb2_grpc.py | 66 +- .../cosmos/feegrant/module/v1/module_pb2.py | 21 +- .../feegrant/module/v1/module_pb2_grpc.py | 1 + .../cosmos/feegrant/v1beta1/feegrant_pb2.py | 105 +- .../feegrant/v1beta1/feegrant_pb2_grpc.py | 1 + .../cosmos/feegrant/v1beta1/genesis_pb2.py | 21 +- .../feegrant/v1beta1/genesis_pb2_grpc.py | 1 + .../cosmos/feegrant/v1beta1/query_pb2.py | 87 +- .../cosmos/feegrant/v1beta1/query_pb2_grpc.py | 172 +- .../proto/cosmos/feegrant/v1beta1/tx_pb2.py | 87 +- .../cosmos/feegrant/v1beta1/tx_pb2_grpc.py | 166 +- .../cosmos/genutil/module/v1/module_pb2.py | 21 +- .../genutil/module/v1/module_pb2_grpc.py | 1 + .../cosmos/genutil/v1beta1/genesis_pb2.py | 25 +- .../genutil/v1beta1/genesis_pb2_grpc.py | 1 + .../proto/cosmos/gov/module/v1/module_pb2.py | 21 +- .../cosmos/gov/module/v1/module_pb2_grpc.py | 1 + .../proto/cosmos/gov/v1/genesis_pb2.py | 29 +- .../proto/cosmos/gov/v1/genesis_pb2_grpc.py | 1 + pyinjective/proto/cosmos/gov/v1/gov_pb2.py | 209 +- .../proto/cosmos/gov/v1/gov_pb2_grpc.py | 1 + pyinjective/proto/cosmos/gov/v1/query_pb2.py | 181 +- .../proto/cosmos/gov/v1/query_pb2_grpc.py | 493 ++- pyinjective/proto/cosmos/gov/v1/tx_pb2.py | 191 +- .../proto/cosmos/gov/v1/tx_pb2_grpc.py | 378 +- .../proto/cosmos/gov/v1beta1/genesis_pb2.py | 49 +- .../cosmos/gov/v1beta1/genesis_pb2_grpc.py | 1 + .../proto/cosmos/gov/v1beta1/gov_pb2.py | 283 +- .../proto/cosmos/gov/v1beta1/gov_pb2_grpc.py | 1 + .../proto/cosmos/gov/v1beta1/query_pb2.py | 225 +- .../cosmos/gov/v1beta1/query_pb2_grpc.py | 440 ++- .../proto/cosmos/gov/v1beta1/tx_pb2.py | 133 +- .../proto/cosmos/gov/v1beta1/tx_pb2_grpc.py | 225 +- .../cosmos/group/module/v1/module_pb2.py | 27 +- .../cosmos/group/module/v1/module_pb2_grpc.py | 1 + .../proto/cosmos/group/v1/events_pb2.py | 69 +- .../proto/cosmos/group/v1/events_pb2_grpc.py | 1 + .../proto/cosmos/group/v1/genesis_pb2.py | 17 +- .../proto/cosmos/group/v1/genesis_pb2_grpc.py | 1 + .../proto/cosmos/group/v1/query_pb2.py | 265 +- .../proto/cosmos/group/v1/query_pb2_grpc.py | 752 ++-- pyinjective/proto/cosmos/group/v1/tx_pb2.py | 365 +- .../proto/cosmos/group/v1/tx_pb2_grpc.py | 758 ++-- .../proto/cosmos/group/v1/types_pb2.py | 199 +- .../proto/cosmos/group/v1/types_pb2_grpc.py | 1 + .../proto/cosmos/ics23/v1/proofs_pb2.py | 75 +- .../proto/cosmos/ics23/v1/proofs_pb2_grpc.py | 1 + .../proto/cosmos/mint/module/v1/module_pb2.py | 21 +- .../cosmos/mint/module/v1/module_pb2_grpc.py | 1 + .../proto/cosmos/mint/v1beta1/genesis_pb2.py | 25 +- .../cosmos/mint/v1beta1/genesis_pb2_grpc.py | 1 + .../proto/cosmos/mint/v1beta1/mint_pb2.py | 69 +- .../cosmos/mint/v1beta1/mint_pb2_grpc.py | 1 + .../proto/cosmos/mint/v1beta1/query_pb2.py | 79 +- .../cosmos/mint/v1beta1/query_pb2_grpc.py | 175 +- .../proto/cosmos/mint/v1beta1/tx_pb2.py | 43 +- .../proto/cosmos/mint/v1beta1/tx_pb2_grpc.py | 66 +- .../cosmos/msg/textual/v1/textual_pb2.py | 13 +- .../cosmos/msg/textual/v1/textual_pb2_grpc.py | 1 + pyinjective/proto/cosmos/msg/v1/msg_pb2.py | 13 +- .../proto/cosmos/msg/v1/msg_pb2_grpc.py | 1 + .../proto/cosmos/nft/module/v1/module_pb2.py | 21 +- .../cosmos/nft/module/v1/module_pb2_grpc.py | 1 + .../proto/cosmos/nft/v1beta1/event_pb2.py | 27 +- .../cosmos/nft/v1beta1/event_pb2_grpc.py | 1 + .../proto/cosmos/nft/v1beta1/genesis_pb2.py | 21 +- .../cosmos/nft/v1beta1/genesis_pb2_grpc.py | 1 + .../proto/cosmos/nft/v1beta1/nft_pb2.py | 21 +- .../proto/cosmos/nft/v1beta1/nft_pb2_grpc.py | 1 + .../proto/cosmos/nft/v1beta1/query_pb2.py | 119 +- .../cosmos/nft/v1beta1/query_pb2_grpc.py | 384 +- .../proto/cosmos/nft/v1beta1/tx_pb2.py | 41 +- .../proto/cosmos/nft/v1beta1/tx_pb2_grpc.py | 69 +- .../cosmos/orm/module/v1alpha1/module_pb2.py | 21 +- .../orm/module/v1alpha1/module_pb2_grpc.py | 1 + .../cosmos/orm/query/v1alpha1/query_pb2.py | 49 +- .../orm/query/v1alpha1/query_pb2_grpc.py | 126 +- pyinjective/proto/cosmos/orm/v1/orm_pb2.py | 29 +- .../proto/cosmos/orm/v1/orm_pb2_grpc.py | 1 + .../proto/cosmos/orm/v1alpha1/schema_pb2.py | 25 +- .../cosmos/orm/v1alpha1/schema_pb2_grpc.py | 1 + .../cosmos/params/module/v1/module_pb2.py | 21 +- .../params/module/v1/module_pb2_grpc.py | 1 + .../proto/cosmos/params/v1beta1/params_pb2.py | 33 +- .../cosmos/params/v1beta1/params_pb2_grpc.py | 1 + .../proto/cosmos/params/v1beta1/query_pb2.py | 53 +- .../cosmos/params/v1beta1/query_pb2_grpc.py | 116 +- .../proto/cosmos/query/v1/query_pb2.py | 13 +- .../proto/cosmos/query/v1/query_pb2_grpc.py | 1 + .../cosmos/reflection/v1/reflection_pb2.py | 29 +- .../reflection/v1/reflection_pb2_grpc.py | 57 +- .../cosmos/slashing/module/v1/module_pb2.py | 21 +- .../slashing/module/v1/module_pb2_grpc.py | 1 + .../cosmos/slashing/v1beta1/genesis_pb2.py | 65 +- .../slashing/v1beta1/genesis_pb2_grpc.py | 1 + .../cosmos/slashing/v1beta1/query_pb2.py | 85 +- .../cosmos/slashing/v1beta1/query_pb2_grpc.py | 175 +- .../cosmos/slashing/v1beta1/slashing_pb2.py | 71 +- .../slashing/v1beta1/slashing_pb2_grpc.py | 1 + .../proto/cosmos/slashing/v1beta1/tx_pb2.py | 65 +- .../cosmos/slashing/v1beta1/tx_pb2_grpc.py | 116 +- .../cosmos/staking/module/v1/module_pb2.py | 21 +- .../staking/module/v1/module_pb2_grpc.py | 1 + .../proto/cosmos/staking/v1beta1/authz_pb2.py | 55 +- .../cosmos/staking/v1beta1/authz_pb2_grpc.py | 1 + .../cosmos/staking/v1beta1/genesis_pb2.py | 65 +- .../staking/v1beta1/genesis_pb2_grpc.py | 1 + .../proto/cosmos/staking/v1beta1/query_pb2.py | 415 +-- .../cosmos/staking/v1beta1/query_pb2_grpc.py | 731 ++-- .../cosmos/staking/v1beta1/staking_pb2.py | 469 +-- .../staking/v1beta1/staking_pb2_grpc.py | 1 + .../proto/cosmos/staking/v1beta1/tx_pb2.py | 281 +- .../cosmos/staking/v1beta1/tx_pb2_grpc.py | 372 +- .../store/internal/kv/v1beta1/kv_pb2.py | 25 +- .../store/internal/kv/v1beta1/kv_pb2_grpc.py | 1 + .../cosmos/store/snapshots/v1/snapshot_pb2.py | 49 +- .../store/snapshots/v1/snapshot_pb2_grpc.py | 1 + .../cosmos/store/streaming/abci/grpc_pb2.py | 33 +- .../store/streaming/abci/grpc_pb2_grpc.py | 126 +- .../cosmos/store/v1beta1/commit_info_pb2.py | 41 +- .../store/v1beta1/commit_info_pb2_grpc.py | 1 + .../cosmos/store/v1beta1/listening_pb2.py | 21 +- .../store/v1beta1/listening_pb2_grpc.py | 1 + .../proto/cosmos/tx/config/v1/config_pb2.py | 21 +- .../cosmos/tx/config/v1/config_pb2_grpc.py | 1 + .../cosmos/tx/signing/v1beta1/signing_pb2.py | 41 +- .../tx/signing/v1beta1/signing_pb2_grpc.py | 1 + .../proto/cosmos/tx/v1beta1/service_pb2.py | 175 +- .../cosmos/tx/v1beta1/service_pb2_grpc.py | 478 ++- pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py | 113 +- .../proto/cosmos/tx/v1beta1/tx_pb2_grpc.py | 1 + .../cosmos/upgrade/module/v1/module_pb2.py | 21 +- .../upgrade/module/v1/module_pb2_grpc.py | 1 + .../proto/cosmos/upgrade/v1beta1/query_pb2.py | 97 +- .../cosmos/upgrade/v1beta1/query_pb2_grpc.py | 272 +- .../proto/cosmos/upgrade/v1beta1/tx_pb2.py | 63 +- .../cosmos/upgrade/v1beta1/tx_pb2_grpc.py | 116 +- .../cosmos/upgrade/v1beta1/upgrade_pb2.py | 65 +- .../upgrade/v1beta1/upgrade_pb2_grpc.py | 1 + .../cosmos/vesting/module/v1/module_pb2.py | 21 +- .../vesting/module/v1/module_pb2_grpc.py | 1 + .../proto/cosmos/vesting/v1beta1/tx_pb2.py | 105 +- .../cosmos/vesting/v1beta1/tx_pb2_grpc.py | 166 +- .../cosmos/vesting/v1beta1/vesting_pb2.py | 119 +- .../vesting/v1beta1/vesting_pb2_grpc.py | 1 + pyinjective/proto/cosmos_proto/cosmos_pb2.py | 25 +- .../proto/cosmos_proto/cosmos_pb2_grpc.py | 1 + .../proto/cosmwasm/wasm/v1/authz_pb2.py | 163 +- .../proto/cosmwasm/wasm/v1/authz_pb2_grpc.py | 1 + .../proto/cosmwasm/wasm/v1/genesis_pb2.py | 81 +- .../cosmwasm/wasm/v1/genesis_pb2_grpc.py | 1 + pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py | 47 +- .../proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py | 1 + .../cosmwasm/wasm/v1/proposal_legacy_pb2.py | 337 +- .../wasm/v1/proposal_legacy_pb2_grpc.py | 1 + .../proto/cosmwasm/wasm/v1/query_pb2.py | 345 +- .../proto/cosmwasm/wasm/v1/query_pb2_grpc.py | 652 ++-- pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py | 535 ++- .../proto/cosmwasm/wasm/v1/tx_pb2_grpc.py | 884 +++-- .../proto/cosmwasm/wasm/v1/types_pb2.py | 247 +- .../proto/cosmwasm/wasm/v1/types_pb2_grpc.py | 1 + pyinjective/proto/gogoproto/gogo_pb2.py | 13 +- pyinjective/proto/gogoproto/gogo_pb2_grpc.py | 1 + .../proto/google/api/annotations_pb2.py | 15 +- .../proto/google/api/annotations_pb2_grpc.py | 1 + pyinjective/proto/google/api/client_pb2.py | 119 +- .../proto/google/api/client_pb2_grpc.py | 1 + .../google/api/expr/v1alpha1/checked_pb2.py | 85 +- .../api/expr/v1alpha1/checked_pb2_grpc.py | 1 + .../google/api/expr/v1alpha1/eval_pb2.py | 35 +- .../google/api/expr/v1alpha1/eval_pb2_grpc.py | 1 + .../google/api/expr/v1alpha1/explain_pb2.py | 27 +- .../api/expr/v1alpha1/explain_pb2_grpc.py | 1 + .../google/api/expr/v1alpha1/syntax_pb2.py | 97 +- .../api/expr/v1alpha1/syntax_pb2_grpc.py | 1 + .../google/api/expr/v1alpha1/value_pb2.py | 33 +- .../api/expr/v1alpha1/value_pb2_grpc.py | 1 + .../proto/google/api/expr/v1beta1/decl_pb2.py | 31 +- .../google/api/expr/v1beta1/decl_pb2_grpc.py | 1 + .../proto/google/api/expr/v1beta1/eval_pb2.py | 39 +- .../google/api/expr/v1beta1/eval_pb2_grpc.py | 1 + .../proto/google/api/expr/v1beta1/expr_pb2.py | 55 +- .../google/api/expr/v1beta1/expr_pb2_grpc.py | 1 + .../google/api/expr/v1beta1/source_pb2.py | 31 +- .../api/expr/v1beta1/source_pb2_grpc.py | 1 + .../google/api/expr/v1beta1/value_pb2.py | 33 +- .../google/api/expr/v1beta1/value_pb2_grpc.py | 1 + .../proto/google/api/field_behavior_pb2.py | 21 +- .../google/api/field_behavior_pb2_grpc.py | 1 + .../proto/google/api/field_info_pb2.py | 25 +- .../proto/google/api/field_info_pb2_grpc.py | 1 + pyinjective/proto/google/api/http_pb2.py | 27 +- pyinjective/proto/google/api/http_pb2_grpc.py | 1 + pyinjective/proto/google/api/httpbody_pb2.py | 17 +- .../proto/google/api/httpbody_pb2_grpc.py | 1 + .../proto/google/api/launch_stage_pb2.py | 19 +- .../proto/google/api/launch_stage_pb2_grpc.py | 1 + pyinjective/proto/google/api/resource_pb2.py | 29 +- .../proto/google/api/resource_pb2_grpc.py | 1 + .../proto/google/api/visibility_pb2.py | 21 +- .../proto/google/api/visibility_pb2_grpc.py | 1 + .../proto/google/bytestream/bytestream_pb2.py | 43 +- .../google/bytestream/bytestream_pb2_grpc.py | 157 +- .../proto/google/geo/type/viewport_pb2.py | 17 +- .../google/geo/type/viewport_pb2_grpc.py | 1 + .../google/longrunning/operations_pb2.py | 81 +- .../google/longrunning/operations_pb2_grpc.py | 257 +- pyinjective/proto/google/rpc/code_pb2.py | 19 +- pyinjective/proto/google/rpc/code_pb2_grpc.py | 1 + .../rpc/context/attribute_context_pb2.py | 81 +- .../rpc/context/attribute_context_pb2_grpc.py | 1 + .../proto/google/rpc/error_details_pb2.py | 77 +- .../google/rpc/error_details_pb2_grpc.py | 1 + pyinjective/proto/google/rpc/status_pb2.py | 17 +- .../proto/google/rpc/status_pb2_grpc.py | 1 + .../proto/google/type/calendar_period_pb2.py | 19 +- .../google/type/calendar_period_pb2_grpc.py | 1 + pyinjective/proto/google/type/color_pb2.py | 17 +- .../proto/google/type/color_pb2_grpc.py | 1 + pyinjective/proto/google/type/date_pb2.py | 19 +- .../proto/google/type/date_pb2_grpc.py | 1 + pyinjective/proto/google/type/datetime_pb2.py | 21 +- .../proto/google/type/datetime_pb2_grpc.py | 1 + .../proto/google/type/dayofweek_pb2.py | 19 +- .../proto/google/type/dayofweek_pb2_grpc.py | 1 + pyinjective/proto/google/type/decimal_pb2.py | 19 +- .../proto/google/type/decimal_pb2_grpc.py | 1 + pyinjective/proto/google/type/expr_pb2.py | 19 +- .../proto/google/type/expr_pb2_grpc.py | 1 + pyinjective/proto/google/type/fraction_pb2.py | 19 +- .../proto/google/type/fraction_pb2_grpc.py | 1 + pyinjective/proto/google/type/interval_pb2.py | 17 +- .../proto/google/type/interval_pb2_grpc.py | 1 + pyinjective/proto/google/type/latlng_pb2.py | 19 +- .../proto/google/type/latlng_pb2_grpc.py | 1 + .../proto/google/type/localized_text_pb2.py | 19 +- .../google/type/localized_text_pb2_grpc.py | 1 + pyinjective/proto/google/type/money_pb2.py | 19 +- .../proto/google/type/money_pb2_grpc.py | 1 + pyinjective/proto/google/type/month_pb2.py | 19 +- .../proto/google/type/month_pb2_grpc.py | 1 + .../proto/google/type/phone_number_pb2.py | 23 +- .../google/type/phone_number_pb2_grpc.py | 1 + .../proto/google/type/postal_address_pb2.py | 19 +- .../google/type/postal_address_pb2_grpc.py | 1 + .../proto/google/type/quaternion_pb2.py | 19 +- .../proto/google/type/quaternion_pb2_grpc.py | 1 + .../proto/google/type/timeofday_pb2.py | 19 +- .../proto/google/type/timeofday_pb2_grpc.py | 1 + .../proto/ibc/applications/fee/v1/ack_pb2.py | 19 +- .../ibc/applications/fee/v1/ack_pb2_grpc.py | 1 + .../proto/ibc/applications/fee/v1/fee_pb2.py | 73 +- .../ibc/applications/fee/v1/fee_pb2_grpc.py | 1 + .../ibc/applications/fee/v1/genesis_pb2.py | 57 +- .../applications/fee/v1/genesis_pb2_grpc.py | 1 + .../ibc/applications/fee/v1/metadata_pb2.py | 19 +- .../applications/fee/v1/metadata_pb2_grpc.py | 1 + .../ibc/applications/fee/v1/query_pb2.py | 223 +- .../ibc/applications/fee/v1/query_pb2_grpc.py | 546 ++- .../proto/ibc/applications/fee/v1/tx_pb2.py | 93 +- .../ibc/applications/fee/v1/tx_pb2_grpc.py | 216 +- .../controller/v1/controller_pb2.py | 21 +- .../controller/v1/controller_pb2_grpc.py | 1 + .../controller/v1/query_pb2.py | 51 +- .../controller/v1/query_pb2_grpc.py | 128 +- .../controller/v1/tx_pb2.py | 83 +- .../controller/v1/tx_pb2_grpc.py | 179 +- .../genesis/v1/genesis_pb2.py | 75 +- .../genesis/v1/genesis_pb2_grpc.py | 1 + .../interchain_accounts/host/v1/host_pb2.py | 23 +- .../host/v1/host_pb2_grpc.py | 1 + .../interchain_accounts/host/v1/query_pb2.py | 35 +- .../host/v1/query_pb2_grpc.py | 73 +- .../interchain_accounts/host/v1/tx_pb2.py | 53 +- .../host/v1/tx_pb2_grpc.py | 126 +- .../interchain_accounts/v1/account_pb2.py | 27 +- .../v1/account_pb2_grpc.py | 1 + .../interchain_accounts/v1/metadata_pb2.py | 19 +- .../v1/metadata_pb2_grpc.py | 1 + .../interchain_accounts/v1/packet_pb2.py | 37 +- .../interchain_accounts/v1/packet_pb2_grpc.py | 1 + .../ibc/applications/transfer/v1/authz_pb2.py | 35 +- .../transfer/v1/authz_pb2_grpc.py | 1 + .../applications/transfer/v1/genesis_pb2.py | 37 +- .../transfer/v1/genesis_pb2_grpc.py | 1 + .../ibc/applications/transfer/v1/query_pb2.py | 121 +- .../transfer/v1/query_pb2_grpc.py | 338 +- .../applications/transfer/v1/transfer_pb2.py | 23 +- .../transfer/v1/transfer_pb2_grpc.py | 1 + .../ibc/applications/transfer/v1/tx_pb2.py | 67 +- .../applications/transfer/v1/tx_pb2_grpc.py | 126 +- .../applications/transfer/v2/packet_pb2.py | 19 +- .../transfer/v2/packet_pb2_grpc.py | 1 + .../proto/ibc/core/channel/v1/channel_pb2.py | 151 +- .../ibc/core/channel/v1/channel_pb2_grpc.py | 1 + .../proto/ibc/core/channel/v1/genesis_pb2.py | 55 +- .../ibc/core/channel/v1/genesis_pb2_grpc.py | 1 + .../proto/ibc/core/channel/v1/query_pb2.py | 355 +- .../ibc/core/channel/v1/query_pb2_grpc.py | 893 +++-- .../proto/ibc/core/channel/v1/tx_pb2.py | 447 ++- .../proto/ibc/core/channel/v1/tx_pb2_grpc.py | 1020 +++-- .../proto/ibc/core/channel/v1/upgrade_pb2.py | 45 +- .../ibc/core/channel/v1/upgrade_pb2_grpc.py | 1 + .../proto/ibc/core/client/v1/client_pb2.py | 87 +- .../ibc/core/client/v1/client_pb2_grpc.py | 1 + .../proto/ibc/core/client/v1/genesis_pb2.py | 57 +- .../ibc/core/client/v1/genesis_pb2_grpc.py | 1 + .../proto/ibc/core/client/v1/query_pb2.py | 199 +- .../ibc/core/client/v1/query_pb2_grpc.py | 540 ++- .../proto/ibc/core/client/v1/tx_pb2.py | 113 +- .../proto/ibc/core/client/v1/tx_pb2_grpc.py | 387 +- .../ibc/core/commitment/v1/commitment_pb2.py | 33 +- .../core/commitment/v1/commitment_pb2_grpc.py | 1 + .../ibc/core/connection/v1/connection_pb2.py | 99 +- .../core/connection/v1/connection_pb2_grpc.py | 1 + .../ibc/core/connection/v1/genesis_pb2.py | 33 +- .../core/connection/v1/genesis_pb2_grpc.py | 1 + .../proto/ibc/core/connection/v1/query_pb2.py | 135 +- .../ibc/core/connection/v1/query_pb2_grpc.py | 325 +- .../proto/ibc/core/connection/v1/tx_pb2.py | 121 +- .../ibc/core/connection/v1/tx_pb2_grpc.py | 275 +- .../proto/ibc/core/types/v1/genesis_pb2.py | 29 +- .../ibc/core/types/v1/genesis_pb2_grpc.py | 1 + .../localhost/v2/localhost_pb2.py | 25 +- .../localhost/v2/localhost_pb2_grpc.py | 1 + .../solomachine/v2/solomachine_pb2.py | 187 +- .../solomachine/v2/solomachine_pb2_grpc.py | 1 + .../solomachine/v3/solomachine_pb2.py | 77 +- .../solomachine/v3/solomachine_pb2_grpc.py | 1 + .../tendermint/v1/tendermint_pb2.py | 117 +- .../tendermint/v1/tendermint_pb2_grpc.py | 1 + .../ibc/lightclients/wasm/v1/genesis_pb2.py | 29 +- .../lightclients/wasm/v1/genesis_pb2_grpc.py | 1 + .../ibc/lightclients/wasm/v1/query_pb2.py | 49 +- .../lightclients/wasm/v1/query_pb2_grpc.py | 122 +- .../proto/ibc/lightclients/wasm/v1/tx_pb2.py | 57 +- .../ibc/lightclients/wasm/v1/tx_pb2_grpc.py | 175 +- .../ibc/lightclients/wasm/v1/wasm_pb2.py | 49 +- .../ibc/lightclients/wasm/v1/wasm_pb2_grpc.py | 1 + .../injective/auction/v1beta1/auction_pb2.py | 87 +- .../auction/v1beta1/auction_pb2_grpc.py | 1 + .../injective/auction/v1beta1/genesis_pb2.py | 25 +- .../auction/v1beta1/genesis_pb2_grpc.py | 1 + .../injective/auction/v1beta1/query_pb2.py | 97 +- .../auction/v1beta1/query_pb2_grpc.py | 225 +- .../proto/injective/auction/v1beta1/tx_pb2.py | 65 +- .../injective/auction/v1beta1/tx_pb2_grpc.py | 119 +- .../crypto/v1beta1/ethsecp256k1/keys_pb2.py | 31 +- .../v1beta1/ethsecp256k1/keys_pb2_grpc.py | 1 + .../injective/exchange/v1beta1/authz_pb2.py | 123 +- .../exchange/v1beta1/authz_pb2_grpc.py | 1 + .../injective/exchange/v1beta1/events_pb2.py | 283 +- .../exchange/v1beta1/events_pb2_grpc.py | 1 + .../exchange/v1beta1/exchange_pb2.py | 1003 ++--- .../exchange/v1beta1/exchange_pb2_grpc.py | 1 + .../injective/exchange/v1beta1/genesis_pb2.py | 179 +- .../exchange/v1beta1/genesis_pb2_grpc.py | 1 + .../exchange/v1beta1/proposal_pb2.py | 533 +-- .../exchange/v1beta1/proposal_pb2_grpc.py | 1 + .../injective/exchange/v1beta1/query_pb2.py | 1343 +++---- .../exchange/v1beta1/query_pb2_grpc.py | 3278 ++++++++--------- .../injective/exchange/v1beta1/tx_pb2.py | 1003 +++-- .../injective/exchange/v1beta1/tx_pb2_grpc.py | 1799 +++++---- .../injective/insurance/v1beta1/events_pb2.py | 53 +- .../insurance/v1beta1/events_pb2_grpc.py | 1 + .../insurance/v1beta1/genesis_pb2.py | 33 +- .../insurance/v1beta1/genesis_pb2_grpc.py | 1 + .../insurance/v1beta1/insurance_pb2.py | 65 +- .../insurance/v1beta1/insurance_pb2_grpc.py | 1 + .../injective/insurance/v1beta1/query_pb2.py | 125 +- .../insurance/v1beta1/query_pb2_grpc.py | 335 +- .../injective/insurance/v1beta1/tx_pb2.py | 101 +- .../insurance/v1beta1/tx_pb2_grpc.py | 219 +- .../injective/ocr/v1beta1/genesis_pb2.py | 53 +- .../injective/ocr/v1beta1/genesis_pb2_grpc.py | 1 + .../proto/injective/ocr/v1beta1/ocr_pb2.py | 217 +- .../injective/ocr/v1beta1/ocr_pb2_grpc.py | 1 + .../proto/injective/ocr/v1beta1/query_pb2.py | 123 +- .../injective/ocr/v1beta1/query_pb2_grpc.py | 381 +- .../proto/injective/ocr/v1beta1/tx_pb2.py | 173 +- .../injective/ocr/v1beta1/tx_pb2_grpc.py | 478 ++- .../injective/oracle/v1beta1/events_pb2.py | 93 +- .../oracle/v1beta1/events_pb2_grpc.py | 1 + .../injective/oracle/v1beta1/genesis_pb2.py | 29 +- .../oracle/v1beta1/genesis_pb2_grpc.py | 1 + .../injective/oracle/v1beta1/oracle_pb2.py | 239 +- .../oracle/v1beta1/oracle_pb2_grpc.py | 1 + .../injective/oracle/v1beta1/proposal_pb2.py | 131 +- .../oracle/v1beta1/proposal_pb2_grpc.py | 1 + .../injective/oracle/v1beta1/query_pb2.py | 313 +- .../oracle/v1beta1/query_pb2_grpc.py | 905 +++-- .../proto/injective/oracle/v1beta1/tx_pb2.py | 151 +- .../injective/oracle/v1beta1/tx_pb2_grpc.py | 428 +-- .../injective/peggy/v1/attestation_pb2.py | 61 +- .../peggy/v1/attestation_pb2_grpc.py | 1 + .../proto/injective/peggy/v1/batch_pb2.py | 21 +- .../injective/peggy/v1/batch_pb2_grpc.py | 1 + .../injective/peggy/v1/ethereum_signer_pb2.py | 21 +- .../peggy/v1/ethereum_signer_pb2_grpc.py | 1 + .../proto/injective/peggy/v1/events_pb2.py | 111 +- .../injective/peggy/v1/events_pb2_grpc.py | 1 + .../proto/injective/peggy/v1/genesis_pb2.py | 21 +- .../injective/peggy/v1/genesis_pb2_grpc.py | 1 + .../proto/injective/peggy/v1/msgs_pb2.py | 307 +- .../proto/injective/peggy/v1/msgs_pb2_grpc.py | 710 ++-- .../proto/injective/peggy/v1/params_pb2.py | 55 +- .../injective/peggy/v1/params_pb2_grpc.py | 1 + .../proto/injective/peggy/v1/pool_pb2.py | 27 +- .../proto/injective/peggy/v1/pool_pb2_grpc.py | 1 + .../proto/injective/peggy/v1/query_pb2.py | 315 +- .../injective/peggy/v1/query_pb2_grpc.py | 1081 +++--- .../proto/injective/peggy/v1/types_pb2.py | 39 +- .../injective/peggy/v1/types_pb2_grpc.py | 1 + .../permissions/v1beta1/events_pb2.py | 21 +- .../permissions/v1beta1/events_pb2_grpc.py | 1 + .../permissions/v1beta1/genesis_pb2.py | 33 +- .../permissions/v1beta1/genesis_pb2_grpc.py | 1 + .../permissions/v1beta1/params_pb2.py | 21 +- .../permissions/v1beta1/params_pb2_grpc.py | 1 + .../permissions/v1beta1/permissions_pb2.py | 47 +- .../v1beta1/permissions_pb2_grpc.py | 1 + .../permissions/v1beta1/query_pb2.py | 129 +- .../permissions/v1beta1/query_pb2_grpc.py | 320 +- .../injective/permissions/v1beta1/tx_pb2.py | 179 +- .../permissions/v1beta1/tx_pb2_grpc.py | 366 +- .../injective/stream/v1beta1/query_pb2.py | 269 +- .../stream/v1beta1/query_pb2_grpc.py | 66 +- .../v1beta1/authorityMetadata_pb2.py | 25 +- .../v1beta1/authorityMetadata_pb2_grpc.py | 1 + .../tokenfactory/v1beta1/events_pb2.py | 49 +- .../tokenfactory/v1beta1/events_pb2_grpc.py | 1 + .../tokenfactory/v1beta1/genesis_pb2.py | 65 +- .../tokenfactory/v1beta1/genesis_pb2_grpc.py | 1 + .../tokenfactory/v1beta1/params_pb2.py | 31 +- .../tokenfactory/v1beta1/params_pb2_grpc.py | 1 + .../tokenfactory/v1beta1/query_pb2.py | 125 +- .../tokenfactory/v1beta1/query_pb2_grpc.py | 223 +- .../injective/tokenfactory/v1beta1/tx_pb2.py | 177 +- .../tokenfactory/v1beta1/tx_pb2_grpc.py | 320 +- .../injective/types/v1beta1/account_pb2.py | 33 +- .../types/v1beta1/account_pb2_grpc.py | 1 + .../injective/types/v1beta1/tx_ext_pb2.py | 21 +- .../types/v1beta1/tx_ext_pb2_grpc.py | 1 + .../types/v1beta1/tx_response_pb2.py | 23 +- .../types/v1beta1/tx_response_pb2_grpc.py | 1 + .../proto/injective/wasmx/v1/events_pb2.py | 25 +- .../injective/wasmx/v1/events_pb2_grpc.py | 1 + .../proto/injective/wasmx/v1/genesis_pb2.py | 29 +- .../injective/wasmx/v1/genesis_pb2_grpc.py | 1 + .../proto/injective/wasmx/v1/proposal_pb2.py | 85 +- .../injective/wasmx/v1/proposal_pb2_grpc.py | 1 + .../proto/injective/wasmx/v1/query_pb2.py | 63 +- .../injective/wasmx/v1/query_pb2_grpc.py | 175 +- .../proto/injective/wasmx/v1/tx_pb2.py | 121 +- .../proto/injective/wasmx/v1/tx_pb2_grpc.py | 316 +- .../proto/injective/wasmx/v1/wasmx_pb2.py | 47 +- .../injective/wasmx/v1/wasmx_pb2_grpc.py | 1 + .../proto/tendermint/abci/types_pb2.py | 357 +- .../proto/tendermint/abci/types_pb2_grpc.py | 807 ++-- .../proto/tendermint/crypto/keys_pb2.py | 21 +- .../proto/tendermint/crypto/keys_pb2_grpc.py | 1 + .../proto/tendermint/crypto/proof_pb2.py | 37 +- .../proto/tendermint/crypto/proof_pb2_grpc.py | 1 + .../proto/tendermint/libs/bits/types_pb2.py | 19 +- .../tendermint/libs/bits/types_pb2_grpc.py | 1 + pyinjective/proto/tendermint/p2p/types_pb2.py | 57 +- .../proto/tendermint/p2p/types_pb2_grpc.py | 1 + .../proto/tendermint/types/block_pb2.py | 29 +- .../proto/tendermint/types/block_pb2_grpc.py | 1 + .../proto/tendermint/types/evidence_pb2.py | 45 +- .../tendermint/types/evidence_pb2_grpc.py | 1 + .../proto/tendermint/types/params_pb2.py | 55 +- .../proto/tendermint/types/params_pb2_grpc.py | 1 + .../proto/tendermint/types/types_pb2.py | 179 +- .../proto/tendermint/types/types_pb2_grpc.py | 1 + .../proto/tendermint/types/validator_pb2.py | 59 +- .../tendermint/types/validator_pb2_grpc.py | 1 + .../proto/tendermint/version/types_pb2.py | 25 +- .../tendermint/version/types_pb2_grpc.py | 1 + pyproject.toml | 4 +- .../chain/grpc/test_chain_grpc_auth_api.py | 2 +- .../chain/grpc/test_chain_grpc_authz_api.py | 2 +- .../chain/grpc/test_chain_grpc_bank_api.py | 2 +- .../grpc/test_chain_grpc_distribution_api.py | 2 +- .../grpc/test_chain_grpc_exchange_api.py | 2 +- .../chain/grpc/test_chain_grpc_wasm_api.py | 2 +- .../test_chain_grpc_chain_stream.py | 2 +- tests/client/indexer/__init__.py | 0 .../configurable_account_query_servicer.py | 58 - .../configurable_auction_query_servicer.py | 24 - .../configurable_derivative_query_servicer.py | 140 - .../configurable_explorer_query_servicer.py | 112 - .../configurable_insurance_query_servicer.py | 19 - .../configurable_meta_query_servicer.py | 28 - .../configurable_oracle_query_servicer.py | 31 - .../configurable_portfolio_query_servicer.py | 30 - .../configurable_spot_query_servicer.py | 99 - tests/client/indexer/grpc/__init__.py | 0 .../grpc/test_indexer_grpc_account_api.py | 371 -- .../grpc/test_indexer_grpc_auction_api.py | 120 - .../grpc/test_indexer_grpc_derivative_api.py | 1351 ------- .../grpc/test_indexer_grpc_explorer_api.py | 1513 -------- .../grpc/test_indexer_grpc_insurance_api.py | 122 - .../grpc/test_indexer_grpc_meta_api.py | 94 - .../grpc/test_indexer_grpc_oracle_api.py | 85 - .../grpc/test_indexer_grpc_portfolio_api.py | 178 - .../grpc/test_indexer_grpc_spot_api.py | 863 ----- tests/client/indexer/stream_grpc/__init__.py | 0 .../test_indexer_grpc_account_stream.py | 81 - .../test_indexer_grpc_auction_stream.py | 68 - .../test_indexer_grpc_derivative_stream.py | 789 ---- .../test_indexer_grpc_explorer_stream.py | 137 - .../test_indexer_grpc_meta_stream.py | 66 - .../test_indexer_grpc_oracle_stream.py | 108 - .../test_indexer_grpc_portfolio_stream.py | 79 - .../test_indexer_grpc_spot_stream.py | 664 ---- tests/client/model/test_pagination.py | 2 +- .../channel/grpc/test_ibc_channel_grpc_api.py | 4 +- .../client/grpc/test_ibc_client_grpc_api.py | 4 +- .../grpc/test_ibc_connection_grpc_api.py | 4 +- .../grpc/test_ibc_transfer_grpc_api.py | 4 +- .../grpc/test_tendermint_grpc_api.py | 4 +- tests/core/tx/grpc/test_tx_grpc_api.py | 2 +- tests/rpc_fixtures/markets_fixtures.py | 81 - tests/test_async_client.py | 12 - .../test_async_client_deprecation_warnings.py | 1724 --------- tests/test_composer_deprecation_warnings.py | 536 --- 652 files changed, 27273 insertions(+), 42940 deletions(-) delete mode 100644 tests/client/indexer/__init__.py delete mode 100644 tests/client/indexer/configurable_account_query_servicer.py delete mode 100644 tests/client/indexer/configurable_auction_query_servicer.py delete mode 100644 tests/client/indexer/configurable_derivative_query_servicer.py delete mode 100644 tests/client/indexer/configurable_explorer_query_servicer.py delete mode 100644 tests/client/indexer/configurable_insurance_query_servicer.py delete mode 100644 tests/client/indexer/configurable_meta_query_servicer.py delete mode 100644 tests/client/indexer/configurable_oracle_query_servicer.py delete mode 100644 tests/client/indexer/configurable_portfolio_query_servicer.py delete mode 100644 tests/client/indexer/configurable_spot_query_servicer.py delete mode 100644 tests/client/indexer/grpc/__init__.py delete mode 100644 tests/client/indexer/grpc/test_indexer_grpc_account_api.py delete mode 100644 tests/client/indexer/grpc/test_indexer_grpc_auction_api.py delete mode 100644 tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py delete mode 100644 tests/client/indexer/grpc/test_indexer_grpc_explorer_api.py delete mode 100644 tests/client/indexer/grpc/test_indexer_grpc_insurance_api.py delete mode 100644 tests/client/indexer/grpc/test_indexer_grpc_meta_api.py delete mode 100644 tests/client/indexer/grpc/test_indexer_grpc_oracle_api.py delete mode 100644 tests/client/indexer/grpc/test_indexer_grpc_portfolio_api.py delete mode 100644 tests/client/indexer/grpc/test_indexer_grpc_spot_api.py delete mode 100644 tests/client/indexer/stream_grpc/__init__.py delete mode 100644 tests/client/indexer/stream_grpc/test_indexer_grpc_account_stream.py delete mode 100644 tests/client/indexer/stream_grpc/test_indexer_grpc_auction_stream.py delete mode 100644 tests/client/indexer/stream_grpc/test_indexer_grpc_derivative_stream.py delete mode 100644 tests/client/indexer/stream_grpc/test_indexer_grpc_explorer_stream.py delete mode 100644 tests/client/indexer/stream_grpc/test_indexer_grpc_meta_stream.py delete mode 100644 tests/client/indexer/stream_grpc/test_indexer_grpc_oracle_stream.py delete mode 100644 tests/client/indexer/stream_grpc/test_indexer_grpc_portfolio_stream.py delete mode 100644 tests/client/indexer/stream_grpc/test_indexer_grpc_spot_stream.py delete mode 100644 tests/test_async_client_deprecation_warnings.py delete mode 100644 tests/test_composer_deprecation_warnings.py diff --git a/poetry.lock b/poetry.lock index 1cc5c3be..1745824e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.0.1 and should not be changed by hand. [[package]] name = "aiohappyeyeballs" @@ -6,6 +6,7 @@ version = "2.4.4" description = "Happy Eyeballs for asyncio" optional = false python-versions = ">=3.8" +groups = ["main", "test"] files = [ {file = "aiohappyeyeballs-2.4.4-py3-none-any.whl", hash = "sha256:a980909d50efcd44795c4afeca523296716d50cd756ddca6af8c65b996e27de8"}, {file = "aiohappyeyeballs-2.4.4.tar.gz", hash = "sha256:5fdd7d87889c63183afc18ce9271f9b0a7d32c2303e394468dd45d514a757745"}, @@ -13,87 +14,88 @@ files = [ [[package]] name = "aiohttp" -version = "3.11.10" +version = "3.11.11" description = "Async http client/server framework (asyncio)" optional = false python-versions = ">=3.9" -files = [ - {file = "aiohttp-3.11.10-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:cbad88a61fa743c5d283ad501b01c153820734118b65aee2bd7dbb735475ce0d"}, - {file = "aiohttp-3.11.10-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:80886dac673ceaef499de2f393fc80bb4481a129e6cb29e624a12e3296cc088f"}, - {file = "aiohttp-3.11.10-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:61b9bae80ed1f338c42f57c16918853dc51775fb5cb61da70d590de14d8b5fb4"}, - {file = "aiohttp-3.11.10-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9e2e576caec5c6a6b93f41626c9c02fc87cd91538b81a3670b2e04452a63def6"}, - {file = "aiohttp-3.11.10-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:02c13415b5732fb6ee7ff64583a5e6ed1c57aa68f17d2bda79c04888dfdc2769"}, - {file = "aiohttp-3.11.10-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4cfce37f31f20800a6a6620ce2cdd6737b82e42e06e6e9bd1b36f546feb3c44f"}, - {file = "aiohttp-3.11.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3bbbfff4c679c64e6e23cb213f57cc2c9165c9a65d63717108a644eb5a7398df"}, - {file = "aiohttp-3.11.10-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:49c7dbbc1a559ae14fc48387a115b7d4bbc84b4a2c3b9299c31696953c2a5219"}, - {file = "aiohttp-3.11.10-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:68386d78743e6570f054fe7949d6cb37ef2b672b4d3405ce91fafa996f7d9b4d"}, - {file = "aiohttp-3.11.10-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:9ef405356ba989fb57f84cac66f7b0260772836191ccefbb987f414bcd2979d9"}, - {file = "aiohttp-3.11.10-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:5d6958671b296febe7f5f859bea581a21c1d05430d1bbdcf2b393599b1cdce77"}, - {file = "aiohttp-3.11.10-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:99b7920e7165be5a9e9a3a7f1b680f06f68ff0d0328ff4079e5163990d046767"}, - {file = "aiohttp-3.11.10-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:0dc49f42422163efb7e6f1df2636fe3db72713f6cd94688e339dbe33fe06d61d"}, - {file = "aiohttp-3.11.10-cp310-cp310-win32.whl", hash = "sha256:40d1c7a7f750b5648642586ba7206999650208dbe5afbcc5284bcec6579c9b91"}, - {file = "aiohttp-3.11.10-cp310-cp310-win_amd64.whl", hash = "sha256:68ff6f48b51bd78ea92b31079817aff539f6c8fc80b6b8d6ca347d7c02384e33"}, - {file = "aiohttp-3.11.10-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:77c4aa15a89847b9891abf97f3d4048f3c2d667e00f8a623c89ad2dccee6771b"}, - {file = "aiohttp-3.11.10-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:909af95a72cedbefe5596f0bdf3055740f96c1a4baa0dd11fd74ca4de0b4e3f1"}, - {file = "aiohttp-3.11.10-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:386fbe79863eb564e9f3615b959e28b222259da0c48fd1be5929ac838bc65683"}, - {file = "aiohttp-3.11.10-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3de34936eb1a647aa919655ff8d38b618e9f6b7f250cc19a57a4bf7fd2062b6d"}, - {file = "aiohttp-3.11.10-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0c9527819b29cd2b9f52033e7fb9ff08073df49b4799c89cb5754624ecd98299"}, - {file = "aiohttp-3.11.10-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:65a96e3e03300b41f261bbfd40dfdbf1c301e87eab7cd61c054b1f2e7c89b9e8"}, - {file = "aiohttp-3.11.10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:98f5635f7b74bcd4f6f72fcd85bea2154b323a9f05226a80bc7398d0c90763b0"}, - {file = "aiohttp-3.11.10-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:03b6002e20938fc6ee0918c81d9e776bebccc84690e2b03ed132331cca065ee5"}, - {file = "aiohttp-3.11.10-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6362cc6c23c08d18ddbf0e8c4d5159b5df74fea1a5278ff4f2c79aed3f4e9f46"}, - {file = "aiohttp-3.11.10-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:3691ed7726fef54e928fe26344d930c0c8575bc968c3e239c2e1a04bd8cf7838"}, - {file = "aiohttp-3.11.10-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:31d5093d3acd02b31c649d3a69bb072d539d4c7659b87caa4f6d2bcf57c2fa2b"}, - {file = "aiohttp-3.11.10-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:8b3cf2dc0f0690a33f2d2b2cb15db87a65f1c609f53c37e226f84edb08d10f52"}, - {file = "aiohttp-3.11.10-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:fbbaea811a2bba171197b08eea288b9402faa2bab2ba0858eecdd0a4105753a3"}, - {file = "aiohttp-3.11.10-cp311-cp311-win32.whl", hash = "sha256:4b2c7ac59c5698a7a8207ba72d9e9c15b0fc484a560be0788b31312c2c5504e4"}, - {file = "aiohttp-3.11.10-cp311-cp311-win_amd64.whl", hash = "sha256:974d3a2cce5fcfa32f06b13ccc8f20c6ad9c51802bb7f829eae8a1845c4019ec"}, - {file = "aiohttp-3.11.10-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:b78f053a7ecfc35f0451d961dacdc671f4bcbc2f58241a7c820e9d82559844cf"}, - {file = "aiohttp-3.11.10-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ab7485222db0959a87fbe8125e233b5a6f01f4400785b36e8a7878170d8c3138"}, - {file = "aiohttp-3.11.10-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:cf14627232dfa8730453752e9cdc210966490992234d77ff90bc8dc0dce361d5"}, - {file = "aiohttp-3.11.10-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:076bc454a7e6fd646bc82ea7f98296be0b1219b5e3ef8a488afbdd8e81fbac50"}, - {file = "aiohttp-3.11.10-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:482cafb7dc886bebeb6c9ba7925e03591a62ab34298ee70d3dd47ba966370d2c"}, - {file = "aiohttp-3.11.10-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bf3d1a519a324af764a46da4115bdbd566b3c73fb793ffb97f9111dbc684fc4d"}, - {file = "aiohttp-3.11.10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:24213ba85a419103e641e55c27dc7ff03536c4873470c2478cce3311ba1eee7b"}, - {file = "aiohttp-3.11.10-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b99acd4730ad1b196bfb03ee0803e4adac371ae8efa7e1cbc820200fc5ded109"}, - {file = "aiohttp-3.11.10-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:14cdb5a9570be5a04eec2ace174a48ae85833c2aadc86de68f55541f66ce42ab"}, - {file = "aiohttp-3.11.10-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:7e97d622cb083e86f18317282084bc9fbf261801b0192c34fe4b1febd9f7ae69"}, - {file = "aiohttp-3.11.10-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:012f176945af138abc10c4a48743327a92b4ca9adc7a0e078077cdb5dbab7be0"}, - {file = "aiohttp-3.11.10-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:44224d815853962f48fe124748227773acd9686eba6dc102578defd6fc99e8d9"}, - {file = "aiohttp-3.11.10-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c87bf31b7fdab94ae3adbe4a48e711bfc5f89d21cf4c197e75561def39e223bc"}, - {file = "aiohttp-3.11.10-cp312-cp312-win32.whl", hash = "sha256:06a8e2ee1cbac16fe61e51e0b0c269400e781b13bcfc33f5425912391a542985"}, - {file = "aiohttp-3.11.10-cp312-cp312-win_amd64.whl", hash = "sha256:be2b516f56ea883a3e14dda17059716593526e10fb6303189aaf5503937db408"}, - {file = "aiohttp-3.11.10-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:8cc5203b817b748adccb07f36390feb730b1bc5f56683445bfe924fc270b8816"}, - {file = "aiohttp-3.11.10-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5ef359ebc6949e3a34c65ce20230fae70920714367c63afd80ea0c2702902ccf"}, - {file = "aiohttp-3.11.10-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:9bca390cb247dbfaec3c664326e034ef23882c3f3bfa5fbf0b56cad0320aaca5"}, - {file = "aiohttp-3.11.10-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:811f23b3351ca532af598405db1093f018edf81368e689d1b508c57dcc6b6a32"}, - {file = "aiohttp-3.11.10-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ddf5f7d877615f6a1e75971bfa5ac88609af3b74796ff3e06879e8422729fd01"}, - {file = "aiohttp-3.11.10-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6ab29b8a0beb6f8eaf1e5049252cfe74adbaafd39ba91e10f18caeb0e99ffb34"}, - {file = "aiohttp-3.11.10-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c49a76c1038c2dd116fa443eba26bbb8e6c37e924e2513574856de3b6516be99"}, - {file = "aiohttp-3.11.10-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7f3dc0e330575f5b134918976a645e79adf333c0a1439dcf6899a80776c9ab39"}, - {file = "aiohttp-3.11.10-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:efb15a17a12497685304b2d976cb4939e55137df7b09fa53f1b6a023f01fcb4e"}, - {file = "aiohttp-3.11.10-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:db1d0b28fcb7f1d35600150c3e4b490775251dea70f894bf15c678fdd84eda6a"}, - {file = "aiohttp-3.11.10-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:15fccaf62a4889527539ecb86834084ecf6e9ea70588efde86e8bc775e0e7542"}, - {file = "aiohttp-3.11.10-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:593c114a2221444f30749cc5e5f4012488f56bd14de2af44fe23e1e9894a9c60"}, - {file = "aiohttp-3.11.10-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:7852bbcb4d0d2f0c4d583f40c3bc750ee033265d80598d0f9cb6f372baa6b836"}, - {file = "aiohttp-3.11.10-cp313-cp313-win32.whl", hash = "sha256:65e55ca7debae8faaffee0ebb4b47a51b4075f01e9b641c31e554fd376595c6c"}, - {file = "aiohttp-3.11.10-cp313-cp313-win_amd64.whl", hash = "sha256:beb39a6d60a709ae3fb3516a1581777e7e8b76933bb88c8f4420d875bb0267c6"}, - {file = "aiohttp-3.11.10-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:0580f2e12de2138f34debcd5d88894786453a76e98febaf3e8fe5db62d01c9bf"}, - {file = "aiohttp-3.11.10-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:a55d2ad345684e7c3dd2c20d2f9572e9e1d5446d57200ff630e6ede7612e307f"}, - {file = "aiohttp-3.11.10-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:04814571cb72d65a6899db6099e377ed00710bf2e3eafd2985166f2918beaf59"}, - {file = "aiohttp-3.11.10-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e44a9a3c053b90c6f09b1bb4edd880959f5328cf63052503f892c41ea786d99f"}, - {file = "aiohttp-3.11.10-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:502a1464ccbc800b4b1995b302efaf426e8763fadf185e933c2931df7db9a199"}, - {file = "aiohttp-3.11.10-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:613e5169f8ae77b1933e42e418a95931fb4867b2991fc311430b15901ed67079"}, - {file = "aiohttp-3.11.10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4cca22a61b7fe45da8fc73c3443150c3608750bbe27641fc7558ec5117b27fdf"}, - {file = "aiohttp-3.11.10-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:86a5dfcc39309470bd7b68c591d84056d195428d5d2e0b5ccadfbaf25b026ebc"}, - {file = "aiohttp-3.11.10-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:77ae58586930ee6b2b6f696c82cf8e78c8016ec4795c53e36718365f6959dc82"}, - {file = "aiohttp-3.11.10-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:78153314f26d5abef3239b4a9af20c229c6f3ecb97d4c1c01b22c4f87669820c"}, - {file = "aiohttp-3.11.10-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:98283b94cc0e11c73acaf1c9698dea80c830ca476492c0fe2622bd931f34b487"}, - {file = "aiohttp-3.11.10-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:53bf2097e05c2accc166c142a2090e4c6fd86581bde3fd9b2d3f9e93dda66ac1"}, - {file = "aiohttp-3.11.10-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:c5532f0441fc09c119e1dca18fbc0687e64fbeb45aa4d6a87211ceaee50a74c4"}, - {file = "aiohttp-3.11.10-cp39-cp39-win32.whl", hash = "sha256:47ad15a65fb41c570cd0ad9a9ff8012489e68176e7207ec7b82a0940dddfd8be"}, - {file = "aiohttp-3.11.10-cp39-cp39-win_amd64.whl", hash = "sha256:c6b9e6d7e41656d78e37ce754813fa44b455c3d0d0dced2a047def7dc5570b74"}, - {file = "aiohttp-3.11.10.tar.gz", hash = "sha256:b1fc6b45010a8d0ff9e88f9f2418c6fd408c99c211257334aff41597ebece42e"}, +groups = ["main", "test"] +files = [ + {file = "aiohttp-3.11.11-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a60804bff28662cbcf340a4d61598891f12eea3a66af48ecfdc975ceec21e3c8"}, + {file = "aiohttp-3.11.11-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:4b4fa1cb5f270fb3eab079536b764ad740bb749ce69a94d4ec30ceee1b5940d5"}, + {file = "aiohttp-3.11.11-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:731468f555656767cda219ab42e033355fe48c85fbe3ba83a349631541715ba2"}, + {file = "aiohttp-3.11.11-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cb23d8bb86282b342481cad4370ea0853a39e4a32a0042bb52ca6bdde132df43"}, + {file = "aiohttp-3.11.11-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f047569d655f81cb70ea5be942ee5d4421b6219c3f05d131f64088c73bb0917f"}, + {file = "aiohttp-3.11.11-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dd7659baae9ccf94ae5fe8bfaa2c7bc2e94d24611528395ce88d009107e00c6d"}, + {file = "aiohttp-3.11.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:af01e42ad87ae24932138f154105e88da13ce7d202a6de93fafdafb2883a00ef"}, + {file = "aiohttp-3.11.11-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5854be2f3e5a729800bac57a8d76af464e160f19676ab6aea74bde18ad19d438"}, + {file = "aiohttp-3.11.11-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:6526e5fb4e14f4bbf30411216780c9967c20c5a55f2f51d3abd6de68320cc2f3"}, + {file = "aiohttp-3.11.11-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:85992ee30a31835fc482468637b3e5bd085fa8fe9392ba0bdcbdc1ef5e9e3c55"}, + {file = "aiohttp-3.11.11-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:88a12ad8ccf325a8a5ed80e6d7c3bdc247d66175afedbe104ee2aaca72960d8e"}, + {file = "aiohttp-3.11.11-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:0a6d3fbf2232e3a08c41eca81ae4f1dff3d8f1a30bae415ebe0af2d2458b8a33"}, + {file = "aiohttp-3.11.11-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:84a585799c58b795573c7fa9b84c455adf3e1d72f19a2bf498b54a95ae0d194c"}, + {file = "aiohttp-3.11.11-cp310-cp310-win32.whl", hash = "sha256:bfde76a8f430cf5c5584553adf9926534352251d379dcb266ad2b93c54a29745"}, + {file = "aiohttp-3.11.11-cp310-cp310-win_amd64.whl", hash = "sha256:0fd82b8e9c383af11d2b26f27a478640b6b83d669440c0a71481f7c865a51da9"}, + {file = "aiohttp-3.11.11-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ba74ec819177af1ef7f59063c6d35a214a8fde6f987f7661f4f0eecc468a8f76"}, + {file = "aiohttp-3.11.11-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4af57160800b7a815f3fe0eba9b46bf28aafc195555f1824555fa2cfab6c1538"}, + {file = "aiohttp-3.11.11-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ffa336210cf9cd8ed117011085817d00abe4c08f99968deef0013ea283547204"}, + {file = "aiohttp-3.11.11-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:81b8fe282183e4a3c7a1b72f5ade1094ed1c6345a8f153506d114af5bf8accd9"}, + {file = "aiohttp-3.11.11-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3af41686ccec6a0f2bdc66686dc0f403c41ac2089f80e2214a0f82d001052c03"}, + {file = "aiohttp-3.11.11-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:70d1f9dde0e5dd9e292a6d4d00058737052b01f3532f69c0c65818dac26dc287"}, + {file = "aiohttp-3.11.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:249cc6912405917344192b9f9ea5cd5b139d49e0d2f5c7f70bdfaf6b4dbf3a2e"}, + {file = "aiohttp-3.11.11-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0eb98d90b6690827dcc84c246811feeb4e1eea683c0eac6caed7549be9c84665"}, + {file = "aiohttp-3.11.11-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:ec82bf1fda6cecce7f7b915f9196601a1bd1a3079796b76d16ae4cce6d0ef89b"}, + {file = "aiohttp-3.11.11-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:9fd46ce0845cfe28f108888b3ab17abff84ff695e01e73657eec3f96d72eef34"}, + {file = "aiohttp-3.11.11-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:bd176afcf8f5d2aed50c3647d4925d0db0579d96f75a31e77cbaf67d8a87742d"}, + {file = "aiohttp-3.11.11-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:ec2aa89305006fba9ffb98970db6c8221541be7bee4c1d027421d6f6df7d1ce2"}, + {file = "aiohttp-3.11.11-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:92cde43018a2e17d48bb09c79e4d4cb0e236de5063ce897a5e40ac7cb4878773"}, + {file = "aiohttp-3.11.11-cp311-cp311-win32.whl", hash = "sha256:aba807f9569455cba566882c8938f1a549f205ee43c27b126e5450dc9f83cc62"}, + {file = "aiohttp-3.11.11-cp311-cp311-win_amd64.whl", hash = "sha256:ae545f31489548c87b0cced5755cfe5a5308d00407000e72c4fa30b19c3220ac"}, + {file = "aiohttp-3.11.11-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:e595c591a48bbc295ebf47cb91aebf9bd32f3ff76749ecf282ea7f9f6bb73886"}, + {file = "aiohttp-3.11.11-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3ea1b59dc06396b0b424740a10a0a63974c725b1c64736ff788a3689d36c02d2"}, + {file = "aiohttp-3.11.11-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8811f3f098a78ffa16e0ea36dffd577eb031aea797cbdba81be039a4169e242c"}, + {file = "aiohttp-3.11.11-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bd7227b87a355ce1f4bf83bfae4399b1f5bb42e0259cb9405824bd03d2f4336a"}, + {file = "aiohttp-3.11.11-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d40f9da8cabbf295d3a9dae1295c69975b86d941bc20f0a087f0477fa0a66231"}, + {file = "aiohttp-3.11.11-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ffb3dc385f6bb1568aa974fe65da84723210e5d9707e360e9ecb51f59406cd2e"}, + {file = "aiohttp-3.11.11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a8f5f7515f3552d899c61202d99dcb17d6e3b0de777900405611cd747cecd1b8"}, + {file = "aiohttp-3.11.11-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3499c7ffbfd9c6a3d8d6a2b01c26639da7e43d47c7b4f788016226b1e711caa8"}, + {file = "aiohttp-3.11.11-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8e2bf8029dbf0810c7bfbc3e594b51c4cc9101fbffb583a3923aea184724203c"}, + {file = "aiohttp-3.11.11-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:b6212a60e5c482ef90f2d788835387070a88d52cf6241d3916733c9176d39eab"}, + {file = "aiohttp-3.11.11-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:d119fafe7b634dbfa25a8c597718e69a930e4847f0b88e172744be24515140da"}, + {file = "aiohttp-3.11.11-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:6fba278063559acc730abf49845d0e9a9e1ba74f85f0ee6efd5803f08b285853"}, + {file = "aiohttp-3.11.11-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:92fc484e34b733704ad77210c7957679c5c3877bd1e6b6d74b185e9320cc716e"}, + {file = "aiohttp-3.11.11-cp312-cp312-win32.whl", hash = "sha256:9f5b3c1ed63c8fa937a920b6c1bec78b74ee09593b3f5b979ab2ae5ef60d7600"}, + {file = "aiohttp-3.11.11-cp312-cp312-win_amd64.whl", hash = "sha256:1e69966ea6ef0c14ee53ef7a3d68b564cc408121ea56c0caa2dc918c1b2f553d"}, + {file = "aiohttp-3.11.11-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:541d823548ab69d13d23730a06f97460f4238ad2e5ed966aaf850d7c369782d9"}, + {file = "aiohttp-3.11.11-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:929f3ed33743a49ab127c58c3e0a827de0664bfcda566108989a14068f820194"}, + {file = "aiohttp-3.11.11-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:0882c2820fd0132240edbb4a51eb8ceb6eef8181db9ad5291ab3332e0d71df5f"}, + {file = "aiohttp-3.11.11-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b63de12e44935d5aca7ed7ed98a255a11e5cb47f83a9fded7a5e41c40277d104"}, + {file = "aiohttp-3.11.11-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:aa54f8ef31d23c506910c21163f22b124facb573bff73930735cf9fe38bf7dff"}, + {file = "aiohttp-3.11.11-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a344d5dc18074e3872777b62f5f7d584ae4344cd6006c17ba12103759d407af3"}, + {file = "aiohttp-3.11.11-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0b7fb429ab1aafa1f48578eb315ca45bd46e9c37de11fe45c7f5f4138091e2f1"}, + {file = "aiohttp-3.11.11-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c341c7d868750e31961d6d8e60ff040fb9d3d3a46d77fd85e1ab8e76c3e9a5c4"}, + {file = "aiohttp-3.11.11-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ed9ee95614a71e87f1a70bc81603f6c6760128b140bc4030abe6abaa988f1c3d"}, + {file = "aiohttp-3.11.11-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:de8d38f1c2810fa2a4f1d995a2e9c70bb8737b18da04ac2afbf3971f65781d87"}, + {file = "aiohttp-3.11.11-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:a9b7371665d4f00deb8f32208c7c5e652059b0fda41cf6dbcac6114a041f1cc2"}, + {file = "aiohttp-3.11.11-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:620598717fce1b3bd14dd09947ea53e1ad510317c85dda2c9c65b622edc96b12"}, + {file = "aiohttp-3.11.11-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:bf8d9bfee991d8acc72d060d53860f356e07a50f0e0d09a8dfedea1c554dd0d5"}, + {file = "aiohttp-3.11.11-cp313-cp313-win32.whl", hash = "sha256:9d73ee3725b7a737ad86c2eac5c57a4a97793d9f442599bea5ec67ac9f4bdc3d"}, + {file = "aiohttp-3.11.11-cp313-cp313-win_amd64.whl", hash = "sha256:c7a06301c2fb096bdb0bd25fe2011531c1453b9f2c163c8031600ec73af1cc99"}, + {file = "aiohttp-3.11.11-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:3e23419d832d969f659c208557de4a123e30a10d26e1e14b73431d3c13444c2e"}, + {file = "aiohttp-3.11.11-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:21fef42317cf02e05d3b09c028712e1d73a9606f02467fd803f7c1f39cc59add"}, + {file = "aiohttp-3.11.11-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:1f21bb8d0235fc10c09ce1d11ffbd40fc50d3f08a89e4cf3a0c503dc2562247a"}, + {file = "aiohttp-3.11.11-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1642eceeaa5ab6c9b6dfeaaa626ae314d808188ab23ae196a34c9d97efb68350"}, + {file = "aiohttp-3.11.11-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2170816e34e10f2fd120f603e951630f8a112e1be3b60963a1f159f5699059a6"}, + {file = "aiohttp-3.11.11-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8be8508d110d93061197fd2d6a74f7401f73b6d12f8822bbcd6d74f2b55d71b1"}, + {file = "aiohttp-3.11.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4eed954b161e6b9b65f6be446ed448ed3921763cc432053ceb606f89d793927e"}, + {file = "aiohttp-3.11.11-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d6c9af134da4bc9b3bd3e6a70072509f295d10ee60c697826225b60b9959acdd"}, + {file = "aiohttp-3.11.11-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:44167fc6a763d534a6908bdb2592269b4bf30a03239bcb1654781adf5e49caf1"}, + {file = "aiohttp-3.11.11-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:479b8c6ebd12aedfe64563b85920525d05d394b85f166b7873c8bde6da612f9c"}, + {file = "aiohttp-3.11.11-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:10b4ff0ad793d98605958089fabfa350e8e62bd5d40aa65cdc69d6785859f94e"}, + {file = "aiohttp-3.11.11-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:b540bd67cfb54e6f0865ceccd9979687210d7ed1a1cc8c01f8e67e2f1e883d28"}, + {file = "aiohttp-3.11.11-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:1dac54e8ce2ed83b1f6b1a54005c87dfed139cf3f777fdc8afc76e7841101226"}, + {file = "aiohttp-3.11.11-cp39-cp39-win32.whl", hash = "sha256:568c1236b2fde93b7720f95a890741854c1200fba4a3471ff48b2934d2d93fd3"}, + {file = "aiohttp-3.11.11-cp39-cp39-win_amd64.whl", hash = "sha256:943a8b052e54dfd6439fd7989f67fc6a7f2138d0a2cf0a7de5f18aa4fe7eb3b1"}, + {file = "aiohttp-3.11.11.tar.gz", hash = "sha256:bb49c7f1e6ebf3821a42d81d494f538107610c3a705987f53068546b0e90303e"}, ] [package.dependencies] @@ -111,13 +113,14 @@ speedups = ["Brotli", "aiodns (>=3.2.0)", "brotlicffi"] [[package]] name = "aioresponses" -version = "0.7.7" +version = "0.7.8" description = "Mock out requests made by ClientSession from aiohttp package" optional = false python-versions = "*" +groups = ["test"] files = [ - {file = "aioresponses-0.7.7-py2.py3-none-any.whl", hash = "sha256:6975f31fe5e7f2113a41bd387221f31854f285ecbc05527272cd8ba4c50764a3"}, - {file = "aioresponses-0.7.7.tar.gz", hash = "sha256:66292f1d5c94a3cb984f3336d806446042adb17347d3089f2d3962dd6e5ba55a"}, + {file = "aioresponses-0.7.8-py2.py3-none-any.whl", hash = "sha256:b73bd4400d978855e55004b23a3a84cb0f018183bcf066a85ad392800b5b9a94"}, + {file = "aioresponses-0.7.8.tar.gz", hash = "sha256:b861cdfe5dc58f3b8afac7b0a6973d5d7b2cb608dd0f6253d16b8ee8eaf6df11"}, ] [package.dependencies] @@ -126,13 +129,14 @@ packaging = ">=22.0" [[package]] name = "aiosignal" -version = "1.3.1" +version = "1.3.2" description = "aiosignal: a list of registered asynchronous callbacks" optional = false -python-versions = ">=3.7" +python-versions = ">=3.9" +groups = ["main", "test"] files = [ - {file = "aiosignal-1.3.1-py3-none-any.whl", hash = "sha256:f8376fb07dd1e86a584e4fcdec80b36b7f81aac666ebc724e2c090300dd83b17"}, - {file = "aiosignal-1.3.1.tar.gz", hash = "sha256:54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc"}, + {file = "aiosignal-1.3.2-py2.py3-none-any.whl", hash = "sha256:45cde58e409a301715980c2b01d0c28bdde3770d8290b5eb2173759d9acb31a5"}, + {file = "aiosignal-1.3.2.tar.gz", hash = "sha256:a8c255c66fafb1e499c9351d0bf32ff2d8a0321595ebac3b93713656d2436f54"}, ] [package.dependencies] @@ -144,6 +148,7 @@ version = "1.5.1" description = "Fast ASN.1 parser and serializer with definitions for private keys, public keys, certificates, CRL, OCSP, CMS, PKCS#3, PKCS#7, PKCS#8, PKCS#12, PKCS#5, X.509 and TSP" optional = false python-versions = "*" +groups = ["main"] files = [ {file = "asn1crypto-1.5.1-py2.py3-none-any.whl", hash = "sha256:db4e40728b728508912cbb3d44f19ce188f218e9eba635821bb4b68564f8fd67"}, {file = "asn1crypto-1.5.1.tar.gz", hash = "sha256:13ae38502be632115abf8a24cbe5f4da52e3b5231990aff31123c805306ccb9c"}, @@ -155,6 +160,8 @@ version = "5.0.1" description = "Timeout context manager for asyncio programs" optional = false python-versions = ">=3.8" +groups = ["main", "test"] +markers = "python_version < \"3.11\"" files = [ {file = "async_timeout-5.0.1-py3-none-any.whl", hash = "sha256:39e3809566ff85354557ec2398b55e096c8364bacac9405a7a1fa429e77fe76c"}, {file = "async_timeout-5.0.1.tar.gz", hash = "sha256:d9321a7a3d5a6a5e187e824d2fa0793ce379a202935782d555d6e9d2735677d3"}, @@ -162,19 +169,20 @@ files = [ [[package]] name = "attrs" -version = "24.2.0" +version = "25.1.0" description = "Classes Without Boilerplate" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" +groups = ["main", "test"] files = [ - {file = "attrs-24.2.0-py3-none-any.whl", hash = "sha256:81921eb96de3191c8258c199618104dd27ac608d9366f5e35d011eae1867ede2"}, - {file = "attrs-24.2.0.tar.gz", hash = "sha256:5cfb1b9148b5b086569baec03f20d7b6bf3bcacc9a42bebf87ffaaca362f6346"}, + {file = "attrs-25.1.0-py3-none-any.whl", hash = "sha256:c75a69e28a550a7e93789579c22aa26b0f5b83b75dc4e08fe092980051e1090a"}, + {file = "attrs-25.1.0.tar.gz", hash = "sha256:1c97078a80c814273a76b2a298a932eb681c87415c11dee0a6921de7f1b02c3e"}, ] [package.extras] benchmark = ["cloudpickle", "hypothesis", "mypy (>=1.11.1)", "pympler", "pytest (>=4.3.0)", "pytest-codspeed", "pytest-mypy-plugins", "pytest-xdist[psutil]"] cov = ["cloudpickle", "coverage[toml] (>=5.3)", "hypothesis", "mypy (>=1.11.1)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-xdist[psutil]"] -dev = ["cloudpickle", "hypothesis", "mypy (>=1.11.1)", "pre-commit", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-xdist[psutil]"] +dev = ["cloudpickle", "hypothesis", "mypy (>=1.11.1)", "pre-commit-uv", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-xdist[psutil]"] docs = ["cogapp", "furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier (<24.7)"] tests = ["cloudpickle", "hypothesis", "mypy (>=1.11.1)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-xdist[psutil]"] tests-mypy = ["mypy (>=1.11.1)", "pytest-mypy-plugins"] @@ -185,6 +193,7 @@ version = "1.2.0" description = "Reference implementation for Bech32 and segwit addresses." optional = false python-versions = ">=3.5" +groups = ["main"] files = [ {file = "bech32-1.2.0-py3-none-any.whl", hash = "sha256:990dc8e5a5e4feabbdf55207b5315fdd9b73db40be294a19b3752cde9e79d981"}, {file = "bech32-1.2.0.tar.gz", hash = "sha256:7d6db8214603bd7871fcfa6c0826ef68b85b0abd90fa21c285a9c5e21d2bd899"}, @@ -196,6 +205,7 @@ version = "4.0" description = "Minimalistic implementation of the BIP32 key derivation scheme" optional = false python-versions = "*" +groups = ["main"] files = [ {file = "bip32-4.0-py3-none-any.whl", hash = "sha256:9728b38336129c00e1f870bbb3e328c9632d51c1bddeef4011fd3115cb3aeff9"}, {file = "bip32-4.0.tar.gz", hash = "sha256:8035588f252f569bb414bc60df151ae431fc1c6789a19488a32890532ef3a2fc"}, @@ -210,6 +220,7 @@ version = "3.0.0" description = "efficient arrays of booleans -- C extension" optional = false python-versions = "*" +groups = ["main"] files = [ {file = "bitarray-3.0.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:5ddbf71a97ad1d6252e6e93d2d703b624d0a5b77c153b12f9ea87d83e1250e0c"}, {file = "bitarray-3.0.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e0e7f24a0b01e6e6a0191c50b06ca8edfdec1988d9d2b264d669d2487f4f4680"}, @@ -356,6 +367,7 @@ version = "23.12.1" description = "The uncompromising code formatter." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "black-23.12.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e0aaf6041986767a5e0ce663c7a2f0e9eaf21e6ff87a5f95cbf3675bfd4c41d2"}, {file = "black-23.12.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c88b3711d12905b74206227109272673edce0cb29f27e1385f33b0163c414bba"}, @@ -396,15 +408,40 @@ d = ["aiohttp (>=3.7.4)", "aiohttp (>=3.7.4,!=3.9.0)"] jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] uvloop = ["uvloop (>=0.15.2)"] +[[package]] +name = "cached-property" +version = "2.0.1" +description = "A decorator for caching properties in classes." +optional = false +python-versions = ">=3.8" +groups = ["main"] +files = [ + {file = "cached_property-2.0.1-py3-none-any.whl", hash = "sha256:f617d70ab1100b7bcf6e42228f9ddcb78c676ffa167278d9f730d1c2fba69ccb"}, + {file = "cached_property-2.0.1.tar.gz", hash = "sha256:484d617105e3ee0e4f1f58725e72a8ef9e93deee462222dbd51cd91230897641"}, +] + +[[package]] +name = "cachetools" +version = "5.5.1" +description = "Extensible memoizing collections and decorators" +optional = false +python-versions = ">=3.7" +groups = ["main"] +files = [ + {file = "cachetools-5.5.1-py3-none-any.whl", hash = "sha256:b76651fdc3b24ead3c648bbdeeb940c1b04d365b38b4af66788f9ec4a81d42bb"}, + {file = "cachetools-5.5.1.tar.gz", hash = "sha256:70f238fbba50383ef62e55c6aff6d9673175fe59f7c6782c7a0b9e38f4a9df95"}, +] + [[package]] name = "certifi" -version = "2024.8.30" +version = "2025.1.31" description = "Python package for providing Mozilla's CA Bundle." optional = false python-versions = ">=3.6" +groups = ["main", "test"] files = [ - {file = "certifi-2024.8.30-py3-none-any.whl", hash = "sha256:922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8"}, - {file = "certifi-2024.8.30.tar.gz", hash = "sha256:bec941d2aa8195e248a60b31ff9f0558284cf01a52591ceda73ea9afffd69fd9"}, + {file = "certifi-2025.1.31-py3-none-any.whl", hash = "sha256:ca78db4565a652026a4db2bcdf68f2fb589ea80d0be70e03929ed730746b84fe"}, + {file = "certifi-2025.1.31.tar.gz", hash = "sha256:3d5da6925056f6f18f119200434a4780a94263f10d1c21d032a6f6b2baa20651"}, ] [[package]] @@ -413,6 +450,7 @@ version = "1.17.1" description = "Foreign Function Interface for Python calling C code." optional = false python-versions = ">=3.8" +groups = ["main"] files = [ {file = "cffi-1.17.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:df8b1c11f177bc2313ec4b2d46baec87a5f3e71fc8b45dab2ee7cae86d9aba14"}, {file = "cffi-1.17.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8f2cdc858323644ab277e9bb925ad72ae0e67f69e804f4898c070998d50b1a67"}, @@ -492,6 +530,7 @@ version = "3.4.0" description = "Validate configuration and produce human readable error messages." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "cfgv-3.4.0-py2.py3-none-any.whl", hash = "sha256:b7265b1f29fd3316bfcd2b330d63d024f2bfd8bcb8b0272f8e19a504856c48f9"}, {file = "cfgv-3.4.0.tar.gz", hash = "sha256:e52591d4c5f5dead8e0f673fb16db7949d2cfb3f7da4582893288f0ded8fe560"}, @@ -499,116 +538,104 @@ files = [ [[package]] name = "charset-normalizer" -version = "3.4.0" +version = "3.4.1" description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." optional = false -python-versions = ">=3.7.0" -files = [ - {file = "charset_normalizer-3.4.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:4f9fc98dad6c2eaa32fc3af1417d95b5e3d08aff968df0cd320066def971f9a6"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0de7b687289d3c1b3e8660d0741874abe7888100efe14bd0f9fd7141bcbda92b"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:5ed2e36c3e9b4f21dd9422f6893dec0abf2cca553af509b10cd630f878d3eb99"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:40d3ff7fc90b98c637bda91c89d51264a3dcf210cade3a2c6f838c7268d7a4ca"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1110e22af8ca26b90bd6364fe4c763329b0ebf1ee213ba32b68c73de5752323d"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:86f4e8cca779080f66ff4f191a685ced73d2f72d50216f7112185dc02b90b9b7"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7f683ddc7eedd742e2889d2bfb96d69573fde1d92fcb811979cdb7165bb9c7d3"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:27623ba66c183eca01bf9ff833875b459cad267aeeb044477fedac35e19ba907"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:f606a1881d2663630ea5b8ce2efe2111740df4b687bd78b34a8131baa007f79b"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:0b309d1747110feb25d7ed6b01afdec269c647d382c857ef4663bbe6ad95a912"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:136815f06a3ae311fae551c3df1f998a1ebd01ddd424aa5603a4336997629e95"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:14215b71a762336254351b00ec720a8e85cada43b987da5a042e4ce3e82bd68e"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:79983512b108e4a164b9c8d34de3992f76d48cadc9554c9e60b43f308988aabe"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-win32.whl", hash = "sha256:c94057af19bc953643a33581844649a7fdab902624d2eb739738a30e2b3e60fc"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-win_amd64.whl", hash = "sha256:55f56e2ebd4e3bc50442fbc0888c9d8c94e4e06a933804e2af3e89e2f9c1c749"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0d99dd8ff461990f12d6e42c7347fd9ab2532fb70e9621ba520f9e8637161d7c"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c57516e58fd17d03ebe67e181a4e4e2ccab1168f8c2976c6a334d4f819fe5944"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:6dba5d19c4dfab08e58d5b36304b3f92f3bd5d42c1a3fa37b5ba5cdf6dfcbcee"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bf4475b82be41b07cc5e5ff94810e6a01f276e37c2d55571e3fe175e467a1a1c"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ce031db0408e487fd2775d745ce30a7cd2923667cf3b69d48d219f1d8f5ddeb6"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8ff4e7cdfdb1ab5698e675ca622e72d58a6fa2a8aa58195de0c0061288e6e3ea"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3710a9751938947e6327ea9f3ea6332a09bf0ba0c09cae9cb1f250bd1f1549bc"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:82357d85de703176b5587dbe6ade8ff67f9f69a41c0733cf2425378b49954de5"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47334db71978b23ebcf3c0f9f5ee98b8d65992b65c9c4f2d34c2eaf5bcaf0594"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:8ce7fd6767a1cc5a92a639b391891bf1c268b03ec7e021c7d6d902285259685c"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:f1a2f519ae173b5b6a2c9d5fa3116ce16e48b3462c8b96dfdded11055e3d6365"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:63bc5c4ae26e4bc6be6469943b8253c0fd4e4186c43ad46e713ea61a0ba49129"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:bcb4f8ea87d03bc51ad04add8ceaf9b0f085ac045ab4d74e73bbc2dc033f0236"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-win32.whl", hash = "sha256:9ae4ef0b3f6b41bad6366fb0ea4fc1d7ed051528e113a60fa2a65a9abb5b1d99"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-win_amd64.whl", hash = "sha256:cee4373f4d3ad28f1ab6290684d8e2ebdb9e7a1b74fdc39e4c211995f77bec27"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:0713f3adb9d03d49d365b70b84775d0a0d18e4ab08d12bc46baa6132ba78aaf6"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:de7376c29d95d6719048c194a9cf1a1b0393fbe8488a22008610b0361d834ecf"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4a51b48f42d9358460b78725283f04bddaf44a9358197b889657deba38f329db"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b295729485b06c1a0683af02a9e42d2caa9db04a373dc38a6a58cdd1e8abddf1"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ee803480535c44e7f5ad00788526da7d85525cfefaf8acf8ab9a310000be4b03"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3d59d125ffbd6d552765510e3f31ed75ebac2c7470c7274195b9161a32350284"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8cda06946eac330cbe6598f77bb54e690b4ca93f593dee1568ad22b04f347c15"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:07afec21bbbbf8a5cc3651aa96b980afe2526e7f048fdfb7f1014d84acc8b6d8"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:6b40e8d38afe634559e398cc32b1472f376a4099c75fe6299ae607e404c033b2"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:b8dcd239c743aa2f9c22ce674a145e0a25cb1566c495928440a181ca1ccf6719"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:84450ba661fb96e9fd67629b93d2941c871ca86fc38d835d19d4225ff946a631"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:44aeb140295a2f0659e113b31cfe92c9061622cadbc9e2a2f7b8ef6b1e29ef4b"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:1db4e7fefefd0f548d73e2e2e041f9df5c59e178b4c72fbac4cc6f535cfb1565"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-win32.whl", hash = "sha256:5726cf76c982532c1863fb64d8c6dd0e4c90b6ece9feb06c9f202417a31f7dd7"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:b197e7094f232959f8f20541ead1d9862ac5ebea1d58e9849c1bf979255dfac9"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:dd4eda173a9fcccb5f2e2bd2a9f423d180194b1bf17cf59e3269899235b2a114"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e9e3c4c9e1ed40ea53acf11e2a386383c3304212c965773704e4603d589343ed"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:92a7e36b000bf022ef3dbb9c46bfe2d52c047d5e3f3343f43204263c5addc250"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:54b6a92d009cbe2fb11054ba694bc9e284dad30a26757b1e372a1fdddaf21920"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1ffd9493de4c922f2a38c2bf62b831dcec90ac673ed1ca182fe11b4d8e9f2a64"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:35c404d74c2926d0287fbd63ed5d27eb911eb9e4a3bb2c6d294f3cfd4a9e0c23"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4796efc4faf6b53a18e3d46343535caed491776a22af773f366534056c4e1fbc"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e7fdd52961feb4c96507aa649550ec2a0d527c086d284749b2f582f2d40a2e0d"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:92db3c28b5b2a273346bebb24857fda45601aef6ae1c011c0a997106581e8a88"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:ab973df98fc99ab39080bfb0eb3a925181454d7c3ac8a1e695fddfae696d9e90"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:4b67fdab07fdd3c10bb21edab3cbfe8cf5696f453afce75d815d9d7223fbe88b"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:aa41e526a5d4a9dfcfbab0716c7e8a1b215abd3f3df5a45cf18a12721d31cb5d"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ffc519621dce0c767e96b9c53f09c5d215578e10b02c285809f76509a3931482"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-win32.whl", hash = "sha256:f19c1585933c82098c2a520f8ec1227f20e339e33aca8fa6f956f6691b784e67"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:707b82d19e65c9bd28b81dde95249b07bf9f5b90ebe1ef17d9b57473f8a64b7b"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:dbe03226baf438ac4fda9e2d0715022fd579cb641c4cf639fa40d53b2fe6f3e2"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dd9a8bd8900e65504a305bf8ae6fa9fbc66de94178c420791d0293702fce2df7"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b8831399554b92b72af5932cdbbd4ddc55c55f631bb13ff8fe4e6536a06c5c51"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a14969b8691f7998e74663b77b4c36c0337cb1df552da83d5c9004a93afdb574"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dcaf7c1524c0542ee2fc82cc8ec337f7a9f7edee2532421ab200d2b920fc97cf"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:425c5f215d0eecee9a56cdb703203dda90423247421bf0d67125add85d0c4455"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_aarch64.whl", hash = "sha256:d5b054862739d276e09928de37c79ddeec42a6e1bfc55863be96a36ba22926f6"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_i686.whl", hash = "sha256:f3e73a4255342d4eb26ef6df01e3962e73aa29baa3124a8e824c5d3364a65748"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_ppc64le.whl", hash = "sha256:2f6c34da58ea9c1a9515621f4d9ac379871a8f21168ba1b5e09d74250de5ad62"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_s390x.whl", hash = "sha256:f09cb5a7bbe1ecae6e87901a2eb23e0256bb524a79ccc53eb0b7629fbe7677c4"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_x86_64.whl", hash = "sha256:0099d79bdfcf5c1f0c2c72f91516702ebf8b0b8ddd8905f97a8aecf49712c621"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-win32.whl", hash = "sha256:9c98230f5042f4945f957d006edccc2af1e03ed5e37ce7c373f00a5a4daa6149"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-win_amd64.whl", hash = "sha256:62f60aebecfc7f4b82e3f639a7d1433a20ec32824db2199a11ad4f5e146ef5ee"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:af73657b7a68211996527dbfeffbb0864e043d270580c5aef06dc4b659a4b578"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:cab5d0b79d987c67f3b9e9c53f54a61360422a5a0bc075f43cab5621d530c3b6"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:9289fd5dddcf57bab41d044f1756550f9e7cf0c8e373b8cdf0ce8773dc4bd417"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6b493a043635eb376e50eedf7818f2f322eabbaa974e948bd8bdd29eb7ef2a51"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9fa2566ca27d67c86569e8c85297aaf413ffab85a8960500f12ea34ff98e4c41"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a8e538f46104c815be19c975572d74afb53f29650ea2025bbfaef359d2de2f7f"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6fd30dc99682dc2c603c2b315bded2799019cea829f8bf57dc6b61efde6611c8"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2006769bd1640bdf4d5641c69a3d63b71b81445473cac5ded39740a226fa88ab"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:dc15e99b2d8a656f8e666854404f1ba54765871104e50c8e9813af8a7db07f12"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:ab2e5bef076f5a235c3774b4f4028a680432cded7cad37bba0fd90d64b187d19"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:4ec9dd88a5b71abfc74e9df5ebe7921c35cbb3b641181a531ca65cdb5e8e4dea"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_s390x.whl", hash = "sha256:43193c5cda5d612f247172016c4bb71251c784d7a4d9314677186a838ad34858"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:aa693779a8b50cd97570e5a0f343538a8dbd3e496fa5dcb87e29406ad0299654"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-win32.whl", hash = "sha256:7706f5850360ac01d80c89bcef1640683cc12ed87f42579dab6c5d3ed6888613"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-win_amd64.whl", hash = "sha256:c3e446d253bd88f6377260d07c895816ebf33ffffd56c1c792b13bff9c3e1ade"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:980b4f289d1d90ca5efcf07958d3eb38ed9c0b7676bf2831a54d4f66f9c27dfa"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:f28f891ccd15c514a0981f3b9db9aa23d62fe1a99997512b0491d2ed323d229a"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a8aacce6e2e1edcb6ac625fb0f8c3a9570ccc7bfba1f63419b3769ccf6a00ed0"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bd7af3717683bea4c87acd8c0d3d5b44d56120b26fd3f8a692bdd2d5260c620a"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5ff2ed8194587faf56555927b3aa10e6fb69d931e33953943bc4f837dfee2242"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e91f541a85298cf35433bf66f3fab2a4a2cff05c127eeca4af174f6d497f0d4b"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:309a7de0a0ff3040acaebb35ec45d18db4b28232f21998851cfa709eeff49d62"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:285e96d9d53422efc0d7a17c60e59f37fbf3dfa942073f666db4ac71e8d726d0"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:5d447056e2ca60382d460a604b6302d8db69476fd2015c81e7c35417cfabe4cd"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:20587d20f557fe189b7947d8e7ec5afa110ccf72a3128d61a2a387c3313f46be"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:130272c698667a982a5d0e626851ceff662565379baf0ff2cc58067b81d4f11d"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:ab22fbd9765e6954bc0bcff24c25ff71dcbfdb185fcdaca49e81bac68fe724d3"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:7782afc9b6b42200f7362858f9e73b1f8316afb276d316336c0ec3bd73312742"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-win32.whl", hash = "sha256:2de62e8801ddfff069cd5c504ce3bc9672b23266597d4e4f50eda28846c322f2"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-win_amd64.whl", hash = "sha256:95c3c157765b031331dd4db3c775e58deaee050a3042fcad72cbc4189d7c8dca"}, - {file = "charset_normalizer-3.4.0-py3-none-any.whl", hash = "sha256:fe9f97feb71aa9896b81973a7bbada8c49501dc73e58a10fcef6663af95e5079"}, - {file = "charset_normalizer-3.4.0.tar.gz", hash = "sha256:223217c3d4f82c3ac5e29032b3f1c2eb0fb591b72161f86d93f5719079dae93e"}, +python-versions = ">=3.7" +groups = ["main", "test"] +files = [ + {file = "charset_normalizer-3.4.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:91b36a978b5ae0ee86c394f5a54d6ef44db1de0815eb43de826d41d21e4af3de"}, + {file = "charset_normalizer-3.4.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7461baadb4dc00fd9e0acbe254e3d7d2112e7f92ced2adc96e54ef6501c5f176"}, + {file = "charset_normalizer-3.4.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e218488cd232553829be0664c2292d3af2eeeb94b32bea483cf79ac6a694e037"}, + {file = "charset_normalizer-3.4.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:80ed5e856eb7f30115aaf94e4a08114ccc8813e6ed1b5efa74f9f82e8509858f"}, + {file = "charset_normalizer-3.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b010a7a4fd316c3c484d482922d13044979e78d1861f0e0650423144c616a46a"}, + {file = "charset_normalizer-3.4.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4532bff1b8421fd0a320463030c7520f56a79c9024a4e88f01c537316019005a"}, + {file = "charset_normalizer-3.4.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:d973f03c0cb71c5ed99037b870f2be986c3c05e63622c017ea9816881d2dd247"}, + {file = "charset_normalizer-3.4.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:3a3bd0dcd373514dcec91c411ddb9632c0d7d92aed7093b8c3bbb6d69ca74408"}, + {file = "charset_normalizer-3.4.1-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:d9c3cdf5390dcd29aa8056d13e8e99526cda0305acc038b96b30352aff5ff2bb"}, + {file = "charset_normalizer-3.4.1-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:2bdfe3ac2e1bbe5b59a1a63721eb3b95fc9b6817ae4a46debbb4e11f6232428d"}, + {file = "charset_normalizer-3.4.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:eab677309cdb30d047996b36d34caeda1dc91149e4fdca0b1a039b3f79d9a807"}, + {file = "charset_normalizer-3.4.1-cp310-cp310-win32.whl", hash = "sha256:c0429126cf75e16c4f0ad00ee0eae4242dc652290f940152ca8c75c3a4b6ee8f"}, + {file = "charset_normalizer-3.4.1-cp310-cp310-win_amd64.whl", hash = "sha256:9f0b8b1c6d84c8034a44893aba5e767bf9c7a211e313a9605d9c617d7083829f"}, + {file = "charset_normalizer-3.4.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:8bfa33f4f2672964266e940dd22a195989ba31669bd84629f05fab3ef4e2d125"}, + {file = "charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:28bf57629c75e810b6ae989f03c0828d64d6b26a5e205535585f96093e405ed1"}, + {file = "charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f08ff5e948271dc7e18a35641d2f11a4cd8dfd5634f55228b691e62b37125eb3"}, + {file = "charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:234ac59ea147c59ee4da87a0c0f098e9c8d169f4dc2a159ef720f1a61bbe27cd"}, + {file = "charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd4ec41f914fa74ad1b8304bbc634b3de73d2a0889bd32076342a573e0779e00"}, + {file = "charset_normalizer-3.4.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eea6ee1db730b3483adf394ea72f808b6e18cf3cb6454b4d86e04fa8c4327a12"}, + {file = "charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c96836c97b1238e9c9e3fe90844c947d5afbf4f4c92762679acfe19927d81d77"}, + {file = "charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:4d86f7aff21ee58f26dcf5ae81a9addbd914115cdebcbb2217e4f0ed8982e146"}, + {file = "charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:09b5e6733cbd160dcc09589227187e242a30a49ca5cefa5a7edd3f9d19ed53fd"}, + {file = "charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:5777ee0881f9499ed0f71cc82cf873d9a0ca8af166dfa0af8ec4e675b7df48e6"}, + {file = "charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:237bdbe6159cff53b4f24f397d43c6336c6b0b42affbe857970cefbb620911c8"}, + {file = "charset_normalizer-3.4.1-cp311-cp311-win32.whl", hash = "sha256:8417cb1f36cc0bc7eaba8ccb0e04d55f0ee52df06df3ad55259b9a323555fc8b"}, + {file = "charset_normalizer-3.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:d7f50a1f8c450f3925cb367d011448c39239bb3eb4117c36a6d354794de4ce76"}, + {file = "charset_normalizer-3.4.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:73d94b58ec7fecbc7366247d3b0b10a21681004153238750bb67bd9012414545"}, + {file = "charset_normalizer-3.4.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dad3e487649f498dd991eeb901125411559b22e8d7ab25d3aeb1af367df5efd7"}, + {file = "charset_normalizer-3.4.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c30197aa96e8eed02200a83fba2657b4c3acd0f0aa4bdc9f6c1af8e8962e0757"}, + {file = "charset_normalizer-3.4.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2369eea1ee4a7610a860d88f268eb39b95cb588acd7235e02fd5a5601773d4fa"}, + {file = "charset_normalizer-3.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc2722592d8998c870fa4e290c2eec2c1569b87fe58618e67d38b4665dfa680d"}, + {file = "charset_normalizer-3.4.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ffc9202a29ab3920fa812879e95a9e78b2465fd10be7fcbd042899695d75e616"}, + {file = "charset_normalizer-3.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:804a4d582ba6e5b747c625bf1255e6b1507465494a40a2130978bda7b932c90b"}, + {file = "charset_normalizer-3.4.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:0f55e69f030f7163dffe9fd0752b32f070566451afe180f99dbeeb81f511ad8d"}, + {file = "charset_normalizer-3.4.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:c4c3e6da02df6fa1410a7680bd3f63d4f710232d3139089536310d027950696a"}, + {file = "charset_normalizer-3.4.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:5df196eb874dae23dcfb968c83d4f8fdccb333330fe1fc278ac5ceeb101003a9"}, + {file = "charset_normalizer-3.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e358e64305fe12299a08e08978f51fc21fac060dcfcddd95453eabe5b93ed0e1"}, + {file = "charset_normalizer-3.4.1-cp312-cp312-win32.whl", hash = "sha256:9b23ca7ef998bc739bf6ffc077c2116917eabcc901f88da1b9856b210ef63f35"}, + {file = "charset_normalizer-3.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:6ff8a4a60c227ad87030d76e99cd1698345d4491638dfa6673027c48b3cd395f"}, + {file = "charset_normalizer-3.4.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:aabfa34badd18f1da5ec1bc2715cadc8dca465868a4e73a0173466b688f29dda"}, + {file = "charset_normalizer-3.4.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:22e14b5d70560b8dd51ec22863f370d1e595ac3d024cb8ad7d308b4cd95f8313"}, + {file = "charset_normalizer-3.4.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8436c508b408b82d87dc5f62496973a1805cd46727c34440b0d29d8a2f50a6c9"}, + {file = "charset_normalizer-3.4.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2d074908e1aecee37a7635990b2c6d504cd4766c7bc9fc86d63f9c09af3fa11b"}, + {file = "charset_normalizer-3.4.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:955f8851919303c92343d2f66165294848d57e9bba6cf6e3625485a70a038d11"}, + {file = "charset_normalizer-3.4.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:44ecbf16649486d4aebafeaa7ec4c9fed8b88101f4dd612dcaf65d5e815f837f"}, + {file = "charset_normalizer-3.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:0924e81d3d5e70f8126529951dac65c1010cdf117bb75eb02dd12339b57749dd"}, + {file = "charset_normalizer-3.4.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:2967f74ad52c3b98de4c3b32e1a44e32975e008a9cd2a8cc8966d6a5218c5cb2"}, + {file = "charset_normalizer-3.4.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:c75cb2a3e389853835e84a2d8fb2b81a10645b503eca9bcb98df6b5a43eb8886"}, + {file = "charset_normalizer-3.4.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:09b26ae6b1abf0d27570633b2b078a2a20419c99d66fb2823173d73f188ce601"}, + {file = "charset_normalizer-3.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:fa88b843d6e211393a37219e6a1c1df99d35e8fd90446f1118f4216e307e48cd"}, + {file = "charset_normalizer-3.4.1-cp313-cp313-win32.whl", hash = "sha256:eb8178fe3dba6450a3e024e95ac49ed3400e506fd4e9e5c32d30adda88cbd407"}, + {file = "charset_normalizer-3.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:b1ac5992a838106edb89654e0aebfc24f5848ae2547d22c2c3f66454daa11971"}, + {file = "charset_normalizer-3.4.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f30bf9fd9be89ecb2360c7d94a711f00c09b976258846efe40db3d05828e8089"}, + {file = "charset_normalizer-3.4.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:97f68b8d6831127e4787ad15e6757232e14e12060bec17091b85eb1486b91d8d"}, + {file = "charset_normalizer-3.4.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7974a0b5ecd505609e3b19742b60cee7aa2aa2fb3151bc917e6e2646d7667dcf"}, + {file = "charset_normalizer-3.4.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fc54db6c8593ef7d4b2a331b58653356cf04f67c960f584edb7c3d8c97e8f39e"}, + {file = "charset_normalizer-3.4.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:311f30128d7d333eebd7896965bfcfbd0065f1716ec92bd5638d7748eb6f936a"}, + {file = "charset_normalizer-3.4.1-cp37-cp37m-musllinux_1_2_aarch64.whl", hash = "sha256:7d053096f67cd1241601111b698f5cad775f97ab25d81567d3f59219b5f1adbd"}, + {file = "charset_normalizer-3.4.1-cp37-cp37m-musllinux_1_2_i686.whl", hash = "sha256:807f52c1f798eef6cf26beb819eeb8819b1622ddfeef9d0977a8502d4db6d534"}, + {file = "charset_normalizer-3.4.1-cp37-cp37m-musllinux_1_2_ppc64le.whl", hash = "sha256:dccbe65bd2f7f7ec22c4ff99ed56faa1e9f785482b9bbd7c717e26fd723a1d1e"}, + {file = "charset_normalizer-3.4.1-cp37-cp37m-musllinux_1_2_s390x.whl", hash = "sha256:2fb9bd477fdea8684f78791a6de97a953c51831ee2981f8e4f583ff3b9d9687e"}, + {file = "charset_normalizer-3.4.1-cp37-cp37m-musllinux_1_2_x86_64.whl", hash = "sha256:01732659ba9b5b873fc117534143e4feefecf3b2078b0a6a2e925271bb6f4cfa"}, + {file = "charset_normalizer-3.4.1-cp37-cp37m-win32.whl", hash = "sha256:7a4f97a081603d2050bfaffdefa5b02a9ec823f8348a572e39032caa8404a487"}, + {file = "charset_normalizer-3.4.1-cp37-cp37m-win_amd64.whl", hash = "sha256:7b1bef6280950ee6c177b326508f86cad7ad4dff12454483b51d8b7d673a2c5d"}, + {file = "charset_normalizer-3.4.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:ecddf25bee22fe4fe3737a399d0d177d72bc22be6913acfab364b40bce1ba83c"}, + {file = "charset_normalizer-3.4.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8c60ca7339acd497a55b0ea5d506b2a2612afb2826560416f6894e8b5770d4a9"}, + {file = "charset_normalizer-3.4.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b7b2d86dd06bfc2ade3312a83a5c364c7ec2e3498f8734282c6c3d4b07b346b8"}, + {file = "charset_normalizer-3.4.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dd78cfcda14a1ef52584dbb008f7ac81c1328c0f58184bf9a84c49c605002da6"}, + {file = "charset_normalizer-3.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6e27f48bcd0957c6d4cb9d6fa6b61d192d0b13d5ef563e5f2ae35feafc0d179c"}, + {file = "charset_normalizer-3.4.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:01ad647cdd609225c5350561d084b42ddf732f4eeefe6e678765636791e78b9a"}, + {file = "charset_normalizer-3.4.1-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:619a609aa74ae43d90ed2e89bdd784765de0a25ca761b93e196d938b8fd1dbbd"}, + {file = "charset_normalizer-3.4.1-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:89149166622f4db9b4b6a449256291dc87a99ee53151c74cbd82a53c8c2f6ccd"}, + {file = "charset_normalizer-3.4.1-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:7709f51f5f7c853f0fb938bcd3bc59cdfdc5203635ffd18bf354f6967ea0f824"}, + {file = "charset_normalizer-3.4.1-cp38-cp38-musllinux_1_2_s390x.whl", hash = "sha256:345b0426edd4e18138d6528aed636de7a9ed169b4aaf9d61a8c19e39d26838ca"}, + {file = "charset_normalizer-3.4.1-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:0907f11d019260cdc3f94fbdb23ff9125f6b5d1039b76003b5b0ac9d6a6c9d5b"}, + {file = "charset_normalizer-3.4.1-cp38-cp38-win32.whl", hash = "sha256:ea0d8d539afa5eb2728aa1932a988a9a7af94f18582ffae4bc10b3fbdad0626e"}, + {file = "charset_normalizer-3.4.1-cp38-cp38-win_amd64.whl", hash = "sha256:329ce159e82018d646c7ac45b01a430369d526569ec08516081727a20e9e4af4"}, + {file = "charset_normalizer-3.4.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:b97e690a2118911e39b4042088092771b4ae3fc3aa86518f84b8cf6888dbdb41"}, + {file = "charset_normalizer-3.4.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:78baa6d91634dfb69ec52a463534bc0df05dbd546209b79a3880a34487f4b84f"}, + {file = "charset_normalizer-3.4.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1a2bc9f351a75ef49d664206d51f8e5ede9da246602dc2d2726837620ea034b2"}, + {file = "charset_normalizer-3.4.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:75832c08354f595c760a804588b9357d34ec00ba1c940c15e31e96d902093770"}, + {file = "charset_normalizer-3.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0af291f4fe114be0280cdd29d533696a77b5b49cfde5467176ecab32353395c4"}, + {file = "charset_normalizer-3.4.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0167ddc8ab6508fe81860a57dd472b2ef4060e8d378f0cc555707126830f2537"}, + {file = "charset_normalizer-3.4.1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:2a75d49014d118e4198bcee5ee0a6f25856b29b12dbf7cd012791f8a6cc5c496"}, + {file = "charset_normalizer-3.4.1-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:363e2f92b0f0174b2f8238240a1a30142e3db7b957a5dd5689b0e75fb717cc78"}, + {file = "charset_normalizer-3.4.1-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:ab36c8eb7e454e34e60eb55ca5d241a5d18b2c6244f6827a30e451c42410b5f7"}, + {file = "charset_normalizer-3.4.1-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:4c0907b1928a36d5a998d72d64d8eaa7244989f7aaaf947500d3a800c83a3fd6"}, + {file = "charset_normalizer-3.4.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:04432ad9479fa40ec0f387795ddad4437a2b50417c69fa275e212933519ff294"}, + {file = "charset_normalizer-3.4.1-cp39-cp39-win32.whl", hash = "sha256:3bed14e9c89dcb10e8f3a29f9ccac4955aebe93c71ae803af79265c9ca5644c5"}, + {file = "charset_normalizer-3.4.1-cp39-cp39-win_amd64.whl", hash = "sha256:49402233c892a461407c512a19435d1ce275543138294f7ef013f0b63d5d3765"}, + {file = "charset_normalizer-3.4.1-py3-none-any.whl", hash = "sha256:d98b1668f06378c6dbefec3b92299716b931cd4e6061f3c875a71ced1780ab85"}, + {file = "charset_normalizer-3.4.1.tar.gz", hash = "sha256:44251f18cd68a75b56585dd00dae26183e102cd5e0f9f1466e6df5da2ed64ea3"}, ] [[package]] @@ -617,6 +644,7 @@ version = "1.0.2" description = "Python bindings for C-KZG-4844" optional = false python-versions = "*" +groups = ["main"] files = [ {file = "ckzg-1.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:bdd082bc0f2a595e3546658ecbe1ff78fe65b0ab7e619a8197a62d94f46b5b46"}, {file = "ckzg-1.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:50ca4af4e2f1a1e8b0a7e97b3aef39dedbb0d52d90866ece424f13f8df1b5972"}, @@ -707,13 +735,14 @@ files = [ [[package]] name = "click" -version = "8.1.7" +version = "8.1.8" description = "Composable command line interface toolkit" optional = false python-versions = ">=3.7" +groups = ["dev"] files = [ - {file = "click-8.1.7-py3-none-any.whl", hash = "sha256:ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28"}, - {file = "click-8.1.7.tar.gz", hash = "sha256:ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"}, + {file = "click-8.1.8-py3-none-any.whl", hash = "sha256:63c132bbbed01578a06712a2d1f497bb62d9c1c0d329b7903a866228027263b2"}, + {file = "click-8.1.8.tar.gz", hash = "sha256:ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a"}, ] [package.dependencies] @@ -725,6 +754,7 @@ version = "20.0.0" description = "Cross-platform Python CFFI bindings for libsecp256k1" optional = false python-versions = ">=3.8" +groups = ["main"] files = [ {file = "coincurve-20.0.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d559b22828638390118cae9372a1bb6f6594f5584c311deb1de6a83163a0919b"}, {file = "coincurve-20.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:33d7f6ebd90fcc550f819f7f2cce2af525c342aac07f0ccda46ad8956ad9d99b"}, @@ -791,80 +821,83 @@ version = "0.4.6" description = "Cross-platform colored terminal text." optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" +groups = ["dev", "test"] files = [ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] +markers = {test = "sys_platform == \"win32\""} [[package]] name = "coverage" -version = "7.6.9" +version = "7.6.10" description = "Code coverage measurement for Python" optional = false python-versions = ">=3.9" -files = [ - {file = "coverage-7.6.9-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:85d9636f72e8991a1706b2b55b06c27545448baf9f6dbf51c4004609aacd7dcb"}, - {file = "coverage-7.6.9-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:608a7fd78c67bee8936378299a6cb9f5149bb80238c7a566fc3e6717a4e68710"}, - {file = "coverage-7.6.9-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:96d636c77af18b5cb664ddf12dab9b15a0cfe9c0bde715da38698c8cea748bfa"}, - {file = "coverage-7.6.9-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d75cded8a3cff93da9edc31446872d2997e327921d8eed86641efafd350e1df1"}, - {file = "coverage-7.6.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f7b15f589593110ae767ce997775d645b47e5cbbf54fd322f8ebea6277466cec"}, - {file = "coverage-7.6.9-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:44349150f6811b44b25574839b39ae35291f6496eb795b7366fef3bd3cf112d3"}, - {file = "coverage-7.6.9-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:d891c136b5b310d0e702e186d70cd16d1119ea8927347045124cb286b29297e5"}, - {file = "coverage-7.6.9-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:db1dab894cc139f67822a92910466531de5ea6034ddfd2b11c0d4c6257168073"}, - {file = "coverage-7.6.9-cp310-cp310-win32.whl", hash = "sha256:41ff7b0da5af71a51b53f501a3bac65fb0ec311ebed1632e58fc6107f03b9198"}, - {file = "coverage-7.6.9-cp310-cp310-win_amd64.whl", hash = "sha256:35371f8438028fdccfaf3570b31d98e8d9eda8bb1d6ab9473f5a390969e98717"}, - {file = "coverage-7.6.9-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:932fc826442132dde42ee52cf66d941f581c685a6313feebed358411238f60f9"}, - {file = "coverage-7.6.9-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:085161be5f3b30fd9b3e7b9a8c301f935c8313dcf928a07b116324abea2c1c2c"}, - {file = "coverage-7.6.9-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ccc660a77e1c2bf24ddbce969af9447a9474790160cfb23de6be4fa88e3951c7"}, - {file = "coverage-7.6.9-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c69e42c892c018cd3c8d90da61d845f50a8243062b19d228189b0224150018a9"}, - {file = "coverage-7.6.9-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0824a28ec542a0be22f60c6ac36d679e0e262e5353203bea81d44ee81fe9c6d4"}, - {file = "coverage-7.6.9-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:4401ae5fc52ad8d26d2a5d8a7428b0f0c72431683f8e63e42e70606374c311a1"}, - {file = "coverage-7.6.9-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:98caba4476a6c8d59ec1eb00c7dd862ba9beca34085642d46ed503cc2d440d4b"}, - {file = "coverage-7.6.9-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ee5defd1733fd6ec08b168bd4f5387d5b322f45ca9e0e6c817ea6c4cd36313e3"}, - {file = "coverage-7.6.9-cp311-cp311-win32.whl", hash = "sha256:f2d1ec60d6d256bdf298cb86b78dd715980828f50c46701abc3b0a2b3f8a0dc0"}, - {file = "coverage-7.6.9-cp311-cp311-win_amd64.whl", hash = "sha256:0d59fd927b1f04de57a2ba0137166d31c1a6dd9e764ad4af552912d70428c92b"}, - {file = "coverage-7.6.9-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:99e266ae0b5d15f1ca8d278a668df6f51cc4b854513daab5cae695ed7b721cf8"}, - {file = "coverage-7.6.9-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:9901d36492009a0a9b94b20e52ebfc8453bf49bb2b27bca2c9706f8b4f5a554a"}, - {file = "coverage-7.6.9-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:abd3e72dd5b97e3af4246cdada7738ef0e608168de952b837b8dd7e90341f015"}, - {file = "coverage-7.6.9-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ff74026a461eb0660366fb01c650c1d00f833a086b336bdad7ab00cc952072b3"}, - {file = "coverage-7.6.9-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:65dad5a248823a4996724a88eb51d4b31587aa7aa428562dbe459c684e5787ae"}, - {file = "coverage-7.6.9-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:22be16571504c9ccea919fcedb459d5ab20d41172056206eb2994e2ff06118a4"}, - {file = "coverage-7.6.9-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:0f957943bc718b87144ecaee70762bc2bc3f1a7a53c7b861103546d3a403f0a6"}, - {file = "coverage-7.6.9-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0ae1387db4aecb1f485fb70a6c0148c6cdaebb6038f1d40089b1fc84a5db556f"}, - {file = "coverage-7.6.9-cp312-cp312-win32.whl", hash = "sha256:1a330812d9cc7ac2182586f6d41b4d0fadf9be9049f350e0efb275c8ee8eb692"}, - {file = "coverage-7.6.9-cp312-cp312-win_amd64.whl", hash = "sha256:b12c6b18269ca471eedd41c1b6a1065b2f7827508edb9a7ed5555e9a56dcfc97"}, - {file = "coverage-7.6.9-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:899b8cd4781c400454f2f64f7776a5d87bbd7b3e7f7bda0cb18f857bb1334664"}, - {file = "coverage-7.6.9-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:61f70dc68bd36810972e55bbbe83674ea073dd1dcc121040a08cdf3416c5349c"}, - {file = "coverage-7.6.9-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8a289d23d4c46f1a82d5db4abeb40b9b5be91731ee19a379d15790e53031c014"}, - {file = "coverage-7.6.9-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7e216d8044a356fc0337c7a2a0536d6de07888d7bcda76febcb8adc50bdbbd00"}, - {file = "coverage-7.6.9-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3c026eb44f744acaa2bda7493dad903aa5bf5fc4f2554293a798d5606710055d"}, - {file = "coverage-7.6.9-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:e77363e8425325384f9d49272c54045bbed2f478e9dd698dbc65dbc37860eb0a"}, - {file = "coverage-7.6.9-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:777abfab476cf83b5177b84d7486497e034eb9eaea0d746ce0c1268c71652077"}, - {file = "coverage-7.6.9-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:447af20e25fdbe16f26e84eb714ba21d98868705cb138252d28bc400381f6ffb"}, - {file = "coverage-7.6.9-cp313-cp313-win32.whl", hash = "sha256:d872ec5aeb086cbea771c573600d47944eea2dcba8be5f3ee649bfe3cb8dc9ba"}, - {file = "coverage-7.6.9-cp313-cp313-win_amd64.whl", hash = "sha256:fd1213c86e48dfdc5a0cc676551db467495a95a662d2396ecd58e719191446e1"}, - {file = "coverage-7.6.9-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:ba9e7484d286cd5a43744e5f47b0b3fb457865baf07bafc6bee91896364e1419"}, - {file = "coverage-7.6.9-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:e5ea1cf0872ee455c03e5674b5bca5e3e68e159379c1af0903e89f5eba9ccc3a"}, - {file = "coverage-7.6.9-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2d10e07aa2b91835d6abec555ec8b2733347956991901eea6ffac295f83a30e4"}, - {file = "coverage-7.6.9-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:13a9e2d3ee855db3dd6ea1ba5203316a1b1fd8eaeffc37c5b54987e61e4194ae"}, - {file = "coverage-7.6.9-cp313-cp313t-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9c38bf15a40ccf5619fa2fe8f26106c7e8e080d7760aeccb3722664c8656b030"}, - {file = "coverage-7.6.9-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:d5275455b3e4627c8e7154feaf7ee0743c2e7af82f6e3b561967b1cca755a0be"}, - {file = "coverage-7.6.9-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:8f8770dfc6e2c6a2d4569f411015c8d751c980d17a14b0530da2d7f27ffdd88e"}, - {file = "coverage-7.6.9-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8d2dfa71665a29b153a9681edb1c8d9c1ea50dfc2375fb4dac99ea7e21a0bcd9"}, - {file = "coverage-7.6.9-cp313-cp313t-win32.whl", hash = "sha256:5e6b86b5847a016d0fbd31ffe1001b63355ed309651851295315031ea7eb5a9b"}, - {file = "coverage-7.6.9-cp313-cp313t-win_amd64.whl", hash = "sha256:97ddc94d46088304772d21b060041c97fc16bdda13c6c7f9d8fcd8d5ae0d8611"}, - {file = "coverage-7.6.9-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:adb697c0bd35100dc690de83154627fbab1f4f3c0386df266dded865fc50a902"}, - {file = "coverage-7.6.9-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:be57b6d56e49c2739cdf776839a92330e933dd5e5d929966fbbd380c77f060be"}, - {file = "coverage-7.6.9-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f1592791f8204ae9166de22ba7e6705fa4ebd02936c09436a1bb85aabca3e599"}, - {file = "coverage-7.6.9-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4e12ae8cc979cf83d258acb5e1f1cf2f3f83524d1564a49d20b8bec14b637f08"}, - {file = "coverage-7.6.9-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bb5555cff66c4d3d6213a296b360f9e1a8e323e74e0426b6c10ed7f4d021e464"}, - {file = "coverage-7.6.9-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:b9389a429e0e5142e69d5bf4a435dd688c14478a19bb901735cdf75e57b13845"}, - {file = "coverage-7.6.9-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:592ac539812e9b46046620341498caf09ca21023c41c893e1eb9dbda00a70cbf"}, - {file = "coverage-7.6.9-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:a27801adef24cc30871da98a105f77995e13a25a505a0161911f6aafbd66e678"}, - {file = "coverage-7.6.9-cp39-cp39-win32.whl", hash = "sha256:8e3c3e38930cfb729cb8137d7f055e5a473ddaf1217966aa6238c88bd9fd50e6"}, - {file = "coverage-7.6.9-cp39-cp39-win_amd64.whl", hash = "sha256:e28bf44afa2b187cc9f41749138a64435bf340adfcacb5b2290c070ce99839d4"}, - {file = "coverage-7.6.9-pp39.pp310-none-any.whl", hash = "sha256:f3ca78518bc6bc92828cd11867b121891d75cae4ea9e908d72030609b996db1b"}, - {file = "coverage-7.6.9.tar.gz", hash = "sha256:4a8d8977b0c6ef5aeadcb644da9e69ae0dcfe66ec7f368c89c72e058bd71164d"}, +groups = ["test"] +files = [ + {file = "coverage-7.6.10-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:5c912978f7fbf47ef99cec50c4401340436d200d41d714c7a4766f377c5b7b78"}, + {file = "coverage-7.6.10-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a01ec4af7dfeb96ff0078ad9a48810bb0cc8abcb0115180c6013a6b26237626c"}, + {file = "coverage-7.6.10-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a3b204c11e2b2d883946fe1d97f89403aa1811df28ce0447439178cc7463448a"}, + {file = "coverage-7.6.10-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:32ee6d8491fcfc82652a37109f69dee9a830e9379166cb73c16d8dc5c2915165"}, + {file = "coverage-7.6.10-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:675cefc4c06e3b4c876b85bfb7c59c5e2218167bbd4da5075cbe3b5790a28988"}, + {file = "coverage-7.6.10-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:f4f620668dbc6f5e909a0946a877310fb3d57aea8198bde792aae369ee1c23b5"}, + {file = "coverage-7.6.10-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:4eea95ef275de7abaef630c9b2c002ffbc01918b726a39f5a4353916ec72d2f3"}, + {file = "coverage-7.6.10-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:e2f0280519e42b0a17550072861e0bc8a80a0870de260f9796157d3fca2733c5"}, + {file = "coverage-7.6.10-cp310-cp310-win32.whl", hash = "sha256:bc67deb76bc3717f22e765ab3e07ee9c7a5e26b9019ca19a3b063d9f4b874244"}, + {file = "coverage-7.6.10-cp310-cp310-win_amd64.whl", hash = "sha256:0f460286cb94036455e703c66988851d970fdfd8acc2a1122ab7f4f904e4029e"}, + {file = "coverage-7.6.10-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ea3c8f04b3e4af80e17bab607c386a830ffc2fb88a5484e1df756478cf70d1d3"}, + {file = "coverage-7.6.10-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:507a20fc863cae1d5720797761b42d2d87a04b3e5aeb682ef3b7332e90598f43"}, + {file = "coverage-7.6.10-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d37a84878285b903c0fe21ac8794c6dab58150e9359f1aaebbeddd6412d53132"}, + {file = "coverage-7.6.10-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a534738b47b0de1995f85f582d983d94031dffb48ab86c95bdf88dc62212142f"}, + {file = "coverage-7.6.10-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0d7a2bf79378d8fb8afaa994f91bfd8215134f8631d27eba3e0e2c13546ce994"}, + {file = "coverage-7.6.10-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6713ba4b4ebc330f3def51df1d5d38fad60b66720948112f114968feb52d3f99"}, + {file = "coverage-7.6.10-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:ab32947f481f7e8c763fa2c92fd9f44eeb143e7610c4ca9ecd6a36adab4081bd"}, + {file = "coverage-7.6.10-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:7bbd8c8f1b115b892e34ba66a097b915d3871db7ce0e6b9901f462ff3a975377"}, + {file = "coverage-7.6.10-cp311-cp311-win32.whl", hash = "sha256:299e91b274c5c9cdb64cbdf1b3e4a8fe538a7a86acdd08fae52301b28ba297f8"}, + {file = "coverage-7.6.10-cp311-cp311-win_amd64.whl", hash = "sha256:489a01f94aa581dbd961f306e37d75d4ba16104bbfa2b0edb21d29b73be83609"}, + {file = "coverage-7.6.10-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:27c6e64726b307782fa5cbe531e7647aee385a29b2107cd87ba7c0105a5d3853"}, + {file = "coverage-7.6.10-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c56e097019e72c373bae32d946ecf9858fda841e48d82df7e81c63ac25554078"}, + {file = "coverage-7.6.10-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c7827a5bc7bdb197b9e066cdf650b2887597ad124dd99777332776f7b7c7d0d0"}, + {file = "coverage-7.6.10-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:204a8238afe787323a8b47d8be4df89772d5c1e4651b9ffa808552bdf20e1d50"}, + {file = "coverage-7.6.10-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e67926f51821b8e9deb6426ff3164870976fe414d033ad90ea75e7ed0c2e5022"}, + {file = "coverage-7.6.10-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e78b270eadb5702938c3dbe9367f878249b5ef9a2fcc5360ac7bff694310d17b"}, + {file = "coverage-7.6.10-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:714f942b9c15c3a7a5fe6876ce30af831c2ad4ce902410b7466b662358c852c0"}, + {file = "coverage-7.6.10-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:abb02e2f5a3187b2ac4cd46b8ced85a0858230b577ccb2c62c81482ca7d18852"}, + {file = "coverage-7.6.10-cp312-cp312-win32.whl", hash = "sha256:55b201b97286cf61f5e76063f9e2a1d8d2972fc2fcfd2c1272530172fd28c359"}, + {file = "coverage-7.6.10-cp312-cp312-win_amd64.whl", hash = "sha256:e4ae5ac5e0d1e4edfc9b4b57b4cbecd5bc266a6915c500f358817a8496739247"}, + {file = "coverage-7.6.10-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:05fca8ba6a87aabdd2d30d0b6c838b50510b56cdcfc604d40760dae7153b73d9"}, + {file = "coverage-7.6.10-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:9e80eba8801c386f72e0712a0453431259c45c3249f0009aff537a517b52942b"}, + {file = "coverage-7.6.10-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a372c89c939d57abe09e08c0578c1d212e7a678135d53aa16eec4430adc5e690"}, + {file = "coverage-7.6.10-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ec22b5e7fe7a0fa8509181c4aac1db48f3dd4d3a566131b313d1efc102892c18"}, + {file = "coverage-7.6.10-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:26bcf5c4df41cad1b19c84af71c22cbc9ea9a547fc973f1f2cc9a290002c8b3c"}, + {file = "coverage-7.6.10-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4e4630c26b6084c9b3cb53b15bd488f30ceb50b73c35c5ad7871b869cb7365fd"}, + {file = "coverage-7.6.10-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:2396e8116db77789f819d2bc8a7e200232b7a282c66e0ae2d2cd84581a89757e"}, + {file = "coverage-7.6.10-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:79109c70cc0882e4d2d002fe69a24aa504dec0cc17169b3c7f41a1d341a73694"}, + {file = "coverage-7.6.10-cp313-cp313-win32.whl", hash = "sha256:9e1747bab246d6ff2c4f28b4d186b205adced9f7bd9dc362051cc37c4a0c7bd6"}, + {file = "coverage-7.6.10-cp313-cp313-win_amd64.whl", hash = "sha256:254f1a3b1eef5f7ed23ef265eaa89c65c8c5b6b257327c149db1ca9d4a35f25e"}, + {file = "coverage-7.6.10-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:2ccf240eb719789cedbb9fd1338055de2761088202a9a0b73032857e53f612fe"}, + {file = "coverage-7.6.10-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:0c807ca74d5a5e64427c8805de15b9ca140bba13572d6d74e262f46f50b13273"}, + {file = "coverage-7.6.10-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2bcfa46d7709b5a7ffe089075799b902020b62e7ee56ebaed2f4bdac04c508d8"}, + {file = "coverage-7.6.10-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4e0de1e902669dccbf80b0415fb6b43d27edca2fbd48c74da378923b05316098"}, + {file = "coverage-7.6.10-cp313-cp313t-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3f7b444c42bbc533aaae6b5a2166fd1a797cdb5eb58ee51a92bee1eb94a1e1cb"}, + {file = "coverage-7.6.10-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:b330368cb99ef72fcd2dc3ed260adf67b31499584dc8a20225e85bfe6f6cfed0"}, + {file = "coverage-7.6.10-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:9a7cfb50515f87f7ed30bc882f68812fd98bc2852957df69f3003d22a2aa0abf"}, + {file = "coverage-7.6.10-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:6f93531882a5f68c28090f901b1d135de61b56331bba82028489bc51bdd818d2"}, + {file = "coverage-7.6.10-cp313-cp313t-win32.whl", hash = "sha256:89d76815a26197c858f53c7f6a656686ec392b25991f9e409bcef020cd532312"}, + {file = "coverage-7.6.10-cp313-cp313t-win_amd64.whl", hash = "sha256:54a5f0f43950a36312155dae55c505a76cd7f2b12d26abeebbe7a0b36dbc868d"}, + {file = "coverage-7.6.10-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:656c82b8a0ead8bba147de9a89bda95064874c91a3ed43a00e687f23cc19d53a"}, + {file = "coverage-7.6.10-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ccc2b70a7ed475c68ceb548bf69cec1e27305c1c2606a5eb7c3afff56a1b3b27"}, + {file = "coverage-7.6.10-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a5e37dc41d57ceba70956fa2fc5b63c26dba863c946ace9705f8eca99daecdc4"}, + {file = "coverage-7.6.10-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0aa9692b4fdd83a4647eeb7db46410ea1322b5ed94cd1715ef09d1d5922ba87f"}, + {file = "coverage-7.6.10-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aa744da1820678b475e4ba3dfd994c321c5b13381d1041fe9c608620e6676e25"}, + {file = "coverage-7.6.10-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:c0b1818063dc9e9d838c09e3a473c1422f517889436dd980f5d721899e66f315"}, + {file = "coverage-7.6.10-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:59af35558ba08b758aec4d56182b222976330ef8d2feacbb93964f576a7e7a90"}, + {file = "coverage-7.6.10-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:7ed2f37cfce1ce101e6dffdfd1c99e729dd2ffc291d02d3e2d0af8b53d13840d"}, + {file = "coverage-7.6.10-cp39-cp39-win32.whl", hash = "sha256:4bcc276261505d82f0ad426870c3b12cb177752834a633e737ec5ee79bbdff18"}, + {file = "coverage-7.6.10-cp39-cp39-win_amd64.whl", hash = "sha256:457574f4599d2b00f7f637a0700a6422243b3565509457b2dbd3f50703e11f59"}, + {file = "coverage-7.6.10-pp39.pp310-none-any.whl", hash = "sha256:fd34e7b3405f0cc7ab03d54a334c17a9e802897580d964bd8c2001f4b9fd488f"}, + {file = "coverage-7.6.10.tar.gz", hash = "sha256:7fb105327c8f8f0682e29843e2ff96af9dcbe5bab8eeb4b398c6a33a16d80a23"}, ] [package.dependencies] @@ -875,97 +908,113 @@ toml = ["tomli"] [[package]] name = "cytoolz" -version = "1.0.0" +version = "1.0.1" description = "Cython implementation of Toolz: High performance functional utilities" optional = false python-versions = ">=3.8" -files = [ - {file = "cytoolz-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ecf5a887acb8f079ab1b81612b1c889bcbe6611aa7804fd2df46ed310aa5a345"}, - {file = "cytoolz-1.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ef0ef30c1e091d4d59d14d8108a16d50bd227be5d52a47da891da5019ac2f8e4"}, - {file = "cytoolz-1.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7df2dfd679f0517a96ced1cdd22f5c6c6aeeed28d928a82a02bf4c3fd6fd7ac4"}, - {file = "cytoolz-1.0.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8c51452c938e610f57551aa96e34924169c9100c0448bac88c2fb395cbd3538c"}, - {file = "cytoolz-1.0.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6433f03910c5e5345d82d6299457c26bf33821224ebb837c6b09d9cdbc414a6c"}, - {file = "cytoolz-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:389ec328bb535f09e71dfe658bf0041f17194ca4cedaacd39bafe7893497a819"}, - {file = "cytoolz-1.0.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c64658e1209517ce4b54c1c9269a508b289d8d55fc742760e4b8579eacf09a33"}, - {file = "cytoolz-1.0.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:f6039a9bd5bb988762458b9ca82b39e60ca5e5baae2ba93913990dcc5d19fa88"}, - {file = "cytoolz-1.0.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:85c9c8c4465ed1b2c8d67003809aec9627b129cb531d2f6cf0bbfe39952e7e4d"}, - {file = "cytoolz-1.0.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:49375aad431d76650f94877afb92f09f58b6ff9055079ef4f2cd55313f5a1b39"}, - {file = "cytoolz-1.0.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:4c45106171c824a61e755355520b646cb35a1987b34bbf5789443823ee137f63"}, - {file = "cytoolz-1.0.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:3b319a7f0fed5db07d189db4046162ebc183c108df3562a65ba6ebe862d1f634"}, - {file = "cytoolz-1.0.0-cp310-cp310-win32.whl", hash = "sha256:9770e1b09748ad0d751853d994991e2592a9f8c464a87014365f80dac2e83faa"}, - {file = "cytoolz-1.0.0-cp310-cp310-win_amd64.whl", hash = "sha256:20194dd02954c00c1f0755e636be75a20781f91a4ac9270c7f747e82d3c7f5a5"}, - {file = "cytoolz-1.0.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:dffc22fd2c91be64dbdbc462d0786f8e8ac9a275cfa1869a1084d1867d4f67e0"}, - {file = "cytoolz-1.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a99e7e29274e293f4ffe20e07f76c2ac753a78f1b40c1828dfc54b2981b2f6c4"}, - {file = "cytoolz-1.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c507a3e0a45c41d66b43f96797290d75d1e7a8549aa03a4a6b8854fdf3f7b8d8"}, - {file = "cytoolz-1.0.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:643a593ec272ef7429099e1182a22f64ec2696c00d295d2a5be390db1b7ff176"}, - {file = "cytoolz-1.0.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6ce38e2e42cbae30446190c59b92a8a9029e1806fd79eaf88f48b0fe33003893"}, - {file = "cytoolz-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:810a6a168b8c5ecb412fbae3dd6f7ed6c6253a63caf4174ee9794ebd29b2224f"}, - {file = "cytoolz-1.0.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0ce8a2a85c0741c1b19b16e6782c4a5abc54c3caecda66793447112ab2fa9884"}, - {file = "cytoolz-1.0.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:ea4ac72e6b830861035c4c7999af8e55813f57c6d1913a3d93cc4a6babc27bf7"}, - {file = "cytoolz-1.0.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:a09cdfb21dfb38aa04df43e7546a41f673377eb5485da88ceb784e327ec7603b"}, - {file = "cytoolz-1.0.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:658dd85deb375ff7af990a674e5c9058cef1c9d1f5dc89bc87b77be499348144"}, - {file = "cytoolz-1.0.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:9715d1ff5576919d10b68f17241375f6a1eec8961c25b78a83e6ef1487053f39"}, - {file = "cytoolz-1.0.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f370a1f1f1afc5c1c8cc5edc1cfe0ba444263a0772af7ce094be8e734f41769d"}, - {file = "cytoolz-1.0.0-cp311-cp311-win32.whl", hash = "sha256:dbb2ec1177dca700f3db2127e572da20de280c214fc587b2a11c717fc421af56"}, - {file = "cytoolz-1.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:0983eee73df86e54bb4a79fcc4996aa8b8368fdbf43897f02f9c3bf39c4dc4fb"}, - {file = "cytoolz-1.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:10e3986066dc379e30e225b230754d9f5996aa8d84c2accc69c473c21d261e46"}, - {file = "cytoolz-1.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:16576f1bb143ee2cb9f719fcc4b845879fb121f9075c7c5e8a5ff4854bd02fc6"}, - {file = "cytoolz-1.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3faa25a1840b984315e8b3ae517312375f4273ffc9a2f035f548b7f916884f37"}, - {file = "cytoolz-1.0.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:781fce70a277b20fd95dc66811d1a97bb07b611ceea9bda8b7dd3c6a4b05d59a"}, - {file = "cytoolz-1.0.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7a562c25338eb24d419d1e80a7ae12133844ce6fdeb4ab54459daf250088a1b2"}, - {file = "cytoolz-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f29d8330aaf070304f7cd5cb7e73e198753624eb0aec278557cccd460c699b5b"}, - {file = "cytoolz-1.0.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:98a96c54aa55ed9c7cdb23c2f0df39a7b4ee518ac54888480b5bdb5ef69c7ef0"}, - {file = "cytoolz-1.0.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:287d6d7f475882c2ddcbedf8da9a9b37d85b77690779a2d1cdceb5ae3998d52e"}, - {file = "cytoolz-1.0.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:05a871688df749b982839239fcd3f8ec3b3b4853775d575ff9cd335fa7c75035"}, - {file = "cytoolz-1.0.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:28bb88e1e2f7d6d4b8e0890b06d292c568984d717de3e8381f2ca1dd12af6470"}, - {file = "cytoolz-1.0.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:576a4f1fc73d8836b10458b583f915849da6e4f7914f4ecb623ad95c2508cad5"}, - {file = "cytoolz-1.0.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:509ed3799c47e4ada14f63e41e8f540ac6e2dab97d5d7298934e6abb9d3830ec"}, - {file = "cytoolz-1.0.0-cp312-cp312-win32.whl", hash = "sha256:9ce25f02b910630f6dc2540dd1e26c9326027ddde6c59f8cab07c56acc70714c"}, - {file = "cytoolz-1.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:7e53cfcce87e05b7f0ae2fb2b3e5820048cd0bb7b701e92bd8f75c9fbb7c9ae9"}, - {file = "cytoolz-1.0.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:7d56569dfe67a39ce74ffff0dc12cf0a3d1aae709667a303fe8f2dd5fd004fdf"}, - {file = "cytoolz-1.0.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:035c8bb4706dcf93a89fb35feadff67e9301935bf6bb864cd2366923b69d9a29"}, - {file = "cytoolz-1.0.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:27c684799708bdc7ee7acfaf464836e1b4dec0996815c1d5efd6a92a4356a562"}, - {file = "cytoolz-1.0.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:44ab57cfc922b15d94899f980d76759ef9e0256912dfab70bf2561bea9cd5b19"}, - {file = "cytoolz-1.0.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:478af5ecc066da093d7660b23d0b465a7f44179739937afbded8af00af412eb6"}, - {file = "cytoolz-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:da1f82a7828a42468ea2820a25b6e56461361390c29dcd4d68beccfa1b71066b"}, - {file = "cytoolz-1.0.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6c371b3114d38ee717780b239179e88d5d358fe759a00dcf07691b8922bbc762"}, - {file = "cytoolz-1.0.0-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:90b343b2f3b3e77c3832ba19b0b17e95412a5b2e715b05c23a55ba525d1fca49"}, - {file = "cytoolz-1.0.0-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:89a554a9ba112403232a54e15e46ff218b33020f3f45c4baf6520ab198b7ad93"}, - {file = "cytoolz-1.0.0-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:0d603f5e2b1072166745ecdd81384a75757a96a704a5642231eb51969f919d5f"}, - {file = "cytoolz-1.0.0-cp38-cp38-musllinux_1_2_s390x.whl", hash = "sha256:122ef2425bd3c0419e6e5260d0b18cd25cf74de589cd0184e4a63b24a4641e2e"}, - {file = "cytoolz-1.0.0-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:8819f1f97ebe36efcaf4b550e21677c46ac8a41bed482cf66845f377dd20700d"}, - {file = "cytoolz-1.0.0-cp38-cp38-win32.whl", hash = "sha256:fcddbb853770dd6e270d89ea8742f0aa42c255a274b9e1620eb04e019b79785e"}, - {file = "cytoolz-1.0.0-cp38-cp38-win_amd64.whl", hash = "sha256:ca526905a014a38cc23ae78635dc51d0462c5c24425b22c08beed9ff2ee03845"}, - {file = "cytoolz-1.0.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:05df5ff1cdd198fb57e7368623662578c950be0b14883cadfb9ee4098415e1e5"}, - {file = "cytoolz-1.0.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:04a84778f48ebddb26948971dc60948907c876ba33b13f9cbb014fe65b341fc2"}, - {file = "cytoolz-1.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f65283b618b4c4df759f57bcf8483865a73f7f268e6d76886c743407c8d26c1c"}, - {file = "cytoolz-1.0.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:388cd07ee9a9e504c735a0a933e53c98586a1c301a64af81f7aa7ff40c747520"}, - {file = "cytoolz-1.0.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:06d09e9569cfdfc5c082806d4b4582db8023a3ce034097008622bcbac7236f38"}, - {file = "cytoolz-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9502bd9e37779cc9893cbab515a474c2ab6af61ed22ac2f7e16033db18fcaa85"}, - {file = "cytoolz-1.0.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:364c2fda148def38003b2c86e8adde1d2aab12411dd50872c244a815262e2fda"}, - {file = "cytoolz-1.0.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:9b2e945617325242687189966335e785dc0fae316f4c1825baacf56e5a97e65f"}, - {file = "cytoolz-1.0.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:0f16907fdc724c55b16776bdb7e629deae81d500fe48cfc3861231753b271355"}, - {file = "cytoolz-1.0.0-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:d3206c81ca3ba2d7b8fe78f2e116e3028e721148be753308e88dcbbc370bca52"}, - {file = "cytoolz-1.0.0-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:becce4b13e110b5ac6b23753dcd0c977f4fdccffa31898296e13fd1109e517e3"}, - {file = "cytoolz-1.0.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:69a7e5e98fd446079b8b8ec5987aec9a31ec3570a6f494baefa6800b783eaf22"}, - {file = "cytoolz-1.0.0-cp39-cp39-win32.whl", hash = "sha256:b1707b6c3a91676ac83a28a231a14b337dbb4436b937e6b3e4fd44209852a48b"}, - {file = "cytoolz-1.0.0-cp39-cp39-win_amd64.whl", hash = "sha256:11d48b8521ef5fe92e099f4fc00717b5d0789c3c90d5d84031b6d3b17dee1700"}, - {file = "cytoolz-1.0.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:e672712d5dc3094afc6fb346dd4e9c18c1f3c69608ddb8cf3b9f8428f9c26a5c"}, - {file = "cytoolz-1.0.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:86fb208bfb7420e1d0d20065d661310e4a8a6884851d4044f47d37ed4cd7410e"}, - {file = "cytoolz-1.0.0-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6dbe5fe3b835859fc559eb59bf2775b5a108f7f2cfab0966f3202859d787d8fd"}, - {file = "cytoolz-1.0.0-pp310-pypy310_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0cace092dfda174eed09ed871793beb5b65633963bcda5b1632c73a5aceea1ce"}, - {file = "cytoolz-1.0.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:f7a9d816af3be9725c70efe0a6e4352a45d3877751b395014b8eb2f79d7d8d9d"}, - {file = "cytoolz-1.0.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:caa7ef840847a23b379e6146760e3a22f15f445656af97e55a435c592125cfa5"}, - {file = "cytoolz-1.0.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:921082fff09ff6e40c12c87b49be044492b2d6bb01d47783995813b76680c7b2"}, - {file = "cytoolz-1.0.0-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a32f1356f3b64dda883583383966948604ac69ca0b7fbcf5f28856e5f9133b4e"}, - {file = "cytoolz-1.0.0-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9af793b1738e4191d15a92e1793f1ffea9f6461022c7b2442f3cb1ea0a4f758a"}, - {file = "cytoolz-1.0.0-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:51dfda3983fcc59075c534ce54ca041bb3c80e827ada5d4f25ff7b4049777f94"}, - {file = "cytoolz-1.0.0-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:acfb8780c04d29423d14aaab74cd1b7b4beaba32f676e7ace02c9acfbf532aba"}, - {file = "cytoolz-1.0.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:99f39dcc46416dca3eb23664b73187b77fb52cd8ba2ddd8020a292d8f449db67"}, - {file = "cytoolz-1.0.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c0d56b3721977806dcf1a68b0ecd56feb382fdb0f632af1a9fc5ab9b662b32c6"}, - {file = "cytoolz-1.0.0-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:45d346620abc8c83ae634136e700432ad6202faffcc24c5ab70b87392dcda8a1"}, - {file = "cytoolz-1.0.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:df0c81197fc130de94c09fc6f024a6a19c98ba8fe55c17f1e45ebba2e9229079"}, - {file = "cytoolz-1.0.0.tar.gz", hash = "sha256:eb453b30182152f9917a5189b7d99046b6ce90cdf8aeb0feff4b2683e600defd"}, +groups = ["main"] +markers = "implementation_name == \"cpython\"" +files = [ + {file = "cytoolz-1.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:cec9af61f71fc3853eb5dca3d42eb07d1f48a4599fa502cbe92adde85f74b042"}, + {file = "cytoolz-1.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:140bbd649dbda01e91add7642149a5987a7c3ccc251f2263de894b89f50b6608"}, + {file = "cytoolz-1.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e90124bdc42ff58b88cdea1d24a6bc5f776414a314cc4d94f25c88badb3a16d1"}, + {file = "cytoolz-1.0.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e74801b751e28f7c5cc3ad264c123954a051f546f2fdfe089f5aa7a12ccfa6da"}, + {file = "cytoolz-1.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:582dad4545ddfb5127494ef23f3fa4855f1673a35d50c66f7638e9fb49805089"}, + {file = "cytoolz-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dd7bd0618e16efe03bd12f19c2a26a27e6e6b75d7105adb7be1cd2a53fa755d8"}, + {file = "cytoolz-1.0.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d74cca6acf1c4af58b2e4a89cc565ed61c5e201de2e434748c93e5a0f5c541a5"}, + {file = "cytoolz-1.0.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:823a3763828d8d457f542b2a45d75d6b4ced5e470b5c7cf2ed66a02f508ed442"}, + {file = "cytoolz-1.0.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:51633a14e6844c61db1d68c1ffd077cf949f5c99c60ed5f1e265b9e2966f1b52"}, + {file = "cytoolz-1.0.1-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:f3ec9b01c45348f1d0d712507d54c2bfd69c62fbd7c9ef555c9d8298693c2432"}, + {file = "cytoolz-1.0.1-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:1855022b712a9c7a5bce354517ab4727a38095f81e2d23d3eabaf1daeb6a3b3c"}, + {file = "cytoolz-1.0.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:9930f7288c4866a1dc1cc87174f0c6ff4cad1671eb1f6306808aa6c445857d78"}, + {file = "cytoolz-1.0.1-cp310-cp310-win32.whl", hash = "sha256:a9baad795d72fadc3445ccd0f122abfdbdf94269157e6d6d4835636dad318804"}, + {file = "cytoolz-1.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:ad95b386a84e18e1f6136f6d343d2509d4c3aae9f5a536f3dc96808fcc56a8cf"}, + {file = "cytoolz-1.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:2d958d4f04d9d7018e5c1850790d9d8e68b31c9a2deebca74b903706fdddd2b6"}, + {file = "cytoolz-1.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:0f445b8b731fc0ecb1865b8e68a070084eb95d735d04f5b6c851db2daf3048ab"}, + {file = "cytoolz-1.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f546a96460a7e28eb2ec439f4664fa646c9b3e51c6ebad9a59d3922bbe65e30"}, + {file = "cytoolz-1.0.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0317681dd065532d21836f860b0563b199ee716f55d0c1f10de3ce7100c78a3b"}, + {file = "cytoolz-1.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0c0ef52febd5a7821a3fd8d10f21d460d1a3d2992f724ba9c91fbd7a96745d41"}, + {file = "cytoolz-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f5ebaf419acf2de73b643cf96108702b8aef8e825cf4f63209ceb078d5fbbbfd"}, + {file = "cytoolz-1.0.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5f7f04eeb4088947585c92d6185a618b25ad4a0f8f66ea30c8db83cf94a425e3"}, + {file = "cytoolz-1.0.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:f61928803bb501c17914b82d457c6f50fe838b173fb40d39c38d5961185bd6c7"}, + {file = "cytoolz-1.0.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:d2960cb4fa01ccb985ad1280db41f90dc97a80b397af970a15d5a5de403c8c61"}, + {file = "cytoolz-1.0.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:b2b407cc3e9defa8df5eb46644f6f136586f70ba49eba96f43de67b9a0984fd3"}, + {file = "cytoolz-1.0.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:8245f929144d4d3bd7b972c9593300195c6cea246b81b4c46053c48b3f044580"}, + {file = "cytoolz-1.0.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:e37385db03af65763933befe89fa70faf25301effc3b0485fec1c15d4ce4f052"}, + {file = "cytoolz-1.0.1-cp311-cp311-win32.whl", hash = "sha256:50f9c530f83e3e574fc95c264c3350adde8145f4f8fc8099f65f00cc595e5ead"}, + {file = "cytoolz-1.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:b7f6b617454b4326af7bd3c7c49b0fc80767f134eb9fd6449917a058d17a0e3c"}, + {file = "cytoolz-1.0.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fcb8f7d0d65db1269022e7e0428471edee8c937bc288ebdcb72f13eaa67c2fe4"}, + {file = "cytoolz-1.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:207d4e4b445e087e65556196ff472ff134370d9a275d591724142e255f384662"}, + {file = "cytoolz-1.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:21cdf6bac6fd843f3b20280a66fd8df20dea4c58eb7214a2cd8957ec176f0bb3"}, + {file = "cytoolz-1.0.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4a55ec098036c0dea9f3bdc021f8acd9d105a945227d0811589f0573f21c9ce1"}, + {file = "cytoolz-1.0.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a13ab79ff4ce202e03ab646a2134696988b554b6dc4b71451e948403db1331d8"}, + {file = "cytoolz-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4e2d944799026e1ff08a83241f1027a2d9276c41f7a74224cd98b7df6e03957d"}, + {file = "cytoolz-1.0.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:88ba85834cd523b91fdf10325e1e6d71c798de36ea9bdc187ca7bd146420de6f"}, + {file = "cytoolz-1.0.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5a750b1af7e8bf6727f588940b690d69e25dc47cce5ce467925a76561317eaf7"}, + {file = "cytoolz-1.0.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:44a71870f7eae31d263d08b87da7c2bf1176f78892ed8bdade2c2850478cb126"}, + {file = "cytoolz-1.0.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:c8231b9abbd8e368e036f4cc2e16902c9482d4cf9e02a6147ed0e9a3cd4a9ab0"}, + {file = "cytoolz-1.0.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:aa87599ccc755de5a096a4d6c34984de6cd9dc928a0c5eaa7607457317aeaf9b"}, + {file = "cytoolz-1.0.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:67cd16537df51baabde3baa770ab7b8d16839c4d21219d5b96ac59fb012ebd2d"}, + {file = "cytoolz-1.0.1-cp312-cp312-win32.whl", hash = "sha256:fb988c333f05ee30ad4693fe4da55d95ec0bb05775d2b60191236493ea2e01f9"}, + {file = "cytoolz-1.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:8f89c48d8e5aec55ffd566a8ec858706d70ed0c6a50228eca30986bfa5b4da8b"}, + {file = "cytoolz-1.0.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:6944bb93b287032a4c5ca6879b69bcd07df46f3079cf8393958cf0b0454f50c0"}, + {file = "cytoolz-1.0.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e027260fd2fc5cb041277158ac294fc13dca640714527219f702fb459a59823a"}, + {file = "cytoolz-1.0.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:88662c0e07250d26f5af9bc95911e6137e124a5c1ec2ce4a5d74de96718ab242"}, + {file = "cytoolz-1.0.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:309dffa78b0961b4c0cf55674b828fbbc793cf2d816277a5c8293c0c16155296"}, + {file = "cytoolz-1.0.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:edb34246e6eb40343c5860fc51b24937698e4fa1ee415917a73ad772a9a1746b"}, + {file = "cytoolz-1.0.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0a54da7a8e4348a18d45d4d5bc84af6c716d7f131113a4f1cc45569d37edff1b"}, + {file = "cytoolz-1.0.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:241c679c3b1913c0f7259cf1d9639bed5084c86d0051641d537a0980548aa266"}, + {file = "cytoolz-1.0.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:5bfc860251a8f280ac79696fc3343cfc3a7c30b94199e0240b6c9e5b6b01a2a5"}, + {file = "cytoolz-1.0.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:c8edd1547014050c1bdad3ff85d25c82bd1c2a3c96830c6181521eb78b9a42b3"}, + {file = "cytoolz-1.0.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:b349bf6162e8de215403d7f35f8a9b4b1853dc2a48e6e1a609a5b1a16868b296"}, + {file = "cytoolz-1.0.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:1b18b35256219b6c3dd0fa037741b85d0bea39c552eab0775816e85a52834140"}, + {file = "cytoolz-1.0.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:738b2350f340ff8af883eb301054eb724997f795d20d90daec7911c389d61581"}, + {file = "cytoolz-1.0.1-cp313-cp313-win32.whl", hash = "sha256:9cbd9c103df54fcca42be55ef40e7baea624ac30ee0b8bf1149f21146d1078d9"}, + {file = "cytoolz-1.0.1-cp313-cp313-win_amd64.whl", hash = "sha256:90e577e08d3a4308186d9e1ec06876d4756b1e8164b92971c69739ea17e15297"}, + {file = "cytoolz-1.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:f3a509e4ac8e711703c368476b9bbce921fcef6ebb87fa3501525f7000e44185"}, + {file = "cytoolz-1.0.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:a7eecab6373e933dfbf4fdc0601d8fd7614f8de76793912a103b5fccf98170cd"}, + {file = "cytoolz-1.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e55ed62087f6e3e30917b5f55350c3b6be6470b849c6566018419cd159d2cebc"}, + {file = "cytoolz-1.0.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:43de33d99a4ccc07234cecd81f385456b55b0ea9c39c9eebf42f024c313728a5"}, + {file = "cytoolz-1.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:139bed875828e1727018aa0982aa140e055cbafccb7fd89faf45cbb4f2a21514"}, + {file = "cytoolz-1.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:22c12671194b518aa8ce2f4422bd5064f25ab57f410ba0b78705d0a219f4a97a"}, + {file = "cytoolz-1.0.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:79888f2f7dc25709cd5d37b032a8833741e6a3692c8823be181d542b5999128e"}, + {file = "cytoolz-1.0.1-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:51628b4eb41fa25bd428f8f7b5b74fbb05f3ae65fbd265019a0dd1ded4fdf12a"}, + {file = "cytoolz-1.0.1-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:1db9eb7179285403d2fb56ba1ff6ec35a44921b5e2fa5ca19d69f3f9f0285ea5"}, + {file = "cytoolz-1.0.1-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:08ab7efae08e55812340bfd1b3f09f63848fe291675e2105eab1aa5327d3a16e"}, + {file = "cytoolz-1.0.1-cp38-cp38-musllinux_1_2_s390x.whl", hash = "sha256:e5fdc5264f884e7c0a1711a81dff112708a64b9c8561654ee578bfdccec6be09"}, + {file = "cytoolz-1.0.1-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:90d6a2e6ab891043ee655ec99d5e77455a9bee9e1131bdfcfb745edde81200dd"}, + {file = "cytoolz-1.0.1-cp38-cp38-win32.whl", hash = "sha256:08946e083faa5147751b34fbf78ab931f149ef758af5c1092932b459e18dcf5c"}, + {file = "cytoolz-1.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:a91b4e10a9c03796c0dc93e47ebe25bb41ecc6fafc3cf5197c603cf767a3d44d"}, + {file = "cytoolz-1.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:980c323e626ba298b77ae62871b2de7c50b9d7219e2ddf706f52dd34b8be7349"}, + {file = "cytoolz-1.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:45f6fa1b512bc2a0f2de5123db932df06c7f69d12874fe06d67772b2828e2c8b"}, + {file = "cytoolz-1.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f93f42d9100c415155ad1f71b0de362541afd4ac95e3153467c4c79972521b6b"}, + {file = "cytoolz-1.0.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a76d20dec9c090cdf4746255bbf06a762e8cc29b5c9c1d138c380bbdb3122ade"}, + {file = "cytoolz-1.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:239039585487c69aa50c5b78f6a422016297e9dea39755761202fb9f0530fe87"}, + {file = "cytoolz-1.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c28307640ca2ab57b9fbf0a834b9bf563958cd9e038378c3a559f45f13c3c541"}, + {file = "cytoolz-1.0.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:454880477bb901cee3a60f6324ec48c95d45acc7fecbaa9d49a5af737ded0595"}, + {file = "cytoolz-1.0.1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:902115d1b1f360fd81e44def30ac309b8641661150fcbdde18ead446982ada6a"}, + {file = "cytoolz-1.0.1-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:e68e6b38473a3a79cee431baa22be31cac39f7df1bf23eaa737eaff42e213883"}, + {file = "cytoolz-1.0.1-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:32fba3f63fcb76095b0a22f4bdcc22bc62a2bd2d28d58bf02fd21754c155a3ec"}, + {file = "cytoolz-1.0.1-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:0724ba4cf41eb40b6cf75250820ab069e44bdf4183ff78857aaf4f0061551075"}, + {file = "cytoolz-1.0.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:c42420e0686f887040d5230420ed44f0e960ccbfa29a0d65a3acd9ca52459209"}, + {file = "cytoolz-1.0.1-cp39-cp39-win32.whl", hash = "sha256:4ba8b16358ea56b1fe8e637ec421e36580866f2e787910bac1cf0a6997424a34"}, + {file = "cytoolz-1.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:92d27f84bf44586853d9562bfa3610ecec000149d030f793b4cb614fd9da1813"}, + {file = "cytoolz-1.0.1-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:83d19d55738ad9c60763b94f3f6d3c6e4de979aeb8d76841c1401081e0e58d96"}, + {file = "cytoolz-1.0.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f112a71fad6ea824578e6393765ce5c054603afe1471a5c753ff6c67fd872d10"}, + {file = "cytoolz-1.0.1-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5a515df8f8aa6e1eaaf397761a6e4aff2eef73b5f920aedf271416d5471ae5ee"}, + {file = "cytoolz-1.0.1-pp310-pypy310_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:92c398e7b7023460bea2edffe5fcd0a76029580f06c3f6938ac3d198b47156f3"}, + {file = "cytoolz-1.0.1-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:3237e56211e03b13df47435b2369f5df281e02b04ad80a948ebd199b7bc10a47"}, + {file = "cytoolz-1.0.1-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:ba0d1da50aab1909b165f615ba1125c8b01fcc30d606c42a61c42ea0269b5e2c"}, + {file = "cytoolz-1.0.1-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:25b6e8dec29aa5a390092d193abd673e027d2c0b50774ae816a31454286c45c7"}, + {file = "cytoolz-1.0.1-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:36cd6989ebb2f18fe9af8f13e3c61064b9f741a40d83dc5afeb0322338ad25f2"}, + {file = "cytoolz-1.0.1-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a47394f8ab7fca3201f40de61fdeea20a2baffb101485ae14901ea89c3f6c95d"}, + {file = "cytoolz-1.0.1-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:d00ac423542af944302e034e618fb055a0c4e87ba704cd6a79eacfa6ac83a3c9"}, + {file = "cytoolz-1.0.1-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:a5ca923d1fa632f7a4fb33c0766c6fba7f87141a055c305c3e47e256fb99c413"}, + {file = "cytoolz-1.0.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:058bf996bcae9aad3acaeeb937d42e0c77c081081e67e24e9578a6a353cb7fb2"}, + {file = "cytoolz-1.0.1-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:69e2a1f41a3dad94a17aef4a5cc003323359b9f0a9d63d4cc867cb5690a2551d"}, + {file = "cytoolz-1.0.1-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:67daeeeadb012ec2b59d63cb29c4f2a2023b0c4957c3342d354b8bb44b209e9a"}, + {file = "cytoolz-1.0.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:54d3d36bbf0d4344d1afa22c58725d1668e30ff9de3a8f56b03db1a6da0acb11"}, + {file = "cytoolz-1.0.1.tar.gz", hash = "sha256:89cc3161b89e1bb3ed7636f74ed2e55984fd35516904fc878cae216e42b2c7d6"}, ] [package.dependencies] @@ -980,6 +1029,7 @@ version = "0.11.1" description = "A fast and flexible reimplementation of data classes" optional = false python-versions = ">=3.6" +groups = ["main"] files = [ {file = "dataclassy-0.11.1-py3-none-any.whl", hash = "sha256:bcb030d3d700cf9b1597042bbc8375b92773e6f68f65675a7071862c0ddb87f5"}, {file = "dataclassy-0.11.1.tar.gz", hash = "sha256:ad6622cb91e644d13f68768558983fbc22c90a8ff7e355638485d18b9baf1198"}, @@ -991,6 +1041,7 @@ version = "0.3.9" description = "Distribution utilities" optional = false python-versions = "*" +groups = ["dev"] files = [ {file = "distlib-0.3.9-py2.py3-none-any.whl", hash = "sha256:47f8c22fd27c27e25a65601af709b38e4f0a45ea4fc2e710f65755fa8caaaf87"}, {file = "distlib-0.3.9.tar.gz", hash = "sha256:a60f20dea646b8a33f3e7772f74dc0b2d0772d2837ee1342a00645c81edf9403"}, @@ -1002,6 +1053,7 @@ version = "0.19.0" description = "ECDSA cryptographic signature library (pure python)" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.6" +groups = ["main"] files = [ {file = "ecdsa-0.19.0-py2.py3-none-any.whl", hash = "sha256:2cea9b88407fdac7bbeca0833b189e4c9c53f2ef1e1eaa29f6224dbc809b707a"}, {file = "ecdsa-0.19.0.tar.gz", hash = "sha256:60eaad1199659900dd0af521ed462b793bbdf867432b3948e87416ae4caf6bf8"}, @@ -1020,6 +1072,7 @@ version = "0.2.10" description = "eip712: Message classes for typed structured data hashing and signing in Ethereum" optional = false python-versions = "<4,>=3.9" +groups = ["main"] files = [ {file = "eip712-0.2.10-py3-none-any.whl", hash = "sha256:5e8cbf092b1943d787c97b91116791b14f3d4b122bc3aab198ba599ff3256a67"}, {file = "eip712-0.2.10.tar.gz", hash = "sha256:fed8caaab859fb342e4b9b2f1c84f4cb3145144645985177cb9cdf457edbf911"}, @@ -1046,6 +1099,7 @@ version = "0.4" description = "Discover and load entry points from installed packages." optional = false python-versions = ">=3.6" +groups = ["dev"] files = [ {file = "entrypoints-0.4-py3-none-any.whl", hash = "sha256:f174b5ff827504fd3cd97cc3f8649f3693f51538c7e4bdf3ef002c8429d42f9f"}, {file = "entrypoints-0.4.tar.gz", hash = "sha256:b706eddaa9218a19ebcd67b56818f05bb27589b1ca9e8d797b74affad4ccacd4"}, @@ -1053,13 +1107,14 @@ files = [ [[package]] name = "eth-abi" -version = "5.1.0" +version = "5.2.0" description = "eth_abi: Python utilities for working with Ethereum ABI definitions, especially encoding and decoding" optional = false python-versions = "<4,>=3.8" +groups = ["main"] files = [ - {file = "eth_abi-5.1.0-py3-none-any.whl", hash = "sha256:84cac2626a7db8b7d9ebe62b0fdca676ab1014cc7f777189e3c0cd721a4c16d8"}, - {file = "eth_abi-5.1.0.tar.gz", hash = "sha256:33ddd756206e90f7ddff1330cc8cac4aa411a824fe779314a0a52abea2c8fc14"}, + {file = "eth_abi-5.2.0-py3-none-any.whl", hash = "sha256:17abe47560ad753f18054f5b3089fcb588f3e3a092136a416b6c1502cb7e8877"}, + {file = "eth_abi-5.2.0.tar.gz", hash = "sha256:178703fa98c07d8eecd5ae569e7e8d159e493ebb6eeb534a8fe973fbc4e40ef0"}, ] [package.dependencies] @@ -1068,10 +1123,10 @@ eth-utils = ">=2.0.0" parsimonious = ">=0.10.0,<0.11.0" [package.extras] -dev = ["build (>=0.9.0)", "bumpversion (>=0.5.3)", "eth-hash[pycryptodome]", "hypothesis (>=4.18.2,<5.0.0)", "ipython", "pre-commit (>=3.4.0)", "pytest (>=7.0.0)", "pytest-pythonpath (>=0.7.1)", "pytest-timeout (>=2.0.0)", "pytest-xdist (>=2.4.0)", "sphinx (>=6.0.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)", "tox (>=4.0.0)", "twine", "wheel"] -docs = ["sphinx (>=6.0.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)"] -test = ["eth-hash[pycryptodome]", "hypothesis (>=4.18.2,<5.0.0)", "pytest (>=7.0.0)", "pytest-pythonpath (>=0.7.1)", "pytest-timeout (>=2.0.0)", "pytest-xdist (>=2.4.0)"] -tools = ["hypothesis (>=4.18.2,<5.0.0)"] +dev = ["build (>=0.9.0)", "bump_my_version (>=0.19.0)", "eth-hash[pycryptodome]", "hypothesis (>=6.22.0,<6.108.7)", "ipython", "mypy (==1.10.0)", "pre-commit (>=3.4.0)", "pytest (>=7.0.0)", "pytest-pythonpath (>=0.7.1)", "pytest-timeout (>=2.0.0)", "pytest-xdist (>=2.4.0)", "sphinx (>=6.0.0)", "sphinx-autobuild (>=2021.3.14)", "sphinx_rtd_theme (>=1.0.0)", "towncrier (>=24,<25)", "tox (>=4.0.0)", "twine", "wheel"] +docs = ["sphinx (>=6.0.0)", "sphinx-autobuild (>=2021.3.14)", "sphinx_rtd_theme (>=1.0.0)", "towncrier (>=24,<25)"] +test = ["eth-hash[pycryptodome]", "hypothesis (>=6.22.0,<6.108.7)", "pytest (>=7.0.0)", "pytest-pythonpath (>=0.7.1)", "pytest-timeout (>=2.0.0)", "pytest-xdist (>=2.4.0)"] +tools = ["hypothesis (>=6.22.0,<6.108.7)"] [[package]] name = "eth-account" @@ -1079,6 +1134,7 @@ version = "0.11.3" description = "eth-account: Sign Ethereum transactions and messages with local private keys" optional = false python-versions = "<4,>=3.8" +groups = ["main"] files = [ {file = "eth_account-0.11.3-py3-none-any.whl", hash = "sha256:16cf58aabc65171fc206489899b7e5546e3215e1a4debc12dbd55345c979081e"}, {file = "eth_account-0.11.3.tar.gz", hash = "sha256:a712a9534638a7cfaa4cc069f1b9d5cefeee70362cfc3a7b0a2534ee61ce76c9"}, @@ -1102,55 +1158,59 @@ test = ["coverage", "hypothesis (>=4.18.0,<5)", "pytest (>=7.0.0)", "pytest-xdis [[package]] name = "eth-hash" -version = "0.7.0" +version = "0.7.1" description = "eth-hash: The Ethereum hashing function, keccak256, sometimes (erroneously) called sha3" optional = false -python-versions = ">=3.8, <4" +python-versions = "<4,>=3.8" +groups = ["main"] files = [ - {file = "eth-hash-0.7.0.tar.gz", hash = "sha256:bacdc705bfd85dadd055ecd35fd1b4f846b671add101427e089a4ca2e8db310a"}, - {file = "eth_hash-0.7.0-py3-none-any.whl", hash = "sha256:b8d5a230a2b251f4a291e3164a23a14057c4a6de4b0aa4a16fa4dc9161b57e2f"}, + {file = "eth_hash-0.7.1-py3-none-any.whl", hash = "sha256:0fb1add2adf99ef28883fd6228eb447ef519ea72933535ad1a0b28c6f65f868a"}, + {file = "eth_hash-0.7.1.tar.gz", hash = "sha256:d2411a403a0b0a62e8247b4117932d900ffb4c8c64b15f92620547ca5ce46be5"}, ] [package.dependencies] pycryptodome = {version = ">=3.6.6,<4", optional = true, markers = "extra == \"pycryptodome\""} [package.extras] -dev = ["build (>=0.9.0)", "bumpversion (>=0.5.3)", "ipython", "pre-commit (>=3.4.0)", "pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)", "sphinx (>=6.0.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)", "tox (>=4.0.0)", "twine", "wheel"] -docs = ["sphinx (>=6.0.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)"] +dev = ["build (>=0.9.0)", "bump_my_version (>=0.19.0)", "ipython", "mypy (==1.10.0)", "pre-commit (>=3.4.0)", "pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)", "sphinx (>=6.0.0)", "sphinx-autobuild (>=2021.3.14)", "sphinx_rtd_theme (>=1.0.0)", "towncrier (>=24,<25)", "tox (>=4.0.0)", "twine", "wheel"] +docs = ["sphinx (>=6.0.0)", "sphinx-autobuild (>=2021.3.14)", "sphinx_rtd_theme (>=1.0.0)", "towncrier (>=24,<25)"] pycryptodome = ["pycryptodome (>=3.6.6,<4)"] pysha3 = ["pysha3 (>=1.0.0,<2.0.0)", "safe-pysha3 (>=1.0.0)"] test = ["pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)"] [[package]] name = "eth-keyfile" -version = "0.8.1" +version = "0.9.0" description = "eth-keyfile: A library for handling the encrypted keyfiles used to store ethereum private keys" optional = false python-versions = "<4,>=3.8" +groups = ["main"] files = [ - {file = "eth_keyfile-0.8.1-py3-none-any.whl", hash = "sha256:65387378b82fe7e86d7cb9f8d98e6d639142661b2f6f490629da09fddbef6d64"}, - {file = "eth_keyfile-0.8.1.tar.gz", hash = "sha256:9708bc31f386b52cca0969238ff35b1ac72bd7a7186f2a84b86110d3c973bec1"}, + {file = "eth_keyfile-0.9.0-py3-none-any.whl", hash = "sha256:45d3513b6433ad885370225ba0429ed26493ba23589c5b1ca5da024765020fef"}, + {file = "eth_keyfile-0.9.0.tar.gz", hash = "sha256:8621c35e83cbc05909d2f23dbb8a87633918733caea553ae0e298f6a06291526"}, ] [package.dependencies] eth-keys = ">=0.4.0" eth-utils = ">=2" +py_ecc = ">=5.2.0" pycryptodome = ">=3.6.6,<4" [package.extras] -dev = ["build (>=0.9.0)", "bumpversion (>=0.5.3)", "ipython", "pre-commit (>=3.4.0)", "pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)", "towncrier (>=21,<22)", "tox (>=4.0.0)", "twine", "wheel"] -docs = ["towncrier (>=21,<22)"] +dev = ["build (>=0.9.0)", "bump_my_version (>=0.19.0)", "ipython", "mypy (==1.10.0)", "pre-commit (>=3.4.0)", "pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)", "towncrier (>=24,<25)", "tox (>=4.0.0)", "twine", "wheel"] +docs = ["towncrier (>=24,<25)"] test = ["pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)"] [[package]] name = "eth-keys" -version = "0.6.0" +version = "0.6.1" description = "eth-keys: Common API for Ethereum key operations" optional = false python-versions = "<4,>=3.8" +groups = ["main"] files = [ - {file = "eth_keys-0.6.0-py3-none-any.whl", hash = "sha256:b396fdfe048a5bba3ef3990739aec64901eb99901c03921caa774be668b1db6e"}, - {file = "eth_keys-0.6.0.tar.gz", hash = "sha256:ba33230f851d02c894e83989185b21d76152c49b37e35b61b1d8a6d9f1d20430"}, + {file = "eth_keys-0.6.1-py3-none-any.whl", hash = "sha256:7deae4cd56e862e099ec58b78176232b931c4ea5ecded2f50c7b1ccbc10c24cf"}, + {file = "eth_keys-0.6.1.tar.gz", hash = "sha256:a43e263cbcabfd62fa769168efc6c27b1f5603040e4de22bb84d12567e4fd962"}, ] [package.dependencies] @@ -1159,8 +1219,8 @@ eth-utils = ">=2" [package.extras] coincurve = ["coincurve (>=12.0.0)"] -dev = ["asn1tools (>=0.146.2)", "build (>=0.9.0)", "bumpversion (>=0.5.3)", "coincurve (>=12.0.0)", "eth-hash[pysha3]", "factory-boy (>=3.0.1)", "hypothesis (>=5.10.3)", "ipython", "pre-commit (>=3.4.0)", "pyasn1 (>=0.4.5)", "pytest (>=7.0.0)", "towncrier (>=21,<22)", "tox (>=4.0.0)", "twine", "wheel"] -docs = ["towncrier (>=21,<22)"] +dev = ["asn1tools (>=0.146.2)", "build (>=0.9.0)", "bump_my_version (>=0.19.0)", "coincurve (>=12.0.0)", "eth-hash[pysha3]", "factory-boy (>=3.0.1)", "hypothesis (>=5.10.3)", "ipython", "mypy (==1.10.0)", "pre-commit (>=3.4.0)", "pyasn1 (>=0.4.5)", "pytest (>=7.0.0)", "towncrier (>=24,<25)", "tox (>=4.0.0)", "twine", "wheel"] +docs = ["towncrier (>=24,<25)"] test = ["asn1tools (>=0.146.2)", "eth-hash[pysha3]", "factory-boy (>=3.0.1)", "hypothesis (>=5.10.3)", "pyasn1 (>=0.4.5)", "pytest (>=7.0.0)"] [[package]] @@ -1169,6 +1229,7 @@ version = "1.0.1" description = "eth-rlp: RLP definitions for common Ethereum objects in Python" optional = false python-versions = ">=3.8, <4" +groups = ["main"] files = [ {file = "eth-rlp-1.0.1.tar.gz", hash = "sha256:d61dbda892ee1220f28fb3663c08f6383c305db9f1f5624dc585c9cd05115027"}, {file = "eth_rlp-1.0.1-py3-none-any.whl", hash = "sha256:dd76515d71654277377d48876b88e839d61553aaf56952e580bb7cebef2b1517"}, @@ -1191,6 +1252,7 @@ version = "4.4.0" description = "eth-typing: Common type annotations for ethereum python packages" optional = false python-versions = "<4,>=3.8" +groups = ["main"] files = [ {file = "eth_typing-4.4.0-py3-none-any.whl", hash = "sha256:a5e30a6e69edda7b1d1e96e9d71bab48b9bb988a77909d8d1666242c5562f841"}, {file = "eth_typing-4.4.0.tar.gz", hash = "sha256:93848083ac6bb4c20cc209ea9153a08b0a528be23337c889f89e1e5ffbe9807d"}, @@ -1210,6 +1272,7 @@ version = "4.1.1" description = "eth-utils: Common utility functions for python code that interacts with Ethereum" optional = false python-versions = "<4,>=3.8" +groups = ["main"] files = [ {file = "eth_utils-4.1.1-py3-none-any.whl", hash = "sha256:ccbbac68a6d65cb6e294c5bcb6c6a5cec79a241c56dc5d9c345ed788c30f8534"}, {file = "eth_utils-4.1.1.tar.gz", hash = "sha256:71c8d10dec7494aeed20fa7a4d52ec2ce4a2e52fdce80aab4f5c3c19f3648b25"}, @@ -1232,6 +1295,8 @@ version = "1.2.2" description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" +groups = ["test"] +markers = "python_version < \"3.11\"" files = [ {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"}, {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"}, @@ -1242,18 +1307,19 @@ test = ["pytest (>=6)"] [[package]] name = "filelock" -version = "3.16.1" +version = "3.17.0" description = "A platform independent file lock." optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" +groups = ["dev"] files = [ - {file = "filelock-3.16.1-py3-none-any.whl", hash = "sha256:2082e5703d51fbf98ea75855d9d5527e33d8ff23099bec374a134febee6946b0"}, - {file = "filelock-3.16.1.tar.gz", hash = "sha256:c249fbfcd5db47e5e2d6d62198e565475ee65e4831e2561c8e313fa7eb961435"}, + {file = "filelock-3.17.0-py3-none-any.whl", hash = "sha256:533dc2f7ba78dc2f0f531fc6c4940addf7b70a481e269a5a3b93be94ffbe8338"}, + {file = "filelock-3.17.0.tar.gz", hash = "sha256:ee4e77401ef576ebb38cd7f13b9b28893194acc20a8e68e18730ba9c0e54660e"}, ] [package.extras] -docs = ["furo (>=2024.8.6)", "sphinx (>=8.0.2)", "sphinx-autodoc-typehints (>=2.4.1)"] -testing = ["covdefaults (>=2.3)", "coverage (>=7.6.1)", "diff-cover (>=9.2)", "pytest (>=8.3.3)", "pytest-asyncio (>=0.24)", "pytest-cov (>=5)", "pytest-mock (>=3.14)", "pytest-timeout (>=2.3.1)", "virtualenv (>=20.26.4)"] +docs = ["furo (>=2024.8.6)", "sphinx (>=8.1.3)", "sphinx-autodoc-typehints (>=3)"] +testing = ["covdefaults (>=2.3)", "coverage (>=7.6.10)", "diff-cover (>=9.2.1)", "pytest (>=8.3.4)", "pytest-asyncio (>=0.25.2)", "pytest-cov (>=6)", "pytest-mock (>=3.14)", "pytest-timeout (>=2.3.1)", "virtualenv (>=20.28.1)"] typing = ["typing-extensions (>=4.12.2)"] [[package]] @@ -1262,6 +1328,7 @@ version = "4.0.1" description = "the modular source code checker: pep8 pyflakes and co" optional = false python-versions = ">=3.6" +groups = ["dev"] files = [ {file = "flake8-4.0.1-py2.py3-none-any.whl", hash = "sha256:479b1304f72536a55948cb40a32dce8bb0ffe3501e26eaf292c7e60eb5e0428d"}, {file = "flake8-4.0.1.tar.gz", hash = "sha256:806e034dda44114815e23c16ef92f95c91e4c71100ff52813adf7132a6ad870d"}, @@ -1278,6 +1345,7 @@ version = "3.3.0" description = "FlakeHeaven is a [Flake8](https://gitlab.com/pycqa/flake8) wrapper to make it cool." optional = false python-versions = ">=3.7,<4.0" +groups = ["dev"] files = [ {file = "flakeheaven-3.3.0-py3-none-any.whl", hash = "sha256:ae246197a178845b30b63fc03023f7ba925cc84cc96314ec19807dafcd6b39a3"}, {file = "flakeheaven-3.3.0.tar.gz", hash = "sha256:eb07860e028ff8dd56cce742c4766624a37a4ce397fd34300254ab623d13047b"}, @@ -1300,6 +1368,7 @@ version = "1.5.0" description = "A list-like structure which implements collections.abc.MutableSequence" optional = false python-versions = ">=3.8" +groups = ["main", "test"] files = [ {file = "frozenlist-1.5.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:5b6a66c18b5b9dd261ca98dffcb826a525334b2f29e7caa54e182255c5f6a65a"}, {file = "frozenlist-1.5.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d1b3eb7b05ea246510b43a7e53ed1653e55c2121019a97e60cad7efb881a97bb"}, @@ -1395,139 +1464,212 @@ files = [ {file = "frozenlist-1.5.0.tar.gz", hash = "sha256:81d5af29e61b9c8348e876d442253723928dce6433e0e76cd925cd83f1b4b817"}, ] +[[package]] +name = "google-api-core" +version = "2.24.1" +description = "Google API client core library" +optional = false +python-versions = ">=3.7" +groups = ["main"] +files = [ + {file = "google_api_core-2.24.1-py3-none-any.whl", hash = "sha256:bc78d608f5a5bf853b80bd70a795f703294de656c096c0968320830a4bc280f1"}, + {file = "google_api_core-2.24.1.tar.gz", hash = "sha256:f8b36f5456ab0dd99a1b693a40a31d1e7757beea380ad1b38faaf8941eae9d8a"}, +] + +[package.dependencies] +google-auth = ">=2.14.1,<3.0.dev0" +googleapis-common-protos = ">=1.56.2,<2.0.dev0" +proto-plus = [ + {version = ">=1.25.0,<2.0.0dev", markers = "python_version >= \"3.13\""}, + {version = ">=1.22.3,<2.0.0dev", markers = "python_version < \"3.13\""}, +] +protobuf = ">=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.0 || >4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<6.0.0.dev0" +requests = ">=2.18.0,<3.0.0.dev0" + +[package.extras] +async-rest = ["google-auth[aiohttp] (>=2.35.0,<3.0.dev0)"] +grpc = ["grpcio (>=1.33.2,<2.0dev)", "grpcio (>=1.49.1,<2.0dev)", "grpcio-status (>=1.33.2,<2.0.dev0)", "grpcio-status (>=1.49.1,<2.0.dev0)"] +grpcgcp = ["grpcio-gcp (>=0.2.2,<1.0.dev0)"] +grpcio-gcp = ["grpcio-gcp (>=0.2.2,<1.0.dev0)"] + +[[package]] +name = "google-auth" +version = "2.38.0" +description = "Google Authentication Library" +optional = false +python-versions = ">=3.7" +groups = ["main"] +files = [ + {file = "google_auth-2.38.0-py2.py3-none-any.whl", hash = "sha256:e7dae6694313f434a2727bf2906f27ad259bae090d7aa896590d86feec3d9d4a"}, + {file = "google_auth-2.38.0.tar.gz", hash = "sha256:8285113607d3b80a3f1543b75962447ba8a09fe85783432a784fdeef6ac094c4"}, +] + +[package.dependencies] +cachetools = ">=2.0.0,<6.0" +pyasn1-modules = ">=0.2.1" +rsa = ">=3.1.4,<5" + +[package.extras] +aiohttp = ["aiohttp (>=3.6.2,<4.0.0.dev0)", "requests (>=2.20.0,<3.0.0.dev0)"] +enterprise-cert = ["cryptography", "pyopenssl"] +pyjwt = ["cryptography (>=38.0.3)", "pyjwt (>=2.0)"] +pyopenssl = ["cryptography (>=38.0.3)", "pyopenssl (>=20.0.0)"] +reauth = ["pyu2f (>=0.1.5)"] +requests = ["requests (>=2.20.0,<3.0.0.dev0)"] + +[[package]] +name = "googleapis-common-protos" +version = "1.66.0" +description = "Common protobufs used in Google APIs" +optional = false +python-versions = ">=3.7" +groups = ["main"] +files = [ + {file = "googleapis_common_protos-1.66.0-py2.py3-none-any.whl", hash = "sha256:d7abcd75fabb2e0ec9f74466401f6c119a0b498e27370e9be4c94cb7e382b8ed"}, + {file = "googleapis_common_protos-1.66.0.tar.gz", hash = "sha256:c3e7b33d15fdca5374cc0a7346dd92ffa847425cc4ea941d970f13680052ec8c"}, +] + +[package.dependencies] +protobuf = ">=3.20.2,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<6.0.0.dev0" + +[package.extras] +grpc = ["grpcio (>=1.44.0,<2.0.0.dev0)"] + [[package]] name = "grpcio" -version = "1.68.1" +version = "1.70.0" description = "HTTP/2-based RPC framework" optional = false python-versions = ">=3.8" -files = [ - {file = "grpcio-1.68.1-cp310-cp310-linux_armv7l.whl", hash = "sha256:d35740e3f45f60f3c37b1e6f2f4702c23867b9ce21c6410254c9c682237da68d"}, - {file = "grpcio-1.68.1-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:d99abcd61760ebb34bdff37e5a3ba333c5cc09feda8c1ad42547bea0416ada78"}, - {file = "grpcio-1.68.1-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:f8261fa2a5f679abeb2a0a93ad056d765cdca1c47745eda3f2d87f874ff4b8c9"}, - {file = "grpcio-1.68.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0feb02205a27caca128627bd1df4ee7212db051019a9afa76f4bb6a1a80ca95e"}, - {file = "grpcio-1.68.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:919d7f18f63bcad3a0f81146188e90274fde800a94e35d42ffe9eadf6a9a6330"}, - {file = "grpcio-1.68.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:963cc8d7d79b12c56008aabd8b457f400952dbea8997dd185f155e2f228db079"}, - {file = "grpcio-1.68.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:ccf2ebd2de2d6661e2520dae293298a3803a98ebfc099275f113ce1f6c2a80f1"}, - {file = "grpcio-1.68.1-cp310-cp310-win32.whl", hash = "sha256:2cc1fd04af8399971bcd4f43bd98c22d01029ea2e56e69c34daf2bf8470e47f5"}, - {file = "grpcio-1.68.1-cp310-cp310-win_amd64.whl", hash = "sha256:ee2e743e51cb964b4975de572aa8fb95b633f496f9fcb5e257893df3be854746"}, - {file = "grpcio-1.68.1-cp311-cp311-linux_armv7l.whl", hash = "sha256:55857c71641064f01ff0541a1776bfe04a59db5558e82897d35a7793e525774c"}, - {file = "grpcio-1.68.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:4b177f5547f1b995826ef529d2eef89cca2f830dd8b2c99ffd5fde4da734ba73"}, - {file = "grpcio-1.68.1-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:3522c77d7e6606d6665ec8d50e867f13f946a4e00c7df46768f1c85089eae515"}, - {file = "grpcio-1.68.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9d1fae6bbf0816415b81db1e82fb3bf56f7857273c84dcbe68cbe046e58e1ccd"}, - {file = "grpcio-1.68.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:298ee7f80e26f9483f0b6f94cc0a046caf54400a11b644713bb5b3d8eb387600"}, - {file = "grpcio-1.68.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:cbb5780e2e740b6b4f2d208e90453591036ff80c02cc605fea1af8e6fc6b1bbe"}, - {file = "grpcio-1.68.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:ddda1aa22495d8acd9dfbafff2866438d12faec4d024ebc2e656784d96328ad0"}, - {file = "grpcio-1.68.1-cp311-cp311-win32.whl", hash = "sha256:b33bd114fa5a83f03ec6b7b262ef9f5cac549d4126f1dc702078767b10c46ed9"}, - {file = "grpcio-1.68.1-cp311-cp311-win_amd64.whl", hash = "sha256:7f20ebec257af55694d8f993e162ddf0d36bd82d4e57f74b31c67b3c6d63d8b2"}, - {file = "grpcio-1.68.1-cp312-cp312-linux_armv7l.whl", hash = "sha256:8829924fffb25386995a31998ccbbeaa7367223e647e0122043dfc485a87c666"}, - {file = "grpcio-1.68.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:3aed6544e4d523cd6b3119b0916cef3d15ef2da51e088211e4d1eb91a6c7f4f1"}, - {file = "grpcio-1.68.1-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:4efac5481c696d5cb124ff1c119a78bddbfdd13fc499e3bc0ca81e95fc573684"}, - {file = "grpcio-1.68.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ab2d912ca39c51f46baf2a0d92aa265aa96b2443266fc50d234fa88bf877d8e"}, - {file = "grpcio-1.68.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:95c87ce2a97434dffe7327a4071839ab8e8bffd0054cc74cbe971fba98aedd60"}, - {file = "grpcio-1.68.1-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:e4842e4872ae4ae0f5497bf60a0498fa778c192cc7a9e87877abd2814aca9475"}, - {file = "grpcio-1.68.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:255b1635b0ed81e9f91da4fcc8d43b7ea5520090b9a9ad9340d147066d1d3613"}, - {file = "grpcio-1.68.1-cp312-cp312-win32.whl", hash = "sha256:7dfc914cc31c906297b30463dde0b9be48e36939575eaf2a0a22a8096e69afe5"}, - {file = "grpcio-1.68.1-cp312-cp312-win_amd64.whl", hash = "sha256:a0c8ddabef9c8f41617f213e527254c41e8b96ea9d387c632af878d05db9229c"}, - {file = "grpcio-1.68.1-cp313-cp313-linux_armv7l.whl", hash = "sha256:a47faedc9ea2e7a3b6569795c040aae5895a19dde0c728a48d3c5d7995fda385"}, - {file = "grpcio-1.68.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:390eee4225a661c5cd133c09f5da1ee3c84498dc265fd292a6912b65c421c78c"}, - {file = "grpcio-1.68.1-cp313-cp313-manylinux_2_17_aarch64.whl", hash = "sha256:66a24f3d45c33550703f0abb8b656515b0ab777970fa275693a2f6dc8e35f1c1"}, - {file = "grpcio-1.68.1-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c08079b4934b0bf0a8847f42c197b1d12cba6495a3d43febd7e99ecd1cdc8d54"}, - {file = "grpcio-1.68.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8720c25cd9ac25dd04ee02b69256d0ce35bf8a0f29e20577427355272230965a"}, - {file = "grpcio-1.68.1-cp313-cp313-musllinux_1_1_i686.whl", hash = "sha256:04cfd68bf4f38f5bb959ee2361a7546916bd9a50f78617a346b3aeb2b42e2161"}, - {file = "grpcio-1.68.1-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:c28848761a6520c5c6071d2904a18d339a796ebe6b800adc8b3f474c5ce3c3ad"}, - {file = "grpcio-1.68.1-cp313-cp313-win32.whl", hash = "sha256:77d65165fc35cff6e954e7fd4229e05ec76102d4406d4576528d3a3635fc6172"}, - {file = "grpcio-1.68.1-cp313-cp313-win_amd64.whl", hash = "sha256:a8040f85dcb9830d8bbb033ae66d272614cec6faceee88d37a88a9bd1a7a704e"}, - {file = "grpcio-1.68.1-cp38-cp38-linux_armv7l.whl", hash = "sha256:eeb38ff04ab6e5756a2aef6ad8d94e89bb4a51ef96e20f45c44ba190fa0bcaad"}, - {file = "grpcio-1.68.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:8a3869a6661ec8f81d93f4597da50336718bde9eb13267a699ac7e0a1d6d0bea"}, - {file = "grpcio-1.68.1-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:2c4cec6177bf325eb6faa6bd834d2ff6aa8bb3b29012cceb4937b86f8b74323c"}, - {file = "grpcio-1.68.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:12941d533f3cd45d46f202e3667be8ebf6bcb3573629c7ec12c3e211d99cfccf"}, - {file = "grpcio-1.68.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:80af6f1e69c5e68a2be529990684abdd31ed6622e988bf18850075c81bb1ad6e"}, - {file = "grpcio-1.68.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:e8dbe3e00771bfe3d04feed8210fc6617006d06d9a2679b74605b9fed3e8362c"}, - {file = "grpcio-1.68.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:83bbf5807dc3ee94ce1de2dfe8a356e1d74101e4b9d7aa8c720cc4818a34aded"}, - {file = "grpcio-1.68.1-cp38-cp38-win32.whl", hash = "sha256:8cb620037a2fd9eeee97b4531880e439ebfcd6d7d78f2e7dcc3726428ab5ef63"}, - {file = "grpcio-1.68.1-cp38-cp38-win_amd64.whl", hash = "sha256:52fbf85aa71263380d330f4fce9f013c0798242e31ede05fcee7fbe40ccfc20d"}, - {file = "grpcio-1.68.1-cp39-cp39-linux_armv7l.whl", hash = "sha256:cb400138e73969eb5e0535d1d06cae6a6f7a15f2cc74add320e2130b8179211a"}, - {file = "grpcio-1.68.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:a1b988b40f2fd9de5c820f3a701a43339d8dcf2cb2f1ca137e2c02671cc83ac1"}, - {file = "grpcio-1.68.1-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:96f473cdacfdd506008a5d7579c9f6a7ff245a9ade92c3c0265eb76cc591914f"}, - {file = "grpcio-1.68.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:37ea3be171f3cf3e7b7e412a98b77685eba9d4fd67421f4a34686a63a65d99f9"}, - {file = "grpcio-1.68.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ceb56c4285754e33bb3c2fa777d055e96e6932351a3082ce3559be47f8024f0"}, - {file = "grpcio-1.68.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:dffd29a2961f3263a16d73945b57cd44a8fd0b235740cb14056f0612329b345e"}, - {file = "grpcio-1.68.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:025f790c056815b3bf53da850dd70ebb849fd755a4b1ac822cb65cd631e37d43"}, - {file = "grpcio-1.68.1-cp39-cp39-win32.whl", hash = "sha256:1098f03dedc3b9810810568060dea4ac0822b4062f537b0f53aa015269be0a76"}, - {file = "grpcio-1.68.1-cp39-cp39-win_amd64.whl", hash = "sha256:334ab917792904245a028f10e803fcd5b6f36a7b2173a820c0b5b076555825e1"}, - {file = "grpcio-1.68.1.tar.gz", hash = "sha256:44a8502dd5de653ae6a73e2de50a401d84184f0331d0ac3daeb044e66d5c5054"}, +groups = ["main"] +files = [ + {file = "grpcio-1.70.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:95469d1977429f45fe7df441f586521361e235982a0b39e33841549143ae2851"}, + {file = "grpcio-1.70.0-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:ed9718f17fbdb472e33b869c77a16d0b55e166b100ec57b016dc7de9c8d236bf"}, + {file = "grpcio-1.70.0-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:374d014f29f9dfdb40510b041792e0e2828a1389281eb590df066e1cc2b404e5"}, + {file = "grpcio-1.70.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f2af68a6f5c8f78d56c145161544ad0febbd7479524a59c16b3e25053f39c87f"}, + {file = "grpcio-1.70.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ce7df14b2dcd1102a2ec32f621cc9fab6695effef516efbc6b063ad749867295"}, + {file = "grpcio-1.70.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:c78b339869f4dbf89881e0b6fbf376313e4f845a42840a7bdf42ee6caed4b11f"}, + {file = "grpcio-1.70.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:58ad9ba575b39edef71f4798fdb5c7b6d02ad36d47949cd381d4392a5c9cbcd3"}, + {file = "grpcio-1.70.0-cp310-cp310-win32.whl", hash = "sha256:2b0d02e4b25a5c1f9b6c7745d4fa06efc9fd6a611af0fb38d3ba956786b95199"}, + {file = "grpcio-1.70.0-cp310-cp310-win_amd64.whl", hash = "sha256:0de706c0a5bb9d841e353f6343a9defc9fc35ec61d6eb6111802f3aa9fef29e1"}, + {file = "grpcio-1.70.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:17325b0be0c068f35770f944124e8839ea3185d6d54862800fc28cc2ffad205a"}, + {file = "grpcio-1.70.0-cp311-cp311-macosx_10_14_universal2.whl", hash = "sha256:dbe41ad140df911e796d4463168e33ef80a24f5d21ef4d1e310553fcd2c4a386"}, + {file = "grpcio-1.70.0-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:5ea67c72101d687d44d9c56068328da39c9ccba634cabb336075fae2eab0d04b"}, + {file = "grpcio-1.70.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cb5277db254ab7586769e490b7b22f4ddab3876c490da0a1a9d7c695ccf0bf77"}, + {file = "grpcio-1.70.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e7831a0fc1beeeb7759f737f5acd9fdcda520e955049512d68fda03d91186eea"}, + {file = "grpcio-1.70.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:27cc75e22c5dba1fbaf5a66c778e36ca9b8ce850bf58a9db887754593080d839"}, + {file = "grpcio-1.70.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:d63764963412e22f0491d0d32833d71087288f4e24cbcddbae82476bfa1d81fd"}, + {file = "grpcio-1.70.0-cp311-cp311-win32.whl", hash = "sha256:bb491125103c800ec209d84c9b51f1c60ea456038e4734688004f377cfacc113"}, + {file = "grpcio-1.70.0-cp311-cp311-win_amd64.whl", hash = "sha256:d24035d49e026353eb042bf7b058fb831db3e06d52bee75c5f2f3ab453e71aca"}, + {file = "grpcio-1.70.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:ef4c14508299b1406c32bdbb9fb7b47612ab979b04cf2b27686ea31882387cff"}, + {file = "grpcio-1.70.0-cp312-cp312-macosx_10_14_universal2.whl", hash = "sha256:aa47688a65643afd8b166928a1da6247d3f46a2784d301e48ca1cc394d2ffb40"}, + {file = "grpcio-1.70.0-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:880bfb43b1bb8905701b926274eafce5c70a105bc6b99e25f62e98ad59cb278e"}, + {file = "grpcio-1.70.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9e654c4b17d07eab259d392e12b149c3a134ec52b11ecdc6a515b39aceeec898"}, + {file = "grpcio-1.70.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2394e3381071045a706ee2eeb6e08962dd87e8999b90ac15c55f56fa5a8c9597"}, + {file = "grpcio-1.70.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:b3c76701428d2df01964bc6479422f20e62fcbc0a37d82ebd58050b86926ef8c"}, + {file = "grpcio-1.70.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:ac073fe1c4cd856ebcf49e9ed6240f4f84d7a4e6ee95baa5d66ea05d3dd0df7f"}, + {file = "grpcio-1.70.0-cp312-cp312-win32.whl", hash = "sha256:cd24d2d9d380fbbee7a5ac86afe9787813f285e684b0271599f95a51bce33528"}, + {file = "grpcio-1.70.0-cp312-cp312-win_amd64.whl", hash = "sha256:0495c86a55a04a874c7627fd33e5beaee771917d92c0e6d9d797628ac40e7655"}, + {file = "grpcio-1.70.0-cp313-cp313-linux_armv7l.whl", hash = "sha256:aa573896aeb7d7ce10b1fa425ba263e8dddd83d71530d1322fd3a16f31257b4a"}, + {file = "grpcio-1.70.0-cp313-cp313-macosx_10_14_universal2.whl", hash = "sha256:d405b005018fd516c9ac529f4b4122342f60ec1cee181788249372524e6db429"}, + {file = "grpcio-1.70.0-cp313-cp313-manylinux_2_17_aarch64.whl", hash = "sha256:f32090238b720eb585248654db8e3afc87b48d26ac423c8dde8334a232ff53c9"}, + {file = "grpcio-1.70.0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dfa089a734f24ee5f6880c83d043e4f46bf812fcea5181dcb3a572db1e79e01c"}, + {file = "grpcio-1.70.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f19375f0300b96c0117aca118d400e76fede6db6e91f3c34b7b035822e06c35f"}, + {file = "grpcio-1.70.0-cp313-cp313-musllinux_1_1_i686.whl", hash = "sha256:7c73c42102e4a5ec76608d9b60227d917cea46dff4d11d372f64cbeb56d259d0"}, + {file = "grpcio-1.70.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:0a5c78d5198a1f0aa60006cd6eb1c912b4a1520b6a3968e677dbcba215fabb40"}, + {file = "grpcio-1.70.0-cp313-cp313-win32.whl", hash = "sha256:fe9dbd916df3b60e865258a8c72ac98f3ac9e2a9542dcb72b7a34d236242a5ce"}, + {file = "grpcio-1.70.0-cp313-cp313-win_amd64.whl", hash = "sha256:4119fed8abb7ff6c32e3d2255301e59c316c22d31ab812b3fbcbaf3d0d87cc68"}, + {file = "grpcio-1.70.0-cp38-cp38-linux_armv7l.whl", hash = "sha256:8058667a755f97407fca257c844018b80004ae8035565ebc2812cc550110718d"}, + {file = "grpcio-1.70.0-cp38-cp38-macosx_10_14_universal2.whl", hash = "sha256:879a61bf52ff8ccacbedf534665bb5478ec8e86ad483e76fe4f729aaef867cab"}, + {file = "grpcio-1.70.0-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:0ba0a173f4feacf90ee618fbc1a27956bfd21260cd31ced9bc707ef551ff7dc7"}, + {file = "grpcio-1.70.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:558c386ecb0148f4f99b1a65160f9d4b790ed3163e8610d11db47838d452512d"}, + {file = "grpcio-1.70.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:412faabcc787bbc826f51be261ae5fa996b21263de5368a55dc2cf824dc5090e"}, + {file = "grpcio-1.70.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:3b0f01f6ed9994d7a0b27eeddea43ceac1b7e6f3f9d86aeec0f0064b8cf50fdb"}, + {file = "grpcio-1.70.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:7385b1cb064734005204bc8994eed7dcb801ed6c2eda283f613ad8c6c75cf873"}, + {file = "grpcio-1.70.0-cp38-cp38-win32.whl", hash = "sha256:07269ff4940f6fb6710951116a04cd70284da86d0a4368fd5a3b552744511f5a"}, + {file = "grpcio-1.70.0-cp38-cp38-win_amd64.whl", hash = "sha256:aba19419aef9b254e15011b230a180e26e0f6864c90406fdbc255f01d83bc83c"}, + {file = "grpcio-1.70.0-cp39-cp39-linux_armv7l.whl", hash = "sha256:4f1937f47c77392ccd555728f564a49128b6a197a05a5cd527b796d36f3387d0"}, + {file = "grpcio-1.70.0-cp39-cp39-macosx_10_14_universal2.whl", hash = "sha256:0cd430b9215a15c10b0e7d78f51e8a39d6cf2ea819fd635a7214fae600b1da27"}, + {file = "grpcio-1.70.0-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:e27585831aa6b57b9250abaf147003e126cd3a6c6ca0c531a01996f31709bed1"}, + {file = "grpcio-1.70.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c1af8e15b0f0fe0eac75195992a63df17579553b0c4af9f8362cc7cc99ccddf4"}, + {file = "grpcio-1.70.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cbce24409beaee911c574a3d75d12ffb8c3e3dd1b813321b1d7a96bbcac46bf4"}, + {file = "grpcio-1.70.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:ff4a8112a79464919bb21c18e956c54add43ec9a4850e3949da54f61c241a4a6"}, + {file = "grpcio-1.70.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5413549fdf0b14046c545e19cfc4eb1e37e9e1ebba0ca390a8d4e9963cab44d2"}, + {file = "grpcio-1.70.0-cp39-cp39-win32.whl", hash = "sha256:b745d2c41b27650095e81dea7091668c040457483c9bdb5d0d9de8f8eb25e59f"}, + {file = "grpcio-1.70.0-cp39-cp39-win_amd64.whl", hash = "sha256:a31d7e3b529c94e930a117b2175b2efd179d96eb3c7a21ccb0289a8ab05b645c"}, + {file = "grpcio-1.70.0.tar.gz", hash = "sha256:8d1584a68d5922330025881e63a6c1b54cc8117291d382e4fa69339b6d914c56"}, ] [package.extras] -protobuf = ["grpcio-tools (>=1.68.1)"] +protobuf = ["grpcio-tools (>=1.70.0)"] [[package]] name = "grpcio-tools" -version = "1.68.1" +version = "1.70.0" description = "Protobuf code generator for gRPC" optional = false python-versions = ">=3.8" -files = [ - {file = "grpcio_tools-1.68.1-cp310-cp310-linux_armv7l.whl", hash = "sha256:3a93ea324c5cbccdff55110777410d026dc1e69c3d47684ac97f57f7a77b9c70"}, - {file = "grpcio_tools-1.68.1-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:94cbfb9482cfd7bdb5f081b94fa137a16e4fe031daa57a2cd85d8cb4e18dce25"}, - {file = "grpcio_tools-1.68.1-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:bbe7e1641859c858d0f4631f7f7c09e7302433f1aa037028d2419c1410945fac"}, - {file = "grpcio_tools-1.68.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:55c0f91c4294c5807796ed26af42509f3d68497942a92d9ee9f43b08768d6c3c"}, - {file = "grpcio_tools-1.68.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:85adc798fd3b57ab3e998b5897c5daab6840211ac16cdf3ba99901cb9b90094a"}, - {file = "grpcio_tools-1.68.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:f0bdccb00709bf6180a80a353a99fa844cc0bb2d450cdf7fc6ab22c988bb6b4c"}, - {file = "grpcio_tools-1.68.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:2465e4d347b35dc0c007e074c79d5ded0a89c3aa26651e690f83593e0cc28af8"}, - {file = "grpcio_tools-1.68.1-cp310-cp310-win32.whl", hash = "sha256:83c124a1776c1027da7d36584c8044cfed7a9f10e90f08dafde8d2a4cb822319"}, - {file = "grpcio_tools-1.68.1-cp310-cp310-win_amd64.whl", hash = "sha256:283fd1359d619d42c3346f1d8f0a70636a036a421178803a1ab8083fa4228a38"}, - {file = "grpcio_tools-1.68.1-cp311-cp311-linux_armv7l.whl", hash = "sha256:02f04de42834129eb54bb12469160ab631a0395d6a2b77975381c02b994086c3"}, - {file = "grpcio_tools-1.68.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:92b6aab37095879ef9ee428dd171740ff794f4c7a66bc1cc7280cd0051f8cd96"}, - {file = "grpcio_tools-1.68.1-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:1f0ac6ac5e1e33b998511981b3ef36489501833413354f3597b97a3452d7d7ba"}, - {file = "grpcio_tools-1.68.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:28e0bca3a262af86557f30e30ddf2fadc2324ee05cd7352716924cc7f83541f1"}, - {file = "grpcio_tools-1.68.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:12239cf5ca6b7b4937103953cf35c49683d935e32e98596fe52dd35168aa86e6"}, - {file = "grpcio_tools-1.68.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:8e48d8884fcf6b182c73d0560a183404458e30a0f479918b88ca8fbd48b8b05f"}, - {file = "grpcio_tools-1.68.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e4e8059469847441855322da16fa2c0f9787b996c237a98778210e31188a8652"}, - {file = "grpcio_tools-1.68.1-cp311-cp311-win32.whl", hash = "sha256:21815d54a83effbd2600d16382a7897298cfeffe578557fc9a47b642cc8ddafe"}, - {file = "grpcio_tools-1.68.1-cp311-cp311-win_amd64.whl", hash = "sha256:2114528723d9f12d3e24af3d433ec6f140deea1dd64d3bb1b4ebced217f1867c"}, - {file = "grpcio_tools-1.68.1-cp312-cp312-linux_armv7l.whl", hash = "sha256:d67a9d1ad22ff0d22715dba1d5f8f23ebd47cea84ccd20c90bf4690d988adc5b"}, - {file = "grpcio_tools-1.68.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:c7f1e704ff73eb01afac51b63b74868a35aaa5d6f791fc63bd41af44a51aa232"}, - {file = "grpcio_tools-1.68.1-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:e9f69988bd77db014795511c498e89a0db24bd47877e65921364114f88de3bee"}, - {file = "grpcio_tools-1.68.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8585ec7d11fcc2bb635b39605a4466ca9fa28dbae0c184fe58f456da72cb9031"}, - {file = "grpcio_tools-1.68.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c81d0be6c46fcbcd2cd126804060a95531cdf6d779436b2fbc68c8b4a7db2dc1"}, - {file = "grpcio_tools-1.68.1-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:6efdb02e75baf289935b5dad665f0e0f7c3311d86aae0cd2c709e2a8a34bb620"}, - {file = "grpcio_tools-1.68.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8ea367639e771e5a05f7320eb4ae2b27e09d2ec3baeae9819d1c590cc7eaaa08"}, - {file = "grpcio_tools-1.68.1-cp312-cp312-win32.whl", hash = "sha256:a5b1021c9942bba7eca1555061e2d308f506198088a3a539fcb3633499c6635f"}, - {file = "grpcio_tools-1.68.1-cp312-cp312-win_amd64.whl", hash = "sha256:315ad9c28940c95e85e57aeca309d298113175c2d5e8221501a05a51072f5477"}, - {file = "grpcio_tools-1.68.1-cp313-cp313-linux_armv7l.whl", hash = "sha256:67e49b5ede0cc8a0f988f41f7b72f6bc03180aecdb5213bd985bc1bbfd9ffdac"}, - {file = "grpcio_tools-1.68.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:b78e38f953062d45ff92ec940da292dc9bfbf26de492c8dc44e12b13493a8e80"}, - {file = "grpcio_tools-1.68.1-cp313-cp313-manylinux_2_17_aarch64.whl", hash = "sha256:8ebe9df5bab4121e8f51e013a379be2027179a0c8013e89d686a1e5800e9c205"}, - {file = "grpcio_tools-1.68.1-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:be553e3ea7447ed9e2e2d089f3b0a77000e86d2681b3c77498c98dddffc62d22"}, - {file = "grpcio_tools-1.68.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d4877f3eabb6185b5691f5218fedc86a84a833734847a294048862ec910a2854"}, - {file = "grpcio_tools-1.68.1-cp313-cp313-musllinux_1_1_i686.whl", hash = "sha256:b98173e536e8f2779eff84a03409cca6497dc1fad3d10a47c8d881b2cb36259b"}, - {file = "grpcio_tools-1.68.1-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:5b64035dcd0df70acf3af972c3f103b0ce141d29732fd94eaa8b38cf7c8e62fe"}, - {file = "grpcio_tools-1.68.1-cp313-cp313-win32.whl", hash = "sha256:573f3ed3276df20c308797ae834ac6c5595b1dd2953b243eedadbcd986a287d7"}, - {file = "grpcio_tools-1.68.1-cp313-cp313-win_amd64.whl", hash = "sha256:c4539c6231015c40db879fbc0feaaf03adb4275c1bd2b4dd26e2323f2a13655a"}, - {file = "grpcio_tools-1.68.1-cp38-cp38-linux_armv7l.whl", hash = "sha256:3e0fc6dbc64efc7bb0fe23ce46587e0cbeb512142d543834c2bc9100c8f255ff"}, - {file = "grpcio_tools-1.68.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:79337ac1b19610b99f93aa52ae05e5fbf96adbe60d54ecf192af44cc69118d19"}, - {file = "grpcio_tools-1.68.1-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:eb7cae5f0232aba9057f26a45ef6b0a5633d36627fe49442c0985b6f44b67822"}, - {file = "grpcio_tools-1.68.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:25fe1bcbb558a477c525bec9d67e1469d47dddc9430e6e5c0d11f67f08cfc810"}, - {file = "grpcio_tools-1.68.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1ce901f42037d1ebc7724e721180d03e33163d5acf0a62c52728e6c36117c5e9"}, - {file = "grpcio_tools-1.68.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:3c213c2208c42dce2a5fc7cfb2b952a3c22ef019812f9f27bd54c6e00ee0720e"}, - {file = "grpcio_tools-1.68.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:ff6ae5031a03ab90e9c508d12914438b73efd44b5eed9946bf8974c453d0ed57"}, - {file = "grpcio_tools-1.68.1-cp38-cp38-win32.whl", hash = "sha256:41e631e72b6b94eb6f3d9cd533c682249f82fc58007c7561f6e521b884a6347e"}, - {file = "grpcio_tools-1.68.1-cp38-cp38-win_amd64.whl", hash = "sha256:69fb93761f116a5b063fb4f6150023c4d785304b37adcebf561b95018f9b40ae"}, - {file = "grpcio_tools-1.68.1-cp39-cp39-linux_armv7l.whl", hash = "sha256:31c703dba465956acb83adc105d61297459d0d14b512441d827f6c040cbffe2b"}, - {file = "grpcio_tools-1.68.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:1093f441751689d225916e3fe02daf98d2becab688b9e167bd2c38454ec50906"}, - {file = "grpcio_tools-1.68.1-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:3543b9205e5b88d2280493aa9b55d35ce9cc45b7a0891c9d84c200652802e22a"}, - {file = "grpcio_tools-1.68.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:79d575cc5a522b9920d9a07387976fc02d162bdf97ba51cf91fabdca8dfdb491"}, - {file = "grpcio_tools-1.68.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d546e4a506288d6227acc0eb625039c5e1ad96218c8cfe9ecf661a41e15e442e"}, - {file = "grpcio_tools-1.68.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:aced9c7a4edbf6eff73720bfa6fefd9053ae294535a488dfb92a372913eda10d"}, - {file = "grpcio_tools-1.68.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:d3c08d1a244b5025ba3f8ef81d0885b431b93cc20bc4560add4cdfcf38c1bfad"}, - {file = "grpcio_tools-1.68.1-cp39-cp39-win32.whl", hash = "sha256:049f05a3f227e9f696059a20b2858e6d7c1cd6037d8471306d7ab7627b1a4ce4"}, - {file = "grpcio_tools-1.68.1-cp39-cp39-win_amd64.whl", hash = "sha256:4c3599c75b1157e6bda24cdbdadb023bf0fe1085aa1e0047a1f35a8778f9b56e"}, - {file = "grpcio_tools-1.68.1.tar.gz", hash = "sha256:2413a17ad16c9c821b36e4a67fc64c37b9e4636ab1c3a07778018801378739ba"}, +groups = ["main"] +files = [ + {file = "grpcio_tools-1.70.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:4d456521290e25b1091975af71604facc5c7db162abdca67e12a0207b8bbacbe"}, + {file = "grpcio_tools-1.70.0-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:d50080bca84f53f3a05452e06e6251cbb4887f5a1d1321d1989e26d6e0dc398d"}, + {file = "grpcio_tools-1.70.0-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:02e3bf55fb569fe21b54a32925979156e320f9249bb247094c4cbaa60c23a80d"}, + {file = "grpcio_tools-1.70.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:88a3ec6fa2381f616d567f996503e12ca353777941b61030fd9733fd5772860e"}, + {file = "grpcio_tools-1.70.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6034a0579fab2aed8685fa1a558de084668b1e9b01a82a4ca7458b9bedf4654c"}, + {file = "grpcio_tools-1.70.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:701bbb1ff406a21a771f5b1df6be516c0a59236774b6836eaad7696b1d128ea8"}, + {file = "grpcio_tools-1.70.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:6eeb86864e1432fc1ab61e03395a2a4c04e9dd9c89db07e6fe68c7c2ac8ec24f"}, + {file = "grpcio_tools-1.70.0-cp310-cp310-win32.whl", hash = "sha256:d53c8c45e843b5836781ad6b82a607c72c2f9a3f556e23d703a0e099222421fa"}, + {file = "grpcio_tools-1.70.0-cp310-cp310-win_amd64.whl", hash = "sha256:22024caee36ab65c2489594d718921dcbb5bd18d61c5417a9ede94fd8dc8a589"}, + {file = "grpcio_tools-1.70.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:5f5aba12d98d25c7ab2dd983939e2c21556a7d15f903b286f24d88d2c6e30c0a"}, + {file = "grpcio_tools-1.70.0-cp311-cp311-macosx_10_14_universal2.whl", hash = "sha256:d47a6c6cfc526b290b7b53a37dd7e6932983f7a168b56aab760b4b597c47f30f"}, + {file = "grpcio_tools-1.70.0-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:b5a9beadd1e24772ffa2c70f07d72f73330d356b78b246e424f4f2ed6c6713f3"}, + {file = "grpcio_tools-1.70.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bb8135eef160a62505f074bf7a3d62f3b13911c3c14037c5392bf877114213b5"}, + {file = "grpcio_tools-1.70.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f7ac9b3e13ace8467a586c53580ee22f9732c355583f3c344ef8c6c0666219cc"}, + {file = "grpcio_tools-1.70.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:63f367363a4a1489a0046b19f9d561216ea0d206c40a6f1bf07a58ccfb7be480"}, + {file = "grpcio_tools-1.70.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:54ceffef59a059d2c7304554a8bbb20eedb05a3f937159ab1c332c1b28e12c9f"}, + {file = "grpcio_tools-1.70.0-cp311-cp311-win32.whl", hash = "sha256:7a90a66a46821140a2a2b0be787dfabe42e22e9a5ba9cc70726b3e5c71a3b785"}, + {file = "grpcio_tools-1.70.0-cp311-cp311-win_amd64.whl", hash = "sha256:4ebf09733545a69c166b02caa14c34451e38855544820dab7fdde5c28e2dbffe"}, + {file = "grpcio_tools-1.70.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:ec5d6932c3173d7618267b3b3fd77b9243949c5ec04302b7338386d4f8544e0b"}, + {file = "grpcio_tools-1.70.0-cp312-cp312-macosx_10_14_universal2.whl", hash = "sha256:f22852da12f53b02a3bdb29d0c32fcabab9c7c8f901389acffec8461083f110d"}, + {file = "grpcio_tools-1.70.0-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:7d45067e6efd20881e98a0e1d7edd7f207b1625ad7113321becbfe0a6ebee46c"}, + {file = "grpcio_tools-1.70.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3020c97f03b30eee3c26aa2a55fbe003f1729c6f879a378507c2c78524db7c12"}, + {file = "grpcio_tools-1.70.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d7fd472fce3b33bdf7fbc24d40da7ab10d7a088bcaf59c37433c2c57330fbcb6"}, + {file = "grpcio_tools-1.70.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:3875543d74ce1a698a11f498f83795216ce929cb29afa5fac15672c7ba1d6dd2"}, + {file = "grpcio_tools-1.70.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:a130c24d617a3a57369da784080dfa8848444d41b7ae1250abc06e72e706a8d9"}, + {file = "grpcio_tools-1.70.0-cp312-cp312-win32.whl", hash = "sha256:8eae17c920d14e2e451dbb18f5d8148f884e10228061941b33faa8fceee86e73"}, + {file = "grpcio_tools-1.70.0-cp312-cp312-win_amd64.whl", hash = "sha256:99caa530242a0a832d8b6a6ab94b190c9b449d3e237f953911b4d56207569436"}, + {file = "grpcio_tools-1.70.0-cp313-cp313-linux_armv7l.whl", hash = "sha256:f024688d04e7a9429489ed695b85628075c3c6d655198ba3c6ccbd1d8b7c333b"}, + {file = "grpcio_tools-1.70.0-cp313-cp313-macosx_10_14_universal2.whl", hash = "sha256:1fa9a81621d7178498dedcf94eb8f276a7594327faf3dd5fd1935ce2819a2bdb"}, + {file = "grpcio_tools-1.70.0-cp313-cp313-manylinux_2_17_aarch64.whl", hash = "sha256:c6da2585c0950cdb650df1ff6d85b3fe31e22f8370b9ee11f8fe641d5b4bf096"}, + {file = "grpcio_tools-1.70.0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:70234b592af17050ec30cf35894790cef52aeae87639efe6db854a7fa783cc8c"}, + {file = "grpcio_tools-1.70.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9c021b040d0a9f5bb96a725c4d2b95008aad127d6bed124a7bbe854973014f5b"}, + {file = "grpcio_tools-1.70.0-cp313-cp313-musllinux_1_1_i686.whl", hash = "sha256:114a42e566e5b16a47e98f7910a6c0074b37e2d1faacaae13222e463d0d0d43c"}, + {file = "grpcio_tools-1.70.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:4cae365d7e3ba297256216a9a256458b286f75c64603f017972b3ad1ee374437"}, + {file = "grpcio_tools-1.70.0-cp313-cp313-win32.whl", hash = "sha256:ae139a8d3ddd8353f62af3af018e99ebcd2f4a237bd319cb4b6f58dd608aaa54"}, + {file = "grpcio_tools-1.70.0-cp313-cp313-win_amd64.whl", hash = "sha256:04bf30c0eb2741defe3ab6e0a6102b022d69cfd39d68fab9b954993ceca8d346"}, + {file = "grpcio_tools-1.70.0-cp38-cp38-linux_armv7l.whl", hash = "sha256:076f71c6d5adcf237ebca63f1ed51098293261dab9f301e3dfd180e896e5fa89"}, + {file = "grpcio_tools-1.70.0-cp38-cp38-macosx_10_14_universal2.whl", hash = "sha256:d1fc2112e9c40167086e2e6a929b253e5281bffd070fab7cd1ae019317ffc11d"}, + {file = "grpcio_tools-1.70.0-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:904f13d2d04f88178b09d8ef89549b90cbf8792b684a7c72540fc1a9887697e2"}, + {file = "grpcio_tools-1.70.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1de6c71833d36fb8cc8ac10539681756dc2c5c67e5d4aa4d05adb91ecbdd8474"}, + {file = "grpcio_tools-1.70.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1ab788afced2d2c59bef86479967ce0b28485789a9f2cc43793bb7aa67f9528b"}, + {file = "grpcio_tools-1.70.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:836293dcbb1e59fa52aa8aa890bd7a32a8eea7651cd614e96d86de4f3032fe73"}, + {file = "grpcio_tools-1.70.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:740b3741d124c5f390dd50ad1c42c11788882baf3c202cd3e69adee0e3dde559"}, + {file = "grpcio_tools-1.70.0-cp38-cp38-win32.whl", hash = "sha256:b9e4a12b862ba5e42d8028da311e8d4a2c307362659b2f4141d0f940f8c12b49"}, + {file = "grpcio_tools-1.70.0-cp38-cp38-win_amd64.whl", hash = "sha256:fd04c93af460b1456cd12f8f85502503e1db6c4adc1b7d4bd775b12c1fd94fee"}, + {file = "grpcio_tools-1.70.0-cp39-cp39-linux_armv7l.whl", hash = "sha256:52d7e7ef11867fe7de577076b1f2ac6bf106b2325130e3de66f8c364c96ff332"}, + {file = "grpcio_tools-1.70.0-cp39-cp39-macosx_10_14_universal2.whl", hash = "sha256:0f7ed0372afd9f5eb938334e84681396257015ab92e03de009aa3170e64b24d0"}, + {file = "grpcio_tools-1.70.0-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:24a5b0328ffcfe0c4a9024f302545abdb8d6f24921409a5839f2879555b96fea"}, + {file = "grpcio_tools-1.70.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9387b30f3b2f46942fb5718624d7421875a6ce458620d6e15817172d78db1e1a"}, + {file = "grpcio_tools-1.70.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4545264e06e1cd7fb21b9447bb5126330bececb4bc626c98f793fda2fd910bf8"}, + {file = "grpcio_tools-1.70.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:79b723ce30416e8e1d7ff271f97ade79aaf30309a595d80c377105c07f5b20fd"}, + {file = "grpcio_tools-1.70.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:1c0917dce12af04529606d437def83962d51c59dcde905746134222e94a2ab1b"}, + {file = "grpcio_tools-1.70.0-cp39-cp39-win32.whl", hash = "sha256:5cb0baa52d4d44690fac6b1040197c694776a291a90e2d3c369064b4d5bc6642"}, + {file = "grpcio_tools-1.70.0-cp39-cp39-win_amd64.whl", hash = "sha256:840ec536ab933db2ef8d5acaa6b712d0e9e8f397f62907c852ec50a3f69cdb78"}, + {file = "grpcio_tools-1.70.0.tar.gz", hash = "sha256:e578fee7c1c213c8e471750d92631d00f178a15479fb2cb3b939a07fc125ccd3"}, ] [package.dependencies] -grpcio = ">=1.68.1" +grpcio = ">=1.70.0" protobuf = ">=5.26.1,<6.0dev" setuptools = "*" @@ -1537,6 +1679,7 @@ version = "0.1.2" description = "Python implementation of the BIP32 key derivation scheme" optional = false python-versions = ">=3.6" +groups = ["main"] files = [ {file = "hdwallets-0.1.2-py3-none-any.whl", hash = "sha256:455b55b061f2b356a93e305b0c2263a6007d2ed45e48749975f09308499a2fdb"}, {file = "hdwallets-0.1.2.tar.gz", hash = "sha256:c85d08b59c3fd3bc5b29398583d7d7dc46f95456f69ff15a3ab0353084ee7529"}, @@ -1551,6 +1694,7 @@ version = "0.3.1" description = "hexbytes: Python `bytes` subclass that decodes hex, with a readable console output" optional = false python-versions = ">=3.7, <4" +groups = ["main"] files = [ {file = "hexbytes-0.3.1-py3-none-any.whl", hash = "sha256:383595ad75026cf00abd570f44b368c6cdac0c6becfae5c39ff88829877f8a59"}, {file = "hexbytes-0.3.1.tar.gz", hash = "sha256:a3fe35c6831ee8fafd048c4c086b986075fc14fd46258fa24ecb8d65745f9a9d"}, @@ -1564,13 +1708,14 @@ test = ["eth-utils (>=1.0.1,<3)", "hypothesis (>=3.44.24,<=6.31.6)", "pytest (>= [[package]] name = "identify" -version = "2.6.3" +version = "2.6.6" description = "File identification library for Python" optional = false python-versions = ">=3.9" +groups = ["dev"] files = [ - {file = "identify-2.6.3-py2.py3-none-any.whl", hash = "sha256:9edba65473324c2ea9684b1f944fe3191db3345e50b6d04571d10ed164f8d7bd"}, - {file = "identify-2.6.3.tar.gz", hash = "sha256:62f5dae9b5fef52c84cc188514e9ea4f3f636b1d8799ab5ebc475471f9e47a02"}, + {file = "identify-2.6.6-py2.py3-none-any.whl", hash = "sha256:cbd1810bce79f8b671ecb20f53ee0ae8e86ae84b557de31d89709dc2a48ba881"}, + {file = "identify-2.6.6.tar.gz", hash = "sha256:7bec12768ed44ea4761efb47806f0a41f86e7c0a5fdf5950d4648c90eca7e251"}, ] [package.extras] @@ -1582,6 +1727,7 @@ version = "3.10" description = "Internationalized Domain Names in Applications (IDNA)" optional = false python-versions = ">=3.6" +groups = ["main", "test"] files = [ {file = "idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3"}, {file = "idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9"}, @@ -1596,6 +1742,7 @@ version = "4.13.0" description = "Read metadata from Python packages" optional = false python-versions = ">=3.7" +groups = ["dev"] files = [ {file = "importlib_metadata-4.13.0-py3-none-any.whl", hash = "sha256:8a8a81bcf996e74fee46f0d16bd3eaa382a7eb20fd82445c3ad11f4090334116"}, {file = "importlib_metadata-4.13.0.tar.gz", hash = "sha256:dd0173e8f150d6815e098fd354f6414b0f079af4644ddfe90c71e2fc6174346d"}, @@ -1615,6 +1762,7 @@ version = "2.0.0" description = "brain-dead simple config-ini parsing" optional = false python-versions = ">=3.7" +groups = ["test"] files = [ {file = "iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"}, {file = "iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"}, @@ -1626,6 +1774,7 @@ version = "5.13.2" description = "A Python utility / library to sort Python imports." optional = false python-versions = ">=3.8.0" +groups = ["dev"] files = [ {file = "isort-5.13.2-py3-none-any.whl", hash = "sha256:8ca5e72a8d85860d5a3fa69b8745237f2939afe12dbf656afbcb47fe72d947a6"}, {file = "isort-5.13.2.tar.gz", hash = "sha256:48fdfcb9face5d58a4f6dde2e72a1fb8dcaf8ab26f95ab49fab84c2ddefb0109"}, @@ -1640,6 +1789,7 @@ version = "4.23.0" description = "An implementation of JSON Schema validation for Python" optional = false python-versions = ">=3.8" +groups = ["main"] files = [ {file = "jsonschema-4.23.0-py3-none-any.whl", hash = "sha256:fbadb6f8b144a8f8cf9f0b89ba94501d143e50411a1278633f56a7acf7fd5566"}, {file = "jsonschema-4.23.0.tar.gz", hash = "sha256:d71497fef26351a33265337fa77ffeb82423f3ea21283cd9467bb03999266bc4"}, @@ -1661,6 +1811,7 @@ version = "2024.10.1" description = "The JSON Schema meta-schemas and vocabularies, exposed as a Registry" optional = false python-versions = ">=3.9" +groups = ["main"] files = [ {file = "jsonschema_specifications-2024.10.1-py3-none-any.whl", hash = "sha256:a09a0680616357d9a0ecf05c12ad234479f549239d0f5b55f3deea67475da9bf"}, {file = "jsonschema_specifications-2024.10.1.tar.gz", hash = "sha256:0f38b83639958ce1152d02a7f062902c41c8fd20d558b0c34344292d417ae272"}, @@ -1675,6 +1826,7 @@ version = "1.2.0" description = "An Dict like LRU container." optional = false python-versions = "*" +groups = ["main"] files = [ {file = "lru-dict-1.2.0.tar.gz", hash = "sha256:13c56782f19d68ddf4d8db0170041192859616514c706b126d0df2ec72a11bd7"}, {file = "lru_dict-1.2.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:de906e5486b5c053d15b7731583c25e3c9147c288ac8152a6d1f9bccdec72641"}, @@ -1769,6 +1921,7 @@ version = "0.6.1" description = "McCabe checker, plugin for flake8" optional = false python-versions = "*" +groups = ["dev"] files = [ {file = "mccabe-0.6.1-py2.py3-none-any.whl", hash = "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42"}, {file = "mccabe-0.6.1.tar.gz", hash = "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f"}, @@ -1780,6 +1933,7 @@ version = "0.21" description = "Implementation of Bitcoin BIP-0039" optional = false python-versions = ">=3.8.1" +groups = ["main"] files = [ {file = "mnemonic-0.21-py3-none-any.whl", hash = "sha256:72dc9de16ec5ef47287237b9b6943da11647a03fe7cf1f139fc3d7c4a7439288"}, {file = "mnemonic-0.21.tar.gz", hash = "sha256:1fe496356820984f45559b1540c80ff10de448368929b9c60a2b55744cc88acf"}, @@ -1791,6 +1945,7 @@ version = "6.1.0" description = "multidict implementation" optional = false python-versions = ">=3.8" +groups = ["main", "test"] files = [ {file = "multidict-6.1.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:3380252550e372e8511d49481bd836264c009adb826b23fefcc5dd3c69692f60"}, {file = "multidict-6.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:99f826cbf970077383d7de805c0681799491cb939c25450b9b5b3ced03ca99f1"}, @@ -1895,6 +2050,7 @@ version = "1.0.0" description = "Type system extensions for programs checked with the mypy type checker." optional = false python-versions = ">=3.5" +groups = ["dev"] files = [ {file = "mypy_extensions-1.0.0-py3-none-any.whl", hash = "sha256:4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d"}, {file = "mypy_extensions-1.0.0.tar.gz", hash = "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782"}, @@ -1906,6 +2062,7 @@ version = "1.9.1" description = "Node.js virtual environment builder" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" +groups = ["dev"] files = [ {file = "nodeenv-1.9.1-py2.py3-none-any.whl", hash = "sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9"}, {file = "nodeenv-1.9.1.tar.gz", hash = "sha256:6ec12890a2dab7946721edbfbcd91f3319c6ccc9aec47be7c7e6b7011ee6645f"}, @@ -1917,6 +2074,7 @@ version = "24.2" description = "Core utilities for Python packages" optional = false python-versions = ">=3.8" +groups = ["dev", "test"] files = [ {file = "packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759"}, {file = "packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f"}, @@ -1928,6 +2086,7 @@ version = "0.10.0" description = "(Soon to be) the fastest pure-Python PEG parser I could muster" optional = false python-versions = "*" +groups = ["main"] files = [ {file = "parsimonious-0.10.0-py3-none-any.whl", hash = "sha256:982ab435fabe86519b57f6b35610aa4e4e977e9f02a14353edf4bbc75369fc0f"}, {file = "parsimonious-0.10.0.tar.gz", hash = "sha256:8281600da180ec8ae35427a4ab4f7b82bfec1e3d1e52f80cb60ea82b9512501c"}, @@ -1942,6 +2101,7 @@ version = "0.12.1" description = "Utility library for gitignore style pattern matching of file paths." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "pathspec-0.12.1-py3-none-any.whl", hash = "sha256:a0d503e138a4c123b27490a4f7beda6a01c6f288df0e4a8b79c7eb0dc7b4cc08"}, {file = "pathspec-0.12.1.tar.gz", hash = "sha256:a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712"}, @@ -1953,6 +2113,7 @@ version = "4.3.6" description = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "platformdirs-4.3.6-py3-none-any.whl", hash = "sha256:73e575e1408ab8103900836b97580d5307456908a03e92031bab39e4554cc3fb"}, {file = "platformdirs-4.3.6.tar.gz", hash = "sha256:357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907"}, @@ -1969,6 +2130,7 @@ version = "1.5.0" description = "plugin and hook calling mechanisms for python" optional = false python-versions = ">=3.8" +groups = ["test"] files = [ {file = "pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669"}, {file = "pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1"}, @@ -1984,6 +2146,7 @@ version = "3.8.0" description = "A framework for managing and maintaining multi-language pre-commit hooks." optional = false python-versions = ">=3.9" +groups = ["dev"] files = [ {file = "pre_commit-3.8.0-py2.py3-none-any.whl", hash = "sha256:9a90a53bf82fdd8778d58085faf8d83df56e40dfe18f45b19446e26bf1b3a63f"}, {file = "pre_commit-3.8.0.tar.gz", hash = "sha256:8bb6494d4a20423842e198980c9ecf9f96607a07ea29549e180eef9ae80fe7af"}, @@ -2002,6 +2165,7 @@ version = "0.2.1" description = "Accelerated property cache" optional = false python-versions = ">=3.9" +groups = ["main", "test"] files = [ {file = "propcache-0.2.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:6b3f39a85d671436ee3d12c017f8fdea38509e4f25b28eb25877293c98c243f6"}, {file = "propcache-0.2.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:39d51fbe4285d5db5d92a929e3e21536ea3dd43732c5b177c7ef03f918dff9f2"}, @@ -2087,32 +2251,101 @@ files = [ {file = "propcache-0.2.1.tar.gz", hash = "sha256:3f77ce728b19cb537714499928fe800c3dda29e8d9428778fc7c186da4c09a64"}, ] +[[package]] +name = "proto-plus" +version = "1.26.0" +description = "Beautiful, Pythonic protocol buffers" +optional = false +python-versions = ">=3.7" +groups = ["main"] +files = [ + {file = "proto_plus-1.26.0-py3-none-any.whl", hash = "sha256:bf2dfaa3da281fc3187d12d224c707cb57214fb2c22ba854eb0c105a3fb2d4d7"}, + {file = "proto_plus-1.26.0.tar.gz", hash = "sha256:6e93d5f5ca267b54300880fff156b6a3386b3fa3f43b1da62e680fc0c586ef22"}, +] + +[package.dependencies] +protobuf = ">=3.19.0,<6.0.0dev" + +[package.extras] +testing = ["google-api-core (>=1.31.5)"] + [[package]] name = "protobuf" -version = "5.29.1" +version = "5.29.3" description = "" optional = false python-versions = ">=3.8" +groups = ["main"] +files = [ + {file = "protobuf-5.29.3-cp310-abi3-win32.whl", hash = "sha256:3ea51771449e1035f26069c4c7fd51fba990d07bc55ba80701c78f886bf9c888"}, + {file = "protobuf-5.29.3-cp310-abi3-win_amd64.whl", hash = "sha256:a4fa6f80816a9a0678429e84973f2f98cbc218cca434abe8db2ad0bffc98503a"}, + {file = "protobuf-5.29.3-cp38-abi3-macosx_10_9_universal2.whl", hash = "sha256:a8434404bbf139aa9e1300dbf989667a83d42ddda9153d8ab76e0d5dcaca484e"}, + {file = "protobuf-5.29.3-cp38-abi3-manylinux2014_aarch64.whl", hash = "sha256:daaf63f70f25e8689c072cfad4334ca0ac1d1e05a92fc15c54eb9cf23c3efd84"}, + {file = "protobuf-5.29.3-cp38-abi3-manylinux2014_x86_64.whl", hash = "sha256:c027e08a08be10b67c06bf2370b99c811c466398c357e615ca88c91c07f0910f"}, + {file = "protobuf-5.29.3-cp38-cp38-win32.whl", hash = "sha256:84a57163a0ccef3f96e4b6a20516cedcf5bb3a95a657131c5c3ac62200d23252"}, + {file = "protobuf-5.29.3-cp38-cp38-win_amd64.whl", hash = "sha256:b89c115d877892a512f79a8114564fb435943b59067615894c3b13cd3e1fa107"}, + {file = "protobuf-5.29.3-cp39-cp39-win32.whl", hash = "sha256:0eb32bfa5219fc8d4111803e9a690658aa2e6366384fd0851064b963b6d1f2a7"}, + {file = "protobuf-5.29.3-cp39-cp39-win_amd64.whl", hash = "sha256:6ce8cc3389a20693bfde6c6562e03474c40851b44975c9b2bf6df7d8c4f864da"}, + {file = "protobuf-5.29.3-py3-none-any.whl", hash = "sha256:0a18ed4a24198528f2333802eb075e59dea9d679ab7a6c5efb017a59004d849f"}, + {file = "protobuf-5.29.3.tar.gz", hash = "sha256:5da0f41edaf117bde316404bad1a486cb4ededf8e4a54891296f648e8e076620"}, +] + +[[package]] +name = "py-ecc" +version = "7.0.1" +description = "py-ecc: Elliptic curve crypto in python including secp256k1, alt_bn128, and bls12_381" +optional = false +python-versions = "<4,>=3.8" +groups = ["main"] +files = [ + {file = "py_ecc-7.0.1-py3-none-any.whl", hash = "sha256:84a8b4d436163c83c65345a68e32f921ef6e64374a36f8e561f0455b4b08f5f2"}, + {file = "py_ecc-7.0.1.tar.gz", hash = "sha256:557461f42e57294d734305a30faf6b8903421651871e9cdeff8d8e67c6796c70"}, +] + +[package.dependencies] +cached-property = ">=1.5.1" +eth-typing = ">=3.0.0" +eth-utils = ">=2.0.0" + +[package.extras] +dev = ["build (>=0.9.0)", "bumpversion (>=0.5.3)", "ipython", "pre-commit (>=3.4.0)", "pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)", "sphinx (>=6.0.0)", "sphinx-autobuild (>=2021.3.14)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)", "tox (>=4.0.0)", "twine", "wheel"] +docs = ["sphinx (>=6.0.0)", "sphinx-autobuild (>=2021.3.14)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)"] +test = ["pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)"] + +[[package]] +name = "pyasn1" +version = "0.6.1" +description = "Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208)" +optional = false +python-versions = ">=3.8" +groups = ["main"] files = [ - {file = "protobuf-5.29.1-cp310-abi3-win32.whl", hash = "sha256:22c1f539024241ee545cbcb00ee160ad1877975690b16656ff87dde107b5f110"}, - {file = "protobuf-5.29.1-cp310-abi3-win_amd64.whl", hash = "sha256:1fc55267f086dd4050d18ef839d7bd69300d0d08c2a53ca7df3920cc271a3c34"}, - {file = "protobuf-5.29.1-cp38-abi3-macosx_10_9_universal2.whl", hash = "sha256:d473655e29c0c4bbf8b69e9a8fb54645bc289dead6d753b952e7aa660254ae18"}, - {file = "protobuf-5.29.1-cp38-abi3-manylinux2014_aarch64.whl", hash = "sha256:b5ba1d0e4c8a40ae0496d0e2ecfdbb82e1776928a205106d14ad6985a09ec155"}, - {file = "protobuf-5.29.1-cp38-abi3-manylinux2014_x86_64.whl", hash = "sha256:8ee1461b3af56145aca2800e6a3e2f928108c749ba8feccc6f5dd0062c410c0d"}, - {file = "protobuf-5.29.1-cp38-cp38-win32.whl", hash = "sha256:50879eb0eb1246e3a5eabbbe566b44b10348939b7cc1b267567e8c3d07213853"}, - {file = "protobuf-5.29.1-cp38-cp38-win_amd64.whl", hash = "sha256:027fbcc48cea65a6b17028510fdd054147057fa78f4772eb547b9274e5219331"}, - {file = "protobuf-5.29.1-cp39-cp39-win32.whl", hash = "sha256:5a41deccfa5e745cef5c65a560c76ec0ed8e70908a67cc8f4da5fce588b50d57"}, - {file = "protobuf-5.29.1-cp39-cp39-win_amd64.whl", hash = "sha256:012ce28d862ff417fd629285aca5d9772807f15ceb1a0dbd15b88f58c776c98c"}, - {file = "protobuf-5.29.1-py3-none-any.whl", hash = "sha256:32600ddb9c2a53dedc25b8581ea0f1fd8ea04956373c0c07577ce58d312522e0"}, - {file = "protobuf-5.29.1.tar.gz", hash = "sha256:683be02ca21a6ffe80db6dd02c0b5b2892322c59ca57fd6c872d652cb80549cb"}, + {file = "pyasn1-0.6.1-py3-none-any.whl", hash = "sha256:0d632f46f2ba09143da3a8afe9e33fb6f92fa2320ab7e886e2d0f7672af84629"}, + {file = "pyasn1-0.6.1.tar.gz", hash = "sha256:6f580d2bdd84365380830acf45550f2511469f673cb4a5ae3857a3170128b034"}, ] +[[package]] +name = "pyasn1-modules" +version = "0.4.1" +description = "A collection of ASN.1-based protocols modules" +optional = false +python-versions = ">=3.8" +groups = ["main"] +files = [ + {file = "pyasn1_modules-0.4.1-py3-none-any.whl", hash = "sha256:49bfa96b45a292b711e986f222502c1c9a5e1f4e568fc30e2574a6c7d07838fd"}, + {file = "pyasn1_modules-0.4.1.tar.gz", hash = "sha256:c28e2dbf9c06ad61c71a075c7e0f9fd0f1b0bb2d2ad4377f240d33ac2ab60a7c"}, +] + +[package.dependencies] +pyasn1 = ">=0.4.6,<0.7.0" + [[package]] name = "pycodestyle" version = "2.8.0" description = "Python style guide checker" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +groups = ["dev"] files = [ {file = "pycodestyle-2.8.0-py2.py3-none-any.whl", hash = "sha256:720f8b39dde8b293825e7ff02c475f3077124006db4f440dcbc9a20b76548a20"}, {file = "pycodestyle-2.8.0.tar.gz", hash = "sha256:eddd5847ef438ea1c7870ca7eb78a9d47ce0cdb4851a5523949f2601d0cbbe7f"}, @@ -2124,6 +2357,7 @@ version = "2.22" description = "C parser in Python" optional = false python-versions = ">=3.8" +groups = ["main"] files = [ {file = "pycparser-2.22-py3-none-any.whl", hash = "sha256:c3702b6d3dd8c7abc1afa565d7e63d53a1d0bd86cdc24edd75470f4de499cfcc"}, {file = "pycparser-2.22.tar.gz", hash = "sha256:491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6"}, @@ -2135,6 +2369,7 @@ version = "3.21.0" description = "Cryptographic library for Python" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7" +groups = ["main"] files = [ {file = "pycryptodome-3.21.0-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:dad9bf36eda068e89059d1f07408e397856be9511d7113ea4b586642a429a4fd"}, {file = "pycryptodome-3.21.0-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:a1752eca64c60852f38bb29e2c86fca30d7672c024128ef5d70cc15868fa10f4"}, @@ -2176,6 +2411,7 @@ version = "2.4.0" description = "passive checker of Python programs" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +groups = ["dev"] files = [ {file = "pyflakes-2.4.0-py2.py3-none-any.whl", hash = "sha256:3bb3a3f256f4b7968c9c788781e4ff07dce46bdf12339dcda61053375426ee2e"}, {file = "pyflakes-2.4.0.tar.gz", hash = "sha256:05a85c2872edf37a4ed30b0cce2f6093e1d0581f8c19d7393122da7e25b2b24c"}, @@ -2183,13 +2419,14 @@ files = [ [[package]] name = "pygments" -version = "2.18.0" +version = "2.19.1" description = "Pygments is a syntax highlighting package written in Python." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ - {file = "pygments-2.18.0-py3-none-any.whl", hash = "sha256:b8e6aca0523f3ab76fee51799c488e38782ac06eafcf95e7ba832985c8e7b13a"}, - {file = "pygments-2.18.0.tar.gz", hash = "sha256:786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199"}, + {file = "pygments-2.19.1-py3-none-any.whl", hash = "sha256:9ea1544ad55cecf4b8242fab6dd35a93bbce657034b0611ee383099054ab6d8c"}, + {file = "pygments-2.19.1.tar.gz", hash = "sha256:61c16d2a8576dc0649d9f39e089b5f02bcd27fba10d8fb4dcc28173f7a45151f"}, ] [package.extras] @@ -2201,6 +2438,7 @@ version = "8.3.4" description = "pytest: simple powerful testing with Python" optional = false python-versions = ">=3.8" +groups = ["test"] files = [ {file = "pytest-8.3.4-py3-none-any.whl", hash = "sha256:50e16d954148559c9a74109af1eaf0c945ba2d8f30f0a3d3335edde19788b6f6"}, {file = "pytest-8.3.4.tar.gz", hash = "sha256:965370d062bce11e73868e0335abac31b4d3de0e82f4007408d242b4f8610761"}, @@ -2223,6 +2461,7 @@ version = "0.2.0" description = "py.test integration for aioresponses" optional = false python-versions = ">=3.6,<4.0" +groups = ["test"] files = [ {file = "pytest-aioresponses-0.2.0.tar.gz", hash = "sha256:61cced206857cb4e7aab10b61600527f505c358d046e7d3ad3ae09455d02d937"}, {file = "pytest_aioresponses-0.2.0-py3-none-any.whl", hash = "sha256:1a78d1eb76e1bffe7adc83a1bad0d48c373b41289367ae1f5e7ec0fceb60a04d"}, @@ -2235,20 +2474,21 @@ pytest-asyncio = ">=0.14.0" [[package]] name = "pytest-asyncio" -version = "0.24.0" +version = "0.25.3" description = "Pytest support for asyncio" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" +groups = ["test"] files = [ - {file = "pytest_asyncio-0.24.0-py3-none-any.whl", hash = "sha256:a811296ed596b69bf0b6f3dc40f83bcaf341b155a269052d82efa2b25ac7037b"}, - {file = "pytest_asyncio-0.24.0.tar.gz", hash = "sha256:d081d828e576d85f875399194281e92bf8a68d60d72d1a2faf2feddb6c46b276"}, + {file = "pytest_asyncio-0.25.3-py3-none-any.whl", hash = "sha256:9e89518e0f9bd08928f97a3482fdc4e244df17529460bc038291ccaf8f85c7c3"}, + {file = "pytest_asyncio-0.25.3.tar.gz", hash = "sha256:fc1da2cf9f125ada7e710b4ddad05518d4cee187ae9412e9ac9271003497f07a"}, ] [package.dependencies] pytest = ">=8.2,<9" [package.extras] -docs = ["sphinx (>=5.3)", "sphinx-rtd-theme (>=1.0)"] +docs = ["sphinx (>=5.3)", "sphinx-rtd-theme (>=1)"] testing = ["coverage (>=6.2)", "hypothesis (>=5.7.1)"] [[package]] @@ -2257,6 +2497,7 @@ version = "4.1.0" description = "Pytest plugin for measuring coverage." optional = false python-versions = ">=3.7" +groups = ["test"] files = [ {file = "pytest-cov-4.1.0.tar.gz", hash = "sha256:3904b13dfbfec47f003b8e77fd5b589cd11904a21ddf1ab38a64f204d6a10ef6"}, {file = "pytest_cov-4.1.0-py3-none-any.whl", hash = "sha256:6ba70b9e97e69fcc3fb45bfeab2d0a138fb65c4d0d6a41ef33983ad114be8c3a"}, @@ -2275,6 +2516,7 @@ version = "0.8.0" description = "pytest plugin for grpc" optional = false python-versions = "*" +groups = ["test"] files = [ {file = "pytest-grpc-0.8.0.tar.gz", hash = "sha256:0bd2683ffd34199444d707c0ab01970b22e0afbba6cb1ddb6d578c85ebfe09bd"}, {file = "pytest_grpc-0.8.0-py3-none-any.whl", hash = "sha256:5b062cf498e59995e84b3051da76f7bcff8cfe307927869f7bdc27ab967eee35"}, @@ -2289,6 +2531,7 @@ version = "1.0.1" description = "Read key-value pairs from a .env file and set them as environment variables" optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "python-dotenv-1.0.1.tar.gz", hash = "sha256:e324ee90a023d808f1959c46bcbc04446a10ced277783dc6ee09987c37ec10ca"}, {file = "python_dotenv-1.0.1-py3-none-any.whl", hash = "sha256:f7b63ef50f1b690dddf550d03497b66d609393b40b564ed0d674909a68ebf16a"}, @@ -2303,6 +2546,7 @@ version = "16.0.0" description = "Unicode normalization forms (NFC, NFKC, NFD, NFKD). A library independent of the Python core Unicode database." optional = false python-versions = ">=3.6" +groups = ["main"] files = [ {file = "pyunormalize-16.0.0-py3-none-any.whl", hash = "sha256:c647d95e5d1e2ea9a2f448d1d95d8518348df24eab5c3fd32d2b5c3300a49152"}, {file = "pyunormalize-16.0.0.tar.gz", hash = "sha256:2e1dfbb4a118154ae26f70710426a52a364b926c9191f764601f5a8cb12761f7"}, @@ -2314,6 +2558,8 @@ version = "308" description = "Python for Window Extensions" optional = false python-versions = "*" +groups = ["main"] +markers = "platform_system == \"Windows\"" files = [ {file = "pywin32-308-cp310-cp310-win32.whl", hash = "sha256:796ff4426437896550d2981b9c2ac0ffd75238ad9ea2d3bfa67a1abd546d262e"}, {file = "pywin32-308-cp310-cp310-win_amd64.whl", hash = "sha256:4fc888c59b3c0bef905ce7eb7e2106a07712015ea1c8234b703a088d46110e8e"}, @@ -2341,6 +2587,7 @@ version = "6.0.2" description = "YAML parser and emitter for Python" optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "PyYAML-6.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0a9a2848a5b7feac301353437eb7d5957887edbf81d56e903999a75a3d743086"}, {file = "PyYAML-6.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:29717114e51c84ddfba879543fb232a6ed60086602313ca38cce623c1d62cfbf"}, @@ -2399,18 +2646,20 @@ files = [ [[package]] name = "referencing" -version = "0.35.1" +version = "0.36.2" description = "JSON Referencing + Python" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" +groups = ["main"] files = [ - {file = "referencing-0.35.1-py3-none-any.whl", hash = "sha256:eda6d3234d62814d1c64e305c1331c9a3a6132da475ab6382eaa997b21ee75de"}, - {file = "referencing-0.35.1.tar.gz", hash = "sha256:25b42124a6c8b632a425174f24087783efb348a6f1e0008e63cd4466fedf703c"}, + {file = "referencing-0.36.2-py3-none-any.whl", hash = "sha256:e8699adbbf8b5c7de96d8ffa0eb5c158b3beafce084968e2ea8bb08c6794dcd0"}, + {file = "referencing-0.36.2.tar.gz", hash = "sha256:df2e89862cd09deabbdba16944cc3f10feb6b3e6f18e902f7cc25609a34775aa"}, ] [package.dependencies] attrs = ">=22.2.0" rpds-py = ">=0.7.0" +typing-extensions = {version = ">=4.4.0", markers = "python_version < \"3.13\""} [[package]] name = "regex" @@ -2418,6 +2667,7 @@ version = "2024.11.6" description = "Alternative regular expression module, to replace re." optional = false python-versions = ">=3.8" +groups = ["main"] files = [ {file = "regex-2024.11.6-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:ff590880083d60acc0433f9c3f713c51f7ac6ebb9adf889c79a261ecf541aa91"}, {file = "regex-2024.11.6-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:658f90550f38270639e83ce492f27d2c8d2cd63805c65a13a14d36ca126753f0"}, @@ -2521,6 +2771,7 @@ version = "2.32.3" description = "Python HTTP for Humans." optional = false python-versions = ">=3.8" +groups = ["main", "test"] files = [ {file = "requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6"}, {file = "requests-2.32.3.tar.gz", hash = "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760"}, @@ -2542,6 +2793,7 @@ version = "1.12.1" description = "Mock out responses from the requests package" optional = false python-versions = ">=3.5" +groups = ["test"] files = [ {file = "requests-mock-1.12.1.tar.gz", hash = "sha256:e9e12e333b525156e82a3c852f22016b9158220d2f47454de9cae8a77d371401"}, {file = "requests_mock-1.12.1-py2.py3-none-any.whl", hash = "sha256:b1e37054004cdd5e56c84454cc7df12b25f90f382159087f4b6915aaeef39563"}, @@ -2559,6 +2811,7 @@ version = "4.0.1" description = "rlp: A package for Recursive Length Prefix encoding and decoding" optional = false python-versions = "<4,>=3.8" +groups = ["main"] files = [ {file = "rlp-4.0.1-py3-none-any.whl", hash = "sha256:ff6846c3c27b97ee0492373aa074a7c3046aadd973320f4fffa7ac45564b0258"}, {file = "rlp-4.0.1.tar.gz", hash = "sha256:bcefb11013dfadf8902642337923bd0c786dc8a27cb4c21da6e154e52869ecb1"}, @@ -2579,6 +2832,7 @@ version = "0.22.3" description = "Python bindings to Rust's persistent data structures (rpds)" optional = false python-versions = ">=3.9" +groups = ["main"] files = [ {file = "rpds_py-0.22.3-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:6c7b99ca52c2c1752b544e310101b98a659b720b21db00e65edca34483259967"}, {file = "rpds_py-0.22.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:be2eb3f2495ba669d2a985f9b426c1797b7d48d6963899276d22f23e33d47e37"}, @@ -2685,35 +2939,52 @@ files = [ {file = "rpds_py-0.22.3.tar.gz", hash = "sha256:e32fee8ab45d3c2db6da19a5323bc3362237c8b653c70194414b892fd06a080d"}, ] +[[package]] +name = "rsa" +version = "4.9" +description = "Pure-Python RSA implementation" +optional = false +python-versions = ">=3.6,<4" +groups = ["main"] +files = [ + {file = "rsa-4.9-py3-none-any.whl", hash = "sha256:90260d9058e514786967344d0ef75fa8727eed8a7d2e43ce9f4bcf1b536174f7"}, + {file = "rsa-4.9.tar.gz", hash = "sha256:e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21"}, +] + +[package.dependencies] +pyasn1 = ">=0.1.3" + [[package]] name = "safe-pysha3" version = "1.0.4" description = "SHA-3 (Keccak) for Python 3.9 - 3.11" optional = false python-versions = "*" +groups = ["main"] files = [ {file = "safe-pysha3-1.0.4.tar.gz", hash = "sha256:e429146b1edd198b2ca934a2046a65656c5d31b0ec894bbd6055127f4deaff17"}, ] [[package]] name = "setuptools" -version = "75.6.0" +version = "75.8.0" description = "Easily download, build, install, upgrade, and uninstall Python packages" optional = false python-versions = ">=3.9" +groups = ["main"] files = [ - {file = "setuptools-75.6.0-py3-none-any.whl", hash = "sha256:ce74b49e8f7110f9bf04883b730f4765b774ef3ef28f722cce7c273d253aaf7d"}, - {file = "setuptools-75.6.0.tar.gz", hash = "sha256:8199222558df7c86216af4f84c30e9b34a61d8ba19366cc914424cdbd28252f6"}, + {file = "setuptools-75.8.0-py3-none-any.whl", hash = "sha256:e3982f444617239225d675215d51f6ba05f845d4eec313da4418fdbb56fb27e3"}, + {file = "setuptools-75.8.0.tar.gz", hash = "sha256:c5afc8f407c626b8313a86e10311dd3f661c6cd9c09d4bf8c15c0e11f9f2b0e6"}, ] [package.extras] -check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1)", "ruff (>=0.7.0)"] +check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1)", "ruff (>=0.8.0)"] core = ["importlib_metadata (>=6)", "jaraco.collections", "jaraco.functools (>=4)", "jaraco.text (>=3.7)", "more_itertools", "more_itertools (>=8.8)", "packaging", "packaging (>=24.2)", "platformdirs (>=4.2.2)", "tomli (>=2.0.1)", "wheel (>=0.43.0)"] cover = ["pytest-cov"] doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "pyproject-hooks (!=1.1)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier", "towncrier (<24.7)"] enabler = ["pytest-enabler (>=2.2)"] -test = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "ini2toml[lite] (>=0.14)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "jaraco.test (>=5.5)", "packaging (>=24.2)", "pip (>=19.1)", "pyproject-hooks (!=1.1)", "pytest (>=6,!=8.1.*)", "pytest-home (>=0.5)", "pytest-perf", "pytest-subprocess", "pytest-timeout", "pytest-xdist (>=3)", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel (>=0.44.0)"] -type = ["importlib_metadata (>=7.0.2)", "jaraco.develop (>=7.21)", "mypy (>=1.12,<1.14)", "pytest-mypy"] +test = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "ini2toml[lite] (>=0.14)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.7.2)", "jaraco.test (>=5.5)", "packaging (>=24.2)", "pip (>=19.1)", "pyproject-hooks (!=1.1)", "pytest (>=6,!=8.1.*)", "pytest-home (>=0.5)", "pytest-perf", "pytest-subprocess", "pytest-timeout", "pytest-xdist (>=3)", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel (>=0.44.0)"] +type = ["importlib_metadata (>=7.0.2)", "jaraco.develop (>=7.21)", "mypy (==1.14.*)", "pytest-mypy"] [[package]] name = "six" @@ -2721,6 +2992,7 @@ version = "1.17.0" description = "Python 2 and 3 compatibility utilities" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" +groups = ["main"] files = [ {file = "six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274"}, {file = "six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81"}, @@ -2732,6 +3004,7 @@ version = "0.10.2" description = "Python Library for Tom's Obvious, Minimal Language" optional = false python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" +groups = ["dev"] files = [ {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, @@ -2743,6 +3016,7 @@ version = "2.2.1" description = "A lil' TOML parser" optional = false python-versions = ">=3.8" +groups = ["dev", "test"] files = [ {file = "tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678e4fa69e4575eb77d103de3df8a895e1591b48e740211bd1067378c69e8249"}, {file = "tomli-2.2.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:023aa114dd824ade0100497eb2318602af309e5a55595f76b626d6d9f3b7b0a6"}, @@ -2777,6 +3051,7 @@ files = [ {file = "tomli-2.2.1-py3-none-any.whl", hash = "sha256:cb55c73c5f4408779d0cf3eef9f762b9c9f147a77de7b258bef0a5628adc85cc"}, {file = "tomli-2.2.1.tar.gz", hash = "sha256:cd45e1dc79c835ce60f7404ec8119f2eb06d38b1deba146f07ced3bbc44505ff"}, ] +markers = {dev = "python_version < \"3.11\"", test = "python_full_version <= \"3.11.0a6\""} [[package]] name = "toolz" @@ -2784,6 +3059,8 @@ version = "1.0.0" description = "List processing tools and functional utilities" optional = false python-versions = ">=3.8" +groups = ["main"] +markers = "implementation_name == \"cpython\" or implementation_name == \"pypy\"" files = [ {file = "toolz-1.0.0-py3-none-any.whl", hash = "sha256:292c8f1c4e7516bf9086f8850935c799a874039c8bcf959d47b600e4c44a6236"}, {file = "toolz-1.0.0.tar.gz", hash = "sha256:2c86e3d9a04798ac556793bced838816296a2f085017664e4995cb40a1047a02"}, @@ -2795,20 +3072,23 @@ version = "4.12.2" description = "Backported and Experimental Type Hints for Python 3.8+" optional = false python-versions = ">=3.8" +groups = ["main", "dev", "test"] files = [ {file = "typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"}, {file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"}, ] +markers = {dev = "python_version < \"3.11\"", test = "python_version < \"3.11\""} [[package]] name = "urllib3" -version = "2.2.3" +version = "2.3.0" description = "HTTP library with thread-safe connection pooling, file post, and more." optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" +groups = ["main", "dev", "test"] files = [ - {file = "urllib3-2.2.3-py3-none-any.whl", hash = "sha256:ca899ca043dcb1bafa3e262d73aa25c465bfb49e0bd9dd5d59f1d0acba2f8fac"}, - {file = "urllib3-2.2.3.tar.gz", hash = "sha256:e7d814a81dad81e6caf2ec9fdedb284ecc9c73076b62654547cc64ccdcae26e9"}, + {file = "urllib3-2.3.0-py3-none-any.whl", hash = "sha256:1cee9ad369867bfdbbb48b7dd50374c0967a0bb7710050facf0dd6911440e3df"}, + {file = "urllib3-2.3.0.tar.gz", hash = "sha256:f8c5449b3cf0861679ce7e0503c7b44b5ec981bec0d1d3795a07f1ba96f0204d"}, ] [package.extras] @@ -2819,13 +3099,14 @@ zstd = ["zstandard (>=0.18.0)"] [[package]] name = "virtualenv" -version = "20.28.0" +version = "20.29.1" description = "Virtual Python Environment builder" optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ - {file = "virtualenv-20.28.0-py3-none-any.whl", hash = "sha256:23eae1b4516ecd610481eda647f3a7c09aea295055337331bb4e6892ecce47b0"}, - {file = "virtualenv-20.28.0.tar.gz", hash = "sha256:2c9c3262bb8e7b87ea801d715fae4495e6032450c71d2309be9550e7364049aa"}, + {file = "virtualenv-20.29.1-py3-none-any.whl", hash = "sha256:4e4cb403c0b0da39e13b46b1b2476e505cb0046b25f242bee80f62bf990b2779"}, + {file = "virtualenv-20.29.1.tar.gz", hash = "sha256:b8b8970138d32fb606192cb97f6cd4bb644fa486be9308fb9b63f81091b5dc35"}, ] [package.dependencies] @@ -2843,6 +3124,7 @@ version = "6.20.3" description = "web3.py" optional = false python-versions = ">=3.7.2" +groups = ["main"] files = [ {file = "web3-6.20.3-py3-none-any.whl", hash = "sha256:529fbb33f2476ce8185f7a2ed7e2e07c4c28621b0e89b845fbfdcaea9571286d"}, {file = "web3-6.20.3.tar.gz", hash = "sha256:c69dbf1a61ace172741d06990e60afc7f55f303eac087e7235f382df3047d017"}, @@ -2874,80 +3156,81 @@ tester = ["eth-tester[py-evm] (>=0.11.0b1,<0.12.0b1)", "eth-tester[py-evm] (>=0. [[package]] name = "websockets" -version = "14.1" +version = "14.2" description = "An implementation of the WebSocket Protocol (RFC 6455 & 7692)" optional = false python-versions = ">=3.9" -files = [ - {file = "websockets-14.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a0adf84bc2e7c86e8a202537b4fd50e6f7f0e4a6b6bf64d7ccb96c4cd3330b29"}, - {file = "websockets-14.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:90b5d9dfbb6d07a84ed3e696012610b6da074d97453bd01e0e30744b472c8179"}, - {file = "websockets-14.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2177ee3901075167f01c5e335a6685e71b162a54a89a56001f1c3e9e3d2ad250"}, - {file = "websockets-14.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3f14a96a0034a27f9d47fd9788913924c89612225878f8078bb9d55f859272b0"}, - {file = "websockets-14.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1f874ba705deea77bcf64a9da42c1f5fc2466d8f14daf410bc7d4ceae0a9fcb0"}, - {file = "websockets-14.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9607b9a442392e690a57909c362811184ea429585a71061cd5d3c2b98065c199"}, - {file = "websockets-14.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:bea45f19b7ca000380fbd4e02552be86343080120d074b87f25593ce1700ad58"}, - {file = "websockets-14.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:219c8187b3ceeadbf2afcf0f25a4918d02da7b944d703b97d12fb01510869078"}, - {file = "websockets-14.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:ad2ab2547761d79926effe63de21479dfaf29834c50f98c4bf5b5480b5838434"}, - {file = "websockets-14.1-cp310-cp310-win32.whl", hash = "sha256:1288369a6a84e81b90da5dbed48610cd7e5d60af62df9851ed1d1d23a9069f10"}, - {file = "websockets-14.1-cp310-cp310-win_amd64.whl", hash = "sha256:e0744623852f1497d825a49a99bfbec9bea4f3f946df6eb9d8a2f0c37a2fec2e"}, - {file = "websockets-14.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:449d77d636f8d9c17952628cc7e3b8faf6e92a17ec581ec0c0256300717e1512"}, - {file = "websockets-14.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:a35f704be14768cea9790d921c2c1cc4fc52700410b1c10948511039be824aac"}, - {file = "websockets-14.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:b1f3628a0510bd58968c0f60447e7a692933589b791a6b572fcef374053ca280"}, - {file = "websockets-14.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3c3deac3748ec73ef24fc7be0b68220d14d47d6647d2f85b2771cb35ea847aa1"}, - {file = "websockets-14.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7048eb4415d46368ef29d32133134c513f507fff7d953c18c91104738a68c3b3"}, - {file = "websockets-14.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f6cf0ad281c979306a6a34242b371e90e891bce504509fb6bb5246bbbf31e7b6"}, - {file = "websockets-14.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:cc1fc87428c1d18b643479caa7b15db7d544652e5bf610513d4a3478dbe823d0"}, - {file = "websockets-14.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:f95ba34d71e2fa0c5d225bde3b3bdb152e957150100e75c86bc7f3964c450d89"}, - {file = "websockets-14.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:9481a6de29105d73cf4515f2bef8eb71e17ac184c19d0b9918a3701c6c9c4f23"}, - {file = "websockets-14.1-cp311-cp311-win32.whl", hash = "sha256:368a05465f49c5949e27afd6fbe0a77ce53082185bbb2ac096a3a8afaf4de52e"}, - {file = "websockets-14.1-cp311-cp311-win_amd64.whl", hash = "sha256:6d24fc337fc055c9e83414c94e1ee0dee902a486d19d2a7f0929e49d7d604b09"}, - {file = "websockets-14.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:ed907449fe5e021933e46a3e65d651f641975a768d0649fee59f10c2985529ed"}, - {file = "websockets-14.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:87e31011b5c14a33b29f17eb48932e63e1dcd3fa31d72209848652310d3d1f0d"}, - {file = "websockets-14.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:bc6ccf7d54c02ae47a48ddf9414c54d48af9c01076a2e1023e3b486b6e72c707"}, - {file = "websockets-14.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9777564c0a72a1d457f0848977a1cbe15cfa75fa2f67ce267441e465717dcf1a"}, - {file = "websockets-14.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a655bde548ca98f55b43711b0ceefd2a88a71af6350b0c168aa77562104f3f45"}, - {file = "websockets-14.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a3dfff83ca578cada2d19e665e9c8368e1598d4e787422a460ec70e531dbdd58"}, - {file = "websockets-14.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:6a6c9bcf7cdc0fd41cc7b7944447982e8acfd9f0d560ea6d6845428ed0562058"}, - {file = "websockets-14.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:4b6caec8576e760f2c7dd878ba817653144d5f369200b6ddf9771d64385b84d4"}, - {file = "websockets-14.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:eb6d38971c800ff02e4a6afd791bbe3b923a9a57ca9aeab7314c21c84bf9ff05"}, - {file = "websockets-14.1-cp312-cp312-win32.whl", hash = "sha256:1d045cbe1358d76b24d5e20e7b1878efe578d9897a25c24e6006eef788c0fdf0"}, - {file = "websockets-14.1-cp312-cp312-win_amd64.whl", hash = "sha256:90f4c7a069c733d95c308380aae314f2cb45bd8a904fb03eb36d1a4983a4993f"}, - {file = "websockets-14.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:3630b670d5057cd9e08b9c4dab6493670e8e762a24c2c94ef312783870736ab9"}, - {file = "websockets-14.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:36ebd71db3b89e1f7b1a5deaa341a654852c3518ea7a8ddfdf69cc66acc2db1b"}, - {file = "websockets-14.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:5b918d288958dc3fa1c5a0b9aa3256cb2b2b84c54407f4813c45d52267600cd3"}, - {file = "websockets-14.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:00fe5da3f037041da1ee0cf8e308374e236883f9842c7c465aa65098b1c9af59"}, - {file = "websockets-14.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8149a0f5a72ca36720981418eeffeb5c2729ea55fa179091c81a0910a114a5d2"}, - {file = "websockets-14.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:77569d19a13015e840b81550922056acabc25e3f52782625bc6843cfa034e1da"}, - {file = "websockets-14.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:cf5201a04550136ef870aa60ad3d29d2a59e452a7f96b94193bee6d73b8ad9a9"}, - {file = "websockets-14.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:88cf9163ef674b5be5736a584c999e98daf3aabac6e536e43286eb74c126b9c7"}, - {file = "websockets-14.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:836bef7ae338a072e9d1863502026f01b14027250a4545672673057997d5c05a"}, - {file = "websockets-14.1-cp313-cp313-win32.whl", hash = "sha256:0d4290d559d68288da9f444089fd82490c8d2744309113fc26e2da6e48b65da6"}, - {file = "websockets-14.1-cp313-cp313-win_amd64.whl", hash = "sha256:8621a07991add373c3c5c2cf89e1d277e49dc82ed72c75e3afc74bd0acc446f0"}, - {file = "websockets-14.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:01bb2d4f0a6d04538d3c5dfd27c0643269656c28045a53439cbf1c004f90897a"}, - {file = "websockets-14.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:414ffe86f4d6f434a8c3b7913655a1a5383b617f9bf38720e7c0799fac3ab1c6"}, - {file = "websockets-14.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:8fda642151d5affdee8a430bd85496f2e2517be3a2b9d2484d633d5712b15c56"}, - {file = "websockets-14.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cd7c11968bc3860d5c78577f0dbc535257ccec41750675d58d8dc66aa47fe52c"}, - {file = "websockets-14.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a032855dc7db987dff813583d04f4950d14326665d7e714d584560b140ae6b8b"}, - {file = "websockets-14.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b7e7ea2f782408c32d86b87a0d2c1fd8871b0399dd762364c731d86c86069a78"}, - {file = "websockets-14.1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:39450e6215f7d9f6f7bc2a6da21d79374729f5d052333da4d5825af8a97e6735"}, - {file = "websockets-14.1-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:ceada5be22fa5a5a4cdeec74e761c2ee7db287208f54c718f2df4b7e200b8d4a"}, - {file = "websockets-14.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:3fc753451d471cff90b8f467a1fc0ae64031cf2d81b7b34e1811b7e2691bc4bc"}, - {file = "websockets-14.1-cp39-cp39-win32.whl", hash = "sha256:14839f54786987ccd9d03ed7f334baec0f02272e7ec4f6e9d427ff584aeea8b4"}, - {file = "websockets-14.1-cp39-cp39-win_amd64.whl", hash = "sha256:d9fd19ecc3a4d5ae82ddbfb30962cf6d874ff943e56e0c81f5169be2fda62979"}, - {file = "websockets-14.1-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:e5dc25a9dbd1a7f61eca4b7cb04e74ae4b963d658f9e4f9aad9cd00b688692c8"}, - {file = "websockets-14.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:04a97aca96ca2acedf0d1f332c861c5a4486fdcba7bcef35873820f940c4231e"}, - {file = "websockets-14.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:df174ece723b228d3e8734a6f2a6febbd413ddec39b3dc592f5a4aa0aff28098"}, - {file = "websockets-14.1-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:034feb9f4286476f273b9a245fb15f02c34d9586a5bc936aff108c3ba1b21beb"}, - {file = "websockets-14.1-pp310-pypy310_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:660c308dabd2b380807ab64b62985eaccf923a78ebc572bd485375b9ca2b7dc7"}, - {file = "websockets-14.1-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:5a42d3ecbb2db5080fc578314439b1d79eef71d323dc661aa616fb492436af5d"}, - {file = "websockets-14.1-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:ddaa4a390af911da6f680be8be4ff5aaf31c4c834c1a9147bc21cbcbca2d4370"}, - {file = "websockets-14.1-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:a4c805c6034206143fbabd2d259ec5e757f8b29d0a2f0bf3d2fe5d1f60147a4a"}, - {file = "websockets-14.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:205f672a6c2c671a86d33f6d47c9b35781a998728d2c7c2a3e1cf3333fcb62b7"}, - {file = "websockets-14.1-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5ef440054124728cc49b01c33469de06755e5a7a4e83ef61934ad95fc327fbb0"}, - {file = "websockets-14.1-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e7591d6f440af7f73c4bd9404f3772bfee064e639d2b6cc8c94076e71b2471c1"}, - {file = "websockets-14.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:25225cc79cfebc95ba1d24cd3ab86aaa35bcd315d12fa4358939bd55e9bd74a5"}, - {file = "websockets-14.1-py3-none-any.whl", hash = "sha256:4d4fc827a20abe6d544a119896f6b78ee13fe81cbfef416f3f2ddf09a03f0e2e"}, - {file = "websockets-14.1.tar.gz", hash = "sha256:398b10c77d471c0aab20a845e7a60076b6390bfdaac7a6d2edb0d2c59d75e8d8"}, +groups = ["main"] +files = [ + {file = "websockets-14.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e8179f95323b9ab1c11723e5d91a89403903f7b001828161b480a7810b334885"}, + {file = "websockets-14.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0d8c3e2cdb38f31d8bd7d9d28908005f6fa9def3324edb9bf336d7e4266fd397"}, + {file = "websockets-14.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:714a9b682deb4339d39ffa674f7b674230227d981a37d5d174a4a83e3978a610"}, + {file = "websockets-14.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f2e53c72052f2596fb792a7acd9704cbc549bf70fcde8a99e899311455974ca3"}, + {file = "websockets-14.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e3fbd68850c837e57373d95c8fe352203a512b6e49eaae4c2f4088ef8cf21980"}, + {file = "websockets-14.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4b27ece32f63150c268593d5fdb82819584831a83a3f5809b7521df0685cd5d8"}, + {file = "websockets-14.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:4daa0faea5424d8713142b33825fff03c736f781690d90652d2c8b053345b0e7"}, + {file = "websockets-14.2-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:bc63cee8596a6ec84d9753fd0fcfa0452ee12f317afe4beae6b157f0070c6c7f"}, + {file = "websockets-14.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:7a570862c325af2111343cc9b0257b7119b904823c675b22d4ac547163088d0d"}, + {file = "websockets-14.2-cp310-cp310-win32.whl", hash = "sha256:75862126b3d2d505e895893e3deac0a9339ce750bd27b4ba515f008b5acf832d"}, + {file = "websockets-14.2-cp310-cp310-win_amd64.whl", hash = "sha256:cc45afb9c9b2dc0852d5c8b5321759cf825f82a31bfaf506b65bf4668c96f8b2"}, + {file = "websockets-14.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:3bdc8c692c866ce5fefcaf07d2b55c91d6922ac397e031ef9b774e5b9ea42166"}, + {file = "websockets-14.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c93215fac5dadc63e51bcc6dceca72e72267c11def401d6668622b47675b097f"}, + {file = "websockets-14.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1c9b6535c0e2cf8a6bf938064fb754aaceb1e6a4a51a80d884cd5db569886910"}, + {file = "websockets-14.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0a52a6d7cf6938e04e9dceb949d35fbdf58ac14deea26e685ab6368e73744e4c"}, + {file = "websockets-14.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9f05702e93203a6ff5226e21d9b40c037761b2cfb637187c9802c10f58e40473"}, + {file = "websockets-14.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:22441c81a6748a53bfcb98951d58d1af0661ab47a536af08920d129b4d1c3473"}, + {file = "websockets-14.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:efd9b868d78b194790e6236d9cbc46d68aba4b75b22497eb4ab64fa640c3af56"}, + {file = "websockets-14.2-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:1a5a20d5843886d34ff8c57424cc65a1deda4375729cbca4cb6b3353f3ce4142"}, + {file = "websockets-14.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:34277a29f5303d54ec6468fb525d99c99938607bc96b8d72d675dee2b9f5bf1d"}, + {file = "websockets-14.2-cp311-cp311-win32.whl", hash = "sha256:02687db35dbc7d25fd541a602b5f8e451a238ffa033030b172ff86a93cb5dc2a"}, + {file = "websockets-14.2-cp311-cp311-win_amd64.whl", hash = "sha256:862e9967b46c07d4dcd2532e9e8e3c2825e004ffbf91a5ef9dde519ee2effb0b"}, + {file = "websockets-14.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:1f20522e624d7ffbdbe259c6b6a65d73c895045f76a93719aa10cd93b3de100c"}, + {file = "websockets-14.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:647b573f7d3ada919fd60e64d533409a79dcf1ea21daeb4542d1d996519ca967"}, + {file = "websockets-14.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6af99a38e49f66be5a64b1e890208ad026cda49355661549c507152113049990"}, + {file = "websockets-14.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:091ab63dfc8cea748cc22c1db2814eadb77ccbf82829bac6b2fbe3401d548eda"}, + {file = "websockets-14.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b374e8953ad477d17e4851cdc66d83fdc2db88d9e73abf755c94510ebddceb95"}, + {file = "websockets-14.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a39d7eceeea35db85b85e1169011bb4321c32e673920ae9c1b6e0978590012a3"}, + {file = "websockets-14.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0a6f3efd47ffd0d12080594f434faf1cd2549b31e54870b8470b28cc1d3817d9"}, + {file = "websockets-14.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:065ce275e7c4ffb42cb738dd6b20726ac26ac9ad0a2a48e33ca632351a737267"}, + {file = "websockets-14.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e9d0e53530ba7b8b5e389c02282f9d2aa47581514bd6049d3a7cffe1385cf5fe"}, + {file = "websockets-14.2-cp312-cp312-win32.whl", hash = "sha256:20e6dd0984d7ca3037afcb4494e48c74ffb51e8013cac71cf607fffe11df7205"}, + {file = "websockets-14.2-cp312-cp312-win_amd64.whl", hash = "sha256:44bba1a956c2c9d268bdcdf234d5e5ff4c9b6dc3e300545cbe99af59dda9dcce"}, + {file = "websockets-14.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:6f1372e511c7409a542291bce92d6c83320e02c9cf392223272287ce55bc224e"}, + {file = "websockets-14.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:4da98b72009836179bb596a92297b1a61bb5a830c0e483a7d0766d45070a08ad"}, + {file = "websockets-14.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f8a86a269759026d2bde227652b87be79f8a734e582debf64c9d302faa1e9f03"}, + {file = "websockets-14.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:86cf1aaeca909bf6815ea714d5c5736c8d6dd3a13770e885aafe062ecbd04f1f"}, + {file = "websockets-14.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a9b0f6c3ba3b1240f602ebb3971d45b02cc12bd1845466dd783496b3b05783a5"}, + {file = "websockets-14.2-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:669c3e101c246aa85bc8534e495952e2ca208bd87994650b90a23d745902db9a"}, + {file = "websockets-14.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:eabdb28b972f3729348e632ab08f2a7b616c7e53d5414c12108c29972e655b20"}, + {file = "websockets-14.2-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:2066dc4cbcc19f32c12a5a0e8cc1b7ac734e5b64ac0a325ff8353451c4b15ef2"}, + {file = "websockets-14.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ab95d357cd471df61873dadf66dd05dd4709cae001dd6342edafc8dc6382f307"}, + {file = "websockets-14.2-cp313-cp313-win32.whl", hash = "sha256:a9e72fb63e5f3feacdcf5b4ff53199ec8c18d66e325c34ee4c551ca748623bbc"}, + {file = "websockets-14.2-cp313-cp313-win_amd64.whl", hash = "sha256:b439ea828c4ba99bb3176dc8d9b933392a2413c0f6b149fdcba48393f573377f"}, + {file = "websockets-14.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:7cd5706caec1686c5d233bc76243ff64b1c0dc445339bd538f30547e787c11fe"}, + {file = "websockets-14.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:ec607328ce95a2f12b595f7ae4c5d71bf502212bddcea528290b35c286932b12"}, + {file = "websockets-14.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:da85651270c6bfb630136423037dd4975199e5d4114cae6d3066641adcc9d1c7"}, + {file = "websockets-14.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c3ecadc7ce90accf39903815697917643f5b7cfb73c96702318a096c00aa71f5"}, + {file = "websockets-14.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1979bee04af6a78608024bad6dfcc0cc930ce819f9e10342a29a05b5320355d0"}, + {file = "websockets-14.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2dddacad58e2614a24938a50b85969d56f88e620e3f897b7d80ac0d8a5800258"}, + {file = "websockets-14.2-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:89a71173caaf75fa71a09a5f614f450ba3ec84ad9fca47cb2422a860676716f0"}, + {file = "websockets-14.2-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:6af6a4b26eea4fc06c6818a6b962a952441e0e39548b44773502761ded8cc1d4"}, + {file = "websockets-14.2-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:80c8efa38957f20bba0117b48737993643204645e9ec45512579132508477cfc"}, + {file = "websockets-14.2-cp39-cp39-win32.whl", hash = "sha256:2e20c5f517e2163d76e2729104abc42639c41cf91f7b1839295be43302713661"}, + {file = "websockets-14.2-cp39-cp39-win_amd64.whl", hash = "sha256:b4c8cef610e8d7c70dea92e62b6814a8cd24fbd01d7103cc89308d2bfe1659ef"}, + {file = "websockets-14.2-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:d7d9cafbccba46e768be8a8ad4635fa3eae1ffac4c6e7cb4eb276ba41297ed29"}, + {file = "websockets-14.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:c76193c1c044bd1e9b3316dcc34b174bbf9664598791e6fb606d8d29000e070c"}, + {file = "websockets-14.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fd475a974d5352390baf865309fe37dec6831aafc3014ffac1eea99e84e83fc2"}, + {file = "websockets-14.2-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2c6c0097a41968b2e2b54ed3424739aab0b762ca92af2379f152c1aef0187e1c"}, + {file = "websockets-14.2-pp310-pypy310_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6d7ff794c8b36bc402f2e07c0b2ceb4a2424147ed4785ff03e2a7af03711d60a"}, + {file = "websockets-14.2-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:dec254fcabc7bd488dab64846f588fc5b6fe0d78f641180030f8ea27b76d72c3"}, + {file = "websockets-14.2-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:bbe03eb853e17fd5b15448328b4ec7fb2407d45fb0245036d06a3af251f8e48f"}, + {file = "websockets-14.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:a3c4aa3428b904d5404a0ed85f3644d37e2cb25996b7f096d77caeb0e96a3b42"}, + {file = "websockets-14.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:577a4cebf1ceaf0b65ffc42c54856214165fb8ceeba3935852fc33f6b0c55e7f"}, + {file = "websockets-14.2-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ad1c1d02357b7665e700eca43a31d52814ad9ad9b89b58118bdabc365454b574"}, + {file = "websockets-14.2-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f390024a47d904613577df83ba700bd189eedc09c57af0a904e5c39624621270"}, + {file = "websockets-14.2-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:3c1426c021c38cf92b453cdf371228d3430acd775edee6bac5a4d577efc72365"}, + {file = "websockets-14.2-py3-none-any.whl", hash = "sha256:7a6ceec4ea84469f15cf15807a747e9efe57e369c384fa86e022b3bea679b79b"}, + {file = "websockets-14.2.tar.gz", hash = "sha256:5059ed9c54945efb321f097084b4c7e52c246f2c869815876a69d1efc4ad6eb5"}, ] [[package]] @@ -2956,6 +3239,7 @@ version = "1.18.3" description = "Yet another URL library" optional = false python-versions = ">=3.9" +groups = ["main", "test"] files = [ {file = "yarl-1.18.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:7df647e8edd71f000a5208fe6ff8c382a1de8edfbccdbbfe649d263de07d8c34"}, {file = "yarl-1.18.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c69697d3adff5aa4f874b19c0e4ed65180ceed6318ec856ebc423aa5850d84f7"}, @@ -3052,6 +3336,7 @@ version = "3.21.0" description = "Backport of pathlib-compatible object wrapper for zip files" optional = false python-versions = ">=3.9" +groups = ["dev"] files = [ {file = "zipp-3.21.0-py3-none-any.whl", hash = "sha256:ac1bbe05fd2991f160ebce24ffbac5f6d11d83dc90891255885223d42b3cd931"}, {file = "zipp-3.21.0.tar.gz", hash = "sha256:2c9958f6430a2040341a52eb608ed6dd93ef4392e02ffe219417c1b28b5dd1f4"}, @@ -3066,6 +3351,6 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", type = ["pytest-mypy"] [metadata] -lock-version = "2.0" +lock-version = "2.1" python-versions = "^3.9" -content-hash = "f14650203ccf0f3b487bc33f0765cfade66566d752bf39abfab0bc3b7e93a43e" +content-hash = "9903f7598c779ecee3daf3cc800bea7bea668ddd36757334b0ca89149fdfcffd" diff --git a/pyinjective/core/network.py b/pyinjective/core/network.py index fb7bed25..d557035e 100644 --- a/pyinjective/core/network.py +++ b/pyinjective/core/network.py @@ -112,13 +112,9 @@ def __init__( fee_denom: str, env: str, chain_cookie_assistant: CookieAssistant, - exchange_cookie_assistant: CookieAssistant, - explorer_cookie_assistant: CookieAssistant, official_tokens_list_url: str, use_secure_connection: Optional[bool] = None, grpc_channel_credentials: Optional[ChannelCredentials] = None, - grpc_exchange_channel_credentials: Optional[ChannelCredentials] = None, - grpc_explorer_channel_credentials: Optional[ChannelCredentials] = None, chain_stream_channel_credentials: Optional[ChannelCredentials] = None, ): # the `use_secure_connection` parameter is ignored and will be deprecated soon. @@ -137,8 +133,6 @@ def __init__( self.fee_denom = fee_denom self.env = env self.chain_cookie_assistant = chain_cookie_assistant - self.exchange_cookie_assistant = exchange_cookie_assistant - self.explorer_cookie_assistant = explorer_cookie_assistant self.official_tokens_list_url = official_tokens_list_url self.grpc_channel_credentials = grpc_channel_credentials self.chain_stream_channel_credentials = chain_stream_channel_credentials @@ -233,14 +227,11 @@ def local(cls): tm_websocket_endpoint="ws://localhost:26657/websocket", grpc_endpoint="localhost:9900", grpc_exchange_endpoint="localhost:9910", - grpc_explorer_endpoint="localhost:9911", chain_stream_endpoint="localhost:9999", chain_id="injective-1", fee_denom="inj", env="local", chain_cookie_assistant=DisabledCookieAssistant(), - exchange_cookie_assistant=DisabledCookieAssistant(), - explorer_cookie_assistant=DisabledCookieAssistant(), official_tokens_list_url="https://github.com/InjectiveLabs/injective-lists/raw/master/tokens/mainnet.json", ) diff --git a/pyinjective/proto/amino/amino_pb2.py b/pyinjective/proto/amino/amino_pb2.py index 6c1a486a..f4d639e0 100644 --- a/pyinjective/proto/amino/amino_pb2.py +++ b/pyinjective/proto/amino/amino_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,16 +15,12 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n\x11\x61mino/amino.proto\x12\x05\x61mino\x1a google/protobuf/descriptor.proto:6\n\x04name\x12\x1f.google.protobuf.MessageOptions\x18\xf1\x8c\xa6\x05 \x01(\tR\x04name:M\n\x10message_encoding\x12\x1f.google.protobuf.MessageOptions\x18\xf2\x8c\xa6\x05 \x01(\tR\x0fmessageEncoding:<\n\x08\x65ncoding\x12\x1d.google.protobuf.FieldOptions\x18\xf3\x8c\xa6\x05 \x01(\tR\x08\x65ncoding:?\n\nfield_name\x12\x1d.google.protobuf.FieldOptions\x18\xf4\x8c\xa6\x05 \x01(\tR\tfieldName:G\n\x0e\x64ont_omitempty\x12\x1d.google.protobuf.FieldOptions\x18\xf5\x8c\xa6\x05 \x01(\x08R\rdontOmitempty:?\n\noneof_name\x12\x1d.google.protobuf.FieldOptions\x18\xf6\x8c\xa6\x05 \x01(\tR\toneofNameBx\n\tcom.aminoB\nAminoProtoP\x01Z+github.com/cosmos/cosmos-sdk/types/tx/amino\xa2\x02\x03\x41XX\xaa\x02\x05\x41mino\xca\x02\x05\x41mino\xe2\x02\x11\x41mino\\GPBMetadata\xea\x02\x05\x41minob\x06proto3" -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x61mino/amino.proto\x12\x05\x61mino\x1a google/protobuf/descriptor.proto:6\n\x04name\x12\x1f.google.protobuf.MessageOptions\x18\xf1\x8c\xa6\x05 \x01(\tR\x04name:M\n\x10message_encoding\x12\x1f.google.protobuf.MessageOptions\x18\xf2\x8c\xa6\x05 \x01(\tR\x0fmessageEncoding:<\n\x08\x65ncoding\x12\x1d.google.protobuf.FieldOptions\x18\xf3\x8c\xa6\x05 \x01(\tR\x08\x65ncoding:?\n\nfield_name\x12\x1d.google.protobuf.FieldOptions\x18\xf4\x8c\xa6\x05 \x01(\tR\tfieldName:G\n\x0e\x64ont_omitempty\x12\x1d.google.protobuf.FieldOptions\x18\xf5\x8c\xa6\x05 \x01(\x08R\rdontOmitempty:?\n\noneof_name\x12\x1d.google.protobuf.FieldOptions\x18\xf6\x8c\xa6\x05 \x01(\tR\toneofNameBx\n\tcom.aminoB\nAminoProtoP\x01Z+github.com/cosmos/cosmos-sdk/types/tx/amino\xa2\x02\x03\x41XX\xaa\x02\x05\x41mino\xca\x02\x05\x41mino\xe2\x02\x11\x41mino\\GPBMetadata\xea\x02\x05\x41minob\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "amino.amino_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'amino.amino_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\tcom.aminoB\nAminoProtoP\001Z+github.com/cosmos/cosmos-sdk/types/tx/amino\242\002\003AXX\252\002\005Amino\312\002\005Amino\342\002\021Amino\\GPBMetadata\352\002\005Amino" - ) + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\tcom.aminoB\nAminoProtoP\001Z+github.com/cosmos/cosmos-sdk/types/tx/amino\242\002\003AXX\252\002\005Amino\312\002\005Amino\342\002\021Amino\\GPBMetadata\352\002\005Amino' # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/amino/amino_pb2_grpc.py b/pyinjective/proto/amino/amino_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/amino/amino_pb2_grpc.py +++ b/pyinjective/proto/amino/amino_pb2_grpc.py @@ -1,3 +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/capability/v1/capability_pb2.py b/pyinjective/proto/capability/v1/capability_pb2.py index 5bbe522a..bcb76116 100644 --- a/pyinjective/proto/capability/v1/capability_pb2.py +++ b/pyinjective/proto/capability/v1/capability_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,28 +16,24 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1e\x63\x61pability/v1/capability.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto"(\n\nCapability\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index:\x04\x98\xa0\x1f\x00"=\n\x05Owner\x12\x16\n\x06module\x18\x01 \x01(\tR\x06module\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00"K\n\x10\x43\x61pabilityOwners\x12\x37\n\x06owners\x18\x01 \x03(\x0b\x32\x14.capability.v1.OwnerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06ownersB\xac\x01\n\x11\x63om.capability.v1B\x0f\x43\x61pabilityProtoP\x01Z1github.com/cosmos/ibc-go/modules/capability/types\xa2\x02\x03\x43XX\xaa\x02\rCapability.V1\xca\x02\rCapability\\V1\xe2\x02\x19\x43\x61pability\\V1\\GPBMetadata\xea\x02\x0e\x43\x61pability::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63\x61pability/v1/capability.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"(\n\nCapability\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index:\x04\x98\xa0\x1f\x00\"=\n\x05Owner\x12\x16\n\x06module\x18\x01 \x01(\tR\x06module\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"K\n\x10\x43\x61pabilityOwners\x12\x37\n\x06owners\x18\x01 \x03(\x0b\x32\x14.capability.v1.OwnerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06ownersB\xac\x01\n\x11\x63om.capability.v1B\x0f\x43\x61pabilityProtoP\x01Z1github.com/cosmos/ibc-go/modules/capability/types\xa2\x02\x03\x43XX\xaa\x02\rCapability.V1\xca\x02\rCapability\\V1\xe2\x02\x19\x43\x61pability\\V1\\GPBMetadata\xea\x02\x0e\x43\x61pability::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "capability.v1.capability_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.capability_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\021com.capability.v1B\017CapabilityProtoP\001Z1github.com/cosmos/ibc-go/modules/capability/types\242\002\003CXX\252\002\rCapability.V1\312\002\rCapability\\V1\342\002\031Capability\\V1\\GPBMetadata\352\002\016Capability::V1" - ) - _globals["_CAPABILITY"]._loaded_options = None - _globals["_CAPABILITY"]._serialized_options = b"\230\240\037\000" - _globals["_OWNER"]._loaded_options = None - _globals["_OWNER"]._serialized_options = b"\210\240\037\000\230\240\037\000" - _globals["_CAPABILITYOWNERS"].fields_by_name["owners"]._loaded_options = None - _globals["_CAPABILITYOWNERS"].fields_by_name["owners"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_CAPABILITY"]._serialized_start = 90 - _globals["_CAPABILITY"]._serialized_end = 130 - _globals["_OWNER"]._serialized_start = 132 - _globals["_OWNER"]._serialized_end = 193 - _globals["_CAPABILITYOWNERS"]._serialized_start = 195 - _globals["_CAPABILITYOWNERS"]._serialized_end = 270 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.capability.v1B\017CapabilityProtoP\001Z1github.com/cosmos/ibc-go/modules/capability/types\242\002\003CXX\252\002\rCapability.V1\312\002\rCapability\\V1\342\002\031Capability\\V1\\GPBMetadata\352\002\016Capability::V1' + _globals['_CAPABILITY']._loaded_options = None + _globals['_CAPABILITY']._serialized_options = b'\230\240\037\000' + _globals['_OWNER']._loaded_options = None + _globals['_OWNER']._serialized_options = b'\210\240\037\000\230\240\037\000' + _globals['_CAPABILITYOWNERS'].fields_by_name['owners']._loaded_options = None + _globals['_CAPABILITYOWNERS'].fields_by_name['owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_CAPABILITY']._serialized_start=90 + _globals['_CAPABILITY']._serialized_end=130 + _globals['_OWNER']._serialized_start=132 + _globals['_OWNER']._serialized_end=193 + _globals['_CAPABILITYOWNERS']._serialized_start=195 + _globals['_CAPABILITYOWNERS']._serialized_end=270 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/capability_pb2_grpc.py b/pyinjective/proto/capability/v1/capability_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/capability/v1/capability_pb2_grpc.py +++ b/pyinjective/proto/capability/v1/capability_pb2_grpc.py @@ -1,3 +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/capability/v1/genesis_pb2.py b/pyinjective/proto/capability/v1/genesis_pb2.py index 7e1f6592..5504049e 100644 --- a/pyinjective/proto/capability/v1/genesis_pb2.py +++ b/pyinjective/proto/capability/v1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,24 +17,20 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1b\x63\x61pability/v1/genesis.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63\x61pability/v1/capability.proto\x1a\x11\x61mino/amino.proto"t\n\rGenesisOwners\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index\x12M\n\x0cindex_owners\x18\x02 \x01(\x0b\x32\x1f.capability.v1.CapabilityOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0bindexOwners"e\n\x0cGenesisState\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index\x12?\n\x06owners\x18\x02 \x03(\x0b\x32\x1c.capability.v1.GenesisOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06ownersB\xa9\x01\n\x11\x63om.capability.v1B\x0cGenesisProtoP\x01Z1github.com/cosmos/ibc-go/modules/capability/types\xa2\x02\x03\x43XX\xaa\x02\rCapability.V1\xca\x02\rCapability\\V1\xe2\x02\x19\x43\x61pability\\V1\\GPBMetadata\xea\x02\x0e\x43\x61pability::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63\x61pability/v1/genesis.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63\x61pability/v1/capability.proto\x1a\x11\x61mino/amino.proto\"t\n\rGenesisOwners\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index\x12M\n\x0cindex_owners\x18\x02 \x01(\x0b\x32\x1f.capability.v1.CapabilityOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0bindexOwners\"e\n\x0cGenesisState\x12\x14\n\x05index\x18\x01 \x01(\x04R\x05index\x12?\n\x06owners\x18\x02 \x03(\x0b\x32\x1c.capability.v1.GenesisOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06ownersB\xa9\x01\n\x11\x63om.capability.v1B\x0cGenesisProtoP\x01Z1github.com/cosmos/ibc-go/modules/capability/types\xa2\x02\x03\x43XX\xaa\x02\rCapability.V1\xca\x02\rCapability\\V1\xe2\x02\x19\x43\x61pability\\V1\\GPBMetadata\xea\x02\x0e\x43\x61pability::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "capability.v1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\021com.capability.v1B\014GenesisProtoP\001Z1github.com/cosmos/ibc-go/modules/capability/types\242\002\003CXX\252\002\rCapability.V1\312\002\rCapability\\V1\342\002\031Capability\\V1\\GPBMetadata\352\002\016Capability::V1" - ) - _globals["_GENESISOWNERS"].fields_by_name["index_owners"]._loaded_options = None - _globals["_GENESISOWNERS"].fields_by_name["index_owners"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["owners"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["owners"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISOWNERS"]._serialized_start = 119 - _globals["_GENESISOWNERS"]._serialized_end = 235 - _globals["_GENESISSTATE"]._serialized_start = 237 - _globals["_GENESISSTATE"]._serialized_end = 338 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.capability.v1B\014GenesisProtoP\001Z1github.com/cosmos/ibc-go/modules/capability/types\242\002\003CXX\252\002\rCapability.V1\312\002\rCapability\\V1\342\002\031Capability\\V1\\GPBMetadata\352\002\016Capability::V1' + _globals['_GENESISOWNERS'].fields_by_name['index_owners']._loaded_options = None + _globals['_GENESISOWNERS'].fields_by_name['index_owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['owners']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISOWNERS']._serialized_start=119 + _globals['_GENESISOWNERS']._serialized_end=235 + _globals['_GENESISSTATE']._serialized_start=237 + _globals['_GENESISSTATE']._serialized_end=338 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/genesis_pb2_grpc.py b/pyinjective/proto/capability/v1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/capability/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/capability/v1/genesis_pb2_grpc.py @@ -1,3 +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/cosmos/app/runtime/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py index 44a8ed2e..cd567873 100644 --- a/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py +++ b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,24 +15,18 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n(cosmos/app/runtime/v1alpha1/module.proto\x12\x1b\x63osmos.app.runtime.v1alpha1\x1a cosmos/app/v1alpha1/module.proto"\xdc\x03\n\x06Module\x12\x19\n\x08\x61pp_name\x18\x01 \x01(\tR\x07\x61ppName\x12%\n\x0e\x62\x65gin_blockers\x18\x02 \x03(\tR\rbeginBlockers\x12!\n\x0c\x65nd_blockers\x18\x03 \x03(\tR\x0b\x65ndBlockers\x12!\n\x0cinit_genesis\x18\x04 \x03(\tR\x0binitGenesis\x12%\n\x0e\x65xport_genesis\x18\x05 \x03(\tR\rexportGenesis\x12[\n\x13override_store_keys\x18\x06 \x03(\x0b\x32+.cosmos.app.runtime.v1alpha1.StoreKeyConfigR\x11overrideStoreKeys\x12)\n\x10order_migrations\x18\x07 \x03(\tR\x0forderMigrations\x12"\n\x0cprecommiters\x18\x08 \x03(\tR\x0cprecommiters\x12\x32\n\x15prepare_check_staters\x18\t \x03(\tR\x13prepareCheckStaters:C\xba\xc0\x96\xda\x01=\n$github.com/cosmos/cosmos-sdk/runtime\x12\x15\n\x13\x63osmos.app.v1alpha1"S\n\x0eStoreKeyConfig\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName\x12 \n\x0ckv_store_key\x18\x02 \x01(\tR\nkvStoreKeyB\xbd\x01\n\x1f\x63om.cosmos.app.runtime.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41R\xaa\x02\x1b\x43osmos.App.Runtime.V1alpha1\xca\x02\x1b\x43osmos\\App\\Runtime\\V1alpha1\xe2\x02\'Cosmos\\App\\Runtime\\V1alpha1\\GPBMetadata\xea\x02\x1e\x43osmos::App::Runtime::V1alpha1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(cosmos/app/runtime/v1alpha1/module.proto\x12\x1b\x63osmos.app.runtime.v1alpha1\x1a cosmos/app/v1alpha1/module.proto\"\xdc\x03\n\x06Module\x12\x19\n\x08\x61pp_name\x18\x01 \x01(\tR\x07\x61ppName\x12%\n\x0e\x62\x65gin_blockers\x18\x02 \x03(\tR\rbeginBlockers\x12!\n\x0c\x65nd_blockers\x18\x03 \x03(\tR\x0b\x65ndBlockers\x12!\n\x0cinit_genesis\x18\x04 \x03(\tR\x0binitGenesis\x12%\n\x0e\x65xport_genesis\x18\x05 \x03(\tR\rexportGenesis\x12[\n\x13override_store_keys\x18\x06 \x03(\x0b\x32+.cosmos.app.runtime.v1alpha1.StoreKeyConfigR\x11overrideStoreKeys\x12)\n\x10order_migrations\x18\x07 \x03(\tR\x0forderMigrations\x12\"\n\x0cprecommiters\x18\x08 \x03(\tR\x0cprecommiters\x12\x32\n\x15prepare_check_staters\x18\t \x03(\tR\x13prepareCheckStaters:C\xba\xc0\x96\xda\x01=\n$github.com/cosmos/cosmos-sdk/runtime\x12\x15\n\x13\x63osmos.app.v1alpha1\"S\n\x0eStoreKeyConfig\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName\x12 \n\x0ckv_store_key\x18\x02 \x01(\tR\nkvStoreKeyB\xbd\x01\n\x1f\x63om.cosmos.app.runtime.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41R\xaa\x02\x1b\x43osmos.App.Runtime.V1alpha1\xca\x02\x1b\x43osmos\\App\\Runtime\\V1alpha1\xe2\x02\'Cosmos\\App\\Runtime\\V1alpha1\\GPBMetadata\xea\x02\x1e\x43osmos::App::Runtime::V1alpha1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.app.runtime.v1alpha1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.runtime.v1alpha1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\037com.cosmos.app.runtime.v1alpha1B\013ModuleProtoP\001\242\002\003CAR\252\002\033Cosmos.App.Runtime.V1alpha1\312\002\033Cosmos\\App\\Runtime\\V1alpha1\342\002'Cosmos\\App\\Runtime\\V1alpha1\\GPBMetadata\352\002\036Cosmos::App::Runtime::V1alpha1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = ( - b"\272\300\226\332\001=\n$github.com/cosmos/cosmos-sdk/runtime\022\025\n\023cosmos.app.v1alpha1" - ) - _globals["_MODULE"]._serialized_start = 108 - _globals["_MODULE"]._serialized_end = 584 - _globals["_STOREKEYCONFIG"]._serialized_start = 586 - _globals["_STOREKEYCONFIG"]._serialized_end = 669 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.app.runtime.v1alpha1B\013ModuleProtoP\001\242\002\003CAR\252\002\033Cosmos.App.Runtime.V1alpha1\312\002\033Cosmos\\App\\Runtime\\V1alpha1\342\002\'Cosmos\\App\\Runtime\\V1alpha1\\GPBMetadata\352\002\036Cosmos::App::Runtime::V1alpha1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001=\n$github.com/cosmos/cosmos-sdk/runtime\022\025\n\023cosmos.app.v1alpha1' + _globals['_MODULE']._serialized_start=108 + _globals['_MODULE']._serialized_end=584 + _globals['_STOREKEYCONFIG']._serialized_start=586 + _globals['_STOREKEYCONFIG']._serialized_end=669 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py @@ -1,3 +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/cosmos/app/v1alpha1/config_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py index 7c477b9a..a86065bd 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,22 +15,18 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n cosmos/app/v1alpha1/config.proto\x12\x13\x63osmos.app.v1alpha1\x1a\x19google/protobuf/any.proto"\x92\x01\n\x06\x43onfig\x12;\n\x07modules\x18\x01 \x03(\x0b\x32!.cosmos.app.v1alpha1.ModuleConfigR\x07modules\x12K\n\x0fgolang_bindings\x18\x02 \x03(\x0b\x32".cosmos.app.v1alpha1.GolangBindingR\x0egolangBindings"\x9d\x01\n\x0cModuleConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12,\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06\x63onfig\x12K\n\x0fgolang_bindings\x18\x03 \x03(\x0b\x32".cosmos.app.v1alpha1.GolangBindingR\x0egolangBindings"^\n\rGolangBinding\x12%\n\x0einterface_type\x18\x01 \x01(\tR\rinterfaceType\x12&\n\x0eimplementation\x18\x02 \x01(\tR\x0eimplementationB\x94\x01\n\x17\x63om.cosmos.app.v1alpha1B\x0b\x43onfigProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/app/v1alpha1/config.proto\x12\x13\x63osmos.app.v1alpha1\x1a\x19google/protobuf/any.proto\"\x92\x01\n\x06\x43onfig\x12;\n\x07modules\x18\x01 \x03(\x0b\x32!.cosmos.app.v1alpha1.ModuleConfigR\x07modules\x12K\n\x0fgolang_bindings\x18\x02 \x03(\x0b\x32\".cosmos.app.v1alpha1.GolangBindingR\x0egolangBindings\"\x9d\x01\n\x0cModuleConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12,\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06\x63onfig\x12K\n\x0fgolang_bindings\x18\x03 \x03(\x0b\x32\".cosmos.app.v1alpha1.GolangBindingR\x0egolangBindings\"^\n\rGolangBinding\x12%\n\x0einterface_type\x18\x01 \x01(\tR\rinterfaceType\x12&\n\x0eimplementation\x18\x02 \x01(\tR\x0eimplementationB\x94\x01\n\x17\x63om.cosmos.app.v1alpha1B\x0b\x43onfigProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.app.v1alpha1.config_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.config_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.app.v1alpha1B\013ConfigProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1" - ) - _globals["_CONFIG"]._serialized_start = 85 - _globals["_CONFIG"]._serialized_end = 231 - _globals["_MODULECONFIG"]._serialized_start = 234 - _globals["_MODULECONFIG"]._serialized_end = 391 - _globals["_GOLANGBINDING"]._serialized_start = 393 - _globals["_GOLANGBINDING"]._serialized_end = 487 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.app.v1alpha1B\013ConfigProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1' + _globals['_CONFIG']._serialized_start=85 + _globals['_CONFIG']._serialized_end=231 + _globals['_MODULECONFIG']._serialized_start=234 + _globals['_MODULECONFIG']._serialized_end=391 + _globals['_GOLANGBINDING']._serialized_start=393 + _globals['_GOLANGBINDING']._serialized_end=487 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/v1alpha1/config_pb2_grpc.py b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/config_pb2_grpc.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/config_pb2_grpc.py @@ -1,3 +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/cosmos/app/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py index 691f9659..05c39db9 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,22 +15,18 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n cosmos/app/v1alpha1/module.proto\x12\x13\x63osmos.app.v1alpha1\x1a google/protobuf/descriptor.proto"\xc7\x01\n\x10ModuleDescriptor\x12\x1b\n\tgo_import\x18\x01 \x01(\tR\x08goImport\x12\x46\n\x0buse_package\x18\x02 \x03(\x0b\x32%.cosmos.app.v1alpha1.PackageReferenceR\nusePackage\x12N\n\x10\x63\x61n_migrate_from\x18\x03 \x03(\x0b\x32$.cosmos.app.v1alpha1.MigrateFromInfoR\x0e\x63\x61nMigrateFrom"B\n\x10PackageReference\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n\x08revision\x18\x02 \x01(\rR\x08revision")\n\x0fMigrateFromInfo\x12\x16\n\x06module\x18\x01 \x01(\tR\x06module:a\n\x06module\x12\x1f.google.protobuf.MessageOptions\x18\x87\xe8\xa2\x1b \x01(\x0b\x32%.cosmos.app.v1alpha1.ModuleDescriptorR\x06moduleB\x94\x01\n\x17\x63om.cosmos.app.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/app/v1alpha1/module.proto\x12\x13\x63osmos.app.v1alpha1\x1a google/protobuf/descriptor.proto\"\xc7\x01\n\x10ModuleDescriptor\x12\x1b\n\tgo_import\x18\x01 \x01(\tR\x08goImport\x12\x46\n\x0buse_package\x18\x02 \x03(\x0b\x32%.cosmos.app.v1alpha1.PackageReferenceR\nusePackage\x12N\n\x10\x63\x61n_migrate_from\x18\x03 \x03(\x0b\x32$.cosmos.app.v1alpha1.MigrateFromInfoR\x0e\x63\x61nMigrateFrom\"B\n\x10PackageReference\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n\x08revision\x18\x02 \x01(\rR\x08revision\")\n\x0fMigrateFromInfo\x12\x16\n\x06module\x18\x01 \x01(\tR\x06module:a\n\x06module\x12\x1f.google.protobuf.MessageOptions\x18\x87\xe8\xa2\x1b \x01(\x0b\x32%.cosmos.app.v1alpha1.ModuleDescriptorR\x06moduleB\x94\x01\n\x17\x63om.cosmos.app.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.app.v1alpha1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.app.v1alpha1B\013ModuleProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1" - ) - _globals["_MODULEDESCRIPTOR"]._serialized_start = 92 - _globals["_MODULEDESCRIPTOR"]._serialized_end = 291 - _globals["_PACKAGEREFERENCE"]._serialized_start = 293 - _globals["_PACKAGEREFERENCE"]._serialized_end = 359 - _globals["_MIGRATEFROMINFO"]._serialized_start = 361 - _globals["_MIGRATEFROMINFO"]._serialized_end = 402 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.app.v1alpha1B\013ModuleProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1' + _globals['_MODULEDESCRIPTOR']._serialized_start=92 + _globals['_MODULEDESCRIPTOR']._serialized_end=291 + _globals['_PACKAGEREFERENCE']._serialized_start=293 + _globals['_PACKAGEREFERENCE']._serialized_end=359 + _globals['_MIGRATEFROMINFO']._serialized_start=361 + _globals['_MIGRATEFROMINFO']._serialized_end=402 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/v1alpha1/module_pb2_grpc.py b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/module_pb2_grpc.py @@ -1,3 +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/cosmos/app/v1alpha1/query_pb2.py b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py index 41210015..448ab7c7 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,22 +15,18 @@ from pyinjective.proto.cosmos.app.v1alpha1 import config_pb2 as cosmos_dot_app_dot_v1alpha1_dot_config__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1f\x63osmos/app/v1alpha1/query.proto\x12\x13\x63osmos.app.v1alpha1\x1a cosmos/app/v1alpha1/config.proto"\x14\n\x12QueryConfigRequest"J\n\x13QueryConfigResponse\x12\x33\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1b.cosmos.app.v1alpha1.ConfigR\x06\x63onfig2f\n\x05Query\x12]\n\x06\x43onfig\x12\'.cosmos.app.v1alpha1.QueryConfigRequest\x1a(.cosmos.app.v1alpha1.QueryConfigResponse"\x00\x42\x93\x01\n\x17\x63om.cosmos.app.v1alpha1B\nQueryProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/app/v1alpha1/query.proto\x12\x13\x63osmos.app.v1alpha1\x1a cosmos/app/v1alpha1/config.proto\"\x14\n\x12QueryConfigRequest\"J\n\x13QueryConfigResponse\x12\x33\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1b.cosmos.app.v1alpha1.ConfigR\x06\x63onfig2f\n\x05Query\x12]\n\x06\x43onfig\x12\'.cosmos.app.v1alpha1.QueryConfigRequest\x1a(.cosmos.app.v1alpha1.QueryConfigResponse\"\x00\x42\x93\x01\n\x17\x63om.cosmos.app.v1alpha1B\nQueryProtoP\x01\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.App.V1alpha1\xca\x02\x13\x43osmos\\App\\V1alpha1\xe2\x02\x1f\x43osmos\\App\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::App::V1alpha1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.app.v1alpha1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.app.v1alpha1B\nQueryProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1" - ) - _globals["_QUERYCONFIGREQUEST"]._serialized_start = 90 - _globals["_QUERYCONFIGREQUEST"]._serialized_end = 110 - _globals["_QUERYCONFIGRESPONSE"]._serialized_start = 112 - _globals["_QUERYCONFIGRESPONSE"]._serialized_end = 186 - _globals["_QUERY"]._serialized_start = 188 - _globals["_QUERY"]._serialized_end = 290 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.app.v1alpha1B\nQueryProtoP\001\242\002\003CAX\252\002\023Cosmos.App.V1alpha1\312\002\023Cosmos\\App\\V1alpha1\342\002\037Cosmos\\App\\V1alpha1\\GPBMetadata\352\002\025Cosmos::App::V1alpha1' + _globals['_QUERYCONFIGREQUEST']._serialized_start=90 + _globals['_QUERYCONFIGREQUEST']._serialized_end=110 + _globals['_QUERYCONFIGRESPONSE']._serialized_start=112 + _globals['_QUERYCONFIGRESPONSE']._serialized_end=186 + _globals['_QUERY']._serialized_start=188 + _globals['_QUERY']._serialized_end=290 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/app/v1alpha1/query_pb2_grpc.py b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2_grpc.py index 82b1d3e7..86f0b576 100644 --- a/pyinjective/proto/cosmos/app/v1alpha1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/app/v1alpha1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query is the app module query service.""" + """Query is the app module query service. + """ def __init__(self, channel): """Constructor. @@ -15,57 +16,58 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Config = channel.unary_unary( - "/cosmos.app.v1alpha1.Query/Config", - request_serializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigRequest.SerializeToString, - response_deserializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigResponse.FromString, - _registered_method=True, - ) + '/cosmos.app.v1alpha1.Query/Config', + request_serializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigRequest.SerializeToString, + response_deserializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query is the app module query service.""" + """Query is the app module query service. + """ def Config(self, request, context): - """Config returns the current app config.""" + """Config returns the current app config. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Config": grpc.unary_unary_rpc_method_handler( - servicer.Config, - request_deserializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigRequest.FromString, - response_serializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigResponse.SerializeToString, - ), + 'Config': grpc.unary_unary_rpc_method_handler( + servicer.Config, + request_deserializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigRequest.FromString, + response_serializer=cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.app.v1alpha1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.app.v1alpha1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.app.v1alpha1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.app.v1alpha1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query is the app module query service.""" + """Query is the app module query service. + """ @staticmethod - def Config( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Config(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.app.v1alpha1.Query/Config", + '/cosmos.app.v1alpha1.Query/Config', cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigRequest.SerializeToString, cosmos_dot_app_dot_v1alpha1_dot_query__pb2.QueryConfigResponse.FromString, options, @@ -76,5 +78,4 @@ def Config( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py b/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py index 180ae8cf..15c313d5 100644 --- a/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/auth/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,22 +15,18 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n"cosmos/auth/module/v1/module.proto\x12\x15\x63osmos.auth.module.v1\x1a cosmos/app/v1alpha1/module.proto"\xe6\x01\n\x06Module\x12#\n\rbech32_prefix\x18\x01 \x01(\tR\x0c\x62\x65\x63h32Prefix\x12l\n\x1amodule_account_permissions\x18\x02 \x03(\x0b\x32..cosmos.auth.module.v1.ModuleAccountPermissionR\x18moduleAccountPermissions\x12\x1c\n\tauthority\x18\x03 \x01(\tR\tauthority:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/auth"U\n\x17ModuleAccountPermission\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12 \n\x0bpermissions\x18\x02 \x03(\tR\x0bpermissionsB\x9f\x01\n\x19\x63om.cosmos.auth.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41M\xaa\x02\x15\x43osmos.Auth.Module.V1\xca\x02\x15\x43osmos\\Auth\\Module\\V1\xe2\x02!Cosmos\\Auth\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Auth::Module::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/auth/module/v1/module.proto\x12\x15\x63osmos.auth.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\xe6\x01\n\x06Module\x12#\n\rbech32_prefix\x18\x01 \x01(\tR\x0c\x62\x65\x63h32Prefix\x12l\n\x1amodule_account_permissions\x18\x02 \x03(\x0b\x32..cosmos.auth.module.v1.ModuleAccountPermissionR\x18moduleAccountPermissions\x12\x1c\n\tauthority\x18\x03 \x01(\tR\tauthority:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/auth\"U\n\x17ModuleAccountPermission\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12 \n\x0bpermissions\x18\x02 \x03(\tR\x0bpermissionsB\x9f\x01\n\x19\x63om.cosmos.auth.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41M\xaa\x02\x15\x43osmos.Auth.Module.V1\xca\x02\x15\x43osmos\\Auth\\Module\\V1\xe2\x02!Cosmos\\Auth\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Auth::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.auth.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\031com.cosmos.auth.module.v1B\013ModuleProtoP\001\242\002\003CAM\252\002\025Cosmos.Auth.Module.V1\312\002\025Cosmos\\Auth\\Module\\V1\342\002!Cosmos\\Auth\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Auth::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/auth" - _globals["_MODULE"]._serialized_start = 96 - _globals["_MODULE"]._serialized_end = 326 - _globals["_MODULEACCOUNTPERMISSION"]._serialized_start = 328 - _globals["_MODULEACCOUNTPERMISSION"]._serialized_end = 413 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.auth.module.v1B\013ModuleProtoP\001\242\002\003CAM\252\002\025Cosmos.Auth.Module.V1\312\002\025Cosmos\\Auth\\Module\\V1\342\002!Cosmos\\Auth\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Auth::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/auth' + _globals['_MODULE']._serialized_start=96 + _globals['_MODULE']._serialized_end=326 + _globals['_MODULEACCOUNTPERMISSION']._serialized_start=328 + _globals['_MODULEACCOUNTPERMISSION']._serialized_end=413 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/auth/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/auth/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/auth/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/auth/v1beta1/auth_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py index 5e42778d..ab1b8bbc 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,52 +18,38 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1e\x63osmos/auth/v1beta1/auth.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto"\xa1\x02\n\x0b\x42\x61seAccount\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12V\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\'\xea\xde\x1f\x14public_key,omitempty\xa2\xe7\xb0*\npublic_keyR\x06pubKey\x12%\n\x0e\x61\x63\x63ount_number\x18\x03 \x01(\x04R\raccountNumber\x12\x1a\n\x08sequence\x18\x04 \x01(\x04R\x08sequence:C\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountI\x8a\xe7\xb0*\x16\x63osmos-sdk/BaseAccount"\xec\x01\n\rModuleAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0bpermissions\x18\x03 \x03(\tR\x0bpermissions:Z\x88\xa0\x1f\x00\xca\xb4-"cosmos.auth.v1beta1.ModuleAccountI\x8a\xe7\xb0*\x18\x63osmos-sdk/ModuleAccount\x92\xe7\xb0*\x0emodule_account"\x84\x01\n\x10ModuleCredential\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName\x12\'\n\x0f\x64\x65rivation_keys\x18\x02 \x03(\x0cR\x0e\x64\x65rivationKeys:&\x8a\xe7\xb0*!cosmos-sdk/GroupAccountCredential"\xd7\x02\n\x06Params\x12.\n\x13max_memo_characters\x18\x01 \x01(\x04R\x11maxMemoCharacters\x12 \n\x0ctx_sig_limit\x18\x02 \x01(\x04R\ntxSigLimit\x12\x30\n\x15tx_size_cost_per_byte\x18\x03 \x01(\x04R\x11txSizeCostPerByte\x12O\n\x17sig_verify_cost_ed25519\x18\x04 \x01(\x04\x42\x18\xe2\xde\x1f\x14SigVerifyCostED25519R\x14sigVerifyCostEd25519\x12U\n\x19sig_verify_cost_secp256k1\x18\x05 \x01(\x04\x42\x1a\xe2\xde\x1f\x16SigVerifyCostSecp256k1R\x16sigVerifyCostSecp256k1:!\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x18\x63osmos-sdk/x/auth/ParamsB\xbd\x01\n\x17\x63om.cosmos.auth.v1beta1B\tAuthProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/auth/v1beta1/auth.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xa1\x02\n\x0b\x42\x61seAccount\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12V\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\'\xea\xde\x1f\x14public_key,omitempty\xa2\xe7\xb0*\npublic_keyR\x06pubKey\x12%\n\x0e\x61\x63\x63ount_number\x18\x03 \x01(\x04R\raccountNumber\x12\x1a\n\x08sequence\x18\x04 \x01(\x04R\x08sequence:C\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountI\x8a\xe7\xb0*\x16\x63osmos-sdk/BaseAccount\"\xec\x01\n\rModuleAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0bpermissions\x18\x03 \x03(\tR\x0bpermissions:Z\x88\xa0\x1f\x00\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountI\x8a\xe7\xb0*\x18\x63osmos-sdk/ModuleAccount\x92\xe7\xb0*\x0emodule_account\"\x84\x01\n\x10ModuleCredential\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName\x12\'\n\x0f\x64\x65rivation_keys\x18\x02 \x03(\x0cR\x0e\x64\x65rivationKeys:&\x8a\xe7\xb0*!cosmos-sdk/GroupAccountCredential\"\xd7\x02\n\x06Params\x12.\n\x13max_memo_characters\x18\x01 \x01(\x04R\x11maxMemoCharacters\x12 \n\x0ctx_sig_limit\x18\x02 \x01(\x04R\ntxSigLimit\x12\x30\n\x15tx_size_cost_per_byte\x18\x03 \x01(\x04R\x11txSizeCostPerByte\x12O\n\x17sig_verify_cost_ed25519\x18\x04 \x01(\x04\x42\x18\xe2\xde\x1f\x14SigVerifyCostED25519R\x14sigVerifyCostEd25519\x12U\n\x19sig_verify_cost_secp256k1\x18\x05 \x01(\x04\x42\x1a\xe2\xde\x1f\x16SigVerifyCostSecp256k1R\x16sigVerifyCostSecp256k1:!\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x18\x63osmos-sdk/x/auth/ParamsB\xbd\x01\n\x17\x63om.cosmos.auth.v1beta1B\tAuthProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.auth.v1beta1.auth_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.auth_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.auth.v1beta1B\tAuthProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1" - ) - _globals["_BASEACCOUNT"].fields_by_name["address"]._loaded_options = None - _globals["_BASEACCOUNT"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_BASEACCOUNT"].fields_by_name["pub_key"]._loaded_options = None - _globals["_BASEACCOUNT"].fields_by_name[ - "pub_key" - ]._serialized_options = b"\352\336\037\024public_key,omitempty\242\347\260*\npublic_key" - _globals["_BASEACCOUNT"]._loaded_options = None - _globals["_BASEACCOUNT"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\034cosmos.auth.v1beta1.AccountI\212\347\260*\026cosmos-sdk/BaseAccount" - ) - _globals["_MODULEACCOUNT"].fields_by_name["base_account"]._loaded_options = None - _globals["_MODULEACCOUNT"].fields_by_name["base_account"]._serialized_options = b"\320\336\037\001" - _globals["_MODULEACCOUNT"]._loaded_options = None - _globals["_MODULEACCOUNT"]._serialized_options = ( - b'\210\240\037\000\312\264-"cosmos.auth.v1beta1.ModuleAccountI\212\347\260*\030cosmos-sdk/ModuleAccount\222\347\260*\016module_account' - ) - _globals["_MODULECREDENTIAL"]._loaded_options = None - _globals["_MODULECREDENTIAL"]._serialized_options = b"\212\347\260*!cosmos-sdk/GroupAccountCredential" - _globals["_PARAMS"].fields_by_name["sig_verify_cost_ed25519"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "sig_verify_cost_ed25519" - ]._serialized_options = b"\342\336\037\024SigVerifyCostED25519" - _globals["_PARAMS"].fields_by_name["sig_verify_cost_secp256k1"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "sig_verify_cost_secp256k1" - ]._serialized_options = b"\342\336\037\026SigVerifyCostSecp256k1" - _globals["_PARAMS"]._loaded_options = None - _globals["_PARAMS"]._serialized_options = b"\350\240\037\001\212\347\260*\030cosmos-sdk/x/auth/Params" - _globals["_BASEACCOUNT"]._serialized_start = 151 - _globals["_BASEACCOUNT"]._serialized_end = 440 - _globals["_MODULEACCOUNT"]._serialized_start = 443 - _globals["_MODULEACCOUNT"]._serialized_end = 679 - _globals["_MODULECREDENTIAL"]._serialized_start = 682 - _globals["_MODULECREDENTIAL"]._serialized_end = 814 - _globals["_PARAMS"]._serialized_start = 817 - _globals["_PARAMS"]._serialized_end = 1160 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.auth.v1beta1B\tAuthProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1' + _globals['_BASEACCOUNT'].fields_by_name['address']._loaded_options = None + _globals['_BASEACCOUNT'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_BASEACCOUNT'].fields_by_name['pub_key']._loaded_options = None + _globals['_BASEACCOUNT'].fields_by_name['pub_key']._serialized_options = b'\352\336\037\024public_key,omitempty\242\347\260*\npublic_key' + _globals['_BASEACCOUNT']._loaded_options = None + _globals['_BASEACCOUNT']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\034cosmos.auth.v1beta1.AccountI\212\347\260*\026cosmos-sdk/BaseAccount' + _globals['_MODULEACCOUNT'].fields_by_name['base_account']._loaded_options = None + _globals['_MODULEACCOUNT'].fields_by_name['base_account']._serialized_options = b'\320\336\037\001' + _globals['_MODULEACCOUNT']._loaded_options = None + _globals['_MODULEACCOUNT']._serialized_options = b'\210\240\037\000\312\264-\"cosmos.auth.v1beta1.ModuleAccountI\212\347\260*\030cosmos-sdk/ModuleAccount\222\347\260*\016module_account' + _globals['_MODULECREDENTIAL']._loaded_options = None + _globals['_MODULECREDENTIAL']._serialized_options = b'\212\347\260*!cosmos-sdk/GroupAccountCredential' + _globals['_PARAMS'].fields_by_name['sig_verify_cost_ed25519']._loaded_options = None + _globals['_PARAMS'].fields_by_name['sig_verify_cost_ed25519']._serialized_options = b'\342\336\037\024SigVerifyCostED25519' + _globals['_PARAMS'].fields_by_name['sig_verify_cost_secp256k1']._loaded_options = None + _globals['_PARAMS'].fields_by_name['sig_verify_cost_secp256k1']._serialized_options = b'\342\336\037\026SigVerifyCostSecp256k1' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\030cosmos-sdk/x/auth/Params' + _globals['_BASEACCOUNT']._serialized_start=151 + _globals['_BASEACCOUNT']._serialized_end=440 + _globals['_MODULEACCOUNT']._serialized_start=443 + _globals['_MODULEACCOUNT']._serialized_end=679 + _globals['_MODULECREDENTIAL']._serialized_start=682 + _globals['_MODULECREDENTIAL']._serialized_end=814 + _globals['_PARAMS']._serialized_start=817 + _globals['_PARAMS']._serialized_end=1160 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2_grpc.py b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2_grpc.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/auth_pb2_grpc.py @@ -1,3 +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/cosmos/auth/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py index f8030d83..4d0f61bb 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,20 +18,16 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!cosmos/auth/v1beta1/genesis.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x11\x61mino/amino.proto"\x80\x01\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12\x30\n\x08\x61\x63\x63ounts\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x61\x63\x63ountsB\xc0\x01\n\x17\x63om.cosmos.auth.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/auth/v1beta1/genesis.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x11\x61mino/amino.proto\"\x80\x01\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12\x30\n\x08\x61\x63\x63ounts\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x61\x63\x63ountsB\xc0\x01\n\x17\x63om.cosmos.auth.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.auth.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.auth.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1" - ) - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"]._serialized_start = 159 - _globals["_GENESISSTATE"]._serialized_end = 287 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.auth.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE']._serialized_start=159 + _globals['_GENESISSTATE']._serialized_end=287 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/genesis_pb2_grpc.py @@ -1,3 +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/cosmos/auth/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py index 959784ef..940dd371 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2.py @@ -7,15 +7,12 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 @@ -24,132 +21,94 @@ from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1f\x63osmos/auth/v1beta1/query.proto\x12\x13\x63osmos.auth.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto"^\n\x14QueryAccountsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xb4\x01\n\x15QueryAccountsResponse\x12R\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB \xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIR\x08\x61\x63\x63ounts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"S\n\x13QueryAccountRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"h\n\x14QueryAccountResponse\x12P\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB \xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIR\x07\x61\x63\x63ount"\x14\n\x12QueryParamsRequest"P\n\x13QueryParamsResponse\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\x1c\n\x1aQueryModuleAccountsRequest"w\n\x1bQueryModuleAccountsResponse\x12X\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-"cosmos.auth.v1beta1.ModuleAccountIR\x08\x61\x63\x63ounts"5\n\x1fQueryModuleAccountByNameRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"z\n QueryModuleAccountByNameResponse\x12V\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-"cosmos.auth.v1beta1.ModuleAccountIR\x07\x61\x63\x63ount"\x15\n\x13\x42\x65\x63h32PrefixRequest";\n\x14\x42\x65\x63h32PrefixResponse\x12#\n\rbech32_prefix\x18\x01 \x01(\tR\x0c\x62\x65\x63h32Prefix"B\n\x1b\x41\x64\x64ressBytesToStringRequest\x12#\n\raddress_bytes\x18\x01 \x01(\x0cR\x0c\x61\x64\x64ressBytes"E\n\x1c\x41\x64\x64ressBytesToStringResponse\x12%\n\x0e\x61\x64\x64ress_string\x18\x01 \x01(\tR\raddressString"D\n\x1b\x41\x64\x64ressStringToBytesRequest\x12%\n\x0e\x61\x64\x64ress_string\x18\x01 \x01(\tR\raddressString"C\n\x1c\x41\x64\x64ressStringToBytesResponse\x12#\n\raddress_bytes\x18\x01 \x01(\x0cR\x0c\x61\x64\x64ressBytes"S\n\x1eQueryAccountAddressByIDRequest\x12\x12\n\x02id\x18\x01 \x01(\x03\x42\x02\x18\x01R\x02id\x12\x1d\n\naccount_id\x18\x02 \x01(\x04R\taccountId"d\n\x1fQueryAccountAddressByIDResponse\x12\x41\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x61\x63\x63ountAddress"M\n\x17QueryAccountInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress"P\n\x18QueryAccountInfoResponse\x12\x34\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountR\x04info2\xef\x0c\n\x05Query\x12\x8d\x01\n\x08\x41\x63\x63ounts\x12).cosmos.auth.v1beta1.QueryAccountsRequest\x1a*.cosmos.auth.v1beta1.QueryAccountsResponse"*\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/auth/v1beta1/accounts\x12\x94\x01\n\x07\x41\x63\x63ount\x12(.cosmos.auth.v1beta1.QueryAccountRequest\x1a).cosmos.auth.v1beta1.QueryAccountResponse"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/auth/v1beta1/accounts/{address}\x12\xb5\x01\n\x12\x41\x63\x63ountAddressByID\x12\x33.cosmos.auth.v1beta1.QueryAccountAddressByIDRequest\x1a\x34.cosmos.auth.v1beta1.QueryAccountAddressByIDResponse"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/auth/v1beta1/address_by_id/{id}\x12\x85\x01\n\x06Params\x12\'.cosmos.auth.v1beta1.QueryParamsRequest\x1a(.cosmos.auth.v1beta1.QueryParamsResponse"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/auth/v1beta1/params\x12\xa6\x01\n\x0eModuleAccounts\x12/.cosmos.auth.v1beta1.QueryModuleAccountsRequest\x1a\x30.cosmos.auth.v1beta1.QueryModuleAccountsResponse"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/auth/v1beta1/module_accounts\x12\xbc\x01\n\x13ModuleAccountByName\x12\x34.cosmos.auth.v1beta1.QueryModuleAccountByNameRequest\x1a\x35.cosmos.auth.v1beta1.QueryModuleAccountByNameResponse"8\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/module_accounts/{name}\x12\x88\x01\n\x0c\x42\x65\x63h32Prefix\x12(.cosmos.auth.v1beta1.Bech32PrefixRequest\x1a).cosmos.auth.v1beta1.Bech32PrefixResponse"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/auth/v1beta1/bech32\x12\xb0\x01\n\x14\x41\x64\x64ressBytesToString\x12\x30.cosmos.auth.v1beta1.AddressBytesToStringRequest\x1a\x31.cosmos.auth.v1beta1.AddressBytesToStringResponse"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/bech32/{address_bytes}\x12\xb1\x01\n\x14\x41\x64\x64ressStringToBytes\x12\x30.cosmos.auth.v1beta1.AddressStringToBytesRequest\x1a\x31.cosmos.auth.v1beta1.AddressStringToBytesResponse"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/auth/v1beta1/bech32/{address_string}\x12\xa4\x01\n\x0b\x41\x63\x63ountInfo\x12,.cosmos.auth.v1beta1.QueryAccountInfoRequest\x1a-.cosmos.auth.v1beta1.QueryAccountInfoResponse"8\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/account_info/{address}B\xbe\x01\n\x17\x63om.cosmos.auth.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/auth/v1beta1/query.proto\x12\x13\x63osmos.auth.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto\"^\n\x14QueryAccountsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb4\x01\n\x15QueryAccountsResponse\x12R\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB \xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIR\x08\x61\x63\x63ounts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"S\n\x13QueryAccountRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"h\n\x14QueryAccountResponse\x12P\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB \xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIR\x07\x61\x63\x63ount\"\x14\n\x12QueryParamsRequest\"P\n\x13QueryParamsResponse\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1c\n\x1aQueryModuleAccountsRequest\"w\n\x1bQueryModuleAccountsResponse\x12X\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountIR\x08\x61\x63\x63ounts\"5\n\x1fQueryModuleAccountByNameRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"z\n QueryModuleAccountByNameResponse\x12V\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.auth.v1beta1.ModuleAccountIR\x07\x61\x63\x63ount\"\x15\n\x13\x42\x65\x63h32PrefixRequest\";\n\x14\x42\x65\x63h32PrefixResponse\x12#\n\rbech32_prefix\x18\x01 \x01(\tR\x0c\x62\x65\x63h32Prefix\"B\n\x1b\x41\x64\x64ressBytesToStringRequest\x12#\n\raddress_bytes\x18\x01 \x01(\x0cR\x0c\x61\x64\x64ressBytes\"E\n\x1c\x41\x64\x64ressBytesToStringResponse\x12%\n\x0e\x61\x64\x64ress_string\x18\x01 \x01(\tR\raddressString\"D\n\x1b\x41\x64\x64ressStringToBytesRequest\x12%\n\x0e\x61\x64\x64ress_string\x18\x01 \x01(\tR\raddressString\"C\n\x1c\x41\x64\x64ressStringToBytesResponse\x12#\n\raddress_bytes\x18\x01 \x01(\x0cR\x0c\x61\x64\x64ressBytes\"S\n\x1eQueryAccountAddressByIDRequest\x12\x12\n\x02id\x18\x01 \x01(\x03\x42\x02\x18\x01R\x02id\x12\x1d\n\naccount_id\x18\x02 \x01(\x04R\taccountId\"d\n\x1fQueryAccountAddressByIDResponse\x12\x41\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x61\x63\x63ountAddress\"M\n\x17QueryAccountInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"P\n\x18QueryAccountInfoResponse\x12\x34\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountR\x04info2\xef\x0c\n\x05Query\x12\x8d\x01\n\x08\x41\x63\x63ounts\x12).cosmos.auth.v1beta1.QueryAccountsRequest\x1a*.cosmos.auth.v1beta1.QueryAccountsResponse\"*\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/auth/v1beta1/accounts\x12\x94\x01\n\x07\x41\x63\x63ount\x12(.cosmos.auth.v1beta1.QueryAccountRequest\x1a).cosmos.auth.v1beta1.QueryAccountResponse\"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/auth/v1beta1/accounts/{address}\x12\xb5\x01\n\x12\x41\x63\x63ountAddressByID\x12\x33.cosmos.auth.v1beta1.QueryAccountAddressByIDRequest\x1a\x34.cosmos.auth.v1beta1.QueryAccountAddressByIDResponse\"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/auth/v1beta1/address_by_id/{id}\x12\x85\x01\n\x06Params\x12\'.cosmos.auth.v1beta1.QueryParamsRequest\x1a(.cosmos.auth.v1beta1.QueryParamsResponse\"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/auth/v1beta1/params\x12\xa6\x01\n\x0eModuleAccounts\x12/.cosmos.auth.v1beta1.QueryModuleAccountsRequest\x1a\x30.cosmos.auth.v1beta1.QueryModuleAccountsResponse\"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/auth/v1beta1/module_accounts\x12\xbc\x01\n\x13ModuleAccountByName\x12\x34.cosmos.auth.v1beta1.QueryModuleAccountByNameRequest\x1a\x35.cosmos.auth.v1beta1.QueryModuleAccountByNameResponse\"8\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/module_accounts/{name}\x12\x88\x01\n\x0c\x42\x65\x63h32Prefix\x12(.cosmos.auth.v1beta1.Bech32PrefixRequest\x1a).cosmos.auth.v1beta1.Bech32PrefixResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/auth/v1beta1/bech32\x12\xb0\x01\n\x14\x41\x64\x64ressBytesToString\x12\x30.cosmos.auth.v1beta1.AddressBytesToStringRequest\x1a\x31.cosmos.auth.v1beta1.AddressBytesToStringResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/bech32/{address_bytes}\x12\xb1\x01\n\x14\x41\x64\x64ressStringToBytes\x12\x30.cosmos.auth.v1beta1.AddressStringToBytesRequest\x1a\x31.cosmos.auth.v1beta1.AddressStringToBytesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/auth/v1beta1/bech32/{address_string}\x12\xa4\x01\n\x0b\x41\x63\x63ountInfo\x12,.cosmos.auth.v1beta1.QueryAccountInfoRequest\x1a-.cosmos.auth.v1beta1.QueryAccountInfoResponse\"8\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02-\x12+/cosmos/auth/v1beta1/account_info/{address}B\xbe\x01\n\x17\x63om.cosmos.auth.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.auth.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.auth.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1" - ) - _globals["_QUERYACCOUNTSRESPONSE"].fields_by_name["accounts"]._loaded_options = None - _globals["_QUERYACCOUNTSRESPONSE"].fields_by_name[ - "accounts" - ]._serialized_options = b"\312\264-\034cosmos.auth.v1beta1.AccountI" - _globals["_QUERYACCOUNTREQUEST"].fields_by_name["address"]._loaded_options = None - _globals["_QUERYACCOUNTREQUEST"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYACCOUNTREQUEST"]._loaded_options = None - _globals["_QUERYACCOUNTREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYACCOUNTRESPONSE"].fields_by_name["account"]._loaded_options = None - _globals["_QUERYACCOUNTRESPONSE"].fields_by_name[ - "account" - ]._serialized_options = b"\312\264-\034cosmos.auth.v1beta1.AccountI" - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYMODULEACCOUNTSRESPONSE"].fields_by_name["accounts"]._loaded_options = None - _globals["_QUERYMODULEACCOUNTSRESPONSE"].fields_by_name[ - "accounts" - ]._serialized_options = b'\312\264-"cosmos.auth.v1beta1.ModuleAccountI' - _globals["_QUERYMODULEACCOUNTBYNAMERESPONSE"].fields_by_name["account"]._loaded_options = None - _globals["_QUERYMODULEACCOUNTBYNAMERESPONSE"].fields_by_name[ - "account" - ]._serialized_options = b'\312\264-"cosmos.auth.v1beta1.ModuleAccountI' - _globals["_QUERYACCOUNTADDRESSBYIDREQUEST"].fields_by_name["id"]._loaded_options = None - _globals["_QUERYACCOUNTADDRESSBYIDREQUEST"].fields_by_name["id"]._serialized_options = b"\030\001" - _globals["_QUERYACCOUNTADDRESSBYIDRESPONSE"].fields_by_name["account_address"]._loaded_options = None - _globals["_QUERYACCOUNTADDRESSBYIDRESPONSE"].fields_by_name[ - "account_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYACCOUNTINFOREQUEST"].fields_by_name["address"]._loaded_options = None - _globals["_QUERYACCOUNTINFOREQUEST"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERY"].methods_by_name["Accounts"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Accounts" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002\037\022\035/cosmos/auth/v1beta1/accounts" - _globals["_QUERY"].methods_by_name["Account"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Account" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002)\022'/cosmos/auth/v1beta1/accounts/{address}" - _globals["_QUERY"].methods_by_name["AccountAddressByID"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AccountAddressByID" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002)\022'/cosmos/auth/v1beta1/address_by_id/{id}" - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/auth/v1beta1/params" - _globals["_QUERY"].methods_by_name["ModuleAccounts"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ModuleAccounts" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002&\022$/cosmos/auth/v1beta1/module_accounts" - _globals["_QUERY"].methods_by_name["ModuleAccountByName"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ModuleAccountByName" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002-\022+/cosmos/auth/v1beta1/module_accounts/{name}" - _globals["_QUERY"].methods_by_name["Bech32Prefix"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Bech32Prefix" - ]._serialized_options = b"\202\323\344\223\002\035\022\033/cosmos/auth/v1beta1/bech32" - _globals["_QUERY"].methods_by_name["AddressBytesToString"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AddressBytesToString" - ]._serialized_options = b"\202\323\344\223\002-\022+/cosmos/auth/v1beta1/bech32/{address_bytes}" - _globals["_QUERY"].methods_by_name["AddressStringToBytes"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AddressStringToBytes" - ]._serialized_options = b"\202\323\344\223\002.\022,/cosmos/auth/v1beta1/bech32/{address_string}" - _globals["_QUERY"].methods_by_name["AccountInfo"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AccountInfo" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002-\022+/cosmos/auth/v1beta1/account_info/{address}" - _globals["_QUERYACCOUNTSREQUEST"]._serialized_start = 267 - _globals["_QUERYACCOUNTSREQUEST"]._serialized_end = 361 - _globals["_QUERYACCOUNTSRESPONSE"]._serialized_start = 364 - _globals["_QUERYACCOUNTSRESPONSE"]._serialized_end = 544 - _globals["_QUERYACCOUNTREQUEST"]._serialized_start = 546 - _globals["_QUERYACCOUNTREQUEST"]._serialized_end = 629 - _globals["_QUERYACCOUNTRESPONSE"]._serialized_start = 631 - _globals["_QUERYACCOUNTRESPONSE"]._serialized_end = 735 - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 737 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 757 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 759 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 839 - _globals["_QUERYMODULEACCOUNTSREQUEST"]._serialized_start = 841 - _globals["_QUERYMODULEACCOUNTSREQUEST"]._serialized_end = 869 - _globals["_QUERYMODULEACCOUNTSRESPONSE"]._serialized_start = 871 - _globals["_QUERYMODULEACCOUNTSRESPONSE"]._serialized_end = 990 - _globals["_QUERYMODULEACCOUNTBYNAMEREQUEST"]._serialized_start = 992 - _globals["_QUERYMODULEACCOUNTBYNAMEREQUEST"]._serialized_end = 1045 - _globals["_QUERYMODULEACCOUNTBYNAMERESPONSE"]._serialized_start = 1047 - _globals["_QUERYMODULEACCOUNTBYNAMERESPONSE"]._serialized_end = 1169 - _globals["_BECH32PREFIXREQUEST"]._serialized_start = 1171 - _globals["_BECH32PREFIXREQUEST"]._serialized_end = 1192 - _globals["_BECH32PREFIXRESPONSE"]._serialized_start = 1194 - _globals["_BECH32PREFIXRESPONSE"]._serialized_end = 1253 - _globals["_ADDRESSBYTESTOSTRINGREQUEST"]._serialized_start = 1255 - _globals["_ADDRESSBYTESTOSTRINGREQUEST"]._serialized_end = 1321 - _globals["_ADDRESSBYTESTOSTRINGRESPONSE"]._serialized_start = 1323 - _globals["_ADDRESSBYTESTOSTRINGRESPONSE"]._serialized_end = 1392 - _globals["_ADDRESSSTRINGTOBYTESREQUEST"]._serialized_start = 1394 - _globals["_ADDRESSSTRINGTOBYTESREQUEST"]._serialized_end = 1462 - _globals["_ADDRESSSTRINGTOBYTESRESPONSE"]._serialized_start = 1464 - _globals["_ADDRESSSTRINGTOBYTESRESPONSE"]._serialized_end = 1531 - _globals["_QUERYACCOUNTADDRESSBYIDREQUEST"]._serialized_start = 1533 - _globals["_QUERYACCOUNTADDRESSBYIDREQUEST"]._serialized_end = 1616 - _globals["_QUERYACCOUNTADDRESSBYIDRESPONSE"]._serialized_start = 1618 - _globals["_QUERYACCOUNTADDRESSBYIDRESPONSE"]._serialized_end = 1718 - _globals["_QUERYACCOUNTINFOREQUEST"]._serialized_start = 1720 - _globals["_QUERYACCOUNTINFOREQUEST"]._serialized_end = 1797 - _globals["_QUERYACCOUNTINFORESPONSE"]._serialized_start = 1799 - _globals["_QUERYACCOUNTINFORESPONSE"]._serialized_end = 1879 - _globals["_QUERY"]._serialized_start = 1882 - _globals["_QUERY"]._serialized_end = 3529 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.auth.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1' + _globals['_QUERYACCOUNTSRESPONSE'].fields_by_name['accounts']._loaded_options = None + _globals['_QUERYACCOUNTSRESPONSE'].fields_by_name['accounts']._serialized_options = b'\312\264-\034cosmos.auth.v1beta1.AccountI' + _globals['_QUERYACCOUNTREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYACCOUNTREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYACCOUNTREQUEST']._loaded_options = None + _globals['_QUERYACCOUNTREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYACCOUNTRESPONSE'].fields_by_name['account']._loaded_options = None + _globals['_QUERYACCOUNTRESPONSE'].fields_by_name['account']._serialized_options = b'\312\264-\034cosmos.auth.v1beta1.AccountI' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_QUERYMODULEACCOUNTSRESPONSE'].fields_by_name['accounts']._loaded_options = None + _globals['_QUERYMODULEACCOUNTSRESPONSE'].fields_by_name['accounts']._serialized_options = b'\312\264-\"cosmos.auth.v1beta1.ModuleAccountI' + _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE'].fields_by_name['account']._loaded_options = None + _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE'].fields_by_name['account']._serialized_options = b'\312\264-\"cosmos.auth.v1beta1.ModuleAccountI' + _globals['_QUERYACCOUNTADDRESSBYIDREQUEST'].fields_by_name['id']._loaded_options = None + _globals['_QUERYACCOUNTADDRESSBYIDREQUEST'].fields_by_name['id']._serialized_options = b'\030\001' + _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE'].fields_by_name['account_address']._loaded_options = None + _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE'].fields_by_name['account_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYACCOUNTINFOREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYACCOUNTINFOREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERY'].methods_by_name['Accounts']._loaded_options = None + _globals['_QUERY'].methods_by_name['Accounts']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\037\022\035/cosmos/auth/v1beta1/accounts' + _globals['_QUERY'].methods_by_name['Account']._loaded_options = None + _globals['_QUERY'].methods_by_name['Account']._serialized_options = b'\210\347\260*\001\202\323\344\223\002)\022\'/cosmos/auth/v1beta1/accounts/{address}' + _globals['_QUERY'].methods_by_name['AccountAddressByID']._loaded_options = None + _globals['_QUERY'].methods_by_name['AccountAddressByID']._serialized_options = b'\210\347\260*\001\202\323\344\223\002)\022\'/cosmos/auth/v1beta1/address_by_id/{id}' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/auth/v1beta1/params' + _globals['_QUERY'].methods_by_name['ModuleAccounts']._loaded_options = None + _globals['_QUERY'].methods_by_name['ModuleAccounts']._serialized_options = b'\210\347\260*\001\202\323\344\223\002&\022$/cosmos/auth/v1beta1/module_accounts' + _globals['_QUERY'].methods_by_name['ModuleAccountByName']._loaded_options = None + _globals['_QUERY'].methods_by_name['ModuleAccountByName']._serialized_options = b'\210\347\260*\001\202\323\344\223\002-\022+/cosmos/auth/v1beta1/module_accounts/{name}' + _globals['_QUERY'].methods_by_name['Bech32Prefix']._loaded_options = None + _globals['_QUERY'].methods_by_name['Bech32Prefix']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/auth/v1beta1/bech32' + _globals['_QUERY'].methods_by_name['AddressBytesToString']._loaded_options = None + _globals['_QUERY'].methods_by_name['AddressBytesToString']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/auth/v1beta1/bech32/{address_bytes}' + _globals['_QUERY'].methods_by_name['AddressStringToBytes']._loaded_options = None + _globals['_QUERY'].methods_by_name['AddressStringToBytes']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/auth/v1beta1/bech32/{address_string}' + _globals['_QUERY'].methods_by_name['AccountInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['AccountInfo']._serialized_options = b'\210\347\260*\001\202\323\344\223\002-\022+/cosmos/auth/v1beta1/account_info/{address}' + _globals['_QUERYACCOUNTSREQUEST']._serialized_start=267 + _globals['_QUERYACCOUNTSREQUEST']._serialized_end=361 + _globals['_QUERYACCOUNTSRESPONSE']._serialized_start=364 + _globals['_QUERYACCOUNTSRESPONSE']._serialized_end=544 + _globals['_QUERYACCOUNTREQUEST']._serialized_start=546 + _globals['_QUERYACCOUNTREQUEST']._serialized_end=629 + _globals['_QUERYACCOUNTRESPONSE']._serialized_start=631 + _globals['_QUERYACCOUNTRESPONSE']._serialized_end=735 + _globals['_QUERYPARAMSREQUEST']._serialized_start=737 + _globals['_QUERYPARAMSREQUEST']._serialized_end=757 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=759 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=839 + _globals['_QUERYMODULEACCOUNTSREQUEST']._serialized_start=841 + _globals['_QUERYMODULEACCOUNTSREQUEST']._serialized_end=869 + _globals['_QUERYMODULEACCOUNTSRESPONSE']._serialized_start=871 + _globals['_QUERYMODULEACCOUNTSRESPONSE']._serialized_end=990 + _globals['_QUERYMODULEACCOUNTBYNAMEREQUEST']._serialized_start=992 + _globals['_QUERYMODULEACCOUNTBYNAMEREQUEST']._serialized_end=1045 + _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE']._serialized_start=1047 + _globals['_QUERYMODULEACCOUNTBYNAMERESPONSE']._serialized_end=1169 + _globals['_BECH32PREFIXREQUEST']._serialized_start=1171 + _globals['_BECH32PREFIXREQUEST']._serialized_end=1192 + _globals['_BECH32PREFIXRESPONSE']._serialized_start=1194 + _globals['_BECH32PREFIXRESPONSE']._serialized_end=1253 + _globals['_ADDRESSBYTESTOSTRINGREQUEST']._serialized_start=1255 + _globals['_ADDRESSBYTESTOSTRINGREQUEST']._serialized_end=1321 + _globals['_ADDRESSBYTESTOSTRINGRESPONSE']._serialized_start=1323 + _globals['_ADDRESSBYTESTOSTRINGRESPONSE']._serialized_end=1392 + _globals['_ADDRESSSTRINGTOBYTESREQUEST']._serialized_start=1394 + _globals['_ADDRESSSTRINGTOBYTESREQUEST']._serialized_end=1462 + _globals['_ADDRESSSTRINGTOBYTESRESPONSE']._serialized_start=1464 + _globals['_ADDRESSSTRINGTOBYTESRESPONSE']._serialized_end=1531 + _globals['_QUERYACCOUNTADDRESSBYIDREQUEST']._serialized_start=1533 + _globals['_QUERYACCOUNTADDRESSBYIDREQUEST']._serialized_end=1616 + _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE']._serialized_start=1618 + _globals['_QUERYACCOUNTADDRESSBYIDRESPONSE']._serialized_end=1718 + _globals['_QUERYACCOUNTINFOREQUEST']._serialized_start=1720 + _globals['_QUERYACCOUNTINFOREQUEST']._serialized_end=1797 + _globals['_QUERYACCOUNTINFORESPONSE']._serialized_start=1799 + _globals['_QUERYACCOUNTINFORESPONSE']._serialized_end=1879 + _globals['_QUERY']._serialized_start=1882 + _globals['_QUERY']._serialized_end=3529 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2_grpc.py index cafcf5f3..b8bcec08 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -15,69 +16,60 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Accounts = channel.unary_unary( - "/cosmos.auth.v1beta1.Query/Accounts", - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsResponse.FromString, - _registered_method=True, - ) + '/cosmos.auth.v1beta1.Query/Accounts', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsResponse.FromString, + _registered_method=True) self.Account = channel.unary_unary( - "/cosmos.auth.v1beta1.Query/Account", - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountResponse.FromString, - _registered_method=True, - ) + '/cosmos.auth.v1beta1.Query/Account', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountResponse.FromString, + _registered_method=True) self.AccountAddressByID = channel.unary_unary( - "/cosmos.auth.v1beta1.Query/AccountAddressByID", - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDResponse.FromString, - _registered_method=True, - ) + '/cosmos.auth.v1beta1.Query/AccountAddressByID', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDResponse.FromString, + _registered_method=True) self.Params = channel.unary_unary( - "/cosmos.auth.v1beta1.Query/Params", - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.auth.v1beta1.Query/Params', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) self.ModuleAccounts = channel.unary_unary( - "/cosmos.auth.v1beta1.Query/ModuleAccounts", - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsResponse.FromString, - _registered_method=True, - ) + '/cosmos.auth.v1beta1.Query/ModuleAccounts', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsResponse.FromString, + _registered_method=True) self.ModuleAccountByName = channel.unary_unary( - "/cosmos.auth.v1beta1.Query/ModuleAccountByName", - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameResponse.FromString, - _registered_method=True, - ) + '/cosmos.auth.v1beta1.Query/ModuleAccountByName', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameResponse.FromString, + _registered_method=True) self.Bech32Prefix = channel.unary_unary( - "/cosmos.auth.v1beta1.Query/Bech32Prefix", - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixResponse.FromString, - _registered_method=True, - ) + '/cosmos.auth.v1beta1.Query/Bech32Prefix', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixResponse.FromString, + _registered_method=True) self.AddressBytesToString = channel.unary_unary( - "/cosmos.auth.v1beta1.Query/AddressBytesToString", - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringResponse.FromString, - _registered_method=True, - ) + '/cosmos.auth.v1beta1.Query/AddressBytesToString', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringResponse.FromString, + _registered_method=True) self.AddressStringToBytes = channel.unary_unary( - "/cosmos.auth.v1beta1.Query/AddressStringToBytes", - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesResponse.FromString, - _registered_method=True, - ) + '/cosmos.auth.v1beta1.Query/AddressStringToBytes', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesResponse.FromString, + _registered_method=True) self.AccountInfo = channel.unary_unary( - "/cosmos.auth.v1beta1.Query/AccountInfo", - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoResponse.FromString, - _registered_method=True, - ) + '/cosmos.auth.v1beta1.Query/AccountInfo', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def Accounts(self, request, context): """Accounts returns all the existing accounts. @@ -88,14 +80,15 @@ def Accounts(self, request, context): Since: cosmos-sdk 0.43 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Account(self, request, context): - """Account returns account details based on address.""" + """Account returns account details based on address. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AccountAddressByID(self, request, context): """AccountAddressByID returns account address based on account number. @@ -103,14 +96,15 @@ def AccountAddressByID(self, request, context): Since: cosmos-sdk 0.46.2 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Params(self, request, context): - """Params queries all parameters.""" + """Params queries all parameters. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ModuleAccounts(self, request, context): """ModuleAccounts returns all the existing module accounts. @@ -118,14 +112,15 @@ def ModuleAccounts(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ModuleAccountByName(self, request, context): - """ModuleAccountByName returns the module account info by module name""" + """ModuleAccountByName returns the module account info by module name + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Bech32Prefix(self, request, context): """Bech32Prefix queries bech32Prefix @@ -133,8 +128,8 @@ def Bech32Prefix(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AddressBytesToString(self, request, context): """AddressBytesToString converts Account Address bytes to string @@ -142,8 +137,8 @@ def AddressBytesToString(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AddressStringToBytes(self, request, context): """AddressStringToBytes converts Address string to bytes @@ -151,8 +146,8 @@ def AddressStringToBytes(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AccountInfo(self, request, context): """AccountInfo queries account info which is common to all account types. @@ -160,89 +155,89 @@ def AccountInfo(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Accounts": grpc.unary_unary_rpc_method_handler( - servicer.Accounts, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsResponse.SerializeToString, - ), - "Account": grpc.unary_unary_rpc_method_handler( - servicer.Account, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountResponse.SerializeToString, - ), - "AccountAddressByID": grpc.unary_unary_rpc_method_handler( - servicer.AccountAddressByID, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDResponse.SerializeToString, - ), - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - "ModuleAccounts": grpc.unary_unary_rpc_method_handler( - servicer.ModuleAccounts, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsResponse.SerializeToString, - ), - "ModuleAccountByName": grpc.unary_unary_rpc_method_handler( - servicer.ModuleAccountByName, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameResponse.SerializeToString, - ), - "Bech32Prefix": grpc.unary_unary_rpc_method_handler( - servicer.Bech32Prefix, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixResponse.SerializeToString, - ), - "AddressBytesToString": grpc.unary_unary_rpc_method_handler( - servicer.AddressBytesToString, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringResponse.SerializeToString, - ), - "AddressStringToBytes": grpc.unary_unary_rpc_method_handler( - servicer.AddressStringToBytes, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesResponse.SerializeToString, - ), - "AccountInfo": grpc.unary_unary_rpc_method_handler( - servicer.AccountInfo, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoRequest.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoResponse.SerializeToString, - ), + 'Accounts': grpc.unary_unary_rpc_method_handler( + servicer.Accounts, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsResponse.SerializeToString, + ), + 'Account': grpc.unary_unary_rpc_method_handler( + servicer.Account, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountResponse.SerializeToString, + ), + 'AccountAddressByID': grpc.unary_unary_rpc_method_handler( + servicer.AccountAddressByID, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDResponse.SerializeToString, + ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'ModuleAccounts': grpc.unary_unary_rpc_method_handler( + servicer.ModuleAccounts, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsResponse.SerializeToString, + ), + 'ModuleAccountByName': grpc.unary_unary_rpc_method_handler( + servicer.ModuleAccountByName, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameResponse.SerializeToString, + ), + 'Bech32Prefix': grpc.unary_unary_rpc_method_handler( + servicer.Bech32Prefix, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixResponse.SerializeToString, + ), + 'AddressBytesToString': grpc.unary_unary_rpc_method_handler( + servicer.AddressBytesToString, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringResponse.SerializeToString, + ), + 'AddressStringToBytes': grpc.unary_unary_rpc_method_handler( + servicer.AddressStringToBytes, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesResponse.SerializeToString, + ), + 'AccountInfo': grpc.unary_unary_rpc_method_handler( + servicer.AccountInfo, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoRequest.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.auth.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.auth.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.auth.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.auth.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ @staticmethod - def Accounts( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Accounts(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.auth.v1beta1.Query/Accounts", + '/cosmos.auth.v1beta1.Query/Accounts', cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountsResponse.FromString, options, @@ -253,26 +248,23 @@ def Accounts( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Account( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Account(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.auth.v1beta1.Query/Account", + '/cosmos.auth.v1beta1.Query/Account', cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountResponse.FromString, options, @@ -283,26 +275,23 @@ def Account( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def AccountAddressByID( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AccountAddressByID(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.auth.v1beta1.Query/AccountAddressByID", + '/cosmos.auth.v1beta1.Query/AccountAddressByID', cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountAddressByIDResponse.FromString, options, @@ -313,26 +302,23 @@ def AccountAddressByID( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.auth.v1beta1.Query/Params", + '/cosmos.auth.v1beta1.Query/Params', cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -343,26 +329,23 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ModuleAccounts( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ModuleAccounts(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.auth.v1beta1.Query/ModuleAccounts", + '/cosmos.auth.v1beta1.Query/ModuleAccounts', cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountsResponse.FromString, options, @@ -373,26 +356,23 @@ def ModuleAccounts( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ModuleAccountByName( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ModuleAccountByName(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.auth.v1beta1.Query/ModuleAccountByName", + '/cosmos.auth.v1beta1.Query/ModuleAccountByName', cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryModuleAccountByNameResponse.FromString, options, @@ -403,26 +383,23 @@ def ModuleAccountByName( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Bech32Prefix( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Bech32Prefix(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.auth.v1beta1.Query/Bech32Prefix", + '/cosmos.auth.v1beta1.Query/Bech32Prefix', cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.Bech32PrefixResponse.FromString, options, @@ -433,26 +410,23 @@ def Bech32Prefix( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def AddressBytesToString( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AddressBytesToString(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.auth.v1beta1.Query/AddressBytesToString", + '/cosmos.auth.v1beta1.Query/AddressBytesToString', cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressBytesToStringResponse.FromString, options, @@ -463,26 +437,23 @@ def AddressBytesToString( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def AddressStringToBytes( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AddressStringToBytes(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.auth.v1beta1.Query/AddressStringToBytes", + '/cosmos.auth.v1beta1.Query/AddressStringToBytes', cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.AddressStringToBytesResponse.FromString, options, @@ -493,26 +464,23 @@ def AddressStringToBytes( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def AccountInfo( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AccountInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.auth.v1beta1.Query/AccountInfo", + '/cosmos.auth.v1beta1.Query/AccountInfo', cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoRequest.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_query__pb2.QueryAccountInfoResponse.FromString, options, @@ -523,5 +491,4 @@ def AccountInfo( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py index f69a2367..c6c92e0a 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,32 +19,26 @@ from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1c\x63osmos/auth/v1beta1/tx.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/auth/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.auth.v1beta1.MsgUpdateParams\x1a,.cosmos.auth.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.auth.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/auth/v1beta1/tx.proto\x12\x13\x63osmos.auth.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.auth.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/auth/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.auth.v1beta1.MsgUpdateParams\x1a,.cosmos.auth.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.auth.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/auth/types\xa2\x02\x03\x43\x41X\xaa\x02\x13\x43osmos.Auth.V1beta1\xca\x02\x13\x43osmos\\Auth\\V1beta1\xe2\x02\x1f\x43osmos\\Auth\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Auth::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.auth.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.auth.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/auth/MsgUpdateParams" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGUPDATEPARAMS"]._serialized_start = 179 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 370 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 372 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 397 - _globals["_MSG"]._serialized_start = 399 - _globals["_MSG"]._serialized_end = 511 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.auth.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/auth/types\242\002\003CAX\252\002\023Cosmos.Auth.V1beta1\312\002\023Cosmos\\Auth\\V1beta1\342\002\037Cosmos\\Auth\\V1beta1\\GPBMetadata\352\002\025Cosmos::Auth::V1beta1' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/auth/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGUPDATEPARAMS']._serialized_start=179 + _globals['_MSGUPDATEPARAMS']._serialized_end=370 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=372 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=397 + _globals['_MSG']._serialized_start=399 + _globals['_MSG']._serialized_end=511 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2_grpc.py index 610f0025..4c82c564 100644 --- a/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/auth/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the x/auth Msg service.""" + """Msg defines the x/auth Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,15 +16,15 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.UpdateParams = channel.unary_unary( - "/cosmos.auth.v1beta1.Msg/UpdateParams", - request_serializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.auth.v1beta1.Msg/UpdateParams', + request_serializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the x/auth Msg service.""" + """Msg defines the x/auth Msg service. + """ def UpdateParams(self, request, context): """UpdateParams defines a (governance) operation for updating the x/auth module @@ -32,44 +33,44 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.auth.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.auth.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.auth.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.auth.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the x/auth Msg service.""" + """Msg defines the x/auth Msg service. + """ @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.auth.v1beta1.Msg/UpdateParams", + '/cosmos.auth.v1beta1.Msg/UpdateParams', cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_auth_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -80,5 +81,4 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py b/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py index 45b48917..8a638957 100644 --- a/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/authz/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#cosmos/authz/module/v1/module.proto\x12\x16\x63osmos.authz.module.v1\x1a cosmos/app/v1alpha1/module.proto"6\n\x06Module:,\xba\xc0\x96\xda\x01&\n$github.com/cosmos/cosmos-sdk/x/authzB\xa4\x01\n\x1a\x63om.cosmos.authz.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41M\xaa\x02\x16\x43osmos.Authz.Module.V1\xca\x02\x16\x43osmos\\Authz\\Module\\V1\xe2\x02"Cosmos\\Authz\\Module\\V1\\GPBMetadata\xea\x02\x19\x43osmos::Authz::Module::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/authz/module/v1/module.proto\x12\x16\x63osmos.authz.module.v1\x1a cosmos/app/v1alpha1/module.proto\"6\n\x06Module:,\xba\xc0\x96\xda\x01&\n$github.com/cosmos/cosmos-sdk/x/authzB\xa4\x01\n\x1a\x63om.cosmos.authz.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x41M\xaa\x02\x16\x43osmos.Authz.Module.V1\xca\x02\x16\x43osmos\\Authz\\Module\\V1\xe2\x02\"Cosmos\\Authz\\Module\\V1\\GPBMetadata\xea\x02\x19\x43osmos::Authz::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.authz.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\032com.cosmos.authz.module.v1B\013ModuleProtoP\001\242\002\003CAM\252\002\026Cosmos.Authz.Module.V1\312\002\026Cosmos\\Authz\\Module\\V1\342\002"Cosmos\\Authz\\Module\\V1\\GPBMetadata\352\002\031Cosmos::Authz::Module::V1' - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/authz" - _globals["_MODULE"]._serialized_start = 97 - _globals["_MODULE"]._serialized_end = 151 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.authz.module.v1B\013ModuleProtoP\001\242\002\003CAM\252\002\026Cosmos.Authz.Module.V1\312\002\026Cosmos\\Authz\\Module\\V1\342\002\"Cosmos\\Authz\\Module\\V1\\GPBMetadata\352\002\031Cosmos::Authz::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/authz' + _globals['_MODULE']._serialized_start=97 + _globals['_MODULE']._serialized_end=151 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/authz/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/authz/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/authz/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/authz/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py index 6b38b89d..8a24339f 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,44 +19,34 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n cosmos/authz/v1beta1/authz.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto"t\n\x14GenericAuthorization\x12\x10\n\x03msg\x18\x01 \x01(\tR\x03msg:J\xca\xb4-"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1f\x63osmos-sdk/GenericAuthorization"\xb1\x01\n\x05Grant\x12\x62\n\rauthorization\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-"cosmos.authz.v1beta1.AuthorizationR\rauthorization\x12\x44\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x01\x90\xdf\x1f\x01R\nexpiration"\xa2\x02\n\x12GrantAuthorization\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x62\n\rauthorization\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-"cosmos.authz.v1beta1.AuthorizationR\rauthorization\x12@\n\nexpiration\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nexpiration"4\n\x0eGrantQueueItem\x12"\n\rmsg_type_urls\x18\x01 \x03(\tR\x0bmsgTypeUrlsB\xc2\x01\n\x18\x63om.cosmos.authz.v1beta1B\nAuthzProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/authz/v1beta1/authz.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"t\n\x14GenericAuthorization\x12\x10\n\x03msg\x18\x01 \x01(\tR\x03msg:J\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1f\x63osmos-sdk/GenericAuthorization\"\xb1\x01\n\x05Grant\x12\x62\n\rauthorization\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationR\rauthorization\x12\x44\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x01\x90\xdf\x1f\x01R\nexpiration\"\xa2\x02\n\x12GrantAuthorization\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x62\n\rauthorization\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationR\rauthorization\x12@\n\nexpiration\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nexpiration\"4\n\x0eGrantQueueItem\x12\"\n\rmsg_type_urls\x18\x01 \x03(\tR\x0bmsgTypeUrlsB\xc2\x01\n\x18\x63om.cosmos.authz.v1beta1B\nAuthzProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.authz.v1beta1.authz_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.authz_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\030com.cosmos.authz.v1beta1B\nAuthzProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1\310\341\036\000" - ) - _globals["_GENERICAUTHORIZATION"]._loaded_options = None - _globals["_GENERICAUTHORIZATION"]._serialized_options = ( - b'\312\264-"cosmos.authz.v1beta1.Authorization\212\347\260*\037cosmos-sdk/GenericAuthorization' - ) - _globals["_GRANT"].fields_by_name["authorization"]._loaded_options = None - _globals["_GRANT"].fields_by_name[ - "authorization" - ]._serialized_options = b'\312\264-"cosmos.authz.v1beta1.Authorization' - _globals["_GRANT"].fields_by_name["expiration"]._loaded_options = None - _globals["_GRANT"].fields_by_name["expiration"]._serialized_options = b"\310\336\037\001\220\337\037\001" - _globals["_GRANTAUTHORIZATION"].fields_by_name["granter"]._loaded_options = None - _globals["_GRANTAUTHORIZATION"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_GRANTAUTHORIZATION"].fields_by_name["grantee"]._loaded_options = None - _globals["_GRANTAUTHORIZATION"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_GRANTAUTHORIZATION"].fields_by_name["authorization"]._loaded_options = None - _globals["_GRANTAUTHORIZATION"].fields_by_name[ - "authorization" - ]._serialized_options = b'\312\264-"cosmos.authz.v1beta1.Authorization' - _globals["_GRANTAUTHORIZATION"].fields_by_name["expiration"]._loaded_options = None - _globals["_GRANTAUTHORIZATION"].fields_by_name["expiration"]._serialized_options = b"\220\337\037\001" - _globals["_GENERICAUTHORIZATION"]._serialized_start = 186 - _globals["_GENERICAUTHORIZATION"]._serialized_end = 302 - _globals["_GRANT"]._serialized_start = 305 - _globals["_GRANT"]._serialized_end = 482 - _globals["_GRANTAUTHORIZATION"]._serialized_start = 485 - _globals["_GRANTAUTHORIZATION"]._serialized_end = 775 - _globals["_GRANTQUEUEITEM"]._serialized_start = 777 - _globals["_GRANTQUEUEITEM"]._serialized_end = 829 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\nAuthzProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1\310\341\036\000' + _globals['_GENERICAUTHORIZATION']._loaded_options = None + _globals['_GENERICAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\037cosmos-sdk/GenericAuthorization' + _globals['_GRANT'].fields_by_name['authorization']._loaded_options = None + _globals['_GRANT'].fields_by_name['authorization']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' + _globals['_GRANT'].fields_by_name['expiration']._loaded_options = None + _globals['_GRANT'].fields_by_name['expiration']._serialized_options = b'\310\336\037\001\220\337\037\001' + _globals['_GRANTAUTHORIZATION'].fields_by_name['granter']._loaded_options = None + _globals['_GRANTAUTHORIZATION'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_GRANTAUTHORIZATION'].fields_by_name['grantee']._loaded_options = None + _globals['_GRANTAUTHORIZATION'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_GRANTAUTHORIZATION'].fields_by_name['authorization']._loaded_options = None + _globals['_GRANTAUTHORIZATION'].fields_by_name['authorization']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' + _globals['_GRANTAUTHORIZATION'].fields_by_name['expiration']._loaded_options = None + _globals['_GRANTAUTHORIZATION'].fields_by_name['expiration']._serialized_options = b'\220\337\037\001' + _globals['_GENERICAUTHORIZATION']._serialized_start=186 + _globals['_GENERICAUTHORIZATION']._serialized_end=302 + _globals['_GRANT']._serialized_start=305 + _globals['_GRANT']._serialized_end=482 + _globals['_GRANTAUTHORIZATION']._serialized_start=485 + _globals['_GRANTAUTHORIZATION']._serialized_end=775 + _globals['_GRANTQUEUEITEM']._serialized_start=777 + _globals['_GRANTQUEUEITEM']._serialized_end=829 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2_grpc.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/authz_pb2_grpc.py @@ -1,3 +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/cosmos/authz/v1beta1/event_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py index e970628f..7034cc15 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,28 +15,24 @@ from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n cosmos/authz/v1beta1/event.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto"\x96\x01\n\nEventGrant\x12 \n\x0cmsg_type_url\x18\x02 \x01(\tR\nmsgTypeUrl\x12\x32\n\x07granter\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee"\x97\x01\n\x0b\x45ventRevoke\x12 \n\x0cmsg_type_url\x18\x02 \x01(\tR\nmsgTypeUrl\x12\x32\n\x07granter\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granteeB\xbe\x01\n\x18\x63om.cosmos.authz.v1beta1B\nEventProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/authz/v1beta1/event.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\"\x96\x01\n\nEventGrant\x12 \n\x0cmsg_type_url\x18\x02 \x01(\tR\nmsgTypeUrl\x12\x32\n\x07granter\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\"\x97\x01\n\x0b\x45ventRevoke\x12 \n\x0cmsg_type_url\x18\x02 \x01(\tR\nmsgTypeUrl\x12\x32\n\x07granter\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granteeB\xbe\x01\n\x18\x63om.cosmos.authz.v1beta1B\nEventProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.authz.v1beta1.event_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.event_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\030com.cosmos.authz.v1beta1B\nEventProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1" - ) - _globals["_EVENTGRANT"].fields_by_name["granter"]._loaded_options = None - _globals["_EVENTGRANT"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_EVENTGRANT"].fields_by_name["grantee"]._loaded_options = None - _globals["_EVENTGRANT"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_EVENTREVOKE"].fields_by_name["granter"]._loaded_options = None - _globals["_EVENTREVOKE"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_EVENTREVOKE"].fields_by_name["grantee"]._loaded_options = None - _globals["_EVENTREVOKE"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_EVENTGRANT"]._serialized_start = 86 - _globals["_EVENTGRANT"]._serialized_end = 236 - _globals["_EVENTREVOKE"]._serialized_start = 239 - _globals["_EVENTREVOKE"]._serialized_end = 390 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\nEventProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1' + _globals['_EVENTGRANT'].fields_by_name['granter']._loaded_options = None + _globals['_EVENTGRANT'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EVENTGRANT'].fields_by_name['grantee']._loaded_options = None + _globals['_EVENTGRANT'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EVENTREVOKE'].fields_by_name['granter']._loaded_options = None + _globals['_EVENTREVOKE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EVENTREVOKE'].fields_by_name['grantee']._loaded_options = None + _globals['_EVENTREVOKE'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EVENTGRANT']._serialized_start=86 + _globals['_EVENTGRANT']._serialized_end=236 + _globals['_EVENTREVOKE']._serialized_start=239 + _globals['_EVENTREVOKE']._serialized_end=390 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/event_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/event_pb2_grpc.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/event_pb2_grpc.py @@ -1,3 +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/cosmos/authz/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py index 8487dd2a..e287132a 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,20 +17,16 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n"cosmos/authz/v1beta1/genesis.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x14gogoproto/gogo.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x11\x61mino/amino.proto"i\n\x0cGenesisState\x12Y\n\rauthorization\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rauthorizationB\xc0\x01\n\x18\x63om.cosmos.authz.v1beta1B\x0cGenesisProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/authz/v1beta1/genesis.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x14gogoproto/gogo.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x11\x61mino/amino.proto\"i\n\x0cGenesisState\x12Y\n\rauthorization\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rauthorizationB\xc0\x01\n\x18\x63om.cosmos.authz.v1beta1B\x0cGenesisProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.authz.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\030com.cosmos.authz.v1beta1B\014GenesisProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1" - ) - _globals["_GENESISSTATE"].fields_by_name["authorization"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["authorization"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"]._serialized_start = 135 - _globals["_GENESISSTATE"]._serialized_end = 240 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\014GenesisProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['authorization']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['authorization']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE']._serialized_start=135 + _globals['_GENESISSTATE']._serialized_end=240 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/genesis_pb2_grpc.py @@ -1,3 +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/cosmos/authz/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py index 03864cb2..50596cb8 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2.py @@ -7,68 +7,51 @@ 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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.cosmos.authz.v1beta1 import authz_pb2 as cosmos_dot_authz_dot_v1beta1_dot_authz__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n cosmos/authz/v1beta1/query.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x19\x63osmos_proto/cosmos.proto"\xe6\x01\n\x12QueryGrantsRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12 \n\x0cmsg_type_url\x18\x03 \x01(\tR\nmsgTypeUrl\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x93\x01\n\x13QueryGrantsResponse\x12\x33\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x97\x01\n\x19QueryGranterGrantsRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xa7\x01\n\x1aQueryGranterGrantsResponse\x12@\n\x06grants\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x97\x01\n\x19QueryGranteeGrantsRequest\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xa7\x01\n\x1aQueryGranteeGrantsResponse\x12@\n\x06grants\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xe7\x03\n\x05Query\x12\x83\x01\n\x06Grants\x12(.cosmos.authz.v1beta1.QueryGrantsRequest\x1a).cosmos.authz.v1beta1.QueryGrantsResponse"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/cosmos/authz/v1beta1/grants\x12\xaa\x01\n\rGranterGrants\x12/.cosmos.authz.v1beta1.QueryGranterGrantsRequest\x1a\x30.cosmos.authz.v1beta1.QueryGranterGrantsResponse"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/authz/v1beta1/grants/granter/{granter}\x12\xaa\x01\n\rGranteeGrants\x12/.cosmos.authz.v1beta1.QueryGranteeGrantsRequest\x1a\x30.cosmos.authz.v1beta1.QueryGranteeGrantsResponse"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/authz/v1beta1/grants/grantee/{grantee}B\xbe\x01\n\x18\x63om.cosmos.authz.v1beta1B\nQueryProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/authz/v1beta1/query.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xe6\x01\n\x12QueryGrantsRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12 \n\x0cmsg_type_url\x18\x03 \x01(\tR\nmsgTypeUrl\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x93\x01\n\x13QueryGrantsResponse\x12\x33\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x97\x01\n\x19QueryGranterGrantsRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa7\x01\n\x1aQueryGranterGrantsResponse\x12@\n\x06grants\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x97\x01\n\x19QueryGranteeGrantsRequest\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa7\x01\n\x1aQueryGranteeGrantsResponse\x12@\n\x06grants\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationR\x06grants\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xe7\x03\n\x05Query\x12\x83\x01\n\x06Grants\x12(.cosmos.authz.v1beta1.QueryGrantsRequest\x1a).cosmos.authz.v1beta1.QueryGrantsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/cosmos/authz/v1beta1/grants\x12\xaa\x01\n\rGranterGrants\x12/.cosmos.authz.v1beta1.QueryGranterGrantsRequest\x1a\x30.cosmos.authz.v1beta1.QueryGranterGrantsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/authz/v1beta1/grants/granter/{granter}\x12\xaa\x01\n\rGranteeGrants\x12/.cosmos.authz.v1beta1.QueryGranteeGrantsRequest\x1a\x30.cosmos.authz.v1beta1.QueryGranteeGrantsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/authz/v1beta1/grants/grantee/{grantee}B\xbe\x01\n\x18\x63om.cosmos.authz.v1beta1B\nQueryProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.authz.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\030com.cosmos.authz.v1beta1B\nQueryProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1" - ) - _globals["_QUERYGRANTSREQUEST"].fields_by_name["granter"]._loaded_options = None - _globals["_QUERYGRANTSREQUEST"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYGRANTSREQUEST"].fields_by_name["grantee"]._loaded_options = None - _globals["_QUERYGRANTSREQUEST"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYGRANTERGRANTSREQUEST"].fields_by_name["granter"]._loaded_options = None - _globals["_QUERYGRANTERGRANTSREQUEST"].fields_by_name[ - "granter" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYGRANTEEGRANTSREQUEST"].fields_by_name["grantee"]._loaded_options = None - _globals["_QUERYGRANTEEGRANTSREQUEST"].fields_by_name[ - "grantee" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERY"].methods_by_name["Grants"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Grants" - ]._serialized_options = b"\202\323\344\223\002\036\022\034/cosmos/authz/v1beta1/grants" - _globals["_QUERY"].methods_by_name["GranterGrants"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "GranterGrants" - ]._serialized_options = b"\202\323\344\223\0020\022./cosmos/authz/v1beta1/grants/granter/{granter}" - _globals["_QUERY"].methods_by_name["GranteeGrants"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "GranteeGrants" - ]._serialized_options = b"\202\323\344\223\0020\022./cosmos/authz/v1beta1/grants/grantee/{grantee}" - _globals["_QUERYGRANTSREQUEST"]._serialized_start = 194 - _globals["_QUERYGRANTSREQUEST"]._serialized_end = 424 - _globals["_QUERYGRANTSRESPONSE"]._serialized_start = 427 - _globals["_QUERYGRANTSRESPONSE"]._serialized_end = 574 - _globals["_QUERYGRANTERGRANTSREQUEST"]._serialized_start = 577 - _globals["_QUERYGRANTERGRANTSREQUEST"]._serialized_end = 728 - _globals["_QUERYGRANTERGRANTSRESPONSE"]._serialized_start = 731 - _globals["_QUERYGRANTERGRANTSRESPONSE"]._serialized_end = 898 - _globals["_QUERYGRANTEEGRANTSREQUEST"]._serialized_start = 901 - _globals["_QUERYGRANTEEGRANTSREQUEST"]._serialized_end = 1052 - _globals["_QUERYGRANTEEGRANTSRESPONSE"]._serialized_start = 1055 - _globals["_QUERYGRANTEEGRANTSRESPONSE"]._serialized_end = 1222 - _globals["_QUERY"]._serialized_start = 1225 - _globals["_QUERY"]._serialized_end = 1712 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\nQueryProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1' + _globals['_QUERYGRANTSREQUEST'].fields_by_name['granter']._loaded_options = None + _globals['_QUERYGRANTSREQUEST'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYGRANTSREQUEST'].fields_by_name['grantee']._loaded_options = None + _globals['_QUERYGRANTSREQUEST'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYGRANTERGRANTSREQUEST'].fields_by_name['granter']._loaded_options = None + _globals['_QUERYGRANTERGRANTSREQUEST'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYGRANTEEGRANTSREQUEST'].fields_by_name['grantee']._loaded_options = None + _globals['_QUERYGRANTEEGRANTSREQUEST'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERY'].methods_by_name['Grants']._loaded_options = None + _globals['_QUERY'].methods_by_name['Grants']._serialized_options = b'\202\323\344\223\002\036\022\034/cosmos/authz/v1beta1/grants' + _globals['_QUERY'].methods_by_name['GranterGrants']._loaded_options = None + _globals['_QUERY'].methods_by_name['GranterGrants']._serialized_options = b'\202\323\344\223\0020\022./cosmos/authz/v1beta1/grants/granter/{granter}' + _globals['_QUERY'].methods_by_name['GranteeGrants']._loaded_options = None + _globals['_QUERY'].methods_by_name['GranteeGrants']._serialized_options = b'\202\323\344\223\0020\022./cosmos/authz/v1beta1/grants/grantee/{grantee}' + _globals['_QUERYGRANTSREQUEST']._serialized_start=194 + _globals['_QUERYGRANTSREQUEST']._serialized_end=424 + _globals['_QUERYGRANTSRESPONSE']._serialized_start=427 + _globals['_QUERYGRANTSRESPONSE']._serialized_end=574 + _globals['_QUERYGRANTERGRANTSREQUEST']._serialized_start=577 + _globals['_QUERYGRANTERGRANTSREQUEST']._serialized_end=728 + _globals['_QUERYGRANTERGRANTSRESPONSE']._serialized_start=731 + _globals['_QUERYGRANTERGRANTSRESPONSE']._serialized_end=898 + _globals['_QUERYGRANTEEGRANTSREQUEST']._serialized_start=901 + _globals['_QUERYGRANTEEGRANTSREQUEST']._serialized_end=1052 + _globals['_QUERYGRANTEEGRANTSRESPONSE']._serialized_start=1055 + _globals['_QUERYGRANTEEGRANTSRESPONSE']._serialized_end=1222 + _globals['_QUERY']._serialized_start=1225 + _globals['_QUERY']._serialized_end=1712 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2_grpc.py index b9a5c880..e75edd23 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -15,33 +16,32 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Grants = channel.unary_unary( - "/cosmos.authz.v1beta1.Query/Grants", - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsRequest.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsResponse.FromString, - _registered_method=True, - ) + '/cosmos.authz.v1beta1.Query/Grants', + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsRequest.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsResponse.FromString, + _registered_method=True) self.GranterGrants = channel.unary_unary( - "/cosmos.authz.v1beta1.Query/GranterGrants", - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsRequest.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsResponse.FromString, - _registered_method=True, - ) + '/cosmos.authz.v1beta1.Query/GranterGrants', + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsRequest.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsResponse.FromString, + _registered_method=True) self.GranteeGrants = channel.unary_unary( - "/cosmos.authz.v1beta1.Query/GranteeGrants", - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsRequest.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsResponse.FromString, - _registered_method=True, - ) + '/cosmos.authz.v1beta1.Query/GranteeGrants', + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsRequest.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def Grants(self, request, context): - """Returns list of `Authorization`, granted to the grantee by the granter.""" + """Returns list of `Authorization`, granted to the grantee by the granter. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GranterGrants(self, request, context): """GranterGrants returns list of `GrantAuthorization`, granted by granter. @@ -49,8 +49,8 @@ def GranterGrants(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GranteeGrants(self, request, context): """GranteeGrants returns a list of `GrantAuthorization` by grantee. @@ -58,54 +58,54 @@ def GranteeGrants(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Grants": grpc.unary_unary_rpc_method_handler( - servicer.Grants, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsRequest.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsResponse.SerializeToString, - ), - "GranterGrants": grpc.unary_unary_rpc_method_handler( - servicer.GranterGrants, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsRequest.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsResponse.SerializeToString, - ), - "GranteeGrants": grpc.unary_unary_rpc_method_handler( - servicer.GranteeGrants, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsRequest.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsResponse.SerializeToString, - ), + 'Grants': grpc.unary_unary_rpc_method_handler( + servicer.Grants, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsRequest.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsResponse.SerializeToString, + ), + 'GranterGrants': grpc.unary_unary_rpc_method_handler( + servicer.GranterGrants, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsRequest.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsResponse.SerializeToString, + ), + 'GranteeGrants': grpc.unary_unary_rpc_method_handler( + servicer.GranteeGrants, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsRequest.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.authz.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.authz.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.authz.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.authz.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ @staticmethod - def Grants( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Grants(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.authz.v1beta1.Query/Grants", + '/cosmos.authz.v1beta1.Query/Grants', cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsRequest.SerializeToString, cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGrantsResponse.FromString, options, @@ -116,26 +116,23 @@ def Grants( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GranterGrants( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GranterGrants(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.authz.v1beta1.Query/GranterGrants", + '/cosmos.authz.v1beta1.Query/GranterGrants', cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsRequest.SerializeToString, cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranterGrantsResponse.FromString, options, @@ -146,26 +143,23 @@ def GranterGrants( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GranteeGrants( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GranteeGrants(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.authz.v1beta1.Query/GranteeGrants", + '/cosmos.authz.v1beta1.Query/GranteeGrants', cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsRequest.SerializeToString, cosmos_dot_authz_dot_v1beta1_dot_query__pb2.QueryGranteeGrantsResponse.FromString, options, @@ -176,5 +170,4 @@ def GranteeGrants( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py index 72c0d37b..b9448c92 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -21,60 +20,56 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1d\x63osmos/authz/v1beta1/tx.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xd6\x01\n\x08MsgGrant\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12<\n\x05grant\x18\x03 \x01(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05grant:$\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x13\x63osmos-sdk/MsgGrant"\x12\n\x10MsgGrantResponse"\xa9\x01\n\x07MsgExec\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x45\n\x04msgs\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x1b\xca\xb4-\x17\x63osmos.base.v1beta1.MsgR\x04msgs:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec"+\n\x0fMsgExecResponse\x12\x18\n\x07results\x18\x01 \x03(\x0cR\x07results"\xbc\x01\n\tMsgRevoke\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12 \n\x0cmsg_type_url\x18\x03 \x01(\tR\nmsgTypeUrl:%\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgRevoke"\x13\n\x11MsgRevokeResponse"1\n\x15MsgExecCompatResponse\x12\x18\n\x07results\x18\x01 \x03(\x0cR\x07results"|\n\rMsgExecCompat\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x12\n\x04msgs\x18\x02 \x03(\tR\x04msgs:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec2\xdf\x02\n\x03Msg\x12O\n\x05Grant\x12\x1e.cosmos.authz.v1beta1.MsgGrant\x1a&.cosmos.authz.v1beta1.MsgGrantResponse\x12L\n\x04\x45xec\x12\x1d.cosmos.authz.v1beta1.MsgExec\x1a%.cosmos.authz.v1beta1.MsgExecResponse\x12R\n\x06Revoke\x12\x1f.cosmos.authz.v1beta1.MsgRevoke\x1a\'.cosmos.authz.v1beta1.MsgRevokeResponse\x12^\n\nExecCompat\x12#.cosmos.authz.v1beta1.MsgExecCompat\x1a+.cosmos.authz.v1beta1.MsgExecCompatResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbf\x01\n\x18\x63om.cosmos.authz.v1beta1B\x07TxProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/authz/v1beta1/tx.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xd6\x01\n\x08MsgGrant\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12<\n\x05grant\x18\x03 \x01(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05grant:$\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x13\x63osmos-sdk/MsgGrant\"\x12\n\x10MsgGrantResponse\"\xa9\x01\n\x07MsgExec\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x45\n\x04msgs\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x1b\xca\xb4-\x17\x63osmos.base.v1beta1.MsgR\x04msgs:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec\"+\n\x0fMsgExecResponse\x12\x18\n\x07results\x18\x01 \x03(\x0cR\x07results\"\xbc\x01\n\tMsgRevoke\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12 \n\x0cmsg_type_url\x18\x03 \x01(\tR\nmsgTypeUrl:%\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgRevoke\"\x13\n\x11MsgRevokeResponse\"1\n\x15MsgExecCompatResponse\x12\x18\n\x07results\x18\x01 \x03(\x0cR\x07results\"|\n\rMsgExecCompat\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x12\n\x04msgs\x18\x02 \x03(\tR\x04msgs:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec2\xdf\x02\n\x03Msg\x12O\n\x05Grant\x12\x1e.cosmos.authz.v1beta1.MsgGrant\x1a&.cosmos.authz.v1beta1.MsgGrantResponse\x12L\n\x04\x45xec\x12\x1d.cosmos.authz.v1beta1.MsgExec\x1a%.cosmos.authz.v1beta1.MsgExecResponse\x12R\n\x06Revoke\x12\x1f.cosmos.authz.v1beta1.MsgRevoke\x1a\'.cosmos.authz.v1beta1.MsgRevokeResponse\x12^\n\nExecCompat\x12#.cosmos.authz.v1beta1.MsgExecCompat\x1a+.cosmos.authz.v1beta1.MsgExecCompatResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbf\x01\n\x18\x63om.cosmos.authz.v1beta1B\x07TxProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/authz\xa2\x02\x03\x43\x41X\xaa\x02\x14\x43osmos.Authz.V1beta1\xca\x02\x14\x43osmos\\Authz\\V1beta1\xe2\x02 Cosmos\\Authz\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Authz::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.authz.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\030com.cosmos.authz.v1beta1B\007TxProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1\310\341\036\000" - ) - _globals["_MSGGRANT"].fields_by_name["granter"]._loaded_options = None - _globals["_MSGGRANT"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGGRANT"].fields_by_name["grantee"]._loaded_options = None - _globals["_MSGGRANT"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGGRANT"].fields_by_name["grant"]._loaded_options = None - _globals["_MSGGRANT"].fields_by_name["grant"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGGRANT"]._loaded_options = None - _globals["_MSGGRANT"]._serialized_options = b"\202\347\260*\007granter\212\347\260*\023cosmos-sdk/MsgGrant" - _globals["_MSGEXEC"].fields_by_name["grantee"]._loaded_options = None - _globals["_MSGEXEC"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGEXEC"].fields_by_name["msgs"]._loaded_options = None - _globals["_MSGEXEC"].fields_by_name["msgs"]._serialized_options = b"\312\264-\027cosmos.base.v1beta1.Msg" - _globals["_MSGEXEC"]._loaded_options = None - _globals["_MSGEXEC"]._serialized_options = b"\202\347\260*\007grantee\212\347\260*\022cosmos-sdk/MsgExec" - _globals["_MSGREVOKE"].fields_by_name["granter"]._loaded_options = None - _globals["_MSGREVOKE"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGREVOKE"].fields_by_name["grantee"]._loaded_options = None - _globals["_MSGREVOKE"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGREVOKE"]._loaded_options = None - _globals["_MSGREVOKE"]._serialized_options = b"\202\347\260*\007granter\212\347\260*\024cosmos-sdk/MsgRevoke" - _globals["_MSGEXECCOMPAT"].fields_by_name["grantee"]._loaded_options = None - _globals["_MSGEXECCOMPAT"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGEXECCOMPAT"]._loaded_options = None - _globals["_MSGEXECCOMPAT"]._serialized_options = b"\202\347\260*\007grantee\212\347\260*\022cosmos-sdk/MsgExec" - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGGRANT"]._serialized_start = 210 - _globals["_MSGGRANT"]._serialized_end = 424 - _globals["_MSGGRANTRESPONSE"]._serialized_start = 426 - _globals["_MSGGRANTRESPONSE"]._serialized_end = 444 - _globals["_MSGEXEC"]._serialized_start = 447 - _globals["_MSGEXEC"]._serialized_end = 616 - _globals["_MSGEXECRESPONSE"]._serialized_start = 618 - _globals["_MSGEXECRESPONSE"]._serialized_end = 661 - _globals["_MSGREVOKE"]._serialized_start = 664 - _globals["_MSGREVOKE"]._serialized_end = 852 - _globals["_MSGREVOKERESPONSE"]._serialized_start = 854 - _globals["_MSGREVOKERESPONSE"]._serialized_end = 873 - _globals["_MSGEXECCOMPATRESPONSE"]._serialized_start = 875 - _globals["_MSGEXECCOMPATRESPONSE"]._serialized_end = 924 - _globals["_MSGEXECCOMPAT"]._serialized_start = 926 - _globals["_MSGEXECCOMPAT"]._serialized_end = 1050 - _globals["_MSG"]._serialized_start = 1053 - _globals["_MSG"]._serialized_end = 1404 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.authz.v1beta1B\007TxProtoP\001Z$github.com/cosmos/cosmos-sdk/x/authz\242\002\003CAX\252\002\024Cosmos.Authz.V1beta1\312\002\024Cosmos\\Authz\\V1beta1\342\002 Cosmos\\Authz\\V1beta1\\GPBMetadata\352\002\026Cosmos::Authz::V1beta1\310\341\036\000' + _globals['_MSGGRANT'].fields_by_name['granter']._loaded_options = None + _globals['_MSGGRANT'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGGRANT'].fields_by_name['grantee']._loaded_options = None + _globals['_MSGGRANT'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGGRANT'].fields_by_name['grant']._loaded_options = None + _globals['_MSGGRANT'].fields_by_name['grant']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGGRANT']._loaded_options = None + _globals['_MSGGRANT']._serialized_options = b'\202\347\260*\007granter\212\347\260*\023cosmos-sdk/MsgGrant' + _globals['_MSGEXEC'].fields_by_name['grantee']._loaded_options = None + _globals['_MSGEXEC'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGEXEC'].fields_by_name['msgs']._loaded_options = None + _globals['_MSGEXEC'].fields_by_name['msgs']._serialized_options = b'\312\264-\027cosmos.base.v1beta1.Msg' + _globals['_MSGEXEC']._loaded_options = None + _globals['_MSGEXEC']._serialized_options = b'\202\347\260*\007grantee\212\347\260*\022cosmos-sdk/MsgExec' + _globals['_MSGREVOKE'].fields_by_name['granter']._loaded_options = None + _globals['_MSGREVOKE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGREVOKE'].fields_by_name['grantee']._loaded_options = None + _globals['_MSGREVOKE'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGREVOKE']._loaded_options = None + _globals['_MSGREVOKE']._serialized_options = b'\202\347\260*\007granter\212\347\260*\024cosmos-sdk/MsgRevoke' + _globals['_MSGEXECCOMPAT'].fields_by_name['grantee']._loaded_options = None + _globals['_MSGEXECCOMPAT'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGEXECCOMPAT']._loaded_options = None + _globals['_MSGEXECCOMPAT']._serialized_options = b'\202\347\260*\007grantee\212\347\260*\022cosmos-sdk/MsgExec' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGGRANT']._serialized_start=210 + _globals['_MSGGRANT']._serialized_end=424 + _globals['_MSGGRANTRESPONSE']._serialized_start=426 + _globals['_MSGGRANTRESPONSE']._serialized_end=444 + _globals['_MSGEXEC']._serialized_start=447 + _globals['_MSGEXEC']._serialized_end=616 + _globals['_MSGEXECRESPONSE']._serialized_start=618 + _globals['_MSGEXECRESPONSE']._serialized_end=661 + _globals['_MSGREVOKE']._serialized_start=664 + _globals['_MSGREVOKE']._serialized_end=852 + _globals['_MSGREVOKERESPONSE']._serialized_start=854 + _globals['_MSGREVOKERESPONSE']._serialized_end=873 + _globals['_MSGEXECCOMPATRESPONSE']._serialized_start=875 + _globals['_MSGEXECCOMPATRESPONSE']._serialized_end=924 + _globals['_MSGEXECCOMPAT']._serialized_start=926 + _globals['_MSGEXECCOMPAT']._serialized_end=1050 + _globals['_MSG']._serialized_start=1053 + _globals['_MSG']._serialized_end=1404 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py index 572b674f..2a2458a1 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the authz Msg service.""" + """Msg defines the authz Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,33 +16,30 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Grant = channel.unary_unary( - "/cosmos.authz.v1beta1.Msg/Grant", - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrant.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrantResponse.FromString, - _registered_method=True, - ) + '/cosmos.authz.v1beta1.Msg/Grant', + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrant.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrantResponse.FromString, + _registered_method=True) self.Exec = channel.unary_unary( - "/cosmos.authz.v1beta1.Msg/Exec", - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExec.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecResponse.FromString, - _registered_method=True, - ) + '/cosmos.authz.v1beta1.Msg/Exec', + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExec.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecResponse.FromString, + _registered_method=True) self.Revoke = channel.unary_unary( - "/cosmos.authz.v1beta1.Msg/Revoke", - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.FromString, - _registered_method=True, - ) + '/cosmos.authz.v1beta1.Msg/Revoke', + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.FromString, + _registered_method=True) self.ExecCompat = channel.unary_unary( - "/cosmos.authz.v1beta1.Msg/ExecCompat", - request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.SerializeToString, - response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.FromString, - _registered_method=True, - ) + '/cosmos.authz.v1beta1.Msg/ExecCompat', + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the authz Msg service.""" + """Msg defines the authz Msg service. + """ def Grant(self, request, context): """Grant grants the provided authorization to the grantee on the granter's @@ -50,8 +48,8 @@ def Grant(self, request, context): will be overwritten. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Exec(self, request, context): """Exec attempts to execute the provided messages using @@ -59,73 +57,74 @@ def Exec(self, request, context): one signer corresponding to the granter of the authorization. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Revoke(self, request, context): """Revoke revokes any authorization corresponding to the provided method name on the granter's account that has been granted to the grantee. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ExecCompat(self, request, context): - """ExecCompat has same functionality as Exec but accepts array of json-encoded message string instead of []*Any""" + """ExecCompat has same functionality as Exec but accepts array of json-encoded message string instead of []*Any + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "Grant": grpc.unary_unary_rpc_method_handler( - servicer.Grant, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrant.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrantResponse.SerializeToString, - ), - "Exec": grpc.unary_unary_rpc_method_handler( - servicer.Exec, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExec.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecResponse.SerializeToString, - ), - "Revoke": grpc.unary_unary_rpc_method_handler( - servicer.Revoke, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.SerializeToString, - ), - "ExecCompat": grpc.unary_unary_rpc_method_handler( - servicer.ExecCompat, - request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.FromString, - response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.SerializeToString, - ), + 'Grant': grpc.unary_unary_rpc_method_handler( + servicer.Grant, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrant.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrantResponse.SerializeToString, + ), + 'Exec': grpc.unary_unary_rpc_method_handler( + servicer.Exec, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExec.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecResponse.SerializeToString, + ), + 'Revoke': grpc.unary_unary_rpc_method_handler( + servicer.Revoke, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.SerializeToString, + ), + 'ExecCompat': grpc.unary_unary_rpc_method_handler( + servicer.ExecCompat, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.authz.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.authz.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.authz.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.authz.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the authz Msg service.""" + """Msg defines the authz Msg service. + """ @staticmethod - def Grant( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Grant(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.authz.v1beta1.Msg/Grant", + '/cosmos.authz.v1beta1.Msg/Grant', cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrant.SerializeToString, cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgGrantResponse.FromString, options, @@ -136,26 +135,23 @@ def Grant( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Exec( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Exec(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.authz.v1beta1.Msg/Exec", + '/cosmos.authz.v1beta1.Msg/Exec', cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExec.SerializeToString, cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecResponse.FromString, options, @@ -166,26 +162,23 @@ def Exec( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Revoke( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Revoke(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.authz.v1beta1.Msg/Revoke", + '/cosmos.authz.v1beta1.Msg/Revoke', cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.SerializeToString, cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.FromString, options, @@ -196,26 +189,23 @@ def Revoke( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ExecCompat( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ExecCompat(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.authz.v1beta1.Msg/ExecCompat", + '/cosmos.authz.v1beta1.Msg/ExecCompat', cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.SerializeToString, cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.FromString, options, @@ -226,5 +216,4 @@ def ExecCompat( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/autocli/v1/options_pb2.py b/pyinjective/proto/cosmos/autocli/v1/options_pb2.py index 49654c30..aa7f36c8 100644 --- a/pyinjective/proto/cosmos/autocli/v1/options_pb2.py +++ b/pyinjective/proto/cosmos/autocli/v1/options_pb2.py @@ -7,40 +7,37 @@ 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\x1f\x63osmos/autocli/v1/options.proto\x12\x11\x63osmos.autocli.v1"\x8f\x01\n\rModuleOptions\x12;\n\x02tx\x18\x01 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x02tx\x12\x41\n\x05query\x18\x02 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x05query"\xd8\x02\n\x18ServiceCommandDescriptor\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12T\n\x13rpc_command_options\x18\x02 \x03(\x0b\x32$.cosmos.autocli.v1.RpcCommandOptionsR\x11rpcCommandOptions\x12_\n\x0csub_commands\x18\x03 \x03(\x0b\x32<.cosmos.autocli.v1.ServiceCommandDescriptor.SubCommandsEntryR\x0bsubCommands\x1ak\n\x10SubCommandsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x05value:\x02\x38\x01"\x9c\x04\n\x11RpcCommandOptions\x12\x1d\n\nrpc_method\x18\x01 \x01(\tR\trpcMethod\x12\x10\n\x03use\x18\x02 \x01(\tR\x03use\x12\x12\n\x04long\x18\x03 \x01(\tR\x04long\x12\x14\n\x05short\x18\x04 \x01(\tR\x05short\x12\x18\n\x07\x65xample\x18\x05 \x01(\tR\x07\x65xample\x12\x14\n\x05\x61lias\x18\x06 \x03(\tR\x05\x61lias\x12\x1f\n\x0bsuggest_for\x18\x07 \x03(\tR\nsuggestFor\x12\x1e\n\ndeprecated\x18\x08 \x01(\tR\ndeprecated\x12\x18\n\x07version\x18\t \x01(\tR\x07version\x12X\n\x0c\x66lag_options\x18\n \x03(\x0b\x32\x35.cosmos.autocli.v1.RpcCommandOptions.FlagOptionsEntryR\x0b\x66lagOptions\x12S\n\x0fpositional_args\x18\x0b \x03(\x0b\x32*.cosmos.autocli.v1.PositionalArgDescriptorR\x0epositionalArgs\x12\x12\n\x04skip\x18\x0c \x01(\x08R\x04skip\x1a^\n\x10\x46lagOptionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32\x1e.cosmos.autocli.v1.FlagOptionsR\x05value:\x02\x38\x01"\xe5\x01\n\x0b\x46lagOptions\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n\tshorthand\x18\x02 \x01(\tR\tshorthand\x12\x14\n\x05usage\x18\x03 \x01(\tR\x05usage\x12#\n\rdefault_value\x18\x04 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x12\x1e\n\ndeprecated\x18\x06 \x01(\tR\ndeprecated\x12\x31\n\x14shorthand_deprecated\x18\x07 \x01(\tR\x13shorthandDeprecated\x12\x16\n\x06hidden\x18\x08 \x01(\x08R\x06hidden"T\n\x17PositionalArgDescriptor\x12\x1f\n\x0bproto_field\x18\x01 \x01(\tR\nprotoField\x12\x18\n\x07varargs\x18\x02 \x01(\x08R\x07varargsB\xb6\x01\n\x15\x63om.cosmos.autocli.v1B\x0cOptionsProtoP\x01Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\xa2\x02\x03\x43\x41X\xaa\x02\x11\x43osmos.Autocli.V1\xca\x02\x11\x43osmos\\Autocli\\V1\xe2\x02\x1d\x43osmos\\Autocli\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Autocli::V1b\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/autocli/v1/options.proto\x12\x11\x63osmos.autocli.v1\"\x8f\x01\n\rModuleOptions\x12;\n\x02tx\x18\x01 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x02tx\x12\x41\n\x05query\x18\x02 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x05query\"\xd8\x02\n\x18ServiceCommandDescriptor\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12T\n\x13rpc_command_options\x18\x02 \x03(\x0b\x32$.cosmos.autocli.v1.RpcCommandOptionsR\x11rpcCommandOptions\x12_\n\x0csub_commands\x18\x03 \x03(\x0b\x32<.cosmos.autocli.v1.ServiceCommandDescriptor.SubCommandsEntryR\x0bsubCommands\x1ak\n\x10SubCommandsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32+.cosmos.autocli.v1.ServiceCommandDescriptorR\x05value:\x02\x38\x01\"\x9c\x04\n\x11RpcCommandOptions\x12\x1d\n\nrpc_method\x18\x01 \x01(\tR\trpcMethod\x12\x10\n\x03use\x18\x02 \x01(\tR\x03use\x12\x12\n\x04long\x18\x03 \x01(\tR\x04long\x12\x14\n\x05short\x18\x04 \x01(\tR\x05short\x12\x18\n\x07\x65xample\x18\x05 \x01(\tR\x07\x65xample\x12\x14\n\x05\x61lias\x18\x06 \x03(\tR\x05\x61lias\x12\x1f\n\x0bsuggest_for\x18\x07 \x03(\tR\nsuggestFor\x12\x1e\n\ndeprecated\x18\x08 \x01(\tR\ndeprecated\x12\x18\n\x07version\x18\t \x01(\tR\x07version\x12X\n\x0c\x66lag_options\x18\n \x03(\x0b\x32\x35.cosmos.autocli.v1.RpcCommandOptions.FlagOptionsEntryR\x0b\x66lagOptions\x12S\n\x0fpositional_args\x18\x0b \x03(\x0b\x32*.cosmos.autocli.v1.PositionalArgDescriptorR\x0epositionalArgs\x12\x12\n\x04skip\x18\x0c \x01(\x08R\x04skip\x1a^\n\x10\x46lagOptionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32\x1e.cosmos.autocli.v1.FlagOptionsR\x05value:\x02\x38\x01\"\xe5\x01\n\x0b\x46lagOptions\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n\tshorthand\x18\x02 \x01(\tR\tshorthand\x12\x14\n\x05usage\x18\x03 \x01(\tR\x05usage\x12#\n\rdefault_value\x18\x04 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x12\x1e\n\ndeprecated\x18\x06 \x01(\tR\ndeprecated\x12\x31\n\x14shorthand_deprecated\x18\x07 \x01(\tR\x13shorthandDeprecated\x12\x16\n\x06hidden\x18\x08 \x01(\x08R\x06hidden\"T\n\x17PositionalArgDescriptor\x12\x1f\n\x0bproto_field\x18\x01 \x01(\tR\nprotoField\x12\x18\n\x07varargs\x18\x02 \x01(\x08R\x07varargsB\xb6\x01\n\x15\x63om.cosmos.autocli.v1B\x0cOptionsProtoP\x01Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\xa2\x02\x03\x43\x41X\xaa\x02\x11\x43osmos.Autocli.V1\xca\x02\x11\x43osmos\\Autocli\\V1\xe2\x02\x1d\x43osmos\\Autocli\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Autocli::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.autocli.v1.options_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.autocli.v1.options_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\025com.cosmos.autocli.v1B\014OptionsProtoP\001Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\242\002\003CAX\252\002\021Cosmos.Autocli.V1\312\002\021Cosmos\\Autocli\\V1\342\002\035Cosmos\\Autocli\\V1\\GPBMetadata\352\002\023Cosmos::Autocli::V1" - ) - _globals["_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY"]._loaded_options = None - _globals["_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY"]._serialized_options = b"8\001" - _globals["_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY"]._loaded_options = None - _globals["_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY"]._serialized_options = b"8\001" - _globals["_MODULEOPTIONS"]._serialized_start = 55 - _globals["_MODULEOPTIONS"]._serialized_end = 198 - _globals["_SERVICECOMMANDDESCRIPTOR"]._serialized_start = 201 - _globals["_SERVICECOMMANDDESCRIPTOR"]._serialized_end = 545 - _globals["_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY"]._serialized_start = 438 - _globals["_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY"]._serialized_end = 545 - _globals["_RPCCOMMANDOPTIONS"]._serialized_start = 548 - _globals["_RPCCOMMANDOPTIONS"]._serialized_end = 1088 - _globals["_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY"]._serialized_start = 994 - _globals["_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY"]._serialized_end = 1088 - _globals["_FLAGOPTIONS"]._serialized_start = 1091 - _globals["_FLAGOPTIONS"]._serialized_end = 1320 - _globals["_POSITIONALARGDESCRIPTOR"]._serialized_start = 1322 - _globals["_POSITIONALARGDESCRIPTOR"]._serialized_end = 1406 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.autocli.v1B\014OptionsProtoP\001Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\242\002\003CAX\252\002\021Cosmos.Autocli.V1\312\002\021Cosmos\\Autocli\\V1\342\002\035Cosmos\\Autocli\\V1\\GPBMetadata\352\002\023Cosmos::Autocli::V1' + _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._loaded_options = None + _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._serialized_options = b'8\001' + _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._loaded_options = None + _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._serialized_options = b'8\001' + _globals['_MODULEOPTIONS']._serialized_start=55 + _globals['_MODULEOPTIONS']._serialized_end=198 + _globals['_SERVICECOMMANDDESCRIPTOR']._serialized_start=201 + _globals['_SERVICECOMMANDDESCRIPTOR']._serialized_end=545 + _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._serialized_start=438 + _globals['_SERVICECOMMANDDESCRIPTOR_SUBCOMMANDSENTRY']._serialized_end=545 + _globals['_RPCCOMMANDOPTIONS']._serialized_start=548 + _globals['_RPCCOMMANDOPTIONS']._serialized_end=1088 + _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._serialized_start=994 + _globals['_RPCCOMMANDOPTIONS_FLAGOPTIONSENTRY']._serialized_end=1088 + _globals['_FLAGOPTIONS']._serialized_start=1091 + _globals['_FLAGOPTIONS']._serialized_end=1320 + _globals['_POSITIONALARGDESCRIPTOR']._serialized_start=1322 + _globals['_POSITIONALARGDESCRIPTOR']._serialized_end=1406 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/autocli/v1/options_pb2_grpc.py b/pyinjective/proto/cosmos/autocli/v1/options_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/autocli/v1/options_pb2_grpc.py +++ b/pyinjective/proto/cosmos/autocli/v1/options_pb2_grpc.py @@ -1,3 +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/cosmos/autocli/v1/query_pb2.py b/pyinjective/proto/cosmos/autocli/v1/query_pb2.py index cfea4986..f0971981 100644 --- a/pyinjective/proto/cosmos/autocli/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/autocli/v1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,28 +16,24 @@ from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1d\x63osmos/autocli/v1/query.proto\x12\x11\x63osmos.autocli.v1\x1a\x1f\x63osmos/autocli/v1/options.proto\x1a\x1b\x63osmos/query/v1/query.proto"\x13\n\x11\x41ppOptionsRequest"\xd9\x01\n\x12\x41ppOptionsResponse\x12_\n\x0emodule_options\x18\x01 \x03(\x0b\x32\x38.cosmos.autocli.v1.AppOptionsResponse.ModuleOptionsEntryR\rmoduleOptions\x1a\x62\n\x12ModuleOptionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32 .cosmos.autocli.v1.ModuleOptionsR\x05value:\x02\x38\x01\x32i\n\x05Query\x12`\n\nAppOptions\x12$.cosmos.autocli.v1.AppOptionsRequest\x1a%.cosmos.autocli.v1.AppOptionsResponse"\x05\x88\xe7\xb0*\x00\x42\xb4\x01\n\x15\x63om.cosmos.autocli.v1B\nQueryProtoP\x01Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\xa2\x02\x03\x43\x41X\xaa\x02\x11\x43osmos.Autocli.V1\xca\x02\x11\x43osmos\\Autocli\\V1\xe2\x02\x1d\x43osmos\\Autocli\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Autocli::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/autocli/v1/query.proto\x12\x11\x63osmos.autocli.v1\x1a\x1f\x63osmos/autocli/v1/options.proto\x1a\x1b\x63osmos/query/v1/query.proto\"\x13\n\x11\x41ppOptionsRequest\"\xd9\x01\n\x12\x41ppOptionsResponse\x12_\n\x0emodule_options\x18\x01 \x03(\x0b\x32\x38.cosmos.autocli.v1.AppOptionsResponse.ModuleOptionsEntryR\rmoduleOptions\x1a\x62\n\x12ModuleOptionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32 .cosmos.autocli.v1.ModuleOptionsR\x05value:\x02\x38\x01\x32i\n\x05Query\x12`\n\nAppOptions\x12$.cosmos.autocli.v1.AppOptionsRequest\x1a%.cosmos.autocli.v1.AppOptionsResponse\"\x05\x88\xe7\xb0*\x00\x42\xb4\x01\n\x15\x63om.cosmos.autocli.v1B\nQueryProtoP\x01Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\xa2\x02\x03\x43\x41X\xaa\x02\x11\x43osmos.Autocli.V1\xca\x02\x11\x43osmos\\Autocli\\V1\xe2\x02\x1d\x43osmos\\Autocli\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Autocli::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.autocli.v1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.autocli.v1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\025com.cosmos.autocli.v1B\nQueryProtoP\001Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\242\002\003CAX\252\002\021Cosmos.Autocli.V1\312\002\021Cosmos\\Autocli\\V1\342\002\035Cosmos\\Autocli\\V1\\GPBMetadata\352\002\023Cosmos::Autocli::V1" - ) - _globals["_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY"]._loaded_options = None - _globals["_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY"]._serialized_options = b"8\001" - _globals["_QUERY"].methods_by_name["AppOptions"]._loaded_options = None - _globals["_QUERY"].methods_by_name["AppOptions"]._serialized_options = b"\210\347\260*\000" - _globals["_APPOPTIONSREQUEST"]._serialized_start = 114 - _globals["_APPOPTIONSREQUEST"]._serialized_end = 133 - _globals["_APPOPTIONSRESPONSE"]._serialized_start = 136 - _globals["_APPOPTIONSRESPONSE"]._serialized_end = 353 - _globals["_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY"]._serialized_start = 255 - _globals["_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY"]._serialized_end = 353 - _globals["_QUERY"]._serialized_start = 355 - _globals["_QUERY"]._serialized_end = 460 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.autocli.v1B\nQueryProtoP\001Z)cosmossdk.io/api/cosmos/base/cli/v1;cliv1\242\002\003CAX\252\002\021Cosmos.Autocli.V1\312\002\021Cosmos\\Autocli\\V1\342\002\035Cosmos\\Autocli\\V1\\GPBMetadata\352\002\023Cosmos::Autocli::V1' + _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._loaded_options = None + _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._serialized_options = b'8\001' + _globals['_QUERY'].methods_by_name['AppOptions']._loaded_options = None + _globals['_QUERY'].methods_by_name['AppOptions']._serialized_options = b'\210\347\260*\000' + _globals['_APPOPTIONSREQUEST']._serialized_start=114 + _globals['_APPOPTIONSREQUEST']._serialized_end=133 + _globals['_APPOPTIONSRESPONSE']._serialized_start=136 + _globals['_APPOPTIONSRESPONSE']._serialized_end=353 + _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._serialized_start=255 + _globals['_APPOPTIONSRESPONSE_MODULEOPTIONSENTRY']._serialized_end=353 + _globals['_QUERY']._serialized_start=355 + _globals['_QUERY']._serialized_end=460 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/autocli/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/autocli/v1/query_pb2_grpc.py index a0fe1c24..989a8356 100644 --- a/pyinjective/proto/cosmos/autocli/v1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/autocli/v1/query_pb2_grpc.py @@ -17,11 +17,10 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.AppOptions = channel.unary_unary( - "/cosmos.autocli.v1.Query/AppOptions", - request_serializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsRequest.SerializeToString, - response_deserializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsResponse.FromString, - _registered_method=True, - ) + '/cosmos.autocli.v1.Query/AppOptions', + request_serializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsRequest.SerializeToString, + response_deserializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsResponse.FromString, + _registered_method=True) class QueryServicer(object): @@ -30,48 +29,48 @@ class QueryServicer(object): """ def AppOptions(self, request, context): - """AppOptions returns the autocli options for all of the modules in an app.""" + """AppOptions returns the autocli options for all of the modules in an app. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "AppOptions": grpc.unary_unary_rpc_method_handler( - servicer.AppOptions, - request_deserializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsRequest.FromString, - response_serializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsResponse.SerializeToString, - ), + 'AppOptions': grpc.unary_unary_rpc_method_handler( + servicer.AppOptions, + request_deserializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsRequest.FromString, + response_serializer=cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.autocli.v1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.autocli.v1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.autocli.v1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.autocli.v1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): """RemoteInfoService provides clients with the information they need to build dynamically CLI clients for remote chains. """ @staticmethod - def AppOptions( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AppOptions(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.autocli.v1.Query/AppOptions", + '/cosmos.autocli.v1.Query/AppOptions', cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsRequest.SerializeToString, cosmos_dot_autocli_dot_v1_dot_query__pb2.AppOptionsResponse.FromString, options, @@ -82,5 +81,4 @@ def AppOptions( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py b/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py index c16a721a..5032c046 100644 --- a/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/bank/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n"cosmos/bank/module/v1/module.proto\x12\x15\x63osmos.bank.module.v1\x1a cosmos/app/v1alpha1/module.proto"\xcb\x01\n\x06Module\x12G\n blocked_module_accounts_override\x18\x01 \x03(\tR\x1d\x62lockedModuleAccountsOverride\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority\x12-\n\x12restrictions_order\x18\x03 \x03(\tR\x11restrictionsOrder:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/bankB\x9f\x01\n\x19\x63om.cosmos.bank.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x42M\xaa\x02\x15\x43osmos.Bank.Module.V1\xca\x02\x15\x43osmos\\Bank\\Module\\V1\xe2\x02!Cosmos\\Bank\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Bank::Module::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/bank/module/v1/module.proto\x12\x15\x63osmos.bank.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\xcb\x01\n\x06Module\x12G\n blocked_module_accounts_override\x18\x01 \x03(\tR\x1d\x62lockedModuleAccountsOverride\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority\x12-\n\x12restrictions_order\x18\x03 \x03(\tR\x11restrictionsOrder:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/bankB\x9f\x01\n\x19\x63om.cosmos.bank.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x42M\xaa\x02\x15\x43osmos.Bank.Module.V1\xca\x02\x15\x43osmos\\Bank\\Module\\V1\xe2\x02!Cosmos\\Bank\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Bank::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.bank.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\031com.cosmos.bank.module.v1B\013ModuleProtoP\001\242\002\003CBM\252\002\025Cosmos.Bank.Module.V1\312\002\025Cosmos\\Bank\\Module\\V1\342\002!Cosmos\\Bank\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Bank::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/bank" - _globals["_MODULE"]._serialized_start = 96 - _globals["_MODULE"]._serialized_end = 299 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.bank.module.v1B\013ModuleProtoP\001\242\002\003CBM\252\002\025Cosmos.Bank.Module.V1\312\002\025Cosmos\\Bank\\Module\\V1\342\002!Cosmos\\Bank\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Bank::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/bank' + _globals['_MODULE']._serialized_start=96 + _globals['_MODULE']._serialized_end=299 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/bank/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/bank/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/bank/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/bank/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py index 7809b69b..328fbbfb 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,30 +18,20 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1f\x63osmos/bank/v1beta1/authz.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"\x9a\x02\n\x11SendAuthorization\x12\x82\x01\n\x0bspend_limit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\nspendLimit\x12\x37\n\nallow_list\x18\x02 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tallowList:G\xca\xb4-"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1c\x63osmos-sdk/SendAuthorizationB\xbe\x01\n\x17\x63om.cosmos.bank.v1beta1B\nAuthzProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/bank/v1beta1/authz.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x9a\x02\n\x11SendAuthorization\x12\x82\x01\n\x0bspend_limit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\nspendLimit\x12\x37\n\nallow_list\x18\x02 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tallowList:G\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1c\x63osmos-sdk/SendAuthorizationB\xbe\x01\n\x17\x63om.cosmos.bank.v1beta1B\nAuthzProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.bank.v1beta1.authz_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.authz_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.bank.v1beta1B\nAuthzProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1" - ) - _globals["_SENDAUTHORIZATION"].fields_by_name["spend_limit"]._loaded_options = None - _globals["_SENDAUTHORIZATION"].fields_by_name[ - "spend_limit" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_SENDAUTHORIZATION"].fields_by_name["allow_list"]._loaded_options = None - _globals["_SENDAUTHORIZATION"].fields_by_name[ - "allow_list" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_SENDAUTHORIZATION"]._loaded_options = None - _globals["_SENDAUTHORIZATION"]._serialized_options = ( - b'\312\264-"cosmos.authz.v1beta1.Authorization\212\347\260*\034cosmos-sdk/SendAuthorization' - ) - _globals["_SENDAUTHORIZATION"]._serialized_start = 157 - _globals["_SENDAUTHORIZATION"]._serialized_end = 439 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\nAuthzProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' + _globals['_SENDAUTHORIZATION'].fields_by_name['spend_limit']._loaded_options = None + _globals['_SENDAUTHORIZATION'].fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_SENDAUTHORIZATION'].fields_by_name['allow_list']._loaded_options = None + _globals['_SENDAUTHORIZATION'].fields_by_name['allow_list']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_SENDAUTHORIZATION']._loaded_options = None + _globals['_SENDAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\034cosmos-sdk/SendAuthorization' + _globals['_SENDAUTHORIZATION']._serialized_start=157 + _globals['_SENDAUTHORIZATION']._serialized_end=439 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2_grpc.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/authz_pb2_grpc.py @@ -1,3 +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/cosmos/bank/v1beta1/bank_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py index 626f9af3..2e124c79 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,64 +19,52 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1e\x63osmos/bank/v1beta1/bank.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xa2\x01\n\x06Params\x12G\n\x0csend_enabled\x18\x01 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledB\x02\x18\x01R\x0bsendEnabled\x12\x30\n\x14\x64\x65\x66\x61ult_send_enabled\x18\x02 \x01(\x08R\x12\x64\x65\x66\x61ultSendEnabled:\x1d\x8a\xe7\xb0*\x18\x63osmos-sdk/x/bank/Params"C\n\x0bSendEnabled\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x18\n\x07\x65nabled\x18\x02 \x01(\x08R\x07\x65nabled:\x04\xe8\xa0\x1f\x01"\xca\x01\n\x05Input\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x14\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x07\x61\x64\x64ress"\xbf\x01\n\x06Output\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xac\x01\n\x06Supply\x12w\n\x05total\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05total:)\x18\x01\x88\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1b\x63osmos.bank.v1beta1.SupplyI"W\n\tDenomUnit\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1a\n\x08\x65xponent\x18\x02 \x01(\rR\x08\x65xponent\x12\x18\n\x07\x61liases\x18\x03 \x03(\tR\x07\x61liases"\xa6\x02\n\x08Metadata\x12 \n\x0b\x64\x65scription\x18\x01 \x01(\tR\x0b\x64\x65scription\x12?\n\x0b\x64\x65nom_units\x18\x02 \x03(\x0b\x32\x1e.cosmos.bank.v1beta1.DenomUnitR\ndenomUnits\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x18\n\x07\x64isplay\x18\x04 \x01(\tR\x07\x64isplay\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x06 \x01(\tR\x06symbol\x12\x19\n\x03uri\x18\x07 \x01(\tB\x07\xe2\xde\x1f\x03URIR\x03uri\x12&\n\x08uri_hash\x18\x08 \x01(\tB\x0b\xe2\xde\x1f\x07URIHashR\x07uriHash\x12\x1a\n\x08\x64\x65\x63imals\x18\t \x01(\rR\x08\x64\x65\x63imalsB\xbd\x01\n\x17\x63om.cosmos.bank.v1beta1B\tBankProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/bank/v1beta1/bank.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xa2\x01\n\x06Params\x12G\n\x0csend_enabled\x18\x01 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledB\x02\x18\x01R\x0bsendEnabled\x12\x30\n\x14\x64\x65\x66\x61ult_send_enabled\x18\x02 \x01(\x08R\x12\x64\x65\x66\x61ultSendEnabled:\x1d\x8a\xe7\xb0*\x18\x63osmos-sdk/x/bank/Params\"C\n\x0bSendEnabled\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x18\n\x07\x65nabled\x18\x02 \x01(\x08R\x07\x65nabled:\x04\xe8\xa0\x1f\x01\"\xca\x01\n\x05Input\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x14\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x07\x61\x64\x64ress\"\xbf\x01\n\x06Output\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xac\x01\n\x06Supply\x12w\n\x05total\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05total:)\x18\x01\x88\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1b\x63osmos.bank.v1beta1.SupplyI\"W\n\tDenomUnit\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1a\n\x08\x65xponent\x18\x02 \x01(\rR\x08\x65xponent\x12\x18\n\x07\x61liases\x18\x03 \x03(\tR\x07\x61liases\"\xa6\x02\n\x08Metadata\x12 \n\x0b\x64\x65scription\x18\x01 \x01(\tR\x0b\x64\x65scription\x12?\n\x0b\x64\x65nom_units\x18\x02 \x03(\x0b\x32\x1e.cosmos.bank.v1beta1.DenomUnitR\ndenomUnits\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x18\n\x07\x64isplay\x18\x04 \x01(\tR\x07\x64isplay\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x06 \x01(\tR\x06symbol\x12\x19\n\x03uri\x18\x07 \x01(\tB\x07\xe2\xde\x1f\x03URIR\x03uri\x12&\n\x08uri_hash\x18\x08 \x01(\tB\x0b\xe2\xde\x1f\x07URIHashR\x07uriHash\x12\x1a\n\x08\x64\x65\x63imals\x18\t \x01(\rR\x08\x64\x65\x63imalsB\xbd\x01\n\x17\x63om.cosmos.bank.v1beta1B\tBankProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.bank.v1beta1.bank_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.bank_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.bank.v1beta1B\tBankProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1" - ) - _globals["_PARAMS"].fields_by_name["send_enabled"]._loaded_options = None - _globals["_PARAMS"].fields_by_name["send_enabled"]._serialized_options = b"\030\001" - _globals["_PARAMS"]._loaded_options = None - _globals["_PARAMS"]._serialized_options = b"\212\347\260*\030cosmos-sdk/x/bank/Params" - _globals["_SENDENABLED"]._loaded_options = None - _globals["_SENDENABLED"]._serialized_options = b"\350\240\037\001" - _globals["_INPUT"].fields_by_name["address"]._loaded_options = None - _globals["_INPUT"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_INPUT"].fields_by_name["coins"]._loaded_options = None - _globals["_INPUT"].fields_by_name[ - "coins" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_INPUT"]._loaded_options = None - _globals["_INPUT"]._serialized_options = b"\210\240\037\000\350\240\037\000\202\347\260*\007address" - _globals["_OUTPUT"].fields_by_name["address"]._loaded_options = None - _globals["_OUTPUT"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_OUTPUT"].fields_by_name["coins"]._loaded_options = None - _globals["_OUTPUT"].fields_by_name[ - "coins" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_OUTPUT"]._loaded_options = None - _globals["_OUTPUT"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_SUPPLY"].fields_by_name["total"]._loaded_options = None - _globals["_SUPPLY"].fields_by_name[ - "total" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_SUPPLY"]._loaded_options = None - _globals["_SUPPLY"]._serialized_options = ( - b"\030\001\210\240\037\000\350\240\037\001\312\264-\033cosmos.bank.v1beta1.SupplyI" - ) - _globals["_METADATA"].fields_by_name["uri"]._loaded_options = None - _globals["_METADATA"].fields_by_name["uri"]._serialized_options = b"\342\336\037\003URI" - _globals["_METADATA"].fields_by_name["uri_hash"]._loaded_options = None - _globals["_METADATA"].fields_by_name["uri_hash"]._serialized_options = b"\342\336\037\007URIHash" - _globals["_PARAMS"]._serialized_start = 181 - _globals["_PARAMS"]._serialized_end = 343 - _globals["_SENDENABLED"]._serialized_start = 345 - _globals["_SENDENABLED"]._serialized_end = 412 - _globals["_INPUT"]._serialized_start = 415 - _globals["_INPUT"]._serialized_end = 617 - _globals["_OUTPUT"]._serialized_start = 620 - _globals["_OUTPUT"]._serialized_end = 811 - _globals["_SUPPLY"]._serialized_start = 814 - _globals["_SUPPLY"]._serialized_end = 986 - _globals["_DENOMUNIT"]._serialized_start = 988 - _globals["_DENOMUNIT"]._serialized_end = 1075 - _globals["_METADATA"]._serialized_start = 1078 - _globals["_METADATA"]._serialized_end = 1372 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\tBankProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' + _globals['_PARAMS'].fields_by_name['send_enabled']._loaded_options = None + _globals['_PARAMS'].fields_by_name['send_enabled']._serialized_options = b'\030\001' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\212\347\260*\030cosmos-sdk/x/bank/Params' + _globals['_SENDENABLED']._loaded_options = None + _globals['_SENDENABLED']._serialized_options = b'\350\240\037\001' + _globals['_INPUT'].fields_by_name['address']._loaded_options = None + _globals['_INPUT'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_INPUT'].fields_by_name['coins']._loaded_options = None + _globals['_INPUT'].fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_INPUT']._loaded_options = None + _globals['_INPUT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\007address' + _globals['_OUTPUT'].fields_by_name['address']._loaded_options = None + _globals['_OUTPUT'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_OUTPUT'].fields_by_name['coins']._loaded_options = None + _globals['_OUTPUT'].fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_OUTPUT']._loaded_options = None + _globals['_OUTPUT']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_SUPPLY'].fields_by_name['total']._loaded_options = None + _globals['_SUPPLY'].fields_by_name['total']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_SUPPLY']._loaded_options = None + _globals['_SUPPLY']._serialized_options = b'\030\001\210\240\037\000\350\240\037\001\312\264-\033cosmos.bank.v1beta1.SupplyI' + _globals['_METADATA'].fields_by_name['uri']._loaded_options = None + _globals['_METADATA'].fields_by_name['uri']._serialized_options = b'\342\336\037\003URI' + _globals['_METADATA'].fields_by_name['uri_hash']._loaded_options = None + _globals['_METADATA'].fields_by_name['uri_hash']._serialized_options = b'\342\336\037\007URIHash' + _globals['_PARAMS']._serialized_start=181 + _globals['_PARAMS']._serialized_end=343 + _globals['_SENDENABLED']._serialized_start=345 + _globals['_SENDENABLED']._serialized_end=412 + _globals['_INPUT']._serialized_start=415 + _globals['_INPUT']._serialized_end=617 + _globals['_OUTPUT']._serialized_start=620 + _globals['_OUTPUT']._serialized_end=811 + _globals['_SUPPLY']._serialized_start=814 + _globals['_SUPPLY']._serialized_end=986 + _globals['_DENOMUNIT']._serialized_start=988 + _globals['_DENOMUNIT']._serialized_end=1075 + _globals['_METADATA']._serialized_start=1078 + _globals['_METADATA']._serialized_end=1372 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2_grpc.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/bank_pb2_grpc.py @@ -1,3 +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/cosmos/bank/v1beta1/events_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py index 7f77f8e6..3dfa3a71 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,26 +17,18 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n cosmos/bank/v1beta1/events.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto"_\n\x10\x45ventSetBalances\x12K\n\x0f\x62\x61lance_updates\x18\x01 \x03(\x0b\x32".cosmos.bank.v1beta1.BalanceUpdateR\x0e\x62\x61lanceUpdates"}\n\rBalanceUpdate\x12\x12\n\x04\x61\x64\x64r\x18\x01 \x01(\x0cR\x04\x61\x64\x64r\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\x0cR\x05\x64\x65nom\x12\x42\n\x03\x61mt\x18\x03 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x03\x61mtB\xbf\x01\n\x17\x63om.cosmos.bank.v1beta1B\x0b\x45ventsProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/bank/v1beta1/events.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"_\n\x10\x45ventSetBalances\x12K\n\x0f\x62\x61lance_updates\x18\x01 \x03(\x0b\x32\".cosmos.bank.v1beta1.BalanceUpdateR\x0e\x62\x61lanceUpdates\"}\n\rBalanceUpdate\x12\x12\n\x04\x61\x64\x64r\x18\x01 \x01(\x0cR\x04\x61\x64\x64r\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\x0cR\x05\x64\x65nom\x12\x42\n\x03\x61mt\x18\x03 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x03\x61mtB\xbf\x01\n\x17\x63om.cosmos.bank.v1beta1B\x0b\x45ventsProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.bank.v1beta1.events_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.events_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.bank.v1beta1B\013EventsProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1" - ) - _globals["_BALANCEUPDATE"].fields_by_name["amt"]._loaded_options = None - _globals["_BALANCEUPDATE"].fields_by_name[ - "amt" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001" - ) - _globals["_EVENTSETBALANCES"]._serialized_start = 125 - _globals["_EVENTSETBALANCES"]._serialized_end = 220 - _globals["_BALANCEUPDATE"]._serialized_start = 222 - _globals["_BALANCEUPDATE"]._serialized_end = 347 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\013EventsProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' + _globals['_BALANCEUPDATE'].fields_by_name['amt']._loaded_options = None + _globals['_BALANCEUPDATE'].fields_by_name['amt']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001' + _globals['_EVENTSETBALANCES']._serialized_start=125 + _globals['_EVENTSETBALANCES']._serialized_end=220 + _globals['_BALANCEUPDATE']._serialized_start=222 + _globals['_BALANCEUPDATE']._serialized_end=347 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py @@ -1,3 +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/cosmos/bank/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py index 63cba28e..9aae86fc 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,42 +19,32 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!cosmos/bank/v1beta1/genesis.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\xaf\x03\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12\x43\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x1c.cosmos.bank.v1beta1.BalanceB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12y\n\x06supply\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06supply\x12O\n\x0e\x64\x65nom_metadata\x18\x04 \x03(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdenomMetadata\x12N\n\x0csend_enabled\x18\x05 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0bsendEnabled"\xc0\x01\n\x07\x42\x61lance\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xc0\x01\n\x17\x63om.cosmos.bank.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/bank/v1beta1/genesis.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xaf\x03\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12\x43\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x1c.cosmos.bank.v1beta1.BalanceB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12y\n\x06supply\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06supply\x12O\n\x0e\x64\x65nom_metadata\x18\x04 \x03(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdenomMetadata\x12N\n\x0csend_enabled\x18\x05 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0bsendEnabled\"\xc0\x01\n\x07\x42\x61lance\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12w\n\x05\x63oins\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x63oins:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xc0\x01\n\x17\x63om.cosmos.bank.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.bank.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.bank.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1" - ) - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["balances"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["balances"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["supply"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "supply" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["denom_metadata"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "denom_metadata" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["send_enabled"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["send_enabled"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_BALANCE"].fields_by_name["address"]._loaded_options = None - _globals["_BALANCE"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_BALANCE"].fields_by_name["coins"]._loaded_options = None - _globals["_BALANCE"].fields_by_name[ - "coins" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_BALANCE"]._loaded_options = None - _globals["_BALANCE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_GENESISSTATE"]._serialized_start = 191 - _globals["_GENESISSTATE"]._serialized_end = 622 - _globals["_BALANCE"]._serialized_start = 625 - _globals["_BALANCE"]._serialized_end = 817 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['balances']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['supply']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['supply']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['denom_metadata']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['denom_metadata']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['send_enabled']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['send_enabled']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_BALANCE'].fields_by_name['address']._loaded_options = None + _globals['_BALANCE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_BALANCE'].fields_by_name['coins']._loaded_options = None + _globals['_BALANCE'].fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_BALANCE']._loaded_options = None + _globals['_BALANCE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_GENESISSTATE']._serialized_start=191 + _globals['_GENESISSTATE']._serialized_end=622 + _globals['_BALANCE']._serialized_start=625 + _globals['_BALANCE']._serialized_end=817 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/genesis_pb2_grpc.py @@ -1,3 +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/cosmos/bank/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py index e5233aaa..774ce07c 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2.py @@ -7,15 +7,12 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 @@ -25,192 +22,132 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1f\x63osmos/bank/v1beta1/query.proto\x12\x13\x63osmos.bank.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x11\x61mino/amino.proto"i\n\x13QueryBalanceRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"K\n\x14QueryBalanceResponse\x12\x33\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x07\x62\x61lance"\xc4\x01\n\x17QueryAllBalancesRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12#\n\rresolve_denom\x18\x03 \x01(\x08R\x0cresolveDenom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xe2\x01\n\x18QueryAllBalancesResponse\x12}\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xa5\x01\n\x1dQuerySpendableBalancesRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xe8\x01\n\x1eQuerySpendableBalancesResponse\x12}\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"y\n#QuerySpendableBalanceByDenomRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"[\n$QuerySpendableBalanceByDenomResponse\x12\x33\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x07\x62\x61lance"k\n\x17QueryTotalSupplyRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xde\x01\n\x18QueryTotalSupplyResponse\x12y\n\x06supply\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06supply\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination",\n\x14QuerySupplyOfRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom"U\n\x15QuerySupplyOfResponse\x12<\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount"\x14\n\x12QueryParamsRequest"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params"d\n\x1aQueryDenomsMetadataRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xae\x01\n\x1bQueryDenomsMetadataResponse\x12\x46\n\tmetadatas\x18\x01 \x03(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tmetadatas\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"1\n\x19QueryDenomMetadataRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom"b\n\x1aQueryDenomMetadataResponse\x12\x44\n\x08metadata\x18\x01 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08metadata">\n&QueryDenomMetadataByQueryStringRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom"o\n\'QueryDenomMetadataByQueryStringResponse\x12\x44\n\x08metadata\x18\x01 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08metadata"w\n\x17QueryDenomOwnersRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x80\x01\n\nDenomOwner\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12>\n\x07\x62\x61lance\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x62\x61lance"\xa7\x01\n\x18QueryDenomOwnersResponse\x12\x42\n\x0c\x64\x65nom_owners\x18\x01 \x03(\x0b\x32\x1f.cosmos.bank.v1beta1.DenomOwnerR\x0b\x64\x65nomOwners\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"~\n\x1eQueryDenomOwnersByQueryRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xae\x01\n\x1fQueryDenomOwnersByQueryResponse\x12\x42\n\x0c\x64\x65nom_owners\x18\x01 \x03(\x0b\x32\x1f.cosmos.bank.v1beta1.DenomOwnerR\x0b\x64\x65nomOwners\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"y\n\x17QuerySendEnabledRequest\x12\x16\n\x06\x64\x65noms\x18\x01 \x03(\tR\x06\x64\x65noms\x12\x46\n\npagination\x18\x63 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xa8\x01\n\x18QuerySendEnabledResponse\x12\x43\n\x0csend_enabled\x18\x01 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledR\x0bsendEnabled\x12G\n\npagination\x18\x63 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xca\x11\n\x05Query\x12\x9d\x01\n\x07\x42\x61lance\x12(.cosmos.bank.v1beta1.QueryBalanceRequest\x1a).cosmos.bank.v1beta1.QueryBalanceResponse"=\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/bank/v1beta1/balances/{address}/by_denom\x12\xa0\x01\n\x0b\x41llBalances\x12,.cosmos.bank.v1beta1.QueryAllBalancesRequest\x1a-.cosmos.bank.v1beta1.QueryAllBalancesResponse"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/bank/v1beta1/balances/{address}\x12\xbc\x01\n\x11SpendableBalances\x12\x32.cosmos.bank.v1beta1.QuerySpendableBalancesRequest\x1a\x33.cosmos.bank.v1beta1.QuerySpendableBalancesResponse">\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/bank/v1beta1/spendable_balances/{address}\x12\xd7\x01\n\x17SpendableBalanceByDenom\x12\x38.cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest\x1a\x39.cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse"G\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02<\x12:/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom\x12\x94\x01\n\x0bTotalSupply\x12,.cosmos.bank.v1beta1.QueryTotalSupplyRequest\x1a-.cosmos.bank.v1beta1.QueryTotalSupplyResponse"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/bank/v1beta1/supply\x12\x94\x01\n\x08SupplyOf\x12).cosmos.bank.v1beta1.QuerySupplyOfRequest\x1a*.cosmos.bank.v1beta1.QuerySupplyOfResponse"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/bank/v1beta1/supply/by_denom\x12\x85\x01\n\x06Params\x12\'.cosmos.bank.v1beta1.QueryParamsRequest\x1a(.cosmos.bank.v1beta1.QueryParamsResponse"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/bank/v1beta1/params\x12\xab\x01\n\rDenomMetadata\x12..cosmos.bank.v1beta1.QueryDenomMetadataRequest\x1a/.cosmos.bank.v1beta1.QueryDenomMetadataResponse"9\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02.\x12,/cosmos/bank/v1beta1/denoms_metadata/{denom}\x12\xda\x01\n\x1a\x44\x65nomMetadataByQueryString\x12;.cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringRequest\x1a<.cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse"A\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/bank/v1beta1/denoms_metadata_by_query_string\x12\xa6\x01\n\x0e\x44\x65nomsMetadata\x12/.cosmos.bank.v1beta1.QueryDenomsMetadataRequest\x1a\x30.cosmos.bank.v1beta1.QueryDenomsMetadataResponse"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/bank/v1beta1/denoms_metadata\x12\xa2\x01\n\x0b\x44\x65nomOwners\x12,.cosmos.bank.v1beta1.QueryDenomOwnersRequest\x1a-.cosmos.bank.v1beta1.QueryDenomOwnersResponse"6\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02+\x12)/cosmos/bank/v1beta1/denom_owners/{denom}\x12\xb8\x01\n\x12\x44\x65nomOwnersByQuery\x12\x33.cosmos.bank.v1beta1.QueryDenomOwnersByQueryRequest\x1a\x34.cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse"7\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02,\x12*/cosmos/bank/v1beta1/denom_owners_by_query\x12\x9a\x01\n\x0bSendEnabled\x12,.cosmos.bank.v1beta1.QuerySendEnabledRequest\x1a-.cosmos.bank.v1beta1.QuerySendEnabledResponse".\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02#\x12!/cosmos/bank/v1beta1/send_enabledB\xbe\x01\n\x17\x63om.cosmos.bank.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/bank/v1beta1/query.proto\x12\x13\x63osmos.bank.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x11\x61mino/amino.proto\"i\n\x13QueryBalanceRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"K\n\x14QueryBalanceResponse\x12\x33\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x07\x62\x61lance\"\xc4\x01\n\x17QueryAllBalancesRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12#\n\rresolve_denom\x18\x03 \x01(\x08R\x0cresolveDenom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe2\x01\n\x18QueryAllBalancesResponse\x12}\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xa5\x01\n\x1dQuerySpendableBalancesRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe8\x01\n\x1eQuerySpendableBalancesResponse\x12}\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x08\x62\x61lances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"y\n#QuerySpendableBalanceByDenomRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"[\n$QuerySpendableBalanceByDenomResponse\x12\x33\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x07\x62\x61lance\"k\n\x17QueryTotalSupplyRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xde\x01\n\x18QueryTotalSupplyResponse\x12y\n\x06supply\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06supply\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\",\n\x14QuerySupplyOfRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"U\n\x15QuerySupplyOfResponse\x12<\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\"\x14\n\x12QueryParamsRequest\"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"d\n\x1aQueryDenomsMetadataRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xae\x01\n\x1bQueryDenomsMetadataResponse\x12\x46\n\tmetadatas\x18\x01 \x03(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tmetadatas\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"1\n\x19QueryDenomMetadataRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"b\n\x1aQueryDenomMetadataResponse\x12\x44\n\x08metadata\x18\x01 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08metadata\">\n&QueryDenomMetadataByQueryStringRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"o\n\'QueryDenomMetadataByQueryStringResponse\x12\x44\n\x08metadata\x18\x01 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08metadata\"w\n\x17QueryDenomOwnersRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x80\x01\n\nDenomOwner\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12>\n\x07\x62\x61lance\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x62\x61lance\"\xa7\x01\n\x18QueryDenomOwnersResponse\x12\x42\n\x0c\x64\x65nom_owners\x18\x01 \x03(\x0b\x32\x1f.cosmos.bank.v1beta1.DenomOwnerR\x0b\x64\x65nomOwners\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"~\n\x1eQueryDenomOwnersByQueryRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xae\x01\n\x1fQueryDenomOwnersByQueryResponse\x12\x42\n\x0c\x64\x65nom_owners\x18\x01 \x03(\x0b\x32\x1f.cosmos.bank.v1beta1.DenomOwnerR\x0b\x64\x65nomOwners\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"y\n\x17QuerySendEnabledRequest\x12\x16\n\x06\x64\x65noms\x18\x01 \x03(\tR\x06\x64\x65noms\x12\x46\n\npagination\x18\x63 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa8\x01\n\x18QuerySendEnabledResponse\x12\x43\n\x0csend_enabled\x18\x01 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledR\x0bsendEnabled\x12G\n\npagination\x18\x63 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xca\x11\n\x05Query\x12\x9d\x01\n\x07\x42\x61lance\x12(.cosmos.bank.v1beta1.QueryBalanceRequest\x1a).cosmos.bank.v1beta1.QueryBalanceResponse\"=\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/bank/v1beta1/balances/{address}/by_denom\x12\xa0\x01\n\x0b\x41llBalances\x12,.cosmos.bank.v1beta1.QueryAllBalancesRequest\x1a-.cosmos.bank.v1beta1.QueryAllBalancesResponse\"4\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02)\x12\'/cosmos/bank/v1beta1/balances/{address}\x12\xbc\x01\n\x11SpendableBalances\x12\x32.cosmos.bank.v1beta1.QuerySpendableBalancesRequest\x1a\x33.cosmos.bank.v1beta1.QuerySpendableBalancesResponse\">\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/bank/v1beta1/spendable_balances/{address}\x12\xd7\x01\n\x17SpendableBalanceByDenom\x12\x38.cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest\x1a\x39.cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse\"G\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02<\x12:/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom\x12\x94\x01\n\x0bTotalSupply\x12,.cosmos.bank.v1beta1.QueryTotalSupplyRequest\x1a-.cosmos.bank.v1beta1.QueryTotalSupplyResponse\"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/bank/v1beta1/supply\x12\x94\x01\n\x08SupplyOf\x12).cosmos.bank.v1beta1.QuerySupplyOfRequest\x1a*.cosmos.bank.v1beta1.QuerySupplyOfResponse\"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/bank/v1beta1/supply/by_denom\x12\x85\x01\n\x06Params\x12\'.cosmos.bank.v1beta1.QueryParamsRequest\x1a(.cosmos.bank.v1beta1.QueryParamsResponse\"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/bank/v1beta1/params\x12\xab\x01\n\rDenomMetadata\x12..cosmos.bank.v1beta1.QueryDenomMetadataRequest\x1a/.cosmos.bank.v1beta1.QueryDenomMetadataResponse\"9\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02.\x12,/cosmos/bank/v1beta1/denoms_metadata/{denom}\x12\xda\x01\n\x1a\x44\x65nomMetadataByQueryString\x12;.cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringRequest\x1a<.cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse\"A\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/bank/v1beta1/denoms_metadata_by_query_string\x12\xa6\x01\n\x0e\x44\x65nomsMetadata\x12/.cosmos.bank.v1beta1.QueryDenomsMetadataRequest\x1a\x30.cosmos.bank.v1beta1.QueryDenomsMetadataResponse\"1\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02&\x12$/cosmos/bank/v1beta1/denoms_metadata\x12\xa2\x01\n\x0b\x44\x65nomOwners\x12,.cosmos.bank.v1beta1.QueryDenomOwnersRequest\x1a-.cosmos.bank.v1beta1.QueryDenomOwnersResponse\"6\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02+\x12)/cosmos/bank/v1beta1/denom_owners/{denom}\x12\xb8\x01\n\x12\x44\x65nomOwnersByQuery\x12\x33.cosmos.bank.v1beta1.QueryDenomOwnersByQueryRequest\x1a\x34.cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse\"7\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02,\x12*/cosmos/bank/v1beta1/denom_owners_by_query\x12\x9a\x01\n\x0bSendEnabled\x12,.cosmos.bank.v1beta1.QuerySendEnabledRequest\x1a-.cosmos.bank.v1beta1.QuerySendEnabledResponse\".\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02#\x12!/cosmos/bank/v1beta1/send_enabledB\xbe\x01\n\x17\x63om.cosmos.bank.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.bank.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.bank.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1" - ) - _globals["_QUERYBALANCEREQUEST"].fields_by_name["address"]._loaded_options = None - _globals["_QUERYBALANCEREQUEST"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYBALANCEREQUEST"]._loaded_options = None - _globals["_QUERYBALANCEREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYALLBALANCESREQUEST"].fields_by_name["address"]._loaded_options = None - _globals["_QUERYALLBALANCESREQUEST"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYALLBALANCESREQUEST"]._loaded_options = None - _globals["_QUERYALLBALANCESREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYALLBALANCESRESPONSE"].fields_by_name["balances"]._loaded_options = None - _globals["_QUERYALLBALANCESRESPONSE"].fields_by_name[ - "balances" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_QUERYSPENDABLEBALANCESREQUEST"].fields_by_name["address"]._loaded_options = None - _globals["_QUERYSPENDABLEBALANCESREQUEST"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYSPENDABLEBALANCESREQUEST"]._loaded_options = None - _globals["_QUERYSPENDABLEBALANCESREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYSPENDABLEBALANCESRESPONSE"].fields_by_name["balances"]._loaded_options = None - _globals["_QUERYSPENDABLEBALANCESRESPONSE"].fields_by_name[ - "balances" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_QUERYSPENDABLEBALANCEBYDENOMREQUEST"].fields_by_name["address"]._loaded_options = None - _globals["_QUERYSPENDABLEBALANCEBYDENOMREQUEST"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYSPENDABLEBALANCEBYDENOMREQUEST"]._loaded_options = None - _globals["_QUERYSPENDABLEBALANCEBYDENOMREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYTOTALSUPPLYREQUEST"]._loaded_options = None - _globals["_QUERYTOTALSUPPLYREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYTOTALSUPPLYRESPONSE"].fields_by_name["supply"]._loaded_options = None - _globals["_QUERYTOTALSUPPLYRESPONSE"].fields_by_name[ - "supply" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_QUERYSUPPLYOFRESPONSE"].fields_by_name["amount"]._loaded_options = None - _globals["_QUERYSUPPLYOFRESPONSE"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYDENOMSMETADATARESPONSE"].fields_by_name["metadatas"]._loaded_options = None - _globals["_QUERYDENOMSMETADATARESPONSE"].fields_by_name[ - "metadatas" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYDENOMMETADATARESPONSE"].fields_by_name["metadata"]._loaded_options = None - _globals["_QUERYDENOMMETADATARESPONSE"].fields_by_name[ - "metadata" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE"].fields_by_name["metadata"]._loaded_options = None - _globals["_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE"].fields_by_name[ - "metadata" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_DENOMOWNER"].fields_by_name["address"]._loaded_options = None - _globals["_DENOMOWNER"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_DENOMOWNER"].fields_by_name["balance"]._loaded_options = None - _globals["_DENOMOWNER"].fields_by_name["balance"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERY"].methods_by_name["Balance"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Balance" - ]._serialized_options = ( - b"\210\347\260*\001\202\323\344\223\0022\0220/cosmos/bank/v1beta1/balances/{address}/by_denom" - ) - _globals["_QUERY"].methods_by_name["AllBalances"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AllBalances" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002)\022'/cosmos/bank/v1beta1/balances/{address}" - _globals["_QUERY"].methods_by_name["SpendableBalances"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "SpendableBalances" - ]._serialized_options = ( - b"\210\347\260*\001\202\323\344\223\0023\0221/cosmos/bank/v1beta1/spendable_balances/{address}" - ) - _globals["_QUERY"].methods_by_name["SpendableBalanceByDenom"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "SpendableBalanceByDenom" - ]._serialized_options = ( - b"\210\347\260*\001\202\323\344\223\002<\022:/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom" - ) - _globals["_QUERY"].methods_by_name["TotalSupply"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "TotalSupply" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/bank/v1beta1/supply" - _globals["_QUERY"].methods_by_name["SupplyOf"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "SupplyOf" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002&\022$/cosmos/bank/v1beta1/supply/by_denom" - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/bank/v1beta1/params" - _globals["_QUERY"].methods_by_name["DenomMetadata"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DenomMetadata" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002.\022,/cosmos/bank/v1beta1/denoms_metadata/{denom}" - _globals["_QUERY"].methods_by_name["DenomMetadataByQueryString"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DenomMetadataByQueryString" - ]._serialized_options = ( - b"\210\347\260*\001\202\323\344\223\0026\0224/cosmos/bank/v1beta1/denoms_metadata_by_query_string" - ) - _globals["_QUERY"].methods_by_name["DenomsMetadata"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DenomsMetadata" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002&\022$/cosmos/bank/v1beta1/denoms_metadata" - _globals["_QUERY"].methods_by_name["DenomOwners"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DenomOwners" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002+\022)/cosmos/bank/v1beta1/denom_owners/{denom}" - _globals["_QUERY"].methods_by_name["DenomOwnersByQuery"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DenomOwnersByQuery" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002,\022*/cosmos/bank/v1beta1/denom_owners_by_query" - _globals["_QUERY"].methods_by_name["SendEnabled"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "SendEnabled" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002#\022!/cosmos/bank/v1beta1/send_enabled" - _globals["_QUERYBALANCEREQUEST"]._serialized_start = 291 - _globals["_QUERYBALANCEREQUEST"]._serialized_end = 396 - _globals["_QUERYBALANCERESPONSE"]._serialized_start = 398 - _globals["_QUERYBALANCERESPONSE"]._serialized_end = 473 - _globals["_QUERYALLBALANCESREQUEST"]._serialized_start = 476 - _globals["_QUERYALLBALANCESREQUEST"]._serialized_end = 672 - _globals["_QUERYALLBALANCESRESPONSE"]._serialized_start = 675 - _globals["_QUERYALLBALANCESRESPONSE"]._serialized_end = 901 - _globals["_QUERYSPENDABLEBALANCESREQUEST"]._serialized_start = 904 - _globals["_QUERYSPENDABLEBALANCESREQUEST"]._serialized_end = 1069 - _globals["_QUERYSPENDABLEBALANCESRESPONSE"]._serialized_start = 1072 - _globals["_QUERYSPENDABLEBALANCESRESPONSE"]._serialized_end = 1304 - _globals["_QUERYSPENDABLEBALANCEBYDENOMREQUEST"]._serialized_start = 1306 - _globals["_QUERYSPENDABLEBALANCEBYDENOMREQUEST"]._serialized_end = 1427 - _globals["_QUERYSPENDABLEBALANCEBYDENOMRESPONSE"]._serialized_start = 1429 - _globals["_QUERYSPENDABLEBALANCEBYDENOMRESPONSE"]._serialized_end = 1520 - _globals["_QUERYTOTALSUPPLYREQUEST"]._serialized_start = 1522 - _globals["_QUERYTOTALSUPPLYREQUEST"]._serialized_end = 1629 - _globals["_QUERYTOTALSUPPLYRESPONSE"]._serialized_start = 1632 - _globals["_QUERYTOTALSUPPLYRESPONSE"]._serialized_end = 1854 - _globals["_QUERYSUPPLYOFREQUEST"]._serialized_start = 1856 - _globals["_QUERYSUPPLYOFREQUEST"]._serialized_end = 1900 - _globals["_QUERYSUPPLYOFRESPONSE"]._serialized_start = 1902 - _globals["_QUERYSUPPLYOFRESPONSE"]._serialized_end = 1987 - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 1989 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 2009 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 2011 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 2096 - _globals["_QUERYDENOMSMETADATAREQUEST"]._serialized_start = 2098 - _globals["_QUERYDENOMSMETADATAREQUEST"]._serialized_end = 2198 - _globals["_QUERYDENOMSMETADATARESPONSE"]._serialized_start = 2201 - _globals["_QUERYDENOMSMETADATARESPONSE"]._serialized_end = 2375 - _globals["_QUERYDENOMMETADATAREQUEST"]._serialized_start = 2377 - _globals["_QUERYDENOMMETADATAREQUEST"]._serialized_end = 2426 - _globals["_QUERYDENOMMETADATARESPONSE"]._serialized_start = 2428 - _globals["_QUERYDENOMMETADATARESPONSE"]._serialized_end = 2526 - _globals["_QUERYDENOMMETADATABYQUERYSTRINGREQUEST"]._serialized_start = 2528 - _globals["_QUERYDENOMMETADATABYQUERYSTRINGREQUEST"]._serialized_end = 2590 - _globals["_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE"]._serialized_start = 2592 - _globals["_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE"]._serialized_end = 2703 - _globals["_QUERYDENOMOWNERSREQUEST"]._serialized_start = 2705 - _globals["_QUERYDENOMOWNERSREQUEST"]._serialized_end = 2824 - _globals["_DENOMOWNER"]._serialized_start = 2827 - _globals["_DENOMOWNER"]._serialized_end = 2955 - _globals["_QUERYDENOMOWNERSRESPONSE"]._serialized_start = 2958 - _globals["_QUERYDENOMOWNERSRESPONSE"]._serialized_end = 3125 - _globals["_QUERYDENOMOWNERSBYQUERYREQUEST"]._serialized_start = 3127 - _globals["_QUERYDENOMOWNERSBYQUERYREQUEST"]._serialized_end = 3253 - _globals["_QUERYDENOMOWNERSBYQUERYRESPONSE"]._serialized_start = 3256 - _globals["_QUERYDENOMOWNERSBYQUERYRESPONSE"]._serialized_end = 3430 - _globals["_QUERYSENDENABLEDREQUEST"]._serialized_start = 3432 - _globals["_QUERYSENDENABLEDREQUEST"]._serialized_end = 3553 - _globals["_QUERYSENDENABLEDRESPONSE"]._serialized_start = 3556 - _globals["_QUERYSENDENABLEDRESPONSE"]._serialized_end = 3724 - _globals["_QUERY"]._serialized_start = 3727 - _globals["_QUERY"]._serialized_end = 5977 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' + _globals['_QUERYBALANCEREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYBALANCEREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYBALANCEREQUEST']._loaded_options = None + _globals['_QUERYBALANCEREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYALLBALANCESREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYALLBALANCESREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYALLBALANCESREQUEST']._loaded_options = None + _globals['_QUERYALLBALANCESREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYALLBALANCESRESPONSE'].fields_by_name['balances']._loaded_options = None + _globals['_QUERYALLBALANCESRESPONSE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_QUERYSPENDABLEBALANCESREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYSPENDABLEBALANCESREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYSPENDABLEBALANCESREQUEST']._loaded_options = None + _globals['_QUERYSPENDABLEBALANCESREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYSPENDABLEBALANCESRESPONSE'].fields_by_name['balances']._loaded_options = None + _globals['_QUERYSPENDABLEBALANCESRESPONSE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._loaded_options = None + _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYTOTALSUPPLYREQUEST']._loaded_options = None + _globals['_QUERYTOTALSUPPLYREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYTOTALSUPPLYRESPONSE'].fields_by_name['supply']._loaded_options = None + _globals['_QUERYTOTALSUPPLYRESPONSE'].fields_by_name['supply']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_QUERYSUPPLYOFRESPONSE'].fields_by_name['amount']._loaded_options = None + _globals['_QUERYSUPPLYOFRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDENOMSMETADATARESPONSE'].fields_by_name['metadatas']._loaded_options = None + _globals['_QUERYDENOMSMETADATARESPONSE'].fields_by_name['metadatas']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDENOMMETADATARESPONSE'].fields_by_name['metadata']._loaded_options = None + _globals['_QUERYDENOMMETADATARESPONSE'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE'].fields_by_name['metadata']._loaded_options = None + _globals['_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_DENOMOWNER'].fields_by_name['address']._loaded_options = None + _globals['_DENOMOWNER'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DENOMOWNER'].fields_by_name['balance']._loaded_options = None + _globals['_DENOMOWNER'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERY'].methods_by_name['Balance']._loaded_options = None + _globals['_QUERY'].methods_by_name['Balance']._serialized_options = b'\210\347\260*\001\202\323\344\223\0022\0220/cosmos/bank/v1beta1/balances/{address}/by_denom' + _globals['_QUERY'].methods_by_name['AllBalances']._loaded_options = None + _globals['_QUERY'].methods_by_name['AllBalances']._serialized_options = b'\210\347\260*\001\202\323\344\223\002)\022\'/cosmos/bank/v1beta1/balances/{address}' + _globals['_QUERY'].methods_by_name['SpendableBalances']._loaded_options = None + _globals['_QUERY'].methods_by_name['SpendableBalances']._serialized_options = b'\210\347\260*\001\202\323\344\223\0023\0221/cosmos/bank/v1beta1/spendable_balances/{address}' + _globals['_QUERY'].methods_by_name['SpendableBalanceByDenom']._loaded_options = None + _globals['_QUERY'].methods_by_name['SpendableBalanceByDenom']._serialized_options = b'\210\347\260*\001\202\323\344\223\002<\022:/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom' + _globals['_QUERY'].methods_by_name['TotalSupply']._loaded_options = None + _globals['_QUERY'].methods_by_name['TotalSupply']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/bank/v1beta1/supply' + _globals['_QUERY'].methods_by_name['SupplyOf']._loaded_options = None + _globals['_QUERY'].methods_by_name['SupplyOf']._serialized_options = b'\210\347\260*\001\202\323\344\223\002&\022$/cosmos/bank/v1beta1/supply/by_denom' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/bank/v1beta1/params' + _globals['_QUERY'].methods_by_name['DenomMetadata']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomMetadata']._serialized_options = b'\210\347\260*\001\202\323\344\223\002.\022,/cosmos/bank/v1beta1/denoms_metadata/{denom}' + _globals['_QUERY'].methods_by_name['DenomMetadataByQueryString']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomMetadataByQueryString']._serialized_options = b'\210\347\260*\001\202\323\344\223\0026\0224/cosmos/bank/v1beta1/denoms_metadata_by_query_string' + _globals['_QUERY'].methods_by_name['DenomsMetadata']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomsMetadata']._serialized_options = b'\210\347\260*\001\202\323\344\223\002&\022$/cosmos/bank/v1beta1/denoms_metadata' + _globals['_QUERY'].methods_by_name['DenomOwners']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomOwners']._serialized_options = b'\210\347\260*\001\202\323\344\223\002+\022)/cosmos/bank/v1beta1/denom_owners/{denom}' + _globals['_QUERY'].methods_by_name['DenomOwnersByQuery']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomOwnersByQuery']._serialized_options = b'\210\347\260*\001\202\323\344\223\002,\022*/cosmos/bank/v1beta1/denom_owners_by_query' + _globals['_QUERY'].methods_by_name['SendEnabled']._loaded_options = None + _globals['_QUERY'].methods_by_name['SendEnabled']._serialized_options = b'\210\347\260*\001\202\323\344\223\002#\022!/cosmos/bank/v1beta1/send_enabled' + _globals['_QUERYBALANCEREQUEST']._serialized_start=291 + _globals['_QUERYBALANCEREQUEST']._serialized_end=396 + _globals['_QUERYBALANCERESPONSE']._serialized_start=398 + _globals['_QUERYBALANCERESPONSE']._serialized_end=473 + _globals['_QUERYALLBALANCESREQUEST']._serialized_start=476 + _globals['_QUERYALLBALANCESREQUEST']._serialized_end=672 + _globals['_QUERYALLBALANCESRESPONSE']._serialized_start=675 + _globals['_QUERYALLBALANCESRESPONSE']._serialized_end=901 + _globals['_QUERYSPENDABLEBALANCESREQUEST']._serialized_start=904 + _globals['_QUERYSPENDABLEBALANCESREQUEST']._serialized_end=1069 + _globals['_QUERYSPENDABLEBALANCESRESPONSE']._serialized_start=1072 + _globals['_QUERYSPENDABLEBALANCESRESPONSE']._serialized_end=1304 + _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._serialized_start=1306 + _globals['_QUERYSPENDABLEBALANCEBYDENOMREQUEST']._serialized_end=1427 + _globals['_QUERYSPENDABLEBALANCEBYDENOMRESPONSE']._serialized_start=1429 + _globals['_QUERYSPENDABLEBALANCEBYDENOMRESPONSE']._serialized_end=1520 + _globals['_QUERYTOTALSUPPLYREQUEST']._serialized_start=1522 + _globals['_QUERYTOTALSUPPLYREQUEST']._serialized_end=1629 + _globals['_QUERYTOTALSUPPLYRESPONSE']._serialized_start=1632 + _globals['_QUERYTOTALSUPPLYRESPONSE']._serialized_end=1854 + _globals['_QUERYSUPPLYOFREQUEST']._serialized_start=1856 + _globals['_QUERYSUPPLYOFREQUEST']._serialized_end=1900 + _globals['_QUERYSUPPLYOFRESPONSE']._serialized_start=1902 + _globals['_QUERYSUPPLYOFRESPONSE']._serialized_end=1987 + _globals['_QUERYPARAMSREQUEST']._serialized_start=1989 + _globals['_QUERYPARAMSREQUEST']._serialized_end=2009 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=2011 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=2096 + _globals['_QUERYDENOMSMETADATAREQUEST']._serialized_start=2098 + _globals['_QUERYDENOMSMETADATAREQUEST']._serialized_end=2198 + _globals['_QUERYDENOMSMETADATARESPONSE']._serialized_start=2201 + _globals['_QUERYDENOMSMETADATARESPONSE']._serialized_end=2375 + _globals['_QUERYDENOMMETADATAREQUEST']._serialized_start=2377 + _globals['_QUERYDENOMMETADATAREQUEST']._serialized_end=2426 + _globals['_QUERYDENOMMETADATARESPONSE']._serialized_start=2428 + _globals['_QUERYDENOMMETADATARESPONSE']._serialized_end=2526 + _globals['_QUERYDENOMMETADATABYQUERYSTRINGREQUEST']._serialized_start=2528 + _globals['_QUERYDENOMMETADATABYQUERYSTRINGREQUEST']._serialized_end=2590 + _globals['_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE']._serialized_start=2592 + _globals['_QUERYDENOMMETADATABYQUERYSTRINGRESPONSE']._serialized_end=2703 + _globals['_QUERYDENOMOWNERSREQUEST']._serialized_start=2705 + _globals['_QUERYDENOMOWNERSREQUEST']._serialized_end=2824 + _globals['_DENOMOWNER']._serialized_start=2827 + _globals['_DENOMOWNER']._serialized_end=2955 + _globals['_QUERYDENOMOWNERSRESPONSE']._serialized_start=2958 + _globals['_QUERYDENOMOWNERSRESPONSE']._serialized_end=3125 + _globals['_QUERYDENOMOWNERSBYQUERYREQUEST']._serialized_start=3127 + _globals['_QUERYDENOMOWNERSBYQUERYREQUEST']._serialized_end=3253 + _globals['_QUERYDENOMOWNERSBYQUERYRESPONSE']._serialized_start=3256 + _globals['_QUERYDENOMOWNERSBYQUERYRESPONSE']._serialized_end=3430 + _globals['_QUERYSENDENABLEDREQUEST']._serialized_start=3432 + _globals['_QUERYSENDENABLEDREQUEST']._serialized_end=3553 + _globals['_QUERYSENDENABLEDRESPONSE']._serialized_start=3556 + _globals['_QUERYSENDENABLEDRESPONSE']._serialized_end=3724 + _globals['_QUERY']._serialized_start=3727 + _globals['_QUERY']._serialized_end=5977 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2_grpc.py index 51a385c2..2318f271 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -15,93 +16,82 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Balance = channel.unary_unary( - "/cosmos.bank.v1beta1.Query/Balance", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Query/Balance', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, + _registered_method=True) self.AllBalances = channel.unary_unary( - "/cosmos.bank.v1beta1.Query/AllBalances", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Query/AllBalances', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesResponse.FromString, + _registered_method=True) self.SpendableBalances = channel.unary_unary( - "/cosmos.bank.v1beta1.Query/SpendableBalances", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Query/SpendableBalances', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesResponse.FromString, + _registered_method=True) self.SpendableBalanceByDenom = channel.unary_unary( - "/cosmos.bank.v1beta1.Query/SpendableBalanceByDenom", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Query/SpendableBalanceByDenom', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomResponse.FromString, + _registered_method=True) self.TotalSupply = channel.unary_unary( - "/cosmos.bank.v1beta1.Query/TotalSupply", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Query/TotalSupply', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyResponse.FromString, + _registered_method=True) self.SupplyOf = channel.unary_unary( - "/cosmos.bank.v1beta1.Query/SupplyOf", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Query/SupplyOf', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfResponse.FromString, + _registered_method=True) self.Params = channel.unary_unary( - "/cosmos.bank.v1beta1.Query/Params", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Query/Params', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) self.DenomMetadata = channel.unary_unary( - "/cosmos.bank.v1beta1.Query/DenomMetadata", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Query/DenomMetadata', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataResponse.FromString, + _registered_method=True) self.DenomMetadataByQueryString = channel.unary_unary( - "/cosmos.bank.v1beta1.Query/DenomMetadataByQueryString", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Query/DenomMetadataByQueryString', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringResponse.FromString, + _registered_method=True) self.DenomsMetadata = channel.unary_unary( - "/cosmos.bank.v1beta1.Query/DenomsMetadata", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Query/DenomsMetadata', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataResponse.FromString, + _registered_method=True) self.DenomOwners = channel.unary_unary( - "/cosmos.bank.v1beta1.Query/DenomOwners", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Query/DenomOwners', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersResponse.FromString, + _registered_method=True) self.DenomOwnersByQuery = channel.unary_unary( - "/cosmos.bank.v1beta1.Query/DenomOwnersByQuery", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Query/DenomOwnersByQuery', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryResponse.FromString, + _registered_method=True) self.SendEnabled = channel.unary_unary( - "/cosmos.bank.v1beta1.Query/SendEnabled", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledRequest.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Query/SendEnabled', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledRequest.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def Balance(self, request, context): - """Balance queries the balance of a single coin for a single account.""" + """Balance queries the balance of a single coin for a single account. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AllBalances(self, request, context): """AllBalances queries the balance of all coins for a single account. @@ -110,8 +100,8 @@ def AllBalances(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SpendableBalances(self, request, context): """SpendableBalances queries the spendable balance of all coins for a single @@ -123,8 +113,8 @@ def SpendableBalances(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SpendableBalanceByDenom(self, request, context): """SpendableBalanceByDenom queries the spendable balance of a single denom for @@ -136,8 +126,8 @@ def SpendableBalanceByDenom(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TotalSupply(self, request, context): """TotalSupply queries the total supply of all coins. @@ -146,8 +136,8 @@ def TotalSupply(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SupplyOf(self, request, context): """SupplyOf queries the supply of a single coin. @@ -156,34 +146,37 @@ def SupplyOf(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Params(self, request, context): - """Params queries the parameters of x/bank module.""" + """Params queries the parameters of x/bank module. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DenomMetadata(self, request, context): - """DenomMetadata queries the client metadata of a given coin denomination.""" + """DenomMetadata queries the client metadata of a given coin denomination. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DenomMetadataByQueryString(self, request, context): - """DenomMetadataByQueryString queries the client metadata of a given coin denomination.""" + """DenomMetadataByQueryString queries the client metadata of a given coin denomination. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DenomsMetadata(self, request, context): """DenomsMetadata queries the client metadata for all registered coin denominations. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DenomOwners(self, request, context): """DenomOwners queries for all account addresses that own a particular token @@ -195,8 +188,8 @@ def DenomOwners(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DenomOwnersByQuery(self, request, context): """DenomOwnersByQuery queries for all account addresses that own a particular token @@ -205,8 +198,8 @@ def DenomOwnersByQuery(self, request, context): Since: cosmos-sdk 0.50.3 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SendEnabled(self, request, context): """SendEnabled queries for SendEnabled entries. @@ -218,104 +211,104 @@ def SendEnabled(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Balance": grpc.unary_unary_rpc_method_handler( - servicer.Balance, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.SerializeToString, - ), - "AllBalances": grpc.unary_unary_rpc_method_handler( - servicer.AllBalances, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesResponse.SerializeToString, - ), - "SpendableBalances": grpc.unary_unary_rpc_method_handler( - servicer.SpendableBalances, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesResponse.SerializeToString, - ), - "SpendableBalanceByDenom": grpc.unary_unary_rpc_method_handler( - servicer.SpendableBalanceByDenom, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomResponse.SerializeToString, - ), - "TotalSupply": grpc.unary_unary_rpc_method_handler( - servicer.TotalSupply, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyResponse.SerializeToString, - ), - "SupplyOf": grpc.unary_unary_rpc_method_handler( - servicer.SupplyOf, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfResponse.SerializeToString, - ), - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - "DenomMetadata": grpc.unary_unary_rpc_method_handler( - servicer.DenomMetadata, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataResponse.SerializeToString, - ), - "DenomMetadataByQueryString": grpc.unary_unary_rpc_method_handler( - servicer.DenomMetadataByQueryString, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringResponse.SerializeToString, - ), - "DenomsMetadata": grpc.unary_unary_rpc_method_handler( - servicer.DenomsMetadata, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataResponse.SerializeToString, - ), - "DenomOwners": grpc.unary_unary_rpc_method_handler( - servicer.DenomOwners, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersResponse.SerializeToString, - ), - "DenomOwnersByQuery": grpc.unary_unary_rpc_method_handler( - servicer.DenomOwnersByQuery, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryResponse.SerializeToString, - ), - "SendEnabled": grpc.unary_unary_rpc_method_handler( - servicer.SendEnabled, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledRequest.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledResponse.SerializeToString, - ), + 'Balance': grpc.unary_unary_rpc_method_handler( + servicer.Balance, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.SerializeToString, + ), + 'AllBalances': grpc.unary_unary_rpc_method_handler( + servicer.AllBalances, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesResponse.SerializeToString, + ), + 'SpendableBalances': grpc.unary_unary_rpc_method_handler( + servicer.SpendableBalances, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesResponse.SerializeToString, + ), + 'SpendableBalanceByDenom': grpc.unary_unary_rpc_method_handler( + servicer.SpendableBalanceByDenom, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomResponse.SerializeToString, + ), + 'TotalSupply': grpc.unary_unary_rpc_method_handler( + servicer.TotalSupply, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyResponse.SerializeToString, + ), + 'SupplyOf': grpc.unary_unary_rpc_method_handler( + servicer.SupplyOf, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfResponse.SerializeToString, + ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'DenomMetadata': grpc.unary_unary_rpc_method_handler( + servicer.DenomMetadata, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataResponse.SerializeToString, + ), + 'DenomMetadataByQueryString': grpc.unary_unary_rpc_method_handler( + servicer.DenomMetadataByQueryString, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringResponse.SerializeToString, + ), + 'DenomsMetadata': grpc.unary_unary_rpc_method_handler( + servicer.DenomsMetadata, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataResponse.SerializeToString, + ), + 'DenomOwners': grpc.unary_unary_rpc_method_handler( + servicer.DenomOwners, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersResponse.SerializeToString, + ), + 'DenomOwnersByQuery': grpc.unary_unary_rpc_method_handler( + servicer.DenomOwnersByQuery, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryResponse.SerializeToString, + ), + 'SendEnabled': grpc.unary_unary_rpc_method_handler( + servicer.SendEnabled, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledRequest.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.bank.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.bank.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.bank.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.bank.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ @staticmethod - def Balance( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Balance(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Query/Balance", + '/cosmos.bank.v1beta1.Query/Balance', cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, options, @@ -326,26 +319,23 @@ def Balance( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def AllBalances( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AllBalances(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Query/AllBalances", + '/cosmos.bank.v1beta1.Query/AllBalances', cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryAllBalancesResponse.FromString, options, @@ -356,26 +346,23 @@ def AllBalances( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SpendableBalances( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SpendableBalances(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Query/SpendableBalances", + '/cosmos.bank.v1beta1.Query/SpendableBalances', cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalancesResponse.FromString, options, @@ -386,26 +373,23 @@ def SpendableBalances( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SpendableBalanceByDenom( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SpendableBalanceByDenom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Query/SpendableBalanceByDenom", + '/cosmos.bank.v1beta1.Query/SpendableBalanceByDenom', cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySpendableBalanceByDenomResponse.FromString, options, @@ -416,26 +400,23 @@ def SpendableBalanceByDenom( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def TotalSupply( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def TotalSupply(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Query/TotalSupply", + '/cosmos.bank.v1beta1.Query/TotalSupply', cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryTotalSupplyResponse.FromString, options, @@ -446,26 +427,23 @@ def TotalSupply( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SupplyOf( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SupplyOf(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Query/SupplyOf", + '/cosmos.bank.v1beta1.Query/SupplyOf', cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySupplyOfResponse.FromString, options, @@ -476,26 +454,23 @@ def SupplyOf( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Query/Params", + '/cosmos.bank.v1beta1.Query/Params', cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -506,26 +481,23 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DenomMetadata( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DenomMetadata(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Query/DenomMetadata", + '/cosmos.bank.v1beta1.Query/DenomMetadata', cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataResponse.FromString, options, @@ -536,26 +508,23 @@ def DenomMetadata( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DenomMetadataByQueryString( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DenomMetadataByQueryString(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Query/DenomMetadataByQueryString", + '/cosmos.bank.v1beta1.Query/DenomMetadataByQueryString', cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomMetadataByQueryStringResponse.FromString, options, @@ -566,26 +535,23 @@ def DenomMetadataByQueryString( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DenomsMetadata( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DenomsMetadata(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Query/DenomsMetadata", + '/cosmos.bank.v1beta1.Query/DenomsMetadata', cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomsMetadataResponse.FromString, options, @@ -596,26 +562,23 @@ def DenomsMetadata( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DenomOwners( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DenomOwners(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Query/DenomOwners", + '/cosmos.bank.v1beta1.Query/DenomOwners', cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersResponse.FromString, options, @@ -626,26 +589,23 @@ def DenomOwners( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DenomOwnersByQuery( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DenomOwnersByQuery(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Query/DenomOwnersByQuery", + '/cosmos.bank.v1beta1.Query/DenomOwnersByQuery', cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QueryDenomOwnersByQueryResponse.FromString, options, @@ -656,26 +616,23 @@ def DenomOwnersByQuery( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SendEnabled( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SendEnabled(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Query/SendEnabled", + '/cosmos.bank.v1beta1.Query/SendEnabled', cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledRequest.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_query__pb2.QuerySendEnabledResponse.FromString, options, @@ -686,5 +643,4 @@ def SendEnabled( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py index 100813ed..eafe67c8 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -21,72 +20,56 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1c\x63osmos/bank/v1beta1/tx.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xac\x02\n\x07MsgSend\x12;\n\x0c\x66rom_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0b\x66romAddress\x12\x37\n\nto_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:0\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgSend"\x11\n\x0fMsgSendResponse"\xbc\x01\n\x0cMsgMultiSend\x12=\n\x06inputs\x18\x01 \x03(\x0b\x32\x1a.cosmos.bank.v1beta1.InputB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06inputs\x12@\n\x07outputs\x18\x02 \x03(\x0b\x32\x1b.cosmos.bank.v1beta1.OutputB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07outputs:+\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06inputs\x8a\xe7\xb0*\x17\x63osmos-sdk/MsgMultiSend"\x16\n\x14MsgMultiSendResponse"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/bank/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse"\xe9\x01\n\x11MsgSetSendEnabled\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x43\n\x0csend_enabled\x18\x02 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledR\x0bsendEnabled\x12&\n\x0fuse_default_for\x18\x03 \x03(\tR\ruseDefaultFor:/\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSetSendEnabled"\x1b\n\x19MsgSetSendEnabledResponse2\x81\x03\n\x03Msg\x12J\n\x04Send\x12\x1c.cosmos.bank.v1beta1.MsgSend\x1a$.cosmos.bank.v1beta1.MsgSendResponse\x12Y\n\tMultiSend\x12!.cosmos.bank.v1beta1.MsgMultiSend\x1a).cosmos.bank.v1beta1.MsgMultiSendResponse\x12\x62\n\x0cUpdateParams\x12$.cosmos.bank.v1beta1.MsgUpdateParams\x1a,.cosmos.bank.v1beta1.MsgUpdateParamsResponse\x12h\n\x0eSetSendEnabled\x12&.cosmos.bank.v1beta1.MsgSetSendEnabled\x1a..cosmos.bank.v1beta1.MsgSetSendEnabledResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.bank.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/bank/v1beta1/tx.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xac\x02\n\x07MsgSend\x12;\n\x0c\x66rom_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0b\x66romAddress\x12\x37\n\nto_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:0\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgSend\"\x11\n\x0fMsgSendResponse\"\xbc\x01\n\x0cMsgMultiSend\x12=\n\x06inputs\x18\x01 \x03(\x0b\x32\x1a.cosmos.bank.v1beta1.InputB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06inputs\x12@\n\x07outputs\x18\x02 \x03(\x0b\x32\x1b.cosmos.bank.v1beta1.OutputB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07outputs:+\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06inputs\x8a\xe7\xb0*\x17\x63osmos-sdk/MsgMultiSend\"\x16\n\x14MsgMultiSendResponse\"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.bank.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/bank/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xe9\x01\n\x11MsgSetSendEnabled\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x43\n\x0csend_enabled\x18\x02 \x03(\x0b\x32 .cosmos.bank.v1beta1.SendEnabledR\x0bsendEnabled\x12&\n\x0fuse_default_for\x18\x03 \x03(\tR\ruseDefaultFor:/\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSetSendEnabled\"\x1b\n\x19MsgSetSendEnabledResponse2\x81\x03\n\x03Msg\x12J\n\x04Send\x12\x1c.cosmos.bank.v1beta1.MsgSend\x1a$.cosmos.bank.v1beta1.MsgSendResponse\x12Y\n\tMultiSend\x12!.cosmos.bank.v1beta1.MsgMultiSend\x1a).cosmos.bank.v1beta1.MsgMultiSendResponse\x12\x62\n\x0cUpdateParams\x12$.cosmos.bank.v1beta1.MsgUpdateParams\x1a,.cosmos.bank.v1beta1.MsgUpdateParamsResponse\x12h\n\x0eSetSendEnabled\x12&.cosmos.bank.v1beta1.MsgSetSendEnabled\x1a..cosmos.bank.v1beta1.MsgSetSendEnabledResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.bank.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/bank/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Bank.V1beta1\xca\x02\x13\x43osmos\\Bank\\V1beta1\xe2\x02\x1f\x43osmos\\Bank\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Bank::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.bank.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.bank.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1" - ) - _globals["_MSGSEND"].fields_by_name["from_address"]._loaded_options = None - _globals["_MSGSEND"].fields_by_name["from_address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSEND"].fields_by_name["to_address"]._loaded_options = None - _globals["_MSGSEND"].fields_by_name["to_address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSEND"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGSEND"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_MSGSEND"]._loaded_options = None - _globals["_MSGSEND"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\014from_address\212\347\260*\022cosmos-sdk/MsgSend" - ) - _globals["_MSGMULTISEND"].fields_by_name["inputs"]._loaded_options = None - _globals["_MSGMULTISEND"].fields_by_name["inputs"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGMULTISEND"].fields_by_name["outputs"]._loaded_options = None - _globals["_MSGMULTISEND"].fields_by_name["outputs"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGMULTISEND"]._loaded_options = None - _globals["_MSGMULTISEND"]._serialized_options = ( - b"\350\240\037\000\202\347\260*\006inputs\212\347\260*\027cosmos-sdk/MsgMultiSend" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/bank/MsgUpdateParams" - ) - _globals["_MSGSETSENDENABLED"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGSETSENDENABLED"].fields_by_name[ - "authority" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSETSENDENABLED"]._loaded_options = None - _globals["_MSGSETSENDENABLED"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*\034cosmos-sdk/MsgSetSendEnabled" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGSEND"]._serialized_start = 211 - _globals["_MSGSEND"]._serialized_end = 511 - _globals["_MSGSENDRESPONSE"]._serialized_start = 513 - _globals["_MSGSENDRESPONSE"]._serialized_end = 530 - _globals["_MSGMULTISEND"]._serialized_start = 533 - _globals["_MSGMULTISEND"]._serialized_end = 721 - _globals["_MSGMULTISENDRESPONSE"]._serialized_start = 723 - _globals["_MSGMULTISENDRESPONSE"]._serialized_end = 745 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 748 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 939 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 941 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 966 - _globals["_MSGSETSENDENABLED"]._serialized_start = 969 - _globals["_MSGSETSENDENABLED"]._serialized_end = 1202 - _globals["_MSGSETSENDENABLEDRESPONSE"]._serialized_start = 1204 - _globals["_MSGSETSENDENABLEDRESPONSE"]._serialized_end = 1231 - _globals["_MSG"]._serialized_start = 1234 - _globals["_MSG"]._serialized_end = 1619 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.bank.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/bank/types\242\002\003CBX\252\002\023Cosmos.Bank.V1beta1\312\002\023Cosmos\\Bank\\V1beta1\342\002\037Cosmos\\Bank\\V1beta1\\GPBMetadata\352\002\025Cosmos::Bank::V1beta1' + _globals['_MSGSEND'].fields_by_name['from_address']._loaded_options = None + _globals['_MSGSEND'].fields_by_name['from_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSEND'].fields_by_name['to_address']._loaded_options = None + _globals['_MSGSEND'].fields_by_name['to_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSEND'].fields_by_name['amount']._loaded_options = None + _globals['_MSGSEND'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGSEND']._loaded_options = None + _globals['_MSGSEND']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\014from_address\212\347\260*\022cosmos-sdk/MsgSend' + _globals['_MSGMULTISEND'].fields_by_name['inputs']._loaded_options = None + _globals['_MSGMULTISEND'].fields_by_name['inputs']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGMULTISEND'].fields_by_name['outputs']._loaded_options = None + _globals['_MSGMULTISEND'].fields_by_name['outputs']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGMULTISEND']._loaded_options = None + _globals['_MSGMULTISEND']._serialized_options = b'\350\240\037\000\202\347\260*\006inputs\212\347\260*\027cosmos-sdk/MsgMultiSend' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/bank/MsgUpdateParams' + _globals['_MSGSETSENDENABLED'].fields_by_name['authority']._loaded_options = None + _globals['_MSGSETSENDENABLED'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSETSENDENABLED']._loaded_options = None + _globals['_MSGSETSENDENABLED']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\034cosmos-sdk/MsgSetSendEnabled' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGSEND']._serialized_start=211 + _globals['_MSGSEND']._serialized_end=511 + _globals['_MSGSENDRESPONSE']._serialized_start=513 + _globals['_MSGSENDRESPONSE']._serialized_end=530 + _globals['_MSGMULTISEND']._serialized_start=533 + _globals['_MSGMULTISEND']._serialized_end=721 + _globals['_MSGMULTISENDRESPONSE']._serialized_start=723 + _globals['_MSGMULTISENDRESPONSE']._serialized_end=745 + _globals['_MSGUPDATEPARAMS']._serialized_start=748 + _globals['_MSGUPDATEPARAMS']._serialized_end=939 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=941 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=966 + _globals['_MSGSETSENDENABLED']._serialized_start=969 + _globals['_MSGSETSENDENABLED']._serialized_end=1202 + _globals['_MSGSETSENDENABLEDRESPONSE']._serialized_start=1204 + _globals['_MSGSETSENDENABLEDRESPONSE']._serialized_end=1231 + _globals['_MSG']._serialized_start=1234 + _globals['_MSG']._serialized_end=1619 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2_grpc.py index 3e88b06c..1b438771 100644 --- a/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/bank/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the bank Msg service.""" + """Msg defines the bank Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,45 +16,44 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Send = channel.unary_unary( - "/cosmos.bank.v1beta1.Msg/Send", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Msg/Send', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, + _registered_method=True) self.MultiSend = channel.unary_unary( - "/cosmos.bank.v1beta1.Msg/MultiSend", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSend.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSendResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Msg/MultiSend', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSend.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSendResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( - "/cosmos.bank.v1beta1.Msg/UpdateParams", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Msg/UpdateParams', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) self.SetSendEnabled = channel.unary_unary( - "/cosmos.bank.v1beta1.Msg/SetSendEnabled", - request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabled.SerializeToString, - response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabledResponse.FromString, - _registered_method=True, - ) + '/cosmos.bank.v1beta1.Msg/SetSendEnabled', + request_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabled.SerializeToString, + response_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabledResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the bank Msg service.""" + """Msg defines the bank Msg service. + """ def Send(self, request, context): - """Send defines a method for sending coins from one account to another account.""" + """Send defines a method for sending coins from one account to another account. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def MultiSend(self, request, context): - """MultiSend defines a method for sending coins from some accounts to other accounts.""" + """MultiSend defines a method for sending coins from some accounts to other accounts. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateParams(self, request, context): """UpdateParams defines a governance operation for updating the x/bank module parameters. @@ -62,8 +62,8 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SetSendEnabled(self, request, context): """SetSendEnabled is a governance operation for setting the SendEnabled flag @@ -74,59 +74,59 @@ def SetSendEnabled(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "Send": grpc.unary_unary_rpc_method_handler( - servicer.Send, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSend.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSendResponse.SerializeToString, - ), - "MultiSend": grpc.unary_unary_rpc_method_handler( - servicer.MultiSend, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSend.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSendResponse.SerializeToString, - ), - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - "SetSendEnabled": grpc.unary_unary_rpc_method_handler( - servicer.SetSendEnabled, - request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabled.FromString, - response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabledResponse.SerializeToString, - ), + 'Send': grpc.unary_unary_rpc_method_handler( + servicer.Send, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSend.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSendResponse.SerializeToString, + ), + 'MultiSend': grpc.unary_unary_rpc_method_handler( + servicer.MultiSend, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSend.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSendResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'SetSendEnabled': grpc.unary_unary_rpc_method_handler( + servicer.SetSendEnabled, + request_deserializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabled.FromString, + response_serializer=cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabledResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.bank.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.bank.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.bank.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.bank.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the bank Msg service.""" + """Msg defines the bank Msg service. + """ @staticmethod - def Send( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Send(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Msg/Send", + '/cosmos.bank.v1beta1.Msg/Send', cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, options, @@ -137,26 +137,23 @@ def Send( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def MultiSend( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def MultiSend(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Msg/MultiSend", + '/cosmos.bank.v1beta1.Msg/MultiSend', cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSend.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgMultiSendResponse.FromString, options, @@ -167,26 +164,23 @@ def MultiSend( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Msg/UpdateParams", + '/cosmos.bank.v1beta1.Msg/UpdateParams', cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -197,26 +191,23 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SetSendEnabled( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SetSendEnabled(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.bank.v1beta1.Msg/SetSendEnabled", + '/cosmos.bank.v1beta1.Msg/SetSendEnabled', cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabled.SerializeToString, cosmos_dot_bank_dot_v1beta1_dot_tx__pb2.MsgSetSendEnabledResponse.FromString, options, @@ -227,5 +218,4 @@ def SetSendEnabled( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py index 0c99d186..c1104257 100644 --- a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py +++ b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,78 +18,70 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#cosmos/base/abci/v1beta1/abci.proto\x12\x18\x63osmos.base.abci.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1btendermint/abci/types.proto\x1a\x1ctendermint/types/block.proto\x1a\x19google/protobuf/any.proto"\xcc\x03\n\nTxResponse\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12"\n\x06txhash\x18\x02 \x01(\tB\n\xe2\xde\x1f\x06TxHashR\x06txhash\x12\x1c\n\tcodespace\x18\x03 \x01(\tR\tcodespace\x12\x12\n\x04\x63ode\x18\x04 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x05 \x01(\tR\x04\x64\x61ta\x12\x17\n\x07raw_log\x18\x06 \x01(\tR\x06rawLog\x12U\n\x04logs\x18\x07 \x03(\x0b\x32(.cosmos.base.abci.v1beta1.ABCIMessageLogB\x17\xc8\xde\x1f\x00\xaa\xdf\x1f\x0f\x41\x42\x43IMessageLogsR\x04logs\x12\x12\n\x04info\x18\x08 \x01(\tR\x04info\x12\x1d\n\ngas_wanted\x18\t \x01(\x03R\tgasWanted\x12\x19\n\x08gas_used\x18\n \x01(\x03R\x07gasUsed\x12$\n\x02tx\x18\x0b \x01(\x0b\x32\x14.google.protobuf.AnyR\x02tx\x12\x1c\n\ttimestamp\x18\x0c \x01(\tR\ttimestamp\x12\x34\n\x06\x65vents\x18\r \x03(\x0b\x32\x16.tendermint.abci.EventB\x04\xc8\xde\x1f\x00R\x06\x65vents:\x04\x88\xa0\x1f\x00"\xa9\x01\n\x0e\x41\x42\x43IMessageLog\x12*\n\tmsg_index\x18\x01 \x01(\rB\r\xea\xde\x1f\tmsg_indexR\x08msgIndex\x12\x10\n\x03log\x18\x02 \x01(\tR\x03log\x12S\n\x06\x65vents\x18\x03 \x03(\x0b\x32%.cosmos.base.abci.v1beta1.StringEventB\x14\xc8\xde\x1f\x00\xaa\xdf\x1f\x0cStringEventsR\x06\x65vents:\x04\x80\xdc \x01"r\n\x0bStringEvent\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12I\n\nattributes\x18\x02 \x03(\x0b\x32#.cosmos.base.abci.v1beta1.AttributeB\x04\xc8\xde\x1f\x00R\nattributes:\x04\x80\xdc \x01"3\n\tAttribute\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value"C\n\x07GasInfo\x12\x1d\n\ngas_wanted\x18\x01 \x01(\x04R\tgasWanted\x12\x19\n\x08gas_used\x18\x02 \x01(\x04R\x07gasUsed"\xa9\x01\n\x06Result\x12\x16\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x02\x18\x01R\x04\x64\x61ta\x12\x10\n\x03log\x18\x02 \x01(\tR\x03log\x12\x34\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x04\xc8\xde\x1f\x00R\x06\x65vents\x12\x39\n\rmsg_responses\x18\x04 \x03(\x0b\x32\x14.google.protobuf.AnyR\x0cmsgResponses:\x04\x88\xa0\x1f\x00"\x96\x01\n\x12SimulationResponse\x12\x46\n\x08gas_info\x18\x01 \x01(\x0b\x32!.cosmos.base.abci.v1beta1.GasInfoB\x08\xc8\xde\x1f\x00\xd0\xde\x1f\x01R\x07gasInfo\x12\x38\n\x06result\x18\x02 \x01(\x0b\x32 .cosmos.base.abci.v1beta1.ResultR\x06result"@\n\x07MsgData\x12\x19\n\x08msg_type\x18\x01 \x01(\tR\x07msgType\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta:\x06\x18\x01\x80\xdc \x01"\x87\x01\n\tTxMsgData\x12\x39\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32!.cosmos.base.abci.v1beta1.MsgDataB\x02\x18\x01R\x04\x64\x61ta\x12\x39\n\rmsg_responses\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x0cmsgResponses:\x04\x80\xdc \x01"\xdc\x01\n\x0fSearchTxsResult\x12\x1f\n\x0btotal_count\x18\x01 \x01(\x04R\ntotalCount\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\x12\x1f\n\x0bpage_number\x18\x03 \x01(\x04R\npageNumber\x12\x1d\n\npage_total\x18\x04 \x01(\x04R\tpageTotal\x12\x14\n\x05limit\x18\x05 \x01(\x04R\x05limit\x12\x36\n\x03txs\x18\x06 \x03(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\x03txs:\x04\x80\xdc \x01"\xd8\x01\n\x12SearchBlocksResult\x12\x1f\n\x0btotal_count\x18\x01 \x01(\x03R\ntotalCount\x12\x14\n\x05\x63ount\x18\x02 \x01(\x03R\x05\x63ount\x12\x1f\n\x0bpage_number\x18\x03 \x01(\x03R\npageNumber\x12\x1d\n\npage_total\x18\x04 \x01(\x03R\tpageTotal\x12\x14\n\x05limit\x18\x05 \x01(\x03R\x05limit\x12/\n\x06\x62locks\x18\x06 \x03(\x0b\x32\x17.tendermint.types.BlockR\x06\x62locks:\x04\x80\xdc \x01\x42\xd4\x01\n\x1c\x63om.cosmos.base.abci.v1beta1B\tAbciProtoP\x01Z"github.com/cosmos/cosmos-sdk/types\xa2\x02\x03\x43\x42\x41\xaa\x02\x18\x43osmos.Base.Abci.V1beta1\xca\x02\x18\x43osmos\\Base\\Abci\\V1beta1\xe2\x02$Cosmos\\Base\\Abci\\V1beta1\\GPBMetadata\xea\x02\x1b\x43osmos::Base::Abci::V1beta1\xd8\xe1\x1e\x00\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/base/abci/v1beta1/abci.proto\x12\x18\x63osmos.base.abci.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1btendermint/abci/types.proto\x1a\x1ctendermint/types/block.proto\x1a\x19google/protobuf/any.proto\"\xcc\x03\n\nTxResponse\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\"\n\x06txhash\x18\x02 \x01(\tB\n\xe2\xde\x1f\x06TxHashR\x06txhash\x12\x1c\n\tcodespace\x18\x03 \x01(\tR\tcodespace\x12\x12\n\x04\x63ode\x18\x04 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x05 \x01(\tR\x04\x64\x61ta\x12\x17\n\x07raw_log\x18\x06 \x01(\tR\x06rawLog\x12U\n\x04logs\x18\x07 \x03(\x0b\x32(.cosmos.base.abci.v1beta1.ABCIMessageLogB\x17\xc8\xde\x1f\x00\xaa\xdf\x1f\x0f\x41\x42\x43IMessageLogsR\x04logs\x12\x12\n\x04info\x18\x08 \x01(\tR\x04info\x12\x1d\n\ngas_wanted\x18\t \x01(\x03R\tgasWanted\x12\x19\n\x08gas_used\x18\n \x01(\x03R\x07gasUsed\x12$\n\x02tx\x18\x0b \x01(\x0b\x32\x14.google.protobuf.AnyR\x02tx\x12\x1c\n\ttimestamp\x18\x0c \x01(\tR\ttimestamp\x12\x34\n\x06\x65vents\x18\r \x03(\x0b\x32\x16.tendermint.abci.EventB\x04\xc8\xde\x1f\x00R\x06\x65vents:\x04\x88\xa0\x1f\x00\"\xa9\x01\n\x0e\x41\x42\x43IMessageLog\x12*\n\tmsg_index\x18\x01 \x01(\rB\r\xea\xde\x1f\tmsg_indexR\x08msgIndex\x12\x10\n\x03log\x18\x02 \x01(\tR\x03log\x12S\n\x06\x65vents\x18\x03 \x03(\x0b\x32%.cosmos.base.abci.v1beta1.StringEventB\x14\xc8\xde\x1f\x00\xaa\xdf\x1f\x0cStringEventsR\x06\x65vents:\x04\x80\xdc \x01\"r\n\x0bStringEvent\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12I\n\nattributes\x18\x02 \x03(\x0b\x32#.cosmos.base.abci.v1beta1.AttributeB\x04\xc8\xde\x1f\x00R\nattributes:\x04\x80\xdc \x01\"3\n\tAttribute\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\"C\n\x07GasInfo\x12\x1d\n\ngas_wanted\x18\x01 \x01(\x04R\tgasWanted\x12\x19\n\x08gas_used\x18\x02 \x01(\x04R\x07gasUsed\"\xa9\x01\n\x06Result\x12\x16\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x02\x18\x01R\x04\x64\x61ta\x12\x10\n\x03log\x18\x02 \x01(\tR\x03log\x12\x34\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x04\xc8\xde\x1f\x00R\x06\x65vents\x12\x39\n\rmsg_responses\x18\x04 \x03(\x0b\x32\x14.google.protobuf.AnyR\x0cmsgResponses:\x04\x88\xa0\x1f\x00\"\x96\x01\n\x12SimulationResponse\x12\x46\n\x08gas_info\x18\x01 \x01(\x0b\x32!.cosmos.base.abci.v1beta1.GasInfoB\x08\xc8\xde\x1f\x00\xd0\xde\x1f\x01R\x07gasInfo\x12\x38\n\x06result\x18\x02 \x01(\x0b\x32 .cosmos.base.abci.v1beta1.ResultR\x06result\"@\n\x07MsgData\x12\x19\n\x08msg_type\x18\x01 \x01(\tR\x07msgType\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta:\x06\x18\x01\x80\xdc \x01\"\x87\x01\n\tTxMsgData\x12\x39\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32!.cosmos.base.abci.v1beta1.MsgDataB\x02\x18\x01R\x04\x64\x61ta\x12\x39\n\rmsg_responses\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x0cmsgResponses:\x04\x80\xdc \x01\"\xdc\x01\n\x0fSearchTxsResult\x12\x1f\n\x0btotal_count\x18\x01 \x01(\x04R\ntotalCount\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\x12\x1f\n\x0bpage_number\x18\x03 \x01(\x04R\npageNumber\x12\x1d\n\npage_total\x18\x04 \x01(\x04R\tpageTotal\x12\x14\n\x05limit\x18\x05 \x01(\x04R\x05limit\x12\x36\n\x03txs\x18\x06 \x03(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\x03txs:\x04\x80\xdc \x01\"\xd8\x01\n\x12SearchBlocksResult\x12\x1f\n\x0btotal_count\x18\x01 \x01(\x03R\ntotalCount\x12\x14\n\x05\x63ount\x18\x02 \x01(\x03R\x05\x63ount\x12\x1f\n\x0bpage_number\x18\x03 \x01(\x03R\npageNumber\x12\x1d\n\npage_total\x18\x04 \x01(\x03R\tpageTotal\x12\x14\n\x05limit\x18\x05 \x01(\x03R\x05limit\x12/\n\x06\x62locks\x18\x06 \x03(\x0b\x32\x17.tendermint.types.BlockR\x06\x62locks:\x04\x80\xdc \x01\x42\xd4\x01\n\x1c\x63om.cosmos.base.abci.v1beta1B\tAbciProtoP\x01Z\"github.com/cosmos/cosmos-sdk/types\xa2\x02\x03\x43\x42\x41\xaa\x02\x18\x43osmos.Base.Abci.V1beta1\xca\x02\x18\x43osmos\\Base\\Abci\\V1beta1\xe2\x02$Cosmos\\Base\\Abci\\V1beta1\\GPBMetadata\xea\x02\x1b\x43osmos::Base::Abci::V1beta1\xd8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.base.abci.v1beta1.abci_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.abci.v1beta1.abci_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\034com.cosmos.base.abci.v1beta1B\tAbciProtoP\001Z"github.com/cosmos/cosmos-sdk/types\242\002\003CBA\252\002\030Cosmos.Base.Abci.V1beta1\312\002\030Cosmos\\Base\\Abci\\V1beta1\342\002$Cosmos\\Base\\Abci\\V1beta1\\GPBMetadata\352\002\033Cosmos::Base::Abci::V1beta1\330\341\036\000' - ) - _globals["_TXRESPONSE"].fields_by_name["txhash"]._loaded_options = None - _globals["_TXRESPONSE"].fields_by_name["txhash"]._serialized_options = b"\342\336\037\006TxHash" - _globals["_TXRESPONSE"].fields_by_name["logs"]._loaded_options = None - _globals["_TXRESPONSE"].fields_by_name[ - "logs" - ]._serialized_options = b"\310\336\037\000\252\337\037\017ABCIMessageLogs" - _globals["_TXRESPONSE"].fields_by_name["events"]._loaded_options = None - _globals["_TXRESPONSE"].fields_by_name["events"]._serialized_options = b"\310\336\037\000" - _globals["_TXRESPONSE"]._loaded_options = None - _globals["_TXRESPONSE"]._serialized_options = b"\210\240\037\000" - _globals["_ABCIMESSAGELOG"].fields_by_name["msg_index"]._loaded_options = None - _globals["_ABCIMESSAGELOG"].fields_by_name["msg_index"]._serialized_options = b"\352\336\037\tmsg_index" - _globals["_ABCIMESSAGELOG"].fields_by_name["events"]._loaded_options = None - _globals["_ABCIMESSAGELOG"].fields_by_name[ - "events" - ]._serialized_options = b"\310\336\037\000\252\337\037\014StringEvents" - _globals["_ABCIMESSAGELOG"]._loaded_options = None - _globals["_ABCIMESSAGELOG"]._serialized_options = b"\200\334 \001" - _globals["_STRINGEVENT"].fields_by_name["attributes"]._loaded_options = None - _globals["_STRINGEVENT"].fields_by_name["attributes"]._serialized_options = b"\310\336\037\000" - _globals["_STRINGEVENT"]._loaded_options = None - _globals["_STRINGEVENT"]._serialized_options = b"\200\334 \001" - _globals["_RESULT"].fields_by_name["data"]._loaded_options = None - _globals["_RESULT"].fields_by_name["data"]._serialized_options = b"\030\001" - _globals["_RESULT"].fields_by_name["events"]._loaded_options = None - _globals["_RESULT"].fields_by_name["events"]._serialized_options = b"\310\336\037\000" - _globals["_RESULT"]._loaded_options = None - _globals["_RESULT"]._serialized_options = b"\210\240\037\000" - _globals["_SIMULATIONRESPONSE"].fields_by_name["gas_info"]._loaded_options = None - _globals["_SIMULATIONRESPONSE"].fields_by_name["gas_info"]._serialized_options = b"\310\336\037\000\320\336\037\001" - _globals["_MSGDATA"]._loaded_options = None - _globals["_MSGDATA"]._serialized_options = b"\030\001\200\334 \001" - _globals["_TXMSGDATA"].fields_by_name["data"]._loaded_options = None - _globals["_TXMSGDATA"].fields_by_name["data"]._serialized_options = b"\030\001" - _globals["_TXMSGDATA"]._loaded_options = None - _globals["_TXMSGDATA"]._serialized_options = b"\200\334 \001" - _globals["_SEARCHTXSRESULT"]._loaded_options = None - _globals["_SEARCHTXSRESULT"]._serialized_options = b"\200\334 \001" - _globals["_SEARCHBLOCKSRESULT"]._loaded_options = None - _globals["_SEARCHBLOCKSRESULT"]._serialized_options = b"\200\334 \001" - _globals["_TXRESPONSE"]._serialized_start = 174 - _globals["_TXRESPONSE"]._serialized_end = 634 - _globals["_ABCIMESSAGELOG"]._serialized_start = 637 - _globals["_ABCIMESSAGELOG"]._serialized_end = 806 - _globals["_STRINGEVENT"]._serialized_start = 808 - _globals["_STRINGEVENT"]._serialized_end = 922 - _globals["_ATTRIBUTE"]._serialized_start = 924 - _globals["_ATTRIBUTE"]._serialized_end = 975 - _globals["_GASINFO"]._serialized_start = 977 - _globals["_GASINFO"]._serialized_end = 1044 - _globals["_RESULT"]._serialized_start = 1047 - _globals["_RESULT"]._serialized_end = 1216 - _globals["_SIMULATIONRESPONSE"]._serialized_start = 1219 - _globals["_SIMULATIONRESPONSE"]._serialized_end = 1369 - _globals["_MSGDATA"]._serialized_start = 1371 - _globals["_MSGDATA"]._serialized_end = 1435 - _globals["_TXMSGDATA"]._serialized_start = 1438 - _globals["_TXMSGDATA"]._serialized_end = 1573 - _globals["_SEARCHTXSRESULT"]._serialized_start = 1576 - _globals["_SEARCHTXSRESULT"]._serialized_end = 1796 - _globals["_SEARCHBLOCKSRESULT"]._serialized_start = 1799 - _globals["_SEARCHBLOCKSRESULT"]._serialized_end = 2015 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.base.abci.v1beta1B\tAbciProtoP\001Z\"github.com/cosmos/cosmos-sdk/types\242\002\003CBA\252\002\030Cosmos.Base.Abci.V1beta1\312\002\030Cosmos\\Base\\Abci\\V1beta1\342\002$Cosmos\\Base\\Abci\\V1beta1\\GPBMetadata\352\002\033Cosmos::Base::Abci::V1beta1\330\341\036\000' + _globals['_TXRESPONSE'].fields_by_name['txhash']._loaded_options = None + _globals['_TXRESPONSE'].fields_by_name['txhash']._serialized_options = b'\342\336\037\006TxHash' + _globals['_TXRESPONSE'].fields_by_name['logs']._loaded_options = None + _globals['_TXRESPONSE'].fields_by_name['logs']._serialized_options = b'\310\336\037\000\252\337\037\017ABCIMessageLogs' + _globals['_TXRESPONSE'].fields_by_name['events']._loaded_options = None + _globals['_TXRESPONSE'].fields_by_name['events']._serialized_options = b'\310\336\037\000' + _globals['_TXRESPONSE']._loaded_options = None + _globals['_TXRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_ABCIMESSAGELOG'].fields_by_name['msg_index']._loaded_options = None + _globals['_ABCIMESSAGELOG'].fields_by_name['msg_index']._serialized_options = b'\352\336\037\tmsg_index' + _globals['_ABCIMESSAGELOG'].fields_by_name['events']._loaded_options = None + _globals['_ABCIMESSAGELOG'].fields_by_name['events']._serialized_options = b'\310\336\037\000\252\337\037\014StringEvents' + _globals['_ABCIMESSAGELOG']._loaded_options = None + _globals['_ABCIMESSAGELOG']._serialized_options = b'\200\334 \001' + _globals['_STRINGEVENT'].fields_by_name['attributes']._loaded_options = None + _globals['_STRINGEVENT'].fields_by_name['attributes']._serialized_options = b'\310\336\037\000' + _globals['_STRINGEVENT']._loaded_options = None + _globals['_STRINGEVENT']._serialized_options = b'\200\334 \001' + _globals['_RESULT'].fields_by_name['data']._loaded_options = None + _globals['_RESULT'].fields_by_name['data']._serialized_options = b'\030\001' + _globals['_RESULT'].fields_by_name['events']._loaded_options = None + _globals['_RESULT'].fields_by_name['events']._serialized_options = b'\310\336\037\000' + _globals['_RESULT']._loaded_options = None + _globals['_RESULT']._serialized_options = b'\210\240\037\000' + _globals['_SIMULATIONRESPONSE'].fields_by_name['gas_info']._loaded_options = None + _globals['_SIMULATIONRESPONSE'].fields_by_name['gas_info']._serialized_options = b'\310\336\037\000\320\336\037\001' + _globals['_MSGDATA']._loaded_options = None + _globals['_MSGDATA']._serialized_options = b'\030\001\200\334 \001' + _globals['_TXMSGDATA'].fields_by_name['data']._loaded_options = None + _globals['_TXMSGDATA'].fields_by_name['data']._serialized_options = b'\030\001' + _globals['_TXMSGDATA']._loaded_options = None + _globals['_TXMSGDATA']._serialized_options = b'\200\334 \001' + _globals['_SEARCHTXSRESULT']._loaded_options = None + _globals['_SEARCHTXSRESULT']._serialized_options = b'\200\334 \001' + _globals['_SEARCHBLOCKSRESULT']._loaded_options = None + _globals['_SEARCHBLOCKSRESULT']._serialized_options = b'\200\334 \001' + _globals['_TXRESPONSE']._serialized_start=174 + _globals['_TXRESPONSE']._serialized_end=634 + _globals['_ABCIMESSAGELOG']._serialized_start=637 + _globals['_ABCIMESSAGELOG']._serialized_end=806 + _globals['_STRINGEVENT']._serialized_start=808 + _globals['_STRINGEVENT']._serialized_end=922 + _globals['_ATTRIBUTE']._serialized_start=924 + _globals['_ATTRIBUTE']._serialized_end=975 + _globals['_GASINFO']._serialized_start=977 + _globals['_GASINFO']._serialized_end=1044 + _globals['_RESULT']._serialized_start=1047 + _globals['_RESULT']._serialized_end=1216 + _globals['_SIMULATIONRESPONSE']._serialized_start=1219 + _globals['_SIMULATIONRESPONSE']._serialized_end=1369 + _globals['_MSGDATA']._serialized_start=1371 + _globals['_MSGDATA']._serialized_end=1435 + _globals['_TXMSGDATA']._serialized_start=1438 + _globals['_TXMSGDATA']._serialized_end=1573 + _globals['_SEARCHTXSRESULT']._serialized_start=1576 + _globals['_SEARCHTXSRESULT']._serialized_end=1796 + _globals['_SEARCHBLOCKSRESULT']._serialized_start=1799 + _globals['_SEARCHBLOCKSRESULT']._serialized_end=2015 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2_grpc.py b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2_grpc.py +++ b/pyinjective/proto/cosmos/base/abci/v1beta1/abci_pb2_grpc.py @@ -1,3 +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/cosmos/base/node/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py index 2325ae40..4c3aa7b6 100644 --- a/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,36 +17,28 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$cosmos/base/node/v1beta1/query.proto\x12\x18\x63osmos.base.node.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto"\x0f\n\rConfigRequest"\xb8\x01\n\x0e\x43onfigResponse\x12*\n\x11minimum_gas_price\x18\x01 \x01(\tR\x0fminimumGasPrice\x12.\n\x13pruning_keep_recent\x18\x02 \x01(\tR\x11pruningKeepRecent\x12)\n\x10pruning_interval\x18\x03 \x01(\tR\x0fpruningInterval\x12\x1f\n\x0bhalt_height\x18\x04 \x01(\x04R\nhaltHeight"\x0f\n\rStatusRequest"\xde\x01\n\x0eStatusResponse\x12\x32\n\x15\x65\x61rliest_store_height\x18\x01 \x01(\x04R\x13\x65\x61rliestStoreHeight\x12\x16\n\x06height\x18\x02 \x01(\x04R\x06height\x12>\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\ttimestamp\x12\x19\n\x08\x61pp_hash\x18\x04 \x01(\x0cR\x07\x61ppHash\x12%\n\x0evalidator_hash\x18\x05 \x01(\x0cR\rvalidatorHash2\x99\x02\n\x07Service\x12\x85\x01\n\x06\x43onfig\x12\'.cosmos.base.node.v1beta1.ConfigRequest\x1a(.cosmos.base.node.v1beta1.ConfigResponse"(\x82\xd3\xe4\x93\x02"\x12 /cosmos/base/node/v1beta1/config\x12\x85\x01\n\x06Status\x12\'.cosmos.base.node.v1beta1.StatusRequest\x1a(.cosmos.base.node.v1beta1.StatusResponse"(\x82\xd3\xe4\x93\x02"\x12 /cosmos/base/node/v1beta1/statusB\xdc\x01\n\x1c\x63om.cosmos.base.node.v1beta1B\nQueryProtoP\x01Z-github.com/cosmos/cosmos-sdk/client/grpc/node\xa2\x02\x03\x43\x42N\xaa\x02\x18\x43osmos.Base.Node.V1beta1\xca\x02\x18\x43osmos\\Base\\Node\\V1beta1\xe2\x02$Cosmos\\Base\\Node\\V1beta1\\GPBMetadata\xea\x02\x1b\x43osmos::Base::Node::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/base/node/v1beta1/query.proto\x12\x18\x63osmos.base.node.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\"\x0f\n\rConfigRequest\"\xb8\x01\n\x0e\x43onfigResponse\x12*\n\x11minimum_gas_price\x18\x01 \x01(\tR\x0fminimumGasPrice\x12.\n\x13pruning_keep_recent\x18\x02 \x01(\tR\x11pruningKeepRecent\x12)\n\x10pruning_interval\x18\x03 \x01(\tR\x0fpruningInterval\x12\x1f\n\x0bhalt_height\x18\x04 \x01(\x04R\nhaltHeight\"\x0f\n\rStatusRequest\"\xde\x01\n\x0eStatusResponse\x12\x32\n\x15\x65\x61rliest_store_height\x18\x01 \x01(\x04R\x13\x65\x61rliestStoreHeight\x12\x16\n\x06height\x18\x02 \x01(\x04R\x06height\x12>\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\ttimestamp\x12\x19\n\x08\x61pp_hash\x18\x04 \x01(\x0cR\x07\x61ppHash\x12%\n\x0evalidator_hash\x18\x05 \x01(\x0cR\rvalidatorHash2\x99\x02\n\x07Service\x12\x85\x01\n\x06\x43onfig\x12\'.cosmos.base.node.v1beta1.ConfigRequest\x1a(.cosmos.base.node.v1beta1.ConfigResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmos/base/node/v1beta1/config\x12\x85\x01\n\x06Status\x12\'.cosmos.base.node.v1beta1.StatusRequest\x1a(.cosmos.base.node.v1beta1.StatusResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmos/base/node/v1beta1/statusB\xdc\x01\n\x1c\x63om.cosmos.base.node.v1beta1B\nQueryProtoP\x01Z-github.com/cosmos/cosmos-sdk/client/grpc/node\xa2\x02\x03\x43\x42N\xaa\x02\x18\x43osmos.Base.Node.V1beta1\xca\x02\x18\x43osmos\\Base\\Node\\V1beta1\xe2\x02$Cosmos\\Base\\Node\\V1beta1\\GPBMetadata\xea\x02\x1b\x43osmos::Base::Node::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.base.node.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.node.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\034com.cosmos.base.node.v1beta1B\nQueryProtoP\001Z-github.com/cosmos/cosmos-sdk/client/grpc/node\242\002\003CBN\252\002\030Cosmos.Base.Node.V1beta1\312\002\030Cosmos\\Base\\Node\\V1beta1\342\002$Cosmos\\Base\\Node\\V1beta1\\GPBMetadata\352\002\033Cosmos::Base::Node::V1beta1" - ) - _globals["_STATUSRESPONSE"].fields_by_name["timestamp"]._loaded_options = None - _globals["_STATUSRESPONSE"].fields_by_name["timestamp"]._serialized_options = b"\220\337\037\001" - _globals["_SERVICE"].methods_by_name["Config"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "Config" - ]._serialized_options = b'\202\323\344\223\002"\022 /cosmos/base/node/v1beta1/config' - _globals["_SERVICE"].methods_by_name["Status"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "Status" - ]._serialized_options = b'\202\323\344\223\002"\022 /cosmos/base/node/v1beta1/status' - _globals["_CONFIGREQUEST"]._serialized_start = 151 - _globals["_CONFIGREQUEST"]._serialized_end = 166 - _globals["_CONFIGRESPONSE"]._serialized_start = 169 - _globals["_CONFIGRESPONSE"]._serialized_end = 353 - _globals["_STATUSREQUEST"]._serialized_start = 355 - _globals["_STATUSREQUEST"]._serialized_end = 370 - _globals["_STATUSRESPONSE"]._serialized_start = 373 - _globals["_STATUSRESPONSE"]._serialized_end = 595 - _globals["_SERVICE"]._serialized_start = 598 - _globals["_SERVICE"]._serialized_end = 879 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.base.node.v1beta1B\nQueryProtoP\001Z-github.com/cosmos/cosmos-sdk/client/grpc/node\242\002\003CBN\252\002\030Cosmos.Base.Node.V1beta1\312\002\030Cosmos\\Base\\Node\\V1beta1\342\002$Cosmos\\Base\\Node\\V1beta1\\GPBMetadata\352\002\033Cosmos::Base::Node::V1beta1' + _globals['_STATUSRESPONSE'].fields_by_name['timestamp']._loaded_options = None + _globals['_STATUSRESPONSE'].fields_by_name['timestamp']._serialized_options = b'\220\337\037\001' + _globals['_SERVICE'].methods_by_name['Config']._loaded_options = None + _globals['_SERVICE'].methods_by_name['Config']._serialized_options = b'\202\323\344\223\002\"\022 /cosmos/base/node/v1beta1/config' + _globals['_SERVICE'].methods_by_name['Status']._loaded_options = None + _globals['_SERVICE'].methods_by_name['Status']._serialized_options = b'\202\323\344\223\002\"\022 /cosmos/base/node/v1beta1/status' + _globals['_CONFIGREQUEST']._serialized_start=151 + _globals['_CONFIGREQUEST']._serialized_end=166 + _globals['_CONFIGRESPONSE']._serialized_start=169 + _globals['_CONFIGRESPONSE']._serialized_end=353 + _globals['_STATUSREQUEST']._serialized_start=355 + _globals['_STATUSREQUEST']._serialized_end=370 + _globals['_STATUSRESPONSE']._serialized_start=373 + _globals['_STATUSRESPONSE']._serialized_end=595 + _globals['_SERVICE']._serialized_start=598 + _globals['_SERVICE']._serialized_end=879 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2_grpc.py index acd4348d..3cc93343 100644 --- a/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/base/node/v1beta1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class ServiceStub(object): - """Service defines the gRPC querier service for node related queries.""" + """Service defines the gRPC querier service for node related queries. + """ def __init__(self, channel): """Constructor. @@ -15,74 +16,75 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Config = channel.unary_unary( - "/cosmos.base.node.v1beta1.Service/Config", - request_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigResponse.FromString, - _registered_method=True, - ) + '/cosmos.base.node.v1beta1.Service/Config', + request_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigResponse.FromString, + _registered_method=True) self.Status = channel.unary_unary( - "/cosmos.base.node.v1beta1.Service/Status", - request_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusResponse.FromString, - _registered_method=True, - ) + '/cosmos.base.node.v1beta1.Service/Status', + request_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusResponse.FromString, + _registered_method=True) class ServiceServicer(object): - """Service defines the gRPC querier service for node related queries.""" + """Service defines the gRPC querier service for node related queries. + """ def Config(self, request, context): - """Config queries for the operator configuration.""" + """Config queries for the operator configuration. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Status(self, request, context): - """Status queries for the node status.""" + """Status queries for the node status. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_ServiceServicer_to_server(servicer, server): rpc_method_handlers = { - "Config": grpc.unary_unary_rpc_method_handler( - servicer.Config, - request_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigRequest.FromString, - response_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigResponse.SerializeToString, - ), - "Status": grpc.unary_unary_rpc_method_handler( - servicer.Status, - request_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusRequest.FromString, - response_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusResponse.SerializeToString, - ), + 'Config': grpc.unary_unary_rpc_method_handler( + servicer.Config, + request_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigRequest.FromString, + response_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigResponse.SerializeToString, + ), + 'Status': grpc.unary_unary_rpc_method_handler( + servicer.Status, + request_deserializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusRequest.FromString, + response_serializer=cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.base.node.v1beta1.Service", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.base.node.v1beta1.Service', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.base.node.v1beta1.Service", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.base.node.v1beta1.Service', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Service(object): - """Service defines the gRPC querier service for node related queries.""" + """Service defines the gRPC querier service for node related queries. + """ @staticmethod - def Config( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Config(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.base.node.v1beta1.Service/Config", + '/cosmos.base.node.v1beta1.Service/Config', cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigRequest.SerializeToString, cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.ConfigResponse.FromString, options, @@ -93,26 +95,23 @@ def Config( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Status( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Status(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.base.node.v1beta1.Service/Status", + '/cosmos.base.node.v1beta1.Service/Status', cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusRequest.SerializeToString, cosmos_dot_base_dot_node_dot_v1beta1_dot_query__pb2.StatusResponse.FromString, options, @@ -123,5 +122,4 @@ def Status( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py index 0187fdd9..82ad6736 100644 --- a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py +++ b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2.py @@ -7,26 +7,23 @@ 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*cosmos/base/query/v1beta1/pagination.proto\x12\x19\x63osmos.base.query.v1beta1"\x88\x01\n\x0bPageRequest\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x16\n\x06offset\x18\x02 \x01(\x04R\x06offset\x12\x14\n\x05limit\x18\x03 \x01(\x04R\x05limit\x12\x1f\n\x0b\x63ount_total\x18\x04 \x01(\x08R\ncountTotal\x12\x18\n\x07reverse\x18\x05 \x01(\x08R\x07reverse"?\n\x0cPageResponse\x12\x19\n\x08next_key\x18\x01 \x01(\x0cR\x07nextKey\x12\x14\n\x05total\x18\x02 \x01(\x04R\x05totalB\xe1\x01\n\x1d\x63om.cosmos.base.query.v1beta1B\x0fPaginationProtoP\x01Z(github.com/cosmos/cosmos-sdk/types/query\xa2\x02\x03\x43\x42Q\xaa\x02\x19\x43osmos.Base.Query.V1beta1\xca\x02\x19\x43osmos\\Base\\Query\\V1beta1\xe2\x02%Cosmos\\Base\\Query\\V1beta1\\GPBMetadata\xea\x02\x1c\x43osmos::Base::Query::V1beta1b\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*cosmos/base/query/v1beta1/pagination.proto\x12\x19\x63osmos.base.query.v1beta1\"\x88\x01\n\x0bPageRequest\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x16\n\x06offset\x18\x02 \x01(\x04R\x06offset\x12\x14\n\x05limit\x18\x03 \x01(\x04R\x05limit\x12\x1f\n\x0b\x63ount_total\x18\x04 \x01(\x08R\ncountTotal\x12\x18\n\x07reverse\x18\x05 \x01(\x08R\x07reverse\"?\n\x0cPageResponse\x12\x19\n\x08next_key\x18\x01 \x01(\x0cR\x07nextKey\x12\x14\n\x05total\x18\x02 \x01(\x04R\x05totalB\xe1\x01\n\x1d\x63om.cosmos.base.query.v1beta1B\x0fPaginationProtoP\x01Z(github.com/cosmos/cosmos-sdk/types/query\xa2\x02\x03\x43\x42Q\xaa\x02\x19\x43osmos.Base.Query.V1beta1\xca\x02\x19\x43osmos\\Base\\Query\\V1beta1\xe2\x02%Cosmos\\Base\\Query\\V1beta1\\GPBMetadata\xea\x02\x1c\x43osmos::Base::Query::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.base.query.v1beta1.pagination_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.query.v1beta1.pagination_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\035com.cosmos.base.query.v1beta1B\017PaginationProtoP\001Z(github.com/cosmos/cosmos-sdk/types/query\242\002\003CBQ\252\002\031Cosmos.Base.Query.V1beta1\312\002\031Cosmos\\Base\\Query\\V1beta1\342\002%Cosmos\\Base\\Query\\V1beta1\\GPBMetadata\352\002\034Cosmos::Base::Query::V1beta1" - ) - _globals["_PAGEREQUEST"]._serialized_start = 74 - _globals["_PAGEREQUEST"]._serialized_end = 210 - _globals["_PAGERESPONSE"]._serialized_start = 212 - _globals["_PAGERESPONSE"]._serialized_end = 275 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.base.query.v1beta1B\017PaginationProtoP\001Z(github.com/cosmos/cosmos-sdk/types/query\242\002\003CBQ\252\002\031Cosmos.Base.Query.V1beta1\312\002\031Cosmos\\Base\\Query\\V1beta1\342\002%Cosmos\\Base\\Query\\V1beta1\\GPBMetadata\352\002\034Cosmos::Base::Query::V1beta1' + _globals['_PAGEREQUEST']._serialized_start=74 + _globals['_PAGEREQUEST']._serialized_end=210 + _globals['_PAGERESPONSE']._serialized_start=212 + _globals['_PAGERESPONSE']._serialized_end=275 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2_grpc.py b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2_grpc.py +++ b/pyinjective/proto/cosmos/base/query/v1beta1/pagination_pb2_grpc.py @@ -1,3 +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/cosmos/base/reflection/v1beta1/reflection_pb2.py b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py index 168dec59..4a29ceba 100644 --- a/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py +++ b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,36 +15,26 @@ from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n/cosmos/base/reflection/v1beta1/reflection.proto\x12\x1e\x63osmos.base.reflection.v1beta1\x1a\x1cgoogle/api/annotations.proto"\x1a\n\x18ListAllInterfacesRequest"D\n\x19ListAllInterfacesResponse\x12\'\n\x0finterface_names\x18\x01 \x03(\tR\x0einterfaceNames"C\n\x1aListImplementationsRequest\x12%\n\x0einterface_name\x18\x01 \x01(\tR\rinterfaceName"_\n\x1bListImplementationsResponse\x12@\n\x1cimplementation_message_names\x18\x01 \x03(\tR\x1aimplementationMessageNames2\xb8\x03\n\x11ReflectionService\x12\xbc\x01\n\x11ListAllInterfaces\x12\x38.cosmos.base.reflection.v1beta1.ListAllInterfacesRequest\x1a\x39.cosmos.base.reflection.v1beta1.ListAllInterfacesResponse"2\x82\xd3\xe4\x93\x02,\x12*/cosmos/base/reflection/v1beta1/interfaces\x12\xe3\x01\n\x13ListImplementations\x12:.cosmos.base.reflection.v1beta1.ListImplementationsRequest\x1a;.cosmos.base.reflection.v1beta1.ListImplementationsResponse"S\x82\xd3\xe4\x93\x02M\x12K/cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementationsB\x85\x02\n"com.cosmos.base.reflection.v1beta1B\x0fReflectionProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/reflection\xa2\x02\x03\x43\x42R\xaa\x02\x1e\x43osmos.Base.Reflection.V1beta1\xca\x02\x1e\x43osmos\\Base\\Reflection\\V1beta1\xe2\x02*Cosmos\\Base\\Reflection\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Reflection::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/cosmos/base/reflection/v1beta1/reflection.proto\x12\x1e\x63osmos.base.reflection.v1beta1\x1a\x1cgoogle/api/annotations.proto\"\x1a\n\x18ListAllInterfacesRequest\"D\n\x19ListAllInterfacesResponse\x12\'\n\x0finterface_names\x18\x01 \x03(\tR\x0einterfaceNames\"C\n\x1aListImplementationsRequest\x12%\n\x0einterface_name\x18\x01 \x01(\tR\rinterfaceName\"_\n\x1bListImplementationsResponse\x12@\n\x1cimplementation_message_names\x18\x01 \x03(\tR\x1aimplementationMessageNames2\xb8\x03\n\x11ReflectionService\x12\xbc\x01\n\x11ListAllInterfaces\x12\x38.cosmos.base.reflection.v1beta1.ListAllInterfacesRequest\x1a\x39.cosmos.base.reflection.v1beta1.ListAllInterfacesResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmos/base/reflection/v1beta1/interfaces\x12\xe3\x01\n\x13ListImplementations\x12:.cosmos.base.reflection.v1beta1.ListImplementationsRequest\x1a;.cosmos.base.reflection.v1beta1.ListImplementationsResponse\"S\x82\xd3\xe4\x93\x02M\x12K/cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementationsB\x85\x02\n\"com.cosmos.base.reflection.v1beta1B\x0fReflectionProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/reflection\xa2\x02\x03\x43\x42R\xaa\x02\x1e\x43osmos.Base.Reflection.V1beta1\xca\x02\x1e\x43osmos\\Base\\Reflection\\V1beta1\xe2\x02*Cosmos\\Base\\Reflection\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Reflection::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.base.reflection.v1beta1.reflection_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.reflection.v1beta1.reflection_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n"com.cosmos.base.reflection.v1beta1B\017ReflectionProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/reflection\242\002\003CBR\252\002\036Cosmos.Base.Reflection.V1beta1\312\002\036Cosmos\\Base\\Reflection\\V1beta1\342\002*Cosmos\\Base\\Reflection\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Reflection::V1beta1' - ) - _globals["_REFLECTIONSERVICE"].methods_by_name["ListAllInterfaces"]._loaded_options = None - _globals["_REFLECTIONSERVICE"].methods_by_name[ - "ListAllInterfaces" - ]._serialized_options = b"\202\323\344\223\002,\022*/cosmos/base/reflection/v1beta1/interfaces" - _globals["_REFLECTIONSERVICE"].methods_by_name["ListImplementations"]._loaded_options = None - _globals["_REFLECTIONSERVICE"].methods_by_name[ - "ListImplementations" - ]._serialized_options = ( - b"\202\323\344\223\002M\022K/cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementations" - ) - _globals["_LISTALLINTERFACESREQUEST"]._serialized_start = 113 - _globals["_LISTALLINTERFACESREQUEST"]._serialized_end = 139 - _globals["_LISTALLINTERFACESRESPONSE"]._serialized_start = 141 - _globals["_LISTALLINTERFACESRESPONSE"]._serialized_end = 209 - _globals["_LISTIMPLEMENTATIONSREQUEST"]._serialized_start = 211 - _globals["_LISTIMPLEMENTATIONSREQUEST"]._serialized_end = 278 - _globals["_LISTIMPLEMENTATIONSRESPONSE"]._serialized_start = 280 - _globals["_LISTIMPLEMENTATIONSRESPONSE"]._serialized_end = 375 - _globals["_REFLECTIONSERVICE"]._serialized_start = 378 - _globals["_REFLECTIONSERVICE"]._serialized_end = 818 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.cosmos.base.reflection.v1beta1B\017ReflectionProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/reflection\242\002\003CBR\252\002\036Cosmos.Base.Reflection.V1beta1\312\002\036Cosmos\\Base\\Reflection\\V1beta1\342\002*Cosmos\\Base\\Reflection\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Reflection::V1beta1' + _globals['_REFLECTIONSERVICE'].methods_by_name['ListAllInterfaces']._loaded_options = None + _globals['_REFLECTIONSERVICE'].methods_by_name['ListAllInterfaces']._serialized_options = b'\202\323\344\223\002,\022*/cosmos/base/reflection/v1beta1/interfaces' + _globals['_REFLECTIONSERVICE'].methods_by_name['ListImplementations']._loaded_options = None + _globals['_REFLECTIONSERVICE'].methods_by_name['ListImplementations']._serialized_options = b'\202\323\344\223\002M\022K/cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementations' + _globals['_LISTALLINTERFACESREQUEST']._serialized_start=113 + _globals['_LISTALLINTERFACESREQUEST']._serialized_end=139 + _globals['_LISTALLINTERFACESRESPONSE']._serialized_start=141 + _globals['_LISTALLINTERFACESRESPONSE']._serialized_end=209 + _globals['_LISTIMPLEMENTATIONSREQUEST']._serialized_start=211 + _globals['_LISTIMPLEMENTATIONSREQUEST']._serialized_end=278 + _globals['_LISTIMPLEMENTATIONSRESPONSE']._serialized_start=280 + _globals['_LISTIMPLEMENTATIONSRESPONSE']._serialized_end=375 + _globals['_REFLECTIONSERVICE']._serialized_start=378 + _globals['_REFLECTIONSERVICE']._serialized_end=818 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2_grpc.py b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2_grpc.py index bd143494..9a956494 100644 --- a/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2_grpc.py +++ b/pyinjective/proto/cosmos/base/reflection/v1beta1/reflection_pb2_grpc.py @@ -2,13 +2,12 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.cosmos.base.reflection.v1beta1 import ( - reflection_pb2 as cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2, -) +from pyinjective.proto.cosmos.base.reflection.v1beta1 import reflection_pb2 as cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2 class ReflectionServiceStub(object): - """ReflectionService defines a service for interface reflection.""" + """ReflectionService defines a service for interface reflection. + """ def __init__(self, channel): """Constructor. @@ -17,80 +16,77 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.ListAllInterfaces = channel.unary_unary( - "/cosmos.base.reflection.v1beta1.ReflectionService/ListAllInterfaces", - request_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesResponse.FromString, - _registered_method=True, - ) + '/cosmos.base.reflection.v1beta1.ReflectionService/ListAllInterfaces', + request_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesResponse.FromString, + _registered_method=True) self.ListImplementations = channel.unary_unary( - "/cosmos.base.reflection.v1beta1.ReflectionService/ListImplementations", - request_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsResponse.FromString, - _registered_method=True, - ) + '/cosmos.base.reflection.v1beta1.ReflectionService/ListImplementations', + request_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsResponse.FromString, + _registered_method=True) class ReflectionServiceServicer(object): - """ReflectionService defines a service for interface reflection.""" + """ReflectionService defines a service for interface reflection. + """ def ListAllInterfaces(self, request, context): """ListAllInterfaces lists all the interfaces registered in the interface registry. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListImplementations(self, request, context): """ListImplementations list all the concrete types that implement a given interface. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_ReflectionServiceServicer_to_server(servicer, server): rpc_method_handlers = { - "ListAllInterfaces": grpc.unary_unary_rpc_method_handler( - servicer.ListAllInterfaces, - request_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesRequest.FromString, - response_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesResponse.SerializeToString, - ), - "ListImplementations": grpc.unary_unary_rpc_method_handler( - servicer.ListImplementations, - request_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsRequest.FromString, - response_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsResponse.SerializeToString, - ), + 'ListAllInterfaces': grpc.unary_unary_rpc_method_handler( + servicer.ListAllInterfaces, + request_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesRequest.FromString, + response_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesResponse.SerializeToString, + ), + 'ListImplementations': grpc.unary_unary_rpc_method_handler( + servicer.ListImplementations, + request_deserializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsRequest.FromString, + response_serializer=cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - "cosmos.base.reflection.v1beta1.ReflectionService", rpc_method_handlers - ) + 'cosmos.base.reflection.v1beta1.ReflectionService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.base.reflection.v1beta1.ReflectionService", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.base.reflection.v1beta1.ReflectionService', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class ReflectionService(object): - """ReflectionService defines a service for interface reflection.""" + """ReflectionService defines a service for interface reflection. + """ @staticmethod - def ListAllInterfaces( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ListAllInterfaces(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.base.reflection.v1beta1.ReflectionService/ListAllInterfaces", + '/cosmos.base.reflection.v1beta1.ReflectionService/ListAllInterfaces', cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesRequest.SerializeToString, cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListAllInterfacesResponse.FromString, options, @@ -101,26 +97,23 @@ def ListAllInterfaces( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ListImplementations( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ListImplementations(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.base.reflection.v1beta1.ReflectionService/ListImplementations", + '/cosmos.base.reflection.v1beta1.ReflectionService/ListImplementations', cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsRequest.SerializeToString, cosmos_dot_base_dot_reflection_dot_v1beta1_dot_reflection__pb2.ListImplementationsResponse.FromString, options, @@ -131,5 +124,4 @@ def ListImplementations( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py b/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py index 0ba11318..9b23a168 100644 --- a/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py +++ b/pyinjective/proto/cosmos/base/reflection/v2alpha1/reflection_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,94 +15,78 @@ from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n0cosmos/base/reflection/v2alpha1/reflection.proto\x12\x1f\x63osmos.base.reflection.v2alpha1\x1a\x1cgoogle/api/annotations.proto"\xe7\x03\n\rAppDescriptor\x12\x46\n\x05\x61uthn\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.AuthnDescriptorR\x05\x61uthn\x12\x46\n\x05\x63hain\x18\x02 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.ChainDescriptorR\x05\x63hain\x12\x46\n\x05\x63odec\x18\x03 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.CodecDescriptorR\x05\x63odec\x12^\n\rconfiguration\x18\x04 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.ConfigurationDescriptorR\rconfiguration\x12_\n\x0equery_services\x18\x05 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.QueryServicesDescriptorR\rqueryServices\x12=\n\x02tx\x18\x06 \x01(\x0b\x32-.cosmos.base.reflection.v2alpha1.TxDescriptorR\x02tx"n\n\x0cTxDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x42\n\x04msgs\x18\x02 \x03(\x0b\x32..cosmos.base.reflection.v2alpha1.MsgDescriptorR\x04msgs"h\n\x0f\x41uthnDescriptor\x12U\n\nsign_modes\x18\x01 \x03(\x0b\x32\x36.cosmos.base.reflection.v2alpha1.SigningModeDescriptorR\tsignModes"\x91\x01\n\x15SigningModeDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n\x06number\x18\x02 \x01(\x05R\x06number\x12L\n#authn_info_provider_method_fullname\x18\x03 \x01(\tR\x1f\x61uthnInfoProviderMethodFullname"!\n\x0f\x43hainDescriptor\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"g\n\x0f\x43odecDescriptor\x12T\n\ninterfaces\x18\x01 \x03(\x0b\x32\x34.cosmos.base.reflection.v2alpha1.InterfaceDescriptorR\ninterfaces"\xb2\x02\n\x13InterfaceDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x86\x01\n\x1cinterface_accepting_messages\x18\x02 \x03(\x0b\x32\x44.cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptorR\x1ainterfaceAcceptingMessages\x12v\n\x16interface_implementers\x18\x03 \x03(\x0b\x32?.cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptorR\x15interfaceImplementers"W\n\x1eInterfaceImplementerDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x19\n\x08type_url\x18\x02 \x01(\tR\x07typeUrl"w\n#InterfaceAcceptingMessageDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x34\n\x16\x66ield_descriptor_names\x18\x02 \x03(\tR\x14\x66ieldDescriptorNames"\\\n\x17\x43onfigurationDescriptor\x12\x41\n\x1d\x62\x65\x63h32_account_address_prefix\x18\x01 \x01(\tR\x1a\x62\x65\x63h32AccountAddressPrefix"1\n\rMsgDescriptor\x12 \n\x0cmsg_type_url\x18\x01 \x01(\tR\nmsgTypeUrl"\x1b\n\x19GetAuthnDescriptorRequest"d\n\x1aGetAuthnDescriptorResponse\x12\x46\n\x05\x61uthn\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.AuthnDescriptorR\x05\x61uthn"\x1b\n\x19GetChainDescriptorRequest"d\n\x1aGetChainDescriptorResponse\x12\x46\n\x05\x63hain\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.ChainDescriptorR\x05\x63hain"\x1b\n\x19GetCodecDescriptorRequest"d\n\x1aGetCodecDescriptorResponse\x12\x46\n\x05\x63odec\x18\x01 \x01(\x0b\x32\x30.cosmos.base.reflection.v2alpha1.CodecDescriptorR\x05\x63odec"#\n!GetConfigurationDescriptorRequest"v\n"GetConfigurationDescriptorResponse\x12P\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.ConfigurationDescriptorR\x06\x63onfig"#\n!GetQueryServicesDescriptorRequest"x\n"GetQueryServicesDescriptorResponse\x12R\n\x07queries\x18\x01 \x01(\x0b\x32\x38.cosmos.base.reflection.v2alpha1.QueryServicesDescriptorR\x07queries"\x18\n\x16GetTxDescriptorRequest"X\n\x17GetTxDescriptorResponse\x12=\n\x02tx\x18\x01 \x01(\x0b\x32-.cosmos.base.reflection.v2alpha1.TxDescriptorR\x02tx"y\n\x17QueryServicesDescriptor\x12^\n\x0equery_services\x18\x01 \x03(\x0b\x32\x37.cosmos.base.reflection.v2alpha1.QueryServiceDescriptorR\rqueryServices"\xa3\x01\n\x16QueryServiceDescriptor\x12\x1a\n\x08\x66ullname\x18\x01 \x01(\tR\x08\x66ullname\x12\x1b\n\tis_module\x18\x02 \x01(\x08R\x08isModule\x12P\n\x07methods\x18\x03 \x03(\x0b\x32\x36.cosmos.base.reflection.v2alpha1.QueryMethodDescriptorR\x07methods"S\n\x15QueryMethodDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12&\n\x0f\x66ull_query_path\x18\x02 \x01(\tR\rfullQueryPath2\xa7\n\n\x11ReflectionService\x12\xcb\x01\n\x12GetAuthnDescriptor\x12:.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest\x1a;.cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/base/reflection/v1beta1/app_descriptor/authn\x12\xcb\x01\n\x12GetChainDescriptor\x12:.cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest\x1a;.cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/base/reflection/v1beta1/app_descriptor/chain\x12\xcb\x01\n\x12GetCodecDescriptor\x12:.cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest\x1a;.cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/base/reflection/v1beta1/app_descriptor/codec\x12\xeb\x01\n\x1aGetConfigurationDescriptor\x12\x42.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest\x1a\x43.cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse"D\x82\xd3\xe4\x93\x02>\x12\x12\x12\x12\022\022\022\022.cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest\x1a?.cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse">\x82\xd3\xe4\x93\x02\x38\x12\x36/cosmos/base/tendermint/v1beta1/validatorsets/{height}\x12\xa4\x01\n\tABCIQuery\x12\x30.cosmos.base.tendermint.v1beta1.ABCIQueryRequest\x1a\x31.cosmos.base.tendermint.v1beta1.ABCIQueryResponse"2\x82\xd3\xe4\x93\x02,\x12*/cosmos/base/tendermint/v1beta1/abci_queryB\x80\x02\n"com.cosmos.base.tendermint.v1beta1B\nQueryProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\xa2\x02\x03\x43\x42T\xaa\x02\x1e\x43osmos.Base.Tendermint.V1beta1\xca\x02\x1e\x43osmos\\Base\\Tendermint\\V1beta1\xe2\x02*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Tendermint::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*cosmos/base/tendermint/v1beta1/query.proto\x12\x1e\x63osmos.base.tendermint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1atendermint/p2p/types.proto\x1a\x1ctendermint/types/types.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a*cosmos/base/tendermint/v1beta1/types.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1ctendermint/types/block.proto\x1a\x11\x61mino/amino.proto\"\x80\x01\n\x1eGetValidatorSetByHeightRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xd8\x01\n\x1fGetValidatorSetByHeightResponse\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x03R\x0b\x62lockHeight\x12I\n\nvalidators\x18\x02 \x03(\x0b\x32).cosmos.base.tendermint.v1beta1.ValidatorR\nvalidators\x12G\n\npagination\x18\x03 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"f\n\x1cGetLatestValidatorSetRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xd6\x01\n\x1dGetLatestValidatorSetResponse\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x03R\x0b\x62lockHeight\x12I\n\nvalidators\x18\x02 \x03(\x0b\x32).cosmos.base.tendermint.v1beta1.ValidatorR\nvalidators\x12G\n\npagination\x18\x03 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xbe\x01\n\tValidator\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12-\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06pubKey\x12!\n\x0cvoting_power\x18\x03 \x01(\x03R\x0bvotingPower\x12+\n\x11proposer_priority\x18\x04 \x01(\x03R\x10proposerPriority\"1\n\x17GetBlockByHeightRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\"\xc3\x01\n\x18GetBlockByHeightResponse\x12\x34\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDR\x07\x62lockId\x12-\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x17.tendermint.types.BlockR\x05\x62lock\x12\x42\n\tsdk_block\x18\x03 \x01(\x0b\x32%.cosmos.base.tendermint.v1beta1.BlockR\x08sdkBlock\"\x17\n\x15GetLatestBlockRequest\"\xc1\x01\n\x16GetLatestBlockResponse\x12\x34\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDR\x07\x62lockId\x12-\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x17.tendermint.types.BlockR\x05\x62lock\x12\x42\n\tsdk_block\x18\x03 \x01(\x0b\x32%.cosmos.base.tendermint.v1beta1.BlockR\x08sdkBlock\"\x13\n\x11GetSyncingRequest\".\n\x12GetSyncingResponse\x12\x18\n\x07syncing\x18\x01 \x01(\x08R\x07syncing\"\x14\n\x12GetNodeInfoRequest\"\xc0\x01\n\x13GetNodeInfoResponse\x12K\n\x11\x64\x65\x66\x61ult_node_info\x18\x01 \x01(\x0b\x32\x1f.tendermint.p2p.DefaultNodeInfoR\x0f\x64\x65\x66\x61ultNodeInfo\x12\\\n\x13\x61pplication_version\x18\x02 \x01(\x0b\x32+.cosmos.base.tendermint.v1beta1.VersionInfoR\x12\x61pplicationVersion\"\xa8\x02\n\x0bVersionInfo\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x19\n\x08\x61pp_name\x18\x02 \x01(\tR\x07\x61ppName\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x1d\n\ngit_commit\x18\x04 \x01(\tR\tgitCommit\x12\x1d\n\nbuild_tags\x18\x05 \x01(\tR\tbuildTags\x12\x1d\n\ngo_version\x18\x06 \x01(\tR\tgoVersion\x12\x45\n\nbuild_deps\x18\x07 \x03(\x0b\x32&.cosmos.base.tendermint.v1beta1.ModuleR\tbuildDeps\x12,\n\x12\x63osmos_sdk_version\x18\x08 \x01(\tR\x10\x63osmosSdkVersion\"H\n\x06Module\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12\x10\n\x03sum\x18\x03 \x01(\tR\x03sum\"h\n\x10\x41\x42\x43IQueryRequest\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04path\x18\x02 \x01(\tR\x04path\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x14\n\x05prove\x18\x04 \x01(\x08R\x05prove\"\x8e\x02\n\x11\x41\x42\x43IQueryResponse\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x14\n\x05index\x18\x05 \x01(\x03R\x05index\x12\x10\n\x03key\x18\x06 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x07 \x01(\x0cR\x05value\x12\x45\n\tproof_ops\x18\x08 \x01(\x0b\x32(.cosmos.base.tendermint.v1beta1.ProofOpsR\x08proofOps\x12\x16\n\x06height\x18\t \x01(\x03R\x06height\x12\x1c\n\tcodespace\x18\n \x01(\tR\tcodespaceJ\x04\x08\x02\x10\x03\"C\n\x07ProofOp\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x10\n\x03key\x18\x02 \x01(\x0cR\x03key\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\"P\n\x08ProofOps\x12\x44\n\x03ops\x18\x01 \x03(\x0b\x32\'.cosmos.base.tendermint.v1beta1.ProofOpB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x03ops2\xaf\n\n\x07Service\x12\xa9\x01\n\x0bGetNodeInfo\x12\x32.cosmos.base.tendermint.v1beta1.GetNodeInfoRequest\x1a\x33.cosmos.base.tendermint.v1beta1.GetNodeInfoResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/base/tendermint/v1beta1/node_info\x12\xa4\x01\n\nGetSyncing\x12\x31.cosmos.base.tendermint.v1beta1.GetSyncingRequest\x1a\x32.cosmos.base.tendermint.v1beta1.GetSyncingResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/base/tendermint/v1beta1/syncing\x12\xb6\x01\n\x0eGetLatestBlock\x12\x35.cosmos.base.tendermint.v1beta1.GetLatestBlockRequest\x1a\x36.cosmos.base.tendermint.v1beta1.GetLatestBlockResponse\"5\x82\xd3\xe4\x93\x02/\x12-/cosmos/base/tendermint/v1beta1/blocks/latest\x12\xbe\x01\n\x10GetBlockByHeight\x12\x37.cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest\x1a\x38.cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//cosmos/base/tendermint/v1beta1/blocks/{height}\x12\xd2\x01\n\x15GetLatestValidatorSet\x12<.cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest\x1a=.cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/base/tendermint/v1beta1/validatorsets/latest\x12\xda\x01\n\x17GetValidatorSetByHeight\x12>.cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest\x1a?.cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/cosmos/base/tendermint/v1beta1/validatorsets/{height}\x12\xa4\x01\n\tABCIQuery\x12\x30.cosmos.base.tendermint.v1beta1.ABCIQueryRequest\x1a\x31.cosmos.base.tendermint.v1beta1.ABCIQueryResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmos/base/tendermint/v1beta1/abci_queryB\x80\x02\n\"com.cosmos.base.tendermint.v1beta1B\nQueryProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\xa2\x02\x03\x43\x42T\xaa\x02\x1e\x43osmos.Base.Tendermint.V1beta1\xca\x02\x1e\x43osmos\\Base\\Tendermint\\V1beta1\xe2\x02*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Tendermint::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.base.tendermint.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.tendermint.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n"com.cosmos.base.tendermint.v1beta1B\nQueryProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\242\002\003CBT\252\002\036Cosmos.Base.Tendermint.V1beta1\312\002\036Cosmos\\Base\\Tendermint\\V1beta1\342\002*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Tendermint::V1beta1' - ) - _globals["_VALIDATOR"].fields_by_name["address"]._loaded_options = None - _globals["_VALIDATOR"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_PROOFOPS"].fields_by_name["ops"]._loaded_options = None - _globals["_PROOFOPS"].fields_by_name["ops"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_SERVICE"].methods_by_name["GetNodeInfo"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "GetNodeInfo" - ]._serialized_options = b"\202\323\344\223\002+\022)/cosmos/base/tendermint/v1beta1/node_info" - _globals["_SERVICE"].methods_by_name["GetSyncing"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "GetSyncing" - ]._serialized_options = b"\202\323\344\223\002)\022'/cosmos/base/tendermint/v1beta1/syncing" - _globals["_SERVICE"].methods_by_name["GetLatestBlock"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "GetLatestBlock" - ]._serialized_options = b"\202\323\344\223\002/\022-/cosmos/base/tendermint/v1beta1/blocks/latest" - _globals["_SERVICE"].methods_by_name["GetBlockByHeight"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "GetBlockByHeight" - ]._serialized_options = b"\202\323\344\223\0021\022//cosmos/base/tendermint/v1beta1/blocks/{height}" - _globals["_SERVICE"].methods_by_name["GetLatestValidatorSet"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "GetLatestValidatorSet" - ]._serialized_options = b"\202\323\344\223\0026\0224/cosmos/base/tendermint/v1beta1/validatorsets/latest" - _globals["_SERVICE"].methods_by_name["GetValidatorSetByHeight"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "GetValidatorSetByHeight" - ]._serialized_options = b"\202\323\344\223\0028\0226/cosmos/base/tendermint/v1beta1/validatorsets/{height}" - _globals["_SERVICE"].methods_by_name["ABCIQuery"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "ABCIQuery" - ]._serialized_options = b"\202\323\344\223\002,\022*/cosmos/base/tendermint/v1beta1/abci_query" - _globals["_GETVALIDATORSETBYHEIGHTREQUEST"]._serialized_start = 380 - _globals["_GETVALIDATORSETBYHEIGHTREQUEST"]._serialized_end = 508 - _globals["_GETVALIDATORSETBYHEIGHTRESPONSE"]._serialized_start = 511 - _globals["_GETVALIDATORSETBYHEIGHTRESPONSE"]._serialized_end = 727 - _globals["_GETLATESTVALIDATORSETREQUEST"]._serialized_start = 729 - _globals["_GETLATESTVALIDATORSETREQUEST"]._serialized_end = 831 - _globals["_GETLATESTVALIDATORSETRESPONSE"]._serialized_start = 834 - _globals["_GETLATESTVALIDATORSETRESPONSE"]._serialized_end = 1048 - _globals["_VALIDATOR"]._serialized_start = 1051 - _globals["_VALIDATOR"]._serialized_end = 1241 - _globals["_GETBLOCKBYHEIGHTREQUEST"]._serialized_start = 1243 - _globals["_GETBLOCKBYHEIGHTREQUEST"]._serialized_end = 1292 - _globals["_GETBLOCKBYHEIGHTRESPONSE"]._serialized_start = 1295 - _globals["_GETBLOCKBYHEIGHTRESPONSE"]._serialized_end = 1490 - _globals["_GETLATESTBLOCKREQUEST"]._serialized_start = 1492 - _globals["_GETLATESTBLOCKREQUEST"]._serialized_end = 1515 - _globals["_GETLATESTBLOCKRESPONSE"]._serialized_start = 1518 - _globals["_GETLATESTBLOCKRESPONSE"]._serialized_end = 1711 - _globals["_GETSYNCINGREQUEST"]._serialized_start = 1713 - _globals["_GETSYNCINGREQUEST"]._serialized_end = 1732 - _globals["_GETSYNCINGRESPONSE"]._serialized_start = 1734 - _globals["_GETSYNCINGRESPONSE"]._serialized_end = 1780 - _globals["_GETNODEINFOREQUEST"]._serialized_start = 1782 - _globals["_GETNODEINFOREQUEST"]._serialized_end = 1802 - _globals["_GETNODEINFORESPONSE"]._serialized_start = 1805 - _globals["_GETNODEINFORESPONSE"]._serialized_end = 1997 - _globals["_VERSIONINFO"]._serialized_start = 2000 - _globals["_VERSIONINFO"]._serialized_end = 2296 - _globals["_MODULE"]._serialized_start = 2298 - _globals["_MODULE"]._serialized_end = 2370 - _globals["_ABCIQUERYREQUEST"]._serialized_start = 2372 - _globals["_ABCIQUERYREQUEST"]._serialized_end = 2476 - _globals["_ABCIQUERYRESPONSE"]._serialized_start = 2479 - _globals["_ABCIQUERYRESPONSE"]._serialized_end = 2749 - _globals["_PROOFOP"]._serialized_start = 2751 - _globals["_PROOFOP"]._serialized_end = 2818 - _globals["_PROOFOPS"]._serialized_start = 2820 - _globals["_PROOFOPS"]._serialized_end = 2900 - _globals["_SERVICE"]._serialized_start = 2903 - _globals["_SERVICE"]._serialized_end = 4230 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.cosmos.base.tendermint.v1beta1B\nQueryProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\242\002\003CBT\252\002\036Cosmos.Base.Tendermint.V1beta1\312\002\036Cosmos\\Base\\Tendermint\\V1beta1\342\002*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Tendermint::V1beta1' + _globals['_VALIDATOR'].fields_by_name['address']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_PROOFOPS'].fields_by_name['ops']._loaded_options = None + _globals['_PROOFOPS'].fields_by_name['ops']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_SERVICE'].methods_by_name['GetNodeInfo']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetNodeInfo']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/base/tendermint/v1beta1/node_info' + _globals['_SERVICE'].methods_by_name['GetSyncing']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetSyncing']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/base/tendermint/v1beta1/syncing' + _globals['_SERVICE'].methods_by_name['GetLatestBlock']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetLatestBlock']._serialized_options = b'\202\323\344\223\002/\022-/cosmos/base/tendermint/v1beta1/blocks/latest' + _globals['_SERVICE'].methods_by_name['GetBlockByHeight']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetBlockByHeight']._serialized_options = b'\202\323\344\223\0021\022//cosmos/base/tendermint/v1beta1/blocks/{height}' + _globals['_SERVICE'].methods_by_name['GetLatestValidatorSet']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetLatestValidatorSet']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/base/tendermint/v1beta1/validatorsets/latest' + _globals['_SERVICE'].methods_by_name['GetValidatorSetByHeight']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetValidatorSetByHeight']._serialized_options = b'\202\323\344\223\0028\0226/cosmos/base/tendermint/v1beta1/validatorsets/{height}' + _globals['_SERVICE'].methods_by_name['ABCIQuery']._loaded_options = None + _globals['_SERVICE'].methods_by_name['ABCIQuery']._serialized_options = b'\202\323\344\223\002,\022*/cosmos/base/tendermint/v1beta1/abci_query' + _globals['_GETVALIDATORSETBYHEIGHTREQUEST']._serialized_start=380 + _globals['_GETVALIDATORSETBYHEIGHTREQUEST']._serialized_end=508 + _globals['_GETVALIDATORSETBYHEIGHTRESPONSE']._serialized_start=511 + _globals['_GETVALIDATORSETBYHEIGHTRESPONSE']._serialized_end=727 + _globals['_GETLATESTVALIDATORSETREQUEST']._serialized_start=729 + _globals['_GETLATESTVALIDATORSETREQUEST']._serialized_end=831 + _globals['_GETLATESTVALIDATORSETRESPONSE']._serialized_start=834 + _globals['_GETLATESTVALIDATORSETRESPONSE']._serialized_end=1048 + _globals['_VALIDATOR']._serialized_start=1051 + _globals['_VALIDATOR']._serialized_end=1241 + _globals['_GETBLOCKBYHEIGHTREQUEST']._serialized_start=1243 + _globals['_GETBLOCKBYHEIGHTREQUEST']._serialized_end=1292 + _globals['_GETBLOCKBYHEIGHTRESPONSE']._serialized_start=1295 + _globals['_GETBLOCKBYHEIGHTRESPONSE']._serialized_end=1490 + _globals['_GETLATESTBLOCKREQUEST']._serialized_start=1492 + _globals['_GETLATESTBLOCKREQUEST']._serialized_end=1515 + _globals['_GETLATESTBLOCKRESPONSE']._serialized_start=1518 + _globals['_GETLATESTBLOCKRESPONSE']._serialized_end=1711 + _globals['_GETSYNCINGREQUEST']._serialized_start=1713 + _globals['_GETSYNCINGREQUEST']._serialized_end=1732 + _globals['_GETSYNCINGRESPONSE']._serialized_start=1734 + _globals['_GETSYNCINGRESPONSE']._serialized_end=1780 + _globals['_GETNODEINFOREQUEST']._serialized_start=1782 + _globals['_GETNODEINFOREQUEST']._serialized_end=1802 + _globals['_GETNODEINFORESPONSE']._serialized_start=1805 + _globals['_GETNODEINFORESPONSE']._serialized_end=1997 + _globals['_VERSIONINFO']._serialized_start=2000 + _globals['_VERSIONINFO']._serialized_end=2296 + _globals['_MODULE']._serialized_start=2298 + _globals['_MODULE']._serialized_end=2370 + _globals['_ABCIQUERYREQUEST']._serialized_start=2372 + _globals['_ABCIQUERYREQUEST']._serialized_end=2476 + _globals['_ABCIQUERYRESPONSE']._serialized_start=2479 + _globals['_ABCIQUERYRESPONSE']._serialized_end=2749 + _globals['_PROOFOP']._serialized_start=2751 + _globals['_PROOFOP']._serialized_end=2818 + _globals['_PROOFOPS']._serialized_start=2820 + _globals['_PROOFOPS']._serialized_end=2900 + _globals['_SERVICE']._serialized_start=2903 + _globals['_SERVICE']._serialized_end=4230 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py index 6d612a9e..30707ac1 100644 --- a/pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py @@ -2,13 +2,12 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.cosmos.base.tendermint.v1beta1 import ( - query_pb2 as cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2, -) +from pyinjective.proto.cosmos.base.tendermint.v1beta1 import query_pb2 as cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2 class ServiceStub(object): - """Service defines the gRPC querier service for tendermint queries.""" + """Service defines the gRPC querier service for tendermint queries. + """ def __init__(self, channel): """Constructor. @@ -17,87 +16,87 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetNodeInfo = channel.unary_unary( - "/cosmos.base.tendermint.v1beta1.Service/GetNodeInfo", - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoResponse.FromString, - _registered_method=True, - ) + '/cosmos.base.tendermint.v1beta1.Service/GetNodeInfo', + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoResponse.FromString, + _registered_method=True) self.GetSyncing = channel.unary_unary( - "/cosmos.base.tendermint.v1beta1.Service/GetSyncing", - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingResponse.FromString, - _registered_method=True, - ) + '/cosmos.base.tendermint.v1beta1.Service/GetSyncing', + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingResponse.FromString, + _registered_method=True) self.GetLatestBlock = channel.unary_unary( - "/cosmos.base.tendermint.v1beta1.Service/GetLatestBlock", - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockResponse.FromString, - _registered_method=True, - ) + '/cosmos.base.tendermint.v1beta1.Service/GetLatestBlock', + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockResponse.FromString, + _registered_method=True) self.GetBlockByHeight = channel.unary_unary( - "/cosmos.base.tendermint.v1beta1.Service/GetBlockByHeight", - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightResponse.FromString, - _registered_method=True, - ) + '/cosmos.base.tendermint.v1beta1.Service/GetBlockByHeight', + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightResponse.FromString, + _registered_method=True) self.GetLatestValidatorSet = channel.unary_unary( - "/cosmos.base.tendermint.v1beta1.Service/GetLatestValidatorSet", - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetResponse.FromString, - _registered_method=True, - ) + '/cosmos.base.tendermint.v1beta1.Service/GetLatestValidatorSet', + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetResponse.FromString, + _registered_method=True) self.GetValidatorSetByHeight = channel.unary_unary( - "/cosmos.base.tendermint.v1beta1.Service/GetValidatorSetByHeight", - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightResponse.FromString, - _registered_method=True, - ) + '/cosmos.base.tendermint.v1beta1.Service/GetValidatorSetByHeight', + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightResponse.FromString, + _registered_method=True) self.ABCIQuery = channel.unary_unary( - "/cosmos.base.tendermint.v1beta1.Service/ABCIQuery", - request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryRequest.SerializeToString, - response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryResponse.FromString, - _registered_method=True, - ) + '/cosmos.base.tendermint.v1beta1.Service/ABCIQuery', + request_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryRequest.SerializeToString, + response_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryResponse.FromString, + _registered_method=True) class ServiceServicer(object): - """Service defines the gRPC querier service for tendermint queries.""" + """Service defines the gRPC querier service for tendermint queries. + """ def GetNodeInfo(self, request, context): - """GetNodeInfo queries the current node info.""" + """GetNodeInfo queries the current node info. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetSyncing(self, request, context): - """GetSyncing queries node syncing.""" + """GetSyncing queries node syncing. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetLatestBlock(self, request, context): - """GetLatestBlock returns the latest block.""" + """GetLatestBlock returns the latest block. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetBlockByHeight(self, request, context): - """GetBlockByHeight queries block for given height.""" + """GetBlockByHeight queries block for given height. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetLatestValidatorSet(self, request, context): - """GetLatestValidatorSet queries latest validator-set.""" + """GetLatestValidatorSet queries latest validator-set. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetValidatorSetByHeight(self, request, context): - """GetValidatorSetByHeight queries validator-set at a given height.""" + """GetValidatorSetByHeight queries validator-set at a given height. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ABCIQuery(self, request, context): """ABCIQuery defines a query handler that supports ABCI queries directly to the @@ -107,76 +106,74 @@ def ABCIQuery(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_ServiceServicer_to_server(servicer, server): rpc_method_handlers = { - "GetNodeInfo": grpc.unary_unary_rpc_method_handler( - servicer.GetNodeInfo, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoResponse.SerializeToString, - ), - "GetSyncing": grpc.unary_unary_rpc_method_handler( - servicer.GetSyncing, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingResponse.SerializeToString, - ), - "GetLatestBlock": grpc.unary_unary_rpc_method_handler( - servicer.GetLatestBlock, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockResponse.SerializeToString, - ), - "GetBlockByHeight": grpc.unary_unary_rpc_method_handler( - servicer.GetBlockByHeight, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightResponse.SerializeToString, - ), - "GetLatestValidatorSet": grpc.unary_unary_rpc_method_handler( - servicer.GetLatestValidatorSet, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetResponse.SerializeToString, - ), - "GetValidatorSetByHeight": grpc.unary_unary_rpc_method_handler( - servicer.GetValidatorSetByHeight, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightResponse.SerializeToString, - ), - "ABCIQuery": grpc.unary_unary_rpc_method_handler( - servicer.ABCIQuery, - request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryRequest.FromString, - response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryResponse.SerializeToString, - ), + 'GetNodeInfo': grpc.unary_unary_rpc_method_handler( + servicer.GetNodeInfo, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoResponse.SerializeToString, + ), + 'GetSyncing': grpc.unary_unary_rpc_method_handler( + servicer.GetSyncing, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingResponse.SerializeToString, + ), + 'GetLatestBlock': grpc.unary_unary_rpc_method_handler( + servicer.GetLatestBlock, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockResponse.SerializeToString, + ), + 'GetBlockByHeight': grpc.unary_unary_rpc_method_handler( + servicer.GetBlockByHeight, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightResponse.SerializeToString, + ), + 'GetLatestValidatorSet': grpc.unary_unary_rpc_method_handler( + servicer.GetLatestValidatorSet, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetResponse.SerializeToString, + ), + 'GetValidatorSetByHeight': grpc.unary_unary_rpc_method_handler( + servicer.GetValidatorSetByHeight, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightResponse.SerializeToString, + ), + 'ABCIQuery': grpc.unary_unary_rpc_method_handler( + servicer.ABCIQuery, + request_deserializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryRequest.FromString, + response_serializer=cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - "cosmos.base.tendermint.v1beta1.Service", rpc_method_handlers - ) + 'cosmos.base.tendermint.v1beta1.Service', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.base.tendermint.v1beta1.Service", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.base.tendermint.v1beta1.Service', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Service(object): - """Service defines the gRPC querier service for tendermint queries.""" + """Service defines the gRPC querier service for tendermint queries. + """ @staticmethod - def GetNodeInfo( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GetNodeInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.base.tendermint.v1beta1.Service/GetNodeInfo", + '/cosmos.base.tendermint.v1beta1.Service/GetNodeInfo', cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoRequest.SerializeToString, cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetNodeInfoResponse.FromString, options, @@ -187,26 +184,23 @@ def GetNodeInfo( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GetSyncing( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GetSyncing(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.base.tendermint.v1beta1.Service/GetSyncing", + '/cosmos.base.tendermint.v1beta1.Service/GetSyncing', cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingRequest.SerializeToString, cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetSyncingResponse.FromString, options, @@ -217,26 +211,23 @@ def GetSyncing( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GetLatestBlock( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GetLatestBlock(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.base.tendermint.v1beta1.Service/GetLatestBlock", + '/cosmos.base.tendermint.v1beta1.Service/GetLatestBlock', cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockRequest.SerializeToString, cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestBlockResponse.FromString, options, @@ -247,26 +238,23 @@ def GetLatestBlock( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GetBlockByHeight( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GetBlockByHeight(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.base.tendermint.v1beta1.Service/GetBlockByHeight", + '/cosmos.base.tendermint.v1beta1.Service/GetBlockByHeight', cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightRequest.SerializeToString, cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetBlockByHeightResponse.FromString, options, @@ -277,26 +265,23 @@ def GetBlockByHeight( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GetLatestValidatorSet( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GetLatestValidatorSet(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.base.tendermint.v1beta1.Service/GetLatestValidatorSet", + '/cosmos.base.tendermint.v1beta1.Service/GetLatestValidatorSet', cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetRequest.SerializeToString, cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetLatestValidatorSetResponse.FromString, options, @@ -307,26 +292,23 @@ def GetLatestValidatorSet( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GetValidatorSetByHeight( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GetValidatorSetByHeight(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.base.tendermint.v1beta1.Service/GetValidatorSetByHeight", + '/cosmos.base.tendermint.v1beta1.Service/GetValidatorSetByHeight', cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightRequest.SerializeToString, cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.GetValidatorSetByHeightResponse.FromString, options, @@ -337,26 +319,23 @@ def GetValidatorSetByHeight( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ABCIQuery( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ABCIQuery(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.base.tendermint.v1beta1.Service/ABCIQuery", + '/cosmos.base.tendermint.v1beta1.Service/ABCIQuery', cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryRequest.SerializeToString, cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2.ABCIQueryResponse.FromString, options, @@ -367,5 +346,4 @@ def ABCIQuery( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py b/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py index 82694230..ebfc1954 100644 --- a/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py +++ b/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2.py @@ -7,7 +7,6 @@ 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() @@ -21,36 +20,30 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n*cosmos/base/tendermint/v1beta1/types.proto\x12\x1e\x63osmos.base.tendermint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ftendermint/types/evidence.proto\x1a\x1etendermint/version/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x11\x61mino/amino.proto"\x8b\x02\n\x05\x42lock\x12I\n\x06header\x18\x01 \x01(\x0b\x32&.cosmos.base.tendermint.v1beta1.HeaderB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06header\x12\x35\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04\x64\x61ta\x12\x45\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x65vidence\x12\x39\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.CommitR\nlastCommit"\xf5\x04\n\x06Header\x12\x42\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07version\x12&\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDR\x07\x63hainId\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12=\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12H\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0blastBlockId\x12(\n\x10last_commit_hash\x18\x06 \x01(\x0cR\x0elastCommitHash\x12\x1b\n\tdata_hash\x18\x07 \x01(\x0cR\x08\x64\x61taHash\x12\'\n\x0fvalidators_hash\x18\x08 \x01(\x0cR\x0evalidatorsHash\x12\x30\n\x14next_validators_hash\x18\t \x01(\x0cR\x12nextValidatorsHash\x12%\n\x0e\x63onsensus_hash\x18\n \x01(\x0cR\rconsensusHash\x12\x19\n\x08\x61pp_hash\x18\x0b \x01(\x0cR\x07\x61ppHash\x12*\n\x11last_results_hash\x18\x0c \x01(\x0cR\x0flastResultsHash\x12#\n\revidence_hash\x18\r \x01(\x0cR\x0c\x65videnceHash\x12)\n\x10proposer_address\x18\x0e \x01(\tR\x0fproposerAddressB\x80\x02\n"com.cosmos.base.tendermint.v1beta1B\nTypesProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\xa2\x02\x03\x43\x42T\xaa\x02\x1e\x43osmos.Base.Tendermint.V1beta1\xca\x02\x1e\x43osmos\\Base\\Tendermint\\V1beta1\xe2\x02*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Tendermint::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*cosmos/base/tendermint/v1beta1/types.proto\x12\x1e\x63osmos.base.tendermint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ftendermint/types/evidence.proto\x1a\x1etendermint/version/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x11\x61mino/amino.proto\"\x8b\x02\n\x05\x42lock\x12I\n\x06header\x18\x01 \x01(\x0b\x32&.cosmos.base.tendermint.v1beta1.HeaderB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06header\x12\x35\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04\x64\x61ta\x12\x45\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x65vidence\x12\x39\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.CommitR\nlastCommit\"\xf5\x04\n\x06Header\x12\x42\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07version\x12&\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDR\x07\x63hainId\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12=\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12H\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0blastBlockId\x12(\n\x10last_commit_hash\x18\x06 \x01(\x0cR\x0elastCommitHash\x12\x1b\n\tdata_hash\x18\x07 \x01(\x0cR\x08\x64\x61taHash\x12\'\n\x0fvalidators_hash\x18\x08 \x01(\x0cR\x0evalidatorsHash\x12\x30\n\x14next_validators_hash\x18\t \x01(\x0cR\x12nextValidatorsHash\x12%\n\x0e\x63onsensus_hash\x18\n \x01(\x0cR\rconsensusHash\x12\x19\n\x08\x61pp_hash\x18\x0b \x01(\x0cR\x07\x61ppHash\x12*\n\x11last_results_hash\x18\x0c \x01(\x0cR\x0flastResultsHash\x12#\n\revidence_hash\x18\r \x01(\x0cR\x0c\x65videnceHash\x12)\n\x10proposer_address\x18\x0e \x01(\tR\x0fproposerAddressB\x80\x02\n\"com.cosmos.base.tendermint.v1beta1B\nTypesProtoP\x01Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\xa2\x02\x03\x43\x42T\xaa\x02\x1e\x43osmos.Base.Tendermint.V1beta1\xca\x02\x1e\x43osmos\\Base\\Tendermint\\V1beta1\xe2\x02*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Base::Tendermint::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.base.tendermint.v1beta1.types_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.tendermint.v1beta1.types_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n"com.cosmos.base.tendermint.v1beta1B\nTypesProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\242\002\003CBT\252\002\036Cosmos.Base.Tendermint.V1beta1\312\002\036Cosmos\\Base\\Tendermint\\V1beta1\342\002*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Tendermint::V1beta1' - ) - _globals["_BLOCK"].fields_by_name["header"]._loaded_options = None - _globals["_BLOCK"].fields_by_name["header"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_BLOCK"].fields_by_name["data"]._loaded_options = None - _globals["_BLOCK"].fields_by_name["data"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_BLOCK"].fields_by_name["evidence"]._loaded_options = None - _globals["_BLOCK"].fields_by_name["evidence"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_HEADER"].fields_by_name["version"]._loaded_options = None - _globals["_HEADER"].fields_by_name["version"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_HEADER"].fields_by_name["chain_id"]._loaded_options = None - _globals["_HEADER"].fields_by_name["chain_id"]._serialized_options = b"\342\336\037\007ChainID" - _globals["_HEADER"].fields_by_name["time"]._loaded_options = None - _globals["_HEADER"].fields_by_name[ - "time" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_HEADER"].fields_by_name["last_block_id"]._loaded_options = None - _globals["_HEADER"].fields_by_name["last_block_id"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_BLOCK"]._serialized_start = 248 - _globals["_BLOCK"]._serialized_end = 515 - _globals["_HEADER"]._serialized_start = 518 - _globals["_HEADER"]._serialized_end = 1147 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.cosmos.base.tendermint.v1beta1B\nTypesProtoP\001Z3github.com/cosmos/cosmos-sdk/client/grpc/cmtservice\242\002\003CBT\252\002\036Cosmos.Base.Tendermint.V1beta1\312\002\036Cosmos\\Base\\Tendermint\\V1beta1\342\002*Cosmos\\Base\\Tendermint\\V1beta1\\GPBMetadata\352\002!Cosmos::Base::Tendermint::V1beta1' + _globals['_BLOCK'].fields_by_name['header']._loaded_options = None + _globals['_BLOCK'].fields_by_name['header']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_BLOCK'].fields_by_name['data']._loaded_options = None + _globals['_BLOCK'].fields_by_name['data']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_BLOCK'].fields_by_name['evidence']._loaded_options = None + _globals['_BLOCK'].fields_by_name['evidence']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_HEADER'].fields_by_name['version']._loaded_options = None + _globals['_HEADER'].fields_by_name['version']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_HEADER'].fields_by_name['chain_id']._loaded_options = None + _globals['_HEADER'].fields_by_name['chain_id']._serialized_options = b'\342\336\037\007ChainID' + _globals['_HEADER'].fields_by_name['time']._loaded_options = None + _globals['_HEADER'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_HEADER'].fields_by_name['last_block_id']._loaded_options = None + _globals['_HEADER'].fields_by_name['last_block_id']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_BLOCK']._serialized_start=248 + _globals['_BLOCK']._serialized_end=515 + _globals['_HEADER']._serialized_start=518 + _globals['_HEADER']._serialized_end=1147 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2_grpc.py b/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2_grpc.py +++ b/pyinjective/proto/cosmos/base/tendermint/v1beta1/types_pb2_grpc.py @@ -1,3 +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/cosmos/base/v1beta1/coin_pb2.py b/pyinjective/proto/cosmos/base/v1beta1/coin_pb2.py index 88131354..59353c09 100644 --- a/pyinjective/proto/cosmos/base/v1beta1/coin_pb2.py +++ b/pyinjective/proto/cosmos/base/v1beta1/coin_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,46 +17,32 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1e\x63osmos/base/v1beta1/coin.proto\x12\x13\x63osmos.base.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"l\n\x04\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12H\n\x06\x61mount\x18\x02 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x06\x61mount:\x04\xe8\xa0\x1f\x01"p\n\x07\x44\x65\x63\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12I\n\x06\x61mount\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x06\x61mount:\x04\xe8\xa0\x1f\x01"I\n\x08IntProto\x12=\n\x03int\x18\x01 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x03int"O\n\x08\x44\x65\x63Proto\x12\x43\n\x03\x64\x65\x63\x18\x01 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x03\x64\x65\x63\x42\xbe\x01\n\x17\x63om.cosmos.base.v1beta1B\tCoinProtoP\x01Z"github.com/cosmos/cosmos-sdk/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Base.V1beta1\xca\x02\x13\x43osmos\\Base\\V1beta1\xe2\x02\x1f\x43osmos\\Base\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Base::V1beta1\xd8\xe1\x1e\x00\x80\xe2\x1e\x00\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/base/v1beta1/coin.proto\x12\x13\x63osmos.base.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"l\n\x04\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12H\n\x06\x61mount\x18\x02 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x06\x61mount:\x04\xe8\xa0\x1f\x01\"p\n\x07\x44\x65\x63\x43oin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12I\n\x06\x61mount\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x06\x61mount:\x04\xe8\xa0\x1f\x01\"I\n\x08IntProto\x12=\n\x03int\x18\x01 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x03int\"O\n\x08\x44\x65\x63Proto\x12\x43\n\x03\x64\x65\x63\x18\x01 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x03\x64\x65\x63\x42\xbe\x01\n\x17\x63om.cosmos.base.v1beta1B\tCoinProtoP\x01Z\"github.com/cosmos/cosmos-sdk/types\xa2\x02\x03\x43\x42X\xaa\x02\x13\x43osmos.Base.V1beta1\xca\x02\x13\x43osmos\\Base\\V1beta1\xe2\x02\x1f\x43osmos\\Base\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Base::V1beta1\xd8\xe1\x1e\x00\x80\xe2\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.base.v1beta1.coin_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.v1beta1.coin_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\027com.cosmos.base.v1beta1B\tCoinProtoP\001Z"github.com/cosmos/cosmos-sdk/types\242\002\003CBX\252\002\023Cosmos.Base.V1beta1\312\002\023Cosmos\\Base\\V1beta1\342\002\037Cosmos\\Base\\V1beta1\\GPBMetadata\352\002\025Cosmos::Base::V1beta1\330\341\036\000\200\342\036\000' - ) - _globals["_COIN"].fields_by_name["amount"]._loaded_options = None - _globals["_COIN"].fields_by_name[ - "amount" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001" - ) - _globals["_COIN"]._loaded_options = None - _globals["_COIN"]._serialized_options = b"\350\240\037\001" - _globals["_DECCOIN"].fields_by_name["amount"]._loaded_options = None - _globals["_DECCOIN"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" - _globals["_DECCOIN"]._loaded_options = None - _globals["_DECCOIN"]._serialized_options = b"\350\240\037\001" - _globals["_INTPROTO"].fields_by_name["int"]._loaded_options = None - _globals["_INTPROTO"].fields_by_name[ - "int" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" - _globals["_DECPROTO"].fields_by_name["dec"]._loaded_options = None - _globals["_DECPROTO"].fields_by_name[ - "dec" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" - _globals["_COIN"]._serialized_start = 123 - _globals["_COIN"]._serialized_end = 231 - _globals["_DECCOIN"]._serialized_start = 233 - _globals["_DECCOIN"]._serialized_end = 345 - _globals["_INTPROTO"]._serialized_start = 347 - _globals["_INTPROTO"]._serialized_end = 420 - _globals["_DECPROTO"]._serialized_start = 422 - _globals["_DECPROTO"]._serialized_end = 501 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.base.v1beta1B\tCoinProtoP\001Z\"github.com/cosmos/cosmos-sdk/types\242\002\003CBX\252\002\023Cosmos.Base.V1beta1\312\002\023Cosmos\\Base\\V1beta1\342\002\037Cosmos\\Base\\V1beta1\\GPBMetadata\352\002\025Cosmos::Base::V1beta1\330\341\036\000\200\342\036\000' + _globals['_COIN'].fields_by_name['amount']._loaded_options = None + _globals['_COIN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001' + _globals['_COIN']._loaded_options = None + _globals['_COIN']._serialized_options = b'\350\240\037\001' + _globals['_DECCOIN'].fields_by_name['amount']._loaded_options = None + _globals['_DECCOIN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_DECCOIN']._loaded_options = None + _globals['_DECCOIN']._serialized_options = b'\350\240\037\001' + _globals['_INTPROTO'].fields_by_name['int']._loaded_options = None + _globals['_INTPROTO'].fields_by_name['int']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_DECPROTO'].fields_by_name['dec']._loaded_options = None + _globals['_DECPROTO'].fields_by_name['dec']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_COIN']._serialized_start=123 + _globals['_COIN']._serialized_end=231 + _globals['_DECCOIN']._serialized_start=233 + _globals['_DECCOIN']._serialized_end=345 + _globals['_INTPROTO']._serialized_start=347 + _globals['_INTPROTO']._serialized_end=420 + _globals['_DECPROTO']._serialized_start=422 + _globals['_DECPROTO']._serialized_end=501 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/base/v1beta1/coin_pb2_grpc.py b/pyinjective/proto/cosmos/base/v1beta1/coin_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/base/v1beta1/coin_pb2_grpc.py +++ b/pyinjective/proto/cosmos/base/v1beta1/coin_pb2_grpc.py @@ -1,3 +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/cosmos/circuit/module/v1/module_pb2.py b/pyinjective/proto/cosmos/circuit/module/v1/module_pb2.py index 5147d7d1..da033cd6 100644 --- a/pyinjective/proto/cosmos/circuit/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/circuit/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%cosmos/circuit/module/v1/module.proto\x12\x18\x63osmos.circuit.module.v1\x1a cosmos/app/v1alpha1/module.proto"F\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:\x1e\xba\xc0\x96\xda\x01\x18\n\x16\x63osmossdk.io/x/circuitB\xae\x01\n\x1c\x63om.cosmos.circuit.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x18\x43osmos.Circuit.Module.V1\xca\x02\x18\x43osmos\\Circuit\\Module\\V1\xe2\x02$Cosmos\\Circuit\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Circuit::Module::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/circuit/module/v1/module.proto\x12\x18\x63osmos.circuit.module.v1\x1a cosmos/app/v1alpha1/module.proto\"F\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:\x1e\xba\xc0\x96\xda\x01\x18\n\x16\x63osmossdk.io/x/circuitB\xae\x01\n\x1c\x63om.cosmos.circuit.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x18\x43osmos.Circuit.Module.V1\xca\x02\x18\x43osmos\\Circuit\\Module\\V1\xe2\x02$Cosmos\\Circuit\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Circuit::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.circuit.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.circuit.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\034com.cosmos.circuit.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\030Cosmos.Circuit.Module.V1\312\002\030Cosmos\\Circuit\\Module\\V1\342\002$Cosmos\\Circuit\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Circuit::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001\030\n\026cosmossdk.io/x/circuit" - _globals["_MODULE"]._serialized_start = 101 - _globals["_MODULE"]._serialized_end = 171 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.circuit.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\030Cosmos.Circuit.Module.V1\312\002\030Cosmos\\Circuit\\Module\\V1\342\002$Cosmos\\Circuit\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Circuit::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\030\n\026cosmossdk.io/x/circuit' + _globals['_MODULE']._serialized_start=101 + _globals['_MODULE']._serialized_end=171 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/circuit/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/circuit/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/circuit/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/circuit/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/circuit/v1/query_pb2.py b/pyinjective/proto/cosmos/circuit/v1/query_pb2.py index f4de9dd3..a4b77b8b 100644 --- a/pyinjective/proto/cosmos/circuit/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/circuit/v1/query_pb2.py @@ -7,56 +7,43 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.cosmos.circuit.v1 import types_pb2 as cosmos_dot_circuit_dot_v1_dot_types__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1d\x63osmos/circuit/v1/query.proto\x12\x11\x63osmos.circuit.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1d\x63osmos/circuit/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/query/v1/query.proto"/\n\x13QueryAccountRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress"Q\n\x0f\x41\x63\x63ountResponse\x12>\n\npermission\x18\x01 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\npermission"^\n\x14QueryAccountsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xa5\x01\n\x10\x41\x63\x63ountsResponse\x12H\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32,.cosmos.circuit.v1.GenesisAccountPermissionsR\x08\x61\x63\x63ounts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x1a\n\x18QueryDisabledListRequest";\n\x14\x44isabledListResponse\x12#\n\rdisabled_list\x18\x01 \x03(\tR\x0c\x64isabledList2\xad\x03\n\x05Query\x12\x89\x01\n\x07\x41\x63\x63ount\x12&.cosmos.circuit.v1.QueryAccountRequest\x1a".cosmos.circuit.v1.AccountResponse"2\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\'\x12%/cosmos/circuit/v1/accounts/{address}\x12\x82\x01\n\x08\x41\x63\x63ounts\x12\'.cosmos.circuit.v1.QueryAccountsRequest\x1a#.cosmos.circuit.v1.AccountsResponse"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/circuit/v1/accounts\x12\x92\x01\n\x0c\x44isabledList\x12+.cosmos.circuit.v1.QueryDisabledListRequest\x1a\'.cosmos.circuit.v1.DisabledListResponse",\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02!\x12\x1f/cosmos/circuit/v1/disable_listB\xa7\x01\n\x15\x63om.cosmos.circuit.v1B\nQueryProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/circuit/v1/query.proto\x12\x11\x63osmos.circuit.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1d\x63osmos/circuit/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/query/v1/query.proto\"/\n\x13QueryAccountRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"Q\n\x0f\x41\x63\x63ountResponse\x12>\n\npermission\x18\x01 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\npermission\"^\n\x14QueryAccountsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa5\x01\n\x10\x41\x63\x63ountsResponse\x12H\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32,.cosmos.circuit.v1.GenesisAccountPermissionsR\x08\x61\x63\x63ounts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x1a\n\x18QueryDisabledListRequest\";\n\x14\x44isabledListResponse\x12#\n\rdisabled_list\x18\x01 \x03(\tR\x0c\x64isabledList2\xad\x03\n\x05Query\x12\x89\x01\n\x07\x41\x63\x63ount\x12&.cosmos.circuit.v1.QueryAccountRequest\x1a\".cosmos.circuit.v1.AccountResponse\"2\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\'\x12%/cosmos/circuit/v1/accounts/{address}\x12\x82\x01\n\x08\x41\x63\x63ounts\x12\'.cosmos.circuit.v1.QueryAccountsRequest\x1a#.cosmos.circuit.v1.AccountsResponse\"(\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/circuit/v1/accounts\x12\x92\x01\n\x0c\x44isabledList\x12+.cosmos.circuit.v1.QueryDisabledListRequest\x1a\'.cosmos.circuit.v1.DisabledListResponse\",\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02!\x12\x1f/cosmos/circuit/v1/disable_listB\xa7\x01\n\x15\x63om.cosmos.circuit.v1B\nQueryProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.circuit.v1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.circuit.v1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\025com.cosmos.circuit.v1B\nQueryProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1" - ) - _globals["_QUERY"].methods_by_name["Account"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Account" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002'\022%/cosmos/circuit/v1/accounts/{address}" - _globals["_QUERY"].methods_by_name["Accounts"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Accounts" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/circuit/v1/accounts" - _globals["_QUERY"].methods_by_name["DisabledList"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DisabledList" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002!\022\037/cosmos/circuit/v1/disable_list" - _globals["_QUERYACCOUNTREQUEST"]._serialized_start = 186 - _globals["_QUERYACCOUNTREQUEST"]._serialized_end = 233 - _globals["_ACCOUNTRESPONSE"]._serialized_start = 235 - _globals["_ACCOUNTRESPONSE"]._serialized_end = 316 - _globals["_QUERYACCOUNTSREQUEST"]._serialized_start = 318 - _globals["_QUERYACCOUNTSREQUEST"]._serialized_end = 412 - _globals["_ACCOUNTSRESPONSE"]._serialized_start = 415 - _globals["_ACCOUNTSRESPONSE"]._serialized_end = 580 - _globals["_QUERYDISABLEDLISTREQUEST"]._serialized_start = 582 - _globals["_QUERYDISABLEDLISTREQUEST"]._serialized_end = 608 - _globals["_DISABLEDLISTRESPONSE"]._serialized_start = 610 - _globals["_DISABLEDLISTRESPONSE"]._serialized_end = 669 - _globals["_QUERY"]._serialized_start = 672 - _globals["_QUERY"]._serialized_end = 1101 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.circuit.v1B\nQueryProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1' + _globals['_QUERY'].methods_by_name['Account']._loaded_options = None + _globals['_QUERY'].methods_by_name['Account']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\'\022%/cosmos/circuit/v1/accounts/{address}' + _globals['_QUERY'].methods_by_name['Accounts']._loaded_options = None + _globals['_QUERY'].methods_by_name['Accounts']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\035\022\033/cosmos/circuit/v1/accounts' + _globals['_QUERY'].methods_by_name['DisabledList']._loaded_options = None + _globals['_QUERY'].methods_by_name['DisabledList']._serialized_options = b'\210\347\260*\001\202\323\344\223\002!\022\037/cosmos/circuit/v1/disable_list' + _globals['_QUERYACCOUNTREQUEST']._serialized_start=186 + _globals['_QUERYACCOUNTREQUEST']._serialized_end=233 + _globals['_ACCOUNTRESPONSE']._serialized_start=235 + _globals['_ACCOUNTRESPONSE']._serialized_end=316 + _globals['_QUERYACCOUNTSREQUEST']._serialized_start=318 + _globals['_QUERYACCOUNTSREQUEST']._serialized_end=412 + _globals['_ACCOUNTSRESPONSE']._serialized_start=415 + _globals['_ACCOUNTSRESPONSE']._serialized_end=580 + _globals['_QUERYDISABLEDLISTREQUEST']._serialized_start=582 + _globals['_QUERYDISABLEDLISTREQUEST']._serialized_end=608 + _globals['_DISABLEDLISTRESPONSE']._serialized_start=610 + _globals['_DISABLEDLISTRESPONSE']._serialized_end=669 + _globals['_QUERY']._serialized_start=672 + _globals['_QUERY']._serialized_end=1101 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/circuit/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/circuit/v1/query_pb2_grpc.py index 6114a5d0..677ccf27 100644 --- a/pyinjective/proto/cosmos/circuit/v1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/circuit/v1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the circuit gRPC querier service.""" + """Query defines the circuit gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -15,91 +16,92 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Account = channel.unary_unary( - "/cosmos.circuit.v1.Query/Account", - request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountRequest.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountResponse.FromString, - _registered_method=True, - ) + '/cosmos.circuit.v1.Query/Account', + request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountRequest.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountResponse.FromString, + _registered_method=True) self.Accounts = channel.unary_unary( - "/cosmos.circuit.v1.Query/Accounts", - request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountsRequest.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountsResponse.FromString, - _registered_method=True, - ) + '/cosmos.circuit.v1.Query/Accounts', + request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountsRequest.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountsResponse.FromString, + _registered_method=True) self.DisabledList = channel.unary_unary( - "/cosmos.circuit.v1.Query/DisabledList", - request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryDisabledListRequest.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.DisabledListResponse.FromString, - _registered_method=True, - ) + '/cosmos.circuit.v1.Query/DisabledList', + request_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryDisabledListRequest.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.DisabledListResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the circuit gRPC querier service.""" + """Query defines the circuit gRPC querier service. + """ def Account(self, request, context): - """Account returns account permissions.""" + """Account returns account permissions. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Accounts(self, request, context): - """Account returns account permissions.""" + """Account returns account permissions. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DisabledList(self, request, context): - """DisabledList returns a list of disabled message urls""" + """DisabledList returns a list of disabled message urls + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Account": grpc.unary_unary_rpc_method_handler( - servicer.Account, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountRequest.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountResponse.SerializeToString, - ), - "Accounts": grpc.unary_unary_rpc_method_handler( - servicer.Accounts, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountsRequest.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountsResponse.SerializeToString, - ), - "DisabledList": grpc.unary_unary_rpc_method_handler( - servicer.DisabledList, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryDisabledListRequest.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.DisabledListResponse.SerializeToString, - ), + 'Account': grpc.unary_unary_rpc_method_handler( + servicer.Account, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountRequest.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountResponse.SerializeToString, + ), + 'Accounts': grpc.unary_unary_rpc_method_handler( + servicer.Accounts, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountsRequest.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountsResponse.SerializeToString, + ), + 'DisabledList': grpc.unary_unary_rpc_method_handler( + servicer.DisabledList, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryDisabledListRequest.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_query__pb2.DisabledListResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.circuit.v1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.circuit.v1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.circuit.v1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.circuit.v1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the circuit gRPC querier service.""" + """Query defines the circuit gRPC querier service. + """ @staticmethod - def Account( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Account(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.circuit.v1.Query/Account", + '/cosmos.circuit.v1.Query/Account', cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountRequest.SerializeToString, cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountResponse.FromString, options, @@ -110,26 +112,23 @@ def Account( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Accounts( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Accounts(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.circuit.v1.Query/Accounts", + '/cosmos.circuit.v1.Query/Accounts', cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryAccountsRequest.SerializeToString, cosmos_dot_circuit_dot_v1_dot_query__pb2.AccountsResponse.FromString, options, @@ -140,26 +139,23 @@ def Accounts( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DisabledList( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DisabledList(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.circuit.v1.Query/DisabledList", + '/cosmos.circuit.v1.Query/DisabledList', cosmos_dot_circuit_dot_v1_dot_query__pb2.QueryDisabledListRequest.SerializeToString, cosmos_dot_circuit_dot_v1_dot_query__pb2.DisabledListResponse.FromString, options, @@ -170,5 +166,4 @@ def DisabledList( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/circuit/v1/tx_pb2.py b/pyinjective/proto/cosmos/circuit/v1/tx_pb2.py index 1fc42941..931bde0e 100644 --- a/pyinjective/proto/cosmos/circuit/v1/tx_pb2.py +++ b/pyinjective/proto/cosmos/circuit/v1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,38 +16,34 @@ from pyinjective.proto.cosmos.circuit.v1 import types_pb2 as cosmos_dot_circuit_dot_v1_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1a\x63osmos/circuit/v1/tx.proto\x12\x11\x63osmos.circuit.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1d\x63osmos/circuit/v1/types.proto"\xa0\x01\n\x1aMsgAuthorizeCircuitBreaker\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x18\n\x07grantee\x18\x02 \x01(\tR\x07grantee\x12@\n\x0bpermissions\x18\x03 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\x0bpermissions:\x0c\x82\xe7\xb0*\x07granter">\n"MsgAuthorizeCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success"i\n\x15MsgTripCircuitBreaker\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12"\n\rmsg_type_urls\x18\x02 \x03(\tR\x0bmsgTypeUrls:\x0e\x82\xe7\xb0*\tauthority"9\n\x1dMsgTripCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success"j\n\x16MsgResetCircuitBreaker\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12"\n\rmsg_type_urls\x18\x03 \x03(\tR\x0bmsgTypeUrls:\x0e\x82\xe7\xb0*\tauthority":\n\x1eMsgResetCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success2\xf4\x02\n\x03Msg\x12\x7f\n\x17\x41uthorizeCircuitBreaker\x12-.cosmos.circuit.v1.MsgAuthorizeCircuitBreaker\x1a\x35.cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse\x12p\n\x12TripCircuitBreaker\x12(.cosmos.circuit.v1.MsgTripCircuitBreaker\x1a\x30.cosmos.circuit.v1.MsgTripCircuitBreakerResponse\x12s\n\x13ResetCircuitBreaker\x12).cosmos.circuit.v1.MsgResetCircuitBreaker\x1a\x31.cosmos.circuit.v1.MsgResetCircuitBreakerResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xa4\x01\n\x15\x63om.cosmos.circuit.v1B\x07TxProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63osmos/circuit/v1/tx.proto\x12\x11\x63osmos.circuit.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1d\x63osmos/circuit/v1/types.proto\"\xa0\x01\n\x1aMsgAuthorizeCircuitBreaker\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x18\n\x07grantee\x18\x02 \x01(\tR\x07grantee\x12@\n\x0bpermissions\x18\x03 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\x0bpermissions:\x0c\x82\xe7\xb0*\x07granter\">\n\"MsgAuthorizeCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\"i\n\x15MsgTripCircuitBreaker\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12\"\n\rmsg_type_urls\x18\x02 \x03(\tR\x0bmsgTypeUrls:\x0e\x82\xe7\xb0*\tauthority\"9\n\x1dMsgTripCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\"j\n\x16MsgResetCircuitBreaker\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12\"\n\rmsg_type_urls\x18\x03 \x03(\tR\x0bmsgTypeUrls:\x0e\x82\xe7\xb0*\tauthority\":\n\x1eMsgResetCircuitBreakerResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success2\xf4\x02\n\x03Msg\x12\x7f\n\x17\x41uthorizeCircuitBreaker\x12-.cosmos.circuit.v1.MsgAuthorizeCircuitBreaker\x1a\x35.cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse\x12p\n\x12TripCircuitBreaker\x12(.cosmos.circuit.v1.MsgTripCircuitBreaker\x1a\x30.cosmos.circuit.v1.MsgTripCircuitBreakerResponse\x12s\n\x13ResetCircuitBreaker\x12).cosmos.circuit.v1.MsgResetCircuitBreaker\x1a\x31.cosmos.circuit.v1.MsgResetCircuitBreakerResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xa4\x01\n\x15\x63om.cosmos.circuit.v1B\x07TxProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.circuit.v1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.circuit.v1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\025com.cosmos.circuit.v1B\007TxProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1" - ) - _globals["_MSGAUTHORIZECIRCUITBREAKER"]._loaded_options = None - _globals["_MSGAUTHORIZECIRCUITBREAKER"]._serialized_options = b"\202\347\260*\007granter" - _globals["_MSGTRIPCIRCUITBREAKER"]._loaded_options = None - _globals["_MSGTRIPCIRCUITBREAKER"]._serialized_options = b"\202\347\260*\tauthority" - _globals["_MSGRESETCIRCUITBREAKER"]._loaded_options = None - _globals["_MSGRESETCIRCUITBREAKER"]._serialized_options = b"\202\347\260*\tauthority" - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGAUTHORIZECIRCUITBREAKER"]._serialized_start = 106 - _globals["_MSGAUTHORIZECIRCUITBREAKER"]._serialized_end = 266 - _globals["_MSGAUTHORIZECIRCUITBREAKERRESPONSE"]._serialized_start = 268 - _globals["_MSGAUTHORIZECIRCUITBREAKERRESPONSE"]._serialized_end = 330 - _globals["_MSGTRIPCIRCUITBREAKER"]._serialized_start = 332 - _globals["_MSGTRIPCIRCUITBREAKER"]._serialized_end = 437 - _globals["_MSGTRIPCIRCUITBREAKERRESPONSE"]._serialized_start = 439 - _globals["_MSGTRIPCIRCUITBREAKERRESPONSE"]._serialized_end = 496 - _globals["_MSGRESETCIRCUITBREAKER"]._serialized_start = 498 - _globals["_MSGRESETCIRCUITBREAKER"]._serialized_end = 604 - _globals["_MSGRESETCIRCUITBREAKERRESPONSE"]._serialized_start = 606 - _globals["_MSGRESETCIRCUITBREAKERRESPONSE"]._serialized_end = 664 - _globals["_MSG"]._serialized_start = 667 - _globals["_MSG"]._serialized_end = 1039 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.circuit.v1B\007TxProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1' + _globals['_MSGAUTHORIZECIRCUITBREAKER']._loaded_options = None + _globals['_MSGAUTHORIZECIRCUITBREAKER']._serialized_options = b'\202\347\260*\007granter' + _globals['_MSGTRIPCIRCUITBREAKER']._loaded_options = None + _globals['_MSGTRIPCIRCUITBREAKER']._serialized_options = b'\202\347\260*\tauthority' + _globals['_MSGRESETCIRCUITBREAKER']._loaded_options = None + _globals['_MSGRESETCIRCUITBREAKER']._serialized_options = b'\202\347\260*\tauthority' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGAUTHORIZECIRCUITBREAKER']._serialized_start=106 + _globals['_MSGAUTHORIZECIRCUITBREAKER']._serialized_end=266 + _globals['_MSGAUTHORIZECIRCUITBREAKERRESPONSE']._serialized_start=268 + _globals['_MSGAUTHORIZECIRCUITBREAKERRESPONSE']._serialized_end=330 + _globals['_MSGTRIPCIRCUITBREAKER']._serialized_start=332 + _globals['_MSGTRIPCIRCUITBREAKER']._serialized_end=437 + _globals['_MSGTRIPCIRCUITBREAKERRESPONSE']._serialized_start=439 + _globals['_MSGTRIPCIRCUITBREAKERRESPONSE']._serialized_end=496 + _globals['_MSGRESETCIRCUITBREAKER']._serialized_start=498 + _globals['_MSGRESETCIRCUITBREAKER']._serialized_end=604 + _globals['_MSGRESETCIRCUITBREAKERRESPONSE']._serialized_start=606 + _globals['_MSGRESETCIRCUITBREAKERRESPONSE']._serialized_end=664 + _globals['_MSG']._serialized_start=667 + _globals['_MSG']._serialized_end=1039 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/circuit/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/circuit/v1/tx_pb2_grpc.py index c13e7bce..ab4dcc13 100644 --- a/pyinjective/proto/cosmos/circuit/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/circuit/v1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the circuit Msg service.""" + """Msg defines the circuit Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,95 +16,94 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.AuthorizeCircuitBreaker = channel.unary_unary( - "/cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker", - request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreaker.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreakerResponse.FromString, - _registered_method=True, - ) + '/cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker', + request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreaker.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreakerResponse.FromString, + _registered_method=True) self.TripCircuitBreaker = channel.unary_unary( - "/cosmos.circuit.v1.Msg/TripCircuitBreaker", - request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreaker.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreakerResponse.FromString, - _registered_method=True, - ) + '/cosmos.circuit.v1.Msg/TripCircuitBreaker', + request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreaker.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreakerResponse.FromString, + _registered_method=True) self.ResetCircuitBreaker = channel.unary_unary( - "/cosmos.circuit.v1.Msg/ResetCircuitBreaker", - request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreaker.SerializeToString, - response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreakerResponse.FromString, - _registered_method=True, - ) + '/cosmos.circuit.v1.Msg/ResetCircuitBreaker', + request_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreaker.SerializeToString, + response_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreakerResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the circuit Msg service.""" + """Msg defines the circuit Msg service. + """ def AuthorizeCircuitBreaker(self, request, context): """AuthorizeCircuitBreaker allows a super-admin to grant (or revoke) another account's circuit breaker permissions. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TripCircuitBreaker(self, request, context): - """TripCircuitBreaker pauses processing of Msg's in the state machine.""" + """TripCircuitBreaker pauses processing of Msg's in the state machine. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ResetCircuitBreaker(self, request, context): """ResetCircuitBreaker resumes processing of Msg's in the state machine that have been been paused using TripCircuitBreaker. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "AuthorizeCircuitBreaker": grpc.unary_unary_rpc_method_handler( - servicer.AuthorizeCircuitBreaker, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreaker.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreakerResponse.SerializeToString, - ), - "TripCircuitBreaker": grpc.unary_unary_rpc_method_handler( - servicer.TripCircuitBreaker, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreaker.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreakerResponse.SerializeToString, - ), - "ResetCircuitBreaker": grpc.unary_unary_rpc_method_handler( - servicer.ResetCircuitBreaker, - request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreaker.FromString, - response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreakerResponse.SerializeToString, - ), + 'AuthorizeCircuitBreaker': grpc.unary_unary_rpc_method_handler( + servicer.AuthorizeCircuitBreaker, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreaker.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreakerResponse.SerializeToString, + ), + 'TripCircuitBreaker': grpc.unary_unary_rpc_method_handler( + servicer.TripCircuitBreaker, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreaker.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreakerResponse.SerializeToString, + ), + 'ResetCircuitBreaker': grpc.unary_unary_rpc_method_handler( + servicer.ResetCircuitBreaker, + request_deserializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreaker.FromString, + response_serializer=cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreakerResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.circuit.v1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.circuit.v1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.circuit.v1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.circuit.v1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the circuit Msg service.""" + """Msg defines the circuit Msg service. + """ @staticmethod - def AuthorizeCircuitBreaker( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AuthorizeCircuitBreaker(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker", + '/cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker', cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreaker.SerializeToString, cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgAuthorizeCircuitBreakerResponse.FromString, options, @@ -114,26 +114,23 @@ def AuthorizeCircuitBreaker( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def TripCircuitBreaker( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def TripCircuitBreaker(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.circuit.v1.Msg/TripCircuitBreaker", + '/cosmos.circuit.v1.Msg/TripCircuitBreaker', cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreaker.SerializeToString, cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgTripCircuitBreakerResponse.FromString, options, @@ -144,26 +141,23 @@ def TripCircuitBreaker( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ResetCircuitBreaker( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ResetCircuitBreaker(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.circuit.v1.Msg/ResetCircuitBreaker", + '/cosmos.circuit.v1.Msg/ResetCircuitBreaker', cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreaker.SerializeToString, cosmos_dot_circuit_dot_v1_dot_tx__pb2.MsgResetCircuitBreakerResponse.FromString, options, @@ -174,5 +168,4 @@ def ResetCircuitBreaker( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/circuit/v1/types_pb2.py b/pyinjective/proto/cosmos/circuit/v1/types_pb2.py index 9579bcaa..53f8703e 100644 --- a/pyinjective/proto/cosmos/circuit/v1/types_pb2.py +++ b/pyinjective/proto/cosmos/circuit/v1/types_pb2.py @@ -7,30 +7,27 @@ 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\x1d\x63osmos/circuit/v1/types.proto\x12\x11\x63osmos.circuit.v1"\xd6\x01\n\x0bPermissions\x12:\n\x05level\x18\x01 \x01(\x0e\x32$.cosmos.circuit.v1.Permissions.LevelR\x05level\x12&\n\x0flimit_type_urls\x18\x02 \x03(\tR\rlimitTypeUrls"c\n\x05Level\x12\x1a\n\x16LEVEL_NONE_UNSPECIFIED\x10\x00\x12\x13\n\x0fLEVEL_SOME_MSGS\x10\x01\x12\x12\n\x0eLEVEL_ALL_MSGS\x10\x02\x12\x15\n\x11LEVEL_SUPER_ADMIN\x10\x03"w\n\x19GenesisAccountPermissions\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\x0bpermissions\x18\x02 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\x0bpermissions"\x9b\x01\n\x0cGenesisState\x12]\n\x13\x61\x63\x63ount_permissions\x18\x01 \x03(\x0b\x32,.cosmos.circuit.v1.GenesisAccountPermissionsR\x12\x61\x63\x63ountPermissions\x12,\n\x12\x64isabled_type_urls\x18\x02 \x03(\tR\x10\x64isabledTypeUrlsB\xa7\x01\n\x15\x63om.cosmos.circuit.v1B\nTypesProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/circuit/v1/types.proto\x12\x11\x63osmos.circuit.v1\"\xd6\x01\n\x0bPermissions\x12:\n\x05level\x18\x01 \x01(\x0e\x32$.cosmos.circuit.v1.Permissions.LevelR\x05level\x12&\n\x0flimit_type_urls\x18\x02 \x03(\tR\rlimitTypeUrls\"c\n\x05Level\x12\x1a\n\x16LEVEL_NONE_UNSPECIFIED\x10\x00\x12\x13\n\x0fLEVEL_SOME_MSGS\x10\x01\x12\x12\n\x0eLEVEL_ALL_MSGS\x10\x02\x12\x15\n\x11LEVEL_SUPER_ADMIN\x10\x03\"w\n\x19GenesisAccountPermissions\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\x0bpermissions\x18\x02 \x01(\x0b\x32\x1e.cosmos.circuit.v1.PermissionsR\x0bpermissions\"\x9b\x01\n\x0cGenesisState\x12]\n\x13\x61\x63\x63ount_permissions\x18\x01 \x03(\x0b\x32,.cosmos.circuit.v1.GenesisAccountPermissionsR\x12\x61\x63\x63ountPermissions\x12,\n\x12\x64isabled_type_urls\x18\x02 \x03(\tR\x10\x64isabledTypeUrlsB\xa7\x01\n\x15\x63om.cosmos.circuit.v1B\nTypesProtoP\x01Z\x1c\x63osmossdk.io/x/circuit/types\xa2\x02\x03\x43\x43X\xaa\x02\x11\x43osmos.Circuit.V1\xca\x02\x11\x43osmos\\Circuit\\V1\xe2\x02\x1d\x43osmos\\Circuit\\V1\\GPBMetadata\xea\x02\x13\x43osmos::Circuit::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.circuit.v1.types_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.circuit.v1.types_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\025com.cosmos.circuit.v1B\nTypesProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1" - ) - _globals["_PERMISSIONS"]._serialized_start = 53 - _globals["_PERMISSIONS"]._serialized_end = 267 - _globals["_PERMISSIONS_LEVEL"]._serialized_start = 168 - _globals["_PERMISSIONS_LEVEL"]._serialized_end = 267 - _globals["_GENESISACCOUNTPERMISSIONS"]._serialized_start = 269 - _globals["_GENESISACCOUNTPERMISSIONS"]._serialized_end = 388 - _globals["_GENESISSTATE"]._serialized_start = 391 - _globals["_GENESISSTATE"]._serialized_end = 546 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.circuit.v1B\nTypesProtoP\001Z\034cosmossdk.io/x/circuit/types\242\002\003CCX\252\002\021Cosmos.Circuit.V1\312\002\021Cosmos\\Circuit\\V1\342\002\035Cosmos\\Circuit\\V1\\GPBMetadata\352\002\023Cosmos::Circuit::V1' + _globals['_PERMISSIONS']._serialized_start=53 + _globals['_PERMISSIONS']._serialized_end=267 + _globals['_PERMISSIONS_LEVEL']._serialized_start=168 + _globals['_PERMISSIONS_LEVEL']._serialized_end=267 + _globals['_GENESISACCOUNTPERMISSIONS']._serialized_start=269 + _globals['_GENESISACCOUNTPERMISSIONS']._serialized_end=388 + _globals['_GENESISSTATE']._serialized_start=391 + _globals['_GENESISSTATE']._serialized_end=546 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/circuit/v1/types_pb2_grpc.py b/pyinjective/proto/cosmos/circuit/v1/types_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/circuit/v1/types_pb2_grpc.py +++ b/pyinjective/proto/cosmos/circuit/v1/types_pb2_grpc.py @@ -1,3 +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/cosmos/consensus/module/v1/module_pb2.py b/pyinjective/proto/cosmos/consensus/module/v1/module_pb2.py index 5628645e..723e1ebf 100644 --- a/pyinjective/proto/cosmos/consensus/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/consensus/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n'cosmos/consensus/module/v1/module.proto\x12\x1a\x63osmos.consensus.module.v1\x1a cosmos/app/v1alpha1/module.proto\"X\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:0\xba\xc0\x96\xda\x01*\n(github.com/cosmos/cosmos-sdk/x/consensusB\xb8\x01\n\x1e\x63om.cosmos.consensus.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x1a\x43osmos.Consensus.Module.V1\xca\x02\x1a\x43osmos\\Consensus\\Module\\V1\xe2\x02&Cosmos\\Consensus\\Module\\V1\\GPBMetadata\xea\x02\x1d\x43osmos::Consensus::Module::V1b\x06proto3" -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/consensus/module/v1/module.proto\x12\x1a\x63osmos.consensus.module.v1\x1a cosmos/app/v1alpha1/module.proto\"X\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:0\xba\xc0\x96\xda\x01*\n(github.com/cosmos/cosmos-sdk/x/consensusB\xb8\x01\n\x1e\x63om.cosmos.consensus.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x1a\x43osmos.Consensus.Module.V1\xca\x02\x1a\x43osmos\\Consensus\\Module\\V1\xe2\x02&Cosmos\\Consensus\\Module\\V1\\GPBMetadata\xea\x02\x1d\x43osmos::Consensus::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.consensus.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\036com.cosmos.consensus.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\032Cosmos.Consensus.Module.V1\312\002\032Cosmos\\Consensus\\Module\\V1\342\002&Cosmos\\Consensus\\Module\\V1\\GPBMetadata\352\002\035Cosmos::Consensus::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001*\n(github.com/cosmos/cosmos-sdk/x/consensus" - _globals["_MODULE"]._serialized_start = 105 - _globals["_MODULE"]._serialized_end = 193 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.cosmos.consensus.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\032Cosmos.Consensus.Module.V1\312\002\032Cosmos\\Consensus\\Module\\V1\342\002&Cosmos\\Consensus\\Module\\V1\\GPBMetadata\352\002\035Cosmos::Consensus::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001*\n(github.com/cosmos/cosmos-sdk/x/consensus' + _globals['_MODULE']._serialized_start=105 + _globals['_MODULE']._serialized_end=193 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/consensus/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/consensus/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/consensus/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/consensus/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/consensus/v1/query_pb2.py b/pyinjective/proto/cosmos/consensus/v1/query_pb2.py index fefcdb2e..32464859 100644 --- a/pyinjective/proto/cosmos/consensus/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/consensus/v1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,26 +16,20 @@ from pyinjective.proto.tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1f\x63osmos/consensus/v1/query.proto\x12\x13\x63osmos.consensus.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dtendermint/types/params.proto"\x14\n\x12QueryParamsRequest"P\n\x13QueryParamsResponse\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x06params2\x8a\x01\n\x05Query\x12\x80\x01\n\x06Params\x12\'.cosmos.consensus.v1.QueryParamsRequest\x1a(.cosmos.consensus.v1.QueryParamsResponse"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/consensus/v1/paramsB\xc3\x01\n\x17\x63om.cosmos.consensus.v1B\nQueryProtoP\x01Z.github.com/cosmos/cosmos-sdk/x/consensus/types\xa2\x02\x03\x43\x43X\xaa\x02\x13\x43osmos.Consensus.V1\xca\x02\x13\x43osmos\\Consensus\\V1\xe2\x02\x1f\x43osmos\\Consensus\\V1\\GPBMetadata\xea\x02\x15\x43osmos::Consensus::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/consensus/v1/query.proto\x12\x13\x63osmos.consensus.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dtendermint/types/params.proto\"\x14\n\x12QueryParamsRequest\"P\n\x13QueryParamsResponse\x12\x39\n\x06params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x06params2\x8a\x01\n\x05Query\x12\x80\x01\n\x06Params\x12\'.cosmos.consensus.v1.QueryParamsRequest\x1a(.cosmos.consensus.v1.QueryParamsResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/consensus/v1/paramsB\xc3\x01\n\x17\x63om.cosmos.consensus.v1B\nQueryProtoP\x01Z.github.com/cosmos/cosmos-sdk/x/consensus/types\xa2\x02\x03\x43\x43X\xaa\x02\x13\x43osmos.Consensus.V1\xca\x02\x13\x43osmos\\Consensus\\V1\xe2\x02\x1f\x43osmos\\Consensus\\V1\\GPBMetadata\xea\x02\x15\x43osmos::Consensus::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.consensus.v1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.v1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.consensus.v1B\nQueryProtoP\001Z.github.com/cosmos/cosmos-sdk/x/consensus/types\242\002\003CCX\252\002\023Cosmos.Consensus.V1\312\002\023Cosmos\\Consensus\\V1\342\002\037Cosmos\\Consensus\\V1\\GPBMetadata\352\002\025Cosmos::Consensus::V1" - ) - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\202\323\344\223\002\035\022\033/cosmos/consensus/v1/params" - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 117 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 137 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 139 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 219 - _globals["_QUERY"]._serialized_start = 222 - _globals["_QUERY"]._serialized_end = 360 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.consensus.v1B\nQueryProtoP\001Z.github.com/cosmos/cosmos-sdk/x/consensus/types\242\002\003CCX\252\002\023Cosmos.Consensus.V1\312\002\023Cosmos\\Consensus\\V1\342\002\037Cosmos\\Consensus\\V1\\GPBMetadata\352\002\025Cosmos::Consensus::V1' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/consensus/v1/params' + _globals['_QUERYPARAMSREQUEST']._serialized_start=117 + _globals['_QUERYPARAMSREQUEST']._serialized_end=137 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=139 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=219 + _globals['_QUERY']._serialized_start=222 + _globals['_QUERY']._serialized_end=360 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/consensus/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/consensus/v1/query_pb2_grpc.py index 077b51e9..b1a719b2 100644 --- a/pyinjective/proto/cosmos/consensus/v1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/consensus/v1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -15,57 +16,58 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - "/cosmos.consensus.v1.Query/Params", - request_serializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.consensus.v1.Query/Params', + request_serializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def Params(self, request, context): - """Params queries the parameters of x/consensus module.""" + """Params queries the parameters of x/consensus module. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.consensus.v1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.consensus.v1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.consensus.v1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.consensus.v1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.consensus.v1.Query/Params", + '/cosmos.consensus.v1.Query/Params', cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_consensus_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -76,5 +78,4 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py b/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py index e657c97b..584d4c38 100644 --- a/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py +++ b/pyinjective/proto/cosmos/consensus/v1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,30 +18,24 @@ from pyinjective.proto.tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1c\x63osmos/consensus/v1/tx.proto\x12\x13\x63osmos.consensus.v1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1dtendermint/types/params.proto"\xea\x02\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x33\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x1d.tendermint.types.BlockParamsR\x05\x62lock\x12<\n\x08\x65vidence\x18\x03 \x01(\x0b\x32 .tendermint.types.EvidenceParamsR\x08\x65vidence\x12?\n\tvalidator\x18\x04 \x01(\x0b\x32!.tendermint.types.ValidatorParamsR\tvalidator\x12\x30\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParamsR\x04\x61\x62\x63i:9\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*&cosmos-sdk/x/consensus/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.consensus.v1.MsgUpdateParams\x1a,.cosmos.consensus.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc0\x01\n\x17\x63om.cosmos.consensus.v1B\x07TxProtoP\x01Z.github.com/cosmos/cosmos-sdk/x/consensus/types\xa2\x02\x03\x43\x43X\xaa\x02\x13\x43osmos.Consensus.V1\xca\x02\x13\x43osmos\\Consensus\\V1\xe2\x02\x1f\x43osmos\\Consensus\\V1\\GPBMetadata\xea\x02\x15\x43osmos::Consensus::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/consensus/v1/tx.proto\x12\x13\x63osmos.consensus.v1\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1dtendermint/types/params.proto\"\xea\x02\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x33\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x1d.tendermint.types.BlockParamsR\x05\x62lock\x12<\n\x08\x65vidence\x18\x03 \x01(\x0b\x32 .tendermint.types.EvidenceParamsR\x08\x65vidence\x12?\n\tvalidator\x18\x04 \x01(\x0b\x32!.tendermint.types.ValidatorParamsR\tvalidator\x12\x30\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParamsR\x04\x61\x62\x63i:9\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*&cosmos-sdk/x/consensus/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.consensus.v1.MsgUpdateParams\x1a,.cosmos.consensus.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc0\x01\n\x17\x63om.cosmos.consensus.v1B\x07TxProtoP\x01Z.github.com/cosmos/cosmos-sdk/x/consensus/types\xa2\x02\x03\x43\x43X\xaa\x02\x13\x43osmos.Consensus.V1\xca\x02\x13\x43osmos\\Consensus\\V1\xe2\x02\x1f\x43osmos\\Consensus\\V1\\GPBMetadata\xea\x02\x15\x43osmos::Consensus::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.consensus.v1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.v1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.consensus.v1B\007TxProtoP\001Z.github.com/cosmos/cosmos-sdk/x/consensus/types\242\002\003CCX\252\002\023Cosmos.Consensus.V1\312\002\023Cosmos\\Consensus\\V1\342\002\037Cosmos\\Consensus\\V1\\GPBMetadata\352\002\025Cosmos::Consensus::V1" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*&cosmos-sdk/x/consensus/MsgUpdateParams" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGUPDATEPARAMS"]._serialized_start = 156 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 518 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 520 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 545 - _globals["_MSG"]._serialized_start = 547 - _globals["_MSG"]._serialized_end = 659 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.consensus.v1B\007TxProtoP\001Z.github.com/cosmos/cosmos-sdk/x/consensus/types\242\002\003CCX\252\002\023Cosmos.Consensus.V1\312\002\023Cosmos\\Consensus\\V1\342\002\037Cosmos\\Consensus\\V1\\GPBMetadata\352\002\025Cosmos::Consensus::V1' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*&cosmos-sdk/x/consensus/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGUPDATEPARAMS']._serialized_start=156 + _globals['_MSGUPDATEPARAMS']._serialized_end=518 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=520 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=545 + _globals['_MSG']._serialized_start=547 + _globals['_MSG']._serialized_end=659 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/consensus/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/consensus/v1/tx_pb2_grpc.py index fbaee79a..da512ed6 100644 --- a/pyinjective/proto/cosmos/consensus/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/consensus/v1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the consensus Msg service.""" + """Msg defines the consensus Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,15 +16,15 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.UpdateParams = channel.unary_unary( - "/cosmos.consensus.v1.Msg/UpdateParams", - request_serializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.consensus.v1.Msg/UpdateParams', + request_serializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the consensus Msg service.""" + """Msg defines the consensus Msg service. + """ def UpdateParams(self, request, context): """UpdateParams defines a governance operation for updating the x/consensus module parameters. @@ -32,44 +33,44 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.consensus.v1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.consensus.v1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.consensus.v1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.consensus.v1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the consensus Msg service.""" + """Msg defines the consensus Msg service. + """ @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.consensus.v1.Msg/UpdateParams", + '/cosmos.consensus.v1.Msg/UpdateParams', cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_consensus_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -80,5 +81,4 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py b/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py index edb32b1e..2f26f291 100644 --- a/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/crisis/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n$cosmos/crisis/module/v1/module.proto\x12\x17\x63osmos.crisis.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x83\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:-\xba\xc0\x96\xda\x01'\n%github.com/cosmos/cosmos-sdk/x/crisisB\xa9\x01\n\x1b\x63om.cosmos.crisis.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x17\x43osmos.Crisis.Module.V1\xca\x02\x17\x43osmos\\Crisis\\Module\\V1\xe2\x02#Cosmos\\Crisis\\Module\\V1\\GPBMetadata\xea\x02\x1a\x43osmos::Crisis::Module::V1b\x06proto3" -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/crisis/module/v1/module.proto\x12\x17\x63osmos.crisis.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x83\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:-\xba\xc0\x96\xda\x01\'\n%github.com/cosmos/cosmos-sdk/x/crisisB\xa9\x01\n\x1b\x63om.cosmos.crisis.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x43M\xaa\x02\x17\x43osmos.Crisis.Module.V1\xca\x02\x17\x43osmos\\Crisis\\Module\\V1\xe2\x02#Cosmos\\Crisis\\Module\\V1\\GPBMetadata\xea\x02\x1a\x43osmos::Crisis::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crisis.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.cosmos.crisis.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\027Cosmos.Crisis.Module.V1\312\002\027Cosmos\\Crisis\\Module\\V1\342\002#Cosmos\\Crisis\\Module\\V1\\GPBMetadata\352\002\032Cosmos::Crisis::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001'\n%github.com/cosmos/cosmos-sdk/x/crisis" - _globals["_MODULE"]._serialized_start = 100 - _globals["_MODULE"]._serialized_end = 231 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.crisis.module.v1B\013ModuleProtoP\001\242\002\003CCM\252\002\027Cosmos.Crisis.Module.V1\312\002\027Cosmos\\Crisis\\Module\\V1\342\002#Cosmos\\Crisis\\Module\\V1\\GPBMetadata\352\002\032Cosmos::Crisis::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\'\n%github.com/cosmos/cosmos-sdk/x/crisis' + _globals['_MODULE']._serialized_start=100 + _globals['_MODULE']._serialized_end=231 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crisis/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/crisis/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/crisis/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crisis/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/crisis/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2.py index f6ede622..e2a3ae8e 100644 --- a/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,20 +17,16 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#cosmos/crisis/v1beta1/genesis.proto\x12\x15\x63osmos.crisis.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto"W\n\x0cGenesisState\x12G\n\x0c\x63onstant_fee\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x63onstantFeeB\xcc\x01\n\x19\x63om.cosmos.crisis.v1beta1B\x0cGenesisProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/crisis/types\xa2\x02\x03\x43\x43X\xaa\x02\x15\x43osmos.Crisis.V1beta1\xca\x02\x15\x43osmos\\Crisis\\V1beta1\xe2\x02!Cosmos\\Crisis\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Crisis::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/crisis/v1beta1/genesis.proto\x12\x15\x63osmos.crisis.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"W\n\x0cGenesisState\x12G\n\x0c\x63onstant_fee\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x63onstantFeeB\xcc\x01\n\x19\x63om.cosmos.crisis.v1beta1B\x0cGenesisProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/crisis/types\xa2\x02\x03\x43\x43X\xaa\x02\x15\x43osmos.Crisis.V1beta1\xca\x02\x15\x43osmos\\Crisis\\V1beta1\xe2\x02!Cosmos\\Crisis\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Crisis::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crisis.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\031com.cosmos.crisis.v1beta1B\014GenesisProtoP\001Z+github.com/cosmos/cosmos-sdk/x/crisis/types\242\002\003CCX\252\002\025Cosmos.Crisis.V1beta1\312\002\025Cosmos\\Crisis\\V1beta1\342\002!Cosmos\\Crisis\\V1beta1\\GPBMetadata\352\002\027Cosmos::Crisis::V1beta1" - ) - _globals["_GENESISSTATE"].fields_by_name["constant_fee"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["constant_fee"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"]._serialized_start = 135 - _globals["_GENESISSTATE"]._serialized_end = 222 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.crisis.v1beta1B\014GenesisProtoP\001Z+github.com/cosmos/cosmos-sdk/x/crisis/types\242\002\003CCX\252\002\025Cosmos.Crisis.V1beta1\312\002\025Cosmos\\Crisis\\V1beta1\342\002!Cosmos\\Crisis\\V1beta1\\GPBMetadata\352\002\027Cosmos::Crisis::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['constant_fee']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['constant_fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE']._serialized_start=135 + _globals['_GENESISSTATE']._serialized_end=222 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crisis/v1beta1/genesis_pb2_grpc.py @@ -1,3 +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/cosmos/crisis/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2.py index 84c6afaf..534ad09d 100644 --- a/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,44 +19,34 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1e\x63osmos/crisis/v1beta1/tx.proto\x12\x15\x63osmos.crisis.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"\xda\x01\n\x12MsgVerifyInvariant\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x32\n\x15invariant_module_name\x18\x02 \x01(\tR\x13invariantModuleName\x12\'\n\x0finvariant_route\x18\x03 \x01(\tR\x0einvariantRoute:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgVerifyInvariant"\x1c\n\x1aMsgVerifyInvariantResponse"\xca\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12G\n\x0c\x63onstant_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x63onstantFee:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#cosmos-sdk/x/crisis/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2\xe5\x01\n\x03Msg\x12o\n\x0fVerifyInvariant\x12).cosmos.crisis.v1beta1.MsgVerifyInvariant\x1a\x31.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse\x12\x66\n\x0cUpdateParams\x12&.cosmos.crisis.v1beta1.MsgUpdateParams\x1a..cosmos.crisis.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc7\x01\n\x19\x63om.cosmos.crisis.v1beta1B\x07TxProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/crisis/types\xa2\x02\x03\x43\x43X\xaa\x02\x15\x43osmos.Crisis.V1beta1\xca\x02\x15\x43osmos\\Crisis\\V1beta1\xe2\x02!Cosmos\\Crisis\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Crisis::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/crisis/v1beta1/tx.proto\x12\x15\x63osmos.crisis.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\xda\x01\n\x12MsgVerifyInvariant\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x32\n\x15invariant_module_name\x18\x02 \x01(\tR\x13invariantModuleName\x12\'\n\x0finvariant_route\x18\x03 \x01(\tR\x0einvariantRoute:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgVerifyInvariant\"\x1c\n\x1aMsgVerifyInvariantResponse\"\xca\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12G\n\x0c\x63onstant_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x63onstantFee:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#cosmos-sdk/x/crisis/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xe5\x01\n\x03Msg\x12o\n\x0fVerifyInvariant\x12).cosmos.crisis.v1beta1.MsgVerifyInvariant\x1a\x31.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse\x12\x66\n\x0cUpdateParams\x12&.cosmos.crisis.v1beta1.MsgUpdateParams\x1a..cosmos.crisis.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc7\x01\n\x19\x63om.cosmos.crisis.v1beta1B\x07TxProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/crisis/types\xa2\x02\x03\x43\x43X\xaa\x02\x15\x43osmos.Crisis.V1beta1\xca\x02\x15\x43osmos\\Crisis\\V1beta1\xe2\x02!Cosmos\\Crisis\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Crisis::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crisis.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\031com.cosmos.crisis.v1beta1B\007TxProtoP\001Z+github.com/cosmos/cosmos-sdk/x/crisis/types\242\002\003CCX\252\002\025Cosmos.Crisis.V1beta1\312\002\025Cosmos\\Crisis\\V1beta1\342\002!Cosmos\\Crisis\\V1beta1\\GPBMetadata\352\002\027Cosmos::Crisis::V1beta1" - ) - _globals["_MSGVERIFYINVARIANT"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGVERIFYINVARIANT"].fields_by_name["sender"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGVERIFYINVARIANT"]._loaded_options = None - _globals["_MSGVERIFYINVARIANT"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035cosmos-sdk/MsgVerifyInvariant" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["constant_fee"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name[ - "constant_fee" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*#cosmos-sdk/x/crisis/MsgUpdateParams" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGVERIFYINVARIANT"]._serialized_start = 183 - _globals["_MSGVERIFYINVARIANT"]._serialized_end = 401 - _globals["_MSGVERIFYINVARIANTRESPONSE"]._serialized_start = 403 - _globals["_MSGVERIFYINVARIANTRESPONSE"]._serialized_end = 431 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 434 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 636 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 638 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 663 - _globals["_MSG"]._serialized_start = 666 - _globals["_MSG"]._serialized_end = 895 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.crisis.v1beta1B\007TxProtoP\001Z+github.com/cosmos/cosmos-sdk/x/crisis/types\242\002\003CCX\252\002\025Cosmos.Crisis.V1beta1\312\002\025Cosmos\\Crisis\\V1beta1\342\002!Cosmos\\Crisis\\V1beta1\\GPBMetadata\352\002\027Cosmos::Crisis::V1beta1' + _globals['_MSGVERIFYINVARIANT'].fields_by_name['sender']._loaded_options = None + _globals['_MSGVERIFYINVARIANT'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGVERIFYINVARIANT']._loaded_options = None + _globals['_MSGVERIFYINVARIANT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035cosmos-sdk/MsgVerifyInvariant' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['constant_fee']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['constant_fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*#cosmos-sdk/x/crisis/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGVERIFYINVARIANT']._serialized_start=183 + _globals['_MSGVERIFYINVARIANT']._serialized_end=401 + _globals['_MSGVERIFYINVARIANTRESPONSE']._serialized_start=403 + _globals['_MSGVERIFYINVARIANTRESPONSE']._serialized_end=431 + _globals['_MSGUPDATEPARAMS']._serialized_start=434 + _globals['_MSGUPDATEPARAMS']._serialized_end=636 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=638 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=663 + _globals['_MSG']._serialized_start=666 + _globals['_MSG']._serialized_end=895 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2_grpc.py index b7ed74b5..1d15bace 100644 --- a/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crisis/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the bank Msg service.""" + """Msg defines the bank Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,27 +16,27 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.VerifyInvariant = channel.unary_unary( - "/cosmos.crisis.v1beta1.Msg/VerifyInvariant", - request_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariant.SerializeToString, - response_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariantResponse.FromString, - _registered_method=True, - ) + '/cosmos.crisis.v1beta1.Msg/VerifyInvariant', + request_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariant.SerializeToString, + response_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariantResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( - "/cosmos.crisis.v1beta1.Msg/UpdateParams", - request_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.crisis.v1beta1.Msg/UpdateParams', + request_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the bank Msg service.""" + """Msg defines the bank Msg service. + """ def VerifyInvariant(self, request, context): - """VerifyInvariant defines a method to verify a particular invariant.""" + """VerifyInvariant defines a method to verify a particular invariant. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateParams(self, request, context): """UpdateParams defines a governance operation for updating the x/crisis module @@ -44,49 +45,49 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "VerifyInvariant": grpc.unary_unary_rpc_method_handler( - servicer.VerifyInvariant, - request_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariant.FromString, - response_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariantResponse.SerializeToString, - ), - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + 'VerifyInvariant': grpc.unary_unary_rpc_method_handler( + servicer.VerifyInvariant, + request_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariant.FromString, + response_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariantResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.crisis.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.crisis.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.crisis.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.crisis.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the bank Msg service.""" + """Msg defines the bank Msg service. + """ @staticmethod - def VerifyInvariant( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def VerifyInvariant(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.crisis.v1beta1.Msg/VerifyInvariant", + '/cosmos.crisis.v1beta1.Msg/VerifyInvariant', cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariant.SerializeToString, cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgVerifyInvariantResponse.FromString, options, @@ -97,26 +98,23 @@ def VerifyInvariant( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.crisis.v1beta1.Msg/UpdateParams", + '/cosmos.crisis.v1beta1.Msg/UpdateParams', cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_crisis_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -127,5 +125,4 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py b/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py index e0b57f1f..2855e3ba 100644 --- a/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py +++ b/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,30 +16,24 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n cosmos/crypto/ed25519/keys.proto\x12\x15\x63osmos.crypto.ed25519\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto"i\n\x06PubKey\x12.\n\x03key\x18\x01 \x01(\x0c\x42\x1c\xfa\xde\x1f\x18\x63rypto/ed25519.PublicKeyR\x03key:/\x98\xa0\x1f\x00\x8a\xe7\xb0*\x18tendermint/PubKeyEd25519\x92\xe7\xb0*\tkey_field"h\n\x07PrivKey\x12/\n\x03key\x18\x01 \x01(\x0c\x42\x1d\xfa\xde\x1f\x19\x63rypto/ed25519.PrivateKeyR\x03key:,\x8a\xe7\xb0*\x19tendermint/PrivKeyEd25519\x92\xe7\xb0*\tkey_fieldB\xce\x01\n\x19\x63om.cosmos.crypto.ed25519B\tKeysProtoP\x01Z0github.com/cosmos/cosmos-sdk/crypto/keys/ed25519\xa2\x02\x03\x43\x43\x45\xaa\x02\x15\x43osmos.Crypto.Ed25519\xca\x02\x15\x43osmos\\Crypto\\Ed25519\xe2\x02!Cosmos\\Crypto\\Ed25519\\GPBMetadata\xea\x02\x17\x43osmos::Crypto::Ed25519b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/crypto/ed25519/keys.proto\x12\x15\x63osmos.crypto.ed25519\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\"i\n\x06PubKey\x12.\n\x03key\x18\x01 \x01(\x0c\x42\x1c\xfa\xde\x1f\x18\x63rypto/ed25519.PublicKeyR\x03key:/\x98\xa0\x1f\x00\x8a\xe7\xb0*\x18tendermint/PubKeyEd25519\x92\xe7\xb0*\tkey_field\"h\n\x07PrivKey\x12/\n\x03key\x18\x01 \x01(\x0c\x42\x1d\xfa\xde\x1f\x19\x63rypto/ed25519.PrivateKeyR\x03key:,\x8a\xe7\xb0*\x19tendermint/PrivKeyEd25519\x92\xe7\xb0*\tkey_fieldB\xce\x01\n\x19\x63om.cosmos.crypto.ed25519B\tKeysProtoP\x01Z0github.com/cosmos/cosmos-sdk/crypto/keys/ed25519\xa2\x02\x03\x43\x43\x45\xaa\x02\x15\x43osmos.Crypto.Ed25519\xca\x02\x15\x43osmos\\Crypto\\Ed25519\xe2\x02!Cosmos\\Crypto\\Ed25519\\GPBMetadata\xea\x02\x17\x43osmos::Crypto::Ed25519b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crypto.ed25519.keys_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.ed25519.keys_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\031com.cosmos.crypto.ed25519B\tKeysProtoP\001Z0github.com/cosmos/cosmos-sdk/crypto/keys/ed25519\242\002\003CCE\252\002\025Cosmos.Crypto.Ed25519\312\002\025Cosmos\\Crypto\\Ed25519\342\002!Cosmos\\Crypto\\Ed25519\\GPBMetadata\352\002\027Cosmos::Crypto::Ed25519" - ) - _globals["_PUBKEY"].fields_by_name["key"]._loaded_options = None - _globals["_PUBKEY"].fields_by_name["key"]._serialized_options = b"\372\336\037\030crypto/ed25519.PublicKey" - _globals["_PUBKEY"]._loaded_options = None - _globals["_PUBKEY"]._serialized_options = ( - b"\230\240\037\000\212\347\260*\030tendermint/PubKeyEd25519\222\347\260*\tkey_field" - ) - _globals["_PRIVKEY"].fields_by_name["key"]._loaded_options = None - _globals["_PRIVKEY"].fields_by_name["key"]._serialized_options = b"\372\336\037\031crypto/ed25519.PrivateKey" - _globals["_PRIVKEY"]._loaded_options = None - _globals["_PRIVKEY"]._serialized_options = b"\212\347\260*\031tendermint/PrivKeyEd25519\222\347\260*\tkey_field" - _globals["_PUBKEY"]._serialized_start = 100 - _globals["_PUBKEY"]._serialized_end = 205 - _globals["_PRIVKEY"]._serialized_start = 207 - _globals["_PRIVKEY"]._serialized_end = 311 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.crypto.ed25519B\tKeysProtoP\001Z0github.com/cosmos/cosmos-sdk/crypto/keys/ed25519\242\002\003CCE\252\002\025Cosmos.Crypto.Ed25519\312\002\025Cosmos\\Crypto\\Ed25519\342\002!Cosmos\\Crypto\\Ed25519\\GPBMetadata\352\002\027Cosmos::Crypto::Ed25519' + _globals['_PUBKEY'].fields_by_name['key']._loaded_options = None + _globals['_PUBKEY'].fields_by_name['key']._serialized_options = b'\372\336\037\030crypto/ed25519.PublicKey' + _globals['_PUBKEY']._loaded_options = None + _globals['_PUBKEY']._serialized_options = b'\230\240\037\000\212\347\260*\030tendermint/PubKeyEd25519\222\347\260*\tkey_field' + _globals['_PRIVKEY'].fields_by_name['key']._loaded_options = None + _globals['_PRIVKEY'].fields_by_name['key']._serialized_options = b'\372\336\037\031crypto/ed25519.PrivateKey' + _globals['_PRIVKEY']._loaded_options = None + _globals['_PRIVKEY']._serialized_options = b'\212\347\260*\031tendermint/PrivKeyEd25519\222\347\260*\tkey_field' + _globals['_PUBKEY']._serialized_start=100 + _globals['_PUBKEY']._serialized_end=205 + _globals['_PRIVKEY']._serialized_start=207 + _globals['_PRIVKEY']._serialized_end=311 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crypto/ed25519/keys_pb2_grpc.py @@ -1,3 +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/cosmos/crypto/hd/v1/hd_pb2.py b/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2.py index e803ceb4..f6d78427 100644 --- a/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2.py +++ b/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,20 +16,16 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1c\x63osmos/crypto/hd/v1/hd.proto\x12\x13\x63osmos.crypto.hd.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto"\xc0\x01\n\x0b\x42IP44Params\x12\x18\n\x07purpose\x18\x01 \x01(\rR\x07purpose\x12\x1b\n\tcoin_type\x18\x02 \x01(\rR\x08\x63oinType\x12\x18\n\x07\x61\x63\x63ount\x18\x03 \x01(\rR\x07\x61\x63\x63ount\x12\x16\n\x06\x63hange\x18\x04 \x01(\x08R\x06\x63hange\x12#\n\raddress_index\x18\x05 \x01(\rR\x0c\x61\x64\x64ressIndex:#\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1a\x63rypto/keys/hd/BIP44ParamsB\xbd\x01\n\x17\x63om.cosmos.crypto.hd.v1B\x07HdProtoP\x01Z&github.com/cosmos/cosmos-sdk/crypto/hd\xa2\x02\x03\x43\x43H\xaa\x02\x13\x43osmos.Crypto.Hd.V1\xca\x02\x13\x43osmos\\Crypto\\Hd\\V1\xe2\x02\x1f\x43osmos\\Crypto\\Hd\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Crypto::Hd::V1\xc8\xe1\x1e\x00\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/crypto/hd/v1/hd.proto\x12\x13\x63osmos.crypto.hd.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\"\xc0\x01\n\x0b\x42IP44Params\x12\x18\n\x07purpose\x18\x01 \x01(\rR\x07purpose\x12\x1b\n\tcoin_type\x18\x02 \x01(\rR\x08\x63oinType\x12\x18\n\x07\x61\x63\x63ount\x18\x03 \x01(\rR\x07\x61\x63\x63ount\x12\x16\n\x06\x63hange\x18\x04 \x01(\x08R\x06\x63hange\x12#\n\raddress_index\x18\x05 \x01(\rR\x0c\x61\x64\x64ressIndex:#\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1a\x63rypto/keys/hd/BIP44ParamsB\xbd\x01\n\x17\x63om.cosmos.crypto.hd.v1B\x07HdProtoP\x01Z&github.com/cosmos/cosmos-sdk/crypto/hd\xa2\x02\x03\x43\x43H\xaa\x02\x13\x43osmos.Crypto.Hd.V1\xca\x02\x13\x43osmos\\Crypto\\Hd\\V1\xe2\x02\x1f\x43osmos\\Crypto\\Hd\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Crypto::Hd::V1\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crypto.hd.v1.hd_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.hd.v1.hd_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.crypto.hd.v1B\007HdProtoP\001Z&github.com/cosmos/cosmos-sdk/crypto/hd\242\002\003CCH\252\002\023Cosmos.Crypto.Hd.V1\312\002\023Cosmos\\Crypto\\Hd\\V1\342\002\037Cosmos\\Crypto\\Hd\\V1\\GPBMetadata\352\002\026Cosmos::Crypto::Hd::V1\310\341\036\000" - ) - _globals["_BIP44PARAMS"]._loaded_options = None - _globals["_BIP44PARAMS"]._serialized_options = b"\230\240\037\000\212\347\260*\032crypto/keys/hd/BIP44Params" - _globals["_BIP44PARAMS"]._serialized_start = 95 - _globals["_BIP44PARAMS"]._serialized_end = 287 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.crypto.hd.v1B\007HdProtoP\001Z&github.com/cosmos/cosmos-sdk/crypto/hd\242\002\003CCH\252\002\023Cosmos.Crypto.Hd.V1\312\002\023Cosmos\\Crypto\\Hd\\V1\342\002\037Cosmos\\Crypto\\Hd\\V1\\GPBMetadata\352\002\026Cosmos::Crypto::Hd::V1\310\341\036\000' + _globals['_BIP44PARAMS']._loaded_options = None + _globals['_BIP44PARAMS']._serialized_options = b'\230\240\037\000\212\347\260*\032crypto/keys/hd/BIP44Params' + _globals['_BIP44PARAMS']._serialized_start=95 + _globals['_BIP44PARAMS']._serialized_end=287 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py @@ -1,3 +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/cosmos/crypto/keyring/v1/record_pb2.py b/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2.py index 050eee7b..3d06ef24 100644 --- a/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2.py +++ b/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,26 +17,22 @@ from pyinjective.proto.cosmos.crypto.hd.v1 import hd_pb2 as cosmos_dot_crypto_dot_hd_dot_v1_dot_hd__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n%cosmos/crypto/keyring/v1/record.proto\x12\x18\x63osmos.crypto.keyring.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1c\x63osmos/crypto/hd/v1/hd.proto\"\xea\x03\n\x06Record\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06pubKey\x12>\n\x05local\x18\x03 \x01(\x0b\x32&.cosmos.crypto.keyring.v1.Record.LocalH\x00R\x05local\x12\x41\n\x06ledger\x18\x04 \x01(\x0b\x32'.cosmos.crypto.keyring.v1.Record.LedgerH\x00R\x06ledger\x12>\n\x05multi\x18\x05 \x01(\x0b\x32&.cosmos.crypto.keyring.v1.Record.MultiH\x00R\x05multi\x12\x44\n\x07offline\x18\x06 \x01(\x0b\x32(.cosmos.crypto.keyring.v1.Record.OfflineH\x00R\x07offline\x1a\x38\n\x05Local\x12/\n\x08priv_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x07privKey\x1a>\n\x06Ledger\x12\x34\n\x04path\x18\x01 \x01(\x0b\x32 .cosmos.crypto.hd.v1.BIP44ParamsR\x04path\x1a\x07\n\x05Multi\x1a\t\n\x07OfflineB\x06\n\x04itemB\xe3\x01\n\x1c\x63om.cosmos.crypto.keyring.v1B\x0bRecordProtoP\x01Z+github.com/cosmos/cosmos-sdk/crypto/keyring\xa2\x02\x03\x43\x43K\xaa\x02\x18\x43osmos.Crypto.Keyring.V1\xca\x02\x18\x43osmos\\Crypto\\Keyring\\V1\xe2\x02$Cosmos\\Crypto\\Keyring\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Crypto::Keyring::V1\xc8\xe1\x1e\x00\x98\xe3\x1e\x00\x62\x06proto3" -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/crypto/keyring/v1/record.proto\x12\x18\x63osmos.crypto.keyring.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1c\x63osmos/crypto/hd/v1/hd.proto\"\xea\x03\n\x06Record\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x07pub_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06pubKey\x12>\n\x05local\x18\x03 \x01(\x0b\x32&.cosmos.crypto.keyring.v1.Record.LocalH\x00R\x05local\x12\x41\n\x06ledger\x18\x04 \x01(\x0b\x32\'.cosmos.crypto.keyring.v1.Record.LedgerH\x00R\x06ledger\x12>\n\x05multi\x18\x05 \x01(\x0b\x32&.cosmos.crypto.keyring.v1.Record.MultiH\x00R\x05multi\x12\x44\n\x07offline\x18\x06 \x01(\x0b\x32(.cosmos.crypto.keyring.v1.Record.OfflineH\x00R\x07offline\x1a\x38\n\x05Local\x12/\n\x08priv_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x07privKey\x1a>\n\x06Ledger\x12\x34\n\x04path\x18\x01 \x01(\x0b\x32 .cosmos.crypto.hd.v1.BIP44ParamsR\x04path\x1a\x07\n\x05Multi\x1a\t\n\x07OfflineB\x06\n\x04itemB\xe3\x01\n\x1c\x63om.cosmos.crypto.keyring.v1B\x0bRecordProtoP\x01Z+github.com/cosmos/cosmos-sdk/crypto/keyring\xa2\x02\x03\x43\x43K\xaa\x02\x18\x43osmos.Crypto.Keyring.V1\xca\x02\x18\x43osmos\\Crypto\\Keyring\\V1\xe2\x02$Cosmos\\Crypto\\Keyring\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Crypto::Keyring::V1\xc8\xe1\x1e\x00\x98\xe3\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crypto.keyring.v1.record_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.keyring.v1.record_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\034com.cosmos.crypto.keyring.v1B\013RecordProtoP\001Z+github.com/cosmos/cosmos-sdk/crypto/keyring\242\002\003CCK\252\002\030Cosmos.Crypto.Keyring.V1\312\002\030Cosmos\\Crypto\\Keyring\\V1\342\002$Cosmos\\Crypto\\Keyring\\V1\\GPBMetadata\352\002\033Cosmos::Crypto::Keyring::V1\310\341\036\000\230\343\036\000" - ) - _globals["_RECORD"]._serialized_start = 147 - _globals["_RECORD"]._serialized_end = 637 - _globals["_RECORD_LOCAL"]._serialized_start = 489 - _globals["_RECORD_LOCAL"]._serialized_end = 545 - _globals["_RECORD_LEDGER"]._serialized_start = 547 - _globals["_RECORD_LEDGER"]._serialized_end = 609 - _globals["_RECORD_MULTI"]._serialized_start = 611 - _globals["_RECORD_MULTI"]._serialized_end = 618 - _globals["_RECORD_OFFLINE"]._serialized_start = 620 - _globals["_RECORD_OFFLINE"]._serialized_end = 629 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.crypto.keyring.v1B\013RecordProtoP\001Z+github.com/cosmos/cosmos-sdk/crypto/keyring\242\002\003CCK\252\002\030Cosmos.Crypto.Keyring.V1\312\002\030Cosmos\\Crypto\\Keyring\\V1\342\002$Cosmos\\Crypto\\Keyring\\V1\\GPBMetadata\352\002\033Cosmos::Crypto::Keyring::V1\310\341\036\000\230\343\036\000' + _globals['_RECORD']._serialized_start=147 + _globals['_RECORD']._serialized_end=637 + _globals['_RECORD_LOCAL']._serialized_start=489 + _globals['_RECORD_LOCAL']._serialized_end=545 + _globals['_RECORD_LEDGER']._serialized_start=547 + _globals['_RECORD_LEDGER']._serialized_end=609 + _globals['_RECORD_MULTI']._serialized_start=611 + _globals['_RECORD_MULTI']._serialized_end=618 + _globals['_RECORD_OFFLINE']._serialized_start=620 + _globals['_RECORD_OFFLINE']._serialized_end=629 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crypto/keyring/v1/record_pb2_grpc.py @@ -1,3 +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/cosmos/crypto/multisig/keys_pb2.py b/pyinjective/proto/cosmos/crypto/multisig/keys_pb2.py index c71e2310..05f8c8e4 100644 --- a/pyinjective/proto/cosmos/crypto/multisig/keys_pb2.py +++ b/pyinjective/proto/cosmos/crypto/multisig/keys_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,26 +17,18 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!cosmos/crypto/multisig/keys.proto\x12\x16\x63osmos.crypto.multisig\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto"\xc3\x01\n\x11LegacyAminoPubKey\x12\x1c\n\tthreshold\x18\x01 \x01(\rR\tthreshold\x12N\n\x0bpublic_keys\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x17\xe2\xde\x1f\x07PubKeys\xa2\xe7\xb0*\x07pubkeysR\npublicKeys:@\x88\xa0\x1f\x00\x8a\xe7\xb0*"tendermint/PubKeyMultisigThreshold\x92\xe7\xb0*\x10threshold_stringB\xd4\x01\n\x1a\x63om.cosmos.crypto.multisigB\tKeysProtoP\x01Z1github.com/cosmos/cosmos-sdk/crypto/keys/multisig\xa2\x02\x03\x43\x43M\xaa\x02\x16\x43osmos.Crypto.Multisig\xca\x02\x16\x43osmos\\Crypto\\Multisig\xe2\x02"Cosmos\\Crypto\\Multisig\\GPBMetadata\xea\x02\x18\x43osmos::Crypto::Multisigb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/crypto/multisig/keys.proto\x12\x16\x63osmos.crypto.multisig\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xc3\x01\n\x11LegacyAminoPubKey\x12\x1c\n\tthreshold\x18\x01 \x01(\rR\tthreshold\x12N\n\x0bpublic_keys\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x17\xe2\xde\x1f\x07PubKeys\xa2\xe7\xb0*\x07pubkeysR\npublicKeys:@\x88\xa0\x1f\x00\x8a\xe7\xb0*\"tendermint/PubKeyMultisigThreshold\x92\xe7\xb0*\x10threshold_stringB\xd4\x01\n\x1a\x63om.cosmos.crypto.multisigB\tKeysProtoP\x01Z1github.com/cosmos/cosmos-sdk/crypto/keys/multisig\xa2\x02\x03\x43\x43M\xaa\x02\x16\x43osmos.Crypto.Multisig\xca\x02\x16\x43osmos\\Crypto\\Multisig\xe2\x02\"Cosmos\\Crypto\\Multisig\\GPBMetadata\xea\x02\x18\x43osmos::Crypto::Multisigb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crypto.multisig.keys_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.multisig.keys_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\032com.cosmos.crypto.multisigB\tKeysProtoP\001Z1github.com/cosmos/cosmos-sdk/crypto/keys/multisig\242\002\003CCM\252\002\026Cosmos.Crypto.Multisig\312\002\026Cosmos\\Crypto\\Multisig\342\002"Cosmos\\Crypto\\Multisig\\GPBMetadata\352\002\030Cosmos::Crypto::Multisig' - ) - _globals["_LEGACYAMINOPUBKEY"].fields_by_name["public_keys"]._loaded_options = None - _globals["_LEGACYAMINOPUBKEY"].fields_by_name[ - "public_keys" - ]._serialized_options = b"\342\336\037\007PubKeys\242\347\260*\007pubkeys" - _globals["_LEGACYAMINOPUBKEY"]._loaded_options = None - _globals["_LEGACYAMINOPUBKEY"]._serialized_options = ( - b'\210\240\037\000\212\347\260*"tendermint/PubKeyMultisigThreshold\222\347\260*\020threshold_string' - ) - _globals["_LEGACYAMINOPUBKEY"]._serialized_start = 130 - _globals["_LEGACYAMINOPUBKEY"]._serialized_end = 325 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.crypto.multisigB\tKeysProtoP\001Z1github.com/cosmos/cosmos-sdk/crypto/keys/multisig\242\002\003CCM\252\002\026Cosmos.Crypto.Multisig\312\002\026Cosmos\\Crypto\\Multisig\342\002\"Cosmos\\Crypto\\Multisig\\GPBMetadata\352\002\030Cosmos::Crypto::Multisig' + _globals['_LEGACYAMINOPUBKEY'].fields_by_name['public_keys']._loaded_options = None + _globals['_LEGACYAMINOPUBKEY'].fields_by_name['public_keys']._serialized_options = b'\342\336\037\007PubKeys\242\347\260*\007pubkeys' + _globals['_LEGACYAMINOPUBKEY']._loaded_options = None + _globals['_LEGACYAMINOPUBKEY']._serialized_options = b'\210\240\037\000\212\347\260*\"tendermint/PubKeyMultisigThreshold\222\347\260*\020threshold_string' + _globals['_LEGACYAMINOPUBKEY']._serialized_start=130 + _globals['_LEGACYAMINOPUBKEY']._serialized_end=325 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/multisig/keys_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/multisig/keys_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/crypto/multisig/keys_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crypto/multisig/keys_pb2_grpc.py @@ -1,3 +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/cosmos/crypto/multisig/v1beta1/multisig_pb2.py b/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py index c32629be..510661bf 100644 --- a/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py +++ b/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,24 +15,20 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n-cosmos/crypto/multisig/v1beta1/multisig.proto\x12\x1e\x63osmos.crypto.multisig.v1beta1\x1a\x14gogoproto/gogo.proto"6\n\x0eMultiSignature\x12\x1e\n\nsignatures\x18\x01 \x03(\x0cR\nsignatures:\x04\xd0\xa1\x1f\x01"Y\n\x0f\x43ompactBitArray\x12*\n\x11\x65xtra_bits_stored\x18\x01 \x01(\rR\x0f\x65xtraBitsStored\x12\x14\n\x05\x65lems\x18\x02 \x01(\x0cR\x05\x65lems:\x04\x98\xa0\x1f\x00\x42\xf9\x01\n"com.cosmos.crypto.multisig.v1beta1B\rMultisigProtoP\x01Z)github.com/cosmos/cosmos-sdk/crypto/types\xa2\x02\x03\x43\x43M\xaa\x02\x1e\x43osmos.Crypto.Multisig.V1beta1\xca\x02\x1e\x43osmos\\Crypto\\Multisig\\V1beta1\xe2\x02*Cosmos\\Crypto\\Multisig\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Crypto::Multisig::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-cosmos/crypto/multisig/v1beta1/multisig.proto\x12\x1e\x63osmos.crypto.multisig.v1beta1\x1a\x14gogoproto/gogo.proto\"6\n\x0eMultiSignature\x12\x1e\n\nsignatures\x18\x01 \x03(\x0cR\nsignatures:\x04\xd0\xa1\x1f\x01\"Y\n\x0f\x43ompactBitArray\x12*\n\x11\x65xtra_bits_stored\x18\x01 \x01(\rR\x0f\x65xtraBitsStored\x12\x14\n\x05\x65lems\x18\x02 \x01(\x0cR\x05\x65lems:\x04\x98\xa0\x1f\x00\x42\xf9\x01\n\"com.cosmos.crypto.multisig.v1beta1B\rMultisigProtoP\x01Z)github.com/cosmos/cosmos-sdk/crypto/types\xa2\x02\x03\x43\x43M\xaa\x02\x1e\x43osmos.Crypto.Multisig.V1beta1\xca\x02\x1e\x43osmos\\Crypto\\Multisig\\V1beta1\xe2\x02*Cosmos\\Crypto\\Multisig\\V1beta1\\GPBMetadata\xea\x02!Cosmos::Crypto::Multisig::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crypto.multisig.v1beta1.multisig_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.multisig.v1beta1.multisig_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n"com.cosmos.crypto.multisig.v1beta1B\rMultisigProtoP\001Z)github.com/cosmos/cosmos-sdk/crypto/types\242\002\003CCM\252\002\036Cosmos.Crypto.Multisig.V1beta1\312\002\036Cosmos\\Crypto\\Multisig\\V1beta1\342\002*Cosmos\\Crypto\\Multisig\\V1beta1\\GPBMetadata\352\002!Cosmos::Crypto::Multisig::V1beta1' - ) - _globals["_MULTISIGNATURE"]._loaded_options = None - _globals["_MULTISIGNATURE"]._serialized_options = b"\320\241\037\001" - _globals["_COMPACTBITARRAY"]._loaded_options = None - _globals["_COMPACTBITARRAY"]._serialized_options = b"\230\240\037\000" - _globals["_MULTISIGNATURE"]._serialized_start = 103 - _globals["_MULTISIGNATURE"]._serialized_end = 157 - _globals["_COMPACTBITARRAY"]._serialized_start = 159 - _globals["_COMPACTBITARRAY"]._serialized_end = 248 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.cosmos.crypto.multisig.v1beta1B\rMultisigProtoP\001Z)github.com/cosmos/cosmos-sdk/crypto/types\242\002\003CCM\252\002\036Cosmos.Crypto.Multisig.V1beta1\312\002\036Cosmos\\Crypto\\Multisig\\V1beta1\342\002*Cosmos\\Crypto\\Multisig\\V1beta1\\GPBMetadata\352\002!Cosmos::Crypto::Multisig::V1beta1' + _globals['_MULTISIGNATURE']._loaded_options = None + _globals['_MULTISIGNATURE']._serialized_options = b'\320\241\037\001' + _globals['_COMPACTBITARRAY']._loaded_options = None + _globals['_COMPACTBITARRAY']._serialized_options = b'\230\240\037\000' + _globals['_MULTISIGNATURE']._serialized_start=103 + _globals['_MULTISIGNATURE']._serialized_end=157 + _globals['_COMPACTBITARRAY']._serialized_start=159 + _globals['_COMPACTBITARRAY']._serialized_end=248 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crypto/multisig/v1beta1/multisig_pb2_grpc.py @@ -1,3 +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/cosmos/crypto/secp256k1/keys_pb2.py b/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2.py index a8d4cedb..2b2cf7e6 100644 --- a/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2.py +++ b/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,26 +16,20 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n"cosmos/crypto/secp256k1/keys.proto\x12\x17\x63osmos.crypto.secp256k1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto"M\n\x06PubKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:1\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1atendermint/PubKeySecp256k1\x92\xe7\xb0*\tkey_field"K\n\x07PrivKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:.\x8a\xe7\xb0*\x1btendermint/PrivKeySecp256k1\x92\xe7\xb0*\tkey_fieldB\xda\x01\n\x1b\x63om.cosmos.crypto.secp256k1B\tKeysProtoP\x01Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1\xa2\x02\x03\x43\x43S\xaa\x02\x17\x43osmos.Crypto.Secp256k1\xca\x02\x17\x43osmos\\Crypto\\Secp256k1\xe2\x02#Cosmos\\Crypto\\Secp256k1\\GPBMetadata\xea\x02\x19\x43osmos::Crypto::Secp256k1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/crypto/secp256k1/keys.proto\x12\x17\x63osmos.crypto.secp256k1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\"M\n\x06PubKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:1\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1atendermint/PubKeySecp256k1\x92\xe7\xb0*\tkey_field\"K\n\x07PrivKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:.\x8a\xe7\xb0*\x1btendermint/PrivKeySecp256k1\x92\xe7\xb0*\tkey_fieldB\xda\x01\n\x1b\x63om.cosmos.crypto.secp256k1B\tKeysProtoP\x01Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1\xa2\x02\x03\x43\x43S\xaa\x02\x17\x43osmos.Crypto.Secp256k1\xca\x02\x17\x43osmos\\Crypto\\Secp256k1\xe2\x02#Cosmos\\Crypto\\Secp256k1\\GPBMetadata\xea\x02\x19\x43osmos::Crypto::Secp256k1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crypto.secp256k1.keys_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.secp256k1.keys_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.cosmos.crypto.secp256k1B\tKeysProtoP\001Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1\242\002\003CCS\252\002\027Cosmos.Crypto.Secp256k1\312\002\027Cosmos\\Crypto\\Secp256k1\342\002#Cosmos\\Crypto\\Secp256k1\\GPBMetadata\352\002\031Cosmos::Crypto::Secp256k1" - ) - _globals["_PUBKEY"]._loaded_options = None - _globals["_PUBKEY"]._serialized_options = ( - b"\230\240\037\000\212\347\260*\032tendermint/PubKeySecp256k1\222\347\260*\tkey_field" - ) - _globals["_PRIVKEY"]._loaded_options = None - _globals["_PRIVKEY"]._serialized_options = b"\212\347\260*\033tendermint/PrivKeySecp256k1\222\347\260*\tkey_field" - _globals["_PUBKEY"]._serialized_start = 104 - _globals["_PUBKEY"]._serialized_end = 181 - _globals["_PRIVKEY"]._serialized_start = 183 - _globals["_PRIVKEY"]._serialized_end = 258 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.crypto.secp256k1B\tKeysProtoP\001Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1\242\002\003CCS\252\002\027Cosmos.Crypto.Secp256k1\312\002\027Cosmos\\Crypto\\Secp256k1\342\002#Cosmos\\Crypto\\Secp256k1\\GPBMetadata\352\002\031Cosmos::Crypto::Secp256k1' + _globals['_PUBKEY']._loaded_options = None + _globals['_PUBKEY']._serialized_options = b'\230\240\037\000\212\347\260*\032tendermint/PubKeySecp256k1\222\347\260*\tkey_field' + _globals['_PRIVKEY']._loaded_options = None + _globals['_PRIVKEY']._serialized_options = b'\212\347\260*\033tendermint/PrivKeySecp256k1\222\347\260*\tkey_field' + _globals['_PUBKEY']._serialized_start=104 + _globals['_PUBKEY']._serialized_end=181 + _globals['_PRIVKEY']._serialized_start=183 + _globals['_PRIVKEY']._serialized_end=258 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crypto/secp256k1/keys_pb2_grpc.py @@ -1,3 +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/cosmos/crypto/secp256r1/keys_pb2.py b/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2.py index f2a02e82..b708fc50 100644 --- a/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2.py +++ b/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,24 +15,20 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n"cosmos/crypto/secp256r1/keys.proto\x12\x17\x63osmos.crypto.secp256r1\x1a\x14gogoproto/gogo.proto"\'\n\x06PubKey\x12\x1d\n\x03key\x18\x01 \x01(\x0c\x42\x0b\xda\xde\x1f\x07\x65\x63\x64saPKR\x03key".\n\x07PrivKey\x12#\n\x06secret\x18\x01 \x01(\x0c\x42\x0b\xda\xde\x1f\x07\x65\x63\x64saSKR\x06secretB\xe6\x01\n\x1b\x63om.cosmos.crypto.secp256r1B\tKeysProtoP\x01Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1\xa2\x02\x03\x43\x43S\xaa\x02\x17\x43osmos.Crypto.Secp256r1\xca\x02\x17\x43osmos\\Crypto\\Secp256r1\xe2\x02#Cosmos\\Crypto\\Secp256r1\\GPBMetadata\xea\x02\x19\x43osmos::Crypto::Secp256r1\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xc8\xe3\x1e\x01\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/crypto/secp256r1/keys.proto\x12\x17\x63osmos.crypto.secp256r1\x1a\x14gogoproto/gogo.proto\"\'\n\x06PubKey\x12\x1d\n\x03key\x18\x01 \x01(\x0c\x42\x0b\xda\xde\x1f\x07\x65\x63\x64saPKR\x03key\".\n\x07PrivKey\x12#\n\x06secret\x18\x01 \x01(\x0c\x42\x0b\xda\xde\x1f\x07\x65\x63\x64saSKR\x06secretB\xe6\x01\n\x1b\x63om.cosmos.crypto.secp256r1B\tKeysProtoP\x01Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1\xa2\x02\x03\x43\x43S\xaa\x02\x17\x43osmos.Crypto.Secp256r1\xca\x02\x17\x43osmos\\Crypto\\Secp256r1\xe2\x02#Cosmos\\Crypto\\Secp256r1\\GPBMetadata\xea\x02\x19\x43osmos::Crypto::Secp256r1\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xc8\xe3\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.crypto.secp256r1.keys_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.secp256r1.keys_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.cosmos.crypto.secp256r1B\tKeysProtoP\001Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1\242\002\003CCS\252\002\027Cosmos.Crypto.Secp256r1\312\002\027Cosmos\\Crypto\\Secp256r1\342\002#Cosmos\\Crypto\\Secp256r1\\GPBMetadata\352\002\031Cosmos::Crypto::Secp256r1\310\341\036\000\330\341\036\000\310\343\036\001" - ) - _globals["_PUBKEY"].fields_by_name["key"]._loaded_options = None - _globals["_PUBKEY"].fields_by_name["key"]._serialized_options = b"\332\336\037\007ecdsaPK" - _globals["_PRIVKEY"].fields_by_name["secret"]._loaded_options = None - _globals["_PRIVKEY"].fields_by_name["secret"]._serialized_options = b"\332\336\037\007ecdsaSK" - _globals["_PUBKEY"]._serialized_start = 85 - _globals["_PUBKEY"]._serialized_end = 124 - _globals["_PRIVKEY"]._serialized_start = 126 - _globals["_PRIVKEY"]._serialized_end = 172 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.crypto.secp256r1B\tKeysProtoP\001Z2github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1\242\002\003CCS\252\002\027Cosmos.Crypto.Secp256r1\312\002\027Cosmos\\Crypto\\Secp256r1\342\002#Cosmos\\Crypto\\Secp256r1\\GPBMetadata\352\002\031Cosmos::Crypto::Secp256r1\310\341\036\000\330\341\036\000\310\343\036\001' + _globals['_PUBKEY'].fields_by_name['key']._loaded_options = None + _globals['_PUBKEY'].fields_by_name['key']._serialized_options = b'\332\336\037\007ecdsaPK' + _globals['_PRIVKEY'].fields_by_name['secret']._loaded_options = None + _globals['_PRIVKEY'].fields_by_name['secret']._serialized_options = b'\332\336\037\007ecdsaSK' + _globals['_PUBKEY']._serialized_start=85 + _globals['_PUBKEY']._serialized_end=124 + _globals['_PRIVKEY']._serialized_start=126 + _globals['_PRIVKEY']._serialized_end=172 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2_grpc.py b/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2_grpc.py +++ b/pyinjective/proto/cosmos/crypto/secp256r1/keys_pb2_grpc.py @@ -1,3 +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/cosmos/distribution/module/v1/module_pb2.py b/pyinjective/proto/cosmos/distribution/module/v1/module_pb2.py index af3ad4cd..98e66656 100644 --- a/pyinjective/proto/cosmos/distribution/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/distribution/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n*cosmos/distribution/module/v1/module.proto\x12\x1d\x63osmos.distribution.module.v1\x1a cosmos/app/v1alpha1/module.proto"\x89\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:3\xba\xc0\x96\xda\x01-\n+github.com/cosmos/cosmos-sdk/x/distributionB\xc7\x01\n!com.cosmos.distribution.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x44M\xaa\x02\x1d\x43osmos.Distribution.Module.V1\xca\x02\x1d\x43osmos\\Distribution\\Module\\V1\xe2\x02)Cosmos\\Distribution\\Module\\V1\\GPBMetadata\xea\x02 Cosmos::Distribution::Module::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*cosmos/distribution/module/v1/module.proto\x12\x1d\x63osmos.distribution.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x89\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:3\xba\xc0\x96\xda\x01-\n+github.com/cosmos/cosmos-sdk/x/distributionB\xc7\x01\n!com.cosmos.distribution.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x44M\xaa\x02\x1d\x43osmos.Distribution.Module.V1\xca\x02\x1d\x43osmos\\Distribution\\Module\\V1\xe2\x02)Cosmos\\Distribution\\Module\\V1\\GPBMetadata\xea\x02 Cosmos::Distribution::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.distribution.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n!com.cosmos.distribution.module.v1B\013ModuleProtoP\001\242\002\003CDM\252\002\035Cosmos.Distribution.Module.V1\312\002\035Cosmos\\Distribution\\Module\\V1\342\002)Cosmos\\Distribution\\Module\\V1\\GPBMetadata\352\002 Cosmos::Distribution::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001-\n+github.com/cosmos/cosmos-sdk/x/distribution" - _globals["_MODULE"]._serialized_start = 112 - _globals["_MODULE"]._serialized_end = 249 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n!com.cosmos.distribution.module.v1B\013ModuleProtoP\001\242\002\003CDM\252\002\035Cosmos.Distribution.Module.V1\312\002\035Cosmos\\Distribution\\Module\\V1\342\002)Cosmos\\Distribution\\Module\\V1\\GPBMetadata\352\002 Cosmos::Distribution::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001-\n+github.com/cosmos/cosmos-sdk/x/distribution' + _globals['_MODULE']._serialized_start=112 + _globals['_MODULE']._serialized_end=249 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/distribution/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/distribution/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/distribution/v1beta1/distribution_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2.py index fcfc4e73..db366a29 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,120 +18,74 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n.cosmos/distribution/v1beta1/distribution.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\x9a\x03\n\x06Params\x12[\n\rcommunity_tax\x18\x01 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0c\x63ommunityTax\x12j\n\x14\x62\x61se_proposer_reward\x18\x02 \x01(\tB8\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x12\x62\x61seProposerReward\x12l\n\x15\x62onus_proposer_reward\x18\x03 \x01(\tB8\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x13\x62onusProposerReward\x12\x32\n\x15withdraw_addr_enabled\x18\x04 \x01(\x08R\x13withdrawAddrEnabled:%\x8a\xe7\xb0* cosmos-sdk/x/distribution/Params"\xd6\x01\n\x1aValidatorHistoricalRewards\x12\x8e\x01\n\x17\x63umulative_reward_ratio\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x15\x63umulativeRewardRatio\x12\'\n\x0freference_count\x18\x02 \x01(\rR\x0ereferenceCount"\xa3\x01\n\x17ValidatorCurrentRewards\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards\x12\x16\n\x06period\x18\x02 \x01(\x04R\x06period"\x98\x01\n\x1eValidatorAccumulatedCommission\x12v\n\ncommission\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\ncommission"\x8f\x01\n\x1bValidatorOutstandingRewards\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards"\x8f\x01\n\x13ValidatorSlashEvent\x12)\n\x10validator_period\x18\x01 \x01(\x04R\x0fvalidatorPeriod\x12M\n\x08\x66raction\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x08\x66raction"\x89\x01\n\x14ValidatorSlashEvents\x12q\n\x16validator_slash_events\x18\x01 \x03(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSlashEvents"\x88\x01\n\x07\x46\x65\x65Pool\x12}\n\x0e\x63ommunity_pool\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\rcommunityPool"\x97\x02\n\x1a\x43ommunityPoolSpendProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\trecipient\x18\x03 \x01(\tR\trecipient\x12y\n\x06\x61mount\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:(\x18\x01\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content"\xd4\x01\n\x15\x44\x65legatorStartingInfo\x12\'\n\x0fprevious_period\x18\x01 \x01(\x04R\x0epreviousPeriod\x12L\n\x05stake\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x05stake\x12\x44\n\x06height\x18\x03 \x01(\x04\x42,\xea\xde\x1f\x0f\x63reation_height\xa2\xe7\xb0*\x0f\x63reation_height\xa8\xe7\xb0*\x01R\x06height"\xe1\x01\n\x19\x44\x65legationDelegatorReward\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12n\n\x06reward\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x06reward:\x04\x88\xa0\x1f\x00"\xd3\x01\n%CommunityPoolSpendProposalWithDeposit\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\trecipient\x18\x03 \x01(\tR\trecipient\x12\x16\n\x06\x61mount\x18\x04 \x01(\tR\x06\x61mount\x12\x18\n\x07\x64\x65posit\x18\x05 \x01(\tR\x07\x64\x65posit:"\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB\xf9\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x11\x44istributionProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.cosmos/distribution/v1beta1/distribution.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x9a\x03\n\x06Params\x12[\n\rcommunity_tax\x18\x01 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0c\x63ommunityTax\x12j\n\x14\x62\x61se_proposer_reward\x18\x02 \x01(\tB8\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x12\x62\x61seProposerReward\x12l\n\x15\x62onus_proposer_reward\x18\x03 \x01(\tB8\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x13\x62onusProposerReward\x12\x32\n\x15withdraw_addr_enabled\x18\x04 \x01(\x08R\x13withdrawAddrEnabled:%\x8a\xe7\xb0* cosmos-sdk/x/distribution/Params\"\xd6\x01\n\x1aValidatorHistoricalRewards\x12\x8e\x01\n\x17\x63umulative_reward_ratio\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x15\x63umulativeRewardRatio\x12\'\n\x0freference_count\x18\x02 \x01(\rR\x0ereferenceCount\"\xa3\x01\n\x17ValidatorCurrentRewards\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards\x12\x16\n\x06period\x18\x02 \x01(\x04R\x06period\"\x98\x01\n\x1eValidatorAccumulatedCommission\x12v\n\ncommission\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\ncommission\"\x8f\x01\n\x1bValidatorOutstandingRewards\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards\"\x8f\x01\n\x13ValidatorSlashEvent\x12)\n\x10validator_period\x18\x01 \x01(\x04R\x0fvalidatorPeriod\x12M\n\x08\x66raction\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x08\x66raction\"\x89\x01\n\x14ValidatorSlashEvents\x12q\n\x16validator_slash_events\x18\x01 \x03(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSlashEvents\"\x88\x01\n\x07\x46\x65\x65Pool\x12}\n\x0e\x63ommunity_pool\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\rcommunityPool\"\x97\x02\n\x1a\x43ommunityPoolSpendProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\trecipient\x18\x03 \x01(\tR\trecipient\x12y\n\x06\x61mount\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:(\x18\x01\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd4\x01\n\x15\x44\x65legatorStartingInfo\x12\'\n\x0fprevious_period\x18\x01 \x01(\x04R\x0epreviousPeriod\x12L\n\x05stake\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x05stake\x12\x44\n\x06height\x18\x03 \x01(\x04\x42,\xea\xde\x1f\x0f\x63reation_height\xa2\xe7\xb0*\x0f\x63reation_height\xa8\xe7\xb0*\x01R\x06height\"\xe1\x01\n\x19\x44\x65legationDelegatorReward\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12n\n\x06reward\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x06reward:\x04\x88\xa0\x1f\x00\"\xd3\x01\n%CommunityPoolSpendProposalWithDeposit\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\trecipient\x18\x03 \x01(\tR\trecipient\x12\x16\n\x06\x61mount\x18\x04 \x01(\tR\x06\x61mount\x12\x18\n\x07\x64\x65posit\x18\x05 \x01(\tR\x07\x64\x65posit:\"\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB\xf9\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x11\x44istributionProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.distribution.v1beta1.distribution_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.distribution_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\037com.cosmos.distribution.v1beta1B\021DistributionProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001" - ) - _globals["_PARAMS"].fields_by_name["community_tax"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "community_tax" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_PARAMS"].fields_by_name["base_proposer_reward"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "base_proposer_reward" - ]._serialized_options = ( - b"\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_PARAMS"].fields_by_name["bonus_proposer_reward"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "bonus_proposer_reward" - ]._serialized_options = ( - b"\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_PARAMS"]._loaded_options = None - _globals["_PARAMS"]._serialized_options = b"\212\347\260* cosmos-sdk/x/distribution/Params" - _globals["_VALIDATORHISTORICALREWARDS"].fields_by_name["cumulative_reward_ratio"]._loaded_options = None - _globals["_VALIDATORHISTORICALREWARDS"].fields_by_name[ - "cumulative_reward_ratio" - ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" - _globals["_VALIDATORCURRENTREWARDS"].fields_by_name["rewards"]._loaded_options = None - _globals["_VALIDATORCURRENTREWARDS"].fields_by_name[ - "rewards" - ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" - _globals["_VALIDATORACCUMULATEDCOMMISSION"].fields_by_name["commission"]._loaded_options = None - _globals["_VALIDATORACCUMULATEDCOMMISSION"].fields_by_name[ - "commission" - ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" - _globals["_VALIDATOROUTSTANDINGREWARDS"].fields_by_name["rewards"]._loaded_options = None - _globals["_VALIDATOROUTSTANDINGREWARDS"].fields_by_name[ - "rewards" - ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" - _globals["_VALIDATORSLASHEVENT"].fields_by_name["fraction"]._loaded_options = None - _globals["_VALIDATORSLASHEVENT"].fields_by_name[ - "fraction" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" - _globals["_VALIDATORSLASHEVENTS"].fields_by_name["validator_slash_events"]._loaded_options = None - _globals["_VALIDATORSLASHEVENTS"].fields_by_name[ - "validator_slash_events" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_FEEPOOL"].fields_by_name["community_pool"]._loaded_options = None - _globals["_FEEPOOL"].fields_by_name[ - "community_pool" - ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" - _globals["_COMMUNITYPOOLSPENDPROPOSAL"].fields_by_name["amount"]._loaded_options = None - _globals["_COMMUNITYPOOLSPENDPROPOSAL"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_COMMUNITYPOOLSPENDPROPOSAL"]._loaded_options = None - _globals["_COMMUNITYPOOLSPENDPROPOSAL"]._serialized_options = ( - b"\030\001\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content" - ) - _globals["_DELEGATORSTARTINGINFO"].fields_by_name["stake"]._loaded_options = None - _globals["_DELEGATORSTARTINGINFO"].fields_by_name[ - "stake" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_DELEGATORSTARTINGINFO"].fields_by_name["height"]._loaded_options = None - _globals["_DELEGATORSTARTINGINFO"].fields_by_name[ - "height" - ]._serialized_options = b"\352\336\037\017creation_height\242\347\260*\017creation_height\250\347\260*\001" - _globals["_DELEGATIONDELEGATORREWARD"].fields_by_name["validator_address"]._loaded_options = None - _globals["_DELEGATIONDELEGATORREWARD"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_DELEGATIONDELEGATORREWARD"].fields_by_name["reward"]._loaded_options = None - _globals["_DELEGATIONDELEGATORREWARD"].fields_by_name[ - "reward" - ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" - _globals["_DELEGATIONDELEGATORREWARD"]._loaded_options = None - _globals["_DELEGATIONDELEGATORREWARD"]._serialized_options = b"\210\240\037\000" - _globals["_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT"]._loaded_options = None - _globals["_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT"]._serialized_options = ( - b"\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content" - ) - _globals["_PARAMS"]._serialized_start = 180 - _globals["_PARAMS"]._serialized_end = 590 - _globals["_VALIDATORHISTORICALREWARDS"]._serialized_start = 593 - _globals["_VALIDATORHISTORICALREWARDS"]._serialized_end = 807 - _globals["_VALIDATORCURRENTREWARDS"]._serialized_start = 810 - _globals["_VALIDATORCURRENTREWARDS"]._serialized_end = 973 - _globals["_VALIDATORACCUMULATEDCOMMISSION"]._serialized_start = 976 - _globals["_VALIDATORACCUMULATEDCOMMISSION"]._serialized_end = 1128 - _globals["_VALIDATOROUTSTANDINGREWARDS"]._serialized_start = 1131 - _globals["_VALIDATOROUTSTANDINGREWARDS"]._serialized_end = 1274 - _globals["_VALIDATORSLASHEVENT"]._serialized_start = 1277 - _globals["_VALIDATORSLASHEVENT"]._serialized_end = 1420 - _globals["_VALIDATORSLASHEVENTS"]._serialized_start = 1423 - _globals["_VALIDATORSLASHEVENTS"]._serialized_end = 1560 - _globals["_FEEPOOL"]._serialized_start = 1563 - _globals["_FEEPOOL"]._serialized_end = 1699 - _globals["_COMMUNITYPOOLSPENDPROPOSAL"]._serialized_start = 1702 - _globals["_COMMUNITYPOOLSPENDPROPOSAL"]._serialized_end = 1981 - _globals["_DELEGATORSTARTINGINFO"]._serialized_start = 1984 - _globals["_DELEGATORSTARTINGINFO"]._serialized_end = 2196 - _globals["_DELEGATIONDELEGATORREWARD"]._serialized_start = 2199 - _globals["_DELEGATIONDELEGATORREWARD"]._serialized_end = 2424 - _globals["_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT"]._serialized_start = 2427 - _globals["_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT"]._serialized_end = 2638 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.distribution.v1beta1B\021DistributionProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001' + _globals['_PARAMS'].fields_by_name['community_tax']._loaded_options = None + _globals['_PARAMS'].fields_by_name['community_tax']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['base_proposer_reward']._loaded_options = None + _globals['_PARAMS'].fields_by_name['base_proposer_reward']._serialized_options = b'\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['bonus_proposer_reward']._loaded_options = None + _globals['_PARAMS'].fields_by_name['bonus_proposer_reward']._serialized_options = b'\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\212\347\260* cosmos-sdk/x/distribution/Params' + _globals['_VALIDATORHISTORICALREWARDS'].fields_by_name['cumulative_reward_ratio']._loaded_options = None + _globals['_VALIDATORHISTORICALREWARDS'].fields_by_name['cumulative_reward_ratio']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_VALIDATORCURRENTREWARDS'].fields_by_name['rewards']._loaded_options = None + _globals['_VALIDATORCURRENTREWARDS'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_VALIDATORACCUMULATEDCOMMISSION'].fields_by_name['commission']._loaded_options = None + _globals['_VALIDATORACCUMULATEDCOMMISSION'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_VALIDATOROUTSTANDINGREWARDS'].fields_by_name['rewards']._loaded_options = None + _globals['_VALIDATOROUTSTANDINGREWARDS'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_VALIDATORSLASHEVENT'].fields_by_name['fraction']._loaded_options = None + _globals['_VALIDATORSLASHEVENT'].fields_by_name['fraction']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_VALIDATORSLASHEVENTS'].fields_by_name['validator_slash_events']._loaded_options = None + _globals['_VALIDATORSLASHEVENTS'].fields_by_name['validator_slash_events']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_FEEPOOL'].fields_by_name['community_pool']._loaded_options = None + _globals['_FEEPOOL'].fields_by_name['community_pool']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_COMMUNITYPOOLSPENDPROPOSAL'].fields_by_name['amount']._loaded_options = None + _globals['_COMMUNITYPOOLSPENDPROPOSAL'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_COMMUNITYPOOLSPENDPROPOSAL']._loaded_options = None + _globals['_COMMUNITYPOOLSPENDPROPOSAL']._serialized_options = b'\030\001\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_DELEGATORSTARTINGINFO'].fields_by_name['stake']._loaded_options = None + _globals['_DELEGATORSTARTINGINFO'].fields_by_name['stake']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_DELEGATORSTARTINGINFO'].fields_by_name['height']._loaded_options = None + _globals['_DELEGATORSTARTINGINFO'].fields_by_name['height']._serialized_options = b'\352\336\037\017creation_height\242\347\260*\017creation_height\250\347\260*\001' + _globals['_DELEGATIONDELEGATORREWARD'].fields_by_name['validator_address']._loaded_options = None + _globals['_DELEGATIONDELEGATORREWARD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_DELEGATIONDELEGATORREWARD'].fields_by_name['reward']._loaded_options = None + _globals['_DELEGATIONDELEGATORREWARD'].fields_by_name['reward']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_DELEGATIONDELEGATORREWARD']._loaded_options = None + _globals['_DELEGATIONDELEGATORREWARD']._serialized_options = b'\210\240\037\000' + _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._loaded_options = None + _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._serialized_options = b'\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_PARAMS']._serialized_start=180 + _globals['_PARAMS']._serialized_end=590 + _globals['_VALIDATORHISTORICALREWARDS']._serialized_start=593 + _globals['_VALIDATORHISTORICALREWARDS']._serialized_end=807 + _globals['_VALIDATORCURRENTREWARDS']._serialized_start=810 + _globals['_VALIDATORCURRENTREWARDS']._serialized_end=973 + _globals['_VALIDATORACCUMULATEDCOMMISSION']._serialized_start=976 + _globals['_VALIDATORACCUMULATEDCOMMISSION']._serialized_end=1128 + _globals['_VALIDATOROUTSTANDINGREWARDS']._serialized_start=1131 + _globals['_VALIDATOROUTSTANDINGREWARDS']._serialized_end=1274 + _globals['_VALIDATORSLASHEVENT']._serialized_start=1277 + _globals['_VALIDATORSLASHEVENT']._serialized_end=1420 + _globals['_VALIDATORSLASHEVENTS']._serialized_start=1423 + _globals['_VALIDATORSLASHEVENTS']._serialized_end=1560 + _globals['_FEEPOOL']._serialized_start=1563 + _globals['_FEEPOOL']._serialized_end=1699 + _globals['_COMMUNITYPOOLSPENDPROPOSAL']._serialized_start=1702 + _globals['_COMMUNITYPOOLSPENDPROPOSAL']._serialized_end=1981 + _globals['_DELEGATORSTARTINGINFO']._serialized_start=1984 + _globals['_DELEGATORSTARTINGINFO']._serialized_end=2196 + _globals['_DELEGATIONDELEGATORREWARD']._serialized_start=2199 + _globals['_DELEGATIONDELEGATORREWARD']._serialized_end=2424 + _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._serialized_start=2427 + _globals['_COMMUNITYPOOLSPENDPROPOSALWITHDEPOSIT']._serialized_end=2638 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2_grpc.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/distribution_pb2_grpc.py @@ -1,3 +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/cosmos/distribution/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2.py index 9c5b76cd..49aaa896 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -15,151 +14,99 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.distribution.v1beta1 import ( - distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2, -) +from pyinjective.proto.cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n)cosmos/distribution/v1beta1/genesis.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\xad\x01\n\x15\x44\x65legatorWithdrawInfo\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12\x43\n\x10withdraw_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x87\x02\n!ValidatorOutstandingRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x87\x01\n\x13outstanding_rewards\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x12outstandingRewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xea\x01\n$ValidatorAccumulatedCommissionRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12h\n\x0b\x61\x63\x63umulated\x18\x02 \x01(\x0b\x32;.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x61\x63\x63umulated:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xf2\x01\n ValidatorHistoricalRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x16\n\x06period\x18\x02 \x01(\x04R\x06period\x12\\\n\x07rewards\x18\x03 \x01(\x0b\x32\x37.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xd4\x01\n\x1dValidatorCurrentRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12Y\n\x07rewards\x18\x02 \x01(\x0b\x32\x34.cosmos.distribution.v1beta1.ValidatorCurrentRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xa2\x02\n\x1b\x44\x65legatorStartingInfoRecord\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x62\n\rstarting_info\x18\x03 \x01(\x0b\x32\x32.cosmos.distribution.v1beta1.DelegatorStartingInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cstartingInfo:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x96\x02\n\x19ValidatorSlashEventRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x16\n\x06height\x18\x02 \x01(\x04R\x06height\x12\x16\n\x06period\x18\x03 \x01(\x04R\x06period\x12o\n\x15validator_slash_event\x18\x04 \x01(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13validatorSlashEvent:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x8c\t\n\x0cGenesisState\x12\x46\n\x06params\x18\x01 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12J\n\x08\x66\x65\x65_pool\x18\x02 \x01(\x0b\x32$.cosmos.distribution.v1beta1.FeePoolB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x66\x65\x65Pool\x12w\n\x18\x64\x65legator_withdraw_infos\x18\x03 \x03(\x0b\x32\x32.cosmos.distribution.v1beta1.DelegatorWithdrawInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x16\x64\x65legatorWithdrawInfos\x12\x45\n\x11previous_proposer\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10previousProposer\x12z\n\x13outstanding_rewards\x18\x05 \x03(\x0b\x32>.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12outstandingRewards\x12\x98\x01\n!validator_accumulated_commissions\x18\x06 \x03(\x0b\x32\x41.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x1fvalidatorAccumulatedCommissions\x12\x8a\x01\n\x1cvalidator_historical_rewards\x18\x07 \x03(\x0b\x32=.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x1avalidatorHistoricalRewards\x12\x81\x01\n\x19validator_current_rewards\x18\x08 \x03(\x0b\x32:.cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x17validatorCurrentRewards\x12}\n\x18\x64\x65legator_starting_infos\x18\t \x03(\x0b\x32\x38.cosmos.distribution.v1beta1.DelegatorStartingInfoRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x16\x64\x65legatorStartingInfos\x12w\n\x16validator_slash_events\x18\n \x03(\x0b\x32\x36.cosmos.distribution.v1beta1.ValidatorSlashEventRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSlashEvents:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xf4\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x0cGenesisProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)cosmos/distribution/v1beta1/genesis.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xad\x01\n\x15\x44\x65legatorWithdrawInfo\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12\x43\n\x10withdraw_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x87\x02\n!ValidatorOutstandingRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x87\x01\n\x13outstanding_rewards\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x12outstandingRewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xea\x01\n$ValidatorAccumulatedCommissionRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12h\n\x0b\x61\x63\x63umulated\x18\x02 \x01(\x0b\x32;.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x61\x63\x63umulated:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf2\x01\n ValidatorHistoricalRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x16\n\x06period\x18\x02 \x01(\x04R\x06period\x12\\\n\x07rewards\x18\x03 \x01(\x0b\x32\x37.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd4\x01\n\x1dValidatorCurrentRewardsRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12Y\n\x07rewards\x18\x02 \x01(\x0b\x32\x34.cosmos.distribution.v1beta1.ValidatorCurrentRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa2\x02\n\x1b\x44\x65legatorStartingInfoRecord\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x62\n\rstarting_info\x18\x03 \x01(\x0b\x32\x32.cosmos.distribution.v1beta1.DelegatorStartingInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cstartingInfo:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x96\x02\n\x19ValidatorSlashEventRecord\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x16\n\x06height\x18\x02 \x01(\x04R\x06height\x12\x16\n\x06period\x18\x03 \x01(\x04R\x06period\x12o\n\x15validator_slash_event\x18\x04 \x01(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13validatorSlashEvent:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8c\t\n\x0cGenesisState\x12\x46\n\x06params\x18\x01 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12J\n\x08\x66\x65\x65_pool\x18\x02 \x01(\x0b\x32$.cosmos.distribution.v1beta1.FeePoolB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x66\x65\x65Pool\x12w\n\x18\x64\x65legator_withdraw_infos\x18\x03 \x03(\x0b\x32\x32.cosmos.distribution.v1beta1.DelegatorWithdrawInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x16\x64\x65legatorWithdrawInfos\x12\x45\n\x11previous_proposer\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10previousProposer\x12z\n\x13outstanding_rewards\x18\x05 \x03(\x0b\x32>.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12outstandingRewards\x12\x98\x01\n!validator_accumulated_commissions\x18\x06 \x03(\x0b\x32\x41.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x1fvalidatorAccumulatedCommissions\x12\x8a\x01\n\x1cvalidator_historical_rewards\x18\x07 \x03(\x0b\x32=.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x1avalidatorHistoricalRewards\x12\x81\x01\n\x19validator_current_rewards\x18\x08 \x03(\x0b\x32:.cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x17validatorCurrentRewards\x12}\n\x18\x64\x65legator_starting_infos\x18\t \x03(\x0b\x32\x38.cosmos.distribution.v1beta1.DelegatorStartingInfoRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x16\x64\x65legatorStartingInfos\x12w\n\x16validator_slash_events\x18\n \x03(\x0b\x32\x36.cosmos.distribution.v1beta1.ValidatorSlashEventRecordB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSlashEvents:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xf4\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x0cGenesisProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.distribution.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\037com.cosmos.distribution.v1beta1B\014GenesisProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001" - ) - _globals["_DELEGATORWITHDRAWINFO"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_DELEGATORWITHDRAWINFO"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_DELEGATORWITHDRAWINFO"].fields_by_name["withdraw_address"]._loaded_options = None - _globals["_DELEGATORWITHDRAWINFO"].fields_by_name[ - "withdraw_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_DELEGATORWITHDRAWINFO"]._loaded_options = None - _globals["_DELEGATORWITHDRAWINFO"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_VALIDATOROUTSTANDINGREWARDSRECORD"].fields_by_name["validator_address"]._loaded_options = None - _globals["_VALIDATOROUTSTANDINGREWARDSRECORD"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_VALIDATOROUTSTANDINGREWARDSRECORD"].fields_by_name["outstanding_rewards"]._loaded_options = None - _globals["_VALIDATOROUTSTANDINGREWARDSRECORD"].fields_by_name[ - "outstanding_rewards" - ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" - _globals["_VALIDATOROUTSTANDINGREWARDSRECORD"]._loaded_options = None - _globals["_VALIDATOROUTSTANDINGREWARDSRECORD"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_VALIDATORACCUMULATEDCOMMISSIONRECORD"].fields_by_name["validator_address"]._loaded_options = None - _globals["_VALIDATORACCUMULATEDCOMMISSIONRECORD"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_VALIDATORACCUMULATEDCOMMISSIONRECORD"].fields_by_name["accumulated"]._loaded_options = None - _globals["_VALIDATORACCUMULATEDCOMMISSIONRECORD"].fields_by_name[ - "accumulated" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_VALIDATORACCUMULATEDCOMMISSIONRECORD"]._loaded_options = None - _globals["_VALIDATORACCUMULATEDCOMMISSIONRECORD"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_VALIDATORHISTORICALREWARDSRECORD"].fields_by_name["validator_address"]._loaded_options = None - _globals["_VALIDATORHISTORICALREWARDSRECORD"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_VALIDATORHISTORICALREWARDSRECORD"].fields_by_name["rewards"]._loaded_options = None - _globals["_VALIDATORHISTORICALREWARDSRECORD"].fields_by_name[ - "rewards" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_VALIDATORHISTORICALREWARDSRECORD"]._loaded_options = None - _globals["_VALIDATORHISTORICALREWARDSRECORD"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_VALIDATORCURRENTREWARDSRECORD"].fields_by_name["validator_address"]._loaded_options = None - _globals["_VALIDATORCURRENTREWARDSRECORD"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_VALIDATORCURRENTREWARDSRECORD"].fields_by_name["rewards"]._loaded_options = None - _globals["_VALIDATORCURRENTREWARDSRECORD"].fields_by_name[ - "rewards" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_VALIDATORCURRENTREWARDSRECORD"]._loaded_options = None - _globals["_VALIDATORCURRENTREWARDSRECORD"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_DELEGATORSTARTINGINFORECORD"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_DELEGATORSTARTINGINFORECORD"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_DELEGATORSTARTINGINFORECORD"].fields_by_name["validator_address"]._loaded_options = None - _globals["_DELEGATORSTARTINGINFORECORD"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_DELEGATORSTARTINGINFORECORD"].fields_by_name["starting_info"]._loaded_options = None - _globals["_DELEGATORSTARTINGINFORECORD"].fields_by_name[ - "starting_info" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_DELEGATORSTARTINGINFORECORD"]._loaded_options = None - _globals["_DELEGATORSTARTINGINFORECORD"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_VALIDATORSLASHEVENTRECORD"].fields_by_name["validator_address"]._loaded_options = None - _globals["_VALIDATORSLASHEVENTRECORD"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_VALIDATORSLASHEVENTRECORD"].fields_by_name["validator_slash_event"]._loaded_options = None - _globals["_VALIDATORSLASHEVENTRECORD"].fields_by_name[ - "validator_slash_event" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_VALIDATORSLASHEVENTRECORD"]._loaded_options = None - _globals["_VALIDATORSLASHEVENTRECORD"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["fee_pool"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["fee_pool"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["delegator_withdraw_infos"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "delegator_withdraw_infos" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["previous_proposer"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "previous_proposer" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_GENESISSTATE"].fields_by_name["outstanding_rewards"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "outstanding_rewards" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["validator_accumulated_commissions"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "validator_accumulated_commissions" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["validator_historical_rewards"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "validator_historical_rewards" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["validator_current_rewards"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "validator_current_rewards" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["delegator_starting_infos"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "delegator_starting_infos" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["validator_slash_events"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "validator_slash_events" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"]._loaded_options = None - _globals["_GENESISSTATE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_DELEGATORWITHDRAWINFO"]._serialized_start = 223 - _globals["_DELEGATORWITHDRAWINFO"]._serialized_end = 396 - _globals["_VALIDATOROUTSTANDINGREWARDSRECORD"]._serialized_start = 399 - _globals["_VALIDATOROUTSTANDINGREWARDSRECORD"]._serialized_end = 662 - _globals["_VALIDATORACCUMULATEDCOMMISSIONRECORD"]._serialized_start = 665 - _globals["_VALIDATORACCUMULATEDCOMMISSIONRECORD"]._serialized_end = 899 - _globals["_VALIDATORHISTORICALREWARDSRECORD"]._serialized_start = 902 - _globals["_VALIDATORHISTORICALREWARDSRECORD"]._serialized_end = 1144 - _globals["_VALIDATORCURRENTREWARDSRECORD"]._serialized_start = 1147 - _globals["_VALIDATORCURRENTREWARDSRECORD"]._serialized_end = 1359 - _globals["_DELEGATORSTARTINGINFORECORD"]._serialized_start = 1362 - _globals["_DELEGATORSTARTINGINFORECORD"]._serialized_end = 1652 - _globals["_VALIDATORSLASHEVENTRECORD"]._serialized_start = 1655 - _globals["_VALIDATORSLASHEVENTRECORD"]._serialized_end = 1933 - _globals["_GENESISSTATE"]._serialized_start = 1936 - _globals["_GENESISSTATE"]._serialized_end = 3100 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.distribution.v1beta1B\014GenesisProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001' + _globals['_DELEGATORWITHDRAWINFO'].fields_by_name['delegator_address']._loaded_options = None + _globals['_DELEGATORWITHDRAWINFO'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DELEGATORWITHDRAWINFO'].fields_by_name['withdraw_address']._loaded_options = None + _globals['_DELEGATORWITHDRAWINFO'].fields_by_name['withdraw_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DELEGATORWITHDRAWINFO']._loaded_options = None + _globals['_DELEGATORWITHDRAWINFO']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD'].fields_by_name['validator_address']._loaded_options = None + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD'].fields_by_name['outstanding_rewards']._loaded_options = None + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD'].fields_by_name['outstanding_rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._loaded_options = None + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD'].fields_by_name['validator_address']._loaded_options = None + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD'].fields_by_name['accumulated']._loaded_options = None + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD'].fields_by_name['accumulated']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._loaded_options = None + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_VALIDATORHISTORICALREWARDSRECORD'].fields_by_name['validator_address']._loaded_options = None + _globals['_VALIDATORHISTORICALREWARDSRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_VALIDATORHISTORICALREWARDSRECORD'].fields_by_name['rewards']._loaded_options = None + _globals['_VALIDATORHISTORICALREWARDSRECORD'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_VALIDATORHISTORICALREWARDSRECORD']._loaded_options = None + _globals['_VALIDATORHISTORICALREWARDSRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_VALIDATORCURRENTREWARDSRECORD'].fields_by_name['validator_address']._loaded_options = None + _globals['_VALIDATORCURRENTREWARDSRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_VALIDATORCURRENTREWARDSRECORD'].fields_by_name['rewards']._loaded_options = None + _globals['_VALIDATORCURRENTREWARDSRECORD'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_VALIDATORCURRENTREWARDSRECORD']._loaded_options = None + _globals['_VALIDATORCURRENTREWARDSRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['delegator_address']._loaded_options = None + _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['validator_address']._loaded_options = None + _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['starting_info']._loaded_options = None + _globals['_DELEGATORSTARTINGINFORECORD'].fields_by_name['starting_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_DELEGATORSTARTINGINFORECORD']._loaded_options = None + _globals['_DELEGATORSTARTINGINFORECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_VALIDATORSLASHEVENTRECORD'].fields_by_name['validator_address']._loaded_options = None + _globals['_VALIDATORSLASHEVENTRECORD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_VALIDATORSLASHEVENTRECORD'].fields_by_name['validator_slash_event']._loaded_options = None + _globals['_VALIDATORSLASHEVENTRECORD'].fields_by_name['validator_slash_event']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_VALIDATORSLASHEVENTRECORD']._loaded_options = None + _globals['_VALIDATORSLASHEVENTRECORD']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['fee_pool']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['fee_pool']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['delegator_withdraw_infos']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['delegator_withdraw_infos']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['previous_proposer']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['previous_proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_GENESISSTATE'].fields_by_name['outstanding_rewards']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['outstanding_rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['validator_accumulated_commissions']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['validator_accumulated_commissions']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['validator_historical_rewards']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['validator_historical_rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['validator_current_rewards']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['validator_current_rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['delegator_starting_infos']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['delegator_starting_infos']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['validator_slash_events']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['validator_slash_events']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE']._loaded_options = None + _globals['_GENESISSTATE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_DELEGATORWITHDRAWINFO']._serialized_start=223 + _globals['_DELEGATORWITHDRAWINFO']._serialized_end=396 + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._serialized_start=399 + _globals['_VALIDATOROUTSTANDINGREWARDSRECORD']._serialized_end=662 + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._serialized_start=665 + _globals['_VALIDATORACCUMULATEDCOMMISSIONRECORD']._serialized_end=899 + _globals['_VALIDATORHISTORICALREWARDSRECORD']._serialized_start=902 + _globals['_VALIDATORHISTORICALREWARDSRECORD']._serialized_end=1144 + _globals['_VALIDATORCURRENTREWARDSRECORD']._serialized_start=1147 + _globals['_VALIDATORCURRENTREWARDSRECORD']._serialized_end=1359 + _globals['_DELEGATORSTARTINGINFORECORD']._serialized_start=1362 + _globals['_DELEGATORSTARTINGINFORECORD']._serialized_end=1652 + _globals['_VALIDATORSLASHEVENTRECORD']._serialized_start=1655 + _globals['_VALIDATORSLASHEVENTRECORD']._serialized_end=1933 + _globals['_GENESISSTATE']._serialized_start=1936 + _globals['_GENESISSTATE']._serialized_end=3100 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/genesis_pb2_grpc.py @@ -1,3 +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/cosmos/distribution/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2.py index 290f8b90..0344a05c 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2.py @@ -7,225 +7,144 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.distribution.v1beta1 import ( - distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2, -) +from pyinjective.proto.cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\'cosmos/distribution/v1beta1/query.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\x14\n\x12QueryParamsRequest"]\n\x13QueryParamsResponse\x12\x46\n\x06params\x18\x01 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params"w\n%QueryValidatorDistributionInfoRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress"\xee\x02\n&QueryValidatorDistributionInfoResponse\x12L\n\x10operator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x0foperatorAddress\x12\x82\x01\n\x11self_bond_rewards\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x0fselfBondRewards\x12q\n\ncommission\x18\x03 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB3\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoinsR\ncommission"y\n\'QueryValidatorOutstandingRewardsRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress"\x89\x01\n(QueryValidatorOutstandingRewardsResponse\x12]\n\x07rewards\x18\x01 \x01(\x0b\x32\x38.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards"q\n\x1fQueryValidatorCommissionRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress"\x8a\x01\n QueryValidatorCommissionResponse\x12\x66\n\ncommission\x18\x01 \x01(\x0b\x32;.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission"\x8a\x02\n\x1cQueryValidatorSlashesRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\'\n\x0fstarting_height\x18\x02 \x01(\x04R\x0estartingHeight\x12#\n\rending_height\x18\x03 \x01(\x04R\x0c\x65ndingHeight\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x04\x88\xa0\x1f\x00"\xbf\x01\n\x1dQueryValidatorSlashesResponse\x12U\n\x07slashes\x18\x01 \x03(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07slashes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xc0\x01\n\x1dQueryDelegationRewardsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x92\x01\n\x1eQueryDelegationRewardsResponse\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards"u\n"QueryDelegationTotalRewardsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xf0\x01\n#QueryDelegationTotalRewardsResponse\x12[\n\x07rewards\x18\x01 \x03(\x0b\x32\x36.cosmos.distribution.v1beta1.DelegationDelegatorRewardB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards\x12l\n\x05total\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x05total"r\n\x1fQueryDelegatorValidatorsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"L\n QueryDelegatorValidatorsResponse\x12\x1e\n\nvalidators\x18\x01 \x03(\tR\nvalidators:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"w\n$QueryDelegatorWithdrawAddressRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"v\n%QueryDelegatorWithdrawAddressResponse\x12\x43\n\x10withdraw_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x1b\n\x19QueryCommunityPoolRequest"\x88\x01\n\x1aQueryCommunityPoolResponse\x12j\n\x04pool\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x04pool2\xc4\x11\n\x05Query\x12\x98\x01\n\x06Params\x12/.cosmos.distribution.v1beta1.QueryParamsRequest\x1a\x30.cosmos.distribution.v1beta1.QueryParamsResponse"+\x82\xd3\xe4\x93\x02%\x12#/cosmos/distribution/v1beta1/params\x12\xe9\x01\n\x19ValidatorDistributionInfo\x12\x42.cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest\x1a\x43.cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse"C\x82\xd3\xe4\x93\x02=\x12;/cosmos/distribution/v1beta1/validators/{validator_address}\x12\x83\x02\n\x1bValidatorOutstandingRewards\x12\x44.cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest\x1a\x45.cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse"W\x82\xd3\xe4\x93\x02Q\x12O/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards\x12\xe2\x01\n\x13ValidatorCommission\x12<.cosmos.distribution.v1beta1.QueryValidatorCommissionRequest\x1a=.cosmos.distribution.v1beta1.QueryValidatorCommissionResponse"N\x82\xd3\xe4\x93\x02H\x12\x46/cosmos/distribution/v1beta1/validators/{validator_address}/commission\x12\xd6\x01\n\x10ValidatorSlashes\x12\x39.cosmos.distribution.v1beta1.QueryValidatorSlashesRequest\x1a:.cosmos.distribution.v1beta1.QueryValidatorSlashesResponse"K\x82\xd3\xe4\x93\x02\x45\x12\x43/cosmos/distribution/v1beta1/validators/{validator_address}/slashes\x12\xed\x01\n\x11\x44\x65legationRewards\x12:.cosmos.distribution.v1beta1.QueryDelegationRewardsRequest\x1a;.cosmos.distribution.v1beta1.QueryDelegationRewardsResponse"_\x82\xd3\xe4\x93\x02Y\x12W/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}\x12\xe8\x01\n\x16\x44\x65legationTotalRewards\x12?.cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest\x1a@.cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse"K\x82\xd3\xe4\x93\x02\x45\x12\x43/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards\x12\xe2\x01\n\x13\x44\x65legatorValidators\x12<.cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest\x1a=.cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse"N\x82\xd3\xe4\x93\x02H\x12\x46/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators\x12\xf7\x01\n\x18\x44\x65legatorWithdrawAddress\x12\x41.cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest\x1a\x42.cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse"T\x82\xd3\xe4\x93\x02N\x12L/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address\x12\xb5\x01\n\rCommunityPool\x12\x36.cosmos.distribution.v1beta1.QueryCommunityPoolRequest\x1a\x37.cosmos.distribution.v1beta1.QueryCommunityPoolResponse"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/distribution/v1beta1/community_poolB\xee\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\nQueryProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/distribution/v1beta1/query.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x14\n\x12QueryParamsRequest\"]\n\x13QueryParamsResponse\x12\x46\n\x06params\x18\x01 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"w\n%QueryValidatorDistributionInfoRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\"\xee\x02\n&QueryValidatorDistributionInfoResponse\x12L\n\x10operator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x0foperatorAddress\x12\x82\x01\n\x11self_bond_rewards\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x0fselfBondRewards\x12q\n\ncommission\x18\x03 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB3\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoinsR\ncommission\"y\n\'QueryValidatorOutstandingRewardsRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\"\x89\x01\n(QueryValidatorOutstandingRewardsResponse\x12]\n\x07rewards\x18\x01 \x01(\x0b\x32\x38.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards\"q\n\x1fQueryValidatorCommissionRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\"\x8a\x01\n QueryValidatorCommissionResponse\x12\x66\n\ncommission\x18\x01 \x01(\x0b\x32;.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission\"\x8a\x02\n\x1cQueryValidatorSlashesRequest\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\'\n\x0fstarting_height\x18\x02 \x01(\x04R\x0estartingHeight\x12#\n\rending_height\x18\x03 \x01(\x04R\x0c\x65ndingHeight\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x04\x88\xa0\x1f\x00\"\xbf\x01\n\x1dQueryValidatorSlashesResponse\x12U\n\x07slashes\x18\x01 \x03(\x0b\x32\x30.cosmos.distribution.v1beta1.ValidatorSlashEventB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07slashes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xc0\x01\n\x1dQueryDelegationRewardsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x92\x01\n\x1eQueryDelegationRewardsResponse\x12p\n\x07rewards\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x07rewards\"u\n\"QueryDelegationTotalRewardsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf0\x01\n#QueryDelegationTotalRewardsResponse\x12[\n\x07rewards\x18\x01 \x03(\x0b\x32\x36.cosmos.distribution.v1beta1.DelegationDelegatorRewardB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07rewards\x12l\n\x05total\x18\x02 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x05total\"r\n\x1fQueryDelegatorValidatorsRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"L\n QueryDelegatorValidatorsResponse\x12\x1e\n\nvalidators\x18\x01 \x03(\tR\nvalidators:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"w\n$QueryDelegatorWithdrawAddressRequest\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"v\n%QueryDelegatorWithdrawAddressResponse\x12\x43\n\x10withdraw_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1b\n\x19QueryCommunityPoolRequest\"\x88\x01\n\x1aQueryCommunityPoolResponse\x12j\n\x04pool\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.v1beta1.DecCoinB8\xc8\xde\x1f\x00\xaa\xdf\x1f+github.com/cosmos/cosmos-sdk/types.DecCoins\xa8\xe7\xb0*\x01R\x04pool2\xc4\x11\n\x05Query\x12\x98\x01\n\x06Params\x12/.cosmos.distribution.v1beta1.QueryParamsRequest\x1a\x30.cosmos.distribution.v1beta1.QueryParamsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/cosmos/distribution/v1beta1/params\x12\xe9\x01\n\x19ValidatorDistributionInfo\x12\x42.cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest\x1a\x43.cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse\"C\x82\xd3\xe4\x93\x02=\x12;/cosmos/distribution/v1beta1/validators/{validator_address}\x12\x83\x02\n\x1bValidatorOutstandingRewards\x12\x44.cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest\x1a\x45.cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse\"W\x82\xd3\xe4\x93\x02Q\x12O/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards\x12\xe2\x01\n\x13ValidatorCommission\x12<.cosmos.distribution.v1beta1.QueryValidatorCommissionRequest\x1a=.cosmos.distribution.v1beta1.QueryValidatorCommissionResponse\"N\x82\xd3\xe4\x93\x02H\x12\x46/cosmos/distribution/v1beta1/validators/{validator_address}/commission\x12\xd6\x01\n\x10ValidatorSlashes\x12\x39.cosmos.distribution.v1beta1.QueryValidatorSlashesRequest\x1a:.cosmos.distribution.v1beta1.QueryValidatorSlashesResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/cosmos/distribution/v1beta1/validators/{validator_address}/slashes\x12\xed\x01\n\x11\x44\x65legationRewards\x12:.cosmos.distribution.v1beta1.QueryDelegationRewardsRequest\x1a;.cosmos.distribution.v1beta1.QueryDelegationRewardsResponse\"_\x82\xd3\xe4\x93\x02Y\x12W/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}\x12\xe8\x01\n\x16\x44\x65legationTotalRewards\x12?.cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest\x1a@.cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards\x12\xe2\x01\n\x13\x44\x65legatorValidators\x12<.cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest\x1a=.cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse\"N\x82\xd3\xe4\x93\x02H\x12\x46/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators\x12\xf7\x01\n\x18\x44\x65legatorWithdrawAddress\x12\x41.cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest\x1a\x42.cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse\"T\x82\xd3\xe4\x93\x02N\x12L/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address\x12\xb5\x01\n\rCommunityPool\x12\x36.cosmos.distribution.v1beta1.QueryCommunityPoolRequest\x1a\x37.cosmos.distribution.v1beta1.QueryCommunityPoolResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/distribution/v1beta1/community_poolB\xee\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\nQueryProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.distribution.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\037com.cosmos.distribution.v1beta1B\nQueryProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1" - ) - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYVALIDATORDISTRIBUTIONINFOREQUEST"].fields_by_name["validator_address"]._loaded_options = None - _globals["_QUERYVALIDATORDISTRIBUTIONINFOREQUEST"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_QUERYVALIDATORDISTRIBUTIONINFORESPONSE"].fields_by_name["operator_address"]._loaded_options = None - _globals["_QUERYVALIDATORDISTRIBUTIONINFORESPONSE"].fields_by_name[ - "operator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_QUERYVALIDATORDISTRIBUTIONINFORESPONSE"].fields_by_name["self_bond_rewards"]._loaded_options = None - _globals["_QUERYVALIDATORDISTRIBUTIONINFORESPONSE"].fields_by_name[ - "self_bond_rewards" - ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" - _globals["_QUERYVALIDATORDISTRIBUTIONINFORESPONSE"].fields_by_name["commission"]._loaded_options = None - _globals["_QUERYVALIDATORDISTRIBUTIONINFORESPONSE"].fields_by_name[ - "commission" - ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins" - _globals["_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST"].fields_by_name["validator_address"]._loaded_options = None - _globals["_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE"].fields_by_name["rewards"]._loaded_options = None - _globals["_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE"].fields_by_name[ - "rewards" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYVALIDATORCOMMISSIONREQUEST"].fields_by_name["validator_address"]._loaded_options = None - _globals["_QUERYVALIDATORCOMMISSIONREQUEST"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_QUERYVALIDATORCOMMISSIONRESPONSE"].fields_by_name["commission"]._loaded_options = None - _globals["_QUERYVALIDATORCOMMISSIONRESPONSE"].fields_by_name[ - "commission" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYVALIDATORSLASHESREQUEST"].fields_by_name["validator_address"]._loaded_options = None - _globals["_QUERYVALIDATORSLASHESREQUEST"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_QUERYVALIDATORSLASHESREQUEST"]._loaded_options = None - _globals["_QUERYVALIDATORSLASHESREQUEST"]._serialized_options = b"\210\240\037\000" - _globals["_QUERYVALIDATORSLASHESRESPONSE"].fields_by_name["slashes"]._loaded_options = None - _globals["_QUERYVALIDATORSLASHESRESPONSE"].fields_by_name[ - "slashes" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYDELEGATIONREWARDSREQUEST"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_QUERYDELEGATIONREWARDSREQUEST"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYDELEGATIONREWARDSREQUEST"].fields_by_name["validator_address"]._loaded_options = None - _globals["_QUERYDELEGATIONREWARDSREQUEST"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_QUERYDELEGATIONREWARDSREQUEST"]._loaded_options = None - _globals["_QUERYDELEGATIONREWARDSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYDELEGATIONREWARDSRESPONSE"].fields_by_name["rewards"]._loaded_options = None - _globals["_QUERYDELEGATIONREWARDSRESPONSE"].fields_by_name[ - "rewards" - ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" - _globals["_QUERYDELEGATIONTOTALREWARDSREQUEST"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_QUERYDELEGATIONTOTALREWARDSREQUEST"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYDELEGATIONTOTALREWARDSREQUEST"]._loaded_options = None - _globals["_QUERYDELEGATIONTOTALREWARDSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYDELEGATIONTOTALREWARDSRESPONSE"].fields_by_name["rewards"]._loaded_options = None - _globals["_QUERYDELEGATIONTOTALREWARDSRESPONSE"].fields_by_name[ - "rewards" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYDELEGATIONTOTALREWARDSRESPONSE"].fields_by_name["total"]._loaded_options = None - _globals["_QUERYDELEGATIONTOTALREWARDSRESPONSE"].fields_by_name[ - "total" - ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" - _globals["_QUERYDELEGATORVALIDATORSREQUEST"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_QUERYDELEGATORVALIDATORSREQUEST"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYDELEGATORVALIDATORSREQUEST"]._loaded_options = None - _globals["_QUERYDELEGATORVALIDATORSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYDELEGATORVALIDATORSRESPONSE"]._loaded_options = None - _globals["_QUERYDELEGATORVALIDATORSRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYDELEGATORWITHDRAWADDRESSREQUEST"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_QUERYDELEGATORWITHDRAWADDRESSREQUEST"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYDELEGATORWITHDRAWADDRESSREQUEST"]._loaded_options = None - _globals["_QUERYDELEGATORWITHDRAWADDRESSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYDELEGATORWITHDRAWADDRESSRESPONSE"].fields_by_name["withdraw_address"]._loaded_options = None - _globals["_QUERYDELEGATORWITHDRAWADDRESSRESPONSE"].fields_by_name[ - "withdraw_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYDELEGATORWITHDRAWADDRESSRESPONSE"]._loaded_options = None - _globals["_QUERYDELEGATORWITHDRAWADDRESSRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYCOMMUNITYPOOLRESPONSE"].fields_by_name["pool"]._loaded_options = None - _globals["_QUERYCOMMUNITYPOOLRESPONSE"].fields_by_name[ - "pool" - ]._serialized_options = b"\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001" - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\202\323\344\223\002%\022#/cosmos/distribution/v1beta1/params" - _globals["_QUERY"].methods_by_name["ValidatorDistributionInfo"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ValidatorDistributionInfo" - ]._serialized_options = b"\202\323\344\223\002=\022;/cosmos/distribution/v1beta1/validators/{validator_address}" - _globals["_QUERY"].methods_by_name["ValidatorOutstandingRewards"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ValidatorOutstandingRewards" - ]._serialized_options = ( - b"\202\323\344\223\002Q\022O/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards" - ) - _globals["_QUERY"].methods_by_name["ValidatorCommission"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ValidatorCommission" - ]._serialized_options = ( - b"\202\323\344\223\002H\022F/cosmos/distribution/v1beta1/validators/{validator_address}/commission" - ) - _globals["_QUERY"].methods_by_name["ValidatorSlashes"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ValidatorSlashes" - ]._serialized_options = ( - b"\202\323\344\223\002E\022C/cosmos/distribution/v1beta1/validators/{validator_address}/slashes" - ) - _globals["_QUERY"].methods_by_name["DelegationRewards"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DelegationRewards" - ]._serialized_options = b"\202\323\344\223\002Y\022W/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}" - _globals["_QUERY"].methods_by_name["DelegationTotalRewards"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DelegationTotalRewards" - ]._serialized_options = ( - b"\202\323\344\223\002E\022C/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards" - ) - _globals["_QUERY"].methods_by_name["DelegatorValidators"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DelegatorValidators" - ]._serialized_options = ( - b"\202\323\344\223\002H\022F/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators" - ) - _globals["_QUERY"].methods_by_name["DelegatorWithdrawAddress"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DelegatorWithdrawAddress" - ]._serialized_options = ( - b"\202\323\344\223\002N\022L/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address" - ) - _globals["_QUERY"].methods_by_name["CommunityPool"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "CommunityPool" - ]._serialized_options = b"\202\323\344\223\002-\022+/cosmos/distribution/v1beta1/community_pool" - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 294 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 314 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 316 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 409 - _globals["_QUERYVALIDATORDISTRIBUTIONINFOREQUEST"]._serialized_start = 411 - _globals["_QUERYVALIDATORDISTRIBUTIONINFOREQUEST"]._serialized_end = 530 - _globals["_QUERYVALIDATORDISTRIBUTIONINFORESPONSE"]._serialized_start = 533 - _globals["_QUERYVALIDATORDISTRIBUTIONINFORESPONSE"]._serialized_end = 899 - _globals["_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST"]._serialized_start = 901 - _globals["_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST"]._serialized_end = 1022 - _globals["_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE"]._serialized_start = 1025 - _globals["_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE"]._serialized_end = 1162 - _globals["_QUERYVALIDATORCOMMISSIONREQUEST"]._serialized_start = 1164 - _globals["_QUERYVALIDATORCOMMISSIONREQUEST"]._serialized_end = 1277 - _globals["_QUERYVALIDATORCOMMISSIONRESPONSE"]._serialized_start = 1280 - _globals["_QUERYVALIDATORCOMMISSIONRESPONSE"]._serialized_end = 1418 - _globals["_QUERYVALIDATORSLASHESREQUEST"]._serialized_start = 1421 - _globals["_QUERYVALIDATORSLASHESREQUEST"]._serialized_end = 1687 - _globals["_QUERYVALIDATORSLASHESRESPONSE"]._serialized_start = 1690 - _globals["_QUERYVALIDATORSLASHESRESPONSE"]._serialized_end = 1881 - _globals["_QUERYDELEGATIONREWARDSREQUEST"]._serialized_start = 1884 - _globals["_QUERYDELEGATIONREWARDSREQUEST"]._serialized_end = 2076 - _globals["_QUERYDELEGATIONREWARDSRESPONSE"]._serialized_start = 2079 - _globals["_QUERYDELEGATIONREWARDSRESPONSE"]._serialized_end = 2225 - _globals["_QUERYDELEGATIONTOTALREWARDSREQUEST"]._serialized_start = 2227 - _globals["_QUERYDELEGATIONTOTALREWARDSREQUEST"]._serialized_end = 2344 - _globals["_QUERYDELEGATIONTOTALREWARDSRESPONSE"]._serialized_start = 2347 - _globals["_QUERYDELEGATIONTOTALREWARDSRESPONSE"]._serialized_end = 2587 - _globals["_QUERYDELEGATORVALIDATORSREQUEST"]._serialized_start = 2589 - _globals["_QUERYDELEGATORVALIDATORSREQUEST"]._serialized_end = 2703 - _globals["_QUERYDELEGATORVALIDATORSRESPONSE"]._serialized_start = 2705 - _globals["_QUERYDELEGATORVALIDATORSRESPONSE"]._serialized_end = 2781 - _globals["_QUERYDELEGATORWITHDRAWADDRESSREQUEST"]._serialized_start = 2783 - _globals["_QUERYDELEGATORWITHDRAWADDRESSREQUEST"]._serialized_end = 2902 - _globals["_QUERYDELEGATORWITHDRAWADDRESSRESPONSE"]._serialized_start = 2904 - _globals["_QUERYDELEGATORWITHDRAWADDRESSRESPONSE"]._serialized_end = 3022 - _globals["_QUERYCOMMUNITYPOOLREQUEST"]._serialized_start = 3024 - _globals["_QUERYCOMMUNITYPOOLREQUEST"]._serialized_end = 3051 - _globals["_QUERYCOMMUNITYPOOLRESPONSE"]._serialized_start = 3054 - _globals["_QUERYCOMMUNITYPOOLRESPONSE"]._serialized_end = 3190 - _globals["_QUERY"]._serialized_start = 3193 - _globals["_QUERY"]._serialized_end = 5437 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.distribution.v1beta1B\nQueryProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST'].fields_by_name['validator_address']._loaded_options = None + _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['operator_address']._loaded_options = None + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['operator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['self_bond_rewards']._loaded_options = None + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['self_bond_rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['commission']._loaded_options = None + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins' + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST'].fields_by_name['validator_address']._loaded_options = None + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE'].fields_by_name['rewards']._loaded_options = None + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYVALIDATORCOMMISSIONREQUEST'].fields_by_name['validator_address']._loaded_options = None + _globals['_QUERYVALIDATORCOMMISSIONREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYVALIDATORCOMMISSIONRESPONSE'].fields_by_name['commission']._loaded_options = None + _globals['_QUERYVALIDATORCOMMISSIONRESPONSE'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYVALIDATORSLASHESREQUEST'].fields_by_name['validator_address']._loaded_options = None + _globals['_QUERYVALIDATORSLASHESREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYVALIDATORSLASHESREQUEST']._loaded_options = None + _globals['_QUERYVALIDATORSLASHESREQUEST']._serialized_options = b'\210\240\037\000' + _globals['_QUERYVALIDATORSLASHESRESPONSE'].fields_by_name['slashes']._loaded_options = None + _globals['_QUERYVALIDATORSLASHESRESPONSE'].fields_by_name['slashes']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDELEGATIONREWARDSREQUEST'].fields_by_name['delegator_address']._loaded_options = None + _globals['_QUERYDELEGATIONREWARDSREQUEST'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATIONREWARDSREQUEST'].fields_by_name['validator_address']._loaded_options = None + _globals['_QUERYDELEGATIONREWARDSREQUEST'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYDELEGATIONREWARDSREQUEST']._loaded_options = None + _globals['_QUERYDELEGATIONREWARDSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATIONREWARDSRESPONSE'].fields_by_name['rewards']._loaded_options = None + _globals['_QUERYDELEGATIONREWARDSRESPONSE'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST'].fields_by_name['delegator_address']._loaded_options = None + _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._loaded_options = None + _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE'].fields_by_name['rewards']._loaded_options = None + _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE'].fields_by_name['total']._loaded_options = None + _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE'].fields_by_name['total']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_QUERYDELEGATORVALIDATORSREQUEST'].fields_by_name['delegator_address']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORSREQUEST'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST'].fields_by_name['delegator_address']._loaded_options = None + _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._loaded_options = None + _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE'].fields_by_name['withdraw_address']._loaded_options = None + _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE'].fields_by_name['withdraw_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._loaded_options = None + _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYCOMMUNITYPOOLRESPONSE'].fields_by_name['pool']._loaded_options = None + _globals['_QUERYCOMMUNITYPOOLRESPONSE'].fields_by_name['pool']._serialized_options = b'\310\336\037\000\252\337\037+github.com/cosmos/cosmos-sdk/types.DecCoins\250\347\260*\001' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002%\022#/cosmos/distribution/v1beta1/params' + _globals['_QUERY'].methods_by_name['ValidatorDistributionInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValidatorDistributionInfo']._serialized_options = b'\202\323\344\223\002=\022;/cosmos/distribution/v1beta1/validators/{validator_address}' + _globals['_QUERY'].methods_by_name['ValidatorOutstandingRewards']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValidatorOutstandingRewards']._serialized_options = b'\202\323\344\223\002Q\022O/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards' + _globals['_QUERY'].methods_by_name['ValidatorCommission']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValidatorCommission']._serialized_options = b'\202\323\344\223\002H\022F/cosmos/distribution/v1beta1/validators/{validator_address}/commission' + _globals['_QUERY'].methods_by_name['ValidatorSlashes']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValidatorSlashes']._serialized_options = b'\202\323\344\223\002E\022C/cosmos/distribution/v1beta1/validators/{validator_address}/slashes' + _globals['_QUERY'].methods_by_name['DelegationRewards']._loaded_options = None + _globals['_QUERY'].methods_by_name['DelegationRewards']._serialized_options = b'\202\323\344\223\002Y\022W/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}' + _globals['_QUERY'].methods_by_name['DelegationTotalRewards']._loaded_options = None + _globals['_QUERY'].methods_by_name['DelegationTotalRewards']._serialized_options = b'\202\323\344\223\002E\022C/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards' + _globals['_QUERY'].methods_by_name['DelegatorValidators']._loaded_options = None + _globals['_QUERY'].methods_by_name['DelegatorValidators']._serialized_options = b'\202\323\344\223\002H\022F/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators' + _globals['_QUERY'].methods_by_name['DelegatorWithdrawAddress']._loaded_options = None + _globals['_QUERY'].methods_by_name['DelegatorWithdrawAddress']._serialized_options = b'\202\323\344\223\002N\022L/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address' + _globals['_QUERY'].methods_by_name['CommunityPool']._loaded_options = None + _globals['_QUERY'].methods_by_name['CommunityPool']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/distribution/v1beta1/community_pool' + _globals['_QUERYPARAMSREQUEST']._serialized_start=294 + _globals['_QUERYPARAMSREQUEST']._serialized_end=314 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=316 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=409 + _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST']._serialized_start=411 + _globals['_QUERYVALIDATORDISTRIBUTIONINFOREQUEST']._serialized_end=530 + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE']._serialized_start=533 + _globals['_QUERYVALIDATORDISTRIBUTIONINFORESPONSE']._serialized_end=899 + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST']._serialized_start=901 + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSREQUEST']._serialized_end=1022 + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE']._serialized_start=1025 + _globals['_QUERYVALIDATOROUTSTANDINGREWARDSRESPONSE']._serialized_end=1162 + _globals['_QUERYVALIDATORCOMMISSIONREQUEST']._serialized_start=1164 + _globals['_QUERYVALIDATORCOMMISSIONREQUEST']._serialized_end=1277 + _globals['_QUERYVALIDATORCOMMISSIONRESPONSE']._serialized_start=1280 + _globals['_QUERYVALIDATORCOMMISSIONRESPONSE']._serialized_end=1418 + _globals['_QUERYVALIDATORSLASHESREQUEST']._serialized_start=1421 + _globals['_QUERYVALIDATORSLASHESREQUEST']._serialized_end=1687 + _globals['_QUERYVALIDATORSLASHESRESPONSE']._serialized_start=1690 + _globals['_QUERYVALIDATORSLASHESRESPONSE']._serialized_end=1881 + _globals['_QUERYDELEGATIONREWARDSREQUEST']._serialized_start=1884 + _globals['_QUERYDELEGATIONREWARDSREQUEST']._serialized_end=2076 + _globals['_QUERYDELEGATIONREWARDSRESPONSE']._serialized_start=2079 + _globals['_QUERYDELEGATIONREWARDSRESPONSE']._serialized_end=2225 + _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._serialized_start=2227 + _globals['_QUERYDELEGATIONTOTALREWARDSREQUEST']._serialized_end=2344 + _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE']._serialized_start=2347 + _globals['_QUERYDELEGATIONTOTALREWARDSRESPONSE']._serialized_end=2587 + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_start=2589 + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_end=2703 + _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_start=2705 + _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_end=2781 + _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._serialized_start=2783 + _globals['_QUERYDELEGATORWITHDRAWADDRESSREQUEST']._serialized_end=2902 + _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._serialized_start=2904 + _globals['_QUERYDELEGATORWITHDRAWADDRESSRESPONSE']._serialized_end=3022 + _globals['_QUERYCOMMUNITYPOOLREQUEST']._serialized_start=3024 + _globals['_QUERYCOMMUNITYPOOLREQUEST']._serialized_end=3051 + _globals['_QUERYCOMMUNITYPOOLRESPONSE']._serialized_start=3054 + _globals['_QUERYCOMMUNITYPOOLRESPONSE']._serialized_end=3190 + _globals['_QUERY']._serialized_start=3193 + _globals['_QUERY']._serialized_end=5437 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2_grpc.py index 8b72db5c..583d9bda 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/query_pb2_grpc.py @@ -2,13 +2,12 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.cosmos.distribution.v1beta1 import ( - query_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_query__pb2, -) +from pyinjective.proto.cosmos.distribution.v1beta1 import query_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_query__pb2 class QueryStub(object): - """Query defines the gRPC querier service for distribution module.""" + """Query defines the gRPC querier service for distribution module. + """ def __init__(self, channel): """Constructor. @@ -17,212 +16,212 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - "/cosmos.distribution.v1beta1.Query/Params", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Query/Params', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) self.ValidatorDistributionInfo = channel.unary_unary( - "/cosmos.distribution.v1beta1.Query/ValidatorDistributionInfo", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Query/ValidatorDistributionInfo', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoResponse.FromString, + _registered_method=True) self.ValidatorOutstandingRewards = channel.unary_unary( - "/cosmos.distribution.v1beta1.Query/ValidatorOutstandingRewards", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Query/ValidatorOutstandingRewards', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsResponse.FromString, + _registered_method=True) self.ValidatorCommission = channel.unary_unary( - "/cosmos.distribution.v1beta1.Query/ValidatorCommission", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Query/ValidatorCommission', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionResponse.FromString, + _registered_method=True) self.ValidatorSlashes = channel.unary_unary( - "/cosmos.distribution.v1beta1.Query/ValidatorSlashes", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Query/ValidatorSlashes', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesResponse.FromString, + _registered_method=True) self.DelegationRewards = channel.unary_unary( - "/cosmos.distribution.v1beta1.Query/DelegationRewards", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Query/DelegationRewards', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsResponse.FromString, + _registered_method=True) self.DelegationTotalRewards = channel.unary_unary( - "/cosmos.distribution.v1beta1.Query/DelegationTotalRewards", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Query/DelegationTotalRewards', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsResponse.FromString, + _registered_method=True) self.DelegatorValidators = channel.unary_unary( - "/cosmos.distribution.v1beta1.Query/DelegatorValidators", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Query/DelegatorValidators', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, + _registered_method=True) self.DelegatorWithdrawAddress = channel.unary_unary( - "/cosmos.distribution.v1beta1.Query/DelegatorWithdrawAddress", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Query/DelegatorWithdrawAddress', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressResponse.FromString, + _registered_method=True) self.CommunityPool = channel.unary_unary( - "/cosmos.distribution.v1beta1.Query/CommunityPool", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolRequest.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Query/CommunityPool', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolRequest.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service for distribution module.""" + """Query defines the gRPC querier service for distribution module. + """ def Params(self, request, context): - """Params queries params of the distribution module.""" + """Params queries params of the distribution module. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ValidatorDistributionInfo(self, request, context): - """ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator""" + """ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ValidatorOutstandingRewards(self, request, context): - """ValidatorOutstandingRewards queries rewards of a validator address.""" + """ValidatorOutstandingRewards queries rewards of a validator address. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ValidatorCommission(self, request, context): - """ValidatorCommission queries accumulated commission for a validator.""" + """ValidatorCommission queries accumulated commission for a validator. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ValidatorSlashes(self, request, context): - """ValidatorSlashes queries slash events of a validator.""" + """ValidatorSlashes queries slash events of a validator. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DelegationRewards(self, request, context): - """DelegationRewards queries the total rewards accrued by a delegation.""" + """DelegationRewards queries the total rewards accrued by a delegation. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DelegationTotalRewards(self, request, context): """DelegationTotalRewards queries the total rewards accrued by each validator. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DelegatorValidators(self, request, context): - """DelegatorValidators queries the validators of a delegator.""" + """DelegatorValidators queries the validators of a delegator. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DelegatorWithdrawAddress(self, request, context): - """DelegatorWithdrawAddress queries withdraw address of a delegator.""" + """DelegatorWithdrawAddress queries withdraw address of a delegator. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CommunityPool(self, request, context): - """CommunityPool queries the community pool coins.""" + """CommunityPool queries the community pool coins. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - "ValidatorDistributionInfo": grpc.unary_unary_rpc_method_handler( - servicer.ValidatorDistributionInfo, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoResponse.SerializeToString, - ), - "ValidatorOutstandingRewards": grpc.unary_unary_rpc_method_handler( - servicer.ValidatorOutstandingRewards, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsResponse.SerializeToString, - ), - "ValidatorCommission": grpc.unary_unary_rpc_method_handler( - servicer.ValidatorCommission, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionResponse.SerializeToString, - ), - "ValidatorSlashes": grpc.unary_unary_rpc_method_handler( - servicer.ValidatorSlashes, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesResponse.SerializeToString, - ), - "DelegationRewards": grpc.unary_unary_rpc_method_handler( - servicer.DelegationRewards, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsResponse.SerializeToString, - ), - "DelegationTotalRewards": grpc.unary_unary_rpc_method_handler( - servicer.DelegationTotalRewards, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsResponse.SerializeToString, - ), - "DelegatorValidators": grpc.unary_unary_rpc_method_handler( - servicer.DelegatorValidators, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.SerializeToString, - ), - "DelegatorWithdrawAddress": grpc.unary_unary_rpc_method_handler( - servicer.DelegatorWithdrawAddress, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressResponse.SerializeToString, - ), - "CommunityPool": grpc.unary_unary_rpc_method_handler( - servicer.CommunityPool, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolRequest.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolResponse.SerializeToString, - ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'ValidatorDistributionInfo': grpc.unary_unary_rpc_method_handler( + servicer.ValidatorDistributionInfo, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoResponse.SerializeToString, + ), + 'ValidatorOutstandingRewards': grpc.unary_unary_rpc_method_handler( + servicer.ValidatorOutstandingRewards, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsResponse.SerializeToString, + ), + 'ValidatorCommission': grpc.unary_unary_rpc_method_handler( + servicer.ValidatorCommission, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionResponse.SerializeToString, + ), + 'ValidatorSlashes': grpc.unary_unary_rpc_method_handler( + servicer.ValidatorSlashes, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesResponse.SerializeToString, + ), + 'DelegationRewards': grpc.unary_unary_rpc_method_handler( + servicer.DelegationRewards, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsResponse.SerializeToString, + ), + 'DelegationTotalRewards': grpc.unary_unary_rpc_method_handler( + servicer.DelegationTotalRewards, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsResponse.SerializeToString, + ), + 'DelegatorValidators': grpc.unary_unary_rpc_method_handler( + servicer.DelegatorValidators, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.SerializeToString, + ), + 'DelegatorWithdrawAddress': grpc.unary_unary_rpc_method_handler( + servicer.DelegatorWithdrawAddress, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressResponse.SerializeToString, + ), + 'CommunityPool': grpc.unary_unary_rpc_method_handler( + servicer.CommunityPool, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolRequest.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.distribution.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.distribution.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.distribution.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.distribution.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service for distribution module.""" + """Query defines the gRPC querier service for distribution module. + """ @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Query/Params", + '/cosmos.distribution.v1beta1.Query/Params', cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -233,26 +232,23 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ValidatorDistributionInfo( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ValidatorDistributionInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Query/ValidatorDistributionInfo", + '/cosmos.distribution.v1beta1.Query/ValidatorDistributionInfo', cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorDistributionInfoResponse.FromString, options, @@ -263,26 +259,23 @@ def ValidatorDistributionInfo( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ValidatorOutstandingRewards( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ValidatorOutstandingRewards(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Query/ValidatorOutstandingRewards", + '/cosmos.distribution.v1beta1.Query/ValidatorOutstandingRewards', cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorOutstandingRewardsResponse.FromString, options, @@ -293,26 +286,23 @@ def ValidatorOutstandingRewards( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ValidatorCommission( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ValidatorCommission(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Query/ValidatorCommission", + '/cosmos.distribution.v1beta1.Query/ValidatorCommission', cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorCommissionResponse.FromString, options, @@ -323,26 +313,23 @@ def ValidatorCommission( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ValidatorSlashes( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ValidatorSlashes(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Query/ValidatorSlashes", + '/cosmos.distribution.v1beta1.Query/ValidatorSlashes', cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryValidatorSlashesResponse.FromString, options, @@ -353,26 +340,23 @@ def ValidatorSlashes( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DelegationRewards( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DelegationRewards(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Query/DelegationRewards", + '/cosmos.distribution.v1beta1.Query/DelegationRewards', cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationRewardsResponse.FromString, options, @@ -383,26 +367,23 @@ def DelegationRewards( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DelegationTotalRewards( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DelegationTotalRewards(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Query/DelegationTotalRewards", + '/cosmos.distribution.v1beta1.Query/DelegationTotalRewards', cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegationTotalRewardsResponse.FromString, options, @@ -413,26 +394,23 @@ def DelegationTotalRewards( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DelegatorValidators( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DelegatorValidators(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Query/DelegatorValidators", + '/cosmos.distribution.v1beta1.Query/DelegatorValidators', cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, options, @@ -443,26 +421,23 @@ def DelegatorValidators( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DelegatorWithdrawAddress( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DelegatorWithdrawAddress(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Query/DelegatorWithdrawAddress", + '/cosmos.distribution.v1beta1.Query/DelegatorWithdrawAddress', cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryDelegatorWithdrawAddressResponse.FromString, options, @@ -473,26 +448,23 @@ def DelegatorWithdrawAddress( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CommunityPool( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CommunityPool(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Query/CommunityPool", + '/cosmos.distribution.v1beta1.Query/CommunityPool', cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolRequest.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_query__pb2.QueryCommunityPoolResponse.FromString, options, @@ -503,5 +475,4 @@ def CommunityPool( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py index c44356dd..fc830db8 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,141 +17,93 @@ from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -from pyinjective.proto.cosmos.distribution.v1beta1 import ( - distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2, -) +from pyinjective.proto.cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$cosmos/distribution/v1beta1/tx.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a.cosmos/distribution/v1beta1/distribution.proto"\xeb\x01\n\x15MsgSetWithdrawAddress\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12\x43\n\x10withdraw_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:F\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*#cosmos-sdk/MsgModifyWithdrawAddress"\x1f\n\x1dMsgSetWithdrawAddressResponse"\xfe\x01\n\x1aMsgWithdrawDelegatorReward\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:I\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*&cosmos-sdk/MsgWithdrawDelegationReward"\x9f\x01\n"MsgWithdrawDelegatorRewardResponse\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount"\xb8\x01\n\x1eMsgWithdrawValidatorCommission\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:F\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*#cosmos-sdk/MsgWithdrawValCommission"\xa3\x01\n&MsgWithdrawValidatorCommissionResponse\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount"\x85\x02\n\x14MsgFundCommunityPool\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor::\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgFundCommunityPool"\x1e\n\x1cMsgFundCommunityPoolResponse"\xcd\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x46\n\x06params\x18\x02 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'cosmos-sdk/distribution/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse"\xa3\x02\n\x15MsgCommunityPoolSpend\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x1c\n\trecipient\x18\x02 \x01(\tR\trecipient\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:9\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*&cosmos-sdk/distr/MsgCommunityPoolSpend"\x1f\n\x1dMsgCommunityPoolSpendResponse"\xe5\x02\n\x1eMsgDepositValidatorRewardsPool\x12\x36\n\tdepositor\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*%cosmos-sdk/distr/MsgDepositValRewards"(\n&MsgDepositValidatorRewardsPoolResponse2\xec\x07\n\x03Msg\x12\x84\x01\n\x12SetWithdrawAddress\x12\x32.cosmos.distribution.v1beta1.MsgSetWithdrawAddress\x1a:.cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse\x12\x93\x01\n\x17WithdrawDelegatorReward\x12\x37.cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward\x1a?.cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse\x12\x9f\x01\n\x1bWithdrawValidatorCommission\x12;.cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission\x1a\x43.cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse\x12\x81\x01\n\x11\x46undCommunityPool\x12\x31.cosmos.distribution.v1beta1.MsgFundCommunityPool\x1a\x39.cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse\x12r\n\x0cUpdateParams\x12,.cosmos.distribution.v1beta1.MsgUpdateParams\x1a\x34.cosmos.distribution.v1beta1.MsgUpdateParamsResponse\x12\x84\x01\n\x12\x43ommunityPoolSpend\x12\x32.cosmos.distribution.v1beta1.MsgCommunityPoolSpend\x1a:.cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse\x12\x9f\x01\n\x1b\x44\x65positValidatorRewardsPool\x12;.cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool\x1a\x43.cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xef\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x07TxProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/distribution/v1beta1/tx.proto\x12\x1b\x63osmos.distribution.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\"\xeb\x01\n\x15MsgSetWithdrawAddress\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12\x43\n\x10withdraw_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0fwithdrawAddress:F\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*#cosmos-sdk/MsgModifyWithdrawAddress\"\x1f\n\x1dMsgSetWithdrawAddressResponse\"\xfe\x01\n\x1aMsgWithdrawDelegatorReward\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:I\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*&cosmos-sdk/MsgWithdrawDelegationReward\"\x9f\x01\n\"MsgWithdrawDelegatorRewardResponse\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\"\xb8\x01\n\x1eMsgWithdrawValidatorCommission\x12N\n\x11validator_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:F\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*#cosmos-sdk/MsgWithdrawValCommission\"\xa3\x01\n&MsgWithdrawValidatorCommissionResponse\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\"\x85\x02\n\x14MsgFundCommunityPool\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor::\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgFundCommunityPool\"\x1e\n\x1cMsgFundCommunityPoolResponse\"\xcd\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x46\n\x06params\x18\x02 \x01(\x0b\x32#.cosmos.distribution.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'cosmos-sdk/distribution/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xa3\x02\n\x15MsgCommunityPoolSpend\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x1c\n\trecipient\x18\x02 \x01(\tR\trecipient\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:9\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*&cosmos-sdk/distr/MsgCommunityPoolSpend\"\x1f\n\x1dMsgCommunityPoolSpendResponse\"\xe5\x02\n\x1eMsgDepositValidatorRewardsPool\x12\x36\n\tdepositor\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*%cosmos-sdk/distr/MsgDepositValRewards\"(\n&MsgDepositValidatorRewardsPoolResponse2\xec\x07\n\x03Msg\x12\x84\x01\n\x12SetWithdrawAddress\x12\x32.cosmos.distribution.v1beta1.MsgSetWithdrawAddress\x1a:.cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse\x12\x93\x01\n\x17WithdrawDelegatorReward\x12\x37.cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward\x1a?.cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse\x12\x9f\x01\n\x1bWithdrawValidatorCommission\x12;.cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission\x1a\x43.cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse\x12\x81\x01\n\x11\x46undCommunityPool\x12\x31.cosmos.distribution.v1beta1.MsgFundCommunityPool\x1a\x39.cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse\x12r\n\x0cUpdateParams\x12,.cosmos.distribution.v1beta1.MsgUpdateParams\x1a\x34.cosmos.distribution.v1beta1.MsgUpdateParamsResponse\x12\x84\x01\n\x12\x43ommunityPoolSpend\x12\x32.cosmos.distribution.v1beta1.MsgCommunityPoolSpend\x1a:.cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse\x12\x9f\x01\n\x1b\x44\x65positValidatorRewardsPool\x12;.cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool\x1a\x43.cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xef\x01\n\x1f\x63om.cosmos.distribution.v1beta1B\x07TxProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/distribution/types\xa2\x02\x03\x43\x44X\xaa\x02\x1b\x43osmos.Distribution.V1beta1\xca\x02\x1b\x43osmos\\Distribution\\V1beta1\xe2\x02\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\xea\x02\x1d\x43osmos::Distribution::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.distribution.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\037com.cosmos.distribution.v1beta1B\007TxProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001" - ) - _globals["_MSGSETWITHDRAWADDRESS"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_MSGSETWITHDRAWADDRESS"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSETWITHDRAWADDRESS"].fields_by_name["withdraw_address"]._loaded_options = None - _globals["_MSGSETWITHDRAWADDRESS"].fields_by_name[ - "withdraw_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSETWITHDRAWADDRESS"]._loaded_options = None - _globals["_MSGSETWITHDRAWADDRESS"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*#cosmos-sdk/MsgModifyWithdrawAddress" - ) - _globals["_MSGWITHDRAWDELEGATORREWARD"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_MSGWITHDRAWDELEGATORREWARD"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGWITHDRAWDELEGATORREWARD"].fields_by_name["validator_address"]._loaded_options = None - _globals["_MSGWITHDRAWDELEGATORREWARD"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_MSGWITHDRAWDELEGATORREWARD"]._loaded_options = None - _globals["_MSGWITHDRAWDELEGATORREWARD"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*&cosmos-sdk/MsgWithdrawDelegationReward" - ) - _globals["_MSGWITHDRAWDELEGATORREWARDRESPONSE"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGWITHDRAWDELEGATORREWARDRESPONSE"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_MSGWITHDRAWVALIDATORCOMMISSION"].fields_by_name["validator_address"]._loaded_options = None - _globals["_MSGWITHDRAWVALIDATORCOMMISSION"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_MSGWITHDRAWVALIDATORCOMMISSION"]._loaded_options = None - _globals["_MSGWITHDRAWVALIDATORCOMMISSION"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*#cosmos-sdk/MsgWithdrawValCommission" - ) - _globals["_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_MSGFUNDCOMMUNITYPOOL"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGFUNDCOMMUNITYPOOL"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_MSGFUNDCOMMUNITYPOOL"].fields_by_name["depositor"]._loaded_options = None - _globals["_MSGFUNDCOMMUNITYPOOL"].fields_by_name[ - "depositor" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGFUNDCOMMUNITYPOOL"]._loaded_options = None - _globals["_MSGFUNDCOMMUNITYPOOL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\tdepositor\212\347\260*\037cosmos-sdk/MsgFundCommunityPool" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*'cosmos-sdk/distribution/MsgUpdateParams" - ) - _globals["_MSGCOMMUNITYPOOLSPEND"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGCOMMUNITYPOOLSPEND"].fields_by_name[ - "authority" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGCOMMUNITYPOOLSPEND"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGCOMMUNITYPOOLSPEND"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_MSGCOMMUNITYPOOLSPEND"]._loaded_options = None - _globals["_MSGCOMMUNITYPOOLSPEND"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*&cosmos-sdk/distr/MsgCommunityPoolSpend" - ) - _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"].fields_by_name["depositor"]._loaded_options = None - _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"].fields_by_name[ - "depositor" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"].fields_by_name["validator_address"]._loaded_options = None - _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"]._loaded_options = None - _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\tdepositor\212\347\260*%cosmos-sdk/distr/MsgDepositValRewards" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGSETWITHDRAWADDRESS"]._serialized_start = 243 - _globals["_MSGSETWITHDRAWADDRESS"]._serialized_end = 478 - _globals["_MSGSETWITHDRAWADDRESSRESPONSE"]._serialized_start = 480 - _globals["_MSGSETWITHDRAWADDRESSRESPONSE"]._serialized_end = 511 - _globals["_MSGWITHDRAWDELEGATORREWARD"]._serialized_start = 514 - _globals["_MSGWITHDRAWDELEGATORREWARD"]._serialized_end = 768 - _globals["_MSGWITHDRAWDELEGATORREWARDRESPONSE"]._serialized_start = 771 - _globals["_MSGWITHDRAWDELEGATORREWARDRESPONSE"]._serialized_end = 930 - _globals["_MSGWITHDRAWVALIDATORCOMMISSION"]._serialized_start = 933 - _globals["_MSGWITHDRAWVALIDATORCOMMISSION"]._serialized_end = 1117 - _globals["_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE"]._serialized_start = 1120 - _globals["_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE"]._serialized_end = 1283 - _globals["_MSGFUNDCOMMUNITYPOOL"]._serialized_start = 1286 - _globals["_MSGFUNDCOMMUNITYPOOL"]._serialized_end = 1547 - _globals["_MSGFUNDCOMMUNITYPOOLRESPONSE"]._serialized_start = 1549 - _globals["_MSGFUNDCOMMUNITYPOOLRESPONSE"]._serialized_end = 1579 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 1582 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 1787 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1789 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1814 - _globals["_MSGCOMMUNITYPOOLSPEND"]._serialized_start = 1817 - _globals["_MSGCOMMUNITYPOOLSPEND"]._serialized_end = 2108 - _globals["_MSGCOMMUNITYPOOLSPENDRESPONSE"]._serialized_start = 2110 - _globals["_MSGCOMMUNITYPOOLSPENDRESPONSE"]._serialized_end = 2141 - _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"]._serialized_start = 2144 - _globals["_MSGDEPOSITVALIDATORREWARDSPOOL"]._serialized_end = 2501 - _globals["_MSGDEPOSITVALIDATORREWARDSPOOLRESPONSE"]._serialized_start = 2503 - _globals["_MSGDEPOSITVALIDATORREWARDSPOOLRESPONSE"]._serialized_end = 2543 - _globals["_MSG"]._serialized_start = 2546 - _globals["_MSG"]._serialized_end = 3550 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.distribution.v1beta1B\007TxProtoP\001Z1github.com/cosmos/cosmos-sdk/x/distribution/types\242\002\003CDX\252\002\033Cosmos.Distribution.V1beta1\312\002\033Cosmos\\Distribution\\V1beta1\342\002\'Cosmos\\Distribution\\V1beta1\\GPBMetadata\352\002\035Cosmos::Distribution::V1beta1\250\342\036\001' + _globals['_MSGSETWITHDRAWADDRESS'].fields_by_name['delegator_address']._loaded_options = None + _globals['_MSGSETWITHDRAWADDRESS'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSETWITHDRAWADDRESS'].fields_by_name['withdraw_address']._loaded_options = None + _globals['_MSGSETWITHDRAWADDRESS'].fields_by_name['withdraw_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSETWITHDRAWADDRESS']._loaded_options = None + _globals['_MSGSETWITHDRAWADDRESS']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*#cosmos-sdk/MsgModifyWithdrawAddress' + _globals['_MSGWITHDRAWDELEGATORREWARD'].fields_by_name['delegator_address']._loaded_options = None + _globals['_MSGWITHDRAWDELEGATORREWARD'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGWITHDRAWDELEGATORREWARD'].fields_by_name['validator_address']._loaded_options = None + _globals['_MSGWITHDRAWDELEGATORREWARD'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGWITHDRAWDELEGATORREWARD']._loaded_options = None + _globals['_MSGWITHDRAWDELEGATORREWARD']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*&cosmos-sdk/MsgWithdrawDelegationReward' + _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE'].fields_by_name['amount']._loaded_options = None + _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGWITHDRAWVALIDATORCOMMISSION'].fields_by_name['validator_address']._loaded_options = None + _globals['_MSGWITHDRAWVALIDATORCOMMISSION'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._loaded_options = None + _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*#cosmos-sdk/MsgWithdrawValCommission' + _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE'].fields_by_name['amount']._loaded_options = None + _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGFUNDCOMMUNITYPOOL'].fields_by_name['amount']._loaded_options = None + _globals['_MSGFUNDCOMMUNITYPOOL'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGFUNDCOMMUNITYPOOL'].fields_by_name['depositor']._loaded_options = None + _globals['_MSGFUNDCOMMUNITYPOOL'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGFUNDCOMMUNITYPOOL']._loaded_options = None + _globals['_MSGFUNDCOMMUNITYPOOL']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\tdepositor\212\347\260*\037cosmos-sdk/MsgFundCommunityPool' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\'cosmos-sdk/distribution/MsgUpdateParams' + _globals['_MSGCOMMUNITYPOOLSPEND'].fields_by_name['authority']._loaded_options = None + _globals['_MSGCOMMUNITYPOOLSPEND'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCOMMUNITYPOOLSPEND'].fields_by_name['amount']._loaded_options = None + _globals['_MSGCOMMUNITYPOOLSPEND'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGCOMMUNITYPOOLSPEND']._loaded_options = None + _globals['_MSGCOMMUNITYPOOLSPEND']._serialized_options = b'\202\347\260*\tauthority\212\347\260*&cosmos-sdk/distr/MsgCommunityPoolSpend' + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['depositor']._loaded_options = None + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['validator_address']._loaded_options = None + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['amount']._loaded_options = None + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL']._loaded_options = None + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\tdepositor\212\347\260*%cosmos-sdk/distr/MsgDepositValRewards' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGSETWITHDRAWADDRESS']._serialized_start=243 + _globals['_MSGSETWITHDRAWADDRESS']._serialized_end=478 + _globals['_MSGSETWITHDRAWADDRESSRESPONSE']._serialized_start=480 + _globals['_MSGSETWITHDRAWADDRESSRESPONSE']._serialized_end=511 + _globals['_MSGWITHDRAWDELEGATORREWARD']._serialized_start=514 + _globals['_MSGWITHDRAWDELEGATORREWARD']._serialized_end=768 + _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE']._serialized_start=771 + _globals['_MSGWITHDRAWDELEGATORREWARDRESPONSE']._serialized_end=930 + _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._serialized_start=933 + _globals['_MSGWITHDRAWVALIDATORCOMMISSION']._serialized_end=1117 + _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE']._serialized_start=1120 + _globals['_MSGWITHDRAWVALIDATORCOMMISSIONRESPONSE']._serialized_end=1283 + _globals['_MSGFUNDCOMMUNITYPOOL']._serialized_start=1286 + _globals['_MSGFUNDCOMMUNITYPOOL']._serialized_end=1547 + _globals['_MSGFUNDCOMMUNITYPOOLRESPONSE']._serialized_start=1549 + _globals['_MSGFUNDCOMMUNITYPOOLRESPONSE']._serialized_end=1579 + _globals['_MSGUPDATEPARAMS']._serialized_start=1582 + _globals['_MSGUPDATEPARAMS']._serialized_end=1787 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1789 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1814 + _globals['_MSGCOMMUNITYPOOLSPEND']._serialized_start=1817 + _globals['_MSGCOMMUNITYPOOLSPEND']._serialized_end=2108 + _globals['_MSGCOMMUNITYPOOLSPENDRESPONSE']._serialized_start=2110 + _globals['_MSGCOMMUNITYPOOLSPENDRESPONSE']._serialized_end=2141 + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL']._serialized_start=2144 + _globals['_MSGDEPOSITVALIDATORREWARDSPOOL']._serialized_end=2501 + _globals['_MSGDEPOSITVALIDATORREWARDSPOOLRESPONSE']._serialized_start=2503 + _globals['_MSGDEPOSITVALIDATORREWARDSPOOLRESPONSE']._serialized_end=2543 + _globals['_MSG']._serialized_start=2546 + _globals['_MSG']._serialized_end=3550 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2_grpc.py index 57fa99bb..57ae313a 100644 --- a/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/distribution/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the distribution Msg service.""" + """Msg defines the distribution Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,83 +16,77 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.SetWithdrawAddress = channel.unary_unary( - "/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddress.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddressResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddress.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddressResponse.FromString, + _registered_method=True) self.WithdrawDelegatorReward = channel.unary_unary( - "/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorReward.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorRewardResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorReward.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorRewardResponse.FromString, + _registered_method=True) self.WithdrawValidatorCommission = channel.unary_unary( - "/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommission.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommissionResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommission.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommissionResponse.FromString, + _registered_method=True) self.FundCommunityPool = channel.unary_unary( - "/cosmos.distribution.v1beta1.Msg/FundCommunityPool", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPool.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPoolResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Msg/FundCommunityPool', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPool.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPoolResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( - "/cosmos.distribution.v1beta1.Msg/UpdateParams", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Msg/UpdateParams', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) self.CommunityPoolSpend = channel.unary_unary( - "/cosmos.distribution.v1beta1.Msg/CommunityPoolSpend", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpend.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpendResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Msg/CommunityPoolSpend', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpend.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpendResponse.FromString, + _registered_method=True) self.DepositValidatorRewardsPool = channel.unary_unary( - "/cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool", - request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPool.SerializeToString, - response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPoolResponse.FromString, - _registered_method=True, - ) + '/cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool', + request_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPool.SerializeToString, + response_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPoolResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the distribution Msg service.""" + """Msg defines the distribution Msg service. + """ def SetWithdrawAddress(self, request, context): """SetWithdrawAddress defines a method to change the withdraw address for a delegator (or validator self-delegation). """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def WithdrawDelegatorReward(self, request, context): """WithdrawDelegatorReward defines a method to withdraw rewards of delegator from a single validator. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def WithdrawValidatorCommission(self, request, context): """WithdrawValidatorCommission defines a method to withdraw the full commission to the validator address. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def FundCommunityPool(self, request, context): """FundCommunityPool defines a method to allow an account to directly fund the community pool. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateParams(self, request, context): """UpdateParams defines a governance operation for updating the x/distribution @@ -100,8 +95,8 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CommunityPoolSpend(self, request, context): """CommunityPoolSpend defines a governance operation for sending tokens from @@ -112,8 +107,8 @@ def CommunityPoolSpend(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DepositValidatorRewardsPool(self, request, context): """DepositValidatorRewardsPool defines a method to provide additional rewards @@ -122,74 +117,74 @@ def DepositValidatorRewardsPool(self, request, context): Since: cosmos-sdk 0.50 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "SetWithdrawAddress": grpc.unary_unary_rpc_method_handler( - servicer.SetWithdrawAddress, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddress.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddressResponse.SerializeToString, - ), - "WithdrawDelegatorReward": grpc.unary_unary_rpc_method_handler( - servicer.WithdrawDelegatorReward, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorReward.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorRewardResponse.SerializeToString, - ), - "WithdrawValidatorCommission": grpc.unary_unary_rpc_method_handler( - servicer.WithdrawValidatorCommission, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommission.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommissionResponse.SerializeToString, - ), - "FundCommunityPool": grpc.unary_unary_rpc_method_handler( - servicer.FundCommunityPool, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPool.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPoolResponse.SerializeToString, - ), - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - "CommunityPoolSpend": grpc.unary_unary_rpc_method_handler( - servicer.CommunityPoolSpend, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpend.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpendResponse.SerializeToString, - ), - "DepositValidatorRewardsPool": grpc.unary_unary_rpc_method_handler( - servicer.DepositValidatorRewardsPool, - request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPool.FromString, - response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPoolResponse.SerializeToString, - ), + 'SetWithdrawAddress': grpc.unary_unary_rpc_method_handler( + servicer.SetWithdrawAddress, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddress.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddressResponse.SerializeToString, + ), + 'WithdrawDelegatorReward': grpc.unary_unary_rpc_method_handler( + servicer.WithdrawDelegatorReward, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorReward.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorRewardResponse.SerializeToString, + ), + 'WithdrawValidatorCommission': grpc.unary_unary_rpc_method_handler( + servicer.WithdrawValidatorCommission, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommission.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommissionResponse.SerializeToString, + ), + 'FundCommunityPool': grpc.unary_unary_rpc_method_handler( + servicer.FundCommunityPool, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPool.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPoolResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'CommunityPoolSpend': grpc.unary_unary_rpc_method_handler( + servicer.CommunityPoolSpend, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpend.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpendResponse.SerializeToString, + ), + 'DepositValidatorRewardsPool': grpc.unary_unary_rpc_method_handler( + servicer.DepositValidatorRewardsPool, + request_deserializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPool.FromString, + response_serializer=cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPoolResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.distribution.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.distribution.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.distribution.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.distribution.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the distribution Msg service.""" + """Msg defines the distribution Msg service. + """ @staticmethod - def SetWithdrawAddress( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SetWithdrawAddress(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress", + '/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress', cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddress.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgSetWithdrawAddressResponse.FromString, options, @@ -200,26 +195,23 @@ def SetWithdrawAddress( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def WithdrawDelegatorReward( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def WithdrawDelegatorReward(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward", + '/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward', cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorReward.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawDelegatorRewardResponse.FromString, options, @@ -230,26 +222,23 @@ def WithdrawDelegatorReward( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def WithdrawValidatorCommission( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def WithdrawValidatorCommission(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission", + '/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission', cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommission.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgWithdrawValidatorCommissionResponse.FromString, options, @@ -260,26 +249,23 @@ def WithdrawValidatorCommission( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def FundCommunityPool( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def FundCommunityPool(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Msg/FundCommunityPool", + '/cosmos.distribution.v1beta1.Msg/FundCommunityPool', cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPool.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgFundCommunityPoolResponse.FromString, options, @@ -290,26 +276,23 @@ def FundCommunityPool( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Msg/UpdateParams", + '/cosmos.distribution.v1beta1.Msg/UpdateParams', cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -320,26 +303,23 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CommunityPoolSpend( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CommunityPoolSpend(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Msg/CommunityPoolSpend", + '/cosmos.distribution.v1beta1.Msg/CommunityPoolSpend', cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpend.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgCommunityPoolSpendResponse.FromString, options, @@ -350,26 +330,23 @@ def CommunityPoolSpend( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DepositValidatorRewardsPool( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DepositValidatorRewardsPool(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool", + '/cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool', cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPool.SerializeToString, cosmos_dot_distribution_dot_v1beta1_dot_tx__pb2.MsgDepositValidatorRewardsPoolResponse.FromString, options, @@ -380,5 +357,4 @@ def DepositValidatorRewardsPool( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py b/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py index 1150908a..8cf95a40 100644 --- a/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/evidence/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&cosmos/evidence/module/v1/module.proto\x12\x19\x63osmos.evidence.module.v1\x1a cosmos/app/v1alpha1/module.proto")\n\x06Module:\x1f\xba\xc0\x96\xda\x01\x19\n\x17\x63osmossdk.io/x/evidenceB\xb3\x01\n\x1d\x63om.cosmos.evidence.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x45M\xaa\x02\x19\x43osmos.Evidence.Module.V1\xca\x02\x19\x43osmos\\Evidence\\Module\\V1\xe2\x02%Cosmos\\Evidence\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Evidence::Module::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/evidence/module/v1/module.proto\x12\x19\x63osmos.evidence.module.v1\x1a cosmos/app/v1alpha1/module.proto\")\n\x06Module:\x1f\xba\xc0\x96\xda\x01\x19\n\x17\x63osmossdk.io/x/evidenceB\xb3\x01\n\x1d\x63om.cosmos.evidence.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x45M\xaa\x02\x19\x43osmos.Evidence.Module.V1\xca\x02\x19\x43osmos\\Evidence\\Module\\V1\xe2\x02%Cosmos\\Evidence\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Evidence::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.evidence.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\035com.cosmos.evidence.module.v1B\013ModuleProtoP\001\242\002\003CEM\252\002\031Cosmos.Evidence.Module.V1\312\002\031Cosmos\\Evidence\\Module\\V1\342\002%Cosmos\\Evidence\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Evidence::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001\031\n\027cosmossdk.io/x/evidence" - _globals["_MODULE"]._serialized_start = 103 - _globals["_MODULE"]._serialized_end = 144 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.evidence.module.v1B\013ModuleProtoP\001\242\002\003CEM\252\002\031Cosmos.Evidence.Module.V1\312\002\031Cosmos\\Evidence\\Module\\V1\342\002%Cosmos\\Evidence\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Evidence::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\031\n\027cosmossdk.io/x/evidence' + _globals['_MODULE']._serialized_start=103 + _globals['_MODULE']._serialized_end=144 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/evidence/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/evidence/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/evidence/v1beta1/evidence_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2.py index 6f9ac767..69b76c34 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,30 +18,20 @@ from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&cosmos/evidence/v1beta1/evidence.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto"\xe8\x01\n\x0c\x45quivocation\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12=\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12\x14\n\x05power\x18\x03 \x01(\x03R\x05power\x12\x45\n\x11\x63onsensus_address\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x63onsensusAddress:$\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x8a\xe7\xb0*\x17\x63osmos-sdk/EquivocationB\xcd\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\rEvidenceProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/evidence/v1beta1/evidence.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xe8\x01\n\x0c\x45quivocation\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12=\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12\x14\n\x05power\x18\x03 \x01(\x03R\x05power\x12\x45\n\x11\x63onsensus_address\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x63onsensusAddress:$\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x8a\xe7\xb0*\x17\x63osmos-sdk/EquivocationB\xcd\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\rEvidenceProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.evidence.v1beta1.evidence_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.evidence_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.cosmos.evidence.v1beta1B\rEvidenceProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1\250\342\036\001" - ) - _globals["_EQUIVOCATION"].fields_by_name["time"]._loaded_options = None - _globals["_EQUIVOCATION"].fields_by_name[ - "time" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_EQUIVOCATION"].fields_by_name["consensus_address"]._loaded_options = None - _globals["_EQUIVOCATION"].fields_by_name[ - "consensus_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_EQUIVOCATION"]._loaded_options = None - _globals["_EQUIVOCATION"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\212\347\260*\027cosmos-sdk/Equivocation" - ) - _globals["_EQUIVOCATION"]._serialized_start = 169 - _globals["_EQUIVOCATION"]._serialized_end = 401 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.evidence.v1beta1B\rEvidenceProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1\250\342\036\001' + _globals['_EQUIVOCATION'].fields_by_name['time']._loaded_options = None + _globals['_EQUIVOCATION'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_EQUIVOCATION'].fields_by_name['consensus_address']._loaded_options = None + _globals['_EQUIVOCATION'].fields_by_name['consensus_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EQUIVOCATION']._loaded_options = None + _globals['_EQUIVOCATION']._serialized_options = b'\210\240\037\000\350\240\037\000\212\347\260*\027cosmos-sdk/Equivocation' + _globals['_EQUIVOCATION']._serialized_start=169 + _globals['_EQUIVOCATION']._serialized_end=401 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2_grpc.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/evidence_pb2_grpc.py @@ -1,3 +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/cosmos/evidence/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2.py index 92c5c30b..8e90b025 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,18 +15,14 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%cosmos/evidence/v1beta1/genesis.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x19google/protobuf/any.proto"@\n\x0cGenesisState\x12\x30\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x65videnceB\xc8\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\x0cGenesisProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/evidence/v1beta1/genesis.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x19google/protobuf/any.proto\"@\n\x0cGenesisState\x12\x30\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x65videnceB\xc8\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\x0cGenesisProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.evidence.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.cosmos.evidence.v1beta1B\014GenesisProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1" - ) - _globals["_GENESISSTATE"]._serialized_start = 93 - _globals["_GENESISSTATE"]._serialized_end = 157 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.evidence.v1beta1B\014GenesisProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1' + _globals['_GENESISSTATE']._serialized_start=93 + _globals['_GENESISSTATE']._serialized_end=157 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/genesis_pb2_grpc.py @@ -1,3 +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/cosmos/evidence/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2.py index 1378fd9e..1879ef40 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2.py @@ -7,49 +7,38 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#cosmos/evidence/v1beta1/query.proto\x12\x17\x63osmos.evidence.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto"S\n\x14QueryEvidenceRequest\x12\'\n\revidence_hash\x18\x01 \x01(\x0c\x42\x02\x18\x01R\x0c\x65videnceHash\x12\x12\n\x04hash\x18\x02 \x01(\tR\x04hash"I\n\x15QueryEvidenceResponse\x12\x30\n\x08\x65vidence\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x08\x65vidence"a\n\x17QueryAllEvidenceRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x95\x01\n\x18QueryAllEvidenceResponse\x12\x30\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x65vidence\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xc5\x02\n\x05Query\x12\x9b\x01\n\x08\x45vidence\x12-.cosmos.evidence.v1beta1.QueryEvidenceRequest\x1a..cosmos.evidence.v1beta1.QueryEvidenceResponse"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/evidence/v1beta1/evidence/{hash}\x12\x9d\x01\n\x0b\x41llEvidence\x12\x30.cosmos.evidence.v1beta1.QueryAllEvidenceRequest\x1a\x31.cosmos.evidence.v1beta1.QueryAllEvidenceResponse")\x82\xd3\xe4\x93\x02#\x12!/cosmos/evidence/v1beta1/evidenceB\xc6\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\nQueryProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/evidence/v1beta1/query.proto\x12\x17\x63osmos.evidence.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\"S\n\x14QueryEvidenceRequest\x12\'\n\revidence_hash\x18\x01 \x01(\x0c\x42\x02\x18\x01R\x0c\x65videnceHash\x12\x12\n\x04hash\x18\x02 \x01(\tR\x04hash\"I\n\x15QueryEvidenceResponse\x12\x30\n\x08\x65vidence\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x08\x65vidence\"a\n\x17QueryAllEvidenceRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x95\x01\n\x18QueryAllEvidenceResponse\x12\x30\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x65vidence\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xc5\x02\n\x05Query\x12\x9b\x01\n\x08\x45vidence\x12-.cosmos.evidence.v1beta1.QueryEvidenceRequest\x1a..cosmos.evidence.v1beta1.QueryEvidenceResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/evidence/v1beta1/evidence/{hash}\x12\x9d\x01\n\x0b\x41llEvidence\x12\x30.cosmos.evidence.v1beta1.QueryAllEvidenceRequest\x1a\x31.cosmos.evidence.v1beta1.QueryAllEvidenceResponse\")\x82\xd3\xe4\x93\x02#\x12!/cosmos/evidence/v1beta1/evidenceB\xc6\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\nQueryProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.evidence.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.cosmos.evidence.v1beta1B\nQueryProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1" - ) - _globals["_QUERYEVIDENCEREQUEST"].fields_by_name["evidence_hash"]._loaded_options = None - _globals["_QUERYEVIDENCEREQUEST"].fields_by_name["evidence_hash"]._serialized_options = b"\030\001" - _globals["_QUERY"].methods_by_name["Evidence"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Evidence" - ]._serialized_options = b"\202\323\344\223\002*\022(/cosmos/evidence/v1beta1/evidence/{hash}" - _globals["_QUERY"].methods_by_name["AllEvidence"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AllEvidence" - ]._serialized_options = b"\202\323\344\223\002#\022!/cosmos/evidence/v1beta1/evidence" - _globals["_QUERYEVIDENCEREQUEST"]._serialized_start = 165 - _globals["_QUERYEVIDENCEREQUEST"]._serialized_end = 248 - _globals["_QUERYEVIDENCERESPONSE"]._serialized_start = 250 - _globals["_QUERYEVIDENCERESPONSE"]._serialized_end = 323 - _globals["_QUERYALLEVIDENCEREQUEST"]._serialized_start = 325 - _globals["_QUERYALLEVIDENCEREQUEST"]._serialized_end = 422 - _globals["_QUERYALLEVIDENCERESPONSE"]._serialized_start = 425 - _globals["_QUERYALLEVIDENCERESPONSE"]._serialized_end = 574 - _globals["_QUERY"]._serialized_start = 577 - _globals["_QUERY"]._serialized_end = 902 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.evidence.v1beta1B\nQueryProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1' + _globals['_QUERYEVIDENCEREQUEST'].fields_by_name['evidence_hash']._loaded_options = None + _globals['_QUERYEVIDENCEREQUEST'].fields_by_name['evidence_hash']._serialized_options = b'\030\001' + _globals['_QUERY'].methods_by_name['Evidence']._loaded_options = None + _globals['_QUERY'].methods_by_name['Evidence']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/evidence/v1beta1/evidence/{hash}' + _globals['_QUERY'].methods_by_name['AllEvidence']._loaded_options = None + _globals['_QUERY'].methods_by_name['AllEvidence']._serialized_options = b'\202\323\344\223\002#\022!/cosmos/evidence/v1beta1/evidence' + _globals['_QUERYEVIDENCEREQUEST']._serialized_start=165 + _globals['_QUERYEVIDENCEREQUEST']._serialized_end=248 + _globals['_QUERYEVIDENCERESPONSE']._serialized_start=250 + _globals['_QUERYEVIDENCERESPONSE']._serialized_end=323 + _globals['_QUERYALLEVIDENCEREQUEST']._serialized_start=325 + _globals['_QUERYALLEVIDENCEREQUEST']._serialized_end=422 + _globals['_QUERYALLEVIDENCERESPONSE']._serialized_start=425 + _globals['_QUERYALLEVIDENCERESPONSE']._serialized_end=574 + _globals['_QUERY']._serialized_start=577 + _globals['_QUERY']._serialized_end=902 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2_grpc.py index b77805fc..879e2663 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -15,74 +16,75 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Evidence = channel.unary_unary( - "/cosmos.evidence.v1beta1.Query/Evidence", - request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceRequest.SerializeToString, - response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceResponse.FromString, - _registered_method=True, - ) + '/cosmos.evidence.v1beta1.Query/Evidence', + request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceRequest.SerializeToString, + response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceResponse.FromString, + _registered_method=True) self.AllEvidence = channel.unary_unary( - "/cosmos.evidence.v1beta1.Query/AllEvidence", - request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceRequest.SerializeToString, - response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceResponse.FromString, - _registered_method=True, - ) + '/cosmos.evidence.v1beta1.Query/AllEvidence', + request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceRequest.SerializeToString, + response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def Evidence(self, request, context): - """Evidence queries evidence based on evidence hash.""" + """Evidence queries evidence based on evidence hash. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AllEvidence(self, request, context): - """AllEvidence queries all evidence.""" + """AllEvidence queries all evidence. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Evidence": grpc.unary_unary_rpc_method_handler( - servicer.Evidence, - request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceRequest.FromString, - response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceResponse.SerializeToString, - ), - "AllEvidence": grpc.unary_unary_rpc_method_handler( - servicer.AllEvidence, - request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceRequest.FromString, - response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceResponse.SerializeToString, - ), + 'Evidence': grpc.unary_unary_rpc_method_handler( + servicer.Evidence, + request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceRequest.FromString, + response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceResponse.SerializeToString, + ), + 'AllEvidence': grpc.unary_unary_rpc_method_handler( + servicer.AllEvidence, + request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceRequest.FromString, + response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.evidence.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.evidence.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.evidence.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.evidence.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ @staticmethod - def Evidence( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Evidence(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.evidence.v1beta1.Query/Evidence", + '/cosmos.evidence.v1beta1.Query/Evidence', cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceRequest.SerializeToString, cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryEvidenceResponse.FromString, options, @@ -93,26 +95,23 @@ def Evidence( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def AllEvidence( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AllEvidence(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.evidence.v1beta1.Query/AllEvidence", + '/cosmos.evidence.v1beta1.Query/AllEvidence', cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceRequest.SerializeToString, cosmos_dot_evidence_dot_v1beta1_dot_query__pb2.QueryAllEvidenceResponse.FromString, options, @@ -123,5 +122,4 @@ def AllEvidence( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py index eae91b6a..41809b0f 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,36 +19,26 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n cosmos/evidence/v1beta1/tx.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xdc\x01\n\x11MsgSubmitEvidence\x12\x36\n\tsubmitter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tsubmitter\x12V\n\x08\x65vidence\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB$\xca\xb4- cosmos.evidence.v1beta1.EvidenceR\x08\x65vidence:7\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tsubmitter\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSubmitEvidence"/\n\x19MsgSubmitEvidenceResponse\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash2~\n\x03Msg\x12p\n\x0eSubmitEvidence\x12*.cosmos.evidence.v1beta1.MsgSubmitEvidence\x1a\x32.cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc7\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\x07TxProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/evidence/v1beta1/tx.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xdc\x01\n\x11MsgSubmitEvidence\x12\x36\n\tsubmitter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tsubmitter\x12V\n\x08\x65vidence\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB$\xca\xb4- cosmos.evidence.v1beta1.EvidenceR\x08\x65vidence:7\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\tsubmitter\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSubmitEvidence\"/\n\x19MsgSubmitEvidenceResponse\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash2~\n\x03Msg\x12p\n\x0eSubmitEvidence\x12*.cosmos.evidence.v1beta1.MsgSubmitEvidence\x1a\x32.cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xc7\x01\n\x1b\x63om.cosmos.evidence.v1beta1B\x07TxProtoP\x01Z\x1d\x63osmossdk.io/x/evidence/types\xa2\x02\x03\x43\x45X\xaa\x02\x17\x43osmos.Evidence.V1beta1\xca\x02\x17\x43osmos\\Evidence\\V1beta1\xe2\x02#Cosmos\\Evidence\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Evidence::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.evidence.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.cosmos.evidence.v1beta1B\007TxProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1\250\342\036\001" - ) - _globals["_MSGSUBMITEVIDENCE"].fields_by_name["submitter"]._loaded_options = None - _globals["_MSGSUBMITEVIDENCE"].fields_by_name[ - "submitter" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSUBMITEVIDENCE"].fields_by_name["evidence"]._loaded_options = None - _globals["_MSGSUBMITEVIDENCE"].fields_by_name[ - "evidence" - ]._serialized_options = b"\312\264- cosmos.evidence.v1beta1.Evidence" - _globals["_MSGSUBMITEVIDENCE"]._loaded_options = None - _globals["_MSGSUBMITEVIDENCE"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\tsubmitter\212\347\260*\034cosmos-sdk/MsgSubmitEvidence" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGSUBMITEVIDENCE"]._serialized_start = 182 - _globals["_MSGSUBMITEVIDENCE"]._serialized_end = 402 - _globals["_MSGSUBMITEVIDENCERESPONSE"]._serialized_start = 404 - _globals["_MSGSUBMITEVIDENCERESPONSE"]._serialized_end = 451 - _globals["_MSG"]._serialized_start = 453 - _globals["_MSG"]._serialized_end = 579 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.evidence.v1beta1B\007TxProtoP\001Z\035cosmossdk.io/x/evidence/types\242\002\003CEX\252\002\027Cosmos.Evidence.V1beta1\312\002\027Cosmos\\Evidence\\V1beta1\342\002#Cosmos\\Evidence\\V1beta1\\GPBMetadata\352\002\031Cosmos::Evidence::V1beta1\250\342\036\001' + _globals['_MSGSUBMITEVIDENCE'].fields_by_name['submitter']._loaded_options = None + _globals['_MSGSUBMITEVIDENCE'].fields_by_name['submitter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSUBMITEVIDENCE'].fields_by_name['evidence']._loaded_options = None + _globals['_MSGSUBMITEVIDENCE'].fields_by_name['evidence']._serialized_options = b'\312\264- cosmos.evidence.v1beta1.Evidence' + _globals['_MSGSUBMITEVIDENCE']._loaded_options = None + _globals['_MSGSUBMITEVIDENCE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\tsubmitter\212\347\260*\034cosmos-sdk/MsgSubmitEvidence' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGSUBMITEVIDENCE']._serialized_start=182 + _globals['_MSGSUBMITEVIDENCE']._serialized_end=402 + _globals['_MSGSUBMITEVIDENCERESPONSE']._serialized_start=404 + _globals['_MSGSUBMITEVIDENCERESPONSE']._serialized_end=451 + _globals['_MSG']._serialized_start=453 + _globals['_MSG']._serialized_end=579 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2_grpc.py index ab4cc46f..404c0f89 100644 --- a/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/evidence/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the evidence Msg service.""" + """Msg defines the evidence Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,59 +16,59 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.SubmitEvidence = channel.unary_unary( - "/cosmos.evidence.v1beta1.Msg/SubmitEvidence", - request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidence.SerializeToString, - response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidenceResponse.FromString, - _registered_method=True, - ) + '/cosmos.evidence.v1beta1.Msg/SubmitEvidence', + request_serializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidence.SerializeToString, + response_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidenceResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the evidence Msg service.""" + """Msg defines the evidence Msg service. + """ def SubmitEvidence(self, request, context): """SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or counterfactual signing. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "SubmitEvidence": grpc.unary_unary_rpc_method_handler( - servicer.SubmitEvidence, - request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidence.FromString, - response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidenceResponse.SerializeToString, - ), + 'SubmitEvidence': grpc.unary_unary_rpc_method_handler( + servicer.SubmitEvidence, + request_deserializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidence.FromString, + response_serializer=cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidenceResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.evidence.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.evidence.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.evidence.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.evidence.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the evidence Msg service.""" + """Msg defines the evidence Msg service. + """ @staticmethod - def SubmitEvidence( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SubmitEvidence(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.evidence.v1beta1.Msg/SubmitEvidence", + '/cosmos.evidence.v1beta1.Msg/SubmitEvidence', cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidence.SerializeToString, cosmos_dot_evidence_dot_v1beta1_dot_tx__pb2.MsgSubmitEvidenceResponse.FromString, options, @@ -78,5 +79,4 @@ def SubmitEvidence( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py b/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py index 5e36025b..ea894938 100644 --- a/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&cosmos/feegrant/module/v1/module.proto\x12\x19\x63osmos.feegrant.module.v1\x1a cosmos/app/v1alpha1/module.proto")\n\x06Module:\x1f\xba\xc0\x96\xda\x01\x19\n\x17\x63osmossdk.io/x/feegrantB\xb3\x01\n\x1d\x63om.cosmos.feegrant.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x46M\xaa\x02\x19\x43osmos.Feegrant.Module.V1\xca\x02\x19\x43osmos\\Feegrant\\Module\\V1\xe2\x02%Cosmos\\Feegrant\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Feegrant::Module::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/feegrant/module/v1/module.proto\x12\x19\x63osmos.feegrant.module.v1\x1a cosmos/app/v1alpha1/module.proto\")\n\x06Module:\x1f\xba\xc0\x96\xda\x01\x19\n\x17\x63osmossdk.io/x/feegrantB\xb3\x01\n\x1d\x63om.cosmos.feegrant.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43\x46M\xaa\x02\x19\x43osmos.Feegrant.Module.V1\xca\x02\x19\x43osmos\\Feegrant\\Module\\V1\xe2\x02%Cosmos\\Feegrant\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Feegrant::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.feegrant.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\035com.cosmos.feegrant.module.v1B\013ModuleProtoP\001\242\002\003CFM\252\002\031Cosmos.Feegrant.Module.V1\312\002\031Cosmos\\Feegrant\\Module\\V1\342\002%Cosmos\\Feegrant\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Feegrant::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001\031\n\027cosmossdk.io/x/feegrant" - _globals["_MODULE"]._serialized_start = 103 - _globals["_MODULE"]._serialized_end = 144 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.feegrant.module.v1B\013ModuleProtoP\001\242\002\003CFM\252\002\031Cosmos.Feegrant.Module.V1\312\002\031Cosmos\\Feegrant\\Module\\V1\342\002%Cosmos\\Feegrant\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Feegrant::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\031\n\027cosmossdk.io/x/feegrant' + _globals['_MODULE']._serialized_start=103 + _globals['_MODULE']._serialized_end=144 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/feegrant/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/feegrant/v1beta1/feegrant_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2.py index 2e401b7d..66be48b5 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2.py @@ -7,7 +7,6 @@ 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() @@ -22,72 +21,48 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&cosmos/feegrant/v1beta1/feegrant.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto"\xa0\x02\n\x0e\x42\x61sicAllowance\x12\x82\x01\n\x0bspend_limit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\nspendLimit\x12@\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nexpiration:G\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x19\x63osmos-sdk/BasicAllowance"\xd9\x04\n\x11PeriodicAllowance\x12H\n\x05\x62\x61sic\x18\x01 \x01(\x0b\x32\'.cosmos.feegrant.v1beta1.BasicAllowanceB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05\x62\x61sic\x12@\n\x06period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x06period\x12\x8f\x01\n\x12period_spend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x10periodSpendLimit\x12\x8b\x01\n\x10period_can_spend\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0eperiodCanSpend\x12L\n\x0cperiod_reset\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0bperiodReset:J\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x1c\x63osmos-sdk/PeriodicAllowance"\xf1\x01\n\x13\x41llowedMsgAllowance\x12]\n\tallowance\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowance\x12)\n\x10\x61llowed_messages\x18\x02 \x03(\tR\x0f\x61llowedMessages:P\x88\xa0\x1f\x00\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x1e\x63osmos-sdk/AllowedMsgAllowance"\xce\x01\n\x05Grant\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12]\n\tallowance\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowanceB\xc3\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\rFeegrantProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/feegrant/v1beta1/feegrant.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\"\xa0\x02\n\x0e\x42\x61sicAllowance\x12\x82\x01\n\x0bspend_limit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\nspendLimit\x12@\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nexpiration:G\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x19\x63osmos-sdk/BasicAllowance\"\xd9\x04\n\x11PeriodicAllowance\x12H\n\x05\x62\x61sic\x18\x01 \x01(\x0b\x32\'.cosmos.feegrant.v1beta1.BasicAllowanceB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05\x62\x61sic\x12@\n\x06period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x06period\x12\x8f\x01\n\x12period_spend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x10periodSpendLimit\x12\x8b\x01\n\x10period_can_spend\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0eperiodCanSpend\x12L\n\x0cperiod_reset\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0bperiodReset:J\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x1c\x63osmos-sdk/PeriodicAllowance\"\xf1\x01\n\x13\x41llowedMsgAllowance\x12]\n\tallowance\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowance\x12)\n\x10\x61llowed_messages\x18\x02 \x03(\tR\x0f\x61llowedMessages:P\x88\xa0\x1f\x00\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceI\x8a\xe7\xb0*\x1e\x63osmos-sdk/AllowedMsgAllowance\"\xce\x01\n\x05Grant\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12]\n\tallowance\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowanceB\xc3\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\rFeegrantProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.feegrant.v1beta1.feegrant_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.feegrant_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.cosmos.feegrant.v1beta1B\rFeegrantProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1" - ) - _globals["_BASICALLOWANCE"].fields_by_name["spend_limit"]._loaded_options = None - _globals["_BASICALLOWANCE"].fields_by_name[ - "spend_limit" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_BASICALLOWANCE"].fields_by_name["expiration"]._loaded_options = None - _globals["_BASICALLOWANCE"].fields_by_name["expiration"]._serialized_options = b"\220\337\037\001" - _globals["_BASICALLOWANCE"]._loaded_options = None - _globals["_BASICALLOWANCE"]._serialized_options = ( - b"\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\031cosmos-sdk/BasicAllowance" - ) - _globals["_PERIODICALLOWANCE"].fields_by_name["basic"]._loaded_options = None - _globals["_PERIODICALLOWANCE"].fields_by_name["basic"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_PERIODICALLOWANCE"].fields_by_name["period"]._loaded_options = None - _globals["_PERIODICALLOWANCE"].fields_by_name[ - "period" - ]._serialized_options = b"\310\336\037\000\230\337\037\001\250\347\260*\001" - _globals["_PERIODICALLOWANCE"].fields_by_name["period_spend_limit"]._loaded_options = None - _globals["_PERIODICALLOWANCE"].fields_by_name[ - "period_spend_limit" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_PERIODICALLOWANCE"].fields_by_name["period_can_spend"]._loaded_options = None - _globals["_PERIODICALLOWANCE"].fields_by_name[ - "period_can_spend" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_PERIODICALLOWANCE"].fields_by_name["period_reset"]._loaded_options = None - _globals["_PERIODICALLOWANCE"].fields_by_name[ - "period_reset" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_PERIODICALLOWANCE"]._loaded_options = None - _globals["_PERIODICALLOWANCE"]._serialized_options = ( - b"\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\034cosmos-sdk/PeriodicAllowance" - ) - _globals["_ALLOWEDMSGALLOWANCE"].fields_by_name["allowance"]._loaded_options = None - _globals["_ALLOWEDMSGALLOWANCE"].fields_by_name[ - "allowance" - ]._serialized_options = b"\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI" - _globals["_ALLOWEDMSGALLOWANCE"]._loaded_options = None - _globals["_ALLOWEDMSGALLOWANCE"]._serialized_options = ( - b"\210\240\037\000\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\036cosmos-sdk/AllowedMsgAllowance" - ) - _globals["_GRANT"].fields_by_name["granter"]._loaded_options = None - _globals["_GRANT"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_GRANT"].fields_by_name["grantee"]._loaded_options = None - _globals["_GRANT"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_GRANT"].fields_by_name["allowance"]._loaded_options = None - _globals["_GRANT"].fields_by_name[ - "allowance" - ]._serialized_options = b"\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI" - _globals["_BASICALLOWANCE"]._serialized_start = 260 - _globals["_BASICALLOWANCE"]._serialized_end = 548 - _globals["_PERIODICALLOWANCE"]._serialized_start = 551 - _globals["_PERIODICALLOWANCE"]._serialized_end = 1152 - _globals["_ALLOWEDMSGALLOWANCE"]._serialized_start = 1155 - _globals["_ALLOWEDMSGALLOWANCE"]._serialized_end = 1396 - _globals["_GRANT"]._serialized_start = 1399 - _globals["_GRANT"]._serialized_end = 1605 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.feegrant.v1beta1B\rFeegrantProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1' + _globals['_BASICALLOWANCE'].fields_by_name['spend_limit']._loaded_options = None + _globals['_BASICALLOWANCE'].fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_BASICALLOWANCE'].fields_by_name['expiration']._loaded_options = None + _globals['_BASICALLOWANCE'].fields_by_name['expiration']._serialized_options = b'\220\337\037\001' + _globals['_BASICALLOWANCE']._loaded_options = None + _globals['_BASICALLOWANCE']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\031cosmos-sdk/BasicAllowance' + _globals['_PERIODICALLOWANCE'].fields_by_name['basic']._loaded_options = None + _globals['_PERIODICALLOWANCE'].fields_by_name['basic']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PERIODICALLOWANCE'].fields_by_name['period']._loaded_options = None + _globals['_PERIODICALLOWANCE'].fields_by_name['period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' + _globals['_PERIODICALLOWANCE'].fields_by_name['period_spend_limit']._loaded_options = None + _globals['_PERIODICALLOWANCE'].fields_by_name['period_spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_PERIODICALLOWANCE'].fields_by_name['period_can_spend']._loaded_options = None + _globals['_PERIODICALLOWANCE'].fields_by_name['period_can_spend']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_PERIODICALLOWANCE'].fields_by_name['period_reset']._loaded_options = None + _globals['_PERIODICALLOWANCE'].fields_by_name['period_reset']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_PERIODICALLOWANCE']._loaded_options = None + _globals['_PERIODICALLOWANCE']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\034cosmos-sdk/PeriodicAllowance' + _globals['_ALLOWEDMSGALLOWANCE'].fields_by_name['allowance']._loaded_options = None + _globals['_ALLOWEDMSGALLOWANCE'].fields_by_name['allowance']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI' + _globals['_ALLOWEDMSGALLOWANCE']._loaded_options = None + _globals['_ALLOWEDMSGALLOWANCE']._serialized_options = b'\210\240\037\000\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI\212\347\260*\036cosmos-sdk/AllowedMsgAllowance' + _globals['_GRANT'].fields_by_name['granter']._loaded_options = None + _globals['_GRANT'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_GRANT'].fields_by_name['grantee']._loaded_options = None + _globals['_GRANT'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_GRANT'].fields_by_name['allowance']._loaded_options = None + _globals['_GRANT'].fields_by_name['allowance']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI' + _globals['_BASICALLOWANCE']._serialized_start=260 + _globals['_BASICALLOWANCE']._serialized_end=548 + _globals['_PERIODICALLOWANCE']._serialized_start=551 + _globals['_PERIODICALLOWANCE']._serialized_end=1152 + _globals['_ALLOWEDMSGALLOWANCE']._serialized_start=1155 + _globals['_ALLOWEDMSGALLOWANCE']._serialized_end=1396 + _globals['_GRANT']._serialized_start=1399 + _globals['_GRANT']._serialized_end=1605 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2_grpc.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/feegrant_pb2_grpc.py @@ -1,3 +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/cosmos/feegrant/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2.py index 6319f1ea..29d7e2ff 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,20 +17,16 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%cosmos/feegrant/v1beta1/genesis.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/feegrant/v1beta1/feegrant.proto\x1a\x11\x61mino/amino.proto"Y\n\x0cGenesisState\x12I\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nallowancesB\xc2\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\x0cGenesisProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/feegrant/v1beta1/genesis.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/feegrant/v1beta1/feegrant.proto\x1a\x11\x61mino/amino.proto\"Y\n\x0cGenesisState\x12I\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nallowancesB\xc2\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\x0cGenesisProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.feegrant.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.cosmos.feegrant.v1beta1B\014GenesisProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1" - ) - _globals["_GENESISSTATE"].fields_by_name["allowances"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["allowances"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"]._serialized_start = 147 - _globals["_GENESISSTATE"]._serialized_end = 236 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.feegrant.v1beta1B\014GenesisProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['allowances']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['allowances']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE']._serialized_start=147 + _globals['_GENESISSTATE']._serialized_end=236 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/genesis_pb2_grpc.py @@ -1,3 +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/cosmos/feegrant/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2.py index f06a013d..c81182e8 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2.py @@ -7,72 +7,51 @@ 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 pyinjective.proto.cosmos.feegrant.v1beta1 import feegrant_pb2 as cosmos_dot_feegrant_dot_v1beta1_dot_feegrant__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#cosmos/feegrant/v1beta1/query.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a&cosmos/feegrant/v1beta1/feegrant.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19\x63osmos_proto/cosmos.proto"\x7f\n\x15QueryAllowanceRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee"V\n\x16QueryAllowanceResponse\x12<\n\tallowance\x18\x01 \x01(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\tallowance"\x94\x01\n\x16QueryAllowancesRequest\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xa2\x01\n\x17QueryAllowancesResponse\x12>\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\nallowances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x9d\x01\n\x1fQueryAllowancesByGranterRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xab\x01\n QueryAllowancesByGranterResponse\x12>\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\nallowances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\x9f\x04\n\x05Query\x12\xac\x01\n\tAllowance\x12..cosmos.feegrant.v1beta1.QueryAllowanceRequest\x1a/.cosmos.feegrant.v1beta1.QueryAllowanceResponse">\x82\xd3\xe4\x93\x02\x38\x12\x36/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}\x12\xa6\x01\n\nAllowances\x12/.cosmos.feegrant.v1beta1.QueryAllowancesRequest\x1a\x30.cosmos.feegrant.v1beta1.QueryAllowancesResponse"5\x82\xd3\xe4\x93\x02/\x12-/cosmos/feegrant/v1beta1/allowances/{grantee}\x12\xbd\x01\n\x13\x41llowancesByGranter\x12\x38.cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest\x1a\x39.cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/feegrant/v1beta1/issued/{granter}B\xc0\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\nQueryProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/feegrant/v1beta1/query.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a&cosmos/feegrant/v1beta1/feegrant.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x7f\n\x15QueryAllowanceRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\"V\n\x16QueryAllowanceResponse\x12<\n\tallowance\x18\x01 \x01(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\tallowance\"\x94\x01\n\x16QueryAllowancesRequest\x12\x32\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa2\x01\n\x17QueryAllowancesResponse\x12>\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\nallowances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x9d\x01\n\x1fQueryAllowancesByGranterRequest\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xab\x01\n QueryAllowancesByGranterResponse\x12>\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantR\nallowances\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\x9f\x04\n\x05Query\x12\xac\x01\n\tAllowance\x12..cosmos.feegrant.v1beta1.QueryAllowanceRequest\x1a/.cosmos.feegrant.v1beta1.QueryAllowanceResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}\x12\xa6\x01\n\nAllowances\x12/.cosmos.feegrant.v1beta1.QueryAllowancesRequest\x1a\x30.cosmos.feegrant.v1beta1.QueryAllowancesResponse\"5\x82\xd3\xe4\x93\x02/\x12-/cosmos/feegrant/v1beta1/allowances/{grantee}\x12\xbd\x01\n\x13\x41llowancesByGranter\x12\x38.cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest\x1a\x39.cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/feegrant/v1beta1/issued/{granter}B\xc0\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\nQueryProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.feegrant.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.cosmos.feegrant.v1beta1B\nQueryProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1" - ) - _globals["_QUERYALLOWANCEREQUEST"].fields_by_name["granter"]._loaded_options = None - _globals["_QUERYALLOWANCEREQUEST"].fields_by_name[ - "granter" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYALLOWANCEREQUEST"].fields_by_name["grantee"]._loaded_options = None - _globals["_QUERYALLOWANCEREQUEST"].fields_by_name[ - "grantee" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYALLOWANCESREQUEST"].fields_by_name["grantee"]._loaded_options = None - _globals["_QUERYALLOWANCESREQUEST"].fields_by_name[ - "grantee" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYALLOWANCESBYGRANTERREQUEST"].fields_by_name["granter"]._loaded_options = None - _globals["_QUERYALLOWANCESBYGRANTERREQUEST"].fields_by_name[ - "granter" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERY"].methods_by_name["Allowance"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Allowance" - ]._serialized_options = b"\202\323\344\223\0028\0226/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}" - _globals["_QUERY"].methods_by_name["Allowances"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Allowances" - ]._serialized_options = b"\202\323\344\223\002/\022-/cosmos/feegrant/v1beta1/allowances/{grantee}" - _globals["_QUERY"].methods_by_name["AllowancesByGranter"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AllowancesByGranter" - ]._serialized_options = b"\202\323\344\223\002+\022)/cosmos/feegrant/v1beta1/issued/{granter}" - _globals["_QUERYALLOWANCEREQUEST"]._serialized_start = 205 - _globals["_QUERYALLOWANCEREQUEST"]._serialized_end = 332 - _globals["_QUERYALLOWANCERESPONSE"]._serialized_start = 334 - _globals["_QUERYALLOWANCERESPONSE"]._serialized_end = 420 - _globals["_QUERYALLOWANCESREQUEST"]._serialized_start = 423 - _globals["_QUERYALLOWANCESREQUEST"]._serialized_end = 571 - _globals["_QUERYALLOWANCESRESPONSE"]._serialized_start = 574 - _globals["_QUERYALLOWANCESRESPONSE"]._serialized_end = 736 - _globals["_QUERYALLOWANCESBYGRANTERREQUEST"]._serialized_start = 739 - _globals["_QUERYALLOWANCESBYGRANTERREQUEST"]._serialized_end = 896 - _globals["_QUERYALLOWANCESBYGRANTERRESPONSE"]._serialized_start = 899 - _globals["_QUERYALLOWANCESBYGRANTERRESPONSE"]._serialized_end = 1070 - _globals["_QUERY"]._serialized_start = 1073 - _globals["_QUERY"]._serialized_end = 1616 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.feegrant.v1beta1B\nQueryProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1' + _globals['_QUERYALLOWANCEREQUEST'].fields_by_name['granter']._loaded_options = None + _globals['_QUERYALLOWANCEREQUEST'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYALLOWANCEREQUEST'].fields_by_name['grantee']._loaded_options = None + _globals['_QUERYALLOWANCEREQUEST'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYALLOWANCESREQUEST'].fields_by_name['grantee']._loaded_options = None + _globals['_QUERYALLOWANCESREQUEST'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYALLOWANCESBYGRANTERREQUEST'].fields_by_name['granter']._loaded_options = None + _globals['_QUERYALLOWANCESBYGRANTERREQUEST'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERY'].methods_by_name['Allowance']._loaded_options = None + _globals['_QUERY'].methods_by_name['Allowance']._serialized_options = b'\202\323\344\223\0028\0226/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}' + _globals['_QUERY'].methods_by_name['Allowances']._loaded_options = None + _globals['_QUERY'].methods_by_name['Allowances']._serialized_options = b'\202\323\344\223\002/\022-/cosmos/feegrant/v1beta1/allowances/{grantee}' + _globals['_QUERY'].methods_by_name['AllowancesByGranter']._loaded_options = None + _globals['_QUERY'].methods_by_name['AllowancesByGranter']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/feegrant/v1beta1/issued/{granter}' + _globals['_QUERYALLOWANCEREQUEST']._serialized_start=205 + _globals['_QUERYALLOWANCEREQUEST']._serialized_end=332 + _globals['_QUERYALLOWANCERESPONSE']._serialized_start=334 + _globals['_QUERYALLOWANCERESPONSE']._serialized_end=420 + _globals['_QUERYALLOWANCESREQUEST']._serialized_start=423 + _globals['_QUERYALLOWANCESREQUEST']._serialized_end=571 + _globals['_QUERYALLOWANCESRESPONSE']._serialized_start=574 + _globals['_QUERYALLOWANCESRESPONSE']._serialized_end=736 + _globals['_QUERYALLOWANCESBYGRANTERREQUEST']._serialized_start=739 + _globals['_QUERYALLOWANCESBYGRANTERREQUEST']._serialized_end=896 + _globals['_QUERYALLOWANCESBYGRANTERRESPONSE']._serialized_start=899 + _globals['_QUERYALLOWANCESBYGRANTERRESPONSE']._serialized_end=1070 + _globals['_QUERY']._serialized_start=1073 + _globals['_QUERY']._serialized_end=1616 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2_grpc.py index 7f3305f4..e5f502ad 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -15,39 +16,39 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Allowance = channel.unary_unary( - "/cosmos.feegrant.v1beta1.Query/Allowance", - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceRequest.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceResponse.FromString, - _registered_method=True, - ) + '/cosmos.feegrant.v1beta1.Query/Allowance', + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceRequest.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceResponse.FromString, + _registered_method=True) self.Allowances = channel.unary_unary( - "/cosmos.feegrant.v1beta1.Query/Allowances", - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesRequest.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesResponse.FromString, - _registered_method=True, - ) + '/cosmos.feegrant.v1beta1.Query/Allowances', + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesRequest.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesResponse.FromString, + _registered_method=True) self.AllowancesByGranter = channel.unary_unary( - "/cosmos.feegrant.v1beta1.Query/AllowancesByGranter", - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterRequest.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterResponse.FromString, - _registered_method=True, - ) + '/cosmos.feegrant.v1beta1.Query/AllowancesByGranter', + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterRequest.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def Allowance(self, request, context): - """Allowance returns granted allwance to the grantee by the granter.""" + """Allowance returns granted allwance to the grantee by the granter. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Allowances(self, request, context): - """Allowances returns all the grants for the given grantee address.""" + """Allowances returns all the grants for the given grantee address. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AllowancesByGranter(self, request, context): """AllowancesByGranter returns all the grants given by an address @@ -55,54 +56,54 @@ def AllowancesByGranter(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Allowance": grpc.unary_unary_rpc_method_handler( - servicer.Allowance, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceRequest.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceResponse.SerializeToString, - ), - "Allowances": grpc.unary_unary_rpc_method_handler( - servicer.Allowances, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesRequest.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesResponse.SerializeToString, - ), - "AllowancesByGranter": grpc.unary_unary_rpc_method_handler( - servicer.AllowancesByGranter, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterRequest.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterResponse.SerializeToString, - ), + 'Allowance': grpc.unary_unary_rpc_method_handler( + servicer.Allowance, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceRequest.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceResponse.SerializeToString, + ), + 'Allowances': grpc.unary_unary_rpc_method_handler( + servicer.Allowances, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesRequest.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesResponse.SerializeToString, + ), + 'AllowancesByGranter': grpc.unary_unary_rpc_method_handler( + servicer.AllowancesByGranter, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterRequest.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.feegrant.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.feegrant.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.feegrant.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.feegrant.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ @staticmethod - def Allowance( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Allowance(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.feegrant.v1beta1.Query/Allowance", + '/cosmos.feegrant.v1beta1.Query/Allowance', cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceRequest.SerializeToString, cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowanceResponse.FromString, options, @@ -113,26 +114,23 @@ def Allowance( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Allowances( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Allowances(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.feegrant.v1beta1.Query/Allowances", + '/cosmos.feegrant.v1beta1.Query/Allowances', cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesRequest.SerializeToString, cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesResponse.FromString, options, @@ -143,26 +141,23 @@ def Allowances( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def AllowancesByGranter( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AllowancesByGranter(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.feegrant.v1beta1.Query/AllowancesByGranter", + '/cosmos.feegrant.v1beta1.Query/AllowancesByGranter', cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterRequest.SerializeToString, cosmos_dot_feegrant_dot_v1beta1_dot_query__pb2.QueryAllowancesByGranterResponse.FromString, options, @@ -173,5 +168,4 @@ def AllowancesByGranter( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py index b86528a4..d6d08cb8 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,56 +18,46 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n cosmos/feegrant/v1beta1/tx.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\x89\x02\n\x11MsgGrantAllowance\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12]\n\tallowance\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowance:-\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgGrantAllowance"\x1b\n\x19MsgGrantAllowanceResponse"\xac\x01\n\x12MsgRevokeAllowance\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee:.\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgRevokeAllowance"\x1c\n\x1aMsgRevokeAllowanceResponse"S\n\x12MsgPruneAllowances\x12\x30\n\x06pruner\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06pruner:\x0b\x82\xe7\xb0*\x06pruner"\x1c\n\x1aMsgPruneAllowancesResponse2\xe8\x02\n\x03Msg\x12p\n\x0eGrantAllowance\x12*.cosmos.feegrant.v1beta1.MsgGrantAllowance\x1a\x32.cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse\x12s\n\x0fRevokeAllowance\x12+.cosmos.feegrant.v1beta1.MsgRevokeAllowance\x1a\x33.cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse\x12s\n\x0fPruneAllowances\x12+.cosmos.feegrant.v1beta1.MsgPruneAllowances\x1a\x33.cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\x07TxProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/feegrant/v1beta1/tx.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\x89\x02\n\x11MsgGrantAllowance\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee\x12]\n\tallowance\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmos.feegrant.v1beta1.FeeAllowanceIR\tallowance:-\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgGrantAllowance\"\x1b\n\x19MsgGrantAllowanceResponse\"\xac\x01\n\x12MsgRevokeAllowance\x12\x32\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\x12\x32\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07grantee:.\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgRevokeAllowance\"\x1c\n\x1aMsgRevokeAllowanceResponse\"S\n\x12MsgPruneAllowances\x12\x30\n\x06pruner\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06pruner:\x0b\x82\xe7\xb0*\x06pruner\"\x1c\n\x1aMsgPruneAllowancesResponse2\xe8\x02\n\x03Msg\x12p\n\x0eGrantAllowance\x12*.cosmos.feegrant.v1beta1.MsgGrantAllowance\x1a\x32.cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse\x12s\n\x0fRevokeAllowance\x12+.cosmos.feegrant.v1beta1.MsgRevokeAllowance\x1a\x33.cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse\x12s\n\x0fPruneAllowances\x12+.cosmos.feegrant.v1beta1.MsgPruneAllowances\x1a\x33.cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x1b\x63om.cosmos.feegrant.v1beta1B\x07TxProtoP\x01Z\x17\x63osmossdk.io/x/feegrant\xa2\x02\x03\x43\x46X\xaa\x02\x17\x43osmos.Feegrant.V1beta1\xca\x02\x17\x43osmos\\Feegrant\\V1beta1\xe2\x02#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Feegrant::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.feegrant.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.cosmos.feegrant.v1beta1B\007TxProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1" - ) - _globals["_MSGGRANTALLOWANCE"].fields_by_name["granter"]._loaded_options = None - _globals["_MSGGRANTALLOWANCE"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGGRANTALLOWANCE"].fields_by_name["grantee"]._loaded_options = None - _globals["_MSGGRANTALLOWANCE"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGGRANTALLOWANCE"].fields_by_name["allowance"]._loaded_options = None - _globals["_MSGGRANTALLOWANCE"].fields_by_name[ - "allowance" - ]._serialized_options = b"\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI" - _globals["_MSGGRANTALLOWANCE"]._loaded_options = None - _globals["_MSGGRANTALLOWANCE"]._serialized_options = ( - b"\202\347\260*\007granter\212\347\260*\034cosmos-sdk/MsgGrantAllowance" - ) - _globals["_MSGREVOKEALLOWANCE"].fields_by_name["granter"]._loaded_options = None - _globals["_MSGREVOKEALLOWANCE"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGREVOKEALLOWANCE"].fields_by_name["grantee"]._loaded_options = None - _globals["_MSGREVOKEALLOWANCE"].fields_by_name["grantee"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGREVOKEALLOWANCE"]._loaded_options = None - _globals["_MSGREVOKEALLOWANCE"]._serialized_options = ( - b"\202\347\260*\007granter\212\347\260*\035cosmos-sdk/MsgRevokeAllowance" - ) - _globals["_MSGPRUNEALLOWANCES"].fields_by_name["pruner"]._loaded_options = None - _globals["_MSGPRUNEALLOWANCES"].fields_by_name["pruner"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGPRUNEALLOWANCES"]._loaded_options = None - _globals["_MSGPRUNEALLOWANCES"]._serialized_options = b"\202\347\260*\006pruner" - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGGRANTALLOWANCE"]._serialized_start = 160 - _globals["_MSGGRANTALLOWANCE"]._serialized_end = 425 - _globals["_MSGGRANTALLOWANCERESPONSE"]._serialized_start = 427 - _globals["_MSGGRANTALLOWANCERESPONSE"]._serialized_end = 454 - _globals["_MSGREVOKEALLOWANCE"]._serialized_start = 457 - _globals["_MSGREVOKEALLOWANCE"]._serialized_end = 629 - _globals["_MSGREVOKEALLOWANCERESPONSE"]._serialized_start = 631 - _globals["_MSGREVOKEALLOWANCERESPONSE"]._serialized_end = 659 - _globals["_MSGPRUNEALLOWANCES"]._serialized_start = 661 - _globals["_MSGPRUNEALLOWANCES"]._serialized_end = 744 - _globals["_MSGPRUNEALLOWANCESRESPONSE"]._serialized_start = 746 - _globals["_MSGPRUNEALLOWANCESRESPONSE"]._serialized_end = 774 - _globals["_MSG"]._serialized_start = 777 - _globals["_MSG"]._serialized_end = 1137 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.feegrant.v1beta1B\007TxProtoP\001Z\027cosmossdk.io/x/feegrant\242\002\003CFX\252\002\027Cosmos.Feegrant.V1beta1\312\002\027Cosmos\\Feegrant\\V1beta1\342\002#Cosmos\\Feegrant\\V1beta1\\GPBMetadata\352\002\031Cosmos::Feegrant::V1beta1' + _globals['_MSGGRANTALLOWANCE'].fields_by_name['granter']._loaded_options = None + _globals['_MSGGRANTALLOWANCE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGGRANTALLOWANCE'].fields_by_name['grantee']._loaded_options = None + _globals['_MSGGRANTALLOWANCE'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGGRANTALLOWANCE'].fields_by_name['allowance']._loaded_options = None + _globals['_MSGGRANTALLOWANCE'].fields_by_name['allowance']._serialized_options = b'\312\264-%cosmos.feegrant.v1beta1.FeeAllowanceI' + _globals['_MSGGRANTALLOWANCE']._loaded_options = None + _globals['_MSGGRANTALLOWANCE']._serialized_options = b'\202\347\260*\007granter\212\347\260*\034cosmos-sdk/MsgGrantAllowance' + _globals['_MSGREVOKEALLOWANCE'].fields_by_name['granter']._loaded_options = None + _globals['_MSGREVOKEALLOWANCE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGREVOKEALLOWANCE'].fields_by_name['grantee']._loaded_options = None + _globals['_MSGREVOKEALLOWANCE'].fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGREVOKEALLOWANCE']._loaded_options = None + _globals['_MSGREVOKEALLOWANCE']._serialized_options = b'\202\347\260*\007granter\212\347\260*\035cosmos-sdk/MsgRevokeAllowance' + _globals['_MSGPRUNEALLOWANCES'].fields_by_name['pruner']._loaded_options = None + _globals['_MSGPRUNEALLOWANCES'].fields_by_name['pruner']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGPRUNEALLOWANCES']._loaded_options = None + _globals['_MSGPRUNEALLOWANCES']._serialized_options = b'\202\347\260*\006pruner' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGGRANTALLOWANCE']._serialized_start=160 + _globals['_MSGGRANTALLOWANCE']._serialized_end=425 + _globals['_MSGGRANTALLOWANCERESPONSE']._serialized_start=427 + _globals['_MSGGRANTALLOWANCERESPONSE']._serialized_end=454 + _globals['_MSGREVOKEALLOWANCE']._serialized_start=457 + _globals['_MSGREVOKEALLOWANCE']._serialized_end=629 + _globals['_MSGREVOKEALLOWANCERESPONSE']._serialized_start=631 + _globals['_MSGREVOKEALLOWANCERESPONSE']._serialized_end=659 + _globals['_MSGPRUNEALLOWANCES']._serialized_start=661 + _globals['_MSGPRUNEALLOWANCES']._serialized_end=744 + _globals['_MSGPRUNEALLOWANCESRESPONSE']._serialized_start=746 + _globals['_MSGPRUNEALLOWANCESRESPONSE']._serialized_end=774 + _globals['_MSG']._serialized_start=777 + _globals['_MSG']._serialized_end=1137 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2_grpc.py index 81dcb784..86ab0ccc 100644 --- a/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/feegrant/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the feegrant msg service.""" + """Msg defines the feegrant msg service. + """ def __init__(self, channel): """Constructor. @@ -15,43 +16,41 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GrantAllowance = channel.unary_unary( - "/cosmos.feegrant.v1beta1.Msg/GrantAllowance", - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowance.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowanceResponse.FromString, - _registered_method=True, - ) + '/cosmos.feegrant.v1beta1.Msg/GrantAllowance', + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowance.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowanceResponse.FromString, + _registered_method=True) self.RevokeAllowance = channel.unary_unary( - "/cosmos.feegrant.v1beta1.Msg/RevokeAllowance", - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowance.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowanceResponse.FromString, - _registered_method=True, - ) + '/cosmos.feegrant.v1beta1.Msg/RevokeAllowance', + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowance.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowanceResponse.FromString, + _registered_method=True) self.PruneAllowances = channel.unary_unary( - "/cosmos.feegrant.v1beta1.Msg/PruneAllowances", - request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowances.SerializeToString, - response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowancesResponse.FromString, - _registered_method=True, - ) + '/cosmos.feegrant.v1beta1.Msg/PruneAllowances', + request_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowances.SerializeToString, + response_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowancesResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the feegrant msg service.""" + """Msg defines the feegrant msg service. + """ def GrantAllowance(self, request, context): """GrantAllowance grants fee allowance to the grantee on the granter's account with the provided expiration time. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RevokeAllowance(self, request, context): """RevokeAllowance revokes any fee allowance of granter's account that has been granted to the grantee. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PruneAllowances(self, request, context): """PruneAllowances prunes expired fee allowances, currently up to 75 at a time. @@ -59,54 +58,54 @@ def PruneAllowances(self, request, context): Since cosmos-sdk 0.50 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "GrantAllowance": grpc.unary_unary_rpc_method_handler( - servicer.GrantAllowance, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowance.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowanceResponse.SerializeToString, - ), - "RevokeAllowance": grpc.unary_unary_rpc_method_handler( - servicer.RevokeAllowance, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowance.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowanceResponse.SerializeToString, - ), - "PruneAllowances": grpc.unary_unary_rpc_method_handler( - servicer.PruneAllowances, - request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowances.FromString, - response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowancesResponse.SerializeToString, - ), + 'GrantAllowance': grpc.unary_unary_rpc_method_handler( + servicer.GrantAllowance, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowance.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowanceResponse.SerializeToString, + ), + 'RevokeAllowance': grpc.unary_unary_rpc_method_handler( + servicer.RevokeAllowance, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowance.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowanceResponse.SerializeToString, + ), + 'PruneAllowances': grpc.unary_unary_rpc_method_handler( + servicer.PruneAllowances, + request_deserializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowances.FromString, + response_serializer=cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowancesResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.feegrant.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.feegrant.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.feegrant.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.feegrant.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the feegrant msg service.""" + """Msg defines the feegrant msg service. + """ @staticmethod - def GrantAllowance( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GrantAllowance(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.feegrant.v1beta1.Msg/GrantAllowance", + '/cosmos.feegrant.v1beta1.Msg/GrantAllowance', cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowance.SerializeToString, cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgGrantAllowanceResponse.FromString, options, @@ -117,26 +116,23 @@ def GrantAllowance( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RevokeAllowance( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RevokeAllowance(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.feegrant.v1beta1.Msg/RevokeAllowance", + '/cosmos.feegrant.v1beta1.Msg/RevokeAllowance', cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowance.SerializeToString, cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgRevokeAllowanceResponse.FromString, options, @@ -147,26 +143,23 @@ def RevokeAllowance( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PruneAllowances( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PruneAllowances(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.feegrant.v1beta1.Msg/PruneAllowances", + '/cosmos.feegrant.v1beta1.Msg/PruneAllowances', cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowances.SerializeToString, cosmos_dot_feegrant_dot_v1beta1_dot_tx__pb2.MsgPruneAllowancesResponse.FromString, options, @@ -177,5 +170,4 @@ def PruneAllowances( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py b/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py index 8b2c662b..35d5b23f 100644 --- a/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/genutil/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%cosmos/genutil/module/v1/module.proto\x12\x18\x63osmos.genutil.module.v1\x1a cosmos/app/v1alpha1/module.proto"8\n\x06Module:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/genutilB\xae\x01\n\x1c\x63om.cosmos.genutil.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x18\x43osmos.Genutil.Module.V1\xca\x02\x18\x43osmos\\Genutil\\Module\\V1\xe2\x02$Cosmos\\Genutil\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Genutil::Module::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/genutil/module/v1/module.proto\x12\x18\x63osmos.genutil.module.v1\x1a cosmos/app/v1alpha1/module.proto\"8\n\x06Module:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/genutilB\xae\x01\n\x1c\x63om.cosmos.genutil.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x18\x43osmos.Genutil.Module.V1\xca\x02\x18\x43osmos\\Genutil\\Module\\V1\xe2\x02$Cosmos\\Genutil\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Genutil::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.genutil.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.genutil.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\034com.cosmos.genutil.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\030Cosmos.Genutil.Module.V1\312\002\030Cosmos\\Genutil\\Module\\V1\342\002$Cosmos\\Genutil\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Genutil::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/genutil" - _globals["_MODULE"]._serialized_start = 101 - _globals["_MODULE"]._serialized_end = 157 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.genutil.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\030Cosmos.Genutil.Module.V1\312\002\030Cosmos\\Genutil\\Module\\V1\342\002$Cosmos\\Genutil\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Genutil::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/genutil' + _globals['_MODULE']._serialized_start=101 + _globals['_MODULE']._serialized_end=157 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/genutil/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/genutil/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/genutil/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/genutil/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/genutil/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2.py index 402ac2cc..c9247007 100644 --- a/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,24 +16,16 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$cosmos/genutil/v1beta1/genesis.proto\x12\x16\x63osmos.genutil.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto"_\n\x0cGenesisState\x12O\n\x07gen_txs\x18\x01 \x03(\x0c\x42\x36\xea\xde\x1f\x06gentxs\xfa\xde\x1f\x18\x65ncoding/json.RawMessage\xa2\xe7\xb0*\x06gentxs\xa8\xe7\xb0*\x01R\x06genTxsB\xd2\x01\n\x1a\x63om.cosmos.genutil.v1beta1B\x0cGenesisProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/genutil/types\xa2\x02\x03\x43GX\xaa\x02\x16\x43osmos.Genutil.V1beta1\xca\x02\x16\x43osmos\\Genutil\\V1beta1\xe2\x02"Cosmos\\Genutil\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Genutil::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/genutil/v1beta1/genesis.proto\x12\x16\x63osmos.genutil.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"_\n\x0cGenesisState\x12O\n\x07gen_txs\x18\x01 \x03(\x0c\x42\x36\xea\xde\x1f\x06gentxs\xfa\xde\x1f\x18\x65ncoding/json.RawMessage\xa2\xe7\xb0*\x06gentxs\xa8\xe7\xb0*\x01R\x06genTxsB\xd2\x01\n\x1a\x63om.cosmos.genutil.v1beta1B\x0cGenesisProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/genutil/types\xa2\x02\x03\x43GX\xaa\x02\x16\x43osmos.Genutil.V1beta1\xca\x02\x16\x43osmos\\Genutil\\V1beta1\xe2\x02\"Cosmos\\Genutil\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Genutil::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.genutil.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.genutil.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\032com.cosmos.genutil.v1beta1B\014GenesisProtoP\001Z,github.com/cosmos/cosmos-sdk/x/genutil/types\242\002\003CGX\252\002\026Cosmos.Genutil.V1beta1\312\002\026Cosmos\\Genutil\\V1beta1\342\002"Cosmos\\Genutil\\V1beta1\\GPBMetadata\352\002\030Cosmos::Genutil::V1beta1' - ) - _globals["_GENESISSTATE"].fields_by_name["gen_txs"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "gen_txs" - ]._serialized_options = ( - b"\352\336\037\006gentxs\372\336\037\030encoding/json.RawMessage\242\347\260*\006gentxs\250\347\260*\001" - ) - _globals["_GENESISSTATE"]._serialized_start = 105 - _globals["_GENESISSTATE"]._serialized_end = 200 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.genutil.v1beta1B\014GenesisProtoP\001Z,github.com/cosmos/cosmos-sdk/x/genutil/types\242\002\003CGX\252\002\026Cosmos.Genutil.V1beta1\312\002\026Cosmos\\Genutil\\V1beta1\342\002\"Cosmos\\Genutil\\V1beta1\\GPBMetadata\352\002\030Cosmos::Genutil::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['gen_txs']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['gen_txs']._serialized_options = b'\352\336\037\006gentxs\372\336\037\030encoding/json.RawMessage\242\347\260*\006gentxs\250\347\260*\001' + _globals['_GENESISSTATE']._serialized_start=105 + _globals['_GENESISSTATE']._serialized_end=200 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/genutil/v1beta1/genesis_pb2_grpc.py @@ -1,3 +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/cosmos/gov/module/v1/module_pb2.py b/pyinjective/proto/cosmos/gov/module/v1/module_pb2.py index d777f702..114e7982 100644 --- a/pyinjective/proto/cosmos/gov/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/gov/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!cosmos/gov/module/v1/module.proto\x12\x14\x63osmos.gov.module.v1\x1a cosmos/app/v1alpha1/module.proto"|\n\x06Module\x12(\n\x10max_metadata_len\x18\x01 \x01(\x04R\x0emaxMetadataLen\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:*\xba\xc0\x96\xda\x01$\n"github.com/cosmos/cosmos-sdk/x/govB\x9a\x01\n\x18\x63om.cosmos.gov.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x14\x43osmos.Gov.Module.V1\xca\x02\x14\x43osmos\\Gov\\Module\\V1\xe2\x02 Cosmos\\Gov\\Module\\V1\\GPBMetadata\xea\x02\x17\x43osmos::Gov::Module::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/gov/module/v1/module.proto\x12\x14\x63osmos.gov.module.v1\x1a cosmos/app/v1alpha1/module.proto\"|\n\x06Module\x12(\n\x10max_metadata_len\x18\x01 \x01(\x04R\x0emaxMetadataLen\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:*\xba\xc0\x96\xda\x01$\n\"github.com/cosmos/cosmos-sdk/x/govB\x9a\x01\n\x18\x63om.cosmos.gov.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x14\x43osmos.Gov.Module.V1\xca\x02\x14\x43osmos\\Gov\\Module\\V1\xe2\x02 Cosmos\\Gov\\Module\\V1\\GPBMetadata\xea\x02\x17\x43osmos::Gov::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\030com.cosmos.gov.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\024Cosmos.Gov.Module.V1\312\002\024Cosmos\\Gov\\Module\\V1\342\002 Cosmos\\Gov\\Module\\V1\\GPBMetadata\352\002\027Cosmos::Gov::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b'\272\300\226\332\001$\n"github.com/cosmos/cosmos-sdk/x/gov' - _globals["_MODULE"]._serialized_start = 93 - _globals["_MODULE"]._serialized_end = 217 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.gov.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\024Cosmos.Gov.Module.V1\312\002\024Cosmos\\Gov\\Module\\V1\342\002 Cosmos\\Gov\\Module\\V1\\GPBMetadata\352\002\027Cosmos::Gov::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001$\n\"github.com/cosmos/cosmos-sdk/x/gov' + _globals['_MODULE']._serialized_start=93 + _globals['_MODULE']._serialized_end=217 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/gov/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/gov/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/gov/v1/genesis_pb2.py b/pyinjective/proto/cosmos/gov/v1/genesis_pb2.py index e4ce3179..72ccf1db 100644 --- a/pyinjective/proto/cosmos/gov/v1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,24 +15,20 @@ from pyinjective.proto.cosmos.gov.v1 import gov_pb2 as cosmos_dot_gov_dot_v1_dot_gov__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1b\x63osmos/gov/v1/genesis.proto\x12\rcosmos.gov.v1\x1a\x17\x63osmos/gov/v1/gov.proto"\xfb\x03\n\x0cGenesisState\x12\x30\n\x14starting_proposal_id\x18\x01 \x01(\x04R\x12startingProposalId\x12\x32\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32\x16.cosmos.gov.v1.DepositR\x08\x64\x65posits\x12)\n\x05votes\x18\x03 \x03(\x0b\x32\x13.cosmos.gov.v1.VoteR\x05votes\x12\x35\n\tproposals\x18\x04 \x03(\x0b\x32\x17.cosmos.gov.v1.ProposalR\tproposals\x12G\n\x0e\x64\x65posit_params\x18\x05 \x01(\x0b\x32\x1c.cosmos.gov.v1.DepositParamsB\x02\x18\x01R\rdepositParams\x12\x44\n\rvoting_params\x18\x06 \x01(\x0b\x32\x1b.cosmos.gov.v1.VotingParamsB\x02\x18\x01R\x0cvotingParams\x12\x41\n\x0ctally_params\x18\x07 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyParamsB\x02\x18\x01R\x0btallyParams\x12-\n\x06params\x18\x08 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsR\x06params\x12"\n\x0c\x63onstitution\x18\t \x01(\tR\x0c\x63onstitutionB\xa4\x01\n\x11\x63om.cosmos.gov.v1B\x0cGenesisProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/gov/v1/genesis.proto\x12\rcosmos.gov.v1\x1a\x17\x63osmos/gov/v1/gov.proto\"\xfb\x03\n\x0cGenesisState\x12\x30\n\x14starting_proposal_id\x18\x01 \x01(\x04R\x12startingProposalId\x12\x32\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32\x16.cosmos.gov.v1.DepositR\x08\x64\x65posits\x12)\n\x05votes\x18\x03 \x03(\x0b\x32\x13.cosmos.gov.v1.VoteR\x05votes\x12\x35\n\tproposals\x18\x04 \x03(\x0b\x32\x17.cosmos.gov.v1.ProposalR\tproposals\x12G\n\x0e\x64\x65posit_params\x18\x05 \x01(\x0b\x32\x1c.cosmos.gov.v1.DepositParamsB\x02\x18\x01R\rdepositParams\x12\x44\n\rvoting_params\x18\x06 \x01(\x0b\x32\x1b.cosmos.gov.v1.VotingParamsB\x02\x18\x01R\x0cvotingParams\x12\x41\n\x0ctally_params\x18\x07 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyParamsB\x02\x18\x01R\x0btallyParams\x12-\n\x06params\x18\x08 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsR\x06params\x12\"\n\x0c\x63onstitution\x18\t \x01(\tR\x0c\x63onstitutionB\xa4\x01\n\x11\x63om.cosmos.gov.v1B\x0cGenesisProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.v1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\021com.cosmos.gov.v1B\014GenesisProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1" - ) - _globals["_GENESISSTATE"].fields_by_name["deposit_params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["deposit_params"]._serialized_options = b"\030\001" - _globals["_GENESISSTATE"].fields_by_name["voting_params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["voting_params"]._serialized_options = b"\030\001" - _globals["_GENESISSTATE"].fields_by_name["tally_params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["tally_params"]._serialized_options = b"\030\001" - _globals["_GENESISSTATE"]._serialized_start = 72 - _globals["_GENESISSTATE"]._serialized_end = 579 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.gov.v1B\014GenesisProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1' + _globals['_GENESISSTATE'].fields_by_name['deposit_params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['deposit_params']._serialized_options = b'\030\001' + _globals['_GENESISSTATE'].fields_by_name['voting_params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['voting_params']._serialized_options = b'\030\001' + _globals['_GENESISSTATE'].fields_by_name['tally_params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['tally_params']._serialized_options = b'\030\001' + _globals['_GENESISSTATE']._serialized_start=72 + _globals['_GENESISSTATE']._serialized_end=579 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/gov/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/v1/genesis_pb2_grpc.py @@ -1,3 +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/cosmos/gov/v1/gov_pb2.py b/pyinjective/proto/cosmos/gov/v1/gov_pb2.py index 1aebca89..fe84d91f 100644 --- a/pyinjective/proto/cosmos/gov/v1/gov_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1/gov_pb2.py @@ -7,7 +7,6 @@ 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() @@ -22,118 +21,106 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x17\x63osmos/gov/v1/gov.proto\x12\rcosmos.gov.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"o\n\x12WeightedVoteOption\x12\x31\n\x06option\x18\x01 \x01(\x0e\x32\x19.cosmos.gov.v1.VoteOptionR\x06option\x12&\n\x06weight\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06weight"\xa0\x01\n\x07\x44\x65posit\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12<\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount"\x84\x06\n\x08Proposal\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x30\n\x08messages\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x35\n\x06status\x18\x03 \x01(\x0e\x32\x1d.cosmos.gov.v1.ProposalStatusR\x06status\x12H\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyResultR\x10\x66inalTallyResult\x12\x41\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nsubmitTime\x12J\n\x10\x64\x65posit_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\x0e\x64\x65positEndTime\x12I\n\rtotal_deposit\x18\x07 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0ctotalDeposit\x12L\n\x11voting_start_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\x0fvotingStartTime\x12H\n\x0fvoting_end_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\rvotingEndTime\x12\x1a\n\x08metadata\x18\n \x01(\tR\x08metadata\x12\x14\n\x05title\x18\x0b \x01(\tR\x05title\x12\x18\n\x07summary\x18\x0c \x01(\tR\x07summary\x12\x34\n\x08proposer\x18\r \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer\x12\x1c\n\texpedited\x18\x0e \x01(\x08R\texpedited\x12#\n\rfailed_reason\x18\x0f \x01(\tR\x0c\x66\x61iledReason"\xd7\x01\n\x0bTallyResult\x12+\n\tyes_count\x18\x01 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x08yesCount\x12\x33\n\rabstain_count\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x0c\x61\x62stainCount\x12)\n\x08no_count\x18\x03 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x07noCount\x12;\n\x12no_with_veto_count\x18\x04 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x0fnoWithVetoCount"\xb6\x01\n\x04Vote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12;\n\x07options\x18\x04 \x03(\x0b\x32!.cosmos.gov.v1.WeightedVoteOptionR\x07options\x12\x1a\n\x08metadata\x18\x05 \x01(\tR\x08metadataJ\x04\x08\x03\x10\x04"\xdd\x01\n\rDepositParams\x12Y\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x1d\xc8\xde\x1f\x00\xea\xde\x1f\x15min_deposit,omitemptyR\nminDeposit\x12m\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB$\xea\xde\x1f\x1cmax_deposit_period,omitempty\x98\xdf\x1f\x01R\x10maxDepositPeriod:\x02\x18\x01"X\n\x0cVotingParams\x12\x44\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x0cvotingPeriod:\x02\x18\x01"\x9e\x01\n\x0bTallyParams\x12&\n\x06quorum\x18\x01 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06quorum\x12,\n\tthreshold\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\tthreshold\x12\x35\n\x0eveto_threshold\x18\x03 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\rvetoThreshold:\x02\x18\x01"\x8f\x08\n\x06Params\x12\x45\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nminDeposit\x12M\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x10maxDepositPeriod\x12\x44\n\rvoting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x0cvotingPeriod\x12&\n\x06quorum\x18\x04 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06quorum\x12,\n\tthreshold\x18\x05 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\tthreshold\x12\x35\n\x0eveto_threshold\x18\x06 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\rvetoThreshold\x12I\n\x19min_initial_deposit_ratio\x18\x07 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x16minInitialDepositRatio\x12\x42\n\x15proposal_cancel_ratio\x18\x08 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x13proposalCancelRatio\x12J\n\x14proposal_cancel_dest\x18\t \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12proposalCancelDest\x12W\n\x17\x65xpedited_voting_period\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x15\x65xpeditedVotingPeriod\x12?\n\x13\x65xpedited_threshold\x18\x0b \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x12\x65xpeditedThreshold\x12X\n\x15\x65xpedited_min_deposit\x18\x0c \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x65xpeditedMinDeposit\x12(\n\x10\x62urn_vote_quorum\x18\r \x01(\x08R\x0e\x62urnVoteQuorum\x12\x41\n\x1d\x62urn_proposal_deposit_prevote\x18\x0e \x01(\x08R\x1a\x62urnProposalDepositPrevote\x12$\n\x0e\x62urn_vote_veto\x18\x0f \x01(\x08R\x0c\x62urnVoteVeto\x12:\n\x11min_deposit_ratio\x18\x10 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x0fminDepositRatio*\x89\x01\n\nVoteOption\x12\x1b\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fVOTE_OPTION_YES\x10\x01\x12\x17\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x12\x12\n\x0eVOTE_OPTION_NO\x10\x03\x12\x1c\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04*\xce\x01\n\x0eProposalStatus\x12\x1f\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x12"\n\x1ePROPOSAL_STATUS_DEPOSIT_PERIOD\x10\x01\x12!\n\x1dPROPOSAL_STATUS_VOTING_PERIOD\x10\x02\x12\x1a\n\x16PROPOSAL_STATUS_PASSED\x10\x03\x12\x1c\n\x18PROPOSAL_STATUS_REJECTED\x10\x04\x12\x1a\n\x16PROPOSAL_STATUS_FAILED\x10\x05\x42\xa0\x01\n\x11\x63om.cosmos.gov.v1B\x08GovProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63osmos/gov/v1/gov.proto\x12\rcosmos.gov.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"o\n\x12WeightedVoteOption\x12\x31\n\x06option\x18\x01 \x01(\x0e\x32\x19.cosmos.gov.v1.VoteOptionR\x06option\x12&\n\x06weight\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06weight\"\xa0\x01\n\x07\x44\x65posit\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12<\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\"\x84\x06\n\x08Proposal\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x30\n\x08messages\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x35\n\x06status\x18\x03 \x01(\x0e\x32\x1d.cosmos.gov.v1.ProposalStatusR\x06status\x12H\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyResultR\x10\x66inalTallyResult\x12\x41\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\nsubmitTime\x12J\n\x10\x64\x65posit_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\x0e\x64\x65positEndTime\x12I\n\rtotal_deposit\x18\x07 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0ctotalDeposit\x12L\n\x11voting_start_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\x0fvotingStartTime\x12H\n\x0fvoting_end_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01R\rvotingEndTime\x12\x1a\n\x08metadata\x18\n \x01(\tR\x08metadata\x12\x14\n\x05title\x18\x0b \x01(\tR\x05title\x12\x18\n\x07summary\x18\x0c \x01(\tR\x07summary\x12\x34\n\x08proposer\x18\r \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer\x12\x1c\n\texpedited\x18\x0e \x01(\x08R\texpedited\x12#\n\rfailed_reason\x18\x0f \x01(\tR\x0c\x66\x61iledReason\"\xd7\x01\n\x0bTallyResult\x12+\n\tyes_count\x18\x01 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x08yesCount\x12\x33\n\rabstain_count\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x0c\x61\x62stainCount\x12)\n\x08no_count\x18\x03 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x07noCount\x12;\n\x12no_with_veto_count\x18\x04 \x01(\tB\x0e\xd2\xb4-\ncosmos.IntR\x0fnoWithVetoCount\"\xb6\x01\n\x04Vote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12;\n\x07options\x18\x04 \x03(\x0b\x32!.cosmos.gov.v1.WeightedVoteOptionR\x07options\x12\x1a\n\x08metadata\x18\x05 \x01(\tR\x08metadataJ\x04\x08\x03\x10\x04\"\xdd\x01\n\rDepositParams\x12Y\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x1d\xc8\xde\x1f\x00\xea\xde\x1f\x15min_deposit,omitemptyR\nminDeposit\x12m\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB$\xea\xde\x1f\x1cmax_deposit_period,omitempty\x98\xdf\x1f\x01R\x10maxDepositPeriod:\x02\x18\x01\"X\n\x0cVotingParams\x12\x44\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x0cvotingPeriod:\x02\x18\x01\"\x9e\x01\n\x0bTallyParams\x12&\n\x06quorum\x18\x01 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06quorum\x12,\n\tthreshold\x18\x02 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\tthreshold\x12\x35\n\x0eveto_threshold\x18\x03 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\rvetoThreshold:\x02\x18\x01\"\x8f\x08\n\x06Params\x12\x45\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nminDeposit\x12M\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x10maxDepositPeriod\x12\x44\n\rvoting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x0cvotingPeriod\x12&\n\x06quorum\x18\x04 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x06quorum\x12,\n\tthreshold\x18\x05 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\tthreshold\x12\x35\n\x0eveto_threshold\x18\x06 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\rvetoThreshold\x12I\n\x19min_initial_deposit_ratio\x18\x07 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x16minInitialDepositRatio\x12\x42\n\x15proposal_cancel_ratio\x18\x08 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x13proposalCancelRatio\x12J\n\x14proposal_cancel_dest\x18\t \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12proposalCancelDest\x12W\n\x17\x65xpedited_voting_period\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01R\x15\x65xpeditedVotingPeriod\x12?\n\x13\x65xpedited_threshold\x18\x0b \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x12\x65xpeditedThreshold\x12X\n\x15\x65xpedited_min_deposit\x18\x0c \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x65xpeditedMinDeposit\x12(\n\x10\x62urn_vote_quorum\x18\r \x01(\x08R\x0e\x62urnVoteQuorum\x12\x41\n\x1d\x62urn_proposal_deposit_prevote\x18\x0e \x01(\x08R\x1a\x62urnProposalDepositPrevote\x12$\n\x0e\x62urn_vote_veto\x18\x0f \x01(\x08R\x0c\x62urnVoteVeto\x12:\n\x11min_deposit_ratio\x18\x10 \x01(\tB\x0e\xd2\xb4-\ncosmos.DecR\x0fminDepositRatio*\x89\x01\n\nVoteOption\x12\x1b\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fVOTE_OPTION_YES\x10\x01\x12\x17\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x12\x12\n\x0eVOTE_OPTION_NO\x10\x03\x12\x1c\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04*\xce\x01\n\x0eProposalStatus\x12\x1f\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x12\"\n\x1ePROPOSAL_STATUS_DEPOSIT_PERIOD\x10\x01\x12!\n\x1dPROPOSAL_STATUS_VOTING_PERIOD\x10\x02\x12\x1a\n\x16PROPOSAL_STATUS_PASSED\x10\x03\x12\x1c\n\x18PROPOSAL_STATUS_REJECTED\x10\x04\x12\x1a\n\x16PROPOSAL_STATUS_FAILED\x10\x05\x42\xa0\x01\n\x11\x63om.cosmos.gov.v1B\x08GovProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.v1.gov_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.gov_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\021com.cosmos.gov.v1B\010GovProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1" - ) - _globals["_WEIGHTEDVOTEOPTION"].fields_by_name["weight"]._loaded_options = None - _globals["_WEIGHTEDVOTEOPTION"].fields_by_name["weight"]._serialized_options = b"\322\264-\ncosmos.Dec" - _globals["_DEPOSIT"].fields_by_name["depositor"]._loaded_options = None - _globals["_DEPOSIT"].fields_by_name["depositor"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_DEPOSIT"].fields_by_name["amount"]._loaded_options = None - _globals["_DEPOSIT"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_PROPOSAL"].fields_by_name["submit_time"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name["submit_time"]._serialized_options = b"\220\337\037\001" - _globals["_PROPOSAL"].fields_by_name["deposit_end_time"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name["deposit_end_time"]._serialized_options = b"\220\337\037\001" - _globals["_PROPOSAL"].fields_by_name["total_deposit"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name["total_deposit"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_PROPOSAL"].fields_by_name["voting_start_time"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name["voting_start_time"]._serialized_options = b"\220\337\037\001" - _globals["_PROPOSAL"].fields_by_name["voting_end_time"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name["voting_end_time"]._serialized_options = b"\220\337\037\001" - _globals["_PROPOSAL"].fields_by_name["proposer"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name["proposer"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_TALLYRESULT"].fields_by_name["yes_count"]._loaded_options = None - _globals["_TALLYRESULT"].fields_by_name["yes_count"]._serialized_options = b"\322\264-\ncosmos.Int" - _globals["_TALLYRESULT"].fields_by_name["abstain_count"]._loaded_options = None - _globals["_TALLYRESULT"].fields_by_name["abstain_count"]._serialized_options = b"\322\264-\ncosmos.Int" - _globals["_TALLYRESULT"].fields_by_name["no_count"]._loaded_options = None - _globals["_TALLYRESULT"].fields_by_name["no_count"]._serialized_options = b"\322\264-\ncosmos.Int" - _globals["_TALLYRESULT"].fields_by_name["no_with_veto_count"]._loaded_options = None - _globals["_TALLYRESULT"].fields_by_name["no_with_veto_count"]._serialized_options = b"\322\264-\ncosmos.Int" - _globals["_VOTE"].fields_by_name["voter"]._loaded_options = None - _globals["_VOTE"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_DEPOSITPARAMS"].fields_by_name["min_deposit"]._loaded_options = None - _globals["_DEPOSITPARAMS"].fields_by_name[ - "min_deposit" - ]._serialized_options = b"\310\336\037\000\352\336\037\025min_deposit,omitempty" - _globals["_DEPOSITPARAMS"].fields_by_name["max_deposit_period"]._loaded_options = None - _globals["_DEPOSITPARAMS"].fields_by_name[ - "max_deposit_period" - ]._serialized_options = b"\352\336\037\034max_deposit_period,omitempty\230\337\037\001" - _globals["_DEPOSITPARAMS"]._loaded_options = None - _globals["_DEPOSITPARAMS"]._serialized_options = b"\030\001" - _globals["_VOTINGPARAMS"].fields_by_name["voting_period"]._loaded_options = None - _globals["_VOTINGPARAMS"].fields_by_name["voting_period"]._serialized_options = b"\230\337\037\001" - _globals["_VOTINGPARAMS"]._loaded_options = None - _globals["_VOTINGPARAMS"]._serialized_options = b"\030\001" - _globals["_TALLYPARAMS"].fields_by_name["quorum"]._loaded_options = None - _globals["_TALLYPARAMS"].fields_by_name["quorum"]._serialized_options = b"\322\264-\ncosmos.Dec" - _globals["_TALLYPARAMS"].fields_by_name["threshold"]._loaded_options = None - _globals["_TALLYPARAMS"].fields_by_name["threshold"]._serialized_options = b"\322\264-\ncosmos.Dec" - _globals["_TALLYPARAMS"].fields_by_name["veto_threshold"]._loaded_options = None - _globals["_TALLYPARAMS"].fields_by_name["veto_threshold"]._serialized_options = b"\322\264-\ncosmos.Dec" - _globals["_TALLYPARAMS"]._loaded_options = None - _globals["_TALLYPARAMS"]._serialized_options = b"\030\001" - _globals["_PARAMS"].fields_by_name["min_deposit"]._loaded_options = None - _globals["_PARAMS"].fields_by_name["min_deposit"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_PARAMS"].fields_by_name["max_deposit_period"]._loaded_options = None - _globals["_PARAMS"].fields_by_name["max_deposit_period"]._serialized_options = b"\230\337\037\001" - _globals["_PARAMS"].fields_by_name["voting_period"]._loaded_options = None - _globals["_PARAMS"].fields_by_name["voting_period"]._serialized_options = b"\230\337\037\001" - _globals["_PARAMS"].fields_by_name["quorum"]._loaded_options = None - _globals["_PARAMS"].fields_by_name["quorum"]._serialized_options = b"\322\264-\ncosmos.Dec" - _globals["_PARAMS"].fields_by_name["threshold"]._loaded_options = None - _globals["_PARAMS"].fields_by_name["threshold"]._serialized_options = b"\322\264-\ncosmos.Dec" - _globals["_PARAMS"].fields_by_name["veto_threshold"]._loaded_options = None - _globals["_PARAMS"].fields_by_name["veto_threshold"]._serialized_options = b"\322\264-\ncosmos.Dec" - _globals["_PARAMS"].fields_by_name["min_initial_deposit_ratio"]._loaded_options = None - _globals["_PARAMS"].fields_by_name["min_initial_deposit_ratio"]._serialized_options = b"\322\264-\ncosmos.Dec" - _globals["_PARAMS"].fields_by_name["proposal_cancel_ratio"]._loaded_options = None - _globals["_PARAMS"].fields_by_name["proposal_cancel_ratio"]._serialized_options = b"\322\264-\ncosmos.Dec" - _globals["_PARAMS"].fields_by_name["proposal_cancel_dest"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "proposal_cancel_dest" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_PARAMS"].fields_by_name["expedited_voting_period"]._loaded_options = None - _globals["_PARAMS"].fields_by_name["expedited_voting_period"]._serialized_options = b"\230\337\037\001" - _globals["_PARAMS"].fields_by_name["expedited_threshold"]._loaded_options = None - _globals["_PARAMS"].fields_by_name["expedited_threshold"]._serialized_options = b"\322\264-\ncosmos.Dec" - _globals["_PARAMS"].fields_by_name["expedited_min_deposit"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "expedited_min_deposit" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_PARAMS"].fields_by_name["min_deposit_ratio"]._loaded_options = None - _globals["_PARAMS"].fields_by_name["min_deposit_ratio"]._serialized_options = b"\322\264-\ncosmos.Dec" - _globals["_VOTEOPTION"]._serialized_start = 3206 - _globals["_VOTEOPTION"]._serialized_end = 3343 - _globals["_PROPOSALSTATUS"]._serialized_start = 3346 - _globals["_PROPOSALSTATUS"]._serialized_end = 3552 - _globals["_WEIGHTEDVOTEOPTION"]._serialized_start = 234 - _globals["_WEIGHTEDVOTEOPTION"]._serialized_end = 345 - _globals["_DEPOSIT"]._serialized_start = 348 - _globals["_DEPOSIT"]._serialized_end = 508 - _globals["_PROPOSAL"]._serialized_start = 511 - _globals["_PROPOSAL"]._serialized_end = 1283 - _globals["_TALLYRESULT"]._serialized_start = 1286 - _globals["_TALLYRESULT"]._serialized_end = 1501 - _globals["_VOTE"]._serialized_start = 1504 - _globals["_VOTE"]._serialized_end = 1686 - _globals["_DEPOSITPARAMS"]._serialized_start = 1689 - _globals["_DEPOSITPARAMS"]._serialized_end = 1910 - _globals["_VOTINGPARAMS"]._serialized_start = 1912 - _globals["_VOTINGPARAMS"]._serialized_end = 2000 - _globals["_TALLYPARAMS"]._serialized_start = 2003 - _globals["_TALLYPARAMS"]._serialized_end = 2161 - _globals["_PARAMS"]._serialized_start = 2164 - _globals["_PARAMS"]._serialized_end = 3203 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.gov.v1B\010GovProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1' + _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._loaded_options = None + _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_DEPOSIT'].fields_by_name['depositor']._loaded_options = None + _globals['_DEPOSIT'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DEPOSIT'].fields_by_name['amount']._loaded_options = None + _globals['_DEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['submit_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['submit_time']._serialized_options = b'\220\337\037\001' + _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._serialized_options = b'\220\337\037\001' + _globals['_PROPOSAL'].fields_by_name['total_deposit']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['total_deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['voting_start_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['voting_start_time']._serialized_options = b'\220\337\037\001' + _globals['_PROPOSAL'].fields_by_name['voting_end_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['voting_end_time']._serialized_options = b'\220\337\037\001' + _globals['_PROPOSAL'].fields_by_name['proposer']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_TALLYRESULT'].fields_by_name['yes_count']._loaded_options = None + _globals['_TALLYRESULT'].fields_by_name['yes_count']._serialized_options = b'\322\264-\ncosmos.Int' + _globals['_TALLYRESULT'].fields_by_name['abstain_count']._loaded_options = None + _globals['_TALLYRESULT'].fields_by_name['abstain_count']._serialized_options = b'\322\264-\ncosmos.Int' + _globals['_TALLYRESULT'].fields_by_name['no_count']._loaded_options = None + _globals['_TALLYRESULT'].fields_by_name['no_count']._serialized_options = b'\322\264-\ncosmos.Int' + _globals['_TALLYRESULT'].fields_by_name['no_with_veto_count']._loaded_options = None + _globals['_TALLYRESULT'].fields_by_name['no_with_veto_count']._serialized_options = b'\322\264-\ncosmos.Int' + _globals['_VOTE'].fields_by_name['voter']._loaded_options = None + _globals['_VOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._loaded_options = None + _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._serialized_options = b'\310\336\037\000\352\336\037\025min_deposit,omitempty' + _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._loaded_options = None + _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._serialized_options = b'\352\336\037\034max_deposit_period,omitempty\230\337\037\001' + _globals['_DEPOSITPARAMS']._loaded_options = None + _globals['_DEPOSITPARAMS']._serialized_options = b'\030\001' + _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._loaded_options = None + _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._serialized_options = b'\230\337\037\001' + _globals['_VOTINGPARAMS']._loaded_options = None + _globals['_VOTINGPARAMS']._serialized_options = b'\030\001' + _globals['_TALLYPARAMS'].fields_by_name['quorum']._loaded_options = None + _globals['_TALLYPARAMS'].fields_by_name['quorum']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_TALLYPARAMS'].fields_by_name['threshold']._loaded_options = None + _globals['_TALLYPARAMS'].fields_by_name['threshold']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._loaded_options = None + _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_TALLYPARAMS']._loaded_options = None + _globals['_TALLYPARAMS']._serialized_options = b'\030\001' + _globals['_PARAMS'].fields_by_name['min_deposit']._loaded_options = None + _globals['_PARAMS'].fields_by_name['min_deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['max_deposit_period']._loaded_options = None + _globals['_PARAMS'].fields_by_name['max_deposit_period']._serialized_options = b'\230\337\037\001' + _globals['_PARAMS'].fields_by_name['voting_period']._loaded_options = None + _globals['_PARAMS'].fields_by_name['voting_period']._serialized_options = b'\230\337\037\001' + _globals['_PARAMS'].fields_by_name['quorum']._loaded_options = None + _globals['_PARAMS'].fields_by_name['quorum']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_PARAMS'].fields_by_name['threshold']._loaded_options = None + _globals['_PARAMS'].fields_by_name['threshold']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_PARAMS'].fields_by_name['veto_threshold']._loaded_options = None + _globals['_PARAMS'].fields_by_name['veto_threshold']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_PARAMS'].fields_by_name['min_initial_deposit_ratio']._loaded_options = None + _globals['_PARAMS'].fields_by_name['min_initial_deposit_ratio']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_PARAMS'].fields_by_name['proposal_cancel_ratio']._loaded_options = None + _globals['_PARAMS'].fields_by_name['proposal_cancel_ratio']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_PARAMS'].fields_by_name['proposal_cancel_dest']._loaded_options = None + _globals['_PARAMS'].fields_by_name['proposal_cancel_dest']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_PARAMS'].fields_by_name['expedited_voting_period']._loaded_options = None + _globals['_PARAMS'].fields_by_name['expedited_voting_period']._serialized_options = b'\230\337\037\001' + _globals['_PARAMS'].fields_by_name['expedited_threshold']._loaded_options = None + _globals['_PARAMS'].fields_by_name['expedited_threshold']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_PARAMS'].fields_by_name['expedited_min_deposit']._loaded_options = None + _globals['_PARAMS'].fields_by_name['expedited_min_deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['min_deposit_ratio']._loaded_options = None + _globals['_PARAMS'].fields_by_name['min_deposit_ratio']._serialized_options = b'\322\264-\ncosmos.Dec' + _globals['_VOTEOPTION']._serialized_start=3206 + _globals['_VOTEOPTION']._serialized_end=3343 + _globals['_PROPOSALSTATUS']._serialized_start=3346 + _globals['_PROPOSALSTATUS']._serialized_end=3552 + _globals['_WEIGHTEDVOTEOPTION']._serialized_start=234 + _globals['_WEIGHTEDVOTEOPTION']._serialized_end=345 + _globals['_DEPOSIT']._serialized_start=348 + _globals['_DEPOSIT']._serialized_end=508 + _globals['_PROPOSAL']._serialized_start=511 + _globals['_PROPOSAL']._serialized_end=1283 + _globals['_TALLYRESULT']._serialized_start=1286 + _globals['_TALLYRESULT']._serialized_end=1501 + _globals['_VOTE']._serialized_start=1504 + _globals['_VOTE']._serialized_end=1686 + _globals['_DEPOSITPARAMS']._serialized_start=1689 + _globals['_DEPOSITPARAMS']._serialized_end=1910 + _globals['_VOTINGPARAMS']._serialized_start=1912 + _globals['_VOTINGPARAMS']._serialized_end=2000 + _globals['_TALLYPARAMS']._serialized_start=2003 + _globals['_TALLYPARAMS']._serialized_end=2161 + _globals['_PARAMS']._serialized_start=2164 + _globals['_PARAMS']._serialized_end=3203 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/gov_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1/gov_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/gov/v1/gov_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/v1/gov_pb2_grpc.py @@ -1,3 +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/cosmos/gov/v1/query_pb2.py b/pyinjective/proto/cosmos/gov/v1/query_pb2.py index eb4ea9df..81093e6d 100644 --- a/pyinjective/proto/cosmos/gov/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1/query_pb2.py @@ -7,124 +7,93 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.gov.v1 import gov_pb2 as cosmos_dot_gov_dot_v1_dot_gov__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x19\x63osmos/gov/v1/query.proto\x12\rcosmos.gov.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17\x63osmos/gov/v1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto"\x1a\n\x18QueryConstitutionRequest"?\n\x19QueryConstitutionResponse\x12"\n\x0c\x63onstitution\x18\x01 \x01(\tR\x0c\x63onstitution"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"L\n\x15QueryProposalResponse\x12\x33\n\x08proposal\x18\x01 \x01(\x0b\x32\x17.cosmos.gov.v1.ProposalR\x08proposal"\x8f\x02\n\x15QueryProposalsRequest\x12\x46\n\x0fproposal_status\x18\x01 \x01(\x0e\x32\x1d.cosmos.gov.v1.ProposalStatusR\x0eproposalStatus\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\tdepositor\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x98\x01\n\x16QueryProposalsResponse\x12\x35\n\tproposals\x18\x01 \x03(\x0b\x32\x17.cosmos.gov.v1.ProposalR\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"c\n\x10QueryVoteRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter"<\n\x11QueryVoteResponse\x12\'\n\x04vote\x18\x01 \x01(\x0b\x32\x13.cosmos.gov.v1.VoteR\x04vote"|\n\x11QueryVotesRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x88\x01\n\x12QueryVotesResponse\x12)\n\x05votes\x18\x01 \x03(\x0b\x32\x13.cosmos.gov.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"5\n\x12QueryParamsRequest\x12\x1f\n\x0bparams_type\x18\x01 \x01(\tR\nparamsType"\x96\x02\n\x13QueryParamsResponse\x12\x44\n\rvoting_params\x18\x01 \x01(\x0b\x32\x1b.cosmos.gov.v1.VotingParamsB\x02\x18\x01R\x0cvotingParams\x12G\n\x0e\x64\x65posit_params\x18\x02 \x01(\x0b\x32\x1c.cosmos.gov.v1.DepositParamsB\x02\x18\x01R\rdepositParams\x12\x41\n\x0ctally_params\x18\x03 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyParamsB\x02\x18\x01R\x0btallyParams\x12-\n\x06params\x18\x04 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsR\x06params"n\n\x13QueryDepositRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor"H\n\x14QueryDepositResponse\x12\x30\n\x07\x64\x65posit\x18\x01 \x01(\x0b\x32\x16.cosmos.gov.v1.DepositR\x07\x64\x65posit"\x7f\n\x14QueryDepositsRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x94\x01\n\x15QueryDepositsResponse\x12\x32\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x16.cosmos.gov.v1.DepositR\x08\x64\x65posits\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"L\n\x18QueryTallyResultResponse\x12\x30\n\x05tally\x18\x01 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyResultR\x05tally2\xe3\t\n\x05Query\x12\x86\x01\n\x0c\x43onstitution\x12\'.cosmos.gov.v1.QueryConstitutionRequest\x1a(.cosmos.gov.v1.QueryConstitutionResponse"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/gov/v1/constitution\x12\x85\x01\n\x08Proposal\x12#.cosmos.gov.v1.QueryProposalRequest\x1a$.cosmos.gov.v1.QueryProposalResponse".\x82\xd3\xe4\x93\x02(\x12&/cosmos/gov/v1/proposals/{proposal_id}\x12z\n\tProposals\x12$.cosmos.gov.v1.QueryProposalsRequest\x1a%.cosmos.gov.v1.QueryProposalsResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cosmos/gov/v1/proposals\x12\x87\x01\n\x04Vote\x12\x1f.cosmos.gov.v1.QueryVoteRequest\x1a .cosmos.gov.v1.QueryVoteResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}\x12\x82\x01\n\x05Votes\x12 .cosmos.gov.v1.QueryVotesRequest\x1a!.cosmos.gov.v1.QueryVotesResponse"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/gov/v1/proposals/{proposal_id}/votes\x12|\n\x06Params\x12!.cosmos.gov.v1.QueryParamsRequest\x1a".cosmos.gov.v1.QueryParamsResponse"+\x82\xd3\xe4\x93\x02%\x12#/cosmos/gov/v1/params/{params_type}\x12\x97\x01\n\x07\x44\x65posit\x12".cosmos.gov.v1.QueryDepositRequest\x1a#.cosmos.gov.v1.QueryDepositResponse"C\x82\xd3\xe4\x93\x02=\x12;/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}\x12\x8e\x01\n\x08\x44\x65posits\x12#.cosmos.gov.v1.QueryDepositsRequest\x1a$.cosmos.gov.v1.QueryDepositsResponse"7\x82\xd3\xe4\x93\x02\x31\x12//cosmos/gov/v1/proposals/{proposal_id}/deposits\x12\x94\x01\n\x0bTallyResult\x12&.cosmos.gov.v1.QueryTallyResultRequest\x1a\'.cosmos.gov.v1.QueryTallyResultResponse"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/gov/v1/proposals/{proposal_id}/tallyB\xa2\x01\n\x11\x63om.cosmos.gov.v1B\nQueryProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmos/gov/v1/query.proto\x12\rcosmos.gov.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17\x63osmos/gov/v1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x1a\n\x18QueryConstitutionRequest\"?\n\x19QueryConstitutionResponse\x12\"\n\x0c\x63onstitution\x18\x01 \x01(\tR\x0c\x63onstitution\"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"L\n\x15QueryProposalResponse\x12\x33\n\x08proposal\x18\x01 \x01(\x0b\x32\x17.cosmos.gov.v1.ProposalR\x08proposal\"\x8f\x02\n\x15QueryProposalsRequest\x12\x46\n\x0fproposal_status\x18\x01 \x01(\x0e\x32\x1d.cosmos.gov.v1.ProposalStatusR\x0eproposalStatus\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\tdepositor\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x98\x01\n\x16QueryProposalsResponse\x12\x35\n\tproposals\x18\x01 \x03(\x0b\x32\x17.cosmos.gov.v1.ProposalR\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"c\n\x10QueryVoteRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\"<\n\x11QueryVoteResponse\x12\'\n\x04vote\x18\x01 \x01(\x0b\x32\x13.cosmos.gov.v1.VoteR\x04vote\"|\n\x11QueryVotesRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x88\x01\n\x12QueryVotesResponse\x12)\n\x05votes\x18\x01 \x03(\x0b\x32\x13.cosmos.gov.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"5\n\x12QueryParamsRequest\x12\x1f\n\x0bparams_type\x18\x01 \x01(\tR\nparamsType\"\x96\x02\n\x13QueryParamsResponse\x12\x44\n\rvoting_params\x18\x01 \x01(\x0b\x32\x1b.cosmos.gov.v1.VotingParamsB\x02\x18\x01R\x0cvotingParams\x12G\n\x0e\x64\x65posit_params\x18\x02 \x01(\x0b\x32\x1c.cosmos.gov.v1.DepositParamsB\x02\x18\x01R\rdepositParams\x12\x41\n\x0ctally_params\x18\x03 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyParamsB\x02\x18\x01R\x0btallyParams\x12-\n\x06params\x18\x04 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsR\x06params\"n\n\x13QueryDepositRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\"H\n\x14QueryDepositResponse\x12\x30\n\x07\x64\x65posit\x18\x01 \x01(\x0b\x32\x16.cosmos.gov.v1.DepositR\x07\x64\x65posit\"\x7f\n\x14QueryDepositsRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x94\x01\n\x15QueryDepositsResponse\x12\x32\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x16.cosmos.gov.v1.DepositR\x08\x64\x65posits\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"L\n\x18QueryTallyResultResponse\x12\x30\n\x05tally\x18\x01 \x01(\x0b\x32\x1a.cosmos.gov.v1.TallyResultR\x05tally2\xe3\t\n\x05Query\x12\x86\x01\n\x0c\x43onstitution\x12\'.cosmos.gov.v1.QueryConstitutionRequest\x1a(.cosmos.gov.v1.QueryConstitutionResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/gov/v1/constitution\x12\x85\x01\n\x08Proposal\x12#.cosmos.gov.v1.QueryProposalRequest\x1a$.cosmos.gov.v1.QueryProposalResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/gov/v1/proposals/{proposal_id}\x12z\n\tProposals\x12$.cosmos.gov.v1.QueryProposalsRequest\x1a%.cosmos.gov.v1.QueryProposalsResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cosmos/gov/v1/proposals\x12\x87\x01\n\x04Vote\x12\x1f.cosmos.gov.v1.QueryVoteRequest\x1a .cosmos.gov.v1.QueryVoteResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}\x12\x82\x01\n\x05Votes\x12 .cosmos.gov.v1.QueryVotesRequest\x1a!.cosmos.gov.v1.QueryVotesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/gov/v1/proposals/{proposal_id}/votes\x12|\n\x06Params\x12!.cosmos.gov.v1.QueryParamsRequest\x1a\".cosmos.gov.v1.QueryParamsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/cosmos/gov/v1/params/{params_type}\x12\x97\x01\n\x07\x44\x65posit\x12\".cosmos.gov.v1.QueryDepositRequest\x1a#.cosmos.gov.v1.QueryDepositResponse\"C\x82\xd3\xe4\x93\x02=\x12;/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}\x12\x8e\x01\n\x08\x44\x65posits\x12#.cosmos.gov.v1.QueryDepositsRequest\x1a$.cosmos.gov.v1.QueryDepositsResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//cosmos/gov/v1/proposals/{proposal_id}/deposits\x12\x94\x01\n\x0bTallyResult\x12&.cosmos.gov.v1.QueryTallyResultRequest\x1a\'.cosmos.gov.v1.QueryTallyResultResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/gov/v1/proposals/{proposal_id}/tallyB\xa2\x01\n\x11\x63om.cosmos.gov.v1B\nQueryProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.v1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\021com.cosmos.gov.v1B\nQueryProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1" - ) - _globals["_QUERYPROPOSALSREQUEST"].fields_by_name["voter"]._loaded_options = None - _globals["_QUERYPROPOSALSREQUEST"].fields_by_name[ - "voter" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYPROPOSALSREQUEST"].fields_by_name["depositor"]._loaded_options = None - _globals["_QUERYPROPOSALSREQUEST"].fields_by_name[ - "depositor" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYVOTEREQUEST"].fields_by_name["voter"]._loaded_options = None - _globals["_QUERYVOTEREQUEST"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["voting_params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["voting_params"]._serialized_options = b"\030\001" - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["deposit_params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["deposit_params"]._serialized_options = b"\030\001" - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["tally_params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["tally_params"]._serialized_options = b"\030\001" - _globals["_QUERYDEPOSITREQUEST"].fields_by_name["depositor"]._loaded_options = None - _globals["_QUERYDEPOSITREQUEST"].fields_by_name[ - "depositor" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERY"].methods_by_name["Constitution"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Constitution" - ]._serialized_options = b"\202\323\344\223\002\035\022\033/cosmos/gov/v1/constitution" - _globals["_QUERY"].methods_by_name["Proposal"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Proposal" - ]._serialized_options = b"\202\323\344\223\002(\022&/cosmos/gov/v1/proposals/{proposal_id}" - _globals["_QUERY"].methods_by_name["Proposals"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Proposals" - ]._serialized_options = b"\202\323\344\223\002\032\022\030/cosmos/gov/v1/proposals" - _globals["_QUERY"].methods_by_name["Vote"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Vote" - ]._serialized_options = b"\202\323\344\223\0026\0224/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}" - _globals["_QUERY"].methods_by_name["Votes"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Votes" - ]._serialized_options = b"\202\323\344\223\002.\022,/cosmos/gov/v1/proposals/{proposal_id}/votes" - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\202\323\344\223\002%\022#/cosmos/gov/v1/params/{params_type}" - _globals["_QUERY"].methods_by_name["Deposit"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Deposit" - ]._serialized_options = b"\202\323\344\223\002=\022;/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}" - _globals["_QUERY"].methods_by_name["Deposits"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Deposits" - ]._serialized_options = b"\202\323\344\223\0021\022//cosmos/gov/v1/proposals/{proposal_id}/deposits" - _globals["_QUERY"].methods_by_name["TallyResult"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "TallyResult" - ]._serialized_options = b"\202\323\344\223\002.\022,/cosmos/gov/v1/proposals/{proposal_id}/tally" - _globals["_QUERYCONSTITUTIONREQUEST"]._serialized_start = 170 - _globals["_QUERYCONSTITUTIONREQUEST"]._serialized_end = 196 - _globals["_QUERYCONSTITUTIONRESPONSE"]._serialized_start = 198 - _globals["_QUERYCONSTITUTIONRESPONSE"]._serialized_end = 261 - _globals["_QUERYPROPOSALREQUEST"]._serialized_start = 263 - _globals["_QUERYPROPOSALREQUEST"]._serialized_end = 318 - _globals["_QUERYPROPOSALRESPONSE"]._serialized_start = 320 - _globals["_QUERYPROPOSALRESPONSE"]._serialized_end = 396 - _globals["_QUERYPROPOSALSREQUEST"]._serialized_start = 399 - _globals["_QUERYPROPOSALSREQUEST"]._serialized_end = 670 - _globals["_QUERYPROPOSALSRESPONSE"]._serialized_start = 673 - _globals["_QUERYPROPOSALSRESPONSE"]._serialized_end = 825 - _globals["_QUERYVOTEREQUEST"]._serialized_start = 827 - _globals["_QUERYVOTEREQUEST"]._serialized_end = 926 - _globals["_QUERYVOTERESPONSE"]._serialized_start = 928 - _globals["_QUERYVOTERESPONSE"]._serialized_end = 988 - _globals["_QUERYVOTESREQUEST"]._serialized_start = 990 - _globals["_QUERYVOTESREQUEST"]._serialized_end = 1114 - _globals["_QUERYVOTESRESPONSE"]._serialized_start = 1117 - _globals["_QUERYVOTESRESPONSE"]._serialized_end = 1253 - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 1255 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 1308 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 1311 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 1589 - _globals["_QUERYDEPOSITREQUEST"]._serialized_start = 1591 - _globals["_QUERYDEPOSITREQUEST"]._serialized_end = 1701 - _globals["_QUERYDEPOSITRESPONSE"]._serialized_start = 1703 - _globals["_QUERYDEPOSITRESPONSE"]._serialized_end = 1775 - _globals["_QUERYDEPOSITSREQUEST"]._serialized_start = 1777 - _globals["_QUERYDEPOSITSREQUEST"]._serialized_end = 1904 - _globals["_QUERYDEPOSITSRESPONSE"]._serialized_start = 1907 - _globals["_QUERYDEPOSITSRESPONSE"]._serialized_end = 2055 - _globals["_QUERYTALLYRESULTREQUEST"]._serialized_start = 2057 - _globals["_QUERYTALLYRESULTREQUEST"]._serialized_end = 2115 - _globals["_QUERYTALLYRESULTRESPONSE"]._serialized_start = 2117 - _globals["_QUERYTALLYRESULTRESPONSE"]._serialized_end = 2193 - _globals["_QUERY"]._serialized_start = 2196 - _globals["_QUERY"]._serialized_end = 3447 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.gov.v1B\nQueryProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1' + _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['voter']._loaded_options = None + _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['depositor']._loaded_options = None + _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYVOTEREQUEST'].fields_by_name['voter']._loaded_options = None + _globals['_QUERYVOTEREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['voting_params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['voting_params']._serialized_options = b'\030\001' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['deposit_params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['deposit_params']._serialized_options = b'\030\001' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['tally_params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['tally_params']._serialized_options = b'\030\001' + _globals['_QUERYDEPOSITREQUEST'].fields_by_name['depositor']._loaded_options = None + _globals['_QUERYDEPOSITREQUEST'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERY'].methods_by_name['Constitution']._loaded_options = None + _globals['_QUERY'].methods_by_name['Constitution']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/gov/v1/constitution' + _globals['_QUERY'].methods_by_name['Proposal']._loaded_options = None + _globals['_QUERY'].methods_by_name['Proposal']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/gov/v1/proposals/{proposal_id}' + _globals['_QUERY'].methods_by_name['Proposals']._loaded_options = None + _globals['_QUERY'].methods_by_name['Proposals']._serialized_options = b'\202\323\344\223\002\032\022\030/cosmos/gov/v1/proposals' + _globals['_QUERY'].methods_by_name['Vote']._loaded_options = None + _globals['_QUERY'].methods_by_name['Vote']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}' + _globals['_QUERY'].methods_by_name['Votes']._loaded_options = None + _globals['_QUERY'].methods_by_name['Votes']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/gov/v1/proposals/{proposal_id}/votes' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002%\022#/cosmos/gov/v1/params/{params_type}' + _globals['_QUERY'].methods_by_name['Deposit']._loaded_options = None + _globals['_QUERY'].methods_by_name['Deposit']._serialized_options = b'\202\323\344\223\002=\022;/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}' + _globals['_QUERY'].methods_by_name['Deposits']._loaded_options = None + _globals['_QUERY'].methods_by_name['Deposits']._serialized_options = b'\202\323\344\223\0021\022//cosmos/gov/v1/proposals/{proposal_id}/deposits' + _globals['_QUERY'].methods_by_name['TallyResult']._loaded_options = None + _globals['_QUERY'].methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/gov/v1/proposals/{proposal_id}/tally' + _globals['_QUERYCONSTITUTIONREQUEST']._serialized_start=170 + _globals['_QUERYCONSTITUTIONREQUEST']._serialized_end=196 + _globals['_QUERYCONSTITUTIONRESPONSE']._serialized_start=198 + _globals['_QUERYCONSTITUTIONRESPONSE']._serialized_end=261 + _globals['_QUERYPROPOSALREQUEST']._serialized_start=263 + _globals['_QUERYPROPOSALREQUEST']._serialized_end=318 + _globals['_QUERYPROPOSALRESPONSE']._serialized_start=320 + _globals['_QUERYPROPOSALRESPONSE']._serialized_end=396 + _globals['_QUERYPROPOSALSREQUEST']._serialized_start=399 + _globals['_QUERYPROPOSALSREQUEST']._serialized_end=670 + _globals['_QUERYPROPOSALSRESPONSE']._serialized_start=673 + _globals['_QUERYPROPOSALSRESPONSE']._serialized_end=825 + _globals['_QUERYVOTEREQUEST']._serialized_start=827 + _globals['_QUERYVOTEREQUEST']._serialized_end=926 + _globals['_QUERYVOTERESPONSE']._serialized_start=928 + _globals['_QUERYVOTERESPONSE']._serialized_end=988 + _globals['_QUERYVOTESREQUEST']._serialized_start=990 + _globals['_QUERYVOTESREQUEST']._serialized_end=1114 + _globals['_QUERYVOTESRESPONSE']._serialized_start=1117 + _globals['_QUERYVOTESRESPONSE']._serialized_end=1253 + _globals['_QUERYPARAMSREQUEST']._serialized_start=1255 + _globals['_QUERYPARAMSREQUEST']._serialized_end=1308 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=1311 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=1589 + _globals['_QUERYDEPOSITREQUEST']._serialized_start=1591 + _globals['_QUERYDEPOSITREQUEST']._serialized_end=1701 + _globals['_QUERYDEPOSITRESPONSE']._serialized_start=1703 + _globals['_QUERYDEPOSITRESPONSE']._serialized_end=1775 + _globals['_QUERYDEPOSITSREQUEST']._serialized_start=1777 + _globals['_QUERYDEPOSITSREQUEST']._serialized_end=1904 + _globals['_QUERYDEPOSITSRESPONSE']._serialized_start=1907 + _globals['_QUERYDEPOSITSRESPONSE']._serialized_end=2055 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_start=2057 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=2115 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=2117 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=2193 + _globals['_QUERY']._serialized_start=2196 + _globals['_QUERY']._serialized_end=3447 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1/query_pb2_grpc.py index 26b10c89..4189082a 100644 --- a/pyinjective/proto/cosmos/gov/v1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/v1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the gRPC querier service for gov module""" + """Query defines the gRPC querier service for gov module + """ def __init__(self, channel): """Constructor. @@ -15,193 +16,194 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Constitution = channel.unary_unary( - "/cosmos.gov.v1.Query/Constitution", - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1.Query/Constitution', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionResponse.FromString, + _registered_method=True) self.Proposal = channel.unary_unary( - "/cosmos.gov.v1.Query/Proposal", - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1.Query/Proposal', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, + _registered_method=True) self.Proposals = channel.unary_unary( - "/cosmos.gov.v1.Query/Proposals", - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1.Query/Proposals', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsResponse.FromString, + _registered_method=True) self.Vote = channel.unary_unary( - "/cosmos.gov.v1.Query/Vote", - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1.Query/Vote', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteResponse.FromString, + _registered_method=True) self.Votes = channel.unary_unary( - "/cosmos.gov.v1.Query/Votes", - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1.Query/Votes', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesResponse.FromString, + _registered_method=True) self.Params = channel.unary_unary( - "/cosmos.gov.v1.Query/Params", - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1.Query/Params', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) self.Deposit = channel.unary_unary( - "/cosmos.gov.v1.Query/Deposit", - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1.Query/Deposit', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositResponse.FromString, + _registered_method=True) self.Deposits = channel.unary_unary( - "/cosmos.gov.v1.Query/Deposits", - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1.Query/Deposits', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsResponse.FromString, + _registered_method=True) self.TallyResult = channel.unary_unary( - "/cosmos.gov.v1.Query/TallyResult", - request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1.Query/TallyResult', + request_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service for gov module""" + """Query defines the gRPC querier service for gov module + """ def Constitution(self, request, context): - """Constitution queries the chain's constitution.""" + """Constitution queries the chain's constitution. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Proposal(self, request, context): - """Proposal queries proposal details based on ProposalID.""" + """Proposal queries proposal details based on ProposalID. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Proposals(self, request, context): - """Proposals queries all proposals based on given status.""" + """Proposals queries all proposals based on given status. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Vote(self, request, context): - """Vote queries voted information based on proposalID, voterAddr.""" + """Vote queries voted information based on proposalID, voterAddr. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Votes(self, request, context): - """Votes queries votes of a given proposal.""" + """Votes queries votes of a given proposal. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Params(self, request, context): - """Params queries all parameters of the gov module.""" + """Params queries all parameters of the gov module. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Deposit(self, request, context): - """Deposit queries single deposit information based on proposalID, depositAddr.""" + """Deposit queries single deposit information based on proposalID, depositAddr. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Deposits(self, request, context): - """Deposits queries all deposits of a single proposal.""" + """Deposits queries all deposits of a single proposal. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TallyResult(self, request, context): - """TallyResult queries the tally of a proposal vote.""" + """TallyResult queries the tally of a proposal vote. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Constitution": grpc.unary_unary_rpc_method_handler( - servicer.Constitution, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionResponse.SerializeToString, - ), - "Proposal": grpc.unary_unary_rpc_method_handler( - servicer.Proposal, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalResponse.SerializeToString, - ), - "Proposals": grpc.unary_unary_rpc_method_handler( - servicer.Proposals, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsResponse.SerializeToString, - ), - "Vote": grpc.unary_unary_rpc_method_handler( - servicer.Vote, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteResponse.SerializeToString, - ), - "Votes": grpc.unary_unary_rpc_method_handler( - servicer.Votes, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesResponse.SerializeToString, - ), - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - "Deposit": grpc.unary_unary_rpc_method_handler( - servicer.Deposit, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositResponse.SerializeToString, - ), - "Deposits": grpc.unary_unary_rpc_method_handler( - servicer.Deposits, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsResponse.SerializeToString, - ), - "TallyResult": grpc.unary_unary_rpc_method_handler( - servicer.TallyResult, - request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, - ), + 'Constitution': grpc.unary_unary_rpc_method_handler( + servicer.Constitution, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionResponse.SerializeToString, + ), + 'Proposal': grpc.unary_unary_rpc_method_handler( + servicer.Proposal, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalResponse.SerializeToString, + ), + 'Proposals': grpc.unary_unary_rpc_method_handler( + servicer.Proposals, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsResponse.SerializeToString, + ), + 'Vote': grpc.unary_unary_rpc_method_handler( + servicer.Vote, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteResponse.SerializeToString, + ), + 'Votes': grpc.unary_unary_rpc_method_handler( + servicer.Votes, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesResponse.SerializeToString, + ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'Deposit': grpc.unary_unary_rpc_method_handler( + servicer.Deposit, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositResponse.SerializeToString, + ), + 'Deposits': grpc.unary_unary_rpc_method_handler( + servicer.Deposits, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsResponse.SerializeToString, + ), + 'TallyResult': grpc.unary_unary_rpc_method_handler( + servicer.TallyResult, + request_deserializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.gov.v1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.gov.v1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.gov.v1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.gov.v1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service for gov module""" + """Query defines the gRPC querier service for gov module + """ @staticmethod - def Constitution( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Constitution(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1.Query/Constitution", + '/cosmos.gov.v1.Query/Constitution', cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryConstitutionResponse.FromString, options, @@ -212,26 +214,23 @@ def Constitution( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Proposal( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Proposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1.Query/Proposal", + '/cosmos.gov.v1.Query/Proposal', cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, options, @@ -242,26 +241,23 @@ def Proposal( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Proposals( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Proposals(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1.Query/Proposals", + '/cosmos.gov.v1.Query/Proposals', cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryProposalsResponse.FromString, options, @@ -272,26 +268,23 @@ def Proposals( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Vote( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Vote(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1.Query/Vote", + '/cosmos.gov.v1.Query/Vote', cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVoteResponse.FromString, options, @@ -302,26 +295,23 @@ def Vote( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Votes( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Votes(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1.Query/Votes", + '/cosmos.gov.v1.Query/Votes', cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryVotesResponse.FromString, options, @@ -332,26 +322,23 @@ def Votes( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1.Query/Params", + '/cosmos.gov.v1.Query/Params', cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -362,26 +349,23 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Deposit( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Deposit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1.Query/Deposit", + '/cosmos.gov.v1.Query/Deposit', cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositResponse.FromString, options, @@ -392,26 +376,23 @@ def Deposit( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Deposits( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Deposits(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1.Query/Deposits", + '/cosmos.gov.v1.Query/Deposits', cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryDepositsResponse.FromString, options, @@ -422,26 +403,23 @@ def Deposits( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def TallyResult( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def TallyResult(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1.Query/TallyResult", + '/cosmos.gov.v1.Query/TallyResult', cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, cosmos_dot_gov_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, options, @@ -452,5 +430,4 @@ def TallyResult( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/gov/v1/tx_pb2.py b/pyinjective/proto/cosmos/gov/v1/tx_pb2.py index de79952c..c2858275 100644 --- a/pyinjective/proto/cosmos/gov/v1/tx_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -23,116 +22,90 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x16\x63osmos/gov/v1/tx.proto\x12\rcosmos.gov.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/gov/v1/gov.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xa5\x03\n\x11MsgSubmitProposal\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x8a\x01\n\x0finitial_deposit\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0einitialDeposit\x12\x34\n\x08proposer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12\x14\n\x05title\x18\x05 \x01(\tR\x05title\x12\x18\n\x07summary\x18\x06 \x01(\tR\x07summary\x12\x1c\n\texpedited\x18\x07 \x01(\x08R\texpedited:1\x82\xe7\xb0*\x08proposer\x8a\xe7\xb0*\x1f\x63osmos-sdk/v1/MsgSubmitProposal"<\n\x19MsgSubmitProposalResponse\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"\xbb\x01\n\x14MsgExecLegacyContent\x12N\n\x07\x63ontent\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:5\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*"cosmos-sdk/v1/MsgExecLegacyContent"\x1e\n\x1cMsgExecLegacyContentResponse"\xe5\x01\n\x07MsgVote\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x31\n\x06option\x18\x03 \x01(\x0e\x32\x19.cosmos.gov.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata:$\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x15\x63osmos-sdk/v1/MsgVote"\x11\n\x0fMsgVoteResponse"\xff\x01\n\x0fMsgVoteWeighted\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12;\n\x07options\x18\x03 \x03(\x0b\x32!.cosmos.gov.v1.WeightedVoteOptionR\x07options\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata:,\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x1d\x63osmos-sdk/v1/MsgVoteWeighted"\x19\n\x17MsgVoteWeightedResponse"\xe6\x01\n\nMsgDeposit\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12<\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:+\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x18\x63osmos-sdk/v1/MsgDeposit"\x14\n\x12MsgDepositResponse"\xbb\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#cosmos-sdk/x/gov/v1/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse"\x8a\x01\n\x11MsgCancelProposal\x12\x30\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x0f\xea\xde\x1f\x0bproposal_idR\nproposalId\x12\x34\n\x08proposer\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer:\r\x82\xe7\xb0*\x08proposer"\xc1\x01\n\x19MsgCancelProposalResponse\x12\x30\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x0f\xea\xde\x1f\x0bproposal_idR\nproposalId\x12I\n\rcanceled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x0c\x63\x61nceledTime\x12\'\n\x0f\x63\x61nceled_height\x18\x03 \x01(\x04R\x0e\x63\x61nceledHeight2\xe8\x04\n\x03Msg\x12\\\n\x0eSubmitProposal\x12 .cosmos.gov.v1.MsgSubmitProposal\x1a(.cosmos.gov.v1.MsgSubmitProposalResponse\x12\x65\n\x11\x45xecLegacyContent\x12#.cosmos.gov.v1.MsgExecLegacyContent\x1a+.cosmos.gov.v1.MsgExecLegacyContentResponse\x12>\n\x04Vote\x12\x16.cosmos.gov.v1.MsgVote\x1a\x1e.cosmos.gov.v1.MsgVoteResponse\x12V\n\x0cVoteWeighted\x12\x1e.cosmos.gov.v1.MsgVoteWeighted\x1a&.cosmos.gov.v1.MsgVoteWeightedResponse\x12G\n\x07\x44\x65posit\x12\x19.cosmos.gov.v1.MsgDeposit\x1a!.cosmos.gov.v1.MsgDepositResponse\x12V\n\x0cUpdateParams\x12\x1e.cosmos.gov.v1.MsgUpdateParams\x1a&.cosmos.gov.v1.MsgUpdateParamsResponse\x12\\\n\x0e\x43\x61ncelProposal\x12 .cosmos.gov.v1.MsgCancelProposal\x1a(.cosmos.gov.v1.MsgCancelProposalResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9f\x01\n\x11\x63om.cosmos.gov.v1B\x07TxProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x63osmos/gov/v1/tx.proto\x12\rcosmos.gov.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/gov/v1/gov.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa5\x03\n\x11MsgSubmitProposal\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x8a\x01\n\x0finitial_deposit\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0einitialDeposit\x12\x34\n\x08proposer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12\x14\n\x05title\x18\x05 \x01(\tR\x05title\x12\x18\n\x07summary\x18\x06 \x01(\tR\x07summary\x12\x1c\n\texpedited\x18\x07 \x01(\x08R\texpedited:1\x82\xe7\xb0*\x08proposer\x8a\xe7\xb0*\x1f\x63osmos-sdk/v1/MsgSubmitProposal\"<\n\x19MsgSubmitProposalResponse\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\xbb\x01\n\x14MsgExecLegacyContent\x12N\n\x07\x63ontent\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:5\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\"cosmos-sdk/v1/MsgExecLegacyContent\"\x1e\n\x1cMsgExecLegacyContentResponse\"\xe5\x01\n\x07MsgVote\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x31\n\x06option\x18\x03 \x01(\x0e\x32\x19.cosmos.gov.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata:$\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x15\x63osmos-sdk/v1/MsgVote\"\x11\n\x0fMsgVoteResponse\"\xff\x01\n\x0fMsgVoteWeighted\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12;\n\x07options\x18\x03 \x03(\x0b\x32!.cosmos.gov.v1.WeightedVoteOptionR\x07options\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata:,\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x1d\x63osmos-sdk/v1/MsgVoteWeighted\"\x19\n\x17MsgVoteWeightedResponse\"\xe6\x01\n\nMsgDeposit\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12<\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:+\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x18\x63osmos-sdk/v1/MsgDeposit\"\x14\n\x12MsgDepositResponse\"\xbb\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x15.cosmos.gov.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#cosmos-sdk/x/gov/v1/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\x8a\x01\n\x11MsgCancelProposal\x12\x30\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x0f\xea\xde\x1f\x0bproposal_idR\nproposalId\x12\x34\n\x08proposer\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer:\r\x82\xe7\xb0*\x08proposer\"\xc1\x01\n\x19MsgCancelProposalResponse\x12\x30\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x0f\xea\xde\x1f\x0bproposal_idR\nproposalId\x12I\n\rcanceled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x0c\x63\x61nceledTime\x12\'\n\x0f\x63\x61nceled_height\x18\x03 \x01(\x04R\x0e\x63\x61nceledHeight2\xe8\x04\n\x03Msg\x12\\\n\x0eSubmitProposal\x12 .cosmos.gov.v1.MsgSubmitProposal\x1a(.cosmos.gov.v1.MsgSubmitProposalResponse\x12\x65\n\x11\x45xecLegacyContent\x12#.cosmos.gov.v1.MsgExecLegacyContent\x1a+.cosmos.gov.v1.MsgExecLegacyContentResponse\x12>\n\x04Vote\x12\x16.cosmos.gov.v1.MsgVote\x1a\x1e.cosmos.gov.v1.MsgVoteResponse\x12V\n\x0cVoteWeighted\x12\x1e.cosmos.gov.v1.MsgVoteWeighted\x1a&.cosmos.gov.v1.MsgVoteWeightedResponse\x12G\n\x07\x44\x65posit\x12\x19.cosmos.gov.v1.MsgDeposit\x1a!.cosmos.gov.v1.MsgDepositResponse\x12V\n\x0cUpdateParams\x12\x1e.cosmos.gov.v1.MsgUpdateParams\x1a&.cosmos.gov.v1.MsgUpdateParamsResponse\x12\\\n\x0e\x43\x61ncelProposal\x12 .cosmos.gov.v1.MsgCancelProposal\x1a(.cosmos.gov.v1.MsgCancelProposalResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9f\x01\n\x11\x63om.cosmos.gov.v1B\x07TxProtoP\x01Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\xa2\x02\x03\x43GX\xaa\x02\rCosmos.Gov.V1\xca\x02\rCosmos\\Gov\\V1\xe2\x02\x19\x43osmos\\Gov\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Gov::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.v1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\021com.cosmos.gov.v1B\007TxProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1" - ) - _globals["_MSGSUBMITPROPOSAL"].fields_by_name["initial_deposit"]._loaded_options = None - _globals["_MSGSUBMITPROPOSAL"].fields_by_name[ - "initial_deposit" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_MSGSUBMITPROPOSAL"].fields_by_name["proposer"]._loaded_options = None - _globals["_MSGSUBMITPROPOSAL"].fields_by_name["proposer"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSUBMITPROPOSAL"]._loaded_options = None - _globals["_MSGSUBMITPROPOSAL"]._serialized_options = ( - b"\202\347\260*\010proposer\212\347\260*\037cosmos-sdk/v1/MsgSubmitProposal" - ) - _globals["_MSGEXECLEGACYCONTENT"].fields_by_name["content"]._loaded_options = None - _globals["_MSGEXECLEGACYCONTENT"].fields_by_name[ - "content" - ]._serialized_options = b"\312\264-\032cosmos.gov.v1beta1.Content" - _globals["_MSGEXECLEGACYCONTENT"]._loaded_options = None - _globals["_MSGEXECLEGACYCONTENT"]._serialized_options = ( - b'\202\347\260*\tauthority\212\347\260*"cosmos-sdk/v1/MsgExecLegacyContent' - ) - _globals["_MSGVOTE"].fields_by_name["proposal_id"]._loaded_options = None - _globals["_MSGVOTE"].fields_by_name[ - "proposal_id" - ]._serialized_options = b"\352\336\037\013proposal_id\250\347\260*\001" - _globals["_MSGVOTE"].fields_by_name["voter"]._loaded_options = None - _globals["_MSGVOTE"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGVOTE"]._loaded_options = None - _globals["_MSGVOTE"]._serialized_options = b"\202\347\260*\005voter\212\347\260*\025cosmos-sdk/v1/MsgVote" - _globals["_MSGVOTEWEIGHTED"].fields_by_name["proposal_id"]._loaded_options = None - _globals["_MSGVOTEWEIGHTED"].fields_by_name[ - "proposal_id" - ]._serialized_options = b"\352\336\037\013proposal_id\250\347\260*\001" - _globals["_MSGVOTEWEIGHTED"].fields_by_name["voter"]._loaded_options = None - _globals["_MSGVOTEWEIGHTED"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGVOTEWEIGHTED"]._loaded_options = None - _globals["_MSGVOTEWEIGHTED"]._serialized_options = ( - b"\202\347\260*\005voter\212\347\260*\035cosmos-sdk/v1/MsgVoteWeighted" - ) - _globals["_MSGDEPOSIT"].fields_by_name["proposal_id"]._loaded_options = None - _globals["_MSGDEPOSIT"].fields_by_name[ - "proposal_id" - ]._serialized_options = b"\352\336\037\013proposal_id\250\347\260*\001" - _globals["_MSGDEPOSIT"].fields_by_name["depositor"]._loaded_options = None - _globals["_MSGDEPOSIT"].fields_by_name["depositor"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGDEPOSIT"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGDEPOSIT"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGDEPOSIT"]._loaded_options = None - _globals["_MSGDEPOSIT"]._serialized_options = b"\202\347\260*\tdepositor\212\347\260*\030cosmos-sdk/v1/MsgDeposit" - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*#cosmos-sdk/x/gov/v1/MsgUpdateParams" - ) - _globals["_MSGCANCELPROPOSAL"].fields_by_name["proposal_id"]._loaded_options = None - _globals["_MSGCANCELPROPOSAL"].fields_by_name["proposal_id"]._serialized_options = b"\352\336\037\013proposal_id" - _globals["_MSGCANCELPROPOSAL"].fields_by_name["proposer"]._loaded_options = None - _globals["_MSGCANCELPROPOSAL"].fields_by_name["proposer"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGCANCELPROPOSAL"]._loaded_options = None - _globals["_MSGCANCELPROPOSAL"]._serialized_options = b"\202\347\260*\010proposer" - _globals["_MSGCANCELPROPOSALRESPONSE"].fields_by_name["proposal_id"]._loaded_options = None - _globals["_MSGCANCELPROPOSALRESPONSE"].fields_by_name[ - "proposal_id" - ]._serialized_options = b"\352\336\037\013proposal_id" - _globals["_MSGCANCELPROPOSALRESPONSE"].fields_by_name["canceled_time"]._loaded_options = None - _globals["_MSGCANCELPROPOSALRESPONSE"].fields_by_name[ - "canceled_time" - ]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGSUBMITPROPOSAL"]._serialized_start = 252 - _globals["_MSGSUBMITPROPOSAL"]._serialized_end = 673 - _globals["_MSGSUBMITPROPOSALRESPONSE"]._serialized_start = 675 - _globals["_MSGSUBMITPROPOSALRESPONSE"]._serialized_end = 735 - _globals["_MSGEXECLEGACYCONTENT"]._serialized_start = 738 - _globals["_MSGEXECLEGACYCONTENT"]._serialized_end = 925 - _globals["_MSGEXECLEGACYCONTENTRESPONSE"]._serialized_start = 927 - _globals["_MSGEXECLEGACYCONTENTRESPONSE"]._serialized_end = 957 - _globals["_MSGVOTE"]._serialized_start = 960 - _globals["_MSGVOTE"]._serialized_end = 1189 - _globals["_MSGVOTERESPONSE"]._serialized_start = 1191 - _globals["_MSGVOTERESPONSE"]._serialized_end = 1208 - _globals["_MSGVOTEWEIGHTED"]._serialized_start = 1211 - _globals["_MSGVOTEWEIGHTED"]._serialized_end = 1466 - _globals["_MSGVOTEWEIGHTEDRESPONSE"]._serialized_start = 1468 - _globals["_MSGVOTEWEIGHTEDRESPONSE"]._serialized_end = 1493 - _globals["_MSGDEPOSIT"]._serialized_start = 1496 - _globals["_MSGDEPOSIT"]._serialized_end = 1726 - _globals["_MSGDEPOSITRESPONSE"]._serialized_start = 1728 - _globals["_MSGDEPOSITRESPONSE"]._serialized_end = 1748 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 1751 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 1938 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1940 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1965 - _globals["_MSGCANCELPROPOSAL"]._serialized_start = 1968 - _globals["_MSGCANCELPROPOSAL"]._serialized_end = 2106 - _globals["_MSGCANCELPROPOSALRESPONSE"]._serialized_start = 2109 - _globals["_MSGCANCELPROPOSALRESPONSE"]._serialized_end = 2302 - _globals["_MSG"]._serialized_start = 2305 - _globals["_MSG"]._serialized_end = 2921 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.gov.v1B\007TxProtoP\001Z+github.com/cosmos/cosmos-sdk/x/gov/types/v1\242\002\003CGX\252\002\rCosmos.Gov.V1\312\002\rCosmos\\Gov\\V1\342\002\031Cosmos\\Gov\\V1\\GPBMetadata\352\002\017Cosmos::Gov::V1' + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['initial_deposit']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['initial_deposit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['proposer']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSUBMITPROPOSAL']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL']._serialized_options = b'\202\347\260*\010proposer\212\347\260*\037cosmos-sdk/v1/MsgSubmitProposal' + _globals['_MSGEXECLEGACYCONTENT'].fields_by_name['content']._loaded_options = None + _globals['_MSGEXECLEGACYCONTENT'].fields_by_name['content']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_MSGEXECLEGACYCONTENT']._loaded_options = None + _globals['_MSGEXECLEGACYCONTENT']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\"cosmos-sdk/v1/MsgExecLegacyContent' + _globals['_MSGVOTE'].fields_by_name['proposal_id']._loaded_options = None + _globals['_MSGVOTE'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' + _globals['_MSGVOTE'].fields_by_name['voter']._loaded_options = None + _globals['_MSGVOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGVOTE']._loaded_options = None + _globals['_MSGVOTE']._serialized_options = b'\202\347\260*\005voter\212\347\260*\025cosmos-sdk/v1/MsgVote' + _globals['_MSGVOTEWEIGHTED'].fields_by_name['proposal_id']._loaded_options = None + _globals['_MSGVOTEWEIGHTED'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' + _globals['_MSGVOTEWEIGHTED'].fields_by_name['voter']._loaded_options = None + _globals['_MSGVOTEWEIGHTED'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGVOTEWEIGHTED']._loaded_options = None + _globals['_MSGVOTEWEIGHTED']._serialized_options = b'\202\347\260*\005voter\212\347\260*\035cosmos-sdk/v1/MsgVoteWeighted' + _globals['_MSGDEPOSIT'].fields_by_name['proposal_id']._loaded_options = None + _globals['_MSGDEPOSIT'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' + _globals['_MSGDEPOSIT'].fields_by_name['depositor']._loaded_options = None + _globals['_MSGDEPOSIT'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGDEPOSIT'].fields_by_name['amount']._loaded_options = None + _globals['_MSGDEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGDEPOSIT']._loaded_options = None + _globals['_MSGDEPOSIT']._serialized_options = b'\202\347\260*\tdepositor\212\347\260*\030cosmos-sdk/v1/MsgDeposit' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*#cosmos-sdk/x/gov/v1/MsgUpdateParams' + _globals['_MSGCANCELPROPOSAL'].fields_by_name['proposal_id']._loaded_options = None + _globals['_MSGCANCELPROPOSAL'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id' + _globals['_MSGCANCELPROPOSAL'].fields_by_name['proposer']._loaded_options = None + _globals['_MSGCANCELPROPOSAL'].fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCANCELPROPOSAL']._loaded_options = None + _globals['_MSGCANCELPROPOSAL']._serialized_options = b'\202\347\260*\010proposer' + _globals['_MSGCANCELPROPOSALRESPONSE'].fields_by_name['proposal_id']._loaded_options = None + _globals['_MSGCANCELPROPOSALRESPONSE'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id' + _globals['_MSGCANCELPROPOSALRESPONSE'].fields_by_name['canceled_time']._loaded_options = None + _globals['_MSGCANCELPROPOSALRESPONSE'].fields_by_name['canceled_time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGSUBMITPROPOSAL']._serialized_start=252 + _globals['_MSGSUBMITPROPOSAL']._serialized_end=673 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_start=675 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_end=735 + _globals['_MSGEXECLEGACYCONTENT']._serialized_start=738 + _globals['_MSGEXECLEGACYCONTENT']._serialized_end=925 + _globals['_MSGEXECLEGACYCONTENTRESPONSE']._serialized_start=927 + _globals['_MSGEXECLEGACYCONTENTRESPONSE']._serialized_end=957 + _globals['_MSGVOTE']._serialized_start=960 + _globals['_MSGVOTE']._serialized_end=1189 + _globals['_MSGVOTERESPONSE']._serialized_start=1191 + _globals['_MSGVOTERESPONSE']._serialized_end=1208 + _globals['_MSGVOTEWEIGHTED']._serialized_start=1211 + _globals['_MSGVOTEWEIGHTED']._serialized_end=1466 + _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_start=1468 + _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_end=1493 + _globals['_MSGDEPOSIT']._serialized_start=1496 + _globals['_MSGDEPOSIT']._serialized_end=1726 + _globals['_MSGDEPOSITRESPONSE']._serialized_start=1728 + _globals['_MSGDEPOSITRESPONSE']._serialized_end=1748 + _globals['_MSGUPDATEPARAMS']._serialized_start=1751 + _globals['_MSGUPDATEPARAMS']._serialized_end=1938 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1940 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1965 + _globals['_MSGCANCELPROPOSAL']._serialized_start=1968 + _globals['_MSGCANCELPROPOSAL']._serialized_end=2106 + _globals['_MSGCANCELPROPOSALRESPONSE']._serialized_start=2109 + _globals['_MSGCANCELPROPOSALRESPONSE']._serialized_end=2302 + _globals['_MSG']._serialized_start=2305 + _globals['_MSG']._serialized_end=2921 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1/tx_pb2_grpc.py index fc8873c3..a1defed3 100644 --- a/pyinjective/proto/cosmos/gov/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/v1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the gov Msg service.""" + """Msg defines the gov Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,83 +16,81 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.SubmitProposal = channel.unary_unary( - "/cosmos.gov.v1.Msg/SubmitProposal", - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1.Msg/SubmitProposal', + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, + _registered_method=True) self.ExecLegacyContent = channel.unary_unary( - "/cosmos.gov.v1.Msg/ExecLegacyContent", - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContent.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContentResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1.Msg/ExecLegacyContent', + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContent.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContentResponse.FromString, + _registered_method=True) self.Vote = channel.unary_unary( - "/cosmos.gov.v1.Msg/Vote", - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1.Msg/Vote', + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, + _registered_method=True) self.VoteWeighted = channel.unary_unary( - "/cosmos.gov.v1.Msg/VoteWeighted", - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1.Msg/VoteWeighted', + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, + _registered_method=True) self.Deposit = channel.unary_unary( - "/cosmos.gov.v1.Msg/Deposit", - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDeposit.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDepositResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1.Msg/Deposit', + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDeposit.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDepositResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( - "/cosmos.gov.v1.Msg/UpdateParams", - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1.Msg/UpdateParams', + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) self.CancelProposal = channel.unary_unary( - "/cosmos.gov.v1.Msg/CancelProposal", - request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposal.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposalResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1.Msg/CancelProposal', + request_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposal.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposalResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the gov Msg service.""" + """Msg defines the gov Msg service. + """ def SubmitProposal(self, request, context): - """SubmitProposal defines a method to create new proposal given the messages.""" + """SubmitProposal defines a method to create new proposal given the messages. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ExecLegacyContent(self, request, context): """ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal to execute a legacy content-based proposal. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Vote(self, request, context): - """Vote defines a method to add a vote on a specific proposal.""" + """Vote defines a method to add a vote on a specific proposal. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def VoteWeighted(self, request, context): - """VoteWeighted defines a method to add a weighted vote on a specific proposal.""" + """VoteWeighted defines a method to add a weighted vote on a specific proposal. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Deposit(self, request, context): - """Deposit defines a method to add deposit on a specific proposal.""" + """Deposit defines a method to add deposit on a specific proposal. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateParams(self, request, context): """UpdateParams defines a governance operation for updating the x/gov module @@ -100,8 +99,8 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CancelProposal(self, request, context): """CancelProposal defines a method to cancel governance proposal @@ -109,74 +108,74 @@ def CancelProposal(self, request, context): Since: cosmos-sdk 0.50 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "SubmitProposal": grpc.unary_unary_rpc_method_handler( - servicer.SubmitProposal, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposal.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, - ), - "ExecLegacyContent": grpc.unary_unary_rpc_method_handler( - servicer.ExecLegacyContent, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContent.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContentResponse.SerializeToString, - ), - "Vote": grpc.unary_unary_rpc_method_handler( - servicer.Vote, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVote.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteResponse.SerializeToString, - ), - "VoteWeighted": grpc.unary_unary_rpc_method_handler( - servicer.VoteWeighted, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeighted.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeightedResponse.SerializeToString, - ), - "Deposit": grpc.unary_unary_rpc_method_handler( - servicer.Deposit, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDeposit.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDepositResponse.SerializeToString, - ), - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - "CancelProposal": grpc.unary_unary_rpc_method_handler( - servicer.CancelProposal, - request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposal.FromString, - response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposalResponse.SerializeToString, - ), + 'SubmitProposal': grpc.unary_unary_rpc_method_handler( + servicer.SubmitProposal, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposal.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, + ), + 'ExecLegacyContent': grpc.unary_unary_rpc_method_handler( + servicer.ExecLegacyContent, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContent.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContentResponse.SerializeToString, + ), + 'Vote': grpc.unary_unary_rpc_method_handler( + servicer.Vote, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVote.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteResponse.SerializeToString, + ), + 'VoteWeighted': grpc.unary_unary_rpc_method_handler( + servicer.VoteWeighted, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeighted.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeightedResponse.SerializeToString, + ), + 'Deposit': grpc.unary_unary_rpc_method_handler( + servicer.Deposit, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDeposit.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDepositResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'CancelProposal': grpc.unary_unary_rpc_method_handler( + servicer.CancelProposal, + request_deserializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposal.FromString, + response_serializer=cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposalResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.gov.v1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.gov.v1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.gov.v1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.gov.v1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the gov Msg service.""" + """Msg defines the gov Msg service. + """ @staticmethod - def SubmitProposal( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SubmitProposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1.Msg/SubmitProposal", + '/cosmos.gov.v1.Msg/SubmitProposal', cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, options, @@ -187,26 +186,23 @@ def SubmitProposal( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ExecLegacyContent( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ExecLegacyContent(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1.Msg/ExecLegacyContent", + '/cosmos.gov.v1.Msg/ExecLegacyContent', cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContent.SerializeToString, cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgExecLegacyContentResponse.FromString, options, @@ -217,26 +213,23 @@ def ExecLegacyContent( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Vote( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Vote(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1.Msg/Vote", + '/cosmos.gov.v1.Msg/Vote', cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, options, @@ -247,26 +240,23 @@ def Vote( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def VoteWeighted( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def VoteWeighted(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1.Msg/VoteWeighted", + '/cosmos.gov.v1.Msg/VoteWeighted', cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, options, @@ -277,26 +267,23 @@ def VoteWeighted( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Deposit( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Deposit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1.Msg/Deposit", + '/cosmos.gov.v1.Msg/Deposit', cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDeposit.SerializeToString, cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgDepositResponse.FromString, options, @@ -307,26 +294,23 @@ def Deposit( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1.Msg/UpdateParams", + '/cosmos.gov.v1.Msg/UpdateParams', cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -337,26 +321,23 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CancelProposal( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CancelProposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1.Msg/CancelProposal", + '/cosmos.gov.v1.Msg/CancelProposal', cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposal.SerializeToString, cosmos_dot_gov_dot_v1_dot_tx__pb2.MsgCancelProposalResponse.FromString, options, @@ -367,5 +348,4 @@ def CancelProposal( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py index 02e0c4b2..6b20275e 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,38 +17,26 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n cosmos/gov/v1beta1/genesis.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x11\x61mino/amino.proto"\x9e\x04\n\x0cGenesisState\x12\x30\n\x14starting_proposal_id\x18\x01 \x01(\x04R\x12startingProposalId\x12N\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\x15\xc8\xde\x1f\x00\xaa\xdf\x1f\x08\x44\x65posits\xa8\xe7\xb0*\x01R\x08\x64\x65posits\x12\x42\n\x05votes\x18\x03 \x03(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\x12\xc8\xde\x1f\x00\xaa\xdf\x1f\x05Votes\xa8\xe7\xb0*\x01R\x05votes\x12R\n\tproposals\x18\x04 \x03(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\x16\xc8\xde\x1f\x00\xaa\xdf\x1f\tProposals\xa8\xe7\xb0*\x01R\tproposals\x12S\n\x0e\x64\x65posit_params\x18\x05 \x01(\x0b\x32!.cosmos.gov.v1beta1.DepositParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdepositParams\x12P\n\rvoting_params\x18\x06 \x01(\x0b\x32 .cosmos.gov.v1beta1.VotingParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cvotingParams\x12M\n\x0ctally_params\x18\x07 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0btallyParamsB\xc2\x01\n\x16\x63om.cosmos.gov.v1beta1B\x0cGenesisProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/gov/v1beta1/genesis.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x11\x61mino/amino.proto\"\x9e\x04\n\x0cGenesisState\x12\x30\n\x14starting_proposal_id\x18\x01 \x01(\x04R\x12startingProposalId\x12N\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\x15\xc8\xde\x1f\x00\xaa\xdf\x1f\x08\x44\x65posits\xa8\xe7\xb0*\x01R\x08\x64\x65posits\x12\x42\n\x05votes\x18\x03 \x03(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\x12\xc8\xde\x1f\x00\xaa\xdf\x1f\x05Votes\xa8\xe7\xb0*\x01R\x05votes\x12R\n\tproposals\x18\x04 \x03(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\x16\xc8\xde\x1f\x00\xaa\xdf\x1f\tProposals\xa8\xe7\xb0*\x01R\tproposals\x12S\n\x0e\x64\x65posit_params\x18\x05 \x01(\x0b\x32!.cosmos.gov.v1beta1.DepositParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdepositParams\x12P\n\rvoting_params\x18\x06 \x01(\x0b\x32 .cosmos.gov.v1beta1.VotingParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cvotingParams\x12M\n\x0ctally_params\x18\x07 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0btallyParamsB\xc2\x01\n\x16\x63om.cosmos.gov.v1beta1B\x0cGenesisProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.cosmos.gov.v1beta1B\014GenesisProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1" - ) - _globals["_GENESISSTATE"].fields_by_name["deposits"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "deposits" - ]._serialized_options = b"\310\336\037\000\252\337\037\010Deposits\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["votes"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "votes" - ]._serialized_options = b"\310\336\037\000\252\337\037\005Votes\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["proposals"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "proposals" - ]._serialized_options = b"\310\336\037\000\252\337\037\tProposals\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["deposit_params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "deposit_params" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["voting_params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["voting_params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["tally_params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["tally_params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"]._serialized_start = 128 - _globals["_GENESISSTATE"]._serialized_end = 670 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.gov.v1beta1B\014GenesisProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['deposits']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['deposits']._serialized_options = b'\310\336\037\000\252\337\037\010Deposits\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['votes']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['votes']._serialized_options = b'\310\336\037\000\252\337\037\005Votes\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['proposals']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['proposals']._serialized_options = b'\310\336\037\000\252\337\037\tProposals\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['deposit_params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['deposit_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['voting_params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['voting_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['tally_params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['tally_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE']._serialized_start=128 + _globals['_GENESISSTATE']._serialized_end=670 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/genesis_pb2_grpc.py @@ -1,3 +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/cosmos/gov/v1beta1/gov_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2.py index 58681715..100d1d14 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2.py @@ -7,7 +7,6 @@ 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() @@ -22,180 +21,118 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1c\x63osmos/gov/v1beta1/gov.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\x9c\x01\n\x12WeightedVoteOption\x12\x36\n\x06option\x18\x01 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionR\x06option\x12N\n\x06weight\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x06weight"\x86\x01\n\x0cTextProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription:>\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17\x63osmos-sdk/TextProposal"\xd6\x01\n\x07\x44\x65posit\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12h\n\x06\x61mount\x18\x03 \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*\x01R\x06\x61mount:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xd9\x05\n\x08Proposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12N\n\x07\x63ontent\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12:\n\x06status\x18\x03 \x01(\x0e\x32".cosmos.gov.v1beta1.ProposalStatusR\x06status\x12X\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x10\x66inalTallyResult\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime\x12S\n\x10\x64\x65posit_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x64\x65positEndTime\x12u\n\rtotal_deposit\x18\x07 \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*\x01R\x0ctotalDeposit\x12U\n\x11voting_start_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0fvotingStartTime\x12Q\n\x0fvoting_end_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\rvotingEndTime:\x04\xe8\xa0\x1f\x01"\xa5\x02\n\x0bTallyResult\x12=\n\x03yes\x18\x01 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x03yes\x12\x45\n\x07\x61\x62stain\x18\x02 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x61\x62stain\x12;\n\x02no\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x02no\x12M\n\x0cno_with_veto\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\nnoWithVeto:\x04\xe8\xa0\x1f\x01"\xfa\x01\n\x04Vote\x12\x33\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x12\xea\xde\x1f\x02id\xa2\xe7\xb0*\x02id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12:\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionB\x02\x18\x01R\x06option\x12K\n\x07options\x18\x04 \x03(\x0b\x32&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07options:\x04\xe8\xa0\x1f\x00"\x8a\x02\n\rDepositParams\x12\x85\x01\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBI\xc8\xde\x1f\x00\xea\xde\x1f\x15min_deposit,omitempty\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\nminDeposit\x12q\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB(\xc8\xde\x1f\x00\xea\xde\x1f\x1cmax_deposit_period,omitempty\x98\xdf\x1f\x01R\x10maxDepositPeriod"s\n\x0cVotingParams\x12\x63\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB#\xc8\xde\x1f\x00\xea\xde\x1f\x17voting_period,omitempty\x98\xdf\x1f\x01R\x0cvotingPeriod"\xca\x02\n\x0bTallyParams\x12]\n\x06quorum\x18\x01 \x01(\x0c\x42\x45\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x10quorum,omitempty\xd2\xb4-\ncosmos.DecR\x06quorum\x12\x66\n\tthreshold\x18\x02 \x01(\x0c\x42H\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x13threshold,omitempty\xd2\xb4-\ncosmos.DecR\tthreshold\x12t\n\x0eveto_threshold\x18\x03 \x01(\x0c\x42M\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x18veto_threshold,omitempty\xd2\xb4-\ncosmos.DecR\rvetoThreshold*\xe6\x01\n\nVoteOption\x12,\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bOptionEmpty\x12"\n\x0fVOTE_OPTION_YES\x10\x01\x1a\r\x8a\x9d \tOptionYes\x12*\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x1a\x11\x8a\x9d \rOptionAbstain\x12 \n\x0eVOTE_OPTION_NO\x10\x03\x1a\x0c\x8a\x9d \x08OptionNo\x12\x32\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04\x1a\x14\x8a\x9d \x10OptionNoWithVeto\x1a\x04\x88\xa3\x1e\x00*\xcc\x02\n\x0eProposalStatus\x12.\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x1a\r\x8a\x9d \tStatusNil\x12;\n\x1ePROPOSAL_STATUS_DEPOSIT_PERIOD\x10\x01\x1a\x17\x8a\x9d \x13StatusDepositPeriod\x12\x39\n\x1dPROPOSAL_STATUS_VOTING_PERIOD\x10\x02\x1a\x16\x8a\x9d \x12StatusVotingPeriod\x12,\n\x16PROPOSAL_STATUS_PASSED\x10\x03\x1a\x10\x8a\x9d \x0cStatusPassed\x12\x30\n\x18PROPOSAL_STATUS_REJECTED\x10\x04\x1a\x12\x8a\x9d \x0eStatusRejected\x12,\n\x16PROPOSAL_STATUS_FAILED\x10\x05\x1a\x10\x8a\x9d \x0cStatusFailed\x1a\x04\x88\xa3\x1e\x00\x42\xc2\x01\n\x16\x63om.cosmos.gov.v1beta1B\x08GovProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/gov/v1beta1/gov.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x9c\x01\n\x12WeightedVoteOption\x12\x36\n\x06option\x18\x01 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionR\x06option\x12N\n\x06weight\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x06weight\"\x86\x01\n\x0cTextProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription:>\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17\x63osmos-sdk/TextProposal\"\xd6\x01\n\x07\x44\x65posit\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12h\n\x06\x61mount\x18\x03 \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*\x01R\x06\x61mount:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd9\x05\n\x08Proposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12N\n\x07\x63ontent\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12:\n\x06status\x18\x03 \x01(\x0e\x32\".cosmos.gov.v1beta1.ProposalStatusR\x06status\x12X\n\x12\x66inal_tally_result\x18\x04 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x10\x66inalTallyResult\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime\x12S\n\x10\x64\x65posit_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x64\x65positEndTime\x12u\n\rtotal_deposit\x18\x07 \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*\x01R\x0ctotalDeposit\x12U\n\x11voting_start_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0fvotingStartTime\x12Q\n\x0fvoting_end_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\rvotingEndTime:\x04\xe8\xa0\x1f\x01\"\xa5\x02\n\x0bTallyResult\x12=\n\x03yes\x18\x01 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x03yes\x12\x45\n\x07\x61\x62stain\x18\x02 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x61\x62stain\x12;\n\x02no\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x02no\x12M\n\x0cno_with_veto\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\nnoWithVeto:\x04\xe8\xa0\x1f\x01\"\xfa\x01\n\x04Vote\x12\x33\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x12\xea\xde\x1f\x02id\xa2\xe7\xb0*\x02id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12:\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionB\x02\x18\x01R\x06option\x12K\n\x07options\x18\x04 \x03(\x0b\x32&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07options:\x04\xe8\xa0\x1f\x00\"\x8a\x02\n\rDepositParams\x12\x85\x01\n\x0bmin_deposit\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBI\xc8\xde\x1f\x00\xea\xde\x1f\x15min_deposit,omitempty\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\nminDeposit\x12q\n\x12max_deposit_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB(\xc8\xde\x1f\x00\xea\xde\x1f\x1cmax_deposit_period,omitempty\x98\xdf\x1f\x01R\x10maxDepositPeriod\"s\n\x0cVotingParams\x12\x63\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB#\xc8\xde\x1f\x00\xea\xde\x1f\x17voting_period,omitempty\x98\xdf\x1f\x01R\x0cvotingPeriod\"\xca\x02\n\x0bTallyParams\x12]\n\x06quorum\x18\x01 \x01(\x0c\x42\x45\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x10quorum,omitempty\xd2\xb4-\ncosmos.DecR\x06quorum\x12\x66\n\tthreshold\x18\x02 \x01(\x0c\x42H\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x13threshold,omitempty\xd2\xb4-\ncosmos.DecR\tthreshold\x12t\n\x0eveto_threshold\x18\x03 \x01(\x0c\x42M\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xea\xde\x1f\x18veto_threshold,omitempty\xd2\xb4-\ncosmos.DecR\rvetoThreshold*\xe6\x01\n\nVoteOption\x12,\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bOptionEmpty\x12\"\n\x0fVOTE_OPTION_YES\x10\x01\x1a\r\x8a\x9d \tOptionYes\x12*\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x1a\x11\x8a\x9d \rOptionAbstain\x12 \n\x0eVOTE_OPTION_NO\x10\x03\x1a\x0c\x8a\x9d \x08OptionNo\x12\x32\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04\x1a\x14\x8a\x9d \x10OptionNoWithVeto\x1a\x04\x88\xa3\x1e\x00*\xcc\x02\n\x0eProposalStatus\x12.\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x1a\r\x8a\x9d \tStatusNil\x12;\n\x1ePROPOSAL_STATUS_DEPOSIT_PERIOD\x10\x01\x1a\x17\x8a\x9d \x13StatusDepositPeriod\x12\x39\n\x1dPROPOSAL_STATUS_VOTING_PERIOD\x10\x02\x1a\x16\x8a\x9d \x12StatusVotingPeriod\x12,\n\x16PROPOSAL_STATUS_PASSED\x10\x03\x1a\x10\x8a\x9d \x0cStatusPassed\x12\x30\n\x18PROPOSAL_STATUS_REJECTED\x10\x04\x1a\x12\x8a\x9d \x0eStatusRejected\x12,\n\x16PROPOSAL_STATUS_FAILED\x10\x05\x1a\x10\x8a\x9d \x0cStatusFailed\x1a\x04\x88\xa3\x1e\x00\x42\xc2\x01\n\x16\x63om.cosmos.gov.v1beta1B\x08GovProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.v1beta1.gov_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.gov_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.cosmos.gov.v1beta1B\010GovProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1\310\341\036\000" - ) - _globals["_VOTEOPTION"]._loaded_options = None - _globals["_VOTEOPTION"]._serialized_options = b"\210\243\036\000" - _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_UNSPECIFIED"]._loaded_options = None - _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_UNSPECIFIED"]._serialized_options = b"\212\235 \013OptionEmpty" - _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_YES"]._loaded_options = None - _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_YES"]._serialized_options = b"\212\235 \tOptionYes" - _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_ABSTAIN"]._loaded_options = None - _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_ABSTAIN"]._serialized_options = b"\212\235 \rOptionAbstain" - _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_NO"]._loaded_options = None - _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_NO"]._serialized_options = b"\212\235 \010OptionNo" - _globals["_VOTEOPTION"].values_by_name["VOTE_OPTION_NO_WITH_VETO"]._loaded_options = None - _globals["_VOTEOPTION"].values_by_name[ - "VOTE_OPTION_NO_WITH_VETO" - ]._serialized_options = b"\212\235 \020OptionNoWithVeto" - _globals["_PROPOSALSTATUS"]._loaded_options = None - _globals["_PROPOSALSTATUS"]._serialized_options = b"\210\243\036\000" - _globals["_PROPOSALSTATUS"].values_by_name["PROPOSAL_STATUS_UNSPECIFIED"]._loaded_options = None - _globals["_PROPOSALSTATUS"].values_by_name[ - "PROPOSAL_STATUS_UNSPECIFIED" - ]._serialized_options = b"\212\235 \tStatusNil" - _globals["_PROPOSALSTATUS"].values_by_name["PROPOSAL_STATUS_DEPOSIT_PERIOD"]._loaded_options = None - _globals["_PROPOSALSTATUS"].values_by_name[ - "PROPOSAL_STATUS_DEPOSIT_PERIOD" - ]._serialized_options = b"\212\235 \023StatusDepositPeriod" - _globals["_PROPOSALSTATUS"].values_by_name["PROPOSAL_STATUS_VOTING_PERIOD"]._loaded_options = None - _globals["_PROPOSALSTATUS"].values_by_name[ - "PROPOSAL_STATUS_VOTING_PERIOD" - ]._serialized_options = b"\212\235 \022StatusVotingPeriod" - _globals["_PROPOSALSTATUS"].values_by_name["PROPOSAL_STATUS_PASSED"]._loaded_options = None - _globals["_PROPOSALSTATUS"].values_by_name[ - "PROPOSAL_STATUS_PASSED" - ]._serialized_options = b"\212\235 \014StatusPassed" - _globals["_PROPOSALSTATUS"].values_by_name["PROPOSAL_STATUS_REJECTED"]._loaded_options = None - _globals["_PROPOSALSTATUS"].values_by_name[ - "PROPOSAL_STATUS_REJECTED" - ]._serialized_options = b"\212\235 \016StatusRejected" - _globals["_PROPOSALSTATUS"].values_by_name["PROPOSAL_STATUS_FAILED"]._loaded_options = None - _globals["_PROPOSALSTATUS"].values_by_name[ - "PROPOSAL_STATUS_FAILED" - ]._serialized_options = b"\212\235 \014StatusFailed" - _globals["_WEIGHTEDVOTEOPTION"].fields_by_name["weight"]._loaded_options = None - _globals["_WEIGHTEDVOTEOPTION"].fields_by_name[ - "weight" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_TEXTPROPOSAL"]._loaded_options = None - _globals["_TEXTPROPOSAL"]._serialized_options = ( - b"\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027cosmos-sdk/TextProposal" - ) - _globals["_DEPOSIT"].fields_by_name["depositor"]._loaded_options = None - _globals["_DEPOSIT"].fields_by_name["depositor"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_DEPOSIT"].fields_by_name["amount"]._loaded_options = None - _globals["_DEPOSIT"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001" - _globals["_DEPOSIT"]._loaded_options = None - _globals["_DEPOSIT"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_PROPOSAL"].fields_by_name["content"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name["content"]._serialized_options = b"\312\264-\032cosmos.gov.v1beta1.Content" - _globals["_PROPOSAL"].fields_by_name["final_tally_result"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name[ - "final_tally_result" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_PROPOSAL"].fields_by_name["submit_time"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name[ - "submit_time" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_PROPOSAL"].fields_by_name["deposit_end_time"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name[ - "deposit_end_time" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_PROPOSAL"].fields_by_name["total_deposit"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name[ - "total_deposit" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001" - _globals["_PROPOSAL"].fields_by_name["voting_start_time"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name[ - "voting_start_time" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_PROPOSAL"].fields_by_name["voting_end_time"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name[ - "voting_end_time" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_PROPOSAL"]._loaded_options = None - _globals["_PROPOSAL"]._serialized_options = b"\350\240\037\001" - _globals["_TALLYRESULT"].fields_by_name["yes"]._loaded_options = None - _globals["_TALLYRESULT"].fields_by_name[ - "yes" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" - _globals["_TALLYRESULT"].fields_by_name["abstain"]._loaded_options = None - _globals["_TALLYRESULT"].fields_by_name[ - "abstain" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" - _globals["_TALLYRESULT"].fields_by_name["no"]._loaded_options = None - _globals["_TALLYRESULT"].fields_by_name[ - "no" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" - _globals["_TALLYRESULT"].fields_by_name["no_with_veto"]._loaded_options = None - _globals["_TALLYRESULT"].fields_by_name[ - "no_with_veto" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" - _globals["_TALLYRESULT"]._loaded_options = None - _globals["_TALLYRESULT"]._serialized_options = b"\350\240\037\001" - _globals["_VOTE"].fields_by_name["proposal_id"]._loaded_options = None - _globals["_VOTE"].fields_by_name[ - "proposal_id" - ]._serialized_options = b"\352\336\037\002id\242\347\260*\002id\250\347\260*\001" - _globals["_VOTE"].fields_by_name["voter"]._loaded_options = None - _globals["_VOTE"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_VOTE"].fields_by_name["option"]._loaded_options = None - _globals["_VOTE"].fields_by_name["option"]._serialized_options = b"\030\001" - _globals["_VOTE"].fields_by_name["options"]._loaded_options = None - _globals["_VOTE"].fields_by_name["options"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_VOTE"]._loaded_options = None - _globals["_VOTE"]._serialized_options = b"\350\240\037\000" - _globals["_DEPOSITPARAMS"].fields_by_name["min_deposit"]._loaded_options = None - _globals["_DEPOSITPARAMS"].fields_by_name[ - "min_deposit" - ]._serialized_options = ( - b"\310\336\037\000\352\336\037\025min_deposit,omitempty\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" - ) - _globals["_DEPOSITPARAMS"].fields_by_name["max_deposit_period"]._loaded_options = None - _globals["_DEPOSITPARAMS"].fields_by_name[ - "max_deposit_period" - ]._serialized_options = b"\310\336\037\000\352\336\037\034max_deposit_period,omitempty\230\337\037\001" - _globals["_VOTINGPARAMS"].fields_by_name["voting_period"]._loaded_options = None - _globals["_VOTINGPARAMS"].fields_by_name[ - "voting_period" - ]._serialized_options = b"\310\336\037\000\352\336\037\027voting_period,omitempty\230\337\037\001" - _globals["_TALLYPARAMS"].fields_by_name["quorum"]._loaded_options = None - _globals["_TALLYPARAMS"].fields_by_name[ - "quorum" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\020quorum,omitempty\322\264-\ncosmos.Dec" - _globals["_TALLYPARAMS"].fields_by_name["threshold"]._loaded_options = None - _globals["_TALLYPARAMS"].fields_by_name[ - "threshold" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\023threshold,omitempty\322\264-\ncosmos.Dec" - _globals["_TALLYPARAMS"].fields_by_name["veto_threshold"]._loaded_options = None - _globals["_TALLYPARAMS"].fields_by_name[ - "veto_threshold" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\030veto_threshold,omitempty\322\264-\ncosmos.Dec" - _globals["_VOTEOPTION"]._serialized_start = 2758 - _globals["_VOTEOPTION"]._serialized_end = 2988 - _globals["_PROPOSALSTATUS"]._serialized_start = 2991 - _globals["_PROPOSALSTATUS"]._serialized_end = 3323 - _globals["_WEIGHTEDVOTEOPTION"]._serialized_start = 245 - _globals["_WEIGHTEDVOTEOPTION"]._serialized_end = 401 - _globals["_TEXTPROPOSAL"]._serialized_start = 404 - _globals["_TEXTPROPOSAL"]._serialized_end = 538 - _globals["_DEPOSIT"]._serialized_start = 541 - _globals["_DEPOSIT"]._serialized_end = 755 - _globals["_PROPOSAL"]._serialized_start = 758 - _globals["_PROPOSAL"]._serialized_end = 1487 - _globals["_TALLYRESULT"]._serialized_start = 1490 - _globals["_TALLYRESULT"]._serialized_end = 1783 - _globals["_VOTE"]._serialized_start = 1786 - _globals["_VOTE"]._serialized_end = 2036 - _globals["_DEPOSITPARAMS"]._serialized_start = 2039 - _globals["_DEPOSITPARAMS"]._serialized_end = 2305 - _globals["_VOTINGPARAMS"]._serialized_start = 2307 - _globals["_VOTINGPARAMS"]._serialized_end = 2422 - _globals["_TALLYPARAMS"]._serialized_start = 2425 - _globals["_TALLYPARAMS"]._serialized_end = 2755 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.gov.v1beta1B\010GovProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1\310\341\036\000' + _globals['_VOTEOPTION']._loaded_options = None + _globals['_VOTEOPTION']._serialized_options = b'\210\243\036\000' + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_UNSPECIFIED"]._loaded_options = None + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_UNSPECIFIED"]._serialized_options = b'\212\235 \013OptionEmpty' + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_YES"]._loaded_options = None + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_YES"]._serialized_options = b'\212\235 \tOptionYes' + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_ABSTAIN"]._loaded_options = None + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_ABSTAIN"]._serialized_options = b'\212\235 \rOptionAbstain' + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_NO"]._loaded_options = None + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_NO"]._serialized_options = b'\212\235 \010OptionNo' + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_NO_WITH_VETO"]._loaded_options = None + _globals['_VOTEOPTION'].values_by_name["VOTE_OPTION_NO_WITH_VETO"]._serialized_options = b'\212\235 \020OptionNoWithVeto' + _globals['_PROPOSALSTATUS']._loaded_options = None + _globals['_PROPOSALSTATUS']._serialized_options = b'\210\243\036\000' + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_UNSPECIFIED"]._loaded_options = None + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_UNSPECIFIED"]._serialized_options = b'\212\235 \tStatusNil' + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_DEPOSIT_PERIOD"]._loaded_options = None + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_DEPOSIT_PERIOD"]._serialized_options = b'\212\235 \023StatusDepositPeriod' + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_VOTING_PERIOD"]._loaded_options = None + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_VOTING_PERIOD"]._serialized_options = b'\212\235 \022StatusVotingPeriod' + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_PASSED"]._loaded_options = None + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_PASSED"]._serialized_options = b'\212\235 \014StatusPassed' + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_REJECTED"]._loaded_options = None + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_REJECTED"]._serialized_options = b'\212\235 \016StatusRejected' + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_FAILED"]._loaded_options = None + _globals['_PROPOSALSTATUS'].values_by_name["PROPOSAL_STATUS_FAILED"]._serialized_options = b'\212\235 \014StatusFailed' + _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._loaded_options = None + _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_TEXTPROPOSAL']._loaded_options = None + _globals['_TEXTPROPOSAL']._serialized_options = b'\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027cosmos-sdk/TextProposal' + _globals['_DEPOSIT'].fields_by_name['depositor']._loaded_options = None + _globals['_DEPOSIT'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DEPOSIT'].fields_by_name['amount']._loaded_options = None + _globals['_DEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _globals['_DEPOSIT']._loaded_options = None + _globals['_DEPOSIT']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_PROPOSAL'].fields_by_name['content']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['content']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_PROPOSAL'].fields_by_name['final_tally_result']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['final_tally_result']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['submit_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['submit_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['total_deposit']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['total_deposit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['voting_start_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['voting_start_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['voting_end_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['voting_end_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_PROPOSAL']._loaded_options = None + _globals['_PROPOSAL']._serialized_options = b'\350\240\037\001' + _globals['_TALLYRESULT'].fields_by_name['yes']._loaded_options = None + _globals['_TALLYRESULT'].fields_by_name['yes']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_TALLYRESULT'].fields_by_name['abstain']._loaded_options = None + _globals['_TALLYRESULT'].fields_by_name['abstain']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_TALLYRESULT'].fields_by_name['no']._loaded_options = None + _globals['_TALLYRESULT'].fields_by_name['no']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_TALLYRESULT'].fields_by_name['no_with_veto']._loaded_options = None + _globals['_TALLYRESULT'].fields_by_name['no_with_veto']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_TALLYRESULT']._loaded_options = None + _globals['_TALLYRESULT']._serialized_options = b'\350\240\037\001' + _globals['_VOTE'].fields_by_name['proposal_id']._loaded_options = None + _globals['_VOTE'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\002id\242\347\260*\002id\250\347\260*\001' + _globals['_VOTE'].fields_by_name['voter']._loaded_options = None + _globals['_VOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_VOTE'].fields_by_name['option']._loaded_options = None + _globals['_VOTE'].fields_by_name['option']._serialized_options = b'\030\001' + _globals['_VOTE'].fields_by_name['options']._loaded_options = None + _globals['_VOTE'].fields_by_name['options']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_VOTE']._loaded_options = None + _globals['_VOTE']._serialized_options = b'\350\240\037\000' + _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._loaded_options = None + _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._serialized_options = b'\310\336\037\000\352\336\037\025min_deposit,omitempty\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._loaded_options = None + _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._serialized_options = b'\310\336\037\000\352\336\037\034max_deposit_period,omitempty\230\337\037\001' + _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._loaded_options = None + _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._serialized_options = b'\310\336\037\000\352\336\037\027voting_period,omitempty\230\337\037\001' + _globals['_TALLYPARAMS'].fields_by_name['quorum']._loaded_options = None + _globals['_TALLYPARAMS'].fields_by_name['quorum']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\020quorum,omitempty\322\264-\ncosmos.Dec' + _globals['_TALLYPARAMS'].fields_by_name['threshold']._loaded_options = None + _globals['_TALLYPARAMS'].fields_by_name['threshold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\023threshold,omitempty\322\264-\ncosmos.Dec' + _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._loaded_options = None + _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\352\336\037\030veto_threshold,omitempty\322\264-\ncosmos.Dec' + _globals['_VOTEOPTION']._serialized_start=2758 + _globals['_VOTEOPTION']._serialized_end=2988 + _globals['_PROPOSALSTATUS']._serialized_start=2991 + _globals['_PROPOSALSTATUS']._serialized_end=3323 + _globals['_WEIGHTEDVOTEOPTION']._serialized_start=245 + _globals['_WEIGHTEDVOTEOPTION']._serialized_end=401 + _globals['_TEXTPROPOSAL']._serialized_start=404 + _globals['_TEXTPROPOSAL']._serialized_end=538 + _globals['_DEPOSIT']._serialized_start=541 + _globals['_DEPOSIT']._serialized_end=755 + _globals['_PROPOSAL']._serialized_start=758 + _globals['_PROPOSAL']._serialized_end=1487 + _globals['_TALLYRESULT']._serialized_start=1490 + _globals['_TALLYRESULT']._serialized_end=1783 + _globals['_VOTE']._serialized_start=1786 + _globals['_VOTE']._serialized_end=2036 + _globals['_DEPOSITPARAMS']._serialized_start=2039 + _globals['_DEPOSITPARAMS']._serialized_end=2305 + _globals['_VOTINGPARAMS']._serialized_start=2307 + _globals['_VOTINGPARAMS']._serialized_end=2422 + _globals['_TALLYPARAMS']._serialized_start=2425 + _globals['_TALLYPARAMS']._serialized_end=2755 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/gov_pb2_grpc.py @@ -1,3 +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/cosmos/gov/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/query_pb2.py index d1424dfa..9435f6f4 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/query_pb2.py @@ -7,15 +7,12 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.gov.v1beta1 import gov_pb2 as cosmos_dot_gov_dot_v1beta1_dot_gov__pb2 @@ -23,140 +20,96 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1e\x63osmos/gov/v1beta1/query.proto\x12\x12\x63osmos.gov.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"\\\n\x15QueryProposalResponse\x12\x43\n\x08proposal\x18\x01 \x01(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08proposal"\x9e\x02\n\x15QueryProposalsRequest\x12K\n\x0fproposal_status\x18\x01 \x01(\x0e\x32".cosmos.gov.v1beta1.ProposalStatusR\x0eproposalStatus\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\tdepositor\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xa8\x01\n\x16QueryProposalsResponse\x12\x45\n\tproposals\x18\x01 \x03(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"m\n\x10QueryVoteRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"L\n\x11QueryVoteResponse\x12\x37\n\x04vote\x18\x01 \x01(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04vote"|\n\x11QueryVotesRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x98\x01\n\x12QueryVotesResponse\x12\x39\n\x05votes\x18\x01 \x03(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"5\n\x12QueryParamsRequest\x12\x1f\n\x0bparams_type\x18\x01 \x01(\tR\nparamsType"\x8b\x02\n\x13QueryParamsResponse\x12P\n\rvoting_params\x18\x01 \x01(\x0b\x32 .cosmos.gov.v1beta1.VotingParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cvotingParams\x12S\n\x0e\x64\x65posit_params\x18\x02 \x01(\x0b\x32!.cosmos.gov.v1beta1.DepositParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdepositParams\x12M\n\x0ctally_params\x18\x03 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0btallyParams"x\n\x13QueryDepositRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"X\n\x14QueryDepositResponse\x12@\n\x07\x64\x65posit\x18\x01 \x01(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x64\x65posit"\x7f\n\x14QueryDepositsRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xa4\x01\n\x15QueryDepositsResponse\x12\x42\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x64\x65posits\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"\\\n\x18QueryTallyResultResponse\x12@\n\x05tally\x18\x01 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05tally2\xd4\t\n\x05Query\x12\x94\x01\n\x08Proposal\x12(.cosmos.gov.v1beta1.QueryProposalRequest\x1a).cosmos.gov.v1beta1.QueryProposalResponse"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/gov/v1beta1/proposals/{proposal_id}\x12\x89\x01\n\tProposals\x12).cosmos.gov.v1beta1.QueryProposalsRequest\x1a*.cosmos.gov.v1beta1.QueryProposalsResponse"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/gov/v1beta1/proposals\x12\x96\x01\n\x04Vote\x12$.cosmos.gov.v1beta1.QueryVoteRequest\x1a%.cosmos.gov.v1beta1.QueryVoteResponse"A\x82\xd3\xe4\x93\x02;\x12\x39/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}\x12\x91\x01\n\x05Votes\x12%.cosmos.gov.v1beta1.QueryVotesRequest\x1a&.cosmos.gov.v1beta1.QueryVotesResponse"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/gov/v1beta1/proposals/{proposal_id}/votes\x12\x8b\x01\n\x06Params\x12&.cosmos.gov.v1beta1.QueryParamsRequest\x1a\'.cosmos.gov.v1beta1.QueryParamsResponse"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/gov/v1beta1/params/{params_type}\x12\xa6\x01\n\x07\x44\x65posit\x12\'.cosmos.gov.v1beta1.QueryDepositRequest\x1a(.cosmos.gov.v1beta1.QueryDepositResponse"H\x82\xd3\xe4\x93\x02\x42\x12@/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}\x12\x9d\x01\n\x08\x44\x65posits\x12(.cosmos.gov.v1beta1.QueryDepositsRequest\x1a).cosmos.gov.v1beta1.QueryDepositsResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits\x12\xa3\x01\n\x0bTallyResult\x12+.cosmos.gov.v1beta1.QueryTallyResultRequest\x1a,.cosmos.gov.v1beta1.QueryTallyResultResponse"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/gov/v1beta1/proposals/{proposal_id}/tallyB\xc0\x01\n\x16\x63om.cosmos.gov.v1beta1B\nQueryProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/gov/v1beta1/query.proto\x12\x12\x63osmos.gov.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\\\n\x15QueryProposalResponse\x12\x43\n\x08proposal\x18\x01 \x01(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08proposal\"\x9e\x02\n\x15QueryProposalsRequest\x12K\n\x0fproposal_status\x18\x01 \x01(\x0e\x32\".cosmos.gov.v1beta1.ProposalStatusR\x0eproposalStatus\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\tdepositor\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa8\x01\n\x16QueryProposalsResponse\x12\x45\n\tproposals\x18\x01 \x03(\x0b\x32\x1c.cosmos.gov.v1beta1.ProposalB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"m\n\x10QueryVoteRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"L\n\x11QueryVoteResponse\x12\x37\n\x04vote\x18\x01 \x01(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04vote\"|\n\x11QueryVotesRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x98\x01\n\x12QueryVotesResponse\x12\x39\n\x05votes\x18\x01 \x03(\x0b\x32\x18.cosmos.gov.v1beta1.VoteB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"5\n\x12QueryParamsRequest\x12\x1f\n\x0bparams_type\x18\x01 \x01(\tR\nparamsType\"\x8b\x02\n\x13QueryParamsResponse\x12P\n\rvoting_params\x18\x01 \x01(\x0b\x32 .cosmos.gov.v1beta1.VotingParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cvotingParams\x12S\n\x0e\x64\x65posit_params\x18\x02 \x01(\x0b\x32!.cosmos.gov.v1beta1.DepositParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rdepositParams\x12M\n\x0ctally_params\x18\x03 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0btallyParams\"x\n\x13QueryDepositRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"X\n\x14QueryDepositResponse\x12@\n\x07\x64\x65posit\x18\x01 \x01(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x64\x65posit\"\x7f\n\x14QueryDepositsRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa4\x01\n\x15QueryDepositsResponse\x12\x42\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x1b.cosmos.gov.v1beta1.DepositB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x64\x65posits\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\\\n\x18QueryTallyResultResponse\x12@\n\x05tally\x18\x01 \x01(\x0b\x32\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05tally2\xd4\t\n\x05Query\x12\x94\x01\n\x08Proposal\x12(.cosmos.gov.v1beta1.QueryProposalRequest\x1a).cosmos.gov.v1beta1.QueryProposalResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/gov/v1beta1/proposals/{proposal_id}\x12\x89\x01\n\tProposals\x12).cosmos.gov.v1beta1.QueryProposalsRequest\x1a*.cosmos.gov.v1beta1.QueryProposalsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/gov/v1beta1/proposals\x12\x96\x01\n\x04Vote\x12$.cosmos.gov.v1beta1.QueryVoteRequest\x1a%.cosmos.gov.v1beta1.QueryVoteResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}\x12\x91\x01\n\x05Votes\x12%.cosmos.gov.v1beta1.QueryVotesRequest\x1a&.cosmos.gov.v1beta1.QueryVotesResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/gov/v1beta1/proposals/{proposal_id}/votes\x12\x8b\x01\n\x06Params\x12&.cosmos.gov.v1beta1.QueryParamsRequest\x1a\'.cosmos.gov.v1beta1.QueryParamsResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/gov/v1beta1/params/{params_type}\x12\xa6\x01\n\x07\x44\x65posit\x12\'.cosmos.gov.v1beta1.QueryDepositRequest\x1a(.cosmos.gov.v1beta1.QueryDepositResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}\x12\x9d\x01\n\x08\x44\x65posits\x12(.cosmos.gov.v1beta1.QueryDepositsRequest\x1a).cosmos.gov.v1beta1.QueryDepositsResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits\x12\xa3\x01\n\x0bTallyResult\x12+.cosmos.gov.v1beta1.QueryTallyResultRequest\x1a,.cosmos.gov.v1beta1.QueryTallyResultResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cosmos/gov/v1beta1/proposals/{proposal_id}/tallyB\xc0\x01\n\x16\x63om.cosmos.gov.v1beta1B\nQueryProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.cosmos.gov.v1beta1B\nQueryProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1" - ) - _globals["_QUERYPROPOSALRESPONSE"].fields_by_name["proposal"]._loaded_options = None - _globals["_QUERYPROPOSALRESPONSE"].fields_by_name[ - "proposal" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYPROPOSALSREQUEST"].fields_by_name["voter"]._loaded_options = None - _globals["_QUERYPROPOSALSREQUEST"].fields_by_name[ - "voter" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYPROPOSALSREQUEST"].fields_by_name["depositor"]._loaded_options = None - _globals["_QUERYPROPOSALSREQUEST"].fields_by_name[ - "depositor" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYPROPOSALSREQUEST"]._loaded_options = None - _globals["_QUERYPROPOSALSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYPROPOSALSRESPONSE"].fields_by_name["proposals"]._loaded_options = None - _globals["_QUERYPROPOSALSRESPONSE"].fields_by_name[ - "proposals" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYVOTEREQUEST"].fields_by_name["voter"]._loaded_options = None - _globals["_QUERYVOTEREQUEST"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYVOTEREQUEST"]._loaded_options = None - _globals["_QUERYVOTEREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYVOTERESPONSE"].fields_by_name["vote"]._loaded_options = None - _globals["_QUERYVOTERESPONSE"].fields_by_name["vote"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYVOTESRESPONSE"].fields_by_name["votes"]._loaded_options = None - _globals["_QUERYVOTESRESPONSE"].fields_by_name["votes"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["voting_params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name[ - "voting_params" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["deposit_params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name[ - "deposit_params" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["tally_params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name[ - "tally_params" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYDEPOSITREQUEST"].fields_by_name["depositor"]._loaded_options = None - _globals["_QUERYDEPOSITREQUEST"].fields_by_name[ - "depositor" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYDEPOSITREQUEST"]._loaded_options = None - _globals["_QUERYDEPOSITREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYDEPOSITRESPONSE"].fields_by_name["deposit"]._loaded_options = None - _globals["_QUERYDEPOSITRESPONSE"].fields_by_name[ - "deposit" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYDEPOSITSRESPONSE"].fields_by_name["deposits"]._loaded_options = None - _globals["_QUERYDEPOSITSRESPONSE"].fields_by_name[ - "deposits" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYTALLYRESULTRESPONSE"].fields_by_name["tally"]._loaded_options = None - _globals["_QUERYTALLYRESULTRESPONSE"].fields_by_name[ - "tally" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERY"].methods_by_name["Proposal"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Proposal" - ]._serialized_options = b"\202\323\344\223\002-\022+/cosmos/gov/v1beta1/proposals/{proposal_id}" - _globals["_QUERY"].methods_by_name["Proposals"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Proposals" - ]._serialized_options = b"\202\323\344\223\002\037\022\035/cosmos/gov/v1beta1/proposals" - _globals["_QUERY"].methods_by_name["Vote"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Vote" - ]._serialized_options = b"\202\323\344\223\002;\0229/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}" - _globals["_QUERY"].methods_by_name["Votes"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Votes" - ]._serialized_options = b"\202\323\344\223\0023\0221/cosmos/gov/v1beta1/proposals/{proposal_id}/votes" - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\202\323\344\223\002*\022(/cosmos/gov/v1beta1/params/{params_type}" - _globals["_QUERY"].methods_by_name["Deposit"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Deposit" - ]._serialized_options = ( - b"\202\323\344\223\002B\022@/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}" - ) - _globals["_QUERY"].methods_by_name["Deposits"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Deposits" - ]._serialized_options = b"\202\323\344\223\0026\0224/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits" - _globals["_QUERY"].methods_by_name["TallyResult"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "TallyResult" - ]._serialized_options = b"\202\323\344\223\0023\0221/cosmos/gov/v1beta1/proposals/{proposal_id}/tally" - _globals["_QUERYPROPOSALREQUEST"]._serialized_start = 226 - _globals["_QUERYPROPOSALREQUEST"]._serialized_end = 281 - _globals["_QUERYPROPOSALRESPONSE"]._serialized_start = 283 - _globals["_QUERYPROPOSALRESPONSE"]._serialized_end = 375 - _globals["_QUERYPROPOSALSREQUEST"]._serialized_start = 378 - _globals["_QUERYPROPOSALSREQUEST"]._serialized_end = 664 - _globals["_QUERYPROPOSALSRESPONSE"]._serialized_start = 667 - _globals["_QUERYPROPOSALSRESPONSE"]._serialized_end = 835 - _globals["_QUERYVOTEREQUEST"]._serialized_start = 837 - _globals["_QUERYVOTEREQUEST"]._serialized_end = 946 - _globals["_QUERYVOTERESPONSE"]._serialized_start = 948 - _globals["_QUERYVOTERESPONSE"]._serialized_end = 1024 - _globals["_QUERYVOTESREQUEST"]._serialized_start = 1026 - _globals["_QUERYVOTESREQUEST"]._serialized_end = 1150 - _globals["_QUERYVOTESRESPONSE"]._serialized_start = 1153 - _globals["_QUERYVOTESRESPONSE"]._serialized_end = 1305 - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 1307 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 1360 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 1363 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 1630 - _globals["_QUERYDEPOSITREQUEST"]._serialized_start = 1632 - _globals["_QUERYDEPOSITREQUEST"]._serialized_end = 1752 - _globals["_QUERYDEPOSITRESPONSE"]._serialized_start = 1754 - _globals["_QUERYDEPOSITRESPONSE"]._serialized_end = 1842 - _globals["_QUERYDEPOSITSREQUEST"]._serialized_start = 1844 - _globals["_QUERYDEPOSITSREQUEST"]._serialized_end = 1971 - _globals["_QUERYDEPOSITSRESPONSE"]._serialized_start = 1974 - _globals["_QUERYDEPOSITSRESPONSE"]._serialized_end = 2138 - _globals["_QUERYTALLYRESULTREQUEST"]._serialized_start = 2140 - _globals["_QUERYTALLYRESULTREQUEST"]._serialized_end = 2198 - _globals["_QUERYTALLYRESULTRESPONSE"]._serialized_start = 2200 - _globals["_QUERYTALLYRESULTRESPONSE"]._serialized_end = 2292 - _globals["_QUERY"]._serialized_start = 2295 - _globals["_QUERY"]._serialized_end = 3531 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.gov.v1beta1B\nQueryProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1' + _globals['_QUERYPROPOSALRESPONSE'].fields_by_name['proposal']._loaded_options = None + _globals['_QUERYPROPOSALRESPONSE'].fields_by_name['proposal']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['voter']._loaded_options = None + _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['depositor']._loaded_options = None + _globals['_QUERYPROPOSALSREQUEST'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYPROPOSALSREQUEST']._loaded_options = None + _globals['_QUERYPROPOSALSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYPROPOSALSRESPONSE'].fields_by_name['proposals']._loaded_options = None + _globals['_QUERYPROPOSALSRESPONSE'].fields_by_name['proposals']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYVOTEREQUEST'].fields_by_name['voter']._loaded_options = None + _globals['_QUERYVOTEREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYVOTEREQUEST']._loaded_options = None + _globals['_QUERYVOTEREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYVOTERESPONSE'].fields_by_name['vote']._loaded_options = None + _globals['_QUERYVOTERESPONSE'].fields_by_name['vote']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYVOTESRESPONSE'].fields_by_name['votes']._loaded_options = None + _globals['_QUERYVOTESRESPONSE'].fields_by_name['votes']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['voting_params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['voting_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['deposit_params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['deposit_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['tally_params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['tally_params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDEPOSITREQUEST'].fields_by_name['depositor']._loaded_options = None + _globals['_QUERYDEPOSITREQUEST'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDEPOSITREQUEST']._loaded_options = None + _globals['_QUERYDEPOSITREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDEPOSITRESPONSE'].fields_by_name['deposit']._loaded_options = None + _globals['_QUERYDEPOSITRESPONSE'].fields_by_name['deposit']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDEPOSITSRESPONSE'].fields_by_name['deposits']._loaded_options = None + _globals['_QUERYDEPOSITSRESPONSE'].fields_by_name['deposits']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYTALLYRESULTRESPONSE'].fields_by_name['tally']._loaded_options = None + _globals['_QUERYTALLYRESULTRESPONSE'].fields_by_name['tally']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERY'].methods_by_name['Proposal']._loaded_options = None + _globals['_QUERY'].methods_by_name['Proposal']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/gov/v1beta1/proposals/{proposal_id}' + _globals['_QUERY'].methods_by_name['Proposals']._loaded_options = None + _globals['_QUERY'].methods_by_name['Proposals']._serialized_options = b'\202\323\344\223\002\037\022\035/cosmos/gov/v1beta1/proposals' + _globals['_QUERY'].methods_by_name['Vote']._loaded_options = None + _globals['_QUERY'].methods_by_name['Vote']._serialized_options = b'\202\323\344\223\002;\0229/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}' + _globals['_QUERY'].methods_by_name['Votes']._loaded_options = None + _globals['_QUERY'].methods_by_name['Votes']._serialized_options = b'\202\323\344\223\0023\0221/cosmos/gov/v1beta1/proposals/{proposal_id}/votes' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/gov/v1beta1/params/{params_type}' + _globals['_QUERY'].methods_by_name['Deposit']._loaded_options = None + _globals['_QUERY'].methods_by_name['Deposit']._serialized_options = b'\202\323\344\223\002B\022@/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}' + _globals['_QUERY'].methods_by_name['Deposits']._loaded_options = None + _globals['_QUERY'].methods_by_name['Deposits']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits' + _globals['_QUERY'].methods_by_name['TallyResult']._loaded_options = None + _globals['_QUERY'].methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\0023\0221/cosmos/gov/v1beta1/proposals/{proposal_id}/tally' + _globals['_QUERYPROPOSALREQUEST']._serialized_start=226 + _globals['_QUERYPROPOSALREQUEST']._serialized_end=281 + _globals['_QUERYPROPOSALRESPONSE']._serialized_start=283 + _globals['_QUERYPROPOSALRESPONSE']._serialized_end=375 + _globals['_QUERYPROPOSALSREQUEST']._serialized_start=378 + _globals['_QUERYPROPOSALSREQUEST']._serialized_end=664 + _globals['_QUERYPROPOSALSRESPONSE']._serialized_start=667 + _globals['_QUERYPROPOSALSRESPONSE']._serialized_end=835 + _globals['_QUERYVOTEREQUEST']._serialized_start=837 + _globals['_QUERYVOTEREQUEST']._serialized_end=946 + _globals['_QUERYVOTERESPONSE']._serialized_start=948 + _globals['_QUERYVOTERESPONSE']._serialized_end=1024 + _globals['_QUERYVOTESREQUEST']._serialized_start=1026 + _globals['_QUERYVOTESREQUEST']._serialized_end=1150 + _globals['_QUERYVOTESRESPONSE']._serialized_start=1153 + _globals['_QUERYVOTESRESPONSE']._serialized_end=1305 + _globals['_QUERYPARAMSREQUEST']._serialized_start=1307 + _globals['_QUERYPARAMSREQUEST']._serialized_end=1360 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=1363 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=1630 + _globals['_QUERYDEPOSITREQUEST']._serialized_start=1632 + _globals['_QUERYDEPOSITREQUEST']._serialized_end=1752 + _globals['_QUERYDEPOSITRESPONSE']._serialized_start=1754 + _globals['_QUERYDEPOSITRESPONSE']._serialized_end=1842 + _globals['_QUERYDEPOSITSREQUEST']._serialized_start=1844 + _globals['_QUERYDEPOSITSREQUEST']._serialized_end=1971 + _globals['_QUERYDEPOSITSRESPONSE']._serialized_start=1974 + _globals['_QUERYDEPOSITSRESPONSE']._serialized_end=2138 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_start=2140 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=2198 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=2200 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=2292 + _globals['_QUERY']._serialized_start=2295 + _globals['_QUERY']._serialized_end=3531 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1beta1/query_pb2_grpc.py index eada4b21..1c268032 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the gRPC querier service for gov module""" + """Query defines the gRPC querier service for gov module + """ def __init__(self, channel): """Constructor. @@ -15,176 +16,177 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Proposal = channel.unary_unary( - "/cosmos.gov.v1beta1.Query/Proposal", - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1beta1.Query/Proposal', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalResponse.FromString, + _registered_method=True) self.Proposals = channel.unary_unary( - "/cosmos.gov.v1beta1.Query/Proposals", - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1beta1.Query/Proposals', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsResponse.FromString, + _registered_method=True) self.Vote = channel.unary_unary( - "/cosmos.gov.v1beta1.Query/Vote", - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1beta1.Query/Vote', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteResponse.FromString, + _registered_method=True) self.Votes = channel.unary_unary( - "/cosmos.gov.v1beta1.Query/Votes", - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1beta1.Query/Votes', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesResponse.FromString, + _registered_method=True) self.Params = channel.unary_unary( - "/cosmos.gov.v1beta1.Query/Params", - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1beta1.Query/Params', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) self.Deposit = channel.unary_unary( - "/cosmos.gov.v1beta1.Query/Deposit", - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1beta1.Query/Deposit', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositResponse.FromString, + _registered_method=True) self.Deposits = channel.unary_unary( - "/cosmos.gov.v1beta1.Query/Deposits", - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1beta1.Query/Deposits', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsResponse.FromString, + _registered_method=True) self.TallyResult = channel.unary_unary( - "/cosmos.gov.v1beta1.Query/TallyResult", - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1beta1.Query/TallyResult', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service for gov module""" + """Query defines the gRPC querier service for gov module + """ def Proposal(self, request, context): - """Proposal queries proposal details based on ProposalID.""" + """Proposal queries proposal details based on ProposalID. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Proposals(self, request, context): - """Proposals queries all proposals based on given status.""" + """Proposals queries all proposals based on given status. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Vote(self, request, context): - """Vote queries voted information based on proposalID, voterAddr.""" + """Vote queries voted information based on proposalID, voterAddr. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Votes(self, request, context): - """Votes queries votes of a given proposal.""" + """Votes queries votes of a given proposal. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Params(self, request, context): - """Params queries all parameters of the gov module.""" + """Params queries all parameters of the gov module. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Deposit(self, request, context): - """Deposit queries single deposit information based on proposalID, depositor address.""" + """Deposit queries single deposit information based on proposalID, depositor address. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Deposits(self, request, context): - """Deposits queries all deposits of a single proposal.""" + """Deposits queries all deposits of a single proposal. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TallyResult(self, request, context): - """TallyResult queries the tally of a proposal vote.""" + """TallyResult queries the tally of a proposal vote. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Proposal": grpc.unary_unary_rpc_method_handler( - servicer.Proposal, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalResponse.SerializeToString, - ), - "Proposals": grpc.unary_unary_rpc_method_handler( - servicer.Proposals, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsResponse.SerializeToString, - ), - "Vote": grpc.unary_unary_rpc_method_handler( - servicer.Vote, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteResponse.SerializeToString, - ), - "Votes": grpc.unary_unary_rpc_method_handler( - servicer.Votes, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesResponse.SerializeToString, - ), - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - "Deposit": grpc.unary_unary_rpc_method_handler( - servicer.Deposit, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositResponse.SerializeToString, - ), - "Deposits": grpc.unary_unary_rpc_method_handler( - servicer.Deposits, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsResponse.SerializeToString, - ), - "TallyResult": grpc.unary_unary_rpc_method_handler( - servicer.TallyResult, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultRequest.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, - ), + 'Proposal': grpc.unary_unary_rpc_method_handler( + servicer.Proposal, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalResponse.SerializeToString, + ), + 'Proposals': grpc.unary_unary_rpc_method_handler( + servicer.Proposals, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsResponse.SerializeToString, + ), + 'Vote': grpc.unary_unary_rpc_method_handler( + servicer.Vote, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteResponse.SerializeToString, + ), + 'Votes': grpc.unary_unary_rpc_method_handler( + servicer.Votes, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesResponse.SerializeToString, + ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'Deposit': grpc.unary_unary_rpc_method_handler( + servicer.Deposit, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositResponse.SerializeToString, + ), + 'Deposits': grpc.unary_unary_rpc_method_handler( + servicer.Deposits, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsResponse.SerializeToString, + ), + 'TallyResult': grpc.unary_unary_rpc_method_handler( + servicer.TallyResult, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultRequest.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.gov.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.gov.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.gov.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.gov.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service for gov module""" + """Query defines the gRPC querier service for gov module + """ @staticmethod - def Proposal( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Proposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1beta1.Query/Proposal", + '/cosmos.gov.v1beta1.Query/Proposal', cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalRequest.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalResponse.FromString, options, @@ -195,26 +197,23 @@ def Proposal( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Proposals( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Proposals(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1beta1.Query/Proposals", + '/cosmos.gov.v1beta1.Query/Proposals', cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsRequest.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryProposalsResponse.FromString, options, @@ -225,26 +224,23 @@ def Proposals( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Vote( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Vote(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1beta1.Query/Vote", + '/cosmos.gov.v1beta1.Query/Vote', cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteRequest.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVoteResponse.FromString, options, @@ -255,26 +251,23 @@ def Vote( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Votes( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Votes(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1beta1.Query/Votes", + '/cosmos.gov.v1beta1.Query/Votes', cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesRequest.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryVotesResponse.FromString, options, @@ -285,26 +278,23 @@ def Votes( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1beta1.Query/Params", + '/cosmos.gov.v1beta1.Query/Params', cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -315,26 +305,23 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Deposit( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Deposit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1beta1.Query/Deposit", + '/cosmos.gov.v1beta1.Query/Deposit', cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositRequest.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositResponse.FromString, options, @@ -345,26 +332,23 @@ def Deposit( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Deposits( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Deposits(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1beta1.Query/Deposits", + '/cosmos.gov.v1beta1.Query/Deposits', cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsRequest.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryDepositsResponse.FromString, options, @@ -375,26 +359,23 @@ def Deposits( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def TallyResult( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def TallyResult(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1beta1.Query/TallyResult", + '/cosmos.gov.v1beta1.Query/TallyResult', cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_query__pb2.QueryTallyResultResponse.FromString, options, @@ -405,5 +386,4 @@ def TallyResult( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py index 8b95bb1f..9845faf0 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -22,86 +21,62 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1b\x63osmos/gov/v1beta1/tx.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xde\x02\n\x11MsgSubmitProposal\x12N\n\x07\x63ontent\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12\x8a\x01\n\x0finitial_deposit\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0einitialDeposit\x12\x34\n\x08proposer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer:6\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x08proposer\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSubmitProposal"R\n\x19MsgSubmitProposalResponse\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId"\xbd\x01\n\x07MsgVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionR\x06option:)\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgVote"\x11\n\x0fMsgVoteResponse"\xf8\x01\n\x0fMsgVoteWeighted\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12K\n\x07options\x18\x03 \x03(\x0b\x32&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07options:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgVoteWeighted"\x19\n\x17MsgVoteWeightedResponse"\xac\x02\n\nMsgDeposit\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:4\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x80\xdc \x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x15\x63osmos-sdk/MsgDeposit"\x14\n\x12MsgDepositResponse2\xf3\x02\n\x03Msg\x12\x66\n\x0eSubmitProposal\x12%.cosmos.gov.v1beta1.MsgSubmitProposal\x1a-.cosmos.gov.v1beta1.MsgSubmitProposalResponse\x12H\n\x04Vote\x12\x1b.cosmos.gov.v1beta1.MsgVote\x1a#.cosmos.gov.v1beta1.MsgVoteResponse\x12`\n\x0cVoteWeighted\x12#.cosmos.gov.v1beta1.MsgVoteWeighted\x1a+.cosmos.gov.v1beta1.MsgVoteWeightedResponse\x12Q\n\x07\x44\x65posit\x12\x1e.cosmos.gov.v1beta1.MsgDeposit\x1a&.cosmos.gov.v1beta1.MsgDepositResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x16\x63om.cosmos.gov.v1beta1B\x07TxProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/gov/v1beta1/tx.proto\x12\x12\x63osmos.gov.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmos/gov/v1beta1/gov.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xde\x02\n\x11MsgSubmitProposal\x12N\n\x07\x63ontent\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentR\x07\x63ontent\x12\x8a\x01\n\x0finitial_deposit\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0einitialDeposit\x12\x34\n\x08proposer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08proposer:6\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x08proposer\x8a\xe7\xb0*\x1c\x63osmos-sdk/MsgSubmitProposal\"R\n\x19MsgSubmitProposalResponse\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\"\xbd\x01\n\x07MsgVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x36\n\x06option\x18\x03 \x01(\x0e\x32\x1e.cosmos.gov.v1beta1.VoteOptionR\x06option:)\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgVote\"\x11\n\x0fMsgVoteResponse\"\xf8\x01\n\x0fMsgVoteWeighted\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12K\n\x07options\x18\x03 \x03(\x0b\x32&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07options:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgVoteWeighted\"\x19\n\x17MsgVoteWeightedResponse\"\xac\x02\n\nMsgDeposit\x12\x35\n\x0bproposal_id\x18\x01 \x01(\x04\x42\x14\xea\xde\x1f\x0bproposal_id\xa8\xe7\xb0*\x01R\nproposalId\x12\x36\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tdepositor\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:4\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x80\xdc \x00\x82\xe7\xb0*\tdepositor\x8a\xe7\xb0*\x15\x63osmos-sdk/MsgDeposit\"\x14\n\x12MsgDepositResponse2\xf3\x02\n\x03Msg\x12\x66\n\x0eSubmitProposal\x12%.cosmos.gov.v1beta1.MsgSubmitProposal\x1a-.cosmos.gov.v1beta1.MsgSubmitProposalResponse\x12H\n\x04Vote\x12\x1b.cosmos.gov.v1beta1.MsgVote\x1a#.cosmos.gov.v1beta1.MsgVoteResponse\x12`\n\x0cVoteWeighted\x12#.cosmos.gov.v1beta1.MsgVoteWeighted\x1a+.cosmos.gov.v1beta1.MsgVoteWeightedResponse\x12Q\n\x07\x44\x65posit\x12\x1e.cosmos.gov.v1beta1.MsgDeposit\x1a&.cosmos.gov.v1beta1.MsgDepositResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x16\x63om.cosmos.gov.v1beta1B\x07TxProtoP\x01Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xa2\x02\x03\x43GX\xaa\x02\x12\x43osmos.Gov.V1beta1\xca\x02\x12\x43osmos\\Gov\\V1beta1\xe2\x02\x1e\x43osmos\\Gov\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Gov::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.gov.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.cosmos.gov.v1beta1B\007TxProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1" - ) - _globals["_MSGSUBMITPROPOSAL"].fields_by_name["content"]._loaded_options = None - _globals["_MSGSUBMITPROPOSAL"].fields_by_name[ - "content" - ]._serialized_options = b"\312\264-\032cosmos.gov.v1beta1.Content" - _globals["_MSGSUBMITPROPOSAL"].fields_by_name["initial_deposit"]._loaded_options = None - _globals["_MSGSUBMITPROPOSAL"].fields_by_name[ - "initial_deposit" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_MSGSUBMITPROPOSAL"].fields_by_name["proposer"]._loaded_options = None - _globals["_MSGSUBMITPROPOSAL"].fields_by_name["proposer"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSUBMITPROPOSAL"]._loaded_options = None - _globals["_MSGSUBMITPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\010proposer\212\347\260*\034cosmos-sdk/MsgSubmitProposal" - ) - _globals["_MSGSUBMITPROPOSALRESPONSE"].fields_by_name["proposal_id"]._loaded_options = None - _globals["_MSGSUBMITPROPOSALRESPONSE"].fields_by_name[ - "proposal_id" - ]._serialized_options = b"\352\336\037\013proposal_id\250\347\260*\001" - _globals["_MSGVOTE"].fields_by_name["voter"]._loaded_options = None - _globals["_MSGVOTE"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGVOTE"]._loaded_options = None - _globals["_MSGVOTE"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\005voter\212\347\260*\022cosmos-sdk/MsgVote" - ) - _globals["_MSGVOTEWEIGHTED"].fields_by_name["proposal_id"]._loaded_options = None - _globals["_MSGVOTEWEIGHTED"].fields_by_name[ - "proposal_id" - ]._serialized_options = b"\352\336\037\013proposal_id\250\347\260*\001" - _globals["_MSGVOTEWEIGHTED"].fields_by_name["voter"]._loaded_options = None - _globals["_MSGVOTEWEIGHTED"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGVOTEWEIGHTED"].fields_by_name["options"]._loaded_options = None - _globals["_MSGVOTEWEIGHTED"].fields_by_name["options"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGVOTEWEIGHTED"]._loaded_options = None - _globals["_MSGVOTEWEIGHTED"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\005voter\212\347\260*\032cosmos-sdk/MsgVoteWeighted" - ) - _globals["_MSGDEPOSIT"].fields_by_name["proposal_id"]._loaded_options = None - _globals["_MSGDEPOSIT"].fields_by_name[ - "proposal_id" - ]._serialized_options = b"\352\336\037\013proposal_id\250\347\260*\001" - _globals["_MSGDEPOSIT"].fields_by_name["depositor"]._loaded_options = None - _globals["_MSGDEPOSIT"].fields_by_name["depositor"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGDEPOSIT"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGDEPOSIT"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_MSGDEPOSIT"]._loaded_options = None - _globals["_MSGDEPOSIT"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\200\334 \000\202\347\260*\tdepositor\212\347\260*\025cosmos-sdk/MsgDeposit" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGSUBMITPROPOSAL"]._serialized_start = 234 - _globals["_MSGSUBMITPROPOSAL"]._serialized_end = 584 - _globals["_MSGSUBMITPROPOSALRESPONSE"]._serialized_start = 586 - _globals["_MSGSUBMITPROPOSALRESPONSE"]._serialized_end = 668 - _globals["_MSGVOTE"]._serialized_start = 671 - _globals["_MSGVOTE"]._serialized_end = 860 - _globals["_MSGVOTERESPONSE"]._serialized_start = 862 - _globals["_MSGVOTERESPONSE"]._serialized_end = 879 - _globals["_MSGVOTEWEIGHTED"]._serialized_start = 882 - _globals["_MSGVOTEWEIGHTED"]._serialized_end = 1130 - _globals["_MSGVOTEWEIGHTEDRESPONSE"]._serialized_start = 1132 - _globals["_MSGVOTEWEIGHTEDRESPONSE"]._serialized_end = 1157 - _globals["_MSGDEPOSIT"]._serialized_start = 1160 - _globals["_MSGDEPOSIT"]._serialized_end = 1460 - _globals["_MSGDEPOSITRESPONSE"]._serialized_start = 1462 - _globals["_MSGDEPOSITRESPONSE"]._serialized_end = 1482 - _globals["_MSG"]._serialized_start = 1485 - _globals["_MSG"]._serialized_end = 1856 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.gov.v1beta1B\007TxProtoP\001Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\242\002\003CGX\252\002\022Cosmos.Gov.V1beta1\312\002\022Cosmos\\Gov\\V1beta1\342\002\036Cosmos\\Gov\\V1beta1\\GPBMetadata\352\002\024Cosmos::Gov::V1beta1' + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['content']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['content']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['initial_deposit']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['initial_deposit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['proposer']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['proposer']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSUBMITPROPOSAL']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\010proposer\212\347\260*\034cosmos-sdk/MsgSubmitProposal' + _globals['_MSGSUBMITPROPOSALRESPONSE'].fields_by_name['proposal_id']._loaded_options = None + _globals['_MSGSUBMITPROPOSALRESPONSE'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' + _globals['_MSGVOTE'].fields_by_name['voter']._loaded_options = None + _globals['_MSGVOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGVOTE']._loaded_options = None + _globals['_MSGVOTE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\005voter\212\347\260*\022cosmos-sdk/MsgVote' + _globals['_MSGVOTEWEIGHTED'].fields_by_name['proposal_id']._loaded_options = None + _globals['_MSGVOTEWEIGHTED'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' + _globals['_MSGVOTEWEIGHTED'].fields_by_name['voter']._loaded_options = None + _globals['_MSGVOTEWEIGHTED'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGVOTEWEIGHTED'].fields_by_name['options']._loaded_options = None + _globals['_MSGVOTEWEIGHTED'].fields_by_name['options']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGVOTEWEIGHTED']._loaded_options = None + _globals['_MSGVOTEWEIGHTED']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\005voter\212\347\260*\032cosmos-sdk/MsgVoteWeighted' + _globals['_MSGDEPOSIT'].fields_by_name['proposal_id']._loaded_options = None + _globals['_MSGDEPOSIT'].fields_by_name['proposal_id']._serialized_options = b'\352\336\037\013proposal_id\250\347\260*\001' + _globals['_MSGDEPOSIT'].fields_by_name['depositor']._loaded_options = None + _globals['_MSGDEPOSIT'].fields_by_name['depositor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGDEPOSIT'].fields_by_name['amount']._loaded_options = None + _globals['_MSGDEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGDEPOSIT']._loaded_options = None + _globals['_MSGDEPOSIT']._serialized_options = b'\210\240\037\000\350\240\037\000\200\334 \000\202\347\260*\tdepositor\212\347\260*\025cosmos-sdk/MsgDeposit' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGSUBMITPROPOSAL']._serialized_start=234 + _globals['_MSGSUBMITPROPOSAL']._serialized_end=584 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_start=586 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_end=668 + _globals['_MSGVOTE']._serialized_start=671 + _globals['_MSGVOTE']._serialized_end=860 + _globals['_MSGVOTERESPONSE']._serialized_start=862 + _globals['_MSGVOTERESPONSE']._serialized_end=879 + _globals['_MSGVOTEWEIGHTED']._serialized_start=882 + _globals['_MSGVOTEWEIGHTED']._serialized_end=1130 + _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_start=1132 + _globals['_MSGVOTEWEIGHTEDRESPONSE']._serialized_end=1157 + _globals['_MSGDEPOSIT']._serialized_start=1160 + _globals['_MSGDEPOSIT']._serialized_end=1460 + _globals['_MSGDEPOSITRESPONSE']._serialized_start=1462 + _globals['_MSGDEPOSITRESPONSE']._serialized_end=1482 + _globals['_MSG']._serialized_start=1485 + _globals['_MSG']._serialized_end=1856 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2_grpc.py index 17376dae..a8fbf803 100644 --- a/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/gov/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the gov Msg service.""" + """Msg defines the gov Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,45 +16,44 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.SubmitProposal = channel.unary_unary( - "/cosmos.gov.v1beta1.Msg/SubmitProposal", - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1beta1.Msg/SubmitProposal', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, + _registered_method=True) self.Vote = channel.unary_unary( - "/cosmos.gov.v1beta1.Msg/Vote", - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVote.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1beta1.Msg/Vote', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVote.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteResponse.FromString, + _registered_method=True) self.VoteWeighted = channel.unary_unary( - "/cosmos.gov.v1beta1.Msg/VoteWeighted", - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1beta1.Msg/VoteWeighted', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, + _registered_method=True) self.Deposit = channel.unary_unary( - "/cosmos.gov.v1beta1.Msg/Deposit", - request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, - response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, - _registered_method=True, - ) + '/cosmos.gov.v1beta1.Msg/Deposit', + request_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, + response_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the gov Msg service.""" + """Msg defines the gov Msg service. + """ def SubmitProposal(self, request, context): - """SubmitProposal defines a method to create new proposal given a content.""" + """SubmitProposal defines a method to create new proposal given a content. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Vote(self, request, context): - """Vote defines a method to add a vote on a specific proposal.""" + """Vote defines a method to add a vote on a specific proposal. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def VoteWeighted(self, request, context): """VoteWeighted defines a method to add a weighted vote on a specific proposal. @@ -61,65 +61,66 @@ def VoteWeighted(self, request, context): Since: cosmos-sdk 0.43 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Deposit(self, request, context): - """Deposit defines a method to add deposit on a specific proposal.""" + """Deposit defines a method to add deposit on a specific proposal. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "SubmitProposal": grpc.unary_unary_rpc_method_handler( - servicer.SubmitProposal, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposal.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, - ), - "Vote": grpc.unary_unary_rpc_method_handler( - servicer.Vote, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVote.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteResponse.SerializeToString, - ), - "VoteWeighted": grpc.unary_unary_rpc_method_handler( - servicer.VoteWeighted, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeighted.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeightedResponse.SerializeToString, - ), - "Deposit": grpc.unary_unary_rpc_method_handler( - servicer.Deposit, - request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDeposit.FromString, - response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.SerializeToString, - ), + 'SubmitProposal': grpc.unary_unary_rpc_method_handler( + servicer.SubmitProposal, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposal.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, + ), + 'Vote': grpc.unary_unary_rpc_method_handler( + servicer.Vote, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVote.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteResponse.SerializeToString, + ), + 'VoteWeighted': grpc.unary_unary_rpc_method_handler( + servicer.VoteWeighted, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeighted.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeightedResponse.SerializeToString, + ), + 'Deposit': grpc.unary_unary_rpc_method_handler( + servicer.Deposit, + request_deserializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDeposit.FromString, + response_serializer=cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.gov.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.gov.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.gov.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.gov.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the gov Msg service.""" + """Msg defines the gov Msg service. + """ @staticmethod - def SubmitProposal( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SubmitProposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1beta1.Msg/SubmitProposal", + '/cosmos.gov.v1beta1.Msg/SubmitProposal', cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, options, @@ -130,26 +131,23 @@ def SubmitProposal( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Vote( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Vote(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1beta1.Msg/Vote", + '/cosmos.gov.v1beta1.Msg/Vote', cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVote.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteResponse.FromString, options, @@ -160,26 +158,23 @@ def Vote( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def VoteWeighted( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def VoteWeighted(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1beta1.Msg/VoteWeighted", + '/cosmos.gov.v1beta1.Msg/VoteWeighted', cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeighted.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgVoteWeightedResponse.FromString, options, @@ -190,26 +185,23 @@ def VoteWeighted( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Deposit( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Deposit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.gov.v1beta1.Msg/Deposit", + '/cosmos.gov.v1beta1.Msg/Deposit', cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, cosmos_dot_gov_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, options, @@ -220,5 +212,4 @@ def Deposit( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/group/module/v1/module_pb2.py b/pyinjective/proto/cosmos/group/module/v1/module_pb2.py index 8348ff21..163f5e86 100644 --- a/pyinjective/proto/cosmos/group/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/group/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,24 +18,18 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#cosmos/group/module/v1/module.proto\x12\x16\x63osmos.group.module.v1\x1a cosmos/app/v1alpha1/module.proto\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x11\x61mino/amino.proto"\xbc\x01\n\x06Module\x12Z\n\x14max_execution_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x12maxExecutionPeriod\x12(\n\x10max_metadata_len\x18\x02 \x01(\x04R\x0emaxMetadataLen:,\xba\xc0\x96\xda\x01&\n$github.com/cosmos/cosmos-sdk/x/groupB\xa4\x01\n\x1a\x63om.cosmos.group.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x16\x43osmos.Group.Module.V1\xca\x02\x16\x43osmos\\Group\\Module\\V1\xe2\x02"Cosmos\\Group\\Module\\V1\\GPBMetadata\xea\x02\x19\x43osmos::Group::Module::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/group/module/v1/module.proto\x12\x16\x63osmos.group.module.v1\x1a cosmos/app/v1alpha1/module.proto\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x11\x61mino/amino.proto\"\xbc\x01\n\x06Module\x12Z\n\x14max_execution_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x12maxExecutionPeriod\x12(\n\x10max_metadata_len\x18\x02 \x01(\x04R\x0emaxMetadataLen:,\xba\xc0\x96\xda\x01&\n$github.com/cosmos/cosmos-sdk/x/groupB\xa4\x01\n\x1a\x63om.cosmos.group.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43GM\xaa\x02\x16\x43osmos.Group.Module.V1\xca\x02\x16\x43osmos\\Group\\Module\\V1\xe2\x02\"Cosmos\\Group\\Module\\V1\\GPBMetadata\xea\x02\x19\x43osmos::Group::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.group.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\032com.cosmos.group.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\026Cosmos.Group.Module.V1\312\002\026Cosmos\\Group\\Module\\V1\342\002"Cosmos\\Group\\Module\\V1\\GPBMetadata\352\002\031Cosmos::Group::Module::V1' - ) - _globals["_MODULE"].fields_by_name["max_execution_period"]._loaded_options = None - _globals["_MODULE"].fields_by_name[ - "max_execution_period" - ]._serialized_options = b"\310\336\037\000\230\337\037\001\250\347\260*\001" - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/group" - _globals["_MODULE"]._serialized_start = 171 - _globals["_MODULE"]._serialized_end = 359 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.group.module.v1B\013ModuleProtoP\001\242\002\003CGM\252\002\026Cosmos.Group.Module.V1\312\002\026Cosmos\\Group\\Module\\V1\342\002\"Cosmos\\Group\\Module\\V1\\GPBMetadata\352\002\031Cosmos::Group::Module::V1' + _globals['_MODULE'].fields_by_name['max_execution_period']._loaded_options = None + _globals['_MODULE'].fields_by_name['max_execution_period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/group' + _globals['_MODULE']._serialized_start=171 + _globals['_MODULE']._serialized_end=359 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/group/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/group/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/group/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/group/v1/events_pb2.py b/pyinjective/proto/cosmos/group/v1/events_pb2.py index 4172b9cc..3d5129a1 100644 --- a/pyinjective/proto/cosmos/group/v1/events_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/events_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,46 +16,38 @@ from pyinjective.proto.cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1c\x63osmos/group/v1/events.proto\x12\x0f\x63osmos.group.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/group/v1/types.proto"-\n\x10\x45ventCreateGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId"-\n\x10\x45ventUpdateGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId"L\n\x16\x45ventCreateGroupPolicy\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress"L\n\x16\x45ventUpdateGroupPolicy\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress"6\n\x13\x45ventSubmitProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"8\n\x15\x45ventWithdrawProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId",\n\tEventVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"\x81\x01\n\tEventExec\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12?\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x06result\x12\x12\n\x04logs\x18\x03 \x01(\tR\x04logs"`\n\x0f\x45ventLeaveGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x32\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress"\xb0\x01\n\x13\x45ventProposalPruned\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x37\n\x06status\x18\x02 \x01(\x0e\x32\x1f.cosmos.group.v1.ProposalStatusR\x06status\x12?\n\x0ctally_result\x18\x03 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultR\x0btallyResultB\xa6\x01\n\x13\x63om.cosmos.group.v1B\x0b\x45ventsProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/group/v1/events.proto\x12\x0f\x63osmos.group.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/group/v1/types.proto\"-\n\x10\x45ventCreateGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\"-\n\x10\x45ventUpdateGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\"L\n\x16\x45ventCreateGroupPolicy\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"L\n\x16\x45ventUpdateGroupPolicy\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"6\n\x13\x45ventSubmitProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"8\n\x15\x45ventWithdrawProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\",\n\tEventVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\x81\x01\n\tEventExec\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12?\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x06result\x12\x12\n\x04logs\x18\x03 \x01(\tR\x04logs\"`\n\x0f\x45ventLeaveGroup\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x32\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"\xb0\x01\n\x13\x45ventProposalPruned\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x37\n\x06status\x18\x02 \x01(\x0e\x32\x1f.cosmos.group.v1.ProposalStatusR\x06status\x12?\n\x0ctally_result\x18\x03 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultR\x0btallyResultB\xa6\x01\n\x13\x63om.cosmos.group.v1B\x0b\x45ventsProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.group.v1.events_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.events_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\023com.cosmos.group.v1B\013EventsProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1" - ) - _globals["_EVENTCREATEGROUPPOLICY"].fields_by_name["address"]._loaded_options = None - _globals["_EVENTCREATEGROUPPOLICY"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_EVENTUPDATEGROUPPOLICY"].fields_by_name["address"]._loaded_options = None - _globals["_EVENTUPDATEGROUPPOLICY"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_EVENTLEAVEGROUP"].fields_by_name["address"]._loaded_options = None - _globals["_EVENTLEAVEGROUP"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_EVENTCREATEGROUP"]._serialized_start = 105 - _globals["_EVENTCREATEGROUP"]._serialized_end = 150 - _globals["_EVENTUPDATEGROUP"]._serialized_start = 152 - _globals["_EVENTUPDATEGROUP"]._serialized_end = 197 - _globals["_EVENTCREATEGROUPPOLICY"]._serialized_start = 199 - _globals["_EVENTCREATEGROUPPOLICY"]._serialized_end = 275 - _globals["_EVENTUPDATEGROUPPOLICY"]._serialized_start = 277 - _globals["_EVENTUPDATEGROUPPOLICY"]._serialized_end = 353 - _globals["_EVENTSUBMITPROPOSAL"]._serialized_start = 355 - _globals["_EVENTSUBMITPROPOSAL"]._serialized_end = 409 - _globals["_EVENTWITHDRAWPROPOSAL"]._serialized_start = 411 - _globals["_EVENTWITHDRAWPROPOSAL"]._serialized_end = 467 - _globals["_EVENTVOTE"]._serialized_start = 469 - _globals["_EVENTVOTE"]._serialized_end = 513 - _globals["_EVENTEXEC"]._serialized_start = 516 - _globals["_EVENTEXEC"]._serialized_end = 645 - _globals["_EVENTLEAVEGROUP"]._serialized_start = 647 - _globals["_EVENTLEAVEGROUP"]._serialized_end = 743 - _globals["_EVENTPROPOSALPRUNED"]._serialized_start = 746 - _globals["_EVENTPROPOSALPRUNED"]._serialized_end = 922 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\013EventsProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' + _globals['_EVENTCREATEGROUPPOLICY'].fields_by_name['address']._loaded_options = None + _globals['_EVENTCREATEGROUPPOLICY'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EVENTUPDATEGROUPPOLICY'].fields_by_name['address']._loaded_options = None + _globals['_EVENTUPDATEGROUPPOLICY'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EVENTLEAVEGROUP'].fields_by_name['address']._loaded_options = None + _globals['_EVENTLEAVEGROUP'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EVENTCREATEGROUP']._serialized_start=105 + _globals['_EVENTCREATEGROUP']._serialized_end=150 + _globals['_EVENTUPDATEGROUP']._serialized_start=152 + _globals['_EVENTUPDATEGROUP']._serialized_end=197 + _globals['_EVENTCREATEGROUPPOLICY']._serialized_start=199 + _globals['_EVENTCREATEGROUPPOLICY']._serialized_end=275 + _globals['_EVENTUPDATEGROUPPOLICY']._serialized_start=277 + _globals['_EVENTUPDATEGROUPPOLICY']._serialized_end=353 + _globals['_EVENTSUBMITPROPOSAL']._serialized_start=355 + _globals['_EVENTSUBMITPROPOSAL']._serialized_end=409 + _globals['_EVENTWITHDRAWPROPOSAL']._serialized_start=411 + _globals['_EVENTWITHDRAWPROPOSAL']._serialized_end=467 + _globals['_EVENTVOTE']._serialized_start=469 + _globals['_EVENTVOTE']._serialized_end=513 + _globals['_EVENTEXEC']._serialized_start=516 + _globals['_EVENTEXEC']._serialized_end=645 + _globals['_EVENTLEAVEGROUP']._serialized_start=647 + _globals['_EVENTLEAVEGROUP']._serialized_end=743 + _globals['_EVENTPROPOSALPRUNED']._serialized_start=746 + _globals['_EVENTPROPOSALPRUNED']._serialized_end=922 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/events_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/events_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/group/v1/events_pb2_grpc.py +++ b/pyinjective/proto/cosmos/group/v1/events_pb2_grpc.py @@ -1,3 +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/cosmos/group/v1/genesis_pb2.py b/pyinjective/proto/cosmos/group/v1/genesis_pb2.py index d170188c..1ebf5b48 100644 --- a/pyinjective/proto/cosmos/group/v1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,18 +15,14 @@ from pyinjective.proto.cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1d\x63osmos/group/v1/genesis.proto\x12\x0f\x63osmos.group.v1\x1a\x1b\x63osmos/group/v1/types.proto"\x9e\x03\n\x0cGenesisState\x12\x1b\n\tgroup_seq\x18\x01 \x01(\x04R\x08groupSeq\x12\x32\n\x06groups\x18\x02 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12\x41\n\rgroup_members\x18\x03 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMemberR\x0cgroupMembers\x12(\n\x10group_policy_seq\x18\x04 \x01(\x04R\x0egroupPolicySeq\x12G\n\x0egroup_policies\x18\x05 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12!\n\x0cproposal_seq\x18\x06 \x01(\x04R\x0bproposalSeq\x12\x37\n\tproposals\x18\x07 \x03(\x0b\x32\x19.cosmos.group.v1.ProposalR\tproposals\x12+\n\x05votes\x18\x08 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votesB\xa7\x01\n\x13\x63om.cosmos.group.v1B\x0cGenesisProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/group/v1/genesis.proto\x12\x0f\x63osmos.group.v1\x1a\x1b\x63osmos/group/v1/types.proto\"\x9e\x03\n\x0cGenesisState\x12\x1b\n\tgroup_seq\x18\x01 \x01(\x04R\x08groupSeq\x12\x32\n\x06groups\x18\x02 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12\x41\n\rgroup_members\x18\x03 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMemberR\x0cgroupMembers\x12(\n\x10group_policy_seq\x18\x04 \x01(\x04R\x0egroupPolicySeq\x12G\n\x0egroup_policies\x18\x05 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12!\n\x0cproposal_seq\x18\x06 \x01(\x04R\x0bproposalSeq\x12\x37\n\tproposals\x18\x07 \x03(\x0b\x32\x19.cosmos.group.v1.ProposalR\tproposals\x12+\n\x05votes\x18\x08 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votesB\xa7\x01\n\x13\x63om.cosmos.group.v1B\x0cGenesisProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.group.v1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\023com.cosmos.group.v1B\014GenesisProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1" - ) - _globals["_GENESISSTATE"]._serialized_start = 80 - _globals["_GENESISSTATE"]._serialized_end = 494 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\014GenesisProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' + _globals['_GENESISSTATE']._serialized_start=80 + _globals['_GENESISSTATE']._serialized_end=494 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/group/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/group/v1/genesis_pb2_grpc.py @@ -1,3 +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/cosmos/group/v1/query_pb2.py b/pyinjective/proto/cosmos/group/v1/query_pb2.py index c8f59698..a18e3520 100644 --- a/pyinjective/proto/cosmos/group/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,169 +15,119 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1b\x63osmos/group/v1/query.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"2\n\x15QueryGroupInfoRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId"H\n\x16QueryGroupInfoResponse\x12.\n\x04info\x18\x01 \x01(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x04info"Q\n\x1bQueryGroupPolicyInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress"T\n\x1cQueryGroupPolicyInfoResponse\x12\x34\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\x04info"}\n\x18QueryGroupMembersRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x9c\x01\n\x19QueryGroupMembersResponse\x12\x36\n\x07members\x18\x01 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMemberR\x07members\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x93\x01\n\x19QueryGroupsByAdminRequest\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x99\x01\n\x1aQueryGroupsByAdminResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x85\x01\n QueryGroupPoliciesByGroupRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xb5\x01\n!QueryGroupPoliciesByGroupResponse\x12G\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x9a\x01\n QueryGroupPoliciesByAdminRequest\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xb5\x01\n!QueryGroupPoliciesByAdminResponse\x12G\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"N\n\x15QueryProposalResponse\x12\x35\n\x08proposal\x18\x01 \x01(\x0b\x32\x19.cosmos.group.v1.ProposalR\x08proposal"\xa0\x01\n"QueryProposalsByGroupPolicyRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xa7\x01\n#QueryProposalsByGroupPolicyResponse\x12\x37\n\tproposals\x18\x01 \x03(\x0b\x32\x19.cosmos.group.v1.ProposalR\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"r\n\x1fQueryVoteByProposalVoterRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter"M\n QueryVoteByProposalVoterResponse\x12)\n\x04vote\x18\x01 \x01(\x0b\x32\x15.cosmos.group.v1.VoteR\x04vote"\x86\x01\n\x1bQueryVotesByProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x94\x01\n\x1cQueryVotesByProposalResponse\x12+\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x92\x01\n\x18QueryVotesByVoterRequest\x12.\n\x05voter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x91\x01\n\x19QueryVotesByVoterResponse\x12+\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x98\x01\n\x1aQueryGroupsByMemberRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x9a\x01\n\x1bQueryGroupsByMemberResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"Y\n\x18QueryTallyResultResponse\x12=\n\x05tally\x18\x01 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05tally"\\\n\x12QueryGroupsRequest\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x92\x01\n\x13QueryGroupsResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xfb\x11\n\x05Query\x12\x8c\x01\n\tGroupInfo\x12&.cosmos.group.v1.QueryGroupInfoRequest\x1a\'.cosmos.group.v1.QueryGroupInfoResponse".\x82\xd3\xe4\x93\x02(\x12&/cosmos/group/v1/group_info/{group_id}\x12\xa4\x01\n\x0fGroupPolicyInfo\x12,.cosmos.group.v1.QueryGroupPolicyInfoRequest\x1a-.cosmos.group.v1.QueryGroupPolicyInfoResponse"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/group/v1/group_policy_info/{address}\x12\x98\x01\n\x0cGroupMembers\x12).cosmos.group.v1.QueryGroupMembersRequest\x1a*.cosmos.group.v1.QueryGroupMembersResponse"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/group/v1/group_members/{group_id}\x12\x9a\x01\n\rGroupsByAdmin\x12*.cosmos.group.v1.QueryGroupsByAdminRequest\x1a+.cosmos.group.v1.QueryGroupsByAdminResponse"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/group/v1/groups_by_admin/{admin}\x12\xba\x01\n\x14GroupPoliciesByGroup\x12\x31.cosmos.group.v1.QueryGroupPoliciesByGroupRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByGroupResponse";\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/group/v1/group_policies_by_group/{group_id}\x12\xb7\x01\n\x14GroupPoliciesByAdmin\x12\x31.cosmos.group.v1.QueryGroupPoliciesByAdminRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByAdminResponse"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/group_policies_by_admin/{admin}\x12\x8a\x01\n\x08Proposal\x12%.cosmos.group.v1.QueryProposalRequest\x1a&.cosmos.group.v1.QueryProposalResponse"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/proposal/{proposal_id}\x12\xc1\x01\n\x16ProposalsByGroupPolicy\x12\x33.cosmos.group.v1.QueryProposalsByGroupPolicyRequest\x1a\x34.cosmos.group.v1.QueryProposalsByGroupPolicyResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/group/v1/proposals_by_group_policy/{address}\x12\xc1\x01\n\x13VoteByProposalVoter\x12\x30.cosmos.group.v1.QueryVoteByProposalVoterRequest\x1a\x31.cosmos.group.v1.QueryVoteByProposalVoterResponse"E\x82\xd3\xe4\x93\x02?\x12=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}\x12\xa8\x01\n\x0fVotesByProposal\x12,.cosmos.group.v1.QueryVotesByProposalRequest\x1a-.cosmos.group.v1.QueryVotesByProposalResponse"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/votes_by_proposal/{proposal_id}\x12\x96\x01\n\x0cVotesByVoter\x12).cosmos.group.v1.QueryVotesByVoterRequest\x1a*.cosmos.group.v1.QueryVotesByVoterResponse"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/votes_by_voter/{voter}\x12\xa0\x01\n\x0eGroupsByMember\x12+.cosmos.group.v1.QueryGroupsByMemberRequest\x1a,.cosmos.group.v1.QueryGroupsByMemberResponse"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/group/v1/groups_by_member/{address}\x12\x9a\x01\n\x0bTallyResult\x12(.cosmos.group.v1.QueryTallyResultRequest\x1a).cosmos.group.v1.QueryTallyResultResponse"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/group/v1/proposals/{proposal_id}/tally\x12t\n\x06Groups\x12#.cosmos.group.v1.QueryGroupsRequest\x1a$.cosmos.group.v1.QueryGroupsResponse"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cosmos/group/v1/groupsB\xa5\x01\n\x13\x63om.cosmos.group.v1B\nQueryProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/group/v1/query.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"2\n\x15QueryGroupInfoRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\"H\n\x16QueryGroupInfoResponse\x12.\n\x04info\x18\x01 \x01(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x04info\"Q\n\x1bQueryGroupPolicyInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"T\n\x1cQueryGroupPolicyInfoResponse\x12\x34\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\x04info\"}\n\x18QueryGroupMembersRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x9c\x01\n\x19QueryGroupMembersResponse\x12\x36\n\x07members\x18\x01 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMemberR\x07members\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x93\x01\n\x19QueryGroupsByAdminRequest\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x99\x01\n\x1aQueryGroupsByAdminResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x85\x01\n QueryGroupPoliciesByGroupRequest\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb5\x01\n!QueryGroupPoliciesByGroupResponse\x12G\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x9a\x01\n QueryGroupPoliciesByAdminRequest\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb5\x01\n!QueryGroupPoliciesByAdminResponse\x12G\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"7\n\x14QueryProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"N\n\x15QueryProposalResponse\x12\x35\n\x08proposal\x18\x01 \x01(\x0b\x32\x19.cosmos.group.v1.ProposalR\x08proposal\"\xa0\x01\n\"QueryProposalsByGroupPolicyRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa7\x01\n#QueryProposalsByGroupPolicyResponse\x12\x37\n\tproposals\x18\x01 \x03(\x0b\x32\x19.cosmos.group.v1.ProposalR\tproposals\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"r\n\x1fQueryVoteByProposalVoterRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\"M\n QueryVoteByProposalVoterResponse\x12)\n\x04vote\x18\x01 \x01(\x0b\x32\x15.cosmos.group.v1.VoteR\x04vote\"\x86\x01\n\x1bQueryVotesByProposalRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x94\x01\n\x1cQueryVotesByProposalResponse\x12+\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x92\x01\n\x18QueryVotesByVoterRequest\x12.\n\x05voter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x91\x01\n\x19QueryVotesByVoterResponse\x12+\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votes\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x98\x01\n\x1aQueryGroupsByMemberRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x9a\x01\n\x1bQueryGroupsByMemberResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\":\n\x17QueryTallyResultRequest\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"Y\n\x18QueryTallyResultResponse\x12=\n\x05tally\x18\x01 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05tally\"\\\n\x12QueryGroupsRequest\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x92\x01\n\x13QueryGroupsResponse\x12\x32\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xfb\x11\n\x05Query\x12\x8c\x01\n\tGroupInfo\x12&.cosmos.group.v1.QueryGroupInfoRequest\x1a\'.cosmos.group.v1.QueryGroupInfoResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/group/v1/group_info/{group_id}\x12\xa4\x01\n\x0fGroupPolicyInfo\x12,.cosmos.group.v1.QueryGroupPolicyInfoRequest\x1a-.cosmos.group.v1.QueryGroupPolicyInfoResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/group/v1/group_policy_info/{address}\x12\x98\x01\n\x0cGroupMembers\x12).cosmos.group.v1.QueryGroupMembersRequest\x1a*.cosmos.group.v1.QueryGroupMembersResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/group/v1/group_members/{group_id}\x12\x9a\x01\n\rGroupsByAdmin\x12*.cosmos.group.v1.QueryGroupsByAdminRequest\x1a+.cosmos.group.v1.QueryGroupsByAdminResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/group/v1/groups_by_admin/{admin}\x12\xba\x01\n\x14GroupPoliciesByGroup\x12\x31.cosmos.group.v1.QueryGroupPoliciesByGroupRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByGroupResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/group/v1/group_policies_by_group/{group_id}\x12\xb7\x01\n\x14GroupPoliciesByAdmin\x12\x31.cosmos.group.v1.QueryGroupPoliciesByAdminRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByAdminResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/group_policies_by_admin/{admin}\x12\x8a\x01\n\x08Proposal\x12%.cosmos.group.v1.QueryProposalRequest\x1a&.cosmos.group.v1.QueryProposalResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/proposal/{proposal_id}\x12\xc1\x01\n\x16ProposalsByGroupPolicy\x12\x33.cosmos.group.v1.QueryProposalsByGroupPolicyRequest\x1a\x34.cosmos.group.v1.QueryProposalsByGroupPolicyResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/group/v1/proposals_by_group_policy/{address}\x12\xc1\x01\n\x13VoteByProposalVoter\x12\x30.cosmos.group.v1.QueryVoteByProposalVoterRequest\x1a\x31.cosmos.group.v1.QueryVoteByProposalVoterResponse\"E\x82\xd3\xe4\x93\x02?\x12=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}\x12\xa8\x01\n\x0fVotesByProposal\x12,.cosmos.group.v1.QueryVotesByProposalRequest\x1a-.cosmos.group.v1.QueryVotesByProposalResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/votes_by_proposal/{proposal_id}\x12\x96\x01\n\x0cVotesByVoter\x12).cosmos.group.v1.QueryVotesByVoterRequest\x1a*.cosmos.group.v1.QueryVotesByVoterResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/votes_by_voter/{voter}\x12\xa0\x01\n\x0eGroupsByMember\x12+.cosmos.group.v1.QueryGroupsByMemberRequest\x1a,.cosmos.group.v1.QueryGroupsByMemberResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/group/v1/groups_by_member/{address}\x12\x9a\x01\n\x0bTallyResult\x12(.cosmos.group.v1.QueryTallyResultRequest\x1a).cosmos.group.v1.QueryTallyResultResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/group/v1/proposals/{proposal_id}/tally\x12t\n\x06Groups\x12#.cosmos.group.v1.QueryGroupsRequest\x1a$.cosmos.group.v1.QueryGroupsResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cosmos/group/v1/groupsB\xa5\x01\n\x13\x63om.cosmos.group.v1B\nQueryProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.group.v1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\023com.cosmos.group.v1B\nQueryProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1" - ) - _globals["_QUERYGROUPPOLICYINFOREQUEST"].fields_by_name["address"]._loaded_options = None - _globals["_QUERYGROUPPOLICYINFOREQUEST"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYGROUPSBYADMINREQUEST"].fields_by_name["admin"]._loaded_options = None - _globals["_QUERYGROUPSBYADMINREQUEST"].fields_by_name[ - "admin" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYGROUPPOLICIESBYADMINREQUEST"].fields_by_name["admin"]._loaded_options = None - _globals["_QUERYGROUPPOLICIESBYADMINREQUEST"].fields_by_name[ - "admin" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYPROPOSALSBYGROUPPOLICYREQUEST"].fields_by_name["address"]._loaded_options = None - _globals["_QUERYPROPOSALSBYGROUPPOLICYREQUEST"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYVOTEBYPROPOSALVOTERREQUEST"].fields_by_name["voter"]._loaded_options = None - _globals["_QUERYVOTEBYPROPOSALVOTERREQUEST"].fields_by_name[ - "voter" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYVOTESBYVOTERREQUEST"].fields_by_name["voter"]._loaded_options = None - _globals["_QUERYVOTESBYVOTERREQUEST"].fields_by_name[ - "voter" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYGROUPSBYMEMBERREQUEST"].fields_by_name["address"]._loaded_options = None - _globals["_QUERYGROUPSBYMEMBERREQUEST"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYTALLYRESULTRESPONSE"].fields_by_name["tally"]._loaded_options = None - _globals["_QUERYTALLYRESULTRESPONSE"].fields_by_name[ - "tally" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERY"].methods_by_name["GroupInfo"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "GroupInfo" - ]._serialized_options = b"\202\323\344\223\002(\022&/cosmos/group/v1/group_info/{group_id}" - _globals["_QUERY"].methods_by_name["GroupPolicyInfo"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "GroupPolicyInfo" - ]._serialized_options = b"\202\323\344\223\002.\022,/cosmos/group/v1/group_policy_info/{address}" - _globals["_QUERY"].methods_by_name["GroupMembers"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "GroupMembers" - ]._serialized_options = b"\202\323\344\223\002+\022)/cosmos/group/v1/group_members/{group_id}" - _globals["_QUERY"].methods_by_name["GroupsByAdmin"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "GroupsByAdmin" - ]._serialized_options = b"\202\323\344\223\002*\022(/cosmos/group/v1/groups_by_admin/{admin}" - _globals["_QUERY"].methods_by_name["GroupPoliciesByGroup"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "GroupPoliciesByGroup" - ]._serialized_options = b"\202\323\344\223\0025\0223/cosmos/group/v1/group_policies_by_group/{group_id}" - _globals["_QUERY"].methods_by_name["GroupPoliciesByAdmin"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "GroupPoliciesByAdmin" - ]._serialized_options = b"\202\323\344\223\0022\0220/cosmos/group/v1/group_policies_by_admin/{admin}" - _globals["_QUERY"].methods_by_name["Proposal"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Proposal" - ]._serialized_options = b"\202\323\344\223\002)\022'/cosmos/group/v1/proposal/{proposal_id}" - _globals["_QUERY"].methods_by_name["ProposalsByGroupPolicy"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ProposalsByGroupPolicy" - ]._serialized_options = b"\202\323\344\223\0026\0224/cosmos/group/v1/proposals_by_group_policy/{address}" - _globals["_QUERY"].methods_by_name["VoteByProposalVoter"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "VoteByProposalVoter" - ]._serialized_options = b"\202\323\344\223\002?\022=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}" - _globals["_QUERY"].methods_by_name["VotesByProposal"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "VotesByProposal" - ]._serialized_options = b"\202\323\344\223\0022\0220/cosmos/group/v1/votes_by_proposal/{proposal_id}" - _globals["_QUERY"].methods_by_name["VotesByVoter"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "VotesByVoter" - ]._serialized_options = b"\202\323\344\223\002)\022'/cosmos/group/v1/votes_by_voter/{voter}" - _globals["_QUERY"].methods_by_name["GroupsByMember"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "GroupsByMember" - ]._serialized_options = b"\202\323\344\223\002-\022+/cosmos/group/v1/groups_by_member/{address}" - _globals["_QUERY"].methods_by_name["TallyResult"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "TallyResult" - ]._serialized_options = b"\202\323\344\223\0020\022./cosmos/group/v1/proposals/{proposal_id}/tally" - _globals["_QUERY"].methods_by_name["Groups"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Groups" - ]._serialized_options = b"\202\323\344\223\002\031\022\027/cosmos/group/v1/groups" - _globals["_QUERYGROUPINFOREQUEST"]._serialized_start = 219 - _globals["_QUERYGROUPINFOREQUEST"]._serialized_end = 269 - _globals["_QUERYGROUPINFORESPONSE"]._serialized_start = 271 - _globals["_QUERYGROUPINFORESPONSE"]._serialized_end = 343 - _globals["_QUERYGROUPPOLICYINFOREQUEST"]._serialized_start = 345 - _globals["_QUERYGROUPPOLICYINFOREQUEST"]._serialized_end = 426 - _globals["_QUERYGROUPPOLICYINFORESPONSE"]._serialized_start = 428 - _globals["_QUERYGROUPPOLICYINFORESPONSE"]._serialized_end = 512 - _globals["_QUERYGROUPMEMBERSREQUEST"]._serialized_start = 514 - _globals["_QUERYGROUPMEMBERSREQUEST"]._serialized_end = 639 - _globals["_QUERYGROUPMEMBERSRESPONSE"]._serialized_start = 642 - _globals["_QUERYGROUPMEMBERSRESPONSE"]._serialized_end = 798 - _globals["_QUERYGROUPSBYADMINREQUEST"]._serialized_start = 801 - _globals["_QUERYGROUPSBYADMINREQUEST"]._serialized_end = 948 - _globals["_QUERYGROUPSBYADMINRESPONSE"]._serialized_start = 951 - _globals["_QUERYGROUPSBYADMINRESPONSE"]._serialized_end = 1104 - _globals["_QUERYGROUPPOLICIESBYGROUPREQUEST"]._serialized_start = 1107 - _globals["_QUERYGROUPPOLICIESBYGROUPREQUEST"]._serialized_end = 1240 - _globals["_QUERYGROUPPOLICIESBYGROUPRESPONSE"]._serialized_start = 1243 - _globals["_QUERYGROUPPOLICIESBYGROUPRESPONSE"]._serialized_end = 1424 - _globals["_QUERYGROUPPOLICIESBYADMINREQUEST"]._serialized_start = 1427 - _globals["_QUERYGROUPPOLICIESBYADMINREQUEST"]._serialized_end = 1581 - _globals["_QUERYGROUPPOLICIESBYADMINRESPONSE"]._serialized_start = 1584 - _globals["_QUERYGROUPPOLICIESBYADMINRESPONSE"]._serialized_end = 1765 - _globals["_QUERYPROPOSALREQUEST"]._serialized_start = 1767 - _globals["_QUERYPROPOSALREQUEST"]._serialized_end = 1822 - _globals["_QUERYPROPOSALRESPONSE"]._serialized_start = 1824 - _globals["_QUERYPROPOSALRESPONSE"]._serialized_end = 1902 - _globals["_QUERYPROPOSALSBYGROUPPOLICYREQUEST"]._serialized_start = 1905 - _globals["_QUERYPROPOSALSBYGROUPPOLICYREQUEST"]._serialized_end = 2065 - _globals["_QUERYPROPOSALSBYGROUPPOLICYRESPONSE"]._serialized_start = 2068 - _globals["_QUERYPROPOSALSBYGROUPPOLICYRESPONSE"]._serialized_end = 2235 - _globals["_QUERYVOTEBYPROPOSALVOTERREQUEST"]._serialized_start = 2237 - _globals["_QUERYVOTEBYPROPOSALVOTERREQUEST"]._serialized_end = 2351 - _globals["_QUERYVOTEBYPROPOSALVOTERRESPONSE"]._serialized_start = 2353 - _globals["_QUERYVOTEBYPROPOSALVOTERRESPONSE"]._serialized_end = 2430 - _globals["_QUERYVOTESBYPROPOSALREQUEST"]._serialized_start = 2433 - _globals["_QUERYVOTESBYPROPOSALREQUEST"]._serialized_end = 2567 - _globals["_QUERYVOTESBYPROPOSALRESPONSE"]._serialized_start = 2570 - _globals["_QUERYVOTESBYPROPOSALRESPONSE"]._serialized_end = 2718 - _globals["_QUERYVOTESBYVOTERREQUEST"]._serialized_start = 2721 - _globals["_QUERYVOTESBYVOTERREQUEST"]._serialized_end = 2867 - _globals["_QUERYVOTESBYVOTERRESPONSE"]._serialized_start = 2870 - _globals["_QUERYVOTESBYVOTERRESPONSE"]._serialized_end = 3015 - _globals["_QUERYGROUPSBYMEMBERREQUEST"]._serialized_start = 3018 - _globals["_QUERYGROUPSBYMEMBERREQUEST"]._serialized_end = 3170 - _globals["_QUERYGROUPSBYMEMBERRESPONSE"]._serialized_start = 3173 - _globals["_QUERYGROUPSBYMEMBERRESPONSE"]._serialized_end = 3327 - _globals["_QUERYTALLYRESULTREQUEST"]._serialized_start = 3329 - _globals["_QUERYTALLYRESULTREQUEST"]._serialized_end = 3387 - _globals["_QUERYTALLYRESULTRESPONSE"]._serialized_start = 3389 - _globals["_QUERYTALLYRESULTRESPONSE"]._serialized_end = 3478 - _globals["_QUERYGROUPSREQUEST"]._serialized_start = 3480 - _globals["_QUERYGROUPSREQUEST"]._serialized_end = 3572 - _globals["_QUERYGROUPSRESPONSE"]._serialized_start = 3575 - _globals["_QUERYGROUPSRESPONSE"]._serialized_end = 3721 - _globals["_QUERY"]._serialized_start = 3724 - _globals["_QUERY"]._serialized_end = 6023 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\nQueryProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' + _globals['_QUERYGROUPPOLICYINFOREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYGROUPPOLICYINFOREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYGROUPSBYADMINREQUEST'].fields_by_name['admin']._loaded_options = None + _globals['_QUERYGROUPSBYADMINREQUEST'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYGROUPPOLICIESBYADMINREQUEST'].fields_by_name['admin']._loaded_options = None + _globals['_QUERYGROUPPOLICIESBYADMINREQUEST'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST'].fields_by_name['voter']._loaded_options = None + _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYVOTESBYVOTERREQUEST'].fields_by_name['voter']._loaded_options = None + _globals['_QUERYVOTESBYVOTERREQUEST'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYGROUPSBYMEMBERREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYGROUPSBYMEMBERREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYTALLYRESULTRESPONSE'].fields_by_name['tally']._loaded_options = None + _globals['_QUERYTALLYRESULTRESPONSE'].fields_by_name['tally']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERY'].methods_by_name['GroupInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['GroupInfo']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/group/v1/group_info/{group_id}' + _globals['_QUERY'].methods_by_name['GroupPolicyInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['GroupPolicyInfo']._serialized_options = b'\202\323\344\223\002.\022,/cosmos/group/v1/group_policy_info/{address}' + _globals['_QUERY'].methods_by_name['GroupMembers']._loaded_options = None + _globals['_QUERY'].methods_by_name['GroupMembers']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/group/v1/group_members/{group_id}' + _globals['_QUERY'].methods_by_name['GroupsByAdmin']._loaded_options = None + _globals['_QUERY'].methods_by_name['GroupsByAdmin']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/group/v1/groups_by_admin/{admin}' + _globals['_QUERY'].methods_by_name['GroupPoliciesByGroup']._loaded_options = None + _globals['_QUERY'].methods_by_name['GroupPoliciesByGroup']._serialized_options = b'\202\323\344\223\0025\0223/cosmos/group/v1/group_policies_by_group/{group_id}' + _globals['_QUERY'].methods_by_name['GroupPoliciesByAdmin']._loaded_options = None + _globals['_QUERY'].methods_by_name['GroupPoliciesByAdmin']._serialized_options = b'\202\323\344\223\0022\0220/cosmos/group/v1/group_policies_by_admin/{admin}' + _globals['_QUERY'].methods_by_name['Proposal']._loaded_options = None + _globals['_QUERY'].methods_by_name['Proposal']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/group/v1/proposal/{proposal_id}' + _globals['_QUERY'].methods_by_name['ProposalsByGroupPolicy']._loaded_options = None + _globals['_QUERY'].methods_by_name['ProposalsByGroupPolicy']._serialized_options = b'\202\323\344\223\0026\0224/cosmos/group/v1/proposals_by_group_policy/{address}' + _globals['_QUERY'].methods_by_name['VoteByProposalVoter']._loaded_options = None + _globals['_QUERY'].methods_by_name['VoteByProposalVoter']._serialized_options = b'\202\323\344\223\002?\022=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}' + _globals['_QUERY'].methods_by_name['VotesByProposal']._loaded_options = None + _globals['_QUERY'].methods_by_name['VotesByProposal']._serialized_options = b'\202\323\344\223\0022\0220/cosmos/group/v1/votes_by_proposal/{proposal_id}' + _globals['_QUERY'].methods_by_name['VotesByVoter']._loaded_options = None + _globals['_QUERY'].methods_by_name['VotesByVoter']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/group/v1/votes_by_voter/{voter}' + _globals['_QUERY'].methods_by_name['GroupsByMember']._loaded_options = None + _globals['_QUERY'].methods_by_name['GroupsByMember']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/group/v1/groups_by_member/{address}' + _globals['_QUERY'].methods_by_name['TallyResult']._loaded_options = None + _globals['_QUERY'].methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\0020\022./cosmos/group/v1/proposals/{proposal_id}/tally' + _globals['_QUERY'].methods_by_name['Groups']._loaded_options = None + _globals['_QUERY'].methods_by_name['Groups']._serialized_options = b'\202\323\344\223\002\031\022\027/cosmos/group/v1/groups' + _globals['_QUERYGROUPINFOREQUEST']._serialized_start=219 + _globals['_QUERYGROUPINFOREQUEST']._serialized_end=269 + _globals['_QUERYGROUPINFORESPONSE']._serialized_start=271 + _globals['_QUERYGROUPINFORESPONSE']._serialized_end=343 + _globals['_QUERYGROUPPOLICYINFOREQUEST']._serialized_start=345 + _globals['_QUERYGROUPPOLICYINFOREQUEST']._serialized_end=426 + _globals['_QUERYGROUPPOLICYINFORESPONSE']._serialized_start=428 + _globals['_QUERYGROUPPOLICYINFORESPONSE']._serialized_end=512 + _globals['_QUERYGROUPMEMBERSREQUEST']._serialized_start=514 + _globals['_QUERYGROUPMEMBERSREQUEST']._serialized_end=639 + _globals['_QUERYGROUPMEMBERSRESPONSE']._serialized_start=642 + _globals['_QUERYGROUPMEMBERSRESPONSE']._serialized_end=798 + _globals['_QUERYGROUPSBYADMINREQUEST']._serialized_start=801 + _globals['_QUERYGROUPSBYADMINREQUEST']._serialized_end=948 + _globals['_QUERYGROUPSBYADMINRESPONSE']._serialized_start=951 + _globals['_QUERYGROUPSBYADMINRESPONSE']._serialized_end=1104 + _globals['_QUERYGROUPPOLICIESBYGROUPREQUEST']._serialized_start=1107 + _globals['_QUERYGROUPPOLICIESBYGROUPREQUEST']._serialized_end=1240 + _globals['_QUERYGROUPPOLICIESBYGROUPRESPONSE']._serialized_start=1243 + _globals['_QUERYGROUPPOLICIESBYGROUPRESPONSE']._serialized_end=1424 + _globals['_QUERYGROUPPOLICIESBYADMINREQUEST']._serialized_start=1427 + _globals['_QUERYGROUPPOLICIESBYADMINREQUEST']._serialized_end=1581 + _globals['_QUERYGROUPPOLICIESBYADMINRESPONSE']._serialized_start=1584 + _globals['_QUERYGROUPPOLICIESBYADMINRESPONSE']._serialized_end=1765 + _globals['_QUERYPROPOSALREQUEST']._serialized_start=1767 + _globals['_QUERYPROPOSALREQUEST']._serialized_end=1822 + _globals['_QUERYPROPOSALRESPONSE']._serialized_start=1824 + _globals['_QUERYPROPOSALRESPONSE']._serialized_end=1902 + _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST']._serialized_start=1905 + _globals['_QUERYPROPOSALSBYGROUPPOLICYREQUEST']._serialized_end=2065 + _globals['_QUERYPROPOSALSBYGROUPPOLICYRESPONSE']._serialized_start=2068 + _globals['_QUERYPROPOSALSBYGROUPPOLICYRESPONSE']._serialized_end=2235 + _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST']._serialized_start=2237 + _globals['_QUERYVOTEBYPROPOSALVOTERREQUEST']._serialized_end=2351 + _globals['_QUERYVOTEBYPROPOSALVOTERRESPONSE']._serialized_start=2353 + _globals['_QUERYVOTEBYPROPOSALVOTERRESPONSE']._serialized_end=2430 + _globals['_QUERYVOTESBYPROPOSALREQUEST']._serialized_start=2433 + _globals['_QUERYVOTESBYPROPOSALREQUEST']._serialized_end=2567 + _globals['_QUERYVOTESBYPROPOSALRESPONSE']._serialized_start=2570 + _globals['_QUERYVOTESBYPROPOSALRESPONSE']._serialized_end=2718 + _globals['_QUERYVOTESBYVOTERREQUEST']._serialized_start=2721 + _globals['_QUERYVOTESBYVOTERREQUEST']._serialized_end=2867 + _globals['_QUERYVOTESBYVOTERRESPONSE']._serialized_start=2870 + _globals['_QUERYVOTESBYVOTERRESPONSE']._serialized_end=3015 + _globals['_QUERYGROUPSBYMEMBERREQUEST']._serialized_start=3018 + _globals['_QUERYGROUPSBYMEMBERREQUEST']._serialized_end=3170 + _globals['_QUERYGROUPSBYMEMBERRESPONSE']._serialized_start=3173 + _globals['_QUERYGROUPSBYMEMBERRESPONSE']._serialized_end=3327 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_start=3329 + _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=3387 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=3389 + _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=3478 + _globals['_QUERYGROUPSREQUEST']._serialized_start=3480 + _globals['_QUERYGROUPSREQUEST']._serialized_end=3572 + _globals['_QUERYGROUPSRESPONSE']._serialized_start=3575 + _globals['_QUERYGROUPSRESPONSE']._serialized_end=3721 + _globals['_QUERY']._serialized_start=3724 + _globals['_QUERY']._serialized_end=6023 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py index 9cfe7214..3018bf10 100644 --- a/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query is the cosmos.group.v1 Query service.""" + """Query is the cosmos.group.v1 Query service. + """ def __init__(self, channel): """Constructor. @@ -15,165 +16,164 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GroupInfo = channel.unary_unary( - "/cosmos.group.v1.Query/GroupInfo", - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Query/GroupInfo', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoResponse.FromString, + _registered_method=True) self.GroupPolicyInfo = channel.unary_unary( - "/cosmos.group.v1.Query/GroupPolicyInfo", - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Query/GroupPolicyInfo', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoResponse.FromString, + _registered_method=True) self.GroupMembers = channel.unary_unary( - "/cosmos.group.v1.Query/GroupMembers", - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Query/GroupMembers', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersResponse.FromString, + _registered_method=True) self.GroupsByAdmin = channel.unary_unary( - "/cosmos.group.v1.Query/GroupsByAdmin", - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Query/GroupsByAdmin', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminResponse.FromString, + _registered_method=True) self.GroupPoliciesByGroup = channel.unary_unary( - "/cosmos.group.v1.Query/GroupPoliciesByGroup", - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Query/GroupPoliciesByGroup', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupResponse.FromString, + _registered_method=True) self.GroupPoliciesByAdmin = channel.unary_unary( - "/cosmos.group.v1.Query/GroupPoliciesByAdmin", - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Query/GroupPoliciesByAdmin', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminResponse.FromString, + _registered_method=True) self.Proposal = channel.unary_unary( - "/cosmos.group.v1.Query/Proposal", - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Query/Proposal', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, + _registered_method=True) self.ProposalsByGroupPolicy = channel.unary_unary( - "/cosmos.group.v1.Query/ProposalsByGroupPolicy", - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Query/ProposalsByGroupPolicy', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyResponse.FromString, + _registered_method=True) self.VoteByProposalVoter = channel.unary_unary( - "/cosmos.group.v1.Query/VoteByProposalVoter", - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Query/VoteByProposalVoter', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterResponse.FromString, + _registered_method=True) self.VotesByProposal = channel.unary_unary( - "/cosmos.group.v1.Query/VotesByProposal", - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Query/VotesByProposal', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalResponse.FromString, + _registered_method=True) self.VotesByVoter = channel.unary_unary( - "/cosmos.group.v1.Query/VotesByVoter", - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Query/VotesByVoter', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterResponse.FromString, + _registered_method=True) self.GroupsByMember = channel.unary_unary( - "/cosmos.group.v1.Query/GroupsByMember", - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Query/GroupsByMember', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberResponse.FromString, + _registered_method=True) self.TallyResult = channel.unary_unary( - "/cosmos.group.v1.Query/TallyResult", - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Query/TallyResult', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, + _registered_method=True) self.Groups = channel.unary_unary( - "/cosmos.group.v1.Query/Groups", - request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Query/Groups', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query is the cosmos.group.v1 Query service.""" + """Query is the cosmos.group.v1 Query service. + """ def GroupInfo(self, request, context): - """GroupInfo queries group info based on group id.""" + """GroupInfo queries group info based on group id. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GroupPolicyInfo(self, request, context): - """GroupPolicyInfo queries group policy info based on account address of group policy.""" + """GroupPolicyInfo queries group policy info based on account address of group policy. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GroupMembers(self, request, context): - """GroupMembers queries members of a group by group id.""" + """GroupMembers queries members of a group by group id. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GroupsByAdmin(self, request, context): - """GroupsByAdmin queries groups by admin address.""" + """GroupsByAdmin queries groups by admin address. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GroupPoliciesByGroup(self, request, context): - """GroupPoliciesByGroup queries group policies by group id.""" + """GroupPoliciesByGroup queries group policies by group id. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GroupPoliciesByAdmin(self, request, context): - """GroupPoliciesByAdmin queries group policies by admin address.""" + """GroupPoliciesByAdmin queries group policies by admin address. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Proposal(self, request, context): - """Proposal queries a proposal based on proposal id.""" + """Proposal queries a proposal based on proposal id. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ProposalsByGroupPolicy(self, request, context): - """ProposalsByGroupPolicy queries proposals based on account address of group policy.""" + """ProposalsByGroupPolicy queries proposals based on account address of group policy. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def VoteByProposalVoter(self, request, context): - """VoteByProposalVoter queries a vote by proposal id and voter.""" + """VoteByProposalVoter queries a vote by proposal id and voter. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def VotesByProposal(self, request, context): - """VotesByProposal queries a vote by proposal id.""" + """VotesByProposal queries a vote by proposal id. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def VotesByVoter(self, request, context): - """VotesByVoter queries a vote by voter.""" + """VotesByVoter queries a vote by voter. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GroupsByMember(self, request, context): - """GroupsByMember queries groups by member address.""" + """GroupsByMember queries groups by member address. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TallyResult(self, request, context): """TallyResult returns the tally result of a proposal. If the proposal is @@ -183,8 +183,8 @@ def TallyResult(self, request, context): proposal itself. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Groups(self, request, context): """Groups queries all groups in state. @@ -192,109 +192,109 @@ def Groups(self, request, context): Since: cosmos-sdk 0.47.1 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "GroupInfo": grpc.unary_unary_rpc_method_handler( - servicer.GroupInfo, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoResponse.SerializeToString, - ), - "GroupPolicyInfo": grpc.unary_unary_rpc_method_handler( - servicer.GroupPolicyInfo, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoResponse.SerializeToString, - ), - "GroupMembers": grpc.unary_unary_rpc_method_handler( - servicer.GroupMembers, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersResponse.SerializeToString, - ), - "GroupsByAdmin": grpc.unary_unary_rpc_method_handler( - servicer.GroupsByAdmin, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminResponse.SerializeToString, - ), - "GroupPoliciesByGroup": grpc.unary_unary_rpc_method_handler( - servicer.GroupPoliciesByGroup, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupResponse.SerializeToString, - ), - "GroupPoliciesByAdmin": grpc.unary_unary_rpc_method_handler( - servicer.GroupPoliciesByAdmin, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminResponse.SerializeToString, - ), - "Proposal": grpc.unary_unary_rpc_method_handler( - servicer.Proposal, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalResponse.SerializeToString, - ), - "ProposalsByGroupPolicy": grpc.unary_unary_rpc_method_handler( - servicer.ProposalsByGroupPolicy, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyResponse.SerializeToString, - ), - "VoteByProposalVoter": grpc.unary_unary_rpc_method_handler( - servicer.VoteByProposalVoter, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterResponse.SerializeToString, - ), - "VotesByProposal": grpc.unary_unary_rpc_method_handler( - servicer.VotesByProposal, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalResponse.SerializeToString, - ), - "VotesByVoter": grpc.unary_unary_rpc_method_handler( - servicer.VotesByVoter, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterResponse.SerializeToString, - ), - "GroupsByMember": grpc.unary_unary_rpc_method_handler( - servicer.GroupsByMember, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberResponse.SerializeToString, - ), - "TallyResult": grpc.unary_unary_rpc_method_handler( - servicer.TallyResult, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, - ), - "Groups": grpc.unary_unary_rpc_method_handler( - servicer.Groups, - request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.SerializeToString, - ), + 'GroupInfo': grpc.unary_unary_rpc_method_handler( + servicer.GroupInfo, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoResponse.SerializeToString, + ), + 'GroupPolicyInfo': grpc.unary_unary_rpc_method_handler( + servicer.GroupPolicyInfo, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoResponse.SerializeToString, + ), + 'GroupMembers': grpc.unary_unary_rpc_method_handler( + servicer.GroupMembers, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersResponse.SerializeToString, + ), + 'GroupsByAdmin': grpc.unary_unary_rpc_method_handler( + servicer.GroupsByAdmin, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminResponse.SerializeToString, + ), + 'GroupPoliciesByGroup': grpc.unary_unary_rpc_method_handler( + servicer.GroupPoliciesByGroup, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupResponse.SerializeToString, + ), + 'GroupPoliciesByAdmin': grpc.unary_unary_rpc_method_handler( + servicer.GroupPoliciesByAdmin, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminResponse.SerializeToString, + ), + 'Proposal': grpc.unary_unary_rpc_method_handler( + servicer.Proposal, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalResponse.SerializeToString, + ), + 'ProposalsByGroupPolicy': grpc.unary_unary_rpc_method_handler( + servicer.ProposalsByGroupPolicy, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyResponse.SerializeToString, + ), + 'VoteByProposalVoter': grpc.unary_unary_rpc_method_handler( + servicer.VoteByProposalVoter, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterResponse.SerializeToString, + ), + 'VotesByProposal': grpc.unary_unary_rpc_method_handler( + servicer.VotesByProposal, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalResponse.SerializeToString, + ), + 'VotesByVoter': grpc.unary_unary_rpc_method_handler( + servicer.VotesByVoter, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterResponse.SerializeToString, + ), + 'GroupsByMember': grpc.unary_unary_rpc_method_handler( + servicer.GroupsByMember, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberResponse.SerializeToString, + ), + 'TallyResult': grpc.unary_unary_rpc_method_handler( + servicer.TallyResult, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, + ), + 'Groups': grpc.unary_unary_rpc_method_handler( + servicer.Groups, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.group.v1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.group.v1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.group.v1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.group.v1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query is the cosmos.group.v1 Query service.""" + """Query is the cosmos.group.v1 Query service. + """ @staticmethod - def GroupInfo( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GroupInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Query/GroupInfo", + '/cosmos.group.v1.Query/GroupInfo', cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupInfoResponse.FromString, options, @@ -305,26 +305,23 @@ def GroupInfo( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GroupPolicyInfo( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GroupPolicyInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Query/GroupPolicyInfo", + '/cosmos.group.v1.Query/GroupPolicyInfo', cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPolicyInfoResponse.FromString, options, @@ -335,26 +332,23 @@ def GroupPolicyInfo( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GroupMembers( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GroupMembers(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Query/GroupMembers", + '/cosmos.group.v1.Query/GroupMembers', cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupMembersResponse.FromString, options, @@ -365,26 +359,23 @@ def GroupMembers( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GroupsByAdmin( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GroupsByAdmin(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Query/GroupsByAdmin", + '/cosmos.group.v1.Query/GroupsByAdmin', cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByAdminResponse.FromString, options, @@ -395,26 +386,23 @@ def GroupsByAdmin( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GroupPoliciesByGroup( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GroupPoliciesByGroup(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Query/GroupPoliciesByGroup", + '/cosmos.group.v1.Query/GroupPoliciesByGroup', cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByGroupResponse.FromString, options, @@ -425,26 +413,23 @@ def GroupPoliciesByGroup( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GroupPoliciesByAdmin( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GroupPoliciesByAdmin(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Query/GroupPoliciesByAdmin", + '/cosmos.group.v1.Query/GroupPoliciesByAdmin', cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupPoliciesByAdminResponse.FromString, options, @@ -455,26 +440,23 @@ def GroupPoliciesByAdmin( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Proposal( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Proposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Query/Proposal", + '/cosmos.group.v1.Query/Proposal', cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalResponse.FromString, options, @@ -485,26 +467,23 @@ def Proposal( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ProposalsByGroupPolicy( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ProposalsByGroupPolicy(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Query/ProposalsByGroupPolicy", + '/cosmos.group.v1.Query/ProposalsByGroupPolicy', cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryProposalsByGroupPolicyResponse.FromString, options, @@ -515,26 +494,23 @@ def ProposalsByGroupPolicy( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def VoteByProposalVoter( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def VoteByProposalVoter(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Query/VoteByProposalVoter", + '/cosmos.group.v1.Query/VoteByProposalVoter', cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryVoteByProposalVoterResponse.FromString, options, @@ -545,26 +521,23 @@ def VoteByProposalVoter( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def VotesByProposal( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def VotesByProposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Query/VotesByProposal", + '/cosmos.group.v1.Query/VotesByProposal', cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByProposalResponse.FromString, options, @@ -575,26 +548,23 @@ def VotesByProposal( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def VotesByVoter( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def VotesByVoter(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Query/VotesByVoter", + '/cosmos.group.v1.Query/VotesByVoter', cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryVotesByVoterResponse.FromString, options, @@ -605,26 +575,23 @@ def VotesByVoter( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GroupsByMember( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GroupsByMember(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Query/GroupsByMember", + '/cosmos.group.v1.Query/GroupsByMember', cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsByMemberResponse.FromString, options, @@ -635,26 +602,23 @@ def GroupsByMember( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def TallyResult( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def TallyResult(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Query/TallyResult", + '/cosmos.group.v1.Query/TallyResult', cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, options, @@ -665,26 +629,23 @@ def TallyResult( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Groups( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Groups(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Query/Groups", + '/cosmos.group.v1.Query/Groups', cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.SerializeToString, cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.FromString, options, @@ -695,5 +656,4 @@ def Groups( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/group/v1/tx_pb2.py b/pyinjective/proto/cosmos/group/v1/tx_pb2.py index c29e7fbb..be5d27d0 100644 --- a/pyinjective/proto/cosmos/group/v1/tx_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -21,224 +20,156 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x18\x63osmos/group/v1/tx.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xcb\x01\n\x0eMsgCreateGroup\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x43\n\x07members\x18\x02 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07members\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:(\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x19\x63osmos-sdk/MsgCreateGroup"3\n\x16MsgCreateGroupResponse\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId"\xe5\x01\n\x15MsgUpdateGroupMembers\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12P\n\x0emember_updates\x18\x03 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rmemberUpdates:/\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0* cosmos-sdk/MsgUpdateGroupMembers"\x1f\n\x1dMsgUpdateGroupMembersResponse"\xc6\x01\n\x13MsgUpdateGroupAdmin\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x35\n\tnew_admin\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin:-\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1e\x63osmos-sdk/MsgUpdateGroupAdmin"\x1d\n\x1bMsgUpdateGroupAdminResponse"\xb1\x01\n\x16MsgUpdateGroupMetadata\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:0\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*!cosmos-sdk/MsgUpdateGroupMetadata" \n\x1eMsgUpdateGroupMetadataResponse"\x94\x02\n\x14MsgCreateGroupPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy:2\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgCreateGroupPolicy"R\n\x1cMsgCreateGroupPolicyResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress"\x83\x02\n\x19MsgUpdateGroupPolicyAdmin\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x35\n\tnew_admin\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin:3\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*$cosmos-sdk/MsgUpdateGroupPolicyAdmin"#\n!MsgUpdateGroupPolicyAdminResponse"\xb8\x03\n\x18MsgCreateGroupWithPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x43\n\x07members\x18\x02 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07members\x12%\n\x0egroup_metadata\x18\x03 \x01(\tR\rgroupMetadata\x12\x32\n\x15group_policy_metadata\x18\x04 \x01(\tR\x13groupPolicyMetadata\x12\x31\n\x15group_policy_as_admin\x18\x05 \x01(\x08R\x12groupPolicyAsAdmin\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy:6\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*#cosmos-sdk/MsgCreateGroupWithPolicy"\x89\x01\n MsgCreateGroupWithPolicyResponse\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress"\xbf\x02\n"MsgUpdateGroupPolicyDecisionPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy::\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\'cosmos-sdk/MsgUpdateGroupDecisionPolicy",\n*MsgUpdateGroupPolicyDecisionPolicyResponse"\xee\x01\n\x1cMsgUpdateGroupPolicyMetadata\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:6\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\'cosmos-sdk/MsgUpdateGroupPolicyMetadata"&\n$MsgUpdateGroupPolicyMetadataResponse"\xe1\x02\n\x11MsgSubmitProposal\x12J\n\x14group_policy_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1c\n\tproposers\x18\x02 \x03(\tR\tproposers\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x30\n\x08messages\x18\x04 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12)\n\x04\x65xec\x18\x05 \x01(\x0e\x32\x15.cosmos.group.v1.ExecR\x04\x65xec\x12\x14\n\x05title\x18\x06 \x01(\tR\x05title\x12\x18\n\x07summary\x18\x07 \x01(\tR\x07summary:9\x88\xa0\x1f\x00\x82\xe7\xb0*\tproposers\x8a\xe7\xb0*"cosmos-sdk/group/MsgSubmitProposal"<\n\x19MsgSubmitProposalResponse\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId"\xa1\x01\n\x13MsgWithdrawProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x32\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:5\x82\xe7\xb0*\x07\x61\x64\x64ress\x8a\xe7\xb0*$cosmos-sdk/group/MsgWithdrawProposal"\x1d\n\x1bMsgWithdrawProposalResponse"\xff\x01\n\x07MsgVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x33\n\x06option\x18\x03 \x01(\x0e\x32\x1b.cosmos.group.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12)\n\x04\x65xec\x18\x05 \x01(\x0e\x32\x15.cosmos.group.v1.ExecR\x04\x65xec:\'\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x18\x63osmos-sdk/group/MsgVote"\x11\n\x0fMsgVoteResponse"\x8c\x01\n\x07MsgExec\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x34\n\x08\x65xecutor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x65xecutor:*\x82\xe7\xb0*\x08\x65xecutor\x8a\xe7\xb0*\x18\x63osmos-sdk/group/MsgExec"R\n\x0fMsgExecResponse\x12?\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x06result"\x8f\x01\n\rMsgLeaveGroup\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId:/\x82\xe7\xb0*\x07\x61\x64\x64ress\x8a\xe7\xb0*\x1e\x63osmos-sdk/group/MsgLeaveGroup"\x17\n\x15MsgLeaveGroupResponse**\n\x04\x45xec\x12\x14\n\x10\x45XEC_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45XEC_TRY\x10\x01\x32\xca\x0b\n\x03Msg\x12W\n\x0b\x43reateGroup\x12\x1f.cosmos.group.v1.MsgCreateGroup\x1a\'.cosmos.group.v1.MsgCreateGroupResponse\x12l\n\x12UpdateGroupMembers\x12&.cosmos.group.v1.MsgUpdateGroupMembers\x1a..cosmos.group.v1.MsgUpdateGroupMembersResponse\x12\x66\n\x10UpdateGroupAdmin\x12$.cosmos.group.v1.MsgUpdateGroupAdmin\x1a,.cosmos.group.v1.MsgUpdateGroupAdminResponse\x12o\n\x13UpdateGroupMetadata\x12\'.cosmos.group.v1.MsgUpdateGroupMetadata\x1a/.cosmos.group.v1.MsgUpdateGroupMetadataResponse\x12i\n\x11\x43reateGroupPolicy\x12%.cosmos.group.v1.MsgCreateGroupPolicy\x1a-.cosmos.group.v1.MsgCreateGroupPolicyResponse\x12u\n\x15\x43reateGroupWithPolicy\x12).cosmos.group.v1.MsgCreateGroupWithPolicy\x1a\x31.cosmos.group.v1.MsgCreateGroupWithPolicyResponse\x12x\n\x16UpdateGroupPolicyAdmin\x12*.cosmos.group.v1.MsgUpdateGroupPolicyAdmin\x1a\x32.cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse\x12\x93\x01\n\x1fUpdateGroupPolicyDecisionPolicy\x12\x33.cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy\x1a;.cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse\x12\x81\x01\n\x19UpdateGroupPolicyMetadata\x12-.cosmos.group.v1.MsgUpdateGroupPolicyMetadata\x1a\x35.cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse\x12`\n\x0eSubmitProposal\x12".cosmos.group.v1.MsgSubmitProposal\x1a*.cosmos.group.v1.MsgSubmitProposalResponse\x12\x66\n\x10WithdrawProposal\x12$.cosmos.group.v1.MsgWithdrawProposal\x1a,.cosmos.group.v1.MsgWithdrawProposalResponse\x12\x42\n\x04Vote\x12\x18.cosmos.group.v1.MsgVote\x1a .cosmos.group.v1.MsgVoteResponse\x12\x42\n\x04\x45xec\x12\x18.cosmos.group.v1.MsgExec\x1a .cosmos.group.v1.MsgExecResponse\x12T\n\nLeaveGroup\x12\x1e.cosmos.group.v1.MsgLeaveGroup\x1a&.cosmos.group.v1.MsgLeaveGroupResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xa2\x01\n\x13\x63om.cosmos.group.v1B\x07TxProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x63osmos/group/v1/tx.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xcb\x01\n\x0eMsgCreateGroup\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x43\n\x07members\x18\x02 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07members\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:(\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x19\x63osmos-sdk/MsgCreateGroup\"3\n\x16MsgCreateGroupResponse\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\"\xe5\x01\n\x15MsgUpdateGroupMembers\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12P\n\x0emember_updates\x18\x03 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rmemberUpdates:/\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0* cosmos-sdk/MsgUpdateGroupMembers\"\x1f\n\x1dMsgUpdateGroupMembersResponse\"\xc6\x01\n\x13MsgUpdateGroupAdmin\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x35\n\tnew_admin\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin:-\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1e\x63osmos-sdk/MsgUpdateGroupAdmin\"\x1d\n\x1bMsgUpdateGroupAdminResponse\"\xb1\x01\n\x16MsgUpdateGroupMetadata\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:0\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*!cosmos-sdk/MsgUpdateGroupMetadata\" \n\x1eMsgUpdateGroupMetadataResponse\"\x94\x02\n\x14MsgCreateGroupPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy:2\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgCreateGroupPolicy\"R\n\x1cMsgCreateGroupPolicyResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"\x83\x02\n\x19MsgUpdateGroupPolicyAdmin\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x35\n\tnew_admin\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin:3\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*$cosmos-sdk/MsgUpdateGroupPolicyAdmin\"#\n!MsgUpdateGroupPolicyAdminResponse\"\xb8\x03\n\x18MsgCreateGroupWithPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x43\n\x07members\x18\x02 \x03(\x0b\x32\x1e.cosmos.group.v1.MemberRequestB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07members\x12%\n\x0egroup_metadata\x18\x03 \x01(\tR\rgroupMetadata\x12\x32\n\x15group_policy_metadata\x18\x04 \x01(\tR\x13groupPolicyMetadata\x12\x31\n\x15group_policy_as_admin\x18\x05 \x01(\x08R\x12groupPolicyAsAdmin\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy:6\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*#cosmos-sdk/MsgCreateGroupWithPolicy\"\x89\x01\n MsgCreateGroupWithPolicyResponse\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\"\xbf\x02\n\"MsgUpdateGroupPolicyDecisionPolicy\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy::\x88\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\'cosmos-sdk/MsgUpdateGroupDecisionPolicy\",\n*MsgUpdateGroupPolicyDecisionPolicyResponse\"\xee\x01\n\x1cMsgUpdateGroupPolicyMetadata\x12.\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata:6\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\'cosmos-sdk/MsgUpdateGroupPolicyMetadata\"&\n$MsgUpdateGroupPolicyMetadataResponse\"\xe1\x02\n\x11MsgSubmitProposal\x12J\n\x14group_policy_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1c\n\tproposers\x18\x02 \x03(\tR\tproposers\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x30\n\x08messages\x18\x04 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12)\n\x04\x65xec\x18\x05 \x01(\x0e\x32\x15.cosmos.group.v1.ExecR\x04\x65xec\x12\x14\n\x05title\x18\x06 \x01(\tR\x05title\x12\x18\n\x07summary\x18\x07 \x01(\tR\x07summary:9\x88\xa0\x1f\x00\x82\xe7\xb0*\tproposers\x8a\xe7\xb0*\"cosmos-sdk/group/MsgSubmitProposal\"<\n\x19MsgSubmitProposalResponse\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\"\xa1\x01\n\x13MsgWithdrawProposal\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x32\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:5\x82\xe7\xb0*\x07\x61\x64\x64ress\x8a\xe7\xb0*$cosmos-sdk/group/MsgWithdrawProposal\"\x1d\n\x1bMsgWithdrawProposalResponse\"\xff\x01\n\x07MsgVote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x33\n\x06option\x18\x03 \x01(\x0e\x32\x1b.cosmos.group.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12)\n\x04\x65xec\x18\x05 \x01(\x0e\x32\x15.cosmos.group.v1.ExecR\x04\x65xec:\'\x82\xe7\xb0*\x05voter\x8a\xe7\xb0*\x18\x63osmos-sdk/group/MsgVote\"\x11\n\x0fMsgVoteResponse\"\x8c\x01\n\x07MsgExec\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12\x34\n\x08\x65xecutor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x65xecutor:*\x82\xe7\xb0*\x08\x65xecutor\x8a\xe7\xb0*\x18\x63osmos-sdk/group/MsgExec\"R\n\x0fMsgExecResponse\x12?\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x06result\"\x8f\x01\n\rMsgLeaveGroup\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId:/\x82\xe7\xb0*\x07\x61\x64\x64ress\x8a\xe7\xb0*\x1e\x63osmos-sdk/group/MsgLeaveGroup\"\x17\n\x15MsgLeaveGroupResponse**\n\x04\x45xec\x12\x14\n\x10\x45XEC_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45XEC_TRY\x10\x01\x32\xca\x0b\n\x03Msg\x12W\n\x0b\x43reateGroup\x12\x1f.cosmos.group.v1.MsgCreateGroup\x1a\'.cosmos.group.v1.MsgCreateGroupResponse\x12l\n\x12UpdateGroupMembers\x12&.cosmos.group.v1.MsgUpdateGroupMembers\x1a..cosmos.group.v1.MsgUpdateGroupMembersResponse\x12\x66\n\x10UpdateGroupAdmin\x12$.cosmos.group.v1.MsgUpdateGroupAdmin\x1a,.cosmos.group.v1.MsgUpdateGroupAdminResponse\x12o\n\x13UpdateGroupMetadata\x12\'.cosmos.group.v1.MsgUpdateGroupMetadata\x1a/.cosmos.group.v1.MsgUpdateGroupMetadataResponse\x12i\n\x11\x43reateGroupPolicy\x12%.cosmos.group.v1.MsgCreateGroupPolicy\x1a-.cosmos.group.v1.MsgCreateGroupPolicyResponse\x12u\n\x15\x43reateGroupWithPolicy\x12).cosmos.group.v1.MsgCreateGroupWithPolicy\x1a\x31.cosmos.group.v1.MsgCreateGroupWithPolicyResponse\x12x\n\x16UpdateGroupPolicyAdmin\x12*.cosmos.group.v1.MsgUpdateGroupPolicyAdmin\x1a\x32.cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse\x12\x93\x01\n\x1fUpdateGroupPolicyDecisionPolicy\x12\x33.cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy\x1a;.cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse\x12\x81\x01\n\x19UpdateGroupPolicyMetadata\x12-.cosmos.group.v1.MsgUpdateGroupPolicyMetadata\x1a\x35.cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse\x12`\n\x0eSubmitProposal\x12\".cosmos.group.v1.MsgSubmitProposal\x1a*.cosmos.group.v1.MsgSubmitProposalResponse\x12\x66\n\x10WithdrawProposal\x12$.cosmos.group.v1.MsgWithdrawProposal\x1a,.cosmos.group.v1.MsgWithdrawProposalResponse\x12\x42\n\x04Vote\x12\x18.cosmos.group.v1.MsgVote\x1a .cosmos.group.v1.MsgVoteResponse\x12\x42\n\x04\x45xec\x12\x18.cosmos.group.v1.MsgExec\x1a .cosmos.group.v1.MsgExecResponse\x12T\n\nLeaveGroup\x12\x1e.cosmos.group.v1.MsgLeaveGroup\x1a&.cosmos.group.v1.MsgLeaveGroupResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xa2\x01\n\x13\x63om.cosmos.group.v1B\x07TxProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.group.v1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\023com.cosmos.group.v1B\007TxProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1" - ) - _globals["_MSGCREATEGROUP"].fields_by_name["admin"]._loaded_options = None - _globals["_MSGCREATEGROUP"].fields_by_name["admin"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGCREATEGROUP"].fields_by_name["members"]._loaded_options = None - _globals["_MSGCREATEGROUP"].fields_by_name["members"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGCREATEGROUP"]._loaded_options = None - _globals["_MSGCREATEGROUP"]._serialized_options = ( - b"\202\347\260*\005admin\212\347\260*\031cosmos-sdk/MsgCreateGroup" - ) - _globals["_MSGUPDATEGROUPMEMBERS"].fields_by_name["admin"]._loaded_options = None - _globals["_MSGUPDATEGROUPMEMBERS"].fields_by_name[ - "admin" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEGROUPMEMBERS"].fields_by_name["member_updates"]._loaded_options = None - _globals["_MSGUPDATEGROUPMEMBERS"].fields_by_name[ - "member_updates" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGUPDATEGROUPMEMBERS"]._loaded_options = None - _globals["_MSGUPDATEGROUPMEMBERS"]._serialized_options = ( - b"\202\347\260*\005admin\212\347\260* cosmos-sdk/MsgUpdateGroupMembers" - ) - _globals["_MSGUPDATEGROUPADMIN"].fields_by_name["admin"]._loaded_options = None - _globals["_MSGUPDATEGROUPADMIN"].fields_by_name["admin"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEGROUPADMIN"].fields_by_name["new_admin"]._loaded_options = None - _globals["_MSGUPDATEGROUPADMIN"].fields_by_name[ - "new_admin" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEGROUPADMIN"]._loaded_options = None - _globals["_MSGUPDATEGROUPADMIN"]._serialized_options = ( - b"\202\347\260*\005admin\212\347\260*\036cosmos-sdk/MsgUpdateGroupAdmin" - ) - _globals["_MSGUPDATEGROUPMETADATA"].fields_by_name["admin"]._loaded_options = None - _globals["_MSGUPDATEGROUPMETADATA"].fields_by_name[ - "admin" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEGROUPMETADATA"]._loaded_options = None - _globals["_MSGUPDATEGROUPMETADATA"]._serialized_options = ( - b"\202\347\260*\005admin\212\347\260*!cosmos-sdk/MsgUpdateGroupMetadata" - ) - _globals["_MSGCREATEGROUPPOLICY"].fields_by_name["admin"]._loaded_options = None - _globals["_MSGCREATEGROUPPOLICY"].fields_by_name["admin"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGCREATEGROUPPOLICY"].fields_by_name["decision_policy"]._loaded_options = None - _globals["_MSGCREATEGROUPPOLICY"].fields_by_name[ - "decision_policy" - ]._serialized_options = b"\312\264-\036cosmos.group.v1.DecisionPolicy" - _globals["_MSGCREATEGROUPPOLICY"]._loaded_options = None - _globals["_MSGCREATEGROUPPOLICY"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\005admin\212\347\260*\037cosmos-sdk/MsgCreateGroupPolicy" - ) - _globals["_MSGCREATEGROUPPOLICYRESPONSE"].fields_by_name["address"]._loaded_options = None - _globals["_MSGCREATEGROUPPOLICYRESPONSE"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEGROUPPOLICYADMIN"].fields_by_name["admin"]._loaded_options = None - _globals["_MSGUPDATEGROUPPOLICYADMIN"].fields_by_name[ - "admin" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEGROUPPOLICYADMIN"].fields_by_name["group_policy_address"]._loaded_options = None - _globals["_MSGUPDATEGROUPPOLICYADMIN"].fields_by_name[ - "group_policy_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEGROUPPOLICYADMIN"].fields_by_name["new_admin"]._loaded_options = None - _globals["_MSGUPDATEGROUPPOLICYADMIN"].fields_by_name[ - "new_admin" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEGROUPPOLICYADMIN"]._loaded_options = None - _globals["_MSGUPDATEGROUPPOLICYADMIN"]._serialized_options = ( - b"\202\347\260*\005admin\212\347\260*$cosmos-sdk/MsgUpdateGroupPolicyAdmin" - ) - _globals["_MSGCREATEGROUPWITHPOLICY"].fields_by_name["admin"]._loaded_options = None - _globals["_MSGCREATEGROUPWITHPOLICY"].fields_by_name[ - "admin" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGCREATEGROUPWITHPOLICY"].fields_by_name["members"]._loaded_options = None - _globals["_MSGCREATEGROUPWITHPOLICY"].fields_by_name[ - "members" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGCREATEGROUPWITHPOLICY"].fields_by_name["decision_policy"]._loaded_options = None - _globals["_MSGCREATEGROUPWITHPOLICY"].fields_by_name[ - "decision_policy" - ]._serialized_options = b"\312\264-\036cosmos.group.v1.DecisionPolicy" - _globals["_MSGCREATEGROUPWITHPOLICY"]._loaded_options = None - _globals["_MSGCREATEGROUPWITHPOLICY"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\005admin\212\347\260*#cosmos-sdk/MsgCreateGroupWithPolicy" - ) - _globals["_MSGCREATEGROUPWITHPOLICYRESPONSE"].fields_by_name["group_policy_address"]._loaded_options = None - _globals["_MSGCREATEGROUPWITHPOLICYRESPONSE"].fields_by_name[ - "group_policy_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"].fields_by_name["admin"]._loaded_options = None - _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"].fields_by_name[ - "admin" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"].fields_by_name["group_policy_address"]._loaded_options = None - _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"].fields_by_name[ - "group_policy_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"].fields_by_name["decision_policy"]._loaded_options = None - _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"].fields_by_name[ - "decision_policy" - ]._serialized_options = b"\312\264-\036cosmos.group.v1.DecisionPolicy" - _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"]._loaded_options = None - _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\005admin\212\347\260*'cosmos-sdk/MsgUpdateGroupDecisionPolicy" - ) - _globals["_MSGUPDATEGROUPPOLICYMETADATA"].fields_by_name["admin"]._loaded_options = None - _globals["_MSGUPDATEGROUPPOLICYMETADATA"].fields_by_name[ - "admin" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEGROUPPOLICYMETADATA"].fields_by_name["group_policy_address"]._loaded_options = None - _globals["_MSGUPDATEGROUPPOLICYMETADATA"].fields_by_name[ - "group_policy_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEGROUPPOLICYMETADATA"]._loaded_options = None - _globals["_MSGUPDATEGROUPPOLICYMETADATA"]._serialized_options = ( - b"\202\347\260*\005admin\212\347\260*'cosmos-sdk/MsgUpdateGroupPolicyMetadata" - ) - _globals["_MSGSUBMITPROPOSAL"].fields_by_name["group_policy_address"]._loaded_options = None - _globals["_MSGSUBMITPROPOSAL"].fields_by_name[ - "group_policy_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSUBMITPROPOSAL"]._loaded_options = None - _globals["_MSGSUBMITPROPOSAL"]._serialized_options = ( - b'\210\240\037\000\202\347\260*\tproposers\212\347\260*"cosmos-sdk/group/MsgSubmitProposal' - ) - _globals["_MSGWITHDRAWPROPOSAL"].fields_by_name["address"]._loaded_options = None - _globals["_MSGWITHDRAWPROPOSAL"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGWITHDRAWPROPOSAL"]._loaded_options = None - _globals["_MSGWITHDRAWPROPOSAL"]._serialized_options = ( - b"\202\347\260*\007address\212\347\260*$cosmos-sdk/group/MsgWithdrawProposal" - ) - _globals["_MSGVOTE"].fields_by_name["voter"]._loaded_options = None - _globals["_MSGVOTE"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGVOTE"]._loaded_options = None - _globals["_MSGVOTE"]._serialized_options = b"\202\347\260*\005voter\212\347\260*\030cosmos-sdk/group/MsgVote" - _globals["_MSGEXEC"].fields_by_name["executor"]._loaded_options = None - _globals["_MSGEXEC"].fields_by_name["executor"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGEXEC"]._loaded_options = None - _globals["_MSGEXEC"]._serialized_options = b"\202\347\260*\010executor\212\347\260*\030cosmos-sdk/group/MsgExec" - _globals["_MSGLEAVEGROUP"].fields_by_name["address"]._loaded_options = None - _globals["_MSGLEAVEGROUP"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGLEAVEGROUP"]._loaded_options = None - _globals["_MSGLEAVEGROUP"]._serialized_options = ( - b"\202\347\260*\007address\212\347\260*\036cosmos-sdk/group/MsgLeaveGroup" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_EXEC"]._serialized_start = 4346 - _globals["_EXEC"]._serialized_end = 4388 - _globals["_MSGCREATEGROUP"]._serialized_start = 195 - _globals["_MSGCREATEGROUP"]._serialized_end = 398 - _globals["_MSGCREATEGROUPRESPONSE"]._serialized_start = 400 - _globals["_MSGCREATEGROUPRESPONSE"]._serialized_end = 451 - _globals["_MSGUPDATEGROUPMEMBERS"]._serialized_start = 454 - _globals["_MSGUPDATEGROUPMEMBERS"]._serialized_end = 683 - _globals["_MSGUPDATEGROUPMEMBERSRESPONSE"]._serialized_start = 685 - _globals["_MSGUPDATEGROUPMEMBERSRESPONSE"]._serialized_end = 716 - _globals["_MSGUPDATEGROUPADMIN"]._serialized_start = 719 - _globals["_MSGUPDATEGROUPADMIN"]._serialized_end = 917 - _globals["_MSGUPDATEGROUPADMINRESPONSE"]._serialized_start = 919 - _globals["_MSGUPDATEGROUPADMINRESPONSE"]._serialized_end = 948 - _globals["_MSGUPDATEGROUPMETADATA"]._serialized_start = 951 - _globals["_MSGUPDATEGROUPMETADATA"]._serialized_end = 1128 - _globals["_MSGUPDATEGROUPMETADATARESPONSE"]._serialized_start = 1130 - _globals["_MSGUPDATEGROUPMETADATARESPONSE"]._serialized_end = 1162 - _globals["_MSGCREATEGROUPPOLICY"]._serialized_start = 1165 - _globals["_MSGCREATEGROUPPOLICY"]._serialized_end = 1441 - _globals["_MSGCREATEGROUPPOLICYRESPONSE"]._serialized_start = 1443 - _globals["_MSGCREATEGROUPPOLICYRESPONSE"]._serialized_end = 1525 - _globals["_MSGUPDATEGROUPPOLICYADMIN"]._serialized_start = 1528 - _globals["_MSGUPDATEGROUPPOLICYADMIN"]._serialized_end = 1787 - _globals["_MSGUPDATEGROUPPOLICYADMINRESPONSE"]._serialized_start = 1789 - _globals["_MSGUPDATEGROUPPOLICYADMINRESPONSE"]._serialized_end = 1824 - _globals["_MSGCREATEGROUPWITHPOLICY"]._serialized_start = 1827 - _globals["_MSGCREATEGROUPWITHPOLICY"]._serialized_end = 2267 - _globals["_MSGCREATEGROUPWITHPOLICYRESPONSE"]._serialized_start = 2270 - _globals["_MSGCREATEGROUPWITHPOLICYRESPONSE"]._serialized_end = 2407 - _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"]._serialized_start = 2410 - _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICY"]._serialized_end = 2729 - _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICYRESPONSE"]._serialized_start = 2731 - _globals["_MSGUPDATEGROUPPOLICYDECISIONPOLICYRESPONSE"]._serialized_end = 2775 - _globals["_MSGUPDATEGROUPPOLICYMETADATA"]._serialized_start = 2778 - _globals["_MSGUPDATEGROUPPOLICYMETADATA"]._serialized_end = 3016 - _globals["_MSGUPDATEGROUPPOLICYMETADATARESPONSE"]._serialized_start = 3018 - _globals["_MSGUPDATEGROUPPOLICYMETADATARESPONSE"]._serialized_end = 3056 - _globals["_MSGSUBMITPROPOSAL"]._serialized_start = 3059 - _globals["_MSGSUBMITPROPOSAL"]._serialized_end = 3412 - _globals["_MSGSUBMITPROPOSALRESPONSE"]._serialized_start = 3414 - _globals["_MSGSUBMITPROPOSALRESPONSE"]._serialized_end = 3474 - _globals["_MSGWITHDRAWPROPOSAL"]._serialized_start = 3477 - _globals["_MSGWITHDRAWPROPOSAL"]._serialized_end = 3638 - _globals["_MSGWITHDRAWPROPOSALRESPONSE"]._serialized_start = 3640 - _globals["_MSGWITHDRAWPROPOSALRESPONSE"]._serialized_end = 3669 - _globals["_MSGVOTE"]._serialized_start = 3672 - _globals["_MSGVOTE"]._serialized_end = 3927 - _globals["_MSGVOTERESPONSE"]._serialized_start = 3929 - _globals["_MSGVOTERESPONSE"]._serialized_end = 3946 - _globals["_MSGEXEC"]._serialized_start = 3949 - _globals["_MSGEXEC"]._serialized_end = 4089 - _globals["_MSGEXECRESPONSE"]._serialized_start = 4091 - _globals["_MSGEXECRESPONSE"]._serialized_end = 4173 - _globals["_MSGLEAVEGROUP"]._serialized_start = 4176 - _globals["_MSGLEAVEGROUP"]._serialized_end = 4319 - _globals["_MSGLEAVEGROUPRESPONSE"]._serialized_start = 4321 - _globals["_MSGLEAVEGROUPRESPONSE"]._serialized_end = 4344 - _globals["_MSG"]._serialized_start = 4391 - _globals["_MSG"]._serialized_end = 5873 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\007TxProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' + _globals['_MSGCREATEGROUP'].fields_by_name['admin']._loaded_options = None + _globals['_MSGCREATEGROUP'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCREATEGROUP'].fields_by_name['members']._loaded_options = None + _globals['_MSGCREATEGROUP'].fields_by_name['members']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGCREATEGROUP']._loaded_options = None + _globals['_MSGCREATEGROUP']._serialized_options = b'\202\347\260*\005admin\212\347\260*\031cosmos-sdk/MsgCreateGroup' + _globals['_MSGUPDATEGROUPMEMBERS'].fields_by_name['admin']._loaded_options = None + _globals['_MSGUPDATEGROUPMEMBERS'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPMEMBERS'].fields_by_name['member_updates']._loaded_options = None + _globals['_MSGUPDATEGROUPMEMBERS'].fields_by_name['member_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEGROUPMEMBERS']._loaded_options = None + _globals['_MSGUPDATEGROUPMEMBERS']._serialized_options = b'\202\347\260*\005admin\212\347\260* cosmos-sdk/MsgUpdateGroupMembers' + _globals['_MSGUPDATEGROUPADMIN'].fields_by_name['admin']._loaded_options = None + _globals['_MSGUPDATEGROUPADMIN'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPADMIN'].fields_by_name['new_admin']._loaded_options = None + _globals['_MSGUPDATEGROUPADMIN'].fields_by_name['new_admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPADMIN']._loaded_options = None + _globals['_MSGUPDATEGROUPADMIN']._serialized_options = b'\202\347\260*\005admin\212\347\260*\036cosmos-sdk/MsgUpdateGroupAdmin' + _globals['_MSGUPDATEGROUPMETADATA'].fields_by_name['admin']._loaded_options = None + _globals['_MSGUPDATEGROUPMETADATA'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPMETADATA']._loaded_options = None + _globals['_MSGUPDATEGROUPMETADATA']._serialized_options = b'\202\347\260*\005admin\212\347\260*!cosmos-sdk/MsgUpdateGroupMetadata' + _globals['_MSGCREATEGROUPPOLICY'].fields_by_name['admin']._loaded_options = None + _globals['_MSGCREATEGROUPPOLICY'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCREATEGROUPPOLICY'].fields_by_name['decision_policy']._loaded_options = None + _globals['_MSGCREATEGROUPPOLICY'].fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' + _globals['_MSGCREATEGROUPPOLICY']._loaded_options = None + _globals['_MSGCREATEGROUPPOLICY']._serialized_options = b'\210\240\037\000\202\347\260*\005admin\212\347\260*\037cosmos-sdk/MsgCreateGroupPolicy' + _globals['_MSGCREATEGROUPPOLICYRESPONSE'].fields_by_name['address']._loaded_options = None + _globals['_MSGCREATEGROUPPOLICYRESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['admin']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['group_policy_address']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['new_admin']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYADMIN'].fields_by_name['new_admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYADMIN']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYADMIN']._serialized_options = b'\202\347\260*\005admin\212\347\260*$cosmos-sdk/MsgUpdateGroupPolicyAdmin' + _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['admin']._loaded_options = None + _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['members']._loaded_options = None + _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['members']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['decision_policy']._loaded_options = None + _globals['_MSGCREATEGROUPWITHPOLICY'].fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' + _globals['_MSGCREATEGROUPWITHPOLICY']._loaded_options = None + _globals['_MSGCREATEGROUPWITHPOLICY']._serialized_options = b'\210\240\037\000\202\347\260*\005admin\212\347\260*#cosmos-sdk/MsgCreateGroupWithPolicy' + _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE'].fields_by_name['group_policy_address']._loaded_options = None + _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['admin']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['group_policy_address']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['decision_policy']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY'].fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._serialized_options = b'\210\240\037\000\202\347\260*\005admin\212\347\260*\'cosmos-sdk/MsgUpdateGroupDecisionPolicy' + _globals['_MSGUPDATEGROUPPOLICYMETADATA'].fields_by_name['admin']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYMETADATA'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYMETADATA'].fields_by_name['group_policy_address']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYMETADATA'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEGROUPPOLICYMETADATA']._loaded_options = None + _globals['_MSGUPDATEGROUPPOLICYMETADATA']._serialized_options = b'\202\347\260*\005admin\212\347\260*\'cosmos-sdk/MsgUpdateGroupPolicyMetadata' + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['group_policy_address']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSUBMITPROPOSAL']._loaded_options = None + _globals['_MSGSUBMITPROPOSAL']._serialized_options = b'\210\240\037\000\202\347\260*\tproposers\212\347\260*\"cosmos-sdk/group/MsgSubmitProposal' + _globals['_MSGWITHDRAWPROPOSAL'].fields_by_name['address']._loaded_options = None + _globals['_MSGWITHDRAWPROPOSAL'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGWITHDRAWPROPOSAL']._loaded_options = None + _globals['_MSGWITHDRAWPROPOSAL']._serialized_options = b'\202\347\260*\007address\212\347\260*$cosmos-sdk/group/MsgWithdrawProposal' + _globals['_MSGVOTE'].fields_by_name['voter']._loaded_options = None + _globals['_MSGVOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGVOTE']._loaded_options = None + _globals['_MSGVOTE']._serialized_options = b'\202\347\260*\005voter\212\347\260*\030cosmos-sdk/group/MsgVote' + _globals['_MSGEXEC'].fields_by_name['executor']._loaded_options = None + _globals['_MSGEXEC'].fields_by_name['executor']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGEXEC']._loaded_options = None + _globals['_MSGEXEC']._serialized_options = b'\202\347\260*\010executor\212\347\260*\030cosmos-sdk/group/MsgExec' + _globals['_MSGLEAVEGROUP'].fields_by_name['address']._loaded_options = None + _globals['_MSGLEAVEGROUP'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGLEAVEGROUP']._loaded_options = None + _globals['_MSGLEAVEGROUP']._serialized_options = b'\202\347\260*\007address\212\347\260*\036cosmos-sdk/group/MsgLeaveGroup' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_EXEC']._serialized_start=4346 + _globals['_EXEC']._serialized_end=4388 + _globals['_MSGCREATEGROUP']._serialized_start=195 + _globals['_MSGCREATEGROUP']._serialized_end=398 + _globals['_MSGCREATEGROUPRESPONSE']._serialized_start=400 + _globals['_MSGCREATEGROUPRESPONSE']._serialized_end=451 + _globals['_MSGUPDATEGROUPMEMBERS']._serialized_start=454 + _globals['_MSGUPDATEGROUPMEMBERS']._serialized_end=683 + _globals['_MSGUPDATEGROUPMEMBERSRESPONSE']._serialized_start=685 + _globals['_MSGUPDATEGROUPMEMBERSRESPONSE']._serialized_end=716 + _globals['_MSGUPDATEGROUPADMIN']._serialized_start=719 + _globals['_MSGUPDATEGROUPADMIN']._serialized_end=917 + _globals['_MSGUPDATEGROUPADMINRESPONSE']._serialized_start=919 + _globals['_MSGUPDATEGROUPADMINRESPONSE']._serialized_end=948 + _globals['_MSGUPDATEGROUPMETADATA']._serialized_start=951 + _globals['_MSGUPDATEGROUPMETADATA']._serialized_end=1128 + _globals['_MSGUPDATEGROUPMETADATARESPONSE']._serialized_start=1130 + _globals['_MSGUPDATEGROUPMETADATARESPONSE']._serialized_end=1162 + _globals['_MSGCREATEGROUPPOLICY']._serialized_start=1165 + _globals['_MSGCREATEGROUPPOLICY']._serialized_end=1441 + _globals['_MSGCREATEGROUPPOLICYRESPONSE']._serialized_start=1443 + _globals['_MSGCREATEGROUPPOLICYRESPONSE']._serialized_end=1525 + _globals['_MSGUPDATEGROUPPOLICYADMIN']._serialized_start=1528 + _globals['_MSGUPDATEGROUPPOLICYADMIN']._serialized_end=1787 + _globals['_MSGUPDATEGROUPPOLICYADMINRESPONSE']._serialized_start=1789 + _globals['_MSGUPDATEGROUPPOLICYADMINRESPONSE']._serialized_end=1824 + _globals['_MSGCREATEGROUPWITHPOLICY']._serialized_start=1827 + _globals['_MSGCREATEGROUPWITHPOLICY']._serialized_end=2267 + _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE']._serialized_start=2270 + _globals['_MSGCREATEGROUPWITHPOLICYRESPONSE']._serialized_end=2407 + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._serialized_start=2410 + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICY']._serialized_end=2729 + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICYRESPONSE']._serialized_start=2731 + _globals['_MSGUPDATEGROUPPOLICYDECISIONPOLICYRESPONSE']._serialized_end=2775 + _globals['_MSGUPDATEGROUPPOLICYMETADATA']._serialized_start=2778 + _globals['_MSGUPDATEGROUPPOLICYMETADATA']._serialized_end=3016 + _globals['_MSGUPDATEGROUPPOLICYMETADATARESPONSE']._serialized_start=3018 + _globals['_MSGUPDATEGROUPPOLICYMETADATARESPONSE']._serialized_end=3056 + _globals['_MSGSUBMITPROPOSAL']._serialized_start=3059 + _globals['_MSGSUBMITPROPOSAL']._serialized_end=3412 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_start=3414 + _globals['_MSGSUBMITPROPOSALRESPONSE']._serialized_end=3474 + _globals['_MSGWITHDRAWPROPOSAL']._serialized_start=3477 + _globals['_MSGWITHDRAWPROPOSAL']._serialized_end=3638 + _globals['_MSGWITHDRAWPROPOSALRESPONSE']._serialized_start=3640 + _globals['_MSGWITHDRAWPROPOSALRESPONSE']._serialized_end=3669 + _globals['_MSGVOTE']._serialized_start=3672 + _globals['_MSGVOTE']._serialized_end=3927 + _globals['_MSGVOTERESPONSE']._serialized_start=3929 + _globals['_MSGVOTERESPONSE']._serialized_end=3946 + _globals['_MSGEXEC']._serialized_start=3949 + _globals['_MSGEXEC']._serialized_end=4089 + _globals['_MSGEXECRESPONSE']._serialized_start=4091 + _globals['_MSGEXECRESPONSE']._serialized_end=4173 + _globals['_MSGLEAVEGROUP']._serialized_start=4176 + _globals['_MSGLEAVEGROUP']._serialized_end=4319 + _globals['_MSGLEAVEGROUPRESPONSE']._serialized_start=4321 + _globals['_MSGLEAVEGROUPRESPONSE']._serialized_end=4344 + _globals['_MSG']._serialized_start=4391 + _globals['_MSG']._serialized_end=5873 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/tx_pb2_grpc.py index defa207d..39d77388 100644 --- a/pyinjective/proto/cosmos/group/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/group/v1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg is the cosmos.group.v1 Msg service.""" + """Msg is the cosmos.group.v1 Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,278 +16,279 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.CreateGroup = channel.unary_unary( - "/cosmos.group.v1.Msg/CreateGroup", - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroup.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Msg/CreateGroup', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroup.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupResponse.FromString, + _registered_method=True) self.UpdateGroupMembers = channel.unary_unary( - "/cosmos.group.v1.Msg/UpdateGroupMembers", - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembers.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembersResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Msg/UpdateGroupMembers', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembers.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembersResponse.FromString, + _registered_method=True) self.UpdateGroupAdmin = channel.unary_unary( - "/cosmos.group.v1.Msg/UpdateGroupAdmin", - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdmin.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdminResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Msg/UpdateGroupAdmin', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdmin.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdminResponse.FromString, + _registered_method=True) self.UpdateGroupMetadata = channel.unary_unary( - "/cosmos.group.v1.Msg/UpdateGroupMetadata", - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadata.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadataResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Msg/UpdateGroupMetadata', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadata.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadataResponse.FromString, + _registered_method=True) self.CreateGroupPolicy = channel.unary_unary( - "/cosmos.group.v1.Msg/CreateGroupPolicy", - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicy.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicyResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Msg/CreateGroupPolicy', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicy.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicyResponse.FromString, + _registered_method=True) self.CreateGroupWithPolicy = channel.unary_unary( - "/cosmos.group.v1.Msg/CreateGroupWithPolicy", - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicy.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicyResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Msg/CreateGroupWithPolicy', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicy.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicyResponse.FromString, + _registered_method=True) self.UpdateGroupPolicyAdmin = channel.unary_unary( - "/cosmos.group.v1.Msg/UpdateGroupPolicyAdmin", - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdmin.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdminResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Msg/UpdateGroupPolicyAdmin', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdmin.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdminResponse.FromString, + _registered_method=True) self.UpdateGroupPolicyDecisionPolicy = channel.unary_unary( - "/cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy", - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicy.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicyResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicy.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicyResponse.FromString, + _registered_method=True) self.UpdateGroupPolicyMetadata = channel.unary_unary( - "/cosmos.group.v1.Msg/UpdateGroupPolicyMetadata", - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadata.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadataResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Msg/UpdateGroupPolicyMetadata', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadata.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadataResponse.FromString, + _registered_method=True) self.SubmitProposal = channel.unary_unary( - "/cosmos.group.v1.Msg/SubmitProposal", - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Msg/SubmitProposal', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, + _registered_method=True) self.WithdrawProposal = channel.unary_unary( - "/cosmos.group.v1.Msg/WithdrawProposal", - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposal.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposalResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Msg/WithdrawProposal', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposal.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposalResponse.FromString, + _registered_method=True) self.Vote = channel.unary_unary( - "/cosmos.group.v1.Msg/Vote", - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Msg/Vote', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, + _registered_method=True) self.Exec = channel.unary_unary( - "/cosmos.group.v1.Msg/Exec", - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExec.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExecResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Msg/Exec', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExec.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExecResponse.FromString, + _registered_method=True) self.LeaveGroup = channel.unary_unary( - "/cosmos.group.v1.Msg/LeaveGroup", - request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroup.SerializeToString, - response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroupResponse.FromString, - _registered_method=True, - ) + '/cosmos.group.v1.Msg/LeaveGroup', + request_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroup.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroupResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg is the cosmos.group.v1 Msg service.""" + """Msg is the cosmos.group.v1 Msg service. + """ def CreateGroup(self, request, context): - """CreateGroup creates a new group with an admin account address, a list of members and some optional metadata.""" + """CreateGroup creates a new group with an admin account address, a list of members and some optional metadata. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateGroupMembers(self, request, context): - """UpdateGroupMembers updates the group members with given group id and admin address.""" + """UpdateGroupMembers updates the group members with given group id and admin address. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateGroupAdmin(self, request, context): - """UpdateGroupAdmin updates the group admin with given group id and previous admin address.""" + """UpdateGroupAdmin updates the group admin with given group id and previous admin address. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateGroupMetadata(self, request, context): - """UpdateGroupMetadata updates the group metadata with given group id and admin address.""" + """UpdateGroupMetadata updates the group metadata with given group id and admin address. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CreateGroupPolicy(self, request, context): - """CreateGroupPolicy creates a new group policy using given DecisionPolicy.""" + """CreateGroupPolicy creates a new group policy using given DecisionPolicy. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CreateGroupWithPolicy(self, request, context): - """CreateGroupWithPolicy creates a new group with policy.""" + """CreateGroupWithPolicy creates a new group with policy. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateGroupPolicyAdmin(self, request, context): - """UpdateGroupPolicyAdmin updates a group policy admin.""" + """UpdateGroupPolicyAdmin updates a group policy admin. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateGroupPolicyDecisionPolicy(self, request, context): - """UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated.""" + """UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateGroupPolicyMetadata(self, request, context): - """UpdateGroupPolicyMetadata updates a group policy metadata.""" + """UpdateGroupPolicyMetadata updates a group policy metadata. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SubmitProposal(self, request, context): - """SubmitProposal submits a new proposal.""" + """SubmitProposal submits a new proposal. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def WithdrawProposal(self, request, context): - """WithdrawProposal withdraws a proposal.""" + """WithdrawProposal withdraws a proposal. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Vote(self, request, context): - """Vote allows a voter to vote on a proposal.""" + """Vote allows a voter to vote on a proposal. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Exec(self, request, context): - """Exec executes a proposal.""" + """Exec executes a proposal. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def LeaveGroup(self, request, context): - """LeaveGroup allows a group member to leave the group.""" + """LeaveGroup allows a group member to leave the group. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "CreateGroup": grpc.unary_unary_rpc_method_handler( - servicer.CreateGroup, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroup.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupResponse.SerializeToString, - ), - "UpdateGroupMembers": grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupMembers, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembers.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembersResponse.SerializeToString, - ), - "UpdateGroupAdmin": grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupAdmin, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdmin.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdminResponse.SerializeToString, - ), - "UpdateGroupMetadata": grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupMetadata, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadata.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadataResponse.SerializeToString, - ), - "CreateGroupPolicy": grpc.unary_unary_rpc_method_handler( - servicer.CreateGroupPolicy, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicy.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicyResponse.SerializeToString, - ), - "CreateGroupWithPolicy": grpc.unary_unary_rpc_method_handler( - servicer.CreateGroupWithPolicy, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicy.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicyResponse.SerializeToString, - ), - "UpdateGroupPolicyAdmin": grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupPolicyAdmin, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdmin.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdminResponse.SerializeToString, - ), - "UpdateGroupPolicyDecisionPolicy": grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupPolicyDecisionPolicy, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicy.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicyResponse.SerializeToString, - ), - "UpdateGroupPolicyMetadata": grpc.unary_unary_rpc_method_handler( - servicer.UpdateGroupPolicyMetadata, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadata.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadataResponse.SerializeToString, - ), - "SubmitProposal": grpc.unary_unary_rpc_method_handler( - servicer.SubmitProposal, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposal.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, - ), - "WithdrawProposal": grpc.unary_unary_rpc_method_handler( - servicer.WithdrawProposal, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposal.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposalResponse.SerializeToString, - ), - "Vote": grpc.unary_unary_rpc_method_handler( - servicer.Vote, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVote.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVoteResponse.SerializeToString, - ), - "Exec": grpc.unary_unary_rpc_method_handler( - servicer.Exec, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExec.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExecResponse.SerializeToString, - ), - "LeaveGroup": grpc.unary_unary_rpc_method_handler( - servicer.LeaveGroup, - request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroup.FromString, - response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroupResponse.SerializeToString, - ), + 'CreateGroup': grpc.unary_unary_rpc_method_handler( + servicer.CreateGroup, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroup.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupResponse.SerializeToString, + ), + 'UpdateGroupMembers': grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupMembers, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembers.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembersResponse.SerializeToString, + ), + 'UpdateGroupAdmin': grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupAdmin, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdmin.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdminResponse.SerializeToString, + ), + 'UpdateGroupMetadata': grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupMetadata, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadata.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadataResponse.SerializeToString, + ), + 'CreateGroupPolicy': grpc.unary_unary_rpc_method_handler( + servicer.CreateGroupPolicy, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicy.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicyResponse.SerializeToString, + ), + 'CreateGroupWithPolicy': grpc.unary_unary_rpc_method_handler( + servicer.CreateGroupWithPolicy, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicy.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicyResponse.SerializeToString, + ), + 'UpdateGroupPolicyAdmin': grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupPolicyAdmin, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdmin.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdminResponse.SerializeToString, + ), + 'UpdateGroupPolicyDecisionPolicy': grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupPolicyDecisionPolicy, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicy.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicyResponse.SerializeToString, + ), + 'UpdateGroupPolicyMetadata': grpc.unary_unary_rpc_method_handler( + servicer.UpdateGroupPolicyMetadata, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadata.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadataResponse.SerializeToString, + ), + 'SubmitProposal': grpc.unary_unary_rpc_method_handler( + servicer.SubmitProposal, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposal.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.SerializeToString, + ), + 'WithdrawProposal': grpc.unary_unary_rpc_method_handler( + servicer.WithdrawProposal, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposal.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposalResponse.SerializeToString, + ), + 'Vote': grpc.unary_unary_rpc_method_handler( + servicer.Vote, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVote.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVoteResponse.SerializeToString, + ), + 'Exec': grpc.unary_unary_rpc_method_handler( + servicer.Exec, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExec.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExecResponse.SerializeToString, + ), + 'LeaveGroup': grpc.unary_unary_rpc_method_handler( + servicer.LeaveGroup, + request_deserializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroup.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroupResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.group.v1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.group.v1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.group.v1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.group.v1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg is the cosmos.group.v1 Msg service.""" + """Msg is the cosmos.group.v1 Msg service. + """ @staticmethod - def CreateGroup( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreateGroup(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Msg/CreateGroup", + '/cosmos.group.v1.Msg/CreateGroup', cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroup.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupResponse.FromString, options, @@ -297,26 +299,23 @@ def CreateGroup( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateGroupMembers( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateGroupMembers(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Msg/UpdateGroupMembers", + '/cosmos.group.v1.Msg/UpdateGroupMembers', cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembers.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMembersResponse.FromString, options, @@ -327,26 +326,23 @@ def UpdateGroupMembers( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateGroupAdmin( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateGroupAdmin(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Msg/UpdateGroupAdmin", + '/cosmos.group.v1.Msg/UpdateGroupAdmin', cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdmin.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupAdminResponse.FromString, options, @@ -357,26 +353,23 @@ def UpdateGroupAdmin( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateGroupMetadata( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateGroupMetadata(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Msg/UpdateGroupMetadata", + '/cosmos.group.v1.Msg/UpdateGroupMetadata', cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadata.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupMetadataResponse.FromString, options, @@ -387,26 +380,23 @@ def UpdateGroupMetadata( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CreateGroupPolicy( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreateGroupPolicy(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Msg/CreateGroupPolicy", + '/cosmos.group.v1.Msg/CreateGroupPolicy', cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicy.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupPolicyResponse.FromString, options, @@ -417,26 +407,23 @@ def CreateGroupPolicy( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CreateGroupWithPolicy( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreateGroupWithPolicy(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Msg/CreateGroupWithPolicy", + '/cosmos.group.v1.Msg/CreateGroupWithPolicy', cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicy.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgCreateGroupWithPolicyResponse.FromString, options, @@ -447,26 +434,23 @@ def CreateGroupWithPolicy( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateGroupPolicyAdmin( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateGroupPolicyAdmin(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Msg/UpdateGroupPolicyAdmin", + '/cosmos.group.v1.Msg/UpdateGroupPolicyAdmin', cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdmin.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyAdminResponse.FromString, options, @@ -477,26 +461,23 @@ def UpdateGroupPolicyAdmin( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateGroupPolicyDecisionPolicy( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateGroupPolicyDecisionPolicy(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy", + '/cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy', cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicy.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyDecisionPolicyResponse.FromString, options, @@ -507,26 +488,23 @@ def UpdateGroupPolicyDecisionPolicy( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateGroupPolicyMetadata( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateGroupPolicyMetadata(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Msg/UpdateGroupPolicyMetadata", + '/cosmos.group.v1.Msg/UpdateGroupPolicyMetadata', cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadata.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgUpdateGroupPolicyMetadataResponse.FromString, options, @@ -537,26 +515,23 @@ def UpdateGroupPolicyMetadata( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SubmitProposal( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SubmitProposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Msg/SubmitProposal", + '/cosmos.group.v1.Msg/SubmitProposal', cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposal.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgSubmitProposalResponse.FromString, options, @@ -567,26 +542,23 @@ def SubmitProposal( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def WithdrawProposal( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def WithdrawProposal(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Msg/WithdrawProposal", + '/cosmos.group.v1.Msg/WithdrawProposal', cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposal.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgWithdrawProposalResponse.FromString, options, @@ -597,26 +569,23 @@ def WithdrawProposal( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Vote( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Vote(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Msg/Vote", + '/cosmos.group.v1.Msg/Vote', cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVote.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgVoteResponse.FromString, options, @@ -627,26 +596,23 @@ def Vote( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Exec( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Exec(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Msg/Exec", + '/cosmos.group.v1.Msg/Exec', cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExec.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgExecResponse.FromString, options, @@ -657,26 +623,23 @@ def Exec( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def LeaveGroup( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def LeaveGroup(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.group.v1.Msg/LeaveGroup", + '/cosmos.group.v1.Msg/LeaveGroup', cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroup.SerializeToString, cosmos_dot_group_dot_v1_dot_tx__pb2.MsgLeaveGroupResponse.FromString, options, @@ -687,5 +650,4 @@ def LeaveGroup( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/group/v1/types_pb2.py b/pyinjective/proto/cosmos/group/v1/types_pb2.py index 9fc46eba..103112b7 100644 --- a/pyinjective/proto/cosmos/group/v1/types_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/types_pb2.py @@ -7,7 +7,6 @@ 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() @@ -21,122 +20,92 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1b\x63osmos/group/v1/types.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto"\xb6\x01\n\x06Member\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x16\n\x06weight\x18\x02 \x01(\tR\x06weight\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x44\n\x08\x61\x64\x64\x65\x64_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x07\x61\x64\x64\x65\x64\x41t"w\n\rMemberRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x16\n\x06weight\x18\x02 \x01(\tR\x06weight\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata"\xc4\x01\n\x17ThresholdDecisionPolicy\x12\x1c\n\tthreshold\x18\x01 \x01(\tR\tthreshold\x12@\n\x07windows\x18\x02 \x01(\x0b\x32&.cosmos.group.v1.DecisionPolicyWindowsR\x07windows:I\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x8a\xe7\xb0*"cosmos-sdk/ThresholdDecisionPolicy"\xc8\x01\n\x18PercentageDecisionPolicy\x12\x1e\n\npercentage\x18\x01 \x01(\tR\npercentage\x12@\n\x07windows\x18\x02 \x01(\x0b\x32&.cosmos.group.v1.DecisionPolicyWindowsR\x07windows:J\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x8a\xe7\xb0*#cosmos-sdk/PercentageDecisionPolicy"\xc2\x01\n\x15\x44\x65\x63isionPolicyWindows\x12M\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0cvotingPeriod\x12Z\n\x14min_execution_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x12minExecutionPeriod"\xee\x01\n\tGroupInfo\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x18\n\x07version\x18\x04 \x01(\x04R\x07version\x12!\n\x0ctotal_weight\x18\x05 \x01(\tR\x0btotalWeight\x12H\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\tcreatedAt"Y\n\x0bGroupMember\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12/\n\x06member\x18\x02 \x01(\x0b\x32\x17.cosmos.group.v1.MemberR\x06member"\xfd\x02\n\x0fGroupPolicyInfo\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12.\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12\x18\n\x07version\x18\x05 \x01(\x04R\x07version\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy\x12H\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\tcreatedAt:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x01"\xfe\x05\n\x08Proposal\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x36\n\tproposers\x18\x04 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tproposers\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime\x12#\n\rgroup_version\x18\x06 \x01(\x04R\x0cgroupVersion\x12\x30\n\x14group_policy_version\x18\x07 \x01(\x04R\x12groupPolicyVersion\x12\x37\n\x06status\x18\x08 \x01(\x0e\x32\x1f.cosmos.group.v1.ProposalStatusR\x06status\x12U\n\x12\x66inal_tally_result\x18\t \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x10\x66inalTallyResult\x12U\n\x11voting_period_end\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0fvotingPeriodEnd\x12P\n\x0f\x65xecutor_result\x18\x0b \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x0e\x65xecutorResult\x12\x30\n\x08messages\x18\x0c \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x14\n\x05title\x18\r \x01(\tR\x05title\x12\x18\n\x07summary\x18\x0e \x01(\tR\x07summary:\x04\x88\xa0\x1f\x00"\x9d\x01\n\x0bTallyResult\x12\x1b\n\tyes_count\x18\x01 \x01(\tR\x08yesCount\x12#\n\rabstain_count\x18\x02 \x01(\tR\x0c\x61\x62stainCount\x12\x19\n\x08no_count\x18\x03 \x01(\tR\x07noCount\x12+\n\x12no_with_veto_count\x18\x04 \x01(\tR\x0fnoWithVetoCount:\x04\x88\xa0\x1f\x00"\xf4\x01\n\x04Vote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x33\n\x06option\x18\x03 \x01(\x0e\x32\x1b.cosmos.group.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime*\x8f\x01\n\nVoteOption\x12\x1b\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fVOTE_OPTION_YES\x10\x01\x12\x17\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x12\x12\n\x0eVOTE_OPTION_NO\x10\x03\x12\x1c\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04\x1a\x04\x88\xa3\x1e\x00*\xce\x01\n\x0eProposalStatus\x12\x1f\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19PROPOSAL_STATUS_SUBMITTED\x10\x01\x12\x1c\n\x18PROPOSAL_STATUS_ACCEPTED\x10\x02\x12\x1c\n\x18PROPOSAL_STATUS_REJECTED\x10\x03\x12\x1b\n\x17PROPOSAL_STATUS_ABORTED\x10\x04\x12\x1d\n\x19PROPOSAL_STATUS_WITHDRAWN\x10\x05\x1a\x04\x88\xa3\x1e\x00*\xba\x01\n\x16ProposalExecutorResult\x12(\n$PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED\x10\x00\x12$\n PROPOSAL_EXECUTOR_RESULT_NOT_RUN\x10\x01\x12$\n PROPOSAL_EXECUTOR_RESULT_SUCCESS\x10\x02\x12$\n PROPOSAL_EXECUTOR_RESULT_FAILURE\x10\x03\x1a\x04\x88\xa3\x1e\x00\x42\xa5\x01\n\x13\x63om.cosmos.group.v1B\nTypesProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/group/v1/types.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xb6\x01\n\x06Member\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x16\n\x06weight\x18\x02 \x01(\tR\x06weight\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x44\n\x08\x61\x64\x64\x65\x64_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x07\x61\x64\x64\x65\x64\x41t\"w\n\rMemberRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x16\n\x06weight\x18\x02 \x01(\tR\x06weight\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\"\xc4\x01\n\x17ThresholdDecisionPolicy\x12\x1c\n\tthreshold\x18\x01 \x01(\tR\tthreshold\x12@\n\x07windows\x18\x02 \x01(\x0b\x32&.cosmos.group.v1.DecisionPolicyWindowsR\x07windows:I\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x8a\xe7\xb0*\"cosmos-sdk/ThresholdDecisionPolicy\"\xc8\x01\n\x18PercentageDecisionPolicy\x12\x1e\n\npercentage\x18\x01 \x01(\tR\npercentage\x12@\n\x07windows\x18\x02 \x01(\x0b\x32&.cosmos.group.v1.DecisionPolicyWindowsR\x07windows:J\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicy\x8a\xe7\xb0*#cosmos-sdk/PercentageDecisionPolicy\"\xc2\x01\n\x15\x44\x65\x63isionPolicyWindows\x12M\n\rvoting_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0cvotingPeriod\x12Z\n\x14min_execution_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x12minExecutionPeriod\"\xee\x01\n\tGroupInfo\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x18\n\x07version\x18\x04 \x01(\x04R\x07version\x12!\n\x0ctotal_weight\x18\x05 \x01(\tR\x0btotalWeight\x12H\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\tcreatedAt\"Y\n\x0bGroupMember\x12\x19\n\x08group_id\x18\x01 \x01(\x04R\x07groupId\x12/\n\x06member\x18\x02 \x01(\x0b\x32\x17.cosmos.group.v1.MemberR\x06member\"\xfd\x02\n\x0fGroupPolicyInfo\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x19\n\x08group_id\x18\x02 \x01(\x04R\x07groupId\x12.\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12\x18\n\x07version\x18\x05 \x01(\x04R\x07version\x12\x61\n\x0f\x64\x65\x63ision_policy\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\"\xca\xb4-\x1e\x63osmos.group.v1.DecisionPolicyR\x0e\x64\x65\x63isionPolicy\x12H\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\tcreatedAt:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x01\"\xfe\x05\n\x08Proposal\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12J\n\x14group_policy_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x12groupPolicyAddress\x12\x1a\n\x08metadata\x18\x03 \x01(\tR\x08metadata\x12\x36\n\tproposers\x18\x04 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tproposers\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime\x12#\n\rgroup_version\x18\x06 \x01(\x04R\x0cgroupVersion\x12\x30\n\x14group_policy_version\x18\x07 \x01(\x04R\x12groupPolicyVersion\x12\x37\n\x06status\x18\x08 \x01(\x0e\x32\x1f.cosmos.group.v1.ProposalStatusR\x06status\x12U\n\x12\x66inal_tally_result\x18\t \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x10\x66inalTallyResult\x12U\n\x11voting_period_end\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0fvotingPeriodEnd\x12P\n\x0f\x65xecutor_result\x18\x0b \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResultR\x0e\x65xecutorResult\x12\x30\n\x08messages\x18\x0c \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x14\n\x05title\x18\r \x01(\tR\x05title\x12\x18\n\x07summary\x18\x0e \x01(\tR\x07summary:\x04\x88\xa0\x1f\x00\"\x9d\x01\n\x0bTallyResult\x12\x1b\n\tyes_count\x18\x01 \x01(\tR\x08yesCount\x12#\n\rabstain_count\x18\x02 \x01(\tR\x0c\x61\x62stainCount\x12\x19\n\x08no_count\x18\x03 \x01(\tR\x07noCount\x12+\n\x12no_with_veto_count\x18\x04 \x01(\tR\x0fnoWithVetoCount:\x04\x88\xa0\x1f\x00\"\xf4\x01\n\x04Vote\x12\x1f\n\x0bproposal_id\x18\x01 \x01(\x04R\nproposalId\x12.\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05voter\x12\x33\n\x06option\x18\x03 \x01(\x0e\x32\x1b.cosmos.group.v1.VoteOptionR\x06option\x12\x1a\n\x08metadata\x18\x04 \x01(\tR\x08metadata\x12J\n\x0bsubmit_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nsubmitTime*\x8f\x01\n\nVoteOption\x12\x1b\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fVOTE_OPTION_YES\x10\x01\x12\x17\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x12\x12\n\x0eVOTE_OPTION_NO\x10\x03\x12\x1c\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04\x1a\x04\x88\xa3\x1e\x00*\xce\x01\n\x0eProposalStatus\x12\x1f\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19PROPOSAL_STATUS_SUBMITTED\x10\x01\x12\x1c\n\x18PROPOSAL_STATUS_ACCEPTED\x10\x02\x12\x1c\n\x18PROPOSAL_STATUS_REJECTED\x10\x03\x12\x1b\n\x17PROPOSAL_STATUS_ABORTED\x10\x04\x12\x1d\n\x19PROPOSAL_STATUS_WITHDRAWN\x10\x05\x1a\x04\x88\xa3\x1e\x00*\xba\x01\n\x16ProposalExecutorResult\x12(\n$PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED\x10\x00\x12$\n PROPOSAL_EXECUTOR_RESULT_NOT_RUN\x10\x01\x12$\n PROPOSAL_EXECUTOR_RESULT_SUCCESS\x10\x02\x12$\n PROPOSAL_EXECUTOR_RESULT_FAILURE\x10\x03\x1a\x04\x88\xa3\x1e\x00\x42\xa5\x01\n\x13\x63om.cosmos.group.v1B\nTypesProtoP\x01Z$github.com/cosmos/cosmos-sdk/x/group\xa2\x02\x03\x43GX\xaa\x02\x0f\x43osmos.Group.V1\xca\x02\x0f\x43osmos\\Group\\V1\xe2\x02\x1b\x43osmos\\Group\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Group::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.group.v1.types_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.types_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\023com.cosmos.group.v1B\nTypesProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1" - ) - _globals["_VOTEOPTION"]._loaded_options = None - _globals["_VOTEOPTION"]._serialized_options = b"\210\243\036\000" - _globals["_PROPOSALSTATUS"]._loaded_options = None - _globals["_PROPOSALSTATUS"]._serialized_options = b"\210\243\036\000" - _globals["_PROPOSALEXECUTORRESULT"]._loaded_options = None - _globals["_PROPOSALEXECUTORRESULT"]._serialized_options = b"\210\243\036\000" - _globals["_MEMBER"].fields_by_name["address"]._loaded_options = None - _globals["_MEMBER"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MEMBER"].fields_by_name["added_at"]._loaded_options = None - _globals["_MEMBER"].fields_by_name[ - "added_at" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_MEMBERREQUEST"].fields_by_name["address"]._loaded_options = None - _globals["_MEMBERREQUEST"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_THRESHOLDDECISIONPOLICY"]._loaded_options = None - _globals["_THRESHOLDDECISIONPOLICY"]._serialized_options = ( - b'\312\264-\036cosmos.group.v1.DecisionPolicy\212\347\260*"cosmos-sdk/ThresholdDecisionPolicy' - ) - _globals["_PERCENTAGEDECISIONPOLICY"]._loaded_options = None - _globals["_PERCENTAGEDECISIONPOLICY"]._serialized_options = ( - b"\312\264-\036cosmos.group.v1.DecisionPolicy\212\347\260*#cosmos-sdk/PercentageDecisionPolicy" - ) - _globals["_DECISIONPOLICYWINDOWS"].fields_by_name["voting_period"]._loaded_options = None - _globals["_DECISIONPOLICYWINDOWS"].fields_by_name[ - "voting_period" - ]._serialized_options = b"\310\336\037\000\230\337\037\001\250\347\260*\001" - _globals["_DECISIONPOLICYWINDOWS"].fields_by_name["min_execution_period"]._loaded_options = None - _globals["_DECISIONPOLICYWINDOWS"].fields_by_name[ - "min_execution_period" - ]._serialized_options = b"\310\336\037\000\230\337\037\001\250\347\260*\001" - _globals["_GROUPINFO"].fields_by_name["admin"]._loaded_options = None - _globals["_GROUPINFO"].fields_by_name["admin"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_GROUPINFO"].fields_by_name["created_at"]._loaded_options = None - _globals["_GROUPINFO"].fields_by_name[ - "created_at" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_GROUPPOLICYINFO"].fields_by_name["address"]._loaded_options = None - _globals["_GROUPPOLICYINFO"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_GROUPPOLICYINFO"].fields_by_name["admin"]._loaded_options = None - _globals["_GROUPPOLICYINFO"].fields_by_name["admin"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_GROUPPOLICYINFO"].fields_by_name["decision_policy"]._loaded_options = None - _globals["_GROUPPOLICYINFO"].fields_by_name[ - "decision_policy" - ]._serialized_options = b"\312\264-\036cosmos.group.v1.DecisionPolicy" - _globals["_GROUPPOLICYINFO"].fields_by_name["created_at"]._loaded_options = None - _globals["_GROUPPOLICYINFO"].fields_by_name[ - "created_at" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_GROUPPOLICYINFO"]._loaded_options = None - _globals["_GROUPPOLICYINFO"]._serialized_options = b"\210\240\037\000\350\240\037\001" - _globals["_PROPOSAL"].fields_by_name["group_policy_address"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name[ - "group_policy_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_PROPOSAL"].fields_by_name["proposers"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name["proposers"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_PROPOSAL"].fields_by_name["submit_time"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name[ - "submit_time" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_PROPOSAL"].fields_by_name["final_tally_result"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name[ - "final_tally_result" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_PROPOSAL"].fields_by_name["voting_period_end"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name[ - "voting_period_end" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_PROPOSAL"]._loaded_options = None - _globals["_PROPOSAL"]._serialized_options = b"\210\240\037\000" - _globals["_TALLYRESULT"]._loaded_options = None - _globals["_TALLYRESULT"]._serialized_options = b"\210\240\037\000" - _globals["_VOTE"].fields_by_name["voter"]._loaded_options = None - _globals["_VOTE"].fields_by_name["voter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_VOTE"].fields_by_name["submit_time"]._loaded_options = None - _globals["_VOTE"].fields_by_name[ - "submit_time" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_VOTEOPTION"]._serialized_start = 3006 - _globals["_VOTEOPTION"]._serialized_end = 3149 - _globals["_PROPOSALSTATUS"]._serialized_start = 3152 - _globals["_PROPOSALSTATUS"]._serialized_end = 3358 - _globals["_PROPOSALEXECUTORRESULT"]._serialized_start = 3361 - _globals["_PROPOSALEXECUTORRESULT"]._serialized_end = 3547 - _globals["_MEMBER"]._serialized_start = 209 - _globals["_MEMBER"]._serialized_end = 391 - _globals["_MEMBERREQUEST"]._serialized_start = 393 - _globals["_MEMBERREQUEST"]._serialized_end = 512 - _globals["_THRESHOLDDECISIONPOLICY"]._serialized_start = 515 - _globals["_THRESHOLDDECISIONPOLICY"]._serialized_end = 711 - _globals["_PERCENTAGEDECISIONPOLICY"]._serialized_start = 714 - _globals["_PERCENTAGEDECISIONPOLICY"]._serialized_end = 914 - _globals["_DECISIONPOLICYWINDOWS"]._serialized_start = 917 - _globals["_DECISIONPOLICYWINDOWS"]._serialized_end = 1111 - _globals["_GROUPINFO"]._serialized_start = 1114 - _globals["_GROUPINFO"]._serialized_end = 1352 - _globals["_GROUPMEMBER"]._serialized_start = 1354 - _globals["_GROUPMEMBER"]._serialized_end = 1443 - _globals["_GROUPPOLICYINFO"]._serialized_start = 1446 - _globals["_GROUPPOLICYINFO"]._serialized_end = 1827 - _globals["_PROPOSAL"]._serialized_start = 1830 - _globals["_PROPOSAL"]._serialized_end = 2596 - _globals["_TALLYRESULT"]._serialized_start = 2599 - _globals["_TALLYRESULT"]._serialized_end = 2756 - _globals["_VOTE"]._serialized_start = 2759 - _globals["_VOTE"]._serialized_end = 3003 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.group.v1B\nTypesProtoP\001Z$github.com/cosmos/cosmos-sdk/x/group\242\002\003CGX\252\002\017Cosmos.Group.V1\312\002\017Cosmos\\Group\\V1\342\002\033Cosmos\\Group\\V1\\GPBMetadata\352\002\021Cosmos::Group::V1' + _globals['_VOTEOPTION']._loaded_options = None + _globals['_VOTEOPTION']._serialized_options = b'\210\243\036\000' + _globals['_PROPOSALSTATUS']._loaded_options = None + _globals['_PROPOSALSTATUS']._serialized_options = b'\210\243\036\000' + _globals['_PROPOSALEXECUTORRESULT']._loaded_options = None + _globals['_PROPOSALEXECUTORRESULT']._serialized_options = b'\210\243\036\000' + _globals['_MEMBER'].fields_by_name['address']._loaded_options = None + _globals['_MEMBER'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MEMBER'].fields_by_name['added_at']._loaded_options = None + _globals['_MEMBER'].fields_by_name['added_at']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_MEMBERREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_MEMBERREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_THRESHOLDDECISIONPOLICY']._loaded_options = None + _globals['_THRESHOLDDECISIONPOLICY']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy\212\347\260*\"cosmos-sdk/ThresholdDecisionPolicy' + _globals['_PERCENTAGEDECISIONPOLICY']._loaded_options = None + _globals['_PERCENTAGEDECISIONPOLICY']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy\212\347\260*#cosmos-sdk/PercentageDecisionPolicy' + _globals['_DECISIONPOLICYWINDOWS'].fields_by_name['voting_period']._loaded_options = None + _globals['_DECISIONPOLICYWINDOWS'].fields_by_name['voting_period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' + _globals['_DECISIONPOLICYWINDOWS'].fields_by_name['min_execution_period']._loaded_options = None + _globals['_DECISIONPOLICYWINDOWS'].fields_by_name['min_execution_period']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' + _globals['_GROUPINFO'].fields_by_name['admin']._loaded_options = None + _globals['_GROUPINFO'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_GROUPINFO'].fields_by_name['created_at']._loaded_options = None + _globals['_GROUPINFO'].fields_by_name['created_at']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_GROUPPOLICYINFO'].fields_by_name['address']._loaded_options = None + _globals['_GROUPPOLICYINFO'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_GROUPPOLICYINFO'].fields_by_name['admin']._loaded_options = None + _globals['_GROUPPOLICYINFO'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_GROUPPOLICYINFO'].fields_by_name['decision_policy']._loaded_options = None + _globals['_GROUPPOLICYINFO'].fields_by_name['decision_policy']._serialized_options = b'\312\264-\036cosmos.group.v1.DecisionPolicy' + _globals['_GROUPPOLICYINFO'].fields_by_name['created_at']._loaded_options = None + _globals['_GROUPPOLICYINFO'].fields_by_name['created_at']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_GROUPPOLICYINFO']._loaded_options = None + _globals['_GROUPPOLICYINFO']._serialized_options = b'\210\240\037\000\350\240\037\001' + _globals['_PROPOSAL'].fields_by_name['group_policy_address']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['group_policy_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_PROPOSAL'].fields_by_name['proposers']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['proposers']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_PROPOSAL'].fields_by_name['submit_time']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['submit_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['final_tally_result']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['final_tally_result']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PROPOSAL'].fields_by_name['voting_period_end']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['voting_period_end']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_PROPOSAL']._loaded_options = None + _globals['_PROPOSAL']._serialized_options = b'\210\240\037\000' + _globals['_TALLYRESULT']._loaded_options = None + _globals['_TALLYRESULT']._serialized_options = b'\210\240\037\000' + _globals['_VOTE'].fields_by_name['voter']._loaded_options = None + _globals['_VOTE'].fields_by_name['voter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_VOTE'].fields_by_name['submit_time']._loaded_options = None + _globals['_VOTE'].fields_by_name['submit_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_VOTEOPTION']._serialized_start=3006 + _globals['_VOTEOPTION']._serialized_end=3149 + _globals['_PROPOSALSTATUS']._serialized_start=3152 + _globals['_PROPOSALSTATUS']._serialized_end=3358 + _globals['_PROPOSALEXECUTORRESULT']._serialized_start=3361 + _globals['_PROPOSALEXECUTORRESULT']._serialized_end=3547 + _globals['_MEMBER']._serialized_start=209 + _globals['_MEMBER']._serialized_end=391 + _globals['_MEMBERREQUEST']._serialized_start=393 + _globals['_MEMBERREQUEST']._serialized_end=512 + _globals['_THRESHOLDDECISIONPOLICY']._serialized_start=515 + _globals['_THRESHOLDDECISIONPOLICY']._serialized_end=711 + _globals['_PERCENTAGEDECISIONPOLICY']._serialized_start=714 + _globals['_PERCENTAGEDECISIONPOLICY']._serialized_end=914 + _globals['_DECISIONPOLICYWINDOWS']._serialized_start=917 + _globals['_DECISIONPOLICYWINDOWS']._serialized_end=1111 + _globals['_GROUPINFO']._serialized_start=1114 + _globals['_GROUPINFO']._serialized_end=1352 + _globals['_GROUPMEMBER']._serialized_start=1354 + _globals['_GROUPMEMBER']._serialized_end=1443 + _globals['_GROUPPOLICYINFO']._serialized_start=1446 + _globals['_GROUPPOLICYINFO']._serialized_end=1827 + _globals['_PROPOSAL']._serialized_start=1830 + _globals['_PROPOSAL']._serialized_end=2596 + _globals['_TALLYRESULT']._serialized_start=2599 + _globals['_TALLYRESULT']._serialized_end=2756 + _globals['_VOTE']._serialized_start=2759 + _globals['_VOTE']._serialized_end=3003 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/types_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/types_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/group/v1/types_pb2_grpc.py +++ b/pyinjective/proto/cosmos/group/v1/types_pb2_grpc.py @@ -1,3 +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/cosmos/ics23/v1/proofs_pb2.py b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py index 6368f266..10a01ca2 100644 --- a/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py +++ b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2.py @@ -7,52 +7,49 @@ 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\x1c\x63osmos/ics23/v1/proofs.proto\x12\x0f\x63osmos.ics23.v1"\x93\x01\n\x0e\x45xistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12+\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x04leaf\x12,\n\x04path\x18\x04 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOpR\x04path"\x91\x01\n\x11NonExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x33\n\x04left\x18\x02 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofR\x04left\x12\x35\n\x05right\x18\x03 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofR\x05right"\x93\x02\n\x0f\x43ommitmentProof\x12\x37\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00R\x05\x65xist\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32".cosmos.ics23.v1.NonExistenceProofH\x00R\x08nonexist\x12\x33\n\x05\x62\x61tch\x18\x03 \x01(\x0b\x32\x1b.cosmos.ics23.v1.BatchProofH\x00R\x05\x62\x61tch\x12G\n\ncompressed\x18\x04 \x01(\x0b\x32%.cosmos.ics23.v1.CompressedBatchProofH\x00R\ncompressedB\x07\n\x05proof"\xf8\x01\n\x06LeafOp\x12+\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash\x12\x38\n\x0bprehash_key\x18\x02 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\nprehashKey\x12<\n\rprehash_value\x18\x03 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x0cprehashValue\x12\x31\n\x06length\x18\x04 \x01(\x0e\x32\x19.cosmos.ics23.v1.LengthOpR\x06length\x12\x16\n\x06prefix\x18\x05 \x01(\x0cR\x06prefix"f\n\x07InnerOp\x12+\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash\x12\x16\n\x06prefix\x18\x02 \x01(\x0cR\x06prefix\x12\x16\n\x06suffix\x18\x03 \x01(\x0cR\x06suffix"\xf9\x01\n\tProofSpec\x12\x34\n\tleaf_spec\x18\x01 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x08leafSpec\x12\x39\n\ninner_spec\x18\x02 \x01(\x0b\x32\x1a.cosmos.ics23.v1.InnerSpecR\tinnerSpec\x12\x1b\n\tmax_depth\x18\x03 \x01(\x05R\x08maxDepth\x12\x1b\n\tmin_depth\x18\x04 \x01(\x05R\x08minDepth\x12\x41\n\x1dprehash_key_before_comparison\x18\x05 \x01(\x08R\x1aprehashKeyBeforeComparison"\xf1\x01\n\tInnerSpec\x12\x1f\n\x0b\x63hild_order\x18\x01 \x03(\x05R\nchildOrder\x12\x1d\n\nchild_size\x18\x02 \x01(\x05R\tchildSize\x12*\n\x11min_prefix_length\x18\x03 \x01(\x05R\x0fminPrefixLength\x12*\n\x11max_prefix_length\x18\x04 \x01(\x05R\x0fmaxPrefixLength\x12\x1f\n\x0b\x65mpty_child\x18\x05 \x01(\x0cR\nemptyChild\x12+\n\x04hash\x18\x06 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash"C\n\nBatchProof\x12\x35\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1b.cosmos.ics23.v1.BatchEntryR\x07\x65ntries"\x90\x01\n\nBatchEntry\x12\x37\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00R\x05\x65xist\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32".cosmos.ics23.v1.NonExistenceProofH\x00R\x08nonexistB\x07\n\x05proof"\x96\x01\n\x14\x43ompressedBatchProof\x12?\n\x07\x65ntries\x18\x01 \x03(\x0b\x32%.cosmos.ics23.v1.CompressedBatchEntryR\x07\x65ntries\x12=\n\rlookup_inners\x18\x02 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOpR\x0clookupInners"\xae\x01\n\x14\x43ompressedBatchEntry\x12\x41\n\x05\x65xist\x18\x01 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofH\x00R\x05\x65xist\x12J\n\x08nonexist\x18\x02 \x01(\x0b\x32,.cosmos.ics23.v1.CompressedNonExistenceProofH\x00R\x08nonexistB\x07\n\x05proof"\x83\x01\n\x18\x43ompressedExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12+\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x04leaf\x12\x12\n\x04path\x18\x04 \x03(\x05R\x04path"\xaf\x01\n\x1b\x43ompressedNonExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12=\n\x04left\x18\x02 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofR\x04left\x12?\n\x05right\x18\x03 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofR\x05right*\x96\x01\n\x06HashOp\x12\x0b\n\x07NO_HASH\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\n\n\x06SHA512\x10\x02\x12\r\n\tKECCAK256\x10\x03\x12\r\n\tRIPEMD160\x10\x04\x12\x0b\n\x07\x42ITCOIN\x10\x05\x12\x0e\n\nSHA512_256\x10\x06\x12\x0f\n\x0b\x42LAKE2B_512\x10\x07\x12\x0f\n\x0b\x42LAKE2S_256\x10\x08\x12\n\n\x06\x42LAKE3\x10\t*\xab\x01\n\x08LengthOp\x12\r\n\tNO_PREFIX\x10\x00\x12\r\n\tVAR_PROTO\x10\x01\x12\x0b\n\x07VAR_RLP\x10\x02\x12\x0f\n\x0b\x46IXED32_BIG\x10\x03\x12\x12\n\x0e\x46IXED32_LITTLE\x10\x04\x12\x0f\n\x0b\x46IXED64_BIG\x10\x05\x12\x12\n\x0e\x46IXED64_LITTLE\x10\x06\x12\x14\n\x10REQUIRE_32_BYTES\x10\x07\x12\x14\n\x10REQUIRE_64_BYTES\x10\x08\x42\xa2\x01\n\x13\x63om.cosmos.ics23.v1B\x0bProofsProtoP\x01Z github.com/cosmos/ics23/go;ics23\xa2\x02\x03\x43IX\xaa\x02\x0f\x43osmos.Ics23.V1\xca\x02\x0f\x43osmos\\Ics23\\V1\xe2\x02\x1b\x43osmos\\Ics23\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Ics23::V1b\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/ics23/v1/proofs.proto\x12\x0f\x63osmos.ics23.v1\"\x93\x01\n\x0e\x45xistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12+\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x04leaf\x12,\n\x04path\x18\x04 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOpR\x04path\"\x91\x01\n\x11NonExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x33\n\x04left\x18\x02 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofR\x04left\x12\x35\n\x05right\x18\x03 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofR\x05right\"\x93\x02\n\x0f\x43ommitmentProof\x12\x37\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00R\x05\x65xist\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00R\x08nonexist\x12\x33\n\x05\x62\x61tch\x18\x03 \x01(\x0b\x32\x1b.cosmos.ics23.v1.BatchProofH\x00R\x05\x62\x61tch\x12G\n\ncompressed\x18\x04 \x01(\x0b\x32%.cosmos.ics23.v1.CompressedBatchProofH\x00R\ncompressedB\x07\n\x05proof\"\xf8\x01\n\x06LeafOp\x12+\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash\x12\x38\n\x0bprehash_key\x18\x02 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\nprehashKey\x12<\n\rprehash_value\x18\x03 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x0cprehashValue\x12\x31\n\x06length\x18\x04 \x01(\x0e\x32\x19.cosmos.ics23.v1.LengthOpR\x06length\x12\x16\n\x06prefix\x18\x05 \x01(\x0cR\x06prefix\"f\n\x07InnerOp\x12+\n\x04hash\x18\x01 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash\x12\x16\n\x06prefix\x18\x02 \x01(\x0cR\x06prefix\x12\x16\n\x06suffix\x18\x03 \x01(\x0cR\x06suffix\"\xf9\x01\n\tProofSpec\x12\x34\n\tleaf_spec\x18\x01 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x08leafSpec\x12\x39\n\ninner_spec\x18\x02 \x01(\x0b\x32\x1a.cosmos.ics23.v1.InnerSpecR\tinnerSpec\x12\x1b\n\tmax_depth\x18\x03 \x01(\x05R\x08maxDepth\x12\x1b\n\tmin_depth\x18\x04 \x01(\x05R\x08minDepth\x12\x41\n\x1dprehash_key_before_comparison\x18\x05 \x01(\x08R\x1aprehashKeyBeforeComparison\"\xf1\x01\n\tInnerSpec\x12\x1f\n\x0b\x63hild_order\x18\x01 \x03(\x05R\nchildOrder\x12\x1d\n\nchild_size\x18\x02 \x01(\x05R\tchildSize\x12*\n\x11min_prefix_length\x18\x03 \x01(\x05R\x0fminPrefixLength\x12*\n\x11max_prefix_length\x18\x04 \x01(\x05R\x0fmaxPrefixLength\x12\x1f\n\x0b\x65mpty_child\x18\x05 \x01(\x0cR\nemptyChild\x12+\n\x04hash\x18\x06 \x01(\x0e\x32\x17.cosmos.ics23.v1.HashOpR\x04hash\"C\n\nBatchProof\x12\x35\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1b.cosmos.ics23.v1.BatchEntryR\x07\x65ntries\"\x90\x01\n\nBatchEntry\x12\x37\n\x05\x65xist\x18\x01 \x01(\x0b\x32\x1f.cosmos.ics23.v1.ExistenceProofH\x00R\x05\x65xist\x12@\n\x08nonexist\x18\x02 \x01(\x0b\x32\".cosmos.ics23.v1.NonExistenceProofH\x00R\x08nonexistB\x07\n\x05proof\"\x96\x01\n\x14\x43ompressedBatchProof\x12?\n\x07\x65ntries\x18\x01 \x03(\x0b\x32%.cosmos.ics23.v1.CompressedBatchEntryR\x07\x65ntries\x12=\n\rlookup_inners\x18\x02 \x03(\x0b\x32\x18.cosmos.ics23.v1.InnerOpR\x0clookupInners\"\xae\x01\n\x14\x43ompressedBatchEntry\x12\x41\n\x05\x65xist\x18\x01 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofH\x00R\x05\x65xist\x12J\n\x08nonexist\x18\x02 \x01(\x0b\x32,.cosmos.ics23.v1.CompressedNonExistenceProofH\x00R\x08nonexistB\x07\n\x05proof\"\x83\x01\n\x18\x43ompressedExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12+\n\x04leaf\x18\x03 \x01(\x0b\x32\x17.cosmos.ics23.v1.LeafOpR\x04leaf\x12\x12\n\x04path\x18\x04 \x03(\x05R\x04path\"\xaf\x01\n\x1b\x43ompressedNonExistenceProof\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12=\n\x04left\x18\x02 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofR\x04left\x12?\n\x05right\x18\x03 \x01(\x0b\x32).cosmos.ics23.v1.CompressedExistenceProofR\x05right*\x96\x01\n\x06HashOp\x12\x0b\n\x07NO_HASH\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\n\n\x06SHA512\x10\x02\x12\r\n\tKECCAK256\x10\x03\x12\r\n\tRIPEMD160\x10\x04\x12\x0b\n\x07\x42ITCOIN\x10\x05\x12\x0e\n\nSHA512_256\x10\x06\x12\x0f\n\x0b\x42LAKE2B_512\x10\x07\x12\x0f\n\x0b\x42LAKE2S_256\x10\x08\x12\n\n\x06\x42LAKE3\x10\t*\xab\x01\n\x08LengthOp\x12\r\n\tNO_PREFIX\x10\x00\x12\r\n\tVAR_PROTO\x10\x01\x12\x0b\n\x07VAR_RLP\x10\x02\x12\x0f\n\x0b\x46IXED32_BIG\x10\x03\x12\x12\n\x0e\x46IXED32_LITTLE\x10\x04\x12\x0f\n\x0b\x46IXED64_BIG\x10\x05\x12\x12\n\x0e\x46IXED64_LITTLE\x10\x06\x12\x14\n\x10REQUIRE_32_BYTES\x10\x07\x12\x14\n\x10REQUIRE_64_BYTES\x10\x08\x42\xa2\x01\n\x13\x63om.cosmos.ics23.v1B\x0bProofsProtoP\x01Z github.com/cosmos/ics23/go;ics23\xa2\x02\x03\x43IX\xaa\x02\x0f\x43osmos.Ics23.V1\xca\x02\x0f\x43osmos\\Ics23\\V1\xe2\x02\x1b\x43osmos\\Ics23\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Ics23::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.ics23.v1.proofs_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.ics23.v1.proofs_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\023com.cosmos.ics23.v1B\013ProofsProtoP\001Z github.com/cosmos/ics23/go;ics23\242\002\003CIX\252\002\017Cosmos.Ics23.V1\312\002\017Cosmos\\Ics23\\V1\342\002\033Cosmos\\Ics23\\V1\\GPBMetadata\352\002\021Cosmos::Ics23::V1" - ) - _globals["_HASHOP"]._serialized_start = 2335 - _globals["_HASHOP"]._serialized_end = 2485 - _globals["_LENGTHOP"]._serialized_start = 2488 - _globals["_LENGTHOP"]._serialized_end = 2659 - _globals["_EXISTENCEPROOF"]._serialized_start = 50 - _globals["_EXISTENCEPROOF"]._serialized_end = 197 - _globals["_NONEXISTENCEPROOF"]._serialized_start = 200 - _globals["_NONEXISTENCEPROOF"]._serialized_end = 345 - _globals["_COMMITMENTPROOF"]._serialized_start = 348 - _globals["_COMMITMENTPROOF"]._serialized_end = 623 - _globals["_LEAFOP"]._serialized_start = 626 - _globals["_LEAFOP"]._serialized_end = 874 - _globals["_INNEROP"]._serialized_start = 876 - _globals["_INNEROP"]._serialized_end = 978 - _globals["_PROOFSPEC"]._serialized_start = 981 - _globals["_PROOFSPEC"]._serialized_end = 1230 - _globals["_INNERSPEC"]._serialized_start = 1233 - _globals["_INNERSPEC"]._serialized_end = 1474 - _globals["_BATCHPROOF"]._serialized_start = 1476 - _globals["_BATCHPROOF"]._serialized_end = 1543 - _globals["_BATCHENTRY"]._serialized_start = 1546 - _globals["_BATCHENTRY"]._serialized_end = 1690 - _globals["_COMPRESSEDBATCHPROOF"]._serialized_start = 1693 - _globals["_COMPRESSEDBATCHPROOF"]._serialized_end = 1843 - _globals["_COMPRESSEDBATCHENTRY"]._serialized_start = 1846 - _globals["_COMPRESSEDBATCHENTRY"]._serialized_end = 2020 - _globals["_COMPRESSEDEXISTENCEPROOF"]._serialized_start = 2023 - _globals["_COMPRESSEDEXISTENCEPROOF"]._serialized_end = 2154 - _globals["_COMPRESSEDNONEXISTENCEPROOF"]._serialized_start = 2157 - _globals["_COMPRESSEDNONEXISTENCEPROOF"]._serialized_end = 2332 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.ics23.v1B\013ProofsProtoP\001Z github.com/cosmos/ics23/go;ics23\242\002\003CIX\252\002\017Cosmos.Ics23.V1\312\002\017Cosmos\\Ics23\\V1\342\002\033Cosmos\\Ics23\\V1\\GPBMetadata\352\002\021Cosmos::Ics23::V1' + _globals['_HASHOP']._serialized_start=2335 + _globals['_HASHOP']._serialized_end=2485 + _globals['_LENGTHOP']._serialized_start=2488 + _globals['_LENGTHOP']._serialized_end=2659 + _globals['_EXISTENCEPROOF']._serialized_start=50 + _globals['_EXISTENCEPROOF']._serialized_end=197 + _globals['_NONEXISTENCEPROOF']._serialized_start=200 + _globals['_NONEXISTENCEPROOF']._serialized_end=345 + _globals['_COMMITMENTPROOF']._serialized_start=348 + _globals['_COMMITMENTPROOF']._serialized_end=623 + _globals['_LEAFOP']._serialized_start=626 + _globals['_LEAFOP']._serialized_end=874 + _globals['_INNEROP']._serialized_start=876 + _globals['_INNEROP']._serialized_end=978 + _globals['_PROOFSPEC']._serialized_start=981 + _globals['_PROOFSPEC']._serialized_end=1230 + _globals['_INNERSPEC']._serialized_start=1233 + _globals['_INNERSPEC']._serialized_end=1474 + _globals['_BATCHPROOF']._serialized_start=1476 + _globals['_BATCHPROOF']._serialized_end=1543 + _globals['_BATCHENTRY']._serialized_start=1546 + _globals['_BATCHENTRY']._serialized_end=1690 + _globals['_COMPRESSEDBATCHPROOF']._serialized_start=1693 + _globals['_COMPRESSEDBATCHPROOF']._serialized_end=1843 + _globals['_COMPRESSEDBATCHENTRY']._serialized_start=1846 + _globals['_COMPRESSEDBATCHENTRY']._serialized_end=2020 + _globals['_COMPRESSEDEXISTENCEPROOF']._serialized_start=2023 + _globals['_COMPRESSEDEXISTENCEPROOF']._serialized_end=2154 + _globals['_COMPRESSEDNONEXISTENCEPROOF']._serialized_start=2157 + _globals['_COMPRESSEDNONEXISTENCEPROOF']._serialized_end=2332 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/ics23/v1/proofs_pb2_grpc.py b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/ics23/v1/proofs_pb2_grpc.py +++ b/pyinjective/proto/cosmos/ics23/v1/proofs_pb2_grpc.py @@ -1,3 +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/cosmos/mint/module/v1/module_pb2.py b/pyinjective/proto/cosmos/mint/module/v1/module_pb2.py index 7518e8a6..0931d8c3 100644 --- a/pyinjective/proto/cosmos/mint/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/mint/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n"cosmos/mint/module/v1/module.proto\x12\x15\x63osmos.mint.module.v1\x1a cosmos/app/v1alpha1/module.proto"\x81\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/mintB\x9f\x01\n\x19\x63om.cosmos.mint.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43MM\xaa\x02\x15\x43osmos.Mint.Module.V1\xca\x02\x15\x43osmos\\Mint\\Module\\V1\xe2\x02!Cosmos\\Mint\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Mint::Module::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/mint/module/v1/module.proto\x12\x15\x63osmos.mint.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x81\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/mintB\x9f\x01\n\x19\x63om.cosmos.mint.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43MM\xaa\x02\x15\x43osmos.Mint.Module.V1\xca\x02\x15\x43osmos\\Mint\\Module\\V1\xe2\x02!Cosmos\\Mint\\Module\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Mint::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.mint.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\031com.cosmos.mint.module.v1B\013ModuleProtoP\001\242\002\003CMM\252\002\025Cosmos.Mint.Module.V1\312\002\025Cosmos\\Mint\\Module\\V1\342\002!Cosmos\\Mint\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Mint::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/mint" - _globals["_MODULE"]._serialized_start = 96 - _globals["_MODULE"]._serialized_end = 225 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.mint.module.v1B\013ModuleProtoP\001\242\002\003CMM\252\002\025Cosmos.Mint.Module.V1\312\002\025Cosmos\\Mint\\Module\\V1\342\002!Cosmos\\Mint\\Module\\V1\\GPBMetadata\352\002\030Cosmos::Mint::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/mint' + _globals['_MODULE']._serialized_start=96 + _globals['_MODULE']._serialized_end=225 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/mint/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/mint/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/mint/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/mint/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2.py index 7c44d234..09f9289d 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,22 +17,18 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!cosmos/mint/v1beta1/genesis.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x11\x61mino/amino.proto"\x8e\x01\n\x0cGenesisState\x12>\n\x06minter\x18\x01 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.MinterB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06minter\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06paramsB\xc0\x01\n\x17\x63om.cosmos.mint.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/mint/v1beta1/genesis.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x11\x61mino/amino.proto\"\x8e\x01\n\x0cGenesisState\x12>\n\x06minter\x18\x01 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.MinterB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06minter\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06paramsB\xc0\x01\n\x17\x63om.cosmos.mint.v1beta1B\x0cGenesisProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.mint.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.mint.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1" - ) - _globals["_GENESISSTATE"].fields_by_name["minter"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["minter"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"]._serialized_start = 132 - _globals["_GENESISSTATE"]._serialized_end = 274 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.mint.v1beta1B\014GenesisProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['minter']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['minter']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE']._serialized_start=132 + _globals['_GENESISSTATE']._serialized_end=274 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/genesis_pb2_grpc.py @@ -1,3 +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/cosmos/mint/v1beta1/mint_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2.py index 76f9171c..0c564108 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,54 +17,30 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1e\x63osmos/mint/v1beta1/mint.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\xb9\x01\n\x06Minter\x12O\n\tinflation\x18\x01 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\tinflation\x12^\n\x11\x61nnual_provisions\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x10\x61nnualProvisions"\xed\x03\n\x06Params\x12\x1d\n\nmint_denom\x18\x01 \x01(\tR\tmintDenom\x12j\n\x15inflation_rate_change\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x13inflationRateChange\x12[\n\rinflation_max\x18\x03 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0cinflationMax\x12[\n\rinflation_min\x18\x04 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0cinflationMin\x12W\n\x0bgoal_bonded\x18\x05 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\ngoalBonded\x12&\n\x0f\x62locks_per_year\x18\x06 \x01(\x04R\rblocksPerYear:\x1d\x8a\xe7\xb0*\x18\x63osmos-sdk/x/mint/ParamsB\xbd\x01\n\x17\x63om.cosmos.mint.v1beta1B\tMintProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/mint/v1beta1/mint.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xb9\x01\n\x06Minter\x12O\n\tinflation\x18\x01 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\tinflation\x12^\n\x11\x61nnual_provisions\x18\x02 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x10\x61nnualProvisions\"\xed\x03\n\x06Params\x12\x1d\n\nmint_denom\x18\x01 \x01(\tR\tmintDenom\x12j\n\x15inflation_rate_change\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x13inflationRateChange\x12[\n\rinflation_max\x18\x03 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0cinflationMax\x12[\n\rinflation_min\x18\x04 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x0cinflationMin\x12W\n\x0bgoal_bonded\x18\x05 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\ngoalBonded\x12&\n\x0f\x62locks_per_year\x18\x06 \x01(\x04R\rblocksPerYear:\x1d\x8a\xe7\xb0*\x18\x63osmos-sdk/x/mint/ParamsB\xbd\x01\n\x17\x63om.cosmos.mint.v1beta1B\tMintProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.mint.v1beta1.mint_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.mint_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.mint.v1beta1B\tMintProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1" - ) - _globals["_MINTER"].fields_by_name["inflation"]._loaded_options = None - _globals["_MINTER"].fields_by_name[ - "inflation" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" - _globals["_MINTER"].fields_by_name["annual_provisions"]._loaded_options = None - _globals["_MINTER"].fields_by_name[ - "annual_provisions" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" - _globals["_PARAMS"].fields_by_name["inflation_rate_change"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "inflation_rate_change" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_PARAMS"].fields_by_name["inflation_max"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "inflation_max" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_PARAMS"].fields_by_name["inflation_min"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "inflation_min" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_PARAMS"].fields_by_name["goal_bonded"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "goal_bonded" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_PARAMS"]._loaded_options = None - _globals["_PARAMS"]._serialized_options = b"\212\347\260*\030cosmos-sdk/x/mint/Params" - _globals["_MINTER"]._serialized_start = 124 - _globals["_MINTER"]._serialized_end = 309 - _globals["_PARAMS"]._serialized_start = 312 - _globals["_PARAMS"]._serialized_end = 805 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.mint.v1beta1B\tMintProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1' + _globals['_MINTER'].fields_by_name['inflation']._loaded_options = None + _globals['_MINTER'].fields_by_name['inflation']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_MINTER'].fields_by_name['annual_provisions']._loaded_options = None + _globals['_MINTER'].fields_by_name['annual_provisions']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_PARAMS'].fields_by_name['inflation_rate_change']._loaded_options = None + _globals['_PARAMS'].fields_by_name['inflation_rate_change']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['inflation_max']._loaded_options = None + _globals['_PARAMS'].fields_by_name['inflation_max']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['inflation_min']._loaded_options = None + _globals['_PARAMS'].fields_by_name['inflation_min']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['goal_bonded']._loaded_options = None + _globals['_PARAMS'].fields_by_name['goal_bonded']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\212\347\260*\030cosmos-sdk/x/mint/Params' + _globals['_MINTER']._serialized_start=124 + _globals['_MINTER']._serialized_end=309 + _globals['_PARAMS']._serialized_start=312 + _globals['_PARAMS']._serialized_end=805 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2_grpc.py b/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2_grpc.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/mint_pb2_grpc.py @@ -1,3 +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/cosmos/mint/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/query_pb2.py index 00d8f0c0..973b10f1 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,56 +19,38 @@ from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1f\x63osmos/mint/v1beta1/query.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto"\x14\n\x12QueryParamsRequest"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params"\x17\n\x15QueryInflationRequest"n\n\x16QueryInflationResponse\x12T\n\tinflation\x18\x01 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\tinflation"\x1e\n\x1cQueryAnnualProvisionsRequest"\x84\x01\n\x1dQueryAnnualProvisionsResponse\x12\x63\n\x11\x61nnual_provisions\x18\x01 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x10\x61nnualProvisions2\xc5\x03\n\x05Query\x12\x80\x01\n\x06Params\x12\'.cosmos.mint.v1beta1.QueryParamsRequest\x1a(.cosmos.mint.v1beta1.QueryParamsResponse"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/mint/v1beta1/params\x12\x8c\x01\n\tInflation\x12*.cosmos.mint.v1beta1.QueryInflationRequest\x1a+.cosmos.mint.v1beta1.QueryInflationResponse"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmos/mint/v1beta1/inflation\x12\xa9\x01\n\x10\x41nnualProvisions\x12\x31.cosmos.mint.v1beta1.QueryAnnualProvisionsRequest\x1a\x32.cosmos.mint.v1beta1.QueryAnnualProvisionsResponse".\x82\xd3\xe4\x93\x02(\x12&/cosmos/mint/v1beta1/annual_provisionsB\xbe\x01\n\x17\x63om.cosmos.mint.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/mint/v1beta1/query.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x14\n\x12QueryParamsRequest\"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"\x17\n\x15QueryInflationRequest\"n\n\x16QueryInflationResponse\x12T\n\tinflation\x18\x01 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\tinflation\"\x1e\n\x1cQueryAnnualProvisionsRequest\"\x84\x01\n\x1dQueryAnnualProvisionsResponse\x12\x63\n\x11\x61nnual_provisions\x18\x01 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x10\x61nnualProvisions2\xc5\x03\n\x05Query\x12\x80\x01\n\x06Params\x12\'.cosmos.mint.v1beta1.QueryParamsRequest\x1a(.cosmos.mint.v1beta1.QueryParamsResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/mint/v1beta1/params\x12\x8c\x01\n\tInflation\x12*.cosmos.mint.v1beta1.QueryInflationRequest\x1a+.cosmos.mint.v1beta1.QueryInflationResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmos/mint/v1beta1/inflation\x12\xa9\x01\n\x10\x41nnualProvisions\x12\x31.cosmos.mint.v1beta1.QueryAnnualProvisionsRequest\x1a\x32.cosmos.mint.v1beta1.QueryAnnualProvisionsResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/mint/v1beta1/annual_provisionsB\xbe\x01\n\x17\x63om.cosmos.mint.v1beta1B\nQueryProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.mint.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.mint.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1" - ) - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYINFLATIONRESPONSE"].fields_by_name["inflation"]._loaded_options = None - _globals["_QUERYINFLATIONRESPONSE"].fields_by_name[ - "inflation" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_QUERYANNUALPROVISIONSRESPONSE"].fields_by_name["annual_provisions"]._loaded_options = None - _globals["_QUERYANNUALPROVISIONSRESPONSE"].fields_by_name[ - "annual_provisions" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\202\323\344\223\002\035\022\033/cosmos/mint/v1beta1/params" - _globals["_QUERY"].methods_by_name["Inflation"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Inflation" - ]._serialized_options = b"\202\323\344\223\002 \022\036/cosmos/mint/v1beta1/inflation" - _globals["_QUERY"].methods_by_name["AnnualProvisions"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AnnualProvisions" - ]._serialized_options = b"\202\323\344\223\002(\022&/cosmos/mint/v1beta1/annual_provisions" - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 186 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 206 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 208 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 293 - _globals["_QUERYINFLATIONREQUEST"]._serialized_start = 295 - _globals["_QUERYINFLATIONREQUEST"]._serialized_end = 318 - _globals["_QUERYINFLATIONRESPONSE"]._serialized_start = 320 - _globals["_QUERYINFLATIONRESPONSE"]._serialized_end = 430 - _globals["_QUERYANNUALPROVISIONSREQUEST"]._serialized_start = 432 - _globals["_QUERYANNUALPROVISIONSREQUEST"]._serialized_end = 462 - _globals["_QUERYANNUALPROVISIONSRESPONSE"]._serialized_start = 465 - _globals["_QUERYANNUALPROVISIONSRESPONSE"]._serialized_end = 597 - _globals["_QUERY"]._serialized_start = 600 - _globals["_QUERY"]._serialized_end = 1053 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.mint.v1beta1B\nQueryProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYINFLATIONRESPONSE'].fields_by_name['inflation']._loaded_options = None + _globals['_QUERYINFLATIONRESPONSE'].fields_by_name['inflation']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_QUERYANNUALPROVISIONSRESPONSE'].fields_by_name['annual_provisions']._loaded_options = None + _globals['_QUERYANNUALPROVISIONSRESPONSE'].fields_by_name['annual_provisions']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/mint/v1beta1/params' + _globals['_QUERY'].methods_by_name['Inflation']._loaded_options = None + _globals['_QUERY'].methods_by_name['Inflation']._serialized_options = b'\202\323\344\223\002 \022\036/cosmos/mint/v1beta1/inflation' + _globals['_QUERY'].methods_by_name['AnnualProvisions']._loaded_options = None + _globals['_QUERY'].methods_by_name['AnnualProvisions']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/mint/v1beta1/annual_provisions' + _globals['_QUERYPARAMSREQUEST']._serialized_start=186 + _globals['_QUERYPARAMSREQUEST']._serialized_end=206 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=208 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=293 + _globals['_QUERYINFLATIONREQUEST']._serialized_start=295 + _globals['_QUERYINFLATIONREQUEST']._serialized_end=318 + _globals['_QUERYINFLATIONRESPONSE']._serialized_start=320 + _globals['_QUERYINFLATIONRESPONSE']._serialized_end=430 + _globals['_QUERYANNUALPROVISIONSREQUEST']._serialized_start=432 + _globals['_QUERYANNUALPROVISIONSREQUEST']._serialized_end=462 + _globals['_QUERYANNUALPROVISIONSRESPONSE']._serialized_start=465 + _globals['_QUERYANNUALPROVISIONSRESPONSE']._serialized_end=597 + _globals['_QUERY']._serialized_start=600 + _globals['_QUERY']._serialized_end=1053 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/mint/v1beta1/query_pb2_grpc.py index 71dc3c77..c9ec00cb 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query provides defines the gRPC querier service.""" + """Query provides defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -15,91 +16,92 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - "/cosmos.mint.v1beta1.Query/Params", - request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.mint.v1beta1.Query/Params', + request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) self.Inflation = channel.unary_unary( - "/cosmos.mint.v1beta1.Query/Inflation", - request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationRequest.SerializeToString, - response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationResponse.FromString, - _registered_method=True, - ) + '/cosmos.mint.v1beta1.Query/Inflation', + request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationRequest.SerializeToString, + response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationResponse.FromString, + _registered_method=True) self.AnnualProvisions = channel.unary_unary( - "/cosmos.mint.v1beta1.Query/AnnualProvisions", - request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsRequest.SerializeToString, - response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsResponse.FromString, - _registered_method=True, - ) + '/cosmos.mint.v1beta1.Query/AnnualProvisions', + request_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsRequest.SerializeToString, + response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query provides defines the gRPC querier service.""" + """Query provides defines the gRPC querier service. + """ def Params(self, request, context): - """Params returns the total set of minting parameters.""" + """Params returns the total set of minting parameters. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Inflation(self, request, context): - """Inflation returns the current minting inflation value.""" + """Inflation returns the current minting inflation value. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AnnualProvisions(self, request, context): - """AnnualProvisions current minting annual provisions value.""" + """AnnualProvisions current minting annual provisions value. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - "Inflation": grpc.unary_unary_rpc_method_handler( - servicer.Inflation, - request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationRequest.FromString, - response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationResponse.SerializeToString, - ), - "AnnualProvisions": grpc.unary_unary_rpc_method_handler( - servicer.AnnualProvisions, - request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsRequest.FromString, - response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsResponse.SerializeToString, - ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'Inflation': grpc.unary_unary_rpc_method_handler( + servicer.Inflation, + request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationRequest.FromString, + response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationResponse.SerializeToString, + ), + 'AnnualProvisions': grpc.unary_unary_rpc_method_handler( + servicer.AnnualProvisions, + request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsRequest.FromString, + response_serializer=cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.mint.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.mint.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.mint.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.mint.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query provides defines the gRPC querier service.""" + """Query provides defines the gRPC querier service. + """ @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.mint.v1beta1.Query/Params", + '/cosmos.mint.v1beta1.Query/Params', cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -110,26 +112,23 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Inflation( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Inflation(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.mint.v1beta1.Query/Inflation", + '/cosmos.mint.v1beta1.Query/Inflation', cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationRequest.SerializeToString, cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryInflationResponse.FromString, options, @@ -140,26 +139,23 @@ def Inflation( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def AnnualProvisions( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AnnualProvisions(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.mint.v1beta1.Query/AnnualProvisions", + '/cosmos.mint.v1beta1.Query/AnnualProvisions', cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsRequest.SerializeToString, cosmos_dot_mint_dot_v1beta1_dot_query__pb2.QueryAnnualProvisionsResponse.FromString, options, @@ -170,5 +166,4 @@ def AnnualProvisions( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py index 106edf2f..63e46787 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,32 +19,26 @@ from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1c\x63osmos/mint/v1beta1/tx.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/mint/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.mint.v1beta1.MsgUpdateParams\x1a,.cosmos.mint.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.mint.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/mint/v1beta1/tx.proto\x12\x13\x63osmos.mint.v1beta1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/mint/v1beta1/mint.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xbf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32\x1b.cosmos.mint.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:4\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*!cosmos-sdk/x/mint/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2p\n\x03Msg\x12\x62\n\x0cUpdateParams\x12$.cosmos.mint.v1beta1.MsgUpdateParams\x1a,.cosmos.mint.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbb\x01\n\x17\x63om.cosmos.mint.v1beta1B\x07TxProtoP\x01Z)github.com/cosmos/cosmos-sdk/x/mint/types\xa2\x02\x03\x43MX\xaa\x02\x13\x43osmos.Mint.V1beta1\xca\x02\x13\x43osmos\\Mint\\V1beta1\xe2\x02\x1f\x43osmos\\Mint\\V1beta1\\GPBMetadata\xea\x02\x15\x43osmos::Mint::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.mint.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.mint.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/mint/MsgUpdateParams" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGUPDATEPARAMS"]._serialized_start = 179 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 370 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 372 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 397 - _globals["_MSG"]._serialized_start = 399 - _globals["_MSG"]._serialized_end = 511 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.mint.v1beta1B\007TxProtoP\001Z)github.com/cosmos/cosmos-sdk/x/mint/types\242\002\003CMX\252\002\023Cosmos.Mint.V1beta1\312\002\023Cosmos\\Mint\\V1beta1\342\002\037Cosmos\\Mint\\V1beta1\\GPBMetadata\352\002\025Cosmos::Mint::V1beta1' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*!cosmos-sdk/x/mint/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGUPDATEPARAMS']._serialized_start=179 + _globals['_MSGUPDATEPARAMS']._serialized_end=370 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=372 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=397 + _globals['_MSG']._serialized_start=399 + _globals['_MSG']._serialized_end=511 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2_grpc.py index 32e6871a..0d6e1328 100644 --- a/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/mint/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the x/mint Msg service.""" + """Msg defines the x/mint Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,15 +16,15 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.UpdateParams = channel.unary_unary( - "/cosmos.mint.v1beta1.Msg/UpdateParams", - request_serializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.mint.v1beta1.Msg/UpdateParams', + request_serializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the x/mint Msg service.""" + """Msg defines the x/mint Msg service. + """ def UpdateParams(self, request, context): """UpdateParams defines a governance operation for updating the x/mint module @@ -32,44 +33,44 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.mint.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.mint.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.mint.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.mint.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the x/mint Msg service.""" + """Msg defines the x/mint Msg service. + """ @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.mint.v1beta1.Msg/UpdateParams", + '/cosmos.mint.v1beta1.Msg/UpdateParams', cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_mint_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -80,5 +81,4 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2.py b/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2.py index 793227be..e85806b8 100644 --- a/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2.py +++ b/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,16 +15,12 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n#cosmos/msg/textual/v1/textual.proto\x12\x15\x63osmos.msg.textual.v1\x1a google/protobuf/descriptor.proto:X\n\x16\x65xpert_custom_renderer\x12\x1f.google.protobuf.MessageOptions\x18\xf9\x8c\xa6\x05 \x01(\tR\x14\x65xpertCustomRendererB\xa0\x01\n\x19\x63om.cosmos.msg.textual.v1B\x0cTextualProtoP\x01\xa2\x02\x03\x43MT\xaa\x02\x15\x43osmos.Msg.Textual.V1\xca\x02\x15\x43osmos\\Msg\\Textual\\V1\xe2\x02!Cosmos\\Msg\\Textual\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Msg::Textual::V1b\x06proto3" -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/msg/textual/v1/textual.proto\x12\x15\x63osmos.msg.textual.v1\x1a google/protobuf/descriptor.proto:X\n\x16\x65xpert_custom_renderer\x12\x1f.google.protobuf.MessageOptions\x18\xf9\x8c\xa6\x05 \x01(\tR\x14\x65xpertCustomRendererB\xa0\x01\n\x19\x63om.cosmos.msg.textual.v1B\x0cTextualProtoP\x01\xa2\x02\x03\x43MT\xaa\x02\x15\x43osmos.Msg.Textual.V1\xca\x02\x15\x43osmos\\Msg\\Textual\\V1\xe2\x02!Cosmos\\Msg\\Textual\\V1\\GPBMetadata\xea\x02\x18\x43osmos::Msg::Textual::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.msg.textual.v1.textual_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.msg.textual.v1.textual_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\031com.cosmos.msg.textual.v1B\014TextualProtoP\001\242\002\003CMT\252\002\025Cosmos.Msg.Textual.V1\312\002\025Cosmos\\Msg\\Textual\\V1\342\002!Cosmos\\Msg\\Textual\\V1\\GPBMetadata\352\002\030Cosmos::Msg::Textual::V1" - ) + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.msg.textual.v1B\014TextualProtoP\001\242\002\003CMT\252\002\025Cosmos.Msg.Textual.V1\312\002\025Cosmos\\Msg\\Textual\\V1\342\002!Cosmos\\Msg\\Textual\\V1\\GPBMetadata\352\002\030Cosmos::Msg::Textual::V1' # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2_grpc.py b/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2_grpc.py +++ b/pyinjective/proto/cosmos/msg/textual/v1/textual_pb2_grpc.py @@ -1,3 +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/cosmos/msg/v1/msg_pb2.py b/pyinjective/proto/cosmos/msg/v1/msg_pb2.py index 78d1110b..0964b24b 100644 --- a/pyinjective/proto/cosmos/msg/v1/msg_pb2.py +++ b/pyinjective/proto/cosmos/msg/v1/msg_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,16 +15,12 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n\x17\x63osmos/msg/v1/msg.proto\x12\rcosmos.msg.v1\x1a google/protobuf/descriptor.proto:<\n\x07service\x12\x1f.google.protobuf.ServiceOptions\x18\xf0\x8c\xa6\x05 \x01(\x08R\x07service::\n\x06signer\x12\x1f.google.protobuf.MessageOptions\x18\xf0\x8c\xa6\x05 \x03(\tR\x06signerB\xa2\x01\n\x11\x63om.cosmos.msg.v1B\x08MsgProtoP\x01Z-github.com/cosmos/cosmos-sdk/types/msgservice\xa2\x02\x03\x43MX\xaa\x02\rCosmos.Msg.V1\xca\x02\rCosmos\\Msg\\V1\xe2\x02\x19\x43osmos\\Msg\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Msg::V1b\x06proto3" -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63osmos/msg/v1/msg.proto\x12\rcosmos.msg.v1\x1a google/protobuf/descriptor.proto:<\n\x07service\x12\x1f.google.protobuf.ServiceOptions\x18\xf0\x8c\xa6\x05 \x01(\x08R\x07service::\n\x06signer\x12\x1f.google.protobuf.MessageOptions\x18\xf0\x8c\xa6\x05 \x03(\tR\x06signerB\xa2\x01\n\x11\x63om.cosmos.msg.v1B\x08MsgProtoP\x01Z-github.com/cosmos/cosmos-sdk/types/msgservice\xa2\x02\x03\x43MX\xaa\x02\rCosmos.Msg.V1\xca\x02\rCosmos\\Msg\\V1\xe2\x02\x19\x43osmos\\Msg\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Msg::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.msg.v1.msg_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.msg.v1.msg_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\021com.cosmos.msg.v1B\010MsgProtoP\001Z-github.com/cosmos/cosmos-sdk/types/msgservice\242\002\003CMX\252\002\rCosmos.Msg.V1\312\002\rCosmos\\Msg\\V1\342\002\031Cosmos\\Msg\\V1\\GPBMetadata\352\002\017Cosmos::Msg::V1" - ) + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.msg.v1B\010MsgProtoP\001Z-github.com/cosmos/cosmos-sdk/types/msgservice\242\002\003CMX\252\002\rCosmos.Msg.V1\312\002\rCosmos\\Msg\\V1\342\002\031Cosmos\\Msg\\V1\\GPBMetadata\352\002\017Cosmos::Msg::V1' # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/msg/v1/msg_pb2_grpc.py b/pyinjective/proto/cosmos/msg/v1/msg_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/msg/v1/msg_pb2_grpc.py +++ b/pyinjective/proto/cosmos/msg/v1/msg_pb2_grpc.py @@ -1,3 +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/cosmos/nft/module/v1/module_pb2.py b/pyinjective/proto/cosmos/nft/module/v1/module_pb2.py index aa6d9caa..79a1d5ec 100644 --- a/pyinjective/proto/cosmos/nft/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/nft/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!cosmos/nft/module/v1/module.proto\x12\x14\x63osmos.nft.module.v1\x1a cosmos/app/v1alpha1/module.proto"$\n\x06Module:\x1a\xba\xc0\x96\xda\x01\x14\n\x12\x63osmossdk.io/x/nftB\x9a\x01\n\x18\x63om.cosmos.nft.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43NM\xaa\x02\x14\x43osmos.Nft.Module.V1\xca\x02\x14\x43osmos\\Nft\\Module\\V1\xe2\x02 Cosmos\\Nft\\Module\\V1\\GPBMetadata\xea\x02\x17\x43osmos::Nft::Module::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/nft/module/v1/module.proto\x12\x14\x63osmos.nft.module.v1\x1a cosmos/app/v1alpha1/module.proto\"$\n\x06Module:\x1a\xba\xc0\x96\xda\x01\x14\n\x12\x63osmossdk.io/x/nftB\x9a\x01\n\x18\x63om.cosmos.nft.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43NM\xaa\x02\x14\x43osmos.Nft.Module.V1\xca\x02\x14\x43osmos\\Nft\\Module\\V1\xe2\x02 Cosmos\\Nft\\Module\\V1\\GPBMetadata\xea\x02\x17\x43osmos::Nft::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.nft.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\030com.cosmos.nft.module.v1B\013ModuleProtoP\001\242\002\003CNM\252\002\024Cosmos.Nft.Module.V1\312\002\024Cosmos\\Nft\\Module\\V1\342\002 Cosmos\\Nft\\Module\\V1\\GPBMetadata\352\002\027Cosmos::Nft::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001\024\n\022cosmossdk.io/x/nft" - _globals["_MODULE"]._serialized_start = 93 - _globals["_MODULE"]._serialized_end = 129 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.nft.module.v1B\013ModuleProtoP\001\242\002\003CNM\252\002\024Cosmos.Nft.Module.V1\312\002\024Cosmos\\Nft\\Module\\V1\342\002 Cosmos\\Nft\\Module\\V1\\GPBMetadata\352\002\027Cosmos::Nft::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\024\n\022cosmossdk.io/x/nft' + _globals['_MODULE']._serialized_start=93 + _globals['_MODULE']._serialized_end=129 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/nft/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/nft/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/nft/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/nft/v1beta1/event_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/event_pb2.py index b29cd86b..b714d392 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/event_pb2.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/event_pb2.py @@ -7,28 +7,25 @@ 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\x1e\x63osmos/nft/v1beta1/event.proto\x12\x12\x63osmos.nft.v1beta1"j\n\tEventSend\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x04 \x01(\tR\x08receiver"L\n\tEventMint\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05owner"L\n\tEventBurn\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05ownerB\xa2\x01\n\x16\x63om.cosmos.nft.v1beta1B\nEventProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/nft/v1beta1/event.proto\x12\x12\x63osmos.nft.v1beta1\"j\n\tEventSend\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x04 \x01(\tR\x08receiver\"L\n\tEventMint\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05owner\"L\n\tEventBurn\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05ownerB\xa2\x01\n\x16\x63om.cosmos.nft.v1beta1B\nEventProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.nft.v1beta1.event_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.event_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.cosmos.nft.v1beta1B\nEventProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1" - ) - _globals["_EVENTSEND"]._serialized_start = 54 - _globals["_EVENTSEND"]._serialized_end = 160 - _globals["_EVENTMINT"]._serialized_start = 162 - _globals["_EVENTMINT"]._serialized_end = 238 - _globals["_EVENTBURN"]._serialized_start = 240 - _globals["_EVENTBURN"]._serialized_end = 316 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\nEventProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' + _globals['_EVENTSEND']._serialized_start=54 + _globals['_EVENTSEND']._serialized_end=160 + _globals['_EVENTMINT']._serialized_start=162 + _globals['_EVENTMINT']._serialized_end=238 + _globals['_EVENTBURN']._serialized_start=240 + _globals['_EVENTBURN']._serialized_end=316 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/event_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/event_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/event_pb2_grpc.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/event_pb2_grpc.py @@ -1,3 +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/cosmos/nft/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2.py index 9111b0cf..437eefb6 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.nft.v1beta1 import nft_pb2 as cosmos_dot_nft_dot_v1beta1_dot_nft__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n cosmos/nft/v1beta1/genesis.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x1c\x63osmos/nft/v1beta1/nft.proto"x\n\x0cGenesisState\x12\x33\n\x07\x63lasses\x18\x01 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x07\x63lasses\x12\x33\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.EntryR\x07\x65ntries"J\n\x05\x45ntry\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12+\n\x04nfts\x18\x02 \x03(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x04nftsB\xa4\x01\n\x16\x63om.cosmos.nft.v1beta1B\x0cGenesisProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/nft/v1beta1/genesis.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x1c\x63osmos/nft/v1beta1/nft.proto\"x\n\x0cGenesisState\x12\x33\n\x07\x63lasses\x18\x01 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x07\x63lasses\x12\x33\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.EntryR\x07\x65ntries\"J\n\x05\x45ntry\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12+\n\x04nfts\x18\x02 \x03(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x04nftsB\xa4\x01\n\x16\x63om.cosmos.nft.v1beta1B\x0cGenesisProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.nft.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.cosmos.nft.v1beta1B\014GenesisProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1" - ) - _globals["_GENESISSTATE"]._serialized_start = 86 - _globals["_GENESISSTATE"]._serialized_end = 206 - _globals["_ENTRY"]._serialized_start = 208 - _globals["_ENTRY"]._serialized_end = 282 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\014GenesisProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' + _globals['_GENESISSTATE']._serialized_start=86 + _globals['_GENESISSTATE']._serialized_end=206 + _globals['_ENTRY']._serialized_start=208 + _globals['_ENTRY']._serialized_end=282 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/genesis_pb2_grpc.py @@ -1,3 +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/cosmos/nft/v1beta1/nft_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2.py index bbcb3536..6eab1d6b 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1c\x63osmos/nft/v1beta1/nft.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x19google/protobuf/any.proto"\xbc\x01\n\x05\x43lass\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x03 \x01(\tR\x06symbol\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x10\n\x03uri\x18\x05 \x01(\tR\x03uri\x12\x19\n\x08uri_hash\x18\x06 \x01(\tR\x07uriHash\x12(\n\x04\x64\x61ta\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyR\x04\x64\x61ta"\x87\x01\n\x03NFT\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x10\n\x03uri\x18\x03 \x01(\tR\x03uri\x12\x19\n\x08uri_hash\x18\x04 \x01(\tR\x07uriHash\x12(\n\x04\x64\x61ta\x18\n \x01(\x0b\x32\x14.google.protobuf.AnyR\x04\x64\x61taB\xa0\x01\n\x16\x63om.cosmos.nft.v1beta1B\x08NftProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/nft/v1beta1/nft.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x19google/protobuf/any.proto\"\xbc\x01\n\x05\x43lass\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x03 \x01(\tR\x06symbol\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x10\n\x03uri\x18\x05 \x01(\tR\x03uri\x12\x19\n\x08uri_hash\x18\x06 \x01(\tR\x07uriHash\x12(\n\x04\x64\x61ta\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyR\x04\x64\x61ta\"\x87\x01\n\x03NFT\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x10\n\x03uri\x18\x03 \x01(\tR\x03uri\x12\x19\n\x08uri_hash\x18\x04 \x01(\tR\x07uriHash\x12(\n\x04\x64\x61ta\x18\n \x01(\x0b\x32\x14.google.protobuf.AnyR\x04\x64\x61taB\xa0\x01\n\x16\x63om.cosmos.nft.v1beta1B\x08NftProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.nft.v1beta1.nft_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.nft_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.cosmos.nft.v1beta1B\010NftProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1" - ) - _globals["_CLASS"]._serialized_start = 80 - _globals["_CLASS"]._serialized_end = 268 - _globals["_NFT"]._serialized_start = 271 - _globals["_NFT"]._serialized_end = 406 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\010NftProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' + _globals['_CLASS']._serialized_start=80 + _globals['_CLASS']._serialized_end=268 + _globals['_NFT']._serialized_start=271 + _globals['_NFT']._serialized_end=406 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2_grpc.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/nft_pb2_grpc.py @@ -1,3 +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/cosmos/nft/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/query_pb2.py index fd9e4575..d9559994 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/query_pb2.py @@ -7,87 +7,66 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.nft.v1beta1 import nft_pb2 as cosmos_dot_nft_dot_v1beta1_dot_nft__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1e\x63osmos/nft/v1beta1/query.proto\x12\x12\x63osmos.nft.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1c\x63osmos/nft/v1beta1/nft.proto"F\n\x13QueryBalanceRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner".\n\x14QueryBalanceResponse\x12\x16\n\x06\x61mount\x18\x01 \x01(\x04R\x06\x61mount">\n\x11QueryOwnerRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id"*\n\x12QueryOwnerResponse\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner"/\n\x12QuerySupplyRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId"-\n\x13QuerySupplyResponse\x12\x16\n\x06\x61mount\x18\x01 \x01(\x04R\x06\x61mount"\x8b\x01\n\x10QueryNFTsRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x89\x01\n\x11QueryNFTsResponse\x12+\n\x04nfts\x18\x01 \x03(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x04nfts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"<\n\x0fQueryNFTRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id"=\n\x10QueryNFTResponse\x12)\n\x03nft\x18\x01 \x01(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x03nft".\n\x11QueryClassRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId"E\n\x12QueryClassResponse\x12/\n\x05\x63lass\x18\x01 \x01(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x05\x63lass"]\n\x13QueryClassesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x94\x01\n\x14QueryClassesResponse\x12\x33\n\x07\x63lasses\x18\x01 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x07\x63lasses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xbe\x07\n\x05Query\x12\x94\x01\n\x07\x42\x61lance\x12\'.cosmos.nft.v1beta1.QueryBalanceRequest\x1a(.cosmos.nft.v1beta1.QueryBalanceResponse"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/nft/v1beta1/balance/{owner}/{class_id}\x12\x89\x01\n\x05Owner\x12%.cosmos.nft.v1beta1.QueryOwnerRequest\x1a&.cosmos.nft.v1beta1.QueryOwnerResponse"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/nft/v1beta1/owner/{class_id}/{id}\x12\x88\x01\n\x06Supply\x12&.cosmos.nft.v1beta1.QuerySupplyRequest\x1a\'.cosmos.nft.v1beta1.QuerySupplyResponse"-\x82\xd3\xe4\x93\x02\'\x12%/cosmos/nft/v1beta1/supply/{class_id}\x12u\n\x04NFTs\x12$.cosmos.nft.v1beta1.QueryNFTsRequest\x1a%.cosmos.nft.v1beta1.QueryNFTsResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cosmos/nft/v1beta1/nfts\x12\x82\x01\n\x03NFT\x12#.cosmos.nft.v1beta1.QueryNFTRequest\x1a$.cosmos.nft.v1beta1.QueryNFTResponse"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/nft/v1beta1/nfts/{class_id}/{id}\x12\x86\x01\n\x05\x43lass\x12%.cosmos.nft.v1beta1.QueryClassRequest\x1a&.cosmos.nft.v1beta1.QueryClassResponse".\x82\xd3\xe4\x93\x02(\x12&/cosmos/nft/v1beta1/classes/{class_id}\x12\x81\x01\n\x07\x43lasses\x12\'.cosmos.nft.v1beta1.QueryClassesRequest\x1a(.cosmos.nft.v1beta1.QueryClassesResponse"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/nft/v1beta1/classesB\xa2\x01\n\x16\x63om.cosmos.nft.v1beta1B\nQueryProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/nft/v1beta1/query.proto\x12\x12\x63osmos.nft.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1c\x63osmos/nft/v1beta1/nft.proto\"F\n\x13QueryBalanceRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner\".\n\x14QueryBalanceResponse\x12\x16\n\x06\x61mount\x18\x01 \x01(\x04R\x06\x61mount\">\n\x11QueryOwnerRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\"*\n\x12QueryOwnerResponse\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\"/\n\x12QuerySupplyRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\"-\n\x13QuerySupplyResponse\x12\x16\n\x06\x61mount\x18\x01 \x01(\x04R\x06\x61mount\"\x8b\x01\n\x10QueryNFTsRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x89\x01\n\x11QueryNFTsResponse\x12+\n\x04nfts\x18\x01 \x03(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x04nfts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"<\n\x0fQueryNFTRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\"=\n\x10QueryNFTResponse\x12)\n\x03nft\x18\x01 \x01(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x03nft\".\n\x11QueryClassRequest\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\"E\n\x12QueryClassResponse\x12/\n\x05\x63lass\x18\x01 \x01(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x05\x63lass\"]\n\x13QueryClassesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x94\x01\n\x14QueryClassesResponse\x12\x33\n\x07\x63lasses\x18\x01 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x07\x63lasses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xbe\x07\n\x05Query\x12\x94\x01\n\x07\x42\x61lance\x12\'.cosmos.nft.v1beta1.QueryBalanceRequest\x1a(.cosmos.nft.v1beta1.QueryBalanceResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/nft/v1beta1/balance/{owner}/{class_id}\x12\x89\x01\n\x05Owner\x12%.cosmos.nft.v1beta1.QueryOwnerRequest\x1a&.cosmos.nft.v1beta1.QueryOwnerResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/nft/v1beta1/owner/{class_id}/{id}\x12\x88\x01\n\x06Supply\x12&.cosmos.nft.v1beta1.QuerySupplyRequest\x1a\'.cosmos.nft.v1beta1.QuerySupplyResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/cosmos/nft/v1beta1/supply/{class_id}\x12u\n\x04NFTs\x12$.cosmos.nft.v1beta1.QueryNFTsRequest\x1a%.cosmos.nft.v1beta1.QueryNFTsResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cosmos/nft/v1beta1/nfts\x12\x82\x01\n\x03NFT\x12#.cosmos.nft.v1beta1.QueryNFTRequest\x1a$.cosmos.nft.v1beta1.QueryNFTResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/nft/v1beta1/nfts/{class_id}/{id}\x12\x86\x01\n\x05\x43lass\x12%.cosmos.nft.v1beta1.QueryClassRequest\x1a&.cosmos.nft.v1beta1.QueryClassResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/nft/v1beta1/classes/{class_id}\x12\x81\x01\n\x07\x43lasses\x12\'.cosmos.nft.v1beta1.QueryClassesRequest\x1a(.cosmos.nft.v1beta1.QueryClassesResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/cosmos/nft/v1beta1/classesB\xa2\x01\n\x16\x63om.cosmos.nft.v1beta1B\nQueryProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.nft.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.cosmos.nft.v1beta1B\nQueryProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1" - ) - _globals["_QUERY"].methods_by_name["Balance"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Balance" - ]._serialized_options = b"\202\323\344\223\0020\022./cosmos/nft/v1beta1/balance/{owner}/{class_id}" - _globals["_QUERY"].methods_by_name["Owner"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Owner" - ]._serialized_options = b"\202\323\344\223\002+\022)/cosmos/nft/v1beta1/owner/{class_id}/{id}" - _globals["_QUERY"].methods_by_name["Supply"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Supply" - ]._serialized_options = b"\202\323\344\223\002'\022%/cosmos/nft/v1beta1/supply/{class_id}" - _globals["_QUERY"].methods_by_name["NFTs"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "NFTs" - ]._serialized_options = b"\202\323\344\223\002\032\022\030/cosmos/nft/v1beta1/nfts" - _globals["_QUERY"].methods_by_name["NFT"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "NFT" - ]._serialized_options = b"\202\323\344\223\002*\022(/cosmos/nft/v1beta1/nfts/{class_id}/{id}" - _globals["_QUERY"].methods_by_name["Class"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Class" - ]._serialized_options = b"\202\323\344\223\002(\022&/cosmos/nft/v1beta1/classes/{class_id}" - _globals["_QUERY"].methods_by_name["Classes"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Classes" - ]._serialized_options = b"\202\323\344\223\002\035\022\033/cosmos/nft/v1beta1/classes" - _globals["_QUERYBALANCEREQUEST"]._serialized_start = 158 - _globals["_QUERYBALANCEREQUEST"]._serialized_end = 228 - _globals["_QUERYBALANCERESPONSE"]._serialized_start = 230 - _globals["_QUERYBALANCERESPONSE"]._serialized_end = 276 - _globals["_QUERYOWNERREQUEST"]._serialized_start = 278 - _globals["_QUERYOWNERREQUEST"]._serialized_end = 340 - _globals["_QUERYOWNERRESPONSE"]._serialized_start = 342 - _globals["_QUERYOWNERRESPONSE"]._serialized_end = 384 - _globals["_QUERYSUPPLYREQUEST"]._serialized_start = 386 - _globals["_QUERYSUPPLYREQUEST"]._serialized_end = 433 - _globals["_QUERYSUPPLYRESPONSE"]._serialized_start = 435 - _globals["_QUERYSUPPLYRESPONSE"]._serialized_end = 480 - _globals["_QUERYNFTSREQUEST"]._serialized_start = 483 - _globals["_QUERYNFTSREQUEST"]._serialized_end = 622 - _globals["_QUERYNFTSRESPONSE"]._serialized_start = 625 - _globals["_QUERYNFTSRESPONSE"]._serialized_end = 762 - _globals["_QUERYNFTREQUEST"]._serialized_start = 764 - _globals["_QUERYNFTREQUEST"]._serialized_end = 824 - _globals["_QUERYNFTRESPONSE"]._serialized_start = 826 - _globals["_QUERYNFTRESPONSE"]._serialized_end = 887 - _globals["_QUERYCLASSREQUEST"]._serialized_start = 889 - _globals["_QUERYCLASSREQUEST"]._serialized_end = 935 - _globals["_QUERYCLASSRESPONSE"]._serialized_start = 937 - _globals["_QUERYCLASSRESPONSE"]._serialized_end = 1006 - _globals["_QUERYCLASSESREQUEST"]._serialized_start = 1008 - _globals["_QUERYCLASSESREQUEST"]._serialized_end = 1101 - _globals["_QUERYCLASSESRESPONSE"]._serialized_start = 1104 - _globals["_QUERYCLASSESRESPONSE"]._serialized_end = 1252 - _globals["_QUERY"]._serialized_start = 1255 - _globals["_QUERY"]._serialized_end = 2213 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\nQueryProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' + _globals['_QUERY'].methods_by_name['Balance']._loaded_options = None + _globals['_QUERY'].methods_by_name['Balance']._serialized_options = b'\202\323\344\223\0020\022./cosmos/nft/v1beta1/balance/{owner}/{class_id}' + _globals['_QUERY'].methods_by_name['Owner']._loaded_options = None + _globals['_QUERY'].methods_by_name['Owner']._serialized_options = b'\202\323\344\223\002+\022)/cosmos/nft/v1beta1/owner/{class_id}/{id}' + _globals['_QUERY'].methods_by_name['Supply']._loaded_options = None + _globals['_QUERY'].methods_by_name['Supply']._serialized_options = b'\202\323\344\223\002\'\022%/cosmos/nft/v1beta1/supply/{class_id}' + _globals['_QUERY'].methods_by_name['NFTs']._loaded_options = None + _globals['_QUERY'].methods_by_name['NFTs']._serialized_options = b'\202\323\344\223\002\032\022\030/cosmos/nft/v1beta1/nfts' + _globals['_QUERY'].methods_by_name['NFT']._loaded_options = None + _globals['_QUERY'].methods_by_name['NFT']._serialized_options = b'\202\323\344\223\002*\022(/cosmos/nft/v1beta1/nfts/{class_id}/{id}' + _globals['_QUERY'].methods_by_name['Class']._loaded_options = None + _globals['_QUERY'].methods_by_name['Class']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/nft/v1beta1/classes/{class_id}' + _globals['_QUERY'].methods_by_name['Classes']._loaded_options = None + _globals['_QUERY'].methods_by_name['Classes']._serialized_options = b'\202\323\344\223\002\035\022\033/cosmos/nft/v1beta1/classes' + _globals['_QUERYBALANCEREQUEST']._serialized_start=158 + _globals['_QUERYBALANCEREQUEST']._serialized_end=228 + _globals['_QUERYBALANCERESPONSE']._serialized_start=230 + _globals['_QUERYBALANCERESPONSE']._serialized_end=276 + _globals['_QUERYOWNERREQUEST']._serialized_start=278 + _globals['_QUERYOWNERREQUEST']._serialized_end=340 + _globals['_QUERYOWNERRESPONSE']._serialized_start=342 + _globals['_QUERYOWNERRESPONSE']._serialized_end=384 + _globals['_QUERYSUPPLYREQUEST']._serialized_start=386 + _globals['_QUERYSUPPLYREQUEST']._serialized_end=433 + _globals['_QUERYSUPPLYRESPONSE']._serialized_start=435 + _globals['_QUERYSUPPLYRESPONSE']._serialized_end=480 + _globals['_QUERYNFTSREQUEST']._serialized_start=483 + _globals['_QUERYNFTSREQUEST']._serialized_end=622 + _globals['_QUERYNFTSRESPONSE']._serialized_start=625 + _globals['_QUERYNFTSRESPONSE']._serialized_end=762 + _globals['_QUERYNFTREQUEST']._serialized_start=764 + _globals['_QUERYNFTREQUEST']._serialized_end=824 + _globals['_QUERYNFTRESPONSE']._serialized_start=826 + _globals['_QUERYNFTRESPONSE']._serialized_end=887 + _globals['_QUERYCLASSREQUEST']._serialized_start=889 + _globals['_QUERYCLASSREQUEST']._serialized_end=935 + _globals['_QUERYCLASSRESPONSE']._serialized_start=937 + _globals['_QUERYCLASSRESPONSE']._serialized_end=1006 + _globals['_QUERYCLASSESREQUEST']._serialized_start=1008 + _globals['_QUERYCLASSESREQUEST']._serialized_end=1101 + _globals['_QUERYCLASSESRESPONSE']._serialized_start=1104 + _globals['_QUERYCLASSESRESPONSE']._serialized_end=1252 + _globals['_QUERY']._serialized_start=1255 + _globals['_QUERY']._serialized_end=2213 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/query_pb2_grpc.py index 43265d7b..ab1f20be 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -15,161 +16,161 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Balance = channel.unary_unary( - "/cosmos.nft.v1beta1.Query/Balance", - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, - _registered_method=True, - ) + '/cosmos.nft.v1beta1.Query/Balance', + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, + _registered_method=True) self.Owner = channel.unary_unary( - "/cosmos.nft.v1beta1.Query/Owner", - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerResponse.FromString, - _registered_method=True, - ) + '/cosmos.nft.v1beta1.Query/Owner', + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerResponse.FromString, + _registered_method=True) self.Supply = channel.unary_unary( - "/cosmos.nft.v1beta1.Query/Supply", - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyResponse.FromString, - _registered_method=True, - ) + '/cosmos.nft.v1beta1.Query/Supply', + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyResponse.FromString, + _registered_method=True) self.NFTs = channel.unary_unary( - "/cosmos.nft.v1beta1.Query/NFTs", - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsResponse.FromString, - _registered_method=True, - ) + '/cosmos.nft.v1beta1.Query/NFTs', + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsResponse.FromString, + _registered_method=True) self.NFT = channel.unary_unary( - "/cosmos.nft.v1beta1.Query/NFT", - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTResponse.FromString, - _registered_method=True, - ) + '/cosmos.nft.v1beta1.Query/NFT', + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTResponse.FromString, + _registered_method=True) self.Class = channel.unary_unary( - "/cosmos.nft.v1beta1.Query/Class", - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassResponse.FromString, - _registered_method=True, - ) + '/cosmos.nft.v1beta1.Query/Class', + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassResponse.FromString, + _registered_method=True) self.Classes = channel.unary_unary( - "/cosmos.nft.v1beta1.Query/Classes", - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesRequest.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesResponse.FromString, - _registered_method=True, - ) + '/cosmos.nft.v1beta1.Query/Classes', + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesRequest.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def Balance(self, request, context): - """Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721""" + """Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Owner(self, request, context): - """Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721""" + """Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Supply(self, request, context): - """Supply queries the number of NFTs from the given class, same as totalSupply of ERC721.""" + """Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def NFTs(self, request, context): """NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in ERC721Enumerable """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def NFT(self, request, context): - """NFT queries an NFT based on its class and id.""" + """NFT queries an NFT based on its class and id. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Class(self, request, context): - """Class queries an NFT class based on its id""" + """Class queries an NFT class based on its id + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Classes(self, request, context): - """Classes queries all NFT classes""" + """Classes queries all NFT classes + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Balance": grpc.unary_unary_rpc_method_handler( - servicer.Balance, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.SerializeToString, - ), - "Owner": grpc.unary_unary_rpc_method_handler( - servicer.Owner, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerResponse.SerializeToString, - ), - "Supply": grpc.unary_unary_rpc_method_handler( - servicer.Supply, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyResponse.SerializeToString, - ), - "NFTs": grpc.unary_unary_rpc_method_handler( - servicer.NFTs, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsResponse.SerializeToString, - ), - "NFT": grpc.unary_unary_rpc_method_handler( - servicer.NFT, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTResponse.SerializeToString, - ), - "Class": grpc.unary_unary_rpc_method_handler( - servicer.Class, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassResponse.SerializeToString, - ), - "Classes": grpc.unary_unary_rpc_method_handler( - servicer.Classes, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesRequest.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesResponse.SerializeToString, - ), + 'Balance': grpc.unary_unary_rpc_method_handler( + servicer.Balance, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.SerializeToString, + ), + 'Owner': grpc.unary_unary_rpc_method_handler( + servicer.Owner, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerResponse.SerializeToString, + ), + 'Supply': grpc.unary_unary_rpc_method_handler( + servicer.Supply, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyResponse.SerializeToString, + ), + 'NFTs': grpc.unary_unary_rpc_method_handler( + servicer.NFTs, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsResponse.SerializeToString, + ), + 'NFT': grpc.unary_unary_rpc_method_handler( + servicer.NFT, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTResponse.SerializeToString, + ), + 'Class': grpc.unary_unary_rpc_method_handler( + servicer.Class, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassResponse.SerializeToString, + ), + 'Classes': grpc.unary_unary_rpc_method_handler( + servicer.Classes, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesRequest.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.nft.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.nft.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.nft.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.nft.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ @staticmethod - def Balance( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Balance(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.nft.v1beta1.Query/Balance", + '/cosmos.nft.v1beta1.Query/Balance', cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceRequest.SerializeToString, cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryBalanceResponse.FromString, options, @@ -180,26 +181,23 @@ def Balance( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Owner( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Owner(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.nft.v1beta1.Query/Owner", + '/cosmos.nft.v1beta1.Query/Owner', cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerRequest.SerializeToString, cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryOwnerResponse.FromString, options, @@ -210,26 +208,23 @@ def Owner( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Supply( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Supply(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.nft.v1beta1.Query/Supply", + '/cosmos.nft.v1beta1.Query/Supply', cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyRequest.SerializeToString, cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QuerySupplyResponse.FromString, options, @@ -240,26 +235,23 @@ def Supply( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def NFTs( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def NFTs(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.nft.v1beta1.Query/NFTs", + '/cosmos.nft.v1beta1.Query/NFTs', cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsRequest.SerializeToString, cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTsResponse.FromString, options, @@ -270,26 +262,23 @@ def NFTs( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def NFT( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def NFT(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.nft.v1beta1.Query/NFT", + '/cosmos.nft.v1beta1.Query/NFT', cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTRequest.SerializeToString, cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryNFTResponse.FromString, options, @@ -300,26 +289,23 @@ def NFT( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Class( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Class(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.nft.v1beta1.Query/Class", + '/cosmos.nft.v1beta1.Query/Class', cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassRequest.SerializeToString, cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassResponse.FromString, options, @@ -330,26 +316,23 @@ def Class( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Classes( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Classes(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.nft.v1beta1.Query/Classes", + '/cosmos.nft.v1beta1.Query/Classes', cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesRequest.SerializeToString, cosmos_dot_nft_dot_v1beta1_dot_query__pb2.QueryClassesResponse.FromString, options, @@ -360,5 +343,4 @@ def Classes( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py index ad07d6f1..d1cfee9b 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,30 +16,26 @@ from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1b\x63osmos/nft/v1beta1/tx.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto"\xa9\x01\n\x07MsgSend\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x30\n\x06sender\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08receiver\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08receiver:\x0b\x82\xe7\xb0*\x06sender"\x11\n\x0fMsgSendResponse2V\n\x03Msg\x12H\n\x04Send\x12\x1b.cosmos.nft.v1beta1.MsgSend\x1a#.cosmos.nft.v1beta1.MsgSendResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9f\x01\n\x16\x63om.cosmos.nft.v1beta1B\x07TxProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/nft/v1beta1/tx.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\xa9\x01\n\x07MsgSend\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x30\n\x06sender\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08receiver\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08receiver:\x0b\x82\xe7\xb0*\x06sender\"\x11\n\x0fMsgSendResponse2V\n\x03Msg\x12H\n\x04Send\x12\x1b.cosmos.nft.v1beta1.MsgSend\x1a#.cosmos.nft.v1beta1.MsgSendResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9f\x01\n\x16\x63om.cosmos.nft.v1beta1B\x07TxProtoP\x01Z\x12\x63osmossdk.io/x/nft\xa2\x02\x03\x43NX\xaa\x02\x12\x43osmos.Nft.V1beta1\xca\x02\x12\x43osmos\\Nft\\V1beta1\xe2\x02\x1e\x43osmos\\Nft\\V1beta1\\GPBMetadata\xea\x02\x14\x43osmos::Nft::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.nft.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.cosmos.nft.v1beta1B\007TxProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1" - ) - _globals["_MSGSEND"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGSEND"].fields_by_name["sender"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSEND"].fields_by_name["receiver"]._loaded_options = None - _globals["_MSGSEND"].fields_by_name["receiver"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSEND"]._loaded_options = None - _globals["_MSGSEND"]._serialized_options = b"\202\347\260*\006sender" - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGSEND"]._serialized_start = 104 - _globals["_MSGSEND"]._serialized_end = 273 - _globals["_MSGSENDRESPONSE"]._serialized_start = 275 - _globals["_MSGSENDRESPONSE"]._serialized_end = 292 - _globals["_MSG"]._serialized_start = 294 - _globals["_MSG"]._serialized_end = 380 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.cosmos.nft.v1beta1B\007TxProtoP\001Z\022cosmossdk.io/x/nft\242\002\003CNX\252\002\022Cosmos.Nft.V1beta1\312\002\022Cosmos\\Nft\\V1beta1\342\002\036Cosmos\\Nft\\V1beta1\\GPBMetadata\352\002\024Cosmos::Nft::V1beta1' + _globals['_MSGSEND'].fields_by_name['sender']._loaded_options = None + _globals['_MSGSEND'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSEND'].fields_by_name['receiver']._loaded_options = None + _globals['_MSGSEND'].fields_by_name['receiver']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSEND']._loaded_options = None + _globals['_MSGSEND']._serialized_options = b'\202\347\260*\006sender' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGSEND']._serialized_start=104 + _globals['_MSGSEND']._serialized_end=273 + _globals['_MSGSENDRESPONSE']._serialized_start=275 + _globals['_MSGSENDRESPONSE']._serialized_end=292 + _globals['_MSG']._serialized_start=294 + _globals['_MSG']._serialized_end=380 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2_grpc.py index 212fa75a..c932a6d7 100644 --- a/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/nft/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the nft Msg service.""" + """Msg defines the nft Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,57 +16,58 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Send = channel.unary_unary( - "/cosmos.nft.v1beta1.Msg/Send", - request_serializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, - response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, - _registered_method=True, - ) + '/cosmos.nft.v1beta1.Msg/Send', + request_serializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, + response_deserializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the nft Msg service.""" + """Msg defines the nft Msg service. + """ def Send(self, request, context): - """Send defines a method to send a nft from one account to another account.""" + """Send defines a method to send a nft from one account to another account. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "Send": grpc.unary_unary_rpc_method_handler( - servicer.Send, - request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSend.FromString, - response_serializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSendResponse.SerializeToString, - ), + 'Send': grpc.unary_unary_rpc_method_handler( + servicer.Send, + request_deserializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSend.FromString, + response_serializer=cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSendResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.nft.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.nft.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.nft.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.nft.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the nft Msg service.""" + """Msg defines the nft Msg service. + """ @staticmethod - def Send( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Send(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.nft.v1beta1.Msg/Send", + '/cosmos.nft.v1beta1.Msg/Send', cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSend.SerializeToString, cosmos_dot_nft_dot_v1beta1_dot_tx__pb2.MsgSendResponse.FromString, options, @@ -76,5 +78,4 @@ def Send( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py b/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py index 90954e8e..54f1b29a 100644 --- a/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py +++ b/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\'cosmos/orm/module/v1alpha1/module.proto\x12\x1a\x63osmos.orm.module.v1alpha1\x1a cosmos/app/v1alpha1/module.proto""\n\x06Module:\x18\xba\xc0\x96\xda\x01\x12\n\x10\x63osmossdk.io/ormB\xb8\x01\n\x1e\x63om.cosmos.orm.module.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43OM\xaa\x02\x1a\x43osmos.Orm.Module.V1alpha1\xca\x02\x1a\x43osmos\\Orm\\Module\\V1alpha1\xe2\x02&Cosmos\\Orm\\Module\\V1alpha1\\GPBMetadata\xea\x02\x1d\x43osmos::Orm::Module::V1alpha1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/orm/module/v1alpha1/module.proto\x12\x1a\x63osmos.orm.module.v1alpha1\x1a cosmos/app/v1alpha1/module.proto\"\"\n\x06Module:\x18\xba\xc0\x96\xda\x01\x12\n\x10\x63osmossdk.io/ormB\xb8\x01\n\x1e\x63om.cosmos.orm.module.v1alpha1B\x0bModuleProtoP\x01\xa2\x02\x03\x43OM\xaa\x02\x1a\x43osmos.Orm.Module.V1alpha1\xca\x02\x1a\x43osmos\\Orm\\Module\\V1alpha1\xe2\x02&Cosmos\\Orm\\Module\\V1alpha1\\GPBMetadata\xea\x02\x1d\x43osmos::Orm::Module::V1alpha1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.orm.module.v1alpha1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.module.v1alpha1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\036com.cosmos.orm.module.v1alpha1B\013ModuleProtoP\001\242\002\003COM\252\002\032Cosmos.Orm.Module.V1alpha1\312\002\032Cosmos\\Orm\\Module\\V1alpha1\342\002&Cosmos\\Orm\\Module\\V1alpha1\\GPBMetadata\352\002\035Cosmos::Orm::Module::V1alpha1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001\022\n\020cosmossdk.io/orm" - _globals["_MODULE"]._serialized_start = 105 - _globals["_MODULE"]._serialized_end = 139 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.cosmos.orm.module.v1alpha1B\013ModuleProtoP\001\242\002\003COM\252\002\032Cosmos.Orm.Module.V1alpha1\312\002\032Cosmos\\Orm\\Module\\V1alpha1\342\002&Cosmos\\Orm\\Module\\V1alpha1\\GPBMetadata\352\002\035Cosmos::Orm::Module::V1alpha1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\022\n\020cosmossdk.io/orm' + _globals['_MODULE']._serialized_start=105 + _globals['_MODULE']._serialized_end=139 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2_grpc.py b/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/orm/module/v1alpha1/module_pb2_grpc.py @@ -1,3 +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/cosmos/orm/query/v1alpha1/query_pb2.py b/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2.py index 999e4278..7765a8a1 100644 --- a/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2.py +++ b/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,37 +15,31 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%cosmos/orm/query/v1alpha1/query.proto\x12\x19\x63osmos.orm.query.v1alpha1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19google/protobuf/any.proto\x1a*cosmos/base/query/v1beta1/pagination.proto"\x84\x01\n\nGetRequest\x12!\n\x0cmessage_name\x18\x01 \x01(\tR\x0bmessageName\x12\x14\n\x05index\x18\x02 \x01(\tR\x05index\x12=\n\x06values\x18\x03 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x06values";\n\x0bGetResponse\x12,\n\x06result\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06result"\xee\x03\n\x0bListRequest\x12!\n\x0cmessage_name\x18\x01 \x01(\tR\x0bmessageName\x12\x14\n\x05index\x18\x02 \x01(\tR\x05index\x12G\n\x06prefix\x18\x03 \x01(\x0b\x32-.cosmos.orm.query.v1alpha1.ListRequest.PrefixH\x00R\x06prefix\x12\x44\n\x05range\x18\x04 \x01(\x0b\x32,.cosmos.orm.query.v1alpha1.ListRequest.RangeH\x00R\x05range\x12\x46\n\npagination\x18\x05 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x1aG\n\x06Prefix\x12=\n\x06values\x18\x01 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x06values\x1a}\n\x05Range\x12;\n\x05start\x18\x01 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x05start\x12\x37\n\x03\x65nd\x18\x02 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x03\x65ndB\x07\n\x05query"\x87\x01\n\x0cListResponse\x12.\n\x07results\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x07results\x12G\n\npagination\x18\x05 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x8c\x02\n\nIndexValue\x12\x14\n\x04uint\x18\x01 \x01(\x04H\x00R\x04uint\x12\x12\n\x03int\x18\x02 \x01(\x03H\x00R\x03int\x12\x12\n\x03str\x18\x03 \x01(\tH\x00R\x03str\x12\x16\n\x05\x62ytes\x18\x04 \x01(\x0cH\x00R\x05\x62ytes\x12\x14\n\x04\x65num\x18\x05 \x01(\tH\x00R\x04\x65num\x12\x14\n\x04\x62ool\x18\x06 \x01(\x08H\x00R\x04\x62ool\x12:\n\ttimestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\ttimestamp\x12\x37\n\x08\x64uration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00R\x08\x64urationB\x07\n\x05value2\xb6\x01\n\x05Query\x12T\n\x03Get\x12%.cosmos.orm.query.v1alpha1.GetRequest\x1a&.cosmos.orm.query.v1alpha1.GetResponse\x12W\n\x04List\x12&.cosmos.orm.query.v1alpha1.ListRequest\x1a\'.cosmos.orm.query.v1alpha1.ListResponseB\xb2\x01\n\x1d\x63om.cosmos.orm.query.v1alpha1B\nQueryProtoP\x01\xa2\x02\x03\x43OQ\xaa\x02\x19\x43osmos.Orm.Query.V1alpha1\xca\x02\x19\x43osmos\\Orm\\Query\\V1alpha1\xe2\x02%Cosmos\\Orm\\Query\\V1alpha1\\GPBMetadata\xea\x02\x1c\x43osmos::Orm::Query::V1alpha1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/orm/query/v1alpha1/query.proto\x12\x19\x63osmos.orm.query.v1alpha1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19google/protobuf/any.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\"\x84\x01\n\nGetRequest\x12!\n\x0cmessage_name\x18\x01 \x01(\tR\x0bmessageName\x12\x14\n\x05index\x18\x02 \x01(\tR\x05index\x12=\n\x06values\x18\x03 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x06values\";\n\x0bGetResponse\x12,\n\x06result\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06result\"\xee\x03\n\x0bListRequest\x12!\n\x0cmessage_name\x18\x01 \x01(\tR\x0bmessageName\x12\x14\n\x05index\x18\x02 \x01(\tR\x05index\x12G\n\x06prefix\x18\x03 \x01(\x0b\x32-.cosmos.orm.query.v1alpha1.ListRequest.PrefixH\x00R\x06prefix\x12\x44\n\x05range\x18\x04 \x01(\x0b\x32,.cosmos.orm.query.v1alpha1.ListRequest.RangeH\x00R\x05range\x12\x46\n\npagination\x18\x05 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x1aG\n\x06Prefix\x12=\n\x06values\x18\x01 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x06values\x1a}\n\x05Range\x12;\n\x05start\x18\x01 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x05start\x12\x37\n\x03\x65nd\x18\x02 \x03(\x0b\x32%.cosmos.orm.query.v1alpha1.IndexValueR\x03\x65ndB\x07\n\x05query\"\x87\x01\n\x0cListResponse\x12.\n\x07results\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x07results\x12G\n\npagination\x18\x05 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x8c\x02\n\nIndexValue\x12\x14\n\x04uint\x18\x01 \x01(\x04H\x00R\x04uint\x12\x12\n\x03int\x18\x02 \x01(\x03H\x00R\x03int\x12\x12\n\x03str\x18\x03 \x01(\tH\x00R\x03str\x12\x16\n\x05\x62ytes\x18\x04 \x01(\x0cH\x00R\x05\x62ytes\x12\x14\n\x04\x65num\x18\x05 \x01(\tH\x00R\x04\x65num\x12\x14\n\x04\x62ool\x18\x06 \x01(\x08H\x00R\x04\x62ool\x12:\n\ttimestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\ttimestamp\x12\x37\n\x08\x64uration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00R\x08\x64urationB\x07\n\x05value2\xb6\x01\n\x05Query\x12T\n\x03Get\x12%.cosmos.orm.query.v1alpha1.GetRequest\x1a&.cosmos.orm.query.v1alpha1.GetResponse\x12W\n\x04List\x12&.cosmos.orm.query.v1alpha1.ListRequest\x1a\'.cosmos.orm.query.v1alpha1.ListResponseB\xb2\x01\n\x1d\x63om.cosmos.orm.query.v1alpha1B\nQueryProtoP\x01\xa2\x02\x03\x43OQ\xaa\x02\x19\x43osmos.Orm.Query.V1alpha1\xca\x02\x19\x43osmos\\Orm\\Query\\V1alpha1\xe2\x02%Cosmos\\Orm\\Query\\V1alpha1\\GPBMetadata\xea\x02\x1c\x43osmos::Orm::Query::V1alpha1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.orm.query.v1alpha1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.query.v1alpha1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\035com.cosmos.orm.query.v1alpha1B\nQueryProtoP\001\242\002\003COQ\252\002\031Cosmos.Orm.Query.V1alpha1\312\002\031Cosmos\\Orm\\Query\\V1alpha1\342\002%Cosmos\\Orm\\Query\\V1alpha1\\GPBMetadata\352\002\034Cosmos::Orm::Query::V1alpha1" - ) - _globals["_GETREQUEST"]._serialized_start = 205 - _globals["_GETREQUEST"]._serialized_end = 337 - _globals["_GETRESPONSE"]._serialized_start = 339 - _globals["_GETRESPONSE"]._serialized_end = 398 - _globals["_LISTREQUEST"]._serialized_start = 401 - _globals["_LISTREQUEST"]._serialized_end = 895 - _globals["_LISTREQUEST_PREFIX"]._serialized_start = 688 - _globals["_LISTREQUEST_PREFIX"]._serialized_end = 759 - _globals["_LISTREQUEST_RANGE"]._serialized_start = 761 - _globals["_LISTREQUEST_RANGE"]._serialized_end = 886 - _globals["_LISTRESPONSE"]._serialized_start = 898 - _globals["_LISTRESPONSE"]._serialized_end = 1033 - _globals["_INDEXVALUE"]._serialized_start = 1036 - _globals["_INDEXVALUE"]._serialized_end = 1304 - _globals["_QUERY"]._serialized_start = 1307 - _globals["_QUERY"]._serialized_end = 1489 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.orm.query.v1alpha1B\nQueryProtoP\001\242\002\003COQ\252\002\031Cosmos.Orm.Query.V1alpha1\312\002\031Cosmos\\Orm\\Query\\V1alpha1\342\002%Cosmos\\Orm\\Query\\V1alpha1\\GPBMetadata\352\002\034Cosmos::Orm::Query::V1alpha1' + _globals['_GETREQUEST']._serialized_start=205 + _globals['_GETREQUEST']._serialized_end=337 + _globals['_GETRESPONSE']._serialized_start=339 + _globals['_GETRESPONSE']._serialized_end=398 + _globals['_LISTREQUEST']._serialized_start=401 + _globals['_LISTREQUEST']._serialized_end=895 + _globals['_LISTREQUEST_PREFIX']._serialized_start=688 + _globals['_LISTREQUEST_PREFIX']._serialized_end=759 + _globals['_LISTREQUEST_RANGE']._serialized_start=761 + _globals['_LISTREQUEST_RANGE']._serialized_end=886 + _globals['_LISTRESPONSE']._serialized_start=898 + _globals['_LISTRESPONSE']._serialized_end=1033 + _globals['_INDEXVALUE']._serialized_start=1036 + _globals['_INDEXVALUE']._serialized_end=1304 + _globals['_QUERY']._serialized_start=1307 + _globals['_QUERY']._serialized_end=1489 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2_grpc.py b/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2_grpc.py index 42545492..fdcaaba1 100644 --- a/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/orm/query/v1alpha1/query_pb2_grpc.py @@ -2,13 +2,12 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.cosmos.orm.query.v1alpha1 import ( - query_pb2 as cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2, -) +from pyinjective.proto.cosmos.orm.query.v1alpha1 import query_pb2 as cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2 class QueryStub(object): - """Query is a generic gRPC service for querying ORM data.""" + """Query is a generic gRPC service for querying ORM data. + """ def __init__(self, channel): """Constructor. @@ -17,74 +16,75 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Get = channel.unary_unary( - "/cosmos.orm.query.v1alpha1.Query/Get", - request_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetRequest.SerializeToString, - response_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetResponse.FromString, - _registered_method=True, - ) + '/cosmos.orm.query.v1alpha1.Query/Get', + request_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetRequest.SerializeToString, + response_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetResponse.FromString, + _registered_method=True) self.List = channel.unary_unary( - "/cosmos.orm.query.v1alpha1.Query/List", - request_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListRequest.SerializeToString, - response_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListResponse.FromString, - _registered_method=True, - ) + '/cosmos.orm.query.v1alpha1.Query/List', + request_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListRequest.SerializeToString, + response_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query is a generic gRPC service for querying ORM data.""" + """Query is a generic gRPC service for querying ORM data. + """ def Get(self, request, context): - """Get queries an ORM table against an unique index.""" + """Get queries an ORM table against an unique index. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def List(self, request, context): - """List queries an ORM table against an index.""" + """List queries an ORM table against an index. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Get": grpc.unary_unary_rpc_method_handler( - servicer.Get, - request_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetRequest.FromString, - response_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetResponse.SerializeToString, - ), - "List": grpc.unary_unary_rpc_method_handler( - servicer.List, - request_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListRequest.FromString, - response_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListResponse.SerializeToString, - ), + 'Get': grpc.unary_unary_rpc_method_handler( + servicer.Get, + request_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetRequest.FromString, + response_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetResponse.SerializeToString, + ), + 'List': grpc.unary_unary_rpc_method_handler( + servicer.List, + request_deserializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListRequest.FromString, + response_serializer=cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.orm.query.v1alpha1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.orm.query.v1alpha1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.orm.query.v1alpha1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.orm.query.v1alpha1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query is a generic gRPC service for querying ORM data.""" + """Query is a generic gRPC service for querying ORM data. + """ @staticmethod - def Get( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Get(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.orm.query.v1alpha1.Query/Get", + '/cosmos.orm.query.v1alpha1.Query/Get', cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetRequest.SerializeToString, cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.GetResponse.FromString, options, @@ -95,26 +95,23 @@ def Get( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def List( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def List(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.orm.query.v1alpha1.Query/List", + '/cosmos.orm.query.v1alpha1.Query/List', cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListRequest.SerializeToString, cosmos_dot_orm_dot_query_dot_v1alpha1_dot_query__pb2.ListResponse.FromString, options, @@ -125,5 +122,4 @@ def List( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/orm/v1/orm_pb2.py b/pyinjective/proto/cosmos/orm/v1/orm_pb2.py index 066ee37a..cae563a1 100644 --- a/pyinjective/proto/cosmos/orm/v1/orm_pb2.py +++ b/pyinjective/proto/cosmos/orm/v1/orm_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,24 +15,20 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x17\x63osmos/orm/v1/orm.proto\x12\rcosmos.orm.v1\x1a google/protobuf/descriptor.proto"\xa6\x01\n\x0fTableDescriptor\x12\x44\n\x0bprimary_key\x18\x01 \x01(\x0b\x32#.cosmos.orm.v1.PrimaryKeyDescriptorR\nprimaryKey\x12=\n\x05index\x18\x02 \x03(\x0b\x32\'.cosmos.orm.v1.SecondaryIndexDescriptorR\x05index\x12\x0e\n\x02id\x18\x03 \x01(\rR\x02id"U\n\x14PrimaryKeyDescriptor\x12\x16\n\x06\x66ields\x18\x01 \x01(\tR\x06\x66ields\x12%\n\x0e\x61uto_increment\x18\x02 \x01(\x08R\rautoIncrement"Z\n\x18SecondaryIndexDescriptor\x12\x16\n\x06\x66ields\x18\x01 \x01(\tR\x06\x66ields\x12\x0e\n\x02id\x18\x02 \x01(\rR\x02id\x12\x16\n\x06unique\x18\x03 \x01(\x08R\x06unique"%\n\x13SingletonDescriptor\x12\x0e\n\x02id\x18\x01 \x01(\rR\x02id:X\n\x05table\x12\x1f.google.protobuf.MessageOptions\x18\xee\xb3\xea\x31 \x01(\x0b\x32\x1e.cosmos.orm.v1.TableDescriptorR\x05table:d\n\tsingleton\x12\x1f.google.protobuf.MessageOptions\x18\xef\xb3\xea\x31 \x01(\x0b\x32".cosmos.orm.v1.SingletonDescriptorR\tsingletonBs\n\x11\x63om.cosmos.orm.v1B\x08OrmProtoP\x01\xa2\x02\x03\x43OX\xaa\x02\rCosmos.Orm.V1\xca\x02\rCosmos\\Orm\\V1\xe2\x02\x19\x43osmos\\Orm\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Orm::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63osmos/orm/v1/orm.proto\x12\rcosmos.orm.v1\x1a google/protobuf/descriptor.proto\"\xa6\x01\n\x0fTableDescriptor\x12\x44\n\x0bprimary_key\x18\x01 \x01(\x0b\x32#.cosmos.orm.v1.PrimaryKeyDescriptorR\nprimaryKey\x12=\n\x05index\x18\x02 \x03(\x0b\x32\'.cosmos.orm.v1.SecondaryIndexDescriptorR\x05index\x12\x0e\n\x02id\x18\x03 \x01(\rR\x02id\"U\n\x14PrimaryKeyDescriptor\x12\x16\n\x06\x66ields\x18\x01 \x01(\tR\x06\x66ields\x12%\n\x0e\x61uto_increment\x18\x02 \x01(\x08R\rautoIncrement\"Z\n\x18SecondaryIndexDescriptor\x12\x16\n\x06\x66ields\x18\x01 \x01(\tR\x06\x66ields\x12\x0e\n\x02id\x18\x02 \x01(\rR\x02id\x12\x16\n\x06unique\x18\x03 \x01(\x08R\x06unique\"%\n\x13SingletonDescriptor\x12\x0e\n\x02id\x18\x01 \x01(\rR\x02id:X\n\x05table\x12\x1f.google.protobuf.MessageOptions\x18\xee\xb3\xea\x31 \x01(\x0b\x32\x1e.cosmos.orm.v1.TableDescriptorR\x05table:d\n\tsingleton\x12\x1f.google.protobuf.MessageOptions\x18\xef\xb3\xea\x31 \x01(\x0b\x32\".cosmos.orm.v1.SingletonDescriptorR\tsingletonBs\n\x11\x63om.cosmos.orm.v1B\x08OrmProtoP\x01\xa2\x02\x03\x43OX\xaa\x02\rCosmos.Orm.V1\xca\x02\rCosmos\\Orm\\V1\xe2\x02\x19\x43osmos\\Orm\\V1\\GPBMetadata\xea\x02\x0f\x43osmos::Orm::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.orm.v1.orm_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.v1.orm_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\021com.cosmos.orm.v1B\010OrmProtoP\001\242\002\003COX\252\002\rCosmos.Orm.V1\312\002\rCosmos\\Orm\\V1\342\002\031Cosmos\\Orm\\V1\\GPBMetadata\352\002\017Cosmos::Orm::V1" - ) - _globals["_TABLEDESCRIPTOR"]._serialized_start = 77 - _globals["_TABLEDESCRIPTOR"]._serialized_end = 243 - _globals["_PRIMARYKEYDESCRIPTOR"]._serialized_start = 245 - _globals["_PRIMARYKEYDESCRIPTOR"]._serialized_end = 330 - _globals["_SECONDARYINDEXDESCRIPTOR"]._serialized_start = 332 - _globals["_SECONDARYINDEXDESCRIPTOR"]._serialized_end = 422 - _globals["_SINGLETONDESCRIPTOR"]._serialized_start = 424 - _globals["_SINGLETONDESCRIPTOR"]._serialized_end = 461 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.cosmos.orm.v1B\010OrmProtoP\001\242\002\003COX\252\002\rCosmos.Orm.V1\312\002\rCosmos\\Orm\\V1\342\002\031Cosmos\\Orm\\V1\\GPBMetadata\352\002\017Cosmos::Orm::V1' + _globals['_TABLEDESCRIPTOR']._serialized_start=77 + _globals['_TABLEDESCRIPTOR']._serialized_end=243 + _globals['_PRIMARYKEYDESCRIPTOR']._serialized_start=245 + _globals['_PRIMARYKEYDESCRIPTOR']._serialized_end=330 + _globals['_SECONDARYINDEXDESCRIPTOR']._serialized_start=332 + _globals['_SECONDARYINDEXDESCRIPTOR']._serialized_end=422 + _globals['_SINGLETONDESCRIPTOR']._serialized_start=424 + _globals['_SINGLETONDESCRIPTOR']._serialized_end=461 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/v1/orm_pb2_grpc.py b/pyinjective/proto/cosmos/orm/v1/orm_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/orm/v1/orm_pb2_grpc.py +++ b/pyinjective/proto/cosmos/orm/v1/orm_pb2_grpc.py @@ -1,3 +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/cosmos/orm/v1alpha1/schema_pb2.py b/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2.py index d554919f..4f6e6666 100644 --- a/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2.py +++ b/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,22 +15,18 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n cosmos/orm/v1alpha1/schema.proto\x12\x13\x63osmos.orm.v1alpha1\x1a google/protobuf/descriptor.proto"\x93\x02\n\x16ModuleSchemaDescriptor\x12V\n\x0bschema_file\x18\x01 \x03(\x0b\x32\x35.cosmos.orm.v1alpha1.ModuleSchemaDescriptor.FileEntryR\nschemaFile\x12\x16\n\x06prefix\x18\x02 \x01(\x0cR\x06prefix\x1a\x88\x01\n\tFileEntry\x12\x0e\n\x02id\x18\x01 \x01(\rR\x02id\x12&\n\x0fproto_file_name\x18\x02 \x01(\tR\rprotoFileName\x12\x43\n\x0cstorage_type\x18\x03 \x01(\x0e\x32 .cosmos.orm.v1alpha1.StorageTypeR\x0bstorageType*h\n\x0bStorageType\x12$\n STORAGE_TYPE_DEFAULT_UNSPECIFIED\x10\x00\x12\x17\n\x13STORAGE_TYPE_MEMORY\x10\x01\x12\x1a\n\x16STORAGE_TYPE_TRANSIENT\x10\x02:t\n\rmodule_schema\x12\x1f.google.protobuf.MessageOptions\x18\xf0\xb3\xea\x31 \x01(\x0b\x32+.cosmos.orm.v1alpha1.ModuleSchemaDescriptorR\x0cmoduleSchemaB\x94\x01\n\x17\x63om.cosmos.orm.v1alpha1B\x0bSchemaProtoP\x01\xa2\x02\x03\x43OX\xaa\x02\x13\x43osmos.Orm.V1alpha1\xca\x02\x13\x43osmos\\Orm\\V1alpha1\xe2\x02\x1f\x43osmos\\Orm\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::Orm::V1alpha1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/orm/v1alpha1/schema.proto\x12\x13\x63osmos.orm.v1alpha1\x1a google/protobuf/descriptor.proto\"\x93\x02\n\x16ModuleSchemaDescriptor\x12V\n\x0bschema_file\x18\x01 \x03(\x0b\x32\x35.cosmos.orm.v1alpha1.ModuleSchemaDescriptor.FileEntryR\nschemaFile\x12\x16\n\x06prefix\x18\x02 \x01(\x0cR\x06prefix\x1a\x88\x01\n\tFileEntry\x12\x0e\n\x02id\x18\x01 \x01(\rR\x02id\x12&\n\x0fproto_file_name\x18\x02 \x01(\tR\rprotoFileName\x12\x43\n\x0cstorage_type\x18\x03 \x01(\x0e\x32 .cosmos.orm.v1alpha1.StorageTypeR\x0bstorageType*h\n\x0bStorageType\x12$\n STORAGE_TYPE_DEFAULT_UNSPECIFIED\x10\x00\x12\x17\n\x13STORAGE_TYPE_MEMORY\x10\x01\x12\x1a\n\x16STORAGE_TYPE_TRANSIENT\x10\x02:t\n\rmodule_schema\x12\x1f.google.protobuf.MessageOptions\x18\xf0\xb3\xea\x31 \x01(\x0b\x32+.cosmos.orm.v1alpha1.ModuleSchemaDescriptorR\x0cmoduleSchemaB\x94\x01\n\x17\x63om.cosmos.orm.v1alpha1B\x0bSchemaProtoP\x01\xa2\x02\x03\x43OX\xaa\x02\x13\x43osmos.Orm.V1alpha1\xca\x02\x13\x43osmos\\Orm\\V1alpha1\xe2\x02\x1f\x43osmos\\Orm\\V1alpha1\\GPBMetadata\xea\x02\x15\x43osmos::Orm::V1alpha1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.orm.v1alpha1.schema_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.v1alpha1.schema_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.orm.v1alpha1B\013SchemaProtoP\001\242\002\003COX\252\002\023Cosmos.Orm.V1alpha1\312\002\023Cosmos\\Orm\\V1alpha1\342\002\037Cosmos\\Orm\\V1alpha1\\GPBMetadata\352\002\025Cosmos::Orm::V1alpha1" - ) - _globals["_STORAGETYPE"]._serialized_start = 369 - _globals["_STORAGETYPE"]._serialized_end = 473 - _globals["_MODULESCHEMADESCRIPTOR"]._serialized_start = 92 - _globals["_MODULESCHEMADESCRIPTOR"]._serialized_end = 367 - _globals["_MODULESCHEMADESCRIPTOR_FILEENTRY"]._serialized_start = 231 - _globals["_MODULESCHEMADESCRIPTOR_FILEENTRY"]._serialized_end = 367 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.orm.v1alpha1B\013SchemaProtoP\001\242\002\003COX\252\002\023Cosmos.Orm.V1alpha1\312\002\023Cosmos\\Orm\\V1alpha1\342\002\037Cosmos\\Orm\\V1alpha1\\GPBMetadata\352\002\025Cosmos::Orm::V1alpha1' + _globals['_STORAGETYPE']._serialized_start=369 + _globals['_STORAGETYPE']._serialized_end=473 + _globals['_MODULESCHEMADESCRIPTOR']._serialized_start=92 + _globals['_MODULESCHEMADESCRIPTOR']._serialized_end=367 + _globals['_MODULESCHEMADESCRIPTOR_FILEENTRY']._serialized_start=231 + _globals['_MODULESCHEMADESCRIPTOR_FILEENTRY']._serialized_end=367 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py b/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py +++ b/pyinjective/proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py @@ -1,3 +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/cosmos/params/module/v1/module_pb2.py b/pyinjective/proto/cosmos/params/module/v1/module_pb2.py index e554258c..19e51257 100644 --- a/pyinjective/proto/cosmos/params/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/params/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n$cosmos/params/module/v1/module.proto\x12\x17\x63osmos.params.module.v1\x1a cosmos/app/v1alpha1/module.proto\"7\n\x06Module:-\xba\xc0\x96\xda\x01'\n%github.com/cosmos/cosmos-sdk/x/paramsB\xa9\x01\n\x1b\x63om.cosmos.params.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43PM\xaa\x02\x17\x43osmos.Params.Module.V1\xca\x02\x17\x43osmos\\Params\\Module\\V1\xe2\x02#Cosmos\\Params\\Module\\V1\\GPBMetadata\xea\x02\x1a\x43osmos::Params::Module::V1b\x06proto3" -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/params/module/v1/module.proto\x12\x17\x63osmos.params.module.v1\x1a cosmos/app/v1alpha1/module.proto\"7\n\x06Module:-\xba\xc0\x96\xda\x01\'\n%github.com/cosmos/cosmos-sdk/x/paramsB\xa9\x01\n\x1b\x63om.cosmos.params.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43PM\xaa\x02\x17\x43osmos.Params.Module.V1\xca\x02\x17\x43osmos\\Params\\Module\\V1\xe2\x02#Cosmos\\Params\\Module\\V1\\GPBMetadata\xea\x02\x1a\x43osmos::Params::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.params.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.cosmos.params.module.v1B\013ModuleProtoP\001\242\002\003CPM\252\002\027Cosmos.Params.Module.V1\312\002\027Cosmos\\Params\\Module\\V1\342\002#Cosmos\\Params\\Module\\V1\\GPBMetadata\352\002\032Cosmos::Params::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001'\n%github.com/cosmos/cosmos-sdk/x/params" - _globals["_MODULE"]._serialized_start = 99 - _globals["_MODULE"]._serialized_end = 154 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.params.module.v1B\013ModuleProtoP\001\242\002\003CPM\252\002\027Cosmos.Params.Module.V1\312\002\027Cosmos\\Params\\Module\\V1\342\002#Cosmos\\Params\\Module\\V1\\GPBMetadata\352\002\032Cosmos::Params::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\'\n%github.com/cosmos/cosmos-sdk/x/params' + _globals['_MODULE']._serialized_start=99 + _globals['_MODULE']._serialized_end=154 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/params/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/params/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/params/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/params/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/params/v1beta1/params_pb2.py b/pyinjective/proto/cosmos/params/v1beta1/params_pb2.py index 0a80dd76..b53d4ca7 100644 --- a/pyinjective/proto/cosmos/params/v1beta1/params_pb2.py +++ b/pyinjective/proto/cosmos/params/v1beta1/params_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,28 +17,20 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n"cosmos/params/v1beta1/params.proto\x12\x15\x63osmos.params.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\xe5\x01\n\x17ParameterChangeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12G\n\x07\x63hanges\x18\x03 \x03(\x0b\x32".cosmos.params.v1beta1.ParamChangeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x63hanges:I\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*"cosmos-sdk/ParameterChangeProposal"Q\n\x0bParamChange\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\x12\x14\n\x05value\x18\x03 \x01(\tR\x05valueB\xd8\x01\n\x19\x63om.cosmos.params.v1beta1B\x0bParamsProtoP\x01Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\xa2\x02\x03\x43PX\xaa\x02\x15\x43osmos.Params.V1beta1\xca\x02\x15\x43osmos\\Params\\V1beta1\xe2\x02!Cosmos\\Params\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Params::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/params/v1beta1/params.proto\x12\x15\x63osmos.params.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xe5\x01\n\x17ParameterChangeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12G\n\x07\x63hanges\x18\x03 \x03(\x0b\x32\".cosmos.params.v1beta1.ParamChangeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x63hanges:I\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\"cosmos-sdk/ParameterChangeProposal\"Q\n\x0bParamChange\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\x12\x14\n\x05value\x18\x03 \x01(\tR\x05valueB\xd8\x01\n\x19\x63om.cosmos.params.v1beta1B\x0bParamsProtoP\x01Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\xa2\x02\x03\x43PX\xaa\x02\x15\x43osmos.Params.V1beta1\xca\x02\x15\x43osmos\\Params\\V1beta1\xe2\x02!Cosmos\\Params\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Params::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.params.v1beta1.params_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.v1beta1.params_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\031com.cosmos.params.v1beta1B\013ParamsProtoP\001Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\242\002\003CPX\252\002\025Cosmos.Params.V1beta1\312\002\025Cosmos\\Params\\V1beta1\342\002!Cosmos\\Params\\V1beta1\\GPBMetadata\352\002\027Cosmos::Params::V1beta1\250\342\036\001" - ) - _globals["_PARAMETERCHANGEPROPOSAL"].fields_by_name["changes"]._loaded_options = None - _globals["_PARAMETERCHANGEPROPOSAL"].fields_by_name[ - "changes" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_PARAMETERCHANGEPROPOSAL"]._loaded_options = None - _globals["_PARAMETERCHANGEPROPOSAL"]._serialized_options = ( - b'\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*"cosmos-sdk/ParameterChangeProposal' - ) - _globals["_PARAMETERCHANGEPROPOSAL"]._serialized_start = 130 - _globals["_PARAMETERCHANGEPROPOSAL"]._serialized_end = 359 - _globals["_PARAMCHANGE"]._serialized_start = 361 - _globals["_PARAMCHANGE"]._serialized_end = 442 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.params.v1beta1B\013ParamsProtoP\001Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\242\002\003CPX\252\002\025Cosmos.Params.V1beta1\312\002\025Cosmos\\Params\\V1beta1\342\002!Cosmos\\Params\\V1beta1\\GPBMetadata\352\002\027Cosmos::Params::V1beta1\250\342\036\001' + _globals['_PARAMETERCHANGEPROPOSAL'].fields_by_name['changes']._loaded_options = None + _globals['_PARAMETERCHANGEPROPOSAL'].fields_by_name['changes']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PARAMETERCHANGEPROPOSAL']._loaded_options = None + _globals['_PARAMETERCHANGEPROPOSAL']._serialized_options = b'\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\"cosmos-sdk/ParameterChangeProposal' + _globals['_PARAMETERCHANGEPROPOSAL']._serialized_start=130 + _globals['_PARAMETERCHANGEPROPOSAL']._serialized_end=359 + _globals['_PARAMCHANGE']._serialized_start=361 + _globals['_PARAMCHANGE']._serialized_end=442 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/params/v1beta1/params_pb2_grpc.py b/pyinjective/proto/cosmos/params/v1beta1/params_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/params/v1beta1/params_pb2_grpc.py +++ b/pyinjective/proto/cosmos/params/v1beta1/params_pb2_grpc.py @@ -1,3 +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/cosmos/params/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/params/v1beta1/query_pb2.py index 4bd74a6e..27bdcffa 100644 --- a/pyinjective/proto/cosmos/params/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/params/v1beta1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,38 +18,30 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!cosmos/params/v1beta1/query.proto\x12\x15\x63osmos.params.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a"cosmos/params/v1beta1/params.proto\x1a\x11\x61mino/amino.proto"B\n\x12QueryParamsRequest\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key"Z\n\x13QueryParamsResponse\x12\x43\n\x05param\x18\x01 \x01(\x0b\x32".cosmos.params.v1beta1.ParamChangeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05param"\x17\n\x15QuerySubspacesRequest"W\n\x16QuerySubspacesResponse\x12=\n\tsubspaces\x18\x01 \x03(\x0b\x32\x1f.cosmos.params.v1beta1.SubspaceR\tsubspaces":\n\x08Subspace\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x12\n\x04keys\x18\x02 \x03(\tR\x04keys2\xa5\x02\n\x05Query\x12\x86\x01\n\x06Params\x12).cosmos.params.v1beta1.QueryParamsRequest\x1a*.cosmos.params.v1beta1.QueryParamsResponse"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/params/v1beta1/params\x12\x92\x01\n\tSubspaces\x12,.cosmos.params.v1beta1.QuerySubspacesRequest\x1a-.cosmos.params.v1beta1.QuerySubspacesResponse"(\x82\xd3\xe4\x93\x02"\x12 /cosmos/params/v1beta1/subspacesB\xd3\x01\n\x19\x63om.cosmos.params.v1beta1B\nQueryProtoP\x01Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\xa2\x02\x03\x43PX\xaa\x02\x15\x43osmos.Params.V1beta1\xca\x02\x15\x43osmos\\Params\\V1beta1\xe2\x02!Cosmos\\Params\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Params::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/params/v1beta1/query.proto\x12\x15\x63osmos.params.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\"cosmos/params/v1beta1/params.proto\x1a\x11\x61mino/amino.proto\"B\n\x12QueryParamsRequest\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\"Z\n\x13QueryParamsResponse\x12\x43\n\x05param\x18\x01 \x01(\x0b\x32\".cosmos.params.v1beta1.ParamChangeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05param\"\x17\n\x15QuerySubspacesRequest\"W\n\x16QuerySubspacesResponse\x12=\n\tsubspaces\x18\x01 \x03(\x0b\x32\x1f.cosmos.params.v1beta1.SubspaceR\tsubspaces\":\n\x08Subspace\x12\x1a\n\x08subspace\x18\x01 \x01(\tR\x08subspace\x12\x12\n\x04keys\x18\x02 \x03(\tR\x04keys2\xa5\x02\n\x05Query\x12\x86\x01\n\x06Params\x12).cosmos.params.v1beta1.QueryParamsRequest\x1a*.cosmos.params.v1beta1.QueryParamsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/params/v1beta1/params\x12\x92\x01\n\tSubspaces\x12,.cosmos.params.v1beta1.QuerySubspacesRequest\x1a-.cosmos.params.v1beta1.QuerySubspacesResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmos/params/v1beta1/subspacesB\xd3\x01\n\x19\x63om.cosmos.params.v1beta1B\nQueryProtoP\x01Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\xa2\x02\x03\x43PX\xaa\x02\x15\x43osmos.Params.V1beta1\xca\x02\x15\x43osmos\\Params\\V1beta1\xe2\x02!Cosmos\\Params\\V1beta1\\GPBMetadata\xea\x02\x17\x43osmos::Params::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.params.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\031com.cosmos.params.v1beta1B\nQueryProtoP\001Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\242\002\003CPX\252\002\025Cosmos.Params.V1beta1\312\002\025Cosmos\\Params\\V1beta1\342\002!Cosmos\\Params\\V1beta1\\GPBMetadata\352\002\027Cosmos::Params::V1beta1" - ) - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["param"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["param"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\202\323\344\223\002\037\022\035/cosmos/params/v1beta1/params" - _globals["_QUERY"].methods_by_name["Subspaces"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Subspaces" - ]._serialized_options = b'\202\323\344\223\002"\022 /cosmos/params/v1beta1/subspaces' - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 167 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 233 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 235 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 325 - _globals["_QUERYSUBSPACESREQUEST"]._serialized_start = 327 - _globals["_QUERYSUBSPACESREQUEST"]._serialized_end = 350 - _globals["_QUERYSUBSPACESRESPONSE"]._serialized_start = 352 - _globals["_QUERYSUBSPACESRESPONSE"]._serialized_end = 439 - _globals["_SUBSPACE"]._serialized_start = 441 - _globals["_SUBSPACE"]._serialized_end = 499 - _globals["_QUERY"]._serialized_start = 502 - _globals["_QUERY"]._serialized_end = 795 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.cosmos.params.v1beta1B\nQueryProtoP\001Z4github.com/cosmos/cosmos-sdk/x/params/types/proposal\242\002\003CPX\252\002\025Cosmos.Params.V1beta1\312\002\025Cosmos\\Params\\V1beta1\342\002!Cosmos\\Params\\V1beta1\\GPBMetadata\352\002\027Cosmos::Params::V1beta1' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['param']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['param']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\037\022\035/cosmos/params/v1beta1/params' + _globals['_QUERY'].methods_by_name['Subspaces']._loaded_options = None + _globals['_QUERY'].methods_by_name['Subspaces']._serialized_options = b'\202\323\344\223\002\"\022 /cosmos/params/v1beta1/subspaces' + _globals['_QUERYPARAMSREQUEST']._serialized_start=167 + _globals['_QUERYPARAMSREQUEST']._serialized_end=233 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=235 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=325 + _globals['_QUERYSUBSPACESREQUEST']._serialized_start=327 + _globals['_QUERYSUBSPACESREQUEST']._serialized_end=350 + _globals['_QUERYSUBSPACESRESPONSE']._serialized_start=352 + _globals['_QUERYSUBSPACESRESPONSE']._serialized_end=439 + _globals['_SUBSPACE']._serialized_start=441 + _globals['_SUBSPACE']._serialized_end=499 + _globals['_QUERY']._serialized_start=502 + _globals['_QUERY']._serialized_end=795 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/params/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/params/v1beta1/query_pb2_grpc.py index a218ef00..b9ed1797 100644 --- a/pyinjective/proto/cosmos/params/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/params/v1beta1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -15,29 +16,28 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - "/cosmos.params.v1beta1.Query/Params", - request_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.params.v1beta1.Query/Params', + request_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) self.Subspaces = channel.unary_unary( - "/cosmos.params.v1beta1.Query/Subspaces", - request_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesRequest.SerializeToString, - response_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesResponse.FromString, - _registered_method=True, - ) + '/cosmos.params.v1beta1.Query/Subspaces', + request_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesRequest.SerializeToString, + response_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def Params(self, request, context): """Params queries a specific parameter of a module, given its subspace and key. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Subspaces(self, request, context): """Subspaces queries for all registered subspaces and all keys for a subspace. @@ -45,49 +45,49 @@ def Subspaces(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - "Subspaces": grpc.unary_unary_rpc_method_handler( - servicer.Subspaces, - request_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesRequest.FromString, - response_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesResponse.SerializeToString, - ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'Subspaces': grpc.unary_unary_rpc_method_handler( + servicer.Subspaces, + request_deserializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesRequest.FromString, + response_serializer=cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.params.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.params.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.params.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.params.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.params.v1beta1.Query/Params", + '/cosmos.params.v1beta1.Query/Params', cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_params_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -98,26 +98,23 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Subspaces( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Subspaces(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.params.v1beta1.Query/Subspaces", + '/cosmos.params.v1beta1.Query/Subspaces', cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesRequest.SerializeToString, cosmos_dot_params_dot_v1beta1_dot_query__pb2.QuerySubspacesResponse.FromString, options, @@ -128,5 +125,4 @@ def Subspaces( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/query/v1/query_pb2.py b/pyinjective/proto/cosmos/query/v1/query_pb2.py index 77488702..1911653d 100644 --- a/pyinjective/proto/cosmos/query/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/query/v1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,16 +15,12 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n\x1b\x63osmos/query/v1/query.proto\x12\x0f\x63osmos.query.v1\x1a google/protobuf/descriptor.proto:M\n\x11module_query_safe\x12\x1e.google.protobuf.MethodOptions\x18\xf1\x8c\xa6\x05 \x01(\x08R\x0fmoduleQuerySafeB\xa9\x01\n\x13\x63om.cosmos.query.v1B\nQueryProtoP\x01Z(github.com/cosmos/cosmos-sdk/types/query\xa2\x02\x03\x43QX\xaa\x02\x0f\x43osmos.Query.V1\xca\x02\x0f\x43osmos\\Query\\V1\xe2\x02\x1b\x43osmos\\Query\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Query::V1b\x06proto3" -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/query/v1/query.proto\x12\x0f\x63osmos.query.v1\x1a google/protobuf/descriptor.proto:M\n\x11module_query_safe\x12\x1e.google.protobuf.MethodOptions\x18\xf1\x8c\xa6\x05 \x01(\x08R\x0fmoduleQuerySafeB\xa9\x01\n\x13\x63om.cosmos.query.v1B\nQueryProtoP\x01Z(github.com/cosmos/cosmos-sdk/types/query\xa2\x02\x03\x43QX\xaa\x02\x0f\x43osmos.Query.V1\xca\x02\x0f\x43osmos\\Query\\V1\xe2\x02\x1b\x43osmos\\Query\\V1\\GPBMetadata\xea\x02\x11\x43osmos::Query::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.query.v1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.query.v1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\023com.cosmos.query.v1B\nQueryProtoP\001Z(github.com/cosmos/cosmos-sdk/types/query\242\002\003CQX\252\002\017Cosmos.Query.V1\312\002\017Cosmos\\Query\\V1\342\002\033Cosmos\\Query\\V1\\GPBMetadata\352\002\021Cosmos::Query::V1" - ) + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.cosmos.query.v1B\nQueryProtoP\001Z(github.com/cosmos/cosmos-sdk/types/query\242\002\003CQX\252\002\017Cosmos.Query.V1\312\002\017Cosmos\\Query\\V1\342\002\033Cosmos\\Query\\V1\\GPBMetadata\352\002\021Cosmos::Query::V1' # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/query/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/query/v1/query_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/query/v1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/query/v1/query_pb2_grpc.py @@ -1,3 +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/cosmos/reflection/v1/reflection_pb2.py b/pyinjective/proto/cosmos/reflection/v1/reflection_pb2.py index 084b50bd..9608c2f9 100644 --- a/pyinjective/proto/cosmos/reflection/v1/reflection_pb2.py +++ b/pyinjective/proto/cosmos/reflection/v1/reflection_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,24 +16,20 @@ from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%cosmos/reflection/v1/reflection.proto\x12\x14\x63osmos.reflection.v1\x1a google/protobuf/descriptor.proto\x1a\x1b\x63osmos/query/v1/query.proto"\x18\n\x16\x46ileDescriptorsRequest"U\n\x17\x46ileDescriptorsResponse\x12:\n\x05\x66iles\x18\x01 \x03(\x0b\x32$.google.protobuf.FileDescriptorProtoR\x05\x66iles2\x8a\x01\n\x11ReflectionService\x12u\n\x0f\x46ileDescriptors\x12,.cosmos.reflection.v1.FileDescriptorsRequest\x1a-.cosmos.reflection.v1.FileDescriptorsResponse"\x05\x88\xe7\xb0*\x00\x42\x9d\x01\n\x18\x63om.cosmos.reflection.v1B\x0fReflectionProtoP\x01\xa2\x02\x03\x43RX\xaa\x02\x14\x43osmos.Reflection.V1\xca\x02\x14\x43osmos\\Reflection\\V1\xe2\x02 Cosmos\\Reflection\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Reflection::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/reflection/v1/reflection.proto\x12\x14\x63osmos.reflection.v1\x1a google/protobuf/descriptor.proto\x1a\x1b\x63osmos/query/v1/query.proto\"\x18\n\x16\x46ileDescriptorsRequest\"U\n\x17\x46ileDescriptorsResponse\x12:\n\x05\x66iles\x18\x01 \x03(\x0b\x32$.google.protobuf.FileDescriptorProtoR\x05\x66iles2\x8a\x01\n\x11ReflectionService\x12u\n\x0f\x46ileDescriptors\x12,.cosmos.reflection.v1.FileDescriptorsRequest\x1a-.cosmos.reflection.v1.FileDescriptorsResponse\"\x05\x88\xe7\xb0*\x00\x42\x9d\x01\n\x18\x63om.cosmos.reflection.v1B\x0fReflectionProtoP\x01\xa2\x02\x03\x43RX\xaa\x02\x14\x43osmos.Reflection.V1\xca\x02\x14\x43osmos\\Reflection\\V1\xe2\x02 Cosmos\\Reflection\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Reflection::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.reflection.v1.reflection_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.reflection.v1.reflection_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\030com.cosmos.reflection.v1B\017ReflectionProtoP\001\242\002\003CRX\252\002\024Cosmos.Reflection.V1\312\002\024Cosmos\\Reflection\\V1\342\002 Cosmos\\Reflection\\V1\\GPBMetadata\352\002\026Cosmos::Reflection::V1" - ) - _globals["_REFLECTIONSERVICE"].methods_by_name["FileDescriptors"]._loaded_options = None - _globals["_REFLECTIONSERVICE"].methods_by_name["FileDescriptors"]._serialized_options = b"\210\347\260*\000" - _globals["_FILEDESCRIPTORSREQUEST"]._serialized_start = 126 - _globals["_FILEDESCRIPTORSREQUEST"]._serialized_end = 150 - _globals["_FILEDESCRIPTORSRESPONSE"]._serialized_start = 152 - _globals["_FILEDESCRIPTORSRESPONSE"]._serialized_end = 237 - _globals["_REFLECTIONSERVICE"]._serialized_start = 240 - _globals["_REFLECTIONSERVICE"]._serialized_end = 378 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.reflection.v1B\017ReflectionProtoP\001\242\002\003CRX\252\002\024Cosmos.Reflection.V1\312\002\024Cosmos\\Reflection\\V1\342\002 Cosmos\\Reflection\\V1\\GPBMetadata\352\002\026Cosmos::Reflection::V1' + _globals['_REFLECTIONSERVICE'].methods_by_name['FileDescriptors']._loaded_options = None + _globals['_REFLECTIONSERVICE'].methods_by_name['FileDescriptors']._serialized_options = b'\210\347\260*\000' + _globals['_FILEDESCRIPTORSREQUEST']._serialized_start=126 + _globals['_FILEDESCRIPTORSREQUEST']._serialized_end=150 + _globals['_FILEDESCRIPTORSRESPONSE']._serialized_start=152 + _globals['_FILEDESCRIPTORSRESPONSE']._serialized_end=237 + _globals['_REFLECTIONSERVICE']._serialized_start=240 + _globals['_REFLECTIONSERVICE']._serialized_end=378 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/reflection/v1/reflection_pb2_grpc.py b/pyinjective/proto/cosmos/reflection/v1/reflection_pb2_grpc.py index c0abb924..0c311309 100644 --- a/pyinjective/proto/cosmos/reflection/v1/reflection_pb2_grpc.py +++ b/pyinjective/proto/cosmos/reflection/v1/reflection_pb2_grpc.py @@ -17,11 +17,10 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.FileDescriptors = channel.unary_unary( - "/cosmos.reflection.v1.ReflectionService/FileDescriptors", - request_serializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsRequest.SerializeToString, - response_deserializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsResponse.FromString, - _registered_method=True, - ) + '/cosmos.reflection.v1.ReflectionService/FileDescriptors', + request_serializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsRequest.SerializeToString, + response_deserializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsResponse.FromString, + _registered_method=True) class ReflectionServiceServicer(object): @@ -34,48 +33,45 @@ def FileDescriptors(self, request, context): to enable easier generation of dynamic clients. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_ReflectionServiceServicer_to_server(servicer, server): rpc_method_handlers = { - "FileDescriptors": grpc.unary_unary_rpc_method_handler( - servicer.FileDescriptors, - request_deserializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsRequest.FromString, - response_serializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsResponse.SerializeToString, - ), + 'FileDescriptors': grpc.unary_unary_rpc_method_handler( + servicer.FileDescriptors, + request_deserializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsRequest.FromString, + response_serializer=cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - "cosmos.reflection.v1.ReflectionService", rpc_method_handlers - ) + 'cosmos.reflection.v1.ReflectionService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.reflection.v1.ReflectionService", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.reflection.v1.ReflectionService', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class ReflectionService(object): """Package cosmos.reflection.v1 provides support for inspecting protobuf file descriptors. """ @staticmethod - def FileDescriptors( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def FileDescriptors(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.reflection.v1.ReflectionService/FileDescriptors", + '/cosmos.reflection.v1.ReflectionService/FileDescriptors', cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsRequest.SerializeToString, cosmos_dot_reflection_dot_v1_dot_reflection__pb2.FileDescriptorsResponse.FromString, options, @@ -86,5 +82,4 @@ def FileDescriptors( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py b/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py index cbf4cefc..3e5352da 100644 --- a/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/slashing/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n&cosmos/slashing/module/v1/module.proto\x12\x19\x63osmos.slashing.module.v1\x1a cosmos/app/v1alpha1/module.proto\"W\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:/\xba\xc0\x96\xda\x01)\n'github.com/cosmos/cosmos-sdk/x/slashingB\xb3\x01\n\x1d\x63om.cosmos.slashing.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43SM\xaa\x02\x19\x43osmos.Slashing.Module.V1\xca\x02\x19\x43osmos\\Slashing\\Module\\V1\xe2\x02%Cosmos\\Slashing\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Slashing::Module::V1b\x06proto3" -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/slashing/module/v1/module.proto\x12\x19\x63osmos.slashing.module.v1\x1a cosmos/app/v1alpha1/module.proto\"W\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:/\xba\xc0\x96\xda\x01)\n\'github.com/cosmos/cosmos-sdk/x/slashingB\xb3\x01\n\x1d\x63om.cosmos.slashing.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43SM\xaa\x02\x19\x43osmos.Slashing.Module.V1\xca\x02\x19\x43osmos\\Slashing\\Module\\V1\xe2\x02%Cosmos\\Slashing\\Module\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Slashing::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.slashing.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\035com.cosmos.slashing.module.v1B\013ModuleProtoP\001\242\002\003CSM\252\002\031Cosmos.Slashing.Module.V1\312\002\031Cosmos\\Slashing\\Module\\V1\342\002%Cosmos\\Slashing\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Slashing::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001)\n'github.com/cosmos/cosmos-sdk/x/slashing" - _globals["_MODULE"]._serialized_start = 103 - _globals["_MODULE"]._serialized_end = 190 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.slashing.module.v1B\013ModuleProtoP\001\242\002\003CSM\252\002\031Cosmos.Slashing.Module.V1\312\002\031Cosmos\\Slashing\\Module\\V1\342\002%Cosmos\\Slashing\\Module\\V1\\GPBMetadata\352\002\034Cosmos::Slashing::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001)\n\'github.com/cosmos/cosmos-sdk/x/slashing' + _globals['_MODULE']._serialized_start=103 + _globals['_MODULE']._serialized_end=190 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/slashing/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/slashing/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/slashing/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2.py index d58db20c..76a206a8 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,46 +18,34 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%cosmos/slashing/v1beta1/genesis.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\x88\x02\n\x0cGenesisState\x12\x42\n\x06params\x18\x01 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12T\n\rsigning_infos\x18\x02 \x03(\x0b\x32$.cosmos.slashing.v1beta1.SigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0csigningInfos\x12^\n\rmissed_blocks\x18\x03 \x03(\x0b\x32..cosmos.slashing.v1beta1.ValidatorMissedBlocksB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cmissedBlocks"\xba\x01\n\x0bSigningInfo\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12n\n\x16validator_signing_info\x18\x02 \x01(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSigningInfo"\xaa\x01\n\x15ValidatorMissedBlocks\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12T\n\rmissed_blocks\x18\x02 \x03(\x0b\x32$.cosmos.slashing.v1beta1.MissedBlockB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cmissedBlocks";\n\x0bMissedBlock\x12\x14\n\x05index\x18\x01 \x01(\x03R\x05index\x12\x16\n\x06missed\x18\x02 \x01(\x08R\x06missedB\xd8\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\x0cGenesisProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/slashing/v1beta1/genesis.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x88\x02\n\x0cGenesisState\x12\x42\n\x06params\x18\x01 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12T\n\rsigning_infos\x18\x02 \x03(\x0b\x32$.cosmos.slashing.v1beta1.SigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0csigningInfos\x12^\n\rmissed_blocks\x18\x03 \x03(\x0b\x32..cosmos.slashing.v1beta1.ValidatorMissedBlocksB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cmissedBlocks\"\xba\x01\n\x0bSigningInfo\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12n\n\x16validator_signing_info\x18\x02 \x01(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14validatorSigningInfo\"\xaa\x01\n\x15ValidatorMissedBlocks\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12T\n\rmissed_blocks\x18\x02 \x03(\x0b\x32$.cosmos.slashing.v1beta1.MissedBlockB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0cmissedBlocks\";\n\x0bMissedBlock\x12\x14\n\x05index\x18\x01 \x01(\x03R\x05index\x12\x16\n\x06missed\x18\x02 \x01(\x08R\x06missedB\xd8\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\x0cGenesisProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.slashing.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.cosmos.slashing.v1beta1B\014GenesisProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1" - ) - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["signing_infos"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["signing_infos"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["missed_blocks"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["missed_blocks"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_SIGNINGINFO"].fields_by_name["address"]._loaded_options = None - _globals["_SIGNINGINFO"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\035cosmos.ConsensusAddressString" - _globals["_SIGNINGINFO"].fields_by_name["validator_signing_info"]._loaded_options = None - _globals["_SIGNINGINFO"].fields_by_name[ - "validator_signing_info" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_VALIDATORMISSEDBLOCKS"].fields_by_name["address"]._loaded_options = None - _globals["_VALIDATORMISSEDBLOCKS"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\035cosmos.ConsensusAddressString" - _globals["_VALIDATORMISSEDBLOCKS"].fields_by_name["missed_blocks"]._loaded_options = None - _globals["_VALIDATORMISSEDBLOCKS"].fields_by_name[ - "missed_blocks" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"]._serialized_start = 175 - _globals["_GENESISSTATE"]._serialized_end = 439 - _globals["_SIGNINGINFO"]._serialized_start = 442 - _globals["_SIGNINGINFO"]._serialized_end = 628 - _globals["_VALIDATORMISSEDBLOCKS"]._serialized_start = 631 - _globals["_VALIDATORMISSEDBLOCKS"]._serialized_end = 801 - _globals["_MISSEDBLOCK"]._serialized_start = 803 - _globals["_MISSEDBLOCK"]._serialized_end = 862 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.slashing.v1beta1B\014GenesisProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['signing_infos']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['signing_infos']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['missed_blocks']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['missed_blocks']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_SIGNINGINFO'].fields_by_name['address']._loaded_options = None + _globals['_SIGNINGINFO'].fields_by_name['address']._serialized_options = b'\322\264-\035cosmos.ConsensusAddressString' + _globals['_SIGNINGINFO'].fields_by_name['validator_signing_info']._loaded_options = None + _globals['_SIGNINGINFO'].fields_by_name['validator_signing_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_VALIDATORMISSEDBLOCKS'].fields_by_name['address']._loaded_options = None + _globals['_VALIDATORMISSEDBLOCKS'].fields_by_name['address']._serialized_options = b'\322\264-\035cosmos.ConsensusAddressString' + _globals['_VALIDATORMISSEDBLOCKS'].fields_by_name['missed_blocks']._loaded_options = None + _globals['_VALIDATORMISSEDBLOCKS'].fields_by_name['missed_blocks']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE']._serialized_start=175 + _globals['_GENESISSTATE']._serialized_end=439 + _globals['_SIGNINGINFO']._serialized_start=442 + _globals['_SIGNINGINFO']._serialized_end=628 + _globals['_VALIDATORMISSEDBLOCKS']._serialized_start=631 + _globals['_VALIDATORMISSEDBLOCKS']._serialized_end=801 + _globals['_MISSEDBLOCK']._serialized_start=803 + _globals['_MISSEDBLOCK']._serialized_end=862 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/genesis_pb2_grpc.py @@ -1,3 +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/cosmos/slashing/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2.py index 25f20d95..6ada740b 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2.py @@ -7,15 +7,12 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.slashing.v1beta1 import slashing_pb2 as cosmos_dot_slashing_dot_v1beta1_dot_slashing__pb2 @@ -23,56 +20,40 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#cosmos/slashing/v1beta1/query.proto\x12\x17\x63osmos.slashing.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\x14\n\x12QueryParamsRequest"Y\n\x13QueryParamsResponse\x12\x42\n\x06params\x18\x01 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params"_\n\x17QuerySigningInfoRequest\x12\x44\n\x0c\x63ons_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x0b\x63onsAddress"~\n\x18QuerySigningInfoResponse\x12\x62\n\x10val_signing_info\x18\x01 \x01(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evalSigningInfo"b\n\x18QuerySigningInfosRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xb2\x01\n\x19QuerySigningInfosResponse\x12L\n\x04info\x18\x01 \x03(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04info\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xf2\x03\n\x05Query\x12\x8c\x01\n\x06Params\x12+.cosmos.slashing.v1beta1.QueryParamsRequest\x1a,.cosmos.slashing.v1beta1.QueryParamsResponse"\'\x82\xd3\xe4\x93\x02!\x12\x1f/cosmos/slashing/v1beta1/params\x12\xb1\x01\n\x0bSigningInfo\x12\x30.cosmos.slashing.v1beta1.QuerySigningInfoRequest\x1a\x31.cosmos.slashing.v1beta1.QuerySigningInfoResponse"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmos/slashing/v1beta1/signing_infos/{cons_address}\x12\xa5\x01\n\x0cSigningInfos\x12\x31.cosmos.slashing.v1beta1.QuerySigningInfosRequest\x1a\x32.cosmos.slashing.v1beta1.QuerySigningInfosResponse".\x82\xd3\xe4\x93\x02(\x12&/cosmos/slashing/v1beta1/signing_infosB\xd6\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\nQueryProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/slashing/v1beta1/query.proto\x12\x17\x63osmos.slashing.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x14\n\x12QueryParamsRequest\"Y\n\x13QueryParamsResponse\x12\x42\n\x06params\x18\x01 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"_\n\x17QuerySigningInfoRequest\x12\x44\n\x0c\x63ons_address\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x0b\x63onsAddress\"~\n\x18QuerySigningInfoResponse\x12\x62\n\x10val_signing_info\x18\x01 \x01(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evalSigningInfo\"b\n\x18QuerySigningInfosRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb2\x01\n\x19QuerySigningInfosResponse\x12L\n\x04info\x18\x01 \x03(\x0b\x32-.cosmos.slashing.v1beta1.ValidatorSigningInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04info\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination2\xf2\x03\n\x05Query\x12\x8c\x01\n\x06Params\x12+.cosmos.slashing.v1beta1.QueryParamsRequest\x1a,.cosmos.slashing.v1beta1.QueryParamsResponse\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/cosmos/slashing/v1beta1/params\x12\xb1\x01\n\x0bSigningInfo\x12\x30.cosmos.slashing.v1beta1.QuerySigningInfoRequest\x1a\x31.cosmos.slashing.v1beta1.QuerySigningInfoResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmos/slashing/v1beta1/signing_infos/{cons_address}\x12\xa5\x01\n\x0cSigningInfos\x12\x31.cosmos.slashing.v1beta1.QuerySigningInfosRequest\x1a\x32.cosmos.slashing.v1beta1.QuerySigningInfosResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/slashing/v1beta1/signing_infosB\xd6\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\nQueryProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.slashing.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.cosmos.slashing.v1beta1B\nQueryProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1" - ) - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYSIGNINGINFOREQUEST"].fields_by_name["cons_address"]._loaded_options = None - _globals["_QUERYSIGNINGINFOREQUEST"].fields_by_name[ - "cons_address" - ]._serialized_options = b"\322\264-\035cosmos.ConsensusAddressString" - _globals["_QUERYSIGNINGINFORESPONSE"].fields_by_name["val_signing_info"]._loaded_options = None - _globals["_QUERYSIGNINGINFORESPONSE"].fields_by_name[ - "val_signing_info" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYSIGNINGINFOSRESPONSE"].fields_by_name["info"]._loaded_options = None - _globals["_QUERYSIGNINGINFOSRESPONSE"].fields_by_name[ - "info" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\202\323\344\223\002!\022\037/cosmos/slashing/v1beta1/params" - _globals["_QUERY"].methods_by_name["SigningInfo"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "SigningInfo" - ]._serialized_options = b"\202\323\344\223\0027\0225/cosmos/slashing/v1beta1/signing_infos/{cons_address}" - _globals["_QUERY"].methods_by_name["SigningInfos"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "SigningInfos" - ]._serialized_options = b"\202\323\344\223\002(\022&/cosmos/slashing/v1beta1/signing_infos" - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 246 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 266 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 268 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 357 - _globals["_QUERYSIGNINGINFOREQUEST"]._serialized_start = 359 - _globals["_QUERYSIGNINGINFOREQUEST"]._serialized_end = 454 - _globals["_QUERYSIGNINGINFORESPONSE"]._serialized_start = 456 - _globals["_QUERYSIGNINGINFORESPONSE"]._serialized_end = 582 - _globals["_QUERYSIGNINGINFOSREQUEST"]._serialized_start = 584 - _globals["_QUERYSIGNINGINFOSREQUEST"]._serialized_end = 682 - _globals["_QUERYSIGNINGINFOSRESPONSE"]._serialized_start = 685 - _globals["_QUERYSIGNINGINFOSRESPONSE"]._serialized_end = 863 - _globals["_QUERY"]._serialized_start = 866 - _globals["_QUERY"]._serialized_end = 1364 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.slashing.v1beta1B\nQueryProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYSIGNINGINFOREQUEST'].fields_by_name['cons_address']._loaded_options = None + _globals['_QUERYSIGNINGINFOREQUEST'].fields_by_name['cons_address']._serialized_options = b'\322\264-\035cosmos.ConsensusAddressString' + _globals['_QUERYSIGNINGINFORESPONSE'].fields_by_name['val_signing_info']._loaded_options = None + _globals['_QUERYSIGNINGINFORESPONSE'].fields_by_name['val_signing_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYSIGNINGINFOSRESPONSE'].fields_by_name['info']._loaded_options = None + _globals['_QUERYSIGNINGINFOSRESPONSE'].fields_by_name['info']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002!\022\037/cosmos/slashing/v1beta1/params' + _globals['_QUERY'].methods_by_name['SigningInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['SigningInfo']._serialized_options = b'\202\323\344\223\0027\0225/cosmos/slashing/v1beta1/signing_infos/{cons_address}' + _globals['_QUERY'].methods_by_name['SigningInfos']._loaded_options = None + _globals['_QUERY'].methods_by_name['SigningInfos']._serialized_options = b'\202\323\344\223\002(\022&/cosmos/slashing/v1beta1/signing_infos' + _globals['_QUERYPARAMSREQUEST']._serialized_start=246 + _globals['_QUERYPARAMSREQUEST']._serialized_end=266 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=268 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=357 + _globals['_QUERYSIGNINGINFOREQUEST']._serialized_start=359 + _globals['_QUERYSIGNINGINFOREQUEST']._serialized_end=454 + _globals['_QUERYSIGNINGINFORESPONSE']._serialized_start=456 + _globals['_QUERYSIGNINGINFORESPONSE']._serialized_end=582 + _globals['_QUERYSIGNINGINFOSREQUEST']._serialized_start=584 + _globals['_QUERYSIGNINGINFOSREQUEST']._serialized_end=682 + _globals['_QUERYSIGNINGINFOSRESPONSE']._serialized_start=685 + _globals['_QUERYSIGNINGINFOSRESPONSE']._serialized_end=863 + _globals['_QUERY']._serialized_start=866 + _globals['_QUERY']._serialized_end=1364 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2_grpc.py index 0238dad4..69674eb7 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query provides defines the gRPC querier service""" + """Query provides defines the gRPC querier service + """ def __init__(self, channel): """Constructor. @@ -15,91 +16,92 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - "/cosmos.slashing.v1beta1.Query/Params", - request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.slashing.v1beta1.Query/Params', + request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) self.SigningInfo = channel.unary_unary( - "/cosmos.slashing.v1beta1.Query/SigningInfo", - request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoResponse.FromString, - _registered_method=True, - ) + '/cosmos.slashing.v1beta1.Query/SigningInfo', + request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoResponse.FromString, + _registered_method=True) self.SigningInfos = channel.unary_unary( - "/cosmos.slashing.v1beta1.Query/SigningInfos", - request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosRequest.SerializeToString, - response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosResponse.FromString, - _registered_method=True, - ) + '/cosmos.slashing.v1beta1.Query/SigningInfos', + request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosRequest.SerializeToString, + response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query provides defines the gRPC querier service""" + """Query provides defines the gRPC querier service + """ def Params(self, request, context): - """Params queries the parameters of slashing module""" + """Params queries the parameters of slashing module + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SigningInfo(self, request, context): - """SigningInfo queries the signing info of given cons address""" + """SigningInfo queries the signing info of given cons address + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SigningInfos(self, request, context): - """SigningInfos queries signing info of all validators""" + """SigningInfos queries signing info of all validators + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - "SigningInfo": grpc.unary_unary_rpc_method_handler( - servicer.SigningInfo, - request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoRequest.FromString, - response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoResponse.SerializeToString, - ), - "SigningInfos": grpc.unary_unary_rpc_method_handler( - servicer.SigningInfos, - request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosRequest.FromString, - response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosResponse.SerializeToString, - ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'SigningInfo': grpc.unary_unary_rpc_method_handler( + servicer.SigningInfo, + request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoRequest.FromString, + response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoResponse.SerializeToString, + ), + 'SigningInfos': grpc.unary_unary_rpc_method_handler( + servicer.SigningInfos, + request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosRequest.FromString, + response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.slashing.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.slashing.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.slashing.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.slashing.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query provides defines the gRPC querier service""" + """Query provides defines the gRPC querier service + """ @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.slashing.v1beta1.Query/Params", + '/cosmos.slashing.v1beta1.Query/Params', cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -110,26 +112,23 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SigningInfo( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SigningInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.slashing.v1beta1.Query/SigningInfo", + '/cosmos.slashing.v1beta1.Query/SigningInfo', cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoRequest.SerializeToString, cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfoResponse.FromString, options, @@ -140,26 +139,23 @@ def SigningInfo( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SigningInfos( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SigningInfos(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.slashing.v1beta1.Query/SigningInfos", + '/cosmos.slashing.v1beta1.Query/SigningInfos', cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosRequest.SerializeToString, cosmos_dot_slashing_dot_v1beta1_dot_query__pb2.QuerySigningInfosResponse.FromString, options, @@ -170,5 +166,4 @@ def SigningInfos( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py index 1dfa6d33..112ce1a6 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,54 +19,32 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&cosmos/slashing/v1beta1/slashing.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\xc1\x02\n\x14ValidatorSigningInfo\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12!\n\x0cstart_height\x18\x02 \x01(\x03R\x0bstartHeight\x12!\n\x0cindex_offset\x18\x03 \x01(\x03R\x0bindexOffset\x12L\n\x0cjailed_until\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0bjailedUntil\x12\x1e\n\ntombstoned\x18\x05 \x01(\x08R\ntombstoned\x12\x32\n\x15missed_blocks_counter\x18\x06 \x01(\x03R\x13missedBlocksCounter:\x04\xe8\xa0\x1f\x01"\x8d\x04\n\x06Params\x12\x30\n\x14signed_blocks_window\x18\x01 \x01(\x03R\x12signedBlocksWindow\x12i\n\x15min_signed_per_window\x18\x02 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x12minSignedPerWindow\x12^\n\x16\x64owntime_jail_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x14\x64owntimeJailDuration\x12s\n\x1aslash_fraction_double_sign\x18\x04 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x17slashFractionDoubleSign\x12n\n\x17slash_fraction_downtime\x18\x05 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x15slashFractionDowntime:!\x8a\xe7\xb0*\x1c\x63osmos-sdk/x/slashing/ParamsB\xdd\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\rSlashingProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/slashing/v1beta1/slashing.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xc1\x02\n\x14ValidatorSigningInfo\x12;\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ConsensusAddressStringR\x07\x61\x64\x64ress\x12!\n\x0cstart_height\x18\x02 \x01(\x03R\x0bstartHeight\x12!\n\x0cindex_offset\x18\x03 \x01(\x03R\x0bindexOffset\x12L\n\x0cjailed_until\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0bjailedUntil\x12\x1e\n\ntombstoned\x18\x05 \x01(\x08R\ntombstoned\x12\x32\n\x15missed_blocks_counter\x18\x06 \x01(\x03R\x13missedBlocksCounter:\x04\xe8\xa0\x1f\x01\"\x8d\x04\n\x06Params\x12\x30\n\x14signed_blocks_window\x18\x01 \x01(\x03R\x12signedBlocksWindow\x12i\n\x15min_signed_per_window\x18\x02 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x12minSignedPerWindow\x12^\n\x16\x64owntime_jail_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x14\x64owntimeJailDuration\x12s\n\x1aslash_fraction_double_sign\x18\x04 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x17slashFractionDoubleSign\x12n\n\x17slash_fraction_downtime\x18\x05 \x01(\x0c\x42\x36\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x15slashFractionDowntime:!\x8a\xe7\xb0*\x1c\x63osmos-sdk/x/slashing/ParamsB\xdd\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\rSlashingProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.slashing.v1beta1.slashing_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.slashing_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.cosmos.slashing.v1beta1B\rSlashingProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1\250\342\036\001" - ) - _globals["_VALIDATORSIGNINGINFO"].fields_by_name["address"]._loaded_options = None - _globals["_VALIDATORSIGNINGINFO"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\035cosmos.ConsensusAddressString" - _globals["_VALIDATORSIGNINGINFO"].fields_by_name["jailed_until"]._loaded_options = None - _globals["_VALIDATORSIGNINGINFO"].fields_by_name[ - "jailed_until" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_VALIDATORSIGNINGINFO"]._loaded_options = None - _globals["_VALIDATORSIGNINGINFO"]._serialized_options = b"\350\240\037\001" - _globals["_PARAMS"].fields_by_name["min_signed_per_window"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "min_signed_per_window" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_PARAMS"].fields_by_name["downtime_jail_duration"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "downtime_jail_duration" - ]._serialized_options = b"\310\336\037\000\230\337\037\001\250\347\260*\001" - _globals["_PARAMS"].fields_by_name["slash_fraction_double_sign"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "slash_fraction_double_sign" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_PARAMS"].fields_by_name["slash_fraction_downtime"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "slash_fraction_downtime" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_PARAMS"]._loaded_options = None - _globals["_PARAMS"]._serialized_options = b"\212\347\260*\034cosmos-sdk/x/slashing/Params" - _globals["_VALIDATORSIGNINGINFO"]._serialized_start = 201 - _globals["_VALIDATORSIGNINGINFO"]._serialized_end = 522 - _globals["_PARAMS"]._serialized_start = 525 - _globals["_PARAMS"]._serialized_end = 1050 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.slashing.v1beta1B\rSlashingProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1\250\342\036\001' + _globals['_VALIDATORSIGNINGINFO'].fields_by_name['address']._loaded_options = None + _globals['_VALIDATORSIGNINGINFO'].fields_by_name['address']._serialized_options = b'\322\264-\035cosmos.ConsensusAddressString' + _globals['_VALIDATORSIGNINGINFO'].fields_by_name['jailed_until']._loaded_options = None + _globals['_VALIDATORSIGNINGINFO'].fields_by_name['jailed_until']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_VALIDATORSIGNINGINFO']._loaded_options = None + _globals['_VALIDATORSIGNINGINFO']._serialized_options = b'\350\240\037\001' + _globals['_PARAMS'].fields_by_name['min_signed_per_window']._loaded_options = None + _globals['_PARAMS'].fields_by_name['min_signed_per_window']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['downtime_jail_duration']._loaded_options = None + _globals['_PARAMS'].fields_by_name['downtime_jail_duration']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['slash_fraction_double_sign']._loaded_options = None + _globals['_PARAMS'].fields_by_name['slash_fraction_double_sign']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['slash_fraction_downtime']._loaded_options = None + _globals['_PARAMS'].fields_by_name['slash_fraction_downtime']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\212\347\260*\034cosmos-sdk/x/slashing/Params' + _globals['_VALIDATORSIGNINGINFO']._serialized_start=201 + _globals['_VALIDATORSIGNINGINFO']._serialized_end=522 + _globals['_PARAMS']._serialized_start=525 + _globals['_PARAMS']._serialized_end=1050 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2_grpc.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/slashing_pb2_grpc.py @@ -1,3 +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/cosmos/slashing/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2.py index 36702ab9..2e825073 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,46 +19,34 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n cosmos/slashing/v1beta1/tx.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xa3\x01\n\tMsgUnjail\x12\x64\n\x0evalidator_addr\x18\x01 \x01(\tB=\xea\xde\x1f\x07\x61\x64\x64ress\xd2\xb4-\x1d\x63osmos.ValidatorAddressString\xa2\xe7\xb0*\x07\x61\x64\x64ress\xa8\xe7\xb0*\x01R\rvalidatorAddr:0\x88\xa0\x1f\x00\x82\xe7\xb0*\x0evalidator_addr\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgUnjail"\x13\n\x11MsgUnjailResponse"\xc7\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x42\n\x06params\x18\x02 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:8\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*%cosmos-sdk/x/slashing/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2\xd2\x01\n\x03Msg\x12X\n\x06Unjail\x12".cosmos.slashing.v1beta1.MsgUnjail\x1a*.cosmos.slashing.v1beta1.MsgUnjailResponse\x12j\n\x0cUpdateParams\x12(.cosmos.slashing.v1beta1.MsgUpdateParams\x1a\x30.cosmos.slashing.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd7\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\x07TxProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/slashing/v1beta1/tx.proto\x12\x17\x63osmos.slashing.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/slashing/v1beta1/slashing.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xa3\x01\n\tMsgUnjail\x12\x64\n\x0evalidator_addr\x18\x01 \x01(\tB=\xea\xde\x1f\x07\x61\x64\x64ress\xd2\xb4-\x1d\x63osmos.ValidatorAddressString\xa2\xe7\xb0*\x07\x61\x64\x64ress\xa8\xe7\xb0*\x01R\rvalidatorAddr:0\x88\xa0\x1f\x00\x82\xe7\xb0*\x0evalidator_addr\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgUnjail\"\x13\n\x11MsgUnjailResponse\"\xc7\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x42\n\x06params\x18\x02 \x01(\x0b\x32\x1f.cosmos.slashing.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:8\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*%cosmos-sdk/x/slashing/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xd2\x01\n\x03Msg\x12X\n\x06Unjail\x12\".cosmos.slashing.v1beta1.MsgUnjail\x1a*.cosmos.slashing.v1beta1.MsgUnjailResponse\x12j\n\x0cUpdateParams\x12(.cosmos.slashing.v1beta1.MsgUpdateParams\x1a\x30.cosmos.slashing.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd7\x01\n\x1b\x63om.cosmos.slashing.v1beta1B\x07TxProtoP\x01Z-github.com/cosmos/cosmos-sdk/x/slashing/types\xa2\x02\x03\x43SX\xaa\x02\x17\x43osmos.Slashing.V1beta1\xca\x02\x17\x43osmos\\Slashing\\V1beta1\xe2\x02#Cosmos\\Slashing\\V1beta1\\GPBMetadata\xea\x02\x19\x43osmos::Slashing::V1beta1\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.slashing.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.cosmos.slashing.v1beta1B\007TxProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1\250\342\036\001" - ) - _globals["_MSGUNJAIL"].fields_by_name["validator_addr"]._loaded_options = None - _globals["_MSGUNJAIL"].fields_by_name[ - "validator_addr" - ]._serialized_options = ( - b"\352\336\037\007address\322\264-\035cosmos.ValidatorAddressString\242\347\260*\007address\250\347\260*\001" - ) - _globals["_MSGUNJAIL"]._loaded_options = None - _globals["_MSGUNJAIL"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\016validator_addr\212\347\260*\024cosmos-sdk/MsgUnjail" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*%cosmos-sdk/x/slashing/MsgUpdateParams" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGUNJAIL"]._serialized_start = 195 - _globals["_MSGUNJAIL"]._serialized_end = 358 - _globals["_MSGUNJAILRESPONSE"]._serialized_start = 360 - _globals["_MSGUNJAILRESPONSE"]._serialized_end = 379 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 382 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 581 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 583 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 608 - _globals["_MSG"]._serialized_start = 611 - _globals["_MSG"]._serialized_end = 821 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cosmos.slashing.v1beta1B\007TxProtoP\001Z-github.com/cosmos/cosmos-sdk/x/slashing/types\242\002\003CSX\252\002\027Cosmos.Slashing.V1beta1\312\002\027Cosmos\\Slashing\\V1beta1\342\002#Cosmos\\Slashing\\V1beta1\\GPBMetadata\352\002\031Cosmos::Slashing::V1beta1\250\342\036\001' + _globals['_MSGUNJAIL'].fields_by_name['validator_addr']._loaded_options = None + _globals['_MSGUNJAIL'].fields_by_name['validator_addr']._serialized_options = b'\352\336\037\007address\322\264-\035cosmos.ValidatorAddressString\242\347\260*\007address\250\347\260*\001' + _globals['_MSGUNJAIL']._loaded_options = None + _globals['_MSGUNJAIL']._serialized_options = b'\210\240\037\000\202\347\260*\016validator_addr\212\347\260*\024cosmos-sdk/MsgUnjail' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*%cosmos-sdk/x/slashing/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGUNJAIL']._serialized_start=195 + _globals['_MSGUNJAIL']._serialized_end=358 + _globals['_MSGUNJAILRESPONSE']._serialized_start=360 + _globals['_MSGUNJAILRESPONSE']._serialized_end=379 + _globals['_MSGUPDATEPARAMS']._serialized_start=382 + _globals['_MSGUPDATEPARAMS']._serialized_end=581 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=583 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=608 + _globals['_MSG']._serialized_start=611 + _globals['_MSG']._serialized_end=821 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2_grpc.py index 3bfe87ee..63fd5cdd 100644 --- a/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/slashing/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the slashing Msg service.""" + """Msg defines the slashing Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,21 +16,20 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Unjail = channel.unary_unary( - "/cosmos.slashing.v1beta1.Msg/Unjail", - request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjail.SerializeToString, - response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjailResponse.FromString, - _registered_method=True, - ) + '/cosmos.slashing.v1beta1.Msg/Unjail', + request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjail.SerializeToString, + response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjailResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( - "/cosmos.slashing.v1beta1.Msg/UpdateParams", - request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.slashing.v1beta1.Msg/UpdateParams', + request_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the slashing Msg service.""" + """Msg defines the slashing Msg service. + """ def Unjail(self, request, context): """Unjail defines a method for unjailing a jailed validator, thus returning @@ -37,8 +37,8 @@ def Unjail(self, request, context): and rewards again. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateParams(self, request, context): """UpdateParams defines a governance operation for updating the x/slashing module @@ -47,49 +47,49 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "Unjail": grpc.unary_unary_rpc_method_handler( - servicer.Unjail, - request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjail.FromString, - response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjailResponse.SerializeToString, - ), - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + 'Unjail': grpc.unary_unary_rpc_method_handler( + servicer.Unjail, + request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjail.FromString, + response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjailResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.slashing.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.slashing.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.slashing.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.slashing.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the slashing Msg service.""" + """Msg defines the slashing Msg service. + """ @staticmethod - def Unjail( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Unjail(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.slashing.v1beta1.Msg/Unjail", + '/cosmos.slashing.v1beta1.Msg/Unjail', cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjail.SerializeToString, cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUnjailResponse.FromString, options, @@ -100,26 +100,23 @@ def Unjail( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.slashing.v1beta1.Msg/UpdateParams", + '/cosmos.slashing.v1beta1.Msg/UpdateParams', cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_slashing_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -130,5 +127,4 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py b/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py index bbebecd1..6abb3c62 100644 --- a/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/staking/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%cosmos/staking/module/v1/module.proto\x12\x18\x63osmos.staking.module.v1\x1a cosmos/app/v1alpha1/module.proto"\xe7\x01\n\x06Module\x12\x1f\n\x0bhooks_order\x18\x01 \x03(\tR\nhooksOrder\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority\x12\x36\n\x17\x62\x65\x63h32_prefix_validator\x18\x03 \x01(\tR\x15\x62\x65\x63h32PrefixValidator\x12\x36\n\x17\x62\x65\x63h32_prefix_consensus\x18\x04 \x01(\tR\x15\x62\x65\x63h32PrefixConsensus:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/stakingB\xae\x01\n\x1c\x63om.cosmos.staking.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43SM\xaa\x02\x18\x43osmos.Staking.Module.V1\xca\x02\x18\x43osmos\\Staking\\Module\\V1\xe2\x02$Cosmos\\Staking\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Staking::Module::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/staking/module/v1/module.proto\x12\x18\x63osmos.staking.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\xe7\x01\n\x06Module\x12\x1f\n\x0bhooks_order\x18\x01 \x03(\tR\nhooksOrder\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority\x12\x36\n\x17\x62\x65\x63h32_prefix_validator\x18\x03 \x01(\tR\x15\x62\x65\x63h32PrefixValidator\x12\x36\n\x17\x62\x65\x63h32_prefix_consensus\x18\x04 \x01(\tR\x15\x62\x65\x63h32PrefixConsensus:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/stakingB\xae\x01\n\x1c\x63om.cosmos.staking.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43SM\xaa\x02\x18\x43osmos.Staking.Module.V1\xca\x02\x18\x43osmos\\Staking\\Module\\V1\xe2\x02$Cosmos\\Staking\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Staking::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.staking.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\034com.cosmos.staking.module.v1B\013ModuleProtoP\001\242\002\003CSM\252\002\030Cosmos.Staking.Module.V1\312\002\030Cosmos\\Staking\\Module\\V1\342\002$Cosmos\\Staking\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Staking::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/staking" - _globals["_MODULE"]._serialized_start = 102 - _globals["_MODULE"]._serialized_end = 333 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.staking.module.v1B\013ModuleProtoP\001\242\002\003CSM\252\002\030Cosmos.Staking.Module.V1\312\002\030Cosmos\\Staking\\Module\\V1\342\002$Cosmos\\Staking\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Staking::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/staking' + _globals['_MODULE']._serialized_start=102 + _globals['_MODULE']._serialized_end=333 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/staking/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/staking/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/staking/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/staking/v1beta1/authz_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2.py index 8881a00a..444597ee 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,42 +18,28 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n"cosmos/staking/v1beta1/authz.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto"\xfa\x04\n\x12StakeAuthorization\x12\x65\n\nmax_tokens\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB+\xaa\xdf\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\tmaxTokens\x12\x84\x01\n\nallow_list\x18\x02 \x01(\x0b\x32\x35.cosmos.staking.v1beta1.StakeAuthorization.ValidatorsB,\xb2\xe7\xb0*\'cosmos-sdk/StakeAuthorization/AllowListH\x00R\tallowList\x12\x81\x01\n\tdeny_list\x18\x03 \x01(\x0b\x32\x35.cosmos.staking.v1beta1.StakeAuthorization.ValidatorsB+\xb2\xe7\xb0*&cosmos-sdk/StakeAuthorization/DenyListH\x00R\x08\x64\x65nyList\x12X\n\x12\x61uthorization_type\x18\x04 \x01(\x0e\x32).cosmos.staking.v1beta1.AuthorizationTypeR\x11\x61uthorizationType\x1a@\n\nValidators\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:H\xca\xb4-"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1d\x63osmos-sdk/StakeAuthorizationB\x0c\n\nvalidators*\xd2\x01\n\x11\x41uthorizationType\x12"\n\x1e\x41UTHORIZATION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x41UTHORIZATION_TYPE_DELEGATE\x10\x01\x12!\n\x1d\x41UTHORIZATION_TYPE_UNDELEGATE\x10\x02\x12!\n\x1d\x41UTHORIZATION_TYPE_REDELEGATE\x10\x03\x12\x32\n.AUTHORIZATION_TYPE_CANCEL_UNBONDING_DELEGATION\x10\x04\x42\xd0\x01\n\x1a\x63om.cosmos.staking.v1beta1B\nAuthzProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/staking/v1beta1/authz.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"\xfa\x04\n\x12StakeAuthorization\x12\x65\n\nmax_tokens\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB+\xaa\xdf\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\tmaxTokens\x12\x84\x01\n\nallow_list\x18\x02 \x01(\x0b\x32\x35.cosmos.staking.v1beta1.StakeAuthorization.ValidatorsB,\xb2\xe7\xb0*\'cosmos-sdk/StakeAuthorization/AllowListH\x00R\tallowList\x12\x81\x01\n\tdeny_list\x18\x03 \x01(\x0b\x32\x35.cosmos.staking.v1beta1.StakeAuthorization.ValidatorsB+\xb2\xe7\xb0*&cosmos-sdk/StakeAuthorization/DenyListH\x00R\x08\x64\x65nyList\x12X\n\x12\x61uthorization_type\x18\x04 \x01(\x0e\x32).cosmos.staking.v1beta1.AuthorizationTypeR\x11\x61uthorizationType\x1a@\n\nValidators\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress:H\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1d\x63osmos-sdk/StakeAuthorizationB\x0c\n\nvalidators*\xd2\x01\n\x11\x41uthorizationType\x12\"\n\x1e\x41UTHORIZATION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x41UTHORIZATION_TYPE_DELEGATE\x10\x01\x12!\n\x1d\x41UTHORIZATION_TYPE_UNDELEGATE\x10\x02\x12!\n\x1d\x41UTHORIZATION_TYPE_REDELEGATE\x10\x03\x12\x32\n.AUTHORIZATION_TYPE_CANCEL_UNBONDING_DELEGATION\x10\x04\x42\xd0\x01\n\x1a\x63om.cosmos.staking.v1beta1B\nAuthzProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.staking.v1beta1.authz_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.authz_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\032com.cosmos.staking.v1beta1B\nAuthzProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' - ) - _globals["_STAKEAUTHORIZATION_VALIDATORS"].fields_by_name["address"]._loaded_options = None - _globals["_STAKEAUTHORIZATION_VALIDATORS"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_STAKEAUTHORIZATION"].fields_by_name["max_tokens"]._loaded_options = None - _globals["_STAKEAUTHORIZATION"].fields_by_name[ - "max_tokens" - ]._serialized_options = b"\252\337\037'github.com/cosmos/cosmos-sdk/types.Coin" - _globals["_STAKEAUTHORIZATION"].fields_by_name["allow_list"]._loaded_options = None - _globals["_STAKEAUTHORIZATION"].fields_by_name[ - "allow_list" - ]._serialized_options = b"\262\347\260*'cosmos-sdk/StakeAuthorization/AllowList" - _globals["_STAKEAUTHORIZATION"].fields_by_name["deny_list"]._loaded_options = None - _globals["_STAKEAUTHORIZATION"].fields_by_name[ - "deny_list" - ]._serialized_options = b"\262\347\260*&cosmos-sdk/StakeAuthorization/DenyList" - _globals["_STAKEAUTHORIZATION"]._loaded_options = None - _globals["_STAKEAUTHORIZATION"]._serialized_options = ( - b'\312\264-"cosmos.authz.v1beta1.Authorization\212\347\260*\035cosmos-sdk/StakeAuthorization' - ) - _globals["_AUTHORIZATIONTYPE"]._serialized_start = 800 - _globals["_AUTHORIZATIONTYPE"]._serialized_end = 1010 - _globals["_STAKEAUTHORIZATION"]._serialized_start = 163 - _globals["_STAKEAUTHORIZATION"]._serialized_end = 797 - _globals["_STAKEAUTHORIZATION_VALIDATORS"]._serialized_start = 645 - _globals["_STAKEAUTHORIZATION_VALIDATORS"]._serialized_end = 709 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\nAuthzProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' + _globals['_STAKEAUTHORIZATION_VALIDATORS'].fields_by_name['address']._loaded_options = None + _globals['_STAKEAUTHORIZATION_VALIDATORS'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_STAKEAUTHORIZATION'].fields_by_name['max_tokens']._loaded_options = None + _globals['_STAKEAUTHORIZATION'].fields_by_name['max_tokens']._serialized_options = b'\252\337\037\'github.com/cosmos/cosmos-sdk/types.Coin' + _globals['_STAKEAUTHORIZATION'].fields_by_name['allow_list']._loaded_options = None + _globals['_STAKEAUTHORIZATION'].fields_by_name['allow_list']._serialized_options = b'\262\347\260*\'cosmos-sdk/StakeAuthorization/AllowList' + _globals['_STAKEAUTHORIZATION'].fields_by_name['deny_list']._loaded_options = None + _globals['_STAKEAUTHORIZATION'].fields_by_name['deny_list']._serialized_options = b'\262\347\260*&cosmos-sdk/StakeAuthorization/DenyList' + _globals['_STAKEAUTHORIZATION']._loaded_options = None + _globals['_STAKEAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\035cosmos-sdk/StakeAuthorization' + _globals['_AUTHORIZATIONTYPE']._serialized_start=800 + _globals['_AUTHORIZATIONTYPE']._serialized_end=1010 + _globals['_STAKEAUTHORIZATION']._serialized_start=163 + _globals['_STAKEAUTHORIZATION']._serialized_end=797 + _globals['_STAKEAUTHORIZATION_VALIDATORS']._serialized_start=645 + _globals['_STAKEAUTHORIZATION_VALIDATORS']._serialized_end=709 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2_grpc.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/authz_pb2_grpc.py @@ -1,3 +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/cosmos/staking/v1beta1/genesis_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2.py index 0202e242..4186446e 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,46 +18,34 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$cosmos/staking/v1beta1/genesis.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\x97\x05\n\x0cGenesisState\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12Z\n\x10last_total_power\x18\x02 \x01(\x0c\x42\x30\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0elastTotalPower\x12i\n\x15last_validator_powers\x18\x03 \x03(\x0b\x32*.cosmos.staking.v1beta1.LastValidatorPowerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13lastValidatorPowers\x12L\n\nvalidators\x18\x04 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12O\n\x0b\x64\x65legations\x18\x05 \x03(\x0b\x32".cosmos.staking.v1beta1.DelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65legations\x12k\n\x15unbonding_delegations\x18\x06 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14unbondingDelegations\x12U\n\rredelegations\x18\x07 \x03(\x0b\x32$.cosmos.staking.v1beta1.RedelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rredelegations\x12\x1a\n\x08\x65xported\x18\x08 \x01(\x08R\x08\x65xported"h\n\x12LastValidatorPower\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05power\x18\x02 \x01(\x03R\x05power:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xd2\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x0cGenesisProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/staking/v1beta1/genesis.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x97\x05\n\x0cGenesisState\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12Z\n\x10last_total_power\x18\x02 \x01(\x0c\x42\x30\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0elastTotalPower\x12i\n\x15last_validator_powers\x18\x03 \x03(\x0b\x32*.cosmos.staking.v1beta1.LastValidatorPowerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13lastValidatorPowers\x12L\n\nvalidators\x18\x04 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12O\n\x0b\x64\x65legations\x18\x05 \x03(\x0b\x32\".cosmos.staking.v1beta1.DelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65legations\x12k\n\x15unbonding_delegations\x18\x06 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x14unbondingDelegations\x12U\n\rredelegations\x18\x07 \x03(\x0b\x32$.cosmos.staking.v1beta1.RedelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rredelegations\x12\x1a\n\x08\x65xported\x18\x08 \x01(\x08R\x08\x65xported\"h\n\x12LastValidatorPower\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x14\n\x05power\x18\x02 \x01(\x03R\x05power:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x42\xd2\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x0cGenesisProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.staking.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\032com.cosmos.staking.v1beta1B\014GenesisProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' - ) - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["last_total_power"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "last_total_power" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001" - ) - _globals["_GENESISSTATE"].fields_by_name["last_validator_powers"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "last_validator_powers" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["validators"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["validators"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["delegations"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["delegations"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["unbonding_delegations"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "unbonding_delegations" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["redelegations"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["redelegations"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_LASTVALIDATORPOWER"].fields_by_name["address"]._loaded_options = None - _globals["_LASTVALIDATORPOWER"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_LASTVALIDATORPOWER"]._loaded_options = None - _globals["_LASTVALIDATORPOWER"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_GENESISSTATE"]._serialized_start = 171 - _globals["_GENESISSTATE"]._serialized_end = 834 - _globals["_LASTVALIDATORPOWER"]._serialized_start = 836 - _globals["_LASTVALIDATORPOWER"]._serialized_end = 940 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\014GenesisProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['last_total_power']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['last_total_power']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['last_validator_powers']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['last_validator_powers']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['validators']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['validators']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['delegations']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['delegations']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['unbonding_delegations']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['unbonding_delegations']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['redelegations']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['redelegations']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_LASTVALIDATORPOWER'].fields_by_name['address']._loaded_options = None + _globals['_LASTVALIDATORPOWER'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_LASTVALIDATORPOWER']._loaded_options = None + _globals['_LASTVALIDATORPOWER']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_GENESISSTATE']._serialized_start=171 + _globals['_GENESISSTATE']._serialized_end=834 + _globals['_LASTVALIDATORPOWER']._serialized_start=836 + _globals['_LASTVALIDATORPOWER']._serialized_end=940 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/genesis_pb2_grpc.py @@ -1,3 +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/cosmos/staking/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/query_pb2.py index 0c501d67..971db76b 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/query_pb2.py @@ -7,15 +7,12 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.staking.v1beta1 import staking_pb2 as cosmos_dot_staking_dot_v1beta1_dot_staking__pb2 @@ -24,260 +21,166 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n"cosmos/staking/v1beta1/query.proto\x12\x16\x63osmos.staking.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x11\x61mino/amino.proto"x\n\x16QueryValidatorsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xb0\x01\n\x17QueryValidatorsResponse\x12L\n\nvalidators\x18\x01 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"a\n\x15QueryValidatorRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr"d\n\x16QueryValidatorResponse\x12J\n\tvalidator\x18\x01 \x01(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tvalidator"\xb4\x01\n QueryValidatorDelegationsRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xed\x01\n!QueryValidatorDelegationsResponse\x12\x7f\n\x14\x64\x65legation_responses\x18\x01 \x03(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseB \xc8\xde\x1f\x00\xaa\xdf\x1f\x13\x44\x65legationResponses\xa8\xe7\xb0*\x01R\x13\x64\x65legationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xbd\x01\n)QueryValidatorUnbondingDelegationsRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xde\x01\n*QueryValidatorUnbondingDelegationsResponse\x12g\n\x13unbonding_responses\x18\x01 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12unbondingResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xad\x01\n\x16QueryDelegationRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"v\n\x17QueryDelegationResponse\x12[\n\x13\x64\x65legation_response\x18\x01 \x01(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseR\x12\x64\x65legationResponse"\xb6\x01\n\x1fQueryUnbondingDelegationRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"r\n QueryUnbondingDelegationResponse\x12N\n\x06unbond\x18\x01 \x01(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06unbond"\xb5\x01\n QueryDelegatorDelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xd6\x01\n!QueryDelegatorDelegationsResponse\x12h\n\x14\x64\x65legation_responses\x18\x01 \x03(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x64\x65legationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xbe\x01\n)QueryDelegatorUnbondingDelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xde\x01\n*QueryDelegatorUnbondingDelegationsResponse\x12g\n\x13unbonding_responses\x18\x01 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12unbondingResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xbe\x02\n\x19QueryRedelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\x12src_validator_addr\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10srcValidatorAddr\x12\x46\n\x12\x64st_validator_addr\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64stValidatorAddr\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xd5\x01\n\x1aQueryRedelegationsResponse\x12n\n\x16redelegation_responses\x18\x01 \x03(\x0b\x32,.cosmos.staking.v1beta1.RedelegationResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15redelegationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xb4\x01\n\x1fQueryDelegatorValidatorsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xb9\x01\n QueryDelegatorValidatorsResponse\x12L\n\nvalidators\x18\x01 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xb5\x01\n\x1eQueryDelegatorValidatorRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"m\n\x1fQueryDelegatorValidatorResponse\x12J\n\tvalidator\x18\x01 \x01(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tvalidator"4\n\x1aQueryHistoricalInfoRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height"Y\n\x1bQueryHistoricalInfoResponse\x12:\n\x04hist\x18\x01 \x01(\x0b\x32&.cosmos.staking.v1beta1.HistoricalInfoR\x04hist"\x12\n\x10QueryPoolRequest"P\n\x11QueryPoolResponse\x12;\n\x04pool\x18\x01 \x01(\x0b\x32\x1c.cosmos.staking.v1beta1.PoolB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04pool"\x14\n\x12QueryParamsRequest"X\n\x13QueryParamsResponse\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params2\xb0\x16\n\x05Query\x12\x9e\x01\n\nValidators\x12..cosmos.staking.v1beta1.QueryValidatorsRequest\x1a/.cosmos.staking.v1beta1.QueryValidatorsResponse"/\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02$\x12"/cosmos/staking/v1beta1/validators\x12\xac\x01\n\tValidator\x12-.cosmos.staking.v1beta1.QueryValidatorRequest\x1a..cosmos.staking.v1beta1.QueryValidatorResponse"@\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/staking/v1beta1/validators/{validator_addr}\x12\xd9\x01\n\x14ValidatorDelegations\x12\x38.cosmos.staking.v1beta1.QueryValidatorDelegationsRequest\x1a\x39.cosmos.staking.v1beta1.QueryValidatorDelegationsResponse"L\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x41\x12?/cosmos/staking/v1beta1/validators/{validator_addr}/delegations\x12\xfe\x01\n\x1dValidatorUnbondingDelegations\x12\x41.cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest\x1a\x42.cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse"V\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02K\x12I/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations\x12\xcc\x01\n\nDelegation\x12..cosmos.staking.v1beta1.QueryDelegationRequest\x1a/.cosmos.staking.v1beta1.QueryDelegationResponse"]\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02R\x12P/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}\x12\xfc\x01\n\x13UnbondingDelegation\x12\x37.cosmos.staking.v1beta1.QueryUnbondingDelegationRequest\x1a\x38.cosmos.staking.v1beta1.QueryUnbondingDelegationResponse"r\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02g\x12\x65/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation\x12\xce\x01\n\x14\x44\x65legatorDelegations\x12\x38.cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest\x1a\x39.cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse"A\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/staking/v1beta1/delegations/{delegator_addr}\x12\xfe\x01\n\x1d\x44\x65legatorUnbondingDelegations\x12\x41.cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest\x1a\x42.cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse"V\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02K\x12I/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations\x12\xc6\x01\n\rRedelegations\x12\x31.cosmos.staking.v1beta1.QueryRedelegationsRequest\x1a\x32.cosmos.staking.v1beta1.QueryRedelegationsResponse"N\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x43\x12\x41/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations\x12\xd5\x01\n\x13\x44\x65legatorValidators\x12\x37.cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest\x1a\x38.cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse"K\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02@\x12>/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators\x12\xe3\x01\n\x12\x44\x65legatorValidator\x12\x36.cosmos.staking.v1beta1.QueryDelegatorValidatorRequest\x1a\x37.cosmos.staking.v1beta1.QueryDelegatorValidatorResponse"\\\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02Q\x12O/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}\x12\xb8\x01\n\x0eHistoricalInfo\x12\x32.cosmos.staking.v1beta1.QueryHistoricalInfoRequest\x1a\x33.cosmos.staking.v1beta1.QueryHistoricalInfoResponse"=\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/staking/v1beta1/historical_info/{height}\x12\x86\x01\n\x04Pool\x12(.cosmos.staking.v1beta1.QueryPoolRequest\x1a).cosmos.staking.v1beta1.QueryPoolResponse")\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1e\x12\x1c/cosmos/staking/v1beta1/pool\x12\x8e\x01\n\x06Params\x12*.cosmos.staking.v1beta1.QueryParamsRequest\x1a+.cosmos.staking.v1beta1.QueryParamsResponse"+\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02 \x12\x1e/cosmos/staking/v1beta1/paramsB\xd0\x01\n\x1a\x63om.cosmos.staking.v1beta1B\nQueryProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/staking/v1beta1/query.proto\x12\x16\x63osmos.staking.v1beta1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x11\x61mino/amino.proto\"x\n\x16QueryValidatorsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb0\x01\n\x17QueryValidatorsResponse\x12L\n\nvalidators\x18\x01 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"a\n\x15QueryValidatorRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr\"d\n\x16QueryValidatorResponse\x12J\n\tvalidator\x18\x01 \x01(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tvalidator\"\xb4\x01\n QueryValidatorDelegationsRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xed\x01\n!QueryValidatorDelegationsResponse\x12\x7f\n\x14\x64\x65legation_responses\x18\x01 \x03(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseB \xc8\xde\x1f\x00\xaa\xdf\x1f\x13\x44\x65legationResponses\xa8\xe7\xb0*\x01R\x13\x64\x65legationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xbd\x01\n)QueryValidatorUnbondingDelegationsRequest\x12H\n\x0evalidator_addr\x18\x01 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xde\x01\n*QueryValidatorUnbondingDelegationsResponse\x12g\n\x13unbonding_responses\x18\x01 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12unbondingResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xad\x01\n\x16QueryDelegationRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"v\n\x17QueryDelegationResponse\x12[\n\x13\x64\x65legation_response\x18\x01 \x01(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseR\x12\x64\x65legationResponse\"\xb6\x01\n\x1fQueryUnbondingDelegationRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"r\n QueryUnbondingDelegationResponse\x12N\n\x06unbond\x18\x01 \x01(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06unbond\"\xb5\x01\n QueryDelegatorDelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd6\x01\n!QueryDelegatorDelegationsResponse\x12h\n\x14\x64\x65legation_responses\x18\x01 \x03(\x0b\x32*.cosmos.staking.v1beta1.DelegationResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x64\x65legationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xbe\x01\n)QueryDelegatorUnbondingDelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xde\x01\n*QueryDelegatorUnbondingDelegationsResponse\x12g\n\x13unbonding_responses\x18\x01 \x03(\x0b\x32+.cosmos.staking.v1beta1.UnbondingDelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x12unbondingResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xbe\x02\n\x19QueryRedelegationsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\x12src_validator_addr\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10srcValidatorAddr\x12\x46\n\x12\x64st_validator_addr\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64stValidatorAddr\x12\x46\n\npagination\x18\x04 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd5\x01\n\x1aQueryRedelegationsResponse\x12n\n\x16redelegation_responses\x18\x01 \x03(\x0b\x32,.cosmos.staking.v1beta1.RedelegationResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15redelegationResponses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xb4\x01\n\x1fQueryDelegatorValidatorsRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb9\x01\n QueryDelegatorValidatorsResponse\x12L\n\nvalidators\x18\x01 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nvalidators\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xb5\x01\n\x1eQueryDelegatorValidatorRequest\x12?\n\x0e\x64\x65legator_addr\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\rdelegatorAddr\x12H\n\x0evalidator_addr\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\rvalidatorAddr:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"m\n\x1fQueryDelegatorValidatorResponse\x12J\n\tvalidator\x18\x01 \x01(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tvalidator\"4\n\x1aQueryHistoricalInfoRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\"Y\n\x1bQueryHistoricalInfoResponse\x12:\n\x04hist\x18\x01 \x01(\x0b\x32&.cosmos.staking.v1beta1.HistoricalInfoR\x04hist\"\x12\n\x10QueryPoolRequest\"P\n\x11QueryPoolResponse\x12;\n\x04pool\x18\x01 \x01(\x0b\x32\x1c.cosmos.staking.v1beta1.PoolB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04pool\"\x14\n\x12QueryParamsRequest\"X\n\x13QueryParamsResponse\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params2\xb0\x16\n\x05Query\x12\x9e\x01\n\nValidators\x12..cosmos.staking.v1beta1.QueryValidatorsRequest\x1a/.cosmos.staking.v1beta1.QueryValidatorsResponse\"/\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02$\x12\"/cosmos/staking/v1beta1/validators\x12\xac\x01\n\tValidator\x12-.cosmos.staking.v1beta1.QueryValidatorRequest\x1a..cosmos.staking.v1beta1.QueryValidatorResponse\"@\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/staking/v1beta1/validators/{validator_addr}\x12\xd9\x01\n\x14ValidatorDelegations\x12\x38.cosmos.staking.v1beta1.QueryValidatorDelegationsRequest\x1a\x39.cosmos.staking.v1beta1.QueryValidatorDelegationsResponse\"L\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x41\x12?/cosmos/staking/v1beta1/validators/{validator_addr}/delegations\x12\xfe\x01\n\x1dValidatorUnbondingDelegations\x12\x41.cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest\x1a\x42.cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse\"V\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02K\x12I/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations\x12\xcc\x01\n\nDelegation\x12..cosmos.staking.v1beta1.QueryDelegationRequest\x1a/.cosmos.staking.v1beta1.QueryDelegationResponse\"]\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02R\x12P/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}\x12\xfc\x01\n\x13UnbondingDelegation\x12\x37.cosmos.staking.v1beta1.QueryUnbondingDelegationRequest\x1a\x38.cosmos.staking.v1beta1.QueryUnbondingDelegationResponse\"r\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02g\x12\x65/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation\x12\xce\x01\n\x14\x44\x65legatorDelegations\x12\x38.cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest\x1a\x39.cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse\"A\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/staking/v1beta1/delegations/{delegator_addr}\x12\xfe\x01\n\x1d\x44\x65legatorUnbondingDelegations\x12\x41.cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest\x1a\x42.cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse\"V\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02K\x12I/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations\x12\xc6\x01\n\rRedelegations\x12\x31.cosmos.staking.v1beta1.QueryRedelegationsRequest\x1a\x32.cosmos.staking.v1beta1.QueryRedelegationsResponse\"N\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x43\x12\x41/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations\x12\xd5\x01\n\x13\x44\x65legatorValidators\x12\x37.cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest\x1a\x38.cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse\"K\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02@\x12>/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators\x12\xe3\x01\n\x12\x44\x65legatorValidator\x12\x36.cosmos.staking.v1beta1.QueryDelegatorValidatorRequest\x1a\x37.cosmos.staking.v1beta1.QueryDelegatorValidatorResponse\"\\\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02Q\x12O/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}\x12\xb8\x01\n\x0eHistoricalInfo\x12\x32.cosmos.staking.v1beta1.QueryHistoricalInfoRequest\x1a\x33.cosmos.staking.v1beta1.QueryHistoricalInfoResponse\"=\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/staking/v1beta1/historical_info/{height}\x12\x86\x01\n\x04Pool\x12(.cosmos.staking.v1beta1.QueryPoolRequest\x1a).cosmos.staking.v1beta1.QueryPoolResponse\")\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02\x1e\x12\x1c/cosmos/staking/v1beta1/pool\x12\x8e\x01\n\x06Params\x12*.cosmos.staking.v1beta1.QueryParamsRequest\x1a+.cosmos.staking.v1beta1.QueryParamsResponse\"+\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02 \x12\x1e/cosmos/staking/v1beta1/paramsB\xd0\x01\n\x1a\x63om.cosmos.staking.v1beta1B\nQueryProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.staking.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\032com.cosmos.staking.v1beta1B\nQueryProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' - ) - _globals["_QUERYVALIDATORSRESPONSE"].fields_by_name["validators"]._loaded_options = None - _globals["_QUERYVALIDATORSRESPONSE"].fields_by_name[ - "validators" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYVALIDATORREQUEST"].fields_by_name["validator_addr"]._loaded_options = None - _globals["_QUERYVALIDATORREQUEST"].fields_by_name[ - "validator_addr" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_QUERYVALIDATORRESPONSE"].fields_by_name["validator"]._loaded_options = None - _globals["_QUERYVALIDATORRESPONSE"].fields_by_name[ - "validator" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYVALIDATORDELEGATIONSREQUEST"].fields_by_name["validator_addr"]._loaded_options = None - _globals["_QUERYVALIDATORDELEGATIONSREQUEST"].fields_by_name[ - "validator_addr" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_QUERYVALIDATORDELEGATIONSRESPONSE"].fields_by_name["delegation_responses"]._loaded_options = None - _globals["_QUERYVALIDATORDELEGATIONSRESPONSE"].fields_by_name[ - "delegation_responses" - ]._serialized_options = b"\310\336\037\000\252\337\037\023DelegationResponses\250\347\260*\001" - _globals["_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST"].fields_by_name["validator_addr"]._loaded_options = None - _globals["_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST"].fields_by_name[ - "validator_addr" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE"].fields_by_name["unbonding_responses"]._loaded_options = None - _globals["_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE"].fields_by_name[ - "unbonding_responses" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYDELEGATIONREQUEST"].fields_by_name["delegator_addr"]._loaded_options = None - _globals["_QUERYDELEGATIONREQUEST"].fields_by_name[ - "delegator_addr" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYDELEGATIONREQUEST"].fields_by_name["validator_addr"]._loaded_options = None - _globals["_QUERYDELEGATIONREQUEST"].fields_by_name[ - "validator_addr" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_QUERYDELEGATIONREQUEST"]._loaded_options = None - _globals["_QUERYDELEGATIONREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYUNBONDINGDELEGATIONREQUEST"].fields_by_name["delegator_addr"]._loaded_options = None - _globals["_QUERYUNBONDINGDELEGATIONREQUEST"].fields_by_name[ - "delegator_addr" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYUNBONDINGDELEGATIONREQUEST"].fields_by_name["validator_addr"]._loaded_options = None - _globals["_QUERYUNBONDINGDELEGATIONREQUEST"].fields_by_name[ - "validator_addr" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_QUERYUNBONDINGDELEGATIONREQUEST"]._loaded_options = None - _globals["_QUERYUNBONDINGDELEGATIONREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYUNBONDINGDELEGATIONRESPONSE"].fields_by_name["unbond"]._loaded_options = None - _globals["_QUERYUNBONDINGDELEGATIONRESPONSE"].fields_by_name[ - "unbond" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYDELEGATORDELEGATIONSREQUEST"].fields_by_name["delegator_addr"]._loaded_options = None - _globals["_QUERYDELEGATORDELEGATIONSREQUEST"].fields_by_name[ - "delegator_addr" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYDELEGATORDELEGATIONSREQUEST"]._loaded_options = None - _globals["_QUERYDELEGATORDELEGATIONSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYDELEGATORDELEGATIONSRESPONSE"].fields_by_name["delegation_responses"]._loaded_options = None - _globals["_QUERYDELEGATORDELEGATIONSRESPONSE"].fields_by_name[ - "delegation_responses" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST"].fields_by_name["delegator_addr"]._loaded_options = None - _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST"].fields_by_name[ - "delegator_addr" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST"]._loaded_options = None - _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE"].fields_by_name["unbonding_responses"]._loaded_options = None - _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE"].fields_by_name[ - "unbonding_responses" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYREDELEGATIONSREQUEST"].fields_by_name["delegator_addr"]._loaded_options = None - _globals["_QUERYREDELEGATIONSREQUEST"].fields_by_name[ - "delegator_addr" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYREDELEGATIONSREQUEST"].fields_by_name["src_validator_addr"]._loaded_options = None - _globals["_QUERYREDELEGATIONSREQUEST"].fields_by_name[ - "src_validator_addr" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYREDELEGATIONSREQUEST"].fields_by_name["dst_validator_addr"]._loaded_options = None - _globals["_QUERYREDELEGATIONSREQUEST"].fields_by_name[ - "dst_validator_addr" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYREDELEGATIONSREQUEST"]._loaded_options = None - _globals["_QUERYREDELEGATIONSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYREDELEGATIONSRESPONSE"].fields_by_name["redelegation_responses"]._loaded_options = None - _globals["_QUERYREDELEGATIONSRESPONSE"].fields_by_name[ - "redelegation_responses" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYDELEGATORVALIDATORSREQUEST"].fields_by_name["delegator_addr"]._loaded_options = None - _globals["_QUERYDELEGATORVALIDATORSREQUEST"].fields_by_name[ - "delegator_addr" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYDELEGATORVALIDATORSREQUEST"]._loaded_options = None - _globals["_QUERYDELEGATORVALIDATORSREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYDELEGATORVALIDATORSRESPONSE"].fields_by_name["validators"]._loaded_options = None - _globals["_QUERYDELEGATORVALIDATORSRESPONSE"].fields_by_name[ - "validators" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYDELEGATORVALIDATORREQUEST"].fields_by_name["delegator_addr"]._loaded_options = None - _globals["_QUERYDELEGATORVALIDATORREQUEST"].fields_by_name[ - "delegator_addr" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYDELEGATORVALIDATORREQUEST"].fields_by_name["validator_addr"]._loaded_options = None - _globals["_QUERYDELEGATORVALIDATORREQUEST"].fields_by_name[ - "validator_addr" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_QUERYDELEGATORVALIDATORREQUEST"]._loaded_options = None - _globals["_QUERYDELEGATORVALIDATORREQUEST"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_QUERYDELEGATORVALIDATORRESPONSE"].fields_by_name["validator"]._loaded_options = None - _globals["_QUERYDELEGATORVALIDATORRESPONSE"].fields_by_name[ - "validator" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYPOOLRESPONSE"].fields_by_name["pool"]._loaded_options = None - _globals["_QUERYPOOLRESPONSE"].fields_by_name["pool"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERY"].methods_by_name["Validators"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Validators" - ]._serialized_options = b'\210\347\260*\001\202\323\344\223\002$\022"/cosmos/staking/v1beta1/validators' - _globals["_QUERY"].methods_by_name["Validator"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Validator" - ]._serialized_options = ( - b"\210\347\260*\001\202\323\344\223\0025\0223/cosmos/staking/v1beta1/validators/{validator_addr}" - ) - _globals["_QUERY"].methods_by_name["ValidatorDelegations"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ValidatorDelegations" - ]._serialized_options = ( - b"\210\347\260*\001\202\323\344\223\002A\022?/cosmos/staking/v1beta1/validators/{validator_addr}/delegations" - ) - _globals["_QUERY"].methods_by_name["ValidatorUnbondingDelegations"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ValidatorUnbondingDelegations" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002K\022I/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations" - _globals["_QUERY"].methods_by_name["Delegation"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Delegation" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002R\022P/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}" - _globals["_QUERY"].methods_by_name["UnbondingDelegation"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "UnbondingDelegation" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002g\022e/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation" - _globals["_QUERY"].methods_by_name["DelegatorDelegations"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DelegatorDelegations" - ]._serialized_options = ( - b"\210\347\260*\001\202\323\344\223\0026\0224/cosmos/staking/v1beta1/delegations/{delegator_addr}" - ) - _globals["_QUERY"].methods_by_name["DelegatorUnbondingDelegations"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DelegatorUnbondingDelegations" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002K\022I/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations" - _globals["_QUERY"].methods_by_name["Redelegations"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Redelegations" - ]._serialized_options = ( - b"\210\347\260*\001\202\323\344\223\002C\022A/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations" - ) - _globals["_QUERY"].methods_by_name["DelegatorValidators"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DelegatorValidators" - ]._serialized_options = ( - b"\210\347\260*\001\202\323\344\223\002@\022>/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators" - ) - _globals["_QUERY"].methods_by_name["DelegatorValidator"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DelegatorValidator" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002Q\022O/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}" - _globals["_QUERY"].methods_by_name["HistoricalInfo"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "HistoricalInfo" - ]._serialized_options = ( - b"\210\347\260*\001\202\323\344\223\0022\0220/cosmos/staking/v1beta1/historical_info/{height}" - ) - _globals["_QUERY"].methods_by_name["Pool"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Pool" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002\036\022\034/cosmos/staking/v1beta1/pool" - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\210\347\260*\001\202\323\344\223\002 \022\036/cosmos/staking/v1beta1/params" - _globals["_QUERYVALIDATORSREQUEST"]._serialized_start = 271 - _globals["_QUERYVALIDATORSREQUEST"]._serialized_end = 391 - _globals["_QUERYVALIDATORSRESPONSE"]._serialized_start = 394 - _globals["_QUERYVALIDATORSRESPONSE"]._serialized_end = 570 - _globals["_QUERYVALIDATORREQUEST"]._serialized_start = 572 - _globals["_QUERYVALIDATORREQUEST"]._serialized_end = 669 - _globals["_QUERYVALIDATORRESPONSE"]._serialized_start = 671 - _globals["_QUERYVALIDATORRESPONSE"]._serialized_end = 771 - _globals["_QUERYVALIDATORDELEGATIONSREQUEST"]._serialized_start = 774 - _globals["_QUERYVALIDATORDELEGATIONSREQUEST"]._serialized_end = 954 - _globals["_QUERYVALIDATORDELEGATIONSRESPONSE"]._serialized_start = 957 - _globals["_QUERYVALIDATORDELEGATIONSRESPONSE"]._serialized_end = 1194 - _globals["_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST"]._serialized_start = 1197 - _globals["_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST"]._serialized_end = 1386 - _globals["_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE"]._serialized_start = 1389 - _globals["_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE"]._serialized_end = 1611 - _globals["_QUERYDELEGATIONREQUEST"]._serialized_start = 1614 - _globals["_QUERYDELEGATIONREQUEST"]._serialized_end = 1787 - _globals["_QUERYDELEGATIONRESPONSE"]._serialized_start = 1789 - _globals["_QUERYDELEGATIONRESPONSE"]._serialized_end = 1907 - _globals["_QUERYUNBONDINGDELEGATIONREQUEST"]._serialized_start = 1910 - _globals["_QUERYUNBONDINGDELEGATIONREQUEST"]._serialized_end = 2092 - _globals["_QUERYUNBONDINGDELEGATIONRESPONSE"]._serialized_start = 2094 - _globals["_QUERYUNBONDINGDELEGATIONRESPONSE"]._serialized_end = 2208 - _globals["_QUERYDELEGATORDELEGATIONSREQUEST"]._serialized_start = 2211 - _globals["_QUERYDELEGATORDELEGATIONSREQUEST"]._serialized_end = 2392 - _globals["_QUERYDELEGATORDELEGATIONSRESPONSE"]._serialized_start = 2395 - _globals["_QUERYDELEGATORDELEGATIONSRESPONSE"]._serialized_end = 2609 - _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST"]._serialized_start = 2612 - _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST"]._serialized_end = 2802 - _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE"]._serialized_start = 2805 - _globals["_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE"]._serialized_end = 3027 - _globals["_QUERYREDELEGATIONSREQUEST"]._serialized_start = 3030 - _globals["_QUERYREDELEGATIONSREQUEST"]._serialized_end = 3348 - _globals["_QUERYREDELEGATIONSRESPONSE"]._serialized_start = 3351 - _globals["_QUERYREDELEGATIONSRESPONSE"]._serialized_end = 3564 - _globals["_QUERYDELEGATORVALIDATORSREQUEST"]._serialized_start = 3567 - _globals["_QUERYDELEGATORVALIDATORSREQUEST"]._serialized_end = 3747 - _globals["_QUERYDELEGATORVALIDATORSRESPONSE"]._serialized_start = 3750 - _globals["_QUERYDELEGATORVALIDATORSRESPONSE"]._serialized_end = 3935 - _globals["_QUERYDELEGATORVALIDATORREQUEST"]._serialized_start = 3938 - _globals["_QUERYDELEGATORVALIDATORREQUEST"]._serialized_end = 4119 - _globals["_QUERYDELEGATORVALIDATORRESPONSE"]._serialized_start = 4121 - _globals["_QUERYDELEGATORVALIDATORRESPONSE"]._serialized_end = 4230 - _globals["_QUERYHISTORICALINFOREQUEST"]._serialized_start = 4232 - _globals["_QUERYHISTORICALINFOREQUEST"]._serialized_end = 4284 - _globals["_QUERYHISTORICALINFORESPONSE"]._serialized_start = 4286 - _globals["_QUERYHISTORICALINFORESPONSE"]._serialized_end = 4375 - _globals["_QUERYPOOLREQUEST"]._serialized_start = 4377 - _globals["_QUERYPOOLREQUEST"]._serialized_end = 4395 - _globals["_QUERYPOOLRESPONSE"]._serialized_start = 4397 - _globals["_QUERYPOOLRESPONSE"]._serialized_end = 4477 - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 4479 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 4499 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 4501 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 4589 - _globals["_QUERY"]._serialized_start = 4592 - _globals["_QUERY"]._serialized_end = 7456 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\nQueryProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' + _globals['_QUERYVALIDATORSRESPONSE'].fields_by_name['validators']._loaded_options = None + _globals['_QUERYVALIDATORSRESPONSE'].fields_by_name['validators']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYVALIDATORREQUEST'].fields_by_name['validator_addr']._loaded_options = None + _globals['_QUERYVALIDATORREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYVALIDATORRESPONSE'].fields_by_name['validator']._loaded_options = None + _globals['_QUERYVALIDATORRESPONSE'].fields_by_name['validator']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYVALIDATORDELEGATIONSREQUEST'].fields_by_name['validator_addr']._loaded_options = None + _globals['_QUERYVALIDATORDELEGATIONSREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYVALIDATORDELEGATIONSRESPONSE'].fields_by_name['delegation_responses']._loaded_options = None + _globals['_QUERYVALIDATORDELEGATIONSRESPONSE'].fields_by_name['delegation_responses']._serialized_options = b'\310\336\037\000\252\337\037\023DelegationResponses\250\347\260*\001' + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST'].fields_by_name['validator_addr']._loaded_options = None + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE'].fields_by_name['unbonding_responses']._loaded_options = None + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE'].fields_by_name['unbonding_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDELEGATIONREQUEST'].fields_by_name['delegator_addr']._loaded_options = None + _globals['_QUERYDELEGATIONREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATIONREQUEST'].fields_by_name['validator_addr']._loaded_options = None + _globals['_QUERYDELEGATIONREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYDELEGATIONREQUEST']._loaded_options = None + _globals['_QUERYDELEGATIONREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYUNBONDINGDELEGATIONREQUEST'].fields_by_name['delegator_addr']._loaded_options = None + _globals['_QUERYUNBONDINGDELEGATIONREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYUNBONDINGDELEGATIONREQUEST'].fields_by_name['validator_addr']._loaded_options = None + _globals['_QUERYUNBONDINGDELEGATIONREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._loaded_options = None + _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYUNBONDINGDELEGATIONRESPONSE'].fields_by_name['unbond']._loaded_options = None + _globals['_QUERYUNBONDINGDELEGATIONRESPONSE'].fields_by_name['unbond']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDELEGATORDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._loaded_options = None + _globals['_QUERYDELEGATORDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._loaded_options = None + _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATORDELEGATIONSRESPONSE'].fields_by_name['delegation_responses']._loaded_options = None + _globals['_QUERYDELEGATORDELEGATIONSRESPONSE'].fields_by_name['delegation_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._loaded_options = None + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._loaded_options = None + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE'].fields_by_name['unbonding_responses']._loaded_options = None + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE'].fields_by_name['unbonding_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._loaded_options = None + _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['src_validator_addr']._loaded_options = None + _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['src_validator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['dst_validator_addr']._loaded_options = None + _globals['_QUERYREDELEGATIONSREQUEST'].fields_by_name['dst_validator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYREDELEGATIONSREQUEST']._loaded_options = None + _globals['_QUERYREDELEGATIONSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYREDELEGATIONSRESPONSE'].fields_by_name['redelegation_responses']._loaded_options = None + _globals['_QUERYREDELEGATIONSRESPONSE'].fields_by_name['redelegation_responses']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDELEGATORVALIDATORSREQUEST'].fields_by_name['delegator_addr']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORSREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATORVALIDATORSRESPONSE'].fields_by_name['validators']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORSRESPONSE'].fields_by_name['validators']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYDELEGATORVALIDATORREQUEST'].fields_by_name['delegator_addr']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORREQUEST'].fields_by_name['delegator_addr']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYDELEGATORVALIDATORREQUEST'].fields_by_name['validator_addr']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORREQUEST'].fields_by_name['validator_addr']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_QUERYDELEGATORVALIDATORREQUEST']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORREQUEST']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_QUERYDELEGATORVALIDATORRESPONSE'].fields_by_name['validator']._loaded_options = None + _globals['_QUERYDELEGATORVALIDATORRESPONSE'].fields_by_name['validator']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYPOOLRESPONSE'].fields_by_name['pool']._loaded_options = None + _globals['_QUERYPOOLRESPONSE'].fields_by_name['pool']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERY'].methods_by_name['Validators']._loaded_options = None + _globals['_QUERY'].methods_by_name['Validators']._serialized_options = b'\210\347\260*\001\202\323\344\223\002$\022\"/cosmos/staking/v1beta1/validators' + _globals['_QUERY'].methods_by_name['Validator']._loaded_options = None + _globals['_QUERY'].methods_by_name['Validator']._serialized_options = b'\210\347\260*\001\202\323\344\223\0025\0223/cosmos/staking/v1beta1/validators/{validator_addr}' + _globals['_QUERY'].methods_by_name['ValidatorDelegations']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValidatorDelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\002A\022?/cosmos/staking/v1beta1/validators/{validator_addr}/delegations' + _globals['_QUERY'].methods_by_name['ValidatorUnbondingDelegations']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValidatorUnbondingDelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\002K\022I/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations' + _globals['_QUERY'].methods_by_name['Delegation']._loaded_options = None + _globals['_QUERY'].methods_by_name['Delegation']._serialized_options = b'\210\347\260*\001\202\323\344\223\002R\022P/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}' + _globals['_QUERY'].methods_by_name['UnbondingDelegation']._loaded_options = None + _globals['_QUERY'].methods_by_name['UnbondingDelegation']._serialized_options = b'\210\347\260*\001\202\323\344\223\002g\022e/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation' + _globals['_QUERY'].methods_by_name['DelegatorDelegations']._loaded_options = None + _globals['_QUERY'].methods_by_name['DelegatorDelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\0026\0224/cosmos/staking/v1beta1/delegations/{delegator_addr}' + _globals['_QUERY'].methods_by_name['DelegatorUnbondingDelegations']._loaded_options = None + _globals['_QUERY'].methods_by_name['DelegatorUnbondingDelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\002K\022I/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations' + _globals['_QUERY'].methods_by_name['Redelegations']._loaded_options = None + _globals['_QUERY'].methods_by_name['Redelegations']._serialized_options = b'\210\347\260*\001\202\323\344\223\002C\022A/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations' + _globals['_QUERY'].methods_by_name['DelegatorValidators']._loaded_options = None + _globals['_QUERY'].methods_by_name['DelegatorValidators']._serialized_options = b'\210\347\260*\001\202\323\344\223\002@\022>/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators' + _globals['_QUERY'].methods_by_name['DelegatorValidator']._loaded_options = None + _globals['_QUERY'].methods_by_name['DelegatorValidator']._serialized_options = b'\210\347\260*\001\202\323\344\223\002Q\022O/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}' + _globals['_QUERY'].methods_by_name['HistoricalInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['HistoricalInfo']._serialized_options = b'\210\347\260*\001\202\323\344\223\0022\0220/cosmos/staking/v1beta1/historical_info/{height}' + _globals['_QUERY'].methods_by_name['Pool']._loaded_options = None + _globals['_QUERY'].methods_by_name['Pool']._serialized_options = b'\210\347\260*\001\202\323\344\223\002\036\022\034/cosmos/staking/v1beta1/pool' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\210\347\260*\001\202\323\344\223\002 \022\036/cosmos/staking/v1beta1/params' + _globals['_QUERYVALIDATORSREQUEST']._serialized_start=271 + _globals['_QUERYVALIDATORSREQUEST']._serialized_end=391 + _globals['_QUERYVALIDATORSRESPONSE']._serialized_start=394 + _globals['_QUERYVALIDATORSRESPONSE']._serialized_end=570 + _globals['_QUERYVALIDATORREQUEST']._serialized_start=572 + _globals['_QUERYVALIDATORREQUEST']._serialized_end=669 + _globals['_QUERYVALIDATORRESPONSE']._serialized_start=671 + _globals['_QUERYVALIDATORRESPONSE']._serialized_end=771 + _globals['_QUERYVALIDATORDELEGATIONSREQUEST']._serialized_start=774 + _globals['_QUERYVALIDATORDELEGATIONSREQUEST']._serialized_end=954 + _globals['_QUERYVALIDATORDELEGATIONSRESPONSE']._serialized_start=957 + _globals['_QUERYVALIDATORDELEGATIONSRESPONSE']._serialized_end=1194 + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST']._serialized_start=1197 + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSREQUEST']._serialized_end=1386 + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE']._serialized_start=1389 + _globals['_QUERYVALIDATORUNBONDINGDELEGATIONSRESPONSE']._serialized_end=1611 + _globals['_QUERYDELEGATIONREQUEST']._serialized_start=1614 + _globals['_QUERYDELEGATIONREQUEST']._serialized_end=1787 + _globals['_QUERYDELEGATIONRESPONSE']._serialized_start=1789 + _globals['_QUERYDELEGATIONRESPONSE']._serialized_end=1907 + _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._serialized_start=1910 + _globals['_QUERYUNBONDINGDELEGATIONREQUEST']._serialized_end=2092 + _globals['_QUERYUNBONDINGDELEGATIONRESPONSE']._serialized_start=2094 + _globals['_QUERYUNBONDINGDELEGATIONRESPONSE']._serialized_end=2208 + _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._serialized_start=2211 + _globals['_QUERYDELEGATORDELEGATIONSREQUEST']._serialized_end=2392 + _globals['_QUERYDELEGATORDELEGATIONSRESPONSE']._serialized_start=2395 + _globals['_QUERYDELEGATORDELEGATIONSRESPONSE']._serialized_end=2609 + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._serialized_start=2612 + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSREQUEST']._serialized_end=2802 + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE']._serialized_start=2805 + _globals['_QUERYDELEGATORUNBONDINGDELEGATIONSRESPONSE']._serialized_end=3027 + _globals['_QUERYREDELEGATIONSREQUEST']._serialized_start=3030 + _globals['_QUERYREDELEGATIONSREQUEST']._serialized_end=3348 + _globals['_QUERYREDELEGATIONSRESPONSE']._serialized_start=3351 + _globals['_QUERYREDELEGATIONSRESPONSE']._serialized_end=3564 + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_start=3567 + _globals['_QUERYDELEGATORVALIDATORSREQUEST']._serialized_end=3747 + _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_start=3750 + _globals['_QUERYDELEGATORVALIDATORSRESPONSE']._serialized_end=3935 + _globals['_QUERYDELEGATORVALIDATORREQUEST']._serialized_start=3938 + _globals['_QUERYDELEGATORVALIDATORREQUEST']._serialized_end=4119 + _globals['_QUERYDELEGATORVALIDATORRESPONSE']._serialized_start=4121 + _globals['_QUERYDELEGATORVALIDATORRESPONSE']._serialized_end=4230 + _globals['_QUERYHISTORICALINFOREQUEST']._serialized_start=4232 + _globals['_QUERYHISTORICALINFOREQUEST']._serialized_end=4284 + _globals['_QUERYHISTORICALINFORESPONSE']._serialized_start=4286 + _globals['_QUERYHISTORICALINFORESPONSE']._serialized_end=4375 + _globals['_QUERYPOOLREQUEST']._serialized_start=4377 + _globals['_QUERYPOOLREQUEST']._serialized_end=4395 + _globals['_QUERYPOOLRESPONSE']._serialized_start=4397 + _globals['_QUERYPOOLRESPONSE']._serialized_end=4477 + _globals['_QUERYPARAMSREQUEST']._serialized_start=4479 + _globals['_QUERYPARAMSREQUEST']._serialized_end=4499 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=4501 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=4589 + _globals['_QUERY']._serialized_start=4592 + _globals['_QUERY']._serialized_end=7456 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/query_pb2_grpc.py index 4b0a54f7..9ed468d7 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -15,93 +16,80 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Validators = channel.unary_unary( - "/cosmos.staking.v1beta1.Query/Validators", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Query/Validators', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsResponse.FromString, + _registered_method=True) self.Validator = channel.unary_unary( - "/cosmos.staking.v1beta1.Query/Validator", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Query/Validator', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorResponse.FromString, + _registered_method=True) self.ValidatorDelegations = channel.unary_unary( - "/cosmos.staking.v1beta1.Query/ValidatorDelegations", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Query/ValidatorDelegations', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsResponse.FromString, + _registered_method=True) self.ValidatorUnbondingDelegations = channel.unary_unary( - "/cosmos.staking.v1beta1.Query/ValidatorUnbondingDelegations", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Query/ValidatorUnbondingDelegations', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsResponse.FromString, + _registered_method=True) self.Delegation = channel.unary_unary( - "/cosmos.staking.v1beta1.Query/Delegation", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Query/Delegation', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationResponse.FromString, + _registered_method=True) self.UnbondingDelegation = channel.unary_unary( - "/cosmos.staking.v1beta1.Query/UnbondingDelegation", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Query/UnbondingDelegation', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationResponse.FromString, + _registered_method=True) self.DelegatorDelegations = channel.unary_unary( - "/cosmos.staking.v1beta1.Query/DelegatorDelegations", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Query/DelegatorDelegations', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsResponse.FromString, + _registered_method=True) self.DelegatorUnbondingDelegations = channel.unary_unary( - "/cosmos.staking.v1beta1.Query/DelegatorUnbondingDelegations", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Query/DelegatorUnbondingDelegations', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsResponse.FromString, + _registered_method=True) self.Redelegations = channel.unary_unary( - "/cosmos.staking.v1beta1.Query/Redelegations", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Query/Redelegations', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsResponse.FromString, + _registered_method=True) self.DelegatorValidators = channel.unary_unary( - "/cosmos.staking.v1beta1.Query/DelegatorValidators", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Query/DelegatorValidators', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, + _registered_method=True) self.DelegatorValidator = channel.unary_unary( - "/cosmos.staking.v1beta1.Query/DelegatorValidator", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Query/DelegatorValidator', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorResponse.FromString, + _registered_method=True) self.HistoricalInfo = channel.unary_unary( - "/cosmos.staking.v1beta1.Query/HistoricalInfo", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Query/HistoricalInfo', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoResponse.FromString, + _registered_method=True) self.Pool = channel.unary_unary( - "/cosmos.staking.v1beta1.Query/Pool", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Query/Pool', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolResponse.FromString, + _registered_method=True) self.Params = channel.unary_unary( - "/cosmos.staking.v1beta1.Query/Params", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Query/Params', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def Validators(self, request, context): """Validators queries all validators that match the given status. @@ -110,14 +98,15 @@ def Validators(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Validator(self, request, context): - """Validator queries validator info for given validator address.""" + """Validator queries validator info for given validator address. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ValidatorDelegations(self, request, context): """ValidatorDelegations queries delegate info for given validator. @@ -126,8 +115,8 @@ def ValidatorDelegations(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ValidatorUnbondingDelegations(self, request, context): """ValidatorUnbondingDelegations queries unbonding delegations of a validator. @@ -136,22 +125,23 @@ def ValidatorUnbondingDelegations(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Delegation(self, request, context): - """Delegation queries delegate info for given validator delegator pair.""" + """Delegation queries delegate info for given validator delegator pair. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UnbondingDelegation(self, request, context): """UnbondingDelegation queries unbonding info for given validator delegator pair. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DelegatorDelegations(self, request, context): """DelegatorDelegations queries all delegations of a given delegator address. @@ -160,8 +150,8 @@ def DelegatorDelegations(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DelegatorUnbondingDelegations(self, request, context): """DelegatorUnbondingDelegations queries all unbonding delegations of a given @@ -171,8 +161,8 @@ def DelegatorUnbondingDelegations(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Redelegations(self, request, context): """Redelegations queries redelegations of given address. @@ -181,8 +171,8 @@ def Redelegations(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DelegatorValidators(self, request, context): """DelegatorValidators queries all validators info for given delegator @@ -192,135 +182,138 @@ def DelegatorValidators(self, request, context): gas if the pagination field is incorrectly set. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DelegatorValidator(self, request, context): """DelegatorValidator queries validator info for given delegator validator pair. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def HistoricalInfo(self, request, context): - """HistoricalInfo queries the historical info for given height.""" + """HistoricalInfo queries the historical info for given height. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Pool(self, request, context): - """Pool queries the pool info.""" + """Pool queries the pool info. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Params(self, request, context): - """Parameters queries the staking parameters.""" + """Parameters queries the staking parameters. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Validators": grpc.unary_unary_rpc_method_handler( - servicer.Validators, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsResponse.SerializeToString, - ), - "Validator": grpc.unary_unary_rpc_method_handler( - servicer.Validator, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorResponse.SerializeToString, - ), - "ValidatorDelegations": grpc.unary_unary_rpc_method_handler( - servicer.ValidatorDelegations, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsResponse.SerializeToString, - ), - "ValidatorUnbondingDelegations": grpc.unary_unary_rpc_method_handler( - servicer.ValidatorUnbondingDelegations, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsResponse.SerializeToString, - ), - "Delegation": grpc.unary_unary_rpc_method_handler( - servicer.Delegation, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationResponse.SerializeToString, - ), - "UnbondingDelegation": grpc.unary_unary_rpc_method_handler( - servicer.UnbondingDelegation, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationResponse.SerializeToString, - ), - "DelegatorDelegations": grpc.unary_unary_rpc_method_handler( - servicer.DelegatorDelegations, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsResponse.SerializeToString, - ), - "DelegatorUnbondingDelegations": grpc.unary_unary_rpc_method_handler( - servicer.DelegatorUnbondingDelegations, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsResponse.SerializeToString, - ), - "Redelegations": grpc.unary_unary_rpc_method_handler( - servicer.Redelegations, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsResponse.SerializeToString, - ), - "DelegatorValidators": grpc.unary_unary_rpc_method_handler( - servicer.DelegatorValidators, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.SerializeToString, - ), - "DelegatorValidator": grpc.unary_unary_rpc_method_handler( - servicer.DelegatorValidator, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorResponse.SerializeToString, - ), - "HistoricalInfo": grpc.unary_unary_rpc_method_handler( - servicer.HistoricalInfo, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoResponse.SerializeToString, - ), - "Pool": grpc.unary_unary_rpc_method_handler( - servicer.Pool, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolResponse.SerializeToString, - ), - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), + 'Validators': grpc.unary_unary_rpc_method_handler( + servicer.Validators, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsResponse.SerializeToString, + ), + 'Validator': grpc.unary_unary_rpc_method_handler( + servicer.Validator, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorResponse.SerializeToString, + ), + 'ValidatorDelegations': grpc.unary_unary_rpc_method_handler( + servicer.ValidatorDelegations, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsResponse.SerializeToString, + ), + 'ValidatorUnbondingDelegations': grpc.unary_unary_rpc_method_handler( + servicer.ValidatorUnbondingDelegations, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsResponse.SerializeToString, + ), + 'Delegation': grpc.unary_unary_rpc_method_handler( + servicer.Delegation, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationResponse.SerializeToString, + ), + 'UnbondingDelegation': grpc.unary_unary_rpc_method_handler( + servicer.UnbondingDelegation, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationResponse.SerializeToString, + ), + 'DelegatorDelegations': grpc.unary_unary_rpc_method_handler( + servicer.DelegatorDelegations, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsResponse.SerializeToString, + ), + 'DelegatorUnbondingDelegations': grpc.unary_unary_rpc_method_handler( + servicer.DelegatorUnbondingDelegations, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsResponse.SerializeToString, + ), + 'Redelegations': grpc.unary_unary_rpc_method_handler( + servicer.Redelegations, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsResponse.SerializeToString, + ), + 'DelegatorValidators': grpc.unary_unary_rpc_method_handler( + servicer.DelegatorValidators, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.SerializeToString, + ), + 'DelegatorValidator': grpc.unary_unary_rpc_method_handler( + servicer.DelegatorValidator, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorResponse.SerializeToString, + ), + 'HistoricalInfo': grpc.unary_unary_rpc_method_handler( + servicer.HistoricalInfo, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoResponse.SerializeToString, + ), + 'Pool': grpc.unary_unary_rpc_method_handler( + servicer.Pool, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolResponse.SerializeToString, + ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.staking.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.staking.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.staking.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.staking.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ @staticmethod - def Validators( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Validators(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Query/Validators", + '/cosmos.staking.v1beta1.Query/Validators', cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorsResponse.FromString, options, @@ -331,26 +324,23 @@ def Validators( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Validator( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Validator(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Query/Validator", + '/cosmos.staking.v1beta1.Query/Validator', cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorResponse.FromString, options, @@ -361,26 +351,23 @@ def Validator( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ValidatorDelegations( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ValidatorDelegations(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Query/ValidatorDelegations", + '/cosmos.staking.v1beta1.Query/ValidatorDelegations', cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorDelegationsResponse.FromString, options, @@ -391,26 +378,23 @@ def ValidatorDelegations( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ValidatorUnbondingDelegations( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ValidatorUnbondingDelegations(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Query/ValidatorUnbondingDelegations", + '/cosmos.staking.v1beta1.Query/ValidatorUnbondingDelegations', cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryValidatorUnbondingDelegationsResponse.FromString, options, @@ -421,26 +405,23 @@ def ValidatorUnbondingDelegations( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Delegation( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Delegation(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Query/Delegation", + '/cosmos.staking.v1beta1.Query/Delegation', cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegationResponse.FromString, options, @@ -451,26 +432,23 @@ def Delegation( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UnbondingDelegation( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UnbondingDelegation(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Query/UnbondingDelegation", + '/cosmos.staking.v1beta1.Query/UnbondingDelegation', cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryUnbondingDelegationResponse.FromString, options, @@ -481,26 +459,23 @@ def UnbondingDelegation( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DelegatorDelegations( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DelegatorDelegations(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Query/DelegatorDelegations", + '/cosmos.staking.v1beta1.Query/DelegatorDelegations', cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorDelegationsResponse.FromString, options, @@ -511,26 +486,23 @@ def DelegatorDelegations( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DelegatorUnbondingDelegations( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DelegatorUnbondingDelegations(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Query/DelegatorUnbondingDelegations", + '/cosmos.staking.v1beta1.Query/DelegatorUnbondingDelegations', cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorUnbondingDelegationsResponse.FromString, options, @@ -541,26 +513,23 @@ def DelegatorUnbondingDelegations( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Redelegations( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Redelegations(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Query/Redelegations", + '/cosmos.staking.v1beta1.Query/Redelegations', cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryRedelegationsResponse.FromString, options, @@ -571,26 +540,23 @@ def Redelegations( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DelegatorValidators( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DelegatorValidators(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Query/DelegatorValidators", + '/cosmos.staking.v1beta1.Query/DelegatorValidators', cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorsResponse.FromString, options, @@ -601,26 +567,23 @@ def DelegatorValidators( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DelegatorValidator( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DelegatorValidator(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Query/DelegatorValidator", + '/cosmos.staking.v1beta1.Query/DelegatorValidator', cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryDelegatorValidatorResponse.FromString, options, @@ -631,26 +594,23 @@ def DelegatorValidator( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def HistoricalInfo( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def HistoricalInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Query/HistoricalInfo", + '/cosmos.staking.v1beta1.Query/HistoricalInfo', cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryHistoricalInfoResponse.FromString, options, @@ -661,26 +621,23 @@ def HistoricalInfo( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Pool( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Pool(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Query/Pool", + '/cosmos.staking.v1beta1.Query/Pool', cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryPoolResponse.FromString, options, @@ -691,26 +648,23 @@ def Pool( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Query/Params", + '/cosmos.staking.v1beta1.Query/Params', cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -721,5 +675,4 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py index 7fa85151..0183a45a 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2.py @@ -7,7 +7,6 @@ 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() @@ -24,284 +23,200 @@ from pyinjective.proto.tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$cosmos/staking/v1beta1/staking.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\x1a\x1ctendermint/types/types.proto\x1a\x1btendermint/abci/types.proto"\x93\x01\n\x0eHistoricalInfo\x12;\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06header\x12\x44\n\x06valset\x18\x02 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06valset"\x96\x02\n\x0f\x43ommissionRates\x12J\n\x04rate\x18\x01 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x04rate\x12Q\n\x08max_rate\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x07maxRate\x12^\n\x0fmax_change_rate\x18\x03 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\rmaxChangeRate:\x04\xe8\xa0\x1f\x01"\xc1\x01\n\nCommission\x12\x61\n\x10\x63ommission_rates\x18\x01 \x01(\x0b\x32\'.cosmos.staking.v1beta1.CommissionRatesB\r\xc8\xde\x1f\x00\xd0\xde\x1f\x01\xa8\xe7\xb0*\x01R\x0f\x63ommissionRates\x12J\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nupdateTime:\x04\xe8\xa0\x1f\x01"\xa8\x01\n\x0b\x44\x65scription\x12\x18\n\x07moniker\x18\x01 \x01(\tR\x07moniker\x12\x1a\n\x08identity\x18\x02 \x01(\tR\x08identity\x12\x18\n\x07website\x18\x03 \x01(\tR\x07website\x12)\n\x10security_contact\x18\x04 \x01(\tR\x0fsecurityContact\x12\x18\n\x07\x64\x65tails\x18\x05 \x01(\tR\x07\x64\x65tails:\x04\xe8\xa0\x1f\x01"\x8a\x07\n\tValidator\x12\x43\n\x10operator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0foperatorAddress\x12Y\n\x10\x63onsensus_pubkey\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x18\xca\xb4-\x14\x63osmos.crypto.PubKeyR\x0f\x63onsensusPubkey\x12\x16\n\x06jailed\x18\x03 \x01(\x08R\x06jailed\x12:\n\x06status\x18\x04 \x01(\x0e\x32".cosmos.staking.v1beta1.BondStatusR\x06status\x12\x43\n\x06tokens\x18\x05 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x06tokens\x12\\\n\x10\x64\x65legator_shares\x18\x06 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x0f\x64\x65legatorShares\x12P\n\x0b\x64\x65scription\x18\x07 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12)\n\x10unbonding_height\x18\x08 \x01(\x03R\x0funbondingHeight\x12P\n\x0eunbonding_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\runbondingTime\x12M\n\ncommission\x18\n \x01(\x0b\x32".cosmos.staking.v1beta1.CommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission\x12[\n\x13min_self_delegation\x18\x0b \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x11minSelfDelegation\x12<\n\x1bunbonding_on_hold_ref_count\x18\x0c \x01(\x03R\x17unbondingOnHoldRefCount\x12#\n\runbonding_ids\x18\r \x03(\x04R\x0cunbondingIds:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"F\n\x0cValAddresses\x12\x36\n\taddresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\taddresses"\xa9\x01\n\x06\x44VPair\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"J\n\x07\x44VPairs\x12?\n\x05pairs\x18\x01 \x03(\x0b\x32\x1e.cosmos.staking.v1beta1.DVPairB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05pairs"\x8b\x02\n\nDVVTriplet\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"X\n\x0b\x44VVTriplets\x12I\n\x08triplets\x18\x01 \x03(\x0b\x32".cosmos.staking.v1beta1.DVVTripletB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08triplets"\xf8\x01\n\nDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12I\n\x06shares\x18\x03 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x06shares:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x8d\x02\n\x13UnbondingDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12U\n\x07\x65ntries\x18\x03 \x03(\x0b\x32\x30.cosmos.staking.v1beta1.UnbondingDelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x9b\x03\n\x18UnbondingDelegationEntry\x12\'\n\x0f\x63reation_height\x18\x01 \x01(\x03R\x0e\x63reationHeight\x12R\n\x0f\x63ompletion_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12T\n\x0finitial_balance\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x0einitialBalance\x12\x45\n\x07\x62\x61lance\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x62\x61lance\x12!\n\x0cunbonding_id\x18\x05 \x01(\x04R\x0bunbondingId\x12<\n\x1bunbonding_on_hold_ref_count\x18\x06 \x01(\x03R\x17unbondingOnHoldRefCount:\x04\xe8\xa0\x1f\x01"\x9f\x03\n\x11RedelegationEntry\x12\'\n\x0f\x63reation_height\x18\x01 \x01(\x03R\x0e\x63reationHeight\x12R\n\x0f\x63ompletion_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12T\n\x0finitial_balance\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x0einitialBalance\x12P\n\nshares_dst\x18\x04 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\tsharesDst\x12!\n\x0cunbonding_id\x18\x05 \x01(\x04R\x0bunbondingId\x12<\n\x1bunbonding_on_hold_ref_count\x18\x06 \x01(\x03R\x17unbondingOnHoldRefCount:\x04\xe8\xa0\x1f\x01"\xdd\x02\n\x0cRedelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress\x12N\n\x07\x65ntries\x18\x04 \x03(\x0b\x32).cosmos.staking.v1beta1.RedelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x9c\x03\n\x06Params\x12O\n\x0eunbonding_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\runbondingTime\x12%\n\x0emax_validators\x18\x02 \x01(\rR\rmaxValidators\x12\x1f\n\x0bmax_entries\x18\x03 \x01(\rR\nmaxEntries\x12-\n\x12historical_entries\x18\x04 \x01(\rR\x11historicalEntries\x12\x1d\n\nbond_denom\x18\x05 \x01(\tR\tbondDenom\x12\x84\x01\n\x13min_commission_rate\x18\x06 \x01(\tBT\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xf2\xde\x1f\x1ayaml:"min_commission_rate"\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x11minCommissionRate:$\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x1b\x63osmos-sdk/x/staking/Params"\xa9\x01\n\x12\x44\x65legationResponse\x12M\n\ndelegation\x18\x01 \x01(\x0b\x32".cosmos.staking.v1beta1.DelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ndelegation\x12>\n\x07\x62\x61lance\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x62\x61lance:\x04\xe8\xa0\x1f\x00"\xcd\x01\n\x19RedelegationEntryResponse\x12\x63\n\x12redelegation_entry\x18\x01 \x01(\x0b\x32).cosmos.staking.v1beta1.RedelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x11redelegationEntry\x12\x45\n\x07\x62\x61lance\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x62\x61lance:\x04\xe8\xa0\x1f\x01"\xc9\x01\n\x14RedelegationResponse\x12S\n\x0credelegation\x18\x01 \x01(\x0b\x32$.cosmos.staking.v1beta1.RedelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0credelegation\x12V\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x31.cosmos.staking.v1beta1.RedelegationEntryResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x04\xe8\xa0\x1f\x00"\xeb\x01\n\x04Pool\x12q\n\x11not_bonded_tokens\x18\x01 \x01(\tBE\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xea\xde\x1f\x11not_bonded_tokens\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0fnotBondedTokens\x12\x66\n\rbonded_tokens\x18\x02 \x01(\tBA\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xea\xde\x1f\rbonded_tokens\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0c\x62ondedTokens:\x08\xe8\xa0\x1f\x01\xf0\xa0\x1f\x01"Y\n\x10ValidatorUpdates\x12\x45\n\x07updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07updates*\xb6\x01\n\nBondStatus\x12,\n\x17\x42OND_STATUS_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUnspecified\x12&\n\x14\x42OND_STATUS_UNBONDED\x10\x01\x1a\x0c\x8a\x9d \x08Unbonded\x12(\n\x15\x42OND_STATUS_UNBONDING\x10\x02\x1a\r\x8a\x9d \tUnbonding\x12"\n\x12\x42OND_STATUS_BONDED\x10\x03\x1a\n\x8a\x9d \x06\x42onded\x1a\x04\x88\xa3\x1e\x00*]\n\nInfraction\x12\x1a\n\x16INFRACTION_UNSPECIFIED\x10\x00\x12\x1a\n\x16INFRACTION_DOUBLE_SIGN\x10\x01\x12\x17\n\x13INFRACTION_DOWNTIME\x10\x02\x42\xd2\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x0cStakingProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/staking/v1beta1/staking.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\x1a\x1ctendermint/types/types.proto\x1a\x1btendermint/abci/types.proto\"\x93\x01\n\x0eHistoricalInfo\x12;\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06header\x12\x44\n\x06valset\x18\x02 \x03(\x0b\x32!.cosmos.staking.v1beta1.ValidatorB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06valset\"\x96\x02\n\x0f\x43ommissionRates\x12J\n\x04rate\x18\x01 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x04rate\x12Q\n\x08max_rate\x18\x02 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x07maxRate\x12^\n\x0fmax_change_rate\x18\x03 \x01(\tB6\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\rmaxChangeRate:\x04\xe8\xa0\x1f\x01\"\xc1\x01\n\nCommission\x12\x61\n\x10\x63ommission_rates\x18\x01 \x01(\x0b\x32\'.cosmos.staking.v1beta1.CommissionRatesB\r\xc8\xde\x1f\x00\xd0\xde\x1f\x01\xa8\xe7\xb0*\x01R\x0f\x63ommissionRates\x12J\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\nupdateTime:\x04\xe8\xa0\x1f\x01\"\xa8\x01\n\x0b\x44\x65scription\x12\x18\n\x07moniker\x18\x01 \x01(\tR\x07moniker\x12\x1a\n\x08identity\x18\x02 \x01(\tR\x08identity\x12\x18\n\x07website\x18\x03 \x01(\tR\x07website\x12)\n\x10security_contact\x18\x04 \x01(\tR\x0fsecurityContact\x12\x18\n\x07\x64\x65tails\x18\x05 \x01(\tR\x07\x64\x65tails:\x04\xe8\xa0\x1f\x01\"\x8a\x07\n\tValidator\x12\x43\n\x10operator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0foperatorAddress\x12Y\n\x10\x63onsensus_pubkey\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x18\xca\xb4-\x14\x63osmos.crypto.PubKeyR\x0f\x63onsensusPubkey\x12\x16\n\x06jailed\x18\x03 \x01(\x08R\x06jailed\x12:\n\x06status\x18\x04 \x01(\x0e\x32\".cosmos.staking.v1beta1.BondStatusR\x06status\x12\x43\n\x06tokens\x18\x05 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x06tokens\x12\\\n\x10\x64\x65legator_shares\x18\x06 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x0f\x64\x65legatorShares\x12P\n\x0b\x64\x65scription\x18\x07 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12)\n\x10unbonding_height\x18\x08 \x01(\x03R\x0funbondingHeight\x12P\n\x0eunbonding_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\runbondingTime\x12M\n\ncommission\x18\n \x01(\x0b\x32\".cosmos.staking.v1beta1.CommissionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission\x12[\n\x13min_self_delegation\x18\x0b \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x11minSelfDelegation\x12<\n\x1bunbonding_on_hold_ref_count\x18\x0c \x01(\x03R\x17unbondingOnHoldRefCount\x12#\n\runbonding_ids\x18\r \x03(\x04R\x0cunbondingIds:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"F\n\x0cValAddresses\x12\x36\n\taddresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\taddresses\"\xa9\x01\n\x06\x44VPair\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"J\n\x07\x44VPairs\x12?\n\x05pairs\x18\x01 \x03(\x0b\x32\x1e.cosmos.staking.v1beta1.DVPairB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05pairs\"\x8b\x02\n\nDVVTriplet\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"X\n\x0b\x44VVTriplets\x12I\n\x08triplets\x18\x01 \x03(\x0b\x32\".cosmos.staking.v1beta1.DVVTripletB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08triplets\"\xf8\x01\n\nDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12I\n\x06shares\x18\x03 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x06shares:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8d\x02\n\x13UnbondingDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12U\n\x07\x65ntries\x18\x03 \x03(\x0b\x32\x30.cosmos.staking.v1beta1.UnbondingDelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x9b\x03\n\x18UnbondingDelegationEntry\x12\'\n\x0f\x63reation_height\x18\x01 \x01(\x03R\x0e\x63reationHeight\x12R\n\x0f\x63ompletion_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12T\n\x0finitial_balance\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x0einitialBalance\x12\x45\n\x07\x62\x61lance\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x62\x61lance\x12!\n\x0cunbonding_id\x18\x05 \x01(\x04R\x0bunbondingId\x12<\n\x1bunbonding_on_hold_ref_count\x18\x06 \x01(\x03R\x17unbondingOnHoldRefCount:\x04\xe8\xa0\x1f\x01\"\x9f\x03\n\x11RedelegationEntry\x12\'\n\x0f\x63reation_height\x18\x01 \x01(\x03R\x0e\x63reationHeight\x12R\n\x0f\x63ompletion_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12T\n\x0finitial_balance\x18\x03 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x0einitialBalance\x12P\n\nshares_dst\x18\x04 \x01(\tB1\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\tsharesDst\x12!\n\x0cunbonding_id\x18\x05 \x01(\x04R\x0bunbondingId\x12<\n\x1bunbonding_on_hold_ref_count\x18\x06 \x01(\x03R\x17unbondingOnHoldRefCount:\x04\xe8\xa0\x1f\x01\"\xdd\x02\n\x0cRedelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress\x12N\n\x07\x65ntries\x18\x04 \x03(\x0b\x32).cosmos.staking.v1beta1.RedelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x9c\x03\n\x06Params\x12O\n\x0eunbonding_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xc8\xde\x1f\x00\x98\xdf\x1f\x01\xa8\xe7\xb0*\x01R\runbondingTime\x12%\n\x0emax_validators\x18\x02 \x01(\rR\rmaxValidators\x12\x1f\n\x0bmax_entries\x18\x03 \x01(\rR\nmaxEntries\x12-\n\x12historical_entries\x18\x04 \x01(\rR\x11historicalEntries\x12\x1d\n\nbond_denom\x18\x05 \x01(\tR\tbondDenom\x12\x84\x01\n\x13min_commission_rate\x18\x06 \x01(\tBT\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xf2\xde\x1f\x1ayaml:\"min_commission_rate\"\xd2\xb4-\ncosmos.Dec\xa8\xe7\xb0*\x01R\x11minCommissionRate:$\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x1b\x63osmos-sdk/x/staking/Params\"\xa9\x01\n\x12\x44\x65legationResponse\x12M\n\ndelegation\x18\x01 \x01(\x0b\x32\".cosmos.staking.v1beta1.DelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ndelegation\x12>\n\x07\x62\x61lance\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x62\x61lance:\x04\xe8\xa0\x1f\x00\"\xcd\x01\n\x19RedelegationEntryResponse\x12\x63\n\x12redelegation_entry\x18\x01 \x01(\x0b\x32).cosmos.staking.v1beta1.RedelegationEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x11redelegationEntry\x12\x45\n\x07\x62\x61lance\x18\x04 \x01(\tB+\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x07\x62\x61lance:\x04\xe8\xa0\x1f\x01\"\xc9\x01\n\x14RedelegationResponse\x12S\n\x0credelegation\x18\x01 \x01(\x0b\x32$.cosmos.staking.v1beta1.RedelegationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0credelegation\x12V\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x31.cosmos.staking.v1beta1.RedelegationEntryResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries:\x04\xe8\xa0\x1f\x00\"\xeb\x01\n\x04Pool\x12q\n\x11not_bonded_tokens\x18\x01 \x01(\tBE\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xea\xde\x1f\x11not_bonded_tokens\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0fnotBondedTokens\x12\x66\n\rbonded_tokens\x18\x02 \x01(\tBA\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xea\xde\x1f\rbonded_tokens\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x0c\x62ondedTokens:\x08\xe8\xa0\x1f\x01\xf0\xa0\x1f\x01\"Y\n\x10ValidatorUpdates\x12\x45\n\x07updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07updates*\xb6\x01\n\nBondStatus\x12,\n\x17\x42OND_STATUS_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUnspecified\x12&\n\x14\x42OND_STATUS_UNBONDED\x10\x01\x1a\x0c\x8a\x9d \x08Unbonded\x12(\n\x15\x42OND_STATUS_UNBONDING\x10\x02\x1a\r\x8a\x9d \tUnbonding\x12\"\n\x12\x42OND_STATUS_BONDED\x10\x03\x1a\n\x8a\x9d \x06\x42onded\x1a\x04\x88\xa3\x1e\x00*]\n\nInfraction\x12\x1a\n\x16INFRACTION_UNSPECIFIED\x10\x00\x12\x1a\n\x16INFRACTION_DOUBLE_SIGN\x10\x01\x12\x17\n\x13INFRACTION_DOWNTIME\x10\x02\x42\xd2\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x0cStakingProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.staking.v1beta1.staking_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.staking_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\032com.cosmos.staking.v1beta1B\014StakingProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' - ) - _globals["_BONDSTATUS"]._loaded_options = None - _globals["_BONDSTATUS"]._serialized_options = b"\210\243\036\000" - _globals["_BONDSTATUS"].values_by_name["BOND_STATUS_UNSPECIFIED"]._loaded_options = None - _globals["_BONDSTATUS"].values_by_name["BOND_STATUS_UNSPECIFIED"]._serialized_options = b"\212\235 \013Unspecified" - _globals["_BONDSTATUS"].values_by_name["BOND_STATUS_UNBONDED"]._loaded_options = None - _globals["_BONDSTATUS"].values_by_name["BOND_STATUS_UNBONDED"]._serialized_options = b"\212\235 \010Unbonded" - _globals["_BONDSTATUS"].values_by_name["BOND_STATUS_UNBONDING"]._loaded_options = None - _globals["_BONDSTATUS"].values_by_name["BOND_STATUS_UNBONDING"]._serialized_options = b"\212\235 \tUnbonding" - _globals["_BONDSTATUS"].values_by_name["BOND_STATUS_BONDED"]._loaded_options = None - _globals["_BONDSTATUS"].values_by_name["BOND_STATUS_BONDED"]._serialized_options = b"\212\235 \006Bonded" - _globals["_HISTORICALINFO"].fields_by_name["header"]._loaded_options = None - _globals["_HISTORICALINFO"].fields_by_name["header"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_HISTORICALINFO"].fields_by_name["valset"]._loaded_options = None - _globals["_HISTORICALINFO"].fields_by_name["valset"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_COMMISSIONRATES"].fields_by_name["rate"]._loaded_options = None - _globals["_COMMISSIONRATES"].fields_by_name[ - "rate" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_COMMISSIONRATES"].fields_by_name["max_rate"]._loaded_options = None - _globals["_COMMISSIONRATES"].fields_by_name[ - "max_rate" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_COMMISSIONRATES"].fields_by_name["max_change_rate"]._loaded_options = None - _globals["_COMMISSIONRATES"].fields_by_name[ - "max_change_rate" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001" - ) - _globals["_COMMISSIONRATES"]._loaded_options = None - _globals["_COMMISSIONRATES"]._serialized_options = b"\350\240\037\001" - _globals["_COMMISSION"].fields_by_name["commission_rates"]._loaded_options = None - _globals["_COMMISSION"].fields_by_name[ - "commission_rates" - ]._serialized_options = b"\310\336\037\000\320\336\037\001\250\347\260*\001" - _globals["_COMMISSION"].fields_by_name["update_time"]._loaded_options = None - _globals["_COMMISSION"].fields_by_name[ - "update_time" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_COMMISSION"]._loaded_options = None - _globals["_COMMISSION"]._serialized_options = b"\350\240\037\001" - _globals["_DESCRIPTION"]._loaded_options = None - _globals["_DESCRIPTION"]._serialized_options = b"\350\240\037\001" - _globals["_VALIDATOR"].fields_by_name["operator_address"]._loaded_options = None - _globals["_VALIDATOR"].fields_by_name["operator_address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_VALIDATOR"].fields_by_name["consensus_pubkey"]._loaded_options = None - _globals["_VALIDATOR"].fields_by_name["consensus_pubkey"]._serialized_options = b"\312\264-\024cosmos.crypto.PubKey" - _globals["_VALIDATOR"].fields_by_name["tokens"]._loaded_options = None - _globals["_VALIDATOR"].fields_by_name[ - "tokens" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" - _globals["_VALIDATOR"].fields_by_name["delegator_shares"]._loaded_options = None - _globals["_VALIDATOR"].fields_by_name[ - "delegator_shares" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" - _globals["_VALIDATOR"].fields_by_name["description"]._loaded_options = None - _globals["_VALIDATOR"].fields_by_name["description"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_VALIDATOR"].fields_by_name["unbonding_time"]._loaded_options = None - _globals["_VALIDATOR"].fields_by_name[ - "unbonding_time" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_VALIDATOR"].fields_by_name["commission"]._loaded_options = None - _globals["_VALIDATOR"].fields_by_name["commission"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_VALIDATOR"].fields_by_name["min_self_delegation"]._loaded_options = None - _globals["_VALIDATOR"].fields_by_name[ - "min_self_delegation" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" - _globals["_VALIDATOR"]._loaded_options = None - _globals["_VALIDATOR"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_VALADDRESSES"].fields_by_name["addresses"]._loaded_options = None - _globals["_VALADDRESSES"].fields_by_name["addresses"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_DVPAIR"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_DVPAIR"].fields_by_name["delegator_address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_DVPAIR"].fields_by_name["validator_address"]._loaded_options = None - _globals["_DVPAIR"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_DVPAIR"]._loaded_options = None - _globals["_DVPAIR"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_DVPAIRS"].fields_by_name["pairs"]._loaded_options = None - _globals["_DVPAIRS"].fields_by_name["pairs"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_DVVTRIPLET"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_DVVTRIPLET"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_DVVTRIPLET"].fields_by_name["validator_src_address"]._loaded_options = None - _globals["_DVVTRIPLET"].fields_by_name[ - "validator_src_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_DVVTRIPLET"].fields_by_name["validator_dst_address"]._loaded_options = None - _globals["_DVVTRIPLET"].fields_by_name[ - "validator_dst_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_DVVTRIPLET"]._loaded_options = None - _globals["_DVVTRIPLET"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_DVVTRIPLETS"].fields_by_name["triplets"]._loaded_options = None - _globals["_DVVTRIPLETS"].fields_by_name["triplets"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_DELEGATION"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_DELEGATION"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_DELEGATION"].fields_by_name["validator_address"]._loaded_options = None - _globals["_DELEGATION"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_DELEGATION"].fields_by_name["shares"]._loaded_options = None - _globals["_DELEGATION"].fields_by_name[ - "shares" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" - _globals["_DELEGATION"]._loaded_options = None - _globals["_DELEGATION"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_UNBONDINGDELEGATION"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_UNBONDINGDELEGATION"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_UNBONDINGDELEGATION"].fields_by_name["validator_address"]._loaded_options = None - _globals["_UNBONDINGDELEGATION"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_UNBONDINGDELEGATION"].fields_by_name["entries"]._loaded_options = None - _globals["_UNBONDINGDELEGATION"].fields_by_name[ - "entries" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_UNBONDINGDELEGATION"]._loaded_options = None - _globals["_UNBONDINGDELEGATION"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_UNBONDINGDELEGATIONENTRY"].fields_by_name["completion_time"]._loaded_options = None - _globals["_UNBONDINGDELEGATIONENTRY"].fields_by_name[ - "completion_time" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_UNBONDINGDELEGATIONENTRY"].fields_by_name["initial_balance"]._loaded_options = None - _globals["_UNBONDINGDELEGATIONENTRY"].fields_by_name[ - "initial_balance" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" - _globals["_UNBONDINGDELEGATIONENTRY"].fields_by_name["balance"]._loaded_options = None - _globals["_UNBONDINGDELEGATIONENTRY"].fields_by_name[ - "balance" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" - _globals["_UNBONDINGDELEGATIONENTRY"]._loaded_options = None - _globals["_UNBONDINGDELEGATIONENTRY"]._serialized_options = b"\350\240\037\001" - _globals["_REDELEGATIONENTRY"].fields_by_name["completion_time"]._loaded_options = None - _globals["_REDELEGATIONENTRY"].fields_by_name[ - "completion_time" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_REDELEGATIONENTRY"].fields_by_name["initial_balance"]._loaded_options = None - _globals["_REDELEGATIONENTRY"].fields_by_name[ - "initial_balance" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" - _globals["_REDELEGATIONENTRY"].fields_by_name["shares_dst"]._loaded_options = None - _globals["_REDELEGATIONENTRY"].fields_by_name[ - "shares_dst" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" - _globals["_REDELEGATIONENTRY"]._loaded_options = None - _globals["_REDELEGATIONENTRY"]._serialized_options = b"\350\240\037\001" - _globals["_REDELEGATION"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_REDELEGATION"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_REDELEGATION"].fields_by_name["validator_src_address"]._loaded_options = None - _globals["_REDELEGATION"].fields_by_name[ - "validator_src_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_REDELEGATION"].fields_by_name["validator_dst_address"]._loaded_options = None - _globals["_REDELEGATION"].fields_by_name[ - "validator_dst_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_REDELEGATION"].fields_by_name["entries"]._loaded_options = None - _globals["_REDELEGATION"].fields_by_name["entries"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_REDELEGATION"]._loaded_options = None - _globals["_REDELEGATION"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_PARAMS"].fields_by_name["unbonding_time"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "unbonding_time" - ]._serialized_options = b"\310\336\037\000\230\337\037\001\250\347\260*\001" - _globals["_PARAMS"].fields_by_name["min_commission_rate"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "min_commission_rate" - ]._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\362\336\037\032yaml:"min_commission_rate"\322\264-\ncosmos.Dec\250\347\260*\001' - _globals["_PARAMS"]._loaded_options = None - _globals["_PARAMS"]._serialized_options = b"\350\240\037\001\212\347\260*\033cosmos-sdk/x/staking/Params" - _globals["_DELEGATIONRESPONSE"].fields_by_name["delegation"]._loaded_options = None - _globals["_DELEGATIONRESPONSE"].fields_by_name[ - "delegation" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_DELEGATIONRESPONSE"].fields_by_name["balance"]._loaded_options = None - _globals["_DELEGATIONRESPONSE"].fields_by_name["balance"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_DELEGATIONRESPONSE"]._loaded_options = None - _globals["_DELEGATIONRESPONSE"]._serialized_options = b"\350\240\037\000" - _globals["_REDELEGATIONENTRYRESPONSE"].fields_by_name["redelegation_entry"]._loaded_options = None - _globals["_REDELEGATIONENTRYRESPONSE"].fields_by_name[ - "redelegation_entry" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_REDELEGATIONENTRYRESPONSE"].fields_by_name["balance"]._loaded_options = None - _globals["_REDELEGATIONENTRYRESPONSE"].fields_by_name[ - "balance" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" - _globals["_REDELEGATIONENTRYRESPONSE"]._loaded_options = None - _globals["_REDELEGATIONENTRYRESPONSE"]._serialized_options = b"\350\240\037\001" - _globals["_REDELEGATIONRESPONSE"].fields_by_name["redelegation"]._loaded_options = None - _globals["_REDELEGATIONRESPONSE"].fields_by_name[ - "redelegation" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_REDELEGATIONRESPONSE"].fields_by_name["entries"]._loaded_options = None - _globals["_REDELEGATIONRESPONSE"].fields_by_name[ - "entries" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_REDELEGATIONRESPONSE"]._loaded_options = None - _globals["_REDELEGATIONRESPONSE"]._serialized_options = b"\350\240\037\000" - _globals["_POOL"].fields_by_name["not_bonded_tokens"]._loaded_options = None - _globals["_POOL"].fields_by_name[ - "not_bonded_tokens" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\352\336\037\021not_bonded_tokens\322\264-\ncosmos.Int\250\347\260*\001" - _globals["_POOL"].fields_by_name["bonded_tokens"]._loaded_options = None - _globals["_POOL"].fields_by_name[ - "bonded_tokens" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\352\336\037\rbonded_tokens\322\264-\ncosmos.Int\250\347\260*\001" - _globals["_POOL"]._loaded_options = None - _globals["_POOL"]._serialized_options = b"\350\240\037\001\360\240\037\001" - _globals["_VALIDATORUPDATES"].fields_by_name["updates"]._loaded_options = None - _globals["_VALIDATORUPDATES"].fields_by_name["updates"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_BONDSTATUS"]._serialized_start = 5738 - _globals["_BONDSTATUS"]._serialized_end = 5920 - _globals["_INFRACTION"]._serialized_start = 5922 - _globals["_INFRACTION"]._serialized_end = 6015 - _globals["_HISTORICALINFO"]._serialized_start = 316 - _globals["_HISTORICALINFO"]._serialized_end = 463 - _globals["_COMMISSIONRATES"]._serialized_start = 466 - _globals["_COMMISSIONRATES"]._serialized_end = 744 - _globals["_COMMISSION"]._serialized_start = 747 - _globals["_COMMISSION"]._serialized_end = 940 - _globals["_DESCRIPTION"]._serialized_start = 943 - _globals["_DESCRIPTION"]._serialized_end = 1111 - _globals["_VALIDATOR"]._serialized_start = 1114 - _globals["_VALIDATOR"]._serialized_end = 2020 - _globals["_VALADDRESSES"]._serialized_start = 2022 - _globals["_VALADDRESSES"]._serialized_end = 2092 - _globals["_DVPAIR"]._serialized_start = 2095 - _globals["_DVPAIR"]._serialized_end = 2264 - _globals["_DVPAIRS"]._serialized_start = 2266 - _globals["_DVPAIRS"]._serialized_end = 2340 - _globals["_DVVTRIPLET"]._serialized_start = 2343 - _globals["_DVVTRIPLET"]._serialized_end = 2610 - _globals["_DVVTRIPLETS"]._serialized_start = 2612 - _globals["_DVVTRIPLETS"]._serialized_end = 2700 - _globals["_DELEGATION"]._serialized_start = 2703 - _globals["_DELEGATION"]._serialized_end = 2951 - _globals["_UNBONDINGDELEGATION"]._serialized_start = 2954 - _globals["_UNBONDINGDELEGATION"]._serialized_end = 3223 - _globals["_UNBONDINGDELEGATIONENTRY"]._serialized_start = 3226 - _globals["_UNBONDINGDELEGATIONENTRY"]._serialized_end = 3637 - _globals["_REDELEGATIONENTRY"]._serialized_start = 3640 - _globals["_REDELEGATIONENTRY"]._serialized_end = 4055 - _globals["_REDELEGATION"]._serialized_start = 4058 - _globals["_REDELEGATION"]._serialized_end = 4407 - _globals["_PARAMS"]._serialized_start = 4410 - _globals["_PARAMS"]._serialized_end = 4822 - _globals["_DELEGATIONRESPONSE"]._serialized_start = 4825 - _globals["_DELEGATIONRESPONSE"]._serialized_end = 4994 - _globals["_REDELEGATIONENTRYRESPONSE"]._serialized_start = 4997 - _globals["_REDELEGATIONENTRYRESPONSE"]._serialized_end = 5202 - _globals["_REDELEGATIONRESPONSE"]._serialized_start = 5205 - _globals["_REDELEGATIONRESPONSE"]._serialized_end = 5406 - _globals["_POOL"]._serialized_start = 5409 - _globals["_POOL"]._serialized_end = 5644 - _globals["_VALIDATORUPDATES"]._serialized_start = 5646 - _globals["_VALIDATORUPDATES"]._serialized_end = 5735 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\014StakingProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' + _globals['_BONDSTATUS']._loaded_options = None + _globals['_BONDSTATUS']._serialized_options = b'\210\243\036\000' + _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNSPECIFIED"]._loaded_options = None + _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNSPECIFIED"]._serialized_options = b'\212\235 \013Unspecified' + _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNBONDED"]._loaded_options = None + _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNBONDED"]._serialized_options = b'\212\235 \010Unbonded' + _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNBONDING"]._loaded_options = None + _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_UNBONDING"]._serialized_options = b'\212\235 \tUnbonding' + _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_BONDED"]._loaded_options = None + _globals['_BONDSTATUS'].values_by_name["BOND_STATUS_BONDED"]._serialized_options = b'\212\235 \006Bonded' + _globals['_HISTORICALINFO'].fields_by_name['header']._loaded_options = None + _globals['_HISTORICALINFO'].fields_by_name['header']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_HISTORICALINFO'].fields_by_name['valset']._loaded_options = None + _globals['_HISTORICALINFO'].fields_by_name['valset']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_COMMISSIONRATES'].fields_by_name['rate']._loaded_options = None + _globals['_COMMISSIONRATES'].fields_by_name['rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_COMMISSIONRATES'].fields_by_name['max_rate']._loaded_options = None + _globals['_COMMISSIONRATES'].fields_by_name['max_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_COMMISSIONRATES'].fields_by_name['max_change_rate']._loaded_options = None + _globals['_COMMISSIONRATES'].fields_by_name['max_change_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_COMMISSIONRATES']._loaded_options = None + _globals['_COMMISSIONRATES']._serialized_options = b'\350\240\037\001' + _globals['_COMMISSION'].fields_by_name['commission_rates']._loaded_options = None + _globals['_COMMISSION'].fields_by_name['commission_rates']._serialized_options = b'\310\336\037\000\320\336\037\001\250\347\260*\001' + _globals['_COMMISSION'].fields_by_name['update_time']._loaded_options = None + _globals['_COMMISSION'].fields_by_name['update_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_COMMISSION']._loaded_options = None + _globals['_COMMISSION']._serialized_options = b'\350\240\037\001' + _globals['_DESCRIPTION']._loaded_options = None + _globals['_DESCRIPTION']._serialized_options = b'\350\240\037\001' + _globals['_VALIDATOR'].fields_by_name['operator_address']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['operator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_VALIDATOR'].fields_by_name['consensus_pubkey']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['consensus_pubkey']._serialized_options = b'\312\264-\024cosmos.crypto.PubKey' + _globals['_VALIDATOR'].fields_by_name['tokens']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['tokens']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_VALIDATOR'].fields_by_name['delegator_shares']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['delegator_shares']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_VALIDATOR'].fields_by_name['description']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['description']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_VALIDATOR'].fields_by_name['unbonding_time']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['unbonding_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_VALIDATOR'].fields_by_name['commission']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_VALIDATOR'].fields_by_name['min_self_delegation']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['min_self_delegation']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_VALIDATOR']._loaded_options = None + _globals['_VALIDATOR']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_VALADDRESSES'].fields_by_name['addresses']._loaded_options = None + _globals['_VALADDRESSES'].fields_by_name['addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DVPAIR'].fields_by_name['delegator_address']._loaded_options = None + _globals['_DVPAIR'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DVPAIR'].fields_by_name['validator_address']._loaded_options = None + _globals['_DVPAIR'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_DVPAIR']._loaded_options = None + _globals['_DVPAIR']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_DVPAIRS'].fields_by_name['pairs']._loaded_options = None + _globals['_DVPAIRS'].fields_by_name['pairs']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_DVVTRIPLET'].fields_by_name['delegator_address']._loaded_options = None + _globals['_DVVTRIPLET'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DVVTRIPLET'].fields_by_name['validator_src_address']._loaded_options = None + _globals['_DVVTRIPLET'].fields_by_name['validator_src_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_DVVTRIPLET'].fields_by_name['validator_dst_address']._loaded_options = None + _globals['_DVVTRIPLET'].fields_by_name['validator_dst_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_DVVTRIPLET']._loaded_options = None + _globals['_DVVTRIPLET']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_DVVTRIPLETS'].fields_by_name['triplets']._loaded_options = None + _globals['_DVVTRIPLETS'].fields_by_name['triplets']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_DELEGATION'].fields_by_name['delegator_address']._loaded_options = None + _globals['_DELEGATION'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_DELEGATION'].fields_by_name['validator_address']._loaded_options = None + _globals['_DELEGATION'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_DELEGATION'].fields_by_name['shares']._loaded_options = None + _globals['_DELEGATION'].fields_by_name['shares']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_DELEGATION']._loaded_options = None + _globals['_DELEGATION']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_UNBONDINGDELEGATION'].fields_by_name['delegator_address']._loaded_options = None + _globals['_UNBONDINGDELEGATION'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_UNBONDINGDELEGATION'].fields_by_name['validator_address']._loaded_options = None + _globals['_UNBONDINGDELEGATION'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_UNBONDINGDELEGATION'].fields_by_name['entries']._loaded_options = None + _globals['_UNBONDINGDELEGATION'].fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_UNBONDINGDELEGATION']._loaded_options = None + _globals['_UNBONDINGDELEGATION']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['completion_time']._loaded_options = None + _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['initial_balance']._loaded_options = None + _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['initial_balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['balance']._loaded_options = None + _globals['_UNBONDINGDELEGATIONENTRY'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_UNBONDINGDELEGATIONENTRY']._loaded_options = None + _globals['_UNBONDINGDELEGATIONENTRY']._serialized_options = b'\350\240\037\001' + _globals['_REDELEGATIONENTRY'].fields_by_name['completion_time']._loaded_options = None + _globals['_REDELEGATIONENTRY'].fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_REDELEGATIONENTRY'].fields_by_name['initial_balance']._loaded_options = None + _globals['_REDELEGATIONENTRY'].fields_by_name['initial_balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_REDELEGATIONENTRY'].fields_by_name['shares_dst']._loaded_options = None + _globals['_REDELEGATIONENTRY'].fields_by_name['shares_dst']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_REDELEGATIONENTRY']._loaded_options = None + _globals['_REDELEGATIONENTRY']._serialized_options = b'\350\240\037\001' + _globals['_REDELEGATION'].fields_by_name['delegator_address']._loaded_options = None + _globals['_REDELEGATION'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_REDELEGATION'].fields_by_name['validator_src_address']._loaded_options = None + _globals['_REDELEGATION'].fields_by_name['validator_src_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_REDELEGATION'].fields_by_name['validator_dst_address']._loaded_options = None + _globals['_REDELEGATION'].fields_by_name['validator_dst_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_REDELEGATION'].fields_by_name['entries']._loaded_options = None + _globals['_REDELEGATION'].fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_REDELEGATION']._loaded_options = None + _globals['_REDELEGATION']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_PARAMS'].fields_by_name['unbonding_time']._loaded_options = None + _globals['_PARAMS'].fields_by_name['unbonding_time']._serialized_options = b'\310\336\037\000\230\337\037\001\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['min_commission_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['min_commission_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec\362\336\037\032yaml:\"min_commission_rate\"\322\264-\ncosmos.Dec\250\347\260*\001' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\033cosmos-sdk/x/staking/Params' + _globals['_DELEGATIONRESPONSE'].fields_by_name['delegation']._loaded_options = None + _globals['_DELEGATIONRESPONSE'].fields_by_name['delegation']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_DELEGATIONRESPONSE'].fields_by_name['balance']._loaded_options = None + _globals['_DELEGATIONRESPONSE'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_DELEGATIONRESPONSE']._loaded_options = None + _globals['_DELEGATIONRESPONSE']._serialized_options = b'\350\240\037\000' + _globals['_REDELEGATIONENTRYRESPONSE'].fields_by_name['redelegation_entry']._loaded_options = None + _globals['_REDELEGATIONENTRYRESPONSE'].fields_by_name['redelegation_entry']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_REDELEGATIONENTRYRESPONSE'].fields_by_name['balance']._loaded_options = None + _globals['_REDELEGATIONENTRYRESPONSE'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_REDELEGATIONENTRYRESPONSE']._loaded_options = None + _globals['_REDELEGATIONENTRYRESPONSE']._serialized_options = b'\350\240\037\001' + _globals['_REDELEGATIONRESPONSE'].fields_by_name['redelegation']._loaded_options = None + _globals['_REDELEGATIONRESPONSE'].fields_by_name['redelegation']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_REDELEGATIONRESPONSE'].fields_by_name['entries']._loaded_options = None + _globals['_REDELEGATIONRESPONSE'].fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_REDELEGATIONRESPONSE']._loaded_options = None + _globals['_REDELEGATIONRESPONSE']._serialized_options = b'\350\240\037\000' + _globals['_POOL'].fields_by_name['not_bonded_tokens']._loaded_options = None + _globals['_POOL'].fields_by_name['not_bonded_tokens']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\352\336\037\021not_bonded_tokens\322\264-\ncosmos.Int\250\347\260*\001' + _globals['_POOL'].fields_by_name['bonded_tokens']._loaded_options = None + _globals['_POOL'].fields_by_name['bonded_tokens']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\352\336\037\rbonded_tokens\322\264-\ncosmos.Int\250\347\260*\001' + _globals['_POOL']._loaded_options = None + _globals['_POOL']._serialized_options = b'\350\240\037\001\360\240\037\001' + _globals['_VALIDATORUPDATES'].fields_by_name['updates']._loaded_options = None + _globals['_VALIDATORUPDATES'].fields_by_name['updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_BONDSTATUS']._serialized_start=5738 + _globals['_BONDSTATUS']._serialized_end=5920 + _globals['_INFRACTION']._serialized_start=5922 + _globals['_INFRACTION']._serialized_end=6015 + _globals['_HISTORICALINFO']._serialized_start=316 + _globals['_HISTORICALINFO']._serialized_end=463 + _globals['_COMMISSIONRATES']._serialized_start=466 + _globals['_COMMISSIONRATES']._serialized_end=744 + _globals['_COMMISSION']._serialized_start=747 + _globals['_COMMISSION']._serialized_end=940 + _globals['_DESCRIPTION']._serialized_start=943 + _globals['_DESCRIPTION']._serialized_end=1111 + _globals['_VALIDATOR']._serialized_start=1114 + _globals['_VALIDATOR']._serialized_end=2020 + _globals['_VALADDRESSES']._serialized_start=2022 + _globals['_VALADDRESSES']._serialized_end=2092 + _globals['_DVPAIR']._serialized_start=2095 + _globals['_DVPAIR']._serialized_end=2264 + _globals['_DVPAIRS']._serialized_start=2266 + _globals['_DVPAIRS']._serialized_end=2340 + _globals['_DVVTRIPLET']._serialized_start=2343 + _globals['_DVVTRIPLET']._serialized_end=2610 + _globals['_DVVTRIPLETS']._serialized_start=2612 + _globals['_DVVTRIPLETS']._serialized_end=2700 + _globals['_DELEGATION']._serialized_start=2703 + _globals['_DELEGATION']._serialized_end=2951 + _globals['_UNBONDINGDELEGATION']._serialized_start=2954 + _globals['_UNBONDINGDELEGATION']._serialized_end=3223 + _globals['_UNBONDINGDELEGATIONENTRY']._serialized_start=3226 + _globals['_UNBONDINGDELEGATIONENTRY']._serialized_end=3637 + _globals['_REDELEGATIONENTRY']._serialized_start=3640 + _globals['_REDELEGATIONENTRY']._serialized_end=4055 + _globals['_REDELEGATION']._serialized_start=4058 + _globals['_REDELEGATION']._serialized_end=4407 + _globals['_PARAMS']._serialized_start=4410 + _globals['_PARAMS']._serialized_end=4822 + _globals['_DELEGATIONRESPONSE']._serialized_start=4825 + _globals['_DELEGATIONRESPONSE']._serialized_end=4994 + _globals['_REDELEGATIONENTRYRESPONSE']._serialized_start=4997 + _globals['_REDELEGATIONENTRYRESPONSE']._serialized_end=5202 + _globals['_REDELEGATIONRESPONSE']._serialized_start=5205 + _globals['_REDELEGATIONRESPONSE']._serialized_end=5406 + _globals['_POOL']._serialized_start=5409 + _globals['_POOL']._serialized_end=5644 + _globals['_VALIDATORUPDATES']._serialized_start=5646 + _globals['_VALIDATORUPDATES']._serialized_end=5735 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2_grpc.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/staking_pb2_grpc.py @@ -1,3 +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/cosmos/staking/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2.py index 9cfbfcc4..ecf2a7aa 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -23,180 +22,116 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1f\x63osmos/staking/v1beta1/tx.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xfb\x04\n\x12MsgCreateValidator\x12P\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12R\n\ncommission\x18\x02 \x01(\x0b\x32\'.cosmos.staking.v1beta1.CommissionRatesB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission\x12`\n\x13min_self_delegation\x18\x03 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x11minSelfDelegation\x12G\n\x11\x64\x65legator_address\x18\x04 \x01(\tB\x1a\x18\x01\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x05 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x46\n\x06pubkey\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\x18\xca\xb4-\x14\x63osmos.crypto.PubKeyR\x06pubkey\x12:\n\x05value\x18\x07 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05value:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgCreateValidator"\x1c\n\x1aMsgCreateValidatorResponse"\xa5\x03\n\x10MsgEditValidator\x12P\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12V\n\x0f\x63ommission_rate\x18\x03 \x01(\tB-\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x0e\x63ommissionRate\x12W\n\x13min_self_delegation\x18\x04 \x01(\tB\'\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x11minSelfDelegation:>\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgEditValidator"\x1a\n\x18MsgEditValidatorResponse"\x9d\x02\n\x0bMsgDelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgDelegate"\x15\n\x13MsgDelegateResponse"\x89\x03\n\x12MsgBeginRedelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress\x12<\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgBeginRedelegate"p\n\x1aMsgBeginRedelegateResponse\x12R\n\x0f\x63ompletion_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime"\xa1\x02\n\rMsgUndelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x18\x63osmos-sdk/MsgUndelegate"\xa9\x01\n\x15MsgUndelegateResponse\x12R\n\x0f\x63ompletion_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12<\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount"\xe8\x02\n\x1cMsgCancelUnbondingDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\x12\'\n\x0f\x63reation_height\x18\x04 \x01(\x03R\x0e\x63reationHeight:J\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\'cosmos-sdk/MsgCancelUnbondingDelegation"&\n$MsgCancelUnbondingDelegationResponse"\xc5\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x41\n\x06params\x18\x02 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$cosmos-sdk/x/staking/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2\x9d\x06\n\x03Msg\x12q\n\x0f\x43reateValidator\x12*.cosmos.staking.v1beta1.MsgCreateValidator\x1a\x32.cosmos.staking.v1beta1.MsgCreateValidatorResponse\x12k\n\rEditValidator\x12(.cosmos.staking.v1beta1.MsgEditValidator\x1a\x30.cosmos.staking.v1beta1.MsgEditValidatorResponse\x12\\\n\x08\x44\x65legate\x12#.cosmos.staking.v1beta1.MsgDelegate\x1a+.cosmos.staking.v1beta1.MsgDelegateResponse\x12q\n\x0f\x42\x65ginRedelegate\x12*.cosmos.staking.v1beta1.MsgBeginRedelegate\x1a\x32.cosmos.staking.v1beta1.MsgBeginRedelegateResponse\x12\x62\n\nUndelegate\x12%.cosmos.staking.v1beta1.MsgUndelegate\x1a-.cosmos.staking.v1beta1.MsgUndelegateResponse\x12\x8f\x01\n\x19\x43\x61ncelUnbondingDelegation\x12\x34.cosmos.staking.v1beta1.MsgCancelUnbondingDelegation\x1a<.cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse\x12h\n\x0cUpdateParams\x12\'.cosmos.staking.v1beta1.MsgUpdateParams\x1a/.cosmos.staking.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xcd\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x07TxProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/staking/v1beta1/tx.proto\x12\x16\x63osmos.staking.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a$cosmos/staking/v1beta1/staking.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xfb\x04\n\x12MsgCreateValidator\x12P\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12R\n\ncommission\x18\x02 \x01(\x0b\x32\'.cosmos.staking.v1beta1.CommissionRatesB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\ncommission\x12`\n\x13min_self_delegation\x18\x03 \x01(\tB0\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01R\x11minSelfDelegation\x12G\n\x11\x64\x65legator_address\x18\x04 \x01(\tB\x1a\x18\x01\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x05 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12\x46\n\x06pubkey\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\x18\xca\xb4-\x14\x63osmos.crypto.PubKeyR\x06pubkey\x12:\n\x05value\x18\x07 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05value:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgCreateValidator\"\x1c\n\x1aMsgCreateValidatorResponse\"\xa5\x03\n\x10MsgEditValidator\x12P\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32#.cosmos.staking.v1beta1.DescriptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x64\x65scription\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12V\n\x0f\x63ommission_rate\x18\x03 \x01(\tB-\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDec\xd2\xb4-\ncosmos.DecR\x0e\x63ommissionRate\x12W\n\x13min_self_delegation\x18\x04 \x01(\tB\'\xda\xde\x1f\x15\x63osmossdk.io/math.Int\xd2\xb4-\ncosmos.IntR\x11minSelfDelegation:>\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11validator_address\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgEditValidator\"\x1a\n\x18MsgEditValidatorResponse\"\x9d\x02\n\x0bMsgDelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgDelegate\"\x15\n\x13MsgDelegateResponse\"\x89\x03\n\x12MsgBeginRedelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12U\n\x15validator_src_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorSrcAddress\x12U\n\x15validator_dst_address\x18\x03 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x13validatorDstAddress\x12<\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgBeginRedelegate\"p\n\x1aMsgBeginRedelegateResponse\x12R\n\x0f\x63ompletion_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\"\xa1\x02\n\rMsgUndelegate\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\x18\x63osmos-sdk/MsgUndelegate\"\xa9\x01\n\x15MsgUndelegateResponse\x12R\n\x0f\x63ompletion_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x0e\x63ompletionTime\x12<\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\"\xe8\x02\n\x1cMsgCancelUnbondingDelegation\x12\x45\n\x11\x64\x65legator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x10\x64\x65legatorAddress\x12N\n\x11validator_address\x18\x02 \x01(\tB!\xd2\xb4-\x1d\x63osmos.ValidatorAddressStringR\x10validatorAddress\x12<\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06\x61mount\x12\'\n\x0f\x63reation_height\x18\x04 \x01(\x03R\x0e\x63reationHeight:J\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x11\x64\x65legator_address\x8a\xe7\xb0*\'cosmos-sdk/MsgCancelUnbondingDelegation\"&\n$MsgCancelUnbondingDelegationResponse\"\xc5\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x41\n\x06params\x18\x02 \x01(\x0b\x32\x1e.cosmos.staking.v1beta1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$cosmos-sdk/x/staking/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\x9d\x06\n\x03Msg\x12q\n\x0f\x43reateValidator\x12*.cosmos.staking.v1beta1.MsgCreateValidator\x1a\x32.cosmos.staking.v1beta1.MsgCreateValidatorResponse\x12k\n\rEditValidator\x12(.cosmos.staking.v1beta1.MsgEditValidator\x1a\x30.cosmos.staking.v1beta1.MsgEditValidatorResponse\x12\\\n\x08\x44\x65legate\x12#.cosmos.staking.v1beta1.MsgDelegate\x1a+.cosmos.staking.v1beta1.MsgDelegateResponse\x12q\n\x0f\x42\x65ginRedelegate\x12*.cosmos.staking.v1beta1.MsgBeginRedelegate\x1a\x32.cosmos.staking.v1beta1.MsgBeginRedelegateResponse\x12\x62\n\nUndelegate\x12%.cosmos.staking.v1beta1.MsgUndelegate\x1a-.cosmos.staking.v1beta1.MsgUndelegateResponse\x12\x8f\x01\n\x19\x43\x61ncelUnbondingDelegation\x12\x34.cosmos.staking.v1beta1.MsgCancelUnbondingDelegation\x1a<.cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse\x12h\n\x0cUpdateParams\x12\'.cosmos.staking.v1beta1.MsgUpdateParams\x1a/.cosmos.staking.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xcd\x01\n\x1a\x63om.cosmos.staking.v1beta1B\x07TxProtoP\x01Z,github.com/cosmos/cosmos-sdk/x/staking/types\xa2\x02\x03\x43SX\xaa\x02\x16\x43osmos.Staking.V1beta1\xca\x02\x16\x43osmos\\Staking\\V1beta1\xe2\x02\"Cosmos\\Staking\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Staking::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.staking.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\032com.cosmos.staking.v1beta1B\007TxProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' - ) - _globals["_MSGCREATEVALIDATOR"].fields_by_name["description"]._loaded_options = None - _globals["_MSGCREATEVALIDATOR"].fields_by_name[ - "description" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGCREATEVALIDATOR"].fields_by_name["commission"]._loaded_options = None - _globals["_MSGCREATEVALIDATOR"].fields_by_name[ - "commission" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGCREATEVALIDATOR"].fields_by_name["min_self_delegation"]._loaded_options = None - _globals["_MSGCREATEVALIDATOR"].fields_by_name[ - "min_self_delegation" - ]._serialized_options = ( - b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001" - ) - _globals["_MSGCREATEVALIDATOR"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_MSGCREATEVALIDATOR"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\030\001\322\264-\024cosmos.AddressString" - _globals["_MSGCREATEVALIDATOR"].fields_by_name["validator_address"]._loaded_options = None - _globals["_MSGCREATEVALIDATOR"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_MSGCREATEVALIDATOR"].fields_by_name["pubkey"]._loaded_options = None - _globals["_MSGCREATEVALIDATOR"].fields_by_name["pubkey"]._serialized_options = b"\312\264-\024cosmos.crypto.PubKey" - _globals["_MSGCREATEVALIDATOR"].fields_by_name["value"]._loaded_options = None - _globals["_MSGCREATEVALIDATOR"].fields_by_name["value"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGCREATEVALIDATOR"]._loaded_options = None - _globals["_MSGCREATEVALIDATOR"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*\035cosmos-sdk/MsgCreateValidator" - ) - _globals["_MSGEDITVALIDATOR"].fields_by_name["description"]._loaded_options = None - _globals["_MSGEDITVALIDATOR"].fields_by_name[ - "description" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGEDITVALIDATOR"].fields_by_name["validator_address"]._loaded_options = None - _globals["_MSGEDITVALIDATOR"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_MSGEDITVALIDATOR"].fields_by_name["commission_rate"]._loaded_options = None - _globals["_MSGEDITVALIDATOR"].fields_by_name[ - "commission_rate" - ]._serialized_options = b"\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec" - _globals["_MSGEDITVALIDATOR"].fields_by_name["min_self_delegation"]._loaded_options = None - _globals["_MSGEDITVALIDATOR"].fields_by_name[ - "min_self_delegation" - ]._serialized_options = b"\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int" - _globals["_MSGEDITVALIDATOR"]._loaded_options = None - _globals["_MSGEDITVALIDATOR"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*\033cosmos-sdk/MsgEditValidator" - ) - _globals["_MSGDELEGATE"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_MSGDELEGATE"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGDELEGATE"].fields_by_name["validator_address"]._loaded_options = None - _globals["_MSGDELEGATE"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_MSGDELEGATE"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGDELEGATE"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGDELEGATE"]._loaded_options = None - _globals["_MSGDELEGATE"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\026cosmos-sdk/MsgDelegate" - ) - _globals["_MSGBEGINREDELEGATE"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_MSGBEGINREDELEGATE"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGBEGINREDELEGATE"].fields_by_name["validator_src_address"]._loaded_options = None - _globals["_MSGBEGINREDELEGATE"].fields_by_name[ - "validator_src_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_MSGBEGINREDELEGATE"].fields_by_name["validator_dst_address"]._loaded_options = None - _globals["_MSGBEGINREDELEGATE"].fields_by_name[ - "validator_dst_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_MSGBEGINREDELEGATE"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGBEGINREDELEGATE"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGBEGINREDELEGATE"]._loaded_options = None - _globals["_MSGBEGINREDELEGATE"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\035cosmos-sdk/MsgBeginRedelegate" - ) - _globals["_MSGBEGINREDELEGATERESPONSE"].fields_by_name["completion_time"]._loaded_options = None - _globals["_MSGBEGINREDELEGATERESPONSE"].fields_by_name[ - "completion_time" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_MSGUNDELEGATE"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_MSGUNDELEGATE"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUNDELEGATE"].fields_by_name["validator_address"]._loaded_options = None - _globals["_MSGUNDELEGATE"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_MSGUNDELEGATE"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGUNDELEGATE"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGUNDELEGATE"]._loaded_options = None - _globals["_MSGUNDELEGATE"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\030cosmos-sdk/MsgUndelegate" - ) - _globals["_MSGUNDELEGATERESPONSE"].fields_by_name["completion_time"]._loaded_options = None - _globals["_MSGUNDELEGATERESPONSE"].fields_by_name[ - "completion_time" - ]._serialized_options = b"\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_MSGUNDELEGATERESPONSE"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGUNDELEGATERESPONSE"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGCANCELUNBONDINGDELEGATION"].fields_by_name["delegator_address"]._loaded_options = None - _globals["_MSGCANCELUNBONDINGDELEGATION"].fields_by_name[ - "delegator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGCANCELUNBONDINGDELEGATION"].fields_by_name["validator_address"]._loaded_options = None - _globals["_MSGCANCELUNBONDINGDELEGATION"].fields_by_name[ - "validator_address" - ]._serialized_options = b"\322\264-\035cosmos.ValidatorAddressString" - _globals["_MSGCANCELUNBONDINGDELEGATION"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGCANCELUNBONDINGDELEGATION"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGCANCELUNBONDINGDELEGATION"]._loaded_options = None - _globals["_MSGCANCELUNBONDINGDELEGATION"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*'cosmos-sdk/MsgCancelUnbondingDelegation" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*$cosmos-sdk/x/staking/MsgUpdateParams" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGCREATEVALIDATOR"]._serialized_start = 283 - _globals["_MSGCREATEVALIDATOR"]._serialized_end = 918 - _globals["_MSGCREATEVALIDATORRESPONSE"]._serialized_start = 920 - _globals["_MSGCREATEVALIDATORRESPONSE"]._serialized_end = 948 - _globals["_MSGEDITVALIDATOR"]._serialized_start = 951 - _globals["_MSGEDITVALIDATOR"]._serialized_end = 1372 - _globals["_MSGEDITVALIDATORRESPONSE"]._serialized_start = 1374 - _globals["_MSGEDITVALIDATORRESPONSE"]._serialized_end = 1400 - _globals["_MSGDELEGATE"]._serialized_start = 1403 - _globals["_MSGDELEGATE"]._serialized_end = 1688 - _globals["_MSGDELEGATERESPONSE"]._serialized_start = 1690 - _globals["_MSGDELEGATERESPONSE"]._serialized_end = 1711 - _globals["_MSGBEGINREDELEGATE"]._serialized_start = 1714 - _globals["_MSGBEGINREDELEGATE"]._serialized_end = 2107 - _globals["_MSGBEGINREDELEGATERESPONSE"]._serialized_start = 2109 - _globals["_MSGBEGINREDELEGATERESPONSE"]._serialized_end = 2221 - _globals["_MSGUNDELEGATE"]._serialized_start = 2224 - _globals["_MSGUNDELEGATE"]._serialized_end = 2513 - _globals["_MSGUNDELEGATERESPONSE"]._serialized_start = 2516 - _globals["_MSGUNDELEGATERESPONSE"]._serialized_end = 2685 - _globals["_MSGCANCELUNBONDINGDELEGATION"]._serialized_start = 2688 - _globals["_MSGCANCELUNBONDINGDELEGATION"]._serialized_end = 3048 - _globals["_MSGCANCELUNBONDINGDELEGATIONRESPONSE"]._serialized_start = 3050 - _globals["_MSGCANCELUNBONDINGDELEGATIONRESPONSE"]._serialized_end = 3088 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 3091 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 3288 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 3290 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 3315 - _globals["_MSG"]._serialized_start = 3318 - _globals["_MSG"]._serialized_end = 4115 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.staking.v1beta1B\007TxProtoP\001Z,github.com/cosmos/cosmos-sdk/x/staking/types\242\002\003CSX\252\002\026Cosmos.Staking.V1beta1\312\002\026Cosmos\\Staking\\V1beta1\342\002\"Cosmos\\Staking\\V1beta1\\GPBMetadata\352\002\030Cosmos::Staking::V1beta1' + _globals['_MSGCREATEVALIDATOR'].fields_by_name['description']._loaded_options = None + _globals['_MSGCREATEVALIDATOR'].fields_by_name['description']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGCREATEVALIDATOR'].fields_by_name['commission']._loaded_options = None + _globals['_MSGCREATEVALIDATOR'].fields_by_name['commission']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGCREATEVALIDATOR'].fields_by_name['min_self_delegation']._loaded_options = None + _globals['_MSGCREATEVALIDATOR'].fields_by_name['min_self_delegation']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int\250\347\260*\001' + _globals['_MSGCREATEVALIDATOR'].fields_by_name['delegator_address']._loaded_options = None + _globals['_MSGCREATEVALIDATOR'].fields_by_name['delegator_address']._serialized_options = b'\030\001\322\264-\024cosmos.AddressString' + _globals['_MSGCREATEVALIDATOR'].fields_by_name['validator_address']._loaded_options = None + _globals['_MSGCREATEVALIDATOR'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGCREATEVALIDATOR'].fields_by_name['pubkey']._loaded_options = None + _globals['_MSGCREATEVALIDATOR'].fields_by_name['pubkey']._serialized_options = b'\312\264-\024cosmos.crypto.PubKey' + _globals['_MSGCREATEVALIDATOR'].fields_by_name['value']._loaded_options = None + _globals['_MSGCREATEVALIDATOR'].fields_by_name['value']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGCREATEVALIDATOR']._loaded_options = None + _globals['_MSGCREATEVALIDATOR']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*\035cosmos-sdk/MsgCreateValidator' + _globals['_MSGEDITVALIDATOR'].fields_by_name['description']._loaded_options = None + _globals['_MSGEDITVALIDATOR'].fields_by_name['description']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGEDITVALIDATOR'].fields_by_name['validator_address']._loaded_options = None + _globals['_MSGEDITVALIDATOR'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGEDITVALIDATOR'].fields_by_name['commission_rate']._loaded_options = None + _globals['_MSGEDITVALIDATOR'].fields_by_name['commission_rate']._serialized_options = b'\332\336\037\033cosmossdk.io/math.LegacyDec\322\264-\ncosmos.Dec' + _globals['_MSGEDITVALIDATOR'].fields_by_name['min_self_delegation']._loaded_options = None + _globals['_MSGEDITVALIDATOR'].fields_by_name['min_self_delegation']._serialized_options = b'\332\336\037\025cosmossdk.io/math.Int\322\264-\ncosmos.Int' + _globals['_MSGEDITVALIDATOR']._loaded_options = None + _globals['_MSGEDITVALIDATOR']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021validator_address\212\347\260*\033cosmos-sdk/MsgEditValidator' + _globals['_MSGDELEGATE'].fields_by_name['delegator_address']._loaded_options = None + _globals['_MSGDELEGATE'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGDELEGATE'].fields_by_name['validator_address']._loaded_options = None + _globals['_MSGDELEGATE'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGDELEGATE'].fields_by_name['amount']._loaded_options = None + _globals['_MSGDELEGATE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGDELEGATE']._loaded_options = None + _globals['_MSGDELEGATE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\026cosmos-sdk/MsgDelegate' + _globals['_MSGBEGINREDELEGATE'].fields_by_name['delegator_address']._loaded_options = None + _globals['_MSGBEGINREDELEGATE'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGBEGINREDELEGATE'].fields_by_name['validator_src_address']._loaded_options = None + _globals['_MSGBEGINREDELEGATE'].fields_by_name['validator_src_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGBEGINREDELEGATE'].fields_by_name['validator_dst_address']._loaded_options = None + _globals['_MSGBEGINREDELEGATE'].fields_by_name['validator_dst_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGBEGINREDELEGATE'].fields_by_name['amount']._loaded_options = None + _globals['_MSGBEGINREDELEGATE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGBEGINREDELEGATE']._loaded_options = None + _globals['_MSGBEGINREDELEGATE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\035cosmos-sdk/MsgBeginRedelegate' + _globals['_MSGBEGINREDELEGATERESPONSE'].fields_by_name['completion_time']._loaded_options = None + _globals['_MSGBEGINREDELEGATERESPONSE'].fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_MSGUNDELEGATE'].fields_by_name['delegator_address']._loaded_options = None + _globals['_MSGUNDELEGATE'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUNDELEGATE'].fields_by_name['validator_address']._loaded_options = None + _globals['_MSGUNDELEGATE'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGUNDELEGATE'].fields_by_name['amount']._loaded_options = None + _globals['_MSGUNDELEGATE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUNDELEGATE']._loaded_options = None + _globals['_MSGUNDELEGATE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\030cosmos-sdk/MsgUndelegate' + _globals['_MSGUNDELEGATERESPONSE'].fields_by_name['completion_time']._loaded_options = None + _globals['_MSGUNDELEGATERESPONSE'].fields_by_name['completion_time']._serialized_options = b'\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_MSGUNDELEGATERESPONSE'].fields_by_name['amount']._loaded_options = None + _globals['_MSGUNDELEGATERESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['delegator_address']._loaded_options = None + _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['delegator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['validator_address']._loaded_options = None + _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['validator_address']._serialized_options = b'\322\264-\035cosmos.ValidatorAddressString' + _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['amount']._loaded_options = None + _globals['_MSGCANCELUNBONDINGDELEGATION'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGCANCELUNBONDINGDELEGATION']._loaded_options = None + _globals['_MSGCANCELUNBONDINGDELEGATION']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\021delegator_address\212\347\260*\'cosmos-sdk/MsgCancelUnbondingDelegation' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*$cosmos-sdk/x/staking/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGCREATEVALIDATOR']._serialized_start=283 + _globals['_MSGCREATEVALIDATOR']._serialized_end=918 + _globals['_MSGCREATEVALIDATORRESPONSE']._serialized_start=920 + _globals['_MSGCREATEVALIDATORRESPONSE']._serialized_end=948 + _globals['_MSGEDITVALIDATOR']._serialized_start=951 + _globals['_MSGEDITVALIDATOR']._serialized_end=1372 + _globals['_MSGEDITVALIDATORRESPONSE']._serialized_start=1374 + _globals['_MSGEDITVALIDATORRESPONSE']._serialized_end=1400 + _globals['_MSGDELEGATE']._serialized_start=1403 + _globals['_MSGDELEGATE']._serialized_end=1688 + _globals['_MSGDELEGATERESPONSE']._serialized_start=1690 + _globals['_MSGDELEGATERESPONSE']._serialized_end=1711 + _globals['_MSGBEGINREDELEGATE']._serialized_start=1714 + _globals['_MSGBEGINREDELEGATE']._serialized_end=2107 + _globals['_MSGBEGINREDELEGATERESPONSE']._serialized_start=2109 + _globals['_MSGBEGINREDELEGATERESPONSE']._serialized_end=2221 + _globals['_MSGUNDELEGATE']._serialized_start=2224 + _globals['_MSGUNDELEGATE']._serialized_end=2513 + _globals['_MSGUNDELEGATERESPONSE']._serialized_start=2516 + _globals['_MSGUNDELEGATERESPONSE']._serialized_end=2685 + _globals['_MSGCANCELUNBONDINGDELEGATION']._serialized_start=2688 + _globals['_MSGCANCELUNBONDINGDELEGATION']._serialized_end=3048 + _globals['_MSGCANCELUNBONDINGDELEGATIONRESPONSE']._serialized_start=3050 + _globals['_MSGCANCELUNBONDINGDELEGATIONRESPONSE']._serialized_end=3088 + _globals['_MSGUPDATEPARAMS']._serialized_start=3091 + _globals['_MSGUPDATEPARAMS']._serialized_end=3288 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=3290 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=3315 + _globals['_MSG']._serialized_start=3318 + _globals['_MSG']._serialized_end=4115 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2_grpc.py index fbc65aaa..f4113b4b 100644 --- a/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/staking/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the staking Msg service.""" + """Msg defines the staking Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,87 +16,83 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.CreateValidator = channel.unary_unary( - "/cosmos.staking.v1beta1.Msg/CreateValidator", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidator.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidatorResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Msg/CreateValidator', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidator.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidatorResponse.FromString, + _registered_method=True) self.EditValidator = channel.unary_unary( - "/cosmos.staking.v1beta1.Msg/EditValidator", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidator.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidatorResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Msg/EditValidator', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidator.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidatorResponse.FromString, + _registered_method=True) self.Delegate = channel.unary_unary( - "/cosmos.staking.v1beta1.Msg/Delegate", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegate.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegateResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Msg/Delegate', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegate.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegateResponse.FromString, + _registered_method=True) self.BeginRedelegate = channel.unary_unary( - "/cosmos.staking.v1beta1.Msg/BeginRedelegate", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegate.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegateResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Msg/BeginRedelegate', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegate.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegateResponse.FromString, + _registered_method=True) self.Undelegate = channel.unary_unary( - "/cosmos.staking.v1beta1.Msg/Undelegate", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegate.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegateResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Msg/Undelegate', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegate.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegateResponse.FromString, + _registered_method=True) self.CancelUnbondingDelegation = channel.unary_unary( - "/cosmos.staking.v1beta1.Msg/CancelUnbondingDelegation", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegation.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegationResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Msg/CancelUnbondingDelegation', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegation.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegationResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( - "/cosmos.staking.v1beta1.Msg/UpdateParams", - request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/cosmos.staking.v1beta1.Msg/UpdateParams', + request_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the staking Msg service.""" + """Msg defines the staking Msg service. + """ def CreateValidator(self, request, context): - """CreateValidator defines a method for creating a new validator.""" + """CreateValidator defines a method for creating a new validator. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def EditValidator(self, request, context): - """EditValidator defines a method for editing an existing validator.""" + """EditValidator defines a method for editing an existing validator. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Delegate(self, request, context): """Delegate defines a method for performing a delegation of coins from a delegator to a validator. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def BeginRedelegate(self, request, context): """BeginRedelegate defines a method for performing a redelegation of coins from a delegator and source validator to a destination validator. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Undelegate(self, request, context): """Undelegate defines a method for performing an undelegation from a delegate and a validator. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CancelUnbondingDelegation(self, request, context): """CancelUnbondingDelegation defines a method for performing canceling the unbonding delegation @@ -104,8 +101,8 @@ def CancelUnbondingDelegation(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateParams(self, request, context): """UpdateParams defines an operation for updating the x/staking module @@ -113,74 +110,74 @@ def UpdateParams(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "CreateValidator": grpc.unary_unary_rpc_method_handler( - servicer.CreateValidator, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidator.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidatorResponse.SerializeToString, - ), - "EditValidator": grpc.unary_unary_rpc_method_handler( - servicer.EditValidator, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidator.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidatorResponse.SerializeToString, - ), - "Delegate": grpc.unary_unary_rpc_method_handler( - servicer.Delegate, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegate.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegateResponse.SerializeToString, - ), - "BeginRedelegate": grpc.unary_unary_rpc_method_handler( - servicer.BeginRedelegate, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegate.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegateResponse.SerializeToString, - ), - "Undelegate": grpc.unary_unary_rpc_method_handler( - servicer.Undelegate, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegate.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegateResponse.SerializeToString, - ), - "CancelUnbondingDelegation": grpc.unary_unary_rpc_method_handler( - servicer.CancelUnbondingDelegation, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegation.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegationResponse.SerializeToString, - ), - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + 'CreateValidator': grpc.unary_unary_rpc_method_handler( + servicer.CreateValidator, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidator.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidatorResponse.SerializeToString, + ), + 'EditValidator': grpc.unary_unary_rpc_method_handler( + servicer.EditValidator, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidator.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidatorResponse.SerializeToString, + ), + 'Delegate': grpc.unary_unary_rpc_method_handler( + servicer.Delegate, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegate.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegateResponse.SerializeToString, + ), + 'BeginRedelegate': grpc.unary_unary_rpc_method_handler( + servicer.BeginRedelegate, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegate.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegateResponse.SerializeToString, + ), + 'Undelegate': grpc.unary_unary_rpc_method_handler( + servicer.Undelegate, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegate.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegateResponse.SerializeToString, + ), + 'CancelUnbondingDelegation': grpc.unary_unary_rpc_method_handler( + servicer.CancelUnbondingDelegation, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegation.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegationResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.staking.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.staking.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.staking.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.staking.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the staking Msg service.""" + """Msg defines the staking Msg service. + """ @staticmethod - def CreateValidator( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreateValidator(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Msg/CreateValidator", + '/cosmos.staking.v1beta1.Msg/CreateValidator', cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidator.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCreateValidatorResponse.FromString, options, @@ -191,26 +188,23 @@ def CreateValidator( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def EditValidator( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def EditValidator(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Msg/EditValidator", + '/cosmos.staking.v1beta1.Msg/EditValidator', cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidator.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgEditValidatorResponse.FromString, options, @@ -221,26 +215,23 @@ def EditValidator( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Delegate( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Delegate(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Msg/Delegate", + '/cosmos.staking.v1beta1.Msg/Delegate', cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegate.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgDelegateResponse.FromString, options, @@ -251,26 +242,23 @@ def Delegate( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def BeginRedelegate( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def BeginRedelegate(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Msg/BeginRedelegate", + '/cosmos.staking.v1beta1.Msg/BeginRedelegate', cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegate.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgBeginRedelegateResponse.FromString, options, @@ -281,26 +269,23 @@ def BeginRedelegate( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Undelegate( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Undelegate(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Msg/Undelegate", + '/cosmos.staking.v1beta1.Msg/Undelegate', cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegate.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUndelegateResponse.FromString, options, @@ -311,26 +296,23 @@ def Undelegate( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CancelUnbondingDelegation( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CancelUnbondingDelegation(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Msg/CancelUnbondingDelegation", + '/cosmos.staking.v1beta1.Msg/CancelUnbondingDelegation', cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegation.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgCancelUnbondingDelegationResponse.FromString, options, @@ -341,26 +323,23 @@ def CancelUnbondingDelegation( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.staking.v1beta1.Msg/UpdateParams", + '/cosmos.staking.v1beta1.Msg/UpdateParams', cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmos_dot_staking_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -371,5 +350,4 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2.py b/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2.py index 3d99e32a..38edb1c1 100644 --- a/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2.py +++ b/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,22 +15,18 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n)cosmos/store/internal/kv/v1beta1/kv.proto\x12 cosmos.store.internal.kv.v1beta1\x1a\x14gogoproto/gogo.proto"K\n\x05Pairs\x12\x42\n\x05pairs\x18\x01 \x03(\x0b\x32&.cosmos.store.internal.kv.v1beta1.PairB\x04\xc8\xde\x1f\x00R\x05pairs".\n\x04Pair\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05valueB\xf4\x01\n$com.cosmos.store.internal.kv.v1beta1B\x07KvProtoP\x01Z\x1e\x63osmossdk.io/store/internal/kv\xa2\x02\x04\x43SIK\xaa\x02 Cosmos.Store.Internal.Kv.V1beta1\xca\x02 Cosmos\\Store\\Internal\\Kv\\V1beta1\xe2\x02,Cosmos\\Store\\Internal\\Kv\\V1beta1\\GPBMetadata\xea\x02$Cosmos::Store::Internal::Kv::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)cosmos/store/internal/kv/v1beta1/kv.proto\x12 cosmos.store.internal.kv.v1beta1\x1a\x14gogoproto/gogo.proto\"K\n\x05Pairs\x12\x42\n\x05pairs\x18\x01 \x03(\x0b\x32&.cosmos.store.internal.kv.v1beta1.PairB\x04\xc8\xde\x1f\x00R\x05pairs\".\n\x04Pair\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05valueB\xf4\x01\n$com.cosmos.store.internal.kv.v1beta1B\x07KvProtoP\x01Z\x1e\x63osmossdk.io/store/internal/kv\xa2\x02\x04\x43SIK\xaa\x02 Cosmos.Store.Internal.Kv.V1beta1\xca\x02 Cosmos\\Store\\Internal\\Kv\\V1beta1\xe2\x02,Cosmos\\Store\\Internal\\Kv\\V1beta1\\GPBMetadata\xea\x02$Cosmos::Store::Internal::Kv::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.store.internal.kv.v1beta1.kv_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.internal.kv.v1beta1.kv_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n$com.cosmos.store.internal.kv.v1beta1B\007KvProtoP\001Z\036cosmossdk.io/store/internal/kv\242\002\004CSIK\252\002 Cosmos.Store.Internal.Kv.V1beta1\312\002 Cosmos\\Store\\Internal\\Kv\\V1beta1\342\002,Cosmos\\Store\\Internal\\Kv\\V1beta1\\GPBMetadata\352\002$Cosmos::Store::Internal::Kv::V1beta1" - ) - _globals["_PAIRS"].fields_by_name["pairs"]._loaded_options = None - _globals["_PAIRS"].fields_by_name["pairs"]._serialized_options = b"\310\336\037\000" - _globals["_PAIRS"]._serialized_start = 101 - _globals["_PAIRS"]._serialized_end = 176 - _globals["_PAIR"]._serialized_start = 178 - _globals["_PAIR"]._serialized_end = 224 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n$com.cosmos.store.internal.kv.v1beta1B\007KvProtoP\001Z\036cosmossdk.io/store/internal/kv\242\002\004CSIK\252\002 Cosmos.Store.Internal.Kv.V1beta1\312\002 Cosmos\\Store\\Internal\\Kv\\V1beta1\342\002,Cosmos\\Store\\Internal\\Kv\\V1beta1\\GPBMetadata\352\002$Cosmos::Store::Internal::Kv::V1beta1' + _globals['_PAIRS'].fields_by_name['pairs']._loaded_options = None + _globals['_PAIRS'].fields_by_name['pairs']._serialized_options = b'\310\336\037\000' + _globals['_PAIRS']._serialized_start=101 + _globals['_PAIRS']._serialized_end=176 + _globals['_PAIR']._serialized_start=178 + _globals['_PAIR']._serialized_end=224 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2_grpc.py b/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2_grpc.py +++ b/pyinjective/proto/cosmos/store/internal/kv/v1beta1/kv_pb2_grpc.py @@ -1,3 +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/cosmos/store/snapshots/v1/snapshot_pb2.py b/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2.py index 6bc16d14..82ec32df 100644 --- a/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2.py +++ b/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,34 +15,30 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n(cosmos/store/snapshots/v1/snapshot.proto\x12\x19\x63osmos.store.snapshots.v1\x1a\x14gogoproto/gogo.proto"\xad\x01\n\x08Snapshot\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x16\n\x06\x63hunks\x18\x03 \x01(\rR\x06\x63hunks\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x45\n\x08metadata\x18\x05 \x01(\x0b\x32#.cosmos.store.snapshots.v1.MetadataB\x04\xc8\xde\x1f\x00R\x08metadata"-\n\x08Metadata\x12!\n\x0c\x63hunk_hashes\x18\x01 \x03(\x0cR\x0b\x63hunkHashes"\xdf\x02\n\x0cSnapshotItem\x12\x44\n\x05store\x18\x01 \x01(\x0b\x32,.cosmos.store.snapshots.v1.SnapshotStoreItemH\x00R\x05store\x12K\n\x04iavl\x18\x02 \x01(\x0b\x32+.cosmos.store.snapshots.v1.SnapshotIAVLItemB\x08\xe2\xde\x1f\x04IAVLH\x00R\x04iavl\x12P\n\textension\x18\x03 \x01(\x0b\x32\x30.cosmos.store.snapshots.v1.SnapshotExtensionMetaH\x00R\textension\x12\x62\n\x11\x65xtension_payload\x18\x04 \x01(\x0b\x32\x33.cosmos.store.snapshots.v1.SnapshotExtensionPayloadH\x00R\x10\x65xtensionPayloadB\x06\n\x04item"\'\n\x11SnapshotStoreItem\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"l\n\x10SnapshotIAVLItem\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12\x18\n\x07version\x18\x03 \x01(\x03R\x07version\x12\x16\n\x06height\x18\x04 \x01(\x05R\x06height"C\n\x15SnapshotExtensionMeta\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat"4\n\x18SnapshotExtensionPayload\x12\x18\n\x07payload\x18\x01 \x01(\x0cR\x07payloadB\xd9\x01\n\x1d\x63om.cosmos.store.snapshots.v1B\rSnapshotProtoP\x01Z"cosmossdk.io/store/snapshots/types\xa2\x02\x03\x43SS\xaa\x02\x19\x43osmos.Store.Snapshots.V1\xca\x02\x19\x43osmos\\Store\\Snapshots\\V1\xe2\x02%Cosmos\\Store\\Snapshots\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Store::Snapshots::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(cosmos/store/snapshots/v1/snapshot.proto\x12\x19\x63osmos.store.snapshots.v1\x1a\x14gogoproto/gogo.proto\"\xad\x01\n\x08Snapshot\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x16\n\x06\x63hunks\x18\x03 \x01(\rR\x06\x63hunks\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x45\n\x08metadata\x18\x05 \x01(\x0b\x32#.cosmos.store.snapshots.v1.MetadataB\x04\xc8\xde\x1f\x00R\x08metadata\"-\n\x08Metadata\x12!\n\x0c\x63hunk_hashes\x18\x01 \x03(\x0cR\x0b\x63hunkHashes\"\xdf\x02\n\x0cSnapshotItem\x12\x44\n\x05store\x18\x01 \x01(\x0b\x32,.cosmos.store.snapshots.v1.SnapshotStoreItemH\x00R\x05store\x12K\n\x04iavl\x18\x02 \x01(\x0b\x32+.cosmos.store.snapshots.v1.SnapshotIAVLItemB\x08\xe2\xde\x1f\x04IAVLH\x00R\x04iavl\x12P\n\textension\x18\x03 \x01(\x0b\x32\x30.cosmos.store.snapshots.v1.SnapshotExtensionMetaH\x00R\textension\x12\x62\n\x11\x65xtension_payload\x18\x04 \x01(\x0b\x32\x33.cosmos.store.snapshots.v1.SnapshotExtensionPayloadH\x00R\x10\x65xtensionPayloadB\x06\n\x04item\"\'\n\x11SnapshotStoreItem\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"l\n\x10SnapshotIAVLItem\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\x12\x18\n\x07version\x18\x03 \x01(\x03R\x07version\x12\x16\n\x06height\x18\x04 \x01(\x05R\x06height\"C\n\x15SnapshotExtensionMeta\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\"4\n\x18SnapshotExtensionPayload\x12\x18\n\x07payload\x18\x01 \x01(\x0cR\x07payloadB\xd9\x01\n\x1d\x63om.cosmos.store.snapshots.v1B\rSnapshotProtoP\x01Z\"cosmossdk.io/store/snapshots/types\xa2\x02\x03\x43SS\xaa\x02\x19\x43osmos.Store.Snapshots.V1\xca\x02\x19\x43osmos\\Store\\Snapshots\\V1\xe2\x02%Cosmos\\Store\\Snapshots\\V1\\GPBMetadata\xea\x02\x1c\x43osmos::Store::Snapshots::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.store.snapshots.v1.snapshot_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.snapshots.v1.snapshot_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\035com.cosmos.store.snapshots.v1B\rSnapshotProtoP\001Z"cosmossdk.io/store/snapshots/types\242\002\003CSS\252\002\031Cosmos.Store.Snapshots.V1\312\002\031Cosmos\\Store\\Snapshots\\V1\342\002%Cosmos\\Store\\Snapshots\\V1\\GPBMetadata\352\002\034Cosmos::Store::Snapshots::V1' - ) - _globals["_SNAPSHOT"].fields_by_name["metadata"]._loaded_options = None - _globals["_SNAPSHOT"].fields_by_name["metadata"]._serialized_options = b"\310\336\037\000" - _globals["_SNAPSHOTITEM"].fields_by_name["iavl"]._loaded_options = None - _globals["_SNAPSHOTITEM"].fields_by_name["iavl"]._serialized_options = b"\342\336\037\004IAVL" - _globals["_SNAPSHOT"]._serialized_start = 94 - _globals["_SNAPSHOT"]._serialized_end = 267 - _globals["_METADATA"]._serialized_start = 269 - _globals["_METADATA"]._serialized_end = 314 - _globals["_SNAPSHOTITEM"]._serialized_start = 317 - _globals["_SNAPSHOTITEM"]._serialized_end = 668 - _globals["_SNAPSHOTSTOREITEM"]._serialized_start = 670 - _globals["_SNAPSHOTSTOREITEM"]._serialized_end = 709 - _globals["_SNAPSHOTIAVLITEM"]._serialized_start = 711 - _globals["_SNAPSHOTIAVLITEM"]._serialized_end = 819 - _globals["_SNAPSHOTEXTENSIONMETA"]._serialized_start = 821 - _globals["_SNAPSHOTEXTENSIONMETA"]._serialized_end = 888 - _globals["_SNAPSHOTEXTENSIONPAYLOAD"]._serialized_start = 890 - _globals["_SNAPSHOTEXTENSIONPAYLOAD"]._serialized_end = 942 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.store.snapshots.v1B\rSnapshotProtoP\001Z\"cosmossdk.io/store/snapshots/types\242\002\003CSS\252\002\031Cosmos.Store.Snapshots.V1\312\002\031Cosmos\\Store\\Snapshots\\V1\342\002%Cosmos\\Store\\Snapshots\\V1\\GPBMetadata\352\002\034Cosmos::Store::Snapshots::V1' + _globals['_SNAPSHOT'].fields_by_name['metadata']._loaded_options = None + _globals['_SNAPSHOT'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000' + _globals['_SNAPSHOTITEM'].fields_by_name['iavl']._loaded_options = None + _globals['_SNAPSHOTITEM'].fields_by_name['iavl']._serialized_options = b'\342\336\037\004IAVL' + _globals['_SNAPSHOT']._serialized_start=94 + _globals['_SNAPSHOT']._serialized_end=267 + _globals['_METADATA']._serialized_start=269 + _globals['_METADATA']._serialized_end=314 + _globals['_SNAPSHOTITEM']._serialized_start=317 + _globals['_SNAPSHOTITEM']._serialized_end=668 + _globals['_SNAPSHOTSTOREITEM']._serialized_start=670 + _globals['_SNAPSHOTSTOREITEM']._serialized_end=709 + _globals['_SNAPSHOTIAVLITEM']._serialized_start=711 + _globals['_SNAPSHOTIAVLITEM']._serialized_end=819 + _globals['_SNAPSHOTEXTENSIONMETA']._serialized_start=821 + _globals['_SNAPSHOTEXTENSIONMETA']._serialized_end=888 + _globals['_SNAPSHOTEXTENSIONPAYLOAD']._serialized_start=890 + _globals['_SNAPSHOTEXTENSIONPAYLOAD']._serialized_end=942 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2_grpc.py b/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2_grpc.py +++ b/pyinjective/proto/cosmos/store/snapshots/v1/snapshot_pb2_grpc.py @@ -1,3 +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/cosmos/store/streaming/abci/grpc_pb2.py b/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2.py index a688fa58..c1d7ec5c 100644 --- a/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2.py +++ b/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,26 +16,22 @@ from pyinjective.proto.cosmos.store.v1beta1 import listening_pb2 as cosmos_dot_store_dot_v1beta1_dot_listening__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&cosmos/store/streaming/abci/grpc.proto\x12\x1b\x63osmos.store.streaming.abci\x1a\x1btendermint/abci/types.proto\x1a$cosmos/store/v1beta1/listening.proto"\x8f\x01\n\x1aListenFinalizeBlockRequest\x12\x37\n\x03req\x18\x01 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockR\x03req\x12\x38\n\x03res\x18\x02 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockR\x03res"\x1d\n\x1bListenFinalizeBlockResponse"\xad\x01\n\x13ListenCommitRequest\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x03R\x0b\x62lockHeight\x12\x31\n\x03res\x18\x02 \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitR\x03res\x12@\n\nchange_set\x18\x03 \x03(\x0b\x32!.cosmos.store.v1beta1.StoreKVPairR\tchangeSet"\x16\n\x14ListenCommitResponse2\x95\x02\n\x13\x41\x42\x43IListenerService\x12\x88\x01\n\x13ListenFinalizeBlock\x12\x37.cosmos.store.streaming.abci.ListenFinalizeBlockRequest\x1a\x38.cosmos.store.streaming.abci.ListenFinalizeBlockResponse\x12s\n\x0cListenCommit\x12\x30.cosmos.store.streaming.abci.ListenCommitRequest\x1a\x31.cosmos.store.streaming.abci.ListenCommitResponseB\xdf\x01\n\x1f\x63om.cosmos.store.streaming.abciB\tGrpcProtoP\x01Z!cosmossdk.io/store/streaming/abci\xa2\x02\x04\x43SSA\xaa\x02\x1b\x43osmos.Store.Streaming.Abci\xca\x02\x1b\x43osmos\\Store\\Streaming\\Abci\xe2\x02\'Cosmos\\Store\\Streaming\\Abci\\GPBMetadata\xea\x02\x1e\x43osmos::Store::Streaming::Abcib\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/store/streaming/abci/grpc.proto\x12\x1b\x63osmos.store.streaming.abci\x1a\x1btendermint/abci/types.proto\x1a$cosmos/store/v1beta1/listening.proto\"\x8f\x01\n\x1aListenFinalizeBlockRequest\x12\x37\n\x03req\x18\x01 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockR\x03req\x12\x38\n\x03res\x18\x02 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockR\x03res\"\x1d\n\x1bListenFinalizeBlockResponse\"\xad\x01\n\x13ListenCommitRequest\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x03R\x0b\x62lockHeight\x12\x31\n\x03res\x18\x02 \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitR\x03res\x12@\n\nchange_set\x18\x03 \x03(\x0b\x32!.cosmos.store.v1beta1.StoreKVPairR\tchangeSet\"\x16\n\x14ListenCommitResponse2\x95\x02\n\x13\x41\x42\x43IListenerService\x12\x88\x01\n\x13ListenFinalizeBlock\x12\x37.cosmos.store.streaming.abci.ListenFinalizeBlockRequest\x1a\x38.cosmos.store.streaming.abci.ListenFinalizeBlockResponse\x12s\n\x0cListenCommit\x12\x30.cosmos.store.streaming.abci.ListenCommitRequest\x1a\x31.cosmos.store.streaming.abci.ListenCommitResponseB\xdf\x01\n\x1f\x63om.cosmos.store.streaming.abciB\tGrpcProtoP\x01Z!cosmossdk.io/store/streaming/abci\xa2\x02\x04\x43SSA\xaa\x02\x1b\x43osmos.Store.Streaming.Abci\xca\x02\x1b\x43osmos\\Store\\Streaming\\Abci\xe2\x02\'Cosmos\\Store\\Streaming\\Abci\\GPBMetadata\xea\x02\x1e\x43osmos::Store::Streaming::Abcib\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.store.streaming.abci.grpc_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.streaming.abci.grpc_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\037com.cosmos.store.streaming.abciB\tGrpcProtoP\001Z!cosmossdk.io/store/streaming/abci\242\002\004CSSA\252\002\033Cosmos.Store.Streaming.Abci\312\002\033Cosmos\\Store\\Streaming\\Abci\342\002'Cosmos\\Store\\Streaming\\Abci\\GPBMetadata\352\002\036Cosmos::Store::Streaming::Abci" - ) - _globals["_LISTENFINALIZEBLOCKREQUEST"]._serialized_start = 139 - _globals["_LISTENFINALIZEBLOCKREQUEST"]._serialized_end = 282 - _globals["_LISTENFINALIZEBLOCKRESPONSE"]._serialized_start = 284 - _globals["_LISTENFINALIZEBLOCKRESPONSE"]._serialized_end = 313 - _globals["_LISTENCOMMITREQUEST"]._serialized_start = 316 - _globals["_LISTENCOMMITREQUEST"]._serialized_end = 489 - _globals["_LISTENCOMMITRESPONSE"]._serialized_start = 491 - _globals["_LISTENCOMMITRESPONSE"]._serialized_end = 513 - _globals["_ABCILISTENERSERVICE"]._serialized_start = 516 - _globals["_ABCILISTENERSERVICE"]._serialized_end = 793 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.cosmos.store.streaming.abciB\tGrpcProtoP\001Z!cosmossdk.io/store/streaming/abci\242\002\004CSSA\252\002\033Cosmos.Store.Streaming.Abci\312\002\033Cosmos\\Store\\Streaming\\Abci\342\002\'Cosmos\\Store\\Streaming\\Abci\\GPBMetadata\352\002\036Cosmos::Store::Streaming::Abci' + _globals['_LISTENFINALIZEBLOCKREQUEST']._serialized_start=139 + _globals['_LISTENFINALIZEBLOCKREQUEST']._serialized_end=282 + _globals['_LISTENFINALIZEBLOCKRESPONSE']._serialized_start=284 + _globals['_LISTENFINALIZEBLOCKRESPONSE']._serialized_end=313 + _globals['_LISTENCOMMITREQUEST']._serialized_start=316 + _globals['_LISTENCOMMITREQUEST']._serialized_end=489 + _globals['_LISTENCOMMITRESPONSE']._serialized_start=491 + _globals['_LISTENCOMMITRESPONSE']._serialized_end=513 + _globals['_ABCILISTENERSERVICE']._serialized_start=516 + _globals['_ABCILISTENERSERVICE']._serialized_end=793 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2_grpc.py b/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2_grpc.py index c32af410..da99ee14 100644 --- a/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2_grpc.py +++ b/pyinjective/proto/cosmos/store/streaming/abci/grpc_pb2_grpc.py @@ -2,13 +2,12 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.cosmos.store.streaming.abci import ( - grpc_pb2 as cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2, -) +from pyinjective.proto.cosmos.store.streaming.abci import grpc_pb2 as cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2 class ABCIListenerServiceStub(object): - """ABCIListenerService is the service for the BaseApp ABCIListener interface""" + """ABCIListenerService is the service for the BaseApp ABCIListener interface + """ def __init__(self, channel): """Constructor. @@ -17,76 +16,75 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.ListenFinalizeBlock = channel.unary_unary( - "/cosmos.store.streaming.abci.ABCIListenerService/ListenFinalizeBlock", - request_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockRequest.SerializeToString, - response_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockResponse.FromString, - _registered_method=True, - ) + '/cosmos.store.streaming.abci.ABCIListenerService/ListenFinalizeBlock', + request_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockRequest.SerializeToString, + response_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockResponse.FromString, + _registered_method=True) self.ListenCommit = channel.unary_unary( - "/cosmos.store.streaming.abci.ABCIListenerService/ListenCommit", - request_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitRequest.SerializeToString, - response_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitResponse.FromString, - _registered_method=True, - ) + '/cosmos.store.streaming.abci.ABCIListenerService/ListenCommit', + request_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitRequest.SerializeToString, + response_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitResponse.FromString, + _registered_method=True) class ABCIListenerServiceServicer(object): - """ABCIListenerService is the service for the BaseApp ABCIListener interface""" + """ABCIListenerService is the service for the BaseApp ABCIListener interface + """ def ListenFinalizeBlock(self, request, context): - """ListenFinalizeBlock is the corresponding endpoint for ABCIListener.ListenEndBlock""" + """ListenFinalizeBlock is the corresponding endpoint for ABCIListener.ListenEndBlock + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListenCommit(self, request, context): - """ListenCommit is the corresponding endpoint for ABCIListener.ListenCommit""" + """ListenCommit is the corresponding endpoint for ABCIListener.ListenCommit + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_ABCIListenerServiceServicer_to_server(servicer, server): rpc_method_handlers = { - "ListenFinalizeBlock": grpc.unary_unary_rpc_method_handler( - servicer.ListenFinalizeBlock, - request_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockRequest.FromString, - response_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockResponse.SerializeToString, - ), - "ListenCommit": grpc.unary_unary_rpc_method_handler( - servicer.ListenCommit, - request_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitRequest.FromString, - response_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitResponse.SerializeToString, - ), + 'ListenFinalizeBlock': grpc.unary_unary_rpc_method_handler( + servicer.ListenFinalizeBlock, + request_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockRequest.FromString, + response_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockResponse.SerializeToString, + ), + 'ListenCommit': grpc.unary_unary_rpc_method_handler( + servicer.ListenCommit, + request_deserializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitRequest.FromString, + response_serializer=cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - "cosmos.store.streaming.abci.ABCIListenerService", rpc_method_handlers - ) + 'cosmos.store.streaming.abci.ABCIListenerService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.store.streaming.abci.ABCIListenerService", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.store.streaming.abci.ABCIListenerService', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class ABCIListenerService(object): - """ABCIListenerService is the service for the BaseApp ABCIListener interface""" + """ABCIListenerService is the service for the BaseApp ABCIListener interface + """ @staticmethod - def ListenFinalizeBlock( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ListenFinalizeBlock(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.store.streaming.abci.ABCIListenerService/ListenFinalizeBlock", + '/cosmos.store.streaming.abci.ABCIListenerService/ListenFinalizeBlock', cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockRequest.SerializeToString, cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenFinalizeBlockResponse.FromString, options, @@ -97,26 +95,23 @@ def ListenFinalizeBlock( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ListenCommit( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ListenCommit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.store.streaming.abci.ABCIListenerService/ListenCommit", + '/cosmos.store.streaming.abci.ABCIListenerService/ListenCommit', cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitRequest.SerializeToString, cosmos_dot_store_dot_streaming_dot_abci_dot_grpc__pb2.ListenCommitResponse.FromString, options, @@ -127,5 +122,4 @@ def ListenCommit( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2.py b/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2.py index 44bd7c4f..d6612ccd 100644 --- a/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2.py +++ b/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,30 +16,26 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&cosmos/store/v1beta1/commit_info.proto\x12\x14\x63osmos.store.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xb2\x01\n\nCommitInfo\x12\x18\n\x07version\x18\x01 \x01(\x03R\x07version\x12\x46\n\x0bstore_infos\x18\x02 \x03(\x0b\x32\x1f.cosmos.store.v1beta1.StoreInfoB\x04\xc8\xde\x1f\x00R\nstoreInfos\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp"b\n\tStoreInfo\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x41\n\tcommit_id\x18\x02 \x01(\x0b\x32\x1e.cosmos.store.v1beta1.CommitIDB\x04\xc8\xde\x1f\x00R\x08\x63ommitId">\n\x08\x43ommitID\x12\x18\n\x07version\x18\x01 \x01(\x03R\x07version\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash:\x04\x98\xa0\x1f\x00\x42\xb7\x01\n\x18\x63om.cosmos.store.v1beta1B\x0f\x43ommitInfoProtoP\x01Z\x18\x63osmossdk.io/store/types\xa2\x02\x03\x43SX\xaa\x02\x14\x43osmos.Store.V1beta1\xca\x02\x14\x43osmos\\Store\\V1beta1\xe2\x02 Cosmos\\Store\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Store::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/store/v1beta1/commit_info.proto\x12\x14\x63osmos.store.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb2\x01\n\nCommitInfo\x12\x18\n\x07version\x18\x01 \x01(\x03R\x07version\x12\x46\n\x0bstore_infos\x18\x02 \x03(\x0b\x32\x1f.cosmos.store.v1beta1.StoreInfoB\x04\xc8\xde\x1f\x00R\nstoreInfos\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\"b\n\tStoreInfo\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x41\n\tcommit_id\x18\x02 \x01(\x0b\x32\x1e.cosmos.store.v1beta1.CommitIDB\x04\xc8\xde\x1f\x00R\x08\x63ommitId\">\n\x08\x43ommitID\x12\x18\n\x07version\x18\x01 \x01(\x03R\x07version\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash:\x04\x98\xa0\x1f\x00\x42\xb7\x01\n\x18\x63om.cosmos.store.v1beta1B\x0f\x43ommitInfoProtoP\x01Z\x18\x63osmossdk.io/store/types\xa2\x02\x03\x43SX\xaa\x02\x14\x43osmos.Store.V1beta1\xca\x02\x14\x43osmos\\Store\\V1beta1\xe2\x02 Cosmos\\Store\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Store::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.store.v1beta1.commit_info_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.v1beta1.commit_info_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\030com.cosmos.store.v1beta1B\017CommitInfoProtoP\001Z\030cosmossdk.io/store/types\242\002\003CSX\252\002\024Cosmos.Store.V1beta1\312\002\024Cosmos\\Store\\V1beta1\342\002 Cosmos\\Store\\V1beta1\\GPBMetadata\352\002\026Cosmos::Store::V1beta1" - ) - _globals["_COMMITINFO"].fields_by_name["store_infos"]._loaded_options = None - _globals["_COMMITINFO"].fields_by_name["store_infos"]._serialized_options = b"\310\336\037\000" - _globals["_COMMITINFO"].fields_by_name["timestamp"]._loaded_options = None - _globals["_COMMITINFO"].fields_by_name["timestamp"]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_STOREINFO"].fields_by_name["commit_id"]._loaded_options = None - _globals["_STOREINFO"].fields_by_name["commit_id"]._serialized_options = b"\310\336\037\000" - _globals["_COMMITID"]._loaded_options = None - _globals["_COMMITID"]._serialized_options = b"\230\240\037\000" - _globals["_COMMITINFO"]._serialized_start = 120 - _globals["_COMMITINFO"]._serialized_end = 298 - _globals["_STOREINFO"]._serialized_start = 300 - _globals["_STOREINFO"]._serialized_end = 398 - _globals["_COMMITID"]._serialized_start = 400 - _globals["_COMMITID"]._serialized_end = 462 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.store.v1beta1B\017CommitInfoProtoP\001Z\030cosmossdk.io/store/types\242\002\003CSX\252\002\024Cosmos.Store.V1beta1\312\002\024Cosmos\\Store\\V1beta1\342\002 Cosmos\\Store\\V1beta1\\GPBMetadata\352\002\026Cosmos::Store::V1beta1' + _globals['_COMMITINFO'].fields_by_name['store_infos']._loaded_options = None + _globals['_COMMITINFO'].fields_by_name['store_infos']._serialized_options = b'\310\336\037\000' + _globals['_COMMITINFO'].fields_by_name['timestamp']._loaded_options = None + _globals['_COMMITINFO'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_STOREINFO'].fields_by_name['commit_id']._loaded_options = None + _globals['_STOREINFO'].fields_by_name['commit_id']._serialized_options = b'\310\336\037\000' + _globals['_COMMITID']._loaded_options = None + _globals['_COMMITID']._serialized_options = b'\230\240\037\000' + _globals['_COMMITINFO']._serialized_start=120 + _globals['_COMMITINFO']._serialized_end=298 + _globals['_STOREINFO']._serialized_start=300 + _globals['_STOREINFO']._serialized_end=398 + _globals['_COMMITID']._serialized_start=400 + _globals['_COMMITID']._serialized_end=462 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2_grpc.py b/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2_grpc.py +++ b/pyinjective/proto/cosmos/store/v1beta1/commit_info_pb2_grpc.py @@ -1,3 +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/cosmos/store/v1beta1/listening_pb2.py b/pyinjective/proto/cosmos/store/v1beta1/listening_pb2.py index 2dd196b5..2234f381 100644 --- a/pyinjective/proto/cosmos/store/v1beta1/listening_pb2.py +++ b/pyinjective/proto/cosmos/store/v1beta1/listening_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$cosmos/store/v1beta1/listening.proto\x12\x14\x63osmos.store.v1beta1\x1a\x1btendermint/abci/types.proto"j\n\x0bStoreKVPair\x12\x1b\n\tstore_key\x18\x01 \x01(\tR\x08storeKey\x12\x16\n\x06\x64\x65lete\x18\x02 \x01(\x08R\x06\x64\x65lete\x12\x10\n\x03key\x18\x03 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x04 \x01(\x0cR\x05value"\xb4\x02\n\rBlockMetadata\x12H\n\x0fresponse_commit\x18\x06 \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitR\x0eresponseCommit\x12[\n\x16request_finalize_block\x18\x07 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockR\x14requestFinalizeBlock\x12^\n\x17response_finalize_block\x18\x08 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockR\x15responseFinalizeBlockJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\x42\xb6\x01\n\x18\x63om.cosmos.store.v1beta1B\x0eListeningProtoP\x01Z\x18\x63osmossdk.io/store/types\xa2\x02\x03\x43SX\xaa\x02\x14\x43osmos.Store.V1beta1\xca\x02\x14\x43osmos\\Store\\V1beta1\xe2\x02 Cosmos\\Store\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Store::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/store/v1beta1/listening.proto\x12\x14\x63osmos.store.v1beta1\x1a\x1btendermint/abci/types.proto\"j\n\x0bStoreKVPair\x12\x1b\n\tstore_key\x18\x01 \x01(\tR\x08storeKey\x12\x16\n\x06\x64\x65lete\x18\x02 \x01(\x08R\x06\x64\x65lete\x12\x10\n\x03key\x18\x03 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x04 \x01(\x0cR\x05value\"\xb4\x02\n\rBlockMetadata\x12H\n\x0fresponse_commit\x18\x06 \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitR\x0eresponseCommit\x12[\n\x16request_finalize_block\x18\x07 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockR\x14requestFinalizeBlock\x12^\n\x17response_finalize_block\x18\x08 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockR\x15responseFinalizeBlockJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\x42\xb6\x01\n\x18\x63om.cosmos.store.v1beta1B\x0eListeningProtoP\x01Z\x18\x63osmossdk.io/store/types\xa2\x02\x03\x43SX\xaa\x02\x14\x43osmos.Store.V1beta1\xca\x02\x14\x43osmos\\Store\\V1beta1\xe2\x02 Cosmos\\Store\\V1beta1\\GPBMetadata\xea\x02\x16\x43osmos::Store::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.store.v1beta1.listening_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.store.v1beta1.listening_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\030com.cosmos.store.v1beta1B\016ListeningProtoP\001Z\030cosmossdk.io/store/types\242\002\003CSX\252\002\024Cosmos.Store.V1beta1\312\002\024Cosmos\\Store\\V1beta1\342\002 Cosmos\\Store\\V1beta1\\GPBMetadata\352\002\026Cosmos::Store::V1beta1" - ) - _globals["_STOREKVPAIR"]._serialized_start = 91 - _globals["_STOREKVPAIR"]._serialized_end = 197 - _globals["_BLOCKMETADATA"]._serialized_start = 200 - _globals["_BLOCKMETADATA"]._serialized_end = 508 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cosmos.store.v1beta1B\016ListeningProtoP\001Z\030cosmossdk.io/store/types\242\002\003CSX\252\002\024Cosmos.Store.V1beta1\312\002\024Cosmos\\Store\\V1beta1\342\002 Cosmos\\Store\\V1beta1\\GPBMetadata\352\002\026Cosmos::Store::V1beta1' + _globals['_STOREKVPAIR']._serialized_start=91 + _globals['_STOREKVPAIR']._serialized_end=197 + _globals['_BLOCKMETADATA']._serialized_start=200 + _globals['_BLOCKMETADATA']._serialized_end=508 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/store/v1beta1/listening_pb2_grpc.py b/pyinjective/proto/cosmos/store/v1beta1/listening_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/store/v1beta1/listening_pb2_grpc.py +++ b/pyinjective/proto/cosmos/store/v1beta1/listening_pb2_grpc.py @@ -1,3 +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/cosmos/tx/config/v1/config_pb2.py b/pyinjective/proto/cosmos/tx/config/v1/config_pb2.py index 5b46fa9f..c255f1db 100644 --- a/pyinjective/proto/cosmos/tx/config/v1/config_pb2.py +++ b/pyinjective/proto/cosmos/tx/config/v1/config_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n cosmos/tx/config/v1/config.proto\x12\x13\x63osmos.tx.config.v1\x1a cosmos/app/v1alpha1/module.proto"\x90\x01\n\x06\x43onfig\x12*\n\x11skip_ante_handler\x18\x01 \x01(\x08R\x0fskipAnteHandler\x12*\n\x11skip_post_handler\x18\x02 \x01(\x08R\x0fskipPostHandler:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/auth/txB\x95\x01\n\x17\x63om.cosmos.tx.config.v1B\x0b\x43onfigProtoP\x01\xa2\x02\x03\x43TC\xaa\x02\x13\x43osmos.Tx.Config.V1\xca\x02\x13\x43osmos\\Tx\\Config\\V1\xe2\x02\x1f\x43osmos\\Tx\\Config\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Tx::Config::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/tx/config/v1/config.proto\x12\x13\x63osmos.tx.config.v1\x1a cosmos/app/v1alpha1/module.proto\"\x90\x01\n\x06\x43onfig\x12*\n\x11skip_ante_handler\x18\x01 \x01(\x08R\x0fskipAnteHandler\x12*\n\x11skip_post_handler\x18\x02 \x01(\x08R\x0fskipPostHandler:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/auth/txB\x95\x01\n\x17\x63om.cosmos.tx.config.v1B\x0b\x43onfigProtoP\x01\xa2\x02\x03\x43TC\xaa\x02\x13\x43osmos.Tx.Config.V1\xca\x02\x13\x43osmos\\Tx\\Config\\V1\xe2\x02\x1f\x43osmos\\Tx\\Config\\V1\\GPBMetadata\xea\x02\x16\x43osmos::Tx::Config::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.tx.config.v1.config_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.config.v1.config_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.cosmos.tx.config.v1B\013ConfigProtoP\001\242\002\003CTC\252\002\023Cosmos.Tx.Config.V1\312\002\023Cosmos\\Tx\\Config\\V1\342\002\037Cosmos\\Tx\\Config\\V1\\GPBMetadata\352\002\026Cosmos::Tx::Config::V1" - ) - _globals["_CONFIG"]._loaded_options = None - _globals["_CONFIG"]._serialized_options = b"\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/auth/tx" - _globals["_CONFIG"]._serialized_start = 92 - _globals["_CONFIG"]._serialized_end = 236 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.cosmos.tx.config.v1B\013ConfigProtoP\001\242\002\003CTC\252\002\023Cosmos.Tx.Config.V1\312\002\023Cosmos\\Tx\\Config\\V1\342\002\037Cosmos\\Tx\\Config\\V1\\GPBMetadata\352\002\026Cosmos::Tx::Config::V1' + _globals['_CONFIG']._loaded_options = None + _globals['_CONFIG']._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/auth/tx' + _globals['_CONFIG']._serialized_start=92 + _globals['_CONFIG']._serialized_end=236 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/config/v1/config_pb2_grpc.py b/pyinjective/proto/cosmos/tx/config/v1/config_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/tx/config/v1/config_pb2_grpc.py +++ b/pyinjective/proto/cosmos/tx/config/v1/config_pb2_grpc.py @@ -1,3 +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/cosmos/tx/signing/v1beta1/signing_pb2.py b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py index 4454dd09..cf473ea7 100644 --- a/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py +++ b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py @@ -7,40 +7,33 @@ 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 pyinjective.proto.cosmos.crypto.multisig.v1beta1 import ( - multisig_pb2 as cosmos_dot_crypto_dot_multisig_dot_v1beta1_dot_multisig__pb2, -) +from pyinjective.proto.cosmos.crypto.multisig.v1beta1 import multisig_pb2 as cosmos_dot_crypto_dot_multisig_dot_v1beta1_dot_multisig__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\'cosmos/tx/signing/v1beta1/signing.proto\x12\x19\x63osmos.tx.signing.v1beta1\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x19google/protobuf/any.proto"f\n\x14SignatureDescriptors\x12N\n\nsignatures\x18\x01 \x03(\x0b\x32..cosmos.tx.signing.v1beta1.SignatureDescriptorR\nsignatures"\xf5\x04\n\x13SignatureDescriptor\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12G\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataR\x04\x64\x61ta\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x1a\xc3\x03\n\x04\x44\x61ta\x12T\n\x06single\x18\x01 \x01(\x0b\x32:.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.SingleH\x00R\x06single\x12Q\n\x05multi\x18\x02 \x01(\x0b\x32\x39.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.MultiH\x00R\x05multi\x1a_\n\x06Single\x12\x37\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x12\x1c\n\tsignature\x18\x02 \x01(\x0cR\tsignature\x1a\xa9\x01\n\x05Multi\x12K\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArrayR\x08\x62itarray\x12S\n\nsignatures\x18\x02 \x03(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataR\nsignaturesB\x05\n\x03sum*\xbf\x01\n\x08SignMode\x12\x19\n\x15SIGN_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10SIGN_MODE_DIRECT\x10\x01\x12\x15\n\x11SIGN_MODE_TEXTUAL\x10\x02\x12\x18\n\x14SIGN_MODE_DIRECT_AUX\x10\x03\x12\x1f\n\x1bSIGN_MODE_LEGACY_AMINO_JSON\x10\x7f\x12\x18\n\x13SIGN_MODE_EIP712_V2\x10\x80\x01\x12\x16\n\x11SIGN_MODE_EIP_191\x10\xbf\x01\x42\xe3\x01\n\x1d\x63om.cosmos.tx.signing.v1beta1B\x0cSigningProtoP\x01Z-github.com/cosmos/cosmos-sdk/types/tx/signing\xa2\x02\x03\x43TS\xaa\x02\x19\x43osmos.Tx.Signing.V1beta1\xca\x02\x19\x43osmos\\Tx\\Signing\\V1beta1\xe2\x02%Cosmos\\Tx\\Signing\\V1beta1\\GPBMetadata\xea\x02\x1c\x43osmos::Tx::Signing::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/tx/signing/v1beta1/signing.proto\x12\x19\x63osmos.tx.signing.v1beta1\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x19google/protobuf/any.proto\"f\n\x14SignatureDescriptors\x12N\n\nsignatures\x18\x01 \x03(\x0b\x32..cosmos.tx.signing.v1beta1.SignatureDescriptorR\nsignatures\"\xf5\x04\n\x13SignatureDescriptor\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12G\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataR\x04\x64\x61ta\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x1a\xc3\x03\n\x04\x44\x61ta\x12T\n\x06single\x18\x01 \x01(\x0b\x32:.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.SingleH\x00R\x06single\x12Q\n\x05multi\x18\x02 \x01(\x0b\x32\x39.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.MultiH\x00R\x05multi\x1a_\n\x06Single\x12\x37\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x12\x1c\n\tsignature\x18\x02 \x01(\x0cR\tsignature\x1a\xa9\x01\n\x05Multi\x12K\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArrayR\x08\x62itarray\x12S\n\nsignatures\x18\x02 \x03(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataR\nsignaturesB\x05\n\x03sum*\xbf\x01\n\x08SignMode\x12\x19\n\x15SIGN_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10SIGN_MODE_DIRECT\x10\x01\x12\x15\n\x11SIGN_MODE_TEXTUAL\x10\x02\x12\x18\n\x14SIGN_MODE_DIRECT_AUX\x10\x03\x12\x1f\n\x1bSIGN_MODE_LEGACY_AMINO_JSON\x10\x7f\x12\x18\n\x13SIGN_MODE_EIP712_V2\x10\x80\x01\x12\x16\n\x11SIGN_MODE_EIP_191\x10\xbf\x01\x42\xe3\x01\n\x1d\x63om.cosmos.tx.signing.v1beta1B\x0cSigningProtoP\x01Z-github.com/cosmos/cosmos-sdk/types/tx/signing\xa2\x02\x03\x43TS\xaa\x02\x19\x43osmos.Tx.Signing.V1beta1\xca\x02\x19\x43osmos\\Tx\\Signing\\V1beta1\xe2\x02%Cosmos\\Tx\\Signing\\V1beta1\\GPBMetadata\xea\x02\x1c\x43osmos::Tx::Signing::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.tx.signing.v1beta1.signing_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.signing.v1beta1.signing_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\035com.cosmos.tx.signing.v1beta1B\014SigningProtoP\001Z-github.com/cosmos/cosmos-sdk/types/tx/signing\242\002\003CTS\252\002\031Cosmos.Tx.Signing.V1beta1\312\002\031Cosmos\\Tx\\Signing\\V1beta1\342\002%Cosmos\\Tx\\Signing\\V1beta1\\GPBMetadata\352\002\034Cosmos::Tx::Signing::V1beta1" - ) - _globals["_SIGNMODE"]._serialized_start = 881 - _globals["_SIGNMODE"]._serialized_end = 1072 - _globals["_SIGNATUREDESCRIPTORS"]._serialized_start = 144 - _globals["_SIGNATUREDESCRIPTORS"]._serialized_end = 246 - _globals["_SIGNATUREDESCRIPTOR"]._serialized_start = 249 - _globals["_SIGNATUREDESCRIPTOR"]._serialized_end = 878 - _globals["_SIGNATUREDESCRIPTOR_DATA"]._serialized_start = 427 - _globals["_SIGNATUREDESCRIPTOR_DATA"]._serialized_end = 878 - _globals["_SIGNATUREDESCRIPTOR_DATA_SINGLE"]._serialized_start = 604 - _globals["_SIGNATUREDESCRIPTOR_DATA_SINGLE"]._serialized_end = 699 - _globals["_SIGNATUREDESCRIPTOR_DATA_MULTI"]._serialized_start = 702 - _globals["_SIGNATUREDESCRIPTOR_DATA_MULTI"]._serialized_end = 871 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\035com.cosmos.tx.signing.v1beta1B\014SigningProtoP\001Z-github.com/cosmos/cosmos-sdk/types/tx/signing\242\002\003CTS\252\002\031Cosmos.Tx.Signing.V1beta1\312\002\031Cosmos\\Tx\\Signing\\V1beta1\342\002%Cosmos\\Tx\\Signing\\V1beta1\\GPBMetadata\352\002\034Cosmos::Tx::Signing::V1beta1' + _globals['_SIGNMODE']._serialized_start=881 + _globals['_SIGNMODE']._serialized_end=1072 + _globals['_SIGNATUREDESCRIPTORS']._serialized_start=144 + _globals['_SIGNATUREDESCRIPTORS']._serialized_end=246 + _globals['_SIGNATUREDESCRIPTOR']._serialized_start=249 + _globals['_SIGNATUREDESCRIPTOR']._serialized_end=878 + _globals['_SIGNATUREDESCRIPTOR_DATA']._serialized_start=427 + _globals['_SIGNATUREDESCRIPTOR_DATA']._serialized_end=878 + _globals['_SIGNATUREDESCRIPTOR_DATA_SINGLE']._serialized_start=604 + _globals['_SIGNATUREDESCRIPTOR_DATA_SINGLE']._serialized_end=699 + _globals['_SIGNATUREDESCRIPTOR_DATA_MULTI']._serialized_start=702 + _globals['_SIGNATUREDESCRIPTOR_DATA_MULTI']._serialized_end=871 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2_grpc.py b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2_grpc.py +++ b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2_grpc.py @@ -1,3 +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/cosmos/tx/v1beta1/service_pb2.py b/pyinjective/proto/cosmos/tx/v1beta1/service_pb2.py index b7d4a1d1..e2512d9e 100644 --- a/pyinjective/proto/cosmos/tx/v1beta1/service_pb2.py +++ b/pyinjective/proto/cosmos/tx/v1beta1/service_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,111 +15,87 @@ from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.base.abci.v1beta1 import abci_pb2 as cosmos_dot_base_dot_abci_dot_v1beta1_dot_abci__pb2 from pyinjective.proto.cosmos.tx.v1beta1 import tx_pb2 as cosmos_dot_tx_dot_v1beta1_dot_tx__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.tendermint.types import block_pb2 as tendermint_dot_types_dot_block__pb2 from pyinjective.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1f\x63osmos/tx/v1beta1/service.proto\x12\x11\x63osmos.tx.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a#cosmos/base/abci/v1beta1/abci.proto\x1a\x1a\x63osmos/tx/v1beta1/tx.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1ctendermint/types/block.proto\x1a\x1ctendermint/types/types.proto"\xf3\x01\n\x12GetTxsEventRequest\x12\x1a\n\x06\x65vents\x18\x01 \x03(\tB\x02\x18\x01R\x06\x65vents\x12J\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestB\x02\x18\x01R\npagination\x12\x35\n\x08order_by\x18\x03 \x01(\x0e\x32\x1a.cosmos.tx.v1beta1.OrderByR\x07orderBy\x12\x12\n\x04page\x18\x04 \x01(\x04R\x04page\x12\x14\n\x05limit\x18\x05 \x01(\x04R\x05limit\x12\x14\n\x05query\x18\x06 \x01(\tR\x05query"\xea\x01\n\x13GetTxsEventResponse\x12\'\n\x03txs\x18\x01 \x03(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x03txs\x12G\n\x0ctx_responses\x18\x02 \x03(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\x0btxResponses\x12K\n\npagination\x18\x03 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseB\x02\x18\x01R\npagination\x12\x14\n\x05total\x18\x04 \x01(\x04R\x05total"e\n\x12\x42roadcastTxRequest\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes\x12\x34\n\x04mode\x18\x02 \x01(\x0e\x32 .cosmos.tx.v1beta1.BroadcastModeR\x04mode"\\\n\x13\x42roadcastTxResponse\x12\x45\n\x0btx_response\x18\x01 \x01(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\ntxResponse"W\n\x0fSimulateRequest\x12)\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxB\x02\x18\x01R\x02tx\x12\x19\n\x08tx_bytes\x18\x02 \x01(\x0cR\x07txBytes"\x8a\x01\n\x10SimulateResponse\x12<\n\x08gas_info\x18\x01 \x01(\x0b\x32!.cosmos.base.abci.v1beta1.GasInfoR\x07gasInfo\x12\x38\n\x06result\x18\x02 \x01(\x0b\x32 .cosmos.base.abci.v1beta1.ResultR\x06result""\n\x0cGetTxRequest\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash"}\n\rGetTxResponse\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx\x12\x45\n\x0btx_response\x18\x02 \x01(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\ntxResponse"x\n\x16GetBlockWithTxsRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xf0\x01\n\x17GetBlockWithTxsResponse\x12\'\n\x03txs\x18\x01 \x03(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x03txs\x12\x34\n\x08\x62lock_id\x18\x02 \x01(\x0b\x32\x19.tendermint.types.BlockIDR\x07\x62lockId\x12-\n\x05\x62lock\x18\x03 \x01(\x0b\x32\x17.tendermint.types.BlockR\x05\x62lock\x12G\n\npagination\x18\x04 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination",\n\x0fTxDecodeRequest\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes"9\n\x10TxDecodeResponse\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx"8\n\x0fTxEncodeRequest\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx"-\n\x10TxEncodeResponse\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes"5\n\x14TxEncodeAminoRequest\x12\x1d\n\namino_json\x18\x01 \x01(\tR\taminoJson":\n\x15TxEncodeAminoResponse\x12!\n\x0c\x61mino_binary\x18\x01 \x01(\x0cR\x0b\x61minoBinary"9\n\x14TxDecodeAminoRequest\x12!\n\x0c\x61mino_binary\x18\x01 \x01(\x0cR\x0b\x61minoBinary"6\n\x15TxDecodeAminoResponse\x12\x1d\n\namino_json\x18\x01 \x01(\tR\taminoJson*H\n\x07OrderBy\x12\x18\n\x14ORDER_BY_UNSPECIFIED\x10\x00\x12\x10\n\x0cORDER_BY_ASC\x10\x01\x12\x11\n\rORDER_BY_DESC\x10\x02*\x80\x01\n\rBroadcastMode\x12\x1e\n\x1a\x42ROADCAST_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x14\x42ROADCAST_MODE_BLOCK\x10\x01\x1a\x02\x08\x01\x12\x17\n\x13\x42ROADCAST_MODE_SYNC\x10\x02\x12\x18\n\x14\x42ROADCAST_MODE_ASYNC\x10\x03\x32\xaa\t\n\x07Service\x12{\n\x08Simulate\x12".cosmos.tx.v1beta1.SimulateRequest\x1a#.cosmos.tx.v1beta1.SimulateResponse"&\x82\xd3\xe4\x93\x02 "\x1b/cosmos/tx/v1beta1/simulate:\x01*\x12q\n\x05GetTx\x12\x1f.cosmos.tx.v1beta1.GetTxRequest\x1a .cosmos.tx.v1beta1.GetTxResponse"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/tx/v1beta1/txs/{hash}\x12\x7f\n\x0b\x42roadcastTx\x12%.cosmos.tx.v1beta1.BroadcastTxRequest\x1a&.cosmos.tx.v1beta1.BroadcastTxResponse"!\x82\xd3\xe4\x93\x02\x1b"\x16/cosmos/tx/v1beta1/txs:\x01*\x12|\n\x0bGetTxsEvent\x12%.cosmos.tx.v1beta1.GetTxsEventRequest\x1a&.cosmos.tx.v1beta1.GetTxsEventResponse"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cosmos/tx/v1beta1/txs\x12\x97\x01\n\x0fGetBlockWithTxs\x12).cosmos.tx.v1beta1.GetBlockWithTxsRequest\x1a*.cosmos.tx.v1beta1.GetBlockWithTxsResponse"-\x82\xd3\xe4\x93\x02\'\x12%/cosmos/tx/v1beta1/txs/block/{height}\x12y\n\x08TxDecode\x12".cosmos.tx.v1beta1.TxDecodeRequest\x1a#.cosmos.tx.v1beta1.TxDecodeResponse"$\x82\xd3\xe4\x93\x02\x1e"\x19/cosmos/tx/v1beta1/decode:\x01*\x12y\n\x08TxEncode\x12".cosmos.tx.v1beta1.TxEncodeRequest\x1a#.cosmos.tx.v1beta1.TxEncodeResponse"$\x82\xd3\xe4\x93\x02\x1e"\x19/cosmos/tx/v1beta1/encode:\x01*\x12\x8e\x01\n\rTxEncodeAmino\x12\'.cosmos.tx.v1beta1.TxEncodeAminoRequest\x1a(.cosmos.tx.v1beta1.TxEncodeAminoResponse"*\x82\xd3\xe4\x93\x02$"\x1f/cosmos/tx/v1beta1/encode/amino:\x01*\x12\x8e\x01\n\rTxDecodeAmino\x12\'.cosmos.tx.v1beta1.TxDecodeAminoRequest\x1a(.cosmos.tx.v1beta1.TxDecodeAminoResponse"*\x82\xd3\xe4\x93\x02$"\x1f/cosmos/tx/v1beta1/decode/amino:\x01*B\xb2\x01\n\x15\x63om.cosmos.tx.v1beta1B\x0cServiceProtoP\x01Z%github.com/cosmos/cosmos-sdk/types/tx\xa2\x02\x03\x43TX\xaa\x02\x11\x43osmos.Tx.V1beta1\xca\x02\x11\x43osmos\\Tx\\V1beta1\xe2\x02\x1d\x43osmos\\Tx\\V1beta1\\GPBMetadata\xea\x02\x13\x43osmos::Tx::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/tx/v1beta1/service.proto\x12\x11\x63osmos.tx.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a#cosmos/base/abci/v1beta1/abci.proto\x1a\x1a\x63osmos/tx/v1beta1/tx.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1ctendermint/types/block.proto\x1a\x1ctendermint/types/types.proto\"\xf3\x01\n\x12GetTxsEventRequest\x12\x1a\n\x06\x65vents\x18\x01 \x03(\tB\x02\x18\x01R\x06\x65vents\x12J\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestB\x02\x18\x01R\npagination\x12\x35\n\x08order_by\x18\x03 \x01(\x0e\x32\x1a.cosmos.tx.v1beta1.OrderByR\x07orderBy\x12\x12\n\x04page\x18\x04 \x01(\x04R\x04page\x12\x14\n\x05limit\x18\x05 \x01(\x04R\x05limit\x12\x14\n\x05query\x18\x06 \x01(\tR\x05query\"\xea\x01\n\x13GetTxsEventResponse\x12\'\n\x03txs\x18\x01 \x03(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x03txs\x12G\n\x0ctx_responses\x18\x02 \x03(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\x0btxResponses\x12K\n\npagination\x18\x03 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseB\x02\x18\x01R\npagination\x12\x14\n\x05total\x18\x04 \x01(\x04R\x05total\"e\n\x12\x42roadcastTxRequest\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes\x12\x34\n\x04mode\x18\x02 \x01(\x0e\x32 .cosmos.tx.v1beta1.BroadcastModeR\x04mode\"\\\n\x13\x42roadcastTxResponse\x12\x45\n\x0btx_response\x18\x01 \x01(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\ntxResponse\"W\n\x0fSimulateRequest\x12)\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxB\x02\x18\x01R\x02tx\x12\x19\n\x08tx_bytes\x18\x02 \x01(\x0cR\x07txBytes\"\x8a\x01\n\x10SimulateResponse\x12<\n\x08gas_info\x18\x01 \x01(\x0b\x32!.cosmos.base.abci.v1beta1.GasInfoR\x07gasInfo\x12\x38\n\x06result\x18\x02 \x01(\x0b\x32 .cosmos.base.abci.v1beta1.ResultR\x06result\"\"\n\x0cGetTxRequest\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\"}\n\rGetTxResponse\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx\x12\x45\n\x0btx_response\x18\x02 \x01(\x0b\x32$.cosmos.base.abci.v1beta1.TxResponseR\ntxResponse\"x\n\x16GetBlockWithTxsRequest\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xf0\x01\n\x17GetBlockWithTxsResponse\x12\'\n\x03txs\x18\x01 \x03(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x03txs\x12\x34\n\x08\x62lock_id\x18\x02 \x01(\x0b\x32\x19.tendermint.types.BlockIDR\x07\x62lockId\x12-\n\x05\x62lock\x18\x03 \x01(\x0b\x32\x17.tendermint.types.BlockR\x05\x62lock\x12G\n\npagination\x18\x04 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\",\n\x0fTxDecodeRequest\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes\"9\n\x10TxDecodeResponse\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx\"8\n\x0fTxEncodeRequest\x12%\n\x02tx\x18\x01 \x01(\x0b\x32\x15.cosmos.tx.v1beta1.TxR\x02tx\"-\n\x10TxEncodeResponse\x12\x19\n\x08tx_bytes\x18\x01 \x01(\x0cR\x07txBytes\"5\n\x14TxEncodeAminoRequest\x12\x1d\n\namino_json\x18\x01 \x01(\tR\taminoJson\":\n\x15TxEncodeAminoResponse\x12!\n\x0c\x61mino_binary\x18\x01 \x01(\x0cR\x0b\x61minoBinary\"9\n\x14TxDecodeAminoRequest\x12!\n\x0c\x61mino_binary\x18\x01 \x01(\x0cR\x0b\x61minoBinary\"6\n\x15TxDecodeAminoResponse\x12\x1d\n\namino_json\x18\x01 \x01(\tR\taminoJson*H\n\x07OrderBy\x12\x18\n\x14ORDER_BY_UNSPECIFIED\x10\x00\x12\x10\n\x0cORDER_BY_ASC\x10\x01\x12\x11\n\rORDER_BY_DESC\x10\x02*\x80\x01\n\rBroadcastMode\x12\x1e\n\x1a\x42ROADCAST_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x14\x42ROADCAST_MODE_BLOCK\x10\x01\x1a\x02\x08\x01\x12\x17\n\x13\x42ROADCAST_MODE_SYNC\x10\x02\x12\x18\n\x14\x42ROADCAST_MODE_ASYNC\x10\x03\x32\xaa\t\n\x07Service\x12{\n\x08Simulate\x12\".cosmos.tx.v1beta1.SimulateRequest\x1a#.cosmos.tx.v1beta1.SimulateResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/cosmos/tx/v1beta1/simulate:\x01*\x12q\n\x05GetTx\x12\x1f.cosmos.tx.v1beta1.GetTxRequest\x1a .cosmos.tx.v1beta1.GetTxResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cosmos/tx/v1beta1/txs/{hash}\x12\x7f\n\x0b\x42roadcastTx\x12%.cosmos.tx.v1beta1.BroadcastTxRequest\x1a&.cosmos.tx.v1beta1.BroadcastTxResponse\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/cosmos/tx/v1beta1/txs:\x01*\x12|\n\x0bGetTxsEvent\x12%.cosmos.tx.v1beta1.GetTxsEventRequest\x1a&.cosmos.tx.v1beta1.GetTxsEventResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cosmos/tx/v1beta1/txs\x12\x97\x01\n\x0fGetBlockWithTxs\x12).cosmos.tx.v1beta1.GetBlockWithTxsRequest\x1a*.cosmos.tx.v1beta1.GetBlockWithTxsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/cosmos/tx/v1beta1/txs/block/{height}\x12y\n\x08TxDecode\x12\".cosmos.tx.v1beta1.TxDecodeRequest\x1a#.cosmos.tx.v1beta1.TxDecodeResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/cosmos/tx/v1beta1/decode:\x01*\x12y\n\x08TxEncode\x12\".cosmos.tx.v1beta1.TxEncodeRequest\x1a#.cosmos.tx.v1beta1.TxEncodeResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/cosmos/tx/v1beta1/encode:\x01*\x12\x8e\x01\n\rTxEncodeAmino\x12\'.cosmos.tx.v1beta1.TxEncodeAminoRequest\x1a(.cosmos.tx.v1beta1.TxEncodeAminoResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/cosmos/tx/v1beta1/encode/amino:\x01*\x12\x8e\x01\n\rTxDecodeAmino\x12\'.cosmos.tx.v1beta1.TxDecodeAminoRequest\x1a(.cosmos.tx.v1beta1.TxDecodeAminoResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/cosmos/tx/v1beta1/decode/amino:\x01*B\xb2\x01\n\x15\x63om.cosmos.tx.v1beta1B\x0cServiceProtoP\x01Z%github.com/cosmos/cosmos-sdk/types/tx\xa2\x02\x03\x43TX\xaa\x02\x11\x43osmos.Tx.V1beta1\xca\x02\x11\x43osmos\\Tx\\V1beta1\xe2\x02\x1d\x43osmos\\Tx\\V1beta1\\GPBMetadata\xea\x02\x13\x43osmos::Tx::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.tx.v1beta1.service_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.v1beta1.service_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\025com.cosmos.tx.v1beta1B\014ServiceProtoP\001Z%github.com/cosmos/cosmos-sdk/types/tx\242\002\003CTX\252\002\021Cosmos.Tx.V1beta1\312\002\021Cosmos\\Tx\\V1beta1\342\002\035Cosmos\\Tx\\V1beta1\\GPBMetadata\352\002\023Cosmos::Tx::V1beta1" - ) - _globals["_BROADCASTMODE"].values_by_name["BROADCAST_MODE_BLOCK"]._loaded_options = None - _globals["_BROADCASTMODE"].values_by_name["BROADCAST_MODE_BLOCK"]._serialized_options = b"\010\001" - _globals["_GETTXSEVENTREQUEST"].fields_by_name["events"]._loaded_options = None - _globals["_GETTXSEVENTREQUEST"].fields_by_name["events"]._serialized_options = b"\030\001" - _globals["_GETTXSEVENTREQUEST"].fields_by_name["pagination"]._loaded_options = None - _globals["_GETTXSEVENTREQUEST"].fields_by_name["pagination"]._serialized_options = b"\030\001" - _globals["_GETTXSEVENTRESPONSE"].fields_by_name["pagination"]._loaded_options = None - _globals["_GETTXSEVENTRESPONSE"].fields_by_name["pagination"]._serialized_options = b"\030\001" - _globals["_SIMULATEREQUEST"].fields_by_name["tx"]._loaded_options = None - _globals["_SIMULATEREQUEST"].fields_by_name["tx"]._serialized_options = b"\030\001" - _globals["_SERVICE"].methods_by_name["Simulate"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "Simulate" - ]._serialized_options = b'\202\323\344\223\002 "\033/cosmos/tx/v1beta1/simulate:\001*' - _globals["_SERVICE"].methods_by_name["GetTx"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "GetTx" - ]._serialized_options = b"\202\323\344\223\002\037\022\035/cosmos/tx/v1beta1/txs/{hash}" - _globals["_SERVICE"].methods_by_name["BroadcastTx"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "BroadcastTx" - ]._serialized_options = b'\202\323\344\223\002\033"\026/cosmos/tx/v1beta1/txs:\001*' - _globals["_SERVICE"].methods_by_name["GetTxsEvent"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "GetTxsEvent" - ]._serialized_options = b"\202\323\344\223\002\030\022\026/cosmos/tx/v1beta1/txs" - _globals["_SERVICE"].methods_by_name["GetBlockWithTxs"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "GetBlockWithTxs" - ]._serialized_options = b"\202\323\344\223\002'\022%/cosmos/tx/v1beta1/txs/block/{height}" - _globals["_SERVICE"].methods_by_name["TxDecode"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "TxDecode" - ]._serialized_options = b'\202\323\344\223\002\036"\031/cosmos/tx/v1beta1/decode:\001*' - _globals["_SERVICE"].methods_by_name["TxEncode"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "TxEncode" - ]._serialized_options = b'\202\323\344\223\002\036"\031/cosmos/tx/v1beta1/encode:\001*' - _globals["_SERVICE"].methods_by_name["TxEncodeAmino"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "TxEncodeAmino" - ]._serialized_options = b'\202\323\344\223\002$"\037/cosmos/tx/v1beta1/encode/amino:\001*' - _globals["_SERVICE"].methods_by_name["TxDecodeAmino"]._loaded_options = None - _globals["_SERVICE"].methods_by_name[ - "TxDecodeAmino" - ]._serialized_options = b'\202\323\344\223\002$"\037/cosmos/tx/v1beta1/decode/amino:\001*' - _globals["_ORDERBY"]._serialized_start = 2131 - _globals["_ORDERBY"]._serialized_end = 2203 - _globals["_BROADCASTMODE"]._serialized_start = 2206 - _globals["_BROADCASTMODE"]._serialized_end = 2334 - _globals["_GETTXSEVENTREQUEST"]._serialized_start = 254 - _globals["_GETTXSEVENTREQUEST"]._serialized_end = 497 - _globals["_GETTXSEVENTRESPONSE"]._serialized_start = 500 - _globals["_GETTXSEVENTRESPONSE"]._serialized_end = 734 - _globals["_BROADCASTTXREQUEST"]._serialized_start = 736 - _globals["_BROADCASTTXREQUEST"]._serialized_end = 837 - _globals["_BROADCASTTXRESPONSE"]._serialized_start = 839 - _globals["_BROADCASTTXRESPONSE"]._serialized_end = 931 - _globals["_SIMULATEREQUEST"]._serialized_start = 933 - _globals["_SIMULATEREQUEST"]._serialized_end = 1020 - _globals["_SIMULATERESPONSE"]._serialized_start = 1023 - _globals["_SIMULATERESPONSE"]._serialized_end = 1161 - _globals["_GETTXREQUEST"]._serialized_start = 1163 - _globals["_GETTXREQUEST"]._serialized_end = 1197 - _globals["_GETTXRESPONSE"]._serialized_start = 1199 - _globals["_GETTXRESPONSE"]._serialized_end = 1324 - _globals["_GETBLOCKWITHTXSREQUEST"]._serialized_start = 1326 - _globals["_GETBLOCKWITHTXSREQUEST"]._serialized_end = 1446 - _globals["_GETBLOCKWITHTXSRESPONSE"]._serialized_start = 1449 - _globals["_GETBLOCKWITHTXSRESPONSE"]._serialized_end = 1689 - _globals["_TXDECODEREQUEST"]._serialized_start = 1691 - _globals["_TXDECODEREQUEST"]._serialized_end = 1735 - _globals["_TXDECODERESPONSE"]._serialized_start = 1737 - _globals["_TXDECODERESPONSE"]._serialized_end = 1794 - _globals["_TXENCODEREQUEST"]._serialized_start = 1796 - _globals["_TXENCODEREQUEST"]._serialized_end = 1852 - _globals["_TXENCODERESPONSE"]._serialized_start = 1854 - _globals["_TXENCODERESPONSE"]._serialized_end = 1899 - _globals["_TXENCODEAMINOREQUEST"]._serialized_start = 1901 - _globals["_TXENCODEAMINOREQUEST"]._serialized_end = 1954 - _globals["_TXENCODEAMINORESPONSE"]._serialized_start = 1956 - _globals["_TXENCODEAMINORESPONSE"]._serialized_end = 2014 - _globals["_TXDECODEAMINOREQUEST"]._serialized_start = 2016 - _globals["_TXDECODEAMINOREQUEST"]._serialized_end = 2073 - _globals["_TXDECODEAMINORESPONSE"]._serialized_start = 2075 - _globals["_TXDECODEAMINORESPONSE"]._serialized_end = 2129 - _globals["_SERVICE"]._serialized_start = 2337 - _globals["_SERVICE"]._serialized_end = 3531 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.tx.v1beta1B\014ServiceProtoP\001Z%github.com/cosmos/cosmos-sdk/types/tx\242\002\003CTX\252\002\021Cosmos.Tx.V1beta1\312\002\021Cosmos\\Tx\\V1beta1\342\002\035Cosmos\\Tx\\V1beta1\\GPBMetadata\352\002\023Cosmos::Tx::V1beta1' + _globals['_BROADCASTMODE'].values_by_name["BROADCAST_MODE_BLOCK"]._loaded_options = None + _globals['_BROADCASTMODE'].values_by_name["BROADCAST_MODE_BLOCK"]._serialized_options = b'\010\001' + _globals['_GETTXSEVENTREQUEST'].fields_by_name['events']._loaded_options = None + _globals['_GETTXSEVENTREQUEST'].fields_by_name['events']._serialized_options = b'\030\001' + _globals['_GETTXSEVENTREQUEST'].fields_by_name['pagination']._loaded_options = None + _globals['_GETTXSEVENTREQUEST'].fields_by_name['pagination']._serialized_options = b'\030\001' + _globals['_GETTXSEVENTRESPONSE'].fields_by_name['pagination']._loaded_options = None + _globals['_GETTXSEVENTRESPONSE'].fields_by_name['pagination']._serialized_options = b'\030\001' + _globals['_SIMULATEREQUEST'].fields_by_name['tx']._loaded_options = None + _globals['_SIMULATEREQUEST'].fields_by_name['tx']._serialized_options = b'\030\001' + _globals['_SERVICE'].methods_by_name['Simulate']._loaded_options = None + _globals['_SERVICE'].methods_by_name['Simulate']._serialized_options = b'\202\323\344\223\002 \"\033/cosmos/tx/v1beta1/simulate:\001*' + _globals['_SERVICE'].methods_by_name['GetTx']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetTx']._serialized_options = b'\202\323\344\223\002\037\022\035/cosmos/tx/v1beta1/txs/{hash}' + _globals['_SERVICE'].methods_by_name['BroadcastTx']._loaded_options = None + _globals['_SERVICE'].methods_by_name['BroadcastTx']._serialized_options = b'\202\323\344\223\002\033\"\026/cosmos/tx/v1beta1/txs:\001*' + _globals['_SERVICE'].methods_by_name['GetTxsEvent']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetTxsEvent']._serialized_options = b'\202\323\344\223\002\030\022\026/cosmos/tx/v1beta1/txs' + _globals['_SERVICE'].methods_by_name['GetBlockWithTxs']._loaded_options = None + _globals['_SERVICE'].methods_by_name['GetBlockWithTxs']._serialized_options = b'\202\323\344\223\002\'\022%/cosmos/tx/v1beta1/txs/block/{height}' + _globals['_SERVICE'].methods_by_name['TxDecode']._loaded_options = None + _globals['_SERVICE'].methods_by_name['TxDecode']._serialized_options = b'\202\323\344\223\002\036\"\031/cosmos/tx/v1beta1/decode:\001*' + _globals['_SERVICE'].methods_by_name['TxEncode']._loaded_options = None + _globals['_SERVICE'].methods_by_name['TxEncode']._serialized_options = b'\202\323\344\223\002\036\"\031/cosmos/tx/v1beta1/encode:\001*' + _globals['_SERVICE'].methods_by_name['TxEncodeAmino']._loaded_options = None + _globals['_SERVICE'].methods_by_name['TxEncodeAmino']._serialized_options = b'\202\323\344\223\002$\"\037/cosmos/tx/v1beta1/encode/amino:\001*' + _globals['_SERVICE'].methods_by_name['TxDecodeAmino']._loaded_options = None + _globals['_SERVICE'].methods_by_name['TxDecodeAmino']._serialized_options = b'\202\323\344\223\002$\"\037/cosmos/tx/v1beta1/decode/amino:\001*' + _globals['_ORDERBY']._serialized_start=2131 + _globals['_ORDERBY']._serialized_end=2203 + _globals['_BROADCASTMODE']._serialized_start=2206 + _globals['_BROADCASTMODE']._serialized_end=2334 + _globals['_GETTXSEVENTREQUEST']._serialized_start=254 + _globals['_GETTXSEVENTREQUEST']._serialized_end=497 + _globals['_GETTXSEVENTRESPONSE']._serialized_start=500 + _globals['_GETTXSEVENTRESPONSE']._serialized_end=734 + _globals['_BROADCASTTXREQUEST']._serialized_start=736 + _globals['_BROADCASTTXREQUEST']._serialized_end=837 + _globals['_BROADCASTTXRESPONSE']._serialized_start=839 + _globals['_BROADCASTTXRESPONSE']._serialized_end=931 + _globals['_SIMULATEREQUEST']._serialized_start=933 + _globals['_SIMULATEREQUEST']._serialized_end=1020 + _globals['_SIMULATERESPONSE']._serialized_start=1023 + _globals['_SIMULATERESPONSE']._serialized_end=1161 + _globals['_GETTXREQUEST']._serialized_start=1163 + _globals['_GETTXREQUEST']._serialized_end=1197 + _globals['_GETTXRESPONSE']._serialized_start=1199 + _globals['_GETTXRESPONSE']._serialized_end=1324 + _globals['_GETBLOCKWITHTXSREQUEST']._serialized_start=1326 + _globals['_GETBLOCKWITHTXSREQUEST']._serialized_end=1446 + _globals['_GETBLOCKWITHTXSRESPONSE']._serialized_start=1449 + _globals['_GETBLOCKWITHTXSRESPONSE']._serialized_end=1689 + _globals['_TXDECODEREQUEST']._serialized_start=1691 + _globals['_TXDECODEREQUEST']._serialized_end=1735 + _globals['_TXDECODERESPONSE']._serialized_start=1737 + _globals['_TXDECODERESPONSE']._serialized_end=1794 + _globals['_TXENCODEREQUEST']._serialized_start=1796 + _globals['_TXENCODEREQUEST']._serialized_end=1852 + _globals['_TXENCODERESPONSE']._serialized_start=1854 + _globals['_TXENCODERESPONSE']._serialized_end=1899 + _globals['_TXENCODEAMINOREQUEST']._serialized_start=1901 + _globals['_TXENCODEAMINOREQUEST']._serialized_end=1954 + _globals['_TXENCODEAMINORESPONSE']._serialized_start=1956 + _globals['_TXENCODEAMINORESPONSE']._serialized_end=2014 + _globals['_TXDECODEAMINOREQUEST']._serialized_start=2016 + _globals['_TXDECODEAMINOREQUEST']._serialized_end=2073 + _globals['_TXDECODEAMINORESPONSE']._serialized_start=2075 + _globals['_TXDECODEAMINORESPONSE']._serialized_end=2129 + _globals['_SERVICE']._serialized_start=2337 + _globals['_SERVICE']._serialized_end=3531 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/v1beta1/service_pb2_grpc.py b/pyinjective/proto/cosmos/tx/v1beta1/service_pb2_grpc.py index 76881ca7..df830953 100644 --- a/pyinjective/proto/cosmos/tx/v1beta1/service_pb2_grpc.py +++ b/pyinjective/proto/cosmos/tx/v1beta1/service_pb2_grpc.py @@ -6,7 +6,8 @@ class ServiceStub(object): - """Service defines a gRPC service for interacting with transactions.""" + """Service defines a gRPC service for interacting with transactions. + """ def __init__(self, channel): """Constructor. @@ -15,87 +16,83 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Simulate = channel.unary_unary( - "/cosmos.tx.v1beta1.Service/Simulate", - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateResponse.FromString, - _registered_method=True, - ) + '/cosmos.tx.v1beta1.Service/Simulate', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateResponse.FromString, + _registered_method=True) self.GetTx = channel.unary_unary( - "/cosmos.tx.v1beta1.Service/GetTx", - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxResponse.FromString, - _registered_method=True, - ) + '/cosmos.tx.v1beta1.Service/GetTx', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxResponse.FromString, + _registered_method=True) self.BroadcastTx = channel.unary_unary( - "/cosmos.tx.v1beta1.Service/BroadcastTx", - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxResponse.FromString, - _registered_method=True, - ) + '/cosmos.tx.v1beta1.Service/BroadcastTx', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxResponse.FromString, + _registered_method=True) self.GetTxsEvent = channel.unary_unary( - "/cosmos.tx.v1beta1.Service/GetTxsEvent", - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventResponse.FromString, - _registered_method=True, - ) + '/cosmos.tx.v1beta1.Service/GetTxsEvent', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventResponse.FromString, + _registered_method=True) self.GetBlockWithTxs = channel.unary_unary( - "/cosmos.tx.v1beta1.Service/GetBlockWithTxs", - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsResponse.FromString, - _registered_method=True, - ) + '/cosmos.tx.v1beta1.Service/GetBlockWithTxs', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsResponse.FromString, + _registered_method=True) self.TxDecode = channel.unary_unary( - "/cosmos.tx.v1beta1.Service/TxDecode", - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeResponse.FromString, - _registered_method=True, - ) + '/cosmos.tx.v1beta1.Service/TxDecode', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeResponse.FromString, + _registered_method=True) self.TxEncode = channel.unary_unary( - "/cosmos.tx.v1beta1.Service/TxEncode", - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeResponse.FromString, - _registered_method=True, - ) + '/cosmos.tx.v1beta1.Service/TxEncode', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeResponse.FromString, + _registered_method=True) self.TxEncodeAmino = channel.unary_unary( - "/cosmos.tx.v1beta1.Service/TxEncodeAmino", - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoResponse.FromString, - _registered_method=True, - ) + '/cosmos.tx.v1beta1.Service/TxEncodeAmino', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoResponse.FromString, + _registered_method=True) self.TxDecodeAmino = channel.unary_unary( - "/cosmos.tx.v1beta1.Service/TxDecodeAmino", - request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoRequest.SerializeToString, - response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoResponse.FromString, - _registered_method=True, - ) + '/cosmos.tx.v1beta1.Service/TxDecodeAmino', + request_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoRequest.SerializeToString, + response_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoResponse.FromString, + _registered_method=True) class ServiceServicer(object): - """Service defines a gRPC service for interacting with transactions.""" + """Service defines a gRPC service for interacting with transactions. + """ def Simulate(self, request, context): - """Simulate simulates executing a transaction for estimating gas usage.""" + """Simulate simulates executing a transaction for estimating gas usage. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetTx(self, request, context): - """GetTx fetches a tx by hash.""" + """GetTx fetches a tx by hash. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def BroadcastTx(self, request, context): - """BroadcastTx broadcast transaction.""" + """BroadcastTx broadcast transaction. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetTxsEvent(self, request, context): - """GetTxsEvent fetches txs by event.""" + """GetTxsEvent fetches txs by event. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetBlockWithTxs(self, request, context): """GetBlockWithTxs fetches a block with decoded txs. @@ -103,8 +100,8 @@ def GetBlockWithTxs(self, request, context): Since: cosmos-sdk 0.45.2 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TxDecode(self, request, context): """TxDecode decodes the transaction. @@ -112,8 +109,8 @@ def TxDecode(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TxEncode(self, request, context): """TxEncode encodes the transaction. @@ -121,8 +118,8 @@ def TxEncode(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TxEncodeAmino(self, request, context): """TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes. @@ -130,8 +127,8 @@ def TxEncodeAmino(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TxDecodeAmino(self, request, context): """TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON. @@ -139,84 +136,84 @@ def TxDecodeAmino(self, request, context): Since: cosmos-sdk 0.47 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_ServiceServicer_to_server(servicer, server): rpc_method_handlers = { - "Simulate": grpc.unary_unary_rpc_method_handler( - servicer.Simulate, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateResponse.SerializeToString, - ), - "GetTx": grpc.unary_unary_rpc_method_handler( - servicer.GetTx, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxResponse.SerializeToString, - ), - "BroadcastTx": grpc.unary_unary_rpc_method_handler( - servicer.BroadcastTx, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxResponse.SerializeToString, - ), - "GetTxsEvent": grpc.unary_unary_rpc_method_handler( - servicer.GetTxsEvent, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventResponse.SerializeToString, - ), - "GetBlockWithTxs": grpc.unary_unary_rpc_method_handler( - servicer.GetBlockWithTxs, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsResponse.SerializeToString, - ), - "TxDecode": grpc.unary_unary_rpc_method_handler( - servicer.TxDecode, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeResponse.SerializeToString, - ), - "TxEncode": grpc.unary_unary_rpc_method_handler( - servicer.TxEncode, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeResponse.SerializeToString, - ), - "TxEncodeAmino": grpc.unary_unary_rpc_method_handler( - servicer.TxEncodeAmino, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoResponse.SerializeToString, - ), - "TxDecodeAmino": grpc.unary_unary_rpc_method_handler( - servicer.TxDecodeAmino, - request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoRequest.FromString, - response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoResponse.SerializeToString, - ), + 'Simulate': grpc.unary_unary_rpc_method_handler( + servicer.Simulate, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateResponse.SerializeToString, + ), + 'GetTx': grpc.unary_unary_rpc_method_handler( + servicer.GetTx, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxResponse.SerializeToString, + ), + 'BroadcastTx': grpc.unary_unary_rpc_method_handler( + servicer.BroadcastTx, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxResponse.SerializeToString, + ), + 'GetTxsEvent': grpc.unary_unary_rpc_method_handler( + servicer.GetTxsEvent, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventResponse.SerializeToString, + ), + 'GetBlockWithTxs': grpc.unary_unary_rpc_method_handler( + servicer.GetBlockWithTxs, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsResponse.SerializeToString, + ), + 'TxDecode': grpc.unary_unary_rpc_method_handler( + servicer.TxDecode, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeResponse.SerializeToString, + ), + 'TxEncode': grpc.unary_unary_rpc_method_handler( + servicer.TxEncode, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeResponse.SerializeToString, + ), + 'TxEncodeAmino': grpc.unary_unary_rpc_method_handler( + servicer.TxEncodeAmino, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoResponse.SerializeToString, + ), + 'TxDecodeAmino': grpc.unary_unary_rpc_method_handler( + servicer.TxDecodeAmino, + request_deserializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoRequest.FromString, + response_serializer=cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.tx.v1beta1.Service", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.tx.v1beta1.Service', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.tx.v1beta1.Service", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.tx.v1beta1.Service', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Service(object): - """Service defines a gRPC service for interacting with transactions.""" + """Service defines a gRPC service for interacting with transactions. + """ @staticmethod - def Simulate( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Simulate(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.tx.v1beta1.Service/Simulate", + '/cosmos.tx.v1beta1.Service/Simulate', cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.SimulateResponse.FromString, options, @@ -227,26 +224,23 @@ def Simulate( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GetTx( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GetTx(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.tx.v1beta1.Service/GetTx", + '/cosmos.tx.v1beta1.Service/GetTx', cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxResponse.FromString, options, @@ -257,26 +251,23 @@ def GetTx( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def BroadcastTx( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def BroadcastTx(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.tx.v1beta1.Service/BroadcastTx", + '/cosmos.tx.v1beta1.Service/BroadcastTx', cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.BroadcastTxResponse.FromString, options, @@ -287,26 +278,23 @@ def BroadcastTx( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GetTxsEvent( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GetTxsEvent(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.tx.v1beta1.Service/GetTxsEvent", + '/cosmos.tx.v1beta1.Service/GetTxsEvent', cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetTxsEventResponse.FromString, options, @@ -317,26 +305,23 @@ def GetTxsEvent( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GetBlockWithTxs( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GetBlockWithTxs(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.tx.v1beta1.Service/GetBlockWithTxs", + '/cosmos.tx.v1beta1.Service/GetBlockWithTxs', cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.GetBlockWithTxsResponse.FromString, options, @@ -347,26 +332,23 @@ def GetBlockWithTxs( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def TxDecode( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def TxDecode(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.tx.v1beta1.Service/TxDecode", + '/cosmos.tx.v1beta1.Service/TxDecode', cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeResponse.FromString, options, @@ -377,26 +359,23 @@ def TxDecode( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def TxEncode( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def TxEncode(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.tx.v1beta1.Service/TxEncode", + '/cosmos.tx.v1beta1.Service/TxEncode', cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeResponse.FromString, options, @@ -407,26 +386,23 @@ def TxEncode( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def TxEncodeAmino( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def TxEncodeAmino(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.tx.v1beta1.Service/TxEncodeAmino", + '/cosmos.tx.v1beta1.Service/TxEncodeAmino', cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxEncodeAminoResponse.FromString, options, @@ -437,26 +413,23 @@ def TxEncodeAmino( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def TxDecodeAmino( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def TxDecodeAmino(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.tx.v1beta1.Service/TxDecodeAmino", + '/cosmos.tx.v1beta1.Service/TxDecodeAmino', cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoRequest.SerializeToString, cosmos_dot_tx_dot_v1beta1_dot_service__pb2.TxDecodeAminoResponse.FromString, options, @@ -467,5 +440,4 @@ def TxDecodeAmino( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py index 2bd91fb2..00abd56e 100644 --- a/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -15,75 +14,63 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.cosmos.crypto.multisig.v1beta1 import ( - multisig_pb2 as cosmos_dot_crypto_dot_multisig_dot_v1beta1_dot_multisig__pb2, -) +from pyinjective.proto.cosmos.crypto.multisig.v1beta1 import multisig_pb2 as cosmos_dot_crypto_dot_multisig_dot_v1beta1_dot_multisig__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.tx.signing.v1beta1 import ( - signing_pb2 as cosmos_dot_tx_dot_signing_dot_v1beta1_dot_signing__pb2, -) +from pyinjective.proto.cosmos.tx.signing.v1beta1 import signing_pb2 as cosmos_dot_tx_dot_signing_dot_v1beta1_dot_signing__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1a\x63osmos/tx/v1beta1/tx.proto\x12\x11\x63osmos.tx.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\'cosmos/tx/signing/v1beta1/signing.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto"\x8d\x01\n\x02Tx\x12-\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x19.cosmos.tx.v1beta1.TxBodyR\x04\x62ody\x12\x38\n\tauth_info\x18\x02 \x01(\x0b\x32\x1b.cosmos.tx.v1beta1.AuthInfoR\x08\x61uthInfo\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures"n\n\x05TxRaw\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12&\n\x0f\x61uth_info_bytes\x18\x02 \x01(\x0cR\rauthInfoBytes\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures"\x92\x01\n\x07SignDoc\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12&\n\x0f\x61uth_info_bytes\x18\x02 \x01(\x0cR\rauthInfoBytes\x12\x19\n\x08\x63hain_id\x18\x03 \x01(\tR\x07\x63hainId\x12%\n\x0e\x61\x63\x63ount_number\x18\x04 \x01(\x04R\raccountNumber"\xf2\x01\n\x10SignDocDirectAux\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12\x33\n\npublic_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12\x19\n\x08\x63hain_id\x18\x03 \x01(\tR\x07\x63hainId\x12%\n\x0e\x61\x63\x63ount_number\x18\x04 \x01(\x04R\raccountNumber\x12\x1a\n\x08sequence\x18\x05 \x01(\x04R\x08sequence\x12,\n\x03tip\x18\x06 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.TipB\x02\x18\x01R\x03tip"\x95\x02\n\x06TxBody\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x12\n\x04memo\x18\x02 \x01(\tR\x04memo\x12%\n\x0etimeout_height\x18\x03 \x01(\x04R\rtimeoutHeight\x12\x42\n\x11\x65xtension_options\x18\xff\x07 \x03(\x0b\x32\x14.google.protobuf.AnyR\x10\x65xtensionOptions\x12Z\n\x1enon_critical_extension_options\x18\xff\x0f \x03(\x0b\x32\x14.google.protobuf.AnyR\x1bnonCriticalExtensionOptions"\xa4\x01\n\x08\x41uthInfo\x12@\n\x0csigner_infos\x18\x01 \x03(\x0b\x32\x1d.cosmos.tx.v1beta1.SignerInfoR\x0bsignerInfos\x12(\n\x03\x66\x65\x65\x18\x02 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.FeeR\x03\x66\x65\x65\x12,\n\x03tip\x18\x03 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.TipB\x02\x18\x01R\x03tip"\x97\x01\n\nSignerInfo\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12\x38\n\tmode_info\x18\x02 \x01(\x0b\x32\x1b.cosmos.tx.v1beta1.ModeInfoR\x08modeInfo\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence"\xe0\x02\n\x08ModeInfo\x12<\n\x06single\x18\x01 \x01(\x0b\x32".cosmos.tx.v1beta1.ModeInfo.SingleH\x00R\x06single\x12\x39\n\x05multi\x18\x02 \x01(\x0b\x32!.cosmos.tx.v1beta1.ModeInfo.MultiH\x00R\x05multi\x1a\x41\n\x06Single\x12\x37\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x1a\x90\x01\n\x05Multi\x12K\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArrayR\x08\x62itarray\x12:\n\nmode_infos\x18\x02 \x03(\x0b\x32\x1b.cosmos.tx.v1beta1.ModeInfoR\tmodeInfosB\x05\n\x03sum"\x81\x02\n\x03\x46\x65\x65\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x1b\n\tgas_limit\x18\x02 \x01(\x04R\x08gasLimit\x12.\n\x05payer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05payer\x12\x32\n\x07granter\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter"\xb6\x01\n\x03Tip\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x30\n\x06tipper\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06tipper:\x02\x18\x01"\xce\x01\n\rAuxSignerData\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12>\n\x08sign_doc\x18\x02 \x01(\x0b\x32#.cosmos.tx.v1beta1.SignDocDirectAuxR\x07signDoc\x12\x37\n\x04mode\x18\x03 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x12\x10\n\x03sig\x18\x04 \x01(\x0cR\x03sigB\xad\x01\n\x15\x63om.cosmos.tx.v1beta1B\x07TxProtoP\x01Z%github.com/cosmos/cosmos-sdk/types/tx\xa2\x02\x03\x43TX\xaa\x02\x11\x43osmos.Tx.V1beta1\xca\x02\x11\x43osmos\\Tx\\V1beta1\xe2\x02\x1d\x43osmos\\Tx\\V1beta1\\GPBMetadata\xea\x02\x13\x43osmos::Tx::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63osmos/tx/v1beta1/tx.proto\x12\x11\x63osmos.tx.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\'cosmos/tx/signing/v1beta1/signing.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x8d\x01\n\x02Tx\x12-\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x19.cosmos.tx.v1beta1.TxBodyR\x04\x62ody\x12\x38\n\tauth_info\x18\x02 \x01(\x0b\x32\x1b.cosmos.tx.v1beta1.AuthInfoR\x08\x61uthInfo\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures\"n\n\x05TxRaw\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12&\n\x0f\x61uth_info_bytes\x18\x02 \x01(\x0cR\rauthInfoBytes\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures\"\x92\x01\n\x07SignDoc\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12&\n\x0f\x61uth_info_bytes\x18\x02 \x01(\x0cR\rauthInfoBytes\x12\x19\n\x08\x63hain_id\x18\x03 \x01(\tR\x07\x63hainId\x12%\n\x0e\x61\x63\x63ount_number\x18\x04 \x01(\x04R\raccountNumber\"\xf2\x01\n\x10SignDocDirectAux\x12\x1d\n\nbody_bytes\x18\x01 \x01(\x0cR\tbodyBytes\x12\x33\n\npublic_key\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12\x19\n\x08\x63hain_id\x18\x03 \x01(\tR\x07\x63hainId\x12%\n\x0e\x61\x63\x63ount_number\x18\x04 \x01(\x04R\raccountNumber\x12\x1a\n\x08sequence\x18\x05 \x01(\x04R\x08sequence\x12,\n\x03tip\x18\x06 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.TipB\x02\x18\x01R\x03tip\"\x95\x02\n\x06TxBody\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages\x12\x12\n\x04memo\x18\x02 \x01(\tR\x04memo\x12%\n\x0etimeout_height\x18\x03 \x01(\x04R\rtimeoutHeight\x12\x42\n\x11\x65xtension_options\x18\xff\x07 \x03(\x0b\x32\x14.google.protobuf.AnyR\x10\x65xtensionOptions\x12Z\n\x1enon_critical_extension_options\x18\xff\x0f \x03(\x0b\x32\x14.google.protobuf.AnyR\x1bnonCriticalExtensionOptions\"\xa4\x01\n\x08\x41uthInfo\x12@\n\x0csigner_infos\x18\x01 \x03(\x0b\x32\x1d.cosmos.tx.v1beta1.SignerInfoR\x0bsignerInfos\x12(\n\x03\x66\x65\x65\x18\x02 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.FeeR\x03\x66\x65\x65\x12,\n\x03tip\x18\x03 \x01(\x0b\x32\x16.cosmos.tx.v1beta1.TipB\x02\x18\x01R\x03tip\"\x97\x01\n\nSignerInfo\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12\x38\n\tmode_info\x18\x02 \x01(\x0b\x32\x1b.cosmos.tx.v1beta1.ModeInfoR\x08modeInfo\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\"\xe0\x02\n\x08ModeInfo\x12<\n\x06single\x18\x01 \x01(\x0b\x32\".cosmos.tx.v1beta1.ModeInfo.SingleH\x00R\x06single\x12\x39\n\x05multi\x18\x02 \x01(\x0b\x32!.cosmos.tx.v1beta1.ModeInfo.MultiH\x00R\x05multi\x1a\x41\n\x06Single\x12\x37\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x1a\x90\x01\n\x05Multi\x12K\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArrayR\x08\x62itarray\x12:\n\nmode_infos\x18\x02 \x03(\x0b\x32\x1b.cosmos.tx.v1beta1.ModeInfoR\tmodeInfosB\x05\n\x03sum\"\x81\x02\n\x03\x46\x65\x65\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x1b\n\tgas_limit\x18\x02 \x01(\x04R\x08gasLimit\x12.\n\x05payer\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05payer\x12\x32\n\x07granter\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07granter\"\xb6\x01\n\x03Tip\x12y\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x30\n\x06tipper\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06tipper:\x02\x18\x01\"\xce\x01\n\rAuxSignerData\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12>\n\x08sign_doc\x18\x02 \x01(\x0b\x32#.cosmos.tx.v1beta1.SignDocDirectAuxR\x07signDoc\x12\x37\n\x04mode\x18\x03 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignModeR\x04mode\x12\x10\n\x03sig\x18\x04 \x01(\x0cR\x03sigB\xad\x01\n\x15\x63om.cosmos.tx.v1beta1B\x07TxProtoP\x01Z%github.com/cosmos/cosmos-sdk/types/tx\xa2\x02\x03\x43TX\xaa\x02\x11\x43osmos.Tx.V1beta1\xca\x02\x11\x43osmos\\Tx\\V1beta1\xe2\x02\x1d\x43osmos\\Tx\\V1beta1\\GPBMetadata\xea\x02\x13\x43osmos::Tx::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.tx.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\025com.cosmos.tx.v1beta1B\007TxProtoP\001Z%github.com/cosmos/cosmos-sdk/types/tx\242\002\003CTX\252\002\021Cosmos.Tx.V1beta1\312\002\021Cosmos\\Tx\\V1beta1\342\002\035Cosmos\\Tx\\V1beta1\\GPBMetadata\352\002\023Cosmos::Tx::V1beta1" - ) - _globals["_SIGNDOCDIRECTAUX"].fields_by_name["tip"]._loaded_options = None - _globals["_SIGNDOCDIRECTAUX"].fields_by_name["tip"]._serialized_options = b"\030\001" - _globals["_AUTHINFO"].fields_by_name["tip"]._loaded_options = None - _globals["_AUTHINFO"].fields_by_name["tip"]._serialized_options = b"\030\001" - _globals["_FEE"].fields_by_name["amount"]._loaded_options = None - _globals["_FEE"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_FEE"].fields_by_name["payer"]._loaded_options = None - _globals["_FEE"].fields_by_name["payer"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_FEE"].fields_by_name["granter"]._loaded_options = None - _globals["_FEE"].fields_by_name["granter"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_TIP"].fields_by_name["amount"]._loaded_options = None - _globals["_TIP"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_TIP"].fields_by_name["tipper"]._loaded_options = None - _globals["_TIP"].fields_by_name["tipper"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_TIP"]._loaded_options = None - _globals["_TIP"]._serialized_options = b"\030\001" - _globals["_AUXSIGNERDATA"].fields_by_name["address"]._loaded_options = None - _globals["_AUXSIGNERDATA"].fields_by_name["address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_TX"]._serialized_start = 265 - _globals["_TX"]._serialized_end = 406 - _globals["_TXRAW"]._serialized_start = 408 - _globals["_TXRAW"]._serialized_end = 518 - _globals["_SIGNDOC"]._serialized_start = 521 - _globals["_SIGNDOC"]._serialized_end = 667 - _globals["_SIGNDOCDIRECTAUX"]._serialized_start = 670 - _globals["_SIGNDOCDIRECTAUX"]._serialized_end = 912 - _globals["_TXBODY"]._serialized_start = 915 - _globals["_TXBODY"]._serialized_end = 1192 - _globals["_AUTHINFO"]._serialized_start = 1195 - _globals["_AUTHINFO"]._serialized_end = 1359 - _globals["_SIGNERINFO"]._serialized_start = 1362 - _globals["_SIGNERINFO"]._serialized_end = 1513 - _globals["_MODEINFO"]._serialized_start = 1516 - _globals["_MODEINFO"]._serialized_end = 1868 - _globals["_MODEINFO_SINGLE"]._serialized_start = 1649 - _globals["_MODEINFO_SINGLE"]._serialized_end = 1714 - _globals["_MODEINFO_MULTI"]._serialized_start = 1717 - _globals["_MODEINFO_MULTI"]._serialized_end = 1861 - _globals["_FEE"]._serialized_start = 1871 - _globals["_FEE"]._serialized_end = 2128 - _globals["_TIP"]._serialized_start = 2131 - _globals["_TIP"]._serialized_end = 2313 - _globals["_AUXSIGNERDATA"]._serialized_start = 2316 - _globals["_AUXSIGNERDATA"]._serialized_end = 2522 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.cosmos.tx.v1beta1B\007TxProtoP\001Z%github.com/cosmos/cosmos-sdk/types/tx\242\002\003CTX\252\002\021Cosmos.Tx.V1beta1\312\002\021Cosmos\\Tx\\V1beta1\342\002\035Cosmos\\Tx\\V1beta1\\GPBMetadata\352\002\023Cosmos::Tx::V1beta1' + _globals['_SIGNDOCDIRECTAUX'].fields_by_name['tip']._loaded_options = None + _globals['_SIGNDOCDIRECTAUX'].fields_by_name['tip']._serialized_options = b'\030\001' + _globals['_AUTHINFO'].fields_by_name['tip']._loaded_options = None + _globals['_AUTHINFO'].fields_by_name['tip']._serialized_options = b'\030\001' + _globals['_FEE'].fields_by_name['amount']._loaded_options = None + _globals['_FEE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_FEE'].fields_by_name['payer']._loaded_options = None + _globals['_FEE'].fields_by_name['payer']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_FEE'].fields_by_name['granter']._loaded_options = None + _globals['_FEE'].fields_by_name['granter']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_TIP'].fields_by_name['amount']._loaded_options = None + _globals['_TIP'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_TIP'].fields_by_name['tipper']._loaded_options = None + _globals['_TIP'].fields_by_name['tipper']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_TIP']._loaded_options = None + _globals['_TIP']._serialized_options = b'\030\001' + _globals['_AUXSIGNERDATA'].fields_by_name['address']._loaded_options = None + _globals['_AUXSIGNERDATA'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_TX']._serialized_start=265 + _globals['_TX']._serialized_end=406 + _globals['_TXRAW']._serialized_start=408 + _globals['_TXRAW']._serialized_end=518 + _globals['_SIGNDOC']._serialized_start=521 + _globals['_SIGNDOC']._serialized_end=667 + _globals['_SIGNDOCDIRECTAUX']._serialized_start=670 + _globals['_SIGNDOCDIRECTAUX']._serialized_end=912 + _globals['_TXBODY']._serialized_start=915 + _globals['_TXBODY']._serialized_end=1192 + _globals['_AUTHINFO']._serialized_start=1195 + _globals['_AUTHINFO']._serialized_end=1359 + _globals['_SIGNERINFO']._serialized_start=1362 + _globals['_SIGNERINFO']._serialized_end=1513 + _globals['_MODEINFO']._serialized_start=1516 + _globals['_MODEINFO']._serialized_end=1868 + _globals['_MODEINFO_SINGLE']._serialized_start=1649 + _globals['_MODEINFO_SINGLE']._serialized_end=1714 + _globals['_MODEINFO_MULTI']._serialized_start=1717 + _globals['_MODEINFO_MULTI']._serialized_end=1861 + _globals['_FEE']._serialized_start=1871 + _globals['_FEE']._serialized_end=2128 + _globals['_TIP']._serialized_start=2131 + _globals['_TIP']._serialized_end=2313 + _globals['_AUXSIGNERDATA']._serialized_start=2316 + _globals['_AUXSIGNERDATA']._serialized_end=2522 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/tx/v1beta1/tx_pb2_grpc.py @@ -1,3 +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/cosmos/upgrade/module/v1/module_pb2.py b/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2.py index 4d22e2e9..5104a264 100644 --- a/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%cosmos/upgrade/module/v1/module.proto\x12\x18\x63osmos.upgrade.module.v1\x1a cosmos/app/v1alpha1/module.proto"F\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:\x1e\xba\xc0\x96\xda\x01\x18\n\x16\x63osmossdk.io/x/upgradeB\xae\x01\n\x1c\x63om.cosmos.upgrade.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43UM\xaa\x02\x18\x43osmos.Upgrade.Module.V1\xca\x02\x18\x43osmos\\Upgrade\\Module\\V1\xe2\x02$Cosmos\\Upgrade\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Upgrade::Module::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/upgrade/module/v1/module.proto\x12\x18\x63osmos.upgrade.module.v1\x1a cosmos/app/v1alpha1/module.proto\"F\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:\x1e\xba\xc0\x96\xda\x01\x18\n\x16\x63osmossdk.io/x/upgradeB\xae\x01\n\x1c\x63om.cosmos.upgrade.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43UM\xaa\x02\x18\x43osmos.Upgrade.Module.V1\xca\x02\x18\x43osmos\\Upgrade\\Module\\V1\xe2\x02$Cosmos\\Upgrade\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Upgrade::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.upgrade.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\034com.cosmos.upgrade.module.v1B\013ModuleProtoP\001\242\002\003CUM\252\002\030Cosmos.Upgrade.Module.V1\312\002\030Cosmos\\Upgrade\\Module\\V1\342\002$Cosmos\\Upgrade\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Upgrade::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001\030\n\026cosmossdk.io/x/upgrade" - _globals["_MODULE"]._serialized_start = 101 - _globals["_MODULE"]._serialized_end = 171 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.upgrade.module.v1B\013ModuleProtoP\001\242\002\003CUM\252\002\030Cosmos.Upgrade.Module.V1\312\002\030Cosmos\\Upgrade\\Module\\V1\342\002$Cosmos\\Upgrade\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Upgrade::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001\030\n\026cosmossdk.io/x/upgrade' + _globals['_MODULE']._serialized_start=101 + _globals['_MODULE']._serialized_end=171 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/upgrade/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/upgrade/v1beta1/query_pb2.py b/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2.py index fe01419b..bd1e46f1 100644 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2.py +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,64 +16,48 @@ from pyinjective.proto.cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n"cosmos/upgrade/v1beta1/query.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto"\x19\n\x17QueryCurrentPlanRequest"L\n\x18QueryCurrentPlanResponse\x12\x30\n\x04plan\x18\x01 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanR\x04plan"-\n\x17QueryAppliedPlanRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"2\n\x18QueryAppliedPlanResponse\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height"I\n"QueryUpgradedConsensusStateRequest\x12\x1f\n\x0blast_height\x18\x01 \x01(\x03R\nlastHeight:\x02\x18\x01"i\n#QueryUpgradedConsensusStateResponse\x12\x38\n\x18upgraded_consensus_state\x18\x02 \x01(\x0cR\x16upgradedConsensusState:\x02\x18\x01J\x04\x08\x01\x10\x02"=\n\x1aQueryModuleVersionsRequest\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName"m\n\x1bQueryModuleVersionsResponse\x12N\n\x0fmodule_versions\x18\x01 \x03(\x0b\x32%.cosmos.upgrade.v1beta1.ModuleVersionR\x0emoduleVersions"\x17\n\x15QueryAuthorityRequest"2\n\x16QueryAuthorityResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress2\xf4\x06\n\x05Query\x12\x9e\x01\n\x0b\x43urrentPlan\x12/.cosmos.upgrade.v1beta1.QueryCurrentPlanRequest\x1a\x30.cosmos.upgrade.v1beta1.QueryCurrentPlanResponse",\x82\xd3\xe4\x93\x02&\x12$/cosmos/upgrade/v1beta1/current_plan\x12\xa5\x01\n\x0b\x41ppliedPlan\x12/.cosmos.upgrade.v1beta1.QueryAppliedPlanRequest\x1a\x30.cosmos.upgrade.v1beta1.QueryAppliedPlanResponse"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/upgrade/v1beta1/applied_plan/{name}\x12\xdc\x01\n\x16UpgradedConsensusState\x12:.cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest\x1a;.cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse"I\x88\x02\x01\x82\xd3\xe4\x93\x02@\x12>/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}\x12\xaa\x01\n\x0eModuleVersions\x12\x32.cosmos.upgrade.v1beta1.QueryModuleVersionsRequest\x1a\x33.cosmos.upgrade.v1beta1.QueryModuleVersionsResponse"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/upgrade/v1beta1/module_versions\x12\x95\x01\n\tAuthority\x12-.cosmos.upgrade.v1beta1.QueryAuthorityRequest\x1a..cosmos.upgrade.v1beta1.QueryAuthorityResponse")\x82\xd3\xe4\x93\x02#\x12!/cosmos/upgrade/v1beta1/authorityB\xc0\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\nQueryProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/upgrade/v1beta1/query.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\"\x19\n\x17QueryCurrentPlanRequest\"L\n\x18QueryCurrentPlanResponse\x12\x30\n\x04plan\x18\x01 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanR\x04plan\"-\n\x17QueryAppliedPlanRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"2\n\x18QueryAppliedPlanResponse\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\"I\n\"QueryUpgradedConsensusStateRequest\x12\x1f\n\x0blast_height\x18\x01 \x01(\x03R\nlastHeight:\x02\x18\x01\"i\n#QueryUpgradedConsensusStateResponse\x12\x38\n\x18upgraded_consensus_state\x18\x02 \x01(\x0cR\x16upgradedConsensusState:\x02\x18\x01J\x04\x08\x01\x10\x02\"=\n\x1aQueryModuleVersionsRequest\x12\x1f\n\x0bmodule_name\x18\x01 \x01(\tR\nmoduleName\"m\n\x1bQueryModuleVersionsResponse\x12N\n\x0fmodule_versions\x18\x01 \x03(\x0b\x32%.cosmos.upgrade.v1beta1.ModuleVersionR\x0emoduleVersions\"\x17\n\x15QueryAuthorityRequest\"2\n\x16QueryAuthorityResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress2\xf4\x06\n\x05Query\x12\x9e\x01\n\x0b\x43urrentPlan\x12/.cosmos.upgrade.v1beta1.QueryCurrentPlanRequest\x1a\x30.cosmos.upgrade.v1beta1.QueryCurrentPlanResponse\",\x82\xd3\xe4\x93\x02&\x12$/cosmos/upgrade/v1beta1/current_plan\x12\xa5\x01\n\x0b\x41ppliedPlan\x12/.cosmos.upgrade.v1beta1.QueryAppliedPlanRequest\x1a\x30.cosmos.upgrade.v1beta1.QueryAppliedPlanResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/upgrade/v1beta1/applied_plan/{name}\x12\xdc\x01\n\x16UpgradedConsensusState\x12:.cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest\x1a;.cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse\"I\x88\x02\x01\x82\xd3\xe4\x93\x02@\x12>/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}\x12\xaa\x01\n\x0eModuleVersions\x12\x32.cosmos.upgrade.v1beta1.QueryModuleVersionsRequest\x1a\x33.cosmos.upgrade.v1beta1.QueryModuleVersionsResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/upgrade/v1beta1/module_versions\x12\x95\x01\n\tAuthority\x12-.cosmos.upgrade.v1beta1.QueryAuthorityRequest\x1a..cosmos.upgrade.v1beta1.QueryAuthorityResponse\")\x82\xd3\xe4\x93\x02#\x12!/cosmos/upgrade/v1beta1/authorityB\xc0\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\nQueryProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.upgrade.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\032com.cosmos.upgrade.v1beta1B\nQueryProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1' - ) - _globals["_QUERYUPGRADEDCONSENSUSSTATEREQUEST"]._loaded_options = None - _globals["_QUERYUPGRADEDCONSENSUSSTATEREQUEST"]._serialized_options = b"\030\001" - _globals["_QUERYUPGRADEDCONSENSUSSTATERESPONSE"]._loaded_options = None - _globals["_QUERYUPGRADEDCONSENSUSSTATERESPONSE"]._serialized_options = b"\030\001" - _globals["_QUERY"].methods_by_name["CurrentPlan"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "CurrentPlan" - ]._serialized_options = b"\202\323\344\223\002&\022$/cosmos/upgrade/v1beta1/current_plan" - _globals["_QUERY"].methods_by_name["AppliedPlan"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AppliedPlan" - ]._serialized_options = b"\202\323\344\223\002-\022+/cosmos/upgrade/v1beta1/applied_plan/{name}" - _globals["_QUERY"].methods_by_name["UpgradedConsensusState"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "UpgradedConsensusState" - ]._serialized_options = ( - b"\210\002\001\202\323\344\223\002@\022>/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}" - ) - _globals["_QUERY"].methods_by_name["ModuleVersions"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ModuleVersions" - ]._serialized_options = b"\202\323\344\223\002)\022'/cosmos/upgrade/v1beta1/module_versions" - _globals["_QUERY"].methods_by_name["Authority"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Authority" - ]._serialized_options = b"\202\323\344\223\002#\022!/cosmos/upgrade/v1beta1/authority" - _globals["_QUERYCURRENTPLANREQUEST"]._serialized_start = 130 - _globals["_QUERYCURRENTPLANREQUEST"]._serialized_end = 155 - _globals["_QUERYCURRENTPLANRESPONSE"]._serialized_start = 157 - _globals["_QUERYCURRENTPLANRESPONSE"]._serialized_end = 233 - _globals["_QUERYAPPLIEDPLANREQUEST"]._serialized_start = 235 - _globals["_QUERYAPPLIEDPLANREQUEST"]._serialized_end = 280 - _globals["_QUERYAPPLIEDPLANRESPONSE"]._serialized_start = 282 - _globals["_QUERYAPPLIEDPLANRESPONSE"]._serialized_end = 332 - _globals["_QUERYUPGRADEDCONSENSUSSTATEREQUEST"]._serialized_start = 334 - _globals["_QUERYUPGRADEDCONSENSUSSTATEREQUEST"]._serialized_end = 407 - _globals["_QUERYUPGRADEDCONSENSUSSTATERESPONSE"]._serialized_start = 409 - _globals["_QUERYUPGRADEDCONSENSUSSTATERESPONSE"]._serialized_end = 514 - _globals["_QUERYMODULEVERSIONSREQUEST"]._serialized_start = 516 - _globals["_QUERYMODULEVERSIONSREQUEST"]._serialized_end = 577 - _globals["_QUERYMODULEVERSIONSRESPONSE"]._serialized_start = 579 - _globals["_QUERYMODULEVERSIONSRESPONSE"]._serialized_end = 688 - _globals["_QUERYAUTHORITYREQUEST"]._serialized_start = 690 - _globals["_QUERYAUTHORITYREQUEST"]._serialized_end = 713 - _globals["_QUERYAUTHORITYRESPONSE"]._serialized_start = 715 - _globals["_QUERYAUTHORITYRESPONSE"]._serialized_end = 765 - _globals["_QUERY"]._serialized_start = 768 - _globals["_QUERY"]._serialized_end = 1652 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.upgrade.v1beta1B\nQueryProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1' + _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._loaded_options = None + _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_options = b'\030\001' + _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._loaded_options = None + _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_options = b'\030\001' + _globals['_QUERY'].methods_by_name['CurrentPlan']._loaded_options = None + _globals['_QUERY'].methods_by_name['CurrentPlan']._serialized_options = b'\202\323\344\223\002&\022$/cosmos/upgrade/v1beta1/current_plan' + _globals['_QUERY'].methods_by_name['AppliedPlan']._loaded_options = None + _globals['_QUERY'].methods_by_name['AppliedPlan']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/upgrade/v1beta1/applied_plan/{name}' + _globals['_QUERY'].methods_by_name['UpgradedConsensusState']._loaded_options = None + _globals['_QUERY'].methods_by_name['UpgradedConsensusState']._serialized_options = b'\210\002\001\202\323\344\223\002@\022>/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}' + _globals['_QUERY'].methods_by_name['ModuleVersions']._loaded_options = None + _globals['_QUERY'].methods_by_name['ModuleVersions']._serialized_options = b'\202\323\344\223\002)\022\'/cosmos/upgrade/v1beta1/module_versions' + _globals['_QUERY'].methods_by_name['Authority']._loaded_options = None + _globals['_QUERY'].methods_by_name['Authority']._serialized_options = b'\202\323\344\223\002#\022!/cosmos/upgrade/v1beta1/authority' + _globals['_QUERYCURRENTPLANREQUEST']._serialized_start=130 + _globals['_QUERYCURRENTPLANREQUEST']._serialized_end=155 + _globals['_QUERYCURRENTPLANRESPONSE']._serialized_start=157 + _globals['_QUERYCURRENTPLANRESPONSE']._serialized_end=233 + _globals['_QUERYAPPLIEDPLANREQUEST']._serialized_start=235 + _globals['_QUERYAPPLIEDPLANREQUEST']._serialized_end=280 + _globals['_QUERYAPPLIEDPLANRESPONSE']._serialized_start=282 + _globals['_QUERYAPPLIEDPLANRESPONSE']._serialized_end=332 + _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_start=334 + _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_end=407 + _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_start=409 + _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_end=514 + _globals['_QUERYMODULEVERSIONSREQUEST']._serialized_start=516 + _globals['_QUERYMODULEVERSIONSREQUEST']._serialized_end=577 + _globals['_QUERYMODULEVERSIONSRESPONSE']._serialized_start=579 + _globals['_QUERYMODULEVERSIONSRESPONSE']._serialized_end=688 + _globals['_QUERYAUTHORITYREQUEST']._serialized_start=690 + _globals['_QUERYAUTHORITYREQUEST']._serialized_end=713 + _globals['_QUERYAUTHORITYRESPONSE']._serialized_start=715 + _globals['_QUERYAUTHORITYRESPONSE']._serialized_end=765 + _globals['_QUERY']._serialized_start=768 + _globals['_QUERY']._serialized_end=1652 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2_grpc.py b/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2_grpc.py index 32c9838d..d5092b8d 100644 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the gRPC upgrade querier service.""" + """Query defines the gRPC upgrade querier service. + """ def __init__(self, channel): """Constructor. @@ -15,51 +16,49 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.CurrentPlan = channel.unary_unary( - "/cosmos.upgrade.v1beta1.Query/CurrentPlan", - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanRequest.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanResponse.FromString, - _registered_method=True, - ) + '/cosmos.upgrade.v1beta1.Query/CurrentPlan', + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanRequest.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanResponse.FromString, + _registered_method=True) self.AppliedPlan = channel.unary_unary( - "/cosmos.upgrade.v1beta1.Query/AppliedPlan", - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanRequest.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanResponse.FromString, - _registered_method=True, - ) + '/cosmos.upgrade.v1beta1.Query/AppliedPlan', + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanRequest.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanResponse.FromString, + _registered_method=True) self.UpgradedConsensusState = channel.unary_unary( - "/cosmos.upgrade.v1beta1.Query/UpgradedConsensusState", - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, - _registered_method=True, - ) + '/cosmos.upgrade.v1beta1.Query/UpgradedConsensusState', + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, + _registered_method=True) self.ModuleVersions = channel.unary_unary( - "/cosmos.upgrade.v1beta1.Query/ModuleVersions", - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsRequest.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsResponse.FromString, - _registered_method=True, - ) + '/cosmos.upgrade.v1beta1.Query/ModuleVersions', + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsRequest.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsResponse.FromString, + _registered_method=True) self.Authority = channel.unary_unary( - "/cosmos.upgrade.v1beta1.Query/Authority", - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityRequest.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityResponse.FromString, - _registered_method=True, - ) + '/cosmos.upgrade.v1beta1.Query/Authority', + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityRequest.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC upgrade querier service.""" + """Query defines the gRPC upgrade querier service. + """ def CurrentPlan(self, request, context): - """CurrentPlan queries the current upgrade plan.""" + """CurrentPlan queries the current upgrade plan. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AppliedPlan(self, request, context): - """AppliedPlan queries a previously applied upgrade plan by its name.""" + """AppliedPlan queries a previously applied upgrade plan by its name. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpgradedConsensusState(self, request, context): """UpgradedConsensusState queries the consensus state that will serve @@ -70,8 +69,8 @@ def UpgradedConsensusState(self, request, context): (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ModuleVersions(self, request, context): """ModuleVersions queries the list of module versions from state. @@ -79,8 +78,8 @@ def ModuleVersions(self, request, context): Since: cosmos-sdk 0.43 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Authority(self, request, context): """Returns the account with authority to conduct upgrades @@ -88,64 +87,64 @@ def Authority(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "CurrentPlan": grpc.unary_unary_rpc_method_handler( - servicer.CurrentPlan, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanRequest.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanResponse.SerializeToString, - ), - "AppliedPlan": grpc.unary_unary_rpc_method_handler( - servicer.AppliedPlan, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanRequest.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanResponse.SerializeToString, - ), - "UpgradedConsensusState": grpc.unary_unary_rpc_method_handler( - servicer.UpgradedConsensusState, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateRequest.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateResponse.SerializeToString, - ), - "ModuleVersions": grpc.unary_unary_rpc_method_handler( - servicer.ModuleVersions, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsRequest.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsResponse.SerializeToString, - ), - "Authority": grpc.unary_unary_rpc_method_handler( - servicer.Authority, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityRequest.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityResponse.SerializeToString, - ), + 'CurrentPlan': grpc.unary_unary_rpc_method_handler( + servicer.CurrentPlan, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanRequest.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanResponse.SerializeToString, + ), + 'AppliedPlan': grpc.unary_unary_rpc_method_handler( + servicer.AppliedPlan, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanRequest.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanResponse.SerializeToString, + ), + 'UpgradedConsensusState': grpc.unary_unary_rpc_method_handler( + servicer.UpgradedConsensusState, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateRequest.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateResponse.SerializeToString, + ), + 'ModuleVersions': grpc.unary_unary_rpc_method_handler( + servicer.ModuleVersions, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsRequest.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsResponse.SerializeToString, + ), + 'Authority': grpc.unary_unary_rpc_method_handler( + servicer.Authority, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityRequest.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.upgrade.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.upgrade.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.upgrade.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.upgrade.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC upgrade querier service.""" + """Query defines the gRPC upgrade querier service. + """ @staticmethod - def CurrentPlan( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CurrentPlan(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.upgrade.v1beta1.Query/CurrentPlan", + '/cosmos.upgrade.v1beta1.Query/CurrentPlan', cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanRequest.SerializeToString, cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryCurrentPlanResponse.FromString, options, @@ -156,26 +155,23 @@ def CurrentPlan( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def AppliedPlan( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AppliedPlan(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.upgrade.v1beta1.Query/AppliedPlan", + '/cosmos.upgrade.v1beta1.Query/AppliedPlan', cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanRequest.SerializeToString, cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAppliedPlanResponse.FromString, options, @@ -186,26 +182,23 @@ def AppliedPlan( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpgradedConsensusState( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpgradedConsensusState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.upgrade.v1beta1.Query/UpgradedConsensusState", + '/cosmos.upgrade.v1beta1.Query/UpgradedConsensusState', cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, options, @@ -216,26 +209,23 @@ def UpgradedConsensusState( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ModuleVersions( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ModuleVersions(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.upgrade.v1beta1.Query/ModuleVersions", + '/cosmos.upgrade.v1beta1.Query/ModuleVersions', cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsRequest.SerializeToString, cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryModuleVersionsResponse.FromString, options, @@ -246,26 +236,23 @@ def ModuleVersions( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Authority( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Authority(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.upgrade.v1beta1.Query/Authority", + '/cosmos.upgrade.v1beta1.Query/Authority', cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityRequest.SerializeToString, cosmos_dot_upgrade_dot_v1beta1_dot_query__pb2.QueryAuthorityResponse.FromString, options, @@ -276,5 +263,4 @@ def Authority( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py index 2e77cd24..7fdd9d6e 100644 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,44 +19,34 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1f\x63osmos/upgrade/v1beta1/tx.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xbb\x01\n\x12MsgSoftwareUpgrade\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12;\n\x04plan\x18\x02 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04plan:0\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgSoftwareUpgrade"\x1c\n\x1aMsgSoftwareUpgradeResponse"z\n\x10MsgCancelUpgrade\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority:.\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgCancelUpgrade"\x1a\n\x18MsgCancelUpgradeResponse2\xec\x01\n\x03Msg\x12q\n\x0fSoftwareUpgrade\x12*.cosmos.upgrade.v1beta1.MsgSoftwareUpgrade\x1a\x32.cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse\x12k\n\rCancelUpgrade\x12(.cosmos.upgrade.v1beta1.MsgCancelUpgrade\x1a\x30.cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\x07TxProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/upgrade/v1beta1/tx.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xbb\x01\n\x12MsgSoftwareUpgrade\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12;\n\x04plan\x18\x02 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04plan:0\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1d\x63osmos-sdk/MsgSoftwareUpgrade\"\x1c\n\x1aMsgSoftwareUpgradeResponse\"z\n\x10MsgCancelUpgrade\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority:.\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgCancelUpgrade\"\x1a\n\x18MsgCancelUpgradeResponse2\xec\x01\n\x03Msg\x12q\n\x0fSoftwareUpgrade\x12*.cosmos.upgrade.v1beta1.MsgSoftwareUpgrade\x1a\x32.cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse\x12k\n\rCancelUpgrade\x12(.cosmos.upgrade.v1beta1.MsgCancelUpgrade\x1a\x30.cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xbd\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\x07TxProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.upgrade.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\032com.cosmos.upgrade.v1beta1B\007TxProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1' - ) - _globals["_MSGSOFTWAREUPGRADE"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGSOFTWAREUPGRADE"].fields_by_name[ - "authority" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSOFTWAREUPGRADE"].fields_by_name["plan"]._loaded_options = None - _globals["_MSGSOFTWAREUPGRADE"].fields_by_name["plan"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGSOFTWAREUPGRADE"]._loaded_options = None - _globals["_MSGSOFTWAREUPGRADE"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*\035cosmos-sdk/MsgSoftwareUpgrade" - ) - _globals["_MSGCANCELUPGRADE"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGCANCELUPGRADE"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGCANCELUPGRADE"]._loaded_options = None - _globals["_MSGCANCELUPGRADE"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*\033cosmos-sdk/MsgCancelUpgrade" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGSOFTWAREUPGRADE"]._serialized_start = 191 - _globals["_MSGSOFTWAREUPGRADE"]._serialized_end = 378 - _globals["_MSGSOFTWAREUPGRADERESPONSE"]._serialized_start = 380 - _globals["_MSGSOFTWAREUPGRADERESPONSE"]._serialized_end = 408 - _globals["_MSGCANCELUPGRADE"]._serialized_start = 410 - _globals["_MSGCANCELUPGRADE"]._serialized_end = 532 - _globals["_MSGCANCELUPGRADERESPONSE"]._serialized_start = 534 - _globals["_MSGCANCELUPGRADERESPONSE"]._serialized_end = 560 - _globals["_MSG"]._serialized_start = 563 - _globals["_MSG"]._serialized_end = 799 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.upgrade.v1beta1B\007TxProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1' + _globals['_MSGSOFTWAREUPGRADE'].fields_by_name['authority']._loaded_options = None + _globals['_MSGSOFTWAREUPGRADE'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSOFTWAREUPGRADE'].fields_by_name['plan']._loaded_options = None + _globals['_MSGSOFTWAREUPGRADE'].fields_by_name['plan']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGSOFTWAREUPGRADE']._loaded_options = None + _globals['_MSGSOFTWAREUPGRADE']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\035cosmos-sdk/MsgSoftwareUpgrade' + _globals['_MSGCANCELUPGRADE'].fields_by_name['authority']._loaded_options = None + _globals['_MSGCANCELUPGRADE'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCANCELUPGRADE']._loaded_options = None + _globals['_MSGCANCELUPGRADE']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\033cosmos-sdk/MsgCancelUpgrade' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGSOFTWAREUPGRADE']._serialized_start=191 + _globals['_MSGSOFTWAREUPGRADE']._serialized_end=378 + _globals['_MSGSOFTWAREUPGRADERESPONSE']._serialized_start=380 + _globals['_MSGSOFTWAREUPGRADERESPONSE']._serialized_end=408 + _globals['_MSGCANCELUPGRADE']._serialized_start=410 + _globals['_MSGCANCELUPGRADE']._serialized_end=532 + _globals['_MSGCANCELUPGRADERESPONSE']._serialized_start=534 + _globals['_MSGCANCELUPGRADERESPONSE']._serialized_end=560 + _globals['_MSG']._serialized_start=563 + _globals['_MSG']._serialized_end=799 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2_grpc.py index 49e3c237..2a4012ac 100644 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the upgrade Msg service.""" + """Msg defines the upgrade Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,21 +16,20 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.SoftwareUpgrade = channel.unary_unary( - "/cosmos.upgrade.v1beta1.Msg/SoftwareUpgrade", - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgrade.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgradeResponse.FromString, - _registered_method=True, - ) + '/cosmos.upgrade.v1beta1.Msg/SoftwareUpgrade', + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgrade.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgradeResponse.FromString, + _registered_method=True) self.CancelUpgrade = channel.unary_unary( - "/cosmos.upgrade.v1beta1.Msg/CancelUpgrade", - request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgrade.SerializeToString, - response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgradeResponse.FromString, - _registered_method=True, - ) + '/cosmos.upgrade.v1beta1.Msg/CancelUpgrade', + request_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgrade.SerializeToString, + response_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgradeResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the upgrade Msg service.""" + """Msg defines the upgrade Msg service. + """ def SoftwareUpgrade(self, request, context): """SoftwareUpgrade is a governance operation for initiating a software upgrade. @@ -37,8 +37,8 @@ def SoftwareUpgrade(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CancelUpgrade(self, request, context): """CancelUpgrade is a governance operation for cancelling a previously @@ -47,49 +47,49 @@ def CancelUpgrade(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "SoftwareUpgrade": grpc.unary_unary_rpc_method_handler( - servicer.SoftwareUpgrade, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgrade.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgradeResponse.SerializeToString, - ), - "CancelUpgrade": grpc.unary_unary_rpc_method_handler( - servicer.CancelUpgrade, - request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgrade.FromString, - response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgradeResponse.SerializeToString, - ), + 'SoftwareUpgrade': grpc.unary_unary_rpc_method_handler( + servicer.SoftwareUpgrade, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgrade.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgradeResponse.SerializeToString, + ), + 'CancelUpgrade': grpc.unary_unary_rpc_method_handler( + servicer.CancelUpgrade, + request_deserializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgrade.FromString, + response_serializer=cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgradeResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.upgrade.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.upgrade.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.upgrade.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.upgrade.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the upgrade Msg service.""" + """Msg defines the upgrade Msg service. + """ @staticmethod - def SoftwareUpgrade( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SoftwareUpgrade(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.upgrade.v1beta1.Msg/SoftwareUpgrade", + '/cosmos.upgrade.v1beta1.Msg/SoftwareUpgrade', cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgrade.SerializeToString, cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgSoftwareUpgradeResponse.FromString, options, @@ -100,26 +100,23 @@ def SoftwareUpgrade( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CancelUpgrade( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CancelUpgrade(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.upgrade.v1beta1.Msg/CancelUpgrade", + '/cosmos.upgrade.v1beta1.Msg/CancelUpgrade', cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgrade.SerializeToString, cosmos_dot_upgrade_dot_v1beta1_dot_tx__pb2.MsgCancelUpgradeResponse.FromString, options, @@ -130,5 +127,4 @@ def CancelUpgrade( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py b/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py index 57dba09e..1b9f1627 100644 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,46 +19,34 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$cosmos/upgrade/v1beta1/upgrade.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\xef\x01\n\x04Plan\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12?\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0f\x18\x01\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12L\n\x15upgraded_client_state\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyB\x02\x18\x01R\x13upgradedClientState:\x18\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0f\x63osmos-sdk/Plan"\xdb\x01\n\x17SoftwareUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12;\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04plan:K\x18\x01\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*"cosmos-sdk/SoftwareUpgradeProposal"\xaa\x01\n\x1d\x43\x61ncelSoftwareUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription:Q\x18\x01\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(cosmos-sdk/CancelSoftwareUpgradeProposal"C\n\rModuleVersion\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07version\x18\x02 \x01(\x04R\x07version:\x04\xe8\xa0\x1f\x01\x42\xc6\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\x0cUpgradeProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/upgrade/v1beta1/upgrade.proto\x12\x16\x63osmos.upgrade.v1beta1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xef\x01\n\x04Plan\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12?\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0f\x18\x01\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01R\x04time\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12L\n\x15upgraded_client_state\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyB\x02\x18\x01R\x13upgradedClientState:\x18\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0f\x63osmos-sdk/Plan\"\xdb\x01\n\x17SoftwareUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12;\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x04plan:K\x18\x01\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\"cosmos-sdk/SoftwareUpgradeProposal\"\xaa\x01\n\x1d\x43\x61ncelSoftwareUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription:Q\x18\x01\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(cosmos-sdk/CancelSoftwareUpgradeProposal\"C\n\rModuleVersion\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07version\x18\x02 \x01(\x04R\x07version:\x04\xe8\xa0\x1f\x01\x42\xc6\x01\n\x1a\x63om.cosmos.upgrade.v1beta1B\x0cUpgradeProtoP\x01Z\x1c\x63osmossdk.io/x/upgrade/types\xa2\x02\x03\x43UX\xaa\x02\x16\x43osmos.Upgrade.V1beta1\xca\x02\x16\x43osmos\\Upgrade\\V1beta1\xe2\x02\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Upgrade::V1beta1\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.upgrade.v1beta1.upgrade_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.v1beta1.upgrade_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\032com.cosmos.upgrade.v1beta1B\014UpgradeProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1\310\341\036\000' - ) - _globals["_PLAN"].fields_by_name["time"]._loaded_options = None - _globals["_PLAN"].fields_by_name[ - "time" - ]._serialized_options = b"\030\001\310\336\037\000\220\337\037\001\250\347\260*\001" - _globals["_PLAN"].fields_by_name["upgraded_client_state"]._loaded_options = None - _globals["_PLAN"].fields_by_name["upgraded_client_state"]._serialized_options = b"\030\001" - _globals["_PLAN"]._loaded_options = None - _globals["_PLAN"]._serialized_options = b"\350\240\037\001\212\347\260*\017cosmos-sdk/Plan" - _globals["_SOFTWAREUPGRADEPROPOSAL"].fields_by_name["plan"]._loaded_options = None - _globals["_SOFTWAREUPGRADEPROPOSAL"].fields_by_name[ - "plan" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_SOFTWAREUPGRADEPROPOSAL"]._loaded_options = None - _globals["_SOFTWAREUPGRADEPROPOSAL"]._serialized_options = ( - b'\030\001\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*"cosmos-sdk/SoftwareUpgradeProposal' - ) - _globals["_CANCELSOFTWAREUPGRADEPROPOSAL"]._loaded_options = None - _globals["_CANCELSOFTWAREUPGRADEPROPOSAL"]._serialized_options = ( - b"\030\001\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(cosmos-sdk/CancelSoftwareUpgradeProposal" - ) - _globals["_MODULEVERSION"]._loaded_options = None - _globals["_MODULEVERSION"]._serialized_options = b"\350\240\037\001" - _globals["_PLAN"]._serialized_start = 193 - _globals["_PLAN"]._serialized_end = 432 - _globals["_SOFTWAREUPGRADEPROPOSAL"]._serialized_start = 435 - _globals["_SOFTWAREUPGRADEPROPOSAL"]._serialized_end = 654 - _globals["_CANCELSOFTWAREUPGRADEPROPOSAL"]._serialized_start = 657 - _globals["_CANCELSOFTWAREUPGRADEPROPOSAL"]._serialized_end = 827 - _globals["_MODULEVERSION"]._serialized_start = 829 - _globals["_MODULEVERSION"]._serialized_end = 896 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.upgrade.v1beta1B\014UpgradeProtoP\001Z\034cosmossdk.io/x/upgrade/types\242\002\003CUX\252\002\026Cosmos.Upgrade.V1beta1\312\002\026Cosmos\\Upgrade\\V1beta1\342\002\"Cosmos\\Upgrade\\V1beta1\\GPBMetadata\352\002\030Cosmos::Upgrade::V1beta1\310\341\036\000' + _globals['_PLAN'].fields_by_name['time']._loaded_options = None + _globals['_PLAN'].fields_by_name['time']._serialized_options = b'\030\001\310\336\037\000\220\337\037\001\250\347\260*\001' + _globals['_PLAN'].fields_by_name['upgraded_client_state']._loaded_options = None + _globals['_PLAN'].fields_by_name['upgraded_client_state']._serialized_options = b'\030\001' + _globals['_PLAN']._loaded_options = None + _globals['_PLAN']._serialized_options = b'\350\240\037\001\212\347\260*\017cosmos-sdk/Plan' + _globals['_SOFTWAREUPGRADEPROPOSAL'].fields_by_name['plan']._loaded_options = None + _globals['_SOFTWAREUPGRADEPROPOSAL'].fields_by_name['plan']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_SOFTWAREUPGRADEPROPOSAL']._loaded_options = None + _globals['_SOFTWAREUPGRADEPROPOSAL']._serialized_options = b'\030\001\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\"cosmos-sdk/SoftwareUpgradeProposal' + _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._loaded_options = None + _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._serialized_options = b'\030\001\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(cosmos-sdk/CancelSoftwareUpgradeProposal' + _globals['_MODULEVERSION']._loaded_options = None + _globals['_MODULEVERSION']._serialized_options = b'\350\240\037\001' + _globals['_PLAN']._serialized_start=193 + _globals['_PLAN']._serialized_end=432 + _globals['_SOFTWAREUPGRADEPROPOSAL']._serialized_start=435 + _globals['_SOFTWAREUPGRADEPROPOSAL']._serialized_end=654 + _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._serialized_start=657 + _globals['_CANCELSOFTWAREUPGRADEPROPOSAL']._serialized_end=827 + _globals['_MODULEVERSION']._serialized_start=829 + _globals['_MODULEVERSION']._serialized_end=896 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2_grpc.py b/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2_grpc.py +++ b/pyinjective/proto/cosmos/upgrade/v1beta1/upgrade_pb2_grpc.py @@ -1,3 +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/cosmos/vesting/module/v1/module_pb2.py b/pyinjective/proto/cosmos/vesting/module/v1/module_pb2.py index 5c0af564..d1a70ea6 100644 --- a/pyinjective/proto/cosmos/vesting/module/v1/module_pb2.py +++ b/pyinjective/proto/cosmos/vesting/module/v1/module_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%cosmos/vesting/module/v1/module.proto\x12\x18\x63osmos.vesting.module.v1\x1a cosmos/app/v1alpha1/module.proto"=\n\x06Module:3\xba\xc0\x96\xda\x01-\n+github.com/cosmos/cosmos-sdk/x/auth/vestingB\xae\x01\n\x1c\x63om.cosmos.vesting.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43VM\xaa\x02\x18\x43osmos.Vesting.Module.V1\xca\x02\x18\x43osmos\\Vesting\\Module\\V1\xe2\x02$Cosmos\\Vesting\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Vesting::Module::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/vesting/module/v1/module.proto\x12\x18\x63osmos.vesting.module.v1\x1a cosmos/app/v1alpha1/module.proto\"=\n\x06Module:3\xba\xc0\x96\xda\x01-\n+github.com/cosmos/cosmos-sdk/x/auth/vestingB\xae\x01\n\x1c\x63om.cosmos.vesting.module.v1B\x0bModuleProtoP\x01\xa2\x02\x03\x43VM\xaa\x02\x18\x43osmos.Vesting.Module.V1\xca\x02\x18\x43osmos\\Vesting\\Module\\V1\xe2\x02$Cosmos\\Vesting\\Module\\V1\\GPBMetadata\xea\x02\x1b\x43osmos::Vesting::Module::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.vesting.module.v1.module_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.module.v1.module_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\034com.cosmos.vesting.module.v1B\013ModuleProtoP\001\242\002\003CVM\252\002\030Cosmos.Vesting.Module.V1\312\002\030Cosmos\\Vesting\\Module\\V1\342\002$Cosmos\\Vesting\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Vesting::Module::V1" - ) - _globals["_MODULE"]._loaded_options = None - _globals["_MODULE"]._serialized_options = b"\272\300\226\332\001-\n+github.com/cosmos/cosmos-sdk/x/auth/vesting" - _globals["_MODULE"]._serialized_start = 101 - _globals["_MODULE"]._serialized_end = 162 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cosmos.vesting.module.v1B\013ModuleProtoP\001\242\002\003CVM\252\002\030Cosmos.Vesting.Module.V1\312\002\030Cosmos\\Vesting\\Module\\V1\342\002$Cosmos\\Vesting\\Module\\V1\\GPBMetadata\352\002\033Cosmos::Vesting::Module::V1' + _globals['_MODULE']._loaded_options = None + _globals['_MODULE']._serialized_options = b'\272\300\226\332\001-\n+github.com/cosmos/cosmos-sdk/x/auth/vesting' + _globals['_MODULE']._serialized_start=101 + _globals['_MODULE']._serialized_end=162 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/vesting/module/v1/module_pb2_grpc.py b/pyinjective/proto/cosmos/vesting/module/v1/module_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/vesting/module/v1/module_pb2_grpc.py +++ b/pyinjective/proto/cosmos/vesting/module/v1/module_pb2_grpc.py @@ -1,3 +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/cosmos/vesting/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2.py index aba73478..0aa7baa2 100644 --- a/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -21,72 +20,48 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1f\x63osmos/vesting/v1beta1/tx.proto\x12\x16\x63osmos.vesting.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a$cosmos/vesting/v1beta1/vesting.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto"\xfd\x02\n\x17MsgCreateVestingAccount\x12;\n\x0c\x66rom_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0b\x66romAddress\x12\x37\n\nto_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x19\n\x08\x65nd_time\x18\x04 \x01(\x03R\x07\x65ndTime\x12\x18\n\x07\x64\x65layed\x18\x05 \x01(\x08R\x07\x64\x65layed:<\xe8\xa0\x1f\x01\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*"cosmos-sdk/MsgCreateVestingAccount"!\n\x1fMsgCreateVestingAccountResponse"\xcf\x02\n\x1fMsgCreatePermanentLockedAccount\x12:\n\x0c\x66rom_address\x18\x01 \x01(\tB\x17\xf2\xde\x1f\x13yaml:"from_address"R\x0b\x66romAddress\x12\x34\n\nto_address\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:"to_address"R\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:?\xe8\xa0\x1f\x01\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*%cosmos-sdk/MsgCreatePermLockedAccount")\n\'MsgCreatePermanentLockedAccountResponse"\x97\x02\n\x1fMsgCreatePeriodicVestingAccount\x12!\n\x0c\x66rom_address\x18\x01 \x01(\tR\x0b\x66romAddress\x12\x1d\n\nto_address\x18\x02 \x01(\tR\ttoAddress\x12\x1d\n\nstart_time\x18\x03 \x01(\x03R\tstartTime\x12R\n\x0fvesting_periods\x18\x04 \x03(\x0b\x32\x1e.cosmos.vesting.v1beta1.PeriodB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evestingPeriods:?\xe8\xa0\x1f\x00\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*%cosmos-sdk/MsgCreatePeriodVestAccount")\n\'MsgCreatePeriodicVestingAccountResponse2\xc5\x03\n\x03Msg\x12\x80\x01\n\x14\x43reateVestingAccount\x12/.cosmos.vesting.v1beta1.MsgCreateVestingAccount\x1a\x37.cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse\x12\x98\x01\n\x1c\x43reatePermanentLockedAccount\x12\x37.cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount\x1a?.cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse\x12\x98\x01\n\x1c\x43reatePeriodicVestingAccount\x12\x37.cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount\x1a?.cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd2\x01\n\x1a\x63om.cosmos.vesting.v1beta1B\x07TxProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\xa2\x02\x03\x43VX\xaa\x02\x16\x43osmos.Vesting.V1beta1\xca\x02\x16\x43osmos\\Vesting\\V1beta1\xe2\x02"Cosmos\\Vesting\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Vesting::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/vesting/v1beta1/tx.proto\x12\x16\x63osmos.vesting.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a$cosmos/vesting/v1beta1/vesting.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xfd\x02\n\x17MsgCreateVestingAccount\x12;\n\x0c\x66rom_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0b\x66romAddress\x12\x37\n\nto_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\x12\x19\n\x08\x65nd_time\x18\x04 \x01(\x03R\x07\x65ndTime\x12\x18\n\x07\x64\x65layed\x18\x05 \x01(\x08R\x07\x64\x65layed:<\xe8\xa0\x1f\x01\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*\"cosmos-sdk/MsgCreateVestingAccount\"!\n\x1fMsgCreateVestingAccountResponse\"\xcf\x02\n\x1fMsgCreatePermanentLockedAccount\x12:\n\x0c\x66rom_address\x18\x01 \x01(\tB\x17\xf2\xde\x1f\x13yaml:\"from_address\"R\x0b\x66romAddress\x12\x34\n\nto_address\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"to_address\"R\ttoAddress\x12y\n\x06\x61mount\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount:?\xe8\xa0\x1f\x01\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*%cosmos-sdk/MsgCreatePermLockedAccount\")\n\'MsgCreatePermanentLockedAccountResponse\"\x97\x02\n\x1fMsgCreatePeriodicVestingAccount\x12!\n\x0c\x66rom_address\x18\x01 \x01(\tR\x0b\x66romAddress\x12\x1d\n\nto_address\x18\x02 \x01(\tR\ttoAddress\x12\x1d\n\nstart_time\x18\x03 \x01(\x03R\tstartTime\x12R\n\x0fvesting_periods\x18\x04 \x03(\x0b\x32\x1e.cosmos.vesting.v1beta1.PeriodB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evestingPeriods:?\xe8\xa0\x1f\x00\x82\xe7\xb0*\x0c\x66rom_address\x8a\xe7\xb0*%cosmos-sdk/MsgCreatePeriodVestAccount\")\n\'MsgCreatePeriodicVestingAccountResponse2\xc5\x03\n\x03Msg\x12\x80\x01\n\x14\x43reateVestingAccount\x12/.cosmos.vesting.v1beta1.MsgCreateVestingAccount\x1a\x37.cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse\x12\x98\x01\n\x1c\x43reatePermanentLockedAccount\x12\x37.cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount\x1a?.cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse\x12\x98\x01\n\x1c\x43reatePeriodicVestingAccount\x12\x37.cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount\x1a?.cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd2\x01\n\x1a\x63om.cosmos.vesting.v1beta1B\x07TxProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\xa2\x02\x03\x43VX\xaa\x02\x16\x43osmos.Vesting.V1beta1\xca\x02\x16\x43osmos\\Vesting\\V1beta1\xe2\x02\"Cosmos\\Vesting\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Vesting::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.vesting.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\032com.cosmos.vesting.v1beta1B\007TxProtoP\001Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\242\002\003CVX\252\002\026Cosmos.Vesting.V1beta1\312\002\026Cosmos\\Vesting\\V1beta1\342\002"Cosmos\\Vesting\\V1beta1\\GPBMetadata\352\002\030Cosmos::Vesting::V1beta1' - ) - _globals["_MSGCREATEVESTINGACCOUNT"].fields_by_name["from_address"]._loaded_options = None - _globals["_MSGCREATEVESTINGACCOUNT"].fields_by_name[ - "from_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGCREATEVESTINGACCOUNT"].fields_by_name["to_address"]._loaded_options = None - _globals["_MSGCREATEVESTINGACCOUNT"].fields_by_name[ - "to_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGCREATEVESTINGACCOUNT"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGCREATEVESTINGACCOUNT"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_MSGCREATEVESTINGACCOUNT"]._loaded_options = None - _globals["_MSGCREATEVESTINGACCOUNT"]._serialized_options = ( - b'\350\240\037\001\202\347\260*\014from_address\212\347\260*"cosmos-sdk/MsgCreateVestingAccount' - ) - _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"].fields_by_name["from_address"]._loaded_options = None - _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"].fields_by_name[ - "from_address" - ]._serialized_options = b'\362\336\037\023yaml:"from_address"' - _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"].fields_by_name["to_address"]._loaded_options = None - _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"].fields_by_name[ - "to_address" - ]._serialized_options = b'\362\336\037\021yaml:"to_address"' - _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"]._loaded_options = None - _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"]._serialized_options = ( - b"\350\240\037\001\202\347\260*\014from_address\212\347\260*%cosmos-sdk/MsgCreatePermLockedAccount" - ) - _globals["_MSGCREATEPERIODICVESTINGACCOUNT"].fields_by_name["vesting_periods"]._loaded_options = None - _globals["_MSGCREATEPERIODICVESTINGACCOUNT"].fields_by_name[ - "vesting_periods" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGCREATEPERIODICVESTINGACCOUNT"]._loaded_options = None - _globals["_MSGCREATEPERIODICVESTINGACCOUNT"]._serialized_options = ( - b"\350\240\037\000\202\347\260*\014from_address\212\347\260*%cosmos-sdk/MsgCreatePeriodVestAccount" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGCREATEVESTINGACCOUNT"]._serialized_start = 223 - _globals["_MSGCREATEVESTINGACCOUNT"]._serialized_end = 604 - _globals["_MSGCREATEVESTINGACCOUNTRESPONSE"]._serialized_start = 606 - _globals["_MSGCREATEVESTINGACCOUNTRESPONSE"]._serialized_end = 639 - _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"]._serialized_start = 642 - _globals["_MSGCREATEPERMANENTLOCKEDACCOUNT"]._serialized_end = 977 - _globals["_MSGCREATEPERMANENTLOCKEDACCOUNTRESPONSE"]._serialized_start = 979 - _globals["_MSGCREATEPERMANENTLOCKEDACCOUNTRESPONSE"]._serialized_end = 1020 - _globals["_MSGCREATEPERIODICVESTINGACCOUNT"]._serialized_start = 1023 - _globals["_MSGCREATEPERIODICVESTINGACCOUNT"]._serialized_end = 1302 - _globals["_MSGCREATEPERIODICVESTINGACCOUNTRESPONSE"]._serialized_start = 1304 - _globals["_MSGCREATEPERIODICVESTINGACCOUNTRESPONSE"]._serialized_end = 1345 - _globals["_MSG"]._serialized_start = 1348 - _globals["_MSG"]._serialized_end = 1801 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.vesting.v1beta1B\007TxProtoP\001Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\242\002\003CVX\252\002\026Cosmos.Vesting.V1beta1\312\002\026Cosmos\\Vesting\\V1beta1\342\002\"Cosmos\\Vesting\\V1beta1\\GPBMetadata\352\002\030Cosmos::Vesting::V1beta1' + _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['from_address']._loaded_options = None + _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['from_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['to_address']._loaded_options = None + _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['to_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['amount']._loaded_options = None + _globals['_MSGCREATEVESTINGACCOUNT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGCREATEVESTINGACCOUNT']._loaded_options = None + _globals['_MSGCREATEVESTINGACCOUNT']._serialized_options = b'\350\240\037\001\202\347\260*\014from_address\212\347\260*\"cosmos-sdk/MsgCreateVestingAccount' + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['from_address']._loaded_options = None + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['from_address']._serialized_options = b'\362\336\037\023yaml:\"from_address\"' + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['to_address']._loaded_options = None + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['to_address']._serialized_options = b'\362\336\037\021yaml:\"to_address\"' + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['amount']._loaded_options = None + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._loaded_options = None + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._serialized_options = b'\350\240\037\001\202\347\260*\014from_address\212\347\260*%cosmos-sdk/MsgCreatePermLockedAccount' + _globals['_MSGCREATEPERIODICVESTINGACCOUNT'].fields_by_name['vesting_periods']._loaded_options = None + _globals['_MSGCREATEPERIODICVESTINGACCOUNT'].fields_by_name['vesting_periods']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._loaded_options = None + _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._serialized_options = b'\350\240\037\000\202\347\260*\014from_address\212\347\260*%cosmos-sdk/MsgCreatePeriodVestAccount' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGCREATEVESTINGACCOUNT']._serialized_start=223 + _globals['_MSGCREATEVESTINGACCOUNT']._serialized_end=604 + _globals['_MSGCREATEVESTINGACCOUNTRESPONSE']._serialized_start=606 + _globals['_MSGCREATEVESTINGACCOUNTRESPONSE']._serialized_end=639 + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._serialized_start=642 + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNT']._serialized_end=977 + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNTRESPONSE']._serialized_start=979 + _globals['_MSGCREATEPERMANENTLOCKEDACCOUNTRESPONSE']._serialized_end=1020 + _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._serialized_start=1023 + _globals['_MSGCREATEPERIODICVESTINGACCOUNT']._serialized_end=1302 + _globals['_MSGCREATEPERIODICVESTINGACCOUNTRESPONSE']._serialized_start=1304 + _globals['_MSGCREATEPERIODICVESTINGACCOUNTRESPONSE']._serialized_end=1345 + _globals['_MSG']._serialized_start=1348 + _globals['_MSG']._serialized_end=1801 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2_grpc.py index 889ea892..023b77e1 100644 --- a/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/vesting/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the bank Msg service.""" + """Msg defines the bank Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,35 +16,33 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.CreateVestingAccount = channel.unary_unary( - "/cosmos.vesting.v1beta1.Msg/CreateVestingAccount", - request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccount.SerializeToString, - response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccountResponse.FromString, - _registered_method=True, - ) + '/cosmos.vesting.v1beta1.Msg/CreateVestingAccount', + request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccount.SerializeToString, + response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccountResponse.FromString, + _registered_method=True) self.CreatePermanentLockedAccount = channel.unary_unary( - "/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount", - request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccount.SerializeToString, - response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccountResponse.FromString, - _registered_method=True, - ) + '/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount', + request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccount.SerializeToString, + response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccountResponse.FromString, + _registered_method=True) self.CreatePeriodicVestingAccount = channel.unary_unary( - "/cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount", - request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccount.SerializeToString, - response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccountResponse.FromString, - _registered_method=True, - ) + '/cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount', + request_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccount.SerializeToString, + response_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccountResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the bank Msg service.""" + """Msg defines the bank Msg service. + """ def CreateVestingAccount(self, request, context): """CreateVestingAccount defines a method that enables creating a vesting account. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CreatePermanentLockedAccount(self, request, context): """CreatePermanentLockedAccount defines a method that enables creating a permanent @@ -52,8 +51,8 @@ def CreatePermanentLockedAccount(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CreatePeriodicVestingAccount(self, request, context): """CreatePeriodicVestingAccount defines a method that enables creating a @@ -62,54 +61,54 @@ def CreatePeriodicVestingAccount(self, request, context): Since: cosmos-sdk 0.46 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "CreateVestingAccount": grpc.unary_unary_rpc_method_handler( - servicer.CreateVestingAccount, - request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccount.FromString, - response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccountResponse.SerializeToString, - ), - "CreatePermanentLockedAccount": grpc.unary_unary_rpc_method_handler( - servicer.CreatePermanentLockedAccount, - request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccount.FromString, - response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccountResponse.SerializeToString, - ), - "CreatePeriodicVestingAccount": grpc.unary_unary_rpc_method_handler( - servicer.CreatePeriodicVestingAccount, - request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccount.FromString, - response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccountResponse.SerializeToString, - ), + 'CreateVestingAccount': grpc.unary_unary_rpc_method_handler( + servicer.CreateVestingAccount, + request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccount.FromString, + response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccountResponse.SerializeToString, + ), + 'CreatePermanentLockedAccount': grpc.unary_unary_rpc_method_handler( + servicer.CreatePermanentLockedAccount, + request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccount.FromString, + response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccountResponse.SerializeToString, + ), + 'CreatePeriodicVestingAccount': grpc.unary_unary_rpc_method_handler( + servicer.CreatePeriodicVestingAccount, + request_deserializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccount.FromString, + response_serializer=cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccountResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmos.vesting.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmos.vesting.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmos.vesting.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmos.vesting.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the bank Msg service.""" + """Msg defines the bank Msg service. + """ @staticmethod - def CreateVestingAccount( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreateVestingAccount(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.vesting.v1beta1.Msg/CreateVestingAccount", + '/cosmos.vesting.v1beta1.Msg/CreateVestingAccount', cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccount.SerializeToString, cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreateVestingAccountResponse.FromString, options, @@ -120,26 +119,23 @@ def CreateVestingAccount( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CreatePermanentLockedAccount( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreatePermanentLockedAccount(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount", + '/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount', cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccount.SerializeToString, cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePermanentLockedAccountResponse.FromString, options, @@ -150,26 +146,23 @@ def CreatePermanentLockedAccount( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CreatePeriodicVestingAccount( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreatePeriodicVestingAccount(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount", + '/cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount', cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccount.SerializeToString, cosmos_dot_vesting_dot_v1beta1_dot_tx__pb2.MsgCreatePeriodicVestingAccountResponse.FromString, options, @@ -180,5 +173,4 @@ def CreatePeriodicVestingAccount( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py b/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py index cfce7871..4972c18c 100644 --- a/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py +++ b/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,80 +18,54 @@ from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$cosmos/vesting/v1beta1/vesting.proto\x12\x16\x63osmos.vesting.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto"\xcd\x04\n\x12\x42\x61seVestingAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12\x8c\x01\n\x10original_vesting\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0foriginalVesting\x12\x88\x01\n\x0e\x64\x65legated_free\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\rdelegatedFree\x12\x8e\x01\n\x11\x64\x65legated_vesting\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x10\x64\x65legatedVesting\x12\x19\n\x08\x65nd_time\x18\x05 \x01(\x03R\x07\x65ndTime:&\x88\xa0\x1f\x00\x8a\xe7\xb0*\x1d\x63osmos-sdk/BaseVestingAccount"\xcb\x01\n\x18\x43ontinuousVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount\x12\x1d\n\nstart_time\x18\x02 \x01(\x03R\tstartTime:,\x88\xa0\x1f\x00\x8a\xe7\xb0*#cosmos-sdk/ContinuousVestingAccount"\xa6\x01\n\x15\x44\x65layedVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount:)\x88\xa0\x1f\x00\x8a\xe7\xb0* cosmos-sdk/DelayedVestingAccount"\x9b\x01\n\x06Period\x12\x16\n\x06length\x18\x01 \x01(\x03R\x06length\x12y\n\x06\x61mount\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount"\x9b\x02\n\x16PeriodicVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount\x12\x1d\n\nstart_time\x18\x02 \x01(\x03R\tstartTime\x12R\n\x0fvesting_periods\x18\x03 \x03(\x0b\x32\x1e.cosmos.vesting.v1beta1.PeriodB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evestingPeriods:*\x88\xa0\x1f\x00\x8a\xe7\xb0*!cosmos-sdk/PeriodicVestingAccount"\xa8\x01\n\x16PermanentLockedAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount:*\x88\xa0\x1f\x00\x8a\xe7\xb0*!cosmos-sdk/PermanentLockedAccountB\xd7\x01\n\x1a\x63om.cosmos.vesting.v1beta1B\x0cVestingProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\xa2\x02\x03\x43VX\xaa\x02\x16\x43osmos.Vesting.V1beta1\xca\x02\x16\x43osmos\\Vesting\\V1beta1\xe2\x02"Cosmos\\Vesting\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Vesting::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/vesting/v1beta1/vesting.proto\x12\x16\x63osmos.vesting.v1beta1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xcd\x04\n\x12\x42\x61seVestingAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12\x8c\x01\n\x10original_vesting\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x0foriginalVesting\x12\x88\x01\n\x0e\x64\x65legated_free\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\rdelegatedFree\x12\x8e\x01\n\x11\x64\x65legated_vesting\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x10\x64\x65legatedVesting\x12\x19\n\x08\x65nd_time\x18\x05 \x01(\x03R\x07\x65ndTime:&\x88\xa0\x1f\x00\x8a\xe7\xb0*\x1d\x63osmos-sdk/BaseVestingAccount\"\xcb\x01\n\x18\x43ontinuousVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount\x12\x1d\n\nstart_time\x18\x02 \x01(\x03R\tstartTime:,\x88\xa0\x1f\x00\x8a\xe7\xb0*#cosmos-sdk/ContinuousVestingAccount\"\xa6\x01\n\x15\x44\x65layedVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount:)\x88\xa0\x1f\x00\x8a\xe7\xb0* cosmos-sdk/DelayedVestingAccount\"\x9b\x01\n\x06Period\x12\x16\n\x06length\x18\x01 \x01(\x03R\x06length\x12y\n\x06\x61mount\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x06\x61mount\"\x9b\x02\n\x16PeriodicVestingAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount\x12\x1d\n\nstart_time\x18\x02 \x01(\x03R\tstartTime\x12R\n\x0fvesting_periods\x18\x03 \x03(\x0b\x32\x1e.cosmos.vesting.v1beta1.PeriodB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0evestingPeriods:*\x88\xa0\x1f\x00\x8a\xe7\xb0*!cosmos-sdk/PeriodicVestingAccount\"\xa8\x01\n\x16PermanentLockedAccount\x12\x62\n\x14\x62\x61se_vesting_account\x18\x01 \x01(\x0b\x32*.cosmos.vesting.v1beta1.BaseVestingAccountB\x04\xd0\xde\x1f\x01R\x12\x62\x61seVestingAccount:*\x88\xa0\x1f\x00\x8a\xe7\xb0*!cosmos-sdk/PermanentLockedAccountB\xd7\x01\n\x1a\x63om.cosmos.vesting.v1beta1B\x0cVestingProtoP\x01Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\xa2\x02\x03\x43VX\xaa\x02\x16\x43osmos.Vesting.V1beta1\xca\x02\x16\x43osmos\\Vesting\\V1beta1\xe2\x02\"Cosmos\\Vesting\\V1beta1\\GPBMetadata\xea\x02\x18\x43osmos::Vesting::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos.vesting.v1beta1.vesting_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.v1beta1.vesting_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n\032com.cosmos.vesting.v1beta1B\014VestingProtoP\001Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\242\002\003CVX\252\002\026Cosmos.Vesting.V1beta1\312\002\026Cosmos\\Vesting\\V1beta1\342\002"Cosmos\\Vesting\\V1beta1\\GPBMetadata\352\002\030Cosmos::Vesting::V1beta1' - ) - _globals["_BASEVESTINGACCOUNT"].fields_by_name["base_account"]._loaded_options = None - _globals["_BASEVESTINGACCOUNT"].fields_by_name["base_account"]._serialized_options = b"\320\336\037\001" - _globals["_BASEVESTINGACCOUNT"].fields_by_name["original_vesting"]._loaded_options = None - _globals["_BASEVESTINGACCOUNT"].fields_by_name[ - "original_vesting" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_BASEVESTINGACCOUNT"].fields_by_name["delegated_free"]._loaded_options = None - _globals["_BASEVESTINGACCOUNT"].fields_by_name[ - "delegated_free" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_BASEVESTINGACCOUNT"].fields_by_name["delegated_vesting"]._loaded_options = None - _globals["_BASEVESTINGACCOUNT"].fields_by_name[ - "delegated_vesting" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_BASEVESTINGACCOUNT"]._loaded_options = None - _globals["_BASEVESTINGACCOUNT"]._serialized_options = ( - b"\210\240\037\000\212\347\260*\035cosmos-sdk/BaseVestingAccount" - ) - _globals["_CONTINUOUSVESTINGACCOUNT"].fields_by_name["base_vesting_account"]._loaded_options = None - _globals["_CONTINUOUSVESTINGACCOUNT"].fields_by_name[ - "base_vesting_account" - ]._serialized_options = b"\320\336\037\001" - _globals["_CONTINUOUSVESTINGACCOUNT"]._loaded_options = None - _globals["_CONTINUOUSVESTINGACCOUNT"]._serialized_options = ( - b"\210\240\037\000\212\347\260*#cosmos-sdk/ContinuousVestingAccount" - ) - _globals["_DELAYEDVESTINGACCOUNT"].fields_by_name["base_vesting_account"]._loaded_options = None - _globals["_DELAYEDVESTINGACCOUNT"].fields_by_name["base_vesting_account"]._serialized_options = b"\320\336\037\001" - _globals["_DELAYEDVESTINGACCOUNT"]._loaded_options = None - _globals["_DELAYEDVESTINGACCOUNT"]._serialized_options = ( - b"\210\240\037\000\212\347\260* cosmos-sdk/DelayedVestingAccount" - ) - _globals["_PERIOD"].fields_by_name["amount"]._loaded_options = None - _globals["_PERIOD"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_PERIODICVESTINGACCOUNT"].fields_by_name["base_vesting_account"]._loaded_options = None - _globals["_PERIODICVESTINGACCOUNT"].fields_by_name["base_vesting_account"]._serialized_options = b"\320\336\037\001" - _globals["_PERIODICVESTINGACCOUNT"].fields_by_name["vesting_periods"]._loaded_options = None - _globals["_PERIODICVESTINGACCOUNT"].fields_by_name[ - "vesting_periods" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_PERIODICVESTINGACCOUNT"]._loaded_options = None - _globals["_PERIODICVESTINGACCOUNT"]._serialized_options = ( - b"\210\240\037\000\212\347\260*!cosmos-sdk/PeriodicVestingAccount" - ) - _globals["_PERMANENTLOCKEDACCOUNT"].fields_by_name["base_vesting_account"]._loaded_options = None - _globals["_PERMANENTLOCKEDACCOUNT"].fields_by_name["base_vesting_account"]._serialized_options = b"\320\336\037\001" - _globals["_PERMANENTLOCKEDACCOUNT"]._loaded_options = None - _globals["_PERMANENTLOCKEDACCOUNT"]._serialized_options = ( - b"\210\240\037\000\212\347\260*!cosmos-sdk/PermanentLockedAccount" - ) - _globals["_BASEVESTINGACCOUNT"]._serialized_start = 170 - _globals["_BASEVESTINGACCOUNT"]._serialized_end = 759 - _globals["_CONTINUOUSVESTINGACCOUNT"]._serialized_start = 762 - _globals["_CONTINUOUSVESTINGACCOUNT"]._serialized_end = 965 - _globals["_DELAYEDVESTINGACCOUNT"]._serialized_start = 968 - _globals["_DELAYEDVESTINGACCOUNT"]._serialized_end = 1134 - _globals["_PERIOD"]._serialized_start = 1137 - _globals["_PERIOD"]._serialized_end = 1292 - _globals["_PERIODICVESTINGACCOUNT"]._serialized_start = 1295 - _globals["_PERIODICVESTINGACCOUNT"]._serialized_end = 1578 - _globals["_PERMANENTLOCKEDACCOUNT"]._serialized_start = 1581 - _globals["_PERMANENTLOCKEDACCOUNT"]._serialized_end = 1749 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\032com.cosmos.vesting.v1beta1B\014VestingProtoP\001Z1github.com/cosmos/cosmos-sdk/x/auth/vesting/types\242\002\003CVX\252\002\026Cosmos.Vesting.V1beta1\312\002\026Cosmos\\Vesting\\V1beta1\342\002\"Cosmos\\Vesting\\V1beta1\\GPBMetadata\352\002\030Cosmos::Vesting::V1beta1' + _globals['_BASEVESTINGACCOUNT'].fields_by_name['base_account']._loaded_options = None + _globals['_BASEVESTINGACCOUNT'].fields_by_name['base_account']._serialized_options = b'\320\336\037\001' + _globals['_BASEVESTINGACCOUNT'].fields_by_name['original_vesting']._loaded_options = None + _globals['_BASEVESTINGACCOUNT'].fields_by_name['original_vesting']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_BASEVESTINGACCOUNT'].fields_by_name['delegated_free']._loaded_options = None + _globals['_BASEVESTINGACCOUNT'].fields_by_name['delegated_free']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_BASEVESTINGACCOUNT'].fields_by_name['delegated_vesting']._loaded_options = None + _globals['_BASEVESTINGACCOUNT'].fields_by_name['delegated_vesting']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_BASEVESTINGACCOUNT']._loaded_options = None + _globals['_BASEVESTINGACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260*\035cosmos-sdk/BaseVestingAccount' + _globals['_CONTINUOUSVESTINGACCOUNT'].fields_by_name['base_vesting_account']._loaded_options = None + _globals['_CONTINUOUSVESTINGACCOUNT'].fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' + _globals['_CONTINUOUSVESTINGACCOUNT']._loaded_options = None + _globals['_CONTINUOUSVESTINGACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260*#cosmos-sdk/ContinuousVestingAccount' + _globals['_DELAYEDVESTINGACCOUNT'].fields_by_name['base_vesting_account']._loaded_options = None + _globals['_DELAYEDVESTINGACCOUNT'].fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' + _globals['_DELAYEDVESTINGACCOUNT']._loaded_options = None + _globals['_DELAYEDVESTINGACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260* cosmos-sdk/DelayedVestingAccount' + _globals['_PERIOD'].fields_by_name['amount']._loaded_options = None + _globals['_PERIOD'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_PERIODICVESTINGACCOUNT'].fields_by_name['base_vesting_account']._loaded_options = None + _globals['_PERIODICVESTINGACCOUNT'].fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' + _globals['_PERIODICVESTINGACCOUNT'].fields_by_name['vesting_periods']._loaded_options = None + _globals['_PERIODICVESTINGACCOUNT'].fields_by_name['vesting_periods']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_PERIODICVESTINGACCOUNT']._loaded_options = None + _globals['_PERIODICVESTINGACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260*!cosmos-sdk/PeriodicVestingAccount' + _globals['_PERMANENTLOCKEDACCOUNT'].fields_by_name['base_vesting_account']._loaded_options = None + _globals['_PERMANENTLOCKEDACCOUNT'].fields_by_name['base_vesting_account']._serialized_options = b'\320\336\037\001' + _globals['_PERMANENTLOCKEDACCOUNT']._loaded_options = None + _globals['_PERMANENTLOCKEDACCOUNT']._serialized_options = b'\210\240\037\000\212\347\260*!cosmos-sdk/PermanentLockedAccount' + _globals['_BASEVESTINGACCOUNT']._serialized_start=170 + _globals['_BASEVESTINGACCOUNT']._serialized_end=759 + _globals['_CONTINUOUSVESTINGACCOUNT']._serialized_start=762 + _globals['_CONTINUOUSVESTINGACCOUNT']._serialized_end=965 + _globals['_DELAYEDVESTINGACCOUNT']._serialized_start=968 + _globals['_DELAYEDVESTINGACCOUNT']._serialized_end=1134 + _globals['_PERIOD']._serialized_start=1137 + _globals['_PERIOD']._serialized_end=1292 + _globals['_PERIODICVESTINGACCOUNT']._serialized_start=1295 + _globals['_PERIODICVESTINGACCOUNT']._serialized_end=1578 + _globals['_PERMANENTLOCKEDACCOUNT']._serialized_start=1581 + _globals['_PERMANENTLOCKEDACCOUNT']._serialized_end=1749 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2_grpc.py b/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2_grpc.py +++ b/pyinjective/proto/cosmos/vesting/v1beta1/vesting_pb2_grpc.py @@ -1,3 +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/cosmos_proto/cosmos_pb2.py b/pyinjective/proto/cosmos_proto/cosmos_pb2.py index ac3ba6e2..e9f88646 100644 --- a/pyinjective/proto/cosmos_proto/cosmos_pb2.py +++ b/pyinjective/proto/cosmos_proto/cosmos_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,22 +15,18 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x19\x63osmos_proto/cosmos.proto\x12\x0c\x63osmos_proto\x1a google/protobuf/descriptor.proto"K\n\x13InterfaceDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription"\x81\x01\n\x10ScalarDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x37\n\nfield_type\x18\x03 \x03(\x0e\x32\x18.cosmos_proto.ScalarTypeR\tfieldType*X\n\nScalarType\x12\x1b\n\x17SCALAR_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12SCALAR_TYPE_STRING\x10\x01\x12\x15\n\x11SCALAR_TYPE_BYTES\x10\x02:H\n\x0fmethod_added_in\x12\x1e.google.protobuf.MethodOptions\x18\xc9\xd6\x05 \x01(\tR\rmethodAddedIn:T\n\x14implements_interface\x12\x1f.google.protobuf.MessageOptions\x18\xc9\xd6\x05 \x03(\tR\x13implementsInterface:K\n\x10message_added_in\x12\x1f.google.protobuf.MessageOptions\x18\xca\xd6\x05 \x01(\tR\x0emessageAddedIn:L\n\x11\x61\x63\x63\x65pts_interface\x12\x1d.google.protobuf.FieldOptions\x18\xc9\xd6\x05 \x01(\tR\x10\x61\x63\x63\x65ptsInterface:7\n\x06scalar\x12\x1d.google.protobuf.FieldOptions\x18\xca\xd6\x05 \x01(\tR\x06scalar:E\n\x0e\x66ield_added_in\x12\x1d.google.protobuf.FieldOptions\x18\xcb\xd6\x05 \x01(\tR\x0c\x66ieldAddedIn:n\n\x11\x64\x65\x63lare_interface\x12\x1c.google.protobuf.FileOptions\x18\xbd\xb3\x30 \x03(\x0b\x32!.cosmos_proto.InterfaceDescriptorR\x10\x64\x65\x63lareInterface:e\n\x0e\x64\x65\x63lare_scalar\x12\x1c.google.protobuf.FileOptions\x18\xbe\xb3\x30 \x03(\x0b\x32\x1e.cosmos_proto.ScalarDescriptorR\rdeclareScalar:B\n\rfile_added_in\x12\x1c.google.protobuf.FileOptions\x18\xbf\xb3\x30 \x01(\tR\x0b\x66ileAddedInB\x98\x01\n\x10\x63om.cosmos_protoB\x0b\x43osmosProtoP\x01Z+github.com/cosmos/cosmos-proto;cosmos_proto\xa2\x02\x03\x43XX\xaa\x02\x0b\x43osmosProto\xca\x02\x0b\x43osmosProto\xe2\x02\x17\x43osmosProto\\GPBMetadata\xea\x02\x0b\x43osmosProtob\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmos_proto/cosmos.proto\x12\x0c\x63osmos_proto\x1a google/protobuf/descriptor.proto\"K\n\x13InterfaceDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\"\x81\x01\n\x10ScalarDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x37\n\nfield_type\x18\x03 \x03(\x0e\x32\x18.cosmos_proto.ScalarTypeR\tfieldType*X\n\nScalarType\x12\x1b\n\x17SCALAR_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12SCALAR_TYPE_STRING\x10\x01\x12\x15\n\x11SCALAR_TYPE_BYTES\x10\x02:H\n\x0fmethod_added_in\x12\x1e.google.protobuf.MethodOptions\x18\xc9\xd6\x05 \x01(\tR\rmethodAddedIn:T\n\x14implements_interface\x12\x1f.google.protobuf.MessageOptions\x18\xc9\xd6\x05 \x03(\tR\x13implementsInterface:K\n\x10message_added_in\x12\x1f.google.protobuf.MessageOptions\x18\xca\xd6\x05 \x01(\tR\x0emessageAddedIn:L\n\x11\x61\x63\x63\x65pts_interface\x12\x1d.google.protobuf.FieldOptions\x18\xc9\xd6\x05 \x01(\tR\x10\x61\x63\x63\x65ptsInterface:7\n\x06scalar\x12\x1d.google.protobuf.FieldOptions\x18\xca\xd6\x05 \x01(\tR\x06scalar:E\n\x0e\x66ield_added_in\x12\x1d.google.protobuf.FieldOptions\x18\xcb\xd6\x05 \x01(\tR\x0c\x66ieldAddedIn:n\n\x11\x64\x65\x63lare_interface\x12\x1c.google.protobuf.FileOptions\x18\xbd\xb3\x30 \x03(\x0b\x32!.cosmos_proto.InterfaceDescriptorR\x10\x64\x65\x63lareInterface:e\n\x0e\x64\x65\x63lare_scalar\x12\x1c.google.protobuf.FileOptions\x18\xbe\xb3\x30 \x03(\x0b\x32\x1e.cosmos_proto.ScalarDescriptorR\rdeclareScalar:B\n\rfile_added_in\x12\x1c.google.protobuf.FileOptions\x18\xbf\xb3\x30 \x01(\tR\x0b\x66ileAddedInB\x98\x01\n\x10\x63om.cosmos_protoB\x0b\x43osmosProtoP\x01Z+github.com/cosmos/cosmos-proto;cosmos_proto\xa2\x02\x03\x43XX\xaa\x02\x0b\x43osmosProto\xca\x02\x0b\x43osmosProto\xe2\x02\x17\x43osmosProto\\GPBMetadata\xea\x02\x0b\x43osmosProtob\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmos_proto.cosmos_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos_proto.cosmos_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\020com.cosmos_protoB\013CosmosProtoP\001Z+github.com/cosmos/cosmos-proto;cosmos_proto\242\002\003CXX\252\002\013CosmosProto\312\002\013CosmosProto\342\002\027CosmosProto\\GPBMetadata\352\002\013CosmosProto" - ) - _globals["_SCALARTYPE"]._serialized_start = 286 - _globals["_SCALARTYPE"]._serialized_end = 374 - _globals["_INTERFACEDESCRIPTOR"]._serialized_start = 77 - _globals["_INTERFACEDESCRIPTOR"]._serialized_end = 152 - _globals["_SCALARDESCRIPTOR"]._serialized_start = 155 - _globals["_SCALARDESCRIPTOR"]._serialized_end = 284 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\020com.cosmos_protoB\013CosmosProtoP\001Z+github.com/cosmos/cosmos-proto;cosmos_proto\242\002\003CXX\252\002\013CosmosProto\312\002\013CosmosProto\342\002\027CosmosProto\\GPBMetadata\352\002\013CosmosProto' + _globals['_SCALARTYPE']._serialized_start=286 + _globals['_SCALARTYPE']._serialized_end=374 + _globals['_INTERFACEDESCRIPTOR']._serialized_start=77 + _globals['_INTERFACEDESCRIPTOR']._serialized_end=152 + _globals['_SCALARDESCRIPTOR']._serialized_start=155 + _globals['_SCALARDESCRIPTOR']._serialized_end=284 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos_proto/cosmos_pb2_grpc.py b/pyinjective/proto/cosmos_proto/cosmos_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmos_proto/cosmos_pb2_grpc.py +++ b/pyinjective/proto/cosmos_proto/cosmos_pb2_grpc.py @@ -1,3 +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/cosmwasm/wasm/v1/authz_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py index 866c05e5..2f350a08 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py @@ -7,7 +7,6 @@ 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() @@ -21,108 +20,70 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1c\x63osmwasm/wasm/v1/authz.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto"\xa0\x01\n\x16StoreCodeAuthorization\x12>\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmwasm.wasm.v1.CodeGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:F\xca\xb4-"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1bwasm/StoreCodeAuthorization"\xb4\x01\n\x1e\x43ontractExecutionAuthorization\x12\x42\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:N\xca\xb4-"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization"\xb4\x01\n\x1e\x43ontractMigrationAuthorization\x12\x42\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:N\xca\xb4-"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization"\x7f\n\tCodeGrant\x12\x1b\n\tcode_hash\x18\x01 \x01(\x0cR\x08\x63odeHash\x12U\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission"\xf4\x01\n\rContractGrant\x12\x34\n\x08\x63ontract\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12T\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitXR\x05limit\x12W\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterXR\x06\x66ilter"n\n\rMaxCallsLimit\x12\x1c\n\tremaining\x18\x01 \x01(\x04R\tremaining:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit"\xcd\x01\n\rMaxFundsLimit\x12{\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x07\x61mounts:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit"\xf6\x01\n\rCombinedLimit\x12\'\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04R\x0e\x63\x61llsRemaining\x12{\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x07\x61mounts:?\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"}\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x12\n\x04keys\x18\x01 \x03(\tR\x04keys:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter"\xa7\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12\x42\n\x08messages\x18\x01 \x03(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x08messages:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB\xb0\x01\n\x14\x63om.cosmwasm.wasm.v1B\nAuthzProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\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\"\xa0\x01\n\x16StoreCodeAuthorization\x12>\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmwasm.wasm.v1.CodeGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:F\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1bwasm/StoreCodeAuthorization\"\xb4\x01\n\x1e\x43ontractExecutionAuthorization\x12\x42\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization\"\xb4\x01\n\x1e\x43ontractMigrationAuthorization\x12\x42\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06grants:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization\"\x7f\n\tCodeGrant\x12\x1b\n\tcode_hash\x18\x01 \x01(\x0cR\x08\x63odeHash\x12U\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\"\xf4\x01\n\rContractGrant\x12\x34\n\x08\x63ontract\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12T\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitXR\x05limit\x12W\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterXR\x06\x66ilter\"n\n\rMaxCallsLimit\x12\x1c\n\tremaining\x18\x01 \x01(\x04R\tremaining:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit\"\xcd\x01\n\rMaxFundsLimit\x12{\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x07\x61mounts:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit\"\xf6\x01\n\rCombinedLimit\x12\'\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04R\x0e\x63\x61llsRemaining\x12{\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x07\x61mounts:?\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\"}\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x12\n\x04keys\x18\x01 \x03(\tR\x04keys:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter\"\xa7\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12\x42\n\x08messages\x18\x01 \x03(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x08messages:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB\xb0\x01\n\x14\x63om.cosmwasm.wasm.v1B\nAuthzProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmwasm.wasm.v1.authz_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.authz_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\024com.cosmwasm.wasm.v1B\nAuthzProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000" - ) - _globals["_STORECODEAUTHORIZATION"].fields_by_name["grants"]._loaded_options = None - _globals["_STORECODEAUTHORIZATION"].fields_by_name[ - "grants" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_STORECODEAUTHORIZATION"]._loaded_options = None - _globals["_STORECODEAUTHORIZATION"]._serialized_options = ( - b'\312\264-"cosmos.authz.v1beta1.Authorization\212\347\260*\033wasm/StoreCodeAuthorization' - ) - _globals["_CONTRACTEXECUTIONAUTHORIZATION"].fields_by_name["grants"]._loaded_options = None - _globals["_CONTRACTEXECUTIONAUTHORIZATION"].fields_by_name[ - "grants" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_CONTRACTEXECUTIONAUTHORIZATION"]._loaded_options = None - _globals["_CONTRACTEXECUTIONAUTHORIZATION"]._serialized_options = ( - b'\312\264-"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractExecutionAuthorization' - ) - _globals["_CONTRACTMIGRATIONAUTHORIZATION"].fields_by_name["grants"]._loaded_options = None - _globals["_CONTRACTMIGRATIONAUTHORIZATION"].fields_by_name[ - "grants" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_CONTRACTMIGRATIONAUTHORIZATION"]._loaded_options = None - _globals["_CONTRACTMIGRATIONAUTHORIZATION"]._serialized_options = ( - b'\312\264-"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractMigrationAuthorization' - ) - _globals["_CONTRACTGRANT"].fields_by_name["contract"]._loaded_options = None - _globals["_CONTRACTGRANT"].fields_by_name["contract"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_CONTRACTGRANT"].fields_by_name["limit"]._loaded_options = None - _globals["_CONTRACTGRANT"].fields_by_name[ - "limit" - ]._serialized_options = b"\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX" - _globals["_CONTRACTGRANT"].fields_by_name["filter"]._loaded_options = None - _globals["_CONTRACTGRANT"].fields_by_name[ - "filter" - ]._serialized_options = b"\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX" - _globals["_MAXCALLSLIMIT"]._loaded_options = None - _globals["_MAXCALLSLIMIT"]._serialized_options = ( - b"\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/MaxCallsLimit" - ) - _globals["_MAXFUNDSLIMIT"].fields_by_name["amounts"]._loaded_options = None - _globals["_MAXFUNDSLIMIT"].fields_by_name[ - "amounts" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_MAXFUNDSLIMIT"]._loaded_options = None - _globals["_MAXFUNDSLIMIT"]._serialized_options = ( - b"\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/MaxFundsLimit" - ) - _globals["_COMBINEDLIMIT"].fields_by_name["amounts"]._loaded_options = None - _globals["_COMBINEDLIMIT"].fields_by_name[ - "amounts" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_COMBINEDLIMIT"]._loaded_options = None - _globals["_COMBINEDLIMIT"]._serialized_options = ( - b"\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/CombinedLimit" - ) - _globals["_ALLOWALLMESSAGESFILTER"]._loaded_options = None - _globals["_ALLOWALLMESSAGESFILTER"]._serialized_options = ( - b"\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AllowAllMessagesFilter" - ) - _globals["_ACCEPTEDMESSAGEKEYSFILTER"]._loaded_options = None - _globals["_ACCEPTEDMESSAGEKEYSFILTER"]._serialized_options = ( - b"\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\036wasm/AcceptedMessageKeysFilter" - ) - _globals["_ACCEPTEDMESSAGESFILTER"].fields_by_name["messages"]._loaded_options = None - _globals["_ACCEPTEDMESSAGESFILTER"].fields_by_name[ - "messages" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_ACCEPTEDMESSAGESFILTER"]._loaded_options = None - _globals["_ACCEPTEDMESSAGESFILTER"]._serialized_options = ( - b"\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AcceptedMessagesFilter" - ) - _globals["_STORECODEAUTHORIZATION"]._serialized_start = 208 - _globals["_STORECODEAUTHORIZATION"]._serialized_end = 368 - _globals["_CONTRACTEXECUTIONAUTHORIZATION"]._serialized_start = 371 - _globals["_CONTRACTEXECUTIONAUTHORIZATION"]._serialized_end = 551 - _globals["_CONTRACTMIGRATIONAUTHORIZATION"]._serialized_start = 554 - _globals["_CONTRACTMIGRATIONAUTHORIZATION"]._serialized_end = 734 - _globals["_CODEGRANT"]._serialized_start = 736 - _globals["_CODEGRANT"]._serialized_end = 863 - _globals["_CONTRACTGRANT"]._serialized_start = 866 - _globals["_CONTRACTGRANT"]._serialized_end = 1110 - _globals["_MAXCALLSLIMIT"]._serialized_start = 1112 - _globals["_MAXCALLSLIMIT"]._serialized_end = 1222 - _globals["_MAXFUNDSLIMIT"]._serialized_start = 1225 - _globals["_MAXFUNDSLIMIT"]._serialized_end = 1430 - _globals["_COMBINEDLIMIT"]._serialized_start = 1433 - _globals["_COMBINEDLIMIT"]._serialized_end = 1679 - _globals["_ALLOWALLMESSAGESFILTER"]._serialized_start = 1681 - _globals["_ALLOWALLMESSAGESFILTER"]._serialized_end = 1780 - _globals["_ACCEPTEDMESSAGEKEYSFILTER"]._serialized_start = 1782 - _globals["_ACCEPTEDMESSAGEKEYSFILTER"]._serialized_end = 1907 - _globals["_ACCEPTEDMESSAGESFILTER"]._serialized_start = 1910 - _globals["_ACCEPTEDMESSAGESFILTER"]._serialized_end = 2077 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\nAuthzProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000' + _globals['_STORECODEAUTHORIZATION'].fields_by_name['grants']._loaded_options = None + _globals['_STORECODEAUTHORIZATION'].fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_STORECODEAUTHORIZATION']._loaded_options = None + _globals['_STORECODEAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\033wasm/StoreCodeAuthorization' + _globals['_CONTRACTEXECUTIONAUTHORIZATION'].fields_by_name['grants']._loaded_options = None + _globals['_CONTRACTEXECUTIONAUTHORIZATION'].fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._loaded_options = None + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractExecutionAuthorization' + _globals['_CONTRACTMIGRATIONAUTHORIZATION'].fields_by_name['grants']._loaded_options = None + _globals['_CONTRACTMIGRATIONAUTHORIZATION'].fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._loaded_options = None + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractMigrationAuthorization' + _globals['_CONTRACTGRANT'].fields_by_name['contract']._loaded_options = None + _globals['_CONTRACTGRANT'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_CONTRACTGRANT'].fields_by_name['limit']._loaded_options = None + _globals['_CONTRACTGRANT'].fields_by_name['limit']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX' + _globals['_CONTRACTGRANT'].fields_by_name['filter']._loaded_options = None + _globals['_CONTRACTGRANT'].fields_by_name['filter']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX' + _globals['_MAXCALLSLIMIT']._loaded_options = None + _globals['_MAXCALLSLIMIT']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/MaxCallsLimit' + _globals['_MAXFUNDSLIMIT'].fields_by_name['amounts']._loaded_options = None + _globals['_MAXFUNDSLIMIT'].fields_by_name['amounts']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MAXFUNDSLIMIT']._loaded_options = None + _globals['_MAXFUNDSLIMIT']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/MaxFundsLimit' + _globals['_COMBINEDLIMIT'].fields_by_name['amounts']._loaded_options = None + _globals['_COMBINEDLIMIT'].fields_by_name['amounts']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_COMBINEDLIMIT']._loaded_options = None + _globals['_COMBINEDLIMIT']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX\212\347\260*\022wasm/CombinedLimit' + _globals['_ALLOWALLMESSAGESFILTER']._loaded_options = None + _globals['_ALLOWALLMESSAGESFILTER']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AllowAllMessagesFilter' + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._loaded_options = None + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\036wasm/AcceptedMessageKeysFilter' + _globals['_ACCEPTEDMESSAGESFILTER'].fields_by_name['messages']._loaded_options = None + _globals['_ACCEPTEDMESSAGESFILTER'].fields_by_name['messages']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_ACCEPTEDMESSAGESFILTER']._loaded_options = None + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AcceptedMessagesFilter' + _globals['_STORECODEAUTHORIZATION']._serialized_start=208 + _globals['_STORECODEAUTHORIZATION']._serialized_end=368 + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_start=371 + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_end=551 + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_start=554 + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_end=734 + _globals['_CODEGRANT']._serialized_start=736 + _globals['_CODEGRANT']._serialized_end=863 + _globals['_CONTRACTGRANT']._serialized_start=866 + _globals['_CONTRACTGRANT']._serialized_end=1110 + _globals['_MAXCALLSLIMIT']._serialized_start=1112 + _globals['_MAXCALLSLIMIT']._serialized_end=1222 + _globals['_MAXFUNDSLIMIT']._serialized_start=1225 + _globals['_MAXFUNDSLIMIT']._serialized_end=1430 + _globals['_COMBINEDLIMIT']._serialized_start=1433 + _globals['_COMBINEDLIMIT']._serialized_end=1679 + _globals['_ALLOWALLMESSAGESFILTER']._serialized_start=1681 + _globals['_ALLOWALLMESSAGESFILTER']._serialized_end=1780 + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_start=1782 + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_end=1907 + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_start=1910 + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_end=2077 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2_grpc.py @@ -1,3 +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/cosmwasm/wasm/v1/genesis_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py index bea88afa..535084e8 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,54 +18,42 @@ from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1e\x63osmwasm/wasm/v1/genesis.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto"\xcf\x02\n\x0cGenesisState\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12J\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*\x01R\x05\x63odes\x12Z\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*\x01R\tcontracts\x12Z\n\tsequences\x18\x04 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.SequenceB \xc8\xde\x1f\x00\xea\xde\x1f\x13sequences,omitempty\xa8\xe7\xb0*\x01R\tsequences"\xa6\x01\n\x04\x43ode\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x42\n\tcode_info\x18\x02 \x01(\x0b\x32\x1a.cosmwasm.wasm.v1.CodeInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x63odeInfo\x12\x1d\n\ncode_bytes\x18\x03 \x01(\x0cR\tcodeBytes\x12\x16\n\x06pinned\x18\x04 \x01(\x08R\x06pinned"\xd5\x02\n\x08\x43ontract\x12\x43\n\x10\x63ontract_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0f\x63ontractAddress\x12N\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0c\x63ontractInfo\x12I\n\x0e\x63ontract_state\x18\x03 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rcontractState\x12i\n\x15\x63ontract_code_history\x18\x04 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x63ontractCodeHistory"B\n\x08Sequence\x12 \n\x06id_key\x18\x01 \x01(\x0c\x42\t\xe2\xde\x1f\x05IDKeyR\x05idKey\x12\x14\n\x05value\x18\x02 \x01(\x04R\x05valueB\xae\x01\n\x14\x63om.cosmwasm.wasm.v1B\x0cGenesisProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1b\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\"\xcf\x02\n\x0cGenesisState\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\x12J\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*\x01R\x05\x63odes\x12Z\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*\x01R\tcontracts\x12Z\n\tsequences\x18\x04 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.SequenceB \xc8\xde\x1f\x00\xea\xde\x1f\x13sequences,omitempty\xa8\xe7\xb0*\x01R\tsequences\"\xa6\x01\n\x04\x43ode\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x42\n\tcode_info\x18\x02 \x01(\x0b\x32\x1a.cosmwasm.wasm.v1.CodeInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08\x63odeInfo\x12\x1d\n\ncode_bytes\x18\x03 \x01(\x0cR\tcodeBytes\x12\x16\n\x06pinned\x18\x04 \x01(\x08R\x06pinned\"\xd5\x02\n\x08\x43ontract\x12\x43\n\x10\x63ontract_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0f\x63ontractAddress\x12N\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0c\x63ontractInfo\x12I\n\x0e\x63ontract_state\x18\x03 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rcontractState\x12i\n\x15\x63ontract_code_history\x18\x04 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x13\x63ontractCodeHistory\"B\n\x08Sequence\x12 \n\x06id_key\x18\x01 \x01(\x0c\x42\t\xe2\xde\x1f\x05IDKeyR\x05idKey\x12\x14\n\x05value\x18\x02 \x01(\x04R\x05valueB\xae\x01\n\x14\x63om.cosmwasm.wasm.v1B\x0cGenesisProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmwasm.wasm.v1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\024com.cosmwasm.wasm.v1B\014GenesisProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1" - ) - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["codes"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "codes" - ]._serialized_options = b"\310\336\037\000\352\336\037\017codes,omitempty\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["contracts"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "contracts" - ]._serialized_options = b"\310\336\037\000\352\336\037\023contracts,omitempty\250\347\260*\001" - _globals["_GENESISSTATE"].fields_by_name["sequences"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "sequences" - ]._serialized_options = b"\310\336\037\000\352\336\037\023sequences,omitempty\250\347\260*\001" - _globals["_CODE"].fields_by_name["code_id"]._loaded_options = None - _globals["_CODE"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" - _globals["_CODE"].fields_by_name["code_info"]._loaded_options = None - _globals["_CODE"].fields_by_name["code_info"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_CONTRACT"].fields_by_name["contract_address"]._loaded_options = None - _globals["_CONTRACT"].fields_by_name["contract_address"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_CONTRACT"].fields_by_name["contract_info"]._loaded_options = None - _globals["_CONTRACT"].fields_by_name["contract_info"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_CONTRACT"].fields_by_name["contract_state"]._loaded_options = None - _globals["_CONTRACT"].fields_by_name["contract_state"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_CONTRACT"].fields_by_name["contract_code_history"]._loaded_options = None - _globals["_CONTRACT"].fields_by_name[ - "contract_code_history" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_SEQUENCE"].fields_by_name["id_key"]._loaded_options = None - _globals["_SEQUENCE"].fields_by_name["id_key"]._serialized_options = b"\342\336\037\005IDKey" - _globals["_GENESISSTATE"]._serialized_start = 151 - _globals["_GENESISSTATE"]._serialized_end = 486 - _globals["_CODE"]._serialized_start = 489 - _globals["_CODE"]._serialized_end = 655 - _globals["_CONTRACT"]._serialized_start = 658 - _globals["_CONTRACT"]._serialized_end = 999 - _globals["_SEQUENCE"]._serialized_start = 1001 - _globals["_SEQUENCE"]._serialized_end = 1067 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\014GenesisProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['codes']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['codes']._serialized_options = b'\310\336\037\000\352\336\037\017codes,omitempty\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['contracts']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['contracts']._serialized_options = b'\310\336\037\000\352\336\037\023contracts,omitempty\250\347\260*\001' + _globals['_GENESISSTATE'].fields_by_name['sequences']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['sequences']._serialized_options = b'\310\336\037\000\352\336\037\023sequences,omitempty\250\347\260*\001' + _globals['_CODE'].fields_by_name['code_id']._loaded_options = None + _globals['_CODE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_CODE'].fields_by_name['code_info']._loaded_options = None + _globals['_CODE'].fields_by_name['code_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_CONTRACT'].fields_by_name['contract_address']._loaded_options = None + _globals['_CONTRACT'].fields_by_name['contract_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_CONTRACT'].fields_by_name['contract_info']._loaded_options = None + _globals['_CONTRACT'].fields_by_name['contract_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_CONTRACT'].fields_by_name['contract_state']._loaded_options = None + _globals['_CONTRACT'].fields_by_name['contract_state']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_CONTRACT'].fields_by_name['contract_code_history']._loaded_options = None + _globals['_CONTRACT'].fields_by_name['contract_code_history']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_SEQUENCE'].fields_by_name['id_key']._loaded_options = None + _globals['_SEQUENCE'].fields_by_name['id_key']._serialized_options = b'\342\336\037\005IDKey' + _globals['_GENESISSTATE']._serialized_start=151 + _globals['_GENESISSTATE']._serialized_end=486 + _globals['_CODE']._serialized_start=489 + _globals['_CODE']._serialized_end=655 + _globals['_CONTRACT']._serialized_start=658 + _globals['_CONTRACT']._serialized_end=999 + _globals['_SEQUENCE']._serialized_start=1001 + _globals['_SEQUENCE']._serialized_end=1067 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2_grpc.py @@ -1,3 +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/cosmwasm/wasm/v1/ibc_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py index 1aa59bf6..a0548a24 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,36 +15,26 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1a\x63osmwasm/wasm/v1/ibc.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto"\xe2\x01\n\nMsgIBCSend\x12\x33\n\x07\x63hannel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:"source_channel"R\x07\x63hannel\x12@\n\x0etimeout_height\x18\x04 \x01(\x04\x42\x19\xf2\xde\x1f\x15yaml:"timeout_height"R\rtimeoutHeight\x12I\n\x11timeout_timestamp\x18\x05 \x01(\x04\x42\x1c\xf2\xde\x1f\x18yaml:"timeout_timestamp"R\x10timeoutTimestamp\x12\x12\n\x04\x64\x61ta\x18\x06 \x01(\x0cR\x04\x64\x61ta"0\n\x12MsgIBCSendResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence"I\n\x12MsgIBCCloseChannel\x12\x33\n\x07\x63hannel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:"source_channel"R\x07\x63hannelB\xae\x01\n\x14\x63om.cosmwasm.wasm.v1B\x08IbcProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63osmwasm/wasm/v1/ibc.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\"\xe2\x01\n\nMsgIBCSend\x12\x33\n\x07\x63hannel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_channel\"R\x07\x63hannel\x12@\n\x0etimeout_height\x18\x04 \x01(\x04\x42\x19\xf2\xde\x1f\x15yaml:\"timeout_height\"R\rtimeoutHeight\x12I\n\x11timeout_timestamp\x18\x05 \x01(\x04\x42\x1c\xf2\xde\x1f\x18yaml:\"timeout_timestamp\"R\x10timeoutTimestamp\x12\x12\n\x04\x64\x61ta\x18\x06 \x01(\x0cR\x04\x64\x61ta\"0\n\x12MsgIBCSendResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\"I\n\x12MsgIBCCloseChannel\x12\x33\n\x07\x63hannel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_channel\"R\x07\x63hannelB\xae\x01\n\x14\x63om.cosmwasm.wasm.v1B\x08IbcProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmwasm.wasm.v1.ibc_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.ibc_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\024com.cosmwasm.wasm.v1B\010IbcProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000" - ) - _globals["_MSGIBCSEND"].fields_by_name["channel"]._loaded_options = None - _globals["_MSGIBCSEND"].fields_by_name["channel"]._serialized_options = b'\362\336\037\025yaml:"source_channel"' - _globals["_MSGIBCSEND"].fields_by_name["timeout_height"]._loaded_options = None - _globals["_MSGIBCSEND"].fields_by_name[ - "timeout_height" - ]._serialized_options = b'\362\336\037\025yaml:"timeout_height"' - _globals["_MSGIBCSEND"].fields_by_name["timeout_timestamp"]._loaded_options = None - _globals["_MSGIBCSEND"].fields_by_name[ - "timeout_timestamp" - ]._serialized_options = b'\362\336\037\030yaml:"timeout_timestamp"' - _globals["_MSGIBCCLOSECHANNEL"].fields_by_name["channel"]._loaded_options = None - _globals["_MSGIBCCLOSECHANNEL"].fields_by_name[ - "channel" - ]._serialized_options = b'\362\336\037\025yaml:"source_channel"' - _globals["_MSGIBCSEND"]._serialized_start = 71 - _globals["_MSGIBCSEND"]._serialized_end = 297 - _globals["_MSGIBCSENDRESPONSE"]._serialized_start = 299 - _globals["_MSGIBCSENDRESPONSE"]._serialized_end = 347 - _globals["_MSGIBCCLOSECHANNEL"]._serialized_start = 349 - _globals["_MSGIBCCLOSECHANNEL"]._serialized_end = 422 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\010IbcProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000' + _globals['_MSGIBCSEND'].fields_by_name['channel']._loaded_options = None + _globals['_MSGIBCSEND'].fields_by_name['channel']._serialized_options = b'\362\336\037\025yaml:\"source_channel\"' + _globals['_MSGIBCSEND'].fields_by_name['timeout_height']._loaded_options = None + _globals['_MSGIBCSEND'].fields_by_name['timeout_height']._serialized_options = b'\362\336\037\025yaml:\"timeout_height\"' + _globals['_MSGIBCSEND'].fields_by_name['timeout_timestamp']._loaded_options = None + _globals['_MSGIBCSEND'].fields_by_name['timeout_timestamp']._serialized_options = b'\362\336\037\030yaml:\"timeout_timestamp\"' + _globals['_MSGIBCCLOSECHANNEL'].fields_by_name['channel']._loaded_options = None + _globals['_MSGIBCCLOSECHANNEL'].fields_by_name['channel']._serialized_options = b'\362\336\037\025yaml:\"source_channel\"' + _globals['_MSGIBCSEND']._serialized_start=71 + _globals['_MSGIBCSEND']._serialized_end=297 + _globals['_MSGIBCSENDRESPONSE']._serialized_start=299 + _globals['_MSGIBCSENDRESPONSE']._serialized_end=347 + _globals['_MSGIBCCLOSECHANNEL']._serialized_start=349 + _globals['_MSGIBCCLOSECHANNEL']._serialized_end=422 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/ibc_pb2_grpc.py @@ -1,3 +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/cosmwasm/wasm/v1/proposal_legacy_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2.py index 80103624..7a284f58 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,220 +19,132 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&cosmwasm/wasm/v1/proposal_legacy.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\x03\n\x11StoreCodeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x36\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x08 \x01(\x08R\tunpinCode\x12\x16\n\x06source\x18\t \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\n \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\x0b \x01(\x0cR\x08\x63odeHash:;\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x16wasm/StoreCodeProposalJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07"\xeb\x03\n\x1bInstantiateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12.\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x07 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:E\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0* wasm/InstantiateContractProposal"\x9a\x04\n\x1cInstantiateContract2Proposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12.\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x07 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x12\n\x04salt\x18\t \x01(\x0cR\x04salt\x12\x17\n\x07\x66ix_msg\x18\n \x01(\x08R\x06\x66ixMsg:F\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal"\xa9\x02\n\x17MigrateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x38\n\x03msg\x18\x06 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal"\xfe\x01\n\x14SudoContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:>\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x19wasm/SudoContractProposal"\xae\x03\n\x17\x45xecuteContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal"\x8d\x02\n\x13UpdateAdminProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12I\n\tnew_admin\x18\x03 \x01(\tB,\xf2\xde\x1f\x10yaml:"new_admin"\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal"\xc0\x01\n\x12\x43learAdminProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal"\xc1\x01\n\x10PinCodesProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:"code_ids"R\x07\x63odeIds::\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15wasm/PinCodesProposal"\xc5\x01\n\x12UnpinCodesProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:"code_ids"R\x07\x63odeIds:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal"\x9b\x01\n\x12\x41\x63\x63\x65ssConfigUpdate\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12`\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15instantiatePermission"\xb3\x02\n\x1fUpdateInstantiateConfigProposal\x12&\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:"title"R\x05title\x12\x38\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:"description"R\x0b\x64\x65scription\x12\x63\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*\x01R\x13\x61\x63\x63\x65ssConfigUpdates:I\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal"\xb9\x05\n#StoreAndInstantiateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x36\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x06 \x01(\x08R\tunpinCode\x12\x14\n\x05\x61\x64min\x18\x07 \x01(\tR\x05\x61\x64min\x12\x14\n\x05label\x18\x08 \x01(\tR\x05label\x12\x38\n\x03msg\x18\t \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x16\n\x06source\x18\x0b \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\x0c \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\r \x01(\x0cR\x08\x63odeHash:M\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposalB\xc1\x01\n\x14\x63om.cosmwasm.wasm.v1B\x13ProposalLegacyProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmwasm/wasm/v1/proposal_legacy.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\x03\n\x11StoreCodeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x36\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x08 \x01(\x08R\tunpinCode\x12\x16\n\x06source\x18\t \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\n \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\x0b \x01(\x0cR\x08\x63odeHash:;\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x16wasm/StoreCodeProposalJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\xeb\x03\n\x1bInstantiateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12.\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x07 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:E\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0* wasm/InstantiateContractProposal\"\x9a\x04\n\x1cInstantiateContract2Proposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12.\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x07 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x12\n\x04salt\x18\t \x01(\x0cR\x04salt\x12\x17\n\x07\x66ix_msg\x18\n \x01(\x08R\x06\x66ixMsg:F\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal\"\xa9\x02\n\x17MigrateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12#\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x38\n\x03msg\x18\x06 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal\"\xfe\x01\n\x14SudoContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:>\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x19wasm/SudoContractProposal\"\xae\x03\n\x17\x45xecuteContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal\"\x8d\x02\n\x13UpdateAdminProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12I\n\tnew_admin\x18\x03 \x01(\tB,\xf2\xde\x1f\x10yaml:\"new_admin\"\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin\x12\x34\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal\"\xc0\x01\n\x12\x43learAdminProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal\"\xc1\x01\n\x10PinCodesProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"R\x07\x63odeIds::\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15wasm/PinCodesProposal\"\xc5\x01\n\x12UnpinCodesProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"R\x07\x63odeIds:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal\"\x9b\x01\n\x12\x41\x63\x63\x65ssConfigUpdate\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12`\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15instantiatePermission\"\xb3\x02\n\x1fUpdateInstantiateConfigProposal\x12&\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"R\x05title\x12\x38\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"R\x0b\x64\x65scription\x12\x63\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*\x01R\x13\x61\x63\x63\x65ssConfigUpdates:I\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal\"\xb9\x05\n#StoreAndInstantiateContractProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12/\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05runAs\x12\x36\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x06 \x01(\x08R\tunpinCode\x12\x14\n\x05\x61\x64min\x18\x07 \x01(\tR\x05\x61\x64min\x12\x14\n\x05label\x18\x08 \x01(\tR\x05label\x12\x38\n\x03msg\x18\t \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x16\n\x06source\x18\x0b \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\x0c \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\r \x01(\x0cR\x08\x63odeHash:M\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposalB\xc1\x01\n\x14\x63om.cosmwasm.wasm.v1B\x13ProposalLegacyProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmwasm.wasm.v1.proposal_legacy_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.proposal_legacy_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\024com.cosmwasm.wasm.v1B\023ProposalLegacyProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\330\341\036\000\250\342\036\001" - ) - _globals["_STORECODEPROPOSAL"].fields_by_name["run_as"]._loaded_options = None - _globals["_STORECODEPROPOSAL"].fields_by_name["run_as"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_STORECODEPROPOSAL"].fields_by_name["wasm_byte_code"]._loaded_options = None - _globals["_STORECODEPROPOSAL"].fields_by_name[ - "wasm_byte_code" - ]._serialized_options = b"\342\336\037\014WASMByteCode" - _globals["_STORECODEPROPOSAL"]._loaded_options = None - _globals["_STORECODEPROPOSAL"]._serialized_options = ( - b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\026wasm/StoreCodeProposal" - ) - _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name["run_as"]._loaded_options = None - _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name[ - "run_as" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name["admin"]._loaded_options = None - _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name[ - "admin" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name["code_id"]._loaded_options = None - _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" - _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name["msg"]._loaded_options = None - _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name[ - "msg" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name["funds"]._loaded_options = None - _globals["_INSTANTIATECONTRACTPROPOSAL"].fields_by_name[ - "funds" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_INSTANTIATECONTRACTPROPOSAL"]._loaded_options = None - _globals["_INSTANTIATECONTRACTPROPOSAL"]._serialized_options = ( - b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260* wasm/InstantiateContractProposal" - ) - _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name["run_as"]._loaded_options = None - _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name[ - "run_as" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name["admin"]._loaded_options = None - _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name[ - "admin" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name["code_id"]._loaded_options = None - _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" - _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name["msg"]._loaded_options = None - _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name[ - "msg" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name["funds"]._loaded_options = None - _globals["_INSTANTIATECONTRACT2PROPOSAL"].fields_by_name[ - "funds" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_INSTANTIATECONTRACT2PROPOSAL"]._loaded_options = None - _globals["_INSTANTIATECONTRACT2PROPOSAL"]._serialized_options = ( - b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!wasm/InstantiateContract2Proposal" - ) - _globals["_MIGRATECONTRACTPROPOSAL"].fields_by_name["contract"]._loaded_options = None - _globals["_MIGRATECONTRACTPROPOSAL"].fields_by_name[ - "contract" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MIGRATECONTRACTPROPOSAL"].fields_by_name["code_id"]._loaded_options = None - _globals["_MIGRATECONTRACTPROPOSAL"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" - _globals["_MIGRATECONTRACTPROPOSAL"].fields_by_name["msg"]._loaded_options = None - _globals["_MIGRATECONTRACTPROPOSAL"].fields_by_name[ - "msg" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_MIGRATECONTRACTPROPOSAL"]._loaded_options = None - _globals["_MIGRATECONTRACTPROPOSAL"]._serialized_options = ( - b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/MigrateContractProposal" - ) - _globals["_SUDOCONTRACTPROPOSAL"].fields_by_name["contract"]._loaded_options = None - _globals["_SUDOCONTRACTPROPOSAL"].fields_by_name[ - "contract" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_SUDOCONTRACTPROPOSAL"].fields_by_name["msg"]._loaded_options = None - _globals["_SUDOCONTRACTPROPOSAL"].fields_by_name[ - "msg" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_SUDOCONTRACTPROPOSAL"]._loaded_options = None - _globals["_SUDOCONTRACTPROPOSAL"]._serialized_options = ( - b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\031wasm/SudoContractProposal" - ) - _globals["_EXECUTECONTRACTPROPOSAL"].fields_by_name["run_as"]._loaded_options = None - _globals["_EXECUTECONTRACTPROPOSAL"].fields_by_name[ - "run_as" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_EXECUTECONTRACTPROPOSAL"].fields_by_name["contract"]._loaded_options = None - _globals["_EXECUTECONTRACTPROPOSAL"].fields_by_name[ - "contract" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_EXECUTECONTRACTPROPOSAL"].fields_by_name["msg"]._loaded_options = None - _globals["_EXECUTECONTRACTPROPOSAL"].fields_by_name[ - "msg" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_EXECUTECONTRACTPROPOSAL"].fields_by_name["funds"]._loaded_options = None - _globals["_EXECUTECONTRACTPROPOSAL"].fields_by_name[ - "funds" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_EXECUTECONTRACTPROPOSAL"]._loaded_options = None - _globals["_EXECUTECONTRACTPROPOSAL"]._serialized_options = ( - b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/ExecuteContractProposal" - ) - _globals["_UPDATEADMINPROPOSAL"].fields_by_name["new_admin"]._loaded_options = None - _globals["_UPDATEADMINPROPOSAL"].fields_by_name[ - "new_admin" - ]._serialized_options = b'\362\336\037\020yaml:"new_admin"\322\264-\024cosmos.AddressString' - _globals["_UPDATEADMINPROPOSAL"].fields_by_name["contract"]._loaded_options = None - _globals["_UPDATEADMINPROPOSAL"].fields_by_name[ - "contract" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_UPDATEADMINPROPOSAL"]._loaded_options = None - _globals["_UPDATEADMINPROPOSAL"]._serialized_options = ( - b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\030wasm/UpdateAdminProposal" - ) - _globals["_CLEARADMINPROPOSAL"].fields_by_name["contract"]._loaded_options = None - _globals["_CLEARADMINPROPOSAL"].fields_by_name[ - "contract" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_CLEARADMINPROPOSAL"]._loaded_options = None - _globals["_CLEARADMINPROPOSAL"]._serialized_options = ( - b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/ClearAdminProposal" - ) - _globals["_PINCODESPROPOSAL"].fields_by_name["code_ids"]._loaded_options = None - _globals["_PINCODESPROPOSAL"].fields_by_name[ - "code_ids" - ]._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:"code_ids"' - _globals["_PINCODESPROPOSAL"]._loaded_options = None - _globals["_PINCODESPROPOSAL"]._serialized_options = ( - b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025wasm/PinCodesProposal" - ) - _globals["_UNPINCODESPROPOSAL"].fields_by_name["code_ids"]._loaded_options = None - _globals["_UNPINCODESPROPOSAL"].fields_by_name[ - "code_ids" - ]._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:"code_ids"' - _globals["_UNPINCODESPROPOSAL"]._loaded_options = None - _globals["_UNPINCODESPROPOSAL"]._serialized_options = ( - b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/UnpinCodesProposal" - ) - _globals["_ACCESSCONFIGUPDATE"].fields_by_name["code_id"]._loaded_options = None - _globals["_ACCESSCONFIGUPDATE"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" - _globals["_ACCESSCONFIGUPDATE"].fields_by_name["instantiate_permission"]._loaded_options = None - _globals["_ACCESSCONFIGUPDATE"].fields_by_name[ - "instantiate_permission" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"].fields_by_name["title"]._loaded_options = None - _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"].fields_by_name[ - "title" - ]._serialized_options = b'\362\336\037\014yaml:"title"' - _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"].fields_by_name["description"]._loaded_options = None - _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"].fields_by_name[ - "description" - ]._serialized_options = b'\362\336\037\022yaml:"description"' - _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"].fields_by_name["access_config_updates"]._loaded_options = None - _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"].fields_by_name[ - "access_config_updates" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"]._loaded_options = None - _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"]._serialized_options = ( - b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$wasm/UpdateInstantiateConfigProposal" - ) - _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"].fields_by_name["run_as"]._loaded_options = None - _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"].fields_by_name[ - "run_as" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"].fields_by_name["wasm_byte_code"]._loaded_options = None - _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"].fields_by_name[ - "wasm_byte_code" - ]._serialized_options = b"\342\336\037\014WASMByteCode" - _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"].fields_by_name["msg"]._loaded_options = None - _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"].fields_by_name[ - "msg" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"].fields_by_name["funds"]._loaded_options = None - _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"].fields_by_name[ - "funds" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"]._loaded_options = None - _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"]._serialized_options = ( - b"\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(wasm/StoreAndInstantiateContractProposal" - ) - _globals["_STORECODEPROPOSAL"]._serialized_start = 191 - _globals["_STORECODEPROPOSAL"]._serialized_end = 641 - _globals["_INSTANTIATECONTRACTPROPOSAL"]._serialized_start = 644 - _globals["_INSTANTIATECONTRACTPROPOSAL"]._serialized_end = 1135 - _globals["_INSTANTIATECONTRACT2PROPOSAL"]._serialized_start = 1138 - _globals["_INSTANTIATECONTRACT2PROPOSAL"]._serialized_end = 1676 - _globals["_MIGRATECONTRACTPROPOSAL"]._serialized_start = 1679 - _globals["_MIGRATECONTRACTPROPOSAL"]._serialized_end = 1976 - _globals["_SUDOCONTRACTPROPOSAL"]._serialized_start = 1979 - _globals["_SUDOCONTRACTPROPOSAL"]._serialized_end = 2233 - _globals["_EXECUTECONTRACTPROPOSAL"]._serialized_start = 2236 - _globals["_EXECUTECONTRACTPROPOSAL"]._serialized_end = 2666 - _globals["_UPDATEADMINPROPOSAL"]._serialized_start = 2669 - _globals["_UPDATEADMINPROPOSAL"]._serialized_end = 2938 - _globals["_CLEARADMINPROPOSAL"]._serialized_start = 2941 - _globals["_CLEARADMINPROPOSAL"]._serialized_end = 3133 - _globals["_PINCODESPROPOSAL"]._serialized_start = 3136 - _globals["_PINCODESPROPOSAL"]._serialized_end = 3329 - _globals["_UNPINCODESPROPOSAL"]._serialized_start = 3332 - _globals["_UNPINCODESPROPOSAL"]._serialized_end = 3529 - _globals["_ACCESSCONFIGUPDATE"]._serialized_start = 3532 - _globals["_ACCESSCONFIGUPDATE"]._serialized_end = 3687 - _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"]._serialized_start = 3690 - _globals["_UPDATEINSTANTIATECONFIGPROPOSAL"]._serialized_end = 3997 - _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"]._serialized_start = 4000 - _globals["_STOREANDINSTANTIATECONTRACTPROPOSAL"]._serialized_end = 4697 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\023ProposalLegacyProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\330\341\036\000\250\342\036\001' + _globals['_STORECODEPROPOSAL'].fields_by_name['run_as']._loaded_options = None + _globals['_STORECODEPROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_STORECODEPROPOSAL'].fields_by_name['wasm_byte_code']._loaded_options = None + _globals['_STORECODEPROPOSAL'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _globals['_STORECODEPROPOSAL']._loaded_options = None + _globals['_STORECODEPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\026wasm/StoreCodeProposal' + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['run_as']._loaded_options = None + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['admin']._loaded_options = None + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['code_id']._loaded_options = None + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['funds']._loaded_options = None + _globals['_INSTANTIATECONTRACTPROPOSAL'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_INSTANTIATECONTRACTPROPOSAL']._loaded_options = None + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260* wasm/InstantiateContractProposal' + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['run_as']._loaded_options = None + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['admin']._loaded_options = None + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['code_id']._loaded_options = None + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['msg']._loaded_options = None + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['funds']._loaded_options = None + _globals['_INSTANTIATECONTRACT2PROPOSAL'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_INSTANTIATECONTRACT2PROPOSAL']._loaded_options = None + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!wasm/InstantiateContract2Proposal' + _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['contract']._loaded_options = None + _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['code_id']._loaded_options = None + _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None + _globals['_MIGRATECONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MIGRATECONTRACTPROPOSAL']._loaded_options = None + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/MigrateContractProposal' + _globals['_SUDOCONTRACTPROPOSAL'].fields_by_name['contract']._loaded_options = None + _globals['_SUDOCONTRACTPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_SUDOCONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None + _globals['_SUDOCONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_SUDOCONTRACTPROPOSAL']._loaded_options = None + _globals['_SUDOCONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\031wasm/SudoContractProposal' + _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['run_as']._loaded_options = None + _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['contract']._loaded_options = None + _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None + _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['funds']._loaded_options = None + _globals['_EXECUTECONTRACTPROPOSAL'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_EXECUTECONTRACTPROPOSAL']._loaded_options = None + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/ExecuteContractProposal' + _globals['_UPDATEADMINPROPOSAL'].fields_by_name['new_admin']._loaded_options = None + _globals['_UPDATEADMINPROPOSAL'].fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"\322\264-\024cosmos.AddressString' + _globals['_UPDATEADMINPROPOSAL'].fields_by_name['contract']._loaded_options = None + _globals['_UPDATEADMINPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_UPDATEADMINPROPOSAL']._loaded_options = None + _globals['_UPDATEADMINPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\030wasm/UpdateAdminProposal' + _globals['_CLEARADMINPROPOSAL'].fields_by_name['contract']._loaded_options = None + _globals['_CLEARADMINPROPOSAL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_CLEARADMINPROPOSAL']._loaded_options = None + _globals['_CLEARADMINPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/ClearAdminProposal' + _globals['_PINCODESPROPOSAL'].fields_by_name['code_ids']._loaded_options = None + _globals['_PINCODESPROPOSAL'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' + _globals['_PINCODESPROPOSAL']._loaded_options = None + _globals['_PINCODESPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025wasm/PinCodesProposal' + _globals['_UNPINCODESPROPOSAL'].fields_by_name['code_ids']._loaded_options = None + _globals['_UNPINCODESPROPOSAL'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' + _globals['_UNPINCODESPROPOSAL']._loaded_options = None + _globals['_UNPINCODESPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/UnpinCodesProposal' + _globals['_ACCESSCONFIGUPDATE'].fields_by_name['code_id']._loaded_options = None + _globals['_ACCESSCONFIGUPDATE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_ACCESSCONFIGUPDATE'].fields_by_name['instantiate_permission']._loaded_options = None + _globals['_ACCESSCONFIGUPDATE'].fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['title']._loaded_options = None + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['description']._loaded_options = None + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['access_config_updates']._loaded_options = None + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL'].fields_by_name['access_config_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._loaded_options = None + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$wasm/UpdateInstantiateConfigProposal' + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['run_as']._loaded_options = None + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['wasm_byte_code']._loaded_options = None + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['msg']._loaded_options = None + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['funds']._loaded_options = None + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._loaded_options = None + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(wasm/StoreAndInstantiateContractProposal' + _globals['_STORECODEPROPOSAL']._serialized_start=191 + _globals['_STORECODEPROPOSAL']._serialized_end=641 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_start=644 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_end=1135 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_start=1138 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_end=1676 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_start=1679 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_end=1976 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_start=1979 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_end=2233 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_start=2236 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_end=2666 + _globals['_UPDATEADMINPROPOSAL']._serialized_start=2669 + _globals['_UPDATEADMINPROPOSAL']._serialized_end=2938 + _globals['_CLEARADMINPROPOSAL']._serialized_start=2941 + _globals['_CLEARADMINPROPOSAL']._serialized_end=3133 + _globals['_PINCODESPROPOSAL']._serialized_start=3136 + _globals['_PINCODESPROPOSAL']._serialized_end=3329 + _globals['_UNPINCODESPROPOSAL']._serialized_start=3332 + _globals['_UNPINCODESPROPOSAL']._serialized_end=3529 + _globals['_ACCESSCONFIGUPDATE']._serialized_start=3532 + _globals['_ACCESSCONFIGUPDATE']._serialized_end=3687 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_start=3690 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_end=3997 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_start=4000 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_end=4697 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/proposal_legacy_pb2_grpc.py @@ -1,3 +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/cosmwasm/wasm/v1/query_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py index 7c7fc22a..6defc46e 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,219 +15,149 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1c\x63osmwasm/wasm/v1/query.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto"N\n\x18QueryContractInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress"\xad\x01\n\x19QueryContractInfoResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12V\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*\x01R\x0c\x63ontractInfo:\x04\xe8\xa0\x1f\x01"\x99\x01\n\x1bQueryContractHistoryRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xb8\x01\n\x1cQueryContractHistoryResponse\x12O\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"~\n\x1bQueryContractsByCodeRequest\x12\x17\n\x07\x63ode_id\x18\x01 \x01(\x04R\x06\x63odeId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x9f\x01\n\x1cQueryContractsByCodeResponse\x12\x36\n\tcontracts\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tcontracts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x9a\x01\n\x1cQueryAllContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xa4\x01\n\x1dQueryAllContractStateResponse\x12:\n\x06models\x18\x01 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06models\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"q\n\x1cQueryRawContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x1d\n\nquery_data\x18\x02 \x01(\x0cR\tqueryData"3\n\x1dQueryRawContractStateResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta"\x9b\x01\n\x1eQuerySmartContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x45\n\nquery_data\x18\x02 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\tqueryData"]\n\x1fQuerySmartContractStateResponse\x12:\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x04\x64\x61ta"+\n\x10QueryCodeRequest\x12\x17\n\x07\x63ode_id\x18\x01 \x01(\x04R\x06\x63odeId"\xb8\x02\n\x10\x43odeInfoResponse\x12)\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\x10\xe2\xde\x1f\x06\x43odeID\xea\xde\x1f\x02idR\x06\x63odeId\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12Q\n\tdata_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x08\x64\x61taHash\x12`\n\x16instantiate_permission\x18\x06 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15instantiatePermission:\x04\xe8\xa0\x1f\x01J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06"\x82\x01\n\x11QueryCodeResponse\x12I\n\tcode_info\x18\x01 \x01(\x0b\x32".cosmwasm.wasm.v1.CodeInfoResponseB\x08\xd0\xde\x1f\x01\xea\xde\x1f\x00R\x08\x63odeInfo\x12\x1c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61taR\x04\x64\x61ta:\x04\xe8\xa0\x1f\x01"[\n\x11QueryCodesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xab\x01\n\x12QueryCodesResponse\x12L\n\ncode_infos\x18\x01 \x03(\x0b\x32".cosmwasm.wasm.v1.CodeInfoResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tcodeInfos\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"a\n\x17QueryPinnedCodesRequest\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\x8b\x01\n\x18QueryPinnedCodesResponse\x12&\n\x08\x63ode_ids\x18\x01 \x03(\x04\x42\x0b\xe2\xde\x1f\x07\x43odeIDsR\x07\x63odeIds\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x14\n\x12QueryParamsRequest"R\n\x13QueryParamsResponse\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params"\xab\x01\n\x1eQueryContractsByCreatorRequest\x12\x41\n\x0f\x63reator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x63reatorAddress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xb3\x01\n\x1fQueryContractsByCreatorResponse\x12G\n\x12\x63ontract_addresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x11\x63ontractAddresses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xab\x01\n\x18QueryBuildAddressRequest\x12\x1b\n\tcode_hash\x18\x01 \x01(\tR\x08\x63odeHash\x12\x41\n\x0f\x63reator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x63reatorAddress\x12\x12\n\x04salt\x18\x03 \x01(\tR\x04salt\x12\x1b\n\tinit_args\x18\x04 \x01(\x0cR\x08initArgs"O\n\x19QueryBuildAddressResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress2\xdf\x0e\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}\x12\x99\x01\n\x0c\x42uildAddress\x12*.cosmwasm.wasm.v1.QueryBuildAddressRequest\x1a+.cosmwasm.wasm.v1.QueryBuildAddressResponse"0\x82\xd3\xe4\x93\x02*\x12(/cosmwasm/wasm/v1/contract/build_addressB\xb4\x01\n\x14\x63om.cosmwasm.wasm.v1B\nQueryProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\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\"N\n\x18QueryContractInfoRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\"\xad\x01\n\x19QueryContractInfoResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12V\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*\x01R\x0c\x63ontractInfo:\x04\xe8\xa0\x1f\x01\"\x99\x01\n\x1bQueryContractHistoryRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb8\x01\n\x1cQueryContractHistoryResponse\x12O\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x07\x65ntries\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"~\n\x1bQueryContractsByCodeRequest\x12\x17\n\x07\x63ode_id\x18\x01 \x01(\x04R\x06\x63odeId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x9f\x01\n\x1cQueryContractsByCodeResponse\x12\x36\n\tcontracts\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tcontracts\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x9a\x01\n\x1cQueryAllContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xa4\x01\n\x1dQueryAllContractStateResponse\x12:\n\x06models\x18\x01 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06models\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"q\n\x1cQueryRawContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x1d\n\nquery_data\x18\x02 \x01(\x0cR\tqueryData\"3\n\x1dQueryRawContractStateResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\x9b\x01\n\x1eQuerySmartContractStateRequest\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x45\n\nquery_data\x18\x02 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\tqueryData\"]\n\x1fQuerySmartContractStateResponse\x12:\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x04\x64\x61ta\"+\n\x10QueryCodeRequest\x12\x17\n\x07\x63ode_id\x18\x01 \x01(\x04R\x06\x63odeId\"\xb8\x02\n\x10\x43odeInfoResponse\x12)\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\x10\xe2\xde\x1f\x06\x43odeID\xea\xde\x1f\x02idR\x06\x63odeId\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12Q\n\tdata_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x08\x64\x61taHash\x12`\n\x16instantiate_permission\x18\x06 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x15instantiatePermission:\x04\xe8\xa0\x1f\x01J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"\x82\x01\n\x11QueryCodeResponse\x12I\n\tcode_info\x18\x01 \x01(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\x08\xd0\xde\x1f\x01\xea\xde\x1f\x00R\x08\x63odeInfo\x12\x1c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61taR\x04\x64\x61ta:\x04\xe8\xa0\x1f\x01\"[\n\x11QueryCodesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xab\x01\n\x12QueryCodesResponse\x12L\n\ncode_infos\x18\x01 \x03(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tcodeInfos\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"a\n\x17QueryPinnedCodesRequest\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\x8b\x01\n\x18QueryPinnedCodesResponse\x12&\n\x08\x63ode_ids\x18\x01 \x03(\x04\x42\x0b\xe2\xde\x1f\x07\x43odeIDsR\x07\x63odeIds\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x14\n\x12QueryParamsRequest\"R\n\x13QueryParamsResponse\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params\"\xab\x01\n\x1eQueryContractsByCreatorRequest\x12\x41\n\x0f\x63reator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x63reatorAddress\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xb3\x01\n\x1fQueryContractsByCreatorResponse\x12G\n\x12\x63ontract_addresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x11\x63ontractAddresses\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xab\x01\n\x18QueryBuildAddressRequest\x12\x1b\n\tcode_hash\x18\x01 \x01(\tR\x08\x63odeHash\x12\x41\n\x0f\x63reator_address\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0e\x63reatorAddress\x12\x12\n\x04salt\x18\x03 \x01(\tR\x04salt\x12\x1b\n\tinit_args\x18\x04 \x01(\x0cR\x08initArgs\"O\n\x19QueryBuildAddressResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress2\xdf\x0e\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}\x12\x99\x01\n\x0c\x42uildAddress\x12*.cosmwasm.wasm.v1.QueryBuildAddressRequest\x1a+.cosmwasm.wasm.v1.QueryBuildAddressResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmwasm/wasm/v1/contract/build_addressB\xb4\x01\n\x14\x63om.cosmwasm.wasm.v1B\nQueryProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\xa8\xe2\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmwasm.wasm.v1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\024com.cosmwasm.wasm.v1B\nQueryProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\250\342\036\000" - ) - _globals["_QUERYCONTRACTINFOREQUEST"].fields_by_name["address"]._loaded_options = None - _globals["_QUERYCONTRACTINFOREQUEST"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYCONTRACTINFORESPONSE"].fields_by_name["address"]._loaded_options = None - _globals["_QUERYCONTRACTINFORESPONSE"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYCONTRACTINFORESPONSE"].fields_by_name["contract_info"]._loaded_options = None - _globals["_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" - _globals["_QUERYCONTRACTINFORESPONSE"]._loaded_options = None - _globals["_QUERYCONTRACTINFORESPONSE"]._serialized_options = b"\350\240\037\001" - _globals["_QUERYCONTRACTHISTORYREQUEST"].fields_by_name["address"]._loaded_options = None - _globals["_QUERYCONTRACTHISTORYREQUEST"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYCONTRACTHISTORYRESPONSE"].fields_by_name["entries"]._loaded_options = None - _globals["_QUERYCONTRACTHISTORYRESPONSE"].fields_by_name[ - "entries" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYCONTRACTSBYCODERESPONSE"].fields_by_name["contracts"]._loaded_options = None - _globals["_QUERYCONTRACTSBYCODERESPONSE"].fields_by_name[ - "contracts" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYALLCONTRACTSTATEREQUEST"].fields_by_name["address"]._loaded_options = None - _globals["_QUERYALLCONTRACTSTATEREQUEST"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYALLCONTRACTSTATERESPONSE"].fields_by_name["models"]._loaded_options = None - _globals["_QUERYALLCONTRACTSTATERESPONSE"].fields_by_name[ - "models" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYRAWCONTRACTSTATEREQUEST"].fields_by_name["address"]._loaded_options = None - _globals["_QUERYRAWCONTRACTSTATEREQUEST"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYSMARTCONTRACTSTATEREQUEST"].fields_by_name["address"]._loaded_options = None - _globals["_QUERYSMARTCONTRACTSTATEREQUEST"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYSMARTCONTRACTSTATEREQUEST"].fields_by_name["query_data"]._loaded_options = None - _globals["_QUERYSMARTCONTRACTSTATEREQUEST"].fields_by_name[ - "query_data" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_QUERYSMARTCONTRACTSTATERESPONSE"].fields_by_name["data"]._loaded_options = None - _globals["_QUERYSMARTCONTRACTSTATERESPONSE"].fields_by_name[ - "data" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_CODEINFORESPONSE"].fields_by_name["code_id"]._loaded_options = None - _globals["_CODEINFORESPONSE"].fields_by_name[ - "code_id" - ]._serialized_options = b"\342\336\037\006CodeID\352\336\037\002id" - _globals["_CODEINFORESPONSE"].fields_by_name["creator"]._loaded_options = None - _globals["_CODEINFORESPONSE"].fields_by_name["creator"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_CODEINFORESPONSE"].fields_by_name["data_hash"]._loaded_options = None - _globals["_CODEINFORESPONSE"].fields_by_name[ - "data_hash" - ]._serialized_options = b"\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes" - _globals["_CODEINFORESPONSE"].fields_by_name["instantiate_permission"]._loaded_options = None - _globals["_CODEINFORESPONSE"].fields_by_name[ - "instantiate_permission" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_CODEINFORESPONSE"]._loaded_options = None - _globals["_CODEINFORESPONSE"]._serialized_options = b"\350\240\037\001" - _globals["_QUERYCODERESPONSE"].fields_by_name["code_info"]._loaded_options = None - _globals["_QUERYCODERESPONSE"].fields_by_name["code_info"]._serialized_options = b"\320\336\037\001\352\336\037\000" - _globals["_QUERYCODERESPONSE"].fields_by_name["data"]._loaded_options = None - _globals["_QUERYCODERESPONSE"].fields_by_name["data"]._serialized_options = b"\352\336\037\004data" - _globals["_QUERYCODERESPONSE"]._loaded_options = None - _globals["_QUERYCODERESPONSE"]._serialized_options = b"\350\240\037\001" - _globals["_QUERYCODESRESPONSE"].fields_by_name["code_infos"]._loaded_options = None - _globals["_QUERYCODESRESPONSE"].fields_by_name[ - "code_infos" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYPINNEDCODESRESPONSE"].fields_by_name["code_ids"]._loaded_options = None - _globals["_QUERYPINNEDCODESRESPONSE"].fields_by_name["code_ids"]._serialized_options = b"\342\336\037\007CodeIDs" - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_QUERYCONTRACTSBYCREATORREQUEST"].fields_by_name["creator_address"]._loaded_options = None - _globals["_QUERYCONTRACTSBYCREATORREQUEST"].fields_by_name[ - "creator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYCONTRACTSBYCREATORRESPONSE"].fields_by_name["contract_addresses"]._loaded_options = None - _globals["_QUERYCONTRACTSBYCREATORRESPONSE"].fields_by_name[ - "contract_addresses" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYBUILDADDRESSREQUEST"].fields_by_name["creator_address"]._loaded_options = None - _globals["_QUERYBUILDADDRESSREQUEST"].fields_by_name[ - "creator_address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERYBUILDADDRESSRESPONSE"].fields_by_name["address"]._loaded_options = None - _globals["_QUERYBUILDADDRESSRESPONSE"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_QUERY"].methods_by_name["ContractInfo"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ContractInfo" - ]._serialized_options = b"\202\323\344\223\002&\022$/cosmwasm/wasm/v1/contract/{address}" - _globals["_QUERY"].methods_by_name["ContractHistory"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ContractHistory" - ]._serialized_options = b"\202\323\344\223\002.\022,/cosmwasm/wasm/v1/contract/{address}/history" - _globals["_QUERY"].methods_by_name["ContractsByCode"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ContractsByCode" - ]._serialized_options = b"\202\323\344\223\002,\022*/cosmwasm/wasm/v1/code/{code_id}/contracts" - _globals["_QUERY"].methods_by_name["AllContractState"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AllContractState" - ]._serialized_options = b"\202\323\344\223\002,\022*/cosmwasm/wasm/v1/contract/{address}/state" - _globals["_QUERY"].methods_by_name["RawContractState"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "RawContractState" - ]._serialized_options = b"\202\323\344\223\0027\0225/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}" - _globals["_QUERY"].methods_by_name["SmartContractState"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "SmartContractState" - ]._serialized_options = b"\202\323\344\223\0029\0227/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}" - _globals["_QUERY"].methods_by_name["Code"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Code" - ]._serialized_options = b'\202\323\344\223\002"\022 /cosmwasm/wasm/v1/code/{code_id}' - _globals["_QUERY"].methods_by_name["Codes"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Codes" - ]._serialized_options = b"\202\323\344\223\002\030\022\026/cosmwasm/wasm/v1/code" - _globals["_QUERY"].methods_by_name["PinnedCodes"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "PinnedCodes" - ]._serialized_options = b"\202\323\344\223\002 \022\036/cosmwasm/wasm/v1/codes/pinned" - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\202\323\344\223\002 \022\036/cosmwasm/wasm/v1/codes/params" - _globals["_QUERY"].methods_by_name["ContractsByCreator"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ContractsByCreator" - ]._serialized_options = b"\202\323\344\223\0027\0225/cosmwasm/wasm/v1/contracts/creator/{creator_address}" - _globals["_QUERY"].methods_by_name["BuildAddress"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "BuildAddress" - ]._serialized_options = b"\202\323\344\223\002*\022(/cosmwasm/wasm/v1/contract/build_address" - _globals["_QUERYCONTRACTINFOREQUEST"]._serialized_start = 222 - _globals["_QUERYCONTRACTINFOREQUEST"]._serialized_end = 300 - _globals["_QUERYCONTRACTINFORESPONSE"]._serialized_start = 303 - _globals["_QUERYCONTRACTINFORESPONSE"]._serialized_end = 476 - _globals["_QUERYCONTRACTHISTORYREQUEST"]._serialized_start = 479 - _globals["_QUERYCONTRACTHISTORYREQUEST"]._serialized_end = 632 - _globals["_QUERYCONTRACTHISTORYRESPONSE"]._serialized_start = 635 - _globals["_QUERYCONTRACTHISTORYRESPONSE"]._serialized_end = 819 - _globals["_QUERYCONTRACTSBYCODEREQUEST"]._serialized_start = 821 - _globals["_QUERYCONTRACTSBYCODEREQUEST"]._serialized_end = 947 - _globals["_QUERYCONTRACTSBYCODERESPONSE"]._serialized_start = 950 - _globals["_QUERYCONTRACTSBYCODERESPONSE"]._serialized_end = 1109 - _globals["_QUERYALLCONTRACTSTATEREQUEST"]._serialized_start = 1112 - _globals["_QUERYALLCONTRACTSTATEREQUEST"]._serialized_end = 1266 - _globals["_QUERYALLCONTRACTSTATERESPONSE"]._serialized_start = 1269 - _globals["_QUERYALLCONTRACTSTATERESPONSE"]._serialized_end = 1433 - _globals["_QUERYRAWCONTRACTSTATEREQUEST"]._serialized_start = 1435 - _globals["_QUERYRAWCONTRACTSTATEREQUEST"]._serialized_end = 1548 - _globals["_QUERYRAWCONTRACTSTATERESPONSE"]._serialized_start = 1550 - _globals["_QUERYRAWCONTRACTSTATERESPONSE"]._serialized_end = 1601 - _globals["_QUERYSMARTCONTRACTSTATEREQUEST"]._serialized_start = 1604 - _globals["_QUERYSMARTCONTRACTSTATEREQUEST"]._serialized_end = 1759 - _globals["_QUERYSMARTCONTRACTSTATERESPONSE"]._serialized_start = 1761 - _globals["_QUERYSMARTCONTRACTSTATERESPONSE"]._serialized_end = 1854 - _globals["_QUERYCODEREQUEST"]._serialized_start = 1856 - _globals["_QUERYCODEREQUEST"]._serialized_end = 1899 - _globals["_CODEINFORESPONSE"]._serialized_start = 1902 - _globals["_CODEINFORESPONSE"]._serialized_end = 2214 - _globals["_QUERYCODERESPONSE"]._serialized_start = 2217 - _globals["_QUERYCODERESPONSE"]._serialized_end = 2347 - _globals["_QUERYCODESREQUEST"]._serialized_start = 2349 - _globals["_QUERYCODESREQUEST"]._serialized_end = 2440 - _globals["_QUERYCODESRESPONSE"]._serialized_start = 2443 - _globals["_QUERYCODESRESPONSE"]._serialized_end = 2614 - _globals["_QUERYPINNEDCODESREQUEST"]._serialized_start = 2616 - _globals["_QUERYPINNEDCODESREQUEST"]._serialized_end = 2713 - _globals["_QUERYPINNEDCODESRESPONSE"]._serialized_start = 2716 - _globals["_QUERYPINNEDCODESRESPONSE"]._serialized_end = 2855 - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 2857 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 2877 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 2879 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 2961 - _globals["_QUERYCONTRACTSBYCREATORREQUEST"]._serialized_start = 2964 - _globals["_QUERYCONTRACTSBYCREATORREQUEST"]._serialized_end = 3135 - _globals["_QUERYCONTRACTSBYCREATORRESPONSE"]._serialized_start = 3138 - _globals["_QUERYCONTRACTSBYCREATORRESPONSE"]._serialized_end = 3317 - _globals["_QUERYBUILDADDRESSREQUEST"]._serialized_start = 3320 - _globals["_QUERYBUILDADDRESSREQUEST"]._serialized_end = 3491 - _globals["_QUERYBUILDADDRESSRESPONSE"]._serialized_start = 3493 - _globals["_QUERYBUILDADDRESSRESPONSE"]._serialized_end = 3572 - _globals["_QUERY"]._serialized_start = 3575 - _globals["_QUERY"]._serialized_end = 5462 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\nQueryProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\250\342\036\000' + _globals['_QUERYCONTRACTINFOREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYCONTRACTINFOREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYCONTRACTINFORESPONSE'].fields_by_name['address']._loaded_options = None + _globals['_QUERYCONTRACTINFORESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYCONTRACTINFORESPONSE'].fields_by_name['contract_info']._loaded_options = None + _globals['_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' + _globals['_QUERYCONTRACTINFORESPONSE']._loaded_options = None + _globals['_QUERYCONTRACTINFORESPONSE']._serialized_options = b'\350\240\037\001' + _globals['_QUERYCONTRACTHISTORYREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYCONTRACTHISTORYREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYCONTRACTHISTORYRESPONSE'].fields_by_name['entries']._loaded_options = None + _globals['_QUERYCONTRACTHISTORYRESPONSE'].fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYCONTRACTSBYCODERESPONSE'].fields_by_name['contracts']._loaded_options = None + _globals['_QUERYCONTRACTSBYCODERESPONSE'].fields_by_name['contracts']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYALLCONTRACTSTATEREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYALLCONTRACTSTATEREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYALLCONTRACTSTATERESPONSE'].fields_by_name['models']._loaded_options = None + _globals['_QUERYALLCONTRACTSTATERESPONSE'].fields_by_name['models']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYRAWCONTRACTSTATEREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYRAWCONTRACTSTATEREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYSMARTCONTRACTSTATEREQUEST'].fields_by_name['address']._loaded_options = None + _globals['_QUERYSMARTCONTRACTSTATEREQUEST'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYSMARTCONTRACTSTATEREQUEST'].fields_by_name['query_data']._loaded_options = None + _globals['_QUERYSMARTCONTRACTSTATEREQUEST'].fields_by_name['query_data']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_QUERYSMARTCONTRACTSTATERESPONSE'].fields_by_name['data']._loaded_options = None + _globals['_QUERYSMARTCONTRACTSTATERESPONSE'].fields_by_name['data']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_CODEINFORESPONSE'].fields_by_name['code_id']._loaded_options = None + _globals['_CODEINFORESPONSE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID\352\336\037\002id' + _globals['_CODEINFORESPONSE'].fields_by_name['creator']._loaded_options = None + _globals['_CODEINFORESPONSE'].fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_CODEINFORESPONSE'].fields_by_name['data_hash']._loaded_options = None + _globals['_CODEINFORESPONSE'].fields_by_name['data_hash']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' + _globals['_CODEINFORESPONSE'].fields_by_name['instantiate_permission']._loaded_options = None + _globals['_CODEINFORESPONSE'].fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_CODEINFORESPONSE']._loaded_options = None + _globals['_CODEINFORESPONSE']._serialized_options = b'\350\240\037\001' + _globals['_QUERYCODERESPONSE'].fields_by_name['code_info']._loaded_options = None + _globals['_QUERYCODERESPONSE'].fields_by_name['code_info']._serialized_options = b'\320\336\037\001\352\336\037\000' + _globals['_QUERYCODERESPONSE'].fields_by_name['data']._loaded_options = None + _globals['_QUERYCODERESPONSE'].fields_by_name['data']._serialized_options = b'\352\336\037\004data' + _globals['_QUERYCODERESPONSE']._loaded_options = None + _globals['_QUERYCODERESPONSE']._serialized_options = b'\350\240\037\001' + _globals['_QUERYCODESRESPONSE'].fields_by_name['code_infos']._loaded_options = None + _globals['_QUERYCODESRESPONSE'].fields_by_name['code_infos']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYPINNEDCODESRESPONSE'].fields_by_name['code_ids']._loaded_options = None + _globals['_QUERYPINNEDCODESRESPONSE'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_QUERYCONTRACTSBYCREATORREQUEST'].fields_by_name['creator_address']._loaded_options = None + _globals['_QUERYCONTRACTSBYCREATORREQUEST'].fields_by_name['creator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYCONTRACTSBYCREATORRESPONSE'].fields_by_name['contract_addresses']._loaded_options = None + _globals['_QUERYCONTRACTSBYCREATORRESPONSE'].fields_by_name['contract_addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYBUILDADDRESSREQUEST'].fields_by_name['creator_address']._loaded_options = None + _globals['_QUERYBUILDADDRESSREQUEST'].fields_by_name['creator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERYBUILDADDRESSRESPONSE'].fields_by_name['address']._loaded_options = None + _globals['_QUERYBUILDADDRESSRESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_QUERY'].methods_by_name['ContractInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['ContractInfo']._serialized_options = b'\202\323\344\223\002&\022$/cosmwasm/wasm/v1/contract/{address}' + _globals['_QUERY'].methods_by_name['ContractHistory']._loaded_options = None + _globals['_QUERY'].methods_by_name['ContractHistory']._serialized_options = b'\202\323\344\223\002.\022,/cosmwasm/wasm/v1/contract/{address}/history' + _globals['_QUERY'].methods_by_name['ContractsByCode']._loaded_options = None + _globals['_QUERY'].methods_by_name['ContractsByCode']._serialized_options = b'\202\323\344\223\002,\022*/cosmwasm/wasm/v1/code/{code_id}/contracts' + _globals['_QUERY'].methods_by_name['AllContractState']._loaded_options = None + _globals['_QUERY'].methods_by_name['AllContractState']._serialized_options = b'\202\323\344\223\002,\022*/cosmwasm/wasm/v1/contract/{address}/state' + _globals['_QUERY'].methods_by_name['RawContractState']._loaded_options = None + _globals['_QUERY'].methods_by_name['RawContractState']._serialized_options = b'\202\323\344\223\0027\0225/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}' + _globals['_QUERY'].methods_by_name['SmartContractState']._loaded_options = None + _globals['_QUERY'].methods_by_name['SmartContractState']._serialized_options = b'\202\323\344\223\0029\0227/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}' + _globals['_QUERY'].methods_by_name['Code']._loaded_options = None + _globals['_QUERY'].methods_by_name['Code']._serialized_options = b'\202\323\344\223\002\"\022 /cosmwasm/wasm/v1/code/{code_id}' + _globals['_QUERY'].methods_by_name['Codes']._loaded_options = None + _globals['_QUERY'].methods_by_name['Codes']._serialized_options = b'\202\323\344\223\002\030\022\026/cosmwasm/wasm/v1/code' + _globals['_QUERY'].methods_by_name['PinnedCodes']._loaded_options = None + _globals['_QUERY'].methods_by_name['PinnedCodes']._serialized_options = b'\202\323\344\223\002 \022\036/cosmwasm/wasm/v1/codes/pinned' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002 \022\036/cosmwasm/wasm/v1/codes/params' + _globals['_QUERY'].methods_by_name['ContractsByCreator']._loaded_options = None + _globals['_QUERY'].methods_by_name['ContractsByCreator']._serialized_options = b'\202\323\344\223\0027\0225/cosmwasm/wasm/v1/contracts/creator/{creator_address}' + _globals['_QUERY'].methods_by_name['BuildAddress']._loaded_options = None + _globals['_QUERY'].methods_by_name['BuildAddress']._serialized_options = b'\202\323\344\223\002*\022(/cosmwasm/wasm/v1/contract/build_address' + _globals['_QUERYCONTRACTINFOREQUEST']._serialized_start=222 + _globals['_QUERYCONTRACTINFOREQUEST']._serialized_end=300 + _globals['_QUERYCONTRACTINFORESPONSE']._serialized_start=303 + _globals['_QUERYCONTRACTINFORESPONSE']._serialized_end=476 + _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_start=479 + _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_end=632 + _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_start=635 + _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_end=819 + _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_start=821 + _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_end=947 + _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_start=950 + _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_end=1109 + _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_start=1112 + _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_end=1266 + _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_start=1269 + _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_end=1433 + _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_start=1435 + _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_end=1548 + _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_start=1550 + _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_end=1601 + _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_start=1604 + _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_end=1759 + _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_start=1761 + _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_end=1854 + _globals['_QUERYCODEREQUEST']._serialized_start=1856 + _globals['_QUERYCODEREQUEST']._serialized_end=1899 + _globals['_CODEINFORESPONSE']._serialized_start=1902 + _globals['_CODEINFORESPONSE']._serialized_end=2214 + _globals['_QUERYCODERESPONSE']._serialized_start=2217 + _globals['_QUERYCODERESPONSE']._serialized_end=2347 + _globals['_QUERYCODESREQUEST']._serialized_start=2349 + _globals['_QUERYCODESREQUEST']._serialized_end=2440 + _globals['_QUERYCODESRESPONSE']._serialized_start=2443 + _globals['_QUERYCODESRESPONSE']._serialized_end=2614 + _globals['_QUERYPINNEDCODESREQUEST']._serialized_start=2616 + _globals['_QUERYPINNEDCODESREQUEST']._serialized_end=2713 + _globals['_QUERYPINNEDCODESRESPONSE']._serialized_start=2716 + _globals['_QUERYPINNEDCODESRESPONSE']._serialized_end=2855 + _globals['_QUERYPARAMSREQUEST']._serialized_start=2857 + _globals['_QUERYPARAMSREQUEST']._serialized_end=2877 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=2879 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=2961 + _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_start=2964 + _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_end=3135 + _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_start=3138 + _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_end=3317 + _globals['_QUERYBUILDADDRESSREQUEST']._serialized_start=3320 + _globals['_QUERYBUILDADDRESSREQUEST']._serialized_end=3491 + _globals['_QUERYBUILDADDRESSRESPONSE']._serialized_start=3493 + _globals['_QUERYBUILDADDRESSRESPONSE']._serialized_end=3572 + _globals['_QUERY']._serialized_start=3575 + _globals['_QUERY']._serialized_end=5462 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2_grpc.py index 45ad1c31..ed773a07 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query provides defines the gRPC querier service""" + """Query provides defines the gRPC querier service + """ def __init__(self, channel): """Constructor. @@ -15,244 +16,245 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.ContractInfo = channel.unary_unary( - "/cosmwasm.wasm.v1.Query/ContractInfo", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Query/ContractInfo', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoResponse.FromString, + _registered_method=True) self.ContractHistory = channel.unary_unary( - "/cosmwasm.wasm.v1.Query/ContractHistory", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Query/ContractHistory', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryResponse.FromString, + _registered_method=True) self.ContractsByCode = channel.unary_unary( - "/cosmwasm.wasm.v1.Query/ContractsByCode", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Query/ContractsByCode', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeResponse.FromString, + _registered_method=True) self.AllContractState = channel.unary_unary( - "/cosmwasm.wasm.v1.Query/AllContractState", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Query/AllContractState', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateResponse.FromString, + _registered_method=True) self.RawContractState = channel.unary_unary( - "/cosmwasm.wasm.v1.Query/RawContractState", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Query/RawContractState', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateResponse.FromString, + _registered_method=True) self.SmartContractState = channel.unary_unary( - "/cosmwasm.wasm.v1.Query/SmartContractState", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Query/SmartContractState', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateResponse.FromString, + _registered_method=True) self.Code = channel.unary_unary( - "/cosmwasm.wasm.v1.Query/Code", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Query/Code', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeResponse.FromString, + _registered_method=True) self.Codes = channel.unary_unary( - "/cosmwasm.wasm.v1.Query/Codes", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Query/Codes', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.FromString, + _registered_method=True) self.PinnedCodes = channel.unary_unary( - "/cosmwasm.wasm.v1.Query/PinnedCodes", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Query/PinnedCodes', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesResponse.FromString, + _registered_method=True) self.Params = channel.unary_unary( - "/cosmwasm.wasm.v1.Query/Params", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Query/Params', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) self.ContractsByCreator = channel.unary_unary( - "/cosmwasm.wasm.v1.Query/ContractsByCreator", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Query/ContractsByCreator', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.FromString, + _registered_method=True) self.BuildAddress = channel.unary_unary( - "/cosmwasm.wasm.v1.Query/BuildAddress", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Query/BuildAddress', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query provides defines the gRPC querier service""" + """Query provides defines the gRPC querier service + """ def ContractInfo(self, request, context): - """ContractInfo gets the contract meta data""" + """ContractInfo gets the contract meta data + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ContractHistory(self, request, context): - """ContractHistory gets the contract code history""" + """ContractHistory gets the contract code history + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ContractsByCode(self, request, context): - """ContractsByCode lists all smart contracts for a code id""" + """ContractsByCode lists all smart contracts for a code id + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AllContractState(self, request, context): - """AllContractState gets all raw store data for a single contract""" + """AllContractState gets all raw store data for a single contract + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RawContractState(self, request, context): - """RawContractState gets single key from the raw store data of a contract""" + """RawContractState gets single key from the raw store data of a contract + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SmartContractState(self, request, context): - """SmartContractState get smart query result from the contract""" + """SmartContractState get smart query result from the contract + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Code(self, request, context): - """Code gets the binary code and metadata for a singe wasm code""" + """Code gets the binary code and metadata for a singe wasm code + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Codes(self, request, context): - """Codes gets the metadata for all stored wasm codes""" + """Codes gets the metadata for all stored wasm codes + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PinnedCodes(self, request, context): - """PinnedCodes gets the pinned code ids""" + """PinnedCodes gets the pinned code ids + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Params(self, request, context): - """Params gets the module params""" + """Params gets the module params + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ContractsByCreator(self, request, context): - """ContractsByCreator gets the contracts by creator""" + """ContractsByCreator gets the contracts by creator + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def BuildAddress(self, request, context): - """BuildAddress builds a contract address""" + """BuildAddress builds a contract address + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "ContractInfo": grpc.unary_unary_rpc_method_handler( - servicer.ContractInfo, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoResponse.SerializeToString, - ), - "ContractHistory": grpc.unary_unary_rpc_method_handler( - servicer.ContractHistory, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryResponse.SerializeToString, - ), - "ContractsByCode": grpc.unary_unary_rpc_method_handler( - servicer.ContractsByCode, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeResponse.SerializeToString, - ), - "AllContractState": grpc.unary_unary_rpc_method_handler( - servicer.AllContractState, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateResponse.SerializeToString, - ), - "RawContractState": grpc.unary_unary_rpc_method_handler( - servicer.RawContractState, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateResponse.SerializeToString, - ), - "SmartContractState": grpc.unary_unary_rpc_method_handler( - servicer.SmartContractState, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateResponse.SerializeToString, - ), - "Code": grpc.unary_unary_rpc_method_handler( - servicer.Code, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeResponse.SerializeToString, - ), - "Codes": grpc.unary_unary_rpc_method_handler( - servicer.Codes, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.SerializeToString, - ), - "PinnedCodes": grpc.unary_unary_rpc_method_handler( - servicer.PinnedCodes, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesResponse.SerializeToString, - ), - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - "ContractsByCreator": grpc.unary_unary_rpc_method_handler( - servicer.ContractsByCreator, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.SerializeToString, - ), - "BuildAddress": grpc.unary_unary_rpc_method_handler( - servicer.BuildAddress, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressResponse.SerializeToString, - ), + 'ContractInfo': grpc.unary_unary_rpc_method_handler( + servicer.ContractInfo, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoResponse.SerializeToString, + ), + 'ContractHistory': grpc.unary_unary_rpc_method_handler( + servicer.ContractHistory, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryResponse.SerializeToString, + ), + 'ContractsByCode': grpc.unary_unary_rpc_method_handler( + servicer.ContractsByCode, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeResponse.SerializeToString, + ), + 'AllContractState': grpc.unary_unary_rpc_method_handler( + servicer.AllContractState, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateResponse.SerializeToString, + ), + 'RawContractState': grpc.unary_unary_rpc_method_handler( + servicer.RawContractState, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateResponse.SerializeToString, + ), + 'SmartContractState': grpc.unary_unary_rpc_method_handler( + servicer.SmartContractState, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateResponse.SerializeToString, + ), + 'Code': grpc.unary_unary_rpc_method_handler( + servicer.Code, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeResponse.SerializeToString, + ), + 'Codes': grpc.unary_unary_rpc_method_handler( + servicer.Codes, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.SerializeToString, + ), + 'PinnedCodes': grpc.unary_unary_rpc_method_handler( + servicer.PinnedCodes, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesResponse.SerializeToString, + ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'ContractsByCreator': grpc.unary_unary_rpc_method_handler( + servicer.ContractsByCreator, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.SerializeToString, + ), + 'BuildAddress': grpc.unary_unary_rpc_method_handler( + servicer.BuildAddress, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmwasm.wasm.v1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmwasm.wasm.v1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmwasm.wasm.v1.Query", rpc_method_handlers) + server.add_registered_method_handlers('cosmwasm.wasm.v1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query provides defines the gRPC querier service""" + """Query provides defines the gRPC querier service + """ @staticmethod - def ContractInfo( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ContractInfo(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.Query/ContractInfo", + '/cosmwasm.wasm.v1.Query/ContractInfo', cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractInfoResponse.FromString, options, @@ -263,26 +265,23 @@ def ContractInfo( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ContractHistory( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ContractHistory(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.Query/ContractHistory", + '/cosmwasm.wasm.v1.Query/ContractHistory', cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractHistoryResponse.FromString, options, @@ -293,26 +292,23 @@ def ContractHistory( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ContractsByCode( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ContractsByCode(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.Query/ContractsByCode", + '/cosmwasm.wasm.v1.Query/ContractsByCode', cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCodeResponse.FromString, options, @@ -323,26 +319,23 @@ def ContractsByCode( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def AllContractState( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AllContractState(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.Query/AllContractState", + '/cosmwasm.wasm.v1.Query/AllContractState', cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryAllContractStateResponse.FromString, options, @@ -353,26 +346,23 @@ def AllContractState( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RawContractState( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RawContractState(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.Query/RawContractState", + '/cosmwasm.wasm.v1.Query/RawContractState', cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryRawContractStateResponse.FromString, options, @@ -383,26 +373,23 @@ def RawContractState( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SmartContractState( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SmartContractState(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.Query/SmartContractState", + '/cosmwasm.wasm.v1.Query/SmartContractState', cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QuerySmartContractStateResponse.FromString, options, @@ -413,26 +400,23 @@ def SmartContractState( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Code( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Code(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.Query/Code", + '/cosmwasm.wasm.v1.Query/Code', cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeResponse.FromString, options, @@ -443,26 +427,23 @@ def Code( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Codes( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Codes(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.Query/Codes", + '/cosmwasm.wasm.v1.Query/Codes', cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.FromString, options, @@ -473,26 +454,23 @@ def Codes( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PinnedCodes( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PinnedCodes(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.Query/PinnedCodes", + '/cosmwasm.wasm.v1.Query/PinnedCodes', cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesResponse.FromString, options, @@ -503,26 +481,23 @@ def PinnedCodes( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(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.Query/Params", + '/cosmwasm.wasm.v1.Query/Params', cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -533,26 +508,23 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ContractsByCreator( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ContractsByCreator(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.Query/ContractsByCreator", + '/cosmwasm.wasm.v1.Query/ContractsByCreator', cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.FromString, options, @@ -563,26 +535,23 @@ def ContractsByCreator( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def BuildAddress( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def BuildAddress(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.Query/BuildAddress", + '/cosmwasm.wasm.v1.Query/BuildAddress', cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressResponse.FromString, options, @@ -593,5 +562,4 @@ def BuildAddress( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py index ea98bf6c..96079c0b 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -21,322 +20,228 @@ from pyinjective.proto.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"\xfe\x01\n\x0cMsgStoreCode\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x36\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05"W\n\x14MsgStoreCodeResponse\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x1a\n\x08\x63hecksum\x18\x02 \x01(\x0cR\x08\x63hecksum"\x95\x03\n\x16MsgInstantiateContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract"h\n\x1eMsgInstantiateContractResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta"\xc4\x03\n\x17MsgInstantiateContract2\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x12\n\x04salt\x18\x07 \x01(\x0cR\x04salt\x12\x17\n\x07\x66ix_msg\x18\x08 \x01(\x08R\x06\x66ixMsg:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2"i\n\x1fMsgInstantiateContract2Response\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta"\xd8\x02\n\x12MsgExecuteContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x03 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract"0\n\x1aMsgExecuteContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta"\x84\x02\n\x12MsgMigrateContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract"0\n\x1aMsgMigrateContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta"\xd4\x01\n\x0eMsgUpdateAdmin\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x35\n\tnew_admin\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin"\x18\n\x16MsgUpdateAdminResponse"\x9b\x01\n\rMsgClearAdmin\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin"\x17\n\x15MsgClearAdminResponse"\x82\x02\n\x1aMsgUpdateInstantiateConfig\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12#\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\\\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x18newInstantiatePermission:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig"$\n"MsgUpdateInstantiateConfigResponse"\xaf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12;\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse"\xe2\x01\n\x0fMsgSudoContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x03 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract"-\n\x17MsgSudoContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta"\xa5\x01\n\x0bMsgPinCodes\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x39\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:"code_ids"R\x07\x63odeIds:#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes"\x15\n\x13MsgPinCodesResponse"\xa9\x01\n\rMsgUnpinCodes\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x39\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:"code_ids"R\x07\x63odeIds:%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes"\x17\n\x15MsgUnpinCodesResponse"\x86\x05\n\x1eMsgStoreAndInstantiateContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x36\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x05 \x01(\x08R\tunpinCode\x12.\n\x05\x61\x64min\x18\x06 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x14\n\x05label\x18\x07 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x08 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x16\n\x06source\x18\n \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\x0b \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\x0c \x01(\x0cR\x08\x63odeHash:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract"p\n&MsgStoreAndInstantiateContractResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta"\xc6\x01\n\x1fMsgAddCodeUploadParamsAddresses\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x32\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:"addresses"R\taddresses:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$wasm/MsgAddCodeUploadParamsAddresses")\n\'MsgAddCodeUploadParamsAddressesResponse"\xcc\x01\n"MsgRemoveCodeUploadParamsAddresses\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x32\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:"addresses"R\taddresses::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'wasm/MsgRemoveCodeUploadParamsAddresses",\n*MsgRemoveCodeUploadParamsAddressesResponse"\xed\x02\n\x1aMsgStoreAndMigrateContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x36\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1a\n\x08\x63ontract\x18\x04 \x01(\tR\x08\x63ontract\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:2\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1fwasm/MsgStoreAndMigrateContract"y\n"MsgStoreAndMigrateContractResponse\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x1a\n\x08\x63hecksum\x18\x02 \x01(\x0cR\x08\x63hecksum\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta"\xca\x01\n\x16MsgUpdateContractLabel\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x1b\n\tnew_label\x18\x02 \x01(\tR\x08newLabel\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:+\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\xad\x01\n\x14\x63om.cosmwasm.wasm.v1B\x07TxProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\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\"\xfe\x01\n\x0cMsgStoreCode\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x36\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"W\n\x14MsgStoreCodeResponse\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x1a\n\x08\x63hecksum\x18\x02 \x01(\x0cR\x08\x63hecksum\"\x95\x03\n\x16MsgInstantiateContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"h\n\x1eMsgInstantiateContractResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\"\xc4\x03\n\x17MsgInstantiateContract2\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12.\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x12\n\x04salt\x18\x07 \x01(\x0cR\x04salt\x12\x17\n\x07\x66ix_msg\x18\x08 \x01(\x08R\x06\x66ixMsg:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"i\n\x1fMsgInstantiateContract2Response\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\"\xd8\x02\n\x12MsgExecuteContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x03 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"0\n\x1aMsgExecuteContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\x84\x02\n\x12MsgMigrateContract\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"0\n\x1aMsgMigrateContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\xd4\x01\n\x0eMsgUpdateAdmin\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x35\n\tnew_admin\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08newAdmin\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"\x9b\x01\n\rMsgClearAdmin\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"\x82\x02\n\x1aMsgUpdateInstantiateConfig\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12#\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\\\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x18newInstantiatePermission:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\xaf\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12;\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x06params:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xe2\x01\n\x0fMsgSudoContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x34\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract\x12\x38\n\x03msg\x18\x03 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"-\n\x17MsgSudoContractResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\xa5\x01\n\x0bMsgPinCodes\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x39\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"R\x07\x63odeIds:#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\xa9\x01\n\rMsgUnpinCodes\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x39\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"R\x07\x63odeIds:%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\x86\x05\n\x1eMsgStoreAndInstantiateContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x36\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1d\n\nunpin_code\x18\x05 \x01(\x08R\tunpinCode\x12.\n\x05\x61\x64min\x18\x06 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x14\n\x05label\x18\x07 \x01(\tR\x05label\x12\x38\n\x03msg\x18\x08 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\x12w\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\xa8\xe7\xb0*\x01R\x05\x66unds\x12\x16\n\x06source\x18\n \x01(\tR\x06source\x12\x18\n\x07\x62uilder\x18\x0b \x01(\tR\x07\x62uilder\x12\x1b\n\tcode_hash\x18\x0c \x01(\x0cR\x08\x63odeHash:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"p\n&MsgStoreAndInstantiateContractResponse\x12\x32\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x61\x64\x64ress\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\"\xc6\x01\n\x1fMsgAddCodeUploadParamsAddresses\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x32\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"R\taddresses:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$wasm/MsgAddCodeUploadParamsAddresses\")\n\'MsgAddCodeUploadParamsAddressesResponse\"\xcc\x01\n\"MsgRemoveCodeUploadParamsAddresses\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x32\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"R\taddresses::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'wasm/MsgRemoveCodeUploadParamsAddresses\",\n*MsgRemoveCodeUploadParamsAddressesResponse\"\xed\x02\n\x1aMsgStoreAndMigrateContract\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x36\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCodeR\x0cwasmByteCode\x12U\n\x16instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x15instantiatePermission\x12\x1a\n\x08\x63ontract\x18\x04 \x01(\tR\x08\x63ontract\x12\x38\n\x03msg\x18\x05 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg:2\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1fwasm/MsgStoreAndMigrateContract\"y\n\"MsgStoreAndMigrateContractResponse\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x1a\n\x08\x63hecksum\x18\x02 \x01(\x0cR\x08\x63hecksum\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\"\xca\x01\n\x16MsgUpdateContractLabel\x12\x30\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x06sender\x12\x1b\n\tnew_label\x18\x02 \x01(\tR\x08newLabel\x12\x34\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x08\x63ontract:+\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\xad\x01\n\x14\x63om.cosmwasm.wasm.v1B\x07TxProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmwasm.wasm.v1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\024com.cosmwasm.wasm.v1B\007TxProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000" - ) - _globals["_MSGSTORECODE"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGSTORECODE"].fields_by_name["sender"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSTORECODE"].fields_by_name["wasm_byte_code"]._loaded_options = None - _globals["_MSGSTORECODE"].fields_by_name["wasm_byte_code"]._serialized_options = b"\342\336\037\014WASMByteCode" - _globals["_MSGSTORECODE"]._loaded_options = None - _globals["_MSGSTORECODE"]._serialized_options = b"\202\347\260*\006sender\212\347\260*\021wasm/MsgStoreCode" - _globals["_MSGSTORECODERESPONSE"].fields_by_name["code_id"]._loaded_options = None - _globals["_MSGSTORECODERESPONSE"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" - _globals["_MSGINSTANTIATECONTRACT"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGINSTANTIATECONTRACT"].fields_by_name[ - "sender" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGINSTANTIATECONTRACT"].fields_by_name["admin"]._loaded_options = None - _globals["_MSGINSTANTIATECONTRACT"].fields_by_name[ - "admin" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGINSTANTIATECONTRACT"].fields_by_name["code_id"]._loaded_options = None - _globals["_MSGINSTANTIATECONTRACT"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" - _globals["_MSGINSTANTIATECONTRACT"].fields_by_name["msg"]._loaded_options = None - _globals["_MSGINSTANTIATECONTRACT"].fields_by_name[ - "msg" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_MSGINSTANTIATECONTRACT"].fields_by_name["funds"]._loaded_options = None - _globals["_MSGINSTANTIATECONTRACT"].fields_by_name[ - "funds" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_MSGINSTANTIATECONTRACT"]._loaded_options = None - _globals["_MSGINSTANTIATECONTRACT"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\033wasm/MsgInstantiateContract" - ) - _globals["_MSGINSTANTIATECONTRACTRESPONSE"].fields_by_name["address"]._loaded_options = None - _globals["_MSGINSTANTIATECONTRACTRESPONSE"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name[ - "sender" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name["admin"]._loaded_options = None - _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name[ - "admin" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name["code_id"]._loaded_options = None - _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" - _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name["msg"]._loaded_options = None - _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name[ - "msg" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name["funds"]._loaded_options = None - _globals["_MSGINSTANTIATECONTRACT2"].fields_by_name[ - "funds" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_MSGINSTANTIATECONTRACT2"]._loaded_options = None - _globals["_MSGINSTANTIATECONTRACT2"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\034wasm/MsgInstantiateContract2" - ) - _globals["_MSGINSTANTIATECONTRACT2RESPONSE"].fields_by_name["address"]._loaded_options = None - _globals["_MSGINSTANTIATECONTRACT2RESPONSE"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGEXECUTECONTRACT"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGEXECUTECONTRACT"].fields_by_name["sender"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGEXECUTECONTRACT"].fields_by_name["contract"]._loaded_options = None - _globals["_MSGEXECUTECONTRACT"].fields_by_name[ - "contract" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGEXECUTECONTRACT"].fields_by_name["msg"]._loaded_options = None - _globals["_MSGEXECUTECONTRACT"].fields_by_name[ - "msg" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_MSGEXECUTECONTRACT"].fields_by_name["funds"]._loaded_options = None - _globals["_MSGEXECUTECONTRACT"].fields_by_name[ - "funds" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_MSGEXECUTECONTRACT"]._loaded_options = None - _globals["_MSGEXECUTECONTRACT"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\027wasm/MsgExecuteContract" - ) - _globals["_MSGMIGRATECONTRACT"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGMIGRATECONTRACT"].fields_by_name["sender"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGMIGRATECONTRACT"].fields_by_name["contract"]._loaded_options = None - _globals["_MSGMIGRATECONTRACT"].fields_by_name[ - "contract" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGMIGRATECONTRACT"].fields_by_name["code_id"]._loaded_options = None - _globals["_MSGMIGRATECONTRACT"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" - _globals["_MSGMIGRATECONTRACT"].fields_by_name["msg"]._loaded_options = None - _globals["_MSGMIGRATECONTRACT"].fields_by_name[ - "msg" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_MSGMIGRATECONTRACT"]._loaded_options = None - _globals["_MSGMIGRATECONTRACT"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\027wasm/MsgMigrateContract" - ) - _globals["_MSGUPDATEADMIN"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGUPDATEADMIN"].fields_by_name["sender"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEADMIN"].fields_by_name["new_admin"]._loaded_options = None - _globals["_MSGUPDATEADMIN"].fields_by_name["new_admin"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEADMIN"].fields_by_name["contract"]._loaded_options = None - _globals["_MSGUPDATEADMIN"].fields_by_name["contract"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEADMIN"]._loaded_options = None - _globals["_MSGUPDATEADMIN"]._serialized_options = b"\202\347\260*\006sender\212\347\260*\023wasm/MsgUpdateAdmin" - _globals["_MSGCLEARADMIN"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGCLEARADMIN"].fields_by_name["sender"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGCLEARADMIN"].fields_by_name["contract"]._loaded_options = None - _globals["_MSGCLEARADMIN"].fields_by_name["contract"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGCLEARADMIN"]._loaded_options = None - _globals["_MSGCLEARADMIN"]._serialized_options = b"\202\347\260*\006sender\212\347\260*\022wasm/MsgClearAdmin" - _globals["_MSGUPDATEINSTANTIATECONFIG"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGUPDATEINSTANTIATECONFIG"].fields_by_name[ - "sender" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEINSTANTIATECONFIG"].fields_by_name["code_id"]._loaded_options = None - _globals["_MSGUPDATEINSTANTIATECONFIG"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" - _globals["_MSGUPDATEINSTANTIATECONFIG"]._loaded_options = None - _globals["_MSGUPDATEINSTANTIATECONFIG"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\037wasm/MsgUpdateInstantiateConfig" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = b"\202\347\260*\tauthority\212\347\260*\024wasm/MsgUpdateParams" - _globals["_MSGSUDOCONTRACT"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGSUDOCONTRACT"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSUDOCONTRACT"].fields_by_name["contract"]._loaded_options = None - _globals["_MSGSUDOCONTRACT"].fields_by_name["contract"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSUDOCONTRACT"].fields_by_name["msg"]._loaded_options = None - _globals["_MSGSUDOCONTRACT"].fields_by_name[ - "msg" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_MSGSUDOCONTRACT"]._loaded_options = None - _globals["_MSGSUDOCONTRACT"]._serialized_options = b"\202\347\260*\tauthority\212\347\260*\024wasm/MsgSudoContract" - _globals["_MSGPINCODES"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGPINCODES"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGPINCODES"].fields_by_name["code_ids"]._loaded_options = None - _globals["_MSGPINCODES"].fields_by_name[ - "code_ids" - ]._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:"code_ids"' - _globals["_MSGPINCODES"]._loaded_options = None - _globals["_MSGPINCODES"]._serialized_options = b"\202\347\260*\tauthority\212\347\260*\020wasm/MsgPinCodes" - _globals["_MSGUNPINCODES"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUNPINCODES"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUNPINCODES"].fields_by_name["code_ids"]._loaded_options = None - _globals["_MSGUNPINCODES"].fields_by_name[ - "code_ids" - ]._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:"code_ids"' - _globals["_MSGUNPINCODES"]._loaded_options = None - _globals["_MSGUNPINCODES"]._serialized_options = b"\202\347\260*\tauthority\212\347\260*\022wasm/MsgUnpinCodes" - _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name[ - "authority" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name["wasm_byte_code"]._loaded_options = None - _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name[ - "wasm_byte_code" - ]._serialized_options = b"\342\336\037\014WASMByteCode" - _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name["admin"]._loaded_options = None - _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name[ - "admin" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name["msg"]._loaded_options = None - _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name[ - "msg" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name["funds"]._loaded_options = None - _globals["_MSGSTOREANDINSTANTIATECONTRACT"].fields_by_name[ - "funds" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001" - _globals["_MSGSTOREANDINSTANTIATECONTRACT"]._loaded_options = None - _globals["_MSGSTOREANDINSTANTIATECONTRACT"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*#wasm/MsgStoreAndInstantiateContract" - ) - _globals["_MSGSTOREANDINSTANTIATECONTRACTRESPONSE"].fields_by_name["address"]._loaded_options = None - _globals["_MSGSTOREANDINSTANTIATECONTRACTRESPONSE"].fields_by_name[ - "address" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGADDCODEUPLOADPARAMSADDRESSES"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGADDCODEUPLOADPARAMSADDRESSES"].fields_by_name[ - "authority" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGADDCODEUPLOADPARAMSADDRESSES"].fields_by_name["addresses"]._loaded_options = None - _globals["_MSGADDCODEUPLOADPARAMSADDRESSES"].fields_by_name[ - "addresses" - ]._serialized_options = b'\362\336\037\020yaml:"addresses"' - _globals["_MSGADDCODEUPLOADPARAMSADDRESSES"]._loaded_options = None - _globals["_MSGADDCODEUPLOADPARAMSADDRESSES"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*$wasm/MsgAddCodeUploadParamsAddresses" - ) - _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSES"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSES"].fields_by_name[ - "authority" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSES"].fields_by_name["addresses"]._loaded_options = None - _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSES"].fields_by_name[ - "addresses" - ]._serialized_options = b'\362\336\037\020yaml:"addresses"' - _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSES"]._loaded_options = None - _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSES"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*'wasm/MsgRemoveCodeUploadParamsAddresses" - ) - _globals["_MSGSTOREANDMIGRATECONTRACT"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGSTOREANDMIGRATECONTRACT"].fields_by_name[ - "authority" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGSTOREANDMIGRATECONTRACT"].fields_by_name["wasm_byte_code"]._loaded_options = None - _globals["_MSGSTOREANDMIGRATECONTRACT"].fields_by_name[ - "wasm_byte_code" - ]._serialized_options = b"\342\336\037\014WASMByteCode" - _globals["_MSGSTOREANDMIGRATECONTRACT"].fields_by_name["msg"]._loaded_options = None - _globals["_MSGSTOREANDMIGRATECONTRACT"].fields_by_name[ - "msg" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_MSGSTOREANDMIGRATECONTRACT"]._loaded_options = None - _globals["_MSGSTOREANDMIGRATECONTRACT"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*\037wasm/MsgStoreAndMigrateContract" - ) - _globals["_MSGSTOREANDMIGRATECONTRACTRESPONSE"].fields_by_name["code_id"]._loaded_options = None - _globals["_MSGSTOREANDMIGRATECONTRACTRESPONSE"].fields_by_name[ - "code_id" - ]._serialized_options = b"\342\336\037\006CodeID" - _globals["_MSGUPDATECONTRACTLABEL"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGUPDATECONTRACTLABEL"].fields_by_name[ - "sender" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATECONTRACTLABEL"].fields_by_name["contract"]._loaded_options = None - _globals["_MSGUPDATECONTRACTLABEL"].fields_by_name[ - "contract" - ]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATECONTRACTLABEL"]._loaded_options = None - _globals["_MSGUPDATECONTRACTLABEL"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\033wasm/MsgUpdateContractLabel" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGSTORECODE"]._serialized_start = 203 - _globals["_MSGSTORECODE"]._serialized_end = 457 - _globals["_MSGSTORECODERESPONSE"]._serialized_start = 459 - _globals["_MSGSTORECODERESPONSE"]._serialized_end = 546 - _globals["_MSGINSTANTIATECONTRACT"]._serialized_start = 549 - _globals["_MSGINSTANTIATECONTRACT"]._serialized_end = 954 - _globals["_MSGINSTANTIATECONTRACTRESPONSE"]._serialized_start = 956 - _globals["_MSGINSTANTIATECONTRACTRESPONSE"]._serialized_end = 1060 - _globals["_MSGINSTANTIATECONTRACT2"]._serialized_start = 1063 - _globals["_MSGINSTANTIATECONTRACT2"]._serialized_end = 1515 - _globals["_MSGINSTANTIATECONTRACT2RESPONSE"]._serialized_start = 1517 - _globals["_MSGINSTANTIATECONTRACT2RESPONSE"]._serialized_end = 1622 - _globals["_MSGEXECUTECONTRACT"]._serialized_start = 1625 - _globals["_MSGEXECUTECONTRACT"]._serialized_end = 1969 - _globals["_MSGEXECUTECONTRACTRESPONSE"]._serialized_start = 1971 - _globals["_MSGEXECUTECONTRACTRESPONSE"]._serialized_end = 2019 - _globals["_MSGMIGRATECONTRACT"]._serialized_start = 2022 - _globals["_MSGMIGRATECONTRACT"]._serialized_end = 2282 - _globals["_MSGMIGRATECONTRACTRESPONSE"]._serialized_start = 2284 - _globals["_MSGMIGRATECONTRACTRESPONSE"]._serialized_end = 2332 - _globals["_MSGUPDATEADMIN"]._serialized_start = 2335 - _globals["_MSGUPDATEADMIN"]._serialized_end = 2547 - _globals["_MSGUPDATEADMINRESPONSE"]._serialized_start = 2549 - _globals["_MSGUPDATEADMINRESPONSE"]._serialized_end = 2573 - _globals["_MSGCLEARADMIN"]._serialized_start = 2576 - _globals["_MSGCLEARADMIN"]._serialized_end = 2731 - _globals["_MSGCLEARADMINRESPONSE"]._serialized_start = 2733 - _globals["_MSGCLEARADMINRESPONSE"]._serialized_end = 2756 - _globals["_MSGUPDATEINSTANTIATECONFIG"]._serialized_start = 2759 - _globals["_MSGUPDATEINSTANTIATECONFIG"]._serialized_end = 3017 - _globals["_MSGUPDATEINSTANTIATECONFIGRESPONSE"]._serialized_start = 3019 - _globals["_MSGUPDATEINSTANTIATECONFIGRESPONSE"]._serialized_end = 3055 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 3058 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 3233 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 3235 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 3260 - _globals["_MSGSUDOCONTRACT"]._serialized_start = 3263 - _globals["_MSGSUDOCONTRACT"]._serialized_end = 3489 - _globals["_MSGSUDOCONTRACTRESPONSE"]._serialized_start = 3491 - _globals["_MSGSUDOCONTRACTRESPONSE"]._serialized_end = 3536 - _globals["_MSGPINCODES"]._serialized_start = 3539 - _globals["_MSGPINCODES"]._serialized_end = 3704 - _globals["_MSGPINCODESRESPONSE"]._serialized_start = 3706 - _globals["_MSGPINCODESRESPONSE"]._serialized_end = 3727 - _globals["_MSGUNPINCODES"]._serialized_start = 3730 - _globals["_MSGUNPINCODES"]._serialized_end = 3899 - _globals["_MSGUNPINCODESRESPONSE"]._serialized_start = 3901 - _globals["_MSGUNPINCODESRESPONSE"]._serialized_end = 3924 - _globals["_MSGSTOREANDINSTANTIATECONTRACT"]._serialized_start = 3927 - _globals["_MSGSTOREANDINSTANTIATECONTRACT"]._serialized_end = 4573 - _globals["_MSGSTOREANDINSTANTIATECONTRACTRESPONSE"]._serialized_start = 4575 - _globals["_MSGSTOREANDINSTANTIATECONTRACTRESPONSE"]._serialized_end = 4687 - _globals["_MSGADDCODEUPLOADPARAMSADDRESSES"]._serialized_start = 4690 - _globals["_MSGADDCODEUPLOADPARAMSADDRESSES"]._serialized_end = 4888 - _globals["_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE"]._serialized_start = 4890 - _globals["_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE"]._serialized_end = 4931 - _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSES"]._serialized_start = 4934 - _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSES"]._serialized_end = 5138 - _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE"]._serialized_start = 5140 - _globals["_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE"]._serialized_end = 5184 - _globals["_MSGSTOREANDMIGRATECONTRACT"]._serialized_start = 5187 - _globals["_MSGSTOREANDMIGRATECONTRACT"]._serialized_end = 5552 - _globals["_MSGSTOREANDMIGRATECONTRACTRESPONSE"]._serialized_start = 5554 - _globals["_MSGSTOREANDMIGRATECONTRACTRESPONSE"]._serialized_end = 5675 - _globals["_MSGUPDATECONTRACTLABEL"]._serialized_start = 5678 - _globals["_MSGUPDATECONTRACTLABEL"]._serialized_end = 5880 - _globals["_MSGUPDATECONTRACTLABELRESPONSE"]._serialized_start = 5882 - _globals["_MSGUPDATECONTRACTLABELRESPONSE"]._serialized_end = 5914 - _globals["_MSG"]._serialized_start = 5917 - _globals["_MSG"]._serialized_end = 7794 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\007TxProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000' + _globals['_MSGSTORECODE'].fields_by_name['sender']._loaded_options = None + _globals['_MSGSTORECODE'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSTORECODE'].fields_by_name['wasm_byte_code']._loaded_options = None + _globals['_MSGSTORECODE'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _globals['_MSGSTORECODE']._loaded_options = None + _globals['_MSGSTORECODE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\021wasm/MsgStoreCode' + _globals['_MSGSTORECODERESPONSE'].fields_by_name['code_id']._loaded_options = None + _globals['_MSGSTORECODERESPONSE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['sender']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['admin']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['code_id']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['msg']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['funds']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGINSTANTIATECONTRACT']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgInstantiateContract' + _globals['_MSGINSTANTIATECONTRACTRESPONSE'].fields_by_name['address']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACTRESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['sender']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['admin']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['code_id']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['msg']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['funds']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT2'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGINSTANTIATECONTRACT2']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT2']._serialized_options = b'\202\347\260*\006sender\212\347\260*\034wasm/MsgInstantiateContract2' + _globals['_MSGINSTANTIATECONTRACT2RESPONSE'].fields_by_name['address']._loaded_options = None + _globals['_MSGINSTANTIATECONTRACT2RESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGEXECUTECONTRACT'].fields_by_name['sender']._loaded_options = None + _globals['_MSGEXECUTECONTRACT'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGEXECUTECONTRACT'].fields_by_name['contract']._loaded_options = None + _globals['_MSGEXECUTECONTRACT'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGEXECUTECONTRACT'].fields_by_name['msg']._loaded_options = None + _globals['_MSGEXECUTECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MSGEXECUTECONTRACT'].fields_by_name['funds']._loaded_options = None + _globals['_MSGEXECUTECONTRACT'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGEXECUTECONTRACT']._loaded_options = None + _globals['_MSGEXECUTECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasm/MsgExecuteContract' + _globals['_MSGMIGRATECONTRACT'].fields_by_name['sender']._loaded_options = None + _globals['_MSGMIGRATECONTRACT'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGMIGRATECONTRACT'].fields_by_name['contract']._loaded_options = None + _globals['_MSGMIGRATECONTRACT'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGMIGRATECONTRACT'].fields_by_name['code_id']._loaded_options = None + _globals['_MSGMIGRATECONTRACT'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_MSGMIGRATECONTRACT'].fields_by_name['msg']._loaded_options = None + _globals['_MSGMIGRATECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MSGMIGRATECONTRACT']._loaded_options = None + _globals['_MSGMIGRATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasm/MsgMigrateContract' + _globals['_MSGUPDATEADMIN'].fields_by_name['sender']._loaded_options = None + _globals['_MSGUPDATEADMIN'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEADMIN'].fields_by_name['new_admin']._loaded_options = None + _globals['_MSGUPDATEADMIN'].fields_by_name['new_admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEADMIN'].fields_by_name['contract']._loaded_options = None + _globals['_MSGUPDATEADMIN'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEADMIN']._loaded_options = None + _globals['_MSGUPDATEADMIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\023wasm/MsgUpdateAdmin' + _globals['_MSGCLEARADMIN'].fields_by_name['sender']._loaded_options = None + _globals['_MSGCLEARADMIN'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCLEARADMIN'].fields_by_name['contract']._loaded_options = None + _globals['_MSGCLEARADMIN'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGCLEARADMIN']._loaded_options = None + _globals['_MSGCLEARADMIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\022wasm/MsgClearAdmin' + _globals['_MSGUPDATEINSTANTIATECONFIG'].fields_by_name['sender']._loaded_options = None + _globals['_MSGUPDATEINSTANTIATECONFIG'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEINSTANTIATECONFIG'].fields_by_name['code_id']._loaded_options = None + _globals['_MSGUPDATEINSTANTIATECONFIG'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_MSGUPDATEINSTANTIATECONFIG']._loaded_options = None + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_options = b'\202\347\260*\006sender\212\347\260*\037wasm/MsgUpdateInstantiateConfig' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\024wasm/MsgUpdateParams' + _globals['_MSGSUDOCONTRACT'].fields_by_name['authority']._loaded_options = None + _globals['_MSGSUDOCONTRACT'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSUDOCONTRACT'].fields_by_name['contract']._loaded_options = None + _globals['_MSGSUDOCONTRACT'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSUDOCONTRACT'].fields_by_name['msg']._loaded_options = None + _globals['_MSGSUDOCONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MSGSUDOCONTRACT']._loaded_options = None + _globals['_MSGSUDOCONTRACT']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\024wasm/MsgSudoContract' + _globals['_MSGPINCODES'].fields_by_name['authority']._loaded_options = None + _globals['_MSGPINCODES'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGPINCODES'].fields_by_name['code_ids']._loaded_options = None + _globals['_MSGPINCODES'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' + _globals['_MSGPINCODES']._loaded_options = None + _globals['_MSGPINCODES']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\020wasm/MsgPinCodes' + _globals['_MSGUNPINCODES'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUNPINCODES'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUNPINCODES'].fields_by_name['code_ids']._loaded_options = None + _globals['_MSGUNPINCODES'].fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' + _globals['_MSGUNPINCODES']._loaded_options = None + _globals['_MSGUNPINCODES']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\022wasm/MsgUnpinCodes' + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['authority']._loaded_options = None + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['wasm_byte_code']._loaded_options = None + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['admin']._loaded_options = None + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['msg']._loaded_options = None + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['funds']._loaded_options = None + _globals['_MSGSTOREANDINSTANTIATECONTRACT'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins\250\347\260*\001' + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._loaded_options = None + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_options = b'\202\347\260*\tauthority\212\347\260*#wasm/MsgStoreAndInstantiateContract' + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE'].fields_by_name['address']._loaded_options = None + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE'].fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES'].fields_by_name['authority']._loaded_options = None + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES'].fields_by_name['addresses']._loaded_options = None + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES'].fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._loaded_options = None + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_options = b'\202\347\260*\tauthority\212\347\260*$wasm/MsgAddCodeUploadParamsAddresses' + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES'].fields_by_name['authority']._loaded_options = None + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES'].fields_by_name['addresses']._loaded_options = None + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES'].fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._loaded_options = None + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\'wasm/MsgRemoveCodeUploadParamsAddresses' + _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['authority']._loaded_options = None + _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['wasm_byte_code']._loaded_options = None + _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['msg']._loaded_options = None + _globals['_MSGSTOREANDMIGRATECONTRACT'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MSGSTOREANDMIGRATECONTRACT']._loaded_options = None + _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\037wasm/MsgStoreAndMigrateContract' + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE'].fields_by_name['code_id']._loaded_options = None + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_MSGUPDATECONTRACTLABEL'].fields_by_name['sender']._loaded_options = None + _globals['_MSGUPDATECONTRACTLABEL'].fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATECONTRACTLABEL'].fields_by_name['contract']._loaded_options = None + _globals['_MSGUPDATECONTRACTLABEL'].fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATECONTRACTLABEL']._loaded_options = None + _globals['_MSGUPDATECONTRACTLABEL']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgUpdateContractLabel' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGSTORECODE']._serialized_start=203 + _globals['_MSGSTORECODE']._serialized_end=457 + _globals['_MSGSTORECODERESPONSE']._serialized_start=459 + _globals['_MSGSTORECODERESPONSE']._serialized_end=546 + _globals['_MSGINSTANTIATECONTRACT']._serialized_start=549 + _globals['_MSGINSTANTIATECONTRACT']._serialized_end=954 + _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_start=956 + _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_end=1060 + _globals['_MSGINSTANTIATECONTRACT2']._serialized_start=1063 + _globals['_MSGINSTANTIATECONTRACT2']._serialized_end=1515 + _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_start=1517 + _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_end=1622 + _globals['_MSGEXECUTECONTRACT']._serialized_start=1625 + _globals['_MSGEXECUTECONTRACT']._serialized_end=1969 + _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_start=1971 + _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_end=2019 + _globals['_MSGMIGRATECONTRACT']._serialized_start=2022 + _globals['_MSGMIGRATECONTRACT']._serialized_end=2282 + _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_start=2284 + _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_end=2332 + _globals['_MSGUPDATEADMIN']._serialized_start=2335 + _globals['_MSGUPDATEADMIN']._serialized_end=2547 + _globals['_MSGUPDATEADMINRESPONSE']._serialized_start=2549 + _globals['_MSGUPDATEADMINRESPONSE']._serialized_end=2573 + _globals['_MSGCLEARADMIN']._serialized_start=2576 + _globals['_MSGCLEARADMIN']._serialized_end=2731 + _globals['_MSGCLEARADMINRESPONSE']._serialized_start=2733 + _globals['_MSGCLEARADMINRESPONSE']._serialized_end=2756 + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_start=2759 + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_end=3017 + _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_start=3019 + _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_end=3055 + _globals['_MSGUPDATEPARAMS']._serialized_start=3058 + _globals['_MSGUPDATEPARAMS']._serialized_end=3233 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=3235 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=3260 + _globals['_MSGSUDOCONTRACT']._serialized_start=3263 + _globals['_MSGSUDOCONTRACT']._serialized_end=3489 + _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_start=3491 + _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_end=3536 + _globals['_MSGPINCODES']._serialized_start=3539 + _globals['_MSGPINCODES']._serialized_end=3704 + _globals['_MSGPINCODESRESPONSE']._serialized_start=3706 + _globals['_MSGPINCODESRESPONSE']._serialized_end=3727 + _globals['_MSGUNPINCODES']._serialized_start=3730 + _globals['_MSGUNPINCODES']._serialized_end=3899 + _globals['_MSGUNPINCODESRESPONSE']._serialized_start=3901 + _globals['_MSGUNPINCODESRESPONSE']._serialized_end=3924 + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_start=3927 + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_end=4573 + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_start=4575 + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_end=4687 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_start=4690 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_end=4888 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=4890 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=4931 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_start=4934 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_end=5138 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=5140 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=5184 + _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_start=5187 + _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_end=5552 + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_start=5554 + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_end=5675 + _globals['_MSGUPDATECONTRACTLABEL']._serialized_start=5678 + _globals['_MSGUPDATECONTRACTLABEL']._serialized_end=5880 + _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_start=5882 + _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_end=5914 + _globals['_MSG']._serialized_start=5917 + _globals['_MSG']._serialized_end=7794 # @@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 20c46417..7dbc1734 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the wasm Msg service.""" + """Msg defines the wasm Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,163 +16,153 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.StoreCode = channel.unary_unary( - "/cosmwasm.wasm.v1.Msg/StoreCode", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCode.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCodeResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Msg/StoreCode', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCode.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCodeResponse.FromString, + _registered_method=True) self.InstantiateContract = channel.unary_unary( - "/cosmwasm.wasm.v1.Msg/InstantiateContract", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContractResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Msg/InstantiateContract', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContractResponse.FromString, + _registered_method=True) self.InstantiateContract2 = channel.unary_unary( - "/cosmwasm.wasm.v1.Msg/InstantiateContract2", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2Response.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Msg/InstantiateContract2', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2Response.FromString, + _registered_method=True) self.ExecuteContract = channel.unary_unary( - "/cosmwasm.wasm.v1.Msg/ExecuteContract", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContractResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Msg/ExecuteContract', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContractResponse.FromString, + _registered_method=True) self.MigrateContract = channel.unary_unary( - "/cosmwasm.wasm.v1.Msg/MigrateContract", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContractResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Msg/MigrateContract', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContractResponse.FromString, + _registered_method=True) self.UpdateAdmin = channel.unary_unary( - "/cosmwasm.wasm.v1.Msg/UpdateAdmin", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdmin.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdminResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Msg/UpdateAdmin', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdmin.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdminResponse.FromString, + _registered_method=True) self.ClearAdmin = channel.unary_unary( - "/cosmwasm.wasm.v1.Msg/ClearAdmin", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdmin.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdminResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Msg/ClearAdmin', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdmin.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdminResponse.FromString, + _registered_method=True) self.UpdateInstantiateConfig = channel.unary_unary( - "/cosmwasm.wasm.v1.Msg/UpdateInstantiateConfig", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfig.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfigResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Msg/UpdateInstantiateConfig', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfig.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfigResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( - "/cosmwasm.wasm.v1.Msg/UpdateParams", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Msg/UpdateParams', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) self.SudoContract = channel.unary_unary( - "/cosmwasm.wasm.v1.Msg/SudoContract", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContractResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Msg/SudoContract', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContractResponse.FromString, + _registered_method=True) self.PinCodes = channel.unary_unary( - "/cosmwasm.wasm.v1.Msg/PinCodes", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodes.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodesResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Msg/PinCodes', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodes.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodesResponse.FromString, + _registered_method=True) self.UnpinCodes = channel.unary_unary( - "/cosmwasm.wasm.v1.Msg/UnpinCodes", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodes.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodesResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Msg/UnpinCodes', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodes.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodesResponse.FromString, + _registered_method=True) self.StoreAndInstantiateContract = channel.unary_unary( - "/cosmwasm.wasm.v1.Msg/StoreAndInstantiateContract", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Msg/StoreAndInstantiateContract', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, + _registered_method=True) self.RemoveCodeUploadParamsAddresses = channel.unary_unary( - "/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, + _registered_method=True) self.AddCodeUploadParamsAddresses = channel.unary_unary( - "/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses", - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, - _registered_method=True, - ) + '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', + request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, + response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, + _registered_method=True) 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, - _registered_method=True, - ) + '/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, + _registered_method=True) 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, - _registered_method=True, - ) + '/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, + _registered_method=True) class MsgServicer(object): - """Msg defines the wasm Msg service.""" + """Msg defines the wasm Msg service. + """ def StoreCode(self, request, context): - """StoreCode to submit Wasm code to the system""" + """StoreCode to submit Wasm code to the system + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def InstantiateContract(self, request, context): """InstantiateContract creates a new smart contract instance for the given code id. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def InstantiateContract2(self, request, context): """InstantiateContract2 creates a new smart contract instance for the given code id with a predictable address """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ExecuteContract(self, request, context): - """Execute submits the given message data to a smart contract""" + """Execute submits the given message data to a smart contract + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def MigrateContract(self, request, context): - """Migrate runs a code upgrade/ downgrade for a smart contract""" + """Migrate runs a code upgrade/ downgrade for a smart contract + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + 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!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ClearAdmin(self, request, context): - """ClearAdmin removes any admin stored for a smart contract""" + """ClearAdmin removes any admin stored for a smart contract + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateInstantiateConfig(self, request, context): - """UpdateInstantiateConfig updates instantiate config for a smart contract""" + """UpdateInstantiateConfig updates instantiate config for a smart contract + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateParams(self, request, context): """UpdateParams defines a governance operation for updating the x/wasm @@ -180,8 +171,8 @@ def UpdateParams(self, request, context): Since: 0.40 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SudoContract(self, request, context): """SudoContract defines a governance operation for calling sudo @@ -190,8 +181,8 @@ def SudoContract(self, request, context): Since: 0.40 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PinCodes(self, request, context): """PinCodes defines a governance operation for pinning a set of @@ -200,8 +191,8 @@ def PinCodes(self, request, context): Since: 0.40 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UnpinCodes(self, request, context): """UnpinCodes defines a governance operation for unpinning a set of @@ -210,8 +201,8 @@ def UnpinCodes(self, request, context): Since: 0.40 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def StoreAndInstantiateContract(self, request, context): """StoreAndInstantiateContract defines a governance operation for storing @@ -220,8 +211,8 @@ def StoreAndInstantiateContract(self, request, context): Since: 0.40 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RemoveCodeUploadParamsAddresses(self, request, context): """RemoveCodeUploadParamsAddresses defines a governance operation for @@ -229,8 +220,8 @@ def RemoveCodeUploadParamsAddresses(self, request, context): The authority is defined in the keeper. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AddCodeUploadParamsAddresses(self, request, context): """AddCodeUploadParamsAddresses defines a governance operation for @@ -238,8 +229,8 @@ def AddCodeUploadParamsAddresses(self, request, context): The authority is defined in the keeper. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def StoreAndMigrateContract(self, request, context): """StoreAndMigrateContract defines a governance operation for storing @@ -248,8 +239,8 @@ def StoreAndMigrateContract(self, request, context): Since: 0.42 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + 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 @@ -257,124 +248,124 @@ def UpdateContractLabel(self, request, context): Since: 0.43 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "StoreCode": grpc.unary_unary_rpc_method_handler( - servicer.StoreCode, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCode.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCodeResponse.SerializeToString, - ), - "InstantiateContract": grpc.unary_unary_rpc_method_handler( - servicer.InstantiateContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContractResponse.SerializeToString, - ), - "InstantiateContract2": grpc.unary_unary_rpc_method_handler( - servicer.InstantiateContract2, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2Response.SerializeToString, - ), - "ExecuteContract": grpc.unary_unary_rpc_method_handler( - servicer.ExecuteContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContractResponse.SerializeToString, - ), - "MigrateContract": grpc.unary_unary_rpc_method_handler( - servicer.MigrateContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContractResponse.SerializeToString, - ), - "UpdateAdmin": grpc.unary_unary_rpc_method_handler( - servicer.UpdateAdmin, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdmin.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdminResponse.SerializeToString, - ), - "ClearAdmin": grpc.unary_unary_rpc_method_handler( - servicer.ClearAdmin, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdmin.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdminResponse.SerializeToString, - ), - "UpdateInstantiateConfig": grpc.unary_unary_rpc_method_handler( - servicer.UpdateInstantiateConfig, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfig.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfigResponse.SerializeToString, - ), - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - "SudoContract": grpc.unary_unary_rpc_method_handler( - servicer.SudoContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContractResponse.SerializeToString, - ), - "PinCodes": grpc.unary_unary_rpc_method_handler( - servicer.PinCodes, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodes.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodesResponse.SerializeToString, - ), - "UnpinCodes": grpc.unary_unary_rpc_method_handler( - servicer.UnpinCodes, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodes.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodesResponse.SerializeToString, - ), - "StoreAndInstantiateContract": grpc.unary_unary_rpc_method_handler( - servicer.StoreAndInstantiateContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.SerializeToString, - ), - "RemoveCodeUploadParamsAddresses": grpc.unary_unary_rpc_method_handler( - servicer.RemoveCodeUploadParamsAddresses, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.SerializeToString, - ), - "AddCodeUploadParamsAddresses": grpc.unary_unary_rpc_method_handler( - servicer.AddCodeUploadParamsAddresses, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.SerializeToString, - ), - "StoreAndMigrateContract": grpc.unary_unary_rpc_method_handler( - servicer.StoreAndMigrateContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.SerializeToString, - ), - "UpdateContractLabel": grpc.unary_unary_rpc_method_handler( - servicer.UpdateContractLabel, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.SerializeToString, - ), + 'StoreCode': grpc.unary_unary_rpc_method_handler( + servicer.StoreCode, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCode.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCodeResponse.SerializeToString, + ), + 'InstantiateContract': grpc.unary_unary_rpc_method_handler( + servicer.InstantiateContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContractResponse.SerializeToString, + ), + 'InstantiateContract2': grpc.unary_unary_rpc_method_handler( + servicer.InstantiateContract2, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2Response.SerializeToString, + ), + 'ExecuteContract': grpc.unary_unary_rpc_method_handler( + servicer.ExecuteContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContractResponse.SerializeToString, + ), + 'MigrateContract': grpc.unary_unary_rpc_method_handler( + servicer.MigrateContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContractResponse.SerializeToString, + ), + 'UpdateAdmin': grpc.unary_unary_rpc_method_handler( + servicer.UpdateAdmin, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdmin.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdminResponse.SerializeToString, + ), + 'ClearAdmin': grpc.unary_unary_rpc_method_handler( + servicer.ClearAdmin, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdmin.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdminResponse.SerializeToString, + ), + 'UpdateInstantiateConfig': grpc.unary_unary_rpc_method_handler( + servicer.UpdateInstantiateConfig, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfig.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfigResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'SudoContract': grpc.unary_unary_rpc_method_handler( + servicer.SudoContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContractResponse.SerializeToString, + ), + 'PinCodes': grpc.unary_unary_rpc_method_handler( + servicer.PinCodes, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodes.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodesResponse.SerializeToString, + ), + 'UnpinCodes': grpc.unary_unary_rpc_method_handler( + servicer.UnpinCodes, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodes.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodesResponse.SerializeToString, + ), + 'StoreAndInstantiateContract': grpc.unary_unary_rpc_method_handler( + servicer.StoreAndInstantiateContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.SerializeToString, + ), + 'RemoveCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( + servicer.RemoveCodeUploadParamsAddresses, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.SerializeToString, + ), + 'AddCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( + servicer.AddCodeUploadParamsAddresses, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.SerializeToString, + ), + 'StoreAndMigrateContract': grpc.unary_unary_rpc_method_handler( + servicer.StoreAndMigrateContract, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.SerializeToString, + ), + 'UpdateContractLabel': grpc.unary_unary_rpc_method_handler( + servicer.UpdateContractLabel, + request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.FromString, + response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("cosmwasm.wasm.v1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'cosmwasm.wasm.v1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("cosmwasm.wasm.v1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('cosmwasm.wasm.v1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the wasm Msg service.""" + """Msg defines the wasm Msg service. + """ @staticmethod - def StoreCode( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def StoreCode(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/StoreCode", + '/cosmwasm.wasm.v1.Msg/StoreCode', cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCode.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreCodeResponse.FromString, options, @@ -385,26 +376,23 @@ def StoreCode( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def InstantiateContract( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def InstantiateContract(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/InstantiateContract", + '/cosmwasm.wasm.v1.Msg/InstantiateContract', cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContractResponse.FromString, options, @@ -415,26 +403,23 @@ def InstantiateContract( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def InstantiateContract2( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def InstantiateContract2(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/InstantiateContract2", + '/cosmwasm.wasm.v1.Msg/InstantiateContract2', cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgInstantiateContract2Response.FromString, options, @@ -445,26 +430,23 @@ def InstantiateContract2( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ExecuteContract( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ExecuteContract(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/ExecuteContract", + '/cosmwasm.wasm.v1.Msg/ExecuteContract', cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContract.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgExecuteContractResponse.FromString, options, @@ -475,26 +457,23 @@ def ExecuteContract( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def MigrateContract( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def MigrateContract(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/MigrateContract", + '/cosmwasm.wasm.v1.Msg/MigrateContract', cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContract.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgMigrateContractResponse.FromString, options, @@ -505,26 +484,23 @@ def MigrateContract( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateAdmin( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateAdmin(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/UpdateAdmin", + '/cosmwasm.wasm.v1.Msg/UpdateAdmin', cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdmin.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateAdminResponse.FromString, options, @@ -535,26 +511,23 @@ def UpdateAdmin( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ClearAdmin( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ClearAdmin(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/ClearAdmin", + '/cosmwasm.wasm.v1.Msg/ClearAdmin', cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdmin.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgClearAdminResponse.FromString, options, @@ -565,26 +538,23 @@ def ClearAdmin( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateInstantiateConfig( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateInstantiateConfig(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/UpdateInstantiateConfig", + '/cosmwasm.wasm.v1.Msg/UpdateInstantiateConfig', cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfig.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateInstantiateConfigResponse.FromString, options, @@ -595,26 +565,23 @@ def UpdateInstantiateConfig( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmwasm.wasm.v1.Msg/UpdateParams", + '/cosmwasm.wasm.v1.Msg/UpdateParams', cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -625,26 +592,23 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SudoContract( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SudoContract(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/SudoContract", + '/cosmwasm.wasm.v1.Msg/SudoContract', cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContract.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgSudoContractResponse.FromString, options, @@ -655,26 +619,23 @@ def SudoContract( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PinCodes( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PinCodes(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/PinCodes", + '/cosmwasm.wasm.v1.Msg/PinCodes', cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodes.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgPinCodesResponse.FromString, options, @@ -685,26 +646,23 @@ def PinCodes( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UnpinCodes( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UnpinCodes(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/UnpinCodes", + '/cosmwasm.wasm.v1.Msg/UnpinCodes', cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodes.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUnpinCodesResponse.FromString, options, @@ -715,26 +673,23 @@ def UnpinCodes( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def StoreAndInstantiateContract( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def StoreAndInstantiateContract(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/StoreAndInstantiateContract", + '/cosmwasm.wasm.v1.Msg/StoreAndInstantiateContract', cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, options, @@ -745,26 +700,23 @@ def StoreAndInstantiateContract( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RemoveCodeUploadParamsAddresses( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RemoveCodeUploadParamsAddresses(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses", + '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, options, @@ -775,26 +727,23 @@ def RemoveCodeUploadParamsAddresses( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def AddCodeUploadParamsAddresses( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AddCodeUploadParamsAddresses(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses", + '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, options, @@ -805,26 +754,23 @@ def AddCodeUploadParamsAddresses( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def StoreAndMigrateContract( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + 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.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, @@ -835,26 +781,23 @@ def StoreAndMigrateContract( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateContractLabel( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + 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.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, @@ -865,5 +808,4 @@ def UpdateContractLabel( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py index da5d58cc..4c48f996 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,152 +19,110 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"]\n\x0f\x41\x63\x63\x65ssTypeParam\x12\x44\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:"value"R\x05value:\x04\x98\xa0\x1f\x01"\xa7\x01\n\x0c\x41\x63\x63\x65ssConfig\x12S\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:"permission"R\npermission\x12\x36\n\taddresses\x18\x03 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\taddresses:\x04\x98\xa0\x1f\x01J\x04\x08\x02\x10\x03"\x94\x02\n\x06Params\x12t\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*\x01R\x10\x63odeUploadAccess\x12\x8d\x01\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:"instantiate_default_permission"R\x1cinstantiateDefaultPermission:\x04\x98\xa0\x1f\x00"\xc1\x01\n\x08\x43odeInfo\x12\x1b\n\tcode_hash\x18\x01 \x01(\x0cR\x08\x63odeHash\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12X\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x11instantiateConfigJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05"\x82\x03\n\x0c\x43ontractInfo\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12.\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12>\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPositionR\x07\x63reated\x12-\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortIDR\tibcPortId\x12^\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtensionR\textension:\x04\xe8\xa0\x1f\x01"\x8b\x02\n\x18\x43ontractCodeHistoryEntry\x12P\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationTypeR\toperation\x12#\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12>\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPositionR\x07updated\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg"R\n\x12\x41\x62soluteTxPosition\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\x12\x19\n\x08tx_index\x18\x02 \x01(\x04R\x07txIndex"e\n\x05Model\x12\x46\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value"\xb1\x01\n\x0f\x45ventCodeStored\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x18\n\x07\x63reator\x18\x02 \x01(\tR\x07\x63reator\x12\x43\n\raccess_config\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x0c\x61\x63\x63\x65ssConfig\x12\x1a\n\x08\x63hecksum\x18\x04 \x01(\x0cR\x08\x63hecksum"\xbe\x02\n\x19\x45ventContractInstantiated\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x14\n\x05\x61\x64min\x18\x02 \x01(\tR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x61\n\x05\x66unds\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x05\x66unds\x12(\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessageR\x03msg\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x18\n\x07\x63reator\x18\x07 \x01(\tR\x07\x63reator"\x91\x01\n\x15\x45ventContractMigrated\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12(\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessageR\x03msg"_\n\x15\x45ventContractAdminSet\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tnew_admin\x18\x02 \x01(\tR\x08newAdmin*\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\xb4\x01\n\x14\x63om.cosmwasm.wasm.v1B\nTypesProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"]\n\x0f\x41\x63\x63\x65ssTypeParam\x12\x44\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:\"value\"R\x05value:\x04\x98\xa0\x1f\x01\"\xa7\x01\n\x0c\x41\x63\x63\x65ssConfig\x12S\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:\"permission\"R\npermission\x12\x36\n\taddresses\x18\x03 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\taddresses:\x04\x98\xa0\x1f\x01J\x04\x08\x02\x10\x03\"\x94\x02\n\x06Params\x12t\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*\x01R\x10\x63odeUploadAccess\x12\x8d\x01\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:\"instantiate_default_permission\"R\x1cinstantiateDefaultPermission:\x04\x98\xa0\x1f\x00\"\xc1\x01\n\x08\x43odeInfo\x12\x1b\n\tcode_hash\x18\x01 \x01(\x0cR\x08\x63odeHash\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12X\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x11instantiateConfigJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\x82\x03\n\x0c\x43ontractInfo\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x32\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x07\x63reator\x12.\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x05\x61\x64min\x12\x14\n\x05label\x18\x04 \x01(\tR\x05label\x12>\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPositionR\x07\x63reated\x12-\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortIDR\tibcPortId\x12^\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtensionR\textension:\x04\xe8\xa0\x1f\x01\"\x8b\x02\n\x18\x43ontractCodeHistoryEntry\x12P\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationTypeR\toperation\x12#\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12>\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPositionR\x07updated\x12\x38\n\x03msg\x18\x04 \x01(\x0c\x42&\xfa\xde\x1f\x12RawContractMessage\x9a\xe7\xb0*\x0binline_jsonR\x03msg\"R\n\x12\x41\x62soluteTxPosition\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\x12\x19\n\x08tx_index\x18\x02 \x01(\x04R\x07txIndex\"e\n\x05Model\x12\x46\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\"\xb1\x01\n\x0f\x45ventCodeStored\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x18\n\x07\x63reator\x18\x02 \x01(\tR\x07\x63reator\x12\x43\n\raccess_config\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigR\x0c\x61\x63\x63\x65ssConfig\x12\x1a\n\x08\x63hecksum\x18\x04 \x01(\x0cR\x08\x63hecksum\"\xbe\x02\n\x19\x45ventContractInstantiated\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x14\n\x05\x61\x64min\x18\x02 \x01(\tR\x05\x61\x64min\x12#\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12\x61\n\x05\x66unds\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x05\x66unds\x12(\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessageR\x03msg\x12\x14\n\x05label\x18\x06 \x01(\tR\x05label\x12\x18\n\x07\x63reator\x18\x07 \x01(\tR\x07\x63reator\"\x91\x01\n\x15\x45ventContractMigrated\x12#\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeIDR\x06\x63odeId\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12(\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessageR\x03msg\"_\n\x15\x45ventContractAdminSet\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tnew_admin\x18\x02 \x01(\tR\x08newAdmin*\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\xb4\x01\n\x14\x63om.cosmwasm.wasm.v1B\nTypesProtoP\x01Z&github.com/CosmWasm/wasmd/x/wasm/types\xa2\x02\x03\x43WX\xaa\x02\x10\x43osmwasm.Wasm.V1\xca\x02\x10\x43osmwasm\\Wasm\\V1\xe2\x02\x1c\x43osmwasm\\Wasm\\V1\\GPBMetadata\xea\x02\x12\x43osmwasm::Wasm::V1\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "cosmwasm.wasm.v1.types_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.types_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\024com.cosmwasm.wasm.v1B\nTypesProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\250\342\036\001" - ) - _globals["_ACCESSTYPE"]._loaded_options = None - _globals["_ACCESSTYPE"]._serialized_options = b"\210\243\036\000\250\244\036\000" - _globals["_ACCESSTYPE"].values_by_name["ACCESS_TYPE_UNSPECIFIED"]._loaded_options = None - _globals["_ACCESSTYPE"].values_by_name[ - "ACCESS_TYPE_UNSPECIFIED" - ]._serialized_options = b"\212\235 \025AccessTypeUnspecified" - _globals["_ACCESSTYPE"].values_by_name["ACCESS_TYPE_NOBODY"]._loaded_options = None - _globals["_ACCESSTYPE"].values_by_name["ACCESS_TYPE_NOBODY"]._serialized_options = b"\212\235 \020AccessTypeNobody" - _globals["_ACCESSTYPE"].values_by_name["ACCESS_TYPE_EVERYBODY"]._loaded_options = None - _globals["_ACCESSTYPE"].values_by_name[ - "ACCESS_TYPE_EVERYBODY" - ]._serialized_options = b"\212\235 \023AccessTypeEverybody" - _globals["_ACCESSTYPE"].values_by_name["ACCESS_TYPE_ANY_OF_ADDRESSES"]._loaded_options = None - _globals["_ACCESSTYPE"].values_by_name[ - "ACCESS_TYPE_ANY_OF_ADDRESSES" - ]._serialized_options = b"\212\235 \030AccessTypeAnyOfAddresses" - _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"]._loaded_options = None - _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"]._serialized_options = b"\210\243\036\000" - _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"].values_by_name[ - "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED" - ]._loaded_options = None - _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"].values_by_name[ - "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED" - ]._serialized_options = b"\212\235 +ContractCodeHistoryOperationTypeUnspecified" - _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"].values_by_name[ - "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT" - ]._loaded_options = None - _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"].values_by_name[ - "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT" - ]._serialized_options = b"\212\235 $ContractCodeHistoryOperationTypeInit" - _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"].values_by_name[ - "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE" - ]._loaded_options = None - _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"].values_by_name[ - "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE" - ]._serialized_options = b"\212\235 'ContractCodeHistoryOperationTypeMigrate" - _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"].values_by_name[ - "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS" - ]._loaded_options = None - _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"].values_by_name[ - "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS" - ]._serialized_options = b"\212\235 'ContractCodeHistoryOperationTypeGenesis" - _globals["_ACCESSTYPEPARAM"].fields_by_name["value"]._loaded_options = None - _globals["_ACCESSTYPEPARAM"].fields_by_name["value"]._serialized_options = b'\362\336\037\014yaml:"value"' - _globals["_ACCESSTYPEPARAM"]._loaded_options = None - _globals["_ACCESSTYPEPARAM"]._serialized_options = b"\230\240\037\001" - _globals["_ACCESSCONFIG"].fields_by_name["permission"]._loaded_options = None - _globals["_ACCESSCONFIG"].fields_by_name["permission"]._serialized_options = b'\362\336\037\021yaml:"permission"' - _globals["_ACCESSCONFIG"].fields_by_name["addresses"]._loaded_options = None - _globals["_ACCESSCONFIG"].fields_by_name["addresses"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_ACCESSCONFIG"]._loaded_options = None - _globals["_ACCESSCONFIG"]._serialized_options = b"\230\240\037\001" - _globals["_PARAMS"].fields_by_name["code_upload_access"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "code_upload_access" - ]._serialized_options = b'\310\336\037\000\362\336\037\031yaml:"code_upload_access"\250\347\260*\001' - _globals["_PARAMS"].fields_by_name["instantiate_default_permission"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "instantiate_default_permission" - ]._serialized_options = b'\362\336\037%yaml:"instantiate_default_permission"' - _globals["_PARAMS"]._loaded_options = None - _globals["_PARAMS"]._serialized_options = b"\230\240\037\000" - _globals["_CODEINFO"].fields_by_name["creator"]._loaded_options = None - _globals["_CODEINFO"].fields_by_name["creator"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_CODEINFO"].fields_by_name["instantiate_config"]._loaded_options = None - _globals["_CODEINFO"].fields_by_name[ - "instantiate_config" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_CONTRACTINFO"].fields_by_name["code_id"]._loaded_options = None - _globals["_CONTRACTINFO"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" - _globals["_CONTRACTINFO"].fields_by_name["creator"]._loaded_options = None - _globals["_CONTRACTINFO"].fields_by_name["creator"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_CONTRACTINFO"].fields_by_name["admin"]._loaded_options = None - _globals["_CONTRACTINFO"].fields_by_name["admin"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_CONTRACTINFO"].fields_by_name["ibc_port_id"]._loaded_options = None - _globals["_CONTRACTINFO"].fields_by_name["ibc_port_id"]._serialized_options = b"\342\336\037\tIBCPortID" - _globals["_CONTRACTINFO"].fields_by_name["extension"]._loaded_options = None - _globals["_CONTRACTINFO"].fields_by_name[ - "extension" - ]._serialized_options = b"\312\264-&cosmwasm.wasm.v1.ContractInfoExtension" - _globals["_CONTRACTINFO"]._loaded_options = None - _globals["_CONTRACTINFO"]._serialized_options = b"\350\240\037\001" - _globals["_CONTRACTCODEHISTORYENTRY"].fields_by_name["code_id"]._loaded_options = None - _globals["_CONTRACTCODEHISTORYENTRY"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" - _globals["_CONTRACTCODEHISTORYENTRY"].fields_by_name["msg"]._loaded_options = None - _globals["_CONTRACTCODEHISTORYENTRY"].fields_by_name[ - "msg" - ]._serialized_options = b"\372\336\037\022RawContractMessage\232\347\260*\013inline_json" - _globals["_MODEL"].fields_by_name["key"]._loaded_options = None - _globals["_MODEL"].fields_by_name[ - "key" - ]._serialized_options = b"\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes" - _globals["_EVENTCODESTORED"].fields_by_name["code_id"]._loaded_options = None - _globals["_EVENTCODESTORED"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" - _globals["_EVENTCONTRACTINSTANTIATED"].fields_by_name["code_id"]._loaded_options = None - _globals["_EVENTCONTRACTINSTANTIATED"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" - _globals["_EVENTCONTRACTINSTANTIATED"].fields_by_name["funds"]._loaded_options = None - _globals["_EVENTCONTRACTINSTANTIATED"].fields_by_name[ - "funds" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" - _globals["_EVENTCONTRACTINSTANTIATED"].fields_by_name["msg"]._loaded_options = None - _globals["_EVENTCONTRACTINSTANTIATED"].fields_by_name[ - "msg" - ]._serialized_options = b"\372\336\037\022RawContractMessage" - _globals["_EVENTCONTRACTMIGRATED"].fields_by_name["code_id"]._loaded_options = None - _globals["_EVENTCONTRACTMIGRATED"].fields_by_name["code_id"]._serialized_options = b"\342\336\037\006CodeID" - _globals["_EVENTCONTRACTMIGRATED"].fields_by_name["msg"]._loaded_options = None - _globals["_EVENTCONTRACTMIGRATED"].fields_by_name["msg"]._serialized_options = b"\372\336\037\022RawContractMessage" - _globals["_ACCESSTYPE"]._serialized_start = 2510 - _globals["_ACCESSTYPE"]._serialized_end = 2756 - _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"]._serialized_start = 2759 - _globals["_CONTRACTCODEHISTORYOPERATIONTYPE"]._serialized_end = 3181 - _globals["_ACCESSTYPEPARAM"]._serialized_start = 177 - _globals["_ACCESSTYPEPARAM"]._serialized_end = 270 - _globals["_ACCESSCONFIG"]._serialized_start = 273 - _globals["_ACCESSCONFIG"]._serialized_end = 440 - _globals["_PARAMS"]._serialized_start = 443 - _globals["_PARAMS"]._serialized_end = 719 - _globals["_CODEINFO"]._serialized_start = 722 - _globals["_CODEINFO"]._serialized_end = 915 - _globals["_CONTRACTINFO"]._serialized_start = 918 - _globals["_CONTRACTINFO"]._serialized_end = 1304 - _globals["_CONTRACTCODEHISTORYENTRY"]._serialized_start = 1307 - _globals["_CONTRACTCODEHISTORYENTRY"]._serialized_end = 1574 - _globals["_ABSOLUTETXPOSITION"]._serialized_start = 1576 - _globals["_ABSOLUTETXPOSITION"]._serialized_end = 1658 - _globals["_MODEL"]._serialized_start = 1660 - _globals["_MODEL"]._serialized_end = 1761 - _globals["_EVENTCODESTORED"]._serialized_start = 1764 - _globals["_EVENTCODESTORED"]._serialized_end = 1941 - _globals["_EVENTCONTRACTINSTANTIATED"]._serialized_start = 1944 - _globals["_EVENTCONTRACTINSTANTIATED"]._serialized_end = 2262 - _globals["_EVENTCONTRACTMIGRATED"]._serialized_start = 2265 - _globals["_EVENTCONTRACTMIGRATED"]._serialized_end = 2410 - _globals["_EVENTCONTRACTADMINSET"]._serialized_start = 2412 - _globals["_EVENTCONTRACTADMINSET"]._serialized_end = 2507 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.cosmwasm.wasm.v1B\nTypesProtoP\001Z&github.com/CosmWasm/wasmd/x/wasm/types\242\002\003CWX\252\002\020Cosmwasm.Wasm.V1\312\002\020Cosmwasm\\Wasm\\V1\342\002\034Cosmwasm\\Wasm\\V1\\GPBMetadata\352\002\022Cosmwasm::Wasm::V1\310\341\036\000\250\342\036\001' + _globals['_ACCESSTYPE']._loaded_options = None + _globals['_ACCESSTYPE']._serialized_options = b'\210\243\036\000\250\244\036\000' + _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_UNSPECIFIED"]._loaded_options = None + _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \025AccessTypeUnspecified' + _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_NOBODY"]._loaded_options = None + _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_NOBODY"]._serialized_options = b'\212\235 \020AccessTypeNobody' + _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_EVERYBODY"]._loaded_options = None + _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_EVERYBODY"]._serialized_options = b'\212\235 \023AccessTypeEverybody' + _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_ANY_OF_ADDRESSES"]._loaded_options = None + _globals['_ACCESSTYPE'].values_by_name["ACCESS_TYPE_ANY_OF_ADDRESSES"]._serialized_options = b'\212\235 \030AccessTypeAnyOfAddresses' + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._loaded_options = None + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_options = b'\210\243\036\000' + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED"]._loaded_options = None + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 +ContractCodeHistoryOperationTypeUnspecified' + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT"]._loaded_options = None + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT"]._serialized_options = b'\212\235 $ContractCodeHistoryOperationTypeInit' + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE"]._loaded_options = None + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE"]._serialized_options = b'\212\235 \'ContractCodeHistoryOperationTypeMigrate' + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS"]._loaded_options = None + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE'].values_by_name["CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS"]._serialized_options = b'\212\235 \'ContractCodeHistoryOperationTypeGenesis' + _globals['_ACCESSTYPEPARAM'].fields_by_name['value']._loaded_options = None + _globals['_ACCESSTYPEPARAM'].fields_by_name['value']._serialized_options = b'\362\336\037\014yaml:\"value\"' + _globals['_ACCESSTYPEPARAM']._loaded_options = None + _globals['_ACCESSTYPEPARAM']._serialized_options = b'\230\240\037\001' + _globals['_ACCESSCONFIG'].fields_by_name['permission']._loaded_options = None + _globals['_ACCESSCONFIG'].fields_by_name['permission']._serialized_options = b'\362\336\037\021yaml:\"permission\"' + _globals['_ACCESSCONFIG'].fields_by_name['addresses']._loaded_options = None + _globals['_ACCESSCONFIG'].fields_by_name['addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_ACCESSCONFIG']._loaded_options = None + _globals['_ACCESSCONFIG']._serialized_options = b'\230\240\037\001' + _globals['_PARAMS'].fields_by_name['code_upload_access']._loaded_options = None + _globals['_PARAMS'].fields_by_name['code_upload_access']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"code_upload_access\"\250\347\260*\001' + _globals['_PARAMS'].fields_by_name['instantiate_default_permission']._loaded_options = None + _globals['_PARAMS'].fields_by_name['instantiate_default_permission']._serialized_options = b'\362\336\037%yaml:\"instantiate_default_permission\"' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\230\240\037\000' + _globals['_CODEINFO'].fields_by_name['creator']._loaded_options = None + _globals['_CODEINFO'].fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_CODEINFO'].fields_by_name['instantiate_config']._loaded_options = None + _globals['_CODEINFO'].fields_by_name['instantiate_config']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_CONTRACTINFO'].fields_by_name['code_id']._loaded_options = None + _globals['_CONTRACTINFO'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_CONTRACTINFO'].fields_by_name['creator']._loaded_options = None + _globals['_CONTRACTINFO'].fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_CONTRACTINFO'].fields_by_name['admin']._loaded_options = None + _globals['_CONTRACTINFO'].fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_CONTRACTINFO'].fields_by_name['ibc_port_id']._loaded_options = None + _globals['_CONTRACTINFO'].fields_by_name['ibc_port_id']._serialized_options = b'\342\336\037\tIBCPortID' + _globals['_CONTRACTINFO'].fields_by_name['extension']._loaded_options = None + _globals['_CONTRACTINFO'].fields_by_name['extension']._serialized_options = b'\312\264-&cosmwasm.wasm.v1.ContractInfoExtension' + _globals['_CONTRACTINFO']._loaded_options = None + _globals['_CONTRACTINFO']._serialized_options = b'\350\240\037\001' + _globals['_CONTRACTCODEHISTORYENTRY'].fields_by_name['code_id']._loaded_options = None + _globals['_CONTRACTCODEHISTORYENTRY'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_CONTRACTCODEHISTORYENTRY'].fields_by_name['msg']._loaded_options = None + _globals['_CONTRACTCODEHISTORYENTRY'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage\232\347\260*\013inline_json' + _globals['_MODEL'].fields_by_name['key']._loaded_options = None + _globals['_MODEL'].fields_by_name['key']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' + _globals['_EVENTCODESTORED'].fields_by_name['code_id']._loaded_options = None + _globals['_EVENTCODESTORED'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['code_id']._loaded_options = None + _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['funds']._loaded_options = None + _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['msg']._loaded_options = None + _globals['_EVENTCONTRACTINSTANTIATED'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _globals['_EVENTCONTRACTMIGRATED'].fields_by_name['code_id']._loaded_options = None + _globals['_EVENTCONTRACTMIGRATED'].fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _globals['_EVENTCONTRACTMIGRATED'].fields_by_name['msg']._loaded_options = None + _globals['_EVENTCONTRACTMIGRATED'].fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _globals['_ACCESSTYPE']._serialized_start=2510 + _globals['_ACCESSTYPE']._serialized_end=2756 + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_start=2759 + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_end=3181 + _globals['_ACCESSTYPEPARAM']._serialized_start=177 + _globals['_ACCESSTYPEPARAM']._serialized_end=270 + _globals['_ACCESSCONFIG']._serialized_start=273 + _globals['_ACCESSCONFIG']._serialized_end=440 + _globals['_PARAMS']._serialized_start=443 + _globals['_PARAMS']._serialized_end=719 + _globals['_CODEINFO']._serialized_start=722 + _globals['_CODEINFO']._serialized_end=915 + _globals['_CONTRACTINFO']._serialized_start=918 + _globals['_CONTRACTINFO']._serialized_end=1304 + _globals['_CONTRACTCODEHISTORYENTRY']._serialized_start=1307 + _globals['_CONTRACTCODEHISTORYENTRY']._serialized_end=1574 + _globals['_ABSOLUTETXPOSITION']._serialized_start=1576 + _globals['_ABSOLUTETXPOSITION']._serialized_end=1658 + _globals['_MODEL']._serialized_start=1660 + _globals['_MODEL']._serialized_end=1761 + _globals['_EVENTCODESTORED']._serialized_start=1764 + _globals['_EVENTCODESTORED']._serialized_end=1941 + _globals['_EVENTCONTRACTINSTANTIATED']._serialized_start=1944 + _globals['_EVENTCONTRACTINSTANTIATED']._serialized_end=2262 + _globals['_EVENTCONTRACTMIGRATED']._serialized_start=2265 + _globals['_EVENTCONTRACTMIGRATED']._serialized_end=2410 + _globals['_EVENTCONTRACTADMINSET']._serialized_start=2412 + _globals['_EVENTCONTRACTADMINSET']._serialized_end=2507 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2_grpc.py @@ -1,3 +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/gogoproto/gogo_pb2.py b/pyinjective/proto/gogoproto/gogo_pb2.py index 69657fa3..7ba03436 100644 --- a/pyinjective/proto/gogoproto/gogo_pb2.py +++ b/pyinjective/proto/gogoproto/gogo_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,16 +15,12 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n\x14gogoproto/gogo.proto\x12\tgogoproto\x1a google/protobuf/descriptor.proto:N\n\x13goproto_enum_prefix\x12\x1c.google.protobuf.EnumOptions\x18\xb1\xe4\x03 \x01(\x08R\x11goprotoEnumPrefix:R\n\x15goproto_enum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc5\xe4\x03 \x01(\x08R\x13goprotoEnumStringer:C\n\renum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc6\xe4\x03 \x01(\x08R\x0c\x65numStringer:G\n\x0f\x65num_customname\x12\x1c.google.protobuf.EnumOptions\x18\xc7\xe4\x03 \x01(\tR\x0e\x65numCustomname::\n\x08\x65numdecl\x12\x1c.google.protobuf.EnumOptions\x18\xc8\xe4\x03 \x01(\x08R\x08\x65numdecl:V\n\x14\x65numvalue_customname\x12!.google.protobuf.EnumValueOptions\x18\xd1\x83\x04 \x01(\tR\x13\x65numvalueCustomname:N\n\x13goproto_getters_all\x12\x1c.google.protobuf.FileOptions\x18\x99\xec\x03 \x01(\x08R\x11goprotoGettersAll:U\n\x17goproto_enum_prefix_all\x12\x1c.google.protobuf.FileOptions\x18\x9a\xec\x03 \x01(\x08R\x14goprotoEnumPrefixAll:P\n\x14goproto_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\x9b\xec\x03 \x01(\x08R\x12goprotoStringerAll:J\n\x11verbose_equal_all\x12\x1c.google.protobuf.FileOptions\x18\x9c\xec\x03 \x01(\x08R\x0fverboseEqualAll:9\n\x08\x66\x61\x63\x65_all\x12\x1c.google.protobuf.FileOptions\x18\x9d\xec\x03 \x01(\x08R\x07\x66\x61\x63\x65\x41ll:A\n\x0cgostring_all\x12\x1c.google.protobuf.FileOptions\x18\x9e\xec\x03 \x01(\x08R\x0bgostringAll:A\n\x0cpopulate_all\x12\x1c.google.protobuf.FileOptions\x18\x9f\xec\x03 \x01(\x08R\x0bpopulateAll:A\n\x0cstringer_all\x12\x1c.google.protobuf.FileOptions\x18\xa0\xec\x03 \x01(\x08R\x0bstringerAll:?\n\x0bonlyone_all\x12\x1c.google.protobuf.FileOptions\x18\xa1\xec\x03 \x01(\x08R\nonlyoneAll:;\n\tequal_all\x12\x1c.google.protobuf.FileOptions\x18\xa5\xec\x03 \x01(\x08R\x08\x65qualAll:G\n\x0f\x64\x65scription_all\x12\x1c.google.protobuf.FileOptions\x18\xa6\xec\x03 \x01(\x08R\x0e\x64\x65scriptionAll:?\n\x0btestgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa7\xec\x03 \x01(\x08R\ntestgenAll:A\n\x0c\x62\x65nchgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa8\xec\x03 \x01(\x08R\x0b\x62\x65nchgenAll:C\n\rmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xa9\xec\x03 \x01(\x08R\x0cmarshalerAll:G\n\x0funmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaa\xec\x03 \x01(\x08R\x0eunmarshalerAll:P\n\x14stable_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xab\xec\x03 \x01(\x08R\x12stableMarshalerAll:;\n\tsizer_all\x12\x1c.google.protobuf.FileOptions\x18\xac\xec\x03 \x01(\x08R\x08sizerAll:Y\n\x19goproto_enum_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xad\xec\x03 \x01(\x08R\x16goprotoEnumStringerAll:J\n\x11\x65num_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xae\xec\x03 \x01(\x08R\x0f\x65numStringerAll:P\n\x14unsafe_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaf\xec\x03 \x01(\x08R\x12unsafeMarshalerAll:T\n\x16unsafe_unmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xb0\xec\x03 \x01(\x08R\x14unsafeUnmarshalerAll:[\n\x1agoproto_extensions_map_all\x12\x1c.google.protobuf.FileOptions\x18\xb1\xec\x03 \x01(\x08R\x17goprotoExtensionsMapAll:X\n\x18goproto_unrecognized_all\x12\x1c.google.protobuf.FileOptions\x18\xb2\xec\x03 \x01(\x08R\x16goprotoUnrecognizedAll:I\n\x10gogoproto_import\x12\x1c.google.protobuf.FileOptions\x18\xb3\xec\x03 \x01(\x08R\x0fgogoprotoImport:E\n\x0eprotosizer_all\x12\x1c.google.protobuf.FileOptions\x18\xb4\xec\x03 \x01(\x08R\rprotosizerAll:?\n\x0b\x63ompare_all\x12\x1c.google.protobuf.FileOptions\x18\xb5\xec\x03 \x01(\x08R\ncompareAll:A\n\x0ctypedecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb6\xec\x03 \x01(\x08R\x0btypedeclAll:A\n\x0c\x65numdecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb7\xec\x03 \x01(\x08R\x0b\x65numdeclAll:Q\n\x14goproto_registration\x12\x1c.google.protobuf.FileOptions\x18\xb8\xec\x03 \x01(\x08R\x13goprotoRegistration:G\n\x0fmessagename_all\x12\x1c.google.protobuf.FileOptions\x18\xb9\xec\x03 \x01(\x08R\x0emessagenameAll:R\n\x15goproto_sizecache_all\x12\x1c.google.protobuf.FileOptions\x18\xba\xec\x03 \x01(\x08R\x13goprotoSizecacheAll:N\n\x13goproto_unkeyed_all\x12\x1c.google.protobuf.FileOptions\x18\xbb\xec\x03 \x01(\x08R\x11goprotoUnkeyedAll:J\n\x0fgoproto_getters\x12\x1f.google.protobuf.MessageOptions\x18\x81\xf4\x03 \x01(\x08R\x0egoprotoGetters:L\n\x10goproto_stringer\x12\x1f.google.protobuf.MessageOptions\x18\x83\xf4\x03 \x01(\x08R\x0fgoprotoStringer:F\n\rverbose_equal\x12\x1f.google.protobuf.MessageOptions\x18\x84\xf4\x03 \x01(\x08R\x0cverboseEqual:5\n\x04\x66\x61\x63\x65\x12\x1f.google.protobuf.MessageOptions\x18\x85\xf4\x03 \x01(\x08R\x04\x66\x61\x63\x65:=\n\x08gostring\x12\x1f.google.protobuf.MessageOptions\x18\x86\xf4\x03 \x01(\x08R\x08gostring:=\n\x08populate\x12\x1f.google.protobuf.MessageOptions\x18\x87\xf4\x03 \x01(\x08R\x08populate:=\n\x08stringer\x12\x1f.google.protobuf.MessageOptions\x18\xc0\x8b\x04 \x01(\x08R\x08stringer:;\n\x07onlyone\x12\x1f.google.protobuf.MessageOptions\x18\x89\xf4\x03 \x01(\x08R\x07onlyone:7\n\x05\x65qual\x12\x1f.google.protobuf.MessageOptions\x18\x8d\xf4\x03 \x01(\x08R\x05\x65qual:C\n\x0b\x64\x65scription\x12\x1f.google.protobuf.MessageOptions\x18\x8e\xf4\x03 \x01(\x08R\x0b\x64\x65scription:;\n\x07testgen\x12\x1f.google.protobuf.MessageOptions\x18\x8f\xf4\x03 \x01(\x08R\x07testgen:=\n\x08\x62\x65nchgen\x12\x1f.google.protobuf.MessageOptions\x18\x90\xf4\x03 \x01(\x08R\x08\x62\x65nchgen:?\n\tmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x91\xf4\x03 \x01(\x08R\tmarshaler:C\n\x0bunmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x92\xf4\x03 \x01(\x08R\x0bunmarshaler:L\n\x10stable_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x93\xf4\x03 \x01(\x08R\x0fstableMarshaler:7\n\x05sizer\x12\x1f.google.protobuf.MessageOptions\x18\x94\xf4\x03 \x01(\x08R\x05sizer:L\n\x10unsafe_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x97\xf4\x03 \x01(\x08R\x0funsafeMarshaler:P\n\x12unsafe_unmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x98\xf4\x03 \x01(\x08R\x11unsafeUnmarshaler:W\n\x16goproto_extensions_map\x12\x1f.google.protobuf.MessageOptions\x18\x99\xf4\x03 \x01(\x08R\x14goprotoExtensionsMap:T\n\x14goproto_unrecognized\x12\x1f.google.protobuf.MessageOptions\x18\x9a\xf4\x03 \x01(\x08R\x13goprotoUnrecognized:A\n\nprotosizer\x12\x1f.google.protobuf.MessageOptions\x18\x9c\xf4\x03 \x01(\x08R\nprotosizer:;\n\x07\x63ompare\x12\x1f.google.protobuf.MessageOptions\x18\x9d\xf4\x03 \x01(\x08R\x07\x63ompare:=\n\x08typedecl\x12\x1f.google.protobuf.MessageOptions\x18\x9e\xf4\x03 \x01(\x08R\x08typedecl:C\n\x0bmessagename\x12\x1f.google.protobuf.MessageOptions\x18\xa1\xf4\x03 \x01(\x08R\x0bmessagename:N\n\x11goproto_sizecache\x12\x1f.google.protobuf.MessageOptions\x18\xa2\xf4\x03 \x01(\x08R\x10goprotoSizecache:J\n\x0fgoproto_unkeyed\x12\x1f.google.protobuf.MessageOptions\x18\xa3\xf4\x03 \x01(\x08R\x0egoprotoUnkeyed:;\n\x08nullable\x12\x1d.google.protobuf.FieldOptions\x18\xe9\xfb\x03 \x01(\x08R\x08nullable:5\n\x05\x65mbed\x12\x1d.google.protobuf.FieldOptions\x18\xea\xfb\x03 \x01(\x08R\x05\x65mbed:?\n\ncustomtype\x12\x1d.google.protobuf.FieldOptions\x18\xeb\xfb\x03 \x01(\tR\ncustomtype:?\n\ncustomname\x12\x1d.google.protobuf.FieldOptions\x18\xec\xfb\x03 \x01(\tR\ncustomname:9\n\x07jsontag\x12\x1d.google.protobuf.FieldOptions\x18\xed\xfb\x03 \x01(\tR\x07jsontag:;\n\x08moretags\x12\x1d.google.protobuf.FieldOptions\x18\xee\xfb\x03 \x01(\tR\x08moretags:;\n\x08\x63\x61sttype\x12\x1d.google.protobuf.FieldOptions\x18\xef\xfb\x03 \x01(\tR\x08\x63\x61sttype:9\n\x07\x63\x61stkey\x12\x1d.google.protobuf.FieldOptions\x18\xf0\xfb\x03 \x01(\tR\x07\x63\x61stkey:=\n\tcastvalue\x12\x1d.google.protobuf.FieldOptions\x18\xf1\xfb\x03 \x01(\tR\tcastvalue:9\n\x07stdtime\x12\x1d.google.protobuf.FieldOptions\x18\xf2\xfb\x03 \x01(\x08R\x07stdtime:A\n\x0bstdduration\x12\x1d.google.protobuf.FieldOptions\x18\xf3\xfb\x03 \x01(\x08R\x0bstdduration:?\n\nwktpointer\x12\x1d.google.protobuf.FieldOptions\x18\xf4\xfb\x03 \x01(\x08R\nwktpointer:C\n\x0c\x63\x61strepeated\x12\x1d.google.protobuf.FieldOptions\x18\xf5\xfb\x03 \x01(\tR\x0c\x63\x61strepeatedB\x85\x01\n\rcom.gogoprotoB\tGogoProtoP\x01Z%github.com/cosmos/gogoproto/gogoproto\xa2\x02\x03GXX\xaa\x02\tGogoproto\xca\x02\tGogoproto\xe2\x02\x15Gogoproto\\GPBMetadata\xea\x02\tGogoproto" -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14gogoproto/gogo.proto\x12\tgogoproto\x1a google/protobuf/descriptor.proto:N\n\x13goproto_enum_prefix\x12\x1c.google.protobuf.EnumOptions\x18\xb1\xe4\x03 \x01(\x08R\x11goprotoEnumPrefix:R\n\x15goproto_enum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc5\xe4\x03 \x01(\x08R\x13goprotoEnumStringer:C\n\renum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc6\xe4\x03 \x01(\x08R\x0c\x65numStringer:G\n\x0f\x65num_customname\x12\x1c.google.protobuf.EnumOptions\x18\xc7\xe4\x03 \x01(\tR\x0e\x65numCustomname::\n\x08\x65numdecl\x12\x1c.google.protobuf.EnumOptions\x18\xc8\xe4\x03 \x01(\x08R\x08\x65numdecl:V\n\x14\x65numvalue_customname\x12!.google.protobuf.EnumValueOptions\x18\xd1\x83\x04 \x01(\tR\x13\x65numvalueCustomname:N\n\x13goproto_getters_all\x12\x1c.google.protobuf.FileOptions\x18\x99\xec\x03 \x01(\x08R\x11goprotoGettersAll:U\n\x17goproto_enum_prefix_all\x12\x1c.google.protobuf.FileOptions\x18\x9a\xec\x03 \x01(\x08R\x14goprotoEnumPrefixAll:P\n\x14goproto_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\x9b\xec\x03 \x01(\x08R\x12goprotoStringerAll:J\n\x11verbose_equal_all\x12\x1c.google.protobuf.FileOptions\x18\x9c\xec\x03 \x01(\x08R\x0fverboseEqualAll:9\n\x08\x66\x61\x63\x65_all\x12\x1c.google.protobuf.FileOptions\x18\x9d\xec\x03 \x01(\x08R\x07\x66\x61\x63\x65\x41ll:A\n\x0cgostring_all\x12\x1c.google.protobuf.FileOptions\x18\x9e\xec\x03 \x01(\x08R\x0bgostringAll:A\n\x0cpopulate_all\x12\x1c.google.protobuf.FileOptions\x18\x9f\xec\x03 \x01(\x08R\x0bpopulateAll:A\n\x0cstringer_all\x12\x1c.google.protobuf.FileOptions\x18\xa0\xec\x03 \x01(\x08R\x0bstringerAll:?\n\x0bonlyone_all\x12\x1c.google.protobuf.FileOptions\x18\xa1\xec\x03 \x01(\x08R\nonlyoneAll:;\n\tequal_all\x12\x1c.google.protobuf.FileOptions\x18\xa5\xec\x03 \x01(\x08R\x08\x65qualAll:G\n\x0f\x64\x65scription_all\x12\x1c.google.protobuf.FileOptions\x18\xa6\xec\x03 \x01(\x08R\x0e\x64\x65scriptionAll:?\n\x0btestgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa7\xec\x03 \x01(\x08R\ntestgenAll:A\n\x0c\x62\x65nchgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa8\xec\x03 \x01(\x08R\x0b\x62\x65nchgenAll:C\n\rmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xa9\xec\x03 \x01(\x08R\x0cmarshalerAll:G\n\x0funmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaa\xec\x03 \x01(\x08R\x0eunmarshalerAll:P\n\x14stable_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xab\xec\x03 \x01(\x08R\x12stableMarshalerAll:;\n\tsizer_all\x12\x1c.google.protobuf.FileOptions\x18\xac\xec\x03 \x01(\x08R\x08sizerAll:Y\n\x19goproto_enum_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xad\xec\x03 \x01(\x08R\x16goprotoEnumStringerAll:J\n\x11\x65num_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xae\xec\x03 \x01(\x08R\x0f\x65numStringerAll:P\n\x14unsafe_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaf\xec\x03 \x01(\x08R\x12unsafeMarshalerAll:T\n\x16unsafe_unmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xb0\xec\x03 \x01(\x08R\x14unsafeUnmarshalerAll:[\n\x1agoproto_extensions_map_all\x12\x1c.google.protobuf.FileOptions\x18\xb1\xec\x03 \x01(\x08R\x17goprotoExtensionsMapAll:X\n\x18goproto_unrecognized_all\x12\x1c.google.protobuf.FileOptions\x18\xb2\xec\x03 \x01(\x08R\x16goprotoUnrecognizedAll:I\n\x10gogoproto_import\x12\x1c.google.protobuf.FileOptions\x18\xb3\xec\x03 \x01(\x08R\x0fgogoprotoImport:E\n\x0eprotosizer_all\x12\x1c.google.protobuf.FileOptions\x18\xb4\xec\x03 \x01(\x08R\rprotosizerAll:?\n\x0b\x63ompare_all\x12\x1c.google.protobuf.FileOptions\x18\xb5\xec\x03 \x01(\x08R\ncompareAll:A\n\x0ctypedecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb6\xec\x03 \x01(\x08R\x0btypedeclAll:A\n\x0c\x65numdecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb7\xec\x03 \x01(\x08R\x0b\x65numdeclAll:Q\n\x14goproto_registration\x12\x1c.google.protobuf.FileOptions\x18\xb8\xec\x03 \x01(\x08R\x13goprotoRegistration:G\n\x0fmessagename_all\x12\x1c.google.protobuf.FileOptions\x18\xb9\xec\x03 \x01(\x08R\x0emessagenameAll:R\n\x15goproto_sizecache_all\x12\x1c.google.protobuf.FileOptions\x18\xba\xec\x03 \x01(\x08R\x13goprotoSizecacheAll:N\n\x13goproto_unkeyed_all\x12\x1c.google.protobuf.FileOptions\x18\xbb\xec\x03 \x01(\x08R\x11goprotoUnkeyedAll:J\n\x0fgoproto_getters\x12\x1f.google.protobuf.MessageOptions\x18\x81\xf4\x03 \x01(\x08R\x0egoprotoGetters:L\n\x10goproto_stringer\x12\x1f.google.protobuf.MessageOptions\x18\x83\xf4\x03 \x01(\x08R\x0fgoprotoStringer:F\n\rverbose_equal\x12\x1f.google.protobuf.MessageOptions\x18\x84\xf4\x03 \x01(\x08R\x0cverboseEqual:5\n\x04\x66\x61\x63\x65\x12\x1f.google.protobuf.MessageOptions\x18\x85\xf4\x03 \x01(\x08R\x04\x66\x61\x63\x65:=\n\x08gostring\x12\x1f.google.protobuf.MessageOptions\x18\x86\xf4\x03 \x01(\x08R\x08gostring:=\n\x08populate\x12\x1f.google.protobuf.MessageOptions\x18\x87\xf4\x03 \x01(\x08R\x08populate:=\n\x08stringer\x12\x1f.google.protobuf.MessageOptions\x18\xc0\x8b\x04 \x01(\x08R\x08stringer:;\n\x07onlyone\x12\x1f.google.protobuf.MessageOptions\x18\x89\xf4\x03 \x01(\x08R\x07onlyone:7\n\x05\x65qual\x12\x1f.google.protobuf.MessageOptions\x18\x8d\xf4\x03 \x01(\x08R\x05\x65qual:C\n\x0b\x64\x65scription\x12\x1f.google.protobuf.MessageOptions\x18\x8e\xf4\x03 \x01(\x08R\x0b\x64\x65scription:;\n\x07testgen\x12\x1f.google.protobuf.MessageOptions\x18\x8f\xf4\x03 \x01(\x08R\x07testgen:=\n\x08\x62\x65nchgen\x12\x1f.google.protobuf.MessageOptions\x18\x90\xf4\x03 \x01(\x08R\x08\x62\x65nchgen:?\n\tmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x91\xf4\x03 \x01(\x08R\tmarshaler:C\n\x0bunmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x92\xf4\x03 \x01(\x08R\x0bunmarshaler:L\n\x10stable_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x93\xf4\x03 \x01(\x08R\x0fstableMarshaler:7\n\x05sizer\x12\x1f.google.protobuf.MessageOptions\x18\x94\xf4\x03 \x01(\x08R\x05sizer:L\n\x10unsafe_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x97\xf4\x03 \x01(\x08R\x0funsafeMarshaler:P\n\x12unsafe_unmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x98\xf4\x03 \x01(\x08R\x11unsafeUnmarshaler:W\n\x16goproto_extensions_map\x12\x1f.google.protobuf.MessageOptions\x18\x99\xf4\x03 \x01(\x08R\x14goprotoExtensionsMap:T\n\x14goproto_unrecognized\x12\x1f.google.protobuf.MessageOptions\x18\x9a\xf4\x03 \x01(\x08R\x13goprotoUnrecognized:A\n\nprotosizer\x12\x1f.google.protobuf.MessageOptions\x18\x9c\xf4\x03 \x01(\x08R\nprotosizer:;\n\x07\x63ompare\x12\x1f.google.protobuf.MessageOptions\x18\x9d\xf4\x03 \x01(\x08R\x07\x63ompare:=\n\x08typedecl\x12\x1f.google.protobuf.MessageOptions\x18\x9e\xf4\x03 \x01(\x08R\x08typedecl:C\n\x0bmessagename\x12\x1f.google.protobuf.MessageOptions\x18\xa1\xf4\x03 \x01(\x08R\x0bmessagename:N\n\x11goproto_sizecache\x12\x1f.google.protobuf.MessageOptions\x18\xa2\xf4\x03 \x01(\x08R\x10goprotoSizecache:J\n\x0fgoproto_unkeyed\x12\x1f.google.protobuf.MessageOptions\x18\xa3\xf4\x03 \x01(\x08R\x0egoprotoUnkeyed:;\n\x08nullable\x12\x1d.google.protobuf.FieldOptions\x18\xe9\xfb\x03 \x01(\x08R\x08nullable:5\n\x05\x65mbed\x12\x1d.google.protobuf.FieldOptions\x18\xea\xfb\x03 \x01(\x08R\x05\x65mbed:?\n\ncustomtype\x12\x1d.google.protobuf.FieldOptions\x18\xeb\xfb\x03 \x01(\tR\ncustomtype:?\n\ncustomname\x12\x1d.google.protobuf.FieldOptions\x18\xec\xfb\x03 \x01(\tR\ncustomname:9\n\x07jsontag\x12\x1d.google.protobuf.FieldOptions\x18\xed\xfb\x03 \x01(\tR\x07jsontag:;\n\x08moretags\x12\x1d.google.protobuf.FieldOptions\x18\xee\xfb\x03 \x01(\tR\x08moretags:;\n\x08\x63\x61sttype\x12\x1d.google.protobuf.FieldOptions\x18\xef\xfb\x03 \x01(\tR\x08\x63\x61sttype:9\n\x07\x63\x61stkey\x12\x1d.google.protobuf.FieldOptions\x18\xf0\xfb\x03 \x01(\tR\x07\x63\x61stkey:=\n\tcastvalue\x12\x1d.google.protobuf.FieldOptions\x18\xf1\xfb\x03 \x01(\tR\tcastvalue:9\n\x07stdtime\x12\x1d.google.protobuf.FieldOptions\x18\xf2\xfb\x03 \x01(\x08R\x07stdtime:A\n\x0bstdduration\x12\x1d.google.protobuf.FieldOptions\x18\xf3\xfb\x03 \x01(\x08R\x0bstdduration:?\n\nwktpointer\x12\x1d.google.protobuf.FieldOptions\x18\xf4\xfb\x03 \x01(\x08R\nwktpointer:C\n\x0c\x63\x61strepeated\x12\x1d.google.protobuf.FieldOptions\x18\xf5\xfb\x03 \x01(\tR\x0c\x63\x61strepeatedB\x85\x01\n\rcom.gogoprotoB\tGogoProtoP\x01Z%github.com/cosmos/gogoproto/gogoproto\xa2\x02\x03GXX\xaa\x02\tGogoproto\xca\x02\tGogoproto\xe2\x02\x15Gogoproto\\GPBMetadata\xea\x02\tGogoproto') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "gogoproto.gogo_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gogoproto.gogo_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\rcom.gogoprotoB\tGogoProtoP\001Z%github.com/cosmos/gogoproto/gogoproto\242\002\003GXX\252\002\tGogoproto\312\002\tGogoproto\342\002\025Gogoproto\\GPBMetadata\352\002\tGogoproto" - ) + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\rcom.gogoprotoB\tGogoProtoP\001Z%github.com/cosmos/gogoproto/gogoproto\242\002\003GXX\252\002\tGogoproto\312\002\tGogoproto\342\002\025Gogoproto\\GPBMetadata\352\002\tGogoproto' # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/gogoproto/gogo_pb2_grpc.py b/pyinjective/proto/gogoproto/gogo_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/gogoproto/gogo_pb2_grpc.py +++ b/pyinjective/proto/gogoproto/gogo_pb2_grpc.py @@ -1,3 +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/google/api/annotations_pb2.py b/pyinjective/proto/google/api/annotations_pb2.py index 5d7d02e1..984fed1f 100644 --- a/pyinjective/proto/google/api/annotations_pb2.py +++ b/pyinjective/proto/google/api/annotations_pb2.py @@ -7,26 +7,21 @@ 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 pyinjective.proto.google.api import http_pb2 as google_dot_api_dot_http__pb2 +from google.api import http_pb2 as google_dot_api_dot_http__pb2 from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1cgoogle/api/annotations.proto\x12\ngoogle.api\x1a\x15google/api/http.proto\x1a google/protobuf/descriptor.proto:K\n\x04http\x12\x1e.google.protobuf.MethodOptions\x18\xb0\xca\xbc" \x01(\x0b\x32\x14.google.api.HttpRuleR\x04httpB\xae\x01\n\x0e\x63om.google.apiB\x10\x41nnotationsProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x03GAX\xaa\x02\nGoogle.Api\xca\x02\nGoogle\\Api\xe2\x02\x16Google\\Api\\GPBMetadata\xea\x02\x0bGoogle::Apib\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cgoogle/api/annotations.proto\x12\ngoogle.api\x1a\x15google/api/http.proto\x1a google/protobuf/descriptor.proto:K\n\x04http\x12\x1e.google.protobuf.MethodOptions\x18\xb0\xca\xbc\" \x01(\x0b\x32\x14.google.api.HttpRuleR\x04httpB\xae\x01\n\x0e\x63om.google.apiB\x10\x41nnotationsProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x03GAX\xaa\x02\nGoogle.Api\xca\x02\nGoogle\\Api\xe2\x02\x16Google\\Api\\GPBMetadata\xea\x02\x0bGoogle::Apib\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.annotations_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.annotations_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\016com.google.apiB\020AnnotationsProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\003GAX\252\002\nGoogle.Api\312\002\nGoogle\\Api\342\002\026Google\\Api\\GPBMetadata\352\002\013Google::Api" - ) + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.apiB\020AnnotationsProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\003GAX\252\002\nGoogle.Api\312\002\nGoogle\\Api\342\002\026Google\\Api\\GPBMetadata\352\002\013Google::Api' # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/api/annotations_pb2_grpc.py b/pyinjective/proto/google/api/annotations_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/google/api/annotations_pb2_grpc.py +++ b/pyinjective/proto/google/api/annotations_pb2_grpc.py @@ -1,3 +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/google/api/client_pb2.py b/pyinjective/proto/google/api/client_pb2.py index f74d4cf8..c010202a 100644 --- a/pyinjective/proto/google/api/client_pb2.py +++ b/pyinjective/proto/google/api/client_pb2.py @@ -7,79 +7,74 @@ 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 pyinjective.proto.google.api import launch_stage_pb2 as google_dot_api_dot_launch__stage__pb2 +from google.api import launch_stage_pb2 as google_dot_api_dot_launch__stage__pb2 from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x17google/api/client.proto\x12\ngoogle.api\x1a\x1dgoogle/api/launch_stage.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto"\xf8\x01\n\x16\x43ommonLanguageSettings\x12\x30\n\x12reference_docs_uri\x18\x01 \x01(\tB\x02\x18\x01R\x10referenceDocsUri\x12H\n\x0c\x64\x65stinations\x18\x02 \x03(\x0e\x32$.google.api.ClientLibraryDestinationR\x0c\x64\x65stinations\x12\x62\n\x1aselective_gapic_generation\x18\x03 \x01(\x0b\x32$.google.api.SelectiveGapicGenerationR\x18selectiveGapicGeneration"\x93\x05\n\x15\x43lientLibrarySettings\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12:\n\x0claunch_stage\x18\x02 \x01(\x0e\x32\x17.google.api.LaunchStageR\x0blaunchStage\x12,\n\x12rest_numeric_enums\x18\x03 \x01(\x08R\x10restNumericEnums\x12=\n\rjava_settings\x18\x15 \x01(\x0b\x32\x18.google.api.JavaSettingsR\x0cjavaSettings\x12:\n\x0c\x63pp_settings\x18\x16 \x01(\x0b\x32\x17.google.api.CppSettingsR\x0b\x63ppSettings\x12:\n\x0cphp_settings\x18\x17 \x01(\x0b\x32\x17.google.api.PhpSettingsR\x0bphpSettings\x12\x43\n\x0fpython_settings\x18\x18 \x01(\x0b\x32\x1a.google.api.PythonSettingsR\x0epythonSettings\x12=\n\rnode_settings\x18\x19 \x01(\x0b\x32\x18.google.api.NodeSettingsR\x0cnodeSettings\x12\x43\n\x0f\x64otnet_settings\x18\x1a \x01(\x0b\x32\x1a.google.api.DotnetSettingsR\x0e\x64otnetSettings\x12=\n\rruby_settings\x18\x1b \x01(\x0b\x32\x18.google.api.RubySettingsR\x0crubySettings\x12\x37\n\x0bgo_settings\x18\x1c \x01(\x0b\x32\x16.google.api.GoSettingsR\ngoSettings"\xf4\x04\n\nPublishing\x12\x43\n\x0fmethod_settings\x18\x02 \x03(\x0b\x32\x1a.google.api.MethodSettingsR\x0emethodSettings\x12"\n\rnew_issue_uri\x18\x65 \x01(\tR\x0bnewIssueUri\x12+\n\x11\x64ocumentation_uri\x18\x66 \x01(\tR\x10\x64ocumentationUri\x12$\n\x0e\x61pi_short_name\x18g \x01(\tR\x0c\x61piShortName\x12!\n\x0cgithub_label\x18h \x01(\tR\x0bgithubLabel\x12\x34\n\x16\x63odeowner_github_teams\x18i \x03(\tR\x14\x63odeownerGithubTeams\x12$\n\x0e\x64oc_tag_prefix\x18j \x01(\tR\x0c\x64ocTagPrefix\x12I\n\x0corganization\x18k \x01(\x0e\x32%.google.api.ClientLibraryOrganizationR\x0corganization\x12L\n\x10library_settings\x18m \x03(\x0b\x32!.google.api.ClientLibrarySettingsR\x0flibrarySettings\x12I\n!proto_reference_documentation_uri\x18n \x01(\tR\x1eprotoReferenceDocumentationUri\x12G\n rest_reference_documentation_uri\x18o \x01(\tR\x1drestReferenceDocumentationUri"\x9a\x02\n\x0cJavaSettings\x12\'\n\x0flibrary_package\x18\x01 \x01(\tR\x0elibraryPackage\x12_\n\x13service_class_names\x18\x02 \x03(\x0b\x32/.google.api.JavaSettings.ServiceClassNamesEntryR\x11serviceClassNames\x12:\n\x06\x63ommon\x18\x03 \x01(\x0b\x32".google.api.CommonLanguageSettingsR\x06\x63ommon\x1a\x44\n\x16ServiceClassNamesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"I\n\x0b\x43ppSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettingsR\x06\x63ommon"I\n\x0bPhpSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettingsR\x06\x63ommon"\xc5\x02\n\x0ePythonSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettingsR\x06\x63ommon\x12\x64\n\x15\x65xperimental_features\x18\x02 \x01(\x0b\x32/.google.api.PythonSettings.ExperimentalFeaturesR\x14\x65xperimentalFeatures\x1a\x90\x01\n\x14\x45xperimentalFeatures\x12\x31\n\x15rest_async_io_enabled\x18\x01 \x01(\x08R\x12restAsyncIoEnabled\x12\x45\n\x1fprotobuf_pythonic_types_enabled\x18\x02 \x01(\x08R\x1cprotobufPythonicTypesEnabled"J\n\x0cNodeSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettingsR\x06\x63ommon"\xae\x04\n\x0e\x44otnetSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettingsR\x06\x63ommon\x12Z\n\x10renamed_services\x18\x02 \x03(\x0b\x32/.google.api.DotnetSettings.RenamedServicesEntryR\x0frenamedServices\x12]\n\x11renamed_resources\x18\x03 \x03(\x0b\x32\x30.google.api.DotnetSettings.RenamedResourcesEntryR\x10renamedResources\x12+\n\x11ignored_resources\x18\x04 \x03(\tR\x10ignoredResources\x12\x38\n\x18\x66orced_namespace_aliases\x18\x05 \x03(\tR\x16\x66orcedNamespaceAliases\x12\x35\n\x16handwritten_signatures\x18\x06 \x03(\tR\x15handwrittenSignatures\x1a\x42\n\x14RenamedServicesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\x43\n\x15RenamedResourcesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"J\n\x0cRubySettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettingsR\x06\x63ommon"\xe4\x01\n\nGoSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettingsR\x06\x63ommon\x12V\n\x10renamed_services\x18\x02 \x03(\x0b\x32+.google.api.GoSettings.RenamedServicesEntryR\x0frenamedServices\x1a\x42\n\x14RenamedServicesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"\xc2\x03\n\x0eMethodSettings\x12\x1a\n\x08selector\x18\x01 \x01(\tR\x08selector\x12I\n\x0clong_running\x18\x02 \x01(\x0b\x32&.google.api.MethodSettings.LongRunningR\x0blongRunning\x12\x32\n\x15\x61uto_populated_fields\x18\x03 \x03(\tR\x13\x61utoPopulatedFields\x1a\x94\x02\n\x0bLongRunning\x12G\n\x12initial_poll_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10initialPollDelay\x12\x32\n\x15poll_delay_multiplier\x18\x02 \x01(\x02R\x13pollDelayMultiplier\x12?\n\x0emax_poll_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0cmaxPollDelay\x12G\n\x12total_poll_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10totalPollTimeout"4\n\x18SelectiveGapicGeneration\x12\x18\n\x07methods\x18\x01 \x03(\tR\x07methods*\xa3\x01\n\x19\x43lientLibraryOrganization\x12+\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x43LOUD\x10\x01\x12\x07\n\x03\x41\x44S\x10\x02\x12\n\n\x06PHOTOS\x10\x03\x12\x0f\n\x0bSTREET_VIEW\x10\x04\x12\x0c\n\x08SHOPPING\x10\x05\x12\x07\n\x03GEO\x10\x06\x12\x11\n\rGENERATIVE_AI\x10\x07*g\n\x18\x43lientLibraryDestination\x12*\n&CLIENT_LIBRARY_DESTINATION_UNSPECIFIED\x10\x00\x12\n\n\x06GITHUB\x10\n\x12\x13\n\x0fPACKAGE_MANAGER\x10\x14:J\n\x10method_signature\x12\x1e.google.protobuf.MethodOptions\x18\x9b\x08 \x03(\tR\x0fmethodSignature:C\n\x0c\x64\x65\x66\x61ult_host\x12\x1f.google.protobuf.ServiceOptions\x18\x99\x08 \x01(\tR\x0b\x64\x65\x66\x61ultHost:C\n\x0coauth_scopes\x12\x1f.google.protobuf.ServiceOptions\x18\x9a\x08 \x01(\tR\x0boauthScopes:D\n\x0b\x61pi_version\x12\x1f.google.protobuf.ServiceOptions\x18\xc1\xba\xab\xfa\x01 \x01(\tR\napiVersionB\xa9\x01\n\x0e\x63om.google.apiB\x0b\x43lientProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x03GAX\xaa\x02\nGoogle.Api\xca\x02\nGoogle\\Api\xe2\x02\x16Google\\Api\\GPBMetadata\xea\x02\x0bGoogle::Apib\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17google/api/client.proto\x12\ngoogle.api\x1a\x1dgoogle/api/launch_stage.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\"\xf8\x01\n\x16\x43ommonLanguageSettings\x12\x30\n\x12reference_docs_uri\x18\x01 \x01(\tB\x02\x18\x01R\x10referenceDocsUri\x12H\n\x0c\x64\x65stinations\x18\x02 \x03(\x0e\x32$.google.api.ClientLibraryDestinationR\x0c\x64\x65stinations\x12\x62\n\x1aselective_gapic_generation\x18\x03 \x01(\x0b\x32$.google.api.SelectiveGapicGenerationR\x18selectiveGapicGeneration\"\x93\x05\n\x15\x43lientLibrarySettings\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12:\n\x0claunch_stage\x18\x02 \x01(\x0e\x32\x17.google.api.LaunchStageR\x0blaunchStage\x12,\n\x12rest_numeric_enums\x18\x03 \x01(\x08R\x10restNumericEnums\x12=\n\rjava_settings\x18\x15 \x01(\x0b\x32\x18.google.api.JavaSettingsR\x0cjavaSettings\x12:\n\x0c\x63pp_settings\x18\x16 \x01(\x0b\x32\x17.google.api.CppSettingsR\x0b\x63ppSettings\x12:\n\x0cphp_settings\x18\x17 \x01(\x0b\x32\x17.google.api.PhpSettingsR\x0bphpSettings\x12\x43\n\x0fpython_settings\x18\x18 \x01(\x0b\x32\x1a.google.api.PythonSettingsR\x0epythonSettings\x12=\n\rnode_settings\x18\x19 \x01(\x0b\x32\x18.google.api.NodeSettingsR\x0cnodeSettings\x12\x43\n\x0f\x64otnet_settings\x18\x1a \x01(\x0b\x32\x1a.google.api.DotnetSettingsR\x0e\x64otnetSettings\x12=\n\rruby_settings\x18\x1b \x01(\x0b\x32\x18.google.api.RubySettingsR\x0crubySettings\x12\x37\n\x0bgo_settings\x18\x1c \x01(\x0b\x32\x16.google.api.GoSettingsR\ngoSettings\"\xf4\x04\n\nPublishing\x12\x43\n\x0fmethod_settings\x18\x02 \x03(\x0b\x32\x1a.google.api.MethodSettingsR\x0emethodSettings\x12\"\n\rnew_issue_uri\x18\x65 \x01(\tR\x0bnewIssueUri\x12+\n\x11\x64ocumentation_uri\x18\x66 \x01(\tR\x10\x64ocumentationUri\x12$\n\x0e\x61pi_short_name\x18g \x01(\tR\x0c\x61piShortName\x12!\n\x0cgithub_label\x18h \x01(\tR\x0bgithubLabel\x12\x34\n\x16\x63odeowner_github_teams\x18i \x03(\tR\x14\x63odeownerGithubTeams\x12$\n\x0e\x64oc_tag_prefix\x18j \x01(\tR\x0c\x64ocTagPrefix\x12I\n\x0corganization\x18k \x01(\x0e\x32%.google.api.ClientLibraryOrganizationR\x0corganization\x12L\n\x10library_settings\x18m \x03(\x0b\x32!.google.api.ClientLibrarySettingsR\x0flibrarySettings\x12I\n!proto_reference_documentation_uri\x18n \x01(\tR\x1eprotoReferenceDocumentationUri\x12G\n rest_reference_documentation_uri\x18o \x01(\tR\x1drestReferenceDocumentationUri\"\x9a\x02\n\x0cJavaSettings\x12\'\n\x0flibrary_package\x18\x01 \x01(\tR\x0elibraryPackage\x12_\n\x13service_class_names\x18\x02 \x03(\x0b\x32/.google.api.JavaSettings.ServiceClassNamesEntryR\x11serviceClassNames\x12:\n\x06\x63ommon\x18\x03 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\x1a\x44\n\x16ServiceClassNamesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"I\n\x0b\x43ppSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"I\n\x0bPhpSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"\xc5\x02\n\x0ePythonSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\x12\x64\n\x15\x65xperimental_features\x18\x02 \x01(\x0b\x32/.google.api.PythonSettings.ExperimentalFeaturesR\x14\x65xperimentalFeatures\x1a\x90\x01\n\x14\x45xperimentalFeatures\x12\x31\n\x15rest_async_io_enabled\x18\x01 \x01(\x08R\x12restAsyncIoEnabled\x12\x45\n\x1fprotobuf_pythonic_types_enabled\x18\x02 \x01(\x08R\x1cprotobufPythonicTypesEnabled\"J\n\x0cNodeSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"\xae\x04\n\x0e\x44otnetSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\x12Z\n\x10renamed_services\x18\x02 \x03(\x0b\x32/.google.api.DotnetSettings.RenamedServicesEntryR\x0frenamedServices\x12]\n\x11renamed_resources\x18\x03 \x03(\x0b\x32\x30.google.api.DotnetSettings.RenamedResourcesEntryR\x10renamedResources\x12+\n\x11ignored_resources\x18\x04 \x03(\tR\x10ignoredResources\x12\x38\n\x18\x66orced_namespace_aliases\x18\x05 \x03(\tR\x16\x66orcedNamespaceAliases\x12\x35\n\x16handwritten_signatures\x18\x06 \x03(\tR\x15handwrittenSignatures\x1a\x42\n\x14RenamedServicesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\x43\n\x15RenamedResourcesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"J\n\x0cRubySettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\"\xe4\x01\n\nGoSettings\x12:\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettingsR\x06\x63ommon\x12V\n\x10renamed_services\x18\x02 \x03(\x0b\x32+.google.api.GoSettings.RenamedServicesEntryR\x0frenamedServices\x1a\x42\n\x14RenamedServicesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xc2\x03\n\x0eMethodSettings\x12\x1a\n\x08selector\x18\x01 \x01(\tR\x08selector\x12I\n\x0clong_running\x18\x02 \x01(\x0b\x32&.google.api.MethodSettings.LongRunningR\x0blongRunning\x12\x32\n\x15\x61uto_populated_fields\x18\x03 \x03(\tR\x13\x61utoPopulatedFields\x1a\x94\x02\n\x0bLongRunning\x12G\n\x12initial_poll_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10initialPollDelay\x12\x32\n\x15poll_delay_multiplier\x18\x02 \x01(\x02R\x13pollDelayMultiplier\x12?\n\x0emax_poll_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0cmaxPollDelay\x12G\n\x12total_poll_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10totalPollTimeout\"4\n\x18SelectiveGapicGeneration\x12\x18\n\x07methods\x18\x01 \x03(\tR\x07methods*\xa3\x01\n\x19\x43lientLibraryOrganization\x12+\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x43LOUD\x10\x01\x12\x07\n\x03\x41\x44S\x10\x02\x12\n\n\x06PHOTOS\x10\x03\x12\x0f\n\x0bSTREET_VIEW\x10\x04\x12\x0c\n\x08SHOPPING\x10\x05\x12\x07\n\x03GEO\x10\x06\x12\x11\n\rGENERATIVE_AI\x10\x07*g\n\x18\x43lientLibraryDestination\x12*\n&CLIENT_LIBRARY_DESTINATION_UNSPECIFIED\x10\x00\x12\n\n\x06GITHUB\x10\n\x12\x13\n\x0fPACKAGE_MANAGER\x10\x14:J\n\x10method_signature\x12\x1e.google.protobuf.MethodOptions\x18\x9b\x08 \x03(\tR\x0fmethodSignature:C\n\x0c\x64\x65\x66\x61ult_host\x12\x1f.google.protobuf.ServiceOptions\x18\x99\x08 \x01(\tR\x0b\x64\x65\x66\x61ultHost:C\n\x0coauth_scopes\x12\x1f.google.protobuf.ServiceOptions\x18\x9a\x08 \x01(\tR\x0boauthScopes:D\n\x0b\x61pi_version\x12\x1f.google.protobuf.ServiceOptions\x18\xc1\xba\xab\xfa\x01 \x01(\tR\napiVersionB\xa9\x01\n\x0e\x63om.google.apiB\x0b\x43lientProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x03GAX\xaa\x02\nGoogle.Api\xca\x02\nGoogle\\Api\xe2\x02\x16Google\\Api\\GPBMetadata\xea\x02\x0bGoogle::Apib\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.client_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.client_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\016com.google.apiB\013ClientProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\003GAX\252\002\nGoogle.Api\312\002\nGoogle\\Api\342\002\026Google\\Api\\GPBMetadata\352\002\013Google::Api" - ) - _globals["_COMMONLANGUAGESETTINGS"].fields_by_name["reference_docs_uri"]._loaded_options = None - _globals["_COMMONLANGUAGESETTINGS"].fields_by_name["reference_docs_uri"]._serialized_options = b"\030\001" - _globals["_JAVASETTINGS_SERVICECLASSNAMESENTRY"]._loaded_options = None - _globals["_JAVASETTINGS_SERVICECLASSNAMESENTRY"]._serialized_options = b"8\001" - _globals["_DOTNETSETTINGS_RENAMEDSERVICESENTRY"]._loaded_options = None - _globals["_DOTNETSETTINGS_RENAMEDSERVICESENTRY"]._serialized_options = b"8\001" - _globals["_DOTNETSETTINGS_RENAMEDRESOURCESENTRY"]._loaded_options = None - _globals["_DOTNETSETTINGS_RENAMEDRESOURCESENTRY"]._serialized_options = b"8\001" - _globals["_GOSETTINGS_RENAMEDSERVICESENTRY"]._loaded_options = None - _globals["_GOSETTINGS_RENAMEDSERVICESENTRY"]._serialized_options = b"8\001" - _globals["_CLIENTLIBRARYORGANIZATION"]._serialized_start = 3895 - _globals["_CLIENTLIBRARYORGANIZATION"]._serialized_end = 4058 - _globals["_CLIENTLIBRARYDESTINATION"]._serialized_start = 4060 - _globals["_CLIENTLIBRARYDESTINATION"]._serialized_end = 4163 - _globals["_COMMONLANGUAGESETTINGS"]._serialized_start = 137 - _globals["_COMMONLANGUAGESETTINGS"]._serialized_end = 385 - _globals["_CLIENTLIBRARYSETTINGS"]._serialized_start = 388 - _globals["_CLIENTLIBRARYSETTINGS"]._serialized_end = 1047 - _globals["_PUBLISHING"]._serialized_start = 1050 - _globals["_PUBLISHING"]._serialized_end = 1678 - _globals["_JAVASETTINGS"]._serialized_start = 1681 - _globals["_JAVASETTINGS"]._serialized_end = 1963 - _globals["_JAVASETTINGS_SERVICECLASSNAMESENTRY"]._serialized_start = 1895 - _globals["_JAVASETTINGS_SERVICECLASSNAMESENTRY"]._serialized_end = 1963 - _globals["_CPPSETTINGS"]._serialized_start = 1965 - _globals["_CPPSETTINGS"]._serialized_end = 2038 - _globals["_PHPSETTINGS"]._serialized_start = 2040 - _globals["_PHPSETTINGS"]._serialized_end = 2113 - _globals["_PYTHONSETTINGS"]._serialized_start = 2116 - _globals["_PYTHONSETTINGS"]._serialized_end = 2441 - _globals["_PYTHONSETTINGS_EXPERIMENTALFEATURES"]._serialized_start = 2297 - _globals["_PYTHONSETTINGS_EXPERIMENTALFEATURES"]._serialized_end = 2441 - _globals["_NODESETTINGS"]._serialized_start = 2443 - _globals["_NODESETTINGS"]._serialized_end = 2517 - _globals["_DOTNETSETTINGS"]._serialized_start = 2520 - _globals["_DOTNETSETTINGS"]._serialized_end = 3078 - _globals["_DOTNETSETTINGS_RENAMEDSERVICESENTRY"]._serialized_start = 2943 - _globals["_DOTNETSETTINGS_RENAMEDSERVICESENTRY"]._serialized_end = 3009 - _globals["_DOTNETSETTINGS_RENAMEDRESOURCESENTRY"]._serialized_start = 3011 - _globals["_DOTNETSETTINGS_RENAMEDRESOURCESENTRY"]._serialized_end = 3078 - _globals["_RUBYSETTINGS"]._serialized_start = 3080 - _globals["_RUBYSETTINGS"]._serialized_end = 3154 - _globals["_GOSETTINGS"]._serialized_start = 3157 - _globals["_GOSETTINGS"]._serialized_end = 3385 - _globals["_GOSETTINGS_RENAMEDSERVICESENTRY"]._serialized_start = 2943 - _globals["_GOSETTINGS_RENAMEDSERVICESENTRY"]._serialized_end = 3009 - _globals["_METHODSETTINGS"]._serialized_start = 3388 - _globals["_METHODSETTINGS"]._serialized_end = 3838 - _globals["_METHODSETTINGS_LONGRUNNING"]._serialized_start = 3562 - _globals["_METHODSETTINGS_LONGRUNNING"]._serialized_end = 3838 - _globals["_SELECTIVEGAPICGENERATION"]._serialized_start = 3840 - _globals["_SELECTIVEGAPICGENERATION"]._serialized_end = 3892 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.apiB\013ClientProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\003GAX\252\002\nGoogle.Api\312\002\nGoogle\\Api\342\002\026Google\\Api\\GPBMetadata\352\002\013Google::Api' + _globals['_COMMONLANGUAGESETTINGS'].fields_by_name['reference_docs_uri']._loaded_options = None + _globals['_COMMONLANGUAGESETTINGS'].fields_by_name['reference_docs_uri']._serialized_options = b'\030\001' + _globals['_JAVASETTINGS_SERVICECLASSNAMESENTRY']._loaded_options = None + _globals['_JAVASETTINGS_SERVICECLASSNAMESENTRY']._serialized_options = b'8\001' + _globals['_DOTNETSETTINGS_RENAMEDSERVICESENTRY']._loaded_options = None + _globals['_DOTNETSETTINGS_RENAMEDSERVICESENTRY']._serialized_options = b'8\001' + _globals['_DOTNETSETTINGS_RENAMEDRESOURCESENTRY']._loaded_options = None + _globals['_DOTNETSETTINGS_RENAMEDRESOURCESENTRY']._serialized_options = b'8\001' + _globals['_GOSETTINGS_RENAMEDSERVICESENTRY']._loaded_options = None + _globals['_GOSETTINGS_RENAMEDSERVICESENTRY']._serialized_options = b'8\001' + _globals['_CLIENTLIBRARYORGANIZATION']._serialized_start=3895 + _globals['_CLIENTLIBRARYORGANIZATION']._serialized_end=4058 + _globals['_CLIENTLIBRARYDESTINATION']._serialized_start=4060 + _globals['_CLIENTLIBRARYDESTINATION']._serialized_end=4163 + _globals['_COMMONLANGUAGESETTINGS']._serialized_start=137 + _globals['_COMMONLANGUAGESETTINGS']._serialized_end=385 + _globals['_CLIENTLIBRARYSETTINGS']._serialized_start=388 + _globals['_CLIENTLIBRARYSETTINGS']._serialized_end=1047 + _globals['_PUBLISHING']._serialized_start=1050 + _globals['_PUBLISHING']._serialized_end=1678 + _globals['_JAVASETTINGS']._serialized_start=1681 + _globals['_JAVASETTINGS']._serialized_end=1963 + _globals['_JAVASETTINGS_SERVICECLASSNAMESENTRY']._serialized_start=1895 + _globals['_JAVASETTINGS_SERVICECLASSNAMESENTRY']._serialized_end=1963 + _globals['_CPPSETTINGS']._serialized_start=1965 + _globals['_CPPSETTINGS']._serialized_end=2038 + _globals['_PHPSETTINGS']._serialized_start=2040 + _globals['_PHPSETTINGS']._serialized_end=2113 + _globals['_PYTHONSETTINGS']._serialized_start=2116 + _globals['_PYTHONSETTINGS']._serialized_end=2441 + _globals['_PYTHONSETTINGS_EXPERIMENTALFEATURES']._serialized_start=2297 + _globals['_PYTHONSETTINGS_EXPERIMENTALFEATURES']._serialized_end=2441 + _globals['_NODESETTINGS']._serialized_start=2443 + _globals['_NODESETTINGS']._serialized_end=2517 + _globals['_DOTNETSETTINGS']._serialized_start=2520 + _globals['_DOTNETSETTINGS']._serialized_end=3078 + _globals['_DOTNETSETTINGS_RENAMEDSERVICESENTRY']._serialized_start=2943 + _globals['_DOTNETSETTINGS_RENAMEDSERVICESENTRY']._serialized_end=3009 + _globals['_DOTNETSETTINGS_RENAMEDRESOURCESENTRY']._serialized_start=3011 + _globals['_DOTNETSETTINGS_RENAMEDRESOURCESENTRY']._serialized_end=3078 + _globals['_RUBYSETTINGS']._serialized_start=3080 + _globals['_RUBYSETTINGS']._serialized_end=3154 + _globals['_GOSETTINGS']._serialized_start=3157 + _globals['_GOSETTINGS']._serialized_end=3385 + _globals['_GOSETTINGS_RENAMEDSERVICESENTRY']._serialized_start=2943 + _globals['_GOSETTINGS_RENAMEDSERVICESENTRY']._serialized_end=3009 + _globals['_METHODSETTINGS']._serialized_start=3388 + _globals['_METHODSETTINGS']._serialized_end=3838 + _globals['_METHODSETTINGS_LONGRUNNING']._serialized_start=3562 + _globals['_METHODSETTINGS_LONGRUNNING']._serialized_end=3838 + _globals['_SELECTIVEGAPICGENERATION']._serialized_start=3840 + _globals['_SELECTIVEGAPICGENERATION']._serialized_end=3892 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/api/client_pb2_grpc.py b/pyinjective/proto/google/api/client_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/google/api/client_pb2_grpc.py +++ b/pyinjective/proto/google/api/client_pb2_grpc.py @@ -1,3 +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/google/api/expr/v1alpha1/checked_pb2.py b/pyinjective/proto/google/api/expr/v1alpha1/checked_pb2.py index 17fc4330..f0101f4c 100644 --- a/pyinjective/proto/google/api/expr/v1alpha1/checked_pb2.py +++ b/pyinjective/proto/google/api/expr/v1alpha1/checked_pb2.py @@ -7,63 +7,56 @@ 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 pyinjective.proto.google.api.expr.v1alpha1 import ( - syntax_pb2 as google_dot_api_dot_expr_dot_v1alpha1_dot_syntax__pb2, -) +from google.api.expr.v1alpha1 import syntax_pb2 as google_dot_api_dot_expr_dot_v1alpha1_dot_syntax__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&google/api/expr/v1alpha1/checked.proto\x12\x18google.api.expr.v1alpha1\x1a%google/api/expr/v1alpha1/syntax.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto"\x9a\x04\n\x0b\x43heckedExpr\x12\\\n\rreference_map\x18\x02 \x03(\x0b\x32\x37.google.api.expr.v1alpha1.CheckedExpr.ReferenceMapEntryR\x0creferenceMap\x12M\n\x08type_map\x18\x03 \x03(\x0b\x32\x32.google.api.expr.v1alpha1.CheckedExpr.TypeMapEntryR\x07typeMap\x12\x45\n\x0bsource_info\x18\x05 \x01(\x0b\x32$.google.api.expr.v1alpha1.SourceInfoR\nsourceInfo\x12!\n\x0c\x65xpr_version\x18\x06 \x01(\tR\x0b\x65xprVersion\x12\x32\n\x04\x65xpr\x18\x04 \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.ExprR\x04\x65xpr\x1a\x64\n\x11ReferenceMapEntry\x12\x10\n\x03key\x18\x01 \x01(\x03R\x03key\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32#.google.api.expr.v1alpha1.ReferenceR\x05value:\x02\x38\x01\x1aZ\n\x0cTypeMapEntry\x12\x10\n\x03key\x18\x01 \x01(\x03R\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\x05value:\x02\x38\x01"\xc8\x0b\n\x04Type\x12*\n\x03\x64yn\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00R\x03\x64yn\x12\x30\n\x04null\x18\x02 \x01(\x0e\x32\x1a.google.protobuf.NullValueH\x00R\x04null\x12L\n\tprimitive\x18\x03 \x01(\x0e\x32,.google.api.expr.v1alpha1.Type.PrimitiveTypeH\x00R\tprimitive\x12H\n\x07wrapper\x18\x04 \x01(\x0e\x32,.google.api.expr.v1alpha1.Type.PrimitiveTypeH\x00R\x07wrapper\x12M\n\nwell_known\x18\x05 \x01(\x0e\x32,.google.api.expr.v1alpha1.Type.WellKnownTypeH\x00R\twellKnown\x12\x46\n\tlist_type\x18\x06 \x01(\x0b\x32\'.google.api.expr.v1alpha1.Type.ListTypeH\x00R\x08listType\x12\x43\n\x08map_type\x18\x07 \x01(\x0b\x32&.google.api.expr.v1alpha1.Type.MapTypeH\x00R\x07mapType\x12I\n\x08\x66unction\x18\x08 \x01(\x0b\x32+.google.api.expr.v1alpha1.Type.FunctionTypeH\x00R\x08\x66unction\x12#\n\x0cmessage_type\x18\t \x01(\tH\x00R\x0bmessageType\x12\x1f\n\ntype_param\x18\n \x01(\tH\x00R\ttypeParam\x12\x34\n\x04type\x18\x0b \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeH\x00R\x04type\x12.\n\x05\x65rror\x18\x0c \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00R\x05\x65rror\x12R\n\rabstract_type\x18\x0e \x01(\x0b\x32+.google.api.expr.v1alpha1.Type.AbstractTypeH\x00R\x0c\x61\x62stractType\x1aG\n\x08ListType\x12;\n\telem_type\x18\x01 \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\x08\x65lemType\x1a\x83\x01\n\x07MapType\x12\x39\n\x08key_type\x18\x01 \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\x07keyType\x12=\n\nvalue_type\x18\x02 \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\tvalueType\x1a\x8c\x01\n\x0c\x46unctionType\x12?\n\x0bresult_type\x18\x01 \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\nresultType\x12;\n\targ_types\x18\x02 \x03(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\x08\x61rgTypes\x1ak\n\x0c\x41\x62stractType\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12G\n\x0fparameter_types\x18\x02 \x03(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\x0eparameterTypes"s\n\rPrimitiveType\x12\x1e\n\x1aPRIMITIVE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42OOL\x10\x01\x12\t\n\x05INT64\x10\x02\x12\n\n\x06UINT64\x10\x03\x12\n\n\x06\x44OUBLE\x10\x04\x12\n\n\x06STRING\x10\x05\x12\t\n\x05\x42YTES\x10\x06"V\n\rWellKnownType\x12\x1f\n\x1bWELL_KNOWN_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41NY\x10\x01\x12\r\n\tTIMESTAMP\x10\x02\x12\x0c\n\x08\x44URATION\x10\x03\x42\x0b\n\ttype_kind"\xb3\x05\n\x04\x44\x65\x63l\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12@\n\x05ident\x18\x02 \x01(\x0b\x32(.google.api.expr.v1alpha1.Decl.IdentDeclH\x00R\x05ident\x12I\n\x08\x66unction\x18\x03 \x01(\x0b\x32+.google.api.expr.v1alpha1.Decl.FunctionDeclH\x00R\x08\x66unction\x1a\x8b\x01\n\tIdentDecl\x12\x32\n\x04type\x18\x01 \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\x04type\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32".google.api.expr.v1alpha1.ConstantR\x05value\x12\x10\n\x03\x64oc\x18\x03 \x01(\tR\x03\x64oc\x1a\xee\x02\n\x0c\x46unctionDecl\x12R\n\toverloads\x18\x01 \x03(\x0b\x32\x34.google.api.expr.v1alpha1.Decl.FunctionDecl.OverloadR\toverloads\x1a\x89\x02\n\x08Overload\x12\x1f\n\x0boverload_id\x18\x01 \x01(\tR\noverloadId\x12\x36\n\x06params\x18\x02 \x03(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\x06params\x12\x1f\n\x0btype_params\x18\x03 \x03(\tR\ntypeParams\x12?\n\x0bresult_type\x18\x04 \x01(\x0b\x32\x1e.google.api.expr.v1alpha1.TypeR\nresultType\x12\x30\n\x14is_instance_function\x18\x05 \x01(\x08R\x12isInstanceFunction\x12\x10\n\x03\x64oc\x18\x06 \x01(\tR\x03\x64ocB\x0b\n\tdecl_kind"z\n\tReference\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1f\n\x0boverload_id\x18\x03 \x03(\tR\noverloadId\x12\x38\n\x05value\x18\x04 \x01(\x0b\x32".google.api.expr.v1alpha1.ConstantR\x05valueB\xf0\x01\n\x1c\x63om.google.api.expr.v1alpha1B\x0c\x43heckedProtoP\x01Z\n\nVisibility\x12\x30\n\x05rules\x18\x01 \x03(\x0b\x32\x1a.google.api.VisibilityRuleR\x05rules"N\n\x0eVisibilityRule\x12\x1a\n\x08selector\x18\x01 \x01(\tR\x08selector\x12 \n\x0brestriction\x18\x02 \x01(\tR\x0brestriction:d\n\x0f\x65num_visibility\x12\x1c.google.protobuf.EnumOptions\x18\xaf\xca\xbc" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x0e\x65numVisibility:k\n\x10value_visibility\x12!.google.protobuf.EnumValueOptions\x18\xaf\xca\xbc" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x0fvalueVisibility:g\n\x10\x66ield_visibility\x12\x1d.google.protobuf.FieldOptions\x18\xaf\xca\xbc" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x0f\x66ieldVisibility:m\n\x12message_visibility\x12\x1f.google.protobuf.MessageOptions\x18\xaf\xca\xbc" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x11messageVisibility:j\n\x11method_visibility\x12\x1e.google.protobuf.MethodOptions\x18\xaf\xca\xbc" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x10methodVisibility:e\n\x0e\x61pi_visibility\x12\x1f.google.protobuf.ServiceOptions\x18\xaf\xca\xbc" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\rapiVisibilityB\xae\x01\n\x0e\x63om.google.apiB\x0fVisibilityProtoP\x01Z?google.golang.org/genproto/googleapis/api/visibility;visibility\xf8\x01\x01\xa2\x02\x03GAX\xaa\x02\nGoogle.Api\xca\x02\nGoogle\\Api\xe2\x02\x16Google\\Api\\GPBMetadata\xea\x02\x0bGoogle::Apib\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bgoogle/api/visibility.proto\x12\ngoogle.api\x1a google/protobuf/descriptor.proto\">\n\nVisibility\x12\x30\n\x05rules\x18\x01 \x03(\x0b\x32\x1a.google.api.VisibilityRuleR\x05rules\"N\n\x0eVisibilityRule\x12\x1a\n\x08selector\x18\x01 \x01(\tR\x08selector\x12 \n\x0brestriction\x18\x02 \x01(\tR\x0brestriction:d\n\x0f\x65num_visibility\x12\x1c.google.protobuf.EnumOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x0e\x65numVisibility:k\n\x10value_visibility\x12!.google.protobuf.EnumValueOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x0fvalueVisibility:g\n\x10\x66ield_visibility\x12\x1d.google.protobuf.FieldOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x0f\x66ieldVisibility:m\n\x12message_visibility\x12\x1f.google.protobuf.MessageOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x11messageVisibility:j\n\x11method_visibility\x12\x1e.google.protobuf.MethodOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\x10methodVisibility:e\n\x0e\x61pi_visibility\x12\x1f.google.protobuf.ServiceOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRuleR\rapiVisibilityB\xae\x01\n\x0e\x63om.google.apiB\x0fVisibilityProtoP\x01Z?google.golang.org/genproto/googleapis/api/visibility;visibility\xf8\x01\x01\xa2\x02\x03GAX\xaa\x02\nGoogle.Api\xca\x02\nGoogle\\Api\xe2\x02\x16Google\\Api\\GPBMetadata\xea\x02\x0bGoogle::Apib\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.visibility_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.visibility_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\016com.google.apiB\017VisibilityProtoP\001Z?google.golang.org/genproto/googleapis/api/visibility;visibility\370\001\001\242\002\003GAX\252\002\nGoogle.Api\312\002\nGoogle\\Api\342\002\026Google\\Api\\GPBMetadata\352\002\013Google::Api" - ) - _globals["_VISIBILITY"]._serialized_start = 77 - _globals["_VISIBILITY"]._serialized_end = 139 - _globals["_VISIBILITYRULE"]._serialized_start = 141 - _globals["_VISIBILITYRULE"]._serialized_end = 219 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.apiB\017VisibilityProtoP\001Z?google.golang.org/genproto/googleapis/api/visibility;visibility\370\001\001\242\002\003GAX\252\002\nGoogle.Api\312\002\nGoogle\\Api\342\002\026Google\\Api\\GPBMetadata\352\002\013Google::Api' + _globals['_VISIBILITY']._serialized_start=77 + _globals['_VISIBILITY']._serialized_end=139 + _globals['_VISIBILITYRULE']._serialized_start=141 + _globals['_VISIBILITYRULE']._serialized_end=219 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/api/visibility_pb2_grpc.py b/pyinjective/proto/google/api/visibility_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/google/api/visibility_pb2_grpc.py +++ b/pyinjective/proto/google/api/visibility_pb2_grpc.py @@ -1,3 +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/google/bytestream/bytestream_pb2.py b/pyinjective/proto/google/bytestream/bytestream_pb2.py index f184077f..2d270d9a 100644 --- a/pyinjective/proto/google/bytestream/bytestream_pb2.py +++ b/pyinjective/proto/google/bytestream/bytestream_pb2.py @@ -7,36 +7,33 @@ 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"google/bytestream/bytestream.proto\x12\x11google.bytestream"r\n\x0bReadRequest\x12#\n\rresource_name\x18\x01 \x01(\tR\x0cresourceName\x12\x1f\n\x0bread_offset\x18\x02 \x01(\x03R\nreadOffset\x12\x1d\n\nread_limit\x18\x03 \x01(\x03R\treadLimit""\n\x0cReadResponse\x12\x12\n\x04\x64\x61ta\x18\n \x01(\x0cR\x04\x64\x61ta"\x8d\x01\n\x0cWriteRequest\x12#\n\rresource_name\x18\x01 \x01(\tR\x0cresourceName\x12!\n\x0cwrite_offset\x18\x02 \x01(\x03R\x0bwriteOffset\x12!\n\x0c\x66inish_write\x18\x03 \x01(\x08R\x0b\x66inishWrite\x12\x12\n\x04\x64\x61ta\x18\n \x01(\x0cR\x04\x64\x61ta"6\n\rWriteResponse\x12%\n\x0e\x63ommitted_size\x18\x01 \x01(\x03R\rcommittedSize">\n\x17QueryWriteStatusRequest\x12#\n\rresource_name\x18\x01 \x01(\tR\x0cresourceName"]\n\x18QueryWriteStatusResponse\x12%\n\x0e\x63ommitted_size\x18\x01 \x01(\x03R\rcommittedSize\x12\x1a\n\x08\x63omplete\x18\x02 \x01(\x08R\x08\x63omplete2\x92\x02\n\nByteStream\x12I\n\x04Read\x12\x1e.google.bytestream.ReadRequest\x1a\x1f.google.bytestream.ReadResponse0\x01\x12L\n\x05Write\x12\x1f.google.bytestream.WriteRequest\x1a .google.bytestream.WriteResponse(\x01\x12k\n\x10QueryWriteStatus\x12*.google.bytestream.QueryWriteStatusRequest\x1a+.google.bytestream.QueryWriteStatusResponseB\xca\x01\n\x15\x63om.google.bytestreamB\x0f\x42ytestreamProtoP\x01Z;google.golang.org/genproto/googleapis/bytestream;bytestream\xa2\x02\x03GBX\xaa\x02\x11Google.Bytestream\xca\x02\x11Google\\Bytestream\xe2\x02\x1dGoogle\\Bytestream\\GPBMetadata\xea\x02\x12Google::Bytestreamb\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"google/bytestream/bytestream.proto\x12\x11google.bytestream\"r\n\x0bReadRequest\x12#\n\rresource_name\x18\x01 \x01(\tR\x0cresourceName\x12\x1f\n\x0bread_offset\x18\x02 \x01(\x03R\nreadOffset\x12\x1d\n\nread_limit\x18\x03 \x01(\x03R\treadLimit\"\"\n\x0cReadResponse\x12\x12\n\x04\x64\x61ta\x18\n \x01(\x0cR\x04\x64\x61ta\"\x8d\x01\n\x0cWriteRequest\x12#\n\rresource_name\x18\x01 \x01(\tR\x0cresourceName\x12!\n\x0cwrite_offset\x18\x02 \x01(\x03R\x0bwriteOffset\x12!\n\x0c\x66inish_write\x18\x03 \x01(\x08R\x0b\x66inishWrite\x12\x12\n\x04\x64\x61ta\x18\n \x01(\x0cR\x04\x64\x61ta\"6\n\rWriteResponse\x12%\n\x0e\x63ommitted_size\x18\x01 \x01(\x03R\rcommittedSize\">\n\x17QueryWriteStatusRequest\x12#\n\rresource_name\x18\x01 \x01(\tR\x0cresourceName\"]\n\x18QueryWriteStatusResponse\x12%\n\x0e\x63ommitted_size\x18\x01 \x01(\x03R\rcommittedSize\x12\x1a\n\x08\x63omplete\x18\x02 \x01(\x08R\x08\x63omplete2\x92\x02\n\nByteStream\x12I\n\x04Read\x12\x1e.google.bytestream.ReadRequest\x1a\x1f.google.bytestream.ReadResponse0\x01\x12L\n\x05Write\x12\x1f.google.bytestream.WriteRequest\x1a .google.bytestream.WriteResponse(\x01\x12k\n\x10QueryWriteStatus\x12*.google.bytestream.QueryWriteStatusRequest\x1a+.google.bytestream.QueryWriteStatusResponseB\xca\x01\n\x15\x63om.google.bytestreamB\x0f\x42ytestreamProtoP\x01Z;google.golang.org/genproto/googleapis/bytestream;bytestream\xa2\x02\x03GBX\xaa\x02\x11Google.Bytestream\xca\x02\x11Google\\Bytestream\xe2\x02\x1dGoogle\\Bytestream\\GPBMetadata\xea\x02\x12Google::Bytestreamb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.bytestream.bytestream_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.bytestream.bytestream_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\025com.google.bytestreamB\017BytestreamProtoP\001Z;google.golang.org/genproto/googleapis/bytestream;bytestream\242\002\003GBX\252\002\021Google.Bytestream\312\002\021Google\\Bytestream\342\002\035Google\\Bytestream\\GPBMetadata\352\002\022Google::Bytestream" - ) - _globals["_READREQUEST"]._serialized_start = 57 - _globals["_READREQUEST"]._serialized_end = 171 - _globals["_READRESPONSE"]._serialized_start = 173 - _globals["_READRESPONSE"]._serialized_end = 207 - _globals["_WRITEREQUEST"]._serialized_start = 210 - _globals["_WRITEREQUEST"]._serialized_end = 351 - _globals["_WRITERESPONSE"]._serialized_start = 353 - _globals["_WRITERESPONSE"]._serialized_end = 407 - _globals["_QUERYWRITESTATUSREQUEST"]._serialized_start = 409 - _globals["_QUERYWRITESTATUSREQUEST"]._serialized_end = 471 - _globals["_QUERYWRITESTATUSRESPONSE"]._serialized_start = 473 - _globals["_QUERYWRITESTATUSRESPONSE"]._serialized_end = 566 - _globals["_BYTESTREAM"]._serialized_start = 569 - _globals["_BYTESTREAM"]._serialized_end = 843 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.google.bytestreamB\017BytestreamProtoP\001Z;google.golang.org/genproto/googleapis/bytestream;bytestream\242\002\003GBX\252\002\021Google.Bytestream\312\002\021Google\\Bytestream\342\002\035Google\\Bytestream\\GPBMetadata\352\002\022Google::Bytestream' + _globals['_READREQUEST']._serialized_start=57 + _globals['_READREQUEST']._serialized_end=171 + _globals['_READRESPONSE']._serialized_start=173 + _globals['_READRESPONSE']._serialized_end=207 + _globals['_WRITEREQUEST']._serialized_start=210 + _globals['_WRITEREQUEST']._serialized_end=351 + _globals['_WRITERESPONSE']._serialized_start=353 + _globals['_WRITERESPONSE']._serialized_end=407 + _globals['_QUERYWRITESTATUSREQUEST']._serialized_start=409 + _globals['_QUERYWRITESTATUSREQUEST']._serialized_end=471 + _globals['_QUERYWRITESTATUSRESPONSE']._serialized_start=473 + _globals['_QUERYWRITESTATUSRESPONSE']._serialized_end=566 + _globals['_BYTESTREAM']._serialized_start=569 + _globals['_BYTESTREAM']._serialized_end=843 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/bytestream/bytestream_pb2_grpc.py b/pyinjective/proto/google/bytestream/bytestream_pb2_grpc.py index a55a12a2..7492af43 100644 --- a/pyinjective/proto/google/bytestream/bytestream_pb2_grpc.py +++ b/pyinjective/proto/google/bytestream/bytestream_pb2_grpc.py @@ -38,23 +38,20 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Read = channel.unary_stream( - "/google.bytestream.ByteStream/Read", - request_serializer=google_dot_bytestream_dot_bytestream__pb2.ReadRequest.SerializeToString, - response_deserializer=google_dot_bytestream_dot_bytestream__pb2.ReadResponse.FromString, - _registered_method=True, - ) + '/google.bytestream.ByteStream/Read', + request_serializer=google_dot_bytestream_dot_bytestream__pb2.ReadRequest.SerializeToString, + response_deserializer=google_dot_bytestream_dot_bytestream__pb2.ReadResponse.FromString, + _registered_method=True) self.Write = channel.stream_unary( - "/google.bytestream.ByteStream/Write", - request_serializer=google_dot_bytestream_dot_bytestream__pb2.WriteRequest.SerializeToString, - response_deserializer=google_dot_bytestream_dot_bytestream__pb2.WriteResponse.FromString, - _registered_method=True, - ) + '/google.bytestream.ByteStream/Write', + request_serializer=google_dot_bytestream_dot_bytestream__pb2.WriteRequest.SerializeToString, + response_deserializer=google_dot_bytestream_dot_bytestream__pb2.WriteResponse.FromString, + _registered_method=True) self.QueryWriteStatus = channel.unary_unary( - "/google.bytestream.ByteStream/QueryWriteStatus", - request_serializer=google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusRequest.SerializeToString, - response_deserializer=google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusResponse.FromString, - _registered_method=True, - ) + '/google.bytestream.ByteStream/QueryWriteStatus', + request_serializer=google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusRequest.SerializeToString, + response_deserializer=google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusResponse.FromString, + _registered_method=True) class ByteStreamServicer(object): @@ -89,8 +86,8 @@ def Read(self, request, context): responses are delivered as the results of a server-side streaming RPC. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Write(self, request_iterator, context): """`Write()` is used to send the contents of a resource as a sequence of @@ -117,8 +114,8 @@ def Write(self, request_iterator, context): `complete` or not. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def QueryWriteStatus(self, request, context): """`QueryWriteStatus()` is used to find the `committed_size` for a resource @@ -137,34 +134,35 @@ def QueryWriteStatus(self, request, context): non-decreasing. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_ByteStreamServicer_to_server(servicer, server): rpc_method_handlers = { - "Read": grpc.unary_stream_rpc_method_handler( - servicer.Read, - request_deserializer=google_dot_bytestream_dot_bytestream__pb2.ReadRequest.FromString, - response_serializer=google_dot_bytestream_dot_bytestream__pb2.ReadResponse.SerializeToString, - ), - "Write": grpc.stream_unary_rpc_method_handler( - servicer.Write, - request_deserializer=google_dot_bytestream_dot_bytestream__pb2.WriteRequest.FromString, - response_serializer=google_dot_bytestream_dot_bytestream__pb2.WriteResponse.SerializeToString, - ), - "QueryWriteStatus": grpc.unary_unary_rpc_method_handler( - servicer.QueryWriteStatus, - request_deserializer=google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusRequest.FromString, - response_serializer=google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusResponse.SerializeToString, - ), + 'Read': grpc.unary_stream_rpc_method_handler( + servicer.Read, + request_deserializer=google_dot_bytestream_dot_bytestream__pb2.ReadRequest.FromString, + response_serializer=google_dot_bytestream_dot_bytestream__pb2.ReadResponse.SerializeToString, + ), + 'Write': grpc.stream_unary_rpc_method_handler( + servicer.Write, + request_deserializer=google_dot_bytestream_dot_bytestream__pb2.WriteRequest.FromString, + response_serializer=google_dot_bytestream_dot_bytestream__pb2.WriteResponse.SerializeToString, + ), + 'QueryWriteStatus': grpc.unary_unary_rpc_method_handler( + servicer.QueryWriteStatus, + request_deserializer=google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusRequest.FromString, + response_serializer=google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("google.bytestream.ByteStream", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'google.bytestream.ByteStream', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("google.bytestream.ByteStream", rpc_method_handlers) + server.add_registered_method_handlers('google.bytestream.ByteStream', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class ByteStream(object): """#### Introduction @@ -192,22 +190,20 @@ class ByteStream(object): """ @staticmethod - def Read( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Read(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, - "/google.bytestream.ByteStream/Read", + '/google.bytestream.ByteStream/Read', google_dot_bytestream_dot_bytestream__pb2.ReadRequest.SerializeToString, google_dot_bytestream_dot_bytestream__pb2.ReadResponse.FromString, options, @@ -218,26 +214,23 @@ def Read( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Write( - request_iterator, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Write(request_iterator, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.stream_unary( request_iterator, target, - "/google.bytestream.ByteStream/Write", + '/google.bytestream.ByteStream/Write', google_dot_bytestream_dot_bytestream__pb2.WriteRequest.SerializeToString, google_dot_bytestream_dot_bytestream__pb2.WriteResponse.FromString, options, @@ -248,26 +241,23 @@ def Write( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def QueryWriteStatus( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def QueryWriteStatus(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, - "/google.bytestream.ByteStream/QueryWriteStatus", + '/google.bytestream.ByteStream/QueryWriteStatus', google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusRequest.SerializeToString, google_dot_bytestream_dot_bytestream__pb2.QueryWriteStatusResponse.FromString, options, @@ -278,5 +268,4 @@ def QueryWriteStatus( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/google/geo/type/viewport_pb2.py b/pyinjective/proto/google/geo/type/viewport_pb2.py index b0209066..69ebbf59 100644 --- a/pyinjective/proto/google/geo/type/viewport_pb2.py +++ b/pyinjective/proto/google/geo/type/viewport_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,18 +15,14 @@ from google.type import latlng_pb2 as google_dot_type_dot_latlng__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n\x1egoogle/geo/type/viewport.proto\x12\x0fgoogle.geo.type\x1a\x18google/type/latlng.proto\"Z\n\x08Viewport\x12%\n\x03low\x18\x01 \x01(\x0b\x32\x13.google.type.LatLngR\x03low\x12'\n\x04high\x18\x02 \x01(\x0b\x32\x13.google.type.LatLngR\x04highB\xc4\x01\n\x13\x63om.google.geo.typeB\rViewportProtoP\x01Z@google.golang.org/genproto/googleapis/geo/type/viewport;viewport\xa2\x02\x03GGT\xaa\x02\x0fGoogle.Geo.Type\xca\x02\x0fGoogle\\Geo\\Type\xe2\x02\x1bGoogle\\Geo\\Type\\GPBMetadata\xea\x02\x11Google::Geo::Typeb\x06proto3" -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1egoogle/geo/type/viewport.proto\x12\x0fgoogle.geo.type\x1a\x18google/type/latlng.proto\"Z\n\x08Viewport\x12%\n\x03low\x18\x01 \x01(\x0b\x32\x13.google.type.LatLngR\x03low\x12\'\n\x04high\x18\x02 \x01(\x0b\x32\x13.google.type.LatLngR\x04highB\xc4\x01\n\x13\x63om.google.geo.typeB\rViewportProtoP\x01Z@google.golang.org/genproto/googleapis/geo/type/viewport;viewport\xa2\x02\x03GGT\xaa\x02\x0fGoogle.Geo.Type\xca\x02\x0fGoogle\\Geo\\Type\xe2\x02\x1bGoogle\\Geo\\Type\\GPBMetadata\xea\x02\x11Google::Geo::Typeb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.geo.type.viewport_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.geo.type.viewport_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\023com.google.geo.typeB\rViewportProtoP\001Z@google.golang.org/genproto/googleapis/geo/type/viewport;viewport\242\002\003GGT\252\002\017Google.Geo.Type\312\002\017Google\\Geo\\Type\342\002\033Google\\Geo\\Type\\GPBMetadata\352\002\021Google::Geo::Type" - ) - _globals["_VIEWPORT"]._serialized_start = 77 - _globals["_VIEWPORT"]._serialized_end = 167 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.google.geo.typeB\rViewportProtoP\001Z@google.golang.org/genproto/googleapis/geo/type/viewport;viewport\242\002\003GGT\252\002\017Google.Geo.Type\312\002\017Google\\Geo\\Type\342\002\033Google\\Geo\\Type\\GPBMetadata\352\002\021Google::Geo::Type' + _globals['_VIEWPORT']._serialized_start=77 + _globals['_VIEWPORT']._serialized_end=167 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/geo/type/viewport_pb2_grpc.py b/pyinjective/proto/google/geo/type/viewport_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/google/geo/type/viewport_pb2_grpc.py +++ b/pyinjective/proto/google/geo/type/viewport_pb2_grpc.py @@ -1,3 +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/google/longrunning/operations_pb2.py b/pyinjective/proto/google/longrunning/operations_pb2.py index d50db07b..f29f2f80 100644 --- a/pyinjective/proto/google/longrunning/operations_pb2.py +++ b/pyinjective/proto/google/longrunning/operations_pb2.py @@ -7,14 +7,13 @@ 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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 @@ -22,52 +21,40 @@ from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#google/longrunning/operations.proto\x12\x12google.longrunning\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x19google/protobuf/any.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x17google/rpc/status.proto"\xcf\x01\n\tOperation\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x30\n\x08metadata\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x08metadata\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12*\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusH\x00R\x05\x65rror\x12\x32\n\x08response\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00R\x08responseB\x08\n\x06result")\n\x13GetOperationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"\x7f\n\x15ListOperationsRequest\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12\x16\n\x06\x66ilter\x18\x01 \x01(\tR\x06\x66ilter\x12\x1b\n\tpage_size\x18\x02 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken"\x7f\n\x16ListOperationsResponse\x12=\n\noperations\x18\x01 \x03(\x0b\x32\x1d.google.longrunning.OperationR\noperations\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken",\n\x16\x43\x61ncelOperationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name",\n\x16\x44\x65leteOperationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"_\n\x14WaitOperationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x33\n\x07timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\x07timeout"Y\n\rOperationInfo\x12#\n\rresponse_type\x18\x01 \x01(\tR\x0cresponseType\x12#\n\rmetadata_type\x18\x02 \x01(\tR\x0cmetadataType2\xaa\x05\n\nOperations\x12\x94\x01\n\x0eListOperations\x12).google.longrunning.ListOperationsRequest\x1a*.google.longrunning.ListOperationsResponse"+\xda\x41\x0bname,filter\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/{name=operations}\x12\x7f\n\x0cGetOperation\x12\'.google.longrunning.GetOperationRequest\x1a\x1d.google.longrunning.Operation"\'\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/{name=operations/**}\x12~\n\x0f\x44\x65leteOperation\x12*.google.longrunning.DeleteOperationRequest\x1a\x16.google.protobuf.Empty"\'\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1a*\x18/v1/{name=operations/**}\x12\x88\x01\n\x0f\x43\x61ncelOperation\x12*.google.longrunning.CancelOperationRequest\x1a\x16.google.protobuf.Empty"1\xda\x41\x04name\x82\xd3\xe4\x93\x02$"\x1f/v1/{name=operations/**}:cancel:\x01*\x12Z\n\rWaitOperation\x12(.google.longrunning.WaitOperationRequest\x1a\x1d.google.longrunning.Operation"\x00\x1a\x1d\xca\x41\x1alongrunning.googleapis.com:i\n\x0eoperation_info\x12\x1e.google.protobuf.MethodOptions\x18\x99\x08 \x01(\x0b\x32!.google.longrunning.OperationInfoR\roperationInfoB\xda\x01\n\x16\x63om.google.longrunningB\x0fOperationsProtoP\x01ZCcloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb\xf8\x01\x01\xa2\x02\x03GLX\xaa\x02\x12Google.Longrunning\xca\x02\x12Google\\Longrunning\xe2\x02\x1eGoogle\\Longrunning\\GPBMetadata\xea\x02\x13Google::Longrunningb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#google/longrunning/operations.proto\x12\x12google.longrunning\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x19google/protobuf/any.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x17google/rpc/status.proto\"\xcf\x01\n\tOperation\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x30\n\x08metadata\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x08metadata\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12*\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusH\x00R\x05\x65rror\x12\x32\n\x08response\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00R\x08responseB\x08\n\x06result\")\n\x13GetOperationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"\x7f\n\x15ListOperationsRequest\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12\x16\n\x06\x66ilter\x18\x01 \x01(\tR\x06\x66ilter\x12\x1b\n\tpage_size\x18\x02 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\"\x7f\n\x16ListOperationsResponse\x12=\n\noperations\x18\x01 \x03(\x0b\x32\x1d.google.longrunning.OperationR\noperations\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\",\n\x16\x43\x61ncelOperationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\",\n\x16\x44\x65leteOperationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"_\n\x14WaitOperationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x33\n\x07timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\x07timeout\"Y\n\rOperationInfo\x12#\n\rresponse_type\x18\x01 \x01(\tR\x0cresponseType\x12#\n\rmetadata_type\x18\x02 \x01(\tR\x0cmetadataType2\xaa\x05\n\nOperations\x12\x94\x01\n\x0eListOperations\x12).google.longrunning.ListOperationsRequest\x1a*.google.longrunning.ListOperationsResponse\"+\xda\x41\x0bname,filter\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/{name=operations}\x12\x7f\n\x0cGetOperation\x12\'.google.longrunning.GetOperationRequest\x1a\x1d.google.longrunning.Operation\"\'\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/{name=operations/**}\x12~\n\x0f\x44\x65leteOperation\x12*.google.longrunning.DeleteOperationRequest\x1a\x16.google.protobuf.Empty\"\'\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1a*\x18/v1/{name=operations/**}\x12\x88\x01\n\x0f\x43\x61ncelOperation\x12*.google.longrunning.CancelOperationRequest\x1a\x16.google.protobuf.Empty\"1\xda\x41\x04name\x82\xd3\xe4\x93\x02$\"\x1f/v1/{name=operations/**}:cancel:\x01*\x12Z\n\rWaitOperation\x12(.google.longrunning.WaitOperationRequest\x1a\x1d.google.longrunning.Operation\"\x00\x1a\x1d\xca\x41\x1alongrunning.googleapis.com:i\n\x0eoperation_info\x12\x1e.google.protobuf.MethodOptions\x18\x99\x08 \x01(\x0b\x32!.google.longrunning.OperationInfoR\roperationInfoB\xda\x01\n\x16\x63om.google.longrunningB\x0fOperationsProtoP\x01ZCcloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb\xf8\x01\x01\xa2\x02\x03GLX\xaa\x02\x12Google.Longrunning\xca\x02\x12Google\\Longrunning\xe2\x02\x1eGoogle\\Longrunning\\GPBMetadata\xea\x02\x13Google::Longrunningb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.longrunning.operations_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.longrunning.operations_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.google.longrunningB\017OperationsProtoP\001ZCcloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb\370\001\001\242\002\003GLX\252\002\022Google.Longrunning\312\002\022Google\\Longrunning\342\002\036Google\\Longrunning\\GPBMetadata\352\002\023Google::Longrunning" - ) - _globals["_OPERATIONS"]._loaded_options = None - _globals["_OPERATIONS"]._serialized_options = b"\312A\032longrunning.googleapis.com" - _globals["_OPERATIONS"].methods_by_name["ListOperations"]._loaded_options = None - _globals["_OPERATIONS"].methods_by_name[ - "ListOperations" - ]._serialized_options = b"\332A\013name,filter\202\323\344\223\002\027\022\025/v1/{name=operations}" - _globals["_OPERATIONS"].methods_by_name["GetOperation"]._loaded_options = None - _globals["_OPERATIONS"].methods_by_name[ - "GetOperation" - ]._serialized_options = b"\332A\004name\202\323\344\223\002\032\022\030/v1/{name=operations/**}" - _globals["_OPERATIONS"].methods_by_name["DeleteOperation"]._loaded_options = None - _globals["_OPERATIONS"].methods_by_name[ - "DeleteOperation" - ]._serialized_options = b"\332A\004name\202\323\344\223\002\032*\030/v1/{name=operations/**}" - _globals["_OPERATIONS"].methods_by_name["CancelOperation"]._loaded_options = None - _globals["_OPERATIONS"].methods_by_name[ - "CancelOperation" - ]._serialized_options = b'\332A\004name\202\323\344\223\002$"\037/v1/{name=operations/**}:cancel:\001*' - _globals["_OPERATION"]._serialized_start = 262 - _globals["_OPERATION"]._serialized_end = 469 - _globals["_GETOPERATIONREQUEST"]._serialized_start = 471 - _globals["_GETOPERATIONREQUEST"]._serialized_end = 512 - _globals["_LISTOPERATIONSREQUEST"]._serialized_start = 514 - _globals["_LISTOPERATIONSREQUEST"]._serialized_end = 641 - _globals["_LISTOPERATIONSRESPONSE"]._serialized_start = 643 - _globals["_LISTOPERATIONSRESPONSE"]._serialized_end = 770 - _globals["_CANCELOPERATIONREQUEST"]._serialized_start = 772 - _globals["_CANCELOPERATIONREQUEST"]._serialized_end = 816 - _globals["_DELETEOPERATIONREQUEST"]._serialized_start = 818 - _globals["_DELETEOPERATIONREQUEST"]._serialized_end = 862 - _globals["_WAITOPERATIONREQUEST"]._serialized_start = 864 - _globals["_WAITOPERATIONREQUEST"]._serialized_end = 959 - _globals["_OPERATIONINFO"]._serialized_start = 961 - _globals["_OPERATIONINFO"]._serialized_end = 1050 - _globals["_OPERATIONS"]._serialized_start = 1053 - _globals["_OPERATIONS"]._serialized_end = 1735 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.google.longrunningB\017OperationsProtoP\001ZCcloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb\370\001\001\242\002\003GLX\252\002\022Google.Longrunning\312\002\022Google\\Longrunning\342\002\036Google\\Longrunning\\GPBMetadata\352\002\023Google::Longrunning' + _globals['_OPERATIONS']._loaded_options = None + _globals['_OPERATIONS']._serialized_options = b'\312A\032longrunning.googleapis.com' + _globals['_OPERATIONS'].methods_by_name['ListOperations']._loaded_options = None + _globals['_OPERATIONS'].methods_by_name['ListOperations']._serialized_options = b'\332A\013name,filter\202\323\344\223\002\027\022\025/v1/{name=operations}' + _globals['_OPERATIONS'].methods_by_name['GetOperation']._loaded_options = None + _globals['_OPERATIONS'].methods_by_name['GetOperation']._serialized_options = b'\332A\004name\202\323\344\223\002\032\022\030/v1/{name=operations/**}' + _globals['_OPERATIONS'].methods_by_name['DeleteOperation']._loaded_options = None + _globals['_OPERATIONS'].methods_by_name['DeleteOperation']._serialized_options = b'\332A\004name\202\323\344\223\002\032*\030/v1/{name=operations/**}' + _globals['_OPERATIONS'].methods_by_name['CancelOperation']._loaded_options = None + _globals['_OPERATIONS'].methods_by_name['CancelOperation']._serialized_options = b'\332A\004name\202\323\344\223\002$\"\037/v1/{name=operations/**}:cancel:\001*' + _globals['_OPERATION']._serialized_start=262 + _globals['_OPERATION']._serialized_end=469 + _globals['_GETOPERATIONREQUEST']._serialized_start=471 + _globals['_GETOPERATIONREQUEST']._serialized_end=512 + _globals['_LISTOPERATIONSREQUEST']._serialized_start=514 + _globals['_LISTOPERATIONSREQUEST']._serialized_end=641 + _globals['_LISTOPERATIONSRESPONSE']._serialized_start=643 + _globals['_LISTOPERATIONSRESPONSE']._serialized_end=770 + _globals['_CANCELOPERATIONREQUEST']._serialized_start=772 + _globals['_CANCELOPERATIONREQUEST']._serialized_end=816 + _globals['_DELETEOPERATIONREQUEST']._serialized_start=818 + _globals['_DELETEOPERATIONREQUEST']._serialized_end=862 + _globals['_WAITOPERATIONREQUEST']._serialized_start=864 + _globals['_WAITOPERATIONREQUEST']._serialized_end=959 + _globals['_OPERATIONINFO']._serialized_start=961 + _globals['_OPERATIONINFO']._serialized_end=1050 + _globals['_OPERATIONS']._serialized_start=1053 + _globals['_OPERATIONS']._serialized_end=1735 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/longrunning/operations_pb2_grpc.py b/pyinjective/proto/google/longrunning/operations_pb2_grpc.py index c0f86c57..e0b9948f 100644 --- a/pyinjective/proto/google/longrunning/operations_pb2_grpc.py +++ b/pyinjective/proto/google/longrunning/operations_pb2_grpc.py @@ -25,35 +25,30 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.ListOperations = channel.unary_unary( - "/google.longrunning.Operations/ListOperations", - request_serializer=google_dot_longrunning_dot_operations__pb2.ListOperationsRequest.SerializeToString, - response_deserializer=google_dot_longrunning_dot_operations__pb2.ListOperationsResponse.FromString, - _registered_method=True, - ) + '/google.longrunning.Operations/ListOperations', + request_serializer=google_dot_longrunning_dot_operations__pb2.ListOperationsRequest.SerializeToString, + response_deserializer=google_dot_longrunning_dot_operations__pb2.ListOperationsResponse.FromString, + _registered_method=True) self.GetOperation = channel.unary_unary( - "/google.longrunning.Operations/GetOperation", - request_serializer=google_dot_longrunning_dot_operations__pb2.GetOperationRequest.SerializeToString, - response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString, - _registered_method=True, - ) + '/google.longrunning.Operations/GetOperation', + request_serializer=google_dot_longrunning_dot_operations__pb2.GetOperationRequest.SerializeToString, + response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString, + _registered_method=True) self.DeleteOperation = channel.unary_unary( - "/google.longrunning.Operations/DeleteOperation", - request_serializer=google_dot_longrunning_dot_operations__pb2.DeleteOperationRequest.SerializeToString, - response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True, - ) + '/google.longrunning.Operations/DeleteOperation', + request_serializer=google_dot_longrunning_dot_operations__pb2.DeleteOperationRequest.SerializeToString, + response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, + _registered_method=True) self.CancelOperation = channel.unary_unary( - "/google.longrunning.Operations/CancelOperation", - request_serializer=google_dot_longrunning_dot_operations__pb2.CancelOperationRequest.SerializeToString, - response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True, - ) + '/google.longrunning.Operations/CancelOperation', + request_serializer=google_dot_longrunning_dot_operations__pb2.CancelOperationRequest.SerializeToString, + response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, + _registered_method=True) self.WaitOperation = channel.unary_unary( - "/google.longrunning.Operations/WaitOperation", - request_serializer=google_dot_longrunning_dot_operations__pb2.WaitOperationRequest.SerializeToString, - response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString, - _registered_method=True, - ) + '/google.longrunning.Operations/WaitOperation', + request_serializer=google_dot_longrunning_dot_operations__pb2.WaitOperationRequest.SerializeToString, + response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString, + _registered_method=True) class OperationsServicer(object): @@ -73,8 +68,8 @@ def ListOperations(self, request, context): server doesn't support this method, it returns `UNIMPLEMENTED`. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetOperation(self, request, context): """Gets the latest state of a long-running operation. Clients can use this @@ -82,8 +77,8 @@ def GetOperation(self, request, context): service. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DeleteOperation(self, request, context): """Deletes a long-running operation. This method indicates that the client is @@ -92,8 +87,8 @@ def DeleteOperation(self, request, context): `google.rpc.Code.UNIMPLEMENTED`. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CancelOperation(self, request, context): """Starts asynchronous cancellation on a long-running operation. The server @@ -109,8 +104,8 @@ def CancelOperation(self, request, context): `Code.CANCELLED`. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def WaitOperation(self, request, context): """Waits until the specified long-running operation is done or reaches at most @@ -124,44 +119,45 @@ def WaitOperation(self, request, context): immediate response is no guarantee that the operation is done. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_OperationsServicer_to_server(servicer, server): rpc_method_handlers = { - "ListOperations": grpc.unary_unary_rpc_method_handler( - servicer.ListOperations, - request_deserializer=google_dot_longrunning_dot_operations__pb2.ListOperationsRequest.FromString, - response_serializer=google_dot_longrunning_dot_operations__pb2.ListOperationsResponse.SerializeToString, - ), - "GetOperation": grpc.unary_unary_rpc_method_handler( - servicer.GetOperation, - request_deserializer=google_dot_longrunning_dot_operations__pb2.GetOperationRequest.FromString, - response_serializer=google_dot_longrunning_dot_operations__pb2.Operation.SerializeToString, - ), - "DeleteOperation": grpc.unary_unary_rpc_method_handler( - servicer.DeleteOperation, - request_deserializer=google_dot_longrunning_dot_operations__pb2.DeleteOperationRequest.FromString, - response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, - ), - "CancelOperation": grpc.unary_unary_rpc_method_handler( - servicer.CancelOperation, - request_deserializer=google_dot_longrunning_dot_operations__pb2.CancelOperationRequest.FromString, - response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, - ), - "WaitOperation": grpc.unary_unary_rpc_method_handler( - servicer.WaitOperation, - request_deserializer=google_dot_longrunning_dot_operations__pb2.WaitOperationRequest.FromString, - response_serializer=google_dot_longrunning_dot_operations__pb2.Operation.SerializeToString, - ), + 'ListOperations': grpc.unary_unary_rpc_method_handler( + servicer.ListOperations, + request_deserializer=google_dot_longrunning_dot_operations__pb2.ListOperationsRequest.FromString, + response_serializer=google_dot_longrunning_dot_operations__pb2.ListOperationsResponse.SerializeToString, + ), + 'GetOperation': grpc.unary_unary_rpc_method_handler( + servicer.GetOperation, + request_deserializer=google_dot_longrunning_dot_operations__pb2.GetOperationRequest.FromString, + response_serializer=google_dot_longrunning_dot_operations__pb2.Operation.SerializeToString, + ), + 'DeleteOperation': grpc.unary_unary_rpc_method_handler( + servicer.DeleteOperation, + request_deserializer=google_dot_longrunning_dot_operations__pb2.DeleteOperationRequest.FromString, + response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, + ), + 'CancelOperation': grpc.unary_unary_rpc_method_handler( + servicer.CancelOperation, + request_deserializer=google_dot_longrunning_dot_operations__pb2.CancelOperationRequest.FromString, + response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, + ), + 'WaitOperation': grpc.unary_unary_rpc_method_handler( + servicer.WaitOperation, + request_deserializer=google_dot_longrunning_dot_operations__pb2.WaitOperationRequest.FromString, + response_serializer=google_dot_longrunning_dot_operations__pb2.Operation.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("google.longrunning.Operations", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'google.longrunning.Operations', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("google.longrunning.Operations", rpc_method_handlers) + server.add_registered_method_handlers('google.longrunning.Operations', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Operations(object): """Manages long-running operations with an API service. @@ -175,22 +171,20 @@ class Operations(object): """ @staticmethod - def ListOperations( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ListOperations(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, - "/google.longrunning.Operations/ListOperations", + '/google.longrunning.Operations/ListOperations', google_dot_longrunning_dot_operations__pb2.ListOperationsRequest.SerializeToString, google_dot_longrunning_dot_operations__pb2.ListOperationsResponse.FromString, options, @@ -201,26 +195,23 @@ def ListOperations( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GetOperation( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GetOperation(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, - "/google.longrunning.Operations/GetOperation", + '/google.longrunning.Operations/GetOperation', google_dot_longrunning_dot_operations__pb2.GetOperationRequest.SerializeToString, google_dot_longrunning_dot_operations__pb2.Operation.FromString, options, @@ -231,26 +222,23 @@ def GetOperation( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DeleteOperation( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DeleteOperation(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, - "/google.longrunning.Operations/DeleteOperation", + '/google.longrunning.Operations/DeleteOperation', google_dot_longrunning_dot_operations__pb2.DeleteOperationRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, options, @@ -261,26 +249,23 @@ def DeleteOperation( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CancelOperation( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CancelOperation(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, - "/google.longrunning.Operations/CancelOperation", + '/google.longrunning.Operations/CancelOperation', google_dot_longrunning_dot_operations__pb2.CancelOperationRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, options, @@ -291,26 +276,23 @@ def CancelOperation( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def WaitOperation( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def WaitOperation(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, - "/google.longrunning.Operations/WaitOperation", + '/google.longrunning.Operations/WaitOperation', google_dot_longrunning_dot_operations__pb2.WaitOperationRequest.SerializeToString, google_dot_longrunning_dot_operations__pb2.Operation.FromString, options, @@ -321,5 +303,4 @@ def WaitOperation( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/google/rpc/code_pb2.py b/pyinjective/proto/google/rpc/code_pb2.py index d8ccbe2e..9dfe716c 100644 --- a/pyinjective/proto/google/rpc/code_pb2.py +++ b/pyinjective/proto/google/rpc/code_pb2.py @@ -7,24 +7,21 @@ 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\x15google/rpc/code.proto\x12\ngoogle.rpc*\xb7\x02\n\x04\x43ode\x12\x06\n\x02OK\x10\x00\x12\r\n\tCANCELLED\x10\x01\x12\x0b\n\x07UNKNOWN\x10\x02\x12\x14\n\x10INVALID_ARGUMENT\x10\x03\x12\x15\n\x11\x44\x45\x41\x44LINE_EXCEEDED\x10\x04\x12\r\n\tNOT_FOUND\x10\x05\x12\x12\n\x0e\x41LREADY_EXISTS\x10\x06\x12\x15\n\x11PERMISSION_DENIED\x10\x07\x12\x13\n\x0fUNAUTHENTICATED\x10\x10\x12\x16\n\x12RESOURCE_EXHAUSTED\x10\x08\x12\x17\n\x13\x46\x41ILED_PRECONDITION\x10\t\x12\x0b\n\x07\x41\x42ORTED\x10\n\x12\x10\n\x0cOUT_OF_RANGE\x10\x0b\x12\x11\n\rUNIMPLEMENTED\x10\x0c\x12\x0c\n\x08INTERNAL\x10\r\x12\x0f\n\x0bUNAVAILABLE\x10\x0e\x12\r\n\tDATA_LOSS\x10\x0f\x42\x99\x01\n\x0e\x63om.google.rpcB\tCodeProtoP\x01Z3google.golang.org/genproto/googleapis/rpc/code;code\xa2\x02\x03GRX\xaa\x02\nGoogle.Rpc\xca\x02\nGoogle\\Rpc\xe2\x02\x16Google\\Rpc\\GPBMetadata\xea\x02\x0bGoogle::Rpcb\x06proto3" -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15google/rpc/code.proto\x12\ngoogle.rpc*\xb7\x02\n\x04\x43ode\x12\x06\n\x02OK\x10\x00\x12\r\n\tCANCELLED\x10\x01\x12\x0b\n\x07UNKNOWN\x10\x02\x12\x14\n\x10INVALID_ARGUMENT\x10\x03\x12\x15\n\x11\x44\x45\x41\x44LINE_EXCEEDED\x10\x04\x12\r\n\tNOT_FOUND\x10\x05\x12\x12\n\x0e\x41LREADY_EXISTS\x10\x06\x12\x15\n\x11PERMISSION_DENIED\x10\x07\x12\x13\n\x0fUNAUTHENTICATED\x10\x10\x12\x16\n\x12RESOURCE_EXHAUSTED\x10\x08\x12\x17\n\x13\x46\x41ILED_PRECONDITION\x10\t\x12\x0b\n\x07\x41\x42ORTED\x10\n\x12\x10\n\x0cOUT_OF_RANGE\x10\x0b\x12\x11\n\rUNIMPLEMENTED\x10\x0c\x12\x0c\n\x08INTERNAL\x10\r\x12\x0f\n\x0bUNAVAILABLE\x10\x0e\x12\r\n\tDATA_LOSS\x10\x0f\x42\x99\x01\n\x0e\x63om.google.rpcB\tCodeProtoP\x01Z3google.golang.org/genproto/googleapis/rpc/code;code\xa2\x02\x03GRX\xaa\x02\nGoogle.Rpc\xca\x02\nGoogle\\Rpc\xe2\x02\x16Google\\Rpc\\GPBMetadata\xea\x02\x0bGoogle::Rpcb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.rpc.code_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.rpc.code_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\016com.google.rpcB\tCodeProtoP\001Z3google.golang.org/genproto/googleapis/rpc/code;code\242\002\003GRX\252\002\nGoogle.Rpc\312\002\nGoogle\\Rpc\342\002\026Google\\Rpc\\GPBMetadata\352\002\013Google::Rpc" - ) - _globals["_CODE"]._serialized_start = 38 - _globals["_CODE"]._serialized_end = 349 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.rpcB\tCodeProtoP\001Z3google.golang.org/genproto/googleapis/rpc/code;code\242\002\003GRX\252\002\nGoogle.Rpc\312\002\nGoogle\\Rpc\342\002\026Google\\Rpc\\GPBMetadata\352\002\013Google::Rpc' + _globals['_CODE']._serialized_start=38 + _globals['_CODE']._serialized_end=349 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/rpc/code_pb2_grpc.py b/pyinjective/proto/google/rpc/code_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/google/rpc/code_pb2_grpc.py +++ b/pyinjective/proto/google/rpc/code_pb2_grpc.py @@ -1,3 +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/google/rpc/context/attribute_context_pb2.py b/pyinjective/proto/google/rpc/context/attribute_context_pb2.py index f81e964b..4f3a626d 100644 --- a/pyinjective/proto/google/rpc/context/attribute_context_pb2.py +++ b/pyinjective/proto/google/rpc/context/attribute_context_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,50 +18,46 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n*google/rpc/context/attribute_context.proto\x12\x12google.rpc.context\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x81\x14\n\x10\x41ttributeContext\x12\x41\n\x06origin\x18\x07 \x01(\x0b\x32).google.rpc.context.AttributeContext.PeerR\x06origin\x12\x41\n\x06source\x18\x01 \x01(\x0b\x32).google.rpc.context.AttributeContext.PeerR\x06source\x12K\n\x0b\x64\x65stination\x18\x02 \x01(\x0b\x32).google.rpc.context.AttributeContext.PeerR\x0b\x64\x65stination\x12\x46\n\x07request\x18\x03 \x01(\x0b\x32,.google.rpc.context.AttributeContext.RequestR\x07request\x12I\n\x08response\x18\x04 \x01(\x0b\x32-.google.rpc.context.AttributeContext.ResponseR\x08response\x12I\n\x08resource\x18\x05 \x01(\x0b\x32-.google.rpc.context.AttributeContext.ResourceR\x08resource\x12:\n\x03\x61pi\x18\x06 \x01(\x0b\x32(.google.rpc.context.AttributeContext.ApiR\x03\x61pi\x12\x34\n\nextensions\x18\x08 \x03(\x0b\x32\x14.google.protobuf.AnyR\nextensions\x1a\xf3\x01\n\x04Peer\x12\x0e\n\x02ip\x18\x01 \x01(\tR\x02ip\x12\x12\n\x04port\x18\x02 \x01(\x03R\x04port\x12M\n\x06labels\x18\x06 \x03(\x0b\x32\x35.google.rpc.context.AttributeContext.Peer.LabelsEntryR\x06labels\x12\x1c\n\tprincipal\x18\x07 \x01(\tR\tprincipal\x12\x1f\n\x0bregion_code\x18\x08 \x01(\tR\nregionCode\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1as\n\x03\x41pi\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x1c\n\toperation\x18\x02 \x01(\tR\toperation\x12\x1a\n\x08protocol\x18\x03 \x01(\tR\x08protocol\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x1a\xb6\x01\n\x04\x41uth\x12\x1c\n\tprincipal\x18\x01 \x01(\tR\tprincipal\x12\x1c\n\taudiences\x18\x02 \x03(\tR\taudiences\x12\x1c\n\tpresenter\x18\x03 \x01(\tR\tpresenter\x12/\n\x06\x63laims\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructR\x06\x63laims\x12#\n\raccess_levels\x18\x05 \x03(\tR\x0c\x61\x63\x63\x65ssLevels\x1a\xcf\x03\n\x07Request\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n\x06method\x18\x02 \x01(\tR\x06method\x12S\n\x07headers\x18\x03 \x03(\x0b\x32\x39.google.rpc.context.AttributeContext.Request.HeadersEntryR\x07headers\x12\x12\n\x04path\x18\x04 \x01(\tR\x04path\x12\x12\n\x04host\x18\x05 \x01(\tR\x04host\x12\x16\n\x06scheme\x18\x06 \x01(\tR\x06scheme\x12\x14\n\x05query\x18\x07 \x01(\tR\x05query\x12.\n\x04time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x04time\x12\x12\n\x04size\x18\n \x01(\x03R\x04size\x12\x1a\n\x08protocol\x18\x0b \x01(\tR\x08protocol\x12\x16\n\x06reason\x18\x0c \x01(\tR\x06reason\x12=\n\x04\x61uth\x18\r \x01(\x0b\x32).google.rpc.context.AttributeContext.AuthR\x04\x61uth\x1a:\n\x0cHeadersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\xb8\x02\n\x08Response\x12\x12\n\x04\x63ode\x18\x01 \x01(\x03R\x04\x63ode\x12\x12\n\x04size\x18\x02 \x01(\x03R\x04size\x12T\n\x07headers\x18\x03 \x03(\x0b\x32:.google.rpc.context.AttributeContext.Response.HeadersEntryR\x07headers\x12.\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x04time\x12\x42\n\x0f\x62\x61\x63kend_latency\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x62\x61\x63kendLatency\x1a:\n\x0cHeadersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\x98\x05\n\x08Resource\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x12Q\n\x06labels\x18\x04 \x03(\x0b\x32\x39.google.rpc.context.AttributeContext.Resource.LabelsEntryR\x06labels\x12\x10\n\x03uid\x18\x05 \x01(\tR\x03uid\x12`\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32>.google.rpc.context.AttributeContext.Resource.AnnotationsEntryR\x0b\x61nnotations\x12!\n\x0c\x64isplay_name\x18\x07 \x01(\tR\x0b\x64isplayName\x12;\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\x12;\n\x0b\x64\x65lete_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ndeleteTime\x12\x12\n\x04\x65tag\x18\x0b \x01(\tR\x04\x65tag\x12\x1a\n\x08location\x18\x0c \x01(\tR\x08location\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a>\n\x10\x41nnotationsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\xf3\x01\n\x16\x63om.google.rpc.contextB\x15\x41ttributeContextProtoP\x01ZUgoogle.golang.org/genproto/googleapis/rpc/context/attribute_context;attribute_context\xf8\x01\x01\xa2\x02\x03GRC\xaa\x02\x12Google.Rpc.Context\xca\x02\x12Google\\Rpc\\Context\xe2\x02\x1eGoogle\\Rpc\\Context\\GPBMetadata\xea\x02\x14Google::Rpc::Contextb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*google/rpc/context/attribute_context.proto\x12\x12google.rpc.context\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x81\x14\n\x10\x41ttributeContext\x12\x41\n\x06origin\x18\x07 \x01(\x0b\x32).google.rpc.context.AttributeContext.PeerR\x06origin\x12\x41\n\x06source\x18\x01 \x01(\x0b\x32).google.rpc.context.AttributeContext.PeerR\x06source\x12K\n\x0b\x64\x65stination\x18\x02 \x01(\x0b\x32).google.rpc.context.AttributeContext.PeerR\x0b\x64\x65stination\x12\x46\n\x07request\x18\x03 \x01(\x0b\x32,.google.rpc.context.AttributeContext.RequestR\x07request\x12I\n\x08response\x18\x04 \x01(\x0b\x32-.google.rpc.context.AttributeContext.ResponseR\x08response\x12I\n\x08resource\x18\x05 \x01(\x0b\x32-.google.rpc.context.AttributeContext.ResourceR\x08resource\x12:\n\x03\x61pi\x18\x06 \x01(\x0b\x32(.google.rpc.context.AttributeContext.ApiR\x03\x61pi\x12\x34\n\nextensions\x18\x08 \x03(\x0b\x32\x14.google.protobuf.AnyR\nextensions\x1a\xf3\x01\n\x04Peer\x12\x0e\n\x02ip\x18\x01 \x01(\tR\x02ip\x12\x12\n\x04port\x18\x02 \x01(\x03R\x04port\x12M\n\x06labels\x18\x06 \x03(\x0b\x32\x35.google.rpc.context.AttributeContext.Peer.LabelsEntryR\x06labels\x12\x1c\n\tprincipal\x18\x07 \x01(\tR\tprincipal\x12\x1f\n\x0bregion_code\x18\x08 \x01(\tR\nregionCode\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1as\n\x03\x41pi\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x1c\n\toperation\x18\x02 \x01(\tR\toperation\x12\x1a\n\x08protocol\x18\x03 \x01(\tR\x08protocol\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x1a\xb6\x01\n\x04\x41uth\x12\x1c\n\tprincipal\x18\x01 \x01(\tR\tprincipal\x12\x1c\n\taudiences\x18\x02 \x03(\tR\taudiences\x12\x1c\n\tpresenter\x18\x03 \x01(\tR\tpresenter\x12/\n\x06\x63laims\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructR\x06\x63laims\x12#\n\raccess_levels\x18\x05 \x03(\tR\x0c\x61\x63\x63\x65ssLevels\x1a\xcf\x03\n\x07Request\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n\x06method\x18\x02 \x01(\tR\x06method\x12S\n\x07headers\x18\x03 \x03(\x0b\x32\x39.google.rpc.context.AttributeContext.Request.HeadersEntryR\x07headers\x12\x12\n\x04path\x18\x04 \x01(\tR\x04path\x12\x12\n\x04host\x18\x05 \x01(\tR\x04host\x12\x16\n\x06scheme\x18\x06 \x01(\tR\x06scheme\x12\x14\n\x05query\x18\x07 \x01(\tR\x05query\x12.\n\x04time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x04time\x12\x12\n\x04size\x18\n \x01(\x03R\x04size\x12\x1a\n\x08protocol\x18\x0b \x01(\tR\x08protocol\x12\x16\n\x06reason\x18\x0c \x01(\tR\x06reason\x12=\n\x04\x61uth\x18\r \x01(\x0b\x32).google.rpc.context.AttributeContext.AuthR\x04\x61uth\x1a:\n\x0cHeadersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\xb8\x02\n\x08Response\x12\x12\n\x04\x63ode\x18\x01 \x01(\x03R\x04\x63ode\x12\x12\n\x04size\x18\x02 \x01(\x03R\x04size\x12T\n\x07headers\x18\x03 \x03(\x0b\x32:.google.rpc.context.AttributeContext.Response.HeadersEntryR\x07headers\x12.\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x04time\x12\x42\n\x0f\x62\x61\x63kend_latency\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x62\x61\x63kendLatency\x1a:\n\x0cHeadersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\x98\x05\n\x08Resource\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x12Q\n\x06labels\x18\x04 \x03(\x0b\x32\x39.google.rpc.context.AttributeContext.Resource.LabelsEntryR\x06labels\x12\x10\n\x03uid\x18\x05 \x01(\tR\x03uid\x12`\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32>.google.rpc.context.AttributeContext.Resource.AnnotationsEntryR\x0b\x61nnotations\x12!\n\x0c\x64isplay_name\x18\x07 \x01(\tR\x0b\x64isplayName\x12;\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\x12;\n\x0b\x64\x65lete_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ndeleteTime\x12\x12\n\x04\x65tag\x18\x0b \x01(\tR\x04\x65tag\x12\x1a\n\x08location\x18\x0c \x01(\tR\x08location\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a>\n\x10\x41nnotationsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\xf3\x01\n\x16\x63om.google.rpc.contextB\x15\x41ttributeContextProtoP\x01ZUgoogle.golang.org/genproto/googleapis/rpc/context/attribute_context;attribute_context\xf8\x01\x01\xa2\x02\x03GRC\xaa\x02\x12Google.Rpc.Context\xca\x02\x12Google\\Rpc\\Context\xe2\x02\x1eGoogle\\Rpc\\Context\\GPBMetadata\xea\x02\x14Google::Rpc::Contextb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.rpc.context.attribute_context_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.rpc.context.attribute_context_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.google.rpc.contextB\025AttributeContextProtoP\001ZUgoogle.golang.org/genproto/googleapis/rpc/context/attribute_context;attribute_context\370\001\001\242\002\003GRC\252\002\022Google.Rpc.Context\312\002\022Google\\Rpc\\Context\342\002\036Google\\Rpc\\Context\\GPBMetadata\352\002\024Google::Rpc::Context" - ) - _globals["_ATTRIBUTECONTEXT_PEER_LABELSENTRY"]._loaded_options = None - _globals["_ATTRIBUTECONTEXT_PEER_LABELSENTRY"]._serialized_options = b"8\001" - _globals["_ATTRIBUTECONTEXT_REQUEST_HEADERSENTRY"]._loaded_options = None - _globals["_ATTRIBUTECONTEXT_REQUEST_HEADERSENTRY"]._serialized_options = b"8\001" - _globals["_ATTRIBUTECONTEXT_RESPONSE_HEADERSENTRY"]._loaded_options = None - _globals["_ATTRIBUTECONTEXT_RESPONSE_HEADERSENTRY"]._serialized_options = b"8\001" - _globals["_ATTRIBUTECONTEXT_RESOURCE_LABELSENTRY"]._loaded_options = None - _globals["_ATTRIBUTECONTEXT_RESOURCE_LABELSENTRY"]._serialized_options = b"8\001" - _globals["_ATTRIBUTECONTEXT_RESOURCE_ANNOTATIONSENTRY"]._loaded_options = None - _globals["_ATTRIBUTECONTEXT_RESOURCE_ANNOTATIONSENTRY"]._serialized_options = b"8\001" - _globals["_ATTRIBUTECONTEXT"]._serialized_start = 189 - _globals["_ATTRIBUTECONTEXT"]._serialized_end = 2750 - _globals["_ATTRIBUTECONTEXT_PEER"]._serialized_start = 757 - _globals["_ATTRIBUTECONTEXT_PEER"]._serialized_end = 1000 - _globals["_ATTRIBUTECONTEXT_PEER_LABELSENTRY"]._serialized_start = 943 - _globals["_ATTRIBUTECONTEXT_PEER_LABELSENTRY"]._serialized_end = 1000 - _globals["_ATTRIBUTECONTEXT_API"]._serialized_start = 1002 - _globals["_ATTRIBUTECONTEXT_API"]._serialized_end = 1117 - _globals["_ATTRIBUTECONTEXT_AUTH"]._serialized_start = 1120 - _globals["_ATTRIBUTECONTEXT_AUTH"]._serialized_end = 1302 - _globals["_ATTRIBUTECONTEXT_REQUEST"]._serialized_start = 1305 - _globals["_ATTRIBUTECONTEXT_REQUEST"]._serialized_end = 1768 - _globals["_ATTRIBUTECONTEXT_REQUEST_HEADERSENTRY"]._serialized_start = 1710 - _globals["_ATTRIBUTECONTEXT_REQUEST_HEADERSENTRY"]._serialized_end = 1768 - _globals["_ATTRIBUTECONTEXT_RESPONSE"]._serialized_start = 1771 - _globals["_ATTRIBUTECONTEXT_RESPONSE"]._serialized_end = 2083 - _globals["_ATTRIBUTECONTEXT_RESPONSE_HEADERSENTRY"]._serialized_start = 1710 - _globals["_ATTRIBUTECONTEXT_RESPONSE_HEADERSENTRY"]._serialized_end = 1768 - _globals["_ATTRIBUTECONTEXT_RESOURCE"]._serialized_start = 2086 - _globals["_ATTRIBUTECONTEXT_RESOURCE"]._serialized_end = 2750 - _globals["_ATTRIBUTECONTEXT_RESOURCE_LABELSENTRY"]._serialized_start = 943 - _globals["_ATTRIBUTECONTEXT_RESOURCE_LABELSENTRY"]._serialized_end = 1000 - _globals["_ATTRIBUTECONTEXT_RESOURCE_ANNOTATIONSENTRY"]._serialized_start = 2688 - _globals["_ATTRIBUTECONTEXT_RESOURCE_ANNOTATIONSENTRY"]._serialized_end = 2750 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.google.rpc.contextB\025AttributeContextProtoP\001ZUgoogle.golang.org/genproto/googleapis/rpc/context/attribute_context;attribute_context\370\001\001\242\002\003GRC\252\002\022Google.Rpc.Context\312\002\022Google\\Rpc\\Context\342\002\036Google\\Rpc\\Context\\GPBMetadata\352\002\024Google::Rpc::Context' + _globals['_ATTRIBUTECONTEXT_PEER_LABELSENTRY']._loaded_options = None + _globals['_ATTRIBUTECONTEXT_PEER_LABELSENTRY']._serialized_options = b'8\001' + _globals['_ATTRIBUTECONTEXT_REQUEST_HEADERSENTRY']._loaded_options = None + _globals['_ATTRIBUTECONTEXT_REQUEST_HEADERSENTRY']._serialized_options = b'8\001' + _globals['_ATTRIBUTECONTEXT_RESPONSE_HEADERSENTRY']._loaded_options = None + _globals['_ATTRIBUTECONTEXT_RESPONSE_HEADERSENTRY']._serialized_options = b'8\001' + _globals['_ATTRIBUTECONTEXT_RESOURCE_LABELSENTRY']._loaded_options = None + _globals['_ATTRIBUTECONTEXT_RESOURCE_LABELSENTRY']._serialized_options = b'8\001' + _globals['_ATTRIBUTECONTEXT_RESOURCE_ANNOTATIONSENTRY']._loaded_options = None + _globals['_ATTRIBUTECONTEXT_RESOURCE_ANNOTATIONSENTRY']._serialized_options = b'8\001' + _globals['_ATTRIBUTECONTEXT']._serialized_start=189 + _globals['_ATTRIBUTECONTEXT']._serialized_end=2750 + _globals['_ATTRIBUTECONTEXT_PEER']._serialized_start=757 + _globals['_ATTRIBUTECONTEXT_PEER']._serialized_end=1000 + _globals['_ATTRIBUTECONTEXT_PEER_LABELSENTRY']._serialized_start=943 + _globals['_ATTRIBUTECONTEXT_PEER_LABELSENTRY']._serialized_end=1000 + _globals['_ATTRIBUTECONTEXT_API']._serialized_start=1002 + _globals['_ATTRIBUTECONTEXT_API']._serialized_end=1117 + _globals['_ATTRIBUTECONTEXT_AUTH']._serialized_start=1120 + _globals['_ATTRIBUTECONTEXT_AUTH']._serialized_end=1302 + _globals['_ATTRIBUTECONTEXT_REQUEST']._serialized_start=1305 + _globals['_ATTRIBUTECONTEXT_REQUEST']._serialized_end=1768 + _globals['_ATTRIBUTECONTEXT_REQUEST_HEADERSENTRY']._serialized_start=1710 + _globals['_ATTRIBUTECONTEXT_REQUEST_HEADERSENTRY']._serialized_end=1768 + _globals['_ATTRIBUTECONTEXT_RESPONSE']._serialized_start=1771 + _globals['_ATTRIBUTECONTEXT_RESPONSE']._serialized_end=2083 + _globals['_ATTRIBUTECONTEXT_RESPONSE_HEADERSENTRY']._serialized_start=1710 + _globals['_ATTRIBUTECONTEXT_RESPONSE_HEADERSENTRY']._serialized_end=1768 + _globals['_ATTRIBUTECONTEXT_RESOURCE']._serialized_start=2086 + _globals['_ATTRIBUTECONTEXT_RESOURCE']._serialized_end=2750 + _globals['_ATTRIBUTECONTEXT_RESOURCE_LABELSENTRY']._serialized_start=943 + _globals['_ATTRIBUTECONTEXT_RESOURCE_LABELSENTRY']._serialized_end=1000 + _globals['_ATTRIBUTECONTEXT_RESOURCE_ANNOTATIONSENTRY']._serialized_start=2688 + _globals['_ATTRIBUTECONTEXT_RESOURCE_ANNOTATIONSENTRY']._serialized_end=2750 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/rpc/context/attribute_context_pb2_grpc.py b/pyinjective/proto/google/rpc/context/attribute_context_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/google/rpc/context/attribute_context_pb2_grpc.py +++ b/pyinjective/proto/google/rpc/context/attribute_context_pb2_grpc.py @@ -1,3 +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/google/rpc/error_details_pb2.py b/pyinjective/proto/google/rpc/error_details_pb2.py index d9daddeb..8e61e43c 100644 --- a/pyinjective/proto/google/rpc/error_details_pb2.py +++ b/pyinjective/proto/google/rpc/error_details_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,48 +15,44 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1egoogle/rpc/error_details.proto\x12\ngoogle.rpc\x1a\x1egoogle/protobuf/duration.proto"\xb9\x01\n\tErrorInfo\x12\x16\n\x06reason\x18\x01 \x01(\tR\x06reason\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12?\n\x08metadata\x18\x03 \x03(\x0b\x32#.google.rpc.ErrorInfo.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"G\n\tRetryInfo\x12:\n\x0bretry_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\nretryDelay"H\n\tDebugInfo\x12#\n\rstack_entries\x18\x01 \x03(\tR\x0cstackEntries\x12\x16\n\x06\x64\x65tail\x18\x02 \x01(\tR\x06\x64\x65tail"\x9b\x01\n\x0cQuotaFailure\x12\x42\n\nviolations\x18\x01 \x03(\x0b\x32".google.rpc.QuotaFailure.ViolationR\nviolations\x1aG\n\tViolation\x12\x18\n\x07subject\x18\x01 \x01(\tR\x07subject\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription"\xbd\x01\n\x13PreconditionFailure\x12I\n\nviolations\x18\x01 \x03(\x0b\x32).google.rpc.PreconditionFailure.ViolationR\nviolations\x1a[\n\tViolation\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x18\n\x07subject\x18\x02 \x01(\tR\x07subject\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription"\x8c\x02\n\nBadRequest\x12P\n\x10\x66ield_violations\x18\x01 \x03(\x0b\x32%.google.rpc.BadRequest.FieldViolationR\x0f\x66ieldViolations\x1a\xab\x01\n\x0e\x46ieldViolation\x12\x14\n\x05\x66ield\x18\x01 \x01(\tR\x05\x66ield\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason\x12I\n\x11localized_message\x18\x04 \x01(\x0b\x32\x1c.google.rpc.LocalizedMessageR\x10localizedMessage"O\n\x0bRequestInfo\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12!\n\x0cserving_data\x18\x02 \x01(\tR\x0bservingData"\x90\x01\n\x0cResourceInfo\x12#\n\rresource_type\x18\x01 \x01(\tR\x0cresourceType\x12#\n\rresource_name\x18\x02 \x01(\tR\x0cresourceName\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05owner\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription"o\n\x04Help\x12+\n\x05links\x18\x01 \x03(\x0b\x32\x15.google.rpc.Help.LinkR\x05links\x1a:\n\x04Link\x12 \n\x0b\x64\x65scription\x18\x01 \x01(\tR\x0b\x64\x65scription\x12\x10\n\x03url\x18\x02 \x01(\tR\x03url"D\n\x10LocalizedMessage\x12\x16\n\x06locale\x18\x01 \x01(\tR\x06locale\x12\x18\n\x07message\x18\x02 \x01(\tR\x07messageB\xad\x01\n\x0e\x63om.google.rpcB\x11\x45rrorDetailsProtoP\x01Z?google.golang.org/genproto/googleapis/rpc/errdetails;errdetails\xa2\x02\x03GRX\xaa\x02\nGoogle.Rpc\xca\x02\nGoogle\\Rpc\xe2\x02\x16Google\\Rpc\\GPBMetadata\xea\x02\x0bGoogle::Rpcb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1egoogle/rpc/error_details.proto\x12\ngoogle.rpc\x1a\x1egoogle/protobuf/duration.proto\"\xb9\x01\n\tErrorInfo\x12\x16\n\x06reason\x18\x01 \x01(\tR\x06reason\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12?\n\x08metadata\x18\x03 \x03(\x0b\x32#.google.rpc.ErrorInfo.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"G\n\tRetryInfo\x12:\n\x0bretry_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\nretryDelay\"H\n\tDebugInfo\x12#\n\rstack_entries\x18\x01 \x03(\tR\x0cstackEntries\x12\x16\n\x06\x64\x65tail\x18\x02 \x01(\tR\x06\x64\x65tail\"\x9b\x01\n\x0cQuotaFailure\x12\x42\n\nviolations\x18\x01 \x03(\x0b\x32\".google.rpc.QuotaFailure.ViolationR\nviolations\x1aG\n\tViolation\x12\x18\n\x07subject\x18\x01 \x01(\tR\x07subject\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\"\xbd\x01\n\x13PreconditionFailure\x12I\n\nviolations\x18\x01 \x03(\x0b\x32).google.rpc.PreconditionFailure.ViolationR\nviolations\x1a[\n\tViolation\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x18\n\x07subject\x18\x02 \x01(\tR\x07subject\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\"\x8c\x02\n\nBadRequest\x12P\n\x10\x66ield_violations\x18\x01 \x03(\x0b\x32%.google.rpc.BadRequest.FieldViolationR\x0f\x66ieldViolations\x1a\xab\x01\n\x0e\x46ieldViolation\x12\x14\n\x05\x66ield\x18\x01 \x01(\tR\x05\x66ield\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason\x12I\n\x11localized_message\x18\x04 \x01(\x0b\x32\x1c.google.rpc.LocalizedMessageR\x10localizedMessage\"O\n\x0bRequestInfo\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12!\n\x0cserving_data\x18\x02 \x01(\tR\x0bservingData\"\x90\x01\n\x0cResourceInfo\x12#\n\rresource_type\x18\x01 \x01(\tR\x0cresourceType\x12#\n\rresource_name\x18\x02 \x01(\tR\x0cresourceName\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05owner\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\"o\n\x04Help\x12+\n\x05links\x18\x01 \x03(\x0b\x32\x15.google.rpc.Help.LinkR\x05links\x1a:\n\x04Link\x12 \n\x0b\x64\x65scription\x18\x01 \x01(\tR\x0b\x64\x65scription\x12\x10\n\x03url\x18\x02 \x01(\tR\x03url\"D\n\x10LocalizedMessage\x12\x16\n\x06locale\x18\x01 \x01(\tR\x06locale\x12\x18\n\x07message\x18\x02 \x01(\tR\x07messageB\xad\x01\n\x0e\x63om.google.rpcB\x11\x45rrorDetailsProtoP\x01Z?google.golang.org/genproto/googleapis/rpc/errdetails;errdetails\xa2\x02\x03GRX\xaa\x02\nGoogle.Rpc\xca\x02\nGoogle\\Rpc\xe2\x02\x16Google\\Rpc\\GPBMetadata\xea\x02\x0bGoogle::Rpcb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.rpc.error_details_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.rpc.error_details_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\016com.google.rpcB\021ErrorDetailsProtoP\001Z?google.golang.org/genproto/googleapis/rpc/errdetails;errdetails\242\002\003GRX\252\002\nGoogle.Rpc\312\002\nGoogle\\Rpc\342\002\026Google\\Rpc\\GPBMetadata\352\002\013Google::Rpc" - ) - _globals["_ERRORINFO_METADATAENTRY"]._loaded_options = None - _globals["_ERRORINFO_METADATAENTRY"]._serialized_options = b"8\001" - _globals["_ERRORINFO"]._serialized_start = 79 - _globals["_ERRORINFO"]._serialized_end = 264 - _globals["_ERRORINFO_METADATAENTRY"]._serialized_start = 205 - _globals["_ERRORINFO_METADATAENTRY"]._serialized_end = 264 - _globals["_RETRYINFO"]._serialized_start = 266 - _globals["_RETRYINFO"]._serialized_end = 337 - _globals["_DEBUGINFO"]._serialized_start = 339 - _globals["_DEBUGINFO"]._serialized_end = 411 - _globals["_QUOTAFAILURE"]._serialized_start = 414 - _globals["_QUOTAFAILURE"]._serialized_end = 569 - _globals["_QUOTAFAILURE_VIOLATION"]._serialized_start = 498 - _globals["_QUOTAFAILURE_VIOLATION"]._serialized_end = 569 - _globals["_PRECONDITIONFAILURE"]._serialized_start = 572 - _globals["_PRECONDITIONFAILURE"]._serialized_end = 761 - _globals["_PRECONDITIONFAILURE_VIOLATION"]._serialized_start = 670 - _globals["_PRECONDITIONFAILURE_VIOLATION"]._serialized_end = 761 - _globals["_BADREQUEST"]._serialized_start = 764 - _globals["_BADREQUEST"]._serialized_end = 1032 - _globals["_BADREQUEST_FIELDVIOLATION"]._serialized_start = 861 - _globals["_BADREQUEST_FIELDVIOLATION"]._serialized_end = 1032 - _globals["_REQUESTINFO"]._serialized_start = 1034 - _globals["_REQUESTINFO"]._serialized_end = 1113 - _globals["_RESOURCEINFO"]._serialized_start = 1116 - _globals["_RESOURCEINFO"]._serialized_end = 1260 - _globals["_HELP"]._serialized_start = 1262 - _globals["_HELP"]._serialized_end = 1373 - _globals["_HELP_LINK"]._serialized_start = 1315 - _globals["_HELP_LINK"]._serialized_end = 1373 - _globals["_LOCALIZEDMESSAGE"]._serialized_start = 1375 - _globals["_LOCALIZEDMESSAGE"]._serialized_end = 1443 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.rpcB\021ErrorDetailsProtoP\001Z?google.golang.org/genproto/googleapis/rpc/errdetails;errdetails\242\002\003GRX\252\002\nGoogle.Rpc\312\002\nGoogle\\Rpc\342\002\026Google\\Rpc\\GPBMetadata\352\002\013Google::Rpc' + _globals['_ERRORINFO_METADATAENTRY']._loaded_options = None + _globals['_ERRORINFO_METADATAENTRY']._serialized_options = b'8\001' + _globals['_ERRORINFO']._serialized_start=79 + _globals['_ERRORINFO']._serialized_end=264 + _globals['_ERRORINFO_METADATAENTRY']._serialized_start=205 + _globals['_ERRORINFO_METADATAENTRY']._serialized_end=264 + _globals['_RETRYINFO']._serialized_start=266 + _globals['_RETRYINFO']._serialized_end=337 + _globals['_DEBUGINFO']._serialized_start=339 + _globals['_DEBUGINFO']._serialized_end=411 + _globals['_QUOTAFAILURE']._serialized_start=414 + _globals['_QUOTAFAILURE']._serialized_end=569 + _globals['_QUOTAFAILURE_VIOLATION']._serialized_start=498 + _globals['_QUOTAFAILURE_VIOLATION']._serialized_end=569 + _globals['_PRECONDITIONFAILURE']._serialized_start=572 + _globals['_PRECONDITIONFAILURE']._serialized_end=761 + _globals['_PRECONDITIONFAILURE_VIOLATION']._serialized_start=670 + _globals['_PRECONDITIONFAILURE_VIOLATION']._serialized_end=761 + _globals['_BADREQUEST']._serialized_start=764 + _globals['_BADREQUEST']._serialized_end=1032 + _globals['_BADREQUEST_FIELDVIOLATION']._serialized_start=861 + _globals['_BADREQUEST_FIELDVIOLATION']._serialized_end=1032 + _globals['_REQUESTINFO']._serialized_start=1034 + _globals['_REQUESTINFO']._serialized_end=1113 + _globals['_RESOURCEINFO']._serialized_start=1116 + _globals['_RESOURCEINFO']._serialized_end=1260 + _globals['_HELP']._serialized_start=1262 + _globals['_HELP']._serialized_end=1373 + _globals['_HELP_LINK']._serialized_start=1315 + _globals['_HELP_LINK']._serialized_end=1373 + _globals['_LOCALIZEDMESSAGE']._serialized_start=1375 + _globals['_LOCALIZEDMESSAGE']._serialized_end=1443 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/rpc/error_details_pb2_grpc.py b/pyinjective/proto/google/rpc/error_details_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/google/rpc/error_details_pb2_grpc.py +++ b/pyinjective/proto/google/rpc/error_details_pb2_grpc.py @@ -1,3 +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/google/rpc/status_pb2.py b/pyinjective/proto/google/rpc/status_pb2.py index 36bc97ac..f631b92b 100644 --- a/pyinjective/proto/google/rpc/status_pb2.py +++ b/pyinjective/proto/google/rpc/status_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,18 +15,14 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x17google/rpc/status.proto\x12\ngoogle.rpc\x1a\x19google/protobuf/any.proto"f\n\x06Status\x12\x12\n\x04\x63ode\x18\x01 \x01(\x05R\x04\x63ode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12.\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyR\x07\x64\x65tailsB\xa2\x01\n\x0e\x63om.google.rpcB\x0bStatusProtoP\x01Z7google.golang.org/genproto/googleapis/rpc/status;status\xf8\x01\x01\xa2\x02\x03GRX\xaa\x02\nGoogle.Rpc\xca\x02\nGoogle\\Rpc\xe2\x02\x16Google\\Rpc\\GPBMetadata\xea\x02\x0bGoogle::Rpcb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17google/rpc/status.proto\x12\ngoogle.rpc\x1a\x19google/protobuf/any.proto\"f\n\x06Status\x12\x12\n\x04\x63ode\x18\x01 \x01(\x05R\x04\x63ode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12.\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyR\x07\x64\x65tailsB\xa2\x01\n\x0e\x63om.google.rpcB\x0bStatusProtoP\x01Z7google.golang.org/genproto/googleapis/rpc/status;status\xf8\x01\x01\xa2\x02\x03GRX\xaa\x02\nGoogle.Rpc\xca\x02\nGoogle\\Rpc\xe2\x02\x16Google\\Rpc\\GPBMetadata\xea\x02\x0bGoogle::Rpcb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.rpc.status_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.rpc.status_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\016com.google.rpcB\013StatusProtoP\001Z7google.golang.org/genproto/googleapis/rpc/status;status\370\001\001\242\002\003GRX\252\002\nGoogle.Rpc\312\002\nGoogle\\Rpc\342\002\026Google\\Rpc\\GPBMetadata\352\002\013Google::Rpc" - ) - _globals["_STATUS"]._serialized_start = 66 - _globals["_STATUS"]._serialized_end = 168 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.rpcB\013StatusProtoP\001Z7google.golang.org/genproto/googleapis/rpc/status;status\370\001\001\242\002\003GRX\252\002\nGoogle.Rpc\312\002\nGoogle\\Rpc\342\002\026Google\\Rpc\\GPBMetadata\352\002\013Google::Rpc' + _globals['_STATUS']._serialized_start=66 + _globals['_STATUS']._serialized_end=168 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/rpc/status_pb2_grpc.py b/pyinjective/proto/google/rpc/status_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/google/rpc/status_pb2_grpc.py +++ b/pyinjective/proto/google/rpc/status_pb2_grpc.py @@ -1,3 +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/google/type/calendar_period_pb2.py b/pyinjective/proto/google/type/calendar_period_pb2.py index 18df0bd7..0afa1071 100644 --- a/pyinjective/proto/google/type/calendar_period_pb2.py +++ b/pyinjective/proto/google/type/calendar_period_pb2.py @@ -7,24 +7,21 @@ 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!google/type/calendar_period.proto\x12\x0bgoogle.type*\x7f\n\x0e\x43\x61lendarPeriod\x12\x1f\n\x1b\x43\x41LENDAR_PERIOD_UNSPECIFIED\x10\x00\x12\x07\n\x03\x44\x41Y\x10\x01\x12\x08\n\x04WEEK\x10\x02\x12\r\n\tFORTNIGHT\x10\x03\x12\t\n\x05MONTH\x10\x04\x12\x0b\n\x07QUARTER\x10\x05\x12\x08\n\x04HALF\x10\x06\x12\x08\n\x04YEAR\x10\x07\x42\xbd\x01\n\x0f\x63om.google.typeB\x13\x43\x61lendarPeriodProtoP\x01ZHgoogle.golang.org/genproto/googleapis/type/calendarperiod;calendarperiod\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3" -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!google/type/calendar_period.proto\x12\x0bgoogle.type*\x7f\n\x0e\x43\x61lendarPeriod\x12\x1f\n\x1b\x43\x41LENDAR_PERIOD_UNSPECIFIED\x10\x00\x12\x07\n\x03\x44\x41Y\x10\x01\x12\x08\n\x04WEEK\x10\x02\x12\r\n\tFORTNIGHT\x10\x03\x12\t\n\x05MONTH\x10\x04\x12\x0b\n\x07QUARTER\x10\x05\x12\x08\n\x04HALF\x10\x06\x12\x08\n\x04YEAR\x10\x07\x42\xbd\x01\n\x0f\x63om.google.typeB\x13\x43\x61lendarPeriodProtoP\x01ZHgoogle.golang.org/genproto/googleapis/type/calendarperiod;calendarperiod\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.type.calendar_period_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.type.calendar_period_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\017com.google.typeB\023CalendarPeriodProtoP\001ZHgoogle.golang.org/genproto/googleapis/type/calendarperiod;calendarperiod\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type" - ) - _globals["_CALENDARPERIOD"]._serialized_start = 50 - _globals["_CALENDARPERIOD"]._serialized_end = 177 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\017com.google.typeB\023CalendarPeriodProtoP\001ZHgoogle.golang.org/genproto/googleapis/type/calendarperiod;calendarperiod\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type' + _globals['_CALENDARPERIOD']._serialized_start=50 + _globals['_CALENDARPERIOD']._serialized_end=177 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/type/calendar_period_pb2_grpc.py b/pyinjective/proto/google/type/calendar_period_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/google/type/calendar_period_pb2_grpc.py +++ b/pyinjective/proto/google/type/calendar_period_pb2_grpc.py @@ -1,3 +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/google/type/color_pb2.py b/pyinjective/proto/google/type/color_pb2.py index 4db884ce..1ed0f915 100644 --- a/pyinjective/proto/google/type/color_pb2.py +++ b/pyinjective/proto/google/type/color_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,18 +15,14 @@ from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x17google/type/color.proto\x12\x0bgoogle.type\x1a\x1egoogle/protobuf/wrappers.proto"v\n\x05\x43olor\x12\x10\n\x03red\x18\x01 \x01(\x02R\x03red\x12\x14\n\x05green\x18\x02 \x01(\x02R\x05green\x12\x12\n\x04\x62lue\x18\x03 \x01(\x02R\x04\x62lue\x12\x31\n\x05\x61lpha\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.FloatValueR\x05\x61lphaB\xa5\x01\n\x0f\x63om.google.typeB\nColorProtoP\x01Z6google.golang.org/genproto/googleapis/type/color;color\xf8\x01\x01\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17google/type/color.proto\x12\x0bgoogle.type\x1a\x1egoogle/protobuf/wrappers.proto\"v\n\x05\x43olor\x12\x10\n\x03red\x18\x01 \x01(\x02R\x03red\x12\x14\n\x05green\x18\x02 \x01(\x02R\x05green\x12\x12\n\x04\x62lue\x18\x03 \x01(\x02R\x04\x62lue\x12\x31\n\x05\x61lpha\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.FloatValueR\x05\x61lphaB\xa5\x01\n\x0f\x63om.google.typeB\nColorProtoP\x01Z6google.golang.org/genproto/googleapis/type/color;color\xf8\x01\x01\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.type.color_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.type.color_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\017com.google.typeB\nColorProtoP\001Z6google.golang.org/genproto/googleapis/type/color;color\370\001\001\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type" - ) - _globals["_COLOR"]._serialized_start = 72 - _globals["_COLOR"]._serialized_end = 190 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\017com.google.typeB\nColorProtoP\001Z6google.golang.org/genproto/googleapis/type/color;color\370\001\001\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type' + _globals['_COLOR']._serialized_start=72 + _globals['_COLOR']._serialized_end=190 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/type/color_pb2_grpc.py b/pyinjective/proto/google/type/color_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/google/type/color_pb2_grpc.py +++ b/pyinjective/proto/google/type/color_pb2_grpc.py @@ -1,3 +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/google/type/date_pb2.py b/pyinjective/proto/google/type/date_pb2.py index fd3f51c4..ac5364e7 100644 --- a/pyinjective/proto/google/type/date_pb2.py +++ b/pyinjective/proto/google/type/date_pb2.py @@ -7,24 +7,21 @@ 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\x16google/type/date.proto\x12\x0bgoogle.type"B\n\x04\x44\x61te\x12\x12\n\x04year\x18\x01 \x01(\x05R\x04year\x12\x14\n\x05month\x18\x02 \x01(\x05R\x05month\x12\x10\n\x03\x64\x61y\x18\x03 \x01(\x05R\x03\x64\x61yB\xa2\x01\n\x0f\x63om.google.typeB\tDateProtoP\x01Z4google.golang.org/genproto/googleapis/type/date;date\xf8\x01\x01\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16google/type/date.proto\x12\x0bgoogle.type\"B\n\x04\x44\x61te\x12\x12\n\x04year\x18\x01 \x01(\x05R\x04year\x12\x14\n\x05month\x18\x02 \x01(\x05R\x05month\x12\x10\n\x03\x64\x61y\x18\x03 \x01(\x05R\x03\x64\x61yB\xa2\x01\n\x0f\x63om.google.typeB\tDateProtoP\x01Z4google.golang.org/genproto/googleapis/type/date;date\xf8\x01\x01\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.type.date_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.type.date_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\017com.google.typeB\tDateProtoP\001Z4google.golang.org/genproto/googleapis/type/date;date\370\001\001\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type" - ) - _globals["_DATE"]._serialized_start = 39 - _globals["_DATE"]._serialized_end = 105 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\017com.google.typeB\tDateProtoP\001Z4google.golang.org/genproto/googleapis/type/date;date\370\001\001\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type' + _globals['_DATE']._serialized_start=39 + _globals['_DATE']._serialized_end=105 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/type/date_pb2_grpc.py b/pyinjective/proto/google/type/date_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/google/type/date_pb2_grpc.py +++ b/pyinjective/proto/google/type/date_pb2_grpc.py @@ -1,3 +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/google/type/datetime_pb2.py b/pyinjective/proto/google/type/datetime_pb2.py index 4d613bc3..24a5a73f 100644 --- a/pyinjective/proto/google/type/datetime_pb2.py +++ b/pyinjective/proto/google/type/datetime_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1agoogle/type/datetime.proto\x12\x0bgoogle.type\x1a\x1egoogle/protobuf/duration.proto"\xa7\x02\n\x08\x44\x61teTime\x12\x12\n\x04year\x18\x01 \x01(\x05R\x04year\x12\x14\n\x05month\x18\x02 \x01(\x05R\x05month\x12\x10\n\x03\x64\x61y\x18\x03 \x01(\x05R\x03\x64\x61y\x12\x14\n\x05hours\x18\x04 \x01(\x05R\x05hours\x12\x18\n\x07minutes\x18\x05 \x01(\x05R\x07minutes\x12\x18\n\x07seconds\x18\x06 \x01(\x05R\x07seconds\x12\x14\n\x05nanos\x18\x07 \x01(\x05R\x05nanos\x12:\n\nutc_offset\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00R\tutcOffset\x12\x34\n\ttime_zone\x18\t \x01(\x0b\x32\x15.google.type.TimeZoneH\x00R\x08timeZoneB\r\n\x0btime_offset"4\n\x08TimeZone\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n\x07version\x18\x02 \x01(\tR\x07versionB\xae\x01\n\x0f\x63om.google.typeB\rDatetimeProtoP\x01Zgoogle.golang.org/genproto/googleapis/type/dayofweek;dayofweek\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3" -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bgoogle/type/dayofweek.proto\x12\x0bgoogle.type*\x84\x01\n\tDayOfWeek\x12\x1b\n\x17\x44\x41Y_OF_WEEK_UNSPECIFIED\x10\x00\x12\n\n\x06MONDAY\x10\x01\x12\x0b\n\x07TUESDAY\x10\x02\x12\r\n\tWEDNESDAY\x10\x03\x12\x0c\n\x08THURSDAY\x10\x04\x12\n\n\x06\x46RIDAY\x10\x05\x12\x0c\n\x08SATURDAY\x10\x06\x12\n\n\x06SUNDAY\x10\x07\x42\xae\x01\n\x0f\x63om.google.typeB\x0e\x44\x61yofweekProtoP\x01Z>google.golang.org/genproto/googleapis/type/dayofweek;dayofweek\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.type.dayofweek_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.type.dayofweek_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\017com.google.typeB\016DayofweekProtoP\001Z>google.golang.org/genproto/googleapis/type/dayofweek;dayofweek\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type" - ) - _globals["_DAYOFWEEK"]._serialized_start = 45 - _globals["_DAYOFWEEK"]._serialized_end = 177 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\017com.google.typeB\016DayofweekProtoP\001Z>google.golang.org/genproto/googleapis/type/dayofweek;dayofweek\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type' + _globals['_DAYOFWEEK']._serialized_start=45 + _globals['_DAYOFWEEK']._serialized_end=177 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/type/dayofweek_pb2_grpc.py b/pyinjective/proto/google/type/dayofweek_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/google/type/dayofweek_pb2_grpc.py +++ b/pyinjective/proto/google/type/dayofweek_pb2_grpc.py @@ -1,3 +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/google/type/decimal_pb2.py b/pyinjective/proto/google/type/decimal_pb2.py index 50a72f3c..67ba6ef1 100644 --- a/pyinjective/proto/google/type/decimal_pb2.py +++ b/pyinjective/proto/google/type/decimal_pb2.py @@ -7,24 +7,21 @@ 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\x19google/type/decimal.proto\x12\x0bgoogle.type"\x1f\n\x07\x44\x65\x63imal\x12\x14\n\x05value\x18\x01 \x01(\tR\x05valueB\xab\x01\n\x0f\x63om.google.typeB\x0c\x44\x65\x63imalProtoP\x01Z:google.golang.org/genproto/googleapis/type/decimal;decimal\xf8\x01\x01\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19google/type/decimal.proto\x12\x0bgoogle.type\"\x1f\n\x07\x44\x65\x63imal\x12\x14\n\x05value\x18\x01 \x01(\tR\x05valueB\xab\x01\n\x0f\x63om.google.typeB\x0c\x44\x65\x63imalProtoP\x01Z:google.golang.org/genproto/googleapis/type/decimal;decimal\xf8\x01\x01\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.type.decimal_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.type.decimal_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\017com.google.typeB\014DecimalProtoP\001Z:google.golang.org/genproto/googleapis/type/decimal;decimal\370\001\001\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type" - ) - _globals["_DECIMAL"]._serialized_start = 42 - _globals["_DECIMAL"]._serialized_end = 73 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\017com.google.typeB\014DecimalProtoP\001Z:google.golang.org/genproto/googleapis/type/decimal;decimal\370\001\001\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type' + _globals['_DECIMAL']._serialized_start=42 + _globals['_DECIMAL']._serialized_end=73 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/type/decimal_pb2_grpc.py b/pyinjective/proto/google/type/decimal_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/google/type/decimal_pb2_grpc.py +++ b/pyinjective/proto/google/type/decimal_pb2_grpc.py @@ -1,3 +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/google/type/expr_pb2.py b/pyinjective/proto/google/type/expr_pb2.py index b7664206..f3799ecc 100644 --- a/pyinjective/proto/google/type/expr_pb2.py +++ b/pyinjective/proto/google/type/expr_pb2.py @@ -7,24 +7,21 @@ 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\x16google/type/expr.proto\x12\x0bgoogle.type"z\n\x04\x45xpr\x12\x1e\n\nexpression\x18\x01 \x01(\tR\nexpression\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08location\x18\x04 \x01(\tR\x08locationB\x9f\x01\n\x0f\x63om.google.typeB\tExprProtoP\x01Z4google.golang.org/genproto/googleapis/type/expr;expr\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16google/type/expr.proto\x12\x0bgoogle.type\"z\n\x04\x45xpr\x12\x1e\n\nexpression\x18\x01 \x01(\tR\nexpression\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08location\x18\x04 \x01(\tR\x08locationB\x9f\x01\n\x0f\x63om.google.typeB\tExprProtoP\x01Z4google.golang.org/genproto/googleapis/type/expr;expr\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.type.expr_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.type.expr_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\017com.google.typeB\tExprProtoP\001Z4google.golang.org/genproto/googleapis/type/expr;expr\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type" - ) - _globals["_EXPR"]._serialized_start = 39 - _globals["_EXPR"]._serialized_end = 161 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\017com.google.typeB\tExprProtoP\001Z4google.golang.org/genproto/googleapis/type/expr;expr\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type' + _globals['_EXPR']._serialized_start=39 + _globals['_EXPR']._serialized_end=161 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/type/expr_pb2_grpc.py b/pyinjective/proto/google/type/expr_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/google/type/expr_pb2_grpc.py +++ b/pyinjective/proto/google/type/expr_pb2_grpc.py @@ -1,3 +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/google/type/fraction_pb2.py b/pyinjective/proto/google/type/fraction_pb2.py index 7269f810..4331d1bc 100644 --- a/pyinjective/proto/google/type/fraction_pb2.py +++ b/pyinjective/proto/google/type/fraction_pb2.py @@ -7,24 +7,21 @@ 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\x1agoogle/type/fraction.proto\x12\x0bgoogle.type"J\n\x08\x46raction\x12\x1c\n\tnumerator\x18\x01 \x01(\x03R\tnumerator\x12 \n\x0b\x64\x65nominator\x18\x02 \x01(\x03R\x0b\x64\x65nominatorB\xab\x01\n\x0f\x63om.google.typeB\rFractionProtoP\x01Zgoogle.golang.org/genproto/googleapis/type/timeofday;timeofday\xf8\x01\x01\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bgoogle/type/timeofday.proto\x12\x0bgoogle.type\"k\n\tTimeOfDay\x12\x14\n\x05hours\x18\x01 \x01(\x05R\x05hours\x12\x18\n\x07minutes\x18\x02 \x01(\x05R\x07minutes\x12\x18\n\x07seconds\x18\x03 \x01(\x05R\x07seconds\x12\x14\n\x05nanos\x18\x04 \x01(\x05R\x05nanosB\xb1\x01\n\x0f\x63om.google.typeB\x0eTimeofdayProtoP\x01Z>google.golang.org/genproto/googleapis/type/timeofday;timeofday\xf8\x01\x01\xa2\x02\x03GTX\xaa\x02\x0bGoogle.Type\xca\x02\x0bGoogle\\Type\xe2\x02\x17Google\\Type\\GPBMetadata\xea\x02\x0cGoogle::Typeb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.type.timeofday_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.type.timeofday_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\017com.google.typeB\016TimeofdayProtoP\001Z>google.golang.org/genproto/googleapis/type/timeofday;timeofday\370\001\001\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type" - ) - _globals["_TIMEOFDAY"]._serialized_start = 44 - _globals["_TIMEOFDAY"]._serialized_end = 151 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\017com.google.typeB\016TimeofdayProtoP\001Z>google.golang.org/genproto/googleapis/type/timeofday;timeofday\370\001\001\242\002\003GTX\252\002\013Google.Type\312\002\013Google\\Type\342\002\027Google\\Type\\GPBMetadata\352\002\014Google::Type' + _globals['_TIMEOFDAY']._serialized_start=44 + _globals['_TIMEOFDAY']._serialized_end=151 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/google/type/timeofday_pb2_grpc.py b/pyinjective/proto/google/type/timeofday_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/google/type/timeofday_pb2_grpc.py +++ b/pyinjective/proto/google/type/timeofday_pb2_grpc.py @@ -1,3 +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/ibc/applications/fee/v1/ack_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py index 2159921a..9aad2964 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py @@ -7,24 +7,21 @@ 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!ibc/applications/fee/v1/ack.proto\x12\x17ibc.applications.fee.v1"\xbc\x01\n\x1bIncentivizedAcknowledgement\x12/\n\x13\x61pp_acknowledgement\x18\x01 \x01(\x0cR\x12\x61ppAcknowledgement\x12\x36\n\x17\x66orward_relayer_address\x18\x02 \x01(\tR\x15\x66orwardRelayerAddress\x12\x34\n\x16underlying_app_success\x18\x03 \x01(\x08R\x14underlyingAppSuccessB\xdd\x01\n\x1b\x63om.ibc.applications.fee.v1B\x08\x41\x63kProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/ack.proto\x12\x17ibc.applications.fee.v1\"\xbc\x01\n\x1bIncentivizedAcknowledgement\x12/\n\x13\x61pp_acknowledgement\x18\x01 \x01(\x0cR\x12\x61ppAcknowledgement\x12\x36\n\x17\x66orward_relayer_address\x18\x02 \x01(\tR\x15\x66orwardRelayerAddress\x12\x34\n\x16underlying_app_success\x18\x03 \x01(\x08R\x14underlyingAppSuccessB\xdd\x01\n\x1b\x63om.ibc.applications.fee.v1B\x08\x41\x63kProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.fee.v1.ack_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.ack_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.ibc.applications.fee.v1B\010AckProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1" - ) - _globals["_INCENTIVIZEDACKNOWLEDGEMENT"]._serialized_start = 63 - _globals["_INCENTIVIZEDACKNOWLEDGEMENT"]._serialized_end = 251 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\010AckProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' + _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_start=63 + _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_end=251 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2_grpc.py @@ -1,3 +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/ibc/applications/fee/v1/fee_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py index 2300a619..9ceb29cf 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,52 +19,36 @@ from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!ibc/applications/fee/v1/fee.proto\x12\x17ibc.applications.fee.v1\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto"\xf4\x02\n\x03\x46\x65\x65\x12w\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_coinsR\x07recvFee\x12u\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_coinsR\x06\x61\x63kFee\x12}\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_coinsR\ntimeoutFee"\x99\x01\n\tPacketFee\x12\x34\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00R\x03\x66\x65\x65\x12%\n\x0erefund_address\x18\x02 \x01(\tR\rrefundAddress\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:\x13\x82\xe7\xb0*\x0erefund_address"W\n\nPacketFees\x12I\n\x0bpacket_fees\x18\x01 \x03(\x0b\x32".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00R\npacketFees"\xa3\x01\n\x14IdentifiedPacketFees\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\x12I\n\x0bpacket_fees\x18\x02 \x03(\x0b\x32".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00R\npacketFeesB\xdd\x01\n\x1b\x63om.ibc.applications.fee.v1B\x08\x46\x65\x65ProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\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\"\xf4\x02\n\x03\x46\x65\x65\x12w\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_coinsR\x07recvFee\x12u\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_coinsR\x06\x61\x63kFee\x12}\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_coinsR\ntimeoutFee\"\x99\x01\n\tPacketFee\x12\x34\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00R\x03\x66\x65\x65\x12%\n\x0erefund_address\x18\x02 \x01(\tR\rrefundAddress\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:\x13\x82\xe7\xb0*\x0erefund_address\"W\n\nPacketFees\x12I\n\x0bpacket_fees\x18\x01 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00R\npacketFees\"\xa3\x01\n\x14IdentifiedPacketFees\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\x12I\n\x0bpacket_fees\x18\x02 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00R\npacketFeesB\xdd\x01\n\x1b\x63om.ibc.applications.fee.v1B\x08\x46\x65\x65ProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.fee.v1.fee_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.fee_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.ibc.applications.fee.v1B\010FeeProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1" - ) - _globals["_FEE"].fields_by_name["recv_fee"]._loaded_options = None - _globals["_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" - ) - _globals["_FEE"].fields_by_name["ack_fee"]._loaded_options = None - _globals["_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" - ) - _globals["_FEE"].fields_by_name["timeout_fee"]._loaded_options = None - _globals["_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" - ) - _globals["_PACKETFEE"].fields_by_name["fee"]._loaded_options = None - _globals["_PACKETFEE"].fields_by_name["fee"]._serialized_options = b"\310\336\037\000" - _globals["_PACKETFEE"]._loaded_options = None - _globals["_PACKETFEE"]._serialized_options = b"\202\347\260*\016refund_address" - _globals["_PACKETFEES"].fields_by_name["packet_fees"]._loaded_options = None - _globals["_PACKETFEES"].fields_by_name["packet_fees"]._serialized_options = b"\310\336\037\000" - _globals["_IDENTIFIEDPACKETFEES"].fields_by_name["packet_id"]._loaded_options = None - _globals["_IDENTIFIEDPACKETFEES"].fields_by_name["packet_id"]._serialized_options = b"\310\336\037\000" - _globals["_IDENTIFIEDPACKETFEES"].fields_by_name["packet_fees"]._loaded_options = None - _globals["_IDENTIFIEDPACKETFEES"].fields_by_name["packet_fees"]._serialized_options = b"\310\336\037\000" - _globals["_FEE"]._serialized_start = 196 - _globals["_FEE"]._serialized_end = 568 - _globals["_PACKETFEE"]._serialized_start = 571 - _globals["_PACKETFEE"]._serialized_end = 724 - _globals["_PACKETFEES"]._serialized_start = 726 - _globals["_PACKETFEES"]._serialized_end = 813 - _globals["_IDENTIFIEDPACKETFEES"]._serialized_start = 816 - _globals["_IDENTIFIEDPACKETFEES"]._serialized_end = 979 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\010FeeProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' + _globals['_FEE'].fields_by_name['recv_fee']._loaded_options = None + _globals['_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' + _globals['_FEE'].fields_by_name['ack_fee']._loaded_options = None + _globals['_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' + _globals['_FEE'].fields_by_name['timeout_fee']._loaded_options = None + _globals['_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' + _globals['_PACKETFEE'].fields_by_name['fee']._loaded_options = None + _globals['_PACKETFEE'].fields_by_name['fee']._serialized_options = b'\310\336\037\000' + _globals['_PACKETFEE']._loaded_options = None + _globals['_PACKETFEE']._serialized_options = b'\202\347\260*\016refund_address' + _globals['_PACKETFEES'].fields_by_name['packet_fees']._loaded_options = None + _globals['_PACKETFEES'].fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000' + _globals['_IDENTIFIEDPACKETFEES'].fields_by_name['packet_id']._loaded_options = None + _globals['_IDENTIFIEDPACKETFEES'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _globals['_IDENTIFIEDPACKETFEES'].fields_by_name['packet_fees']._loaded_options = None + _globals['_IDENTIFIEDPACKETFEES'].fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000' + _globals['_FEE']._serialized_start=196 + _globals['_FEE']._serialized_end=568 + _globals['_PACKETFEE']._serialized_start=571 + _globals['_PACKETFEE']._serialized_end=724 + _globals['_PACKETFEES']._serialized_start=726 + _globals['_PACKETFEES']._serialized_end=813 + _globals['_IDENTIFIEDPACKETFEES']._serialized_start=816 + _globals['_IDENTIFIEDPACKETFEES']._serialized_end=979 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2_grpc.py @@ -1,3 +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/ibc/applications/fee/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py index 9ab193b3..ec4bd3ba 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,38 +17,34 @@ from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%ibc/applications/fee/v1/genesis.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto"\x91\x04\n\x0cGenesisState\x12\\\n\x0fidentified_fees\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00R\x0eidentifiedFees\x12\x62\n\x14\x66\x65\x65_enabled_channels\x18\x02 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00R\x12\x66\x65\x65\x45nabledChannels\x12[\n\x11registered_payees\x18\x03 \x03(\x0b\x32(.ibc.applications.fee.v1.RegisteredPayeeB\x04\xc8\xde\x1f\x00R\x10registeredPayees\x12\x80\x01\n\x1eregistered_counterparty_payees\x18\x04 \x03(\x0b\x32\x34.ibc.applications.fee.v1.RegisteredCounterpartyPayeeB\x04\xc8\xde\x1f\x00R\x1cregisteredCounterpartyPayees\x12_\n\x10\x66orward_relayers\x18\x05 \x03(\x0b\x32..ibc.applications.fee.v1.ForwardRelayerAddressB\x04\xc8\xde\x1f\x00R\x0f\x66orwardRelayers"K\n\x11\x46\x65\x65\x45nabledChannel\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"`\n\x0fRegisteredPayee\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\x12\x14\n\x05payee\x18\x03 \x01(\tR\x05payee"\x85\x01\n\x1bRegisteredCounterpartyPayee\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\x12-\n\x12\x63ounterparty_payee\x18\x03 \x01(\tR\x11\x63ounterpartyPayee"s\n\x15\x46orwardRelayerAddress\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\tpacket_id\x18\x02 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetIdB\xe1\x01\n\x1b\x63om.ibc.applications.fee.v1B\x0cGenesisProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/fee/v1/genesis.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\"\x91\x04\n\x0cGenesisState\x12\\\n\x0fidentified_fees\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00R\x0eidentifiedFees\x12\x62\n\x14\x66\x65\x65_enabled_channels\x18\x02 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00R\x12\x66\x65\x65\x45nabledChannels\x12[\n\x11registered_payees\x18\x03 \x03(\x0b\x32(.ibc.applications.fee.v1.RegisteredPayeeB\x04\xc8\xde\x1f\x00R\x10registeredPayees\x12\x80\x01\n\x1eregistered_counterparty_payees\x18\x04 \x03(\x0b\x32\x34.ibc.applications.fee.v1.RegisteredCounterpartyPayeeB\x04\xc8\xde\x1f\x00R\x1cregisteredCounterpartyPayees\x12_\n\x10\x66orward_relayers\x18\x05 \x03(\x0b\x32..ibc.applications.fee.v1.ForwardRelayerAddressB\x04\xc8\xde\x1f\x00R\x0f\x66orwardRelayers\"K\n\x11\x46\x65\x65\x45nabledChannel\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"`\n\x0fRegisteredPayee\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\x12\x14\n\x05payee\x18\x03 \x01(\tR\x05payee\"\x85\x01\n\x1bRegisteredCounterpartyPayee\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\x12-\n\x12\x63ounterparty_payee\x18\x03 \x01(\tR\x11\x63ounterpartyPayee\"s\n\x15\x46orwardRelayerAddress\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\tpacket_id\x18\x02 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetIdB\xe1\x01\n\x1b\x63om.ibc.applications.fee.v1B\x0cGenesisProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.fee.v1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.ibc.applications.fee.v1B\014GenesisProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1" - ) - _globals["_GENESISSTATE"].fields_by_name["identified_fees"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["identified_fees"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["fee_enabled_channels"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["fee_enabled_channels"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["registered_payees"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["registered_payees"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["registered_counterparty_payees"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["registered_counterparty_payees"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["forward_relayers"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["forward_relayers"]._serialized_options = b"\310\336\037\000" - _globals["_FORWARDRELAYERADDRESS"].fields_by_name["packet_id"]._loaded_options = None - _globals["_FORWARDRELAYERADDRESS"].fields_by_name["packet_id"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"]._serialized_start = 159 - _globals["_GENESISSTATE"]._serialized_end = 688 - _globals["_FEEENABLEDCHANNEL"]._serialized_start = 690 - _globals["_FEEENABLEDCHANNEL"]._serialized_end = 765 - _globals["_REGISTEREDPAYEE"]._serialized_start = 767 - _globals["_REGISTEREDPAYEE"]._serialized_end = 863 - _globals["_REGISTEREDCOUNTERPARTYPAYEE"]._serialized_start = 866 - _globals["_REGISTEREDCOUNTERPARTYPAYEE"]._serialized_end = 999 - _globals["_FORWARDRELAYERADDRESS"]._serialized_start = 1001 - _globals["_FORWARDRELAYERADDRESS"]._serialized_end = 1116 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\014GenesisProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' + _globals['_GENESISSTATE'].fields_by_name['identified_fees']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['identified_fees']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['fee_enabled_channels']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['fee_enabled_channels']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['registered_payees']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['registered_payees']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['registered_counterparty_payees']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['registered_counterparty_payees']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['forward_relayers']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['forward_relayers']._serialized_options = b'\310\336\037\000' + _globals['_FORWARDRELAYERADDRESS'].fields_by_name['packet_id']._loaded_options = None + _globals['_FORWARDRELAYERADDRESS'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=159 + _globals['_GENESISSTATE']._serialized_end=688 + _globals['_FEEENABLEDCHANNEL']._serialized_start=690 + _globals['_FEEENABLEDCHANNEL']._serialized_end=765 + _globals['_REGISTEREDPAYEE']._serialized_start=767 + _globals['_REGISTEREDPAYEE']._serialized_end=863 + _globals['_REGISTEREDCOUNTERPARTYPAYEE']._serialized_start=866 + _globals['_REGISTEREDCOUNTERPARTYPAYEE']._serialized_end=999 + _globals['_FORWARDRELAYERADDRESS']._serialized_start=1001 + _globals['_FORWARDRELAYERADDRESS']._serialized_end=1116 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2_grpc.py @@ -1,3 +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/ibc/applications/fee/v1/metadata_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py index 6c73cb36..59685938 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py @@ -7,24 +7,21 @@ 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&ibc/applications/fee/v1/metadata.proto\x12\x17ibc.applications.fee.v1"L\n\x08Metadata\x12\x1f\n\x0b\x66\x65\x65_version\x18\x01 \x01(\tR\nfeeVersion\x12\x1f\n\x0b\x61pp_version\x18\x02 \x01(\tR\nappVersionB\xe2\x01\n\x1b\x63om.ibc.applications.fee.v1B\rMetadataProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&ibc/applications/fee/v1/metadata.proto\x12\x17ibc.applications.fee.v1\"L\n\x08Metadata\x12\x1f\n\x0b\x66\x65\x65_version\x18\x01 \x01(\tR\nfeeVersion\x12\x1f\n\x0b\x61pp_version\x18\x02 \x01(\tR\nappVersionB\xe2\x01\n\x1b\x63om.ibc.applications.fee.v1B\rMetadataProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.fee.v1.metadata_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.metadata_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.ibc.applications.fee.v1B\rMetadataProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1" - ) - _globals["_METADATA"]._serialized_start = 67 - _globals["_METADATA"]._serialized_end = 143 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\rMetadataProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' + _globals['_METADATA']._serialized_start=67 + _globals['_METADATA']._serialized_end=143 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2_grpc.py @@ -1,3 +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/ibc/applications/fee/v1/query_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py index b958bcc7..db19a05b 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,146 +15,100 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.ibc.applications.fee.v1 import fee_pb2 as ibc_dot_applications_dot_fee_dot_v1_dot_fee__pb2 -from pyinjective.proto.ibc.applications.fee.v1 import ( - genesis_pb2 as ibc_dot_applications_dot_fee_dot_v1_dot_genesis__pb2, -) +from pyinjective.proto.ibc.applications.fee.v1 import genesis_pb2 as ibc_dot_applications_dot_fee_dot_v1_dot_genesis__pb2 from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#ibc/applications/fee/v1/query.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a%ibc/applications/fee/v1/genesis.proto\x1a!ibc/core/channel/v1/channel.proto"\x8c\x01\n\x1fQueryIncentivizedPacketsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12!\n\x0cquery_height\x18\x02 \x01(\x04R\x0bqueryHeight"\xd3\x01\n QueryIncentivizedPacketsResponse\x12\x66\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00R\x13incentivizedPackets\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x85\x01\n\x1eQueryIncentivizedPacketRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\x12!\n\x0cquery_height\x18\x02 \x01(\x04R\x0bqueryHeight"\x87\x01\n\x1fQueryIncentivizedPacketResponse\x12\x64\n\x13incentivized_packet\x18\x01 \x01(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00R\x12incentivizedPacket"\xce\x01\n)QueryIncentivizedPacketsForChannelRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x03 \x01(\tR\tchannelId\x12!\n\x0cquery_height\x18\x04 \x01(\x04R\x0bqueryHeight"\xd7\x01\n*QueryIncentivizedPacketsForChannelResponse\x12`\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesR\x13incentivizedPackets\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"]\n\x19QueryTotalRecvFeesRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId"\x86\x01\n\x1aQueryTotalRecvFeesResponse\x12h\n\trecv_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08recvFees"\\\n\x18QueryTotalAckFeesRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId"\x83\x01\n\x19QueryTotalAckFeesResponse\x12\x66\n\x08\x61\x63k_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x07\x61\x63kFees"`\n\x1cQueryTotalTimeoutFeesRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId"\x8f\x01\n\x1dQueryTotalTimeoutFeesResponse\x12n\n\x0ctimeout_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x0btimeoutFees"L\n\x11QueryPayeeRequest\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer"9\n\x12QueryPayeeResponse\x12#\n\rpayee_address\x18\x01 \x01(\tR\x0cpayeeAddress"X\n\x1dQueryCounterpartyPayeeRequest\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer"O\n\x1eQueryCounterpartyPayeeResponse\x12-\n\x12\x63ounterparty_payee\x18\x01 \x01(\tR\x11\x63ounterpartyPayee"\x8b\x01\n\x1eQueryFeeEnabledChannelsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12!\n\x0cquery_height\x18\x02 \x01(\x04R\x0bqueryHeight"\xce\x01\n\x1fQueryFeeEnabledChannelsResponse\x12\x62\n\x14\x66\x65\x65_enabled_channels\x18\x01 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00R\x12\x66\x65\x65\x45nabledChannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"W\n\x1dQueryFeeEnabledChannelRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"A\n\x1eQueryFeeEnabledChannelResponse\x12\x1f\n\x0b\x66\x65\x65_enabled\x18\x01 \x01(\x08R\nfeeEnabled2\xe6\x11\n\x05Query\x12\xb9\x01\n\x13IncentivizedPackets\x12\x38.ibc.applications.fee.v1.QueryIncentivizedPacketsRequest\x1a\x39.ibc.applications.fee.v1.QueryIncentivizedPacketsResponse"-\x82\xd3\xe4\x93\x02\'\x12%/ibc/apps/fee/v1/incentivized_packets\x12\x8f\x02\n\x12IncentivizedPacket\x12\x37.ibc.applications.fee.v1.QueryIncentivizedPacketRequest\x1a\x38.ibc.applications.fee.v1.QueryIncentivizedPacketResponse"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12}/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet\x12\xfd\x01\n\x1dIncentivizedPacketsForChannel\x12\x42.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelRequest\x1a\x43.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse"S\x82\xd3\xe4\x93\x02M\x12K/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets\x12\xfc\x01\n\rTotalRecvFees\x12\x32.ibc.applications.fee.v1.QueryTotalRecvFeesRequest\x1a\x33.ibc.applications.fee.v1.QueryTotalRecvFeesResponse"\x81\x01\x82\xd3\xe4\x93\x02{\x12y/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees\x12\xf8\x01\n\x0cTotalAckFees\x12\x31.ibc.applications.fee.v1.QueryTotalAckFeesRequest\x1a\x32.ibc.applications.fee.v1.QueryTotalAckFeesResponse"\x80\x01\x82\xd3\xe4\x93\x02z\x12x/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees\x12\x88\x02\n\x10TotalTimeoutFees\x12\x35.ibc.applications.fee.v1.QueryTotalTimeoutFeesRequest\x1a\x36.ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse"\x84\x01\x82\xd3\xe4\x93\x02~\x12|/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees\x12\xa9\x01\n\x05Payee\x12*.ibc.applications.fee.v1.QueryPayeeRequest\x1a+.ibc.applications.fee.v1.QueryPayeeResponse"G\x82\xd3\xe4\x93\x02\x41\x12?/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee\x12\xda\x01\n\x11\x43ounterpartyPayee\x12\x36.ibc.applications.fee.v1.QueryCounterpartyPayeeRequest\x1a\x37.ibc.applications.fee.v1.QueryCounterpartyPayeeResponse"T\x82\xd3\xe4\x93\x02N\x12L/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee\x12\xad\x01\n\x12\x46\x65\x65\x45nabledChannels\x12\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelsRequest\x1a\x38.ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/fee/v1/fee_enabled\x12\xd0\x01\n\x11\x46\x65\x65\x45nabledChannel\x12\x36.ibc.applications.fee.v1.QueryFeeEnabledChannelRequest\x1a\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelResponse"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabledB\xdf\x01\n\x1b\x63om.ibc.applications.fee.v1B\nQueryProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#ibc/applications/fee/v1/query.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a%ibc/applications/fee/v1/genesis.proto\x1a!ibc/core/channel/v1/channel.proto\"\x8c\x01\n\x1fQueryIncentivizedPacketsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12!\n\x0cquery_height\x18\x02 \x01(\x04R\x0bqueryHeight\"\xd3\x01\n QueryIncentivizedPacketsResponse\x12\x66\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00R\x13incentivizedPackets\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x85\x01\n\x1eQueryIncentivizedPacketRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\x12!\n\x0cquery_height\x18\x02 \x01(\x04R\x0bqueryHeight\"\x87\x01\n\x1fQueryIncentivizedPacketResponse\x12\x64\n\x13incentivized_packet\x18\x01 \x01(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00R\x12incentivizedPacket\"\xce\x01\n)QueryIncentivizedPacketsForChannelRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x03 \x01(\tR\tchannelId\x12!\n\x0cquery_height\x18\x04 \x01(\x04R\x0bqueryHeight\"\xd7\x01\n*QueryIncentivizedPacketsForChannelResponse\x12`\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesR\x13incentivizedPackets\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"]\n\x19QueryTotalRecvFeesRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\"\x86\x01\n\x1aQueryTotalRecvFeesResponse\x12h\n\trecv_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08recvFees\"\\\n\x18QueryTotalAckFeesRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\"\x83\x01\n\x19QueryTotalAckFeesResponse\x12\x66\n\x08\x61\x63k_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x07\x61\x63kFees\"`\n\x1cQueryTotalTimeoutFeesRequest\x12@\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00R\x08packetId\"\x8f\x01\n\x1dQueryTotalTimeoutFeesResponse\x12n\n\x0ctimeout_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x0btimeoutFees\"L\n\x11QueryPayeeRequest\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\"9\n\x12QueryPayeeResponse\x12#\n\rpayee_address\x18\x01 \x01(\tR\x0cpayeeAddress\"X\n\x1dQueryCounterpartyPayeeRequest\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\"O\n\x1eQueryCounterpartyPayeeResponse\x12-\n\x12\x63ounterparty_payee\x18\x01 \x01(\tR\x11\x63ounterpartyPayee\"\x8b\x01\n\x1eQueryFeeEnabledChannelsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12!\n\x0cquery_height\x18\x02 \x01(\x04R\x0bqueryHeight\"\xce\x01\n\x1fQueryFeeEnabledChannelsResponse\x12\x62\n\x14\x66\x65\x65_enabled_channels\x18\x01 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00R\x12\x66\x65\x65\x45nabledChannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"W\n\x1dQueryFeeEnabledChannelRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"A\n\x1eQueryFeeEnabledChannelResponse\x12\x1f\n\x0b\x66\x65\x65_enabled\x18\x01 \x01(\x08R\nfeeEnabled2\xe6\x11\n\x05Query\x12\xb9\x01\n\x13IncentivizedPackets\x12\x38.ibc.applications.fee.v1.QueryIncentivizedPacketsRequest\x1a\x39.ibc.applications.fee.v1.QueryIncentivizedPacketsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/ibc/apps/fee/v1/incentivized_packets\x12\x8f\x02\n\x12IncentivizedPacket\x12\x37.ibc.applications.fee.v1.QueryIncentivizedPacketRequest\x1a\x38.ibc.applications.fee.v1.QueryIncentivizedPacketResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12}/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet\x12\xfd\x01\n\x1dIncentivizedPacketsForChannel\x12\x42.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelRequest\x1a\x43.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse\"S\x82\xd3\xe4\x93\x02M\x12K/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets\x12\xfc\x01\n\rTotalRecvFees\x12\x32.ibc.applications.fee.v1.QueryTotalRecvFeesRequest\x1a\x33.ibc.applications.fee.v1.QueryTotalRecvFeesResponse\"\x81\x01\x82\xd3\xe4\x93\x02{\x12y/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees\x12\xf8\x01\n\x0cTotalAckFees\x12\x31.ibc.applications.fee.v1.QueryTotalAckFeesRequest\x1a\x32.ibc.applications.fee.v1.QueryTotalAckFeesResponse\"\x80\x01\x82\xd3\xe4\x93\x02z\x12x/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees\x12\x88\x02\n\x10TotalTimeoutFees\x12\x35.ibc.applications.fee.v1.QueryTotalTimeoutFeesRequest\x1a\x36.ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse\"\x84\x01\x82\xd3\xe4\x93\x02~\x12|/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees\x12\xa9\x01\n\x05Payee\x12*.ibc.applications.fee.v1.QueryPayeeRequest\x1a+.ibc.applications.fee.v1.QueryPayeeResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee\x12\xda\x01\n\x11\x43ounterpartyPayee\x12\x36.ibc.applications.fee.v1.QueryCounterpartyPayeeRequest\x1a\x37.ibc.applications.fee.v1.QueryCounterpartyPayeeResponse\"T\x82\xd3\xe4\x93\x02N\x12L/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee\x12\xad\x01\n\x12\x46\x65\x65\x45nabledChannels\x12\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelsRequest\x1a\x38.ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/fee/v1/fee_enabled\x12\xd0\x01\n\x11\x46\x65\x65\x45nabledChannel\x12\x36.ibc.applications.fee.v1.QueryFeeEnabledChannelRequest\x1a\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabledB\xdf\x01\n\x1b\x63om.ibc.applications.fee.v1B\nQueryProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.fee.v1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.ibc.applications.fee.v1B\nQueryProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1" - ) - _globals["_QUERYINCENTIVIZEDPACKETSRESPONSE"].fields_by_name["incentivized_packets"]._loaded_options = None - _globals["_QUERYINCENTIVIZEDPACKETSRESPONSE"].fields_by_name[ - "incentivized_packets" - ]._serialized_options = b"\310\336\037\000" - _globals["_QUERYINCENTIVIZEDPACKETREQUEST"].fields_by_name["packet_id"]._loaded_options = None - _globals["_QUERYINCENTIVIZEDPACKETREQUEST"].fields_by_name["packet_id"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYINCENTIVIZEDPACKETRESPONSE"].fields_by_name["incentivized_packet"]._loaded_options = None - _globals["_QUERYINCENTIVIZEDPACKETRESPONSE"].fields_by_name[ - "incentivized_packet" - ]._serialized_options = b"\310\336\037\000" - _globals["_QUERYTOTALRECVFEESREQUEST"].fields_by_name["packet_id"]._loaded_options = None - _globals["_QUERYTOTALRECVFEESREQUEST"].fields_by_name["packet_id"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYTOTALRECVFEESRESPONSE"].fields_by_name["recv_fees"]._loaded_options = None - _globals["_QUERYTOTALRECVFEESRESPONSE"].fields_by_name[ - "recv_fees" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" - _globals["_QUERYTOTALACKFEESREQUEST"].fields_by_name["packet_id"]._loaded_options = None - _globals["_QUERYTOTALACKFEESREQUEST"].fields_by_name["packet_id"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYTOTALACKFEESRESPONSE"].fields_by_name["ack_fees"]._loaded_options = None - _globals["_QUERYTOTALACKFEESRESPONSE"].fields_by_name[ - "ack_fees" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" - _globals["_QUERYTOTALTIMEOUTFEESREQUEST"].fields_by_name["packet_id"]._loaded_options = None - _globals["_QUERYTOTALTIMEOUTFEESREQUEST"].fields_by_name["packet_id"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYTOTALTIMEOUTFEESRESPONSE"].fields_by_name["timeout_fees"]._loaded_options = None - _globals["_QUERYTOTALTIMEOUTFEESRESPONSE"].fields_by_name[ - "timeout_fees" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" - _globals["_QUERYFEEENABLEDCHANNELSRESPONSE"].fields_by_name["fee_enabled_channels"]._loaded_options = None - _globals["_QUERYFEEENABLEDCHANNELSRESPONSE"].fields_by_name[ - "fee_enabled_channels" - ]._serialized_options = b"\310\336\037\000" - _globals["_QUERY"].methods_by_name["IncentivizedPackets"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "IncentivizedPackets" - ]._serialized_options = b"\202\323\344\223\002'\022%/ibc/apps/fee/v1/incentivized_packets" - _globals["_QUERY"].methods_by_name["IncentivizedPacket"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "IncentivizedPacket" - ]._serialized_options = b"\202\323\344\223\002\177\022}/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet" - _globals["_QUERY"].methods_by_name["IncentivizedPacketsForChannel"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "IncentivizedPacketsForChannel" - ]._serialized_options = ( - b"\202\323\344\223\002M\022K/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets" - ) - _globals["_QUERY"].methods_by_name["TotalRecvFees"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "TotalRecvFees" - ]._serialized_options = b"\202\323\344\223\002{\022y/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees" - _globals["_QUERY"].methods_by_name["TotalAckFees"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "TotalAckFees" - ]._serialized_options = b"\202\323\344\223\002z\022x/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees" - _globals["_QUERY"].methods_by_name["TotalTimeoutFees"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "TotalTimeoutFees" - ]._serialized_options = b"\202\323\344\223\002~\022|/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees" - _globals["_QUERY"].methods_by_name["Payee"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Payee" - ]._serialized_options = b"\202\323\344\223\002A\022?/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee" - _globals["_QUERY"].methods_by_name["CounterpartyPayee"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "CounterpartyPayee" - ]._serialized_options = ( - b"\202\323\344\223\002N\022L/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee" - ) - _globals["_QUERY"].methods_by_name["FeeEnabledChannels"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "FeeEnabledChannels" - ]._serialized_options = b"\202\323\344\223\002\036\022\034/ibc/apps/fee/v1/fee_enabled" - _globals["_QUERY"].methods_by_name["FeeEnabledChannel"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "FeeEnabledChannel" - ]._serialized_options = ( - b"\202\323\344\223\002D\022B/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabled" - ) - _globals["_QUERYINCENTIVIZEDPACKETSREQUEST"]._serialized_start = 302 - _globals["_QUERYINCENTIVIZEDPACKETSREQUEST"]._serialized_end = 442 - _globals["_QUERYINCENTIVIZEDPACKETSRESPONSE"]._serialized_start = 445 - _globals["_QUERYINCENTIVIZEDPACKETSRESPONSE"]._serialized_end = 656 - _globals["_QUERYINCENTIVIZEDPACKETREQUEST"]._serialized_start = 659 - _globals["_QUERYINCENTIVIZEDPACKETREQUEST"]._serialized_end = 792 - _globals["_QUERYINCENTIVIZEDPACKETRESPONSE"]._serialized_start = 795 - _globals["_QUERYINCENTIVIZEDPACKETRESPONSE"]._serialized_end = 930 - _globals["_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST"]._serialized_start = 933 - _globals["_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST"]._serialized_end = 1139 - _globals["_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE"]._serialized_start = 1142 - _globals["_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE"]._serialized_end = 1357 - _globals["_QUERYTOTALRECVFEESREQUEST"]._serialized_start = 1359 - _globals["_QUERYTOTALRECVFEESREQUEST"]._serialized_end = 1452 - _globals["_QUERYTOTALRECVFEESRESPONSE"]._serialized_start = 1455 - _globals["_QUERYTOTALRECVFEESRESPONSE"]._serialized_end = 1589 - _globals["_QUERYTOTALACKFEESREQUEST"]._serialized_start = 1591 - _globals["_QUERYTOTALACKFEESREQUEST"]._serialized_end = 1683 - _globals["_QUERYTOTALACKFEESRESPONSE"]._serialized_start = 1686 - _globals["_QUERYTOTALACKFEESRESPONSE"]._serialized_end = 1817 - _globals["_QUERYTOTALTIMEOUTFEESREQUEST"]._serialized_start = 1819 - _globals["_QUERYTOTALTIMEOUTFEESREQUEST"]._serialized_end = 1915 - _globals["_QUERYTOTALTIMEOUTFEESRESPONSE"]._serialized_start = 1918 - _globals["_QUERYTOTALTIMEOUTFEESRESPONSE"]._serialized_end = 2061 - _globals["_QUERYPAYEEREQUEST"]._serialized_start = 2063 - _globals["_QUERYPAYEEREQUEST"]._serialized_end = 2139 - _globals["_QUERYPAYEERESPONSE"]._serialized_start = 2141 - _globals["_QUERYPAYEERESPONSE"]._serialized_end = 2198 - _globals["_QUERYCOUNTERPARTYPAYEEREQUEST"]._serialized_start = 2200 - _globals["_QUERYCOUNTERPARTYPAYEEREQUEST"]._serialized_end = 2288 - _globals["_QUERYCOUNTERPARTYPAYEERESPONSE"]._serialized_start = 2290 - _globals["_QUERYCOUNTERPARTYPAYEERESPONSE"]._serialized_end = 2369 - _globals["_QUERYFEEENABLEDCHANNELSREQUEST"]._serialized_start = 2372 - _globals["_QUERYFEEENABLEDCHANNELSREQUEST"]._serialized_end = 2511 - _globals["_QUERYFEEENABLEDCHANNELSRESPONSE"]._serialized_start = 2514 - _globals["_QUERYFEEENABLEDCHANNELSRESPONSE"]._serialized_end = 2720 - _globals["_QUERYFEEENABLEDCHANNELREQUEST"]._serialized_start = 2722 - _globals["_QUERYFEEENABLEDCHANNELREQUEST"]._serialized_end = 2809 - _globals["_QUERYFEEENABLEDCHANNELRESPONSE"]._serialized_start = 2811 - _globals["_QUERYFEEENABLEDCHANNELRESPONSE"]._serialized_end = 2876 - _globals["_QUERY"]._serialized_start = 2879 - _globals["_QUERY"]._serialized_end = 5157 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\nQueryProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' + _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE'].fields_by_name['incentivized_packets']._loaded_options = None + _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE'].fields_by_name['incentivized_packets']._serialized_options = b'\310\336\037\000' + _globals['_QUERYINCENTIVIZEDPACKETREQUEST'].fields_by_name['packet_id']._loaded_options = None + _globals['_QUERYINCENTIVIZEDPACKETREQUEST'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _globals['_QUERYINCENTIVIZEDPACKETRESPONSE'].fields_by_name['incentivized_packet']._loaded_options = None + _globals['_QUERYINCENTIVIZEDPACKETRESPONSE'].fields_by_name['incentivized_packet']._serialized_options = b'\310\336\037\000' + _globals['_QUERYTOTALRECVFEESREQUEST'].fields_by_name['packet_id']._loaded_options = None + _globals['_QUERYTOTALRECVFEESREQUEST'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _globals['_QUERYTOTALRECVFEESRESPONSE'].fields_by_name['recv_fees']._loaded_options = None + _globals['_QUERYTOTALRECVFEESRESPONSE'].fields_by_name['recv_fees']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_QUERYTOTALACKFEESREQUEST'].fields_by_name['packet_id']._loaded_options = None + _globals['_QUERYTOTALACKFEESREQUEST'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _globals['_QUERYTOTALACKFEESRESPONSE'].fields_by_name['ack_fees']._loaded_options = None + _globals['_QUERYTOTALACKFEESRESPONSE'].fields_by_name['ack_fees']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_QUERYTOTALTIMEOUTFEESREQUEST'].fields_by_name['packet_id']._loaded_options = None + _globals['_QUERYTOTALTIMEOUTFEESREQUEST'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _globals['_QUERYTOTALTIMEOUTFEESRESPONSE'].fields_by_name['timeout_fees']._loaded_options = None + _globals['_QUERYTOTALTIMEOUTFEESRESPONSE'].fields_by_name['timeout_fees']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_QUERYFEEENABLEDCHANNELSRESPONSE'].fields_by_name['fee_enabled_channels']._loaded_options = None + _globals['_QUERYFEEENABLEDCHANNELSRESPONSE'].fields_by_name['fee_enabled_channels']._serialized_options = b'\310\336\037\000' + _globals['_QUERY'].methods_by_name['IncentivizedPackets']._loaded_options = None + _globals['_QUERY'].methods_by_name['IncentivizedPackets']._serialized_options = b'\202\323\344\223\002\'\022%/ibc/apps/fee/v1/incentivized_packets' + _globals['_QUERY'].methods_by_name['IncentivizedPacket']._loaded_options = None + _globals['_QUERY'].methods_by_name['IncentivizedPacket']._serialized_options = b'\202\323\344\223\002\177\022}/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet' + _globals['_QUERY'].methods_by_name['IncentivizedPacketsForChannel']._loaded_options = None + _globals['_QUERY'].methods_by_name['IncentivizedPacketsForChannel']._serialized_options = b'\202\323\344\223\002M\022K/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets' + _globals['_QUERY'].methods_by_name['TotalRecvFees']._loaded_options = None + _globals['_QUERY'].methods_by_name['TotalRecvFees']._serialized_options = b'\202\323\344\223\002{\022y/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees' + _globals['_QUERY'].methods_by_name['TotalAckFees']._loaded_options = None + _globals['_QUERY'].methods_by_name['TotalAckFees']._serialized_options = b'\202\323\344\223\002z\022x/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees' + _globals['_QUERY'].methods_by_name['TotalTimeoutFees']._loaded_options = None + _globals['_QUERY'].methods_by_name['TotalTimeoutFees']._serialized_options = b'\202\323\344\223\002~\022|/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees' + _globals['_QUERY'].methods_by_name['Payee']._loaded_options = None + _globals['_QUERY'].methods_by_name['Payee']._serialized_options = b'\202\323\344\223\002A\022?/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee' + _globals['_QUERY'].methods_by_name['CounterpartyPayee']._loaded_options = None + _globals['_QUERY'].methods_by_name['CounterpartyPayee']._serialized_options = b'\202\323\344\223\002N\022L/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee' + _globals['_QUERY'].methods_by_name['FeeEnabledChannels']._loaded_options = None + _globals['_QUERY'].methods_by_name['FeeEnabledChannels']._serialized_options = b'\202\323\344\223\002\036\022\034/ibc/apps/fee/v1/fee_enabled' + _globals['_QUERY'].methods_by_name['FeeEnabledChannel']._loaded_options = None + _globals['_QUERY'].methods_by_name['FeeEnabledChannel']._serialized_options = b'\202\323\344\223\002D\022B/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabled' + _globals['_QUERYINCENTIVIZEDPACKETSREQUEST']._serialized_start=302 + _globals['_QUERYINCENTIVIZEDPACKETSREQUEST']._serialized_end=442 + _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE']._serialized_start=445 + _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE']._serialized_end=656 + _globals['_QUERYINCENTIVIZEDPACKETREQUEST']._serialized_start=659 + _globals['_QUERYINCENTIVIZEDPACKETREQUEST']._serialized_end=792 + _globals['_QUERYINCENTIVIZEDPACKETRESPONSE']._serialized_start=795 + _globals['_QUERYINCENTIVIZEDPACKETRESPONSE']._serialized_end=930 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST']._serialized_start=933 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST']._serialized_end=1139 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE']._serialized_start=1142 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE']._serialized_end=1357 + _globals['_QUERYTOTALRECVFEESREQUEST']._serialized_start=1359 + _globals['_QUERYTOTALRECVFEESREQUEST']._serialized_end=1452 + _globals['_QUERYTOTALRECVFEESRESPONSE']._serialized_start=1455 + _globals['_QUERYTOTALRECVFEESRESPONSE']._serialized_end=1589 + _globals['_QUERYTOTALACKFEESREQUEST']._serialized_start=1591 + _globals['_QUERYTOTALACKFEESREQUEST']._serialized_end=1683 + _globals['_QUERYTOTALACKFEESRESPONSE']._serialized_start=1686 + _globals['_QUERYTOTALACKFEESRESPONSE']._serialized_end=1817 + _globals['_QUERYTOTALTIMEOUTFEESREQUEST']._serialized_start=1819 + _globals['_QUERYTOTALTIMEOUTFEESREQUEST']._serialized_end=1915 + _globals['_QUERYTOTALTIMEOUTFEESRESPONSE']._serialized_start=1918 + _globals['_QUERYTOTALTIMEOUTFEESRESPONSE']._serialized_end=2061 + _globals['_QUERYPAYEEREQUEST']._serialized_start=2063 + _globals['_QUERYPAYEEREQUEST']._serialized_end=2139 + _globals['_QUERYPAYEERESPONSE']._serialized_start=2141 + _globals['_QUERYPAYEERESPONSE']._serialized_end=2198 + _globals['_QUERYCOUNTERPARTYPAYEEREQUEST']._serialized_start=2200 + _globals['_QUERYCOUNTERPARTYPAYEEREQUEST']._serialized_end=2288 + _globals['_QUERYCOUNTERPARTYPAYEERESPONSE']._serialized_start=2290 + _globals['_QUERYCOUNTERPARTYPAYEERESPONSE']._serialized_end=2369 + _globals['_QUERYFEEENABLEDCHANNELSREQUEST']._serialized_start=2372 + _globals['_QUERYFEEENABLEDCHANNELSREQUEST']._serialized_end=2511 + _globals['_QUERYFEEENABLEDCHANNELSRESPONSE']._serialized_start=2514 + _globals['_QUERYFEEENABLEDCHANNELSRESPONSE']._serialized_end=2720 + _globals['_QUERYFEEENABLEDCHANNELREQUEST']._serialized_start=2722 + _globals['_QUERYFEEENABLEDCHANNELREQUEST']._serialized_end=2809 + _globals['_QUERYFEEENABLEDCHANNELRESPONSE']._serialized_start=2811 + _globals['_QUERYFEEENABLEDCHANNELRESPONSE']._serialized_end=2876 + _globals['_QUERY']._serialized_start=2879 + _globals['_QUERY']._serialized_end=5157 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/query_pb2_grpc.py index b492ebc3..f0e2ecd1 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/fee/v1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the ICS29 gRPC querier service.""" + """Query defines the ICS29 gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -15,210 +16,211 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.IncentivizedPackets = channel.unary_unary( - "/ibc.applications.fee.v1.Query/IncentivizedPackets", - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.fee.v1.Query/IncentivizedPackets', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsResponse.FromString, + _registered_method=True) self.IncentivizedPacket = channel.unary_unary( - "/ibc.applications.fee.v1.Query/IncentivizedPacket", - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.fee.v1.Query/IncentivizedPacket', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketResponse.FromString, + _registered_method=True) self.IncentivizedPacketsForChannel = channel.unary_unary( - "/ibc.applications.fee.v1.Query/IncentivizedPacketsForChannel", - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.fee.v1.Query/IncentivizedPacketsForChannel', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelResponse.FromString, + _registered_method=True) self.TotalRecvFees = channel.unary_unary( - "/ibc.applications.fee.v1.Query/TotalRecvFees", - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.fee.v1.Query/TotalRecvFees', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesResponse.FromString, + _registered_method=True) self.TotalAckFees = channel.unary_unary( - "/ibc.applications.fee.v1.Query/TotalAckFees", - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.fee.v1.Query/TotalAckFees', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesResponse.FromString, + _registered_method=True) self.TotalTimeoutFees = channel.unary_unary( - "/ibc.applications.fee.v1.Query/TotalTimeoutFees", - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.fee.v1.Query/TotalTimeoutFees', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesResponse.FromString, + _registered_method=True) self.Payee = channel.unary_unary( - "/ibc.applications.fee.v1.Query/Payee", - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.fee.v1.Query/Payee', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeResponse.FromString, + _registered_method=True) self.CounterpartyPayee = channel.unary_unary( - "/ibc.applications.fee.v1.Query/CounterpartyPayee", - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.fee.v1.Query/CounterpartyPayee', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeResponse.FromString, + _registered_method=True) self.FeeEnabledChannels = channel.unary_unary( - "/ibc.applications.fee.v1.Query/FeeEnabledChannels", - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.fee.v1.Query/FeeEnabledChannels', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsResponse.FromString, + _registered_method=True) self.FeeEnabledChannel = channel.unary_unary( - "/ibc.applications.fee.v1.Query/FeeEnabledChannel", - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.fee.v1.Query/FeeEnabledChannel', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the ICS29 gRPC querier service.""" + """Query defines the ICS29 gRPC querier service. + """ def IncentivizedPackets(self, request, context): - """IncentivizedPackets returns all incentivized packets and their associated fees""" + """IncentivizedPackets returns all incentivized packets and their associated fees + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def IncentivizedPacket(self, request, context): - """IncentivizedPacket returns all packet fees for a packet given its identifier""" + """IncentivizedPacket returns all packet fees for a packet given its identifier + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def IncentivizedPacketsForChannel(self, request, context): - """Gets all incentivized packets for a specific channel""" + """Gets all incentivized packets for a specific channel + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TotalRecvFees(self, request, context): - """TotalRecvFees returns the total receive fees for a packet given its identifier""" + """TotalRecvFees returns the total receive fees for a packet given its identifier + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TotalAckFees(self, request, context): - """TotalAckFees returns the total acknowledgement fees for a packet given its identifier""" + """TotalAckFees returns the total acknowledgement fees for a packet given its identifier + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TotalTimeoutFees(self, request, context): - """TotalTimeoutFees returns the total timeout fees for a packet given its identifier""" + """TotalTimeoutFees returns the total timeout fees for a packet given its identifier + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Payee(self, request, context): - """Payee returns the registered payee address for a specific channel given the relayer address""" + """Payee returns the registered payee address for a specific channel given the relayer address + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CounterpartyPayee(self, request, context): - """CounterpartyPayee returns the registered counterparty payee for forward relaying""" + """CounterpartyPayee returns the registered counterparty payee for forward relaying + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def FeeEnabledChannels(self, request, context): - """FeeEnabledChannels returns a list of all fee enabled channels""" + """FeeEnabledChannels returns a list of all fee enabled channels + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def FeeEnabledChannel(self, request, context): - """FeeEnabledChannel returns true if the provided port and channel identifiers belong to a fee enabled channel""" + """FeeEnabledChannel returns true if the provided port and channel identifiers belong to a fee enabled channel + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "IncentivizedPackets": grpc.unary_unary_rpc_method_handler( - servicer.IncentivizedPackets, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsResponse.SerializeToString, - ), - "IncentivizedPacket": grpc.unary_unary_rpc_method_handler( - servicer.IncentivizedPacket, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketResponse.SerializeToString, - ), - "IncentivizedPacketsForChannel": grpc.unary_unary_rpc_method_handler( - servicer.IncentivizedPacketsForChannel, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelResponse.SerializeToString, - ), - "TotalRecvFees": grpc.unary_unary_rpc_method_handler( - servicer.TotalRecvFees, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesResponse.SerializeToString, - ), - "TotalAckFees": grpc.unary_unary_rpc_method_handler( - servicer.TotalAckFees, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesResponse.SerializeToString, - ), - "TotalTimeoutFees": grpc.unary_unary_rpc_method_handler( - servicer.TotalTimeoutFees, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesResponse.SerializeToString, - ), - "Payee": grpc.unary_unary_rpc_method_handler( - servicer.Payee, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeResponse.SerializeToString, - ), - "CounterpartyPayee": grpc.unary_unary_rpc_method_handler( - servicer.CounterpartyPayee, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeResponse.SerializeToString, - ), - "FeeEnabledChannels": grpc.unary_unary_rpc_method_handler( - servicer.FeeEnabledChannels, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsResponse.SerializeToString, - ), - "FeeEnabledChannel": grpc.unary_unary_rpc_method_handler( - servicer.FeeEnabledChannel, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelRequest.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelResponse.SerializeToString, - ), + 'IncentivizedPackets': grpc.unary_unary_rpc_method_handler( + servicer.IncentivizedPackets, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsResponse.SerializeToString, + ), + 'IncentivizedPacket': grpc.unary_unary_rpc_method_handler( + servicer.IncentivizedPacket, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketResponse.SerializeToString, + ), + 'IncentivizedPacketsForChannel': grpc.unary_unary_rpc_method_handler( + servicer.IncentivizedPacketsForChannel, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelResponse.SerializeToString, + ), + 'TotalRecvFees': grpc.unary_unary_rpc_method_handler( + servicer.TotalRecvFees, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesResponse.SerializeToString, + ), + 'TotalAckFees': grpc.unary_unary_rpc_method_handler( + servicer.TotalAckFees, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesResponse.SerializeToString, + ), + 'TotalTimeoutFees': grpc.unary_unary_rpc_method_handler( + servicer.TotalTimeoutFees, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesResponse.SerializeToString, + ), + 'Payee': grpc.unary_unary_rpc_method_handler( + servicer.Payee, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeResponse.SerializeToString, + ), + 'CounterpartyPayee': grpc.unary_unary_rpc_method_handler( + servicer.CounterpartyPayee, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeResponse.SerializeToString, + ), + 'FeeEnabledChannels': grpc.unary_unary_rpc_method_handler( + servicer.FeeEnabledChannels, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsResponse.SerializeToString, + ), + 'FeeEnabledChannel': grpc.unary_unary_rpc_method_handler( + servicer.FeeEnabledChannel, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelRequest.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("ibc.applications.fee.v1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.applications.fee.v1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("ibc.applications.fee.v1.Query", rpc_method_handlers) + server.add_registered_method_handlers('ibc.applications.fee.v1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the ICS29 gRPC querier service.""" + """Query defines the ICS29 gRPC querier service. + """ @staticmethod - def IncentivizedPackets( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def IncentivizedPackets(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.fee.v1.Query/IncentivizedPackets", + '/ibc.applications.fee.v1.Query/IncentivizedPackets', ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsResponse.FromString, options, @@ -229,26 +231,23 @@ def IncentivizedPackets( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def IncentivizedPacket( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def IncentivizedPacket(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.fee.v1.Query/IncentivizedPacket", + '/ibc.applications.fee.v1.Query/IncentivizedPacket', ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketResponse.FromString, options, @@ -259,26 +258,23 @@ def IncentivizedPacket( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def IncentivizedPacketsForChannel( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def IncentivizedPacketsForChannel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.fee.v1.Query/IncentivizedPacketsForChannel", + '/ibc.applications.fee.v1.Query/IncentivizedPacketsForChannel', ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryIncentivizedPacketsForChannelResponse.FromString, options, @@ -289,26 +285,23 @@ def IncentivizedPacketsForChannel( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def TotalRecvFees( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def TotalRecvFees(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.fee.v1.Query/TotalRecvFees", + '/ibc.applications.fee.v1.Query/TotalRecvFees', ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalRecvFeesResponse.FromString, options, @@ -319,26 +312,23 @@ def TotalRecvFees( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def TotalAckFees( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def TotalAckFees(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.fee.v1.Query/TotalAckFees", + '/ibc.applications.fee.v1.Query/TotalAckFees', ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalAckFeesResponse.FromString, options, @@ -349,26 +339,23 @@ def TotalAckFees( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def TotalTimeoutFees( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def TotalTimeoutFees(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.fee.v1.Query/TotalTimeoutFees", + '/ibc.applications.fee.v1.Query/TotalTimeoutFees', ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryTotalTimeoutFeesResponse.FromString, options, @@ -379,26 +366,23 @@ def TotalTimeoutFees( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Payee( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Payee(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.fee.v1.Query/Payee", + '/ibc.applications.fee.v1.Query/Payee', ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryPayeeResponse.FromString, options, @@ -409,26 +393,23 @@ def Payee( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CounterpartyPayee( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CounterpartyPayee(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.fee.v1.Query/CounterpartyPayee", + '/ibc.applications.fee.v1.Query/CounterpartyPayee', ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryCounterpartyPayeeResponse.FromString, options, @@ -439,26 +420,23 @@ def CounterpartyPayee( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def FeeEnabledChannels( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def FeeEnabledChannels(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.fee.v1.Query/FeeEnabledChannels", + '/ibc.applications.fee.v1.Query/FeeEnabledChannels', ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelsResponse.FromString, options, @@ -469,26 +447,23 @@ def FeeEnabledChannels( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def FeeEnabledChannel( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def FeeEnabledChannel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.fee.v1.Query/FeeEnabledChannel", + '/ibc.applications.fee.v1.Query/FeeEnabledChannel', ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelRequest.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_query__pb2.QueryFeeEnabledChannelResponse.FromString, options, @@ -499,5 +474,4 @@ def FeeEnabledChannel( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py index a06b8160..372241fc 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,62 +19,46 @@ from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n ibc/applications/fee/v1/tx.proto\x12\x17ibc.applications.fee.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto"\xac\x01\n\x10MsgRegisterPayee\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x03 \x01(\tR\x07relayer\x12\x14\n\x05payee\x18\x04 \x01(\tR\x05payee:0\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgRegisterPayee"\x1a\n\x18MsgRegisterPayeeResponse"\xdd\x01\n\x1cMsgRegisterCounterpartyPayee\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x03 \x01(\tR\x07relayer\x12-\n\x12\x63ounterparty_payee\x18\x04 \x01(\tR\x11\x63ounterpartyPayee:<\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\'cosmos-sdk/MsgRegisterCounterpartyPayee"&\n$MsgRegisterCounterpartyPayeeResponse"\x82\x02\n\x0fMsgPayPacketFee\x12\x39\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x03\x66\x65\x65\x12$\n\x0esource_port_id\x18\x02 \x01(\tR\x0csourcePortId\x12*\n\x11source_channel_id\x18\x03 \x01(\tR\x0fsourceChannelId\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:.\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgPayPacketFee"\x19\n\x17MsgPayPacketFeeResponse"\xe4\x01\n\x14MsgPayPacketFeeAsync\x12\x45\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08packetId\x12L\n\npacket_fee\x18\x02 \x01(\x0b\x32".ibc.applications.fee.v1.PacketFeeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tpacketFee: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\xdc\x01\n\x1b\x63om.ibc.applications.fee.v1B\x07TxProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\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\"\xac\x01\n\x10MsgRegisterPayee\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x03 \x01(\tR\x07relayer\x12\x14\n\x05payee\x18\x04 \x01(\tR\x05payee:0\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgRegisterPayee\"\x1a\n\x18MsgRegisterPayeeResponse\"\xdd\x01\n\x1cMsgRegisterCounterpartyPayee\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x18\n\x07relayer\x18\x03 \x01(\tR\x07relayer\x12-\n\x12\x63ounterparty_payee\x18\x04 \x01(\tR\x11\x63ounterpartyPayee:<\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\'cosmos-sdk/MsgRegisterCounterpartyPayee\"&\n$MsgRegisterCounterpartyPayeeResponse\"\x82\x02\n\x0fMsgPayPacketFee\x12\x39\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x03\x66\x65\x65\x12$\n\x0esource_port_id\x18\x02 \x01(\tR\x0csourcePortId\x12*\n\x11source_channel_id\x18\x03 \x01(\tR\x0fsourceChannelId\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:.\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgPayPacketFee\"\x19\n\x17MsgPayPacketFeeResponse\"\xe4\x01\n\x14MsgPayPacketFeeAsync\x12\x45\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x08packetId\x12L\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\tpacketFee: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\xdc\x01\n\x1b\x63om.ibc.applications.fee.v1B\x07TxProtoP\x01Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\xa2\x02\x03IAF\xaa\x02\x17Ibc.Applications.Fee.V1\xca\x02\x17Ibc\\Applications\\Fee\\V1\xe2\x02#Ibc\\Applications\\Fee\\V1\\GPBMetadata\xea\x02\x1aIbc::Applications::Fee::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.fee.v1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.fee.v1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.ibc.applications.fee.v1B\007TxProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1" - ) - _globals["_MSGREGISTERPAYEE"]._loaded_options = None - _globals["_MSGREGISTERPAYEE"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\007relayer\212\347\260*\033cosmos-sdk/MsgRegisterPayee" - ) - _globals["_MSGREGISTERCOUNTERPARTYPAYEE"]._loaded_options = None - _globals["_MSGREGISTERCOUNTERPARTYPAYEE"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\007relayer\212\347\260*'cosmos-sdk/MsgRegisterCounterpartyPayee" - ) - _globals["_MSGPAYPACKETFEE"].fields_by_name["fee"]._loaded_options = None - _globals["_MSGPAYPACKETFEE"].fields_by_name["fee"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGPAYPACKETFEE"]._loaded_options = None - _globals["_MSGPAYPACKETFEE"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\006signer\212\347\260*\032cosmos-sdk/MsgPayPacketFee" - ) - _globals["_MSGPAYPACKETFEEASYNC"].fields_by_name["packet_id"]._loaded_options = None - _globals["_MSGPAYPACKETFEEASYNC"].fields_by_name[ - "packet_id" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGPAYPACKETFEEASYNC"].fields_by_name["packet_fee"]._loaded_options = None - _globals["_MSGPAYPACKETFEEASYNC"].fields_by_name[ - "packet_fee" - ]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGPAYPACKETFEEASYNC"]._loaded_options = None - _globals["_MSGPAYPACKETFEEASYNC"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\npacket_fee\212\347\260*\037cosmos-sdk/MsgPayPacketFeeAsync" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGREGISTERPAYEE"]._serialized_start = 198 - _globals["_MSGREGISTERPAYEE"]._serialized_end = 370 - _globals["_MSGREGISTERPAYEERESPONSE"]._serialized_start = 372 - _globals["_MSGREGISTERPAYEERESPONSE"]._serialized_end = 398 - _globals["_MSGREGISTERCOUNTERPARTYPAYEE"]._serialized_start = 401 - _globals["_MSGREGISTERCOUNTERPARTYPAYEE"]._serialized_end = 622 - _globals["_MSGREGISTERCOUNTERPARTYPAYEERESPONSE"]._serialized_start = 624 - _globals["_MSGREGISTERCOUNTERPARTYPAYEERESPONSE"]._serialized_end = 662 - _globals["_MSGPAYPACKETFEE"]._serialized_start = 665 - _globals["_MSGPAYPACKETFEE"]._serialized_end = 923 - _globals["_MSGPAYPACKETFEERESPONSE"]._serialized_start = 925 - _globals["_MSGPAYPACKETFEERESPONSE"]._serialized_end = 950 - _globals["_MSGPAYPACKETFEEASYNC"]._serialized_start = 953 - _globals["_MSGPAYPACKETFEEASYNC"]._serialized_end = 1181 - _globals["_MSGPAYPACKETFEEASYNCRESPONSE"]._serialized_start = 1183 - _globals["_MSGPAYPACKETFEEASYNCRESPONSE"]._serialized_end = 1213 - _globals["_MSG"]._serialized_start = 1216 - _globals["_MSG"]._serialized_end = 1718 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.ibc.applications.fee.v1B\007TxProtoP\001Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types\242\002\003IAF\252\002\027Ibc.Applications.Fee.V1\312\002\027Ibc\\Applications\\Fee\\V1\342\002#Ibc\\Applications\\Fee\\V1\\GPBMetadata\352\002\032Ibc::Applications::Fee::V1' + _globals['_MSGREGISTERPAYEE']._loaded_options = None + _globals['_MSGREGISTERPAYEE']._serialized_options = b'\210\240\037\000\202\347\260*\007relayer\212\347\260*\033cosmos-sdk/MsgRegisterPayee' + _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._loaded_options = None + _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_options = b'\210\240\037\000\202\347\260*\007relayer\212\347\260*\'cosmos-sdk/MsgRegisterCounterpartyPayee' + _globals['_MSGPAYPACKETFEE'].fields_by_name['fee']._loaded_options = None + _globals['_MSGPAYPACKETFEE'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGPAYPACKETFEE']._loaded_options = None + _globals['_MSGPAYPACKETFEE']._serialized_options = b'\210\240\037\000\202\347\260*\006signer\212\347\260*\032cosmos-sdk/MsgPayPacketFee' + _globals['_MSGPAYPACKETFEEASYNC'].fields_by_name['packet_id']._loaded_options = None + _globals['_MSGPAYPACKETFEEASYNC'].fields_by_name['packet_id']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGPAYPACKETFEEASYNC'].fields_by_name['packet_fee']._loaded_options = None + _globals['_MSGPAYPACKETFEEASYNC'].fields_by_name['packet_fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGPAYPACKETFEEASYNC']._loaded_options = None + _globals['_MSGPAYPACKETFEEASYNC']._serialized_options = b'\210\240\037\000\202\347\260*\npacket_fee\212\347\260*\037cosmos-sdk/MsgPayPacketFeeAsync' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGREGISTERPAYEE']._serialized_start=198 + _globals['_MSGREGISTERPAYEE']._serialized_end=370 + _globals['_MSGREGISTERPAYEERESPONSE']._serialized_start=372 + _globals['_MSGREGISTERPAYEERESPONSE']._serialized_end=398 + _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_start=401 + _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_end=622 + _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_start=624 + _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_end=662 + _globals['_MSGPAYPACKETFEE']._serialized_start=665 + _globals['_MSGPAYPACKETFEE']._serialized_end=923 + _globals['_MSGPAYPACKETFEERESPONSE']._serialized_start=925 + _globals['_MSGPAYPACKETFEERESPONSE']._serialized_end=950 + _globals['_MSGPAYPACKETFEEASYNC']._serialized_start=953 + _globals['_MSGPAYPACKETFEEASYNC']._serialized_end=1181 + _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_start=1183 + _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_end=1213 + _globals['_MSG']._serialized_start=1216 + _globals['_MSG']._serialized_end=1718 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2_grpc.py index 07b1b027..a5cf040a 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the ICS29 Msg service.""" + """Msg defines the ICS29 Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,33 +16,30 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.RegisterPayee = channel.unary_unary( - "/ibc.applications.fee.v1.Msg/RegisterPayee", - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayee.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayeeResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.fee.v1.Msg/RegisterPayee', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayee.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayeeResponse.FromString, + _registered_method=True) self.RegisterCounterpartyPayee = channel.unary_unary( - "/ibc.applications.fee.v1.Msg/RegisterCounterpartyPayee", - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayee.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayeeResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.fee.v1.Msg/RegisterCounterpartyPayee', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayee.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayeeResponse.FromString, + _registered_method=True) self.PayPacketFee = channel.unary_unary( - "/ibc.applications.fee.v1.Msg/PayPacketFee", - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFee.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.fee.v1.Msg/PayPacketFee', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFee.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeResponse.FromString, + _registered_method=True) self.PayPacketFeeAsync = channel.unary_unary( - "/ibc.applications.fee.v1.Msg/PayPacketFeeAsync", - request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsync.SerializeToString, - response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsyncResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.fee.v1.Msg/PayPacketFeeAsync', + request_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsync.SerializeToString, + response_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsyncResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the ICS29 Msg service.""" + """Msg defines the ICS29 Msg service. + """ def RegisterPayee(self, request, context): """RegisterPayee defines a rpc handler method for MsgRegisterPayee @@ -51,8 +49,8 @@ def RegisterPayee(self, request, context): called more than once by a relayer, in which case, the latest payee is always used. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RegisterCounterpartyPayee(self, request, context): """RegisterCounterpartyPayee defines a rpc handler method for MsgRegisterCounterpartyPayee @@ -62,8 +60,8 @@ def RegisterCounterpartyPayee(self, request, context): may be called more than once by a relayer, in which case, the latest counterparty payee address is always used. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PayPacketFee(self, request, context): """PayPacketFee defines a rpc handler method for MsgPayPacketFee @@ -73,8 +71,8 @@ def PayPacketFee(self, request, context): initiates the lifecycle of the incentivized packet """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PayPacketFeeAsync(self, request, context): """PayPacketFeeAsync defines a rpc handler method for MsgPayPacketFeeAsync @@ -82,59 +80,59 @@ def PayPacketFeeAsync(self, request, context): incentivize the relaying of a known packet (i.e. at a particular sequence) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "RegisterPayee": grpc.unary_unary_rpc_method_handler( - servicer.RegisterPayee, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayee.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayeeResponse.SerializeToString, - ), - "RegisterCounterpartyPayee": grpc.unary_unary_rpc_method_handler( - servicer.RegisterCounterpartyPayee, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayee.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayeeResponse.SerializeToString, - ), - "PayPacketFee": grpc.unary_unary_rpc_method_handler( - servicer.PayPacketFee, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFee.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeResponse.SerializeToString, - ), - "PayPacketFeeAsync": grpc.unary_unary_rpc_method_handler( - servicer.PayPacketFeeAsync, - request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsync.FromString, - response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsyncResponse.SerializeToString, - ), + 'RegisterPayee': grpc.unary_unary_rpc_method_handler( + servicer.RegisterPayee, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayee.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayeeResponse.SerializeToString, + ), + 'RegisterCounterpartyPayee': grpc.unary_unary_rpc_method_handler( + servicer.RegisterCounterpartyPayee, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayee.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayeeResponse.SerializeToString, + ), + 'PayPacketFee': grpc.unary_unary_rpc_method_handler( + servicer.PayPacketFee, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFee.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeResponse.SerializeToString, + ), + 'PayPacketFeeAsync': grpc.unary_unary_rpc_method_handler( + servicer.PayPacketFeeAsync, + request_deserializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsync.FromString, + response_serializer=ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsyncResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("ibc.applications.fee.v1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.applications.fee.v1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("ibc.applications.fee.v1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('ibc.applications.fee.v1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the ICS29 Msg service.""" + """Msg defines the ICS29 Msg service. + """ @staticmethod - def RegisterPayee( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RegisterPayee(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.fee.v1.Msg/RegisterPayee", + '/ibc.applications.fee.v1.Msg/RegisterPayee', ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayee.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterPayeeResponse.FromString, options, @@ -145,26 +143,23 @@ def RegisterPayee( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RegisterCounterpartyPayee( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RegisterCounterpartyPayee(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.fee.v1.Msg/RegisterCounterpartyPayee", + '/ibc.applications.fee.v1.Msg/RegisterCounterpartyPayee', ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayee.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgRegisterCounterpartyPayeeResponse.FromString, options, @@ -175,26 +170,23 @@ def RegisterCounterpartyPayee( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PayPacketFee( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PayPacketFee(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.fee.v1.Msg/PayPacketFee", + '/ibc.applications.fee.v1.Msg/PayPacketFee', ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFee.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeResponse.FromString, options, @@ -205,26 +197,23 @@ def PayPacketFee( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PayPacketFeeAsync( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PayPacketFeeAsync(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.fee.v1.Msg/PayPacketFeeAsync", + '/ibc.applications.fee.v1.Msg/PayPacketFeeAsync', ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsync.SerializeToString, ibc_dot_applications_dot_fee_dot_v1_dot_tx__pb2.MsgPayPacketFeeAsyncResponse.FromString, options, @@ -235,5 +224,4 @@ def PayPacketFeeAsync( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py index 88841bdd..f1fa0f0f 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py @@ -7,26 +7,21 @@ 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'\nCibc/applications/interchain_accounts/controller/v1/controller.proto\x12\x32ibc.applications.interchain_accounts.controller.v1"7\n\x06Params\x12-\n\x12\x63ontroller_enabled\x18\x01 \x01(\x08R\x11\x63ontrollerEnabledB\x84\x03\n6com.ibc.applications.interchain_accounts.controller.v1B\x0f\x43ontrollerProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nCibc/applications/interchain_accounts/controller/v1/controller.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\"7\n\x06Params\x12-\n\x12\x63ontroller_enabled\x18\x01 \x01(\x08R\x11\x63ontrollerEnabledB\x84\x03\n6com.ibc.applications.interchain_accounts.controller.v1B\x0f\x43ontrollerProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "ibc.applications.interchain_accounts.controller.v1.controller_pb2", _globals -) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.controller_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n6com.ibc.applications.interchain_accounts.controller.v1B\017ControllerProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1" - ) - _globals["_PARAMS"]._serialized_start = 123 - _globals["_PARAMS"]._serialized_end = 178 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n6com.ibc.applications.interchain_accounts.controller.v1B\017ControllerProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1' + _globals['_PARAMS']._serialized_start=123 + _globals['_PARAMS']._serialized_end=178 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2_grpc.py @@ -1,3 +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/ibc/applications/interchain_accounts/controller/v1/query_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py index e19ad9ba..b8b32282 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py @@ -7,48 +7,35 @@ 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 pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import ( - controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2, -) +from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n>ibc/applications/interchain_accounts/controller/v1/query.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x1cgoogle/api/annotations.proto"Z\n\x1dQueryInterchainAccountRequest\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId":\n\x1eQueryInterchainAccountResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress"\x14\n\x12QueryParamsRequest"i\n\x13QueryParamsResponse\x12R\n\x06params\x18\x01 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsR\x06params2\xfc\x03\n\x05Query\x12\x9a\x02\n\x11InterchainAccount\x12Q.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest\x1aR.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse"^\x82\xd3\xe4\x93\x02X\x12V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}\x12\xd5\x01\n\x06Params\x12\x46.ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest\x1aG.ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse":\x82\xd3\xe4\x93\x02\x34\x12\x32/ibc/apps/interchain_accounts/controller/v1/paramsB\xff\x02\n6com.ibc.applications.interchain_accounts.controller.v1B\nQueryProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>ibc/applications/interchain_accounts/controller/v1/query.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x1cgoogle/api/annotations.proto\"Z\n\x1dQueryInterchainAccountRequest\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId\":\n\x1eQueryInterchainAccountResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"\x14\n\x12QueryParamsRequest\"i\n\x13QueryParamsResponse\x12R\n\x06params\x18\x01 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsR\x06params2\xfc\x03\n\x05Query\x12\x9a\x02\n\x11InterchainAccount\x12Q.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest\x1aR.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse\"^\x82\xd3\xe4\x93\x02X\x12V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}\x12\xd5\x01\n\x06Params\x12\x46.ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest\x1aG.ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/ibc/apps/interchain_accounts/controller/v1/paramsB\xff\x02\n6com.ibc.applications.interchain_accounts.controller.v1B\nQueryProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "ibc.applications.interchain_accounts.controller.v1.query_pb2", _globals -) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n6com.ibc.applications.interchain_accounts.controller.v1B\nQueryProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1" - ) - _globals["_QUERY"].methods_by_name["InterchainAccount"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "InterchainAccount" - ]._serialized_options = b"\202\323\344\223\002X\022V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}" - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\202\323\344\223\0024\0222/ibc/apps/interchain_accounts/controller/v1/params" - _globals["_QUERYINTERCHAINACCOUNTREQUEST"]._serialized_start = 217 - _globals["_QUERYINTERCHAINACCOUNTREQUEST"]._serialized_end = 307 - _globals["_QUERYINTERCHAINACCOUNTRESPONSE"]._serialized_start = 309 - _globals["_QUERYINTERCHAINACCOUNTRESPONSE"]._serialized_end = 367 - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 369 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 389 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 391 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 496 - _globals["_QUERY"]._serialized_start = 499 - _globals["_QUERY"]._serialized_end = 1007 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n6com.ibc.applications.interchain_accounts.controller.v1B\nQueryProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1' + _globals['_QUERY'].methods_by_name['InterchainAccount']._loaded_options = None + _globals['_QUERY'].methods_by_name['InterchainAccount']._serialized_options = b'\202\323\344\223\002X\022V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\0024\0222/ibc/apps/interchain_accounts/controller/v1/params' + _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_start=217 + _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_end=307 + _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_start=309 + _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_end=367 + _globals['_QUERYPARAMSREQUEST']._serialized_start=369 + _globals['_QUERYPARAMSREQUEST']._serialized_end=389 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=391 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=496 + _globals['_QUERY']._serialized_start=499 + _globals['_QUERY']._serialized_end=1007 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2_grpc.py index 5b34f10e..20b6b332 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2_grpc.py @@ -2,13 +2,12 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import ( - query_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2, -) +from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import query_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2 class QueryStub(object): - """Query provides defines the gRPC querier service.""" + """Query provides defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -17,78 +16,75 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.InterchainAccount = channel.unary_unary( - "/ibc.applications.interchain_accounts.controller.v1.Query/InterchainAccount", - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.interchain_accounts.controller.v1.Query/InterchainAccount', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountResponse.FromString, + _registered_method=True) self.Params = channel.unary_unary( - "/ibc.applications.interchain_accounts.controller.v1.Query/Params", - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.interchain_accounts.controller.v1.Query/Params', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query provides defines the gRPC querier service.""" + """Query provides defines the gRPC querier service. + """ def InterchainAccount(self, request, context): - """InterchainAccount returns the interchain account address for a given owner address on a given connection""" + """InterchainAccount returns the interchain account address for a given owner address on a given connection + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Params(self, request, context): - """Params queries all parameters of the ICA controller submodule.""" + """Params queries all parameters of the ICA controller submodule. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "InterchainAccount": grpc.unary_unary_rpc_method_handler( - servicer.InterchainAccount, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountRequest.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountResponse.SerializeToString, - ), - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), + 'InterchainAccount': grpc.unary_unary_rpc_method_handler( + servicer.InterchainAccount, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountRequest.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountResponse.SerializeToString, + ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - "ibc.applications.interchain_accounts.controller.v1.Query", rpc_method_handlers - ) + 'ibc.applications.interchain_accounts.controller.v1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers( - "ibc.applications.interchain_accounts.controller.v1.Query", rpc_method_handlers - ) + server.add_registered_method_handlers('ibc.applications.interchain_accounts.controller.v1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query provides defines the gRPC querier service.""" + """Query provides defines the gRPC querier service. + """ @staticmethod - def InterchainAccount( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def InterchainAccount(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.interchain_accounts.controller.v1.Query/InterchainAccount", + '/ibc.applications.interchain_accounts.controller.v1.Query/InterchainAccount', ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountRequest.SerializeToString, ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryInterchainAccountResponse.FromString, options, @@ -99,26 +95,23 @@ def InterchainAccount( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.interchain_accounts.controller.v1.Query/Params", + '/ibc.applications.interchain_accounts.controller.v1.Query/Params', ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -129,5 +122,4 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py index f23f4ec4..b28dfc6d 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py @@ -7,65 +7,54 @@ 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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.ibc.applications.interchain_accounts.v1 import ( - packet_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_v1_dot_packet__pb2, -) -from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import ( - controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2, -) +from pyinjective.proto.ibc.applications.interchain_accounts.v1 import packet_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_v1_dot_packet__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2 from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n;ibc/applications/interchain_accounts/controller/v1/tx.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x14gogoproto/gogo.proto\x1a\x34ibc/applications/interchain_accounts/v1/packet.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a!ibc/core/channel/v1/channel.proto"\xbb\x01\n\x1cMsgRegisterInterchainAccount\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x36\n\x08ordering\x18\x04 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner"d\n$MsgRegisterInterchainAccountResponse\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId:\x04\x88\xa0\x1f\x00"\xee\x01\n\tMsgSendTx\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId\x12k\n\x0bpacket_data\x18\x03 \x01(\x0b\x32\x44.ibc.applications.interchain_accounts.v1.InterchainAccountPacketDataB\x04\xc8\xde\x1f\x00R\npacketData\x12)\n\x10relative_timeout\x18\x04 \x01(\x04R\x0frelativeTimeout:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner"5\n\x11MsgSendTxResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00"\x94\x01\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12X\n\x06params\x18\x02 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x19\n\x17MsgUpdateParamsResponse2\x8a\x04\n\x03Msg\x12\xc7\x01\n\x19RegisterInterchainAccount\x12P.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount\x1aX.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse\x12\x8e\x01\n\x06SendTx\x12=.ibc.applications.interchain_accounts.controller.v1.MsgSendTx\x1a\x45.ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse\x12\xa0\x01\n\x0cUpdateParams\x12\x43.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams\x1aK.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xfc\x02\n6com.ibc.applications.interchain_accounts.controller.v1B\x07TxProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;ibc/applications/interchain_accounts/controller/v1/tx.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x14gogoproto/gogo.proto\x1a\x34ibc/applications/interchain_accounts/v1/packet.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a!ibc/core/channel/v1/channel.proto\"\xbb\x01\n\x1cMsgRegisterInterchainAccount\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x36\n\x08ordering\x18\x04 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner\"d\n$MsgRegisterInterchainAccountResponse\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId:\x04\x88\xa0\x1f\x00\"\xee\x01\n\tMsgSendTx\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12#\n\rconnection_id\x18\x02 \x01(\tR\x0c\x63onnectionId\x12k\n\x0bpacket_data\x18\x03 \x01(\x0b\x32\x44.ibc.applications.interchain_accounts.v1.InterchainAccountPacketDataB\x04\xc8\xde\x1f\x00R\npacketData\x12)\n\x10relative_timeout\x18\x04 \x01(\x04R\x0frelativeTimeout:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner\"5\n\x11MsgSendTxResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00\"\x94\x01\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12X\n\x06params\x18\x02 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\x8a\x04\n\x03Msg\x12\xc7\x01\n\x19RegisterInterchainAccount\x12P.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount\x1aX.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse\x12\x8e\x01\n\x06SendTx\x12=.ibc.applications.interchain_accounts.controller.v1.MsgSendTx\x1a\x45.ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse\x12\xa0\x01\n\x0cUpdateParams\x12\x43.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams\x1aK.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xfc\x02\n6com.ibc.applications.interchain_accounts.controller.v1B\x07TxProtoP\x01ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\xa2\x02\x04IAIC\xaa\x02\x31Ibc.Applications.InterchainAccounts.Controller.V1\xca\x02\x31Ibc\\Applications\\InterchainAccounts\\Controller\\V1\xe2\x02=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\xea\x02\x35Ibc::Applications::InterchainAccounts::Controller::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "ibc.applications.interchain_accounts.controller.v1.tx_pb2", _globals -) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.controller.v1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n6com.ibc.applications.interchain_accounts.controller.v1B\007TxProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1" - ) - _globals["_MSGREGISTERINTERCHAINACCOUNT"]._loaded_options = None - _globals["_MSGREGISTERINTERCHAINACCOUNT"]._serialized_options = b"\210\240\037\000\202\347\260*\005owner" - _globals["_MSGREGISTERINTERCHAINACCOUNTRESPONSE"]._loaded_options = None - _globals["_MSGREGISTERINTERCHAINACCOUNTRESPONSE"]._serialized_options = b"\210\240\037\000" - _globals["_MSGSENDTX"].fields_by_name["packet_data"]._loaded_options = None - _globals["_MSGSENDTX"].fields_by_name["packet_data"]._serialized_options = b"\310\336\037\000" - _globals["_MSGSENDTX"]._loaded_options = None - _globals["_MSGSENDTX"]._serialized_options = b"\210\240\037\000\202\347\260*\005owner" - _globals["_MSGSENDTXRESPONSE"]._loaded_options = None - _globals["_MSGSENDTXRESPONSE"]._serialized_options = b"\210\240\037\000" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGREGISTERINTERCHAINACCOUNT"]._serialized_start = 321 - _globals["_MSGREGISTERINTERCHAINACCOUNT"]._serialized_end = 508 - _globals["_MSGREGISTERINTERCHAINACCOUNTRESPONSE"]._serialized_start = 510 - _globals["_MSGREGISTERINTERCHAINACCOUNTRESPONSE"]._serialized_end = 610 - _globals["_MSGSENDTX"]._serialized_start = 613 - _globals["_MSGSENDTX"]._serialized_end = 851 - _globals["_MSGSENDTXRESPONSE"]._serialized_start = 853 - _globals["_MSGSENDTXRESPONSE"]._serialized_end = 906 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 909 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 1057 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1059 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1084 - _globals["_MSG"]._serialized_start = 1087 - _globals["_MSG"]._serialized_end = 1609 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n6com.ibc.applications.interchain_accounts.controller.v1B\007TxProtoP\001ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types\242\002\004IAIC\252\0021Ibc.Applications.InterchainAccounts.Controller.V1\312\0021Ibc\\Applications\\InterchainAccounts\\Controller\\V1\342\002=Ibc\\Applications\\InterchainAccounts\\Controller\\V1\\GPBMetadata\352\0025Ibc::Applications::InterchainAccounts::Controller::V1' + _globals['_MSGREGISTERINTERCHAINACCOUNT']._loaded_options = None + _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_options = b'\210\240\037\000\202\347\260*\005owner' + _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._loaded_options = None + _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGSENDTX'].fields_by_name['packet_data']._loaded_options = None + _globals['_MSGSENDTX'].fields_by_name['packet_data']._serialized_options = b'\310\336\037\000' + _globals['_MSGSENDTX']._loaded_options = None + _globals['_MSGSENDTX']._serialized_options = b'\210\240\037\000\202\347\260*\005owner' + _globals['_MSGSENDTXRESPONSE']._loaded_options = None + _globals['_MSGSENDTXRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_start=321 + _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_end=508 + _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_start=510 + _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_end=610 + _globals['_MSGSENDTX']._serialized_start=613 + _globals['_MSGSENDTX']._serialized_end=851 + _globals['_MSGSENDTXRESPONSE']._serialized_start=853 + _globals['_MSGSENDTXRESPONSE']._serialized_end=906 + _globals['_MSGUPDATEPARAMS']._serialized_start=909 + _globals['_MSGUPDATEPARAMS']._serialized_end=1057 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1059 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1084 + _globals['_MSG']._serialized_start=1087 + _globals['_MSG']._serialized_end=1609 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py index 48f10718..bc8d5510 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py @@ -2,13 +2,12 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import ( - tx_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2, -) +from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import tx_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2 class MsgStub(object): - """Msg defines the 27-interchain-accounts/controller Msg service.""" + """Msg defines the 27-interchain-accounts/controller Msg service. + """ def __init__(self, channel): """Constructor. @@ -17,93 +16,92 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.RegisterInterchainAccount = channel.unary_unary( - "/ibc.applications.interchain_accounts.controller.v1.Msg/RegisterInterchainAccount", - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccount.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccountResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.interchain_accounts.controller.v1.Msg/RegisterInterchainAccount', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccount.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccountResponse.FromString, + _registered_method=True) self.SendTx = channel.unary_unary( - "/ibc.applications.interchain_accounts.controller.v1.Msg/SendTx", - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.interchain_accounts.controller.v1.Msg/SendTx', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( - "/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams", - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the 27-interchain-accounts/controller Msg service.""" + """Msg defines the 27-interchain-accounts/controller Msg service. + """ def RegisterInterchainAccount(self, request, context): - """RegisterInterchainAccount defines a rpc handler for MsgRegisterInterchainAccount.""" + """RegisterInterchainAccount defines a rpc handler for MsgRegisterInterchainAccount. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SendTx(self, request, context): - """SendTx defines a rpc handler for MsgSendTx.""" + """SendTx defines a rpc handler for MsgSendTx. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateParams(self, request, context): - """UpdateParams defines a rpc handler for MsgUpdateParams.""" + """UpdateParams defines a rpc handler for MsgUpdateParams. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "RegisterInterchainAccount": grpc.unary_unary_rpc_method_handler( - servicer.RegisterInterchainAccount, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccount.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccountResponse.SerializeToString, - ), - "SendTx": grpc.unary_unary_rpc_method_handler( - servicer.SendTx, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.SerializeToString, - ), - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + 'RegisterInterchainAccount': grpc.unary_unary_rpc_method_handler( + servicer.RegisterInterchainAccount, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccount.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccountResponse.SerializeToString, + ), + 'SendTx': grpc.unary_unary_rpc_method_handler( + servicer.SendTx, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - "ibc.applications.interchain_accounts.controller.v1.Msg", rpc_method_handlers - ) + 'ibc.applications.interchain_accounts.controller.v1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("ibc.applications.interchain_accounts.controller.v1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('ibc.applications.interchain_accounts.controller.v1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the 27-interchain-accounts/controller Msg service.""" + """Msg defines the 27-interchain-accounts/controller Msg service. + """ @staticmethod - def RegisterInterchainAccount( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RegisterInterchainAccount(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.interchain_accounts.controller.v1.Msg/RegisterInterchainAccount", + '/ibc.applications.interchain_accounts.controller.v1.Msg/RegisterInterchainAccount', ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccount.SerializeToString, ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgRegisterInterchainAccountResponse.FromString, options, @@ -114,26 +112,23 @@ def RegisterInterchainAccount( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SendTx( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SendTx(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.interchain_accounts.controller.v1.Msg/SendTx", + '/ibc.applications.interchain_accounts.controller.v1.Msg/SendTx', ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.SerializeToString, ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.FromString, options, @@ -144,26 +139,23 @@ def SendTx( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams", + '/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams', ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -174,5 +166,4 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py index 49b8f7c3..194654ee 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py @@ -7,59 +7,48 @@ 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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import ( - controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2, -) -from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import ( - host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2, -) +from pyinjective.proto.ibc.applications.interchain_accounts.controller.v1 import controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2 +from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n=ibc/applications/interchain_accounts/genesis/v1/genesis.proto\x12/ibc.applications.interchain_accounts.genesis.v1\x1a\x14gogoproto/gogo.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto"\x8f\x02\n\x0cGenesisState\x12\x87\x01\n\x18\x63ontroller_genesis_state\x18\x01 \x01(\x0b\x32G.ibc.applications.interchain_accounts.genesis.v1.ControllerGenesisStateB\x04\xc8\xde\x1f\x00R\x16\x63ontrollerGenesisState\x12u\n\x12host_genesis_state\x18\x02 \x01(\x0b\x32\x41.ibc.applications.interchain_accounts.genesis.v1.HostGenesisStateB\x04\xc8\xde\x1f\x00R\x10hostGenesisState"\xfd\x02\n\x16\x43ontrollerGenesisState\x12m\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00R\x0e\x61\x63tiveChannels\x12\x83\x01\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00R\x12interchainAccounts\x12\x14\n\x05ports\x18\x03 \x03(\tR\x05ports\x12X\n\x06params\x18\x04 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\xef\x02\n\x10HostGenesisState\x12m\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00R\x0e\x61\x63tiveChannels\x12\x83\x01\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00R\x12interchainAccounts\x12\x12\n\x04port\x18\x03 \x01(\tR\x04port\x12R\n\x06params\x18\x04 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\xa0\x01\n\rActiveChannel\x12#\n\rconnection_id\x18\x01 \x01(\tR\x0c\x63onnectionId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x03 \x01(\tR\tchannelId\x12\x32\n\x15is_middleware_enabled\x18\x04 \x01(\x08R\x13isMiddlewareEnabled"\x84\x01\n\x1bRegisteredInterchainAccount\x12#\n\rconnection_id\x18\x01 \x01(\tR\x0c\x63onnectionId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tR\x0e\x61\x63\x63ountAddressB\xef\x02\n3com.ibc.applications.interchain_accounts.genesis.v1B\x0cGenesisProtoP\x01ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types\xa2\x02\x04IAIG\xaa\x02.Ibc.Applications.InterchainAccounts.Genesis.V1\xca\x02.Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\xe2\x02:Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\\GPBMetadata\xea\x02\x32Ibc::Applications::InterchainAccounts::Genesis::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=ibc/applications/interchain_accounts/genesis/v1/genesis.proto\x12/ibc.applications.interchain_accounts.genesis.v1\x1a\x14gogoproto/gogo.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x8f\x02\n\x0cGenesisState\x12\x87\x01\n\x18\x63ontroller_genesis_state\x18\x01 \x01(\x0b\x32G.ibc.applications.interchain_accounts.genesis.v1.ControllerGenesisStateB\x04\xc8\xde\x1f\x00R\x16\x63ontrollerGenesisState\x12u\n\x12host_genesis_state\x18\x02 \x01(\x0b\x32\x41.ibc.applications.interchain_accounts.genesis.v1.HostGenesisStateB\x04\xc8\xde\x1f\x00R\x10hostGenesisState\"\xfd\x02\n\x16\x43ontrollerGenesisState\x12m\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00R\x0e\x61\x63tiveChannels\x12\x83\x01\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00R\x12interchainAccounts\x12\x14\n\x05ports\x18\x03 \x03(\tR\x05ports\x12X\n\x06params\x18\x04 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\xef\x02\n\x10HostGenesisState\x12m\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00R\x0e\x61\x63tiveChannels\x12\x83\x01\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00R\x12interchainAccounts\x12\x12\n\x04port\x18\x03 \x01(\tR\x04port\x12R\n\x06params\x18\x04 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\xa0\x01\n\rActiveChannel\x12#\n\rconnection_id\x18\x01 \x01(\tR\x0c\x63onnectionId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x03 \x01(\tR\tchannelId\x12\x32\n\x15is_middleware_enabled\x18\x04 \x01(\x08R\x13isMiddlewareEnabled\"\x84\x01\n\x1bRegisteredInterchainAccount\x12#\n\rconnection_id\x18\x01 \x01(\tR\x0c\x63onnectionId\x12\x17\n\x07port_id\x18\x02 \x01(\tR\x06portId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tR\x0e\x61\x63\x63ountAddressB\xef\x02\n3com.ibc.applications.interchain_accounts.genesis.v1B\x0cGenesisProtoP\x01ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types\xa2\x02\x04IAIG\xaa\x02.Ibc.Applications.InterchainAccounts.Genesis.V1\xca\x02.Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\xe2\x02:Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\\GPBMetadata\xea\x02\x32Ibc::Applications::InterchainAccounts::Genesis::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "ibc.applications.interchain_accounts.genesis.v1.genesis_pb2", _globals -) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.genesis.v1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n3com.ibc.applications.interchain_accounts.genesis.v1B\014GenesisProtoP\001ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types\242\002\004IAIG\252\002.Ibc.Applications.InterchainAccounts.Genesis.V1\312\002.Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\342\002:Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\\GPBMetadata\352\0022Ibc::Applications::InterchainAccounts::Genesis::V1" - ) - _globals["_GENESISSTATE"].fields_by_name["controller_genesis_state"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["controller_genesis_state"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["host_genesis_state"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["host_genesis_state"]._serialized_options = b"\310\336\037\000" - _globals["_CONTROLLERGENESISSTATE"].fields_by_name["active_channels"]._loaded_options = None - _globals["_CONTROLLERGENESISSTATE"].fields_by_name["active_channels"]._serialized_options = b"\310\336\037\000" - _globals["_CONTROLLERGENESISSTATE"].fields_by_name["interchain_accounts"]._loaded_options = None - _globals["_CONTROLLERGENESISSTATE"].fields_by_name["interchain_accounts"]._serialized_options = b"\310\336\037\000" - _globals["_CONTROLLERGENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_CONTROLLERGENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_HOSTGENESISSTATE"].fields_by_name["active_channels"]._loaded_options = None - _globals["_HOSTGENESISSTATE"].fields_by_name["active_channels"]._serialized_options = b"\310\336\037\000" - _globals["_HOSTGENESISSTATE"].fields_by_name["interchain_accounts"]._loaded_options = None - _globals["_HOSTGENESISSTATE"].fields_by_name["interchain_accounts"]._serialized_options = b"\310\336\037\000" - _globals["_HOSTGENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_HOSTGENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"]._serialized_start = 263 - _globals["_GENESISSTATE"]._serialized_end = 534 - _globals["_CONTROLLERGENESISSTATE"]._serialized_start = 537 - _globals["_CONTROLLERGENESISSTATE"]._serialized_end = 918 - _globals["_HOSTGENESISSTATE"]._serialized_start = 921 - _globals["_HOSTGENESISSTATE"]._serialized_end = 1288 - _globals["_ACTIVECHANNEL"]._serialized_start = 1291 - _globals["_ACTIVECHANNEL"]._serialized_end = 1451 - _globals["_REGISTEREDINTERCHAINACCOUNT"]._serialized_start = 1454 - _globals["_REGISTEREDINTERCHAINACCOUNT"]._serialized_end = 1586 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n3com.ibc.applications.interchain_accounts.genesis.v1B\014GenesisProtoP\001ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types\242\002\004IAIG\252\002.Ibc.Applications.InterchainAccounts.Genesis.V1\312\002.Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\342\002:Ibc\\Applications\\InterchainAccounts\\Genesis\\V1\\GPBMetadata\352\0022Ibc::Applications::InterchainAccounts::Genesis::V1' + _globals['_GENESISSTATE'].fields_by_name['controller_genesis_state']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['controller_genesis_state']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['host_genesis_state']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['host_genesis_state']._serialized_options = b'\310\336\037\000' + _globals['_CONTROLLERGENESISSTATE'].fields_by_name['active_channels']._loaded_options = None + _globals['_CONTROLLERGENESISSTATE'].fields_by_name['active_channels']._serialized_options = b'\310\336\037\000' + _globals['_CONTROLLERGENESISSTATE'].fields_by_name['interchain_accounts']._loaded_options = None + _globals['_CONTROLLERGENESISSTATE'].fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000' + _globals['_CONTROLLERGENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_CONTROLLERGENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_HOSTGENESISSTATE'].fields_by_name['active_channels']._loaded_options = None + _globals['_HOSTGENESISSTATE'].fields_by_name['active_channels']._serialized_options = b'\310\336\037\000' + _globals['_HOSTGENESISSTATE'].fields_by_name['interchain_accounts']._loaded_options = None + _globals['_HOSTGENESISSTATE'].fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000' + _globals['_HOSTGENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_HOSTGENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=263 + _globals['_GENESISSTATE']._serialized_end=534 + _globals['_CONTROLLERGENESISSTATE']._serialized_start=537 + _globals['_CONTROLLERGENESISSTATE']._serialized_end=918 + _globals['_HOSTGENESISSTATE']._serialized_start=921 + _globals['_HOSTGENESISSTATE']._serialized_end=1288 + _globals['_ACTIVECHANNEL']._serialized_start=1291 + _globals['_ACTIVECHANNEL']._serialized_end=1451 + _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_start=1454 + _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_end=1586 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2_grpc.py @@ -1,3 +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/ibc/applications/interchain_accounts/host/v1/host_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py index f47f3de6..8c967b28 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py @@ -7,26 +7,23 @@ 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'\n7ibc/applications/interchain_accounts/host/v1/host.proto\x12,ibc.applications.interchain_accounts.host.v1"R\n\x06Params\x12!\n\x0chost_enabled\x18\x01 \x01(\x08R\x0bhostEnabled\x12%\n\x0e\x61llow_messages\x18\x02 \x03(\tR\rallowMessages"6\n\x0cQueryRequest\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61taB\xda\x02\n0com.ibc.applications.interchain_accounts.host.v1B\tHostProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7ibc/applications/interchain_accounts/host/v1/host.proto\x12,ibc.applications.interchain_accounts.host.v1\"R\n\x06Params\x12!\n\x0chost_enabled\x18\x01 \x01(\x08R\x0bhostEnabled\x12%\n\x0e\x61llow_messages\x18\x02 \x03(\tR\rallowMessages\"6\n\x0cQueryRequest\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61taB\xda\x02\n0com.ibc.applications.interchain_accounts.host.v1B\tHostProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.interchain_accounts.host.v1.host_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.host_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n0com.ibc.applications.interchain_accounts.host.v1B\tHostProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1" - ) - _globals["_PARAMS"]._serialized_start = 105 - _globals["_PARAMS"]._serialized_end = 187 - _globals["_QUERYREQUEST"]._serialized_start = 189 - _globals["_QUERYREQUEST"]._serialized_end = 243 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n0com.ibc.applications.interchain_accounts.host.v1B\tHostProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1' + _globals['_PARAMS']._serialized_start=105 + _globals['_PARAMS']._serialized_end=187 + _globals['_QUERYREQUEST']._serialized_start=189 + _globals['_QUERYREQUEST']._serialized_end=243 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2_grpc.py @@ -1,3 +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/ibc/applications/interchain_accounts/host/v1/query_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py index bd0e6a1c..fa34caa5 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py @@ -7,38 +7,29 @@ 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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import ( - host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2, -) +from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n8ibc/applications/interchain_accounts/host/v1/query.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto"\x14\n\x12QueryParamsRequest"c\n\x13QueryParamsResponse\x12L\n\x06params\x18\x01 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsR\x06params2\xcd\x01\n\x05Query\x12\xc3\x01\n\x06Params\x12@.ibc.applications.interchain_accounts.host.v1.QueryParamsRequest\x1a\x41.ibc.applications.interchain_accounts.host.v1.QueryParamsResponse"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/interchain_accounts/host/v1/paramsB\xdb\x02\n0com.ibc.applications.interchain_accounts.host.v1B\nQueryProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8ibc/applications/interchain_accounts/host/v1/query.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x14\n\x12QueryParamsRequest\"c\n\x13QueryParamsResponse\x12L\n\x06params\x18\x01 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsR\x06params2\xcd\x01\n\x05Query\x12\xc3\x01\n\x06Params\x12@.ibc.applications.interchain_accounts.host.v1.QueryParamsRequest\x1a\x41.ibc.applications.interchain_accounts.host.v1.QueryParamsResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/interchain_accounts/host/v1/paramsB\xdb\x02\n0com.ibc.applications.interchain_accounts.host.v1B\nQueryProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.interchain_accounts.host.v1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n0com.ibc.applications.interchain_accounts.host.v1B\nQueryProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1" - ) - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\202\323\344\223\002.\022,/ibc/apps/interchain_accounts/host/v1/params" - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 193 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 213 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 215 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 314 - _globals["_QUERY"]._serialized_start = 317 - _globals["_QUERY"]._serialized_end = 522 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n0com.ibc.applications.interchain_accounts.host.v1B\nQueryProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002.\022,/ibc/apps/interchain_accounts/host/v1/params' + _globals['_QUERYPARAMSREQUEST']._serialized_start=193 + _globals['_QUERYPARAMSREQUEST']._serialized_end=213 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=215 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=314 + _globals['_QUERY']._serialized_start=317 + _globals['_QUERY']._serialized_end=522 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2_grpc.py index 4fafb54b..705d751a 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2_grpc.py @@ -2,13 +2,12 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import ( - query_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2, -) +from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import query_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2 class QueryStub(object): - """Query provides defines the gRPC querier service.""" + """Query provides defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -17,59 +16,58 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - "/ibc.applications.interchain_accounts.host.v1.Query/Params", - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.interchain_accounts.host.v1.Query/Params', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query provides defines the gRPC querier service.""" + """Query provides defines the gRPC querier service. + """ def Params(self, request, context): - """Params queries all parameters of the ICA host submodule.""" + """Params queries all parameters of the ICA host submodule. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - "ibc.applications.interchain_accounts.host.v1.Query", rpc_method_handlers - ) + 'ibc.applications.interchain_accounts.host.v1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("ibc.applications.interchain_accounts.host.v1.Query", rpc_method_handlers) + server.add_registered_method_handlers('ibc.applications.interchain_accounts.host.v1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query provides defines the gRPC querier service.""" + """Query provides defines the gRPC querier service. + """ @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.interchain_accounts.host.v1.Query/Params", + '/ibc.applications.interchain_accounts.host.v1.Query/Params', ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -80,5 +78,4 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py index ecde1ec8..ae1b1562 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -15,39 +14,33 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import ( - host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2, -) +from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n5ibc/applications/interchain_accounts/host/v1/tx.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto"\x8e\x01\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12R\n\x06params\x18\x02 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x19\n\x17MsgUpdateParamsResponse"\x95\x01\n\x12MsgModuleQuerySafe\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12V\n\x08requests\x18\x02 \x03(\x0b\x32:.ibc.applications.interchain_accounts.host.v1.QueryRequestR\x08requests:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"R\n\x1aMsgModuleQuerySafeResponse\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x1c\n\tresponses\x18\x02 \x03(\x0cR\tresponses2\xc3\x02\n\x03Msg\x12\x94\x01\n\x0cUpdateParams\x12=.ibc.applications.interchain_accounts.host.v1.MsgUpdateParams\x1a\x45.ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse\x12\x9d\x01\n\x0fModuleQuerySafe\x12@.ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe\x1aH.ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafeResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd8\x02\n0com.ibc.applications.interchain_accounts.host.v1B\x07TxProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/host/v1/tx.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x8e\x01\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12R\n\x06params\x18\x02 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse\"\x95\x01\n\x12MsgModuleQuerySafe\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12V\n\x08requests\x18\x02 \x03(\x0b\x32:.ibc.applications.interchain_accounts.host.v1.QueryRequestR\x08requests:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"R\n\x1aMsgModuleQuerySafeResponse\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x1c\n\tresponses\x18\x02 \x03(\x0cR\tresponses2\xc3\x02\n\x03Msg\x12\x94\x01\n\x0cUpdateParams\x12=.ibc.applications.interchain_accounts.host.v1.MsgUpdateParams\x1a\x45.ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse\x12\x9d\x01\n\x0fModuleQuerySafe\x12@.ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe\x1aH.ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafeResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd8\x02\n0com.ibc.applications.interchain_accounts.host.v1B\x07TxProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\xa2\x02\x04IAIH\xaa\x02+Ibc.Applications.InterchainAccounts.Host.V1\xca\x02+Ibc\\Applications\\InterchainAccounts\\Host\\V1\xe2\x02\x37Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\xea\x02/Ibc::Applications::InterchainAccounts::Host::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.interchain_accounts.host.v1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n0com.ibc.applications.interchain_accounts.host.v1B\007TxProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGMODULEQUERYSAFE"]._loaded_options = None - _globals["_MSGMODULEQUERYSAFE"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGUPDATEPARAMS"]._serialized_start = 208 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 350 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 352 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 377 - _globals["_MSGMODULEQUERYSAFE"]._serialized_start = 380 - _globals["_MSGMODULEQUERYSAFE"]._serialized_end = 529 - _globals["_MSGMODULEQUERYSAFERESPONSE"]._serialized_start = 531 - _globals["_MSGMODULEQUERYSAFERESPONSE"]._serialized_end = 613 - _globals["_MSG"]._serialized_start = 616 - _globals["_MSG"]._serialized_end = 939 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n0com.ibc.applications.interchain_accounts.host.v1B\007TxProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types\242\002\004IAIH\252\002+Ibc.Applications.InterchainAccounts.Host.V1\312\002+Ibc\\Applications\\InterchainAccounts\\Host\\V1\342\0027Ibc\\Applications\\InterchainAccounts\\Host\\V1\\GPBMetadata\352\002/Ibc::Applications::InterchainAccounts::Host::V1' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGMODULEQUERYSAFE']._loaded_options = None + _globals['_MSGMODULEQUERYSAFE']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGUPDATEPARAMS']._serialized_start=208 + _globals['_MSGUPDATEPARAMS']._serialized_end=350 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=352 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=377 + _globals['_MSGMODULEQUERYSAFE']._serialized_start=380 + _globals['_MSGMODULEQUERYSAFE']._serialized_end=529 + _globals['_MSGMODULEQUERYSAFERESPONSE']._serialized_start=531 + _globals['_MSGMODULEQUERYSAFERESPONSE']._serialized_end=613 + _globals['_MSG']._serialized_start=616 + _globals['_MSG']._serialized_end=939 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py index 4ee64292..67d91a1e 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py @@ -2,13 +2,12 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import ( - tx_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2, -) +from pyinjective.proto.ibc.applications.interchain_accounts.host.v1 import tx_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2 class MsgStub(object): - """Msg defines the 27-interchain-accounts/host Msg service.""" + """Msg defines the 27-interchain-accounts/host Msg service. + """ def __init__(self, channel): """Constructor. @@ -17,76 +16,75 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.UpdateParams = channel.unary_unary( - "/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams", - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) self.ModuleQuerySafe = channel.unary_unary( - "/ibc.applications.interchain_accounts.host.v1.Msg/ModuleQuerySafe", - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafe.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafeResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.interchain_accounts.host.v1.Msg/ModuleQuerySafe', + request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafe.SerializeToString, + response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafeResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the 27-interchain-accounts/host Msg service.""" + """Msg defines the 27-interchain-accounts/host Msg service. + """ def UpdateParams(self, request, context): - """UpdateParams defines a rpc handler for MsgUpdateParams.""" + """UpdateParams defines a rpc handler for MsgUpdateParams. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ModuleQuerySafe(self, request, context): - """ModuleQuerySafe defines a rpc handler for MsgModuleQuerySafe.""" + """ModuleQuerySafe defines a rpc handler for MsgModuleQuerySafe. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - "ModuleQuerySafe": grpc.unary_unary_rpc_method_handler( - servicer.ModuleQuerySafe, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafe.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafeResponse.SerializeToString, - ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'ModuleQuerySafe': grpc.unary_unary_rpc_method_handler( + servicer.ModuleQuerySafe, + request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafe.FromString, + response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafeResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( - "ibc.applications.interchain_accounts.host.v1.Msg", rpc_method_handlers - ) + 'ibc.applications.interchain_accounts.host.v1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("ibc.applications.interchain_accounts.host.v1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('ibc.applications.interchain_accounts.host.v1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the 27-interchain-accounts/host Msg service.""" + """Msg defines the 27-interchain-accounts/host Msg service. + """ @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams", + '/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams', ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -97,26 +95,23 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ModuleQuerySafe( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ModuleQuerySafe(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.interchain_accounts.host.v1.Msg/ModuleQuerySafe", + '/ibc.applications.interchain_accounts.host.v1.Msg/ModuleQuerySafe', ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafe.SerializeToString, ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgModuleQuerySafeResponse.FromString, options, @@ -127,5 +122,4 @@ def ModuleQuerySafe( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py index 4ead5cf9..256eb9e6 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,24 +17,18 @@ from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n5ibc/applications/interchain_accounts/v1/account.proto\x12'ibc.applications.interchain_accounts.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xcb\x01\n\x11InterchainAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12#\n\raccount_owner\x18\x02 \x01(\tR\x0c\x61\x63\x63ountOwner:F\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xca\xb4-:ibc.applications.interchain_accounts.v1.InterchainAccountIB\xbd\x02\n+com.ibc.applications.interchain_accounts.v1B\x0c\x41\x63\x63ountProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3" -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/v1/account.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xcb\x01\n\x11InterchainAccount\x12I\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01R\x0b\x62\x61seAccount\x12#\n\raccount_owner\x18\x02 \x01(\tR\x0c\x61\x63\x63ountOwner:F\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xca\xb4-:ibc.applications.interchain_accounts.v1.InterchainAccountIB\xbd\x02\n+com.ibc.applications.interchain_accounts.v1B\x0c\x41\x63\x63ountProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.interchain_accounts.v1.account_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.account_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n+com.ibc.applications.interchain_accounts.v1B\014AccountProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1" - ) - _globals["_INTERCHAINACCOUNT"].fields_by_name["base_account"]._loaded_options = None - _globals["_INTERCHAINACCOUNT"].fields_by_name["base_account"]._serialized_options = b"\320\336\037\001" - _globals["_INTERCHAINACCOUNT"]._loaded_options = None - _globals["_INTERCHAINACCOUNT"]._serialized_options = ( - b"\210\240\037\000\230\240\037\000\312\264-:ibc.applications.interchain_accounts.v1.InterchainAccountI" - ) - _globals["_INTERCHAINACCOUNT"]._serialized_start = 180 - _globals["_INTERCHAINACCOUNT"]._serialized_end = 383 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n+com.ibc.applications.interchain_accounts.v1B\014AccountProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1' + _globals['_INTERCHAINACCOUNT'].fields_by_name['base_account']._loaded_options = None + _globals['_INTERCHAINACCOUNT'].fields_by_name['base_account']._serialized_options = b'\320\336\037\001' + _globals['_INTERCHAINACCOUNT']._loaded_options = None + _globals['_INTERCHAINACCOUNT']._serialized_options = b'\210\240\037\000\230\240\037\000\312\264-:ibc.applications.interchain_accounts.v1.InterchainAccountI' + _globals['_INTERCHAINACCOUNT']._serialized_start=180 + _globals['_INTERCHAINACCOUNT']._serialized_end=383 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2_grpc.py @@ -1,3 +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/ibc/applications/interchain_accounts/v1/metadata_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py index 3e25baa7..86ec209d 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py @@ -7,24 +7,21 @@ 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"\n6ibc/applications/interchain_accounts/v1/metadata.proto\x12'ibc.applications.interchain_accounts.v1\"\xdb\x01\n\x08Metadata\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x38\n\x18\x63ontroller_connection_id\x18\x02 \x01(\tR\x16\x63ontrollerConnectionId\x12,\n\x12host_connection_id\x18\x03 \x01(\tR\x10hostConnectionId\x12\x18\n\x07\x61\x64\x64ress\x18\x04 \x01(\tR\x07\x61\x64\x64ress\x12\x1a\n\x08\x65ncoding\x18\x05 \x01(\tR\x08\x65ncoding\x12\x17\n\x07tx_type\x18\x06 \x01(\tR\x06txTypeB\xbe\x02\n+com.ibc.applications.interchain_accounts.v1B\rMetadataProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3" -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6ibc/applications/interchain_accounts/v1/metadata.proto\x12\'ibc.applications.interchain_accounts.v1\"\xdb\x01\n\x08Metadata\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x38\n\x18\x63ontroller_connection_id\x18\x02 \x01(\tR\x16\x63ontrollerConnectionId\x12,\n\x12host_connection_id\x18\x03 \x01(\tR\x10hostConnectionId\x12\x18\n\x07\x61\x64\x64ress\x18\x04 \x01(\tR\x07\x61\x64\x64ress\x12\x1a\n\x08\x65ncoding\x18\x05 \x01(\tR\x08\x65ncoding\x12\x17\n\x07tx_type\x18\x06 \x01(\tR\x06txTypeB\xbe\x02\n+com.ibc.applications.interchain_accounts.v1B\rMetadataProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.interchain_accounts.v1.metadata_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.metadata_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n+com.ibc.applications.interchain_accounts.v1B\rMetadataProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1" - ) - _globals["_METADATA"]._serialized_start = 100 - _globals["_METADATA"]._serialized_end = 319 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n+com.ibc.applications.interchain_accounts.v1B\rMetadataProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1' + _globals['_METADATA']._serialized_start=100 + _globals['_METADATA']._serialized_end=319 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2_grpc.py @@ -1,3 +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/ibc/applications/interchain_accounts/v1/packet_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py index ac1cbf8d..b5369237 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,28 +16,24 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n4ibc/applications/interchain_accounts/v1/packet.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto"\x88\x01\n\x1bInterchainAccountPacketData\x12\x41\n\x04type\x18\x01 \x01(\x0e\x32-.ibc.applications.interchain_accounts.v1.TypeR\x04type\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04memo\x18\x03 \x01(\tR\x04memo"<\n\x08\x43osmosTx\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages*X\n\x04Type\x12%\n\x10TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12#\n\x0fTYPE_EXECUTE_TX\x10\x01\x1a\x0e\x8a\x9d \nEXECUTE_TX\x1a\x04\x88\xa3\x1e\x00\x42\xbc\x02\n+com.ibc.applications.interchain_accounts.v1B\x0bPacketProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4ibc/applications/interchain_accounts/v1/packet.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\"\x88\x01\n\x1bInterchainAccountPacketData\x12\x41\n\x04type\x18\x01 \x01(\x0e\x32-.ibc.applications.interchain_accounts.v1.TypeR\x04type\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04memo\x18\x03 \x01(\tR\x04memo\"<\n\x08\x43osmosTx\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messages*X\n\x04Type\x12%\n\x10TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12#\n\x0fTYPE_EXECUTE_TX\x10\x01\x1a\x0e\x8a\x9d \nEXECUTE_TX\x1a\x04\x88\xa3\x1e\x00\x42\xbc\x02\n+com.ibc.applications.interchain_accounts.v1B\x0bPacketProtoP\x01ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\xa2\x02\x03IAI\xaa\x02&Ibc.Applications.InterchainAccounts.V1\xca\x02&Ibc\\Applications\\InterchainAccounts\\V1\xe2\x02\x32Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\xea\x02)Ibc::Applications::InterchainAccounts::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.interchain_accounts.v1.packet_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.v1.packet_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n+com.ibc.applications.interchain_accounts.v1B\013PacketProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1" - ) - _globals["_TYPE"]._loaded_options = None - _globals["_TYPE"]._serialized_options = b"\210\243\036\000" - _globals["_TYPE"].values_by_name["TYPE_UNSPECIFIED"]._loaded_options = None - _globals["_TYPE"].values_by_name["TYPE_UNSPECIFIED"]._serialized_options = b"\212\235 \013UNSPECIFIED" - _globals["_TYPE"].values_by_name["TYPE_EXECUTE_TX"]._loaded_options = None - _globals["_TYPE"].values_by_name["TYPE_EXECUTE_TX"]._serialized_options = b"\212\235 \nEXECUTE_TX" - _globals["_TYPE"]._serialized_start = 347 - _globals["_TYPE"]._serialized_end = 435 - _globals["_INTERCHAINACCOUNTPACKETDATA"]._serialized_start = 147 - _globals["_INTERCHAINACCOUNTPACKETDATA"]._serialized_end = 283 - _globals["_COSMOSTX"]._serialized_start = 285 - _globals["_COSMOSTX"]._serialized_end = 345 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n+com.ibc.applications.interchain_accounts.v1B\013PacketProtoP\001ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types\242\002\003IAI\252\002&Ibc.Applications.InterchainAccounts.V1\312\002&Ibc\\Applications\\InterchainAccounts\\V1\342\0022Ibc\\Applications\\InterchainAccounts\\V1\\GPBMetadata\352\002)Ibc::Applications::InterchainAccounts::V1' + _globals['_TYPE']._loaded_options = None + _globals['_TYPE']._serialized_options = b'\210\243\036\000' + _globals['_TYPE'].values_by_name["TYPE_UNSPECIFIED"]._loaded_options = None + _globals['_TYPE'].values_by_name["TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' + _globals['_TYPE'].values_by_name["TYPE_EXECUTE_TX"]._loaded_options = None + _globals['_TYPE'].values_by_name["TYPE_EXECUTE_TX"]._serialized_options = b'\212\235 \nEXECUTE_TX' + _globals['_TYPE']._serialized_start=347 + _globals['_TYPE']._serialized_end=435 + _globals['_INTERCHAINACCOUNTPACKETDATA']._serialized_start=147 + _globals['_INTERCHAINACCOUNTPACKETDATA']._serialized_end=283 + _globals['_COSMOSTX']._serialized_start=285 + _globals['_COSMOSTX']._serialized_end=345 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2_grpc.py @@ -1,3 +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/ibc/applications/transfer/v1/authz_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py index 6afe21e6..3d4eef1e 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,28 +17,22 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n(ibc/applications/transfer/v1/authz.proto\x12\x1cibc.applications.transfer.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"\x91\x02\n\nAllocation\x12\x1f\n\x0bsource_port\x18\x01 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x02 \x01(\tR\rsourceChannel\x12l\n\x0bspend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\nspendLimit\x12\x1d\n\nallow_list\x18\x04 \x03(\tR\tallowList\x12.\n\x13\x61llowed_packet_data\x18\x05 \x03(\tR\x11\x61llowedPacketData"\x91\x01\n\x15TransferAuthorization\x12P\n\x0b\x61llocations\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.AllocationB\x04\xc8\xde\x1f\x00R\x0b\x61llocations:&\xca\xb4-"cosmos.authz.v1beta1.AuthorizationB\xfa\x01\n com.ibc.applications.transfer.v1B\nAuthzProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/authz.proto\x12\x1cibc.applications.transfer.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x91\x02\n\nAllocation\x12\x1f\n\x0bsource_port\x18\x01 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x02 \x01(\tR\rsourceChannel\x12l\n\x0bspend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\nspendLimit\x12\x1d\n\nallow_list\x18\x04 \x03(\tR\tallowList\x12.\n\x13\x61llowed_packet_data\x18\x05 \x03(\tR\x11\x61llowedPacketData\"\x91\x01\n\x15TransferAuthorization\x12P\n\x0b\x61llocations\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.AllocationB\x04\xc8\xde\x1f\x00R\x0b\x61llocations:&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationB\xfa\x01\n com.ibc.applications.transfer.v1B\nAuthzProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.transfer.v1.authz_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.authz_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n com.ibc.applications.transfer.v1B\nAuthzProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1" - ) - _globals["_ALLOCATION"].fields_by_name["spend_limit"]._loaded_options = None - _globals["_ALLOCATION"].fields_by_name[ - "spend_limit" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" - _globals["_TRANSFERAUTHORIZATION"].fields_by_name["allocations"]._loaded_options = None - _globals["_TRANSFERAUTHORIZATION"].fields_by_name["allocations"]._serialized_options = b"\310\336\037\000" - _globals["_TRANSFERAUTHORIZATION"]._loaded_options = None - _globals["_TRANSFERAUTHORIZATION"]._serialized_options = b'\312\264-"cosmos.authz.v1beta1.Authorization' - _globals["_ALLOCATION"]._serialized_start = 156 - _globals["_ALLOCATION"]._serialized_end = 429 - _globals["_TRANSFERAUTHORIZATION"]._serialized_start = 432 - _globals["_TRANSFERAUTHORIZATION"]._serialized_end = 577 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\nAuthzProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' + _globals['_ALLOCATION'].fields_by_name['spend_limit']._loaded_options = None + _globals['_ALLOCATION'].fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_TRANSFERAUTHORIZATION'].fields_by_name['allocations']._loaded_options = None + _globals['_TRANSFERAUTHORIZATION'].fields_by_name['allocations']._serialized_options = b'\310\336\037\000' + _globals['_TRANSFERAUTHORIZATION']._loaded_options = None + _globals['_TRANSFERAUTHORIZATION']._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' + _globals['_ALLOCATION']._serialized_start=156 + _globals['_ALLOCATION']._serialized_end=429 + _globals['_TRANSFERAUTHORIZATION']._serialized_start=432 + _globals['_TRANSFERAUTHORIZATION']._serialized_end=577 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2_grpc.py @@ -1,3 +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/ibc/applications/transfer/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py index 9ef6f5ab..60e49908 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py @@ -7,41 +7,30 @@ 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 pyinjective.proto.ibc.applications.transfer.v1 import ( - transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2, -) +from pyinjective.proto.ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n*ibc/applications/transfer/v1/genesis.proto\x12\x1cibc.applications.transfer.v1\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto"\xbc\x02\n\x0cGenesisState\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12[\n\x0c\x64\x65nom_traces\x18\x02 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06TracesR\x0b\x64\x65nomTraces\x12\x42\n\x06params\x18\x03 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12r\n\x0etotal_escrowed\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\rtotalEscrowedB\xfc\x01\n com.ibc.applications.transfer.v1B\x0cGenesisProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*ibc/applications/transfer/v1/genesis.proto\x12\x1cibc.applications.transfer.v1\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\"\xbc\x02\n\x0cGenesisState\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12[\n\x0c\x64\x65nom_traces\x18\x02 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06TracesR\x0b\x64\x65nomTraces\x12\x42\n\x06params\x18\x03 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12r\n\x0etotal_escrowed\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\rtotalEscrowedB\xfc\x01\n com.ibc.applications.transfer.v1B\x0cGenesisProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.transfer.v1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n com.ibc.applications.transfer.v1B\014GenesisProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1" - ) - _globals["_GENESISSTATE"].fields_by_name["denom_traces"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "denom_traces" - ]._serialized_options = b"\310\336\037\000\252\337\037\006Traces" - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["total_escrowed"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "total_escrowed" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" - _globals["_GENESISSTATE"]._serialized_start = 176 - _globals["_GENESISSTATE"]._serialized_end = 492 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\014GenesisProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' + _globals['_GENESISSTATE'].fields_by_name['denom_traces']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\252\337\037\006Traces' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['total_escrowed']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['total_escrowed']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_GENESISSTATE']._serialized_start=176 + _globals['_GENESISSTATE']._serialized_end=492 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2_grpc.py @@ -1,3 +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/ibc/applications/transfer/v1/query_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py index 50d8b36b..eb1189bc 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -15,83 +14,59 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) -from pyinjective.proto.ibc.applications.transfer.v1 import ( - transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 from pyinjective.proto.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\x12\n\x04hash\x18\x01 \x01(\tR\x04hash"d\n\x17QueryDenomTraceResponse\x12I\n\x0b\x64\x65nom_trace\x18\x01 \x01(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceR\ndenomTrace"a\n\x17QueryDenomTracesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xc0\x01\n\x18QueryDenomTracesResponse\x12[\n\x0c\x64\x65nom_traces\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06TracesR\x0b\x64\x65nomTraces\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x14\n\x12QueryParamsRequest"S\n\x13QueryParamsResponse\x12<\n\x06params\x18\x01 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsR\x06params"-\n\x15QueryDenomHashRequest\x12\x14\n\x05trace\x18\x01 \x01(\tR\x05trace",\n\x16QueryDenomHashResponse\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash"S\n\x19QueryEscrowAddressRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"C\n\x1aQueryEscrowAddressResponse\x12%\n\x0e\x65scrow_address\x18\x01 \x01(\tR\rescrowAddress"7\n\x1fQueryTotalEscrowForDenomRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom"[\n QueryTotalEscrowForDenomResponse\x12\x37\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount2\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_escrowB\xfa\x01\n com.ibc.applications.transfer.v1B\nQueryProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\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\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\"d\n\x17QueryDenomTraceResponse\x12I\n\x0b\x64\x65nom_trace\x18\x01 \x01(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceR\ndenomTrace\"a\n\x17QueryDenomTracesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xc0\x01\n\x18QueryDenomTracesResponse\x12[\n\x0c\x64\x65nom_traces\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06TracesR\x0b\x64\x65nomTraces\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x14\n\x12QueryParamsRequest\"S\n\x13QueryParamsResponse\x12<\n\x06params\x18\x01 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsR\x06params\"-\n\x15QueryDenomHashRequest\x12\x14\n\x05trace\x18\x01 \x01(\tR\x05trace\",\n\x16QueryDenomHashResponse\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\"S\n\x19QueryEscrowAddressRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"C\n\x1aQueryEscrowAddressResponse\x12%\n\x0e\x65scrow_address\x18\x01 \x01(\tR\rescrowAddress\"7\n\x1fQueryTotalEscrowForDenomRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"[\n QueryTotalEscrowForDenomResponse\x12\x37\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount2\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_escrowB\xfa\x01\n com.ibc.applications.transfer.v1B\nQueryProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.transfer.v1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n com.ibc.applications.transfer.v1B\nQueryProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1" - ) - _globals["_QUERYDENOMTRACESRESPONSE"].fields_by_name["denom_traces"]._loaded_options = None - _globals["_QUERYDENOMTRACESRESPONSE"].fields_by_name[ - "denom_traces" - ]._serialized_options = b"\310\336\037\000\252\337\037\006Traces" - _globals["_QUERYTOTALESCROWFORDENOMRESPONSE"].fields_by_name["amount"]._loaded_options = None - _globals["_QUERYTOTALESCROWFORDENOMRESPONSE"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" - _globals["_QUERY"].methods_by_name["DenomTraces"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DenomTraces" - ]._serialized_options = b'\202\323\344\223\002$\022"/ibc/apps/transfer/v1/denom_traces' - _globals["_QUERY"].methods_by_name["DenomTrace"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DenomTrace" - ]._serialized_options = b"\202\323\344\223\002.\022,/ibc/apps/transfer/v1/denom_traces/{hash=**}" - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\202\323\344\223\002\036\022\034/ibc/apps/transfer/v1/params" - _globals["_QUERY"].methods_by_name["DenomHash"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DenomHash" - ]._serialized_options = b"\202\323\344\223\002/\022-/ibc/apps/transfer/v1/denom_hashes/{trace=**}" - _globals["_QUERY"].methods_by_name["EscrowAddress"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "EscrowAddress" - ]._serialized_options = ( - b"\202\323\344\223\002L\022J/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address" - ) - _globals["_QUERY"].methods_by_name["TotalEscrowForDenom"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "TotalEscrowForDenom" - ]._serialized_options = b"\202\323\344\223\0026\0224/ibc/apps/transfer/v1/denoms/{denom=**}/total_escrow" - _globals["_QUERYDENOMTRACEREQUEST"]._serialized_start = 247 - _globals["_QUERYDENOMTRACEREQUEST"]._serialized_end = 291 - _globals["_QUERYDENOMTRACERESPONSE"]._serialized_start = 293 - _globals["_QUERYDENOMTRACERESPONSE"]._serialized_end = 393 - _globals["_QUERYDENOMTRACESREQUEST"]._serialized_start = 395 - _globals["_QUERYDENOMTRACESREQUEST"]._serialized_end = 492 - _globals["_QUERYDENOMTRACESRESPONSE"]._serialized_start = 495 - _globals["_QUERYDENOMTRACESRESPONSE"]._serialized_end = 687 - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 689 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 709 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 711 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 794 - _globals["_QUERYDENOMHASHREQUEST"]._serialized_start = 796 - _globals["_QUERYDENOMHASHREQUEST"]._serialized_end = 841 - _globals["_QUERYDENOMHASHRESPONSE"]._serialized_start = 843 - _globals["_QUERYDENOMHASHRESPONSE"]._serialized_end = 887 - _globals["_QUERYESCROWADDRESSREQUEST"]._serialized_start = 889 - _globals["_QUERYESCROWADDRESSREQUEST"]._serialized_end = 972 - _globals["_QUERYESCROWADDRESSRESPONSE"]._serialized_start = 974 - _globals["_QUERYESCROWADDRESSRESPONSE"]._serialized_end = 1041 - _globals["_QUERYTOTALESCROWFORDENOMREQUEST"]._serialized_start = 1043 - _globals["_QUERYTOTALESCROWFORDENOMREQUEST"]._serialized_end = 1098 - _globals["_QUERYTOTALESCROWFORDENOMRESPONSE"]._serialized_start = 1100 - _globals["_QUERYTOTALESCROWFORDENOMRESPONSE"]._serialized_end = 1191 - _globals["_QUERY"]._serialized_start = 1194 - _globals["_QUERY"]._serialized_end = 2306 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\nQueryProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' + _globals['_QUERYDENOMTRACESRESPONSE'].fields_by_name['denom_traces']._loaded_options = None + _globals['_QUERYDENOMTRACESRESPONSE'].fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\252\337\037\006Traces' + _globals['_QUERYTOTALESCROWFORDENOMRESPONSE'].fields_by_name['amount']._loaded_options = None + _globals['_QUERYTOTALESCROWFORDENOMRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_QUERY'].methods_by_name['DenomTraces']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomTraces']._serialized_options = b'\202\323\344\223\002$\022\"/ibc/apps/transfer/v1/denom_traces' + _globals['_QUERY'].methods_by_name['DenomTrace']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomTrace']._serialized_options = b'\202\323\344\223\002.\022,/ibc/apps/transfer/v1/denom_traces/{hash=**}' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\036\022\034/ibc/apps/transfer/v1/params' + _globals['_QUERY'].methods_by_name['DenomHash']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomHash']._serialized_options = b'\202\323\344\223\002/\022-/ibc/apps/transfer/v1/denom_hashes/{trace=**}' + _globals['_QUERY'].methods_by_name['EscrowAddress']._loaded_options = None + _globals['_QUERY'].methods_by_name['EscrowAddress']._serialized_options = b'\202\323\344\223\002L\022J/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address' + _globals['_QUERY'].methods_by_name['TotalEscrowForDenom']._loaded_options = None + _globals['_QUERY'].methods_by_name['TotalEscrowForDenom']._serialized_options = b'\202\323\344\223\0026\0224/ibc/apps/transfer/v1/denoms/{denom=**}/total_escrow' + _globals['_QUERYDENOMTRACEREQUEST']._serialized_start=247 + _globals['_QUERYDENOMTRACEREQUEST']._serialized_end=291 + _globals['_QUERYDENOMTRACERESPONSE']._serialized_start=293 + _globals['_QUERYDENOMTRACERESPONSE']._serialized_end=393 + _globals['_QUERYDENOMTRACESREQUEST']._serialized_start=395 + _globals['_QUERYDENOMTRACESREQUEST']._serialized_end=492 + _globals['_QUERYDENOMTRACESRESPONSE']._serialized_start=495 + _globals['_QUERYDENOMTRACESRESPONSE']._serialized_end=687 + _globals['_QUERYPARAMSREQUEST']._serialized_start=689 + _globals['_QUERYPARAMSREQUEST']._serialized_end=709 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=711 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=794 + _globals['_QUERYDENOMHASHREQUEST']._serialized_start=796 + _globals['_QUERYDENOMHASHREQUEST']._serialized_end=841 + _globals['_QUERYDENOMHASHRESPONSE']._serialized_start=843 + _globals['_QUERYDENOMHASHRESPONSE']._serialized_end=887 + _globals['_QUERYESCROWADDRESSREQUEST']._serialized_start=889 + _globals['_QUERYESCROWADDRESSREQUEST']._serialized_end=972 + _globals['_QUERYESCROWADDRESSRESPONSE']._serialized_start=974 + _globals['_QUERYESCROWADDRESSRESPONSE']._serialized_end=1041 + _globals['_QUERYTOTALESCROWFORDENOMREQUEST']._serialized_start=1043 + _globals['_QUERYTOTALESCROWFORDENOMREQUEST']._serialized_end=1098 + _globals['_QUERYTOTALESCROWFORDENOMRESPONSE']._serialized_start=1100 + _globals['_QUERYTOTALESCROWFORDENOMRESPONSE']._serialized_end=1191 + _globals['_QUERY']._serialized_start=1194 + _globals['_QUERY']._serialized_end=2306 # @@protoc_insertion_point(module_scope) 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 05419095..b2f8831e 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py @@ -2,13 +2,12 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.ibc.applications.transfer.v1 import ( - query_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2, -) +from pyinjective.proto.ibc.applications.transfer.v1 import query_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2 class QueryStub(object): - """Query provides defines the gRPC querier service.""" + """Query provides defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -17,142 +16,143 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.DenomTraces = channel.unary_unary( - "/ibc.applications.transfer.v1.Query/DenomTraces", - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.FromString, - _registered_method=True, - ) + '/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, + _registered_method=True) 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, - _registered_method=True, - ) + '/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, + _registered_method=True) 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, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.transfer.v1.Query/Params', + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) self.DenomHash = channel.unary_unary( - "/ibc.applications.transfer.v1.Query/DenomHash", - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.transfer.v1.Query/DenomHash', + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashResponse.FromString, + _registered_method=True) self.EscrowAddress = channel.unary_unary( - "/ibc.applications.transfer.v1.Query/EscrowAddress", - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.transfer.v1.Query/EscrowAddress', + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressResponse.FromString, + _registered_method=True) self.TotalEscrowForDenom = channel.unary_unary( - "/ibc.applications.transfer.v1.Query/TotalEscrowForDenom", - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.transfer.v1.Query/TotalEscrowForDenom', + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query provides defines the gRPC querier service.""" + """Query provides defines the gRPC querier service. + """ def DenomTraces(self, request, context): - """DenomTraces queries all denomination traces.""" + """DenomTraces queries all denomination traces. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DenomTrace(self, request, context): - """DenomTrace queries a denomination trace information.""" + """DenomTrace queries a denomination trace information. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Params(self, request, context): - """Params queries all parameters of the ibc-transfer module.""" + """Params queries all parameters of the ibc-transfer module. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DenomHash(self, request, context): - """DenomHash queries a denomination hash information.""" + """DenomHash queries a denomination hash information. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def EscrowAddress(self, request, context): - """EscrowAddress returns the escrow address for a particular port and channel id.""" + """EscrowAddress returns the escrow address for a particular port and channel id. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TotalEscrowForDenom(self, request, context): - """TotalEscrowForDenom returns the total amount of tokens in escrow based on the denom.""" + """TotalEscrowForDenom returns the total amount of tokens in escrow based on the denom. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "DenomTraces": grpc.unary_unary_rpc_method_handler( - servicer.DenomTraces, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.SerializeToString, - ), - "DenomTrace": grpc.unary_unary_rpc_method_handler( - servicer.DenomTrace, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceResponse.SerializeToString, - ), - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - "DenomHash": grpc.unary_unary_rpc_method_handler( - servicer.DenomHash, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashResponse.SerializeToString, - ), - "EscrowAddress": grpc.unary_unary_rpc_method_handler( - servicer.EscrowAddress, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressResponse.SerializeToString, - ), - "TotalEscrowForDenom": grpc.unary_unary_rpc_method_handler( - servicer.TotalEscrowForDenom, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomResponse.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, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'DenomHash': grpc.unary_unary_rpc_method_handler( + servicer.DenomHash, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashRequest.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashResponse.SerializeToString, + ), + 'EscrowAddress': grpc.unary_unary_rpc_method_handler( + servicer.EscrowAddress, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressRequest.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressResponse.SerializeToString, + ), + 'TotalEscrowForDenom': grpc.unary_unary_rpc_method_handler( + servicer.TotalEscrowForDenom, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomRequest.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("ibc.applications.transfer.v1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.applications.transfer.v1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("ibc.applications.transfer.v1.Query", rpc_method_handlers) + server.add_registered_method_handlers('ibc.applications.transfer.v1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query provides defines the gRPC querier service.""" + """Query provides defines the gRPC querier service. + """ @staticmethod - def DenomTraces( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DenomTraces(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.transfer.v1.Query/DenomTraces", + '/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, @@ -163,26 +163,23 @@ def DenomTraces( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DenomTrace( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DenomTrace(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.transfer.v1.Query/DenomTrace", + '/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, @@ -193,26 +190,23 @@ def DenomTrace( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.transfer.v1.Query/Params", + '/ibc.applications.transfer.v1.Query/Params', ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -223,26 +217,23 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DenomHash( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DenomHash(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.transfer.v1.Query/DenomHash", + '/ibc.applications.transfer.v1.Query/DenomHash', ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashRequest.SerializeToString, ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomHashResponse.FromString, options, @@ -253,26 +244,23 @@ def DenomHash( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def EscrowAddress( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def EscrowAddress(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.transfer.v1.Query/EscrowAddress", + '/ibc.applications.transfer.v1.Query/EscrowAddress', ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressRequest.SerializeToString, ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryEscrowAddressResponse.FromString, options, @@ -283,26 +271,23 @@ def EscrowAddress( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def TotalEscrowForDenom( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def TotalEscrowForDenom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.transfer.v1.Query/TotalEscrowForDenom", + '/ibc.applications.transfer.v1.Query/TotalEscrowForDenom', ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomRequest.SerializeToString, ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryTotalEscrowForDenomResponse.FromString, options, @@ -313,5 +298,4 @@ def TotalEscrowForDenom( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py index 68d4d7fe..73ebddbc 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py @@ -7,26 +7,23 @@ 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+ibc/applications/transfer/v1/transfer.proto\x12\x1cibc.applications.transfer.v1"?\n\nDenomTrace\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12\x1d\n\nbase_denom\x18\x02 \x01(\tR\tbaseDenom"T\n\x06Params\x12!\n\x0csend_enabled\x18\x01 \x01(\x08R\x0bsendEnabled\x12\'\n\x0freceive_enabled\x18\x02 \x01(\x08R\x0ereceiveEnabledB\xfd\x01\n com.ibc.applications.transfer.v1B\rTransferProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+ibc/applications/transfer/v1/transfer.proto\x12\x1cibc.applications.transfer.v1\"?\n\nDenomTrace\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12\x1d\n\nbase_denom\x18\x02 \x01(\tR\tbaseDenom\"T\n\x06Params\x12!\n\x0csend_enabled\x18\x01 \x01(\x08R\x0bsendEnabled\x12\'\n\x0freceive_enabled\x18\x02 \x01(\x08R\x0ereceiveEnabledB\xfd\x01\n com.ibc.applications.transfer.v1B\rTransferProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.transfer.v1.transfer_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.transfer_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n com.ibc.applications.transfer.v1B\rTransferProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1" - ) - _globals["_DENOMTRACE"]._serialized_start = 77 - _globals["_DENOMTRACE"]._serialized_end = 140 - _globals["_PARAMS"]._serialized_start = 142 - _globals["_PARAMS"]._serialized_end = 226 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\rTransferProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' + _globals['_DENOMTRACE']._serialized_start=77 + _globals['_DENOMTRACE']._serialized_end=140 + _globals['_PARAMS']._serialized_start=142 + _globals['_PARAMS']._serialized_end=226 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2_grpc.py @@ -1,3 +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/ibc/applications/transfer/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py index 1c0f6d42..28a24526 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,47 +17,39 @@ from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -from pyinjective.proto.ibc.applications.transfer.v1 import ( - transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2, -) +from pyinjective.proto.ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%ibc/applications/transfer/v1/tx.proto\x12\x1cibc.applications.transfer.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1fibc/core/client/v1/client.proto\x1a+ibc/applications/transfer/v1/transfer.proto"\x80\x03\n\x0bMsgTransfer\x12\x1f\n\x0bsource_port\x18\x01 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x02 \x01(\tR\rsourceChannel\x12:\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05token\x12\x16\n\x06sender\x18\x04 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x05 \x01(\tR\x08receiver\x12L\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rtimeoutHeight\x12+\n\x11timeout_timestamp\x18\x07 \x01(\x04R\x10timeoutTimestamp\x12\x12\n\x04memo\x18\x08 \x01(\tR\x04memo:*\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgTransfer"7\n\x13MsgTransferResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00"~\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12\x42\n\x06params\x18\x02 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\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\xf7\x01\n com.ibc.applications.transfer.v1B\x07TxProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\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\"\x80\x03\n\x0bMsgTransfer\x12\x1f\n\x0bsource_port\x18\x01 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x02 \x01(\tR\rsourceChannel\x12:\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x05token\x12\x16\n\x06sender\x18\x04 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x05 \x01(\tR\x08receiver\x12L\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rtimeoutHeight\x12+\n\x11timeout_timestamp\x18\x07 \x01(\x04R\x10timeoutTimestamp\x12\x12\n\x04memo\x18\x08 \x01(\tR\x04memo:*\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgTransfer\"7\n\x13MsgTransferResponse\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00\"~\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12\x42\n\x06params\x18\x02 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\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\xf7\x01\n com.ibc.applications.transfer.v1B\x07TxProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V1\xca\x02\x1cIbc\\Applications\\Transfer\\V1\xe2\x02(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.transfer.v1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n com.ibc.applications.transfer.v1B\007TxProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1" - ) - _globals["_MSGTRANSFER"].fields_by_name["token"]._loaded_options = None - _globals["_MSGTRANSFER"].fields_by_name["token"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGTRANSFER"].fields_by_name["timeout_height"]._loaded_options = None - _globals["_MSGTRANSFER"].fields_by_name["timeout_height"]._serialized_options = b"\310\336\037\000\250\347\260*\001" - _globals["_MSGTRANSFER"]._loaded_options = None - _globals["_MSGTRANSFER"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\006sender\212\347\260*\026cosmos-sdk/MsgTransfer" - ) - _globals["_MSGTRANSFERRESPONSE"]._loaded_options = None - _globals["_MSGTRANSFERRESPONSE"]._serialized_options = b"\210\240\037\000" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGTRANSFER"]._serialized_start = 248 - _globals["_MSGTRANSFER"]._serialized_end = 632 - _globals["_MSGTRANSFERRESPONSE"]._serialized_start = 634 - _globals["_MSGTRANSFERRESPONSE"]._serialized_end = 689 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 691 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 817 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 819 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 844 - _globals["_MSG"]._serialized_start = 847 - _globals["_MSG"]._serialized_end = 1083 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v1B\007TxProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V1\312\002\034Ibc\\Applications\\Transfer\\V1\342\002(Ibc\\Applications\\Transfer\\V1\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V1' + _globals['_MSGTRANSFER'].fields_by_name['token']._loaded_options = None + _globals['_MSGTRANSFER'].fields_by_name['token']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGTRANSFER'].fields_by_name['timeout_height']._loaded_options = None + _globals['_MSGTRANSFER'].fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _globals['_MSGTRANSFER']._loaded_options = None + _globals['_MSGTRANSFER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\026cosmos-sdk/MsgTransfer' + _globals['_MSGTRANSFERRESPONSE']._loaded_options = None + _globals['_MSGTRANSFERRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGTRANSFER']._serialized_start=248 + _globals['_MSGTRANSFER']._serialized_end=632 + _globals['_MSGTRANSFERRESPONSE']._serialized_start=634 + _globals['_MSGTRANSFERRESPONSE']._serialized_end=689 + _globals['_MSGUPDATEPARAMS']._serialized_start=691 + _globals['_MSGUPDATEPARAMS']._serialized_end=817 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=819 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=844 + _globals['_MSG']._serialized_start=847 + _globals['_MSG']._serialized_end=1083 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py index 15c9d187..6b97abb4 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py @@ -2,13 +2,12 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.ibc.applications.transfer.v1 import ( - tx_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2, -) +from pyinjective.proto.ibc.applications.transfer.v1 import tx_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2 class MsgStub(object): - """Msg defines the ibc/transfer Msg service.""" + """Msg defines the ibc/transfer Msg service. + """ def __init__(self, channel): """Constructor. @@ -17,74 +16,75 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Transfer = channel.unary_unary( - "/ibc.applications.transfer.v1.Msg/Transfer", - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.transfer.v1.Msg/Transfer', + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( - "/ibc.applications.transfer.v1.Msg/UpdateParams", - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/ibc.applications.transfer.v1.Msg/UpdateParams', + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the ibc/transfer Msg service.""" + """Msg defines the ibc/transfer Msg service. + """ def Transfer(self, request, context): - """Transfer defines a rpc handler method for MsgTransfer.""" + """Transfer defines a rpc handler method for MsgTransfer. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateParams(self, request, context): - """UpdateParams defines a rpc handler for MsgUpdateParams.""" + """UpdateParams defines a rpc handler for MsgUpdateParams. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "Transfer": grpc.unary_unary_rpc_method_handler( - servicer.Transfer, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.SerializeToString, - ), - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + 'Transfer': grpc.unary_unary_rpc_method_handler( + servicer.Transfer, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("ibc.applications.transfer.v1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.applications.transfer.v1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("ibc.applications.transfer.v1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('ibc.applications.transfer.v1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the ibc/transfer Msg service.""" + """Msg defines the ibc/transfer Msg service. + """ @staticmethod - def Transfer( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Transfer(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.transfer.v1.Msg/Transfer", + '/ibc.applications.transfer.v1.Msg/Transfer', ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.SerializeToString, ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.FromString, options, @@ -95,26 +95,23 @@ def Transfer( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.applications.transfer.v1.Msg/UpdateParams", + '/ibc.applications.transfer.v1.Msg/UpdateParams', ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -125,5 +122,4 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py index 9d683ca4..5ad4d53a 100644 --- a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py @@ -7,24 +7,21 @@ 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)ibc/applications/transfer/v2/packet.proto\x12\x1cibc.applications.transfer.v2"\x8f\x01\n\x17\x46ungibleTokenPacketData\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x04 \x01(\tR\x08receiver\x12\x12\n\x04memo\x18\x05 \x01(\tR\x04memoB\xfb\x01\n com.ibc.applications.transfer.v2B\x0bPacketProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V2\xca\x02\x1cIbc\\Applications\\Transfer\\V2\xe2\x02(Ibc\\Applications\\Transfer\\V2\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V2b\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)ibc/applications/transfer/v2/packet.proto\x12\x1cibc.applications.transfer.v2\"\x8f\x01\n\x17\x46ungibleTokenPacketData\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x04 \x01(\tR\x08receiver\x12\x12\n\x04memo\x18\x05 \x01(\tR\x04memoB\xfb\x01\n com.ibc.applications.transfer.v2B\x0bPacketProtoP\x01Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\xa2\x02\x03IAT\xaa\x02\x1cIbc.Applications.Transfer.V2\xca\x02\x1cIbc\\Applications\\Transfer\\V2\xe2\x02(Ibc\\Applications\\Transfer\\V2\\GPBMetadata\xea\x02\x1fIbc::Applications::Transfer::V2b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.applications.transfer.v2.packet_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.transfer.v2.packet_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n com.ibc.applications.transfer.v2B\013PacketProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V2\312\002\034Ibc\\Applications\\Transfer\\V2\342\002(Ibc\\Applications\\Transfer\\V2\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V2" - ) - _globals["_FUNGIBLETOKENPACKETDATA"]._serialized_start = 76 - _globals["_FUNGIBLETOKENPACKETDATA"]._serialized_end = 219 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n com.ibc.applications.transfer.v2B\013PacketProtoP\001Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types\242\002\003IAT\252\002\034Ibc.Applications.Transfer.V2\312\002\034Ibc\\Applications\\Transfer\\V2\342\002(Ibc\\Applications\\Transfer\\V2\\GPBMetadata\352\002\037Ibc::Applications::Transfer::V2' + _globals['_FUNGIBLETOKENPACKETDATA']._serialized_start=76 + _globals['_FUNGIBLETOKENPACKETDATA']._serialized_end=219 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2_grpc.py @@ -1,3 +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/ibc/core/channel/v1/channel_pb2.py b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py index b7a12203..e2e386d0 100644 --- a/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,86 +16,80 @@ from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!ibc/core/channel/v1/channel.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto"\xb4\x02\n\x07\x43hannel\x12\x30\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x05state\x12\x36\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12K\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00R\x0c\x63ounterparty\x12\'\n\x0f\x63onnection_hops\x18\x04 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12)\n\x10upgrade_sequence\x18\x06 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00"\xf6\x02\n\x11IdentifiedChannel\x12\x30\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x05state\x12\x36\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12K\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00R\x0c\x63ounterparty\x12\'\n\x0f\x63onnection_hops\x18\x04 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12\x17\n\x07port_id\x18\x06 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x07 \x01(\tR\tchannelId\x12)\n\x10upgrade_sequence\x18\x08 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00"L\n\x0c\x43ounterparty\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId:\x04\x88\xa0\x1f\x00"\xd8\x02\n\x06Packet\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1f\n\x0bsource_port\x18\x02 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x03 \x01(\tR\rsourceChannel\x12)\n\x10\x64\x65stination_port\x18\x04 \x01(\tR\x0f\x64\x65stinationPort\x12/\n\x13\x64\x65stination_channel\x18\x05 \x01(\tR\x12\x64\x65stinationChannel\x12\x12\n\x04\x64\x61ta\x18\x06 \x01(\x0cR\x04\x64\x61ta\x12G\n\x0etimeout_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\rtimeoutHeight\x12+\n\x11timeout_timestamp\x18\x08 \x01(\x04R\x10timeoutTimestamp:\x04\x88\xa0\x1f\x00"{\n\x0bPacketState\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x12\x12\n\x04\x64\x61ta\x18\x04 \x01(\x0cR\x04\x64\x61ta:\x04\x88\xa0\x1f\x00"d\n\x08PacketId\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00"O\n\x0f\x41\x63knowledgement\x12\x18\n\x06result\x18\x15 \x01(\x0cH\x00R\x06result\x12\x16\n\x05\x65rror\x18\x16 \x01(\tH\x00R\x05\x65rrorB\n\n\x08response"a\n\x07Timeout\x12\x38\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp"U\n\x06Params\x12K\n\x0fupgrade_timeout\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.TimeoutB\x04\xc8\xde\x1f\x00R\x0eupgradeTimeout*\x85\x02\n\x05State\x12\x36\n\x1fSTATE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x11\x8a\x9d \rUNINITIALIZED\x12\x18\n\nSTATE_INIT\x10\x01\x1a\x08\x8a\x9d \x04INIT\x12\x1e\n\rSTATE_TRYOPEN\x10\x02\x1a\x0b\x8a\x9d \x07TRYOPEN\x12\x18\n\nSTATE_OPEN\x10\x03\x1a\x08\x8a\x9d \x04OPEN\x12\x1c\n\x0cSTATE_CLOSED\x10\x04\x1a\n\x8a\x9d \x06\x43LOSED\x12 \n\x0eSTATE_FLUSHING\x10\x05\x1a\x0c\x8a\x9d \x08\x46LUSHING\x12*\n\x13STATE_FLUSHCOMPLETE\x10\x06\x1a\x11\x8a\x9d \rFLUSHCOMPLETE\x1a\x04\x88\xa3\x1e\x00*w\n\x05Order\x12$\n\x16ORDER_NONE_UNSPECIFIED\x10\x00\x1a\x08\x8a\x9d \x04NONE\x12"\n\x0fORDER_UNORDERED\x10\x01\x1a\r\x8a\x9d \tUNORDERED\x12\x1e\n\rORDER_ORDERED\x10\x02\x1a\x0b\x8a\x9d \x07ORDERED\x1a\x04\x88\xa3\x1e\x00\x42\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0c\x43hannelProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/channel.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\"\xb4\x02\n\x07\x43hannel\x12\x30\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x05state\x12\x36\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12K\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00R\x0c\x63ounterparty\x12\'\n\x0f\x63onnection_hops\x18\x04 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12)\n\x10upgrade_sequence\x18\x06 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00\"\xf6\x02\n\x11IdentifiedChannel\x12\x30\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x05state\x12\x36\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12K\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00R\x0c\x63ounterparty\x12\'\n\x0f\x63onnection_hops\x18\x04 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12\x17\n\x07port_id\x18\x06 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x07 \x01(\tR\tchannelId\x12)\n\x10upgrade_sequence\x18\x08 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00\"L\n\x0c\x43ounterparty\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId:\x04\x88\xa0\x1f\x00\"\xd8\x02\n\x06Packet\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1f\n\x0bsource_port\x18\x02 \x01(\tR\nsourcePort\x12%\n\x0esource_channel\x18\x03 \x01(\tR\rsourceChannel\x12)\n\x10\x64\x65stination_port\x18\x04 \x01(\tR\x0f\x64\x65stinationPort\x12/\n\x13\x64\x65stination_channel\x18\x05 \x01(\tR\x12\x64\x65stinationChannel\x12\x12\n\x04\x64\x61ta\x18\x06 \x01(\x0cR\x04\x64\x61ta\x12G\n\x0etimeout_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\rtimeoutHeight\x12+\n\x11timeout_timestamp\x18\x08 \x01(\x04R\x10timeoutTimestamp:\x04\x88\xa0\x1f\x00\"{\n\x0bPacketState\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x12\x12\n\x04\x64\x61ta\x18\x04 \x01(\x0cR\x04\x64\x61ta:\x04\x88\xa0\x1f\x00\"d\n\x08PacketId\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence:\x04\x88\xa0\x1f\x00\"O\n\x0f\x41\x63knowledgement\x12\x18\n\x06result\x18\x15 \x01(\x0cH\x00R\x06result\x12\x16\n\x05\x65rror\x18\x16 \x01(\tH\x00R\x05\x65rrorB\n\n\x08response\"a\n\x07Timeout\x12\x38\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\"U\n\x06Params\x12K\n\x0fupgrade_timeout\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.TimeoutB\x04\xc8\xde\x1f\x00R\x0eupgradeTimeout*\x85\x02\n\x05State\x12\x36\n\x1fSTATE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x11\x8a\x9d \rUNINITIALIZED\x12\x18\n\nSTATE_INIT\x10\x01\x1a\x08\x8a\x9d \x04INIT\x12\x1e\n\rSTATE_TRYOPEN\x10\x02\x1a\x0b\x8a\x9d \x07TRYOPEN\x12\x18\n\nSTATE_OPEN\x10\x03\x1a\x08\x8a\x9d \x04OPEN\x12\x1c\n\x0cSTATE_CLOSED\x10\x04\x1a\n\x8a\x9d \x06\x43LOSED\x12 \n\x0eSTATE_FLUSHING\x10\x05\x1a\x0c\x8a\x9d \x08\x46LUSHING\x12*\n\x13STATE_FLUSHCOMPLETE\x10\x06\x1a\x11\x8a\x9d \rFLUSHCOMPLETE\x1a\x04\x88\xa3\x1e\x00*w\n\x05Order\x12$\n\x16ORDER_NONE_UNSPECIFIED\x10\x00\x1a\x08\x8a\x9d \x04NONE\x12\"\n\x0fORDER_UNORDERED\x10\x01\x1a\r\x8a\x9d \tUNORDERED\x12\x1e\n\rORDER_ORDERED\x10\x02\x1a\x0b\x8a\x9d \x07ORDERED\x1a\x04\x88\xa3\x1e\x00\x42\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0c\x43hannelProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.channel.v1.channel_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.channel_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.ibc.core.channel.v1B\014ChannelProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1" - ) - _globals["_STATE"]._loaded_options = None - _globals["_STATE"]._serialized_options = b"\210\243\036\000" - _globals["_STATE"].values_by_name["STATE_UNINITIALIZED_UNSPECIFIED"]._loaded_options = None - _globals["_STATE"].values_by_name[ - "STATE_UNINITIALIZED_UNSPECIFIED" - ]._serialized_options = b"\212\235 \rUNINITIALIZED" - _globals["_STATE"].values_by_name["STATE_INIT"]._loaded_options = None - _globals["_STATE"].values_by_name["STATE_INIT"]._serialized_options = b"\212\235 \004INIT" - _globals["_STATE"].values_by_name["STATE_TRYOPEN"]._loaded_options = None - _globals["_STATE"].values_by_name["STATE_TRYOPEN"]._serialized_options = b"\212\235 \007TRYOPEN" - _globals["_STATE"].values_by_name["STATE_OPEN"]._loaded_options = None - _globals["_STATE"].values_by_name["STATE_OPEN"]._serialized_options = b"\212\235 \004OPEN" - _globals["_STATE"].values_by_name["STATE_CLOSED"]._loaded_options = None - _globals["_STATE"].values_by_name["STATE_CLOSED"]._serialized_options = b"\212\235 \006CLOSED" - _globals["_STATE"].values_by_name["STATE_FLUSHING"]._loaded_options = None - _globals["_STATE"].values_by_name["STATE_FLUSHING"]._serialized_options = b"\212\235 \010FLUSHING" - _globals["_STATE"].values_by_name["STATE_FLUSHCOMPLETE"]._loaded_options = None - _globals["_STATE"].values_by_name["STATE_FLUSHCOMPLETE"]._serialized_options = b"\212\235 \rFLUSHCOMPLETE" - _globals["_ORDER"]._loaded_options = None - _globals["_ORDER"]._serialized_options = b"\210\243\036\000" - _globals["_ORDER"].values_by_name["ORDER_NONE_UNSPECIFIED"]._loaded_options = None - _globals["_ORDER"].values_by_name["ORDER_NONE_UNSPECIFIED"]._serialized_options = b"\212\235 \004NONE" - _globals["_ORDER"].values_by_name["ORDER_UNORDERED"]._loaded_options = None - _globals["_ORDER"].values_by_name["ORDER_UNORDERED"]._serialized_options = b"\212\235 \tUNORDERED" - _globals["_ORDER"].values_by_name["ORDER_ORDERED"]._loaded_options = None - _globals["_ORDER"].values_by_name["ORDER_ORDERED"]._serialized_options = b"\212\235 \007ORDERED" - _globals["_CHANNEL"].fields_by_name["counterparty"]._loaded_options = None - _globals["_CHANNEL"].fields_by_name["counterparty"]._serialized_options = b"\310\336\037\000" - _globals["_CHANNEL"]._loaded_options = None - _globals["_CHANNEL"]._serialized_options = b"\210\240\037\000" - _globals["_IDENTIFIEDCHANNEL"].fields_by_name["counterparty"]._loaded_options = None - _globals["_IDENTIFIEDCHANNEL"].fields_by_name["counterparty"]._serialized_options = b"\310\336\037\000" - _globals["_IDENTIFIEDCHANNEL"]._loaded_options = None - _globals["_IDENTIFIEDCHANNEL"]._serialized_options = b"\210\240\037\000" - _globals["_COUNTERPARTY"]._loaded_options = None - _globals["_COUNTERPARTY"]._serialized_options = b"\210\240\037\000" - _globals["_PACKET"].fields_by_name["timeout_height"]._loaded_options = None - _globals["_PACKET"].fields_by_name["timeout_height"]._serialized_options = b"\310\336\037\000" - _globals["_PACKET"]._loaded_options = None - _globals["_PACKET"]._serialized_options = b"\210\240\037\000" - _globals["_PACKETSTATE"]._loaded_options = None - _globals["_PACKETSTATE"]._serialized_options = b"\210\240\037\000" - _globals["_PACKETID"]._loaded_options = None - _globals["_PACKETID"]._serialized_options = b"\210\240\037\000" - _globals["_TIMEOUT"].fields_by_name["height"]._loaded_options = None - _globals["_TIMEOUT"].fields_by_name["height"]._serialized_options = b"\310\336\037\000" - _globals["_PARAMS"].fields_by_name["upgrade_timeout"]._loaded_options = None - _globals["_PARAMS"].fields_by_name["upgrade_timeout"]._serialized_options = b"\310\336\037\000" - _globals["_STATE"]._serialized_start = 1721 - _globals["_STATE"]._serialized_end = 1982 - _globals["_ORDER"]._serialized_start = 1984 - _globals["_ORDER"]._serialized_end = 2103 - _globals["_CHANNEL"]._serialized_start = 114 - _globals["_CHANNEL"]._serialized_end = 422 - _globals["_IDENTIFIEDCHANNEL"]._serialized_start = 425 - _globals["_IDENTIFIEDCHANNEL"]._serialized_end = 799 - _globals["_COUNTERPARTY"]._serialized_start = 801 - _globals["_COUNTERPARTY"]._serialized_end = 877 - _globals["_PACKET"]._serialized_start = 880 - _globals["_PACKET"]._serialized_end = 1224 - _globals["_PACKETSTATE"]._serialized_start = 1226 - _globals["_PACKETSTATE"]._serialized_end = 1349 - _globals["_PACKETID"]._serialized_start = 1351 - _globals["_PACKETID"]._serialized_end = 1451 - _globals["_ACKNOWLEDGEMENT"]._serialized_start = 1453 - _globals["_ACKNOWLEDGEMENT"]._serialized_end = 1532 - _globals["_TIMEOUT"]._serialized_start = 1534 - _globals["_TIMEOUT"]._serialized_end = 1631 - _globals["_PARAMS"]._serialized_start = 1633 - _globals["_PARAMS"]._serialized_end = 1718 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\014ChannelProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' + _globals['_STATE']._loaded_options = None + _globals['_STATE']._serialized_options = b'\210\243\036\000' + _globals['_STATE'].values_by_name["STATE_UNINITIALIZED_UNSPECIFIED"]._loaded_options = None + _globals['_STATE'].values_by_name["STATE_UNINITIALIZED_UNSPECIFIED"]._serialized_options = b'\212\235 \rUNINITIALIZED' + _globals['_STATE'].values_by_name["STATE_INIT"]._loaded_options = None + _globals['_STATE'].values_by_name["STATE_INIT"]._serialized_options = b'\212\235 \004INIT' + _globals['_STATE'].values_by_name["STATE_TRYOPEN"]._loaded_options = None + _globals['_STATE'].values_by_name["STATE_TRYOPEN"]._serialized_options = b'\212\235 \007TRYOPEN' + _globals['_STATE'].values_by_name["STATE_OPEN"]._loaded_options = None + _globals['_STATE'].values_by_name["STATE_OPEN"]._serialized_options = b'\212\235 \004OPEN' + _globals['_STATE'].values_by_name["STATE_CLOSED"]._loaded_options = None + _globals['_STATE'].values_by_name["STATE_CLOSED"]._serialized_options = b'\212\235 \006CLOSED' + _globals['_STATE'].values_by_name["STATE_FLUSHING"]._loaded_options = None + _globals['_STATE'].values_by_name["STATE_FLUSHING"]._serialized_options = b'\212\235 \010FLUSHING' + _globals['_STATE'].values_by_name["STATE_FLUSHCOMPLETE"]._loaded_options = None + _globals['_STATE'].values_by_name["STATE_FLUSHCOMPLETE"]._serialized_options = b'\212\235 \rFLUSHCOMPLETE' + _globals['_ORDER']._loaded_options = None + _globals['_ORDER']._serialized_options = b'\210\243\036\000' + _globals['_ORDER'].values_by_name["ORDER_NONE_UNSPECIFIED"]._loaded_options = None + _globals['_ORDER'].values_by_name["ORDER_NONE_UNSPECIFIED"]._serialized_options = b'\212\235 \004NONE' + _globals['_ORDER'].values_by_name["ORDER_UNORDERED"]._loaded_options = None + _globals['_ORDER'].values_by_name["ORDER_UNORDERED"]._serialized_options = b'\212\235 \tUNORDERED' + _globals['_ORDER'].values_by_name["ORDER_ORDERED"]._loaded_options = None + _globals['_ORDER'].values_by_name["ORDER_ORDERED"]._serialized_options = b'\212\235 \007ORDERED' + _globals['_CHANNEL'].fields_by_name['counterparty']._loaded_options = None + _globals['_CHANNEL'].fields_by_name['counterparty']._serialized_options = b'\310\336\037\000' + _globals['_CHANNEL']._loaded_options = None + _globals['_CHANNEL']._serialized_options = b'\210\240\037\000' + _globals['_IDENTIFIEDCHANNEL'].fields_by_name['counterparty']._loaded_options = None + _globals['_IDENTIFIEDCHANNEL'].fields_by_name['counterparty']._serialized_options = b'\310\336\037\000' + _globals['_IDENTIFIEDCHANNEL']._loaded_options = None + _globals['_IDENTIFIEDCHANNEL']._serialized_options = b'\210\240\037\000' + _globals['_COUNTERPARTY']._loaded_options = None + _globals['_COUNTERPARTY']._serialized_options = b'\210\240\037\000' + _globals['_PACKET'].fields_by_name['timeout_height']._loaded_options = None + _globals['_PACKET'].fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000' + _globals['_PACKET']._loaded_options = None + _globals['_PACKET']._serialized_options = b'\210\240\037\000' + _globals['_PACKETSTATE']._loaded_options = None + _globals['_PACKETSTATE']._serialized_options = b'\210\240\037\000' + _globals['_PACKETID']._loaded_options = None + _globals['_PACKETID']._serialized_options = b'\210\240\037\000' + _globals['_TIMEOUT'].fields_by_name['height']._loaded_options = None + _globals['_TIMEOUT'].fields_by_name['height']._serialized_options = b'\310\336\037\000' + _globals['_PARAMS'].fields_by_name['upgrade_timeout']._loaded_options = None + _globals['_PARAMS'].fields_by_name['upgrade_timeout']._serialized_options = b'\310\336\037\000' + _globals['_STATE']._serialized_start=1721 + _globals['_STATE']._serialized_end=1982 + _globals['_ORDER']._serialized_start=1984 + _globals['_ORDER']._serialized_end=2103 + _globals['_CHANNEL']._serialized_start=114 + _globals['_CHANNEL']._serialized_end=422 + _globals['_IDENTIFIEDCHANNEL']._serialized_start=425 + _globals['_IDENTIFIEDCHANNEL']._serialized_end=799 + _globals['_COUNTERPARTY']._serialized_start=801 + _globals['_COUNTERPARTY']._serialized_end=877 + _globals['_PACKET']._serialized_start=880 + _globals['_PACKET']._serialized_end=1224 + _globals['_PACKETSTATE']._serialized_start=1226 + _globals['_PACKETSTATE']._serialized_end=1349 + _globals['_PACKETID']._serialized_start=1351 + _globals['_PACKETID']._serialized_end=1451 + _globals['_ACKNOWLEDGEMENT']._serialized_start=1453 + _globals['_ACKNOWLEDGEMENT']._serialized_end=1532 + _globals['_TIMEOUT']._serialized_start=1534 + _globals['_TIMEOUT']._serialized_end=1631 + _globals['_PARAMS']._serialized_start=1633 + _globals['_PARAMS']._serialized_end=1718 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/channel_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/channel_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/core/channel/v1/channel_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/channel/v1/channel_pb2_grpc.py @@ -1,3 +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/ibc/core/channel/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py index 37ffee7d..5b3a9feb 100644 --- a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,38 +16,32 @@ from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!ibc/core/channel/v1/genesis.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto"\xb2\x05\n\x0cGenesisState\x12]\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelB\x19\xc8\xde\x1f\x00\xfa\xde\x1f\x11IdentifiedChannelR\x08\x63hannels\x12R\n\x10\x61\x63knowledgements\x18\x02 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x10\x61\x63knowledgements\x12H\n\x0b\x63ommitments\x18\x03 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x0b\x63ommitments\x12\x42\n\x08receipts\x18\x04 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x08receipts\x12P\n\x0esend_sequences\x18\x05 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\rsendSequences\x12P\n\x0erecv_sequences\x18\x06 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\rrecvSequences\x12N\n\rack_sequences\x18\x07 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\x0c\x61\x63kSequences\x12\x32\n\x15next_channel_sequence\x18\x08 \x01(\x04R\x13nextChannelSequence\x12\x39\n\x06params\x18\t \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"d\n\x0ePacketSequence\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequenceB\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0cGenesisProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/genesis.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\xb2\x05\n\x0cGenesisState\x12]\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelB\x19\xc8\xde\x1f\x00\xfa\xde\x1f\x11IdentifiedChannelR\x08\x63hannels\x12R\n\x10\x61\x63knowledgements\x18\x02 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x10\x61\x63knowledgements\x12H\n\x0b\x63ommitments\x18\x03 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x0b\x63ommitments\x12\x42\n\x08receipts\x18\x04 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00R\x08receipts\x12P\n\x0esend_sequences\x18\x05 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\rsendSequences\x12P\n\x0erecv_sequences\x18\x06 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\rrecvSequences\x12N\n\rack_sequences\x18\x07 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00R\x0c\x61\x63kSequences\x12\x32\n\x15next_channel_sequence\x18\x08 \x01(\x04R\x13nextChannelSequence\x12\x39\n\x06params\x18\t \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"d\n\x0ePacketSequence\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequenceB\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0cGenesisProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.channel.v1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.ibc.core.channel.v1B\014GenesisProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1" - ) - _globals["_GENESISSTATE"].fields_by_name["channels"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "channels" - ]._serialized_options = b"\310\336\037\000\372\336\037\021IdentifiedChannel" - _globals["_GENESISSTATE"].fields_by_name["acknowledgements"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["acknowledgements"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["commitments"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["commitments"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["receipts"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["receipts"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["send_sequences"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["send_sequences"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["recv_sequences"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["recv_sequences"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["ack_sequences"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["ack_sequences"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"]._serialized_start = 116 - _globals["_GENESISSTATE"]._serialized_end = 806 - _globals["_PACKETSEQUENCE"]._serialized_start = 808 - _globals["_PACKETSEQUENCE"]._serialized_end = 908 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\014GenesisProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' + _globals['_GENESISSTATE'].fields_by_name['channels']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['channels']._serialized_options = b'\310\336\037\000\372\336\037\021IdentifiedChannel' + _globals['_GENESISSTATE'].fields_by_name['acknowledgements']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['acknowledgements']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['commitments']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['commitments']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['receipts']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['receipts']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['send_sequences']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['send_sequences']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['recv_sequences']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['recv_sequences']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['ack_sequences']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['ack_sequences']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=116 + _globals['_GENESISSTATE']._serialized_end=806 + _globals['_PACKETSEQUENCE']._serialized_start=808 + _globals['_PACKETSEQUENCE']._serialized_end=908 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2_grpc.py @@ -1,3 +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/ibc/core/channel/v1/query_pb2.py b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py index e41b40d4..f631eefc 100644 --- a/pyinjective/proto/ibc/core/channel/v1/query_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py @@ -7,16 +7,13 @@ 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 pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 @@ -24,214 +21,152 @@ from pyinjective.proto.ibc.core.channel.v1 import upgrade_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_upgrade__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1fibc/core/channel/v1/query.proto\x12\x13ibc.core.channel.v1\x1a\x1fibc/core/client/v1/client.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/upgrade.proto"M\n\x13QueryChannelRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"\xa9\x01\n\x14QueryChannelResponse\x12\x36\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelR\x07\x63hannel\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"^\n\x14QueryChannelsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xde\x01\n\x15QueryChannelsResponse\x12\x42\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelR\x08\x63hannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height"\x88\x01\n\x1eQueryConnectionChannelsRequest\x12\x1e\n\nconnection\x18\x01 \x01(\tR\nconnection\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xe8\x01\n\x1fQueryConnectionChannelsResponse\x12\x42\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelR\x08\x63hannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height"X\n\x1eQueryChannelClientStateRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"\xdf\x01\n\x1fQueryChannelClientStateResponse\x12\x61\n\x17identified_client_state\x18\x01 \x01(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateR\x15identifiedClientState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"\xad\x01\n!QueryChannelConsensusStateRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\'\n\x0frevision_number\x18\x03 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x04 \x01(\x04R\x0erevisionHeight"\xdb\x01\n"QueryChannelConsensusStateResponse\x12=\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x1b\n\tclient_id\x18\x02 \x01(\tR\x08\x63lientId\x12\x14\n\x05proof\x18\x03 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"r\n\x1cQueryPacketCommitmentRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence"\x9a\x01\n\x1dQueryPacketCommitmentResponse\x12\x1e\n\ncommitment\x18\x01 \x01(\x0cR\ncommitment\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"\x9f\x01\n\x1dQueryPacketCommitmentsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xe7\x01\n\x1eQueryPacketCommitmentsResponse\x12\x42\n\x0b\x63ommitments\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateR\x0b\x63ommitments\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height"o\n\x19QueryPacketReceiptRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence"\x93\x01\n\x1aQueryPacketReceiptResponse\x12\x1a\n\x08received\x18\x02 \x01(\x08R\x08received\x12\x14\n\x05proof\x18\x03 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"w\n!QueryPacketAcknowledgementRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence"\xa9\x01\n"QueryPacketAcknowledgementResponse\x12(\n\x0f\x61\x63knowledgement\x18\x01 \x01(\x0cR\x0f\x61\x63knowledgement\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"\xe4\x01\n"QueryPacketAcknowledgementsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12>\n\x1bpacket_commitment_sequences\x18\x04 \x03(\x04R\x19packetCommitmentSequences"\xf6\x01\n#QueryPacketAcknowledgementsResponse\x12L\n\x10\x61\x63knowledgements\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateR\x10\x61\x63knowledgements\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height"\x97\x01\n\x1dQueryUnreceivedPacketsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12>\n\x1bpacket_commitment_sequences\x18\x03 \x03(\x04R\x19packetCommitmentSequences"x\n\x1eQueryUnreceivedPacketsResponse\x12\x1c\n\tsequences\x18\x01 \x03(\x04R\tsequences\x12\x38\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height"\x86\x01\n\x1aQueryUnreceivedAcksRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x30\n\x14packet_ack_sequences\x18\x03 \x03(\x04R\x12packetAckSequences"u\n\x1bQueryUnreceivedAcksResponse\x12\x1c\n\tsequences\x18\x01 \x03(\x04R\tsequences\x12\x38\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height"Y\n\x1fQueryNextSequenceReceiveRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"\xb1\x01\n QueryNextSequenceReceiveResponse\x12\x32\n\x15next_sequence_receive\x18\x01 \x01(\x04R\x13nextSequenceReceive\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"V\n\x1cQueryNextSequenceSendRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"\xa8\x01\n\x1dQueryNextSequenceSendResponse\x12,\n\x12next_sequence_send\x18\x01 \x01(\x04R\x10nextSequenceSend\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"R\n\x18QueryUpgradeErrorRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"\xc4\x01\n\x19QueryUpgradeErrorResponse\x12L\n\rerror_receipt\x18\x01 \x01(\x0b\x32!.ibc.core.channel.v1.ErrorReceiptB\x04\xc8\xde\x1f\x00R\x0c\x65rrorReceipt\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"M\n\x13QueryUpgradeRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId"\xaf\x01\n\x14QueryUpgradeResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"\x1b\n\x19QueryChannelParamsRequest"Q\n\x1aQueryChannelParamsResponse\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsR\x06params2\xe5\x1b\n\x05Query\x12\xa2\x01\n\x07\x43hannel\x12(.ibc.core.channel.v1.QueryChannelRequest\x1a).ibc.core.channel.v1.QueryChannelResponse"B\x82\xd3\xe4\x93\x02<\x12:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}\x12\x88\x01\n\x08\x43hannels\x12).ibc.core.channel.v1.QueryChannelsRequest\x1a*.ibc.core.channel.v1.QueryChannelsResponse"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/ibc/core/channel/v1/channels\x12\xbf\x01\n\x12\x43onnectionChannels\x12\x33.ibc.core.channel.v1.QueryConnectionChannelsRequest\x1a\x34.ibc.core.channel.v1.QueryConnectionChannelsResponse">\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/channel/v1/connections/{connection}/channels\x12\xd0\x01\n\x12\x43hannelClientState\x12\x33.ibc.core.channel.v1.QueryChannelClientStateRequest\x1a\x34.ibc.core.channel.v1.QueryChannelClientStateResponse"O\x82\xd3\xe4\x93\x02I\x12G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state\x12\x92\x02\n\x15\x43hannelConsensusState\x12\x36.ibc.core.channel.v1.QueryChannelConsensusStateRequest\x1a\x37.ibc.core.channel.v1.QueryChannelConsensusStateResponse"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xdb\x01\n\x10PacketCommitment\x12\x31.ibc.core.channel.v1.QueryPacketCommitmentRequest\x1a\x32.ibc.core.channel.v1.QueryPacketCommitmentResponse"`\x82\xd3\xe4\x93\x02Z\x12X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}\x12\xd3\x01\n\x11PacketCommitments\x12\x32.ibc.core.channel.v1.QueryPacketCommitmentsRequest\x1a\x33.ibc.core.channel.v1.QueryPacketCommitmentsResponse"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments\x12\xcf\x01\n\rPacketReceipt\x12..ibc.core.channel.v1.QueryPacketReceiptRequest\x1a/.ibc.core.channel.v1.QueryPacketReceiptResponse"]\x82\xd3\xe4\x93\x02W\x12U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}\x12\xe3\x01\n\x15PacketAcknowledgement\x12\x36.ibc.core.channel.v1.QueryPacketAcknowledgementRequest\x1a\x37.ibc.core.channel.v1.QueryPacketAcknowledgementResponse"Y\x82\xd3\xe4\x93\x02S\x12Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}\x12\xe7\x01\n\x16PacketAcknowledgements\x12\x37.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest\x1a\x38.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse"Z\x82\xd3\xe4\x93\x02T\x12R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements\x12\x86\x02\n\x11UnreceivedPackets\x12\x32.ibc.core.channel.v1.QueryUnreceivedPacketsRequest\x1a\x33.ibc.core.channel.v1.QueryUnreceivedPacketsResponse"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets\x12\xf1\x01\n\x0eUnreceivedAcks\x12/.ibc.core.channel.v1.QueryUnreceivedAcksRequest\x1a\x30.ibc.core.channel.v1.QueryUnreceivedAcksResponse"|\x82\xd3\xe4\x93\x02v\x12t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks\x12\xd4\x01\n\x13NextSequenceReceive\x12\x34.ibc.core.channel.v1.QueryNextSequenceReceiveRequest\x1a\x35.ibc.core.channel.v1.QueryNextSequenceReceiveResponse"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence\x12\xd0\x01\n\x10NextSequenceSend\x12\x31.ibc.core.channel.v1.QueryNextSequenceSendRequest\x1a\x32.ibc.core.channel.v1.QueryNextSequenceSendResponse"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send\x12\xbf\x01\n\x0cUpgradeError\x12-.ibc.core.channel.v1.QueryUpgradeErrorRequest\x1a..ibc.core.channel.v1.QueryUpgradeErrorResponse"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade_error\x12\xaa\x01\n\x07Upgrade\x12(.ibc.core.channel.v1.QueryUpgradeRequest\x1a).ibc.core.channel.v1.QueryUpgradeResponse"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade\x12\x95\x01\n\rChannelParams\x12..ibc.core.channel.v1.QueryChannelParamsRequest\x1a/.ibc.core.channel.v1.QueryChannelParamsResponse"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/ibc/core/channel/v1/paramsB\xcf\x01\n\x17\x63om.ibc.core.channel.v1B\nQueryProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/channel/v1/query.proto\x12\x13ibc.core.channel.v1\x1a\x1fibc/core/client/v1/client.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/upgrade.proto\"M\n\x13QueryChannelRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xa9\x01\n\x14QueryChannelResponse\x12\x36\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelR\x07\x63hannel\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"^\n\x14QueryChannelsRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xde\x01\n\x15QueryChannelsResponse\x12\x42\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelR\x08\x63hannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"\x88\x01\n\x1eQueryConnectionChannelsRequest\x12\x1e\n\nconnection\x18\x01 \x01(\tR\nconnection\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xe8\x01\n\x1fQueryConnectionChannelsResponse\x12\x42\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelR\x08\x63hannels\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"X\n\x1eQueryChannelClientStateRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xdf\x01\n\x1fQueryChannelClientStateResponse\x12\x61\n\x17identified_client_state\x18\x01 \x01(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateR\x15identifiedClientState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\xad\x01\n!QueryChannelConsensusStateRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\'\n\x0frevision_number\x18\x03 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x04 \x01(\x04R\x0erevisionHeight\"\xdb\x01\n\"QueryChannelConsensusStateResponse\x12=\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x1b\n\tclient_id\x18\x02 \x01(\tR\x08\x63lientId\x12\x14\n\x05proof\x18\x03 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"r\n\x1cQueryPacketCommitmentRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\"\x9a\x01\n\x1dQueryPacketCommitmentResponse\x12\x1e\n\ncommitment\x18\x01 \x01(\x0cR\ncommitment\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\x9f\x01\n\x1dQueryPacketCommitmentsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xe7\x01\n\x1eQueryPacketCommitmentsResponse\x12\x42\n\x0b\x63ommitments\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateR\x0b\x63ommitments\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"o\n\x19QueryPacketReceiptRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\"\x93\x01\n\x1aQueryPacketReceiptResponse\x12\x1a\n\x08received\x18\x02 \x01(\x08R\x08received\x12\x14\n\x05proof\x18\x03 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"w\n!QueryPacketAcknowledgementRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\"\xa9\x01\n\"QueryPacketAcknowledgementResponse\x12(\n\x0f\x61\x63knowledgement\x18\x01 \x01(\x0cR\x0f\x61\x63knowledgement\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\xe4\x01\n\"QueryPacketAcknowledgementsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x46\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\x12>\n\x1bpacket_commitment_sequences\x18\x04 \x03(\x04R\x19packetCommitmentSequences\"\xf6\x01\n#QueryPacketAcknowledgementsResponse\x12L\n\x10\x61\x63knowledgements\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateR\x10\x61\x63knowledgements\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\x12\x38\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"\x97\x01\n\x1dQueryUnreceivedPacketsRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12>\n\x1bpacket_commitment_sequences\x18\x03 \x03(\x04R\x19packetCommitmentSequences\"x\n\x1eQueryUnreceivedPacketsResponse\x12\x1c\n\tsequences\x18\x01 \x03(\x04R\tsequences\x12\x38\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"\x86\x01\n\x1aQueryUnreceivedAcksRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x30\n\x14packet_ack_sequences\x18\x03 \x03(\x04R\x12packetAckSequences\"u\n\x1bQueryUnreceivedAcksResponse\x12\x1c\n\tsequences\x18\x01 \x03(\x04R\tsequences\x12\x38\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\"Y\n\x1fQueryNextSequenceReceiveRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xb1\x01\n QueryNextSequenceReceiveResponse\x12\x32\n\x15next_sequence_receive\x18\x01 \x01(\x04R\x13nextSequenceReceive\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"V\n\x1cQueryNextSequenceSendRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xa8\x01\n\x1dQueryNextSequenceSendResponse\x12,\n\x12next_sequence_send\x18\x01 \x01(\x04R\x10nextSequenceSend\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"R\n\x18QueryUpgradeErrorRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xc4\x01\n\x19QueryUpgradeErrorResponse\x12L\n\rerror_receipt\x18\x01 \x01(\x0b\x32!.ibc.core.channel.v1.ErrorReceiptB\x04\xc8\xde\x1f\x00R\x0c\x65rrorReceipt\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"M\n\x13QueryUpgradeRequest\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\"\xaf\x01\n\x14QueryUpgradeResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\x1b\n\x19QueryChannelParamsRequest\"Q\n\x1aQueryChannelParamsResponse\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsR\x06params2\xe5\x1b\n\x05Query\x12\xa2\x01\n\x07\x43hannel\x12(.ibc.core.channel.v1.QueryChannelRequest\x1a).ibc.core.channel.v1.QueryChannelResponse\"B\x82\xd3\xe4\x93\x02<\x12:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}\x12\x88\x01\n\x08\x43hannels\x12).ibc.core.channel.v1.QueryChannelsRequest\x1a*.ibc.core.channel.v1.QueryChannelsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/ibc/core/channel/v1/channels\x12\xbf\x01\n\x12\x43onnectionChannels\x12\x33.ibc.core.channel.v1.QueryConnectionChannelsRequest\x1a\x34.ibc.core.channel.v1.QueryConnectionChannelsResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/channel/v1/connections/{connection}/channels\x12\xd0\x01\n\x12\x43hannelClientState\x12\x33.ibc.core.channel.v1.QueryChannelClientStateRequest\x1a\x34.ibc.core.channel.v1.QueryChannelClientStateResponse\"O\x82\xd3\xe4\x93\x02I\x12G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state\x12\x92\x02\n\x15\x43hannelConsensusState\x12\x36.ibc.core.channel.v1.QueryChannelConsensusStateRequest\x1a\x37.ibc.core.channel.v1.QueryChannelConsensusStateResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xdb\x01\n\x10PacketCommitment\x12\x31.ibc.core.channel.v1.QueryPacketCommitmentRequest\x1a\x32.ibc.core.channel.v1.QueryPacketCommitmentResponse\"`\x82\xd3\xe4\x93\x02Z\x12X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}\x12\xd3\x01\n\x11PacketCommitments\x12\x32.ibc.core.channel.v1.QueryPacketCommitmentsRequest\x1a\x33.ibc.core.channel.v1.QueryPacketCommitmentsResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments\x12\xcf\x01\n\rPacketReceipt\x12..ibc.core.channel.v1.QueryPacketReceiptRequest\x1a/.ibc.core.channel.v1.QueryPacketReceiptResponse\"]\x82\xd3\xe4\x93\x02W\x12U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}\x12\xe3\x01\n\x15PacketAcknowledgement\x12\x36.ibc.core.channel.v1.QueryPacketAcknowledgementRequest\x1a\x37.ibc.core.channel.v1.QueryPacketAcknowledgementResponse\"Y\x82\xd3\xe4\x93\x02S\x12Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}\x12\xe7\x01\n\x16PacketAcknowledgements\x12\x37.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest\x1a\x38.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse\"Z\x82\xd3\xe4\x93\x02T\x12R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements\x12\x86\x02\n\x11UnreceivedPackets\x12\x32.ibc.core.channel.v1.QueryUnreceivedPacketsRequest\x1a\x33.ibc.core.channel.v1.QueryUnreceivedPacketsResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets\x12\xf1\x01\n\x0eUnreceivedAcks\x12/.ibc.core.channel.v1.QueryUnreceivedAcksRequest\x1a\x30.ibc.core.channel.v1.QueryUnreceivedAcksResponse\"|\x82\xd3\xe4\x93\x02v\x12t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks\x12\xd4\x01\n\x13NextSequenceReceive\x12\x34.ibc.core.channel.v1.QueryNextSequenceReceiveRequest\x1a\x35.ibc.core.channel.v1.QueryNextSequenceReceiveResponse\"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence\x12\xd0\x01\n\x10NextSequenceSend\x12\x31.ibc.core.channel.v1.QueryNextSequenceSendRequest\x1a\x32.ibc.core.channel.v1.QueryNextSequenceSendResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send\x12\xbf\x01\n\x0cUpgradeError\x12-.ibc.core.channel.v1.QueryUpgradeErrorRequest\x1a..ibc.core.channel.v1.QueryUpgradeErrorResponse\"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade_error\x12\xaa\x01\n\x07Upgrade\x12(.ibc.core.channel.v1.QueryUpgradeRequest\x1a).ibc.core.channel.v1.QueryUpgradeResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade\x12\x95\x01\n\rChannelParams\x12..ibc.core.channel.v1.QueryChannelParamsRequest\x1a/.ibc.core.channel.v1.QueryChannelParamsResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/ibc/core/channel/v1/paramsB\xcf\x01\n\x17\x63om.ibc.core.channel.v1B\nQueryProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.channel.v1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.ibc.core.channel.v1B\nQueryProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1" - ) - _globals["_QUERYCHANNELRESPONSE"].fields_by_name["proof_height"]._loaded_options = None - _globals["_QUERYCHANNELRESPONSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYCHANNELSRESPONSE"].fields_by_name["height"]._loaded_options = None - _globals["_QUERYCHANNELSRESPONSE"].fields_by_name["height"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYCONNECTIONCHANNELSRESPONSE"].fields_by_name["height"]._loaded_options = None - _globals["_QUERYCONNECTIONCHANNELSRESPONSE"].fields_by_name["height"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYCHANNELCLIENTSTATERESPONSE"].fields_by_name["proof_height"]._loaded_options = None - _globals["_QUERYCHANNELCLIENTSTATERESPONSE"].fields_by_name[ - "proof_height" - ]._serialized_options = b"\310\336\037\000" - _globals["_QUERYCHANNELCONSENSUSSTATERESPONSE"].fields_by_name["proof_height"]._loaded_options = None - _globals["_QUERYCHANNELCONSENSUSSTATERESPONSE"].fields_by_name[ - "proof_height" - ]._serialized_options = b"\310\336\037\000" - _globals["_QUERYPACKETCOMMITMENTRESPONSE"].fields_by_name["proof_height"]._loaded_options = None - _globals["_QUERYPACKETCOMMITMENTRESPONSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYPACKETCOMMITMENTSRESPONSE"].fields_by_name["height"]._loaded_options = None - _globals["_QUERYPACKETCOMMITMENTSRESPONSE"].fields_by_name["height"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYPACKETRECEIPTRESPONSE"].fields_by_name["proof_height"]._loaded_options = None - _globals["_QUERYPACKETRECEIPTRESPONSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYPACKETACKNOWLEDGEMENTRESPONSE"].fields_by_name["proof_height"]._loaded_options = None - _globals["_QUERYPACKETACKNOWLEDGEMENTRESPONSE"].fields_by_name[ - "proof_height" - ]._serialized_options = b"\310\336\037\000" - _globals["_QUERYPACKETACKNOWLEDGEMENTSRESPONSE"].fields_by_name["height"]._loaded_options = None - _globals["_QUERYPACKETACKNOWLEDGEMENTSRESPONSE"].fields_by_name["height"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYUNRECEIVEDPACKETSRESPONSE"].fields_by_name["height"]._loaded_options = None - _globals["_QUERYUNRECEIVEDPACKETSRESPONSE"].fields_by_name["height"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYUNRECEIVEDACKSRESPONSE"].fields_by_name["height"]._loaded_options = None - _globals["_QUERYUNRECEIVEDACKSRESPONSE"].fields_by_name["height"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYNEXTSEQUENCERECEIVERESPONSE"].fields_by_name["proof_height"]._loaded_options = None - _globals["_QUERYNEXTSEQUENCERECEIVERESPONSE"].fields_by_name[ - "proof_height" - ]._serialized_options = b"\310\336\037\000" - _globals["_QUERYNEXTSEQUENCESENDRESPONSE"].fields_by_name["proof_height"]._loaded_options = None - _globals["_QUERYNEXTSEQUENCESENDRESPONSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYUPGRADEERRORRESPONSE"].fields_by_name["error_receipt"]._loaded_options = None - _globals["_QUERYUPGRADEERRORRESPONSE"].fields_by_name["error_receipt"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYUPGRADEERRORRESPONSE"].fields_by_name["proof_height"]._loaded_options = None - _globals["_QUERYUPGRADEERRORRESPONSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYUPGRADERESPONSE"].fields_by_name["upgrade"]._loaded_options = None - _globals["_QUERYUPGRADERESPONSE"].fields_by_name["upgrade"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYUPGRADERESPONSE"].fields_by_name["proof_height"]._loaded_options = None - _globals["_QUERYUPGRADERESPONSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_QUERY"].methods_by_name["Channel"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Channel" - ]._serialized_options = b"\202\323\344\223\002<\022:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}" - _globals["_QUERY"].methods_by_name["Channels"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Channels" - ]._serialized_options = b"\202\323\344\223\002\037\022\035/ibc/core/channel/v1/channels" - _globals["_QUERY"].methods_by_name["ConnectionChannels"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ConnectionChannels" - ]._serialized_options = b"\202\323\344\223\0028\0226/ibc/core/channel/v1/connections/{connection}/channels" - _globals["_QUERY"].methods_by_name["ChannelClientState"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ChannelClientState" - ]._serialized_options = ( - b"\202\323\344\223\002I\022G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state" - ) - _globals["_QUERY"].methods_by_name["ChannelConsensusState"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ChannelConsensusState" - ]._serialized_options = b"\202\323\344\223\002\200\001\022~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}" - _globals["_QUERY"].methods_by_name["PacketCommitment"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "PacketCommitment" - ]._serialized_options = b"\202\323\344\223\002Z\022X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}" - _globals["_QUERY"].methods_by_name["PacketCommitments"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "PacketCommitments" - ]._serialized_options = ( - b"\202\323\344\223\002O\022M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments" - ) - _globals["_QUERY"].methods_by_name["PacketReceipt"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "PacketReceipt" - ]._serialized_options = b"\202\323\344\223\002W\022U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}" - _globals["_QUERY"].methods_by_name["PacketAcknowledgement"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "PacketAcknowledgement" - ]._serialized_options = ( - b"\202\323\344\223\002S\022Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}" - ) - _globals["_QUERY"].methods_by_name["PacketAcknowledgements"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "PacketAcknowledgements" - ]._serialized_options = ( - b"\202\323\344\223\002T\022R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements" - ) - _globals["_QUERY"].methods_by_name["UnreceivedPackets"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "UnreceivedPackets" - ]._serialized_options = b"\202\323\344\223\002\200\001\022~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets" - _globals["_QUERY"].methods_by_name["UnreceivedAcks"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "UnreceivedAcks" - ]._serialized_options = b"\202\323\344\223\002v\022t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks" - _globals["_QUERY"].methods_by_name["NextSequenceReceive"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "NextSequenceReceive" - ]._serialized_options = ( - b"\202\323\344\223\002J\022H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence" - ) - _globals["_QUERY"].methods_by_name["NextSequenceSend"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "NextSequenceSend" - ]._serialized_options = ( - b"\202\323\344\223\002O\022M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send" - ) - _globals["_QUERY"].methods_by_name["UpgradeError"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "UpgradeError" - ]._serialized_options = ( - b"\202\323\344\223\002J\022H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade_error" - ) - _globals["_QUERY"].methods_by_name["Upgrade"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Upgrade" - ]._serialized_options = ( - b"\202\323\344\223\002D\022B/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade" - ) - _globals["_QUERY"].methods_by_name["ChannelParams"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ChannelParams" - ]._serialized_options = b"\202\323\344\223\002\035\022\033/ibc/core/channel/v1/params" - _globals["_QUERYCHANNELREQUEST"]._serialized_start = 282 - _globals["_QUERYCHANNELREQUEST"]._serialized_end = 359 - _globals["_QUERYCHANNELRESPONSE"]._serialized_start = 362 - _globals["_QUERYCHANNELRESPONSE"]._serialized_end = 531 - _globals["_QUERYCHANNELSREQUEST"]._serialized_start = 533 - _globals["_QUERYCHANNELSREQUEST"]._serialized_end = 627 - _globals["_QUERYCHANNELSRESPONSE"]._serialized_start = 630 - _globals["_QUERYCHANNELSRESPONSE"]._serialized_end = 852 - _globals["_QUERYCONNECTIONCHANNELSREQUEST"]._serialized_start = 855 - _globals["_QUERYCONNECTIONCHANNELSREQUEST"]._serialized_end = 991 - _globals["_QUERYCONNECTIONCHANNELSRESPONSE"]._serialized_start = 994 - _globals["_QUERYCONNECTIONCHANNELSRESPONSE"]._serialized_end = 1226 - _globals["_QUERYCHANNELCLIENTSTATEREQUEST"]._serialized_start = 1228 - _globals["_QUERYCHANNELCLIENTSTATEREQUEST"]._serialized_end = 1316 - _globals["_QUERYCHANNELCLIENTSTATERESPONSE"]._serialized_start = 1319 - _globals["_QUERYCHANNELCLIENTSTATERESPONSE"]._serialized_end = 1542 - _globals["_QUERYCHANNELCONSENSUSSTATEREQUEST"]._serialized_start = 1545 - _globals["_QUERYCHANNELCONSENSUSSTATEREQUEST"]._serialized_end = 1718 - _globals["_QUERYCHANNELCONSENSUSSTATERESPONSE"]._serialized_start = 1721 - _globals["_QUERYCHANNELCONSENSUSSTATERESPONSE"]._serialized_end = 1940 - _globals["_QUERYPACKETCOMMITMENTREQUEST"]._serialized_start = 1942 - _globals["_QUERYPACKETCOMMITMENTREQUEST"]._serialized_end = 2056 - _globals["_QUERYPACKETCOMMITMENTRESPONSE"]._serialized_start = 2059 - _globals["_QUERYPACKETCOMMITMENTRESPONSE"]._serialized_end = 2213 - _globals["_QUERYPACKETCOMMITMENTSREQUEST"]._serialized_start = 2216 - _globals["_QUERYPACKETCOMMITMENTSREQUEST"]._serialized_end = 2375 - _globals["_QUERYPACKETCOMMITMENTSRESPONSE"]._serialized_start = 2378 - _globals["_QUERYPACKETCOMMITMENTSRESPONSE"]._serialized_end = 2609 - _globals["_QUERYPACKETRECEIPTREQUEST"]._serialized_start = 2611 - _globals["_QUERYPACKETRECEIPTREQUEST"]._serialized_end = 2722 - _globals["_QUERYPACKETRECEIPTRESPONSE"]._serialized_start = 2725 - _globals["_QUERYPACKETRECEIPTRESPONSE"]._serialized_end = 2872 - _globals["_QUERYPACKETACKNOWLEDGEMENTREQUEST"]._serialized_start = 2874 - _globals["_QUERYPACKETACKNOWLEDGEMENTREQUEST"]._serialized_end = 2993 - _globals["_QUERYPACKETACKNOWLEDGEMENTRESPONSE"]._serialized_start = 2996 - _globals["_QUERYPACKETACKNOWLEDGEMENTRESPONSE"]._serialized_end = 3165 - _globals["_QUERYPACKETACKNOWLEDGEMENTSREQUEST"]._serialized_start = 3168 - _globals["_QUERYPACKETACKNOWLEDGEMENTSREQUEST"]._serialized_end = 3396 - _globals["_QUERYPACKETACKNOWLEDGEMENTSRESPONSE"]._serialized_start = 3399 - _globals["_QUERYPACKETACKNOWLEDGEMENTSRESPONSE"]._serialized_end = 3645 - _globals["_QUERYUNRECEIVEDPACKETSREQUEST"]._serialized_start = 3648 - _globals["_QUERYUNRECEIVEDPACKETSREQUEST"]._serialized_end = 3799 - _globals["_QUERYUNRECEIVEDPACKETSRESPONSE"]._serialized_start = 3801 - _globals["_QUERYUNRECEIVEDPACKETSRESPONSE"]._serialized_end = 3921 - _globals["_QUERYUNRECEIVEDACKSREQUEST"]._serialized_start = 3924 - _globals["_QUERYUNRECEIVEDACKSREQUEST"]._serialized_end = 4058 - _globals["_QUERYUNRECEIVEDACKSRESPONSE"]._serialized_start = 4060 - _globals["_QUERYUNRECEIVEDACKSRESPONSE"]._serialized_end = 4177 - _globals["_QUERYNEXTSEQUENCERECEIVEREQUEST"]._serialized_start = 4179 - _globals["_QUERYNEXTSEQUENCERECEIVEREQUEST"]._serialized_end = 4268 - _globals["_QUERYNEXTSEQUENCERECEIVERESPONSE"]._serialized_start = 4271 - _globals["_QUERYNEXTSEQUENCERECEIVERESPONSE"]._serialized_end = 4448 - _globals["_QUERYNEXTSEQUENCESENDREQUEST"]._serialized_start = 4450 - _globals["_QUERYNEXTSEQUENCESENDREQUEST"]._serialized_end = 4536 - _globals["_QUERYNEXTSEQUENCESENDRESPONSE"]._serialized_start = 4539 - _globals["_QUERYNEXTSEQUENCESENDRESPONSE"]._serialized_end = 4707 - _globals["_QUERYUPGRADEERRORREQUEST"]._serialized_start = 4709 - _globals["_QUERYUPGRADEERRORREQUEST"]._serialized_end = 4791 - _globals["_QUERYUPGRADEERRORRESPONSE"]._serialized_start = 4794 - _globals["_QUERYUPGRADEERRORRESPONSE"]._serialized_end = 4990 - _globals["_QUERYUPGRADEREQUEST"]._serialized_start = 4992 - _globals["_QUERYUPGRADEREQUEST"]._serialized_end = 5069 - _globals["_QUERYUPGRADERESPONSE"]._serialized_start = 5072 - _globals["_QUERYUPGRADERESPONSE"]._serialized_end = 5247 - _globals["_QUERYCHANNELPARAMSREQUEST"]._serialized_start = 5249 - _globals["_QUERYCHANNELPARAMSREQUEST"]._serialized_end = 5276 - _globals["_QUERYCHANNELPARAMSRESPONSE"]._serialized_start = 5278 - _globals["_QUERYCHANNELPARAMSRESPONSE"]._serialized_end = 5359 - _globals["_QUERY"]._serialized_start = 5362 - _globals["_QUERY"]._serialized_end = 8919 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\nQueryProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' + _globals['_QUERYCHANNELRESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYCHANNELRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYCHANNELSRESPONSE'].fields_by_name['height']._loaded_options = None + _globals['_QUERYCHANNELSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYCONNECTIONCHANNELSRESPONSE'].fields_by_name['height']._loaded_options = None + _globals['_QUERYCONNECTIONCHANNELSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYCHANNELCLIENTSTATERESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYCHANNELCLIENTSTATERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYPACKETCOMMITMENTRESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYPACKETCOMMITMENTRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYPACKETCOMMITMENTSRESPONSE'].fields_by_name['height']._loaded_options = None + _globals['_QUERYPACKETCOMMITMENTSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYPACKETRECEIPTRESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYPACKETRECEIPTRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE'].fields_by_name['height']._loaded_options = None + _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYUNRECEIVEDPACKETSRESPONSE'].fields_by_name['height']._loaded_options = None + _globals['_QUERYUNRECEIVEDPACKETSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYUNRECEIVEDACKSRESPONSE'].fields_by_name['height']._loaded_options = None + _globals['_QUERYUNRECEIVEDACKSRESPONSE'].fields_by_name['height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYNEXTSEQUENCESENDRESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYNEXTSEQUENCESENDRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYUPGRADEERRORRESPONSE'].fields_by_name['error_receipt']._loaded_options = None + _globals['_QUERYUPGRADEERRORRESPONSE'].fields_by_name['error_receipt']._serialized_options = b'\310\336\037\000' + _globals['_QUERYUPGRADEERRORRESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYUPGRADEERRORRESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYUPGRADERESPONSE'].fields_by_name['upgrade']._loaded_options = None + _globals['_QUERYUPGRADERESPONSE'].fields_by_name['upgrade']._serialized_options = b'\310\336\037\000' + _globals['_QUERYUPGRADERESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYUPGRADERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERY'].methods_by_name['Channel']._loaded_options = None + _globals['_QUERY'].methods_by_name['Channel']._serialized_options = b'\202\323\344\223\002<\022:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}' + _globals['_QUERY'].methods_by_name['Channels']._loaded_options = None + _globals['_QUERY'].methods_by_name['Channels']._serialized_options = b'\202\323\344\223\002\037\022\035/ibc/core/channel/v1/channels' + _globals['_QUERY'].methods_by_name['ConnectionChannels']._loaded_options = None + _globals['_QUERY'].methods_by_name['ConnectionChannels']._serialized_options = b'\202\323\344\223\0028\0226/ibc/core/channel/v1/connections/{connection}/channels' + _globals['_QUERY'].methods_by_name['ChannelClientState']._loaded_options = None + _globals['_QUERY'].methods_by_name['ChannelClientState']._serialized_options = b'\202\323\344\223\002I\022G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state' + _globals['_QUERY'].methods_by_name['ChannelConsensusState']._loaded_options = None + _globals['_QUERY'].methods_by_name['ChannelConsensusState']._serialized_options = b'\202\323\344\223\002\200\001\022~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}' + _globals['_QUERY'].methods_by_name['PacketCommitment']._loaded_options = None + _globals['_QUERY'].methods_by_name['PacketCommitment']._serialized_options = b'\202\323\344\223\002Z\022X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}' + _globals['_QUERY'].methods_by_name['PacketCommitments']._loaded_options = None + _globals['_QUERY'].methods_by_name['PacketCommitments']._serialized_options = b'\202\323\344\223\002O\022M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments' + _globals['_QUERY'].methods_by_name['PacketReceipt']._loaded_options = None + _globals['_QUERY'].methods_by_name['PacketReceipt']._serialized_options = b'\202\323\344\223\002W\022U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}' + _globals['_QUERY'].methods_by_name['PacketAcknowledgement']._loaded_options = None + _globals['_QUERY'].methods_by_name['PacketAcknowledgement']._serialized_options = b'\202\323\344\223\002S\022Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}' + _globals['_QUERY'].methods_by_name['PacketAcknowledgements']._loaded_options = None + _globals['_QUERY'].methods_by_name['PacketAcknowledgements']._serialized_options = b'\202\323\344\223\002T\022R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements' + _globals['_QUERY'].methods_by_name['UnreceivedPackets']._loaded_options = None + _globals['_QUERY'].methods_by_name['UnreceivedPackets']._serialized_options = b'\202\323\344\223\002\200\001\022~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets' + _globals['_QUERY'].methods_by_name['UnreceivedAcks']._loaded_options = None + _globals['_QUERY'].methods_by_name['UnreceivedAcks']._serialized_options = b'\202\323\344\223\002v\022t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks' + _globals['_QUERY'].methods_by_name['NextSequenceReceive']._loaded_options = None + _globals['_QUERY'].methods_by_name['NextSequenceReceive']._serialized_options = b'\202\323\344\223\002J\022H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence' + _globals['_QUERY'].methods_by_name['NextSequenceSend']._loaded_options = None + _globals['_QUERY'].methods_by_name['NextSequenceSend']._serialized_options = b'\202\323\344\223\002O\022M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send' + _globals['_QUERY'].methods_by_name['UpgradeError']._loaded_options = None + _globals['_QUERY'].methods_by_name['UpgradeError']._serialized_options = b'\202\323\344\223\002J\022H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade_error' + _globals['_QUERY'].methods_by_name['Upgrade']._loaded_options = None + _globals['_QUERY'].methods_by_name['Upgrade']._serialized_options = b'\202\323\344\223\002D\022B/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade' + _globals['_QUERY'].methods_by_name['ChannelParams']._loaded_options = None + _globals['_QUERY'].methods_by_name['ChannelParams']._serialized_options = b'\202\323\344\223\002\035\022\033/ibc/core/channel/v1/params' + _globals['_QUERYCHANNELREQUEST']._serialized_start=282 + _globals['_QUERYCHANNELREQUEST']._serialized_end=359 + _globals['_QUERYCHANNELRESPONSE']._serialized_start=362 + _globals['_QUERYCHANNELRESPONSE']._serialized_end=531 + _globals['_QUERYCHANNELSREQUEST']._serialized_start=533 + _globals['_QUERYCHANNELSREQUEST']._serialized_end=627 + _globals['_QUERYCHANNELSRESPONSE']._serialized_start=630 + _globals['_QUERYCHANNELSRESPONSE']._serialized_end=852 + _globals['_QUERYCONNECTIONCHANNELSREQUEST']._serialized_start=855 + _globals['_QUERYCONNECTIONCHANNELSREQUEST']._serialized_end=991 + _globals['_QUERYCONNECTIONCHANNELSRESPONSE']._serialized_start=994 + _globals['_QUERYCONNECTIONCHANNELSRESPONSE']._serialized_end=1226 + _globals['_QUERYCHANNELCLIENTSTATEREQUEST']._serialized_start=1228 + _globals['_QUERYCHANNELCLIENTSTATEREQUEST']._serialized_end=1316 + _globals['_QUERYCHANNELCLIENTSTATERESPONSE']._serialized_start=1319 + _globals['_QUERYCHANNELCLIENTSTATERESPONSE']._serialized_end=1542 + _globals['_QUERYCHANNELCONSENSUSSTATEREQUEST']._serialized_start=1545 + _globals['_QUERYCHANNELCONSENSUSSTATEREQUEST']._serialized_end=1718 + _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE']._serialized_start=1721 + _globals['_QUERYCHANNELCONSENSUSSTATERESPONSE']._serialized_end=1940 + _globals['_QUERYPACKETCOMMITMENTREQUEST']._serialized_start=1942 + _globals['_QUERYPACKETCOMMITMENTREQUEST']._serialized_end=2056 + _globals['_QUERYPACKETCOMMITMENTRESPONSE']._serialized_start=2059 + _globals['_QUERYPACKETCOMMITMENTRESPONSE']._serialized_end=2213 + _globals['_QUERYPACKETCOMMITMENTSREQUEST']._serialized_start=2216 + _globals['_QUERYPACKETCOMMITMENTSREQUEST']._serialized_end=2375 + _globals['_QUERYPACKETCOMMITMENTSRESPONSE']._serialized_start=2378 + _globals['_QUERYPACKETCOMMITMENTSRESPONSE']._serialized_end=2609 + _globals['_QUERYPACKETRECEIPTREQUEST']._serialized_start=2611 + _globals['_QUERYPACKETRECEIPTREQUEST']._serialized_end=2722 + _globals['_QUERYPACKETRECEIPTRESPONSE']._serialized_start=2725 + _globals['_QUERYPACKETRECEIPTRESPONSE']._serialized_end=2872 + _globals['_QUERYPACKETACKNOWLEDGEMENTREQUEST']._serialized_start=2874 + _globals['_QUERYPACKETACKNOWLEDGEMENTREQUEST']._serialized_end=2993 + _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE']._serialized_start=2996 + _globals['_QUERYPACKETACKNOWLEDGEMENTRESPONSE']._serialized_end=3165 + _globals['_QUERYPACKETACKNOWLEDGEMENTSREQUEST']._serialized_start=3168 + _globals['_QUERYPACKETACKNOWLEDGEMENTSREQUEST']._serialized_end=3396 + _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE']._serialized_start=3399 + _globals['_QUERYPACKETACKNOWLEDGEMENTSRESPONSE']._serialized_end=3645 + _globals['_QUERYUNRECEIVEDPACKETSREQUEST']._serialized_start=3648 + _globals['_QUERYUNRECEIVEDPACKETSREQUEST']._serialized_end=3799 + _globals['_QUERYUNRECEIVEDPACKETSRESPONSE']._serialized_start=3801 + _globals['_QUERYUNRECEIVEDPACKETSRESPONSE']._serialized_end=3921 + _globals['_QUERYUNRECEIVEDACKSREQUEST']._serialized_start=3924 + _globals['_QUERYUNRECEIVEDACKSREQUEST']._serialized_end=4058 + _globals['_QUERYUNRECEIVEDACKSRESPONSE']._serialized_start=4060 + _globals['_QUERYUNRECEIVEDACKSRESPONSE']._serialized_end=4177 + _globals['_QUERYNEXTSEQUENCERECEIVEREQUEST']._serialized_start=4179 + _globals['_QUERYNEXTSEQUENCERECEIVEREQUEST']._serialized_end=4268 + _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE']._serialized_start=4271 + _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE']._serialized_end=4448 + _globals['_QUERYNEXTSEQUENCESENDREQUEST']._serialized_start=4450 + _globals['_QUERYNEXTSEQUENCESENDREQUEST']._serialized_end=4536 + _globals['_QUERYNEXTSEQUENCESENDRESPONSE']._serialized_start=4539 + _globals['_QUERYNEXTSEQUENCESENDRESPONSE']._serialized_end=4707 + _globals['_QUERYUPGRADEERRORREQUEST']._serialized_start=4709 + _globals['_QUERYUPGRADEERRORREQUEST']._serialized_end=4791 + _globals['_QUERYUPGRADEERRORRESPONSE']._serialized_start=4794 + _globals['_QUERYUPGRADEERRORRESPONSE']._serialized_end=4990 + _globals['_QUERYUPGRADEREQUEST']._serialized_start=4992 + _globals['_QUERYUPGRADEREQUEST']._serialized_end=5069 + _globals['_QUERYUPGRADERESPONSE']._serialized_start=5072 + _globals['_QUERYUPGRADERESPONSE']._serialized_end=5247 + _globals['_QUERYCHANNELPARAMSREQUEST']._serialized_start=5249 + _globals['_QUERYCHANNELPARAMSREQUEST']._serialized_end=5276 + _globals['_QUERYCHANNELPARAMSRESPONSE']._serialized_start=5278 + _globals['_QUERYCHANNELPARAMSRESPONSE']._serialized_end=5359 + _globals['_QUERY']._serialized_start=5362 + _globals['_QUERY']._serialized_end=8919 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py index b58d6631..f6e0e336 100644 --- a/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query provides defines the gRPC querier service""" + """Query provides defines the gRPC querier service + """ def __init__(self, channel): """Constructor. @@ -15,345 +16,338 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Channel = channel.unary_unary( - "/ibc.core.channel.v1.Query/Channel", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/Channel', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelResponse.FromString, + _registered_method=True) self.Channels = channel.unary_unary( - "/ibc.core.channel.v1.Query/Channels", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/Channels', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsResponse.FromString, + _registered_method=True) self.ConnectionChannels = channel.unary_unary( - "/ibc.core.channel.v1.Query/ConnectionChannels", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/ConnectionChannels', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsResponse.FromString, + _registered_method=True) self.ChannelClientState = channel.unary_unary( - "/ibc.core.channel.v1.Query/ChannelClientState", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/ChannelClientState', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateResponse.FromString, + _registered_method=True) self.ChannelConsensusState = channel.unary_unary( - "/ibc.core.channel.v1.Query/ChannelConsensusState", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/ChannelConsensusState', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateResponse.FromString, + _registered_method=True) self.PacketCommitment = channel.unary_unary( - "/ibc.core.channel.v1.Query/PacketCommitment", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/PacketCommitment', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentResponse.FromString, + _registered_method=True) self.PacketCommitments = channel.unary_unary( - "/ibc.core.channel.v1.Query/PacketCommitments", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/PacketCommitments', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsResponse.FromString, + _registered_method=True) self.PacketReceipt = channel.unary_unary( - "/ibc.core.channel.v1.Query/PacketReceipt", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/PacketReceipt', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptResponse.FromString, + _registered_method=True) self.PacketAcknowledgement = channel.unary_unary( - "/ibc.core.channel.v1.Query/PacketAcknowledgement", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/PacketAcknowledgement', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementResponse.FromString, + _registered_method=True) self.PacketAcknowledgements = channel.unary_unary( - "/ibc.core.channel.v1.Query/PacketAcknowledgements", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/PacketAcknowledgements', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsResponse.FromString, + _registered_method=True) self.UnreceivedPackets = channel.unary_unary( - "/ibc.core.channel.v1.Query/UnreceivedPackets", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/UnreceivedPackets', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsResponse.FromString, + _registered_method=True) self.UnreceivedAcks = channel.unary_unary( - "/ibc.core.channel.v1.Query/UnreceivedAcks", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/UnreceivedAcks', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksResponse.FromString, + _registered_method=True) self.NextSequenceReceive = channel.unary_unary( - "/ibc.core.channel.v1.Query/NextSequenceReceive", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/NextSequenceReceive', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.FromString, + _registered_method=True) self.NextSequenceSend = channel.unary_unary( - "/ibc.core.channel.v1.Query/NextSequenceSend", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/NextSequenceSend', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.FromString, + _registered_method=True) self.UpgradeError = channel.unary_unary( - "/ibc.core.channel.v1.Query/UpgradeError", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/UpgradeError', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorResponse.FromString, + _registered_method=True) self.Upgrade = channel.unary_unary( - "/ibc.core.channel.v1.Query/Upgrade", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/Upgrade', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeResponse.FromString, + _registered_method=True) self.ChannelParams = channel.unary_unary( - "/ibc.core.channel.v1.Query/ChannelParams", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Query/ChannelParams', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query provides defines the gRPC querier service""" + """Query provides defines the gRPC querier service + """ def Channel(self, request, context): - """Channel queries an IBC Channel.""" + """Channel queries an IBC Channel. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Channels(self, request, context): - """Channels queries all the IBC channels of a chain.""" + """Channels queries all the IBC channels of a chain. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ConnectionChannels(self, request, context): """ConnectionChannels queries all the channels associated with a connection end. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ChannelClientState(self, request, context): """ChannelClientState queries for the client state for the channel associated with the provided channel identifiers. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ChannelConsensusState(self, request, context): """ChannelConsensusState queries for the consensus state for the channel associated with the provided channel identifiers. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PacketCommitment(self, request, context): - """PacketCommitment queries a stored packet commitment hash.""" + """PacketCommitment queries a stored packet commitment hash. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PacketCommitments(self, request, context): """PacketCommitments returns all the packet commitments hashes associated with a channel. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PacketReceipt(self, request, context): """PacketReceipt queries if a given packet sequence has been received on the queried chain """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PacketAcknowledgement(self, request, context): - """PacketAcknowledgement queries a stored packet acknowledgement hash.""" + """PacketAcknowledgement queries a stored packet acknowledgement hash. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PacketAcknowledgements(self, request, context): """PacketAcknowledgements returns all the packet acknowledgements associated with a channel. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UnreceivedPackets(self, request, context): """UnreceivedPackets returns all the unreceived IBC packets associated with a channel and sequences. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UnreceivedAcks(self, request, context): """UnreceivedAcks returns all the unreceived IBC acknowledgements associated with a channel and sequences. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def NextSequenceReceive(self, request, context): - """NextSequenceReceive returns the next receive sequence for a given channel.""" + """NextSequenceReceive returns the next receive sequence for a given channel. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def NextSequenceSend(self, request, context): - """NextSequenceSend returns the next send sequence for a given channel.""" + """NextSequenceSend returns the next send sequence for a given channel. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpgradeError(self, request, context): - """UpgradeError returns the error receipt if the upgrade handshake failed.""" + """UpgradeError returns the error receipt if the upgrade handshake failed. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Upgrade(self, request, context): - """Upgrade returns the upgrade for a given port and channel id.""" + """Upgrade returns the upgrade for a given port and channel id. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ChannelParams(self, request, context): - """ChannelParams queries all parameters of the ibc channel submodule.""" + """ChannelParams queries all parameters of the ibc channel submodule. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Channel": grpc.unary_unary_rpc_method_handler( - servicer.Channel, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelResponse.SerializeToString, - ), - "Channels": grpc.unary_unary_rpc_method_handler( - servicer.Channels, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsResponse.SerializeToString, - ), - "ConnectionChannels": grpc.unary_unary_rpc_method_handler( - servicer.ConnectionChannels, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsResponse.SerializeToString, - ), - "ChannelClientState": grpc.unary_unary_rpc_method_handler( - servicer.ChannelClientState, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateResponse.SerializeToString, - ), - "ChannelConsensusState": grpc.unary_unary_rpc_method_handler( - servicer.ChannelConsensusState, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateResponse.SerializeToString, - ), - "PacketCommitment": grpc.unary_unary_rpc_method_handler( - servicer.PacketCommitment, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentResponse.SerializeToString, - ), - "PacketCommitments": grpc.unary_unary_rpc_method_handler( - servicer.PacketCommitments, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsResponse.SerializeToString, - ), - "PacketReceipt": grpc.unary_unary_rpc_method_handler( - servicer.PacketReceipt, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptResponse.SerializeToString, - ), - "PacketAcknowledgement": grpc.unary_unary_rpc_method_handler( - servicer.PacketAcknowledgement, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementResponse.SerializeToString, - ), - "PacketAcknowledgements": grpc.unary_unary_rpc_method_handler( - servicer.PacketAcknowledgements, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsResponse.SerializeToString, - ), - "UnreceivedPackets": grpc.unary_unary_rpc_method_handler( - servicer.UnreceivedPackets, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsResponse.SerializeToString, - ), - "UnreceivedAcks": grpc.unary_unary_rpc_method_handler( - servicer.UnreceivedAcks, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksResponse.SerializeToString, - ), - "NextSequenceReceive": grpc.unary_unary_rpc_method_handler( - servicer.NextSequenceReceive, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.SerializeToString, - ), - "NextSequenceSend": grpc.unary_unary_rpc_method_handler( - servicer.NextSequenceSend, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.SerializeToString, - ), - "UpgradeError": grpc.unary_unary_rpc_method_handler( - servicer.UpgradeError, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorResponse.SerializeToString, - ), - "Upgrade": grpc.unary_unary_rpc_method_handler( - servicer.Upgrade, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeResponse.SerializeToString, - ), - "ChannelParams": grpc.unary_unary_rpc_method_handler( - servicer.ChannelParams, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsResponse.SerializeToString, - ), + 'Channel': grpc.unary_unary_rpc_method_handler( + servicer.Channel, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelResponse.SerializeToString, + ), + 'Channels': grpc.unary_unary_rpc_method_handler( + servicer.Channels, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsResponse.SerializeToString, + ), + 'ConnectionChannels': grpc.unary_unary_rpc_method_handler( + servicer.ConnectionChannels, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsResponse.SerializeToString, + ), + 'ChannelClientState': grpc.unary_unary_rpc_method_handler( + servicer.ChannelClientState, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateResponse.SerializeToString, + ), + 'ChannelConsensusState': grpc.unary_unary_rpc_method_handler( + servicer.ChannelConsensusState, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateResponse.SerializeToString, + ), + 'PacketCommitment': grpc.unary_unary_rpc_method_handler( + servicer.PacketCommitment, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentResponse.SerializeToString, + ), + 'PacketCommitments': grpc.unary_unary_rpc_method_handler( + servicer.PacketCommitments, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsResponse.SerializeToString, + ), + 'PacketReceipt': grpc.unary_unary_rpc_method_handler( + servicer.PacketReceipt, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptResponse.SerializeToString, + ), + 'PacketAcknowledgement': grpc.unary_unary_rpc_method_handler( + servicer.PacketAcknowledgement, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementResponse.SerializeToString, + ), + 'PacketAcknowledgements': grpc.unary_unary_rpc_method_handler( + servicer.PacketAcknowledgements, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsResponse.SerializeToString, + ), + 'UnreceivedPackets': grpc.unary_unary_rpc_method_handler( + servicer.UnreceivedPackets, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsResponse.SerializeToString, + ), + 'UnreceivedAcks': grpc.unary_unary_rpc_method_handler( + servicer.UnreceivedAcks, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksResponse.SerializeToString, + ), + 'NextSequenceReceive': grpc.unary_unary_rpc_method_handler( + servicer.NextSequenceReceive, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.SerializeToString, + ), + 'NextSequenceSend': grpc.unary_unary_rpc_method_handler( + servicer.NextSequenceSend, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.SerializeToString, + ), + 'UpgradeError': grpc.unary_unary_rpc_method_handler( + servicer.UpgradeError, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorResponse.SerializeToString, + ), + 'Upgrade': grpc.unary_unary_rpc_method_handler( + servicer.Upgrade, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeResponse.SerializeToString, + ), + 'ChannelParams': grpc.unary_unary_rpc_method_handler( + servicer.ChannelParams, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsRequest.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("ibc.core.channel.v1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.core.channel.v1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("ibc.core.channel.v1.Query", rpc_method_handlers) + server.add_registered_method_handlers('ibc.core.channel.v1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query provides defines the gRPC querier service""" + """Query provides defines the gRPC querier service + """ @staticmethod - def Channel( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Channel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/Channel", + '/ibc.core.channel.v1.Query/Channel', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelResponse.FromString, options, @@ -364,26 +358,23 @@ def Channel( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Channels( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Channels(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/Channels", + '/ibc.core.channel.v1.Query/Channels', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelsResponse.FromString, options, @@ -394,26 +385,23 @@ def Channels( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ConnectionChannels( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ConnectionChannels(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/ConnectionChannels", + '/ibc.core.channel.v1.Query/ConnectionChannels', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryConnectionChannelsResponse.FromString, options, @@ -424,26 +412,23 @@ def ConnectionChannels( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ChannelClientState( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChannelClientState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/ChannelClientState", + '/ibc.core.channel.v1.Query/ChannelClientState', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelClientStateResponse.FromString, options, @@ -454,26 +439,23 @@ def ChannelClientState( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ChannelConsensusState( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChannelConsensusState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/ChannelConsensusState", + '/ibc.core.channel.v1.Query/ChannelConsensusState', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelConsensusStateResponse.FromString, options, @@ -484,26 +466,23 @@ def ChannelConsensusState( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PacketCommitment( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PacketCommitment(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/PacketCommitment", + '/ibc.core.channel.v1.Query/PacketCommitment', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentResponse.FromString, options, @@ -514,26 +493,23 @@ def PacketCommitment( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PacketCommitments( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PacketCommitments(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/PacketCommitments", + '/ibc.core.channel.v1.Query/PacketCommitments', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketCommitmentsResponse.FromString, options, @@ -544,26 +520,23 @@ def PacketCommitments( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PacketReceipt( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PacketReceipt(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/PacketReceipt", + '/ibc.core.channel.v1.Query/PacketReceipt', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketReceiptResponse.FromString, options, @@ -574,26 +547,23 @@ def PacketReceipt( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PacketAcknowledgement( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PacketAcknowledgement(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/PacketAcknowledgement", + '/ibc.core.channel.v1.Query/PacketAcknowledgement', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementResponse.FromString, options, @@ -604,26 +574,23 @@ def PacketAcknowledgement( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PacketAcknowledgements( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PacketAcknowledgements(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/PacketAcknowledgements", + '/ibc.core.channel.v1.Query/PacketAcknowledgements', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryPacketAcknowledgementsResponse.FromString, options, @@ -634,26 +601,23 @@ def PacketAcknowledgements( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UnreceivedPackets( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UnreceivedPackets(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/UnreceivedPackets", + '/ibc.core.channel.v1.Query/UnreceivedPackets', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedPacketsResponse.FromString, options, @@ -664,26 +628,23 @@ def UnreceivedPackets( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UnreceivedAcks( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UnreceivedAcks(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/UnreceivedAcks", + '/ibc.core.channel.v1.Query/UnreceivedAcks', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUnreceivedAcksResponse.FromString, options, @@ -694,26 +655,23 @@ def UnreceivedAcks( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def NextSequenceReceive( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def NextSequenceReceive(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/NextSequenceReceive", + '/ibc.core.channel.v1.Query/NextSequenceReceive', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.FromString, options, @@ -724,26 +682,23 @@ def NextSequenceReceive( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def NextSequenceSend( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def NextSequenceSend(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/NextSequenceSend", + '/ibc.core.channel.v1.Query/NextSequenceSend', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.FromString, options, @@ -754,26 +709,23 @@ def NextSequenceSend( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpgradeError( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpgradeError(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/UpgradeError", + '/ibc.core.channel.v1.Query/UpgradeError', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeErrorResponse.FromString, options, @@ -784,26 +736,23 @@ def UpgradeError( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Upgrade( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Upgrade(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/Upgrade", + '/ibc.core.channel.v1.Query/Upgrade', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryUpgradeResponse.FromString, options, @@ -814,26 +763,23 @@ def Upgrade( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ChannelParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChannelParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Query/ChannelParams", + '/ibc.core.channel.v1.Query/ChannelParams', ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsRequest.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryChannelParamsResponse.FromString, options, @@ -844,5 +790,4 @@ def ChannelParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py index 2abcf047..84303770 100644 --- a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,240 +19,222 @@ from pyinjective.proto.ibc.core.channel.v1 import upgrade_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_upgrade__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1cibc/core/channel/v1/tx.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1fibc/core/client/v1/client.proto\x1a!ibc/core/channel/v1/channel.proto\x1a!ibc/core/channel/v1/upgrade.proto"\x94\x01\n\x12MsgChannelOpenInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12<\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x07\x63hannel\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"[\n\x1aMsgChannelOpenInitResponse\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version:\x04\x88\xa0\x1f\x00"\xde\x02\n\x11MsgChannelOpenTry\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x32\n\x13previous_channel_id\x18\x02 \x01(\tB\x02\x18\x01R\x11previousChannelId\x12<\n\x07\x63hannel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x07\x63hannel\x12\x31\n\x14\x63ounterparty_version\x18\x04 \x01(\tR\x13\x63ounterpartyVersion\x12\x1d\n\nproof_init\x18\x05 \x01(\x0cR\tproofInit\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"Z\n\x19MsgChannelOpenTryResponse\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId:\x04\x88\xa0\x1f\x00"\xc1\x02\n\x11MsgChannelOpenAck\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x36\n\x17\x63ounterparty_channel_id\x18\x03 \x01(\tR\x15\x63ounterpartyChannelId\x12\x31\n\x14\x63ounterparty_version\x18\x04 \x01(\tR\x13\x63ounterpartyVersion\x12\x1b\n\tproof_try\x18\x05 \x01(\x0cR\x08proofTry\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x1b\n\x19MsgChannelOpenAckResponse"\xda\x01\n\x15MsgChannelOpenConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1b\n\tproof_ack\x18\x03 \x01(\x0cR\x08proofAck\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x1f\n\x1dMsgChannelOpenConfirmResponse"v\n\x13MsgChannelCloseInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x1d\n\x1bMsgChannelCloseInitResponse"\xa1\x02\n\x16MsgChannelCloseConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1d\n\nproof_init\x18\x03 \x01(\x0cR\tproofInit\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x06 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer" \n\x1eMsgChannelCloseConfirmResponse"\xe3\x01\n\rMsgRecvPacket\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_commitment\x18\x02 \x01(\x0cR\x0fproofCommitment\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"^\n\x15MsgRecvPacketResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00"\x8e\x02\n\nMsgTimeout\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_unreceived\x18\x02 \x01(\x0cR\x0fproofUnreceived\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12,\n\x12next_sequence_recv\x18\x04 \x01(\x04R\x10nextSequenceRecv\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"[\n\x12MsgTimeoutResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00"\xfa\x02\n\x11MsgTimeoutOnClose\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_unreceived\x18\x02 \x01(\x0cR\x0fproofUnreceived\x12\x1f\n\x0bproof_close\x18\x03 \x01(\x0cR\nproofClose\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12,\n\x12next_sequence_recv\x18\x05 \x01(\x04R\x10nextSequenceRecv\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x07 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"b\n\x19MsgTimeoutOnCloseResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00"\x88\x02\n\x12MsgAcknowledgement\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12(\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0cR\x0f\x61\x63knowledgement\x12\x1f\n\x0bproof_acked\x18\x03 \x01(\x0cR\nproofAcked\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"c\n\x1aMsgAcknowledgementResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00"\xba\x01\n\x15MsgChannelUpgradeInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12@\n\x06\x66ields\x18\x03 \x01(\x0b\x32".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x06\x66ields\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x8e\x01\n\x1dMsgChannelUpgradeInitResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12)\n\x10upgrade_sequence\x18\x02 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00"\xfd\x03\n\x14MsgChannelUpgradeTry\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12G\n proposed_upgrade_connection_hops\x18\x03 \x03(\tR\x1dproposedUpgradeConnectionHops\x12h\n\x1b\x63ounterparty_upgrade_fields\x18\x04 \x01(\x0b\x32".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x19\x63ounterpartyUpgradeFields\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x05 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence\x12#\n\rproof_channel\x18\x06 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x07 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x08 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\t \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\xce\x01\n\x1cMsgChannelUpgradeTryResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12)\n\x10upgrade_sequence\x18\x02 \x01(\x04R\x0fupgradeSequence\x12?\n\x06result\x18\x03 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00"\xdd\x02\n\x14MsgChannelUpgradeAck\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12U\n\x14\x63ounterparty_upgrade\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyUpgrade\x12#\n\rproof_channel\x18\x04 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x05 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"e\n\x1cMsgChannelUpgradeAckResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00"\xbb\x03\n\x18MsgChannelUpgradeConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12X\n\x1a\x63ounterparty_channel_state\x18\x03 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x18\x63ounterpartyChannelState\x12U\n\x14\x63ounterparty_upgrade\x18\x04 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyUpgrade\x12#\n\rproof_channel\x18\x05 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x06 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x08 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"i\n MsgChannelUpgradeConfirmResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00"\x80\x03\n\x15MsgChannelUpgradeOpen\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12X\n\x1a\x63ounterparty_channel_state\x18\x03 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x18\x63ounterpartyChannelState\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x04 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence\x12#\n\rproof_channel\x18\x05 \x01(\x0cR\x0cproofChannel\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x1f\n\x1dMsgChannelUpgradeOpenResponse"\xbc\x02\n\x18MsgChannelUpgradeTimeout\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12U\n\x14\x63ounterparty_channel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyChannel\x12#\n\rproof_channel\x18\x04 \x01(\x0cR\x0cproofChannel\x12\x43\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer""\n MsgChannelUpgradeTimeoutResponse"\xbd\x02\n\x17MsgChannelUpgradeCancel\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12L\n\rerror_receipt\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.ErrorReceiptB\x04\xc8\xde\x1f\x00R\x0c\x65rrorReceipt\x12.\n\x13proof_error_receipt\x18\x04 \x01(\x0cR\x11proofErrorReceipt\x12\x43\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"!\n\x1fMsgChannelUpgradeCancelResponse"~\n\x0fMsgUpdateParams\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12\x39\n\x06params\x18\x02 \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x12\x88\xa0\x1f\x00\x82\xe7\xb0*\tauthority"\x19\n\x17MsgUpdateParamsResponse"\x91\x01\n\x18MsgPruneAcknowledgements\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x14\n\x05limit\x18\x03 \x01(\x04R\x05limit\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x94\x01\n MsgPruneAcknowledgementsResponse\x12\x34\n\x16total_pruned_sequences\x18\x01 \x01(\x04R\x14totalPrunedSequences\x12:\n\x19total_remaining_sequences\x18\x02 \x01(\x04R\x17totalRemainingSequences*\xd8\x01\n\x12ResponseResultType\x12\x35\n RESPONSE_RESULT_TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\'\n\x19RESPONSE_RESULT_TYPE_NOOP\x10\x01\x1a\x08\x8a\x9d \x04NOOP\x12-\n\x1cRESPONSE_RESULT_TYPE_SUCCESS\x10\x02\x1a\x0b\x8a\x9d \x07SUCCESS\x12-\n\x1cRESPONSE_RESULT_TYPE_FAILURE\x10\x03\x1a\x0b\x8a\x9d \x07\x46\x41ILURE\x1a\x04\x88\xa3\x1e\x00\x32\xec\x10\n\x03Msg\x12k\n\x0f\x43hannelOpenInit\x12\'.ibc.core.channel.v1.MsgChannelOpenInit\x1a/.ibc.core.channel.v1.MsgChannelOpenInitResponse\x12h\n\x0e\x43hannelOpenTry\x12&.ibc.core.channel.v1.MsgChannelOpenTry\x1a..ibc.core.channel.v1.MsgChannelOpenTryResponse\x12h\n\x0e\x43hannelOpenAck\x12&.ibc.core.channel.v1.MsgChannelOpenAck\x1a..ibc.core.channel.v1.MsgChannelOpenAckResponse\x12t\n\x12\x43hannelOpenConfirm\x12*.ibc.core.channel.v1.MsgChannelOpenConfirm\x1a\x32.ibc.core.channel.v1.MsgChannelOpenConfirmResponse\x12n\n\x10\x43hannelCloseInit\x12(.ibc.core.channel.v1.MsgChannelCloseInit\x1a\x30.ibc.core.channel.v1.MsgChannelCloseInitResponse\x12w\n\x13\x43hannelCloseConfirm\x12+.ibc.core.channel.v1.MsgChannelCloseConfirm\x1a\x33.ibc.core.channel.v1.MsgChannelCloseConfirmResponse\x12\\\n\nRecvPacket\x12".ibc.core.channel.v1.MsgRecvPacket\x1a*.ibc.core.channel.v1.MsgRecvPacketResponse\x12S\n\x07Timeout\x12\x1f.ibc.core.channel.v1.MsgTimeout\x1a\'.ibc.core.channel.v1.MsgTimeoutResponse\x12h\n\x0eTimeoutOnClose\x12&.ibc.core.channel.v1.MsgTimeoutOnClose\x1a..ibc.core.channel.v1.MsgTimeoutOnCloseResponse\x12k\n\x0f\x41\x63knowledgement\x12\'.ibc.core.channel.v1.MsgAcknowledgement\x1a/.ibc.core.channel.v1.MsgAcknowledgementResponse\x12t\n\x12\x43hannelUpgradeInit\x12*.ibc.core.channel.v1.MsgChannelUpgradeInit\x1a\x32.ibc.core.channel.v1.MsgChannelUpgradeInitResponse\x12q\n\x11\x43hannelUpgradeTry\x12).ibc.core.channel.v1.MsgChannelUpgradeTry\x1a\x31.ibc.core.channel.v1.MsgChannelUpgradeTryResponse\x12q\n\x11\x43hannelUpgradeAck\x12).ibc.core.channel.v1.MsgChannelUpgradeAck\x1a\x31.ibc.core.channel.v1.MsgChannelUpgradeAckResponse\x12}\n\x15\x43hannelUpgradeConfirm\x12-.ibc.core.channel.v1.MsgChannelUpgradeConfirm\x1a\x35.ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse\x12t\n\x12\x43hannelUpgradeOpen\x12*.ibc.core.channel.v1.MsgChannelUpgradeOpen\x1a\x32.ibc.core.channel.v1.MsgChannelUpgradeOpenResponse\x12}\n\x15\x43hannelUpgradeTimeout\x12-.ibc.core.channel.v1.MsgChannelUpgradeTimeout\x1a\x35.ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse\x12z\n\x14\x43hannelUpgradeCancel\x12,.ibc.core.channel.v1.MsgChannelUpgradeCancel\x1a\x34.ibc.core.channel.v1.MsgChannelUpgradeCancelResponse\x12i\n\x13UpdateChannelParams\x12$.ibc.core.channel.v1.MsgUpdateParams\x1a,.ibc.core.channel.v1.MsgUpdateParamsResponse\x12}\n\x15PruneAcknowledgements\x12-.ibc.core.channel.v1.MsgPruneAcknowledgements\x1a\x35.ibc.core.channel.v1.MsgPruneAcknowledgementsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xcc\x01\n\x17\x63om.ibc.core.channel.v1B\x07TxProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cibc/core/channel/v1/tx.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1fibc/core/client/v1/client.proto\x1a!ibc/core/channel/v1/channel.proto\x1a!ibc/core/channel/v1/upgrade.proto\"\x94\x01\n\x12MsgChannelOpenInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12<\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x07\x63hannel\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"[\n\x1aMsgChannelOpenInitResponse\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version:\x04\x88\xa0\x1f\x00\"\xde\x02\n\x11MsgChannelOpenTry\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x32\n\x13previous_channel_id\x18\x02 \x01(\tB\x02\x18\x01R\x11previousChannelId\x12<\n\x07\x63hannel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x07\x63hannel\x12\x31\n\x14\x63ounterparty_version\x18\x04 \x01(\tR\x13\x63ounterpartyVersion\x12\x1d\n\nproof_init\x18\x05 \x01(\x0cR\tproofInit\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"Z\n\x19MsgChannelOpenTryResponse\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId:\x04\x88\xa0\x1f\x00\"\xc1\x02\n\x11MsgChannelOpenAck\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x36\n\x17\x63ounterparty_channel_id\x18\x03 \x01(\tR\x15\x63ounterpartyChannelId\x12\x31\n\x14\x63ounterparty_version\x18\x04 \x01(\tR\x13\x63ounterpartyVersion\x12\x1b\n\tproof_try\x18\x05 \x01(\x0cR\x08proofTry\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1b\n\x19MsgChannelOpenAckResponse\"\xda\x01\n\x15MsgChannelOpenConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1b\n\tproof_ack\x18\x03 \x01(\x0cR\x08proofAck\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgChannelOpenConfirmResponse\"v\n\x13MsgChannelCloseInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1d\n\x1bMsgChannelCloseInitResponse\"\xa1\x02\n\x16MsgChannelCloseConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x1d\n\nproof_init\x18\x03 \x01(\x0cR\tproofInit\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x06 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\" \n\x1eMsgChannelCloseConfirmResponse\"\xe3\x01\n\rMsgRecvPacket\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_commitment\x18\x02 \x01(\x0cR\x0fproofCommitment\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"^\n\x15MsgRecvPacketResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\x8e\x02\n\nMsgTimeout\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_unreceived\x18\x02 \x01(\x0cR\x0fproofUnreceived\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12,\n\x12next_sequence_recv\x18\x04 \x01(\x04R\x10nextSequenceRecv\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"[\n\x12MsgTimeoutResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\xfa\x02\n\x11MsgTimeoutOnClose\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12)\n\x10proof_unreceived\x18\x02 \x01(\x0cR\x0fproofUnreceived\x12\x1f\n\x0bproof_close\x18\x03 \x01(\x0cR\nproofClose\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12,\n\x12next_sequence_recv\x18\x05 \x01(\x04R\x10nextSequenceRecv\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x07 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"b\n\x19MsgTimeoutOnCloseResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\x88\x02\n\x12MsgAcknowledgement\x12\x39\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00R\x06packet\x12(\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0cR\x0f\x61\x63knowledgement\x12\x1f\n\x0bproof_acked\x18\x03 \x01(\x0cR\nproofAcked\x12\x43\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x05 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"c\n\x1aMsgAcknowledgementResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\xba\x01\n\x15MsgChannelUpgradeInit\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12@\n\x06\x66ields\x18\x03 \x01(\x0b\x32\".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x06\x66ields\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x8e\x01\n\x1dMsgChannelUpgradeInitResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12)\n\x10upgrade_sequence\x18\x02 \x01(\x04R\x0fupgradeSequence:\x04\x88\xa0\x1f\x00\"\xfd\x03\n\x14MsgChannelUpgradeTry\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12G\n proposed_upgrade_connection_hops\x18\x03 \x03(\tR\x1dproposedUpgradeConnectionHops\x12h\n\x1b\x63ounterparty_upgrade_fields\x18\x04 \x01(\x0b\x32\".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x19\x63ounterpartyUpgradeFields\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x05 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence\x12#\n\rproof_channel\x18\x06 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x07 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x08 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\t \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\xce\x01\n\x1cMsgChannelUpgradeTryResponse\x12<\n\x07upgrade\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x07upgrade\x12)\n\x10upgrade_sequence\x18\x02 \x01(\x04R\x0fupgradeSequence\x12?\n\x06result\x18\x03 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\xdd\x02\n\x14MsgChannelUpgradeAck\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12U\n\x14\x63ounterparty_upgrade\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyUpgrade\x12#\n\rproof_channel\x18\x04 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x05 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"e\n\x1cMsgChannelUpgradeAckResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\xbb\x03\n\x18MsgChannelUpgradeConfirm\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12X\n\x1a\x63ounterparty_channel_state\x18\x03 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x18\x63ounterpartyChannelState\x12U\n\x14\x63ounterparty_upgrade\x18\x04 \x01(\x0b\x32\x1c.ibc.core.channel.v1.UpgradeB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyUpgrade\x12#\n\rproof_channel\x18\x05 \x01(\x0cR\x0cproofChannel\x12#\n\rproof_upgrade\x18\x06 \x01(\x0cR\x0cproofUpgrade\x12\x43\n\x0cproof_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x08 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"i\n MsgChannelUpgradeConfirmResponse\x12?\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultTypeR\x06result:\x04\x88\xa0\x1f\x00\"\x80\x03\n\x15MsgChannelUpgradeOpen\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12X\n\x1a\x63ounterparty_channel_state\x18\x03 \x01(\x0e\x32\x1a.ibc.core.channel.v1.StateR\x18\x63ounterpartyChannelState\x12\x42\n\x1d\x63ounterparty_upgrade_sequence\x18\x04 \x01(\x04R\x1b\x63ounterpartyUpgradeSequence\x12#\n\rproof_channel\x18\x05 \x01(\x0cR\x0cproofChannel\x12\x43\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x07 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgChannelUpgradeOpenResponse\"\xbc\x02\n\x18MsgChannelUpgradeTimeout\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12U\n\x14\x63ounterparty_channel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00R\x13\x63ounterpartyChannel\x12#\n\rproof_channel\x18\x04 \x01(\x0cR\x0cproofChannel\x12\x43\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\"\n MsgChannelUpgradeTimeoutResponse\"\xbd\x02\n\x17MsgChannelUpgradeCancel\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12L\n\rerror_receipt\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.ErrorReceiptB\x04\xc8\xde\x1f\x00R\x0c\x65rrorReceipt\x12.\n\x13proof_error_receipt\x18\x04 \x01(\x0cR\x11proofErrorReceipt\x12\x43\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"!\n\x1fMsgChannelUpgradeCancelResponse\"~\n\x0fMsgUpdateParams\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority\x12\x39\n\x06params\x18\x02 \x01(\x0b\x32\x1b.ibc.core.channel.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\x12\x88\xa0\x1f\x00\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"\x91\x01\n\x18MsgPruneAcknowledgements\x12\x17\n\x07port_id\x18\x01 \x01(\tR\x06portId\x12\x1d\n\nchannel_id\x18\x02 \x01(\tR\tchannelId\x12\x14\n\x05limit\x18\x03 \x01(\x04R\x05limit\x12\x16\n\x06signer\x18\x04 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x94\x01\n MsgPruneAcknowledgementsResponse\x12\x34\n\x16total_pruned_sequences\x18\x01 \x01(\x04R\x14totalPrunedSequences\x12:\n\x19total_remaining_sequences\x18\x02 \x01(\x04R\x17totalRemainingSequences*\xd8\x01\n\x12ResponseResultType\x12\x35\n RESPONSE_RESULT_TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\'\n\x19RESPONSE_RESULT_TYPE_NOOP\x10\x01\x1a\x08\x8a\x9d \x04NOOP\x12-\n\x1cRESPONSE_RESULT_TYPE_SUCCESS\x10\x02\x1a\x0b\x8a\x9d \x07SUCCESS\x12-\n\x1cRESPONSE_RESULT_TYPE_FAILURE\x10\x03\x1a\x0b\x8a\x9d \x07\x46\x41ILURE\x1a\x04\x88\xa3\x1e\x00\x32\xec\x10\n\x03Msg\x12k\n\x0f\x43hannelOpenInit\x12\'.ibc.core.channel.v1.MsgChannelOpenInit\x1a/.ibc.core.channel.v1.MsgChannelOpenInitResponse\x12h\n\x0e\x43hannelOpenTry\x12&.ibc.core.channel.v1.MsgChannelOpenTry\x1a..ibc.core.channel.v1.MsgChannelOpenTryResponse\x12h\n\x0e\x43hannelOpenAck\x12&.ibc.core.channel.v1.MsgChannelOpenAck\x1a..ibc.core.channel.v1.MsgChannelOpenAckResponse\x12t\n\x12\x43hannelOpenConfirm\x12*.ibc.core.channel.v1.MsgChannelOpenConfirm\x1a\x32.ibc.core.channel.v1.MsgChannelOpenConfirmResponse\x12n\n\x10\x43hannelCloseInit\x12(.ibc.core.channel.v1.MsgChannelCloseInit\x1a\x30.ibc.core.channel.v1.MsgChannelCloseInitResponse\x12w\n\x13\x43hannelCloseConfirm\x12+.ibc.core.channel.v1.MsgChannelCloseConfirm\x1a\x33.ibc.core.channel.v1.MsgChannelCloseConfirmResponse\x12\\\n\nRecvPacket\x12\".ibc.core.channel.v1.MsgRecvPacket\x1a*.ibc.core.channel.v1.MsgRecvPacketResponse\x12S\n\x07Timeout\x12\x1f.ibc.core.channel.v1.MsgTimeout\x1a\'.ibc.core.channel.v1.MsgTimeoutResponse\x12h\n\x0eTimeoutOnClose\x12&.ibc.core.channel.v1.MsgTimeoutOnClose\x1a..ibc.core.channel.v1.MsgTimeoutOnCloseResponse\x12k\n\x0f\x41\x63knowledgement\x12\'.ibc.core.channel.v1.MsgAcknowledgement\x1a/.ibc.core.channel.v1.MsgAcknowledgementResponse\x12t\n\x12\x43hannelUpgradeInit\x12*.ibc.core.channel.v1.MsgChannelUpgradeInit\x1a\x32.ibc.core.channel.v1.MsgChannelUpgradeInitResponse\x12q\n\x11\x43hannelUpgradeTry\x12).ibc.core.channel.v1.MsgChannelUpgradeTry\x1a\x31.ibc.core.channel.v1.MsgChannelUpgradeTryResponse\x12q\n\x11\x43hannelUpgradeAck\x12).ibc.core.channel.v1.MsgChannelUpgradeAck\x1a\x31.ibc.core.channel.v1.MsgChannelUpgradeAckResponse\x12}\n\x15\x43hannelUpgradeConfirm\x12-.ibc.core.channel.v1.MsgChannelUpgradeConfirm\x1a\x35.ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse\x12t\n\x12\x43hannelUpgradeOpen\x12*.ibc.core.channel.v1.MsgChannelUpgradeOpen\x1a\x32.ibc.core.channel.v1.MsgChannelUpgradeOpenResponse\x12}\n\x15\x43hannelUpgradeTimeout\x12-.ibc.core.channel.v1.MsgChannelUpgradeTimeout\x1a\x35.ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse\x12z\n\x14\x43hannelUpgradeCancel\x12,.ibc.core.channel.v1.MsgChannelUpgradeCancel\x1a\x34.ibc.core.channel.v1.MsgChannelUpgradeCancelResponse\x12i\n\x13UpdateChannelParams\x12$.ibc.core.channel.v1.MsgUpdateParams\x1a,.ibc.core.channel.v1.MsgUpdateParamsResponse\x12}\n\x15PruneAcknowledgements\x12-.ibc.core.channel.v1.MsgPruneAcknowledgements\x1a\x35.ibc.core.channel.v1.MsgPruneAcknowledgementsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xcc\x01\n\x17\x63om.ibc.core.channel.v1B\x07TxProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.channel.v1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.ibc.core.channel.v1B\007TxProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1" - ) - _globals["_RESPONSERESULTTYPE"]._loaded_options = None - _globals["_RESPONSERESULTTYPE"]._serialized_options = b"\210\243\036\000" - _globals["_RESPONSERESULTTYPE"].values_by_name["RESPONSE_RESULT_TYPE_UNSPECIFIED"]._loaded_options = None - _globals["_RESPONSERESULTTYPE"].values_by_name[ - "RESPONSE_RESULT_TYPE_UNSPECIFIED" - ]._serialized_options = b"\212\235 \013UNSPECIFIED" - _globals["_RESPONSERESULTTYPE"].values_by_name["RESPONSE_RESULT_TYPE_NOOP"]._loaded_options = None - _globals["_RESPONSERESULTTYPE"].values_by_name[ - "RESPONSE_RESULT_TYPE_NOOP" - ]._serialized_options = b"\212\235 \004NOOP" - _globals["_RESPONSERESULTTYPE"].values_by_name["RESPONSE_RESULT_TYPE_SUCCESS"]._loaded_options = None - _globals["_RESPONSERESULTTYPE"].values_by_name[ - "RESPONSE_RESULT_TYPE_SUCCESS" - ]._serialized_options = b"\212\235 \007SUCCESS" - _globals["_RESPONSERESULTTYPE"].values_by_name["RESPONSE_RESULT_TYPE_FAILURE"]._loaded_options = None - _globals["_RESPONSERESULTTYPE"].values_by_name[ - "RESPONSE_RESULT_TYPE_FAILURE" - ]._serialized_options = b"\212\235 \007FAILURE" - _globals["_MSGCHANNELOPENINIT"].fields_by_name["channel"]._loaded_options = None - _globals["_MSGCHANNELOPENINIT"].fields_by_name["channel"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELOPENINIT"]._loaded_options = None - _globals["_MSGCHANNELOPENINIT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGCHANNELOPENINITRESPONSE"]._loaded_options = None - _globals["_MSGCHANNELOPENINITRESPONSE"]._serialized_options = b"\210\240\037\000" - _globals["_MSGCHANNELOPENTRY"].fields_by_name["previous_channel_id"]._loaded_options = None - _globals["_MSGCHANNELOPENTRY"].fields_by_name["previous_channel_id"]._serialized_options = b"\030\001" - _globals["_MSGCHANNELOPENTRY"].fields_by_name["channel"]._loaded_options = None - _globals["_MSGCHANNELOPENTRY"].fields_by_name["channel"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELOPENTRY"].fields_by_name["proof_height"]._loaded_options = None - _globals["_MSGCHANNELOPENTRY"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELOPENTRY"]._loaded_options = None - _globals["_MSGCHANNELOPENTRY"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGCHANNELOPENTRYRESPONSE"]._loaded_options = None - _globals["_MSGCHANNELOPENTRYRESPONSE"]._serialized_options = b"\210\240\037\000" - _globals["_MSGCHANNELOPENACK"].fields_by_name["proof_height"]._loaded_options = None - _globals["_MSGCHANNELOPENACK"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELOPENACK"]._loaded_options = None - _globals["_MSGCHANNELOPENACK"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGCHANNELOPENCONFIRM"].fields_by_name["proof_height"]._loaded_options = None - _globals["_MSGCHANNELOPENCONFIRM"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELOPENCONFIRM"]._loaded_options = None - _globals["_MSGCHANNELOPENCONFIRM"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGCHANNELCLOSEINIT"]._loaded_options = None - _globals["_MSGCHANNELCLOSEINIT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGCHANNELCLOSECONFIRM"].fields_by_name["proof_height"]._loaded_options = None - _globals["_MSGCHANNELCLOSECONFIRM"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELCLOSECONFIRM"]._loaded_options = None - _globals["_MSGCHANNELCLOSECONFIRM"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGRECVPACKET"].fields_by_name["packet"]._loaded_options = None - _globals["_MSGRECVPACKET"].fields_by_name["packet"]._serialized_options = b"\310\336\037\000" - _globals["_MSGRECVPACKET"].fields_by_name["proof_height"]._loaded_options = None - _globals["_MSGRECVPACKET"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_MSGRECVPACKET"]._loaded_options = None - _globals["_MSGRECVPACKET"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGRECVPACKETRESPONSE"]._loaded_options = None - _globals["_MSGRECVPACKETRESPONSE"]._serialized_options = b"\210\240\037\000" - _globals["_MSGTIMEOUT"].fields_by_name["packet"]._loaded_options = None - _globals["_MSGTIMEOUT"].fields_by_name["packet"]._serialized_options = b"\310\336\037\000" - _globals["_MSGTIMEOUT"].fields_by_name["proof_height"]._loaded_options = None - _globals["_MSGTIMEOUT"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_MSGTIMEOUT"]._loaded_options = None - _globals["_MSGTIMEOUT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGTIMEOUTRESPONSE"]._loaded_options = None - _globals["_MSGTIMEOUTRESPONSE"]._serialized_options = b"\210\240\037\000" - _globals["_MSGTIMEOUTONCLOSE"].fields_by_name["packet"]._loaded_options = None - _globals["_MSGTIMEOUTONCLOSE"].fields_by_name["packet"]._serialized_options = b"\310\336\037\000" - _globals["_MSGTIMEOUTONCLOSE"].fields_by_name["proof_height"]._loaded_options = None - _globals["_MSGTIMEOUTONCLOSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_MSGTIMEOUTONCLOSE"]._loaded_options = None - _globals["_MSGTIMEOUTONCLOSE"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGTIMEOUTONCLOSERESPONSE"]._loaded_options = None - _globals["_MSGTIMEOUTONCLOSERESPONSE"]._serialized_options = b"\210\240\037\000" - _globals["_MSGACKNOWLEDGEMENT"].fields_by_name["packet"]._loaded_options = None - _globals["_MSGACKNOWLEDGEMENT"].fields_by_name["packet"]._serialized_options = b"\310\336\037\000" - _globals["_MSGACKNOWLEDGEMENT"].fields_by_name["proof_height"]._loaded_options = None - _globals["_MSGACKNOWLEDGEMENT"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_MSGACKNOWLEDGEMENT"]._loaded_options = None - _globals["_MSGACKNOWLEDGEMENT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGACKNOWLEDGEMENTRESPONSE"]._loaded_options = None - _globals["_MSGACKNOWLEDGEMENTRESPONSE"]._serialized_options = b"\210\240\037\000" - _globals["_MSGCHANNELUPGRADEINIT"].fields_by_name["fields"]._loaded_options = None - _globals["_MSGCHANNELUPGRADEINIT"].fields_by_name["fields"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELUPGRADEINIT"]._loaded_options = None - _globals["_MSGCHANNELUPGRADEINIT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGCHANNELUPGRADEINITRESPONSE"].fields_by_name["upgrade"]._loaded_options = None - _globals["_MSGCHANNELUPGRADEINITRESPONSE"].fields_by_name["upgrade"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELUPGRADEINITRESPONSE"]._loaded_options = None - _globals["_MSGCHANNELUPGRADEINITRESPONSE"]._serialized_options = b"\210\240\037\000" - _globals["_MSGCHANNELUPGRADETRY"].fields_by_name["counterparty_upgrade_fields"]._loaded_options = None - _globals["_MSGCHANNELUPGRADETRY"].fields_by_name[ - "counterparty_upgrade_fields" - ]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELUPGRADETRY"].fields_by_name["proof_height"]._loaded_options = None - _globals["_MSGCHANNELUPGRADETRY"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELUPGRADETRY"]._loaded_options = None - _globals["_MSGCHANNELUPGRADETRY"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGCHANNELUPGRADETRYRESPONSE"].fields_by_name["upgrade"]._loaded_options = None - _globals["_MSGCHANNELUPGRADETRYRESPONSE"].fields_by_name["upgrade"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELUPGRADETRYRESPONSE"]._loaded_options = None - _globals["_MSGCHANNELUPGRADETRYRESPONSE"]._serialized_options = b"\210\240\037\000" - _globals["_MSGCHANNELUPGRADEACK"].fields_by_name["counterparty_upgrade"]._loaded_options = None - _globals["_MSGCHANNELUPGRADEACK"].fields_by_name["counterparty_upgrade"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELUPGRADEACK"].fields_by_name["proof_height"]._loaded_options = None - _globals["_MSGCHANNELUPGRADEACK"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELUPGRADEACK"]._loaded_options = None - _globals["_MSGCHANNELUPGRADEACK"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGCHANNELUPGRADEACKRESPONSE"]._loaded_options = None - _globals["_MSGCHANNELUPGRADEACKRESPONSE"]._serialized_options = b"\210\240\037\000" - _globals["_MSGCHANNELUPGRADECONFIRM"].fields_by_name["counterparty_upgrade"]._loaded_options = None - _globals["_MSGCHANNELUPGRADECONFIRM"].fields_by_name[ - "counterparty_upgrade" - ]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELUPGRADECONFIRM"].fields_by_name["proof_height"]._loaded_options = None - _globals["_MSGCHANNELUPGRADECONFIRM"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELUPGRADECONFIRM"]._loaded_options = None - _globals["_MSGCHANNELUPGRADECONFIRM"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGCHANNELUPGRADECONFIRMRESPONSE"]._loaded_options = None - _globals["_MSGCHANNELUPGRADECONFIRMRESPONSE"]._serialized_options = b"\210\240\037\000" - _globals["_MSGCHANNELUPGRADEOPEN"].fields_by_name["proof_height"]._loaded_options = None - _globals["_MSGCHANNELUPGRADEOPEN"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELUPGRADEOPEN"]._loaded_options = None - _globals["_MSGCHANNELUPGRADEOPEN"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGCHANNELUPGRADETIMEOUT"].fields_by_name["counterparty_channel"]._loaded_options = None - _globals["_MSGCHANNELUPGRADETIMEOUT"].fields_by_name[ - "counterparty_channel" - ]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELUPGRADETIMEOUT"].fields_by_name["proof_height"]._loaded_options = None - _globals["_MSGCHANNELUPGRADETIMEOUT"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELUPGRADETIMEOUT"]._loaded_options = None - _globals["_MSGCHANNELUPGRADETIMEOUT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGCHANNELUPGRADECANCEL"].fields_by_name["error_receipt"]._loaded_options = None - _globals["_MSGCHANNELUPGRADECANCEL"].fields_by_name["error_receipt"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELUPGRADECANCEL"].fields_by_name["proof_height"]._loaded_options = None - _globals["_MSGCHANNELUPGRADECANCEL"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCHANNELUPGRADECANCEL"]._loaded_options = None - _globals["_MSGCHANNELUPGRADECANCEL"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = b"\210\240\037\000\202\347\260*\tauthority" - _globals["_MSGPRUNEACKNOWLEDGEMENTS"]._loaded_options = None - _globals["_MSGPRUNEACKNOWLEDGEMENTS"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_RESPONSERESULTTYPE"]._serialized_start = 7165 - _globals["_RESPONSERESULTTYPE"]._serialized_end = 7381 - _globals["_MSGCHANNELOPENINIT"]._serialized_start = 204 - _globals["_MSGCHANNELOPENINIT"]._serialized_end = 352 - _globals["_MSGCHANNELOPENINITRESPONSE"]._serialized_start = 354 - _globals["_MSGCHANNELOPENINITRESPONSE"]._serialized_end = 445 - _globals["_MSGCHANNELOPENTRY"]._serialized_start = 448 - _globals["_MSGCHANNELOPENTRY"]._serialized_end = 798 - _globals["_MSGCHANNELOPENTRYRESPONSE"]._serialized_start = 800 - _globals["_MSGCHANNELOPENTRYRESPONSE"]._serialized_end = 890 - _globals["_MSGCHANNELOPENACK"]._serialized_start = 893 - _globals["_MSGCHANNELOPENACK"]._serialized_end = 1214 - _globals["_MSGCHANNELOPENACKRESPONSE"]._serialized_start = 1216 - _globals["_MSGCHANNELOPENACKRESPONSE"]._serialized_end = 1243 - _globals["_MSGCHANNELOPENCONFIRM"]._serialized_start = 1246 - _globals["_MSGCHANNELOPENCONFIRM"]._serialized_end = 1464 - _globals["_MSGCHANNELOPENCONFIRMRESPONSE"]._serialized_start = 1466 - _globals["_MSGCHANNELOPENCONFIRMRESPONSE"]._serialized_end = 1497 - _globals["_MSGCHANNELCLOSEINIT"]._serialized_start = 1499 - _globals["_MSGCHANNELCLOSEINIT"]._serialized_end = 1617 - _globals["_MSGCHANNELCLOSEINITRESPONSE"]._serialized_start = 1619 - _globals["_MSGCHANNELCLOSEINITRESPONSE"]._serialized_end = 1648 - _globals["_MSGCHANNELCLOSECONFIRM"]._serialized_start = 1651 - _globals["_MSGCHANNELCLOSECONFIRM"]._serialized_end = 1940 - _globals["_MSGCHANNELCLOSECONFIRMRESPONSE"]._serialized_start = 1942 - _globals["_MSGCHANNELCLOSECONFIRMRESPONSE"]._serialized_end = 1974 - _globals["_MSGRECVPACKET"]._serialized_start = 1977 - _globals["_MSGRECVPACKET"]._serialized_end = 2204 - _globals["_MSGRECVPACKETRESPONSE"]._serialized_start = 2206 - _globals["_MSGRECVPACKETRESPONSE"]._serialized_end = 2300 - _globals["_MSGTIMEOUT"]._serialized_start = 2303 - _globals["_MSGTIMEOUT"]._serialized_end = 2573 - _globals["_MSGTIMEOUTRESPONSE"]._serialized_start = 2575 - _globals["_MSGTIMEOUTRESPONSE"]._serialized_end = 2666 - _globals["_MSGTIMEOUTONCLOSE"]._serialized_start = 2669 - _globals["_MSGTIMEOUTONCLOSE"]._serialized_end = 3047 - _globals["_MSGTIMEOUTONCLOSERESPONSE"]._serialized_start = 3049 - _globals["_MSGTIMEOUTONCLOSERESPONSE"]._serialized_end = 3147 - _globals["_MSGACKNOWLEDGEMENT"]._serialized_start = 3150 - _globals["_MSGACKNOWLEDGEMENT"]._serialized_end = 3414 - _globals["_MSGACKNOWLEDGEMENTRESPONSE"]._serialized_start = 3416 - _globals["_MSGACKNOWLEDGEMENTRESPONSE"]._serialized_end = 3515 - _globals["_MSGCHANNELUPGRADEINIT"]._serialized_start = 3518 - _globals["_MSGCHANNELUPGRADEINIT"]._serialized_end = 3704 - _globals["_MSGCHANNELUPGRADEINITRESPONSE"]._serialized_start = 3707 - _globals["_MSGCHANNELUPGRADEINITRESPONSE"]._serialized_end = 3849 - _globals["_MSGCHANNELUPGRADETRY"]._serialized_start = 3852 - _globals["_MSGCHANNELUPGRADETRY"]._serialized_end = 4361 - _globals["_MSGCHANNELUPGRADETRYRESPONSE"]._serialized_start = 4364 - _globals["_MSGCHANNELUPGRADETRYRESPONSE"]._serialized_end = 4570 - _globals["_MSGCHANNELUPGRADEACK"]._serialized_start = 4573 - _globals["_MSGCHANNELUPGRADEACK"]._serialized_end = 4922 - _globals["_MSGCHANNELUPGRADEACKRESPONSE"]._serialized_start = 4924 - _globals["_MSGCHANNELUPGRADEACKRESPONSE"]._serialized_end = 5025 - _globals["_MSGCHANNELUPGRADECONFIRM"]._serialized_start = 5028 - _globals["_MSGCHANNELUPGRADECONFIRM"]._serialized_end = 5471 - _globals["_MSGCHANNELUPGRADECONFIRMRESPONSE"]._serialized_start = 5473 - _globals["_MSGCHANNELUPGRADECONFIRMRESPONSE"]._serialized_end = 5578 - _globals["_MSGCHANNELUPGRADEOPEN"]._serialized_start = 5581 - _globals["_MSGCHANNELUPGRADEOPEN"]._serialized_end = 5965 - _globals["_MSGCHANNELUPGRADEOPENRESPONSE"]._serialized_start = 5967 - _globals["_MSGCHANNELUPGRADEOPENRESPONSE"]._serialized_end = 5998 - _globals["_MSGCHANNELUPGRADETIMEOUT"]._serialized_start = 6001 - _globals["_MSGCHANNELUPGRADETIMEOUT"]._serialized_end = 6317 - _globals["_MSGCHANNELUPGRADETIMEOUTRESPONSE"]._serialized_start = 6319 - _globals["_MSGCHANNELUPGRADETIMEOUTRESPONSE"]._serialized_end = 6353 - _globals["_MSGCHANNELUPGRADECANCEL"]._serialized_start = 6356 - _globals["_MSGCHANNELUPGRADECANCEL"]._serialized_end = 6673 - _globals["_MSGCHANNELUPGRADECANCELRESPONSE"]._serialized_start = 6675 - _globals["_MSGCHANNELUPGRADECANCELRESPONSE"]._serialized_end = 6708 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 6710 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 6836 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 6838 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 6863 - _globals["_MSGPRUNEACKNOWLEDGEMENTS"]._serialized_start = 6866 - _globals["_MSGPRUNEACKNOWLEDGEMENTS"]._serialized_end = 7011 - _globals["_MSGPRUNEACKNOWLEDGEMENTSRESPONSE"]._serialized_start = 7014 - _globals["_MSGPRUNEACKNOWLEDGEMENTSRESPONSE"]._serialized_end = 7162 - _globals["_MSG"]._serialized_start = 7384 - _globals["_MSG"]._serialized_end = 9540 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\007TxProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' + _globals['_RESPONSERESULTTYPE']._loaded_options = None + _globals['_RESPONSERESULTTYPE']._serialized_options = b'\210\243\036\000' + _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_UNSPECIFIED"]._loaded_options = None + _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' + _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_NOOP"]._loaded_options = None + _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_NOOP"]._serialized_options = b'\212\235 \004NOOP' + _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_SUCCESS"]._loaded_options = None + _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_SUCCESS"]._serialized_options = b'\212\235 \007SUCCESS' + _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_FAILURE"]._loaded_options = None + _globals['_RESPONSERESULTTYPE'].values_by_name["RESPONSE_RESULT_TYPE_FAILURE"]._serialized_options = b'\212\235 \007FAILURE' + _globals['_MSGCHANNELOPENINIT'].fields_by_name['channel']._loaded_options = None + _globals['_MSGCHANNELOPENINIT'].fields_by_name['channel']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELOPENINIT']._loaded_options = None + _globals['_MSGCHANNELOPENINIT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELOPENINITRESPONSE']._loaded_options = None + _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGCHANNELOPENTRY'].fields_by_name['previous_channel_id']._loaded_options = None + _globals['_MSGCHANNELOPENTRY'].fields_by_name['previous_channel_id']._serialized_options = b'\030\001' + _globals['_MSGCHANNELOPENTRY'].fields_by_name['channel']._loaded_options = None + _globals['_MSGCHANNELOPENTRY'].fields_by_name['channel']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELOPENTRY'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELOPENTRY'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELOPENTRY']._loaded_options = None + _globals['_MSGCHANNELOPENTRY']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELOPENTRYRESPONSE']._loaded_options = None + _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGCHANNELOPENACK'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELOPENACK'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELOPENACK']._loaded_options = None + _globals['_MSGCHANNELOPENACK']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELOPENCONFIRM'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELOPENCONFIRM'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELOPENCONFIRM']._loaded_options = None + _globals['_MSGCHANNELOPENCONFIRM']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELCLOSEINIT']._loaded_options = None + _globals['_MSGCHANNELCLOSEINIT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELCLOSECONFIRM'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELCLOSECONFIRM'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELCLOSECONFIRM']._loaded_options = None + _globals['_MSGCHANNELCLOSECONFIRM']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGRECVPACKET'].fields_by_name['packet']._loaded_options = None + _globals['_MSGRECVPACKET'].fields_by_name['packet']._serialized_options = b'\310\336\037\000' + _globals['_MSGRECVPACKET'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGRECVPACKET'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGRECVPACKET']._loaded_options = None + _globals['_MSGRECVPACKET']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGRECVPACKETRESPONSE']._loaded_options = None + _globals['_MSGRECVPACKETRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGTIMEOUT'].fields_by_name['packet']._loaded_options = None + _globals['_MSGTIMEOUT'].fields_by_name['packet']._serialized_options = b'\310\336\037\000' + _globals['_MSGTIMEOUT'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGTIMEOUT'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGTIMEOUT']._loaded_options = None + _globals['_MSGTIMEOUT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGTIMEOUTRESPONSE']._loaded_options = None + _globals['_MSGTIMEOUTRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGTIMEOUTONCLOSE'].fields_by_name['packet']._loaded_options = None + _globals['_MSGTIMEOUTONCLOSE'].fields_by_name['packet']._serialized_options = b'\310\336\037\000' + _globals['_MSGTIMEOUTONCLOSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGTIMEOUTONCLOSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGTIMEOUTONCLOSE']._loaded_options = None + _globals['_MSGTIMEOUTONCLOSE']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGTIMEOUTONCLOSERESPONSE']._loaded_options = None + _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGACKNOWLEDGEMENT'].fields_by_name['packet']._loaded_options = None + _globals['_MSGACKNOWLEDGEMENT'].fields_by_name['packet']._serialized_options = b'\310\336\037\000' + _globals['_MSGACKNOWLEDGEMENT'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGACKNOWLEDGEMENT'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGACKNOWLEDGEMENT']._loaded_options = None + _globals['_MSGACKNOWLEDGEMENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGACKNOWLEDGEMENTRESPONSE']._loaded_options = None + _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGCHANNELUPGRADEINIT'].fields_by_name['fields']._loaded_options = None + _globals['_MSGCHANNELUPGRADEINIT'].fields_by_name['fields']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADEINIT']._loaded_options = None + _globals['_MSGCHANNELUPGRADEINIT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELUPGRADEINITRESPONSE'].fields_by_name['upgrade']._loaded_options = None + _globals['_MSGCHANNELUPGRADEINITRESPONSE'].fields_by_name['upgrade']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADEINITRESPONSE']._loaded_options = None + _globals['_MSGCHANNELUPGRADEINITRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGCHANNELUPGRADETRY'].fields_by_name['counterparty_upgrade_fields']._loaded_options = None + _globals['_MSGCHANNELUPGRADETRY'].fields_by_name['counterparty_upgrade_fields']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADETRY'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELUPGRADETRY'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADETRY']._loaded_options = None + _globals['_MSGCHANNELUPGRADETRY']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELUPGRADETRYRESPONSE'].fields_by_name['upgrade']._loaded_options = None + _globals['_MSGCHANNELUPGRADETRYRESPONSE'].fields_by_name['upgrade']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADETRYRESPONSE']._loaded_options = None + _globals['_MSGCHANNELUPGRADETRYRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGCHANNELUPGRADEACK'].fields_by_name['counterparty_upgrade']._loaded_options = None + _globals['_MSGCHANNELUPGRADEACK'].fields_by_name['counterparty_upgrade']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADEACK'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELUPGRADEACK'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADEACK']._loaded_options = None + _globals['_MSGCHANNELUPGRADEACK']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELUPGRADEACKRESPONSE']._loaded_options = None + _globals['_MSGCHANNELUPGRADEACKRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGCHANNELUPGRADECONFIRM'].fields_by_name['counterparty_upgrade']._loaded_options = None + _globals['_MSGCHANNELUPGRADECONFIRM'].fields_by_name['counterparty_upgrade']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADECONFIRM'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELUPGRADECONFIRM'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADECONFIRM']._loaded_options = None + _globals['_MSGCHANNELUPGRADECONFIRM']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELUPGRADECONFIRMRESPONSE']._loaded_options = None + _globals['_MSGCHANNELUPGRADECONFIRMRESPONSE']._serialized_options = b'\210\240\037\000' + _globals['_MSGCHANNELUPGRADEOPEN'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELUPGRADEOPEN'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADEOPEN']._loaded_options = None + _globals['_MSGCHANNELUPGRADEOPEN']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELUPGRADETIMEOUT'].fields_by_name['counterparty_channel']._loaded_options = None + _globals['_MSGCHANNELUPGRADETIMEOUT'].fields_by_name['counterparty_channel']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADETIMEOUT'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELUPGRADETIMEOUT'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADETIMEOUT']._loaded_options = None + _globals['_MSGCHANNELUPGRADETIMEOUT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGCHANNELUPGRADECANCEL'].fields_by_name['error_receipt']._loaded_options = None + _globals['_MSGCHANNELUPGRADECANCEL'].fields_by_name['error_receipt']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADECANCEL'].fields_by_name['proof_height']._loaded_options = None + _globals['_MSGCHANNELUPGRADECANCEL'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_MSGCHANNELUPGRADECANCEL']._loaded_options = None + _globals['_MSGCHANNELUPGRADECANCEL']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\tauthority' + _globals['_MSGPRUNEACKNOWLEDGEMENTS']._loaded_options = None + _globals['_MSGPRUNEACKNOWLEDGEMENTS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_RESPONSERESULTTYPE']._serialized_start=7165 + _globals['_RESPONSERESULTTYPE']._serialized_end=7381 + _globals['_MSGCHANNELOPENINIT']._serialized_start=204 + _globals['_MSGCHANNELOPENINIT']._serialized_end=352 + _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_start=354 + _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_end=445 + _globals['_MSGCHANNELOPENTRY']._serialized_start=448 + _globals['_MSGCHANNELOPENTRY']._serialized_end=798 + _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_start=800 + _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_end=890 + _globals['_MSGCHANNELOPENACK']._serialized_start=893 + _globals['_MSGCHANNELOPENACK']._serialized_end=1214 + _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_start=1216 + _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_end=1243 + _globals['_MSGCHANNELOPENCONFIRM']._serialized_start=1246 + _globals['_MSGCHANNELOPENCONFIRM']._serialized_end=1464 + _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_start=1466 + _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_end=1497 + _globals['_MSGCHANNELCLOSEINIT']._serialized_start=1499 + _globals['_MSGCHANNELCLOSEINIT']._serialized_end=1617 + _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_start=1619 + _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_end=1648 + _globals['_MSGCHANNELCLOSECONFIRM']._serialized_start=1651 + _globals['_MSGCHANNELCLOSECONFIRM']._serialized_end=1940 + _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_start=1942 + _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_end=1974 + _globals['_MSGRECVPACKET']._serialized_start=1977 + _globals['_MSGRECVPACKET']._serialized_end=2204 + _globals['_MSGRECVPACKETRESPONSE']._serialized_start=2206 + _globals['_MSGRECVPACKETRESPONSE']._serialized_end=2300 + _globals['_MSGTIMEOUT']._serialized_start=2303 + _globals['_MSGTIMEOUT']._serialized_end=2573 + _globals['_MSGTIMEOUTRESPONSE']._serialized_start=2575 + _globals['_MSGTIMEOUTRESPONSE']._serialized_end=2666 + _globals['_MSGTIMEOUTONCLOSE']._serialized_start=2669 + _globals['_MSGTIMEOUTONCLOSE']._serialized_end=3047 + _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_start=3049 + _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_end=3147 + _globals['_MSGACKNOWLEDGEMENT']._serialized_start=3150 + _globals['_MSGACKNOWLEDGEMENT']._serialized_end=3414 + _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_start=3416 + _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_end=3515 + _globals['_MSGCHANNELUPGRADEINIT']._serialized_start=3518 + _globals['_MSGCHANNELUPGRADEINIT']._serialized_end=3704 + _globals['_MSGCHANNELUPGRADEINITRESPONSE']._serialized_start=3707 + _globals['_MSGCHANNELUPGRADEINITRESPONSE']._serialized_end=3849 + _globals['_MSGCHANNELUPGRADETRY']._serialized_start=3852 + _globals['_MSGCHANNELUPGRADETRY']._serialized_end=4361 + _globals['_MSGCHANNELUPGRADETRYRESPONSE']._serialized_start=4364 + _globals['_MSGCHANNELUPGRADETRYRESPONSE']._serialized_end=4570 + _globals['_MSGCHANNELUPGRADEACK']._serialized_start=4573 + _globals['_MSGCHANNELUPGRADEACK']._serialized_end=4922 + _globals['_MSGCHANNELUPGRADEACKRESPONSE']._serialized_start=4924 + _globals['_MSGCHANNELUPGRADEACKRESPONSE']._serialized_end=5025 + _globals['_MSGCHANNELUPGRADECONFIRM']._serialized_start=5028 + _globals['_MSGCHANNELUPGRADECONFIRM']._serialized_end=5471 + _globals['_MSGCHANNELUPGRADECONFIRMRESPONSE']._serialized_start=5473 + _globals['_MSGCHANNELUPGRADECONFIRMRESPONSE']._serialized_end=5578 + _globals['_MSGCHANNELUPGRADEOPEN']._serialized_start=5581 + _globals['_MSGCHANNELUPGRADEOPEN']._serialized_end=5965 + _globals['_MSGCHANNELUPGRADEOPENRESPONSE']._serialized_start=5967 + _globals['_MSGCHANNELUPGRADEOPENRESPONSE']._serialized_end=5998 + _globals['_MSGCHANNELUPGRADETIMEOUT']._serialized_start=6001 + _globals['_MSGCHANNELUPGRADETIMEOUT']._serialized_end=6317 + _globals['_MSGCHANNELUPGRADETIMEOUTRESPONSE']._serialized_start=6319 + _globals['_MSGCHANNELUPGRADETIMEOUTRESPONSE']._serialized_end=6353 + _globals['_MSGCHANNELUPGRADECANCEL']._serialized_start=6356 + _globals['_MSGCHANNELUPGRADECANCEL']._serialized_end=6673 + _globals['_MSGCHANNELUPGRADECANCELRESPONSE']._serialized_start=6675 + _globals['_MSGCHANNELUPGRADECANCELRESPONSE']._serialized_end=6708 + _globals['_MSGUPDATEPARAMS']._serialized_start=6710 + _globals['_MSGUPDATEPARAMS']._serialized_end=6836 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=6838 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=6863 + _globals['_MSGPRUNEACKNOWLEDGEMENTS']._serialized_start=6866 + _globals['_MSGPRUNEACKNOWLEDGEMENTS']._serialized_end=7011 + _globals['_MSGPRUNEACKNOWLEDGEMENTSRESPONSE']._serialized_start=7014 + _globals['_MSGPRUNEACKNOWLEDGEMENTSRESPONSE']._serialized_end=7162 + _globals['_MSG']._serialized_start=7384 + _globals['_MSG']._serialized_end=9540 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/tx_pb2_grpc.py index 0f70d23b..3dc03c7c 100644 --- a/pyinjective/proto/ibc/core/channel/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/channel/v1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the ibc/channel Msg service.""" + """Msg defines the ibc/channel Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,365 +16,365 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.ChannelOpenInit = channel.unary_unary( - "/ibc.core.channel.v1.Msg/ChannelOpenInit", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInit.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInitResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/ChannelOpenInit', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInit.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInitResponse.FromString, + _registered_method=True) self.ChannelOpenTry = channel.unary_unary( - "/ibc.core.channel.v1.Msg/ChannelOpenTry", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTry.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTryResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/ChannelOpenTry', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTry.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTryResponse.FromString, + _registered_method=True) self.ChannelOpenAck = channel.unary_unary( - "/ibc.core.channel.v1.Msg/ChannelOpenAck", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAck.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAckResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/ChannelOpenAck', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAck.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAckResponse.FromString, + _registered_method=True) self.ChannelOpenConfirm = channel.unary_unary( - "/ibc.core.channel.v1.Msg/ChannelOpenConfirm", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirm.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirmResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/ChannelOpenConfirm', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirm.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirmResponse.FromString, + _registered_method=True) self.ChannelCloseInit = channel.unary_unary( - "/ibc.core.channel.v1.Msg/ChannelCloseInit", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInit.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInitResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/ChannelCloseInit', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInit.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInitResponse.FromString, + _registered_method=True) self.ChannelCloseConfirm = channel.unary_unary( - "/ibc.core.channel.v1.Msg/ChannelCloseConfirm", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirm.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirmResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/ChannelCloseConfirm', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirm.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirmResponse.FromString, + _registered_method=True) self.RecvPacket = channel.unary_unary( - "/ibc.core.channel.v1.Msg/RecvPacket", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacket.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacketResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/RecvPacket', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacket.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacketResponse.FromString, + _registered_method=True) self.Timeout = channel.unary_unary( - "/ibc.core.channel.v1.Msg/Timeout", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeout.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/Timeout', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeout.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutResponse.FromString, + _registered_method=True) self.TimeoutOnClose = channel.unary_unary( - "/ibc.core.channel.v1.Msg/TimeoutOnClose", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnClose.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnCloseResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/TimeoutOnClose', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnClose.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnCloseResponse.FromString, + _registered_method=True) self.Acknowledgement = channel.unary_unary( - "/ibc.core.channel.v1.Msg/Acknowledgement", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgement.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgementResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/Acknowledgement', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgement.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgementResponse.FromString, + _registered_method=True) self.ChannelUpgradeInit = channel.unary_unary( - "/ibc.core.channel.v1.Msg/ChannelUpgradeInit", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInit.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInitResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/ChannelUpgradeInit', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInit.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInitResponse.FromString, + _registered_method=True) self.ChannelUpgradeTry = channel.unary_unary( - "/ibc.core.channel.v1.Msg/ChannelUpgradeTry", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTry.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTryResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/ChannelUpgradeTry', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTry.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTryResponse.FromString, + _registered_method=True) self.ChannelUpgradeAck = channel.unary_unary( - "/ibc.core.channel.v1.Msg/ChannelUpgradeAck", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAck.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAckResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/ChannelUpgradeAck', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAck.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAckResponse.FromString, + _registered_method=True) self.ChannelUpgradeConfirm = channel.unary_unary( - "/ibc.core.channel.v1.Msg/ChannelUpgradeConfirm", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirm.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirmResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/ChannelUpgradeConfirm', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirm.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirmResponse.FromString, + _registered_method=True) self.ChannelUpgradeOpen = channel.unary_unary( - "/ibc.core.channel.v1.Msg/ChannelUpgradeOpen", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpen.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpenResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/ChannelUpgradeOpen', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpen.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpenResponse.FromString, + _registered_method=True) self.ChannelUpgradeTimeout = channel.unary_unary( - "/ibc.core.channel.v1.Msg/ChannelUpgradeTimeout", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeout.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeoutResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/ChannelUpgradeTimeout', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeout.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeoutResponse.FromString, + _registered_method=True) self.ChannelUpgradeCancel = channel.unary_unary( - "/ibc.core.channel.v1.Msg/ChannelUpgradeCancel", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancel.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancelResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/ChannelUpgradeCancel', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancel.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancelResponse.FromString, + _registered_method=True) self.UpdateChannelParams = channel.unary_unary( - "/ibc.core.channel.v1.Msg/UpdateChannelParams", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/UpdateChannelParams', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) self.PruneAcknowledgements = channel.unary_unary( - "/ibc.core.channel.v1.Msg/PruneAcknowledgements", - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgements.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgementsResponse.FromString, - _registered_method=True, - ) + '/ibc.core.channel.v1.Msg/PruneAcknowledgements', + request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgements.SerializeToString, + response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgementsResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the ibc/channel Msg service.""" + """Msg defines the ibc/channel Msg service. + """ def ChannelOpenInit(self, request, context): - """ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit.""" + """ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ChannelOpenTry(self, request, context): - """ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry.""" + """ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ChannelOpenAck(self, request, context): - """ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck.""" + """ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ChannelOpenConfirm(self, request, context): - """ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm.""" + """ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ChannelCloseInit(self, request, context): - """ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.""" + """ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ChannelCloseConfirm(self, request, context): """ChannelCloseConfirm defines a rpc handler method for MsgChannelCloseConfirm. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RecvPacket(self, request, context): - """RecvPacket defines a rpc handler method for MsgRecvPacket.""" + """RecvPacket defines a rpc handler method for MsgRecvPacket. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Timeout(self, request, context): - """Timeout defines a rpc handler method for MsgTimeout.""" + """Timeout defines a rpc handler method for MsgTimeout. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TimeoutOnClose(self, request, context): - """TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.""" + """TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Acknowledgement(self, request, context): - """Acknowledgement defines a rpc handler method for MsgAcknowledgement.""" + """Acknowledgement defines a rpc handler method for MsgAcknowledgement. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ChannelUpgradeInit(self, request, context): - """ChannelUpgradeInit defines a rpc handler method for MsgChannelUpgradeInit.""" + """ChannelUpgradeInit defines a rpc handler method for MsgChannelUpgradeInit. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ChannelUpgradeTry(self, request, context): - """ChannelUpgradeTry defines a rpc handler method for MsgChannelUpgradeTry.""" + """ChannelUpgradeTry defines a rpc handler method for MsgChannelUpgradeTry. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ChannelUpgradeAck(self, request, context): - """ChannelUpgradeAck defines a rpc handler method for MsgChannelUpgradeAck.""" + """ChannelUpgradeAck defines a rpc handler method for MsgChannelUpgradeAck. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ChannelUpgradeConfirm(self, request, context): - """ChannelUpgradeConfirm defines a rpc handler method for MsgChannelUpgradeConfirm.""" + """ChannelUpgradeConfirm defines a rpc handler method for MsgChannelUpgradeConfirm. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ChannelUpgradeOpen(self, request, context): - """ChannelUpgradeOpen defines a rpc handler method for MsgChannelUpgradeOpen.""" + """ChannelUpgradeOpen defines a rpc handler method for MsgChannelUpgradeOpen. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ChannelUpgradeTimeout(self, request, context): - """ChannelUpgradeTimeout defines a rpc handler method for MsgChannelUpgradeTimeout.""" + """ChannelUpgradeTimeout defines a rpc handler method for MsgChannelUpgradeTimeout. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ChannelUpgradeCancel(self, request, context): - """ChannelUpgradeCancel defines a rpc handler method for MsgChannelUpgradeCancel.""" + """ChannelUpgradeCancel defines a rpc handler method for MsgChannelUpgradeCancel. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateChannelParams(self, request, context): - """UpdateChannelParams defines a rpc handler method for MsgUpdateParams.""" + """UpdateChannelParams defines a rpc handler method for MsgUpdateParams. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PruneAcknowledgements(self, request, context): - """PruneAcknowledgements defines a rpc handler method for MsgPruneAcknowledgements.""" + """PruneAcknowledgements defines a rpc handler method for MsgPruneAcknowledgements. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "ChannelOpenInit": grpc.unary_unary_rpc_method_handler( - servicer.ChannelOpenInit, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInit.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInitResponse.SerializeToString, - ), - "ChannelOpenTry": grpc.unary_unary_rpc_method_handler( - servicer.ChannelOpenTry, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTry.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTryResponse.SerializeToString, - ), - "ChannelOpenAck": grpc.unary_unary_rpc_method_handler( - servicer.ChannelOpenAck, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAck.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAckResponse.SerializeToString, - ), - "ChannelOpenConfirm": grpc.unary_unary_rpc_method_handler( - servicer.ChannelOpenConfirm, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirm.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirmResponse.SerializeToString, - ), - "ChannelCloseInit": grpc.unary_unary_rpc_method_handler( - servicer.ChannelCloseInit, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInit.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInitResponse.SerializeToString, - ), - "ChannelCloseConfirm": grpc.unary_unary_rpc_method_handler( - servicer.ChannelCloseConfirm, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirm.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirmResponse.SerializeToString, - ), - "RecvPacket": grpc.unary_unary_rpc_method_handler( - servicer.RecvPacket, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacket.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacketResponse.SerializeToString, - ), - "Timeout": grpc.unary_unary_rpc_method_handler( - servicer.Timeout, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeout.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutResponse.SerializeToString, - ), - "TimeoutOnClose": grpc.unary_unary_rpc_method_handler( - servicer.TimeoutOnClose, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnClose.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnCloseResponse.SerializeToString, - ), - "Acknowledgement": grpc.unary_unary_rpc_method_handler( - servicer.Acknowledgement, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgement.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgementResponse.SerializeToString, - ), - "ChannelUpgradeInit": grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeInit, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInit.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInitResponse.SerializeToString, - ), - "ChannelUpgradeTry": grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeTry, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTry.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTryResponse.SerializeToString, - ), - "ChannelUpgradeAck": grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeAck, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAck.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAckResponse.SerializeToString, - ), - "ChannelUpgradeConfirm": grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeConfirm, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirm.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirmResponse.SerializeToString, - ), - "ChannelUpgradeOpen": grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeOpen, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpen.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpenResponse.SerializeToString, - ), - "ChannelUpgradeTimeout": grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeTimeout, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeout.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeoutResponse.SerializeToString, - ), - "ChannelUpgradeCancel": grpc.unary_unary_rpc_method_handler( - servicer.ChannelUpgradeCancel, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancel.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancelResponse.SerializeToString, - ), - "UpdateChannelParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateChannelParams, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - "PruneAcknowledgements": grpc.unary_unary_rpc_method_handler( - servicer.PruneAcknowledgements, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgements.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgementsResponse.SerializeToString, - ), + 'ChannelOpenInit': grpc.unary_unary_rpc_method_handler( + servicer.ChannelOpenInit, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInit.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInitResponse.SerializeToString, + ), + 'ChannelOpenTry': grpc.unary_unary_rpc_method_handler( + servicer.ChannelOpenTry, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTry.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTryResponse.SerializeToString, + ), + 'ChannelOpenAck': grpc.unary_unary_rpc_method_handler( + servicer.ChannelOpenAck, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAck.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAckResponse.SerializeToString, + ), + 'ChannelOpenConfirm': grpc.unary_unary_rpc_method_handler( + servicer.ChannelOpenConfirm, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirm.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirmResponse.SerializeToString, + ), + 'ChannelCloseInit': grpc.unary_unary_rpc_method_handler( + servicer.ChannelCloseInit, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInit.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInitResponse.SerializeToString, + ), + 'ChannelCloseConfirm': grpc.unary_unary_rpc_method_handler( + servicer.ChannelCloseConfirm, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirm.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirmResponse.SerializeToString, + ), + 'RecvPacket': grpc.unary_unary_rpc_method_handler( + servicer.RecvPacket, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacket.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacketResponse.SerializeToString, + ), + 'Timeout': grpc.unary_unary_rpc_method_handler( + servicer.Timeout, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeout.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutResponse.SerializeToString, + ), + 'TimeoutOnClose': grpc.unary_unary_rpc_method_handler( + servicer.TimeoutOnClose, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnClose.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnCloseResponse.SerializeToString, + ), + 'Acknowledgement': grpc.unary_unary_rpc_method_handler( + servicer.Acknowledgement, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgement.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgementResponse.SerializeToString, + ), + 'ChannelUpgradeInit': grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeInit, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInit.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInitResponse.SerializeToString, + ), + 'ChannelUpgradeTry': grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeTry, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTry.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTryResponse.SerializeToString, + ), + 'ChannelUpgradeAck': grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeAck, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAck.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAckResponse.SerializeToString, + ), + 'ChannelUpgradeConfirm': grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeConfirm, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirm.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirmResponse.SerializeToString, + ), + 'ChannelUpgradeOpen': grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeOpen, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpen.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpenResponse.SerializeToString, + ), + 'ChannelUpgradeTimeout': grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeTimeout, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeout.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeoutResponse.SerializeToString, + ), + 'ChannelUpgradeCancel': grpc.unary_unary_rpc_method_handler( + servicer.ChannelUpgradeCancel, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancel.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancelResponse.SerializeToString, + ), + 'UpdateChannelParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateChannelParams, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'PruneAcknowledgements': grpc.unary_unary_rpc_method_handler( + servicer.PruneAcknowledgements, + request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgements.FromString, + response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgementsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("ibc.core.channel.v1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.core.channel.v1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("ibc.core.channel.v1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('ibc.core.channel.v1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the ibc/channel Msg service.""" + """Msg defines the ibc/channel Msg service. + """ @staticmethod - def ChannelOpenInit( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChannelOpenInit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/ChannelOpenInit", + '/ibc.core.channel.v1.Msg/ChannelOpenInit', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInit.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenInitResponse.FromString, options, @@ -384,26 +385,23 @@ def ChannelOpenInit( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ChannelOpenTry( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChannelOpenTry(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/ChannelOpenTry", + '/ibc.core.channel.v1.Msg/ChannelOpenTry', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTry.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenTryResponse.FromString, options, @@ -414,26 +412,23 @@ def ChannelOpenTry( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ChannelOpenAck( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChannelOpenAck(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/ChannelOpenAck", + '/ibc.core.channel.v1.Msg/ChannelOpenAck', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAck.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenAckResponse.FromString, options, @@ -444,26 +439,23 @@ def ChannelOpenAck( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ChannelOpenConfirm( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChannelOpenConfirm(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/ChannelOpenConfirm", + '/ibc.core.channel.v1.Msg/ChannelOpenConfirm', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirm.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelOpenConfirmResponse.FromString, options, @@ -474,26 +466,23 @@ def ChannelOpenConfirm( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ChannelCloseInit( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChannelCloseInit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/ChannelCloseInit", + '/ibc.core.channel.v1.Msg/ChannelCloseInit', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInit.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseInitResponse.FromString, options, @@ -504,26 +493,23 @@ def ChannelCloseInit( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ChannelCloseConfirm( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChannelCloseConfirm(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/ChannelCloseConfirm", + '/ibc.core.channel.v1.Msg/ChannelCloseConfirm', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirm.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelCloseConfirmResponse.FromString, options, @@ -534,26 +520,23 @@ def ChannelCloseConfirm( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RecvPacket( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RecvPacket(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/RecvPacket", + '/ibc.core.channel.v1.Msg/RecvPacket', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacket.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgRecvPacketResponse.FromString, options, @@ -564,26 +547,23 @@ def RecvPacket( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Timeout( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Timeout(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/Timeout", + '/ibc.core.channel.v1.Msg/Timeout', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeout.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutResponse.FromString, options, @@ -594,26 +574,23 @@ def Timeout( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def TimeoutOnClose( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def TimeoutOnClose(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/TimeoutOnClose", + '/ibc.core.channel.v1.Msg/TimeoutOnClose', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnClose.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgTimeoutOnCloseResponse.FromString, options, @@ -624,26 +601,23 @@ def TimeoutOnClose( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Acknowledgement( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Acknowledgement(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/Acknowledgement", + '/ibc.core.channel.v1.Msg/Acknowledgement', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgement.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgAcknowledgementResponse.FromString, options, @@ -654,26 +628,23 @@ def Acknowledgement( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ChannelUpgradeInit( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChannelUpgradeInit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/ChannelUpgradeInit", + '/ibc.core.channel.v1.Msg/ChannelUpgradeInit', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInit.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeInitResponse.FromString, options, @@ -684,26 +655,23 @@ def ChannelUpgradeInit( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ChannelUpgradeTry( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChannelUpgradeTry(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/ChannelUpgradeTry", + '/ibc.core.channel.v1.Msg/ChannelUpgradeTry', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTry.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTryResponse.FromString, options, @@ -714,26 +682,23 @@ def ChannelUpgradeTry( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ChannelUpgradeAck( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChannelUpgradeAck(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/ChannelUpgradeAck", + '/ibc.core.channel.v1.Msg/ChannelUpgradeAck', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAck.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeAckResponse.FromString, options, @@ -744,26 +709,23 @@ def ChannelUpgradeAck( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ChannelUpgradeConfirm( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChannelUpgradeConfirm(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/ChannelUpgradeConfirm", + '/ibc.core.channel.v1.Msg/ChannelUpgradeConfirm', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirm.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeConfirmResponse.FromString, options, @@ -774,26 +736,23 @@ def ChannelUpgradeConfirm( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ChannelUpgradeOpen( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChannelUpgradeOpen(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/ChannelUpgradeOpen", + '/ibc.core.channel.v1.Msg/ChannelUpgradeOpen', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpen.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeOpenResponse.FromString, options, @@ -804,26 +763,23 @@ def ChannelUpgradeOpen( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ChannelUpgradeTimeout( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChannelUpgradeTimeout(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/ChannelUpgradeTimeout", + '/ibc.core.channel.v1.Msg/ChannelUpgradeTimeout', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeout.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeTimeoutResponse.FromString, options, @@ -834,26 +790,23 @@ def ChannelUpgradeTimeout( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ChannelUpgradeCancel( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChannelUpgradeCancel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/ChannelUpgradeCancel", + '/ibc.core.channel.v1.Msg/ChannelUpgradeCancel', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancel.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgChannelUpgradeCancelResponse.FromString, options, @@ -864,26 +817,23 @@ def ChannelUpgradeCancel( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateChannelParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateChannelParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/UpdateChannelParams", + '/ibc.core.channel.v1.Msg/UpdateChannelParams', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -894,26 +844,23 @@ def UpdateChannelParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PruneAcknowledgements( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PruneAcknowledgements(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.channel.v1.Msg/PruneAcknowledgements", + '/ibc.core.channel.v1.Msg/PruneAcknowledgements', ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgements.SerializeToString, ibc_dot_core_dot_channel_dot_v1_dot_tx__pb2.MsgPruneAcknowledgementsResponse.FromString, options, @@ -924,5 +871,4 @@ def PruneAcknowledgements( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2.py b/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2.py index 869bf5e7..6fb380f8 100644 --- a/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,32 +16,28 @@ from pyinjective.proto.ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!ibc/core/channel/v1/upgrade.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto"\xbd\x01\n\x07Upgrade\x12@\n\x06\x66ields\x18\x01 \x01(\x0b\x32".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x06\x66ields\x12<\n\x07timeout\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.TimeoutB\x04\xc8\xde\x1f\x00R\x07timeout\x12,\n\x12next_sequence_send\x18\x03 \x01(\x04R\x10nextSequenceSend:\x04\x88\xa0\x1f\x00"\x90\x01\n\rUpgradeFields\x12\x36\n\x08ordering\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12\'\n\x0f\x63onnection_hops\x18\x02 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version:\x04\x88\xa0\x1f\x00"J\n\x0c\x45rrorReceipt\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message:\x04\x88\xa0\x1f\x00\x42\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0cUpgradeProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/upgrade.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\xbd\x01\n\x07Upgrade\x12@\n\x06\x66ields\x18\x01 \x01(\x0b\x32\".ibc.core.channel.v1.UpgradeFieldsB\x04\xc8\xde\x1f\x00R\x06\x66ields\x12<\n\x07timeout\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.TimeoutB\x04\xc8\xde\x1f\x00R\x07timeout\x12,\n\x12next_sequence_send\x18\x03 \x01(\x04R\x10nextSequenceSend:\x04\x88\xa0\x1f\x00\"\x90\x01\n\rUpgradeFields\x12\x36\n\x08ordering\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.OrderR\x08ordering\x12\'\n\x0f\x63onnection_hops\x18\x02 \x03(\tR\x0e\x63onnectionHops\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version:\x04\x88\xa0\x1f\x00\"J\n\x0c\x45rrorReceipt\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message:\x04\x88\xa0\x1f\x00\x42\xd1\x01\n\x17\x63om.ibc.core.channel.v1B\x0cUpgradeProtoP\x01Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\xa2\x02\x03ICC\xaa\x02\x13Ibc.Core.Channel.V1\xca\x02\x13Ibc\\Core\\Channel\\V1\xe2\x02\x1fIbc\\Core\\Channel\\V1\\GPBMetadata\xea\x02\x16Ibc::Core::Channel::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.channel.v1.upgrade_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.channel.v1.upgrade_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\027com.ibc.core.channel.v1B\014UpgradeProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1" - ) - _globals["_UPGRADE"].fields_by_name["fields"]._loaded_options = None - _globals["_UPGRADE"].fields_by_name["fields"]._serialized_options = b"\310\336\037\000" - _globals["_UPGRADE"].fields_by_name["timeout"]._loaded_options = None - _globals["_UPGRADE"].fields_by_name["timeout"]._serialized_options = b"\310\336\037\000" - _globals["_UPGRADE"]._loaded_options = None - _globals["_UPGRADE"]._serialized_options = b"\210\240\037\000" - _globals["_UPGRADEFIELDS"]._loaded_options = None - _globals["_UPGRADEFIELDS"]._serialized_options = b"\210\240\037\000" - _globals["_ERRORRECEIPT"]._loaded_options = None - _globals["_ERRORRECEIPT"]._serialized_options = b"\210\240\037\000" - _globals["_UPGRADE"]._serialized_start = 116 - _globals["_UPGRADE"]._serialized_end = 305 - _globals["_UPGRADEFIELDS"]._serialized_start = 308 - _globals["_UPGRADEFIELDS"]._serialized_end = 452 - _globals["_ERRORRECEIPT"]._serialized_start = 454 - _globals["_ERRORRECEIPT"]._serialized_end = 528 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.ibc.core.channel.v1B\014UpgradeProtoP\001Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types\242\002\003ICC\252\002\023Ibc.Core.Channel.V1\312\002\023Ibc\\Core\\Channel\\V1\342\002\037Ibc\\Core\\Channel\\V1\\GPBMetadata\352\002\026Ibc::Core::Channel::V1' + _globals['_UPGRADE'].fields_by_name['fields']._loaded_options = None + _globals['_UPGRADE'].fields_by_name['fields']._serialized_options = b'\310\336\037\000' + _globals['_UPGRADE'].fields_by_name['timeout']._loaded_options = None + _globals['_UPGRADE'].fields_by_name['timeout']._serialized_options = b'\310\336\037\000' + _globals['_UPGRADE']._loaded_options = None + _globals['_UPGRADE']._serialized_options = b'\210\240\037\000' + _globals['_UPGRADEFIELDS']._loaded_options = None + _globals['_UPGRADEFIELDS']._serialized_options = b'\210\240\037\000' + _globals['_ERRORRECEIPT']._loaded_options = None + _globals['_ERRORRECEIPT']._serialized_options = b'\210\240\037\000' + _globals['_UPGRADE']._serialized_start=116 + _globals['_UPGRADE']._serialized_end=305 + _globals['_UPGRADEFIELDS']._serialized_start=308 + _globals['_UPGRADEFIELDS']._serialized_end=452 + _globals['_ERRORRECEIPT']._serialized_start=454 + _globals['_ERRORRECEIPT']._serialized_end=528 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/channel/v1/upgrade_pb2_grpc.py @@ -1,3 +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/ibc/core/client/v1/client_pb2.py b/pyinjective/proto/ibc/core/client/v1/client_pb2.py index e1b6ec55..a56c2582 100644 --- a/pyinjective/proto/ibc/core/client/v1/client_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/client_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,58 +18,44 @@ 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$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto"m\n\x15IdentifiedClientState\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x37\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState"\x93\x01\n\x18\x43onsensusStateWithHeight\x12\x38\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\x12=\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState"\x93\x01\n\x15\x43lientConsensusStates\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12]\n\x10\x63onsensus_states\x18\x02 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00R\x0f\x63onsensusStates"d\n\x06Height\x12\'\n\x0frevision_number\x18\x01 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x02 \x01(\x04R\x0erevisionHeight:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00"1\n\x06Params\x12\'\n\x0f\x61llowed_clients\x18\x01 \x03(\tR\x0e\x61llowedClients"\x91\x02\n\x14\x43lientUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12H\n\x11subject_client_id\x18\x03 \x01(\tB\x1c\xf2\xde\x1f\x18yaml:"subject_client_id"R\x0fsubjectClientId\x12Q\n\x14substitute_client_id\x18\x04 \x01(\tB\x1f\xf2\xde\x1f\x1byaml:"substitute_client_id"R\x12substituteClientId:$\x18\x01\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content"\x9b\x02\n\x0fUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x36\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00R\x04plan\x12j\n\x15upgraded_client_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB \xf2\xde\x1f\x1cyaml:"upgraded_client_state"R\x13upgradedClientState:,\x18\x01\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB\xca\x01\n\x16\x63om.ibc.core.client.v1B\x0b\x43lientProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\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\"m\n\x15IdentifiedClientState\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x37\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\"\x93\x01\n\x18\x43onsensusStateWithHeight\x12\x38\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x06height\x12=\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\"\x93\x01\n\x15\x43lientConsensusStates\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12]\n\x10\x63onsensus_states\x18\x02 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00R\x0f\x63onsensusStates\"d\n\x06Height\x12\'\n\x0frevision_number\x18\x01 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x02 \x01(\x04R\x0erevisionHeight:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"1\n\x06Params\x12\'\n\x0f\x61llowed_clients\x18\x01 \x03(\tR\x0e\x61llowedClients\"\x91\x02\n\x14\x43lientUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12H\n\x11subject_client_id\x18\x03 \x01(\tB\x1c\xf2\xde\x1f\x18yaml:\"subject_client_id\"R\x0fsubjectClientId\x12Q\n\x14substitute_client_id\x18\x04 \x01(\tB\x1f\xf2\xde\x1f\x1byaml:\"substitute_client_id\"R\x12substituteClientId:$\x18\x01\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x9b\x02\n\x0fUpgradeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x36\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00R\x04plan\x12j\n\x15upgraded_client_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB \xf2\xde\x1f\x1cyaml:\"upgraded_client_state\"R\x13upgradedClientState:,\x18\x01\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB\xca\x01\n\x16\x63om.ibc.core.client.v1B\x0b\x43lientProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.client.v1.client_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.client_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.ibc.core.client.v1B\013ClientProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1" - ) - _globals["_CONSENSUSSTATEWITHHEIGHT"].fields_by_name["height"]._loaded_options = None - _globals["_CONSENSUSSTATEWITHHEIGHT"].fields_by_name["height"]._serialized_options = b"\310\336\037\000" - _globals["_CLIENTCONSENSUSSTATES"].fields_by_name["consensus_states"]._loaded_options = None - _globals["_CLIENTCONSENSUSSTATES"].fields_by_name["consensus_states"]._serialized_options = b"\310\336\037\000" - _globals["_HEIGHT"]._loaded_options = None - _globals["_HEIGHT"]._serialized_options = b"\210\240\037\000\230\240\037\000" - _globals["_CLIENTUPDATEPROPOSAL"].fields_by_name["subject_client_id"]._loaded_options = None - _globals["_CLIENTUPDATEPROPOSAL"].fields_by_name[ - "subject_client_id" - ]._serialized_options = b'\362\336\037\030yaml:"subject_client_id"' - _globals["_CLIENTUPDATEPROPOSAL"].fields_by_name["substitute_client_id"]._loaded_options = None - _globals["_CLIENTUPDATEPROPOSAL"].fields_by_name[ - "substitute_client_id" - ]._serialized_options = b'\362\336\037\033yaml:"substitute_client_id"' - _globals["_CLIENTUPDATEPROPOSAL"]._loaded_options = None - _globals["_CLIENTUPDATEPROPOSAL"]._serialized_options = ( - b"\030\001\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content" - ) - _globals["_UPGRADEPROPOSAL"].fields_by_name["plan"]._loaded_options = None - _globals["_UPGRADEPROPOSAL"].fields_by_name["plan"]._serialized_options = b"\310\336\037\000" - _globals["_UPGRADEPROPOSAL"].fields_by_name["upgraded_client_state"]._loaded_options = None - _globals["_UPGRADEPROPOSAL"].fields_by_name[ - "upgraded_client_state" - ]._serialized_options = b'\362\336\037\034yaml:"upgraded_client_state"' - _globals["_UPGRADEPROPOSAL"]._loaded_options = None - _globals["_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 = 278 - _globals["_CONSENSUSSTATEWITHHEIGHT"]._serialized_start = 281 - _globals["_CONSENSUSSTATEWITHHEIGHT"]._serialized_end = 428 - _globals["_CLIENTCONSENSUSSTATES"]._serialized_start = 431 - _globals["_CLIENTCONSENSUSSTATES"]._serialized_end = 578 - _globals["_HEIGHT"]._serialized_start = 580 - _globals["_HEIGHT"]._serialized_end = 680 - _globals["_PARAMS"]._serialized_start = 682 - _globals["_PARAMS"]._serialized_end = 731 - _globals["_CLIENTUPDATEPROPOSAL"]._serialized_start = 734 - _globals["_CLIENTUPDATEPROPOSAL"]._serialized_end = 1007 - _globals["_UPGRADEPROPOSAL"]._serialized_start = 1010 - _globals["_UPGRADEPROPOSAL"]._serialized_end = 1293 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ibc.core.client.v1B\013ClientProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1' + _globals['_CONSENSUSSTATEWITHHEIGHT'].fields_by_name['height']._loaded_options = None + _globals['_CONSENSUSSTATEWITHHEIGHT'].fields_by_name['height']._serialized_options = b'\310\336\037\000' + _globals['_CLIENTCONSENSUSSTATES'].fields_by_name['consensus_states']._loaded_options = None + _globals['_CLIENTCONSENSUSSTATES'].fields_by_name['consensus_states']._serialized_options = b'\310\336\037\000' + _globals['_HEIGHT']._loaded_options = None + _globals['_HEIGHT']._serialized_options = b'\210\240\037\000\230\240\037\000' + _globals['_CLIENTUPDATEPROPOSAL'].fields_by_name['subject_client_id']._loaded_options = None + _globals['_CLIENTUPDATEPROPOSAL'].fields_by_name['subject_client_id']._serialized_options = b'\362\336\037\030yaml:\"subject_client_id\"' + _globals['_CLIENTUPDATEPROPOSAL'].fields_by_name['substitute_client_id']._loaded_options = None + _globals['_CLIENTUPDATEPROPOSAL'].fields_by_name['substitute_client_id']._serialized_options = b'\362\336\037\033yaml:\"substitute_client_id\"' + _globals['_CLIENTUPDATEPROPOSAL']._loaded_options = None + _globals['_CLIENTUPDATEPROPOSAL']._serialized_options = b'\030\001\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_UPGRADEPROPOSAL'].fields_by_name['plan']._loaded_options = None + _globals['_UPGRADEPROPOSAL'].fields_by_name['plan']._serialized_options = b'\310\336\037\000' + _globals['_UPGRADEPROPOSAL'].fields_by_name['upgraded_client_state']._loaded_options = None + _globals['_UPGRADEPROPOSAL'].fields_by_name['upgraded_client_state']._serialized_options = b'\362\336\037\034yaml:\"upgraded_client_state\"' + _globals['_UPGRADEPROPOSAL']._loaded_options = None + _globals['_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=278 + _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_start=281 + _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_end=428 + _globals['_CLIENTCONSENSUSSTATES']._serialized_start=431 + _globals['_CLIENTCONSENSUSSTATES']._serialized_end=578 + _globals['_HEIGHT']._serialized_start=580 + _globals['_HEIGHT']._serialized_end=680 + _globals['_PARAMS']._serialized_start=682 + _globals['_PARAMS']._serialized_end=731 + _globals['_CLIENTUPDATEPROPOSAL']._serialized_start=734 + _globals['_CLIENTUPDATEPROPOSAL']._serialized_end=1007 + _globals['_UPGRADEPROPOSAL']._serialized_start=1010 + _globals['_UPGRADEPROPOSAL']._serialized_end=1293 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/client_pb2_grpc.py b/pyinjective/proto/ibc/core/client/v1/client_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/core/client/v1/client_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/client/v1/client_pb2_grpc.py @@ -1,3 +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/ibc/core/client/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py index 7238dce4..3137f37f 100644 --- a/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,40 +16,32 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n ibc/core/client/v1/genesis.proto\x12\x12ibc.core.client.v1\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto"\xe6\x03\n\x0cGenesisState\x12\x63\n\x07\x63lients\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStatesR\x07\x63lients\x12v\n\x11\x63lients_consensus\x18\x02 \x03(\x0b\x32).ibc.core.client.v1.ClientConsensusStatesB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16\x43lientsConsensusStatesR\x10\x63lientsConsensus\x12^\n\x10\x63lients_metadata\x18\x03 \x03(\x0b\x32-.ibc.core.client.v1.IdentifiedGenesisMetadataB\x04\xc8\xde\x1f\x00R\x0f\x63lientsMetadata\x12\x38\n\x06params\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12-\n\x10\x63reate_localhost\x18\x05 \x01(\x08\x42\x02\x18\x01R\x0f\x63reateLocalhost\x12\x30\n\x14next_client_sequence\x18\x06 \x01(\x04R\x12nextClientSequence"?\n\x0fGenesisMetadata\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value:\x04\x88\xa0\x1f\x00"\x8c\x01\n\x19IdentifiedGenesisMetadata\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12R\n\x0f\x63lient_metadata\x18\x02 \x03(\x0b\x32#.ibc.core.client.v1.GenesisMetadataB\x04\xc8\xde\x1f\x00R\x0e\x63lientMetadataB\xcb\x01\n\x16\x63om.ibc.core.client.v1B\x0cGenesisProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/core/client/v1/genesis.proto\x12\x12ibc.core.client.v1\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto\"\xe6\x03\n\x0cGenesisState\x12\x63\n\x07\x63lients\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStatesR\x07\x63lients\x12v\n\x11\x63lients_consensus\x18\x02 \x03(\x0b\x32).ibc.core.client.v1.ClientConsensusStatesB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16\x43lientsConsensusStatesR\x10\x63lientsConsensus\x12^\n\x10\x63lients_metadata\x18\x03 \x03(\x0b\x32-.ibc.core.client.v1.IdentifiedGenesisMetadataB\x04\xc8\xde\x1f\x00R\x0f\x63lientsMetadata\x12\x38\n\x06params\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12-\n\x10\x63reate_localhost\x18\x05 \x01(\x08\x42\x02\x18\x01R\x0f\x63reateLocalhost\x12\x30\n\x14next_client_sequence\x18\x06 \x01(\x04R\x12nextClientSequence\"?\n\x0fGenesisMetadata\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value:\x04\x88\xa0\x1f\x00\"\x8c\x01\n\x19IdentifiedGenesisMetadata\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12R\n\x0f\x63lient_metadata\x18\x02 \x03(\x0b\x32#.ibc.core.client.v1.GenesisMetadataB\x04\xc8\xde\x1f\x00R\x0e\x63lientMetadataB\xcb\x01\n\x16\x63om.ibc.core.client.v1B\x0cGenesisProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.client.v1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.ibc.core.client.v1B\014GenesisProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1" - ) - _globals["_GENESISSTATE"].fields_by_name["clients"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "clients" - ]._serialized_options = b"\310\336\037\000\252\337\037\026IdentifiedClientStates" - _globals["_GENESISSTATE"].fields_by_name["clients_consensus"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "clients_consensus" - ]._serialized_options = b"\310\336\037\000\252\337\037\026ClientsConsensusStates" - _globals["_GENESISSTATE"].fields_by_name["clients_metadata"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["clients_metadata"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["create_localhost"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["create_localhost"]._serialized_options = b"\030\001" - _globals["_GENESISMETADATA"]._loaded_options = None - _globals["_GENESISMETADATA"]._serialized_options = b"\210\240\037\000" - _globals["_IDENTIFIEDGENESISMETADATA"].fields_by_name["client_metadata"]._loaded_options = None - _globals["_IDENTIFIEDGENESISMETADATA"].fields_by_name["client_metadata"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"]._serialized_start = 112 - _globals["_GENESISSTATE"]._serialized_end = 598 - _globals["_GENESISMETADATA"]._serialized_start = 600 - _globals["_GENESISMETADATA"]._serialized_end = 663 - _globals["_IDENTIFIEDGENESISMETADATA"]._serialized_start = 666 - _globals["_IDENTIFIEDGENESISMETADATA"]._serialized_end = 806 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ibc.core.client.v1B\014GenesisProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1' + _globals['_GENESISSTATE'].fields_by_name['clients']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['clients']._serialized_options = b'\310\336\037\000\252\337\037\026IdentifiedClientStates' + _globals['_GENESISSTATE'].fields_by_name['clients_consensus']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['clients_consensus']._serialized_options = b'\310\336\037\000\252\337\037\026ClientsConsensusStates' + _globals['_GENESISSTATE'].fields_by_name['clients_metadata']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['clients_metadata']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['create_localhost']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['create_localhost']._serialized_options = b'\030\001' + _globals['_GENESISMETADATA']._loaded_options = None + _globals['_GENESISMETADATA']._serialized_options = b'\210\240\037\000' + _globals['_IDENTIFIEDGENESISMETADATA'].fields_by_name['client_metadata']._loaded_options = None + _globals['_IDENTIFIEDGENESISMETADATA'].fields_by_name['client_metadata']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=112 + _globals['_GENESISSTATE']._serialized_end=598 + _globals['_GENESISMETADATA']._serialized_start=600 + _globals['_GENESISMETADATA']._serialized_end=663 + _globals['_IDENTIFIEDGENESISMETADATA']._serialized_start=666 + _globals['_IDENTIFIEDGENESISMETADATA']._serialized_end=806 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/genesis_pb2_grpc.py b/pyinjective/proto/ibc/core/client/v1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/core/client/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/client/v1/genesis_pb2_grpc.py @@ -1,3 +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/ibc/core/client/v1/query_pb2.py b/pyinjective/proto/ibc/core/client/v1/query_pb2.py index 45ae5f36..66b76708 100644 --- a/pyinjective/proto/ibc/core/client/v1/query_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/query_pb2.py @@ -7,137 +7,102 @@ 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 pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 from pyinjective.proto.cosmos.query.v1 import query_pb2 as cosmos_dot_query_dot_v1_dot_query__pb2 from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -from pyinjective.proto.ibc.core.commitment.v1 import ( - commitment_pb2 as ibc_dot_core_dot_commitment_dot_v1_dot_commitment__pb2, -) +from pyinjective.proto.ibc.core.commitment.v1 import commitment_pb2 as ibc_dot_core_dot_commitment_dot_v1_dot_commitment__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1eibc/core/client/v1/query.proto\x12\x12ibc.core.client.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto"6\n\x17QueryClientStateRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId"\xae\x01\n\x18QueryClientStateResponse\x12\x37\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"b\n\x18QueryClientStatesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xd4\x01\n\x19QueryClientStatesResponse\x12n\n\rclient_states\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStatesR\x0c\x63lientStates\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\xb0\x01\n\x1aQueryConsensusStateRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\'\n\x0frevision_number\x18\x02 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x03 \x01(\x04R\x0erevisionHeight\x12#\n\rlatest_height\x18\x04 \x01(\x08R\x0clatestHeight"\xb7\x01\n\x1bQueryConsensusStateResponse\x12=\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight"\x82\x01\n\x1bQueryConsensusStatesRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xc6\x01\n\x1cQueryConsensusStatesResponse\x12]\n\x10\x63onsensus_states\x18\x01 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00R\x0f\x63onsensusStates\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"\x88\x01\n!QueryConsensusStateHeightsRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination"\xc7\x01\n"QueryConsensusStateHeightsResponse\x12X\n\x17\x63onsensus_state_heights\x18\x01 \x03(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x15\x63onsensusStateHeights\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination"7\n\x18QueryClientStatusRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId"3\n\x19QueryClientStatusResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status"\x1a\n\x18QueryClientParamsRequest"O\n\x19QueryClientParamsResponse\x12\x32\n\x06params\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsR\x06params"!\n\x1fQueryUpgradedClientStateRequest"l\n QueryUpgradedClientStateResponse\x12H\n\x15upgraded_client_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x13upgradedClientState"$\n"QueryUpgradedConsensusStateRequest"u\n#QueryUpgradedConsensusStateResponse\x12N\n\x18upgraded_consensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x16upgradedConsensusState"\xb7\x02\n\x1cQueryVerifyMembershipRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12I\n\x0bmerkle_path\x18\x04 \x01(\x0b\x32".ibc.core.commitment.v1.MerklePathB\x04\xc8\xde\x1f\x00R\nmerklePath\x12\x14\n\x05value\x18\x05 \x01(\x0cR\x05value\x12\x1d\n\ntime_delay\x18\x06 \x01(\x04R\ttimeDelay\x12\x1f\n\x0b\x62lock_delay\x18\x07 \x01(\x04R\nblockDelay"9\n\x1dQueryVerifyMembershipResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success2\x82\x0e\n\x05Query\x12\x9f\x01\n\x0b\x43lientState\x12+.ibc.core.client.v1.QueryClientStateRequest\x1a,.ibc.core.client.v1.QueryClientStateResponse"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_states/{client_id}\x12\x96\x01\n\x0c\x43lientStates\x12,.ibc.core.client.v1.QueryClientStatesRequest\x1a-.ibc.core.client.v1.QueryClientStatesResponse")\x82\xd3\xe4\x93\x02#\x12!/ibc/core/client/v1/client_states\x12\xdf\x01\n\x0e\x43onsensusState\x12..ibc.core.client.v1.QueryConsensusStateRequest\x1a/.ibc.core.client.v1.QueryConsensusStateResponse"l\x82\xd3\xe4\x93\x02\x66\x12\x64/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}\x12\xae\x01\n\x0f\x43onsensusStates\x12/.ibc.core.client.v1.QueryConsensusStatesRequest\x1a\x30.ibc.core.client.v1.QueryConsensusStatesResponse"8\x82\xd3\xe4\x93\x02\x32\x12\x30/ibc/core/client/v1/consensus_states/{client_id}\x12\xc8\x01\n\x15\x43onsensusStateHeights\x12\x35.ibc.core.client.v1.QueryConsensusStateHeightsRequest\x1a\x36.ibc.core.client.v1.QueryConsensusStateHeightsResponse"@\x82\xd3\xe4\x93\x02:\x12\x38/ibc/core/client/v1/consensus_states/{client_id}/heights\x12\xa2\x01\n\x0c\x43lientStatus\x12,.ibc.core.client.v1.QueryClientStatusRequest\x1a-.ibc.core.client.v1.QueryClientStatusResponse"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_status/{client_id}\x12\x8f\x01\n\x0c\x43lientParams\x12,.ibc.core.client.v1.QueryClientParamsRequest\x1a-.ibc.core.client.v1.QueryClientParamsResponse""\x82\xd3\xe4\x93\x02\x1c\x12\x1a/ibc/core/client/v1/params\x12\xb4\x01\n\x13UpgradedClientState\x12\x33.ibc.core.client.v1.QueryUpgradedClientStateRequest\x1a\x34.ibc.core.client.v1.QueryUpgradedClientStateResponse"2\x82\xd3\xe4\x93\x02,\x12*/ibc/core/client/v1/upgraded_client_states\x12\xc0\x01\n\x16UpgradedConsensusState\x12\x36.ibc.core.client.v1.QueryUpgradedConsensusStateRequest\x1a\x37.ibc.core.client.v1.QueryUpgradedConsensusStateResponse"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/upgraded_consensus_states\x12\xae\x01\n\x10VerifyMembership\x12\x30.ibc.core.client.v1.QueryVerifyMembershipRequest\x1a\x31.ibc.core.client.v1.QueryVerifyMembershipResponse"5\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02*"%/ibc/core/client/v1/verify_membership:\x01*B\xc9\x01\n\x16\x63om.ibc.core.client.v1B\nQueryProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eibc/core/client/v1/query.proto\x12\x12ibc.core.client.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1b\x63osmos/query/v1/query.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto\"6\n\x17QueryClientStateRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\"\xae\x01\n\x18QueryClientStateResponse\x12\x37\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"b\n\x18QueryClientStatesRequest\x12\x46\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xd4\x01\n\x19QueryClientStatesResponse\x12n\n\rclient_states\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStatesR\x0c\x63lientStates\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\xb0\x01\n\x1aQueryConsensusStateRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\'\n\x0frevision_number\x18\x02 \x01(\x04R\x0erevisionNumber\x12\'\n\x0frevision_height\x18\x03 \x01(\x04R\x0erevisionHeight\x12#\n\rlatest_height\x18\x04 \x01(\x08R\x0clatestHeight\"\xb7\x01\n\x1bQueryConsensusStateResponse\x12=\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\"\x82\x01\n\x1bQueryConsensusStatesRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xc6\x01\n\x1cQueryConsensusStatesResponse\x12]\n\x10\x63onsensus_states\x18\x01 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00R\x0f\x63onsensusStates\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"\x88\x01\n!QueryConsensusStateHeightsRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x46\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequestR\npagination\"\xc7\x01\n\"QueryConsensusStateHeightsResponse\x12X\n\x17\x63onsensus_state_heights\x18\x01 \x03(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x15\x63onsensusStateHeights\x12G\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponseR\npagination\"7\n\x18QueryClientStatusRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\"3\n\x19QueryClientStatusResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\"\x1a\n\x18QueryClientParamsRequest\"O\n\x19QueryClientParamsResponse\x12\x32\n\x06params\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsR\x06params\"!\n\x1fQueryUpgradedClientStateRequest\"l\n QueryUpgradedClientStateResponse\x12H\n\x15upgraded_client_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x13upgradedClientState\"$\n\"QueryUpgradedConsensusStateRequest\"u\n#QueryUpgradedConsensusStateResponse\x12N\n\x18upgraded_consensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x16upgradedConsensusState\"\xb7\x02\n\x1cQueryVerifyMembershipRequest\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x14\n\x05proof\x18\x02 \x01(\x0cR\x05proof\x12\x43\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0bproofHeight\x12I\n\x0bmerkle_path\x18\x04 \x01(\x0b\x32\".ibc.core.commitment.v1.MerklePathB\x04\xc8\xde\x1f\x00R\nmerklePath\x12\x14\n\x05value\x18\x05 \x01(\x0cR\x05value\x12\x1d\n\ntime_delay\x18\x06 \x01(\x04R\ttimeDelay\x12\x1f\n\x0b\x62lock_delay\x18\x07 \x01(\x04R\nblockDelay\"9\n\x1dQueryVerifyMembershipResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success2\x82\x0e\n\x05Query\x12\x9f\x01\n\x0b\x43lientState\x12+.ibc.core.client.v1.QueryClientStateRequest\x1a,.ibc.core.client.v1.QueryClientStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_states/{client_id}\x12\x96\x01\n\x0c\x43lientStates\x12,.ibc.core.client.v1.QueryClientStatesRequest\x1a-.ibc.core.client.v1.QueryClientStatesResponse\")\x82\xd3\xe4\x93\x02#\x12!/ibc/core/client/v1/client_states\x12\xdf\x01\n\x0e\x43onsensusState\x12..ibc.core.client.v1.QueryConsensusStateRequest\x1a/.ibc.core.client.v1.QueryConsensusStateResponse\"l\x82\xd3\xe4\x93\x02\x66\x12\x64/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}\x12\xae\x01\n\x0f\x43onsensusStates\x12/.ibc.core.client.v1.QueryConsensusStatesRequest\x1a\x30.ibc.core.client.v1.QueryConsensusStatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/ibc/core/client/v1/consensus_states/{client_id}\x12\xc8\x01\n\x15\x43onsensusStateHeights\x12\x35.ibc.core.client.v1.QueryConsensusStateHeightsRequest\x1a\x36.ibc.core.client.v1.QueryConsensusStateHeightsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/ibc/core/client/v1/consensus_states/{client_id}/heights\x12\xa2\x01\n\x0c\x43lientStatus\x12,.ibc.core.client.v1.QueryClientStatusRequest\x1a-.ibc.core.client.v1.QueryClientStatusResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_status/{client_id}\x12\x8f\x01\n\x0c\x43lientParams\x12,.ibc.core.client.v1.QueryClientParamsRequest\x1a-.ibc.core.client.v1.QueryClientParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/ibc/core/client/v1/params\x12\xb4\x01\n\x13UpgradedClientState\x12\x33.ibc.core.client.v1.QueryUpgradedClientStateRequest\x1a\x34.ibc.core.client.v1.QueryUpgradedClientStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/ibc/core/client/v1/upgraded_client_states\x12\xc0\x01\n\x16UpgradedConsensusState\x12\x36.ibc.core.client.v1.QueryUpgradedConsensusStateRequest\x1a\x37.ibc.core.client.v1.QueryUpgradedConsensusStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/upgraded_consensus_states\x12\xae\x01\n\x10VerifyMembership\x12\x30.ibc.core.client.v1.QueryVerifyMembershipRequest\x1a\x31.ibc.core.client.v1.QueryVerifyMembershipResponse\"5\x88\xe7\xb0*\x01\x82\xd3\xe4\x93\x02*\"%/ibc/core/client/v1/verify_membership:\x01*B\xc9\x01\n\x16\x63om.ibc.core.client.v1B\nQueryProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.client.v1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.ibc.core.client.v1B\nQueryProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1" - ) - _globals["_QUERYCLIENTSTATERESPONSE"].fields_by_name["proof_height"]._loaded_options = None - _globals["_QUERYCLIENTSTATERESPONSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYCLIENTSTATESRESPONSE"].fields_by_name["client_states"]._loaded_options = None - _globals["_QUERYCLIENTSTATESRESPONSE"].fields_by_name[ - "client_states" - ]._serialized_options = b"\310\336\037\000\252\337\037\026IdentifiedClientStates" - _globals["_QUERYCONSENSUSSTATERESPONSE"].fields_by_name["proof_height"]._loaded_options = None - _globals["_QUERYCONSENSUSSTATERESPONSE"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYCONSENSUSSTATESRESPONSE"].fields_by_name["consensus_states"]._loaded_options = None - _globals["_QUERYCONSENSUSSTATESRESPONSE"].fields_by_name[ - "consensus_states" - ]._serialized_options = b"\310\336\037\000" - _globals["_QUERYCONSENSUSSTATEHEIGHTSRESPONSE"].fields_by_name["consensus_state_heights"]._loaded_options = None - _globals["_QUERYCONSENSUSSTATEHEIGHTSRESPONSE"].fields_by_name[ - "consensus_state_heights" - ]._serialized_options = b"\310\336\037\000" - _globals["_QUERYVERIFYMEMBERSHIPREQUEST"].fields_by_name["proof_height"]._loaded_options = None - _globals["_QUERYVERIFYMEMBERSHIPREQUEST"].fields_by_name["proof_height"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYVERIFYMEMBERSHIPREQUEST"].fields_by_name["merkle_path"]._loaded_options = None - _globals["_QUERYVERIFYMEMBERSHIPREQUEST"].fields_by_name["merkle_path"]._serialized_options = b"\310\336\037\000" - _globals["_QUERY"].methods_by_name["ClientState"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ClientState" - ]._serialized_options = b"\202\323\344\223\002/\022-/ibc/core/client/v1/client_states/{client_id}" - _globals["_QUERY"].methods_by_name["ClientStates"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ClientStates" - ]._serialized_options = b"\202\323\344\223\002#\022!/ibc/core/client/v1/client_states" - _globals["_QUERY"].methods_by_name["ConsensusState"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ConsensusState" - ]._serialized_options = b"\202\323\344\223\002f\022d/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}" - _globals["_QUERY"].methods_by_name["ConsensusStates"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ConsensusStates" - ]._serialized_options = b"\202\323\344\223\0022\0220/ibc/core/client/v1/consensus_states/{client_id}" - _globals["_QUERY"].methods_by_name["ConsensusStateHeights"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ConsensusStateHeights" - ]._serialized_options = b"\202\323\344\223\002:\0228/ibc/core/client/v1/consensus_states/{client_id}/heights" - _globals["_QUERY"].methods_by_name["ClientStatus"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ClientStatus" - ]._serialized_options = b"\202\323\344\223\002/\022-/ibc/core/client/v1/client_status/{client_id}" - _globals["_QUERY"].methods_by_name["ClientParams"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ClientParams" - ]._serialized_options = b"\202\323\344\223\002\034\022\032/ibc/core/client/v1/params" - _globals["_QUERY"].methods_by_name["UpgradedClientState"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "UpgradedClientState" - ]._serialized_options = b"\202\323\344\223\002,\022*/ibc/core/client/v1/upgraded_client_states" - _globals["_QUERY"].methods_by_name["UpgradedConsensusState"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "UpgradedConsensusState" - ]._serialized_options = b"\202\323\344\223\002/\022-/ibc/core/client/v1/upgraded_consensus_states" - _globals["_QUERY"].methods_by_name["VerifyMembership"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "VerifyMembership" - ]._serialized_options = b'\210\347\260*\001\202\323\344\223\002*"%/ibc/core/client/v1/verify_membership:\001*' - _globals["_QUERYCLIENTSTATEREQUEST"]._serialized_start = 280 - _globals["_QUERYCLIENTSTATEREQUEST"]._serialized_end = 334 - _globals["_QUERYCLIENTSTATERESPONSE"]._serialized_start = 337 - _globals["_QUERYCLIENTSTATERESPONSE"]._serialized_end = 511 - _globals["_QUERYCLIENTSTATESREQUEST"]._serialized_start = 513 - _globals["_QUERYCLIENTSTATESREQUEST"]._serialized_end = 611 - _globals["_QUERYCLIENTSTATESRESPONSE"]._serialized_start = 614 - _globals["_QUERYCLIENTSTATESRESPONSE"]._serialized_end = 826 - _globals["_QUERYCONSENSUSSTATEREQUEST"]._serialized_start = 829 - _globals["_QUERYCONSENSUSSTATEREQUEST"]._serialized_end = 1005 - _globals["_QUERYCONSENSUSSTATERESPONSE"]._serialized_start = 1008 - _globals["_QUERYCONSENSUSSTATERESPONSE"]._serialized_end = 1191 - _globals["_QUERYCONSENSUSSTATESREQUEST"]._serialized_start = 1194 - _globals["_QUERYCONSENSUSSTATESREQUEST"]._serialized_end = 1324 - _globals["_QUERYCONSENSUSSTATESRESPONSE"]._serialized_start = 1327 - _globals["_QUERYCONSENSUSSTATESRESPONSE"]._serialized_end = 1525 - _globals["_QUERYCONSENSUSSTATEHEIGHTSREQUEST"]._serialized_start = 1528 - _globals["_QUERYCONSENSUSSTATEHEIGHTSREQUEST"]._serialized_end = 1664 - _globals["_QUERYCONSENSUSSTATEHEIGHTSRESPONSE"]._serialized_start = 1667 - _globals["_QUERYCONSENSUSSTATEHEIGHTSRESPONSE"]._serialized_end = 1866 - _globals["_QUERYCLIENTSTATUSREQUEST"]._serialized_start = 1868 - _globals["_QUERYCLIENTSTATUSREQUEST"]._serialized_end = 1923 - _globals["_QUERYCLIENTSTATUSRESPONSE"]._serialized_start = 1925 - _globals["_QUERYCLIENTSTATUSRESPONSE"]._serialized_end = 1976 - _globals["_QUERYCLIENTPARAMSREQUEST"]._serialized_start = 1978 - _globals["_QUERYCLIENTPARAMSREQUEST"]._serialized_end = 2004 - _globals["_QUERYCLIENTPARAMSRESPONSE"]._serialized_start = 2006 - _globals["_QUERYCLIENTPARAMSRESPONSE"]._serialized_end = 2085 - _globals["_QUERYUPGRADEDCLIENTSTATEREQUEST"]._serialized_start = 2087 - _globals["_QUERYUPGRADEDCLIENTSTATEREQUEST"]._serialized_end = 2120 - _globals["_QUERYUPGRADEDCLIENTSTATERESPONSE"]._serialized_start = 2122 - _globals["_QUERYUPGRADEDCLIENTSTATERESPONSE"]._serialized_end = 2230 - _globals["_QUERYUPGRADEDCONSENSUSSTATEREQUEST"]._serialized_start = 2232 - _globals["_QUERYUPGRADEDCONSENSUSSTATEREQUEST"]._serialized_end = 2268 - _globals["_QUERYUPGRADEDCONSENSUSSTATERESPONSE"]._serialized_start = 2270 - _globals["_QUERYUPGRADEDCONSENSUSSTATERESPONSE"]._serialized_end = 2387 - _globals["_QUERYVERIFYMEMBERSHIPREQUEST"]._serialized_start = 2390 - _globals["_QUERYVERIFYMEMBERSHIPREQUEST"]._serialized_end = 2701 - _globals["_QUERYVERIFYMEMBERSHIPRESPONSE"]._serialized_start = 2703 - _globals["_QUERYVERIFYMEMBERSHIPRESPONSE"]._serialized_end = 2760 - _globals["_QUERY"]._serialized_start = 2763 - _globals["_QUERY"]._serialized_end = 4557 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ibc.core.client.v1B\nQueryProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1' + _globals['_QUERYCLIENTSTATERESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYCLIENTSTATERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYCLIENTSTATESRESPONSE'].fields_by_name['client_states']._loaded_options = None + _globals['_QUERYCLIENTSTATESRESPONSE'].fields_by_name['client_states']._serialized_options = b'\310\336\037\000\252\337\037\026IdentifiedClientStates' + _globals['_QUERYCONSENSUSSTATERESPONSE'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYCONSENSUSSTATERESPONSE'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYCONSENSUSSTATESRESPONSE'].fields_by_name['consensus_states']._loaded_options = None + _globals['_QUERYCONSENSUSSTATESRESPONSE'].fields_by_name['consensus_states']._serialized_options = b'\310\336\037\000' + _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE'].fields_by_name['consensus_state_heights']._loaded_options = None + _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE'].fields_by_name['consensus_state_heights']._serialized_options = b'\310\336\037\000' + _globals['_QUERYVERIFYMEMBERSHIPREQUEST'].fields_by_name['proof_height']._loaded_options = None + _globals['_QUERYVERIFYMEMBERSHIPREQUEST'].fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _globals['_QUERYVERIFYMEMBERSHIPREQUEST'].fields_by_name['merkle_path']._loaded_options = None + _globals['_QUERYVERIFYMEMBERSHIPREQUEST'].fields_by_name['merkle_path']._serialized_options = b'\310\336\037\000' + _globals['_QUERY'].methods_by_name['ClientState']._loaded_options = None + _globals['_QUERY'].methods_by_name['ClientState']._serialized_options = b'\202\323\344\223\002/\022-/ibc/core/client/v1/client_states/{client_id}' + _globals['_QUERY'].methods_by_name['ClientStates']._loaded_options = None + _globals['_QUERY'].methods_by_name['ClientStates']._serialized_options = b'\202\323\344\223\002#\022!/ibc/core/client/v1/client_states' + _globals['_QUERY'].methods_by_name['ConsensusState']._loaded_options = None + _globals['_QUERY'].methods_by_name['ConsensusState']._serialized_options = b'\202\323\344\223\002f\022d/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}' + _globals['_QUERY'].methods_by_name['ConsensusStates']._loaded_options = None + _globals['_QUERY'].methods_by_name['ConsensusStates']._serialized_options = b'\202\323\344\223\0022\0220/ibc/core/client/v1/consensus_states/{client_id}' + _globals['_QUERY'].methods_by_name['ConsensusStateHeights']._loaded_options = None + _globals['_QUERY'].methods_by_name['ConsensusStateHeights']._serialized_options = b'\202\323\344\223\002:\0228/ibc/core/client/v1/consensus_states/{client_id}/heights' + _globals['_QUERY'].methods_by_name['ClientStatus']._loaded_options = None + _globals['_QUERY'].methods_by_name['ClientStatus']._serialized_options = b'\202\323\344\223\002/\022-/ibc/core/client/v1/client_status/{client_id}' + _globals['_QUERY'].methods_by_name['ClientParams']._loaded_options = None + _globals['_QUERY'].methods_by_name['ClientParams']._serialized_options = b'\202\323\344\223\002\034\022\032/ibc/core/client/v1/params' + _globals['_QUERY'].methods_by_name['UpgradedClientState']._loaded_options = None + _globals['_QUERY'].methods_by_name['UpgradedClientState']._serialized_options = b'\202\323\344\223\002,\022*/ibc/core/client/v1/upgraded_client_states' + _globals['_QUERY'].methods_by_name['UpgradedConsensusState']._loaded_options = None + _globals['_QUERY'].methods_by_name['UpgradedConsensusState']._serialized_options = b'\202\323\344\223\002/\022-/ibc/core/client/v1/upgraded_consensus_states' + _globals['_QUERY'].methods_by_name['VerifyMembership']._loaded_options = None + _globals['_QUERY'].methods_by_name['VerifyMembership']._serialized_options = b'\210\347\260*\001\202\323\344\223\002*\"%/ibc/core/client/v1/verify_membership:\001*' + _globals['_QUERYCLIENTSTATEREQUEST']._serialized_start=280 + _globals['_QUERYCLIENTSTATEREQUEST']._serialized_end=334 + _globals['_QUERYCLIENTSTATERESPONSE']._serialized_start=337 + _globals['_QUERYCLIENTSTATERESPONSE']._serialized_end=511 + _globals['_QUERYCLIENTSTATESREQUEST']._serialized_start=513 + _globals['_QUERYCLIENTSTATESREQUEST']._serialized_end=611 + _globals['_QUERYCLIENTSTATESRESPONSE']._serialized_start=614 + _globals['_QUERYCLIENTSTATESRESPONSE']._serialized_end=826 + _globals['_QUERYCONSENSUSSTATEREQUEST']._serialized_start=829 + _globals['_QUERYCONSENSUSSTATEREQUEST']._serialized_end=1005 + _globals['_QUERYCONSENSUSSTATERESPONSE']._serialized_start=1008 + _globals['_QUERYCONSENSUSSTATERESPONSE']._serialized_end=1191 + _globals['_QUERYCONSENSUSSTATESREQUEST']._serialized_start=1194 + _globals['_QUERYCONSENSUSSTATESREQUEST']._serialized_end=1324 + _globals['_QUERYCONSENSUSSTATESRESPONSE']._serialized_start=1327 + _globals['_QUERYCONSENSUSSTATESRESPONSE']._serialized_end=1525 + _globals['_QUERYCONSENSUSSTATEHEIGHTSREQUEST']._serialized_start=1528 + _globals['_QUERYCONSENSUSSTATEHEIGHTSREQUEST']._serialized_end=1664 + _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE']._serialized_start=1667 + _globals['_QUERYCONSENSUSSTATEHEIGHTSRESPONSE']._serialized_end=1866 + _globals['_QUERYCLIENTSTATUSREQUEST']._serialized_start=1868 + _globals['_QUERYCLIENTSTATUSREQUEST']._serialized_end=1923 + _globals['_QUERYCLIENTSTATUSRESPONSE']._serialized_start=1925 + _globals['_QUERYCLIENTSTATUSRESPONSE']._serialized_end=1976 + _globals['_QUERYCLIENTPARAMSREQUEST']._serialized_start=1978 + _globals['_QUERYCLIENTPARAMSREQUEST']._serialized_end=2004 + _globals['_QUERYCLIENTPARAMSRESPONSE']._serialized_start=2006 + _globals['_QUERYCLIENTPARAMSRESPONSE']._serialized_end=2085 + _globals['_QUERYUPGRADEDCLIENTSTATEREQUEST']._serialized_start=2087 + _globals['_QUERYUPGRADEDCLIENTSTATEREQUEST']._serialized_end=2120 + _globals['_QUERYUPGRADEDCLIENTSTATERESPONSE']._serialized_start=2122 + _globals['_QUERYUPGRADEDCLIENTSTATERESPONSE']._serialized_end=2230 + _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_start=2232 + _globals['_QUERYUPGRADEDCONSENSUSSTATEREQUEST']._serialized_end=2268 + _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_start=2270 + _globals['_QUERYUPGRADEDCONSENSUSSTATERESPONSE']._serialized_end=2387 + _globals['_QUERYVERIFYMEMBERSHIPREQUEST']._serialized_start=2390 + _globals['_QUERYVERIFYMEMBERSHIPREQUEST']._serialized_end=2701 + _globals['_QUERYVERIFYMEMBERSHIPRESPONSE']._serialized_start=2703 + _globals['_QUERYVERIFYMEMBERSHIPRESPONSE']._serialized_end=2760 + _globals['_QUERY']._serialized_start=2763 + _globals['_QUERY']._serialized_end=4557 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/core/client/v1/query_pb2_grpc.py index f4455300..91c747aa 100644 --- a/pyinjective/proto/ibc/core/client/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/client/v1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query provides defines the gRPC querier service""" + """Query provides defines the gRPC querier service + """ def __init__(self, channel): """Constructor. @@ -15,214 +16,213 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.ClientState = channel.unary_unary( - "/ibc.core.client.v1.Query/ClientState", - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateResponse.FromString, - _registered_method=True, - ) + '/ibc.core.client.v1.Query/ClientState', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateResponse.FromString, + _registered_method=True) self.ClientStates = channel.unary_unary( - "/ibc.core.client.v1.Query/ClientStates", - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesResponse.FromString, - _registered_method=True, - ) + '/ibc.core.client.v1.Query/ClientStates', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesResponse.FromString, + _registered_method=True) self.ConsensusState = channel.unary_unary( - "/ibc.core.client.v1.Query/ConsensusState", - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateResponse.FromString, - _registered_method=True, - ) + '/ibc.core.client.v1.Query/ConsensusState', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateResponse.FromString, + _registered_method=True) self.ConsensusStates = channel.unary_unary( - "/ibc.core.client.v1.Query/ConsensusStates", - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesResponse.FromString, - _registered_method=True, - ) + '/ibc.core.client.v1.Query/ConsensusStates', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesResponse.FromString, + _registered_method=True) self.ConsensusStateHeights = channel.unary_unary( - "/ibc.core.client.v1.Query/ConsensusStateHeights", - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsResponse.FromString, - _registered_method=True, - ) + '/ibc.core.client.v1.Query/ConsensusStateHeights', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsResponse.FromString, + _registered_method=True) self.ClientStatus = channel.unary_unary( - "/ibc.core.client.v1.Query/ClientStatus", - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusResponse.FromString, - _registered_method=True, - ) + '/ibc.core.client.v1.Query/ClientStatus', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusResponse.FromString, + _registered_method=True) self.ClientParams = channel.unary_unary( - "/ibc.core.client.v1.Query/ClientParams", - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsResponse.FromString, - _registered_method=True, - ) + '/ibc.core.client.v1.Query/ClientParams', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsResponse.FromString, + _registered_method=True) self.UpgradedClientState = channel.unary_unary( - "/ibc.core.client.v1.Query/UpgradedClientState", - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateResponse.FromString, - _registered_method=True, - ) + '/ibc.core.client.v1.Query/UpgradedClientState', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateResponse.FromString, + _registered_method=True) self.UpgradedConsensusState = channel.unary_unary( - "/ibc.core.client.v1.Query/UpgradedConsensusState", - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, - _registered_method=True, - ) + '/ibc.core.client.v1.Query/UpgradedConsensusState', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, + _registered_method=True) self.VerifyMembership = channel.unary_unary( - "/ibc.core.client.v1.Query/VerifyMembership", - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipResponse.FromString, - _registered_method=True, - ) + '/ibc.core.client.v1.Query/VerifyMembership', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipRequest.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query provides defines the gRPC querier service""" + """Query provides defines the gRPC querier service + """ def ClientState(self, request, context): - """ClientState queries an IBC light client.""" + """ClientState queries an IBC light client. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ClientStates(self, request, context): - """ClientStates queries all the IBC light clients of a chain.""" + """ClientStates queries all the IBC light clients of a chain. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ConsensusState(self, request, context): """ConsensusState queries a consensus state associated with a client state at a given height. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ConsensusStates(self, request, context): """ConsensusStates queries all the consensus state associated with a given client. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ConsensusStateHeights(self, request, context): - """ConsensusStateHeights queries the height of every consensus states associated with a given client.""" + """ConsensusStateHeights queries the height of every consensus states associated with a given client. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ClientStatus(self, request, context): - """Status queries the status of an IBC client.""" + """Status queries the status of an IBC client. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ClientParams(self, request, context): - """ClientParams queries all parameters of the ibc client submodule.""" + """ClientParams queries all parameters of the ibc client submodule. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpgradedClientState(self, request, context): - """UpgradedClientState queries an Upgraded IBC light client.""" + """UpgradedClientState queries an Upgraded IBC light client. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpgradedConsensusState(self, request, context): - """UpgradedConsensusState queries an Upgraded IBC consensus state.""" + """UpgradedConsensusState queries an Upgraded IBC consensus state. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def VerifyMembership(self, request, context): - """VerifyMembership queries an IBC light client for proof verification of a value at a given key path.""" + """VerifyMembership queries an IBC light client for proof verification of a value at a given key path. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "ClientState": grpc.unary_unary_rpc_method_handler( - servicer.ClientState, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateResponse.SerializeToString, - ), - "ClientStates": grpc.unary_unary_rpc_method_handler( - servicer.ClientStates, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesResponse.SerializeToString, - ), - "ConsensusState": grpc.unary_unary_rpc_method_handler( - servicer.ConsensusState, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateResponse.SerializeToString, - ), - "ConsensusStates": grpc.unary_unary_rpc_method_handler( - servicer.ConsensusStates, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesResponse.SerializeToString, - ), - "ConsensusStateHeights": grpc.unary_unary_rpc_method_handler( - servicer.ConsensusStateHeights, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsResponse.SerializeToString, - ), - "ClientStatus": grpc.unary_unary_rpc_method_handler( - servicer.ClientStatus, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusResponse.SerializeToString, - ), - "ClientParams": grpc.unary_unary_rpc_method_handler( - servicer.ClientParams, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsResponse.SerializeToString, - ), - "UpgradedClientState": grpc.unary_unary_rpc_method_handler( - servicer.UpgradedClientState, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateResponse.SerializeToString, - ), - "UpgradedConsensusState": grpc.unary_unary_rpc_method_handler( - servicer.UpgradedConsensusState, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateResponse.SerializeToString, - ), - "VerifyMembership": grpc.unary_unary_rpc_method_handler( - servicer.VerifyMembership, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipRequest.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipResponse.SerializeToString, - ), + 'ClientState': grpc.unary_unary_rpc_method_handler( + servicer.ClientState, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateResponse.SerializeToString, + ), + 'ClientStates': grpc.unary_unary_rpc_method_handler( + servicer.ClientStates, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesResponse.SerializeToString, + ), + 'ConsensusState': grpc.unary_unary_rpc_method_handler( + servicer.ConsensusState, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateResponse.SerializeToString, + ), + 'ConsensusStates': grpc.unary_unary_rpc_method_handler( + servicer.ConsensusStates, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesResponse.SerializeToString, + ), + 'ConsensusStateHeights': grpc.unary_unary_rpc_method_handler( + servicer.ConsensusStateHeights, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsResponse.SerializeToString, + ), + 'ClientStatus': grpc.unary_unary_rpc_method_handler( + servicer.ClientStatus, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusResponse.SerializeToString, + ), + 'ClientParams': grpc.unary_unary_rpc_method_handler( + servicer.ClientParams, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsResponse.SerializeToString, + ), + 'UpgradedClientState': grpc.unary_unary_rpc_method_handler( + servicer.UpgradedClientState, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateResponse.SerializeToString, + ), + 'UpgradedConsensusState': grpc.unary_unary_rpc_method_handler( + servicer.UpgradedConsensusState, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateResponse.SerializeToString, + ), + 'VerifyMembership': grpc.unary_unary_rpc_method_handler( + servicer.VerifyMembership, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipRequest.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("ibc.core.client.v1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.core.client.v1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("ibc.core.client.v1.Query", rpc_method_handlers) + server.add_registered_method_handlers('ibc.core.client.v1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query provides defines the gRPC querier service""" + """Query provides defines the gRPC querier service + """ @staticmethod - def ClientState( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ClientState(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.Query/ClientState", + '/ibc.core.client.v1.Query/ClientState', ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStateResponse.FromString, options, @@ -233,26 +233,23 @@ def ClientState( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ClientStates( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ClientStates(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.Query/ClientStates", + '/ibc.core.client.v1.Query/ClientStates', ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatesResponse.FromString, options, @@ -263,26 +260,23 @@ def ClientStates( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ConsensusState( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ConsensusState(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.Query/ConsensusState", + '/ibc.core.client.v1.Query/ConsensusState', ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateResponse.FromString, options, @@ -293,26 +287,23 @@ def ConsensusState( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ConsensusStates( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ConsensusStates(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.Query/ConsensusStates", + '/ibc.core.client.v1.Query/ConsensusStates', ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStatesResponse.FromString, options, @@ -323,26 +314,23 @@ def ConsensusStates( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ConsensusStateHeights( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ConsensusStateHeights(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.Query/ConsensusStateHeights", + '/ibc.core.client.v1.Query/ConsensusStateHeights', ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryConsensusStateHeightsResponse.FromString, options, @@ -353,26 +341,23 @@ def ConsensusStateHeights( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ClientStatus( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ClientStatus(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.Query/ClientStatus", + '/ibc.core.client.v1.Query/ClientStatus', ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientStatusResponse.FromString, options, @@ -383,26 +368,23 @@ def ClientStatus( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ClientParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ClientParams(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.Query/ClientParams", + '/ibc.core.client.v1.Query/ClientParams', ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryClientParamsResponse.FromString, options, @@ -413,26 +395,23 @@ def ClientParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpgradedClientState( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpgradedClientState(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.Query/UpgradedClientState", + '/ibc.core.client.v1.Query/UpgradedClientState', ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedClientStateResponse.FromString, options, @@ -443,26 +422,23 @@ def UpgradedClientState( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpgradedConsensusState( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpgradedConsensusState(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.Query/UpgradedConsensusState", + '/ibc.core.client.v1.Query/UpgradedConsensusState', ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryUpgradedConsensusStateResponse.FromString, options, @@ -473,26 +449,23 @@ def UpgradedConsensusState( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def VerifyMembership( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def VerifyMembership(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.Query/VerifyMembership", + '/ibc.core.client.v1.Query/VerifyMembership', ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipRequest.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_query__pb2.QueryVerifyMembershipResponse.FromString, options, @@ -503,5 +476,4 @@ def VerifyMembership( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py index 11b2ea5b..cfd73150 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,66 +19,62 @@ from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1bibc/core/client/v1/tx.proto\x12\x12ibc.core.client.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1fibc/core/client/v1/client.proto"\xb2\x01\n\x0fMsgCreateClient\x12\x37\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12=\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x19\n\x17MsgCreateClientResponse"\x94\x01\n\x0fMsgUpdateClient\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12;\n\x0e\x63lient_message\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\rclientMessage\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x19\n\x17MsgUpdateClientResponse"\xc5\x02\n\x10MsgUpgradeClient\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x37\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12=\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x30\n\x14proof_upgrade_client\x18\x04 \x01(\x0cR\x12proofUpgradeClient\x12\x41\n\x1dproof_upgrade_consensus_state\x18\x05 \x01(\x0cR\x1aproofUpgradeConsensusState\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x1a\n\x18MsgUpgradeClientResponse"\x99\x01\n\x15MsgSubmitMisbehaviour\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x38\n\x0cmisbehaviour\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cmisbehaviour\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x11\x18\x01\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x1f\n\x1dMsgSubmitMisbehaviourResponse"\x99\x01\n\x10MsgRecoverClient\x12*\n\x11subject_client_id\x18\x01 \x01(\tR\x0fsubjectClientId\x12\x30\n\x14substitute_client_id\x18\x02 \x01(\tR\x12substituteClientId\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer"\x1a\n\x18MsgRecoverClientResponse"\xbe\x01\n\x15MsgIBCSoftwareUpgrade\x12\x36\n\x04plan\x18\x01 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00R\x04plan\x12H\n\x15upgraded_client_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x13upgradedClientState\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0b\x82\xe7\xb0*\x06signer"\x1f\n\x1dMsgIBCSoftwareUpgradeResponse"t\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\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\xc6\x01\n\x16\x63om.ibc.core.client.v1B\x07TxProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\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\"\xb2\x01\n\x0fMsgCreateClient\x12\x37\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12=\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgCreateClientResponse\"\x94\x01\n\x0fMsgUpdateClient\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12;\n\x0e\x63lient_message\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\rclientMessage\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateClientResponse\"\xc5\x02\n\x10MsgUpgradeClient\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x37\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState\x12=\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState\x12\x30\n\x14proof_upgrade_client\x18\x04 \x01(\x0cR\x12proofUpgradeClient\x12\x41\n\x1dproof_upgrade_consensus_state\x18\x05 \x01(\x0cR\x1aproofUpgradeConsensusState\x12\x16\n\x06signer\x18\x06 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1a\n\x18MsgUpgradeClientResponse\"\x99\x01\n\x15MsgSubmitMisbehaviour\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x38\n\x0cmisbehaviour\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cmisbehaviour\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x11\x18\x01\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgSubmitMisbehaviourResponse\"\x99\x01\n\x10MsgRecoverClient\x12*\n\x11subject_client_id\x18\x01 \x01(\tR\x0fsubjectClientId\x12\x30\n\x14substitute_client_id\x18\x02 \x01(\tR\x12substituteClientId\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1a\n\x18MsgRecoverClientResponse\"\xbe\x01\n\x15MsgIBCSoftwareUpgrade\x12\x36\n\x04plan\x18\x01 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00R\x04plan\x12H\n\x15upgraded_client_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x13upgradedClientState\x12\x16\n\x06signer\x18\x03 \x01(\tR\x06signer:\x0b\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgIBCSoftwareUpgradeResponse\"t\n\x0fMsgUpdateParams\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:\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\xc6\x01\n\x16\x63om.ibc.core.client.v1B\x07TxProtoP\x01Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\xa2\x02\x03ICC\xaa\x02\x12Ibc.Core.Client.V1\xca\x02\x12Ibc\\Core\\Client\\V1\xe2\x02\x1eIbc\\Core\\Client\\V1\\GPBMetadata\xea\x02\x15Ibc::Core::Client::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.core.client.v1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.core.client.v1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.ibc.core.client.v1B\007TxProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1" - ) - _globals["_MSGCREATECLIENT"]._loaded_options = None - _globals["_MSGCREATECLIENT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGUPDATECLIENT"]._loaded_options = None - _globals["_MSGUPDATECLIENT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGUPGRADECLIENT"]._loaded_options = None - _globals["_MSGUPGRADECLIENT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGSUBMITMISBEHAVIOUR"]._loaded_options = None - _globals["_MSGSUBMITMISBEHAVIOUR"]._serialized_options = b"\030\001\210\240\037\000\202\347\260*\006signer" - _globals["_MSGRECOVERCLIENT"]._loaded_options = None - _globals["_MSGRECOVERCLIENT"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSGIBCSOFTWAREUPGRADE"].fields_by_name["plan"]._loaded_options = None - _globals["_MSGIBCSOFTWAREUPGRADE"].fields_by_name["plan"]._serialized_options = b"\310\336\037\000" - _globals["_MSGIBCSOFTWAREUPGRADE"]._loaded_options = None - _globals["_MSGIBCSOFTWAREUPGRADE"]._serialized_options = b"\202\347\260*\006signer" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = b"\210\240\037\000\202\347\260*\006signer" - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGCREATECLIENT"]._serialized_start = 197 - _globals["_MSGCREATECLIENT"]._serialized_end = 375 - _globals["_MSGCREATECLIENTRESPONSE"]._serialized_start = 377 - _globals["_MSGCREATECLIENTRESPONSE"]._serialized_end = 402 - _globals["_MSGUPDATECLIENT"]._serialized_start = 405 - _globals["_MSGUPDATECLIENT"]._serialized_end = 553 - _globals["_MSGUPDATECLIENTRESPONSE"]._serialized_start = 555 - _globals["_MSGUPDATECLIENTRESPONSE"]._serialized_end = 580 - _globals["_MSGUPGRADECLIENT"]._serialized_start = 583 - _globals["_MSGUPGRADECLIENT"]._serialized_end = 908 - _globals["_MSGUPGRADECLIENTRESPONSE"]._serialized_start = 910 - _globals["_MSGUPGRADECLIENTRESPONSE"]._serialized_end = 936 - _globals["_MSGSUBMITMISBEHAVIOUR"]._serialized_start = 939 - _globals["_MSGSUBMITMISBEHAVIOUR"]._serialized_end = 1092 - _globals["_MSGSUBMITMISBEHAVIOURRESPONSE"]._serialized_start = 1094 - _globals["_MSGSUBMITMISBEHAVIOURRESPONSE"]._serialized_end = 1125 - _globals["_MSGRECOVERCLIENT"]._serialized_start = 1128 - _globals["_MSGRECOVERCLIENT"]._serialized_end = 1281 - _globals["_MSGRECOVERCLIENTRESPONSE"]._serialized_start = 1283 - _globals["_MSGRECOVERCLIENTRESPONSE"]._serialized_end = 1309 - _globals["_MSGIBCSOFTWAREUPGRADE"]._serialized_start = 1312 - _globals["_MSGIBCSOFTWAREUPGRADE"]._serialized_end = 1502 - _globals["_MSGIBCSOFTWAREUPGRADERESPONSE"]._serialized_start = 1504 - _globals["_MSGIBCSOFTWAREUPGRADERESPONSE"]._serialized_end = 1535 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 1537 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 1653 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1655 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1680 - _globals["_MSG"]._serialized_start = 1683 - _globals["_MSG"]._serialized_end = 2429 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ibc.core.client.v1B\007TxProtoP\001Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types\242\002\003ICC\252\002\022Ibc.Core.Client.V1\312\002\022Ibc\\Core\\Client\\V1\342\002\036Ibc\\Core\\Client\\V1\\GPBMetadata\352\002\025Ibc::Core::Client::V1' + _globals['_MSGCREATECLIENT']._loaded_options = None + _globals['_MSGCREATECLIENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGUPDATECLIENT']._loaded_options = None + _globals['_MSGUPDATECLIENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGUPGRADECLIENT']._loaded_options = None + _globals['_MSGUPGRADECLIENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGSUBMITMISBEHAVIOUR']._loaded_options = None + _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_options = b'\030\001\210\240\037\000\202\347\260*\006signer' + _globals['_MSGRECOVERCLIENT']._loaded_options = None + _globals['_MSGRECOVERCLIENT']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSGIBCSOFTWAREUPGRADE'].fields_by_name['plan']._loaded_options = None + _globals['_MSGIBCSOFTWAREUPGRADE'].fields_by_name['plan']._serialized_options = b'\310\336\037\000' + _globals['_MSGIBCSOFTWAREUPGRADE']._loaded_options = None + _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_options = b'\202\347\260*\006signer' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGCREATECLIENT']._serialized_start=197 + _globals['_MSGCREATECLIENT']._serialized_end=375 + _globals['_MSGCREATECLIENTRESPONSE']._serialized_start=377 + _globals['_MSGCREATECLIENTRESPONSE']._serialized_end=402 + _globals['_MSGUPDATECLIENT']._serialized_start=405 + _globals['_MSGUPDATECLIENT']._serialized_end=553 + _globals['_MSGUPDATECLIENTRESPONSE']._serialized_start=555 + _globals['_MSGUPDATECLIENTRESPONSE']._serialized_end=580 + _globals['_MSGUPGRADECLIENT']._serialized_start=583 + _globals['_MSGUPGRADECLIENT']._serialized_end=908 + _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_start=910 + _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_end=936 + _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_start=939 + _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_end=1092 + _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_start=1094 + _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_end=1125 + _globals['_MSGRECOVERCLIENT']._serialized_start=1128 + _globals['_MSGRECOVERCLIENT']._serialized_end=1281 + _globals['_MSGRECOVERCLIENTRESPONSE']._serialized_start=1283 + _globals['_MSGRECOVERCLIENTRESPONSE']._serialized_end=1309 + _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_start=1312 + _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_end=1502 + _globals['_MSGIBCSOFTWAREUPGRADERESPONSE']._serialized_start=1504 + _globals['_MSGIBCSOFTWAREUPGRADERESPONSE']._serialized_end=1535 + _globals['_MSGUPDATEPARAMS']._serialized_start=1537 + _globals['_MSGUPDATEPARAMS']._serialized_end=1653 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1655 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1680 + _globals['_MSG']._serialized_start=1683 + _globals['_MSG']._serialized_end=2429 # @@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 26edcd1d..9c44899a 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the ibc/client Msg service.""" + """Msg defines the ibc/client Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,159 +16,160 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.CreateClient = channel.unary_unary( - "/ibc.core.client.v1.Msg/CreateClient", - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClient.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClientResponse.FromString, - _registered_method=True, - ) + '/ibc.core.client.v1.Msg/CreateClient', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClient.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClientResponse.FromString, + _registered_method=True) self.UpdateClient = channel.unary_unary( - "/ibc.core.client.v1.Msg/UpdateClient", - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClient.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientResponse.FromString, - _registered_method=True, - ) + '/ibc.core.client.v1.Msg/UpdateClient', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClient.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientResponse.FromString, + _registered_method=True) self.UpgradeClient = channel.unary_unary( - "/ibc.core.client.v1.Msg/UpgradeClient", - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClient.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClientResponse.FromString, - _registered_method=True, - ) + '/ibc.core.client.v1.Msg/UpgradeClient', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClient.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClientResponse.FromString, + _registered_method=True) self.SubmitMisbehaviour = channel.unary_unary( - "/ibc.core.client.v1.Msg/SubmitMisbehaviour", - 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, - _registered_method=True, - ) + '/ibc.core.client.v1.Msg/SubmitMisbehaviour', + 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, + _registered_method=True) 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, - _registered_method=True, - ) + '/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, + _registered_method=True) 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, - _registered_method=True, - ) + '/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, + _registered_method=True) self.UpdateClientParams = channel.unary_unary( - "/ibc.core.client.v1.Msg/UpdateClientParams", - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/ibc.core.client.v1.Msg/UpdateClientParams', + request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the ibc/client Msg service.""" + """Msg defines the ibc/client Msg service. + """ def CreateClient(self, request, context): - """CreateClient defines a rpc handler method for MsgCreateClient.""" + """CreateClient defines a rpc handler method for MsgCreateClient. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateClient(self, request, context): - """UpdateClient defines a rpc handler method for MsgUpdateClient.""" + """UpdateClient defines a rpc handler method for MsgUpdateClient. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpgradeClient(self, request, context): - """UpgradeClient defines a rpc handler method for MsgUpgradeClient.""" + """UpgradeClient defines a rpc handler method for MsgUpgradeClient. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SubmitMisbehaviour(self, request, context): - """SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.""" + """SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RecoverClient(self, request, context): - """RecoverClient defines a rpc handler method for MsgRecoverClient.""" + """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!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def IBCSoftwareUpgrade(self, request, context): - """IBCSoftwareUpgrade defines a rpc handler method for MsgIBCSoftwareUpgrade.""" + """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!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateClientParams(self, request, context): - """UpdateClientParams defines a rpc handler method for MsgUpdateParams.""" + """UpdateClientParams defines a rpc handler method for MsgUpdateParams. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "CreateClient": grpc.unary_unary_rpc_method_handler( - servicer.CreateClient, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClient.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClientResponse.SerializeToString, - ), - "UpdateClient": grpc.unary_unary_rpc_method_handler( - servicer.UpdateClient, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClient.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientResponse.SerializeToString, - ), - "UpgradeClient": grpc.unary_unary_rpc_method_handler( - servicer.UpgradeClient, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClient.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClientResponse.SerializeToString, - ), - "SubmitMisbehaviour": grpc.unary_unary_rpc_method_handler( - servicer.SubmitMisbehaviour, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviour.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.SerializeToString, - ), - "RecoverClient": grpc.unary_unary_rpc_method_handler( - servicer.RecoverClient, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClient.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClientResponse.SerializeToString, - ), - "IBCSoftwareUpgrade": grpc.unary_unary_rpc_method_handler( - servicer.IBCSoftwareUpgrade, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgrade.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgradeResponse.SerializeToString, - ), - "UpdateClientParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateClientParams, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + 'CreateClient': grpc.unary_unary_rpc_method_handler( + servicer.CreateClient, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClient.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClientResponse.SerializeToString, + ), + 'UpdateClient': grpc.unary_unary_rpc_method_handler( + servicer.UpdateClient, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClient.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientResponse.SerializeToString, + ), + 'UpgradeClient': grpc.unary_unary_rpc_method_handler( + servicer.UpgradeClient, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClient.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClientResponse.SerializeToString, + ), + 'SubmitMisbehaviour': grpc.unary_unary_rpc_method_handler( + servicer.SubmitMisbehaviour, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviour.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.SerializeToString, + ), + 'RecoverClient': grpc.unary_unary_rpc_method_handler( + servicer.RecoverClient, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClient.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClientResponse.SerializeToString, + ), + 'IBCSoftwareUpgrade': grpc.unary_unary_rpc_method_handler( + servicer.IBCSoftwareUpgrade, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgrade.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgradeResponse.SerializeToString, + ), + 'UpdateClientParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateClientParams, + request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("ibc.core.client.v1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'ibc.core.client.v1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("ibc.core.client.v1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('ibc.core.client.v1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the ibc/client Msg service.""" + """Msg defines the ibc/client Msg service. + """ @staticmethod - def CreateClient( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreateClient(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/CreateClient", + '/ibc.core.client.v1.Msg/CreateClient', ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClient.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgCreateClientResponse.FromString, options, @@ -178,26 +180,23 @@ def CreateClient( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateClient( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateClient(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/UpdateClient", + '/ibc.core.client.v1.Msg/UpdateClient', ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClient.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateClientResponse.FromString, options, @@ -208,26 +207,23 @@ def UpdateClient( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpgradeClient( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpgradeClient(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/UpgradeClient", + '/ibc.core.client.v1.Msg/UpgradeClient', ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClient.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpgradeClientResponse.FromString, options, @@ -238,26 +234,23 @@ def UpgradeClient( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SubmitMisbehaviour( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SubmitMisbehaviour(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/SubmitMisbehaviour", + '/ibc.core.client.v1.Msg/SubmitMisbehaviour', ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviour.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.FromString, options, @@ -268,26 +261,23 @@ def SubmitMisbehaviour( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RecoverClient( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + 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.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, @@ -298,26 +288,23 @@ def RecoverClient( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def IBCSoftwareUpgrade( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + 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.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, @@ -328,26 +315,23 @@ def IBCSoftwareUpgrade( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateClientParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateClientParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/ibc.core.client.v1.Msg/UpdateClientParams", + '/ibc.core.client.v1.Msg/UpdateClientParams', ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -358,5 +342,4 @@ def UpdateClientParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py index 084cf01c..2d0e0d50 100644 --- a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py +++ b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,26 +16,22 @@ from pyinjective.proto.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\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash:\x04\x88\xa0\x1f\x00"-\n\x0cMerklePrefix\x12\x1d\n\nkey_prefix\x18\x01 \x01(\x0cR\tkeyPrefix"\'\n\nMerklePath\x12\x19\n\x08key_path\x18\x01 \x03(\tR\x07keyPath"G\n\x0bMerkleProof\x12\x38\n\x06proofs\x18\x01 \x03(\x0b\x32 .cosmos.ics23.v1.CommitmentProofR\x06proofsB\xe6\x01\n\x1a\x63om.ibc.core.commitment.v1B\x0f\x43ommitmentProtoP\x01Z\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/connection/v1/client_connections/{client_id}\x12\xd8\x01\n\x15\x43onnectionClientState\x12\x39.ibc.core.connection.v1.QueryConnectionClientStateRequest\x1a:.ibc.core.connection.v1.QueryConnectionClientStateResponse"H\x82\xd3\xe4\x93\x02\x42\x12@/ibc/core/connection/v1/connections/{connection_id}/client_state\x12\x98\x02\n\x18\x43onnectionConsensusState\x12<.ibc.core.connection.v1.QueryConnectionConsensusStateRequest\x1a=.ibc.core.connection.v1.QueryConnectionConsensusStateResponse"\x7f\x82\xd3\xe4\x93\x02y\x12w/ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xa7\x01\n\x10\x43onnectionParams\x12\x34.ibc.core.connection.v1.QueryConnectionParamsRequest\x1a\x35.ibc.core.connection.v1.QueryConnectionParamsResponse"&\x82\xd3\xe4\x93\x02 \x12\x1e/ibc/core/connection/v1/paramsB\xe1\x01\n\x1a\x63om.ibc.core.connection.v1B\nQueryProtoP\x01Z\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/connection/v1/client_connections/{client_id}\x12\xd8\x01\n\x15\x43onnectionClientState\x12\x39.ibc.core.connection.v1.QueryConnectionClientStateRequest\x1a:.ibc.core.connection.v1.QueryConnectionClientStateResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/ibc/core/connection/v1/connections/{connection_id}/client_state\x12\x98\x02\n\x18\x43onnectionConsensusState\x12<.ibc.core.connection.v1.QueryConnectionConsensusStateRequest\x1a=.ibc.core.connection.v1.QueryConnectionConsensusStateResponse\"\x7f\x82\xd3\xe4\x93\x02y\x12w/ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xa7\x01\n\x10\x43onnectionParams\x12\x34.ibc.core.connection.v1.QueryConnectionParamsRequest\x1a\x35.ibc.core.connection.v1.QueryConnectionParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/ibc/core/connection/v1/paramsB\xe1\x01\n\x1a\x63om.ibc.core.connection.v1B\nQueryProtoP\x01Z\n DATA_TYPE_PACKET_RECEIPT_ABSENCE\x10\x07\x1a\x18\x8a\x9d \x14PACKETRECEIPTABSENCE\x12\x36\n\x1c\x44\x41TA_TYPE_NEXT_SEQUENCE_RECV\x10\x08\x1a\x14\x8a\x9d \x10NEXTSEQUENCERECV\x12 \n\x10\x44\x41TA_TYPE_HEADER\x10\t\x1a\n\x8a\x9d \x06HEADER\x1a\x04\x88\xa3\x1e\x00\x42\x98\x02\n#com.ibc.lightclients.solomachine.v2B\x10SolomachineProtoP\x01Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7\xa2\x02\x03ILS\xaa\x02\x1fIbc.Lightclients.Solomachine.V2\xca\x02\x1fIbc\\Lightclients\\Solomachine\\V2\xe2\x02+Ibc\\Lightclients\\Solomachine\\V2\\GPBMetadata\xea\x02"Ibc::Lightclients::Solomachine::V2b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ibc/lightclients/solomachine/v2/solomachine.proto\x12\x1fibc.lightclients.solomachine.v2\x1a\'ibc/core/connection/v1/connection.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xe5\x01\n\x0b\x43lientState\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1b\n\tis_frozen\x18\x02 \x01(\x08R\x08isFrozen\x12X\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v2.ConsensusStateR\x0e\x63onsensusState\x12=\n\x1b\x61llow_update_after_proposal\x18\x04 \x01(\x08R\x18\x61llowUpdateAfterProposal:\x04\x88\xa0\x1f\x00\"\x8b\x01\n\x0e\x43onsensusState\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12 \n\x0b\x64iversifier\x18\x02 \x01(\tR\x0b\x64iversifier\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00\"\xcb\x01\n\x06Header\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x1c\n\tsignature\x18\x03 \x01(\x0cR\tsignature\x12:\n\x0enew_public_key\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cnewPublicKey\x12\'\n\x0fnew_diversifier\x18\x05 \x01(\tR\x0enewDiversifier:\x04\x88\xa0\x1f\x00\"\xfd\x01\n\x0cMisbehaviour\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x1a\n\x08sequence\x18\x02 \x01(\x04R\x08sequence\x12V\n\rsignature_one\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v2.SignatureAndDataR\x0csignatureOne\x12V\n\rsignature_two\x18\x04 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v2.SignatureAndDataR\x0csignatureTwo:\x04\x88\xa0\x1f\x00\"\xb0\x01\n\x10SignatureAndData\x12\x1c\n\tsignature\x18\x01 \x01(\x0cR\tsignature\x12\x46\n\tdata_type\x18\x02 \x01(\x0e\x32).ibc.lightclients.solomachine.v2.DataTypeR\x08\x64\x61taType\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\x12\x1c\n\ttimestamp\x18\x04 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00\"e\n\x18TimestampedSignatureData\x12%\n\x0esignature_data\x18\x01 \x01(\x0cR\rsignatureData\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00\"\xc9\x01\n\tSignBytes\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12 \n\x0b\x64iversifier\x18\x03 \x01(\tR\x0b\x64iversifier\x12\x46\n\tdata_type\x18\x04 \x01(\x0e\x32).ibc.lightclients.solomachine.v2.DataTypeR\x08\x64\x61taType\x12\x12\n\x04\x64\x61ta\x18\x05 \x01(\x0cR\x04\x64\x61ta:\x04\x88\xa0\x1f\x00\"q\n\nHeaderData\x12\x34\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tnewPubKey\x12\'\n\x0fnew_diversifier\x18\x02 \x01(\tR\x0enewDiversifier:\x04\x88\xa0\x1f\x00\"d\n\x0f\x43lientStateData\x12\x12\n\x04path\x18\x01 \x01(\x0cR\x04path\x12\x37\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0b\x63lientState:\x04\x88\xa0\x1f\x00\"m\n\x12\x43onsensusStateData\x12\x12\n\x04path\x18\x01 \x01(\x0cR\x04path\x12=\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0e\x63onsensusState:\x04\x88\xa0\x1f\x00\"v\n\x13\x43onnectionStateData\x12\x12\n\x04path\x18\x01 \x01(\x0cR\x04path\x12\x45\n\nconnection\x18\x02 \x01(\x0b\x32%.ibc.core.connection.v1.ConnectionEndR\nconnection:\x04\x88\xa0\x1f\x00\"d\n\x10\x43hannelStateData\x12\x12\n\x04path\x18\x01 \x01(\x0cR\x04path\x12\x36\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelR\x07\x63hannel:\x04\x88\xa0\x1f\x00\"J\n\x14PacketCommitmentData\x12\x12\n\x04path\x18\x01 \x01(\x0cR\x04path\x12\x1e\n\ncommitment\x18\x02 \x01(\x0cR\ncommitment\"Y\n\x19PacketAcknowledgementData\x12\x12\n\x04path\x18\x01 \x01(\x0cR\x04path\x12(\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0cR\x0f\x61\x63knowledgement\".\n\x18PacketReceiptAbsenceData\x12\x12\n\x04path\x18\x01 \x01(\x0cR\x04path\"N\n\x14NextSequenceRecvData\x12\x12\n\x04path\x18\x01 \x01(\x0cR\x04path\x12\"\n\rnext_seq_recv\x18\x02 \x01(\x04R\x0bnextSeqRecv*\x8c\x04\n\x08\x44\x61taType\x12\x38\n#DATA_TYPE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12&\n\x16\x44\x41TA_TYPE_CLIENT_STATE\x10\x01\x1a\n\x8a\x9d \x06\x43LIENT\x12,\n\x19\x44\x41TA_TYPE_CONSENSUS_STATE\x10\x02\x1a\r\x8a\x9d \tCONSENSUS\x12.\n\x1a\x44\x41TA_TYPE_CONNECTION_STATE\x10\x03\x1a\x0e\x8a\x9d \nCONNECTION\x12(\n\x17\x44\x41TA_TYPE_CHANNEL_STATE\x10\x04\x1a\x0b\x8a\x9d \x07\x43HANNEL\x12\x35\n\x1b\x44\x41TA_TYPE_PACKET_COMMITMENT\x10\x05\x1a\x14\x8a\x9d \x10PACKETCOMMITMENT\x12?\n DATA_TYPE_PACKET_ACKNOWLEDGEMENT\x10\x06\x1a\x19\x8a\x9d \x15PACKETACKNOWLEDGEMENT\x12>\n DATA_TYPE_PACKET_RECEIPT_ABSENCE\x10\x07\x1a\x18\x8a\x9d \x14PACKETRECEIPTABSENCE\x12\x36\n\x1c\x44\x41TA_TYPE_NEXT_SEQUENCE_RECV\x10\x08\x1a\x14\x8a\x9d \x10NEXTSEQUENCERECV\x12 \n\x10\x44\x41TA_TYPE_HEADER\x10\t\x1a\n\x8a\x9d \x06HEADER\x1a\x04\x88\xa3\x1e\x00\x42\x98\x02\n#com.ibc.lightclients.solomachine.v2B\x10SolomachineProtoP\x01Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7\xa2\x02\x03ILS\xaa\x02\x1fIbc.Lightclients.Solomachine.V2\xca\x02\x1fIbc\\Lightclients\\Solomachine\\V2\xe2\x02+Ibc\\Lightclients\\Solomachine\\V2\\GPBMetadata\xea\x02\"Ibc::Lightclients::Solomachine::V2b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.lightclients.solomachine.v2.solomachine_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.solomachine.v2.solomachine_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n#com.ibc.lightclients.solomachine.v2B\020SolomachineProtoP\001Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7\242\002\003ILS\252\002\037Ibc.Lightclients.Solomachine.V2\312\002\037Ibc\\Lightclients\\Solomachine\\V2\342\002+Ibc\\Lightclients\\Solomachine\\V2\\GPBMetadata\352\002"Ibc::Lightclients::Solomachine::V2' - ) - _globals["_DATATYPE"]._loaded_options = None - _globals["_DATATYPE"]._serialized_options = b"\210\243\036\000" - _globals["_DATATYPE"].values_by_name["DATA_TYPE_UNINITIALIZED_UNSPECIFIED"]._loaded_options = None - _globals["_DATATYPE"].values_by_name[ - "DATA_TYPE_UNINITIALIZED_UNSPECIFIED" - ]._serialized_options = b"\212\235 \013UNSPECIFIED" - _globals["_DATATYPE"].values_by_name["DATA_TYPE_CLIENT_STATE"]._loaded_options = None - _globals["_DATATYPE"].values_by_name["DATA_TYPE_CLIENT_STATE"]._serialized_options = b"\212\235 \006CLIENT" - _globals["_DATATYPE"].values_by_name["DATA_TYPE_CONSENSUS_STATE"]._loaded_options = None - _globals["_DATATYPE"].values_by_name["DATA_TYPE_CONSENSUS_STATE"]._serialized_options = b"\212\235 \tCONSENSUS" - _globals["_DATATYPE"].values_by_name["DATA_TYPE_CONNECTION_STATE"]._loaded_options = None - _globals["_DATATYPE"].values_by_name["DATA_TYPE_CONNECTION_STATE"]._serialized_options = b"\212\235 \nCONNECTION" - _globals["_DATATYPE"].values_by_name["DATA_TYPE_CHANNEL_STATE"]._loaded_options = None - _globals["_DATATYPE"].values_by_name["DATA_TYPE_CHANNEL_STATE"]._serialized_options = b"\212\235 \007CHANNEL" - _globals["_DATATYPE"].values_by_name["DATA_TYPE_PACKET_COMMITMENT"]._loaded_options = None - _globals["_DATATYPE"].values_by_name[ - "DATA_TYPE_PACKET_COMMITMENT" - ]._serialized_options = b"\212\235 \020PACKETCOMMITMENT" - _globals["_DATATYPE"].values_by_name["DATA_TYPE_PACKET_ACKNOWLEDGEMENT"]._loaded_options = None - _globals["_DATATYPE"].values_by_name[ - "DATA_TYPE_PACKET_ACKNOWLEDGEMENT" - ]._serialized_options = b"\212\235 \025PACKETACKNOWLEDGEMENT" - _globals["_DATATYPE"].values_by_name["DATA_TYPE_PACKET_RECEIPT_ABSENCE"]._loaded_options = None - _globals["_DATATYPE"].values_by_name[ - "DATA_TYPE_PACKET_RECEIPT_ABSENCE" - ]._serialized_options = b"\212\235 \024PACKETRECEIPTABSENCE" - _globals["_DATATYPE"].values_by_name["DATA_TYPE_NEXT_SEQUENCE_RECV"]._loaded_options = None - _globals["_DATATYPE"].values_by_name[ - "DATA_TYPE_NEXT_SEQUENCE_RECV" - ]._serialized_options = b"\212\235 \020NEXTSEQUENCERECV" - _globals["_DATATYPE"].values_by_name["DATA_TYPE_HEADER"]._loaded_options = None - _globals["_DATATYPE"].values_by_name["DATA_TYPE_HEADER"]._serialized_options = b"\212\235 \006HEADER" - _globals["_CLIENTSTATE"]._loaded_options = None - _globals["_CLIENTSTATE"]._serialized_options = b"\210\240\037\000" - _globals["_CONSENSUSSTATE"]._loaded_options = None - _globals["_CONSENSUSSTATE"]._serialized_options = b"\210\240\037\000" - _globals["_HEADER"]._loaded_options = None - _globals["_HEADER"]._serialized_options = b"\210\240\037\000" - _globals["_MISBEHAVIOUR"]._loaded_options = None - _globals["_MISBEHAVIOUR"]._serialized_options = b"\210\240\037\000" - _globals["_SIGNATUREANDDATA"]._loaded_options = None - _globals["_SIGNATUREANDDATA"]._serialized_options = b"\210\240\037\000" - _globals["_TIMESTAMPEDSIGNATUREDATA"]._loaded_options = None - _globals["_TIMESTAMPEDSIGNATUREDATA"]._serialized_options = b"\210\240\037\000" - _globals["_SIGNBYTES"]._loaded_options = None - _globals["_SIGNBYTES"]._serialized_options = b"\210\240\037\000" - _globals["_HEADERDATA"]._loaded_options = None - _globals["_HEADERDATA"]._serialized_options = b"\210\240\037\000" - _globals["_CLIENTSTATEDATA"]._loaded_options = None - _globals["_CLIENTSTATEDATA"]._serialized_options = b"\210\240\037\000" - _globals["_CONSENSUSSTATEDATA"]._loaded_options = None - _globals["_CONSENSUSSTATEDATA"]._serialized_options = b"\210\240\037\000" - _globals["_CONNECTIONSTATEDATA"]._loaded_options = None - _globals["_CONNECTIONSTATEDATA"]._serialized_options = b"\210\240\037\000" - _globals["_CHANNELSTATEDATA"]._loaded_options = None - _globals["_CHANNELSTATEDATA"]._serialized_options = b"\210\240\037\000" - _globals["_DATATYPE"]._serialized_start = 2379 - _globals["_DATATYPE"]._serialized_end = 2903 - _globals["_CLIENTSTATE"]._serialized_start = 212 - _globals["_CLIENTSTATE"]._serialized_end = 441 - _globals["_CONSENSUSSTATE"]._serialized_start = 444 - _globals["_CONSENSUSSTATE"]._serialized_end = 583 - _globals["_HEADER"]._serialized_start = 586 - _globals["_HEADER"]._serialized_end = 789 - _globals["_MISBEHAVIOUR"]._serialized_start = 792 - _globals["_MISBEHAVIOUR"]._serialized_end = 1045 - _globals["_SIGNATUREANDDATA"]._serialized_start = 1048 - _globals["_SIGNATUREANDDATA"]._serialized_end = 1224 - _globals["_TIMESTAMPEDSIGNATUREDATA"]._serialized_start = 1226 - _globals["_TIMESTAMPEDSIGNATUREDATA"]._serialized_end = 1327 - _globals["_SIGNBYTES"]._serialized_start = 1330 - _globals["_SIGNBYTES"]._serialized_end = 1531 - _globals["_HEADERDATA"]._serialized_start = 1533 - _globals["_HEADERDATA"]._serialized_end = 1646 - _globals["_CLIENTSTATEDATA"]._serialized_start = 1648 - _globals["_CLIENTSTATEDATA"]._serialized_end = 1748 - _globals["_CONSENSUSSTATEDATA"]._serialized_start = 1750 - _globals["_CONSENSUSSTATEDATA"]._serialized_end = 1859 - _globals["_CONNECTIONSTATEDATA"]._serialized_start = 1861 - _globals["_CONNECTIONSTATEDATA"]._serialized_end = 1979 - _globals["_CHANNELSTATEDATA"]._serialized_start = 1981 - _globals["_CHANNELSTATEDATA"]._serialized_end = 2081 - _globals["_PACKETCOMMITMENTDATA"]._serialized_start = 2083 - _globals["_PACKETCOMMITMENTDATA"]._serialized_end = 2157 - _globals["_PACKETACKNOWLEDGEMENTDATA"]._serialized_start = 2159 - _globals["_PACKETACKNOWLEDGEMENTDATA"]._serialized_end = 2248 - _globals["_PACKETRECEIPTABSENCEDATA"]._serialized_start = 2250 - _globals["_PACKETRECEIPTABSENCEDATA"]._serialized_end = 2296 - _globals["_NEXTSEQUENCERECVDATA"]._serialized_start = 2298 - _globals["_NEXTSEQUENCERECVDATA"]._serialized_end = 2376 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n#com.ibc.lightclients.solomachine.v2B\020SolomachineProtoP\001Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7\242\002\003ILS\252\002\037Ibc.Lightclients.Solomachine.V2\312\002\037Ibc\\Lightclients\\Solomachine\\V2\342\002+Ibc\\Lightclients\\Solomachine\\V2\\GPBMetadata\352\002\"Ibc::Lightclients::Solomachine::V2' + _globals['_DATATYPE']._loaded_options = None + _globals['_DATATYPE']._serialized_options = b'\210\243\036\000' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_UNINITIALIZED_UNSPECIFIED"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_UNINITIALIZED_UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_CLIENT_STATE"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_CLIENT_STATE"]._serialized_options = b'\212\235 \006CLIENT' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_CONSENSUS_STATE"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_CONSENSUS_STATE"]._serialized_options = b'\212\235 \tCONSENSUS' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_CONNECTION_STATE"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_CONNECTION_STATE"]._serialized_options = b'\212\235 \nCONNECTION' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_CHANNEL_STATE"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_CHANNEL_STATE"]._serialized_options = b'\212\235 \007CHANNEL' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_COMMITMENT"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_COMMITMENT"]._serialized_options = b'\212\235 \020PACKETCOMMITMENT' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_ACKNOWLEDGEMENT"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_ACKNOWLEDGEMENT"]._serialized_options = b'\212\235 \025PACKETACKNOWLEDGEMENT' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_RECEIPT_ABSENCE"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_PACKET_RECEIPT_ABSENCE"]._serialized_options = b'\212\235 \024PACKETRECEIPTABSENCE' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_NEXT_SEQUENCE_RECV"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_NEXT_SEQUENCE_RECV"]._serialized_options = b'\212\235 \020NEXTSEQUENCERECV' + _globals['_DATATYPE'].values_by_name["DATA_TYPE_HEADER"]._loaded_options = None + _globals['_DATATYPE'].values_by_name["DATA_TYPE_HEADER"]._serialized_options = b'\212\235 \006HEADER' + _globals['_CLIENTSTATE']._loaded_options = None + _globals['_CLIENTSTATE']._serialized_options = b'\210\240\037\000' + _globals['_CONSENSUSSTATE']._loaded_options = None + _globals['_CONSENSUSSTATE']._serialized_options = b'\210\240\037\000' + _globals['_HEADER']._loaded_options = None + _globals['_HEADER']._serialized_options = b'\210\240\037\000' + _globals['_MISBEHAVIOUR']._loaded_options = None + _globals['_MISBEHAVIOUR']._serialized_options = b'\210\240\037\000' + _globals['_SIGNATUREANDDATA']._loaded_options = None + _globals['_SIGNATUREANDDATA']._serialized_options = b'\210\240\037\000' + _globals['_TIMESTAMPEDSIGNATUREDATA']._loaded_options = None + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_options = b'\210\240\037\000' + _globals['_SIGNBYTES']._loaded_options = None + _globals['_SIGNBYTES']._serialized_options = b'\210\240\037\000' + _globals['_HEADERDATA']._loaded_options = None + _globals['_HEADERDATA']._serialized_options = b'\210\240\037\000' + _globals['_CLIENTSTATEDATA']._loaded_options = None + _globals['_CLIENTSTATEDATA']._serialized_options = b'\210\240\037\000' + _globals['_CONSENSUSSTATEDATA']._loaded_options = None + _globals['_CONSENSUSSTATEDATA']._serialized_options = b'\210\240\037\000' + _globals['_CONNECTIONSTATEDATA']._loaded_options = None + _globals['_CONNECTIONSTATEDATA']._serialized_options = b'\210\240\037\000' + _globals['_CHANNELSTATEDATA']._loaded_options = None + _globals['_CHANNELSTATEDATA']._serialized_options = b'\210\240\037\000' + _globals['_DATATYPE']._serialized_start=2379 + _globals['_DATATYPE']._serialized_end=2903 + _globals['_CLIENTSTATE']._serialized_start=212 + _globals['_CLIENTSTATE']._serialized_end=441 + _globals['_CONSENSUSSTATE']._serialized_start=444 + _globals['_CONSENSUSSTATE']._serialized_end=583 + _globals['_HEADER']._serialized_start=586 + _globals['_HEADER']._serialized_end=789 + _globals['_MISBEHAVIOUR']._serialized_start=792 + _globals['_MISBEHAVIOUR']._serialized_end=1045 + _globals['_SIGNATUREANDDATA']._serialized_start=1048 + _globals['_SIGNATUREANDDATA']._serialized_end=1224 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=1226 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=1327 + _globals['_SIGNBYTES']._serialized_start=1330 + _globals['_SIGNBYTES']._serialized_end=1531 + _globals['_HEADERDATA']._serialized_start=1533 + _globals['_HEADERDATA']._serialized_end=1646 + _globals['_CLIENTSTATEDATA']._serialized_start=1648 + _globals['_CLIENTSTATEDATA']._serialized_end=1748 + _globals['_CONSENSUSSTATEDATA']._serialized_start=1750 + _globals['_CONSENSUSSTATEDATA']._serialized_end=1859 + _globals['_CONNECTIONSTATEDATA']._serialized_start=1861 + _globals['_CONNECTIONSTATEDATA']._serialized_end=1979 + _globals['_CHANNELSTATEDATA']._serialized_start=1981 + _globals['_CHANNELSTATEDATA']._serialized_end=2081 + _globals['_PACKETCOMMITMENTDATA']._serialized_start=2083 + _globals['_PACKETCOMMITMENTDATA']._serialized_end=2157 + _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_start=2159 + _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_end=2248 + _globals['_PACKETRECEIPTABSENCEDATA']._serialized_start=2250 + _globals['_PACKETRECEIPTABSENCEDATA']._serialized_end=2296 + _globals['_NEXTSEQUENCERECVDATA']._serialized_start=2298 + _globals['_NEXTSEQUENCERECVDATA']._serialized_end=2376 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2_grpc.py b/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2_grpc.py +++ b/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2_grpc.py @@ -1,3 +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/ibc/lightclients/solomachine/v3/solomachine_pb2.py b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py index 90c7444f..8dbb7917 100644 --- a/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py +++ b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,48 +16,44 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n1ibc/lightclients/solomachine/v3/solomachine.proto\x12\x1fibc.lightclients.solomachine.v3\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto"\xa6\x01\n\x0b\x43lientState\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1b\n\tis_frozen\x18\x02 \x01(\x08R\x08isFrozen\x12X\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v3.ConsensusStateR\x0e\x63onsensusState:\x04\x88\xa0\x1f\x00"\x8b\x01\n\x0e\x43onsensusState\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12 \n\x0b\x64iversifier\x18\x02 \x01(\tR\x0b\x64iversifier\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00"\xaf\x01\n\x06Header\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\x1c\n\tsignature\x18\x02 \x01(\x0cR\tsignature\x12:\n\x0enew_public_key\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cnewPublicKey\x12\'\n\x0fnew_diversifier\x18\x04 \x01(\tR\x0enewDiversifier:\x04\x88\xa0\x1f\x00"\xe0\x01\n\x0cMisbehaviour\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12V\n\rsignature_one\x18\x02 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndDataR\x0csignatureOne\x12V\n\rsignature_two\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndDataR\x0csignatureTwo:\x04\x88\xa0\x1f\x00"|\n\x10SignatureAndData\x12\x1c\n\tsignature\x18\x01 \x01(\x0cR\tsignature\x12\x12\n\x04path\x18\x02 \x01(\x0cR\x04path\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\x12\x1c\n\ttimestamp\x18\x04 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00"e\n\x18TimestampedSignatureData\x12%\n\x0esignature_data\x18\x01 \x01(\x0cR\rsignatureData\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00"\x95\x01\n\tSignBytes\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12 \n\x0b\x64iversifier\x18\x03 \x01(\tR\x0b\x64iversifier\x12\x12\n\x04path\x18\x04 \x01(\x0cR\x04path\x12\x12\n\x04\x64\x61ta\x18\x05 \x01(\x0cR\x04\x64\x61ta:\x04\x88\xa0\x1f\x00"q\n\nHeaderData\x12\x34\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tnewPubKey\x12\'\n\x0fnew_diversifier\x18\x02 \x01(\tR\x0enewDiversifier:\x04\x88\xa0\x1f\x00\x42\xa4\x02\n#com.ibc.lightclients.solomachine.v3B\x10SolomachineProtoP\x01ZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachine\xa2\x02\x03ILS\xaa\x02\x1fIbc.Lightclients.Solomachine.V3\xca\x02\x1fIbc\\Lightclients\\Solomachine\\V3\xe2\x02+Ibc\\Lightclients\\Solomachine\\V3\\GPBMetadata\xea\x02"Ibc::Lightclients::Solomachine::V3b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ibc/lightclients/solomachine/v3/solomachine.proto\x12\x1fibc.lightclients.solomachine.v3\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xa6\x01\n\x0b\x43lientState\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1b\n\tis_frozen\x18\x02 \x01(\x08R\x08isFrozen\x12X\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v3.ConsensusStateR\x0e\x63onsensusState:\x04\x88\xa0\x1f\x00\"\x8b\x01\n\x0e\x43onsensusState\x12\x33\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tpublicKey\x12 \n\x0b\x64iversifier\x18\x02 \x01(\tR\x0b\x64iversifier\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00\"\xaf\x01\n\x06Header\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\x1c\n\tsignature\x18\x02 \x01(\x0cR\tsignature\x12:\n\x0enew_public_key\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cnewPublicKey\x12\'\n\x0fnew_diversifier\x18\x04 \x01(\tR\x0enewDiversifier:\x04\x88\xa0\x1f\x00\"\xe0\x01\n\x0cMisbehaviour\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12V\n\rsignature_one\x18\x02 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndDataR\x0csignatureOne\x12V\n\rsignature_two\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndDataR\x0csignatureTwo:\x04\x88\xa0\x1f\x00\"|\n\x10SignatureAndData\x12\x1c\n\tsignature\x18\x01 \x01(\x0cR\tsignature\x12\x12\n\x04path\x18\x02 \x01(\x0cR\x04path\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\x12\x1c\n\ttimestamp\x18\x04 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00\"e\n\x18TimestampedSignatureData\x12%\n\x0esignature_data\x18\x01 \x01(\x0cR\rsignatureData\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp:\x04\x88\xa0\x1f\x00\"\x95\x01\n\tSignBytes\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12 \n\x0b\x64iversifier\x18\x03 \x01(\tR\x0b\x64iversifier\x12\x12\n\x04path\x18\x04 \x01(\x0cR\x04path\x12\x12\n\x04\x64\x61ta\x18\x05 \x01(\x0cR\x04\x64\x61ta:\x04\x88\xa0\x1f\x00\"q\n\nHeaderData\x12\x34\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\tnewPubKey\x12\'\n\x0fnew_diversifier\x18\x02 \x01(\tR\x0enewDiversifier:\x04\x88\xa0\x1f\x00\x42\xa4\x02\n#com.ibc.lightclients.solomachine.v3B\x10SolomachineProtoP\x01ZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachine\xa2\x02\x03ILS\xaa\x02\x1fIbc.Lightclients.Solomachine.V3\xca\x02\x1fIbc\\Lightclients\\Solomachine\\V3\xe2\x02+Ibc\\Lightclients\\Solomachine\\V3\\GPBMetadata\xea\x02\"Ibc::Lightclients::Solomachine::V3b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.lightclients.solomachine.v3.solomachine_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.solomachine.v3.solomachine_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n#com.ibc.lightclients.solomachine.v3B\020SolomachineProtoP\001ZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachine\242\002\003ILS\252\002\037Ibc.Lightclients.Solomachine.V3\312\002\037Ibc\\Lightclients\\Solomachine\\V3\342\002+Ibc\\Lightclients\\Solomachine\\V3\\GPBMetadata\352\002"Ibc::Lightclients::Solomachine::V3' - ) - _globals["_CLIENTSTATE"]._loaded_options = None - _globals["_CLIENTSTATE"]._serialized_options = b"\210\240\037\000" - _globals["_CONSENSUSSTATE"]._loaded_options = None - _globals["_CONSENSUSSTATE"]._serialized_options = b"\210\240\037\000" - _globals["_HEADER"]._loaded_options = None - _globals["_HEADER"]._serialized_options = b"\210\240\037\000" - _globals["_MISBEHAVIOUR"]._loaded_options = None - _globals["_MISBEHAVIOUR"]._serialized_options = b"\210\240\037\000" - _globals["_SIGNATUREANDDATA"]._loaded_options = None - _globals["_SIGNATUREANDDATA"]._serialized_options = b"\210\240\037\000" - _globals["_TIMESTAMPEDSIGNATUREDATA"]._loaded_options = None - _globals["_TIMESTAMPEDSIGNATUREDATA"]._serialized_options = b"\210\240\037\000" - _globals["_SIGNBYTES"]._loaded_options = None - _globals["_SIGNBYTES"]._serialized_options = b"\210\240\037\000" - _globals["_HEADERDATA"]._loaded_options = None - _globals["_HEADERDATA"]._serialized_options = b"\210\240\037\000" - _globals["_CLIENTSTATE"]._serialized_start = 136 - _globals["_CLIENTSTATE"]._serialized_end = 302 - _globals["_CONSENSUSSTATE"]._serialized_start = 305 - _globals["_CONSENSUSSTATE"]._serialized_end = 444 - _globals["_HEADER"]._serialized_start = 447 - _globals["_HEADER"]._serialized_end = 622 - _globals["_MISBEHAVIOUR"]._serialized_start = 625 - _globals["_MISBEHAVIOUR"]._serialized_end = 849 - _globals["_SIGNATUREANDDATA"]._serialized_start = 851 - _globals["_SIGNATUREANDDATA"]._serialized_end = 975 - _globals["_TIMESTAMPEDSIGNATUREDATA"]._serialized_start = 977 - _globals["_TIMESTAMPEDSIGNATUREDATA"]._serialized_end = 1078 - _globals["_SIGNBYTES"]._serialized_start = 1081 - _globals["_SIGNBYTES"]._serialized_end = 1230 - _globals["_HEADERDATA"]._serialized_start = 1232 - _globals["_HEADERDATA"]._serialized_end = 1345 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n#com.ibc.lightclients.solomachine.v3B\020SolomachineProtoP\001ZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachine\242\002\003ILS\252\002\037Ibc.Lightclients.Solomachine.V3\312\002\037Ibc\\Lightclients\\Solomachine\\V3\342\002+Ibc\\Lightclients\\Solomachine\\V3\\GPBMetadata\352\002\"Ibc::Lightclients::Solomachine::V3' + _globals['_CLIENTSTATE']._loaded_options = None + _globals['_CLIENTSTATE']._serialized_options = b'\210\240\037\000' + _globals['_CONSENSUSSTATE']._loaded_options = None + _globals['_CONSENSUSSTATE']._serialized_options = b'\210\240\037\000' + _globals['_HEADER']._loaded_options = None + _globals['_HEADER']._serialized_options = b'\210\240\037\000' + _globals['_MISBEHAVIOUR']._loaded_options = None + _globals['_MISBEHAVIOUR']._serialized_options = b'\210\240\037\000' + _globals['_SIGNATUREANDDATA']._loaded_options = None + _globals['_SIGNATUREANDDATA']._serialized_options = b'\210\240\037\000' + _globals['_TIMESTAMPEDSIGNATUREDATA']._loaded_options = None + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_options = b'\210\240\037\000' + _globals['_SIGNBYTES']._loaded_options = None + _globals['_SIGNBYTES']._serialized_options = b'\210\240\037\000' + _globals['_HEADERDATA']._loaded_options = None + _globals['_HEADERDATA']._serialized_options = b'\210\240\037\000' + _globals['_CLIENTSTATE']._serialized_start=136 + _globals['_CLIENTSTATE']._serialized_end=302 + _globals['_CONSENSUSSTATE']._serialized_start=305 + _globals['_CONSENSUSSTATE']._serialized_end=444 + _globals['_HEADER']._serialized_start=447 + _globals['_HEADER']._serialized_end=622 + _globals['_MISBEHAVIOUR']._serialized_start=625 + _globals['_MISBEHAVIOUR']._serialized_end=849 + _globals['_SIGNATUREANDDATA']._serialized_start=851 + _globals['_SIGNATUREANDDATA']._serialized_end=975 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=977 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=1078 + _globals['_SIGNBYTES']._serialized_start=1081 + _globals['_SIGNBYTES']._serialized_end=1230 + _globals['_HEADERDATA']._serialized_start=1232 + _globals['_HEADERDATA']._serialized_end=1345 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2_grpc.py b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2_grpc.py +++ b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2_grpc.py @@ -1,3 +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/ibc/lightclients/tendermint/v1/tendermint_pb2.py b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py index 7e094d74..31cbde92 100644 --- a/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py +++ b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,74 +18,64 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from pyinjective.proto.ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -from pyinjective.proto.ibc.core.commitment.v1 import ( - commitment_pb2 as ibc_dot_core_dot_commitment_dot_v1_dot_commitment__pb2, -) +from pyinjective.proto.ibc.core.commitment.v1 import commitment_pb2 as ibc_dot_core_dot_commitment_dot_v1_dot_commitment__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n/ibc/lightclients/tendermint/v1/tendermint.proto\x12\x1eibc.lightclients.tendermint.v1\x1a tendermint/types/validator.proto\x1a\x1ctendermint/types/types.proto\x1a\x1c\x63osmos/ics23/v1/proofs.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x14gogoproto/gogo.proto"\xe2\x05\n\x0b\x43lientState\x12\x19\n\x08\x63hain_id\x18\x01 \x01(\tR\x07\x63hainId\x12O\n\x0btrust_level\x18\x02 \x01(\x0b\x32(.ibc.lightclients.tendermint.v1.FractionB\x04\xc8\xde\x1f\x00R\ntrustLevel\x12L\n\x0ftrusting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0etrustingPeriod\x12N\n\x10unbonding_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0funbondingPeriod\x12K\n\x0fmax_clock_drift\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\rmaxClockDrift\x12\x45\n\rfrozen_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0c\x66rozenHeight\x12\x45\n\rlatest_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0clatestHeight\x12;\n\x0bproof_specs\x18\x08 \x03(\x0b\x32\x1a.cosmos.ics23.v1.ProofSpecR\nproofSpecs\x12!\n\x0cupgrade_path\x18\t \x03(\tR\x0bupgradePath\x12=\n\x19\x61llow_update_after_expiry\x18\n \x01(\x08\x42\x02\x18\x01R\x16\x61llowUpdateAfterExpiry\x12I\n\x1f\x61llow_update_after_misbehaviour\x18\x0b \x01(\x08\x42\x02\x18\x01R\x1c\x61llowUpdateAfterMisbehaviour:\x04\x88\xa0\x1f\x00"\x80\x02\n\x0e\x43onsensusState\x12\x42\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12<\n\x04root\x18\x02 \x01(\x0b\x32".ibc.core.commitment.v1.MerkleRootB\x04\xc8\xde\x1f\x00R\x04root\x12\x66\n\x14next_validators_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x12nextValidatorsHash:\x04\x88\xa0\x1f\x00"\xd5\x01\n\x0cMisbehaviour\x12\x1f\n\tclient_id\x18\x01 \x01(\tB\x02\x18\x01R\x08\x63lientId\x12N\n\x08header_1\x18\x02 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header1R\x07header1\x12N\n\x08header_2\x18\x03 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header2R\x07header2:\x04\x88\xa0\x1f\x00"\xb0\x02\n\x06Header\x12I\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderB\x04\xd0\xde\x1f\x01R\x0csignedHeader\x12\x43\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x0cvalidatorSet\x12G\n\x0etrusted_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\rtrustedHeight\x12M\n\x12trusted_validators\x18\x04 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x11trustedValidators"J\n\x08\x46raction\x12\x1c\n\tnumerator\x18\x01 \x01(\x04R\tnumerator\x12 \n\x0b\x64\x65nominator\x18\x02 \x01(\x04R\x0b\x64\x65nominatorB\x9c\x02\n"com.ibc.lightclients.tendermint.v1B\x0fTendermintProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermint\xa2\x02\x03ILT\xaa\x02\x1eIbc.Lightclients.Tendermint.V1\xca\x02\x1eIbc\\Lightclients\\Tendermint\\V1\xe2\x02*Ibc\\Lightclients\\Tendermint\\V1\\GPBMetadata\xea\x02!Ibc::Lightclients::Tendermint::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/ibc/lightclients/tendermint/v1/tendermint.proto\x12\x1eibc.lightclients.tendermint.v1\x1a tendermint/types/validator.proto\x1a\x1ctendermint/types/types.proto\x1a\x1c\x63osmos/ics23/v1/proofs.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x14gogoproto/gogo.proto\"\xe2\x05\n\x0b\x43lientState\x12\x19\n\x08\x63hain_id\x18\x01 \x01(\tR\x07\x63hainId\x12O\n\x0btrust_level\x18\x02 \x01(\x0b\x32(.ibc.lightclients.tendermint.v1.FractionB\x04\xc8\xde\x1f\x00R\ntrustLevel\x12L\n\x0ftrusting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0etrustingPeriod\x12N\n\x10unbonding_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0funbondingPeriod\x12K\n\x0fmax_clock_drift\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\rmaxClockDrift\x12\x45\n\rfrozen_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0c\x66rozenHeight\x12\x45\n\rlatest_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\x0clatestHeight\x12;\n\x0bproof_specs\x18\x08 \x03(\x0b\x32\x1a.cosmos.ics23.v1.ProofSpecR\nproofSpecs\x12!\n\x0cupgrade_path\x18\t \x03(\tR\x0bupgradePath\x12=\n\x19\x61llow_update_after_expiry\x18\n \x01(\x08\x42\x02\x18\x01R\x16\x61llowUpdateAfterExpiry\x12I\n\x1f\x61llow_update_after_misbehaviour\x18\x0b \x01(\x08\x42\x02\x18\x01R\x1c\x61llowUpdateAfterMisbehaviour:\x04\x88\xa0\x1f\x00\"\x80\x02\n\x0e\x43onsensusState\x12\x42\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12<\n\x04root\x18\x02 \x01(\x0b\x32\".ibc.core.commitment.v1.MerkleRootB\x04\xc8\xde\x1f\x00R\x04root\x12\x66\n\x14next_validators_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytesR\x12nextValidatorsHash:\x04\x88\xa0\x1f\x00\"\xd5\x01\n\x0cMisbehaviour\x12\x1f\n\tclient_id\x18\x01 \x01(\tB\x02\x18\x01R\x08\x63lientId\x12N\n\x08header_1\x18\x02 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header1R\x07header1\x12N\n\x08header_2\x18\x03 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header2R\x07header2:\x04\x88\xa0\x1f\x00\"\xb0\x02\n\x06Header\x12I\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderB\x04\xd0\xde\x1f\x01R\x0csignedHeader\x12\x43\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x0cvalidatorSet\x12G\n\x0etrusted_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00R\rtrustedHeight\x12M\n\x12trusted_validators\x18\x04 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x11trustedValidators\"J\n\x08\x46raction\x12\x1c\n\tnumerator\x18\x01 \x01(\x04R\tnumerator\x12 \n\x0b\x64\x65nominator\x18\x02 \x01(\x04R\x0b\x64\x65nominatorB\x9c\x02\n\"com.ibc.lightclients.tendermint.v1B\x0fTendermintProtoP\x01ZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermint\xa2\x02\x03ILT\xaa\x02\x1eIbc.Lightclients.Tendermint.V1\xca\x02\x1eIbc\\Lightclients\\Tendermint\\V1\xe2\x02*Ibc\\Lightclients\\Tendermint\\V1\\GPBMetadata\xea\x02!Ibc::Lightclients::Tendermint::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "ibc.lightclients.tendermint.v1.tendermint_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.lightclients.tendermint.v1.tendermint_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n"com.ibc.lightclients.tendermint.v1B\017TendermintProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermint\242\002\003ILT\252\002\036Ibc.Lightclients.Tendermint.V1\312\002\036Ibc\\Lightclients\\Tendermint\\V1\342\002*Ibc\\Lightclients\\Tendermint\\V1\\GPBMetadata\352\002!Ibc::Lightclients::Tendermint::V1' - ) - _globals["_CLIENTSTATE"].fields_by_name["trust_level"]._loaded_options = None - _globals["_CLIENTSTATE"].fields_by_name["trust_level"]._serialized_options = b"\310\336\037\000" - _globals["_CLIENTSTATE"].fields_by_name["trusting_period"]._loaded_options = None - _globals["_CLIENTSTATE"].fields_by_name["trusting_period"]._serialized_options = b"\310\336\037\000\230\337\037\001" - _globals["_CLIENTSTATE"].fields_by_name["unbonding_period"]._loaded_options = None - _globals["_CLIENTSTATE"].fields_by_name[ - "unbonding_period" - ]._serialized_options = b"\310\336\037\000\230\337\037\001" - _globals["_CLIENTSTATE"].fields_by_name["max_clock_drift"]._loaded_options = None - _globals["_CLIENTSTATE"].fields_by_name["max_clock_drift"]._serialized_options = b"\310\336\037\000\230\337\037\001" - _globals["_CLIENTSTATE"].fields_by_name["frozen_height"]._loaded_options = None - _globals["_CLIENTSTATE"].fields_by_name["frozen_height"]._serialized_options = b"\310\336\037\000" - _globals["_CLIENTSTATE"].fields_by_name["latest_height"]._loaded_options = None - _globals["_CLIENTSTATE"].fields_by_name["latest_height"]._serialized_options = b"\310\336\037\000" - _globals["_CLIENTSTATE"].fields_by_name["allow_update_after_expiry"]._loaded_options = None - _globals["_CLIENTSTATE"].fields_by_name["allow_update_after_expiry"]._serialized_options = b"\030\001" - _globals["_CLIENTSTATE"].fields_by_name["allow_update_after_misbehaviour"]._loaded_options = None - _globals["_CLIENTSTATE"].fields_by_name["allow_update_after_misbehaviour"]._serialized_options = b"\030\001" - _globals["_CLIENTSTATE"]._loaded_options = None - _globals["_CLIENTSTATE"]._serialized_options = b"\210\240\037\000" - _globals["_CONSENSUSSTATE"].fields_by_name["timestamp"]._loaded_options = None - _globals["_CONSENSUSSTATE"].fields_by_name["timestamp"]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_CONSENSUSSTATE"].fields_by_name["root"]._loaded_options = None - _globals["_CONSENSUSSTATE"].fields_by_name["root"]._serialized_options = b"\310\336\037\000" - _globals["_CONSENSUSSTATE"].fields_by_name["next_validators_hash"]._loaded_options = None - _globals["_CONSENSUSSTATE"].fields_by_name[ - "next_validators_hash" - ]._serialized_options = b"\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes" - _globals["_CONSENSUSSTATE"]._loaded_options = None - _globals["_CONSENSUSSTATE"]._serialized_options = b"\210\240\037\000" - _globals["_MISBEHAVIOUR"].fields_by_name["client_id"]._loaded_options = None - _globals["_MISBEHAVIOUR"].fields_by_name["client_id"]._serialized_options = b"\030\001" - _globals["_MISBEHAVIOUR"].fields_by_name["header_1"]._loaded_options = None - _globals["_MISBEHAVIOUR"].fields_by_name["header_1"]._serialized_options = b"\342\336\037\007Header1" - _globals["_MISBEHAVIOUR"].fields_by_name["header_2"]._loaded_options = None - _globals["_MISBEHAVIOUR"].fields_by_name["header_2"]._serialized_options = b"\342\336\037\007Header2" - _globals["_MISBEHAVIOUR"]._loaded_options = None - _globals["_MISBEHAVIOUR"]._serialized_options = b"\210\240\037\000" - _globals["_HEADER"].fields_by_name["signed_header"]._loaded_options = None - _globals["_HEADER"].fields_by_name["signed_header"]._serialized_options = b"\320\336\037\001" - _globals["_HEADER"].fields_by_name["trusted_height"]._loaded_options = None - _globals["_HEADER"].fields_by_name["trusted_height"]._serialized_options = b"\310\336\037\000" - _globals["_CLIENTSTATE"]._serialized_start = 339 - _globals["_CLIENTSTATE"]._serialized_end = 1077 - _globals["_CONSENSUSSTATE"]._serialized_start = 1080 - _globals["_CONSENSUSSTATE"]._serialized_end = 1336 - _globals["_MISBEHAVIOUR"]._serialized_start = 1339 - _globals["_MISBEHAVIOUR"]._serialized_end = 1552 - _globals["_HEADER"]._serialized_start = 1555 - _globals["_HEADER"]._serialized_end = 1859 - _globals["_FRACTION"]._serialized_start = 1861 - _globals["_FRACTION"]._serialized_end = 1935 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.ibc.lightclients.tendermint.v1B\017TendermintProtoP\001ZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermint\242\002\003ILT\252\002\036Ibc.Lightclients.Tendermint.V1\312\002\036Ibc\\Lightclients\\Tendermint\\V1\342\002*Ibc\\Lightclients\\Tendermint\\V1\\GPBMetadata\352\002!Ibc::Lightclients::Tendermint::V1' + _globals['_CLIENTSTATE'].fields_by_name['trust_level']._loaded_options = None + _globals['_CLIENTSTATE'].fields_by_name['trust_level']._serialized_options = b'\310\336\037\000' + _globals['_CLIENTSTATE'].fields_by_name['trusting_period']._loaded_options = None + _globals['_CLIENTSTATE'].fields_by_name['trusting_period']._serialized_options = b'\310\336\037\000\230\337\037\001' + _globals['_CLIENTSTATE'].fields_by_name['unbonding_period']._loaded_options = None + _globals['_CLIENTSTATE'].fields_by_name['unbonding_period']._serialized_options = b'\310\336\037\000\230\337\037\001' + _globals['_CLIENTSTATE'].fields_by_name['max_clock_drift']._loaded_options = None + _globals['_CLIENTSTATE'].fields_by_name['max_clock_drift']._serialized_options = b'\310\336\037\000\230\337\037\001' + _globals['_CLIENTSTATE'].fields_by_name['frozen_height']._loaded_options = None + _globals['_CLIENTSTATE'].fields_by_name['frozen_height']._serialized_options = b'\310\336\037\000' + _globals['_CLIENTSTATE'].fields_by_name['latest_height']._loaded_options = None + _globals['_CLIENTSTATE'].fields_by_name['latest_height']._serialized_options = b'\310\336\037\000' + _globals['_CLIENTSTATE'].fields_by_name['allow_update_after_expiry']._loaded_options = None + _globals['_CLIENTSTATE'].fields_by_name['allow_update_after_expiry']._serialized_options = b'\030\001' + _globals['_CLIENTSTATE'].fields_by_name['allow_update_after_misbehaviour']._loaded_options = None + _globals['_CLIENTSTATE'].fields_by_name['allow_update_after_misbehaviour']._serialized_options = b'\030\001' + _globals['_CLIENTSTATE']._loaded_options = None + _globals['_CLIENTSTATE']._serialized_options = b'\210\240\037\000' + _globals['_CONSENSUSSTATE'].fields_by_name['timestamp']._loaded_options = None + _globals['_CONSENSUSSTATE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_CONSENSUSSTATE'].fields_by_name['root']._loaded_options = None + _globals['_CONSENSUSSTATE'].fields_by_name['root']._serialized_options = b'\310\336\037\000' + _globals['_CONSENSUSSTATE'].fields_by_name['next_validators_hash']._loaded_options = None + _globals['_CONSENSUSSTATE'].fields_by_name['next_validators_hash']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' + _globals['_CONSENSUSSTATE']._loaded_options = None + _globals['_CONSENSUSSTATE']._serialized_options = b'\210\240\037\000' + _globals['_MISBEHAVIOUR'].fields_by_name['client_id']._loaded_options = None + _globals['_MISBEHAVIOUR'].fields_by_name['client_id']._serialized_options = b'\030\001' + _globals['_MISBEHAVIOUR'].fields_by_name['header_1']._loaded_options = None + _globals['_MISBEHAVIOUR'].fields_by_name['header_1']._serialized_options = b'\342\336\037\007Header1' + _globals['_MISBEHAVIOUR'].fields_by_name['header_2']._loaded_options = None + _globals['_MISBEHAVIOUR'].fields_by_name['header_2']._serialized_options = b'\342\336\037\007Header2' + _globals['_MISBEHAVIOUR']._loaded_options = None + _globals['_MISBEHAVIOUR']._serialized_options = b'\210\240\037\000' + _globals['_HEADER'].fields_by_name['signed_header']._loaded_options = None + _globals['_HEADER'].fields_by_name['signed_header']._serialized_options = b'\320\336\037\001' + _globals['_HEADER'].fields_by_name['trusted_height']._loaded_options = None + _globals['_HEADER'].fields_by_name['trusted_height']._serialized_options = b'\310\336\037\000' + _globals['_CLIENTSTATE']._serialized_start=339 + _globals['_CLIENTSTATE']._serialized_end=1077 + _globals['_CONSENSUSSTATE']._serialized_start=1080 + _globals['_CONSENSUSSTATE']._serialized_end=1336 + _globals['_MISBEHAVIOUR']._serialized_start=1339 + _globals['_MISBEHAVIOUR']._serialized_end=1552 + _globals['_HEADER']._serialized_start=1555 + _globals['_HEADER']._serialized_end=1859 + _globals['_FRACTION']._serialized_start=1861 + _globals['_FRACTION']._serialized_end=1935 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2_grpc.py b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2_grpc.py +++ b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2_grpc.py @@ -1,3 +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/ibc/lightclients/wasm/v1/genesis_pb2.py b/pyinjective/proto/ibc/lightclients/wasm/v1/genesis_pb2.py index 76813741..dff12841 100644 --- a/pyinjective/proto/ibc/lightclients/wasm/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/lightclients/wasm/v1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,24 +15,20 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&ibc/lightclients/wasm/v1/genesis.proto\x12\x18ibc.lightclients.wasm.v1\x1a\x14gogoproto/gogo.proto"V\n\x0cGenesisState\x12\x46\n\tcontracts\x18\x01 \x03(\x0b\x32".ibc.lightclients.wasm.v1.ContractB\x04\xc8\xde\x1f\x00R\tcontracts"/\n\x08\x43ontract\x12\x1d\n\ncode_bytes\x18\x01 \x01(\x0cR\tcodeBytes:\x04\x88\xa0\x1f\x00\x42\xed\x01\n\x1c\x63om.ibc.lightclients.wasm.v1B\x0cGenesisProtoP\x01Z\n\nbid_amount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\tbidAmount\x12\x14\n\x05round\x18\x03 \x01(\x04R\x05round:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x0e\x61uction/MsgBid"\x10\n\x0eMsgBidResponse"\xb6\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12?\n\x06params\x18\x02 \x01(\x0b\x32!.injective.auction.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:*\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x17\x61uction/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2\xd1\x01\n\x03Msg\x12S\n\x03\x42id\x12!.injective.auction.v1beta1.MsgBid\x1a).injective.auction.v1beta1.MsgBidResponse\x12n\n\x0cUpdateParams\x12*.injective.auction.v1beta1.MsgUpdateParams\x1a\x32.injective.auction.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xfd\x01\n\x1d\x63om.injective.auction.v1beta1B\x07TxProtoP\x01ZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/types\xa2\x02\x03IAX\xaa\x02\x19Injective.Auction.V1beta1\xca\x02\x19Injective\\Auction\\V1beta1\xe2\x02%Injective\\Auction\\V1beta1\\GPBMetadata\xea\x02\x1bInjective::Auction::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"injective/auction/v1beta1/tx.proto\x12\x19injective.auction.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\'injective/auction/v1beta1/auction.proto\x1a\x11\x61mino/amino.proto\"\x9e\x01\n\x06MsgBid\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12>\n\nbid_amount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\tbidAmount\x12\x14\n\x05round\x18\x03 \x01(\x04R\x05round:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x0e\x61uction/MsgBid\"\x10\n\x0eMsgBidResponse\"\xb6\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12?\n\x06params\x18\x02 \x01(\x0b\x32!.injective.auction.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:*\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x17\x61uction/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xd1\x01\n\x03Msg\x12S\n\x03\x42id\x12!.injective.auction.v1beta1.MsgBid\x1a).injective.auction.v1beta1.MsgBidResponse\x12n\n\x0cUpdateParams\x12*.injective.auction.v1beta1.MsgUpdateParams\x1a\x32.injective.auction.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xfd\x01\n\x1d\x63om.injective.auction.v1beta1B\x07TxProtoP\x01ZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/types\xa2\x02\x03IAX\xaa\x02\x19Injective.Auction.V1beta1\xca\x02\x19Injective\\Auction\\V1beta1\xe2\x02%Injective\\Auction\\V1beta1\\GPBMetadata\xea\x02\x1bInjective::Auction::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.auction.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.auction.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\035com.injective.auction.v1beta1B\007TxProtoP\001ZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/types\242\002\003IAX\252\002\031Injective.Auction.V1beta1\312\002\031Injective\\Auction\\V1beta1\342\002%Injective\\Auction\\V1beta1\\GPBMetadata\352\002\033Injective::Auction::V1beta1" - ) - _globals["_MSGBID"].fields_by_name["bid_amount"]._loaded_options = None - _globals["_MSGBID"].fields_by_name["bid_amount"]._serialized_options = b"\310\336\037\000" - _globals["_MSGBID"]._loaded_options = None - _globals["_MSGBID"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\016auction/MsgBid" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*\027auction/MsgUpdateParams" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGBID"]._serialized_start = 232 - _globals["_MSGBID"]._serialized_end = 390 - _globals["_MSGBIDRESPONSE"]._serialized_start = 392 - _globals["_MSGBIDRESPONSE"]._serialized_end = 408 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 411 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 593 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 595 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 620 - _globals["_MSG"]._serialized_start = 623 - _globals["_MSG"]._serialized_end = 832 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\035com.injective.auction.v1beta1B\007TxProtoP\001ZMgithub.com/InjectiveLabs/injective-core/injective-chain/modules/auction/types\242\002\003IAX\252\002\031Injective.Auction.V1beta1\312\002\031Injective\\Auction\\V1beta1\342\002%Injective\\Auction\\V1beta1\\GPBMetadata\352\002\033Injective::Auction::V1beta1' + _globals['_MSGBID'].fields_by_name['bid_amount']._loaded_options = None + _globals['_MSGBID'].fields_by_name['bid_amount']._serialized_options = b'\310\336\037\000' + _globals['_MSGBID']._loaded_options = None + _globals['_MSGBID']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\016auction/MsgBid' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\027auction/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGBID']._serialized_start=232 + _globals['_MSGBID']._serialized_end=390 + _globals['_MSGBIDRESPONSE']._serialized_start=392 + _globals['_MSGBIDRESPONSE']._serialized_end=408 + _globals['_MSGUPDATEPARAMS']._serialized_start=411 + _globals['_MSGUPDATEPARAMS']._serialized_end=593 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=595 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=620 + _globals['_MSG']._serialized_start=623 + _globals['_MSG']._serialized_end=832 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/auction/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/auction/v1beta1/tx_pb2_grpc.py index 96f55095..f699a2f6 100644 --- a/pyinjective/proto/injective/auction/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/auction/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the auction Msg service.""" + """Msg defines the auction Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,74 +16,74 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Bid = channel.unary_unary( - "/injective.auction.v1beta1.Msg/Bid", - request_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBid.SerializeToString, - response_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBidResponse.FromString, - _registered_method=True, - ) + '/injective.auction.v1beta1.Msg/Bid', + request_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBid.SerializeToString, + response_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBidResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( - "/injective.auction.v1beta1.Msg/UpdateParams", - request_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/injective.auction.v1beta1.Msg/UpdateParams', + request_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the auction Msg service.""" + """Msg defines the auction Msg service. + """ def Bid(self, request, context): - """Bid defines a method for placing a bid for an auction""" + """Bid defines a method for placing a bid for an auction + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateParams(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "Bid": grpc.unary_unary_rpc_method_handler( - servicer.Bid, - request_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBid.FromString, - response_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBidResponse.SerializeToString, - ), - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + 'Bid': grpc.unary_unary_rpc_method_handler( + servicer.Bid, + request_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBid.FromString, + response_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBidResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("injective.auction.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'injective.auction.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("injective.auction.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('injective.auction.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the auction Msg service.""" + """Msg defines the auction Msg service. + """ @staticmethod - def Bid( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Bid(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.auction.v1beta1.Msg/Bid", + '/injective.auction.v1beta1.Msg/Bid', injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBid.SerializeToString, injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgBidResponse.FromString, options, @@ -93,26 +94,23 @@ def Bid( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.auction.v1beta1.Msg/UpdateParams", + '/injective.auction.v1beta1.Msg/UpdateParams', injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, injective_dot_auction_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -123,5 +121,4 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py b/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py index 492fc198..26a7a19c 100644 --- a/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py +++ b/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,26 +16,20 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n0injective/crypto/v1beta1/ethsecp256k1/keys.proto\x12%injective.crypto.v1beta1.ethsecp256k1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto"O\n\x06PubKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:3\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1cinjective/PubKeyEthSecp256k1\x92\xe7\xb0*\tkey_field"M\n\x07PrivKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:0\x8a\xe7\xb0*\x1dinjective/PrivKeyEthSecp256k1\x92\xe7\xb0*\tkey_fieldB\xbb\x02\n)com.injective.crypto.v1beta1.ethsecp256k1B\tKeysProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/crypto/ethsecp256k1\xa2\x02\x04ICVE\xaa\x02%Injective.Crypto.V1beta1.Ethsecp256k1\xca\x02%Injective\\Crypto\\V1beta1\\Ethsecp256k1\xe2\x02\x31Injective\\Crypto\\V1beta1\\Ethsecp256k1\\GPBMetadata\xea\x02(Injective::Crypto::V1beta1::Ethsecp256k1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0injective/crypto/v1beta1/ethsecp256k1/keys.proto\x12%injective.crypto.v1beta1.ethsecp256k1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"O\n\x06PubKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:3\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1cinjective/PubKeyEthSecp256k1\x92\xe7\xb0*\tkey_field\"M\n\x07PrivKey\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key:0\x8a\xe7\xb0*\x1dinjective/PrivKeyEthSecp256k1\x92\xe7\xb0*\tkey_fieldB\xbb\x02\n)com.injective.crypto.v1beta1.ethsecp256k1B\tKeysProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/crypto/ethsecp256k1\xa2\x02\x04ICVE\xaa\x02%Injective.Crypto.V1beta1.Ethsecp256k1\xca\x02%Injective\\Crypto\\V1beta1\\Ethsecp256k1\xe2\x02\x31Injective\\Crypto\\V1beta1\\Ethsecp256k1\\GPBMetadata\xea\x02(Injective::Crypto::V1beta1::Ethsecp256k1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.crypto.v1beta1.ethsecp256k1.keys_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.crypto.v1beta1.ethsecp256k1.keys_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n)com.injective.crypto.v1beta1.ethsecp256k1B\tKeysProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/crypto/ethsecp256k1\242\002\004ICVE\252\002%Injective.Crypto.V1beta1.Ethsecp256k1\312\002%Injective\\Crypto\\V1beta1\\Ethsecp256k1\342\0021Injective\\Crypto\\V1beta1\\Ethsecp256k1\\GPBMetadata\352\002(Injective::Crypto::V1beta1::Ethsecp256k1" - ) - _globals["_PUBKEY"]._loaded_options = None - _globals["_PUBKEY"]._serialized_options = ( - b"\230\240\037\000\212\347\260*\034injective/PubKeyEthSecp256k1\222\347\260*\tkey_field" - ) - _globals["_PRIVKEY"]._loaded_options = None - _globals["_PRIVKEY"]._serialized_options = b"\212\347\260*\035injective/PrivKeyEthSecp256k1\222\347\260*\tkey_field" - _globals["_PUBKEY"]._serialized_start = 132 - _globals["_PUBKEY"]._serialized_end = 211 - _globals["_PRIVKEY"]._serialized_start = 213 - _globals["_PRIVKEY"]._serialized_end = 290 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n)com.injective.crypto.v1beta1.ethsecp256k1B\tKeysProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/crypto/ethsecp256k1\242\002\004ICVE\252\002%Injective.Crypto.V1beta1.Ethsecp256k1\312\002%Injective\\Crypto\\V1beta1\\Ethsecp256k1\342\0021Injective\\Crypto\\V1beta1\\Ethsecp256k1\\GPBMetadata\352\002(Injective::Crypto::V1beta1::Ethsecp256k1' + _globals['_PUBKEY']._loaded_options = None + _globals['_PUBKEY']._serialized_options = b'\230\240\037\000\212\347\260*\034injective/PubKeyEthSecp256k1\222\347\260*\tkey_field' + _globals['_PRIVKEY']._loaded_options = None + _globals['_PRIVKEY']._serialized_options = b'\212\347\260*\035injective/PrivKeyEthSecp256k1\222\347\260*\tkey_field' + _globals['_PUBKEY']._serialized_start=132 + _globals['_PUBKEY']._serialized_end=211 + _globals['_PRIVKEY']._serialized_start=213 + _globals['_PRIVKEY']._serialized_end=290 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2_grpc.py b/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2_grpc.py +++ b/pyinjective/proto/injective/crypto/v1beta1/ethsecp256k1/keys_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py index 246cf94d..6fa71602 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/authz_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,82 +16,56 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&injective/exchange/v1beta1/authz.proto\x12\x1ainjective.exchange.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\x99\x01\n\x19\x43reateSpotLimitOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:8\xca\xb4-\rAuthorization\x8a\xe7\xb0*"exchange/CreateSpotLimitOrderAuthz"\x9b\x01\n\x1a\x43reateSpotMarketOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/CreateSpotMarketOrderAuthz"\xa5\x01\n\x1f\x42\x61tchCreateSpotLimitOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:>\xca\xb4-\rAuthorization\x8a\xe7\xb0*(exchange/BatchCreateSpotLimitOrdersAuthz"\x8f\x01\n\x14\x43\x61ncelSpotOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:3\xca\xb4-\rAuthorization\x8a\xe7\xb0*\x1d\x65xchange/CancelSpotOrderAuthz"\x9b\x01\n\x1a\x42\x61tchCancelSpotOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/BatchCancelSpotOrdersAuthz"\xa5\x01\n\x1f\x43reateDerivativeLimitOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:>\xca\xb4-\rAuthorization\x8a\xe7\xb0*(exchange/CreateDerivativeLimitOrderAuthz"\xa7\x01\n CreateDerivativeMarketOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:?\xca\xb4-\rAuthorization\x8a\xe7\xb0*)exchange/CreateDerivativeMarketOrderAuthz"\xb1\x01\n%BatchCreateDerivativeLimitOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:D\xca\xb4-\rAuthorization\x8a\xe7\xb0*.exchange/BatchCreateDerivativeLimitOrdersAuthz"\x9b\x01\n\x1a\x43\x61ncelDerivativeOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/CancelDerivativeOrderAuthz"\xa7\x01\n BatchCancelDerivativeOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:?\xca\xb4-\rAuthorization\x8a\xe7\xb0*)exchange/BatchCancelDerivativeOrdersAuthz"\xc6\x01\n\x16\x42\x61tchUpdateOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12!\n\x0cspot_markets\x18\x02 \x03(\tR\x0bspotMarkets\x12-\n\x12\x64\x65rivative_markets\x18\x03 \x03(\tR\x11\x64\x65rivativeMarkets:5\xca\xb4-\rAuthorization\x8a\xe7\xb0*\x1f\x65xchange/BatchUpdateOrdersAuthzB\x86\x02\n\x1e\x63om.injective.exchange.v1beta1B\nAuthzProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&injective/exchange/v1beta1/authz.proto\x12\x1ainjective.exchange.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\x99\x01\n\x19\x43reateSpotLimitOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:8\xca\xb4-\rAuthorization\x8a\xe7\xb0*\"exchange/CreateSpotLimitOrderAuthz\"\x9b\x01\n\x1a\x43reateSpotMarketOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/CreateSpotMarketOrderAuthz\"\xa5\x01\n\x1f\x42\x61tchCreateSpotLimitOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:>\xca\xb4-\rAuthorization\x8a\xe7\xb0*(exchange/BatchCreateSpotLimitOrdersAuthz\"\x8f\x01\n\x14\x43\x61ncelSpotOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:3\xca\xb4-\rAuthorization\x8a\xe7\xb0*\x1d\x65xchange/CancelSpotOrderAuthz\"\x9b\x01\n\x1a\x42\x61tchCancelSpotOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/BatchCancelSpotOrdersAuthz\"\xa5\x01\n\x1f\x43reateDerivativeLimitOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:>\xca\xb4-\rAuthorization\x8a\xe7\xb0*(exchange/CreateDerivativeLimitOrderAuthz\"\xa7\x01\n CreateDerivativeMarketOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:?\xca\xb4-\rAuthorization\x8a\xe7\xb0*)exchange/CreateDerivativeMarketOrderAuthz\"\xb1\x01\n%BatchCreateDerivativeLimitOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:D\xca\xb4-\rAuthorization\x8a\xe7\xb0*.exchange/BatchCreateDerivativeLimitOrdersAuthz\"\x9b\x01\n\x1a\x43\x61ncelDerivativeOrderAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:9\xca\xb4-\rAuthorization\x8a\xe7\xb0*#exchange/CancelDerivativeOrderAuthz\"\xa7\x01\n BatchCancelDerivativeOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds:?\xca\xb4-\rAuthorization\x8a\xe7\xb0*)exchange/BatchCancelDerivativeOrdersAuthz\"\xc6\x01\n\x16\x42\x61tchUpdateOrdersAuthz\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12!\n\x0cspot_markets\x18\x02 \x03(\tR\x0bspotMarkets\x12-\n\x12\x64\x65rivative_markets\x18\x03 \x03(\tR\x11\x64\x65rivativeMarkets:5\xca\xb4-\rAuthorization\x8a\xe7\xb0*\x1f\x65xchange/BatchUpdateOrdersAuthzB\x86\x02\n\x1e\x63om.injective.exchange.v1beta1B\nAuthzProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.exchange.v1beta1.authz_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.authz_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\036com.injective.exchange.v1beta1B\nAuthzProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1" - ) - _globals["_CREATESPOTLIMITORDERAUTHZ"]._loaded_options = None - _globals["_CREATESPOTLIMITORDERAUTHZ"]._serialized_options = ( - b'\312\264-\rAuthorization\212\347\260*"exchange/CreateSpotLimitOrderAuthz' - ) - _globals["_CREATESPOTMARKETORDERAUTHZ"]._loaded_options = None - _globals["_CREATESPOTMARKETORDERAUTHZ"]._serialized_options = ( - b"\312\264-\rAuthorization\212\347\260*#exchange/CreateSpotMarketOrderAuthz" - ) - _globals["_BATCHCREATESPOTLIMITORDERSAUTHZ"]._loaded_options = None - _globals["_BATCHCREATESPOTLIMITORDERSAUTHZ"]._serialized_options = ( - b"\312\264-\rAuthorization\212\347\260*(exchange/BatchCreateSpotLimitOrdersAuthz" - ) - _globals["_CANCELSPOTORDERAUTHZ"]._loaded_options = None - _globals["_CANCELSPOTORDERAUTHZ"]._serialized_options = ( - b"\312\264-\rAuthorization\212\347\260*\035exchange/CancelSpotOrderAuthz" - ) - _globals["_BATCHCANCELSPOTORDERSAUTHZ"]._loaded_options = None - _globals["_BATCHCANCELSPOTORDERSAUTHZ"]._serialized_options = ( - b"\312\264-\rAuthorization\212\347\260*#exchange/BatchCancelSpotOrdersAuthz" - ) - _globals["_CREATEDERIVATIVELIMITORDERAUTHZ"]._loaded_options = None - _globals["_CREATEDERIVATIVELIMITORDERAUTHZ"]._serialized_options = ( - b"\312\264-\rAuthorization\212\347\260*(exchange/CreateDerivativeLimitOrderAuthz" - ) - _globals["_CREATEDERIVATIVEMARKETORDERAUTHZ"]._loaded_options = None - _globals["_CREATEDERIVATIVEMARKETORDERAUTHZ"]._serialized_options = ( - b"\312\264-\rAuthorization\212\347\260*)exchange/CreateDerivativeMarketOrderAuthz" - ) - _globals["_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ"]._loaded_options = None - _globals["_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ"]._serialized_options = ( - b"\312\264-\rAuthorization\212\347\260*.exchange/BatchCreateDerivativeLimitOrdersAuthz" - ) - _globals["_CANCELDERIVATIVEORDERAUTHZ"]._loaded_options = None - _globals["_CANCELDERIVATIVEORDERAUTHZ"]._serialized_options = ( - b"\312\264-\rAuthorization\212\347\260*#exchange/CancelDerivativeOrderAuthz" - ) - _globals["_BATCHCANCELDERIVATIVEORDERSAUTHZ"]._loaded_options = None - _globals["_BATCHCANCELDERIVATIVEORDERSAUTHZ"]._serialized_options = ( - b"\312\264-\rAuthorization\212\347\260*)exchange/BatchCancelDerivativeOrdersAuthz" - ) - _globals["_BATCHUPDATEORDERSAUTHZ"]._loaded_options = None - _globals["_BATCHUPDATEORDERSAUTHZ"]._serialized_options = ( - b"\312\264-\rAuthorization\212\347\260*\037exchange/BatchUpdateOrdersAuthz" - ) - _globals["_CREATESPOTLIMITORDERAUTHZ"]._serialized_start = 117 - _globals["_CREATESPOTLIMITORDERAUTHZ"]._serialized_end = 270 - _globals["_CREATESPOTMARKETORDERAUTHZ"]._serialized_start = 273 - _globals["_CREATESPOTMARKETORDERAUTHZ"]._serialized_end = 428 - _globals["_BATCHCREATESPOTLIMITORDERSAUTHZ"]._serialized_start = 431 - _globals["_BATCHCREATESPOTLIMITORDERSAUTHZ"]._serialized_end = 596 - _globals["_CANCELSPOTORDERAUTHZ"]._serialized_start = 599 - _globals["_CANCELSPOTORDERAUTHZ"]._serialized_end = 742 - _globals["_BATCHCANCELSPOTORDERSAUTHZ"]._serialized_start = 745 - _globals["_BATCHCANCELSPOTORDERSAUTHZ"]._serialized_end = 900 - _globals["_CREATEDERIVATIVELIMITORDERAUTHZ"]._serialized_start = 903 - _globals["_CREATEDERIVATIVELIMITORDERAUTHZ"]._serialized_end = 1068 - _globals["_CREATEDERIVATIVEMARKETORDERAUTHZ"]._serialized_start = 1071 - _globals["_CREATEDERIVATIVEMARKETORDERAUTHZ"]._serialized_end = 1238 - _globals["_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ"]._serialized_start = 1241 - _globals["_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ"]._serialized_end = 1418 - _globals["_CANCELDERIVATIVEORDERAUTHZ"]._serialized_start = 1421 - _globals["_CANCELDERIVATIVEORDERAUTHZ"]._serialized_end = 1576 - _globals["_BATCHCANCELDERIVATIVEORDERSAUTHZ"]._serialized_start = 1579 - _globals["_BATCHCANCELDERIVATIVEORDERSAUTHZ"]._serialized_end = 1746 - _globals["_BATCHUPDATEORDERSAUTHZ"]._serialized_start = 1749 - _globals["_BATCHUPDATEORDERSAUTHZ"]._serialized_end = 1947 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\nAuthzProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' + _globals['_CREATESPOTLIMITORDERAUTHZ']._loaded_options = None + _globals['_CREATESPOTLIMITORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*\"exchange/CreateSpotLimitOrderAuthz' + _globals['_CREATESPOTMARKETORDERAUTHZ']._loaded_options = None + _globals['_CREATESPOTMARKETORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*#exchange/CreateSpotMarketOrderAuthz' + _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._loaded_options = None + _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*(exchange/BatchCreateSpotLimitOrdersAuthz' + _globals['_CANCELSPOTORDERAUTHZ']._loaded_options = None + _globals['_CANCELSPOTORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*\035exchange/CancelSpotOrderAuthz' + _globals['_BATCHCANCELSPOTORDERSAUTHZ']._loaded_options = None + _globals['_BATCHCANCELSPOTORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*#exchange/BatchCancelSpotOrdersAuthz' + _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._loaded_options = None + _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*(exchange/CreateDerivativeLimitOrderAuthz' + _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._loaded_options = None + _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*)exchange/CreateDerivativeMarketOrderAuthz' + _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._loaded_options = None + _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*.exchange/BatchCreateDerivativeLimitOrdersAuthz' + _globals['_CANCELDERIVATIVEORDERAUTHZ']._loaded_options = None + _globals['_CANCELDERIVATIVEORDERAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*#exchange/CancelDerivativeOrderAuthz' + _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._loaded_options = None + _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*)exchange/BatchCancelDerivativeOrdersAuthz' + _globals['_BATCHUPDATEORDERSAUTHZ']._loaded_options = None + _globals['_BATCHUPDATEORDERSAUTHZ']._serialized_options = b'\312\264-\rAuthorization\212\347\260*\037exchange/BatchUpdateOrdersAuthz' + _globals['_CREATESPOTLIMITORDERAUTHZ']._serialized_start=117 + _globals['_CREATESPOTLIMITORDERAUTHZ']._serialized_end=270 + _globals['_CREATESPOTMARKETORDERAUTHZ']._serialized_start=273 + _globals['_CREATESPOTMARKETORDERAUTHZ']._serialized_end=428 + _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._serialized_start=431 + _globals['_BATCHCREATESPOTLIMITORDERSAUTHZ']._serialized_end=596 + _globals['_CANCELSPOTORDERAUTHZ']._serialized_start=599 + _globals['_CANCELSPOTORDERAUTHZ']._serialized_end=742 + _globals['_BATCHCANCELSPOTORDERSAUTHZ']._serialized_start=745 + _globals['_BATCHCANCELSPOTORDERSAUTHZ']._serialized_end=900 + _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._serialized_start=903 + _globals['_CREATEDERIVATIVELIMITORDERAUTHZ']._serialized_end=1068 + _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._serialized_start=1071 + _globals['_CREATEDERIVATIVEMARKETORDERAUTHZ']._serialized_end=1238 + _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._serialized_start=1241 + _globals['_BATCHCREATEDERIVATIVELIMITORDERSAUTHZ']._serialized_end=1418 + _globals['_CANCELDERIVATIVEORDERAUTHZ']._serialized_start=1421 + _globals['_CANCELDERIVATIVEORDERAUTHZ']._serialized_end=1576 + _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._serialized_start=1579 + _globals['_BATCHCANCELDERIVATIVEORDERSAUTHZ']._serialized_end=1746 + _globals['_BATCHUPDATEORDERSAUTHZ']._serialized_start=1749 + _globals['_BATCHUPDATEORDERSAUTHZ']._serialized_end=1947 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/authz_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/authz_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/authz_pb2_grpc.py +++ b/pyinjective/proto/injective/exchange/v1beta1/authz_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py index 92900f3d..a500fb8d 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,167 +15,135 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -from pyinjective.proto.injective.exchange.v1beta1 import ( - exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2, -) +from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\'injective/exchange/v1beta1/events.proto\x12\x1ainjective.exchange.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a)injective/exchange/v1beta1/exchange.proto"\xdc\x01\n\x17\x45ventBatchSpotExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12O\n\rexecutionType\x18\x03 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionTypeR\rexecutionType\x12<\n\x06trades\x18\x04 \x03(\x0b\x32$.injective.exchange.v1beta1.TradeLogR\x06trades"\xe7\x02\n\x1d\x45ventBatchDerivativeExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12%\n\x0eis_liquidation\x18\x03 \x01(\x08R\risLiquidation\x12R\n\x12\x63umulative_funding\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12O\n\rexecutionType\x18\x05 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionTypeR\rexecutionType\x12\x46\n\x06trades\x18\x06 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativeTradeLogR\x06trades"\xc2\x02\n\x1d\x45ventLostFundsFromLiquidation\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12x\n\'lost_funds_from_available_during_payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR"lostFundsFromAvailableDuringPayout\x12\x65\n\x1dlost_funds_from_order_cancels\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19lostFundsFromOrderCancels"\x89\x01\n\x1c\x45ventBatchDerivativePosition\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\tpositions\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.SubaccountPositionR\tpositions"\xbb\x01\n\x1b\x45ventDerivativeMarketPaused\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12.\n\x13total_missing_funds\x18\x03 \x01(\tR\x11totalMissingFunds\x12,\n\x12missing_funds_rate\x18\x04 \x01(\tR\x10missingFundsRate"\x8f\x01\n\x1b\x45ventMarketBeyondBankruptcy\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12\x30\n\x14missing_market_funds\x18\x03 \x01(\tR\x12missingMarketFunds"\x88\x01\n\x18\x45ventAllPositionsHaircut\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12,\n\x12missing_funds_rate\x18\x03 \x01(\tR\x10missingFundsRate"o\n\x1e\x45ventBinaryOptionsMarketUpdate\x12M\n\x06market\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketB\x04\xc8\xde\x1f\x00R\x06market"\xc9\x01\n\x12\x45ventNewSpotOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12I\n\nbuy_orders\x18\x02 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\tbuyOrders\x12K\n\x0bsell_orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\nsellOrders"\xdb\x01\n\x18\x45ventNewDerivativeOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12O\n\nbuy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\tbuyOrders\x12Q\n\x0bsell_orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\nsellOrders"{\n\x14\x45ventCancelSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order"]\n\x15\x45ventSpotMarketUpdate\x12\x44\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketB\x04\xc8\xde\x1f\x00R\x06market"\xa7\x02\n\x1a\x45ventPerpetualMarketUpdate\x12J\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12i\n\x15perpetual_market_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x01R\x13perpetualMarketInfo\x12R\n\x07\x66unding\x18\x03 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x01R\x07\x66unding"\xe4\x01\n\x1e\x45ventExpiryFuturesMarketUpdate\x12J\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12v\n\x1a\x65xpiry_futures_market_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x01R\x17\x65xpiryFuturesMarketInfo"\xcc\x02\n!EventPerpetualMarketFundingUpdate\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12R\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x07\x66unding\x12*\n\x11is_hourly_funding\x18\x03 \x01(\x08R\x0fisHourlyFunding\x12\x46\n\x0c\x66unding_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x66undingRate\x12\x42\n\nmark_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice"\x97\x01\n\x16\x45ventSubaccountDeposit\x12\x1f\n\x0bsrc_address\x18\x01 \x01(\tR\nsrcAddress\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"\x98\x01\n\x17\x45ventSubaccountWithdraw\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12\x1f\n\x0b\x64st_address\x18\x02 \x01(\tR\ndstAddress\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"\xb1\x01\n\x1e\x45ventSubaccountBalanceTransfer\x12*\n\x11src_subaccount_id\x18\x01 \x01(\tR\x0fsrcSubaccountId\x12*\n\x11\x64st_subaccount_id\x18\x02 \x01(\tR\x0f\x64stSubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"m\n\x17\x45ventBatchDepositUpdate\x12R\n\x0f\x64\x65posit_updates\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DepositUpdateR\x0e\x64\x65positUpdates"\xc7\x01\n\x1b\x44\x65rivativeMarketOrderCancel\x12Z\n\x0cmarket_order\x18\x01 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\x12L\n\x0f\x63\x61ncel_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x63\x61ncelQuantity"\xa7\x02\n\x1a\x45ventCancelDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12W\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12m\n\x13market_order_cancel\x18\x04 \x01(\x0b\x32\x37.injective.exchange.v1beta1.DerivativeMarketOrderCancelB\x04\xc8\xde\x1f\x01R\x11marketOrderCancel"g\n\x18\x45ventFeeDiscountSchedule\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x08schedule"\xe2\x01\n EventTradingRewardCampaignUpdate\x12Z\n\rcampaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12\x62\n\x15\x63\x61mpaign_reward_pools\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools"u\n\x1e\x45ventTradingRewardDistribution\x12S\n\x0f\x61\x63\x63ount_rewards\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.AccountRewardsR\x0e\x61\x63\x63ountRewards"\xb5\x01\n"EventNewConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderR\x05order\x12\x12\n\x04hash\x18\x03 \x01(\x0cR\x04hash\x12\x1b\n\tis_market\x18\x04 \x01(\x08R\x08isMarket"\x9f\x02\n%EventCancelConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12W\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12Z\n\x0cmarket_order\x18\x04 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder"\xfb\x01\n&EventConditionalDerivativeOrderTrigger\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12&\n\x0eisLimitTrigger\x18\x02 \x01(\x08R\x0eisLimitTrigger\x12\x30\n\x14triggered_order_hash\x18\x03 \x01(\x0cR\x12triggeredOrderHash\x12*\n\x11placed_order_hash\x18\x04 \x01(\x0cR\x0fplacedOrderHash\x12.\n\x13triggered_order_cid\x18\x05 \x01(\tR\x11triggeredOrderCid"l\n\x0e\x45ventOrderFail\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0cR\x07\x61\x63\x63ount\x12\x16\n\x06hashes\x18\x02 \x03(\x0cR\x06hashes\x12\x14\n\x05\x66lags\x18\x03 \x03(\rR\x05\x66lags\x12\x12\n\x04\x63ids\x18\x04 \x03(\tR\x04\x63ids"\x94\x01\n+EventAtomicMarketOrderFeeMultipliersUpdated\x12\x65\n\x16market_fee_multipliers\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers"\xc2\x01\n\x14\x45ventOrderbookUpdate\x12N\n\x0cspot_updates\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdateR\x0bspotUpdates\x12Z\n\x12\x64\x65rivative_updates\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdateR\x11\x64\x65rivativeUpdates"h\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x43\n\torderbook\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderbookR\torderbook"\xae\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12@\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\tbuyLevels\x12\x42\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\nsellLevels"|\n\x18\x45ventGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants"\x81\x01\n\x14\x45ventGrantActivation\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount"G\n\x11\x45ventInvalidGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter"\xab\x01\n\x14\x45ventOrderCancelFail\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scriptionB\x87\x02\n\x1e\x63om.injective.exchange.v1beta1B\x0b\x45ventsProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/exchange/v1beta1/events.proto\x12\x1ainjective.exchange.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a)injective/exchange/v1beta1/exchange.proto\"\xdc\x01\n\x17\x45ventBatchSpotExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12O\n\rexecutionType\x18\x03 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionTypeR\rexecutionType\x12<\n\x06trades\x18\x04 \x03(\x0b\x32$.injective.exchange.v1beta1.TradeLogR\x06trades\"\xe7\x02\n\x1d\x45ventBatchDerivativeExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12%\n\x0eis_liquidation\x18\x03 \x01(\x08R\risLiquidation\x12R\n\x12\x63umulative_funding\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12O\n\rexecutionType\x18\x05 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionTypeR\rexecutionType\x12\x46\n\x06trades\x18\x06 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativeTradeLogR\x06trades\"\xc2\x02\n\x1d\x45ventLostFundsFromLiquidation\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12x\n\'lost_funds_from_available_during_payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"lostFundsFromAvailableDuringPayout\x12\x65\n\x1dlost_funds_from_order_cancels\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19lostFundsFromOrderCancels\"\x89\x01\n\x1c\x45ventBatchDerivativePosition\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\tpositions\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.SubaccountPositionR\tpositions\"\xbb\x01\n\x1b\x45ventDerivativeMarketPaused\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12.\n\x13total_missing_funds\x18\x03 \x01(\tR\x11totalMissingFunds\x12,\n\x12missing_funds_rate\x18\x04 \x01(\tR\x10missingFundsRate\"\x8f\x01\n\x1b\x45ventMarketBeyondBankruptcy\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12\x30\n\x14missing_market_funds\x18\x03 \x01(\tR\x12missingMarketFunds\"\x88\x01\n\x18\x45ventAllPositionsHaircut\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12,\n\x12missing_funds_rate\x18\x03 \x01(\tR\x10missingFundsRate\"o\n\x1e\x45ventBinaryOptionsMarketUpdate\x12M\n\x06market\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketB\x04\xc8\xde\x1f\x00R\x06market\"\xc9\x01\n\x12\x45ventNewSpotOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12I\n\nbuy_orders\x18\x02 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\tbuyOrders\x12K\n\x0bsell_orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\nsellOrders\"\xdb\x01\n\x18\x45ventNewDerivativeOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12O\n\nbuy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\tbuyOrders\x12Q\n\x0bsell_orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\nsellOrders\"{\n\x14\x45ventCancelSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\"]\n\x15\x45ventSpotMarketUpdate\x12\x44\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketB\x04\xc8\xde\x1f\x00R\x06market\"\xa7\x02\n\x1a\x45ventPerpetualMarketUpdate\x12J\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12i\n\x15perpetual_market_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x01R\x13perpetualMarketInfo\x12R\n\x07\x66unding\x18\x03 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x01R\x07\x66unding\"\xe4\x01\n\x1e\x45ventExpiryFuturesMarketUpdate\x12J\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12v\n\x1a\x65xpiry_futures_market_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x01R\x17\x65xpiryFuturesMarketInfo\"\xcc\x02\n!EventPerpetualMarketFundingUpdate\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12R\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x07\x66unding\x12*\n\x11is_hourly_funding\x18\x03 \x01(\x08R\x0fisHourlyFunding\x12\x46\n\x0c\x66unding_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x66undingRate\x12\x42\n\nmark_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\"\x97\x01\n\x16\x45ventSubaccountDeposit\x12\x1f\n\x0bsrc_address\x18\x01 \x01(\tR\nsrcAddress\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\x98\x01\n\x17\x45ventSubaccountWithdraw\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12\x1f\n\x0b\x64st_address\x18\x02 \x01(\tR\ndstAddress\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\xb1\x01\n\x1e\x45ventSubaccountBalanceTransfer\x12*\n\x11src_subaccount_id\x18\x01 \x01(\tR\x0fsrcSubaccountId\x12*\n\x11\x64st_subaccount_id\x18\x02 \x01(\tR\x0f\x64stSubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"m\n\x17\x45ventBatchDepositUpdate\x12R\n\x0f\x64\x65posit_updates\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DepositUpdateR\x0e\x64\x65positUpdates\"\xc7\x01\n\x1b\x44\x65rivativeMarketOrderCancel\x12Z\n\x0cmarket_order\x18\x01 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\x12L\n\x0f\x63\x61ncel_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x63\x61ncelQuantity\"\xa7\x02\n\x1a\x45ventCancelDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12W\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12m\n\x13market_order_cancel\x18\x04 \x01(\x0b\x32\x37.injective.exchange.v1beta1.DerivativeMarketOrderCancelB\x04\xc8\xde\x1f\x01R\x11marketOrderCancel\"g\n\x18\x45ventFeeDiscountSchedule\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x08schedule\"\xe2\x01\n EventTradingRewardCampaignUpdate\x12Z\n\rcampaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12\x62\n\x15\x63\x61mpaign_reward_pools\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools\"u\n\x1e\x45ventTradingRewardDistribution\x12S\n\x0f\x61\x63\x63ount_rewards\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.AccountRewardsR\x0e\x61\x63\x63ountRewards\"\xb5\x01\n\"EventNewConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderR\x05order\x12\x12\n\x04hash\x18\x03 \x01(\x0cR\x04hash\x12\x1b\n\tis_market\x18\x04 \x01(\x08R\x08isMarket\"\x9f\x02\n%EventCancelConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12W\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12Z\n\x0cmarket_order\x18\x04 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\"\xfb\x01\n&EventConditionalDerivativeOrderTrigger\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12&\n\x0eisLimitTrigger\x18\x02 \x01(\x08R\x0eisLimitTrigger\x12\x30\n\x14triggered_order_hash\x18\x03 \x01(\x0cR\x12triggeredOrderHash\x12*\n\x11placed_order_hash\x18\x04 \x01(\x0cR\x0fplacedOrderHash\x12.\n\x13triggered_order_cid\x18\x05 \x01(\tR\x11triggeredOrderCid\"l\n\x0e\x45ventOrderFail\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0cR\x07\x61\x63\x63ount\x12\x16\n\x06hashes\x18\x02 \x03(\x0cR\x06hashes\x12\x14\n\x05\x66lags\x18\x03 \x03(\rR\x05\x66lags\x12\x12\n\x04\x63ids\x18\x04 \x03(\tR\x04\x63ids\"\x94\x01\n+EventAtomicMarketOrderFeeMultipliersUpdated\x12\x65\n\x16market_fee_multipliers\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers\"\xc2\x01\n\x14\x45ventOrderbookUpdate\x12N\n\x0cspot_updates\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdateR\x0bspotUpdates\x12Z\n\x12\x64\x65rivative_updates\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdateR\x11\x64\x65rivativeUpdates\"h\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x43\n\torderbook\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderbookR\torderbook\"\xae\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12@\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\tbuyLevels\x12\x42\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\nsellLevels\"|\n\x18\x45ventGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants\"\x81\x01\n\x14\x45ventGrantActivation\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"G\n\x11\x45ventInvalidGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\"\xab\x01\n\x14\x45ventOrderCancelFail\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scriptionB\x87\x02\n\x1e\x63om.injective.exchange.v1beta1B\x0b\x45ventsProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.exchange.v1beta1.events_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.events_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\036com.injective.exchange.v1beta1B\013EventsProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1" - ) - _globals["_EVENTBATCHDERIVATIVEEXECUTION"].fields_by_name["cumulative_funding"]._loaded_options = None - _globals["_EVENTBATCHDERIVATIVEEXECUTION"].fields_by_name[ - "cumulative_funding" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EVENTLOSTFUNDSFROMLIQUIDATION"].fields_by_name[ - "lost_funds_from_available_during_payout" - ]._loaded_options = None - _globals["_EVENTLOSTFUNDSFROMLIQUIDATION"].fields_by_name[ - "lost_funds_from_available_during_payout" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EVENTLOSTFUNDSFROMLIQUIDATION"].fields_by_name["lost_funds_from_order_cancels"]._loaded_options = None - _globals["_EVENTLOSTFUNDSFROMLIQUIDATION"].fields_by_name[ - "lost_funds_from_order_cancels" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EVENTBINARYOPTIONSMARKETUPDATE"].fields_by_name["market"]._loaded_options = None - _globals["_EVENTBINARYOPTIONSMARKETUPDATE"].fields_by_name["market"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTCANCELSPOTORDER"].fields_by_name["order"]._loaded_options = None - _globals["_EVENTCANCELSPOTORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTSPOTMARKETUPDATE"].fields_by_name["market"]._loaded_options = None - _globals["_EVENTSPOTMARKETUPDATE"].fields_by_name["market"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTPERPETUALMARKETUPDATE"].fields_by_name["market"]._loaded_options = None - _globals["_EVENTPERPETUALMARKETUPDATE"].fields_by_name["market"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTPERPETUALMARKETUPDATE"].fields_by_name["perpetual_market_info"]._loaded_options = None - _globals["_EVENTPERPETUALMARKETUPDATE"].fields_by_name[ - "perpetual_market_info" - ]._serialized_options = b"\310\336\037\001" - _globals["_EVENTPERPETUALMARKETUPDATE"].fields_by_name["funding"]._loaded_options = None - _globals["_EVENTPERPETUALMARKETUPDATE"].fields_by_name["funding"]._serialized_options = b"\310\336\037\001" - _globals["_EVENTEXPIRYFUTURESMARKETUPDATE"].fields_by_name["market"]._loaded_options = None - _globals["_EVENTEXPIRYFUTURESMARKETUPDATE"].fields_by_name["market"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTEXPIRYFUTURESMARKETUPDATE"].fields_by_name["expiry_futures_market_info"]._loaded_options = None - _globals["_EVENTEXPIRYFUTURESMARKETUPDATE"].fields_by_name[ - "expiry_futures_market_info" - ]._serialized_options = b"\310\336\037\001" - _globals["_EVENTPERPETUALMARKETFUNDINGUPDATE"].fields_by_name["funding"]._loaded_options = None - _globals["_EVENTPERPETUALMARKETFUNDINGUPDATE"].fields_by_name["funding"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTPERPETUALMARKETFUNDINGUPDATE"].fields_by_name["funding_rate"]._loaded_options = None - _globals["_EVENTPERPETUALMARKETFUNDINGUPDATE"].fields_by_name[ - "funding_rate" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EVENTPERPETUALMARKETFUNDINGUPDATE"].fields_by_name["mark_price"]._loaded_options = None - _globals["_EVENTPERPETUALMARKETFUNDINGUPDATE"].fields_by_name[ - "mark_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EVENTSUBACCOUNTDEPOSIT"].fields_by_name["amount"]._loaded_options = None - _globals["_EVENTSUBACCOUNTDEPOSIT"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTSUBACCOUNTWITHDRAW"].fields_by_name["amount"]._loaded_options = None - _globals["_EVENTSUBACCOUNTWITHDRAW"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTSUBACCOUNTBALANCETRANSFER"].fields_by_name["amount"]._loaded_options = None - _globals["_EVENTSUBACCOUNTBALANCETRANSFER"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" - _globals["_DERIVATIVEMARKETORDERCANCEL"].fields_by_name["market_order"]._loaded_options = None - _globals["_DERIVATIVEMARKETORDERCANCEL"].fields_by_name["market_order"]._serialized_options = b"\310\336\037\001" - _globals["_DERIVATIVEMARKETORDERCANCEL"].fields_by_name["cancel_quantity"]._loaded_options = None - _globals["_DERIVATIVEMARKETORDERCANCEL"].fields_by_name[ - "cancel_quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EVENTCANCELDERIVATIVEORDER"].fields_by_name["limit_order"]._loaded_options = None - _globals["_EVENTCANCELDERIVATIVEORDER"].fields_by_name["limit_order"]._serialized_options = b"\310\336\037\001" - _globals["_EVENTCANCELDERIVATIVEORDER"].fields_by_name["market_order_cancel"]._loaded_options = None - _globals["_EVENTCANCELDERIVATIVEORDER"].fields_by_name[ - "market_order_cancel" - ]._serialized_options = b"\310\336\037\001" - _globals["_EVENTCANCELCONDITIONALDERIVATIVEORDER"].fields_by_name["limit_order"]._loaded_options = None - _globals["_EVENTCANCELCONDITIONALDERIVATIVEORDER"].fields_by_name[ - "limit_order" - ]._serialized_options = b"\310\336\037\001" - _globals["_EVENTCANCELCONDITIONALDERIVATIVEORDER"].fields_by_name["market_order"]._loaded_options = None - _globals["_EVENTCANCELCONDITIONALDERIVATIVEORDER"].fields_by_name[ - "market_order" - ]._serialized_options = b"\310\336\037\001" - _globals["_EVENTGRANTACTIVATION"].fields_by_name["amount"]._loaded_options = None - _globals["_EVENTGRANTACTIVATION"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_EVENTBATCHSPOTEXECUTION"]._serialized_start = 208 - _globals["_EVENTBATCHSPOTEXECUTION"]._serialized_end = 428 - _globals["_EVENTBATCHDERIVATIVEEXECUTION"]._serialized_start = 431 - _globals["_EVENTBATCHDERIVATIVEEXECUTION"]._serialized_end = 790 - _globals["_EVENTLOSTFUNDSFROMLIQUIDATION"]._serialized_start = 793 - _globals["_EVENTLOSTFUNDSFROMLIQUIDATION"]._serialized_end = 1115 - _globals["_EVENTBATCHDERIVATIVEPOSITION"]._serialized_start = 1118 - _globals["_EVENTBATCHDERIVATIVEPOSITION"]._serialized_end = 1255 - _globals["_EVENTDERIVATIVEMARKETPAUSED"]._serialized_start = 1258 - _globals["_EVENTDERIVATIVEMARKETPAUSED"]._serialized_end = 1445 - _globals["_EVENTMARKETBEYONDBANKRUPTCY"]._serialized_start = 1448 - _globals["_EVENTMARKETBEYONDBANKRUPTCY"]._serialized_end = 1591 - _globals["_EVENTALLPOSITIONSHAIRCUT"]._serialized_start = 1594 - _globals["_EVENTALLPOSITIONSHAIRCUT"]._serialized_end = 1730 - _globals["_EVENTBINARYOPTIONSMARKETUPDATE"]._serialized_start = 1732 - _globals["_EVENTBINARYOPTIONSMARKETUPDATE"]._serialized_end = 1843 - _globals["_EVENTNEWSPOTORDERS"]._serialized_start = 1846 - _globals["_EVENTNEWSPOTORDERS"]._serialized_end = 2047 - _globals["_EVENTNEWDERIVATIVEORDERS"]._serialized_start = 2050 - _globals["_EVENTNEWDERIVATIVEORDERS"]._serialized_end = 2269 - _globals["_EVENTCANCELSPOTORDER"]._serialized_start = 2271 - _globals["_EVENTCANCELSPOTORDER"]._serialized_end = 2394 - _globals["_EVENTSPOTMARKETUPDATE"]._serialized_start = 2396 - _globals["_EVENTSPOTMARKETUPDATE"]._serialized_end = 2489 - _globals["_EVENTPERPETUALMARKETUPDATE"]._serialized_start = 2492 - _globals["_EVENTPERPETUALMARKETUPDATE"]._serialized_end = 2787 - _globals["_EVENTEXPIRYFUTURESMARKETUPDATE"]._serialized_start = 2790 - _globals["_EVENTEXPIRYFUTURESMARKETUPDATE"]._serialized_end = 3018 - _globals["_EVENTPERPETUALMARKETFUNDINGUPDATE"]._serialized_start = 3021 - _globals["_EVENTPERPETUALMARKETFUNDINGUPDATE"]._serialized_end = 3353 - _globals["_EVENTSUBACCOUNTDEPOSIT"]._serialized_start = 3356 - _globals["_EVENTSUBACCOUNTDEPOSIT"]._serialized_end = 3507 - _globals["_EVENTSUBACCOUNTWITHDRAW"]._serialized_start = 3510 - _globals["_EVENTSUBACCOUNTWITHDRAW"]._serialized_end = 3662 - _globals["_EVENTSUBACCOUNTBALANCETRANSFER"]._serialized_start = 3665 - _globals["_EVENTSUBACCOUNTBALANCETRANSFER"]._serialized_end = 3842 - _globals["_EVENTBATCHDEPOSITUPDATE"]._serialized_start = 3844 - _globals["_EVENTBATCHDEPOSITUPDATE"]._serialized_end = 3953 - _globals["_DERIVATIVEMARKETORDERCANCEL"]._serialized_start = 3956 - _globals["_DERIVATIVEMARKETORDERCANCEL"]._serialized_end = 4155 - _globals["_EVENTCANCELDERIVATIVEORDER"]._serialized_start = 4158 - _globals["_EVENTCANCELDERIVATIVEORDER"]._serialized_end = 4453 - _globals["_EVENTFEEDISCOUNTSCHEDULE"]._serialized_start = 4455 - _globals["_EVENTFEEDISCOUNTSCHEDULE"]._serialized_end = 4558 - _globals["_EVENTTRADINGREWARDCAMPAIGNUPDATE"]._serialized_start = 4561 - _globals["_EVENTTRADINGREWARDCAMPAIGNUPDATE"]._serialized_end = 4787 - _globals["_EVENTTRADINGREWARDDISTRIBUTION"]._serialized_start = 4789 - _globals["_EVENTTRADINGREWARDDISTRIBUTION"]._serialized_end = 4906 - _globals["_EVENTNEWCONDITIONALDERIVATIVEORDER"]._serialized_start = 4909 - _globals["_EVENTNEWCONDITIONALDERIVATIVEORDER"]._serialized_end = 5090 - _globals["_EVENTCANCELCONDITIONALDERIVATIVEORDER"]._serialized_start = 5093 - _globals["_EVENTCANCELCONDITIONALDERIVATIVEORDER"]._serialized_end = 5380 - _globals["_EVENTCONDITIONALDERIVATIVEORDERTRIGGER"]._serialized_start = 5383 - _globals["_EVENTCONDITIONALDERIVATIVEORDERTRIGGER"]._serialized_end = 5634 - _globals["_EVENTORDERFAIL"]._serialized_start = 5636 - _globals["_EVENTORDERFAIL"]._serialized_end = 5744 - _globals["_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED"]._serialized_start = 5747 - _globals["_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED"]._serialized_end = 5895 - _globals["_EVENTORDERBOOKUPDATE"]._serialized_start = 5898 - _globals["_EVENTORDERBOOKUPDATE"]._serialized_end = 6092 - _globals["_ORDERBOOKUPDATE"]._serialized_start = 6094 - _globals["_ORDERBOOKUPDATE"]._serialized_end = 6198 - _globals["_ORDERBOOK"]._serialized_start = 6201 - _globals["_ORDERBOOK"]._serialized_end = 6375 - _globals["_EVENTGRANTAUTHORIZATIONS"]._serialized_start = 6377 - _globals["_EVENTGRANTAUTHORIZATIONS"]._serialized_end = 6501 - _globals["_EVENTGRANTACTIVATION"]._serialized_start = 6504 - _globals["_EVENTGRANTACTIVATION"]._serialized_end = 6633 - _globals["_EVENTINVALIDGRANT"]._serialized_start = 6635 - _globals["_EVENTINVALIDGRANT"]._serialized_end = 6706 - _globals["_EVENTORDERCANCELFAIL"]._serialized_start = 6709 - _globals["_EVENTORDERCANCELFAIL"]._serialized_end = 6880 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\013EventsProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' + _globals['_EVENTBATCHDERIVATIVEEXECUTION'].fields_by_name['cumulative_funding']._loaded_options = None + _globals['_EVENTBATCHDERIVATIVEEXECUTION'].fields_by_name['cumulative_funding']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_available_during_payout']._loaded_options = None + _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_available_during_payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_order_cancels']._loaded_options = None + _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_order_cancels']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTBINARYOPTIONSMARKETUPDATE'].fields_by_name['market']._loaded_options = None + _globals['_EVENTBINARYOPTIONSMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' + _globals['_EVENTCANCELSPOTORDER'].fields_by_name['order']._loaded_options = None + _globals['_EVENTCANCELSPOTORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_EVENTSPOTMARKETUPDATE'].fields_by_name['market']._loaded_options = None + _globals['_EVENTSPOTMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' + _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['market']._loaded_options = None + _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' + _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['perpetual_market_info']._loaded_options = None + _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['perpetual_market_info']._serialized_options = b'\310\336\037\001' + _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['funding']._loaded_options = None + _globals['_EVENTPERPETUALMARKETUPDATE'].fields_by_name['funding']._serialized_options = b'\310\336\037\001' + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE'].fields_by_name['market']._loaded_options = None + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE'].fields_by_name['expiry_futures_market_info']._loaded_options = None + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE'].fields_by_name['expiry_futures_market_info']._serialized_options = b'\310\336\037\001' + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['funding']._loaded_options = None + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['funding']._serialized_options = b'\310\336\037\000' + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['funding_rate']._loaded_options = None + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['funding_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['mark_price']._loaded_options = None + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE'].fields_by_name['mark_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTSUBACCOUNTDEPOSIT'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTSUBACCOUNTDEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_EVENTSUBACCOUNTWITHDRAW'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTSUBACCOUNTWITHDRAW'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_EVENTSUBACCOUNTBALANCETRANSFER'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTSUBACCOUNTBALANCETRANSFER'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['market_order']._loaded_options = None + _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['market_order']._serialized_options = b'\310\336\037\001' + _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['cancel_quantity']._loaded_options = None + _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['cancel_quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTCANCELDERIVATIVEORDER'].fields_by_name['limit_order']._loaded_options = None + _globals['_EVENTCANCELDERIVATIVEORDER'].fields_by_name['limit_order']._serialized_options = b'\310\336\037\001' + _globals['_EVENTCANCELDERIVATIVEORDER'].fields_by_name['market_order_cancel']._loaded_options = None + _globals['_EVENTCANCELDERIVATIVEORDER'].fields_by_name['market_order_cancel']._serialized_options = b'\310\336\037\001' + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER'].fields_by_name['limit_order']._loaded_options = None + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER'].fields_by_name['limit_order']._serialized_options = b'\310\336\037\001' + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER'].fields_by_name['market_order']._loaded_options = None + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER'].fields_by_name['market_order']._serialized_options = b'\310\336\037\001' + _globals['_EVENTGRANTACTIVATION'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTGRANTACTIVATION'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_EVENTBATCHSPOTEXECUTION']._serialized_start=208 + _globals['_EVENTBATCHSPOTEXECUTION']._serialized_end=428 + _globals['_EVENTBATCHDERIVATIVEEXECUTION']._serialized_start=431 + _globals['_EVENTBATCHDERIVATIVEEXECUTION']._serialized_end=790 + _globals['_EVENTLOSTFUNDSFROMLIQUIDATION']._serialized_start=793 + _globals['_EVENTLOSTFUNDSFROMLIQUIDATION']._serialized_end=1115 + _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_start=1118 + _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_end=1255 + _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_start=1258 + _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_end=1445 + _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_start=1448 + _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_end=1591 + _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_start=1594 + _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_end=1730 + _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_start=1732 + _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_end=1843 + _globals['_EVENTNEWSPOTORDERS']._serialized_start=1846 + _globals['_EVENTNEWSPOTORDERS']._serialized_end=2047 + _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_start=2050 + _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_end=2269 + _globals['_EVENTCANCELSPOTORDER']._serialized_start=2271 + _globals['_EVENTCANCELSPOTORDER']._serialized_end=2394 + _globals['_EVENTSPOTMARKETUPDATE']._serialized_start=2396 + _globals['_EVENTSPOTMARKETUPDATE']._serialized_end=2489 + _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_start=2492 + _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_end=2787 + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_start=2790 + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_end=3018 + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_start=3021 + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_end=3353 + _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_start=3356 + _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_end=3507 + _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_start=3510 + _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_end=3662 + _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_start=3665 + _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_end=3842 + _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_start=3844 + _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_end=3953 + _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_start=3956 + _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_end=4155 + _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_start=4158 + _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_end=4453 + _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_start=4455 + _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_end=4558 + _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_start=4561 + _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_end=4787 + _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_start=4789 + _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_end=4906 + _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_start=4909 + _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_end=5090 + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_start=5093 + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_end=5380 + _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_start=5383 + _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_end=5634 + _globals['_EVENTORDERFAIL']._serialized_start=5636 + _globals['_EVENTORDERFAIL']._serialized_end=5744 + _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_start=5747 + _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_end=5895 + _globals['_EVENTORDERBOOKUPDATE']._serialized_start=5898 + _globals['_EVENTORDERBOOKUPDATE']._serialized_end=6092 + _globals['_ORDERBOOKUPDATE']._serialized_start=6094 + _globals['_ORDERBOOKUPDATE']._serialized_end=6198 + _globals['_ORDERBOOK']._serialized_start=6201 + _globals['_ORDERBOOK']._serialized_end=6375 + _globals['_EVENTGRANTAUTHORIZATIONS']._serialized_start=6377 + _globals['_EVENTGRANTAUTHORIZATIONS']._serialized_end=6501 + _globals['_EVENTGRANTACTIVATION']._serialized_start=6504 + _globals['_EVENTGRANTACTIVATION']._serialized_end=6633 + _globals['_EVENTINVALIDGRANT']._serialized_start=6635 + _globals['_EVENTINVALIDGRANT']._serialized_end=6706 + _globals['_EVENTORDERCANCELFAIL']._serialized_start=6709 + _globals['_EVENTORDERCANCELFAIL']._serialized_end=6880 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/events_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/events_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/events_pb2_grpc.py +++ b/pyinjective/proto/injective/exchange/v1beta1/events_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py index 9e397ef8..7c6af0b8 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,616 +18,402 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -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\x1a\x11\x61mino/amino.proto"\xdd\x15\n\x06Params\x12\x65\n\x1fspot_market_instant_listing_fee\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x1bspotMarketInstantListingFee\x12q\n%derivative_market_instant_listing_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R!derivativeMarketInstantListingFee\x12\x61\n\x1b\x64\x65\x66\x61ult_spot_maker_fee_rate\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17\x64\x65\x66\x61ultSpotMakerFeeRate\x12\x61\n\x1b\x64\x65\x66\x61ult_spot_taker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17\x64\x65\x66\x61ultSpotTakerFeeRate\x12m\n!default_derivative_maker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultDerivativeMakerFeeRate\x12m\n!default_derivative_taker_fee_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultDerivativeTakerFeeRate\x12\x64\n\x1c\x64\x65\x66\x61ult_initial_margin_ratio\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19\x64\x65\x66\x61ultInitialMarginRatio\x12l\n default_maintenance_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultMaintenanceMarginRatio\x12\x38\n\x18\x64\x65\x66\x61ult_funding_interval\x18\t \x01(\x03R\x16\x64\x65\x66\x61ultFundingInterval\x12)\n\x10\x66unding_multiple\x18\n \x01(\x03R\x0f\x66undingMultiple\x12X\n\x16relayer_fee_share_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12i\n\x1f\x64\x65\x66\x61ult_hourly_funding_rate_cap\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1b\x64\x65\x66\x61ultHourlyFundingRateCap\x12\x64\n\x1c\x64\x65\x66\x61ult_hourly_interest_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19\x64\x65\x66\x61ultHourlyInterestRate\x12\x44\n\x1fmax_derivative_order_side_count\x18\x0e \x01(\rR\x1bmaxDerivativeOrderSideCount\x12s\n\'inj_reward_staked_requirement_threshold\x18\x0f \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR#injRewardStakedRequirementThreshold\x12G\n trading_rewards_vesting_duration\x18\x10 \x01(\x03R\x1dtradingRewardsVestingDuration\x12\x64\n\x1cliquidator_reward_share_rate\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19liquidatorRewardShareRate\x12x\n)binary_options_market_instant_listing_fee\x18\x12 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R$binaryOptionsMarketInstantListingFee\x12\x80\x01\n atomic_market_order_access_level\x18\x13 \x01(\x0e\x32\x38.injective.exchange.v1beta1.AtomicMarketOrderAccessLevelR\x1c\x61tomicMarketOrderAccessLevel\x12x\n\'spot_atomic_market_order_fee_multiplier\x18\x14 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR"spotAtomicMarketOrderFeeMultiplier\x12\x84\x01\n-derivative_atomic_market_order_fee_multiplier\x18\x15 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR(derivativeAtomicMarketOrderFeeMultiplier\x12\x8b\x01\n1binary_options_atomic_market_order_fee_multiplier\x18\x16 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR+binaryOptionsAtomicMarketOrderFeeMultiplier\x12^\n\x19minimal_protocol_fee_rate\x18\x17 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16minimalProtocolFeeRate\x12[\n+is_instant_derivative_market_launch_enabled\x18\x18 \x01(\x08R&isInstantDerivativeMarketLaunchEnabled\x12\x44\n\x1fpost_only_mode_height_threshold\x18\x19 \x01(\x03R\x1bpostOnlyModeHeightThreshold\x12g\n1margin_decrease_price_timestamp_threshold_seconds\x18\x1a \x01(\x03R,marginDecreasePriceTimestampThresholdSeconds\x12\'\n\x0f\x65xchange_admins\x18\x1b \x03(\tR\x0e\x65xchangeAdmins\x12L\n\x13inj_auction_max_cap\x18\x1c \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10injAuctionMaxCap:\x18\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0f\x65xchange/Params"\x84\x01\n\x13MarketFeeMultiplier\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\x0e\x66\x65\x65_multiplier\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rfeeMultiplier:\x04\x88\xa0\x1f\x00"\xec\x08\n\x10\x44\x65rivativeMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1f\n\x0boracle_base\x18\x02 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x03 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x05 \x01(\rR\x11oracleScaleFactor\x12\x1f\n\x0bquote_denom\x18\x06 \x01(\tR\nquoteDenom\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12U\n\x14initial_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12 \n\x0bisPerpetual\x18\r \x01(\x08R\x0bisPerpetual\x12@\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x14\n\x05\x61\x64min\x18\x12 \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\x13 \x01(\rR\x10\x61\x64minPermissions:\x04\x88\xa0\x1f\x00"\xd7\x08\n\x13\x42inaryOptionsMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x02 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x03 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x05 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x06 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\x07 \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\x08 \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\t \x01(\tR\nquoteDenom\x12\x1b\n\tmarket_id\x18\n \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12@\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12N\n\x10settlement_price\x18\x11 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x46\n\x0cmin_notional\x18\x12 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12+\n\x11\x61\x64min_permissions\x18\x13 \x01(\rR\x10\x61\x64minPermissions:\x04\x88\xa0\x1f\x00"\xe4\x02\n\x17\x45xpiryFuturesMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x31\n\x14\x65xpiration_timestamp\x18\x02 \x01(\x03R\x13\x65xpirationTimestamp\x12\x30\n\x14twap_start_timestamp\x18\x03 \x01(\x03R\x12twapStartTimestamp\x12w\n&expiration_twap_start_price_cumulative\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR"expirationTwapStartPriceCumulative\x12N\n\x10settlement_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice"\xc6\x02\n\x13PerpetualMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Z\n\x17hourly_funding_rate_cap\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14hourlyFundingRateCap\x12U\n\x14hourly_interest_rate\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12hourlyInterestRate\x12\x34\n\x16next_funding_timestamp\x18\x04 \x01(\x03R\x14nextFundingTimestamp\x12)\n\x10\x66unding_interval\x18\x05 \x01(\x03R\x0f\x66undingInterval"\xe3\x01\n\x16PerpetualMarketFunding\x12R\n\x12\x63umulative_funding\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12N\n\x10\x63umulative_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x63umulativePrice\x12%\n\x0elast_timestamp\x18\x03 \x01(\x03R\rlastTimestamp"\x8d\x01\n\x1e\x44\x65rivativeMarketSettlementInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice"=\n\x14NextFundingTimestamp\x12%\n\x0enext_timestamp\x18\x01 \x01(\x03R\rnextTimestamp"\xea\x01\n\x0eMidPriceAndTOB\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice"\xec\x05\n\nSpotMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x02 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12@\n\x06status\x18\x08 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x14\n\x05\x61\x64min\x18\x0c \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\r \x01(\rR\x10\x61\x64minPermissions"\xa5\x01\n\x07\x44\x65posit\x12P\n\x11\x61vailable_balance\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10\x61vailableBalance\x12H\n\rtotal_balance\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctotalBalance",\n\x14SubaccountTradeNonce\x12\x14\n\x05nonce\x18\x01 \x01(\rR\x05nonce"\xe3\x01\n\tOrderInfo\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12#\n\rfee_recipient\x18\x02 \x01(\tR\x0c\x66\x65\x65Recipient\x12\x39\n\x05price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id"\x84\x02\n\tSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12H\n\rtrigger_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice"\xcc\x02\n\x0eSpotLimitOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12?\n\x08\x66illable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12H\n\rtrigger_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash"\xd4\x02\n\x0fSpotMarketOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x46\n\x0c\x62\x61lance_hold\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\x12\x1d\n\norder_hash\x18\x03 \x01(\x0cR\torderHash\x12\x44\n\norder_type\x18\x04 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice"\xc7\x02\n\x0f\x44\x65rivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice"\xfc\x03\n\x1bSubaccountOrderbookMetadata\x12\x39\n\x19vanilla_limit_order_count\x18\x01 \x01(\rR\x16vanillaLimitOrderCount\x12@\n\x1dreduce_only_limit_order_count\x18\x02 \x01(\rR\x19reduceOnlyLimitOrderCount\x12h\n\x1e\x61ggregate_reduce_only_quantity\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1b\x61ggregateReduceOnlyQuantity\x12\x61\n\x1a\x61ggregate_vanilla_quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x18\x61ggregateVanillaQuantity\x12\x45\n\x1fvanilla_conditional_order_count\x18\x05 \x01(\rR\x1cvanillaConditionalOrderCount\x12L\n#reduce_only_conditional_order_count\x18\x06 \x01(\rR\x1freduceOnlyConditionalOrderCount"\xc3\x01\n\x0fSubaccountOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12"\n\x0cisReduceOnly\x18\x03 \x01(\x08R\x0cisReduceOnly\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id"w\n\x13SubaccountOrderData\x12\x41\n\x05order\x18\x01 \x01(\x0b\x32+.injective.exchange.v1beta1.SubaccountOrderR\x05order\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash"\x8f\x03\n\x14\x44\x65rivativeLimitOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12?\n\x08\x66illable\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x06 \x01(\x0cR\torderHash"\x95\x03\n\x15\x44\x65rivativeMarketOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12\x44\n\x0bmargin_hold\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nmarginHold\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x06 \x01(\x0cR\torderHash"\xc5\x02\n\x08Position\x12\x16\n\x06isLong\x18\x01 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12;\n\x06margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12]\n\x18\x63umulative_funding_entry\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16\x63umulativeFundingEntry"I\n\x14MarketOrderIndicator\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05isBuy\x18\x02 \x01(\x08R\x05isBuy"\xcd\x02\n\x08TradeLog\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12#\n\rsubaccount_id\x18\x03 \x01(\x0cR\x0csubaccountId\x12\x35\n\x03\x66\x65\x65\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id"\x9a\x02\n\rPositionDelta\x12\x17\n\x07is_long\x18\x01 \x01(\x08R\x06isLong\x12R\n\x12\x65xecution_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x65xecutionQuantity\x12N\n\x10\x65xecution_margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65xecutionMargin\x12L\n\x0f\x65xecution_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x65xecutionPrice"\xa1\x03\n\x12\x44\x65rivativeTradeLog\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12P\n\x0eposition_delta\x18\x02 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaR\rpositionDelta\x12;\n\x06payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout\x12\x35\n\x03\x66\x65\x65\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\x12\x35\n\x03pnl\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03pnl"{\n\x12SubaccountPosition\x12@\n\x08position\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionR\x08position\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId"w\n\x11SubaccountDeposit\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12=\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x07\x64\x65posit"p\n\rDepositUpdate\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12I\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.SubaccountDepositR\x08\x64\x65posits"\xcc\x01\n\x10PointsMultiplier\x12[\n\x17maker_points_multiplier\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15makerPointsMultiplier\x12[\n\x17taker_points_multiplier\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15takerPointsMultiplier"\xfe\x02\n\x1eTradingRewardCampaignBoostInfo\x12\x35\n\x17\x62oosted_spot_market_ids\x18\x01 \x03(\tR\x14\x62oostedSpotMarketIds\x12j\n\x17spot_market_multipliers\x18\x02 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00R\x15spotMarketMultipliers\x12\x41\n\x1d\x62oosted_derivative_market_ids\x18\x03 \x03(\tR\x1a\x62oostedDerivativeMarketIds\x12v\n\x1d\x64\x65rivative_market_multipliers\x18\x04 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00R\x1b\x64\x65rivativeMarketMultipliers"\xbc\x01\n\x12\x43\x61mpaignRewardPool\x12\'\n\x0fstart_timestamp\x18\x01 \x01(\x03R\x0estartTimestamp\x12}\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.CoinsR\x12maxCampaignRewards"\xa9\x02\n\x19TradingRewardCampaignInfo\x12:\n\x19\x63\x61mpaign_duration_seconds\x18\x01 \x01(\x03R\x17\x63\x61mpaignDurationSeconds\x12!\n\x0cquote_denoms\x18\x02 \x03(\tR\x0bquoteDenoms\x12u\n\x19trading_reward_boost_info\x18\x03 \x01(\x0b\x32:.injective.exchange.v1beta1.TradingRewardCampaignBoostInfoR\x16tradingRewardBoostInfo\x12\x36\n\x17\x64isqualified_market_ids\x18\x04 \x03(\tR\x15\x64isqualifiedMarketIds"\xc0\x02\n\x13\x46\x65\x65\x44iscountTierInfo\x12S\n\x13maker_discount_rate\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11makerDiscountRate\x12S\n\x13taker_discount_rate\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11takerDiscountRate\x12\x42\n\rstaked_amount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0cstakedAmount\x12;\n\x06volume\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06volume"\x8c\x02\n\x13\x46\x65\x65\x44iscountSchedule\x12!\n\x0c\x62ucket_count\x18\x01 \x01(\x04R\x0b\x62ucketCount\x12\'\n\x0f\x62ucket_duration\x18\x02 \x01(\x03R\x0e\x62ucketDuration\x12!\n\x0cquote_denoms\x18\x03 \x03(\tR\x0bquoteDenoms\x12N\n\ntier_infos\x18\x04 \x03(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfoR\ttierInfos\x12\x36\n\x17\x64isqualified_market_ids\x18\x05 \x03(\tR\x15\x64isqualifiedMarketIds"M\n\x12\x46\x65\x65\x44iscountTierTTL\x12\x12\n\x04tier\x18\x01 \x01(\x04R\x04tier\x12#\n\rttl_timestamp\x18\x02 \x01(\x03R\x0cttlTimestamp"\x9e\x01\n\x0cVolumeRecord\x12\x46\n\x0cmaker_volume\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bmakerVolume\x12\x46\n\x0ctaker_volume\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0btakerVolume"\x91\x01\n\x0e\x41\x63\x63ountRewards\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x65\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.CoinsR\x07rewards"\x86\x01\n\x0cTradeRecords\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Y\n\x14latest_trade_records\x18\x02 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecordR\x12latestTradeRecords"6\n\rSubaccountIDs\x12%\n\x0esubaccount_ids\x18\x01 \x03(\x0cR\rsubaccountIds"\xa7\x01\n\x0bTradeRecord\x12\x1c\n\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity"m\n\x05Level\x12\x31\n\x01p\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01p\x12\x31\n\x01q\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01q"\xd3\x01\n\x11TrimmedLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId"\x97\x01\n\x1f\x41ggregateSubaccountVolumeRecord\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12O\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes"\x89\x01\n\x1c\x41ggregateAccountVolumeRecord\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12O\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes"s\n\x0cMarketVolume\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x06volume\x18\x02 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00R\x06volume"A\n\rDenomDecimals\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1a\n\x08\x64\x65\x63imals\x18\x02 \x01(\x04R\x08\x64\x65\x63imals"e\n\x12GrantAuthorization\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount"^\n\x0b\x41\x63tiveGrant\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount"\x90\x01\n\x0e\x45\x66\x66\x65\x63tiveGrant\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12I\n\x11net_granted_stake\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0fnetGrantedStake\x12\x19\n\x08is_valid\x18\x03 \x01(\x08R\x07isValid*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 \x05LIMITB\x89\x02\n\x1e\x63om.injective.exchange.v1beta1B\rExchangeProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\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\x1a\x11\x61mino/amino.proto\"\xdd\x15\n\x06Params\x12\x65\n\x1fspot_market_instant_listing_fee\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x1bspotMarketInstantListingFee\x12q\n%derivative_market_instant_listing_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R!derivativeMarketInstantListingFee\x12\x61\n\x1b\x64\x65\x66\x61ult_spot_maker_fee_rate\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17\x64\x65\x66\x61ultSpotMakerFeeRate\x12\x61\n\x1b\x64\x65\x66\x61ult_spot_taker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17\x64\x65\x66\x61ultSpotTakerFeeRate\x12m\n!default_derivative_maker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultDerivativeMakerFeeRate\x12m\n!default_derivative_taker_fee_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultDerivativeTakerFeeRate\x12\x64\n\x1c\x64\x65\x66\x61ult_initial_margin_ratio\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19\x64\x65\x66\x61ultInitialMarginRatio\x12l\n default_maintenance_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultMaintenanceMarginRatio\x12\x38\n\x18\x64\x65\x66\x61ult_funding_interval\x18\t \x01(\x03R\x16\x64\x65\x66\x61ultFundingInterval\x12)\n\x10\x66unding_multiple\x18\n \x01(\x03R\x0f\x66undingMultiple\x12X\n\x16relayer_fee_share_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12i\n\x1f\x64\x65\x66\x61ult_hourly_funding_rate_cap\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1b\x64\x65\x66\x61ultHourlyFundingRateCap\x12\x64\n\x1c\x64\x65\x66\x61ult_hourly_interest_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19\x64\x65\x66\x61ultHourlyInterestRate\x12\x44\n\x1fmax_derivative_order_side_count\x18\x0e \x01(\rR\x1bmaxDerivativeOrderSideCount\x12s\n\'inj_reward_staked_requirement_threshold\x18\x0f \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR#injRewardStakedRequirementThreshold\x12G\n trading_rewards_vesting_duration\x18\x10 \x01(\x03R\x1dtradingRewardsVestingDuration\x12\x64\n\x1cliquidator_reward_share_rate\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19liquidatorRewardShareRate\x12x\n)binary_options_market_instant_listing_fee\x18\x12 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R$binaryOptionsMarketInstantListingFee\x12\x80\x01\n atomic_market_order_access_level\x18\x13 \x01(\x0e\x32\x38.injective.exchange.v1beta1.AtomicMarketOrderAccessLevelR\x1c\x61tomicMarketOrderAccessLevel\x12x\n\'spot_atomic_market_order_fee_multiplier\x18\x14 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"spotAtomicMarketOrderFeeMultiplier\x12\x84\x01\n-derivative_atomic_market_order_fee_multiplier\x18\x15 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR(derivativeAtomicMarketOrderFeeMultiplier\x12\x8b\x01\n1binary_options_atomic_market_order_fee_multiplier\x18\x16 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR+binaryOptionsAtomicMarketOrderFeeMultiplier\x12^\n\x19minimal_protocol_fee_rate\x18\x17 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16minimalProtocolFeeRate\x12[\n+is_instant_derivative_market_launch_enabled\x18\x18 \x01(\x08R&isInstantDerivativeMarketLaunchEnabled\x12\x44\n\x1fpost_only_mode_height_threshold\x18\x19 \x01(\x03R\x1bpostOnlyModeHeightThreshold\x12g\n1margin_decrease_price_timestamp_threshold_seconds\x18\x1a \x01(\x03R,marginDecreasePriceTimestampThresholdSeconds\x12\'\n\x0f\x65xchange_admins\x18\x1b \x03(\tR\x0e\x65xchangeAdmins\x12L\n\x13inj_auction_max_cap\x18\x1c \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10injAuctionMaxCap:\x18\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0f\x65xchange/Params\"\x84\x01\n\x13MarketFeeMultiplier\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\x0e\x66\x65\x65_multiplier\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rfeeMultiplier:\x04\x88\xa0\x1f\x00\"\xec\x08\n\x10\x44\x65rivativeMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1f\n\x0boracle_base\x18\x02 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x03 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x05 \x01(\rR\x11oracleScaleFactor\x12\x1f\n\x0bquote_denom\x18\x06 \x01(\tR\nquoteDenom\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12U\n\x14initial_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12 \n\x0bisPerpetual\x18\r \x01(\x08R\x0bisPerpetual\x12@\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x14\n\x05\x61\x64min\x18\x12 \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\x13 \x01(\rR\x10\x61\x64minPermissions:\x04\x88\xa0\x1f\x00\"\xd7\x08\n\x13\x42inaryOptionsMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x02 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x03 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x05 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x06 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\x07 \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\x08 \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\t \x01(\tR\nquoteDenom\x12\x1b\n\tmarket_id\x18\n \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12@\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12N\n\x10settlement_price\x18\x11 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x46\n\x0cmin_notional\x18\x12 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12+\n\x11\x61\x64min_permissions\x18\x13 \x01(\rR\x10\x61\x64minPermissions:\x04\x88\xa0\x1f\x00\"\xe4\x02\n\x17\x45xpiryFuturesMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x31\n\x14\x65xpiration_timestamp\x18\x02 \x01(\x03R\x13\x65xpirationTimestamp\x12\x30\n\x14twap_start_timestamp\x18\x03 \x01(\x03R\x12twapStartTimestamp\x12w\n&expiration_twap_start_price_cumulative\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"expirationTwapStartPriceCumulative\x12N\n\x10settlement_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\"\xc6\x02\n\x13PerpetualMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Z\n\x17hourly_funding_rate_cap\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14hourlyFundingRateCap\x12U\n\x14hourly_interest_rate\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12hourlyInterestRate\x12\x34\n\x16next_funding_timestamp\x18\x04 \x01(\x03R\x14nextFundingTimestamp\x12)\n\x10\x66unding_interval\x18\x05 \x01(\x03R\x0f\x66undingInterval\"\xe3\x01\n\x16PerpetualMarketFunding\x12R\n\x12\x63umulative_funding\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12N\n\x10\x63umulative_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x63umulativePrice\x12%\n\x0elast_timestamp\x18\x03 \x01(\x03R\rlastTimestamp\"\x8d\x01\n\x1e\x44\x65rivativeMarketSettlementInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\"=\n\x14NextFundingTimestamp\x12%\n\x0enext_timestamp\x18\x01 \x01(\x03R\rnextTimestamp\"\xea\x01\n\x0eMidPriceAndTOB\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"\xec\x05\n\nSpotMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x02 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12@\n\x06status\x18\x08 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x14\n\x05\x61\x64min\x18\x0c \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\r \x01(\rR\x10\x61\x64minPermissions\"\xa5\x01\n\x07\x44\x65posit\x12P\n\x11\x61vailable_balance\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10\x61vailableBalance\x12H\n\rtotal_balance\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctotalBalance\",\n\x14SubaccountTradeNonce\x12\x14\n\x05nonce\x18\x01 \x01(\rR\x05nonce\"\xe3\x01\n\tOrderInfo\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12#\n\rfee_recipient\x18\x02 \x01(\tR\x0c\x66\x65\x65Recipient\x12\x39\n\x05price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id\"\x84\x02\n\tSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12H\n\rtrigger_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\"\xcc\x02\n\x0eSpotLimitOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12?\n\x08\x66illable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12H\n\rtrigger_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\"\xd4\x02\n\x0fSpotMarketOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x46\n\x0c\x62\x61lance_hold\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\x12\x1d\n\norder_hash\x18\x03 \x01(\x0cR\torderHash\x12\x44\n\norder_type\x18\x04 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\"\xc7\x02\n\x0f\x44\x65rivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\"\xfc\x03\n\x1bSubaccountOrderbookMetadata\x12\x39\n\x19vanilla_limit_order_count\x18\x01 \x01(\rR\x16vanillaLimitOrderCount\x12@\n\x1dreduce_only_limit_order_count\x18\x02 \x01(\rR\x19reduceOnlyLimitOrderCount\x12h\n\x1e\x61ggregate_reduce_only_quantity\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1b\x61ggregateReduceOnlyQuantity\x12\x61\n\x1a\x61ggregate_vanilla_quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x18\x61ggregateVanillaQuantity\x12\x45\n\x1fvanilla_conditional_order_count\x18\x05 \x01(\rR\x1cvanillaConditionalOrderCount\x12L\n#reduce_only_conditional_order_count\x18\x06 \x01(\rR\x1freduceOnlyConditionalOrderCount\"\xc3\x01\n\x0fSubaccountOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\"\n\x0cisReduceOnly\x18\x03 \x01(\x08R\x0cisReduceOnly\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id\"w\n\x13SubaccountOrderData\x12\x41\n\x05order\x18\x01 \x01(\x0b\x32+.injective.exchange.v1beta1.SubaccountOrderR\x05order\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\"\x8f\x03\n\x14\x44\x65rivativeLimitOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12?\n\x08\x66illable\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x06 \x01(\x0cR\torderHash\"\x95\x03\n\x15\x44\x65rivativeMarketOrder\x12J\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00R\torderInfo\x12\x44\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderTypeR\torderType\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12\x44\n\x0bmargin_hold\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nmarginHold\x12H\n\rtrigger_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1d\n\norder_hash\x18\x06 \x01(\x0cR\torderHash\"\xc5\x02\n\x08Position\x12\x16\n\x06isLong\x18\x01 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12;\n\x06margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12]\n\x18\x63umulative_funding_entry\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16\x63umulativeFundingEntry\"I\n\x14MarketOrderIndicator\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05isBuy\x18\x02 \x01(\x08R\x05isBuy\"\xcd\x02\n\x08TradeLog\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12#\n\rsubaccount_id\x18\x03 \x01(\x0cR\x0csubaccountId\x12\x35\n\x03\x66\x65\x65\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\"\x9a\x02\n\rPositionDelta\x12\x17\n\x07is_long\x18\x01 \x01(\x08R\x06isLong\x12R\n\x12\x65xecution_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x65xecutionQuantity\x12N\n\x10\x65xecution_margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65xecutionMargin\x12L\n\x0f\x65xecution_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x65xecutionPrice\"\xa1\x03\n\x12\x44\x65rivativeTradeLog\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12P\n\x0eposition_delta\x18\x02 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaR\rpositionDelta\x12;\n\x06payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout\x12\x35\n\x03\x66\x65\x65\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\x12\x35\n\x03pnl\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03pnl\"{\n\x12SubaccountPosition\x12@\n\x08position\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionR\x08position\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\"w\n\x11SubaccountDeposit\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12=\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x07\x64\x65posit\"p\n\rDepositUpdate\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12I\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.SubaccountDepositR\x08\x64\x65posits\"\xcc\x01\n\x10PointsMultiplier\x12[\n\x17maker_points_multiplier\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15makerPointsMultiplier\x12[\n\x17taker_points_multiplier\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15takerPointsMultiplier\"\xfe\x02\n\x1eTradingRewardCampaignBoostInfo\x12\x35\n\x17\x62oosted_spot_market_ids\x18\x01 \x03(\tR\x14\x62oostedSpotMarketIds\x12j\n\x17spot_market_multipliers\x18\x02 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00R\x15spotMarketMultipliers\x12\x41\n\x1d\x62oosted_derivative_market_ids\x18\x03 \x03(\tR\x1a\x62oostedDerivativeMarketIds\x12v\n\x1d\x64\x65rivative_market_multipliers\x18\x04 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00R\x1b\x64\x65rivativeMarketMultipliers\"\xbc\x01\n\x12\x43\x61mpaignRewardPool\x12\'\n\x0fstart_timestamp\x18\x01 \x01(\x03R\x0estartTimestamp\x12}\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.CoinsR\x12maxCampaignRewards\"\xa9\x02\n\x19TradingRewardCampaignInfo\x12:\n\x19\x63\x61mpaign_duration_seconds\x18\x01 \x01(\x03R\x17\x63\x61mpaignDurationSeconds\x12!\n\x0cquote_denoms\x18\x02 \x03(\tR\x0bquoteDenoms\x12u\n\x19trading_reward_boost_info\x18\x03 \x01(\x0b\x32:.injective.exchange.v1beta1.TradingRewardCampaignBoostInfoR\x16tradingRewardBoostInfo\x12\x36\n\x17\x64isqualified_market_ids\x18\x04 \x03(\tR\x15\x64isqualifiedMarketIds\"\xc0\x02\n\x13\x46\x65\x65\x44iscountTierInfo\x12S\n\x13maker_discount_rate\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11makerDiscountRate\x12S\n\x13taker_discount_rate\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11takerDiscountRate\x12\x42\n\rstaked_amount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0cstakedAmount\x12;\n\x06volume\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06volume\"\x8c\x02\n\x13\x46\x65\x65\x44iscountSchedule\x12!\n\x0c\x62ucket_count\x18\x01 \x01(\x04R\x0b\x62ucketCount\x12\'\n\x0f\x62ucket_duration\x18\x02 \x01(\x03R\x0e\x62ucketDuration\x12!\n\x0cquote_denoms\x18\x03 \x03(\tR\x0bquoteDenoms\x12N\n\ntier_infos\x18\x04 \x03(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfoR\ttierInfos\x12\x36\n\x17\x64isqualified_market_ids\x18\x05 \x03(\tR\x15\x64isqualifiedMarketIds\"M\n\x12\x46\x65\x65\x44iscountTierTTL\x12\x12\n\x04tier\x18\x01 \x01(\x04R\x04tier\x12#\n\rttl_timestamp\x18\x02 \x01(\x03R\x0cttlTimestamp\"\x9e\x01\n\x0cVolumeRecord\x12\x46\n\x0cmaker_volume\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bmakerVolume\x12\x46\n\x0ctaker_volume\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0btakerVolume\"\x91\x01\n\x0e\x41\x63\x63ountRewards\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x65\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.CoinsR\x07rewards\"\x86\x01\n\x0cTradeRecords\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Y\n\x14latest_trade_records\x18\x02 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecordR\x12latestTradeRecords\"6\n\rSubaccountIDs\x12%\n\x0esubaccount_ids\x18\x01 \x03(\x0cR\rsubaccountIds\"\xa7\x01\n\x0bTradeRecord\x12\x1c\n\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\"m\n\x05Level\x12\x31\n\x01p\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01p\x12\x31\n\x01q\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01q\"\xd3\x01\n\x11TrimmedLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\"\x97\x01\n\x1f\x41ggregateSubaccountVolumeRecord\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12O\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes\"\x89\x01\n\x1c\x41ggregateAccountVolumeRecord\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12O\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes\"s\n\x0cMarketVolume\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x06volume\x18\x02 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00R\x06volume\"A\n\rDenomDecimals\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1a\n\x08\x64\x65\x63imals\x18\x02 \x01(\x04R\x08\x64\x65\x63imals\"e\n\x12GrantAuthorization\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"^\n\x0b\x41\x63tiveGrant\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"\x90\x01\n\x0e\x45\x66\x66\x65\x63tiveGrant\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12I\n\x11net_granted_stake\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0fnetGrantedStake\x12\x19\n\x08is_valid\x18\x03 \x01(\x08R\x07isValid*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 \x05LIMITB\x89\x02\n\x1e\x63om.injective.exchange.v1beta1B\rExchangeProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.exchange.v1beta1.exchange_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.exchange_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\036com.injective.exchange.v1beta1B\rExchangeProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1" - ) - _globals["_ORDERTYPE"].values_by_name["UNSPECIFIED"]._loaded_options = None - _globals["_ORDERTYPE"].values_by_name["UNSPECIFIED"]._serialized_options = b"\212\235 \013UNSPECIFIED" - _globals["_ORDERTYPE"].values_by_name["BUY"]._loaded_options = None - _globals["_ORDERTYPE"].values_by_name["BUY"]._serialized_options = b"\212\235 \003BUY" - _globals["_ORDERTYPE"].values_by_name["SELL"]._loaded_options = None - _globals["_ORDERTYPE"].values_by_name["SELL"]._serialized_options = b"\212\235 \004SELL" - _globals["_ORDERTYPE"].values_by_name["STOP_BUY"]._loaded_options = None - _globals["_ORDERTYPE"].values_by_name["STOP_BUY"]._serialized_options = b"\212\235 \010STOP_BUY" - _globals["_ORDERTYPE"].values_by_name["STOP_SELL"]._loaded_options = None - _globals["_ORDERTYPE"].values_by_name["STOP_SELL"]._serialized_options = b"\212\235 \tSTOP_SELL" - _globals["_ORDERTYPE"].values_by_name["TAKE_BUY"]._loaded_options = None - _globals["_ORDERTYPE"].values_by_name["TAKE_BUY"]._serialized_options = b"\212\235 \010TAKE_BUY" - _globals["_ORDERTYPE"].values_by_name["TAKE_SELL"]._loaded_options = None - _globals["_ORDERTYPE"].values_by_name["TAKE_SELL"]._serialized_options = b"\212\235 \tTAKE_SELL" - _globals["_ORDERTYPE"].values_by_name["BUY_PO"]._loaded_options = None - _globals["_ORDERTYPE"].values_by_name["BUY_PO"]._serialized_options = b"\212\235 \006BUY_PO" - _globals["_ORDERTYPE"].values_by_name["SELL_PO"]._loaded_options = None - _globals["_ORDERTYPE"].values_by_name["SELL_PO"]._serialized_options = b"\212\235 \007SELL_PO" - _globals["_ORDERTYPE"].values_by_name["BUY_ATOMIC"]._loaded_options = None - _globals["_ORDERTYPE"].values_by_name["BUY_ATOMIC"]._serialized_options = b"\212\235 \nBUY_ATOMIC" - _globals["_ORDERTYPE"].values_by_name["SELL_ATOMIC"]._loaded_options = None - _globals["_ORDERTYPE"].values_by_name["SELL_ATOMIC"]._serialized_options = b"\212\235 \013SELL_ATOMIC" - _globals["_ORDERMASK"].values_by_name["UNUSED"]._loaded_options = None - _globals["_ORDERMASK"].values_by_name["UNUSED"]._serialized_options = b"\212\235 \006UNUSED" - _globals["_ORDERMASK"].values_by_name["ANY"]._loaded_options = None - _globals["_ORDERMASK"].values_by_name["ANY"]._serialized_options = b"\212\235 \003ANY" - _globals["_ORDERMASK"].values_by_name["REGULAR"]._loaded_options = None - _globals["_ORDERMASK"].values_by_name["REGULAR"]._serialized_options = b"\212\235 \007REGULAR" - _globals["_ORDERMASK"].values_by_name["CONDITIONAL"]._loaded_options = None - _globals["_ORDERMASK"].values_by_name["CONDITIONAL"]._serialized_options = b"\212\235 \013CONDITIONAL" - _globals["_ORDERMASK"].values_by_name["DIRECTION_BUY_OR_HIGHER"]._loaded_options = None - _globals["_ORDERMASK"].values_by_name["DIRECTION_BUY_OR_HIGHER"]._serialized_options = b"\212\235 \rBUY_OR_HIGHER" - _globals["_ORDERMASK"].values_by_name["DIRECTION_SELL_OR_LOWER"]._loaded_options = None - _globals["_ORDERMASK"].values_by_name["DIRECTION_SELL_OR_LOWER"]._serialized_options = b"\212\235 \rSELL_OR_LOWER" - _globals["_ORDERMASK"].values_by_name["TYPE_MARKET"]._loaded_options = None - _globals["_ORDERMASK"].values_by_name["TYPE_MARKET"]._serialized_options = b"\212\235 \006MARKET" - _globals["_ORDERMASK"].values_by_name["TYPE_LIMIT"]._loaded_options = None - _globals["_ORDERMASK"].values_by_name["TYPE_LIMIT"]._serialized_options = b"\212\235 \005LIMIT" - _globals["_PARAMS"].fields_by_name["spot_market_instant_listing_fee"]._loaded_options = None - _globals["_PARAMS"].fields_by_name["spot_market_instant_listing_fee"]._serialized_options = b"\310\336\037\000" - _globals["_PARAMS"].fields_by_name["derivative_market_instant_listing_fee"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "derivative_market_instant_listing_fee" - ]._serialized_options = b"\310\336\037\000" - _globals["_PARAMS"].fields_by_name["default_spot_maker_fee_rate"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "default_spot_maker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["default_spot_taker_fee_rate"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "default_spot_taker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["default_derivative_maker_fee_rate"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "default_derivative_maker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["default_derivative_taker_fee_rate"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "default_derivative_taker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["default_initial_margin_ratio"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "default_initial_margin_ratio" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["default_maintenance_margin_ratio"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "default_maintenance_margin_ratio" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["relayer_fee_share_rate"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "relayer_fee_share_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["default_hourly_funding_rate_cap"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "default_hourly_funding_rate_cap" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["default_hourly_interest_rate"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "default_hourly_interest_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["inj_reward_staked_requirement_threshold"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "inj_reward_staked_requirement_threshold" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_PARAMS"].fields_by_name["liquidator_reward_share_rate"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "liquidator_reward_share_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["binary_options_market_instant_listing_fee"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "binary_options_market_instant_listing_fee" - ]._serialized_options = b"\310\336\037\000" - _globals["_PARAMS"].fields_by_name["spot_atomic_market_order_fee_multiplier"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "spot_atomic_market_order_fee_multiplier" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["derivative_atomic_market_order_fee_multiplier"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "derivative_atomic_market_order_fee_multiplier" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["binary_options_atomic_market_order_fee_multiplier"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "binary_options_atomic_market_order_fee_multiplier" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["minimal_protocol_fee_rate"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "minimal_protocol_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["inj_auction_max_cap"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "inj_auction_max_cap" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_PARAMS"]._loaded_options = None - _globals["_PARAMS"]._serialized_options = b"\350\240\037\001\212\347\260*\017exchange/Params" - _globals["_MARKETFEEMULTIPLIER"].fields_by_name["fee_multiplier"]._loaded_options = None - _globals["_MARKETFEEMULTIPLIER"].fields_by_name[ - "fee_multiplier" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MARKETFEEMULTIPLIER"]._loaded_options = None - _globals["_MARKETFEEMULTIPLIER"]._serialized_options = b"\210\240\037\000" - _globals["_DERIVATIVEMARKET"].fields_by_name["initial_margin_ratio"]._loaded_options = None - _globals["_DERIVATIVEMARKET"].fields_by_name[ - "initial_margin_ratio" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKET"].fields_by_name["maintenance_margin_ratio"]._loaded_options = None - _globals["_DERIVATIVEMARKET"].fields_by_name[ - "maintenance_margin_ratio" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKET"].fields_by_name["maker_fee_rate"]._loaded_options = None - _globals["_DERIVATIVEMARKET"].fields_by_name[ - "maker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKET"].fields_by_name["taker_fee_rate"]._loaded_options = None - _globals["_DERIVATIVEMARKET"].fields_by_name[ - "taker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKET"].fields_by_name["relayer_fee_share_rate"]._loaded_options = None - _globals["_DERIVATIVEMARKET"].fields_by_name[ - "relayer_fee_share_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKET"].fields_by_name["min_price_tick_size"]._loaded_options = None - _globals["_DERIVATIVEMARKET"].fields_by_name[ - "min_price_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKET"].fields_by_name["min_quantity_tick_size"]._loaded_options = None - _globals["_DERIVATIVEMARKET"].fields_by_name[ - "min_quantity_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKET"].fields_by_name["min_notional"]._loaded_options = None - _globals["_DERIVATIVEMARKET"].fields_by_name[ - "min_notional" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKET"]._loaded_options = None - _globals["_DERIVATIVEMARKET"]._serialized_options = b"\210\240\037\000" - _globals["_BINARYOPTIONSMARKET"].fields_by_name["maker_fee_rate"]._loaded_options = None - _globals["_BINARYOPTIONSMARKET"].fields_by_name[ - "maker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKET"].fields_by_name["taker_fee_rate"]._loaded_options = None - _globals["_BINARYOPTIONSMARKET"].fields_by_name[ - "taker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKET"].fields_by_name["relayer_fee_share_rate"]._loaded_options = None - _globals["_BINARYOPTIONSMARKET"].fields_by_name[ - "relayer_fee_share_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKET"].fields_by_name["min_price_tick_size"]._loaded_options = None - _globals["_BINARYOPTIONSMARKET"].fields_by_name[ - "min_price_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKET"].fields_by_name["min_quantity_tick_size"]._loaded_options = None - _globals["_BINARYOPTIONSMARKET"].fields_by_name[ - "min_quantity_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKET"].fields_by_name["settlement_price"]._loaded_options = None - _globals["_BINARYOPTIONSMARKET"].fields_by_name[ - "settlement_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKET"].fields_by_name["min_notional"]._loaded_options = None - _globals["_BINARYOPTIONSMARKET"].fields_by_name[ - "min_notional" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKET"]._loaded_options = None - _globals["_BINARYOPTIONSMARKET"]._serialized_options = b"\210\240\037\000" - _globals["_EXPIRYFUTURESMARKETINFO"].fields_by_name["expiration_twap_start_price_cumulative"]._loaded_options = None - _globals["_EXPIRYFUTURESMARKETINFO"].fields_by_name[ - "expiration_twap_start_price_cumulative" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EXPIRYFUTURESMARKETINFO"].fields_by_name["settlement_price"]._loaded_options = None - _globals["_EXPIRYFUTURESMARKETINFO"].fields_by_name[ - "settlement_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PERPETUALMARKETINFO"].fields_by_name["hourly_funding_rate_cap"]._loaded_options = None - _globals["_PERPETUALMARKETINFO"].fields_by_name[ - "hourly_funding_rate_cap" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PERPETUALMARKETINFO"].fields_by_name["hourly_interest_rate"]._loaded_options = None - _globals["_PERPETUALMARKETINFO"].fields_by_name[ - "hourly_interest_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PERPETUALMARKETFUNDING"].fields_by_name["cumulative_funding"]._loaded_options = None - _globals["_PERPETUALMARKETFUNDING"].fields_by_name[ - "cumulative_funding" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PERPETUALMARKETFUNDING"].fields_by_name["cumulative_price"]._loaded_options = None - _globals["_PERPETUALMARKETFUNDING"].fields_by_name[ - "cumulative_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETSETTLEMENTINFO"].fields_by_name["settlement_price"]._loaded_options = None - _globals["_DERIVATIVEMARKETSETTLEMENTINFO"].fields_by_name[ - "settlement_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MIDPRICEANDTOB"].fields_by_name["mid_price"]._loaded_options = None - _globals["_MIDPRICEANDTOB"].fields_by_name[ - "mid_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MIDPRICEANDTOB"].fields_by_name["best_buy_price"]._loaded_options = None - _globals["_MIDPRICEANDTOB"].fields_by_name[ - "best_buy_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MIDPRICEANDTOB"].fields_by_name["best_sell_price"]._loaded_options = None - _globals["_MIDPRICEANDTOB"].fields_by_name[ - "best_sell_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKET"].fields_by_name["maker_fee_rate"]._loaded_options = None - _globals["_SPOTMARKET"].fields_by_name[ - "maker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKET"].fields_by_name["taker_fee_rate"]._loaded_options = None - _globals["_SPOTMARKET"].fields_by_name[ - "taker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKET"].fields_by_name["relayer_fee_share_rate"]._loaded_options = None - _globals["_SPOTMARKET"].fields_by_name[ - "relayer_fee_share_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKET"].fields_by_name["min_price_tick_size"]._loaded_options = None - _globals["_SPOTMARKET"].fields_by_name[ - "min_price_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKET"].fields_by_name["min_quantity_tick_size"]._loaded_options = None - _globals["_SPOTMARKET"].fields_by_name[ - "min_quantity_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKET"].fields_by_name["min_notional"]._loaded_options = None - _globals["_SPOTMARKET"].fields_by_name[ - "min_notional" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DEPOSIT"].fields_by_name["available_balance"]._loaded_options = None - _globals["_DEPOSIT"].fields_by_name[ - "available_balance" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DEPOSIT"].fields_by_name["total_balance"]._loaded_options = None - _globals["_DEPOSIT"].fields_by_name[ - "total_balance" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_ORDERINFO"].fields_by_name["price"]._loaded_options = None - _globals["_ORDERINFO"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_ORDERINFO"].fields_by_name["quantity"]._loaded_options = None - _globals["_ORDERINFO"].fields_by_name[ - "quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTORDER"].fields_by_name["order_info"]._loaded_options = None - _globals["_SPOTORDER"].fields_by_name["order_info"]._serialized_options = b"\310\336\037\000" - _globals["_SPOTORDER"].fields_by_name["trigger_price"]._loaded_options = None - _globals["_SPOTORDER"].fields_by_name[ - "trigger_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTLIMITORDER"].fields_by_name["order_info"]._loaded_options = None - _globals["_SPOTLIMITORDER"].fields_by_name["order_info"]._serialized_options = b"\310\336\037\000" - _globals["_SPOTLIMITORDER"].fields_by_name["fillable"]._loaded_options = None - _globals["_SPOTLIMITORDER"].fields_by_name[ - "fillable" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTLIMITORDER"].fields_by_name["trigger_price"]._loaded_options = None - _globals["_SPOTLIMITORDER"].fields_by_name[ - "trigger_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKETORDER"].fields_by_name["order_info"]._loaded_options = None - _globals["_SPOTMARKETORDER"].fields_by_name["order_info"]._serialized_options = b"\310\336\037\000" - _globals["_SPOTMARKETORDER"].fields_by_name["balance_hold"]._loaded_options = None - _globals["_SPOTMARKETORDER"].fields_by_name[ - "balance_hold" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKETORDER"].fields_by_name["trigger_price"]._loaded_options = None - _globals["_SPOTMARKETORDER"].fields_by_name[ - "trigger_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEORDER"].fields_by_name["order_info"]._loaded_options = None - _globals["_DERIVATIVEORDER"].fields_by_name["order_info"]._serialized_options = b"\310\336\037\000" - _globals["_DERIVATIVEORDER"].fields_by_name["margin"]._loaded_options = None - _globals["_DERIVATIVEORDER"].fields_by_name[ - "margin" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEORDER"].fields_by_name["trigger_price"]._loaded_options = None - _globals["_DERIVATIVEORDER"].fields_by_name[ - "trigger_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SUBACCOUNTORDERBOOKMETADATA"].fields_by_name["aggregate_reduce_only_quantity"]._loaded_options = None - _globals["_SUBACCOUNTORDERBOOKMETADATA"].fields_by_name[ - "aggregate_reduce_only_quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SUBACCOUNTORDERBOOKMETADATA"].fields_by_name["aggregate_vanilla_quantity"]._loaded_options = None - _globals["_SUBACCOUNTORDERBOOKMETADATA"].fields_by_name[ - "aggregate_vanilla_quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SUBACCOUNTORDER"].fields_by_name["price"]._loaded_options = None - _globals["_SUBACCOUNTORDER"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SUBACCOUNTORDER"].fields_by_name["quantity"]._loaded_options = None - _globals["_SUBACCOUNTORDER"].fields_by_name[ - "quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVELIMITORDER"].fields_by_name["order_info"]._loaded_options = None - _globals["_DERIVATIVELIMITORDER"].fields_by_name["order_info"]._serialized_options = b"\310\336\037\000" - _globals["_DERIVATIVELIMITORDER"].fields_by_name["margin"]._loaded_options = None - _globals["_DERIVATIVELIMITORDER"].fields_by_name[ - "margin" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVELIMITORDER"].fields_by_name["fillable"]._loaded_options = None - _globals["_DERIVATIVELIMITORDER"].fields_by_name[ - "fillable" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVELIMITORDER"].fields_by_name["trigger_price"]._loaded_options = None - _globals["_DERIVATIVELIMITORDER"].fields_by_name[ - "trigger_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETORDER"].fields_by_name["order_info"]._loaded_options = None - _globals["_DERIVATIVEMARKETORDER"].fields_by_name["order_info"]._serialized_options = b"\310\336\037\000" - _globals["_DERIVATIVEMARKETORDER"].fields_by_name["margin"]._loaded_options = None - _globals["_DERIVATIVEMARKETORDER"].fields_by_name[ - "margin" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETORDER"].fields_by_name["margin_hold"]._loaded_options = None - _globals["_DERIVATIVEMARKETORDER"].fields_by_name[ - "margin_hold" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETORDER"].fields_by_name["trigger_price"]._loaded_options = None - _globals["_DERIVATIVEMARKETORDER"].fields_by_name[ - "trigger_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_POSITION"].fields_by_name["quantity"]._loaded_options = None - _globals["_POSITION"].fields_by_name[ - "quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_POSITION"].fields_by_name["entry_price"]._loaded_options = None - _globals["_POSITION"].fields_by_name[ - "entry_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_POSITION"].fields_by_name["margin"]._loaded_options = None - _globals["_POSITION"].fields_by_name[ - "margin" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_POSITION"].fields_by_name["cumulative_funding_entry"]._loaded_options = None - _globals["_POSITION"].fields_by_name[ - "cumulative_funding_entry" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRADELOG"].fields_by_name["quantity"]._loaded_options = None - _globals["_TRADELOG"].fields_by_name[ - "quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRADELOG"].fields_by_name["price"]._loaded_options = None - _globals["_TRADELOG"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRADELOG"].fields_by_name["fee"]._loaded_options = None - _globals["_TRADELOG"].fields_by_name[ - "fee" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRADELOG"].fields_by_name["fee_recipient_address"]._loaded_options = None - _globals["_TRADELOG"].fields_by_name["fee_recipient_address"]._serialized_options = b"\310\336\037\001" - _globals["_POSITIONDELTA"].fields_by_name["execution_quantity"]._loaded_options = None - _globals["_POSITIONDELTA"].fields_by_name[ - "execution_quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_POSITIONDELTA"].fields_by_name["execution_margin"]._loaded_options = None - _globals["_POSITIONDELTA"].fields_by_name[ - "execution_margin" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_POSITIONDELTA"].fields_by_name["execution_price"]._loaded_options = None - _globals["_POSITIONDELTA"].fields_by_name[ - "execution_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVETRADELOG"].fields_by_name["payout"]._loaded_options = None - _globals["_DERIVATIVETRADELOG"].fields_by_name[ - "payout" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVETRADELOG"].fields_by_name["fee"]._loaded_options = None - _globals["_DERIVATIVETRADELOG"].fields_by_name[ - "fee" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVETRADELOG"].fields_by_name["fee_recipient_address"]._loaded_options = None - _globals["_DERIVATIVETRADELOG"].fields_by_name["fee_recipient_address"]._serialized_options = b"\310\336\037\001" - _globals["_DERIVATIVETRADELOG"].fields_by_name["pnl"]._loaded_options = None - _globals["_DERIVATIVETRADELOG"].fields_by_name[ - "pnl" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_POINTSMULTIPLIER"].fields_by_name["maker_points_multiplier"]._loaded_options = None - _globals["_POINTSMULTIPLIER"].fields_by_name[ - "maker_points_multiplier" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_POINTSMULTIPLIER"].fields_by_name["taker_points_multiplier"]._loaded_options = None - _globals["_POINTSMULTIPLIER"].fields_by_name[ - "taker_points_multiplier" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRADINGREWARDCAMPAIGNBOOSTINFO"].fields_by_name["spot_market_multipliers"]._loaded_options = None - _globals["_TRADINGREWARDCAMPAIGNBOOSTINFO"].fields_by_name[ - "spot_market_multipliers" - ]._serialized_options = b"\310\336\037\000" - _globals["_TRADINGREWARDCAMPAIGNBOOSTINFO"].fields_by_name["derivative_market_multipliers"]._loaded_options = None - _globals["_TRADINGREWARDCAMPAIGNBOOSTINFO"].fields_by_name[ - "derivative_market_multipliers" - ]._serialized_options = b"\310\336\037\000" - _globals["_CAMPAIGNREWARDPOOL"].fields_by_name["max_campaign_rewards"]._loaded_options = None - _globals["_CAMPAIGNREWARDPOOL"].fields_by_name[ - "max_campaign_rewards" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" - _globals["_FEEDISCOUNTTIERINFO"].fields_by_name["maker_discount_rate"]._loaded_options = None - _globals["_FEEDISCOUNTTIERINFO"].fields_by_name[ - "maker_discount_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_FEEDISCOUNTTIERINFO"].fields_by_name["taker_discount_rate"]._loaded_options = None - _globals["_FEEDISCOUNTTIERINFO"].fields_by_name[ - "taker_discount_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_FEEDISCOUNTTIERINFO"].fields_by_name["staked_amount"]._loaded_options = None - _globals["_FEEDISCOUNTTIERINFO"].fields_by_name[ - "staked_amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_FEEDISCOUNTTIERINFO"].fields_by_name["volume"]._loaded_options = None - _globals["_FEEDISCOUNTTIERINFO"].fields_by_name[ - "volume" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_VOLUMERECORD"].fields_by_name["maker_volume"]._loaded_options = None - _globals["_VOLUMERECORD"].fields_by_name[ - "maker_volume" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_VOLUMERECORD"].fields_by_name["taker_volume"]._loaded_options = None - _globals["_VOLUMERECORD"].fields_by_name[ - "taker_volume" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_ACCOUNTREWARDS"].fields_by_name["rewards"]._loaded_options = None - _globals["_ACCOUNTREWARDS"].fields_by_name[ - "rewards" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" - _globals["_TRADERECORD"].fields_by_name["price"]._loaded_options = None - _globals["_TRADERECORD"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRADERECORD"].fields_by_name["quantity"]._loaded_options = None - _globals["_TRADERECORD"].fields_by_name[ - "quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_LEVEL"].fields_by_name["p"]._loaded_options = None - _globals["_LEVEL"].fields_by_name[ - "p" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_LEVEL"].fields_by_name["q"]._loaded_options = None - _globals["_LEVEL"].fields_by_name[ - "q" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRIMMEDLIMITORDER"].fields_by_name["price"]._loaded_options = None - _globals["_TRIMMEDLIMITORDER"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRIMMEDLIMITORDER"].fields_by_name["quantity"]._loaded_options = None - _globals["_TRIMMEDLIMITORDER"].fields_by_name[ - "quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MARKETVOLUME"].fields_by_name["volume"]._loaded_options = None - _globals["_MARKETVOLUME"].fields_by_name["volume"]._serialized_options = b"\310\336\037\000" - _globals["_GRANTAUTHORIZATION"].fields_by_name["amount"]._loaded_options = None - _globals["_GRANTAUTHORIZATION"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_ACTIVEGRANT"].fields_by_name["amount"]._loaded_options = None - _globals["_ACTIVEGRANT"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_EFFECTIVEGRANT"].fields_by_name["net_granted_stake"]._loaded_options = None - _globals["_EFFECTIVEGRANT"].fields_by_name[ - "net_granted_stake" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_ATOMICMARKETORDERACCESSLEVEL"]._serialized_start = 16202 - _globals["_ATOMICMARKETORDERACCESSLEVEL"]._serialized_end = 16318 - _globals["_MARKETSTATUS"]._serialized_start = 16320 - _globals["_MARKETSTATUS"]._serialized_end = 16404 - _globals["_ORDERTYPE"]._serialized_start = 16407 - _globals["_ORDERTYPE"]._serialized_end = 16722 - _globals["_EXECUTIONTYPE"]._serialized_start = 16725 - _globals["_EXECUTIONTYPE"]._serialized_end = 16900 - _globals["_ORDERMASK"]._serialized_start = 16903 - _globals["_ORDERMASK"]._serialized_end = 17168 - _globals["_PARAMS"]._serialized_start = 186 - _globals["_PARAMS"]._serialized_end = 2967 - _globals["_MARKETFEEMULTIPLIER"]._serialized_start = 2970 - _globals["_MARKETFEEMULTIPLIER"]._serialized_end = 3102 - _globals["_DERIVATIVEMARKET"]._serialized_start = 3105 - _globals["_DERIVATIVEMARKET"]._serialized_end = 4237 - _globals["_BINARYOPTIONSMARKET"]._serialized_start = 4240 - _globals["_BINARYOPTIONSMARKET"]._serialized_end = 5351 - _globals["_EXPIRYFUTURESMARKETINFO"]._serialized_start = 5354 - _globals["_EXPIRYFUTURESMARKETINFO"]._serialized_end = 5710 - _globals["_PERPETUALMARKETINFO"]._serialized_start = 5713 - _globals["_PERPETUALMARKETINFO"]._serialized_end = 6039 - _globals["_PERPETUALMARKETFUNDING"]._serialized_start = 6042 - _globals["_PERPETUALMARKETFUNDING"]._serialized_end = 6269 - _globals["_DERIVATIVEMARKETSETTLEMENTINFO"]._serialized_start = 6272 - _globals["_DERIVATIVEMARKETSETTLEMENTINFO"]._serialized_end = 6413 - _globals["_NEXTFUNDINGTIMESTAMP"]._serialized_start = 6415 - _globals["_NEXTFUNDINGTIMESTAMP"]._serialized_end = 6476 - _globals["_MIDPRICEANDTOB"]._serialized_start = 6479 - _globals["_MIDPRICEANDTOB"]._serialized_end = 6713 - _globals["_SPOTMARKET"]._serialized_start = 6716 - _globals["_SPOTMARKET"]._serialized_end = 7464 - _globals["_DEPOSIT"]._serialized_start = 7467 - _globals["_DEPOSIT"]._serialized_end = 7632 - _globals["_SUBACCOUNTTRADENONCE"]._serialized_start = 7634 - _globals["_SUBACCOUNTTRADENONCE"]._serialized_end = 7678 - _globals["_ORDERINFO"]._serialized_start = 7681 - _globals["_ORDERINFO"]._serialized_end = 7908 - _globals["_SPOTORDER"]._serialized_start = 7911 - _globals["_SPOTORDER"]._serialized_end = 8171 - _globals["_SPOTLIMITORDER"]._serialized_start = 8174 - _globals["_SPOTLIMITORDER"]._serialized_end = 8506 - _globals["_SPOTMARKETORDER"]._serialized_start = 8509 - _globals["_SPOTMARKETORDER"]._serialized_end = 8849 - _globals["_DERIVATIVEORDER"]._serialized_start = 8852 - _globals["_DERIVATIVEORDER"]._serialized_end = 9179 - _globals["_SUBACCOUNTORDERBOOKMETADATA"]._serialized_start = 9182 - _globals["_SUBACCOUNTORDERBOOKMETADATA"]._serialized_end = 9690 - _globals["_SUBACCOUNTORDER"]._serialized_start = 9693 - _globals["_SUBACCOUNTORDER"]._serialized_end = 9888 - _globals["_SUBACCOUNTORDERDATA"]._serialized_start = 9890 - _globals["_SUBACCOUNTORDERDATA"]._serialized_end = 10009 - _globals["_DERIVATIVELIMITORDER"]._serialized_start = 10012 - _globals["_DERIVATIVELIMITORDER"]._serialized_end = 10411 - _globals["_DERIVATIVEMARKETORDER"]._serialized_start = 10414 - _globals["_DERIVATIVEMARKETORDER"]._serialized_end = 10819 - _globals["_POSITION"]._serialized_start = 10822 - _globals["_POSITION"]._serialized_end = 11147 - _globals["_MARKETORDERINDICATOR"]._serialized_start = 11149 - _globals["_MARKETORDERINDICATOR"]._serialized_end = 11222 - _globals["_TRADELOG"]._serialized_start = 11225 - _globals["_TRADELOG"]._serialized_end = 11558 - _globals["_POSITIONDELTA"]._serialized_start = 11561 - _globals["_POSITIONDELTA"]._serialized_end = 11843 - _globals["_DERIVATIVETRADELOG"]._serialized_start = 11846 - _globals["_DERIVATIVETRADELOG"]._serialized_end = 12263 - _globals["_SUBACCOUNTPOSITION"]._serialized_start = 12265 - _globals["_SUBACCOUNTPOSITION"]._serialized_end = 12388 - _globals["_SUBACCOUNTDEPOSIT"]._serialized_start = 12390 - _globals["_SUBACCOUNTDEPOSIT"]._serialized_end = 12509 - _globals["_DEPOSITUPDATE"]._serialized_start = 12511 - _globals["_DEPOSITUPDATE"]._serialized_end = 12623 - _globals["_POINTSMULTIPLIER"]._serialized_start = 12626 - _globals["_POINTSMULTIPLIER"]._serialized_end = 12830 - _globals["_TRADINGREWARDCAMPAIGNBOOSTINFO"]._serialized_start = 12833 - _globals["_TRADINGREWARDCAMPAIGNBOOSTINFO"]._serialized_end = 13215 - _globals["_CAMPAIGNREWARDPOOL"]._serialized_start = 13218 - _globals["_CAMPAIGNREWARDPOOL"]._serialized_end = 13406 - _globals["_TRADINGREWARDCAMPAIGNINFO"]._serialized_start = 13409 - _globals["_TRADINGREWARDCAMPAIGNINFO"]._serialized_end = 13706 - _globals["_FEEDISCOUNTTIERINFO"]._serialized_start = 13709 - _globals["_FEEDISCOUNTTIERINFO"]._serialized_end = 14029 - _globals["_FEEDISCOUNTSCHEDULE"]._serialized_start = 14032 - _globals["_FEEDISCOUNTSCHEDULE"]._serialized_end = 14300 - _globals["_FEEDISCOUNTTIERTTL"]._serialized_start = 14302 - _globals["_FEEDISCOUNTTIERTTL"]._serialized_end = 14379 - _globals["_VOLUMERECORD"]._serialized_start = 14382 - _globals["_VOLUMERECORD"]._serialized_end = 14540 - _globals["_ACCOUNTREWARDS"]._serialized_start = 14543 - _globals["_ACCOUNTREWARDS"]._serialized_end = 14688 - _globals["_TRADERECORDS"]._serialized_start = 14691 - _globals["_TRADERECORDS"]._serialized_end = 14825 - _globals["_SUBACCOUNTIDS"]._serialized_start = 14827 - _globals["_SUBACCOUNTIDS"]._serialized_end = 14881 - _globals["_TRADERECORD"]._serialized_start = 14884 - _globals["_TRADERECORD"]._serialized_end = 15051 - _globals["_LEVEL"]._serialized_start = 15053 - _globals["_LEVEL"]._serialized_end = 15162 - _globals["_TRIMMEDLIMITORDER"]._serialized_start = 15165 - _globals["_TRIMMEDLIMITORDER"]._serialized_end = 15376 - _globals["_AGGREGATESUBACCOUNTVOLUMERECORD"]._serialized_start = 15379 - _globals["_AGGREGATESUBACCOUNTVOLUMERECORD"]._serialized_end = 15530 - _globals["_AGGREGATEACCOUNTVOLUMERECORD"]._serialized_start = 15533 - _globals["_AGGREGATEACCOUNTVOLUMERECORD"]._serialized_end = 15670 - _globals["_MARKETVOLUME"]._serialized_start = 15672 - _globals["_MARKETVOLUME"]._serialized_end = 15787 - _globals["_DENOMDECIMALS"]._serialized_start = 15789 - _globals["_DENOMDECIMALS"]._serialized_end = 15854 - _globals["_GRANTAUTHORIZATION"]._serialized_start = 15856 - _globals["_GRANTAUTHORIZATION"]._serialized_end = 15957 - _globals["_ACTIVEGRANT"]._serialized_start = 15959 - _globals["_ACTIVEGRANT"]._serialized_end = 16053 - _globals["_EFFECTIVEGRANT"]._serialized_start = 16056 - _globals["_EFFECTIVEGRANT"]._serialized_end = 16200 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\rExchangeProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' + _globals['_ORDERTYPE'].values_by_name["UNSPECIFIED"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["UNSPECIFIED"]._serialized_options = b'\212\235 \013UNSPECIFIED' + _globals['_ORDERTYPE'].values_by_name["BUY"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["BUY"]._serialized_options = b'\212\235 \003BUY' + _globals['_ORDERTYPE'].values_by_name["SELL"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["SELL"]._serialized_options = b'\212\235 \004SELL' + _globals['_ORDERTYPE'].values_by_name["STOP_BUY"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["STOP_BUY"]._serialized_options = b'\212\235 \010STOP_BUY' + _globals['_ORDERTYPE'].values_by_name["STOP_SELL"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["STOP_SELL"]._serialized_options = b'\212\235 \tSTOP_SELL' + _globals['_ORDERTYPE'].values_by_name["TAKE_BUY"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["TAKE_BUY"]._serialized_options = b'\212\235 \010TAKE_BUY' + _globals['_ORDERTYPE'].values_by_name["TAKE_SELL"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["TAKE_SELL"]._serialized_options = b'\212\235 \tTAKE_SELL' + _globals['_ORDERTYPE'].values_by_name["BUY_PO"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["BUY_PO"]._serialized_options = b'\212\235 \006BUY_PO' + _globals['_ORDERTYPE'].values_by_name["SELL_PO"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["SELL_PO"]._serialized_options = b'\212\235 \007SELL_PO' + _globals['_ORDERTYPE'].values_by_name["BUY_ATOMIC"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["BUY_ATOMIC"]._serialized_options = b'\212\235 \nBUY_ATOMIC' + _globals['_ORDERTYPE'].values_by_name["SELL_ATOMIC"]._loaded_options = None + _globals['_ORDERTYPE'].values_by_name["SELL_ATOMIC"]._serialized_options = b'\212\235 \013SELL_ATOMIC' + _globals['_ORDERMASK'].values_by_name["UNUSED"]._loaded_options = None + _globals['_ORDERMASK'].values_by_name["UNUSED"]._serialized_options = b'\212\235 \006UNUSED' + _globals['_ORDERMASK'].values_by_name["ANY"]._loaded_options = None + _globals['_ORDERMASK'].values_by_name["ANY"]._serialized_options = b'\212\235 \003ANY' + _globals['_ORDERMASK'].values_by_name["REGULAR"]._loaded_options = None + _globals['_ORDERMASK'].values_by_name["REGULAR"]._serialized_options = b'\212\235 \007REGULAR' + _globals['_ORDERMASK'].values_by_name["CONDITIONAL"]._loaded_options = None + _globals['_ORDERMASK'].values_by_name["CONDITIONAL"]._serialized_options = b'\212\235 \013CONDITIONAL' + _globals['_ORDERMASK'].values_by_name["DIRECTION_BUY_OR_HIGHER"]._loaded_options = None + _globals['_ORDERMASK'].values_by_name["DIRECTION_BUY_OR_HIGHER"]._serialized_options = b'\212\235 \rBUY_OR_HIGHER' + _globals['_ORDERMASK'].values_by_name["DIRECTION_SELL_OR_LOWER"]._loaded_options = None + _globals['_ORDERMASK'].values_by_name["DIRECTION_SELL_OR_LOWER"]._serialized_options = b'\212\235 \rSELL_OR_LOWER' + _globals['_ORDERMASK'].values_by_name["TYPE_MARKET"]._loaded_options = None + _globals['_ORDERMASK'].values_by_name["TYPE_MARKET"]._serialized_options = b'\212\235 \006MARKET' + _globals['_ORDERMASK'].values_by_name["TYPE_LIMIT"]._loaded_options = None + _globals['_ORDERMASK'].values_by_name["TYPE_LIMIT"]._serialized_options = b'\212\235 \005LIMIT' + _globals['_PARAMS'].fields_by_name['spot_market_instant_listing_fee']._loaded_options = None + _globals['_PARAMS'].fields_by_name['spot_market_instant_listing_fee']._serialized_options = b'\310\336\037\000' + _globals['_PARAMS'].fields_by_name['derivative_market_instant_listing_fee']._loaded_options = None + _globals['_PARAMS'].fields_by_name['derivative_market_instant_listing_fee']._serialized_options = b'\310\336\037\000' + _globals['_PARAMS'].fields_by_name['default_spot_maker_fee_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_spot_maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['default_spot_taker_fee_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_spot_taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['default_derivative_maker_fee_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_derivative_maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['default_derivative_taker_fee_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_derivative_taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['default_initial_margin_ratio']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['default_maintenance_margin_ratio']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['relayer_fee_share_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['default_hourly_funding_rate_cap']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_hourly_funding_rate_cap']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['default_hourly_interest_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_hourly_interest_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['inj_reward_staked_requirement_threshold']._loaded_options = None + _globals['_PARAMS'].fields_by_name['inj_reward_staked_requirement_threshold']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_PARAMS'].fields_by_name['liquidator_reward_share_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['liquidator_reward_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['binary_options_market_instant_listing_fee']._loaded_options = None + _globals['_PARAMS'].fields_by_name['binary_options_market_instant_listing_fee']._serialized_options = b'\310\336\037\000' + _globals['_PARAMS'].fields_by_name['spot_atomic_market_order_fee_multiplier']._loaded_options = None + _globals['_PARAMS'].fields_by_name['spot_atomic_market_order_fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['derivative_atomic_market_order_fee_multiplier']._loaded_options = None + _globals['_PARAMS'].fields_by_name['derivative_atomic_market_order_fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['binary_options_atomic_market_order_fee_multiplier']._loaded_options = None + _globals['_PARAMS'].fields_by_name['binary_options_atomic_market_order_fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['minimal_protocol_fee_rate']._loaded_options = None + _globals['_PARAMS'].fields_by_name['minimal_protocol_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['inj_auction_max_cap']._loaded_options = None + _globals['_PARAMS'].fields_by_name['inj_auction_max_cap']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\017exchange/Params' + _globals['_MARKETFEEMULTIPLIER'].fields_by_name['fee_multiplier']._loaded_options = None + _globals['_MARKETFEEMULTIPLIER'].fields_by_name['fee_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MARKETFEEMULTIPLIER']._loaded_options = None + _globals['_MARKETFEEMULTIPLIER']._serialized_options = b'\210\240\037\000' + _globals['_DERIVATIVEMARKET'].fields_by_name['initial_margin_ratio']._loaded_options = None + _globals['_DERIVATIVEMARKET'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKET'].fields_by_name['maintenance_margin_ratio']._loaded_options = None + _globals['_DERIVATIVEMARKET'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKET'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_DERIVATIVEMARKET'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKET'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_DERIVATIVEMARKET'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKET'].fields_by_name['relayer_fee_share_rate']._loaded_options = None + _globals['_DERIVATIVEMARKET'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKET'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_DERIVATIVEMARKET'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKET'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_DERIVATIVEMARKET'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKET'].fields_by_name['min_notional']._loaded_options = None + _globals['_DERIVATIVEMARKET'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKET']._loaded_options = None + _globals['_DERIVATIVEMARKET']._serialized_options = b'\210\240\037\000' + _globals['_BINARYOPTIONSMARKET'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_BINARYOPTIONSMARKET'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKET'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_BINARYOPTIONSMARKET'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKET'].fields_by_name['relayer_fee_share_rate']._loaded_options = None + _globals['_BINARYOPTIONSMARKET'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKET'].fields_by_name['settlement_price']._loaded_options = None + _globals['_BINARYOPTIONSMARKET'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_notional']._loaded_options = None + _globals['_BINARYOPTIONSMARKET'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKET']._loaded_options = None + _globals['_BINARYOPTIONSMARKET']._serialized_options = b'\210\240\037\000' + _globals['_EXPIRYFUTURESMARKETINFO'].fields_by_name['expiration_twap_start_price_cumulative']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETINFO'].fields_by_name['expiration_twap_start_price_cumulative']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EXPIRYFUTURESMARKETINFO'].fields_by_name['settlement_price']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETINFO'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETINFO'].fields_by_name['hourly_funding_rate_cap']._loaded_options = None + _globals['_PERPETUALMARKETINFO'].fields_by_name['hourly_funding_rate_cap']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETINFO'].fields_by_name['hourly_interest_rate']._loaded_options = None + _globals['_PERPETUALMARKETINFO'].fields_by_name['hourly_interest_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_funding']._loaded_options = None + _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_funding']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_price']._loaded_options = None + _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETSETTLEMENTINFO'].fields_by_name['settlement_price']._loaded_options = None + _globals['_DERIVATIVEMARKETSETTLEMENTINFO'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MIDPRICEANDTOB'].fields_by_name['mid_price']._loaded_options = None + _globals['_MIDPRICEANDTOB'].fields_by_name['mid_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MIDPRICEANDTOB'].fields_by_name['best_buy_price']._loaded_options = None + _globals['_MIDPRICEANDTOB'].fields_by_name['best_buy_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MIDPRICEANDTOB'].fields_by_name['best_sell_price']._loaded_options = None + _globals['_MIDPRICEANDTOB'].fields_by_name['best_sell_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKET'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_SPOTMARKET'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKET'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_SPOTMARKET'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKET'].fields_by_name['relayer_fee_share_rate']._loaded_options = None + _globals['_SPOTMARKET'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKET'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_SPOTMARKET'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKET'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_SPOTMARKET'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKET'].fields_by_name['min_notional']._loaded_options = None + _globals['_SPOTMARKET'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DEPOSIT'].fields_by_name['available_balance']._loaded_options = None + _globals['_DEPOSIT'].fields_by_name['available_balance']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DEPOSIT'].fields_by_name['total_balance']._loaded_options = None + _globals['_DEPOSIT'].fields_by_name['total_balance']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_ORDERINFO'].fields_by_name['price']._loaded_options = None + _globals['_ORDERINFO'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_ORDERINFO'].fields_by_name['quantity']._loaded_options = None + _globals['_ORDERINFO'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTORDER'].fields_by_name['order_info']._loaded_options = None + _globals['_SPOTORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' + _globals['_SPOTORDER'].fields_by_name['trigger_price']._loaded_options = None + _globals['_SPOTORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTLIMITORDER'].fields_by_name['order_info']._loaded_options = None + _globals['_SPOTLIMITORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' + _globals['_SPOTLIMITORDER'].fields_by_name['fillable']._loaded_options = None + _globals['_SPOTLIMITORDER'].fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTLIMITORDER'].fields_by_name['trigger_price']._loaded_options = None + _globals['_SPOTLIMITORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETORDER'].fields_by_name['order_info']._loaded_options = None + _globals['_SPOTMARKETORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' + _globals['_SPOTMARKETORDER'].fields_by_name['balance_hold']._loaded_options = None + _globals['_SPOTMARKETORDER'].fields_by_name['balance_hold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETORDER'].fields_by_name['trigger_price']._loaded_options = None + _globals['_SPOTMARKETORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEORDER'].fields_by_name['order_info']._loaded_options = None + _globals['_DERIVATIVEORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' + _globals['_DERIVATIVEORDER'].fields_by_name['margin']._loaded_options = None + _globals['_DERIVATIVEORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEORDER'].fields_by_name['trigger_price']._loaded_options = None + _globals['_DERIVATIVEORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SUBACCOUNTORDERBOOKMETADATA'].fields_by_name['aggregate_reduce_only_quantity']._loaded_options = None + _globals['_SUBACCOUNTORDERBOOKMETADATA'].fields_by_name['aggregate_reduce_only_quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SUBACCOUNTORDERBOOKMETADATA'].fields_by_name['aggregate_vanilla_quantity']._loaded_options = None + _globals['_SUBACCOUNTORDERBOOKMETADATA'].fields_by_name['aggregate_vanilla_quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SUBACCOUNTORDER'].fields_by_name['price']._loaded_options = None + _globals['_SUBACCOUNTORDER'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SUBACCOUNTORDER'].fields_by_name['quantity']._loaded_options = None + _globals['_SUBACCOUNTORDER'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVELIMITORDER'].fields_by_name['order_info']._loaded_options = None + _globals['_DERIVATIVELIMITORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' + _globals['_DERIVATIVELIMITORDER'].fields_by_name['margin']._loaded_options = None + _globals['_DERIVATIVELIMITORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVELIMITORDER'].fields_by_name['fillable']._loaded_options = None + _globals['_DERIVATIVELIMITORDER'].fields_by_name['fillable']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVELIMITORDER'].fields_by_name['trigger_price']._loaded_options = None + _globals['_DERIVATIVELIMITORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETORDER'].fields_by_name['order_info']._loaded_options = None + _globals['_DERIVATIVEMARKETORDER'].fields_by_name['order_info']._serialized_options = b'\310\336\037\000' + _globals['_DERIVATIVEMARKETORDER'].fields_by_name['margin']._loaded_options = None + _globals['_DERIVATIVEMARKETORDER'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETORDER'].fields_by_name['margin_hold']._loaded_options = None + _globals['_DERIVATIVEMARKETORDER'].fields_by_name['margin_hold']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETORDER'].fields_by_name['trigger_price']._loaded_options = None + _globals['_DERIVATIVEMARKETORDER'].fields_by_name['trigger_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITION'].fields_by_name['quantity']._loaded_options = None + _globals['_POSITION'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITION'].fields_by_name['entry_price']._loaded_options = None + _globals['_POSITION'].fields_by_name['entry_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITION'].fields_by_name['margin']._loaded_options = None + _globals['_POSITION'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITION'].fields_by_name['cumulative_funding_entry']._loaded_options = None + _globals['_POSITION'].fields_by_name['cumulative_funding_entry']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRADELOG'].fields_by_name['quantity']._loaded_options = None + _globals['_TRADELOG'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRADELOG'].fields_by_name['price']._loaded_options = None + _globals['_TRADELOG'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRADELOG'].fields_by_name['fee']._loaded_options = None + _globals['_TRADELOG'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRADELOG'].fields_by_name['fee_recipient_address']._loaded_options = None + _globals['_TRADELOG'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' + _globals['_POSITIONDELTA'].fields_by_name['execution_quantity']._loaded_options = None + _globals['_POSITIONDELTA'].fields_by_name['execution_quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITIONDELTA'].fields_by_name['execution_margin']._loaded_options = None + _globals['_POSITIONDELTA'].fields_by_name['execution_margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITIONDELTA'].fields_by_name['execution_price']._loaded_options = None + _globals['_POSITIONDELTA'].fields_by_name['execution_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVETRADELOG'].fields_by_name['payout']._loaded_options = None + _globals['_DERIVATIVETRADELOG'].fields_by_name['payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVETRADELOG'].fields_by_name['fee']._loaded_options = None + _globals['_DERIVATIVETRADELOG'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVETRADELOG'].fields_by_name['fee_recipient_address']._loaded_options = None + _globals['_DERIVATIVETRADELOG'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' + _globals['_DERIVATIVETRADELOG'].fields_by_name['pnl']._loaded_options = None + _globals['_DERIVATIVETRADELOG'].fields_by_name['pnl']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POINTSMULTIPLIER'].fields_by_name['maker_points_multiplier']._loaded_options = None + _globals['_POINTSMULTIPLIER'].fields_by_name['maker_points_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POINTSMULTIPLIER'].fields_by_name['taker_points_multiplier']._loaded_options = None + _globals['_POINTSMULTIPLIER'].fields_by_name['taker_points_multiplier']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO'].fields_by_name['spot_market_multipliers']._loaded_options = None + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO'].fields_by_name['spot_market_multipliers']._serialized_options = b'\310\336\037\000' + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO'].fields_by_name['derivative_market_multipliers']._loaded_options = None + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO'].fields_by_name['derivative_market_multipliers']._serialized_options = b'\310\336\037\000' + _globals['_CAMPAIGNREWARDPOOL'].fields_by_name['max_campaign_rewards']._loaded_options = None + _globals['_CAMPAIGNREWARDPOOL'].fields_by_name['max_campaign_rewards']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['maker_discount_rate']._loaded_options = None + _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['maker_discount_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['taker_discount_rate']._loaded_options = None + _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['taker_discount_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['staked_amount']._loaded_options = None + _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['staked_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['volume']._loaded_options = None + _globals['_FEEDISCOUNTTIERINFO'].fields_by_name['volume']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_VOLUMERECORD'].fields_by_name['maker_volume']._loaded_options = None + _globals['_VOLUMERECORD'].fields_by_name['maker_volume']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_VOLUMERECORD'].fields_by_name['taker_volume']._loaded_options = None + _globals['_VOLUMERECORD'].fields_by_name['taker_volume']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_ACCOUNTREWARDS'].fields_by_name['rewards']._loaded_options = None + _globals['_ACCOUNTREWARDS'].fields_by_name['rewards']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_TRADERECORD'].fields_by_name['price']._loaded_options = None + _globals['_TRADERECORD'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRADERECORD'].fields_by_name['quantity']._loaded_options = None + _globals['_TRADERECORD'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_LEVEL'].fields_by_name['p']._loaded_options = None + _globals['_LEVEL'].fields_by_name['p']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_LEVEL'].fields_by_name['q']._loaded_options = None + _globals['_LEVEL'].fields_by_name['q']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRIMMEDLIMITORDER'].fields_by_name['price']._loaded_options = None + _globals['_TRIMMEDLIMITORDER'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRIMMEDLIMITORDER'].fields_by_name['quantity']._loaded_options = None + _globals['_TRIMMEDLIMITORDER'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MARKETVOLUME'].fields_by_name['volume']._loaded_options = None + _globals['_MARKETVOLUME'].fields_by_name['volume']._serialized_options = b'\310\336\037\000' + _globals['_GRANTAUTHORIZATION'].fields_by_name['amount']._loaded_options = None + _globals['_GRANTAUTHORIZATION'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_ACTIVEGRANT'].fields_by_name['amount']._loaded_options = None + _globals['_ACTIVEGRANT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_EFFECTIVEGRANT'].fields_by_name['net_granted_stake']._loaded_options = None + _globals['_EFFECTIVEGRANT'].fields_by_name['net_granted_stake']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_start=16202 + _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_end=16318 + _globals['_MARKETSTATUS']._serialized_start=16320 + _globals['_MARKETSTATUS']._serialized_end=16404 + _globals['_ORDERTYPE']._serialized_start=16407 + _globals['_ORDERTYPE']._serialized_end=16722 + _globals['_EXECUTIONTYPE']._serialized_start=16725 + _globals['_EXECUTIONTYPE']._serialized_end=16900 + _globals['_ORDERMASK']._serialized_start=16903 + _globals['_ORDERMASK']._serialized_end=17168 + _globals['_PARAMS']._serialized_start=186 + _globals['_PARAMS']._serialized_end=2967 + _globals['_MARKETFEEMULTIPLIER']._serialized_start=2970 + _globals['_MARKETFEEMULTIPLIER']._serialized_end=3102 + _globals['_DERIVATIVEMARKET']._serialized_start=3105 + _globals['_DERIVATIVEMARKET']._serialized_end=4237 + _globals['_BINARYOPTIONSMARKET']._serialized_start=4240 + _globals['_BINARYOPTIONSMARKET']._serialized_end=5351 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=5354 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=5710 + _globals['_PERPETUALMARKETINFO']._serialized_start=5713 + _globals['_PERPETUALMARKETINFO']._serialized_end=6039 + _globals['_PERPETUALMARKETFUNDING']._serialized_start=6042 + _globals['_PERPETUALMARKETFUNDING']._serialized_end=6269 + _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_start=6272 + _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_end=6413 + _globals['_NEXTFUNDINGTIMESTAMP']._serialized_start=6415 + _globals['_NEXTFUNDINGTIMESTAMP']._serialized_end=6476 + _globals['_MIDPRICEANDTOB']._serialized_start=6479 + _globals['_MIDPRICEANDTOB']._serialized_end=6713 + _globals['_SPOTMARKET']._serialized_start=6716 + _globals['_SPOTMARKET']._serialized_end=7464 + _globals['_DEPOSIT']._serialized_start=7467 + _globals['_DEPOSIT']._serialized_end=7632 + _globals['_SUBACCOUNTTRADENONCE']._serialized_start=7634 + _globals['_SUBACCOUNTTRADENONCE']._serialized_end=7678 + _globals['_ORDERINFO']._serialized_start=7681 + _globals['_ORDERINFO']._serialized_end=7908 + _globals['_SPOTORDER']._serialized_start=7911 + _globals['_SPOTORDER']._serialized_end=8171 + _globals['_SPOTLIMITORDER']._serialized_start=8174 + _globals['_SPOTLIMITORDER']._serialized_end=8506 + _globals['_SPOTMARKETORDER']._serialized_start=8509 + _globals['_SPOTMARKETORDER']._serialized_end=8849 + _globals['_DERIVATIVEORDER']._serialized_start=8852 + _globals['_DERIVATIVEORDER']._serialized_end=9179 + _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_start=9182 + _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_end=9690 + _globals['_SUBACCOUNTORDER']._serialized_start=9693 + _globals['_SUBACCOUNTORDER']._serialized_end=9888 + _globals['_SUBACCOUNTORDERDATA']._serialized_start=9890 + _globals['_SUBACCOUNTORDERDATA']._serialized_end=10009 + _globals['_DERIVATIVELIMITORDER']._serialized_start=10012 + _globals['_DERIVATIVELIMITORDER']._serialized_end=10411 + _globals['_DERIVATIVEMARKETORDER']._serialized_start=10414 + _globals['_DERIVATIVEMARKETORDER']._serialized_end=10819 + _globals['_POSITION']._serialized_start=10822 + _globals['_POSITION']._serialized_end=11147 + _globals['_MARKETORDERINDICATOR']._serialized_start=11149 + _globals['_MARKETORDERINDICATOR']._serialized_end=11222 + _globals['_TRADELOG']._serialized_start=11225 + _globals['_TRADELOG']._serialized_end=11558 + _globals['_POSITIONDELTA']._serialized_start=11561 + _globals['_POSITIONDELTA']._serialized_end=11843 + _globals['_DERIVATIVETRADELOG']._serialized_start=11846 + _globals['_DERIVATIVETRADELOG']._serialized_end=12263 + _globals['_SUBACCOUNTPOSITION']._serialized_start=12265 + _globals['_SUBACCOUNTPOSITION']._serialized_end=12388 + _globals['_SUBACCOUNTDEPOSIT']._serialized_start=12390 + _globals['_SUBACCOUNTDEPOSIT']._serialized_end=12509 + _globals['_DEPOSITUPDATE']._serialized_start=12511 + _globals['_DEPOSITUPDATE']._serialized_end=12623 + _globals['_POINTSMULTIPLIER']._serialized_start=12626 + _globals['_POINTSMULTIPLIER']._serialized_end=12830 + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_start=12833 + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_end=13215 + _globals['_CAMPAIGNREWARDPOOL']._serialized_start=13218 + _globals['_CAMPAIGNREWARDPOOL']._serialized_end=13406 + _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_start=13409 + _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_end=13706 + _globals['_FEEDISCOUNTTIERINFO']._serialized_start=13709 + _globals['_FEEDISCOUNTTIERINFO']._serialized_end=14029 + _globals['_FEEDISCOUNTSCHEDULE']._serialized_start=14032 + _globals['_FEEDISCOUNTSCHEDULE']._serialized_end=14300 + _globals['_FEEDISCOUNTTIERTTL']._serialized_start=14302 + _globals['_FEEDISCOUNTTIERTTL']._serialized_end=14379 + _globals['_VOLUMERECORD']._serialized_start=14382 + _globals['_VOLUMERECORD']._serialized_end=14540 + _globals['_ACCOUNTREWARDS']._serialized_start=14543 + _globals['_ACCOUNTREWARDS']._serialized_end=14688 + _globals['_TRADERECORDS']._serialized_start=14691 + _globals['_TRADERECORDS']._serialized_end=14825 + _globals['_SUBACCOUNTIDS']._serialized_start=14827 + _globals['_SUBACCOUNTIDS']._serialized_end=14881 + _globals['_TRADERECORD']._serialized_start=14884 + _globals['_TRADERECORD']._serialized_end=15051 + _globals['_LEVEL']._serialized_start=15053 + _globals['_LEVEL']._serialized_end=15162 + _globals['_TRIMMEDLIMITORDER']._serialized_start=15165 + _globals['_TRIMMEDLIMITORDER']._serialized_end=15376 + _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_start=15379 + _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_end=15530 + _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_start=15533 + _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_end=15670 + _globals['_MARKETVOLUME']._serialized_start=15672 + _globals['_MARKETVOLUME']._serialized_end=15787 + _globals['_DENOMDECIMALS']._serialized_start=15789 + _globals['_DENOMDECIMALS']._serialized_end=15854 + _globals['_GRANTAUTHORIZATION']._serialized_start=15856 + _globals['_GRANTAUTHORIZATION']._serialized_end=15957 + _globals['_ACTIVEGRANT']._serialized_start=15959 + _globals['_ACTIVEGRANT']._serialized_end=16053 + _globals['_EFFECTIVEGRANT']._serialized_start=16056 + _globals['_EFFECTIVEGRANT']._serialized_end=16200 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2_grpc.py +++ b/pyinjective/proto/injective/exchange/v1beta1/exchange_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py index 3ca11adc..62b1d57b 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2.py @@ -7,115 +7,98 @@ 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 pyinjective.proto.injective.exchange.v1beta1 import ( - exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2, -) +from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 from pyinjective.proto.injective.exchange.v1beta1 import tx_pb2 as injective_dot_exchange_dot_v1beta1_dot_tx__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n(injective/exchange/v1beta1/genesis.proto\x12\x1ainjective.exchange.v1beta1\x1a)injective/exchange/v1beta1/exchange.proto\x1a#injective/exchange/v1beta1/tx.proto\x1a\x14gogoproto/gogo.proto"\xab\x1d\n\x0cGenesisState\x12@\n\x06params\x18\x01 \x01(\x0b\x32".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12I\n\x0cspot_markets\x18\x02 \x03(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x0bspotMarkets\x12[\n\x12\x64\x65rivative_markets\x18\x03 \x03(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketR\x11\x64\x65rivativeMarkets\x12V\n\x0espot_orderbook\x18\x04 \x03(\x0b\x32).injective.exchange.v1beta1.SpotOrderBookB\x04\xc8\xde\x1f\x00R\rspotOrderbook\x12h\n\x14\x64\x65rivative_orderbook\x18\x05 \x03(\x0b\x32/.injective.exchange.v1beta1.DerivativeOrderBookB\x04\xc8\xde\x1f\x00R\x13\x64\x65rivativeOrderbook\x12\x45\n\x08\x62\x61lances\x18\x06 \x03(\x0b\x32#.injective.exchange.v1beta1.BalanceB\x04\xc8\xde\x1f\x00R\x08\x62\x61lances\x12R\n\tpositions\x18\x07 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\tpositions\x12i\n\x17subaccount_trade_nonces\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.SubaccountNonceB\x04\xc8\xde\x1f\x00R\x15subaccountTradeNonces\x12\x86\x01\n expiry_futures_market_info_state\x18\t \x03(\x0b\x32\x38.injective.exchange.v1beta1.ExpiryFuturesMarketInfoStateB\x04\xc8\xde\x1f\x00R\x1c\x65xpiryFuturesMarketInfoState\x12i\n\x15perpetual_market_info\x18\n \x03(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00R\x13perpetualMarketInfo\x12\x82\x01\n\x1eperpetual_market_funding_state\x18\x0b \x03(\x0b\x32\x37.injective.exchange.v1beta1.PerpetualMarketFundingStateB\x04\xc8\xde\x1f\x00R\x1bperpetualMarketFundingState\x12\x95\x01\n&derivative_market_settlement_scheduled\x18\x0c \x03(\x0b\x32:.injective.exchange.v1beta1.DerivativeMarketSettlementInfoB\x04\xc8\xde\x1f\x00R#derivativeMarketSettlementScheduled\x12\x37\n\x18is_spot_exchange_enabled\x18\r \x01(\x08R\x15isSpotExchangeEnabled\x12\x45\n\x1fis_derivatives_exchange_enabled\x18\x0e \x01(\x08R\x1cisDerivativesExchangeEnabled\x12v\n\x1ctrading_reward_campaign_info\x18\x0f \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x19tradingRewardCampaignInfo\x12\x80\x01\n%trading_reward_pool_campaign_schedule\x18\x10 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR!tradingRewardPoolCampaignSchedule\x12\x92\x01\n&trading_reward_campaign_account_points\x18\x11 \x03(\x0b\x32>.injective.exchange.v1beta1.TradingRewardCampaignAccountPointsR"tradingRewardCampaignAccountPoints\x12\x63\n\x15\x66\x65\x65_discount_schedule\x18\x12 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x13\x66\x65\x65\x44iscountSchedule\x12w\n\x1d\x66\x65\x65_discount_account_tier_ttl\x18\x13 \x03(\x0b\x32\x35.injective.exchange.v1beta1.FeeDiscountAccountTierTTLR\x19\x66\x65\x65\x44iscountAccountTierTtl\x12\x89\x01\n#fee_discount_bucket_volume_accounts\x18\x14 \x03(\x0b\x32;.injective.exchange.v1beta1.FeeDiscountBucketVolumeAccountsR\x1f\x66\x65\x65\x44iscountBucketVolumeAccounts\x12<\n\x1bis_first_fee_cycle_finished\x18\x15 \x01(\x08R\x17isFirstFeeCycleFinished\x12\x8f\x01\n-pending_trading_reward_pool_campaign_schedule\x18\x16 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR(pendingTradingRewardPoolCampaignSchedule\x12\xa8\x01\n.pending_trading_reward_campaign_account_points\x18\x17 \x03(\x0b\x32\x45.injective.exchange.v1beta1.TradingRewardCampaignAccountPendingPointsR)pendingTradingRewardCampaignAccountPoints\x12\x39\n\x19rewards_opt_out_addresses\x18\x18 \x03(\tR\x16rewardsOptOutAddresses\x12\x62\n\x18historical_trade_records\x18\x19 \x03(\x0b\x32(.injective.exchange.v1beta1.TradeRecordsR\x16historicalTradeRecords\x12\x65\n\x16\x62inary_options_markets\x18\x1a \x03(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketR\x14\x62inaryOptionsMarkets\x12h\n2binary_options_market_ids_scheduled_for_settlement\x18\x1b \x03(\tR,binaryOptionsMarketIdsScheduledForSettlement\x12T\n(spot_market_ids_scheduled_to_force_close\x18\x1c \x03(\tR"spotMarketIdsScheduledToForceClose\x12V\n\x0e\x64\x65nom_decimals\x18\x1d \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsB\x04\xc8\xde\x1f\x00R\rdenomDecimals\x12\x86\x01\n!conditional_derivative_orderbooks\x18\x1e \x03(\x0b\x32:.injective.exchange.v1beta1.ConditionalDerivativeOrderBookR\x1f\x63onditionalDerivativeOrderbooks\x12\x65\n\x16market_fee_multipliers\x18\x1f \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers\x12^\n\x13orderbook_sequences\x18 \x03(\x0b\x32-.injective.exchange.v1beta1.OrderbookSequenceR\x12orderbookSequences\x12j\n\x12subaccount_volumes\x18! \x03(\x0b\x32;.injective.exchange.v1beta1.AggregateSubaccountVolumeRecordR\x11subaccountVolumes\x12O\n\x0emarket_volumes\x18" \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes\x12\x66\n\x14grant_authorizations\x18# \x03(\x0b\x32\x33.injective.exchange.v1beta1.FullGrantAuthorizationsR\x13grantAuthorizations\x12P\n\ractive_grants\x18$ \x03(\x0b\x32+.injective.exchange.v1beta1.FullActiveGrantR\x0c\x61\x63tiveGrants"L\n\x11OrderbookSequence\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId"\x80\x01\n\x19\x46\x65\x65\x44iscountAccountTierTTL\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12I\n\x08tier_ttl\x18\x02 \x01(\x0b\x32..injective.exchange.v1beta1.FeeDiscountTierTTLR\x07tierTtl"\xa9\x01\n\x1f\x46\x65\x65\x44iscountBucketVolumeAccounts\x12\x34\n\x16\x62ucket_start_timestamp\x18\x01 \x01(\x03R\x14\x62ucketStartTimestamp\x12P\n\x0e\x61\x63\x63ount_volume\x18\x02 \x03(\x0b\x32).injective.exchange.v1beta1.AccountVolumeR\raccountVolume"f\n\rAccountVolume\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12;\n\x06volume\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06volume"{\n"TradingRewardCampaignAccountPoints\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12;\n\x06points\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06points"\xd1\x01\n)TradingRewardCampaignAccountPendingPoints\x12=\n\x1breward_pool_start_timestamp\x18\x01 \x01(\x03R\x18rewardPoolStartTimestamp\x12\x65\n\x0e\x61\x63\x63ount_points\x18\x02 \x03(\x0b\x32>.injective.exchange.v1beta1.TradingRewardCampaignAccountPointsR\raccountPoints"\x98\x01\n\rSpotOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1c\n\tisBuySide\x18\x02 \x01(\x08R\tisBuySide\x12\x42\n\x06orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\x06orders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xa4\x01\n\x13\x44\x65rivativeOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1c\n\tisBuySide\x18\x02 \x01(\x08R\tisBuySide\x12H\n\x06orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x06orders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xc1\x03\n\x1e\x43onditionalDerivativeOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Z\n\x10limit_buy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x0elimitBuyOrders\x12]\n\x11market_buy_orders\x18\x03 \x03(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderR\x0fmarketBuyOrders\x12\\\n\x11limit_sell_orders\x18\x04 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x0flimitSellOrders\x12_\n\x12market_sell_orders\x18\x05 \x03(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderR\x10marketSellOrders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x8f\x01\n\x07\x42\x61lance\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12?\n\x08\x64\x65posits\x18\x03 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x08\x64\x65posits:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xa2\x01\n\x12\x44\x65rivativePosition\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12@\n\x08position\x18\x03 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionR\x08position:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xae\x01\n\x0fSubaccountNonce\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12l\n\x16subaccount_trade_nonce\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.SubaccountTradeNonceB\x04\xc8\xde\x1f\x00R\x14subaccountTradeNonce:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x91\x01\n\x1c\x45xpiryFuturesMarketInfoState\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12T\n\x0bmarket_info\x18\x02 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoR\nmarketInfo"\x88\x01\n\x1bPerpetualMarketFundingState\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingR\x07\x66unding"\x8b\x02\n\x17\x46ullGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12K\n\x12total_grant_amount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10totalGrantAmount\x12\x41\n\x1dlast_delegations_checked_time\x18\x03 \x01(\x03R\x1alastDelegationsCheckedTime\x12\x46\n\x06grants\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants"w\n\x0f\x46ullActiveGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12J\n\x0c\x61\x63tive_grant\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.ActiveGrantR\x0b\x61\x63tiveGrantB\x88\x02\n\x1e\x63om.injective.exchange.v1beta1B\x0cGenesisProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(injective/exchange/v1beta1/genesis.proto\x12\x1ainjective.exchange.v1beta1\x1a)injective/exchange/v1beta1/exchange.proto\x1a#injective/exchange/v1beta1/tx.proto\x1a\x14gogoproto/gogo.proto\"\xab\x1d\n\x0cGenesisState\x12@\n\x06params\x18\x01 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12I\n\x0cspot_markets\x18\x02 \x03(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x0bspotMarkets\x12[\n\x12\x64\x65rivative_markets\x18\x03 \x03(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketR\x11\x64\x65rivativeMarkets\x12V\n\x0espot_orderbook\x18\x04 \x03(\x0b\x32).injective.exchange.v1beta1.SpotOrderBookB\x04\xc8\xde\x1f\x00R\rspotOrderbook\x12h\n\x14\x64\x65rivative_orderbook\x18\x05 \x03(\x0b\x32/.injective.exchange.v1beta1.DerivativeOrderBookB\x04\xc8\xde\x1f\x00R\x13\x64\x65rivativeOrderbook\x12\x45\n\x08\x62\x61lances\x18\x06 \x03(\x0b\x32#.injective.exchange.v1beta1.BalanceB\x04\xc8\xde\x1f\x00R\x08\x62\x61lances\x12R\n\tpositions\x18\x07 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\tpositions\x12i\n\x17subaccount_trade_nonces\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.SubaccountNonceB\x04\xc8\xde\x1f\x00R\x15subaccountTradeNonces\x12\x86\x01\n expiry_futures_market_info_state\x18\t \x03(\x0b\x32\x38.injective.exchange.v1beta1.ExpiryFuturesMarketInfoStateB\x04\xc8\xde\x1f\x00R\x1c\x65xpiryFuturesMarketInfoState\x12i\n\x15perpetual_market_info\x18\n \x03(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00R\x13perpetualMarketInfo\x12\x82\x01\n\x1eperpetual_market_funding_state\x18\x0b \x03(\x0b\x32\x37.injective.exchange.v1beta1.PerpetualMarketFundingStateB\x04\xc8\xde\x1f\x00R\x1bperpetualMarketFundingState\x12\x95\x01\n&derivative_market_settlement_scheduled\x18\x0c \x03(\x0b\x32:.injective.exchange.v1beta1.DerivativeMarketSettlementInfoB\x04\xc8\xde\x1f\x00R#derivativeMarketSettlementScheduled\x12\x37\n\x18is_spot_exchange_enabled\x18\r \x01(\x08R\x15isSpotExchangeEnabled\x12\x45\n\x1fis_derivatives_exchange_enabled\x18\x0e \x01(\x08R\x1cisDerivativesExchangeEnabled\x12v\n\x1ctrading_reward_campaign_info\x18\x0f \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x19tradingRewardCampaignInfo\x12\x80\x01\n%trading_reward_pool_campaign_schedule\x18\x10 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR!tradingRewardPoolCampaignSchedule\x12\x92\x01\n&trading_reward_campaign_account_points\x18\x11 \x03(\x0b\x32>.injective.exchange.v1beta1.TradingRewardCampaignAccountPointsR\"tradingRewardCampaignAccountPoints\x12\x63\n\x15\x66\x65\x65_discount_schedule\x18\x12 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x13\x66\x65\x65\x44iscountSchedule\x12w\n\x1d\x66\x65\x65_discount_account_tier_ttl\x18\x13 \x03(\x0b\x32\x35.injective.exchange.v1beta1.FeeDiscountAccountTierTTLR\x19\x66\x65\x65\x44iscountAccountTierTtl\x12\x89\x01\n#fee_discount_bucket_volume_accounts\x18\x14 \x03(\x0b\x32;.injective.exchange.v1beta1.FeeDiscountBucketVolumeAccountsR\x1f\x66\x65\x65\x44iscountBucketVolumeAccounts\x12<\n\x1bis_first_fee_cycle_finished\x18\x15 \x01(\x08R\x17isFirstFeeCycleFinished\x12\x8f\x01\n-pending_trading_reward_pool_campaign_schedule\x18\x16 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR(pendingTradingRewardPoolCampaignSchedule\x12\xa8\x01\n.pending_trading_reward_campaign_account_points\x18\x17 \x03(\x0b\x32\x45.injective.exchange.v1beta1.TradingRewardCampaignAccountPendingPointsR)pendingTradingRewardCampaignAccountPoints\x12\x39\n\x19rewards_opt_out_addresses\x18\x18 \x03(\tR\x16rewardsOptOutAddresses\x12\x62\n\x18historical_trade_records\x18\x19 \x03(\x0b\x32(.injective.exchange.v1beta1.TradeRecordsR\x16historicalTradeRecords\x12\x65\n\x16\x62inary_options_markets\x18\x1a \x03(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketR\x14\x62inaryOptionsMarkets\x12h\n2binary_options_market_ids_scheduled_for_settlement\x18\x1b \x03(\tR,binaryOptionsMarketIdsScheduledForSettlement\x12T\n(spot_market_ids_scheduled_to_force_close\x18\x1c \x03(\tR\"spotMarketIdsScheduledToForceClose\x12V\n\x0e\x64\x65nom_decimals\x18\x1d \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsB\x04\xc8\xde\x1f\x00R\rdenomDecimals\x12\x86\x01\n!conditional_derivative_orderbooks\x18\x1e \x03(\x0b\x32:.injective.exchange.v1beta1.ConditionalDerivativeOrderBookR\x1f\x63onditionalDerivativeOrderbooks\x12\x65\n\x16market_fee_multipliers\x18\x1f \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers\x12^\n\x13orderbook_sequences\x18 \x03(\x0b\x32-.injective.exchange.v1beta1.OrderbookSequenceR\x12orderbookSequences\x12j\n\x12subaccount_volumes\x18! \x03(\x0b\x32;.injective.exchange.v1beta1.AggregateSubaccountVolumeRecordR\x11subaccountVolumes\x12O\n\x0emarket_volumes\x18\" \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\rmarketVolumes\x12\x66\n\x14grant_authorizations\x18# \x03(\x0b\x32\x33.injective.exchange.v1beta1.FullGrantAuthorizationsR\x13grantAuthorizations\x12P\n\ractive_grants\x18$ \x03(\x0b\x32+.injective.exchange.v1beta1.FullActiveGrantR\x0c\x61\x63tiveGrants\"L\n\x11OrderbookSequence\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"\x80\x01\n\x19\x46\x65\x65\x44iscountAccountTierTTL\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12I\n\x08tier_ttl\x18\x02 \x01(\x0b\x32..injective.exchange.v1beta1.FeeDiscountTierTTLR\x07tierTtl\"\xa9\x01\n\x1f\x46\x65\x65\x44iscountBucketVolumeAccounts\x12\x34\n\x16\x62ucket_start_timestamp\x18\x01 \x01(\x03R\x14\x62ucketStartTimestamp\x12P\n\x0e\x61\x63\x63ount_volume\x18\x02 \x03(\x0b\x32).injective.exchange.v1beta1.AccountVolumeR\raccountVolume\"f\n\rAccountVolume\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12;\n\x06volume\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06volume\"{\n\"TradingRewardCampaignAccountPoints\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12;\n\x06points\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06points\"\xd1\x01\n)TradingRewardCampaignAccountPendingPoints\x12=\n\x1breward_pool_start_timestamp\x18\x01 \x01(\x03R\x18rewardPoolStartTimestamp\x12\x65\n\x0e\x61\x63\x63ount_points\x18\x02 \x03(\x0b\x32>.injective.exchange.v1beta1.TradingRewardCampaignAccountPointsR\raccountPoints\"\x98\x01\n\rSpotOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1c\n\tisBuySide\x18\x02 \x01(\x08R\tisBuySide\x12\x42\n\x06orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\x06orders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa4\x01\n\x13\x44\x65rivativeOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x1c\n\tisBuySide\x18\x02 \x01(\x08R\tisBuySide\x12H\n\x06orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x06orders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc1\x03\n\x1e\x43onditionalDerivativeOrderBook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Z\n\x10limit_buy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x0elimitBuyOrders\x12]\n\x11market_buy_orders\x18\x03 \x03(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderR\x0fmarketBuyOrders\x12\\\n\x11limit_sell_orders\x18\x04 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\x0flimitSellOrders\x12_\n\x12market_sell_orders\x18\x05 \x03(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderR\x10marketSellOrders:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8f\x01\n\x07\x42\x61lance\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12?\n\x08\x64\x65posits\x18\x03 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x08\x64\x65posits:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xa2\x01\n\x12\x44\x65rivativePosition\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12@\n\x08position\x18\x03 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionR\x08position:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xae\x01\n\x0fSubaccountNonce\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12l\n\x16subaccount_trade_nonce\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.SubaccountTradeNonceB\x04\xc8\xde\x1f\x00R\x14subaccountTradeNonce:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x91\x01\n\x1c\x45xpiryFuturesMarketInfoState\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12T\n\x0bmarket_info\x18\x02 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoR\nmarketInfo\"\x88\x01\n\x1bPerpetualMarketFundingState\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingR\x07\x66unding\"\x8b\x02\n\x17\x46ullGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12K\n\x12total_grant_amount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10totalGrantAmount\x12\x41\n\x1dlast_delegations_checked_time\x18\x03 \x01(\x03R\x1alastDelegationsCheckedTime\x12\x46\n\x06grants\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants\"w\n\x0f\x46ullActiveGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12J\n\x0c\x61\x63tive_grant\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.ActiveGrantR\x0b\x61\x63tiveGrantB\x88\x02\n\x1e\x63om.injective.exchange.v1beta1B\x0cGenesisProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.exchange.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\036com.injective.exchange.v1beta1B\014GenesisProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1" - ) - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["spot_orderbook"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["spot_orderbook"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["derivative_orderbook"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["derivative_orderbook"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["balances"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["balances"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["positions"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["positions"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["subaccount_trade_nonces"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["subaccount_trade_nonces"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["expiry_futures_market_info_state"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "expiry_futures_market_info_state" - ]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["perpetual_market_info"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["perpetual_market_info"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["perpetual_market_funding_state"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["perpetual_market_funding_state"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["derivative_market_settlement_scheduled"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "derivative_market_settlement_scheduled" - ]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["denom_decimals"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["denom_decimals"]._serialized_options = b"\310\336\037\000" - _globals["_ACCOUNTVOLUME"].fields_by_name["volume"]._loaded_options = None - _globals["_ACCOUNTVOLUME"].fields_by_name[ - "volume" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRADINGREWARDCAMPAIGNACCOUNTPOINTS"].fields_by_name["points"]._loaded_options = None - _globals["_TRADINGREWARDCAMPAIGNACCOUNTPOINTS"].fields_by_name[ - "points" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTORDERBOOK"]._loaded_options = None - _globals["_SPOTORDERBOOK"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_DERIVATIVEORDERBOOK"]._loaded_options = None - _globals["_DERIVATIVEORDERBOOK"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_CONDITIONALDERIVATIVEORDERBOOK"]._loaded_options = None - _globals["_CONDITIONALDERIVATIVEORDERBOOK"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_BALANCE"]._loaded_options = None - _globals["_BALANCE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_DERIVATIVEPOSITION"]._loaded_options = None - _globals["_DERIVATIVEPOSITION"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_SUBACCOUNTNONCE"].fields_by_name["subaccount_trade_nonce"]._loaded_options = None - _globals["_SUBACCOUNTNONCE"].fields_by_name["subaccount_trade_nonce"]._serialized_options = b"\310\336\037\000" - _globals["_SUBACCOUNTNONCE"]._loaded_options = None - _globals["_SUBACCOUNTNONCE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_FULLGRANTAUTHORIZATIONS"].fields_by_name["total_grant_amount"]._loaded_options = None - _globals["_FULLGRANTAUTHORIZATIONS"].fields_by_name[ - "total_grant_amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_GENESISSTATE"]._serialized_start = 175 - _globals["_GENESISSTATE"]._serialized_end = 3930 - _globals["_ORDERBOOKSEQUENCE"]._serialized_start = 3932 - _globals["_ORDERBOOKSEQUENCE"]._serialized_end = 4008 - _globals["_FEEDISCOUNTACCOUNTTIERTTL"]._serialized_start = 4011 - _globals["_FEEDISCOUNTACCOUNTTIERTTL"]._serialized_end = 4139 - _globals["_FEEDISCOUNTBUCKETVOLUMEACCOUNTS"]._serialized_start = 4142 - _globals["_FEEDISCOUNTBUCKETVOLUMEACCOUNTS"]._serialized_end = 4311 - _globals["_ACCOUNTVOLUME"]._serialized_start = 4313 - _globals["_ACCOUNTVOLUME"]._serialized_end = 4415 - _globals["_TRADINGREWARDCAMPAIGNACCOUNTPOINTS"]._serialized_start = 4417 - _globals["_TRADINGREWARDCAMPAIGNACCOUNTPOINTS"]._serialized_end = 4540 - _globals["_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS"]._serialized_start = 4543 - _globals["_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS"]._serialized_end = 4752 - _globals["_SPOTORDERBOOK"]._serialized_start = 4755 - _globals["_SPOTORDERBOOK"]._serialized_end = 4907 - _globals["_DERIVATIVEORDERBOOK"]._serialized_start = 4910 - _globals["_DERIVATIVEORDERBOOK"]._serialized_end = 5074 - _globals["_CONDITIONALDERIVATIVEORDERBOOK"]._serialized_start = 5077 - _globals["_CONDITIONALDERIVATIVEORDERBOOK"]._serialized_end = 5526 - _globals["_BALANCE"]._serialized_start = 5529 - _globals["_BALANCE"]._serialized_end = 5672 - _globals["_DERIVATIVEPOSITION"]._serialized_start = 5675 - _globals["_DERIVATIVEPOSITION"]._serialized_end = 5837 - _globals["_SUBACCOUNTNONCE"]._serialized_start = 5840 - _globals["_SUBACCOUNTNONCE"]._serialized_end = 6014 - _globals["_EXPIRYFUTURESMARKETINFOSTATE"]._serialized_start = 6017 - _globals["_EXPIRYFUTURESMARKETINFOSTATE"]._serialized_end = 6162 - _globals["_PERPETUALMARKETFUNDINGSTATE"]._serialized_start = 6165 - _globals["_PERPETUALMARKETFUNDINGSTATE"]._serialized_end = 6301 - _globals["_FULLGRANTAUTHORIZATIONS"]._serialized_start = 6304 - _globals["_FULLGRANTAUTHORIZATIONS"]._serialized_end = 6571 - _globals["_FULLACTIVEGRANT"]._serialized_start = 6573 - _globals["_FULLACTIVEGRANT"]._serialized_end = 6692 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\014GenesisProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['spot_orderbook']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['spot_orderbook']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['derivative_orderbook']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['derivative_orderbook']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['balances']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['positions']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['positions']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['subaccount_trade_nonces']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['subaccount_trade_nonces']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['expiry_futures_market_info_state']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['expiry_futures_market_info_state']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['perpetual_market_info']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['perpetual_market_info']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['perpetual_market_funding_state']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['perpetual_market_funding_state']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['derivative_market_settlement_scheduled']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['derivative_market_settlement_scheduled']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['denom_decimals']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['denom_decimals']._serialized_options = b'\310\336\037\000' + _globals['_ACCOUNTVOLUME'].fields_by_name['volume']._loaded_options = None + _globals['_ACCOUNTVOLUME'].fields_by_name['volume']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS'].fields_by_name['points']._loaded_options = None + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS'].fields_by_name['points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTORDERBOOK']._loaded_options = None + _globals['_SPOTORDERBOOK']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_DERIVATIVEORDERBOOK']._loaded_options = None + _globals['_DERIVATIVEORDERBOOK']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_CONDITIONALDERIVATIVEORDERBOOK']._loaded_options = None + _globals['_CONDITIONALDERIVATIVEORDERBOOK']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_BALANCE']._loaded_options = None + _globals['_BALANCE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_DERIVATIVEPOSITION']._loaded_options = None + _globals['_DERIVATIVEPOSITION']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_SUBACCOUNTNONCE'].fields_by_name['subaccount_trade_nonce']._loaded_options = None + _globals['_SUBACCOUNTNONCE'].fields_by_name['subaccount_trade_nonce']._serialized_options = b'\310\336\037\000' + _globals['_SUBACCOUNTNONCE']._loaded_options = None + _globals['_SUBACCOUNTNONCE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_FULLGRANTAUTHORIZATIONS'].fields_by_name['total_grant_amount']._loaded_options = None + _globals['_FULLGRANTAUTHORIZATIONS'].fields_by_name['total_grant_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_GENESISSTATE']._serialized_start=175 + _globals['_GENESISSTATE']._serialized_end=3930 + _globals['_ORDERBOOKSEQUENCE']._serialized_start=3932 + _globals['_ORDERBOOKSEQUENCE']._serialized_end=4008 + _globals['_FEEDISCOUNTACCOUNTTIERTTL']._serialized_start=4011 + _globals['_FEEDISCOUNTACCOUNTTIERTTL']._serialized_end=4139 + _globals['_FEEDISCOUNTBUCKETVOLUMEACCOUNTS']._serialized_start=4142 + _globals['_FEEDISCOUNTBUCKETVOLUMEACCOUNTS']._serialized_end=4311 + _globals['_ACCOUNTVOLUME']._serialized_start=4313 + _globals['_ACCOUNTVOLUME']._serialized_end=4415 + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS']._serialized_start=4417 + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS']._serialized_end=4540 + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS']._serialized_start=4543 + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS']._serialized_end=4752 + _globals['_SPOTORDERBOOK']._serialized_start=4755 + _globals['_SPOTORDERBOOK']._serialized_end=4907 + _globals['_DERIVATIVEORDERBOOK']._serialized_start=4910 + _globals['_DERIVATIVEORDERBOOK']._serialized_end=5074 + _globals['_CONDITIONALDERIVATIVEORDERBOOK']._serialized_start=5077 + _globals['_CONDITIONALDERIVATIVEORDERBOOK']._serialized_end=5526 + _globals['_BALANCE']._serialized_start=5529 + _globals['_BALANCE']._serialized_end=5672 + _globals['_DERIVATIVEPOSITION']._serialized_start=5675 + _globals['_DERIVATIVEPOSITION']._serialized_end=5837 + _globals['_SUBACCOUNTNONCE']._serialized_start=5840 + _globals['_SUBACCOUNTNONCE']._serialized_end=6014 + _globals['_EXPIRYFUTURESMARKETINFOSTATE']._serialized_start=6017 + _globals['_EXPIRYFUTURESMARKETINFOSTATE']._serialized_end=6162 + _globals['_PERPETUALMARKETFUNDINGSTATE']._serialized_start=6165 + _globals['_PERPETUALMARKETFUNDINGSTATE']._serialized_end=6301 + _globals['_FULLGRANTAUTHORIZATIONS']._serialized_start=6304 + _globals['_FULLGRANTAUTHORIZATIONS']._serialized_end=6571 + _globals['_FULLACTIVEGRANT']._serialized_start=6573 + _globals['_FULLACTIVEGRANT']._serialized_end=6692 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/injective/exchange/v1beta1/genesis_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py index 878ae1f8..962502a2 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2.py @@ -7,360 +7,215 @@ 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 pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.distribution.v1beta1 import ( - distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2, -) +from pyinjective.proto.cosmos.distribution.v1beta1 import distribution_pb2 as cosmos_dot_distribution_dot_v1beta1_dot_distribution__pb2 from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.exchange.v1beta1 import ( - exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2, -) +from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n)injective/exchange/v1beta1/proposal.proto\x12\x1ainjective.exchange.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a)injective/exchange/v1beta1/exchange.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto"\xd3\x06\n\x1dSpotMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12@\n\x06status\x18\t \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12\x1c\n\x06ticker\x18\n \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x0c \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&exchange/SpotMarketParamUpdateProposal"\xcc\x01\n\x16\x45xchangeEnableProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12L\n\x0c\x65xchangeType\x18\x03 \x01(\x0e\x32(.injective.exchange.v1beta1.ExchangeTypeR\x0c\x65xchangeType:,\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x8a\xe7\xb0*\x1f\x65xchange/ExchangeEnableProposal"\x96\r\n!BatchExchangeModificationProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x85\x01\n"spot_market_param_update_proposals\x18\x03 \x03(\x0b\x32\x39.injective.exchange.v1beta1.SpotMarketParamUpdateProposalR\x1espotMarketParamUpdateProposals\x12\x97\x01\n(derivative_market_param_update_proposals\x18\x04 \x03(\x0b\x32?.injective.exchange.v1beta1.DerivativeMarketParamUpdateProposalR$derivativeMarketParamUpdateProposals\x12u\n\x1cspot_market_launch_proposals\x18\x05 \x03(\x0b\x32\x34.injective.exchange.v1beta1.SpotMarketLaunchProposalR\x19spotMarketLaunchProposals\x12\x84\x01\n!perpetual_market_launch_proposals\x18\x06 \x03(\x0b\x32\x39.injective.exchange.v1beta1.PerpetualMarketLaunchProposalR\x1eperpetualMarketLaunchProposals\x12\x91\x01\n&expiry_futures_market_launch_proposals\x18\x07 \x03(\x0b\x32=.injective.exchange.v1beta1.ExpiryFuturesMarketLaunchProposalR"expiryFuturesMarketLaunchProposals\x12\x95\x01\n\'trading_reward_campaign_update_proposal\x18\x08 \x01(\x0b\x32?.injective.exchange.v1beta1.TradingRewardCampaignUpdateProposalR#tradingRewardCampaignUpdateProposal\x12\x91\x01\n&binary_options_market_launch_proposals\x18\t \x03(\x0b\x32=.injective.exchange.v1beta1.BinaryOptionsMarketLaunchProposalR"binaryOptionsMarketLaunchProposals\x12\x94\x01\n%binary_options_param_update_proposals\x18\n \x03(\x0b\x32\x42.injective.exchange.v1beta1.BinaryOptionsMarketParamUpdateProposalR!binaryOptionsParamUpdateProposals\x12|\n\x1e\x64\x65nom_decimals_update_proposal\x18\x0b \x01(\x0b\x32\x37.injective.exchange.v1beta1.UpdateDenomDecimalsProposalR\x1b\x64\x65nomDecimalsUpdateProposal\x12\x63\n\x15\x66\x65\x65_discount_proposal\x18\x0c \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountProposalR\x13\x66\x65\x65\x44iscountProposal\x12\x87\x01\n"market_forced_settlement_proposals\x18\r \x03(\x0b\x32:.injective.exchange.v1beta1.MarketForcedSettlementProposalR\x1fmarketForcedSettlementProposals:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/BatchExchangeModificationProposal"\xca\x05\n\x18SpotMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x04 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x05 \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12I\n\x0emaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12\x46\n\x0cmin_notional\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x0b \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:L\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!exchange/SpotMarketLaunchProposal"\xa6\x08\n\x1dPerpetualMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x05 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x06 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12U\n\x14initial_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x10 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&exchange/PerpetualMarketLaunchProposal"\xe5\x07\n!BinaryOptionsMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x04 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x05 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\t \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\n \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\x0b \x01(\tR\nquoteDenom\x12I\n\x0emaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12+\n\x11\x61\x64min_permissions\x18\x11 \x01(\rR\x10\x61\x64minPermissions:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/BinaryOptionsMarketLaunchProposal"\xc6\x08\n!ExpiryFuturesMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x05 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x06 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\t \x01(\x03R\x06\x65xpiry\x12U\n\x14initial_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x11 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/ExpiryFuturesMarketLaunchProposal"\x92\n\n#DerivativeMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12U\n\x14initial_margin_ratio\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\t \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\n \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12S\n\x12HourlyInterestRate\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12HourlyInterestRate\x12W\n\x14HourlyFundingRateCap\x18\x0c \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14HourlyFundingRateCap\x12@\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12M\n\roracle_params\x18\x0e \x01(\x0b\x32(.injective.exchange.v1beta1.OracleParamsR\x0coracleParams\x12\x1c\n\x06ticker\x18\x0f \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x11 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/DerivativeMarketParamUpdateProposal"N\n\tAdminInfo\x12\x14\n\x05\x61\x64min\x18\x01 \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\x02 \x01(\rR\x10\x61\x64minPermissions"\x99\x02\n\x1eMarketForcedSettlementProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice:R\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\'exchange/MarketForcedSettlementProposal"\xf8\x01\n\x1bUpdateDenomDecimalsProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12P\n\x0e\x64\x65nom_decimals\x18\x03 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsR\rdenomDecimals:O\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$exchange/UpdateDenomDecimalsProposal"\xc2\x08\n&BinaryOptionsMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x31\n\x14\x65xpiration_timestamp\x18\t \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\n \x01(\x03R\x13settlementTimestamp\x12N\n\x10settlement_price\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x14\n\x05\x61\x64min\x18\x0c \x01(\tR\x05\x61\x64min\x12@\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12U\n\roracle_params\x18\x0e \x01(\x0b\x32\x30.injective.exchange.v1beta1.ProviderOracleParamsR\x0coracleParams\x12\x1c\n\x06ticker\x18\x0f \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:Z\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*/exchange/BinaryOptionsMarketParamUpdateProposal"\xc1\x01\n\x14ProviderOracleParams\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12.\n\x13oracle_scale_factor\x18\x03 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType"\xc9\x01\n\x0cOracleParams\x12\x1f\n\x0boracle_base\x18\x01 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x02 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x03 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType"\xf6\x02\n#TradingRewardCampaignLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12Z\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12\x62\n\x15\x63\x61mpaign_reward_pools\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/TradingRewardCampaignLaunchProposal"\xfc\x03\n#TradingRewardCampaignUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12Z\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12u\n\x1f\x63\x61mpaign_reward_pools_additions\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x1c\x63\x61mpaignRewardPoolsAdditions\x12q\n\x1d\x63\x61mpaign_reward_pools_updates\x18\x05 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x1a\x63\x61mpaignRewardPoolsUpdates:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/TradingRewardCampaignUpdateProposal"\x80\x01\n\x11RewardPointUpdate\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x42\n\nnew_points\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tnewPoints"\xd7\x02\n(TradingRewardPendingPointsUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x16pending_pool_timestamp\x18\x03 \x01(\x03R\x14pendingPoolTimestamp\x12_\n\x14reward_point_updates\x18\x04 \x03(\x0b\x32-.injective.exchange.v1beta1.RewardPointUpdateR\x12rewardPointUpdates:\\\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*1exchange/TradingRewardPendingPointsUpdateProposal"\xe3\x01\n\x13\x46\x65\x65\x44iscountProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12K\n\x08schedule\x18\x03 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x08schedule:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1c\x65xchange/FeeDiscountProposal"\x85\x02\n\x1f\x42\x61tchCommunityPoolSpendProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\tproposals\x18\x03 \x03(\x0b\x32\x37.cosmos.distribution.v1beta1.CommunityPoolSpendProposalR\tproposals:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(exchange/BatchCommunityPoolSpendProposal"\xb3\x02\n.AtomicMarketOrderFeeMultiplierScheduleProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x65\n\x16market_fee_multipliers\x18\x03 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers:b\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*7exchange/AtomicMarketOrderFeeMultiplierScheduleProposal*x\n\x0c\x45xchangeType\x12\x32\n\x14\x45XCHANGE_UNSPECIFIED\x10\x00\x1a\x18\x8a\x9d \x14\x45XCHANGE_UNSPECIFIED\x12\x12\n\x04SPOT\x10\x01\x1a\x08\x8a\x9d \x04SPOT\x12 \n\x0b\x44\x45RIVATIVES\x10\x02\x1a\x0f\x8a\x9d \x0b\x44\x45RIVATIVESB\x89\x02\n\x1e\x63om.injective.exchange.v1beta1B\rProposalProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/exchange/v1beta1/proposal.proto\x12\x1ainjective.exchange.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a)injective/exchange/v1beta1/exchange.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\xd3\x06\n\x1dSpotMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12@\n\x06status\x18\t \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12\x1c\n\x06ticker\x18\n \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x0c \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&exchange/SpotMarketParamUpdateProposal\"\xcc\x01\n\x16\x45xchangeEnableProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12L\n\x0c\x65xchangeType\x18\x03 \x01(\x0e\x32(.injective.exchange.v1beta1.ExchangeTypeR\x0c\x65xchangeType:,\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x8a\xe7\xb0*\x1f\x65xchange/ExchangeEnableProposal\"\x96\r\n!BatchExchangeModificationProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x85\x01\n\"spot_market_param_update_proposals\x18\x03 \x03(\x0b\x32\x39.injective.exchange.v1beta1.SpotMarketParamUpdateProposalR\x1espotMarketParamUpdateProposals\x12\x97\x01\n(derivative_market_param_update_proposals\x18\x04 \x03(\x0b\x32?.injective.exchange.v1beta1.DerivativeMarketParamUpdateProposalR$derivativeMarketParamUpdateProposals\x12u\n\x1cspot_market_launch_proposals\x18\x05 \x03(\x0b\x32\x34.injective.exchange.v1beta1.SpotMarketLaunchProposalR\x19spotMarketLaunchProposals\x12\x84\x01\n!perpetual_market_launch_proposals\x18\x06 \x03(\x0b\x32\x39.injective.exchange.v1beta1.PerpetualMarketLaunchProposalR\x1eperpetualMarketLaunchProposals\x12\x91\x01\n&expiry_futures_market_launch_proposals\x18\x07 \x03(\x0b\x32=.injective.exchange.v1beta1.ExpiryFuturesMarketLaunchProposalR\"expiryFuturesMarketLaunchProposals\x12\x95\x01\n\'trading_reward_campaign_update_proposal\x18\x08 \x01(\x0b\x32?.injective.exchange.v1beta1.TradingRewardCampaignUpdateProposalR#tradingRewardCampaignUpdateProposal\x12\x91\x01\n&binary_options_market_launch_proposals\x18\t \x03(\x0b\x32=.injective.exchange.v1beta1.BinaryOptionsMarketLaunchProposalR\"binaryOptionsMarketLaunchProposals\x12\x94\x01\n%binary_options_param_update_proposals\x18\n \x03(\x0b\x32\x42.injective.exchange.v1beta1.BinaryOptionsMarketParamUpdateProposalR!binaryOptionsParamUpdateProposals\x12|\n\x1e\x64\x65nom_decimals_update_proposal\x18\x0b \x01(\x0b\x32\x37.injective.exchange.v1beta1.UpdateDenomDecimalsProposalR\x1b\x64\x65nomDecimalsUpdateProposal\x12\x63\n\x15\x66\x65\x65_discount_proposal\x18\x0c \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountProposalR\x13\x66\x65\x65\x44iscountProposal\x12\x87\x01\n\"market_forced_settlement_proposals\x18\r \x03(\x0b\x32:.injective.exchange.v1beta1.MarketForcedSettlementProposalR\x1fmarketForcedSettlementProposals:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/BatchExchangeModificationProposal\"\xca\x05\n\x18SpotMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x04 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x05 \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12I\n\x0emaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12\x46\n\x0cmin_notional\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x0b \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:L\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!exchange/SpotMarketLaunchProposal\"\xa6\x08\n\x1dPerpetualMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x05 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x06 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12U\n\x14initial_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x10 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&exchange/PerpetualMarketLaunchProposal\"\xe5\x07\n!BinaryOptionsMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x04 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x05 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\t \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\n \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\x0b \x01(\tR\nquoteDenom\x12I\n\x0emaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12+\n\x11\x61\x64min_permissions\x18\x11 \x01(\rR\x10\x61\x64minPermissions:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/BinaryOptionsMarketLaunchProposal\"\xc6\x08\n!ExpiryFuturesMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x05 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x06 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\t \x01(\x03R\x06\x65xpiry\x12U\n\x14initial_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x11 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/ExpiryFuturesMarketLaunchProposal\"\x92\n\n#DerivativeMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12U\n\x14initial_margin_ratio\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\t \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\n \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12S\n\x12HourlyInterestRate\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12HourlyInterestRate\x12W\n\x14HourlyFundingRateCap\x18\x0c \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14HourlyFundingRateCap\x12@\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12M\n\roracle_params\x18\x0e \x01(\x0b\x32(.injective.exchange.v1beta1.OracleParamsR\x0coracleParams\x12\x1c\n\x06ticker\x18\x0f \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x44\n\nadmin_info\x18\x11 \x01(\x0b\x32%.injective.exchange.v1beta1.AdminInfoR\tadminInfo:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/DerivativeMarketParamUpdateProposal\"N\n\tAdminInfo\x12\x14\n\x05\x61\x64min\x18\x01 \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\x02 \x01(\rR\x10\x61\x64minPermissions\"\x99\x02\n\x1eMarketForcedSettlementProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice:R\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\'exchange/MarketForcedSettlementProposal\"\xf8\x01\n\x1bUpdateDenomDecimalsProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12P\n\x0e\x64\x65nom_decimals\x18\x03 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsR\rdenomDecimals:O\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$exchange/UpdateDenomDecimalsProposal\"\xc2\x08\n&BinaryOptionsMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x31\n\x14\x65xpiration_timestamp\x18\t \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\n \x01(\x03R\x13settlementTimestamp\x12N\n\x10settlement_price\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x14\n\x05\x61\x64min\x18\x0c \x01(\tR\x05\x61\x64min\x12@\n\x06status\x18\r \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status\x12U\n\roracle_params\x18\x0e \x01(\x0b\x32\x30.injective.exchange.v1beta1.ProviderOracleParamsR\x0coracleParams\x12\x1c\n\x06ticker\x18\x0f \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:Z\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*/exchange/BinaryOptionsMarketParamUpdateProposal\"\xc1\x01\n\x14ProviderOracleParams\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12.\n\x13oracle_scale_factor\x18\x03 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xc9\x01\n\x0cOracleParams\x12\x1f\n\x0boracle_base\x18\x01 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x02 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x03 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xf6\x02\n#TradingRewardCampaignLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12Z\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12\x62\n\x15\x63\x61mpaign_reward_pools\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/TradingRewardCampaignLaunchProposal\"\xfc\x03\n#TradingRewardCampaignUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12Z\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12u\n\x1f\x63\x61mpaign_reward_pools_additions\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x1c\x63\x61mpaignRewardPoolsAdditions\x12q\n\x1d\x63\x61mpaign_reward_pools_updates\x18\x05 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x1a\x63\x61mpaignRewardPoolsUpdates:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/TradingRewardCampaignUpdateProposal\"\x80\x01\n\x11RewardPointUpdate\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x42\n\nnew_points\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tnewPoints\"\xd7\x02\n(TradingRewardPendingPointsUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x16pending_pool_timestamp\x18\x03 \x01(\x03R\x14pendingPoolTimestamp\x12_\n\x14reward_point_updates\x18\x04 \x03(\x0b\x32-.injective.exchange.v1beta1.RewardPointUpdateR\x12rewardPointUpdates:\\\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*1exchange/TradingRewardPendingPointsUpdateProposal\"\xe3\x01\n\x13\x46\x65\x65\x44iscountProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12K\n\x08schedule\x18\x03 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x08schedule:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1c\x65xchange/FeeDiscountProposal\"\x85\x02\n\x1f\x42\x61tchCommunityPoolSpendProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\tproposals\x18\x03 \x03(\x0b\x32\x37.cosmos.distribution.v1beta1.CommunityPoolSpendProposalR\tproposals:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(exchange/BatchCommunityPoolSpendProposal\"\xb3\x02\n.AtomicMarketOrderFeeMultiplierScheduleProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x65\n\x16market_fee_multipliers\x18\x03 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers:b\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*7exchange/AtomicMarketOrderFeeMultiplierScheduleProposal*x\n\x0c\x45xchangeType\x12\x32\n\x14\x45XCHANGE_UNSPECIFIED\x10\x00\x1a\x18\x8a\x9d \x14\x45XCHANGE_UNSPECIFIED\x12\x12\n\x04SPOT\x10\x01\x1a\x08\x8a\x9d \x04SPOT\x12 \n\x0b\x44\x45RIVATIVES\x10\x02\x1a\x0f\x8a\x9d \x0b\x44\x45RIVATIVESB\x89\x02\n\x1e\x63om.injective.exchange.v1beta1B\rProposalProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.exchange.v1beta1.proposal_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.proposal_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\036com.injective.exchange.v1beta1B\rProposalProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1" - ) - _globals["_EXCHANGETYPE"].values_by_name["EXCHANGE_UNSPECIFIED"]._loaded_options = None - _globals["_EXCHANGETYPE"].values_by_name[ - "EXCHANGE_UNSPECIFIED" - ]._serialized_options = b"\212\235 \024EXCHANGE_UNSPECIFIED" - _globals["_EXCHANGETYPE"].values_by_name["SPOT"]._loaded_options = None - _globals["_EXCHANGETYPE"].values_by_name["SPOT"]._serialized_options = b"\212\235 \004SPOT" - _globals["_EXCHANGETYPE"].values_by_name["DERIVATIVES"]._loaded_options = None - _globals["_EXCHANGETYPE"].values_by_name["DERIVATIVES"]._serialized_options = b"\212\235 \013DERIVATIVES" - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name["maker_fee_rate"]._loaded_options = None - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "maker_fee_rate" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name["taker_fee_rate"]._loaded_options = None - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "taker_fee_rate" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name["relayer_fee_share_rate"]._loaded_options = None - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "relayer_fee_share_rate" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_price_tick_size"]._loaded_options = None - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "min_price_tick_size" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_quantity_tick_size"]._loaded_options = None - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "min_quantity_tick_size" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name["ticker"]._loaded_options = None - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name["ticker"]._serialized_options = b"\310\336\037\001" - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_notional"]._loaded_options = None - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "min_notional" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"]._loaded_options = None - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&exchange/SpotMarketParamUpdateProposal" - ) - _globals["_EXCHANGEENABLEPROPOSAL"]._loaded_options = None - _globals["_EXCHANGEENABLEPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\212\347\260*\037exchange/ExchangeEnableProposal" - ) - _globals["_BATCHEXCHANGEMODIFICATIONPROPOSAL"]._loaded_options = None - _globals["_BATCHEXCHANGEMODIFICATIONPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/BatchExchangeModificationProposal" - ) - _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name["min_price_tick_size"]._loaded_options = None - _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name[ - "min_price_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name["min_quantity_tick_size"]._loaded_options = None - _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name[ - "min_quantity_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name["maker_fee_rate"]._loaded_options = None - _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name[ - "maker_fee_rate" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name["taker_fee_rate"]._loaded_options = None - _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name[ - "taker_fee_rate" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name["min_notional"]._loaded_options = None - _globals["_SPOTMARKETLAUNCHPROPOSAL"].fields_by_name[ - "min_notional" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKETLAUNCHPROPOSAL"]._loaded_options = None - _globals["_SPOTMARKETLAUNCHPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!exchange/SpotMarketLaunchProposal" - ) - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name["initial_margin_ratio"]._loaded_options = None - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name[ - "initial_margin_ratio" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name["maintenance_margin_ratio"]._loaded_options = None - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name[ - "maintenance_margin_ratio" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name["maker_fee_rate"]._loaded_options = None - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name[ - "maker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name["taker_fee_rate"]._loaded_options = None - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name[ - "taker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name["min_price_tick_size"]._loaded_options = None - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name[ - "min_price_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name["min_quantity_tick_size"]._loaded_options = None - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name[ - "min_quantity_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name["min_notional"]._loaded_options = None - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"].fields_by_name[ - "min_notional" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"]._loaded_options = None - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&exchange/PerpetualMarketLaunchProposal" - ) - _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name["maker_fee_rate"]._loaded_options = None - _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name[ - "maker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name["taker_fee_rate"]._loaded_options = None - _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name[ - "taker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name["min_price_tick_size"]._loaded_options = None - _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name[ - "min_price_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name["min_quantity_tick_size"]._loaded_options = None - _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name[ - "min_quantity_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name["min_notional"]._loaded_options = None - _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"].fields_by_name[ - "min_notional" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"]._loaded_options = None - _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/BinaryOptionsMarketLaunchProposal" - ) - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name["initial_margin_ratio"]._loaded_options = None - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name[ - "initial_margin_ratio" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name["maintenance_margin_ratio"]._loaded_options = None - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name[ - "maintenance_margin_ratio" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name["maker_fee_rate"]._loaded_options = None - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name[ - "maker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name["taker_fee_rate"]._loaded_options = None - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name[ - "taker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name["min_price_tick_size"]._loaded_options = None - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name[ - "min_price_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name["min_quantity_tick_size"]._loaded_options = None - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name[ - "min_quantity_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name["min_notional"]._loaded_options = None - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"].fields_by_name[ - "min_notional" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"]._loaded_options = None - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/ExpiryFuturesMarketLaunchProposal" - ) - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["initial_margin_ratio"]._loaded_options = None - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "initial_margin_ratio" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["maintenance_margin_ratio"]._loaded_options = None - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "maintenance_margin_ratio" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["maker_fee_rate"]._loaded_options = None - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "maker_fee_rate" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["taker_fee_rate"]._loaded_options = None - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "taker_fee_rate" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["relayer_fee_share_rate"]._loaded_options = None - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "relayer_fee_share_rate" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_price_tick_size"]._loaded_options = None - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "min_price_tick_size" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_quantity_tick_size"]._loaded_options = None - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "min_quantity_tick_size" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["HourlyInterestRate"]._loaded_options = None - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "HourlyInterestRate" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["HourlyFundingRateCap"]._loaded_options = None - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "HourlyFundingRateCap" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["ticker"]._loaded_options = None - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["ticker"]._serialized_options = b"\310\336\037\001" - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_notional"]._loaded_options = None - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "min_notional" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"]._loaded_options = None - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/DerivativeMarketParamUpdateProposal" - ) - _globals["_MARKETFORCEDSETTLEMENTPROPOSAL"].fields_by_name["settlement_price"]._loaded_options = None - _globals["_MARKETFORCEDSETTLEMENTPROPOSAL"].fields_by_name[ - "settlement_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MARKETFORCEDSETTLEMENTPROPOSAL"]._loaded_options = None - _globals["_MARKETFORCEDSETTLEMENTPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*'exchange/MarketForcedSettlementProposal" - ) - _globals["_UPDATEDENOMDECIMALSPROPOSAL"]._loaded_options = None - _globals["_UPDATEDENOMDECIMALSPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$exchange/UpdateDenomDecimalsProposal" - ) - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name["maker_fee_rate"]._loaded_options = None - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "maker_fee_rate" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name["taker_fee_rate"]._loaded_options = None - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "taker_fee_rate" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name["relayer_fee_share_rate"]._loaded_options = None - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "relayer_fee_share_rate" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_price_tick_size"]._loaded_options = None - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "min_price_tick_size" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_quantity_tick_size"]._loaded_options = None - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "min_quantity_tick_size" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name["settlement_price"]._loaded_options = None - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "settlement_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name["ticker"]._loaded_options = None - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "ticker" - ]._serialized_options = b"\310\336\037\001" - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name["min_notional"]._loaded_options = None - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"].fields_by_name[ - "min_notional" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"]._loaded_options = None - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*/exchange/BinaryOptionsMarketParamUpdateProposal" - ) - _globals["_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL"]._loaded_options = None - _globals["_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/TradingRewardCampaignLaunchProposal" - ) - _globals["_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL"]._loaded_options = None - _globals["_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/TradingRewardCampaignUpdateProposal" - ) - _globals["_REWARDPOINTUPDATE"].fields_by_name["new_points"]._loaded_options = None - _globals["_REWARDPOINTUPDATE"].fields_by_name[ - "new_points" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL"]._loaded_options = None - _globals["_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*1exchange/TradingRewardPendingPointsUpdateProposal" - ) - _globals["_FEEDISCOUNTPROPOSAL"]._loaded_options = None - _globals["_FEEDISCOUNTPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034exchange/FeeDiscountProposal" - ) - _globals["_BATCHCOMMUNITYPOOLSPENDPROPOSAL"]._loaded_options = None - _globals["_BATCHCOMMUNITYPOOLSPENDPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(exchange/BatchCommunityPoolSpendProposal" - ) - _globals["_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL"]._loaded_options = None - _globals["_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*7exchange/AtomicMarketOrderFeeMultiplierScheduleProposal" - ) - _globals["_EXCHANGETYPE"]._serialized_start = 12535 - _globals["_EXCHANGETYPE"]._serialized_end = 12655 - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"]._serialized_start = 329 - _globals["_SPOTMARKETPARAMUPDATEPROPOSAL"]._serialized_end = 1180 - _globals["_EXCHANGEENABLEPROPOSAL"]._serialized_start = 1183 - _globals["_EXCHANGEENABLEPROPOSAL"]._serialized_end = 1387 - _globals["_BATCHEXCHANGEMODIFICATIONPROPOSAL"]._serialized_start = 1390 - _globals["_BATCHEXCHANGEMODIFICATIONPROPOSAL"]._serialized_end = 3076 - _globals["_SPOTMARKETLAUNCHPROPOSAL"]._serialized_start = 3079 - _globals["_SPOTMARKETLAUNCHPROPOSAL"]._serialized_end = 3793 - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"]._serialized_start = 3796 - _globals["_PERPETUALMARKETLAUNCHPROPOSAL"]._serialized_end = 4858 - _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"]._serialized_start = 4861 - _globals["_BINARYOPTIONSMARKETLAUNCHPROPOSAL"]._serialized_end = 5858 - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"]._serialized_start = 5861 - _globals["_EXPIRYFUTURESMARKETLAUNCHPROPOSAL"]._serialized_end = 6955 - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"]._serialized_start = 6958 - _globals["_DERIVATIVEMARKETPARAMUPDATEPROPOSAL"]._serialized_end = 8256 - _globals["_ADMININFO"]._serialized_start = 8258 - _globals["_ADMININFO"]._serialized_end = 8336 - _globals["_MARKETFORCEDSETTLEMENTPROPOSAL"]._serialized_start = 8339 - _globals["_MARKETFORCEDSETTLEMENTPROPOSAL"]._serialized_end = 8620 - _globals["_UPDATEDENOMDECIMALSPROPOSAL"]._serialized_start = 8623 - _globals["_UPDATEDENOMDECIMALSPROPOSAL"]._serialized_end = 8871 - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"]._serialized_start = 8874 - _globals["_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL"]._serialized_end = 9964 - _globals["_PROVIDERORACLEPARAMS"]._serialized_start = 9967 - _globals["_PROVIDERORACLEPARAMS"]._serialized_end = 10160 - _globals["_ORACLEPARAMS"]._serialized_start = 10163 - _globals["_ORACLEPARAMS"]._serialized_end = 10364 - _globals["_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL"]._serialized_start = 10367 - _globals["_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL"]._serialized_end = 10741 - _globals["_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL"]._serialized_start = 10744 - _globals["_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL"]._serialized_end = 11252 - _globals["_REWARDPOINTUPDATE"]._serialized_start = 11255 - _globals["_REWARDPOINTUPDATE"]._serialized_end = 11383 - _globals["_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL"]._serialized_start = 11386 - _globals["_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL"]._serialized_end = 11729 - _globals["_FEEDISCOUNTPROPOSAL"]._serialized_start = 11732 - _globals["_FEEDISCOUNTPROPOSAL"]._serialized_end = 11959 - _globals["_BATCHCOMMUNITYPOOLSPENDPROPOSAL"]._serialized_start = 11962 - _globals["_BATCHCOMMUNITYPOOLSPENDPROPOSAL"]._serialized_end = 12223 - _globals["_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL"]._serialized_start = 12226 - _globals["_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL"]._serialized_end = 12533 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\rProposalProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' + _globals['_EXCHANGETYPE'].values_by_name["EXCHANGE_UNSPECIFIED"]._loaded_options = None + _globals['_EXCHANGETYPE'].values_by_name["EXCHANGE_UNSPECIFIED"]._serialized_options = b'\212\235 \024EXCHANGE_UNSPECIFIED' + _globals['_EXCHANGETYPE'].values_by_name["SPOT"]._loaded_options = None + _globals['_EXCHANGETYPE'].values_by_name["SPOT"]._serialized_options = b'\212\235 \004SPOT' + _globals['_EXCHANGETYPE'].values_by_name["DERIVATIVES"]._loaded_options = None + _globals['_EXCHANGETYPE'].values_by_name["DERIVATIVES"]._serialized_options = b'\212\235 \013DERIVATIVES' + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._loaded_options = None + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._loaded_options = None + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._serialized_options = b'\310\336\037\001' + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._loaded_options = None + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._loaded_options = None + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&exchange/SpotMarketParamUpdateProposal' + _globals['_EXCHANGEENABLEPROPOSAL']._loaded_options = None + _globals['_EXCHANGEENABLEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\212\347\260*\037exchange/ExchangeEnableProposal' + _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._loaded_options = None + _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/BatchExchangeModificationProposal' + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._loaded_options = None + _globals['_SPOTMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETLAUNCHPROPOSAL']._loaded_options = None + _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!exchange/SpotMarketLaunchProposal' + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['initial_margin_ratio']._loaded_options = None + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['maintenance_margin_ratio']._loaded_options = None + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._loaded_options = None + _globals['_PERPETUALMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._loaded_options = None + _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&exchange/PerpetualMarketLaunchProposal' + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._loaded_options = None + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._loaded_options = None + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/BinaryOptionsMarketLaunchProposal' + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['initial_margin_ratio']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['maintenance_margin_ratio']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._loaded_options = None + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260**exchange/ExpiryFuturesMarketLaunchProposal' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['initial_margin_ratio']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maintenance_margin_ratio']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['HourlyInterestRate']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['HourlyInterestRate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['HourlyFundingRateCap']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['HourlyFundingRateCap']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._serialized_options = b'\310\336\037\001' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._loaded_options = None + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/DerivativeMarketParamUpdateProposal' + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL'].fields_by_name['settlement_price']._loaded_options = None + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._loaded_options = None + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\'exchange/MarketForcedSettlementProposal' + _globals['_UPDATEDENOMDECIMALSPROPOSAL']._loaded_options = None + _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$exchange/UpdateDenomDecimalsProposal' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['relayer_fee_share_rate']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['settlement_price']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['ticker']._serialized_options = b'\310\336\037\001' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._loaded_options = None + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*/exchange/BinaryOptionsMarketParamUpdateProposal' + _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._loaded_options = None + _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/TradingRewardCampaignLaunchProposal' + _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._loaded_options = None + _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,exchange/TradingRewardCampaignUpdateProposal' + _globals['_REWARDPOINTUPDATE'].fields_by_name['new_points']._loaded_options = None + _globals['_REWARDPOINTUPDATE'].fields_by_name['new_points']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._loaded_options = None + _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*1exchange/TradingRewardPendingPointsUpdateProposal' + _globals['_FEEDISCOUNTPROPOSAL']._loaded_options = None + _globals['_FEEDISCOUNTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034exchange/FeeDiscountProposal' + _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._loaded_options = None + _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(exchange/BatchCommunityPoolSpendProposal' + _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._loaded_options = None + _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*7exchange/AtomicMarketOrderFeeMultiplierScheduleProposal' + _globals['_EXCHANGETYPE']._serialized_start=12535 + _globals['_EXCHANGETYPE']._serialized_end=12655 + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_start=329 + _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_end=1180 + _globals['_EXCHANGEENABLEPROPOSAL']._serialized_start=1183 + _globals['_EXCHANGEENABLEPROPOSAL']._serialized_end=1387 + _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_start=1390 + _globals['_BATCHEXCHANGEMODIFICATIONPROPOSAL']._serialized_end=3076 + _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_start=3079 + _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_end=3793 + _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_start=3796 + _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_end=4858 + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_start=4861 + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_end=5858 + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_start=5861 + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_end=6955 + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_start=6958 + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_end=8256 + _globals['_ADMININFO']._serialized_start=8258 + _globals['_ADMININFO']._serialized_end=8336 + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_start=8339 + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_end=8620 + _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_start=8623 + _globals['_UPDATEDENOMDECIMALSPROPOSAL']._serialized_end=8871 + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_start=8874 + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_end=9964 + _globals['_PROVIDERORACLEPARAMS']._serialized_start=9967 + _globals['_PROVIDERORACLEPARAMS']._serialized_end=10160 + _globals['_ORACLEPARAMS']._serialized_start=10163 + _globals['_ORACLEPARAMS']._serialized_end=10364 + _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_start=10367 + _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_end=10741 + _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_start=10744 + _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_end=11252 + _globals['_REWARDPOINTUPDATE']._serialized_start=11255 + _globals['_REWARDPOINTUPDATE']._serialized_end=11383 + _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_start=11386 + _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_end=11729 + _globals['_FEEDISCOUNTPROPOSAL']._serialized_start=11732 + _globals['_FEEDISCOUNTPROPOSAL']._serialized_end=11959 + _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_start=11962 + _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_end=12223 + _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_start=12226 + _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_end=12533 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2_grpc.py +++ b/pyinjective/proto/injective/exchange/v1beta1/proposal_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py b/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py index 82430eda..f7f9e90c 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/query_pb2.py @@ -7,825 +7,554 @@ 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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.injective.exchange.v1beta1 import ( - exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2, -) -from pyinjective.proto.injective.exchange.v1beta1 import ( - genesis_pb2 as injective_dot_exchange_dot_v1beta1_dot_genesis__pb2, -) +from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 +from pyinjective.proto.injective.exchange.v1beta1 import genesis_pb2 as injective_dot_exchange_dot_v1beta1_dot_genesis__pb2 from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&injective/exchange/v1beta1/query.proto\x12\x1ainjective.exchange.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a)injective/exchange/v1beta1/exchange.proto\x1a(injective/exchange/v1beta1/genesis.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x14gogoproto/gogo.proto"O\n\nSubaccount\x12\x16\n\x06trader\x18\x01 \x01(\tR\x06trader\x12)\n\x10subaccount_nonce\x18\x02 \x01(\rR\x0fsubaccountNonce"`\n\x1cQuerySubaccountOrdersRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId"\xc1\x01\n\x1dQuerySubaccountOrdersResponse\x12N\n\nbuy_orders\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.SubaccountOrderDataR\tbuyOrders\x12P\n\x0bsell_orders\x18\x02 \x03(\x0b\x32/.injective.exchange.v1beta1.SubaccountOrderDataR\nsellOrders"\xaf\x01\n%SubaccountOrderbookMetadataWithMarket\x12S\n\x08metadata\x18\x01 \x01(\x0b\x32\x37.injective.exchange.v1beta1.SubaccountOrderbookMetadataR\x08metadata\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x14\n\x05isBuy\x18\x03 \x01(\x08R\x05isBuy"\x1c\n\x1aQueryExchangeParamsRequest"_\n\x1bQueryExchangeParamsResponse\x12@\n\x06params\x18\x01 \x01(\x0b\x32".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\x93\x01\n\x1eQuerySubaccountDepositsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12L\n\nsubaccount\x18\x02 \x01(\x0b\x32&.injective.exchange.v1beta1.SubaccountB\x04\xc8\xde\x1f\x01R\nsubaccount"\xea\x01\n\x1fQuerySubaccountDepositsResponse\x12\x65\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32I.injective.exchange.v1beta1.QuerySubaccountDepositsResponse.DepositsEntryR\x08\x64\x65posits\x1a`\n\rDepositsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x05value:\x02\x38\x01"\x1e\n\x1cQueryExchangeBalancesRequest"f\n\x1dQueryExchangeBalancesResponse\x12\x45\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32#.injective.exchange.v1beta1.BalanceB\x04\xc8\xde\x1f\x00R\x08\x62\x61lances"7\n\x1bQueryAggregateVolumeRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount"u\n\x1cQueryAggregateVolumeResponse\x12U\n\x11\x61ggregate_volumes\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x10\x61ggregateVolumes"Y\n\x1cQueryAggregateVolumesRequest\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds"\xf9\x01\n\x1dQueryAggregateVolumesResponse\x12t\n\x19\x61ggregate_account_volumes\x18\x01 \x03(\x0b\x32\x38.injective.exchange.v1beta1.AggregateAccountVolumeRecordR\x17\x61ggregateAccountVolumes\x12\x62\n\x18\x61ggregate_market_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x16\x61ggregateMarketVolumes"@\n!QueryAggregateMarketVolumeRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"l\n"QueryAggregateMarketVolumeResponse\x12\x46\n\x06volume\x18\x01 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00R\x06volume"0\n\x18QueryDenomDecimalRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom"5\n\x19QueryDenomDecimalResponse\x12\x18\n\x07\x64\x65\x63imal\x18\x01 \x01(\x04R\x07\x64\x65\x63imal"3\n\x19QueryDenomDecimalsRequest\x12\x16\n\x06\x64\x65noms\x18\x01 \x03(\tR\x06\x64\x65noms"t\n\x1aQueryDenomDecimalsResponse\x12V\n\x0e\x64\x65nom_decimals\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsB\x04\xc8\xde\x1f\x00R\rdenomDecimals"C\n"QueryAggregateMarketVolumesRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds"i\n#QueryAggregateMarketVolumesResponse\x12\x42\n\x07volumes\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x07volumes"Z\n\x1dQuerySubaccountDepositRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom"a\n\x1eQuerySubaccountDepositResponse\x12?\n\x08\x64\x65posits\x18\x01 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x08\x64\x65posits"P\n\x17QuerySpotMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds"\\\n\x18QuerySpotMarketsResponse\x12@\n\x07markets\x18\x01 \x03(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x07markets"5\n\x16QuerySpotMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"Y\n\x17QuerySpotMarketResponse\x12>\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x06market"\xd6\x02\n\x19QuerySpotOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12\x44\n\norder_side\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderSideR\torderSide\x12_\n\x19limit_cumulative_notional\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeNotional\x12_\n\x19limit_cumulative_quantity\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeQuantity"\xb8\x01\n\x1aQuerySpotOrderbookResponse\x12K\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0e\x62uysPriceLevel\x12M\n\x11sells_price_level\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0fsellsPriceLevel"\xad\x01\n\x0e\x46ullSpotMarket\x12>\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x06market\x12[\n\x11mid_price_and_tob\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.MidPriceAndTOBB\x04\xc8\xde\x1f\x01R\x0emidPriceAndTob"\x88\x01\n\x1bQueryFullSpotMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\x12\x32\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08R\x12withMidPriceAndTob"d\n\x1cQueryFullSpotMarketsResponse\x12\x44\n\x07markets\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.FullSpotMarketR\x07markets"m\n\x1aQueryFullSpotMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x32\n\x16with_mid_price_and_tob\x18\x02 \x01(\x08R\x12withMidPriceAndTob"a\n\x1bQueryFullSpotMarketResponse\x12\x42\n\x06market\x18\x01 \x01(\x0b\x32*.injective.exchange.v1beta1.FullSpotMarketR\x06market"\x85\x01\n\x1eQuerySpotOrdersByHashesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12!\n\x0corder_hashes\x18\x03 \x03(\tR\x0borderHashes"l\n\x1fQuerySpotOrdersByHashesResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders"`\n\x1cQueryTraderSpotOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId"l\n$QueryAccountAddressSpotOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress"\x9b\x02\n\x15TrimmedSpotLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12?\n\x08\x66illable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12\x14\n\x05isBuy\x18\x04 \x01(\x08R\x05isBuy\x12\x1d\n\norder_hash\x18\x05 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id"j\n\x1dQueryTraderSpotOrdersResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders"r\n%QueryAccountAddressSpotOrdersResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders"=\n\x1eQuerySpotMidPriceAndTOBRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"\xfb\x01\n\x1fQuerySpotMidPriceAndTOBResponse\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice"C\n$QueryDerivativeMidPriceAndTOBRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"\x81\x02\n%QueryDerivativeMidPriceAndTOBResponse\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice"\xb5\x01\n\x1fQueryDerivativeOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12_\n\x19limit_cumulative_notional\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeNotional"\xbe\x01\n QueryDerivativeOrderbookResponse\x12K\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0e\x62uysPriceLevel\x12M\n\x11sells_price_level\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0fsellsPriceLevel"\x9c\x03\n.QueryTraderSpotOrdersToCancelUpToAmountRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x44\n\x0b\x62\x61se_amount\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nbaseAmount\x12\x46\n\x0cquote_amount\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bquoteAmount\x12L\n\x08strategy\x18\x05 \x01(\x0e\x32\x30.injective.exchange.v1beta1.CancellationStrategyR\x08strategy\x12L\n\x0freference_price\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ereferencePrice"\xdc\x02\n4QueryTraderDerivativeOrdersToCancelUpToAmountRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x46\n\x0cquote_amount\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bquoteAmount\x12L\n\x08strategy\x18\x04 \x01(\x0e\x32\x30.injective.exchange.v1beta1.CancellationStrategyR\x08strategy\x12L\n\x0freference_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ereferencePrice"f\n"QueryTraderDerivativeOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId"r\n*QueryAccountAddressDerivativeOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress"\xe9\x02\n\x1bTrimmedDerivativeLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12?\n\x08\x66illable\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12\x1f\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuyR\x05isBuy\x12\x1d\n\norder_hash\x18\x06 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id"v\n#QueryTraderDerivativeOrdersResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders"~\n+QueryAccountAddressDerivativeOrdersResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders"\x8b\x01\n$QueryDerivativeOrdersByHashesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12!\n\x0corder_hashes\x18\x03 \x03(\tR\x0borderHashes"x\n%QueryDerivativeOrdersByHashesResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders"\x8a\x01\n\x1dQueryDerivativeMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\x12\x32\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08R\x12withMidPriceAndTob"\x88\x01\n\nPriceLevel\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity"\xbf\x01\n\x14PerpetualMarketState\x12P\n\x0bmarket_info\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoR\nmarketInfo\x12U\n\x0c\x66unding_info\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingR\x0b\x66undingInfo"\xba\x03\n\x14\x46ullDerivativeMarket\x12\x44\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketR\x06market\x12Y\n\x0eperpetual_info\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.PerpetualMarketStateH\x00R\rperpetualInfo\x12X\n\x0c\x66utures_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoH\x00R\x0b\x66uturesInfo\x12\x42\n\nmark_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\x12[\n\x11mid_price_and_tob\x18\x05 \x01(\x0b\x32*.injective.exchange.v1beta1.MidPriceAndTOBB\x04\xc8\xde\x1f\x01R\x0emidPriceAndTobB\x06\n\x04info"l\n\x1eQueryDerivativeMarketsResponse\x12J\n\x07markets\x18\x01 \x03(\x0b\x32\x30.injective.exchange.v1beta1.FullDerivativeMarketR\x07markets";\n\x1cQueryDerivativeMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"i\n\x1dQueryDerivativeMarketResponse\x12H\n\x06market\x18\x01 \x01(\x0b\x32\x30.injective.exchange.v1beta1.FullDerivativeMarketR\x06market"B\n#QueryDerivativeMarketAddressRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"e\n$QueryDerivativeMarketAddressResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId"G\n QuerySubaccountTradeNonceRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId"F\n\x1fQuerySubaccountPositionsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId"j\n&QuerySubaccountPositionInMarketRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId"s\n/QuerySubaccountEffectivePositionInMarketRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId"J\n#QuerySubaccountOrderMetadataRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId"n\n QuerySubaccountPositionsResponse\x12J\n\x05state\x18\x01 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\x05state"k\n\'QuerySubaccountPositionInMarketResponse\x12@\n\x05state\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionB\x04\xc8\xde\x1f\x01R\x05state"\x83\x02\n\x11\x45\x66\x66\x65\x63tivePosition\x12\x17\n\x07is_long\x18\x01 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12N\n\x10\x65\x66\x66\x65\x63tive_margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65\x66\x66\x65\x63tiveMargin"}\n0QuerySubaccountEffectivePositionInMarketResponse\x12I\n\x05state\x18\x01 \x01(\x0b\x32-.injective.exchange.v1beta1.EffectivePositionB\x04\xc8\xde\x1f\x01R\x05state">\n\x1fQueryPerpetualMarketInfoRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"m\n QueryPerpetualMarketInfoResponse\x12I\n\x04info\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00R\x04info"B\n#QueryExpiryFuturesMarketInfoRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"u\n$QueryExpiryFuturesMarketInfoResponse\x12M\n\x04info\x18\x01 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x00R\x04info"A\n"QueryPerpetualMarketFundingRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"u\n#QueryPerpetualMarketFundingResponse\x12N\n\x05state\x18\x01 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x05state"\x8b\x01\n$QuerySubaccountOrderMetadataResponse\x12\x63\n\x08metadata\x18\x01 \x03(\x0b\x32\x41.injective.exchange.v1beta1.SubaccountOrderbookMetadataWithMarketB\x04\xc8\xde\x1f\x00R\x08metadata"9\n!QuerySubaccountTradeNonceResponse\x12\x14\n\x05nonce\x18\x01 \x01(\rR\x05nonce"\x19\n\x17QueryModuleStateRequest"Z\n\x18QueryModuleStateResponse\x12>\n\x05state\x18\x01 \x01(\x0b\x32(.injective.exchange.v1beta1.GenesisStateR\x05state"\x17\n\x15QueryPositionsRequest"d\n\x16QueryPositionsResponse\x12J\n\x05state\x18\x01 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\x05state"q\n\x1dQueryTradeRewardPointsRequest\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\x12\x34\n\x16pending_pool_timestamp\x18\x02 \x01(\x03R\x14pendingPoolTimestamp"\x84\x01\n\x1eQueryTradeRewardPointsResponse\x12\x62\n\x1b\x61\x63\x63ount_trade_reward_points\x18\x01 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x18\x61\x63\x63ountTradeRewardPoints"!\n\x1fQueryTradeRewardCampaignRequest"\xfe\x04\n QueryTradeRewardCampaignResponse\x12v\n\x1ctrading_reward_campaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x19tradingRewardCampaignInfo\x12\x80\x01\n%trading_reward_pool_campaign_schedule\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR!tradingRewardPoolCampaignSchedule\x12^\n\x19total_trade_reward_points\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16totalTradeRewardPoints\x12\x8f\x01\n-pending_trading_reward_pool_campaign_schedule\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR(pendingTradingRewardPoolCampaignSchedule\x12m\n!pending_total_trade_reward_points\x18\x05 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1dpendingTotalTradeRewardPoints";\n\x1fQueryIsOptedOutOfRewardsRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount"D\n QueryIsOptedOutOfRewardsResponse\x12 \n\x0cis_opted_out\x18\x01 \x01(\x08R\nisOptedOut"\'\n%QueryOptedOutOfRewardsAccountsRequest"D\n&QueryOptedOutOfRewardsAccountsResponse\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts">\n"QueryFeeDiscountAccountInfoRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount"\xe9\x01\n#QueryFeeDiscountAccountInfoResponse\x12\x1d\n\ntier_level\x18\x01 \x01(\x04R\ttierLevel\x12R\n\x0c\x61\x63\x63ount_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfoR\x0b\x61\x63\x63ountInfo\x12O\n\x0b\x61\x63\x63ount_ttl\x18\x03 \x01(\x0b\x32..injective.exchange.v1beta1.FeeDiscountTierTTLR\naccountTtl"!\n\x1fQueryFeeDiscountScheduleRequest"\x87\x01\n QueryFeeDiscountScheduleResponse\x12\x63\n\x15\x66\x65\x65_discount_schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x13\x66\x65\x65\x44iscountSchedule"@\n\x1dQueryBalanceMismatchesRequest\x12\x1f\n\x0b\x64ust_factor\x18\x01 \x01(\x03R\ndustFactor"\xa2\x03\n\x0f\x42\x61lanceMismatch\x12"\n\x0csubaccountId\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x41\n\tavailable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tavailable\x12\x39\n\x05total\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05total\x12\x46\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\x12J\n\x0e\x65xpected_total\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rexpectedTotal\x12\x43\n\ndifference\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\ndifference"|\n\x1eQueryBalanceMismatchesResponse\x12Z\n\x12\x62\x61lance_mismatches\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.BalanceMismatchR\x11\x62\x61lanceMismatches"%\n#QueryBalanceWithBalanceHoldsRequest"\x97\x02\n\x15\x42\x61lanceWithMarginHold\x12"\n\x0csubaccountId\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x41\n\tavailable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tavailable\x12\x39\n\x05total\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05total\x12\x46\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold"\x96\x01\n$QueryBalanceWithBalanceHoldsResponse\x12n\n\x1a\x62\x61lance_with_balance_holds\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.BalanceWithMarginHoldR\x17\x62\x61lanceWithBalanceHolds"\'\n%QueryFeeDiscountTierStatisticsRequest"9\n\rTierStatistic\x12\x12\n\x04tier\x18\x01 \x01(\x04R\x04tier\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount"s\n&QueryFeeDiscountTierStatisticsResponse\x12I\n\nstatistics\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.TierStatisticR\nstatistics"\x17\n\x15MitoVaultInfosRequest"\xc4\x01\n\x16MitoVaultInfosResponse\x12)\n\x10master_addresses\x18\x01 \x03(\tR\x0fmasterAddresses\x12\x31\n\x14\x64\x65rivative_addresses\x18\x02 \x03(\tR\x13\x64\x65rivativeAddresses\x12%\n\x0espot_addresses\x18\x03 \x03(\tR\rspotAddresses\x12%\n\x0e\x63w20_addresses\x18\x04 \x03(\tR\rcw20Addresses"D\n\x1dQueryMarketIDFromVaultRequest\x12#\n\rvault_address\x18\x01 \x01(\tR\x0cvaultAddress"=\n\x1eQueryMarketIDFromVaultResponse\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"A\n"QueryHistoricalTradeRecordsRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"t\n#QueryHistoricalTradeRecordsResponse\x12M\n\rtrade_records\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.TradeRecordsR\x0ctradeRecords"\xb7\x01\n\x13TradeHistoryOptions\x12,\n\x12trade_grouping_sec\x18\x01 \x01(\x04R\x10tradeGroupingSec\x12\x17\n\x07max_age\x18\x02 \x01(\x04R\x06maxAge\x12.\n\x13include_raw_history\x18\x04 \x01(\x08R\x11includeRawHistory\x12)\n\x10include_metadata\x18\x05 \x01(\x08R\x0fincludeMetadata"\xa0\x01\n\x1cQueryMarketVolatilityRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x63\n\x15trade_history_options\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.TradeHistoryOptionsR\x13tradeHistoryOptions"\x83\x02\n\x1dQueryMarketVolatilityResponse\x12?\n\nvolatility\x18\x01 \x01(\tB\x1f\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nvolatility\x12W\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatisticsR\x0fhistoryMetadata\x12H\n\x0braw_history\x18\x03 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecordR\nrawHistory"3\n\x19QueryBinaryMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status"g\n\x1aQueryBinaryMarketsResponse\x12I\n\x07markets\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketR\x07markets"q\n-QueryTraderDerivativeConditionalOrdersRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId"\x9e\x03\n!TrimmedDerivativeConditionalOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12G\n\x0ctriggerPrice\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1f\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuyR\x05isBuy\x12%\n\x07isLimit\x18\x06 \x01(\x08\x42\x0b\xea\xde\x1f\x07isLimitR\x07isLimit\x12\x1d\n\norder_hash\x18\x07 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x08 \x01(\tR\x03\x63id"\x87\x01\n.QueryTraderDerivativeConditionalOrdersResponse\x12U\n\x06orders\x18\x01 \x03(\x0b\x32=.injective.exchange.v1beta1.TrimmedDerivativeConditionalOrderR\x06orders"M\n.QueryMarketAtomicExecutionFeeMultiplierRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"<\n\x1dQueryFullSpotOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"\xa6\x01\n\x1eQueryFullSpotOrderbookResponse\x12\x41\n\x04\x42ids\x18\x01 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x42ids\x12\x41\n\x04\x41sks\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x41sks"B\n#QueryFullDerivativeOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"\xac\x01\n$QueryFullDerivativeOrderbookResponse\x12\x41\n\x04\x42ids\x18\x01 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x42ids\x12\x41\n\x04\x41sks\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x41sks"v\n/QueryMarketAtomicExecutionFeeMultiplierResponse\x12\x43\n\nmultiplier\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nmultiplier"8\n\x1cQueryActiveStakeGrantRequest\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee"\xb3\x01\n\x1dQueryActiveStakeGrantResponse\x12=\n\x05grant\x18\x01 \x01(\x0b\x32\'.injective.exchange.v1beta1.ActiveGrantR\x05grant\x12S\n\x0f\x65\x66\x66\x65\x63tive_grant\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.EffectiveGrantR\x0e\x65\x66\x66\x65\x63tiveGrant"T\n\x1eQueryGrantAuthorizationRequest\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x18\n\x07grantee\x18\x02 \x01(\tR\x07grantee"X\n\x1fQueryGrantAuthorizationResponse\x12\x35\n\x06\x61mount\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount";\n\x1fQueryGrantAuthorizationsRequest\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter"\xb7\x01\n QueryGrantAuthorizationsResponse\x12K\n\x12total_grant_amount\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10totalGrantAmount\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants*4\n\tOrderSide\x12\x14\n\x10Side_Unspecified\x10\x00\x12\x07\n\x03\x42uy\x10\x01\x12\x08\n\x04Sell\x10\x02*V\n\x14\x43\x61ncellationStrategy\x12\x14\n\x10UnspecifiedOrder\x10\x00\x12\x13\n\x0f\x46romWorstToBest\x10\x01\x12\x13\n\x0f\x46romBestToWorst\x10\x02\x32\xffh\n\x05Query\x12\xe2\x01\n\x15L3DerivativeOrderBook\x12?.injective.exchange.v1beta1.QueryFullDerivativeOrderbookRequest\x1a@.injective.exchange.v1beta1.QueryFullDerivativeOrderbookResponse"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/derivative/L3OrderBook/{market_id}\x12\xca\x01\n\x0fL3SpotOrderBook\x12\x39.injective.exchange.v1beta1.QueryFullSpotOrderbookRequest\x1a:.injective.exchange.v1beta1.QueryFullSpotOrderbookResponse"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/spot/L3OrderBook/{market_id}\x12\xba\x01\n\x13QueryExchangeParams\x12\x36.injective.exchange.v1beta1.QueryExchangeParamsRequest\x1a\x37.injective.exchange.v1beta1.QueryExchangeParamsResponse"2\x82\xd3\xe4\x93\x02,\x12*/injective/exchange/v1beta1/exchangeParams\x12\xce\x01\n\x12SubaccountDeposits\x12:.injective.exchange.v1beta1.QuerySubaccountDepositsRequest\x1a;.injective.exchange.v1beta1.QuerySubaccountDepositsResponse"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/exchange/subaccountDeposits\x12\xca\x01\n\x11SubaccountDeposit\x12\x39.injective.exchange.v1beta1.QuerySubaccountDepositRequest\x1a:.injective.exchange.v1beta1.QuerySubaccountDepositResponse">\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v1beta1/exchange/subaccountDeposit\x12\xc6\x01\n\x10\x45xchangeBalances\x12\x38.injective.exchange.v1beta1.QueryExchangeBalancesRequest\x1a\x39.injective.exchange.v1beta1.QueryExchangeBalancesResponse"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/exchange/exchangeBalances\x12\xcc\x01\n\x0f\x41ggregateVolume\x12\x37.injective.exchange.v1beta1.QueryAggregateVolumeRequest\x1a\x38.injective.exchange.v1beta1.QueryAggregateVolumeResponse"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/exchange/aggregateVolume/{account}\x12\xc6\x01\n\x10\x41ggregateVolumes\x12\x38.injective.exchange.v1beta1.QueryAggregateVolumesRequest\x1a\x39.injective.exchange.v1beta1.QueryAggregateVolumesResponse"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/exchange/aggregateVolumes\x12\xe6\x01\n\x15\x41ggregateMarketVolume\x12=.injective.exchange.v1beta1.QueryAggregateMarketVolumeRequest\x1a>.injective.exchange.v1beta1.QueryAggregateMarketVolumeResponse"N\x82\xd3\xe4\x93\x02H\x12\x46/injective/exchange/v1beta1/exchange/aggregateMarketVolume/{market_id}\x12\xde\x01\n\x16\x41ggregateMarketVolumes\x12>.injective.exchange.v1beta1.QueryAggregateMarketVolumesRequest\x1a?.injective.exchange.v1beta1.QueryAggregateMarketVolumesResponse"C\x82\xd3\xe4\x93\x02=\x12;/injective/exchange/v1beta1/exchange/aggregateMarketVolumes\x12\xbf\x01\n\x0c\x44\x65nomDecimal\x12\x34.injective.exchange.v1beta1.QueryDenomDecimalRequest\x1a\x35.injective.exchange.v1beta1.QueryDenomDecimalResponse"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/exchange/denom_decimal/{denom}\x12\xbb\x01\n\rDenomDecimals\x12\x35.injective.exchange.v1beta1.QueryDenomDecimalsRequest\x1a\x36.injective.exchange.v1beta1.QueryDenomDecimalsResponse";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/exchange/v1beta1/exchange/denom_decimals\x12\xaa\x01\n\x0bSpotMarkets\x12\x33.injective.exchange.v1beta1.QuerySpotMarketsRequest\x1a\x34.injective.exchange.v1beta1.QuerySpotMarketsResponse"0\x82\xd3\xe4\x93\x02*\x12(/injective/exchange/v1beta1/spot/markets\x12\xb3\x01\n\nSpotMarket\x12\x32.injective.exchange.v1beta1.QuerySpotMarketRequest\x1a\x33.injective.exchange.v1beta1.QuerySpotMarketResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/spot/markets/{market_id}\x12\xbb\x01\n\x0f\x46ullSpotMarkets\x12\x37.injective.exchange.v1beta1.QueryFullSpotMarketsRequest\x1a\x38.injective.exchange.v1beta1.QueryFullSpotMarketsResponse"5\x82\xd3\xe4\x93\x02/\x12-/injective/exchange/v1beta1/spot/full_markets\x12\xc3\x01\n\x0e\x46ullSpotMarket\x12\x36.injective.exchange.v1beta1.QueryFullSpotMarketRequest\x1a\x37.injective.exchange.v1beta1.QueryFullSpotMarketResponse"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/spot/full_market/{market_id}\x12\xbe\x01\n\rSpotOrderbook\x12\x35.injective.exchange.v1beta1.QuerySpotOrderbookRequest\x1a\x36.injective.exchange.v1beta1.QuerySpotOrderbookResponse">\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v1beta1/spot/orderbook/{market_id}\x12\xd4\x01\n\x10TraderSpotOrders\x12\x38.injective.exchange.v1beta1.QueryTraderSpotOrdersRequest\x1a\x39.injective.exchange.v1beta1.QueryTraderSpotOrdersResponse"K\x82\xd3\xe4\x93\x02\x45\x12\x43/injective/exchange/v1beta1/spot/orders/{market_id}/{subaccount_id}\x12\xf6\x01\n\x18\x41\x63\x63ountAddressSpotOrders\x12@.injective.exchange.v1beta1.QueryAccountAddressSpotOrdersRequest\x1a\x41.injective.exchange.v1beta1.QueryAccountAddressSpotOrdersResponse"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/orders/{market_id}/account/{account_address}\x12\xe4\x01\n\x12SpotOrdersByHashes\x12:.injective.exchange.v1beta1.QuerySpotOrdersByHashesRequest\x1a;.injective.exchange.v1beta1.QuerySpotOrdersByHashesResponse"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/orders_by_hashes/{market_id}/{subaccount_id}\x12\xc3\x01\n\x10SubaccountOrders\x12\x38.injective.exchange.v1beta1.QuerySubaccountOrdersRequest\x1a\x39.injective.exchange.v1beta1.QuerySubaccountOrdersResponse":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/exchange/v1beta1/orders/{subaccount_id}\x12\xe7\x01\n\x19TraderSpotTransientOrders\x12\x38.injective.exchange.v1beta1.QueryTraderSpotOrdersRequest\x1a\x39.injective.exchange.v1beta1.QueryTraderSpotOrdersResponse"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/transient_orders/{market_id}/{subaccount_id}\x12\xd5\x01\n\x12SpotMidPriceAndTOB\x12:.injective.exchange.v1beta1.QuerySpotMidPriceAndTOBRequest\x1a;.injective.exchange.v1beta1.QuerySpotMidPriceAndTOBResponse"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/spot/mid_price_and_tob/{market_id}\x12\xed\x01\n\x18\x44\x65rivativeMidPriceAndTOB\x12@.injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBRequest\x1a\x41.injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBResponse"L\x82\xd3\xe4\x93\x02\x46\x12\x44/injective/exchange/v1beta1/derivative/mid_price_and_tob/{market_id}\x12\xd6\x01\n\x13\x44\x65rivativeOrderbook\x12;.injective.exchange.v1beta1.QueryDerivativeOrderbookRequest\x1a<.injective.exchange.v1beta1.QueryDerivativeOrderbookResponse"D\x82\xd3\xe4\x93\x02>\x12.injective.exchange.v1beta1.QueryTraderDerivativeOrdersRequest\x1a?.injective.exchange.v1beta1.QueryTraderDerivativeOrdersResponse"Q\x82\xd3\xe4\x93\x02K\x12I/injective/exchange/v1beta1/derivative/orders/{market_id}/{subaccount_id}\x12\x8e\x02\n\x1e\x41\x63\x63ountAddressDerivativeOrders\x12\x46.injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersRequest\x1aG.injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersResponse"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/orders/{market_id}/account/{account_address}\x12\xfc\x01\n\x18\x44\x65rivativeOrdersByHashes\x12@.injective.exchange.v1beta1.QueryDerivativeOrdersByHashesRequest\x1a\x41.injective.exchange.v1beta1.QueryDerivativeOrdersByHashesResponse"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/orders_by_hashes/{market_id}/{subaccount_id}\x12\xff\x01\n\x1fTraderDerivativeTransientOrders\x12>.injective.exchange.v1beta1.QueryTraderDerivativeOrdersRequest\x1a?.injective.exchange.v1beta1.QueryTraderDerivativeOrdersResponse"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/transient_orders/{market_id}/{subaccount_id}\x12\xc2\x01\n\x11\x44\x65rivativeMarkets\x12\x39.injective.exchange.v1beta1.QueryDerivativeMarketsRequest\x1a:.injective.exchange.v1beta1.QueryDerivativeMarketsResponse"6\x82\xd3\xe4\x93\x02\x30\x12./injective/exchange/v1beta1/derivative/markets\x12\xcb\x01\n\x10\x44\x65rivativeMarket\x12\x38.injective.exchange.v1beta1.QueryDerivativeMarketRequest\x1a\x39.injective.exchange.v1beta1.QueryDerivativeMarketResponse"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/derivative/markets/{market_id}\x12\xe7\x01\n\x17\x44\x65rivativeMarketAddress\x12?.injective.exchange.v1beta1.QueryDerivativeMarketAddressRequest\x1a@.injective.exchange.v1beta1.QueryDerivativeMarketAddressResponse"I\x82\xd3\xe4\x93\x02\x43\x12\x41/injective/exchange/v1beta1/derivative/market_address/{market_id}\x12\xd1\x01\n\x14SubaccountTradeNonce\x12<.injective.exchange.v1beta1.QuerySubaccountTradeNonceRequest\x1a=.injective.exchange.v1beta1.QuerySubaccountTradeNonceResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/exchange/{subaccount_id}\x12\xb2\x01\n\x13\x45xchangeModuleState\x12\x33.injective.exchange.v1beta1.QueryModuleStateRequest\x1a\x34.injective.exchange.v1beta1.QueryModuleStateResponse"0\x82\xd3\xe4\x93\x02*\x12(/injective/exchange/v1beta1/module_state\x12\xa1\x01\n\tPositions\x12\x31.injective.exchange.v1beta1.QueryPositionsRequest\x1a\x32.injective.exchange.v1beta1.QueryPositionsResponse"-\x82\xd3\xe4\x93\x02\'\x12%/injective/exchange/v1beta1/positions\x12\xcf\x01\n\x13SubaccountPositions\x12;.injective.exchange.v1beta1.QuerySubaccountPositionsRequest\x1a<.injective.exchange.v1beta1.QuerySubaccountPositionsResponse"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/positions/{subaccount_id}\x12\xf0\x01\n\x1aSubaccountPositionInMarket\x12\x42.injective.exchange.v1beta1.QuerySubaccountPositionInMarketRequest\x1a\x43.injective.exchange.v1beta1.QuerySubaccountPositionInMarketResponse"I\x82\xd3\xe4\x93\x02\x43\x12\x41/injective/exchange/v1beta1/positions/{subaccount_id}/{market_id}\x12\x95\x02\n#SubaccountEffectivePositionInMarket\x12K.injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketRequest\x1aL.injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketResponse"S\x82\xd3\xe4\x93\x02M\x12K/injective/exchange/v1beta1/effective_positions/{subaccount_id}/{market_id}\x12\xd7\x01\n\x13PerpetualMarketInfo\x12;.injective.exchange.v1beta1.QueryPerpetualMarketInfoRequest\x1a<.injective.exchange.v1beta1.QueryPerpetualMarketInfoResponse"E\x82\xd3\xe4\x93\x02?\x12=/injective/exchange/v1beta1/perpetual_market_info/{market_id}\x12\xe0\x01\n\x17\x45xpiryFuturesMarketInfo\x12?.injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoRequest\x1a@.injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoResponse"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/expiry_market_info/{market_id}\x12\xe3\x01\n\x16PerpetualMarketFunding\x12>.injective.exchange.v1beta1.QueryPerpetualMarketFundingRequest\x1a?.injective.exchange.v1beta1.QueryPerpetualMarketFundingResponse"H\x82\xd3\xe4\x93\x02\x42\x12@/injective/exchange/v1beta1/perpetual_market_funding/{market_id}\x12\xe0\x01\n\x17SubaccountOrderMetadata\x12?.injective.exchange.v1beta1.QuerySubaccountOrderMetadataRequest\x1a@.injective.exchange.v1beta1.QuerySubaccountOrderMetadataResponse"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/order_metadata/{subaccount_id}\x12\xc3\x01\n\x11TradeRewardPoints\x12\x39.injective.exchange.v1beta1.QueryTradeRewardPointsRequest\x1a:.injective.exchange.v1beta1.QueryTradeRewardPointsResponse"7\x82\xd3\xe4\x93\x02\x31\x12//injective/exchange/v1beta1/trade_reward_points\x12\xd2\x01\n\x18PendingTradeRewardPoints\x12\x39.injective.exchange.v1beta1.QueryTradeRewardPointsRequest\x1a:.injective.exchange.v1beta1.QueryTradeRewardPointsResponse"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/pending_trade_reward_points\x12\xcb\x01\n\x13TradeRewardCampaign\x12;.injective.exchange.v1beta1.QueryTradeRewardCampaignRequest\x1a<.injective.exchange.v1beta1.QueryTradeRewardCampaignResponse"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v1beta1/trade_reward_campaign\x12\xe2\x01\n\x16\x46\x65\x65\x44iscountAccountInfo\x12>.injective.exchange.v1beta1.QueryFeeDiscountAccountInfoRequest\x1a?.injective.exchange.v1beta1.QueryFeeDiscountAccountInfoResponse"G\x82\xd3\xe4\x93\x02\x41\x12?/injective/exchange/v1beta1/fee_discount_account_info/{account}\x12\xcb\x01\n\x13\x46\x65\x65\x44iscountSchedule\x12;.injective.exchange.v1beta1.QueryFeeDiscountScheduleRequest\x1a<.injective.exchange.v1beta1.QueryFeeDiscountScheduleResponse"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v1beta1/fee_discount_schedule\x12\xd0\x01\n\x11\x42\x61lanceMismatches\x12\x39.injective.exchange.v1beta1.QueryBalanceMismatchesRequest\x1a:.injective.exchange.v1beta1.QueryBalanceMismatchesResponse"D\x82\xd3\xe4\x93\x02>\x12.injective.exchange.v1beta1.QueryHistoricalTradeRecordsRequest\x1a?.injective.exchange.v1beta1.QueryHistoricalTradeRecordsResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/historical_trade_records\x12\xd7\x01\n\x13IsOptedOutOfRewards\x12;.injective.exchange.v1beta1.QueryIsOptedOutOfRewardsRequest\x1a<.injective.exchange.v1beta1.QueryIsOptedOutOfRewardsResponse"E\x82\xd3\xe4\x93\x02?\x12=/injective/exchange/v1beta1/is_opted_out_of_rewards/{account}\x12\xe5\x01\n\x19OptedOutOfRewardsAccounts\x12\x41.injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsRequest\x1a\x42.injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsResponse"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v1beta1/opted_out_of_rewards_accounts\x12\xca\x01\n\x10MarketVolatility\x12\x38.injective.exchange.v1beta1.QueryMarketVolatilityRequest\x1a\x39.injective.exchange.v1beta1.QueryMarketVolatilityResponse"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v1beta1/market_volatility/{market_id}\x12\xc1\x01\n\x14\x42inaryOptionsMarkets\x12\x35.injective.exchange.v1beta1.QueryBinaryMarketsRequest\x1a\x36.injective.exchange.v1beta1.QueryBinaryMarketsResponse":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/exchange/v1beta1/binary_options/markets\x12\x99\x02\n!TraderDerivativeConditionalOrders\x12I.injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersRequest\x1aJ.injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersResponse"]\x82\xd3\xe4\x93\x02W\x12U/injective/exchange/v1beta1/derivative/orders/conditional/{market_id}/{subaccount_id}\x12\xfe\x01\n"MarketAtomicExecutionFeeMultiplier\x12J.injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierRequest\x1aK.injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierResponse"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/atomic_order_fee_multiplier\x12\xc9\x01\n\x10\x41\x63tiveStakeGrant\x12\x38.injective.exchange.v1beta1.QueryActiveStakeGrantRequest\x1a\x39.injective.exchange.v1beta1.QueryActiveStakeGrantResponse"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/active_stake_grant/{grantee}\x12\xda\x01\n\x12GrantAuthorization\x12:.injective.exchange.v1beta1.QueryGrantAuthorizationRequest\x1a;.injective.exchange.v1beta1.QueryGrantAuthorizationResponse"K\x82\xd3\xe4\x93\x02\x45\x12\x43/injective/exchange/v1beta1/grant_authorization/{granter}/{grantee}\x12\xd4\x01\n\x13GrantAuthorizations\x12;.injective.exchange.v1beta1.QueryGrantAuthorizationsRequest\x1a<.injective.exchange.v1beta1.QueryGrantAuthorizationsResponse"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/grant_authorizations/{granter}B\x86\x02\n\x1e\x63om.injective.exchange.v1beta1B\nQueryProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&injective/exchange/v1beta1/query.proto\x12\x1ainjective.exchange.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a)injective/exchange/v1beta1/exchange.proto\x1a(injective/exchange/v1beta1/genesis.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x14gogoproto/gogo.proto\"O\n\nSubaccount\x12\x16\n\x06trader\x18\x01 \x01(\tR\x06trader\x12)\n\x10subaccount_nonce\x18\x02 \x01(\rR\x0fsubaccountNonce\"`\n\x1cQuerySubaccountOrdersRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"\xc1\x01\n\x1dQuerySubaccountOrdersResponse\x12N\n\nbuy_orders\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.SubaccountOrderDataR\tbuyOrders\x12P\n\x0bsell_orders\x18\x02 \x03(\x0b\x32/.injective.exchange.v1beta1.SubaccountOrderDataR\nsellOrders\"\xaf\x01\n%SubaccountOrderbookMetadataWithMarket\x12S\n\x08metadata\x18\x01 \x01(\x0b\x32\x37.injective.exchange.v1beta1.SubaccountOrderbookMetadataR\x08metadata\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x14\n\x05isBuy\x18\x03 \x01(\x08R\x05isBuy\"\x1c\n\x1aQueryExchangeParamsRequest\"_\n\x1bQueryExchangeParamsResponse\x12@\n\x06params\x18\x01 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x93\x01\n\x1eQuerySubaccountDepositsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12L\n\nsubaccount\x18\x02 \x01(\x0b\x32&.injective.exchange.v1beta1.SubaccountB\x04\xc8\xde\x1f\x01R\nsubaccount\"\xea\x01\n\x1fQuerySubaccountDepositsResponse\x12\x65\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32I.injective.exchange.v1beta1.QuerySubaccountDepositsResponse.DepositsEntryR\x08\x64\x65posits\x1a`\n\rDepositsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x05value:\x02\x38\x01\"\x1e\n\x1cQueryExchangeBalancesRequest\"f\n\x1dQueryExchangeBalancesResponse\x12\x45\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32#.injective.exchange.v1beta1.BalanceB\x04\xc8\xde\x1f\x00R\x08\x62\x61lances\"7\n\x1bQueryAggregateVolumeRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"u\n\x1cQueryAggregateVolumeResponse\x12U\n\x11\x61ggregate_volumes\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x10\x61ggregateVolumes\"Y\n\x1cQueryAggregateVolumesRequest\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"\xf9\x01\n\x1dQueryAggregateVolumesResponse\x12t\n\x19\x61ggregate_account_volumes\x18\x01 \x03(\x0b\x32\x38.injective.exchange.v1beta1.AggregateAccountVolumeRecordR\x17\x61ggregateAccountVolumes\x12\x62\n\x18\x61ggregate_market_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x16\x61ggregateMarketVolumes\"@\n!QueryAggregateMarketVolumeRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"l\n\"QueryAggregateMarketVolumeResponse\x12\x46\n\x06volume\x18\x01 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00R\x06volume\"0\n\x18QueryDenomDecimalRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"5\n\x19QueryDenomDecimalResponse\x12\x18\n\x07\x64\x65\x63imal\x18\x01 \x01(\x04R\x07\x64\x65\x63imal\"3\n\x19QueryDenomDecimalsRequest\x12\x16\n\x06\x64\x65noms\x18\x01 \x03(\tR\x06\x64\x65noms\"t\n\x1aQueryDenomDecimalsResponse\x12V\n\x0e\x64\x65nom_decimals\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DenomDecimalsB\x04\xc8\xde\x1f\x00R\rdenomDecimals\"C\n\"QueryAggregateMarketVolumesRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"i\n#QueryAggregateMarketVolumesResponse\x12\x42\n\x07volumes\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolumeR\x07volumes\"Z\n\x1dQuerySubaccountDepositRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\"a\n\x1eQuerySubaccountDepositResponse\x12?\n\x08\x64\x65posits\x18\x01 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositR\x08\x64\x65posits\"P\n\x17QuerySpotMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"\\\n\x18QuerySpotMarketsResponse\x12@\n\x07markets\x18\x01 \x03(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x07markets\"5\n\x16QuerySpotMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"Y\n\x17QuerySpotMarketResponse\x12>\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x06market\"\xd6\x02\n\x19QuerySpotOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12\x44\n\norder_side\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderSideR\torderSide\x12_\n\x19limit_cumulative_notional\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeNotional\x12_\n\x19limit_cumulative_quantity\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeQuantity\"\xb8\x01\n\x1aQuerySpotOrderbookResponse\x12K\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0e\x62uysPriceLevel\x12M\n\x11sells_price_level\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0fsellsPriceLevel\"\xad\x01\n\x0e\x46ullSpotMarket\x12>\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketR\x06market\x12[\n\x11mid_price_and_tob\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.MidPriceAndTOBB\x04\xc8\xde\x1f\x01R\x0emidPriceAndTob\"\x88\x01\n\x1bQueryFullSpotMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\x12\x32\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08R\x12withMidPriceAndTob\"d\n\x1cQueryFullSpotMarketsResponse\x12\x44\n\x07markets\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.FullSpotMarketR\x07markets\"m\n\x1aQueryFullSpotMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x32\n\x16with_mid_price_and_tob\x18\x02 \x01(\x08R\x12withMidPriceAndTob\"a\n\x1bQueryFullSpotMarketResponse\x12\x42\n\x06market\x18\x01 \x01(\x0b\x32*.injective.exchange.v1beta1.FullSpotMarketR\x06market\"\x85\x01\n\x1eQuerySpotOrdersByHashesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12!\n\x0corder_hashes\x18\x03 \x03(\tR\x0borderHashes\"l\n\x1fQuerySpotOrdersByHashesResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders\"`\n\x1cQueryTraderSpotOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"l\n$QueryAccountAddressSpotOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\x9b\x02\n\x15TrimmedSpotLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12?\n\x08\x66illable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12\x14\n\x05isBuy\x18\x04 \x01(\x08R\x05isBuy\x12\x1d\n\norder_hash\x18\x05 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id\"j\n\x1dQueryTraderSpotOrdersResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders\"r\n%QueryAccountAddressSpotOrdersResponse\x12I\n\x06orders\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.TrimmedSpotLimitOrderR\x06orders\"=\n\x1eQuerySpotMidPriceAndTOBRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\xfb\x01\n\x1fQuerySpotMidPriceAndTOBResponse\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"C\n$QueryDerivativeMidPriceAndTOBRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\x81\x02\n%QueryDerivativeMidPriceAndTOBResponse\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"\xb5\x01\n\x1fQueryDerivativeOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12_\n\x19limit_cumulative_notional\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeNotional\"\xbe\x01\n QueryDerivativeOrderbookResponse\x12K\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0e\x62uysPriceLevel\x12M\n\x11sells_price_level\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\x0fsellsPriceLevel\"\x9c\x03\n.QueryTraderSpotOrdersToCancelUpToAmountRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x44\n\x0b\x62\x61se_amount\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nbaseAmount\x12\x46\n\x0cquote_amount\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bquoteAmount\x12L\n\x08strategy\x18\x05 \x01(\x0e\x32\x30.injective.exchange.v1beta1.CancellationStrategyR\x08strategy\x12L\n\x0freference_price\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ereferencePrice\"\xdc\x02\n4QueryTraderDerivativeOrdersToCancelUpToAmountRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x46\n\x0cquote_amount\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bquoteAmount\x12L\n\x08strategy\x18\x04 \x01(\x0e\x32\x30.injective.exchange.v1beta1.CancellationStrategyR\x08strategy\x12L\n\x0freference_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ereferencePrice\"f\n\"QueryTraderDerivativeOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"r\n*QueryAccountAddressDerivativeOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\xe9\x02\n\x1bTrimmedDerivativeLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12?\n\x08\x66illable\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12\x1f\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuyR\x05isBuy\x12\x1d\n\norder_hash\x18\x06 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\"v\n#QueryTraderDerivativeOrdersResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders\"~\n+QueryAccountAddressDerivativeOrdersResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders\"\x8b\x01\n$QueryDerivativeOrdersByHashesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12!\n\x0corder_hashes\x18\x03 \x03(\tR\x0borderHashes\"x\n%QueryDerivativeOrdersByHashesResponse\x12O\n\x06orders\x18\x01 \x03(\x0b\x32\x37.injective.exchange.v1beta1.TrimmedDerivativeLimitOrderR\x06orders\"\x8a\x01\n\x1dQueryDerivativeMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\x12\x32\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08R\x12withMidPriceAndTob\"\x88\x01\n\nPriceLevel\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\"\xbf\x01\n\x14PerpetualMarketState\x12P\n\x0bmarket_info\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoR\nmarketInfo\x12U\n\x0c\x66unding_info\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingR\x0b\x66undingInfo\"\xba\x03\n\x14\x46ullDerivativeMarket\x12\x44\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketR\x06market\x12Y\n\x0eperpetual_info\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.PerpetualMarketStateH\x00R\rperpetualInfo\x12X\n\x0c\x66utures_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoH\x00R\x0b\x66uturesInfo\x12\x42\n\nmark_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\x12[\n\x11mid_price_and_tob\x18\x05 \x01(\x0b\x32*.injective.exchange.v1beta1.MidPriceAndTOBB\x04\xc8\xde\x1f\x01R\x0emidPriceAndTobB\x06\n\x04info\"l\n\x1eQueryDerivativeMarketsResponse\x12J\n\x07markets\x18\x01 \x03(\x0b\x32\x30.injective.exchange.v1beta1.FullDerivativeMarketR\x07markets\";\n\x1cQueryDerivativeMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"i\n\x1dQueryDerivativeMarketResponse\x12H\n\x06market\x18\x01 \x01(\x0b\x32\x30.injective.exchange.v1beta1.FullDerivativeMarketR\x06market\"B\n#QueryDerivativeMarketAddressRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"e\n$QueryDerivativeMarketAddressResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"G\n QuerySubaccountTradeNonceRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"F\n\x1fQuerySubaccountPositionsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"j\n&QuerySubaccountPositionInMarketRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"s\n/QuerySubaccountEffectivePositionInMarketRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"J\n#QuerySubaccountOrderMetadataRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"n\n QuerySubaccountPositionsResponse\x12J\n\x05state\x18\x01 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\x05state\"k\n\'QuerySubaccountPositionInMarketResponse\x12@\n\x05state\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.PositionB\x04\xc8\xde\x1f\x01R\x05state\"\x83\x02\n\x11\x45\x66\x66\x65\x63tivePosition\x12\x17\n\x07is_long\x18\x01 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12N\n\x10\x65\x66\x66\x65\x63tive_margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65\x66\x66\x65\x63tiveMargin\"}\n0QuerySubaccountEffectivePositionInMarketResponse\x12I\n\x05state\x18\x01 \x01(\x0b\x32-.injective.exchange.v1beta1.EffectivePositionB\x04\xc8\xde\x1f\x01R\x05state\">\n\x1fQueryPerpetualMarketInfoRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"m\n QueryPerpetualMarketInfoResponse\x12I\n\x04info\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00R\x04info\"B\n#QueryExpiryFuturesMarketInfoRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"u\n$QueryExpiryFuturesMarketInfoResponse\x12M\n\x04info\x18\x01 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x00R\x04info\"A\n\"QueryPerpetualMarketFundingRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"u\n#QueryPerpetualMarketFundingResponse\x12N\n\x05state\x18\x01 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x05state\"\x8b\x01\n$QuerySubaccountOrderMetadataResponse\x12\x63\n\x08metadata\x18\x01 \x03(\x0b\x32\x41.injective.exchange.v1beta1.SubaccountOrderbookMetadataWithMarketB\x04\xc8\xde\x1f\x00R\x08metadata\"9\n!QuerySubaccountTradeNonceResponse\x12\x14\n\x05nonce\x18\x01 \x01(\rR\x05nonce\"\x19\n\x17QueryModuleStateRequest\"Z\n\x18QueryModuleStateResponse\x12>\n\x05state\x18\x01 \x01(\x0b\x32(.injective.exchange.v1beta1.GenesisStateR\x05state\"\x17\n\x15QueryPositionsRequest\"d\n\x16QueryPositionsResponse\x12J\n\x05state\x18\x01 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativePositionB\x04\xc8\xde\x1f\x00R\x05state\"q\n\x1dQueryTradeRewardPointsRequest\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\x12\x34\n\x16pending_pool_timestamp\x18\x02 \x01(\x03R\x14pendingPoolTimestamp\"\x84\x01\n\x1eQueryTradeRewardPointsResponse\x12\x62\n\x1b\x61\x63\x63ount_trade_reward_points\x18\x01 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x18\x61\x63\x63ountTradeRewardPoints\"!\n\x1fQueryTradeRewardCampaignRequest\"\xfe\x04\n QueryTradeRewardCampaignResponse\x12v\n\x1ctrading_reward_campaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x19tradingRewardCampaignInfo\x12\x80\x01\n%trading_reward_pool_campaign_schedule\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR!tradingRewardPoolCampaignSchedule\x12^\n\x19total_trade_reward_points\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16totalTradeRewardPoints\x12\x8f\x01\n-pending_trading_reward_pool_campaign_schedule\x18\x04 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR(pendingTradingRewardPoolCampaignSchedule\x12m\n!pending_total_trade_reward_points\x18\x05 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1dpendingTotalTradeRewardPoints\";\n\x1fQueryIsOptedOutOfRewardsRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"D\n QueryIsOptedOutOfRewardsResponse\x12 \n\x0cis_opted_out\x18\x01 \x01(\x08R\nisOptedOut\"\'\n%QueryOptedOutOfRewardsAccountsRequest\"D\n&QueryOptedOutOfRewardsAccountsResponse\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\">\n\"QueryFeeDiscountAccountInfoRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"\xe9\x01\n#QueryFeeDiscountAccountInfoResponse\x12\x1d\n\ntier_level\x18\x01 \x01(\x04R\ttierLevel\x12R\n\x0c\x61\x63\x63ount_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfoR\x0b\x61\x63\x63ountInfo\x12O\n\x0b\x61\x63\x63ount_ttl\x18\x03 \x01(\x0b\x32..injective.exchange.v1beta1.FeeDiscountTierTTLR\naccountTtl\"!\n\x1fQueryFeeDiscountScheduleRequest\"\x87\x01\n QueryFeeDiscountScheduleResponse\x12\x63\n\x15\x66\x65\x65_discount_schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x13\x66\x65\x65\x44iscountSchedule\"@\n\x1dQueryBalanceMismatchesRequest\x12\x1f\n\x0b\x64ust_factor\x18\x01 \x01(\x03R\ndustFactor\"\xa2\x03\n\x0f\x42\x61lanceMismatch\x12\"\n\x0csubaccountId\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x41\n\tavailable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tavailable\x12\x39\n\x05total\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05total\x12\x46\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\x12J\n\x0e\x65xpected_total\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rexpectedTotal\x12\x43\n\ndifference\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\ndifference\"|\n\x1eQueryBalanceMismatchesResponse\x12Z\n\x12\x62\x61lance_mismatches\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.BalanceMismatchR\x11\x62\x61lanceMismatches\"%\n#QueryBalanceWithBalanceHoldsRequest\"\x97\x02\n\x15\x42\x61lanceWithMarginHold\x12\"\n\x0csubaccountId\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x41\n\tavailable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tavailable\x12\x39\n\x05total\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05total\x12\x46\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\"\x96\x01\n$QueryBalanceWithBalanceHoldsResponse\x12n\n\x1a\x62\x61lance_with_balance_holds\x18\x01 \x03(\x0b\x32\x31.injective.exchange.v1beta1.BalanceWithMarginHoldR\x17\x62\x61lanceWithBalanceHolds\"\'\n%QueryFeeDiscountTierStatisticsRequest\"9\n\rTierStatistic\x12\x12\n\x04tier\x18\x01 \x01(\x04R\x04tier\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\"s\n&QueryFeeDiscountTierStatisticsResponse\x12I\n\nstatistics\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.TierStatisticR\nstatistics\"\x17\n\x15MitoVaultInfosRequest\"\xc4\x01\n\x16MitoVaultInfosResponse\x12)\n\x10master_addresses\x18\x01 \x03(\tR\x0fmasterAddresses\x12\x31\n\x14\x64\x65rivative_addresses\x18\x02 \x03(\tR\x13\x64\x65rivativeAddresses\x12%\n\x0espot_addresses\x18\x03 \x03(\tR\rspotAddresses\x12%\n\x0e\x63w20_addresses\x18\x04 \x03(\tR\rcw20Addresses\"D\n\x1dQueryMarketIDFromVaultRequest\x12#\n\rvault_address\x18\x01 \x01(\tR\x0cvaultAddress\"=\n\x1eQueryMarketIDFromVaultResponse\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"A\n\"QueryHistoricalTradeRecordsRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"t\n#QueryHistoricalTradeRecordsResponse\x12M\n\rtrade_records\x18\x01 \x03(\x0b\x32(.injective.exchange.v1beta1.TradeRecordsR\x0ctradeRecords\"\xb7\x01\n\x13TradeHistoryOptions\x12,\n\x12trade_grouping_sec\x18\x01 \x01(\x04R\x10tradeGroupingSec\x12\x17\n\x07max_age\x18\x02 \x01(\x04R\x06maxAge\x12.\n\x13include_raw_history\x18\x04 \x01(\x08R\x11includeRawHistory\x12)\n\x10include_metadata\x18\x05 \x01(\x08R\x0fincludeMetadata\"\xa0\x01\n\x1cQueryMarketVolatilityRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x63\n\x15trade_history_options\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.TradeHistoryOptionsR\x13tradeHistoryOptions\"\x83\x02\n\x1dQueryMarketVolatilityResponse\x12?\n\nvolatility\x18\x01 \x01(\tB\x1f\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nvolatility\x12W\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatisticsR\x0fhistoryMetadata\x12H\n\x0braw_history\x18\x03 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecordR\nrawHistory\"3\n\x19QueryBinaryMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\"g\n\x1aQueryBinaryMarketsResponse\x12I\n\x07markets\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketR\x07markets\"q\n-QueryTraderDerivativeConditionalOrdersRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"\x9e\x03\n!TrimmedDerivativeConditionalOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12G\n\x0ctriggerPrice\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1f\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuyR\x05isBuy\x12%\n\x07isLimit\x18\x06 \x01(\x08\x42\x0b\xea\xde\x1f\x07isLimitR\x07isLimit\x12\x1d\n\norder_hash\x18\x07 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x08 \x01(\tR\x03\x63id\"\x87\x01\n.QueryTraderDerivativeConditionalOrdersResponse\x12U\n\x06orders\x18\x01 \x03(\x0b\x32=.injective.exchange.v1beta1.TrimmedDerivativeConditionalOrderR\x06orders\"M\n.QueryMarketAtomicExecutionFeeMultiplierRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"<\n\x1dQueryFullSpotOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\xa6\x01\n\x1eQueryFullSpotOrderbookResponse\x12\x41\n\x04\x42ids\x18\x01 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x42ids\x12\x41\n\x04\x41sks\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x41sks\"B\n#QueryFullDerivativeOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\xac\x01\n$QueryFullDerivativeOrderbookResponse\x12\x41\n\x04\x42ids\x18\x01 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x42ids\x12\x41\n\x04\x41sks\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x41sks\"v\n/QueryMarketAtomicExecutionFeeMultiplierResponse\x12\x43\n\nmultiplier\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nmultiplier\"8\n\x1cQueryActiveStakeGrantRequest\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\"\xb3\x01\n\x1dQueryActiveStakeGrantResponse\x12=\n\x05grant\x18\x01 \x01(\x0b\x32\'.injective.exchange.v1beta1.ActiveGrantR\x05grant\x12S\n\x0f\x65\x66\x66\x65\x63tive_grant\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.EffectiveGrantR\x0e\x65\x66\x66\x65\x63tiveGrant\"T\n\x1eQueryGrantAuthorizationRequest\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x18\n\x07grantee\x18\x02 \x01(\tR\x07grantee\"X\n\x1fQueryGrantAuthorizationResponse\x12\x35\n\x06\x61mount\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\";\n\x1fQueryGrantAuthorizationsRequest\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\"\xb7\x01\n QueryGrantAuthorizationsResponse\x12K\n\x12total_grant_amount\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10totalGrantAmount\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants*4\n\tOrderSide\x12\x14\n\x10Side_Unspecified\x10\x00\x12\x07\n\x03\x42uy\x10\x01\x12\x08\n\x04Sell\x10\x02*V\n\x14\x43\x61ncellationStrategy\x12\x14\n\x10UnspecifiedOrder\x10\x00\x12\x13\n\x0f\x46romWorstToBest\x10\x01\x12\x13\n\x0f\x46romBestToWorst\x10\x02\x32\xffh\n\x05Query\x12\xe2\x01\n\x15L3DerivativeOrderBook\x12?.injective.exchange.v1beta1.QueryFullDerivativeOrderbookRequest\x1a@.injective.exchange.v1beta1.QueryFullDerivativeOrderbookResponse\"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/derivative/L3OrderBook/{market_id}\x12\xca\x01\n\x0fL3SpotOrderBook\x12\x39.injective.exchange.v1beta1.QueryFullSpotOrderbookRequest\x1a:.injective.exchange.v1beta1.QueryFullSpotOrderbookResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/spot/L3OrderBook/{market_id}\x12\xba\x01\n\x13QueryExchangeParams\x12\x36.injective.exchange.v1beta1.QueryExchangeParamsRequest\x1a\x37.injective.exchange.v1beta1.QueryExchangeParamsResponse\"2\x82\xd3\xe4\x93\x02,\x12*/injective/exchange/v1beta1/exchangeParams\x12\xce\x01\n\x12SubaccountDeposits\x12:.injective.exchange.v1beta1.QuerySubaccountDepositsRequest\x1a;.injective.exchange.v1beta1.QuerySubaccountDepositsResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/exchange/subaccountDeposits\x12\xca\x01\n\x11SubaccountDeposit\x12\x39.injective.exchange.v1beta1.QuerySubaccountDepositRequest\x1a:.injective.exchange.v1beta1.QuerySubaccountDepositResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v1beta1/exchange/subaccountDeposit\x12\xc6\x01\n\x10\x45xchangeBalances\x12\x38.injective.exchange.v1beta1.QueryExchangeBalancesRequest\x1a\x39.injective.exchange.v1beta1.QueryExchangeBalancesResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/exchange/exchangeBalances\x12\xcc\x01\n\x0f\x41ggregateVolume\x12\x37.injective.exchange.v1beta1.QueryAggregateVolumeRequest\x1a\x38.injective.exchange.v1beta1.QueryAggregateVolumeResponse\"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/exchange/aggregateVolume/{account}\x12\xc6\x01\n\x10\x41ggregateVolumes\x12\x38.injective.exchange.v1beta1.QueryAggregateVolumesRequest\x1a\x39.injective.exchange.v1beta1.QueryAggregateVolumesResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/exchange/aggregateVolumes\x12\xe6\x01\n\x15\x41ggregateMarketVolume\x12=.injective.exchange.v1beta1.QueryAggregateMarketVolumeRequest\x1a>.injective.exchange.v1beta1.QueryAggregateMarketVolumeResponse\"N\x82\xd3\xe4\x93\x02H\x12\x46/injective/exchange/v1beta1/exchange/aggregateMarketVolume/{market_id}\x12\xde\x01\n\x16\x41ggregateMarketVolumes\x12>.injective.exchange.v1beta1.QueryAggregateMarketVolumesRequest\x1a?.injective.exchange.v1beta1.QueryAggregateMarketVolumesResponse\"C\x82\xd3\xe4\x93\x02=\x12;/injective/exchange/v1beta1/exchange/aggregateMarketVolumes\x12\xbf\x01\n\x0c\x44\x65nomDecimal\x12\x34.injective.exchange.v1beta1.QueryDenomDecimalRequest\x1a\x35.injective.exchange.v1beta1.QueryDenomDecimalResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/exchange/denom_decimal/{denom}\x12\xbb\x01\n\rDenomDecimals\x12\x35.injective.exchange.v1beta1.QueryDenomDecimalsRequest\x1a\x36.injective.exchange.v1beta1.QueryDenomDecimalsResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/exchange/v1beta1/exchange/denom_decimals\x12\xaa\x01\n\x0bSpotMarkets\x12\x33.injective.exchange.v1beta1.QuerySpotMarketsRequest\x1a\x34.injective.exchange.v1beta1.QuerySpotMarketsResponse\"0\x82\xd3\xe4\x93\x02*\x12(/injective/exchange/v1beta1/spot/markets\x12\xb3\x01\n\nSpotMarket\x12\x32.injective.exchange.v1beta1.QuerySpotMarketRequest\x1a\x33.injective.exchange.v1beta1.QuerySpotMarketResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/spot/markets/{market_id}\x12\xbb\x01\n\x0f\x46ullSpotMarkets\x12\x37.injective.exchange.v1beta1.QueryFullSpotMarketsRequest\x1a\x38.injective.exchange.v1beta1.QueryFullSpotMarketsResponse\"5\x82\xd3\xe4\x93\x02/\x12-/injective/exchange/v1beta1/spot/full_markets\x12\xc3\x01\n\x0e\x46ullSpotMarket\x12\x36.injective.exchange.v1beta1.QueryFullSpotMarketRequest\x1a\x37.injective.exchange.v1beta1.QueryFullSpotMarketResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/spot/full_market/{market_id}\x12\xbe\x01\n\rSpotOrderbook\x12\x35.injective.exchange.v1beta1.QuerySpotOrderbookRequest\x1a\x36.injective.exchange.v1beta1.QuerySpotOrderbookResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v1beta1/spot/orderbook/{market_id}\x12\xd4\x01\n\x10TraderSpotOrders\x12\x38.injective.exchange.v1beta1.QueryTraderSpotOrdersRequest\x1a\x39.injective.exchange.v1beta1.QueryTraderSpotOrdersResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/injective/exchange/v1beta1/spot/orders/{market_id}/{subaccount_id}\x12\xf6\x01\n\x18\x41\x63\x63ountAddressSpotOrders\x12@.injective.exchange.v1beta1.QueryAccountAddressSpotOrdersRequest\x1a\x41.injective.exchange.v1beta1.QueryAccountAddressSpotOrdersResponse\"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/orders/{market_id}/account/{account_address}\x12\xe4\x01\n\x12SpotOrdersByHashes\x12:.injective.exchange.v1beta1.QuerySpotOrdersByHashesRequest\x1a;.injective.exchange.v1beta1.QuerySpotOrdersByHashesResponse\"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/orders_by_hashes/{market_id}/{subaccount_id}\x12\xc3\x01\n\x10SubaccountOrders\x12\x38.injective.exchange.v1beta1.QuerySubaccountOrdersRequest\x1a\x39.injective.exchange.v1beta1.QuerySubaccountOrdersResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/exchange/v1beta1/orders/{subaccount_id}\x12\xe7\x01\n\x19TraderSpotTransientOrders\x12\x38.injective.exchange.v1beta1.QueryTraderSpotOrdersRequest\x1a\x39.injective.exchange.v1beta1.QueryTraderSpotOrdersResponse\"U\x82\xd3\xe4\x93\x02O\x12M/injective/exchange/v1beta1/spot/transient_orders/{market_id}/{subaccount_id}\x12\xd5\x01\n\x12SpotMidPriceAndTOB\x12:.injective.exchange.v1beta1.QuerySpotMidPriceAndTOBRequest\x1a;.injective.exchange.v1beta1.QuerySpotMidPriceAndTOBResponse\"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v1beta1/spot/mid_price_and_tob/{market_id}\x12\xed\x01\n\x18\x44\x65rivativeMidPriceAndTOB\x12@.injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBRequest\x1a\x41.injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBResponse\"L\x82\xd3\xe4\x93\x02\x46\x12\x44/injective/exchange/v1beta1/derivative/mid_price_and_tob/{market_id}\x12\xd6\x01\n\x13\x44\x65rivativeOrderbook\x12;.injective.exchange.v1beta1.QueryDerivativeOrderbookRequest\x1a<.injective.exchange.v1beta1.QueryDerivativeOrderbookResponse\"D\x82\xd3\xe4\x93\x02>\x12.injective.exchange.v1beta1.QueryTraderDerivativeOrdersRequest\x1a?.injective.exchange.v1beta1.QueryTraderDerivativeOrdersResponse\"Q\x82\xd3\xe4\x93\x02K\x12I/injective/exchange/v1beta1/derivative/orders/{market_id}/{subaccount_id}\x12\x8e\x02\n\x1e\x41\x63\x63ountAddressDerivativeOrders\x12\x46.injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersRequest\x1aG.injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersResponse\"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/orders/{market_id}/account/{account_address}\x12\xfc\x01\n\x18\x44\x65rivativeOrdersByHashes\x12@.injective.exchange.v1beta1.QueryDerivativeOrdersByHashesRequest\x1a\x41.injective.exchange.v1beta1.QueryDerivativeOrdersByHashesResponse\"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/orders_by_hashes/{market_id}/{subaccount_id}\x12\xff\x01\n\x1fTraderDerivativeTransientOrders\x12>.injective.exchange.v1beta1.QueryTraderDerivativeOrdersRequest\x1a?.injective.exchange.v1beta1.QueryTraderDerivativeOrdersResponse\"[\x82\xd3\xe4\x93\x02U\x12S/injective/exchange/v1beta1/derivative/transient_orders/{market_id}/{subaccount_id}\x12\xc2\x01\n\x11\x44\x65rivativeMarkets\x12\x39.injective.exchange.v1beta1.QueryDerivativeMarketsRequest\x1a:.injective.exchange.v1beta1.QueryDerivativeMarketsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./injective/exchange/v1beta1/derivative/markets\x12\xcb\x01\n\x10\x44\x65rivativeMarket\x12\x38.injective.exchange.v1beta1.QueryDerivativeMarketRequest\x1a\x39.injective.exchange.v1beta1.QueryDerivativeMarketResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/derivative/markets/{market_id}\x12\xe7\x01\n\x17\x44\x65rivativeMarketAddress\x12?.injective.exchange.v1beta1.QueryDerivativeMarketAddressRequest\x1a@.injective.exchange.v1beta1.QueryDerivativeMarketAddressResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/injective/exchange/v1beta1/derivative/market_address/{market_id}\x12\xd1\x01\n\x14SubaccountTradeNonce\x12<.injective.exchange.v1beta1.QuerySubaccountTradeNonceRequest\x1a=.injective.exchange.v1beta1.QuerySubaccountTradeNonceResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/exchange/{subaccount_id}\x12\xb2\x01\n\x13\x45xchangeModuleState\x12\x33.injective.exchange.v1beta1.QueryModuleStateRequest\x1a\x34.injective.exchange.v1beta1.QueryModuleStateResponse\"0\x82\xd3\xe4\x93\x02*\x12(/injective/exchange/v1beta1/module_state\x12\xa1\x01\n\tPositions\x12\x31.injective.exchange.v1beta1.QueryPositionsRequest\x1a\x32.injective.exchange.v1beta1.QueryPositionsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/injective/exchange/v1beta1/positions\x12\xcf\x01\n\x13SubaccountPositions\x12;.injective.exchange.v1beta1.QuerySubaccountPositionsRequest\x1a<.injective.exchange.v1beta1.QuerySubaccountPositionsResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v1beta1/positions/{subaccount_id}\x12\xf0\x01\n\x1aSubaccountPositionInMarket\x12\x42.injective.exchange.v1beta1.QuerySubaccountPositionInMarketRequest\x1a\x43.injective.exchange.v1beta1.QuerySubaccountPositionInMarketResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/injective/exchange/v1beta1/positions/{subaccount_id}/{market_id}\x12\x95\x02\n#SubaccountEffectivePositionInMarket\x12K.injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketRequest\x1aL.injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketResponse\"S\x82\xd3\xe4\x93\x02M\x12K/injective/exchange/v1beta1/effective_positions/{subaccount_id}/{market_id}\x12\xd7\x01\n\x13PerpetualMarketInfo\x12;.injective.exchange.v1beta1.QueryPerpetualMarketInfoRequest\x1a<.injective.exchange.v1beta1.QueryPerpetualMarketInfoResponse\"E\x82\xd3\xe4\x93\x02?\x12=/injective/exchange/v1beta1/perpetual_market_info/{market_id}\x12\xe0\x01\n\x17\x45xpiryFuturesMarketInfo\x12?.injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoRequest\x1a@.injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/expiry_market_info/{market_id}\x12\xe3\x01\n\x16PerpetualMarketFunding\x12>.injective.exchange.v1beta1.QueryPerpetualMarketFundingRequest\x1a?.injective.exchange.v1beta1.QueryPerpetualMarketFundingResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/injective/exchange/v1beta1/perpetual_market_funding/{market_id}\x12\xe0\x01\n\x17SubaccountOrderMetadata\x12?.injective.exchange.v1beta1.QuerySubaccountOrderMetadataRequest\x1a@.injective.exchange.v1beta1.QuerySubaccountOrderMetadataResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/order_metadata/{subaccount_id}\x12\xc3\x01\n\x11TradeRewardPoints\x12\x39.injective.exchange.v1beta1.QueryTradeRewardPointsRequest\x1a:.injective.exchange.v1beta1.QueryTradeRewardPointsResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/exchange/v1beta1/trade_reward_points\x12\xd2\x01\n\x18PendingTradeRewardPoints\x12\x39.injective.exchange.v1beta1.QueryTradeRewardPointsRequest\x1a:.injective.exchange.v1beta1.QueryTradeRewardPointsResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/pending_trade_reward_points\x12\xcb\x01\n\x13TradeRewardCampaign\x12;.injective.exchange.v1beta1.QueryTradeRewardCampaignRequest\x1a<.injective.exchange.v1beta1.QueryTradeRewardCampaignResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v1beta1/trade_reward_campaign\x12\xe2\x01\n\x16\x46\x65\x65\x44iscountAccountInfo\x12>.injective.exchange.v1beta1.QueryFeeDiscountAccountInfoRequest\x1a?.injective.exchange.v1beta1.QueryFeeDiscountAccountInfoResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/injective/exchange/v1beta1/fee_discount_account_info/{account}\x12\xcb\x01\n\x13\x46\x65\x65\x44iscountSchedule\x12;.injective.exchange.v1beta1.QueryFeeDiscountScheduleRequest\x1a<.injective.exchange.v1beta1.QueryFeeDiscountScheduleResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v1beta1/fee_discount_schedule\x12\xd0\x01\n\x11\x42\x61lanceMismatches\x12\x39.injective.exchange.v1beta1.QueryBalanceMismatchesRequest\x1a:.injective.exchange.v1beta1.QueryBalanceMismatchesResponse\"D\x82\xd3\xe4\x93\x02>\x12.injective.exchange.v1beta1.QueryHistoricalTradeRecordsRequest\x1a?.injective.exchange.v1beta1.QueryHistoricalTradeRecordsResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v1beta1/historical_trade_records\x12\xd7\x01\n\x13IsOptedOutOfRewards\x12;.injective.exchange.v1beta1.QueryIsOptedOutOfRewardsRequest\x1a<.injective.exchange.v1beta1.QueryIsOptedOutOfRewardsResponse\"E\x82\xd3\xe4\x93\x02?\x12=/injective/exchange/v1beta1/is_opted_out_of_rewards/{account}\x12\xe5\x01\n\x19OptedOutOfRewardsAccounts\x12\x41.injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsRequest\x1a\x42.injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v1beta1/opted_out_of_rewards_accounts\x12\xca\x01\n\x10MarketVolatility\x12\x38.injective.exchange.v1beta1.QueryMarketVolatilityRequest\x1a\x39.injective.exchange.v1beta1.QueryMarketVolatilityResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v1beta1/market_volatility/{market_id}\x12\xc1\x01\n\x14\x42inaryOptionsMarkets\x12\x35.injective.exchange.v1beta1.QueryBinaryMarketsRequest\x1a\x36.injective.exchange.v1beta1.QueryBinaryMarketsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/exchange/v1beta1/binary_options/markets\x12\x99\x02\n!TraderDerivativeConditionalOrders\x12I.injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersRequest\x1aJ.injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersResponse\"]\x82\xd3\xe4\x93\x02W\x12U/injective/exchange/v1beta1/derivative/orders/conditional/{market_id}/{subaccount_id}\x12\xfe\x01\n\"MarketAtomicExecutionFeeMultiplier\x12J.injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierRequest\x1aK.injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v1beta1/atomic_order_fee_multiplier\x12\xc9\x01\n\x10\x41\x63tiveStakeGrant\x12\x38.injective.exchange.v1beta1.QueryActiveStakeGrantRequest\x1a\x39.injective.exchange.v1beta1.QueryActiveStakeGrantResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v1beta1/active_stake_grant/{grantee}\x12\xda\x01\n\x12GrantAuthorization\x12:.injective.exchange.v1beta1.QueryGrantAuthorizationRequest\x1a;.injective.exchange.v1beta1.QueryGrantAuthorizationResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/injective/exchange/v1beta1/grant_authorization/{granter}/{grantee}\x12\xd4\x01\n\x13GrantAuthorizations\x12;.injective.exchange.v1beta1.QueryGrantAuthorizationsRequest\x1a<.injective.exchange.v1beta1.QueryGrantAuthorizationsResponse\"B\x82\xd3\xe4\x93\x02<\x12:/injective/exchange/v1beta1/grant_authorizations/{granter}B\x86\x02\n\x1e\x63om.injective.exchange.v1beta1B\nQueryProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.exchange.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\036com.injective.exchange.v1beta1B\nQueryProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1" - ) - _globals["_QUERYEXCHANGEPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None - _globals["_QUERYEXCHANGEPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYSUBACCOUNTDEPOSITSREQUEST"].fields_by_name["subaccount"]._loaded_options = None - _globals["_QUERYSUBACCOUNTDEPOSITSREQUEST"].fields_by_name["subaccount"]._serialized_options = b"\310\336\037\001" - _globals["_QUERYSUBACCOUNTDEPOSITSRESPONSE_DEPOSITSENTRY"]._loaded_options = None - _globals["_QUERYSUBACCOUNTDEPOSITSRESPONSE_DEPOSITSENTRY"]._serialized_options = b"8\001" - _globals["_QUERYEXCHANGEBALANCESRESPONSE"].fields_by_name["balances"]._loaded_options = None - _globals["_QUERYEXCHANGEBALANCESRESPONSE"].fields_by_name["balances"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYAGGREGATEMARKETVOLUMERESPONSE"].fields_by_name["volume"]._loaded_options = None - _globals["_QUERYAGGREGATEMARKETVOLUMERESPONSE"].fields_by_name["volume"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYDENOMDECIMALSRESPONSE"].fields_by_name["denom_decimals"]._loaded_options = None - _globals["_QUERYDENOMDECIMALSRESPONSE"].fields_by_name["denom_decimals"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYSPOTORDERBOOKREQUEST"].fields_by_name["limit_cumulative_notional"]._loaded_options = None - _globals["_QUERYSPOTORDERBOOKREQUEST"].fields_by_name[ - "limit_cumulative_notional" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYSPOTORDERBOOKREQUEST"].fields_by_name["limit_cumulative_quantity"]._loaded_options = None - _globals["_QUERYSPOTORDERBOOKREQUEST"].fields_by_name[ - "limit_cumulative_quantity" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_FULLSPOTMARKET"].fields_by_name["mid_price_and_tob"]._loaded_options = None - _globals["_FULLSPOTMARKET"].fields_by_name["mid_price_and_tob"]._serialized_options = b"\310\336\037\001" - _globals["_TRIMMEDSPOTLIMITORDER"].fields_by_name["price"]._loaded_options = None - _globals["_TRIMMEDSPOTLIMITORDER"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRIMMEDSPOTLIMITORDER"].fields_by_name["quantity"]._loaded_options = None - _globals["_TRIMMEDSPOTLIMITORDER"].fields_by_name[ - "quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRIMMEDSPOTLIMITORDER"].fields_by_name["fillable"]._loaded_options = None - _globals["_TRIMMEDSPOTLIMITORDER"].fields_by_name[ - "fillable" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYSPOTMIDPRICEANDTOBRESPONSE"].fields_by_name["mid_price"]._loaded_options = None - _globals["_QUERYSPOTMIDPRICEANDTOBRESPONSE"].fields_by_name[ - "mid_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYSPOTMIDPRICEANDTOBRESPONSE"].fields_by_name["best_buy_price"]._loaded_options = None - _globals["_QUERYSPOTMIDPRICEANDTOBRESPONSE"].fields_by_name[ - "best_buy_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYSPOTMIDPRICEANDTOBRESPONSE"].fields_by_name["best_sell_price"]._loaded_options = None - _globals["_QUERYSPOTMIDPRICEANDTOBRESPONSE"].fields_by_name[ - "best_sell_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE"].fields_by_name["mid_price"]._loaded_options = None - _globals["_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE"].fields_by_name[ - "mid_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE"].fields_by_name["best_buy_price"]._loaded_options = None - _globals["_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE"].fields_by_name[ - "best_buy_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE"].fields_by_name["best_sell_price"]._loaded_options = None - _globals["_QUERYDERIVATIVEMIDPRICEANDTOBRESPONSE"].fields_by_name[ - "best_sell_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYDERIVATIVEORDERBOOKREQUEST"].fields_by_name["limit_cumulative_notional"]._loaded_options = None - _globals["_QUERYDERIVATIVEORDERBOOKREQUEST"].fields_by_name[ - "limit_cumulative_notional" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST"].fields_by_name["base_amount"]._loaded_options = None - _globals["_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST"].fields_by_name[ - "base_amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST"].fields_by_name["quote_amount"]._loaded_options = None - _globals["_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST"].fields_by_name[ - "quote_amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST"].fields_by_name["reference_price"]._loaded_options = None - _globals["_QUERYTRADERSPOTORDERSTOCANCELUPTOAMOUNTREQUEST"].fields_by_name[ - "reference_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST"].fields_by_name[ - "quote_amount" - ]._loaded_options = None - _globals["_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST"].fields_by_name[ - "quote_amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST"].fields_by_name[ - "reference_price" - ]._loaded_options = None - _globals["_QUERYTRADERDERIVATIVEORDERSTOCANCELUPTOAMOUNTREQUEST"].fields_by_name[ - "reference_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRIMMEDDERIVATIVELIMITORDER"].fields_by_name["price"]._loaded_options = None - _globals["_TRIMMEDDERIVATIVELIMITORDER"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRIMMEDDERIVATIVELIMITORDER"].fields_by_name["quantity"]._loaded_options = None - _globals["_TRIMMEDDERIVATIVELIMITORDER"].fields_by_name[ - "quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRIMMEDDERIVATIVELIMITORDER"].fields_by_name["margin"]._loaded_options = None - _globals["_TRIMMEDDERIVATIVELIMITORDER"].fields_by_name[ - "margin" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRIMMEDDERIVATIVELIMITORDER"].fields_by_name["fillable"]._loaded_options = None - _globals["_TRIMMEDDERIVATIVELIMITORDER"].fields_by_name[ - "fillable" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRIMMEDDERIVATIVELIMITORDER"].fields_by_name["isBuy"]._loaded_options = None - _globals["_TRIMMEDDERIVATIVELIMITORDER"].fields_by_name["isBuy"]._serialized_options = b"\352\336\037\005isBuy" - _globals["_PRICELEVEL"].fields_by_name["price"]._loaded_options = None - _globals["_PRICELEVEL"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PRICELEVEL"].fields_by_name["quantity"]._loaded_options = None - _globals["_PRICELEVEL"].fields_by_name[ - "quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_FULLDERIVATIVEMARKET"].fields_by_name["mark_price"]._loaded_options = None - _globals["_FULLDERIVATIVEMARKET"].fields_by_name[ - "mark_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_FULLDERIVATIVEMARKET"].fields_by_name["mid_price_and_tob"]._loaded_options = None - _globals["_FULLDERIVATIVEMARKET"].fields_by_name["mid_price_and_tob"]._serialized_options = b"\310\336\037\001" - _globals["_QUERYSUBACCOUNTPOSITIONSRESPONSE"].fields_by_name["state"]._loaded_options = None - _globals["_QUERYSUBACCOUNTPOSITIONSRESPONSE"].fields_by_name["state"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYSUBACCOUNTPOSITIONINMARKETRESPONSE"].fields_by_name["state"]._loaded_options = None - _globals["_QUERYSUBACCOUNTPOSITIONINMARKETRESPONSE"].fields_by_name[ - "state" - ]._serialized_options = b"\310\336\037\001" - _globals["_EFFECTIVEPOSITION"].fields_by_name["quantity"]._loaded_options = None - _globals["_EFFECTIVEPOSITION"].fields_by_name[ - "quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EFFECTIVEPOSITION"].fields_by_name["entry_price"]._loaded_options = None - _globals["_EFFECTIVEPOSITION"].fields_by_name[ - "entry_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EFFECTIVEPOSITION"].fields_by_name["effective_margin"]._loaded_options = None - _globals["_EFFECTIVEPOSITION"].fields_by_name[ - "effective_margin" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETRESPONSE"].fields_by_name["state"]._loaded_options = None - _globals["_QUERYSUBACCOUNTEFFECTIVEPOSITIONINMARKETRESPONSE"].fields_by_name[ - "state" - ]._serialized_options = b"\310\336\037\001" - _globals["_QUERYPERPETUALMARKETINFORESPONSE"].fields_by_name["info"]._loaded_options = None - _globals["_QUERYPERPETUALMARKETINFORESPONSE"].fields_by_name["info"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYEXPIRYFUTURESMARKETINFORESPONSE"].fields_by_name["info"]._loaded_options = None - _globals["_QUERYEXPIRYFUTURESMARKETINFORESPONSE"].fields_by_name["info"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYPERPETUALMARKETFUNDINGRESPONSE"].fields_by_name["state"]._loaded_options = None - _globals["_QUERYPERPETUALMARKETFUNDINGRESPONSE"].fields_by_name["state"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYSUBACCOUNTORDERMETADATARESPONSE"].fields_by_name["metadata"]._loaded_options = None - _globals["_QUERYSUBACCOUNTORDERMETADATARESPONSE"].fields_by_name[ - "metadata" - ]._serialized_options = b"\310\336\037\000" - _globals["_QUERYPOSITIONSRESPONSE"].fields_by_name["state"]._loaded_options = None - _globals["_QUERYPOSITIONSRESPONSE"].fields_by_name["state"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYTRADEREWARDPOINTSRESPONSE"].fields_by_name["account_trade_reward_points"]._loaded_options = None - _globals["_QUERYTRADEREWARDPOINTSRESPONSE"].fields_by_name[ - "account_trade_reward_points" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYTRADEREWARDCAMPAIGNRESPONSE"].fields_by_name["total_trade_reward_points"]._loaded_options = None - _globals["_QUERYTRADEREWARDCAMPAIGNRESPONSE"].fields_by_name[ - "total_trade_reward_points" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYTRADEREWARDCAMPAIGNRESPONSE"].fields_by_name[ - "pending_total_trade_reward_points" - ]._loaded_options = None - _globals["_QUERYTRADEREWARDCAMPAIGNRESPONSE"].fields_by_name[ - "pending_total_trade_reward_points" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BALANCEMISMATCH"].fields_by_name["available"]._loaded_options = None - _globals["_BALANCEMISMATCH"].fields_by_name[ - "available" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BALANCEMISMATCH"].fields_by_name["total"]._loaded_options = None - _globals["_BALANCEMISMATCH"].fields_by_name[ - "total" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BALANCEMISMATCH"].fields_by_name["balance_hold"]._loaded_options = None - _globals["_BALANCEMISMATCH"].fields_by_name[ - "balance_hold" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BALANCEMISMATCH"].fields_by_name["expected_total"]._loaded_options = None - _globals["_BALANCEMISMATCH"].fields_by_name[ - "expected_total" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BALANCEMISMATCH"].fields_by_name["difference"]._loaded_options = None - _globals["_BALANCEMISMATCH"].fields_by_name[ - "difference" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BALANCEWITHMARGINHOLD"].fields_by_name["available"]._loaded_options = None - _globals["_BALANCEWITHMARGINHOLD"].fields_by_name[ - "available" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BALANCEWITHMARGINHOLD"].fields_by_name["total"]._loaded_options = None - _globals["_BALANCEWITHMARGINHOLD"].fields_by_name[ - "total" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_BALANCEWITHMARGINHOLD"].fields_by_name["balance_hold"]._loaded_options = None - _globals["_BALANCEWITHMARGINHOLD"].fields_by_name[ - "balance_hold" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYMARKETVOLATILITYRESPONSE"].fields_by_name["volatility"]._loaded_options = None - _globals["_QUERYMARKETVOLATILITYRESPONSE"].fields_by_name[ - "volatility" - ]._serialized_options = b"\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRIMMEDDERIVATIVECONDITIONALORDER"].fields_by_name["price"]._loaded_options = None - _globals["_TRIMMEDDERIVATIVECONDITIONALORDER"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRIMMEDDERIVATIVECONDITIONALORDER"].fields_by_name["quantity"]._loaded_options = None - _globals["_TRIMMEDDERIVATIVECONDITIONALORDER"].fields_by_name[ - "quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRIMMEDDERIVATIVECONDITIONALORDER"].fields_by_name["margin"]._loaded_options = None - _globals["_TRIMMEDDERIVATIVECONDITIONALORDER"].fields_by_name[ - "margin" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRIMMEDDERIVATIVECONDITIONALORDER"].fields_by_name["triggerPrice"]._loaded_options = None - _globals["_TRIMMEDDERIVATIVECONDITIONALORDER"].fields_by_name[ - "triggerPrice" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_TRIMMEDDERIVATIVECONDITIONALORDER"].fields_by_name["isBuy"]._loaded_options = None - _globals["_TRIMMEDDERIVATIVECONDITIONALORDER"].fields_by_name[ - "isBuy" - ]._serialized_options = b"\352\336\037\005isBuy" - _globals["_TRIMMEDDERIVATIVECONDITIONALORDER"].fields_by_name["isLimit"]._loaded_options = None - _globals["_TRIMMEDDERIVATIVECONDITIONALORDER"].fields_by_name[ - "isLimit" - ]._serialized_options = b"\352\336\037\007isLimit" - _globals["_QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERRESPONSE"].fields_by_name["multiplier"]._loaded_options = None - _globals["_QUERYMARKETATOMICEXECUTIONFEEMULTIPLIERRESPONSE"].fields_by_name[ - "multiplier" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYGRANTAUTHORIZATIONRESPONSE"].fields_by_name["amount"]._loaded_options = None - _globals["_QUERYGRANTAUTHORIZATIONRESPONSE"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_QUERYGRANTAUTHORIZATIONSRESPONSE"].fields_by_name["total_grant_amount"]._loaded_options = None - _globals["_QUERYGRANTAUTHORIZATIONSRESPONSE"].fields_by_name[ - "total_grant_amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_QUERY"].methods_by_name["L3DerivativeOrderBook"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "L3DerivativeOrderBook" - ]._serialized_options = b"\202\323\344\223\002@\022>/injective/exchange/v1beta1/derivative/L3OrderBook/{market_id}" - _globals["_QUERY"].methods_by_name["L3SpotOrderBook"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "L3SpotOrderBook" - ]._serialized_options = b"\202\323\344\223\002:\0228/injective/exchange/v1beta1/spot/L3OrderBook/{market_id}" - _globals["_QUERY"].methods_by_name["QueryExchangeParams"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "QueryExchangeParams" - ]._serialized_options = b"\202\323\344\223\002,\022*/injective/exchange/v1beta1/exchangeParams" - _globals["_QUERY"].methods_by_name["SubaccountDeposits"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "SubaccountDeposits" - ]._serialized_options = b"\202\323\344\223\0029\0227/injective/exchange/v1beta1/exchange/subaccountDeposits" - _globals["_QUERY"].methods_by_name["SubaccountDeposit"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "SubaccountDeposit" - ]._serialized_options = b"\202\323\344\223\0028\0226/injective/exchange/v1beta1/exchange/subaccountDeposit" - _globals["_QUERY"].methods_by_name["ExchangeBalances"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ExchangeBalances" - ]._serialized_options = b"\202\323\344\223\0027\0225/injective/exchange/v1beta1/exchange/exchangeBalances" - _globals["_QUERY"].methods_by_name["AggregateVolume"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AggregateVolume" - ]._serialized_options = b"\202\323\344\223\002@\022>/injective/exchange/v1beta1/exchange/aggregateVolume/{account}" - _globals["_QUERY"].methods_by_name["AggregateVolumes"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AggregateVolumes" - ]._serialized_options = b"\202\323\344\223\0027\0225/injective/exchange/v1beta1/exchange/aggregateVolumes" - _globals["_QUERY"].methods_by_name["AggregateMarketVolume"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AggregateMarketVolume" - ]._serialized_options = ( - b"\202\323\344\223\002H\022F/injective/exchange/v1beta1/exchange/aggregateMarketVolume/{market_id}" - ) - _globals["_QUERY"].methods_by_name["AggregateMarketVolumes"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AggregateMarketVolumes" - ]._serialized_options = b"\202\323\344\223\002=\022;/injective/exchange/v1beta1/exchange/aggregateMarketVolumes" - _globals["_QUERY"].methods_by_name["DenomDecimal"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DenomDecimal" - ]._serialized_options = b"\202\323\344\223\002<\022:/injective/exchange/v1beta1/exchange/denom_decimal/{denom}" - _globals["_QUERY"].methods_by_name["DenomDecimals"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DenomDecimals" - ]._serialized_options = b"\202\323\344\223\0025\0223/injective/exchange/v1beta1/exchange/denom_decimals" - _globals["_QUERY"].methods_by_name["SpotMarkets"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "SpotMarkets" - ]._serialized_options = b"\202\323\344\223\002*\022(/injective/exchange/v1beta1/spot/markets" - _globals["_QUERY"].methods_by_name["SpotMarket"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "SpotMarket" - ]._serialized_options = b"\202\323\344\223\0026\0224/injective/exchange/v1beta1/spot/markets/{market_id}" - _globals["_QUERY"].methods_by_name["FullSpotMarkets"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "FullSpotMarkets" - ]._serialized_options = b"\202\323\344\223\002/\022-/injective/exchange/v1beta1/spot/full_markets" - _globals["_QUERY"].methods_by_name["FullSpotMarket"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "FullSpotMarket" - ]._serialized_options = b"\202\323\344\223\002:\0228/injective/exchange/v1beta1/spot/full_market/{market_id}" - _globals["_QUERY"].methods_by_name["SpotOrderbook"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "SpotOrderbook" - ]._serialized_options = b"\202\323\344\223\0028\0226/injective/exchange/v1beta1/spot/orderbook/{market_id}" - _globals["_QUERY"].methods_by_name["TraderSpotOrders"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "TraderSpotOrders" - ]._serialized_options = ( - b"\202\323\344\223\002E\022C/injective/exchange/v1beta1/spot/orders/{market_id}/{subaccount_id}" - ) - _globals["_QUERY"].methods_by_name["AccountAddressSpotOrders"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AccountAddressSpotOrders" - ]._serialized_options = ( - b"\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/orders/{market_id}/account/{account_address}" - ) - _globals["_QUERY"].methods_by_name["SpotOrdersByHashes"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "SpotOrdersByHashes" - ]._serialized_options = ( - b"\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/orders_by_hashes/{market_id}/{subaccount_id}" - ) - _globals["_QUERY"].methods_by_name["SubaccountOrders"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "SubaccountOrders" - ]._serialized_options = b"\202\323\344\223\0024\0222/injective/exchange/v1beta1/orders/{subaccount_id}" - _globals["_QUERY"].methods_by_name["TraderSpotTransientOrders"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "TraderSpotTransientOrders" - ]._serialized_options = ( - b"\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/transient_orders/{market_id}/{subaccount_id}" - ) - _globals["_QUERY"].methods_by_name["SpotMidPriceAndTOB"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "SpotMidPriceAndTOB" - ]._serialized_options = b"\202\323\344\223\002@\022>/injective/exchange/v1beta1/spot/mid_price_and_tob/{market_id}" - _globals["_QUERY"].methods_by_name["DerivativeMidPriceAndTOB"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DerivativeMidPriceAndTOB" - ]._serialized_options = ( - b"\202\323\344\223\002F\022D/injective/exchange/v1beta1/derivative/mid_price_and_tob/{market_id}" - ) - _globals["_QUERY"].methods_by_name["DerivativeOrderbook"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DerivativeOrderbook" - ]._serialized_options = b"\202\323\344\223\002>\022\022/injective/exchange/v1beta1/derivative/L3OrderBook/{market_id}' + _globals['_QUERY'].methods_by_name['L3SpotOrderBook']._loaded_options = None + _globals['_QUERY'].methods_by_name['L3SpotOrderBook']._serialized_options = b'\202\323\344\223\002:\0228/injective/exchange/v1beta1/spot/L3OrderBook/{market_id}' + _globals['_QUERY'].methods_by_name['QueryExchangeParams']._loaded_options = None + _globals['_QUERY'].methods_by_name['QueryExchangeParams']._serialized_options = b'\202\323\344\223\002,\022*/injective/exchange/v1beta1/exchangeParams' + _globals['_QUERY'].methods_by_name['SubaccountDeposits']._loaded_options = None + _globals['_QUERY'].methods_by_name['SubaccountDeposits']._serialized_options = b'\202\323\344\223\0029\0227/injective/exchange/v1beta1/exchange/subaccountDeposits' + _globals['_QUERY'].methods_by_name['SubaccountDeposit']._loaded_options = None + _globals['_QUERY'].methods_by_name['SubaccountDeposit']._serialized_options = b'\202\323\344\223\0028\0226/injective/exchange/v1beta1/exchange/subaccountDeposit' + _globals['_QUERY'].methods_by_name['ExchangeBalances']._loaded_options = None + _globals['_QUERY'].methods_by_name['ExchangeBalances']._serialized_options = b'\202\323\344\223\0027\0225/injective/exchange/v1beta1/exchange/exchangeBalances' + _globals['_QUERY'].methods_by_name['AggregateVolume']._loaded_options = None + _globals['_QUERY'].methods_by_name['AggregateVolume']._serialized_options = b'\202\323\344\223\002@\022>/injective/exchange/v1beta1/exchange/aggregateVolume/{account}' + _globals['_QUERY'].methods_by_name['AggregateVolumes']._loaded_options = None + _globals['_QUERY'].methods_by_name['AggregateVolumes']._serialized_options = b'\202\323\344\223\0027\0225/injective/exchange/v1beta1/exchange/aggregateVolumes' + _globals['_QUERY'].methods_by_name['AggregateMarketVolume']._loaded_options = None + _globals['_QUERY'].methods_by_name['AggregateMarketVolume']._serialized_options = b'\202\323\344\223\002H\022F/injective/exchange/v1beta1/exchange/aggregateMarketVolume/{market_id}' + _globals['_QUERY'].methods_by_name['AggregateMarketVolumes']._loaded_options = None + _globals['_QUERY'].methods_by_name['AggregateMarketVolumes']._serialized_options = b'\202\323\344\223\002=\022;/injective/exchange/v1beta1/exchange/aggregateMarketVolumes' + _globals['_QUERY'].methods_by_name['DenomDecimal']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomDecimal']._serialized_options = b'\202\323\344\223\002<\022:/injective/exchange/v1beta1/exchange/denom_decimal/{denom}' + _globals['_QUERY'].methods_by_name['DenomDecimals']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomDecimals']._serialized_options = b'\202\323\344\223\0025\0223/injective/exchange/v1beta1/exchange/denom_decimals' + _globals['_QUERY'].methods_by_name['SpotMarkets']._loaded_options = None + _globals['_QUERY'].methods_by_name['SpotMarkets']._serialized_options = b'\202\323\344\223\002*\022(/injective/exchange/v1beta1/spot/markets' + _globals['_QUERY'].methods_by_name['SpotMarket']._loaded_options = None + _globals['_QUERY'].methods_by_name['SpotMarket']._serialized_options = b'\202\323\344\223\0026\0224/injective/exchange/v1beta1/spot/markets/{market_id}' + _globals['_QUERY'].methods_by_name['FullSpotMarkets']._loaded_options = None + _globals['_QUERY'].methods_by_name['FullSpotMarkets']._serialized_options = b'\202\323\344\223\002/\022-/injective/exchange/v1beta1/spot/full_markets' + _globals['_QUERY'].methods_by_name['FullSpotMarket']._loaded_options = None + _globals['_QUERY'].methods_by_name['FullSpotMarket']._serialized_options = b'\202\323\344\223\002:\0228/injective/exchange/v1beta1/spot/full_market/{market_id}' + _globals['_QUERY'].methods_by_name['SpotOrderbook']._loaded_options = None + _globals['_QUERY'].methods_by_name['SpotOrderbook']._serialized_options = b'\202\323\344\223\0028\0226/injective/exchange/v1beta1/spot/orderbook/{market_id}' + _globals['_QUERY'].methods_by_name['TraderSpotOrders']._loaded_options = None + _globals['_QUERY'].methods_by_name['TraderSpotOrders']._serialized_options = b'\202\323\344\223\002E\022C/injective/exchange/v1beta1/spot/orders/{market_id}/{subaccount_id}' + _globals['_QUERY'].methods_by_name['AccountAddressSpotOrders']._loaded_options = None + _globals['_QUERY'].methods_by_name['AccountAddressSpotOrders']._serialized_options = b'\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/orders/{market_id}/account/{account_address}' + _globals['_QUERY'].methods_by_name['SpotOrdersByHashes']._loaded_options = None + _globals['_QUERY'].methods_by_name['SpotOrdersByHashes']._serialized_options = b'\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/orders_by_hashes/{market_id}/{subaccount_id}' + _globals['_QUERY'].methods_by_name['SubaccountOrders']._loaded_options = None + _globals['_QUERY'].methods_by_name['SubaccountOrders']._serialized_options = b'\202\323\344\223\0024\0222/injective/exchange/v1beta1/orders/{subaccount_id}' + _globals['_QUERY'].methods_by_name['TraderSpotTransientOrders']._loaded_options = None + _globals['_QUERY'].methods_by_name['TraderSpotTransientOrders']._serialized_options = b'\202\323\344\223\002O\022M/injective/exchange/v1beta1/spot/transient_orders/{market_id}/{subaccount_id}' + _globals['_QUERY'].methods_by_name['SpotMidPriceAndTOB']._loaded_options = None + _globals['_QUERY'].methods_by_name['SpotMidPriceAndTOB']._serialized_options = b'\202\323\344\223\002@\022>/injective/exchange/v1beta1/spot/mid_price_and_tob/{market_id}' + _globals['_QUERY'].methods_by_name['DerivativeMidPriceAndTOB']._loaded_options = None + _globals['_QUERY'].methods_by_name['DerivativeMidPriceAndTOB']._serialized_options = b'\202\323\344\223\002F\022D/injective/exchange/v1beta1/derivative/mid_price_and_tob/{market_id}' + _globals['_QUERY'].methods_by_name['DerivativeOrderbook']._loaded_options = None + _globals['_QUERY'].methods_by_name['DerivativeOrderbook']._serialized_options = b'\202\323\344\223\002>\022\022\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*&exchange/MsgBatchCreateSpotLimitOrders"\xb2\x01\n%MsgBatchCreateSpotLimitOrdersResponse\x12!\n\x0corder_hashes\x18\x01 \x03(\tR\x0borderHashes\x12.\n\x13\x63reated_orders_cids\x18\x02 \x03(\tR\x11\x63reatedOrdersCids\x12,\n\x12\x66\x61iled_orders_cids\x18\x03 \x03(\tR\x10\x66\x61iledOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xbf\x03\n\x1aMsgInstantSpotMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x03 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#exchange/MsgInstantSpotMarketLaunch"$\n"MsgInstantSpotMarketLaunchResponse"\xb1\x07\n\x1fMsgInstantPerpetualMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x06 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x07 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12I\n\x0emaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12U\n\x14initial_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12R\n\x13min_price_tick_size\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*(exchange/MsgInstantPerpetualMarketLaunch")\n\'MsgInstantPerpetualMarketLaunchResponse"\x89\x07\n#MsgInstantBinaryOptionsMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x03 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x04 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x05 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x06 \x01(\rR\x11oracleScaleFactor\x12I\n\x0emaker_fee_rate\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12\x31\n\x14\x65xpiration_timestamp\x18\t \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\n \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\x0b \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\x0c \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgInstantBinaryOptionsMarketLaunch"-\n+MsgInstantBinaryOptionsMarketLaunchResponse"\xd1\x07\n#MsgInstantExpiryFuturesMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x16\n\x06\x65xpiry\x18\x08 \x01(\x03R\x06\x65xpiry\x12I\n\x0emaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12U\n\x14initial_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgInstantExpiryFuturesMarketLaunch"-\n+MsgInstantExpiryFuturesMarketLaunchResponse"\xb0\x01\n\x18MsgCreateSpotMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00R\x05order:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgCreateSpotMarketOrder"\xb1\x01\n MsgCreateSpotMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12R\n\x07results\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.SpotMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xd5\x01\n\x16SpotMarketOrderResults\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x35\n\x03\x66\x65\x65\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xbc\x01\n\x1dMsgCreateDerivativeLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order::\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*&exchange/MsgCreateDerivativeLimitOrder"b\n%MsgCreateDerivativeLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xc2\x01\n MsgCreateBinaryOptionsLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:=\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*)exchange/MsgCreateBinaryOptionsLimitOrder"e\n(MsgCreateBinaryOptionsLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xca\x01\n#MsgBatchCreateDerivativeLimitOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12I\n\x06orders\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x06orders:@\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgBatchCreateDerivativeLimitOrders"\xb8\x01\n+MsgBatchCreateDerivativeLimitOrdersResponse\x12!\n\x0corder_hashes\x18\x01 \x03(\tR\x0borderHashes\x12.\n\x13\x63reated_orders_cids\x18\x02 \x03(\tR\x11\x63reatedOrdersCids\x12,\n\x12\x66\x61iled_orders_cids\x18\x03 \x03(\tR\x10\x66\x61iledOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xd0\x01\n\x12MsgCancelSpotOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id:/\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1b\x65xchange/MsgCancelSpotOrder"\x1c\n\x1aMsgCancelSpotOrderResponse"\xaa\x01\n\x18MsgBatchCancelSpotOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:5\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgBatchCancelSpotOrders"F\n MsgBatchCancelSpotOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xbc\x01\n!MsgBatchCancelBinaryOptionsOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:>\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgBatchCancelBinaryOptionsOrders"O\n)MsgBatchCancelBinaryOptionsOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xf2\x07\n\x14MsgBatchUpdateOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12?\n\x1dspot_market_ids_to_cancel_all\x18\x03 \x03(\tR\x18spotMarketIdsToCancelAll\x12K\n#derivative_market_ids_to_cancel_all\x18\x04 \x03(\tR\x1e\x64\x65rivativeMarketIdsToCancelAll\x12^\n\x15spot_orders_to_cancel\x18\x05 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x12spotOrdersToCancel\x12j\n\x1b\x64\x65rivative_orders_to_cancel\x18\x06 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x18\x64\x65rivativeOrdersToCancel\x12^\n\x15spot_orders_to_create\x18\x07 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x01R\x12spotOrdersToCreate\x12p\n\x1b\x64\x65rivative_orders_to_create\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x18\x64\x65rivativeOrdersToCreate\x12q\n\x1f\x62inary_options_orders_to_cancel\x18\t \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x1b\x62inaryOptionsOrdersToCancel\x12R\n\'binary_options_market_ids_to_cancel_all\x18\n \x03(\tR!binaryOptionsMarketIdsToCancelAll\x12w\n\x1f\x62inary_options_orders_to_create\x18\x0b \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x1b\x62inaryOptionsOrdersToCreate:1\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x65xchange/MsgBatchUpdateOrders"\x88\x06\n\x1cMsgBatchUpdateOrdersResponse\x12.\n\x13spot_cancel_success\x18\x01 \x03(\x08R\x11spotCancelSuccess\x12:\n\x19\x64\x65rivative_cancel_success\x18\x02 \x03(\x08R\x17\x64\x65rivativeCancelSuccess\x12*\n\x11spot_order_hashes\x18\x03 \x03(\tR\x0fspotOrderHashes\x12\x36\n\x17\x64\x65rivative_order_hashes\x18\x04 \x03(\tR\x15\x64\x65rivativeOrderHashes\x12\x41\n\x1d\x62inary_options_cancel_success\x18\x05 \x03(\x08R\x1a\x62inaryOptionsCancelSuccess\x12=\n\x1b\x62inary_options_order_hashes\x18\x06 \x03(\tR\x18\x62inaryOptionsOrderHashes\x12\x37\n\x18\x63reated_spot_orders_cids\x18\x07 \x03(\tR\x15\x63reatedSpotOrdersCids\x12\x35\n\x17\x66\x61iled_spot_orders_cids\x18\x08 \x03(\tR\x14\x66\x61iledSpotOrdersCids\x12\x43\n\x1e\x63reated_derivative_orders_cids\x18\t \x03(\tR\x1b\x63reatedDerivativeOrdersCids\x12\x41\n\x1d\x66\x61iled_derivative_orders_cids\x18\n \x03(\tR\x1a\x66\x61iledDerivativeOrdersCids\x12J\n"created_binary_options_orders_cids\x18\x0b \x03(\tR\x1e\x63reatedBinaryOptionsOrdersCids\x12H\n!failed_binary_options_orders_cids\x18\x0c \x03(\tR\x1d\x66\x61iledBinaryOptionsOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xbe\x01\n\x1eMsgCreateDerivativeMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:;\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgCreateDerivativeMarketOrder"\xbd\x01\n&MsgCreateDerivativeMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12X\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xf0\x02\n\x1c\x44\x65rivativeMarketOrderResults\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x35\n\x03\x66\x65\x65\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12V\n\x0eposition_delta\x18\x04 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaB\x04\xc8\xde\x1f\x00R\rpositionDelta\x12;\n\x06payout\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xc4\x01\n!MsgCreateBinaryOptionsMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:>\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgCreateBinaryOptionsMarketOrder"\xc0\x01\n)MsgCreateBinaryOptionsMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12X\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xfb\x01\n\x18MsgCancelDerivativeOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x05 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id:5\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgCancelDerivativeOrder""\n MsgCancelDerivativeOrderResponse"\x81\x02\n\x1bMsgCancelBinaryOptionsOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x05 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id:8\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*$exchange/MsgCancelBinaryOptionsOrder"%\n#MsgCancelBinaryOptionsOrderResponse"\x9d\x01\n\tOrderData\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x04 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id"\xb6\x01\n\x1eMsgBatchCancelDerivativeOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:;\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgBatchCancelDerivativeOrders"L\n&MsgBatchCancelDerivativeOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\x86\x02\n\x15MsgSubaccountTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x37\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgSubaccountTransfer"\x1f\n\x1dMsgSubaccountTransferResponse"\x82\x02\n\x13MsgExternalTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x37\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1c\x65xchange/MsgExternalTransfer"\x1d\n\x1bMsgExternalTransferResponse"\xe8\x01\n\x14MsgLiquidatePosition\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12G\n\x05order\x18\x04 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x05order:-\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x65xchange/MsgLiquidatePosition"\x1e\n\x1cMsgLiquidatePositionResponse"\xa7\x01\n\x18MsgEmergencySettleMarket\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId:1\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgEmergencySettleMarket""\n MsgEmergencySettleMarketResponse"\xaf\x02\n\x19MsgIncreasePositionMargin\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\x12;\n\x06\x61mount\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount:2\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*"exchange/MsgIncreasePositionMargin"#\n!MsgIncreasePositionMarginResponse"\xaf\x02\n\x19MsgDecreasePositionMargin\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\x12;\n\x06\x61mount\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount:2\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*"exchange/MsgDecreasePositionMargin"#\n!MsgDecreasePositionMarginResponse"\xca\x01\n\x1cMsgPrivilegedExecuteContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x14\n\x05\x66unds\x18\x02 \x01(\tR\x05\x66unds\x12)\n\x10\x63ontract_address\x18\x03 \x01(\tR\x0f\x63ontractAddress\x12\x12\n\x04\x64\x61ta\x18\x04 \x01(\tR\x04\x64\x61ta:=\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*%exchange/MsgPrivilegedExecuteContract"\xa7\x01\n$MsgPrivilegedExecuteContractResponse\x12j\n\nfunds_diff\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\tfundsDiff:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender"]\n\x10MsgRewardsOptOut\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19\x65xchange/MsgRewardsOptOut"\x1a\n\x18MsgRewardsOptOutResponse"\xaf\x01\n\x15MsgReclaimLockedFunds\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x13lockedAccountPubKey\x18\x02 \x01(\x0cR\x13lockedAccountPubKey\x12\x1c\n\tsignature\x18\x03 \x01(\x0cR\tsignature:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgReclaimLockedFunds"\x1f\n\x1dMsgReclaimLockedFundsResponse"\x80\x01\n\x0bMsgSignData\x12S\n\x06Signer\x18\x01 \x01(\x0c\x42;\xea\xde\x1f\x06signer\xfa\xde\x1f-github.com/cosmos/cosmos-sdk/types.AccAddressR\x06Signer\x12\x1c\n\x04\x44\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61taR\x04\x44\x61ta"x\n\nMsgSignDoc\x12%\n\tsign_type\x18\x01 \x01(\tB\x08\xea\xde\x1f\x04typeR\x08signType\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.MsgSignDataB\x04\xc8\xde\x1f\x00R\x05value"\x8c\x03\n!MsgAdminUpdateBinaryOptionsMarket\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x31\n\x14\x65xpiration_timestamp\x18\x04 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\x05 \x01(\x03R\x13settlementTimestamp\x12@\n\x06status\x18\x06 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status::\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgAdminUpdateBinaryOptionsMarket"+\n)MsgAdminUpdateBinaryOptionsMarketResponse"\xab\x01\n\x17MsgAuthorizeStakeGrants\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants:0\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* exchange/MsgAuthorizeStakeGrants"!\n\x1fMsgAuthorizeStakeGrantsResponse"y\n\x15MsgActivateStakeGrant\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgActivateStakeGrant"\x1f\n\x1dMsgActivateStakeGrantResponse2\xd0\'\n\x03Msg\x12\x61\n\x07\x44\x65posit\x12&.injective.exchange.v1beta1.MsgDeposit\x1a..injective.exchange.v1beta1.MsgDepositResponse\x12\x64\n\x08Withdraw\x12\'.injective.exchange.v1beta1.MsgWithdraw\x1a/.injective.exchange.v1beta1.MsgWithdrawResponse\x12\x91\x01\n\x17InstantSpotMarketLaunch\x12\x36.injective.exchange.v1beta1.MsgInstantSpotMarketLaunch\x1a>.injective.exchange.v1beta1.MsgInstantSpotMarketLaunchResponse\x12\xa0\x01\n\x1cInstantPerpetualMarketLaunch\x12;.injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch\x1a\x43.injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunchResponse\x12\xac\x01\n InstantExpiryFuturesMarketLaunch\x12?.injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch\x1aG.injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunchResponse\x12\x88\x01\n\x14\x43reateSpotLimitOrder\x12\x33.injective.exchange.v1beta1.MsgCreateSpotLimitOrder\x1a;.injective.exchange.v1beta1.MsgCreateSpotLimitOrderResponse\x12\x9a\x01\n\x1a\x42\x61tchCreateSpotLimitOrders\x12\x39.injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders\x1a\x41.injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrdersResponse\x12\x8b\x01\n\x15\x43reateSpotMarketOrder\x12\x34.injective.exchange.v1beta1.MsgCreateSpotMarketOrder\x1a<.injective.exchange.v1beta1.MsgCreateSpotMarketOrderResponse\x12y\n\x0f\x43\x61ncelSpotOrder\x12..injective.exchange.v1beta1.MsgCancelSpotOrder\x1a\x36.injective.exchange.v1beta1.MsgCancelSpotOrderResponse\x12\x8b\x01\n\x15\x42\x61tchCancelSpotOrders\x12\x34.injective.exchange.v1beta1.MsgBatchCancelSpotOrders\x1a<.injective.exchange.v1beta1.MsgBatchCancelSpotOrdersResponse\x12\x7f\n\x11\x42\x61tchUpdateOrders\x12\x30.injective.exchange.v1beta1.MsgBatchUpdateOrders\x1a\x38.injective.exchange.v1beta1.MsgBatchUpdateOrdersResponse\x12\x97\x01\n\x19PrivilegedExecuteContract\x12\x38.injective.exchange.v1beta1.MsgPrivilegedExecuteContract\x1a@.injective.exchange.v1beta1.MsgPrivilegedExecuteContractResponse\x12\x9a\x01\n\x1a\x43reateDerivativeLimitOrder\x12\x39.injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder\x1a\x41.injective.exchange.v1beta1.MsgCreateDerivativeLimitOrderResponse\x12\xac\x01\n BatchCreateDerivativeLimitOrders\x12?.injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders\x1aG.injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrdersResponse\x12\x9d\x01\n\x1b\x43reateDerivativeMarketOrder\x12:.injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder\x1a\x42.injective.exchange.v1beta1.MsgCreateDerivativeMarketOrderResponse\x12\x8b\x01\n\x15\x43\x61ncelDerivativeOrder\x12\x34.injective.exchange.v1beta1.MsgCancelDerivativeOrder\x1a<.injective.exchange.v1beta1.MsgCancelDerivativeOrderResponse\x12\x9d\x01\n\x1b\x42\x61tchCancelDerivativeOrders\x12:.injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders\x1a\x42.injective.exchange.v1beta1.MsgBatchCancelDerivativeOrdersResponse\x12\xac\x01\n InstantBinaryOptionsMarketLaunch\x12?.injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch\x1aG.injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunchResponse\x12\xa3\x01\n\x1d\x43reateBinaryOptionsLimitOrder\x12<.injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder\x1a\x44.injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrderResponse\x12\xa6\x01\n\x1e\x43reateBinaryOptionsMarketOrder\x12=.injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder\x1a\x45.injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrderResponse\x12\x94\x01\n\x18\x43\x61ncelBinaryOptionsOrder\x12\x37.injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder\x1a?.injective.exchange.v1beta1.MsgCancelBinaryOptionsOrderResponse\x12\xa6\x01\n\x1e\x42\x61tchCancelBinaryOptionsOrders\x12=.injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders\x1a\x45.injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrdersResponse\x12\x82\x01\n\x12SubaccountTransfer\x12\x31.injective.exchange.v1beta1.MsgSubaccountTransfer\x1a\x39.injective.exchange.v1beta1.MsgSubaccountTransferResponse\x12|\n\x10\x45xternalTransfer\x12/.injective.exchange.v1beta1.MsgExternalTransfer\x1a\x37.injective.exchange.v1beta1.MsgExternalTransferResponse\x12\x7f\n\x11LiquidatePosition\x12\x30.injective.exchange.v1beta1.MsgLiquidatePosition\x1a\x38.injective.exchange.v1beta1.MsgLiquidatePositionResponse\x12\x8b\x01\n\x15\x45mergencySettleMarket\x12\x34.injective.exchange.v1beta1.MsgEmergencySettleMarket\x1a<.injective.exchange.v1beta1.MsgEmergencySettleMarketResponse\x12\x8e\x01\n\x16IncreasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgIncreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgIncreasePositionMarginResponse\x12\x8e\x01\n\x16\x44\x65\x63reasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgDecreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgDecreasePositionMarginResponse\x12s\n\rRewardsOptOut\x12,.injective.exchange.v1beta1.MsgRewardsOptOut\x1a\x34.injective.exchange.v1beta1.MsgRewardsOptOutResponse\x12\xa6\x01\n\x1e\x41\x64minUpdateBinaryOptionsMarket\x12=.injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket\x1a\x45.injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarketResponse\x12p\n\x0cUpdateParams\x12+.injective.exchange.v1beta1.MsgUpdateParams\x1a\x33.injective.exchange.v1beta1.MsgUpdateParamsResponse\x12|\n\x10UpdateSpotMarket\x12/.injective.exchange.v1beta1.MsgUpdateSpotMarket\x1a\x37.injective.exchange.v1beta1.MsgUpdateSpotMarketResponse\x12\x8e\x01\n\x16UpdateDerivativeMarket\x12\x35.injective.exchange.v1beta1.MsgUpdateDerivativeMarket\x1a=.injective.exchange.v1beta1.MsgUpdateDerivativeMarketResponse\x12\x88\x01\n\x14\x41uthorizeStakeGrants\x12\x33.injective.exchange.v1beta1.MsgAuthorizeStakeGrants\x1a;.injective.exchange.v1beta1.MsgAuthorizeStakeGrantsResponse\x12\x82\x01\n\x12\x41\x63tivateStakeGrant\x12\x31.injective.exchange.v1beta1.MsgActivateStakeGrant\x1a\x39.injective.exchange.v1beta1.MsgActivateStakeGrantResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x83\x02\n\x1e\x63om.injective.exchange.v1beta1B\x07TxProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#injective/exchange/v1beta1/tx.proto\x12\x1ainjective.exchange.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a)injective/exchange/v1beta1/exchange.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\xa7\x03\n\x13MsgUpdateSpotMarket\x12\x14\n\x05\x61\x64min\x18\x01 \x01(\tR\x05\x61\x64min\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1d\n\nnew_ticker\x18\x03 \x01(\tR\tnewTicker\x12Y\n\x17new_min_price_tick_size\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13newMinPriceTickSize\x12_\n\x1anew_min_quantity_tick_size\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16newMinQuantityTickSize\x12M\n\x10new_min_notional\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0enewMinNotional:3\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1c\x65xchange/MsgUpdateSpotMarket\"\x1d\n\x1bMsgUpdateSpotMarketResponse\"\xf7\x04\n\x19MsgUpdateDerivativeMarket\x12\x14\n\x05\x61\x64min\x18\x01 \x01(\tR\x05\x61\x64min\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1d\n\nnew_ticker\x18\x03 \x01(\tR\tnewTicker\x12Y\n\x17new_min_price_tick_size\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13newMinPriceTickSize\x12_\n\x1anew_min_quantity_tick_size\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16newMinQuantityTickSize\x12M\n\x10new_min_notional\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0enewMinNotional\x12\\\n\x18new_initial_margin_ratio\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15newInitialMarginRatio\x12\x64\n\x1cnew_maintenance_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19newMaintenanceMarginRatio:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\"exchange/MsgUpdateDerivativeMarket\"#\n!MsgUpdateDerivativeMarketResponse\"\xb8\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12@\n\x06params\x18\x02 \x01(\x0b\x32\".injective.exchange.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:+\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x18\x65xchange/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xaf\x01\n\nMsgDeposit\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:+\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13\x65xchange/MsgDeposit\"\x14\n\x12MsgDepositResponse\"\xb1\x01\n\x0bMsgWithdraw\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:,\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x14\x65xchange/MsgWithdraw\"\x15\n\x13MsgWithdrawResponse\"\xae\x01\n\x17MsgCreateSpotLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00R\x05order:8\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* exchange/MsgCreateSpotLimitOrder\"\\\n\x1fMsgCreateSpotLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbc\x01\n\x1dMsgBatchCreateSpotLimitOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x43\n\x06orders\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00R\x06orders:>\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*&exchange/MsgBatchCreateSpotLimitOrders\"\xb2\x01\n%MsgBatchCreateSpotLimitOrdersResponse\x12!\n\x0corder_hashes\x18\x01 \x03(\tR\x0borderHashes\x12.\n\x13\x63reated_orders_cids\x18\x02 \x03(\tR\x11\x63reatedOrdersCids\x12,\n\x12\x66\x61iled_orders_cids\x18\x03 \x03(\tR\x10\x66\x61iledOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbf\x03\n\x1aMsgInstantSpotMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x03 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#exchange/MsgInstantSpotMarketLaunch\"$\n\"MsgInstantSpotMarketLaunchResponse\"\xb1\x07\n\x1fMsgInstantPerpetualMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x06 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x07 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12I\n\x0emaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12U\n\x14initial_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12R\n\x13min_price_tick_size\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*(exchange/MsgInstantPerpetualMarketLaunch\")\n\'MsgInstantPerpetualMarketLaunchResponse\"\x89\x07\n#MsgInstantBinaryOptionsMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x03 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x04 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x05 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x06 \x01(\rR\x11oracleScaleFactor\x12I\n\x0emaker_fee_rate\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12\x31\n\x14\x65xpiration_timestamp\x18\t \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\n \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\x0b \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\x0c \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgInstantBinaryOptionsMarketLaunch\"-\n+MsgInstantBinaryOptionsMarketLaunchResponse\"\xd1\x07\n#MsgInstantExpiryFuturesMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x16\n\x06\x65xpiry\x18\x08 \x01(\x03R\x06\x65xpiry\x12I\n\x0emaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12U\n\x14initial_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgInstantExpiryFuturesMarketLaunch\"-\n+MsgInstantExpiryFuturesMarketLaunchResponse\"\xb0\x01\n\x18MsgCreateSpotMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x00R\x05order:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgCreateSpotMarketOrder\"\xb1\x01\n MsgCreateSpotMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12R\n\x07results\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.SpotMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd5\x01\n\x16SpotMarketOrderResults\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x35\n\x03\x66\x65\x65\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbc\x01\n\x1dMsgCreateDerivativeLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order::\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*&exchange/MsgCreateDerivativeLimitOrder\"b\n%MsgCreateDerivativeLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc2\x01\n MsgCreateBinaryOptionsLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:=\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*)exchange/MsgCreateBinaryOptionsLimitOrder\"e\n(MsgCreateBinaryOptionsLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xca\x01\n#MsgBatchCreateDerivativeLimitOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12I\n\x06orders\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x06orders:@\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgBatchCreateDerivativeLimitOrders\"\xb8\x01\n+MsgBatchCreateDerivativeLimitOrdersResponse\x12!\n\x0corder_hashes\x18\x01 \x03(\tR\x0borderHashes\x12.\n\x13\x63reated_orders_cids\x18\x02 \x03(\tR\x11\x63reatedOrdersCids\x12,\n\x12\x66\x61iled_orders_cids\x18\x03 \x03(\tR\x10\x66\x61iledOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd0\x01\n\x12MsgCancelSpotOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id:/\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1b\x65xchange/MsgCancelSpotOrder\"\x1c\n\x1aMsgCancelSpotOrderResponse\"\xaa\x01\n\x18MsgBatchCancelSpotOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:5\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgBatchCancelSpotOrders\"F\n MsgBatchCancelSpotOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbc\x01\n!MsgBatchCancelBinaryOptionsOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:>\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgBatchCancelBinaryOptionsOrders\"O\n)MsgBatchCancelBinaryOptionsOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf2\x07\n\x14MsgBatchUpdateOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12?\n\x1dspot_market_ids_to_cancel_all\x18\x03 \x03(\tR\x18spotMarketIdsToCancelAll\x12K\n#derivative_market_ids_to_cancel_all\x18\x04 \x03(\tR\x1e\x64\x65rivativeMarketIdsToCancelAll\x12^\n\x15spot_orders_to_cancel\x18\x05 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x12spotOrdersToCancel\x12j\n\x1b\x64\x65rivative_orders_to_cancel\x18\x06 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x18\x64\x65rivativeOrdersToCancel\x12^\n\x15spot_orders_to_create\x18\x07 \x03(\x0b\x32%.injective.exchange.v1beta1.SpotOrderB\x04\xc8\xde\x1f\x01R\x12spotOrdersToCreate\x12p\n\x1b\x64\x65rivative_orders_to_create\x18\x08 \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x18\x64\x65rivativeOrdersToCreate\x12q\n\x1f\x62inary_options_orders_to_cancel\x18\t \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x01R\x1b\x62inaryOptionsOrdersToCancel\x12R\n\'binary_options_market_ids_to_cancel_all\x18\n \x03(\tR!binaryOptionsMarketIdsToCancelAll\x12w\n\x1f\x62inary_options_orders_to_create\x18\x0b \x03(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x1b\x62inaryOptionsOrdersToCreate:1\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x65xchange/MsgBatchUpdateOrders\"\x88\x06\n\x1cMsgBatchUpdateOrdersResponse\x12.\n\x13spot_cancel_success\x18\x01 \x03(\x08R\x11spotCancelSuccess\x12:\n\x19\x64\x65rivative_cancel_success\x18\x02 \x03(\x08R\x17\x64\x65rivativeCancelSuccess\x12*\n\x11spot_order_hashes\x18\x03 \x03(\tR\x0fspotOrderHashes\x12\x36\n\x17\x64\x65rivative_order_hashes\x18\x04 \x03(\tR\x15\x64\x65rivativeOrderHashes\x12\x41\n\x1d\x62inary_options_cancel_success\x18\x05 \x03(\x08R\x1a\x62inaryOptionsCancelSuccess\x12=\n\x1b\x62inary_options_order_hashes\x18\x06 \x03(\tR\x18\x62inaryOptionsOrderHashes\x12\x37\n\x18\x63reated_spot_orders_cids\x18\x07 \x03(\tR\x15\x63reatedSpotOrdersCids\x12\x35\n\x17\x66\x61iled_spot_orders_cids\x18\x08 \x03(\tR\x14\x66\x61iledSpotOrdersCids\x12\x43\n\x1e\x63reated_derivative_orders_cids\x18\t \x03(\tR\x1b\x63reatedDerivativeOrdersCids\x12\x41\n\x1d\x66\x61iled_derivative_orders_cids\x18\n \x03(\tR\x1a\x66\x61iledDerivativeOrdersCids\x12J\n\"created_binary_options_orders_cids\x18\x0b \x03(\tR\x1e\x63reatedBinaryOptionsOrdersCids\x12H\n!failed_binary_options_orders_cids\x18\x0c \x03(\tR\x1d\x66\x61iledBinaryOptionsOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbe\x01\n\x1eMsgCreateDerivativeMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:;\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgCreateDerivativeMarketOrder\"\xbd\x01\n&MsgCreateDerivativeMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12X\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xf0\x02\n\x1c\x44\x65rivativeMarketOrderResults\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x35\n\x03\x66\x65\x65\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12V\n\x0eposition_delta\x18\x04 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaB\x04\xc8\xde\x1f\x00R\rpositionDelta\x12;\n\x06payout\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc4\x01\n!MsgCreateBinaryOptionsMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:>\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgCreateBinaryOptionsMarketOrder\"\xc0\x01\n)MsgCreateBinaryOptionsMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12X\n\x07results\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v1beta1.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xfb\x01\n\x18MsgCancelDerivativeOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x05 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id:5\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgCancelDerivativeOrder\"\"\n MsgCancelDerivativeOrderResponse\"\x81\x02\n\x1bMsgCancelBinaryOptionsOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x05 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id:8\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*$exchange/MsgCancelBinaryOptionsOrder\"%\n#MsgCancelBinaryOptionsOrderResponse\"\x9d\x01\n\tOrderData\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x04 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id\"\xb6\x01\n\x1eMsgBatchCancelDerivativeOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12?\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32%.injective.exchange.v1beta1.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:;\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgBatchCancelDerivativeOrders\"L\n&MsgBatchCancelDerivativeOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x86\x02\n\x15MsgSubaccountTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x37\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgSubaccountTransfer\"\x1f\n\x1dMsgSubaccountTransferResponse\"\x82\x02\n\x13MsgExternalTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x37\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1c\x65xchange/MsgExternalTransfer\"\x1d\n\x1bMsgExternalTransferResponse\"\xe8\x01\n\x14MsgLiquidatePosition\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12G\n\x05order\x18\x04 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x05order:-\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x65xchange/MsgLiquidatePosition\"\x1e\n\x1cMsgLiquidatePositionResponse\"\xa7\x01\n\x18MsgEmergencySettleMarket\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId:1\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgEmergencySettleMarket\"\"\n MsgEmergencySettleMarketResponse\"\xaf\x02\n\x19MsgIncreasePositionMargin\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\x12;\n\x06\x61mount\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount:2\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\"exchange/MsgIncreasePositionMargin\"#\n!MsgIncreasePositionMarginResponse\"\xaf\x02\n\x19MsgDecreasePositionMargin\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\x12;\n\x06\x61mount\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount:2\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\"exchange/MsgDecreasePositionMargin\"#\n!MsgDecreasePositionMarginResponse\"\xca\x01\n\x1cMsgPrivilegedExecuteContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x14\n\x05\x66unds\x18\x02 \x01(\tR\x05\x66unds\x12)\n\x10\x63ontract_address\x18\x03 \x01(\tR\x0f\x63ontractAddress\x12\x12\n\x04\x64\x61ta\x18\x04 \x01(\tR\x04\x64\x61ta:=\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*%exchange/MsgPrivilegedExecuteContract\"\xa7\x01\n$MsgPrivilegedExecuteContractResponse\x12j\n\nfunds_diff\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\tfundsDiff:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"]\n\x10MsgRewardsOptOut\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19\x65xchange/MsgRewardsOptOut\"\x1a\n\x18MsgRewardsOptOutResponse\"\xaf\x01\n\x15MsgReclaimLockedFunds\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x13lockedAccountPubKey\x18\x02 \x01(\x0cR\x13lockedAccountPubKey\x12\x1c\n\tsignature\x18\x03 \x01(\x0cR\tsignature:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgReclaimLockedFunds\"\x1f\n\x1dMsgReclaimLockedFundsResponse\"\x80\x01\n\x0bMsgSignData\x12S\n\x06Signer\x18\x01 \x01(\x0c\x42;\xea\xde\x1f\x06signer\xfa\xde\x1f-github.com/cosmos/cosmos-sdk/types.AccAddressR\x06Signer\x12\x1c\n\x04\x44\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61taR\x04\x44\x61ta\"x\n\nMsgSignDoc\x12%\n\tsign_type\x18\x01 \x01(\tB\x08\xea\xde\x1f\x04typeR\x08signType\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\'.injective.exchange.v1beta1.MsgSignDataB\x04\xc8\xde\x1f\x00R\x05value\"\x8c\x03\n!MsgAdminUpdateBinaryOptionsMarket\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x31\n\x14\x65xpiration_timestamp\x18\x04 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\x05 \x01(\x03R\x13settlementTimestamp\x12@\n\x06status\x18\x06 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatusR\x06status::\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgAdminUpdateBinaryOptionsMarket\"+\n)MsgAdminUpdateBinaryOptionsMarketResponse\"\xab\x01\n\x17MsgAuthorizeStakeGrants\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants:0\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* exchange/MsgAuthorizeStakeGrants\"!\n\x1fMsgAuthorizeStakeGrantsResponse\"y\n\x15MsgActivateStakeGrant\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgActivateStakeGrant\"\x1f\n\x1dMsgActivateStakeGrantResponse2\xd0\'\n\x03Msg\x12\x61\n\x07\x44\x65posit\x12&.injective.exchange.v1beta1.MsgDeposit\x1a..injective.exchange.v1beta1.MsgDepositResponse\x12\x64\n\x08Withdraw\x12\'.injective.exchange.v1beta1.MsgWithdraw\x1a/.injective.exchange.v1beta1.MsgWithdrawResponse\x12\x91\x01\n\x17InstantSpotMarketLaunch\x12\x36.injective.exchange.v1beta1.MsgInstantSpotMarketLaunch\x1a>.injective.exchange.v1beta1.MsgInstantSpotMarketLaunchResponse\x12\xa0\x01\n\x1cInstantPerpetualMarketLaunch\x12;.injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch\x1a\x43.injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunchResponse\x12\xac\x01\n InstantExpiryFuturesMarketLaunch\x12?.injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch\x1aG.injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunchResponse\x12\x88\x01\n\x14\x43reateSpotLimitOrder\x12\x33.injective.exchange.v1beta1.MsgCreateSpotLimitOrder\x1a;.injective.exchange.v1beta1.MsgCreateSpotLimitOrderResponse\x12\x9a\x01\n\x1a\x42\x61tchCreateSpotLimitOrders\x12\x39.injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders\x1a\x41.injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrdersResponse\x12\x8b\x01\n\x15\x43reateSpotMarketOrder\x12\x34.injective.exchange.v1beta1.MsgCreateSpotMarketOrder\x1a<.injective.exchange.v1beta1.MsgCreateSpotMarketOrderResponse\x12y\n\x0f\x43\x61ncelSpotOrder\x12..injective.exchange.v1beta1.MsgCancelSpotOrder\x1a\x36.injective.exchange.v1beta1.MsgCancelSpotOrderResponse\x12\x8b\x01\n\x15\x42\x61tchCancelSpotOrders\x12\x34.injective.exchange.v1beta1.MsgBatchCancelSpotOrders\x1a<.injective.exchange.v1beta1.MsgBatchCancelSpotOrdersResponse\x12\x7f\n\x11\x42\x61tchUpdateOrders\x12\x30.injective.exchange.v1beta1.MsgBatchUpdateOrders\x1a\x38.injective.exchange.v1beta1.MsgBatchUpdateOrdersResponse\x12\x97\x01\n\x19PrivilegedExecuteContract\x12\x38.injective.exchange.v1beta1.MsgPrivilegedExecuteContract\x1a@.injective.exchange.v1beta1.MsgPrivilegedExecuteContractResponse\x12\x9a\x01\n\x1a\x43reateDerivativeLimitOrder\x12\x39.injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder\x1a\x41.injective.exchange.v1beta1.MsgCreateDerivativeLimitOrderResponse\x12\xac\x01\n BatchCreateDerivativeLimitOrders\x12?.injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders\x1aG.injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrdersResponse\x12\x9d\x01\n\x1b\x43reateDerivativeMarketOrder\x12:.injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder\x1a\x42.injective.exchange.v1beta1.MsgCreateDerivativeMarketOrderResponse\x12\x8b\x01\n\x15\x43\x61ncelDerivativeOrder\x12\x34.injective.exchange.v1beta1.MsgCancelDerivativeOrder\x1a<.injective.exchange.v1beta1.MsgCancelDerivativeOrderResponse\x12\x9d\x01\n\x1b\x42\x61tchCancelDerivativeOrders\x12:.injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders\x1a\x42.injective.exchange.v1beta1.MsgBatchCancelDerivativeOrdersResponse\x12\xac\x01\n InstantBinaryOptionsMarketLaunch\x12?.injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch\x1aG.injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunchResponse\x12\xa3\x01\n\x1d\x43reateBinaryOptionsLimitOrder\x12<.injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder\x1a\x44.injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrderResponse\x12\xa6\x01\n\x1e\x43reateBinaryOptionsMarketOrder\x12=.injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder\x1a\x45.injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrderResponse\x12\x94\x01\n\x18\x43\x61ncelBinaryOptionsOrder\x12\x37.injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder\x1a?.injective.exchange.v1beta1.MsgCancelBinaryOptionsOrderResponse\x12\xa6\x01\n\x1e\x42\x61tchCancelBinaryOptionsOrders\x12=.injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders\x1a\x45.injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrdersResponse\x12\x82\x01\n\x12SubaccountTransfer\x12\x31.injective.exchange.v1beta1.MsgSubaccountTransfer\x1a\x39.injective.exchange.v1beta1.MsgSubaccountTransferResponse\x12|\n\x10\x45xternalTransfer\x12/.injective.exchange.v1beta1.MsgExternalTransfer\x1a\x37.injective.exchange.v1beta1.MsgExternalTransferResponse\x12\x7f\n\x11LiquidatePosition\x12\x30.injective.exchange.v1beta1.MsgLiquidatePosition\x1a\x38.injective.exchange.v1beta1.MsgLiquidatePositionResponse\x12\x8b\x01\n\x15\x45mergencySettleMarket\x12\x34.injective.exchange.v1beta1.MsgEmergencySettleMarket\x1a<.injective.exchange.v1beta1.MsgEmergencySettleMarketResponse\x12\x8e\x01\n\x16IncreasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgIncreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgIncreasePositionMarginResponse\x12\x8e\x01\n\x16\x44\x65\x63reasePositionMargin\x12\x35.injective.exchange.v1beta1.MsgDecreasePositionMargin\x1a=.injective.exchange.v1beta1.MsgDecreasePositionMarginResponse\x12s\n\rRewardsOptOut\x12,.injective.exchange.v1beta1.MsgRewardsOptOut\x1a\x34.injective.exchange.v1beta1.MsgRewardsOptOutResponse\x12\xa6\x01\n\x1e\x41\x64minUpdateBinaryOptionsMarket\x12=.injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket\x1a\x45.injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarketResponse\x12p\n\x0cUpdateParams\x12+.injective.exchange.v1beta1.MsgUpdateParams\x1a\x33.injective.exchange.v1beta1.MsgUpdateParamsResponse\x12|\n\x10UpdateSpotMarket\x12/.injective.exchange.v1beta1.MsgUpdateSpotMarket\x1a\x37.injective.exchange.v1beta1.MsgUpdateSpotMarketResponse\x12\x8e\x01\n\x16UpdateDerivativeMarket\x12\x35.injective.exchange.v1beta1.MsgUpdateDerivativeMarket\x1a=.injective.exchange.v1beta1.MsgUpdateDerivativeMarketResponse\x12\x88\x01\n\x14\x41uthorizeStakeGrants\x12\x33.injective.exchange.v1beta1.MsgAuthorizeStakeGrants\x1a;.injective.exchange.v1beta1.MsgAuthorizeStakeGrantsResponse\x12\x82\x01\n\x12\x41\x63tivateStakeGrant\x12\x31.injective.exchange.v1beta1.MsgActivateStakeGrant\x1a\x39.injective.exchange.v1beta1.MsgActivateStakeGrantResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x83\x02\n\x1e\x63om.injective.exchange.v1beta1B\x07TxProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.exchange.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.exchange.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\036com.injective.exchange.v1beta1B\007TxProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1" - ) - _globals["_MSGUPDATESPOTMARKET"].fields_by_name["new_min_price_tick_size"]._loaded_options = None - _globals["_MSGUPDATESPOTMARKET"].fields_by_name[ - "new_min_price_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGUPDATESPOTMARKET"].fields_by_name["new_min_quantity_tick_size"]._loaded_options = None - _globals["_MSGUPDATESPOTMARKET"].fields_by_name[ - "new_min_quantity_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGUPDATESPOTMARKET"].fields_by_name["new_min_notional"]._loaded_options = None - _globals["_MSGUPDATESPOTMARKET"].fields_by_name[ - "new_min_notional" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGUPDATESPOTMARKET"]._loaded_options = None - _globals["_MSGUPDATESPOTMARKET"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\005admin\212\347\260*\034exchange/MsgUpdateSpotMarket" - ) - _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name["new_min_price_tick_size"]._loaded_options = None - _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name[ - "new_min_price_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name["new_min_quantity_tick_size"]._loaded_options = None - _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name[ - "new_min_quantity_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name["new_min_notional"]._loaded_options = None - _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name[ - "new_min_notional" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name["new_initial_margin_ratio"]._loaded_options = None - _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name[ - "new_initial_margin_ratio" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name["new_maintenance_margin_ratio"]._loaded_options = None - _globals["_MSGUPDATEDERIVATIVEMARKET"].fields_by_name[ - "new_maintenance_margin_ratio" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGUPDATEDERIVATIVEMARKET"]._loaded_options = None - _globals["_MSGUPDATEDERIVATIVEMARKET"]._serialized_options = ( - b'\210\240\037\000\350\240\037\000\202\347\260*\005admin\212\347\260*"exchange/MsgUpdateDerivativeMarket' - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*\030exchange/MsgUpdateParams" - ) - _globals["_MSGDEPOSIT"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGDEPOSIT"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" - _globals["_MSGDEPOSIT"]._loaded_options = None - _globals["_MSGDEPOSIT"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\023exchange/MsgDeposit" - ) - _globals["_MSGWITHDRAW"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGWITHDRAW"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" - _globals["_MSGWITHDRAW"]._loaded_options = None - _globals["_MSGWITHDRAW"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\024exchange/MsgWithdraw" - ) - _globals["_MSGCREATESPOTLIMITORDER"].fields_by_name["order"]._loaded_options = None - _globals["_MSGCREATESPOTLIMITORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCREATESPOTLIMITORDER"]._loaded_options = None - _globals["_MSGCREATESPOTLIMITORDER"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260* exchange/MsgCreateSpotLimitOrder" - ) - _globals["_MSGCREATESPOTLIMITORDERRESPONSE"]._loaded_options = None - _globals["_MSGCREATESPOTLIMITORDERRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_MSGBATCHCREATESPOTLIMITORDERS"].fields_by_name["orders"]._loaded_options = None - _globals["_MSGBATCHCREATESPOTLIMITORDERS"].fields_by_name["orders"]._serialized_options = b"\310\336\037\000" - _globals["_MSGBATCHCREATESPOTLIMITORDERS"]._loaded_options = None - _globals["_MSGBATCHCREATESPOTLIMITORDERS"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*&exchange/MsgBatchCreateSpotLimitOrders" - ) - _globals["_MSGBATCHCREATESPOTLIMITORDERSRESPONSE"]._loaded_options = None - _globals["_MSGBATCHCREATESPOTLIMITORDERSRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_MSGINSTANTSPOTMARKETLAUNCH"].fields_by_name["min_price_tick_size"]._loaded_options = None - _globals["_MSGINSTANTSPOTMARKETLAUNCH"].fields_by_name[ - "min_price_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTSPOTMARKETLAUNCH"].fields_by_name["min_quantity_tick_size"]._loaded_options = None - _globals["_MSGINSTANTSPOTMARKETLAUNCH"].fields_by_name[ - "min_quantity_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTSPOTMARKETLAUNCH"].fields_by_name["min_notional"]._loaded_options = None - _globals["_MSGINSTANTSPOTMARKETLAUNCH"].fields_by_name[ - "min_notional" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTSPOTMARKETLAUNCH"]._loaded_options = None - _globals["_MSGINSTANTSPOTMARKETLAUNCH"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*#exchange/MsgInstantSpotMarketLaunch" - ) - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name["maker_fee_rate"]._loaded_options = None - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name[ - "maker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name["taker_fee_rate"]._loaded_options = None - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name[ - "taker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name["initial_margin_ratio"]._loaded_options = None - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name[ - "initial_margin_ratio" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name["maintenance_margin_ratio"]._loaded_options = None - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name[ - "maintenance_margin_ratio" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name["min_price_tick_size"]._loaded_options = None - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name[ - "min_price_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name["min_quantity_tick_size"]._loaded_options = None - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name[ - "min_quantity_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name["min_notional"]._loaded_options = None - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"].fields_by_name[ - "min_notional" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"]._loaded_options = None - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*(exchange/MsgInstantPerpetualMarketLaunch" - ) - _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name["maker_fee_rate"]._loaded_options = None - _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name[ - "maker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name["taker_fee_rate"]._loaded_options = None - _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name[ - "taker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name["min_price_tick_size"]._loaded_options = None - _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name[ - "min_price_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name["min_quantity_tick_size"]._loaded_options = None - _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name[ - "min_quantity_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name["min_notional"]._loaded_options = None - _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"].fields_by_name[ - "min_notional" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"]._loaded_options = None - _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgInstantBinaryOptionsMarketLaunch" - ) - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name["maker_fee_rate"]._loaded_options = None - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name[ - "maker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name["taker_fee_rate"]._loaded_options = None - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name[ - "taker_fee_rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name["initial_margin_ratio"]._loaded_options = None - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name[ - "initial_margin_ratio" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name["maintenance_margin_ratio"]._loaded_options = None - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name[ - "maintenance_margin_ratio" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name["min_price_tick_size"]._loaded_options = None - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name[ - "min_price_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name["min_quantity_tick_size"]._loaded_options = None - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name[ - "min_quantity_tick_size" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name["min_notional"]._loaded_options = None - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"].fields_by_name[ - "min_notional" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"]._loaded_options = None - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgInstantExpiryFuturesMarketLaunch" - ) - _globals["_MSGCREATESPOTMARKETORDER"].fields_by_name["order"]._loaded_options = None - _globals["_MSGCREATESPOTMARKETORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCREATESPOTMARKETORDER"]._loaded_options = None - _globals["_MSGCREATESPOTMARKETORDER"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgCreateSpotMarketOrder" - ) - _globals["_MSGCREATESPOTMARKETORDERRESPONSE"].fields_by_name["results"]._loaded_options = None - _globals["_MSGCREATESPOTMARKETORDERRESPONSE"].fields_by_name["results"]._serialized_options = b"\310\336\037\001" - _globals["_MSGCREATESPOTMARKETORDERRESPONSE"]._loaded_options = None - _globals["_MSGCREATESPOTMARKETORDERRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_SPOTMARKETORDERRESULTS"].fields_by_name["quantity"]._loaded_options = None - _globals["_SPOTMARKETORDERRESULTS"].fields_by_name[ - "quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKETORDERRESULTS"].fields_by_name["price"]._loaded_options = None - _globals["_SPOTMARKETORDERRESULTS"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKETORDERRESULTS"].fields_by_name["fee"]._loaded_options = None - _globals["_SPOTMARKETORDERRESULTS"].fields_by_name[ - "fee" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTMARKETORDERRESULTS"]._loaded_options = None - _globals["_SPOTMARKETORDERRESULTS"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_MSGCREATEDERIVATIVELIMITORDER"].fields_by_name["order"]._loaded_options = None - _globals["_MSGCREATEDERIVATIVELIMITORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCREATEDERIVATIVELIMITORDER"]._loaded_options = None - _globals["_MSGCREATEDERIVATIVELIMITORDER"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\006sender\212\347\260*&exchange/MsgCreateDerivativeLimitOrder" - ) - _globals["_MSGCREATEDERIVATIVELIMITORDERRESPONSE"]._loaded_options = None - _globals["_MSGCREATEDERIVATIVELIMITORDERRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_MSGCREATEBINARYOPTIONSLIMITORDER"].fields_by_name["order"]._loaded_options = None - _globals["_MSGCREATEBINARYOPTIONSLIMITORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCREATEBINARYOPTIONSLIMITORDER"]._loaded_options = None - _globals["_MSGCREATEBINARYOPTIONSLIMITORDER"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\006sender\212\347\260*)exchange/MsgCreateBinaryOptionsLimitOrder" - ) - _globals["_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE"]._loaded_options = None - _globals["_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERS"].fields_by_name["orders"]._loaded_options = None - _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERS"].fields_by_name["orders"]._serialized_options = b"\310\336\037\000" - _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERS"]._loaded_options = None - _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERS"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgBatchCreateDerivativeLimitOrders" - ) - _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE"]._loaded_options = None - _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_MSGCANCELSPOTORDER"]._loaded_options = None - _globals["_MSGCANCELSPOTORDER"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\006sender\212\347\260*\033exchange/MsgCancelSpotOrder" - ) - _globals["_MSGBATCHCANCELSPOTORDERS"].fields_by_name["data"]._loaded_options = None - _globals["_MSGBATCHCANCELSPOTORDERS"].fields_by_name["data"]._serialized_options = b"\310\336\037\000" - _globals["_MSGBATCHCANCELSPOTORDERS"]._loaded_options = None - _globals["_MSGBATCHCANCELSPOTORDERS"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgBatchCancelSpotOrders" - ) - _globals["_MSGBATCHCANCELSPOTORDERSRESPONSE"]._loaded_options = None - _globals["_MSGBATCHCANCELSPOTORDERSRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_MSGBATCHCANCELBINARYOPTIONSORDERS"].fields_by_name["data"]._loaded_options = None - _globals["_MSGBATCHCANCELBINARYOPTIONSORDERS"].fields_by_name["data"]._serialized_options = b"\310\336\037\000" - _globals["_MSGBATCHCANCELBINARYOPTIONSORDERS"]._loaded_options = None - _globals["_MSGBATCHCANCELBINARYOPTIONSORDERS"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\006sender\212\347\260**exchange/MsgBatchCancelBinaryOptionsOrders" - ) - _globals["_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE"]._loaded_options = None - _globals["_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_MSGBATCHUPDATEORDERS"].fields_by_name["spot_orders_to_cancel"]._loaded_options = None - _globals["_MSGBATCHUPDATEORDERS"].fields_by_name["spot_orders_to_cancel"]._serialized_options = b"\310\336\037\001" - _globals["_MSGBATCHUPDATEORDERS"].fields_by_name["derivative_orders_to_cancel"]._loaded_options = None - _globals["_MSGBATCHUPDATEORDERS"].fields_by_name[ - "derivative_orders_to_cancel" - ]._serialized_options = b"\310\336\037\001" - _globals["_MSGBATCHUPDATEORDERS"].fields_by_name["spot_orders_to_create"]._loaded_options = None - _globals["_MSGBATCHUPDATEORDERS"].fields_by_name["spot_orders_to_create"]._serialized_options = b"\310\336\037\001" - _globals["_MSGBATCHUPDATEORDERS"].fields_by_name["derivative_orders_to_create"]._loaded_options = None - _globals["_MSGBATCHUPDATEORDERS"].fields_by_name[ - "derivative_orders_to_create" - ]._serialized_options = b"\310\336\037\001" - _globals["_MSGBATCHUPDATEORDERS"].fields_by_name["binary_options_orders_to_cancel"]._loaded_options = None - _globals["_MSGBATCHUPDATEORDERS"].fields_by_name[ - "binary_options_orders_to_cancel" - ]._serialized_options = b"\310\336\037\001" - _globals["_MSGBATCHUPDATEORDERS"].fields_by_name["binary_options_orders_to_create"]._loaded_options = None - _globals["_MSGBATCHUPDATEORDERS"].fields_by_name[ - "binary_options_orders_to_create" - ]._serialized_options = b"\310\336\037\001" - _globals["_MSGBATCHUPDATEORDERS"]._loaded_options = None - _globals["_MSGBATCHUPDATEORDERS"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\006sender\212\347\260*\035exchange/MsgBatchUpdateOrders" - ) - _globals["_MSGBATCHUPDATEORDERSRESPONSE"]._loaded_options = None - _globals["_MSGBATCHUPDATEORDERSRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_MSGCREATEDERIVATIVEMARKETORDER"].fields_by_name["order"]._loaded_options = None - _globals["_MSGCREATEDERIVATIVEMARKETORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCREATEDERIVATIVEMARKETORDER"]._loaded_options = None - _globals["_MSGCREATEDERIVATIVEMARKETORDER"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\006sender\212\347\260*'exchange/MsgCreateDerivativeMarketOrder" - ) - _globals["_MSGCREATEDERIVATIVEMARKETORDERRESPONSE"].fields_by_name["results"]._loaded_options = None - _globals["_MSGCREATEDERIVATIVEMARKETORDERRESPONSE"].fields_by_name[ - "results" - ]._serialized_options = b"\310\336\037\001" - _globals["_MSGCREATEDERIVATIVEMARKETORDERRESPONSE"]._loaded_options = None - _globals["_MSGCREATEDERIVATIVEMARKETORDERRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name["quantity"]._loaded_options = None - _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name[ - "quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name["price"]._loaded_options = None - _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name["fee"]._loaded_options = None - _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name[ - "fee" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name["position_delta"]._loaded_options = None - _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name["position_delta"]._serialized_options = b"\310\336\037\000" - _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name["payout"]._loaded_options = None - _globals["_DERIVATIVEMARKETORDERRESULTS"].fields_by_name[ - "payout" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVEMARKETORDERRESULTS"]._loaded_options = None - _globals["_DERIVATIVEMARKETORDERRESULTS"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_MSGCREATEBINARYOPTIONSMARKETORDER"].fields_by_name["order"]._loaded_options = None - _globals["_MSGCREATEBINARYOPTIONSMARKETORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCREATEBINARYOPTIONSMARKETORDER"]._loaded_options = None - _globals["_MSGCREATEBINARYOPTIONSMARKETORDER"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\006sender\212\347\260**exchange/MsgCreateBinaryOptionsMarketOrder" - ) - _globals["_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE"].fields_by_name["results"]._loaded_options = None - _globals["_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE"].fields_by_name[ - "results" - ]._serialized_options = b"\310\336\037\001" - _globals["_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE"]._loaded_options = None - _globals["_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_MSGCANCELDERIVATIVEORDER"]._loaded_options = None - _globals["_MSGCANCELDERIVATIVEORDER"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgCancelDerivativeOrder" - ) - _globals["_MSGCANCELBINARYOPTIONSORDER"]._loaded_options = None - _globals["_MSGCANCELBINARYOPTIONSORDER"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\006sender\212\347\260*$exchange/MsgCancelBinaryOptionsOrder" - ) - _globals["_MSGBATCHCANCELDERIVATIVEORDERS"].fields_by_name["data"]._loaded_options = None - _globals["_MSGBATCHCANCELDERIVATIVEORDERS"].fields_by_name["data"]._serialized_options = b"\310\336\037\000" - _globals["_MSGBATCHCANCELDERIVATIVEORDERS"]._loaded_options = None - _globals["_MSGBATCHCANCELDERIVATIVEORDERS"]._serialized_options = ( - b"\210\240\037\000\202\347\260*\006sender\212\347\260*'exchange/MsgBatchCancelDerivativeOrders" - ) - _globals["_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE"]._loaded_options = None - _globals["_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE"]._serialized_options = b"\210\240\037\000\350\240\037\000" - _globals["_MSGSUBACCOUNTTRANSFER"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGSUBACCOUNTTRANSFER"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" - _globals["_MSGSUBACCOUNTTRANSFER"]._loaded_options = None - _globals["_MSGSUBACCOUNTTRANSFER"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\036exchange/MsgSubaccountTransfer" - ) - _globals["_MSGEXTERNALTRANSFER"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGEXTERNALTRANSFER"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" - _globals["_MSGEXTERNALTRANSFER"]._loaded_options = None - _globals["_MSGEXTERNALTRANSFER"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\034exchange/MsgExternalTransfer" - ) - _globals["_MSGLIQUIDATEPOSITION"].fields_by_name["order"]._loaded_options = None - _globals["_MSGLIQUIDATEPOSITION"].fields_by_name["order"]._serialized_options = b"\310\336\037\001" - _globals["_MSGLIQUIDATEPOSITION"]._loaded_options = None - _globals["_MSGLIQUIDATEPOSITION"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\035exchange/MsgLiquidatePosition" - ) - _globals["_MSGEMERGENCYSETTLEMARKET"]._loaded_options = None - _globals["_MSGEMERGENCYSETTLEMARKET"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*!exchange/MsgEmergencySettleMarket" - ) - _globals["_MSGINCREASEPOSITIONMARGIN"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGINCREASEPOSITIONMARGIN"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGINCREASEPOSITIONMARGIN"]._loaded_options = None - _globals["_MSGINCREASEPOSITIONMARGIN"]._serialized_options = ( - b'\202\347\260*\006sender\212\347\260*"exchange/MsgIncreasePositionMargin' - ) - _globals["_MSGDECREASEPOSITIONMARGIN"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGDECREASEPOSITIONMARGIN"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGDECREASEPOSITIONMARGIN"]._loaded_options = None - _globals["_MSGDECREASEPOSITIONMARGIN"]._serialized_options = ( - b'\202\347\260*\006sender\212\347\260*"exchange/MsgDecreasePositionMargin' - ) - _globals["_MSGPRIVILEGEDEXECUTECONTRACT"]._loaded_options = None - _globals["_MSGPRIVILEGEDEXECUTECONTRACT"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*%exchange/MsgPrivilegedExecuteContract" - ) - _globals["_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE"].fields_by_name["funds_diff"]._loaded_options = None - _globals["_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE"].fields_by_name[ - "funds_diff" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" - _globals["_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE"]._loaded_options = None - _globals["_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender" - ) - _globals["_MSGREWARDSOPTOUT"]._loaded_options = None - _globals["_MSGREWARDSOPTOUT"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\031exchange/MsgRewardsOptOut" - ) - _globals["_MSGRECLAIMLOCKEDFUNDS"]._loaded_options = None - _globals["_MSGRECLAIMLOCKEDFUNDS"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\036exchange/MsgReclaimLockedFunds" - ) - _globals["_MSGSIGNDATA"].fields_by_name["Signer"]._loaded_options = None - _globals["_MSGSIGNDATA"].fields_by_name[ - "Signer" - ]._serialized_options = b"\352\336\037\006signer\372\336\037-github.com/cosmos/cosmos-sdk/types.AccAddress" - _globals["_MSGSIGNDATA"].fields_by_name["Data"]._loaded_options = None - _globals["_MSGSIGNDATA"].fields_by_name["Data"]._serialized_options = b"\352\336\037\004data" - _globals["_MSGSIGNDOC"].fields_by_name["sign_type"]._loaded_options = None - _globals["_MSGSIGNDOC"].fields_by_name["sign_type"]._serialized_options = b"\352\336\037\004type" - _globals["_MSGSIGNDOC"].fields_by_name["value"]._loaded_options = None - _globals["_MSGSIGNDOC"].fields_by_name["value"]._serialized_options = b"\310\336\037\000" - _globals["_MSGADMINUPDATEBINARYOPTIONSMARKET"].fields_by_name["settlement_price"]._loaded_options = None - _globals["_MSGADMINUPDATEBINARYOPTIONSMARKET"].fields_by_name[ - "settlement_price" - ]._serialized_options = b"\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGADMINUPDATEBINARYOPTIONSMARKET"]._loaded_options = None - _globals["_MSGADMINUPDATEBINARYOPTIONSMARKET"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260**exchange/MsgAdminUpdateBinaryOptionsMarket" - ) - _globals["_MSGAUTHORIZESTAKEGRANTS"]._loaded_options = None - _globals["_MSGAUTHORIZESTAKEGRANTS"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260* exchange/MsgAuthorizeStakeGrants" - ) - _globals["_MSGACTIVATESTAKEGRANT"]._loaded_options = None - _globals["_MSGACTIVATESTAKEGRANT"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\036exchange/MsgActivateStakeGrant" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGUPDATESPOTMARKET"]._serialized_start = 323 - _globals["_MSGUPDATESPOTMARKET"]._serialized_end = 746 - _globals["_MSGUPDATESPOTMARKETRESPONSE"]._serialized_start = 748 - _globals["_MSGUPDATESPOTMARKETRESPONSE"]._serialized_end = 777 - _globals["_MSGUPDATEDERIVATIVEMARKET"]._serialized_start = 780 - _globals["_MSGUPDATEDERIVATIVEMARKET"]._serialized_end = 1411 - _globals["_MSGUPDATEDERIVATIVEMARKETRESPONSE"]._serialized_start = 1413 - _globals["_MSGUPDATEDERIVATIVEMARKETRESPONSE"]._serialized_end = 1448 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 1451 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 1635 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1637 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1662 - _globals["_MSGDEPOSIT"]._serialized_start = 1665 - _globals["_MSGDEPOSIT"]._serialized_end = 1840 - _globals["_MSGDEPOSITRESPONSE"]._serialized_start = 1842 - _globals["_MSGDEPOSITRESPONSE"]._serialized_end = 1862 - _globals["_MSGWITHDRAW"]._serialized_start = 1865 - _globals["_MSGWITHDRAW"]._serialized_end = 2042 - _globals["_MSGWITHDRAWRESPONSE"]._serialized_start = 2044 - _globals["_MSGWITHDRAWRESPONSE"]._serialized_end = 2065 - _globals["_MSGCREATESPOTLIMITORDER"]._serialized_start = 2068 - _globals["_MSGCREATESPOTLIMITORDER"]._serialized_end = 2242 - _globals["_MSGCREATESPOTLIMITORDERRESPONSE"]._serialized_start = 2244 - _globals["_MSGCREATESPOTLIMITORDERRESPONSE"]._serialized_end = 2336 - _globals["_MSGBATCHCREATESPOTLIMITORDERS"]._serialized_start = 2339 - _globals["_MSGBATCHCREATESPOTLIMITORDERS"]._serialized_end = 2527 - _globals["_MSGBATCHCREATESPOTLIMITORDERSRESPONSE"]._serialized_start = 2530 - _globals["_MSGBATCHCREATESPOTLIMITORDERSRESPONSE"]._serialized_end = 2708 - _globals["_MSGINSTANTSPOTMARKETLAUNCH"]._serialized_start = 2711 - _globals["_MSGINSTANTSPOTMARKETLAUNCH"]._serialized_end = 3158 - _globals["_MSGINSTANTSPOTMARKETLAUNCHRESPONSE"]._serialized_start = 3160 - _globals["_MSGINSTANTSPOTMARKETLAUNCHRESPONSE"]._serialized_end = 3196 - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"]._serialized_start = 3199 - _globals["_MSGINSTANTPERPETUALMARKETLAUNCH"]._serialized_end = 4144 - _globals["_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE"]._serialized_start = 4146 - _globals["_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE"]._serialized_end = 4187 - _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"]._serialized_start = 4190 - _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCH"]._serialized_end = 5095 - _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE"]._serialized_start = 5097 - _globals["_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE"]._serialized_end = 5142 - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"]._serialized_start = 5145 - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH"]._serialized_end = 6122 - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE"]._serialized_start = 6124 - _globals["_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE"]._serialized_end = 6169 - _globals["_MSGCREATESPOTMARKETORDER"]._serialized_start = 6172 - _globals["_MSGCREATESPOTMARKETORDER"]._serialized_end = 6348 - _globals["_MSGCREATESPOTMARKETORDERRESPONSE"]._serialized_start = 6351 - _globals["_MSGCREATESPOTMARKETORDERRESPONSE"]._serialized_end = 6528 - _globals["_SPOTMARKETORDERRESULTS"]._serialized_start = 6531 - _globals["_SPOTMARKETORDERRESULTS"]._serialized_end = 6744 - _globals["_MSGCREATEDERIVATIVELIMITORDER"]._serialized_start = 6747 - _globals["_MSGCREATEDERIVATIVELIMITORDER"]._serialized_end = 6935 - _globals["_MSGCREATEDERIVATIVELIMITORDERRESPONSE"]._serialized_start = 6937 - _globals["_MSGCREATEDERIVATIVELIMITORDERRESPONSE"]._serialized_end = 7035 - _globals["_MSGCREATEBINARYOPTIONSLIMITORDER"]._serialized_start = 7038 - _globals["_MSGCREATEBINARYOPTIONSLIMITORDER"]._serialized_end = 7232 - _globals["_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE"]._serialized_start = 7234 - _globals["_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE"]._serialized_end = 7335 - _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERS"]._serialized_start = 7338 - _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERS"]._serialized_end = 7540 - _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE"]._serialized_start = 7543 - _globals["_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE"]._serialized_end = 7727 - _globals["_MSGCANCELSPOTORDER"]._serialized_start = 7730 - _globals["_MSGCANCELSPOTORDER"]._serialized_end = 7938 - _globals["_MSGCANCELSPOTORDERRESPONSE"]._serialized_start = 7940 - _globals["_MSGCANCELSPOTORDERRESPONSE"]._serialized_end = 7968 - _globals["_MSGBATCHCANCELSPOTORDERS"]._serialized_start = 7971 - _globals["_MSGBATCHCANCELSPOTORDERS"]._serialized_end = 8141 - _globals["_MSGBATCHCANCELSPOTORDERSRESPONSE"]._serialized_start = 8143 - _globals["_MSGBATCHCANCELSPOTORDERSRESPONSE"]._serialized_end = 8213 - _globals["_MSGBATCHCANCELBINARYOPTIONSORDERS"]._serialized_start = 8216 - _globals["_MSGBATCHCANCELBINARYOPTIONSORDERS"]._serialized_end = 8404 - _globals["_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE"]._serialized_start = 8406 - _globals["_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE"]._serialized_end = 8485 - _globals["_MSGBATCHUPDATEORDERS"]._serialized_start = 8488 - _globals["_MSGBATCHUPDATEORDERS"]._serialized_end = 9498 - _globals["_MSGBATCHUPDATEORDERSRESPONSE"]._serialized_start = 9501 - _globals["_MSGBATCHUPDATEORDERSRESPONSE"]._serialized_end = 10277 - _globals["_MSGCREATEDERIVATIVEMARKETORDER"]._serialized_start = 10280 - _globals["_MSGCREATEDERIVATIVEMARKETORDER"]._serialized_end = 10470 - _globals["_MSGCREATEDERIVATIVEMARKETORDERRESPONSE"]._serialized_start = 10473 - _globals["_MSGCREATEDERIVATIVEMARKETORDERRESPONSE"]._serialized_end = 10662 - _globals["_DERIVATIVEMARKETORDERRESULTS"]._serialized_start = 10665 - _globals["_DERIVATIVEMARKETORDERRESULTS"]._serialized_end = 11033 - _globals["_MSGCREATEBINARYOPTIONSMARKETORDER"]._serialized_start = 11036 - _globals["_MSGCREATEBINARYOPTIONSMARKETORDER"]._serialized_end = 11232 - _globals["_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE"]._serialized_start = 11235 - _globals["_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE"]._serialized_end = 11427 - _globals["_MSGCANCELDERIVATIVEORDER"]._serialized_start = 11430 - _globals["_MSGCANCELDERIVATIVEORDER"]._serialized_end = 11681 - _globals["_MSGCANCELDERIVATIVEORDERRESPONSE"]._serialized_start = 11683 - _globals["_MSGCANCELDERIVATIVEORDERRESPONSE"]._serialized_end = 11717 - _globals["_MSGCANCELBINARYOPTIONSORDER"]._serialized_start = 11720 - _globals["_MSGCANCELBINARYOPTIONSORDER"]._serialized_end = 11977 - _globals["_MSGCANCELBINARYOPTIONSORDERRESPONSE"]._serialized_start = 11979 - _globals["_MSGCANCELBINARYOPTIONSORDERRESPONSE"]._serialized_end = 12016 - _globals["_ORDERDATA"]._serialized_start = 12019 - _globals["_ORDERDATA"]._serialized_end = 12176 - _globals["_MSGBATCHCANCELDERIVATIVEORDERS"]._serialized_start = 12179 - _globals["_MSGBATCHCANCELDERIVATIVEORDERS"]._serialized_end = 12361 - _globals["_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE"]._serialized_start = 12363 - _globals["_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE"]._serialized_end = 12439 - _globals["_MSGSUBACCOUNTTRANSFER"]._serialized_start = 12442 - _globals["_MSGSUBACCOUNTTRANSFER"]._serialized_end = 12704 - _globals["_MSGSUBACCOUNTTRANSFERRESPONSE"]._serialized_start = 12706 - _globals["_MSGSUBACCOUNTTRANSFERRESPONSE"]._serialized_end = 12737 - _globals["_MSGEXTERNALTRANSFER"]._serialized_start = 12740 - _globals["_MSGEXTERNALTRANSFER"]._serialized_end = 12998 - _globals["_MSGEXTERNALTRANSFERRESPONSE"]._serialized_start = 13000 - _globals["_MSGEXTERNALTRANSFERRESPONSE"]._serialized_end = 13029 - _globals["_MSGLIQUIDATEPOSITION"]._serialized_start = 13032 - _globals["_MSGLIQUIDATEPOSITION"]._serialized_end = 13264 - _globals["_MSGLIQUIDATEPOSITIONRESPONSE"]._serialized_start = 13266 - _globals["_MSGLIQUIDATEPOSITIONRESPONSE"]._serialized_end = 13296 - _globals["_MSGEMERGENCYSETTLEMARKET"]._serialized_start = 13299 - _globals["_MSGEMERGENCYSETTLEMARKET"]._serialized_end = 13466 - _globals["_MSGEMERGENCYSETTLEMARKETRESPONSE"]._serialized_start = 13468 - _globals["_MSGEMERGENCYSETTLEMARKETRESPONSE"]._serialized_end = 13502 - _globals["_MSGINCREASEPOSITIONMARGIN"]._serialized_start = 13505 - _globals["_MSGINCREASEPOSITIONMARGIN"]._serialized_end = 13808 - _globals["_MSGINCREASEPOSITIONMARGINRESPONSE"]._serialized_start = 13810 - _globals["_MSGINCREASEPOSITIONMARGINRESPONSE"]._serialized_end = 13845 - _globals["_MSGDECREASEPOSITIONMARGIN"]._serialized_start = 13848 - _globals["_MSGDECREASEPOSITIONMARGIN"]._serialized_end = 14151 - _globals["_MSGDECREASEPOSITIONMARGINRESPONSE"]._serialized_start = 14153 - _globals["_MSGDECREASEPOSITIONMARGINRESPONSE"]._serialized_end = 14188 - _globals["_MSGPRIVILEGEDEXECUTECONTRACT"]._serialized_start = 14191 - _globals["_MSGPRIVILEGEDEXECUTECONTRACT"]._serialized_end = 14393 - _globals["_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE"]._serialized_start = 14396 - _globals["_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE"]._serialized_end = 14563 - _globals["_MSGREWARDSOPTOUT"]._serialized_start = 14565 - _globals["_MSGREWARDSOPTOUT"]._serialized_end = 14658 - _globals["_MSGREWARDSOPTOUTRESPONSE"]._serialized_start = 14660 - _globals["_MSGREWARDSOPTOUTRESPONSE"]._serialized_end = 14686 - _globals["_MSGRECLAIMLOCKEDFUNDS"]._serialized_start = 14689 - _globals["_MSGRECLAIMLOCKEDFUNDS"]._serialized_end = 14864 - _globals["_MSGRECLAIMLOCKEDFUNDSRESPONSE"]._serialized_start = 14866 - _globals["_MSGRECLAIMLOCKEDFUNDSRESPONSE"]._serialized_end = 14897 - _globals["_MSGSIGNDATA"]._serialized_start = 14900 - _globals["_MSGSIGNDATA"]._serialized_end = 15028 - _globals["_MSGSIGNDOC"]._serialized_start = 15030 - _globals["_MSGSIGNDOC"]._serialized_end = 15150 - _globals["_MSGADMINUPDATEBINARYOPTIONSMARKET"]._serialized_start = 15153 - _globals["_MSGADMINUPDATEBINARYOPTIONSMARKET"]._serialized_end = 15549 - _globals["_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE"]._serialized_start = 15551 - _globals["_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE"]._serialized_end = 15594 - _globals["_MSGAUTHORIZESTAKEGRANTS"]._serialized_start = 15597 - _globals["_MSGAUTHORIZESTAKEGRANTS"]._serialized_end = 15768 - _globals["_MSGAUTHORIZESTAKEGRANTSRESPONSE"]._serialized_start = 15770 - _globals["_MSGAUTHORIZESTAKEGRANTSRESPONSE"]._serialized_end = 15803 - _globals["_MSGACTIVATESTAKEGRANT"]._serialized_start = 15805 - _globals["_MSGACTIVATESTAKEGRANT"]._serialized_end = 15926 - _globals["_MSGACTIVATESTAKEGRANTRESPONSE"]._serialized_start = 15928 - _globals["_MSGACTIVATESTAKEGRANTRESPONSE"]._serialized_end = 15959 - _globals["_MSG"]._serialized_start = 15962 - _globals["_MSG"]._serialized_end = 21034 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\036com.injective.exchange.v1beta1B\007TxProtoP\001ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\242\002\003IEX\252\002\032Injective.Exchange.V1beta1\312\002\032Injective\\Exchange\\V1beta1\342\002&Injective\\Exchange\\V1beta1\\GPBMetadata\352\002\034Injective::Exchange::V1beta1' + _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_price_tick_size']._loaded_options = None + _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_quantity_tick_size']._loaded_options = None + _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_notional']._loaded_options = None + _globals['_MSGUPDATESPOTMARKET'].fields_by_name['new_min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGUPDATESPOTMARKET']._loaded_options = None + _globals['_MSGUPDATESPOTMARKET']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\005admin\212\347\260*\034exchange/MsgUpdateSpotMarket' + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_price_tick_size']._loaded_options = None + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_quantity_tick_size']._loaded_options = None + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_notional']._loaded_options = None + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_initial_margin_ratio']._loaded_options = None + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_maintenance_margin_ratio']._loaded_options = None + _globals['_MSGUPDATEDERIVATIVEMARKET'].fields_by_name['new_maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGUPDATEDERIVATIVEMARKET']._loaded_options = None + _globals['_MSGUPDATEDERIVATIVEMARKET']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\005admin\212\347\260*\"exchange/MsgUpdateDerivativeMarket' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\030exchange/MsgUpdateParams' + _globals['_MSGDEPOSIT'].fields_by_name['amount']._loaded_options = None + _globals['_MSGDEPOSIT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_MSGDEPOSIT']._loaded_options = None + _globals['_MSGDEPOSIT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\023exchange/MsgDeposit' + _globals['_MSGWITHDRAW'].fields_by_name['amount']._loaded_options = None + _globals['_MSGWITHDRAW'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_MSGWITHDRAW']._loaded_options = None + _globals['_MSGWITHDRAW']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\024exchange/MsgWithdraw' + _globals['_MSGCREATESPOTLIMITORDER'].fields_by_name['order']._loaded_options = None + _globals['_MSGCREATESPOTLIMITORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_MSGCREATESPOTLIMITORDER']._loaded_options = None + _globals['_MSGCREATESPOTLIMITORDER']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260* exchange/MsgCreateSpotLimitOrder' + _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._loaded_options = None + _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGBATCHCREATESPOTLIMITORDERS'].fields_by_name['orders']._loaded_options = None + _globals['_MSGBATCHCREATESPOTLIMITORDERS'].fields_by_name['orders']._serialized_options = b'\310\336\037\000' + _globals['_MSGBATCHCREATESPOTLIMITORDERS']._loaded_options = None + _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*&exchange/MsgBatchCreateSpotLimitOrders' + _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._loaded_options = None + _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_notional']._loaded_options = None + _globals['_MSGINSTANTSPOTMARKETLAUNCH'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTSPOTMARKETLAUNCH']._loaded_options = None + _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*#exchange/MsgInstantSpotMarketLaunch' + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['initial_margin_ratio']._loaded_options = None + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['maintenance_margin_ratio']._loaded_options = None + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_notional']._loaded_options = None + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._loaded_options = None + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*(exchange/MsgInstantPerpetualMarketLaunch' + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_notional']._loaded_options = None + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._loaded_options = None + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgInstantBinaryOptionsMarketLaunch' + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['maker_fee_rate']._loaded_options = None + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['maker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['taker_fee_rate']._loaded_options = None + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['taker_fee_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['initial_margin_ratio']._loaded_options = None + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['initial_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['maintenance_margin_ratio']._loaded_options = None + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['maintenance_margin_ratio']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_price_tick_size']._loaded_options = None + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_price_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._loaded_options = None + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_quantity_tick_size']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_notional']._loaded_options = None + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._loaded_options = None + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgInstantExpiryFuturesMarketLaunch' + _globals['_MSGCREATESPOTMARKETORDER'].fields_by_name['order']._loaded_options = None + _globals['_MSGCREATESPOTMARKETORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_MSGCREATESPOTMARKETORDER']._loaded_options = None + _globals['_MSGCREATESPOTMARKETORDER']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgCreateSpotMarketOrder' + _globals['_MSGCREATESPOTMARKETORDERRESPONSE'].fields_by_name['results']._loaded_options = None + _globals['_MSGCREATESPOTMARKETORDERRESPONSE'].fields_by_name['results']._serialized_options = b'\310\336\037\001' + _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._loaded_options = None + _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['quantity']._loaded_options = None + _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['price']._loaded_options = None + _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['fee']._loaded_options = None + _globals['_SPOTMARKETORDERRESULTS'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTMARKETORDERRESULTS']._loaded_options = None + _globals['_SPOTMARKETORDERRESULTS']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGCREATEDERIVATIVELIMITORDER'].fields_by_name['order']._loaded_options = None + _globals['_MSGCREATEDERIVATIVELIMITORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_MSGCREATEDERIVATIVELIMITORDER']._loaded_options = None + _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*&exchange/MsgCreateDerivativeLimitOrder' + _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._loaded_options = None + _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGCREATEBINARYOPTIONSLIMITORDER'].fields_by_name['order']._loaded_options = None + _globals['_MSGCREATEBINARYOPTIONSLIMITORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._loaded_options = None + _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*)exchange/MsgCreateBinaryOptionsLimitOrder' + _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._loaded_options = None + _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS'].fields_by_name['orders']._loaded_options = None + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS'].fields_by_name['orders']._serialized_options = b'\310\336\037\000' + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._loaded_options = None + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*,exchange/MsgBatchCreateDerivativeLimitOrders' + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._loaded_options = None + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGCANCELSPOTORDER']._loaded_options = None + _globals['_MSGCANCELSPOTORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\033exchange/MsgCancelSpotOrder' + _globals['_MSGBATCHCANCELSPOTORDERS'].fields_by_name['data']._loaded_options = None + _globals['_MSGBATCHCANCELSPOTORDERS'].fields_by_name['data']._serialized_options = b'\310\336\037\000' + _globals['_MSGBATCHCANCELSPOTORDERS']._loaded_options = None + _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgBatchCancelSpotOrders' + _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._loaded_options = None + _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS'].fields_by_name['data']._loaded_options = None + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS'].fields_by_name['data']._serialized_options = b'\310\336\037\000' + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._loaded_options = None + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260**exchange/MsgBatchCancelBinaryOptionsOrders' + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._loaded_options = None + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['spot_orders_to_cancel']._loaded_options = None + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['spot_orders_to_cancel']._serialized_options = b'\310\336\037\001' + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['derivative_orders_to_cancel']._loaded_options = None + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['derivative_orders_to_cancel']._serialized_options = b'\310\336\037\001' + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['spot_orders_to_create']._loaded_options = None + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['spot_orders_to_create']._serialized_options = b'\310\336\037\001' + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['derivative_orders_to_create']._loaded_options = None + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['derivative_orders_to_create']._serialized_options = b'\310\336\037\001' + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['binary_options_orders_to_cancel']._loaded_options = None + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['binary_options_orders_to_cancel']._serialized_options = b'\310\336\037\001' + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['binary_options_orders_to_create']._loaded_options = None + _globals['_MSGBATCHUPDATEORDERS'].fields_by_name['binary_options_orders_to_create']._serialized_options = b'\310\336\037\001' + _globals['_MSGBATCHUPDATEORDERS']._loaded_options = None + _globals['_MSGBATCHUPDATEORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\035exchange/MsgBatchUpdateOrders' + _globals['_MSGBATCHUPDATEORDERSRESPONSE']._loaded_options = None + _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGCREATEDERIVATIVEMARKETORDER'].fields_by_name['order']._loaded_options = None + _globals['_MSGCREATEDERIVATIVEMARKETORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_MSGCREATEDERIVATIVEMARKETORDER']._loaded_options = None + _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\'exchange/MsgCreateDerivativeMarketOrder' + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE'].fields_by_name['results']._loaded_options = None + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE'].fields_by_name['results']._serialized_options = b'\310\336\037\001' + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._loaded_options = None + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['quantity']._loaded_options = None + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['price']._loaded_options = None + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['fee']._loaded_options = None + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['position_delta']._loaded_options = None + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['position_delta']._serialized_options = b'\310\336\037\000' + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['payout']._loaded_options = None + _globals['_DERIVATIVEMARKETORDERRESULTS'].fields_by_name['payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVEMARKETORDERRESULTS']._loaded_options = None + _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER'].fields_by_name['order']._loaded_options = None + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._loaded_options = None + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260**exchange/MsgCreateBinaryOptionsMarketOrder' + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE'].fields_by_name['results']._loaded_options = None + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE'].fields_by_name['results']._serialized_options = b'\310\336\037\001' + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._loaded_options = None + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGCANCELDERIVATIVEORDER']._loaded_options = None + _globals['_MSGCANCELDERIVATIVEORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*!exchange/MsgCancelDerivativeOrder' + _globals['_MSGCANCELBINARYOPTIONSORDER']._loaded_options = None + _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*$exchange/MsgCancelBinaryOptionsOrder' + _globals['_MSGBATCHCANCELDERIVATIVEORDERS'].fields_by_name['data']._loaded_options = None + _globals['_MSGBATCHCANCELDERIVATIVEORDERS'].fields_by_name['data']._serialized_options = b'\310\336\037\000' + _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._loaded_options = None + _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\'exchange/MsgBatchCancelDerivativeOrders' + _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._loaded_options = None + _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGSUBACCOUNTTRANSFER'].fields_by_name['amount']._loaded_options = None + _globals['_MSGSUBACCOUNTTRANSFER'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_MSGSUBACCOUNTTRANSFER']._loaded_options = None + _globals['_MSGSUBACCOUNTTRANSFER']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036exchange/MsgSubaccountTransfer' + _globals['_MSGEXTERNALTRANSFER'].fields_by_name['amount']._loaded_options = None + _globals['_MSGEXTERNALTRANSFER'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_MSGEXTERNALTRANSFER']._loaded_options = None + _globals['_MSGEXTERNALTRANSFER']._serialized_options = b'\202\347\260*\006sender\212\347\260*\034exchange/MsgExternalTransfer' + _globals['_MSGLIQUIDATEPOSITION'].fields_by_name['order']._loaded_options = None + _globals['_MSGLIQUIDATEPOSITION'].fields_by_name['order']._serialized_options = b'\310\336\037\001' + _globals['_MSGLIQUIDATEPOSITION']._loaded_options = None + _globals['_MSGLIQUIDATEPOSITION']._serialized_options = b'\202\347\260*\006sender\212\347\260*\035exchange/MsgLiquidatePosition' + _globals['_MSGEMERGENCYSETTLEMARKET']._loaded_options = None + _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_options = b'\202\347\260*\006sender\212\347\260*!exchange/MsgEmergencySettleMarket' + _globals['_MSGINCREASEPOSITIONMARGIN'].fields_by_name['amount']._loaded_options = None + _globals['_MSGINCREASEPOSITIONMARGIN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGINCREASEPOSITIONMARGIN']._loaded_options = None + _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\"exchange/MsgIncreasePositionMargin' + _globals['_MSGDECREASEPOSITIONMARGIN'].fields_by_name['amount']._loaded_options = None + _globals['_MSGDECREASEPOSITIONMARGIN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGDECREASEPOSITIONMARGIN']._loaded_options = None + _globals['_MSGDECREASEPOSITIONMARGIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\"exchange/MsgDecreasePositionMargin' + _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._loaded_options = None + _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*%exchange/MsgPrivilegedExecuteContract' + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE'].fields_by_name['funds_diff']._loaded_options = None + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE'].fields_by_name['funds_diff']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._loaded_options = None + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' + _globals['_MSGREWARDSOPTOUT']._loaded_options = None + _globals['_MSGREWARDSOPTOUT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\031exchange/MsgRewardsOptOut' + _globals['_MSGRECLAIMLOCKEDFUNDS']._loaded_options = None + _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036exchange/MsgReclaimLockedFunds' + _globals['_MSGSIGNDATA'].fields_by_name['Signer']._loaded_options = None + _globals['_MSGSIGNDATA'].fields_by_name['Signer']._serialized_options = b'\352\336\037\006signer\372\336\037-github.com/cosmos/cosmos-sdk/types.AccAddress' + _globals['_MSGSIGNDATA'].fields_by_name['Data']._loaded_options = None + _globals['_MSGSIGNDATA'].fields_by_name['Data']._serialized_options = b'\352\336\037\004data' + _globals['_MSGSIGNDOC'].fields_by_name['sign_type']._loaded_options = None + _globals['_MSGSIGNDOC'].fields_by_name['sign_type']._serialized_options = b'\352\336\037\004type' + _globals['_MSGSIGNDOC'].fields_by_name['value']._loaded_options = None + _globals['_MSGSIGNDOC'].fields_by_name['value']._serialized_options = b'\310\336\037\000' + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET'].fields_by_name['settlement_price']._loaded_options = None + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET'].fields_by_name['settlement_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._loaded_options = None + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_options = b'\202\347\260*\006sender\212\347\260**exchange/MsgAdminUpdateBinaryOptionsMarket' + _globals['_MSGAUTHORIZESTAKEGRANTS']._loaded_options = None + _globals['_MSGAUTHORIZESTAKEGRANTS']._serialized_options = b'\202\347\260*\006sender\212\347\260* exchange/MsgAuthorizeStakeGrants' + _globals['_MSGACTIVATESTAKEGRANT']._loaded_options = None + _globals['_MSGACTIVATESTAKEGRANT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036exchange/MsgActivateStakeGrant' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGUPDATESPOTMARKET']._serialized_start=323 + _globals['_MSGUPDATESPOTMARKET']._serialized_end=746 + _globals['_MSGUPDATESPOTMARKETRESPONSE']._serialized_start=748 + _globals['_MSGUPDATESPOTMARKETRESPONSE']._serialized_end=777 + _globals['_MSGUPDATEDERIVATIVEMARKET']._serialized_start=780 + _globals['_MSGUPDATEDERIVATIVEMARKET']._serialized_end=1411 + _globals['_MSGUPDATEDERIVATIVEMARKETRESPONSE']._serialized_start=1413 + _globals['_MSGUPDATEDERIVATIVEMARKETRESPONSE']._serialized_end=1448 + _globals['_MSGUPDATEPARAMS']._serialized_start=1451 + _globals['_MSGUPDATEPARAMS']._serialized_end=1635 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1637 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1662 + _globals['_MSGDEPOSIT']._serialized_start=1665 + _globals['_MSGDEPOSIT']._serialized_end=1840 + _globals['_MSGDEPOSITRESPONSE']._serialized_start=1842 + _globals['_MSGDEPOSITRESPONSE']._serialized_end=1862 + _globals['_MSGWITHDRAW']._serialized_start=1865 + _globals['_MSGWITHDRAW']._serialized_end=2042 + _globals['_MSGWITHDRAWRESPONSE']._serialized_start=2044 + _globals['_MSGWITHDRAWRESPONSE']._serialized_end=2065 + _globals['_MSGCREATESPOTLIMITORDER']._serialized_start=2068 + _globals['_MSGCREATESPOTLIMITORDER']._serialized_end=2242 + _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_start=2244 + _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_end=2336 + _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_start=2339 + _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_end=2527 + _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_start=2530 + _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_end=2708 + _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_start=2711 + _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_end=3158 + _globals['_MSGINSTANTSPOTMARKETLAUNCHRESPONSE']._serialized_start=3160 + _globals['_MSGINSTANTSPOTMARKETLAUNCHRESPONSE']._serialized_end=3196 + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_start=3199 + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_end=4144 + _globals['_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE']._serialized_start=4146 + _globals['_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE']._serialized_end=4187 + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_start=4190 + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_end=5095 + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_start=5097 + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_end=5142 + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_start=5145 + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_end=6122 + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_start=6124 + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_end=6169 + _globals['_MSGCREATESPOTMARKETORDER']._serialized_start=6172 + _globals['_MSGCREATESPOTMARKETORDER']._serialized_end=6348 + _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_start=6351 + _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_end=6528 + _globals['_SPOTMARKETORDERRESULTS']._serialized_start=6531 + _globals['_SPOTMARKETORDERRESULTS']._serialized_end=6744 + _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_start=6747 + _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_end=6935 + _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_start=6937 + _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_end=7035 + _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_start=7038 + _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_end=7232 + _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_start=7234 + _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_end=7335 + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_start=7338 + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_end=7540 + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_start=7543 + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_end=7727 + _globals['_MSGCANCELSPOTORDER']._serialized_start=7730 + _globals['_MSGCANCELSPOTORDER']._serialized_end=7938 + _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_start=7940 + _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_end=7968 + _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_start=7971 + _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_end=8141 + _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_start=8143 + _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_end=8213 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_start=8216 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_end=8404 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_start=8406 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_end=8485 + _globals['_MSGBATCHUPDATEORDERS']._serialized_start=8488 + _globals['_MSGBATCHUPDATEORDERS']._serialized_end=9498 + _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_start=9501 + _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_end=10277 + _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_start=10280 + _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_end=10470 + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_start=10473 + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_end=10662 + _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_start=10665 + _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_end=11033 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_start=11036 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_end=11232 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_start=11235 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_end=11427 + _globals['_MSGCANCELDERIVATIVEORDER']._serialized_start=11430 + _globals['_MSGCANCELDERIVATIVEORDER']._serialized_end=11681 + _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_start=11683 + _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_end=11717 + _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_start=11720 + _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_end=11977 + _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_start=11979 + _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_end=12016 + _globals['_ORDERDATA']._serialized_start=12019 + _globals['_ORDERDATA']._serialized_end=12176 + _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_start=12179 + _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_end=12361 + _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_start=12363 + _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_end=12439 + _globals['_MSGSUBACCOUNTTRANSFER']._serialized_start=12442 + _globals['_MSGSUBACCOUNTTRANSFER']._serialized_end=12704 + _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_start=12706 + _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_end=12737 + _globals['_MSGEXTERNALTRANSFER']._serialized_start=12740 + _globals['_MSGEXTERNALTRANSFER']._serialized_end=12998 + _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_start=13000 + _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_end=13029 + _globals['_MSGLIQUIDATEPOSITION']._serialized_start=13032 + _globals['_MSGLIQUIDATEPOSITION']._serialized_end=13264 + _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_start=13266 + _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_end=13296 + _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_start=13299 + _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_end=13466 + _globals['_MSGEMERGENCYSETTLEMARKETRESPONSE']._serialized_start=13468 + _globals['_MSGEMERGENCYSETTLEMARKETRESPONSE']._serialized_end=13502 + _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_start=13505 + _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_end=13808 + _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_start=13810 + _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_end=13845 + _globals['_MSGDECREASEPOSITIONMARGIN']._serialized_start=13848 + _globals['_MSGDECREASEPOSITIONMARGIN']._serialized_end=14151 + _globals['_MSGDECREASEPOSITIONMARGINRESPONSE']._serialized_start=14153 + _globals['_MSGDECREASEPOSITIONMARGINRESPONSE']._serialized_end=14188 + _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_start=14191 + _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_end=14393 + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_start=14396 + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_end=14563 + _globals['_MSGREWARDSOPTOUT']._serialized_start=14565 + _globals['_MSGREWARDSOPTOUT']._serialized_end=14658 + _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_start=14660 + _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_end=14686 + _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_start=14689 + _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_end=14864 + _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_start=14866 + _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_end=14897 + _globals['_MSGSIGNDATA']._serialized_start=14900 + _globals['_MSGSIGNDATA']._serialized_end=15028 + _globals['_MSGSIGNDOC']._serialized_start=15030 + _globals['_MSGSIGNDOC']._serialized_end=15150 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_start=15153 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_end=15549 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_start=15551 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_end=15594 + _globals['_MSGAUTHORIZESTAKEGRANTS']._serialized_start=15597 + _globals['_MSGAUTHORIZESTAKEGRANTS']._serialized_end=15768 + _globals['_MSGAUTHORIZESTAKEGRANTSRESPONSE']._serialized_start=15770 + _globals['_MSGAUTHORIZESTAKEGRANTSRESPONSE']._serialized_end=15803 + _globals['_MSGACTIVATESTAKEGRANT']._serialized_start=15805 + _globals['_MSGACTIVATESTAKEGRANT']._serialized_end=15926 + _globals['_MSGACTIVATESTAKEGRANTRESPONSE']._serialized_start=15928 + _globals['_MSGACTIVATESTAKEGRANTRESPONSE']._serialized_end=15959 + _globals['_MSG']._serialized_start=15962 + _globals['_MSG']._serialized_end=21034 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py index 9ab69c4f..e8346ec5 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/exchange/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the exchange Msg service.""" + """Msg defines the exchange Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,677 +16,654 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Deposit = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/Deposit", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/Deposit', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, + _registered_method=True) self.Withdraw = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/Withdraw", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdraw.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdrawResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/Withdraw', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdraw.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdrawResponse.FromString, + _registered_method=True) self.InstantSpotMarketLaunch = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunch.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunchResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunch.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunchResponse.FromString, + _registered_method=True) self.InstantPerpetualMarketLaunch = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunch.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunchResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunch.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunchResponse.FromString, + _registered_method=True) self.InstantExpiryFuturesMarketLaunch = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunch.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunchResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunch.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunchResponse.FromString, + _registered_method=True) self.CreateSpotLimitOrder = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrderResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrderResponse.FromString, + _registered_method=True) self.BatchCreateSpotLimitOrders = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrdersResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrdersResponse.FromString, + _registered_method=True) self.CreateSpotMarketOrder = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrderResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrderResponse.FromString, + _registered_method=True) self.CancelSpotOrder = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/CancelSpotOrder", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrderResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/CancelSpotOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrderResponse.FromString, + _registered_method=True) self.BatchCancelSpotOrders = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrdersResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrdersResponse.FromString, + _registered_method=True) self.BatchUpdateOrders = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/BatchUpdateOrders", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrdersResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/BatchUpdateOrders', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrdersResponse.FromString, + _registered_method=True) self.PrivilegedExecuteContract = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContract.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContractResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContract.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContractResponse.FromString, + _registered_method=True) self.CreateDerivativeLimitOrder = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrderResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrderResponse.FromString, + _registered_method=True) self.BatchCreateDerivativeLimitOrders = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrdersResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrdersResponse.FromString, + _registered_method=True) self.CreateDerivativeMarketOrder = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrderResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrderResponse.FromString, + _registered_method=True) self.CancelDerivativeOrder = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/CancelDerivativeOrder", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrderResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/CancelDerivativeOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrderResponse.FromString, + _registered_method=True) self.BatchCancelDerivativeOrders = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrdersResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrdersResponse.FromString, + _registered_method=True) self.InstantBinaryOptionsMarketLaunch = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunch.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunchResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunch.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunchResponse.FromString, + _registered_method=True) self.CreateBinaryOptionsLimitOrder = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrderResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrderResponse.FromString, + _registered_method=True) self.CreateBinaryOptionsMarketOrder = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrderResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrderResponse.FromString, + _registered_method=True) self.CancelBinaryOptionsOrder = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrder.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrderResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrder.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrderResponse.FromString, + _registered_method=True) self.BatchCancelBinaryOptionsOrders = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrders.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrdersResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrders.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrdersResponse.FromString, + _registered_method=True) self.SubaccountTransfer = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/SubaccountTransfer", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransfer.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransferResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/SubaccountTransfer', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransfer.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransferResponse.FromString, + _registered_method=True) self.ExternalTransfer = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/ExternalTransfer", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransfer.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransferResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/ExternalTransfer', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransfer.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransferResponse.FromString, + _registered_method=True) self.LiquidatePosition = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/LiquidatePosition", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/LiquidatePosition', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.FromString, + _registered_method=True) self.EmergencySettleMarket = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/EmergencySettleMarket", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarket.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarketResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/EmergencySettleMarket', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarket.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarketResponse.FromString, + _registered_method=True) self.IncreasePositionMargin = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/IncreasePositionMargin", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMarginResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/IncreasePositionMargin', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMarginResponse.FromString, + _registered_method=True) self.DecreasePositionMargin = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/DecreasePositionMargin", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMargin.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMarginResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/DecreasePositionMargin', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMargin.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMarginResponse.FromString, + _registered_method=True) self.RewardsOptOut = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/RewardsOptOut", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOut.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOutResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/RewardsOptOut', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOut.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOutResponse.FromString, + _registered_method=True) self.AdminUpdateBinaryOptionsMarket = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarket.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarketResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarket.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarketResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/UpdateParams", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/UpdateParams', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) self.UpdateSpotMarket = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/UpdateSpotMarket", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarket.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarketResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/UpdateSpotMarket', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarket.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarketResponse.FromString, + _registered_method=True) self.UpdateDerivativeMarket = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/UpdateDerivativeMarket", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarket.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarketResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/UpdateDerivativeMarket', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarket.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarketResponse.FromString, + _registered_method=True) self.AuthorizeStakeGrants = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/AuthorizeStakeGrants", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrants.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrantsResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/AuthorizeStakeGrants', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrants.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrantsResponse.FromString, + _registered_method=True) self.ActivateStakeGrant = channel.unary_unary( - "/injective.exchange.v1beta1.Msg/ActivateStakeGrant", - request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrant.SerializeToString, - response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrantResponse.FromString, - _registered_method=True, - ) + '/injective.exchange.v1beta1.Msg/ActivateStakeGrant', + request_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrant.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrantResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the exchange Msg service.""" + """Msg defines the exchange Msg service. + """ def Deposit(self, request, context): """Deposit defines a method for transferring coins from the sender's bank balance into the subaccount's exchange deposits """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Withdraw(self, request, context): """Withdraw defines a method for withdrawing coins from a subaccount's deposits to the user's bank balance """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def InstantSpotMarketLaunch(self, request, context): """InstantSpotMarketLaunch defines method for creating a spot market by paying listing fee without governance """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def InstantPerpetualMarketLaunch(self, request, context): """InstantPerpetualMarketLaunch defines a method for creating a new perpetual futures market by paying listing fee without governance """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def InstantExpiryFuturesMarketLaunch(self, request, context): """InstantExpiryFuturesMarketLaunch defines a method for creating a new expiry futures market by paying listing fee without governance """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CreateSpotLimitOrder(self, request, context): - """CreateSpotLimitOrder defines a method for creating a new spot limit order.""" + """CreateSpotLimitOrder defines a method for creating a new spot limit order. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def BatchCreateSpotLimitOrders(self, request, context): """BatchCreateSpotLimitOrder defines a method for creating a new batch of spot limit orders. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CreateSpotMarketOrder(self, request, context): """CreateSpotMarketOrder defines a method for creating a new spot market order. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CancelSpotOrder(self, request, context): - """MsgCancelSpotOrder defines a method for cancelling a spot order.""" + """MsgCancelSpotOrder defines a method for cancelling a spot order. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def BatchCancelSpotOrders(self, request, context): """BatchCancelSpotOrders defines a method for cancelling a batch of spot orders in a given market. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def BatchUpdateOrders(self, request, context): - """BatchUpdateOrders defines a method for updating a batch of orders.""" + """BatchUpdateOrders defines a method for updating a batch of orders. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PrivilegedExecuteContract(self, request, context): """PrivilegedExecuteContract defines a method for executing a Cosmwasm contract from the exchange module with privileged capabilities. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CreateDerivativeLimitOrder(self, request, context): """CreateDerivativeLimitOrder defines a method for creating a new derivative limit order. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def BatchCreateDerivativeLimitOrders(self, request, context): """BatchCreateDerivativeLimitOrders defines a method for creating a new batch of derivative limit orders. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CreateDerivativeMarketOrder(self, request, context): """MsgCreateDerivativeLimitOrder defines a method for creating a new derivative market order. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CancelDerivativeOrder(self, request, context): """MsgCancelDerivativeOrder defines a method for cancelling a derivative order. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def BatchCancelDerivativeOrders(self, request, context): """MsgBatchCancelDerivativeOrders defines a method for cancelling a batch of derivative limit orders. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def InstantBinaryOptionsMarketLaunch(self, request, context): """InstantBinaryOptionsMarketLaunch defines method for creating a binary options market by paying listing fee without governance """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CreateBinaryOptionsLimitOrder(self, request, context): """CreateBinaryOptionsLimitOrder defines a method for creating a new binary options limit order. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CreateBinaryOptionsMarketOrder(self, request, context): """CreateBinaryOptionsMarketOrder defines a method for creating a new binary options market order. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CancelBinaryOptionsOrder(self, request, context): """MsgCancelBinaryOptionsOrder defines a method for cancelling a binary options order. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def BatchCancelBinaryOptionsOrders(self, request, context): """BatchCancelBinaryOptionsOrders defines a method for cancelling a batch of binary options limit orders. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SubaccountTransfer(self, request, context): - """SubaccountTransfer defines a method for transfer between subaccounts""" + """SubaccountTransfer defines a method for transfer between subaccounts + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ExternalTransfer(self, request, context): - """ExternalTransfer defines a method for transfer between external accounts""" + """ExternalTransfer defines a method for transfer between external accounts + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def LiquidatePosition(self, request, context): - """LiquidatePosition defines a method for liquidating a position""" + """LiquidatePosition defines a method for liquidating a position + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def EmergencySettleMarket(self, request, context): - """EmergencySettleMarket defines a method for emergency settling a market""" + """EmergencySettleMarket defines a method for emergency settling a market + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def IncreasePositionMargin(self, request, context): - """IncreasePositionMargin defines a method for increasing margin of a position""" + """IncreasePositionMargin defines a method for increasing margin of a position + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DecreasePositionMargin(self, request, context): - """DecreasePositionMargin defines a method for decreasing margin of a position""" + """DecreasePositionMargin defines a method for decreasing margin of a position + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RewardsOptOut(self, request, context): - """RewardsOptOut defines a method for opting out of rewards""" + """RewardsOptOut defines a method for opting out of rewards + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AdminUpdateBinaryOptionsMarket(self, request, context): """AdminUpdateBinaryOptionsMarket defines method for updating a binary options market by admin """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateParams(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateSpotMarket(self, request, context): - """UpdateSpotMarket modifies certain spot market fields (admin only)""" + """UpdateSpotMarket modifies certain spot market fields (admin only) + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateDerivativeMarket(self, request, context): """UpdateDerivativeMarket modifies certain derivative market fields (admin only) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AuthorizeStakeGrants(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ActivateStakeGrant(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "Deposit": grpc.unary_unary_rpc_method_handler( - servicer.Deposit, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDeposit.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.SerializeToString, - ), - "Withdraw": grpc.unary_unary_rpc_method_handler( - servicer.Withdraw, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdraw.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdrawResponse.SerializeToString, - ), - "InstantSpotMarketLaunch": grpc.unary_unary_rpc_method_handler( - servicer.InstantSpotMarketLaunch, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunch.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunchResponse.SerializeToString, - ), - "InstantPerpetualMarketLaunch": grpc.unary_unary_rpc_method_handler( - servicer.InstantPerpetualMarketLaunch, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunch.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunchResponse.SerializeToString, - ), - "InstantExpiryFuturesMarketLaunch": grpc.unary_unary_rpc_method_handler( - servicer.InstantExpiryFuturesMarketLaunch, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunch.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunchResponse.SerializeToString, - ), - "CreateSpotLimitOrder": grpc.unary_unary_rpc_method_handler( - servicer.CreateSpotLimitOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrderResponse.SerializeToString, - ), - "BatchCreateSpotLimitOrders": grpc.unary_unary_rpc_method_handler( - servicer.BatchCreateSpotLimitOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrdersResponse.SerializeToString, - ), - "CreateSpotMarketOrder": grpc.unary_unary_rpc_method_handler( - servicer.CreateSpotMarketOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrderResponse.SerializeToString, - ), - "CancelSpotOrder": grpc.unary_unary_rpc_method_handler( - servicer.CancelSpotOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrderResponse.SerializeToString, - ), - "BatchCancelSpotOrders": grpc.unary_unary_rpc_method_handler( - servicer.BatchCancelSpotOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrdersResponse.SerializeToString, - ), - "BatchUpdateOrders": grpc.unary_unary_rpc_method_handler( - servicer.BatchUpdateOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrdersResponse.SerializeToString, - ), - "PrivilegedExecuteContract": grpc.unary_unary_rpc_method_handler( - servicer.PrivilegedExecuteContract, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContract.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContractResponse.SerializeToString, - ), - "CreateDerivativeLimitOrder": grpc.unary_unary_rpc_method_handler( - servicer.CreateDerivativeLimitOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrderResponse.SerializeToString, - ), - "BatchCreateDerivativeLimitOrders": grpc.unary_unary_rpc_method_handler( - servicer.BatchCreateDerivativeLimitOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrdersResponse.SerializeToString, - ), - "CreateDerivativeMarketOrder": grpc.unary_unary_rpc_method_handler( - servicer.CreateDerivativeMarketOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrderResponse.SerializeToString, - ), - "CancelDerivativeOrder": grpc.unary_unary_rpc_method_handler( - servicer.CancelDerivativeOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrderResponse.SerializeToString, - ), - "BatchCancelDerivativeOrders": grpc.unary_unary_rpc_method_handler( - servicer.BatchCancelDerivativeOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrdersResponse.SerializeToString, - ), - "InstantBinaryOptionsMarketLaunch": grpc.unary_unary_rpc_method_handler( - servicer.InstantBinaryOptionsMarketLaunch, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunch.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunchResponse.SerializeToString, - ), - "CreateBinaryOptionsLimitOrder": grpc.unary_unary_rpc_method_handler( - servicer.CreateBinaryOptionsLimitOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrderResponse.SerializeToString, - ), - "CreateBinaryOptionsMarketOrder": grpc.unary_unary_rpc_method_handler( - servicer.CreateBinaryOptionsMarketOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrderResponse.SerializeToString, - ), - "CancelBinaryOptionsOrder": grpc.unary_unary_rpc_method_handler( - servicer.CancelBinaryOptionsOrder, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrder.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrderResponse.SerializeToString, - ), - "BatchCancelBinaryOptionsOrders": grpc.unary_unary_rpc_method_handler( - servicer.BatchCancelBinaryOptionsOrders, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrders.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrdersResponse.SerializeToString, - ), - "SubaccountTransfer": grpc.unary_unary_rpc_method_handler( - servicer.SubaccountTransfer, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransfer.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransferResponse.SerializeToString, - ), - "ExternalTransfer": grpc.unary_unary_rpc_method_handler( - servicer.ExternalTransfer, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransfer.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransferResponse.SerializeToString, - ), - "LiquidatePosition": grpc.unary_unary_rpc_method_handler( - servicer.LiquidatePosition, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.SerializeToString, - ), - "EmergencySettleMarket": grpc.unary_unary_rpc_method_handler( - servicer.EmergencySettleMarket, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarket.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarketResponse.SerializeToString, - ), - "IncreasePositionMargin": grpc.unary_unary_rpc_method_handler( - servicer.IncreasePositionMargin, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMarginResponse.SerializeToString, - ), - "DecreasePositionMargin": grpc.unary_unary_rpc_method_handler( - servicer.DecreasePositionMargin, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMargin.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMarginResponse.SerializeToString, - ), - "RewardsOptOut": grpc.unary_unary_rpc_method_handler( - servicer.RewardsOptOut, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOut.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOutResponse.SerializeToString, - ), - "AdminUpdateBinaryOptionsMarket": grpc.unary_unary_rpc_method_handler( - servicer.AdminUpdateBinaryOptionsMarket, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarket.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarketResponse.SerializeToString, - ), - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - "UpdateSpotMarket": grpc.unary_unary_rpc_method_handler( - servicer.UpdateSpotMarket, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarket.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarketResponse.SerializeToString, - ), - "UpdateDerivativeMarket": grpc.unary_unary_rpc_method_handler( - servicer.UpdateDerivativeMarket, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarket.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarketResponse.SerializeToString, - ), - "AuthorizeStakeGrants": grpc.unary_unary_rpc_method_handler( - servicer.AuthorizeStakeGrants, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrants.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrantsResponse.SerializeToString, - ), - "ActivateStakeGrant": grpc.unary_unary_rpc_method_handler( - servicer.ActivateStakeGrant, - request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrant.FromString, - response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrantResponse.SerializeToString, - ), + 'Deposit': grpc.unary_unary_rpc_method_handler( + servicer.Deposit, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDeposit.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.SerializeToString, + ), + 'Withdraw': grpc.unary_unary_rpc_method_handler( + servicer.Withdraw, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdraw.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdrawResponse.SerializeToString, + ), + 'InstantSpotMarketLaunch': grpc.unary_unary_rpc_method_handler( + servicer.InstantSpotMarketLaunch, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunch.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunchResponse.SerializeToString, + ), + 'InstantPerpetualMarketLaunch': grpc.unary_unary_rpc_method_handler( + servicer.InstantPerpetualMarketLaunch, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunch.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunchResponse.SerializeToString, + ), + 'InstantExpiryFuturesMarketLaunch': grpc.unary_unary_rpc_method_handler( + servicer.InstantExpiryFuturesMarketLaunch, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunch.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunchResponse.SerializeToString, + ), + 'CreateSpotLimitOrder': grpc.unary_unary_rpc_method_handler( + servicer.CreateSpotLimitOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrderResponse.SerializeToString, + ), + 'BatchCreateSpotLimitOrders': grpc.unary_unary_rpc_method_handler( + servicer.BatchCreateSpotLimitOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrdersResponse.SerializeToString, + ), + 'CreateSpotMarketOrder': grpc.unary_unary_rpc_method_handler( + servicer.CreateSpotMarketOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrderResponse.SerializeToString, + ), + 'CancelSpotOrder': grpc.unary_unary_rpc_method_handler( + servicer.CancelSpotOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrderResponse.SerializeToString, + ), + 'BatchCancelSpotOrders': grpc.unary_unary_rpc_method_handler( + servicer.BatchCancelSpotOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrdersResponse.SerializeToString, + ), + 'BatchUpdateOrders': grpc.unary_unary_rpc_method_handler( + servicer.BatchUpdateOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrdersResponse.SerializeToString, + ), + 'PrivilegedExecuteContract': grpc.unary_unary_rpc_method_handler( + servicer.PrivilegedExecuteContract, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContract.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContractResponse.SerializeToString, + ), + 'CreateDerivativeLimitOrder': grpc.unary_unary_rpc_method_handler( + servicer.CreateDerivativeLimitOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrderResponse.SerializeToString, + ), + 'BatchCreateDerivativeLimitOrders': grpc.unary_unary_rpc_method_handler( + servicer.BatchCreateDerivativeLimitOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrdersResponse.SerializeToString, + ), + 'CreateDerivativeMarketOrder': grpc.unary_unary_rpc_method_handler( + servicer.CreateDerivativeMarketOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrderResponse.SerializeToString, + ), + 'CancelDerivativeOrder': grpc.unary_unary_rpc_method_handler( + servicer.CancelDerivativeOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrderResponse.SerializeToString, + ), + 'BatchCancelDerivativeOrders': grpc.unary_unary_rpc_method_handler( + servicer.BatchCancelDerivativeOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrdersResponse.SerializeToString, + ), + 'InstantBinaryOptionsMarketLaunch': grpc.unary_unary_rpc_method_handler( + servicer.InstantBinaryOptionsMarketLaunch, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunch.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunchResponse.SerializeToString, + ), + 'CreateBinaryOptionsLimitOrder': grpc.unary_unary_rpc_method_handler( + servicer.CreateBinaryOptionsLimitOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrderResponse.SerializeToString, + ), + 'CreateBinaryOptionsMarketOrder': grpc.unary_unary_rpc_method_handler( + servicer.CreateBinaryOptionsMarketOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrderResponse.SerializeToString, + ), + 'CancelBinaryOptionsOrder': grpc.unary_unary_rpc_method_handler( + servicer.CancelBinaryOptionsOrder, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrder.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrderResponse.SerializeToString, + ), + 'BatchCancelBinaryOptionsOrders': grpc.unary_unary_rpc_method_handler( + servicer.BatchCancelBinaryOptionsOrders, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrders.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrdersResponse.SerializeToString, + ), + 'SubaccountTransfer': grpc.unary_unary_rpc_method_handler( + servicer.SubaccountTransfer, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransfer.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransferResponse.SerializeToString, + ), + 'ExternalTransfer': grpc.unary_unary_rpc_method_handler( + servicer.ExternalTransfer, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransfer.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransferResponse.SerializeToString, + ), + 'LiquidatePosition': grpc.unary_unary_rpc_method_handler( + servicer.LiquidatePosition, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.SerializeToString, + ), + 'EmergencySettleMarket': grpc.unary_unary_rpc_method_handler( + servicer.EmergencySettleMarket, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarket.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarketResponse.SerializeToString, + ), + 'IncreasePositionMargin': grpc.unary_unary_rpc_method_handler( + servicer.IncreasePositionMargin, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMarginResponse.SerializeToString, + ), + 'DecreasePositionMargin': grpc.unary_unary_rpc_method_handler( + servicer.DecreasePositionMargin, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMargin.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMarginResponse.SerializeToString, + ), + 'RewardsOptOut': grpc.unary_unary_rpc_method_handler( + servicer.RewardsOptOut, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOut.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOutResponse.SerializeToString, + ), + 'AdminUpdateBinaryOptionsMarket': grpc.unary_unary_rpc_method_handler( + servicer.AdminUpdateBinaryOptionsMarket, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarket.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarketResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'UpdateSpotMarket': grpc.unary_unary_rpc_method_handler( + servicer.UpdateSpotMarket, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarket.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarketResponse.SerializeToString, + ), + 'UpdateDerivativeMarket': grpc.unary_unary_rpc_method_handler( + servicer.UpdateDerivativeMarket, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarket.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarketResponse.SerializeToString, + ), + 'AuthorizeStakeGrants': grpc.unary_unary_rpc_method_handler( + servicer.AuthorizeStakeGrants, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrants.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrantsResponse.SerializeToString, + ), + 'ActivateStakeGrant': grpc.unary_unary_rpc_method_handler( + servicer.ActivateStakeGrant, + request_deserializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrant.FromString, + response_serializer=injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrantResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("injective.exchange.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'injective.exchange.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("injective.exchange.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('injective.exchange.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the exchange Msg service.""" + """Msg defines the exchange Msg service. + """ @staticmethod - def Deposit( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Deposit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/Deposit", + '/injective.exchange.v1beta1.Msg/Deposit', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDeposit.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDepositResponse.FromString, options, @@ -696,26 +674,23 @@ def Deposit( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Withdraw( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Withdraw(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/Withdraw", + '/injective.exchange.v1beta1.Msg/Withdraw', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdraw.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgWithdrawResponse.FromString, options, @@ -726,26 +701,23 @@ def Withdraw( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def InstantSpotMarketLaunch( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def InstantSpotMarketLaunch(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch", + '/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunch.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantSpotMarketLaunchResponse.FromString, options, @@ -756,26 +728,23 @@ def InstantSpotMarketLaunch( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def InstantPerpetualMarketLaunch( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def InstantPerpetualMarketLaunch(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch", + '/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunch.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantPerpetualMarketLaunchResponse.FromString, options, @@ -786,26 +755,23 @@ def InstantPerpetualMarketLaunch( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def InstantExpiryFuturesMarketLaunch( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def InstantExpiryFuturesMarketLaunch(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch", + '/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunch.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantExpiryFuturesMarketLaunchResponse.FromString, options, @@ -816,26 +782,23 @@ def InstantExpiryFuturesMarketLaunch( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CreateSpotLimitOrder( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreateSpotLimitOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder", + '/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotLimitOrderResponse.FromString, options, @@ -846,26 +809,23 @@ def CreateSpotLimitOrder( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def BatchCreateSpotLimitOrders( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def BatchCreateSpotLimitOrders(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders", + '/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrders.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateSpotLimitOrdersResponse.FromString, options, @@ -876,26 +836,23 @@ def BatchCreateSpotLimitOrders( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CreateSpotMarketOrder( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreateSpotMarketOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder", + '/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateSpotMarketOrderResponse.FromString, options, @@ -906,26 +863,23 @@ def CreateSpotMarketOrder( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CancelSpotOrder( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CancelSpotOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/CancelSpotOrder", + '/injective.exchange.v1beta1.Msg/CancelSpotOrder', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelSpotOrderResponse.FromString, options, @@ -936,26 +890,23 @@ def CancelSpotOrder( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def BatchCancelSpotOrders( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def BatchCancelSpotOrders(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders", + '/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrders.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelSpotOrdersResponse.FromString, options, @@ -966,26 +917,23 @@ def BatchCancelSpotOrders( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def BatchUpdateOrders( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def BatchUpdateOrders(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/BatchUpdateOrders", + '/injective.exchange.v1beta1.Msg/BatchUpdateOrders', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrders.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchUpdateOrdersResponse.FromString, options, @@ -996,26 +944,23 @@ def BatchUpdateOrders( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PrivilegedExecuteContract( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PrivilegedExecuteContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract", + '/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContract.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgPrivilegedExecuteContractResponse.FromString, options, @@ -1026,26 +971,23 @@ def PrivilegedExecuteContract( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CreateDerivativeLimitOrder( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreateDerivativeLimitOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder", + '/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeLimitOrderResponse.FromString, options, @@ -1056,26 +998,23 @@ def CreateDerivativeLimitOrder( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def BatchCreateDerivativeLimitOrders( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def BatchCreateDerivativeLimitOrders(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders", + '/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrders.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCreateDerivativeLimitOrdersResponse.FromString, options, @@ -1086,26 +1025,23 @@ def BatchCreateDerivativeLimitOrders( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CreateDerivativeMarketOrder( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreateDerivativeMarketOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder", + '/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateDerivativeMarketOrderResponse.FromString, options, @@ -1116,26 +1052,23 @@ def CreateDerivativeMarketOrder( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CancelDerivativeOrder( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CancelDerivativeOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/CancelDerivativeOrder", + '/injective.exchange.v1beta1.Msg/CancelDerivativeOrder', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelDerivativeOrderResponse.FromString, options, @@ -1146,26 +1079,23 @@ def CancelDerivativeOrder( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def BatchCancelDerivativeOrders( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def BatchCancelDerivativeOrders(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders", + '/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrders.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelDerivativeOrdersResponse.FromString, options, @@ -1176,26 +1106,23 @@ def BatchCancelDerivativeOrders( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def InstantBinaryOptionsMarketLaunch( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def InstantBinaryOptionsMarketLaunch(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch", + '/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunch.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgInstantBinaryOptionsMarketLaunchResponse.FromString, options, @@ -1206,26 +1133,23 @@ def InstantBinaryOptionsMarketLaunch( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CreateBinaryOptionsLimitOrder( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreateBinaryOptionsLimitOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder", + '/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsLimitOrderResponse.FromString, options, @@ -1236,26 +1160,23 @@ def CreateBinaryOptionsLimitOrder( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CreateBinaryOptionsMarketOrder( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreateBinaryOptionsMarketOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder", + '/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCreateBinaryOptionsMarketOrderResponse.FromString, options, @@ -1266,26 +1187,23 @@ def CreateBinaryOptionsMarketOrder( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CancelBinaryOptionsOrder( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CancelBinaryOptionsOrder(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder", + '/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrder.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgCancelBinaryOptionsOrderResponse.FromString, options, @@ -1296,26 +1214,23 @@ def CancelBinaryOptionsOrder( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def BatchCancelBinaryOptionsOrders( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def BatchCancelBinaryOptionsOrders(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders", + '/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrders.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgBatchCancelBinaryOptionsOrdersResponse.FromString, options, @@ -1326,26 +1241,23 @@ def BatchCancelBinaryOptionsOrders( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SubaccountTransfer( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SubaccountTransfer(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/SubaccountTransfer", + '/injective.exchange.v1beta1.Msg/SubaccountTransfer', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransfer.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgSubaccountTransferResponse.FromString, options, @@ -1356,26 +1268,23 @@ def SubaccountTransfer( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ExternalTransfer( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ExternalTransfer(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/ExternalTransfer", + '/injective.exchange.v1beta1.Msg/ExternalTransfer', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransfer.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgExternalTransferResponse.FromString, options, @@ -1386,26 +1295,23 @@ def ExternalTransfer( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def LiquidatePosition( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def LiquidatePosition(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/LiquidatePosition", + '/injective.exchange.v1beta1.Msg/LiquidatePosition', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePosition.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgLiquidatePositionResponse.FromString, options, @@ -1416,26 +1322,23 @@ def LiquidatePosition( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def EmergencySettleMarket( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def EmergencySettleMarket(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/EmergencySettleMarket", + '/injective.exchange.v1beta1.Msg/EmergencySettleMarket', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarket.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgEmergencySettleMarketResponse.FromString, options, @@ -1446,26 +1349,23 @@ def EmergencySettleMarket( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def IncreasePositionMargin( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def IncreasePositionMargin(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/IncreasePositionMargin", + '/injective.exchange.v1beta1.Msg/IncreasePositionMargin', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMargin.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgIncreasePositionMarginResponse.FromString, options, @@ -1476,26 +1376,23 @@ def IncreasePositionMargin( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DecreasePositionMargin( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DecreasePositionMargin(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/DecreasePositionMargin", + '/injective.exchange.v1beta1.Msg/DecreasePositionMargin', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMargin.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgDecreasePositionMarginResponse.FromString, options, @@ -1506,26 +1403,23 @@ def DecreasePositionMargin( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RewardsOptOut( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RewardsOptOut(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/RewardsOptOut", + '/injective.exchange.v1beta1.Msg/RewardsOptOut', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOut.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgRewardsOptOutResponse.FromString, options, @@ -1536,26 +1430,23 @@ def RewardsOptOut( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def AdminUpdateBinaryOptionsMarket( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AdminUpdateBinaryOptionsMarket(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket", + '/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarket.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAdminUpdateBinaryOptionsMarketResponse.FromString, options, @@ -1566,26 +1457,23 @@ def AdminUpdateBinaryOptionsMarket( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/UpdateParams", + '/injective.exchange.v1beta1.Msg/UpdateParams', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -1596,26 +1484,23 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateSpotMarket( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateSpotMarket(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/UpdateSpotMarket", + '/injective.exchange.v1beta1.Msg/UpdateSpotMarket', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarket.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateSpotMarketResponse.FromString, options, @@ -1626,26 +1511,23 @@ def UpdateSpotMarket( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateDerivativeMarket( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateDerivativeMarket(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/UpdateDerivativeMarket", + '/injective.exchange.v1beta1.Msg/UpdateDerivativeMarket', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarket.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgUpdateDerivativeMarketResponse.FromString, options, @@ -1656,26 +1538,23 @@ def UpdateDerivativeMarket( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def AuthorizeStakeGrants( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AuthorizeStakeGrants(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/AuthorizeStakeGrants", + '/injective.exchange.v1beta1.Msg/AuthorizeStakeGrants', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrants.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgAuthorizeStakeGrantsResponse.FromString, options, @@ -1686,26 +1565,23 @@ def AuthorizeStakeGrants( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ActivateStakeGrant( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ActivateStakeGrant(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.exchange.v1beta1.Msg/ActivateStakeGrant", + '/injective.exchange.v1beta1.Msg/ActivateStakeGrant', injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrant.SerializeToString, injective_dot_exchange_dot_v1beta1_dot_tx__pb2.MsgActivateStakeGrantResponse.FromString, options, @@ -1716,5 +1592,4 @@ def ActivateStakeGrant( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/injective/insurance/v1beta1/events_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/events_pb2.py index 0885ceb2..e6d0bcd1 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/events_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/events_pb2.py @@ -7,7 +7,6 @@ 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() @@ -15,39 +14,33 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.injective.insurance.v1beta1 import ( - insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2, -) +from pyinjective.proto.injective.insurance.v1beta1 import insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n(injective/insurance/v1beta1/events.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a+injective/insurance/v1beta1/insurance.proto"Z\n\x18\x45ventInsuranceFundUpdate\x12>\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundR\x04\x66und"e\n\x16\x45ventRequestRedemption\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleR\x08schedule"\xa8\x01\n\x17\x45ventWithdrawRedemption\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleR\x08schedule\x12@\n\x0bredeem_coin\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\nredeemCoin"\xc3\x01\n\x0f\x45ventUnderwrite\x12 \n\x0bunderwriter\x18\x01 \x01(\tR\x0bunderwriter\x12\x1a\n\x08marketId\x18\x02 \x01(\tR\x08marketId\x12\x39\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit\x12\x37\n\x06shares\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06shares"\x9b\x01\n\x16\x45ventInsuranceWithdraw\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rmarket_ticker\x18\x02 \x01(\tR\x0cmarketTicker\x12?\n\nwithdrawal\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\nwithdrawalB\x8d\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0b\x45ventsProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(injective/insurance/v1beta1/events.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a+injective/insurance/v1beta1/insurance.proto\"Z\n\x18\x45ventInsuranceFundUpdate\x12>\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundR\x04\x66und\"e\n\x16\x45ventRequestRedemption\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleR\x08schedule\"\xa8\x01\n\x17\x45ventWithdrawRedemption\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleR\x08schedule\x12@\n\x0bredeem_coin\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\nredeemCoin\"\xc3\x01\n\x0f\x45ventUnderwrite\x12 \n\x0bunderwriter\x18\x01 \x01(\tR\x0bunderwriter\x12\x1a\n\x08marketId\x18\x02 \x01(\tR\x08marketId\x12\x39\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit\x12\x37\n\x06shares\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06shares\"\x9b\x01\n\x16\x45ventInsuranceWithdraw\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rmarket_ticker\x18\x02 \x01(\tR\x0cmarketTicker\x12?\n\nwithdrawal\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\nwithdrawalB\x8d\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0b\x45ventsProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.insurance.v1beta1.events_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.events_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\037com.injective.insurance.v1beta1B\013EventsProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1" - ) - _globals["_EVENTWITHDRAWREDEMPTION"].fields_by_name["redeem_coin"]._loaded_options = None - _globals["_EVENTWITHDRAWREDEMPTION"].fields_by_name["redeem_coin"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTUNDERWRITE"].fields_by_name["deposit"]._loaded_options = None - _globals["_EVENTUNDERWRITE"].fields_by_name["deposit"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTUNDERWRITE"].fields_by_name["shares"]._loaded_options = None - _globals["_EVENTUNDERWRITE"].fields_by_name["shares"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTINSURANCEWITHDRAW"].fields_by_name["withdrawal"]._loaded_options = None - _globals["_EVENTINSURANCEWITHDRAW"].fields_by_name["withdrawal"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTINSURANCEFUNDUPDATE"]._serialized_start = 172 - _globals["_EVENTINSURANCEFUNDUPDATE"]._serialized_end = 262 - _globals["_EVENTREQUESTREDEMPTION"]._serialized_start = 264 - _globals["_EVENTREQUESTREDEMPTION"]._serialized_end = 365 - _globals["_EVENTWITHDRAWREDEMPTION"]._serialized_start = 368 - _globals["_EVENTWITHDRAWREDEMPTION"]._serialized_end = 536 - _globals["_EVENTUNDERWRITE"]._serialized_start = 539 - _globals["_EVENTUNDERWRITE"]._serialized_end = 734 - _globals["_EVENTINSURANCEWITHDRAW"]._serialized_start = 737 - _globals["_EVENTINSURANCEWITHDRAW"]._serialized_end = 892 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\013EventsProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' + _globals['_EVENTWITHDRAWREDEMPTION'].fields_by_name['redeem_coin']._loaded_options = None + _globals['_EVENTWITHDRAWREDEMPTION'].fields_by_name['redeem_coin']._serialized_options = b'\310\336\037\000' + _globals['_EVENTUNDERWRITE'].fields_by_name['deposit']._loaded_options = None + _globals['_EVENTUNDERWRITE'].fields_by_name['deposit']._serialized_options = b'\310\336\037\000' + _globals['_EVENTUNDERWRITE'].fields_by_name['shares']._loaded_options = None + _globals['_EVENTUNDERWRITE'].fields_by_name['shares']._serialized_options = b'\310\336\037\000' + _globals['_EVENTINSURANCEWITHDRAW'].fields_by_name['withdrawal']._loaded_options = None + _globals['_EVENTINSURANCEWITHDRAW'].fields_by_name['withdrawal']._serialized_options = b'\310\336\037\000' + _globals['_EVENTINSURANCEFUNDUPDATE']._serialized_start=172 + _globals['_EVENTINSURANCEFUNDUPDATE']._serialized_end=262 + _globals['_EVENTREQUESTREDEMPTION']._serialized_start=264 + _globals['_EVENTREQUESTREDEMPTION']._serialized_end=365 + _globals['_EVENTWITHDRAWREDEMPTION']._serialized_start=368 + _globals['_EVENTWITHDRAWREDEMPTION']._serialized_end=536 + _globals['_EVENTUNDERWRITE']._serialized_start=539 + _globals['_EVENTUNDERWRITE']._serialized_end=734 + _globals['_EVENTINSURANCEWITHDRAW']._serialized_start=737 + _globals['_EVENTINSURANCEWITHDRAW']._serialized_end=892 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py +++ b/pyinjective/proto/injective/insurance/v1beta1/events_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py index 36ac36e2..684b7b57 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2.py @@ -7,36 +7,29 @@ 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 pyinjective.proto.injective.insurance.v1beta1 import ( - insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2, -) +from pyinjective.proto.injective.insurance.v1beta1 import insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n)injective/insurance/v1beta1/genesis.proto\x12\x1binjective.insurance.v1beta1\x1a+injective/insurance/v1beta1/insurance.proto\x1a\x14gogoproto/gogo.proto\"\x82\x03\n\x0cGenesisState\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12Y\n\x0finsurance_funds\x18\x02 \x03(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundB\x04\xc8\xde\x1f\x00R\x0einsuranceFunds\x12\x66\n\x13redemption_schedule\x18\x03 \x03(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleB\x04\xc8\xde\x1f\x00R\x12redemptionSchedule\x12-\n\x13next_share_denom_id\x18\x04 \x01(\x04R\x10nextShareDenomId\x12=\n\x1bnext_redemption_schedule_id\x18\x05 \x01(\x04R\x18nextRedemptionScheduleIdB\x8e\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0cGenesisProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3" -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/insurance/v1beta1/genesis.proto\x12\x1binjective.insurance.v1beta1\x1a+injective/insurance/v1beta1/insurance.proto\x1a\x14gogoproto/gogo.proto\"\x82\x03\n\x0cGenesisState\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12Y\n\x0finsurance_funds\x18\x02 \x03(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundB\x04\xc8\xde\x1f\x00R\x0einsuranceFunds\x12\x66\n\x13redemption_schedule\x18\x03 \x03(\x0b\x32/.injective.insurance.v1beta1.RedemptionScheduleB\x04\xc8\xde\x1f\x00R\x12redemptionSchedule\x12-\n\x13next_share_denom_id\x18\x04 \x01(\x04R\x10nextShareDenomId\x12=\n\x1bnext_redemption_schedule_id\x18\x05 \x01(\x04R\x18nextRedemptionScheduleIdB\x8e\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0cGenesisProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.insurance.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\037com.injective.insurance.v1beta1B\014GenesisProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1" - ) - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["insurance_funds"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["insurance_funds"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["redemption_schedule"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["redemption_schedule"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"]._serialized_start = 142 - _globals["_GENESISSTATE"]._serialized_end = 528 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\014GenesisProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['insurance_funds']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['insurance_funds']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['redemption_schedule']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['redemption_schedule']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=142 + _globals['_GENESISSTATE']._serialized_end=528 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/injective/insurance/v1beta1/genesis_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py index efb5836a..f62013cb 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py @@ -7,7 +7,6 @@ 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() @@ -21,48 +20,32 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n+injective/insurance/v1beta1/insurance.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto"\xd7\x01\n\x06Params\x12\xb1\x01\n)default_redemption_notice_period_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB<\xc8\xde\x1f\x00\xf2\xde\x1f\x30yaml:"default_redemption_notice_period_duration"\x98\xdf\x1f\x01R%defaultRedemptionNoticePeriodDuration:\x19\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x10insurance/Params"\xec\x04\n\rInsuranceFund\x12#\n\rdeposit_denom\x18\x01 \x01(\tR\x0c\x64\x65positDenom\x12;\n\x1ainsurance_pool_token_denom\x18\x02 \x01(\tR\x17insurancePoolTokenDenom\x12\x9a\x01\n!redemption_notice_period_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB4\xc8\xde\x1f\x00\xf2\xde\x1f(yaml:"redemption_notice_period_duration"\x98\xdf\x1f\x01R\x1eredemptionNoticePeriodDuration\x12\x37\n\x07\x62\x61lance\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07\x62\x61lance\x12>\n\x0btotal_share\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\ntotalShare\x12\x1b\n\tmarket_id\x18\x06 \x01(\tR\x08marketId\x12#\n\rmarket_ticker\x18\x07 \x01(\tR\x0cmarketTicker\x12\x1f\n\x0boracle_base\x18\x08 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\t \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\n \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\x0b \x01(\x03R\x06\x65xpiry"\xb1\x02\n\x12RedemptionSchedule\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x1a\n\x08marketId\x18\x02 \x01(\tR\x08marketId\x12\x1a\n\x08redeemer\x18\x03 \x01(\tR\x08redeemer\x12\x84\x01\n\x19\x63laimable_redemption_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB,\xc8\xde\x1f\x00\xf2\xde\x1f yaml:"claimable_redemption_time"\x90\xdf\x1f\x01R\x17\x63laimableRedemptionTime\x12L\n\x11redemption_amount\x18\x05 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x10redemptionAmountB\x90\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0eInsuranceProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+injective/insurance/v1beta1/insurance.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\xd7\x01\n\x06Params\x12\xb1\x01\n)default_redemption_notice_period_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB<\xc8\xde\x1f\x00\xf2\xde\x1f\x30yaml:\"default_redemption_notice_period_duration\"\x98\xdf\x1f\x01R%defaultRedemptionNoticePeriodDuration:\x19\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x10insurance/Params\"\xec\x04\n\rInsuranceFund\x12#\n\rdeposit_denom\x18\x01 \x01(\tR\x0c\x64\x65positDenom\x12;\n\x1ainsurance_pool_token_denom\x18\x02 \x01(\tR\x17insurancePoolTokenDenom\x12\x9a\x01\n!redemption_notice_period_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB4\xc8\xde\x1f\x00\xf2\xde\x1f(yaml:\"redemption_notice_period_duration\"\x98\xdf\x1f\x01R\x1eredemptionNoticePeriodDuration\x12\x37\n\x07\x62\x61lance\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07\x62\x61lance\x12>\n\x0btotal_share\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\ntotalShare\x12\x1b\n\tmarket_id\x18\x06 \x01(\tR\x08marketId\x12#\n\rmarket_ticker\x18\x07 \x01(\tR\x0cmarketTicker\x12\x1f\n\x0boracle_base\x18\x08 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\t \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\n \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\x0b \x01(\x03R\x06\x65xpiry\"\xb1\x02\n\x12RedemptionSchedule\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x1a\n\x08marketId\x18\x02 \x01(\tR\x08marketId\x12\x1a\n\x08redeemer\x18\x03 \x01(\tR\x08redeemer\x12\x84\x01\n\x19\x63laimable_redemption_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB,\xc8\xde\x1f\x00\xf2\xde\x1f yaml:\"claimable_redemption_time\"\x90\xdf\x1f\x01R\x17\x63laimableRedemptionTime\x12L\n\x11redemption_amount\x18\x05 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x10redemptionAmountB\x90\x02\n\x1f\x63om.injective.insurance.v1beta1B\x0eInsuranceProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.insurance.v1beta1.insurance_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.insurance_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\037com.injective.insurance.v1beta1B\016InsuranceProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1" - ) - _globals["_PARAMS"].fields_by_name["default_redemption_notice_period_duration"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "default_redemption_notice_period_duration" - ]._serialized_options = ( - b'\310\336\037\000\362\336\0370yaml:"default_redemption_notice_period_duration"\230\337\037\001' - ) - _globals["_PARAMS"]._loaded_options = None - _globals["_PARAMS"]._serialized_options = b"\350\240\037\001\212\347\260*\020insurance/Params" - _globals["_INSURANCEFUND"].fields_by_name["redemption_notice_period_duration"]._loaded_options = None - _globals["_INSURANCEFUND"].fields_by_name[ - "redemption_notice_period_duration" - ]._serialized_options = b'\310\336\037\000\362\336\037(yaml:"redemption_notice_period_duration"\230\337\037\001' - _globals["_INSURANCEFUND"].fields_by_name["balance"]._loaded_options = None - _globals["_INSURANCEFUND"].fields_by_name[ - "balance" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_INSURANCEFUND"].fields_by_name["total_share"]._loaded_options = None - _globals["_INSURANCEFUND"].fields_by_name[ - "total_share" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_REDEMPTIONSCHEDULE"].fields_by_name["claimable_redemption_time"]._loaded_options = None - _globals["_REDEMPTIONSCHEDULE"].fields_by_name[ - "claimable_redemption_time" - ]._serialized_options = b'\310\336\037\000\362\336\037 yaml:"claimable_redemption_time"\220\337\037\001' - _globals["_REDEMPTIONSCHEDULE"].fields_by_name["redemption_amount"]._loaded_options = None - _globals["_REDEMPTIONSCHEDULE"].fields_by_name["redemption_amount"]._serialized_options = b"\310\336\037\000" - _globals["_PARAMS"]._serialized_start = 254 - _globals["_PARAMS"]._serialized_end = 469 - _globals["_INSURANCEFUND"]._serialized_start = 472 - _globals["_INSURANCEFUND"]._serialized_end = 1092 - _globals["_REDEMPTIONSCHEDULE"]._serialized_start = 1095 - _globals["_REDEMPTIONSCHEDULE"]._serialized_end = 1400 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\016InsuranceProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' + _globals['_PARAMS'].fields_by_name['default_redemption_notice_period_duration']._loaded_options = None + _globals['_PARAMS'].fields_by_name['default_redemption_notice_period_duration']._serialized_options = b'\310\336\037\000\362\336\0370yaml:\"default_redemption_notice_period_duration\"\230\337\037\001' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\020insurance/Params' + _globals['_INSURANCEFUND'].fields_by_name['redemption_notice_period_duration']._loaded_options = None + _globals['_INSURANCEFUND'].fields_by_name['redemption_notice_period_duration']._serialized_options = b'\310\336\037\000\362\336\037(yaml:\"redemption_notice_period_duration\"\230\337\037\001' + _globals['_INSURANCEFUND'].fields_by_name['balance']._loaded_options = None + _globals['_INSURANCEFUND'].fields_by_name['balance']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_INSURANCEFUND'].fields_by_name['total_share']._loaded_options = None + _globals['_INSURANCEFUND'].fields_by_name['total_share']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_REDEMPTIONSCHEDULE'].fields_by_name['claimable_redemption_time']._loaded_options = None + _globals['_REDEMPTIONSCHEDULE'].fields_by_name['claimable_redemption_time']._serialized_options = b'\310\336\037\000\362\336\037 yaml:\"claimable_redemption_time\"\220\337\037\001' + _globals['_REDEMPTIONSCHEDULE'].fields_by_name['redemption_amount']._loaded_options = None + _globals['_REDEMPTIONSCHEDULE'].fields_by_name['redemption_amount']._serialized_options = b'\310\336\037\000' + _globals['_PARAMS']._serialized_start=254 + _globals['_PARAMS']._serialized_end=469 + _globals['_INSURANCEFUND']._serialized_start=472 + _globals['_INSURANCEFUND']._serialized_end=1092 + _globals['_REDEMPTIONSCHEDULE']._serialized_start=1095 + _globals['_REDEMPTIONSCHEDULE']._serialized_end=1400 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2_grpc.py +++ b/pyinjective/proto/injective/insurance/v1beta1/insurance_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py index c29e3a67..2562ac5a 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/query_pb2.py @@ -7,91 +7,70 @@ 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 pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.injective.insurance.v1beta1 import ( - insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2, -) +from pyinjective.proto.injective.insurance.v1beta1 import insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.injective.insurance.v1beta1 import ( - genesis_pb2 as injective_dot_insurance_dot_v1beta1_dot_genesis__pb2, -) +from pyinjective.proto.injective.insurance.v1beta1 import genesis_pb2 as injective_dot_insurance_dot_v1beta1_dot_genesis__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\'injective/insurance/v1beta1/query.proto\x12\x1binjective.insurance.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a+injective/insurance/v1beta1/insurance.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a)injective/insurance/v1beta1/genesis.proto"\x1d\n\x1bQueryInsuranceParamsRequest"a\n\x1cQueryInsuranceParamsResponse\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"8\n\x19QueryInsuranceFundRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId"\\\n\x1aQueryInsuranceFundResponse\x12>\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundR\x04\x66und"\x1c\n\x1aQueryInsuranceFundsRequest"e\n\x1bQueryInsuranceFundsResponse\x12\x46\n\x05\x66unds\x18\x01 \x03(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundB\x04\xc8\xde\x1f\x00R\x05\x66unds"X\n QueryEstimatedRedemptionsRequest\x12\x1a\n\x08marketId\x18\x01 \x01(\tR\x08marketId\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress"\\\n!QueryEstimatedRedemptionsResponse\x12\x37\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"V\n\x1eQueryPendingRedemptionsRequest\x12\x1a\n\x08marketId\x18\x01 \x01(\tR\x08marketId\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress"Z\n\x1fQueryPendingRedemptionsResponse\x12\x37\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"\x19\n\x17QueryModuleStateRequest"[\n\x18QueryModuleStateResponse\x12?\n\x05state\x18\x01 \x01(\x0b\x32).injective.insurance.v1beta1.GenesisStateR\x05state2\x96\t\n\x05Query\x12\xb3\x01\n\x0fInsuranceParams\x12\x38.injective.insurance.v1beta1.QueryInsuranceParamsRequest\x1a\x39.injective.insurance.v1beta1.QueryInsuranceParamsResponse"+\x82\xd3\xe4\x93\x02%\x12#/injective/insurance/v1beta1/params\x12\xc1\x01\n\rInsuranceFund\x12\x36.injective.insurance.v1beta1.QueryInsuranceFundRequest\x1a\x37.injective.insurance.v1beta1.QueryInsuranceFundResponse"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/insurance/v1beta1/insurance_fund/{market_id}\x12\xb9\x01\n\x0eInsuranceFunds\x12\x37.injective.insurance.v1beta1.QueryInsuranceFundsRequest\x1a\x38.injective.insurance.v1beta1.QueryInsuranceFundsResponse"4\x82\xd3\xe4\x93\x02.\x12,/injective/insurance/v1beta1/insurance_funds\x12\xd1\x01\n\x14\x45stimatedRedemptions\x12=.injective.insurance.v1beta1.QueryEstimatedRedemptionsRequest\x1a>.injective.insurance.v1beta1.QueryEstimatedRedemptionsResponse":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/insurance/v1beta1/estimated_redemptions\x12\xc9\x01\n\x12PendingRedemptions\x12;.injective.insurance.v1beta1.QueryPendingRedemptionsRequest\x1a<.injective.insurance.v1beta1.QueryPendingRedemptionsResponse"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/insurance/v1beta1/pending_redemptions\x12\xb6\x01\n\x14InsuranceModuleState\x12\x34.injective.insurance.v1beta1.QueryModuleStateRequest\x1a\x35.injective.insurance.v1beta1.QueryModuleStateResponse"1\x82\xd3\xe4\x93\x02+\x12)/injective/insurance/v1beta1/module_stateB\x8c\x02\n\x1f\x63om.injective.insurance.v1beta1B\nQueryProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/insurance/v1beta1/query.proto\x12\x1binjective.insurance.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a+injective/insurance/v1beta1/insurance.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a)injective/insurance/v1beta1/genesis.proto\"\x1d\n\x1bQueryInsuranceParamsRequest\"a\n\x1cQueryInsuranceParamsResponse\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"8\n\x19QueryInsuranceFundRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\\\n\x1aQueryInsuranceFundResponse\x12>\n\x04\x66und\x18\x01 \x01(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundR\x04\x66und\"\x1c\n\x1aQueryInsuranceFundsRequest\"e\n\x1bQueryInsuranceFundsResponse\x12\x46\n\x05\x66unds\x18\x01 \x03(\x0b\x32*.injective.insurance.v1beta1.InsuranceFundB\x04\xc8\xde\x1f\x00R\x05\x66unds\"X\n QueryEstimatedRedemptionsRequest\x12\x1a\n\x08marketId\x18\x01 \x01(\tR\x08marketId\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"\\\n!QueryEstimatedRedemptionsResponse\x12\x37\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"V\n\x1eQueryPendingRedemptionsRequest\x12\x1a\n\x08marketId\x18\x01 \x01(\tR\x08marketId\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"Z\n\x1fQueryPendingRedemptionsResponse\x12\x37\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\x19\n\x17QueryModuleStateRequest\"[\n\x18QueryModuleStateResponse\x12?\n\x05state\x18\x01 \x01(\x0b\x32).injective.insurance.v1beta1.GenesisStateR\x05state2\x96\t\n\x05Query\x12\xb3\x01\n\x0fInsuranceParams\x12\x38.injective.insurance.v1beta1.QueryInsuranceParamsRequest\x1a\x39.injective.insurance.v1beta1.QueryInsuranceParamsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/injective/insurance/v1beta1/params\x12\xc1\x01\n\rInsuranceFund\x12\x36.injective.insurance.v1beta1.QueryInsuranceFundRequest\x1a\x37.injective.insurance.v1beta1.QueryInsuranceFundResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/insurance/v1beta1/insurance_fund/{market_id}\x12\xb9\x01\n\x0eInsuranceFunds\x12\x37.injective.insurance.v1beta1.QueryInsuranceFundsRequest\x1a\x38.injective.insurance.v1beta1.QueryInsuranceFundsResponse\"4\x82\xd3\xe4\x93\x02.\x12,/injective/insurance/v1beta1/insurance_funds\x12\xd1\x01\n\x14\x45stimatedRedemptions\x12=.injective.insurance.v1beta1.QueryEstimatedRedemptionsRequest\x1a>.injective.insurance.v1beta1.QueryEstimatedRedemptionsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/insurance/v1beta1/estimated_redemptions\x12\xc9\x01\n\x12PendingRedemptions\x12;.injective.insurance.v1beta1.QueryPendingRedemptionsRequest\x1a<.injective.insurance.v1beta1.QueryPendingRedemptionsResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/insurance/v1beta1/pending_redemptions\x12\xb6\x01\n\x14InsuranceModuleState\x12\x34.injective.insurance.v1beta1.QueryModuleStateRequest\x1a\x35.injective.insurance.v1beta1.QueryModuleStateResponse\"1\x82\xd3\xe4\x93\x02+\x12)/injective/insurance/v1beta1/module_stateB\x8c\x02\n\x1f\x63om.injective.insurance.v1beta1B\nQueryProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.insurance.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\037com.injective.insurance.v1beta1B\nQueryProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1" - ) - _globals["_QUERYINSURANCEPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None - _globals["_QUERYINSURANCEPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYINSURANCEFUNDSRESPONSE"].fields_by_name["funds"]._loaded_options = None - _globals["_QUERYINSURANCEFUNDSRESPONSE"].fields_by_name["funds"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYESTIMATEDREDEMPTIONSRESPONSE"].fields_by_name["amount"]._loaded_options = None - _globals["_QUERYESTIMATEDREDEMPTIONSRESPONSE"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYPENDINGREDEMPTIONSRESPONSE"].fields_by_name["amount"]._loaded_options = None - _globals["_QUERYPENDINGREDEMPTIONSRESPONSE"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" - _globals["_QUERY"].methods_by_name["InsuranceParams"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "InsuranceParams" - ]._serialized_options = b"\202\323\344\223\002%\022#/injective/insurance/v1beta1/params" - _globals["_QUERY"].methods_by_name["InsuranceFund"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "InsuranceFund" - ]._serialized_options = b"\202\323\344\223\0029\0227/injective/insurance/v1beta1/insurance_fund/{market_id}" - _globals["_QUERY"].methods_by_name["InsuranceFunds"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "InsuranceFunds" - ]._serialized_options = b"\202\323\344\223\002.\022,/injective/insurance/v1beta1/insurance_funds" - _globals["_QUERY"].methods_by_name["EstimatedRedemptions"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "EstimatedRedemptions" - ]._serialized_options = b"\202\323\344\223\0024\0222/injective/insurance/v1beta1/estimated_redemptions" - _globals["_QUERY"].methods_by_name["PendingRedemptions"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "PendingRedemptions" - ]._serialized_options = b"\202\323\344\223\0022\0220/injective/insurance/v1beta1/pending_redemptions" - _globals["_QUERY"].methods_by_name["InsuranceModuleState"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "InsuranceModuleState" - ]._serialized_options = b"\202\323\344\223\002+\022)/injective/insurance/v1beta1/module_state" - _globals["_QUERYINSURANCEPARAMSREQUEST"]._serialized_start = 244 - _globals["_QUERYINSURANCEPARAMSREQUEST"]._serialized_end = 273 - _globals["_QUERYINSURANCEPARAMSRESPONSE"]._serialized_start = 275 - _globals["_QUERYINSURANCEPARAMSRESPONSE"]._serialized_end = 372 - _globals["_QUERYINSURANCEFUNDREQUEST"]._serialized_start = 374 - _globals["_QUERYINSURANCEFUNDREQUEST"]._serialized_end = 430 - _globals["_QUERYINSURANCEFUNDRESPONSE"]._serialized_start = 432 - _globals["_QUERYINSURANCEFUNDRESPONSE"]._serialized_end = 524 - _globals["_QUERYINSURANCEFUNDSREQUEST"]._serialized_start = 526 - _globals["_QUERYINSURANCEFUNDSREQUEST"]._serialized_end = 554 - _globals["_QUERYINSURANCEFUNDSRESPONSE"]._serialized_start = 556 - _globals["_QUERYINSURANCEFUNDSRESPONSE"]._serialized_end = 657 - _globals["_QUERYESTIMATEDREDEMPTIONSREQUEST"]._serialized_start = 659 - _globals["_QUERYESTIMATEDREDEMPTIONSREQUEST"]._serialized_end = 747 - _globals["_QUERYESTIMATEDREDEMPTIONSRESPONSE"]._serialized_start = 749 - _globals["_QUERYESTIMATEDREDEMPTIONSRESPONSE"]._serialized_end = 841 - _globals["_QUERYPENDINGREDEMPTIONSREQUEST"]._serialized_start = 843 - _globals["_QUERYPENDINGREDEMPTIONSREQUEST"]._serialized_end = 929 - _globals["_QUERYPENDINGREDEMPTIONSRESPONSE"]._serialized_start = 931 - _globals["_QUERYPENDINGREDEMPTIONSRESPONSE"]._serialized_end = 1021 - _globals["_QUERYMODULESTATEREQUEST"]._serialized_start = 1023 - _globals["_QUERYMODULESTATEREQUEST"]._serialized_end = 1048 - _globals["_QUERYMODULESTATERESPONSE"]._serialized_start = 1050 - _globals["_QUERYMODULESTATERESPONSE"]._serialized_end = 1141 - _globals["_QUERY"]._serialized_start = 1144 - _globals["_QUERY"]._serialized_end = 2318 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\nQueryProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' + _globals['_QUERYINSURANCEPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYINSURANCEPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_QUERYINSURANCEFUNDSRESPONSE'].fields_by_name['funds']._loaded_options = None + _globals['_QUERYINSURANCEFUNDSRESPONSE'].fields_by_name['funds']._serialized_options = b'\310\336\037\000' + _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE'].fields_by_name['amount']._loaded_options = None + _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_QUERYPENDINGREDEMPTIONSRESPONSE'].fields_by_name['amount']._loaded_options = None + _globals['_QUERYPENDINGREDEMPTIONSRESPONSE'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_QUERY'].methods_by_name['InsuranceParams']._loaded_options = None + _globals['_QUERY'].methods_by_name['InsuranceParams']._serialized_options = b'\202\323\344\223\002%\022#/injective/insurance/v1beta1/params' + _globals['_QUERY'].methods_by_name['InsuranceFund']._loaded_options = None + _globals['_QUERY'].methods_by_name['InsuranceFund']._serialized_options = b'\202\323\344\223\0029\0227/injective/insurance/v1beta1/insurance_fund/{market_id}' + _globals['_QUERY'].methods_by_name['InsuranceFunds']._loaded_options = None + _globals['_QUERY'].methods_by_name['InsuranceFunds']._serialized_options = b'\202\323\344\223\002.\022,/injective/insurance/v1beta1/insurance_funds' + _globals['_QUERY'].methods_by_name['EstimatedRedemptions']._loaded_options = None + _globals['_QUERY'].methods_by_name['EstimatedRedemptions']._serialized_options = b'\202\323\344\223\0024\0222/injective/insurance/v1beta1/estimated_redemptions' + _globals['_QUERY'].methods_by_name['PendingRedemptions']._loaded_options = None + _globals['_QUERY'].methods_by_name['PendingRedemptions']._serialized_options = b'\202\323\344\223\0022\0220/injective/insurance/v1beta1/pending_redemptions' + _globals['_QUERY'].methods_by_name['InsuranceModuleState']._loaded_options = None + _globals['_QUERY'].methods_by_name['InsuranceModuleState']._serialized_options = b'\202\323\344\223\002+\022)/injective/insurance/v1beta1/module_state' + _globals['_QUERYINSURANCEPARAMSREQUEST']._serialized_start=244 + _globals['_QUERYINSURANCEPARAMSREQUEST']._serialized_end=273 + _globals['_QUERYINSURANCEPARAMSRESPONSE']._serialized_start=275 + _globals['_QUERYINSURANCEPARAMSRESPONSE']._serialized_end=372 + _globals['_QUERYINSURANCEFUNDREQUEST']._serialized_start=374 + _globals['_QUERYINSURANCEFUNDREQUEST']._serialized_end=430 + _globals['_QUERYINSURANCEFUNDRESPONSE']._serialized_start=432 + _globals['_QUERYINSURANCEFUNDRESPONSE']._serialized_end=524 + _globals['_QUERYINSURANCEFUNDSREQUEST']._serialized_start=526 + _globals['_QUERYINSURANCEFUNDSREQUEST']._serialized_end=554 + _globals['_QUERYINSURANCEFUNDSRESPONSE']._serialized_start=556 + _globals['_QUERYINSURANCEFUNDSRESPONSE']._serialized_end=657 + _globals['_QUERYESTIMATEDREDEMPTIONSREQUEST']._serialized_start=659 + _globals['_QUERYESTIMATEDREDEMPTIONSREQUEST']._serialized_end=747 + _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE']._serialized_start=749 + _globals['_QUERYESTIMATEDREDEMPTIONSRESPONSE']._serialized_end=841 + _globals['_QUERYPENDINGREDEMPTIONSREQUEST']._serialized_start=843 + _globals['_QUERYPENDINGREDEMPTIONSREQUEST']._serialized_end=929 + _globals['_QUERYPENDINGREDEMPTIONSRESPONSE']._serialized_start=931 + _globals['_QUERYPENDINGREDEMPTIONSRESPONSE']._serialized_end=1021 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=1023 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=1048 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=1050 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=1141 + _globals['_QUERY']._serialized_start=1144 + _globals['_QUERY']._serialized_end=2318 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/query_pb2_grpc.py index 5f866b75..3404f464 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/injective/insurance/v1beta1/query_pb2_grpc.py @@ -2,13 +2,12 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.injective.insurance.v1beta1 import ( - query_pb2 as injective_dot_insurance_dot_v1beta1_dot_query__pb2, -) +from pyinjective.proto.injective.insurance.v1beta1 import query_pb2 as injective_dot_insurance_dot_v1beta1_dot_query__pb2 class QueryStub(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -17,144 +16,144 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.InsuranceParams = channel.unary_unary( - "/injective.insurance.v1beta1.Query/InsuranceParams", - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsResponse.FromString, - _registered_method=True, - ) + '/injective.insurance.v1beta1.Query/InsuranceParams', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsResponse.FromString, + _registered_method=True) self.InsuranceFund = channel.unary_unary( - "/injective.insurance.v1beta1.Query/InsuranceFund", - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundResponse.FromString, - _registered_method=True, - ) + '/injective.insurance.v1beta1.Query/InsuranceFund', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundResponse.FromString, + _registered_method=True) self.InsuranceFunds = channel.unary_unary( - "/injective.insurance.v1beta1.Query/InsuranceFunds", - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsResponse.FromString, - _registered_method=True, - ) + '/injective.insurance.v1beta1.Query/InsuranceFunds', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsResponse.FromString, + _registered_method=True) self.EstimatedRedemptions = channel.unary_unary( - "/injective.insurance.v1beta1.Query/EstimatedRedemptions", - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsResponse.FromString, - _registered_method=True, - ) + '/injective.insurance.v1beta1.Query/EstimatedRedemptions', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsResponse.FromString, + _registered_method=True) self.PendingRedemptions = channel.unary_unary( - "/injective.insurance.v1beta1.Query/PendingRedemptions", - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsResponse.FromString, - _registered_method=True, - ) + '/injective.insurance.v1beta1.Query/PendingRedemptions', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsResponse.FromString, + _registered_method=True) self.InsuranceModuleState = channel.unary_unary( - "/injective.insurance.v1beta1.Query/InsuranceModuleState", - request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, - _registered_method=True, - ) + '/injective.insurance.v1beta1.Query/InsuranceModuleState', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def InsuranceParams(self, request, context): - """Retrieves insurance params""" + """Retrieves insurance params + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def InsuranceFund(self, request, context): - """Retrieves individual insurance fund information from market id""" + """Retrieves individual insurance fund information from market id + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def InsuranceFunds(self, request, context): - """Retrieves all insurance funds""" + """Retrieves all insurance funds + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def EstimatedRedemptions(self, request, context): """Retrives the value of insurance fund share token at current price (not pending redemption) """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PendingRedemptions(self, request, context): - """Retrieves pending redemptions' share token at current price""" + """Retrieves pending redemptions' share token at current price + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def InsuranceModuleState(self, request, context): - """Retrieves the entire insurance module's state""" + """Retrieves the entire insurance module's state + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "InsuranceParams": grpc.unary_unary_rpc_method_handler( - servicer.InsuranceParams, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsResponse.SerializeToString, - ), - "InsuranceFund": grpc.unary_unary_rpc_method_handler( - servicer.InsuranceFund, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundResponse.SerializeToString, - ), - "InsuranceFunds": grpc.unary_unary_rpc_method_handler( - servicer.InsuranceFunds, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsResponse.SerializeToString, - ), - "EstimatedRedemptions": grpc.unary_unary_rpc_method_handler( - servicer.EstimatedRedemptions, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsResponse.SerializeToString, - ), - "PendingRedemptions": grpc.unary_unary_rpc_method_handler( - servicer.PendingRedemptions, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsResponse.SerializeToString, - ), - "InsuranceModuleState": grpc.unary_unary_rpc_method_handler( - servicer.InsuranceModuleState, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, - ), + 'InsuranceParams': grpc.unary_unary_rpc_method_handler( + servicer.InsuranceParams, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsResponse.SerializeToString, + ), + 'InsuranceFund': grpc.unary_unary_rpc_method_handler( + servicer.InsuranceFund, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundResponse.SerializeToString, + ), + 'InsuranceFunds': grpc.unary_unary_rpc_method_handler( + servicer.InsuranceFunds, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsResponse.SerializeToString, + ), + 'EstimatedRedemptions': grpc.unary_unary_rpc_method_handler( + servicer.EstimatedRedemptions, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsResponse.SerializeToString, + ), + 'PendingRedemptions': grpc.unary_unary_rpc_method_handler( + servicer.PendingRedemptions, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsResponse.SerializeToString, + ), + 'InsuranceModuleState': grpc.unary_unary_rpc_method_handler( + servicer.InsuranceModuleState, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("injective.insurance.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'injective.insurance.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("injective.insurance.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('injective.insurance.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ @staticmethod - def InsuranceParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def InsuranceParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.insurance.v1beta1.Query/InsuranceParams", + '/injective.insurance.v1beta1.Query/InsuranceParams', injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsRequest.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceParamsResponse.FromString, options, @@ -165,26 +164,23 @@ def InsuranceParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def InsuranceFund( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def InsuranceFund(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.insurance.v1beta1.Query/InsuranceFund", + '/injective.insurance.v1beta1.Query/InsuranceFund', injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundRequest.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundResponse.FromString, options, @@ -195,26 +191,23 @@ def InsuranceFund( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def InsuranceFunds( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def InsuranceFunds(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.insurance.v1beta1.Query/InsuranceFunds", + '/injective.insurance.v1beta1.Query/InsuranceFunds', injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsRequest.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryInsuranceFundsResponse.FromString, options, @@ -225,26 +218,23 @@ def InsuranceFunds( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def EstimatedRedemptions( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def EstimatedRedemptions(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.insurance.v1beta1.Query/EstimatedRedemptions", + '/injective.insurance.v1beta1.Query/EstimatedRedemptions', injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsRequest.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryEstimatedRedemptionsResponse.FromString, options, @@ -255,26 +245,23 @@ def EstimatedRedemptions( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PendingRedemptions( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PendingRedemptions(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.insurance.v1beta1.Query/PendingRedemptions", + '/injective.insurance.v1beta1.Query/PendingRedemptions', injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsRequest.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryPendingRedemptionsResponse.FromString, options, @@ -285,26 +272,23 @@ def PendingRedemptions( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def InsuranceModuleState( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def InsuranceModuleState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.insurance.v1beta1.Query/InsuranceModuleState", + '/injective.insurance.v1beta1.Query/InsuranceModuleState', injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, options, @@ -315,5 +299,4 @@ def InsuranceModuleState( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py index 63fca095..b46ec667 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,69 +16,55 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.injective.insurance.v1beta1 import ( - insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2, -) +from pyinjective.proto.injective.insurance.v1beta1 import insurance_pb2 as injective_dot_insurance_dot_v1beta1_dot_insurance__pb2 from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$injective/insurance/v1beta1/tx.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a+injective/insurance/v1beta1/insurance.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto"\x90\x03\n\x16MsgCreateInsuranceFund\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\x07 \x01(\x03R\x06\x65xpiry\x12H\n\x0finitial_deposit\x18\x08 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x0einitialDeposit:8\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* insurance/MsgCreateInsuranceFund" \n\x1eMsgCreateInsuranceFundResponse"\xb0\x01\n\rMsgUnderwrite\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x39\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit:/\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17insurance/MsgUnderwrite"\x17\n\x15MsgUnderwriteResponse"\xbc\x01\n\x14MsgRequestRedemption\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:6\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1einsurance/MsgRequestRedemption"\x1e\n\x1cMsgRequestRedemptionResponse"\xba\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x41\n\x06params\x18\x02 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:,\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x19insurance/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2\xfc\x03\n\x03Msg\x12\x87\x01\n\x13\x43reateInsuranceFund\x12\x33.injective.insurance.v1beta1.MsgCreateInsuranceFund\x1a;.injective.insurance.v1beta1.MsgCreateInsuranceFundResponse\x12l\n\nUnderwrite\x12*.injective.insurance.v1beta1.MsgUnderwrite\x1a\x32.injective.insurance.v1beta1.MsgUnderwriteResponse\x12\x81\x01\n\x11RequestRedemption\x12\x31.injective.insurance.v1beta1.MsgRequestRedemption\x1a\x39.injective.insurance.v1beta1.MsgRequestRedemptionResponse\x12r\n\x0cUpdateParams\x12,.injective.insurance.v1beta1.MsgUpdateParams\x1a\x34.injective.insurance.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x89\x02\n\x1f\x63om.injective.insurance.v1beta1B\x07TxProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/insurance/v1beta1/tx.proto\x12\x1binjective.insurance.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a+injective/insurance/v1beta1/insurance.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\x90\x03\n\x16MsgCreateInsuranceFund\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\x07 \x01(\x03R\x06\x65xpiry\x12H\n\x0finitial_deposit\x18\x08 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x0einitialDeposit:8\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* insurance/MsgCreateInsuranceFund\" \n\x1eMsgCreateInsuranceFundResponse\"\xb0\x01\n\rMsgUnderwrite\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x39\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit:/\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17insurance/MsgUnderwrite\"\x17\n\x15MsgUnderwriteResponse\"\xbc\x01\n\x14MsgRequestRedemption\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:6\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1einsurance/MsgRequestRedemption\"\x1e\n\x1cMsgRequestRedemptionResponse\"\xba\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x41\n\x06params\x18\x02 \x01(\x0b\x32#.injective.insurance.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:,\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x19insurance/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xfc\x03\n\x03Msg\x12\x87\x01\n\x13\x43reateInsuranceFund\x12\x33.injective.insurance.v1beta1.MsgCreateInsuranceFund\x1a;.injective.insurance.v1beta1.MsgCreateInsuranceFundResponse\x12l\n\nUnderwrite\x12*.injective.insurance.v1beta1.MsgUnderwrite\x1a\x32.injective.insurance.v1beta1.MsgUnderwriteResponse\x12\x81\x01\n\x11RequestRedemption\x12\x31.injective.insurance.v1beta1.MsgRequestRedemption\x1a\x39.injective.insurance.v1beta1.MsgRequestRedemptionResponse\x12r\n\x0cUpdateParams\x12,.injective.insurance.v1beta1.MsgUpdateParams\x1a\x34.injective.insurance.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x89\x02\n\x1f\x63om.injective.insurance.v1beta1B\x07TxProtoP\x01ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\xa2\x02\x03IIX\xaa\x02\x1bInjective.Insurance.V1beta1\xca\x02\x1bInjective\\Insurance\\V1beta1\xe2\x02\'Injective\\Insurance\\V1beta1\\GPBMetadata\xea\x02\x1dInjective::Insurance::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.insurance.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.insurance.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\037com.injective.insurance.v1beta1B\007TxProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1" - ) - _globals["_MSGCREATEINSURANCEFUND"].fields_by_name["initial_deposit"]._loaded_options = None - _globals["_MSGCREATEINSURANCEFUND"].fields_by_name["initial_deposit"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCREATEINSURANCEFUND"]._loaded_options = None - _globals["_MSGCREATEINSURANCEFUND"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260* insurance/MsgCreateInsuranceFund" - ) - _globals["_MSGUNDERWRITE"].fields_by_name["deposit"]._loaded_options = None - _globals["_MSGUNDERWRITE"].fields_by_name["deposit"]._serialized_options = b"\310\336\037\000" - _globals["_MSGUNDERWRITE"]._loaded_options = None - _globals["_MSGUNDERWRITE"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\027insurance/MsgUnderwrite" - ) - _globals["_MSGREQUESTREDEMPTION"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGREQUESTREDEMPTION"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" - _globals["_MSGREQUESTREDEMPTION"]._loaded_options = None - _globals["_MSGREQUESTREDEMPTION"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\036insurance/MsgRequestRedemption" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*\031insurance/MsgUpdateParams" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGCREATEINSURANCEFUND"]._serialized_start = 279 - _globals["_MSGCREATEINSURANCEFUND"]._serialized_end = 679 - _globals["_MSGCREATEINSURANCEFUNDRESPONSE"]._serialized_start = 681 - _globals["_MSGCREATEINSURANCEFUNDRESPONSE"]._serialized_end = 713 - _globals["_MSGUNDERWRITE"]._serialized_start = 716 - _globals["_MSGUNDERWRITE"]._serialized_end = 892 - _globals["_MSGUNDERWRITERESPONSE"]._serialized_start = 894 - _globals["_MSGUNDERWRITERESPONSE"]._serialized_end = 917 - _globals["_MSGREQUESTREDEMPTION"]._serialized_start = 920 - _globals["_MSGREQUESTREDEMPTION"]._serialized_end = 1108 - _globals["_MSGREQUESTREDEMPTIONRESPONSE"]._serialized_start = 1110 - _globals["_MSGREQUESTREDEMPTIONRESPONSE"]._serialized_end = 1140 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 1143 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 1329 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1331 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1356 - _globals["_MSG"]._serialized_start = 1359 - _globals["_MSG"]._serialized_end = 1867 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\037com.injective.insurance.v1beta1B\007TxProtoP\001ZOgithub.com/InjectiveLabs/injective-core/injective-chain/modules/insurance/types\242\002\003IIX\252\002\033Injective.Insurance.V1beta1\312\002\033Injective\\Insurance\\V1beta1\342\002\'Injective\\Insurance\\V1beta1\\GPBMetadata\352\002\035Injective::Insurance::V1beta1' + _globals['_MSGCREATEINSURANCEFUND'].fields_by_name['initial_deposit']._loaded_options = None + _globals['_MSGCREATEINSURANCEFUND'].fields_by_name['initial_deposit']._serialized_options = b'\310\336\037\000' + _globals['_MSGCREATEINSURANCEFUND']._loaded_options = None + _globals['_MSGCREATEINSURANCEFUND']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260* insurance/MsgCreateInsuranceFund' + _globals['_MSGUNDERWRITE'].fields_by_name['deposit']._loaded_options = None + _globals['_MSGUNDERWRITE'].fields_by_name['deposit']._serialized_options = b'\310\336\037\000' + _globals['_MSGUNDERWRITE']._loaded_options = None + _globals['_MSGUNDERWRITE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\027insurance/MsgUnderwrite' + _globals['_MSGREQUESTREDEMPTION'].fields_by_name['amount']._loaded_options = None + _globals['_MSGREQUESTREDEMPTION'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_MSGREQUESTREDEMPTION']._loaded_options = None + _globals['_MSGREQUESTREDEMPTION']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\036insurance/MsgRequestRedemption' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\031insurance/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGCREATEINSURANCEFUND']._serialized_start=279 + _globals['_MSGCREATEINSURANCEFUND']._serialized_end=679 + _globals['_MSGCREATEINSURANCEFUNDRESPONSE']._serialized_start=681 + _globals['_MSGCREATEINSURANCEFUNDRESPONSE']._serialized_end=713 + _globals['_MSGUNDERWRITE']._serialized_start=716 + _globals['_MSGUNDERWRITE']._serialized_end=892 + _globals['_MSGUNDERWRITERESPONSE']._serialized_start=894 + _globals['_MSGUNDERWRITERESPONSE']._serialized_end=917 + _globals['_MSGREQUESTREDEMPTION']._serialized_start=920 + _globals['_MSGREQUESTREDEMPTION']._serialized_end=1108 + _globals['_MSGREQUESTREDEMPTIONRESPONSE']._serialized_start=1110 + _globals['_MSGREQUESTREDEMPTIONRESPONSE']._serialized_end=1140 + _globals['_MSGUPDATEPARAMS']._serialized_start=1143 + _globals['_MSGUPDATEPARAMS']._serialized_end=1329 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1331 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1356 + _globals['_MSG']._serialized_start=1359 + _globals['_MSG']._serialized_end=1867 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2_grpc.py index 842c287c..b3f99501 100644 --- a/pyinjective/proto/injective/insurance/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/insurance/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the insurance Msg service.""" + """Msg defines the insurance Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,112 +16,110 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.CreateInsuranceFund = channel.unary_unary( - "/injective.insurance.v1beta1.Msg/CreateInsuranceFund", - request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFund.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFundResponse.FromString, - _registered_method=True, - ) + '/injective.insurance.v1beta1.Msg/CreateInsuranceFund', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFund.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFundResponse.FromString, + _registered_method=True) self.Underwrite = channel.unary_unary( - "/injective.insurance.v1beta1.Msg/Underwrite", - request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwrite.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwriteResponse.FromString, - _registered_method=True, - ) + '/injective.insurance.v1beta1.Msg/Underwrite', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwrite.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwriteResponse.FromString, + _registered_method=True) self.RequestRedemption = channel.unary_unary( - "/injective.insurance.v1beta1.Msg/RequestRedemption", - request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemption.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemptionResponse.FromString, - _registered_method=True, - ) + '/injective.insurance.v1beta1.Msg/RequestRedemption', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemption.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemptionResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( - "/injective.insurance.v1beta1.Msg/UpdateParams", - request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/injective.insurance.v1beta1.Msg/UpdateParams', + request_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the insurance Msg service.""" + """Msg defines the insurance Msg service. + """ def CreateInsuranceFund(self, request, context): - """CreateInsuranceFund defines a method for creating an insurance fund""" + """CreateInsuranceFund defines a method for creating an insurance fund + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Underwrite(self, request, context): """Underwrite defines a method for depositing tokens to underwrite an insurance fund """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RequestRedemption(self, request, context): """RequestRedemption defines a method for requesting a redemption of the sender's insurance fund tokens """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateParams(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "CreateInsuranceFund": grpc.unary_unary_rpc_method_handler( - servicer.CreateInsuranceFund, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFund.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFundResponse.SerializeToString, - ), - "Underwrite": grpc.unary_unary_rpc_method_handler( - servicer.Underwrite, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwrite.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwriteResponse.SerializeToString, - ), - "RequestRedemption": grpc.unary_unary_rpc_method_handler( - servicer.RequestRedemption, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemption.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemptionResponse.SerializeToString, - ), - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + 'CreateInsuranceFund': grpc.unary_unary_rpc_method_handler( + servicer.CreateInsuranceFund, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFund.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFundResponse.SerializeToString, + ), + 'Underwrite': grpc.unary_unary_rpc_method_handler( + servicer.Underwrite, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwrite.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwriteResponse.SerializeToString, + ), + 'RequestRedemption': grpc.unary_unary_rpc_method_handler( + servicer.RequestRedemption, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemption.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemptionResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("injective.insurance.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'injective.insurance.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("injective.insurance.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('injective.insurance.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the insurance Msg service.""" + """Msg defines the insurance Msg service. + """ @staticmethod - def CreateInsuranceFund( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreateInsuranceFund(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.insurance.v1beta1.Msg/CreateInsuranceFund", + '/injective.insurance.v1beta1.Msg/CreateInsuranceFund', injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFund.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgCreateInsuranceFundResponse.FromString, options, @@ -131,26 +130,23 @@ def CreateInsuranceFund( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Underwrite( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Underwrite(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.insurance.v1beta1.Msg/Underwrite", + '/injective.insurance.v1beta1.Msg/Underwrite', injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwrite.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUnderwriteResponse.FromString, options, @@ -161,26 +157,23 @@ def Underwrite( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RequestRedemption( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RequestRedemption(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.insurance.v1beta1.Msg/RequestRedemption", + '/injective.insurance.v1beta1.Msg/RequestRedemption', injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemption.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgRequestRedemptionResponse.FromString, options, @@ -191,26 +184,23 @@ def RequestRedemption( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.insurance.v1beta1.Msg/UpdateParams", + '/injective.insurance.v1beta1.Msg/UpdateParams', injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, injective_dot_insurance_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -221,5 +211,4 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py index 3fd95efa..6fb032f4 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,36 +17,32 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#injective/ocr/v1beta1/genesis.proto\x12\x15injective.ocr.v1beta1\x1a\x1finjective/ocr/v1beta1/ocr.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"\x94\x06\n\x0cGenesisState\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x1d.injective.ocr.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12\x44\n\x0c\x66\x65\x65\x64_configs\x18\x02 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x0b\x66\x65\x65\x64\x43onfigs\x12_\n\x17latest_epoch_and_rounds\x18\x03 \x03(\x0b\x32(.injective.ocr.v1beta1.FeedEpochAndRoundR\x14latestEpochAndRounds\x12V\n\x12\x66\x65\x65\x64_transmissions\x18\x04 \x03(\x0b\x32\'.injective.ocr.v1beta1.FeedTransmissionR\x11\x66\x65\x65\x64Transmissions\x12r\n\x1blatest_aggregator_round_ids\x18\x05 \x03(\x0b\x32\x33.injective.ocr.v1beta1.FeedLatestAggregatorRoundIDsR\x18latestAggregatorRoundIds\x12\x44\n\x0creward_pools\x18\x06 \x03(\x0b\x32!.injective.ocr.v1beta1.RewardPoolR\x0brewardPools\x12Y\n\x17\x66\x65\x65\x64_observation_counts\x18\x07 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedCountsR\x15\x66\x65\x65\x64ObservationCounts\x12[\n\x18\x66\x65\x65\x64_transmission_counts\x18\x08 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedCountsR\x16\x66\x65\x65\x64TransmissionCounts\x12V\n\x12pending_payeeships\x18\t \x03(\x0b\x32\'.injective.ocr.v1beta1.PendingPayeeshipR\x11pendingPayeeships"t\n\x10\x46\x65\x65\x64Transmission\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12G\n\x0ctransmission\x18\x02 \x01(\x0b\x32#.injective.ocr.v1beta1.TransmissionR\x0ctransmission"z\n\x11\x46\x65\x65\x64\x45pochAndRound\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12L\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound"g\n\x1c\x46\x65\x65\x64LatestAggregatorRoundIDs\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12.\n\x13\x61ggregator_round_id\x18\x02 \x01(\x04R\x11\x61ggregatorRoundId"^\n\nRewardPool\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"[\n\nFeedCounts\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x34\n\x06\x63ounts\x18\x02 \x03(\x0b\x32\x1c.injective.ocr.v1beta1.CountR\x06\x63ounts"7\n\x05\x43ount\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount"t\n\x10PendingPayeeship\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12 \n\x0btransmitter\x18\x02 \x01(\tR\x0btransmitter\x12%\n\x0eproposed_payee\x18\x03 \x01(\tR\rproposedPayeeB\xea\x01\n\x19\x63om.injective.ocr.v1beta1B\x0cGenesisProtoP\x01ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\xa2\x02\x03IOX\xaa\x02\x15Injective.Ocr.V1beta1\xca\x02\x15Injective\\Ocr\\V1beta1\xe2\x02!Injective\\Ocr\\V1beta1\\GPBMetadata\xea\x02\x17Injective::Ocr::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#injective/ocr/v1beta1/genesis.proto\x12\x15injective.ocr.v1beta1\x1a\x1finjective/ocr/v1beta1/ocr.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x94\x06\n\x0cGenesisState\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x1d.injective.ocr.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12\x44\n\x0c\x66\x65\x65\x64_configs\x18\x02 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x0b\x66\x65\x65\x64\x43onfigs\x12_\n\x17latest_epoch_and_rounds\x18\x03 \x03(\x0b\x32(.injective.ocr.v1beta1.FeedEpochAndRoundR\x14latestEpochAndRounds\x12V\n\x12\x66\x65\x65\x64_transmissions\x18\x04 \x03(\x0b\x32\'.injective.ocr.v1beta1.FeedTransmissionR\x11\x66\x65\x65\x64Transmissions\x12r\n\x1blatest_aggregator_round_ids\x18\x05 \x03(\x0b\x32\x33.injective.ocr.v1beta1.FeedLatestAggregatorRoundIDsR\x18latestAggregatorRoundIds\x12\x44\n\x0creward_pools\x18\x06 \x03(\x0b\x32!.injective.ocr.v1beta1.RewardPoolR\x0brewardPools\x12Y\n\x17\x66\x65\x65\x64_observation_counts\x18\x07 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedCountsR\x15\x66\x65\x65\x64ObservationCounts\x12[\n\x18\x66\x65\x65\x64_transmission_counts\x18\x08 \x03(\x0b\x32!.injective.ocr.v1beta1.FeedCountsR\x16\x66\x65\x65\x64TransmissionCounts\x12V\n\x12pending_payeeships\x18\t \x03(\x0b\x32\'.injective.ocr.v1beta1.PendingPayeeshipR\x11pendingPayeeships\"t\n\x10\x46\x65\x65\x64Transmission\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12G\n\x0ctransmission\x18\x02 \x01(\x0b\x32#.injective.ocr.v1beta1.TransmissionR\x0ctransmission\"z\n\x11\x46\x65\x65\x64\x45pochAndRound\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12L\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound\"g\n\x1c\x46\x65\x65\x64LatestAggregatorRoundIDs\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12.\n\x13\x61ggregator_round_id\x18\x02 \x01(\x04R\x11\x61ggregatorRoundId\"^\n\nRewardPool\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"[\n\nFeedCounts\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x34\n\x06\x63ounts\x18\x02 \x03(\x0b\x32\x1c.injective.ocr.v1beta1.CountR\x06\x63ounts\"7\n\x05\x43ount\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\"t\n\x10PendingPayeeship\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12 \n\x0btransmitter\x18\x02 \x01(\tR\x0btransmitter\x12%\n\x0eproposed_payee\x18\x03 \x01(\tR\rproposedPayeeB\xea\x01\n\x19\x63om.injective.ocr.v1beta1B\x0cGenesisProtoP\x01ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\xa2\x02\x03IOX\xaa\x02\x15Injective.Ocr.V1beta1\xca\x02\x15Injective\\Ocr\\V1beta1\xe2\x02!Injective\\Ocr\\V1beta1\\GPBMetadata\xea\x02\x17Injective::Ocr::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.ocr.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.ocr.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\031com.injective.ocr.v1beta1B\014GenesisProtoP\001ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\242\002\003IOX\252\002\025Injective.Ocr.V1beta1\312\002\025Injective\\Ocr\\V1beta1\342\002!Injective\\Ocr\\V1beta1\\GPBMetadata\352\002\027Injective::Ocr::V1beta1" - ) - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_REWARDPOOL"].fields_by_name["amount"]._loaded_options = None - _globals["_REWARDPOOL"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"]._serialized_start = 150 - _globals["_GENESISSTATE"]._serialized_end = 938 - _globals["_FEEDTRANSMISSION"]._serialized_start = 940 - _globals["_FEEDTRANSMISSION"]._serialized_end = 1056 - _globals["_FEEDEPOCHANDROUND"]._serialized_start = 1058 - _globals["_FEEDEPOCHANDROUND"]._serialized_end = 1180 - _globals["_FEEDLATESTAGGREGATORROUNDIDS"]._serialized_start = 1182 - _globals["_FEEDLATESTAGGREGATORROUNDIDS"]._serialized_end = 1285 - _globals["_REWARDPOOL"]._serialized_start = 1287 - _globals["_REWARDPOOL"]._serialized_end = 1381 - _globals["_FEEDCOUNTS"]._serialized_start = 1383 - _globals["_FEEDCOUNTS"]._serialized_end = 1474 - _globals["_COUNT"]._serialized_start = 1476 - _globals["_COUNT"]._serialized_end = 1531 - _globals["_PENDINGPAYEESHIP"]._serialized_start = 1533 - _globals["_PENDINGPAYEESHIP"]._serialized_end = 1649 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.injective.ocr.v1beta1B\014GenesisProtoP\001ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\242\002\003IOX\252\002\025Injective.Ocr.V1beta1\312\002\025Injective\\Ocr\\V1beta1\342\002!Injective\\Ocr\\V1beta1\\GPBMetadata\352\002\027Injective::Ocr::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_REWARDPOOL'].fields_by_name['amount']._loaded_options = None + _globals['_REWARDPOOL'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=150 + _globals['_GENESISSTATE']._serialized_end=938 + _globals['_FEEDTRANSMISSION']._serialized_start=940 + _globals['_FEEDTRANSMISSION']._serialized_end=1056 + _globals['_FEEDEPOCHANDROUND']._serialized_start=1058 + _globals['_FEEDEPOCHANDROUND']._serialized_end=1180 + _globals['_FEEDLATESTAGGREGATORROUNDIDS']._serialized_start=1182 + _globals['_FEEDLATESTAGGREGATORROUNDIDS']._serialized_end=1285 + _globals['_REWARDPOOL']._serialized_start=1287 + _globals['_REWARDPOOL']._serialized_end=1381 + _globals['_FEEDCOUNTS']._serialized_start=1383 + _globals['_FEEDCOUNTS']._serialized_end=1474 + _globals['_COUNT']._serialized_start=1476 + _globals['_COUNT']._serialized_end=1531 + _globals['_PENDINGPAYEESHIP']._serialized_start=1533 + _globals['_PENDINGPAYEESHIP']._serialized_end=1649 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/injective/ocr/v1beta1/genesis_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py index d8c61fa4..3bd0c99d 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py +++ b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,136 +19,96 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1finjective/ocr/v1beta1/ocr.proto\x12\x15injective.ocr.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x11\x61mino/amino.proto"\x93\x01\n\x06Params\x12\x1d\n\nlink_denom\x18\x01 \x01(\tR\tlinkDenom\x12\x32\n\x15payout_block_interval\x18\x02 \x01(\x04R\x13payoutBlockInterval\x12!\n\x0cmodule_admin\x18\x03 \x01(\tR\x0bmoduleAdmin:\x13\xe8\xa0\x1f\x01\x8a\xe7\xb0*\nocr/Params"\xaa\x02\n\nFeedConfig\x12\x18\n\x07signers\x18\x01 \x03(\tR\x07signers\x12"\n\x0ctransmitters\x18\x02 \x03(\tR\x0ctransmitters\x12\x0c\n\x01\x66\x18\x03 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x04 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x05 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x06 \x01(\x0cR\x0eoffchainConfig\x12H\n\rmodule_params\x18\x07 \x01(\x0b\x32#.injective.ocr.v1beta1.ModuleParamsR\x0cmoduleParams"\xbe\x01\n\x0e\x46\x65\x65\x64\x43onfigInfo\x12\x30\n\x14latest_config_digest\x18\x01 \x01(\x0cR\x12latestConfigDigest\x12\x0c\n\x01\x66\x18\x02 \x01(\rR\x01\x66\x12\x0c\n\x01n\x18\x03 \x01(\rR\x01n\x12!\n\x0c\x63onfig_count\x18\x04 \x01(\x04R\x0b\x63onfigCount\x12;\n\x1alatest_config_block_number\x18\x05 \x01(\x03R\x17latestConfigBlockNumber"\xff\x03\n\x0cModuleParams\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x42\n\nmin_answer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tminAnswer\x12\x42\n\nmax_answer\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmaxAnswer\x12O\n\x14link_per_observation\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x12linkPerObservation\x12Q\n\x15link_per_transmission\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x13linkPerTransmission\x12\x1d\n\nlink_denom\x18\x06 \x01(\tR\tlinkDenom\x12%\n\x0eunique_reports\x18\x07 \x01(\x08R\runiqueReports\x12 \n\x0b\x64\x65scription\x18\x08 \x01(\tR\x0b\x64\x65scription\x12\x1d\n\nfeed_admin\x18\t \x01(\tR\tfeedAdmin\x12#\n\rbilling_admin\x18\n \x01(\tR\x0c\x62illingAdmin"\x87\x02\n\x0e\x43ontractConfig\x12!\n\x0c\x63onfig_count\x18\x01 \x01(\x04R\x0b\x63onfigCount\x12\x18\n\x07signers\x18\x02 \x03(\tR\x07signers\x12"\n\x0ctransmitters\x18\x03 \x03(\tR\x0ctransmitters\x12\x0c\n\x01\x66\x18\x04 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x05 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x06 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x07 \x01(\x0cR\x0eoffchainConfig"\xc8\x01\n\x11SetConfigProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x06\x63onfig\x18\x03 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x06\x63onfig:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15ocr/SetConfigProposal"\xb4\x04\n\x0e\x46\x65\x65\x64Properties\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x0c\n\x01\x66\x18\x02 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x03 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x04 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x05 \x01(\x0cR\x0eoffchainConfig\x12\x42\n\nmin_answer\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tminAnswer\x12\x42\n\nmax_answer\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmaxAnswer\x12O\n\x14link_per_observation\x18\x08 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x12linkPerObservation\x12Q\n\x15link_per_transmission\x18\t \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x13linkPerTransmission\x12%\n\x0eunique_reports\x18\n \x01(\x08R\runiqueReports\x12 \n\x0b\x64\x65scription\x18\x0b \x01(\tR\x0b\x64\x65scription"\xc4\x02\n\x16SetBatchConfigProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x18\n\x07signers\x18\x03 \x03(\tR\x07signers\x12"\n\x0ctransmitters\x18\x04 \x03(\tR\x0ctransmitters\x12\x1d\n\nlink_denom\x18\x05 \x01(\tR\tlinkDenom\x12N\n\x0f\x66\x65\x65\x64_properties\x18\x06 \x03(\x0b\x32%.injective.ocr.v1beta1.FeedPropertiesR\x0e\x66\x65\x65\x64Properties:E\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1aocr/SetBatchConfigProposal"2\n\x18OracleObservationsCounts\x12\x16\n\x06\x63ounts\x18\x01 \x03(\rR\x06\x63ounts"V\n\x11GasReimbursements\x12\x41\n\x0ereimbursements\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x0ereimbursements"U\n\x05Payee\x12)\n\x10transmitter_addr\x18\x01 \x01(\tR\x0ftransmitterAddr\x12!\n\x0cpayment_addr\x18\x02 \x01(\tR\x0bpaymentAddr"\xb9\x01\n\x0cTransmission\x12;\n\x06\x61nswer\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12\x35\n\x16observations_timestamp\x18\x02 \x01(\x03R\x15observationsTimestamp\x12\x35\n\x16transmission_timestamp\x18\x03 \x01(\x03R\x15transmissionTimestamp";\n\rEpochAndRound\x12\x14\n\x05\x65poch\x18\x01 \x01(\x04R\x05\x65poch\x12\x14\n\x05round\x18\x02 \x01(\x04R\x05round"\xa6\x01\n\x06Report\x12\x35\n\x16observations_timestamp\x18\x01 \x01(\x03R\x15observationsTimestamp\x12\x1c\n\tobservers\x18\x02 \x01(\x0cR\tobservers\x12G\n\x0cobservations\x18\x03 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cobservations"\x96\x01\n\x0cReportToSign\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12\x14\n\x05\x65poch\x18\x02 \x01(\x04R\x05\x65poch\x12\x14\n\x05round\x18\x03 \x01(\x04R\x05round\x12\x1d\n\nextra_hash\x18\x04 \x01(\x0cR\textraHash\x12\x16\n\x06report\x18\x05 \x01(\x0cR\x06report"\x94\x01\n\x0f\x45ventOraclePaid\x12)\n\x10transmitter_addr\x18\x01 \x01(\tR\x0ftransmitterAddr\x12\x1d\n\npayee_addr\x18\x02 \x01(\tR\tpayeeAddr\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"\xcc\x01\n\x12\x45ventAnswerUpdated\x12\x37\n\x07\x63urrent\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07\x63urrent\x12\x38\n\x08round_id\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07roundId\x12\x43\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\tupdatedAt"\xad\x01\n\rEventNewRound\x12\x38\n\x08round_id\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07roundId\x12\x1d\n\nstarted_by\x18\x02 \x01(\tR\tstartedBy\x12\x43\n\nstarted_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\tstartedAt"M\n\x10\x45ventTransmitted\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12\x14\n\x05\x65poch\x18\x02 \x01(\x04R\x05\x65poch"\xcf\x03\n\x14\x45ventNewTransmission\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12.\n\x13\x61ggregator_round_id\x18\x02 \x01(\rR\x11\x61ggregatorRoundId\x12;\n\x06\x61nswer\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12 \n\x0btransmitter\x18\x04 \x01(\tR\x0btransmitter\x12\x35\n\x16observations_timestamp\x18\x05 \x01(\x03R\x15observationsTimestamp\x12G\n\x0cobservations\x18\x06 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cobservations\x12\x1c\n\tobservers\x18\x07 \x01(\x0cR\tobservers\x12#\n\rconfig_digest\x18\x08 \x01(\x0cR\x0c\x63onfigDigest\x12L\n\x0f\x65poch_and_round\x18\t \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound"\xf9\x01\n\x0e\x45ventConfigSet\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12?\n\x1cprevious_config_block_number\x18\x02 \x01(\x03R\x19previousConfigBlockNumber\x12\x39\n\x06\x63onfig\x18\x03 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x06\x63onfig\x12\x46\n\x0b\x63onfig_info\x18\x04 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfoR\nconfigInfoB\xe6\x01\n\x19\x63om.injective.ocr.v1beta1B\x08OcrProtoP\x01ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\xa2\x02\x03IOX\xaa\x02\x15Injective.Ocr.V1beta1\xca\x02\x15Injective\\Ocr\\V1beta1\xe2\x02!Injective\\Ocr\\V1beta1\\GPBMetadata\xea\x02\x17Injective::Ocr::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/ocr/v1beta1/ocr.proto\x12\x15injective.ocr.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x11\x61mino/amino.proto\"\x93\x01\n\x06Params\x12\x1d\n\nlink_denom\x18\x01 \x01(\tR\tlinkDenom\x12\x32\n\x15payout_block_interval\x18\x02 \x01(\x04R\x13payoutBlockInterval\x12!\n\x0cmodule_admin\x18\x03 \x01(\tR\x0bmoduleAdmin:\x13\xe8\xa0\x1f\x01\x8a\xe7\xb0*\nocr/Params\"\xaa\x02\n\nFeedConfig\x12\x18\n\x07signers\x18\x01 \x03(\tR\x07signers\x12\"\n\x0ctransmitters\x18\x02 \x03(\tR\x0ctransmitters\x12\x0c\n\x01\x66\x18\x03 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x04 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x05 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x06 \x01(\x0cR\x0eoffchainConfig\x12H\n\rmodule_params\x18\x07 \x01(\x0b\x32#.injective.ocr.v1beta1.ModuleParamsR\x0cmoduleParams\"\xbe\x01\n\x0e\x46\x65\x65\x64\x43onfigInfo\x12\x30\n\x14latest_config_digest\x18\x01 \x01(\x0cR\x12latestConfigDigest\x12\x0c\n\x01\x66\x18\x02 \x01(\rR\x01\x66\x12\x0c\n\x01n\x18\x03 \x01(\rR\x01n\x12!\n\x0c\x63onfig_count\x18\x04 \x01(\x04R\x0b\x63onfigCount\x12;\n\x1alatest_config_block_number\x18\x05 \x01(\x03R\x17latestConfigBlockNumber\"\xff\x03\n\x0cModuleParams\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x42\n\nmin_answer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tminAnswer\x12\x42\n\nmax_answer\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmaxAnswer\x12O\n\x14link_per_observation\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x12linkPerObservation\x12Q\n\x15link_per_transmission\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x13linkPerTransmission\x12\x1d\n\nlink_denom\x18\x06 \x01(\tR\tlinkDenom\x12%\n\x0eunique_reports\x18\x07 \x01(\x08R\runiqueReports\x12 \n\x0b\x64\x65scription\x18\x08 \x01(\tR\x0b\x64\x65scription\x12\x1d\n\nfeed_admin\x18\t \x01(\tR\tfeedAdmin\x12#\n\rbilling_admin\x18\n \x01(\tR\x0c\x62illingAdmin\"\x87\x02\n\x0e\x43ontractConfig\x12!\n\x0c\x63onfig_count\x18\x01 \x01(\x04R\x0b\x63onfigCount\x12\x18\n\x07signers\x18\x02 \x03(\tR\x07signers\x12\"\n\x0ctransmitters\x18\x03 \x03(\tR\x0ctransmitters\x12\x0c\n\x01\x66\x18\x04 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x05 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x06 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x07 \x01(\x0cR\x0eoffchainConfig\"\xc8\x01\n\x11SetConfigProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x06\x63onfig\x18\x03 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x06\x63onfig:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15ocr/SetConfigProposal\"\xb4\x04\n\x0e\x46\x65\x65\x64Properties\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x0c\n\x01\x66\x18\x02 \x01(\rR\x01\x66\x12%\n\x0eonchain_config\x18\x03 \x01(\x0cR\ronchainConfig\x12\x36\n\x17offchain_config_version\x18\x04 \x01(\x04R\x15offchainConfigVersion\x12\'\n\x0foffchain_config\x18\x05 \x01(\x0cR\x0eoffchainConfig\x12\x42\n\nmin_answer\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tminAnswer\x12\x42\n\nmax_answer\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmaxAnswer\x12O\n\x14link_per_observation\x18\x08 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x12linkPerObservation\x12Q\n\x15link_per_transmission\x18\t \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x13linkPerTransmission\x12%\n\x0eunique_reports\x18\n \x01(\x08R\runiqueReports\x12 \n\x0b\x64\x65scription\x18\x0b \x01(\tR\x0b\x64\x65scription\"\xc4\x02\n\x16SetBatchConfigProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x18\n\x07signers\x18\x03 \x03(\tR\x07signers\x12\"\n\x0ctransmitters\x18\x04 \x03(\tR\x0ctransmitters\x12\x1d\n\nlink_denom\x18\x05 \x01(\tR\tlinkDenom\x12N\n\x0f\x66\x65\x65\x64_properties\x18\x06 \x03(\x0b\x32%.injective.ocr.v1beta1.FeedPropertiesR\x0e\x66\x65\x65\x64Properties:E\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1aocr/SetBatchConfigProposal\"2\n\x18OracleObservationsCounts\x12\x16\n\x06\x63ounts\x18\x01 \x03(\rR\x06\x63ounts\"V\n\x11GasReimbursements\x12\x41\n\x0ereimbursements\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinR\x0ereimbursements\"U\n\x05Payee\x12)\n\x10transmitter_addr\x18\x01 \x01(\tR\x0ftransmitterAddr\x12!\n\x0cpayment_addr\x18\x02 \x01(\tR\x0bpaymentAddr\"\xb9\x01\n\x0cTransmission\x12;\n\x06\x61nswer\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12\x35\n\x16observations_timestamp\x18\x02 \x01(\x03R\x15observationsTimestamp\x12\x35\n\x16transmission_timestamp\x18\x03 \x01(\x03R\x15transmissionTimestamp\";\n\rEpochAndRound\x12\x14\n\x05\x65poch\x18\x01 \x01(\x04R\x05\x65poch\x12\x14\n\x05round\x18\x02 \x01(\x04R\x05round\"\xa6\x01\n\x06Report\x12\x35\n\x16observations_timestamp\x18\x01 \x01(\x03R\x15observationsTimestamp\x12\x1c\n\tobservers\x18\x02 \x01(\x0cR\tobservers\x12G\n\x0cobservations\x18\x03 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cobservations\"\x96\x01\n\x0cReportToSign\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12\x14\n\x05\x65poch\x18\x02 \x01(\x04R\x05\x65poch\x12\x14\n\x05round\x18\x03 \x01(\x04R\x05round\x12\x1d\n\nextra_hash\x18\x04 \x01(\x0cR\textraHash\x12\x16\n\x06report\x18\x05 \x01(\x0cR\x06report\"\x94\x01\n\x0f\x45ventOraclePaid\x12)\n\x10transmitter_addr\x18\x01 \x01(\tR\x0ftransmitterAddr\x12\x1d\n\npayee_addr\x18\x02 \x01(\tR\tpayeeAddr\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\xcc\x01\n\x12\x45ventAnswerUpdated\x12\x37\n\x07\x63urrent\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07\x63urrent\x12\x38\n\x08round_id\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07roundId\x12\x43\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\tupdatedAt\"\xad\x01\n\rEventNewRound\x12\x38\n\x08round_id\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x07roundId\x12\x1d\n\nstarted_by\x18\x02 \x01(\tR\tstartedBy\x12\x43\n\nstarted_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\tstartedAt\"M\n\x10\x45ventTransmitted\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12\x14\n\x05\x65poch\x18\x02 \x01(\x04R\x05\x65poch\"\xcf\x03\n\x14\x45ventNewTransmission\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12.\n\x13\x61ggregator_round_id\x18\x02 \x01(\rR\x11\x61ggregatorRoundId\x12;\n\x06\x61nswer\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12 \n\x0btransmitter\x18\x04 \x01(\tR\x0btransmitter\x12\x35\n\x16observations_timestamp\x18\x05 \x01(\x03R\x15observationsTimestamp\x12G\n\x0cobservations\x18\x06 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cobservations\x12\x1c\n\tobservers\x18\x07 \x01(\x0cR\tobservers\x12#\n\rconfig_digest\x18\x08 \x01(\x0cR\x0c\x63onfigDigest\x12L\n\x0f\x65poch_and_round\x18\t \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound\"\xf9\x01\n\x0e\x45ventConfigSet\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12?\n\x1cprevious_config_block_number\x18\x02 \x01(\x03R\x19previousConfigBlockNumber\x12\x39\n\x06\x63onfig\x18\x03 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\x06\x63onfig\x12\x46\n\x0b\x63onfig_info\x18\x04 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfoR\nconfigInfoB\xe6\x01\n\x19\x63om.injective.ocr.v1beta1B\x08OcrProtoP\x01ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\xa2\x02\x03IOX\xaa\x02\x15Injective.Ocr.V1beta1\xca\x02\x15Injective\\Ocr\\V1beta1\xe2\x02!Injective\\Ocr\\V1beta1\\GPBMetadata\xea\x02\x17Injective::Ocr::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.ocr.v1beta1.ocr_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.ocr.v1beta1.ocr_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\031com.injective.ocr.v1beta1B\010OcrProtoP\001ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\242\002\003IOX\252\002\025Injective.Ocr.V1beta1\312\002\025Injective\\Ocr\\V1beta1\342\002!Injective\\Ocr\\V1beta1\\GPBMetadata\352\002\027Injective::Ocr::V1beta1" - ) - _globals["_PARAMS"]._loaded_options = None - _globals["_PARAMS"]._serialized_options = b"\350\240\037\001\212\347\260*\nocr/Params" - _globals["_MODULEPARAMS"].fields_by_name["min_answer"]._loaded_options = None - _globals["_MODULEPARAMS"].fields_by_name[ - "min_answer" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MODULEPARAMS"].fields_by_name["max_answer"]._loaded_options = None - _globals["_MODULEPARAMS"].fields_by_name[ - "max_answer" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MODULEPARAMS"].fields_by_name["link_per_observation"]._loaded_options = None - _globals["_MODULEPARAMS"].fields_by_name[ - "link_per_observation" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_MODULEPARAMS"].fields_by_name["link_per_transmission"]._loaded_options = None - _globals["_MODULEPARAMS"].fields_by_name[ - "link_per_transmission" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_SETCONFIGPROPOSAL"]._loaded_options = None - _globals["_SETCONFIGPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025ocr/SetConfigProposal" - ) - _globals["_FEEDPROPERTIES"].fields_by_name["min_answer"]._loaded_options = None - _globals["_FEEDPROPERTIES"].fields_by_name[ - "min_answer" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_FEEDPROPERTIES"].fields_by_name["max_answer"]._loaded_options = None - _globals["_FEEDPROPERTIES"].fields_by_name[ - "max_answer" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_FEEDPROPERTIES"].fields_by_name["link_per_observation"]._loaded_options = None - _globals["_FEEDPROPERTIES"].fields_by_name[ - "link_per_observation" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_FEEDPROPERTIES"].fields_by_name["link_per_transmission"]._loaded_options = None - _globals["_FEEDPROPERTIES"].fields_by_name[ - "link_per_transmission" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_SETBATCHCONFIGPROPOSAL"]._loaded_options = None - _globals["_SETBATCHCONFIGPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\032ocr/SetBatchConfigProposal" - ) - _globals["_TRANSMISSION"].fields_by_name["answer"]._loaded_options = None - _globals["_TRANSMISSION"].fields_by_name[ - "answer" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_REPORT"].fields_by_name["observations"]._loaded_options = None - _globals["_REPORT"].fields_by_name[ - "observations" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EVENTORACLEPAID"].fields_by_name["amount"]._loaded_options = None - _globals["_EVENTORACLEPAID"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTANSWERUPDATED"].fields_by_name["current"]._loaded_options = None - _globals["_EVENTANSWERUPDATED"].fields_by_name[ - "current" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_EVENTANSWERUPDATED"].fields_by_name["round_id"]._loaded_options = None - _globals["_EVENTANSWERUPDATED"].fields_by_name[ - "round_id" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_EVENTANSWERUPDATED"].fields_by_name["updated_at"]._loaded_options = None - _globals["_EVENTANSWERUPDATED"].fields_by_name[ - "updated_at" - ]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_EVENTNEWROUND"].fields_by_name["round_id"]._loaded_options = None - _globals["_EVENTNEWROUND"].fields_by_name[ - "round_id" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_EVENTNEWROUND"].fields_by_name["started_at"]._loaded_options = None - _globals["_EVENTNEWROUND"].fields_by_name["started_at"]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_EVENTNEWTRANSMISSION"].fields_by_name["answer"]._loaded_options = None - _globals["_EVENTNEWTRANSMISSION"].fields_by_name[ - "answer" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_EVENTNEWTRANSMISSION"].fields_by_name["observations"]._loaded_options = None - _globals["_EVENTNEWTRANSMISSION"].fields_by_name[ - "observations" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"]._serialized_start = 192 - _globals["_PARAMS"]._serialized_end = 339 - _globals["_FEEDCONFIG"]._serialized_start = 342 - _globals["_FEEDCONFIG"]._serialized_end = 640 - _globals["_FEEDCONFIGINFO"]._serialized_start = 643 - _globals["_FEEDCONFIGINFO"]._serialized_end = 833 - _globals["_MODULEPARAMS"]._serialized_start = 836 - _globals["_MODULEPARAMS"]._serialized_end = 1347 - _globals["_CONTRACTCONFIG"]._serialized_start = 1350 - _globals["_CONTRACTCONFIG"]._serialized_end = 1613 - _globals["_SETCONFIGPROPOSAL"]._serialized_start = 1616 - _globals["_SETCONFIGPROPOSAL"]._serialized_end = 1816 - _globals["_FEEDPROPERTIES"]._serialized_start = 1819 - _globals["_FEEDPROPERTIES"]._serialized_end = 2383 - _globals["_SETBATCHCONFIGPROPOSAL"]._serialized_start = 2386 - _globals["_SETBATCHCONFIGPROPOSAL"]._serialized_end = 2710 - _globals["_ORACLEOBSERVATIONSCOUNTS"]._serialized_start = 2712 - _globals["_ORACLEOBSERVATIONSCOUNTS"]._serialized_end = 2762 - _globals["_GASREIMBURSEMENTS"]._serialized_start = 2764 - _globals["_GASREIMBURSEMENTS"]._serialized_end = 2850 - _globals["_PAYEE"]._serialized_start = 2852 - _globals["_PAYEE"]._serialized_end = 2937 - _globals["_TRANSMISSION"]._serialized_start = 2940 - _globals["_TRANSMISSION"]._serialized_end = 3125 - _globals["_EPOCHANDROUND"]._serialized_start = 3127 - _globals["_EPOCHANDROUND"]._serialized_end = 3186 - _globals["_REPORT"]._serialized_start = 3189 - _globals["_REPORT"]._serialized_end = 3355 - _globals["_REPORTTOSIGN"]._serialized_start = 3358 - _globals["_REPORTTOSIGN"]._serialized_end = 3508 - _globals["_EVENTORACLEPAID"]._serialized_start = 3511 - _globals["_EVENTORACLEPAID"]._serialized_end = 3659 - _globals["_EVENTANSWERUPDATED"]._serialized_start = 3662 - _globals["_EVENTANSWERUPDATED"]._serialized_end = 3866 - _globals["_EVENTNEWROUND"]._serialized_start = 3869 - _globals["_EVENTNEWROUND"]._serialized_end = 4042 - _globals["_EVENTTRANSMITTED"]._serialized_start = 4044 - _globals["_EVENTTRANSMITTED"]._serialized_end = 4121 - _globals["_EVENTNEWTRANSMISSION"]._serialized_start = 4124 - _globals["_EVENTNEWTRANSMISSION"]._serialized_end = 4587 - _globals["_EVENTCONFIGSET"]._serialized_start = 4590 - _globals["_EVENTCONFIGSET"]._serialized_end = 4839 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.injective.ocr.v1beta1B\010OcrProtoP\001ZIgithub.com/InjectiveLabs/injective-core/injective-chain/modules/ocr/types\242\002\003IOX\252\002\025Injective.Ocr.V1beta1\312\002\025Injective\\Ocr\\V1beta1\342\002!Injective\\Ocr\\V1beta1\\GPBMetadata\352\002\027Injective::Ocr::V1beta1' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\nocr/Params' + _globals['_MODULEPARAMS'].fields_by_name['min_answer']._loaded_options = None + _globals['_MODULEPARAMS'].fields_by_name['min_answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MODULEPARAMS'].fields_by_name['max_answer']._loaded_options = None + _globals['_MODULEPARAMS'].fields_by_name['max_answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MODULEPARAMS'].fields_by_name['link_per_observation']._loaded_options = None + _globals['_MODULEPARAMS'].fields_by_name['link_per_observation']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_MODULEPARAMS'].fields_by_name['link_per_transmission']._loaded_options = None + _globals['_MODULEPARAMS'].fields_by_name['link_per_transmission']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_SETCONFIGPROPOSAL']._loaded_options = None + _globals['_SETCONFIGPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025ocr/SetConfigProposal' + _globals['_FEEDPROPERTIES'].fields_by_name['min_answer']._loaded_options = None + _globals['_FEEDPROPERTIES'].fields_by_name['min_answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_FEEDPROPERTIES'].fields_by_name['max_answer']._loaded_options = None + _globals['_FEEDPROPERTIES'].fields_by_name['max_answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_FEEDPROPERTIES'].fields_by_name['link_per_observation']._loaded_options = None + _globals['_FEEDPROPERTIES'].fields_by_name['link_per_observation']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_FEEDPROPERTIES'].fields_by_name['link_per_transmission']._loaded_options = None + _globals['_FEEDPROPERTIES'].fields_by_name['link_per_transmission']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_SETBATCHCONFIGPROPOSAL']._loaded_options = None + _globals['_SETBATCHCONFIGPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\032ocr/SetBatchConfigProposal' + _globals['_TRANSMISSION'].fields_by_name['answer']._loaded_options = None + _globals['_TRANSMISSION'].fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_REPORT'].fields_by_name['observations']._loaded_options = None + _globals['_REPORT'].fields_by_name['observations']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTORACLEPAID'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTORACLEPAID'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_EVENTANSWERUPDATED'].fields_by_name['current']._loaded_options = None + _globals['_EVENTANSWERUPDATED'].fields_by_name['current']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_EVENTANSWERUPDATED'].fields_by_name['round_id']._loaded_options = None + _globals['_EVENTANSWERUPDATED'].fields_by_name['round_id']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_EVENTANSWERUPDATED'].fields_by_name['updated_at']._loaded_options = None + _globals['_EVENTANSWERUPDATED'].fields_by_name['updated_at']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_EVENTNEWROUND'].fields_by_name['round_id']._loaded_options = None + _globals['_EVENTNEWROUND'].fields_by_name['round_id']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_EVENTNEWROUND'].fields_by_name['started_at']._loaded_options = None + _globals['_EVENTNEWROUND'].fields_by_name['started_at']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_EVENTNEWTRANSMISSION'].fields_by_name['answer']._loaded_options = None + _globals['_EVENTNEWTRANSMISSION'].fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTNEWTRANSMISSION'].fields_by_name['observations']._loaded_options = None + _globals['_EVENTNEWTRANSMISSION'].fields_by_name['observations']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS']._serialized_start=192 + _globals['_PARAMS']._serialized_end=339 + _globals['_FEEDCONFIG']._serialized_start=342 + _globals['_FEEDCONFIG']._serialized_end=640 + _globals['_FEEDCONFIGINFO']._serialized_start=643 + _globals['_FEEDCONFIGINFO']._serialized_end=833 + _globals['_MODULEPARAMS']._serialized_start=836 + _globals['_MODULEPARAMS']._serialized_end=1347 + _globals['_CONTRACTCONFIG']._serialized_start=1350 + _globals['_CONTRACTCONFIG']._serialized_end=1613 + _globals['_SETCONFIGPROPOSAL']._serialized_start=1616 + _globals['_SETCONFIGPROPOSAL']._serialized_end=1816 + _globals['_FEEDPROPERTIES']._serialized_start=1819 + _globals['_FEEDPROPERTIES']._serialized_end=2383 + _globals['_SETBATCHCONFIGPROPOSAL']._serialized_start=2386 + _globals['_SETBATCHCONFIGPROPOSAL']._serialized_end=2710 + _globals['_ORACLEOBSERVATIONSCOUNTS']._serialized_start=2712 + _globals['_ORACLEOBSERVATIONSCOUNTS']._serialized_end=2762 + _globals['_GASREIMBURSEMENTS']._serialized_start=2764 + _globals['_GASREIMBURSEMENTS']._serialized_end=2850 + _globals['_PAYEE']._serialized_start=2852 + _globals['_PAYEE']._serialized_end=2937 + _globals['_TRANSMISSION']._serialized_start=2940 + _globals['_TRANSMISSION']._serialized_end=3125 + _globals['_EPOCHANDROUND']._serialized_start=3127 + _globals['_EPOCHANDROUND']._serialized_end=3186 + _globals['_REPORT']._serialized_start=3189 + _globals['_REPORT']._serialized_end=3355 + _globals['_REPORTTOSIGN']._serialized_start=3358 + _globals['_REPORTTOSIGN']._serialized_end=3508 + _globals['_EVENTORACLEPAID']._serialized_start=3511 + _globals['_EVENTORACLEPAID']._serialized_end=3659 + _globals['_EVENTANSWERUPDATED']._serialized_start=3662 + _globals['_EVENTANSWERUPDATED']._serialized_end=3866 + _globals['_EVENTNEWROUND']._serialized_start=3869 + _globals['_EVENTNEWROUND']._serialized_end=4042 + _globals['_EVENTTRANSMITTED']._serialized_start=4044 + _globals['_EVENTTRANSMITTED']._serialized_end=4121 + _globals['_EVENTNEWTRANSMISSION']._serialized_start=4124 + _globals['_EVENTNEWTRANSMISSION']._serialized_end=4587 + _globals['_EVENTCONFIGSET']._serialized_start=4590 + _globals['_EVENTCONFIGSET']._serialized_end=4839 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2_grpc.py b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2_grpc.py +++ b/pyinjective/proto/injective/ocr/v1beta1/ocr_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py b/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py index 0420b4b3..3f1bd1a4 100644 --- a/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/ocr/v1beta1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,78 +19,60 @@ from pyinjective.proto.injective.ocr.v1beta1 import genesis_pb2 as injective_dot_ocr_dot_v1beta1_dot_genesis__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!injective/ocr/v1beta1/query.proto\x12\x15injective.ocr.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1finjective/ocr/v1beta1/ocr.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a#injective/ocr/v1beta1/genesis.proto"\x14\n\x12QueryParamsRequest"R\n\x13QueryParamsResponse\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x1d.injective.ocr.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"1\n\x16QueryFeedConfigRequest\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id"\xae\x01\n\x17QueryFeedConfigResponse\x12O\n\x10\x66\x65\x65\x64_config_info\x18\x01 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfoR\x0e\x66\x65\x65\x64\x43onfigInfo\x12\x42\n\x0b\x66\x65\x65\x64_config\x18\x02 \x01(\x0b\x32!.injective.ocr.v1beta1.FeedConfigR\nfeedConfig"5\n\x1aQueryFeedConfigInfoRequest\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id"\xbc\x01\n\x1bQueryFeedConfigInfoResponse\x12O\n\x10\x66\x65\x65\x64_config_info\x18\x01 \x01(\x0b\x32%.injective.ocr.v1beta1.FeedConfigInfoR\x0e\x66\x65\x65\x64\x43onfigInfo\x12L\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound"2\n\x17QueryLatestRoundRequest\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id"{\n\x18QueryLatestRoundResponse\x12&\n\x0flatest_round_id\x18\x01 \x01(\x04R\rlatestRoundId\x12\x37\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32#.injective.ocr.v1beta1.TransmissionR\x04\x64\x61ta"@\n%QueryLatestTransmissionDetailsRequest\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id"\xd4\x01\n&QueryLatestTransmissionDetailsResponse\x12#\n\rconfig_digest\x18\x01 \x01(\x0cR\x0c\x63onfigDigest\x12L\n\x0f\x65poch_and_round\x18\x02 \x01(\x0b\x32$.injective.ocr.v1beta1.EpochAndRoundR\repochAndRound\x12\x37\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32#.injective.ocr.v1beta1.TransmissionR\x04\x64\x61ta":\n\x16QueryOwedAmountRequest\x12 \n\x0btransmitter\x18\x01 \x01(\tR\x0btransmitter"R\n\x17QueryOwedAmountResponse\x12\x37\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"\x19\n\x17QueryModuleStateRequest"U\n\x18QueryModuleStateResponse\x12\x39\n\x05state\x18\x01 \x01(\x0b\x32#.injective.ocr.v1beta1.GenesisStateR\x05state2\xbb\t\n\x05Query\x12\x86\x01\n\x06Params\x12).injective.ocr.v1beta1.QueryParamsRequest\x1a*.injective.ocr.v1beta1.QueryParamsResponse"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/chainlink/ocr/v1beta1/params\x12\xa1\x01\n\nFeedConfig\x12-.injective.ocr.v1beta1.QueryFeedConfigRequest\x1a..injective.ocr.v1beta1.QueryFeedConfigResponse"4\x82\xd3\xe4\x93\x02.\x12,/chainlink/ocr/v1beta1/feed_config/{feed_id}\x12\xb2\x01\n\x0e\x46\x65\x65\x64\x43onfigInfo\x12\x31.injective.ocr.v1beta1.QueryFeedConfigInfoRequest\x1a\x32.injective.ocr.v1beta1.QueryFeedConfigInfoResponse"9\x82\xd3\xe4\x93\x02\x33\x12\x31/chainlink/ocr/v1beta1/feed_config_info/{feed_id}\x12\xa5\x01\n\x0bLatestRound\x12..injective.ocr.v1beta1.QueryLatestRoundRequest\x1a/.injective.ocr.v1beta1.QueryLatestRoundResponse"5\x82\xd3\xe4\x93\x02/\x12-/chainlink/ocr/v1beta1/latest_round/{feed_id}\x12\xde\x01\n\x19LatestTransmissionDetails\x12<.injective.ocr.v1beta1.QueryLatestTransmissionDetailsRequest\x1a=.injective.ocr.v1beta1.QueryLatestTransmissionDetailsResponse"D\x82\xd3\xe4\x93\x02>\x12\x12\022\022\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12#\n\rband_relayers\x18\x02 \x03(\tR\x0c\x62\x61ndRelayers\x12T\n\x11\x62\x61nd_price_states\x18\x03 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0f\x62\x61ndPriceStates\x12_\n\x17price_feed_price_states\x18\x04 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedStateR\x14priceFeedPriceStates\x12`\n\x15\x63oinbase_price_states\x18\x05 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceStateR\x13\x63oinbasePriceStates\x12[\n\x15\x62\x61nd_ibc_price_states\x18\x06 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x12\x62\x61ndIbcPriceStates\x12\x64\n\x18\x62\x61nd_ibc_oracle_requests\x18\x07 \x03(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestR\x15\x62\x61ndIbcOracleRequests\x12U\n\x0f\x62\x61nd_ibc_params\x18\x08 \x01(\x0b\x32'.injective.oracle.v1beta1.BandIBCParamsB\x04\xc8\xde\x1f\x00R\rbandIbcParams\x12\x38\n\x19\x62\x61nd_ibc_latest_client_id\x18\t \x01(\x04R\x15\x62\x61ndIbcLatestClientId\x12S\n\x10\x63\x61lldata_records\x18\n \x03(\x0b\x32(.injective.oracle.v1beta1.CalldataRecordR\x0f\x63\x61lldataRecords\x12:\n\x1a\x62\x61nd_ibc_latest_request_id\x18\x0b \x01(\x04R\x16\x62\x61ndIbcLatestRequestId\x12\x63\n\x16\x63hainlink_price_states\x18\x0c \x03(\x0b\x32-.injective.oracle.v1beta1.ChainlinkPriceStateR\x14\x63hainlinkPriceStates\x12`\n\x18historical_price_records\x18\r \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecordsR\x16historicalPriceRecords\x12P\n\x0fprovider_states\x18\x0e \x03(\x0b\x32'.injective.oracle.v1beta1.ProviderStateR\x0eproviderStates\x12T\n\x11pyth_price_states\x18\x0f \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x0fpythPriceStates\x12W\n\x12stork_price_states\x18\x10 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x10storkPriceStates\x12)\n\x10stork_publishers\x18\x11 \x03(\tR\x0fstorkPublishers\"I\n\x0e\x43\x61lldataRecord\x12\x1b\n\tclient_id\x18\x01 \x01(\x04R\x08\x63lientId\x12\x1a\n\x08\x63\x61lldata\x18\x02 \x01(\x0cR\x08\x63\x61lldataB\xfc\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0cGenesisProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3" -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&injective/oracle/v1beta1/genesis.proto\x12\x18injective.oracle.v1beta1\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x14gogoproto/gogo.proto\"\xe4\n\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12#\n\rband_relayers\x18\x02 \x03(\tR\x0c\x62\x61ndRelayers\x12T\n\x11\x62\x61nd_price_states\x18\x03 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0f\x62\x61ndPriceStates\x12_\n\x17price_feed_price_states\x18\x04 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedStateR\x14priceFeedPriceStates\x12`\n\x15\x63oinbase_price_states\x18\x05 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceStateR\x13\x63oinbasePriceStates\x12[\n\x15\x62\x61nd_ibc_price_states\x18\x06 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x12\x62\x61ndIbcPriceStates\x12\x64\n\x18\x62\x61nd_ibc_oracle_requests\x18\x07 \x03(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestR\x15\x62\x61ndIbcOracleRequests\x12U\n\x0f\x62\x61nd_ibc_params\x18\x08 \x01(\x0b\x32\'.injective.oracle.v1beta1.BandIBCParamsB\x04\xc8\xde\x1f\x00R\rbandIbcParams\x12\x38\n\x19\x62\x61nd_ibc_latest_client_id\x18\t \x01(\x04R\x15\x62\x61ndIbcLatestClientId\x12S\n\x10\x63\x61lldata_records\x18\n \x03(\x0b\x32(.injective.oracle.v1beta1.CalldataRecordR\x0f\x63\x61lldataRecords\x12:\n\x1a\x62\x61nd_ibc_latest_request_id\x18\x0b \x01(\x04R\x16\x62\x61ndIbcLatestRequestId\x12\x63\n\x16\x63hainlink_price_states\x18\x0c \x03(\x0b\x32-.injective.oracle.v1beta1.ChainlinkPriceStateR\x14\x63hainlinkPriceStates\x12`\n\x18historical_price_records\x18\r \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecordsR\x16historicalPriceRecords\x12P\n\x0fprovider_states\x18\x0e \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderStateR\x0eproviderStates\x12T\n\x11pyth_price_states\x18\x0f \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x0fpythPriceStates\x12W\n\x12stork_price_states\x18\x10 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x10storkPriceStates\x12)\n\x10stork_publishers\x18\x11 \x03(\tR\x0fstorkPublishers\"I\n\x0e\x43\x61lldataRecord\x12\x1b\n\tclient_id\x18\x01 \x01(\x04R\x08\x63lientId\x12\x1a\n\x08\x63\x61lldata\x18\x02 \x01(\x0cR\x08\x63\x61lldataB\xfc\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0cGenesisProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.oracle.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\034com.injective.oracle.v1beta1B\014GenesisProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1" - ) - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["band_ibc_params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["band_ibc_params"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"]._serialized_start = 130 - _globals["_GENESISSTATE"]._serialized_end = 1510 - _globals["_CALLDATARECORD"]._serialized_start = 1512 - _globals["_CALLDATARECORD"]._serialized_end = 1585 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\014GenesisProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['band_ibc_params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['band_ibc_params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=130 + _globals['_GENESISSTATE']._serialized_end=1510 + _globals['_CALLDATARECORD']._serialized_start=1512 + _globals['_CALLDATARECORD']._serialized_end=1585 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py index 1a1c5e0f..e25462f1 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,146 +17,108 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%injective/oracle/v1beta1/oracle.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto"E\n\x06Params\x12#\n\rpyth_contract\x18\x01 \x01(\tR\x0cpythContract:\x16\xe8\xa0\x1f\x01\x8a\xe7\xb0*\roracle/Params"k\n\nOracleInfo\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x45\n\x0boracle_type\x18\x02 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType"\xd6\x01\n\x13\x43hainlinkPriceState\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12;\n\x06\x61nswer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp\x12K\n\x0bprice_state\x18\x04 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState"\xea\x01\n\x0e\x42\x61ndPriceState\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x31\n\x04rate\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x04rate\x12!\n\x0cresolve_time\x18\x03 \x01(\x04R\x0bresolveTime\x12\x1d\n\nrequest_ID\x18\x04 \x01(\x04R\trequestID\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState"\x9d\x01\n\x0ePriceFeedState\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x02 \x01(\tR\x05quote\x12\x45\n\x0bprice_state\x18\x03 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\npriceState\x12\x1a\n\x08relayers\x18\x04 \x03(\tR\x08relayers"F\n\x0cProviderInfo\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x02 \x03(\tR\x08relayers"\xbe\x01\n\rProviderState\x12K\n\rprovider_info\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.ProviderInfoR\x0cproviderInfo\x12`\n\x15provider_price_states\x18\x02 \x03(\x0b\x32,.injective.oracle.v1beta1.ProviderPriceStateR\x13providerPriceStates"h\n\x12ProviderPriceState\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12:\n\x05state\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\x05state"9\n\rPriceFeedInfo\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x02 \x01(\tR\x05quote"K\n\x0ePriceFeedPrice\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price"\xbb\x01\n\x12\x43oinbasePriceState\x12\x12\n\x04kind\x18\x01 \x01(\tR\x04kind\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x10\n\x03key\x18\x03 \x01(\tR\x03key\x12\x14\n\x05value\x18\x04 \x01(\x04R\x05value\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState"\xcf\x01\n\x0fStorkPriceState\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\x12\x39\n\x05value\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05value\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState"\xb5\x01\n\nPriceState\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12N\n\x10\x63umulative_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x63umulativePrice\x12\x1c\n\ttimestamp\x18\x03 \x01(\x03R\ttimestamp"\xd6\x02\n\x0ePythPriceState\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12@\n\tema_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x65maPrice\x12>\n\x08\x65ma_conf\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x07\x65maConf\x12\x37\n\x04\x63onf\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04\x63onf\x12!\n\x0cpublish_time\x18\x05 \x01(\x04R\x0bpublishTime\x12K\n\x0bprice_state\x18\x06 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState"\x86\x03\n\x11\x42\x61ndOracleRequest\x12\x1d\n\nrequest_id\x18\x01 \x01(\x04R\trequestId\x12(\n\x10oracle_script_id\x18\x02 \x01(\x03R\x0eoracleScriptId\x12\x18\n\x07symbols\x18\x03 \x03(\tR\x07symbols\x12\x1b\n\task_count\x18\x04 \x01(\x04R\x08\x61skCount\x12\x1b\n\tmin_count\x18\x05 \x01(\x04R\x08minCount\x12h\n\tfee_limit\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08\x66\x65\x65Limit\x12\x1f\n\x0bprepare_gas\x18\x07 \x01(\x04R\nprepareGas\x12\x1f\n\x0b\x65xecute_gas\x18\x08 \x01(\x04R\nexecuteGas\x12(\n\x10min_source_count\x18\t \x01(\x04R\x0eminSourceCount"\x86\x02\n\rBandIBCParams\x12(\n\x10\x62\x61nd_ibc_enabled\x18\x01 \x01(\x08R\x0e\x62\x61ndIbcEnabled\x12\x30\n\x14ibc_request_interval\x18\x02 \x01(\x03R\x12ibcRequestInterval\x12,\n\x12ibc_source_channel\x18\x03 \x01(\tR\x10ibcSourceChannel\x12\x1f\n\x0bibc_version\x18\x04 \x01(\tR\nibcVersion\x12\x1e\n\x0bibc_port_id\x18\x05 \x01(\tR\tibcPortId\x12*\n\x11legacy_oracle_ids\x18\x06 \x03(\x03R\x0flegacyOracleIds"\x8f\x01\n\x14SymbolPriceTimestamp\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\x12\x1c\n\ttimestamp\x18\x03 \x01(\x03R\ttimestamp"y\n\x13LastPriceTimestamps\x12\x62\n\x15last_price_timestamps\x18\x01 \x03(\x0b\x32..injective.oracle.v1beta1.SymbolPriceTimestampR\x13lastPriceTimestamps"\xc2\x01\n\x0cPriceRecords\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\x12W\n\x14latest_price_records\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecordR\x12latestPriceRecords"f\n\x0bPriceRecord\x12\x1c\n\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price"\xf3\x03\n\x12MetadataStatistics\x12\x1f\n\x0bgroup_count\x18\x01 \x01(\rR\ngroupCount\x12.\n\x13records_sample_size\x18\x02 \x01(\rR\x11recordsSampleSize\x12\x37\n\x04mean\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04mean\x12\x37\n\x04twap\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04twap\x12\'\n\x0f\x66irst_timestamp\x18\x05 \x01(\x03R\x0e\x66irstTimestamp\x12%\n\x0elast_timestamp\x18\x06 \x01(\x03R\rlastTimestamp\x12@\n\tmin_price\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08minPrice\x12@\n\tmax_price\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08maxPrice\x12\x46\n\x0cmedian_price\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bmedianPrice"\xe1\x01\n\x10PriceAttestation\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12\x14\n\x05price\x18\x02 \x01(\x03R\x05price\x12\x12\n\x04\x63onf\x18\x03 \x01(\x04R\x04\x63onf\x12\x12\n\x04\x65xpo\x18\x04 \x01(\x05R\x04\x65xpo\x12\x1b\n\tema_price\x18\x05 \x01(\x03R\x08\x65maPrice\x12\x19\n\x08\x65ma_conf\x18\x06 \x01(\x04R\x07\x65maConf\x12\x19\n\x08\x65ma_expo\x18\x07 \x01(\x05R\x07\x65maExpo\x12!\n\x0cpublish_time\x18\x08 \x01(\x03R\x0bpublishTime"}\n\tAssetPair\x12\x19\n\x08\x61sset_id\x18\x01 \x01(\tR\x07\x61ssetId\x12U\n\rsigned_prices\x18\x02 \x03(\x0b\x32\x30.injective.oracle.v1beta1.SignedPriceOfAssetPairR\x0csignedPrices"\xb4\x01\n\x16SignedPriceOfAssetPair\x12#\n\rpublisher_key\x18\x01 \x01(\tR\x0cpublisherKey\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x39\n\x05price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature*\xaa\x01\n\nOracleType\x12\x0f\n\x0bUnspecified\x10\x00\x12\x08\n\x04\x42\x61nd\x10\x01\x12\r\n\tPriceFeed\x10\x02\x12\x0c\n\x08\x43oinbase\x10\x03\x12\r\n\tChainlink\x10\x04\x12\t\n\x05Razor\x10\x05\x12\x07\n\x03\x44ia\x10\x06\x12\x08\n\x04\x41PI3\x10\x07\x12\x07\n\x03Uma\x10\x08\x12\x08\n\x04Pyth\x10\t\x12\x0b\n\x07\x42\x61ndIBC\x10\n\x12\x0c\n\x08Provider\x10\x0b\x12\t\n\x05Stork\x10\x0c\x42\xff\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0bOracleProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1\xc0\xe3\x1e\x01\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%injective/oracle/v1beta1/oracle.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"E\n\x06Params\x12#\n\rpyth_contract\x18\x01 \x01(\tR\x0cpythContract:\x16\xe8\xa0\x1f\x01\x8a\xe7\xb0*\roracle/Params\"k\n\nOracleInfo\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x45\n\x0boracle_type\x18\x02 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xd6\x01\n\x13\x43hainlinkPriceState\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12;\n\x06\x61nswer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp\x12K\n\x0bprice_state\x18\x04 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xea\x01\n\x0e\x42\x61ndPriceState\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x31\n\x04rate\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x04rate\x12!\n\x0cresolve_time\x18\x03 \x01(\x04R\x0bresolveTime\x12\x1d\n\nrequest_ID\x18\x04 \x01(\x04R\trequestID\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\x9d\x01\n\x0ePriceFeedState\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x02 \x01(\tR\x05quote\x12\x45\n\x0bprice_state\x18\x03 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\npriceState\x12\x1a\n\x08relayers\x18\x04 \x03(\tR\x08relayers\"F\n\x0cProviderInfo\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x02 \x03(\tR\x08relayers\"\xbe\x01\n\rProviderState\x12K\n\rprovider_info\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.ProviderInfoR\x0cproviderInfo\x12`\n\x15provider_price_states\x18\x02 \x03(\x0b\x32,.injective.oracle.v1beta1.ProviderPriceStateR\x13providerPriceStates\"h\n\x12ProviderPriceState\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12:\n\x05state\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\x05state\"9\n\rPriceFeedInfo\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x02 \x01(\tR\x05quote\"K\n\x0ePriceFeedPrice\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\"\xbb\x01\n\x12\x43oinbasePriceState\x12\x12\n\x04kind\x18\x01 \x01(\tR\x04kind\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x10\n\x03key\x18\x03 \x01(\tR\x03key\x12\x14\n\x05value\x18\x04 \x01(\x04R\x05value\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xcf\x01\n\x0fStorkPriceState\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\x12\x39\n\x05value\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05value\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xb5\x01\n\nPriceState\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12N\n\x10\x63umulative_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x63umulativePrice\x12\x1c\n\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\"\xd6\x02\n\x0ePythPriceState\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12@\n\tema_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x65maPrice\x12>\n\x08\x65ma_conf\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x07\x65maConf\x12\x37\n\x04\x63onf\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04\x63onf\x12!\n\x0cpublish_time\x18\x05 \x01(\x04R\x0bpublishTime\x12K\n\x0bprice_state\x18\x06 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\x86\x03\n\x11\x42\x61ndOracleRequest\x12\x1d\n\nrequest_id\x18\x01 \x01(\x04R\trequestId\x12(\n\x10oracle_script_id\x18\x02 \x01(\x03R\x0eoracleScriptId\x12\x18\n\x07symbols\x18\x03 \x03(\tR\x07symbols\x12\x1b\n\task_count\x18\x04 \x01(\x04R\x08\x61skCount\x12\x1b\n\tmin_count\x18\x05 \x01(\x04R\x08minCount\x12h\n\tfee_limit\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08\x66\x65\x65Limit\x12\x1f\n\x0bprepare_gas\x18\x07 \x01(\x04R\nprepareGas\x12\x1f\n\x0b\x65xecute_gas\x18\x08 \x01(\x04R\nexecuteGas\x12(\n\x10min_source_count\x18\t \x01(\x04R\x0eminSourceCount\"\x86\x02\n\rBandIBCParams\x12(\n\x10\x62\x61nd_ibc_enabled\x18\x01 \x01(\x08R\x0e\x62\x61ndIbcEnabled\x12\x30\n\x14ibc_request_interval\x18\x02 \x01(\x03R\x12ibcRequestInterval\x12,\n\x12ibc_source_channel\x18\x03 \x01(\tR\x10ibcSourceChannel\x12\x1f\n\x0bibc_version\x18\x04 \x01(\tR\nibcVersion\x12\x1e\n\x0bibc_port_id\x18\x05 \x01(\tR\tibcPortId\x12*\n\x11legacy_oracle_ids\x18\x06 \x03(\x03R\x0flegacyOracleIds\"\x8f\x01\n\x14SymbolPriceTimestamp\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\x12\x1c\n\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\"y\n\x13LastPriceTimestamps\x12\x62\n\x15last_price_timestamps\x18\x01 \x03(\x0b\x32..injective.oracle.v1beta1.SymbolPriceTimestampR\x13lastPriceTimestamps\"\xc2\x01\n\x0cPriceRecords\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\x12W\n\x14latest_price_records\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecordR\x12latestPriceRecords\"f\n\x0bPriceRecord\x12\x1c\n\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\"\xf3\x03\n\x12MetadataStatistics\x12\x1f\n\x0bgroup_count\x18\x01 \x01(\rR\ngroupCount\x12.\n\x13records_sample_size\x18\x02 \x01(\rR\x11recordsSampleSize\x12\x37\n\x04mean\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04mean\x12\x37\n\x04twap\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04twap\x12\'\n\x0f\x66irst_timestamp\x18\x05 \x01(\x03R\x0e\x66irstTimestamp\x12%\n\x0elast_timestamp\x18\x06 \x01(\x03R\rlastTimestamp\x12@\n\tmin_price\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08minPrice\x12@\n\tmax_price\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08maxPrice\x12\x46\n\x0cmedian_price\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bmedianPrice\"\xe1\x01\n\x10PriceAttestation\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12\x14\n\x05price\x18\x02 \x01(\x03R\x05price\x12\x12\n\x04\x63onf\x18\x03 \x01(\x04R\x04\x63onf\x12\x12\n\x04\x65xpo\x18\x04 \x01(\x05R\x04\x65xpo\x12\x1b\n\tema_price\x18\x05 \x01(\x03R\x08\x65maPrice\x12\x19\n\x08\x65ma_conf\x18\x06 \x01(\x04R\x07\x65maConf\x12\x19\n\x08\x65ma_expo\x18\x07 \x01(\x05R\x07\x65maExpo\x12!\n\x0cpublish_time\x18\x08 \x01(\x03R\x0bpublishTime\"}\n\tAssetPair\x12\x19\n\x08\x61sset_id\x18\x01 \x01(\tR\x07\x61ssetId\x12U\n\rsigned_prices\x18\x02 \x03(\x0b\x32\x30.injective.oracle.v1beta1.SignedPriceOfAssetPairR\x0csignedPrices\"\xb4\x01\n\x16SignedPriceOfAssetPair\x12#\n\rpublisher_key\x18\x01 \x01(\tR\x0cpublisherKey\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x39\n\x05price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature*\xaa\x01\n\nOracleType\x12\x0f\n\x0bUnspecified\x10\x00\x12\x08\n\x04\x42\x61nd\x10\x01\x12\r\n\tPriceFeed\x10\x02\x12\x0c\n\x08\x43oinbase\x10\x03\x12\r\n\tChainlink\x10\x04\x12\t\n\x05Razor\x10\x05\x12\x07\n\x03\x44ia\x10\x06\x12\x08\n\x04\x41PI3\x10\x07\x12\x07\n\x03Uma\x10\x08\x12\x08\n\x04Pyth\x10\t\x12\x0b\n\x07\x42\x61ndIBC\x10\n\x12\x0c\n\x08Provider\x10\x0b\x12\t\n\x05Stork\x10\x0c\x42\xff\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0bOracleProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1\xc0\xe3\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.oracle.v1beta1.oracle_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.oracle_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\034com.injective.oracle.v1beta1B\013OracleProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1\300\343\036\001" - ) - _globals["_PARAMS"]._loaded_options = None - _globals["_PARAMS"]._serialized_options = b"\350\240\037\001\212\347\260*\roracle/Params" - _globals["_CHAINLINKPRICESTATE"].fields_by_name["answer"]._loaded_options = None - _globals["_CHAINLINKPRICESTATE"].fields_by_name[ - "answer" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_CHAINLINKPRICESTATE"].fields_by_name["price_state"]._loaded_options = None - _globals["_CHAINLINKPRICESTATE"].fields_by_name["price_state"]._serialized_options = b"\310\336\037\000" - _globals["_BANDPRICESTATE"].fields_by_name["rate"]._loaded_options = None - _globals["_BANDPRICESTATE"].fields_by_name[ - "rate" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_BANDPRICESTATE"].fields_by_name["price_state"]._loaded_options = None - _globals["_BANDPRICESTATE"].fields_by_name["price_state"]._serialized_options = b"\310\336\037\000" - _globals["_PRICEFEEDPRICE"].fields_by_name["price"]._loaded_options = None - _globals["_PRICEFEEDPRICE"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_COINBASEPRICESTATE"].fields_by_name["price_state"]._loaded_options = None - _globals["_COINBASEPRICESTATE"].fields_by_name["price_state"]._serialized_options = b"\310\336\037\000" - _globals["_STORKPRICESTATE"].fields_by_name["value"]._loaded_options = None - _globals["_STORKPRICESTATE"].fields_by_name[ - "value" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_STORKPRICESTATE"].fields_by_name["price_state"]._loaded_options = None - _globals["_STORKPRICESTATE"].fields_by_name["price_state"]._serialized_options = b"\310\336\037\000" - _globals["_PRICESTATE"].fields_by_name["price"]._loaded_options = None - _globals["_PRICESTATE"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PRICESTATE"].fields_by_name["cumulative_price"]._loaded_options = None - _globals["_PRICESTATE"].fields_by_name[ - "cumulative_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PYTHPRICESTATE"].fields_by_name["ema_price"]._loaded_options = None - _globals["_PYTHPRICESTATE"].fields_by_name[ - "ema_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PYTHPRICESTATE"].fields_by_name["ema_conf"]._loaded_options = None - _globals["_PYTHPRICESTATE"].fields_by_name[ - "ema_conf" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PYTHPRICESTATE"].fields_by_name["conf"]._loaded_options = None - _globals["_PYTHPRICESTATE"].fields_by_name[ - "conf" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PYTHPRICESTATE"].fields_by_name["price_state"]._loaded_options = None - _globals["_PYTHPRICESTATE"].fields_by_name["price_state"]._serialized_options = b"\310\336\037\000" - _globals["_BANDORACLEREQUEST"].fields_by_name["fee_limit"]._loaded_options = None - _globals["_BANDORACLEREQUEST"].fields_by_name[ - "fee_limit" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" - _globals["_PRICERECORD"].fields_by_name["price"]._loaded_options = None - _globals["_PRICERECORD"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_METADATASTATISTICS"].fields_by_name["mean"]._loaded_options = None - _globals["_METADATASTATISTICS"].fields_by_name[ - "mean" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_METADATASTATISTICS"].fields_by_name["twap"]._loaded_options = None - _globals["_METADATASTATISTICS"].fields_by_name[ - "twap" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_METADATASTATISTICS"].fields_by_name["min_price"]._loaded_options = None - _globals["_METADATASTATISTICS"].fields_by_name[ - "min_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_METADATASTATISTICS"].fields_by_name["max_price"]._loaded_options = None - _globals["_METADATASTATISTICS"].fields_by_name[ - "max_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_METADATASTATISTICS"].fields_by_name["median_price"]._loaded_options = None - _globals["_METADATASTATISTICS"].fields_by_name[ - "median_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SIGNEDPRICEOFASSETPAIR"].fields_by_name["price"]._loaded_options = None - _globals["_SIGNEDPRICEOFASSETPAIR"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_ORACLETYPE"]._serialized_start = 4639 - _globals["_ORACLETYPE"]._serialized_end = 4809 - _globals["_PARAMS"]._serialized_start = 140 - _globals["_PARAMS"]._serialized_end = 209 - _globals["_ORACLEINFO"]._serialized_start = 211 - _globals["_ORACLEINFO"]._serialized_end = 318 - _globals["_CHAINLINKPRICESTATE"]._serialized_start = 321 - _globals["_CHAINLINKPRICESTATE"]._serialized_end = 535 - _globals["_BANDPRICESTATE"]._serialized_start = 538 - _globals["_BANDPRICESTATE"]._serialized_end = 772 - _globals["_PRICEFEEDSTATE"]._serialized_start = 775 - _globals["_PRICEFEEDSTATE"]._serialized_end = 932 - _globals["_PROVIDERINFO"]._serialized_start = 934 - _globals["_PROVIDERINFO"]._serialized_end = 1004 - _globals["_PROVIDERSTATE"]._serialized_start = 1007 - _globals["_PROVIDERSTATE"]._serialized_end = 1197 - _globals["_PROVIDERPRICESTATE"]._serialized_start = 1199 - _globals["_PROVIDERPRICESTATE"]._serialized_end = 1303 - _globals["_PRICEFEEDINFO"]._serialized_start = 1305 - _globals["_PRICEFEEDINFO"]._serialized_end = 1362 - _globals["_PRICEFEEDPRICE"]._serialized_start = 1364 - _globals["_PRICEFEEDPRICE"]._serialized_end = 1439 - _globals["_COINBASEPRICESTATE"]._serialized_start = 1442 - _globals["_COINBASEPRICESTATE"]._serialized_end = 1629 - _globals["_STORKPRICESTATE"]._serialized_start = 1632 - _globals["_STORKPRICESTATE"]._serialized_end = 1839 - _globals["_PRICESTATE"]._serialized_start = 1842 - _globals["_PRICESTATE"]._serialized_end = 2023 - _globals["_PYTHPRICESTATE"]._serialized_start = 2026 - _globals["_PYTHPRICESTATE"]._serialized_end = 2368 - _globals["_BANDORACLEREQUEST"]._serialized_start = 2371 - _globals["_BANDORACLEREQUEST"]._serialized_end = 2761 - _globals["_BANDIBCPARAMS"]._serialized_start = 2764 - _globals["_BANDIBCPARAMS"]._serialized_end = 3026 - _globals["_SYMBOLPRICETIMESTAMP"]._serialized_start = 3029 - _globals["_SYMBOLPRICETIMESTAMP"]._serialized_end = 3172 - _globals["_LASTPRICETIMESTAMPS"]._serialized_start = 3174 - _globals["_LASTPRICETIMESTAMPS"]._serialized_end = 3295 - _globals["_PRICERECORDS"]._serialized_start = 3298 - _globals["_PRICERECORDS"]._serialized_end = 3492 - _globals["_PRICERECORD"]._serialized_start = 3494 - _globals["_PRICERECORD"]._serialized_end = 3596 - _globals["_METADATASTATISTICS"]._serialized_start = 3599 - _globals["_METADATASTATISTICS"]._serialized_end = 4098 - _globals["_PRICEATTESTATION"]._serialized_start = 4101 - _globals["_PRICEATTESTATION"]._serialized_end = 4326 - _globals["_ASSETPAIR"]._serialized_start = 4328 - _globals["_ASSETPAIR"]._serialized_end = 4453 - _globals["_SIGNEDPRICEOFASSETPAIR"]._serialized_start = 4456 - _globals["_SIGNEDPRICEOFASSETPAIR"]._serialized_end = 4636 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\013OracleProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1\300\343\036\001' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\roracle/Params' + _globals['_CHAINLINKPRICESTATE'].fields_by_name['answer']._loaded_options = None + _globals['_CHAINLINKPRICESTATE'].fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_CHAINLINKPRICESTATE'].fields_by_name['price_state']._loaded_options = None + _globals['_CHAINLINKPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' + _globals['_BANDPRICESTATE'].fields_by_name['rate']._loaded_options = None + _globals['_BANDPRICESTATE'].fields_by_name['rate']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_BANDPRICESTATE'].fields_by_name['price_state']._loaded_options = None + _globals['_BANDPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' + _globals['_PRICEFEEDPRICE'].fields_by_name['price']._loaded_options = None + _globals['_PRICEFEEDPRICE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_COINBASEPRICESTATE'].fields_by_name['price_state']._loaded_options = None + _globals['_COINBASEPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' + _globals['_STORKPRICESTATE'].fields_by_name['value']._loaded_options = None + _globals['_STORKPRICESTATE'].fields_by_name['value']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_STORKPRICESTATE'].fields_by_name['price_state']._loaded_options = None + _globals['_STORKPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' + _globals['_PRICESTATE'].fields_by_name['price']._loaded_options = None + _globals['_PRICESTATE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PRICESTATE'].fields_by_name['cumulative_price']._loaded_options = None + _globals['_PRICESTATE'].fields_by_name['cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PYTHPRICESTATE'].fields_by_name['ema_price']._loaded_options = None + _globals['_PYTHPRICESTATE'].fields_by_name['ema_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PYTHPRICESTATE'].fields_by_name['ema_conf']._loaded_options = None + _globals['_PYTHPRICESTATE'].fields_by_name['ema_conf']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PYTHPRICESTATE'].fields_by_name['conf']._loaded_options = None + _globals['_PYTHPRICESTATE'].fields_by_name['conf']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PYTHPRICESTATE'].fields_by_name['price_state']._loaded_options = None + _globals['_PYTHPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' + _globals['_BANDORACLEREQUEST'].fields_by_name['fee_limit']._loaded_options = None + _globals['_BANDORACLEREQUEST'].fields_by_name['fee_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_PRICERECORD'].fields_by_name['price']._loaded_options = None + _globals['_PRICERECORD'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_METADATASTATISTICS'].fields_by_name['mean']._loaded_options = None + _globals['_METADATASTATISTICS'].fields_by_name['mean']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_METADATASTATISTICS'].fields_by_name['twap']._loaded_options = None + _globals['_METADATASTATISTICS'].fields_by_name['twap']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_METADATASTATISTICS'].fields_by_name['min_price']._loaded_options = None + _globals['_METADATASTATISTICS'].fields_by_name['min_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_METADATASTATISTICS'].fields_by_name['max_price']._loaded_options = None + _globals['_METADATASTATISTICS'].fields_by_name['max_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_METADATASTATISTICS'].fields_by_name['median_price']._loaded_options = None + _globals['_METADATASTATISTICS'].fields_by_name['median_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SIGNEDPRICEOFASSETPAIR'].fields_by_name['price']._loaded_options = None + _globals['_SIGNEDPRICEOFASSETPAIR'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_ORACLETYPE']._serialized_start=4639 + _globals['_ORACLETYPE']._serialized_end=4809 + _globals['_PARAMS']._serialized_start=140 + _globals['_PARAMS']._serialized_end=209 + _globals['_ORACLEINFO']._serialized_start=211 + _globals['_ORACLEINFO']._serialized_end=318 + _globals['_CHAINLINKPRICESTATE']._serialized_start=321 + _globals['_CHAINLINKPRICESTATE']._serialized_end=535 + _globals['_BANDPRICESTATE']._serialized_start=538 + _globals['_BANDPRICESTATE']._serialized_end=772 + _globals['_PRICEFEEDSTATE']._serialized_start=775 + _globals['_PRICEFEEDSTATE']._serialized_end=932 + _globals['_PROVIDERINFO']._serialized_start=934 + _globals['_PROVIDERINFO']._serialized_end=1004 + _globals['_PROVIDERSTATE']._serialized_start=1007 + _globals['_PROVIDERSTATE']._serialized_end=1197 + _globals['_PROVIDERPRICESTATE']._serialized_start=1199 + _globals['_PROVIDERPRICESTATE']._serialized_end=1303 + _globals['_PRICEFEEDINFO']._serialized_start=1305 + _globals['_PRICEFEEDINFO']._serialized_end=1362 + _globals['_PRICEFEEDPRICE']._serialized_start=1364 + _globals['_PRICEFEEDPRICE']._serialized_end=1439 + _globals['_COINBASEPRICESTATE']._serialized_start=1442 + _globals['_COINBASEPRICESTATE']._serialized_end=1629 + _globals['_STORKPRICESTATE']._serialized_start=1632 + _globals['_STORKPRICESTATE']._serialized_end=1839 + _globals['_PRICESTATE']._serialized_start=1842 + _globals['_PRICESTATE']._serialized_end=2023 + _globals['_PYTHPRICESTATE']._serialized_start=2026 + _globals['_PYTHPRICESTATE']._serialized_end=2368 + _globals['_BANDORACLEREQUEST']._serialized_start=2371 + _globals['_BANDORACLEREQUEST']._serialized_end=2761 + _globals['_BANDIBCPARAMS']._serialized_start=2764 + _globals['_BANDIBCPARAMS']._serialized_end=3026 + _globals['_SYMBOLPRICETIMESTAMP']._serialized_start=3029 + _globals['_SYMBOLPRICETIMESTAMP']._serialized_end=3172 + _globals['_LASTPRICETIMESTAMPS']._serialized_start=3174 + _globals['_LASTPRICETIMESTAMPS']._serialized_end=3295 + _globals['_PRICERECORDS']._serialized_start=3298 + _globals['_PRICERECORDS']._serialized_end=3492 + _globals['_PRICERECORD']._serialized_start=3494 + _globals['_PRICERECORD']._serialized_end=3596 + _globals['_METADATASTATISTICS']._serialized_start=3599 + _globals['_METADATASTATISTICS']._serialized_end=4098 + _globals['_PRICEATTESTATION']._serialized_start=4101 + _globals['_PRICEATTESTATION']._serialized_end=4326 + _globals['_ASSETPAIR']._serialized_start=4328 + _globals['_ASSETPAIR']._serialized_end=4453 + _globals['_SIGNEDPRICEOFASSETPAIR']._serialized_start=4456 + _globals['_SIGNEDPRICEOFASSETPAIR']._serialized_end=4636 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2_grpc.py +++ b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py index 986b1f03..be531435 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,86 +19,60 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\'injective/oracle/v1beta1/proposal.proto\x12\x18injective.oracle.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto"\xca\x01\n GrantBandOraclePrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:R\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\'oracle/GrantBandOraclePrivilegeProposal"\xcc\x01\n!RevokeBandOraclePrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(oracle/RevokeBandOraclePrivilegeProposal"\xf6\x01\n!GrantPriceFeederPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x04 \x01(\tR\x05quote\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(oracle/GrantPriceFeederPrivilegeProposal"\xe2\x01\n\x1eGrantProviderPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08provider\x18\x03 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x04 \x03(\tR\x08relayers:P\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*%oracle/GrantProviderPrivilegeProposal"\xe4\x01\n\x1fRevokeProviderPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08provider\x18\x03 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&oracle/RevokeProviderPrivilegeProposal"\xf8\x01\n"RevokePriceFeederPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x04 \x01(\tR\x05quote\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)oracle/RevokePriceFeederPrivilegeProposal"\xff\x01\n"AuthorizeBandOracleRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12K\n\x07request\x18\x03 \x01(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestB\x04\xc8\xde\x1f\x00R\x07request:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)oracle/AuthorizeBandOracleRequestProposal"\xbb\x02\n\x1fUpdateBandOracleRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12,\n\x12\x64\x65lete_request_ids\x18\x03 \x03(\x04R\x10\x64\x65leteRequestIds\x12_\n\x15update_oracle_request\x18\x04 \x01(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestR\x13updateOracleRequest:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&oracle/UpdateBandOracleRequestProposal"\xef\x01\n\x15\x45nableBandIBCProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\x0f\x62\x61nd_ibc_params\x18\x03 \x01(\x0b\x32\'.injective.oracle.v1beta1.BandIBCParamsB\x04\xc8\xde\x1f\x00R\rbandIbcParams:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1coracle/EnableBandIBCProposal"\xe1\x01\n$GrantStorkPublisherPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12)\n\x10stork_publishers\x18\x03 \x03(\tR\x0fstorkPublishers:V\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*+oracle/GrantStorkPublisherPrivilegeProposal"\xe3\x01\n%RevokeStorkPublisherPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12)\n\x10stork_publishers\x18\x03 \x03(\tR\x0fstorkPublishers:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,oracle/RevokeStorkPublisherPrivilegeProposalB\xfd\x01\n\x1c\x63om.injective.oracle.v1beta1B\rProposalProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/oracle/v1beta1/proposal.proto\x12\x18injective.oracle.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\xca\x01\n GrantBandOraclePrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:R\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\'oracle/GrantBandOraclePrivilegeProposal\"\xcc\x01\n!RevokeBandOraclePrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08relayers\x18\x03 \x03(\tR\x08relayers:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(oracle/RevokeBandOraclePrivilegeProposal\"\xf6\x01\n!GrantPriceFeederPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x04 \x01(\tR\x05quote\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(oracle/GrantPriceFeederPrivilegeProposal\"\xe2\x01\n\x1eGrantProviderPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08provider\x18\x03 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x04 \x03(\tR\x08relayers:P\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*%oracle/GrantProviderPrivilegeProposal\"\xe4\x01\n\x1fRevokeProviderPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08provider\x18\x03 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&oracle/RevokeProviderPrivilegeProposal\"\xf8\x01\n\"RevokePriceFeederPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04\x62\x61se\x18\x03 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x04 \x01(\tR\x05quote\x12\x1a\n\x08relayers\x18\x05 \x03(\tR\x08relayers:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)oracle/RevokePriceFeederPrivilegeProposal\"\xff\x01\n\"AuthorizeBandOracleRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12K\n\x07request\x18\x03 \x01(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestB\x04\xc8\xde\x1f\x00R\x07request:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)oracle/AuthorizeBandOracleRequestProposal\"\xbb\x02\n\x1fUpdateBandOracleRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12,\n\x12\x64\x65lete_request_ids\x18\x03 \x03(\x04R\x10\x64\x65leteRequestIds\x12_\n\x15update_oracle_request\x18\x04 \x01(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestR\x13updateOracleRequest:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&oracle/UpdateBandOracleRequestProposal\"\xef\x01\n\x15\x45nableBandIBCProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\x0f\x62\x61nd_ibc_params\x18\x03 \x01(\x0b\x32\'.injective.oracle.v1beta1.BandIBCParamsB\x04\xc8\xde\x1f\x00R\rbandIbcParams:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1coracle/EnableBandIBCProposal\"\xe1\x01\n$GrantStorkPublisherPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12)\n\x10stork_publishers\x18\x03 \x03(\tR\x0fstorkPublishers:V\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*+oracle/GrantStorkPublisherPrivilegeProposal\"\xe3\x01\n%RevokeStorkPublisherPrivilegeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12)\n\x10stork_publishers\x18\x03 \x03(\tR\x0fstorkPublishers:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,oracle/RevokeStorkPublisherPrivilegeProposalB\xfd\x01\n\x1c\x63om.injective.oracle.v1beta1B\rProposalProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.oracle.v1beta1.proposal_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.proposal_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\034com.injective.oracle.v1beta1B\rProposalProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1" - ) - _globals["_GRANTBANDORACLEPRIVILEGEPROPOSAL"]._loaded_options = None - _globals["_GRANTBANDORACLEPRIVILEGEPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*'oracle/GrantBandOraclePrivilegeProposal" - ) - _globals["_REVOKEBANDORACLEPRIVILEGEPROPOSAL"]._loaded_options = None - _globals["_REVOKEBANDORACLEPRIVILEGEPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(oracle/RevokeBandOraclePrivilegeProposal" - ) - _globals["_GRANTPRICEFEEDERPRIVILEGEPROPOSAL"]._loaded_options = None - _globals["_GRANTPRICEFEEDERPRIVILEGEPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(oracle/GrantPriceFeederPrivilegeProposal" - ) - _globals["_GRANTPROVIDERPRIVILEGEPROPOSAL"]._loaded_options = None - _globals["_GRANTPROVIDERPRIVILEGEPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*%oracle/GrantProviderPrivilegeProposal" - ) - _globals["_REVOKEPROVIDERPRIVILEGEPROPOSAL"]._loaded_options = None - _globals["_REVOKEPROVIDERPRIVILEGEPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&oracle/RevokeProviderPrivilegeProposal" - ) - _globals["_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL"]._loaded_options = None - _globals["_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)oracle/RevokePriceFeederPrivilegeProposal" - ) - _globals["_AUTHORIZEBANDORACLEREQUESTPROPOSAL"].fields_by_name["request"]._loaded_options = None - _globals["_AUTHORIZEBANDORACLEREQUESTPROPOSAL"].fields_by_name["request"]._serialized_options = b"\310\336\037\000" - _globals["_AUTHORIZEBANDORACLEREQUESTPROPOSAL"]._loaded_options = None - _globals["_AUTHORIZEBANDORACLEREQUESTPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)oracle/AuthorizeBandOracleRequestProposal" - ) - _globals["_UPDATEBANDORACLEREQUESTPROPOSAL"]._loaded_options = None - _globals["_UPDATEBANDORACLEREQUESTPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&oracle/UpdateBandOracleRequestProposal" - ) - _globals["_ENABLEBANDIBCPROPOSAL"].fields_by_name["band_ibc_params"]._loaded_options = None - _globals["_ENABLEBANDIBCPROPOSAL"].fields_by_name["band_ibc_params"]._serialized_options = b"\310\336\037\000" - _globals["_ENABLEBANDIBCPROPOSAL"]._loaded_options = None - _globals["_ENABLEBANDIBCPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034oracle/EnableBandIBCProposal" - ) - _globals["_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL"]._loaded_options = None - _globals["_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*+oracle/GrantStorkPublisherPrivilegeProposal" - ) - _globals["_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL"]._loaded_options = None - _globals["_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,oracle/RevokeStorkPublisherPrivilegeProposal" - ) - _globals["_GRANTBANDORACLEPRIVILEGEPROPOSAL"]._serialized_start = 209 - _globals["_GRANTBANDORACLEPRIVILEGEPROPOSAL"]._serialized_end = 411 - _globals["_REVOKEBANDORACLEPRIVILEGEPROPOSAL"]._serialized_start = 414 - _globals["_REVOKEBANDORACLEPRIVILEGEPROPOSAL"]._serialized_end = 618 - _globals["_GRANTPRICEFEEDERPRIVILEGEPROPOSAL"]._serialized_start = 621 - _globals["_GRANTPRICEFEEDERPRIVILEGEPROPOSAL"]._serialized_end = 867 - _globals["_GRANTPROVIDERPRIVILEGEPROPOSAL"]._serialized_start = 870 - _globals["_GRANTPROVIDERPRIVILEGEPROPOSAL"]._serialized_end = 1096 - _globals["_REVOKEPROVIDERPRIVILEGEPROPOSAL"]._serialized_start = 1099 - _globals["_REVOKEPROVIDERPRIVILEGEPROPOSAL"]._serialized_end = 1327 - _globals["_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL"]._serialized_start = 1330 - _globals["_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL"]._serialized_end = 1578 - _globals["_AUTHORIZEBANDORACLEREQUESTPROPOSAL"]._serialized_start = 1581 - _globals["_AUTHORIZEBANDORACLEREQUESTPROPOSAL"]._serialized_end = 1836 - _globals["_UPDATEBANDORACLEREQUESTPROPOSAL"]._serialized_start = 1839 - _globals["_UPDATEBANDORACLEREQUESTPROPOSAL"]._serialized_end = 2154 - _globals["_ENABLEBANDIBCPROPOSAL"]._serialized_start = 2157 - _globals["_ENABLEBANDIBCPROPOSAL"]._serialized_end = 2396 - _globals["_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL"]._serialized_start = 2399 - _globals["_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL"]._serialized_end = 2624 - _globals["_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL"]._serialized_start = 2627 - _globals["_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL"]._serialized_end = 2854 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\rProposalProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1' + _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._loaded_options = None + _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\'oracle/GrantBandOraclePrivilegeProposal' + _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._loaded_options = None + _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(oracle/RevokeBandOraclePrivilegeProposal' + _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._loaded_options = None + _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(oracle/GrantPriceFeederPrivilegeProposal' + _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._loaded_options = None + _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*%oracle/GrantProviderPrivilegeProposal' + _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._loaded_options = None + _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&oracle/RevokeProviderPrivilegeProposal' + _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._loaded_options = None + _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)oracle/RevokePriceFeederPrivilegeProposal' + _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL'].fields_by_name['request']._loaded_options = None + _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL'].fields_by_name['request']._serialized_options = b'\310\336\037\000' + _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._loaded_options = None + _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)oracle/AuthorizeBandOracleRequestProposal' + _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._loaded_options = None + _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*&oracle/UpdateBandOracleRequestProposal' + _globals['_ENABLEBANDIBCPROPOSAL'].fields_by_name['band_ibc_params']._loaded_options = None + _globals['_ENABLEBANDIBCPROPOSAL'].fields_by_name['band_ibc_params']._serialized_options = b'\310\336\037\000' + _globals['_ENABLEBANDIBCPROPOSAL']._loaded_options = None + _globals['_ENABLEBANDIBCPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034oracle/EnableBandIBCProposal' + _globals['_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL']._loaded_options = None + _globals['_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*+oracle/GrantStorkPublisherPrivilegeProposal' + _globals['_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL']._loaded_options = None + _globals['_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*,oracle/RevokeStorkPublisherPrivilegeProposal' + _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._serialized_start=209 + _globals['_GRANTBANDORACLEPRIVILEGEPROPOSAL']._serialized_end=411 + _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._serialized_start=414 + _globals['_REVOKEBANDORACLEPRIVILEGEPROPOSAL']._serialized_end=618 + _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_start=621 + _globals['_GRANTPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_end=867 + _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._serialized_start=870 + _globals['_GRANTPROVIDERPRIVILEGEPROPOSAL']._serialized_end=1096 + _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._serialized_start=1099 + _globals['_REVOKEPROVIDERPRIVILEGEPROPOSAL']._serialized_end=1327 + _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_start=1330 + _globals['_REVOKEPRICEFEEDERPRIVILEGEPROPOSAL']._serialized_end=1578 + _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._serialized_start=1581 + _globals['_AUTHORIZEBANDORACLEREQUESTPROPOSAL']._serialized_end=1836 + _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._serialized_start=1839 + _globals['_UPDATEBANDORACLEREQUESTPROPOSAL']._serialized_end=2154 + _globals['_ENABLEBANDIBCPROPOSAL']._serialized_start=2157 + _globals['_ENABLEBANDIBCPROPOSAL']._serialized_end=2396 + _globals['_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_start=2399 + _globals['_GRANTSTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_end=2624 + _globals['_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_start=2627 + _globals['_REVOKESTORKPUBLISHERPRIVILEGEPROPOSAL']._serialized_end=2854 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2_grpc.py +++ b/pyinjective/proto/injective/oracle/v1beta1/proposal_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py index 94998ec3..31138e67 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,190 +18,138 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$injective/oracle/v1beta1/query.proto\x12\x18injective.oracle.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a&injective/oracle/v1beta1/genesis.proto\x1a\x14gogoproto/gogo.proto"2\n\x15QueryPythPriceRequest\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId"c\n\x16QueryPythPriceResponse\x12I\n\x0bprice_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\npriceState"\x14\n\x12QueryParamsRequest"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\x1a\n\x18QueryBandRelayersRequest"7\n\x19QueryBandRelayersResponse\x12\x1a\n\x08relayers\x18\x01 \x03(\tR\x08relayers"\x1d\n\x1bQueryBandPriceStatesRequest"k\n\x1cQueryBandPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0bpriceStates" \n\x1eQueryBandIBCPriceStatesRequest"n\n\x1fQueryBandIBCPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0bpriceStates""\n QueryPriceFeedPriceStatesRequest"p\n!QueryPriceFeedPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedStateR\x0bpriceStates"!\n\x1fQueryCoinbasePriceStatesRequest"s\n QueryCoinbasePriceStatesResponse\x12O\n\x0cprice_states\x18\x01 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceStateR\x0bpriceStates"\x1d\n\x1bQueryPythPriceStatesRequest"k\n\x1cQueryPythPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x0bpriceStates"\x1e\n\x1cQueryStorkPriceStatesRequest"m\n\x1dQueryStorkPriceStatesResponse\x12L\n\x0cprice_states\x18\x01 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x0bpriceStates"\x1d\n\x1bQueryStorkPublishersRequest">\n\x1cQueryStorkPublishersResponse\x12\x1e\n\npublishers\x18\x01 \x03(\tR\npublishers"T\n\x1eQueryProviderPriceStateRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol"h\n\x1fQueryProviderPriceStateResponse\x12\x45\n\x0bprice_state\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\npriceState"\x19\n\x17QueryModuleStateRequest"X\n\x18QueryModuleStateResponse\x12<\n\x05state\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.GenesisStateR\x05state"\x7f\n"QueryHistoricalPriceRecordsRequest\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId"r\n#QueryHistoricalPriceRecordsResponse\x12K\n\rprice_records\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecordsR\x0cpriceRecords"\x8a\x01\n\x14OracleHistoryOptions\x12\x17\n\x07max_age\x18\x01 \x01(\x04R\x06maxAge\x12.\n\x13include_raw_history\x18\x02 \x01(\x08R\x11includeRawHistory\x12)\n\x10include_metadata\x18\x03 \x01(\x08R\x0fincludeMetadata"\x8c\x02\n\x1cQueryOracleVolatilityRequest\x12\x41\n\tbase_info\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfoR\x08\x62\x61seInfo\x12\x43\n\nquote_info\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfoR\tquoteInfo\x12\x64\n\x16oracle_history_options\x18\x03 \x01(\x0b\x32..injective.oracle.v1beta1.OracleHistoryOptionsR\x14oracleHistoryOptions"\x81\x02\n\x1dQueryOracleVolatilityResponse\x12?\n\nvolatility\x18\x01 \x01(\tB\x1f\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nvolatility\x12W\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatisticsR\x0fhistoryMetadata\x12\x46\n\x0braw_history\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecordR\nrawHistory"!\n\x1fQueryOracleProvidersInfoRequest"h\n QueryOracleProvidersInfoResponse\x12\x44\n\tproviders\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.ProviderInfoR\tproviders">\n QueryOracleProviderPricesRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider"r\n!QueryOracleProviderPricesResponse\x12M\n\rproviderState\x18\x01 \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderStateR\rproviderState"\\\n\x0eScalingOptions\x12#\n\rbase_decimals\x18\x01 \x01(\rR\x0c\x62\x61seDecimals\x12%\n\x0equote_decimals\x18\x02 \x01(\rR\rquoteDecimals"\xe3\x01\n\x17QueryOraclePriceRequest\x12\x45\n\x0boracle_type\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x12\n\x04\x62\x61se\x18\x02 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x01(\tR\x05quote\x12W\n\x0fscaling_options\x18\x04 \x01(\x0b\x32(.injective.oracle.v1beta1.ScalingOptionsB\x04\xc8\xde\x1f\x01R\x0escalingOptions"\xe2\x03\n\x0ePricePairState\x12\x42\n\npair_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tpairPrice\x12\x42\n\nbase_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tbasePrice\x12\x44\n\x0bquote_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nquotePrice\x12W\n\x15\x62\x61se_cumulative_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13\x62\x61seCumulativePrice\x12Y\n\x16quote_cumulative_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14quoteCumulativePrice\x12%\n\x0e\x62\x61se_timestamp\x18\x06 \x01(\x03R\rbaseTimestamp\x12\'\n\x0fquote_timestamp\x18\x07 \x01(\x03R\x0equoteTimestamp"n\n\x18QueryOraclePriceResponse\x12R\n\x10price_pair_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PricePairStateR\x0epricePairState2\xcd\x18\n\x05Query\x12\x8f\x01\n\x06Params\x12,.injective.oracle.v1beta1.QueryParamsRequest\x1a-.injective.oracle.v1beta1.QueryParamsResponse"(\x82\xd3\xe4\x93\x02"\x12 /injective/oracle/v1beta1/params\x12\xa8\x01\n\x0c\x42\x61ndRelayers\x12\x32.injective.oracle.v1beta1.QueryBandRelayersRequest\x1a\x33.injective.oracle.v1beta1.QueryBandRelayersResponse"/\x82\xd3\xe4\x93\x02)\x12\'/injective/oracle/v1beta1/band_relayers\x12\xb5\x01\n\x0f\x42\x61ndPriceStates\x12\x35.injective.oracle.v1beta1.QueryBandPriceStatesRequest\x1a\x36.injective.oracle.v1beta1.QueryBandPriceStatesResponse"3\x82\xd3\xe4\x93\x02-\x12+/injective/oracle/v1beta1/band_price_states\x12\xc2\x01\n\x12\x42\x61ndIBCPriceStates\x12\x38.injective.oracle.v1beta1.QueryBandIBCPriceStatesRequest\x1a\x39.injective.oracle.v1beta1.QueryBandIBCPriceStatesResponse"7\x82\xd3\xe4\x93\x02\x31\x12//injective/oracle/v1beta1/band_ibc_price_states\x12\xc9\x01\n\x14PriceFeedPriceStates\x12:.injective.oracle.v1beta1.QueryPriceFeedPriceStatesRequest\x1a;.injective.oracle.v1beta1.QueryPriceFeedPriceStatesResponse"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/oracle/v1beta1/pricefeed_price_states\x12\xc5\x01\n\x13\x43oinbasePriceStates\x12\x39.injective.oracle.v1beta1.QueryCoinbasePriceStatesRequest\x1a:.injective.oracle.v1beta1.QueryCoinbasePriceStatesResponse"7\x82\xd3\xe4\x93\x02\x31\x12//injective/oracle/v1beta1/coinbase_price_states\x12\xb5\x01\n\x0fPythPriceStates\x12\x35.injective.oracle.v1beta1.QueryPythPriceStatesRequest\x1a\x36.injective.oracle.v1beta1.QueryPythPriceStatesResponse"3\x82\xd3\xe4\x93\x02-\x12+/injective/oracle/v1beta1/pyth_price_states\x12\xb9\x01\n\x10StorkPriceStates\x12\x36.injective.oracle.v1beta1.QueryStorkPriceStatesRequest\x1a\x37.injective.oracle.v1beta1.QueryStorkPriceStatesResponse"4\x82\xd3\xe4\x93\x02.\x12,/injective/oracle/v1beta1/stork_price_states\x12\xb4\x01\n\x0fStorkPublishers\x12\x35.injective.oracle.v1beta1.QueryStorkPublishersRequest\x1a\x36.injective.oracle.v1beta1.QueryStorkPublishersResponse"2\x82\xd3\xe4\x93\x02,\x12*/injective/oracle/v1beta1/stork_publishers\x12\xd5\x01\n\x12ProviderPriceState\x12\x38.injective.oracle.v1beta1.QueryProviderPriceStateRequest\x1a\x39.injective.oracle.v1beta1.QueryProviderPriceStateResponse"J\x82\xd3\xe4\x93\x02\x44\x12\x42/injective/oracle/v1beta1/provider_price_state/{provider}/{symbol}\x12\xaa\x01\n\x11OracleModuleState\x12\x31.injective.oracle.v1beta1.QueryModuleStateRequest\x1a\x32.injective.oracle.v1beta1.QueryModuleStateResponse".\x82\xd3\xe4\x93\x02(\x12&/injective/oracle/v1beta1/module_state\x12\xd1\x01\n\x16HistoricalPriceRecords\x12<.injective.oracle.v1beta1.QueryHistoricalPriceRecordsRequest\x1a=.injective.oracle.v1beta1.QueryHistoricalPriceRecordsResponse":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/oracle/v1beta1/historical_price_records\x12\xb1\x01\n\x10OracleVolatility\x12\x36.injective.oracle.v1beta1.QueryOracleVolatilityRequest\x1a\x37.injective.oracle.v1beta1.QueryOracleVolatilityResponse",\x82\xd3\xe4\x93\x02&\x12$/injective/oracle/v1beta1/volatility\x12\xb9\x01\n\x13OracleProvidersInfo\x12\x39.injective.oracle.v1beta1.QueryOracleProvidersInfoRequest\x1a:.injective.oracle.v1beta1.QueryOracleProvidersInfoResponse"+\x82\xd3\xe4\x93\x02%\x12#/injective/oracle/v1beta1/providers\x12\xc2\x01\n\x14OracleProviderPrices\x12:.injective.oracle.v1beta1.QueryOracleProviderPricesRequest\x1a;.injective.oracle.v1beta1.QueryOracleProviderPricesResponse"1\x82\xd3\xe4\x93\x02+\x12)/injective/oracle/v1beta1/provider_prices\x12\x9d\x01\n\x0bOraclePrice\x12\x31.injective.oracle.v1beta1.QueryOraclePriceRequest\x1a\x32.injective.oracle.v1beta1.QueryOraclePriceResponse"\'\x82\xd3\xe4\x93\x02!\x12\x1f/injective/oracle/v1beta1/price\x12\x9c\x01\n\tPythPrice\x12/.injective.oracle.v1beta1.QueryPythPriceRequest\x1a\x30.injective.oracle.v1beta1.QueryPythPriceResponse",\x82\xd3\xe4\x93\x02&\x12$/injective/oracle/v1beta1/pyth_priceB\xfa\x01\n\x1c\x63om.injective.oracle.v1beta1B\nQueryProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/oracle/v1beta1/query.proto\x12\x18injective.oracle.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a&injective/oracle/v1beta1/genesis.proto\x1a\x14gogoproto/gogo.proto\"2\n\x15QueryPythPriceRequest\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\"c\n\x16QueryPythPriceResponse\x12I\n\x0bprice_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\npriceState\"\x14\n\x12QueryParamsRequest\"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1a\n\x18QueryBandRelayersRequest\"7\n\x19QueryBandRelayersResponse\x12\x1a\n\x08relayers\x18\x01 \x03(\tR\x08relayers\"\x1d\n\x1bQueryBandPriceStatesRequest\"k\n\x1cQueryBandPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0bpriceStates\" \n\x1eQueryBandIBCPriceStatesRequest\"n\n\x1fQueryBandIBCPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0bpriceStates\"\"\n QueryPriceFeedPriceStatesRequest\"p\n!QueryPriceFeedPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedStateR\x0bpriceStates\"!\n\x1fQueryCoinbasePriceStatesRequest\"s\n QueryCoinbasePriceStatesResponse\x12O\n\x0cprice_states\x18\x01 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceStateR\x0bpriceStates\"\x1d\n\x1bQueryPythPriceStatesRequest\"k\n\x1cQueryPythPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x0bpriceStates\"\x1e\n\x1cQueryStorkPriceStatesRequest\"m\n\x1dQueryStorkPriceStatesResponse\x12L\n\x0cprice_states\x18\x01 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x0bpriceStates\"\x1d\n\x1bQueryStorkPublishersRequest\">\n\x1cQueryStorkPublishersResponse\x12\x1e\n\npublishers\x18\x01 \x03(\tR\npublishers\"T\n\x1eQueryProviderPriceStateRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\"h\n\x1fQueryProviderPriceStateResponse\x12\x45\n\x0bprice_state\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\npriceState\"\x19\n\x17QueryModuleStateRequest\"X\n\x18QueryModuleStateResponse\x12<\n\x05state\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.GenesisStateR\x05state\"\x7f\n\"QueryHistoricalPriceRecordsRequest\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\"r\n#QueryHistoricalPriceRecordsResponse\x12K\n\rprice_records\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecordsR\x0cpriceRecords\"\x8a\x01\n\x14OracleHistoryOptions\x12\x17\n\x07max_age\x18\x01 \x01(\x04R\x06maxAge\x12.\n\x13include_raw_history\x18\x02 \x01(\x08R\x11includeRawHistory\x12)\n\x10include_metadata\x18\x03 \x01(\x08R\x0fincludeMetadata\"\x8c\x02\n\x1cQueryOracleVolatilityRequest\x12\x41\n\tbase_info\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfoR\x08\x62\x61seInfo\x12\x43\n\nquote_info\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfoR\tquoteInfo\x12\x64\n\x16oracle_history_options\x18\x03 \x01(\x0b\x32..injective.oracle.v1beta1.OracleHistoryOptionsR\x14oracleHistoryOptions\"\x81\x02\n\x1dQueryOracleVolatilityResponse\x12?\n\nvolatility\x18\x01 \x01(\tB\x1f\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nvolatility\x12W\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatisticsR\x0fhistoryMetadata\x12\x46\n\x0braw_history\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecordR\nrawHistory\"!\n\x1fQueryOracleProvidersInfoRequest\"h\n QueryOracleProvidersInfoResponse\x12\x44\n\tproviders\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.ProviderInfoR\tproviders\">\n QueryOracleProviderPricesRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\"r\n!QueryOracleProviderPricesResponse\x12M\n\rproviderState\x18\x01 \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderStateR\rproviderState\"\\\n\x0eScalingOptions\x12#\n\rbase_decimals\x18\x01 \x01(\rR\x0c\x62\x61seDecimals\x12%\n\x0equote_decimals\x18\x02 \x01(\rR\rquoteDecimals\"\xe3\x01\n\x17QueryOraclePriceRequest\x12\x45\n\x0boracle_type\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x12\n\x04\x62\x61se\x18\x02 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x01(\tR\x05quote\x12W\n\x0fscaling_options\x18\x04 \x01(\x0b\x32(.injective.oracle.v1beta1.ScalingOptionsB\x04\xc8\xde\x1f\x01R\x0escalingOptions\"\xe2\x03\n\x0ePricePairState\x12\x42\n\npair_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tpairPrice\x12\x42\n\nbase_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tbasePrice\x12\x44\n\x0bquote_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nquotePrice\x12W\n\x15\x62\x61se_cumulative_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13\x62\x61seCumulativePrice\x12Y\n\x16quote_cumulative_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14quoteCumulativePrice\x12%\n\x0e\x62\x61se_timestamp\x18\x06 \x01(\x03R\rbaseTimestamp\x12\'\n\x0fquote_timestamp\x18\x07 \x01(\x03R\x0equoteTimestamp\"n\n\x18QueryOraclePriceResponse\x12R\n\x10price_pair_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PricePairStateR\x0epricePairState2\xcd\x18\n\x05Query\x12\x8f\x01\n\x06Params\x12,.injective.oracle.v1beta1.QueryParamsRequest\x1a-.injective.oracle.v1beta1.QueryParamsResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /injective/oracle/v1beta1/params\x12\xa8\x01\n\x0c\x42\x61ndRelayers\x12\x32.injective.oracle.v1beta1.QueryBandRelayersRequest\x1a\x33.injective.oracle.v1beta1.QueryBandRelayersResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/injective/oracle/v1beta1/band_relayers\x12\xb5\x01\n\x0f\x42\x61ndPriceStates\x12\x35.injective.oracle.v1beta1.QueryBandPriceStatesRequest\x1a\x36.injective.oracle.v1beta1.QueryBandPriceStatesResponse\"3\x82\xd3\xe4\x93\x02-\x12+/injective/oracle/v1beta1/band_price_states\x12\xc2\x01\n\x12\x42\x61ndIBCPriceStates\x12\x38.injective.oracle.v1beta1.QueryBandIBCPriceStatesRequest\x1a\x39.injective.oracle.v1beta1.QueryBandIBCPriceStatesResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/oracle/v1beta1/band_ibc_price_states\x12\xc9\x01\n\x14PriceFeedPriceStates\x12:.injective.oracle.v1beta1.QueryPriceFeedPriceStatesRequest\x1a;.injective.oracle.v1beta1.QueryPriceFeedPriceStatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/oracle/v1beta1/pricefeed_price_states\x12\xc5\x01\n\x13\x43oinbasePriceStates\x12\x39.injective.oracle.v1beta1.QueryCoinbasePriceStatesRequest\x1a:.injective.oracle.v1beta1.QueryCoinbasePriceStatesResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/oracle/v1beta1/coinbase_price_states\x12\xb5\x01\n\x0fPythPriceStates\x12\x35.injective.oracle.v1beta1.QueryPythPriceStatesRequest\x1a\x36.injective.oracle.v1beta1.QueryPythPriceStatesResponse\"3\x82\xd3\xe4\x93\x02-\x12+/injective/oracle/v1beta1/pyth_price_states\x12\xb9\x01\n\x10StorkPriceStates\x12\x36.injective.oracle.v1beta1.QueryStorkPriceStatesRequest\x1a\x37.injective.oracle.v1beta1.QueryStorkPriceStatesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/injective/oracle/v1beta1/stork_price_states\x12\xb4\x01\n\x0fStorkPublishers\x12\x35.injective.oracle.v1beta1.QueryStorkPublishersRequest\x1a\x36.injective.oracle.v1beta1.QueryStorkPublishersResponse\"2\x82\xd3\xe4\x93\x02,\x12*/injective/oracle/v1beta1/stork_publishers\x12\xd5\x01\n\x12ProviderPriceState\x12\x38.injective.oracle.v1beta1.QueryProviderPriceStateRequest\x1a\x39.injective.oracle.v1beta1.QueryProviderPriceStateResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/injective/oracle/v1beta1/provider_price_state/{provider}/{symbol}\x12\xaa\x01\n\x11OracleModuleState\x12\x31.injective.oracle.v1beta1.QueryModuleStateRequest\x1a\x32.injective.oracle.v1beta1.QueryModuleStateResponse\".\x82\xd3\xe4\x93\x02(\x12&/injective/oracle/v1beta1/module_state\x12\xd1\x01\n\x16HistoricalPriceRecords\x12<.injective.oracle.v1beta1.QueryHistoricalPriceRecordsRequest\x1a=.injective.oracle.v1beta1.QueryHistoricalPriceRecordsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/oracle/v1beta1/historical_price_records\x12\xb1\x01\n\x10OracleVolatility\x12\x36.injective.oracle.v1beta1.QueryOracleVolatilityRequest\x1a\x37.injective.oracle.v1beta1.QueryOracleVolatilityResponse\",\x82\xd3\xe4\x93\x02&\x12$/injective/oracle/v1beta1/volatility\x12\xb9\x01\n\x13OracleProvidersInfo\x12\x39.injective.oracle.v1beta1.QueryOracleProvidersInfoRequest\x1a:.injective.oracle.v1beta1.QueryOracleProvidersInfoResponse\"+\x82\xd3\xe4\x93\x02%\x12#/injective/oracle/v1beta1/providers\x12\xc2\x01\n\x14OracleProviderPrices\x12:.injective.oracle.v1beta1.QueryOracleProviderPricesRequest\x1a;.injective.oracle.v1beta1.QueryOracleProviderPricesResponse\"1\x82\xd3\xe4\x93\x02+\x12)/injective/oracle/v1beta1/provider_prices\x12\x9d\x01\n\x0bOraclePrice\x12\x31.injective.oracle.v1beta1.QueryOraclePriceRequest\x1a\x32.injective.oracle.v1beta1.QueryOraclePriceResponse\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/injective/oracle/v1beta1/price\x12\x9c\x01\n\tPythPrice\x12/.injective.oracle.v1beta1.QueryPythPriceRequest\x1a\x30.injective.oracle.v1beta1.QueryPythPriceResponse\",\x82\xd3\xe4\x93\x02&\x12$/injective/oracle/v1beta1/pyth_priceB\xfa\x01\n\x1c\x63om.injective.oracle.v1beta1B\nQueryProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.oracle.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\034com.injective.oracle.v1beta1B\nQueryProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1" - ) - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYORACLEVOLATILITYRESPONSE"].fields_by_name["volatility"]._loaded_options = None - _globals["_QUERYORACLEVOLATILITYRESPONSE"].fields_by_name[ - "volatility" - ]._serialized_options = b"\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERYORACLEPRICEREQUEST"].fields_by_name["scaling_options"]._loaded_options = None - _globals["_QUERYORACLEPRICEREQUEST"].fields_by_name["scaling_options"]._serialized_options = b"\310\336\037\001" - _globals["_PRICEPAIRSTATE"].fields_by_name["pair_price"]._loaded_options = None - _globals["_PRICEPAIRSTATE"].fields_by_name[ - "pair_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PRICEPAIRSTATE"].fields_by_name["base_price"]._loaded_options = None - _globals["_PRICEPAIRSTATE"].fields_by_name[ - "base_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PRICEPAIRSTATE"].fields_by_name["quote_price"]._loaded_options = None - _globals["_PRICEPAIRSTATE"].fields_by_name[ - "quote_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PRICEPAIRSTATE"].fields_by_name["base_cumulative_price"]._loaded_options = None - _globals["_PRICEPAIRSTATE"].fields_by_name[ - "base_cumulative_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PRICEPAIRSTATE"].fields_by_name["quote_cumulative_price"]._loaded_options = None - _globals["_PRICEPAIRSTATE"].fields_by_name[ - "quote_cumulative_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b'\202\323\344\223\002"\022 /injective/oracle/v1beta1/params' - _globals["_QUERY"].methods_by_name["BandRelayers"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "BandRelayers" - ]._serialized_options = b"\202\323\344\223\002)\022'/injective/oracle/v1beta1/band_relayers" - _globals["_QUERY"].methods_by_name["BandPriceStates"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "BandPriceStates" - ]._serialized_options = b"\202\323\344\223\002-\022+/injective/oracle/v1beta1/band_price_states" - _globals["_QUERY"].methods_by_name["BandIBCPriceStates"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "BandIBCPriceStates" - ]._serialized_options = b"\202\323\344\223\0021\022//injective/oracle/v1beta1/band_ibc_price_states" - _globals["_QUERY"].methods_by_name["PriceFeedPriceStates"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "PriceFeedPriceStates" - ]._serialized_options = b"\202\323\344\223\0022\0220/injective/oracle/v1beta1/pricefeed_price_states" - _globals["_QUERY"].methods_by_name["CoinbasePriceStates"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "CoinbasePriceStates" - ]._serialized_options = b"\202\323\344\223\0021\022//injective/oracle/v1beta1/coinbase_price_states" - _globals["_QUERY"].methods_by_name["PythPriceStates"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "PythPriceStates" - ]._serialized_options = b"\202\323\344\223\002-\022+/injective/oracle/v1beta1/pyth_price_states" - _globals["_QUERY"].methods_by_name["StorkPriceStates"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "StorkPriceStates" - ]._serialized_options = b"\202\323\344\223\002.\022,/injective/oracle/v1beta1/stork_price_states" - _globals["_QUERY"].methods_by_name["StorkPublishers"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "StorkPublishers" - ]._serialized_options = b"\202\323\344\223\002,\022*/injective/oracle/v1beta1/stork_publishers" - _globals["_QUERY"].methods_by_name["ProviderPriceState"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ProviderPriceState" - ]._serialized_options = ( - b"\202\323\344\223\002D\022B/injective/oracle/v1beta1/provider_price_state/{provider}/{symbol}" - ) - _globals["_QUERY"].methods_by_name["OracleModuleState"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "OracleModuleState" - ]._serialized_options = b"\202\323\344\223\002(\022&/injective/oracle/v1beta1/module_state" - _globals["_QUERY"].methods_by_name["HistoricalPriceRecords"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "HistoricalPriceRecords" - ]._serialized_options = b"\202\323\344\223\0024\0222/injective/oracle/v1beta1/historical_price_records" - _globals["_QUERY"].methods_by_name["OracleVolatility"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "OracleVolatility" - ]._serialized_options = b"\202\323\344\223\002&\022$/injective/oracle/v1beta1/volatility" - _globals["_QUERY"].methods_by_name["OracleProvidersInfo"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "OracleProvidersInfo" - ]._serialized_options = b"\202\323\344\223\002%\022#/injective/oracle/v1beta1/providers" - _globals["_QUERY"].methods_by_name["OracleProviderPrices"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "OracleProviderPrices" - ]._serialized_options = b"\202\323\344\223\002+\022)/injective/oracle/v1beta1/provider_prices" - _globals["_QUERY"].methods_by_name["OraclePrice"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "OraclePrice" - ]._serialized_options = b"\202\323\344\223\002!\022\037/injective/oracle/v1beta1/price" - _globals["_QUERY"].methods_by_name["PythPrice"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "PythPrice" - ]._serialized_options = b"\202\323\344\223\002&\022$/injective/oracle/v1beta1/pyth_price" - _globals["_QUERYPYTHPRICEREQUEST"]._serialized_start = 197 - _globals["_QUERYPYTHPRICEREQUEST"]._serialized_end = 247 - _globals["_QUERYPYTHPRICERESPONSE"]._serialized_start = 249 - _globals["_QUERYPYTHPRICERESPONSE"]._serialized_end = 348 - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 350 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 370 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 372 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 457 - _globals["_QUERYBANDRELAYERSREQUEST"]._serialized_start = 459 - _globals["_QUERYBANDRELAYERSREQUEST"]._serialized_end = 485 - _globals["_QUERYBANDRELAYERSRESPONSE"]._serialized_start = 487 - _globals["_QUERYBANDRELAYERSRESPONSE"]._serialized_end = 542 - _globals["_QUERYBANDPRICESTATESREQUEST"]._serialized_start = 544 - _globals["_QUERYBANDPRICESTATESREQUEST"]._serialized_end = 573 - _globals["_QUERYBANDPRICESTATESRESPONSE"]._serialized_start = 575 - _globals["_QUERYBANDPRICESTATESRESPONSE"]._serialized_end = 682 - _globals["_QUERYBANDIBCPRICESTATESREQUEST"]._serialized_start = 684 - _globals["_QUERYBANDIBCPRICESTATESREQUEST"]._serialized_end = 716 - _globals["_QUERYBANDIBCPRICESTATESRESPONSE"]._serialized_start = 718 - _globals["_QUERYBANDIBCPRICESTATESRESPONSE"]._serialized_end = 828 - _globals["_QUERYPRICEFEEDPRICESTATESREQUEST"]._serialized_start = 830 - _globals["_QUERYPRICEFEEDPRICESTATESREQUEST"]._serialized_end = 864 - _globals["_QUERYPRICEFEEDPRICESTATESRESPONSE"]._serialized_start = 866 - _globals["_QUERYPRICEFEEDPRICESTATESRESPONSE"]._serialized_end = 978 - _globals["_QUERYCOINBASEPRICESTATESREQUEST"]._serialized_start = 980 - _globals["_QUERYCOINBASEPRICESTATESREQUEST"]._serialized_end = 1013 - _globals["_QUERYCOINBASEPRICESTATESRESPONSE"]._serialized_start = 1015 - _globals["_QUERYCOINBASEPRICESTATESRESPONSE"]._serialized_end = 1130 - _globals["_QUERYPYTHPRICESTATESREQUEST"]._serialized_start = 1132 - _globals["_QUERYPYTHPRICESTATESREQUEST"]._serialized_end = 1161 - _globals["_QUERYPYTHPRICESTATESRESPONSE"]._serialized_start = 1163 - _globals["_QUERYPYTHPRICESTATESRESPONSE"]._serialized_end = 1270 - _globals["_QUERYSTORKPRICESTATESREQUEST"]._serialized_start = 1272 - _globals["_QUERYSTORKPRICESTATESREQUEST"]._serialized_end = 1302 - _globals["_QUERYSTORKPRICESTATESRESPONSE"]._serialized_start = 1304 - _globals["_QUERYSTORKPRICESTATESRESPONSE"]._serialized_end = 1413 - _globals["_QUERYSTORKPUBLISHERSREQUEST"]._serialized_start = 1415 - _globals["_QUERYSTORKPUBLISHERSREQUEST"]._serialized_end = 1444 - _globals["_QUERYSTORKPUBLISHERSRESPONSE"]._serialized_start = 1446 - _globals["_QUERYSTORKPUBLISHERSRESPONSE"]._serialized_end = 1508 - _globals["_QUERYPROVIDERPRICESTATEREQUEST"]._serialized_start = 1510 - _globals["_QUERYPROVIDERPRICESTATEREQUEST"]._serialized_end = 1594 - _globals["_QUERYPROVIDERPRICESTATERESPONSE"]._serialized_start = 1596 - _globals["_QUERYPROVIDERPRICESTATERESPONSE"]._serialized_end = 1700 - _globals["_QUERYMODULESTATEREQUEST"]._serialized_start = 1702 - _globals["_QUERYMODULESTATEREQUEST"]._serialized_end = 1727 - _globals["_QUERYMODULESTATERESPONSE"]._serialized_start = 1729 - _globals["_QUERYMODULESTATERESPONSE"]._serialized_end = 1817 - _globals["_QUERYHISTORICALPRICERECORDSREQUEST"]._serialized_start = 1819 - _globals["_QUERYHISTORICALPRICERECORDSREQUEST"]._serialized_end = 1946 - _globals["_QUERYHISTORICALPRICERECORDSRESPONSE"]._serialized_start = 1948 - _globals["_QUERYHISTORICALPRICERECORDSRESPONSE"]._serialized_end = 2062 - _globals["_ORACLEHISTORYOPTIONS"]._serialized_start = 2065 - _globals["_ORACLEHISTORYOPTIONS"]._serialized_end = 2203 - _globals["_QUERYORACLEVOLATILITYREQUEST"]._serialized_start = 2206 - _globals["_QUERYORACLEVOLATILITYREQUEST"]._serialized_end = 2474 - _globals["_QUERYORACLEVOLATILITYRESPONSE"]._serialized_start = 2477 - _globals["_QUERYORACLEVOLATILITYRESPONSE"]._serialized_end = 2734 - _globals["_QUERYORACLEPROVIDERSINFOREQUEST"]._serialized_start = 2736 - _globals["_QUERYORACLEPROVIDERSINFOREQUEST"]._serialized_end = 2769 - _globals["_QUERYORACLEPROVIDERSINFORESPONSE"]._serialized_start = 2771 - _globals["_QUERYORACLEPROVIDERSINFORESPONSE"]._serialized_end = 2875 - _globals["_QUERYORACLEPROVIDERPRICESREQUEST"]._serialized_start = 2877 - _globals["_QUERYORACLEPROVIDERPRICESREQUEST"]._serialized_end = 2939 - _globals["_QUERYORACLEPROVIDERPRICESRESPONSE"]._serialized_start = 2941 - _globals["_QUERYORACLEPROVIDERPRICESRESPONSE"]._serialized_end = 3055 - _globals["_SCALINGOPTIONS"]._serialized_start = 3057 - _globals["_SCALINGOPTIONS"]._serialized_end = 3149 - _globals["_QUERYORACLEPRICEREQUEST"]._serialized_start = 3152 - _globals["_QUERYORACLEPRICEREQUEST"]._serialized_end = 3379 - _globals["_PRICEPAIRSTATE"]._serialized_start = 3382 - _globals["_PRICEPAIRSTATE"]._serialized_end = 3864 - _globals["_QUERYORACLEPRICERESPONSE"]._serialized_start = 3866 - _globals["_QUERYORACLEPRICERESPONSE"]._serialized_end = 3976 - _globals["_QUERY"]._serialized_start = 3979 - _globals["_QUERY"]._serialized_end = 7128 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\nQueryProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_QUERYORACLEVOLATILITYRESPONSE'].fields_by_name['volatility']._loaded_options = None + _globals['_QUERYORACLEVOLATILITYRESPONSE'].fields_by_name['volatility']._serialized_options = b'\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYORACLEPRICEREQUEST'].fields_by_name['scaling_options']._loaded_options = None + _globals['_QUERYORACLEPRICEREQUEST'].fields_by_name['scaling_options']._serialized_options = b'\310\336\037\001' + _globals['_PRICEPAIRSTATE'].fields_by_name['pair_price']._loaded_options = None + _globals['_PRICEPAIRSTATE'].fields_by_name['pair_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PRICEPAIRSTATE'].fields_by_name['base_price']._loaded_options = None + _globals['_PRICEPAIRSTATE'].fields_by_name['base_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PRICEPAIRSTATE'].fields_by_name['quote_price']._loaded_options = None + _globals['_PRICEPAIRSTATE'].fields_by_name['quote_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PRICEPAIRSTATE'].fields_by_name['base_cumulative_price']._loaded_options = None + _globals['_PRICEPAIRSTATE'].fields_by_name['base_cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PRICEPAIRSTATE'].fields_by_name['quote_cumulative_price']._loaded_options = None + _globals['_PRICEPAIRSTATE'].fields_by_name['quote_cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\"\022 /injective/oracle/v1beta1/params' + _globals['_QUERY'].methods_by_name['BandRelayers']._loaded_options = None + _globals['_QUERY'].methods_by_name['BandRelayers']._serialized_options = b'\202\323\344\223\002)\022\'/injective/oracle/v1beta1/band_relayers' + _globals['_QUERY'].methods_by_name['BandPriceStates']._loaded_options = None + _globals['_QUERY'].methods_by_name['BandPriceStates']._serialized_options = b'\202\323\344\223\002-\022+/injective/oracle/v1beta1/band_price_states' + _globals['_QUERY'].methods_by_name['BandIBCPriceStates']._loaded_options = None + _globals['_QUERY'].methods_by_name['BandIBCPriceStates']._serialized_options = b'\202\323\344\223\0021\022//injective/oracle/v1beta1/band_ibc_price_states' + _globals['_QUERY'].methods_by_name['PriceFeedPriceStates']._loaded_options = None + _globals['_QUERY'].methods_by_name['PriceFeedPriceStates']._serialized_options = b'\202\323\344\223\0022\0220/injective/oracle/v1beta1/pricefeed_price_states' + _globals['_QUERY'].methods_by_name['CoinbasePriceStates']._loaded_options = None + _globals['_QUERY'].methods_by_name['CoinbasePriceStates']._serialized_options = b'\202\323\344\223\0021\022//injective/oracle/v1beta1/coinbase_price_states' + _globals['_QUERY'].methods_by_name['PythPriceStates']._loaded_options = None + _globals['_QUERY'].methods_by_name['PythPriceStates']._serialized_options = b'\202\323\344\223\002-\022+/injective/oracle/v1beta1/pyth_price_states' + _globals['_QUERY'].methods_by_name['StorkPriceStates']._loaded_options = None + _globals['_QUERY'].methods_by_name['StorkPriceStates']._serialized_options = b'\202\323\344\223\002.\022,/injective/oracle/v1beta1/stork_price_states' + _globals['_QUERY'].methods_by_name['StorkPublishers']._loaded_options = None + _globals['_QUERY'].methods_by_name['StorkPublishers']._serialized_options = b'\202\323\344\223\002,\022*/injective/oracle/v1beta1/stork_publishers' + _globals['_QUERY'].methods_by_name['ProviderPriceState']._loaded_options = None + _globals['_QUERY'].methods_by_name['ProviderPriceState']._serialized_options = b'\202\323\344\223\002D\022B/injective/oracle/v1beta1/provider_price_state/{provider}/{symbol}' + _globals['_QUERY'].methods_by_name['OracleModuleState']._loaded_options = None + _globals['_QUERY'].methods_by_name['OracleModuleState']._serialized_options = b'\202\323\344\223\002(\022&/injective/oracle/v1beta1/module_state' + _globals['_QUERY'].methods_by_name['HistoricalPriceRecords']._loaded_options = None + _globals['_QUERY'].methods_by_name['HistoricalPriceRecords']._serialized_options = b'\202\323\344\223\0024\0222/injective/oracle/v1beta1/historical_price_records' + _globals['_QUERY'].methods_by_name['OracleVolatility']._loaded_options = None + _globals['_QUERY'].methods_by_name['OracleVolatility']._serialized_options = b'\202\323\344\223\002&\022$/injective/oracle/v1beta1/volatility' + _globals['_QUERY'].methods_by_name['OracleProvidersInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['OracleProvidersInfo']._serialized_options = b'\202\323\344\223\002%\022#/injective/oracle/v1beta1/providers' + _globals['_QUERY'].methods_by_name['OracleProviderPrices']._loaded_options = None + _globals['_QUERY'].methods_by_name['OracleProviderPrices']._serialized_options = b'\202\323\344\223\002+\022)/injective/oracle/v1beta1/provider_prices' + _globals['_QUERY'].methods_by_name['OraclePrice']._loaded_options = None + _globals['_QUERY'].methods_by_name['OraclePrice']._serialized_options = b'\202\323\344\223\002!\022\037/injective/oracle/v1beta1/price' + _globals['_QUERY'].methods_by_name['PythPrice']._loaded_options = None + _globals['_QUERY'].methods_by_name['PythPrice']._serialized_options = b'\202\323\344\223\002&\022$/injective/oracle/v1beta1/pyth_price' + _globals['_QUERYPYTHPRICEREQUEST']._serialized_start=197 + _globals['_QUERYPYTHPRICEREQUEST']._serialized_end=247 + _globals['_QUERYPYTHPRICERESPONSE']._serialized_start=249 + _globals['_QUERYPYTHPRICERESPONSE']._serialized_end=348 + _globals['_QUERYPARAMSREQUEST']._serialized_start=350 + _globals['_QUERYPARAMSREQUEST']._serialized_end=370 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=372 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=457 + _globals['_QUERYBANDRELAYERSREQUEST']._serialized_start=459 + _globals['_QUERYBANDRELAYERSREQUEST']._serialized_end=485 + _globals['_QUERYBANDRELAYERSRESPONSE']._serialized_start=487 + _globals['_QUERYBANDRELAYERSRESPONSE']._serialized_end=542 + _globals['_QUERYBANDPRICESTATESREQUEST']._serialized_start=544 + _globals['_QUERYBANDPRICESTATESREQUEST']._serialized_end=573 + _globals['_QUERYBANDPRICESTATESRESPONSE']._serialized_start=575 + _globals['_QUERYBANDPRICESTATESRESPONSE']._serialized_end=682 + _globals['_QUERYBANDIBCPRICESTATESREQUEST']._serialized_start=684 + _globals['_QUERYBANDIBCPRICESTATESREQUEST']._serialized_end=716 + _globals['_QUERYBANDIBCPRICESTATESRESPONSE']._serialized_start=718 + _globals['_QUERYBANDIBCPRICESTATESRESPONSE']._serialized_end=828 + _globals['_QUERYPRICEFEEDPRICESTATESREQUEST']._serialized_start=830 + _globals['_QUERYPRICEFEEDPRICESTATESREQUEST']._serialized_end=864 + _globals['_QUERYPRICEFEEDPRICESTATESRESPONSE']._serialized_start=866 + _globals['_QUERYPRICEFEEDPRICESTATESRESPONSE']._serialized_end=978 + _globals['_QUERYCOINBASEPRICESTATESREQUEST']._serialized_start=980 + _globals['_QUERYCOINBASEPRICESTATESREQUEST']._serialized_end=1013 + _globals['_QUERYCOINBASEPRICESTATESRESPONSE']._serialized_start=1015 + _globals['_QUERYCOINBASEPRICESTATESRESPONSE']._serialized_end=1130 + _globals['_QUERYPYTHPRICESTATESREQUEST']._serialized_start=1132 + _globals['_QUERYPYTHPRICESTATESREQUEST']._serialized_end=1161 + _globals['_QUERYPYTHPRICESTATESRESPONSE']._serialized_start=1163 + _globals['_QUERYPYTHPRICESTATESRESPONSE']._serialized_end=1270 + _globals['_QUERYSTORKPRICESTATESREQUEST']._serialized_start=1272 + _globals['_QUERYSTORKPRICESTATESREQUEST']._serialized_end=1302 + _globals['_QUERYSTORKPRICESTATESRESPONSE']._serialized_start=1304 + _globals['_QUERYSTORKPRICESTATESRESPONSE']._serialized_end=1413 + _globals['_QUERYSTORKPUBLISHERSREQUEST']._serialized_start=1415 + _globals['_QUERYSTORKPUBLISHERSREQUEST']._serialized_end=1444 + _globals['_QUERYSTORKPUBLISHERSRESPONSE']._serialized_start=1446 + _globals['_QUERYSTORKPUBLISHERSRESPONSE']._serialized_end=1508 + _globals['_QUERYPROVIDERPRICESTATEREQUEST']._serialized_start=1510 + _globals['_QUERYPROVIDERPRICESTATEREQUEST']._serialized_end=1594 + _globals['_QUERYPROVIDERPRICESTATERESPONSE']._serialized_start=1596 + _globals['_QUERYPROVIDERPRICESTATERESPONSE']._serialized_end=1700 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=1702 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=1727 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=1729 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=1817 + _globals['_QUERYHISTORICALPRICERECORDSREQUEST']._serialized_start=1819 + _globals['_QUERYHISTORICALPRICERECORDSREQUEST']._serialized_end=1946 + _globals['_QUERYHISTORICALPRICERECORDSRESPONSE']._serialized_start=1948 + _globals['_QUERYHISTORICALPRICERECORDSRESPONSE']._serialized_end=2062 + _globals['_ORACLEHISTORYOPTIONS']._serialized_start=2065 + _globals['_ORACLEHISTORYOPTIONS']._serialized_end=2203 + _globals['_QUERYORACLEVOLATILITYREQUEST']._serialized_start=2206 + _globals['_QUERYORACLEVOLATILITYREQUEST']._serialized_end=2474 + _globals['_QUERYORACLEVOLATILITYRESPONSE']._serialized_start=2477 + _globals['_QUERYORACLEVOLATILITYRESPONSE']._serialized_end=2734 + _globals['_QUERYORACLEPROVIDERSINFOREQUEST']._serialized_start=2736 + _globals['_QUERYORACLEPROVIDERSINFOREQUEST']._serialized_end=2769 + _globals['_QUERYORACLEPROVIDERSINFORESPONSE']._serialized_start=2771 + _globals['_QUERYORACLEPROVIDERSINFORESPONSE']._serialized_end=2875 + _globals['_QUERYORACLEPROVIDERPRICESREQUEST']._serialized_start=2877 + _globals['_QUERYORACLEPROVIDERPRICESREQUEST']._serialized_end=2939 + _globals['_QUERYORACLEPROVIDERPRICESRESPONSE']._serialized_start=2941 + _globals['_QUERYORACLEPROVIDERPRICESRESPONSE']._serialized_end=3055 + _globals['_SCALINGOPTIONS']._serialized_start=3057 + _globals['_SCALINGOPTIONS']._serialized_end=3149 + _globals['_QUERYORACLEPRICEREQUEST']._serialized_start=3152 + _globals['_QUERYORACLEPRICEREQUEST']._serialized_end=3379 + _globals['_PRICEPAIRSTATE']._serialized_start=3382 + _globals['_PRICEPAIRSTATE']._serialized_end=3864 + _globals['_QUERYORACLEPRICERESPONSE']._serialized_start=3866 + _globals['_QUERYORACLEPRICERESPONSE']._serialized_end=3976 + _globals['_QUERY']._serialized_start=3979 + _globals['_QUERY']._serialized_end=7128 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/query_pb2_grpc.py index b61be636..a368d998 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/injective/oracle/v1beta1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -15,329 +16,326 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - "/injective.oracle.v1beta1.Query/Params", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/Params', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) self.BandRelayers = channel.unary_unary( - "/injective.oracle.v1beta1.Query/BandRelayers", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/BandRelayers', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersResponse.FromString, + _registered_method=True) self.BandPriceStates = channel.unary_unary( - "/injective.oracle.v1beta1.Query/BandPriceStates", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/BandPriceStates', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesResponse.FromString, + _registered_method=True) self.BandIBCPriceStates = channel.unary_unary( - "/injective.oracle.v1beta1.Query/BandIBCPriceStates", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/BandIBCPriceStates', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesResponse.FromString, + _registered_method=True) self.PriceFeedPriceStates = channel.unary_unary( - "/injective.oracle.v1beta1.Query/PriceFeedPriceStates", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/PriceFeedPriceStates', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesResponse.FromString, + _registered_method=True) self.CoinbasePriceStates = channel.unary_unary( - "/injective.oracle.v1beta1.Query/CoinbasePriceStates", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/CoinbasePriceStates', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesResponse.FromString, + _registered_method=True) self.PythPriceStates = channel.unary_unary( - "/injective.oracle.v1beta1.Query/PythPriceStates", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/PythPriceStates', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesResponse.FromString, + _registered_method=True) self.StorkPriceStates = channel.unary_unary( - "/injective.oracle.v1beta1.Query/StorkPriceStates", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/StorkPriceStates', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesResponse.FromString, + _registered_method=True) self.StorkPublishers = channel.unary_unary( - "/injective.oracle.v1beta1.Query/StorkPublishers", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/StorkPublishers', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersResponse.FromString, + _registered_method=True) self.ProviderPriceState = channel.unary_unary( - "/injective.oracle.v1beta1.Query/ProviderPriceState", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/ProviderPriceState', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateResponse.FromString, + _registered_method=True) self.OracleModuleState = channel.unary_unary( - "/injective.oracle.v1beta1.Query/OracleModuleState", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/OracleModuleState', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, + _registered_method=True) self.HistoricalPriceRecords = channel.unary_unary( - "/injective.oracle.v1beta1.Query/HistoricalPriceRecords", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/HistoricalPriceRecords', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsResponse.FromString, + _registered_method=True) self.OracleVolatility = channel.unary_unary( - "/injective.oracle.v1beta1.Query/OracleVolatility", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/OracleVolatility', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityResponse.FromString, + _registered_method=True) self.OracleProvidersInfo = channel.unary_unary( - "/injective.oracle.v1beta1.Query/OracleProvidersInfo", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/OracleProvidersInfo', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoResponse.FromString, + _registered_method=True) self.OracleProviderPrices = channel.unary_unary( - "/injective.oracle.v1beta1.Query/OracleProviderPrices", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/OracleProviderPrices', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesResponse.FromString, + _registered_method=True) self.OraclePrice = channel.unary_unary( - "/injective.oracle.v1beta1.Query/OraclePrice", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/OraclePrice', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceResponse.FromString, + _registered_method=True) self.PythPrice = channel.unary_unary( - "/injective.oracle.v1beta1.Query/PythPrice", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceRequest.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Query/PythPrice', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceRequest.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def Params(self, request, context): - """Retrieves oracle params""" + """Retrieves oracle params + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def BandRelayers(self, request, context): - """Retrieves the band relayers""" + """Retrieves the band relayers + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def BandPriceStates(self, request, context): - """Retrieves the state for all band price feeds""" + """Retrieves the state for all band price feeds + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def BandIBCPriceStates(self, request, context): - """Retrieves the state for all band ibc price feeds""" + """Retrieves the state for all band ibc price feeds + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PriceFeedPriceStates(self, request, context): - """Retrieves the state for all price feeds""" + """Retrieves the state for all price feeds + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CoinbasePriceStates(self, request, context): - """Retrieves the state for all coinbase price feeds""" + """Retrieves the state for all coinbase price feeds + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PythPriceStates(self, request, context): - """Retrieves the state for all pyth price feeds""" + """Retrieves the state for all pyth price feeds + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def StorkPriceStates(self, request, context): - """Retrieves the state for all stork price feeds""" + """Retrieves the state for all stork price feeds + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def StorkPublishers(self, request, context): - """Retrieves all stork publishers""" + """Retrieves all stork publishers + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ProviderPriceState(self, request, context): - """Retrieves the state for all provider price feeds""" + """Retrieves the state for all provider price feeds + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def OracleModuleState(self, request, context): - """Retrieves the entire oracle module's state""" + """Retrieves the entire oracle module's state + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def HistoricalPriceRecords(self, request, context): - """Retrieves historical price records for a given OracleType and Symbol""" + """Retrieves historical price records for a given OracleType and Symbol + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def OracleVolatility(self, request, context): - """Retrieves mixed volatility value for the specified pair of base/quote""" + """Retrieves mixed volatility value for the specified pair of base/quote + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def OracleProvidersInfo(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def OracleProviderPrices(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def OraclePrice(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PythPrice(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - "BandRelayers": grpc.unary_unary_rpc_method_handler( - servicer.BandRelayers, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersResponse.SerializeToString, - ), - "BandPriceStates": grpc.unary_unary_rpc_method_handler( - servicer.BandPriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesResponse.SerializeToString, - ), - "BandIBCPriceStates": grpc.unary_unary_rpc_method_handler( - servicer.BandIBCPriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesResponse.SerializeToString, - ), - "PriceFeedPriceStates": grpc.unary_unary_rpc_method_handler( - servicer.PriceFeedPriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesResponse.SerializeToString, - ), - "CoinbasePriceStates": grpc.unary_unary_rpc_method_handler( - servicer.CoinbasePriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesResponse.SerializeToString, - ), - "PythPriceStates": grpc.unary_unary_rpc_method_handler( - servicer.PythPriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesResponse.SerializeToString, - ), - "StorkPriceStates": grpc.unary_unary_rpc_method_handler( - servicer.StorkPriceStates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesResponse.SerializeToString, - ), - "StorkPublishers": grpc.unary_unary_rpc_method_handler( - servicer.StorkPublishers, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersResponse.SerializeToString, - ), - "ProviderPriceState": grpc.unary_unary_rpc_method_handler( - servicer.ProviderPriceState, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateResponse.SerializeToString, - ), - "OracleModuleState": grpc.unary_unary_rpc_method_handler( - servicer.OracleModuleState, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, - ), - "HistoricalPriceRecords": grpc.unary_unary_rpc_method_handler( - servicer.HistoricalPriceRecords, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsResponse.SerializeToString, - ), - "OracleVolatility": grpc.unary_unary_rpc_method_handler( - servicer.OracleVolatility, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityResponse.SerializeToString, - ), - "OracleProvidersInfo": grpc.unary_unary_rpc_method_handler( - servicer.OracleProvidersInfo, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoResponse.SerializeToString, - ), - "OracleProviderPrices": grpc.unary_unary_rpc_method_handler( - servicer.OracleProviderPrices, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesResponse.SerializeToString, - ), - "OraclePrice": grpc.unary_unary_rpc_method_handler( - servicer.OraclePrice, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceResponse.SerializeToString, - ), - "PythPrice": grpc.unary_unary_rpc_method_handler( - servicer.PythPrice, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceRequest.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceResponse.SerializeToString, - ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'BandRelayers': grpc.unary_unary_rpc_method_handler( + servicer.BandRelayers, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersResponse.SerializeToString, + ), + 'BandPriceStates': grpc.unary_unary_rpc_method_handler( + servicer.BandPriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesResponse.SerializeToString, + ), + 'BandIBCPriceStates': grpc.unary_unary_rpc_method_handler( + servicer.BandIBCPriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesResponse.SerializeToString, + ), + 'PriceFeedPriceStates': grpc.unary_unary_rpc_method_handler( + servicer.PriceFeedPriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesResponse.SerializeToString, + ), + 'CoinbasePriceStates': grpc.unary_unary_rpc_method_handler( + servicer.CoinbasePriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesResponse.SerializeToString, + ), + 'PythPriceStates': grpc.unary_unary_rpc_method_handler( + servicer.PythPriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesResponse.SerializeToString, + ), + 'StorkPriceStates': grpc.unary_unary_rpc_method_handler( + servicer.StorkPriceStates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesResponse.SerializeToString, + ), + 'StorkPublishers': grpc.unary_unary_rpc_method_handler( + servicer.StorkPublishers, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersResponse.SerializeToString, + ), + 'ProviderPriceState': grpc.unary_unary_rpc_method_handler( + servicer.ProviderPriceState, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateResponse.SerializeToString, + ), + 'OracleModuleState': grpc.unary_unary_rpc_method_handler( + servicer.OracleModuleState, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), + 'HistoricalPriceRecords': grpc.unary_unary_rpc_method_handler( + servicer.HistoricalPriceRecords, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsResponse.SerializeToString, + ), + 'OracleVolatility': grpc.unary_unary_rpc_method_handler( + servicer.OracleVolatility, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityResponse.SerializeToString, + ), + 'OracleProvidersInfo': grpc.unary_unary_rpc_method_handler( + servicer.OracleProvidersInfo, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoResponse.SerializeToString, + ), + 'OracleProviderPrices': grpc.unary_unary_rpc_method_handler( + servicer.OracleProviderPrices, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesResponse.SerializeToString, + ), + 'OraclePrice': grpc.unary_unary_rpc_method_handler( + servicer.OraclePrice, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceResponse.SerializeToString, + ), + 'PythPrice': grpc.unary_unary_rpc_method_handler( + servicer.PythPrice, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceRequest.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("injective.oracle.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'injective.oracle.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("injective.oracle.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('injective.oracle.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/Params", + '/injective.oracle.v1beta1.Query/Params', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -348,26 +346,23 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def BandRelayers( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def BandRelayers(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/BandRelayers", + '/injective.oracle.v1beta1.Query/BandRelayers', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandRelayersResponse.FromString, options, @@ -378,26 +373,23 @@ def BandRelayers( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def BandPriceStates( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def BandPriceStates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/BandPriceStates", + '/injective.oracle.v1beta1.Query/BandPriceStates', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandPriceStatesResponse.FromString, options, @@ -408,26 +400,23 @@ def BandPriceStates( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def BandIBCPriceStates( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def BandIBCPriceStates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/BandIBCPriceStates", + '/injective.oracle.v1beta1.Query/BandIBCPriceStates', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryBandIBCPriceStatesResponse.FromString, options, @@ -438,26 +427,23 @@ def BandIBCPriceStates( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PriceFeedPriceStates( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PriceFeedPriceStates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/PriceFeedPriceStates", + '/injective.oracle.v1beta1.Query/PriceFeedPriceStates', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPriceFeedPriceStatesResponse.FromString, options, @@ -468,26 +454,23 @@ def PriceFeedPriceStates( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CoinbasePriceStates( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CoinbasePriceStates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/CoinbasePriceStates", + '/injective.oracle.v1beta1.Query/CoinbasePriceStates', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryCoinbasePriceStatesResponse.FromString, options, @@ -498,26 +481,23 @@ def CoinbasePriceStates( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PythPriceStates( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PythPriceStates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/PythPriceStates", + '/injective.oracle.v1beta1.Query/PythPriceStates', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceStatesResponse.FromString, options, @@ -528,26 +508,23 @@ def PythPriceStates( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def StorkPriceStates( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def StorkPriceStates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/StorkPriceStates", + '/injective.oracle.v1beta1.Query/StorkPriceStates', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPriceStatesResponse.FromString, options, @@ -558,26 +535,23 @@ def StorkPriceStates( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def StorkPublishers( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def StorkPublishers(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/StorkPublishers", + '/injective.oracle.v1beta1.Query/StorkPublishers', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryStorkPublishersResponse.FromString, options, @@ -588,26 +562,23 @@ def StorkPublishers( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ProviderPriceState( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ProviderPriceState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/ProviderPriceState", + '/injective.oracle.v1beta1.Query/ProviderPriceState', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryProviderPriceStateResponse.FromString, options, @@ -618,26 +589,23 @@ def ProviderPriceState( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def OracleModuleState( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def OracleModuleState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/OracleModuleState", + '/injective.oracle.v1beta1.Query/OracleModuleState', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, options, @@ -648,26 +616,23 @@ def OracleModuleState( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def HistoricalPriceRecords( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def HistoricalPriceRecords(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/HistoricalPriceRecords", + '/injective.oracle.v1beta1.Query/HistoricalPriceRecords', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryHistoricalPriceRecordsResponse.FromString, options, @@ -678,26 +643,23 @@ def HistoricalPriceRecords( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def OracleVolatility( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def OracleVolatility(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/OracleVolatility", + '/injective.oracle.v1beta1.Query/OracleVolatility', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleVolatilityResponse.FromString, options, @@ -708,26 +670,23 @@ def OracleVolatility( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def OracleProvidersInfo( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def OracleProvidersInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/OracleProvidersInfo", + '/injective.oracle.v1beta1.Query/OracleProvidersInfo', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProvidersInfoResponse.FromString, options, @@ -738,26 +697,23 @@ def OracleProvidersInfo( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def OracleProviderPrices( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def OracleProviderPrices(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/OracleProviderPrices", + '/injective.oracle.v1beta1.Query/OracleProviderPrices', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOracleProviderPricesResponse.FromString, options, @@ -768,26 +724,23 @@ def OracleProviderPrices( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def OraclePrice( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def OraclePrice(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/OraclePrice", + '/injective.oracle.v1beta1.Query/OraclePrice', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryOraclePriceResponse.FromString, options, @@ -798,26 +751,23 @@ def OraclePrice( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PythPrice( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PythPrice(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Query/PythPrice", + '/injective.oracle.v1beta1.Query/PythPrice', injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceRequest.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_query__pb2.QueryPythPriceResponse.FromString, options, @@ -828,5 +778,4 @@ def PythPrice( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py index 93269420..cfc4efa0 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,94 +19,72 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!injective/oracle/v1beta1/tx.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\xda\x01\n\x16MsgRelayProviderPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12\x18\n\x07symbols\x18\x03 \x03(\tR\x07symbols\x12;\n\x06prices\x18\x04 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06prices:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRelayProviderPrices" \n\x1eMsgRelayProviderPricesResponse"\xcc\x01\n\x16MsgRelayPriceFeedPrice\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x12\n\x04\x62\x61se\x18\x02 \x03(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x03(\tR\x05quote\x12\x39\n\x05price\x18\x04 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRelayPriceFeedPrice" \n\x1eMsgRelayPriceFeedPriceResponse"\xcd\x01\n\x11MsgRelayBandRates\x12\x18\n\x07relayer\x18\x01 \x01(\tR\x07relayer\x12\x18\n\x07symbols\x18\x02 \x03(\tR\x07symbols\x12\x14\n\x05rates\x18\x03 \x03(\x04R\x05rates\x12#\n\rresolve_times\x18\x04 \x03(\x04R\x0cresolveTimes\x12\x1e\n\nrequestIDs\x18\x05 \x03(\x04R\nrequestIDs:)\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x18oracle/MsgRelayBandRates"\x1b\n\x19MsgRelayBandRatesResponse"\xa7\x01\n\x18MsgRelayCoinbaseMessages\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08messages\x18\x02 \x03(\x0cR\x08messages\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures:7\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1foracle/MsgRelayCoinbaseMessages""\n MsgRelayCoinbaseMessagesResponse"\x88\x01\n\x13MsgRelayStorkPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x44\n\x0b\x61sset_pairs\x18\x02 \x03(\x0b\x32#.injective.oracle.v1beta1.AssetPairR\nassetPairs:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender"\x1d\n\x1bMsgRelayStorkPricesResponse"\x86\x01\n\x16MsgRequestBandIBCRates\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1d\n\nrequest_id\x18\x02 \x01(\x04R\trequestId:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRequestBandIBCRates" \n\x1eMsgRequestBandIBCRatesResponse"\xba\x01\n\x12MsgRelayPythPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12Y\n\x12price_attestations\x18\x02 \x03(\x0b\x32*.injective.oracle.v1beta1.PriceAttestationR\x11priceAttestations:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19oracle/MsgRelayPythPrices"\x1c\n\x1aMsgRelayPythPricesResponse"\xb4\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:)\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x16oracle/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse2\xf6\x07\n\x03Msg\x12\x81\x01\n\x13RelayProviderPrices\x12\x30.injective.oracle.v1beta1.MsgRelayProviderPrices\x1a\x38.injective.oracle.v1beta1.MsgRelayProviderPricesResponse\x12\x81\x01\n\x13RelayPriceFeedPrice\x12\x30.injective.oracle.v1beta1.MsgRelayPriceFeedPrice\x1a\x38.injective.oracle.v1beta1.MsgRelayPriceFeedPriceResponse\x12r\n\x0eRelayBandRates\x12+.injective.oracle.v1beta1.MsgRelayBandRates\x1a\x33.injective.oracle.v1beta1.MsgRelayBandRatesResponse\x12\x81\x01\n\x13RequestBandIBCRates\x12\x30.injective.oracle.v1beta1.MsgRequestBandIBCRates\x1a\x38.injective.oracle.v1beta1.MsgRequestBandIBCRatesResponse\x12\x87\x01\n\x15RelayCoinbaseMessages\x12\x32.injective.oracle.v1beta1.MsgRelayCoinbaseMessages\x1a:.injective.oracle.v1beta1.MsgRelayCoinbaseMessagesResponse\x12y\n\x11RelayStorkMessage\x12-.injective.oracle.v1beta1.MsgRelayStorkPrices\x1a\x35.injective.oracle.v1beta1.MsgRelayStorkPricesResponse\x12u\n\x0fRelayPythPrices\x12,.injective.oracle.v1beta1.MsgRelayPythPrices\x1a\x34.injective.oracle.v1beta1.MsgRelayPythPricesResponse\x12l\n\x0cUpdateParams\x12).injective.oracle.v1beta1.MsgUpdateParams\x1a\x31.injective.oracle.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xf7\x01\n\x1c\x63om.injective.oracle.v1beta1B\x07TxProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/oracle/v1beta1/tx.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xda\x01\n\x16MsgRelayProviderPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12\x18\n\x07symbols\x18\x03 \x03(\tR\x07symbols\x12;\n\x06prices\x18\x04 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06prices:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRelayProviderPrices\" \n\x1eMsgRelayProviderPricesResponse\"\xcc\x01\n\x16MsgRelayPriceFeedPrice\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x12\n\x04\x62\x61se\x18\x02 \x03(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x03(\tR\x05quote\x12\x39\n\x05price\x18\x04 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRelayPriceFeedPrice\" \n\x1eMsgRelayPriceFeedPriceResponse\"\xcd\x01\n\x11MsgRelayBandRates\x12\x18\n\x07relayer\x18\x01 \x01(\tR\x07relayer\x12\x18\n\x07symbols\x18\x02 \x03(\tR\x07symbols\x12\x14\n\x05rates\x18\x03 \x03(\x04R\x05rates\x12#\n\rresolve_times\x18\x04 \x03(\x04R\x0cresolveTimes\x12\x1e\n\nrequestIDs\x18\x05 \x03(\x04R\nrequestIDs:)\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x18oracle/MsgRelayBandRates\"\x1b\n\x19MsgRelayBandRatesResponse\"\xa7\x01\n\x18MsgRelayCoinbaseMessages\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08messages\x18\x02 \x03(\x0cR\x08messages\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures:7\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1foracle/MsgRelayCoinbaseMessages\"\"\n MsgRelayCoinbaseMessagesResponse\"\x88\x01\n\x13MsgRelayStorkPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x44\n\x0b\x61sset_pairs\x18\x02 \x03(\x0b\x32#.injective.oracle.v1beta1.AssetPairR\nassetPairs:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgRelayStorkPricesResponse\"\x86\x01\n\x16MsgRequestBandIBCRates\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1d\n\nrequest_id\x18\x02 \x01(\x04R\trequestId:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRequestBandIBCRates\" \n\x1eMsgRequestBandIBCRatesResponse\"\xba\x01\n\x12MsgRelayPythPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12Y\n\x12price_attestations\x18\x02 \x03(\x0b\x32*.injective.oracle.v1beta1.PriceAttestationR\x11priceAttestations:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19oracle/MsgRelayPythPrices\"\x1c\n\x1aMsgRelayPythPricesResponse\"\xb4\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:)\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x16oracle/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\xf6\x07\n\x03Msg\x12\x81\x01\n\x13RelayProviderPrices\x12\x30.injective.oracle.v1beta1.MsgRelayProviderPrices\x1a\x38.injective.oracle.v1beta1.MsgRelayProviderPricesResponse\x12\x81\x01\n\x13RelayPriceFeedPrice\x12\x30.injective.oracle.v1beta1.MsgRelayPriceFeedPrice\x1a\x38.injective.oracle.v1beta1.MsgRelayPriceFeedPriceResponse\x12r\n\x0eRelayBandRates\x12+.injective.oracle.v1beta1.MsgRelayBandRates\x1a\x33.injective.oracle.v1beta1.MsgRelayBandRatesResponse\x12\x81\x01\n\x13RequestBandIBCRates\x12\x30.injective.oracle.v1beta1.MsgRequestBandIBCRates\x1a\x38.injective.oracle.v1beta1.MsgRequestBandIBCRatesResponse\x12\x87\x01\n\x15RelayCoinbaseMessages\x12\x32.injective.oracle.v1beta1.MsgRelayCoinbaseMessages\x1a:.injective.oracle.v1beta1.MsgRelayCoinbaseMessagesResponse\x12y\n\x11RelayStorkMessage\x12-.injective.oracle.v1beta1.MsgRelayStorkPrices\x1a\x35.injective.oracle.v1beta1.MsgRelayStorkPricesResponse\x12u\n\x0fRelayPythPrices\x12,.injective.oracle.v1beta1.MsgRelayPythPrices\x1a\x34.injective.oracle.v1beta1.MsgRelayPythPricesResponse\x12l\n\x0cUpdateParams\x12).injective.oracle.v1beta1.MsgUpdateParams\x1a\x31.injective.oracle.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xf7\x01\n\x1c\x63om.injective.oracle.v1beta1B\x07TxProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.oracle.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.oracle.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\034com.injective.oracle.v1beta1B\007TxProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1" - ) - _globals["_MSGRELAYPROVIDERPRICES"].fields_by_name["prices"]._loaded_options = None - _globals["_MSGRELAYPROVIDERPRICES"].fields_by_name[ - "prices" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGRELAYPROVIDERPRICES"]._loaded_options = None - _globals["_MSGRELAYPROVIDERPRICES"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRelayProviderPrices" - ) - _globals["_MSGRELAYPRICEFEEDPRICE"].fields_by_name["price"]._loaded_options = None - _globals["_MSGRELAYPRICEFEEDPRICE"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_MSGRELAYPRICEFEEDPRICE"]._loaded_options = None - _globals["_MSGRELAYPRICEFEEDPRICE"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRelayPriceFeedPrice" - ) - _globals["_MSGRELAYBANDRATES"]._loaded_options = None - _globals["_MSGRELAYBANDRATES"]._serialized_options = ( - b"\202\347\260*\007relayer\212\347\260*\030oracle/MsgRelayBandRates" - ) - _globals["_MSGRELAYCOINBASEMESSAGES"]._loaded_options = None - _globals["_MSGRELAYCOINBASEMESSAGES"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\037oracle/MsgRelayCoinbaseMessages" - ) - _globals["_MSGRELAYSTORKPRICES"]._loaded_options = None - _globals["_MSGRELAYSTORKPRICES"]._serialized_options = b"\210\240\037\000\350\240\037\000\202\347\260*\006sender" - _globals["_MSGREQUESTBANDIBCRATES"]._loaded_options = None - _globals["_MSGREQUESTBANDIBCRATES"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRequestBandIBCRates" - ) - _globals["_MSGRELAYPYTHPRICES"]._loaded_options = None - _globals["_MSGRELAYPYTHPRICES"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\031oracle/MsgRelayPythPrices" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*\026oracle/MsgUpdateParams" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGRELAYPROVIDERPRICES"]._serialized_start = 196 - _globals["_MSGRELAYPROVIDERPRICES"]._serialized_end = 414 - _globals["_MSGRELAYPROVIDERPRICESRESPONSE"]._serialized_start = 416 - _globals["_MSGRELAYPROVIDERPRICESRESPONSE"]._serialized_end = 448 - _globals["_MSGRELAYPRICEFEEDPRICE"]._serialized_start = 451 - _globals["_MSGRELAYPRICEFEEDPRICE"]._serialized_end = 655 - _globals["_MSGRELAYPRICEFEEDPRICERESPONSE"]._serialized_start = 657 - _globals["_MSGRELAYPRICEFEEDPRICERESPONSE"]._serialized_end = 689 - _globals["_MSGRELAYBANDRATES"]._serialized_start = 692 - _globals["_MSGRELAYBANDRATES"]._serialized_end = 897 - _globals["_MSGRELAYBANDRATESRESPONSE"]._serialized_start = 899 - _globals["_MSGRELAYBANDRATESRESPONSE"]._serialized_end = 926 - _globals["_MSGRELAYCOINBASEMESSAGES"]._serialized_start = 929 - _globals["_MSGRELAYCOINBASEMESSAGES"]._serialized_end = 1096 - _globals["_MSGRELAYCOINBASEMESSAGESRESPONSE"]._serialized_start = 1098 - _globals["_MSGRELAYCOINBASEMESSAGESRESPONSE"]._serialized_end = 1132 - _globals["_MSGRELAYSTORKPRICES"]._serialized_start = 1135 - _globals["_MSGRELAYSTORKPRICES"]._serialized_end = 1271 - _globals["_MSGRELAYSTORKPRICESRESPONSE"]._serialized_start = 1273 - _globals["_MSGRELAYSTORKPRICESRESPONSE"]._serialized_end = 1302 - _globals["_MSGREQUESTBANDIBCRATES"]._serialized_start = 1305 - _globals["_MSGREQUESTBANDIBCRATES"]._serialized_end = 1439 - _globals["_MSGREQUESTBANDIBCRATESRESPONSE"]._serialized_start = 1441 - _globals["_MSGREQUESTBANDIBCRATESRESPONSE"]._serialized_end = 1473 - _globals["_MSGRELAYPYTHPRICES"]._serialized_start = 1476 - _globals["_MSGRELAYPYTHPRICES"]._serialized_end = 1662 - _globals["_MSGRELAYPYTHPRICESRESPONSE"]._serialized_start = 1664 - _globals["_MSGRELAYPYTHPRICESRESPONSE"]._serialized_end = 1692 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 1695 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 1875 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1877 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1902 - _globals["_MSG"]._serialized_start = 1905 - _globals["_MSG"]._serialized_end = 2919 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.oracle.v1beta1B\007TxProtoP\001ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\242\002\003IOX\252\002\030Injective.Oracle.V1beta1\312\002\030Injective\\Oracle\\V1beta1\342\002$Injective\\Oracle\\V1beta1\\GPBMetadata\352\002\032Injective::Oracle::V1beta1' + _globals['_MSGRELAYPROVIDERPRICES'].fields_by_name['prices']._loaded_options = None + _globals['_MSGRELAYPROVIDERPRICES'].fields_by_name['prices']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGRELAYPROVIDERPRICES']._loaded_options = None + _globals['_MSGRELAYPROVIDERPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRelayProviderPrices' + _globals['_MSGRELAYPRICEFEEDPRICE'].fields_by_name['price']._loaded_options = None + _globals['_MSGRELAYPRICEFEEDPRICE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_MSGRELAYPRICEFEEDPRICE']._loaded_options = None + _globals['_MSGRELAYPRICEFEEDPRICE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRelayPriceFeedPrice' + _globals['_MSGRELAYBANDRATES']._loaded_options = None + _globals['_MSGRELAYBANDRATES']._serialized_options = b'\202\347\260*\007relayer\212\347\260*\030oracle/MsgRelayBandRates' + _globals['_MSGRELAYCOINBASEMESSAGES']._loaded_options = None + _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\037oracle/MsgRelayCoinbaseMessages' + _globals['_MSGRELAYSTORKPRICES']._loaded_options = None + _globals['_MSGRELAYSTORKPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' + _globals['_MSGREQUESTBANDIBCRATES']._loaded_options = None + _globals['_MSGREQUESTBANDIBCRATES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRequestBandIBCRates' + _globals['_MSGRELAYPYTHPRICES']._loaded_options = None + _globals['_MSGRELAYPYTHPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\031oracle/MsgRelayPythPrices' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\026oracle/MsgUpdateParams' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGRELAYPROVIDERPRICES']._serialized_start=196 + _globals['_MSGRELAYPROVIDERPRICES']._serialized_end=414 + _globals['_MSGRELAYPROVIDERPRICESRESPONSE']._serialized_start=416 + _globals['_MSGRELAYPROVIDERPRICESRESPONSE']._serialized_end=448 + _globals['_MSGRELAYPRICEFEEDPRICE']._serialized_start=451 + _globals['_MSGRELAYPRICEFEEDPRICE']._serialized_end=655 + _globals['_MSGRELAYPRICEFEEDPRICERESPONSE']._serialized_start=657 + _globals['_MSGRELAYPRICEFEEDPRICERESPONSE']._serialized_end=689 + _globals['_MSGRELAYBANDRATES']._serialized_start=692 + _globals['_MSGRELAYBANDRATES']._serialized_end=897 + _globals['_MSGRELAYBANDRATESRESPONSE']._serialized_start=899 + _globals['_MSGRELAYBANDRATESRESPONSE']._serialized_end=926 + _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_start=929 + _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_end=1096 + _globals['_MSGRELAYCOINBASEMESSAGESRESPONSE']._serialized_start=1098 + _globals['_MSGRELAYCOINBASEMESSAGESRESPONSE']._serialized_end=1132 + _globals['_MSGRELAYSTORKPRICES']._serialized_start=1135 + _globals['_MSGRELAYSTORKPRICES']._serialized_end=1271 + _globals['_MSGRELAYSTORKPRICESRESPONSE']._serialized_start=1273 + _globals['_MSGRELAYSTORKPRICESRESPONSE']._serialized_end=1302 + _globals['_MSGREQUESTBANDIBCRATES']._serialized_start=1305 + _globals['_MSGREQUESTBANDIBCRATES']._serialized_end=1439 + _globals['_MSGREQUESTBANDIBCRATESRESPONSE']._serialized_start=1441 + _globals['_MSGREQUESTBANDIBCRATESRESPONSE']._serialized_end=1473 + _globals['_MSGRELAYPYTHPRICES']._serialized_start=1476 + _globals['_MSGRELAYPYTHPRICES']._serialized_end=1662 + _globals['_MSGRELAYPYTHPRICESRESPONSE']._serialized_start=1664 + _globals['_MSGRELAYPYTHPRICESRESPONSE']._serialized_end=1692 + _globals['_MSGUPDATEPARAMS']._serialized_start=1695 + _globals['_MSGUPDATEPARAMS']._serialized_end=1875 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1877 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1902 + _globals['_MSG']._serialized_start=1905 + _globals['_MSG']._serialized_end=2919 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py index 413c92cf..7c505717 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the oracle Msg service.""" + """Msg defines the oracle Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,184 +16,181 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.RelayProviderPrices = channel.unary_unary( - "/injective.oracle.v1beta1.Msg/RelayProviderPrices", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPrices.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPricesResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Msg/RelayProviderPrices', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPrices.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPricesResponse.FromString, + _registered_method=True) self.RelayPriceFeedPrice = channel.unary_unary( - "/injective.oracle.v1beta1.Msg/RelayPriceFeedPrice", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPrice.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPriceResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Msg/RelayPriceFeedPrice', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPrice.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPriceResponse.FromString, + _registered_method=True) self.RelayBandRates = channel.unary_unary( - "/injective.oracle.v1beta1.Msg/RelayBandRates", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRates.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRatesResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Msg/RelayBandRates', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRates.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRatesResponse.FromString, + _registered_method=True) self.RequestBandIBCRates = channel.unary_unary( - "/injective.oracle.v1beta1.Msg/RequestBandIBCRates", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRates.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRatesResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Msg/RequestBandIBCRates', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRates.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRatesResponse.FromString, + _registered_method=True) self.RelayCoinbaseMessages = channel.unary_unary( - "/injective.oracle.v1beta1.Msg/RelayCoinbaseMessages", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessages.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessagesResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Msg/RelayCoinbaseMessages', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessages.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessagesResponse.FromString, + _registered_method=True) self.RelayStorkMessage = channel.unary_unary( - "/injective.oracle.v1beta1.Msg/RelayStorkMessage", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPrices.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPricesResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Msg/RelayStorkMessage', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPrices.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPricesResponse.FromString, + _registered_method=True) self.RelayPythPrices = channel.unary_unary( - "/injective.oracle.v1beta1.Msg/RelayPythPrices", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPrices.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPricesResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Msg/RelayPythPrices', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPrices.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPricesResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( - "/injective.oracle.v1beta1.Msg/UpdateParams", - request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/injective.oracle.v1beta1.Msg/UpdateParams', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the oracle Msg service.""" + """Msg defines the oracle Msg service. + """ def RelayProviderPrices(self, request, context): """RelayProviderPrice defines a method for relaying a price for a provider-based oracle """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RelayPriceFeedPrice(self, request, context): """RelayPriceFeedPrice defines a method for relaying a price for a price feeder-based oracle """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RelayBandRates(self, request, context): - """RelayBandRates defines a method for relaying rates from Band""" + """RelayBandRates defines a method for relaying rates from Band + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RequestBandIBCRates(self, request, context): - """RequestBandIBCRates defines a method for fetching rates from Band ibc""" + """RequestBandIBCRates defines a method for fetching rates from Band ibc + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RelayCoinbaseMessages(self, request, context): """RelayCoinbaseMessages defines a method for relaying price messages from Coinbase API """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RelayStorkMessage(self, request, context): """RelayStorkMessage defines a method for relaying price message from Stork API """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RelayPythPrices(self, request, context): - """RelayPythPrices defines a method for relaying rates from the Pyth contract""" + """RelayPythPrices defines a method for relaying rates from the Pyth contract + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateParams(self, request, context): - """UpdateParams enables updating oracle module's params via governance""" + """UpdateParams enables updating oracle module's params via governance + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "RelayProviderPrices": grpc.unary_unary_rpc_method_handler( - servicer.RelayProviderPrices, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPrices.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPricesResponse.SerializeToString, - ), - "RelayPriceFeedPrice": grpc.unary_unary_rpc_method_handler( - servicer.RelayPriceFeedPrice, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPrice.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPriceResponse.SerializeToString, - ), - "RelayBandRates": grpc.unary_unary_rpc_method_handler( - servicer.RelayBandRates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRates.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRatesResponse.SerializeToString, - ), - "RequestBandIBCRates": grpc.unary_unary_rpc_method_handler( - servicer.RequestBandIBCRates, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRates.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRatesResponse.SerializeToString, - ), - "RelayCoinbaseMessages": grpc.unary_unary_rpc_method_handler( - servicer.RelayCoinbaseMessages, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessages.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessagesResponse.SerializeToString, - ), - "RelayStorkMessage": grpc.unary_unary_rpc_method_handler( - servicer.RelayStorkMessage, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPrices.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPricesResponse.SerializeToString, - ), - "RelayPythPrices": grpc.unary_unary_rpc_method_handler( - servicer.RelayPythPrices, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPrices.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPricesResponse.SerializeToString, - ), - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + 'RelayProviderPrices': grpc.unary_unary_rpc_method_handler( + servicer.RelayProviderPrices, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPrices.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPricesResponse.SerializeToString, + ), + 'RelayPriceFeedPrice': grpc.unary_unary_rpc_method_handler( + servicer.RelayPriceFeedPrice, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPrice.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPriceResponse.SerializeToString, + ), + 'RelayBandRates': grpc.unary_unary_rpc_method_handler( + servicer.RelayBandRates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRates.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRatesResponse.SerializeToString, + ), + 'RequestBandIBCRates': grpc.unary_unary_rpc_method_handler( + servicer.RequestBandIBCRates, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRates.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRatesResponse.SerializeToString, + ), + 'RelayCoinbaseMessages': grpc.unary_unary_rpc_method_handler( + servicer.RelayCoinbaseMessages, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessages.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessagesResponse.SerializeToString, + ), + 'RelayStorkMessage': grpc.unary_unary_rpc_method_handler( + servicer.RelayStorkMessage, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPrices.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPricesResponse.SerializeToString, + ), + 'RelayPythPrices': grpc.unary_unary_rpc_method_handler( + servicer.RelayPythPrices, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPrices.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPricesResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("injective.oracle.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'injective.oracle.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("injective.oracle.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('injective.oracle.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the oracle Msg service.""" + """Msg defines the oracle Msg service. + """ @staticmethod - def RelayProviderPrices( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RelayProviderPrices(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Msg/RelayProviderPrices", + '/injective.oracle.v1beta1.Msg/RelayProviderPrices', injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPrices.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayProviderPricesResponse.FromString, options, @@ -203,26 +201,23 @@ def RelayProviderPrices( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RelayPriceFeedPrice( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RelayPriceFeedPrice(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Msg/RelayPriceFeedPrice", + '/injective.oracle.v1beta1.Msg/RelayPriceFeedPrice', injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPrice.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPriceFeedPriceResponse.FromString, options, @@ -233,26 +228,23 @@ def RelayPriceFeedPrice( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RelayBandRates( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RelayBandRates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Msg/RelayBandRates", + '/injective.oracle.v1beta1.Msg/RelayBandRates', injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRates.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayBandRatesResponse.FromString, options, @@ -263,26 +255,23 @@ def RelayBandRates( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RequestBandIBCRates( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RequestBandIBCRates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Msg/RequestBandIBCRates", + '/injective.oracle.v1beta1.Msg/RequestBandIBCRates', injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRates.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRequestBandIBCRatesResponse.FromString, options, @@ -293,26 +282,23 @@ def RequestBandIBCRates( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RelayCoinbaseMessages( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RelayCoinbaseMessages(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Msg/RelayCoinbaseMessages", + '/injective.oracle.v1beta1.Msg/RelayCoinbaseMessages', injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessages.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayCoinbaseMessagesResponse.FromString, options, @@ -323,26 +309,23 @@ def RelayCoinbaseMessages( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RelayStorkMessage( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RelayStorkMessage(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Msg/RelayStorkMessage", + '/injective.oracle.v1beta1.Msg/RelayStorkMessage', injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPrices.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayStorkPricesResponse.FromString, options, @@ -353,26 +336,23 @@ def RelayStorkMessage( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RelayPythPrices( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RelayPythPrices(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Msg/RelayPythPrices", + '/injective.oracle.v1beta1.Msg/RelayPythPrices', injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPrices.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythPricesResponse.FromString, options, @@ -383,26 +363,23 @@ def RelayPythPrices( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.oracle.v1beta1.Msg/UpdateParams", + '/injective.oracle.v1beta1.Msg/UpdateParams', injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -413,5 +390,4 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/injective/peggy/v1/attestation_pb2.py b/pyinjective/proto/injective/peggy/v1/attestation_pb2.py index 4d2916f5..7eb9cb25 100644 --- a/pyinjective/proto/injective/peggy/v1/attestation_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/attestation_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,44 +16,32 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$injective/peggy/v1/attestation.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto"\x83\x01\n\x0b\x41ttestation\x12\x1a\n\x08observed\x18\x01 \x01(\x08R\x08observed\x12\x14\n\x05votes\x18\x02 \x03(\tR\x05votes\x12\x16\n\x06height\x18\x03 \x01(\x04R\x06height\x12*\n\x05\x63laim\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x05\x63laim"_\n\nERC20Token\x12\x1a\n\x08\x63ontract\x18\x01 \x01(\tR\x08\x63ontract\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount*\x9f\x02\n\tClaimType\x12.\n\x12\x43LAIM_TYPE_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x43LAIM_TYPE_UNKNOWN\x12.\n\x12\x43LAIM_TYPE_DEPOSIT\x10\x01\x1a\x16\x8a\x9d \x12\x43LAIM_TYPE_DEPOSIT\x12\x30\n\x13\x43LAIM_TYPE_WITHDRAW\x10\x02\x1a\x17\x8a\x9d \x13\x43LAIM_TYPE_WITHDRAW\x12<\n\x19\x43LAIM_TYPE_ERC20_DEPLOYED\x10\x03\x1a\x1d\x8a\x9d \x19\x43LAIM_TYPE_ERC20_DEPLOYED\x12<\n\x19\x43LAIM_TYPE_VALSET_UPDATED\x10\x04\x1a\x1d\x8a\x9d \x19\x43LAIM_TYPE_VALSET_UPDATED\x1a\x04\x88\xa3\x1e\x00\x42\xe1\x01\n\x16\x63om.injective.peggy.v1B\x10\x41ttestationProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/peggy/v1/attestation.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\x83\x01\n\x0b\x41ttestation\x12\x1a\n\x08observed\x18\x01 \x01(\x08R\x08observed\x12\x14\n\x05votes\x18\x02 \x03(\tR\x05votes\x12\x16\n\x06height\x18\x03 \x01(\x04R\x06height\x12*\n\x05\x63laim\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x05\x63laim\"_\n\nERC20Token\x12\x1a\n\x08\x63ontract\x18\x01 \x01(\tR\x08\x63ontract\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount*\x9f\x02\n\tClaimType\x12.\n\x12\x43LAIM_TYPE_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x43LAIM_TYPE_UNKNOWN\x12.\n\x12\x43LAIM_TYPE_DEPOSIT\x10\x01\x1a\x16\x8a\x9d \x12\x43LAIM_TYPE_DEPOSIT\x12\x30\n\x13\x43LAIM_TYPE_WITHDRAW\x10\x02\x1a\x17\x8a\x9d \x13\x43LAIM_TYPE_WITHDRAW\x12<\n\x19\x43LAIM_TYPE_ERC20_DEPLOYED\x10\x03\x1a\x1d\x8a\x9d \x19\x43LAIM_TYPE_ERC20_DEPLOYED\x12<\n\x19\x43LAIM_TYPE_VALSET_UPDATED\x10\x04\x1a\x1d\x8a\x9d \x19\x43LAIM_TYPE_VALSET_UPDATED\x1a\x04\x88\xa3\x1e\x00\x42\xe1\x01\n\x16\x63om.injective.peggy.v1B\x10\x41ttestationProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.attestation_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.attestation_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.injective.peggy.v1B\020AttestationProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" - ) - _globals["_CLAIMTYPE"]._loaded_options = None - _globals["_CLAIMTYPE"]._serialized_options = b"\210\243\036\000" - _globals["_CLAIMTYPE"].values_by_name["CLAIM_TYPE_UNKNOWN"]._loaded_options = None - _globals["_CLAIMTYPE"].values_by_name["CLAIM_TYPE_UNKNOWN"]._serialized_options = b"\212\235 \022CLAIM_TYPE_UNKNOWN" - _globals["_CLAIMTYPE"].values_by_name["CLAIM_TYPE_DEPOSIT"]._loaded_options = None - _globals["_CLAIMTYPE"].values_by_name["CLAIM_TYPE_DEPOSIT"]._serialized_options = b"\212\235 \022CLAIM_TYPE_DEPOSIT" - _globals["_CLAIMTYPE"].values_by_name["CLAIM_TYPE_WITHDRAW"]._loaded_options = None - _globals["_CLAIMTYPE"].values_by_name[ - "CLAIM_TYPE_WITHDRAW" - ]._serialized_options = b"\212\235 \023CLAIM_TYPE_WITHDRAW" - _globals["_CLAIMTYPE"].values_by_name["CLAIM_TYPE_ERC20_DEPLOYED"]._loaded_options = None - _globals["_CLAIMTYPE"].values_by_name[ - "CLAIM_TYPE_ERC20_DEPLOYED" - ]._serialized_options = b"\212\235 \031CLAIM_TYPE_ERC20_DEPLOYED" - _globals["_CLAIMTYPE"].values_by_name["CLAIM_TYPE_VALSET_UPDATED"]._loaded_options = None - _globals["_CLAIMTYPE"].values_by_name[ - "CLAIM_TYPE_VALSET_UPDATED" - ]._serialized_options = b"\212\235 \031CLAIM_TYPE_VALSET_UPDATED" - _globals["_ERC20TOKEN"].fields_by_name["amount"]._loaded_options = None - _globals["_ERC20TOKEN"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_CLAIMTYPE"]._serialized_start = 341 - _globals["_CLAIMTYPE"]._serialized_end = 628 - _globals["_ATTESTATION"]._serialized_start = 110 - _globals["_ATTESTATION"]._serialized_end = 241 - _globals["_ERC20TOKEN"]._serialized_start = 243 - _globals["_ERC20TOKEN"]._serialized_end = 338 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\020AttestationProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_CLAIMTYPE']._loaded_options = None + _globals['_CLAIMTYPE']._serialized_options = b'\210\243\036\000' + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_UNKNOWN"]._loaded_options = None + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_UNKNOWN"]._serialized_options = b'\212\235 \022CLAIM_TYPE_UNKNOWN' + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_DEPOSIT"]._loaded_options = None + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_DEPOSIT"]._serialized_options = b'\212\235 \022CLAIM_TYPE_DEPOSIT' + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_WITHDRAW"]._loaded_options = None + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_WITHDRAW"]._serialized_options = b'\212\235 \023CLAIM_TYPE_WITHDRAW' + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_ERC20_DEPLOYED"]._loaded_options = None + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_ERC20_DEPLOYED"]._serialized_options = b'\212\235 \031CLAIM_TYPE_ERC20_DEPLOYED' + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_VALSET_UPDATED"]._loaded_options = None + _globals['_CLAIMTYPE'].values_by_name["CLAIM_TYPE_VALSET_UPDATED"]._serialized_options = b'\212\235 \031CLAIM_TYPE_VALSET_UPDATED' + _globals['_ERC20TOKEN'].fields_by_name['amount']._loaded_options = None + _globals['_ERC20TOKEN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_CLAIMTYPE']._serialized_start=341 + _globals['_CLAIMTYPE']._serialized_end=628 + _globals['_ATTESTATION']._serialized_start=110 + _globals['_ATTESTATION']._serialized_end=241 + _globals['_ERC20TOKEN']._serialized_start=243 + _globals['_ERC20TOKEN']._serialized_end=338 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/attestation_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/attestation_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/peggy/v1/attestation_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/attestation_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/peggy/v1/batch_pb2.py b/pyinjective/proto/injective/peggy/v1/batch_pb2.py index 3e9b6202..de226d8d 100644 --- a/pyinjective/proto/injective/peggy/v1/batch_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/batch_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.injective.peggy.v1 import attestation_pb2 as injective_dot_peggy_dot_v1_dot_attestation__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1einjective/peggy/v1/batch.proto\x12\x12injective.peggy.v1\x1a$injective/peggy/v1/attestation.proto"\xe0\x01\n\x0fOutgoingTxBatch\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x01 \x01(\x04R\nbatchNonce\x12#\n\rbatch_timeout\x18\x02 \x01(\x04R\x0c\x62\x61tchTimeout\x12J\n\x0ctransactions\x18\x03 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x0ctransactions\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12\x14\n\x05\x62lock\x18\x05 \x01(\x04R\x05\x62lock"\xdd\x01\n\x12OutgoingTransferTx\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender\x12!\n\x0c\x64\x65st_address\x18\x03 \x01(\tR\x0b\x64\x65stAddress\x12?\n\x0b\x65rc20_token\x18\x04 \x01(\x0b\x32\x1e.injective.peggy.v1.ERC20TokenR\nerc20Token\x12;\n\terc20_fee\x18\x05 \x01(\x0b\x32\x1e.injective.peggy.v1.ERC20TokenR\x08\x65rc20FeeB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nBatchProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/peggy/v1/batch.proto\x12\x12injective.peggy.v1\x1a$injective/peggy/v1/attestation.proto\"\xe0\x01\n\x0fOutgoingTxBatch\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x01 \x01(\x04R\nbatchNonce\x12#\n\rbatch_timeout\x18\x02 \x01(\x04R\x0c\x62\x61tchTimeout\x12J\n\x0ctransactions\x18\x03 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x0ctransactions\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12\x14\n\x05\x62lock\x18\x05 \x01(\x04R\x05\x62lock\"\xdd\x01\n\x12OutgoingTransferTx\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender\x12!\n\x0c\x64\x65st_address\x18\x03 \x01(\tR\x0b\x64\x65stAddress\x12?\n\x0b\x65rc20_token\x18\x04 \x01(\x0b\x32\x1e.injective.peggy.v1.ERC20TokenR\nerc20Token\x12;\n\terc20_fee\x18\x05 \x01(\x0b\x32\x1e.injective.peggy.v1.ERC20TokenR\x08\x65rc20FeeB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nBatchProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.batch_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.batch_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.injective.peggy.v1B\nBatchProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" - ) - _globals["_OUTGOINGTXBATCH"]._serialized_start = 93 - _globals["_OUTGOINGTXBATCH"]._serialized_end = 317 - _globals["_OUTGOINGTRANSFERTX"]._serialized_start = 320 - _globals["_OUTGOINGTRANSFERTX"]._serialized_end = 541 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\nBatchProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_OUTGOINGTXBATCH']._serialized_start=93 + _globals['_OUTGOINGTXBATCH']._serialized_end=317 + _globals['_OUTGOINGTRANSFERTX']._serialized_start=320 + _globals['_OUTGOINGTRANSFERTX']._serialized_end=541 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/batch_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/batch_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/peggy/v1/batch_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/batch_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py index 82fe7159..471b8812 100644 --- a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n(injective/peggy/v1/ethereum_signer.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto*\x91\x01\n\x08SignType\x12\x15\n\x11SIGN_TYPE_UNKNOWN\x10\x00\x12\x32\n.SIGN_TYPE_ORCHESTRATOR_SIGNED_MULTI_SIG_UPDATE\x10\x01\x12\x30\n,SIGN_TYPE_ORCHESTRATOR_SIGNED_WITHDRAW_BATCH\x10\x02\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00\x42\xe4\x01\n\x16\x63om.injective.peggy.v1B\x13\x45thereumSignerProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3" -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(injective/peggy/v1/ethereum_signer.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto*\x91\x01\n\x08SignType\x12\x15\n\x11SIGN_TYPE_UNKNOWN\x10\x00\x12\x32\n.SIGN_TYPE_ORCHESTRATOR_SIGNED_MULTI_SIG_UPDATE\x10\x01\x12\x30\n,SIGN_TYPE_ORCHESTRATOR_SIGNED_WITHDRAW_BATCH\x10\x02\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00\x42\xe4\x01\n\x16\x63om.injective.peggy.v1B\x13\x45thereumSignerProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.ethereum_signer_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.ethereum_signer_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.injective.peggy.v1B\023EthereumSignerProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" - ) - _globals["_SIGNTYPE"]._loaded_options = None - _globals["_SIGNTYPE"]._serialized_options = b"\210\243\036\000\250\244\036\000" - _globals["_SIGNTYPE"]._serialized_start = 87 - _globals["_SIGNTYPE"]._serialized_end = 232 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\023EthereumSignerProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_SIGNTYPE']._loaded_options = None + _globals['_SIGNTYPE']._serialized_options = b'\210\243\036\000\250\244\036\000' + _globals['_SIGNTYPE']._serialized_start=87 + _globals['_SIGNTYPE']._serialized_end=232 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/ethereum_signer_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/peggy/v1/events_pb2.py b/pyinjective/proto/injective/peggy/v1/events_pb2.py index b51f93a1..921a69ac 100644 --- a/pyinjective/proto/injective/peggy/v1/events_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/events_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,70 +17,56 @@ from pyinjective.proto.injective.peggy.v1 import types_pb2 as injective_dot_peggy_dot_v1_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1finjective/peggy/v1/events.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a$injective/peggy/v1/attestation.proto\x1a\x1einjective/peggy/v1/types.proto"\xf2\x01\n\x18\x45ventAttestationObserved\x12H\n\x10\x61ttestation_type\x18\x01 \x01(\x0e\x32\x1d.injective.peggy.v1.ClaimTypeR\x0f\x61ttestationType\x12\'\n\x0f\x62ridge_contract\x18\x02 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x03 \x01(\x04R\rbridgeChainId\x12%\n\x0e\x61ttestation_id\x18\x04 \x01(\x0cR\rattestationId\x12\x14\n\x05nonce\x18\x05 \x01(\x04R\x05nonce"n\n\x1b\x45ventBridgeWithdrawCanceled\x12\'\n\x0f\x62ridge_contract\x18\x01 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x02 \x01(\x04R\rbridgeChainId"\xc5\x01\n\x12\x45ventOutgoingBatch\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04R\nbatchNonce\x12#\n\rbatch_timeout\x18\x04 \x01(\x04R\x0c\x62\x61tchTimeout\x12 \n\x0c\x62\x61tch_tx_ids\x18\x05 \x03(\x04R\nbatchTxIds"\x9e\x01\n\x1a\x45ventOutgoingBatchCanceled\x12\'\n\x0f\x62ridge_contract\x18\x01 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x02 \x01(\x04R\rbridgeChainId\x12\x19\n\x08\x62\x61tch_id\x18\x03 \x01(\x04R\x07\x62\x61tchId\x12\x14\n\x05nonce\x18\x04 \x01(\x04R\x05nonce"\x95\x02\n\x18\x45ventValsetUpdateRequest\x12!\n\x0cvalset_nonce\x18\x01 \x01(\x04R\x0bvalsetNonce\x12#\n\rvalset_height\x18\x02 \x01(\x04R\x0cvalsetHeight\x12J\n\x0evalset_members\x18\x03 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\rvalsetMembers\x12\x42\n\rreward_amount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x05 \x01(\tR\x0brewardToken"\xb1\x01\n\x1d\x45ventSetOrchestratorAddresses\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\x12\x30\n\x14operator_eth_address\x18\x03 \x01(\tR\x12operatorEthAddress"j\n\x12\x45ventValsetConfirm\x12!\n\x0cvalset_nonce\x18\x01 \x01(\x04R\x0bvalsetNonce\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress"\x83\x02\n\x0e\x45ventSendToEth\x12$\n\x0eoutgoing_tx_id\x18\x01 \x01(\x04R\x0coutgoingTxId\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x03 \x01(\tR\x08receiver\x12G\n\x06\x61mount\x18\x04 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\x06\x61mount\x12N\n\nbridge_fee\x18\x05 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\tbridgeFee"g\n\x11\x45ventConfirmBatch\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x01 \x01(\x04R\nbatchNonce\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress"t\n\x14\x45ventAttestationVote\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12%\n\x0e\x61ttestation_id\x18\x02 \x01(\x0cR\rattestationId\x12\x14\n\x05voter\x18\x03 \x01(\tR\x05voter"\xf5\x02\n\x11\x45ventDepositClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12\'\n\x0f\x65thereum_sender\x18\x04 \x01(\tR\x0e\x65thereumSender\x12\'\n\x0f\x63osmos_receiver\x18\x05 \x01(\tR\x0e\x63osmosReceiver\x12%\n\x0etoken_contract\x18\x06 \x01(\tR\rtokenContract\x12\x35\n\x06\x61mount\x18\x07 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\x12\x31\n\x14orchestrator_address\x18\x08 \x01(\tR\x13orchestratorAddress\x12\x12\n\x04\x64\x61ta\x18\t \x01(\tR\x04\x64\x61ta"\xfa\x01\n\x12\x45ventWithdrawClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x04 \x01(\x04R\nbatchNonce\x12%\n\x0etoken_contract\x18\x05 \x01(\tR\rtokenContract\x12\x31\n\x14orchestrator_address\x18\x06 \x01(\tR\x13orchestratorAddress"\xc9\x02\n\x17\x45ventERC20DeployedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12!\n\x0c\x63osmos_denom\x18\x04 \x01(\tR\x0b\x63osmosDenom\x12%\n\x0etoken_contract\x18\x05 \x01(\tR\rtokenContract\x12\x12\n\x04name\x18\x06 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x07 \x01(\tR\x06symbol\x12\x1a\n\x08\x64\x65\x63imals\x18\x08 \x01(\x04R\x08\x64\x65\x63imals\x12\x31\n\x14orchestrator_address\x18\t \x01(\tR\x13orchestratorAddress"\x8c\x03\n\x16\x45ventValsetUpdateClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12!\n\x0cvalset_nonce\x18\x04 \x01(\x04R\x0bvalsetNonce\x12J\n\x0evalset_members\x18\x05 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\rvalsetMembers\x12\x42\n\rreward_amount\x18\x06 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x07 \x01(\tR\x0brewardToken\x12\x31\n\x14orchestrator_address\x18\x08 \x01(\tR\x13orchestratorAddress"<\n\x14\x45ventCancelSendToEth\x12$\n\x0eoutgoing_tx_id\x18\x01 \x01(\x04R\x0coutgoingTxId"\x88\x01\n\x1f\x45ventSubmitBadSignatureEvidence\x12*\n\x11\x62\x61\x64_eth_signature\x18\x01 \x01(\tR\x0f\x62\x61\x64\x45thSignature\x12\x39\n\x19\x62\x61\x64_eth_signature_subject\x18\x02 \x01(\tR\x16\x62\x61\x64\x45thSignatureSubject"\xb5\x01\n\x13\x45ventValidatorSlash\x12\x14\n\x05power\x18\x01 \x01(\x03R\x05power\x12\x16\n\x06reason\x18\x02 \x01(\tR\x06reason\x12+\n\x11\x63onsensus_address\x18\x03 \x01(\tR\x10\x63onsensusAddress\x12)\n\x10operator_address\x18\x04 \x01(\tR\x0foperatorAddress\x12\x18\n\x07moniker\x18\x05 \x01(\tR\x07monikerB\xdc\x01\n\x16\x63om.injective.peggy.v1B\x0b\x45ventsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/peggy/v1/events.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a$injective/peggy/v1/attestation.proto\x1a\x1einjective/peggy/v1/types.proto\"\xf2\x01\n\x18\x45ventAttestationObserved\x12H\n\x10\x61ttestation_type\x18\x01 \x01(\x0e\x32\x1d.injective.peggy.v1.ClaimTypeR\x0f\x61ttestationType\x12\'\n\x0f\x62ridge_contract\x18\x02 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x03 \x01(\x04R\rbridgeChainId\x12%\n\x0e\x61ttestation_id\x18\x04 \x01(\x0cR\rattestationId\x12\x14\n\x05nonce\x18\x05 \x01(\x04R\x05nonce\"n\n\x1b\x45ventBridgeWithdrawCanceled\x12\'\n\x0f\x62ridge_contract\x18\x01 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x02 \x01(\x04R\rbridgeChainId\"\xc5\x01\n\x12\x45ventOutgoingBatch\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04R\nbatchNonce\x12#\n\rbatch_timeout\x18\x04 \x01(\x04R\x0c\x62\x61tchTimeout\x12 \n\x0c\x62\x61tch_tx_ids\x18\x05 \x03(\x04R\nbatchTxIds\"\x9e\x01\n\x1a\x45ventOutgoingBatchCanceled\x12\'\n\x0f\x62ridge_contract\x18\x01 \x01(\tR\x0e\x62ridgeContract\x12&\n\x0f\x62ridge_chain_id\x18\x02 \x01(\x04R\rbridgeChainId\x12\x19\n\x08\x62\x61tch_id\x18\x03 \x01(\x04R\x07\x62\x61tchId\x12\x14\n\x05nonce\x18\x04 \x01(\x04R\x05nonce\"\x95\x02\n\x18\x45ventValsetUpdateRequest\x12!\n\x0cvalset_nonce\x18\x01 \x01(\x04R\x0bvalsetNonce\x12#\n\rvalset_height\x18\x02 \x01(\x04R\x0cvalsetHeight\x12J\n\x0evalset_members\x18\x03 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\rvalsetMembers\x12\x42\n\rreward_amount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x05 \x01(\tR\x0brewardToken\"\xb1\x01\n\x1d\x45ventSetOrchestratorAddresses\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\x12\x30\n\x14operator_eth_address\x18\x03 \x01(\tR\x12operatorEthAddress\"j\n\x12\x45ventValsetConfirm\x12!\n\x0cvalset_nonce\x18\x01 \x01(\x04R\x0bvalsetNonce\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\"\x83\x02\n\x0e\x45ventSendToEth\x12$\n\x0eoutgoing_tx_id\x18\x01 \x01(\x04R\x0coutgoingTxId\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x03 \x01(\tR\x08receiver\x12G\n\x06\x61mount\x18\x04 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\x06\x61mount\x12N\n\nbridge_fee\x18\x05 \x01(\tB/\xc8\xde\x1f\x00\xda\xde\x1f\'github.com/cosmos/cosmos-sdk/types.CoinR\tbridgeFee\"g\n\x11\x45ventConfirmBatch\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x01 \x01(\x04R\nbatchNonce\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\"t\n\x14\x45ventAttestationVote\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12%\n\x0e\x61ttestation_id\x18\x02 \x01(\x0cR\rattestationId\x12\x14\n\x05voter\x18\x03 \x01(\tR\x05voter\"\xf5\x02\n\x11\x45ventDepositClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12\'\n\x0f\x65thereum_sender\x18\x04 \x01(\tR\x0e\x65thereumSender\x12\'\n\x0f\x63osmos_receiver\x18\x05 \x01(\tR\x0e\x63osmosReceiver\x12%\n\x0etoken_contract\x18\x06 \x01(\tR\rtokenContract\x12\x35\n\x06\x61mount\x18\x07 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\x12\x31\n\x14orchestrator_address\x18\x08 \x01(\tR\x13orchestratorAddress\x12\x12\n\x04\x64\x61ta\x18\t \x01(\tR\x04\x64\x61ta\"\xfa\x01\n\x12\x45ventWithdrawClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x04 \x01(\x04R\nbatchNonce\x12%\n\x0etoken_contract\x18\x05 \x01(\tR\rtokenContract\x12\x31\n\x14orchestrator_address\x18\x06 \x01(\tR\x13orchestratorAddress\"\xc9\x02\n\x17\x45ventERC20DeployedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12!\n\x0c\x63osmos_denom\x18\x04 \x01(\tR\x0b\x63osmosDenom\x12%\n\x0etoken_contract\x18\x05 \x01(\tR\rtokenContract\x12\x12\n\x04name\x18\x06 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x07 \x01(\tR\x06symbol\x12\x1a\n\x08\x64\x65\x63imals\x18\x08 \x01(\x04R\x08\x64\x65\x63imals\x12\x31\n\x14orchestrator_address\x18\t \x01(\tR\x13orchestratorAddress\"\x8c\x03\n\x16\x45ventValsetUpdateClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x65vent_height\x18\x02 \x01(\x04R\x0b\x65ventHeight\x12%\n\x0e\x61ttestation_id\x18\x03 \x01(\x0cR\rattestationId\x12!\n\x0cvalset_nonce\x18\x04 \x01(\x04R\x0bvalsetNonce\x12J\n\x0evalset_members\x18\x05 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\rvalsetMembers\x12\x42\n\rreward_amount\x18\x06 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x07 \x01(\tR\x0brewardToken\x12\x31\n\x14orchestrator_address\x18\x08 \x01(\tR\x13orchestratorAddress\"<\n\x14\x45ventCancelSendToEth\x12$\n\x0eoutgoing_tx_id\x18\x01 \x01(\x04R\x0coutgoingTxId\"\x88\x01\n\x1f\x45ventSubmitBadSignatureEvidence\x12*\n\x11\x62\x61\x64_eth_signature\x18\x01 \x01(\tR\x0f\x62\x61\x64\x45thSignature\x12\x39\n\x19\x62\x61\x64_eth_signature_subject\x18\x02 \x01(\tR\x16\x62\x61\x64\x45thSignatureSubject\"\xb5\x01\n\x13\x45ventValidatorSlash\x12\x14\n\x05power\x18\x01 \x01(\x03R\x05power\x12\x16\n\x06reason\x18\x02 \x01(\tR\x06reason\x12+\n\x11\x63onsensus_address\x18\x03 \x01(\tR\x10\x63onsensusAddress\x12)\n\x10operator_address\x18\x04 \x01(\tR\x0foperatorAddress\x12\x18\n\x07moniker\x18\x05 \x01(\tR\x07monikerB\xdc\x01\n\x16\x63om.injective.peggy.v1B\x0b\x45ventsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.events_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.events_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.injective.peggy.v1B\013EventsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" - ) - _globals["_EVENTVALSETUPDATEREQUEST"].fields_by_name["reward_amount"]._loaded_options = None - _globals["_EVENTVALSETUPDATEREQUEST"].fields_by_name[ - "reward_amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_EVENTSENDTOETH"].fields_by_name["amount"]._loaded_options = None - _globals["_EVENTSENDTOETH"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\332\336\037'github.com/cosmos/cosmos-sdk/types.Coin" - _globals["_EVENTSENDTOETH"].fields_by_name["bridge_fee"]._loaded_options = None - _globals["_EVENTSENDTOETH"].fields_by_name[ - "bridge_fee" - ]._serialized_options = b"\310\336\037\000\332\336\037'github.com/cosmos/cosmos-sdk/types.Coin" - _globals["_EVENTDEPOSITCLAIM"].fields_by_name["amount"]._loaded_options = None - _globals["_EVENTDEPOSITCLAIM"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_EVENTVALSETUPDATECLAIM"].fields_by_name["reward_amount"]._loaded_options = None - _globals["_EVENTVALSETUPDATECLAIM"].fields_by_name[ - "reward_amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_EVENTATTESTATIONOBSERVED"]._serialized_start = 148 - _globals["_EVENTATTESTATIONOBSERVED"]._serialized_end = 390 - _globals["_EVENTBRIDGEWITHDRAWCANCELED"]._serialized_start = 392 - _globals["_EVENTBRIDGEWITHDRAWCANCELED"]._serialized_end = 502 - _globals["_EVENTOUTGOINGBATCH"]._serialized_start = 505 - _globals["_EVENTOUTGOINGBATCH"]._serialized_end = 702 - _globals["_EVENTOUTGOINGBATCHCANCELED"]._serialized_start = 705 - _globals["_EVENTOUTGOINGBATCHCANCELED"]._serialized_end = 863 - _globals["_EVENTVALSETUPDATEREQUEST"]._serialized_start = 866 - _globals["_EVENTVALSETUPDATEREQUEST"]._serialized_end = 1143 - _globals["_EVENTSETORCHESTRATORADDRESSES"]._serialized_start = 1146 - _globals["_EVENTSETORCHESTRATORADDRESSES"]._serialized_end = 1323 - _globals["_EVENTVALSETCONFIRM"]._serialized_start = 1325 - _globals["_EVENTVALSETCONFIRM"]._serialized_end = 1431 - _globals["_EVENTSENDTOETH"]._serialized_start = 1434 - _globals["_EVENTSENDTOETH"]._serialized_end = 1693 - _globals["_EVENTCONFIRMBATCH"]._serialized_start = 1695 - _globals["_EVENTCONFIRMBATCH"]._serialized_end = 1798 - _globals["_EVENTATTESTATIONVOTE"]._serialized_start = 1800 - _globals["_EVENTATTESTATIONVOTE"]._serialized_end = 1916 - _globals["_EVENTDEPOSITCLAIM"]._serialized_start = 1919 - _globals["_EVENTDEPOSITCLAIM"]._serialized_end = 2292 - _globals["_EVENTWITHDRAWCLAIM"]._serialized_start = 2295 - _globals["_EVENTWITHDRAWCLAIM"]._serialized_end = 2545 - _globals["_EVENTERC20DEPLOYEDCLAIM"]._serialized_start = 2548 - _globals["_EVENTERC20DEPLOYEDCLAIM"]._serialized_end = 2877 - _globals["_EVENTVALSETUPDATECLAIM"]._serialized_start = 2880 - _globals["_EVENTVALSETUPDATECLAIM"]._serialized_end = 3276 - _globals["_EVENTCANCELSENDTOETH"]._serialized_start = 3278 - _globals["_EVENTCANCELSENDTOETH"]._serialized_end = 3338 - _globals["_EVENTSUBMITBADSIGNATUREEVIDENCE"]._serialized_start = 3341 - _globals["_EVENTSUBMITBADSIGNATUREEVIDENCE"]._serialized_end = 3477 - _globals["_EVENTVALIDATORSLASH"]._serialized_start = 3480 - _globals["_EVENTVALIDATORSLASH"]._serialized_end = 3661 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\013EventsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_EVENTVALSETUPDATEREQUEST'].fields_by_name['reward_amount']._loaded_options = None + _globals['_EVENTVALSETUPDATEREQUEST'].fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_EVENTSENDTOETH'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTSENDTOETH'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin' + _globals['_EVENTSENDTOETH'].fields_by_name['bridge_fee']._loaded_options = None + _globals['_EVENTSENDTOETH'].fields_by_name['bridge_fee']._serialized_options = b'\310\336\037\000\332\336\037\'github.com/cosmos/cosmos-sdk/types.Coin' + _globals['_EVENTDEPOSITCLAIM'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTDEPOSITCLAIM'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_EVENTVALSETUPDATECLAIM'].fields_by_name['reward_amount']._loaded_options = None + _globals['_EVENTVALSETUPDATECLAIM'].fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_EVENTATTESTATIONOBSERVED']._serialized_start=148 + _globals['_EVENTATTESTATIONOBSERVED']._serialized_end=390 + _globals['_EVENTBRIDGEWITHDRAWCANCELED']._serialized_start=392 + _globals['_EVENTBRIDGEWITHDRAWCANCELED']._serialized_end=502 + _globals['_EVENTOUTGOINGBATCH']._serialized_start=505 + _globals['_EVENTOUTGOINGBATCH']._serialized_end=702 + _globals['_EVENTOUTGOINGBATCHCANCELED']._serialized_start=705 + _globals['_EVENTOUTGOINGBATCHCANCELED']._serialized_end=863 + _globals['_EVENTVALSETUPDATEREQUEST']._serialized_start=866 + _globals['_EVENTVALSETUPDATEREQUEST']._serialized_end=1143 + _globals['_EVENTSETORCHESTRATORADDRESSES']._serialized_start=1146 + _globals['_EVENTSETORCHESTRATORADDRESSES']._serialized_end=1323 + _globals['_EVENTVALSETCONFIRM']._serialized_start=1325 + _globals['_EVENTVALSETCONFIRM']._serialized_end=1431 + _globals['_EVENTSENDTOETH']._serialized_start=1434 + _globals['_EVENTSENDTOETH']._serialized_end=1693 + _globals['_EVENTCONFIRMBATCH']._serialized_start=1695 + _globals['_EVENTCONFIRMBATCH']._serialized_end=1798 + _globals['_EVENTATTESTATIONVOTE']._serialized_start=1800 + _globals['_EVENTATTESTATIONVOTE']._serialized_end=1916 + _globals['_EVENTDEPOSITCLAIM']._serialized_start=1919 + _globals['_EVENTDEPOSITCLAIM']._serialized_end=2292 + _globals['_EVENTWITHDRAWCLAIM']._serialized_start=2295 + _globals['_EVENTWITHDRAWCLAIM']._serialized_end=2545 + _globals['_EVENTERC20DEPLOYEDCLAIM']._serialized_start=2548 + _globals['_EVENTERC20DEPLOYEDCLAIM']._serialized_end=2877 + _globals['_EVENTVALSETUPDATECLAIM']._serialized_start=2880 + _globals['_EVENTVALSETUPDATECLAIM']._serialized_end=3276 + _globals['_EVENTCANCELSENDTOETH']._serialized_start=3278 + _globals['_EVENTCANCELSENDTOETH']._serialized_end=3338 + _globals['_EVENTSUBMITBADSIGNATUREEVIDENCE']._serialized_start=3341 + _globals['_EVENTSUBMITBADSIGNATUREEVIDENCE']._serialized_end=3477 + _globals['_EVENTVALIDATORSLASH']._serialized_start=3480 + _globals['_EVENTVALIDATORSLASH']._serialized_end=3661 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/events_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/events_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/peggy/v1/events_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/events_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/peggy/v1/genesis_pb2.py b/pyinjective/proto/injective/peggy/v1/genesis_pb2.py index 34a7108c..4d9e4d60 100644 --- a/pyinjective/proto/injective/peggy/v1/genesis_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -22,20 +21,16 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n injective/peggy/v1/genesis.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1dinjective/peggy/v1/msgs.proto\x1a\x1einjective/peggy/v1/batch.proto\x1a$injective/peggy/v1/attestation.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"\x80\x08\n\x0cGenesisState\x12\x32\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsR\x06params\x12.\n\x13last_observed_nonce\x18\x02 \x01(\x04R\x11lastObservedNonce\x12\x34\n\x07valsets\x18\x03 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets\x12M\n\x0fvalset_confirms\x18\x04 \x03(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x0evalsetConfirms\x12=\n\x07\x62\x61tches\x18\x05 \x03(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x07\x62\x61tches\x12J\n\x0e\x62\x61tch_confirms\x18\x06 \x03(\x0b\x32#.injective.peggy.v1.MsgConfirmBatchR\rbatchConfirms\x12\x43\n\x0c\x61ttestations\x18\x07 \x03(\x0b\x32\x1f.injective.peggy.v1.AttestationR\x0c\x61ttestations\x12\x66\n\x16orchestrator_addresses\x18\x08 \x03(\x0b\x32/.injective.peggy.v1.MsgSetOrchestratorAddressesR\x15orchestratorAddresses\x12H\n\x0f\x65rc20_to_denoms\x18\t \x03(\x0b\x32 .injective.peggy.v1.ERC20ToDenomR\rerc20ToDenoms\x12W\n\x13unbatched_transfers\x18\n \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12unbatchedTransfers\x12\x41\n\x1dlast_observed_ethereum_height\x18\x0b \x01(\x04R\x1alastObservedEthereumHeight\x12\x33\n\x16last_outgoing_batch_id\x18\x0c \x01(\x04R\x13lastOutgoingBatchId\x12\x31\n\x15last_outgoing_pool_id\x18\r \x01(\x04R\x12lastOutgoingPoolId\x12R\n\x14last_observed_valset\x18\x0e \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetB\x04\xc8\xde\x1f\x00R\x12lastObservedValset\x12-\n\x12\x65thereum_blacklist\x18\x0f \x03(\tR\x11\x65thereumBlacklistB\xdd\x01\n\x16\x63om.injective.peggy.v1B\x0cGenesisProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n injective/peggy/v1/genesis.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1dinjective/peggy/v1/msgs.proto\x1a\x1einjective/peggy/v1/batch.proto\x1a$injective/peggy/v1/attestation.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\x80\x08\n\x0cGenesisState\x12\x32\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsR\x06params\x12.\n\x13last_observed_nonce\x18\x02 \x01(\x04R\x11lastObservedNonce\x12\x34\n\x07valsets\x18\x03 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets\x12M\n\x0fvalset_confirms\x18\x04 \x03(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x0evalsetConfirms\x12=\n\x07\x62\x61tches\x18\x05 \x03(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x07\x62\x61tches\x12J\n\x0e\x62\x61tch_confirms\x18\x06 \x03(\x0b\x32#.injective.peggy.v1.MsgConfirmBatchR\rbatchConfirms\x12\x43\n\x0c\x61ttestations\x18\x07 \x03(\x0b\x32\x1f.injective.peggy.v1.AttestationR\x0c\x61ttestations\x12\x66\n\x16orchestrator_addresses\x18\x08 \x03(\x0b\x32/.injective.peggy.v1.MsgSetOrchestratorAddressesR\x15orchestratorAddresses\x12H\n\x0f\x65rc20_to_denoms\x18\t \x03(\x0b\x32 .injective.peggy.v1.ERC20ToDenomR\rerc20ToDenoms\x12W\n\x13unbatched_transfers\x18\n \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12unbatchedTransfers\x12\x41\n\x1dlast_observed_ethereum_height\x18\x0b \x01(\x04R\x1alastObservedEthereumHeight\x12\x33\n\x16last_outgoing_batch_id\x18\x0c \x01(\x04R\x13lastOutgoingBatchId\x12\x31\n\x15last_outgoing_pool_id\x18\r \x01(\x04R\x12lastOutgoingPoolId\x12R\n\x14last_observed_valset\x18\x0e \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetB\x04\xc8\xde\x1f\x00R\x12lastObservedValset\x12-\n\x12\x65thereum_blacklist\x18\x0f \x03(\tR\x11\x65thereumBlacklistB\xdd\x01\n\x16\x63om.injective.peggy.v1B\x0cGenesisProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.injective.peggy.v1B\014GenesisProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" - ) - _globals["_GENESISSTATE"].fields_by_name["last_observed_valset"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["last_observed_valset"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"]._serialized_start = 277 - _globals["_GENESISSTATE"]._serialized_end = 1301 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\014GenesisProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_GENESISSTATE'].fields_by_name['last_observed_valset']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['last_observed_valset']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=277 + _globals['_GENESISSTATE']._serialized_end=1301 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/genesis_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/peggy/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/genesis_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/peggy/v1/msgs_pb2.py b/pyinjective/proto/injective/peggy/v1/msgs_pb2.py index f330d886..098d38cb 100644 --- a/pyinjective/proto/injective/peggy/v1/msgs_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/msgs_pb2.py @@ -7,7 +7,6 @@ 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() @@ -24,188 +23,134 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1dinjective/peggy/v1/msgs.proto\x12\x12injective.peggy.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto"\xad\x01\n\x1bMsgSetOrchestratorAddresses\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12"\n\x0corchestrator\x18\x02 \x01(\tR\x0corchestrator\x12\x1f\n\x0b\x65th_address\x18\x03 \x01(\tR\nethAddress:1\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!peggy/MsgSetOrchestratorAddresses"%\n#MsgSetOrchestratorAddressesResponse"\xb9\x01\n\x10MsgValsetConfirm\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12"\n\x0corchestrator\x18\x02 \x01(\tR\x0corchestrator\x12\x1f\n\x0b\x65th_address\x18\x03 \x01(\tR\nethAddress\x12\x1c\n\tsignature\x18\x04 \x01(\tR\tsignature:,\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x16peggy/MsgValsetConfirm"\x1a\n\x18MsgValsetConfirmResponse"\xde\x01\n\x0cMsgSendToEth\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x19\n\x08\x65th_dest\x18\x02 \x01(\tR\x07\x65thDest\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\x12>\n\nbridge_fee\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\tbridgeFee:"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12peggy/MsgSendToEth"\x16\n\x14MsgSendToEthResponse"x\n\x0fMsgRequestBatch\x12"\n\x0corchestrator\x18\x01 \x01(\tR\x0corchestrator\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgRequestBatch"\x19\n\x17MsgRequestBatchResponse"\xdc\x01\n\x0fMsgConfirmBatch\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12%\n\x0etoken_contract\x18\x02 \x01(\tR\rtokenContract\x12\x1d\n\neth_signer\x18\x03 \x01(\tR\tethSigner\x12"\n\x0corchestrator\x18\x04 \x01(\tR\x0corchestrator\x12\x1c\n\tsignature\x18\x05 \x01(\tR\tsignature:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgConfirmBatch"\x19\n\x17MsgConfirmBatchResponse"\xea\x02\n\x0fMsgDepositClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12%\n\x0etoken_contract\x18\x03 \x01(\tR\rtokenContract\x12\x35\n\x06\x61mount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\x12\'\n\x0f\x65thereum_sender\x18\x05 \x01(\tR\x0e\x65thereumSender\x12\'\n\x0f\x63osmos_receiver\x18\x06 \x01(\tR\x0e\x63osmosReceiver\x12"\n\x0corchestrator\x18\x07 \x01(\tR\x0corchestrator\x12\x12\n\x04\x64\x61ta\x18\x08 \x01(\tR\x04\x64\x61ta:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgDepositClaim"\x19\n\x17MsgDepositClaimResponse"\xf0\x01\n\x10MsgWithdrawClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04R\nbatchNonce\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12"\n\x0corchestrator\x18\x05 \x01(\tR\x0corchestrator:,\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x16peggy/MsgWithdrawClaim"\x1a\n\x18MsgWithdrawClaimResponse"\xc4\x02\n\x15MsgERC20DeployedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12!\n\x0c\x63osmos_denom\x18\x03 \x01(\tR\x0b\x63osmosDenom\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x06 \x01(\tR\x06symbol\x12\x1a\n\x08\x64\x65\x63imals\x18\x07 \x01(\x04R\x08\x64\x65\x63imals\x12"\n\x0corchestrator\x18\x08 \x01(\tR\x0corchestrator:1\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x1bpeggy/MsgERC20DeployedClaim"\x1f\n\x1dMsgERC20DeployedClaimResponse"}\n\x12MsgCancelSendToEth\x12%\n\x0etransaction_id\x18\x01 \x01(\x04R\rtransactionId\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender:(\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x18peggy/MsgCancelSendToEth"\x1c\n\x1aMsgCancelSendToEthResponse"\xba\x01\n\x1dMsgSubmitBadSignatureEvidence\x12.\n\x07subject\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x07subject\x12\x1c\n\tsignature\x18\x02 \x01(\tR\tsignature\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#peggy/MsgSubmitBadSignatureEvidence"\'\n%MsgSubmitBadSignatureEvidenceResponse"\xfb\x02\n\x15MsgValsetUpdatedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0cvalset_nonce\x18\x02 \x01(\x04R\x0bvalsetNonce\x12!\n\x0c\x62lock_height\x18\x03 \x01(\x04R\x0b\x62lockHeight\x12=\n\x07members\x18\x04 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\x07members\x12\x42\n\rreward_amount\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x06 \x01(\tR\x0brewardToken\x12"\n\x0corchestrator\x18\x07 \x01(\tR\x0corchestrator:1\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x1bpeggy/MsgValsetUpdatedClaim"\x1f\n\x1dMsgValsetUpdatedClaimResponse"\xad\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:(\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x15peggy/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse"\x9d\x01\n\x1dMsgBlacklistEthereumAddresses\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12/\n\x13\x62lacklist_addresses\x18\x02 \x03(\tR\x12\x62lacklistAddresses:3\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*#peggy/MsgBlacklistEthereumAddresses"\'\n%MsgBlacklistEthereumAddressesResponse"\x97\x01\n\x1aMsgRevokeEthereumBlacklist\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12/\n\x13\x62lacklist_addresses\x18\x02 \x03(\tR\x12\x62lacklistAddresses:0\x82\xe7\xb0*\x06signer\x8a\xe7\xb0* peggy/MsgRevokeEthereumBlacklist"$\n"MsgRevokeEthereumBlacklistResponse2\xbe\x10\n\x03Msg\x12\x8f\x01\n\rValsetConfirm\x12$.injective.peggy.v1.MsgValsetConfirm\x1a,.injective.peggy.v1.MsgValsetConfirmResponse"*\x82\xd3\xe4\x93\x02$""/injective/peggy/v1/valset_confirm\x12\x80\x01\n\tSendToEth\x12 .injective.peggy.v1.MsgSendToEth\x1a(.injective.peggy.v1.MsgSendToEthResponse"\'\x82\xd3\xe4\x93\x02!"\x1f/injective/peggy/v1/send_to_eth\x12\x8b\x01\n\x0cRequestBatch\x12#.injective.peggy.v1.MsgRequestBatch\x1a+.injective.peggy.v1.MsgRequestBatchResponse")\x82\xd3\xe4\x93\x02#"!/injective/peggy/v1/request_batch\x12\x8b\x01\n\x0c\x43onfirmBatch\x12#.injective.peggy.v1.MsgConfirmBatch\x1a+.injective.peggy.v1.MsgConfirmBatchResponse")\x82\xd3\xe4\x93\x02#"!/injective/peggy/v1/confirm_batch\x12\x8b\x01\n\x0c\x44\x65positClaim\x12#.injective.peggy.v1.MsgDepositClaim\x1a+.injective.peggy.v1.MsgDepositClaimResponse")\x82\xd3\xe4\x93\x02#"!/injective/peggy/v1/deposit_claim\x12\x8f\x01\n\rWithdrawClaim\x12$.injective.peggy.v1.MsgWithdrawClaim\x1a,.injective.peggy.v1.MsgWithdrawClaimResponse"*\x82\xd3\xe4\x93\x02$""/injective/peggy/v1/withdraw_claim\x12\xa3\x01\n\x11ValsetUpdateClaim\x12).injective.peggy.v1.MsgValsetUpdatedClaim\x1a\x31.injective.peggy.v1.MsgValsetUpdatedClaimResponse"0\x82\xd3\xe4\x93\x02*"(/injective/peggy/v1/valset_updated_claim\x12\xa4\x01\n\x12\x45RC20DeployedClaim\x12).injective.peggy.v1.MsgERC20DeployedClaim\x1a\x31.injective.peggy.v1.MsgERC20DeployedClaimResponse"0\x82\xd3\xe4\x93\x02*"(/injective/peggy/v1/erc20_deployed_claim\x12\xba\x01\n\x18SetOrchestratorAddresses\x12/.injective.peggy.v1.MsgSetOrchestratorAddresses\x1a\x37.injective.peggy.v1.MsgSetOrchestratorAddressesResponse"4\x82\xd3\xe4\x93\x02.",/injective/peggy/v1/set_orchestrator_address\x12\x99\x01\n\x0f\x43\x61ncelSendToEth\x12&.injective.peggy.v1.MsgCancelSendToEth\x1a..injective.peggy.v1.MsgCancelSendToEthResponse".\x82\xd3\xe4\x93\x02("&/injective/peggy/v1/cancel_send_to_eth\x12\xc5\x01\n\x1aSubmitBadSignatureEvidence\x12\x31.injective.peggy.v1.MsgSubmitBadSignatureEvidence\x1a\x39.injective.peggy.v1.MsgSubmitBadSignatureEvidenceResponse"9\x82\xd3\xe4\x93\x02\x33"1/injective/peggy/v1/submit_bad_signature_evidence\x12`\n\x0cUpdateParams\x12#.injective.peggy.v1.MsgUpdateParams\x1a+.injective.peggy.v1.MsgUpdateParamsResponse\x12\x8a\x01\n\x1a\x42lacklistEthereumAddresses\x12\x31.injective.peggy.v1.MsgBlacklistEthereumAddresses\x1a\x39.injective.peggy.v1.MsgBlacklistEthereumAddressesResponse\x12\x81\x01\n\x17RevokeEthereumBlacklist\x12..injective.peggy.v1.MsgRevokeEthereumBlacklist\x1a\x36.injective.peggy.v1.MsgRevokeEthereumBlacklistResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xda\x01\n\x16\x63om.injective.peggy.v1B\tMsgsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dinjective/peggy/v1/msgs.proto\x12\x12injective.peggy.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x19google/protobuf/any.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xad\x01\n\x1bMsgSetOrchestratorAddresses\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\"\n\x0corchestrator\x18\x02 \x01(\tR\x0corchestrator\x12\x1f\n\x0b\x65th_address\x18\x03 \x01(\tR\nethAddress:1\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!peggy/MsgSetOrchestratorAddresses\"%\n#MsgSetOrchestratorAddressesResponse\"\xb9\x01\n\x10MsgValsetConfirm\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12\"\n\x0corchestrator\x18\x02 \x01(\tR\x0corchestrator\x12\x1f\n\x0b\x65th_address\x18\x03 \x01(\tR\nethAddress\x12\x1c\n\tsignature\x18\x04 \x01(\tR\tsignature:,\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x16peggy/MsgValsetConfirm\"\x1a\n\x18MsgValsetConfirmResponse\"\xde\x01\n\x0cMsgSendToEth\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x19\n\x08\x65th_dest\x18\x02 \x01(\tR\x07\x65thDest\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\x12>\n\nbridge_fee\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\tbridgeFee:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12peggy/MsgSendToEth\"\x16\n\x14MsgSendToEthResponse\"x\n\x0fMsgRequestBatch\x12\"\n\x0corchestrator\x18\x01 \x01(\tR\x0corchestrator\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgRequestBatch\"\x19\n\x17MsgRequestBatchResponse\"\xdc\x01\n\x0fMsgConfirmBatch\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12%\n\x0etoken_contract\x18\x02 \x01(\tR\rtokenContract\x12\x1d\n\neth_signer\x18\x03 \x01(\tR\tethSigner\x12\"\n\x0corchestrator\x18\x04 \x01(\tR\x0corchestrator\x12\x1c\n\tsignature\x18\x05 \x01(\tR\tsignature:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgConfirmBatch\"\x19\n\x17MsgConfirmBatchResponse\"\xea\x02\n\x0fMsgDepositClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12%\n\x0etoken_contract\x18\x03 \x01(\tR\rtokenContract\x12\x35\n\x06\x61mount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\x12\'\n\x0f\x65thereum_sender\x18\x05 \x01(\tR\x0e\x65thereumSender\x12\'\n\x0f\x63osmos_receiver\x18\x06 \x01(\tR\x0e\x63osmosReceiver\x12\"\n\x0corchestrator\x18\x07 \x01(\tR\x0corchestrator\x12\x12\n\x04\x64\x61ta\x18\x08 \x01(\tR\x04\x64\x61ta:+\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x15peggy/MsgDepositClaim\"\x19\n\x17MsgDepositClaimResponse\"\xf0\x01\n\x10MsgWithdrawClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12\x1f\n\x0b\x62\x61tch_nonce\x18\x03 \x01(\x04R\nbatchNonce\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12\"\n\x0corchestrator\x18\x05 \x01(\tR\x0corchestrator:,\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x16peggy/MsgWithdrawClaim\"\x1a\n\x18MsgWithdrawClaimResponse\"\xc4\x02\n\x15MsgERC20DeployedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0c\x62lock_height\x18\x02 \x01(\x04R\x0b\x62lockHeight\x12!\n\x0c\x63osmos_denom\x18\x03 \x01(\tR\x0b\x63osmosDenom\x12%\n\x0etoken_contract\x18\x04 \x01(\tR\rtokenContract\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n\x06symbol\x18\x06 \x01(\tR\x06symbol\x12\x1a\n\x08\x64\x65\x63imals\x18\x07 \x01(\x04R\x08\x64\x65\x63imals\x12\"\n\x0corchestrator\x18\x08 \x01(\tR\x0corchestrator:1\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x1bpeggy/MsgERC20DeployedClaim\"\x1f\n\x1dMsgERC20DeployedClaimResponse\"}\n\x12MsgCancelSendToEth\x12%\n\x0etransaction_id\x18\x01 \x01(\x04R\rtransactionId\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender:(\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x18peggy/MsgCancelSendToEth\"\x1c\n\x1aMsgCancelSendToEthResponse\"\xba\x01\n\x1dMsgSubmitBadSignatureEvidence\x12.\n\x07subject\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\x07subject\x12\x1c\n\tsignature\x18\x02 \x01(\tR\tsignature\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#peggy/MsgSubmitBadSignatureEvidence\"\'\n%MsgSubmitBadSignatureEvidenceResponse\"\xfb\x02\n\x15MsgValsetUpdatedClaim\x12\x1f\n\x0b\x65vent_nonce\x18\x01 \x01(\x04R\neventNonce\x12!\n\x0cvalset_nonce\x18\x02 \x01(\x04R\x0bvalsetNonce\x12!\n\x0c\x62lock_height\x18\x03 \x01(\x04R\x0b\x62lockHeight\x12=\n\x07members\x18\x04 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\x07members\x12\x42\n\rreward_amount\x18\x05 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x06 \x01(\tR\x0brewardToken\x12\"\n\x0corchestrator\x18\x07 \x01(\tR\x0corchestrator:1\x82\xe7\xb0*\x0corchestrator\x8a\xe7\xb0*\x1bpeggy/MsgValsetUpdatedClaim\"\x1f\n\x1dMsgValsetUpdatedClaimResponse\"\xad\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:(\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x15peggy/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\x9d\x01\n\x1dMsgBlacklistEthereumAddresses\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12/\n\x13\x62lacklist_addresses\x18\x02 \x03(\tR\x12\x62lacklistAddresses:3\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*#peggy/MsgBlacklistEthereumAddresses\"\'\n%MsgBlacklistEthereumAddressesResponse\"\x97\x01\n\x1aMsgRevokeEthereumBlacklist\x12\x16\n\x06signer\x18\x01 \x01(\tR\x06signer\x12/\n\x13\x62lacklist_addresses\x18\x02 \x03(\tR\x12\x62lacklistAddresses:0\x82\xe7\xb0*\x06signer\x8a\xe7\xb0* peggy/MsgRevokeEthereumBlacklist\"$\n\"MsgRevokeEthereumBlacklistResponse2\xbe\x10\n\x03Msg\x12\x8f\x01\n\rValsetConfirm\x12$.injective.peggy.v1.MsgValsetConfirm\x1a,.injective.peggy.v1.MsgValsetConfirmResponse\"*\x82\xd3\xe4\x93\x02$\"\"/injective/peggy/v1/valset_confirm\x12\x80\x01\n\tSendToEth\x12 .injective.peggy.v1.MsgSendToEth\x1a(.injective.peggy.v1.MsgSendToEthResponse\"\'\x82\xd3\xe4\x93\x02!\"\x1f/injective/peggy/v1/send_to_eth\x12\x8b\x01\n\x0cRequestBatch\x12#.injective.peggy.v1.MsgRequestBatch\x1a+.injective.peggy.v1.MsgRequestBatchResponse\")\x82\xd3\xe4\x93\x02#\"!/injective/peggy/v1/request_batch\x12\x8b\x01\n\x0c\x43onfirmBatch\x12#.injective.peggy.v1.MsgConfirmBatch\x1a+.injective.peggy.v1.MsgConfirmBatchResponse\")\x82\xd3\xe4\x93\x02#\"!/injective/peggy/v1/confirm_batch\x12\x8b\x01\n\x0c\x44\x65positClaim\x12#.injective.peggy.v1.MsgDepositClaim\x1a+.injective.peggy.v1.MsgDepositClaimResponse\")\x82\xd3\xe4\x93\x02#\"!/injective/peggy/v1/deposit_claim\x12\x8f\x01\n\rWithdrawClaim\x12$.injective.peggy.v1.MsgWithdrawClaim\x1a,.injective.peggy.v1.MsgWithdrawClaimResponse\"*\x82\xd3\xe4\x93\x02$\"\"/injective/peggy/v1/withdraw_claim\x12\xa3\x01\n\x11ValsetUpdateClaim\x12).injective.peggy.v1.MsgValsetUpdatedClaim\x1a\x31.injective.peggy.v1.MsgValsetUpdatedClaimResponse\"0\x82\xd3\xe4\x93\x02*\"(/injective/peggy/v1/valset_updated_claim\x12\xa4\x01\n\x12\x45RC20DeployedClaim\x12).injective.peggy.v1.MsgERC20DeployedClaim\x1a\x31.injective.peggy.v1.MsgERC20DeployedClaimResponse\"0\x82\xd3\xe4\x93\x02*\"(/injective/peggy/v1/erc20_deployed_claim\x12\xba\x01\n\x18SetOrchestratorAddresses\x12/.injective.peggy.v1.MsgSetOrchestratorAddresses\x1a\x37.injective.peggy.v1.MsgSetOrchestratorAddressesResponse\"4\x82\xd3\xe4\x93\x02.\",/injective/peggy/v1/set_orchestrator_address\x12\x99\x01\n\x0f\x43\x61ncelSendToEth\x12&.injective.peggy.v1.MsgCancelSendToEth\x1a..injective.peggy.v1.MsgCancelSendToEthResponse\".\x82\xd3\xe4\x93\x02(\"&/injective/peggy/v1/cancel_send_to_eth\x12\xc5\x01\n\x1aSubmitBadSignatureEvidence\x12\x31.injective.peggy.v1.MsgSubmitBadSignatureEvidence\x1a\x39.injective.peggy.v1.MsgSubmitBadSignatureEvidenceResponse\"9\x82\xd3\xe4\x93\x02\x33\"1/injective/peggy/v1/submit_bad_signature_evidence\x12`\n\x0cUpdateParams\x12#.injective.peggy.v1.MsgUpdateParams\x1a+.injective.peggy.v1.MsgUpdateParamsResponse\x12\x8a\x01\n\x1a\x42lacklistEthereumAddresses\x12\x31.injective.peggy.v1.MsgBlacklistEthereumAddresses\x1a\x39.injective.peggy.v1.MsgBlacklistEthereumAddressesResponse\x12\x81\x01\n\x17RevokeEthereumBlacklist\x12..injective.peggy.v1.MsgRevokeEthereumBlacklist\x1a\x36.injective.peggy.v1.MsgRevokeEthereumBlacklistResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xda\x01\n\x16\x63om.injective.peggy.v1B\tMsgsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.msgs_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.msgs_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.injective.peggy.v1B\tMsgsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" - ) - _globals["_MSGSETORCHESTRATORADDRESSES"]._loaded_options = None - _globals["_MSGSETORCHESTRATORADDRESSES"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*!peggy/MsgSetOrchestratorAddresses" - ) - _globals["_MSGVALSETCONFIRM"]._loaded_options = None - _globals["_MSGVALSETCONFIRM"]._serialized_options = ( - b"\202\347\260*\014orchestrator\212\347\260*\026peggy/MsgValsetConfirm" - ) - _globals["_MSGSENDTOETH"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGSENDTOETH"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" - _globals["_MSGSENDTOETH"].fields_by_name["bridge_fee"]._loaded_options = None - _globals["_MSGSENDTOETH"].fields_by_name["bridge_fee"]._serialized_options = b"\310\336\037\000" - _globals["_MSGSENDTOETH"]._loaded_options = None - _globals["_MSGSENDTOETH"]._serialized_options = b"\202\347\260*\006sender\212\347\260*\022peggy/MsgSendToEth" - _globals["_MSGREQUESTBATCH"]._loaded_options = None - _globals["_MSGREQUESTBATCH"]._serialized_options = ( - b"\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgRequestBatch" - ) - _globals["_MSGCONFIRMBATCH"]._loaded_options = None - _globals["_MSGCONFIRMBATCH"]._serialized_options = ( - b"\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgConfirmBatch" - ) - _globals["_MSGDEPOSITCLAIM"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGDEPOSITCLAIM"].fields_by_name[ - "amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_MSGDEPOSITCLAIM"]._loaded_options = None - _globals["_MSGDEPOSITCLAIM"]._serialized_options = ( - b"\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgDepositClaim" - ) - _globals["_MSGWITHDRAWCLAIM"]._loaded_options = None - _globals["_MSGWITHDRAWCLAIM"]._serialized_options = ( - b"\202\347\260*\014orchestrator\212\347\260*\026peggy/MsgWithdrawClaim" - ) - _globals["_MSGERC20DEPLOYEDCLAIM"]._loaded_options = None - _globals["_MSGERC20DEPLOYEDCLAIM"]._serialized_options = ( - b"\202\347\260*\014orchestrator\212\347\260*\033peggy/MsgERC20DeployedClaim" - ) - _globals["_MSGCANCELSENDTOETH"]._loaded_options = None - _globals["_MSGCANCELSENDTOETH"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\030peggy/MsgCancelSendToEth" - ) - _globals["_MSGSUBMITBADSIGNATUREEVIDENCE"]._loaded_options = None - _globals["_MSGSUBMITBADSIGNATUREEVIDENCE"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*#peggy/MsgSubmitBadSignatureEvidence" - ) - _globals["_MSGVALSETUPDATEDCLAIM"].fields_by_name["reward_amount"]._loaded_options = None - _globals["_MSGVALSETUPDATEDCLAIM"].fields_by_name[ - "reward_amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_MSGVALSETUPDATEDCLAIM"]._loaded_options = None - _globals["_MSGVALSETUPDATEDCLAIM"]._serialized_options = ( - b"\202\347\260*\014orchestrator\212\347\260*\033peggy/MsgValsetUpdatedClaim" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = b"\202\347\260*\tauthority\212\347\260*\025peggy/MsgUpdateParams" - _globals["_MSGBLACKLISTETHEREUMADDRESSES"]._loaded_options = None - _globals["_MSGBLACKLISTETHEREUMADDRESSES"]._serialized_options = ( - b"\202\347\260*\006signer\212\347\260*#peggy/MsgBlacklistEthereumAddresses" - ) - _globals["_MSGREVOKEETHEREUMBLACKLIST"]._loaded_options = None - _globals["_MSGREVOKEETHEREUMBLACKLIST"]._serialized_options = ( - b"\202\347\260*\006signer\212\347\260* peggy/MsgRevokeEthereumBlacklist" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSG"].methods_by_name["ValsetConfirm"]._loaded_options = None - _globals["_MSG"].methods_by_name[ - "ValsetConfirm" - ]._serialized_options = b'\202\323\344\223\002$""/injective/peggy/v1/valset_confirm' - _globals["_MSG"].methods_by_name["SendToEth"]._loaded_options = None - _globals["_MSG"].methods_by_name[ - "SendToEth" - ]._serialized_options = b'\202\323\344\223\002!"\037/injective/peggy/v1/send_to_eth' - _globals["_MSG"].methods_by_name["RequestBatch"]._loaded_options = None - _globals["_MSG"].methods_by_name[ - "RequestBatch" - ]._serialized_options = b'\202\323\344\223\002#"!/injective/peggy/v1/request_batch' - _globals["_MSG"].methods_by_name["ConfirmBatch"]._loaded_options = None - _globals["_MSG"].methods_by_name[ - "ConfirmBatch" - ]._serialized_options = b'\202\323\344\223\002#"!/injective/peggy/v1/confirm_batch' - _globals["_MSG"].methods_by_name["DepositClaim"]._loaded_options = None - _globals["_MSG"].methods_by_name[ - "DepositClaim" - ]._serialized_options = b'\202\323\344\223\002#"!/injective/peggy/v1/deposit_claim' - _globals["_MSG"].methods_by_name["WithdrawClaim"]._loaded_options = None - _globals["_MSG"].methods_by_name[ - "WithdrawClaim" - ]._serialized_options = b'\202\323\344\223\002$""/injective/peggy/v1/withdraw_claim' - _globals["_MSG"].methods_by_name["ValsetUpdateClaim"]._loaded_options = None - _globals["_MSG"].methods_by_name[ - "ValsetUpdateClaim" - ]._serialized_options = b'\202\323\344\223\002*"(/injective/peggy/v1/valset_updated_claim' - _globals["_MSG"].methods_by_name["ERC20DeployedClaim"]._loaded_options = None - _globals["_MSG"].methods_by_name[ - "ERC20DeployedClaim" - ]._serialized_options = b'\202\323\344\223\002*"(/injective/peggy/v1/erc20_deployed_claim' - _globals["_MSG"].methods_by_name["SetOrchestratorAddresses"]._loaded_options = None - _globals["_MSG"].methods_by_name[ - "SetOrchestratorAddresses" - ]._serialized_options = b'\202\323\344\223\002.",/injective/peggy/v1/set_orchestrator_address' - _globals["_MSG"].methods_by_name["CancelSendToEth"]._loaded_options = None - _globals["_MSG"].methods_by_name[ - "CancelSendToEth" - ]._serialized_options = b'\202\323\344\223\002("&/injective/peggy/v1/cancel_send_to_eth' - _globals["_MSG"].methods_by_name["SubmitBadSignatureEvidence"]._loaded_options = None - _globals["_MSG"].methods_by_name[ - "SubmitBadSignatureEvidence" - ]._serialized_options = b'\202\323\344\223\0023"1/injective/peggy/v1/submit_bad_signature_evidence' - _globals["_MSGSETORCHESTRATORADDRESSES"]._serialized_start = 301 - _globals["_MSGSETORCHESTRATORADDRESSES"]._serialized_end = 474 - _globals["_MSGSETORCHESTRATORADDRESSESRESPONSE"]._serialized_start = 476 - _globals["_MSGSETORCHESTRATORADDRESSESRESPONSE"]._serialized_end = 513 - _globals["_MSGVALSETCONFIRM"]._serialized_start = 516 - _globals["_MSGVALSETCONFIRM"]._serialized_end = 701 - _globals["_MSGVALSETCONFIRMRESPONSE"]._serialized_start = 703 - _globals["_MSGVALSETCONFIRMRESPONSE"]._serialized_end = 729 - _globals["_MSGSENDTOETH"]._serialized_start = 732 - _globals["_MSGSENDTOETH"]._serialized_end = 954 - _globals["_MSGSENDTOETHRESPONSE"]._serialized_start = 956 - _globals["_MSGSENDTOETHRESPONSE"]._serialized_end = 978 - _globals["_MSGREQUESTBATCH"]._serialized_start = 980 - _globals["_MSGREQUESTBATCH"]._serialized_end = 1100 - _globals["_MSGREQUESTBATCHRESPONSE"]._serialized_start = 1102 - _globals["_MSGREQUESTBATCHRESPONSE"]._serialized_end = 1127 - _globals["_MSGCONFIRMBATCH"]._serialized_start = 1130 - _globals["_MSGCONFIRMBATCH"]._serialized_end = 1350 - _globals["_MSGCONFIRMBATCHRESPONSE"]._serialized_start = 1352 - _globals["_MSGCONFIRMBATCHRESPONSE"]._serialized_end = 1377 - _globals["_MSGDEPOSITCLAIM"]._serialized_start = 1380 - _globals["_MSGDEPOSITCLAIM"]._serialized_end = 1742 - _globals["_MSGDEPOSITCLAIMRESPONSE"]._serialized_start = 1744 - _globals["_MSGDEPOSITCLAIMRESPONSE"]._serialized_end = 1769 - _globals["_MSGWITHDRAWCLAIM"]._serialized_start = 1772 - _globals["_MSGWITHDRAWCLAIM"]._serialized_end = 2012 - _globals["_MSGWITHDRAWCLAIMRESPONSE"]._serialized_start = 2014 - _globals["_MSGWITHDRAWCLAIMRESPONSE"]._serialized_end = 2040 - _globals["_MSGERC20DEPLOYEDCLAIM"]._serialized_start = 2043 - _globals["_MSGERC20DEPLOYEDCLAIM"]._serialized_end = 2367 - _globals["_MSGERC20DEPLOYEDCLAIMRESPONSE"]._serialized_start = 2369 - _globals["_MSGERC20DEPLOYEDCLAIMRESPONSE"]._serialized_end = 2400 - _globals["_MSGCANCELSENDTOETH"]._serialized_start = 2402 - _globals["_MSGCANCELSENDTOETH"]._serialized_end = 2527 - _globals["_MSGCANCELSENDTOETHRESPONSE"]._serialized_start = 2529 - _globals["_MSGCANCELSENDTOETHRESPONSE"]._serialized_end = 2557 - _globals["_MSGSUBMITBADSIGNATUREEVIDENCE"]._serialized_start = 2560 - _globals["_MSGSUBMITBADSIGNATUREEVIDENCE"]._serialized_end = 2746 - _globals["_MSGSUBMITBADSIGNATUREEVIDENCERESPONSE"]._serialized_start = 2748 - _globals["_MSGSUBMITBADSIGNATUREEVIDENCERESPONSE"]._serialized_end = 2787 - _globals["_MSGVALSETUPDATEDCLAIM"]._serialized_start = 2790 - _globals["_MSGVALSETUPDATEDCLAIM"]._serialized_end = 3169 - _globals["_MSGVALSETUPDATEDCLAIMRESPONSE"]._serialized_start = 3171 - _globals["_MSGVALSETUPDATEDCLAIMRESPONSE"]._serialized_end = 3202 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 3205 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 3378 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 3380 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 3405 - _globals["_MSGBLACKLISTETHEREUMADDRESSES"]._serialized_start = 3408 - _globals["_MSGBLACKLISTETHEREUMADDRESSES"]._serialized_end = 3565 - _globals["_MSGBLACKLISTETHEREUMADDRESSESRESPONSE"]._serialized_start = 3567 - _globals["_MSGBLACKLISTETHEREUMADDRESSESRESPONSE"]._serialized_end = 3606 - _globals["_MSGREVOKEETHEREUMBLACKLIST"]._serialized_start = 3609 - _globals["_MSGREVOKEETHEREUMBLACKLIST"]._serialized_end = 3760 - _globals["_MSGREVOKEETHEREUMBLACKLISTRESPONSE"]._serialized_start = 3762 - _globals["_MSGREVOKEETHEREUMBLACKLISTRESPONSE"]._serialized_end = 3798 - _globals["_MSG"]._serialized_start = 3801 - _globals["_MSG"]._serialized_end = 5911 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\tMsgsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_MSGSETORCHESTRATORADDRESSES']._loaded_options = None + _globals['_MSGSETORCHESTRATORADDRESSES']._serialized_options = b'\202\347\260*\006sender\212\347\260*!peggy/MsgSetOrchestratorAddresses' + _globals['_MSGVALSETCONFIRM']._loaded_options = None + _globals['_MSGVALSETCONFIRM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\026peggy/MsgValsetConfirm' + _globals['_MSGSENDTOETH'].fields_by_name['amount']._loaded_options = None + _globals['_MSGSENDTOETH'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_MSGSENDTOETH'].fields_by_name['bridge_fee']._loaded_options = None + _globals['_MSGSENDTOETH'].fields_by_name['bridge_fee']._serialized_options = b'\310\336\037\000' + _globals['_MSGSENDTOETH']._loaded_options = None + _globals['_MSGSENDTOETH']._serialized_options = b'\202\347\260*\006sender\212\347\260*\022peggy/MsgSendToEth' + _globals['_MSGREQUESTBATCH']._loaded_options = None + _globals['_MSGREQUESTBATCH']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgRequestBatch' + _globals['_MSGCONFIRMBATCH']._loaded_options = None + _globals['_MSGCONFIRMBATCH']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgConfirmBatch' + _globals['_MSGDEPOSITCLAIM'].fields_by_name['amount']._loaded_options = None + _globals['_MSGDEPOSITCLAIM'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_MSGDEPOSITCLAIM']._loaded_options = None + _globals['_MSGDEPOSITCLAIM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\025peggy/MsgDepositClaim' + _globals['_MSGWITHDRAWCLAIM']._loaded_options = None + _globals['_MSGWITHDRAWCLAIM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\026peggy/MsgWithdrawClaim' + _globals['_MSGERC20DEPLOYEDCLAIM']._loaded_options = None + _globals['_MSGERC20DEPLOYEDCLAIM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\033peggy/MsgERC20DeployedClaim' + _globals['_MSGCANCELSENDTOETH']._loaded_options = None + _globals['_MSGCANCELSENDTOETH']._serialized_options = b'\202\347\260*\006sender\212\347\260*\030peggy/MsgCancelSendToEth' + _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._loaded_options = None + _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._serialized_options = b'\202\347\260*\006sender\212\347\260*#peggy/MsgSubmitBadSignatureEvidence' + _globals['_MSGVALSETUPDATEDCLAIM'].fields_by_name['reward_amount']._loaded_options = None + _globals['_MSGVALSETUPDATEDCLAIM'].fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_MSGVALSETUPDATEDCLAIM']._loaded_options = None + _globals['_MSGVALSETUPDATEDCLAIM']._serialized_options = b'\202\347\260*\014orchestrator\212\347\260*\033peggy/MsgValsetUpdatedClaim' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\025peggy/MsgUpdateParams' + _globals['_MSGBLACKLISTETHEREUMADDRESSES']._loaded_options = None + _globals['_MSGBLACKLISTETHEREUMADDRESSES']._serialized_options = b'\202\347\260*\006signer\212\347\260*#peggy/MsgBlacklistEthereumAddresses' + _globals['_MSGREVOKEETHEREUMBLACKLIST']._loaded_options = None + _globals['_MSGREVOKEETHEREUMBLACKLIST']._serialized_options = b'\202\347\260*\006signer\212\347\260* peggy/MsgRevokeEthereumBlacklist' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSG'].methods_by_name['ValsetConfirm']._loaded_options = None + _globals['_MSG'].methods_by_name['ValsetConfirm']._serialized_options = b'\202\323\344\223\002$\"\"/injective/peggy/v1/valset_confirm' + _globals['_MSG'].methods_by_name['SendToEth']._loaded_options = None + _globals['_MSG'].methods_by_name['SendToEth']._serialized_options = b'\202\323\344\223\002!\"\037/injective/peggy/v1/send_to_eth' + _globals['_MSG'].methods_by_name['RequestBatch']._loaded_options = None + _globals['_MSG'].methods_by_name['RequestBatch']._serialized_options = b'\202\323\344\223\002#\"!/injective/peggy/v1/request_batch' + _globals['_MSG'].methods_by_name['ConfirmBatch']._loaded_options = None + _globals['_MSG'].methods_by_name['ConfirmBatch']._serialized_options = b'\202\323\344\223\002#\"!/injective/peggy/v1/confirm_batch' + _globals['_MSG'].methods_by_name['DepositClaim']._loaded_options = None + _globals['_MSG'].methods_by_name['DepositClaim']._serialized_options = b'\202\323\344\223\002#\"!/injective/peggy/v1/deposit_claim' + _globals['_MSG'].methods_by_name['WithdrawClaim']._loaded_options = None + _globals['_MSG'].methods_by_name['WithdrawClaim']._serialized_options = b'\202\323\344\223\002$\"\"/injective/peggy/v1/withdraw_claim' + _globals['_MSG'].methods_by_name['ValsetUpdateClaim']._loaded_options = None + _globals['_MSG'].methods_by_name['ValsetUpdateClaim']._serialized_options = b'\202\323\344\223\002*\"(/injective/peggy/v1/valset_updated_claim' + _globals['_MSG'].methods_by_name['ERC20DeployedClaim']._loaded_options = None + _globals['_MSG'].methods_by_name['ERC20DeployedClaim']._serialized_options = b'\202\323\344\223\002*\"(/injective/peggy/v1/erc20_deployed_claim' + _globals['_MSG'].methods_by_name['SetOrchestratorAddresses']._loaded_options = None + _globals['_MSG'].methods_by_name['SetOrchestratorAddresses']._serialized_options = b'\202\323\344\223\002.\",/injective/peggy/v1/set_orchestrator_address' + _globals['_MSG'].methods_by_name['CancelSendToEth']._loaded_options = None + _globals['_MSG'].methods_by_name['CancelSendToEth']._serialized_options = b'\202\323\344\223\002(\"&/injective/peggy/v1/cancel_send_to_eth' + _globals['_MSG'].methods_by_name['SubmitBadSignatureEvidence']._loaded_options = None + _globals['_MSG'].methods_by_name['SubmitBadSignatureEvidence']._serialized_options = b'\202\323\344\223\0023\"1/injective/peggy/v1/submit_bad_signature_evidence' + _globals['_MSGSETORCHESTRATORADDRESSES']._serialized_start=301 + _globals['_MSGSETORCHESTRATORADDRESSES']._serialized_end=474 + _globals['_MSGSETORCHESTRATORADDRESSESRESPONSE']._serialized_start=476 + _globals['_MSGSETORCHESTRATORADDRESSESRESPONSE']._serialized_end=513 + _globals['_MSGVALSETCONFIRM']._serialized_start=516 + _globals['_MSGVALSETCONFIRM']._serialized_end=701 + _globals['_MSGVALSETCONFIRMRESPONSE']._serialized_start=703 + _globals['_MSGVALSETCONFIRMRESPONSE']._serialized_end=729 + _globals['_MSGSENDTOETH']._serialized_start=732 + _globals['_MSGSENDTOETH']._serialized_end=954 + _globals['_MSGSENDTOETHRESPONSE']._serialized_start=956 + _globals['_MSGSENDTOETHRESPONSE']._serialized_end=978 + _globals['_MSGREQUESTBATCH']._serialized_start=980 + _globals['_MSGREQUESTBATCH']._serialized_end=1100 + _globals['_MSGREQUESTBATCHRESPONSE']._serialized_start=1102 + _globals['_MSGREQUESTBATCHRESPONSE']._serialized_end=1127 + _globals['_MSGCONFIRMBATCH']._serialized_start=1130 + _globals['_MSGCONFIRMBATCH']._serialized_end=1350 + _globals['_MSGCONFIRMBATCHRESPONSE']._serialized_start=1352 + _globals['_MSGCONFIRMBATCHRESPONSE']._serialized_end=1377 + _globals['_MSGDEPOSITCLAIM']._serialized_start=1380 + _globals['_MSGDEPOSITCLAIM']._serialized_end=1742 + _globals['_MSGDEPOSITCLAIMRESPONSE']._serialized_start=1744 + _globals['_MSGDEPOSITCLAIMRESPONSE']._serialized_end=1769 + _globals['_MSGWITHDRAWCLAIM']._serialized_start=1772 + _globals['_MSGWITHDRAWCLAIM']._serialized_end=2012 + _globals['_MSGWITHDRAWCLAIMRESPONSE']._serialized_start=2014 + _globals['_MSGWITHDRAWCLAIMRESPONSE']._serialized_end=2040 + _globals['_MSGERC20DEPLOYEDCLAIM']._serialized_start=2043 + _globals['_MSGERC20DEPLOYEDCLAIM']._serialized_end=2367 + _globals['_MSGERC20DEPLOYEDCLAIMRESPONSE']._serialized_start=2369 + _globals['_MSGERC20DEPLOYEDCLAIMRESPONSE']._serialized_end=2400 + _globals['_MSGCANCELSENDTOETH']._serialized_start=2402 + _globals['_MSGCANCELSENDTOETH']._serialized_end=2527 + _globals['_MSGCANCELSENDTOETHRESPONSE']._serialized_start=2529 + _globals['_MSGCANCELSENDTOETHRESPONSE']._serialized_end=2557 + _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._serialized_start=2560 + _globals['_MSGSUBMITBADSIGNATUREEVIDENCE']._serialized_end=2746 + _globals['_MSGSUBMITBADSIGNATUREEVIDENCERESPONSE']._serialized_start=2748 + _globals['_MSGSUBMITBADSIGNATUREEVIDENCERESPONSE']._serialized_end=2787 + _globals['_MSGVALSETUPDATEDCLAIM']._serialized_start=2790 + _globals['_MSGVALSETUPDATEDCLAIM']._serialized_end=3169 + _globals['_MSGVALSETUPDATEDCLAIMRESPONSE']._serialized_start=3171 + _globals['_MSGVALSETUPDATEDCLAIMRESPONSE']._serialized_end=3202 + _globals['_MSGUPDATEPARAMS']._serialized_start=3205 + _globals['_MSGUPDATEPARAMS']._serialized_end=3378 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=3380 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=3405 + _globals['_MSGBLACKLISTETHEREUMADDRESSES']._serialized_start=3408 + _globals['_MSGBLACKLISTETHEREUMADDRESSES']._serialized_end=3565 + _globals['_MSGBLACKLISTETHEREUMADDRESSESRESPONSE']._serialized_start=3567 + _globals['_MSGBLACKLISTETHEREUMADDRESSESRESPONSE']._serialized_end=3606 + _globals['_MSGREVOKEETHEREUMBLACKLIST']._serialized_start=3609 + _globals['_MSGREVOKEETHEREUMBLACKLIST']._serialized_end=3760 + _globals['_MSGREVOKEETHEREUMBLACKLISTRESPONSE']._serialized_start=3762 + _globals['_MSGREVOKEETHEREUMBLACKLISTRESPONSE']._serialized_end=3798 + _globals['_MSG']._serialized_start=3801 + _globals['_MSG']._serialized_end=5911 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/msgs_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/msgs_pb2_grpc.py index 58a0826e..34f5ab26 100644 --- a/pyinjective/proto/injective/peggy/v1/msgs_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/msgs_pb2_grpc.py @@ -15,89 +15,75 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.ValsetConfirm = channel.unary_unary( - "/injective.peggy.v1.Msg/ValsetConfirm", - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirm.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirmResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Msg/ValsetConfirm', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirm.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirmResponse.FromString, + _registered_method=True) self.SendToEth = channel.unary_unary( - "/injective.peggy.v1.Msg/SendToEth", - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEth.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEthResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Msg/SendToEth', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEth.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEthResponse.FromString, + _registered_method=True) self.RequestBatch = channel.unary_unary( - "/injective.peggy.v1.Msg/RequestBatch", - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatch.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatchResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Msg/RequestBatch', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatch.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatchResponse.FromString, + _registered_method=True) self.ConfirmBatch = channel.unary_unary( - "/injective.peggy.v1.Msg/ConfirmBatch", - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatch.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatchResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Msg/ConfirmBatch', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatch.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatchResponse.FromString, + _registered_method=True) self.DepositClaim = channel.unary_unary( - "/injective.peggy.v1.Msg/DepositClaim", - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaim.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaimResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Msg/DepositClaim', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaim.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaimResponse.FromString, + _registered_method=True) self.WithdrawClaim = channel.unary_unary( - "/injective.peggy.v1.Msg/WithdrawClaim", - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaim.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaimResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Msg/WithdrawClaim', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaim.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaimResponse.FromString, + _registered_method=True) self.ValsetUpdateClaim = channel.unary_unary( - "/injective.peggy.v1.Msg/ValsetUpdateClaim", - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaim.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaimResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Msg/ValsetUpdateClaim', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaim.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaimResponse.FromString, + _registered_method=True) self.ERC20DeployedClaim = channel.unary_unary( - "/injective.peggy.v1.Msg/ERC20DeployedClaim", - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaim.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaimResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Msg/ERC20DeployedClaim', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaim.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaimResponse.FromString, + _registered_method=True) self.SetOrchestratorAddresses = channel.unary_unary( - "/injective.peggy.v1.Msg/SetOrchestratorAddresses", - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddresses.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddressesResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Msg/SetOrchestratorAddresses', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddresses.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddressesResponse.FromString, + _registered_method=True) self.CancelSendToEth = channel.unary_unary( - "/injective.peggy.v1.Msg/CancelSendToEth", - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEth.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEthResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Msg/CancelSendToEth', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEth.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEthResponse.FromString, + _registered_method=True) self.SubmitBadSignatureEvidence = channel.unary_unary( - "/injective.peggy.v1.Msg/SubmitBadSignatureEvidence", - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidence.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidenceResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Msg/SubmitBadSignatureEvidence', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidence.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidenceResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( - "/injective.peggy.v1.Msg/UpdateParams", - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Msg/UpdateParams', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) self.BlacklistEthereumAddresses = channel.unary_unary( - "/injective.peggy.v1.Msg/BlacklistEthereumAddresses", - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddresses.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddressesResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Msg/BlacklistEthereumAddresses', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddresses.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddressesResponse.FromString, + _registered_method=True) self.RevokeEthereumBlacklist = channel.unary_unary( - "/injective.peggy.v1.Msg/RevokeEthereumBlacklist", - request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklist.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklistResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Msg/RevokeEthereumBlacklist', + request_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklist.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklistResponse.FromString, + _registered_method=True) class MsgServicer(object): @@ -106,189 +92,189 @@ class MsgServicer(object): def ValsetConfirm(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SendToEth(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RequestBatch(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ConfirmBatch(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DepositClaim(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def WithdrawClaim(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ValsetUpdateClaim(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ERC20DeployedClaim(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SetOrchestratorAddresses(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CancelSendToEth(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SubmitBadSignatureEvidence(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateParams(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def BlacklistEthereumAddresses(self, request, context): - """BlacklistEthereumAddresses adds Ethereum addresses to the peggy blacklist.""" + """BlacklistEthereumAddresses adds Ethereum addresses to the peggy blacklist. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RevokeEthereumBlacklist(self, request, context): """RevokeEthereumBlacklist removes Ethereum addresses from the peggy blacklist. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "ValsetConfirm": grpc.unary_unary_rpc_method_handler( - servicer.ValsetConfirm, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirm.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirmResponse.SerializeToString, - ), - "SendToEth": grpc.unary_unary_rpc_method_handler( - servicer.SendToEth, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEth.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEthResponse.SerializeToString, - ), - "RequestBatch": grpc.unary_unary_rpc_method_handler( - servicer.RequestBatch, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatch.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatchResponse.SerializeToString, - ), - "ConfirmBatch": grpc.unary_unary_rpc_method_handler( - servicer.ConfirmBatch, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatch.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatchResponse.SerializeToString, - ), - "DepositClaim": grpc.unary_unary_rpc_method_handler( - servicer.DepositClaim, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaim.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaimResponse.SerializeToString, - ), - "WithdrawClaim": grpc.unary_unary_rpc_method_handler( - servicer.WithdrawClaim, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaim.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaimResponse.SerializeToString, - ), - "ValsetUpdateClaim": grpc.unary_unary_rpc_method_handler( - servicer.ValsetUpdateClaim, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaim.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaimResponse.SerializeToString, - ), - "ERC20DeployedClaim": grpc.unary_unary_rpc_method_handler( - servicer.ERC20DeployedClaim, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaim.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaimResponse.SerializeToString, - ), - "SetOrchestratorAddresses": grpc.unary_unary_rpc_method_handler( - servicer.SetOrchestratorAddresses, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddresses.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddressesResponse.SerializeToString, - ), - "CancelSendToEth": grpc.unary_unary_rpc_method_handler( - servicer.CancelSendToEth, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEth.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEthResponse.SerializeToString, - ), - "SubmitBadSignatureEvidence": grpc.unary_unary_rpc_method_handler( - servicer.SubmitBadSignatureEvidence, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidence.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidenceResponse.SerializeToString, - ), - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - "BlacklistEthereumAddresses": grpc.unary_unary_rpc_method_handler( - servicer.BlacklistEthereumAddresses, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddresses.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddressesResponse.SerializeToString, - ), - "RevokeEthereumBlacklist": grpc.unary_unary_rpc_method_handler( - servicer.RevokeEthereumBlacklist, - request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklist.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklistResponse.SerializeToString, - ), + 'ValsetConfirm': grpc.unary_unary_rpc_method_handler( + servicer.ValsetConfirm, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirm.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirmResponse.SerializeToString, + ), + 'SendToEth': grpc.unary_unary_rpc_method_handler( + servicer.SendToEth, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEth.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEthResponse.SerializeToString, + ), + 'RequestBatch': grpc.unary_unary_rpc_method_handler( + servicer.RequestBatch, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatch.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatchResponse.SerializeToString, + ), + 'ConfirmBatch': grpc.unary_unary_rpc_method_handler( + servicer.ConfirmBatch, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatch.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatchResponse.SerializeToString, + ), + 'DepositClaim': grpc.unary_unary_rpc_method_handler( + servicer.DepositClaim, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaim.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaimResponse.SerializeToString, + ), + 'WithdrawClaim': grpc.unary_unary_rpc_method_handler( + servicer.WithdrawClaim, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaim.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaimResponse.SerializeToString, + ), + 'ValsetUpdateClaim': grpc.unary_unary_rpc_method_handler( + servicer.ValsetUpdateClaim, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaim.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaimResponse.SerializeToString, + ), + 'ERC20DeployedClaim': grpc.unary_unary_rpc_method_handler( + servicer.ERC20DeployedClaim, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaim.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaimResponse.SerializeToString, + ), + 'SetOrchestratorAddresses': grpc.unary_unary_rpc_method_handler( + servicer.SetOrchestratorAddresses, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddresses.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddressesResponse.SerializeToString, + ), + 'CancelSendToEth': grpc.unary_unary_rpc_method_handler( + servicer.CancelSendToEth, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEth.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEthResponse.SerializeToString, + ), + 'SubmitBadSignatureEvidence': grpc.unary_unary_rpc_method_handler( + servicer.SubmitBadSignatureEvidence, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidence.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidenceResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'BlacklistEthereumAddresses': grpc.unary_unary_rpc_method_handler( + servicer.BlacklistEthereumAddresses, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddresses.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddressesResponse.SerializeToString, + ), + 'RevokeEthereumBlacklist': grpc.unary_unary_rpc_method_handler( + servicer.RevokeEthereumBlacklist, + request_deserializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklist.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklistResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("injective.peggy.v1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'injective.peggy.v1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("injective.peggy.v1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('injective.peggy.v1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): """Missing associated documentation comment in .proto file.""" @staticmethod - def ValsetConfirm( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ValsetConfirm(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Msg/ValsetConfirm", + '/injective.peggy.v1.Msg/ValsetConfirm', injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirm.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetConfirmResponse.FromString, options, @@ -299,26 +285,23 @@ def ValsetConfirm( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SendToEth( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SendToEth(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Msg/SendToEth", + '/injective.peggy.v1.Msg/SendToEth', injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEth.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSendToEthResponse.FromString, options, @@ -329,26 +312,23 @@ def SendToEth( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RequestBatch( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RequestBatch(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Msg/RequestBatch", + '/injective.peggy.v1.Msg/RequestBatch', injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatch.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRequestBatchResponse.FromString, options, @@ -359,26 +339,23 @@ def RequestBatch( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ConfirmBatch( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ConfirmBatch(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Msg/ConfirmBatch", + '/injective.peggy.v1.Msg/ConfirmBatch', injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatch.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgConfirmBatchResponse.FromString, options, @@ -389,26 +366,23 @@ def ConfirmBatch( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DepositClaim( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DepositClaim(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Msg/DepositClaim", + '/injective.peggy.v1.Msg/DepositClaim', injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaim.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgDepositClaimResponse.FromString, options, @@ -419,26 +393,23 @@ def DepositClaim( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def WithdrawClaim( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def WithdrawClaim(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Msg/WithdrawClaim", + '/injective.peggy.v1.Msg/WithdrawClaim', injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaim.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgWithdrawClaimResponse.FromString, options, @@ -449,26 +420,23 @@ def WithdrawClaim( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ValsetUpdateClaim( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ValsetUpdateClaim(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Msg/ValsetUpdateClaim", + '/injective.peggy.v1.Msg/ValsetUpdateClaim', injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaim.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgValsetUpdatedClaimResponse.FromString, options, @@ -479,26 +447,23 @@ def ValsetUpdateClaim( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ERC20DeployedClaim( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ERC20DeployedClaim(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Msg/ERC20DeployedClaim", + '/injective.peggy.v1.Msg/ERC20DeployedClaim', injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaim.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgERC20DeployedClaimResponse.FromString, options, @@ -509,26 +474,23 @@ def ERC20DeployedClaim( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SetOrchestratorAddresses( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SetOrchestratorAddresses(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Msg/SetOrchestratorAddresses", + '/injective.peggy.v1.Msg/SetOrchestratorAddresses', injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddresses.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSetOrchestratorAddressesResponse.FromString, options, @@ -539,26 +501,23 @@ def SetOrchestratorAddresses( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CancelSendToEth( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CancelSendToEth(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Msg/CancelSendToEth", + '/injective.peggy.v1.Msg/CancelSendToEth', injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEth.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgCancelSendToEthResponse.FromString, options, @@ -569,26 +528,23 @@ def CancelSendToEth( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SubmitBadSignatureEvidence( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SubmitBadSignatureEvidence(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Msg/SubmitBadSignatureEvidence", + '/injective.peggy.v1.Msg/SubmitBadSignatureEvidence', injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidence.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgSubmitBadSignatureEvidenceResponse.FromString, options, @@ -599,26 +555,23 @@ def SubmitBadSignatureEvidence( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Msg/UpdateParams", + '/injective.peggy.v1.Msg/UpdateParams', injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParams.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgUpdateParamsResponse.FromString, options, @@ -629,26 +582,23 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def BlacklistEthereumAddresses( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def BlacklistEthereumAddresses(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Msg/BlacklistEthereumAddresses", + '/injective.peggy.v1.Msg/BlacklistEthereumAddresses', injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddresses.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgBlacklistEthereumAddressesResponse.FromString, options, @@ -659,26 +609,23 @@ def BlacklistEthereumAddresses( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RevokeEthereumBlacklist( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RevokeEthereumBlacklist(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Msg/RevokeEthereumBlacklist", + '/injective.peggy.v1.Msg/RevokeEthereumBlacklist', injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklist.SerializeToString, injective_dot_peggy_dot_v1_dot_msgs__pb2.MsgRevokeEthereumBlacklistResponse.FromString, options, @@ -689,5 +636,4 @@ def RevokeEthereumBlacklist( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/injective/peggy/v1/params_pb2.py b/pyinjective/proto/injective/peggy/v1/params_pb2.py index 5bce7465..de890733 100644 --- a/pyinjective/proto/injective/peggy/v1/params_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/params_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,42 +17,28 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1finjective/peggy/v1/params.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto"\xea\n\n\x06Params\x12\x19\n\x08peggy_id\x18\x01 \x01(\tR\x07peggyId\x12\x30\n\x14\x63ontract_source_hash\x18\x02 \x01(\tR\x12\x63ontractSourceHash\x12\x36\n\x17\x62ridge_ethereum_address\x18\x03 \x01(\tR\x15\x62ridgeEthereumAddress\x12&\n\x0f\x62ridge_chain_id\x18\x04 \x01(\x04R\rbridgeChainId\x12\x32\n\x15signed_valsets_window\x18\x05 \x01(\x04R\x13signedValsetsWindow\x12\x32\n\x15signed_batches_window\x18\x06 \x01(\x04R\x13signedBatchesWindow\x12\x30\n\x14signed_claims_window\x18\x07 \x01(\x04R\x12signedClaimsWindow\x12\x30\n\x14target_batch_timeout\x18\x08 \x01(\x04R\x12targetBatchTimeout\x12,\n\x12\x61verage_block_time\x18\t \x01(\x04R\x10\x61verageBlockTime\x12=\n\x1b\x61verage_ethereum_block_time\x18\n \x01(\x04R\x18\x61verageEthereumBlockTime\x12W\n\x15slash_fraction_valset\x18\x0b \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13slashFractionValset\x12U\n\x14slash_fraction_batch\x18\x0c \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12slashFractionBatch\x12U\n\x14slash_fraction_claim\x18\r \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12slashFractionClaim\x12l\n slash_fraction_conflicting_claim\x18\x0e \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1dslashFractionConflictingClaim\x12\x43\n\x1eunbond_slashing_valsets_window\x18\x0f \x01(\x04R\x1bunbondSlashingValsetsWindow\x12k\n slash_fraction_bad_eth_signature\x18\x10 \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1cslashFractionBadEthSignature\x12*\n\x11\x63osmos_coin_denom\x18\x11 \x01(\tR\x0f\x63osmosCoinDenom\x12;\n\x1a\x63osmos_coin_erc20_contract\x18\x12 \x01(\tR\x17\x63osmosCoinErc20Contract\x12\x34\n\x16\x63laim_slashing_enabled\x18\x13 \x01(\x08R\x14\x63laimSlashingEnabled\x12?\n\x1c\x62ridge_contract_start_height\x18\x14 \x01(\x04R\x19\x62ridgeContractStartHeight\x12\x44\n\rvalset_reward\x18\x15 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x0cvalsetReward\x12\x16\n\x06\x61\x64mins\x18\x16 \x03(\tR\x06\x61\x64mins:\x15\x80\xdc \x00\x8a\xe7\xb0*\x0cpeggy/ParamsB\xdc\x01\n\x16\x63om.injective.peggy.v1B\x0bParamsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/peggy/v1/params.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"\xea\n\n\x06Params\x12\x19\n\x08peggy_id\x18\x01 \x01(\tR\x07peggyId\x12\x30\n\x14\x63ontract_source_hash\x18\x02 \x01(\tR\x12\x63ontractSourceHash\x12\x36\n\x17\x62ridge_ethereum_address\x18\x03 \x01(\tR\x15\x62ridgeEthereumAddress\x12&\n\x0f\x62ridge_chain_id\x18\x04 \x01(\x04R\rbridgeChainId\x12\x32\n\x15signed_valsets_window\x18\x05 \x01(\x04R\x13signedValsetsWindow\x12\x32\n\x15signed_batches_window\x18\x06 \x01(\x04R\x13signedBatchesWindow\x12\x30\n\x14signed_claims_window\x18\x07 \x01(\x04R\x12signedClaimsWindow\x12\x30\n\x14target_batch_timeout\x18\x08 \x01(\x04R\x12targetBatchTimeout\x12,\n\x12\x61verage_block_time\x18\t \x01(\x04R\x10\x61verageBlockTime\x12=\n\x1b\x61verage_ethereum_block_time\x18\n \x01(\x04R\x18\x61verageEthereumBlockTime\x12W\n\x15slash_fraction_valset\x18\x0b \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13slashFractionValset\x12U\n\x14slash_fraction_batch\x18\x0c \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12slashFractionBatch\x12U\n\x14slash_fraction_claim\x18\r \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12slashFractionClaim\x12l\n slash_fraction_conflicting_claim\x18\x0e \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1dslashFractionConflictingClaim\x12\x43\n\x1eunbond_slashing_valsets_window\x18\x0f \x01(\x04R\x1bunbondSlashingValsetsWindow\x12k\n slash_fraction_bad_eth_signature\x18\x10 \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1cslashFractionBadEthSignature\x12*\n\x11\x63osmos_coin_denom\x18\x11 \x01(\tR\x0f\x63osmosCoinDenom\x12;\n\x1a\x63osmos_coin_erc20_contract\x18\x12 \x01(\tR\x17\x63osmosCoinErc20Contract\x12\x34\n\x16\x63laim_slashing_enabled\x18\x13 \x01(\x08R\x14\x63laimSlashingEnabled\x12?\n\x1c\x62ridge_contract_start_height\x18\x14 \x01(\x04R\x19\x62ridgeContractStartHeight\x12\x44\n\rvalset_reward\x18\x15 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x0cvalsetReward\x12\x16\n\x06\x61\x64mins\x18\x16 \x03(\tR\x06\x61\x64mins:\x15\x80\xdc \x00\x8a\xe7\xb0*\x0cpeggy/ParamsB\xdc\x01\n\x16\x63om.injective.peggy.v1B\x0bParamsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.params_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.params_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.injective.peggy.v1B\013ParamsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" - ) - _globals["_PARAMS"].fields_by_name["slash_fraction_valset"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "slash_fraction_valset" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["slash_fraction_batch"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "slash_fraction_batch" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["slash_fraction_claim"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "slash_fraction_claim" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["slash_fraction_conflicting_claim"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "slash_fraction_conflicting_claim" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["slash_fraction_bad_eth_signature"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "slash_fraction_bad_eth_signature" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_PARAMS"].fields_by_name["valset_reward"]._loaded_options = None - _globals["_PARAMS"].fields_by_name["valset_reward"]._serialized_options = b"\310\336\037\000" - _globals["_PARAMS"]._loaded_options = None - _globals["_PARAMS"]._serialized_options = b"\200\334 \000\212\347\260*\014peggy/Params" - _globals["_PARAMS"]._serialized_start = 129 - _globals["_PARAMS"]._serialized_end = 1515 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\013ParamsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_PARAMS'].fields_by_name['slash_fraction_valset']._loaded_options = None + _globals['_PARAMS'].fields_by_name['slash_fraction_valset']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['slash_fraction_batch']._loaded_options = None + _globals['_PARAMS'].fields_by_name['slash_fraction_batch']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['slash_fraction_claim']._loaded_options = None + _globals['_PARAMS'].fields_by_name['slash_fraction_claim']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['slash_fraction_conflicting_claim']._loaded_options = None + _globals['_PARAMS'].fields_by_name['slash_fraction_conflicting_claim']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['slash_fraction_bad_eth_signature']._loaded_options = None + _globals['_PARAMS'].fields_by_name['slash_fraction_bad_eth_signature']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['valset_reward']._loaded_options = None + _globals['_PARAMS'].fields_by_name['valset_reward']._serialized_options = b'\310\336\037\000' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\200\334 \000\212\347\260*\014peggy/Params' + _globals['_PARAMS']._serialized_start=129 + _globals['_PARAMS']._serialized_end=1515 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/params_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/params_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/peggy/v1/params_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/params_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/peggy/v1/pool_pb2.py b/pyinjective/proto/injective/peggy/v1/pool_pb2.py index e07280d1..2358a594 100644 --- a/pyinjective/proto/injective/peggy/v1/pool_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/pool_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,24 +15,18 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1dinjective/peggy/v1/pool.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto"\x19\n\x05IDSet\x12\x10\n\x03ids\x18\x01 \x03(\x04R\x03ids"_\n\tBatchFees\x12\x14\n\x05token\x18\x01 \x01(\tR\x05token\x12<\n\ntotal_fees\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\ttotalFeesB\xda\x01\n\x16\x63om.injective.peggy.v1B\tPoolProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dinjective/peggy/v1/pool.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\"\x19\n\x05IDSet\x12\x10\n\x03ids\x18\x01 \x03(\x04R\x03ids\"_\n\tBatchFees\x12\x14\n\x05token\x18\x01 \x01(\tR\x05token\x12<\n\ntotal_fees\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\ttotalFeesB\xda\x01\n\x16\x63om.injective.peggy.v1B\tPoolProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.pool_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.pool_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.injective.peggy.v1B\tPoolProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" - ) - _globals["_BATCHFEES"].fields_by_name["total_fees"]._loaded_options = None - _globals["_BATCHFEES"].fields_by_name[ - "total_fees" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_IDSET"]._serialized_start = 75 - _globals["_IDSET"]._serialized_end = 100 - _globals["_BATCHFEES"]._serialized_start = 102 - _globals["_BATCHFEES"]._serialized_end = 197 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\tPoolProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_BATCHFEES'].fields_by_name['total_fees']._loaded_options = None + _globals['_BATCHFEES'].fields_by_name['total_fees']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_IDSET']._serialized_start=75 + _globals['_IDSET']._serialized_end=100 + _globals['_BATCHFEES']._serialized_start=102 + _globals['_BATCHFEES']._serialized_end=197 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/pool_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/pool_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/peggy/v1/pool_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/pool_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/peggy/v1/query_pb2.py b/pyinjective/proto/injective/peggy/v1/query_pb2.py index 954bcdbf..8e78efca 100644 --- a/pyinjective/proto/injective/peggy/v1/query_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -23,188 +22,142 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1einjective/peggy/v1/query.proto\x12\x12injective.peggy.v1\x1a injective/peggy/v1/genesis.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1dinjective/peggy/v1/msgs.proto\x1a\x1dinjective/peggy/v1/pool.proto\x1a\x1einjective/peggy/v1/batch.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto"\x14\n\x12QueryParamsRequest"O\n\x13QueryParamsResponse\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\x1b\n\x19QueryCurrentValsetRequest"P\n\x1aQueryCurrentValsetResponse\x12\x32\n\x06valset\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x06valset"1\n\x19QueryValsetRequestRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce"P\n\x1aQueryValsetRequestResponse\x12\x32\n\x06valset\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x06valset"K\n\x19QueryValsetConfirmRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress"\\\n\x1aQueryValsetConfirmResponse\x12>\n\x07\x63onfirm\x18\x01 \x01(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x07\x63onfirm"9\n!QueryValsetConfirmsByNonceRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce"f\n"QueryValsetConfirmsByNonceResponse\x12@\n\x08\x63onfirms\x18\x01 \x03(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x08\x63onfirms" \n\x1eQueryLastValsetRequestsRequest"W\n\x1fQueryLastValsetRequestsResponse\x12\x34\n\x07valsets\x18\x01 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets"F\n*QueryLastPendingValsetRequestByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress"c\n+QueryLastPendingValsetRequestByAddrResponse\x12\x34\n\x07valsets\x18\x01 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets"\x16\n\x14QueryBatchFeeRequest"T\n\x15QueryBatchFeeResponse\x12;\n\tbatchFees\x18\x01 \x03(\x0b\x32\x1d.injective.peggy.v1.BatchFeesR\tbatchFees"E\n)QueryLastPendingBatchRequestByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress"g\n*QueryLastPendingBatchRequestByAddrResponse\x12\x39\n\x05\x62\x61tch\x18\x01 \x01(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x05\x62\x61tch"\x1f\n\x1dQueryOutgoingTxBatchesRequest"_\n\x1eQueryOutgoingTxBatchesResponse\x12=\n\x07\x62\x61tches\x18\x01 \x03(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x07\x62\x61tches"b\n\x1fQueryBatchRequestByNonceRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress"]\n QueryBatchRequestByNonceResponse\x12\x39\n\x05\x62\x61tch\x18\x01 \x01(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x05\x62\x61tch"\\\n\x19QueryBatchConfirmsRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress"]\n\x1aQueryBatchConfirmsResponse\x12?\n\x08\x63onfirms\x18\x01 \x03(\x0b\x32#.injective.peggy.v1.MsgConfirmBatchR\x08\x63onfirms"7\n\x1bQueryLastEventByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress"l\n\x1cQueryLastEventByAddrResponse\x12L\n\x10last_claim_event\x18\x01 \x01(\x0b\x32".injective.peggy.v1.LastClaimEventR\x0elastClaimEvent"0\n\x18QueryERC20ToDenomRequest\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20"^\n\x19QueryERC20ToDenomResponse\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12+\n\x11\x63osmos_originated\x18\x02 \x01(\x08R\x10\x63osmosOriginated"0\n\x18QueryDenomToERC20Request\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom"^\n\x19QueryDenomToERC20Response\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20\x12+\n\x11\x63osmos_originated\x18\x02 \x01(\x08R\x10\x63osmosOriginated"R\n#QueryDelegateKeysByValidatorAddress\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress"\x81\x01\n+QueryDelegateKeysByValidatorAddressResponse\x12\x1f\n\x0b\x65th_address\x18\x01 \x01(\tR\nethAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress"@\n\x1dQueryDelegateKeysByEthAddress\x12\x1f\n\x0b\x65th_address\x18\x01 \x01(\tR\nethAddress"\x87\x01\n%QueryDelegateKeysByEthAddressResponse\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress"[\n&QueryDelegateKeysByOrchestratorAddress\x12\x31\n\x14orchestrator_address\x18\x01 \x01(\tR\x13orchestratorAddress"~\n.QueryDelegateKeysByOrchestratorAddressResponse\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x1f\n\x0b\x65th_address\x18\x02 \x01(\tR\nethAddress">\n\x15QueryPendingSendToEth\x12%\n\x0esender_address\x18\x01 \x01(\tR\rsenderAddress"\xd2\x01\n\x1dQueryPendingSendToEthResponse\x12X\n\x14transfers_in_batches\x18\x01 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12transfersInBatches\x12W\n\x13unbatched_transfers\x18\x02 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12unbatchedTransfers"\x19\n\x17QueryModuleStateRequest"R\n\x18QueryModuleStateResponse\x12\x36\n\x05state\x18\x01 \x01(\x0b\x32 .injective.peggy.v1.GenesisStateR\x05state"\x16\n\x14MissingNoncesRequest"F\n\x15MissingNoncesResponse\x12-\n\x12operator_addresses\x18\x01 \x03(\tR\x11operatorAddresses2\xc6\x1a\n\x05Query\x12s\n\x06Params\x12&.injective.peggy.v1.QueryParamsRequest\x1a\'.injective.peggy.v1.QueryParamsResponse"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/peggy/v1/params\x12\x90\x01\n\rCurrentValset\x12-.injective.peggy.v1.QueryCurrentValsetRequest\x1a..injective.peggy.v1.QueryCurrentValsetResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/valset/current\x12\x88\x01\n\rValsetRequest\x12-.injective.peggy.v1.QueryValsetRequestRequest\x1a..injective.peggy.v1.QueryValsetRequestResponse"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/peggy/v1/valset\x12\x90\x01\n\rValsetConfirm\x12-.injective.peggy.v1.QueryValsetConfirmRequest\x1a..injective.peggy.v1.QueryValsetConfirmResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/valset/confirm\x12\xaa\x01\n\x15ValsetConfirmsByNonce\x12\x35.injective.peggy.v1.QueryValsetConfirmsByNonceRequest\x1a\x36.injective.peggy.v1.QueryValsetConfirmsByNonceResponse""\x82\xd3\xe4\x93\x02\x1c\x12\x1a/peggy/v1/confirms/{nonce}\x12\xa0\x01\n\x12LastValsetRequests\x12\x32.injective.peggy.v1.QueryLastValsetRequestsRequest\x1a\x33.injective.peggy.v1.QueryLastValsetRequestsResponse"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/peggy/v1/valset/requests\x12\xc0\x01\n\x1eLastPendingValsetRequestByAddr\x12>.injective.peggy.v1.QueryLastPendingValsetRequestByAddrRequest\x1a?.injective.peggy.v1.QueryLastPendingValsetRequestByAddrResponse"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/peggy/v1/valset/last\x12\x9e\x01\n\x0fLastEventByAddr\x12/.injective.peggy.v1.QueryLastEventByAddrRequest\x1a\x30.injective.peggy.v1.QueryLastEventByAddrResponse"(\x82\xd3\xe4\x93\x02"\x12 /peggy/v1/oracle/event/{address}\x12\x9a\x01\n\x13GetPendingSendToEth\x12).injective.peggy.v1.QueryPendingSendToEth\x1a\x31.injective.peggy.v1.QueryPendingSendToEthResponse"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/peggy/v1/pending_send_to_eth\x12}\n\tBatchFees\x12(.injective.peggy.v1.QueryBatchFeeRequest\x1a).injective.peggy.v1.QueryBatchFeeResponse"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/peggy/v1/batchfees\x12\x9e\x01\n\x11OutgoingTxBatches\x12\x31.injective.peggy.v1.QueryOutgoingTxBatchesRequest\x1a\x32.injective.peggy.v1.QueryOutgoingTxBatchesResponse""\x82\xd3\xe4\x93\x02\x1c\x12\x1a/peggy/v1/batch/outgoingtx\x12\xbc\x01\n\x1dLastPendingBatchRequestByAddr\x12=.injective.peggy.v1.QueryLastPendingBatchRequestByAddrRequest\x1a>.injective.peggy.v1.QueryLastPendingBatchRequestByAddrResponse"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/peggy/v1/batch/last\x12\x99\x01\n\x13\x42\x61tchRequestByNonce\x12\x33.injective.peggy.v1.QueryBatchRequestByNonceRequest\x1a\x34.injective.peggy.v1.QueryBatchRequestByNonceResponse"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/peggy/v1/batch\x12\x90\x01\n\rBatchConfirms\x12-.injective.peggy.v1.QueryBatchConfirmsRequest\x1a..injective.peggy.v1.QueryBatchConfirmsResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/batch/confirms\x12\x9f\x01\n\x0c\x45RC20ToDenom\x12,.injective.peggy.v1.QueryERC20ToDenomRequest\x1a-.injective.peggy.v1.QueryERC20ToDenomResponse"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/cosmos_originated/erc20_to_denom\x12\x9f\x01\n\x0c\x44\x65nomToERC20\x12,.injective.peggy.v1.QueryDenomToERC20Request\x1a-.injective.peggy.v1.QueryDenomToERC20Response"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/cosmos_originated/denom_to_erc20\x12\xc9\x01\n\x19GetDelegateKeyByValidator\x12\x37.injective.peggy.v1.QueryDelegateKeysByValidatorAddress\x1a?.injective.peggy.v1.QueryDelegateKeysByValidatorAddressResponse"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/query_delegate_keys_by_validator\x12\xb1\x01\n\x13GetDelegateKeyByEth\x12\x31.injective.peggy.v1.QueryDelegateKeysByEthAddress\x1a\x39.injective.peggy.v1.QueryDelegateKeysByEthAddressResponse",\x82\xd3\xe4\x93\x02&\x12$/peggy/v1/query_delegate_keys_by_eth\x12\xd5\x01\n\x1cGetDelegateKeyByOrchestrator\x12:.injective.peggy.v1.QueryDelegateKeysByOrchestratorAddress\x1a\x42.injective.peggy.v1.QueryDelegateKeysByOrchestratorAddressResponse"5\x82\xd3\xe4\x93\x02/\x12-/peggy/v1/query_delegate_keys_by_orchestrator\x12\x8d\x01\n\x10PeggyModuleState\x12+.injective.peggy.v1.QueryModuleStateRequest\x1a,.injective.peggy.v1.QueryModuleStateResponse"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/peggy/v1/module_state\x12\x8b\x01\n\x12MissingPeggoNonces\x12(.injective.peggy.v1.MissingNoncesRequest\x1a).injective.peggy.v1.MissingNoncesResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/missing_noncesB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nQueryProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/peggy/v1/query.proto\x12\x12injective.peggy.v1\x1a injective/peggy/v1/genesis.proto\x1a\x1finjective/peggy/v1/params.proto\x1a\x1einjective/peggy/v1/types.proto\x1a\x1dinjective/peggy/v1/msgs.proto\x1a\x1dinjective/peggy/v1/pool.proto\x1a\x1einjective/peggy/v1/batch.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto\"\x14\n\x12QueryParamsRequest\"O\n\x13QueryParamsResponse\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1b\n\x19QueryCurrentValsetRequest\"P\n\x1aQueryCurrentValsetResponse\x12\x32\n\x06valset\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x06valset\"1\n\x19QueryValsetRequestRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\"P\n\x1aQueryValsetRequestResponse\x12\x32\n\x06valset\x18\x01 \x01(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x06valset\"K\n\x19QueryValsetConfirmRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"\\\n\x1aQueryValsetConfirmResponse\x12>\n\x07\x63onfirm\x18\x01 \x01(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x07\x63onfirm\"9\n!QueryValsetConfirmsByNonceRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\"f\n\"QueryValsetConfirmsByNonceResponse\x12@\n\x08\x63onfirms\x18\x01 \x03(\x0b\x32$.injective.peggy.v1.MsgValsetConfirmR\x08\x63onfirms\" \n\x1eQueryLastValsetRequestsRequest\"W\n\x1fQueryLastValsetRequestsResponse\x12\x34\n\x07valsets\x18\x01 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets\"F\n*QueryLastPendingValsetRequestByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"c\n+QueryLastPendingValsetRequestByAddrResponse\x12\x34\n\x07valsets\x18\x01 \x03(\x0b\x32\x1a.injective.peggy.v1.ValsetR\x07valsets\"\x16\n\x14QueryBatchFeeRequest\"T\n\x15QueryBatchFeeResponse\x12;\n\tbatchFees\x18\x01 \x03(\x0b\x32\x1d.injective.peggy.v1.BatchFeesR\tbatchFees\"E\n)QueryLastPendingBatchRequestByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"g\n*QueryLastPendingBatchRequestByAddrResponse\x12\x39\n\x05\x62\x61tch\x18\x01 \x01(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x05\x62\x61tch\"\x1f\n\x1dQueryOutgoingTxBatchesRequest\"_\n\x1eQueryOutgoingTxBatchesResponse\x12=\n\x07\x62\x61tches\x18\x01 \x03(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x07\x62\x61tches\"b\n\x1fQueryBatchRequestByNonceRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\"]\n QueryBatchRequestByNonceResponse\x12\x39\n\x05\x62\x61tch\x18\x01 \x01(\x0b\x32#.injective.peggy.v1.OutgoingTxBatchR\x05\x62\x61tch\"\\\n\x19QueryBatchConfirmsRequest\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\"]\n\x1aQueryBatchConfirmsResponse\x12?\n\x08\x63onfirms\x18\x01 \x03(\x0b\x32#.injective.peggy.v1.MsgConfirmBatchR\x08\x63onfirms\"7\n\x1bQueryLastEventByAddrRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"l\n\x1cQueryLastEventByAddrResponse\x12L\n\x10last_claim_event\x18\x01 \x01(\x0b\x32\".injective.peggy.v1.LastClaimEventR\x0elastClaimEvent\"0\n\x18QueryERC20ToDenomRequest\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20\"^\n\x19QueryERC20ToDenomResponse\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12+\n\x11\x63osmos_originated\x18\x02 \x01(\x08R\x10\x63osmosOriginated\"0\n\x18QueryDenomToERC20Request\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"^\n\x19QueryDenomToERC20Response\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20\x12+\n\x11\x63osmos_originated\x18\x02 \x01(\x08R\x10\x63osmosOriginated\"R\n#QueryDelegateKeysByValidatorAddress\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\"\x81\x01\n+QueryDelegateKeysByValidatorAddressResponse\x12\x1f\n\x0b\x65th_address\x18\x01 \x01(\tR\nethAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\"@\n\x1dQueryDelegateKeysByEthAddress\x12\x1f\n\x0b\x65th_address\x18\x01 \x01(\tR\nethAddress\"\x87\x01\n%QueryDelegateKeysByEthAddressResponse\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x31\n\x14orchestrator_address\x18\x02 \x01(\tR\x13orchestratorAddress\"[\n&QueryDelegateKeysByOrchestratorAddress\x12\x31\n\x14orchestrator_address\x18\x01 \x01(\tR\x13orchestratorAddress\"~\n.QueryDelegateKeysByOrchestratorAddressResponse\x12+\n\x11validator_address\x18\x01 \x01(\tR\x10validatorAddress\x12\x1f\n\x0b\x65th_address\x18\x02 \x01(\tR\nethAddress\">\n\x15QueryPendingSendToEth\x12%\n\x0esender_address\x18\x01 \x01(\tR\rsenderAddress\"\xd2\x01\n\x1dQueryPendingSendToEthResponse\x12X\n\x14transfers_in_batches\x18\x01 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12transfersInBatches\x12W\n\x13unbatched_transfers\x18\x02 \x03(\x0b\x32&.injective.peggy.v1.OutgoingTransferTxR\x12unbatchedTransfers\"\x19\n\x17QueryModuleStateRequest\"R\n\x18QueryModuleStateResponse\x12\x36\n\x05state\x18\x01 \x01(\x0b\x32 .injective.peggy.v1.GenesisStateR\x05state\"\x16\n\x14MissingNoncesRequest\"F\n\x15MissingNoncesResponse\x12-\n\x12operator_addresses\x18\x01 \x03(\tR\x11operatorAddresses2\xc6\x1a\n\x05Query\x12s\n\x06Params\x12&.injective.peggy.v1.QueryParamsRequest\x1a\'.injective.peggy.v1.QueryParamsResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/peggy/v1/params\x12\x90\x01\n\rCurrentValset\x12-.injective.peggy.v1.QueryCurrentValsetRequest\x1a..injective.peggy.v1.QueryCurrentValsetResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/valset/current\x12\x88\x01\n\rValsetRequest\x12-.injective.peggy.v1.QueryValsetRequestRequest\x1a..injective.peggy.v1.QueryValsetRequestResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/peggy/v1/valset\x12\x90\x01\n\rValsetConfirm\x12-.injective.peggy.v1.QueryValsetConfirmRequest\x1a..injective.peggy.v1.QueryValsetConfirmResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/valset/confirm\x12\xaa\x01\n\x15ValsetConfirmsByNonce\x12\x35.injective.peggy.v1.QueryValsetConfirmsByNonceRequest\x1a\x36.injective.peggy.v1.QueryValsetConfirmsByNonceResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/peggy/v1/confirms/{nonce}\x12\xa0\x01\n\x12LastValsetRequests\x12\x32.injective.peggy.v1.QueryLastValsetRequestsRequest\x1a\x33.injective.peggy.v1.QueryLastValsetRequestsResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/peggy/v1/valset/requests\x12\xc0\x01\n\x1eLastPendingValsetRequestByAddr\x12>.injective.peggy.v1.QueryLastPendingValsetRequestByAddrRequest\x1a?.injective.peggy.v1.QueryLastPendingValsetRequestByAddrResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/peggy/v1/valset/last\x12\x9e\x01\n\x0fLastEventByAddr\x12/.injective.peggy.v1.QueryLastEventByAddrRequest\x1a\x30.injective.peggy.v1.QueryLastEventByAddrResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /peggy/v1/oracle/event/{address}\x12\x9a\x01\n\x13GetPendingSendToEth\x12).injective.peggy.v1.QueryPendingSendToEth\x1a\x31.injective.peggy.v1.QueryPendingSendToEthResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/peggy/v1/pending_send_to_eth\x12}\n\tBatchFees\x12(.injective.peggy.v1.QueryBatchFeeRequest\x1a).injective.peggy.v1.QueryBatchFeeResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/peggy/v1/batchfees\x12\x9e\x01\n\x11OutgoingTxBatches\x12\x31.injective.peggy.v1.QueryOutgoingTxBatchesRequest\x1a\x32.injective.peggy.v1.QueryOutgoingTxBatchesResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/peggy/v1/batch/outgoingtx\x12\xbc\x01\n\x1dLastPendingBatchRequestByAddr\x12=.injective.peggy.v1.QueryLastPendingBatchRequestByAddrRequest\x1a>.injective.peggy.v1.QueryLastPendingBatchRequestByAddrResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/peggy/v1/batch/last\x12\x99\x01\n\x13\x42\x61tchRequestByNonce\x12\x33.injective.peggy.v1.QueryBatchRequestByNonceRequest\x1a\x34.injective.peggy.v1.QueryBatchRequestByNonceResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/peggy/v1/batch\x12\x90\x01\n\rBatchConfirms\x12-.injective.peggy.v1.QueryBatchConfirmsRequest\x1a..injective.peggy.v1.QueryBatchConfirmsResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/batch/confirms\x12\x9f\x01\n\x0c\x45RC20ToDenom\x12,.injective.peggy.v1.QueryERC20ToDenomRequest\x1a-.injective.peggy.v1.QueryERC20ToDenomResponse\"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/cosmos_originated/erc20_to_denom\x12\x9f\x01\n\x0c\x44\x65nomToERC20\x12,.injective.peggy.v1.QueryDenomToERC20Request\x1a-.injective.peggy.v1.QueryDenomToERC20Response\"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/cosmos_originated/denom_to_erc20\x12\xc9\x01\n\x19GetDelegateKeyByValidator\x12\x37.injective.peggy.v1.QueryDelegateKeysByValidatorAddress\x1a?.injective.peggy.v1.QueryDelegateKeysByValidatorAddressResponse\"2\x82\xd3\xe4\x93\x02,\x12*/peggy/v1/query_delegate_keys_by_validator\x12\xb1\x01\n\x13GetDelegateKeyByEth\x12\x31.injective.peggy.v1.QueryDelegateKeysByEthAddress\x1a\x39.injective.peggy.v1.QueryDelegateKeysByEthAddressResponse\",\x82\xd3\xe4\x93\x02&\x12$/peggy/v1/query_delegate_keys_by_eth\x12\xd5\x01\n\x1cGetDelegateKeyByOrchestrator\x12:.injective.peggy.v1.QueryDelegateKeysByOrchestratorAddress\x1a\x42.injective.peggy.v1.QueryDelegateKeysByOrchestratorAddressResponse\"5\x82\xd3\xe4\x93\x02/\x12-/peggy/v1/query_delegate_keys_by_orchestrator\x12\x8d\x01\n\x10PeggyModuleState\x12+.injective.peggy.v1.QueryModuleStateRequest\x1a,.injective.peggy.v1.QueryModuleStateResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/peggy/v1/module_state\x12\x8b\x01\n\x12MissingPeggoNonces\x12(.injective.peggy.v1.MissingNoncesRequest\x1a).injective.peggy.v1.MissingNoncesResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/peggy/v1/missing_noncesB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nQueryProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.injective.peggy.v1B\nQueryProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" - ) - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\202\323\344\223\002\022\022\020/peggy/v1/params" - _globals["_QUERY"].methods_by_name["CurrentValset"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "CurrentValset" - ]._serialized_options = b"\202\323\344\223\002\032\022\030/peggy/v1/valset/current" - _globals["_QUERY"].methods_by_name["ValsetRequest"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ValsetRequest" - ]._serialized_options = b"\202\323\344\223\002\022\022\020/peggy/v1/valset" - _globals["_QUERY"].methods_by_name["ValsetConfirm"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ValsetConfirm" - ]._serialized_options = b"\202\323\344\223\002\032\022\030/peggy/v1/valset/confirm" - _globals["_QUERY"].methods_by_name["ValsetConfirmsByNonce"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ValsetConfirmsByNonce" - ]._serialized_options = b"\202\323\344\223\002\034\022\032/peggy/v1/confirms/{nonce}" - _globals["_QUERY"].methods_by_name["LastValsetRequests"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "LastValsetRequests" - ]._serialized_options = b"\202\323\344\223\002\033\022\031/peggy/v1/valset/requests" - _globals["_QUERY"].methods_by_name["LastPendingValsetRequestByAddr"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "LastPendingValsetRequestByAddr" - ]._serialized_options = b"\202\323\344\223\002\027\022\025/peggy/v1/valset/last" - _globals["_QUERY"].methods_by_name["LastEventByAddr"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "LastEventByAddr" - ]._serialized_options = b'\202\323\344\223\002"\022 /peggy/v1/oracle/event/{address}' - _globals["_QUERY"].methods_by_name["GetPendingSendToEth"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "GetPendingSendToEth" - ]._serialized_options = b"\202\323\344\223\002\037\022\035/peggy/v1/pending_send_to_eth" - _globals["_QUERY"].methods_by_name["BatchFees"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "BatchFees" - ]._serialized_options = b"\202\323\344\223\002\025\022\023/peggy/v1/batchfees" - _globals["_QUERY"].methods_by_name["OutgoingTxBatches"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "OutgoingTxBatches" - ]._serialized_options = b"\202\323\344\223\002\034\022\032/peggy/v1/batch/outgoingtx" - _globals["_QUERY"].methods_by_name["LastPendingBatchRequestByAddr"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "LastPendingBatchRequestByAddr" - ]._serialized_options = b"\202\323\344\223\002\026\022\024/peggy/v1/batch/last" - _globals["_QUERY"].methods_by_name["BatchRequestByNonce"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "BatchRequestByNonce" - ]._serialized_options = b"\202\323\344\223\002\021\022\017/peggy/v1/batch" - _globals["_QUERY"].methods_by_name["BatchConfirms"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "BatchConfirms" - ]._serialized_options = b"\202\323\344\223\002\032\022\030/peggy/v1/batch/confirms" - _globals["_QUERY"].methods_by_name["ERC20ToDenom"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ERC20ToDenom" - ]._serialized_options = b"\202\323\344\223\002,\022*/peggy/v1/cosmos_originated/erc20_to_denom" - _globals["_QUERY"].methods_by_name["DenomToERC20"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DenomToERC20" - ]._serialized_options = b"\202\323\344\223\002,\022*/peggy/v1/cosmos_originated/denom_to_erc20" - _globals["_QUERY"].methods_by_name["GetDelegateKeyByValidator"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "GetDelegateKeyByValidator" - ]._serialized_options = b"\202\323\344\223\002,\022*/peggy/v1/query_delegate_keys_by_validator" - _globals["_QUERY"].methods_by_name["GetDelegateKeyByEth"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "GetDelegateKeyByEth" - ]._serialized_options = b"\202\323\344\223\002&\022$/peggy/v1/query_delegate_keys_by_eth" - _globals["_QUERY"].methods_by_name["GetDelegateKeyByOrchestrator"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "GetDelegateKeyByOrchestrator" - ]._serialized_options = b"\202\323\344\223\002/\022-/peggy/v1/query_delegate_keys_by_orchestrator" - _globals["_QUERY"].methods_by_name["PeggyModuleState"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "PeggyModuleState" - ]._serialized_options = b"\202\323\344\223\002\030\022\026/peggy/v1/module_state" - _globals["_QUERY"].methods_by_name["MissingPeggoNonces"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "MissingPeggoNonces" - ]._serialized_options = b"\202\323\344\223\002\032\022\030/peggy/v1/missing_nonces" - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 299 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 319 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 321 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 400 - _globals["_QUERYCURRENTVALSETREQUEST"]._serialized_start = 402 - _globals["_QUERYCURRENTVALSETREQUEST"]._serialized_end = 429 - _globals["_QUERYCURRENTVALSETRESPONSE"]._serialized_start = 431 - _globals["_QUERYCURRENTVALSETRESPONSE"]._serialized_end = 511 - _globals["_QUERYVALSETREQUESTREQUEST"]._serialized_start = 513 - _globals["_QUERYVALSETREQUESTREQUEST"]._serialized_end = 562 - _globals["_QUERYVALSETREQUESTRESPONSE"]._serialized_start = 564 - _globals["_QUERYVALSETREQUESTRESPONSE"]._serialized_end = 644 - _globals["_QUERYVALSETCONFIRMREQUEST"]._serialized_start = 646 - _globals["_QUERYVALSETCONFIRMREQUEST"]._serialized_end = 721 - _globals["_QUERYVALSETCONFIRMRESPONSE"]._serialized_start = 723 - _globals["_QUERYVALSETCONFIRMRESPONSE"]._serialized_end = 815 - _globals["_QUERYVALSETCONFIRMSBYNONCEREQUEST"]._serialized_start = 817 - _globals["_QUERYVALSETCONFIRMSBYNONCEREQUEST"]._serialized_end = 874 - _globals["_QUERYVALSETCONFIRMSBYNONCERESPONSE"]._serialized_start = 876 - _globals["_QUERYVALSETCONFIRMSBYNONCERESPONSE"]._serialized_end = 978 - _globals["_QUERYLASTVALSETREQUESTSREQUEST"]._serialized_start = 980 - _globals["_QUERYLASTVALSETREQUESTSREQUEST"]._serialized_end = 1012 - _globals["_QUERYLASTVALSETREQUESTSRESPONSE"]._serialized_start = 1014 - _globals["_QUERYLASTVALSETREQUESTSRESPONSE"]._serialized_end = 1101 - _globals["_QUERYLASTPENDINGVALSETREQUESTBYADDRREQUEST"]._serialized_start = 1103 - _globals["_QUERYLASTPENDINGVALSETREQUESTBYADDRREQUEST"]._serialized_end = 1173 - _globals["_QUERYLASTPENDINGVALSETREQUESTBYADDRRESPONSE"]._serialized_start = 1175 - _globals["_QUERYLASTPENDINGVALSETREQUESTBYADDRRESPONSE"]._serialized_end = 1274 - _globals["_QUERYBATCHFEEREQUEST"]._serialized_start = 1276 - _globals["_QUERYBATCHFEEREQUEST"]._serialized_end = 1298 - _globals["_QUERYBATCHFEERESPONSE"]._serialized_start = 1300 - _globals["_QUERYBATCHFEERESPONSE"]._serialized_end = 1384 - _globals["_QUERYLASTPENDINGBATCHREQUESTBYADDRREQUEST"]._serialized_start = 1386 - _globals["_QUERYLASTPENDINGBATCHREQUESTBYADDRREQUEST"]._serialized_end = 1455 - _globals["_QUERYLASTPENDINGBATCHREQUESTBYADDRRESPONSE"]._serialized_start = 1457 - _globals["_QUERYLASTPENDINGBATCHREQUESTBYADDRRESPONSE"]._serialized_end = 1560 - _globals["_QUERYOUTGOINGTXBATCHESREQUEST"]._serialized_start = 1562 - _globals["_QUERYOUTGOINGTXBATCHESREQUEST"]._serialized_end = 1593 - _globals["_QUERYOUTGOINGTXBATCHESRESPONSE"]._serialized_start = 1595 - _globals["_QUERYOUTGOINGTXBATCHESRESPONSE"]._serialized_end = 1690 - _globals["_QUERYBATCHREQUESTBYNONCEREQUEST"]._serialized_start = 1692 - _globals["_QUERYBATCHREQUESTBYNONCEREQUEST"]._serialized_end = 1790 - _globals["_QUERYBATCHREQUESTBYNONCERESPONSE"]._serialized_start = 1792 - _globals["_QUERYBATCHREQUESTBYNONCERESPONSE"]._serialized_end = 1885 - _globals["_QUERYBATCHCONFIRMSREQUEST"]._serialized_start = 1887 - _globals["_QUERYBATCHCONFIRMSREQUEST"]._serialized_end = 1979 - _globals["_QUERYBATCHCONFIRMSRESPONSE"]._serialized_start = 1981 - _globals["_QUERYBATCHCONFIRMSRESPONSE"]._serialized_end = 2074 - _globals["_QUERYLASTEVENTBYADDRREQUEST"]._serialized_start = 2076 - _globals["_QUERYLASTEVENTBYADDRREQUEST"]._serialized_end = 2131 - _globals["_QUERYLASTEVENTBYADDRRESPONSE"]._serialized_start = 2133 - _globals["_QUERYLASTEVENTBYADDRRESPONSE"]._serialized_end = 2241 - _globals["_QUERYERC20TODENOMREQUEST"]._serialized_start = 2243 - _globals["_QUERYERC20TODENOMREQUEST"]._serialized_end = 2291 - _globals["_QUERYERC20TODENOMRESPONSE"]._serialized_start = 2293 - _globals["_QUERYERC20TODENOMRESPONSE"]._serialized_end = 2387 - _globals["_QUERYDENOMTOERC20REQUEST"]._serialized_start = 2389 - _globals["_QUERYDENOMTOERC20REQUEST"]._serialized_end = 2437 - _globals["_QUERYDENOMTOERC20RESPONSE"]._serialized_start = 2439 - _globals["_QUERYDENOMTOERC20RESPONSE"]._serialized_end = 2533 - _globals["_QUERYDELEGATEKEYSBYVALIDATORADDRESS"]._serialized_start = 2535 - _globals["_QUERYDELEGATEKEYSBYVALIDATORADDRESS"]._serialized_end = 2617 - _globals["_QUERYDELEGATEKEYSBYVALIDATORADDRESSRESPONSE"]._serialized_start = 2620 - _globals["_QUERYDELEGATEKEYSBYVALIDATORADDRESSRESPONSE"]._serialized_end = 2749 - _globals["_QUERYDELEGATEKEYSBYETHADDRESS"]._serialized_start = 2751 - _globals["_QUERYDELEGATEKEYSBYETHADDRESS"]._serialized_end = 2815 - _globals["_QUERYDELEGATEKEYSBYETHADDRESSRESPONSE"]._serialized_start = 2818 - _globals["_QUERYDELEGATEKEYSBYETHADDRESSRESPONSE"]._serialized_end = 2953 - _globals["_QUERYDELEGATEKEYSBYORCHESTRATORADDRESS"]._serialized_start = 2955 - _globals["_QUERYDELEGATEKEYSBYORCHESTRATORADDRESS"]._serialized_end = 3046 - _globals["_QUERYDELEGATEKEYSBYORCHESTRATORADDRESSRESPONSE"]._serialized_start = 3048 - _globals["_QUERYDELEGATEKEYSBYORCHESTRATORADDRESSRESPONSE"]._serialized_end = 3174 - _globals["_QUERYPENDINGSENDTOETH"]._serialized_start = 3176 - _globals["_QUERYPENDINGSENDTOETH"]._serialized_end = 3238 - _globals["_QUERYPENDINGSENDTOETHRESPONSE"]._serialized_start = 3241 - _globals["_QUERYPENDINGSENDTOETHRESPONSE"]._serialized_end = 3451 - _globals["_QUERYMODULESTATEREQUEST"]._serialized_start = 3453 - _globals["_QUERYMODULESTATEREQUEST"]._serialized_end = 3478 - _globals["_QUERYMODULESTATERESPONSE"]._serialized_start = 3480 - _globals["_QUERYMODULESTATERESPONSE"]._serialized_end = 3562 - _globals["_MISSINGNONCESREQUEST"]._serialized_start = 3564 - _globals["_MISSINGNONCESREQUEST"]._serialized_end = 3586 - _globals["_MISSINGNONCESRESPONSE"]._serialized_start = 3588 - _globals["_MISSINGNONCESRESPONSE"]._serialized_end = 3658 - _globals["_QUERY"]._serialized_start = 3661 - _globals["_QUERY"]._serialized_end = 7059 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\nQueryProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\022\022\020/peggy/v1/params' + _globals['_QUERY'].methods_by_name['CurrentValset']._loaded_options = None + _globals['_QUERY'].methods_by_name['CurrentValset']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/valset/current' + _globals['_QUERY'].methods_by_name['ValsetRequest']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValsetRequest']._serialized_options = b'\202\323\344\223\002\022\022\020/peggy/v1/valset' + _globals['_QUERY'].methods_by_name['ValsetConfirm']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValsetConfirm']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/valset/confirm' + _globals['_QUERY'].methods_by_name['ValsetConfirmsByNonce']._loaded_options = None + _globals['_QUERY'].methods_by_name['ValsetConfirmsByNonce']._serialized_options = b'\202\323\344\223\002\034\022\032/peggy/v1/confirms/{nonce}' + _globals['_QUERY'].methods_by_name['LastValsetRequests']._loaded_options = None + _globals['_QUERY'].methods_by_name['LastValsetRequests']._serialized_options = b'\202\323\344\223\002\033\022\031/peggy/v1/valset/requests' + _globals['_QUERY'].methods_by_name['LastPendingValsetRequestByAddr']._loaded_options = None + _globals['_QUERY'].methods_by_name['LastPendingValsetRequestByAddr']._serialized_options = b'\202\323\344\223\002\027\022\025/peggy/v1/valset/last' + _globals['_QUERY'].methods_by_name['LastEventByAddr']._loaded_options = None + _globals['_QUERY'].methods_by_name['LastEventByAddr']._serialized_options = b'\202\323\344\223\002\"\022 /peggy/v1/oracle/event/{address}' + _globals['_QUERY'].methods_by_name['GetPendingSendToEth']._loaded_options = None + _globals['_QUERY'].methods_by_name['GetPendingSendToEth']._serialized_options = b'\202\323\344\223\002\037\022\035/peggy/v1/pending_send_to_eth' + _globals['_QUERY'].methods_by_name['BatchFees']._loaded_options = None + _globals['_QUERY'].methods_by_name['BatchFees']._serialized_options = b'\202\323\344\223\002\025\022\023/peggy/v1/batchfees' + _globals['_QUERY'].methods_by_name['OutgoingTxBatches']._loaded_options = None + _globals['_QUERY'].methods_by_name['OutgoingTxBatches']._serialized_options = b'\202\323\344\223\002\034\022\032/peggy/v1/batch/outgoingtx' + _globals['_QUERY'].methods_by_name['LastPendingBatchRequestByAddr']._loaded_options = None + _globals['_QUERY'].methods_by_name['LastPendingBatchRequestByAddr']._serialized_options = b'\202\323\344\223\002\026\022\024/peggy/v1/batch/last' + _globals['_QUERY'].methods_by_name['BatchRequestByNonce']._loaded_options = None + _globals['_QUERY'].methods_by_name['BatchRequestByNonce']._serialized_options = b'\202\323\344\223\002\021\022\017/peggy/v1/batch' + _globals['_QUERY'].methods_by_name['BatchConfirms']._loaded_options = None + _globals['_QUERY'].methods_by_name['BatchConfirms']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/batch/confirms' + _globals['_QUERY'].methods_by_name['ERC20ToDenom']._loaded_options = None + _globals['_QUERY'].methods_by_name['ERC20ToDenom']._serialized_options = b'\202\323\344\223\002,\022*/peggy/v1/cosmos_originated/erc20_to_denom' + _globals['_QUERY'].methods_by_name['DenomToERC20']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomToERC20']._serialized_options = b'\202\323\344\223\002,\022*/peggy/v1/cosmos_originated/denom_to_erc20' + _globals['_QUERY'].methods_by_name['GetDelegateKeyByValidator']._loaded_options = None + _globals['_QUERY'].methods_by_name['GetDelegateKeyByValidator']._serialized_options = b'\202\323\344\223\002,\022*/peggy/v1/query_delegate_keys_by_validator' + _globals['_QUERY'].methods_by_name['GetDelegateKeyByEth']._loaded_options = None + _globals['_QUERY'].methods_by_name['GetDelegateKeyByEth']._serialized_options = b'\202\323\344\223\002&\022$/peggy/v1/query_delegate_keys_by_eth' + _globals['_QUERY'].methods_by_name['GetDelegateKeyByOrchestrator']._loaded_options = None + _globals['_QUERY'].methods_by_name['GetDelegateKeyByOrchestrator']._serialized_options = b'\202\323\344\223\002/\022-/peggy/v1/query_delegate_keys_by_orchestrator' + _globals['_QUERY'].methods_by_name['PeggyModuleState']._loaded_options = None + _globals['_QUERY'].methods_by_name['PeggyModuleState']._serialized_options = b'\202\323\344\223\002\030\022\026/peggy/v1/module_state' + _globals['_QUERY'].methods_by_name['MissingPeggoNonces']._loaded_options = None + _globals['_QUERY'].methods_by_name['MissingPeggoNonces']._serialized_options = b'\202\323\344\223\002\032\022\030/peggy/v1/missing_nonces' + _globals['_QUERYPARAMSREQUEST']._serialized_start=299 + _globals['_QUERYPARAMSREQUEST']._serialized_end=319 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=321 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=400 + _globals['_QUERYCURRENTVALSETREQUEST']._serialized_start=402 + _globals['_QUERYCURRENTVALSETREQUEST']._serialized_end=429 + _globals['_QUERYCURRENTVALSETRESPONSE']._serialized_start=431 + _globals['_QUERYCURRENTVALSETRESPONSE']._serialized_end=511 + _globals['_QUERYVALSETREQUESTREQUEST']._serialized_start=513 + _globals['_QUERYVALSETREQUESTREQUEST']._serialized_end=562 + _globals['_QUERYVALSETREQUESTRESPONSE']._serialized_start=564 + _globals['_QUERYVALSETREQUESTRESPONSE']._serialized_end=644 + _globals['_QUERYVALSETCONFIRMREQUEST']._serialized_start=646 + _globals['_QUERYVALSETCONFIRMREQUEST']._serialized_end=721 + _globals['_QUERYVALSETCONFIRMRESPONSE']._serialized_start=723 + _globals['_QUERYVALSETCONFIRMRESPONSE']._serialized_end=815 + _globals['_QUERYVALSETCONFIRMSBYNONCEREQUEST']._serialized_start=817 + _globals['_QUERYVALSETCONFIRMSBYNONCEREQUEST']._serialized_end=874 + _globals['_QUERYVALSETCONFIRMSBYNONCERESPONSE']._serialized_start=876 + _globals['_QUERYVALSETCONFIRMSBYNONCERESPONSE']._serialized_end=978 + _globals['_QUERYLASTVALSETREQUESTSREQUEST']._serialized_start=980 + _globals['_QUERYLASTVALSETREQUESTSREQUEST']._serialized_end=1012 + _globals['_QUERYLASTVALSETREQUESTSRESPONSE']._serialized_start=1014 + _globals['_QUERYLASTVALSETREQUESTSRESPONSE']._serialized_end=1101 + _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRREQUEST']._serialized_start=1103 + _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRREQUEST']._serialized_end=1173 + _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRRESPONSE']._serialized_start=1175 + _globals['_QUERYLASTPENDINGVALSETREQUESTBYADDRRESPONSE']._serialized_end=1274 + _globals['_QUERYBATCHFEEREQUEST']._serialized_start=1276 + _globals['_QUERYBATCHFEEREQUEST']._serialized_end=1298 + _globals['_QUERYBATCHFEERESPONSE']._serialized_start=1300 + _globals['_QUERYBATCHFEERESPONSE']._serialized_end=1384 + _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRREQUEST']._serialized_start=1386 + _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRREQUEST']._serialized_end=1455 + _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRRESPONSE']._serialized_start=1457 + _globals['_QUERYLASTPENDINGBATCHREQUESTBYADDRRESPONSE']._serialized_end=1560 + _globals['_QUERYOUTGOINGTXBATCHESREQUEST']._serialized_start=1562 + _globals['_QUERYOUTGOINGTXBATCHESREQUEST']._serialized_end=1593 + _globals['_QUERYOUTGOINGTXBATCHESRESPONSE']._serialized_start=1595 + _globals['_QUERYOUTGOINGTXBATCHESRESPONSE']._serialized_end=1690 + _globals['_QUERYBATCHREQUESTBYNONCEREQUEST']._serialized_start=1692 + _globals['_QUERYBATCHREQUESTBYNONCEREQUEST']._serialized_end=1790 + _globals['_QUERYBATCHREQUESTBYNONCERESPONSE']._serialized_start=1792 + _globals['_QUERYBATCHREQUESTBYNONCERESPONSE']._serialized_end=1885 + _globals['_QUERYBATCHCONFIRMSREQUEST']._serialized_start=1887 + _globals['_QUERYBATCHCONFIRMSREQUEST']._serialized_end=1979 + _globals['_QUERYBATCHCONFIRMSRESPONSE']._serialized_start=1981 + _globals['_QUERYBATCHCONFIRMSRESPONSE']._serialized_end=2074 + _globals['_QUERYLASTEVENTBYADDRREQUEST']._serialized_start=2076 + _globals['_QUERYLASTEVENTBYADDRREQUEST']._serialized_end=2131 + _globals['_QUERYLASTEVENTBYADDRRESPONSE']._serialized_start=2133 + _globals['_QUERYLASTEVENTBYADDRRESPONSE']._serialized_end=2241 + _globals['_QUERYERC20TODENOMREQUEST']._serialized_start=2243 + _globals['_QUERYERC20TODENOMREQUEST']._serialized_end=2291 + _globals['_QUERYERC20TODENOMRESPONSE']._serialized_start=2293 + _globals['_QUERYERC20TODENOMRESPONSE']._serialized_end=2387 + _globals['_QUERYDENOMTOERC20REQUEST']._serialized_start=2389 + _globals['_QUERYDENOMTOERC20REQUEST']._serialized_end=2437 + _globals['_QUERYDENOMTOERC20RESPONSE']._serialized_start=2439 + _globals['_QUERYDENOMTOERC20RESPONSE']._serialized_end=2533 + _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESS']._serialized_start=2535 + _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESS']._serialized_end=2617 + _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESSRESPONSE']._serialized_start=2620 + _globals['_QUERYDELEGATEKEYSBYVALIDATORADDRESSRESPONSE']._serialized_end=2749 + _globals['_QUERYDELEGATEKEYSBYETHADDRESS']._serialized_start=2751 + _globals['_QUERYDELEGATEKEYSBYETHADDRESS']._serialized_end=2815 + _globals['_QUERYDELEGATEKEYSBYETHADDRESSRESPONSE']._serialized_start=2818 + _globals['_QUERYDELEGATEKEYSBYETHADDRESSRESPONSE']._serialized_end=2953 + _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESS']._serialized_start=2955 + _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESS']._serialized_end=3046 + _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESSRESPONSE']._serialized_start=3048 + _globals['_QUERYDELEGATEKEYSBYORCHESTRATORADDRESSRESPONSE']._serialized_end=3174 + _globals['_QUERYPENDINGSENDTOETH']._serialized_start=3176 + _globals['_QUERYPENDINGSENDTOETH']._serialized_end=3238 + _globals['_QUERYPENDINGSENDTOETHRESPONSE']._serialized_start=3241 + _globals['_QUERYPENDINGSENDTOETHRESPONSE']._serialized_end=3451 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=3453 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=3478 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=3480 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=3562 + _globals['_MISSINGNONCESREQUEST']._serialized_start=3564 + _globals['_MISSINGNONCESREQUEST']._serialized_end=3586 + _globals['_MISSINGNONCESRESPONSE']._serialized_start=3588 + _globals['_MISSINGNONCESRESPONSE']._serialized_end=3658 + _globals['_QUERY']._serialized_start=3661 + _globals['_QUERY']._serialized_end=7059 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/query_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/query_pb2_grpc.py index b8fc462b..2d54c874 100644 --- a/pyinjective/proto/injective/peggy/v1/query_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the gRPC querier service""" + """Query defines the gRPC querier service + """ def __init__(self, channel): """Constructor. @@ -15,397 +16,382 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - "/injective.peggy.v1.Query/Params", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/Params', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) self.CurrentValset = channel.unary_unary( - "/injective.peggy.v1.Query/CurrentValset", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/CurrentValset', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetResponse.FromString, + _registered_method=True) self.ValsetRequest = channel.unary_unary( - "/injective.peggy.v1.Query/ValsetRequest", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/ValsetRequest', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestResponse.FromString, + _registered_method=True) self.ValsetConfirm = channel.unary_unary( - "/injective.peggy.v1.Query/ValsetConfirm", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/ValsetConfirm', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmResponse.FromString, + _registered_method=True) self.ValsetConfirmsByNonce = channel.unary_unary( - "/injective.peggy.v1.Query/ValsetConfirmsByNonce", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/ValsetConfirmsByNonce', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceResponse.FromString, + _registered_method=True) self.LastValsetRequests = channel.unary_unary( - "/injective.peggy.v1.Query/LastValsetRequests", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/LastValsetRequests', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsResponse.FromString, + _registered_method=True) self.LastPendingValsetRequestByAddr = channel.unary_unary( - "/injective.peggy.v1.Query/LastPendingValsetRequestByAddr", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/LastPendingValsetRequestByAddr', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrResponse.FromString, + _registered_method=True) self.LastEventByAddr = channel.unary_unary( - "/injective.peggy.v1.Query/LastEventByAddr", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/LastEventByAddr', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrResponse.FromString, + _registered_method=True) self.GetPendingSendToEth = channel.unary_unary( - "/injective.peggy.v1.Query/GetPendingSendToEth", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEth.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEthResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/GetPendingSendToEth', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEth.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEthResponse.FromString, + _registered_method=True) self.BatchFees = channel.unary_unary( - "/injective.peggy.v1.Query/BatchFees", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/BatchFees', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeResponse.FromString, + _registered_method=True) self.OutgoingTxBatches = channel.unary_unary( - "/injective.peggy.v1.Query/OutgoingTxBatches", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/OutgoingTxBatches', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesResponse.FromString, + _registered_method=True) self.LastPendingBatchRequestByAddr = channel.unary_unary( - "/injective.peggy.v1.Query/LastPendingBatchRequestByAddr", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/LastPendingBatchRequestByAddr', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrResponse.FromString, + _registered_method=True) self.BatchRequestByNonce = channel.unary_unary( - "/injective.peggy.v1.Query/BatchRequestByNonce", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/BatchRequestByNonce', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceResponse.FromString, + _registered_method=True) self.BatchConfirms = channel.unary_unary( - "/injective.peggy.v1.Query/BatchConfirms", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/BatchConfirms', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsResponse.FromString, + _registered_method=True) self.ERC20ToDenom = channel.unary_unary( - "/injective.peggy.v1.Query/ERC20ToDenom", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/ERC20ToDenom', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomResponse.FromString, + _registered_method=True) self.DenomToERC20 = channel.unary_unary( - "/injective.peggy.v1.Query/DenomToERC20", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Request.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Response.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/DenomToERC20', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Request.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Response.FromString, + _registered_method=True) self.GetDelegateKeyByValidator = channel.unary_unary( - "/injective.peggy.v1.Query/GetDelegateKeyByValidator", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddress.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddressResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/GetDelegateKeyByValidator', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddress.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddressResponse.FromString, + _registered_method=True) self.GetDelegateKeyByEth = channel.unary_unary( - "/injective.peggy.v1.Query/GetDelegateKeyByEth", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddress.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddressResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/GetDelegateKeyByEth', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddress.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddressResponse.FromString, + _registered_method=True) self.GetDelegateKeyByOrchestrator = channel.unary_unary( - "/injective.peggy.v1.Query/GetDelegateKeyByOrchestrator", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddress.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddressResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/GetDelegateKeyByOrchestrator', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddress.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddressResponse.FromString, + _registered_method=True) self.PeggyModuleState = channel.unary_unary( - "/injective.peggy.v1.Query/PeggyModuleState", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/PeggyModuleState', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, + _registered_method=True) self.MissingPeggoNonces = channel.unary_unary( - "/injective.peggy.v1.Query/MissingPeggoNonces", - request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesRequest.SerializeToString, - response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesResponse.FromString, - _registered_method=True, - ) + '/injective.peggy.v1.Query/MissingPeggoNonces', + request_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesRequest.SerializeToString, + response_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service""" + """Query defines the gRPC querier service + """ def Params(self, request, context): - """Deployments queries deployments""" + """Deployments queries deployments + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CurrentValset(self, request, context): - """valset""" + """valset + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ValsetRequest(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ValsetConfirm(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ValsetConfirmsByNonce(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def LastValsetRequests(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def LastPendingValsetRequestByAddr(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def LastEventByAddr(self, request, context): - """claim""" + """claim + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetPendingSendToEth(self, request, context): - """batch""" + """batch + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def BatchFees(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def OutgoingTxBatches(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def LastPendingBatchRequestByAddr(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def BatchRequestByNonce(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def BatchConfirms(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ERC20ToDenom(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DenomToERC20(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetDelegateKeyByValidator(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetDelegateKeyByEth(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def GetDelegateKeyByOrchestrator(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PeggyModuleState(self, request, context): - """Retrieves the entire peggy module's state""" + """Retrieves the entire peggy module's state + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def MissingPeggoNonces(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - "CurrentValset": grpc.unary_unary_rpc_method_handler( - servicer.CurrentValset, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetResponse.SerializeToString, - ), - "ValsetRequest": grpc.unary_unary_rpc_method_handler( - servicer.ValsetRequest, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestResponse.SerializeToString, - ), - "ValsetConfirm": grpc.unary_unary_rpc_method_handler( - servicer.ValsetConfirm, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmResponse.SerializeToString, - ), - "ValsetConfirmsByNonce": grpc.unary_unary_rpc_method_handler( - servicer.ValsetConfirmsByNonce, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceResponse.SerializeToString, - ), - "LastValsetRequests": grpc.unary_unary_rpc_method_handler( - servicer.LastValsetRequests, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsResponse.SerializeToString, - ), - "LastPendingValsetRequestByAddr": grpc.unary_unary_rpc_method_handler( - servicer.LastPendingValsetRequestByAddr, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrResponse.SerializeToString, - ), - "LastEventByAddr": grpc.unary_unary_rpc_method_handler( - servicer.LastEventByAddr, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrResponse.SerializeToString, - ), - "GetPendingSendToEth": grpc.unary_unary_rpc_method_handler( - servicer.GetPendingSendToEth, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEth.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEthResponse.SerializeToString, - ), - "BatchFees": grpc.unary_unary_rpc_method_handler( - servicer.BatchFees, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeResponse.SerializeToString, - ), - "OutgoingTxBatches": grpc.unary_unary_rpc_method_handler( - servicer.OutgoingTxBatches, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesResponse.SerializeToString, - ), - "LastPendingBatchRequestByAddr": grpc.unary_unary_rpc_method_handler( - servicer.LastPendingBatchRequestByAddr, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrResponse.SerializeToString, - ), - "BatchRequestByNonce": grpc.unary_unary_rpc_method_handler( - servicer.BatchRequestByNonce, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceResponse.SerializeToString, - ), - "BatchConfirms": grpc.unary_unary_rpc_method_handler( - servicer.BatchConfirms, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsResponse.SerializeToString, - ), - "ERC20ToDenom": grpc.unary_unary_rpc_method_handler( - servicer.ERC20ToDenom, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomResponse.SerializeToString, - ), - "DenomToERC20": grpc.unary_unary_rpc_method_handler( - servicer.DenomToERC20, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Request.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Response.SerializeToString, - ), - "GetDelegateKeyByValidator": grpc.unary_unary_rpc_method_handler( - servicer.GetDelegateKeyByValidator, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddress.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddressResponse.SerializeToString, - ), - "GetDelegateKeyByEth": grpc.unary_unary_rpc_method_handler( - servicer.GetDelegateKeyByEth, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddress.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddressResponse.SerializeToString, - ), - "GetDelegateKeyByOrchestrator": grpc.unary_unary_rpc_method_handler( - servicer.GetDelegateKeyByOrchestrator, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddress.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddressResponse.SerializeToString, - ), - "PeggyModuleState": grpc.unary_unary_rpc_method_handler( - servicer.PeggyModuleState, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, - ), - "MissingPeggoNonces": grpc.unary_unary_rpc_method_handler( - servicer.MissingPeggoNonces, - request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesRequest.FromString, - response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesResponse.SerializeToString, - ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'CurrentValset': grpc.unary_unary_rpc_method_handler( + servicer.CurrentValset, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetResponse.SerializeToString, + ), + 'ValsetRequest': grpc.unary_unary_rpc_method_handler( + servicer.ValsetRequest, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestResponse.SerializeToString, + ), + 'ValsetConfirm': grpc.unary_unary_rpc_method_handler( + servicer.ValsetConfirm, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmResponse.SerializeToString, + ), + 'ValsetConfirmsByNonce': grpc.unary_unary_rpc_method_handler( + servicer.ValsetConfirmsByNonce, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceResponse.SerializeToString, + ), + 'LastValsetRequests': grpc.unary_unary_rpc_method_handler( + servicer.LastValsetRequests, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsResponse.SerializeToString, + ), + 'LastPendingValsetRequestByAddr': grpc.unary_unary_rpc_method_handler( + servicer.LastPendingValsetRequestByAddr, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrResponse.SerializeToString, + ), + 'LastEventByAddr': grpc.unary_unary_rpc_method_handler( + servicer.LastEventByAddr, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrResponse.SerializeToString, + ), + 'GetPendingSendToEth': grpc.unary_unary_rpc_method_handler( + servicer.GetPendingSendToEth, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEth.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEthResponse.SerializeToString, + ), + 'BatchFees': grpc.unary_unary_rpc_method_handler( + servicer.BatchFees, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeResponse.SerializeToString, + ), + 'OutgoingTxBatches': grpc.unary_unary_rpc_method_handler( + servicer.OutgoingTxBatches, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesResponse.SerializeToString, + ), + 'LastPendingBatchRequestByAddr': grpc.unary_unary_rpc_method_handler( + servicer.LastPendingBatchRequestByAddr, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrResponse.SerializeToString, + ), + 'BatchRequestByNonce': grpc.unary_unary_rpc_method_handler( + servicer.BatchRequestByNonce, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceResponse.SerializeToString, + ), + 'BatchConfirms': grpc.unary_unary_rpc_method_handler( + servicer.BatchConfirms, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsResponse.SerializeToString, + ), + 'ERC20ToDenom': grpc.unary_unary_rpc_method_handler( + servicer.ERC20ToDenom, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomResponse.SerializeToString, + ), + 'DenomToERC20': grpc.unary_unary_rpc_method_handler( + servicer.DenomToERC20, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Request.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Response.SerializeToString, + ), + 'GetDelegateKeyByValidator': grpc.unary_unary_rpc_method_handler( + servicer.GetDelegateKeyByValidator, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddress.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddressResponse.SerializeToString, + ), + 'GetDelegateKeyByEth': grpc.unary_unary_rpc_method_handler( + servicer.GetDelegateKeyByEth, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddress.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddressResponse.SerializeToString, + ), + 'GetDelegateKeyByOrchestrator': grpc.unary_unary_rpc_method_handler( + servicer.GetDelegateKeyByOrchestrator, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddress.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddressResponse.SerializeToString, + ), + 'PeggyModuleState': grpc.unary_unary_rpc_method_handler( + servicer.PeggyModuleState, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), + 'MissingPeggoNonces': grpc.unary_unary_rpc_method_handler( + servicer.MissingPeggoNonces, + request_deserializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesRequest.FromString, + response_serializer=injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("injective.peggy.v1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'injective.peggy.v1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("injective.peggy.v1.Query", rpc_method_handlers) + server.add_registered_method_handlers('injective.peggy.v1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service""" + """Query defines the gRPC querier service + """ @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/Params", + '/injective.peggy.v1.Query/Params', injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -416,26 +402,23 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CurrentValset( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CurrentValset(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/CurrentValset", + '/injective.peggy.v1.Query/CurrentValset', injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryCurrentValsetResponse.FromString, options, @@ -446,26 +429,23 @@ def CurrentValset( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ValsetRequest( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ValsetRequest(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/ValsetRequest", + '/injective.peggy.v1.Query/ValsetRequest', injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetRequestResponse.FromString, options, @@ -476,26 +456,23 @@ def ValsetRequest( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ValsetConfirm( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ValsetConfirm(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/ValsetConfirm", + '/injective.peggy.v1.Query/ValsetConfirm', injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmResponse.FromString, options, @@ -506,26 +483,23 @@ def ValsetConfirm( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ValsetConfirmsByNonce( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ValsetConfirmsByNonce(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/ValsetConfirmsByNonce", + '/injective.peggy.v1.Query/ValsetConfirmsByNonce', injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryValsetConfirmsByNonceResponse.FromString, options, @@ -536,26 +510,23 @@ def ValsetConfirmsByNonce( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def LastValsetRequests( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def LastValsetRequests(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/LastValsetRequests", + '/injective.peggy.v1.Query/LastValsetRequests', injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastValsetRequestsResponse.FromString, options, @@ -566,26 +537,23 @@ def LastValsetRequests( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def LastPendingValsetRequestByAddr( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def LastPendingValsetRequestByAddr(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/LastPendingValsetRequestByAddr", + '/injective.peggy.v1.Query/LastPendingValsetRequestByAddr', injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingValsetRequestByAddrResponse.FromString, options, @@ -596,26 +564,23 @@ def LastPendingValsetRequestByAddr( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def LastEventByAddr( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def LastEventByAddr(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/LastEventByAddr", + '/injective.peggy.v1.Query/LastEventByAddr', injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastEventByAddrResponse.FromString, options, @@ -626,26 +591,23 @@ def LastEventByAddr( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GetPendingSendToEth( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GetPendingSendToEth(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/GetPendingSendToEth", + '/injective.peggy.v1.Query/GetPendingSendToEth', injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEth.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryPendingSendToEthResponse.FromString, options, @@ -656,26 +618,23 @@ def GetPendingSendToEth( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def BatchFees( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def BatchFees(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/BatchFees", + '/injective.peggy.v1.Query/BatchFees', injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchFeeResponse.FromString, options, @@ -686,26 +645,23 @@ def BatchFees( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def OutgoingTxBatches( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def OutgoingTxBatches(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/OutgoingTxBatches", + '/injective.peggy.v1.Query/OutgoingTxBatches', injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryOutgoingTxBatchesResponse.FromString, options, @@ -716,26 +672,23 @@ def OutgoingTxBatches( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def LastPendingBatchRequestByAddr( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def LastPendingBatchRequestByAddr(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/LastPendingBatchRequestByAddr", + '/injective.peggy.v1.Query/LastPendingBatchRequestByAddr', injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryLastPendingBatchRequestByAddrResponse.FromString, options, @@ -746,26 +699,23 @@ def LastPendingBatchRequestByAddr( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def BatchRequestByNonce( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def BatchRequestByNonce(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/BatchRequestByNonce", + '/injective.peggy.v1.Query/BatchRequestByNonce', injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchRequestByNonceResponse.FromString, options, @@ -776,26 +726,23 @@ def BatchRequestByNonce( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def BatchConfirms( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def BatchConfirms(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/BatchConfirms", + '/injective.peggy.v1.Query/BatchConfirms', injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryBatchConfirmsResponse.FromString, options, @@ -806,26 +753,23 @@ def BatchConfirms( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ERC20ToDenom( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ERC20ToDenom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/ERC20ToDenom", + '/injective.peggy.v1.Query/ERC20ToDenom', injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryERC20ToDenomResponse.FromString, options, @@ -836,26 +780,23 @@ def ERC20ToDenom( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DenomToERC20( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DenomToERC20(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/DenomToERC20", + '/injective.peggy.v1.Query/DenomToERC20', injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Request.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryDenomToERC20Response.FromString, options, @@ -866,26 +807,23 @@ def DenomToERC20( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GetDelegateKeyByValidator( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GetDelegateKeyByValidator(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/GetDelegateKeyByValidator", + '/injective.peggy.v1.Query/GetDelegateKeyByValidator', injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddress.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByValidatorAddressResponse.FromString, options, @@ -896,26 +834,23 @@ def GetDelegateKeyByValidator( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GetDelegateKeyByEth( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GetDelegateKeyByEth(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/GetDelegateKeyByEth", + '/injective.peggy.v1.Query/GetDelegateKeyByEth', injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddress.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByEthAddressResponse.FromString, options, @@ -926,26 +861,23 @@ def GetDelegateKeyByEth( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def GetDelegateKeyByOrchestrator( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def GetDelegateKeyByOrchestrator(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/GetDelegateKeyByOrchestrator", + '/injective.peggy.v1.Query/GetDelegateKeyByOrchestrator', injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddress.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryDelegateKeysByOrchestratorAddressResponse.FromString, options, @@ -956,26 +888,23 @@ def GetDelegateKeyByOrchestrator( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PeggyModuleState( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PeggyModuleState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/PeggyModuleState", + '/injective.peggy.v1.Query/PeggyModuleState', injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, options, @@ -986,26 +915,23 @@ def PeggyModuleState( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def MissingPeggoNonces( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def MissingPeggoNonces(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.peggy.v1.Query/MissingPeggoNonces", + '/injective.peggy.v1.Query/MissingPeggoNonces', injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesRequest.SerializeToString, injective_dot_peggy_dot_v1_dot_query__pb2.MissingNoncesResponse.FromString, options, @@ -1016,5 +942,4 @@ def MissingPeggoNonces( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/injective/peggy/v1/types_pb2.py b/pyinjective/proto/injective/peggy/v1/types_pb2.py index e0da9580..a651b2b2 100644 --- a/pyinjective/proto/injective/peggy/v1/types_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/types_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,30 +15,24 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1einjective/peggy/v1/types.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto"R\n\x0f\x42ridgeValidator\x12\x14\n\x05power\x18\x01 \x01(\x04R\x05power\x12)\n\x10\x65thereum_address\x18\x02 \x01(\tR\x0f\x65thereumAddress"\xdc\x01\n\x06Valset\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12=\n\x07members\x18\x02 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\x07members\x12\x16\n\x06height\x18\x03 \x01(\x04R\x06height\x12\x42\n\rreward_amount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x05 \x01(\tR\x0brewardToken"\x85\x01\n\x1fLastObservedEthereumBlockHeight\x12.\n\x13\x63osmos_block_height\x18\x01 \x01(\x04R\x11\x63osmosBlockHeight\x12\x32\n\x15\x65thereum_block_height\x18\x02 \x01(\x04R\x13\x65thereumBlockHeight"v\n\x0eLastClaimEvent\x12\x30\n\x14\x65thereum_event_nonce\x18\x01 \x01(\x04R\x12\x65thereumEventNonce\x12\x32\n\x15\x65thereum_event_height\x18\x02 \x01(\x04R\x13\x65thereumEventHeight":\n\x0c\x45RC20ToDenom\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nomB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nTypesProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/peggy/v1/types.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\"R\n\x0f\x42ridgeValidator\x12\x14\n\x05power\x18\x01 \x01(\x04R\x05power\x12)\n\x10\x65thereum_address\x18\x02 \x01(\tR\x0f\x65thereumAddress\"\xdc\x01\n\x06Valset\x12\x14\n\x05nonce\x18\x01 \x01(\x04R\x05nonce\x12=\n\x07members\x18\x02 \x03(\x0b\x32#.injective.peggy.v1.BridgeValidatorR\x07members\x12\x16\n\x06height\x18\x03 \x01(\x04R\x06height\x12\x42\n\rreward_amount\x18\x04 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0crewardAmount\x12!\n\x0creward_token\x18\x05 \x01(\tR\x0brewardToken\"\x85\x01\n\x1fLastObservedEthereumBlockHeight\x12.\n\x13\x63osmos_block_height\x18\x01 \x01(\x04R\x11\x63osmosBlockHeight\x12\x32\n\x15\x65thereum_block_height\x18\x02 \x01(\x04R\x13\x65thereumBlockHeight\"v\n\x0eLastClaimEvent\x12\x30\n\x14\x65thereum_event_nonce\x18\x01 \x01(\x04R\x12\x65thereumEventNonce\x12\x32\n\x15\x65thereum_event_height\x18\x02 \x01(\x04R\x13\x65thereumEventHeight\":\n\x0c\x45RC20ToDenom\x12\x14\n\x05\x65rc20\x18\x01 \x01(\tR\x05\x65rc20\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nomB\xdb\x01\n\x16\x63om.injective.peggy.v1B\nTypesProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.peggy.v1.types_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.peggy.v1.types_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.injective.peggy.v1B\nTypesProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1" - ) - _globals["_VALSET"].fields_by_name["reward_amount"]._loaded_options = None - _globals["_VALSET"].fields_by_name[ - "reward_amount" - ]._serialized_options = b"\310\336\037\000\332\336\037\025cosmossdk.io/math.Int" - _globals["_BRIDGEVALIDATOR"]._serialized_start = 76 - _globals["_BRIDGEVALIDATOR"]._serialized_end = 158 - _globals["_VALSET"]._serialized_start = 161 - _globals["_VALSET"]._serialized_end = 381 - _globals["_LASTOBSERVEDETHEREUMBLOCKHEIGHT"]._serialized_start = 384 - _globals["_LASTOBSERVEDETHEREUMBLOCKHEIGHT"]._serialized_end = 517 - _globals["_LASTCLAIMEVENT"]._serialized_start = 519 - _globals["_LASTCLAIMEVENT"]._serialized_end = 637 - _globals["_ERC20TODENOM"]._serialized_start = 639 - _globals["_ERC20TODENOM"]._serialized_end = 697 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\nTypesProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' + _globals['_VALSET'].fields_by_name['reward_amount']._loaded_options = None + _globals['_VALSET'].fields_by_name['reward_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_BRIDGEVALIDATOR']._serialized_start=76 + _globals['_BRIDGEVALIDATOR']._serialized_end=158 + _globals['_VALSET']._serialized_start=161 + _globals['_VALSET']._serialized_end=381 + _globals['_LASTOBSERVEDETHEREUMBLOCKHEIGHT']._serialized_start=384 + _globals['_LASTOBSERVEDETHEREUMBLOCKHEIGHT']._serialized_end=517 + _globals['_LASTCLAIMEVENT']._serialized_start=519 + _globals['_LASTCLAIMEVENT']._serialized_end=637 + _globals['_ERC20TODENOM']._serialized_start=639 + _globals['_ERC20TODENOM']._serialized_end=697 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/peggy/v1/types_pb2_grpc.py b/pyinjective/proto/injective/peggy/v1/types_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/peggy/v1/types_pb2_grpc.py +++ b/pyinjective/proto/injective/peggy/v1/types_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/permissions/v1beta1/events_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/events_pb2.py index fb8d80de..2e4df26b 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/events_pb2.py +++ b/pyinjective/proto/injective/permissions/v1beta1/events_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,20 +17,16 @@ from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n*injective/permissions/v1beta1/events.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto"`\n\x0f\x45ventSetVoucher\x12\x12\n\x04\x61\x64\x64r\x18\x01 \x01(\tR\x04\x61\x64\x64r\x12\x39\n\x07voucher\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07voucherB\x99\x02\n!com.injective.permissions.v1beta1B\x0b\x45ventsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*injective/permissions/v1beta1/events.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\"`\n\x0f\x45ventSetVoucher\x12\x12\n\x04\x61\x64\x64r\x18\x01 \x01(\tR\x04\x61\x64\x64r\x12\x39\n\x07voucher\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x07voucherB\x99\x02\n!com.injective.permissions.v1beta1B\x0b\x45ventsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.permissions.v1beta1.events_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.events_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n!com.injective.permissions.v1beta1B\013EventsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1" - ) - _globals["_EVENTSETVOUCHER"].fields_by_name["voucher"]._loaded_options = None - _globals["_EVENTSETVOUCHER"].fields_by_name["voucher"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTSETVOUCHER"]._serialized_start = 163 - _globals["_EVENTSETVOUCHER"]._serialized_end = 259 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\013EventsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' + _globals['_EVENTSETVOUCHER'].fields_by_name['voucher']._loaded_options = None + _globals['_EVENTSETVOUCHER'].fields_by_name['voucher']._serialized_options = b'\310\336\037\000' + _globals['_EVENTSETVOUCHER']._serialized_start=163 + _globals['_EVENTSETVOUCHER']._serialized_end=259 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/events_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/events_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/events_pb2_grpc.py +++ b/pyinjective/proto/injective/permissions/v1beta1/events_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2.py index 6abd415c..6fa1a73a 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2.py @@ -7,37 +7,28 @@ 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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.permissions.v1beta1 import ( - params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2, -) -from pyinjective.proto.injective.permissions.v1beta1 import ( - permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2, -) +from pyinjective.proto.injective.permissions.v1beta1 import params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2 +from pyinjective.proto.injective.permissions.v1beta1 import permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n+injective/permissions/v1beta1/genesis.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a*injective/permissions/v1beta1/params.proto\x1a/injective/permissions/v1beta1/permissions.proto"\xa3\x01\n\x0cGenesisState\x12\x43\n\x06params\x18\x01 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12N\n\nnamespaces\x18\x02 \x03(\x0b\x32(.injective.permissions.v1beta1.NamespaceB\x04\xc8\xde\x1f\x00R\nnamespacesB\x9a\x02\n!com.injective.permissions.v1beta1B\x0cGenesisProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+injective/permissions/v1beta1/genesis.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a*injective/permissions/v1beta1/params.proto\x1a/injective/permissions/v1beta1/permissions.proto\"\xa3\x01\n\x0cGenesisState\x12\x43\n\x06params\x18\x01 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12N\n\nnamespaces\x18\x02 \x03(\x0b\x32(.injective.permissions.v1beta1.NamespaceB\x04\xc8\xde\x1f\x00R\nnamespacesB\x9a\x02\n!com.injective.permissions.v1beta1B\x0cGenesisProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.permissions.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n!com.injective.permissions.v1beta1B\014GenesisProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1" - ) - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["namespaces"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["namespaces"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"]._serialized_start = 194 - _globals["_GENESISSTATE"]._serialized_end = 357 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\014GenesisProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['namespaces']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['namespaces']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE']._serialized_start=194 + _globals['_GENESISSTATE']._serialized_end=357 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/injective/permissions/v1beta1/genesis_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/permissions/v1beta1/params_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/params_pb2.py index 0f3520a8..d6bf69a1 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/params_pb2.py +++ b/pyinjective/proto/injective/permissions/v1beta1/params_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,20 +18,16 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n*injective/permissions/v1beta1/params.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto"[\n\x06Params\x12\x34\n\x17wasm_hook_query_max_gas\x18\x01 \x01(\x04R\x13wasmHookQueryMaxGas:\x1b\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x12permissions/ParamsB\x99\x02\n!com.injective.permissions.v1beta1B\x0bParamsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*injective/permissions/v1beta1/params.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"[\n\x06Params\x12\x34\n\x17wasm_hook_query_max_gas\x18\x01 \x01(\x04R\x13wasmHookQueryMaxGas:\x1b\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x12permissions/ParamsB\x99\x02\n!com.injective.permissions.v1beta1B\x0bParamsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.permissions.v1beta1.params_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.params_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n!com.injective.permissions.v1beta1B\013ParamsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1" - ) - _globals["_PARAMS"]._loaded_options = None - _globals["_PARAMS"]._serialized_options = b"\350\240\037\001\212\347\260*\022permissions/Params" - _globals["_PARAMS"]._serialized_start = 177 - _globals["_PARAMS"]._serialized_end = 268 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\013ParamsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\022permissions/Params' + _globals['_PARAMS']._serialized_start=177 + _globals['_PARAMS']._serialized_end=268 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/params_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/params_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/params_pb2_grpc.py +++ b/pyinjective/proto/injective/permissions/v1beta1/params_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py index ac4799d2..cab8953a 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py +++ b/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,34 +16,28 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n/injective/permissions/v1beta1/permissions.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"\xc9\x02\n\tNamespace\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1b\n\twasm_hook\x18\x02 \x01(\tR\x08wasmHook\x12!\n\x0cmints_paused\x18\x03 \x01(\x08R\x0bmintsPaused\x12!\n\x0csends_paused\x18\x04 \x01(\x08R\x0bsendsPaused\x12!\n\x0c\x62urns_paused\x18\x05 \x01(\x08R\x0b\x62urnsPaused\x12N\n\x10role_permissions\x18\x06 \x03(\x0b\x32#.injective.permissions.v1beta1.RoleR\x0frolePermissions\x12P\n\raddress_roles\x18\x07 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x0c\x61\x64\x64ressRoles">\n\x0c\x41\x64\x64ressRoles\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12\x14\n\x05roles\x18\x02 \x03(\tR\x05roles"<\n\x04Role\x12\x12\n\x04role\x18\x01 \x01(\tR\x04role\x12 \n\x0bpermissions\x18\x02 \x01(\rR\x0bpermissions"$\n\x07RoleIDs\x12\x19\n\x08role_ids\x18\x01 \x03(\rR\x07roleIds"l\n\x07Voucher\x12\x61\n\x05\x63oins\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x05\x63oins"l\n\x0e\x41\x64\x64ressVoucher\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\x07voucher\x18\x02 \x01(\x0b\x32&.injective.permissions.v1beta1.VoucherR\x07voucher*:\n\x06\x41\x63tion\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x08\n\x04MINT\x10\x01\x12\x0b\n\x07RECEIVE\x10\x02\x12\x08\n\x04\x42URN\x10\x04\x42\x9e\x02\n!com.injective.permissions.v1beta1B\x10PermissionsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/injective/permissions/v1beta1/permissions.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\xc9\x02\n\tNamespace\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1b\n\twasm_hook\x18\x02 \x01(\tR\x08wasmHook\x12!\n\x0cmints_paused\x18\x03 \x01(\x08R\x0bmintsPaused\x12!\n\x0csends_paused\x18\x04 \x01(\x08R\x0bsendsPaused\x12!\n\x0c\x62urns_paused\x18\x05 \x01(\x08R\x0b\x62urnsPaused\x12N\n\x10role_permissions\x18\x06 \x03(\x0b\x32#.injective.permissions.v1beta1.RoleR\x0frolePermissions\x12P\n\raddress_roles\x18\x07 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x0c\x61\x64\x64ressRoles\">\n\x0c\x41\x64\x64ressRoles\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12\x14\n\x05roles\x18\x02 \x03(\tR\x05roles\"<\n\x04Role\x12\x12\n\x04role\x18\x01 \x01(\tR\x04role\x12 \n\x0bpermissions\x18\x02 \x01(\rR\x0bpermissions\"$\n\x07RoleIDs\x12\x19\n\x08role_ids\x18\x01 \x03(\rR\x07roleIds\"l\n\x07Voucher\x12\x61\n\x05\x63oins\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x05\x63oins\"l\n\x0e\x41\x64\x64ressVoucher\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12@\n\x07voucher\x18\x02 \x01(\x0b\x32&.injective.permissions.v1beta1.VoucherR\x07voucher*:\n\x06\x41\x63tion\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x08\n\x04MINT\x10\x01\x12\x0b\n\x07RECEIVE\x10\x02\x12\x08\n\x04\x42URN\x10\x04\x42\x9e\x02\n!com.injective.permissions.v1beta1B\x10PermissionsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.permissions.v1beta1.permissions_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.permissions_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n!com.injective.permissions.v1beta1B\020PermissionsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1" - ) - _globals["_VOUCHER"].fields_by_name["coins"]._loaded_options = None - _globals["_VOUCHER"].fields_by_name[ - "coins" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" - _globals["_ACTION"]._serialized_start = 852 - _globals["_ACTION"]._serialized_end = 910 - _globals["_NAMESPACE"]._serialized_start = 137 - _globals["_NAMESPACE"]._serialized_end = 466 - _globals["_ADDRESSROLES"]._serialized_start = 468 - _globals["_ADDRESSROLES"]._serialized_end = 530 - _globals["_ROLE"]._serialized_start = 532 - _globals["_ROLE"]._serialized_end = 592 - _globals["_ROLEIDS"]._serialized_start = 594 - _globals["_ROLEIDS"]._serialized_end = 630 - _globals["_VOUCHER"]._serialized_start = 632 - _globals["_VOUCHER"]._serialized_end = 740 - _globals["_ADDRESSVOUCHER"]._serialized_start = 742 - _globals["_ADDRESSVOUCHER"]._serialized_end = 850 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\020PermissionsProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' + _globals['_VOUCHER'].fields_by_name['coins']._loaded_options = None + _globals['_VOUCHER'].fields_by_name['coins']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_ACTION']._serialized_start=852 + _globals['_ACTION']._serialized_end=910 + _globals['_NAMESPACE']._serialized_start=137 + _globals['_NAMESPACE']._serialized_end=466 + _globals['_ADDRESSROLES']._serialized_start=468 + _globals['_ADDRESSROLES']._serialized_end=530 + _globals['_ROLE']._serialized_start=532 + _globals['_ROLE']._serialized_end=592 + _globals['_ROLEIDS']._serialized_start=594 + _globals['_ROLEIDS']._serialized_end=630 + _globals['_VOUCHER']._serialized_start=632 + _globals['_VOUCHER']._serialized_end=740 + _globals['_ADDRESSVOUCHER']._serialized_start=742 + _globals['_ADDRESSVOUCHER']._serialized_end=850 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2_grpc.py +++ b/pyinjective/proto/injective/permissions/v1beta1/permissions_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/permissions/v1beta1/query_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/query_pb2.py index b4f5bffd..a03ce809 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/permissions/v1beta1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,88 +15,60 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) -from pyinjective.proto.injective.permissions.v1beta1 import ( - params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2, -) -from pyinjective.proto.injective.permissions.v1beta1 import ( - genesis_pb2 as injective_dot_permissions_dot_v1beta1_dot_genesis__pb2, -) -from pyinjective.proto.injective.permissions.v1beta1 import ( - permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.injective.permissions.v1beta1 import params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2 +from pyinjective.proto.injective.permissions.v1beta1 import genesis_pb2 as injective_dot_permissions_dot_v1beta1_dot_genesis__pb2 +from pyinjective.proto.injective.permissions.v1beta1 import permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n)injective/permissions/v1beta1/query.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a*injective/permissions/v1beta1/params.proto\x1a+injective/permissions/v1beta1/genesis.proto\x1a/injective/permissions/v1beta1/permissions.proto"\x14\n\x12QueryParamsRequest"Z\n\x13QueryParamsResponse\x12\x43\n\x06params\x18\x01 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\x1b\n\x19QueryAllNamespacesRequest"f\n\x1aQueryAllNamespacesResponse\x12H\n\nnamespaces\x18\x01 \x03(\x0b\x32(.injective.permissions.v1beta1.NamespaceR\nnamespaces"Y\n\x1cQueryNamespaceByDenomRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12#\n\rinclude_roles\x18\x02 \x01(\x08R\x0cincludeRoles"g\n\x1dQueryNamespaceByDenomResponse\x12\x46\n\tnamespace\x18\x01 \x01(\x0b\x32(.injective.permissions.v1beta1.NamespaceR\tnamespace"G\n\x1bQueryAddressesByRoleRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x12\n\x04role\x18\x02 \x01(\tR\x04role"<\n\x1cQueryAddressesByRoleResponse\x12\x1c\n\taddresses\x18\x01 \x03(\tR\taddresses"J\n\x18QueryAddressRolesRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress"1\n\x19QueryAddressRolesResponse\x12\x14\n\x05roles\x18\x01 \x03(\tR\x05roles":\n\x1eQueryVouchersForAddressRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress"\xa0\x01\n\x1fQueryVouchersForAddressResponse\x12}\n\x08vouchers\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xea\xde\x1f\x12vouchers,omitempty\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08vouchers2\x89\t\n\x05Query\x12\x9e\x01\n\x06Params\x12\x31.injective.permissions.v1beta1.QueryParamsRequest\x1a\x32.injective.permissions.v1beta1.QueryParamsResponse"-\x82\xd3\xe4\x93\x02\'\x12%/injective/permissions/v1beta1/params\x12\xbb\x01\n\rAllNamespaces\x12\x38.injective.permissions.v1beta1.QueryAllNamespacesRequest\x1a\x39.injective.permissions.v1beta1.QueryAllNamespacesResponse"5\x82\xd3\xe4\x93\x02/\x12-/injective/permissions/v1beta1/all_namespaces\x12\xc8\x01\n\x10NamespaceByDenom\x12;.injective.permissions.v1beta1.QueryNamespaceByDenomRequest\x1a<.injective.permissions.v1beta1.QueryNamespaceByDenomResponse"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/permissions/v1beta1/namespace_by_denom\x12\xbb\x01\n\x0c\x41\x64\x64ressRoles\x12\x37.injective.permissions.v1beta1.QueryAddressRolesRequest\x1a\x38.injective.permissions.v1beta1.QueryAddressRolesResponse"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/permissions/v1beta1/addresses_by_role\x12\xc4\x01\n\x0f\x41\x64\x64ressesByRole\x12:.injective.permissions.v1beta1.QueryAddressesByRoleRequest\x1a;.injective.permissions.v1beta1.QueryAddressesByRoleResponse"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/permissions/v1beta1/addresses_by_role\x12\xd0\x01\n\x12VouchersForAddress\x12=.injective.permissions.v1beta1.QueryVouchersForAddressRequest\x1a>.injective.permissions.v1beta1.QueryVouchersForAddressResponse";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/permissions/v1beta1/vouchers_for_addressB\x98\x02\n!com.injective.permissions.v1beta1B\nQueryProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/permissions/v1beta1/query.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a*injective/permissions/v1beta1/params.proto\x1a+injective/permissions/v1beta1/genesis.proto\x1a/injective/permissions/v1beta1/permissions.proto\"\x14\n\x12QueryParamsRequest\"Z\n\x13QueryParamsResponse\x12\x43\n\x06params\x18\x01 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1b\n\x19QueryAllNamespacesRequest\"f\n\x1aQueryAllNamespacesResponse\x12H\n\nnamespaces\x18\x01 \x03(\x0b\x32(.injective.permissions.v1beta1.NamespaceR\nnamespaces\"Y\n\x1cQueryNamespaceByDenomRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12#\n\rinclude_roles\x18\x02 \x01(\x08R\x0cincludeRoles\"g\n\x1dQueryNamespaceByDenomResponse\x12\x46\n\tnamespace\x18\x01 \x01(\x0b\x32(.injective.permissions.v1beta1.NamespaceR\tnamespace\"G\n\x1bQueryAddressesByRoleRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x12\n\x04role\x18\x02 \x01(\tR\x04role\"<\n\x1cQueryAddressesByRoleResponse\x12\x1c\n\taddresses\x18\x01 \x03(\tR\taddresses\"J\n\x18QueryAddressRolesRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\"1\n\x19QueryAddressRolesResponse\x12\x14\n\x05roles\x18\x01 \x03(\tR\x05roles\":\n\x1eQueryVouchersForAddressRequest\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"\xa0\x01\n\x1fQueryVouchersForAddressResponse\x12}\n\x08vouchers\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xea\xde\x1f\x12vouchers,omitempty\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08vouchers2\x89\t\n\x05Query\x12\x9e\x01\n\x06Params\x12\x31.injective.permissions.v1beta1.QueryParamsRequest\x1a\x32.injective.permissions.v1beta1.QueryParamsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/injective/permissions/v1beta1/params\x12\xbb\x01\n\rAllNamespaces\x12\x38.injective.permissions.v1beta1.QueryAllNamespacesRequest\x1a\x39.injective.permissions.v1beta1.QueryAllNamespacesResponse\"5\x82\xd3\xe4\x93\x02/\x12-/injective/permissions/v1beta1/all_namespaces\x12\xc8\x01\n\x10NamespaceByDenom\x12;.injective.permissions.v1beta1.QueryNamespaceByDenomRequest\x1a<.injective.permissions.v1beta1.QueryNamespaceByDenomResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/permissions/v1beta1/namespace_by_denom\x12\xbb\x01\n\x0c\x41\x64\x64ressRoles\x12\x37.injective.permissions.v1beta1.QueryAddressRolesRequest\x1a\x38.injective.permissions.v1beta1.QueryAddressRolesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/permissions/v1beta1/addresses_by_role\x12\xc4\x01\n\x0f\x41\x64\x64ressesByRole\x12:.injective.permissions.v1beta1.QueryAddressesByRoleRequest\x1a;.injective.permissions.v1beta1.QueryAddressesByRoleResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/permissions/v1beta1/addresses_by_role\x12\xd0\x01\n\x12VouchersForAddress\x12=.injective.permissions.v1beta1.QueryVouchersForAddressRequest\x1a>.injective.permissions.v1beta1.QueryVouchersForAddressResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/permissions/v1beta1/vouchers_for_addressB\x98\x02\n!com.injective.permissions.v1beta1B\nQueryProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.permissions.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n!com.injective.permissions.v1beta1B\nQueryProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1" - ) - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYVOUCHERSFORADDRESSRESPONSE"].fields_by_name["vouchers"]._loaded_options = None - _globals["_QUERYVOUCHERSFORADDRESSRESPONSE"].fields_by_name[ - "vouchers" - ]._serialized_options = ( - b"\310\336\037\000\352\336\037\022vouchers,omitempty\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" - ) - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\202\323\344\223\002'\022%/injective/permissions/v1beta1/params" - _globals["_QUERY"].methods_by_name["AllNamespaces"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AllNamespaces" - ]._serialized_options = b"\202\323\344\223\002/\022-/injective/permissions/v1beta1/all_namespaces" - _globals["_QUERY"].methods_by_name["NamespaceByDenom"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "NamespaceByDenom" - ]._serialized_options = b"\202\323\344\223\0023\0221/injective/permissions/v1beta1/namespace_by_denom" - _globals["_QUERY"].methods_by_name["AddressRoles"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AddressRoles" - ]._serialized_options = b"\202\323\344\223\0022\0220/injective/permissions/v1beta1/addresses_by_role" - _globals["_QUERY"].methods_by_name["AddressesByRole"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "AddressesByRole" - ]._serialized_options = b"\202\323\344\223\0022\0220/injective/permissions/v1beta1/addresses_by_role" - _globals["_QUERY"].methods_by_name["VouchersForAddress"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "VouchersForAddress" - ]._serialized_options = b"\202\323\344\223\0025\0223/injective/permissions/v1beta1/vouchers_for_address" - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 342 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 362 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 364 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 454 - _globals["_QUERYALLNAMESPACESREQUEST"]._serialized_start = 456 - _globals["_QUERYALLNAMESPACESREQUEST"]._serialized_end = 483 - _globals["_QUERYALLNAMESPACESRESPONSE"]._serialized_start = 485 - _globals["_QUERYALLNAMESPACESRESPONSE"]._serialized_end = 587 - _globals["_QUERYNAMESPACEBYDENOMREQUEST"]._serialized_start = 589 - _globals["_QUERYNAMESPACEBYDENOMREQUEST"]._serialized_end = 678 - _globals["_QUERYNAMESPACEBYDENOMRESPONSE"]._serialized_start = 680 - _globals["_QUERYNAMESPACEBYDENOMRESPONSE"]._serialized_end = 783 - _globals["_QUERYADDRESSESBYROLEREQUEST"]._serialized_start = 785 - _globals["_QUERYADDRESSESBYROLEREQUEST"]._serialized_end = 856 - _globals["_QUERYADDRESSESBYROLERESPONSE"]._serialized_start = 858 - _globals["_QUERYADDRESSESBYROLERESPONSE"]._serialized_end = 918 - _globals["_QUERYADDRESSROLESREQUEST"]._serialized_start = 920 - _globals["_QUERYADDRESSROLESREQUEST"]._serialized_end = 994 - _globals["_QUERYADDRESSROLESRESPONSE"]._serialized_start = 996 - _globals["_QUERYADDRESSROLESRESPONSE"]._serialized_end = 1045 - _globals["_QUERYVOUCHERSFORADDRESSREQUEST"]._serialized_start = 1047 - _globals["_QUERYVOUCHERSFORADDRESSREQUEST"]._serialized_end = 1105 - _globals["_QUERYVOUCHERSFORADDRESSRESPONSE"]._serialized_start = 1108 - _globals["_QUERYVOUCHERSFORADDRESSRESPONSE"]._serialized_end = 1268 - _globals["_QUERY"]._serialized_start = 1271 - _globals["_QUERY"]._serialized_end = 2432 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\nQueryProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_QUERYVOUCHERSFORADDRESSRESPONSE'].fields_by_name['vouchers']._loaded_options = None + _globals['_QUERYVOUCHERSFORADDRESSRESPONSE'].fields_by_name['vouchers']._serialized_options = b'\310\336\037\000\352\336\037\022vouchers,omitempty\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\'\022%/injective/permissions/v1beta1/params' + _globals['_QUERY'].methods_by_name['AllNamespaces']._loaded_options = None + _globals['_QUERY'].methods_by_name['AllNamespaces']._serialized_options = b'\202\323\344\223\002/\022-/injective/permissions/v1beta1/all_namespaces' + _globals['_QUERY'].methods_by_name['NamespaceByDenom']._loaded_options = None + _globals['_QUERY'].methods_by_name['NamespaceByDenom']._serialized_options = b'\202\323\344\223\0023\0221/injective/permissions/v1beta1/namespace_by_denom' + _globals['_QUERY'].methods_by_name['AddressRoles']._loaded_options = None + _globals['_QUERY'].methods_by_name['AddressRoles']._serialized_options = b'\202\323\344\223\0022\0220/injective/permissions/v1beta1/addresses_by_role' + _globals['_QUERY'].methods_by_name['AddressesByRole']._loaded_options = None + _globals['_QUERY'].methods_by_name['AddressesByRole']._serialized_options = b'\202\323\344\223\0022\0220/injective/permissions/v1beta1/addresses_by_role' + _globals['_QUERY'].methods_by_name['VouchersForAddress']._loaded_options = None + _globals['_QUERY'].methods_by_name['VouchersForAddress']._serialized_options = b'\202\323\344\223\0025\0223/injective/permissions/v1beta1/vouchers_for_address' + _globals['_QUERYPARAMSREQUEST']._serialized_start=342 + _globals['_QUERYPARAMSREQUEST']._serialized_end=362 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=364 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=454 + _globals['_QUERYALLNAMESPACESREQUEST']._serialized_start=456 + _globals['_QUERYALLNAMESPACESREQUEST']._serialized_end=483 + _globals['_QUERYALLNAMESPACESRESPONSE']._serialized_start=485 + _globals['_QUERYALLNAMESPACESRESPONSE']._serialized_end=587 + _globals['_QUERYNAMESPACEBYDENOMREQUEST']._serialized_start=589 + _globals['_QUERYNAMESPACEBYDENOMREQUEST']._serialized_end=678 + _globals['_QUERYNAMESPACEBYDENOMRESPONSE']._serialized_start=680 + _globals['_QUERYNAMESPACEBYDENOMRESPONSE']._serialized_end=783 + _globals['_QUERYADDRESSESBYROLEREQUEST']._serialized_start=785 + _globals['_QUERYADDRESSESBYROLEREQUEST']._serialized_end=856 + _globals['_QUERYADDRESSESBYROLERESPONSE']._serialized_start=858 + _globals['_QUERYADDRESSESBYROLERESPONSE']._serialized_end=918 + _globals['_QUERYADDRESSROLESREQUEST']._serialized_start=920 + _globals['_QUERYADDRESSROLESREQUEST']._serialized_end=994 + _globals['_QUERYADDRESSROLESRESPONSE']._serialized_start=996 + _globals['_QUERYADDRESSROLESRESPONSE']._serialized_end=1045 + _globals['_QUERYVOUCHERSFORADDRESSREQUEST']._serialized_start=1047 + _globals['_QUERYVOUCHERSFORADDRESSREQUEST']._serialized_end=1105 + _globals['_QUERYVOUCHERSFORADDRESSRESPONSE']._serialized_start=1108 + _globals['_QUERYVOUCHERSFORADDRESSRESPONSE']._serialized_end=1268 + _globals['_QUERY']._serialized_start=1271 + _globals['_QUERY']._serialized_end=2432 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py index 1c4b2e26..1d335252 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/injective/permissions/v1beta1/query_pb2_grpc.py @@ -2,13 +2,12 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.injective.permissions.v1beta1 import ( - query_pb2 as injective_dot_permissions_dot_v1beta1_dot_query__pb2, -) +from pyinjective.proto.injective.permissions.v1beta1 import query_pb2 as injective_dot_permissions_dot_v1beta1_dot_query__pb2 class QueryStub(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -17,85 +16,80 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - "/injective.permissions.v1beta1.Query/Params", - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/injective.permissions.v1beta1.Query/Params', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) self.AllNamespaces = channel.unary_unary( - "/injective.permissions.v1beta1.Query/AllNamespaces", - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesResponse.FromString, - _registered_method=True, - ) + '/injective.permissions.v1beta1.Query/AllNamespaces', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesResponse.FromString, + _registered_method=True) self.NamespaceByDenom = channel.unary_unary( - "/injective.permissions.v1beta1.Query/NamespaceByDenom", - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomResponse.FromString, - _registered_method=True, - ) + '/injective.permissions.v1beta1.Query/NamespaceByDenom', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomResponse.FromString, + _registered_method=True) self.AddressRoles = channel.unary_unary( - "/injective.permissions.v1beta1.Query/AddressRoles", - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesResponse.FromString, - _registered_method=True, - ) + '/injective.permissions.v1beta1.Query/AddressRoles', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesResponse.FromString, + _registered_method=True) self.AddressesByRole = channel.unary_unary( - "/injective.permissions.v1beta1.Query/AddressesByRole", - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleResponse.FromString, - _registered_method=True, - ) + '/injective.permissions.v1beta1.Query/AddressesByRole', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleResponse.FromString, + _registered_method=True) self.VouchersForAddress = channel.unary_unary( - "/injective.permissions.v1beta1.Query/VouchersForAddress", - request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressRequest.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressResponse.FromString, - _registered_method=True, - ) + '/injective.permissions.v1beta1.Query/VouchersForAddress', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressRequest.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def Params(self, request, context): """Params defines a gRPC query method that returns the permissions module's parameters. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AllNamespaces(self, request, context): """AllNamespaces defines a gRPC query method that returns the permissions module's created namespaces. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def NamespaceByDenom(self, request, context): """NamespaceByDenom defines a gRPC query method that returns the permissions module's namespace associated with the provided denom. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AddressRoles(self, request, context): """AddressRoles defines a gRPC query method that returns address roles in the namespace """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def AddressesByRole(self, request, context): """AddressesByRole defines a gRPC query method that returns a namespace's roles associated with the provided address. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def VouchersForAddress(self, request, context): """VouchersForAddress defines a gRPC query method that returns a map of @@ -103,69 +97,69 @@ def VouchersForAddress(self, request, context): originator address """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - "AllNamespaces": grpc.unary_unary_rpc_method_handler( - servicer.AllNamespaces, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesResponse.SerializeToString, - ), - "NamespaceByDenom": grpc.unary_unary_rpc_method_handler( - servicer.NamespaceByDenom, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomResponse.SerializeToString, - ), - "AddressRoles": grpc.unary_unary_rpc_method_handler( - servicer.AddressRoles, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesResponse.SerializeToString, - ), - "AddressesByRole": grpc.unary_unary_rpc_method_handler( - servicer.AddressesByRole, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleResponse.SerializeToString, - ), - "VouchersForAddress": grpc.unary_unary_rpc_method_handler( - servicer.VouchersForAddress, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressRequest.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressResponse.SerializeToString, - ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'AllNamespaces': grpc.unary_unary_rpc_method_handler( + servicer.AllNamespaces, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesResponse.SerializeToString, + ), + 'NamespaceByDenom': grpc.unary_unary_rpc_method_handler( + servicer.NamespaceByDenom, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomResponse.SerializeToString, + ), + 'AddressRoles': grpc.unary_unary_rpc_method_handler( + servicer.AddressRoles, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesResponse.SerializeToString, + ), + 'AddressesByRole': grpc.unary_unary_rpc_method_handler( + servicer.AddressesByRole, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleResponse.SerializeToString, + ), + 'VouchersForAddress': grpc.unary_unary_rpc_method_handler( + servicer.VouchersForAddress, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressRequest.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("injective.permissions.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'injective.permissions.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("injective.permissions.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('injective.permissions.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.permissions.v1beta1.Query/Params", + '/injective.permissions.v1beta1.Query/Params', injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -176,26 +170,23 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def AllNamespaces( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AllNamespaces(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.permissions.v1beta1.Query/AllNamespaces", + '/injective.permissions.v1beta1.Query/AllNamespaces', injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesRequest.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAllNamespacesResponse.FromString, options, @@ -206,26 +197,23 @@ def AllNamespaces( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def NamespaceByDenom( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def NamespaceByDenom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.permissions.v1beta1.Query/NamespaceByDenom", + '/injective.permissions.v1beta1.Query/NamespaceByDenom', injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomRequest.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryNamespaceByDenomResponse.FromString, options, @@ -236,26 +224,23 @@ def NamespaceByDenom( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def AddressRoles( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AddressRoles(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.permissions.v1beta1.Query/AddressRoles", + '/injective.permissions.v1beta1.Query/AddressRoles', injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesRequest.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressRolesResponse.FromString, options, @@ -266,26 +251,23 @@ def AddressRoles( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def AddressesByRole( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def AddressesByRole(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.permissions.v1beta1.Query/AddressesByRole", + '/injective.permissions.v1beta1.Query/AddressesByRole', injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleRequest.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryAddressesByRoleResponse.FromString, options, @@ -296,26 +278,23 @@ def AddressesByRole( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def VouchersForAddress( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def VouchersForAddress(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.permissions.v1beta1.Query/VouchersForAddress", + '/injective.permissions.v1beta1.Query/VouchersForAddress', injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressRequest.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_query__pb2.QueryVouchersForAddressResponse.FromString, options, @@ -326,5 +305,4 @@ def VouchersForAddress( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py b/pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py index 568809e1..0a1dcbbb 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/permissions/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,111 +17,89 @@ from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.injective.permissions.v1beta1 import ( - params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2, -) -from pyinjective.proto.injective.permissions.v1beta1 import ( - permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2, -) +from pyinjective.proto.injective.permissions.v1beta1 import params_pb2 as injective_dot_permissions_dot_v1beta1_dot_params__pb2 +from pyinjective.proto.injective.permissions.v1beta1 import permissions_pb2 as injective_dot_permissions_dot_v1beta1_dot_permissions__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&injective/permissions/v1beta1/tx.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a*injective/permissions/v1beta1/params.proto\x1a/injective/permissions/v1beta1/permissions.proto\x1a\x11\x61mino/amino.proto"\xbe\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x43\n\x06params\x18\x02 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:.\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1bpermissions/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse"\xbd\x01\n\x12MsgCreateNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12L\n\tnamespace\x18\x02 \x01(\x0b\x32(.injective.permissions.v1beta1.NamespaceB\x04\xc8\xde\x1f\x00R\tnamespace:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgCreateNamespace"\x1c\n\x1aMsgCreateNamespaceResponse"\x98\x01\n\x12MsgDeleteNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgDeleteNamespace"\x1c\n\x1aMsgDeleteNamespaceResponse"\xf4\x05\n\x12MsgUpdateNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12]\n\twasm_hook\x18\x03 \x01(\x0b\x32@.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetWasmHookR\x08wasmHook\x12\x66\n\x0cmints_paused\x18\x04 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetMintsPausedR\x0bmintsPaused\x12\x66\n\x0csends_paused\x18\x05 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetSendsPausedR\x0bsendsPaused\x12\x66\n\x0c\x62urns_paused\x18\x06 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetBurnsPausedR\x0b\x62urnsPaused\x1a-\n\x0eMsgSetWasmHook\x12\x1b\n\tnew_value\x18\x01 \x01(\tR\x08newValue\x1a\x30\n\x11MsgSetMintsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue\x1a\x30\n\x11MsgSetSendsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue\x1a\x30\n\x11MsgSetBurnsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgUpdateNamespace"\x1c\n\x1aMsgUpdateNamespaceResponse"\xc4\x02\n\x17MsgUpdateNamespaceRoles\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12N\n\x10role_permissions\x18\x03 \x03(\x0b\x32#.injective.permissions.v1beta1.RoleR\x0frolePermissions\x12P\n\raddress_roles\x18\x04 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x0c\x61\x64\x64ressRoles:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#permissions/MsgUpdateNamespaceRoles"!\n\x1fMsgUpdateNamespaceRolesResponse"\x86\x02\n\x17MsgRevokeNamespaceRoles\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12\x62\n\x17\x61\x64\x64ress_roles_to_revoke\x18\x03 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x14\x61\x64\x64ressRolesToRevoke:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#permissions/MsgRevokeNamespaceRoles"!\n\x1fMsgRevokeNamespaceRolesResponse"\x7f\n\x0fMsgClaimVoucher\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bpermissions/MsgClaimVoucher"\x19\n\x17MsgClaimVoucherResponse2\xa1\x07\n\x03Msg\x12v\n\x0cUpdateParams\x12..injective.permissions.v1beta1.MsgUpdateParams\x1a\x36.injective.permissions.v1beta1.MsgUpdateParamsResponse\x12\x7f\n\x0f\x43reateNamespace\x12\x31.injective.permissions.v1beta1.MsgCreateNamespace\x1a\x39.injective.permissions.v1beta1.MsgCreateNamespaceResponse\x12\x7f\n\x0f\x44\x65leteNamespace\x12\x31.injective.permissions.v1beta1.MsgDeleteNamespace\x1a\x39.injective.permissions.v1beta1.MsgDeleteNamespaceResponse\x12\x7f\n\x0fUpdateNamespace\x12\x31.injective.permissions.v1beta1.MsgUpdateNamespace\x1a\x39.injective.permissions.v1beta1.MsgUpdateNamespaceResponse\x12\x8e\x01\n\x14UpdateNamespaceRoles\x12\x36.injective.permissions.v1beta1.MsgUpdateNamespaceRoles\x1a>.injective.permissions.v1beta1.MsgUpdateNamespaceRolesResponse\x12\x8e\x01\n\x14RevokeNamespaceRoles\x12\x36.injective.permissions.v1beta1.MsgRevokeNamespaceRoles\x1a>.injective.permissions.v1beta1.MsgRevokeNamespaceRolesResponse\x12v\n\x0c\x43laimVoucher\x12..injective.permissions.v1beta1.MsgClaimVoucher\x1a\x36.injective.permissions.v1beta1.MsgClaimVoucherResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x95\x02\n!com.injective.permissions.v1beta1B\x07TxProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&injective/permissions/v1beta1/tx.proto\x12\x1dinjective.permissions.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a*injective/permissions/v1beta1/params.proto\x1a/injective/permissions/v1beta1/permissions.proto\x1a\x11\x61mino/amino.proto\"\xbe\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x43\n\x06params\x18\x02 \x01(\x0b\x32%.injective.permissions.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:.\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1bpermissions/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xbd\x01\n\x12MsgCreateNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12L\n\tnamespace\x18\x02 \x01(\x0b\x32(.injective.permissions.v1beta1.NamespaceB\x04\xc8\xde\x1f\x00R\tnamespace:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgCreateNamespace\"\x1c\n\x1aMsgCreateNamespaceResponse\"\x98\x01\n\x12MsgDeleteNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgDeleteNamespace\"\x1c\n\x1aMsgDeleteNamespaceResponse\"\xf4\x05\n\x12MsgUpdateNamespace\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12]\n\twasm_hook\x18\x03 \x01(\x0b\x32@.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetWasmHookR\x08wasmHook\x12\x66\n\x0cmints_paused\x18\x04 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetMintsPausedR\x0bmintsPaused\x12\x66\n\x0csends_paused\x18\x05 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetSendsPausedR\x0bsendsPaused\x12\x66\n\x0c\x62urns_paused\x18\x06 \x01(\x0b\x32\x43.injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetBurnsPausedR\x0b\x62urnsPaused\x1a-\n\x0eMsgSetWasmHook\x12\x1b\n\tnew_value\x18\x01 \x01(\tR\x08newValue\x1a\x30\n\x11MsgSetMintsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue\x1a\x30\n\x11MsgSetSendsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue\x1a\x30\n\x11MsgSetBurnsPaused\x12\x1b\n\tnew_value\x18\x01 \x01(\x08R\x08newValue:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1epermissions/MsgUpdateNamespace\"\x1c\n\x1aMsgUpdateNamespaceResponse\"\xc4\x02\n\x17MsgUpdateNamespaceRoles\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12N\n\x10role_permissions\x18\x03 \x03(\x0b\x32#.injective.permissions.v1beta1.RoleR\x0frolePermissions\x12P\n\raddress_roles\x18\x04 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x0c\x61\x64\x64ressRoles:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#permissions/MsgUpdateNamespaceRoles\"!\n\x1fMsgUpdateNamespaceRolesResponse\"\x86\x02\n\x17MsgRevokeNamespaceRoles\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\'\n\x0fnamespace_denom\x18\x02 \x01(\tR\x0enamespaceDenom\x12\x62\n\x17\x61\x64\x64ress_roles_to_revoke\x18\x03 \x03(\x0b\x32+.injective.permissions.v1beta1.AddressRolesR\x14\x61\x64\x64ressRolesToRevoke:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#permissions/MsgRevokeNamespaceRoles\"!\n\x1fMsgRevokeNamespaceRolesResponse\"\x7f\n\x0fMsgClaimVoucher\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bpermissions/MsgClaimVoucher\"\x19\n\x17MsgClaimVoucherResponse2\xa1\x07\n\x03Msg\x12v\n\x0cUpdateParams\x12..injective.permissions.v1beta1.MsgUpdateParams\x1a\x36.injective.permissions.v1beta1.MsgUpdateParamsResponse\x12\x7f\n\x0f\x43reateNamespace\x12\x31.injective.permissions.v1beta1.MsgCreateNamespace\x1a\x39.injective.permissions.v1beta1.MsgCreateNamespaceResponse\x12\x7f\n\x0f\x44\x65leteNamespace\x12\x31.injective.permissions.v1beta1.MsgDeleteNamespace\x1a\x39.injective.permissions.v1beta1.MsgDeleteNamespaceResponse\x12\x7f\n\x0fUpdateNamespace\x12\x31.injective.permissions.v1beta1.MsgUpdateNamespace\x1a\x39.injective.permissions.v1beta1.MsgUpdateNamespaceResponse\x12\x8e\x01\n\x14UpdateNamespaceRoles\x12\x36.injective.permissions.v1beta1.MsgUpdateNamespaceRoles\x1a>.injective.permissions.v1beta1.MsgUpdateNamespaceRolesResponse\x12\x8e\x01\n\x14RevokeNamespaceRoles\x12\x36.injective.permissions.v1beta1.MsgRevokeNamespaceRoles\x1a>.injective.permissions.v1beta1.MsgRevokeNamespaceRolesResponse\x12v\n\x0c\x43laimVoucher\x12..injective.permissions.v1beta1.MsgClaimVoucher\x1a\x36.injective.permissions.v1beta1.MsgClaimVoucherResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x95\x02\n!com.injective.permissions.v1beta1B\x07TxProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\xa2\x02\x03IPX\xaa\x02\x1dInjective.Permissions.V1beta1\xca\x02\x1dInjective\\Permissions\\V1beta1\xe2\x02)Injective\\Permissions\\V1beta1\\GPBMetadata\xea\x02\x1fInjective::Permissions::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.permissions.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.permissions.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n!com.injective.permissions.v1beta1B\007TxProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*\033permissions/MsgUpdateParams" - ) - _globals["_MSGCREATENAMESPACE"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGCREATENAMESPACE"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' - _globals["_MSGCREATENAMESPACE"].fields_by_name["namespace"]._loaded_options = None - _globals["_MSGCREATENAMESPACE"].fields_by_name["namespace"]._serialized_options = b"\310\336\037\000" - _globals["_MSGCREATENAMESPACE"]._loaded_options = None - _globals["_MSGCREATENAMESPACE"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\036permissions/MsgCreateNamespace" - ) - _globals["_MSGDELETENAMESPACE"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGDELETENAMESPACE"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' - _globals["_MSGDELETENAMESPACE"]._loaded_options = None - _globals["_MSGDELETENAMESPACE"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\036permissions/MsgDeleteNamespace" - ) - _globals["_MSGUPDATENAMESPACE"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGUPDATENAMESPACE"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' - _globals["_MSGUPDATENAMESPACE"]._loaded_options = None - _globals["_MSGUPDATENAMESPACE"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\036permissions/MsgUpdateNamespace" - ) - _globals["_MSGUPDATENAMESPACEROLES"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGUPDATENAMESPACEROLES"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' - _globals["_MSGUPDATENAMESPACEROLES"]._loaded_options = None - _globals["_MSGUPDATENAMESPACEROLES"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*#permissions/MsgUpdateNamespaceRoles" - ) - _globals["_MSGREVOKENAMESPACEROLES"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGREVOKENAMESPACEROLES"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' - _globals["_MSGREVOKENAMESPACEROLES"]._loaded_options = None - _globals["_MSGREVOKENAMESPACEROLES"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*#permissions/MsgRevokeNamespaceRoles" - ) - _globals["_MSGCLAIMVOUCHER"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGCLAIMVOUCHER"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' - _globals["_MSGCLAIMVOUCHER"]._loaded_options = None - _globals["_MSGCLAIMVOUCHER"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\033permissions/MsgClaimVoucher" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGUPDATEPARAMS"]._serialized_start = 324 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 514 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 516 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 541 - _globals["_MSGCREATENAMESPACE"]._serialized_start = 544 - _globals["_MSGCREATENAMESPACE"]._serialized_end = 733 - _globals["_MSGCREATENAMESPACERESPONSE"]._serialized_start = 735 - _globals["_MSGCREATENAMESPACERESPONSE"]._serialized_end = 763 - _globals["_MSGDELETENAMESPACE"]._serialized_start = 766 - _globals["_MSGDELETENAMESPACE"]._serialized_end = 918 - _globals["_MSGDELETENAMESPACERESPONSE"]._serialized_start = 920 - _globals["_MSGDELETENAMESPACERESPONSE"]._serialized_end = 948 - _globals["_MSGUPDATENAMESPACE"]._serialized_start = 951 - _globals["_MSGUPDATENAMESPACE"]._serialized_end = 1707 - _globals["_MSGUPDATENAMESPACE_MSGSETWASMHOOK"]._serialized_start = 1464 - _globals["_MSGUPDATENAMESPACE_MSGSETWASMHOOK"]._serialized_end = 1509 - _globals["_MSGUPDATENAMESPACE_MSGSETMINTSPAUSED"]._serialized_start = 1511 - _globals["_MSGUPDATENAMESPACE_MSGSETMINTSPAUSED"]._serialized_end = 1559 - _globals["_MSGUPDATENAMESPACE_MSGSETSENDSPAUSED"]._serialized_start = 1561 - _globals["_MSGUPDATENAMESPACE_MSGSETSENDSPAUSED"]._serialized_end = 1609 - _globals["_MSGUPDATENAMESPACE_MSGSETBURNSPAUSED"]._serialized_start = 1611 - _globals["_MSGUPDATENAMESPACE_MSGSETBURNSPAUSED"]._serialized_end = 1659 - _globals["_MSGUPDATENAMESPACERESPONSE"]._serialized_start = 1709 - _globals["_MSGUPDATENAMESPACERESPONSE"]._serialized_end = 1737 - _globals["_MSGUPDATENAMESPACEROLES"]._serialized_start = 1740 - _globals["_MSGUPDATENAMESPACEROLES"]._serialized_end = 2064 - _globals["_MSGUPDATENAMESPACEROLESRESPONSE"]._serialized_start = 2066 - _globals["_MSGUPDATENAMESPACEROLESRESPONSE"]._serialized_end = 2099 - _globals["_MSGREVOKENAMESPACEROLES"]._serialized_start = 2102 - _globals["_MSGREVOKENAMESPACEROLES"]._serialized_end = 2364 - _globals["_MSGREVOKENAMESPACEROLESRESPONSE"]._serialized_start = 2366 - _globals["_MSGREVOKENAMESPACEROLESRESPONSE"]._serialized_end = 2399 - _globals["_MSGCLAIMVOUCHER"]._serialized_start = 2401 - _globals["_MSGCLAIMVOUCHER"]._serialized_end = 2528 - _globals["_MSGCLAIMVOUCHERRESPONSE"]._serialized_start = 2530 - _globals["_MSGCLAIMVOUCHERRESPONSE"]._serialized_end = 2555 - _globals["_MSG"]._serialized_start = 2558 - _globals["_MSG"]._serialized_end = 3487 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n!com.injective.permissions.v1beta1B\007TxProtoP\001ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types\242\002\003IPX\252\002\035Injective.Permissions.V1beta1\312\002\035Injective\\Permissions\\V1beta1\342\002)Injective\\Permissions\\V1beta1\\GPBMetadata\352\002\037Injective::Permissions::V1beta1' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\033permissions/MsgUpdateParams' + _globals['_MSGCREATENAMESPACE'].fields_by_name['sender']._loaded_options = None + _globals['_MSGCREATENAMESPACE'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGCREATENAMESPACE'].fields_by_name['namespace']._loaded_options = None + _globals['_MSGCREATENAMESPACE'].fields_by_name['namespace']._serialized_options = b'\310\336\037\000' + _globals['_MSGCREATENAMESPACE']._loaded_options = None + _globals['_MSGCREATENAMESPACE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036permissions/MsgCreateNamespace' + _globals['_MSGDELETENAMESPACE'].fields_by_name['sender']._loaded_options = None + _globals['_MSGDELETENAMESPACE'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGDELETENAMESPACE']._loaded_options = None + _globals['_MSGDELETENAMESPACE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036permissions/MsgDeleteNamespace' + _globals['_MSGUPDATENAMESPACE'].fields_by_name['sender']._loaded_options = None + _globals['_MSGUPDATENAMESPACE'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGUPDATENAMESPACE']._loaded_options = None + _globals['_MSGUPDATENAMESPACE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036permissions/MsgUpdateNamespace' + _globals['_MSGUPDATENAMESPACEROLES'].fields_by_name['sender']._loaded_options = None + _globals['_MSGUPDATENAMESPACEROLES'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGUPDATENAMESPACEROLES']._loaded_options = None + _globals['_MSGUPDATENAMESPACEROLES']._serialized_options = b'\202\347\260*\006sender\212\347\260*#permissions/MsgUpdateNamespaceRoles' + _globals['_MSGREVOKENAMESPACEROLES'].fields_by_name['sender']._loaded_options = None + _globals['_MSGREVOKENAMESPACEROLES'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGREVOKENAMESPACEROLES']._loaded_options = None + _globals['_MSGREVOKENAMESPACEROLES']._serialized_options = b'\202\347\260*\006sender\212\347\260*#permissions/MsgRevokeNamespaceRoles' + _globals['_MSGCLAIMVOUCHER'].fields_by_name['sender']._loaded_options = None + _globals['_MSGCLAIMVOUCHER'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGCLAIMVOUCHER']._loaded_options = None + _globals['_MSGCLAIMVOUCHER']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033permissions/MsgClaimVoucher' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGUPDATEPARAMS']._serialized_start=324 + _globals['_MSGUPDATEPARAMS']._serialized_end=514 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=516 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=541 + _globals['_MSGCREATENAMESPACE']._serialized_start=544 + _globals['_MSGCREATENAMESPACE']._serialized_end=733 + _globals['_MSGCREATENAMESPACERESPONSE']._serialized_start=735 + _globals['_MSGCREATENAMESPACERESPONSE']._serialized_end=763 + _globals['_MSGDELETENAMESPACE']._serialized_start=766 + _globals['_MSGDELETENAMESPACE']._serialized_end=918 + _globals['_MSGDELETENAMESPACERESPONSE']._serialized_start=920 + _globals['_MSGDELETENAMESPACERESPONSE']._serialized_end=948 + _globals['_MSGUPDATENAMESPACE']._serialized_start=951 + _globals['_MSGUPDATENAMESPACE']._serialized_end=1707 + _globals['_MSGUPDATENAMESPACE_MSGSETWASMHOOK']._serialized_start=1464 + _globals['_MSGUPDATENAMESPACE_MSGSETWASMHOOK']._serialized_end=1509 + _globals['_MSGUPDATENAMESPACE_MSGSETMINTSPAUSED']._serialized_start=1511 + _globals['_MSGUPDATENAMESPACE_MSGSETMINTSPAUSED']._serialized_end=1559 + _globals['_MSGUPDATENAMESPACE_MSGSETSENDSPAUSED']._serialized_start=1561 + _globals['_MSGUPDATENAMESPACE_MSGSETSENDSPAUSED']._serialized_end=1609 + _globals['_MSGUPDATENAMESPACE_MSGSETBURNSPAUSED']._serialized_start=1611 + _globals['_MSGUPDATENAMESPACE_MSGSETBURNSPAUSED']._serialized_end=1659 + _globals['_MSGUPDATENAMESPACERESPONSE']._serialized_start=1709 + _globals['_MSGUPDATENAMESPACERESPONSE']._serialized_end=1737 + _globals['_MSGUPDATENAMESPACEROLES']._serialized_start=1740 + _globals['_MSGUPDATENAMESPACEROLES']._serialized_end=2064 + _globals['_MSGUPDATENAMESPACEROLESRESPONSE']._serialized_start=2066 + _globals['_MSGUPDATENAMESPACEROLESRESPONSE']._serialized_end=2099 + _globals['_MSGREVOKENAMESPACEROLES']._serialized_start=2102 + _globals['_MSGREVOKENAMESPACEROLES']._serialized_end=2364 + _globals['_MSGREVOKENAMESPACEROLESRESPONSE']._serialized_start=2366 + _globals['_MSGREVOKENAMESPACEROLESRESPONSE']._serialized_end=2399 + _globals['_MSGCLAIMVOUCHER']._serialized_start=2401 + _globals['_MSGCLAIMVOUCHER']._serialized_end=2528 + _globals['_MSGCLAIMVOUCHERRESPONSE']._serialized_start=2530 + _globals['_MSGCLAIMVOUCHERRESPONSE']._serialized_end=2555 + _globals['_MSG']._serialized_start=2558 + _globals['_MSG']._serialized_end=3487 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py index 204ea89b..dbfc052d 100644 --- a/pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/permissions/v1beta1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the permissions module's gRPC message service.""" + """Msg defines the permissions module's gRPC message service. + """ def __init__(self, channel): """Constructor. @@ -15,159 +16,153 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.UpdateParams = channel.unary_unary( - "/injective.permissions.v1beta1.Msg/UpdateParams", - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/injective.permissions.v1beta1.Msg/UpdateParams', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) self.CreateNamespace = channel.unary_unary( - "/injective.permissions.v1beta1.Msg/CreateNamespace", - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespace.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespaceResponse.FromString, - _registered_method=True, - ) + '/injective.permissions.v1beta1.Msg/CreateNamespace', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespace.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespaceResponse.FromString, + _registered_method=True) self.DeleteNamespace = channel.unary_unary( - "/injective.permissions.v1beta1.Msg/DeleteNamespace", - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespace.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespaceResponse.FromString, - _registered_method=True, - ) + '/injective.permissions.v1beta1.Msg/DeleteNamespace', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespace.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespaceResponse.FromString, + _registered_method=True) self.UpdateNamespace = channel.unary_unary( - "/injective.permissions.v1beta1.Msg/UpdateNamespace", - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespace.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceResponse.FromString, - _registered_method=True, - ) + '/injective.permissions.v1beta1.Msg/UpdateNamespace', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespace.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceResponse.FromString, + _registered_method=True) self.UpdateNamespaceRoles = channel.unary_unary( - "/injective.permissions.v1beta1.Msg/UpdateNamespaceRoles", - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRoles.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRolesResponse.FromString, - _registered_method=True, - ) + '/injective.permissions.v1beta1.Msg/UpdateNamespaceRoles', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRoles.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRolesResponse.FromString, + _registered_method=True) self.RevokeNamespaceRoles = channel.unary_unary( - "/injective.permissions.v1beta1.Msg/RevokeNamespaceRoles", - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRoles.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRolesResponse.FromString, - _registered_method=True, - ) + '/injective.permissions.v1beta1.Msg/RevokeNamespaceRoles', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRoles.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRolesResponse.FromString, + _registered_method=True) self.ClaimVoucher = channel.unary_unary( - "/injective.permissions.v1beta1.Msg/ClaimVoucher", - request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucher.SerializeToString, - response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucherResponse.FromString, - _registered_method=True, - ) + '/injective.permissions.v1beta1.Msg/ClaimVoucher', + request_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucher.SerializeToString, + response_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucherResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the permissions module's gRPC message service.""" + """Msg defines the permissions module's gRPC message service. + """ def UpdateParams(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CreateNamespace(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DeleteNamespace(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateNamespace(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateNamespaceRoles(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RevokeNamespaceRoles(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ClaimVoucher(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - "CreateNamespace": grpc.unary_unary_rpc_method_handler( - servicer.CreateNamespace, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespace.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespaceResponse.SerializeToString, - ), - "DeleteNamespace": grpc.unary_unary_rpc_method_handler( - servicer.DeleteNamespace, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespace.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespaceResponse.SerializeToString, - ), - "UpdateNamespace": grpc.unary_unary_rpc_method_handler( - servicer.UpdateNamespace, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespace.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceResponse.SerializeToString, - ), - "UpdateNamespaceRoles": grpc.unary_unary_rpc_method_handler( - servicer.UpdateNamespaceRoles, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRoles.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRolesResponse.SerializeToString, - ), - "RevokeNamespaceRoles": grpc.unary_unary_rpc_method_handler( - servicer.RevokeNamespaceRoles, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRoles.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRolesResponse.SerializeToString, - ), - "ClaimVoucher": grpc.unary_unary_rpc_method_handler( - servicer.ClaimVoucher, - request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucher.FromString, - response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucherResponse.SerializeToString, - ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'CreateNamespace': grpc.unary_unary_rpc_method_handler( + servicer.CreateNamespace, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespace.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespaceResponse.SerializeToString, + ), + 'DeleteNamespace': grpc.unary_unary_rpc_method_handler( + servicer.DeleteNamespace, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespace.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespaceResponse.SerializeToString, + ), + 'UpdateNamespace': grpc.unary_unary_rpc_method_handler( + servicer.UpdateNamespace, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespace.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceResponse.SerializeToString, + ), + 'UpdateNamespaceRoles': grpc.unary_unary_rpc_method_handler( + servicer.UpdateNamespaceRoles, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRoles.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRolesResponse.SerializeToString, + ), + 'RevokeNamespaceRoles': grpc.unary_unary_rpc_method_handler( + servicer.RevokeNamespaceRoles, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRoles.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRolesResponse.SerializeToString, + ), + 'ClaimVoucher': grpc.unary_unary_rpc_method_handler( + servicer.ClaimVoucher, + request_deserializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucher.FromString, + response_serializer=injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucherResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("injective.permissions.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'injective.permissions.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("injective.permissions.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('injective.permissions.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the permissions module's gRPC message service.""" + """Msg defines the permissions module's gRPC message service. + """ @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.permissions.v1beta1.Msg/UpdateParams", + '/injective.permissions.v1beta1.Msg/UpdateParams', injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -178,26 +173,23 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CreateNamespace( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreateNamespace(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.permissions.v1beta1.Msg/CreateNamespace", + '/injective.permissions.v1beta1.Msg/CreateNamespace', injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespace.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgCreateNamespaceResponse.FromString, options, @@ -208,26 +200,23 @@ def CreateNamespace( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DeleteNamespace( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DeleteNamespace(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.permissions.v1beta1.Msg/DeleteNamespace", + '/injective.permissions.v1beta1.Msg/DeleteNamespace', injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespace.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgDeleteNamespaceResponse.FromString, options, @@ -238,26 +227,23 @@ def DeleteNamespace( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateNamespace( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateNamespace(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.permissions.v1beta1.Msg/UpdateNamespace", + '/injective.permissions.v1beta1.Msg/UpdateNamespace', injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespace.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceResponse.FromString, options, @@ -268,26 +254,23 @@ def UpdateNamespace( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateNamespaceRoles( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateNamespaceRoles(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.permissions.v1beta1.Msg/UpdateNamespaceRoles", + '/injective.permissions.v1beta1.Msg/UpdateNamespaceRoles', injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRoles.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgUpdateNamespaceRolesResponse.FromString, options, @@ -298,26 +281,23 @@ def UpdateNamespaceRoles( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RevokeNamespaceRoles( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RevokeNamespaceRoles(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.permissions.v1beta1.Msg/RevokeNamespaceRoles", + '/injective.permissions.v1beta1.Msg/RevokeNamespaceRoles', injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRoles.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgRevokeNamespaceRolesResponse.FromString, options, @@ -328,26 +308,23 @@ def RevokeNamespaceRoles( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ClaimVoucher( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ClaimVoucher(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.permissions.v1beta1.Msg/ClaimVoucher", + '/injective.permissions.v1beta1.Msg/ClaimVoucher', injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucher.SerializeToString, injective_dot_permissions_dot_v1beta1_dot_tx__pb2.MsgClaimVoucherResponse.FromString, options, @@ -358,5 +335,4 @@ def ClaimVoucher( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/injective/stream/v1beta1/query_pb2.py b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py index b15e114c..e2952511 100644 --- a/pyinjective/proto/injective/stream/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -15,160 +14,128 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.exchange.v1beta1 import ( - events_pb2 as injective_dot_exchange_dot_v1beta1_dot_events__pb2, -) -from pyinjective.proto.injective.exchange.v1beta1 import ( - exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2, -) +from pyinjective.proto.injective.exchange.v1beta1 import events_pb2 as injective_dot_exchange_dot_v1beta1_dot_events__pb2 +from pyinjective.proto.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"\x82\n\n\rStreamRequest\x12\x64\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32,.injective.stream.v1beta1.BankBalancesFilterB\x04\xc8\xde\x1f\x01R\x12\x62\x61nkBalancesFilter\x12v\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32\x32.injective.stream.v1beta1.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01R\x18subaccountDepositsFilter\x12Z\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01R\x10spotTradesFilter\x12\x66\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01R\x16\x64\x65rivativeTradesFilter\x12Z\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01R\x10spotOrdersFilter\x12\x66\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01R\x16\x64\x65rivativeOrdersFilter\x12\x65\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01R\x14spotOrderbooksFilter\x12q\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01R\x1a\x64\x65rivativeOrderbooksFilter\x12Z\n\x10positions_filter\x18\t \x01(\x0b\x32).injective.stream.v1beta1.PositionsFilterB\x04\xc8\xde\x1f\x01R\x0fpositionsFilter\x12\x61\n\x13oracle_price_filter\x18\n \x01(\x0b\x32+.injective.stream.v1beta1.OraclePriceFilterB\x04\xc8\xde\x1f\x01R\x11oraclePriceFilter\x12r\n\x1b\x66ull_spot_orderbooks_filter\x18\x0b \x01(\x0b\x32-.injective.stream.v1beta1.FullOrderbookFilterB\x04\xc8\xde\x1f\x01R\x18\x66ullSpotOrderbooksFilter\x12~\n!full_derivative_orderbooks_filter\x18\x0c \x01(\x0b\x32-.injective.stream.v1beta1.FullOrderbookFilterB\x04\xc8\xde\x1f\x01R\x1e\x66ullDerivativeOrderbooksFilter"\x89\t\n\x0eStreamResponse\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\x12\x1d\n\nblock_time\x18\x02 \x01(\x03R\tblockTime\x12J\n\rbank_balances\x18\x03 \x03(\x0b\x32%.injective.stream.v1beta1.BankBalanceR\x0c\x62\x61nkBalances\x12]\n\x13subaccount_deposits\x18\x04 \x03(\x0b\x32,.injective.stream.v1beta1.SubaccountDepositsR\x12subaccountDeposits\x12\x44\n\x0bspot_trades\x18\x05 \x03(\x0b\x32#.injective.stream.v1beta1.SpotTradeR\nspotTrades\x12V\n\x11\x64\x65rivative_trades\x18\x06 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeTradeR\x10\x64\x65rivativeTrades\x12J\n\x0bspot_orders\x18\x07 \x03(\x0b\x32).injective.stream.v1beta1.SpotOrderUpdateR\nspotOrders\x12\\\n\x11\x64\x65rivative_orders\x18\x08 \x03(\x0b\x32/.injective.stream.v1beta1.DerivativeOrderUpdateR\x10\x64\x65rivativeOrders\x12_\n\x16spot_orderbook_updates\x18\t \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdateR\x14spotOrderbookUpdates\x12k\n\x1c\x64\x65rivative_orderbook_updates\x18\n \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdateR\x1a\x64\x65rivativeOrderbookUpdates\x12@\n\tpositions\x18\x0b \x03(\x0b\x32".injective.stream.v1beta1.PositionR\tpositions\x12J\n\roracle_prices\x18\x0c \x03(\x0b\x32%.injective.stream.v1beta1.OraclePriceR\x0coraclePrices\x12l\n\x1b\x66ull_spot_orderbook_updates\x18\r \x03(\x0b\x32-.injective.stream.v1beta1.FullOrderbookUpdateR\x18\x66ullSpotOrderbookUpdates\x12x\n!full_derivative_orderbook_updates\x18\x0e \x03(\x0b\x32-.injective.stream.v1beta1.FullOrderbookUpdateR\x1e\x66ullDerivativeOrderbookUpdates"n\n\x13\x46ullOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x45\n\torderbook\x18\x02 \x01(\x0b\x32\'.injective.stream.v1beta1.FullOrderbookR\torderbook"f\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x41\n\torderbook\x18\x02 \x01(\x0b\x32#.injective.stream.v1beta1.OrderbookR\torderbook"\xae\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12@\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\tbuyLevels\x12\x42\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\nsellLevels"\xb4\x01\n\rFullOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x04\x62uys\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x62uys\x12\x43\n\x05sells\x18\x03 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x05sells"\x90\x01\n\x0b\x42\x61nkBalance\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12g\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.CoinsR\x08\x62\x61lances"\x88\x01\n\x12SubaccountDeposits\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12M\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32+.injective.stream.v1beta1.SubaccountDepositB\x04\xc8\xde\x1f\x00R\x08\x64\x65posits"n\n\x11SubaccountDeposit\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x43\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit"\xc2\x01\n\x0fSpotOrderUpdate\x12\x43\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatusR\x06status\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12\x39\n\x05order\x18\x04 \x01(\x0b\x32#.injective.stream.v1beta1.SpotOrderR\x05order"p\n\tSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order"\xce\x01\n\x15\x44\x65rivativeOrderUpdate\x12\x43\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatusR\x06status\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12?\n\x05order\x18\x04 \x01(\x0b\x32).injective.stream.v1beta1.DerivativeOrderR\x05order"\x99\x01\n\x0f\x44\x65rivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\x05order\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\x12\x1b\n\tis_market\x18\x03 \x01(\x08R\x08isMarket"\x87\x03\n\x08Position\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x16\n\x06isLong\x18\x03 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12;\n\x06margin\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12]\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16\x63umulativeFundingEntry"t\n\x0bOraclePrice\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type"\xc3\x03\n\tSpotTrade\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12$\n\rexecutionType\x18\x03 \x01(\tR\rexecutionType\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12#\n\rsubaccount_id\x18\x06 \x01(\tR\x0csubaccountId\x12\x35\n\x03\x66\x65\x65\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x08 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\n \x01(\tR\x03\x63id\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId"\xdc\x03\n\x0f\x44\x65rivativeTrade\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12$\n\rexecutionType\x18\x03 \x01(\tR\rexecutionType\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12P\n\x0eposition_delta\x18\x05 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaR\rpositionDelta\x12;\n\x06payout\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout\x12\x35\n\x03\x66\x65\x65\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x08 \x01(\tR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\n \x01(\tR\x03\x63id\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId"T\n\x0cTradesFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds"W\n\x0fPositionsFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds"T\n\x0cOrdersFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds"0\n\x0fOrderbookFilter\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds"4\n\x13\x46ullOrderbookFilter\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds"0\n\x12\x42\x61nkBalancesFilter\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts"A\n\x18SubaccountDepositsFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds"+\n\x11OraclePriceFilter\x12\x16\n\x06symbol\x18\x01 \x03(\tR\x06symbol*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\xf2\x01\n\x1c\x63om.injective.stream.v1beta1B\nQueryProtoP\x01ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/types\xa2\x02\x03ISX\xaa\x02\x18Injective.Stream.V1beta1\xca\x02\x18Injective\\Stream\\V1beta1\xe2\x02$Injective\\Stream\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Stream::V1beta1b\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\"\x82\n\n\rStreamRequest\x12\x64\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32,.injective.stream.v1beta1.BankBalancesFilterB\x04\xc8\xde\x1f\x01R\x12\x62\x61nkBalancesFilter\x12v\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32\x32.injective.stream.v1beta1.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01R\x18subaccountDepositsFilter\x12Z\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01R\x10spotTradesFilter\x12\x66\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01R\x16\x64\x65rivativeTradesFilter\x12Z\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01R\x10spotOrdersFilter\x12\x66\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01R\x16\x64\x65rivativeOrdersFilter\x12\x65\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01R\x14spotOrderbooksFilter\x12q\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01R\x1a\x64\x65rivativeOrderbooksFilter\x12Z\n\x10positions_filter\x18\t \x01(\x0b\x32).injective.stream.v1beta1.PositionsFilterB\x04\xc8\xde\x1f\x01R\x0fpositionsFilter\x12\x61\n\x13oracle_price_filter\x18\n \x01(\x0b\x32+.injective.stream.v1beta1.OraclePriceFilterB\x04\xc8\xde\x1f\x01R\x11oraclePriceFilter\x12r\n\x1b\x66ull_spot_orderbooks_filter\x18\x0b \x01(\x0b\x32-.injective.stream.v1beta1.FullOrderbookFilterB\x04\xc8\xde\x1f\x01R\x18\x66ullSpotOrderbooksFilter\x12~\n!full_derivative_orderbooks_filter\x18\x0c \x01(\x0b\x32-.injective.stream.v1beta1.FullOrderbookFilterB\x04\xc8\xde\x1f\x01R\x1e\x66ullDerivativeOrderbooksFilter\"\x89\t\n\x0eStreamResponse\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\x12\x1d\n\nblock_time\x18\x02 \x01(\x03R\tblockTime\x12J\n\rbank_balances\x18\x03 \x03(\x0b\x32%.injective.stream.v1beta1.BankBalanceR\x0c\x62\x61nkBalances\x12]\n\x13subaccount_deposits\x18\x04 \x03(\x0b\x32,.injective.stream.v1beta1.SubaccountDepositsR\x12subaccountDeposits\x12\x44\n\x0bspot_trades\x18\x05 \x03(\x0b\x32#.injective.stream.v1beta1.SpotTradeR\nspotTrades\x12V\n\x11\x64\x65rivative_trades\x18\x06 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeTradeR\x10\x64\x65rivativeTrades\x12J\n\x0bspot_orders\x18\x07 \x03(\x0b\x32).injective.stream.v1beta1.SpotOrderUpdateR\nspotOrders\x12\\\n\x11\x64\x65rivative_orders\x18\x08 \x03(\x0b\x32/.injective.stream.v1beta1.DerivativeOrderUpdateR\x10\x64\x65rivativeOrders\x12_\n\x16spot_orderbook_updates\x18\t \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdateR\x14spotOrderbookUpdates\x12k\n\x1c\x64\x65rivative_orderbook_updates\x18\n \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdateR\x1a\x64\x65rivativeOrderbookUpdates\x12@\n\tpositions\x18\x0b \x03(\x0b\x32\".injective.stream.v1beta1.PositionR\tpositions\x12J\n\roracle_prices\x18\x0c \x03(\x0b\x32%.injective.stream.v1beta1.OraclePriceR\x0coraclePrices\x12l\n\x1b\x66ull_spot_orderbook_updates\x18\r \x03(\x0b\x32-.injective.stream.v1beta1.FullOrderbookUpdateR\x18\x66ullSpotOrderbookUpdates\x12x\n!full_derivative_orderbook_updates\x18\x0e \x03(\x0b\x32-.injective.stream.v1beta1.FullOrderbookUpdateR\x1e\x66ullDerivativeOrderbookUpdates\"n\n\x13\x46ullOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x45\n\torderbook\x18\x02 \x01(\x0b\x32\'.injective.stream.v1beta1.FullOrderbookR\torderbook\"f\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x41\n\torderbook\x18\x02 \x01(\x0b\x32#.injective.stream.v1beta1.OrderbookR\torderbook\"\xae\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12@\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\tbuyLevels\x12\x42\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\nsellLevels\"\xb4\x01\n\rFullOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x04\x62uys\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x04\x62uys\x12\x43\n\x05sells\x18\x03 \x03(\x0b\x32-.injective.exchange.v1beta1.TrimmedLimitOrderR\x05sells\"\x90\x01\n\x0b\x42\x61nkBalance\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12g\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.CoinsR\x08\x62\x61lances\"\x88\x01\n\x12SubaccountDeposits\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12M\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32+.injective.stream.v1beta1.SubaccountDepositB\x04\xc8\xde\x1f\x00R\x08\x64\x65posits\"n\n\x11SubaccountDeposit\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x43\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit\"\xc2\x01\n\x0fSpotOrderUpdate\x12\x43\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatusR\x06status\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12\x39\n\x05order\x18\x04 \x01(\x0b\x32#.injective.stream.v1beta1.SpotOrderR\x05order\"p\n\tSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\"\xce\x01\n\x15\x44\x65rivativeOrderUpdate\x12\x43\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatusR\x06status\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12?\n\x05order\x18\x04 \x01(\x0b\x32).injective.stream.v1beta1.DerivativeOrderR\x05order\"\x99\x01\n\x0f\x44\x65rivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\x05order\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\x12\x1b\n\tis_market\x18\x03 \x01(\x08R\x08isMarket\"\x87\x03\n\x08Position\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x16\n\x06isLong\x18\x03 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12;\n\x06margin\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12]\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16\x63umulativeFundingEntry\"t\n\x0bOraclePrice\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\"\xc3\x03\n\tSpotTrade\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12$\n\rexecutionType\x18\x03 \x01(\tR\rexecutionType\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12#\n\rsubaccount_id\x18\x06 \x01(\tR\x0csubaccountId\x12\x35\n\x03\x66\x65\x65\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x08 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\n \x01(\tR\x03\x63id\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\"\xdc\x03\n\x0f\x44\x65rivativeTrade\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12$\n\rexecutionType\x18\x03 \x01(\tR\rexecutionType\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12P\n\x0eposition_delta\x18\x05 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDeltaR\rpositionDelta\x12;\n\x06payout\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout\x12\x35\n\x03\x66\x65\x65\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x08 \x01(\tR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\n \x01(\tR\x03\x63id\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\"T\n\x0cTradesFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"W\n\x0fPositionsFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"T\n\x0cOrdersFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"0\n\x0fOrderbookFilter\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"4\n\x13\x46ullOrderbookFilter\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"0\n\x12\x42\x61nkBalancesFilter\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\"A\n\x18SubaccountDepositsFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\"+\n\x11OraclePriceFilter\x12\x16\n\x06symbol\x18\x01 \x03(\tR\x06symbol*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\xf2\x01\n\x1c\x63om.injective.stream.v1beta1B\nQueryProtoP\x01ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/types\xa2\x02\x03ISX\xaa\x02\x18Injective.Stream.V1beta1\xca\x02\x18Injective\\Stream\\V1beta1\xe2\x02$Injective\\Stream\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Stream::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.stream.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.stream.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\034com.injective.stream.v1beta1B\nQueryProtoP\001ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/types\242\002\003ISX\252\002\030Injective.Stream.V1beta1\312\002\030Injective\\Stream\\V1beta1\342\002$Injective\\Stream\\V1beta1\\GPBMetadata\352\002\032Injective::Stream::V1beta1" - ) - _globals["_STREAMREQUEST"].fields_by_name["bank_balances_filter"]._loaded_options = None - _globals["_STREAMREQUEST"].fields_by_name["bank_balances_filter"]._serialized_options = b"\310\336\037\001" - _globals["_STREAMREQUEST"].fields_by_name["subaccount_deposits_filter"]._loaded_options = None - _globals["_STREAMREQUEST"].fields_by_name["subaccount_deposits_filter"]._serialized_options = b"\310\336\037\001" - _globals["_STREAMREQUEST"].fields_by_name["spot_trades_filter"]._loaded_options = None - _globals["_STREAMREQUEST"].fields_by_name["spot_trades_filter"]._serialized_options = b"\310\336\037\001" - _globals["_STREAMREQUEST"].fields_by_name["derivative_trades_filter"]._loaded_options = None - _globals["_STREAMREQUEST"].fields_by_name["derivative_trades_filter"]._serialized_options = b"\310\336\037\001" - _globals["_STREAMREQUEST"].fields_by_name["spot_orders_filter"]._loaded_options = None - _globals["_STREAMREQUEST"].fields_by_name["spot_orders_filter"]._serialized_options = b"\310\336\037\001" - _globals["_STREAMREQUEST"].fields_by_name["derivative_orders_filter"]._loaded_options = None - _globals["_STREAMREQUEST"].fields_by_name["derivative_orders_filter"]._serialized_options = b"\310\336\037\001" - _globals["_STREAMREQUEST"].fields_by_name["spot_orderbooks_filter"]._loaded_options = None - _globals["_STREAMREQUEST"].fields_by_name["spot_orderbooks_filter"]._serialized_options = b"\310\336\037\001" - _globals["_STREAMREQUEST"].fields_by_name["derivative_orderbooks_filter"]._loaded_options = None - _globals["_STREAMREQUEST"].fields_by_name["derivative_orderbooks_filter"]._serialized_options = b"\310\336\037\001" - _globals["_STREAMREQUEST"].fields_by_name["positions_filter"]._loaded_options = None - _globals["_STREAMREQUEST"].fields_by_name["positions_filter"]._serialized_options = b"\310\336\037\001" - _globals["_STREAMREQUEST"].fields_by_name["oracle_price_filter"]._loaded_options = None - _globals["_STREAMREQUEST"].fields_by_name["oracle_price_filter"]._serialized_options = b"\310\336\037\001" - _globals["_STREAMREQUEST"].fields_by_name["full_spot_orderbooks_filter"]._loaded_options = None - _globals["_STREAMREQUEST"].fields_by_name["full_spot_orderbooks_filter"]._serialized_options = b"\310\336\037\001" - _globals["_STREAMREQUEST"].fields_by_name["full_derivative_orderbooks_filter"]._loaded_options = None - _globals["_STREAMREQUEST"].fields_by_name[ - "full_derivative_orderbooks_filter" - ]._serialized_options = b"\310\336\037\001" - _globals["_BANKBALANCE"].fields_by_name["balances"]._loaded_options = None - _globals["_BANKBALANCE"].fields_by_name[ - "balances" - ]._serialized_options = b"\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins" - _globals["_SUBACCOUNTDEPOSITS"].fields_by_name["deposits"]._loaded_options = None - _globals["_SUBACCOUNTDEPOSITS"].fields_by_name["deposits"]._serialized_options = b"\310\336\037\000" - _globals["_SUBACCOUNTDEPOSIT"].fields_by_name["deposit"]._loaded_options = None - _globals["_SUBACCOUNTDEPOSIT"].fields_by_name["deposit"]._serialized_options = b"\310\336\037\000" - _globals["_SPOTORDER"].fields_by_name["order"]._loaded_options = None - _globals["_SPOTORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" - _globals["_DERIVATIVEORDER"].fields_by_name["order"]._loaded_options = None - _globals["_DERIVATIVEORDER"].fields_by_name["order"]._serialized_options = b"\310\336\037\000" - _globals["_POSITION"].fields_by_name["quantity"]._loaded_options = None - _globals["_POSITION"].fields_by_name[ - "quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_POSITION"].fields_by_name["entry_price"]._loaded_options = None - _globals["_POSITION"].fields_by_name[ - "entry_price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_POSITION"].fields_by_name["margin"]._loaded_options = None - _globals["_POSITION"].fields_by_name[ - "margin" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_POSITION"].fields_by_name["cumulative_funding_entry"]._loaded_options = None - _globals["_POSITION"].fields_by_name[ - "cumulative_funding_entry" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_ORACLEPRICE"].fields_by_name["price"]._loaded_options = None - _globals["_ORACLEPRICE"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTTRADE"].fields_by_name["quantity"]._loaded_options = None - _globals["_SPOTTRADE"].fields_by_name[ - "quantity" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTTRADE"].fields_by_name["price"]._loaded_options = None - _globals["_SPOTTRADE"].fields_by_name[ - "price" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTTRADE"].fields_by_name["fee"]._loaded_options = None - _globals["_SPOTTRADE"].fields_by_name[ - "fee" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_SPOTTRADE"].fields_by_name["fee_recipient_address"]._loaded_options = None - _globals["_SPOTTRADE"].fields_by_name["fee_recipient_address"]._serialized_options = b"\310\336\037\001" - _globals["_DERIVATIVETRADE"].fields_by_name["payout"]._loaded_options = None - _globals["_DERIVATIVETRADE"].fields_by_name[ - "payout" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVETRADE"].fields_by_name["fee"]._loaded_options = None - _globals["_DERIVATIVETRADE"].fields_by_name[ - "fee" - ]._serialized_options = b"\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec" - _globals["_DERIVATIVETRADE"].fields_by_name["fee_recipient_address"]._loaded_options = None - _globals["_DERIVATIVETRADE"].fields_by_name["fee_recipient_address"]._serialized_options = b"\310\336\037\001" - _globals["_ORDERUPDATESTATUS"]._serialized_start = 6275 - _globals["_ORDERUPDATESTATUS"]._serialized_end = 6351 - _globals["_STREAMREQUEST"]._serialized_start = 205 - _globals["_STREAMREQUEST"]._serialized_end = 1487 - _globals["_STREAMRESPONSE"]._serialized_start = 1490 - _globals["_STREAMRESPONSE"]._serialized_end = 2651 - _globals["_FULLORDERBOOKUPDATE"]._serialized_start = 2653 - _globals["_FULLORDERBOOKUPDATE"]._serialized_end = 2763 - _globals["_ORDERBOOKUPDATE"]._serialized_start = 2765 - _globals["_ORDERBOOKUPDATE"]._serialized_end = 2867 - _globals["_ORDERBOOK"]._serialized_start = 2870 - _globals["_ORDERBOOK"]._serialized_end = 3044 - _globals["_FULLORDERBOOK"]._serialized_start = 3047 - _globals["_FULLORDERBOOK"]._serialized_end = 3227 - _globals["_BANKBALANCE"]._serialized_start = 3230 - _globals["_BANKBALANCE"]._serialized_end = 3374 - _globals["_SUBACCOUNTDEPOSITS"]._serialized_start = 3377 - _globals["_SUBACCOUNTDEPOSITS"]._serialized_end = 3513 - _globals["_SUBACCOUNTDEPOSIT"]._serialized_start = 3515 - _globals["_SUBACCOUNTDEPOSIT"]._serialized_end = 3625 - _globals["_SPOTORDERUPDATE"]._serialized_start = 3628 - _globals["_SPOTORDERUPDATE"]._serialized_end = 3822 - _globals["_SPOTORDER"]._serialized_start = 3824 - _globals["_SPOTORDER"]._serialized_end = 3936 - _globals["_DERIVATIVEORDERUPDATE"]._serialized_start = 3939 - _globals["_DERIVATIVEORDERUPDATE"]._serialized_end = 4145 - _globals["_DERIVATIVEORDER"]._serialized_start = 4148 - _globals["_DERIVATIVEORDER"]._serialized_end = 4301 - _globals["_POSITION"]._serialized_start = 4304 - _globals["_POSITION"]._serialized_end = 4695 - _globals["_ORACLEPRICE"]._serialized_start = 4697 - _globals["_ORACLEPRICE"]._serialized_end = 4813 - _globals["_SPOTTRADE"]._serialized_start = 4816 - _globals["_SPOTTRADE"]._serialized_end = 5267 - _globals["_DERIVATIVETRADE"]._serialized_start = 5270 - _globals["_DERIVATIVETRADE"]._serialized_end = 5746 - _globals["_TRADESFILTER"]._serialized_start = 5748 - _globals["_TRADESFILTER"]._serialized_end = 5832 - _globals["_POSITIONSFILTER"]._serialized_start = 5834 - _globals["_POSITIONSFILTER"]._serialized_end = 5921 - _globals["_ORDERSFILTER"]._serialized_start = 5923 - _globals["_ORDERSFILTER"]._serialized_end = 6007 - _globals["_ORDERBOOKFILTER"]._serialized_start = 6009 - _globals["_ORDERBOOKFILTER"]._serialized_end = 6057 - _globals["_FULLORDERBOOKFILTER"]._serialized_start = 6059 - _globals["_FULLORDERBOOKFILTER"]._serialized_end = 6111 - _globals["_BANKBALANCESFILTER"]._serialized_start = 6113 - _globals["_BANKBALANCESFILTER"]._serialized_end = 6161 - _globals["_SUBACCOUNTDEPOSITSFILTER"]._serialized_start = 6163 - _globals["_SUBACCOUNTDEPOSITSFILTER"]._serialized_end = 6228 - _globals["_ORACLEPRICEFILTER"]._serialized_start = 6230 - _globals["_ORACLEPRICEFILTER"]._serialized_end = 6273 - _globals["_STREAM"]._serialized_start = 6353 - _globals["_STREAM"]._serialized_end = 6456 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.injective.stream.v1beta1B\nQueryProtoP\001ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/types\242\002\003ISX\252\002\030Injective.Stream.V1beta1\312\002\030Injective\\Stream\\V1beta1\342\002$Injective\\Stream\\V1beta1\\GPBMetadata\352\002\032Injective::Stream::V1beta1' + _globals['_STREAMREQUEST'].fields_by_name['bank_balances_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['bank_balances_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['subaccount_deposits_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['subaccount_deposits_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['spot_trades_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['spot_trades_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['derivative_trades_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['derivative_trades_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['spot_orders_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['spot_orders_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['derivative_orders_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['derivative_orders_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['spot_orderbooks_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['spot_orderbooks_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['derivative_orderbooks_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['derivative_orderbooks_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['positions_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['positions_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['oracle_price_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['oracle_price_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['full_spot_orderbooks_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['full_spot_orderbooks_filter']._serialized_options = b'\310\336\037\001' + _globals['_STREAMREQUEST'].fields_by_name['full_derivative_orderbooks_filter']._loaded_options = None + _globals['_STREAMREQUEST'].fields_by_name['full_derivative_orderbooks_filter']._serialized_options = b'\310\336\037\001' + _globals['_BANKBALANCE'].fields_by_name['balances']._loaded_options = None + _globals['_BANKBALANCE'].fields_by_name['balances']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_SUBACCOUNTDEPOSITS'].fields_by_name['deposits']._loaded_options = None + _globals['_SUBACCOUNTDEPOSITS'].fields_by_name['deposits']._serialized_options = b'\310\336\037\000' + _globals['_SUBACCOUNTDEPOSIT'].fields_by_name['deposit']._loaded_options = None + _globals['_SUBACCOUNTDEPOSIT'].fields_by_name['deposit']._serialized_options = b'\310\336\037\000' + _globals['_SPOTORDER'].fields_by_name['order']._loaded_options = None + _globals['_SPOTORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_DERIVATIVEORDER'].fields_by_name['order']._loaded_options = None + _globals['_DERIVATIVEORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' + _globals['_POSITION'].fields_by_name['quantity']._loaded_options = None + _globals['_POSITION'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITION'].fields_by_name['entry_price']._loaded_options = None + _globals['_POSITION'].fields_by_name['entry_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITION'].fields_by_name['margin']._loaded_options = None + _globals['_POSITION'].fields_by_name['margin']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_POSITION'].fields_by_name['cumulative_funding_entry']._loaded_options = None + _globals['_POSITION'].fields_by_name['cumulative_funding_entry']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_ORACLEPRICE'].fields_by_name['price']._loaded_options = None + _globals['_ORACLEPRICE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTTRADE'].fields_by_name['quantity']._loaded_options = None + _globals['_SPOTTRADE'].fields_by_name['quantity']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTTRADE'].fields_by_name['price']._loaded_options = None + _globals['_SPOTTRADE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTTRADE'].fields_by_name['fee']._loaded_options = None + _globals['_SPOTTRADE'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_SPOTTRADE'].fields_by_name['fee_recipient_address']._loaded_options = None + _globals['_SPOTTRADE'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' + _globals['_DERIVATIVETRADE'].fields_by_name['payout']._loaded_options = None + _globals['_DERIVATIVETRADE'].fields_by_name['payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVETRADE'].fields_by_name['fee']._loaded_options = None + _globals['_DERIVATIVETRADE'].fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_DERIVATIVETRADE'].fields_by_name['fee_recipient_address']._loaded_options = None + _globals['_DERIVATIVETRADE'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' + _globals['_ORDERUPDATESTATUS']._serialized_start=6275 + _globals['_ORDERUPDATESTATUS']._serialized_end=6351 + _globals['_STREAMREQUEST']._serialized_start=205 + _globals['_STREAMREQUEST']._serialized_end=1487 + _globals['_STREAMRESPONSE']._serialized_start=1490 + _globals['_STREAMRESPONSE']._serialized_end=2651 + _globals['_FULLORDERBOOKUPDATE']._serialized_start=2653 + _globals['_FULLORDERBOOKUPDATE']._serialized_end=2763 + _globals['_ORDERBOOKUPDATE']._serialized_start=2765 + _globals['_ORDERBOOKUPDATE']._serialized_end=2867 + _globals['_ORDERBOOK']._serialized_start=2870 + _globals['_ORDERBOOK']._serialized_end=3044 + _globals['_FULLORDERBOOK']._serialized_start=3047 + _globals['_FULLORDERBOOK']._serialized_end=3227 + _globals['_BANKBALANCE']._serialized_start=3230 + _globals['_BANKBALANCE']._serialized_end=3374 + _globals['_SUBACCOUNTDEPOSITS']._serialized_start=3377 + _globals['_SUBACCOUNTDEPOSITS']._serialized_end=3513 + _globals['_SUBACCOUNTDEPOSIT']._serialized_start=3515 + _globals['_SUBACCOUNTDEPOSIT']._serialized_end=3625 + _globals['_SPOTORDERUPDATE']._serialized_start=3628 + _globals['_SPOTORDERUPDATE']._serialized_end=3822 + _globals['_SPOTORDER']._serialized_start=3824 + _globals['_SPOTORDER']._serialized_end=3936 + _globals['_DERIVATIVEORDERUPDATE']._serialized_start=3939 + _globals['_DERIVATIVEORDERUPDATE']._serialized_end=4145 + _globals['_DERIVATIVEORDER']._serialized_start=4148 + _globals['_DERIVATIVEORDER']._serialized_end=4301 + _globals['_POSITION']._serialized_start=4304 + _globals['_POSITION']._serialized_end=4695 + _globals['_ORACLEPRICE']._serialized_start=4697 + _globals['_ORACLEPRICE']._serialized_end=4813 + _globals['_SPOTTRADE']._serialized_start=4816 + _globals['_SPOTTRADE']._serialized_end=5267 + _globals['_DERIVATIVETRADE']._serialized_start=5270 + _globals['_DERIVATIVETRADE']._serialized_end=5746 + _globals['_TRADESFILTER']._serialized_start=5748 + _globals['_TRADESFILTER']._serialized_end=5832 + _globals['_POSITIONSFILTER']._serialized_start=5834 + _globals['_POSITIONSFILTER']._serialized_end=5921 + _globals['_ORDERSFILTER']._serialized_start=5923 + _globals['_ORDERSFILTER']._serialized_end=6007 + _globals['_ORDERBOOKFILTER']._serialized_start=6009 + _globals['_ORDERBOOKFILTER']._serialized_end=6057 + _globals['_FULLORDERBOOKFILTER']._serialized_start=6059 + _globals['_FULLORDERBOOKFILTER']._serialized_end=6111 + _globals['_BANKBALANCESFILTER']._serialized_start=6113 + _globals['_BANKBALANCESFILTER']._serialized_end=6161 + _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_start=6163 + _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_end=6228 + _globals['_ORACLEPRICEFILTER']._serialized_start=6230 + _globals['_ORACLEPRICEFILTER']._serialized_end=6273 + _globals['_STREAM']._serialized_start=6353 + _globals['_STREAM']._serialized_end=6456 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py index e93cc19c..d60a571a 100644 --- a/pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/injective/stream/v1beta1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class StreamStub(object): - """ChainStream defines the gRPC streaming service.""" + """ChainStream defines the gRPC streaming service. + """ def __init__(self, channel): """Constructor. @@ -15,57 +16,57 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Stream = channel.unary_stream( - "/injective.stream.v1beta1.Stream/Stream", - request_serializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamRequest.SerializeToString, - response_deserializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamResponse.FromString, - _registered_method=True, - ) + '/injective.stream.v1beta1.Stream/Stream', + request_serializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamRequest.SerializeToString, + response_deserializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamResponse.FromString, + _registered_method=True) class StreamServicer(object): - """ChainStream defines the gRPC streaming service.""" + """ChainStream defines the gRPC streaming service. + """ def Stream(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_StreamServicer_to_server(servicer, server): rpc_method_handlers = { - "Stream": grpc.unary_stream_rpc_method_handler( - servicer.Stream, - request_deserializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamRequest.FromString, - response_serializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamResponse.SerializeToString, - ), + 'Stream': grpc.unary_stream_rpc_method_handler( + servicer.Stream, + request_deserializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamRequest.FromString, + response_serializer=injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("injective.stream.v1beta1.Stream", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'injective.stream.v1beta1.Stream', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("injective.stream.v1beta1.Stream", rpc_method_handlers) + server.add_registered_method_handlers('injective.stream.v1beta1.Stream', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Stream(object): - """ChainStream defines the gRPC streaming service.""" + """ChainStream defines the gRPC streaming service. + """ @staticmethod - def Stream( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Stream(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, - "/injective.stream.v1beta1.Stream/Stream", + '/injective.stream.v1beta1.Stream/Stream', injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamRequest.SerializeToString, injective_dot_stream_dot_v1beta1_dot_query__pb2.StreamResponse.FromString, options, @@ -76,5 +77,4 @@ def Stream( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py index d241e3a0..00205780 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,22 +16,18 @@ from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n6injective/tokenfactory/v1beta1/authorityMetadata.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"F\n\x16\x44\x65nomAuthorityMetadata\x12&\n\x05\x61\x64min\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:"admin"R\x05\x61\x64min:\x04\xe8\xa0\x1f\x01\x42\xaa\x02\n"com.injective.tokenfactory.v1beta1B\x16\x41uthorityMetadataProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6injective/tokenfactory/v1beta1/authorityMetadata.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"F\n\x16\x44\x65nomAuthorityMetadata\x12&\n\x05\x61\x64min\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"admin\"R\x05\x61\x64min:\x04\xe8\xa0\x1f\x01\x42\xaa\x02\n\"com.injective.tokenfactory.v1beta1B\x16\x41uthorityMetadataProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.tokenfactory.v1beta1.authorityMetadata_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.authorityMetadata_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n"com.injective.tokenfactory.v1beta1B\026AuthorityMetadataProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - ) - _globals["_DENOMAUTHORITYMETADATA"].fields_by_name["admin"]._loaded_options = None - _globals["_DENOMAUTHORITYMETADATA"].fields_by_name["admin"]._serialized_options = b'\362\336\037\014yaml:"admin"' - _globals["_DENOMAUTHORITYMETADATA"]._loaded_options = None - _globals["_DENOMAUTHORITYMETADATA"]._serialized_options = b"\350\240\037\001" - _globals["_DENOMAUTHORITYMETADATA"]._serialized_start = 144 - _globals["_DENOMAUTHORITYMETADATA"]._serialized_end = 214 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\026AuthorityMetadataProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + _globals['_DENOMAUTHORITYMETADATA'].fields_by_name['admin']._loaded_options = None + _globals['_DENOMAUTHORITYMETADATA'].fields_by_name['admin']._serialized_options = b'\362\336\037\014yaml:\"admin\"' + _globals['_DENOMAUTHORITYMETADATA']._loaded_options = None + _globals['_DENOMAUTHORITYMETADATA']._serialized_options = b'\350\240\037\001' + _globals['_DENOMAUTHORITYMETADATA']._serialized_start=144 + _globals['_DENOMAUTHORITYMETADATA']._serialized_end=214 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2_grpc.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/authorityMetadata_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py index c7ffc815..8ef8bf5c 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,37 +15,31 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import ( - authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2, -) +from pyinjective.proto.injective.tokenfactory.v1beta1 import authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n+injective/tokenfactory/v1beta1/events.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto"D\n\x12\x45ventCreateTFDenom\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom"x\n\x10\x45ventMintTFDenom\x12+\n\x11recipient_address\x18\x01 \x01(\tR\x10recipientAddress\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"p\n\x0e\x45ventBurnDenom\x12%\n\x0e\x62urner_address\x18\x01 \x01(\tR\rburnerAddress\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount"V\n\x12\x45ventChangeTFAdmin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12*\n\x11new_admin_address\x18\x02 \x01(\tR\x0fnewAdminAddress"p\n\x17\x45ventSetTFDenomMetadata\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12?\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x04\xc8\xde\x1f\x00R\x08metadataB\x9f\x02\n"com.injective.tokenfactory.v1beta1B\x0b\x45ventsProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+injective/tokenfactory/v1beta1/events.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\"D\n\x12\x45ventCreateTFDenom\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\"x\n\x10\x45ventMintTFDenom\x12+\n\x11recipient_address\x18\x01 \x01(\tR\x10recipientAddress\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"p\n\x0e\x45ventBurnDenom\x12%\n\x0e\x62urner_address\x18\x01 \x01(\tR\rburnerAddress\x12\x37\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"V\n\x12\x45ventChangeTFAdmin\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12*\n\x11new_admin_address\x18\x02 \x01(\tR\x0fnewAdminAddress\"p\n\x17\x45ventSetTFDenomMetadata\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12?\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x04\xc8\xde\x1f\x00R\x08metadataB\x9f\x02\n\"com.injective.tokenfactory.v1beta1B\x0b\x45ventsProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.tokenfactory.v1beta1.events_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.events_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n"com.injective.tokenfactory.v1beta1B\013EventsProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - ) - _globals["_EVENTMINTTFDENOM"].fields_by_name["amount"]._loaded_options = None - _globals["_EVENTMINTTFDENOM"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTBURNDENOM"].fields_by_name["amount"]._loaded_options = None - _globals["_EVENTBURNDENOM"].fields_by_name["amount"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTSETTFDENOMMETADATA"].fields_by_name["metadata"]._loaded_options = None - _globals["_EVENTSETTFDENOMMETADATA"].fields_by_name["metadata"]._serialized_options = b"\310\336\037\000" - _globals["_EVENTCREATETFDENOM"]._serialized_start = 221 - _globals["_EVENTCREATETFDENOM"]._serialized_end = 289 - _globals["_EVENTMINTTFDENOM"]._serialized_start = 291 - _globals["_EVENTMINTTFDENOM"]._serialized_end = 411 - _globals["_EVENTBURNDENOM"]._serialized_start = 413 - _globals["_EVENTBURNDENOM"]._serialized_end = 525 - _globals["_EVENTCHANGETFADMIN"]._serialized_start = 527 - _globals["_EVENTCHANGETFADMIN"]._serialized_end = 613 - _globals["_EVENTSETTFDENOMMETADATA"]._serialized_start = 615 - _globals["_EVENTSETTFDENOMMETADATA"]._serialized_end = 727 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\013EventsProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + _globals['_EVENTMINTTFDENOM'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTMINTTFDENOM'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_EVENTBURNDENOM'].fields_by_name['amount']._loaded_options = None + _globals['_EVENTBURNDENOM'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_EVENTSETTFDENOMMETADATA'].fields_by_name['metadata']._loaded_options = None + _globals['_EVENTSETTFDENOMMETADATA'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000' + _globals['_EVENTCREATETFDENOM']._serialized_start=221 + _globals['_EVENTCREATETFDENOM']._serialized_end=289 + _globals['_EVENTMINTTFDENOM']._serialized_start=291 + _globals['_EVENTMINTTFDENOM']._serialized_end=411 + _globals['_EVENTBURNDENOM']._serialized_start=413 + _globals['_EVENTBURNDENOM']._serialized_end=525 + _globals['_EVENTCHANGETFADMIN']._serialized_start=527 + _globals['_EVENTCHANGETFADMIN']._serialized_end=613 + _globals['_EVENTSETTFDENOMMETADATA']._serialized_start=615 + _globals['_EVENTSETTFDENOMMETADATA']._serialized_end=727 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2_grpc.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/events_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py index 9133b06a..8dfd3aac 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2.py @@ -7,55 +7,42 @@ 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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import ( - authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2, -) -from pyinjective.proto.injective.tokenfactory.v1beta1 import ( - params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2, -) +from pyinjective.proto.injective.tokenfactory.v1beta1 import authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n,injective/tokenfactory/v1beta1/genesis.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a+injective/tokenfactory/v1beta1/params.proto"\xc8\x01\n\x0cGenesisState\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12r\n\x0e\x66\x61\x63tory_denoms\x18\x02 \x03(\x0b\x32,.injective.tokenfactory.v1beta1.GenesisDenomB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:"factory_denoms"R\rfactoryDenoms"\xc8\x02\n\x0cGenesisDenom\x12&\n\x05\x64\x65nom\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:"denom"R\x05\x64\x65nom\x12\x88\x01\n\x12\x61uthority_metadata\x18\x02 \x01(\x0b\x32\x36.injective.tokenfactory.v1beta1.DenomAuthorityMetadataB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:"authority_metadata"R\x11\x61uthorityMetadata\x12#\n\x04name\x18\x03 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:"name"R\x04name\x12)\n\x06symbol\x18\x04 \x01(\tB\x11\xf2\xde\x1f\ryaml:"symbol"R\x06symbol\x12/\n\x08\x64\x65\x63imals\x18\x05 \x01(\rB\x13\xf2\xde\x1f\x0fyaml:"decimals"R\x08\x64\x65\x63imals:\x04\xe8\xa0\x1f\x01\x42\xa0\x02\n"com.injective.tokenfactory.v1beta1B\x0cGenesisProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,injective/tokenfactory/v1beta1/genesis.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a+injective/tokenfactory/v1beta1/params.proto\"\xc8\x01\n\x0cGenesisState\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12r\n\x0e\x66\x61\x63tory_denoms\x18\x02 \x03(\x0b\x32,.injective.tokenfactory.v1beta1.GenesisDenomB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"factory_denoms\"R\rfactoryDenoms\"\xc8\x02\n\x0cGenesisDenom\x12&\n\x05\x64\x65nom\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"R\x05\x64\x65nom\x12\x88\x01\n\x12\x61uthority_metadata\x18\x02 \x01(\x0b\x32\x36.injective.tokenfactory.v1beta1.DenomAuthorityMetadataB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"authority_metadata\"R\x11\x61uthorityMetadata\x12#\n\x04name\x18\x03 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:\"name\"R\x04name\x12)\n\x06symbol\x18\x04 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"symbol\"R\x06symbol\x12/\n\x08\x64\x65\x63imals\x18\x05 \x01(\rB\x13\xf2\xde\x1f\x0fyaml:\"decimals\"R\x08\x64\x65\x63imals:\x04\xe8\xa0\x1f\x01\x42\xa0\x02\n\"com.injective.tokenfactory.v1beta1B\x0cGenesisProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.tokenfactory.v1beta1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n"com.injective.tokenfactory.v1beta1B\014GenesisProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - ) - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["factory_denoms"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name[ - "factory_denoms" - ]._serialized_options = b'\310\336\037\000\362\336\037\025yaml:"factory_denoms"' - _globals["_GENESISDENOM"].fields_by_name["denom"]._loaded_options = None - _globals["_GENESISDENOM"].fields_by_name["denom"]._serialized_options = b'\362\336\037\014yaml:"denom"' - _globals["_GENESISDENOM"].fields_by_name["authority_metadata"]._loaded_options = None - _globals["_GENESISDENOM"].fields_by_name[ - "authority_metadata" - ]._serialized_options = b'\310\336\037\000\362\336\037\031yaml:"authority_metadata"' - _globals["_GENESISDENOM"].fields_by_name["name"]._loaded_options = None - _globals["_GENESISDENOM"].fields_by_name["name"]._serialized_options = b'\362\336\037\013yaml:"name"' - _globals["_GENESISDENOM"].fields_by_name["symbol"]._loaded_options = None - _globals["_GENESISDENOM"].fields_by_name["symbol"]._serialized_options = b'\362\336\037\ryaml:"symbol"' - _globals["_GENESISDENOM"].fields_by_name["decimals"]._loaded_options = None - _globals["_GENESISDENOM"].fields_by_name["decimals"]._serialized_options = b'\362\336\037\017yaml:"decimals"' - _globals["_GENESISDENOM"]._loaded_options = None - _globals["_GENESISDENOM"]._serialized_options = b"\350\240\037\001" - _globals["_GENESISSTATE"]._serialized_start = 204 - _globals["_GENESISSTATE"]._serialized_end = 404 - _globals["_GENESISDENOM"]._serialized_start = 407 - _globals["_GENESISDENOM"]._serialized_end = 735 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\014GenesisProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['factory_denoms']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['factory_denoms']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"factory_denoms\"' + _globals['_GENESISDENOM'].fields_by_name['denom']._loaded_options = None + _globals['_GENESISDENOM'].fields_by_name['denom']._serialized_options = b'\362\336\037\014yaml:\"denom\"' + _globals['_GENESISDENOM'].fields_by_name['authority_metadata']._loaded_options = None + _globals['_GENESISDENOM'].fields_by_name['authority_metadata']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"authority_metadata\"' + _globals['_GENESISDENOM'].fields_by_name['name']._loaded_options = None + _globals['_GENESISDENOM'].fields_by_name['name']._serialized_options = b'\362\336\037\013yaml:\"name\"' + _globals['_GENESISDENOM'].fields_by_name['symbol']._loaded_options = None + _globals['_GENESISDENOM'].fields_by_name['symbol']._serialized_options = b'\362\336\037\ryaml:\"symbol\"' + _globals['_GENESISDENOM'].fields_by_name['decimals']._loaded_options = None + _globals['_GENESISDENOM'].fields_by_name['decimals']._serialized_options = b'\362\336\037\017yaml:\"decimals\"' + _globals['_GENESISDENOM']._loaded_options = None + _globals['_GENESISDENOM']._serialized_options = b'\350\240\037\001' + _globals['_GENESISSTATE']._serialized_start=204 + _globals['_GENESISSTATE']._serialized_end=404 + _globals['_GENESISDENOM']._serialized_start=407 + _globals['_GENESISDENOM']._serialized_end=735 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2_grpc.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/genesis_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py index 0f799b86..a234316c 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2.py @@ -7,39 +7,30 @@ 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 pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import ( - authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2, -) +from pyinjective.proto.injective.tokenfactory.v1beta1 import authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n+injective/tokenfactory/v1beta1/params.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto"\xc5\x01\n\x06Params\x12\x96\x01\n\x12\x64\x65nom_creation_fee\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBM\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:"denom_creation_fee"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x10\x64\x65nomCreationFee:"\x8a\xe7\xb0*\x1dinjective/tokenfactory/ParamsB\x9f\x02\n"com.injective.tokenfactory.v1beta1B\x0bParamsProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+injective/tokenfactory/v1beta1/params.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"\xc5\x01\n\x06Params\x12\x96\x01\n\x12\x64\x65nom_creation_fee\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBM\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"denom_creation_fee\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x10\x64\x65nomCreationFee:\"\x8a\xe7\xb0*\x1dinjective/tokenfactory/ParamsB\x9f\x02\n\"com.injective.tokenfactory.v1beta1B\x0bParamsProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.tokenfactory.v1beta1.params_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.params_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n"com.injective.tokenfactory.v1beta1B\013ParamsProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - ) - _globals["_PARAMS"].fields_by_name["denom_creation_fee"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "denom_creation_fee" - ]._serialized_options = b'\310\336\037\000\362\336\037\031yaml:"denom_creation_fee"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' - _globals["_PARAMS"]._loaded_options = None - _globals["_PARAMS"]._serialized_options = b"\212\347\260*\035injective/tokenfactory/Params" - _globals["_PARAMS"]._serialized_start = 236 - _globals["_PARAMS"]._serialized_end = 433 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\013ParamsProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + _globals['_PARAMS'].fields_by_name['denom_creation_fee']._loaded_options = None + _globals['_PARAMS'].fields_by_name['denom_creation_fee']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"denom_creation_fee\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\212\347\260*\035injective/tokenfactory/Params' + _globals['_PARAMS']._serialized_start=236 + _globals['_PARAMS']._serialized_end=433 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2_grpc.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/params_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py index d5acbe83..047ca535 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -15,88 +14,56 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from pyinjective.proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from pyinjective.proto.cosmos.base.query.v1beta1 import ( - pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2, -) -from pyinjective.proto.injective.tokenfactory.v1beta1 import ( - authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2, -) -from pyinjective.proto.injective.tokenfactory.v1beta1 import ( - params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2, -) -from pyinjective.proto.injective.tokenfactory.v1beta1 import ( - genesis_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_genesis__pb2, -) +from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import authorityMetadata_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_authorityMetadata__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2 +from pyinjective.proto.injective.tokenfactory.v1beta1 import genesis_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_genesis__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n*injective/tokenfactory/v1beta1/query.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a+injective/tokenfactory/v1beta1/params.proto\x1a,injective/tokenfactory/v1beta1/genesis.proto"\x14\n\x12QueryParamsRequest"[\n\x13QueryParamsResponse\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\x83\x01\n"QueryDenomAuthorityMetadataRequest\x12*\n\x07\x63reator\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:"denom"R\x07\x63reator\x12\x31\n\tsub_denom\x18\x02 \x01(\tB\x14\xf2\xde\x1f\x10yaml:"sub_denom"R\x08subDenom"\xb0\x01\n#QueryDenomAuthorityMetadataResponse\x12\x88\x01\n\x12\x61uthority_metadata\x18\x01 \x01(\x0b\x32\x36.injective.tokenfactory.v1beta1.DenomAuthorityMetadataB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:"authority_metadata"R\x11\x61uthorityMetadata"M\n\x1dQueryDenomsFromCreatorRequest\x12,\n\x07\x63reator\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:"creator"R\x07\x63reator"K\n\x1eQueryDenomsFromCreatorResponse\x12)\n\x06\x64\x65noms\x18\x01 \x03(\tB\x11\xf2\xde\x1f\ryaml:"denoms"R\x06\x64\x65noms"\x19\n\x17QueryModuleStateRequest"^\n\x18QueryModuleStateResponse\x12\x42\n\x05state\x18\x01 \x01(\x0b\x32,.injective.tokenfactory.v1beta1.GenesisStateR\x05state2\xc9\x06\n\x05Query\x12\xa1\x01\n\x06Params\x12\x32.injective.tokenfactory.v1beta1.QueryParamsRequest\x1a\x33.injective.tokenfactory.v1beta1.QueryParamsResponse".\x82\xd3\xe4\x93\x02(\x12&/injective/tokenfactory/v1beta1/params\x12\xfa\x01\n\x16\x44\x65nomAuthorityMetadata\x12\x42.injective.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest\x1a\x43.injective.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse"W\x82\xd3\xe4\x93\x02Q\x12O/injective/tokenfactory/v1beta1/denoms/{creator}/{sub_denom}/authority_metadata\x12\xd9\x01\n\x11\x44\x65nomsFromCreator\x12=.injective.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest\x1a>.injective.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse"E\x82\xd3\xe4\x93\x02?\x12=/injective/tokenfactory/v1beta1/denoms_from_creator/{creator}\x12\xc2\x01\n\x17TokenfactoryModuleState\x12\x37.injective.tokenfactory.v1beta1.QueryModuleStateRequest\x1a\x38.injective.tokenfactory.v1beta1.QueryModuleStateResponse"4\x82\xd3\xe4\x93\x02.\x12,/injective/tokenfactory/v1beta1/module_stateB\x9e\x02\n"com.injective.tokenfactory.v1beta1B\nQueryProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*injective/tokenfactory/v1beta1/query.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x36injective/tokenfactory/v1beta1/authorityMetadata.proto\x1a+injective/tokenfactory/v1beta1/params.proto\x1a,injective/tokenfactory/v1beta1/genesis.proto\"\x14\n\x12QueryParamsRequest\"[\n\x13QueryParamsResponse\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x83\x01\n\"QueryDenomAuthorityMetadataRequest\x12*\n\x07\x63reator\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"R\x07\x63reator\x12\x31\n\tsub_denom\x18\x02 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"sub_denom\"R\x08subDenom\"\xb0\x01\n#QueryDenomAuthorityMetadataResponse\x12\x88\x01\n\x12\x61uthority_metadata\x18\x01 \x01(\x0b\x32\x36.injective.tokenfactory.v1beta1.DenomAuthorityMetadataB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"authority_metadata\"R\x11\x61uthorityMetadata\"M\n\x1dQueryDenomsFromCreatorRequest\x12,\n\x07\x63reator\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"creator\"R\x07\x63reator\"K\n\x1eQueryDenomsFromCreatorResponse\x12)\n\x06\x64\x65noms\x18\x01 \x03(\tB\x11\xf2\xde\x1f\ryaml:\"denoms\"R\x06\x64\x65noms\"\x19\n\x17QueryModuleStateRequest\"^\n\x18QueryModuleStateResponse\x12\x42\n\x05state\x18\x01 \x01(\x0b\x32,.injective.tokenfactory.v1beta1.GenesisStateR\x05state2\xc9\x06\n\x05Query\x12\xa1\x01\n\x06Params\x12\x32.injective.tokenfactory.v1beta1.QueryParamsRequest\x1a\x33.injective.tokenfactory.v1beta1.QueryParamsResponse\".\x82\xd3\xe4\x93\x02(\x12&/injective/tokenfactory/v1beta1/params\x12\xfa\x01\n\x16\x44\x65nomAuthorityMetadata\x12\x42.injective.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest\x1a\x43.injective.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse\"W\x82\xd3\xe4\x93\x02Q\x12O/injective/tokenfactory/v1beta1/denoms/{creator}/{sub_denom}/authority_metadata\x12\xd9\x01\n\x11\x44\x65nomsFromCreator\x12=.injective.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest\x1a>.injective.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse\"E\x82\xd3\xe4\x93\x02?\x12=/injective/tokenfactory/v1beta1/denoms_from_creator/{creator}\x12\xc2\x01\n\x17TokenfactoryModuleState\x12\x37.injective.tokenfactory.v1beta1.QueryModuleStateRequest\x1a\x38.injective.tokenfactory.v1beta1.QueryModuleStateResponse\"4\x82\xd3\xe4\x93\x02.\x12,/injective/tokenfactory/v1beta1/module_stateB\x9e\x02\n\"com.injective.tokenfactory.v1beta1B\nQueryProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.tokenfactory.v1beta1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n"com.injective.tokenfactory.v1beta1B\nQueryProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - ) - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None - _globals["_QUERYPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_QUERYDENOMAUTHORITYMETADATAREQUEST"].fields_by_name["creator"]._loaded_options = None - _globals["_QUERYDENOMAUTHORITYMETADATAREQUEST"].fields_by_name[ - "creator" - ]._serialized_options = b'\362\336\037\014yaml:"denom"' - _globals["_QUERYDENOMAUTHORITYMETADATAREQUEST"].fields_by_name["sub_denom"]._loaded_options = None - _globals["_QUERYDENOMAUTHORITYMETADATAREQUEST"].fields_by_name[ - "sub_denom" - ]._serialized_options = b'\362\336\037\020yaml:"sub_denom"' - _globals["_QUERYDENOMAUTHORITYMETADATARESPONSE"].fields_by_name["authority_metadata"]._loaded_options = None - _globals["_QUERYDENOMAUTHORITYMETADATARESPONSE"].fields_by_name[ - "authority_metadata" - ]._serialized_options = b'\310\336\037\000\362\336\037\031yaml:"authority_metadata"' - _globals["_QUERYDENOMSFROMCREATORREQUEST"].fields_by_name["creator"]._loaded_options = None - _globals["_QUERYDENOMSFROMCREATORREQUEST"].fields_by_name[ - "creator" - ]._serialized_options = b'\362\336\037\016yaml:"creator"' - _globals["_QUERYDENOMSFROMCREATORRESPONSE"].fields_by_name["denoms"]._loaded_options = None - _globals["_QUERYDENOMSFROMCREATORRESPONSE"].fields_by_name[ - "denoms" - ]._serialized_options = b'\362\336\037\ryaml:"denoms"' - _globals["_QUERY"].methods_by_name["Params"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "Params" - ]._serialized_options = b"\202\323\344\223\002(\022&/injective/tokenfactory/v1beta1/params" - _globals["_QUERY"].methods_by_name["DenomAuthorityMetadata"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DenomAuthorityMetadata" - ]._serialized_options = ( - b"\202\323\344\223\002Q\022O/injective/tokenfactory/v1beta1/denoms/{creator}/{sub_denom}/authority_metadata" - ) - _globals["_QUERY"].methods_by_name["DenomsFromCreator"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "DenomsFromCreator" - ]._serialized_options = b"\202\323\344\223\002?\022=/injective/tokenfactory/v1beta1/denoms_from_creator/{creator}" - _globals["_QUERY"].methods_by_name["TokenfactoryModuleState"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "TokenfactoryModuleState" - ]._serialized_options = b"\202\323\344\223\002.\022,/injective/tokenfactory/v1beta1/module_state" - _globals["_QUERYPARAMSREQUEST"]._serialized_start = 321 - _globals["_QUERYPARAMSREQUEST"]._serialized_end = 341 - _globals["_QUERYPARAMSRESPONSE"]._serialized_start = 343 - _globals["_QUERYPARAMSRESPONSE"]._serialized_end = 434 - _globals["_QUERYDENOMAUTHORITYMETADATAREQUEST"]._serialized_start = 437 - _globals["_QUERYDENOMAUTHORITYMETADATAREQUEST"]._serialized_end = 568 - _globals["_QUERYDENOMAUTHORITYMETADATARESPONSE"]._serialized_start = 571 - _globals["_QUERYDENOMAUTHORITYMETADATARESPONSE"]._serialized_end = 747 - _globals["_QUERYDENOMSFROMCREATORREQUEST"]._serialized_start = 749 - _globals["_QUERYDENOMSFROMCREATORREQUEST"]._serialized_end = 826 - _globals["_QUERYDENOMSFROMCREATORRESPONSE"]._serialized_start = 828 - _globals["_QUERYDENOMSFROMCREATORRESPONSE"]._serialized_end = 903 - _globals["_QUERYMODULESTATEREQUEST"]._serialized_start = 905 - _globals["_QUERYMODULESTATEREQUEST"]._serialized_end = 930 - _globals["_QUERYMODULESTATERESPONSE"]._serialized_start = 932 - _globals["_QUERYMODULESTATERESPONSE"]._serialized_end = 1026 - _globals["_QUERY"]._serialized_start = 1029 - _globals["_QUERY"]._serialized_end = 1870 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\nQueryProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST'].fields_by_name['creator']._loaded_options = None + _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST'].fields_by_name['creator']._serialized_options = b'\362\336\037\014yaml:\"denom\"' + _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST'].fields_by_name['sub_denom']._loaded_options = None + _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST'].fields_by_name['sub_denom']._serialized_options = b'\362\336\037\020yaml:\"sub_denom\"' + _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE'].fields_by_name['authority_metadata']._loaded_options = None + _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE'].fields_by_name['authority_metadata']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"authority_metadata\"' + _globals['_QUERYDENOMSFROMCREATORREQUEST'].fields_by_name['creator']._loaded_options = None + _globals['_QUERYDENOMSFROMCREATORREQUEST'].fields_by_name['creator']._serialized_options = b'\362\336\037\016yaml:\"creator\"' + _globals['_QUERYDENOMSFROMCREATORRESPONSE'].fields_by_name['denoms']._loaded_options = None + _globals['_QUERYDENOMSFROMCREATORRESPONSE'].fields_by_name['denoms']._serialized_options = b'\362\336\037\ryaml:\"denoms\"' + _globals['_QUERY'].methods_by_name['Params']._loaded_options = None + _globals['_QUERY'].methods_by_name['Params']._serialized_options = b'\202\323\344\223\002(\022&/injective/tokenfactory/v1beta1/params' + _globals['_QUERY'].methods_by_name['DenomAuthorityMetadata']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomAuthorityMetadata']._serialized_options = b'\202\323\344\223\002Q\022O/injective/tokenfactory/v1beta1/denoms/{creator}/{sub_denom}/authority_metadata' + _globals['_QUERY'].methods_by_name['DenomsFromCreator']._loaded_options = None + _globals['_QUERY'].methods_by_name['DenomsFromCreator']._serialized_options = b'\202\323\344\223\002?\022=/injective/tokenfactory/v1beta1/denoms_from_creator/{creator}' + _globals['_QUERY'].methods_by_name['TokenfactoryModuleState']._loaded_options = None + _globals['_QUERY'].methods_by_name['TokenfactoryModuleState']._serialized_options = b'\202\323\344\223\002.\022,/injective/tokenfactory/v1beta1/module_state' + _globals['_QUERYPARAMSREQUEST']._serialized_start=321 + _globals['_QUERYPARAMSREQUEST']._serialized_end=341 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=343 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=434 + _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST']._serialized_start=437 + _globals['_QUERYDENOMAUTHORITYMETADATAREQUEST']._serialized_end=568 + _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE']._serialized_start=571 + _globals['_QUERYDENOMAUTHORITYMETADATARESPONSE']._serialized_end=747 + _globals['_QUERYDENOMSFROMCREATORREQUEST']._serialized_start=749 + _globals['_QUERYDENOMSFROMCREATORREQUEST']._serialized_end=826 + _globals['_QUERYDENOMSFROMCREATORRESPONSE']._serialized_start=828 + _globals['_QUERYDENOMSFROMCREATORRESPONSE']._serialized_end=903 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=905 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=930 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=932 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=1026 + _globals['_QUERY']._serialized_start=1029 + _globals['_QUERY']._serialized_end=1870 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2_grpc.py index 2fcfa9a3..7a7ab8c6 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2_grpc.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/query_pb2_grpc.py @@ -2,13 +2,12 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.injective.tokenfactory.v1beta1 import ( - query_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2, -) +from pyinjective.proto.injective.tokenfactory.v1beta1 import query_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2 class QueryStub(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -17,114 +16,112 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Params = channel.unary_unary( - "/injective.tokenfactory.v1beta1.Query/Params", - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, - _registered_method=True, - ) + '/injective.tokenfactory.v1beta1.Query/Params', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, + _registered_method=True) self.DenomAuthorityMetadata = channel.unary_unary( - "/injective.tokenfactory.v1beta1.Query/DenomAuthorityMetadata", - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataRequest.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataResponse.FromString, - _registered_method=True, - ) + '/injective.tokenfactory.v1beta1.Query/DenomAuthorityMetadata', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataRequest.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataResponse.FromString, + _registered_method=True) self.DenomsFromCreator = channel.unary_unary( - "/injective.tokenfactory.v1beta1.Query/DenomsFromCreator", - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorRequest.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorResponse.FromString, - _registered_method=True, - ) + '/injective.tokenfactory.v1beta1.Query/DenomsFromCreator', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorRequest.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorResponse.FromString, + _registered_method=True) self.TokenfactoryModuleState = channel.unary_unary( - "/injective.tokenfactory.v1beta1.Query/TokenfactoryModuleState", - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, - _registered_method=True, - ) + '/injective.tokenfactory.v1beta1.Query/TokenfactoryModuleState', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def Params(self, request, context): """Params defines a gRPC query method that returns the tokenfactory module's parameters. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DenomAuthorityMetadata(self, request, context): """DenomAuthorityMetadata defines a gRPC query method for fetching DenomAuthorityMetadata for a particular denom. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DenomsFromCreator(self, request, context): """DenomsFromCreator defines a gRPC query method for fetching all denominations created by a specific admin/creator. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def TokenfactoryModuleState(self, request, context): - """Retrieves the entire auction module's state""" + """Retrieves the entire auction module's state + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "Params": grpc.unary_unary_rpc_method_handler( - servicer.Params, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, - ), - "DenomAuthorityMetadata": grpc.unary_unary_rpc_method_handler( - servicer.DenomAuthorityMetadata, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataRequest.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataResponse.SerializeToString, - ), - "DenomsFromCreator": grpc.unary_unary_rpc_method_handler( - servicer.DenomsFromCreator, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorRequest.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorResponse.SerializeToString, - ), - "TokenfactoryModuleState": grpc.unary_unary_rpc_method_handler( - servicer.TokenfactoryModuleState, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, - ), + 'Params': grpc.unary_unary_rpc_method_handler( + servicer.Params, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsRequest.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsResponse.SerializeToString, + ), + 'DenomAuthorityMetadata': grpc.unary_unary_rpc_method_handler( + servicer.DenomAuthorityMetadata, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataRequest.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataResponse.SerializeToString, + ), + 'DenomsFromCreator': grpc.unary_unary_rpc_method_handler( + servicer.DenomsFromCreator, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorRequest.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorResponse.SerializeToString, + ), + 'TokenfactoryModuleState': grpc.unary_unary_rpc_method_handler( + servicer.TokenfactoryModuleState, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("injective.tokenfactory.v1beta1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'injective.tokenfactory.v1beta1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("injective.tokenfactory.v1beta1.Query", rpc_method_handlers) + server.add_registered_method_handlers('injective.tokenfactory.v1beta1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ @staticmethod - def Params( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Params(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.tokenfactory.v1beta1.Query/Params", + '/injective.tokenfactory.v1beta1.Query/Params', injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsRequest.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryParamsResponse.FromString, options, @@ -135,26 +132,23 @@ def Params( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DenomAuthorityMetadata( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DenomAuthorityMetadata(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.tokenfactory.v1beta1.Query/DenomAuthorityMetadata", + '/injective.tokenfactory.v1beta1.Query/DenomAuthorityMetadata', injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataRequest.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomAuthorityMetadataResponse.FromString, options, @@ -165,26 +159,23 @@ def DenomAuthorityMetadata( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DenomsFromCreator( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DenomsFromCreator(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.tokenfactory.v1beta1.Query/DenomsFromCreator", + '/injective.tokenfactory.v1beta1.Query/DenomsFromCreator', injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorRequest.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryDenomsFromCreatorResponse.FromString, options, @@ -195,26 +186,23 @@ def DenomsFromCreator( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def TokenfactoryModuleState( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def TokenfactoryModuleState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.tokenfactory.v1beta1.Query/TokenfactoryModuleState", + '/injective.tokenfactory.v1beta1.Query/TokenfactoryModuleState', injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_query__pb2.QueryModuleStateResponse.FromString, options, @@ -225,5 +213,4 @@ def TokenfactoryModuleState( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py index 343c7479..ebcba559 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,108 +17,90 @@ from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as cosmos_dot_bank_dot_v1beta1_dot_bank__pb2 from pyinjective.proto.cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from pyinjective.proto.cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -from pyinjective.proto.injective.tokenfactory.v1beta1 import ( - params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2, -) +from pyinjective.proto.injective.tokenfactory.v1beta1 import params_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_params__pb2 from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\'injective/tokenfactory/v1beta1/tx.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a+injective/tokenfactory/v1beta1/params.proto\x1a\x11\x61mino/amino.proto"\xa2\x02\n\x0eMsgCreateDenom\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12/\n\x08subdenom\x18\x02 \x01(\tB\x13\xf2\xde\x1f\x0fyaml:"subdenom"R\x08subdenom\x12#\n\x04name\x18\x03 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:"name"R\x04name\x12)\n\x06symbol\x18\x04 \x01(\tB\x11\xf2\xde\x1f\ryaml:"symbol"R\x06symbol\x12/\n\x08\x64\x65\x63imals\x18\x05 \x01(\rB\x13\xf2\xde\x1f\x0fyaml:"decimals"R\x08\x64\x65\x63imals:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#injective/tokenfactory/create-denom"\\\n\x16MsgCreateDenomResponse\x12\x42\n\x0fnew_token_denom\x18\x01 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:"new_token_denom"R\rnewTokenDenom"\xab\x01\n\x07MsgMint\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12H\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x15\xc8\xde\x1f\x00\xf2\xde\x1f\ryaml:"amount"R\x06\x61mount:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1binjective/tokenfactory/mint"\x11\n\x0fMsgMintResponse"\xab\x01\n\x07MsgBurn\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12H\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x15\xc8\xde\x1f\x00\xf2\xde\x1f\ryaml:"amount"R\x06\x61mount:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1binjective/tokenfactory/burn"\x11\n\x0fMsgBurnResponse"\xcb\x01\n\x0eMsgChangeAdmin\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12&\n\x05\x64\x65nom\x18\x02 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:"denom"R\x05\x64\x65nom\x12\x31\n\tnew_admin\x18\x03 \x01(\tB\x14\xf2\xde\x1f\x10yaml:"new_admin"R\x08newAdmin:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#injective/tokenfactory/change-admin"\x18\n\x16MsgChangeAdminResponse"\xcf\x01\n\x13MsgSetDenomMetadata\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:"sender"R\x06sender\x12R\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x17\xc8\xde\x1f\x00\xf2\xde\x1f\x0fyaml:"metadata"R\x08metadata:9\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*)injective/tokenfactory/set-denom-metadata"\x1d\n\x1bMsgSetDenomMetadataResponse"\xc8\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x44\n\x06params\x18\x02 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$injective/tokenfactory/update-params"\x19\n\x17MsgUpdateParamsResponse2\xbf\x05\n\x03Msg\x12u\n\x0b\x43reateDenom\x12..injective.tokenfactory.v1beta1.MsgCreateDenom\x1a\x36.injective.tokenfactory.v1beta1.MsgCreateDenomResponse\x12`\n\x04Mint\x12\'.injective.tokenfactory.v1beta1.MsgMint\x1a/.injective.tokenfactory.v1beta1.MsgMintResponse\x12`\n\x04\x42urn\x12\'.injective.tokenfactory.v1beta1.MsgBurn\x1a/.injective.tokenfactory.v1beta1.MsgBurnResponse\x12u\n\x0b\x43hangeAdmin\x12..injective.tokenfactory.v1beta1.MsgChangeAdmin\x1a\x36.injective.tokenfactory.v1beta1.MsgChangeAdminResponse\x12\x84\x01\n\x10SetDenomMetadata\x12\x33.injective.tokenfactory.v1beta1.MsgSetDenomMetadata\x1a;.injective.tokenfactory.v1beta1.MsgSetDenomMetadataResponse\x12x\n\x0cUpdateParams\x12/.injective.tokenfactory.v1beta1.MsgUpdateParams\x1a\x37.injective.tokenfactory.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9b\x02\n"com.injective.tokenfactory.v1beta1B\x07TxProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/tokenfactory/v1beta1/tx.proto\x12\x1einjective.tokenfactory.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1e\x63osmos/bank/v1beta1/bank.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a+injective/tokenfactory/v1beta1/params.proto\x1a\x11\x61mino/amino.proto\"\xa2\x02\n\x0eMsgCreateDenom\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12/\n\x08subdenom\x18\x02 \x01(\tB\x13\xf2\xde\x1f\x0fyaml:\"subdenom\"R\x08subdenom\x12#\n\x04name\x18\x03 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:\"name\"R\x04name\x12)\n\x06symbol\x18\x04 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"symbol\"R\x06symbol\x12/\n\x08\x64\x65\x63imals\x18\x05 \x01(\rB\x13\xf2\xde\x1f\x0fyaml:\"decimals\"R\x08\x64\x65\x63imals:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#injective/tokenfactory/create-denom\"\\\n\x16MsgCreateDenomResponse\x12\x42\n\x0fnew_token_denom\x18\x01 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:\"new_token_denom\"R\rnewTokenDenom\"\xab\x01\n\x07MsgMint\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12H\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x15\xc8\xde\x1f\x00\xf2\xde\x1f\ryaml:\"amount\"R\x06\x61mount:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1binjective/tokenfactory/mint\"\x11\n\x0fMsgMintResponse\"\xab\x01\n\x07MsgBurn\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12H\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x15\xc8\xde\x1f\x00\xf2\xde\x1f\ryaml:\"amount\"R\x06\x61mount:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1binjective/tokenfactory/burn\"\x11\n\x0fMsgBurnResponse\"\xcb\x01\n\x0eMsgChangeAdmin\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12&\n\x05\x64\x65nom\x18\x02 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"denom\"R\x05\x64\x65nom\x12\x31\n\tnew_admin\x18\x03 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"new_admin\"R\x08newAdmin:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#injective/tokenfactory/change-admin\"\x18\n\x16MsgChangeAdminResponse\"\xcf\x01\n\x13MsgSetDenomMetadata\x12)\n\x06sender\x18\x01 \x01(\tB\x11\xf2\xde\x1f\ryaml:\"sender\"R\x06sender\x12R\n\x08metadata\x18\x02 \x01(\x0b\x32\x1d.cosmos.bank.v1beta1.MetadataB\x17\xc8\xde\x1f\x00\xf2\xde\x1f\x0fyaml:\"metadata\"R\x08metadata:9\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*)injective/tokenfactory/set-denom-metadata\"\x1d\n\x1bMsgSetDenomMetadataResponse\"\xc8\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x44\n\x06params\x18\x02 \x01(\x0b\x32&.injective.tokenfactory.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$injective/tokenfactory/update-params\"\x19\n\x17MsgUpdateParamsResponse2\xbf\x05\n\x03Msg\x12u\n\x0b\x43reateDenom\x12..injective.tokenfactory.v1beta1.MsgCreateDenom\x1a\x36.injective.tokenfactory.v1beta1.MsgCreateDenomResponse\x12`\n\x04Mint\x12\'.injective.tokenfactory.v1beta1.MsgMint\x1a/.injective.tokenfactory.v1beta1.MsgMintResponse\x12`\n\x04\x42urn\x12\'.injective.tokenfactory.v1beta1.MsgBurn\x1a/.injective.tokenfactory.v1beta1.MsgBurnResponse\x12u\n\x0b\x43hangeAdmin\x12..injective.tokenfactory.v1beta1.MsgChangeAdmin\x1a\x36.injective.tokenfactory.v1beta1.MsgChangeAdminResponse\x12\x84\x01\n\x10SetDenomMetadata\x12\x33.injective.tokenfactory.v1beta1.MsgSetDenomMetadata\x1a;.injective.tokenfactory.v1beta1.MsgSetDenomMetadataResponse\x12x\n\x0cUpdateParams\x12/.injective.tokenfactory.v1beta1.MsgUpdateParams\x1a\x37.injective.tokenfactory.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x9b\x02\n\"com.injective.tokenfactory.v1beta1B\x07TxProtoP\x01ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\xa2\x02\x03ITX\xaa\x02\x1eInjective.Tokenfactory.V1beta1\xca\x02\x1eInjective\\Tokenfactory\\V1beta1\xe2\x02*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\xea\x02 Injective::Tokenfactory::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.tokenfactory.v1beta1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.tokenfactory.v1beta1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b'\n"com.injective.tokenfactory.v1beta1B\007TxProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' - ) - _globals["_MSGCREATEDENOM"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGCREATEDENOM"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' - _globals["_MSGCREATEDENOM"].fields_by_name["subdenom"]._loaded_options = None - _globals["_MSGCREATEDENOM"].fields_by_name["subdenom"]._serialized_options = b'\362\336\037\017yaml:"subdenom"' - _globals["_MSGCREATEDENOM"].fields_by_name["name"]._loaded_options = None - _globals["_MSGCREATEDENOM"].fields_by_name["name"]._serialized_options = b'\362\336\037\013yaml:"name"' - _globals["_MSGCREATEDENOM"].fields_by_name["symbol"]._loaded_options = None - _globals["_MSGCREATEDENOM"].fields_by_name["symbol"]._serialized_options = b'\362\336\037\ryaml:"symbol"' - _globals["_MSGCREATEDENOM"].fields_by_name["decimals"]._loaded_options = None - _globals["_MSGCREATEDENOM"].fields_by_name["decimals"]._serialized_options = b'\362\336\037\017yaml:"decimals"' - _globals["_MSGCREATEDENOM"]._loaded_options = None - _globals["_MSGCREATEDENOM"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*#injective/tokenfactory/create-denom" - ) - _globals["_MSGCREATEDENOMRESPONSE"].fields_by_name["new_token_denom"]._loaded_options = None - _globals["_MSGCREATEDENOMRESPONSE"].fields_by_name[ - "new_token_denom" - ]._serialized_options = b'\362\336\037\026yaml:"new_token_denom"' - _globals["_MSGMINT"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGMINT"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' - _globals["_MSGMINT"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGMINT"].fields_by_name["amount"]._serialized_options = b'\310\336\037\000\362\336\037\ryaml:"amount"' - _globals["_MSGMINT"]._loaded_options = None - _globals["_MSGMINT"]._serialized_options = b"\202\347\260*\006sender\212\347\260*\033injective/tokenfactory/mint" - _globals["_MSGBURN"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGBURN"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' - _globals["_MSGBURN"].fields_by_name["amount"]._loaded_options = None - _globals["_MSGBURN"].fields_by_name["amount"]._serialized_options = b'\310\336\037\000\362\336\037\ryaml:"amount"' - _globals["_MSGBURN"]._loaded_options = None - _globals["_MSGBURN"]._serialized_options = b"\202\347\260*\006sender\212\347\260*\033injective/tokenfactory/burn" - _globals["_MSGCHANGEADMIN"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGCHANGEADMIN"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' - _globals["_MSGCHANGEADMIN"].fields_by_name["denom"]._loaded_options = None - _globals["_MSGCHANGEADMIN"].fields_by_name["denom"]._serialized_options = b'\362\336\037\014yaml:"denom"' - _globals["_MSGCHANGEADMIN"].fields_by_name["new_admin"]._loaded_options = None - _globals["_MSGCHANGEADMIN"].fields_by_name["new_admin"]._serialized_options = b'\362\336\037\020yaml:"new_admin"' - _globals["_MSGCHANGEADMIN"]._loaded_options = None - _globals["_MSGCHANGEADMIN"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*#injective/tokenfactory/change-admin" - ) - _globals["_MSGSETDENOMMETADATA"].fields_by_name["sender"]._loaded_options = None - _globals["_MSGSETDENOMMETADATA"].fields_by_name["sender"]._serialized_options = b'\362\336\037\ryaml:"sender"' - _globals["_MSGSETDENOMMETADATA"].fields_by_name["metadata"]._loaded_options = None - _globals["_MSGSETDENOMMETADATA"].fields_by_name[ - "metadata" - ]._serialized_options = b'\310\336\037\000\362\336\037\017yaml:"metadata"' - _globals["_MSGSETDENOMMETADATA"]._loaded_options = None - _globals["_MSGSETDENOMMETADATA"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*)injective/tokenfactory/set-denom-metadata" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = ( - b"\202\347\260*\tauthority\212\347\260*$injective/tokenfactory/update-params" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGCREATEDENOM"]._serialized_start = 278 - _globals["_MSGCREATEDENOM"]._serialized_end = 568 - _globals["_MSGCREATEDENOMRESPONSE"]._serialized_start = 570 - _globals["_MSGCREATEDENOMRESPONSE"]._serialized_end = 662 - _globals["_MSGMINT"]._serialized_start = 665 - _globals["_MSGMINT"]._serialized_end = 836 - _globals["_MSGMINTRESPONSE"]._serialized_start = 838 - _globals["_MSGMINTRESPONSE"]._serialized_end = 855 - _globals["_MSGBURN"]._serialized_start = 858 - _globals["_MSGBURN"]._serialized_end = 1029 - _globals["_MSGBURNRESPONSE"]._serialized_start = 1031 - _globals["_MSGBURNRESPONSE"]._serialized_end = 1048 - _globals["_MSGCHANGEADMIN"]._serialized_start = 1051 - _globals["_MSGCHANGEADMIN"]._serialized_end = 1254 - _globals["_MSGCHANGEADMINRESPONSE"]._serialized_start = 1256 - _globals["_MSGCHANGEADMINRESPONSE"]._serialized_end = 1280 - _globals["_MSGSETDENOMMETADATA"]._serialized_start = 1283 - _globals["_MSGSETDENOMMETADATA"]._serialized_end = 1490 - _globals["_MSGSETDENOMMETADATARESPONSE"]._serialized_start = 1492 - _globals["_MSGSETDENOMMETADATARESPONSE"]._serialized_end = 1521 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 1524 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 1724 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1726 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1751 - _globals["_MSG"]._serialized_start = 1754 - _globals["_MSG"]._serialized_end = 2457 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\"com.injective.tokenfactory.v1beta1B\007TxProtoP\001ZRgithub.com/InjectiveLabs/injective-core/injective-chain/modules/tokenfactory/types\242\002\003ITX\252\002\036Injective.Tokenfactory.V1beta1\312\002\036Injective\\Tokenfactory\\V1beta1\342\002*Injective\\Tokenfactory\\V1beta1\\GPBMetadata\352\002 Injective::Tokenfactory::V1beta1' + _globals['_MSGCREATEDENOM'].fields_by_name['sender']._loaded_options = None + _globals['_MSGCREATEDENOM'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGCREATEDENOM'].fields_by_name['subdenom']._loaded_options = None + _globals['_MSGCREATEDENOM'].fields_by_name['subdenom']._serialized_options = b'\362\336\037\017yaml:\"subdenom\"' + _globals['_MSGCREATEDENOM'].fields_by_name['name']._loaded_options = None + _globals['_MSGCREATEDENOM'].fields_by_name['name']._serialized_options = b'\362\336\037\013yaml:\"name\"' + _globals['_MSGCREATEDENOM'].fields_by_name['symbol']._loaded_options = None + _globals['_MSGCREATEDENOM'].fields_by_name['symbol']._serialized_options = b'\362\336\037\ryaml:\"symbol\"' + _globals['_MSGCREATEDENOM'].fields_by_name['decimals']._loaded_options = None + _globals['_MSGCREATEDENOM'].fields_by_name['decimals']._serialized_options = b'\362\336\037\017yaml:\"decimals\"' + _globals['_MSGCREATEDENOM']._loaded_options = None + _globals['_MSGCREATEDENOM']._serialized_options = b'\202\347\260*\006sender\212\347\260*#injective/tokenfactory/create-denom' + _globals['_MSGCREATEDENOMRESPONSE'].fields_by_name['new_token_denom']._loaded_options = None + _globals['_MSGCREATEDENOMRESPONSE'].fields_by_name['new_token_denom']._serialized_options = b'\362\336\037\026yaml:\"new_token_denom\"' + _globals['_MSGMINT'].fields_by_name['sender']._loaded_options = None + _globals['_MSGMINT'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGMINT'].fields_by_name['amount']._loaded_options = None + _globals['_MSGMINT'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\362\336\037\ryaml:\"amount\"' + _globals['_MSGMINT']._loaded_options = None + _globals['_MSGMINT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033injective/tokenfactory/mint' + _globals['_MSGBURN'].fields_by_name['sender']._loaded_options = None + _globals['_MSGBURN'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGBURN'].fields_by_name['amount']._loaded_options = None + _globals['_MSGBURN'].fields_by_name['amount']._serialized_options = b'\310\336\037\000\362\336\037\ryaml:\"amount\"' + _globals['_MSGBURN']._loaded_options = None + _globals['_MSGBURN']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033injective/tokenfactory/burn' + _globals['_MSGCHANGEADMIN'].fields_by_name['sender']._loaded_options = None + _globals['_MSGCHANGEADMIN'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGCHANGEADMIN'].fields_by_name['denom']._loaded_options = None + _globals['_MSGCHANGEADMIN'].fields_by_name['denom']._serialized_options = b'\362\336\037\014yaml:\"denom\"' + _globals['_MSGCHANGEADMIN'].fields_by_name['new_admin']._loaded_options = None + _globals['_MSGCHANGEADMIN'].fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"' + _globals['_MSGCHANGEADMIN']._loaded_options = None + _globals['_MSGCHANGEADMIN']._serialized_options = b'\202\347\260*\006sender\212\347\260*#injective/tokenfactory/change-admin' + _globals['_MSGSETDENOMMETADATA'].fields_by_name['sender']._loaded_options = None + _globals['_MSGSETDENOMMETADATA'].fields_by_name['sender']._serialized_options = b'\362\336\037\ryaml:\"sender\"' + _globals['_MSGSETDENOMMETADATA'].fields_by_name['metadata']._loaded_options = None + _globals['_MSGSETDENOMMETADATA'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000\362\336\037\017yaml:\"metadata\"' + _globals['_MSGSETDENOMMETADATA']._loaded_options = None + _globals['_MSGSETDENOMMETADATA']._serialized_options = b'\202\347\260*\006sender\212\347\260*)injective/tokenfactory/set-denom-metadata' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*$injective/tokenfactory/update-params' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGCREATEDENOM']._serialized_start=278 + _globals['_MSGCREATEDENOM']._serialized_end=568 + _globals['_MSGCREATEDENOMRESPONSE']._serialized_start=570 + _globals['_MSGCREATEDENOMRESPONSE']._serialized_end=662 + _globals['_MSGMINT']._serialized_start=665 + _globals['_MSGMINT']._serialized_end=836 + _globals['_MSGMINTRESPONSE']._serialized_start=838 + _globals['_MSGMINTRESPONSE']._serialized_end=855 + _globals['_MSGBURN']._serialized_start=858 + _globals['_MSGBURN']._serialized_end=1029 + _globals['_MSGBURNRESPONSE']._serialized_start=1031 + _globals['_MSGBURNRESPONSE']._serialized_end=1048 + _globals['_MSGCHANGEADMIN']._serialized_start=1051 + _globals['_MSGCHANGEADMIN']._serialized_end=1254 + _globals['_MSGCHANGEADMINRESPONSE']._serialized_start=1256 + _globals['_MSGCHANGEADMINRESPONSE']._serialized_end=1280 + _globals['_MSGSETDENOMMETADATA']._serialized_start=1283 + _globals['_MSGSETDENOMMETADATA']._serialized_end=1490 + _globals['_MSGSETDENOMMETADATARESPONSE']._serialized_start=1492 + _globals['_MSGSETDENOMMETADATARESPONSE']._serialized_end=1521 + _globals['_MSGUPDATEPARAMS']._serialized_start=1524 + _globals['_MSGUPDATEPARAMS']._serialized_end=1724 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1726 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1751 + _globals['_MSG']._serialized_start=1754 + _globals['_MSG']._serialized_end=2457 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2_grpc.py index de057d1b..f96ee560 100644 --- a/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/tokenfactory/v1beta1/tx_pb2_grpc.py @@ -2,13 +2,12 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from pyinjective.proto.injective.tokenfactory.v1beta1 import ( - tx_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2, -) +from pyinjective.proto.injective.tokenfactory.v1beta1 import tx_pb2 as injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2 class MsgStub(object): - """Msg defines the tokefactory module's gRPC message service.""" + """Msg defines the tokefactory module's gRPC message service. + """ def __init__(self, channel): """Constructor. @@ -17,142 +16,137 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.CreateDenom = channel.unary_unary( - "/injective.tokenfactory.v1beta1.Msg/CreateDenom", - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenom.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenomResponse.FromString, - _registered_method=True, - ) + '/injective.tokenfactory.v1beta1.Msg/CreateDenom', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenom.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenomResponse.FromString, + _registered_method=True) self.Mint = channel.unary_unary( - "/injective.tokenfactory.v1beta1.Msg/Mint", - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMint.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMintResponse.FromString, - _registered_method=True, - ) + '/injective.tokenfactory.v1beta1.Msg/Mint', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMint.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMintResponse.FromString, + _registered_method=True) self.Burn = channel.unary_unary( - "/injective.tokenfactory.v1beta1.Msg/Burn", - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurn.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurnResponse.FromString, - _registered_method=True, - ) + '/injective.tokenfactory.v1beta1.Msg/Burn', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurn.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurnResponse.FromString, + _registered_method=True) self.ChangeAdmin = channel.unary_unary( - "/injective.tokenfactory.v1beta1.Msg/ChangeAdmin", - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdmin.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdminResponse.FromString, - _registered_method=True, - ) + '/injective.tokenfactory.v1beta1.Msg/ChangeAdmin', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdmin.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdminResponse.FromString, + _registered_method=True) self.SetDenomMetadata = channel.unary_unary( - "/injective.tokenfactory.v1beta1.Msg/SetDenomMetadata", - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadata.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadataResponse.FromString, - _registered_method=True, - ) + '/injective.tokenfactory.v1beta1.Msg/SetDenomMetadata', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadata.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadataResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( - "/injective.tokenfactory.v1beta1.Msg/UpdateParams", - request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/injective.tokenfactory.v1beta1.Msg/UpdateParams', + request_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the tokefactory module's gRPC message service.""" + """Msg defines the tokefactory module's gRPC message service. + """ def CreateDenom(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Mint(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Burn(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ChangeAdmin(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def SetDenomMetadata(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateParams(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "CreateDenom": grpc.unary_unary_rpc_method_handler( - servicer.CreateDenom, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenom.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenomResponse.SerializeToString, - ), - "Mint": grpc.unary_unary_rpc_method_handler( - servicer.Mint, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMint.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMintResponse.SerializeToString, - ), - "Burn": grpc.unary_unary_rpc_method_handler( - servicer.Burn, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurn.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurnResponse.SerializeToString, - ), - "ChangeAdmin": grpc.unary_unary_rpc_method_handler( - servicer.ChangeAdmin, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdmin.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdminResponse.SerializeToString, - ), - "SetDenomMetadata": grpc.unary_unary_rpc_method_handler( - servicer.SetDenomMetadata, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadata.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadataResponse.SerializeToString, - ), - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), + 'CreateDenom': grpc.unary_unary_rpc_method_handler( + servicer.CreateDenom, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenom.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenomResponse.SerializeToString, + ), + 'Mint': grpc.unary_unary_rpc_method_handler( + servicer.Mint, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMint.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMintResponse.SerializeToString, + ), + 'Burn': grpc.unary_unary_rpc_method_handler( + servicer.Burn, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurn.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurnResponse.SerializeToString, + ), + 'ChangeAdmin': grpc.unary_unary_rpc_method_handler( + servicer.ChangeAdmin, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdmin.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdminResponse.SerializeToString, + ), + 'SetDenomMetadata': grpc.unary_unary_rpc_method_handler( + servicer.SetDenomMetadata, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadata.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadataResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("injective.tokenfactory.v1beta1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'injective.tokenfactory.v1beta1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("injective.tokenfactory.v1beta1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('injective.tokenfactory.v1beta1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the tokefactory module's gRPC message service.""" + """Msg defines the tokefactory module's gRPC message service. + """ @staticmethod - def CreateDenom( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CreateDenom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.tokenfactory.v1beta1.Msg/CreateDenom", + '/injective.tokenfactory.v1beta1.Msg/CreateDenom', injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenom.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgCreateDenomResponse.FromString, options, @@ -163,26 +157,23 @@ def CreateDenom( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Mint( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Mint(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.tokenfactory.v1beta1.Msg/Mint", + '/injective.tokenfactory.v1beta1.Msg/Mint', injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMint.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgMintResponse.FromString, options, @@ -193,26 +184,23 @@ def Mint( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Burn( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Burn(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.tokenfactory.v1beta1.Msg/Burn", + '/injective.tokenfactory.v1beta1.Msg/Burn', injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurn.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgBurnResponse.FromString, options, @@ -223,26 +211,23 @@ def Burn( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ChangeAdmin( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ChangeAdmin(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.tokenfactory.v1beta1.Msg/ChangeAdmin", + '/injective.tokenfactory.v1beta1.Msg/ChangeAdmin', injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdmin.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgChangeAdminResponse.FromString, options, @@ -253,26 +238,23 @@ def ChangeAdmin( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def SetDenomMetadata( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def SetDenomMetadata(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.tokenfactory.v1beta1.Msg/SetDenomMetadata", + '/injective.tokenfactory.v1beta1.Msg/SetDenomMetadata', injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadata.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgSetDenomMetadataResponse.FromString, options, @@ -283,26 +265,23 @@ def SetDenomMetadata( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.tokenfactory.v1beta1.Msg/UpdateParams", + '/injective.tokenfactory.v1beta1.Msg/UpdateParams', injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, injective_dot_tokenfactory_dot_v1beta1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -313,5 +292,4 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/injective/types/v1beta1/account_pb2.py b/pyinjective/proto/injective/types/v1beta1/account_pb2.py index 386bb9dc..eab1bf71 100644 --- a/pyinjective/proto/injective/types/v1beta1/account_pb2.py +++ b/pyinjective/proto/injective/types/v1beta1/account_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,28 +17,20 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%injective/types/v1beta1/account.proto\x12\x17injective.types.v1beta1\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto"\xcf\x01\n\nEthAccount\x12`\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x1b\xd0\xde\x1f\x01\xf2\xde\x1f\x13yaml:"base_account"R\x0b\x62\x61seAccount\x12\x31\n\tcode_hash\x18\x02 \x01(\x0c\x42\x14\xf2\xde\x1f\x10yaml:"code_hash"R\x08\x63odeHash:,\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIB\xe8\x01\n\x1b\x63om.injective.types.v1beta1B\x0c\x41\x63\x63ountProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%injective/types/v1beta1/account.proto\x12\x17injective.types.v1beta1\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\"\xcf\x01\n\nEthAccount\x12`\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x1b\xd0\xde\x1f\x01\xf2\xde\x1f\x13yaml:\"base_account\"R\x0b\x62\x61seAccount\x12\x31\n\tcode_hash\x18\x02 \x01(\x0c\x42\x14\xf2\xde\x1f\x10yaml:\"code_hash\"R\x08\x63odeHash:,\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1c\x63osmos.auth.v1beta1.AccountIB\xe8\x01\n\x1b\x63om.injective.types.v1beta1B\x0c\x41\x63\x63ountProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.types.v1beta1.account_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.account_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.injective.types.v1beta1B\014AccountProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1" - ) - _globals["_ETHACCOUNT"].fields_by_name["base_account"]._loaded_options = None - _globals["_ETHACCOUNT"].fields_by_name[ - "base_account" - ]._serialized_options = b'\320\336\037\001\362\336\037\023yaml:"base_account"' - _globals["_ETHACCOUNT"].fields_by_name["code_hash"]._loaded_options = None - _globals["_ETHACCOUNT"].fields_by_name["code_hash"]._serialized_options = b'\362\336\037\020yaml:"code_hash"' - _globals["_ETHACCOUNT"]._loaded_options = None - _globals["_ETHACCOUNT"]._serialized_options = ( - b"\210\240\037\000\230\240\037\000\350\240\037\000\312\264-\034cosmos.auth.v1beta1.AccountI" - ) - _globals["_ETHACCOUNT"]._serialized_start = 148 - _globals["_ETHACCOUNT"]._serialized_end = 355 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.injective.types.v1beta1B\014AccountProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1' + _globals['_ETHACCOUNT'].fields_by_name['base_account']._loaded_options = None + _globals['_ETHACCOUNT'].fields_by_name['base_account']._serialized_options = b'\320\336\037\001\362\336\037\023yaml:\"base_account\"' + _globals['_ETHACCOUNT'].fields_by_name['code_hash']._loaded_options = None + _globals['_ETHACCOUNT'].fields_by_name['code_hash']._serialized_options = b'\362\336\037\020yaml:\"code_hash\"' + _globals['_ETHACCOUNT']._loaded_options = None + _globals['_ETHACCOUNT']._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000\312\264-\034cosmos.auth.v1beta1.AccountI' + _globals['_ETHACCOUNT']._serialized_start=148 + _globals['_ETHACCOUNT']._serialized_end=355 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/types/v1beta1/account_pb2_grpc.py b/pyinjective/proto/injective/types/v1beta1/account_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/types/v1beta1/account_pb2_grpc.py +++ b/pyinjective/proto/injective/types/v1beta1/account_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py index 1d9a15fa..a8971e76 100644 --- a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py +++ b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$injective/types/v1beta1/tx_ext.proto\x12\x17injective.types.v1beta1\x1a\x14gogoproto/gogo.proto"\x88\x01\n\x16\x45xtensionOptionsWeb3Tx\x12*\n\x10typedDataChainID\x18\x01 \x01(\x04R\x10typedDataChainID\x12\x1a\n\x08\x66\x65\x65Payer\x18\x02 \x01(\tR\x08\x66\x65\x65Payer\x12 \n\x0b\x66\x65\x65PayerSig\x18\x03 \x01(\x0cR\x0b\x66\x65\x65PayerSig:\x04\x88\xa0\x1f\x00\x42\xe6\x01\n\x1b\x63om.injective.types.v1beta1B\nTxExtProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/types/v1beta1/tx_ext.proto\x12\x17injective.types.v1beta1\x1a\x14gogoproto/gogo.proto\"\x88\x01\n\x16\x45xtensionOptionsWeb3Tx\x12*\n\x10typedDataChainID\x18\x01 \x01(\x04R\x10typedDataChainID\x12\x1a\n\x08\x66\x65\x65Payer\x18\x02 \x01(\tR\x08\x66\x65\x65Payer\x12 \n\x0b\x66\x65\x65PayerSig\x18\x03 \x01(\x0cR\x0b\x66\x65\x65PayerSig:\x04\x88\xa0\x1f\x00\x42\xe6\x01\n\x1b\x63om.injective.types.v1beta1B\nTxExtProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.types.v1beta1.tx_ext_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.tx_ext_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.injective.types.v1beta1B\nTxExtProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1" - ) - _globals["_EXTENSIONOPTIONSWEB3TX"]._loaded_options = None - _globals["_EXTENSIONOPTIONSWEB3TX"]._serialized_options = b"\210\240\037\000" - _globals["_EXTENSIONOPTIONSWEB3TX"]._serialized_start = 88 - _globals["_EXTENSIONOPTIONSWEB3TX"]._serialized_end = 224 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.injective.types.v1beta1B\nTxExtProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1' + _globals['_EXTENSIONOPTIONSWEB3TX']._loaded_options = None + _globals['_EXTENSIONOPTIONSWEB3TX']._serialized_options = b'\210\240\037\000' + _globals['_EXTENSIONOPTIONSWEB3TX']._serialized_start=88 + _globals['_EXTENSIONOPTIONSWEB3TX']._serialized_end=224 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2_grpc.py b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2_grpc.py +++ b/pyinjective/proto/injective/types/v1beta1/tx_ext_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py index 5394d131..8ada0173 100644 --- a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py +++ b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2.py @@ -7,26 +7,23 @@ 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)injective/types/v1beta1/tx_response.proto\x12\x17injective.types.v1beta1"F\n\x18TxResponseGenericMessage\x12\x16\n\x06header\x18\x01 \x01(\tR\x06header\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta"_\n\x0eTxResponseData\x12M\n\x08messages\x18\x01 \x03(\x0b\x32\x31.injective.types.v1beta1.TxResponseGenericMessageR\x08messagesB\xeb\x01\n\x1b\x63om.injective.types.v1beta1B\x0fTxResponseProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/types/v1beta1/tx_response.proto\x12\x17injective.types.v1beta1\"F\n\x18TxResponseGenericMessage\x12\x16\n\x06header\x18\x01 \x01(\tR\x06header\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\"_\n\x0eTxResponseData\x12M\n\x08messages\x18\x01 \x03(\x0b\x32\x31.injective.types.v1beta1.TxResponseGenericMessageR\x08messagesB\xeb\x01\n\x1b\x63om.injective.types.v1beta1B\x0fTxResponseProtoP\x01Z=github.com/InjectiveLabs/injective-core/injective-chain/types\xa2\x02\x03ITX\xaa\x02\x17Injective.Types.V1beta1\xca\x02\x17Injective\\Types\\V1beta1\xe2\x02#Injective\\Types\\V1beta1\\GPBMetadata\xea\x02\x19Injective::Types::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.types.v1beta1.tx_response_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.types.v1beta1.tx_response_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\033com.injective.types.v1beta1B\017TxResponseProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1" - ) - _globals["_TXRESPONSEGENERICMESSAGE"]._serialized_start = 70 - _globals["_TXRESPONSEGENERICMESSAGE"]._serialized_end = 140 - _globals["_TXRESPONSEDATA"]._serialized_start = 142 - _globals["_TXRESPONSEDATA"]._serialized_end = 237 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.injective.types.v1beta1B\017TxResponseProtoP\001Z=github.com/InjectiveLabs/injective-core/injective-chain/types\242\002\003ITX\252\002\027Injective.Types.V1beta1\312\002\027Injective\\Types\\V1beta1\342\002#Injective\\Types\\V1beta1\\GPBMetadata\352\002\031Injective::Types::V1beta1' + _globals['_TXRESPONSEGENERICMESSAGE']._serialized_start=70 + _globals['_TXRESPONSEGENERICMESSAGE']._serialized_end=140 + _globals['_TXRESPONSEDATA']._serialized_start=142 + _globals['_TXRESPONSEDATA']._serialized_end=237 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2_grpc.py b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/types/v1beta1/tx_response_pb2_grpc.py +++ b/pyinjective/proto/injective/types/v1beta1/tx_response_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/wasmx/v1/events_pb2.py b/pyinjective/proto/injective/wasmx/v1/events_pb2.py index 6ff25bcf..c1e3da01 100644 --- a/pyinjective/proto/injective/wasmx/v1/events_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/events_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,22 +17,18 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1finjective/wasmx/v1/events.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x14gogoproto/gogo.proto"\xa9\x01\n\x16\x45ventContractExecution\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1a\n\x08response\x18\x02 \x01(\x0cR\x08response\x12\x1f\n\x0bother_error\x18\x03 \x01(\tR\notherError\x12\'\n\x0f\x65xecution_error\x18\x04 \x01(\tR\x0e\x65xecutionError"\xee\x02\n\x17\x45ventContractRegistered\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_price\x18\x03 \x01(\x04R\x08gasPrice\x12.\n\x13should_pin_contract\x18\x04 \x01(\x08R\x11shouldPinContract\x12\x30\n\x14is_migration_allowed\x18\x05 \x01(\x08R\x12isMigrationAllowed\x12\x17\n\x07\x63ode_id\x18\x06 \x01(\x04R\x06\x63odeId\x12#\n\radmin_address\x18\x07 \x01(\tR\x0c\x61\x64minAddress\x12\'\n\x0fgranter_address\x18\x08 \x01(\tR\x0egranterAddress\x12\x42\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x0b\x66undingMode"F\n\x19\x45ventContractDeregistered\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddressB\xdc\x01\n\x16\x63om.injective.wasmx.v1B\x0b\x45ventsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/wasmx/v1/events.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x14gogoproto/gogo.proto\"\xa9\x01\n\x16\x45ventContractExecution\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1a\n\x08response\x18\x02 \x01(\x0cR\x08response\x12\x1f\n\x0bother_error\x18\x03 \x01(\tR\notherError\x12\'\n\x0f\x65xecution_error\x18\x04 \x01(\tR\x0e\x65xecutionError\"\xee\x02\n\x17\x45ventContractRegistered\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_price\x18\x03 \x01(\x04R\x08gasPrice\x12.\n\x13should_pin_contract\x18\x04 \x01(\x08R\x11shouldPinContract\x12\x30\n\x14is_migration_allowed\x18\x05 \x01(\x08R\x12isMigrationAllowed\x12\x17\n\x07\x63ode_id\x18\x06 \x01(\x04R\x06\x63odeId\x12#\n\radmin_address\x18\x07 \x01(\tR\x0c\x61\x64minAddress\x12\'\n\x0fgranter_address\x18\x08 \x01(\tR\x0egranterAddress\x12\x42\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x0b\x66undingMode\"F\n\x19\x45ventContractDeregistered\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddressB\xdc\x01\n\x16\x63om.injective.wasmx.v1B\x0b\x45ventsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.wasmx.v1.events_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.events_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.injective.wasmx.v1B\013EventsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1" - ) - _globals["_EVENTCONTRACTEXECUTION"]._serialized_start = 145 - _globals["_EVENTCONTRACTEXECUTION"]._serialized_end = 314 - _globals["_EVENTCONTRACTREGISTERED"]._serialized_start = 317 - _globals["_EVENTCONTRACTREGISTERED"]._serialized_end = 683 - _globals["_EVENTCONTRACTDEREGISTERED"]._serialized_start = 685 - _globals["_EVENTCONTRACTDEREGISTERED"]._serialized_end = 755 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\013EventsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' + _globals['_EVENTCONTRACTEXECUTION']._serialized_start=145 + _globals['_EVENTCONTRACTEXECUTION']._serialized_end=314 + _globals['_EVENTCONTRACTREGISTERED']._serialized_start=317 + _globals['_EVENTCONTRACTREGISTERED']._serialized_end=683 + _globals['_EVENTCONTRACTDEREGISTERED']._serialized_start=685 + _globals['_EVENTCONTRACTDEREGISTERED']._serialized_end=755 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py +++ b/pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py b/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py index 3f30dec0..763dd63b 100644 --- a/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,24 +16,20 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n injective/wasmx/v1/genesis.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a\x14gogoproto/gogo.proto"\x92\x01\n\x1dRegisteredContractWithAddress\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12W\n\x13registered_contract\x18\x02 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContractR\x12registeredContract"\xb4\x01\n\x0cGenesisState\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12j\n\x14registered_contracts\x18\x02 \x03(\x0b\x32\x31.injective.wasmx.v1.RegisteredContractWithAddressB\x04\xc8\xde\x1f\x00R\x13registeredContractsB\xdd\x01\n\x16\x63om.injective.wasmx.v1B\x0cGenesisProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n injective/wasmx/v1/genesis.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a\x14gogoproto/gogo.proto\"\x92\x01\n\x1dRegisteredContractWithAddress\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12W\n\x13registered_contract\x18\x02 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContractR\x12registeredContract\"\xb4\x01\n\x0cGenesisState\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12j\n\x14registered_contracts\x18\x02 \x03(\x0b\x32\x31.injective.wasmx.v1.RegisteredContractWithAddressB\x04\xc8\xde\x1f\x00R\x13registeredContractsB\xdd\x01\n\x16\x63om.injective.wasmx.v1B\x0cGenesisProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.wasmx.v1.genesis_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.genesis_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.injective.wasmx.v1B\014GenesisProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1" - ) - _globals["_GENESISSTATE"].fields_by_name["params"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_GENESISSTATE"].fields_by_name["registered_contracts"]._loaded_options = None - _globals["_GENESISSTATE"].fields_by_name["registered_contracts"]._serialized_options = b"\310\336\037\000" - _globals["_REGISTEREDCONTRACTWITHADDRESS"]._serialized_start = 111 - _globals["_REGISTEREDCONTRACTWITHADDRESS"]._serialized_end = 257 - _globals["_GENESISSTATE"]._serialized_start = 260 - _globals["_GENESISSTATE"]._serialized_end = 440 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\014GenesisProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' + _globals['_GENESISSTATE'].fields_by_name['params']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_GENESISSTATE'].fields_by_name['registered_contracts']._loaded_options = None + _globals['_GENESISSTATE'].fields_by_name['registered_contracts']._serialized_options = b'\310\336\037\000' + _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_start=111 + _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_end=257 + _globals['_GENESISSTATE']._serialized_start=260 + _globals['_GENESISSTATE']._serialized_end=440 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py +++ b/pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py b/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py index 67e8999a..96a0f775 100644 --- a/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,60 +18,40 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n!injective/wasmx/v1/proposal.proto\x12\x12injective.wasmx.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a&cosmwasm/wasm/v1/proposal_legacy.proto\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto"\xae\x02\n#ContractRegistrationRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12y\n\x1d\x63ontract_registration_request\x18\x03 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1b\x63ontractRegistrationRequest:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)wasmx/ContractRegistrationRequestProposal"\xba\x02\n(BatchContractRegistrationRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12{\n\x1e\x63ontract_registration_requests\x18\x03 \x03(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1c\x63ontractRegistrationRequests:Y\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*.wasmx/BatchContractRegistrationRequestProposal"\xd1\x01\n#BatchContractDeregistrationProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\tcontracts\x18\x03 \x03(\tR\tcontracts:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)wasmx/BatchContractDeregistrationProposal"\xaf\x03\n\x1b\x43ontractRegistrationRequest\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_limit\x18\x02 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x03 \x01(\x04R\x08gasPrice\x12.\n\x13should_pin_contract\x18\x04 \x01(\x08R\x11shouldPinContract\x12\x30\n\x14is_migration_allowed\x18\x05 \x01(\x08R\x12isMigrationAllowed\x12\x17\n\x07\x63ode_id\x18\x06 \x01(\x04R\x06\x63odeId\x12#\n\radmin_address\x18\x07 \x01(\tR\x0c\x61\x64minAddress\x12\'\n\x0fgranter_address\x18\x08 \x01(\tR\x0egranterAddress\x12\x42\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x0b\x66undingMode:\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content"\xe2\x01\n\x16\x42\x61tchStoreCodeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12G\n\tproposals\x18\x03 \x03(\x0b\x32#.cosmwasm.wasm.v1.StoreCodeProposalB\x04\xc8\xde\x1f\x00R\tproposals:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasmx/BatchStoreCodeProposal*G\n\x0b\x46undingMode\x12\x0f\n\x0bUnspecified\x10\x00\x12\x0e\n\nSelfFunded\x10\x01\x12\r\n\tGrantOnly\x10\x02\x12\x08\n\x04\x44ual\x10\x03\x42\xde\x01\n\x16\x63om.injective.wasmx.v1B\rProposalProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/wasmx/v1/proposal.proto\x12\x12injective.wasmx.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a&cosmwasm/wasm/v1/proposal_legacy.proto\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"\xae\x02\n#ContractRegistrationRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12y\n\x1d\x63ontract_registration_request\x18\x03 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1b\x63ontractRegistrationRequest:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)wasmx/ContractRegistrationRequestProposal\"\xba\x02\n(BatchContractRegistrationRequestProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12{\n\x1e\x63ontract_registration_requests\x18\x03 \x03(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1c\x63ontractRegistrationRequests:Y\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*.wasmx/BatchContractRegistrationRequestProposal\"\xd1\x01\n#BatchContractDeregistrationProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\tcontracts\x18\x03 \x03(\tR\tcontracts:T\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*)wasmx/BatchContractDeregistrationProposal\"\xaf\x03\n\x1b\x43ontractRegistrationRequest\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_limit\x18\x02 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x03 \x01(\x04R\x08gasPrice\x12.\n\x13should_pin_contract\x18\x04 \x01(\x08R\x11shouldPinContract\x12\x30\n\x14is_migration_allowed\x18\x05 \x01(\x08R\x12isMigrationAllowed\x12\x17\n\x07\x63ode_id\x18\x06 \x01(\x04R\x06\x63odeId\x12#\n\radmin_address\x18\x07 \x01(\tR\x0c\x61\x64minAddress\x12\'\n\x0fgranter_address\x18\x08 \x01(\tR\x0egranterAddress\x12\x42\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x0b\x66undingMode:\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xe2\x01\n\x16\x42\x61tchStoreCodeProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12G\n\tproposals\x18\x03 \x03(\x0b\x32#.cosmwasm.wasm.v1.StoreCodeProposalB\x04\xc8\xde\x1f\x00R\tproposals:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasmx/BatchStoreCodeProposal*G\n\x0b\x46undingMode\x12\x0f\n\x0bUnspecified\x10\x00\x12\x0e\n\nSelfFunded\x10\x01\x12\r\n\tGrantOnly\x10\x02\x12\x08\n\x04\x44ual\x10\x03\x42\xde\x01\n\x16\x63om.injective.wasmx.v1B\rProposalProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.wasmx.v1.proposal_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.proposal_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.injective.wasmx.v1B\rProposalProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1" - ) - _globals["_CONTRACTREGISTRATIONREQUESTPROPOSAL"].fields_by_name[ - "contract_registration_request" - ]._loaded_options = None - _globals["_CONTRACTREGISTRATIONREQUESTPROPOSAL"].fields_by_name[ - "contract_registration_request" - ]._serialized_options = b"\310\336\037\000" - _globals["_CONTRACTREGISTRATIONREQUESTPROPOSAL"]._loaded_options = None - _globals["_CONTRACTREGISTRATIONREQUESTPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)wasmx/ContractRegistrationRequestProposal" - ) - _globals["_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL"].fields_by_name[ - "contract_registration_requests" - ]._loaded_options = None - _globals["_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL"].fields_by_name[ - "contract_registration_requests" - ]._serialized_options = b"\310\336\037\000" - _globals["_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL"]._loaded_options = None - _globals["_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*.wasmx/BatchContractRegistrationRequestProposal" - ) - _globals["_BATCHCONTRACTDEREGISTRATIONPROPOSAL"]._loaded_options = None - _globals["_BATCHCONTRACTDEREGISTRATIONPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)wasmx/BatchContractDeregistrationProposal" - ) - _globals["_CONTRACTREGISTRATIONREQUEST"]._loaded_options = None - _globals["_CONTRACTREGISTRATIONREQUEST"]._serialized_options = b"\312\264-\032cosmos.gov.v1beta1.Content" - _globals["_BATCHSTORECODEPROPOSAL"].fields_by_name["proposals"]._loaded_options = None - _globals["_BATCHSTORECODEPROPOSAL"].fields_by_name["proposals"]._serialized_options = b"\310\336\037\000" - _globals["_BATCHSTORECODEPROPOSAL"]._loaded_options = None - _globals["_BATCHSTORECODEPROPOSAL"]._serialized_options = ( - b"\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasmx/BatchStoreCodeProposal" - ) - _globals["_FUNDINGMODE"]._serialized_start = 1662 - _globals["_FUNDINGMODE"]._serialized_end = 1733 - _globals["_CONTRACTREGISTRATIONREQUESTPROPOSAL"]._serialized_start = 166 - _globals["_CONTRACTREGISTRATIONREQUESTPROPOSAL"]._serialized_end = 468 - _globals["_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL"]._serialized_start = 471 - _globals["_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL"]._serialized_end = 785 - _globals["_BATCHCONTRACTDEREGISTRATIONPROPOSAL"]._serialized_start = 788 - _globals["_BATCHCONTRACTDEREGISTRATIONPROPOSAL"]._serialized_end = 997 - _globals["_CONTRACTREGISTRATIONREQUEST"]._serialized_start = 1000 - _globals["_CONTRACTREGISTRATIONREQUEST"]._serialized_end = 1431 - _globals["_BATCHSTORECODEPROPOSAL"]._serialized_start = 1434 - _globals["_BATCHSTORECODEPROPOSAL"]._serialized_end = 1660 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\rProposalProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL'].fields_by_name['contract_registration_request']._loaded_options = None + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL'].fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._loaded_options = None + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)wasmx/ContractRegistrationRequestProposal' + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL'].fields_by_name['contract_registration_requests']._loaded_options = None + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL'].fields_by_name['contract_registration_requests']._serialized_options = b'\310\336\037\000' + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._loaded_options = None + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*.wasmx/BatchContractRegistrationRequestProposal' + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._loaded_options = None + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*)wasmx/BatchContractDeregistrationProposal' + _globals['_CONTRACTREGISTRATIONREQUEST']._loaded_options = None + _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_BATCHSTORECODEPROPOSAL'].fields_by_name['proposals']._loaded_options = None + _globals['_BATCHSTORECODEPROPOSAL'].fields_by_name['proposals']._serialized_options = b'\310\336\037\000' + _globals['_BATCHSTORECODEPROPOSAL']._loaded_options = None + _globals['_BATCHSTORECODEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasmx/BatchStoreCodeProposal' + _globals['_FUNDINGMODE']._serialized_start=1662 + _globals['_FUNDINGMODE']._serialized_end=1733 + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=166 + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=468 + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=471 + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=785 + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_start=788 + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_end=997 + _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_start=1000 + _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_end=1431 + _globals['_BATCHSTORECODEPROPOSAL']._serialized_start=1434 + _globals['_BATCHSTORECODEPROPOSAL']._serialized_end=1660 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py +++ b/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2.py b/pyinjective/proto/injective/wasmx/v1/query_pb2.py index faa5a417..2bba8f41 100644 --- a/pyinjective/proto/injective/wasmx/v1/query_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/query_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,44 +18,34 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1einjective/wasmx/v1/query.proto\x12\x12injective.wasmx.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a injective/wasmx/v1/genesis.proto\x1a\x14gogoproto/gogo.proto"\x19\n\x17QueryWasmxParamsRequest"T\n\x18QueryWasmxParamsResponse\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params"\x19\n\x17QueryModuleStateRequest"R\n\x18QueryModuleStateResponse\x12\x36\n\x05state\x18\x01 \x01(\x0b\x32 .injective.wasmx.v1.GenesisStateR\x05state"Q\n$QueryContractRegistrationInfoRequest\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress"k\n%QueryContractRegistrationInfoResponse\x12\x42\n\x08\x63ontract\x18\x01 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContractR\x08\x63ontract2\x84\x04\n\x05Query\x12\x8c\x01\n\x0bWasmxParams\x12+.injective.wasmx.v1.QueryWasmxParamsRequest\x1a,.injective.wasmx.v1.QueryWasmxParamsResponse""\x82\xd3\xe4\x93\x02\x1c\x12\x1a/injective/wasmx/v1/params\x12\xd1\x01\n\x18\x43ontractRegistrationInfo\x12\x38.injective.wasmx.v1.QueryContractRegistrationInfoRequest\x1a\x39.injective.wasmx.v1.QueryContractRegistrationInfoResponse"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/wasmx/v1/registration_info/{contract_address}\x12\x97\x01\n\x10WasmxModuleState\x12+.injective.wasmx.v1.QueryModuleStateRequest\x1a,.injective.wasmx.v1.QueryModuleStateResponse"(\x82\xd3\xe4\x93\x02"\x12 /injective/wasmx/v1/module_stateB\xdb\x01\n\x16\x63om.injective.wasmx.v1B\nQueryProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/query.proto\x12\x12injective.wasmx.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a injective/wasmx/v1/genesis.proto\x1a\x14gogoproto/gogo.proto\"\x19\n\x17QueryWasmxParamsRequest\"T\n\x18QueryWasmxParamsResponse\x12\x38\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x19\n\x17QueryModuleStateRequest\"R\n\x18QueryModuleStateResponse\x12\x36\n\x05state\x18\x01 \x01(\x0b\x32 .injective.wasmx.v1.GenesisStateR\x05state\"Q\n$QueryContractRegistrationInfoRequest\x12)\n\x10\x63ontract_address\x18\x01 \x01(\tR\x0f\x63ontractAddress\"k\n%QueryContractRegistrationInfoResponse\x12\x42\n\x08\x63ontract\x18\x01 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContractR\x08\x63ontract2\x84\x04\n\x05Query\x12\x8c\x01\n\x0bWasmxParams\x12+.injective.wasmx.v1.QueryWasmxParamsRequest\x1a,.injective.wasmx.v1.QueryWasmxParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/injective/wasmx/v1/params\x12\xd1\x01\n\x18\x43ontractRegistrationInfo\x12\x38.injective.wasmx.v1.QueryContractRegistrationInfoRequest\x1a\x39.injective.wasmx.v1.QueryContractRegistrationInfoResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/wasmx/v1/registration_info/{contract_address}\x12\x97\x01\n\x10WasmxModuleState\x12+.injective.wasmx.v1.QueryModuleStateRequest\x1a,.injective.wasmx.v1.QueryModuleStateResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /injective/wasmx/v1/module_stateB\xdb\x01\n\x16\x63om.injective.wasmx.v1B\nQueryProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.wasmx.v1.query_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.query_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.injective.wasmx.v1B\nQueryProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1" - ) - _globals["_QUERYWASMXPARAMSRESPONSE"].fields_by_name["params"]._loaded_options = None - _globals["_QUERYWASMXPARAMSRESPONSE"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_QUERY"].methods_by_name["WasmxParams"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "WasmxParams" - ]._serialized_options = b"\202\323\344\223\002\034\022\032/injective/wasmx/v1/params" - _globals["_QUERY"].methods_by_name["ContractRegistrationInfo"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "ContractRegistrationInfo" - ]._serialized_options = b"\202\323\344\223\002:\0228/injective/wasmx/v1/registration_info/{contract_address}" - _globals["_QUERY"].methods_by_name["WasmxModuleState"]._loaded_options = None - _globals["_QUERY"].methods_by_name[ - "WasmxModuleState" - ]._serialized_options = b'\202\323\344\223\002"\022 /injective/wasmx/v1/module_state' - _globals["_QUERYWASMXPARAMSREQUEST"]._serialized_start = 172 - _globals["_QUERYWASMXPARAMSREQUEST"]._serialized_end = 197 - _globals["_QUERYWASMXPARAMSRESPONSE"]._serialized_start = 199 - _globals["_QUERYWASMXPARAMSRESPONSE"]._serialized_end = 283 - _globals["_QUERYMODULESTATEREQUEST"]._serialized_start = 285 - _globals["_QUERYMODULESTATEREQUEST"]._serialized_end = 310 - _globals["_QUERYMODULESTATERESPONSE"]._serialized_start = 312 - _globals["_QUERYMODULESTATERESPONSE"]._serialized_end = 394 - _globals["_QUERYCONTRACTREGISTRATIONINFOREQUEST"]._serialized_start = 396 - _globals["_QUERYCONTRACTREGISTRATIONINFOREQUEST"]._serialized_end = 477 - _globals["_QUERYCONTRACTREGISTRATIONINFORESPONSE"]._serialized_start = 479 - _globals["_QUERYCONTRACTREGISTRATIONINFORESPONSE"]._serialized_end = 586 - _globals["_QUERY"]._serialized_start = 589 - _globals["_QUERY"]._serialized_end = 1105 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\nQueryProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' + _globals['_QUERYWASMXPARAMSRESPONSE'].fields_by_name['params']._loaded_options = None + _globals['_QUERYWASMXPARAMSRESPONSE'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_QUERY'].methods_by_name['WasmxParams']._loaded_options = None + _globals['_QUERY'].methods_by_name['WasmxParams']._serialized_options = b'\202\323\344\223\002\034\022\032/injective/wasmx/v1/params' + _globals['_QUERY'].methods_by_name['ContractRegistrationInfo']._loaded_options = None + _globals['_QUERY'].methods_by_name['ContractRegistrationInfo']._serialized_options = b'\202\323\344\223\002:\0228/injective/wasmx/v1/registration_info/{contract_address}' + _globals['_QUERY'].methods_by_name['WasmxModuleState']._loaded_options = None + _globals['_QUERY'].methods_by_name['WasmxModuleState']._serialized_options = b'\202\323\344\223\002\"\022 /injective/wasmx/v1/module_state' + _globals['_QUERYWASMXPARAMSREQUEST']._serialized_start=172 + _globals['_QUERYWASMXPARAMSREQUEST']._serialized_end=197 + _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_start=199 + _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_end=283 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=285 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=310 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=312 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=394 + _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_start=396 + _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_end=477 + _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_start=479 + _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_end=586 + _globals['_QUERY']._serialized_start=589 + _globals['_QUERY']._serialized_end=1105 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py index 509bb4d2..8f940368 100644 --- a/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py +++ b/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py @@ -6,7 +6,8 @@ class QueryStub(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def __init__(self, channel): """Constructor. @@ -15,91 +16,92 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.WasmxParams = channel.unary_unary( - "/injective.wasmx.v1.Query/WasmxParams", - request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, - _registered_method=True, - ) + '/injective.wasmx.v1.Query/WasmxParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, + _registered_method=True) self.ContractRegistrationInfo = channel.unary_unary( - "/injective.wasmx.v1.Query/ContractRegistrationInfo", - request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, - _registered_method=True, - ) + '/injective.wasmx.v1.Query/ContractRegistrationInfo', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, + _registered_method=True) self.WasmxModuleState = channel.unary_unary( - "/injective.wasmx.v1.Query/WasmxModuleState", - request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, - _registered_method=True, - ) + '/injective.wasmx.v1.Query/WasmxModuleState', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, + _registered_method=True) class QueryServicer(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ def WasmxParams(self, request, context): - """Retrieves wasmx params""" + """Retrieves wasmx params + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ContractRegistrationInfo(self, request, context): - """Retrieves contract registration info""" + """Retrieves contract registration info + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def WasmxModuleState(self, request, context): - """Retrieves the entire wasmx module's state""" + """Retrieves the entire wasmx module's state + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - "WasmxParams": grpc.unary_unary_rpc_method_handler( - servicer.WasmxParams, - request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.SerializeToString, - ), - "ContractRegistrationInfo": grpc.unary_unary_rpc_method_handler( - servicer.ContractRegistrationInfo, - request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.SerializeToString, - ), - "WasmxModuleState": grpc.unary_unary_rpc_method_handler( - servicer.WasmxModuleState, - request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, - ), + 'WasmxParams': grpc.unary_unary_rpc_method_handler( + servicer.WasmxParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.SerializeToString, + ), + 'ContractRegistrationInfo': grpc.unary_unary_rpc_method_handler( + servicer.ContractRegistrationInfo, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.SerializeToString, + ), + 'WasmxModuleState': grpc.unary_unary_rpc_method_handler( + servicer.WasmxModuleState, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("injective.wasmx.v1.Query", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'injective.wasmx.v1.Query', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("injective.wasmx.v1.Query", rpc_method_handlers) + server.add_registered_method_handlers('injective.wasmx.v1.Query', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Query(object): - """Query defines the gRPC querier service.""" + """Query defines the gRPC querier service. + """ @staticmethod - def WasmxParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def WasmxParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.wasmx.v1.Query/WasmxParams", + '/injective.wasmx.v1.Query/WasmxParams', injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, options, @@ -110,26 +112,23 @@ def WasmxParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ContractRegistrationInfo( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ContractRegistrationInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.wasmx.v1.Query/ContractRegistrationInfo", + '/injective.wasmx.v1.Query/ContractRegistrationInfo', injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, options, @@ -140,26 +139,23 @@ def ContractRegistrationInfo( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def WasmxModuleState( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def WasmxModuleState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.wasmx.v1.Query/WasmxModuleState", + '/injective.wasmx.v1.Query/WasmxModuleState', injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, options, @@ -170,5 +166,4 @@ def WasmxModuleState( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py index 6579c994..84f38d96 100644 --- a/pyinjective/proto/injective/wasmx/v1/tx_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -22,76 +21,60 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1binjective/wasmx/v1/tx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x11\x61mino/amino.proto"\xa6\x01\n\x18MsgExecuteContractCompat\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08\x63ontract\x18\x02 \x01(\tR\x08\x63ontract\x12\x10\n\x03msg\x18\x03 \x01(\tR\x03msg\x12\x14\n\x05\x66unds\x18\x04 \x01(\tR\x05\x66unds:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1ewasmx/MsgExecuteContractCompat"6\n MsgExecuteContractCompatResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta"\xe4\x01\n\x11MsgUpdateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_limit\x18\x03 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x04 \x01(\x04R\x08gasPrice\x12)\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01R\x0c\x61\x64minAddress:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasmx/MsgUpdateContract"\x1b\n\x19MsgUpdateContractResponse"\x83\x01\n\x13MsgActivateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress:)\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19wasmx/MsgActivateContract"\x1d\n\x1bMsgActivateContractResponse"\x87\x01\n\x15MsgDeactivateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasmx/MsgDeactivateContract"\x1f\n\x1dMsgDeactivateContractResponse"\xad\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:(\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x15wasmx/MsgUpdateParams"\x19\n\x17MsgUpdateParamsResponse"\xd3\x01\n\x13MsgRegisterContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12y\n\x1d\x63ontract_registration_request\x18\x02 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1b\x63ontractRegistrationRequest:)\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19wasmx/MsgRegisterContract"\x1d\n\x1bMsgRegisterContractResponse2\xc1\x05\n\x03Msg\x12t\n\x1cUpdateRegistryContractParams\x12%.injective.wasmx.v1.MsgUpdateContract\x1a-.injective.wasmx.v1.MsgUpdateContractResponse\x12t\n\x18\x41\x63tivateRegistryContract\x12\'.injective.wasmx.v1.MsgActivateContract\x1a/.injective.wasmx.v1.MsgActivateContractResponse\x12z\n\x1a\x44\x65\x61\x63tivateRegistryContract\x12).injective.wasmx.v1.MsgDeactivateContract\x1a\x31.injective.wasmx.v1.MsgDeactivateContractResponse\x12{\n\x15\x45xecuteContractCompat\x12,.injective.wasmx.v1.MsgExecuteContractCompat\x1a\x34.injective.wasmx.v1.MsgExecuteContractCompatResponse\x12`\n\x0cUpdateParams\x12#.injective.wasmx.v1.MsgUpdateParams\x1a+.injective.wasmx.v1.MsgUpdateParamsResponse\x12l\n\x10RegisterContract\x12\'.injective.wasmx.v1.MsgRegisterContract\x1a/.injective.wasmx.v1.MsgRegisterContractResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd8\x01\n\x16\x63om.injective.wasmx.v1B\x07TxProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1binjective/wasmx/v1/tx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x11\x61mino/amino.proto\"\xa6\x01\n\x18MsgExecuteContractCompat\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08\x63ontract\x18\x02 \x01(\tR\x08\x63ontract\x12\x10\n\x03msg\x18\x03 \x01(\tR\x03msg\x12\x14\n\x05\x66unds\x18\x04 \x01(\tR\x05\x66unds:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1ewasmx/MsgExecuteContractCompat\"6\n MsgExecuteContractCompatResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\"\xe4\x01\n\x11MsgUpdateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tgas_limit\x18\x03 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x04 \x01(\x04R\x08gasPrice\x12)\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01R\x0c\x61\x64minAddress:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasmx/MsgUpdateContract\"\x1b\n\x19MsgUpdateContractResponse\"\x83\x01\n\x13MsgActivateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress:)\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19wasmx/MsgActivateContract\"\x1d\n\x1bMsgActivateContractResponse\"\x87\x01\n\x15MsgDeactivateContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasmx/MsgDeactivateContract\"\x1f\n\x1dMsgDeactivateContractResponse\"\xad\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:(\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x15wasmx/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xd3\x01\n\x13MsgRegisterContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12y\n\x1d\x63ontract_registration_request\x18\x02 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00R\x1b\x63ontractRegistrationRequest:)\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19wasmx/MsgRegisterContract\"\x1d\n\x1bMsgRegisterContractResponse2\xc1\x05\n\x03Msg\x12t\n\x1cUpdateRegistryContractParams\x12%.injective.wasmx.v1.MsgUpdateContract\x1a-.injective.wasmx.v1.MsgUpdateContractResponse\x12t\n\x18\x41\x63tivateRegistryContract\x12\'.injective.wasmx.v1.MsgActivateContract\x1a/.injective.wasmx.v1.MsgActivateContractResponse\x12z\n\x1a\x44\x65\x61\x63tivateRegistryContract\x12).injective.wasmx.v1.MsgDeactivateContract\x1a\x31.injective.wasmx.v1.MsgDeactivateContractResponse\x12{\n\x15\x45xecuteContractCompat\x12,.injective.wasmx.v1.MsgExecuteContractCompat\x1a\x34.injective.wasmx.v1.MsgExecuteContractCompatResponse\x12`\n\x0cUpdateParams\x12#.injective.wasmx.v1.MsgUpdateParams\x1a+.injective.wasmx.v1.MsgUpdateParamsResponse\x12l\n\x10RegisterContract\x12\'.injective.wasmx.v1.MsgRegisterContract\x1a/.injective.wasmx.v1.MsgRegisterContractResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xd8\x01\n\x16\x63om.injective.wasmx.v1B\x07TxProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.wasmx.v1.tx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.tx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.injective.wasmx.v1B\007TxProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1" - ) - _globals["_MSGEXECUTECONTRACTCOMPAT"]._loaded_options = None - _globals["_MSGEXECUTECONTRACTCOMPAT"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\036wasmx/MsgExecuteContractCompat" - ) - _globals["_MSGUPDATECONTRACT"].fields_by_name["admin_address"]._loaded_options = None - _globals["_MSGUPDATECONTRACT"].fields_by_name["admin_address"]._serialized_options = b"\310\336\037\001" - _globals["_MSGUPDATECONTRACT"]._loaded_options = None - _globals["_MSGUPDATECONTRACT"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\027wasmx/MsgUpdateContract" - ) - _globals["_MSGACTIVATECONTRACT"]._loaded_options = None - _globals["_MSGACTIVATECONTRACT"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\031wasmx/MsgActivateContract" - ) - _globals["_MSGDEACTIVATECONTRACT"]._loaded_options = None - _globals["_MSGDEACTIVATECONTRACT"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\033wasmx/MsgDeactivateContract" - ) - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["authority"]._serialized_options = b"\322\264-\024cosmos.AddressString" - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"].fields_by_name["params"]._serialized_options = b"\310\336\037\000" - _globals["_MSGUPDATEPARAMS"]._loaded_options = None - _globals["_MSGUPDATEPARAMS"]._serialized_options = b"\202\347\260*\tauthority\212\347\260*\025wasmx/MsgUpdateParams" - _globals["_MSGREGISTERCONTRACT"].fields_by_name["contract_registration_request"]._loaded_options = None - _globals["_MSGREGISTERCONTRACT"].fields_by_name[ - "contract_registration_request" - ]._serialized_options = b"\310\336\037\000" - _globals["_MSGREGISTERCONTRACT"]._loaded_options = None - _globals["_MSGREGISTERCONTRACT"]._serialized_options = ( - b"\202\347\260*\006sender\212\347\260*\031wasmx/MsgRegisterContract" - ) - _globals["_MSG"]._loaded_options = None - _globals["_MSG"]._serialized_options = b"\200\347\260*\001" - _globals["_MSGEXECUTECONTRACTCOMPAT"]._serialized_start = 239 - _globals["_MSGEXECUTECONTRACTCOMPAT"]._serialized_end = 405 - _globals["_MSGEXECUTECONTRACTCOMPATRESPONSE"]._serialized_start = 407 - _globals["_MSGEXECUTECONTRACTCOMPATRESPONSE"]._serialized_end = 461 - _globals["_MSGUPDATECONTRACT"]._serialized_start = 464 - _globals["_MSGUPDATECONTRACT"]._serialized_end = 692 - _globals["_MSGUPDATECONTRACTRESPONSE"]._serialized_start = 694 - _globals["_MSGUPDATECONTRACTRESPONSE"]._serialized_end = 721 - _globals["_MSGACTIVATECONTRACT"]._serialized_start = 724 - _globals["_MSGACTIVATECONTRACT"]._serialized_end = 855 - _globals["_MSGACTIVATECONTRACTRESPONSE"]._serialized_start = 857 - _globals["_MSGACTIVATECONTRACTRESPONSE"]._serialized_end = 886 - _globals["_MSGDEACTIVATECONTRACT"]._serialized_start = 889 - _globals["_MSGDEACTIVATECONTRACT"]._serialized_end = 1024 - _globals["_MSGDEACTIVATECONTRACTRESPONSE"]._serialized_start = 1026 - _globals["_MSGDEACTIVATECONTRACTRESPONSE"]._serialized_end = 1057 - _globals["_MSGUPDATEPARAMS"]._serialized_start = 1060 - _globals["_MSGUPDATEPARAMS"]._serialized_end = 1233 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_start = 1235 - _globals["_MSGUPDATEPARAMSRESPONSE"]._serialized_end = 1260 - _globals["_MSGREGISTERCONTRACT"]._serialized_start = 1263 - _globals["_MSGREGISTERCONTRACT"]._serialized_end = 1474 - _globals["_MSGREGISTERCONTRACTRESPONSE"]._serialized_start = 1476 - _globals["_MSGREGISTERCONTRACTRESPONSE"]._serialized_end = 1505 - _globals["_MSG"]._serialized_start = 1508 - _globals["_MSG"]._serialized_end = 2213 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\007TxProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' + _globals['_MSGEXECUTECONTRACTCOMPAT']._loaded_options = None + _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036wasmx/MsgExecuteContractCompat' + _globals['_MSGUPDATECONTRACT'].fields_by_name['admin_address']._loaded_options = None + _globals['_MSGUPDATECONTRACT'].fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' + _globals['_MSGUPDATECONTRACT']._loaded_options = None + _globals['_MSGUPDATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasmx/MsgUpdateContract' + _globals['_MSGACTIVATECONTRACT']._loaded_options = None + _globals['_MSGACTIVATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\031wasmx/MsgActivateContract' + _globals['_MSGDEACTIVATECONTRACT']._loaded_options = None + _globals['_MSGDEACTIVATECONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasmx/MsgDeactivateContract' + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None + _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATEPARAMS']._loaded_options = None + _globals['_MSGUPDATEPARAMS']._serialized_options = b'\202\347\260*\tauthority\212\347\260*\025wasmx/MsgUpdateParams' + _globals['_MSGREGISTERCONTRACT'].fields_by_name['contract_registration_request']._loaded_options = None + _globals['_MSGREGISTERCONTRACT'].fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' + _globals['_MSGREGISTERCONTRACT']._loaded_options = None + _globals['_MSGREGISTERCONTRACT']._serialized_options = b'\202\347\260*\006sender\212\347\260*\031wasmx/MsgRegisterContract' + _globals['_MSG']._loaded_options = None + _globals['_MSG']._serialized_options = b'\200\347\260*\001' + _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_start=239 + _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_end=405 + _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_start=407 + _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_end=461 + _globals['_MSGUPDATECONTRACT']._serialized_start=464 + _globals['_MSGUPDATECONTRACT']._serialized_end=692 + _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_start=694 + _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_end=721 + _globals['_MSGACTIVATECONTRACT']._serialized_start=724 + _globals['_MSGACTIVATECONTRACT']._serialized_end=855 + _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_start=857 + _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_end=886 + _globals['_MSGDEACTIVATECONTRACT']._serialized_start=889 + _globals['_MSGDEACTIVATECONTRACT']._serialized_end=1024 + _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_start=1026 + _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_end=1057 + _globals['_MSGUPDATEPARAMS']._serialized_start=1060 + _globals['_MSGUPDATEPARAMS']._serialized_end=1233 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1235 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1260 + _globals['_MSGREGISTERCONTRACT']._serialized_start=1263 + _globals['_MSGREGISTERCONTRACT']._serialized_end=1474 + _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_start=1476 + _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_end=1505 + _globals['_MSG']._serialized_start=1508 + _globals['_MSG']._serialized_end=2213 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py index 5440898b..5f2c8a9a 100644 --- a/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py @@ -6,7 +6,8 @@ class MsgStub(object): - """Msg defines the wasmx Msg service.""" + """Msg defines the wasmx Msg service. + """ def __init__(self, channel): """Constructor. @@ -15,142 +16,137 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.UpdateRegistryContractParams = channel.unary_unary( - "/injective.wasmx.v1.Msg/UpdateRegistryContractParams", - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, - _registered_method=True, - ) + '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, + _registered_method=True) self.ActivateRegistryContract = channel.unary_unary( - "/injective.wasmx.v1.Msg/ActivateRegistryContract", - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, - _registered_method=True, - ) + '/injective.wasmx.v1.Msg/ActivateRegistryContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, + _registered_method=True) self.DeactivateRegistryContract = channel.unary_unary( - "/injective.wasmx.v1.Msg/DeactivateRegistryContract", - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, - _registered_method=True, - ) + '/injective.wasmx.v1.Msg/DeactivateRegistryContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, + _registered_method=True) self.ExecuteContractCompat = channel.unary_unary( - "/injective.wasmx.v1.Msg/ExecuteContractCompat", - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, - _registered_method=True, - ) + '/injective.wasmx.v1.Msg/ExecuteContractCompat', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( - "/injective.wasmx.v1.Msg/UpdateParams", - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - _registered_method=True, - ) + '/injective.wasmx.v1.Msg/UpdateParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + _registered_method=True) self.RegisterContract = channel.unary_unary( - "/injective.wasmx.v1.Msg/RegisterContract", - request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, - response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, - _registered_method=True, - ) + '/injective.wasmx.v1.Msg/RegisterContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, + _registered_method=True) class MsgServicer(object): - """Msg defines the wasmx Msg service.""" + """Msg defines the wasmx Msg service. + """ def UpdateRegistryContractParams(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ActivateRegistryContract(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def DeactivateRegistryContract(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ExecuteContractCompat(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def UpdateParams(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def RegisterContract(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { - "UpdateRegistryContractParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateRegistryContractParams, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.SerializeToString, - ), - "ActivateRegistryContract": grpc.unary_unary_rpc_method_handler( - servicer.ActivateRegistryContract, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.SerializeToString, - ), - "DeactivateRegistryContract": grpc.unary_unary_rpc_method_handler( - servicer.DeactivateRegistryContract, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.SerializeToString, - ), - "ExecuteContractCompat": grpc.unary_unary_rpc_method_handler( - servicer.ExecuteContractCompat, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.SerializeToString, - ), - "UpdateParams": grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - "RegisterContract": grpc.unary_unary_rpc_method_handler( - servicer.RegisterContract, - request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.FromString, - response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.SerializeToString, - ), + 'UpdateRegistryContractParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateRegistryContractParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.SerializeToString, + ), + 'ActivateRegistryContract': grpc.unary_unary_rpc_method_handler( + servicer.ActivateRegistryContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.SerializeToString, + ), + 'DeactivateRegistryContract': grpc.unary_unary_rpc_method_handler( + servicer.DeactivateRegistryContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.SerializeToString, + ), + 'ExecuteContractCompat': grpc.unary_unary_rpc_method_handler( + servicer.ExecuteContractCompat, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'RegisterContract': grpc.unary_unary_rpc_method_handler( + servicer.RegisterContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("injective.wasmx.v1.Msg", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'injective.wasmx.v1.Msg', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("injective.wasmx.v1.Msg", rpc_method_handlers) + server.add_registered_method_handlers('injective.wasmx.v1.Msg', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class Msg(object): - """Msg defines the wasmx Msg service.""" + """Msg defines the wasmx Msg service. + """ @staticmethod - def UpdateRegistryContractParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateRegistryContractParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.wasmx.v1.Msg/UpdateRegistryContractParams", + '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, options, @@ -161,26 +157,23 @@ def UpdateRegistryContractParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ActivateRegistryContract( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ActivateRegistryContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.wasmx.v1.Msg/ActivateRegistryContract", + '/injective.wasmx.v1.Msg/ActivateRegistryContract', injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, options, @@ -191,26 +184,23 @@ def ActivateRegistryContract( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def DeactivateRegistryContract( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def DeactivateRegistryContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.wasmx.v1.Msg/DeactivateRegistryContract", + '/injective.wasmx.v1.Msg/DeactivateRegistryContract', injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, options, @@ -221,26 +211,23 @@ def DeactivateRegistryContract( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ExecuteContractCompat( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ExecuteContractCompat(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.wasmx.v1.Msg/ExecuteContractCompat", + '/injective.wasmx.v1.Msg/ExecuteContractCompat', injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, options, @@ -251,26 +238,23 @@ def ExecuteContractCompat( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def UpdateParams( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.wasmx.v1.Msg/UpdateParams", + '/injective.wasmx.v1.Msg/UpdateParams', injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, options, @@ -281,26 +265,23 @@ def UpdateParams( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def RegisterContract( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def RegisterContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): return grpc.experimental.unary_unary( request, target, - "/injective.wasmx.v1.Msg/RegisterContract", + '/injective.wasmx.v1.Msg/RegisterContract', injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, options, @@ -311,5 +292,4 @@ def RegisterContract( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py index 7fb7507a..074c9fd6 100644 --- a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py +++ b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,34 +18,28 @@ from pyinjective.proto.injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1einjective/wasmx/v1/wasmx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\x1a!injective/wasmx/v1/proposal.proto"\xed\x02\n\x06Params\x12\x30\n\x14is_execution_enabled\x18\x01 \x01(\x08R\x12isExecutionEnabled\x12\x38\n\x19max_begin_block_total_gas\x18\x02 \x01(\x04R\x15maxBeginBlockTotalGas\x12\x33\n\x16max_contract_gas_limit\x18\x03 \x01(\x04R\x13maxContractGasLimit\x12"\n\rmin_gas_price\x18\x04 \x01(\x04R\x0bminGasPrice\x12\x86\x01\n\x18register_contract_access\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB,\xc8\xde\x1f\x00\xf2\xde\x1f\x1fyaml:"register_contract_access"\xa8\xe7\xb0*\x01R\x16registerContractAccess:\x15\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0cwasmx/Params"\xb0\x02\n\x12RegisteredContract\x12\x1b\n\tgas_limit\x18\x01 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x02 \x01(\x04R\x08gasPrice\x12#\n\ris_executable\x18\x03 \x01(\x08R\x0cisExecutable\x12\x1d\n\x07\x63ode_id\x18\x04 \x01(\x04\x42\x04\xc8\xde\x1f\x01R\x06\x63odeId\x12)\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01R\x0c\x61\x64minAddress\x12-\n\x0fgranter_address\x18\x06 \x01(\tB\x04\xc8\xde\x1f\x01R\x0egranterAddress\x12<\n\tfund_mode\x18\x07 \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x08\x66undMode:\x04\xe8\xa0\x1f\x01\x42\xdb\x01\n\x16\x63om.injective.wasmx.v1B\nWasmxProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/wasmx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\x1a!injective/wasmx/v1/proposal.proto\"\xed\x02\n\x06Params\x12\x30\n\x14is_execution_enabled\x18\x01 \x01(\x08R\x12isExecutionEnabled\x12\x38\n\x19max_begin_block_total_gas\x18\x02 \x01(\x04R\x15maxBeginBlockTotalGas\x12\x33\n\x16max_contract_gas_limit\x18\x03 \x01(\x04R\x13maxContractGasLimit\x12\"\n\rmin_gas_price\x18\x04 \x01(\x04R\x0bminGasPrice\x12\x86\x01\n\x18register_contract_access\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB,\xc8\xde\x1f\x00\xf2\xde\x1f\x1fyaml:\"register_contract_access\"\xa8\xe7\xb0*\x01R\x16registerContractAccess:\x15\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0cwasmx/Params\"\xb0\x02\n\x12RegisteredContract\x12\x1b\n\tgas_limit\x18\x01 \x01(\x04R\x08gasLimit\x12\x1b\n\tgas_price\x18\x02 \x01(\x04R\x08gasPrice\x12#\n\ris_executable\x18\x03 \x01(\x08R\x0cisExecutable\x12\x1d\n\x07\x63ode_id\x18\x04 \x01(\x04\x42\x04\xc8\xde\x1f\x01R\x06\x63odeId\x12)\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01R\x0c\x61\x64minAddress\x12-\n\x0fgranter_address\x18\x06 \x01(\tB\x04\xc8\xde\x1f\x01R\x0egranterAddress\x12<\n\tfund_mode\x18\x07 \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingModeR\x08\x66undMode:\x04\xe8\xa0\x1f\x01\x42\xdb\x01\n\x16\x63om.injective.wasmx.v1B\nWasmxProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\xa2\x02\x03IWX\xaa\x02\x12Injective.Wasmx.V1\xca\x02\x12Injective\\Wasmx\\V1\xe2\x02\x1eInjective\\Wasmx\\V1\\GPBMetadata\xea\x02\x14Injective::Wasmx::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "injective.wasmx.v1.wasmx_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.wasmx_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.injective.wasmx.v1B\nWasmxProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1" - ) - _globals["_PARAMS"].fields_by_name["register_contract_access"]._loaded_options = None - _globals["_PARAMS"].fields_by_name[ - "register_contract_access" - ]._serialized_options = b'\310\336\037\000\362\336\037\037yaml:"register_contract_access"\250\347\260*\001' - _globals["_PARAMS"]._loaded_options = None - _globals["_PARAMS"]._serialized_options = b"\350\240\037\001\212\347\260*\014wasmx/Params" - _globals["_REGISTEREDCONTRACT"].fields_by_name["code_id"]._loaded_options = None - _globals["_REGISTEREDCONTRACT"].fields_by_name["code_id"]._serialized_options = b"\310\336\037\001" - _globals["_REGISTEREDCONTRACT"].fields_by_name["admin_address"]._loaded_options = None - _globals["_REGISTEREDCONTRACT"].fields_by_name["admin_address"]._serialized_options = b"\310\336\037\001" - _globals["_REGISTEREDCONTRACT"].fields_by_name["granter_address"]._loaded_options = None - _globals["_REGISTEREDCONTRACT"].fields_by_name["granter_address"]._serialized_options = b"\310\336\037\001" - _globals["_REGISTEREDCONTRACT"]._loaded_options = None - _globals["_REGISTEREDCONTRACT"]._serialized_options = b"\350\240\037\001" - _globals["_PARAMS"]._serialized_start = 161 - _globals["_PARAMS"]._serialized_end = 526 - _globals["_REGISTEREDCONTRACT"]._serialized_start = 529 - _globals["_REGISTEREDCONTRACT"]._serialized_end = 833 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.wasmx.v1B\nWasmxProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types\242\002\003IWX\252\002\022Injective.Wasmx.V1\312\002\022Injective\\Wasmx\\V1\342\002\036Injective\\Wasmx\\V1\\GPBMetadata\352\002\024Injective::Wasmx::V1' + _globals['_PARAMS'].fields_by_name['register_contract_access']._loaded_options = None + _globals['_PARAMS'].fields_by_name['register_contract_access']._serialized_options = b'\310\336\037\000\362\336\037\037yaml:\"register_contract_access\"\250\347\260*\001' + _globals['_PARAMS']._loaded_options = None + _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\014wasmx/Params' + _globals['_REGISTEREDCONTRACT'].fields_by_name['code_id']._loaded_options = None + _globals['_REGISTEREDCONTRACT'].fields_by_name['code_id']._serialized_options = b'\310\336\037\001' + _globals['_REGISTEREDCONTRACT'].fields_by_name['admin_address']._loaded_options = None + _globals['_REGISTEREDCONTRACT'].fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' + _globals['_REGISTEREDCONTRACT'].fields_by_name['granter_address']._loaded_options = None + _globals['_REGISTEREDCONTRACT'].fields_by_name['granter_address']._serialized_options = b'\310\336\037\001' + _globals['_REGISTEREDCONTRACT']._loaded_options = None + _globals['_REGISTEREDCONTRACT']._serialized_options = b'\350\240\037\001' + _globals['_PARAMS']._serialized_start=161 + _globals['_PARAMS']._serialized_end=526 + _globals['_REGISTEREDCONTRACT']._serialized_start=529 + _globals['_REGISTEREDCONTRACT']._serialized_end=833 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py +++ b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc + diff --git a/pyinjective/proto/tendermint/abci/types_pb2.py b/pyinjective/proto/tendermint/abci/types_pb2.py index e7a68289..f097f91e 100644 --- a/pyinjective/proto/tendermint/abci/types_pb2.py +++ b/pyinjective/proto/tendermint/abci/types_pb2.py @@ -7,7 +7,6 @@ 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() @@ -21,192 +20,180 @@ from pyinjective.proto.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"\xbf\t\n\x07Request\x12\x32\n\x04\x65\x63ho\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.RequestEchoH\x00R\x04\x65\x63ho\x12\x35\n\x05\x66lush\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.RequestFlushH\x00R\x05\x66lush\x12\x32\n\x04info\x18\x03 \x01(\x0b\x32\x1c.tendermint.abci.RequestInfoH\x00R\x04info\x12\x42\n\ninit_chain\x18\x05 \x01(\x0b\x32!.tendermint.abci.RequestInitChainH\x00R\tinitChain\x12\x35\n\x05query\x18\x06 \x01(\x0b\x32\x1d.tendermint.abci.RequestQueryH\x00R\x05query\x12<\n\x08\x63heck_tx\x18\x08 \x01(\x0b\x32\x1f.tendermint.abci.RequestCheckTxH\x00R\x07\x63heckTx\x12\x38\n\x06\x63ommit\x18\x0b \x01(\x0b\x32\x1e.tendermint.abci.RequestCommitH\x00R\x06\x63ommit\x12N\n\x0elist_snapshots\x18\x0c \x01(\x0b\x32%.tendermint.abci.RequestListSnapshotsH\x00R\rlistSnapshots\x12N\n\x0eoffer_snapshot\x18\r \x01(\x0b\x32%.tendermint.abci.RequestOfferSnapshotH\x00R\rofferSnapshot\x12[\n\x13load_snapshot_chunk\x18\x0e \x01(\x0b\x32).tendermint.abci.RequestLoadSnapshotChunkH\x00R\x11loadSnapshotChunk\x12^\n\x14\x61pply_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.RequestApplySnapshotChunkH\x00R\x12\x61pplySnapshotChunk\x12T\n\x10prepare_proposal\x18\x10 \x01(\x0b\x32\'.tendermint.abci.RequestPrepareProposalH\x00R\x0fprepareProposal\x12T\n\x10process_proposal\x18\x11 \x01(\x0b\x32\'.tendermint.abci.RequestProcessProposalH\x00R\x0fprocessProposal\x12\x45\n\x0b\x65xtend_vote\x18\x12 \x01(\x0b\x32".tendermint.abci.RequestExtendVoteH\x00R\nextendVote\x12\x61\n\x15verify_vote_extension\x18\x13 \x01(\x0b\x32+.tendermint.abci.RequestVerifyVoteExtensionH\x00R\x13verifyVoteExtension\x12N\n\x0e\x66inalize_block\x18\x14 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockH\x00R\rfinalizeBlockB\x07\n\x05valueJ\x04\x08\x04\x10\x05J\x04\x08\x07\x10\x08J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b"\'\n\x0bRequestEcho\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"\x0e\n\x0cRequestFlush"\x90\x01\n\x0bRequestInfo\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12#\n\rblock_version\x18\x02 \x01(\x04R\x0c\x62lockVersion\x12\x1f\n\x0bp2p_version\x18\x03 \x01(\x04R\np2pVersion\x12!\n\x0c\x61\x62\x63i_version\x18\x04 \x01(\tR\x0b\x61\x62\x63iVersion"\xcc\x02\n\x10RequestInitChain\x12\x38\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x19\n\x08\x63hain_id\x18\x02 \x01(\tR\x07\x63hainId\x12L\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x0f\x63onsensusParams\x12\x46\n\nvalidators\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\nvalidators\x12&\n\x0f\x61pp_state_bytes\x18\x05 \x01(\x0cR\rappStateBytes\x12%\n\x0einitial_height\x18\x06 \x01(\x03R\rinitialHeight"d\n\x0cRequestQuery\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04path\x18\x02 \x01(\tR\x04path\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x14\n\x05prove\x18\x04 \x01(\x08R\x05prove"R\n\x0eRequestCheckTx\x12\x0e\n\x02tx\x18\x01 \x01(\x0cR\x02tx\x12\x30\n\x04type\x18\x02 \x01(\x0e\x32\x1c.tendermint.abci.CheckTxTypeR\x04type"\x0f\n\rRequestCommit"\x16\n\x14RequestListSnapshots"h\n\x14RequestOfferSnapshot\x12\x35\n\x08snapshot\x18\x01 \x01(\x0b\x32\x19.tendermint.abci.SnapshotR\x08snapshot\x12\x19\n\x08\x61pp_hash\x18\x02 \x01(\x0cR\x07\x61ppHash"`\n\x18RequestLoadSnapshotChunk\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x14\n\x05\x63hunk\x18\x03 \x01(\rR\x05\x63hunk"_\n\x19RequestApplySnapshotChunk\x12\x14\n\x05index\x18\x01 \x01(\rR\x05index\x12\x14\n\x05\x63hunk\x18\x02 \x01(\x0cR\x05\x63hunk\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender"\x98\x03\n\x16RequestPrepareProposal\x12 \n\x0cmax_tx_bytes\x18\x01 \x01(\x03R\nmaxTxBytes\x12\x10\n\x03txs\x18\x02 \x03(\x0cR\x03txs\x12U\n\x11local_last_commit\x18\x03 \x01(\x0b\x32#.tendermint.abci.ExtendedCommitInfoB\x04\xc8\xde\x1f\x00R\x0flocalLastCommit\x12\x44\n\x0bmisbehavior\x18\x04 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress"\x88\x03\n\x16RequestProcessProposal\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\x12S\n\x14proposed_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x12proposedLastCommit\x12\x44\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress"\x83\x03\n\x11RequestExtendVote\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x10\n\x03txs\x18\x04 \x03(\x0cR\x03txs\x12S\n\x14proposed_last_commit\x18\x05 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x12proposedLastCommit\x12\x44\n\x0bmisbehavior\x18\x06 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress"\x9c\x01\n\x1aRequestVerifyVoteExtension\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12%\n\x0evote_extension\x18\x04 \x01(\x0cR\rvoteExtension"\x84\x03\n\x14RequestFinalizeBlock\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\x12Q\n\x13\x64\x65\x63ided_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x11\x64\x65\x63idedLastCommit\x12\x44\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress"\x94\n\n\x08Response\x12\x42\n\texception\x18\x01 \x01(\x0b\x32".tendermint.abci.ResponseExceptionH\x00R\texception\x12\x33\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00R\x04\x65\x63ho\x12\x36\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00R\x05\x66lush\x12\x33\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00R\x04info\x12\x43\n\ninit_chain\x18\x06 \x01(\x0b\x32".tendermint.abci.ResponseInitChainH\x00R\tinitChain\x12\x36\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00R\x05query\x12=\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00R\x07\x63heckTx\x12\x39\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00R\x06\x63ommit\x12O\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00R\rlistSnapshots\x12O\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00R\rofferSnapshot\x12\\\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00R\x11loadSnapshotChunk\x12_\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00R\x12\x61pplySnapshotChunk\x12U\n\x10prepare_proposal\x18\x11 \x01(\x0b\x32(.tendermint.abci.ResponsePrepareProposalH\x00R\x0fprepareProposal\x12U\n\x10process_proposal\x18\x12 \x01(\x0b\x32(.tendermint.abci.ResponseProcessProposalH\x00R\x0fprocessProposal\x12\x46\n\x0b\x65xtend_vote\x18\x13 \x01(\x0b\x32#.tendermint.abci.ResponseExtendVoteH\x00R\nextendVote\x12\x62\n\x15verify_vote_extension\x18\x14 \x01(\x0b\x32,.tendermint.abci.ResponseVerifyVoteExtensionH\x00R\x13verifyVoteExtension\x12O\n\x0e\x66inalize_block\x18\x15 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockH\x00R\rfinalizeBlockB\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\x14\n\x05\x65rror\x18\x01 \x01(\tR\x05\x65rror"(\n\x0cResponseEcho\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"\x0f\n\rResponseFlush"\xb8\x01\n\x0cResponseInfo\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\tR\x04\x64\x61ta\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12\x1f\n\x0b\x61pp_version\x18\x03 \x01(\x04R\nappVersion\x12*\n\x11last_block_height\x18\x04 \x01(\x03R\x0flastBlockHeight\x12-\n\x13last_block_app_hash\x18\x05 \x01(\x0cR\x10lastBlockAppHash"\xc4\x01\n\x11ResponseInitChain\x12L\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x0f\x63onsensusParams\x12\x46\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\nvalidators\x12\x19\n\x08\x61pp_hash\x18\x03 \x01(\x0cR\x07\x61ppHash"\xf7\x01\n\rResponseQuery\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x14\n\x05index\x18\x05 \x01(\x03R\x05index\x12\x10\n\x03key\x18\x06 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x07 \x01(\x0cR\x05value\x12\x38\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOpsR\x08proofOps\x12\x16\n\x06height\x18\t \x01(\x03R\x06height\x12\x1c\n\tcodespace\x18\n \x01(\tR\tcodespace"\xaa\x02\n\x0fResponseCheckTx\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12H\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12\x1c\n\tcodespace\x18\x08 \x01(\tR\tcodespaceJ\x04\x08\t\x10\x0cR\x06senderR\x08priorityR\rmempool_error"A\n\x0eResponseCommit\x12#\n\rretain_height\x18\x03 \x01(\x03R\x0cretainHeightJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03"P\n\x15ResponseListSnapshots\x12\x37\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.SnapshotR\tsnapshots"\xbe\x01\n\x15ResponseOfferSnapshot\x12\x45\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.ResultR\x06result"^\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"1\n\x19ResponseLoadSnapshotChunk\x12\x14\n\x05\x63hunk\x18\x01 \x01(\x0cR\x05\x63hunk"\x98\x02\n\x1aResponseApplySnapshotChunk\x12J\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.ResultR\x06result\x12%\n\x0erefetch_chunks\x18\x02 \x03(\rR\rrefetchChunks\x12%\n\x0ereject_senders\x18\x03 \x03(\tR\rrejectSenders"`\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\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs"\xa1\x01\n\x17ResponseProcessProposal\x12O\n\x06status\x18\x01 \x01(\x0e\x32\x37.tendermint.abci.ResponseProcessProposal.ProposalStatusR\x06status"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%\n\x0evote_extension\x18\x01 \x01(\x0cR\rvoteExtension"\xa5\x01\n\x1bResponseVerifyVoteExtension\x12Q\n\x06status\x18\x01 \x01(\x0e\x32\x39.tendermint.abci.ResponseVerifyVoteExtension.VerifyStatusR\x06status"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"\xea\x02\n\x15ResponseFinalizeBlock\x12H\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12<\n\ntx_results\x18\x02 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResultR\ttxResults\x12S\n\x11validator_updates\x18\x03 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\x10validatorUpdates\x12Y\n\x17\x63onsensus_param_updates\x18\x04 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x15\x63onsensusParamUpdates\x12\x19\n\x08\x61pp_hash\x18\x05 \x01(\x0cR\x07\x61ppHash"Y\n\nCommitInfo\x12\x14\n\x05round\x18\x01 \x01(\x05R\x05round\x12\x35\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00R\x05votes"i\n\x12\x45xtendedCommitInfo\x12\x14\n\x05round\x18\x01 \x01(\x05R\x05round\x12=\n\x05votes\x18\x02 \x03(\x0b\x32!.tendermint.abci.ExtendedVoteInfoB\x04\xc8\xde\x1f\x00R\x05votes"z\n\x05\x45vent\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12]\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitemptyR\nattributes"N\n\x0e\x45ventAttribute\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x14\n\x05index\x18\x03 \x01(\x08R\x05index"\x80\x02\n\x0c\x45xecTxResult\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12H\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12\x1c\n\tcodespace\x18\x08 \x01(\tR\tcodespace"\x85\x01\n\x08TxResult\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05index\x18\x02 \x01(\rR\x05index\x12\x0e\n\x02tx\x18\x03 \x01(\x0cR\x02tx\x12;\n\x06result\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ExecTxResultB\x04\xc8\xde\x1f\x00R\x06result";\n\tValidator\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0cR\x07\x61\x64\x64ress\x12\x14\n\x05power\x18\x03 \x01(\x03R\x05power"d\n\x0fValidatorUpdate\x12;\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12\x14\n\x05power\x18\x02 \x01(\x03R\x05power"\x93\x01\n\x08VoteInfo\x12>\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12\x41\n\rblock_id_flag\x18\x03 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlagJ\x04\x08\x02\x10\x03"\xf3\x01\n\x10\x45xtendedVoteInfo\x12>\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12%\n\x0evote_extension\x18\x03 \x01(\x0cR\rvoteExtension\x12/\n\x13\x65xtension_signature\x18\x04 \x01(\x0cR\x12\x65xtensionSignature\x12\x41\n\rblock_id_flag\x18\x05 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlagJ\x04\x08\x02\x10\x03"\x83\x02\n\x0bMisbehavior\x12\x34\n\x04type\x18\x01 \x01(\x0e\x32 .tendermint.abci.MisbehaviorTypeR\x04type\x12>\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12,\n\x12total_voting_power\x18\x05 \x01(\x03R\x10totalVotingPower"\x82\x01\n\x08Snapshot\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x16\n\x06\x63hunks\x18\x03 \x01(\rR\x06\x63hunks\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x1a\n\x08metadata\x18\x05 \x01(\x0cR\x08metadata*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\xa7\x01\n\x13\x63om.tendermint.abciB\nTypesProtoP\x01Z\'github.com/cometbft/cometbft/abci/types\xa2\x02\x03TAX\xaa\x02\x0fTendermint.Abci\xca\x02\x0fTendermint\\Abci\xe2\x02\x1bTendermint\\Abci\\GPBMetadata\xea\x02\x10Tendermint::Abcib\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\"\xbf\t\n\x07Request\x12\x32\n\x04\x65\x63ho\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.RequestEchoH\x00R\x04\x65\x63ho\x12\x35\n\x05\x66lush\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.RequestFlushH\x00R\x05\x66lush\x12\x32\n\x04info\x18\x03 \x01(\x0b\x32\x1c.tendermint.abci.RequestInfoH\x00R\x04info\x12\x42\n\ninit_chain\x18\x05 \x01(\x0b\x32!.tendermint.abci.RequestInitChainH\x00R\tinitChain\x12\x35\n\x05query\x18\x06 \x01(\x0b\x32\x1d.tendermint.abci.RequestQueryH\x00R\x05query\x12<\n\x08\x63heck_tx\x18\x08 \x01(\x0b\x32\x1f.tendermint.abci.RequestCheckTxH\x00R\x07\x63heckTx\x12\x38\n\x06\x63ommit\x18\x0b \x01(\x0b\x32\x1e.tendermint.abci.RequestCommitH\x00R\x06\x63ommit\x12N\n\x0elist_snapshots\x18\x0c \x01(\x0b\x32%.tendermint.abci.RequestListSnapshotsH\x00R\rlistSnapshots\x12N\n\x0eoffer_snapshot\x18\r \x01(\x0b\x32%.tendermint.abci.RequestOfferSnapshotH\x00R\rofferSnapshot\x12[\n\x13load_snapshot_chunk\x18\x0e \x01(\x0b\x32).tendermint.abci.RequestLoadSnapshotChunkH\x00R\x11loadSnapshotChunk\x12^\n\x14\x61pply_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.RequestApplySnapshotChunkH\x00R\x12\x61pplySnapshotChunk\x12T\n\x10prepare_proposal\x18\x10 \x01(\x0b\x32\'.tendermint.abci.RequestPrepareProposalH\x00R\x0fprepareProposal\x12T\n\x10process_proposal\x18\x11 \x01(\x0b\x32\'.tendermint.abci.RequestProcessProposalH\x00R\x0fprocessProposal\x12\x45\n\x0b\x65xtend_vote\x18\x12 \x01(\x0b\x32\".tendermint.abci.RequestExtendVoteH\x00R\nextendVote\x12\x61\n\x15verify_vote_extension\x18\x13 \x01(\x0b\x32+.tendermint.abci.RequestVerifyVoteExtensionH\x00R\x13verifyVoteExtension\x12N\n\x0e\x66inalize_block\x18\x14 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockH\x00R\rfinalizeBlockB\x07\n\x05valueJ\x04\x08\x04\x10\x05J\x04\x08\x07\x10\x08J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\"\'\n\x0bRequestEcho\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message\"\x0e\n\x0cRequestFlush\"\x90\x01\n\x0bRequestInfo\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12#\n\rblock_version\x18\x02 \x01(\x04R\x0c\x62lockVersion\x12\x1f\n\x0bp2p_version\x18\x03 \x01(\x04R\np2pVersion\x12!\n\x0c\x61\x62\x63i_version\x18\x04 \x01(\tR\x0b\x61\x62\x63iVersion\"\xcc\x02\n\x10RequestInitChain\x12\x38\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x19\n\x08\x63hain_id\x18\x02 \x01(\tR\x07\x63hainId\x12L\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x0f\x63onsensusParams\x12\x46\n\nvalidators\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\nvalidators\x12&\n\x0f\x61pp_state_bytes\x18\x05 \x01(\x0cR\rappStateBytes\x12%\n\x0einitial_height\x18\x06 \x01(\x03R\rinitialHeight\"d\n\x0cRequestQuery\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04path\x18\x02 \x01(\tR\x04path\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x14\n\x05prove\x18\x04 \x01(\x08R\x05prove\"R\n\x0eRequestCheckTx\x12\x0e\n\x02tx\x18\x01 \x01(\x0cR\x02tx\x12\x30\n\x04type\x18\x02 \x01(\x0e\x32\x1c.tendermint.abci.CheckTxTypeR\x04type\"\x0f\n\rRequestCommit\"\x16\n\x14RequestListSnapshots\"h\n\x14RequestOfferSnapshot\x12\x35\n\x08snapshot\x18\x01 \x01(\x0b\x32\x19.tendermint.abci.SnapshotR\x08snapshot\x12\x19\n\x08\x61pp_hash\x18\x02 \x01(\x0cR\x07\x61ppHash\"`\n\x18RequestLoadSnapshotChunk\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x14\n\x05\x63hunk\x18\x03 \x01(\rR\x05\x63hunk\"_\n\x19RequestApplySnapshotChunk\x12\x14\n\x05index\x18\x01 \x01(\rR\x05index\x12\x14\n\x05\x63hunk\x18\x02 \x01(\x0cR\x05\x63hunk\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\"\x98\x03\n\x16RequestPrepareProposal\x12 \n\x0cmax_tx_bytes\x18\x01 \x01(\x03R\nmaxTxBytes\x12\x10\n\x03txs\x18\x02 \x03(\x0cR\x03txs\x12U\n\x11local_last_commit\x18\x03 \x01(\x0b\x32#.tendermint.abci.ExtendedCommitInfoB\x04\xc8\xde\x1f\x00R\x0flocalLastCommit\x12\x44\n\x0bmisbehavior\x18\x04 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x88\x03\n\x16RequestProcessProposal\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\x12S\n\x14proposed_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x12proposedLastCommit\x12\x44\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x83\x03\n\x11RequestExtendVote\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x10\n\x03txs\x18\x04 \x03(\x0cR\x03txs\x12S\n\x14proposed_last_commit\x18\x05 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x12proposedLastCommit\x12\x44\n\x0bmisbehavior\x18\x06 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x9c\x01\n\x1aRequestVerifyVoteExtension\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12%\n\x0evote_extension\x18\x04 \x01(\x0cR\rvoteExtension\"\x84\x03\n\x14RequestFinalizeBlock\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\x12Q\n\x13\x64\x65\x63ided_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00R\x11\x64\x65\x63idedLastCommit\x12\x44\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00R\x0bmisbehavior\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x16\n\x06height\x18\x05 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x30\n\x14next_validators_hash\x18\x07 \x01(\x0cR\x12nextValidatorsHash\x12)\n\x10proposer_address\x18\x08 \x01(\x0cR\x0fproposerAddress\"\x94\n\n\x08Response\x12\x42\n\texception\x18\x01 \x01(\x0b\x32\".tendermint.abci.ResponseExceptionH\x00R\texception\x12\x33\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00R\x04\x65\x63ho\x12\x36\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00R\x05\x66lush\x12\x33\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00R\x04info\x12\x43\n\ninit_chain\x18\x06 \x01(\x0b\x32\".tendermint.abci.ResponseInitChainH\x00R\tinitChain\x12\x36\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00R\x05query\x12=\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00R\x07\x63heckTx\x12\x39\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00R\x06\x63ommit\x12O\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00R\rlistSnapshots\x12O\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00R\rofferSnapshot\x12\\\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00R\x11loadSnapshotChunk\x12_\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00R\x12\x61pplySnapshotChunk\x12U\n\x10prepare_proposal\x18\x11 \x01(\x0b\x32(.tendermint.abci.ResponsePrepareProposalH\x00R\x0fprepareProposal\x12U\n\x10process_proposal\x18\x12 \x01(\x0b\x32(.tendermint.abci.ResponseProcessProposalH\x00R\x0fprocessProposal\x12\x46\n\x0b\x65xtend_vote\x18\x13 \x01(\x0b\x32#.tendermint.abci.ResponseExtendVoteH\x00R\nextendVote\x12\x62\n\x15verify_vote_extension\x18\x14 \x01(\x0b\x32,.tendermint.abci.ResponseVerifyVoteExtensionH\x00R\x13verifyVoteExtension\x12O\n\x0e\x66inalize_block\x18\x15 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockH\x00R\rfinalizeBlockB\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\x14\n\x05\x65rror\x18\x01 \x01(\tR\x05\x65rror\"(\n\x0cResponseEcho\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message\"\x0f\n\rResponseFlush\"\xb8\x01\n\x0cResponseInfo\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\tR\x04\x64\x61ta\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12\x1f\n\x0b\x61pp_version\x18\x03 \x01(\x04R\nappVersion\x12*\n\x11last_block_height\x18\x04 \x01(\x03R\x0flastBlockHeight\x12-\n\x13last_block_app_hash\x18\x05 \x01(\x0cR\x10lastBlockAppHash\"\xc4\x01\n\x11ResponseInitChain\x12L\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x0f\x63onsensusParams\x12\x46\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\nvalidators\x12\x19\n\x08\x61pp_hash\x18\x03 \x01(\x0cR\x07\x61ppHash\"\xf7\x01\n\rResponseQuery\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x14\n\x05index\x18\x05 \x01(\x03R\x05index\x12\x10\n\x03key\x18\x06 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x07 \x01(\x0cR\x05value\x12\x38\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOpsR\x08proofOps\x12\x16\n\x06height\x18\t \x01(\x03R\x06height\x12\x1c\n\tcodespace\x18\n \x01(\tR\tcodespace\"\xaa\x02\n\x0fResponseCheckTx\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12H\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12\x1c\n\tcodespace\x18\x08 \x01(\tR\tcodespaceJ\x04\x08\t\x10\x0cR\x06senderR\x08priorityR\rmempool_error\"A\n\x0eResponseCommit\x12#\n\rretain_height\x18\x03 \x01(\x03R\x0cretainHeightJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"P\n\x15ResponseListSnapshots\x12\x37\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.SnapshotR\tsnapshots\"\xbe\x01\n\x15ResponseOfferSnapshot\x12\x45\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.ResultR\x06result\"^\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\"1\n\x19ResponseLoadSnapshotChunk\x12\x14\n\x05\x63hunk\x18\x01 \x01(\x0cR\x05\x63hunk\"\x98\x02\n\x1aResponseApplySnapshotChunk\x12J\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.ResultR\x06result\x12%\n\x0erefetch_chunks\x18\x02 \x03(\rR\rrefetchChunks\x12%\n\x0ereject_senders\x18\x03 \x03(\tR\rrejectSenders\"`\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\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\"\xa1\x01\n\x17ResponseProcessProposal\x12O\n\x06status\x18\x01 \x01(\x0e\x32\x37.tendermint.abci.ResponseProcessProposal.ProposalStatusR\x06status\"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%\n\x0evote_extension\x18\x01 \x01(\x0cR\rvoteExtension\"\xa5\x01\n\x1bResponseVerifyVoteExtension\x12Q\n\x06status\x18\x01 \x01(\x0e\x32\x39.tendermint.abci.ResponseVerifyVoteExtension.VerifyStatusR\x06status\"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\"\xea\x02\n\x15ResponseFinalizeBlock\x12H\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12<\n\ntx_results\x18\x02 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResultR\ttxResults\x12S\n\x11validator_updates\x18\x03 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00R\x10validatorUpdates\x12Y\n\x17\x63onsensus_param_updates\x18\x04 \x01(\x0b\x32!.tendermint.types.ConsensusParamsR\x15\x63onsensusParamUpdates\x12\x19\n\x08\x61pp_hash\x18\x05 \x01(\x0cR\x07\x61ppHash\"Y\n\nCommitInfo\x12\x14\n\x05round\x18\x01 \x01(\x05R\x05round\x12\x35\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00R\x05votes\"i\n\x12\x45xtendedCommitInfo\x12\x14\n\x05round\x18\x01 \x01(\x05R\x05round\x12=\n\x05votes\x18\x02 \x03(\x0b\x32!.tendermint.abci.ExtendedVoteInfoB\x04\xc8\xde\x1f\x00R\x05votes\"z\n\x05\x45vent\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12]\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitemptyR\nattributes\"N\n\x0e\x45ventAttribute\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x14\n\x05index\x18\x03 \x01(\x08R\x05index\"\x80\x02\n\x0c\x45xecTxResult\x12\x12\n\x04\x63ode\x18\x01 \x01(\rR\x04\x63ode\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x10\n\x03log\x18\x03 \x01(\tR\x03log\x12\x12\n\x04info\x18\x04 \x01(\tR\x04info\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12H\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitemptyR\x06\x65vents\x12\x1c\n\tcodespace\x18\x08 \x01(\tR\tcodespace\"\x85\x01\n\x08TxResult\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05index\x18\x02 \x01(\rR\x05index\x12\x0e\n\x02tx\x18\x03 \x01(\x0cR\x02tx\x12;\n\x06result\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ExecTxResultB\x04\xc8\xde\x1f\x00R\x06result\";\n\tValidator\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0cR\x07\x61\x64\x64ress\x12\x14\n\x05power\x18\x03 \x01(\x03R\x05power\"d\n\x0fValidatorUpdate\x12;\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12\x14\n\x05power\x18\x02 \x01(\x03R\x05power\"\x93\x01\n\x08VoteInfo\x12>\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12\x41\n\rblock_id_flag\x18\x03 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlagJ\x04\x08\x02\x10\x03\"\xf3\x01\n\x10\x45xtendedVoteInfo\x12>\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12%\n\x0evote_extension\x18\x03 \x01(\x0cR\rvoteExtension\x12/\n\x13\x65xtension_signature\x18\x04 \x01(\x0cR\x12\x65xtensionSignature\x12\x41\n\rblock_id_flag\x18\x05 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlagJ\x04\x08\x02\x10\x03\"\x83\x02\n\x0bMisbehavior\x12\x34\n\x04type\x18\x01 \x01(\x0e\x32 .tendermint.abci.MisbehaviorTypeR\x04type\x12>\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00R\tvalidator\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12,\n\x12total_voting_power\x18\x05 \x01(\x03R\x10totalVotingPower\"\x82\x01\n\x08Snapshot\x12\x16\n\x06height\x18\x01 \x01(\x04R\x06height\x12\x16\n\x06\x66ormat\x18\x02 \x01(\rR\x06\x66ormat\x12\x16\n\x06\x63hunks\x18\x03 \x01(\rR\x06\x63hunks\x12\x12\n\x04hash\x18\x04 \x01(\x0cR\x04hash\x12\x1a\n\x08metadata\x18\x05 \x01(\x0cR\x08metadata*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\xa7\x01\n\x13\x63om.tendermint.abciB\nTypesProtoP\x01Z\'github.com/cometbft/cometbft/abci/types\xa2\x02\x03TAX\xaa\x02\x0fTendermint.Abci\xca\x02\x0fTendermint\\Abci\xe2\x02\x1bTendermint\\Abci\\GPBMetadata\xea\x02\x10Tendermint::Abcib\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.abci.types_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.abci.types_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\023com.tendermint.abciB\nTypesProtoP\001Z'github.com/cometbft/cometbft/abci/types\242\002\003TAX\252\002\017Tendermint.Abci\312\002\017Tendermint\\Abci\342\002\033Tendermint\\Abci\\GPBMetadata\352\002\020Tendermint::Abci" - ) - _globals["_CHECKTXTYPE"].values_by_name["NEW"]._loaded_options = None - _globals["_CHECKTXTYPE"].values_by_name["NEW"]._serialized_options = b"\212\235 \003New" - _globals["_CHECKTXTYPE"].values_by_name["RECHECK"]._loaded_options = None - _globals["_CHECKTXTYPE"].values_by_name["RECHECK"]._serialized_options = b"\212\235 \007Recheck" - _globals["_REQUESTINITCHAIN"].fields_by_name["time"]._loaded_options = None - _globals["_REQUESTINITCHAIN"].fields_by_name["time"]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_REQUESTINITCHAIN"].fields_by_name["validators"]._loaded_options = None - _globals["_REQUESTINITCHAIN"].fields_by_name["validators"]._serialized_options = b"\310\336\037\000" - _globals["_REQUESTPREPAREPROPOSAL"].fields_by_name["local_last_commit"]._loaded_options = None - _globals["_REQUESTPREPAREPROPOSAL"].fields_by_name["local_last_commit"]._serialized_options = b"\310\336\037\000" - _globals["_REQUESTPREPAREPROPOSAL"].fields_by_name["misbehavior"]._loaded_options = None - _globals["_REQUESTPREPAREPROPOSAL"].fields_by_name["misbehavior"]._serialized_options = b"\310\336\037\000" - _globals["_REQUESTPREPAREPROPOSAL"].fields_by_name["time"]._loaded_options = None - _globals["_REQUESTPREPAREPROPOSAL"].fields_by_name["time"]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_REQUESTPROCESSPROPOSAL"].fields_by_name["proposed_last_commit"]._loaded_options = None - _globals["_REQUESTPROCESSPROPOSAL"].fields_by_name["proposed_last_commit"]._serialized_options = b"\310\336\037\000" - _globals["_REQUESTPROCESSPROPOSAL"].fields_by_name["misbehavior"]._loaded_options = None - _globals["_REQUESTPROCESSPROPOSAL"].fields_by_name["misbehavior"]._serialized_options = b"\310\336\037\000" - _globals["_REQUESTPROCESSPROPOSAL"].fields_by_name["time"]._loaded_options = None - _globals["_REQUESTPROCESSPROPOSAL"].fields_by_name["time"]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_REQUESTEXTENDVOTE"].fields_by_name["time"]._loaded_options = None - _globals["_REQUESTEXTENDVOTE"].fields_by_name["time"]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_REQUESTEXTENDVOTE"].fields_by_name["proposed_last_commit"]._loaded_options = None - _globals["_REQUESTEXTENDVOTE"].fields_by_name["proposed_last_commit"]._serialized_options = b"\310\336\037\000" - _globals["_REQUESTEXTENDVOTE"].fields_by_name["misbehavior"]._loaded_options = None - _globals["_REQUESTEXTENDVOTE"].fields_by_name["misbehavior"]._serialized_options = b"\310\336\037\000" - _globals["_REQUESTFINALIZEBLOCK"].fields_by_name["decided_last_commit"]._loaded_options = None - _globals["_REQUESTFINALIZEBLOCK"].fields_by_name["decided_last_commit"]._serialized_options = b"\310\336\037\000" - _globals["_REQUESTFINALIZEBLOCK"].fields_by_name["misbehavior"]._loaded_options = None - _globals["_REQUESTFINALIZEBLOCK"].fields_by_name["misbehavior"]._serialized_options = b"\310\336\037\000" - _globals["_REQUESTFINALIZEBLOCK"].fields_by_name["time"]._loaded_options = None - _globals["_REQUESTFINALIZEBLOCK"].fields_by_name["time"]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_RESPONSEINITCHAIN"].fields_by_name["validators"]._loaded_options = None - _globals["_RESPONSEINITCHAIN"].fields_by_name["validators"]._serialized_options = b"\310\336\037\000" - _globals["_RESPONSECHECKTX"].fields_by_name["events"]._loaded_options = None - _globals["_RESPONSECHECKTX"].fields_by_name[ - "events" - ]._serialized_options = b"\310\336\037\000\352\336\037\020events,omitempty" - _globals["_RESPONSEFINALIZEBLOCK"].fields_by_name["events"]._loaded_options = None - _globals["_RESPONSEFINALIZEBLOCK"].fields_by_name[ - "events" - ]._serialized_options = b"\310\336\037\000\352\336\037\020events,omitempty" - _globals["_RESPONSEFINALIZEBLOCK"].fields_by_name["validator_updates"]._loaded_options = None - _globals["_RESPONSEFINALIZEBLOCK"].fields_by_name["validator_updates"]._serialized_options = b"\310\336\037\000" - _globals["_COMMITINFO"].fields_by_name["votes"]._loaded_options = None - _globals["_COMMITINFO"].fields_by_name["votes"]._serialized_options = b"\310\336\037\000" - _globals["_EXTENDEDCOMMITINFO"].fields_by_name["votes"]._loaded_options = None - _globals["_EXTENDEDCOMMITINFO"].fields_by_name["votes"]._serialized_options = b"\310\336\037\000" - _globals["_EVENT"].fields_by_name["attributes"]._loaded_options = None - _globals["_EVENT"].fields_by_name[ - "attributes" - ]._serialized_options = b"\310\336\037\000\352\336\037\024attributes,omitempty" - _globals["_EXECTXRESULT"].fields_by_name["events"]._loaded_options = None - _globals["_EXECTXRESULT"].fields_by_name[ - "events" - ]._serialized_options = b"\310\336\037\000\352\336\037\020events,omitempty" - _globals["_TXRESULT"].fields_by_name["result"]._loaded_options = None - _globals["_TXRESULT"].fields_by_name["result"]._serialized_options = b"\310\336\037\000" - _globals["_VALIDATORUPDATE"].fields_by_name["pub_key"]._loaded_options = None - _globals["_VALIDATORUPDATE"].fields_by_name["pub_key"]._serialized_options = b"\310\336\037\000" - _globals["_VOTEINFO"].fields_by_name["validator"]._loaded_options = None - _globals["_VOTEINFO"].fields_by_name["validator"]._serialized_options = b"\310\336\037\000" - _globals["_EXTENDEDVOTEINFO"].fields_by_name["validator"]._loaded_options = None - _globals["_EXTENDEDVOTEINFO"].fields_by_name["validator"]._serialized_options = b"\310\336\037\000" - _globals["_MISBEHAVIOR"].fields_by_name["validator"]._loaded_options = None - _globals["_MISBEHAVIOR"].fields_by_name["validator"]._serialized_options = b"\310\336\037\000" - _globals["_MISBEHAVIOR"].fields_by_name["time"]._loaded_options = None - _globals["_MISBEHAVIOR"].fields_by_name["time"]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_CHECKTXTYPE"]._serialized_start = 9832 - _globals["_CHECKTXTYPE"]._serialized_end = 9889 - _globals["_MISBEHAVIORTYPE"]._serialized_start = 9891 - _globals["_MISBEHAVIORTYPE"]._serialized_end = 9966 - _globals["_REQUEST"]._serialized_start = 230 - _globals["_REQUEST"]._serialized_end = 1445 - _globals["_REQUESTECHO"]._serialized_start = 1447 - _globals["_REQUESTECHO"]._serialized_end = 1486 - _globals["_REQUESTFLUSH"]._serialized_start = 1488 - _globals["_REQUESTFLUSH"]._serialized_end = 1502 - _globals["_REQUESTINFO"]._serialized_start = 1505 - _globals["_REQUESTINFO"]._serialized_end = 1649 - _globals["_REQUESTINITCHAIN"]._serialized_start = 1652 - _globals["_REQUESTINITCHAIN"]._serialized_end = 1984 - _globals["_REQUESTQUERY"]._serialized_start = 1986 - _globals["_REQUESTQUERY"]._serialized_end = 2086 - _globals["_REQUESTCHECKTX"]._serialized_start = 2088 - _globals["_REQUESTCHECKTX"]._serialized_end = 2170 - _globals["_REQUESTCOMMIT"]._serialized_start = 2172 - _globals["_REQUESTCOMMIT"]._serialized_end = 2187 - _globals["_REQUESTLISTSNAPSHOTS"]._serialized_start = 2189 - _globals["_REQUESTLISTSNAPSHOTS"]._serialized_end = 2211 - _globals["_REQUESTOFFERSNAPSHOT"]._serialized_start = 2213 - _globals["_REQUESTOFFERSNAPSHOT"]._serialized_end = 2317 - _globals["_REQUESTLOADSNAPSHOTCHUNK"]._serialized_start = 2319 - _globals["_REQUESTLOADSNAPSHOTCHUNK"]._serialized_end = 2415 - _globals["_REQUESTAPPLYSNAPSHOTCHUNK"]._serialized_start = 2417 - _globals["_REQUESTAPPLYSNAPSHOTCHUNK"]._serialized_end = 2512 - _globals["_REQUESTPREPAREPROPOSAL"]._serialized_start = 2515 - _globals["_REQUESTPREPAREPROPOSAL"]._serialized_end = 2923 - _globals["_REQUESTPROCESSPROPOSAL"]._serialized_start = 2926 - _globals["_REQUESTPROCESSPROPOSAL"]._serialized_end = 3318 - _globals["_REQUESTEXTENDVOTE"]._serialized_start = 3321 - _globals["_REQUESTEXTENDVOTE"]._serialized_end = 3708 - _globals["_REQUESTVERIFYVOTEEXTENSION"]._serialized_start = 3711 - _globals["_REQUESTVERIFYVOTEEXTENSION"]._serialized_end = 3867 - _globals["_REQUESTFINALIZEBLOCK"]._serialized_start = 3870 - _globals["_REQUESTFINALIZEBLOCK"]._serialized_end = 4258 - _globals["_RESPONSE"]._serialized_start = 4261 - _globals["_RESPONSE"]._serialized_end = 5561 - _globals["_RESPONSEEXCEPTION"]._serialized_start = 5563 - _globals["_RESPONSEEXCEPTION"]._serialized_end = 5604 - _globals["_RESPONSEECHO"]._serialized_start = 5606 - _globals["_RESPONSEECHO"]._serialized_end = 5646 - _globals["_RESPONSEFLUSH"]._serialized_start = 5648 - _globals["_RESPONSEFLUSH"]._serialized_end = 5663 - _globals["_RESPONSEINFO"]._serialized_start = 5666 - _globals["_RESPONSEINFO"]._serialized_end = 5850 - _globals["_RESPONSEINITCHAIN"]._serialized_start = 5853 - _globals["_RESPONSEINITCHAIN"]._serialized_end = 6049 - _globals["_RESPONSEQUERY"]._serialized_start = 6052 - _globals["_RESPONSEQUERY"]._serialized_end = 6299 - _globals["_RESPONSECHECKTX"]._serialized_start = 6302 - _globals["_RESPONSECHECKTX"]._serialized_end = 6600 - _globals["_RESPONSECOMMIT"]._serialized_start = 6602 - _globals["_RESPONSECOMMIT"]._serialized_end = 6667 - _globals["_RESPONSELISTSNAPSHOTS"]._serialized_start = 6669 - _globals["_RESPONSELISTSNAPSHOTS"]._serialized_end = 6749 - _globals["_RESPONSEOFFERSNAPSHOT"]._serialized_start = 6752 - _globals["_RESPONSEOFFERSNAPSHOT"]._serialized_end = 6942 - _globals["_RESPONSEOFFERSNAPSHOT_RESULT"]._serialized_start = 6848 - _globals["_RESPONSEOFFERSNAPSHOT_RESULT"]._serialized_end = 6942 - _globals["_RESPONSELOADSNAPSHOTCHUNK"]._serialized_start = 6944 - _globals["_RESPONSELOADSNAPSHOTCHUNK"]._serialized_end = 6993 - _globals["_RESPONSEAPPLYSNAPSHOTCHUNK"]._serialized_start = 6996 - _globals["_RESPONSEAPPLYSNAPSHOTCHUNK"]._serialized_end = 7276 - _globals["_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT"]._serialized_start = 7180 - _globals["_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT"]._serialized_end = 7276 - _globals["_RESPONSEPREPAREPROPOSAL"]._serialized_start = 7278 - _globals["_RESPONSEPREPAREPROPOSAL"]._serialized_end = 7321 - _globals["_RESPONSEPROCESSPROPOSAL"]._serialized_start = 7324 - _globals["_RESPONSEPROCESSPROPOSAL"]._serialized_end = 7485 - _globals["_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS"]._serialized_start = 7432 - _globals["_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS"]._serialized_end = 7485 - _globals["_RESPONSEEXTENDVOTE"]._serialized_start = 7487 - _globals["_RESPONSEEXTENDVOTE"]._serialized_end = 7546 - _globals["_RESPONSEVERIFYVOTEEXTENSION"]._serialized_start = 7549 - _globals["_RESPONSEVERIFYVOTEEXTENSION"]._serialized_end = 7714 - _globals["_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS"]._serialized_start = 7663 - _globals["_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS"]._serialized_end = 7714 - _globals["_RESPONSEFINALIZEBLOCK"]._serialized_start = 7717 - _globals["_RESPONSEFINALIZEBLOCK"]._serialized_end = 8079 - _globals["_COMMITINFO"]._serialized_start = 8081 - _globals["_COMMITINFO"]._serialized_end = 8170 - _globals["_EXTENDEDCOMMITINFO"]._serialized_start = 8172 - _globals["_EXTENDEDCOMMITINFO"]._serialized_end = 8277 - _globals["_EVENT"]._serialized_start = 8279 - _globals["_EVENT"]._serialized_end = 8401 - _globals["_EVENTATTRIBUTE"]._serialized_start = 8403 - _globals["_EVENTATTRIBUTE"]._serialized_end = 8481 - _globals["_EXECTXRESULT"]._serialized_start = 8484 - _globals["_EXECTXRESULT"]._serialized_end = 8740 - _globals["_TXRESULT"]._serialized_start = 8743 - _globals["_TXRESULT"]._serialized_end = 8876 - _globals["_VALIDATOR"]._serialized_start = 8878 - _globals["_VALIDATOR"]._serialized_end = 8937 - _globals["_VALIDATORUPDATE"]._serialized_start = 8939 - _globals["_VALIDATORUPDATE"]._serialized_end = 9039 - _globals["_VOTEINFO"]._serialized_start = 9042 - _globals["_VOTEINFO"]._serialized_end = 9189 - _globals["_EXTENDEDVOTEINFO"]._serialized_start = 9192 - _globals["_EXTENDEDVOTEINFO"]._serialized_end = 9435 - _globals["_MISBEHAVIOR"]._serialized_start = 9438 - _globals["_MISBEHAVIOR"]._serialized_end = 9697 - _globals["_SNAPSHOT"]._serialized_start = 9700 - _globals["_SNAPSHOT"]._serialized_end = 9830 - _globals["_ABCI"]._serialized_start = 9969 - _globals["_ABCI"]._serialized_end = 11406 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.tendermint.abciB\nTypesProtoP\001Z\'github.com/cometbft/cometbft/abci/types\242\002\003TAX\252\002\017Tendermint.Abci\312\002\017Tendermint\\Abci\342\002\033Tendermint\\Abci\\GPBMetadata\352\002\020Tendermint::Abci' + _globals['_CHECKTXTYPE'].values_by_name["NEW"]._loaded_options = None + _globals['_CHECKTXTYPE'].values_by_name["NEW"]._serialized_options = b'\212\235 \003New' + _globals['_CHECKTXTYPE'].values_by_name["RECHECK"]._loaded_options = None + _globals['_CHECKTXTYPE'].values_by_name["RECHECK"]._serialized_options = b'\212\235 \007Recheck' + _globals['_REQUESTINITCHAIN'].fields_by_name['time']._loaded_options = None + _globals['_REQUESTINITCHAIN'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_REQUESTINITCHAIN'].fields_by_name['validators']._loaded_options = None + _globals['_REQUESTINITCHAIN'].fields_by_name['validators']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['local_last_commit']._loaded_options = None + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['local_last_commit']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['misbehavior']._loaded_options = None + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['time']._loaded_options = None + _globals['_REQUESTPREPAREPROPOSAL'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['proposed_last_commit']._loaded_options = None + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['proposed_last_commit']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['misbehavior']._loaded_options = None + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['time']._loaded_options = None + _globals['_REQUESTPROCESSPROPOSAL'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_REQUESTEXTENDVOTE'].fields_by_name['time']._loaded_options = None + _globals['_REQUESTEXTENDVOTE'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_REQUESTEXTENDVOTE'].fields_by_name['proposed_last_commit']._loaded_options = None + _globals['_REQUESTEXTENDVOTE'].fields_by_name['proposed_last_commit']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTEXTENDVOTE'].fields_by_name['misbehavior']._loaded_options = None + _globals['_REQUESTEXTENDVOTE'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['decided_last_commit']._loaded_options = None + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['decided_last_commit']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['misbehavior']._loaded_options = None + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['time']._loaded_options = None + _globals['_REQUESTFINALIZEBLOCK'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_RESPONSEINITCHAIN'].fields_by_name['validators']._loaded_options = None + _globals['_RESPONSEINITCHAIN'].fields_by_name['validators']._serialized_options = b'\310\336\037\000' + _globals['_RESPONSECHECKTX'].fields_by_name['events']._loaded_options = None + _globals['_RESPONSECHECKTX'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' + _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['events']._loaded_options = None + _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' + _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['validator_updates']._loaded_options = None + _globals['_RESPONSEFINALIZEBLOCK'].fields_by_name['validator_updates']._serialized_options = b'\310\336\037\000' + _globals['_COMMITINFO'].fields_by_name['votes']._loaded_options = None + _globals['_COMMITINFO'].fields_by_name['votes']._serialized_options = b'\310\336\037\000' + _globals['_EXTENDEDCOMMITINFO'].fields_by_name['votes']._loaded_options = None + _globals['_EXTENDEDCOMMITINFO'].fields_by_name['votes']._serialized_options = b'\310\336\037\000' + _globals['_EVENT'].fields_by_name['attributes']._loaded_options = None + _globals['_EVENT'].fields_by_name['attributes']._serialized_options = b'\310\336\037\000\352\336\037\024attributes,omitempty' + _globals['_EXECTXRESULT'].fields_by_name['events']._loaded_options = None + _globals['_EXECTXRESULT'].fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' + _globals['_TXRESULT'].fields_by_name['result']._loaded_options = None + _globals['_TXRESULT'].fields_by_name['result']._serialized_options = b'\310\336\037\000' + _globals['_VALIDATORUPDATE'].fields_by_name['pub_key']._loaded_options = None + _globals['_VALIDATORUPDATE'].fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' + _globals['_VOTEINFO'].fields_by_name['validator']._loaded_options = None + _globals['_VOTEINFO'].fields_by_name['validator']._serialized_options = b'\310\336\037\000' + _globals['_EXTENDEDVOTEINFO'].fields_by_name['validator']._loaded_options = None + _globals['_EXTENDEDVOTEINFO'].fields_by_name['validator']._serialized_options = b'\310\336\037\000' + _globals['_MISBEHAVIOR'].fields_by_name['validator']._loaded_options = None + _globals['_MISBEHAVIOR'].fields_by_name['validator']._serialized_options = b'\310\336\037\000' + _globals['_MISBEHAVIOR'].fields_by_name['time']._loaded_options = None + _globals['_MISBEHAVIOR'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_CHECKTXTYPE']._serialized_start=9832 + _globals['_CHECKTXTYPE']._serialized_end=9889 + _globals['_MISBEHAVIORTYPE']._serialized_start=9891 + _globals['_MISBEHAVIORTYPE']._serialized_end=9966 + _globals['_REQUEST']._serialized_start=230 + _globals['_REQUEST']._serialized_end=1445 + _globals['_REQUESTECHO']._serialized_start=1447 + _globals['_REQUESTECHO']._serialized_end=1486 + _globals['_REQUESTFLUSH']._serialized_start=1488 + _globals['_REQUESTFLUSH']._serialized_end=1502 + _globals['_REQUESTINFO']._serialized_start=1505 + _globals['_REQUESTINFO']._serialized_end=1649 + _globals['_REQUESTINITCHAIN']._serialized_start=1652 + _globals['_REQUESTINITCHAIN']._serialized_end=1984 + _globals['_REQUESTQUERY']._serialized_start=1986 + _globals['_REQUESTQUERY']._serialized_end=2086 + _globals['_REQUESTCHECKTX']._serialized_start=2088 + _globals['_REQUESTCHECKTX']._serialized_end=2170 + _globals['_REQUESTCOMMIT']._serialized_start=2172 + _globals['_REQUESTCOMMIT']._serialized_end=2187 + _globals['_REQUESTLISTSNAPSHOTS']._serialized_start=2189 + _globals['_REQUESTLISTSNAPSHOTS']._serialized_end=2211 + _globals['_REQUESTOFFERSNAPSHOT']._serialized_start=2213 + _globals['_REQUESTOFFERSNAPSHOT']._serialized_end=2317 + _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_start=2319 + _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_end=2415 + _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_start=2417 + _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_end=2512 + _globals['_REQUESTPREPAREPROPOSAL']._serialized_start=2515 + _globals['_REQUESTPREPAREPROPOSAL']._serialized_end=2923 + _globals['_REQUESTPROCESSPROPOSAL']._serialized_start=2926 + _globals['_REQUESTPROCESSPROPOSAL']._serialized_end=3318 + _globals['_REQUESTEXTENDVOTE']._serialized_start=3321 + _globals['_REQUESTEXTENDVOTE']._serialized_end=3708 + _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_start=3711 + _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_end=3867 + _globals['_REQUESTFINALIZEBLOCK']._serialized_start=3870 + _globals['_REQUESTFINALIZEBLOCK']._serialized_end=4258 + _globals['_RESPONSE']._serialized_start=4261 + _globals['_RESPONSE']._serialized_end=5561 + _globals['_RESPONSEEXCEPTION']._serialized_start=5563 + _globals['_RESPONSEEXCEPTION']._serialized_end=5604 + _globals['_RESPONSEECHO']._serialized_start=5606 + _globals['_RESPONSEECHO']._serialized_end=5646 + _globals['_RESPONSEFLUSH']._serialized_start=5648 + _globals['_RESPONSEFLUSH']._serialized_end=5663 + _globals['_RESPONSEINFO']._serialized_start=5666 + _globals['_RESPONSEINFO']._serialized_end=5850 + _globals['_RESPONSEINITCHAIN']._serialized_start=5853 + _globals['_RESPONSEINITCHAIN']._serialized_end=6049 + _globals['_RESPONSEQUERY']._serialized_start=6052 + _globals['_RESPONSEQUERY']._serialized_end=6299 + _globals['_RESPONSECHECKTX']._serialized_start=6302 + _globals['_RESPONSECHECKTX']._serialized_end=6600 + _globals['_RESPONSECOMMIT']._serialized_start=6602 + _globals['_RESPONSECOMMIT']._serialized_end=6667 + _globals['_RESPONSELISTSNAPSHOTS']._serialized_start=6669 + _globals['_RESPONSELISTSNAPSHOTS']._serialized_end=6749 + _globals['_RESPONSEOFFERSNAPSHOT']._serialized_start=6752 + _globals['_RESPONSEOFFERSNAPSHOT']._serialized_end=6942 + _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_start=6848 + _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_end=6942 + _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_start=6944 + _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_end=6993 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_start=6996 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_end=7276 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_start=7180 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_end=7276 + _globals['_RESPONSEPREPAREPROPOSAL']._serialized_start=7278 + _globals['_RESPONSEPREPAREPROPOSAL']._serialized_end=7321 + _globals['_RESPONSEPROCESSPROPOSAL']._serialized_start=7324 + _globals['_RESPONSEPROCESSPROPOSAL']._serialized_end=7485 + _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_start=7432 + _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_end=7485 + _globals['_RESPONSEEXTENDVOTE']._serialized_start=7487 + _globals['_RESPONSEEXTENDVOTE']._serialized_end=7546 + _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_start=7549 + _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_end=7714 + _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_start=7663 + _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_end=7714 + _globals['_RESPONSEFINALIZEBLOCK']._serialized_start=7717 + _globals['_RESPONSEFINALIZEBLOCK']._serialized_end=8079 + _globals['_COMMITINFO']._serialized_start=8081 + _globals['_COMMITINFO']._serialized_end=8170 + _globals['_EXTENDEDCOMMITINFO']._serialized_start=8172 + _globals['_EXTENDEDCOMMITINFO']._serialized_end=8277 + _globals['_EVENT']._serialized_start=8279 + _globals['_EVENT']._serialized_end=8401 + _globals['_EVENTATTRIBUTE']._serialized_start=8403 + _globals['_EVENTATTRIBUTE']._serialized_end=8481 + _globals['_EXECTXRESULT']._serialized_start=8484 + _globals['_EXECTXRESULT']._serialized_end=8740 + _globals['_TXRESULT']._serialized_start=8743 + _globals['_TXRESULT']._serialized_end=8876 + _globals['_VALIDATOR']._serialized_start=8878 + _globals['_VALIDATOR']._serialized_end=8937 + _globals['_VALIDATORUPDATE']._serialized_start=8939 + _globals['_VALIDATORUPDATE']._serialized_end=9039 + _globals['_VOTEINFO']._serialized_start=9042 + _globals['_VOTEINFO']._serialized_end=9189 + _globals['_EXTENDEDVOTEINFO']._serialized_start=9192 + _globals['_EXTENDEDVOTEINFO']._serialized_end=9435 + _globals['_MISBEHAVIOR']._serialized_start=9438 + _globals['_MISBEHAVIOR']._serialized_end=9697 + _globals['_SNAPSHOT']._serialized_start=9700 + _globals['_SNAPSHOT']._serialized_end=9830 + _globals['_ABCI']._serialized_start=9969 + _globals['_ABCI']._serialized_end=11406 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/abci/types_pb2_grpc.py b/pyinjective/proto/tendermint/abci/types_pb2_grpc.py index 654f4c46..d18cc0b2 100644 --- a/pyinjective/proto/tendermint/abci/types_pb2_grpc.py +++ b/pyinjective/proto/tendermint/abci/types_pb2_grpc.py @@ -18,101 +18,85 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Echo = channel.unary_unary( - "/tendermint.abci.ABCI/Echo", - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestEcho.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseEcho.FromString, - _registered_method=True, - ) + '/tendermint.abci.ABCI/Echo', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestEcho.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseEcho.FromString, + _registered_method=True) self.Flush = channel.unary_unary( - "/tendermint.abci.ABCI/Flush", - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFlush.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFlush.FromString, - _registered_method=True, - ) + '/tendermint.abci.ABCI/Flush', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFlush.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFlush.FromString, + _registered_method=True) self.Info = channel.unary_unary( - "/tendermint.abci.ABCI/Info", - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.FromString, - _registered_method=True, - ) + '/tendermint.abci.ABCI/Info', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.FromString, + _registered_method=True) self.CheckTx = channel.unary_unary( - "/tendermint.abci.ABCI/CheckTx", - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, - _registered_method=True, - ) + '/tendermint.abci.ABCI/CheckTx', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, + _registered_method=True) self.Query = channel.unary_unary( - "/tendermint.abci.ABCI/Query", - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, - _registered_method=True, - ) + '/tendermint.abci.ABCI/Query', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, + _registered_method=True) self.Commit = channel.unary_unary( - "/tendermint.abci.ABCI/Commit", - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, - _registered_method=True, - ) + '/tendermint.abci.ABCI/Commit', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, + _registered_method=True) self.InitChain = channel.unary_unary( - "/tendermint.abci.ABCI/InitChain", - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, - _registered_method=True, - ) + '/tendermint.abci.ABCI/InitChain', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, + _registered_method=True) self.ListSnapshots = channel.unary_unary( - "/tendermint.abci.ABCI/ListSnapshots", - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, - _registered_method=True, - ) + '/tendermint.abci.ABCI/ListSnapshots', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, + _registered_method=True) self.OfferSnapshot = channel.unary_unary( - "/tendermint.abci.ABCI/OfferSnapshot", - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, - _registered_method=True, - ) + '/tendermint.abci.ABCI/OfferSnapshot', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, + _registered_method=True) self.LoadSnapshotChunk = channel.unary_unary( - "/tendermint.abci.ABCI/LoadSnapshotChunk", - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, - _registered_method=True, - ) + '/tendermint.abci.ABCI/LoadSnapshotChunk', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, + _registered_method=True) self.ApplySnapshotChunk = channel.unary_unary( - "/tendermint.abci.ABCI/ApplySnapshotChunk", - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, - _registered_method=True, - ) + '/tendermint.abci.ABCI/ApplySnapshotChunk', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, + _registered_method=True) self.PrepareProposal = channel.unary_unary( - "/tendermint.abci.ABCI/PrepareProposal", - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, - _registered_method=True, - ) + '/tendermint.abci.ABCI/PrepareProposal', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, + _registered_method=True) self.ProcessProposal = channel.unary_unary( - "/tendermint.abci.ABCI/ProcessProposal", - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, - _registered_method=True, - ) + '/tendermint.abci.ABCI/ProcessProposal', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, + _registered_method=True) self.ExtendVote = channel.unary_unary( - "/tendermint.abci.ABCI/ExtendVote", - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.FromString, - _registered_method=True, - ) + '/tendermint.abci.ABCI/ExtendVote', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.FromString, + _registered_method=True) self.VerifyVoteExtension = channel.unary_unary( - "/tendermint.abci.ABCI/VerifyVoteExtension", - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.FromString, - _registered_method=True, - ) + '/tendermint.abci.ABCI/VerifyVoteExtension', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.FromString, + _registered_method=True) self.FinalizeBlock = channel.unary_unary( - "/tendermint.abci.ABCI/FinalizeBlock", - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.FromString, - _registered_method=True, - ) + '/tendermint.abci.ABCI/FinalizeBlock', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.FromString, + _registered_method=True) class ABCIServicer(object): @@ -124,189 +108,190 @@ class ABCIServicer(object): def Echo(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Flush(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Info(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def CheckTx(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Query(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def Commit(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def InitChain(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ListSnapshots(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def OfferSnapshot(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def LoadSnapshotChunk(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ApplySnapshotChunk(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def PrepareProposal(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ProcessProposal(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def ExtendVote(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def VerifyVoteExtension(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def FinalizeBlock(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details("Method not implemented!") - raise NotImplementedError("Method not implemented!") + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_ABCIServicer_to_server(servicer, server): rpc_method_handlers = { - "Echo": grpc.unary_unary_rpc_method_handler( - servicer.Echo, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestEcho.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseEcho.SerializeToString, - ), - "Flush": grpc.unary_unary_rpc_method_handler( - servicer.Flush, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestFlush.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseFlush.SerializeToString, - ), - "Info": grpc.unary_unary_rpc_method_handler( - servicer.Info, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.SerializeToString, - ), - "CheckTx": grpc.unary_unary_rpc_method_handler( - servicer.CheckTx, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.SerializeToString, - ), - "Query": grpc.unary_unary_rpc_method_handler( - servicer.Query, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestQuery.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseQuery.SerializeToString, - ), - "Commit": grpc.unary_unary_rpc_method_handler( - servicer.Commit, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestCommit.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseCommit.SerializeToString, - ), - "InitChain": grpc.unary_unary_rpc_method_handler( - servicer.InitChain, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.SerializeToString, - ), - "ListSnapshots": grpc.unary_unary_rpc_method_handler( - servicer.ListSnapshots, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.SerializeToString, - ), - "OfferSnapshot": grpc.unary_unary_rpc_method_handler( - servicer.OfferSnapshot, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.SerializeToString, - ), - "LoadSnapshotChunk": grpc.unary_unary_rpc_method_handler( - servicer.LoadSnapshotChunk, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.SerializeToString, - ), - "ApplySnapshotChunk": grpc.unary_unary_rpc_method_handler( - servicer.ApplySnapshotChunk, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.SerializeToString, - ), - "PrepareProposal": grpc.unary_unary_rpc_method_handler( - servicer.PrepareProposal, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.SerializeToString, - ), - "ProcessProposal": grpc.unary_unary_rpc_method_handler( - servicer.ProcessProposal, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.SerializeToString, - ), - "ExtendVote": grpc.unary_unary_rpc_method_handler( - servicer.ExtendVote, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.SerializeToString, - ), - "VerifyVoteExtension": grpc.unary_unary_rpc_method_handler( - servicer.VerifyVoteExtension, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.SerializeToString, - ), - "FinalizeBlock": grpc.unary_unary_rpc_method_handler( - servicer.FinalizeBlock, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.SerializeToString, - ), + 'Echo': grpc.unary_unary_rpc_method_handler( + servicer.Echo, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestEcho.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseEcho.SerializeToString, + ), + 'Flush': grpc.unary_unary_rpc_method_handler( + servicer.Flush, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestFlush.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseFlush.SerializeToString, + ), + 'Info': grpc.unary_unary_rpc_method_handler( + servicer.Info, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.SerializeToString, + ), + 'CheckTx': grpc.unary_unary_rpc_method_handler( + servicer.CheckTx, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.SerializeToString, + ), + 'Query': grpc.unary_unary_rpc_method_handler( + servicer.Query, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestQuery.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseQuery.SerializeToString, + ), + 'Commit': grpc.unary_unary_rpc_method_handler( + servicer.Commit, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestCommit.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseCommit.SerializeToString, + ), + 'InitChain': grpc.unary_unary_rpc_method_handler( + servicer.InitChain, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.SerializeToString, + ), + 'ListSnapshots': grpc.unary_unary_rpc_method_handler( + servicer.ListSnapshots, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.SerializeToString, + ), + 'OfferSnapshot': grpc.unary_unary_rpc_method_handler( + servicer.OfferSnapshot, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.SerializeToString, + ), + 'LoadSnapshotChunk': grpc.unary_unary_rpc_method_handler( + servicer.LoadSnapshotChunk, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.SerializeToString, + ), + 'ApplySnapshotChunk': grpc.unary_unary_rpc_method_handler( + servicer.ApplySnapshotChunk, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.SerializeToString, + ), + 'PrepareProposal': grpc.unary_unary_rpc_method_handler( + servicer.PrepareProposal, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.SerializeToString, + ), + 'ProcessProposal': grpc.unary_unary_rpc_method_handler( + servicer.ProcessProposal, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.SerializeToString, + ), + 'ExtendVote': grpc.unary_unary_rpc_method_handler( + servicer.ExtendVote, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.SerializeToString, + ), + 'VerifyVoteExtension': grpc.unary_unary_rpc_method_handler( + servicer.VerifyVoteExtension, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.SerializeToString, + ), + 'FinalizeBlock': grpc.unary_unary_rpc_method_handler( + servicer.FinalizeBlock, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.SerializeToString, + ), } - generic_handler = grpc.method_handlers_generic_handler("tendermint.abci.ABCI", rpc_method_handlers) + generic_handler = grpc.method_handlers_generic_handler( + 'tendermint.abci.ABCI', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers("tendermint.abci.ABCI", rpc_method_handlers) + server.add_registered_method_handlers('tendermint.abci.ABCI', rpc_method_handlers) -# This class is part of an EXPERIMENTAL API. + # This class is part of an EXPERIMENTAL API. class ABCI(object): """NOTE: When using custom types, mind the warnings. https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues @@ -314,22 +299,20 @@ class ABCI(object): """ @staticmethod - def Echo( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Echo(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.abci.ABCI/Echo", + '/tendermint.abci.ABCI/Echo', tendermint_dot_abci_dot_types__pb2.RequestEcho.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseEcho.FromString, options, @@ -340,26 +323,23 @@ def Echo( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Flush( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Flush(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.abci.ABCI/Flush", + '/tendermint.abci.ABCI/Flush', tendermint_dot_abci_dot_types__pb2.RequestFlush.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseFlush.FromString, options, @@ -370,26 +350,23 @@ def Flush( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Info( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Info(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.abci.ABCI/Info", + '/tendermint.abci.ABCI/Info', tendermint_dot_abci_dot_types__pb2.RequestInfo.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseInfo.FromString, options, @@ -400,26 +377,23 @@ def Info( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def CheckTx( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def CheckTx(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.abci.ABCI/CheckTx", + '/tendermint.abci.ABCI/CheckTx', tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, options, @@ -430,26 +404,23 @@ def CheckTx( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Query( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Query(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.abci.ABCI/Query", + '/tendermint.abci.ABCI/Query', tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, options, @@ -460,26 +431,23 @@ def Query( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def Commit( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def Commit(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.abci.ABCI/Commit", + '/tendermint.abci.ABCI/Commit', tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, options, @@ -490,26 +458,23 @@ def Commit( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def InitChain( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def InitChain(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.abci.ABCI/InitChain", + '/tendermint.abci.ABCI/InitChain', tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, options, @@ -520,26 +485,23 @@ def InitChain( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ListSnapshots( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ListSnapshots(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.abci.ABCI/ListSnapshots", + '/tendermint.abci.ABCI/ListSnapshots', tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, options, @@ -550,26 +512,23 @@ def ListSnapshots( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def OfferSnapshot( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def OfferSnapshot(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.abci.ABCI/OfferSnapshot", + '/tendermint.abci.ABCI/OfferSnapshot', tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, options, @@ -580,26 +539,23 @@ def OfferSnapshot( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def LoadSnapshotChunk( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def LoadSnapshotChunk(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.abci.ABCI/LoadSnapshotChunk", + '/tendermint.abci.ABCI/LoadSnapshotChunk', tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, options, @@ -610,26 +566,23 @@ def LoadSnapshotChunk( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ApplySnapshotChunk( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ApplySnapshotChunk(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.abci.ABCI/ApplySnapshotChunk", + '/tendermint.abci.ABCI/ApplySnapshotChunk', tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, options, @@ -640,26 +593,23 @@ def ApplySnapshotChunk( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def PrepareProposal( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def PrepareProposal(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.abci.ABCI/PrepareProposal", + '/tendermint.abci.ABCI/PrepareProposal', tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, options, @@ -670,26 +620,23 @@ def PrepareProposal( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ProcessProposal( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ProcessProposal(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.abci.ABCI/ProcessProposal", + '/tendermint.abci.ABCI/ProcessProposal', tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, options, @@ -700,26 +647,23 @@ def ProcessProposal( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def ExtendVote( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def ExtendVote(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.abci.ABCI/ExtendVote", + '/tendermint.abci.ABCI/ExtendVote', tendermint_dot_abci_dot_types__pb2.RequestExtendVote.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.FromString, options, @@ -730,26 +674,23 @@ def ExtendVote( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def VerifyVoteExtension( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def VerifyVoteExtension(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.abci.ABCI/VerifyVoteExtension", + '/tendermint.abci.ABCI/VerifyVoteExtension', tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.FromString, options, @@ -760,26 +701,23 @@ def VerifyVoteExtension( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) @staticmethod - def FinalizeBlock( - request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None, - ): + def FinalizeBlock(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.abci.ABCI/FinalizeBlock", + '/tendermint.abci.ABCI/FinalizeBlock', tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.FromString, options, @@ -790,5 +728,4 @@ def FinalizeBlock( wait_for_ready, timeout, metadata, - _registered_method=True, - ) + _registered_method=True) diff --git a/pyinjective/proto/tendermint/crypto/keys_pb2.py b/pyinjective/proto/tendermint/crypto/keys_pb2.py index cae6bb10..6d1762da 100644 --- a/pyinjective/proto/tendermint/crypto/keys_pb2.py +++ b/pyinjective/proto/tendermint/crypto/keys_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,20 +15,16 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1ctendermint/crypto/keys.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto"X\n\tPublicKey\x12\x1a\n\x07\x65\x64\x32\x35\x35\x31\x39\x18\x01 \x01(\x0cH\x00R\x07\x65\x64\x32\x35\x35\x31\x39\x12\x1e\n\tsecp256k1\x18\x02 \x01(\x0cH\x00R\tsecp256k1:\x08\xe8\xa0\x1f\x01\xe8\xa1\x1f\x01\x42\x05\n\x03sumB\xbd\x01\n\x15\x63om.tendermint.cryptoB\tKeysProtoP\x01Z4github.com/cometbft/cometbft/proto/tendermint/crypto\xa2\x02\x03TCX\xaa\x02\x11Tendermint.Crypto\xca\x02\x11Tendermint\\Crypto\xe2\x02\x1dTendermint\\Crypto\\GPBMetadata\xea\x02\x12Tendermint::Cryptob\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/crypto/keys.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto\"X\n\tPublicKey\x12\x1a\n\x07\x65\x64\x32\x35\x35\x31\x39\x18\x01 \x01(\x0cH\x00R\x07\x65\x64\x32\x35\x35\x31\x39\x12\x1e\n\tsecp256k1\x18\x02 \x01(\x0cH\x00R\tsecp256k1:\x08\xe8\xa0\x1f\x01\xe8\xa1\x1f\x01\x42\x05\n\x03sumB\xbd\x01\n\x15\x63om.tendermint.cryptoB\tKeysProtoP\x01Z4github.com/cometbft/cometbft/proto/tendermint/crypto\xa2\x02\x03TCX\xaa\x02\x11Tendermint.Crypto\xca\x02\x11Tendermint\\Crypto\xe2\x02\x1dTendermint\\Crypto\\GPBMetadata\xea\x02\x12Tendermint::Cryptob\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.crypto.keys_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.keys_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\025com.tendermint.cryptoB\tKeysProtoP\001Z4github.com/cometbft/cometbft/proto/tendermint/crypto\242\002\003TCX\252\002\021Tendermint.Crypto\312\002\021Tendermint\\Crypto\342\002\035Tendermint\\Crypto\\GPBMetadata\352\002\022Tendermint::Crypto" - ) - _globals["_PUBLICKEY"]._loaded_options = None - _globals["_PUBLICKEY"]._serialized_options = b"\350\240\037\001\350\241\037\001" - _globals["_PUBLICKEY"]._serialized_start = 73 - _globals["_PUBLICKEY"]._serialized_end = 161 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.tendermint.cryptoB\tKeysProtoP\001Z4github.com/cometbft/cometbft/proto/tendermint/crypto\242\002\003TCX\252\002\021Tendermint.Crypto\312\002\021Tendermint\\Crypto\342\002\035Tendermint\\Crypto\\GPBMetadata\352\002\022Tendermint::Crypto' + _globals['_PUBLICKEY']._loaded_options = None + _globals['_PUBLICKEY']._serialized_options = b'\350\240\037\001\350\241\037\001' + _globals['_PUBLICKEY']._serialized_start=73 + _globals['_PUBLICKEY']._serialized_end=161 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/crypto/keys_pb2_grpc.py b/pyinjective/proto/tendermint/crypto/keys_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/tendermint/crypto/keys_pb2_grpc.py +++ b/pyinjective/proto/tendermint/crypto/keys_pb2_grpc.py @@ -1,3 +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/crypto/proof_pb2.py b/pyinjective/proto/tendermint/crypto/proof_pb2.py index b11108d3..5681a5e2 100644 --- a/pyinjective/proto/tendermint/crypto/proof_pb2.py +++ b/pyinjective/proto/tendermint/crypto/proof_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,28 +15,24 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1dtendermint/crypto/proof.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto"f\n\x05Proof\x12\x14\n\x05total\x18\x01 \x01(\x03R\x05total\x12\x14\n\x05index\x18\x02 \x01(\x03R\x05index\x12\x1b\n\tleaf_hash\x18\x03 \x01(\x0cR\x08leafHash\x12\x14\n\x05\x61unts\x18\x04 \x03(\x0cR\x05\x61unts"K\n\x07ValueOp\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12.\n\x05proof\x18\x02 \x01(\x0b\x32\x18.tendermint.crypto.ProofR\x05proof"J\n\x08\x44ominoOp\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05input\x18\x02 \x01(\tR\x05input\x12\x16\n\x06output\x18\x03 \x01(\tR\x06output"C\n\x07ProofOp\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x10\n\x03key\x18\x02 \x01(\x0cR\x03key\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta">\n\x08ProofOps\x12\x32\n\x03ops\x18\x01 \x03(\x0b\x32\x1a.tendermint.crypto.ProofOpB\x04\xc8\xde\x1f\x00R\x03opsB\xbe\x01\n\x15\x63om.tendermint.cryptoB\nProofProtoP\x01Z4github.com/cometbft/cometbft/proto/tendermint/crypto\xa2\x02\x03TCX\xaa\x02\x11Tendermint.Crypto\xca\x02\x11Tendermint\\Crypto\xe2\x02\x1dTendermint\\Crypto\\GPBMetadata\xea\x02\x12Tendermint::Cryptob\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/crypto/proof.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto\"f\n\x05Proof\x12\x14\n\x05total\x18\x01 \x01(\x03R\x05total\x12\x14\n\x05index\x18\x02 \x01(\x03R\x05index\x12\x1b\n\tleaf_hash\x18\x03 \x01(\x0cR\x08leafHash\x12\x14\n\x05\x61unts\x18\x04 \x03(\x0cR\x05\x61unts\"K\n\x07ValueOp\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12.\n\x05proof\x18\x02 \x01(\x0b\x32\x18.tendermint.crypto.ProofR\x05proof\"J\n\x08\x44ominoOp\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05input\x18\x02 \x01(\tR\x05input\x12\x16\n\x06output\x18\x03 \x01(\tR\x06output\"C\n\x07ProofOp\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x10\n\x03key\x18\x02 \x01(\x0cR\x03key\x12\x12\n\x04\x64\x61ta\x18\x03 \x01(\x0cR\x04\x64\x61ta\">\n\x08ProofOps\x12\x32\n\x03ops\x18\x01 \x03(\x0b\x32\x1a.tendermint.crypto.ProofOpB\x04\xc8\xde\x1f\x00R\x03opsB\xbe\x01\n\x15\x63om.tendermint.cryptoB\nProofProtoP\x01Z4github.com/cometbft/cometbft/proto/tendermint/crypto\xa2\x02\x03TCX\xaa\x02\x11Tendermint.Crypto\xca\x02\x11Tendermint\\Crypto\xe2\x02\x1dTendermint\\Crypto\\GPBMetadata\xea\x02\x12Tendermint::Cryptob\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.crypto.proof_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.proof_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\025com.tendermint.cryptoB\nProofProtoP\001Z4github.com/cometbft/cometbft/proto/tendermint/crypto\242\002\003TCX\252\002\021Tendermint.Crypto\312\002\021Tendermint\\Crypto\342\002\035Tendermint\\Crypto\\GPBMetadata\352\002\022Tendermint::Crypto" - ) - _globals["_PROOFOPS"].fields_by_name["ops"]._loaded_options = None - _globals["_PROOFOPS"].fields_by_name["ops"]._serialized_options = b"\310\336\037\000" - _globals["_PROOF"]._serialized_start = 74 - _globals["_PROOF"]._serialized_end = 176 - _globals["_VALUEOP"]._serialized_start = 178 - _globals["_VALUEOP"]._serialized_end = 253 - _globals["_DOMINOOP"]._serialized_start = 255 - _globals["_DOMINOOP"]._serialized_end = 329 - _globals["_PROOFOP"]._serialized_start = 331 - _globals["_PROOFOP"]._serialized_end = 398 - _globals["_PROOFOPS"]._serialized_start = 400 - _globals["_PROOFOPS"]._serialized_end = 462 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.tendermint.cryptoB\nProofProtoP\001Z4github.com/cometbft/cometbft/proto/tendermint/crypto\242\002\003TCX\252\002\021Tendermint.Crypto\312\002\021Tendermint\\Crypto\342\002\035Tendermint\\Crypto\\GPBMetadata\352\002\022Tendermint::Crypto' + _globals['_PROOFOPS'].fields_by_name['ops']._loaded_options = None + _globals['_PROOFOPS'].fields_by_name['ops']._serialized_options = b'\310\336\037\000' + _globals['_PROOF']._serialized_start=74 + _globals['_PROOF']._serialized_end=176 + _globals['_VALUEOP']._serialized_start=178 + _globals['_VALUEOP']._serialized_end=253 + _globals['_DOMINOOP']._serialized_start=255 + _globals['_DOMINOOP']._serialized_end=329 + _globals['_PROOFOP']._serialized_start=331 + _globals['_PROOFOP']._serialized_end=398 + _globals['_PROOFOPS']._serialized_start=400 + _globals['_PROOFOPS']._serialized_end=462 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/crypto/proof_pb2_grpc.py b/pyinjective/proto/tendermint/crypto/proof_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/tendermint/crypto/proof_pb2_grpc.py +++ b/pyinjective/proto/tendermint/crypto/proof_pb2_grpc.py @@ -1,3 +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/libs/bits/types_pb2.py b/pyinjective/proto/tendermint/libs/bits/types_pb2.py index fa27e978..207b36a4 100644 --- a/pyinjective/proto/tendermint/libs/bits/types_pb2.py +++ b/pyinjective/proto/tendermint/libs/bits/types_pb2.py @@ -7,24 +7,21 @@ 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/libs/bits/types.proto\x12\x14tendermint.libs.bits"4\n\x08\x42itArray\x12\x12\n\x04\x62its\x18\x01 \x01(\x03R\x04\x62its\x12\x14\n\x05\x65lems\x18\x02 \x03(\x04R\x05\x65lemsB\xd1\x01\n\x18\x63om.tendermint.libs.bitsB\nTypesProtoP\x01Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits\xa2\x02\x03TLB\xaa\x02\x14Tendermint.Libs.Bits\xca\x02\x14Tendermint\\Libs\\Bits\xe2\x02 Tendermint\\Libs\\Bits\\GPBMetadata\xea\x02\x16Tendermint::Libs::Bitsb\x06proto3' -) + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/libs/bits/types.proto\x12\x14tendermint.libs.bits\"4\n\x08\x42itArray\x12\x12\n\x04\x62its\x18\x01 \x01(\x03R\x04\x62its\x12\x14\n\x05\x65lems\x18\x02 \x03(\x04R\x05\x65lemsB\xd1\x01\n\x18\x63om.tendermint.libs.bitsB\nTypesProtoP\x01Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits\xa2\x02\x03TLB\xaa\x02\x14Tendermint.Libs.Bits\xca\x02\x14Tendermint\\Libs\\Bits\xe2\x02 Tendermint\\Libs\\Bits\\GPBMetadata\xea\x02\x16Tendermint::Libs::Bitsb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.libs.bits.types_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.libs.bits.types_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\030com.tendermint.libs.bitsB\nTypesProtoP\001Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits\242\002\003TLB\252\002\024Tendermint.Libs.Bits\312\002\024Tendermint\\Libs\\Bits\342\002 Tendermint\\Libs\\Bits\\GPBMetadata\352\002\026Tendermint::Libs::Bits" - ) - _globals["_BITARRAY"]._serialized_start = 58 - _globals["_BITARRAY"]._serialized_end = 110 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.tendermint.libs.bitsB\nTypesProtoP\001Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits\242\002\003TLB\252\002\024Tendermint.Libs.Bits\312\002\024Tendermint\\Libs\\Bits\342\002 Tendermint\\Libs\\Bits\\GPBMetadata\352\002\026Tendermint::Libs::Bits' + _globals['_BITARRAY']._serialized_start=58 + _globals['_BITARRAY']._serialized_end=110 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/libs/bits/types_pb2_grpc.py b/pyinjective/proto/tendermint/libs/bits/types_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/tendermint/libs/bits/types_pb2_grpc.py +++ b/pyinjective/proto/tendermint/libs/bits/types_pb2_grpc.py @@ -1,3 +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/p2p/types_pb2.py b/pyinjective/proto/tendermint/p2p/types_pb2.py index 1f08ef94..585eff1d 100644 --- a/pyinjective/proto/tendermint/p2p/types_pb2.py +++ b/pyinjective/proto/tendermint/p2p/types_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,38 +15,34 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1atendermint/p2p/types.proto\x12\x0etendermint.p2p\x1a\x14gogoproto/gogo.proto"P\n\nNetAddress\x12\x16\n\x02id\x18\x01 \x01(\tB\x06\xe2\xde\x1f\x02IDR\x02id\x12\x16\n\x02ip\x18\x02 \x01(\tB\x06\xe2\xde\x1f\x02IPR\x02ip\x12\x12\n\x04port\x18\x03 \x01(\rR\x04port"T\n\x0fProtocolVersion\x12\x19\n\x03p2p\x18\x01 \x01(\x04\x42\x07\xe2\xde\x1f\x03P2PR\x03p2p\x12\x14\n\x05\x62lock\x18\x02 \x01(\x04R\x05\x62lock\x12\x10\n\x03\x61pp\x18\x03 \x01(\x04R\x03\x61pp"\xeb\x02\n\x0f\x44\x65\x66\x61ultNodeInfo\x12P\n\x10protocol_version\x18\x01 \x01(\x0b\x32\x1f.tendermint.p2p.ProtocolVersionB\x04\xc8\xde\x1f\x00R\x0fprotocolVersion\x12\x39\n\x0f\x64\x65\x66\x61ult_node_id\x18\x02 \x01(\tB\x11\xe2\xde\x1f\rDefaultNodeIDR\rdefaultNodeId\x12\x1f\n\x0blisten_addr\x18\x03 \x01(\tR\nlistenAddr\x12\x18\n\x07network\x18\x04 \x01(\tR\x07network\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12\x1a\n\x08\x63hannels\x18\x06 \x01(\x0cR\x08\x63hannels\x12\x18\n\x07moniker\x18\x07 \x01(\tR\x07moniker\x12@\n\x05other\x18\x08 \x01(\x0b\x32$.tendermint.p2p.DefaultNodeInfoOtherB\x04\xc8\xde\x1f\x00R\x05other"b\n\x14\x44\x65\x66\x61ultNodeInfoOther\x12\x19\n\x08tx_index\x18\x01 \x01(\tR\x07txIndex\x12/\n\x0brpc_address\x18\x02 \x01(\tB\x0e\xe2\xde\x1f\nRPCAddressR\nrpcAddressB\xac\x01\n\x12\x63om.tendermint.p2pB\nTypesProtoP\x01Z1github.com/cometbft/cometbft/proto/tendermint/p2p\xa2\x02\x03TPX\xaa\x02\x0eTendermint.P2p\xca\x02\x0eTendermint\\P2p\xe2\x02\x1aTendermint\\P2p\\GPBMetadata\xea\x02\x0fTendermint::P2pb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1atendermint/p2p/types.proto\x12\x0etendermint.p2p\x1a\x14gogoproto/gogo.proto\"P\n\nNetAddress\x12\x16\n\x02id\x18\x01 \x01(\tB\x06\xe2\xde\x1f\x02IDR\x02id\x12\x16\n\x02ip\x18\x02 \x01(\tB\x06\xe2\xde\x1f\x02IPR\x02ip\x12\x12\n\x04port\x18\x03 \x01(\rR\x04port\"T\n\x0fProtocolVersion\x12\x19\n\x03p2p\x18\x01 \x01(\x04\x42\x07\xe2\xde\x1f\x03P2PR\x03p2p\x12\x14\n\x05\x62lock\x18\x02 \x01(\x04R\x05\x62lock\x12\x10\n\x03\x61pp\x18\x03 \x01(\x04R\x03\x61pp\"\xeb\x02\n\x0f\x44\x65\x66\x61ultNodeInfo\x12P\n\x10protocol_version\x18\x01 \x01(\x0b\x32\x1f.tendermint.p2p.ProtocolVersionB\x04\xc8\xde\x1f\x00R\x0fprotocolVersion\x12\x39\n\x0f\x64\x65\x66\x61ult_node_id\x18\x02 \x01(\tB\x11\xe2\xde\x1f\rDefaultNodeIDR\rdefaultNodeId\x12\x1f\n\x0blisten_addr\x18\x03 \x01(\tR\nlistenAddr\x12\x18\n\x07network\x18\x04 \x01(\tR\x07network\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12\x1a\n\x08\x63hannels\x18\x06 \x01(\x0cR\x08\x63hannels\x12\x18\n\x07moniker\x18\x07 \x01(\tR\x07moniker\x12@\n\x05other\x18\x08 \x01(\x0b\x32$.tendermint.p2p.DefaultNodeInfoOtherB\x04\xc8\xde\x1f\x00R\x05other\"b\n\x14\x44\x65\x66\x61ultNodeInfoOther\x12\x19\n\x08tx_index\x18\x01 \x01(\tR\x07txIndex\x12/\n\x0brpc_address\x18\x02 \x01(\tB\x0e\xe2\xde\x1f\nRPCAddressR\nrpcAddressB\xac\x01\n\x12\x63om.tendermint.p2pB\nTypesProtoP\x01Z1github.com/cometbft/cometbft/proto/tendermint/p2p\xa2\x02\x03TPX\xaa\x02\x0eTendermint.P2p\xca\x02\x0eTendermint\\P2p\xe2\x02\x1aTendermint\\P2p\\GPBMetadata\xea\x02\x0fTendermint::P2pb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.p2p.types_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.p2p.types_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\022com.tendermint.p2pB\nTypesProtoP\001Z1github.com/cometbft/cometbft/proto/tendermint/p2p\242\002\003TPX\252\002\016Tendermint.P2p\312\002\016Tendermint\\P2p\342\002\032Tendermint\\P2p\\GPBMetadata\352\002\017Tendermint::P2p" - ) - _globals["_NETADDRESS"].fields_by_name["id"]._loaded_options = None - _globals["_NETADDRESS"].fields_by_name["id"]._serialized_options = b"\342\336\037\002ID" - _globals["_NETADDRESS"].fields_by_name["ip"]._loaded_options = None - _globals["_NETADDRESS"].fields_by_name["ip"]._serialized_options = b"\342\336\037\002IP" - _globals["_PROTOCOLVERSION"].fields_by_name["p2p"]._loaded_options = None - _globals["_PROTOCOLVERSION"].fields_by_name["p2p"]._serialized_options = b"\342\336\037\003P2P" - _globals["_DEFAULTNODEINFO"].fields_by_name["protocol_version"]._loaded_options = None - _globals["_DEFAULTNODEINFO"].fields_by_name["protocol_version"]._serialized_options = b"\310\336\037\000" - _globals["_DEFAULTNODEINFO"].fields_by_name["default_node_id"]._loaded_options = None - _globals["_DEFAULTNODEINFO"].fields_by_name["default_node_id"]._serialized_options = b"\342\336\037\rDefaultNodeID" - _globals["_DEFAULTNODEINFO"].fields_by_name["other"]._loaded_options = None - _globals["_DEFAULTNODEINFO"].fields_by_name["other"]._serialized_options = b"\310\336\037\000" - _globals["_DEFAULTNODEINFOOTHER"].fields_by_name["rpc_address"]._loaded_options = None - _globals["_DEFAULTNODEINFOOTHER"].fields_by_name["rpc_address"]._serialized_options = b"\342\336\037\nRPCAddress" - _globals["_NETADDRESS"]._serialized_start = 68 - _globals["_NETADDRESS"]._serialized_end = 148 - _globals["_PROTOCOLVERSION"]._serialized_start = 150 - _globals["_PROTOCOLVERSION"]._serialized_end = 234 - _globals["_DEFAULTNODEINFO"]._serialized_start = 237 - _globals["_DEFAULTNODEINFO"]._serialized_end = 600 - _globals["_DEFAULTNODEINFOOTHER"]._serialized_start = 602 - _globals["_DEFAULTNODEINFOOTHER"]._serialized_end = 700 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.tendermint.p2pB\nTypesProtoP\001Z1github.com/cometbft/cometbft/proto/tendermint/p2p\242\002\003TPX\252\002\016Tendermint.P2p\312\002\016Tendermint\\P2p\342\002\032Tendermint\\P2p\\GPBMetadata\352\002\017Tendermint::P2p' + _globals['_NETADDRESS'].fields_by_name['id']._loaded_options = None + _globals['_NETADDRESS'].fields_by_name['id']._serialized_options = b'\342\336\037\002ID' + _globals['_NETADDRESS'].fields_by_name['ip']._loaded_options = None + _globals['_NETADDRESS'].fields_by_name['ip']._serialized_options = b'\342\336\037\002IP' + _globals['_PROTOCOLVERSION'].fields_by_name['p2p']._loaded_options = None + _globals['_PROTOCOLVERSION'].fields_by_name['p2p']._serialized_options = b'\342\336\037\003P2P' + _globals['_DEFAULTNODEINFO'].fields_by_name['protocol_version']._loaded_options = None + _globals['_DEFAULTNODEINFO'].fields_by_name['protocol_version']._serialized_options = b'\310\336\037\000' + _globals['_DEFAULTNODEINFO'].fields_by_name['default_node_id']._loaded_options = None + _globals['_DEFAULTNODEINFO'].fields_by_name['default_node_id']._serialized_options = b'\342\336\037\rDefaultNodeID' + _globals['_DEFAULTNODEINFO'].fields_by_name['other']._loaded_options = None + _globals['_DEFAULTNODEINFO'].fields_by_name['other']._serialized_options = b'\310\336\037\000' + _globals['_DEFAULTNODEINFOOTHER'].fields_by_name['rpc_address']._loaded_options = None + _globals['_DEFAULTNODEINFOOTHER'].fields_by_name['rpc_address']._serialized_options = b'\342\336\037\nRPCAddress' + _globals['_NETADDRESS']._serialized_start=68 + _globals['_NETADDRESS']._serialized_end=148 + _globals['_PROTOCOLVERSION']._serialized_start=150 + _globals['_PROTOCOLVERSION']._serialized_end=234 + _globals['_DEFAULTNODEINFO']._serialized_start=237 + _globals['_DEFAULTNODEINFO']._serialized_end=600 + _globals['_DEFAULTNODEINFOOTHER']._serialized_start=602 + _globals['_DEFAULTNODEINFOOTHER']._serialized_end=700 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/p2p/types_pb2_grpc.py b/pyinjective/proto/tendermint/p2p/types_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/tendermint/p2p/types_pb2_grpc.py +++ b/pyinjective/proto/tendermint/p2p/types_pb2_grpc.py @@ -1,3 +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/types/block_pb2.py b/pyinjective/proto/tendermint/types/block_pb2.py index 55732e22..fcbd42d0 100644 --- a/pyinjective/proto/tendermint/types/block_pb2.py +++ b/pyinjective/proto/tendermint/types/block_pb2.py @@ -7,7 +7,6 @@ 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() @@ -18,24 +17,20 @@ from pyinjective.proto.tendermint.types import evidence_pb2 as tendermint_dot_types_dot_evidence__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1ctendermint/types/block.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ftendermint/types/evidence.proto"\xee\x01\n\x05\x42lock\x12\x36\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00R\x06header\x12\x30\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta\x12@\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\x04\xc8\xde\x1f\x00R\x08\x65vidence\x12\x39\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.CommitR\nlastCommitB\xb8\x01\n\x14\x63om.tendermint.typesB\nBlockProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/block.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ftendermint/types/evidence.proto\"\xee\x01\n\x05\x42lock\x12\x36\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00R\x06header\x12\x30\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.tendermint.types.DataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta\x12@\n\x08\x65vidence\x18\x03 \x01(\x0b\x32\x1e.tendermint.types.EvidenceListB\x04\xc8\xde\x1f\x00R\x08\x65vidence\x12\x39\n\x0blast_commit\x18\x04 \x01(\x0b\x32\x18.tendermint.types.CommitR\nlastCommitB\xb8\x01\n\x14\x63om.tendermint.typesB\nBlockProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.types.block_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.block_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\024com.tendermint.typesB\nBlockProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types" - ) - _globals["_BLOCK"].fields_by_name["header"]._loaded_options = None - _globals["_BLOCK"].fields_by_name["header"]._serialized_options = b"\310\336\037\000" - _globals["_BLOCK"].fields_by_name["data"]._loaded_options = None - _globals["_BLOCK"].fields_by_name["data"]._serialized_options = b"\310\336\037\000" - _globals["_BLOCK"].fields_by_name["evidence"]._loaded_options = None - _globals["_BLOCK"].fields_by_name["evidence"]._serialized_options = b"\310\336\037\000" - _globals["_BLOCK"]._serialized_start = 136 - _globals["_BLOCK"]._serialized_end = 374 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\nBlockProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types' + _globals['_BLOCK'].fields_by_name['header']._loaded_options = None + _globals['_BLOCK'].fields_by_name['header']._serialized_options = b'\310\336\037\000' + _globals['_BLOCK'].fields_by_name['data']._loaded_options = None + _globals['_BLOCK'].fields_by_name['data']._serialized_options = b'\310\336\037\000' + _globals['_BLOCK'].fields_by_name['evidence']._loaded_options = None + _globals['_BLOCK'].fields_by_name['evidence']._serialized_options = b'\310\336\037\000' + _globals['_BLOCK']._serialized_start=136 + _globals['_BLOCK']._serialized_end=374 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/block_pb2_grpc.py b/pyinjective/proto/tendermint/types/block_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/tendermint/types/block_pb2_grpc.py +++ b/pyinjective/proto/tendermint/types/block_pb2_grpc.py @@ -1,3 +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/types/evidence_pb2.py b/pyinjective/proto/tendermint/types/evidence_pb2.py index d9f7394e..d7f5ae43 100644 --- a/pyinjective/proto/tendermint/types/evidence_pb2.py +++ b/pyinjective/proto/tendermint/types/evidence_pb2.py @@ -7,7 +7,6 @@ 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() @@ -19,34 +18,26 @@ from pyinjective.proto.tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1ftendermint/types/evidence.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/types/validator.proto"\xe4\x01\n\x08\x45vidence\x12\x61\n\x17\x64uplicate_vote_evidence\x18\x01 \x01(\x0b\x32\'.tendermint.types.DuplicateVoteEvidenceH\x00R\x15\x64uplicateVoteEvidence\x12n\n\x1clight_client_attack_evidence\x18\x02 \x01(\x0b\x32+.tendermint.types.LightClientAttackEvidenceH\x00R\x19lightClientAttackEvidenceB\x05\n\x03sum"\x90\x02\n\x15\x44uplicateVoteEvidence\x12-\n\x06vote_a\x18\x01 \x01(\x0b\x32\x16.tendermint.types.VoteR\x05voteA\x12-\n\x06vote_b\x18\x02 \x01(\x0b\x32\x16.tendermint.types.VoteR\x05voteB\x12,\n\x12total_voting_power\x18\x03 \x01(\x03R\x10totalVotingPower\x12\'\n\x0fvalidator_power\x18\x04 \x01(\x03R\x0evalidatorPower\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp"\xcd\x02\n\x19LightClientAttackEvidence\x12I\n\x11\x63onflicting_block\x18\x01 \x01(\x0b\x32\x1c.tendermint.types.LightBlockR\x10\x63onflictingBlock\x12#\n\rcommon_height\x18\x02 \x01(\x03R\x0c\x63ommonHeight\x12N\n\x14\x62yzantine_validators\x18\x03 \x03(\x0b\x32\x1b.tendermint.types.ValidatorR\x13\x62yzantineValidators\x12,\n\x12total_voting_power\x18\x04 \x01(\x03R\x10totalVotingPower\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp"L\n\x0c\x45videnceList\x12<\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x1a.tendermint.types.EvidenceB\x04\xc8\xde\x1f\x00R\x08\x65videnceB\xbb\x01\n\x14\x63om.tendermint.typesB\rEvidenceProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ftendermint/types/evidence.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/types/validator.proto\"\xe4\x01\n\x08\x45vidence\x12\x61\n\x17\x64uplicate_vote_evidence\x18\x01 \x01(\x0b\x32\'.tendermint.types.DuplicateVoteEvidenceH\x00R\x15\x64uplicateVoteEvidence\x12n\n\x1clight_client_attack_evidence\x18\x02 \x01(\x0b\x32+.tendermint.types.LightClientAttackEvidenceH\x00R\x19lightClientAttackEvidenceB\x05\n\x03sum\"\x90\x02\n\x15\x44uplicateVoteEvidence\x12-\n\x06vote_a\x18\x01 \x01(\x0b\x32\x16.tendermint.types.VoteR\x05voteA\x12-\n\x06vote_b\x18\x02 \x01(\x0b\x32\x16.tendermint.types.VoteR\x05voteB\x12,\n\x12total_voting_power\x18\x03 \x01(\x03R\x10totalVotingPower\x12\'\n\x0fvalidator_power\x18\x04 \x01(\x03R\x0evalidatorPower\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\"\xcd\x02\n\x19LightClientAttackEvidence\x12I\n\x11\x63onflicting_block\x18\x01 \x01(\x0b\x32\x1c.tendermint.types.LightBlockR\x10\x63onflictingBlock\x12#\n\rcommon_height\x18\x02 \x01(\x03R\x0c\x63ommonHeight\x12N\n\x14\x62yzantine_validators\x18\x03 \x03(\x0b\x32\x1b.tendermint.types.ValidatorR\x13\x62yzantineValidators\x12,\n\x12total_voting_power\x18\x04 \x01(\x03R\x10totalVotingPower\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\"L\n\x0c\x45videnceList\x12<\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x1a.tendermint.types.EvidenceB\x04\xc8\xde\x1f\x00R\x08\x65videnceB\xbb\x01\n\x14\x63om.tendermint.typesB\rEvidenceProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.types.evidence_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.evidence_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\024com.tendermint.typesB\rEvidenceProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types" - ) - _globals["_DUPLICATEVOTEEVIDENCE"].fields_by_name["timestamp"]._loaded_options = None - _globals["_DUPLICATEVOTEEVIDENCE"].fields_by_name[ - "timestamp" - ]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_LIGHTCLIENTATTACKEVIDENCE"].fields_by_name["timestamp"]._loaded_options = None - _globals["_LIGHTCLIENTATTACKEVIDENCE"].fields_by_name[ - "timestamp" - ]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_EVIDENCELIST"].fields_by_name["evidence"]._loaded_options = None - _globals["_EVIDENCELIST"].fields_by_name["evidence"]._serialized_options = b"\310\336\037\000" - _globals["_EVIDENCE"]._serialized_start = 173 - _globals["_EVIDENCE"]._serialized_end = 401 - _globals["_DUPLICATEVOTEEVIDENCE"]._serialized_start = 404 - _globals["_DUPLICATEVOTEEVIDENCE"]._serialized_end = 676 - _globals["_LIGHTCLIENTATTACKEVIDENCE"]._serialized_start = 679 - _globals["_LIGHTCLIENTATTACKEVIDENCE"]._serialized_end = 1012 - _globals["_EVIDENCELIST"]._serialized_start = 1014 - _globals["_EVIDENCELIST"]._serialized_end = 1090 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\rEvidenceProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types' + _globals['_DUPLICATEVOTEEVIDENCE'].fields_by_name['timestamp']._loaded_options = None + _globals['_DUPLICATEVOTEEVIDENCE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_LIGHTCLIENTATTACKEVIDENCE'].fields_by_name['timestamp']._loaded_options = None + _globals['_LIGHTCLIENTATTACKEVIDENCE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_EVIDENCELIST'].fields_by_name['evidence']._loaded_options = None + _globals['_EVIDENCELIST'].fields_by_name['evidence']._serialized_options = b'\310\336\037\000' + _globals['_EVIDENCE']._serialized_start=173 + _globals['_EVIDENCE']._serialized_end=401 + _globals['_DUPLICATEVOTEEVIDENCE']._serialized_start=404 + _globals['_DUPLICATEVOTEEVIDENCE']._serialized_end=676 + _globals['_LIGHTCLIENTATTACKEVIDENCE']._serialized_start=679 + _globals['_LIGHTCLIENTATTACKEVIDENCE']._serialized_end=1012 + _globals['_EVIDENCELIST']._serialized_start=1014 + _globals['_EVIDENCELIST']._serialized_end=1090 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/evidence_pb2_grpc.py b/pyinjective/proto/tendermint/types/evidence_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/tendermint/types/evidence_pb2_grpc.py +++ b/pyinjective/proto/tendermint/types/evidence_pb2_grpc.py @@ -1,3 +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/types/params_pb2.py b/pyinjective/proto/tendermint/types/params_pb2.py index 19d497fb..1f8df4df 100644 --- a/pyinjective/proto/tendermint/types/params_pb2.py +++ b/pyinjective/proto/tendermint/types/params_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,38 +16,32 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1dtendermint/types/params.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto"\xb2\x02\n\x0f\x43onsensusParams\x12\x33\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1d.tendermint.types.BlockParamsR\x05\x62lock\x12<\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParamsR\x08\x65vidence\x12?\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParamsR\tvalidator\x12\x39\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParamsR\x07version\x12\x30\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParamsR\x04\x61\x62\x63i"I\n\x0b\x42lockParams\x12\x1b\n\tmax_bytes\x18\x01 \x01(\x03R\x08maxBytes\x12\x17\n\x07max_gas\x18\x02 \x01(\x03R\x06maxGasJ\x04\x08\x03\x10\x04"\xa9\x01\n\x0e\x45videnceParams\x12+\n\x12max_age_num_blocks\x18\x01 \x01(\x03R\x0fmaxAgeNumBlocks\x12M\n\x10max_age_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0emaxAgeDuration\x12\x1b\n\tmax_bytes\x18\x03 \x01(\x03R\x08maxBytes"?\n\x0fValidatorParams\x12"\n\rpub_key_types\x18\x01 \x03(\tR\x0bpubKeyTypes:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01"+\n\rVersionParams\x12\x10\n\x03\x61pp\x18\x01 \x01(\x04R\x03\x61pp:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01"Z\n\x0cHashedParams\x12&\n\x0f\x62lock_max_bytes\x18\x01 \x01(\x03R\rblockMaxBytes\x12"\n\rblock_max_gas\x18\x02 \x01(\x03R\x0b\x62lockMaxGas"O\n\nABCIParams\x12\x41\n\x1dvote_extensions_enable_height\x18\x01 \x01(\x03R\x1avoteExtensionsEnableHeightB\xbd\x01\n\x14\x63om.tendermint.typesB\x0bParamsProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Types\xa8\xe2\x1e\x01\x62\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/types/params.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\"\xb2\x02\n\x0f\x43onsensusParams\x12\x33\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1d.tendermint.types.BlockParamsR\x05\x62lock\x12<\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParamsR\x08\x65vidence\x12?\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParamsR\tvalidator\x12\x39\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParamsR\x07version\x12\x30\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParamsR\x04\x61\x62\x63i\"I\n\x0b\x42lockParams\x12\x1b\n\tmax_bytes\x18\x01 \x01(\x03R\x08maxBytes\x12\x17\n\x07max_gas\x18\x02 \x01(\x03R\x06maxGasJ\x04\x08\x03\x10\x04\"\xa9\x01\n\x0e\x45videnceParams\x12+\n\x12max_age_num_blocks\x18\x01 \x01(\x03R\x0fmaxAgeNumBlocks\x12M\n\x10max_age_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01R\x0emaxAgeDuration\x12\x1b\n\tmax_bytes\x18\x03 \x01(\x03R\x08maxBytes\"?\n\x0fValidatorParams\x12\"\n\rpub_key_types\x18\x01 \x03(\tR\x0bpubKeyTypes:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\"+\n\rVersionParams\x12\x10\n\x03\x61pp\x18\x01 \x01(\x04R\x03\x61pp:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\"Z\n\x0cHashedParams\x12&\n\x0f\x62lock_max_bytes\x18\x01 \x01(\x03R\rblockMaxBytes\x12\"\n\rblock_max_gas\x18\x02 \x01(\x03R\x0b\x62lockMaxGas\"O\n\nABCIParams\x12\x41\n\x1dvote_extensions_enable_height\x18\x01 \x01(\x03R\x1avoteExtensionsEnableHeightB\xbd\x01\n\x14\x63om.tendermint.typesB\x0bParamsProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Types\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.types.params_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.params_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\024com.tendermint.typesB\013ParamsProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types\250\342\036\001" - ) - _globals["_EVIDENCEPARAMS"].fields_by_name["max_age_duration"]._loaded_options = None - _globals["_EVIDENCEPARAMS"].fields_by_name[ - "max_age_duration" - ]._serialized_options = b"\310\336\037\000\230\337\037\001" - _globals["_VALIDATORPARAMS"]._loaded_options = None - _globals["_VALIDATORPARAMS"]._serialized_options = b"\270\240\037\001\350\240\037\001" - _globals["_VERSIONPARAMS"]._loaded_options = None - _globals["_VERSIONPARAMS"]._serialized_options = b"\270\240\037\001\350\240\037\001" - _globals["_CONSENSUSPARAMS"]._serialized_start = 106 - _globals["_CONSENSUSPARAMS"]._serialized_end = 412 - _globals["_BLOCKPARAMS"]._serialized_start = 414 - _globals["_BLOCKPARAMS"]._serialized_end = 487 - _globals["_EVIDENCEPARAMS"]._serialized_start = 490 - _globals["_EVIDENCEPARAMS"]._serialized_end = 659 - _globals["_VALIDATORPARAMS"]._serialized_start = 661 - _globals["_VALIDATORPARAMS"]._serialized_end = 724 - _globals["_VERSIONPARAMS"]._serialized_start = 726 - _globals["_VERSIONPARAMS"]._serialized_end = 769 - _globals["_HASHEDPARAMS"]._serialized_start = 771 - _globals["_HASHEDPARAMS"]._serialized_end = 861 - _globals["_ABCIPARAMS"]._serialized_start = 863 - _globals["_ABCIPARAMS"]._serialized_end = 942 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\013ParamsProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types\250\342\036\001' + _globals['_EVIDENCEPARAMS'].fields_by_name['max_age_duration']._loaded_options = None + _globals['_EVIDENCEPARAMS'].fields_by_name['max_age_duration']._serialized_options = b'\310\336\037\000\230\337\037\001' + _globals['_VALIDATORPARAMS']._loaded_options = None + _globals['_VALIDATORPARAMS']._serialized_options = b'\270\240\037\001\350\240\037\001' + _globals['_VERSIONPARAMS']._loaded_options = None + _globals['_VERSIONPARAMS']._serialized_options = b'\270\240\037\001\350\240\037\001' + _globals['_CONSENSUSPARAMS']._serialized_start=106 + _globals['_CONSENSUSPARAMS']._serialized_end=412 + _globals['_BLOCKPARAMS']._serialized_start=414 + _globals['_BLOCKPARAMS']._serialized_end=487 + _globals['_EVIDENCEPARAMS']._serialized_start=490 + _globals['_EVIDENCEPARAMS']._serialized_end=659 + _globals['_VALIDATORPARAMS']._serialized_start=661 + _globals['_VALIDATORPARAMS']._serialized_end=724 + _globals['_VERSIONPARAMS']._serialized_start=726 + _globals['_VERSIONPARAMS']._serialized_end=769 + _globals['_HASHEDPARAMS']._serialized_start=771 + _globals['_HASHEDPARAMS']._serialized_end=861 + _globals['_ABCIPARAMS']._serialized_start=863 + _globals['_ABCIPARAMS']._serialized_end=942 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/params_pb2_grpc.py b/pyinjective/proto/tendermint/types/params_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/tendermint/types/params_pb2_grpc.py +++ b/pyinjective/proto/tendermint/types/params_pb2_grpc.py @@ -1,3 +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/types/types_pb2.py b/pyinjective/proto/tendermint/types/types_pb2.py index 72d94d60..8d569a24 100644 --- a/pyinjective/proto/tendermint/types/types_pb2.py +++ b/pyinjective/proto/tendermint/types/types_pb2.py @@ -7,7 +7,6 @@ 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() @@ -20,104 +19,90 @@ from pyinjective.proto.tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1ctendermint/types/types.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dtendermint/crypto/proof.proto\x1a\x1etendermint/version/types.proto\x1a tendermint/types/validator.proto"9\n\rPartSetHeader\x12\x14\n\x05total\x18\x01 \x01(\rR\x05total\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash"h\n\x04Part\x12\x14\n\x05index\x18\x01 \x01(\rR\x05index\x12\x14\n\x05\x62ytes\x18\x02 \x01(\x0cR\x05\x62ytes\x12\x34\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00R\x05proof"l\n\x07\x42lockID\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12M\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00R\rpartSetHeader"\xe6\x04\n\x06Header\x12=\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00R\x07version\x12&\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDR\x07\x63hainId\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x43\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00R\x0blastBlockId\x12(\n\x10last_commit_hash\x18\x06 \x01(\x0cR\x0elastCommitHash\x12\x1b\n\tdata_hash\x18\x07 \x01(\x0cR\x08\x64\x61taHash\x12\'\n\x0fvalidators_hash\x18\x08 \x01(\x0cR\x0evalidatorsHash\x12\x30\n\x14next_validators_hash\x18\t \x01(\x0cR\x12nextValidatorsHash\x12%\n\x0e\x63onsensus_hash\x18\n \x01(\x0cR\rconsensusHash\x12\x19\n\x08\x61pp_hash\x18\x0b \x01(\x0cR\x07\x61ppHash\x12*\n\x11last_results_hash\x18\x0c \x01(\x0cR\x0flastResultsHash\x12#\n\revidence_hash\x18\r \x01(\x0cR\x0c\x65videnceHash\x12)\n\x10proposer_address\x18\x0e \x01(\x0cR\x0fproposerAddress"\x18\n\x04\x44\x61ta\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs"\xb7\x03\n\x04Vote\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12+\n\x11validator_address\x18\x06 \x01(\x0cR\x10validatorAddress\x12\'\n\x0fvalidator_index\x18\x07 \x01(\x05R\x0evalidatorIndex\x12\x1c\n\tsignature\x18\x08 \x01(\x0cR\tsignature\x12\x1c\n\textension\x18\t \x01(\x0cR\textension\x12/\n\x13\x65xtension_signature\x18\n \x01(\x0cR\x12\x65xtensionSignature"\xc0\x01\n\x06\x43ommit\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x41\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00R\nsignatures"\xdd\x01\n\tCommitSig\x12\x41\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlag\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature"\xe1\x01\n\x0e\x45xtendedCommit\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12Z\n\x13\x65xtended_signatures\x18\x04 \x03(\x0b\x32#.tendermint.types.ExtendedCommitSigB\x04\xc8\xde\x1f\x00R\x12\x65xtendedSignatures"\xb4\x02\n\x11\x45xtendedCommitSig\x12\x41\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlag\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature\x12\x1c\n\textension\x18\x05 \x01(\x0cR\textension\x12/\n\x13\x65xtension_signature\x18\x06 \x01(\x0cR\x12\x65xtensionSignature"\xb3\x02\n\x08Proposal\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x05R\x05round\x12\x1b\n\tpol_round\x18\x04 \x01(\x05R\x08polRound\x12\x45\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x42\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x07 \x01(\x0cR\tsignature"r\n\x0cSignedHeader\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderR\x06header\x12\x30\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.CommitR\x06\x63ommit"\x96\x01\n\nLightBlock\x12\x43\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderR\x0csignedHeader\x12\x43\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x0cvalidatorSet"\xc2\x01\n\tBlockMeta\x12\x45\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x1d\n\nblock_size\x18\x02 \x01(\x03R\tblockSize\x12\x36\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00R\x06header\x12\x17\n\x07num_txs\x18\x04 \x01(\x03R\x06numTxs"j\n\x07TxProof\x12\x1b\n\troot_hash\x18\x01 \x01(\x0cR\x08rootHash\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12.\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofR\x05proof*\xd7\x01\n\rSignedMsgType\x12,\n\x17SIGNED_MSG_TYPE_UNKNOWN\x10\x00\x1a\x0f\x8a\x9d \x0bUnknownType\x12,\n\x17SIGNED_MSG_TYPE_PREVOTE\x10\x01\x1a\x0f\x8a\x9d \x0bPrevoteType\x12\x30\n\x19SIGNED_MSG_TYPE_PRECOMMIT\x10\x02\x1a\x11\x8a\x9d \rPrecommitType\x12.\n\x18SIGNED_MSG_TYPE_PROPOSAL\x10 \x1a\x10\x8a\x9d \x0cProposalType\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\xb8\x01\n\x14\x63om.tendermint.typesB\nTypesProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/types.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dtendermint/crypto/proof.proto\x1a\x1etendermint/version/types.proto\x1a tendermint/types/validator.proto\"9\n\rPartSetHeader\x12\x14\n\x05total\x18\x01 \x01(\rR\x05total\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash\"h\n\x04Part\x12\x14\n\x05index\x18\x01 \x01(\rR\x05index\x12\x14\n\x05\x62ytes\x18\x02 \x01(\x0cR\x05\x62ytes\x12\x34\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00R\x05proof\"l\n\x07\x42lockID\x12\x12\n\x04hash\x18\x01 \x01(\x0cR\x04hash\x12M\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00R\rpartSetHeader\"\xe6\x04\n\x06Header\x12=\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00R\x07version\x12&\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDR\x07\x63hainId\x12\x16\n\x06height\x18\x03 \x01(\x03R\x06height\x12\x38\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\x04time\x12\x43\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00R\x0blastBlockId\x12(\n\x10last_commit_hash\x18\x06 \x01(\x0cR\x0elastCommitHash\x12\x1b\n\tdata_hash\x18\x07 \x01(\x0cR\x08\x64\x61taHash\x12\'\n\x0fvalidators_hash\x18\x08 \x01(\x0cR\x0evalidatorsHash\x12\x30\n\x14next_validators_hash\x18\t \x01(\x0cR\x12nextValidatorsHash\x12%\n\x0e\x63onsensus_hash\x18\n \x01(\x0cR\rconsensusHash\x12\x19\n\x08\x61pp_hash\x18\x0b \x01(\x0cR\x07\x61ppHash\x12*\n\x11last_results_hash\x18\x0c \x01(\x0cR\x0flastResultsHash\x12#\n\revidence_hash\x18\r \x01(\x0cR\x0c\x65videnceHash\x12)\n\x10proposer_address\x18\x0e \x01(\x0cR\x0fproposerAddress\"\x18\n\x04\x44\x61ta\x12\x10\n\x03txs\x18\x01 \x03(\x0cR\x03txs\"\xb7\x03\n\x04Vote\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x42\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12+\n\x11validator_address\x18\x06 \x01(\x0cR\x10validatorAddress\x12\'\n\x0fvalidator_index\x18\x07 \x01(\x05R\x0evalidatorIndex\x12\x1c\n\tsignature\x18\x08 \x01(\x0cR\tsignature\x12\x1c\n\textension\x18\t \x01(\x0cR\textension\x12/\n\x13\x65xtension_signature\x18\n \x01(\x0cR\x12\x65xtensionSignature\"\xc0\x01\n\x06\x43ommit\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x41\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00R\nsignatures\"\xdd\x01\n\tCommitSig\x12\x41\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlag\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature\"\xe1\x01\n\x0e\x45xtendedCommit\x12\x16\n\x06height\x18\x01 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x02 \x01(\x05R\x05round\x12\x45\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12Z\n\x13\x65xtended_signatures\x18\x04 \x03(\x0b\x32#.tendermint.types.ExtendedCommitSigB\x04\xc8\xde\x1f\x00R\x12\x65xtendedSignatures\"\xb4\x02\n\x11\x45xtendedCommitSig\x12\x41\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagR\x0b\x62lockIdFlag\x12+\n\x11validator_address\x18\x02 \x01(\x0cR\x10validatorAddress\x12\x42\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature\x12\x1c\n\textension\x18\x05 \x01(\x0cR\textension\x12/\n\x13\x65xtension_signature\x18\x06 \x01(\x0cR\x12\x65xtensionSignature\"\xb3\x02\n\x08Proposal\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgTypeR\x04type\x12\x16\n\x06height\x18\x02 \x01(\x03R\x06height\x12\x14\n\x05round\x18\x03 \x01(\x05R\x05round\x12\x1b\n\tpol_round\x18\x04 \x01(\x05R\x08polRound\x12\x45\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x42\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01R\ttimestamp\x12\x1c\n\tsignature\x18\x07 \x01(\x0cR\tsignature\"r\n\x0cSignedHeader\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.HeaderR\x06header\x12\x30\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.CommitR\x06\x63ommit\"\x96\x01\n\nLightBlock\x12\x43\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderR\x0csignedHeader\x12\x43\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetR\x0cvalidatorSet\"\xc2\x01\n\tBlockMeta\x12\x45\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockIDR\x07\x62lockId\x12\x1d\n\nblock_size\x18\x02 \x01(\x03R\tblockSize\x12\x36\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00R\x06header\x12\x17\n\x07num_txs\x18\x04 \x01(\x03R\x06numTxs\"j\n\x07TxProof\x12\x1b\n\troot_hash\x18\x01 \x01(\x0cR\x08rootHash\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12.\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofR\x05proof*\xd7\x01\n\rSignedMsgType\x12,\n\x17SIGNED_MSG_TYPE_UNKNOWN\x10\x00\x1a\x0f\x8a\x9d \x0bUnknownType\x12,\n\x17SIGNED_MSG_TYPE_PREVOTE\x10\x01\x1a\x0f\x8a\x9d \x0bPrevoteType\x12\x30\n\x19SIGNED_MSG_TYPE_PRECOMMIT\x10\x02\x1a\x11\x8a\x9d \rPrecommitType\x12.\n\x18SIGNED_MSG_TYPE_PROPOSAL\x10 \x1a\x10\x8a\x9d \x0cProposalType\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\xb8\x01\n\x14\x63om.tendermint.typesB\nTypesProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.types.types_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.types_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\024com.tendermint.typesB\nTypesProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types" - ) - _globals["_SIGNEDMSGTYPE"]._loaded_options = None - _globals["_SIGNEDMSGTYPE"]._serialized_options = b"\210\243\036\000\250\244\036\001" - _globals["_SIGNEDMSGTYPE"].values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._loaded_options = None - _globals["_SIGNEDMSGTYPE"].values_by_name[ - "SIGNED_MSG_TYPE_UNKNOWN" - ]._serialized_options = b"\212\235 \013UnknownType" - _globals["_SIGNEDMSGTYPE"].values_by_name["SIGNED_MSG_TYPE_PREVOTE"]._loaded_options = None - _globals["_SIGNEDMSGTYPE"].values_by_name[ - "SIGNED_MSG_TYPE_PREVOTE" - ]._serialized_options = b"\212\235 \013PrevoteType" - _globals["_SIGNEDMSGTYPE"].values_by_name["SIGNED_MSG_TYPE_PRECOMMIT"]._loaded_options = None - _globals["_SIGNEDMSGTYPE"].values_by_name[ - "SIGNED_MSG_TYPE_PRECOMMIT" - ]._serialized_options = b"\212\235 \rPrecommitType" - _globals["_SIGNEDMSGTYPE"].values_by_name["SIGNED_MSG_TYPE_PROPOSAL"]._loaded_options = None - _globals["_SIGNEDMSGTYPE"].values_by_name[ - "SIGNED_MSG_TYPE_PROPOSAL" - ]._serialized_options = b"\212\235 \014ProposalType" - _globals["_PART"].fields_by_name["proof"]._loaded_options = None - _globals["_PART"].fields_by_name["proof"]._serialized_options = b"\310\336\037\000" - _globals["_BLOCKID"].fields_by_name["part_set_header"]._loaded_options = None - _globals["_BLOCKID"].fields_by_name["part_set_header"]._serialized_options = b"\310\336\037\000" - _globals["_HEADER"].fields_by_name["version"]._loaded_options = None - _globals["_HEADER"].fields_by_name["version"]._serialized_options = b"\310\336\037\000" - _globals["_HEADER"].fields_by_name["chain_id"]._loaded_options = None - _globals["_HEADER"].fields_by_name["chain_id"]._serialized_options = b"\342\336\037\007ChainID" - _globals["_HEADER"].fields_by_name["time"]._loaded_options = None - _globals["_HEADER"].fields_by_name["time"]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_HEADER"].fields_by_name["last_block_id"]._loaded_options = None - _globals["_HEADER"].fields_by_name["last_block_id"]._serialized_options = b"\310\336\037\000" - _globals["_VOTE"].fields_by_name["block_id"]._loaded_options = None - _globals["_VOTE"].fields_by_name["block_id"]._serialized_options = b"\310\336\037\000\342\336\037\007BlockID" - _globals["_VOTE"].fields_by_name["timestamp"]._loaded_options = None - _globals["_VOTE"].fields_by_name["timestamp"]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_COMMIT"].fields_by_name["block_id"]._loaded_options = None - _globals["_COMMIT"].fields_by_name["block_id"]._serialized_options = b"\310\336\037\000\342\336\037\007BlockID" - _globals["_COMMIT"].fields_by_name["signatures"]._loaded_options = None - _globals["_COMMIT"].fields_by_name["signatures"]._serialized_options = b"\310\336\037\000" - _globals["_COMMITSIG"].fields_by_name["timestamp"]._loaded_options = None - _globals["_COMMITSIG"].fields_by_name["timestamp"]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_EXTENDEDCOMMIT"].fields_by_name["block_id"]._loaded_options = None - _globals["_EXTENDEDCOMMIT"].fields_by_name[ - "block_id" - ]._serialized_options = b"\310\336\037\000\342\336\037\007BlockID" - _globals["_EXTENDEDCOMMIT"].fields_by_name["extended_signatures"]._loaded_options = None - _globals["_EXTENDEDCOMMIT"].fields_by_name["extended_signatures"]._serialized_options = b"\310\336\037\000" - _globals["_EXTENDEDCOMMITSIG"].fields_by_name["timestamp"]._loaded_options = None - _globals["_EXTENDEDCOMMITSIG"].fields_by_name["timestamp"]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_PROPOSAL"].fields_by_name["block_id"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name["block_id"]._serialized_options = b"\310\336\037\000\342\336\037\007BlockID" - _globals["_PROPOSAL"].fields_by_name["timestamp"]._loaded_options = None - _globals["_PROPOSAL"].fields_by_name["timestamp"]._serialized_options = b"\310\336\037\000\220\337\037\001" - _globals["_BLOCKMETA"].fields_by_name["block_id"]._loaded_options = None - _globals["_BLOCKMETA"].fields_by_name["block_id"]._serialized_options = b"\310\336\037\000\342\336\037\007BlockID" - _globals["_BLOCKMETA"].fields_by_name["header"]._loaded_options = None - _globals["_BLOCKMETA"].fields_by_name["header"]._serialized_options = b"\310\336\037\000" - _globals["_SIGNEDMSGTYPE"]._serialized_start = 3405 - _globals["_SIGNEDMSGTYPE"]._serialized_end = 3620 - _globals["_PARTSETHEADER"]._serialized_start = 202 - _globals["_PARTSETHEADER"]._serialized_end = 259 - _globals["_PART"]._serialized_start = 261 - _globals["_PART"]._serialized_end = 365 - _globals["_BLOCKID"]._serialized_start = 367 - _globals["_BLOCKID"]._serialized_end = 475 - _globals["_HEADER"]._serialized_start = 478 - _globals["_HEADER"]._serialized_end = 1092 - _globals["_DATA"]._serialized_start = 1094 - _globals["_DATA"]._serialized_end = 1118 - _globals["_VOTE"]._serialized_start = 1121 - _globals["_VOTE"]._serialized_end = 1560 - _globals["_COMMIT"]._serialized_start = 1563 - _globals["_COMMIT"]._serialized_end = 1755 - _globals["_COMMITSIG"]._serialized_start = 1758 - _globals["_COMMITSIG"]._serialized_end = 1979 - _globals["_EXTENDEDCOMMIT"]._serialized_start = 1982 - _globals["_EXTENDEDCOMMIT"]._serialized_end = 2207 - _globals["_EXTENDEDCOMMITSIG"]._serialized_start = 2210 - _globals["_EXTENDEDCOMMITSIG"]._serialized_end = 2518 - _globals["_PROPOSAL"]._serialized_start = 2521 - _globals["_PROPOSAL"]._serialized_end = 2828 - _globals["_SIGNEDHEADER"]._serialized_start = 2830 - _globals["_SIGNEDHEADER"]._serialized_end = 2944 - _globals["_LIGHTBLOCK"]._serialized_start = 2947 - _globals["_LIGHTBLOCK"]._serialized_end = 3097 - _globals["_BLOCKMETA"]._serialized_start = 3100 - _globals["_BLOCKMETA"]._serialized_end = 3294 - _globals["_TXPROOF"]._serialized_start = 3296 - _globals["_TXPROOF"]._serialized_end = 3402 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\nTypesProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types' + _globals['_SIGNEDMSGTYPE']._loaded_options = None + _globals['_SIGNEDMSGTYPE']._serialized_options = b'\210\243\036\000\250\244\036\001' + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._loaded_options = None + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._serialized_options = b'\212\235 \013UnknownType' + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PREVOTE"]._loaded_options = None + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PREVOTE"]._serialized_options = b'\212\235 \013PrevoteType' + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PRECOMMIT"]._loaded_options = None + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PRECOMMIT"]._serialized_options = b'\212\235 \rPrecommitType' + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PROPOSAL"]._loaded_options = None + _globals['_SIGNEDMSGTYPE'].values_by_name["SIGNED_MSG_TYPE_PROPOSAL"]._serialized_options = b'\212\235 \014ProposalType' + _globals['_PART'].fields_by_name['proof']._loaded_options = None + _globals['_PART'].fields_by_name['proof']._serialized_options = b'\310\336\037\000' + _globals['_BLOCKID'].fields_by_name['part_set_header']._loaded_options = None + _globals['_BLOCKID'].fields_by_name['part_set_header']._serialized_options = b'\310\336\037\000' + _globals['_HEADER'].fields_by_name['version']._loaded_options = None + _globals['_HEADER'].fields_by_name['version']._serialized_options = b'\310\336\037\000' + _globals['_HEADER'].fields_by_name['chain_id']._loaded_options = None + _globals['_HEADER'].fields_by_name['chain_id']._serialized_options = b'\342\336\037\007ChainID' + _globals['_HEADER'].fields_by_name['time']._loaded_options = None + _globals['_HEADER'].fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_HEADER'].fields_by_name['last_block_id']._loaded_options = None + _globals['_HEADER'].fields_by_name['last_block_id']._serialized_options = b'\310\336\037\000' + _globals['_VOTE'].fields_by_name['block_id']._loaded_options = None + _globals['_VOTE'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_VOTE'].fields_by_name['timestamp']._loaded_options = None + _globals['_VOTE'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_COMMIT'].fields_by_name['block_id']._loaded_options = None + _globals['_COMMIT'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_COMMIT'].fields_by_name['signatures']._loaded_options = None + _globals['_COMMIT'].fields_by_name['signatures']._serialized_options = b'\310\336\037\000' + _globals['_COMMITSIG'].fields_by_name['timestamp']._loaded_options = None + _globals['_COMMITSIG'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_EXTENDEDCOMMIT'].fields_by_name['block_id']._loaded_options = None + _globals['_EXTENDEDCOMMIT'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_EXTENDEDCOMMIT'].fields_by_name['extended_signatures']._loaded_options = None + _globals['_EXTENDEDCOMMIT'].fields_by_name['extended_signatures']._serialized_options = b'\310\336\037\000' + _globals['_EXTENDEDCOMMITSIG'].fields_by_name['timestamp']._loaded_options = None + _globals['_EXTENDEDCOMMITSIG'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_PROPOSAL'].fields_by_name['block_id']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_PROPOSAL'].fields_by_name['timestamp']._loaded_options = None + _globals['_PROPOSAL'].fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _globals['_BLOCKMETA'].fields_by_name['block_id']._loaded_options = None + _globals['_BLOCKMETA'].fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' + _globals['_BLOCKMETA'].fields_by_name['header']._loaded_options = None + _globals['_BLOCKMETA'].fields_by_name['header']._serialized_options = b'\310\336\037\000' + _globals['_SIGNEDMSGTYPE']._serialized_start=3405 + _globals['_SIGNEDMSGTYPE']._serialized_end=3620 + _globals['_PARTSETHEADER']._serialized_start=202 + _globals['_PARTSETHEADER']._serialized_end=259 + _globals['_PART']._serialized_start=261 + _globals['_PART']._serialized_end=365 + _globals['_BLOCKID']._serialized_start=367 + _globals['_BLOCKID']._serialized_end=475 + _globals['_HEADER']._serialized_start=478 + _globals['_HEADER']._serialized_end=1092 + _globals['_DATA']._serialized_start=1094 + _globals['_DATA']._serialized_end=1118 + _globals['_VOTE']._serialized_start=1121 + _globals['_VOTE']._serialized_end=1560 + _globals['_COMMIT']._serialized_start=1563 + _globals['_COMMIT']._serialized_end=1755 + _globals['_COMMITSIG']._serialized_start=1758 + _globals['_COMMITSIG']._serialized_end=1979 + _globals['_EXTENDEDCOMMIT']._serialized_start=1982 + _globals['_EXTENDEDCOMMIT']._serialized_end=2207 + _globals['_EXTENDEDCOMMITSIG']._serialized_start=2210 + _globals['_EXTENDEDCOMMITSIG']._serialized_end=2518 + _globals['_PROPOSAL']._serialized_start=2521 + _globals['_PROPOSAL']._serialized_end=2828 + _globals['_SIGNEDHEADER']._serialized_start=2830 + _globals['_SIGNEDHEADER']._serialized_end=2944 + _globals['_LIGHTBLOCK']._serialized_start=2947 + _globals['_LIGHTBLOCK']._serialized_end=3097 + _globals['_BLOCKMETA']._serialized_start=3100 + _globals['_BLOCKMETA']._serialized_end=3294 + _globals['_TXPROOF']._serialized_start=3296 + _globals['_TXPROOF']._serialized_end=3402 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/types_pb2_grpc.py b/pyinjective/proto/tendermint/types/types_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/tendermint/types/types_pb2_grpc.py +++ b/pyinjective/proto/tendermint/types/types_pb2_grpc.py @@ -1,3 +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/types/validator_pb2.py b/pyinjective/proto/tendermint/types/validator_pb2.py index d4af0f01..74283b73 100644 --- a/pyinjective/proto/tendermint/types/validator_pb2.py +++ b/pyinjective/proto/tendermint/types/validator_pb2.py @@ -7,7 +7,6 @@ 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() @@ -17,42 +16,32 @@ from pyinjective.proto.tendermint.crypto import keys_pb2 as tendermint_dot_crypto_dot_keys__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n tendermint/types/validator.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto"\xb2\x01\n\x0cValidatorSet\x12;\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.ValidatorR\nvalidators\x12\x37\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.ValidatorR\x08proposer\x12,\n\x12total_voting_power\x18\x03 \x01(\x03R\x10totalVotingPower"\xb2\x01\n\tValidator\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0cR\x07\x61\x64\x64ress\x12;\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12!\n\x0cvoting_power\x18\x03 \x01(\x03R\x0bvotingPower\x12+\n\x11proposer_priority\x18\x04 \x01(\x03R\x10proposerPriority"k\n\x0fSimpleValidator\x12\x35\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyR\x06pubKey\x12!\n\x0cvoting_power\x18\x02 \x01(\x03R\x0bvotingPower*\xd7\x01\n\x0b\x42lockIDFlag\x12\x31\n\x15\x42LOCK_ID_FLAG_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x42lockIDFlagUnknown\x12/\n\x14\x42LOCK_ID_FLAG_ABSENT\x10\x01\x1a\x15\x8a\x9d \x11\x42lockIDFlagAbsent\x12/\n\x14\x42LOCK_ID_FLAG_COMMIT\x10\x02\x1a\x15\x8a\x9d \x11\x42lockIDFlagCommit\x12)\n\x11\x42LOCK_ID_FLAG_NIL\x10\x03\x1a\x12\x8a\x9d \x0e\x42lockIDFlagNil\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\xbc\x01\n\x14\x63om.tendermint.typesB\x0eValidatorProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/validator.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto\"\xb2\x01\n\x0cValidatorSet\x12;\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.ValidatorR\nvalidators\x12\x37\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.ValidatorR\x08proposer\x12,\n\x12total_voting_power\x18\x03 \x01(\x03R\x10totalVotingPower\"\xb2\x01\n\tValidator\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0cR\x07\x61\x64\x64ress\x12;\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12!\n\x0cvoting_power\x18\x03 \x01(\x03R\x0bvotingPower\x12+\n\x11proposer_priority\x18\x04 \x01(\x03R\x10proposerPriority\"k\n\x0fSimpleValidator\x12\x35\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyR\x06pubKey\x12!\n\x0cvoting_power\x18\x02 \x01(\x03R\x0bvotingPower*\xd7\x01\n\x0b\x42lockIDFlag\x12\x31\n\x15\x42LOCK_ID_FLAG_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x42lockIDFlagUnknown\x12/\n\x14\x42LOCK_ID_FLAG_ABSENT\x10\x01\x1a\x15\x8a\x9d \x11\x42lockIDFlagAbsent\x12/\n\x14\x42LOCK_ID_FLAG_COMMIT\x10\x02\x1a\x15\x8a\x9d \x11\x42lockIDFlagCommit\x12)\n\x11\x42LOCK_ID_FLAG_NIL\x10\x03\x1a\x12\x8a\x9d \x0e\x42lockIDFlagNil\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\xbc\x01\n\x14\x63om.tendermint.typesB\x0eValidatorProtoP\x01Z3github.com/cometbft/cometbft/proto/tendermint/types\xa2\x02\x03TTX\xaa\x02\x10Tendermint.Types\xca\x02\x10Tendermint\\Types\xe2\x02\x1cTendermint\\Types\\GPBMetadata\xea\x02\x11Tendermint::Typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.types.validator_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.validator_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\024com.tendermint.typesB\016ValidatorProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types" - ) - _globals["_BLOCKIDFLAG"]._loaded_options = None - _globals["_BLOCKIDFLAG"]._serialized_options = b"\210\243\036\000\250\244\036\001" - _globals["_BLOCKIDFLAG"].values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._loaded_options = None - _globals["_BLOCKIDFLAG"].values_by_name[ - "BLOCK_ID_FLAG_UNKNOWN" - ]._serialized_options = b"\212\235 \022BlockIDFlagUnknown" - _globals["_BLOCKIDFLAG"].values_by_name["BLOCK_ID_FLAG_ABSENT"]._loaded_options = None - _globals["_BLOCKIDFLAG"].values_by_name[ - "BLOCK_ID_FLAG_ABSENT" - ]._serialized_options = b"\212\235 \021BlockIDFlagAbsent" - _globals["_BLOCKIDFLAG"].values_by_name["BLOCK_ID_FLAG_COMMIT"]._loaded_options = None - _globals["_BLOCKIDFLAG"].values_by_name[ - "BLOCK_ID_FLAG_COMMIT" - ]._serialized_options = b"\212\235 \021BlockIDFlagCommit" - _globals["_BLOCKIDFLAG"].values_by_name["BLOCK_ID_FLAG_NIL"]._loaded_options = None - _globals["_BLOCKIDFLAG"].values_by_name["BLOCK_ID_FLAG_NIL"]._serialized_options = b"\212\235 \016BlockIDFlagNil" - _globals["_VALIDATOR"].fields_by_name["pub_key"]._loaded_options = None - _globals["_VALIDATOR"].fields_by_name["pub_key"]._serialized_options = b"\310\336\037\000" - _globals["_BLOCKIDFLAG"]._serialized_start = 578 - _globals["_BLOCKIDFLAG"]._serialized_end = 793 - _globals["_VALIDATORSET"]._serialized_start = 107 - _globals["_VALIDATORSET"]._serialized_end = 285 - _globals["_VALIDATOR"]._serialized_start = 288 - _globals["_VALIDATOR"]._serialized_end = 466 - _globals["_SIMPLEVALIDATOR"]._serialized_start = 468 - _globals["_SIMPLEVALIDATOR"]._serialized_end = 575 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.tendermint.typesB\016ValidatorProtoP\001Z3github.com/cometbft/cometbft/proto/tendermint/types\242\002\003TTX\252\002\020Tendermint.Types\312\002\020Tendermint\\Types\342\002\034Tendermint\\Types\\GPBMetadata\352\002\021Tendermint::Types' + _globals['_BLOCKIDFLAG']._loaded_options = None + _globals['_BLOCKIDFLAG']._serialized_options = b'\210\243\036\000\250\244\036\001' + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._loaded_options = None + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._serialized_options = b'\212\235 \022BlockIDFlagUnknown' + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_ABSENT"]._loaded_options = None + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_ABSENT"]._serialized_options = b'\212\235 \021BlockIDFlagAbsent' + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_COMMIT"]._loaded_options = None + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_COMMIT"]._serialized_options = b'\212\235 \021BlockIDFlagCommit' + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_NIL"]._loaded_options = None + _globals['_BLOCKIDFLAG'].values_by_name["BLOCK_ID_FLAG_NIL"]._serialized_options = b'\212\235 \016BlockIDFlagNil' + _globals['_VALIDATOR'].fields_by_name['pub_key']._loaded_options = None + _globals['_VALIDATOR'].fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' + _globals['_BLOCKIDFLAG']._serialized_start=578 + _globals['_BLOCKIDFLAG']._serialized_end=793 + _globals['_VALIDATORSET']._serialized_start=107 + _globals['_VALIDATORSET']._serialized_end=285 + _globals['_VALIDATOR']._serialized_start=288 + _globals['_VALIDATOR']._serialized_end=466 + _globals['_SIMPLEVALIDATOR']._serialized_start=468 + _globals['_SIMPLEVALIDATOR']._serialized_end=575 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/validator_pb2_grpc.py b/pyinjective/proto/tendermint/types/validator_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/tendermint/types/validator_pb2_grpc.py +++ b/pyinjective/proto/tendermint/types/validator_pb2_grpc.py @@ -1,3 +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/version/types_pb2.py b/pyinjective/proto/tendermint/version/types_pb2.py index 7e88ac28..e93791f7 100644 --- a/pyinjective/proto/tendermint/version/types_pb2.py +++ b/pyinjective/proto/tendermint/version/types_pb2.py @@ -7,7 +7,6 @@ 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() @@ -16,22 +15,18 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\x1etendermint/version/types.proto\x12\x12tendermint.version\x1a\x14gogoproto/gogo.proto"=\n\x03\x41pp\x12\x1a\n\x08protocol\x18\x01 \x01(\x04R\x08protocol\x12\x1a\n\x08software\x18\x02 \x01(\tR\x08software"9\n\tConsensus\x12\x14\n\x05\x62lock\x18\x01 \x01(\x04R\x05\x62lock\x12\x10\n\x03\x61pp\x18\x02 \x01(\x04R\x03\x61pp:\x04\xe8\xa0\x1f\x01\x42\xc4\x01\n\x16\x63om.tendermint.versionB\nTypesProtoP\x01Z5github.com/cometbft/cometbft/proto/tendermint/version\xa2\x02\x03TVX\xaa\x02\x12Tendermint.Version\xca\x02\x12Tendermint\\Version\xe2\x02\x1eTendermint\\Version\\GPBMetadata\xea\x02\x13Tendermint::Versionb\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/version/types.proto\x12\x12tendermint.version\x1a\x14gogoproto/gogo.proto\"=\n\x03\x41pp\x12\x1a\n\x08protocol\x18\x01 \x01(\x04R\x08protocol\x12\x1a\n\x08software\x18\x02 \x01(\tR\x08software\"9\n\tConsensus\x12\x14\n\x05\x62lock\x18\x01 \x01(\x04R\x05\x62lock\x12\x10\n\x03\x61pp\x18\x02 \x01(\x04R\x03\x61pp:\x04\xe8\xa0\x1f\x01\x42\xc4\x01\n\x16\x63om.tendermint.versionB\nTypesProtoP\x01Z5github.com/cometbft/cometbft/proto/tendermint/version\xa2\x02\x03TVX\xaa\x02\x12Tendermint.Version\xca\x02\x12Tendermint\\Version\xe2\x02\x1eTendermint\\Version\\GPBMetadata\xea\x02\x13Tendermint::Versionb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "tendermint.version.types_pb2", _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.version.types_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\026com.tendermint.versionB\nTypesProtoP\001Z5github.com/cometbft/cometbft/proto/tendermint/version\242\002\003TVX\252\002\022Tendermint.Version\312\002\022Tendermint\\Version\342\002\036Tendermint\\Version\\GPBMetadata\352\002\023Tendermint::Version" - ) - _globals["_CONSENSUS"]._loaded_options = None - _globals["_CONSENSUS"]._serialized_options = b"\350\240\037\001" - _globals["_APP"]._serialized_start = 76 - _globals["_APP"]._serialized_end = 137 - _globals["_CONSENSUS"]._serialized_start = 139 - _globals["_CONSENSUS"]._serialized_end = 196 + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\026com.tendermint.versionB\nTypesProtoP\001Z5github.com/cometbft/cometbft/proto/tendermint/version\242\002\003TVX\252\002\022Tendermint.Version\312\002\022Tendermint\\Version\342\002\036Tendermint\\Version\\GPBMetadata\352\002\023Tendermint::Version' + _globals['_CONSENSUS']._loaded_options = None + _globals['_CONSENSUS']._serialized_options = b'\350\240\037\001' + _globals['_APP']._serialized_start=76 + _globals['_APP']._serialized_end=137 + _globals['_CONSENSUS']._serialized_start=139 + _globals['_CONSENSUS']._serialized_end=196 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/version/types_pb2_grpc.py b/pyinjective/proto/tendermint/version/types_pb2_grpc.py index 8a939394..2daafffe 100644 --- a/pyinjective/proto/tendermint/version/types_pb2_grpc.py +++ b/pyinjective/proto/tendermint/version/types_pb2_grpc.py @@ -1,3 +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/pyproject.toml b/pyproject.toml index a81d5acb..a93578c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "1.8.2" +version = "1.8.3b" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0" @@ -34,9 +34,11 @@ mnemonic = "*" protobuf = "^5.26.1" requests = "*" safe-pysha3 = "*" +google-api-core = "*" websockets = "*" web3 = "^6.0" + [tool.poetry.group.test.dependencies] pytest = "*" pytest-asyncio = "*" diff --git a/tests/client/chain/grpc/test_chain_grpc_auth_api.py b/tests/client/chain/grpc/test_chain_grpc_auth_api.py index 508c4026..8c1cda05 100644 --- a/tests/client/chain/grpc/test_chain_grpc_auth_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_auth_api.py @@ -5,7 +5,7 @@ from google.protobuf import any_pb2 from pyinjective.client.chain.grpc.chain_grpc_auth_api import ChainGrpcAuthApi -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import DisabledCookieAssistant, Network from pyinjective.proto.cosmos.auth.v1beta1 import auth_pb2 as auth_pb, query_pb2 as auth_query_pb from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb diff --git a/tests/client/chain/grpc/test_chain_grpc_authz_api.py b/tests/client/chain/grpc/test_chain_grpc_authz_api.py index 315f051f..6f910098 100644 --- a/tests/client/chain/grpc/test_chain_grpc_authz_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_authz_api.py @@ -3,7 +3,7 @@ from google.protobuf import any_pb2 from pyinjective.client.chain.grpc.chain_grpc_authz_api import ChainGrpcAuthZApi -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import DisabledCookieAssistant, Network from pyinjective.proto.cosmos.authz.v1beta1 import authz_pb2, query_pb2 as authz_query from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb diff --git a/tests/client/chain/grpc/test_chain_grpc_bank_api.py b/tests/client/chain/grpc/test_chain_grpc_bank_api.py index fbb155aa..8bd2c4ec 100644 --- a/tests/client/chain/grpc/test_chain_grpc_bank_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_bank_api.py @@ -4,7 +4,7 @@ import pytest from pyinjective.client.chain.grpc.chain_grpc_bank_api import ChainGrpcBankApi -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import DisabledCookieAssistant, Network from pyinjective.proto.cosmos.bank.v1beta1 import bank_pb2 as bank_pb, query_pb2 as bank_query_pb from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb diff --git a/tests/client/chain/grpc/test_chain_grpc_distribution_api.py b/tests/client/chain/grpc/test_chain_grpc_distribution_api.py index 4f54b539..d80995f4 100644 --- a/tests/client/chain/grpc/test_chain_grpc_distribution_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_distribution_api.py @@ -4,7 +4,7 @@ import pytest from pyinjective.client.chain.grpc.chain_grpc_distribution_api import ChainGrpcDistributionApi -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import DisabledCookieAssistant, Network from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb diff --git a/tests/client/chain/grpc/test_chain_grpc_exchange_api.py b/tests/client/chain/grpc/test_chain_grpc_exchange_api.py index 7ec81981..37ff2a1e 100644 --- a/tests/client/chain/grpc/test_chain_grpc_exchange_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_exchange_api.py @@ -4,7 +4,7 @@ import pytest from pyinjective.client.chain.grpc.chain_grpc_exchange_api import ChainGrpcExchangeApi -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import DisabledCookieAssistant, Network from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb from pyinjective.proto.injective.exchange.v1beta1 import ( diff --git a/tests/client/chain/grpc/test_chain_grpc_wasm_api.py b/tests/client/chain/grpc/test_chain_grpc_wasm_api.py index a8ebf1af..480fbc97 100644 --- a/tests/client/chain/grpc/test_chain_grpc_wasm_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_wasm_api.py @@ -5,7 +5,7 @@ import pytest from pyinjective.client.chain.grpc.chain_grpc_wasm_api import ChainGrpcWasmApi -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import DisabledCookieAssistant, Network from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb from pyinjective.proto.cosmwasm.wasm.v1 import query_pb2 as wasm_query_pb, types_pb2 as wasm_types_pb diff --git a/tests/client/chain/stream_grpc/test_chain_grpc_chain_stream.py b/tests/client/chain/stream_grpc/test_chain_grpc_chain_stream.py index 39513fdc..2d9a1768 100644 --- a/tests/client/chain/stream_grpc/test_chain_grpc_chain_stream.py +++ b/tests/client/chain/stream_grpc/test_chain_grpc_chain_stream.py @@ -4,7 +4,7 @@ import grpc import pytest -from pyinjective.client.chain.grpc_stream.chain_grpc_chain_stream import ChainGrpcChainStream +from pyinjective.client.chain.grpc_stream import ChainGrpcChainStream from pyinjective.composer import Composer from pyinjective.core.network import DisabledCookieAssistant, Network from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb diff --git a/tests/client/indexer/__init__.py b/tests/client/indexer/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/client/indexer/configurable_account_query_servicer.py b/tests/client/indexer/configurable_account_query_servicer.py deleted file mode 100644 index 161947c2..00000000 --- a/tests/client/indexer/configurable_account_query_servicer.py +++ /dev/null @@ -1,58 +0,0 @@ -from collections import deque - -from pyinjective.proto.exchange import ( - injective_accounts_rpc_pb2 as exchange_accounts_pb, - injective_accounts_rpc_pb2_grpc as exchange_accounts_grpc, -) - - -class ConfigurableAccountQueryServicer(exchange_accounts_grpc.InjectiveAccountsRPCServicer): - def __init__(self): - super().__init__() - self.portfolio_responses = deque() - self.order_states_responses = deque() - self.subaccounts_list_responses = deque() - self.subaccount_balances_list_responses = deque() - self.subaccount_balance_responses = deque() - self.subaccount_history_responses = deque() - self.subaccount_order_summary_responses = deque() - self.rewards_responses = deque() - self.stream_subaccount_balance_responses = deque() - - async def Portfolio(self, request: exchange_accounts_pb.PortfolioRequest, context=None, metadata=None): - return self.portfolio_responses.pop() - - async def OrderStates(self, request: exchange_accounts_pb.OrderStatesRequest, context=None, metadata=None): - return self.order_states_responses.pop() - - async def SubaccountsList(self, request: exchange_accounts_pb.SubaccountsListRequest, context=None, metadata=None): - return self.subaccounts_list_responses.pop() - - async def SubaccountBalancesList( - self, request: exchange_accounts_pb.SubaccountBalancesListRequest, context=None, metadata=None - ): - return self.subaccount_balances_list_responses.pop() - - async def SubaccountBalanceEndpoint( - self, request: exchange_accounts_pb.SubaccountBalanceEndpointRequest, context=None, metadata=None - ): - return self.subaccount_balance_responses.pop() - - async def SubaccountHistory( - self, request: exchange_accounts_pb.SubaccountHistoryRequest, context=None, metadata=None - ): - return self.subaccount_history_responses.pop() - - async def SubaccountOrderSummary( - self, request: exchange_accounts_pb.SubaccountOrderSummaryRequest, context=None, metadata=None - ): - return self.subaccount_order_summary_responses.pop() - - async def Rewards(self, request: exchange_accounts_pb.RewardsRequest, context=None, metadata=None): - return self.rewards_responses.pop() - - async def StreamSubaccountBalance( - self, request: exchange_accounts_pb.SubaccountOrderSummaryRequest, context=None, metadata=None - ): - for event in self.stream_subaccount_balance_responses: - yield event diff --git a/tests/client/indexer/configurable_auction_query_servicer.py b/tests/client/indexer/configurable_auction_query_servicer.py deleted file mode 100644 index 606e2e0d..00000000 --- a/tests/client/indexer/configurable_auction_query_servicer.py +++ /dev/null @@ -1,24 +0,0 @@ -from collections import deque - -from pyinjective.proto.exchange import ( - injective_auction_rpc_pb2 as exchange_auction_pb, - injective_auction_rpc_pb2_grpc as exchange_auction_grpc, -) - - -class ConfigurableAuctionQueryServicer(exchange_auction_grpc.InjectiveAuctionRPCServicer): - def __init__(self): - super().__init__() - self.auction_endpoint_responses = deque() - self.auctions_responses = deque() - self.stream_bids_responses = deque() - - async def AuctionEndpoint(self, request: exchange_auction_pb.AuctionEndpointRequest, context=None, metadata=None): - return self.auction_endpoint_responses.pop() - - async def Auctions(self, request: exchange_auction_pb.AuctionsRequest, context=None, metadata=None): - return self.auctions_responses.pop() - - async def StreamBids(self, request: exchange_auction_pb.StreamBidsRequest, context=None, metadata=None): - for event in self.stream_bids_responses: - yield event diff --git a/tests/client/indexer/configurable_derivative_query_servicer.py b/tests/client/indexer/configurable_derivative_query_servicer.py deleted file mode 100644 index 55a437e1..00000000 --- a/tests/client/indexer/configurable_derivative_query_servicer.py +++ /dev/null @@ -1,140 +0,0 @@ -from collections import deque - -from pyinjective.proto.exchange import ( - injective_derivative_exchange_rpc_pb2 as exchange_derivative_pb, - injective_derivative_exchange_rpc_pb2_grpc as exchange_derivative_grpc, -) - - -class ConfigurableDerivativeQueryServicer(exchange_derivative_grpc.InjectiveDerivativeExchangeRPCServicer): - def __init__(self): - super().__init__() - self.markets_responses = deque() - self.market_responses = deque() - self.binary_options_markets_responses = deque() - self.binary_options_market_responses = deque() - self.orderbook_v2_responses = deque() - self.orderbooks_v2_responses = deque() - self.orders_responses = deque() - self.positions_responses = deque() - self.positions_v2_responses = deque() - self.liquidable_positions_responses = deque() - self.funding_payments_responses = deque() - self.funding_rates_responses = deque() - self.trades_responses = deque() - self.trades_v2_responses = deque() - self.subaccount_orders_list_responses = deque() - self.subaccount_trades_list_responses = deque() - self.orders_history_responses = deque() - - self.stream_market_responses = deque() - self.stream_orderbook_v2_responses = deque() - self.stream_orderbook_update_responses = deque() - self.stream_positions_responses = deque() - self.stream_orders_responses = deque() - self.stream_trades_responses = deque() - self.stream_trades_v2_responses = deque() - self.stream_orders_history_responses = deque() - - async def Markets(self, request: exchange_derivative_pb.MarketsRequest, context=None, metadata=None): - return self.markets_responses.pop() - - async def Market(self, request: exchange_derivative_pb.MarketRequest, context=None, metadata=None): - return self.market_responses.pop() - - async def BinaryOptionsMarkets( - self, request: exchange_derivative_pb.BinaryOptionsMarketsRequest, context=None, metadata=None - ): - return self.binary_options_markets_responses.pop() - - async def BinaryOptionsMarket( - self, request: exchange_derivative_pb.BinaryOptionsMarketRequest, context=None, metadata=None - ): - return self.binary_options_market_responses.pop() - - async def OrderbookV2(self, request: exchange_derivative_pb.OrderbookV2Request, context=None, metadata=None): - return self.orderbook_v2_responses.pop() - - async def OrderbooksV2(self, request: exchange_derivative_pb.OrderbooksV2Request, context=None, metadata=None): - return self.orderbooks_v2_responses.pop() - - async def Orders(self, request: exchange_derivative_pb.OrdersRequest, context=None, metadata=None): - return self.orders_responses.pop() - - async def Positions(self, request: exchange_derivative_pb.PositionsRequest, context=None, metadata=None): - return self.positions_responses.pop() - - async def PositionsV2(self, request: exchange_derivative_pb.PositionsV2Request, context=None, metadata=None): - return self.positions_v2_responses.pop() - - async def LiquidablePositions( - self, request: exchange_derivative_pb.LiquidablePositionsRequest, context=None, metadata=None - ): - return self.liquidable_positions_responses.pop() - - async def FundingPayments( - self, request: exchange_derivative_pb.FundingPaymentsRequest, context=None, metadata=None - ): - return self.funding_payments_responses.pop() - - async def FundingRates(self, request: exchange_derivative_pb.FundingRatesRequest, context=None, metadata=None): - return self.funding_rates_responses.pop() - - async def Trades(self, request: exchange_derivative_pb.TradesRequest, context=None, metadata=None): - return self.trades_responses.pop() - - async def TradesV2(self, request: exchange_derivative_pb.TradesV2Request, context=None, metadata=None): - return self.trades_v2_responses.pop() - - async def SubaccountOrdersList( - self, request: exchange_derivative_pb.SubaccountOrdersListRequest, context=None, metadata=None - ): - return self.subaccount_orders_list_responses.pop() - - async def SubaccountTradesList( - self, request: exchange_derivative_pb.SubaccountTradesListRequest, context=None, metadata=None - ): - return self.subaccount_trades_list_responses.pop() - - async def OrdersHistory(self, request: exchange_derivative_pb.OrdersHistoryRequest, context=None, metadata=None): - return self.orders_history_responses.pop() - - async def StreamMarket(self, request: exchange_derivative_pb.StreamMarketRequest, context=None, metadata=None): - for event in self.stream_market_responses: - yield event - - async def StreamOrderbookV2( - self, request: exchange_derivative_pb.StreamOrderbookV2Request, context=None, metadata=None - ): - for event in self.stream_orderbook_v2_responses: - yield event - - async def StreamOrderbookUpdate( - self, request: exchange_derivative_pb.StreamOrderbookUpdateRequest, context=None, metadata=None - ): - for event in self.stream_orderbook_update_responses: - yield event - - async def StreamPositions( - self, request: exchange_derivative_pb.StreamPositionsRequest, context=None, metadata=None - ): - for event in self.stream_positions_responses: - yield event - - async def StreamOrders(self, request: exchange_derivative_pb.StreamOrdersRequest, context=None, metadata=None): - for event in self.stream_orders_responses: - yield event - - async def StreamTrades(self, request: exchange_derivative_pb.StreamTradesRequest, context=None, metadata=None): - for event in self.stream_trades_responses: - yield event - - async def StreamTradesV2(self, request: exchange_derivative_pb.StreamTradesV2Request, context=None, metadata=None): - for event in self.stream_trades_v2_responses: - yield event - - async def StreamOrdersHistory( - self, request: exchange_derivative_pb.StreamOrdersHistoryRequest, context=None, metadata=None - ): - for event in self.stream_orders_history_responses: - yield event diff --git a/tests/client/indexer/configurable_explorer_query_servicer.py b/tests/client/indexer/configurable_explorer_query_servicer.py deleted file mode 100644 index ce240bf3..00000000 --- a/tests/client/indexer/configurable_explorer_query_servicer.py +++ /dev/null @@ -1,112 +0,0 @@ -from collections import deque - -from pyinjective.proto.exchange import ( - injective_explorer_rpc_pb2 as exchange_explorer_pb, - injective_explorer_rpc_pb2_grpc as exchange_explorer_grpc, -) - - -class ConfigurableExplorerQueryServicer(exchange_explorer_grpc.InjectiveExplorerRPCServicer): - def __init__(self): - super().__init__() - self.account_txs_responses = deque() - self.contract_txs_responses = deque() - self.blocks_responses = deque() - self.block_responses = deque() - self.validators_responses = deque() - self.validator_responses = deque() - self.validator_uptime_responses = deque() - self.txs_responses = deque() - self.tx_by_tx_hash_responses = deque() - self.peggy_deposit_txs_responses = deque() - self.peggy_withdrawal_txs_responses = deque() - self.ibc_transfer_txs_responses = deque() - self.wasm_codes_responses = deque() - self.wasm_code_by_id_responses = deque() - self.wasm_contracts_responses = deque() - self.wasm_contract_by_address_responses = deque() - self.cw20_balance_responses = deque() - self.relayers_responses = deque() - self.bank_transfers_responses = deque() - - self.stream_txs_responses = deque() - self.stream_blocks_responses = deque() - - async def GetAccountTxs(self, request: exchange_explorer_pb.GetAccountTxsRequest, context=None, metadata=None): - return self.account_txs_responses.pop() - - async def GetContractTxs(self, request: exchange_explorer_pb.GetContractTxsRequest, context=None, metadata=None): - return self.contract_txs_responses.pop() - - async def GetBlocks(self, request: exchange_explorer_pb.GetBlocksRequest, context=None, metadata=None): - return self.blocks_responses.pop() - - async def GetBlock(self, request: exchange_explorer_pb.GetBlockRequest, context=None, metadata=None): - return self.block_responses.pop() - - async def GetValidators(self, request: exchange_explorer_pb.GetValidatorsRequest, context=None, metadata=None): - return self.validators_responses.pop() - - async def GetValidator(self, request: exchange_explorer_pb.GetValidatorRequest, context=None, metadata=None): - return self.validator_responses.pop() - - async def GetValidatorUptime( - self, request: exchange_explorer_pb.GetValidatorUptimeRequest, context=None, metadata=None - ): - return self.validator_uptime_responses.pop() - - async def GetTxs(self, request: exchange_explorer_pb.GetTxsRequest, context=None, metadata=None): - return self.txs_responses.pop() - - async def GetTxByTxHash(self, request: exchange_explorer_pb.GetTxByTxHashRequest, context=None, metadata=None): - return self.tx_by_tx_hash_responses.pop() - - async def GetPeggyDepositTxs( - self, request: exchange_explorer_pb.GetPeggyDepositTxsRequest, context=None, metadata=None - ): - return self.peggy_deposit_txs_responses.pop() - - async def GetPeggyWithdrawalTxs( - self, request: exchange_explorer_pb.GetPeggyWithdrawalTxsRequest, context=None, metadata=None - ): - return self.peggy_withdrawal_txs_responses.pop() - - async def GetIBCTransferTxs( - self, request: exchange_explorer_pb.GetIBCTransferTxsRequest, context=None, metadata=None - ): - return self.ibc_transfer_txs_responses.pop() - - async def GetWasmCodes(self, request: exchange_explorer_pb.GetWasmCodesRequest, context=None, metadata=None): - return self.wasm_codes_responses.pop() - - async def GetWasmCodeByID(self, request: exchange_explorer_pb.GetWasmCodeByIDRequest, context=None, metadata=None): - return self.wasm_code_by_id_responses.pop() - - async def GetWasmContracts( - self, request: exchange_explorer_pb.GetWasmContractsRequest, context=None, metadata=None - ): - return self.wasm_contracts_responses.pop() - - async def GetWasmContractByAddress( - self, request: exchange_explorer_pb.GetWasmContractByAddressRequest, context=None, metadata=None - ): - return self.wasm_contract_by_address_responses.pop() - - async def GetCw20Balance(self, request: exchange_explorer_pb.GetCw20BalanceRequest, context=None, metadata=None): - return self.cw20_balance_responses.pop() - - async def Relayers(self, request: exchange_explorer_pb.RelayersRequest, context=None, metadata=None): - return self.relayers_responses.pop() - - async def GetBankTransfers( - self, request: exchange_explorer_pb.GetBankTransfersRequest, context=None, metadata=None - ): - return self.bank_transfers_responses.pop() - - async def StreamTxs(self, request: exchange_explorer_pb.StreamTxsRequest, context=None, metadata=None): - for event in self.stream_txs_responses: - yield event - - async def StreamBlocks(self, request: exchange_explorer_pb.StreamBlocksRequest, context=None, metadata=None): - for event in self.stream_blocks_responses: - yield event diff --git a/tests/client/indexer/configurable_insurance_query_servicer.py b/tests/client/indexer/configurable_insurance_query_servicer.py deleted file mode 100644 index aa4e0491..00000000 --- a/tests/client/indexer/configurable_insurance_query_servicer.py +++ /dev/null @@ -1,19 +0,0 @@ -from collections import deque - -from pyinjective.proto.exchange import ( - injective_insurance_rpc_pb2 as exchange_insurance_pb, - injective_insurance_rpc_pb2_grpc as exchange_insurance_grpc, -) - - -class ConfigurableInsuranceQueryServicer(exchange_insurance_grpc.InjectiveInsuranceRPCServicer): - def __init__(self): - super().__init__() - self.funds_responses = deque() - self.redemptions_responses = deque() - - async def Funds(self, request: exchange_insurance_pb.FundsRequest, context=None, metadata=None): - return self.funds_responses.pop() - - async def Redemptions(self, request: exchange_insurance_pb.RedemptionsRequest, context=None, metadata=None): - return self.redemptions_responses.pop() diff --git a/tests/client/indexer/configurable_meta_query_servicer.py b/tests/client/indexer/configurable_meta_query_servicer.py deleted file mode 100644 index 8c8997d0..00000000 --- a/tests/client/indexer/configurable_meta_query_servicer.py +++ /dev/null @@ -1,28 +0,0 @@ -from collections import deque - -from pyinjective.proto.exchange import ( - injective_meta_rpc_pb2 as exchange_meta_pb, - injective_meta_rpc_pb2_grpc as exchange_meta_grpc, -) - - -class ConfigurableMetaQueryServicer(exchange_meta_grpc.InjectiveMetaRPCServicer): - def __init__(self): - super().__init__() - self.ping_responses = deque() - self.version_responses = deque() - self.info_responses = deque() - self.stream_keepalive_responses = deque() - - async def Ping(self, request: exchange_meta_pb.PingRequest, context=None, metadata=None): - return self.ping_responses.pop() - - async def Version(self, request: exchange_meta_pb.VersionRequest, context=None, metadata=None): - return self.version_responses.pop() - - async def Info(self, request: exchange_meta_pb.InfoRequest, context=None, metadata=None): - return self.info_responses.pop() - - async def StreamKeepalive(self, request: exchange_meta_pb.StreamKeepaliveRequest, context=None, metadata=None): - for event in self.stream_keepalive_responses: - yield event diff --git a/tests/client/indexer/configurable_oracle_query_servicer.py b/tests/client/indexer/configurable_oracle_query_servicer.py deleted file mode 100644 index c7c06820..00000000 --- a/tests/client/indexer/configurable_oracle_query_servicer.py +++ /dev/null @@ -1,31 +0,0 @@ -from collections import deque - -from pyinjective.proto.exchange import ( - injective_oracle_rpc_pb2 as exchange_oracle_pb, - injective_oracle_rpc_pb2_grpc as exchange_oracle_grpc, -) - - -class ConfigurableOracleQueryServicer(exchange_oracle_grpc.InjectiveOracleRPCServicer): - def __init__(self): - super().__init__() - self.oracle_list_responses = deque() - self.price_responses = deque() - self.stream_prices_responses = deque() - self.stream_prices_by_markets_responses = deque() - - async def OracleList(self, request: exchange_oracle_pb.OracleListRequest, context=None, metadata=None): - return self.oracle_list_responses.pop() - - async def Price(self, request: exchange_oracle_pb.PriceRequest, context=None, metadata=None): - return self.price_responses.pop() - - async def StreamPrices(self, request: exchange_oracle_pb.StreamPricesRequest, context=None, metadata=None): - for event in self.stream_prices_responses: - yield event - - async def StreamPricesByMarkets( - self, request: exchange_oracle_pb.StreamPricesByMarketsRequest, context=None, metadata=None - ): - for event in self.stream_prices_by_markets_responses: - yield event diff --git a/tests/client/indexer/configurable_portfolio_query_servicer.py b/tests/client/indexer/configurable_portfolio_query_servicer.py deleted file mode 100644 index 49e98063..00000000 --- a/tests/client/indexer/configurable_portfolio_query_servicer.py +++ /dev/null @@ -1,30 +0,0 @@ -from collections import deque - -from pyinjective.proto.exchange import ( - injective_portfolio_rpc_pb2 as exchange_portfolio_pb, - injective_portfolio_rpc_pb2_grpc as exchange_portfolio_grpc, -) - - -class ConfigurablePortfolioQueryServicer(exchange_portfolio_grpc.InjectivePortfolioRPCServicer): - def __init__(self): - super().__init__() - self.account_portfolio_responses = deque() - self.account_portfolio_balances_responses = deque() - self.stream_account_portfolio_responses = deque() - - async def AccountPortfolio( - self, request: exchange_portfolio_pb.AccountPortfolioRequest, context=None, metadata=None - ): - return self.account_portfolio_responses.pop() - - async def AccountPortfolioBalances( - self, request: exchange_portfolio_pb.AccountPortfolioBalancesRequest, context=None, metadata=None - ): - return self.account_portfolio_balances_responses.pop() - - async def StreamAccountPortfolio( - self, request: exchange_portfolio_pb.StreamAccountPortfolioRequest, context=None, metadata=None - ): - for event in self.stream_account_portfolio_responses: - yield event diff --git a/tests/client/indexer/configurable_spot_query_servicer.py b/tests/client/indexer/configurable_spot_query_servicer.py deleted file mode 100644 index e38ae15f..00000000 --- a/tests/client/indexer/configurable_spot_query_servicer.py +++ /dev/null @@ -1,99 +0,0 @@ -from collections import deque - -from pyinjective.proto.exchange import ( - injective_spot_exchange_rpc_pb2 as exchange_spot_pb, - injective_spot_exchange_rpc_pb2_grpc as exchange_spot_grpc, -) - - -class ConfigurableSpotQueryServicer(exchange_spot_grpc.InjectiveSpotExchangeRPCServicer): - def __init__(self): - super().__init__() - self.markets_responses = deque() - self.market_responses = deque() - self.orderbook_v2_responses = deque() - self.orderbooks_v2_responses = deque() - self.orders_responses = deque() - self.trades_responses = deque() - self.trades_v2_responses = deque() - self.subaccount_orders_list_responses = deque() - self.subaccount_trades_list_responses = deque() - self.orders_history_responses = deque() - self.atomic_swap_history_responses = deque() - - self.stream_markets_responses = deque() - self.stream_orderbook_v2_responses = deque() - self.stream_orderbook_update_responses = deque() - self.stream_orders_responses = deque() - self.stream_trades_responses = deque() - self.stream_trades_v2_responses = deque() - self.stream_orders_history_responses = deque() - - async def Markets(self, request: exchange_spot_pb.MarketsRequest, context=None, metadata=None): - return self.markets_responses.pop() - - async def Market(self, request: exchange_spot_pb.MarketRequest, context=None, metadata=None): - return self.market_responses.pop() - - async def OrderbookV2(self, request: exchange_spot_pb.OrderbookV2Request, context=None, metadata=None): - return self.orderbook_v2_responses.pop() - - async def OrderbooksV2(self, request: exchange_spot_pb.OrderbooksV2Request, context=None, metadata=None): - return self.orderbooks_v2_responses.pop() - - async def Orders(self, request: exchange_spot_pb.OrdersRequest, context=None, metadata=None): - return self.orders_responses.pop() - - async def Trades(self, request: exchange_spot_pb.TradesRequest, context=None, metadata=None): - return self.trades_responses.pop() - - async def TradesV2(self, request: exchange_spot_pb.TradesV2Request, context=None, metadata=None): - return self.trades_v2_responses.pop() - - async def SubaccountOrdersList( - self, request: exchange_spot_pb.SubaccountOrdersListRequest, context=None, metadata=None - ): - return self.subaccount_orders_list_responses.pop() - - async def SubaccountTradesList( - self, request: exchange_spot_pb.SubaccountTradesListRequest, context=None, metadata=None - ): - return self.subaccount_trades_list_responses.pop() - - async def OrdersHistory(self, request: exchange_spot_pb.OrdersHistoryRequest, context=None, metadata=None): - return self.orders_history_responses.pop() - - async def AtomicSwapHistory(self, request: exchange_spot_pb.AtomicSwapHistoryRequest, context=None, metadata=None): - return self.atomic_swap_history_responses.pop() - - async def StreamMarkets(self, request: exchange_spot_pb.StreamMarketsRequest, context=None, metadata=None): - for event in self.stream_markets_responses: - yield event - - async def StreamOrderbookV2(self, request: exchange_spot_pb.StreamOrderbookV2Request, context=None, metadata=None): - for event in self.stream_orderbook_v2_responses: - yield event - - async def StreamOrderbookUpdate( - self, request: exchange_spot_pb.StreamOrderbookUpdateRequest, context=None, metadata=None - ): - for event in self.stream_orderbook_update_responses: - yield event - - async def StreamOrders(self, request: exchange_spot_pb.StreamOrdersRequest, context=None, metadata=None): - for event in self.stream_orders_responses: - yield event - - async def StreamTrades(self, request: exchange_spot_pb.StreamTradesRequest, context=None, metadata=None): - for event in self.stream_trades_responses: - yield event - - async def StreamTradesV2(self, request: exchange_spot_pb.StreamTradesV2Request, context=None, metadata=None): - for event in self.stream_trades_v2_responses: - yield event - - async def StreamOrdersHistory( - self, request: exchange_spot_pb.StreamOrdersHistoryRequest, context=None, metadata=None - ): - for event in self.stream_orders_history_responses: - yield event diff --git a/tests/client/indexer/grpc/__init__.py b/tests/client/indexer/grpc/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/client/indexer/grpc/test_indexer_grpc_account_api.py b/tests/client/indexer/grpc/test_indexer_grpc_account_api.py deleted file mode 100644 index 85443837..00000000 --- a/tests/client/indexer/grpc/test_indexer_grpc_account_api.py +++ /dev/null @@ -1,371 +0,0 @@ -import grpc -import pytest - -from pyinjective.client.indexer.grpc.indexer_grpc_account_api import IndexerGrpcAccountApi -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_accounts_rpc_pb2 as exchange_accounts_pb -from tests.client.indexer.configurable_account_query_servicer import ConfigurableAccountQueryServicer - - -@pytest.fixture -def account_servicer(): - return ConfigurableAccountQueryServicer() - - -class TestIndexerGrpcAccountApi: - @pytest.mark.asyncio - async def test_fetch_portfolio( - self, - account_servicer, - ): - subaccount_portfolio = exchange_accounts_pb.SubaccountPortfolio( - subaccount_id="0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000006", - available_balance="1", - locked_balance="2", - unrealized_pnl="3", - ) - portfolio = exchange_accounts_pb.AccountPortfolio( - portfolio_value="173706.418", - available_balance="99.8782", - locked_balance="186055.7038", - unrealized_pnl="-12449.1635", - subaccounts=[subaccount_portfolio], - ) - account_servicer.portfolio_responses.append(exchange_accounts_pb.PortfolioResponse(portfolio=portfolio)) - - api = self._api_instance(servicer=account_servicer) - - account_address = "inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku" - result_portfolio = await api.fetch_portfolio(account_address=account_address) - expected_portfolio = { - "portfolio": { - "portfolioValue": portfolio.portfolio_value, - "availableBalance": portfolio.available_balance, - "lockedBalance": portfolio.locked_balance, - "unrealizedPnl": portfolio.unrealized_pnl, - "subaccounts": [ - { - "subaccountId": subaccount_portfolio.subaccount_id, - "availableBalance": subaccount_portfolio.available_balance, - "lockedBalance": subaccount_portfolio.locked_balance, - "unrealizedPnl": subaccount_portfolio.unrealized_pnl, - }, - ], - } - } - - assert expected_portfolio == result_portfolio - - @pytest.mark.asyncio - async def test_order_states( - self, - account_servicer, - ): - order_state = exchange_accounts_pb.OrderStateRecord( - order_hash="0xce0d9b701f77cd6ddfda5dd3a4fe7b2d53ba83e5d6c054fb2e9e886200b7b7bb", - subaccount_id="0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000006", - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - order_type="buy_po", - order_side="buy", - state="canceled", - quantity_filled="0", - quantity_remaining="1000000000000000", - created_at=1669998526840, - updated_at=1670919410587, - price="0.000000000000001", - margin="", - ) - account_servicer.order_states_responses.append( - exchange_accounts_pb.OrderStatesResponse(spot_order_states=[order_state]) - ) - - api = self._api_instance(servicer=account_servicer) - - result_order_states = await api.fetch_order_states(spot_order_hashes=[order_state.order_hash]) - expected_order_states = { - "spotOrderStates": [ - { - "orderHash": order_state.order_hash, - "subaccountId": order_state.subaccount_id, - "marketId": order_state.market_id, - "orderType": order_state.order_type, - "orderSide": order_state.order_side, - "state": order_state.state, - "quantityFilled": order_state.quantity_filled, - "quantityRemaining": order_state.quantity_remaining, - "createdAt": str(order_state.created_at), - "updatedAt": str(order_state.updated_at), - "price": (order_state.price), - "margin": (order_state.margin), - } - ], - "derivativeOrderStates": [], - } - - assert result_order_states == expected_order_states - - @pytest.mark.asyncio - async def test_subaccounts_list( - self, - account_servicer, - ): - account_servicer.subaccounts_list_responses.append( - exchange_accounts_pb.SubaccountsListResponse( - subaccounts=["0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000006"] - ) - ) - - api = self._api_instance(servicer=account_servicer) - - result_subaccounts_list = await api.fetch_subaccounts_list(address="testAddress") - expected_subaccounts_list = { - "subaccounts": ["0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000006"] - } - - assert result_subaccounts_list == expected_subaccounts_list - - @pytest.mark.asyncio - async def test_subaccount_balances_list( - self, - account_servicer, - ): - deposit = exchange_accounts_pb.SubaccountDeposit( - total_balance="20", - available_balance="10", - ) - balance = exchange_accounts_pb.SubaccountBalance( - subaccount_id="0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000", - account_address="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", - denom="inj", - deposit=deposit, - ) - account_servicer.subaccount_balances_list_responses.append( - exchange_accounts_pb.SubaccountBalancesListResponse(balances=[balance]) - ) - - api = self._api_instance(servicer=account_servicer) - - result_subaccount_balances_list = await api.fetch_subaccount_balances_list( - subaccount_id=balance.subaccount_id, denoms=[balance.denom] - ) - expected_subaccount_balances_list = { - "balances": [ - { - "subaccountId": balance.subaccount_id, - "accountAddress": balance.account_address, - "denom": balance.denom, - "deposit": { - "totalBalance": deposit.total_balance, - "availableBalance": deposit.available_balance, - }, - }, - ] - } - - assert result_subaccount_balances_list == expected_subaccount_balances_list - - @pytest.mark.asyncio - async def test_subaccount_balance( - self, - account_servicer, - ): - deposit = exchange_accounts_pb.SubaccountDeposit( - total_balance="20", - available_balance="10", - ) - balance = exchange_accounts_pb.SubaccountBalance( - subaccount_id="0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000", - account_address="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", - denom="inj", - deposit=deposit, - ) - account_servicer.subaccount_balance_responses.append( - exchange_accounts_pb.SubaccountBalanceEndpointResponse(balance=balance) - ) - - api = self._api_instance(servicer=account_servicer) - - result_subaccount_balance = await api.fetch_subaccount_balance( - subaccount_id=balance.subaccount_id, - denom=balance.denom, - ) - expected_subaccount_balance = { - "balance": { - "subaccountId": balance.subaccount_id, - "accountAddress": balance.account_address, - "denom": balance.denom, - "deposit": { - "totalBalance": deposit.total_balance, - "availableBalance": deposit.available_balance, - }, - }, - } - - assert result_subaccount_balance == expected_subaccount_balance - - @pytest.mark.asyncio - async def test_subaccount_history( - self, - account_servicer, - ): - transfer = exchange_accounts_pb.SubaccountBalanceTransfer( - transfer_type="deposit", - src_account_address="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", - dst_subaccount_id="0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000", - amount=exchange_accounts_pb.CosmosCoin( - denom="inj", - amount="2000000000000000000", - ), - executed_at=1665117493543, - src_subaccount_id="", - dst_account_address="", - ) - - paging = exchange_accounts_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - account_servicer.subaccount_history_responses.append( - exchange_accounts_pb.SubaccountHistoryResponse(transfers=[transfer], paging=paging) - ) - - api = self._api_instance(servicer=account_servicer) - - result_subaccount_history = await api.fetch_subaccount_history( - subaccount_id=transfer.dst_subaccount_id, - denom=transfer.amount.denom, - transfer_types=[transfer.transfer_type], - pagination=PaginationOption( - skip=0, - limit=100, - end_time=1699744939364, - ), - ) - expected_subaccount_history = { - "transfers": [ - { - "transferType": transfer.transfer_type, - "srcAccountAddress": transfer.src_account_address, - "dstSubaccountId": transfer.dst_subaccount_id, - "amount": {"denom": transfer.amount.denom, "amount": "2000000000000000000"}, - "executedAt": str(transfer.executed_at), - "srcSubaccountId": transfer.src_subaccount_id, - "dstAccountAddress": transfer.dst_account_address, - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_subaccount_history == expected_subaccount_history - - @pytest.mark.asyncio - async def test_subaccount_order_summary( - self, - account_servicer, - ): - account_servicer.subaccount_order_summary_responses.append( - exchange_accounts_pb.SubaccountOrderSummaryResponse(spot_orders_total=0, derivative_orders_total=20) - ) - - api = self._api_instance(servicer=account_servicer) - - result_subaccount_order_summary = await api.fetch_subaccount_order_summary( - subaccount_id="0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000", - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - order_direction="buy", - ) - expected_subaccount_order_summary = {"derivativeOrdersTotal": "20", "spotOrdersTotal": "0"} - - assert result_subaccount_order_summary == expected_subaccount_order_summary - - @pytest.mark.asyncio - async def test_fetch_rewards( - self, - account_servicer, - ): - single_reward = exchange_accounts_pb.Coin( - denom="inj", - amount="2000000000000000000", - ) - - reward = exchange_accounts_pb.Reward( - account_address="inj1qra8c03h70y36j85dpvtj05juxe9z7acuvz6vg", - rewards=[single_reward], - distributed_at=1672218001897, - ) - - account_servicer.rewards_responses.append(exchange_accounts_pb.RewardsResponse(rewards=[reward])) - - api = self._api_instance(servicer=account_servicer) - - result_rewards = await api.fetch_rewards(account_address=reward.account_address, epoch=1) - expected_rewards = { - "rewards": [ - { - "accountAddress": reward.account_address, - "rewards": [ - { - "denom": single_reward.denom, - "amount": single_reward.amount, - } - ], - "distributedAt": str(reward.distributed_at), - } - ] - } - - assert result_rewards == expected_rewards - - @pytest.mark.asyncio - async def test_fetch_rewards( - self, - account_servicer, - ): - single_reward = exchange_accounts_pb.Coin( - denom="inj", - amount="2000000000000000000", - ) - - reward = exchange_accounts_pb.Reward( - account_address="inj1qra8c03h70y36j85dpvtj05juxe9z7acuvz6vg", - rewards=[single_reward], - distributed_at=1672218001897, - ) - - account_servicer.rewards_responses.append(exchange_accounts_pb.RewardsResponse(rewards=[reward])) - - api = self._api_instance(servicer=account_servicer) - - result_rewards = await api.fetch_rewards(account_address=reward.account_address, epoch=1) - expected_rewards = { - "rewards": [ - { - "accountAddress": reward.account_address, - "rewards": [ - { - "denom": single_reward.denom, - "amount": single_reward.amount, - } - ], - "distributedAt": str(reward.distributed_at), - } - ] - } - - assert result_rewards == expected_rewards - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcAccountApi(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/indexer/grpc/test_indexer_grpc_auction_api.py b/tests/client/indexer/grpc/test_indexer_grpc_auction_api.py deleted file mode 100644 index f9d372c7..00000000 --- a/tests/client/indexer/grpc/test_indexer_grpc_auction_api.py +++ /dev/null @@ -1,120 +0,0 @@ -import grpc -import pytest - -from pyinjective.client.indexer.grpc.indexer_grpc_auction_api import IndexerGrpcAuctionApi -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_auction_rpc_pb2 as exchange_auction_pb -from tests.client.indexer.configurable_auction_query_servicer import ConfigurableAuctionQueryServicer - - -@pytest.fixture -def auction_servicer(): - return ConfigurableAuctionQueryServicer() - - -class TestIndexerGrpcAuctionApi: - @pytest.mark.asyncio - async def test_fetch_auction( - self, - auction_servicer, - ): - coin = exchange_auction_pb.Coin( - denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - amount="2322098", - ) - auction = exchange_auction_pb.Auction( - winner="inj1uyk56r3xdcf60jwrmn7p9rgla9dc4gam56ajrq", - basket=[coin], - winning_bid_amount="2000000000000000000", - round=31, - end_timestamp=1676013187000, - updated_at=1677075140258, - ) - - bid = exchange_auction_pb.Bid( - bidder="inj1pdxq82m20fzkjn2th2mm5jp7t5ex6j6klf9cs5", - amount="1000000000000000000", - timestamp=1675426622603, - ) - - auction_servicer.auction_endpoint_responses.append( - exchange_auction_pb.AuctionEndpointResponse( - auction=auction, - bids=[bid], - ) - ) - - api = self._api_instance(servicer=auction_servicer) - - result_auction = await api.fetch_auction(round=auction.round) - expected_auction = { - "auction": { - "winner": auction.winner, - "basket": [ - { - "denom": coin.denom, - "amount": coin.amount, - } - ], - "winningBidAmount": auction.winning_bid_amount, - "round": str(auction.round), - "endTimestamp": str(auction.end_timestamp), - "updatedAt": str(auction.updated_at), - }, - "bids": [{"amount": bid.amount, "bidder": bid.bidder, "timestamp": str(bid.timestamp)}], - } - - assert result_auction == expected_auction - - @pytest.mark.asyncio - async def test_fetch_auctions( - self, - auction_servicer, - ): - coin = exchange_auction_pb.Coin( - denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - amount="2322098", - ) - auction = exchange_auction_pb.Auction( - winner="inj1uyk56r3xdcf60jwrmn7p9rgla9dc4gam56ajrq", - basket=[coin], - winning_bid_amount="2000000000000000000", - round=31, - end_timestamp=1676013187000, - updated_at=1677075140258, - ) - - auction_servicer.auctions_responses.append(exchange_auction_pb.AuctionsResponse(auctions=[auction])) - - api = self._api_instance(servicer=auction_servicer) - - result_auctions = await api.fetch_auctions() - expected_auctions = { - "auctions": [ - { - "winner": auction.winner, - "basket": [ - { - "denom": coin.denom, - "amount": coin.amount, - } - ], - "winningBidAmount": auction.winning_bid_amount, - "round": str(auction.round), - "endTimestamp": str(auction.end_timestamp), - "updatedAt": str(auction.updated_at), - } - ] - } - - assert result_auctions == expected_auctions - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcAuctionApi(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py b/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py deleted file mode 100644 index 3f106dfc..00000000 --- a/tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py +++ /dev/null @@ -1,1351 +0,0 @@ -import grpc -import pytest - -from pyinjective.client.indexer.grpc.indexer_grpc_derivative_api import IndexerGrpcDerivativeApi -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_derivative_exchange_rpc_pb2 as exchange_derivative_pb -from tests.client.indexer.configurable_derivative_query_servicer import ConfigurableDerivativeQueryServicer - - -@pytest.fixture -def derivative_servicer(): - return ConfigurableDerivativeQueryServicer() - - -class TestIndexerGrpcDerivativeApi: - @pytest.mark.asyncio - async def test_fetch_markets( - self, - derivative_servicer, - ): - quote_token_meta = exchange_derivative_pb.TokenMeta( - name="Testnet Tether USDT", - address="0x0000000000000000000000000000000000000000", - symbol="USDT", - logo="https://static.alchemyapi.io/images/assets/825.png", - decimals=6, - updated_at=1683119359320, - ) - perpetual_market_info = exchange_derivative_pb.PerpetualMarketInfo( - hourly_funding_rate_cap="0.000625", - hourly_interest_rate="0.00000416666", - next_funding_timestamp=1700064000, - funding_interval=3600, - ) - perpetual_market_funding = exchange_derivative_pb.PerpetualMarketFunding( - cumulative_funding="-82680.076492986572881307", - cumulative_price="-78.41752505919454668", - last_timestamp=1700004260, - ) - - market = exchange_derivative_pb.DerivativeMarketInfo( - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - market_status="active", - ticker="INJ/USDT PERP", - oracle_base="0x2d9315a88f3019f8efa88dfe9c0f0843712da0bac814461e27733f6b83eb51b3", - oracle_quote="0x1fc18861232290221461220bd4e2acd1dcdfbc89c84092c93c18bdc7756c1588", - oracle_type="pyth", - oracle_scale_factor=6, - initial_margin_ratio="0.05", - maintenance_margin_ratio="0.02", - quote_denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - quote_token_meta=quote_token_meta, - maker_fee_rate="-0.0001", - taker_fee_rate="0.001", - service_provider_fee="0.4", - is_perpetual=True, - min_price_tick_size="100", - min_quantity_tick_size="0.0001", - perpetual_market_info=perpetual_market_info, - perpetual_market_funding=perpetual_market_funding, - min_notional="1000000", - ) - - derivative_servicer.markets_responses.append( - exchange_derivative_pb.MarketsResponse( - markets=[market], - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_markets = await api.fetch_markets( - market_statuses=[market.market_status], - quote_denom=market.quote_denom, - ) - expected_markets = { - "markets": [ - { - "marketId": market.market_id, - "marketStatus": market.market_status, - "ticker": market.ticker, - "oracleBase": market.oracle_base, - "oracleQuote": market.oracle_quote, - "oracleType": market.oracle_type, - "oracleScaleFactor": market.oracle_scale_factor, - "initialMarginRatio": market.initial_margin_ratio, - "maintenanceMarginRatio": market.maintenance_margin_ratio, - "quoteDenom": market.quote_denom, - "quoteTokenMeta": { - "name": market.quote_token_meta.name, - "address": market.quote_token_meta.address, - "symbol": market.quote_token_meta.symbol, - "logo": market.quote_token_meta.logo, - "decimals": market.quote_token_meta.decimals, - "updatedAt": str(market.quote_token_meta.updated_at), - }, - "makerFeeRate": market.maker_fee_rate, - "takerFeeRate": market.taker_fee_rate, - "serviceProviderFee": market.service_provider_fee, - "isPerpetual": market.is_perpetual, - "minPriceTickSize": market.min_price_tick_size, - "minQuantityTickSize": market.min_quantity_tick_size, - "minNotional": market.min_notional, - "perpetualMarketInfo": { - "hourlyFundingRateCap": perpetual_market_info.hourly_funding_rate_cap, - "hourlyInterestRate": str(perpetual_market_info.hourly_interest_rate), - "nextFundingTimestamp": str(perpetual_market_info.next_funding_timestamp), - "fundingInterval": str(perpetual_market_info.funding_interval), - }, - "perpetualMarketFunding": { - "cumulativeFunding": perpetual_market_funding.cumulative_funding, - "cumulativePrice": perpetual_market_funding.cumulative_price, - "lastTimestamp": str(perpetual_market_funding.last_timestamp), - }, - } - ] - } - - assert result_markets == expected_markets - - @pytest.mark.asyncio - async def test_fetch_market( - self, - derivative_servicer, - ): - quote_token_meta = exchange_derivative_pb.TokenMeta( - name="Testnet Tether USDT", - address="0x0000000000000000000000000000000000000000", - symbol="USDT", - logo="https://static.alchemyapi.io/images/assets/825.png", - decimals=6, - updated_at=1683119359320, - ) - perpetual_market_info = exchange_derivative_pb.PerpetualMarketInfo( - hourly_funding_rate_cap="0.000625", - hourly_interest_rate="0.00000416666", - next_funding_timestamp=1700064000, - funding_interval=3600, - ) - perpetual_market_funding = exchange_derivative_pb.PerpetualMarketFunding( - cumulative_funding="-82680.076492986572881307", - cumulative_price="-78.41752505919454668", - last_timestamp=1700004260, - ) - - market = exchange_derivative_pb.DerivativeMarketInfo( - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - market_status="active", - ticker="INJ/USDT PERP", - oracle_base="0x2d9315a88f3019f8efa88dfe9c0f0843712da0bac814461e27733f6b83eb51b3", - oracle_quote="0x1fc18861232290221461220bd4e2acd1dcdfbc89c84092c93c18bdc7756c1588", - oracle_type="pyth", - oracle_scale_factor=6, - initial_margin_ratio="0.05", - maintenance_margin_ratio="0.02", - quote_denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - quote_token_meta=quote_token_meta, - maker_fee_rate="-0.0001", - taker_fee_rate="0.001", - service_provider_fee="0.4", - is_perpetual=True, - min_price_tick_size="100", - min_quantity_tick_size="0.0001", - perpetual_market_info=perpetual_market_info, - perpetual_market_funding=perpetual_market_funding, - min_notional="1000000", - ) - - derivative_servicer.market_responses.append( - exchange_derivative_pb.MarketResponse( - market=market, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_market = await api.fetch_market(market_id=market.market_id) - expected_market = { - "market": { - "marketId": market.market_id, - "marketStatus": market.market_status, - "ticker": market.ticker, - "oracleBase": market.oracle_base, - "oracleQuote": market.oracle_quote, - "oracleType": market.oracle_type, - "oracleScaleFactor": market.oracle_scale_factor, - "initialMarginRatio": market.initial_margin_ratio, - "maintenanceMarginRatio": market.maintenance_margin_ratio, - "quoteDenom": market.quote_denom, - "quoteTokenMeta": { - "name": market.quote_token_meta.name, - "address": market.quote_token_meta.address, - "symbol": market.quote_token_meta.symbol, - "logo": market.quote_token_meta.logo, - "decimals": market.quote_token_meta.decimals, - "updatedAt": str(market.quote_token_meta.updated_at), - }, - "makerFeeRate": market.maker_fee_rate, - "takerFeeRate": market.taker_fee_rate, - "serviceProviderFee": market.service_provider_fee, - "isPerpetual": market.is_perpetual, - "minPriceTickSize": market.min_price_tick_size, - "minQuantityTickSize": market.min_quantity_tick_size, - "minNotional": market.min_notional, - "perpetualMarketInfo": { - "hourlyFundingRateCap": perpetual_market_info.hourly_funding_rate_cap, - "hourlyInterestRate": str(perpetual_market_info.hourly_interest_rate), - "nextFundingTimestamp": str(perpetual_market_info.next_funding_timestamp), - "fundingInterval": str(perpetual_market_info.funding_interval), - }, - "perpetualMarketFunding": { - "cumulativeFunding": perpetual_market_funding.cumulative_funding, - "cumulativePrice": perpetual_market_funding.cumulative_price, - "lastTimestamp": str(perpetual_market_funding.last_timestamp), - }, - } - } - - assert result_market == expected_market - - @pytest.mark.asyncio - async def test_fetch_binary_options_markets( - self, - derivative_servicer, - ): - quote_token_meta = exchange_derivative_pb.TokenMeta( - name="Testnet Tether USDT", - address="0x0000000000000000000000000000000000000000", - symbol="USDT", - logo="https://static.alchemyapi.io/images/assets/825.png", - decimals=6, - updated_at=1683119359320, - ) - - market = exchange_derivative_pb.BinaryOptionsMarketInfo( - market_id="0xaea3b04b88ad7972b6afcd676791eaa1872a8cf5ab7c5be93da755fd7fac9196", - market_status="active", - ticker="Long-Lived 7/8/22 1", - oracle_symbol="Long-Lived 7/8/22 1", - oracle_provider="Frontrunner", - oracle_type="provider", - oracle_scale_factor=6, - expiration_timestamp=1657311861, - settlement_timestamp=1657311862, - quote_denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - quote_token_meta=quote_token_meta, - maker_fee_rate="-0.0001", - taker_fee_rate="0.001", - service_provider_fee="0.4", - min_price_tick_size="0.01", - min_quantity_tick_size="1", - settlement_price="1000", - min_notional="1000000", - ) - paging = exchange_derivative_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - derivative_servicer.binary_options_markets_responses.append( - exchange_derivative_pb.BinaryOptionsMarketsResponse(markets=[market], paging=paging) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_markets = await api.fetch_binary_options_markets( - market_status=market.market_status, - quote_denom=market.quote_denom, - pagination=PaginationOption( - skip=0, - limit=100, - ), - ) - expected_markets = { - "markets": [ - { - "marketId": market.market_id, - "marketStatus": market.market_status, - "ticker": market.ticker, - "oracleSymbol": market.oracle_symbol, - "oracleProvider": market.oracle_provider, - "oracleType": market.oracle_type, - "oracleScaleFactor": market.oracle_scale_factor, - "expirationTimestamp": str(market.expiration_timestamp), - "settlementTimestamp": str(market.settlement_timestamp), - "quoteDenom": market.quote_denom, - "quoteTokenMeta": { - "name": market.quote_token_meta.name, - "address": market.quote_token_meta.address, - "symbol": market.quote_token_meta.symbol, - "logo": market.quote_token_meta.logo, - "decimals": market.quote_token_meta.decimals, - "updatedAt": str(market.quote_token_meta.updated_at), - }, - "makerFeeRate": market.maker_fee_rate, - "takerFeeRate": market.taker_fee_rate, - "serviceProviderFee": market.service_provider_fee, - "minPriceTickSize": market.min_price_tick_size, - "minQuantityTickSize": market.min_quantity_tick_size, - "settlementPrice": market.settlement_price, - "minNotional": market.min_notional, - } - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_markets == expected_markets - - @pytest.mark.asyncio - async def test_fetch_binary_options_market( - self, - derivative_servicer, - ): - quote_token_meta = exchange_derivative_pb.TokenMeta( - name="Testnet Tether USDT", - address="0x0000000000000000000000000000000000000000", - symbol="USDT", - logo="https://static.alchemyapi.io/images/assets/825.png", - decimals=6, - updated_at=1683119359320, - ) - - market = exchange_derivative_pb.BinaryOptionsMarketInfo( - market_id="0xaea3b04b88ad7972b6afcd676791eaa1872a8cf5ab7c5be93da755fd7fac9196", - market_status="active", - ticker="Long-Lived 7/8/22 1", - oracle_symbol="Long-Lived 7/8/22 1", - oracle_provider="Frontrunner", - oracle_type="provider", - oracle_scale_factor=6, - expiration_timestamp=1657311861, - settlement_timestamp=1657311862, - quote_denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - quote_token_meta=quote_token_meta, - maker_fee_rate="-0.0001", - taker_fee_rate="0.001", - service_provider_fee="0.4", - min_price_tick_size="0.01", - min_quantity_tick_size="1", - settlement_price="1000", - min_notional="1000000", - ) - - derivative_servicer.binary_options_market_responses.append( - exchange_derivative_pb.BinaryOptionsMarketResponse(market=market) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_markets = await api.fetch_binary_options_market(market_id=market.market_id) - expected_markets = { - "market": { - "marketId": market.market_id, - "marketStatus": market.market_status, - "ticker": market.ticker, - "oracleSymbol": market.oracle_symbol, - "oracleProvider": market.oracle_provider, - "oracleType": market.oracle_type, - "oracleScaleFactor": market.oracle_scale_factor, - "expirationTimestamp": str(market.expiration_timestamp), - "settlementTimestamp": str(market.settlement_timestamp), - "quoteDenom": market.quote_denom, - "quoteTokenMeta": { - "name": market.quote_token_meta.name, - "address": market.quote_token_meta.address, - "symbol": market.quote_token_meta.symbol, - "logo": market.quote_token_meta.logo, - "decimals": market.quote_token_meta.decimals, - "updatedAt": str(market.quote_token_meta.updated_at), - }, - "makerFeeRate": market.maker_fee_rate, - "takerFeeRate": market.taker_fee_rate, - "serviceProviderFee": market.service_provider_fee, - "minPriceTickSize": market.min_price_tick_size, - "minQuantityTickSize": market.min_quantity_tick_size, - "settlementPrice": market.settlement_price, - "minNotional": market.min_notional, - } - } - - assert result_markets == expected_markets - - @pytest.mark.asyncio - async def test_fetch_orderbook_v2( - self, - derivative_servicer, - ): - buy = exchange_derivative_pb.PriceLevel( - price="0.000000000014198", - quantity="142000000000000000000", - timestamp=1698982052141, - ) - sell = exchange_derivative_pb.PriceLevel( - price="0.00000000095699", - quantity="189000000000000000", - timestamp=1698920369246, - ) - - orderbook = exchange_derivative_pb.DerivativeLimitOrderbookV2( - buys=[buy], - sells=[sell], - sequence=5506752, - timestamp=1698982083606, - ) - - derivative_servicer.orderbook_v2_responses.append( - exchange_derivative_pb.OrderbookV2Response( - orderbook=orderbook, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_orderbook = await api.fetch_orderbook_v2( - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" - ) - expected_orderbook = { - "orderbook": { - "buys": [ - { - "price": buy.price, - "quantity": buy.quantity, - "timestamp": str(buy.timestamp), - } - ], - "sells": [ - { - "price": sell.price, - "quantity": sell.quantity, - "timestamp": str(sell.timestamp), - } - ], - "sequence": str(orderbook.sequence), - "timestamp": str(orderbook.timestamp), - } - } - - assert result_orderbook == expected_orderbook - - @pytest.mark.asyncio - async def test_fetch_orderbooks_v2( - self, - derivative_servicer, - ): - buy = exchange_derivative_pb.PriceLevel( - price="0.000000000014198", - quantity="142000000000000000000", - timestamp=1698982052141, - ) - sell = exchange_derivative_pb.PriceLevel( - price="0.00000000095699", - quantity="189000000000000000", - timestamp=1698920369246, - ) - - orderbook = exchange_derivative_pb.DerivativeLimitOrderbookV2( - buys=[buy], - sells=[sell], - sequence=5506752, - timestamp=1698982083606, - ) - - single_orderbook = exchange_derivative_pb.SingleDerivativeLimitOrderbookV2( - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - orderbook=orderbook, - ) - - derivative_servicer.orderbooks_v2_responses.append( - exchange_derivative_pb.OrderbooksV2Response( - orderbooks=[single_orderbook], - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_orderbook = await api.fetch_orderbooks_v2(market_ids=[single_orderbook.market_id]) - expected_orderbook = { - "orderbooks": [ - { - "marketId": single_orderbook.market_id, - "orderbook": { - "buys": [ - { - "price": buy.price, - "quantity": buy.quantity, - "timestamp": str(buy.timestamp), - } - ], - "sells": [ - { - "price": sell.price, - "quantity": sell.quantity, - "timestamp": str(sell.timestamp), - } - ], - "sequence": str(orderbook.sequence), - "timestamp": str(orderbook.timestamp), - }, - } - ] - } - - assert result_orderbook == expected_orderbook - - @pytest.mark.asyncio - async def test_fetch_orders( - self, - derivative_servicer, - ): - order = exchange_derivative_pb.DerivativeLimitOrder( - order_hash="0x14e43adbb3302db28bcd0619068227ebca880cdd66cdfc8b4a662bcac0777849", - order_side="buy", - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - subaccount_id="0x5e249f0e8cb406f41de16e1bd6f6b55e7bc75add000000000000000000000004", - is_reduce_only=False, - margin="2280000000", - price="0.000000000017541", - quantity="50955000000000000000", - unfilled_quantity="50955000000000000000", - trigger_price="0", - fee_recipient="inj1tcjf7r5vksr0g80pdcdada44teauwkkahelyfy", - state="booked", - created_at=1699644939364, - updated_at=1699644939364, - order_number=0, - order_type="", - is_conditional=False, - trigger_at=0, - placed_order_hash="", - execution_type="", - tx_hash="0x0000000000000000000000000000000000000000000000000000000000000000", - cid="cid1", - ) - - paging = exchange_derivative_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - derivative_servicer.orders_responses.append( - exchange_derivative_pb.OrdersResponse( - orders=[order], - paging=paging, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_orders = await api.fetch_orders( - market_ids=[order.market_id], - order_side=order.order_side, - subaccount_id=order.subaccount_id, - is_conditional="true" if order.is_conditional else "false", - order_type=order.order_type, - include_inactive=True, - subaccount_total_orders=True, - trade_id="7959737_3_0", - cid=order.cid, - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - expected_orders = { - "orders": [ - { - "orderHash": order.order_hash, - "orderSide": order.order_side, - "marketId": order.market_id, - "subaccountId": order.subaccount_id, - "isReduceOnly": order.is_reduce_only, - "margin": order.margin, - "price": order.price, - "quantity": order.quantity, - "unfilledQuantity": order.unfilled_quantity, - "triggerPrice": order.trigger_price, - "feeRecipient": order.fee_recipient, - "state": order.state, - "createdAt": str(order.created_at), - "updatedAt": str(order.updated_at), - "orderNumber": str(order.order_number), - "orderType": order.order_type, - "isConditional": order.is_conditional, - "triggerAt": str(order.trigger_at), - "placedOrderHash": order.placed_order_hash, - "executionType": order.execution_type, - "txHash": order.tx_hash, - "cid": order.cid, - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_orders == expected_orders - - @pytest.mark.asyncio - async def test_fetch_positions( - self, - derivative_servicer, - ): - position = exchange_derivative_pb.DerivativePosition( - ticker="INJ/USDT PERP", - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - subaccount_id="0x1383dabde57e5aed55960ee43e158ae7118057d3000000000000000000000000", - direction="short", - quantity="0.070294765766186502", - entry_price="15980281.340438795311756847", - margin="561065.540974", - liquidation_price="23492052.224777", - mark_price="16197000", - aggregate_reduce_only_quantity="0", - updated_at=1700161202147, - created_at=-62135596800000, - ) - - paging = exchange_derivative_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - derivative_servicer.positions_responses.append( - exchange_derivative_pb.PositionsResponse( - positions=[position], - paging=paging, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_orders = await api.fetch_positions( - market_ids=[position.market_id], - subaccount_id=position.subaccount_id, - direction=position.direction, - subaccount_total_positions=True, - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - expected_orders = { - "positions": [ - { - "ticker": position.ticker, - "marketId": position.market_id, - "subaccountId": position.subaccount_id, - "direction": position.direction, - "quantity": position.quantity, - "entryPrice": position.entry_price, - "margin": position.margin, - "liquidationPrice": position.liquidation_price, - "markPrice": position.mark_price, - "aggregateReduceOnlyQuantity": position.aggregate_reduce_only_quantity, - "createdAt": str(position.created_at), - "updatedAt": str(position.updated_at), - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_orders == expected_orders - - @pytest.mark.asyncio - async def test_fetch_positions_v2( - self, - derivative_servicer, - ): - position = exchange_derivative_pb.DerivativePositionV2( - ticker="INJ/USDT PERP", - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - subaccount_id="0x1383dabde57e5aed55960ee43e158ae7118057d3000000000000000000000000", - direction="short", - quantity="0.070294765766186502", - entry_price="15980281.340438795311756847", - margin="561065.540974", - liquidation_price="23492052.224777", - mark_price="16197000", - updated_at=1700161202147, - denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - ) - - paging = exchange_derivative_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - derivative_servicer.positions_v2_responses.append( - exchange_derivative_pb.PositionsV2Response( - positions=[position], - paging=paging, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_orders = await api.fetch_positions_v2( - market_ids=[position.market_id], - subaccount_id=position.subaccount_id, - direction=position.direction, - subaccount_total_positions=True, - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - expected_orders = { - "positions": [ - { - "ticker": position.ticker, - "marketId": position.market_id, - "subaccountId": position.subaccount_id, - "direction": position.direction, - "quantity": position.quantity, - "entryPrice": position.entry_price, - "margin": position.margin, - "liquidationPrice": position.liquidation_price, - "markPrice": position.mark_price, - "updatedAt": str(position.updated_at), - "denom": position.denom, - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_orders == expected_orders - - @pytest.mark.asyncio - async def test_fetch_liquidable_positions( - self, - derivative_servicer, - ): - position = exchange_derivative_pb.DerivativePosition( - ticker="INJ/USDT PERP", - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - subaccount_id="0x1383dabde57e5aed55960ee43e158ae7118057d3000000000000000000000000", - direction="short", - quantity="0.070294765766186502", - entry_price="15980281.340438795311756847", - margin="561065.540974", - liquidation_price="23492052.224777", - mark_price="16197000", - aggregate_reduce_only_quantity="0", - updated_at=1700161202147, - created_at=-62135596800000, - ) - - derivative_servicer.liquidable_positions_responses.append( - exchange_derivative_pb.LiquidablePositionsResponse(positions=[position]) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_orders = await api.fetch_liquidable_positions( - market_id=position.market_id, - pagination=PaginationOption( - skip=0, - limit=100, - ), - ) - expected_orders = { - "positions": [ - { - "ticker": position.ticker, - "marketId": position.market_id, - "subaccountId": position.subaccount_id, - "direction": position.direction, - "quantity": position.quantity, - "entryPrice": position.entry_price, - "margin": position.margin, - "liquidationPrice": position.liquidation_price, - "markPrice": position.mark_price, - "aggregateReduceOnlyQuantity": position.aggregate_reduce_only_quantity, - "createdAt": str(position.created_at), - "updatedAt": str(position.updated_at), - }, - ] - } - - assert result_orders == expected_orders - - @pytest.mark.asyncio - async def test_fetch_funding_payments( - self, - derivative_servicer, - ): - payment = exchange_derivative_pb.FundingPayment( - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - subaccount_id="0x1383dabde57e5aed55960ee43e158ae7118057d3000000000000000000000000", - amount="0.018466", - timestamp=1700186400645, - ) - - paging = exchange_derivative_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - derivative_servicer.funding_payments_responses.append( - exchange_derivative_pb.FundingPaymentsResponse( - payments=[payment], - paging=paging, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_orders = await api.fetch_funding_payments( - market_ids=[payment.market_id], - subaccount_id=payment.subaccount_id, - pagination=PaginationOption( - skip=0, - limit=100, - end_time=1699744939364, - ), - ) - expected_orders = { - "payments": [ - { - "marketId": payment.market_id, - "subaccountId": payment.subaccount_id, - "amount": payment.amount, - "timestamp": str(payment.timestamp), - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_orders == expected_orders - - @pytest.mark.asyncio - async def test_fetch_funding_rates( - self, - derivative_servicer, - ): - funding_rate = exchange_derivative_pb.FundingRate( - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - rate="0.000004", - timestamp=1700186400645, - ) - - paging = exchange_derivative_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - derivative_servicer.funding_rates_responses.append( - exchange_derivative_pb.FundingRatesResponse( - funding_rates=[funding_rate], - paging=paging, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_orders = await api.fetch_funding_rates( - market_id=funding_rate.market_id, - pagination=PaginationOption( - skip=0, - limit=100, - end_time=1699744939364, - ), - ) - expected_orders = { - "fundingRates": [ - { - "marketId": funding_rate.market_id, - "rate": funding_rate.rate, - "timestamp": str(funding_rate.timestamp), - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_orders == expected_orders - - @pytest.mark.asyncio - async def test_fetch_trades( - self, - derivative_servicer, - ): - position_delta = exchange_derivative_pb.PositionDelta( - trade_direction="buy", - execution_price="13945600", - execution_quantity="5", - execution_margin="69728000", - ) - - trade = exchange_derivative_pb.DerivativeTrade( - order_hash="0xe549e4750287c93fcc8dec24f319c15025e07e89a8d0937be2b3865ed79d9da7", - subaccount_id="0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000001", - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - trade_execution_type="limitMatchNewOrder", - is_liquidation=False, - position_delta=position_delta, - payout="0", - fee="36.144", - executed_at=1677563766350, - fee_recipient="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - trade_id="8662464_1_0", - execution_side="taker", - cid="cid1", - ) - - paging = exchange_derivative_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - derivative_servicer.trades_responses.append( - exchange_derivative_pb.TradesResponse( - trades=[trade], - paging=paging, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_trades = await api.fetch_trades( - market_ids=[trade.market_id], - subaccount_ids=[trade.subaccount_id], - execution_side=trade.execution_side, - direction=position_delta.trade_direction, - execution_types=[trade.trade_execution_type], - trade_id=trade.trade_id, - account_address="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - cid=trade.cid, - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - expected_trades = { - "trades": [ - { - "orderHash": trade.order_hash, - "subaccountId": trade.subaccount_id, - "marketId": trade.market_id, - "tradeExecutionType": trade.trade_execution_type, - "isLiquidation": trade.is_liquidation, - "positionDelta": { - "tradeDirection": position_delta.trade_direction, - "executionPrice": position_delta.execution_price, - "executionQuantity": position_delta.execution_quantity, - "executionMargin": position_delta.execution_margin, - }, - "payout": trade.payout, - "fee": trade.fee, - "executedAt": str(trade.executed_at), - "feeRecipient": trade.fee_recipient, - "tradeId": trade.trade_id, - "executionSide": trade.execution_side, - "cid": trade.cid, - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_trades == expected_trades - - @pytest.mark.asyncio - async def test_fetch_subaccount_orders_list( - self, - derivative_servicer, - ): - order = exchange_derivative_pb.DerivativeLimitOrder( - order_hash="0x14e43adbb3302db28bcd0619068227ebca880cdd66cdfc8b4a662bcac0777849", - order_side="buy", - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - subaccount_id="0x5e249f0e8cb406f41de16e1bd6f6b55e7bc75add000000000000000000000004", - is_reduce_only=False, - margin="2280000000", - price="0.000000000017541", - quantity="50955000000000000000", - unfilled_quantity="50955000000000000000", - trigger_price="0", - fee_recipient="inj1tcjf7r5vksr0g80pdcdada44teauwkkahelyfy", - state="booked", - created_at=1699644939364, - updated_at=1699644939364, - order_number=0, - order_type="", - is_conditional=False, - trigger_at=0, - placed_order_hash="", - execution_type="", - tx_hash="0x0000000000000000000000000000000000000000000000000000000000000000", - cid="cid1", - ) - - paging = exchange_derivative_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - derivative_servicer.subaccount_orders_list_responses.append( - exchange_derivative_pb.SubaccountOrdersListResponse( - orders=[order], - paging=paging, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_orders = await api.fetch_subaccount_orders_list( - subaccount_id=order.subaccount_id, - market_id=order.market_id, - pagination=PaginationOption( - skip=0, - limit=100, - ), - ) - expected_orders = { - "orders": [ - { - "orderHash": order.order_hash, - "orderSide": order.order_side, - "marketId": order.market_id, - "subaccountId": order.subaccount_id, - "isReduceOnly": order.is_reduce_only, - "margin": order.margin, - "price": order.price, - "quantity": order.quantity, - "unfilledQuantity": order.unfilled_quantity, - "triggerPrice": order.trigger_price, - "feeRecipient": order.fee_recipient, - "state": order.state, - "createdAt": str(order.created_at), - "updatedAt": str(order.updated_at), - "orderNumber": str(order.order_number), - "orderType": order.order_type, - "isConditional": order.is_conditional, - "triggerAt": str(order.trigger_at), - "placedOrderHash": order.placed_order_hash, - "executionType": order.execution_type, - "txHash": order.tx_hash, - "cid": order.cid, - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_orders == expected_orders - - @pytest.mark.asyncio - async def test_fetch_subaccount_trades_list( - self, - derivative_servicer, - ): - position_delta = exchange_derivative_pb.PositionDelta( - trade_direction="buy", - execution_price="13945600", - execution_quantity="5", - execution_margin="69728000", - ) - - trade = exchange_derivative_pb.DerivativeTrade( - order_hash="0xe549e4750287c93fcc8dec24f319c15025e07e89a8d0937be2b3865ed79d9da7", - subaccount_id="0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000001", - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - trade_execution_type="limitMatchNewOrder", - is_liquidation=False, - position_delta=position_delta, - payout="0", - fee="36.144", - executed_at=1677563766350, - fee_recipient="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - trade_id="8662464_1_0", - execution_side="taker", - cid="cid1", - ) - - derivative_servicer.subaccount_trades_list_responses.append( - exchange_derivative_pb.SubaccountTradesListResponse( - trades=[trade], - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_trades = await api.fetch_subaccount_trades_list( - subaccount_id=trade.subaccount_id, - market_id=trade.market_id, - execution_type=trade.trade_execution_type, - direction=position_delta.trade_direction, - pagination=PaginationOption( - skip=0, - limit=100, - ), - ) - expected_trades = { - "trades": [ - { - "orderHash": trade.order_hash, - "subaccountId": trade.subaccount_id, - "marketId": trade.market_id, - "tradeExecutionType": trade.trade_execution_type, - "isLiquidation": trade.is_liquidation, - "positionDelta": { - "tradeDirection": position_delta.trade_direction, - "executionPrice": position_delta.execution_price, - "executionQuantity": position_delta.execution_quantity, - "executionMargin": position_delta.execution_margin, - }, - "payout": trade.payout, - "fee": trade.fee, - "executedAt": str(trade.executed_at), - "feeRecipient": trade.fee_recipient, - "tradeId": trade.trade_id, - "executionSide": trade.execution_side, - "cid": trade.cid, - }, - ], - } - - assert result_trades == expected_trades - - @pytest.mark.asyncio - async def test_fetch_orders_history( - self, - derivative_servicer, - ): - order = exchange_derivative_pb.DerivativeOrderHistory( - order_hash="0x14e43adbb3302db28bcd0619068227ebca880cdd66cdfc8b4a662bcac0777849", - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - is_active=True, - subaccount_id="0x5e249f0e8cb406f41de16e1bd6f6b55e7bc75add000000000000000000000004", - execution_type="limit", - order_type="buy_po", - price="0.000000000017541", - trigger_price="0", - quantity="50955000000000000000", - filled_quantity="1000000000000000", - state="booked", - created_at=1699644939364, - updated_at=1699644939364, - is_reduce_only=False, - direction="buy", - is_conditional=False, - trigger_at=0, - placed_order_hash="", - margin="2280000000", - tx_hash="0x0000000000000000000000000000000000000000000000000000000000000000", - cid="cid1", - ) - - paging = exchange_derivative_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - derivative_servicer.orders_history_responses.append( - exchange_derivative_pb.OrdersHistoryResponse( - orders=[order], - paging=paging, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_orders = await api.fetch_orders_history( - subaccount_id=order.subaccount_id, - market_ids=[order.market_id], - order_types=[order.order_type], - direction=order.direction, - is_conditional="true" if order.is_conditional else "false", - state=order.state, - execution_types=[order.execution_type], - trade_id="8662464_1_0", - active_markets_only=True, - cid=order.cid, - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - expected_orders = { - "orders": [ - { - "orderHash": order.order_hash, - "marketId": order.market_id, - "isActive": order.is_active, - "subaccountId": order.subaccount_id, - "executionType": order.execution_type, - "orderType": order.order_type, - "price": order.price, - "triggerPrice": order.trigger_price, - "quantity": order.quantity, - "filledQuantity": order.filled_quantity, - "state": order.state, - "createdAt": str(order.created_at), - "updatedAt": str(order.updated_at), - "isReduceOnly": order.is_reduce_only, - "direction": order.direction, - "isConditional": order.is_conditional, - "triggerAt": str(order.trigger_at), - "placedOrderHash": order.placed_order_hash, - "margin": order.margin, - "txHash": order.tx_hash, - "cid": order.cid, - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_orders == expected_orders - - @pytest.mark.asyncio - async def test_fetch_trades_v2( - self, - derivative_servicer, - ): - position_delta = exchange_derivative_pb.PositionDelta( - trade_direction="buy", - execution_price="13945600", - execution_quantity="5", - execution_margin="69728000", - ) - - trade = exchange_derivative_pb.DerivativeTrade( - order_hash="0xe549e4750287c93fcc8dec24f319c15025e07e89a8d0937be2b3865ed79d9da7", - subaccount_id="0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000001", - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - trade_execution_type="limitMatchNewOrder", - is_liquidation=False, - position_delta=position_delta, - payout="0", - fee="36.144", - executed_at=1677563766350, - fee_recipient="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - trade_id="8662464_1_0", - execution_side="taker", - cid="cid1", - ) - - paging = exchange_derivative_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - derivative_servicer.trades_v2_responses.append( - exchange_derivative_pb.TradesV2Response( - trades=[trade], - paging=paging, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - result_trades = await api.fetch_trades_v2( - market_ids=[trade.market_id], - subaccount_ids=[trade.subaccount_id], - execution_side=trade.execution_side, - direction=position_delta.trade_direction, - execution_types=[trade.trade_execution_type], - trade_id=trade.trade_id, - account_address="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - cid=trade.cid, - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - expected_trades = { - "trades": [ - { - "orderHash": trade.order_hash, - "subaccountId": trade.subaccount_id, - "marketId": trade.market_id, - "tradeExecutionType": trade.trade_execution_type, - "isLiquidation": trade.is_liquidation, - "positionDelta": { - "tradeDirection": position_delta.trade_direction, - "executionPrice": position_delta.execution_price, - "executionQuantity": position_delta.execution_quantity, - "executionMargin": position_delta.execution_margin, - }, - "payout": trade.payout, - "fee": trade.fee, - "executedAt": str(trade.executed_at), - "feeRecipient": trade.fee_recipient, - "tradeId": trade.trade_id, - "executionSide": trade.execution_side, - "cid": trade.cid, - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_trades == expected_trades - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcDerivativeApi(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/indexer/grpc/test_indexer_grpc_explorer_api.py b/tests/client/indexer/grpc/test_indexer_grpc_explorer_api.py deleted file mode 100644 index faf4364a..00000000 --- a/tests/client/indexer/grpc/test_indexer_grpc_explorer_api.py +++ /dev/null @@ -1,1513 +0,0 @@ -import base64 - -import grpc -import pytest - -from pyinjective.client.indexer.grpc.indexer_grpc_explorer_api import IndexerGrpcExplorerApi -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_explorer_rpc_pb2 as exchange_explorer_pb -from tests.client.indexer.configurable_explorer_query_servicer import ConfigurableExplorerQueryServicer - - -@pytest.fixture -def explorer_servicer(): - return ConfigurableExplorerQueryServicer() - - -class TestIndexerGrpcExplorerApi: - @pytest.mark.asyncio - async def test_fetch_account_txs( - self, - explorer_servicer, - ): - code = 5 - coin = exchange_explorer_pb.CosmosCoin( - denom="inj", - amount="200000000000000", - ) - gas_fee = exchange_explorer_pb.GasFee( - amount=[coin], gas_limit=400000, payer="inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex", granter="test granter" - ) - event = exchange_explorer_pb.Event(type="test event type", attributes={"first_attribute": "attribute 1"}) - signature = exchange_explorer_pb.Signature( - pubkey="02c33c539e2aea9f97137e8168f6e22f57b829876823fa04b878a2b7c2010465d9", - address="inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex", - sequence=223460, - signature="gFXPJ5QENzq9SUHshE8g++aRLIlRCRVcOsYq+EOr3T4QgAAs5bVHf8NhugBjJP9B+AfQjQNNneHXPF9dEp4Uehs=", - ) - claim_id = 100 - - tx_data = exchange_explorer_pb.TxDetailData( - id="test id", - block_number=18138926, - block_timestamp="2023-11-07 23:19:55.371 +0000 UTC", - hash="0x3790ade2bea6c8605851ec89fa968adf2a2037a5ecac11ca95e99260508a3b7e", - code=code, - data=b"\022&\n$/cosmos.bank.v1beta1.MsgSendResponse", - info="test info", - gas_wanted=400000, - gas_used=93696, - gas_fee=gas_fee, - codespace="test codespace", - events=[event], - tx_type="injective-web3", - messages=b'[{"type":"/cosmos.bank.v1beta1.MsgSend","value":{' - b'"from_address":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex",' - b'"to_address":"inj1d6qx83nhx3a3gx7e654x4su8hur5s83u84h2xc",' - b'"amount":[{"denom":"factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth",' - b'"amount":"100000000000000000"}]}}]', - signatures=[signature], - memo="test memo", - tx_number=221429, - block_unix_timestamp=1699399195371, - error_log="", - logs=b'[{"msg_index":0,"events":[{"type":"message","attributes":[{"key":"action",' - b'"value":"/cosmos.bank.v1beta1.MsgSend"},{"key":"sender",' - b'"value":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex"},{"key":"module","value":"bank"}]},' - b'{"type":"coin_spent","attributes":[{"key":"spender",' - b'"value":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex"},{"key":"amount",' - b'"value":"100000000000000000factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth"}]},' - b'{"type":"coin_received","attributes":[{"key":"receiver",' - b'"value":"inj1d6qx83nhx3a3gx7e654x4su8hur5s83u84h2xc"},{"key":"amount",' - b'"value":"100000000000000000factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth"}]},' - b'{"type":"transfer","attributes":[{"key":"recipient",' - b'"value":"inj1d6qx83nhx3a3gx7e654x4su8hur5s83u84h2xc"},' - b'{"key":"sender","value":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex"},' - b'{"key":"amount","value":"100000000000000000factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth"}' - b']},{"type":"message","attributes":[{"key":"sender",' - b'"value":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex"}]}]}]', - claim_ids=[claim_id], - ) - - paging = exchange_explorer_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - explorer_servicer.account_txs_responses.append( - exchange_explorer_pb.GetAccountTxsResponse( - data=[tx_data], - paging=paging, - ) - ) - - api = self._api_instance(servicer=explorer_servicer) - - result_txs = await api.fetch_account_txs( - address="inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex", - before=221439, - after=221419, - message_type="cosmos.bank.v1beta1.MsgSend", - module="bank", - from_number=221419, - to_number=221439, - status="status", - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - expected_txs = { - "data": [ - { - "id": tx_data.id, - "blockNumber": str(tx_data.block_number), - "blockTimestamp": tx_data.block_timestamp, - "hash": tx_data.hash, - "code": tx_data.code, - "data": base64.b64encode(tx_data.data).decode(), - "info": tx_data.info, - "gasWanted": str(tx_data.gas_wanted), - "gasUsed": str(tx_data.gas_used), - "gasFee": { - "amount": [ - { - "denom": coin.denom, - "amount": coin.amount, - } - ], - "gasLimit": str(gas_fee.gas_limit), - "payer": gas_fee.payer, - "granter": gas_fee.granter, - }, - "codespace": tx_data.codespace, - "events": [ - { - "type": event.type, - "attributes": event.attributes, - } - ], - "txType": tx_data.tx_type, - "messages": base64.b64encode(tx_data.messages).decode(), - "signatures": [ - { - "pubkey": signature.pubkey, - "address": signature.address, - "sequence": str(signature.sequence), - "signature": signature.signature, - } - ], - "memo": tx_data.memo, - "txNumber": str(tx_data.tx_number), - "blockUnixTimestamp": str(tx_data.block_unix_timestamp), - "errorLog": tx_data.error_log, - "logs": base64.b64encode(tx_data.logs).decode(), - "claimIds": [str(claim_id)], - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_txs == expected_txs - - @pytest.mark.asyncio - async def test_fetch_contract_txs( - self, - explorer_servicer, - ): - code = 5 - coin = exchange_explorer_pb.CosmosCoin( - denom="inj", - amount="200000000000000", - ) - gas_fee = exchange_explorer_pb.GasFee( - amount=[coin], gas_limit=400000, payer="inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex", granter="test granter" - ) - event = exchange_explorer_pb.Event(type="test event type", attributes={"first_attribute": "attribute 1"}) - signature = exchange_explorer_pb.Signature( - pubkey="02c33c539e2aea9f97137e8168f6e22f57b829876823fa04b878a2b7c2010465d9", - address="inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex", - sequence=223460, - signature="gFXPJ5QENzq9SUHshE8g++aRLIlRCRVcOsYq+EOr3T4QgAAs5bVHf8NhugBjJP9B+AfQjQNNneHXPF9dEp4Uehs=", - ) - claim_id = 100 - - tx_data = exchange_explorer_pb.TxDetailData( - id="test id", - block_number=18138926, - block_timestamp="2023-11-07 23:19:55.371 +0000 UTC", - hash="0x3790ade2bea6c8605851ec89fa968adf2a2037a5ecac11ca95e99260508a3b7e", - code=code, - data=b"\022&\n$/cosmos.bank.v1beta1.MsgSendResponse", - info="test info", - gas_wanted=400000, - gas_used=93696, - gas_fee=gas_fee, - codespace="test codespace", - events=[event], - tx_type="injective-web3", - messages=b'[{"type":"/cosmos.bank.v1beta1.MsgSend","value":{' - b'"from_address":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex",' - b'"to_address":"inj1d6qx83nhx3a3gx7e654x4su8hur5s83u84h2xc",' - b'"amount":[{"denom":"factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth",' - b'"amount":"100000000000000000"}]}}]', - signatures=[signature], - memo="test memo", - tx_number=221429, - block_unix_timestamp=1699399195371, - error_log="", - logs=b'[{"msg_index":0,"events":[{"type":"message","attributes":[' - b'{"key":"action","value":"/cosmos.bank.v1beta1.MsgSend"},' - b'{"key":"sender","value":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex"},' - b'{"key":"module","value":"bank"}]},{"type":"coin_spent","attributes":[' - b'{"key":"spender","value":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex"},' - b'{"key":"amount","value":"100000000000000000factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth"}' - b']},{"type":"coin_received","attributes":[' - b'{"key":"receiver","value":"inj1d6qx83nhx3a3gx7e654x4su8hur5s83u84h2xc"},' - b'{"key":"amount","value":"100000000000000000factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth"}' - b']},{"type":"transfer","attributes":[' - b'{"key":"recipient","value":"inj1d6qx83nhx3a3gx7e654x4su8hur5s83u84h2xc"},' - b'{"key":"sender","value":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex"},' - b'{"key":"amount","value":"100000000000000000factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth"}' - b']},{"type":"message","attributes":[' - b'{"key":"sender","value":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex"}]}]}]', - claim_ids=[claim_id], - ) - - paging = exchange_explorer_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - explorer_servicer.contract_txs_responses.append( - exchange_explorer_pb.GetContractTxsResponse( - data=[tx_data], - paging=paging, - ) - ) - - api = self._api_instance(servicer=explorer_servicer) - - result_contract_txs = await api.fetch_contract_txs( - address="inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex", - from_number=221419, - to_number=221439, - pagination=PaginationOption( - skip=0, - limit=100, - ), - ) - expected_contract_txs = { - "data": [ - { - "id": tx_data.id, - "blockNumber": str(tx_data.block_number), - "blockTimestamp": tx_data.block_timestamp, - "hash": tx_data.hash, - "code": tx_data.code, - "data": base64.b64encode(tx_data.data).decode(), - "info": tx_data.info, - "gasWanted": str(tx_data.gas_wanted), - "gasUsed": str(tx_data.gas_used), - "gasFee": { - "amount": [ - { - "denom": coin.denom, - "amount": coin.amount, - } - ], - "gasLimit": str(gas_fee.gas_limit), - "payer": gas_fee.payer, - "granter": gas_fee.granter, - }, - "codespace": tx_data.codespace, - "events": [ - { - "type": event.type, - "attributes": event.attributes, - } - ], - "txType": tx_data.tx_type, - "messages": base64.b64encode(tx_data.messages).decode(), - "signatures": [ - { - "pubkey": signature.pubkey, - "address": signature.address, - "sequence": str(signature.sequence), - "signature": signature.signature, - } - ], - "memo": tx_data.memo, - "txNumber": str(tx_data.tx_number), - "blockUnixTimestamp": str(tx_data.block_unix_timestamp), - "errorLog": tx_data.error_log, - "logs": base64.b64encode(tx_data.logs).decode(), - "claimIds": [str(claim_id)], - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_contract_txs == expected_contract_txs - - @pytest.mark.asyncio - async def test_fetch_blocks( - self, - explorer_servicer, - ): - block_info = exchange_explorer_pb.BlockInfo( - height=19034578, - proposer="injvalcons18x63wcw5hjxlf535lgn4qy20yer7mm0qedu0la", - moniker="InjectiveNode1", - block_hash="0x7f7bfe8caaa0eed042315d1447ef1ed726a80f5da23fdbe6831fc66775197db1", - parent_hash="0x44287ba5fad21d0109a3ec6f19d447580763e5a709e5a5ceb767174e99ae3bd8", - num_pre_commits=20, - num_txs=4, - timestamp="2023-11-29 20:23:33.842 +0000 UTC", - ) - - paging = exchange_explorer_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - explorer_servicer.blocks_responses.append( - exchange_explorer_pb.GetBlocksResponse( - data=[block_info], - paging=paging, - ) - ) - - api = self._api_instance(servicer=explorer_servicer) - - result_blocks = await api.fetch_blocks( - before=221419, - after=221439, - pagination=PaginationOption( - limit=100, - ), - ) - expected_blocks = { - "data": [ - { - "height": str(block_info.height), - "proposer": block_info.proposer, - "moniker": block_info.moniker, - "blockHash": block_info.block_hash, - "parentHash": block_info.parent_hash, - "numPreCommits": str(block_info.num_pre_commits), - "numTxs": str(block_info.num_txs), - "txs": [], - "timestamp": block_info.timestamp, - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_blocks == expected_blocks - - @pytest.mark.asyncio - async def test_fetch_block( - self, - explorer_servicer, - ): - tx_data = exchange_explorer_pb.TxData( - id="tx id", - block_number=5825046, - block_timestamp="2022-12-11 22:06:49.182 +0000 UTC", - hash="0xbe8c8ca9a41196adf59b88fe9efd78e7532e04169152e779be3dc14ba7c360d9", - messages=b"null", - tx_number=994979, - tx_msg_types=b'["/injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder"]', - ) - block_info = exchange_explorer_pb.BlockDetailInfo( - height=19034578, - proposer="injvalcons18x63wcw5hjxlf535lgn4qy20yer7mm0qedu0la", - moniker="InjectiveNode1", - block_hash="0x7f7bfe8caaa0eed042315d1447ef1ed726a80f5da23fdbe6831fc66775197db1", - parent_hash="0x44287ba5fad21d0109a3ec6f19d447580763e5a709e5a5ceb767174e99ae3bd8", - num_pre_commits=20, - num_txs=4, - total_txs=5, - txs=[tx_data], - timestamp="2023-11-29 20:23:33.842 +0000 UTC", - ) - - explorer_servicer.block_responses.append( - exchange_explorer_pb.GetBlockResponse( - s="ok", - errmsg="test error message", - data=block_info, - ) - ) - - api = self._api_instance(servicer=explorer_servicer) - - result_block = await api.fetch_block(block_id=str(block_info.height)) - expected_block = { - "s": "ok", - "errmsg": "test error message", - "data": { - "height": str(block_info.height), - "proposer": block_info.proposer, - "moniker": block_info.moniker, - "blockHash": block_info.block_hash, - "parentHash": block_info.parent_hash, - "numPreCommits": str(block_info.num_pre_commits), - "numTxs": str(block_info.num_txs), - "totalTxs": str(block_info.total_txs), - "txs": [ - { - "id": tx_data.id, - "blockNumber": str(tx_data.block_number), - "blockTimestamp": tx_data.block_timestamp, - "hash": tx_data.hash, - "codespace": tx_data.codespace, - "messages": base64.b64encode(tx_data.messages).decode(), - "txNumber": str(tx_data.tx_number), - "errorLog": tx_data.error_log, - "code": tx_data.code, - "txMsgTypes": base64.b64encode(tx_data.tx_msg_types).decode(), - "logs": base64.b64encode(tx_data.logs).decode(), - "claimIds": tx_data.claim_ids, - } - ], - "timestamp": block_info.timestamp, - }, - } - - assert result_block == expected_block - - @pytest.mark.asyncio - async def test_fetch_validators( - self, - explorer_servicer, - ): - validator_description = exchange_explorer_pb.ValidatorDescription(moniker="InjectiveNode0") - validator = exchange_explorer_pb.Validator( - id="test id", - moniker="InjectiveNode0", - operator_address="injvaloper156t3yxd4udv0h9gwagfcmwnmm3quy0nph7tyh5", - consensus_address="injvalcons1xwg7xkmpqp8q804c37sa4dzyfwgnh4a74ll9pz", - jailed=False, - status=3, - tokens="200059138606549756596244963211573", - delegator_shares="200079146521201876783922319320744.623595039617821538", - description=validator_description, - unbonding_height=2489050, - unbonding_time="2022-09-18 14:44:56.825 +0000 UTC", - commission_rate="0.100000000000000000", - commission_max_rate="1.000000000000000000", - commission_max_change_rate="1.000000000000000000", - commission_update_time="2022-07-05 00:43:31.747 +0000 UTC", - proposed=4140681, - signed=10764141, - missed=0, - timestamp="2023-11-30 15:17:26.124 +0000 UTC", - uptime_percentage=99.906641771138965, - ) - - explorer_servicer.validators_responses.append( - exchange_explorer_pb.GetValidatorsResponse( - s="ok", - errmsg="test error message", - data=[validator], - ) - ) - - api = self._api_instance(servicer=explorer_servicer) - - result_validators = await api.fetch_validators() - expected_validators = { - "s": "ok", - "errmsg": "test error message", - "data": [ - { - "id": validator.id, - "moniker": validator.moniker, - "operatorAddress": validator.operator_address, - "consensusAddress": validator.consensus_address, - "jailed": validator.jailed, - "status": validator.status, - "tokens": validator.tokens, - "delegatorShares": validator.delegator_shares, - "description": { - "moniker": validator_description.moniker, - "identity": validator_description.identity, - "website": validator_description.website, - "securityContact": validator_description.security_contact, - "details": validator_description.details, - "imageUrl": validator_description.image_url, - }, - "unbondingHeight": str(validator.unbonding_height), - "unbondingTime": validator.unbonding_time, - "commissionRate": validator.commission_rate, - "commissionMaxRate": validator.commission_max_rate, - "commissionMaxChangeRate": validator.commission_max_change_rate, - "commissionUpdateTime": validator.commission_update_time, - "proposed": str(validator.proposed), - "signed": str(validator.signed), - "missed": str(validator.missed), - "timestamp": validator.timestamp, - "uptimes": validator.uptimes, - "slashingEvents": validator.slashing_events, - "uptimePercentage": validator.uptime_percentage, - "imageUrl": validator.image_url, - }, - ], - } - - assert result_validators == expected_validators - - @pytest.mark.asyncio - async def test_fetch_validator( - self, - explorer_servicer, - ): - validator_description = exchange_explorer_pb.ValidatorDescription(moniker="InjectiveNode0") - validator = exchange_explorer_pb.Validator( - id="test id", - moniker="InjectiveNode0", - operator_address="injvaloper156t3yxd4udv0h9gwagfcmwnmm3quy0nph7tyh5", - consensus_address="injvalcons1xwg7xkmpqp8q804c37sa4dzyfwgnh4a74ll9pz", - jailed=False, - status=3, - tokens="200059138606549756596244963211573", - delegator_shares="200079146521201876783922319320744.623595039617821538", - description=validator_description, - unbonding_height=2489050, - unbonding_time="2022-09-18 14:44:56.825 +0000 UTC", - commission_rate="0.100000000000000000", - commission_max_rate="1.000000000000000000", - commission_max_change_rate="1.000000000000000000", - commission_update_time="2022-07-05 00:43:31.747 +0000 UTC", - proposed=4140681, - signed=10764141, - missed=0, - timestamp="2023-11-30 15:17:26.124 +0000 UTC", - uptime_percentage=99.906641771138965, - ) - - explorer_servicer.validator_responses.append( - exchange_explorer_pb.GetValidatorResponse( - s="ok", - errmsg="test error message", - data=validator, - ) - ) - - api = self._api_instance(servicer=explorer_servicer) - - result_validator = await api.fetch_validator(address=validator.operator_address) - expected_validator = { - "s": "ok", - "errmsg": "test error message", - "data": { - "id": validator.id, - "moniker": validator.moniker, - "operatorAddress": validator.operator_address, - "consensusAddress": validator.consensus_address, - "jailed": validator.jailed, - "status": validator.status, - "tokens": validator.tokens, - "delegatorShares": validator.delegator_shares, - "description": { - "moniker": validator_description.moniker, - "identity": validator_description.identity, - "website": validator_description.website, - "securityContact": validator_description.security_contact, - "details": validator_description.details, - "imageUrl": validator_description.image_url, - }, - "unbondingHeight": str(validator.unbonding_height), - "unbondingTime": validator.unbonding_time, - "commissionRate": validator.commission_rate, - "commissionMaxRate": validator.commission_max_rate, - "commissionMaxChangeRate": validator.commission_max_change_rate, - "commissionUpdateTime": validator.commission_update_time, - "proposed": str(validator.proposed), - "signed": str(validator.signed), - "missed": str(validator.missed), - "timestamp": validator.timestamp, - "uptimes": validator.uptimes, - "slashingEvents": validator.slashing_events, - "uptimePercentage": validator.uptime_percentage, - "imageUrl": validator.image_url, - }, - } - - assert result_validator == expected_validator - - @pytest.mark.asyncio - async def test_fetch_validator_uptime( - self, - explorer_servicer, - ): - validator_uptime = exchange_explorer_pb.ValidatorUptime( - block_number=2489050, - status="3", - ) - - explorer_servicer.validator_uptime_responses.append( - exchange_explorer_pb.GetValidatorUptimeResponse( - s="ok", - errmsg="test error message", - data=[validator_uptime], - ) - ) - - api = self._api_instance(servicer=explorer_servicer) - - result_validator = await api.fetch_validator_uptime(address="injvaloper156t3yxd4udv0h9gwagfcmwnmm3quy0nph7tyh5") - expected_validator = { - "s": "ok", - "errmsg": "test error message", - "data": [ - { - "blockNumber": str(validator_uptime.block_number), - "status": validator_uptime.status, - }, - ], - } - - assert result_validator == expected_validator - - @pytest.mark.asyncio - async def test_fetch_txs( - self, - explorer_servicer, - ): - code = 5 - claim_id = 100 - - tx_data = exchange_explorer_pb.TxData( - id="test id", - block_number=18138926, - block_timestamp="2023-11-07 23:19:55.371 +0000 UTC", - hash="0x3790ade2bea6c8605851ec89fa968adf2a2037a5ecac11ca95e99260508a3b7e", - codespace="test codespace", - messages=b'[{"type":"/cosmos.bank.v1beta1.MsgSend",' - b'"value":{"from_address":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex",' - b'"to_address":"inj1d6qx83nhx3a3gx7e654x4su8hur5s83u84h2xc",' - b'"amount":[{"denom":"factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth",' - b'"amount":"100000000000000000"}]}}]', - tx_number=221429, - error_log="", - code=code, - tx_msg_types=b'["/injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder"]', - logs=b'[{"msg_index":0,"events":[{"type":"message","attributes":[' - b'{"key":"action","value":"/cosmos.bank.v1beta1.MsgSend"},' - b'{"key":"sender","value":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex"},' - b'{"key":"module","value":"bank"}]},{"type":"coin_spent","attributes":[' - b'{"key":"spender","value":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex"},' - b'{"key":"amount","value":"100000000000000000factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth"}' - b']},{"type":"coin_received","attributes":[' - b'{"key":"receiver","value":"inj1d6qx83nhx3a3gx7e654x4su8hur5s83u84h2xc"},' - b'{"key":"amount","value":"100000000000000000factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth"}' - b']},{"type":"transfer","attributes":[' - b'{"key":"recipient","value":"inj1d6qx83nhx3a3gx7e654x4su8hur5s83u84h2xc"},' - b'{"key":"sender","value":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex"},' - b'{"key":"amount","value":"100000000000000000factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth"}' - b']},{"type":"message","attributes":[' - b'{"key":"sender","value":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex"}]}]}]', - claim_ids=[claim_id], - ) - - paging = exchange_explorer_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - explorer_servicer.txs_responses.append( - exchange_explorer_pb.GetTxsResponse( - data=[tx_data], - paging=paging, - ) - ) - - api = self._api_instance(servicer=explorer_servicer) - - result_txs = await api.fetch_txs( - before=221439, - after=221419, - message_type="cosmos.bank.v1beta1.MsgSend", - module="bank", - from_number=221419, - to_number=221439, - status="status", - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - expected_txs = { - "data": [ - { - "id": tx_data.id, - "blockNumber": str(tx_data.block_number), - "blockTimestamp": tx_data.block_timestamp, - "hash": tx_data.hash, - "codespace": tx_data.codespace, - "messages": base64.b64encode(tx_data.messages).decode(), - "txNumber": str(tx_data.tx_number), - "errorLog": tx_data.error_log, - "code": tx_data.code, - "txMsgTypes": base64.b64encode(tx_data.tx_msg_types).decode(), - "logs": base64.b64encode(tx_data.logs).decode(), - "claimIds": [str(claim_id)], - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_txs == expected_txs - - @pytest.mark.asyncio - async def test_fetch_tx_by_hash( - self, - explorer_servicer, - ): - code = 5 - coin = exchange_explorer_pb.CosmosCoin( - denom="inj", - amount="200000000000000", - ) - gas_fee = exchange_explorer_pb.GasFee( - amount=[coin], gas_limit=400000, payer="inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex", granter="test granter" - ) - event = exchange_explorer_pb.Event(type="test event type", attributes={"first_attribute": "attribute 1"}) - signature = exchange_explorer_pb.Signature( - pubkey="02c33c539e2aea9f97137e8168f6e22f57b829876823fa04b878a2b7c2010465d9", - address="inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex", - sequence=223460, - signature="gFXPJ5QENzq9SUHshE8g++aRLIlRCRVcOsYq+EOr3T4QgAAs5bVHf8NhugBjJP9B+AfQjQNNneHXPF9dEp4Uehs=", - ) - claim_id = 100 - - tx_data = exchange_explorer_pb.TxDetailData( - id="test id", - block_number=18138926, - block_timestamp="2023-11-07 23:19:55.371 +0000 UTC", - hash="0x3790ade2bea6c8605851ec89fa968adf2a2037a5ecac11ca95e99260508a3b7e", - code=code, - data=b"\022&\n$/cosmos.bank.v1beta1.MsgSendResponse", - info="test info", - gas_wanted=400000, - gas_used=93696, - gas_fee=gas_fee, - codespace="test codespace", - events=[event], - tx_type="injective-web3", - messages=b'[{"type":"/cosmos.bank.v1beta1.MsgSend",' - b'"value":{"from_address":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex",' - b'"to_address":"inj1d6qx83nhx3a3gx7e654x4su8hur5s83u84h2xc",' - b'"amount":[{"denom":"factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth",' - b'"amount":"100000000000000000"}]}}]', - signatures=[signature], - memo="test memo", - tx_number=221429, - block_unix_timestamp=1699399195371, - error_log="", - logs=b'[{"msg_index":0,"events":[{"type":"message","attributes":[' - b'{"key":"action","value":"/cosmos.bank.v1beta1.MsgSend"},' - b'{"key":"sender","value":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex"},' - b'{"key":"module","value":"bank"}]},{"type":"coin_spent","attributes":[' - b'{"key":"spender","value":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex"},' - b'{"key":"amount","value":"100000000000000000factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth"}' - b']},{"type":"coin_received","attributes":[' - b'{"key":"receiver","value":"inj1d6qx83nhx3a3gx7e654x4su8hur5s83u84h2xc"},' - b'{"key":"amount","value":"100000000000000000factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth"}' - b']},{"type":"transfer","attributes":[' - b'{"key":"recipient","value":"inj1d6qx83nhx3a3gx7e654x4su8hur5s83u84h2xc"},' - b'{"key":"sender","value":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex"},' - b'{"key":"amount","value":"100000000000000000factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth"}' - b']},{"type":"message","attributes":[' - b'{"key":"sender","value":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex"}]}]}]', - claim_ids=[claim_id], - ) - - explorer_servicer.tx_by_tx_hash_responses.append( - exchange_explorer_pb.GetTxByTxHashResponse( - s="ok", - errmsg="test error message", - data=tx_data, - ) - ) - - api = self._api_instance(servicer=explorer_servicer) - - result_tx = await api.fetch_tx_by_tx_hash(tx_hash=tx_data.hash) - expected_tx = { - "s": "ok", - "errmsg": "test error message", - "data": { - "id": tx_data.id, - "blockNumber": str(tx_data.block_number), - "blockTimestamp": tx_data.block_timestamp, - "hash": tx_data.hash, - "code": tx_data.code, - "data": base64.b64encode(tx_data.data).decode(), - "info": tx_data.info, - "gasWanted": str(tx_data.gas_wanted), - "gasUsed": str(tx_data.gas_used), - "gasFee": { - "amount": [ - { - "denom": coin.denom, - "amount": coin.amount, - } - ], - "gasLimit": str(gas_fee.gas_limit), - "payer": gas_fee.payer, - "granter": gas_fee.granter, - }, - "codespace": tx_data.codespace, - "events": [ - { - "type": event.type, - "attributes": event.attributes, - } - ], - "txType": tx_data.tx_type, - "messages": base64.b64encode(tx_data.messages).decode(), - "signatures": [ - { - "pubkey": signature.pubkey, - "address": signature.address, - "sequence": str(signature.sequence), - "signature": signature.signature, - } - ], - "memo": tx_data.memo, - "txNumber": str(tx_data.tx_number), - "blockUnixTimestamp": str(tx_data.block_unix_timestamp), - "errorLog": tx_data.error_log, - "logs": base64.b64encode(tx_data.logs).decode(), - "claimIds": [str(claim_id)], - }, - } - - assert result_tx == expected_tx - - @pytest.mark.asyncio - async def test_fetch_peggy_deposit_txs( - self, - explorer_servicer, - ): - tx_hash = "0x028a43ad2089cad45a8855143508f7381787d7f17cc19e3cda1bc2300c1d043f" - tx_data = exchange_explorer_pb.PeggyDepositTx( - sender="0x197E6c3f19951eA0bA90Ddf465bcC79790cDD12d", - receiver="inj1r9lxc0cej502pw5smh6xt0x8j7gvm5fdrj6xhk", - event_nonce=624, - event_height=10122722, - amount="500000000000000000", - denom="0xAD1794307245443B3Cb55d88e79EEE4d8a548C03", - orchestrator_address="inj1c8rpu79mr70hqsgzutdd6rhvzhej9vntm6fqku", - state="Completed", - claim_type=1, - tx_hashes=[tx_hash], - created_at="2023-11-28 16:55:54.841 +0000 UTC", - updated_at="2023-11-28 16:56:07.944 +0000 UTC", - ) - - explorer_servicer.peggy_deposit_txs_responses.append( - exchange_explorer_pb.GetPeggyDepositTxsResponse(field=[tx_data]) - ) - - api = self._api_instance(servicer=explorer_servicer) - - result_tx = await api.fetch_peggy_deposit_txs( - sender=tx_data.sender, - receiver=tx_data.receiver, - pagination=PaginationOption( - skip=0, - limit=100, - ), - ) - expected_tx = { - "field": [ - { - "sender": tx_data.sender, - "receiver": tx_data.receiver, - "eventNonce": str(tx_data.event_nonce), - "eventHeight": str(tx_data.event_height), - "amount": tx_data.amount, - "denom": tx_data.denom, - "orchestratorAddress": tx_data.orchestrator_address, - "state": tx_data.state, - "claimType": tx_data.claim_type, - "txHashes": [tx_hash], - "createdAt": tx_data.created_at, - "updatedAt": tx_data.updated_at, - }, - ] - } - - assert result_tx == expected_tx - - @pytest.mark.asyncio - async def test_fetch_peggy_withdrawal_txs( - self, - explorer_servicer, - ): - tx_hash = "0x028a43ad2089cad45a8855143508f7381787d7f17cc19e3cda1bc2300c1d043f" - tx_data = exchange_explorer_pb.PeggyWithdrawalTx( - sender="0x197E6c3f19951eA0bA90Ddf465bcC79790cDD12d", - receiver="inj1r9lxc0cej502pw5smh6xt0x8j7gvm5fdrj6xhk", - amount="500000000000000000", - denom="0xAD1794307245443B3Cb55d88e79EEE4d8a548C03", - bridge_fee="575043128234617596", - outgoing_tx_id=1136, - batch_timeout=10125614, - batch_nonce=1600, - orchestrator_address="inj1c8rpu79mr70hqsgzutdd6rhvzhej9vntm6fqku", - event_nonce=624, - event_height=10122722, - state="Completed", - claim_type=1, - tx_hashes=[tx_hash], - created_at="2023-11-28 16:55:54.841 +0000 UTC", - updated_at="2023-11-28 16:56:07.944 +0000 UTC", - ) - - explorer_servicer.peggy_withdrawal_txs_responses.append( - exchange_explorer_pb.GetPeggyWithdrawalTxsResponse(field=[tx_data]) - ) - - api = self._api_instance(servicer=explorer_servicer) - - result_tx = await api.fetch_peggy_withdrawal_txs( - sender=tx_data.sender, - receiver=tx_data.receiver, - pagination=PaginationOption( - skip=0, - limit=100, - ), - ) - expected_tx = { - "field": [ - { - "sender": tx_data.sender, - "receiver": tx_data.receiver, - "amount": tx_data.amount, - "denom": tx_data.denom, - "bridgeFee": tx_data.bridge_fee, - "outgoingTxId": str(tx_data.outgoing_tx_id), - "batchTimeout": str(tx_data.batch_timeout), - "batchNonce": str(tx_data.batch_nonce), - "orchestratorAddress": tx_data.orchestrator_address, - "eventNonce": str(tx_data.event_nonce), - "eventHeight": str(tx_data.event_height), - "state": tx_data.state, - "claimType": tx_data.claim_type, - "txHashes": [tx_hash], - "createdAt": tx_data.created_at, - "updatedAt": tx_data.updated_at, - }, - ] - } - - assert result_tx == expected_tx - - @pytest.mark.asyncio - async def test_fetch_ibc_transfer_txs( - self, - explorer_servicer, - ): - tx_hash = "0x028a43ad2089cad45a8855143508f7381787d7f17cc19e3cda1bc2300c1d043f" - tx_data = exchange_explorer_pb.IBCTransferTx( - sender="0x197E6c3f19951eA0bA90Ddf465bcC79790cDD12d", - receiver="inj1r9lxc0cej502pw5smh6xt0x8j7gvm5fdrj6xhk", - source_port="transfer", - source_channel="channel-74", - destination_port="transfer", - destination_channel="channel-33", - amount="500000000000000000", - denom="0xAD1794307245443B3Cb55d88e79EEE4d8a548C03", - timeout_height="0-0", - timeout_timestamp=1701460751755119600, - packet_sequence=16607, - data_hex=b"7b22616d6f756e74223a2231303030303030222c2264656e6f6d223a227472616e736665722f6368616e6e656c2d3734" - b"2f756e6f6973222c227265636569766572223a226e6f6973316d7675757067726537706a78336b35746d353732396672" - b"6b6e396e766a75367067737861776334377067616d63747970647a6c736d3768673930222c2273656e646572223a2269" - b"6e6a31346e656e6474737a306334306e3778747a776b6a6d646338646b757a3833356a64796478686e227d", - state="Completed", - tx_hashes=[tx_hash], - created_at="2023-11-28 16:55:54.841 +0000 UTC", - updated_at="2023-11-28 16:56:07.944 +0000 UTC", - ) - - explorer_servicer.ibc_transfer_txs_responses.append( - exchange_explorer_pb.GetIBCTransferTxsResponse(field=[tx_data]) - ) - - api = self._api_instance(servicer=explorer_servicer) - - result_tx = await api.fetch_ibc_transfer_txs( - sender=tx_data.sender, - receiver=tx_data.receiver, - src_channel=tx_data.source_channel, - src_port=tx_data.source_port, - dest_channel=tx_data.destination_channel, - dest_port=tx_data.destination_port, - pagination=PaginationOption( - skip=0, - limit=100, - ), - ) - expected_tx = { - "field": [ - { - "sender": tx_data.sender, - "receiver": tx_data.receiver, - "sourcePort": tx_data.source_port, - "sourceChannel": tx_data.source_channel, - "destinationPort": tx_data.destination_port, - "destinationChannel": tx_data.destination_channel, - "amount": tx_data.amount, - "denom": tx_data.denom, - "timeoutHeight": tx_data.timeout_height, - "timeoutTimestamp": str(tx_data.timeout_timestamp), - "packetSequence": str(tx_data.packet_sequence), - "dataHex": base64.b64encode(tx_data.data_hex).decode(), - "state": tx_data.state, - "txHashes": [tx_hash], - "createdAt": tx_data.created_at, - "updatedAt": tx_data.updated_at, - }, - ] - } - - assert result_tx == expected_tx - - @pytest.mark.asyncio - async def test_fetch_wasm_codes( - self, - explorer_servicer, - ): - checksum = exchange_explorer_pb.Checksum( - algorithm="sha256", - hash="0xadecb2d943c03eeee77e111791df61198a9dee097f47f14a811b8f9657122624", - ) - permission = exchange_explorer_pb.ContractPermission( - access_type=3, - address="test address", - ) - wasm_code = exchange_explorer_pb.WasmCode( - code_id=245, - tx_hash="0xa5da295f9252dc932861be6f2a4dbc9a8c0f44bb42a473ded5ec349407a1c708", - checksum=checksum, - created_at=1701373663980, - contract_type="test contract type", - version="test version", - permission=permission, - code_schema="test code schema", - code_view="test code view", - instantiates=0, - creator="inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c", - code_number=253, - proposal_id=0, - ) - - paging = exchange_explorer_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - explorer_servicer.wasm_codes_responses.append( - exchange_explorer_pb.GetWasmCodesResponse(paging=paging, data=[wasm_code]) - ) - - api = self._api_instance(servicer=explorer_servicer) - - result_wasm_codes = await api.fetch_wasm_codes( - from_number=1, - to_number=1000, - pagination=PaginationOption( - limit=100, - ), - ) - expected_wasm_codes = { - "data": [ - { - "codeId": str(wasm_code.code_id), - "txHash": wasm_code.tx_hash, - "checksum": { - "algorithm": checksum.algorithm, - "hash": checksum.hash, - }, - "createdAt": str(wasm_code.created_at), - "contractType": wasm_code.contract_type, - "version": wasm_code.version, - "permission": { - "accessType": permission.access_type, - "address": permission.address, - }, - "codeSchema": wasm_code.code_schema, - "codeView": wasm_code.code_view, - "instantiates": str(wasm_code.instantiates), - "creator": wasm_code.creator, - "codeNumber": str(wasm_code.code_number), - "proposalId": str(wasm_code.proposal_id), - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_wasm_codes == expected_wasm_codes - - @pytest.mark.asyncio - async def test_fetch_wasm_code_by_id( - self, - explorer_servicer, - ): - checksum = exchange_explorer_pb.Checksum( - algorithm="sha256", - hash="0xadecb2d943c03eeee77e111791df61198a9dee097f47f14a811b8f9657122624", - ) - permission = exchange_explorer_pb.ContractPermission( - access_type=3, - address="test address", - ) - wasm_code = exchange_explorer_pb.GetWasmCodeByIDResponse( - code_id=245, - tx_hash="0xa5da295f9252dc932861be6f2a4dbc9a8c0f44bb42a473ded5ec349407a1c708", - checksum=checksum, - created_at=1701373663980, - contract_type="test contract type", - version="test version", - permission=permission, - code_schema="test code schema", - code_view="test code view", - instantiates=0, - creator="inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c", - code_number=253, - proposal_id=0, - ) - - explorer_servicer.wasm_code_by_id_responses.append(wasm_code) - - api = self._api_instance(servicer=explorer_servicer) - - result_wasm_code = await api.fetch_wasm_code_by_id(code_id=wasm_code.code_id) - expected_wasm_code = { - "codeId": str(wasm_code.code_id), - "txHash": wasm_code.tx_hash, - "checksum": { - "algorithm": checksum.algorithm, - "hash": checksum.hash, - }, - "createdAt": str(wasm_code.created_at), - "contractType": wasm_code.contract_type, - "version": wasm_code.version, - "permission": { - "accessType": permission.access_type, - "address": permission.address, - }, - "codeSchema": wasm_code.code_schema, - "codeView": wasm_code.code_view, - "instantiates": str(wasm_code.instantiates), - "creator": wasm_code.creator, - "codeNumber": str(wasm_code.code_number), - "proposalId": str(wasm_code.proposal_id), - } - - assert result_wasm_code == expected_wasm_code - - @pytest.mark.asyncio - async def test_fetch_wasm_contracts( - self, - explorer_servicer, - ): - wasm_contract = exchange_explorer_pb.WasmContract( - label="Talis candy machine", - address="inj1t4lnxfu9gtyd50uqmf0ahpwk3vtg5yk9pe7uj4", - tx_hash="0x7462ce393fd7691c5179107dcd5ee47c79e7a348538c0c976e160bbbfdae338c", - creator="inj1fh92xcg28rat7apzhw5aw8x4x83wrprq4sp3tj", - executes=23, - instantiated_at=1701320950004, - init_message='{"admin":"inj1maeyvxfamtn8lfyxpjca8kuvauuf2qeu6gtxm3","codeId":"104",' - '"label":"Talis candy machine","msg":"",' - '"sender":"inj1fh92xcg28rat7apzhw5aw8x4x83wrprq4sp3tj","fundsList":[],' - '"contract_address":"inj1mhsrt6ulz07wnesppy39wwygjntk0stmk39ftg",' - '"owner":"inj1fh92xcg28rat7apzhw5aw8x4x83wrprq4sp3tj",' - '"fee_collector":"inj1maeyvxfamtn8lfyxpjca8kuvauuf2qeu6gtxm3",' - '"operator_pubkey":"Aq9ExLymJrae0ol4Pq13vZkDARZeunbFWJGXgsHtkzkx",' - '"public_phase":{"id":0,"private":false,"start":1701363602,"end":1701489600,' - '"price":{"native":[{"denom":"inj","amount":"100000000000000000"}]},"mint_limit":5},' - '"reserved_tokens":11,"total_tokens":111}', - last_executed_at=1701395446228, - funds=[], - code_id=104, - admin="inj1maeyvxfamtn8lfyxpjca8kuvauuf2qeu6gtxm3", - current_migrate_message="", - contract_number=1037, - version="test version", - type="test_type", - proposal_id=0, - ) - - paging = exchange_explorer_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - explorer_servicer.wasm_contracts_responses.append( - exchange_explorer_pb.GetWasmContractsResponse(paging=paging, data=[wasm_contract]) - ) - - api = self._api_instance(servicer=explorer_servicer) - - result_wasm_contracts = await api.fetch_wasm_contracts( - code_id=wasm_contract.code_id, - from_number=1, - to_number=1000, - assets_only=False, - label=wasm_contract.label, - pagination=PaginationOption( - limit=100, - skip=10, - ), - ) - expected_wasm_contracts = { - "data": [ - { - "label": wasm_contract.label, - "address": wasm_contract.address, - "txHash": wasm_contract.tx_hash, - "creator": wasm_contract.creator, - "executes": str(wasm_contract.executes), - "instantiatedAt": str(wasm_contract.instantiated_at), - "initMessage": wasm_contract.init_message, - "lastExecutedAt": str(wasm_contract.last_executed_at), - "funds": wasm_contract.funds, - "codeId": str(wasm_contract.code_id), - "admin": wasm_contract.admin, - "currentMigrateMessage": wasm_contract.current_migrate_message, - "contractNumber": str(wasm_contract.contract_number), - "version": wasm_contract.version, - "type": wasm_contract.type, - "proposalId": str(wasm_contract.proposal_id), - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_wasm_contracts == expected_wasm_contracts - - @pytest.mark.asyncio - async def test_fetch_wasm_contract_by_address( - self, - explorer_servicer, - ): - wasm_contract = exchange_explorer_pb.GetWasmContractByAddressResponse( - label="Talis candy machine", - address="inj1t4lnxfu9gtyd50uqmf0ahpwk3vtg5yk9pe7uj4", - tx_hash="0x7462ce393fd7691c5179107dcd5ee47c79e7a348538c0c976e160bbbfdae338c", - creator="inj1fh92xcg28rat7apzhw5aw8x4x83wrprq4sp3tj", - executes=23, - instantiated_at=1701320950004, - init_message='{"admin":"inj1maeyvxfamtn8lfyxpjca8kuvauuf2qeu6gtxm3","codeId":"104",' - '"label":"Talis candy machine","msg":"","sender":"inj1fh92xcg28rat7apzhw5aw8x4x83wrprq4sp3tj",' - '"fundsList":[],"contract_address":"inj1mhsrt6ulz07wnesppy39wwygjntk0stmk39ftg",' - '"owner":"inj1fh92xcg28rat7apzhw5aw8x4x83wrprq4sp3tj",' - '"fee_collector":"inj1maeyvxfamtn8lfyxpjca8kuvauuf2qeu6gtxm3",' - '"operator_pubkey":"Aq9ExLymJrae0ol4Pq13vZkDARZeunbFWJGXgsHtkzkx",' - '"public_phase":{"id":0,"private":false,"start":1701363602,"end":1701489600,' - '"price":{"native":[{"denom":"inj","amount":"100000000000000000"}]},"mint_limit":5},' - '"reserved_tokens":11,"total_tokens":111}', - last_executed_at=1701395446228, - funds=[], - code_id=104, - admin="inj1maeyvxfamtn8lfyxpjca8kuvauuf2qeu6gtxm3", - current_migrate_message="", - contract_number=1037, - version="test version", - type="test_type", - proposal_id=0, - ) - - explorer_servicer.wasm_contract_by_address_responses.append(wasm_contract) - - api = self._api_instance(servicer=explorer_servicer) - - result_wasm_contract = await api.fetch_wasm_contract_by_address(address=wasm_contract.address) - expected_wasm_contract = { - "label": wasm_contract.label, - "address": wasm_contract.address, - "txHash": wasm_contract.tx_hash, - "creator": wasm_contract.creator, - "executes": str(wasm_contract.executes), - "instantiatedAt": str(wasm_contract.instantiated_at), - "initMessage": wasm_contract.init_message, - "lastExecutedAt": str(wasm_contract.last_executed_at), - "funds": wasm_contract.funds, - "codeId": str(wasm_contract.code_id), - "admin": wasm_contract.admin, - "currentMigrateMessage": wasm_contract.current_migrate_message, - "contractNumber": str(wasm_contract.contract_number), - "version": wasm_contract.version, - "type": wasm_contract.type, - "proposalId": str(wasm_contract.proposal_id), - } - - assert result_wasm_contract == expected_wasm_contract - - @pytest.mark.asyncio - async def test_fetch_cw20_balance( - self, - explorer_servicer, - ): - token_info = exchange_explorer_pb.Cw20TokenInfo( - name="Tether", - symbol="USDT", - decimals=6, - total_supply="100000000000", - ) - marketing_info = exchange_explorer_pb.Cw20MarketingInfo( - project="Tether", - description="Tether project", - logo="test logo", - marketing=b"Test marketing info", - ) - cw20_metadata = exchange_explorer_pb.Cw20Metadata( - token_info=token_info, - marketing_info=marketing_info, - ) - wasm_balance = exchange_explorer_pb.WasmCw20Balance( - account="0xaf79152ac5df276d9a8e1e2e22822f9713474902", - balance="1000", - contract_address="inj1t4lnxfu9gtyd50uqmf0ahpwk3vtg5yk9pe7uj4", - cw20_metadata=cw20_metadata, - updated_at=1701395446228, - ) - - explorer_servicer.cw20_balance_responses.append( - exchange_explorer_pb.GetCw20BalanceResponse(field=[wasm_balance]) - ) - - api = self._api_instance(servicer=explorer_servicer) - - result_wasm_contract = await api.fetch_cw20_balance( - address=wasm_balance.account, - pagination=PaginationOption( - limit=100, - ), - ) - expected_wasm_contract = { - "field": [ - { - "account": wasm_balance.account, - "balance": wasm_balance.balance, - "contractAddress": wasm_balance.contract_address, - "cw20Metadata": { - "tokenInfo": { - "name": token_info.name, - "symbol": token_info.symbol, - "decimals": str(token_info.decimals), - "totalSupply": token_info.total_supply, - }, - "marketingInfo": { - "project": marketing_info.project, - "description": marketing_info.description, - "logo": marketing_info.logo, - "marketing": base64.b64encode(marketing_info.marketing).decode(), - }, - }, - "updatedAt": str(wasm_balance.updated_at), - }, - ] - } - - assert result_wasm_contract == expected_wasm_contract - - @pytest.mark.asyncio - async def test_fetch_relayers( - self, - explorer_servicer, - ): - relayer = exchange_explorer_pb.Relayer( - name="Injdojo", - cta="https://injdojo.exchange", - ) - relayers = exchange_explorer_pb.RelayerMarkets( - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", relayers=[relayer] - ) - - explorer_servicer.relayers_responses.append(exchange_explorer_pb.RelayersResponse(field=[relayers])) - - api = self._api_instance(servicer=explorer_servicer) - - result_wasm_contract = await api.fetch_relayers( - market_ids=[relayers.market_id], - ) - expected_wasm_contract = { - "field": [ - { - "marketId": relayers.market_id, - "relayers": [ - { - "name": relayer.name, - "cta": relayer.cta, - }, - ], - }, - ] - } - - assert result_wasm_contract == expected_wasm_contract - - @pytest.mark.asyncio - async def test_fetch_bank_transfers( - self, - explorer_servicer, - ): - coin = exchange_explorer_pb.Coin( - denom="inj", - amount="200000000000000", - ) - bank_transfer = exchange_explorer_pb.BankTransfer( - sender="inj17xpfvakm2amg962yls6f84z3kell8c5l6s5ye9", - recipient="inj1jv65s3grqf6v6jl3dp4t6c9t9rk99cd8dkncm8", - amounts=[coin], - block_number=52990746, - block_timestamp="2023-12-01 14:25:28.266 +0000 UTC", - ) - - paging = exchange_explorer_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - explorer_servicer.bank_transfers_responses.append( - exchange_explorer_pb.GetBankTransfersResponse(paging=paging, data=[bank_transfer]) - ) - - api = self._api_instance(servicer=explorer_servicer) - - result_transfers = await api.fetch_bank_transfers( - senders=[bank_transfer.sender], - recipients=[bank_transfer.recipient], - is_community_pool_related=False, - address=["inj1t4lnxfu9gtyd50uqmf0ahpwk3vtg5yk9pe7uj4"], - per_page=20, - token="inj", - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - expected_transfers = { - "data": [ - { - "sender": bank_transfer.sender, - "recipient": bank_transfer.recipient, - "amounts": [ - { - "denom": coin.denom, - "amount": coin.amount, - } - ], - "blockNumber": str(bank_transfer.block_number), - "blockTimestamp": bank_transfer.block_timestamp, - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_transfers == expected_transfers - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcExplorerApi(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/indexer/grpc/test_indexer_grpc_insurance_api.py b/tests/client/indexer/grpc/test_indexer_grpc_insurance_api.py deleted file mode 100644 index 27e3ee9f..00000000 --- a/tests/client/indexer/grpc/test_indexer_grpc_insurance_api.py +++ /dev/null @@ -1,122 +0,0 @@ -import grpc -import pytest - -from pyinjective.client.indexer.grpc.indexer_grpc_insurance_api import IndexerGrpcInsuranceApi -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_insurance_rpc_pb2 as exchange_insurance_pb -from tests.client.indexer.configurable_insurance_query_servicer import ConfigurableInsuranceQueryServicer - - -@pytest.fixture -def insurance_servicer(): - return ConfigurableInsuranceQueryServicer() - - -class TestIndexerGrpcInsuranceApi: - @pytest.mark.asyncio - async def test_fetch_insurance_funds( - self, - insurance_servicer, - ): - insurance_fund = exchange_insurance_pb.InsuranceFund( - market_ticker="inj/usdt", - market_id="0x7f15b4f4484e6820fc446e42cd447ca6d9bfd7c0592304294270c2bef5f589cd", - deposit_denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - pool_token_denom="share132", - redemption_notice_period_duration=1209600, - balance="920389040000", - total_share="1000000000000000000", - oracle_base="0x31775e1d6897129e8a84eeba975778fb50015b88039e9bc140bbd839694ac0ae", - oracle_quote="USD", - oracle_type="coinbase", - expiry=1696539600, - ) - - insurance_servicer.funds_responses.append( - exchange_insurance_pb.FundsResponse( - funds=[insurance_fund], - ) - ) - - api = self._api_instance(servicer=insurance_servicer) - - result_insurance_list = await api.fetch_insurance_funds() - expected_insurance_list = { - "funds": [ - { - "marketTicker": insurance_fund.market_ticker, - "marketId": insurance_fund.market_id, - "depositDenom": insurance_fund.deposit_denom, - "poolTokenDenom": insurance_fund.pool_token_denom, - "redemptionNoticePeriodDuration": str(insurance_fund.redemption_notice_period_duration), - "balance": insurance_fund.balance, - "totalShare": insurance_fund.total_share, - "oracleBase": insurance_fund.oracle_base, - "oracleQuote": insurance_fund.oracle_quote, - "oracleType": insurance_fund.oracle_type, - "expiry": str(insurance_fund.expiry), - } - ] - } - - assert result_insurance_list == expected_insurance_list - - @pytest.mark.asyncio - async def test_fetch_redemptions( - self, - insurance_servicer, - ): - redemption_schedule = exchange_insurance_pb.RedemptionSchedule( - redemption_id=1, - status="disbursed", - redeemer="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", - claimable_redemption_time=1674798129093000, - redemption_amount="500000000000000000", - redemption_denom="share4", - requested_at=1673588529093000, - disbursed_amount="5000000", - disbursed_denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - disbursed_at=1674798130965000, - ) - - insurance_servicer.redemptions_responses.append( - exchange_insurance_pb.RedemptionsResponse( - redemption_schedules=[redemption_schedule], - ) - ) - - api = self._api_instance(servicer=insurance_servicer) - - result_insurance_list = await api.fetch_redemptions( - address=redemption_schedule.redeemer, - denom=redemption_schedule.redemption_denom, - status=redemption_schedule.status, - ) - expected_insurance_list = { - "redemptionSchedules": [ - { - "redemptionId": str(redemption_schedule.redemption_id), - "status": redemption_schedule.status, - "redeemer": redemption_schedule.redeemer, - "claimableRedemptionTime": str(redemption_schedule.claimable_redemption_time), - "redemptionAmount": str(redemption_schedule.redemption_amount), - "redemptionDenom": redemption_schedule.redemption_denom, - "requestedAt": str(redemption_schedule.requested_at), - "disbursedAmount": redemption_schedule.disbursed_amount, - "disbursedDenom": redemption_schedule.disbursed_denom, - "disbursedAt": str(redemption_schedule.disbursed_at), - } - ] - } - - assert result_insurance_list == expected_insurance_list - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcInsuranceApi(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/indexer/grpc/test_indexer_grpc_meta_api.py b/tests/client/indexer/grpc/test_indexer_grpc_meta_api.py deleted file mode 100644 index b7ee7378..00000000 --- a/tests/client/indexer/grpc/test_indexer_grpc_meta_api.py +++ /dev/null @@ -1,94 +0,0 @@ -import grpc -import pytest - -from pyinjective.client.indexer.grpc.indexer_grpc_meta_api import IndexerGrpcMetaApi -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_meta_rpc_pb2 as exchange_meta_pb -from tests.client.indexer.configurable_meta_query_servicer import ConfigurableMetaQueryServicer - - -@pytest.fixture -def meta_servicer(): - return ConfigurableMetaQueryServicer() - - -class TestIndexerGrpcMetaApi: - @pytest.mark.asyncio - async def test_fetch_portfolio( - self, - meta_servicer, - ): - meta_servicer.ping_responses.append(exchange_meta_pb.PingResponse()) - - api = self._api_instance(servicer=meta_servicer) - - result_ping = await api.fetch_ping() - expected_ping = {} - - assert result_ping == expected_ping - - @pytest.mark.asyncio - async def test_fetch_version( - self, - meta_servicer, - ): - version = "v1.12.28" - build = { - "GoVersion": "go1.20.5", - "GoArch": "amd64", - } - meta_servicer.version_responses.append( - exchange_meta_pb.VersionResponse( - version=version, - build=build, - ) - ) - - api = self._api_instance(servicer=meta_servicer) - - result_version = await api.fetch_version() - expected_version = {"build": build, "version": version} - - assert result_version == expected_version - - @pytest.mark.asyncio - async def test_fetch_info( - self, - meta_servicer, - ): - timestamp = 1698440196320 - server_time = 1698440197744 - version = "v1.12.28" - build = { - "GoVersion": "go1.20.5", - "GoArch": "amd64", - } - region = "test region" - meta_servicer.info_responses.append( - exchange_meta_pb.InfoResponse( - timestamp=timestamp, server_time=server_time, version=version, build=build, region=region - ) - ) - - api = self._api_instance(servicer=meta_servicer) - - result_info = await api.fetch_info() - expected_info = { - "timestamp": str(timestamp), - "serverTime": str(server_time), - "version": version, - "build": build, - "region": region, - } - - assert result_info == expected_info - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcMetaApi(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/indexer/grpc/test_indexer_grpc_oracle_api.py b/tests/client/indexer/grpc/test_indexer_grpc_oracle_api.py deleted file mode 100644 index 96ac10d7..00000000 --- a/tests/client/indexer/grpc/test_indexer_grpc_oracle_api.py +++ /dev/null @@ -1,85 +0,0 @@ -import grpc -import pytest - -from pyinjective.client.indexer.grpc.indexer_grpc_oracle_api import IndexerGrpcOracleApi -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_oracle_rpc_pb2 as exchange_oracle_pb -from tests.client.indexer.configurable_oracle_query_servicer import ConfigurableOracleQueryServicer - - -@pytest.fixture -def oracle_servicer(): - return ConfigurableOracleQueryServicer() - - -class TestIndexerGrpcOracleApi: - @pytest.mark.asyncio - async def test_fetch_oracle_list( - self, - oracle_servicer, - ): - oracle = exchange_oracle_pb.Oracle( - symbol="Gold/USDT", - base_symbol="Gold", - quote_symbol="USDT", - oracle_type="pricefeed", - price="1", - ) - - oracle_servicer.oracle_list_responses.append( - exchange_oracle_pb.OracleListResponse( - oracles=[oracle], - ) - ) - - api = self._api_instance(servicer=oracle_servicer) - - result_oracle_list = await api.fetch_oracle_list() - expected_oracle_list = { - "oracles": [ - { - "symbol": oracle.symbol, - "baseSymbol": oracle.base_symbol, - "quoteSymbol": oracle.quote_symbol, - "oracleType": oracle.oracle_type, - "price": oracle.price, - } - ] - } - - assert result_oracle_list == expected_oracle_list - - @pytest.mark.asyncio - async def test_fetch_oracle_price( - self, - oracle_servicer, - ): - price = "0.00000002" - - oracle_servicer.price_responses.append( - exchange_oracle_pb.PriceResponse( - price=price, - ) - ) - - api = self._api_instance(servicer=oracle_servicer) - - result_oracle_list = await api.fetch_oracle_price( - base_symbol="Gold", - quote_symbol="USDT", - oracle_type="pricefeed", - oracle_scale_factor=6, - ) - expected_oracle_list = {"price": price} - - assert result_oracle_list == expected_oracle_list - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcOracleApi(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/indexer/grpc/test_indexer_grpc_portfolio_api.py b/tests/client/indexer/grpc/test_indexer_grpc_portfolio_api.py deleted file mode 100644 index 45d5ea62..00000000 --- a/tests/client/indexer/grpc/test_indexer_grpc_portfolio_api.py +++ /dev/null @@ -1,178 +0,0 @@ -import grpc -import pytest - -from pyinjective.client.indexer.grpc.indexer_grpc_portfolio_api import IndexerGrpcPortfolioApi -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_portfolio_rpc_pb2 as exchange_portfolio_pb -from tests.client.indexer.configurable_portfolio_query_servicer import ConfigurablePortfolioQueryServicer - - -@pytest.fixture -def portfolio_servicer(): - return ConfigurablePortfolioQueryServicer() - - -class TestIndexerGrpcPortfolioApi: - @pytest.mark.asyncio - async def test_fetch_account_portfolio( - self, - portfolio_servicer, - ): - coin = exchange_portfolio_pb.Coin( - denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - amount="2322098", - ) - subaccount_deposit = exchange_portfolio_pb.SubaccountDeposit( - total_balance="0.170858923182467801", - available_balance="0.170858923182467801", - ) - subaccount_balance = exchange_portfolio_pb.SubaccountBalanceV2( - subaccount_id="0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000000", - denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - deposit=subaccount_deposit, - ) - position = exchange_portfolio_pb.DerivativePosition( - ticker="INJ/USDT PERP", - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - subaccount_id="0x1383dabde57e5aed55960ee43e158ae7118057d3000000000000000000000000", - direction="short", - quantity="0.070294765766186502", - entry_price="15980281.340438795311756847", - margin="561065.540974", - liquidation_price="23492052.224777", - mark_price="16197000", - aggregate_reduce_only_quantity="0", - updated_at=1700161202147, - created_at=-62135596800000, - ) - positions_with_upnl = exchange_portfolio_pb.PositionsWithUPNL( - position=position, - unrealized_pnl="-364.479654577777780880", - ) - - portfolio = exchange_portfolio_pb.Portfolio( - account_address="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - bank_balances=[coin], - subaccounts=[subaccount_balance], - positions_with_upnl=[positions_with_upnl], - ) - - portfolio_servicer.account_portfolio_responses.append( - exchange_portfolio_pb.AccountPortfolioResponse( - portfolio=portfolio, - ) - ) - - api = self._api_instance(servicer=portfolio_servicer) - - result_auction = await api.fetch_account_portfolio(account_address=portfolio.account_address) - expected_auction = { - "portfolio": { - "accountAddress": portfolio.account_address, - "bankBalances": [ - { - "denom": coin.denom, - "amount": coin.amount, - } - ], - "subaccounts": [ - { - "subaccountId": subaccount_balance.subaccount_id, - "denom": subaccount_balance.denom, - "deposit": { - "totalBalance": subaccount_deposit.total_balance, - "availableBalance": subaccount_deposit.available_balance, - }, - } - ], - "positionsWithUpnl": [ - { - "position": { - "ticker": position.ticker, - "marketId": position.market_id, - "subaccountId": position.subaccount_id, - "direction": position.direction, - "quantity": position.quantity, - "entryPrice": position.entry_price, - "margin": position.margin, - "liquidationPrice": position.liquidation_price, - "markPrice": position.mark_price, - "aggregateReduceOnlyQuantity": position.aggregate_reduce_only_quantity, - "createdAt": str(position.created_at), - "updatedAt": str(position.updated_at), - }, - "unrealizedPnl": positions_with_upnl.unrealized_pnl, - }, - ], - } - } - - assert result_auction == expected_auction - - @pytest.mark.asyncio - async def test_fetch_account_portfolio_balances( - self, - portfolio_servicer, - ): - coin = exchange_portfolio_pb.Coin( - denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - amount="2322098", - ) - subaccount_deposit = exchange_portfolio_pb.SubaccountDeposit( - total_balance="0.170858923182467801", - available_balance="0.170858923182467801", - ) - subaccount_balance = exchange_portfolio_pb.SubaccountBalanceV2( - subaccount_id="0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000000", - denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - deposit=subaccount_deposit, - ) - - portfolio = exchange_portfolio_pb.PortfolioBalances( - account_address="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - bank_balances=[coin], - subaccounts=[subaccount_balance], - ) - - portfolio_servicer.account_portfolio_balances_responses.append( - exchange_portfolio_pb.AccountPortfolioBalancesResponse( - portfolio=portfolio, - ) - ) - - api = self._api_instance(servicer=portfolio_servicer) - - result_auction = await api.fetch_account_portfolio_balances(account_address=portfolio.account_address) - expected_auction = { - "portfolio": { - "accountAddress": portfolio.account_address, - "bankBalances": [ - { - "denom": coin.denom, - "amount": coin.amount, - } - ], - "subaccounts": [ - { - "subaccountId": subaccount_balance.subaccount_id, - "denom": subaccount_balance.denom, - "deposit": { - "totalBalance": subaccount_deposit.total_balance, - "availableBalance": subaccount_deposit.available_balance, - }, - } - ], - } - } - - assert result_auction == expected_auction - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcPortfolioApi(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py b/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py deleted file mode 100644 index f17dac2d..00000000 --- a/tests/client/indexer/grpc/test_indexer_grpc_spot_api.py +++ /dev/null @@ -1,863 +0,0 @@ -import grpc -import pytest - -from pyinjective.client.indexer.grpc.indexer_grpc_spot_api import IndexerGrpcSpotApi -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_spot_exchange_rpc_pb2 as exchange_spot_pb -from tests.client.indexer.configurable_spot_query_servicer import ConfigurableSpotQueryServicer - - -@pytest.fixture -def spot_servicer(): - return ConfigurableSpotQueryServicer() - - -class TestIndexerGrpcSpotApi: - @pytest.mark.asyncio - async def test_fetch_markets( - self, - spot_servicer, - ): - base_token_meta = exchange_spot_pb.TokenMeta( - name="Injective Protocol", - address="0xe28b3B32B6c345A34Ff64674606124Dd5Aceca30", - symbol="INJ", - logo="https://static.alchemyapi.io/images/assets/7226.png", - decimals=18, - updated_at=1683119359318, - ) - quote_token_meta = exchange_spot_pb.TokenMeta( - name="Testnet Tether USDT", - address="0x0000000000000000000000000000000000000000", - symbol="USDT", - logo="https://static.alchemyapi.io/images/assets/825.png", - decimals=6, - updated_at=1683119359320, - ) - - market = exchange_spot_pb.SpotMarketInfo( - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - market_status="active", - ticker="INJ/USDT", - base_denom="inj", - base_token_meta=base_token_meta, - quote_denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - quote_token_meta=quote_token_meta, - maker_fee_rate="-0.0001", - taker_fee_rate="0.001", - service_provider_fee="0.4", - min_price_tick_size="0.000000000000001", - min_quantity_tick_size="1000000000000000", - min_notional="1000000", - ) - - spot_servicer.markets_responses.append( - exchange_spot_pb.MarketsResponse( - markets=[market], - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - result_markets = await api.fetch_markets( - market_statuses=[market.market_status], - base_denom=market.base_denom, - quote_denom=market.quote_denom, - ) - expected_markets = { - "markets": [ - { - "marketId": market.market_id, - "marketStatus": market.market_status, - "ticker": market.ticker, - "baseDenom": market.base_denom, - "baseTokenMeta": { - "name": market.base_token_meta.name, - "address": market.base_token_meta.address, - "symbol": market.base_token_meta.symbol, - "logo": market.base_token_meta.logo, - "decimals": market.base_token_meta.decimals, - "updatedAt": str(market.base_token_meta.updated_at), - }, - "quoteDenom": market.quote_denom, - "quoteTokenMeta": { - "name": market.quote_token_meta.name, - "address": market.quote_token_meta.address, - "symbol": market.quote_token_meta.symbol, - "logo": market.quote_token_meta.logo, - "decimals": market.quote_token_meta.decimals, - "updatedAt": str(market.quote_token_meta.updated_at), - }, - "takerFeeRate": market.taker_fee_rate, - "makerFeeRate": market.maker_fee_rate, - "serviceProviderFee": market.service_provider_fee, - "minPriceTickSize": market.min_price_tick_size, - "minQuantityTickSize": market.min_quantity_tick_size, - "minNotional": market.min_notional, - } - ] - } - - assert result_markets == expected_markets - - @pytest.mark.asyncio - async def test_fetch_market( - self, - spot_servicer, - ): - base_token_meta = exchange_spot_pb.TokenMeta( - name="Injective Protocol", - address="0xe28b3B32B6c345A34Ff64674606124Dd5Aceca30", - symbol="INJ", - logo="https://static.alchemyapi.io/images/assets/7226.png", - decimals=18, - updated_at=1683119359318, - ) - quote_token_meta = exchange_spot_pb.TokenMeta( - name="Testnet Tether USDT", - address="0x0000000000000000000000000000000000000000", - symbol="USDT", - logo="https://static.alchemyapi.io/images/assets/825.png", - decimals=6, - updated_at=1683119359320, - ) - - market = exchange_spot_pb.SpotMarketInfo( - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - market_status="active", - ticker="INJ/USDT", - base_denom="inj", - base_token_meta=base_token_meta, - quote_denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - quote_token_meta=quote_token_meta, - maker_fee_rate="-0.0001", - taker_fee_rate="0.001", - service_provider_fee="0.4", - min_price_tick_size="0.000000000000001", - min_quantity_tick_size="1000000000000000", - min_notional="1000000", - ) - - spot_servicer.market_responses.append( - exchange_spot_pb.MarketResponse( - market=market, - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - result_market = await api.fetch_market(market_id=market.market_id) - expected_market = { - "market": { - "marketId": market.market_id, - "marketStatus": market.market_status, - "ticker": market.ticker, - "baseDenom": market.base_denom, - "baseTokenMeta": { - "name": market.base_token_meta.name, - "address": market.base_token_meta.address, - "symbol": market.base_token_meta.symbol, - "logo": market.base_token_meta.logo, - "decimals": market.base_token_meta.decimals, - "updatedAt": str(market.base_token_meta.updated_at), - }, - "quoteDenom": market.quote_denom, - "quoteTokenMeta": { - "name": market.quote_token_meta.name, - "address": market.quote_token_meta.address, - "symbol": market.quote_token_meta.symbol, - "logo": market.quote_token_meta.logo, - "decimals": market.quote_token_meta.decimals, - "updatedAt": str(market.quote_token_meta.updated_at), - }, - "takerFeeRate": market.taker_fee_rate, - "makerFeeRate": market.maker_fee_rate, - "serviceProviderFee": market.service_provider_fee, - "minPriceTickSize": market.min_price_tick_size, - "minQuantityTickSize": market.min_quantity_tick_size, - "minNotional": market.min_notional, - } - } - - assert result_market == expected_market - - @pytest.mark.asyncio - async def test_fetch_orderbook_v2( - self, - spot_servicer, - ): - buy = exchange_spot_pb.PriceLevel( - price="0.000000000014198", - quantity="142000000000000000000", - timestamp=1698982052141, - ) - sell = exchange_spot_pb.PriceLevel( - price="0.00000000095699", - quantity="189000000000000000", - timestamp=1698920369246, - ) - - orderbook = exchange_spot_pb.SpotLimitOrderbookV2( - buys=[buy], - sells=[sell], - sequence=5506752, - timestamp=1698982083606, - ) - - spot_servicer.orderbook_v2_responses.append( - exchange_spot_pb.OrderbookV2Response( - orderbook=orderbook, - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - result_orderbook = await api.fetch_orderbook_v2( - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe" - ) - expected_orderbook = { - "orderbook": { - "buys": [ - { - "price": buy.price, - "quantity": buy.quantity, - "timestamp": str(buy.timestamp), - } - ], - "sells": [ - { - "price": sell.price, - "quantity": sell.quantity, - "timestamp": str(sell.timestamp), - } - ], - "sequence": str(orderbook.sequence), - "timestamp": str(orderbook.timestamp), - } - } - - assert result_orderbook == expected_orderbook - - @pytest.mark.asyncio - async def test_fetch_orderbooks_v2( - self, - spot_servicer, - ): - buy = exchange_spot_pb.PriceLevel( - price="0.000000000014198", - quantity="142000000000000000000", - timestamp=1698982052141, - ) - sell = exchange_spot_pb.PriceLevel( - price="0.00000000095699", - quantity="189000000000000000", - timestamp=1698920369246, - ) - - orderbook = exchange_spot_pb.SpotLimitOrderbookV2( - buys=[buy], - sells=[sell], - sequence=5506752, - timestamp=1698982083606, - ) - - single_orderbook = exchange_spot_pb.SingleSpotLimitOrderbookV2( - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - orderbook=orderbook, - ) - - spot_servicer.orderbooks_v2_responses.append( - exchange_spot_pb.OrderbooksV2Response( - orderbooks=[single_orderbook], - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - result_orderbook = await api.fetch_orderbooks_v2(market_ids=[single_orderbook.market_id]) - expected_orderbook = { - "orderbooks": [ - { - "marketId": single_orderbook.market_id, - "orderbook": { - "buys": [ - { - "price": buy.price, - "quantity": buy.quantity, - "timestamp": str(buy.timestamp), - } - ], - "sells": [ - { - "price": sell.price, - "quantity": sell.quantity, - "timestamp": str(sell.timestamp), - } - ], - "sequence": str(orderbook.sequence), - "timestamp": str(orderbook.timestamp), - }, - } - ] - } - - assert result_orderbook == expected_orderbook - - @pytest.mark.asyncio - async def test_fetch_orders( - self, - spot_servicer, - ): - order = exchange_spot_pb.SpotLimitOrder( - order_hash="0x14e43adbb3302db28bcd0619068227ebca880cdd66cdfc8b4a662bcac0777849", - order_side="buy", - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - subaccount_id="0x5e249f0e8cb406f41de16e1bd6f6b55e7bc75add000000000000000000000004", - price="0.000000000017541", - quantity="50955000000000000000", - unfilled_quantity="50955000000000000000", - trigger_price="0", - fee_recipient="inj1tcjf7r5vksr0g80pdcdada44teauwkkahelyfy", - state="booked", - created_at=1699644939364, - updated_at=1699644939364, - tx_hash="0x0000000000000000000000000000000000000000000000000000000000000000", - cid="cid1", - ) - - paging = exchange_spot_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - spot_servicer.orders_responses.append( - exchange_spot_pb.OrdersResponse( - orders=[order], - paging=paging, - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - result_orders = await api.fetch_orders( - market_ids=[order.market_id], - order_side=order.order_side, - subaccount_id=order.subaccount_id, - include_inactive=True, - subaccount_total_orders=True, - trade_id="7959737_3_0", - cid=order.cid, - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - expected_orders = { - "orders": [ - { - "orderHash": order.order_hash, - "orderSide": order.order_side, - "marketId": order.market_id, - "subaccountId": order.subaccount_id, - "price": order.price, - "quantity": order.quantity, - "unfilledQuantity": order.unfilled_quantity, - "triggerPrice": order.trigger_price, - "feeRecipient": order.fee_recipient, - "state": order.state, - "createdAt": str(order.created_at), - "updatedAt": str(order.updated_at), - "txHash": order.tx_hash, - "cid": order.cid, - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_orders == expected_orders - - @pytest.mark.asyncio - async def test_fetch_trades( - self, - spot_servicer, - ): - price = exchange_spot_pb.PriceLevel( - price="0.000000000006024", - quantity="10000000000000000", - timestamp=1677563766350, - ) - - trade = exchange_spot_pb.SpotTrade( - order_hash="0xe549e4750287c93fcc8dec24f319c15025e07e89a8d0937be2b3865ed79d9da7", - subaccount_id="0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000001", - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - trade_execution_type="limitMatchNewOrder", - trade_direction="buy", - price=price, - fee="36.144", - executed_at=1677563766350, - fee_recipient="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - trade_id="8662464_1_0", - execution_side="taker", - cid="cid1", - ) - - paging = exchange_spot_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - spot_servicer.trades_responses.append( - exchange_spot_pb.TradesResponse( - trades=[trade], - paging=paging, - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - result_trades = await api.fetch_trades( - market_ids=[trade.market_id], - subaccount_ids=[trade.subaccount_id], - execution_side=trade.execution_side, - direction=trade.trade_direction, - execution_types=[trade.trade_execution_type], - trade_id=trade.trade_id, - account_address="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - cid=trade.cid, - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - expected_trades = { - "trades": [ - { - "orderHash": trade.order_hash, - "subaccountId": trade.subaccount_id, - "marketId": trade.market_id, - "tradeExecutionType": trade.trade_execution_type, - "tradeDirection": trade.trade_direction, - "price": { - "price": price.price, - "quantity": price.quantity, - "timestamp": str(price.timestamp), - }, - "fee": trade.fee, - "executedAt": str(trade.executed_at), - "feeRecipient": trade.fee_recipient, - "tradeId": trade.trade_id, - "executionSide": trade.execution_side, - "cid": trade.cid, - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_trades == expected_trades - - @pytest.mark.asyncio - async def test_fetch_subaccount_orders_list( - self, - spot_servicer, - ): - order = exchange_spot_pb.SpotLimitOrder( - order_hash="0x14e43adbb3302db28bcd0619068227ebca880cdd66cdfc8b4a662bcac0777849", - order_side="buy", - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - subaccount_id="0x5e249f0e8cb406f41de16e1bd6f6b55e7bc75add000000000000000000000004", - price="0.000000000017541", - quantity="50955000000000000000", - unfilled_quantity="50955000000000000000", - trigger_price="0", - fee_recipient="inj1tcjf7r5vksr0g80pdcdada44teauwkkahelyfy", - state="booked", - created_at=1699644939364, - updated_at=1699644939364, - tx_hash="0x0000000000000000000000000000000000000000000000000000000000000000", - cid="cid1", - ) - - paging = exchange_spot_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - spot_servicer.subaccount_orders_list_responses.append( - exchange_spot_pb.SubaccountOrdersListResponse( - orders=[order], - paging=paging, - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - result_orders = await api.fetch_subaccount_orders_list( - subaccount_id=order.subaccount_id, - market_id=order.market_id, - pagination=PaginationOption( - skip=0, - limit=100, - ), - ) - expected_orders = { - "orders": [ - { - "orderHash": order.order_hash, - "orderSide": order.order_side, - "marketId": order.market_id, - "subaccountId": order.subaccount_id, - "price": order.price, - "quantity": order.quantity, - "unfilledQuantity": order.unfilled_quantity, - "triggerPrice": order.trigger_price, - "feeRecipient": order.fee_recipient, - "state": order.state, - "createdAt": str(order.created_at), - "updatedAt": str(order.updated_at), - "txHash": order.tx_hash, - "cid": order.cid, - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_orders == expected_orders - - @pytest.mark.asyncio - async def test_fetch_subaccount_trades_list( - self, - spot_servicer, - ): - price = exchange_spot_pb.PriceLevel( - price="0.000000000006024", - quantity="10000000000000000", - timestamp=1677563766350, - ) - - trade = exchange_spot_pb.SpotTrade( - order_hash="0xe549e4750287c93fcc8dec24f319c15025e07e89a8d0937be2b3865ed79d9da7", - subaccount_id="0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000001", - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - trade_execution_type="limitMatchNewOrder", - trade_direction="buy", - price=price, - fee="36.144", - executed_at=1677563766350, - fee_recipient="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - trade_id="8662464_1_0", - execution_side="taker", - cid="cid1", - ) - - spot_servicer.subaccount_trades_list_responses.append( - exchange_spot_pb.SubaccountTradesListResponse( - trades=[trade], - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - result_trades = await api.fetch_subaccount_trades_list( - subaccount_id=trade.subaccount_id, - market_id=trade.market_id, - execution_type=trade.trade_execution_type, - direction=trade.trade_direction, - pagination=PaginationOption( - skip=0, - limit=100, - ), - ) - expected_trades = { - "trades": [ - { - "orderHash": trade.order_hash, - "subaccountId": trade.subaccount_id, - "marketId": trade.market_id, - "tradeExecutionType": trade.trade_execution_type, - "tradeDirection": trade.trade_direction, - "price": { - "price": price.price, - "quantity": price.quantity, - "timestamp": str(price.timestamp), - }, - "fee": trade.fee, - "executedAt": str(trade.executed_at), - "feeRecipient": trade.fee_recipient, - "tradeId": trade.trade_id, - "executionSide": trade.execution_side, - "cid": trade.cid, - }, - ], - } - - assert result_trades == expected_trades - - @pytest.mark.asyncio - async def test_fetch_orders_history( - self, - spot_servicer, - ): - order = exchange_spot_pb.SpotOrderHistory( - order_hash="0x14e43adbb3302db28bcd0619068227ebca880cdd66cdfc8b4a662bcac0777849", - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - is_active=True, - subaccount_id="0x5e249f0e8cb406f41de16e1bd6f6b55e7bc75add000000000000000000000004", - execution_type="limit", - order_type="buy_po", - price="0.000000000017541", - trigger_price="0", - quantity="50955000000000000000", - filled_quantity="1000000000000000", - state="booked", - created_at=1699644939364, - updated_at=1699644939364, - direction="buy", - tx_hash="0x0000000000000000000000000000000000000000000000000000000000000000", - cid="cid1", - ) - - paging = exchange_spot_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - spot_servicer.orders_history_responses.append( - exchange_spot_pb.OrdersHistoryResponse( - orders=[order], - paging=paging, - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - result_orders = await api.fetch_orders_history( - subaccount_id=order.subaccount_id, - market_ids=[order.market_id], - order_types=[order.order_type], - direction=order.direction, - state=order.state, - execution_types=[order.execution_type], - trade_id="8662464_1_0", - active_markets_only=True, - cid=order.cid, - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - expected_orders = { - "orders": [ - { - "orderHash": order.order_hash, - "marketId": order.market_id, - "subaccountId": order.subaccount_id, - "executionType": order.execution_type, - "orderType": order.order_type, - "price": order.price, - "triggerPrice": order.trigger_price, - "quantity": order.quantity, - "filledQuantity": order.filled_quantity, - "state": order.state, - "createdAt": str(order.created_at), - "updatedAt": str(order.updated_at), - "direction": order.direction, - "txHash": order.tx_hash, - "isActive": order.is_active, - "cid": order.cid, - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_orders == expected_orders - - @pytest.mark.asyncio - async def test_fetch_atomic_swap_history( - self, - spot_servicer, - ): - source_coin = exchange_spot_pb.Coin(denom="inj", amount="988987297011197594664") - dest_coin = exchange_spot_pb.Coin(denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", amount="54497408") - fee = exchange_spot_pb.Coin(denom="inj", amount="100000") - - atomic_swap = exchange_spot_pb.AtomicSwap( - sender="sender", - route="route", - source_coin=source_coin, - dest_coin=dest_coin, - fees=[fee], - contract_address="contract address", - index_by_sender=1, - index_by_sender_contract=2, - tx_hash="0x0000000000000000000000000000000000000000000000000000000000000000", - executed_at=1699644939364, - refund_amount="0", - ) - paging = exchange_spot_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - spot_servicer.atomic_swap_history_responses.append( - exchange_spot_pb.AtomicSwapHistoryResponse( - data=[atomic_swap], - paging=paging, - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - result_history = await api.fetch_atomic_swap_history( - address=atomic_swap.sender, - contract_address=atomic_swap.contract_address, - pagination=PaginationOption( - skip=0, - limit=100, - from_number=1, - to_number=100, - ), - ) - expected_history = { - "data": [ - { - "contractAddress": atomic_swap.contract_address, - "destCoin": {"amount": dest_coin.amount, "denom": dest_coin.denom}, - "executedAt": str(atomic_swap.executed_at), - "fees": [{"amount": fee.amount, "denom": fee.denom}], - "indexBySender": atomic_swap.index_by_sender, - "indexBySenderContract": atomic_swap.index_by_sender_contract, - "refundAmount": atomic_swap.refund_amount, - "route": atomic_swap.route, - "sender": atomic_swap.sender, - "sourceCoin": {"amount": source_coin.amount, "denom": source_coin.denom}, - "txHash": atomic_swap.tx_hash, - } - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_history == expected_history - - @pytest.mark.asyncio - async def test_fetch_trades_v2( - self, - spot_servicer, - ): - price = exchange_spot_pb.PriceLevel( - price="0.000000000006024", - quantity="10000000000000000", - timestamp=1677563766350, - ) - - trade = exchange_spot_pb.SpotTrade( - order_hash="0xe549e4750287c93fcc8dec24f319c15025e07e89a8d0937be2b3865ed79d9da7", - subaccount_id="0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000001", - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - trade_execution_type="limitMatchNewOrder", - trade_direction="buy", - price=price, - fee="36.144", - executed_at=1677563766350, - fee_recipient="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - trade_id="8662464_1_0", - execution_side="taker", - cid="cid1", - ) - - paging = exchange_spot_pb.Paging(total=5, to=5, count_by_subaccount=10, next=["next1", "next2"]) - setattr(paging, "from", 1) - - spot_servicer.trades_v2_responses.append( - exchange_spot_pb.TradesV2Response( - trades=[trade], - paging=paging, - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - result_trades = await api.fetch_trades_v2( - market_ids=[trade.market_id], - subaccount_ids=[trade.subaccount_id], - execution_side=trade.execution_side, - direction=trade.trade_direction, - execution_types=[trade.trade_execution_type], - trade_id=trade.trade_id, - account_address="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - cid=trade.cid, - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - expected_trades = { - "trades": [ - { - "orderHash": trade.order_hash, - "subaccountId": trade.subaccount_id, - "marketId": trade.market_id, - "tradeExecutionType": trade.trade_execution_type, - "tradeDirection": trade.trade_direction, - "price": { - "price": price.price, - "quantity": price.quantity, - "timestamp": str(price.timestamp), - }, - "fee": trade.fee, - "executedAt": str(trade.executed_at), - "feeRecipient": trade.fee_recipient, - "tradeId": trade.trade_id, - "executionSide": trade.execution_side, - "cid": trade.cid, - }, - ], - "paging": { - "total": str(paging.total), - "from": getattr(paging, "from"), - "to": paging.to, - "countBySubaccount": str(paging.count_by_subaccount), - "next": paging.next, - }, - } - - assert result_trades == expected_trades - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcSpotApi(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/indexer/stream_grpc/__init__.py b/tests/client/indexer/stream_grpc/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/client/indexer/stream_grpc/test_indexer_grpc_account_stream.py b/tests/client/indexer/stream_grpc/test_indexer_grpc_account_stream.py deleted file mode 100644 index 925e85c8..00000000 --- a/tests/client/indexer/stream_grpc/test_indexer_grpc_account_stream.py +++ /dev/null @@ -1,81 +0,0 @@ -import asyncio - -import grpc -import pytest - -from pyinjective.client.indexer.grpc_stream.indexer_grpc_account_stream import IndexerGrpcAccountStream -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_accounts_rpc_pb2 as exchange_accounts_pb -from tests.client.indexer.configurable_account_query_servicer import ConfigurableAccountQueryServicer - - -@pytest.fixture -def account_servicer(): - return ConfigurableAccountQueryServicer() - - -class TestIndexerGrpcAccountStream: - @pytest.mark.asyncio - async def test_fetch_portfolio( - self, - account_servicer, - ): - deposit = exchange_accounts_pb.SubaccountDeposit( - total_balance="20", - available_balance="10", - ) - balance = exchange_accounts_pb.SubaccountBalance( - subaccount_id="0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000", - account_address="inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku", - denom="inj", - deposit=deposit, - ) - account_servicer.stream_subaccount_balance_responses.append( - exchange_accounts_pb.StreamSubaccountBalanceResponse(balance=balance, timestamp=1672218001897) - ) - - api = self._api_instance(servicer=account_servicer) - - balance_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: balance_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_subaccount_balance( - subaccount_id=balance.subaccount_id, - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - denoms=["inj"], - ) - ) - expected_balance_update = { - "balance": { - "accountAddress": balance.account_address, - "denom": balance.denom, - "deposit": { - "availableBalance": balance.deposit.available_balance, - "totalBalance": balance.deposit.total_balance, - }, - "subaccountId": balance.subaccount_id, - }, - "timestamp": "1672218001897", - } - - first_balance_update = await asyncio.wait_for(balance_updates.get(), timeout=1) - - assert first_balance_update == expected_balance_update - assert end_event.is_set() - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcAccountStream(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/indexer/stream_grpc/test_indexer_grpc_auction_stream.py b/tests/client/indexer/stream_grpc/test_indexer_grpc_auction_stream.py deleted file mode 100644 index ef76134e..00000000 --- a/tests/client/indexer/stream_grpc/test_indexer_grpc_auction_stream.py +++ /dev/null @@ -1,68 +0,0 @@ -import asyncio - -import grpc -import pytest - -from pyinjective.client.indexer.grpc_stream.indexer_grpc_auction_stream import IndexerGrpcAuctionStream -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_auction_rpc_pb2 as exchange_auction_pb -from tests.client.indexer.configurable_auction_query_servicer import ConfigurableAuctionQueryServicer - - -@pytest.fixture -def auction_servicer(): - return ConfigurableAuctionQueryServicer() - - -class TestIndexerGrpcAuctionStream: - @pytest.mark.asyncio - async def test_stream_oracle_prices_by_markets( - self, - auction_servicer, - ): - bidder = "inj1pdxq82m20fzkjn2th2mm5jp7t5ex6j6klf9cs5" - amount = "1000000000000000000" - round = 1 - timestamp = 1675426622603 - - auction_servicer.stream_bids_responses.append( - exchange_auction_pb.StreamBidsResponse(bidder=bidder, bid_amount=amount, round=round, timestamp=timestamp) - ) - - api = self._api_instance(servicer=auction_servicer) - - bid_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: bid_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_bids( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - ) - ) - expected_update = { - "bidAmount": amount, - "bidder": bidder, - "round": str(round), - "timestamp": str(timestamp), - } - - first_update = await asyncio.wait_for(bid_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcAuctionStream(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/indexer/stream_grpc/test_indexer_grpc_derivative_stream.py b/tests/client/indexer/stream_grpc/test_indexer_grpc_derivative_stream.py deleted file mode 100644 index 55c491cd..00000000 --- a/tests/client/indexer/stream_grpc/test_indexer_grpc_derivative_stream.py +++ /dev/null @@ -1,789 +0,0 @@ -import asyncio - -import grpc -import pytest - -from pyinjective.client.indexer.grpc_stream.indexer_grpc_derivative_stream import IndexerGrpcDerivativeStream -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_derivative_exchange_rpc_pb2 as exchange_derivative_pb -from tests.client.indexer.configurable_derivative_query_servicer import ConfigurableDerivativeQueryServicer - - -@pytest.fixture -def derivative_servicer(): - return ConfigurableDerivativeQueryServicer() - - -class TestIndexerGrpcDerivativeStream: - @pytest.mark.asyncio - async def test_stream_market( - self, - derivative_servicer, - ): - operation_type = "update" - timestamp = 1672218001897 - - quote_token_meta = exchange_derivative_pb.TokenMeta( - name="Testnet Tether USDT", - address="0x0000000000000000000000000000000000000000", - symbol="USDT", - logo="https://static.alchemyapi.io/images/assets/825.png", - decimals=6, - updated_at=1683119359320, - ) - perpetual_market_info = exchange_derivative_pb.PerpetualMarketInfo( - hourly_funding_rate_cap="0.000625", - hourly_interest_rate="0.00000416666", - next_funding_timestamp=1700064000, - funding_interval=3600, - ) - perpetual_market_funding = exchange_derivative_pb.PerpetualMarketFunding( - cumulative_funding="-82680.076492986572881307", - cumulative_price="-78.41752505919454668", - last_timestamp=1700004260, - ) - - market = exchange_derivative_pb.DerivativeMarketInfo( - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - market_status="active", - ticker="INJ/USDT PERP", - oracle_base="0x2d9315a88f3019f8efa88dfe9c0f0843712da0bac814461e27733f6b83eb51b3", - oracle_quote="0x1fc18861232290221461220bd4e2acd1dcdfbc89c84092c93c18bdc7756c1588", - oracle_type="pyth", - oracle_scale_factor=6, - initial_margin_ratio="0.05", - maintenance_margin_ratio="0.02", - quote_denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - quote_token_meta=quote_token_meta, - maker_fee_rate="-0.0001", - taker_fee_rate="0.001", - service_provider_fee="0.4", - is_perpetual=True, - min_price_tick_size="100", - min_quantity_tick_size="0.0001", - perpetual_market_info=perpetual_market_info, - perpetual_market_funding=perpetual_market_funding, - min_notional="1000000", - ) - - derivative_servicer.stream_market_responses.append( - exchange_derivative_pb.StreamMarketResponse( - market=market, - operation_type=operation_type, - timestamp=timestamp, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - market_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: market_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_market( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - market_ids=[market.market_id], - ) - ) - expected_update = { - "market": { - "marketId": market.market_id, - "marketStatus": market.market_status, - "ticker": market.ticker, - "oracleBase": market.oracle_base, - "oracleQuote": market.oracle_quote, - "oracleType": market.oracle_type, - "oracleScaleFactor": market.oracle_scale_factor, - "initialMarginRatio": market.initial_margin_ratio, - "maintenanceMarginRatio": market.maintenance_margin_ratio, - "quoteDenom": market.quote_denom, - "quoteTokenMeta": { - "name": market.quote_token_meta.name, - "address": market.quote_token_meta.address, - "symbol": market.quote_token_meta.symbol, - "logo": market.quote_token_meta.logo, - "decimals": market.quote_token_meta.decimals, - "updatedAt": str(market.quote_token_meta.updated_at), - }, - "makerFeeRate": market.maker_fee_rate, - "takerFeeRate": market.taker_fee_rate, - "serviceProviderFee": market.service_provider_fee, - "isPerpetual": market.is_perpetual, - "minPriceTickSize": market.min_price_tick_size, - "minQuantityTickSize": market.min_quantity_tick_size, - "minNotional": market.min_notional, - "perpetualMarketInfo": { - "hourlyFundingRateCap": perpetual_market_info.hourly_funding_rate_cap, - "hourlyInterestRate": str(perpetual_market_info.hourly_interest_rate), - "nextFundingTimestamp": str(perpetual_market_info.next_funding_timestamp), - "fundingInterval": str(perpetual_market_info.funding_interval), - }, - "perpetualMarketFunding": { - "cumulativeFunding": perpetual_market_funding.cumulative_funding, - "cumulativePrice": perpetual_market_funding.cumulative_price, - "lastTimestamp": str(perpetual_market_funding.last_timestamp), - }, - }, - "operationType": operation_type, - "timestamp": str(timestamp), - } - - first_update = await asyncio.wait_for(market_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - @pytest.mark.asyncio - async def test_stream_orderbook_v2( - self, - derivative_servicer, - ): - operation_type = "update" - timestamp = 1672218001897 - market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" - - buy = exchange_derivative_pb.PriceLevel( - price="0.000000000014198", - quantity="142000000000000000000", - timestamp=1698982052141, - ) - sell = exchange_derivative_pb.PriceLevel( - price="0.00000000095699", - quantity="189000000000000000", - timestamp=1698920369246, - ) - - orderbook = exchange_derivative_pb.DerivativeLimitOrderbookV2( - buys=[buy], - sells=[sell], - sequence=5506752, - timestamp=1698982083606, - ) - - derivative_servicer.stream_orderbook_v2_responses.append( - exchange_derivative_pb.StreamOrderbookV2Response( - orderbook=orderbook, - operation_type=operation_type, - timestamp=timestamp, - market_id=market_id, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - orderbook_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: orderbook_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_orderbook_v2( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - market_ids=[market_id], - ) - ) - expected_update = { - "orderbook": { - "buys": [ - { - "price": buy.price, - "quantity": buy.quantity, - "timestamp": str(buy.timestamp), - } - ], - "sells": [ - { - "price": sell.price, - "quantity": sell.quantity, - "timestamp": str(sell.timestamp), - } - ], - "sequence": str(orderbook.sequence), - "timestamp": str(orderbook.timestamp), - }, - "operationType": operation_type, - "timestamp": str(timestamp), - "marketId": market_id, - } - - first_update = await asyncio.wait_for(orderbook_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - @pytest.mark.asyncio - async def test_stream_orderbook_update( - self, - derivative_servicer, - ): - operation_type = "update" - timestamp = 1672218001897 - - buy = exchange_derivative_pb.PriceLevelUpdate( - price="0.000000000014198", - quantity="142000000000000000000", - is_active=True, - timestamp=1698982052141, - ) - sell = exchange_derivative_pb.PriceLevelUpdate( - price="0.00000000095699", - quantity="189000000000000000", - is_active=True, - timestamp=1698920369246, - ) - - level_updates = exchange_derivative_pb.OrderbookLevelUpdates( - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - sequence=5506752, - buys=[buy], - sells=[sell], - updated_at=1698982083606, - ) - - derivative_servicer.stream_orderbook_update_responses.append( - exchange_derivative_pb.StreamOrderbookUpdateResponse( - orderbook_level_updates=level_updates, - operation_type=operation_type, - timestamp=timestamp, - market_id=level_updates.market_id, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - orderbook_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: orderbook_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_orderbook_update( - market_ids=[level_updates.market_id], - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - ) - ) - expected_update = { - "orderbookLevelUpdates": { - "marketId": level_updates.market_id, - "sequence": str(level_updates.sequence), - "buys": [ - { - "price": buy.price, - "quantity": buy.quantity, - "isActive": buy.is_active, - "timestamp": str(buy.timestamp), - } - ], - "sells": [ - { - "price": sell.price, - "quantity": sell.quantity, - "isActive": sell.is_active, - "timestamp": str(sell.timestamp), - } - ], - "updatedAt": str(level_updates.updated_at), - }, - "operationType": operation_type, - "timestamp": str(timestamp), - "marketId": level_updates.market_id, - } - - first_update = await asyncio.wait_for(orderbook_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - @pytest.mark.asyncio - async def test_stream_positions( - self, - derivative_servicer, - ): - timestamp = 1672218001897 - - position = exchange_derivative_pb.DerivativePosition( - ticker="INJ/USDT PERP", - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - subaccount_id="0x1383dabde57e5aed55960ee43e158ae7118057d3000000000000000000000000", - direction="short", - quantity="0.070294765766186502", - entry_price="15980281.340438795311756847", - margin="561065.540974", - liquidation_price="23492052.224777", - mark_price="16197000", - aggregate_reduce_only_quantity="0", - updated_at=1700161202147, - created_at=-62135596800000, - ) - - derivative_servicer.stream_positions_responses.append( - exchange_derivative_pb.StreamPositionsResponse( - position=position, - timestamp=timestamp, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - positions = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: positions.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_positions( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - market_ids=[position.market_id], - subaccount_ids=[position.subaccount_id], - ) - ) - expected_update = { - "position": { - "ticker": position.ticker, - "marketId": position.market_id, - "subaccountId": position.subaccount_id, - "direction": position.direction, - "quantity": position.quantity, - "entryPrice": position.entry_price, - "margin": position.margin, - "liquidationPrice": position.liquidation_price, - "markPrice": position.mark_price, - "aggregateReduceOnlyQuantity": position.aggregate_reduce_only_quantity, - "createdAt": str(position.created_at), - "updatedAt": str(position.updated_at), - }, - "timestamp": str(timestamp), - } - - first_update = await asyncio.wait_for(positions.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - @pytest.mark.asyncio - async def test_stream_orders( - self, - derivative_servicer, - ): - operation_type = "update" - timestamp = 1672218001897 - - order = exchange_derivative_pb.DerivativeLimitOrder( - order_hash="0x14e43adbb3302db28bcd0619068227ebca880cdd66cdfc8b4a662bcac0777849", - order_side="buy", - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - subaccount_id="0x5e249f0e8cb406f41de16e1bd6f6b55e7bc75add000000000000000000000004", - is_reduce_only=False, - margin="2280000000", - price="0.000000000017541", - quantity="50955000000000000000", - unfilled_quantity="50955000000000000000", - trigger_price="0", - fee_recipient="inj1tcjf7r5vksr0g80pdcdada44teauwkkahelyfy", - state="booked", - created_at=1699644939364, - updated_at=1699644939364, - order_number=0, - order_type="", - is_conditional=False, - trigger_at=0, - placed_order_hash="", - execution_type="", - tx_hash="0x0000000000000000000000000000000000000000000000000000000000000000", - cid="cid1", - ) - - derivative_servicer.stream_orders_responses.append( - exchange_derivative_pb.StreamOrdersResponse( - order=order, - operation_type=operation_type, - timestamp=timestamp, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - orders_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: orders_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_orders( - market_ids=[order.market_id], - order_side=order.order_side, - subaccount_id=order.subaccount_id, - is_conditional="true", - order_type="", - include_inactive=True, - subaccount_total_orders=True, - trade_id="7959737_3_0", - cid=order.cid, - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - ) - ) - expected_update = { - "order": { - "orderHash": order.order_hash, - "orderSide": order.order_side, - "marketId": order.market_id, - "subaccountId": order.subaccount_id, - "isReduceOnly": order.is_reduce_only, - "margin": order.margin, - "price": order.price, - "quantity": order.quantity, - "unfilledQuantity": order.unfilled_quantity, - "triggerPrice": order.trigger_price, - "feeRecipient": order.fee_recipient, - "state": order.state, - "createdAt": str(order.created_at), - "updatedAt": str(order.updated_at), - "orderNumber": str(order.order_number), - "orderType": order.order_type, - "isConditional": order.is_conditional, - "triggerAt": str(order.trigger_at), - "placedOrderHash": order.placed_order_hash, - "executionType": order.execution_type, - "txHash": order.tx_hash, - "cid": order.cid, - }, - "operationType": operation_type, - "timestamp": str(timestamp), - } - - first_update = await asyncio.wait_for(orders_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - @pytest.mark.asyncio - async def test_stream_trades( - self, - derivative_servicer, - ): - operation_type = "update" - timestamp = 1672218001897 - - position_delta = exchange_derivative_pb.PositionDelta( - trade_direction="buy", - execution_price="13945600", - execution_quantity="5", - execution_margin="69728000", - ) - - trade = exchange_derivative_pb.DerivativeTrade( - order_hash="0xe549e4750287c93fcc8dec24f319c15025e07e89a8d0937be2b3865ed79d9da7", - subaccount_id="0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000001", - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - trade_execution_type="limitMatchNewOrder", - is_liquidation=False, - position_delta=position_delta, - payout="0", - fee="36.144", - executed_at=1677563766350, - fee_recipient="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - trade_id="8662464_1_0", - execution_side="taker", - cid="cid1", - ) - - derivative_servicer.stream_trades_responses.append( - exchange_derivative_pb.StreamTradesResponse( - trade=trade, - operation_type=operation_type, - timestamp=timestamp, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - trade_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: trade_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_trades( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - market_ids=[trade.market_id], - subaccount_ids=[trade.subaccount_id], - execution_side=trade.execution_side, - direction=position_delta.trade_direction, - execution_types=[trade.trade_execution_type], - trade_id="7959737_3_0", - account_address="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - cid=trade.cid, - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - ) - expected_update = { - "trade": { - "orderHash": trade.order_hash, - "subaccountId": trade.subaccount_id, - "marketId": trade.market_id, - "tradeExecutionType": trade.trade_execution_type, - "isLiquidation": trade.is_liquidation, - "positionDelta": { - "tradeDirection": position_delta.trade_direction, - "executionPrice": position_delta.execution_price, - "executionQuantity": position_delta.execution_quantity, - "executionMargin": position_delta.execution_margin, - }, - "payout": trade.payout, - "fee": trade.fee, - "executedAt": str(trade.executed_at), - "feeRecipient": trade.fee_recipient, - "tradeId": trade.trade_id, - "executionSide": trade.execution_side, - "cid": trade.cid, - }, - "operationType": operation_type, - "timestamp": str(timestamp), - } - - first_update = await asyncio.wait_for(trade_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - @pytest.mark.asyncio - async def test_stream_orders_history( - self, - derivative_servicer, - ): - operation_type = "update" - timestamp = 1672218001897 - - order = exchange_derivative_pb.DerivativeOrderHistory( - order_hash="0x14e43adbb3302db28bcd0619068227ebca880cdd66cdfc8b4a662bcac0777849", - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - is_active=True, - subaccount_id="0x5e249f0e8cb406f41de16e1bd6f6b55e7bc75add000000000000000000000004", - execution_type="limit", - order_type="buy_po", - price="0.000000000017541", - trigger_price="0", - quantity="50955000000000000000", - filled_quantity="1000000000000000", - state="booked", - created_at=1699644939364, - updated_at=1699644939364, - is_reduce_only=False, - direction="buy", - is_conditional=False, - trigger_at=0, - placed_order_hash="", - margin="2280000000", - tx_hash="0x0000000000000000000000000000000000000000000000000000000000000000", - cid="cid1", - ) - - derivative_servicer.stream_orders_history_responses.append( - exchange_derivative_pb.StreamOrdersHistoryResponse( - order=order, - operation_type=operation_type, - timestamp=timestamp, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - orders_history_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: orders_history_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_orders_history( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - subaccount_id=order.subaccount_id, - market_id=order.market_id, - order_types=[order.order_type], - direction=order.direction, - state=order.state, - execution_types=[order.execution_type], - ) - ) - expected_update = { - "order": { - "orderHash": order.order_hash, - "marketId": order.market_id, - "isActive": order.is_active, - "subaccountId": order.subaccount_id, - "executionType": order.execution_type, - "orderType": order.order_type, - "price": order.price, - "triggerPrice": order.trigger_price, - "quantity": order.quantity, - "filledQuantity": order.filled_quantity, - "state": order.state, - "createdAt": str(order.created_at), - "updatedAt": str(order.updated_at), - "isReduceOnly": order.is_reduce_only, - "direction": order.direction, - "isConditional": order.is_conditional, - "triggerAt": str(order.trigger_at), - "placedOrderHash": order.placed_order_hash, - "margin": order.margin, - "txHash": order.tx_hash, - "cid": order.cid, - }, - "operationType": operation_type, - "timestamp": str(timestamp), - } - - first_update = await asyncio.wait_for(orders_history_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - @pytest.mark.asyncio - async def test_stream_trades_v2( - self, - derivative_servicer, - ): - operation_type = "update" - timestamp = 1672218001897 - - position_delta = exchange_derivative_pb.PositionDelta( - trade_direction="buy", - execution_price="13945600", - execution_quantity="5", - execution_margin="69728000", - ) - - trade = exchange_derivative_pb.DerivativeTrade( - order_hash="0xe549e4750287c93fcc8dec24f319c15025e07e89a8d0937be2b3865ed79d9da7", - subaccount_id="0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000001", - market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", - trade_execution_type="limitMatchNewOrder", - is_liquidation=False, - position_delta=position_delta, - payout="0", - fee="36.144", - executed_at=1677563766350, - fee_recipient="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - trade_id="8662464_1_0", - execution_side="taker", - cid="cid1", - ) - - derivative_servicer.stream_trades_v2_responses.append( - exchange_derivative_pb.StreamTradesV2Response( - trade=trade, - operation_type=operation_type, - timestamp=timestamp, - ) - ) - - api = self._api_instance(servicer=derivative_servicer) - - trade_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: trade_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_trades_v2( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - market_ids=[trade.market_id], - subaccount_ids=[trade.subaccount_id], - execution_side=trade.execution_side, - direction=position_delta.trade_direction, - execution_types=[trade.trade_execution_type], - trade_id="7959737_3_0", - account_address="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - cid=trade.cid, - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - ) - expected_update = { - "trade": { - "orderHash": trade.order_hash, - "subaccountId": trade.subaccount_id, - "marketId": trade.market_id, - "tradeExecutionType": trade.trade_execution_type, - "isLiquidation": trade.is_liquidation, - "positionDelta": { - "tradeDirection": position_delta.trade_direction, - "executionPrice": position_delta.execution_price, - "executionQuantity": position_delta.execution_quantity, - "executionMargin": position_delta.execution_margin, - }, - "payout": trade.payout, - "fee": trade.fee, - "executedAt": str(trade.executed_at), - "feeRecipient": trade.fee_recipient, - "tradeId": trade.trade_id, - "executionSide": trade.execution_side, - "cid": trade.cid, - }, - "operationType": operation_type, - "timestamp": str(timestamp), - } - - first_update = await asyncio.wait_for(trade_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcDerivativeStream(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/indexer/stream_grpc/test_indexer_grpc_explorer_stream.py b/tests/client/indexer/stream_grpc/test_indexer_grpc_explorer_stream.py deleted file mode 100644 index b960076a..00000000 --- a/tests/client/indexer/stream_grpc/test_indexer_grpc_explorer_stream.py +++ /dev/null @@ -1,137 +0,0 @@ -import asyncio - -import grpc -import pytest - -from pyinjective.client.indexer.grpc_stream.indexer_grpc_explorer_stream import IndexerGrpcExplorerStream -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_explorer_rpc_pb2 as exchange_explorer_pb -from tests.client.indexer.configurable_explorer_query_servicer import ConfigurableExplorerQueryServicer - - -@pytest.fixture -def explorer_servicer(): - return ConfigurableExplorerQueryServicer() - - -class TestIndexerGrpcAuctionStream: - @pytest.mark.asyncio - async def test_stream_txs( - self, - explorer_servicer, - ): - code = 5 - claim_id = 100 - tx_data = exchange_explorer_pb.StreamTxsResponse( - id="test id", - block_number=18138926, - block_timestamp="2023-11-07 23:19:55.371 +0000 UTC", - hash="0x3790ade2bea6c8605851ec89fa968adf2a2037a5ecac11ca95e99260508a3b7e", - codespace="test codespace", - messages='[{"type":"/cosmos.bank.v1beta1.MsgSend",' - '"value":{"from_address":"inj1phd706jqzd9wznkk5hgsfkrc8jqxv0kmlj0kex",' - '"to_address":"inj1d6qx83nhx3a3gx7e654x4su8hur5s83u84h2xc",' - '"amount":[{"denom":"factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/weth",' - '"amount":"100000000000000000"}]}}]', - tx_number=221429, - error_log="", - code=code, - claim_ids=[claim_id], - ) - - explorer_servicer.stream_txs_responses.append(tx_data) - - api = self._api_instance(servicer=explorer_servicer) - - txs_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: txs_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_txs( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - ) - ) - expected_update = { - "id": tx_data.id, - "blockNumber": str(tx_data.block_number), - "blockTimestamp": tx_data.block_timestamp, - "hash": tx_data.hash, - "codespace": tx_data.codespace, - "messages": tx_data.messages, - "txNumber": str(tx_data.tx_number), - "errorLog": tx_data.error_log, - "code": tx_data.code, - "claimIds": [str(claim_id)], - } - - first_update = await asyncio.wait_for(txs_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - @pytest.mark.asyncio - async def test_stream_blocks( - self, - explorer_servicer, - ): - block_info = exchange_explorer_pb.StreamBlocksResponse( - height=19034578, - proposer="injvalcons18x63wcw5hjxlf535lgn4qy20yer7mm0qedu0la", - moniker="InjectiveNode1", - block_hash="0x7f7bfe8caaa0eed042315d1447ef1ed726a80f5da23fdbe6831fc66775197db1", - parent_hash="0x44287ba5fad21d0109a3ec6f19d447580763e5a709e5a5ceb767174e99ae3bd8", - num_pre_commits=20, - num_txs=4, - timestamp="2023-11-29 20:23:33.842 +0000 UTC", - ) - - explorer_servicer.stream_blocks_responses.append(block_info) - - api = self._api_instance(servicer=explorer_servicer) - - blocks_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: blocks_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_blocks( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - ) - ) - expected_update = { - "height": str(block_info.height), - "proposer": block_info.proposer, - "moniker": block_info.moniker, - "blockHash": block_info.block_hash, - "parentHash": block_info.parent_hash, - "numPreCommits": str(block_info.num_pre_commits), - "numTxs": str(block_info.num_txs), - "txs": [], - "timestamp": block_info.timestamp, - } - - first_update = await asyncio.wait_for(blocks_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcExplorerStream(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/indexer/stream_grpc/test_indexer_grpc_meta_stream.py b/tests/client/indexer/stream_grpc/test_indexer_grpc_meta_stream.py deleted file mode 100644 index 0e476e76..00000000 --- a/tests/client/indexer/stream_grpc/test_indexer_grpc_meta_stream.py +++ /dev/null @@ -1,66 +0,0 @@ -import asyncio - -import grpc -import pytest - -from pyinjective.client.indexer.grpc_stream.indexer_grpc_meta_stream import IndexerGrpcMetaStream -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_meta_rpc_pb2 as exchange_meta_pb -from tests.client.indexer.configurable_meta_query_servicer import ConfigurableMetaQueryServicer - - -@pytest.fixture -def meta_servicer(): - return ConfigurableMetaQueryServicer() - - -class TestIndexerGrpcMetaStream: - @pytest.mark.asyncio - async def test_fetch_portfolio( - self, - meta_servicer, - ): - event = "test event" - new_endpoint = "new test endpoint" - timestamp = 1672218001897 - - meta_servicer.stream_keepalive_responses.append( - exchange_meta_pb.StreamKeepaliveResponse( - event=event, - new_endpoint=new_endpoint, - timestamp=timestamp, - ) - ) - - api = self._api_instance(servicer=meta_servicer) - - keepalive_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: keepalive_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_keepalive( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - ) - ) - expected_update = {"event": event, "newEndpoint": new_endpoint, "timestamp": str(timestamp)} - - first_update = await asyncio.wait_for(keepalive_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcMetaStream(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/indexer/stream_grpc/test_indexer_grpc_oracle_stream.py b/tests/client/indexer/stream_grpc/test_indexer_grpc_oracle_stream.py deleted file mode 100644 index 2e60d84a..00000000 --- a/tests/client/indexer/stream_grpc/test_indexer_grpc_oracle_stream.py +++ /dev/null @@ -1,108 +0,0 @@ -import asyncio - -import grpc -import pytest - -from pyinjective.client.indexer.grpc_stream.indexer_grpc_oracle_stream import IndexerGrpcOracleStream -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_oracle_rpc_pb2 as exchange_oracle_pb -from tests.client.indexer.configurable_oracle_query_servicer import ConfigurableOracleQueryServicer - - -@pytest.fixture -def oracle_servicer(): - return ConfigurableOracleQueryServicer() - - -class TestIndexerGrpcOracleStream: - @pytest.mark.asyncio - async def test_stream_oracle_prices( - self, - oracle_servicer, - ): - price = "0.00000000000002" - timestamp = 1672218001897 - - oracle_servicer.stream_prices_responses.append( - exchange_oracle_pb.StreamPricesResponse( - price=price, - timestamp=timestamp, - ) - ) - - api = self._api_instance(servicer=oracle_servicer) - - price_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: price_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_oracle_prices( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - base_symbol="Gold", - quote_symbol="USDT", - oracle_type="pricefeed", - ) - ) - expected_update = {"price": price, "timestamp": str(timestamp)} - - first_update = await asyncio.wait_for(price_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - @pytest.mark.asyncio - async def test_stream_oracle_prices_by_markets( - self, - oracle_servicer, - ): - price = "0.00000000000002" - timestamp = 1672218001897 - market_id = "0xa43d2be9861efb0d188b136cef0ae2150f80e08ec318392df654520dd359fcd7" - - oracle_servicer.stream_prices_by_markets_responses.append( - exchange_oracle_pb.StreamPricesByMarketsResponse( - price=price, - timestamp=timestamp, - market_id=market_id, - ) - ) - - api = self._api_instance(servicer=oracle_servicer) - - price_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: price_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_oracle_prices_by_markets( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - market_ids=[market_id], - ) - ) - expected_update = {"price": price, "timestamp": str(timestamp), "marketId": market_id} - - first_update = await asyncio.wait_for(price_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcOracleStream(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/indexer/stream_grpc/test_indexer_grpc_portfolio_stream.py b/tests/client/indexer/stream_grpc/test_indexer_grpc_portfolio_stream.py deleted file mode 100644 index f992fb9b..00000000 --- a/tests/client/indexer/stream_grpc/test_indexer_grpc_portfolio_stream.py +++ /dev/null @@ -1,79 +0,0 @@ -import asyncio - -import grpc -import pytest - -from pyinjective.client.indexer.grpc_stream.indexer_grpc_portfolio_stream import IndexerGrpcPortfolioStream -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_portfolio_rpc_pb2 as exchange_portfolio_pb -from tests.client.indexer.configurable_portfolio_query_servicer import ConfigurablePortfolioQueryServicer - - -@pytest.fixture -def portfolio_servicer(): - return ConfigurablePortfolioQueryServicer() - - -class TestIndexerGrpcPortfolioStream: - @pytest.mark.asyncio - async def test_stream_account_portfolio( - self, - portfolio_servicer, - ): - update_type = "total_balance" - denom = "peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5" - amount = "1000000000000000000" - subaccount_id = "0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000000" - timestamp = 1675426622603 - - portfolio_servicer.stream_account_portfolio_responses.append( - exchange_portfolio_pb.StreamAccountPortfolioResponse( - type=update_type, - denom=denom, - amount=amount, - subaccount_id=subaccount_id, - timestamp=timestamp, - ) - ) - - api = self._api_instance(servicer=portfolio_servicer) - - portfolio_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: portfolio_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_account_portfolio( - account_address="test_address", - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - subaccount_id=subaccount_id, - update_type=update_type, - ) - ) - expected_update = { - "type": update_type, - "denom": denom, - "amount": amount, - "subaccountId": subaccount_id, - "timestamp": str(timestamp), - } - - first_update = await asyncio.wait_for(portfolio_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcPortfolioStream(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/indexer/stream_grpc/test_indexer_grpc_spot_stream.py b/tests/client/indexer/stream_grpc/test_indexer_grpc_spot_stream.py deleted file mode 100644 index 96b31d49..00000000 --- a/tests/client/indexer/stream_grpc/test_indexer_grpc_spot_stream.py +++ /dev/null @@ -1,664 +0,0 @@ -import asyncio - -import grpc -import pytest - -from pyinjective.client.indexer.grpc_stream.indexer_grpc_spot_stream import IndexerGrpcSpotStream -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.proto.exchange import injective_spot_exchange_rpc_pb2 as exchange_spot_pb -from tests.client.indexer.configurable_spot_query_servicer import ConfigurableSpotQueryServicer - - -@pytest.fixture -def spot_servicer(): - return ConfigurableSpotQueryServicer() - - -class TestIndexerGrpcSpotStream: - @pytest.mark.asyncio - async def test_stream_markets( - self, - spot_servicer, - ): - operation_type = "update" - timestamp = 1672218001897 - - base_token_meta = exchange_spot_pb.TokenMeta( - name="Injective Protocol", - address="0xe28b3B32B6c345A34Ff64674606124Dd5Aceca30", - symbol="INJ", - logo="https://static.alchemyapi.io/images/assets/7226.png", - decimals=18, - updated_at=1683119359318, - ) - quote_token_meta = exchange_spot_pb.TokenMeta( - name="Testnet Tether USDT", - address="0x0000000000000000000000000000000000000000", - symbol="USDT", - logo="https://static.alchemyapi.io/images/assets/825.png", - decimals=6, - updated_at=1683119359320, - ) - - market = exchange_spot_pb.SpotMarketInfo( - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - market_status="active", - ticker="INJ/USDT", - base_denom="inj", - base_token_meta=base_token_meta, - quote_denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5", - quote_token_meta=quote_token_meta, - maker_fee_rate="-0.0001", - taker_fee_rate="0.001", - service_provider_fee="0.4", - min_price_tick_size="0.000000000000001", - min_quantity_tick_size="1000000000000000", - min_notional="1000000", - ) - - spot_servicer.stream_markets_responses.append( - exchange_spot_pb.StreamMarketsResponse( - market=market, - operation_type=operation_type, - timestamp=timestamp, - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - market_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: market_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_markets( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - market_ids=[market.market_id], - ) - ) - expected_update = { - "market": { - "marketId": market.market_id, - "marketStatus": market.market_status, - "ticker": market.ticker, - "baseDenom": market.base_denom, - "baseTokenMeta": { - "name": market.base_token_meta.name, - "address": market.base_token_meta.address, - "symbol": market.base_token_meta.symbol, - "logo": market.base_token_meta.logo, - "decimals": market.base_token_meta.decimals, - "updatedAt": str(market.base_token_meta.updated_at), - }, - "quoteDenom": market.quote_denom, - "quoteTokenMeta": { - "name": market.quote_token_meta.name, - "address": market.quote_token_meta.address, - "symbol": market.quote_token_meta.symbol, - "logo": market.quote_token_meta.logo, - "decimals": market.quote_token_meta.decimals, - "updatedAt": str(market.quote_token_meta.updated_at), - }, - "takerFeeRate": market.taker_fee_rate, - "makerFeeRate": market.maker_fee_rate, - "serviceProviderFee": market.service_provider_fee, - "minPriceTickSize": market.min_price_tick_size, - "minQuantityTickSize": market.min_quantity_tick_size, - "minNotional": market.min_notional, - }, - "operationType": operation_type, - "timestamp": str(timestamp), - } - - first_update = await asyncio.wait_for(market_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - @pytest.mark.asyncio - async def test_stream_orderbook_v2( - self, - spot_servicer, - ): - operation_type = "update" - timestamp = 1672218001897 - market_id = "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe" - - buy = exchange_spot_pb.PriceLevel( - price="0.000000000014198", - quantity="142000000000000000000", - timestamp=1698982052141, - ) - sell = exchange_spot_pb.PriceLevel( - price="0.00000000095699", - quantity="189000000000000000", - timestamp=1698920369246, - ) - - orderbook = exchange_spot_pb.SpotLimitOrderbookV2( - buys=[buy], - sells=[sell], - sequence=5506752, - timestamp=1698982083606, - ) - - spot_servicer.stream_orderbook_v2_responses.append( - exchange_spot_pb.StreamOrderbookV2Response( - orderbook=orderbook, - operation_type=operation_type, - timestamp=timestamp, - market_id=market_id, - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - orderbook_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: orderbook_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_orderbook_v2( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - market_ids=[market_id], - ) - ) - expected_update = { - "orderbook": { - "buys": [ - { - "price": buy.price, - "quantity": buy.quantity, - "timestamp": str(buy.timestamp), - } - ], - "sells": [ - { - "price": sell.price, - "quantity": sell.quantity, - "timestamp": str(sell.timestamp), - } - ], - "sequence": str(orderbook.sequence), - "timestamp": str(orderbook.timestamp), - }, - "operationType": operation_type, - "timestamp": str(timestamp), - "marketId": market_id, - } - - first_update = await asyncio.wait_for(orderbook_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - @pytest.mark.asyncio - async def test_stream_orderbook_update( - self, - spot_servicer, - ): - operation_type = "update" - timestamp = 1672218001897 - - buy = exchange_spot_pb.PriceLevelUpdate( - price="0.000000000014198", - quantity="142000000000000000000", - is_active=True, - timestamp=1698982052141, - ) - sell = exchange_spot_pb.PriceLevelUpdate( - price="0.00000000095699", - quantity="189000000000000000", - is_active=True, - timestamp=1698920369246, - ) - - level_updates = exchange_spot_pb.OrderbookLevelUpdates( - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - sequence=5506752, - buys=[buy], - sells=[sell], - updated_at=1698982083606, - ) - - spot_servicer.stream_orderbook_update_responses.append( - exchange_spot_pb.StreamOrderbookUpdateResponse( - orderbook_level_updates=level_updates, - operation_type=operation_type, - timestamp=timestamp, - market_id=level_updates.market_id, - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - orderbook_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: orderbook_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_orderbook_update( - market_ids=[level_updates.market_id], - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - ) - ) - expected_update = { - "orderbookLevelUpdates": { - "marketId": level_updates.market_id, - "sequence": str(level_updates.sequence), - "buys": [ - { - "price": buy.price, - "quantity": buy.quantity, - "isActive": buy.is_active, - "timestamp": str(buy.timestamp), - } - ], - "sells": [ - { - "price": sell.price, - "quantity": sell.quantity, - "isActive": sell.is_active, - "timestamp": str(sell.timestamp), - } - ], - "updatedAt": str(level_updates.updated_at), - }, - "operationType": operation_type, - "timestamp": str(timestamp), - "marketId": level_updates.market_id, - } - - first_update = await asyncio.wait_for(orderbook_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - @pytest.mark.asyncio - async def test_stream_orders( - self, - spot_servicer, - ): - operation_type = "update" - timestamp = 1672218001897 - - order = exchange_spot_pb.SpotLimitOrder( - order_hash="0x14e43adbb3302db28bcd0619068227ebca880cdd66cdfc8b4a662bcac0777849", - order_side="buy", - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - subaccount_id="0x5e249f0e8cb406f41de16e1bd6f6b55e7bc75add000000000000000000000004", - price="0.000000000017541", - quantity="50955000000000000000", - unfilled_quantity="50955000000000000000", - trigger_price="0", - fee_recipient="inj1tcjf7r5vksr0g80pdcdada44teauwkkahelyfy", - state="booked", - created_at=1699644939364, - updated_at=1699644939364, - tx_hash="0x0000000000000000000000000000000000000000000000000000000000000000", - cid="cid1", - ) - - spot_servicer.stream_orders_responses.append( - exchange_spot_pb.StreamOrdersResponse( - order=order, - operation_type=operation_type, - timestamp=timestamp, - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - orders_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: orders_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_orders( - market_ids=[order.market_id], - order_side=order.order_side, - subaccount_id=order.subaccount_id, - include_inactive=True, - subaccount_total_orders=True, - trade_id="7959737_3_0", - cid=order.cid, - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - ) - ) - expected_update = { - "order": { - "orderHash": order.order_hash, - "orderSide": order.order_side, - "marketId": order.market_id, - "subaccountId": order.subaccount_id, - "price": order.price, - "quantity": order.quantity, - "unfilledQuantity": order.unfilled_quantity, - "triggerPrice": order.trigger_price, - "feeRecipient": order.fee_recipient, - "state": order.state, - "createdAt": str(order.created_at), - "updatedAt": str(order.updated_at), - "txHash": order.tx_hash, - "cid": order.cid, - }, - "operationType": operation_type, - "timestamp": str(timestamp), - } - - first_update = await asyncio.wait_for(orders_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - @pytest.mark.asyncio - async def test_stream_trades( - self, - spot_servicer, - ): - operation_type = "update" - timestamp = 1672218001897 - - price = exchange_spot_pb.PriceLevel( - price="0.000000000006024", - quantity="10000000000000000", - timestamp=1677563766350, - ) - - trade = exchange_spot_pb.SpotTrade( - order_hash="0xe549e4750287c93fcc8dec24f319c15025e07e89a8d0937be2b3865ed79d9da7", - subaccount_id="0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000001", - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - trade_execution_type="limitMatchNewOrder", - trade_direction="buy", - price=price, - fee="36.144", - executed_at=1677563766350, - fee_recipient="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - trade_id="8662464_1_0", - execution_side="taker", - cid="cid1", - ) - - spot_servicer.stream_trades_responses.append( - exchange_spot_pb.StreamTradesResponse( - trade=trade, - operation_type=operation_type, - timestamp=timestamp, - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - trade_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: trade_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_trades( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - market_ids=[trade.market_id], - subaccount_ids=[trade.subaccount_id], - execution_side=trade.execution_side, - direction=trade.trade_direction, - execution_types=[trade.trade_execution_type], - trade_id="7959737_3_0", - account_address="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - cid=trade.cid, - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - ) - expected_update = { - "trade": { - "orderHash": trade.order_hash, - "subaccountId": trade.subaccount_id, - "marketId": trade.market_id, - "tradeExecutionType": trade.trade_execution_type, - "tradeDirection": trade.trade_direction, - "price": { - "price": price.price, - "quantity": price.quantity, - "timestamp": str(price.timestamp), - }, - "fee": trade.fee, - "executedAt": str(trade.executed_at), - "feeRecipient": trade.fee_recipient, - "tradeId": trade.trade_id, - "executionSide": trade.execution_side, - "cid": trade.cid, - }, - "operationType": operation_type, - "timestamp": str(timestamp), - } - - first_update = await asyncio.wait_for(trade_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - @pytest.mark.asyncio - async def test_stream_orders_history( - self, - spot_servicer, - ): - operation_type = "update" - timestamp = 1672218001897 - - order = exchange_spot_pb.SpotOrderHistory( - order_hash="0x14e43adbb3302db28bcd0619068227ebca880cdd66cdfc8b4a662bcac0777849", - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - is_active=True, - subaccount_id="0x5e249f0e8cb406f41de16e1bd6f6b55e7bc75add000000000000000000000004", - execution_type="limit", - order_type="buy_po", - price="0.000000000017541", - trigger_price="0", - quantity="50955000000000000000", - filled_quantity="1000000000000000", - state="booked", - created_at=1699644939364, - updated_at=1699644939364, - direction="buy", - tx_hash="0x0000000000000000000000000000000000000000000000000000000000000000", - cid="cid1", - ) - - spot_servicer.stream_orders_history_responses.append( - exchange_spot_pb.StreamOrdersHistoryResponse( - order=order, - operation_type=operation_type, - timestamp=timestamp, - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - orders_history_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: orders_history_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_orders_history( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - subaccount_id=order.subaccount_id, - market_id=order.market_id, - order_types=[order.order_type], - direction=order.direction, - state=order.state, - execution_types=[order.execution_type], - ) - ) - expected_update = { - "order": { - "orderHash": order.order_hash, - "marketId": order.market_id, - "subaccountId": order.subaccount_id, - "executionType": order.execution_type, - "orderType": order.order_type, - "price": order.price, - "triggerPrice": order.trigger_price, - "quantity": order.quantity, - "filledQuantity": order.filled_quantity, - "state": order.state, - "createdAt": str(order.created_at), - "updatedAt": str(order.updated_at), - "direction": order.direction, - "txHash": order.tx_hash, - "isActive": order.is_active, - "cid": order.cid, - }, - "operationType": operation_type, - "timestamp": str(timestamp), - } - - first_update = await asyncio.wait_for(orders_history_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - @pytest.mark.asyncio - async def test_stream_trades_v2( - self, - spot_servicer, - ): - operation_type = "update" - timestamp = 1672218001897 - - price = exchange_spot_pb.PriceLevel( - price="0.000000000006024", - quantity="10000000000000000", - timestamp=1677563766350, - ) - - trade = exchange_spot_pb.SpotTrade( - order_hash="0xe549e4750287c93fcc8dec24f319c15025e07e89a8d0937be2b3865ed79d9da7", - subaccount_id="0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000001", - market_id="0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe", - trade_execution_type="limitMatchNewOrder", - trade_direction="buy", - price=price, - fee="36.144", - executed_at=1677563766350, - fee_recipient="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - trade_id="8662464_1_0", - execution_side="taker", - cid="cid1", - ) - - spot_servicer.stream_trades_v2_responses.append( - exchange_spot_pb.StreamTradesV2Response( - trade=trade, - operation_type=operation_type, - timestamp=timestamp, - ) - ) - - api = self._api_instance(servicer=spot_servicer) - - trade_updates = asyncio.Queue() - end_event = asyncio.Event() - - callback = lambda update: trade_updates.put_nowait(update) - error_callback = lambda exception: pytest.fail(str(exception)) - end_callback = lambda: end_event.set() - - asyncio.get_event_loop().create_task( - api.stream_trades_v2( - callback=callback, - on_end_callback=end_callback, - on_status_callback=error_callback, - market_ids=[trade.market_id], - subaccount_ids=[trade.subaccount_id], - execution_side=trade.execution_side, - direction=trade.trade_direction, - execution_types=[trade.trade_execution_type], - trade_id="7959737_3_0", - account_address="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", - cid=trade.cid, - pagination=PaginationOption( - skip=0, - limit=100, - start_time=1699544939364, - end_time=1699744939364, - ), - ) - ) - expected_update = { - "trade": { - "orderHash": trade.order_hash, - "subaccountId": trade.subaccount_id, - "marketId": trade.market_id, - "tradeExecutionType": trade.trade_execution_type, - "tradeDirection": trade.trade_direction, - "price": { - "price": price.price, - "quantity": price.quantity, - "timestamp": str(price.timestamp), - }, - "fee": trade.fee, - "executedAt": str(trade.executed_at), - "feeRecipient": trade.fee_recipient, - "tradeId": trade.trade_id, - "executionSide": trade.execution_side, - "cid": trade.cid, - }, - "operationType": operation_type, - "timestamp": str(timestamp), - } - - first_update = await asyncio.wait_for(trade_updates.get(), timeout=1) - - assert first_update == expected_update - assert end_event.is_set() - - def _api_instance(self, servicer): - network = Network.devnet() - channel = grpc.aio.insecure_channel(network.grpc_endpoint) - cookie_assistant = DisabledCookieAssistant() - - api = IndexerGrpcSpotStream(channel=channel, cookie_assistant=cookie_assistant) - api._stub = servicer - - return api diff --git a/tests/client/model/test_pagination.py b/tests/client/model/test_pagination.py index dc8c4a11..a98e53d2 100644 --- a/tests/client/model/test_pagination.py +++ b/tests/client/model/test_pagination.py @@ -1,6 +1,6 @@ import base64 -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption class TestPaginationOption: diff --git a/tests/core/ibc/channel/grpc/test_ibc_channel_grpc_api.py b/tests/core/ibc/channel/grpc/test_ibc_channel_grpc_api.py index b8223c78..88101ec5 100644 --- a/tests/core/ibc/channel/grpc/test_ibc_channel_grpc_api.py +++ b/tests/core/ibc/channel/grpc/test_ibc_channel_grpc_api.py @@ -4,8 +4,8 @@ import pytest from google.protobuf import any_pb2 -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.ibc.channel.grpc.ibc_channel_grpc_api import IBCChannelGrpcApi +from pyinjective.client.model import PaginationOption +from pyinjective.core.ibc.channel.grpc import IBCChannelGrpcApi from pyinjective.core.network import DisabledCookieAssistant, Network from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb from pyinjective.proto.cosmos.ics23.v1 import proofs_pb2 as ics23_proofs diff --git a/tests/core/ibc/client/grpc/test_ibc_client_grpc_api.py b/tests/core/ibc/client/grpc/test_ibc_client_grpc_api.py index c45e85dd..9a6c8bd4 100644 --- a/tests/core/ibc/client/grpc/test_ibc_client_grpc_api.py +++ b/tests/core/ibc/client/grpc/test_ibc_client_grpc_api.py @@ -4,8 +4,8 @@ import pytest from google.protobuf import any_pb2 -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.ibc.client.grpc.ibc_client_grpc_api import IBCClientGrpcApi +from pyinjective.client.model import PaginationOption +from pyinjective.core.ibc.client.grpc import IBCClientGrpcApi from pyinjective.core.network import DisabledCookieAssistant, Network from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb from pyinjective.proto.cosmos.ics23.v1 import proofs_pb2 as ics23_proofs diff --git a/tests/core/ibc/connection/grpc/test_ibc_connection_grpc_api.py b/tests/core/ibc/connection/grpc/test_ibc_connection_grpc_api.py index 03835830..302d426c 100644 --- a/tests/core/ibc/connection/grpc/test_ibc_connection_grpc_api.py +++ b/tests/core/ibc/connection/grpc/test_ibc_connection_grpc_api.py @@ -4,8 +4,8 @@ import pytest from google.protobuf import any_pb2 -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.ibc.connection.grpc.ibc_connection_grpc_api import IBCConnectionGrpcApi +from pyinjective.client.model import PaginationOption +from pyinjective.core.ibc.connection.grpc import IBCConnectionGrpcApi from pyinjective.core.network import DisabledCookieAssistant, Network from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb from pyinjective.proto.cosmos.ics23.v1 import proofs_pb2 as ics23_proofs diff --git a/tests/core/ibc/transfer/grpc/test_ibc_transfer_grpc_api.py b/tests/core/ibc/transfer/grpc/test_ibc_transfer_grpc_api.py index 98b68488..79bf2b56 100644 --- a/tests/core/ibc/transfer/grpc/test_ibc_transfer_grpc_api.py +++ b/tests/core/ibc/transfer/grpc/test_ibc_transfer_grpc_api.py @@ -3,8 +3,8 @@ import grpc import pytest -from pyinjective.client.model.pagination import PaginationOption -from pyinjective.core.ibc.transfer.grpc.ibc_transfer_grpc_api import IBCTransferGrpcApi +from pyinjective.client.model import PaginationOption +from pyinjective.core.ibc.transfer.grpc import IBCTransferGrpcApi from pyinjective.core.network import DisabledCookieAssistant, Network from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb diff --git a/tests/core/tendermint/grpc/test_tendermint_grpc_api.py b/tests/core/tendermint/grpc/test_tendermint_grpc_api.py index cf61f18b..5cd550ad 100644 --- a/tests/core/tendermint/grpc/test_tendermint_grpc_api.py +++ b/tests/core/tendermint/grpc/test_tendermint_grpc_api.py @@ -3,9 +3,9 @@ import grpc import pytest -from pyinjective.client.model.pagination import PaginationOption +from pyinjective.client.model import PaginationOption from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.core.tendermint.grpc.tendermint_grpc_api import TendermintGrpcApi +from pyinjective.core.tendermint.grpc import TendermintGrpcApi from pyinjective.proto.cosmos.base.query.v1beta1 import pagination_pb2 as pagination_pb from pyinjective.proto.cosmos.base.tendermint.v1beta1 import query_pb2 as tendermint_query from pyinjective.proto.tendermint.p2p import types_pb2 as tendermint_p2p_types diff --git a/tests/core/tx/grpc/test_tx_grpc_api.py b/tests/core/tx/grpc/test_tx_grpc_api.py index b98dfbdb..47d489c6 100644 --- a/tests/core/tx/grpc/test_tx_grpc_api.py +++ b/tests/core/tx/grpc/test_tx_grpc_api.py @@ -5,7 +5,7 @@ from google.protobuf import any_pb2 from pyinjective.core.network import DisabledCookieAssistant, Network -from pyinjective.core.tx.grpc.tx_grpc_api import TxGrpcApi +from pyinjective.core.tx.grpc import TxGrpcApi from pyinjective.proto.cosmos.base.abci.v1beta1 import abci_pb2 as abci_type from pyinjective.proto.cosmos.base.v1beta1 import coin_pb2 as coin_pb from pyinjective.proto.cosmos.tx.v1beta1 import service_pb2 as tx_service, tx_pb2 diff --git a/tests/rpc_fixtures/markets_fixtures.py b/tests/rpc_fixtures/markets_fixtures.py index 9aecaf56..5c47840a 100644 --- a/tests/rpc_fixtures/markets_fixtures.py +++ b/tests/rpc_fixtures/markets_fixtures.py @@ -26,87 +26,6 @@ def smart_denom_metadata(): return metadata - -@pytest.fixture -def inj_token_meta(): - from pyinjective.proto.exchange import injective_spot_exchange_rpc_pb2 as spot_exchange_pb - - token = spot_exchange_pb.TokenMeta( - name="Injective Protocol", - address="0xe28b3B32B6c345A34Ff64674606124Dd5Aceca30", - symbol="INJ", - logo="https://static.alchemyapi.io/images/assets/7226.png", - decimals=18, - updated_at=1681739137644, - ) - - return token - - -@pytest.fixture -def ape_token_meta(): - from pyinjective.proto.exchange import injective_spot_exchange_rpc_pb2 as spot_exchange_pb - - token = spot_exchange_pb.TokenMeta( - name="APE", - address="0x0000000000000000000000000000000000000000", - symbol="APE", - logo="https://assets.coingecko.com/coins/images/24383/small/apecoin.jpg?1647476455", - decimals=18, - updated_at=1681739137646, - ) - - return token - - -@pytest.fixture -def usdt_token_meta(): - from pyinjective.proto.exchange import injective_spot_exchange_rpc_pb2 as spot_exchange_pb - - token = spot_exchange_pb.TokenMeta( - name="USDT", - address="0x0000000000000000000000000000000000000000", - symbol="USDT", - logo="https://static.alchemyapi.io/images/assets/825.png", - decimals=6, - updated_at=1681739137645, - ) - - return token - - -@pytest.fixture -def usdt_token_meta_second_denom(): - from pyinjective.proto.exchange import injective_spot_exchange_rpc_pb2 as spot_exchange_pb - - token = spot_exchange_pb.TokenMeta( - name="USDT Second Denom", - address="0x0000000000000000000000000000000000000000", - symbol="USDT", - logo="https://static.alchemyapi.io/images/assets/826.png", - decimals=6, - updated_at=1691739137645, - ) - - return token - - -@pytest.fixture -def usdt_perp_token_meta(): - from pyinjective.proto.exchange import injective_derivative_exchange_rpc_pb2 as derivative_exchange_pb - - token = derivative_exchange_pb.TokenMeta( - name="Tether", - address="0xdAC17F958D2ee523a2206206994597C13D831ec7", - symbol="USDTPerp", - logo="https://static.alchemyapi.io/images/assets/825.png", - decimals=6, - updated_at=1683929869866, - ) - - return token - - @pytest.fixture def ape_usdt_spot_market_meta(): from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as exchange_pb diff --git a/tests/test_async_client.py b/tests/test_async_client.py index 92a4c98f..479d27c5 100644 --- a/tests/test_async_client.py +++ b/tests/test_async_client.py @@ -9,18 +9,6 @@ from pyinjective.proto.injective.exchange.v1beta1 import query_pb2 as exchange_query_pb from tests.client.chain.grpc.configurable_bank_query_servicer import ConfigurableBankQueryServicer from tests.client.chain.grpc.configurable_exchange_query_servicer import ConfigurableExchangeQueryServicer -from tests.rpc_fixtures.markets_fixtures import ( # noqa: F401 - ape_token_meta, - ape_usdt_spot_market_meta, - btc_usdt_perp_market_meta, - first_match_bet_market_meta, - inj_token_meta, - inj_usdt_spot_market_meta, - smart_denom_metadata, - usdt_perp_token_meta, - usdt_token_meta, - usdt_token_meta_second_denom, -) @pytest.fixture diff --git a/tests/test_async_client_deprecation_warnings.py b/tests/test_async_client_deprecation_warnings.py deleted file mode 100644 index 3d8954ca..00000000 --- a/tests/test_async_client_deprecation_warnings.py +++ /dev/null @@ -1,1724 +0,0 @@ -from warnings import catch_warnings - -import grpc -import pytest - -from pyinjective.async_client import AsyncClient -from pyinjective.core.network import Network -from pyinjective.proto.cosmos.authz.v1beta1 import query_pb2 as authz_query -from pyinjective.proto.cosmos.bank.v1beta1 import query_pb2 as bank_query_pb -from pyinjective.proto.cosmos.base.tendermint.v1beta1 import query_pb2 as tendermint_query -from pyinjective.proto.cosmos.tx.v1beta1 import service_pb2 as tx_service -from pyinjective.proto.exchange import ( - injective_accounts_rpc_pb2 as exchange_accounts_pb, - injective_auction_rpc_pb2 as exchange_auction_pb, - injective_derivative_exchange_rpc_pb2 as exchange_derivative_pb, - injective_explorer_rpc_pb2 as exchange_explorer_pb, - injective_insurance_rpc_pb2 as exchange_insurance_pb, - injective_meta_rpc_pb2 as exchange_meta_pb, - injective_oracle_rpc_pb2 as exchange_oracle_pb, - injective_portfolio_rpc_pb2 as exchange_portfolio_pb, - injective_spot_exchange_rpc_pb2 as exchange_spot_pb, -) -from pyinjective.proto.injective.stream.v1beta1 import query_pb2 as chain_stream_pb -from pyinjective.proto.injective.types.v1beta1 import account_pb2 as account_pb -from tests.client.chain.grpc.configurable_auth_query_servicer import ConfigurableAuthQueryServicer -from tests.client.chain.grpc.configurable_authz_query_servicer import ConfigurableAuthZQueryServicer -from tests.client.chain.grpc.configurable_bank_query_servicer import ConfigurableBankQueryServicer -from tests.client.chain.stream_grpc.configurable_chain_stream_query_servicer import ConfigurableChainStreamQueryServicer -from tests.client.indexer.configurable_account_query_servicer import ConfigurableAccountQueryServicer -from tests.client.indexer.configurable_auction_query_servicer import ConfigurableAuctionQueryServicer -from tests.client.indexer.configurable_derivative_query_servicer import ConfigurableDerivativeQueryServicer -from tests.client.indexer.configurable_explorer_query_servicer import ConfigurableExplorerQueryServicer -from tests.client.indexer.configurable_insurance_query_servicer import ConfigurableInsuranceQueryServicer -from tests.client.indexer.configurable_meta_query_servicer import ConfigurableMetaQueryServicer -from tests.client.indexer.configurable_oracle_query_servicer import ConfigurableOracleQueryServicer -from tests.client.indexer.configurable_portfolio_query_servicer import ConfigurablePortfolioQueryServicer -from tests.client.indexer.configurable_spot_query_servicer import ConfigurableSpotQueryServicer -from tests.core.tendermint.grpc.configurable_tendermint_query_servicer import ConfigurableTendermintQueryServicer -from tests.core.tx.grpc.configurable_tx_query_servicer import ConfigurableTxQueryServicer - - -@pytest.fixture -def account_servicer(): - return ConfigurableAccountQueryServicer() - - -@pytest.fixture -def auction_servicer(): - return ConfigurableAuctionQueryServicer() - - -@pytest.fixture -def auth_servicer(): - return ConfigurableAuthQueryServicer() - - -@pytest.fixture -def authz_servicer(): - return ConfigurableAuthZQueryServicer() - - -@pytest.fixture -def bank_servicer(): - return ConfigurableBankQueryServicer() - - -@pytest.fixture -def chain_stream_servicer(): - return ConfigurableChainStreamQueryServicer() - - -@pytest.fixture -def derivative_servicer(): - return ConfigurableDerivativeQueryServicer() - - -@pytest.fixture -def explorer_servicer(): - return ConfigurableExplorerQueryServicer() - - -@pytest.fixture -def insurance_servicer(): - return ConfigurableInsuranceQueryServicer() - - -@pytest.fixture -def meta_servicer(): - return ConfigurableMetaQueryServicer() - - -@pytest.fixture -def oracle_servicer(): - return ConfigurableOracleQueryServicer() - - -@pytest.fixture -def portfolio_servicer(): - return ConfigurablePortfolioQueryServicer() - - -@pytest.fixture -def spot_servicer(): - return ConfigurableSpotQueryServicer() - - -@pytest.fixture -def tx_servicer(): - return ConfigurableTxQueryServicer() - - -@pytest.fixture -def tendermint_servicer(): - return ConfigurableTendermintQueryServicer() - - -class TestAsyncClientDeprecationWarnings: - def test_insecure_parameter_deprecation_warning( - self, - auth_servicer, - ): - with catch_warnings(record=True) as all_warnings: - AsyncClient( - network=Network.local(), - insecure=False, - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "insecure parameter in AsyncClient is no longer used and will be deprecated" - ) - - @pytest.mark.asyncio - async def test_get_account_deprecation_warning( - self, - auth_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubAuth = auth_servicer - auth_servicer.account_responses.append(account_pb.EthAccount()) - - with catch_warnings(record=True) as all_warnings: - await client.get_account(address="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_account instead" - - @pytest.mark.asyncio - async def test_get_bank_balance_deprecation_warning( - self, - bank_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubBank = bank_servicer - bank_servicer.balance_responses.append(bank_query_pb.QueryBalanceResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_bank_balance(address="", denom="inj") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_bank_balance instead" - - @pytest.mark.asyncio - async def test_get_bank_balances_deprecation_warning( - self, - bank_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubBank = bank_servicer - bank_servicer.balances_responses.append(bank_query_pb.QueryAllBalancesResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_bank_balances(address="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_bank_balances instead" - - @pytest.mark.asyncio - async def test_get_order_states_deprecation_warning( - self, - account_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExchangeAccount = account_servicer - account_servicer.order_states_responses.append(exchange_accounts_pb.OrderStatesResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_order_states(spot_order_hashes=["hash1"], derivative_order_hashes=["hash2"]) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_order_states instead" - - @pytest.mark.asyncio - async def test_get_subaccount_list_deprecation_warning( - self, - account_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExchangeAccount = account_servicer - account_servicer.subaccounts_list_responses.append(exchange_accounts_pb.SubaccountsListResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_subaccount_list(account_address="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_subaccounts_list instead" - - @pytest.mark.asyncio - async def test_get_subaccount_balances_list_deprecation_warning( - self, - account_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExchangeAccount = account_servicer - account_servicer.subaccount_balances_list_responses.append( - exchange_accounts_pb.SubaccountBalancesListResponse() - ) - - with catch_warnings(record=True) as all_warnings: - await client.get_subaccount_balances_list(subaccount_id="", denoms=[]) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use fetch_subaccount_balances_list instead" - ) - - @pytest.mark.asyncio - async def test_get_subaccount_balance_deprecation_warning( - self, - account_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExchangeAccount = account_servicer - account_servicer.subaccount_balance_responses.append(exchange_accounts_pb.SubaccountBalanceEndpointResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_subaccount_balance(subaccount_id="", denom="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_subaccount_balance instead" - - @pytest.mark.asyncio - async def test_get_subaccount_history_deprecation_warning( - self, - account_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExchangeAccount = account_servicer - account_servicer.subaccount_history_responses.append(exchange_accounts_pb.SubaccountHistoryResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_subaccount_history(subaccount_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_subaccount_history instead" - - @pytest.mark.asyncio - async def test_get_subaccount_order_summary_deprecation_warning( - self, - account_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExchangeAccount = account_servicer - account_servicer.subaccount_order_summary_responses.append( - exchange_accounts_pb.SubaccountOrderSummaryResponse() - ) - - with catch_warnings(record=True) as all_warnings: - await client.get_subaccount_order_summary(subaccount_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use fetch_subaccount_order_summary instead" - ) - - @pytest.mark.asyncio - async def test_get_portfolio_deprecation_warning( - self, - account_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExchangeAccount = account_servicer - account_servicer.portfolio_responses.append(exchange_accounts_pb.PortfolioResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_portfolio(account_address="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_portfolio instead" - - @pytest.mark.asyncio - async def test_get_rewards_deprecation_warning( - self, - account_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExchangeAccount = account_servicer - account_servicer.rewards_responses.append(exchange_accounts_pb.RewardsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_rewards(account_address="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_rewards instead" - - @pytest.mark.asyncio - async def test_stream_subaccount_balance_deprecation_warning( - self, - account_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExchangeAccount = account_servicer - account_servicer.stream_subaccount_balance_responses.append( - exchange_accounts_pb.StreamSubaccountBalanceResponse() - ) - - with catch_warnings(record=True) as all_warnings: - await client.stream_subaccount_balance(subaccount_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use listen_subaccount_balance_updates instead" - ) - - @pytest.mark.asyncio - async def test_get_grants_deprecation_warning( - self, - authz_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubAuthz = authz_servicer - authz_servicer.grants_responses.append(authz_query.QueryGrantsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_grants(granter="granter", grantee="grantee") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_grants instead" - - @pytest.mark.asyncio - async def test_simulate_deprecation_warning( - self, - tx_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubTx = tx_servicer - tx_servicer.simulate_responses.append(tx_service.SimulateResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.simulate_tx(tx_byte="".encode()) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use simulate instead" - - @pytest.mark.asyncio - async def test_get_tx_deprecation_warning( - self, - tx_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubTx = tx_servicer - tx_servicer.get_tx_responses.append(tx_service.GetTxResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_tx(tx_hash="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_tx instead" - - @pytest.mark.asyncio - async def test_send_tx_sync_mode_deprecation_warning( - self, - tx_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubTx = tx_servicer - tx_servicer.broadcast_responses.append(tx_service.BroadcastTxResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.send_tx_sync_mode(tx_byte="".encode()) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use broadcast_tx_sync_mode instead" - - @pytest.mark.asyncio - async def test_send_tx_async_mode_deprecation_warning( - self, - tx_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubTx = tx_servicer - tx_servicer.broadcast_responses.append(tx_service.BroadcastTxResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.send_tx_async_mode(tx_byte="".encode()) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use broadcast_tx_async_mode instead" - - @pytest.mark.asyncio - async def test_send_tx_block_mode_deprecation_warning( - self, - tx_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubTx = tx_servicer - tx_servicer.broadcast_responses.append(tx_service.BroadcastTxResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.send_tx_block_mode(tx_byte="".encode()) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) == "This method is deprecated. BLOCK broadcast mode should not be used" - ) - - @pytest.mark.asyncio - async def test_ping_deprecation_warning( - self, - meta_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubMeta = meta_servicer - meta_servicer.ping_responses.append(exchange_meta_pb.PingResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.ping() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_ping instead" - - @pytest.mark.asyncio - async def test_version_deprecation_warning( - self, - meta_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubMeta = meta_servicer - meta_servicer.version_responses.append(exchange_meta_pb.VersionResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.version() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_version instead" - - @pytest.mark.asyncio - async def test_info_deprecation_warning( - self, - meta_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubMeta = meta_servicer - meta_servicer.info_responses.append(exchange_meta_pb.InfoResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.info() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_info instead" - - @pytest.mark.asyncio - async def test_stream_keepalive_deprecation_warning( - self, - meta_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExchangeAccount = account_servicer - meta_servicer.stream_keepalive_responses.append(exchange_meta_pb.StreamKeepaliveResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_keepalive() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use listen_keepalive instead" - - @pytest.mark.asyncio - async def test_get_oracle_list_deprecation_warning( - self, - oracle_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubOracle = oracle_servicer - oracle_servicer.oracle_list_responses.append(exchange_oracle_pb.OracleListResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_oracle_list() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_oracle_list instead" - - @pytest.mark.asyncio - async def test_get_oracle_prices_deprecation_warning( - self, - oracle_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubOracle = oracle_servicer - oracle_servicer.price_responses.append(exchange_oracle_pb.PriceResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_oracle_prices( - base_symbol="Gold", - quote_symbol="USDT", - oracle_type="pricefeed", - oracle_scale_factor=6, - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_oracle_price instead" - - @pytest.mark.asyncio - async def test_stream_oracle_prices_deprecation_warning( - self, - oracle_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubOracle = oracle_servicer - oracle_servicer.stream_prices_responses.append(exchange_oracle_pb.StreamPricesResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_oracle_prices( - base_symbol="Gold", - quote_symbol="USDT", - oracle_type="pricefeed", - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use listen_oracle_prices_updates instead" - ) - - @pytest.mark.asyncio - async def test_get_insurance_funds_deprecation_warning( - self, - insurance_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubInsurance = insurance_servicer - insurance_servicer.funds_responses.append(exchange_insurance_pb.FundsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_insurance_funds() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_insurance_funds instead" - - @pytest.mark.asyncio - async def test_get_redemptions_deprecation_warning( - self, - insurance_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubInsurance = insurance_servicer - insurance_servicer.redemptions_responses.append(exchange_insurance_pb.RedemptionsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_redemptions() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_redemptions instead" - - @pytest.mark.asyncio - async def test_get_auction_deprecation_warning( - self, - auction_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubAuction = auction_servicer - auction_servicer.auction_endpoint_responses.append(exchange_auction_pb.AuctionEndpointResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_auction(bid_round=1) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_auction instead" - - @pytest.mark.asyncio - async def test_get_auctions_deprecation_warning( - self, - auction_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubAuction = auction_servicer - auction_servicer.auctions_responses.append(exchange_auction_pb.AuctionsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_auctions() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_auctions instead" - - @pytest.mark.asyncio - async def test_stream_bids_deprecation_warning( - self, - auction_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubAuction = auction_servicer - auction_servicer.stream_bids_responses.append(exchange_auction_pb.StreamBidsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_bids() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use listen_bids_updates instead" - - @pytest.mark.asyncio - async def test_get_spot_markets_deprecation_warning( - self, - spot_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = spot_servicer - spot_servicer.markets_responses.append(exchange_spot_pb.MarketsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_spot_markets() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_spot_markets instead" - - @pytest.mark.asyncio - async def test_get_spot_market_deprecation_warning( - self, - spot_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = spot_servicer - spot_servicer.market_responses.append(exchange_spot_pb.MarketResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_spot_market(market_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_spot_market instead" - - @pytest.mark.asyncio - async def test_get_spot_orderbookV2_deprecation_warning( - self, - spot_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = spot_servicer - spot_servicer.orderbook_v2_responses.append(exchange_spot_pb.OrderbookV2Response()) - - with catch_warnings(record=True) as all_warnings: - await client.get_spot_orderbookV2(market_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_spot_orderbook_v2 instead" - - @pytest.mark.asyncio - async def test_get_spot_orderbooksV2_deprecation_warning( - self, - spot_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = spot_servicer - spot_servicer.orderbooks_v2_responses.append(exchange_spot_pb.OrderbooksV2Response()) - - with catch_warnings(record=True) as all_warnings: - await client.get_spot_orderbooksV2(market_ids=[]) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_spot_orderbooks_v2 instead" - - @pytest.mark.asyncio - async def test_get_spot_orders_deprecation_warning( - self, - spot_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = spot_servicer - spot_servicer.orders_responses.append(exchange_spot_pb.OrdersResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_spot_orders(market_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_spot_orders instead" - - @pytest.mark.asyncio - async def test_get_spot_trades_deprecation_warning( - self, - spot_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = spot_servicer - spot_servicer.trades_responses.append(exchange_spot_pb.TradesResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_spot_trades() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_spot_trades instead" - - @pytest.mark.asyncio - async def test_get_spot_subaccount_orders_deprecation_warning( - self, - spot_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = spot_servicer - spot_servicer.subaccount_orders_list_responses.append(exchange_spot_pb.SubaccountOrdersListResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_spot_subaccount_orders(subaccount_id="", market_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use fetch_spot_subaccount_orders_list instead" - ) - - @pytest.mark.asyncio - async def test_get_spot_subaccount_trades_deprecation_warning( - self, - spot_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = spot_servicer - spot_servicer.subaccount_trades_list_responses.append(exchange_spot_pb.SubaccountTradesListResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_spot_subaccount_trades(subaccount_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use fetch_spot_subaccount_trades_list instead" - ) - - @pytest.mark.asyncio - async def test_get_historical_spot_orders_deprecation_warning( - self, - spot_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = spot_servicer - spot_servicer.orders_history_responses.append(exchange_spot_pb.SubaccountTradesListResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_historical_spot_orders() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_spot_orders_history instead" - ) - - @pytest.mark.asyncio - async def test_stream_spot_markets_deprecation_warning( - self, - spot_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = spot_servicer - spot_servicer.stream_markets_responses.append(exchange_spot_pb.StreamMarketsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_spot_markets() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) == "This method is deprecated. Use listen_spot_markets_updates instead" - ) - - @pytest.mark.asyncio - async def test_stream_spot_orderbook_snapshot_deprecation_warning( - self, - spot_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = spot_servicer - spot_servicer.stream_orderbook_v2_responses.append(exchange_spot_pb.StreamOrderbookV2Response()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_spot_orderbook_snapshot(market_ids=[]) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use listen_spot_orderbook_snapshots instead" - ) - - @pytest.mark.asyncio - async def test_stream_spot_orderbook_update_deprecation_warning( - self, - spot_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = spot_servicer - spot_servicer.stream_orderbook_update_responses.append(exchange_spot_pb.StreamOrderbookUpdateRequest()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_spot_orderbook_update(market_ids=[]) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use listen_spot_orderbook_updates instead" - ) - - @pytest.mark.asyncio - async def test_stream_spot_orders_deprecation_warning( - self, - spot_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = spot_servicer - spot_servicer.stream_orders_responses.append(exchange_spot_pb.StreamOrdersRequest()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_spot_orders(market_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) == "This method is deprecated. Use listen_spot_orders_updates instead" - ) - - @pytest.mark.asyncio - async def test_stream_spot_trades_deprecation_warning( - self, - spot_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = spot_servicer - spot_servicer.stream_orders_responses.append(exchange_spot_pb.StreamTradesResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_spot_trades() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) == "This method is deprecated. Use listen_spot_trades_updates instead" - ) - - @pytest.mark.asyncio - async def test_stream_historical_spot_orders_deprecation_warning( - self, - spot_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = spot_servicer - spot_servicer.stream_orders_history_responses.append(exchange_spot_pb.StreamOrdersHistoryRequest()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_historical_spot_orders(market_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use listen_spot_orders_history_updates instead" - ) - - @pytest.mark.asyncio - async def test_get_derivative_markets_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.markets_responses.append(exchange_derivative_pb.MarketsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_derivative_markets() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_derivative_markets instead" - - @pytest.mark.asyncio - async def test_get_derivative_market_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.market_responses.append(exchange_derivative_pb.MarketResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_derivative_market(market_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_derivative_market instead" - - @pytest.mark.asyncio - async def test_get_binary_options_markets_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.binary_options_markets_responses.append( - exchange_derivative_pb.BinaryOptionsMarketsResponse() - ) - - with catch_warnings(record=True) as all_warnings: - await client.get_binary_options_markets() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use fetch_binary_options_markets instead" - ) - - @pytest.mark.asyncio - async def test_get_binary_options_market_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.binary_options_market_responses.append(exchange_derivative_pb.BinaryOptionsMarketResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_binary_options_market(market_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_binary_options_market instead" - ) - - @pytest.mark.asyncio - async def test_get_derivative_orderbook_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.orderbook_v2_responses.append(exchange_derivative_pb.OrderbookV2Request()) - - with catch_warnings(record=True) as all_warnings: - await client.get_derivative_orderbook(market_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use fetch_derivative_orderbook_v2 instead" - ) - - @pytest.mark.asyncio - async def test_get_derivative_orderbooksV2_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.orderbooks_v2_responses.append(exchange_derivative_pb.OrderbooksV2Request()) - - with catch_warnings(record=True) as all_warnings: - await client.get_derivative_orderbooksV2(market_ids=[]) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use fetch_derivative_orderbooks_v2 instead" - ) - - @pytest.mark.asyncio - async def test_get_derivative_orders_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.orders_responses.append(exchange_derivative_pb.OrdersResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_derivative_orders(market_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_derivative_orders instead" - - @pytest.mark.asyncio - async def test_get_derivative_positions_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.positions_responses.append(exchange_derivative_pb.PositionsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_derivative_positions() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use fetch_derivative_positions_v2 instead" - ) - - @pytest.mark.asyncio - async def test_get_derivative_liquidable_positions_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.liquidable_positions_responses.append(exchange_derivative_pb.LiquidablePositionsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_derivative_liquidable_positions() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use fetch_derivative_liquidable_positions instead" - ) - - @pytest.mark.asyncio - async def test_get_funding_payments_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.funding_payments_responses.append(exchange_derivative_pb.FundingPaymentsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_funding_payments(subaccount_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_funding_payments instead" - - @pytest.mark.asyncio - async def test_get_funding_rates_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.funding_rates_responses.append(exchange_derivative_pb.FundingRatesResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_funding_rates(market_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_funding_rates instead" - - @pytest.mark.asyncio - async def test_get_derivative_trades_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.trades_responses.append(exchange_derivative_pb.TradesResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_derivative_trades() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_derivative_trades instead" - - @pytest.mark.asyncio - async def test_get_derivative_subaccount_orders_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.subaccount_orders_list_responses.append( - exchange_derivative_pb.SubaccountOrdersListResponse() - ) - - with catch_warnings(record=True) as all_warnings: - await client.get_derivative_subaccount_orders(subaccount_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use fetch_derivative_subaccount_orders instead" - ) - - @pytest.mark.asyncio - async def test_get_derivative_subaccount_trades_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.subaccount_trades_list_responses.append( - exchange_derivative_pb.SubaccountTradesListResponse() - ) - - with catch_warnings(record=True) as all_warnings: - await client.get_derivative_subaccount_trades(subaccount_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use fetch_derivative_subaccount_trades instead" - ) - - @pytest.mark.asyncio - async def test_get_historical_derivative_orders_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.orders_history_responses.append(exchange_derivative_pb.OrdersHistoryResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_historical_derivative_orders() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use fetch_derivative_orders_history instead" - ) - - @pytest.mark.asyncio - async def test_stream_derivative_markets_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.stream_market_responses.append(exchange_derivative_pb.StreamMarketResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_derivative_markets() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use listen_derivative_market_updates instead" - ) - - @pytest.mark.asyncio - async def test_stream_derivative_orderbook_snapshot_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = spot_servicer - derivative_servicer.stream_orderbook_v2_responses.append(exchange_derivative_pb.StreamOrderbookV2Response()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_derivative_orderbook_snapshot(market_ids=[]) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use listen_derivative_orderbook_snapshots instead" - ) - - @pytest.mark.asyncio - async def test_stream_derivative_orderbook_update_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.stream_orderbook_update_responses.append( - exchange_derivative_pb.StreamOrderbookUpdateRequest() - ) - - with catch_warnings(record=True) as all_warnings: - await client.stream_derivative_orderbook_update(market_ids=[]) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use listen_derivative_orderbook_updates instead" - ) - - @pytest.mark.asyncio - async def test_stream_derivative_positions_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubDerivativeExchange = derivative_servicer - derivative_servicer.stream_positions_responses.append(exchange_derivative_pb.StreamPositionsRequest()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_derivative_positions() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use listen_derivative_positions_updates instead" - ) - - @pytest.mark.asyncio - async def test_stream_derivative_orders_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = derivative_servicer - derivative_servicer.stream_orders_responses.append(exchange_derivative_pb.StreamOrdersRequest()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_derivative_orders(market_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use listen_derivative_orders_updates instead" - ) - - @pytest.mark.asyncio - async def test_stream_derivative_trades_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = derivative_servicer - derivative_servicer.stream_orders_responses.append(exchange_derivative_pb.StreamTradesResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_derivative_trades() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use listen_derivative_trades_updates instead" - ) - - @pytest.mark.asyncio - async def test_stream_historical_derivative_orders_deprecation_warning( - self, - derivative_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubSpotExchange = derivative_servicer - derivative_servicer.stream_orders_history_responses.append(exchange_spot_pb.StreamOrdersHistoryRequest()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_historical_derivative_orders(market_id="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use listen_derivative_orders_history_updates instead" - ) - - @pytest.mark.asyncio - async def test_get_account_portfolio_deprecation_warning( - self, - portfolio_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubPortfolio = portfolio_servicer - portfolio_servicer.account_portfolio_responses.append(exchange_portfolio_pb.AccountPortfolioResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_account_portfolio(account_address="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use fetch_account_portfolio_balances instead" - ) - - @pytest.mark.asyncio - async def test_stream_account_portfolio_deprecation_warning( - self, - portfolio_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubPortfolio = portfolio_servicer - portfolio_servicer.stream_account_portfolio_responses.append( - exchange_portfolio_pb.StreamAccountPortfolioResponse() - ) - - with catch_warnings(record=True) as all_warnings: - await client.stream_account_portfolio(account_address="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use listen_account_portfolio_updates instead" - ) - - @pytest.mark.asyncio - async def test_get_account_txs_deprecation_warning( - self, - explorer_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExplorer = explorer_servicer - explorer_servicer.account_txs_responses.append(exchange_explorer_pb.GetAccountTxsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_account_txs(address="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_account_txs instead" - - @pytest.mark.asyncio - async def test_get_blocks_deprecation_warning( - self, - explorer_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExplorer = explorer_servicer - explorer_servicer.blocks_responses.append(exchange_explorer_pb.GetBlocksResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_blocks() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_blocks instead" - - @pytest.mark.asyncio - async def test_get_block_deprecation_warning( - self, - explorer_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExplorer = explorer_servicer - explorer_servicer.block_responses.append(exchange_explorer_pb.GetBlockResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_block(block_height="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_block instead" - - @pytest.mark.asyncio - async def test_get_txs_deprecation_warning( - self, - explorer_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExplorer = explorer_servicer - explorer_servicer.txs_responses.append(exchange_explorer_pb.GetTxsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_txs() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_txs instead" - - @pytest.mark.asyncio - async def test_get_tx_by_hash_deprecation_warning( - self, - explorer_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExplorer = explorer_servicer - explorer_servicer.tx_by_tx_hash_responses.append(exchange_explorer_pb.GetTxByTxHashResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_tx_by_hash(tx_hash="") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_tx_by_tx_hash instead" - - @pytest.mark.asyncio - async def test_get_peggy_deposits_deprecation_warning( - self, - explorer_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExplorer = explorer_servicer - explorer_servicer.peggy_deposit_txs_responses.append(exchange_explorer_pb.GetPeggyDepositTxsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_peggy_deposits() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_peggy_deposit_txs instead" - - @pytest.mark.asyncio - async def test_get_peggy_withdrawals_deprecation_warning( - self, - explorer_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExplorer = explorer_servicer - explorer_servicer.peggy_withdrawal_txs_responses.append(exchange_explorer_pb.GetPeggyWithdrawalTxsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_peggy_withdrawals() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_peggy_withdrawal_txs instead" - ) - - @pytest.mark.asyncio - async def test_get_ibc_transfers_deprecation_warning( - self, - explorer_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubExplorer = explorer_servicer - explorer_servicer.ibc_transfer_txs_responses.append(exchange_explorer_pb.GetIBCTransferTxsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_ibc_transfers() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_ibc_transfer_txs instead" - - @pytest.mark.asyncio - async def test_stream_txs_deprecation_warning( - self, - explorer_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubPortfolio = explorer_servicer - explorer_servicer.stream_txs_responses.append(exchange_explorer_pb.StreamTxsResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_txs() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use listen_txs_updates instead" - - @pytest.mark.asyncio - async def test_stream_blocks_deprecation_warning( - self, - explorer_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubPortfolio = explorer_servicer - explorer_servicer.stream_blocks_responses.append(exchange_explorer_pb.StreamBlocksResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.stream_blocks() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use listen_blocks_updates instead" - - @pytest.mark.asyncio - async def test_chain_stream_deprecation_warning( - self, - chain_stream_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.chain_stream_stub = chain_stream_servicer - chain_stream_servicer.stream_responses.append(chain_stream_pb.StreamRequest()) - - with catch_warnings(record=True) as all_warnings: - await client.chain_stream() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) == "This method is deprecated. Use listen_chain_stream_updates instead" - ) - - @pytest.mark.asyncio - async def test_get_latest_block_deprecation_warning( - self, - tendermint_servicer, - ): - client = AsyncClient( - network=Network.local(), - ) - client.stubCosmosTendermint = tendermint_servicer - tendermint_servicer.get_latest_block_responses.append(tendermint_query.GetLatestBlockResponse()) - - with catch_warnings(record=True) as all_warnings: - await client.get_latest_block() - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use fetch_latest_block instead" - - def test_credentials_parameter_deprecation_warning( - self, - auth_servicer, - ): - with catch_warnings(record=True) as all_warnings: - AsyncClient(network=Network.local(), credentials=grpc.ssl_channel_credentials()) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "credentials parameter in AsyncClient is no longer used and will be deprecated" - ) diff --git a/tests/test_composer_deprecation_warnings.py b/tests/test_composer_deprecation_warnings.py deleted file mode 100644 index 70425269..00000000 --- a/tests/test_composer_deprecation_warnings.py +++ /dev/null @@ -1,536 +0,0 @@ -import warnings -from decimal import Decimal - -import pytest - -from pyinjective.composer import Composer -from pyinjective.core.network import Network -from tests.model_fixtures.markets_fixtures import btc_usdt_perp_market # noqa: F401 -from tests.model_fixtures.markets_fixtures import first_match_bet_market # noqa: F401 -from tests.model_fixtures.markets_fixtures import inj_token # noqa: F401 -from tests.model_fixtures.markets_fixtures import inj_usdt_spot_market # noqa: F401 -from tests.model_fixtures.markets_fixtures import usdt_perp_token # noqa: F401 -from tests.model_fixtures.markets_fixtures import usdt_token # noqa: F401 - - -class TestComposerDeprecationWarnings: - @pytest.fixture - def basic_composer(self, inj_usdt_spot_market, btc_usdt_perp_market, first_match_bet_market): - composer = Composer( - network=Network.devnet().string(), - spot_markets={inj_usdt_spot_market.id: inj_usdt_spot_market}, - derivative_markets={btc_usdt_perp_market.id: btc_usdt_perp_market}, - binary_option_markets={first_match_bet_market.id: first_match_bet_market}, - tokens={ - inj_usdt_spot_market.base_token.symbol: inj_usdt_spot_market.base_token, - inj_usdt_spot_market.quote_token.symbol: inj_usdt_spot_market.quote_token, - btc_usdt_perp_market.quote_token.symbol: btc_usdt_perp_market.quote_token, - }, - ) - - return composer - - def test_msg_deposit_deprecation_warning(self, basic_composer): - with warnings.catch_warnings(record=True) as all_warnings: - basic_composer.MsgDeposit(sender="sender", subaccount_id="subaccount id", amount=1, denom="INJ") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use msg_deposit instead" - - def test_msg_withdraw_deprecation_warning(self, basic_composer): - with warnings.catch_warnings(record=True) as all_warnings: - basic_composer.MsgWithdraw(sender="sender", subaccount_id="subaccount id", amount=1, denom="USDT") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use msg_withdraw instead" - - def test_coin_deprecation_warning(self): - composer = Composer(network=Network.devnet().string()) - - with warnings.catch_warnings(record=True) as all_warnings: - composer.Coin( - amount=1, - denom="INJ", - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use coin instead" - - def test_order_data_deprecation_warning(self): - composer = Composer(network=Network.devnet().string()) - - with warnings.catch_warnings(record=True) as all_warnings: - composer.OrderData( - market_id="market id", - subaccount_id="subaccount id", - order_hash="order hash", - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use order_data instead" - - def test_spot_order_deprecation_warning(self, basic_composer): - with warnings.catch_warnings(record=True) as all_warnings: - market_id = list(basic_composer.spot_markets.keys())[0] - basic_composer.SpotOrder( - market_id=market_id, - subaccount_id="subaccount id", - fee_recipient="fee recipient", - price=1, - quantity=1, - is_buy=True, - cid="cid", - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use spot_order instead" - - def test_derivative_order_deprecation_warning(self, basic_composer): - market_id = list(basic_composer.derivative_markets.keys())[0] - with warnings.catch_warnings(record=True) as all_warnings: - basic_composer.DerivativeOrder( - market_id=market_id, - subaccount_id="subaccount id", - fee_recipient="fee recipient", - price=1, - quantity=1, - is_buy=True, - cid="cid", - leverage=1, - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use derivative_order instead" - - def test_msg_create_spot_limit_order_deprecation_warning(self, basic_composer): - market_id = list(basic_composer.spot_markets.keys())[0] - with warnings.catch_warnings(record=True) as all_warnings: - basic_composer.MsgCreateSpotLimitOrder( - market_id=market_id, - sender="sender", - subaccount_id="subaccount id", - fee_recipient="fee recipient", - price=1, - quantity=1, - cid="cid", - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) == "This method is deprecated. Use msg_create_spot_limit_order instead" - ) - - def test_msg_batch_create_spot_limit_orders_deprecation_warning(self, basic_composer): - market_id = list(basic_composer.spot_markets.keys())[0] - order = basic_composer.spot_order( - market_id=market_id, - subaccount_id="subaccount id", - fee_recipient="fee recipient", - price=Decimal(1), - quantity=Decimal(1), - order_type="BUY", - ) - - with warnings.catch_warnings(record=True) as all_warnings: - basic_composer.MsgBatchCreateSpotLimitOrders( - sender="sender", - orders=[order], - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use msg_batch_create_spot_limit_orders instead" - ) - - def test_msg_create_spot_market_order_deprecation_warning(self, basic_composer): - market_id = list(basic_composer.spot_markets.keys())[0] - with warnings.catch_warnings(record=True) as all_warnings: - basic_composer.MsgCreateSpotMarketOrder( - market_id=market_id, - sender="sender", - subaccount_id="subaccount id", - fee_recipient="fee recipient", - price=1, - quantity=1, - is_buy=True, - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use msg_create_spot_market_order instead" - ) - - def test_msg_cancel_spot_order_deprecation_warning(self): - composer = Composer(network=Network.devnet().string()) - - with warnings.catch_warnings(record=True) as all_warnings: - composer.MsgCancelSpotOrder( - market_id="0xa508cb32923323679f29a032c70342c147c17d0145625922b0ef22e955c844c0", - sender="sender", - subaccount_id="subaccount id", - order_hash="order hash", - cid="cid", - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use msg_cancel_spot_order instead" - - def test_msg_batch_cancel_spot_orders_deprecation_warning(self): - composer = Composer(network=Network.devnet().string()) - orders = [ - composer.order_data( - market_id="0xa508cb32923323679f29a032c70342c147c17d0145625922b0ef22e955c844c0", - subaccount_id="subaccount_id", - order_hash="0x3870fbdd91f07d54425147b1bb96404f4f043ba6335b422a6d494d285b387f2d", - ), - ] - - with warnings.catch_warnings(record=True) as all_warnings: - composer.MsgBatchCancelSpotOrders(sender="sender", data=orders) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use msg_batch_cancel_spot_orders instead" - ) - - def test_msg_batch_update_orders_deprecation_warning(self): - composer = Composer(network=Network.devnet().string()) - - with warnings.catch_warnings(record=True) as all_warnings: - composer.MsgBatchUpdateOrders(sender="sender") - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use msg_batch_update_orders instead" - - def test_msg_privileged_execute_contract_deprecation_warning(self): - composer = Composer(network=Network.devnet().string()) - - with warnings.catch_warnings(record=True) as all_warnings: - composer.MsgPrivilegedExecuteContract( - sender="sender", - contract="contract", - msg="msg", - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use msg_privileged_execute_contract instead" - ) - - def test_msg_create_derivative_limit_order_deprecation_warning(self, basic_composer): - market_id = list(basic_composer.derivative_markets.keys())[0] - with warnings.catch_warnings(record=True) as all_warnings: - basic_composer.MsgCreateDerivativeLimitOrder( - market_id=market_id, - sender="sender", - subaccount_id="subaccount id", - fee_recipient="fee recipient", - price=1, - quantity=1, - cid="cid", - leverage=1, - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use msg_create_derivative_limit_order instead" - ) - - def test_msg_batch_create_derivative_limit_orders_deprecation_warning(self, basic_composer): - market_id = list(basic_composer.derivative_markets.keys())[0] - order = basic_composer.derivative_order( - market_id=market_id, - subaccount_id="subaccount id", - fee_recipient="fee recipient", - price=Decimal(1), - quantity=Decimal(1), - margin=Decimal(1), - order_type="BUY", - ) - - with warnings.catch_warnings(record=True) as all_warnings: - basic_composer.MsgBatchCreateDerivativeLimitOrders( - sender="sender", - orders=[order], - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use msg_batch_create_derivative_limit_orders instead" - ) - - def test_msg_create_derivative_market_order_deprecation_warning(self, basic_composer): - market_id = list(basic_composer.derivative_markets.keys())[0] - with warnings.catch_warnings(record=True) as all_warnings: - basic_composer.MsgCreateDerivativeMarketOrder( - market_id=market_id, - sender="sender", - subaccount_id="subaccount id", - fee_recipient="fee recipient", - price=1, - quantity=1, - cid="cid", - leverage=1, - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use msg_create_derivative_market_order instead" - ) - - def test_msg_cancel_derivative_order_deprecation_warning(self): - composer = Composer(network=Network.devnet().string()) - - with warnings.catch_warnings(record=True) as all_warnings: - composer.MsgCancelDerivativeOrder( - market_id="0x7cc8b10d7deb61e744ef83bdec2bbcf4a056867e89b062c6a453020ca82bd4e4", - sender="sender", - subaccount_id="subaccount id", - order_hash="order hash", - cid="cid", - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) == "This method is deprecated. Use msg_cancel_derivative_order instead" - ) - - def test_msg_batch_cancel_derivative_orders_deprecation_warning(self): - composer = Composer(network=Network.devnet().string()) - orders = [ - composer.order_data( - market_id="0x7cc8b10d7deb61e744ef83bdec2bbcf4a056867e89b062c6a453020ca82bd4e4", - subaccount_id="subaccount_id", - order_hash="0x3870fbdd91f07d54425147b1bb96404f4f043ba6335b422a6d494d285b387f2d", - ), - ] - - with warnings.catch_warnings(record=True) as all_warnings: - composer.MsgBatchCancelDerivativeOrders(sender="sender", data=orders) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use msg_batch_cancel_derivative_orders instead" - ) - - def test_msg_instant_binary_options_market_launch_deprecation_warning(self): - composer = Composer(network=Network.devnet().string()) - - with warnings.catch_warnings(record=True) as all_warnings: - composer.MsgInstantBinaryOptionsMarketLaunch( - sender="sender", - ticker="B2400/INJ", - oracle_symbol="B2400/INJ", - oracle_provider="injective", - oracle_type="Band", - oracle_scale_factor=6, - maker_fee_rate=0.001, - taker_fee_rate=0.001, - expiration_timestamp=1630000000, - settlement_timestamp=1630000000, - quote_denom="inj", - quote_decimals=18, - min_price_tick_size=0.01, - min_quantity_tick_size=0.01, - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use msg_instant_binary_options_market_launch instead" - ) - - def test_msg_create_binary_options_limit_order_deprecation_warning(self, basic_composer): - market = list(basic_composer.binary_option_markets.values())[0] - - with warnings.catch_warnings(record=True) as all_warnings: - basic_composer.MsgCreateBinaryOptionsLimitOrder( - market_id=market.id, - sender="sender", - subaccount_id="subaccount id", - fee_recipient="fee recipient", - price=1, - quantity=1, - cid="cid", - is_buy=True, - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use msg_create_binary_options_limit_order instead" - ) - - def test_msg_create_binary_options_market_order_deprecation_warning(self, basic_composer): - market = list(basic_composer.binary_option_markets.values())[0] - - with warnings.catch_warnings(record=True) as all_warnings: - basic_composer.MsgCreateBinaryOptionsMarketOrder( - market_id=market.id, - sender="sender", - subaccount_id="subaccount id", - fee_recipient="fee recipient", - price=1, - quantity=1, - cid="cid", - is_buy=True, - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use msg_create_binary_options_market_order instead" - ) - - def test_msg_cancel_binary_options_order_deprecation_warning(self, basic_composer): - market = list(basic_composer.binary_option_markets.values())[0] - - with warnings.catch_warnings(record=True) as all_warnings: - basic_composer.MsgCancelBinaryOptionsOrder( - market_id=market.id, - sender="sender", - subaccount_id="subaccount id", - order_hash="order hash", - cid="cid", - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use msg_cancel_binary_options_order instead" - ) - - def test_msg_subaccount_transfer_deprecation_warning(self, basic_composer): - with warnings.catch_warnings(record=True) as all_warnings: - basic_composer.MsgSubaccountTransfer( - sender="sender", - source_subaccount_id="source subaccount id", - destination_subaccount_id="destination subaccount id", - amount=1, - denom="INJ", - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use msg_subaccount_transfer instead" - - def test_msg_external_transfer_deprecation_warning(self, basic_composer): - with warnings.catch_warnings(record=True) as all_warnings: - basic_composer.MsgExternalTransfer( - sender="sender", - source_subaccount_id="source subaccount id", - destination_subaccount_id="destination subaccount id", - amount=1, - denom="INJ", - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use msg_external_transfer instead" - - def test_msg_liquidate_position_deprecation_warning(self): - composer = Composer(network=Network.devnet().string()) - - with warnings.catch_warnings(record=True) as all_warnings: - composer.MsgLiquidatePosition( - sender="sender", - subaccount_id="subaccount id", - market_id="0x7cc8b10d7deb61e744ef83bdec2bbcf4a056867e89b062c6a453020ca82bd4e4", - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use msg_liquidate_position instead" - - def test_msg_increase_position_margin_deprecation_warning(self, basic_composer): - market_id = list(basic_composer.derivative_markets.keys())[0] - with warnings.catch_warnings(record=True) as all_warnings: - basic_composer.MsgIncreasePositionMargin( - sender="sender", - source_subaccount_id="source_subaccount id", - destination_subaccount_id="destination_subaccount id", - market_id=market_id, - amount=1, - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use msg_increase_position_margin instead" - ) - - def test_msg_rewards_opt_out_deprecation_warning(self): - composer = Composer(network=Network.devnet().string()) - - with warnings.catch_warnings(record=True) as all_warnings: - composer.MsgRewardsOptOut( - sender="sender", - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert str(deprecation_warnings[0].message) == "This method is deprecated. Use msg_rewards_opt_out instead" - - def test_msg_admin_update_binary_options_market_deprecation_warning(self, basic_composer): - market = list(basic_composer.binary_option_markets.values())[0] - - with warnings.catch_warnings(record=True) as all_warnings: - basic_composer.MsgAdminUpdateBinaryOptionsMarket( - sender="sender", - market_id=market.id, - status="Paused", - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use msg_admin_update_binary_options_market instead" - ) - - def test_msg_withdraw_delegator_reward_deprecation_warning(self): - composer = Composer(network=Network.devnet().string()) - - with warnings.catch_warnings(record=True) as all_warnings: - composer.MsgWithdrawDelegatorReward( - delegator_address="delegator address", - validator_address="validator address", - ) - - deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)] - assert len(deprecation_warnings) == 1 - assert ( - str(deprecation_warnings[0].message) - == "This method is deprecated. Use msg_withdraw_delegator_reward instead" - )